@univerjs/preset-docs-collaboration 0.12.4-experimental.20251211-e01e32a → 0.12.4-insiders.20251211-c28f914
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 +4 -4
- package/lib/umd/locales/ca-ES.js +2 -2
- package/lib/umd/locales/en-US.js +2 -2
- package/lib/umd/locales/es-ES.js +2 -2
- package/lib/umd/locales/fa-IR.js +2 -2
- package/lib/umd/locales/fr-FR.js +2 -2
- package/lib/umd/locales/ja-JP.js +2 -2
- package/lib/umd/locales/ko-KR.js +2 -2
- package/lib/umd/locales/ru-RU.js +2 -2
- package/lib/umd/locales/vi-VN.js +2 -2
- package/lib/umd/locales/zh-CN.js +2 -2
- package/lib/umd/locales/zh-TW.js +2 -2
- package/package.json +5 -5
package/lib/umd/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @univerjs-pro/collaboration-client/index
|
|
2
|
-
function _0x49c3(){var _0x403216=['[CollaborationSessionService]:\x20socket\x20error','_redoStacks','c1Prime','LocaleService','LICENSE_DISTRO_REJECTED','SUBMIT_CHANGESET_TIMEOUT','fromCollab','next','hasOwnProperty','CollaborationStatus','_emitMembers','__esModule','_waitCount','sin','YUUMI_ASYNCIO_CANCELLED','?url=','liveShareOperation','_onJoinRoomEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_keySchedule','[CollaborationSession]','Univer','_getLoginPath','SetSelectionsOperation','_transformRemoteChangesetByStateCache','_submitChangeset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_unitInfo$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','parseProtocolChangeset','loadUnitOfRevision','RxDisposable','originalMeta','getCurrentRevOfUnit','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_commentService','NOT_FOUND','charCodeAt','PY_RUNTIME_SCRIPT_ERROR','AwaitingState','every','IUniverInstanceService','routeKey','joinEvent','setConfig','SNAPSHOT_URL_KEY','onSendChangeset','amd','_waitForHeartbeatResponse','HTTPRequest','toStringTag','requireSession','_removeRoom','_state','_collabSessionService','hasher','updateMember','SNAPSHOT_INVALID_SNAPSHOT','override','executeCommand','_sheetTransformSelectionsService','onLocalMutation','OfflineState','LIVESHARE_TERMINATE','SessionStatus','IAuthzIoService','_event$','_applyRemoteChangeset','_collaborationSessionService','registerDependencies','EvpKDF','HEARTBEAT_INTERVAL','_getUploadFileURL','_transformStack','roles','getTypeOfUnitAdded$','method','ENTITLE_DUP_SUBSCRIPTION','MUTATION','disableLocalCache','key','_onConflict','YUUMI_ALL_TABLES_IS_INVALID','fetchMissingChangesets','_scheduleCompleteTimestamp','\x0aAfter:\x20','/new_changes','[CollaborationSessionService]','getWorkbookSelections','_unlockTransition','4202723bzGhvr','downloadEndpointUrl','_initRequestHeader','onRemoteChangeset','EMAIL_HAS_BEEN_BOUND','patch','UniverCollaborationPlugin','_getSendChangesetTimeout','_commentUpdate$','encrypt','sid','getLatestCsReqIdBySid','subscribe','_invKeySchedule','updateOfflineData','delay','UnitSnapshot','_socketMessageSubscription','_resendTimeout','getImageSourceCache','length','APPLY_PERMISSION_DENIED','_ENC_XFORM_MODE','file','ONLINE','_tryEnsureSocket','clamp','image/jpg','BehaviorSubject','_iKey','resend','_doReset','NO_OTHER_CLIENTS_EDITING','YUUMI_UNABLE_LOAD_URL','decrypt','loadUnit','m2Prime','UnitStatus','_startTelemetryCollaborationNewChangeset','_iv','_decreaseWaiting','?size=','compute','AwaitingWithPendingState','UNIVER_UNKNOWN','push','_pendingMutations','image/png','/-/object/-/batch_allowed','HTTPService','_revisionService','set','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','unpad','_fetchMissChangesets','REDEMPTION_CODE_INACTIVE','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','min','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','RETRY_CONNECTING_MAX_COUNT_KEY','_exhaustRemoteChangesetQueue','ERROR_EXCEED_SIZE','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_REJECT','/-/object/list','MOBILE_VERIFY_CODE_MISMATCH','_queuedRemoteChangesets','from','getImage','_onRemoteChangeset','ENTITLE_INSUFFICIENT_QUOTA','_lockTransition','People','_nDataBytes','origin','UniverNetwork','Cipher','rxjs/operators','AES','/universer-api/file/{fileID}/sign-url','symbol','getMember','splice','pending','format','auth.needGotoLoginAlert','_rescheduleHeartbeat','RETRY_CONNECTING_MAX_COUNT','error$','session.join-failed','_roomMembers','_doFinalize','event$','DEFAULT_COLLAB_WEB_SOCKET_URL','CHANGESET_REVISION_CONFILICT','_resendWithTimeout','transformChangesets','readyForCollab','salt','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','cmd','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createSocket','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','focused$','Decryptor','_permissionService','WECHAT_HAS_BEEN_BOUND','MSG_FOR_ERROR','_process','getSnapshotAPIPath','_acknowledgedAwaitingChangeset','LICENSE_IMPORT_SIZE_EXCEEDED','socket\x20close','CLOSE_ROOM','src','ReplaySubject','WordArray','takeUntil','/unit/','setShowComponents','Undefined','add','put','_status$','LEAVE','AuthzIoHttpService','_updateState','send','floor','getUnitType','ICommandService','ivSize','CBC','session','_scheduleCollaborationTimeoutTimer','loginUrlKey','liveShareNewHost','prototype','snapshot','addImageSourceCache','@univerjs-pro/collaboration','delete','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','default','duration','submit\x20changeset\x20error!','[SyncedState]:\x20received\x20acknowledgement.','_transitionLocked','CHANGESET_SHOULD_RETRY','_entityInit$','JOIN_ROOM_PERMISSION_DENIED','/universer-api/snapshot','dispose$','FetchingMissState','find','_univerInstanceService','reqId','call','BufferedBlockAlgorithm','_singleActiveUnitService','toDisposable','ConflictState','_clearHeartbeatTimer','/rev/','transformSelections','pad','_DEC_XFORM_MODE','deleteCollaborator','Base','USERS_LEAVE','ISocketService','asObservable','Quantity','COMPRESS_MUTATION_APPLY','mode','SOCKET_FAILED','registerHTTPInterceptor','DocCollaborationEntity','339162oDNKqt','init','Encryptor','_remoteChangesetQueue','createInstance','GLOBAL_ROOMS_CNT_EXCEEDS','collabSubmitChangesetUrl','DependentOn','addHandlerCallback','_isPermissionRej','concatMap','merge','USERS_ENTER','now','ENTITLE_USE_COUPON_NOT_1ST_TRADE','BlockCipherMode','Optional','sessionStatus','SerializableCipher','_clearRetryConnectingTimer','_retryCount','HEARTBEAT_TIMEOUT','_checkMissing','_onOffline','_unitID','_initDependencies','saveChangeset','editing\x20status\x20changed\x20to','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_imageSourceCache','avatar','HELLO','emitEvent','state$','PendingState','UniverNetworkPlugin','loadDoc','JOIN_ROOM_FAILED','_userManagerService','isTransformMutationsWithChangesetFailure','_onLocalMutation','@univerjs/telemetry','_state$','HmacMD5','stopTime','CollaborationSession','_parse','Base64','_replayCachedMutations','PasswordBasedCipher','UniverProCollaborationClient','_telemetryInfo','actions','_substituteUndoStack','_replaceFileID','__splitChunk__','reconnect','encode','name','collaborators','onMissedChangesetFetched','_transformService','[OfflineState]:\x20received\x20acknowledgement.','WorkbookEditablePermission','reverse','allowed','_syncEditingCollabCursor','_createHmacHelper','CollaborationSocketService','_map','CompressMutationService','__creator','onMissingChangesets','_toggleOffline','getUnitId','open$','crypto','processBlock','INVITE_CODE_ALREADY_BOUND','SheetTransformSelectionsService','_logService','interceptor','lib','UNIVER_SHEET','_collaborationTimeoutTimer','_registerDependencies','_retryConnectingTimer','exports','TOO_MANY_REQUESTS','textRanges','getInterceptPoints','join','324ZPAIKe','UniverProLicense','_shouldReportTelemetry','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_onFetchMissResult','byteLength','unitInfo$','eventID','RevisionService','close$','IPermissionService','putCollaborators','session.room-not-exists','iterations','rxjs','resolve','append','waitForRoom$','commentUpdate$','transformStack\x20failed!','DEFAULT_FILE_NAME','_createHandler','UNISCRIPT_RUN','shouldCloseConn','enableCollaboration','image/gif','_change$','withCredentials','YUUMI_URL_COL_OUT_OF_RANGE','unitId','EMAIL_VERIFY_CODE_MISMATCH','/universer-api/authz','onSyncEditingCollabCursor','FETCH_MISS','title','CHANGESET_ACK','_handlerCallback','awaiting_with_pending','getValue','ciphertext','SyncedState','DEFAULT_WS_SESSION_TICKET_URL','_changesetSessionId','map','_entities','changesets','LOCAL_CACHE_INTERVAL','parse','updatePermissionObjEvent','REDEMPTION_USER_REDEEM_TIMES_EXCEED','commentUpdateEvent','mergeOverrideWithDependencies','_doCreateSocket','_undoRedoService','_joinRoom','_timeoutTimer','JOIN','_createHelper','blockSize','UniverDocs','onTransformState','20471508qSUVZO','_snapshotServerService','data','sessionStatus$','unknown','getCurrentSelections','JOIN_ROOM_FULL','objectID','decryptBlock','baseRev','_members$','_nRounds','_snapshotService','unitId\x20is\x20not\x20found','CollaborationEvent','retryConnectingInterval','words','_collaborationPaused','_minBufferSize','_socket','onMutationExecutedForCollab','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNKNOWN_CMD','href','telemetry\x20info\x20is\x20not\x20initialized','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','60584LdmVfl','/collaborator','[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.','newCsEvent','abs','uniscriptRunEvent','PERSON','encryptBlock','UNAUTHENTICATED','/fetchmissing?from=','snapshotServerUrl','_memberService','_HTTPService','body','close','_localCacheService','filter','enableOfflineEditing','222TrfIsO','listRoles','_handler','&to=','collaboration-client.config','UNIVER_COLLABORATION_CLIENT_PLUGIN','_onRecvEvent','createDecryptor','getOwnPropertyDescriptor','@univerjs-pro/license','getConfig','_undoStacks','algo','onRemoteRetry','\x20-\x20','ENTITLE_NEED_BILLING_ADDRESS','reset','SnapshotServerOverHTTPService','CollaborationSessionService','_xformMode','_clearScheduledTask','_executeRemoteChangeset','NEW_CHANGESETS','apply','_doProcessBlock','deserializeToCombResponse','univer-pro.collaboration-client.single-active-unit-service','_data','Malformed\x20UTF-8\x20data','ERROR_AGAIN','onRemoteAck','LIVESHARE_REQUEST_HOST','params','ERROR_IMAGE','HEARTBEAT_INTERVAL_KEY','_initCloseConn','complete','responseType','LIVESHARE_NEW_HOST','ENTITLE_CAN_NOT_BUY_LOWER_OTP','formatter','LICENSE_EXPORT_SIZE_EXCEEDED','IUndoRedoService','_awaitingChangeset','then','take','Inject','UNIVER_DOC','setWaitCount','INVALID_ARGUMENT','appendMutation','_clearLocalCache','ILocalCacheService','readInt32LE','/universer-api/user/session-ticket','DataLoaderService','_roomCreated$','FAIL','indexOf','_sendingTimer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UniverTelemetry','session.room-full','UNRECOGNIZED','REDEMPTION_INVALID_CODE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_getSignURL','leaveEvent','localCacheService','CollaborativeUndoRedoService','YUUMI_RATE_OVER_LIMIT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','LocalUndoRedoService','HttpExport','getRandomValues','HMAC','getSheetId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_reverseMap','awaiting','getDeserializedSheetBlock','function','REDEMPTION_CODE_HAS_BEEN_CREATED','SHA1','reject','COMMENT_UPDATE','onTransformRemoteChangesetByStateCache','listCollaborators','NOT_COLLAB','getCurrentUser','_listenToNetworkCondition','PAYMENT_CHANNEL_NOT_SUPPORT','_configService','synced','equals','_localeService','@univerjs/sheets','ImageSourceType','byteOffset','OpenSSL','_disableEditing','cfg','createIdentifier','getFocusedUnit','PSEUDO_FETCH_MISSING_RESULT','_sessions','AUTHORIZE_CODE_ILLEGAL','_init','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','SheetCollaborationEntity','UserManagerService','_doCryptBlock','MOBILE_HAS_BEEN_BOUND','connection\x20error','[PendingState]:\x20received\x20acknowledgement.','UserProfileImg','objects','_collaborationUIEventService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','editingUnit','Failed\x20to\x20update\x20permission\x20point','_clearRedo','_onRemoteACK','Injector','_transformUndoredo','_httpService','replace','getUnit','_eventService','isTransformChangesetsSuccess','disposeWithMe','_schedule','slice','_compressMutationService','batchAllowed','CollaborationImageIoService','onTransformRemoteChangesetByIMECache','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','pauseCollaboration','YUUMI_NO_CUBOID_FOR_QUESTION','_tryReconnect','socket$','_changesetReqId','workbook','update','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UNKNOWN_CODE','SOCKET_FAILED_RETRY','list','_getDownloadEndpointURL','FETCH_MISSING','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_injector','object','LOGIN_TOKEN_PROCESSING_FAILED','_createSocket','collaMsg','OTHER_CLIENT_EDITING','APPLY_NON_SEQUENTIAL_REVISION','catch','UniverCollaborationClientPlugin','onStarting','ENTITLE_COUPON_EXPIRED','stringify','not_collab','@univerjs/drawing','USER_IS_ANONYMOUS','_toggleOnline','enc','uploadFileServerUrl','MentionIoHttpService','size','__Key__','SUCCUSS','isTransformMutationsWithChangesetSuccess','mutations','defineProperty','_cipher','IConfigService','sigBytes','[UniverCollaborationClientPlugin]','[DataLoaderService]','_key','onRemoteRej','result','_hasher','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','entityInit$','status$','INVITE_CODE_HAS_BEEN_UES','members$','toString','UUID','_onConnectionFailed','ENTITLE_INVALID_COUPON_CODE','_socket$','_createInitialState','/universer-api/uniscript','capture','Pkcs7','1728584ddqPFE','[CollaborationEntity]','_onRemoteRetry','members','range','mapDocumentTypeToUniverType','padding','Could\x20not\x20dynamically\x20require\x20\x22','CONNECTOR_DATA_TOO_LARGE','CONFLICT','debug','msCrypto','_startCollaboration','ALREADY_EXISTS','firstValueFrom','CommandType','type','saveImage','signUrlServerUrl','SHOULD_CLOSE_CONN','getGlobalObject','BASE64','forEach','clear','_getCurrentRevision','JOINING','session.room-permission-denied','JOIN_ROOM_NOT_EXISTS','_socketService','randomBytes','failed\x20to\x20apply\x20missed\x20changesets!','_candidateSocket','[CollaborationState]:\x20apply\x20error!','_getAPIPrefixPath','mixIn','createCollaborator','[OfflineState]:\x20received\x20rejection.','location','_onConnectionOpen','RECV','/allowed','_getCtorByUniverType','_networkConditionService','_onRemoteRejected','UniverSheets','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','REDEMPTION_CODE_FULLY_REDEEMED','OPTIONAL','/resources','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','Tools','ILogService','objectActions','SUBMIT_CHANGESET','_getUndoStack','memberID','Plugin','max','INGEST','_throwTelemetryCollaborationNewChangeset','has','[SyncedState]:\x20received\x20rejection.','_sendHeartbeatTimer','/block/','_clearUndo','_getAPIPrefix','SYNCED','SheetPermissionInitController','post','startsWith','IDLE','/object/','_resendTimer','localeService','rev','USER_NOT_INVITED_CODE','_incrementRevisionNumber','isInternalEditorID','/object','UNIVER_PROJECT','_sessionStatus$','_clearTimeoutTimer','onlyLocal','$super','ISnapshotServerService','UniverInstanceType','setCurrentUser','UNDEFINED','compose','ENTITLE_CHAT_LIMIT_EXCEED','touchDependencies','status','conflict','toggleOffline','get','pluginName','fetchMiss','LIVESHARE_FETCH_OPERATIONS','subUnitId','HEARTBEAT_TIMEOUT_KEY','onload','APPLY_REVISION_CONFILICT','Subject','_onCombEvent','headers','subject','univer-pro.collaboration-client.network-condition.service','_onMessage','PERMISSION_DENIED','unitID','dispose','_transformRemoteChangesetByIMECache','LICENSE_MAX_UNITS_EXCEEDED','fromCharCode','collaboration_new_changeset','x-univer-host','CURRENT_STATUS_CANNOT_OPERATE','state','CipherParams','NoPadding','_getRedoStack','Hasher','InsertSheetMutation','1279226ZpPGzm','[CollaborationUndoRedoService]','AWAITING_WITH_PENDING','_initMergeInterceptor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_SLIDE','updatePermissionPoint','_updateStatus','_transformStateCache','unsubscribe','_onUserJoin','CollaborationController','_maxTotalRetryTimeout','transformUndoRedo','createEncryptor','onTransformIME','univer-pro.collaboration-client-socket-service','HmacSHA1','_transformSelections','Utf8','revision','selections','ENSURE_SNAPSHOT_EXECUTION','_showConflictNotification','_socketReady','concat','message$','COMPRESS_MUTATION_SEND','toggleOnline','fetch_missing','clone','_telemetryService','random','INTERNAL_ERROR','APPLY_DUPLICATED','includes','collabWebSocketUrl','fetchThroughInterceptors','_substituteRedoStack','offline','Disposable','_updateLocalCache','_instanceService','transformMutationsWithChangeset','sendChangesetTimeout','fetching\x20missing\x20changesets\x20from\x20','LOGIN_FAILED','objectType','save\x20fail\x20reason\x20is\x20','finalize','ThresholdInterceptorFactory','BlockCipher','_commandService','ceil','charAt','action','SheetsSelectionsService','YUUMI_AI_RUN_FAILED','image/bmp','loadOfflineData','POST','IMentionIOService','getMemberID','requestParams','_members','CHANGESET_REJ','UnitEmbedded','DATA_SOURCE_TOO_LARGE','keySize','_hash','authzUrl','REDEMPTION_USER_NOT_ELIGIBLE','CollaborationEntity','@univerjs/network','code','closeSession','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','pipe','uuidv4','getUnitStatus$','_type','INVITE_CODE_REQUIRED','getCollabEntity$','ImageUploadStatusType','loadSheet','ENTITLE_COUPON_USED_UP','getCollabEntity','_mode','/role','url','RichTextEditingMutation','session.room-cnt-exceeds','kdf','serializeCombRequest','LOCAL_CACHE_INTERVAL_KEY','_stopTelemetryCollaborationNewChangeset','MemberService','isPermissionRej','socketService','extend','string','getTypeOfUnitDisposed$','_append','INVALID_INVITE_CODE','\x0aCurrent:\x20','_prevBlock','OFFLINE','37385SJgvnK','FileId','_initUnitPermissionChange','LIVESHARE_OPERATION','infoRsp','onCommentUpdate','substr','HEARTBEAT','removeMember','StreamCipher','isArray','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','unit-cache-','error','_onUserLeave','onStateChange','SnapshotService','_config','create','ClipsheetFragments','change$','_keyPriorReset','_transformIMECache','USER_NOT_FOUND','CollaborationUIEventId','joinRsp','REDEMPTION_CODE_NOT_STARTED','enableSingleActiveInstanceLock','_sendHeartbeat','onTransformSelections','PERMISSION_REJ','_createInitialStateImpl','textEncoder','_sender','execute','reduce','YUUMI_CONNECTOR_URL_NOT_FOUND','JSONX','ITransformService','updateCollaborator','csShouldRetryEvent'];_0x49c3=function(){return _0x403216;};return _0x49c3();}function _0x515f(_0x315031,_0x43045c){_0x315031=_0x315031-0xb6;var _0x49c37b=_0x49c3();var _0x515f9e=_0x49c37b[_0x315031];return _0x515f9e;}(function(_0x3cf604,_0xbdd840){var _0x13076d=_0x515f,_0x550c14=_0x3cf604();while(!![]){try{var _0x3a9d3e=-parseInt(_0x13076d(0x235))/0x1+-parseInt(_0x13076d(0x3d6))/0x2+-parseInt(_0x13076d(0xf1))/0x3*(parseInt(_0x13076d(0xdf))/0x4)+parseInt(_0x13076d(0x2a0))/0x5*(parseInt(_0x13076d(0x432))/0x6)+parseInt(_0x13076d(0x323))/0x7+parseInt(_0x13076d(0x1ba))/0x8+parseInt(_0x13076d(0xc5))/0x9;if(_0x3a9d3e===_0xbdd840)break;else _0x550c14['push'](_0x550c14['shift']());}catch(_0x1ecf8a){_0x550c14['push'](_0x550c14['shift']());}}}(_0x49c3,0xe1e25),function(_0x15adb4,_0x13f4dc){var _0x2c2593=_0x515f;typeof exports==_0x2c2593(0x18b)&&typeof module<'u'?_0x13f4dc(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=='function'&&define[_0x2c2593(0x2f8)]?define([_0x2c2593(0x42d),_0x2c2593(0x3b0),'@univerjs/core','@univerjs/docs',_0x2c2593(0x152),_0x2c2593(0x440),_0x2c2593(0x3ff),_0x2c2593(0x370),_0x2c2593(0x27e),_0x2c2593(0x197),_0x2c2593(0xfa)],_0x13f4dc):(_0x15adb4=typeof globalThis<'u'?globalThis:_0x15adb4||self,_0x13f4dc(_0x15adb4[_0x2c2593(0x408)]={},_0x15adb4['UniverProCollaboration'],_0x15adb4['UniverCore'],_0x15adb4[_0x2c2593(0xc3)],_0x15adb4[_0x2c2593(0x1e6)],_0x15adb4[_0x2c2593(0x440)],_0x15adb4[_0x2c2593(0x12e)],_0x15adb4['rxjs']['operators'],_0x15adb4[_0x2c2593(0x36e)],_0x15adb4['UniverDrawing'],_0x15adb4[_0x2c2593(0x433)]));}(this,function(_0x4113be,_0x19b128,_0x414ab0,_0x33516d,_0x19c319,_0x5691e8,_0x4c96b5,_0x1f22ee,_0x3bd1c1,_0x3f9464,_0x4ae2a6){'use strict';var _0x4a9ac9=_0x515f;var _0x1ccdb5=Object[_0x4a9ac9(0x1a2)],_0x4b06f6=(_0x35e6e3,_0xe84587,_0x12a346)=>_0xe84587 in _0x35e6e3?_0x1ccdb5(_0x35e6e3,_0xe84587,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12a346}):_0x35e6e3[_0xe84587]=_0x12a346,_0x213c49=(_0xa90663,_0x180c0e,_0x3a8375)=>_0x4b06f6(_0xa90663,typeof _0x180c0e!=_0x4a9ac9(0x373)?_0x180c0e+'':_0x180c0e,_0x3a8375);const _0x49d908=_0x4a9ac9(0x3bb),_0x41378d=_0x4a9ac9(0x2f6),_0x340e26='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3a5dca=_0x4a9ac9(0x127),_0x18d90d=_0x4a9ac9(0x310),_0x2beeb0=_0x4a9ac9(0x3eb),_0x314a57=_0x4a9ac9(0x37a),_0x38c987=_0x4a9ac9(0xb6),_0x213ef9='/universer-api/comb',_0x22dd04='/universer-api/oidc/authpage',_0x19b088=_0x4a9ac9(0x38a),_0x17cb6d=_0x4a9ac9(0x1b7);var _0xcd798d=(_0x3a0c72=>(_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x211)]=0x0]=_0x4a9ac9(0x211),_0x3a0c72[_0x3a0c72['OK']=0x1]='OK',_0x3a0c72[_0x3a0c72['INTERNAL_ERROR']=0x2]=_0x4a9ac9(0x256),_0x3a0c72[_0x3a0c72['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2ed)]=0x4]=_0x4a9ac9(0x2ed),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0xe7)]=0x5]=_0x4a9ac9(0xe7),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x1c7)]=0x6]=_0x4a9ac9(0x1c7),_0x3a0c72[_0x3a0c72['INVALID_ARGUMENT']=0x7]=_0x4a9ac9(0x122),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x42e)]=0x8]=_0x4a9ac9(0x42e),_0x3a0c72[_0x3a0c72['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x263)]=0xa]=_0x4a9ac9(0x263),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x364)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x357)]=0xc]=_0x4a9ac9(0x357),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x450)]=0xd]=_0x4a9ac9(0x450),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x239)]=0xe]=_0x4a9ac9(0x239),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x15c)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x18c)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x22e)]=0x64]=_0x4a9ac9(0x22e),_0x3a0c72[_0x3a0c72['ERROR_AGAIN']=0x65]=_0x4a9ac9(0x10e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2b7)]=0xc9]='USER_NOT_FOUND',_0x3a0c72[_0x3a0c72['USER_IS_ANONYMOUS']=0xca]=_0x4a9ac9(0x198),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x381)]=0x1389]=_0x4a9ac9(0x381),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x302)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3a0c72[_0x3a0c72['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3a0c72[_0x3a0c72['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a9ac9(0x24b),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x362)]=0x1b59]=_0x4a9ac9(0x362),_0x3a0c72[_0x3a0c72['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4a9ac9(0x190),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x21f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x338)]=0x1b5c]=_0x4a9ac9(0x338),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x257)]=0x1b5d]='APPLY_DUPLICATED',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x1c2)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x22a)]=0x2329]=_0x4a9ac9(0x22a),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2e3)]=0x232a]=_0x4a9ac9(0x2e3),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x393)]=0x232b]=_0x4a9ac9(0x393),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x11a)]=0x232c]=_0x4a9ac9(0x11a),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2cd)]=0x232d]=_0x4a9ac9(0x2cd),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x344)]=0x2711]=_0x4a9ac9(0x344),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x44e)]=0x2712]=_0x4a9ac9(0x44e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x137)]=0x2713]=_0x4a9ac9(0x137),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x361)]=0x2714]=_0x4a9ac9(0x361),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x17d)]=0x271a]=_0x4a9ac9(0x17d),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2d7)]=0x271b]=_0x4a9ac9(0x2d7),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x189)]=0x271c]=_0x4a9ac9(0x189),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x31b)]=0x271d]=_0x4a9ac9(0x31b),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x13e)]=0x271e]=_0x4a9ac9(0x13e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x26e)]=0x271f]=_0x4a9ac9(0x26e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2c4)]=0x2720]=_0x4a9ac9(0x2c4),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x2ef)]=0x2af9]=_0x4a9ac9(0x2ef),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x1af)]=0x2ee1]=_0x4a9ac9(0x1af),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x29c)]=0x2ee2]='INVALID_INVITE_CODE',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x286)]=0x2ee3]=_0x4a9ac9(0x286),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x205)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3a0c72[_0x3a0c72['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4a9ac9(0x424),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x38e)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x162)]=0x32ca]=_0x4a9ac9(0x162),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x327)]=0x32cb]=_0x4a9ac9(0x327),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x118)]=0x36b1]=_0x4a9ac9(0x118),_0x3a0c72[_0x3a0c72['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x4a9ac9(0x15e),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x316)]=0x36b3]=_0x4a9ac9(0x316),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x14d)]=0x36b4]=_0x4a9ac9(0x14d),_0x3a0c72[_0x3a0c72['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x4a9ac9(0x1b4),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x194)]=0x36b6]=_0x4a9ac9(0x194),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x28a)]=0x36b7]=_0x4a9ac9(0x28a),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x3e4)]=0x36b8]=_0x4a9ac9(0x3e4),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x213)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x3a0c72[_0x3a0c72['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x3a0c72[_0x3a0c72['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x4a9ac9(0x369),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x100)]=0x37dd]=_0x4a9ac9(0x100),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x131)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x35a)]=0x3a9a]=_0x4a9ac9(0x35a),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x1e8)]=0x3a9b]=_0x4a9ac9(0x1e8),_0x3a0c72[_0x3a0c72['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x4a9ac9(0x2ba),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x27c)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x3a0c72[_0x3a0c72['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x4a9ac9(0xb9),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x144)]=0x3a9f]=_0x4a9ac9(0x144),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x278)]=0x3e81]=_0x4a9ac9(0x278),_0x3a0c72[_0x3a0c72[_0x4a9ac9(0x130)]=-0x1]=_0x4a9ac9(0x130),_0x3a0c72))(_0xcd798d||{}),_0x5599c4=(_0x3e57c7=>(_0x3e57c7[_0x3e57c7['UNIVER_UNKNOWN']=0x0]=_0x4a9ac9(0x34f),_0x3e57c7[_0x3e57c7['UNIVER_DOC']=0x1]=_0x4a9ac9(0x120),_0x3e57c7[_0x3e57c7['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x3e57c7[_0x3e57c7[_0x4a9ac9(0x23a)]=0x3]=_0x4a9ac9(0x23a),_0x3e57c7[_0x3e57c7[_0x4a9ac9(0x209)]=0x4]='UNIVER_PROJECT',_0x3e57c7[_0x3e57c7[_0x4a9ac9(0x130)]=-0x1]=_0x4a9ac9(0x130),_0x3e57c7))(_0x5599c4||{}),_0x4b3637=(_0x39a69e=>(_0x39a69e[_0x39a69e[_0x4a9ac9(0xdb)]=0x0]=_0x4a9ac9(0xdb),_0x39a69e[_0x39a69e[_0x4a9ac9(0x3f5)]=0x1]=_0x4a9ac9(0x3f5),_0x39a69e[_0x39a69e[_0x4a9ac9(0xc0)]=0x2]=_0x4a9ac9(0xc0),_0x39a69e[_0x39a69e[_0x4a9ac9(0x3a0)]=0x3]=_0x4a9ac9(0x3a0),_0x39a69e[_0x39a69e[_0x4a9ac9(0x1f4)]=0x4]=_0x4a9ac9(0x1f4),_0x39a69e[_0x39a69e[_0x4a9ac9(0x2a7)]=0x5]=_0x4a9ac9(0x2a7),_0x39a69e[_0x39a69e[_0x4a9ac9(0x1e1)]=0x6]=_0x4a9ac9(0x1e1),_0x39a69e[_0x39a69e[_0x4a9ac9(0x130)]=-0x1]=_0x4a9ac9(0x130),_0x39a69e))(_0x4b3637||{}),_0x2e116a=(_0x4315b3=>(_0x4315b3[_0x4315b3[_0x4a9ac9(0x184)]=0x0]=_0x4a9ac9(0x184),_0x4315b3[_0x4315b3['OK']=0x1]='OK',_0x4315b3[_0x4315b3[_0x4a9ac9(0x12a)]=0x2]=_0x4a9ac9(0x12a),_0x4315b3[_0x4315b3['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x4315b3[_0x4315b3['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x4315b3[_0x4315b3[_0x4a9ac9(0x3ba)]=0x3eb]=_0x4a9ac9(0x3ba),_0x4315b3[_0x4315b3['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x4a9ac9(0x3db),_0x4315b3[_0x4315b3['UNRECOGNIZED']=-0x1]=_0x4a9ac9(0x130),_0x4315b3))(_0x2e116a||{}),_0xbed5ec=(_0xe3d453=>(_0xe3d453[_0xe3d453[_0x4a9ac9(0x39c)]=0x0]='Undefined',_0xe3d453[_0xe3d453['HttpImport']=0x1]='HttpImport',_0xe3d453[_0xe3d453[_0x4a9ac9(0x13a)]=0x2]='HttpExport',_0xe3d453[_0xe3d453[_0x4a9ac9(0x277)]=0x3]=_0x4a9ac9(0x277),_0xe3d453[_0xe3d453[_0x4a9ac9(0x333)]=0x4]='UnitSnapshot',_0xe3d453[_0xe3d453[_0x4a9ac9(0x165)]=0x5]=_0x4a9ac9(0x165),_0xe3d453[_0xe3d453[_0x4a9ac9(0x2b3)]=0x6]=_0x4a9ac9(0x2b3),_0xe3d453[_0xe3d453[_0x4a9ac9(0x130)]=-0x1]=_0x4a9ac9(0x130),_0xe3d453))(_0xbed5ec||{});const _0x4f1b95=_0x4a9ac9(0x22c);function _0x38f3d6(_0x327a5d){var _0x113a21=_0x4a9ac9;return JSON[_0x113a21(0x195)](_0x327a5d)[_0x113a21(0x337)];}var _0x51d7a4=(_0x1c4a2f=>(_0x1c4a2f[_0x4a9ac9(0x18f)]=_0x4a9ac9(0x18f),_0x1c4a2f[_0x4a9ac9(0x226)]=_0x4a9ac9(0x226),_0x1c4a2f[_0x4a9ac9(0x1c3)]='CONFLICT',_0x1c4a2f['CLOSE_ROOM']='CLOSE_ROOM',_0x1c4a2f[_0x4a9ac9(0x3fb)]=_0x4a9ac9(0x3fb),_0x1c4a2f['SOCKET_FAILED_RETRY']=_0x4a9ac9(0x185),_0x1c4a2f[_0x4a9ac9(0x3d3)]=_0x4a9ac9(0x3d3),_0x1c4a2f['SUBMIT_CHANGESET_TIMEOUT']=_0x4a9ac9(0x2ce),_0x1c4a2f))(_0x51d7a4||{});class _0x26aa78{constructor(){var _0x1e48d4=_0x4a9ac9;_0x213c49(this,_0x1e48d4(0x30b),new _0x5691e8[(_0x1e48d4(0x220))]()),_0x213c49(this,_0x1e48d4(0x37f),this['_event$'][_0x1e48d4(0x3cf)]());}[_0x4a9ac9(0x3f6)](_0x21dacf){var _0x25f9c6=_0x4a9ac9;this['_event$'][_0x25f9c6(0x2d0)](_0x21dacf);}}class _0x3e56a6{constructor(){var _0x2c4c8b=_0x4a9ac9;_0x213c49(this,_0x2c4c8b(0x32b),new _0x5691e8[(_0x2c4c8b(0x220))]()),_0x213c49(this,_0x2c4c8b(0x444),this[_0x2c4c8b(0x32b)][_0x2c4c8b(0x3cf)]());}[_0x4a9ac9(0x2a5)](_0x523efd){var _0x41904c=_0x4a9ac9;this[_0x41904c(0x32b)][_0x41904c(0x2d0)](_0x523efd);}}var _0x6bc8c3=Object['getOwnPropertyDescriptor'],_0x381211=(_0x501606,_0x15dc1c,_0x49354b,_0x3eb0f8)=>{var _0x289ff2=_0x4a9ac9;for(var _0x230f8f=_0x3eb0f8>0x1?void 0x0:_0x3eb0f8?_0x6bc8c3(_0x15dc1c,_0x49354b):_0x15dc1c,_0x1955be=_0x501606[_0x289ff2(0x337)]-0x1,_0x40aa2d;_0x1955be>=0x0;_0x1955be--)(_0x40aa2d=_0x501606[_0x1955be])&&(_0x230f8f=_0x40aa2d(_0x230f8f)||_0x230f8f);return _0x230f8f;},_0x54a946=(_0x4b0c45,_0x113e84)=>(_0x3c0837,_0x27cba6)=>_0x113e84(_0x3c0837,_0x27cba6,_0x4b0c45);_0x4113be[_0x4a9ac9(0x295)]=class extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(_0x593bf6,_0x2d46c8){var _0x330b0b=_0x4a9ac9;super(),_0x213c49(this,_0x330b0b(0x37d),new Map()),_0x213c49(this,_0x330b0b(0x129),new _0x5691e8[(_0x330b0b(0x220))]()),(this['_univerInstanceService']=_0x593bf6,this['_userManagerService']=_0x2d46c8,this[_0x330b0b(0x174)](_0x5691e8[_0x330b0b(0x3e1)](this[_0x330b0b(0x3bf)][_0x330b0b(0x29a)](_0x414ab0[_0x330b0b(0x20f)][_0x330b0b(0x429)])[_0x330b0b(0x282)](_0x1f22ee[_0x330b0b(0x45d)](_0x18c160=>_0x18c160[_0x330b0b(0x420)]())),this[_0x330b0b(0x3bf)]['getTypeOfUnitDisposed$'](_0x414ab0[_0x330b0b(0x20f)][_0x330b0b(0x120)])['pipe'](_0x1f22ee[_0x330b0b(0x45d)](_0x448b52=>_0x448b52[_0x330b0b(0x420)]())),this[_0x330b0b(0x3bf)][_0x330b0b(0x29a)](_0x414ab0[_0x330b0b(0x20f)][_0x330b0b(0x23a)])[_0x330b0b(0x282)](_0x1f22ee[_0x330b0b(0x45d)](_0x534d19=>_0x534d19[_0x330b0b(0x420)]())))[_0x330b0b(0x32f)](_0x2149e3=>this[_0x330b0b(0x2fd)](_0x2149e3))));}[_0x4a9ac9(0x443)](_0x363871){var _0x777d06=_0x4a9ac9;return this[_0x777d06(0x37d)]['has'](_0x363871)?_0x5691e8['of'](this[_0x777d06(0x37d)][_0x777d06(0x218)](_0x363871)):this[_0x777d06(0x129)][_0x777d06(0x282)](_0x1f22ee[_0x777d06(0x45d)](_0x45900a=>{var _0x5d8f27=_0x777d06;if(_0x45900a===_0x363871)return this[_0x5d8f27(0x37d)][_0x5d8f27(0x218)](_0x45900a);}));}[_0x4a9ac9(0x210)](_0x5b82df){var _0x1a90d5=_0x4a9ac9;this[_0x1a90d5(0x3fc)][_0x1a90d5(0x210)](_0x5b82df);}[_0x4a9ac9(0x14b)](){var _0x4204b2=_0x4a9ac9;return this['_userManagerService'][_0x4204b2(0x14b)]();}[_0x4a9ac9(0x301)](_0x69850d,_0x6d9d1b){var _0x8523de=_0x4a9ac9;let _0x2de8e0=this[_0x8523de(0x37d)][_0x8523de(0x218)](_0x69850d);_0x2de8e0||(_0x2de8e0=new _0x384627(),this[_0x8523de(0x37d)]['set'](_0x69850d,_0x2de8e0),this[_0x8523de(0x129)]['next'](_0x69850d)),_0x2de8e0['updateMember'](_0x6d9d1b);}[_0x4a9ac9(0x2a8)](_0x2aa534,_0x1df35a){var _0x4cb3e5=_0x4a9ac9;const _0x11d71d=this['_roomMembers'][_0x4cb3e5(0x218)](_0x2aa534);_0x11d71d&&_0x11d71d[_0x4cb3e5(0x2a8)](_0x1df35a);}['getRoom'](_0x68cd1a){var _0x37c41a=_0x4a9ac9;return this[_0x37c41a(0x37d)][_0x37c41a(0x218)](_0x68cd1a);}[_0x4a9ac9(0x374)](_0x2c8383,_0x1ccbdd){var _0x19af2c=_0x4a9ac9;const _0x3f6ad3=this[_0x19af2c(0x37d)][_0x19af2c(0x218)](_0x2c8383);if(_0x3f6ad3)return _0x3f6ad3[_0x19af2c(0x374)](_0x1ccbdd);}['_removeRoom'](_0x1e0b7b){var _0x3cf277=_0x4a9ac9;const _0x322ad1=this['_roomMembers'][_0x3cf277(0x218)](_0x1e0b7b);_0x322ad1&&(_0x322ad1['dispose'](),this[_0x3cf277(0x37d)][_0x3cf277(0x3b1)](_0x1e0b7b));}[_0x4a9ac9(0x228)](){var _0x3f7e43=_0x4a9ac9;this['_roomMembers'][_0x3f7e43(0x1d0)](_0x145f92=>_0x145f92[_0x3f7e43(0x228)]()),this[_0x3f7e43(0x37d)][_0x3f7e43(0x1d1)](),this[_0x3f7e43(0x129)][_0x3f7e43(0x115)]();}},_0x4113be[_0x4a9ac9(0x295)]=_0x381211([_0x54a946(0x0,_0x414ab0['IUniverInstanceService']),_0x54a946(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x160)]))],_0x4113be[_0x4a9ac9(0x295)]);class _0x384627 extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(){var _0x151a3c=_0x4a9ac9;super(...arguments),_0x213c49(this,_0x151a3c(0x275),new Map()),_0x213c49(this,'_members$',new _0x5691e8[(_0x151a3c(0x33f))](this[_0x151a3c(0x275)])),_0x213c49(this,_0x151a3c(0x1b0),this[_0x151a3c(0xcf)][_0x151a3c(0x3cf)]());}[_0x4a9ac9(0x228)](){var _0x25c473=_0x4a9ac9;this[_0x25c473(0x275)][_0x25c473(0x1d1)]();}[_0x4a9ac9(0x301)](_0x99956d){var _0x33976c=_0x4a9ac9;this[_0x33976c(0x275)][_0x33976c(0x356)](_0x99956d['memberID'],_0x99956d),this[_0x33976c(0x2d3)]();}['removeMember'](_0x43a6c5){var _0x142f22=_0x4a9ac9;this['_members'][_0x142f22(0x3b1)](_0x43a6c5);}['getMember'](_0x1ac0b1){var _0x24f2a5=_0x4a9ac9;return this[_0x24f2a5(0x275)]['get'](_0x1ac0b1);}['getAllMembers'](){var _0x596be4=_0x4a9ac9;return Array[_0x596be4(0x366)](this[_0x596be4(0x275)]['values']());}[_0x4a9ac9(0x2d3)](){var _0x2415a0=_0x4a9ac9;this[_0x2415a0(0xcf)][_0x2415a0(0x2d0)](this[_0x2415a0(0x275)]);}}var _0x379cb3=Object['getOwnPropertyDescriptor'],_0x2d5bed=(_0x1f3a73,_0x341bf8,_0x5b15c6,_0x11c7c6)=>{var _0x3f8e07=_0x4a9ac9;for(var _0x22be63=_0x11c7c6>0x1?void 0x0:_0x11c7c6?_0x379cb3(_0x341bf8,_0x5b15c6):_0x341bf8,_0x42fdc9=_0x1f3a73[_0x3f8e07(0x337)]-0x1,_0x377cae;_0x42fdc9>=0x0;_0x42fdc9--)(_0x377cae=_0x1f3a73[_0x42fdc9])&&(_0x22be63=_0x377cae(_0x22be63)||_0x22be63);return _0x22be63;},_0x40f2d4=(_0x5699cd,_0x5c2d15)=>(_0xe62484,_0x178cbd)=>_0x5c2d15(_0xe62484,_0x178cbd,_0x5699cd),_0x38c5e4=(_0x4faa7e=>(_0x4faa7e[_0x4faa7e[_0x4a9ac9(0x200)]=0x0]=_0x4a9ac9(0x200),_0x4faa7e[_0x4faa7e[_0x4a9ac9(0x1d3)]=0x1]=_0x4a9ac9(0x1d3),_0x4faa7e[_0x4faa7e[_0x4a9ac9(0x29f)]=0x2]=_0x4a9ac9(0x29f),_0x4faa7e[_0x4faa7e[_0x4a9ac9(0x33b)]=0x3]=_0x4a9ac9(0x33b),_0x4faa7e))(_0x38c5e4||{});const _0x4e79dc={[_0x2e116a[_0x4a9ac9(0x12a)]]:_0x4a9ac9(0x37c),[_0x2e116a[_0x4a9ac9(0xcb)]]:_0x4a9ac9(0x12f),[_0x2e116a[_0x4a9ac9(0x1d5)]]:_0x4a9ac9(0x43e),[_0x2e116a[_0x4a9ac9(0x3ba)]]:_0x4a9ac9(0x1d4),[_0x2e116a[_0x4a9ac9(0x3db)]]:_0x4a9ac9(0x290)};_0x4113be[_0x4a9ac9(0x403)]=class extends _0x414ab0[_0x4a9ac9(0x2e8)]{constructor(_0x25bdde,_0x2c30e5,_0x3b5fc2,_0xcad245,_0x2c40ab,_0x5626b4,_0x19b482,_0x801958){var _0x2376c6=_0x4a9ac9;super(),_0x213c49(this,_0x2376c6(0x20a),new _0x5691e8[(_0x2376c6(0x33f))](0x0)),_0x213c49(this,_0x2376c6(0xc8),this['_sessionStatus$'][_0x2376c6(0x3cf)]()),_0x213c49(this,_0x2376c6(0x30b),new _0x5691e8['Subject']()),_0x213c49(this,_0x2376c6(0x37f),this[_0x2376c6(0x30b)][_0x2376c6(0x3cf)]()),_0x213c49(this,_0x2376c6(0xd8)),_0x213c49(this,_0x2376c6(0x334)),_0x213c49(this,'_collaborationTimeoutTimer'),_0x213c49(this,'_shouldReportTelemetry',!0x1),_0x213c49(this,'_telemetryInfo',null),(this['_unitID']=_0x25bdde,this[_0x2376c6(0x426)]=_0x3b5fc2,this[_0x2376c6(0x14e)]=_0xcad245,this[_0x2376c6(0xea)]=_0x2c40ab,this[_0x2376c6(0x2ec)]=_0x5626b4,this[_0x2376c6(0x167)]=_0x19b482,this[_0x2376c6(0x254)]=_0x801958,this['_shouldReportTelemetry']=!!this[_0x2376c6(0x254)],_0x2c30e5[_0x2376c6(0x282)](_0x5691e8['takeUntil'](this['dispose$']))[_0x2376c6(0x32f)](_0x284555=>{var _0x595603=_0x2376c6,_0x235184;typeof _0x284555>'u'||(this[_0x595603(0xd8)]=_0x284555,_0x284555?(this[_0x595603(0xbe)](_0x284555),this[_0x595603(0x334)]=_0x284555[_0x595603(0x24f)][_0x595603(0x32f)](_0x43de06=>{var _0x4396da=_0x595603;_0x43de06[_0x4396da(0x2f3)]===this[_0x4396da(0x3ee)]&&this[_0x4396da(0x221)](_0x43de06);})):(this[_0x595603(0x1f5)](),this['_sessionStatus$'][_0x595603(0x2d0)](0x2),(_0x235184=this[_0x595603(0x334)])==null||_0x235184[_0x595603(0x23e)](),this[_0x595603(0x334)]=null));}));}get[_0x4a9ac9(0x3e7)](){var _0x45dde3=_0x4a9ac9;return this[_0x45dde3(0x20a)][_0x45dde3(0x458)]();}[_0x4a9ac9(0x273)](){var _0x36a82a=_0x4a9ac9,_0x1282ef,_0x66f8bf;return(_0x66f8bf=(_0x1282ef=this[_0x36a82a(0xd8)])==null?void 0x0:_0x1282ef['memberID'])!=null?_0x66f8bf:null;}[_0x4a9ac9(0x228)](){var _0x30d1d1=_0x4a9ac9;super[_0x30d1d1(0x228)](),this[_0x30d1d1(0x3bc)]['next'](),this[_0x30d1d1(0x3bc)]['complete']();}['close'](){var _0x452f6a=_0x4a9ac9,_0x1e8a1f,_0x4a268d;this[_0x452f6a(0x1f5)](),(_0x1e8a1f=this[_0x452f6a(0xd8)])==null||_0x1e8a1f['send']({'cmd':_0x4b3637[_0x452f6a(0x3a0)],'data':{'roomID':this[_0x452f6a(0x3ee)]}}),(_0x4a268d=this[_0x452f6a(0xd8)])==null||_0x4a268d['close'](),this['_event$'][_0x452f6a(0x115)](),this[_0x452f6a(0x20a)][_0x452f6a(0x115)](),this[_0x452f6a(0x228)]();}['_onCombEvent'](_0x1d6802){var _0xbbae74=_0x4a9ac9;_0x1d6802['cmd']===_0x4b3637['JOIN']?this[_0xbbae74(0x2da)](_0x1d6802):_0x1d6802['cmd']===_0x4b3637[_0xbbae74(0x1e1)]&&this[_0xbbae74(0xf7)](_0x1d6802);}[_0x4a9ac9(0xbe)](_0x2e441e){var _0x55e022=_0x4a9ac9;this[_0x55e022(0x20a)][_0x55e022(0x2d0)](0x1),_0x2e441e[_0x55e022(0x3a3)]({'cmd':_0x4b3637['JOIN'],'routeKey':this[_0x55e022(0x3ee)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4a9ac9(0x2da)](_0x63747f){var _0x4532b8=_0x4a9ac9,_0x15360d;if(_0x63747f[_0x4532b8(0x27f)]in _0x4e79dc){this['_collaborationUIEventService'][_0x4532b8(0x3f6)]({'id':_0x51d7a4[_0x4532b8(0x3fb)],'data':_0x4e79dc[_0x63747f[_0x4532b8(0x27f)]]}),this['_sessionStatus$'][_0x4532b8(0x2d0)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x3e39c9=(_0x15360d=_0x63747f['data']['roomInfos'][this[_0x4532b8(0x3ee)]])==null?void 0x0:_0x15360d[_0x4532b8(0x1bd)];_0x3e39c9&&_0x3e39c9['forEach'](_0x9fc452=>this['_memberService'][_0x4532b8(0x301)](this[_0x4532b8(0x3ee)],_0x9fc452));}[_0x4a9ac9(0xf7)](_0x1f7b5d){var _0x286bb2=_0x4a9ac9;try{const _0x561ee6=_0x1f7b5d[_0x286bb2(0xc7)];switch(_0x561ee6[_0x286bb2(0x439)]){case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x3e2)]:this[_0x286bb2(0x23f)](_0x561ee6),this[_0x286bb2(0x30b)][_0x286bb2(0x2d0)](_0x561ee6);break;case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x3cd)]:this['_onUserLeave'](_0x561ee6),this[_0x286bb2(0x30b)]['next'](_0x561ee6);break;case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x455)]:case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x3b8)]:this[_0x286bb2(0x294)](),this['_clearCollaborationTimeoutTimer'](),this[_0x286bb2(0x30b)]['next'](_0x561ee6);break;case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x38f)]:this[_0x286bb2(0x426)][_0x286bb2(0x2ad)](_0x286bb2(0x265)+JSON['stringify'](_0x561ee6)),this[_0x286bb2(0x30b)][_0x286bb2(0x2d0)](_0x561ee6);break;case _0x19b128[_0x286bb2(0xd3)][_0x286bb2(0x147)]:this['_commentService'][_0x286bb2(0x2a5)](_0x561ee6['data']),this['_event$'][_0x286bb2(0x2d0)](_0x561ee6);break;default:this['_event$'][_0x286bb2(0x2d0)](_0x561ee6);}}catch(_0xfbbb6c){this[_0x286bb2(0x426)][_0x286bb2(0x2ad)](_0xfbbb6c,_0x1f7b5d);}}['_onUserJoin'](_0x472cef){var _0x4adee5=_0x4a9ac9;this[_0x4adee5(0xea)][_0x4adee5(0x301)](this[_0x4adee5(0x3ee)],_0x472cef[_0x4adee5(0xc7)]);}[_0x4a9ac9(0x2ae)](_0x363d26){var _0x581696=_0x4a9ac9;this['_memberService'][_0x581696(0x2a8)](this[_0x581696(0x3ee)],_0x363d26[_0x581696(0xc7)][_0x581696(0x1f1)]);}async[_0x4a9ac9(0x3a3)](_0x342535,_0x3eeaf8){var _0x132787=_0x4a9ac9;if(this[_0x132787(0x3e7)]!==0x3||!this[_0x132787(0xd8)])throw new Error(_0x132787(0xde));try{_0x342535[_0x132787(0x439)]===_0x19b128[_0x132787(0xd3)]['SUBMIT_CHANGESET']&&(this[_0x132787(0x3aa)](),this[_0x132787(0x349)](_0x342535)),this[_0x132787(0xd8)][_0x132787(0x3a3)]({'cmd':_0x4b3637[_0x132787(0x1f4)],'routeKey':_0x3eeaf8,'routeType':'','data':_0x342535});}catch(_0x3e3a0f){this[_0x132787(0x426)][_0x132787(0x2ad)](_0x3e3a0f);}}['_scheduleCollaborationTimeoutTimer'](){var _0x129ad2=_0x4a9ac9,_0xb34cd1;this[_0x129ad2(0x42a)]=setTimeout(()=>{var _0x1ec63f=_0x129ad2;this[_0x1ec63f(0x42a)]=null,this[_0x1ec63f(0x167)][_0x1ec63f(0x3f6)]({'id':_0x51d7a4['SUBMIT_CHANGESET_TIMEOUT']});},(_0xb34cd1=this[_0x129ad2(0x14e)][_0x129ad2(0xfb)](_0x2beeb0))!=null?_0xb34cd1:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x3cc786=_0x4a9ac9;this[_0x3cc786(0x42a)]&&(clearTimeout(this[_0x3cc786(0x42a)]),this[_0x3cc786(0x42a)]=null);}[_0x4a9ac9(0x349)](_0x14e481){var _0x1ef9aa=_0x4a9ac9;if(!this['_shouldReportTelemetry'])return;const {data:_0x5adba2}=_0x14e481,{unitID:_0x56c4b1,changeset:_0xbad2b8}=_0x5adba2,{mutations:_0x457c54,type:_0x15c910}=_0xbad2b8;this[_0x1ef9aa(0x409)]={'unitId':_0x56c4b1,'type':_0x15c910,'startTime':performance[_0x1ef9aa(0x3e3)](),'stopTime':0x0,'duration':0x0,'size':_0x38f3d6(_0x457c54)};}[_0x4a9ac9(0x294)](){var _0x70dc61=_0x4a9ac9;if(this[_0x70dc61(0x434)]){if(!this[_0x70dc61(0x409)]){this['_logService'][_0x70dc61(0x2ad)](_0x70dc61(0x2dd),_0x70dc61(0xdd));return;}this[_0x70dc61(0x409)]['stopTime']=performance[_0x70dc61(0x3e3)](),this[_0x70dc61(0x409)][_0x70dc61(0x3b4)]=this[_0x70dc61(0x409)][_0x70dc61(0x402)]-this[_0x70dc61(0x409)]['startTime'],this[_0x70dc61(0x254)][_0x70dc61(0x1b8)](_0x4f1b95,this[_0x70dc61(0x409)]),this['_telemetryInfo']=null;}}[_0x4a9ac9(0x1f5)](){this['_telemetryInfo']=null;}},_0x4113be['CollaborationSession']=_0x2d5bed([_0x40f2d4(0x2,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x40f2d4(0x3,_0x414ab0['IConfigService']),_0x40f2d4(0x4,_0x414ab0['Inject'](_0x4113be['MemberService'])),_0x40f2d4(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x3e56a6)),_0x40f2d4(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x40f2d4(0x7,_0x414ab0[_0x4a9ac9(0x3e6)](_0x4c96b5['ITelemetryService']))],_0x4113be[_0x4a9ac9(0x403)]);const _0x364389=_0x414ab0[_0x4a9ac9(0x158)]('collaboration-client.local-cache-service');function _0x35a8e8(_0x2c6cb4){var _0x2c5cce=_0x4a9ac9;return _0x2c5cce(0x2ac)+_0x2c6cb4;}var _0x2710f1=Object[_0x4a9ac9(0xf9)],_0x40738a=(_0x172a03,_0x31fcca,_0x322799,_0x2efe7d)=>{var _0x4433ac=_0x4a9ac9;for(var _0x58542a=_0x2efe7d>0x1?void 0x0:_0x2efe7d?_0x2710f1(_0x31fcca,_0x322799):_0x31fcca,_0x413c98=_0x172a03[_0x4433ac(0x337)]-0x1,_0xd9c0f9;_0x413c98>=0x0;_0x413c98--)(_0xd9c0f9=_0x172a03[_0x413c98])&&(_0x58542a=_0xd9c0f9(_0x58542a)||_0x58542a);return _0x58542a;},_0x802a3d=(_0x54acea,_0xeaba2d)=>(_0x3e9670,_0x304320)=>_0xeaba2d(_0x3e9670,_0x304320,_0x54acea);function _0x5a2bba(_0x13aa34){var _0x4856cf=_0x4a9ac9;const {unitID:_0xff3e6d,mutations:_0x23e1dd}=_0x13aa34;return{'unitId':_0xff3e6d,'subUnitId':_0x23e1dd[_0x4856cf(0x337)]>0x0?_0x23e1dd[0x0]['params'][_0x4856cf(0x21c)]:null};}_0x4113be[_0x4a9ac9(0x425)]=class{constructor(_0x383610,_0x2cef6b,_0x3395a5){var _0x1428e1=_0x4a9ac9;this[_0x1428e1(0x18a)]=_0x383610,this[_0x1428e1(0x413)]=_0x2cef6b,this['_instanceService']=_0x3395a5;}[_0x4a9ac9(0x3c8)](_0x25cdd9){var _0x15c089=_0x4a9ac9,_0x4f5c17,_0x43c3c4,_0x46daf8,_0x5b5ca9;const _0x4a9fe6=this[_0x15c089(0x18a)][_0x15c089(0x218)](_0x19c319[_0x15c089(0x26d)]),{unitId:_0xd72b42,subUnitId:_0x5dfd49}=_0x5a2bba(_0x25cdd9),_0x206f0d=_0x4a9fe6==null?void 0x0:_0x4a9fe6[_0x15c089(0x321)](_0xd72b42)[_0x15c089(0xca)](),_0x1b7e18=(_0x43c3c4=(_0x4f5c17=this[_0x15c089(0x25f)][_0x15c089(0x171)](_0xd72b42))==null?void 0x0:_0x4f5c17['getActiveSheet']())==null?void 0x0:_0x43c3c4[_0x15c089(0x13d)]();if(_0x206f0d[_0x15c089(0x337)]===0x0||!_0xd72b42||!_0x5dfd49)return;const _0x4c80d8=[{'id':_0x19c319[_0x15c089(0x2e0)]['id'],'params':{'unitId':_0xd72b42,'subUnitId':_0x1b7e18,'selections':_0x414ab0[_0x15c089(0x1ec)]['deepClone'](_0x206f0d)}}],_0x4d99b3=this[_0x15c089(0x413)][_0x15c089(0x260)](_0x25cdd9,_0x4c80d8);if(!_0x19b128['isTransformMutationsWithChangesetSuccess'](_0x4d99b3))throw _0x4d99b3[_0x15c089(0x2ad)];const _0x184d87=(_0x5b5ca9=(_0x46daf8=_0x4d99b3[_0x15c089(0x347)][0x0])==null?void 0x0:_0x46daf8[_0x15c089(0x111)])==null?void 0x0:_0x5b5ca9[_0x15c089(0x24a)];if(Array['isArray'](_0x184d87)&&_0x184d87[_0x15c089(0x337)]){if(_0x184d87[_0x15c089(0x337)]===_0x4c80d8[0x0][_0x15c089(0x111)]['selections']['length']&&_0x184d87[_0x15c089(0x2f1)]((_0x22db0e,_0x1e3fe1)=>_0x414ab0['Rectangle'][_0x15c089(0x150)](_0x22db0e['range'],_0x4c80d8[0x0][_0x15c089(0x111)][_0x15c089(0x24a)][_0x1e3fe1][_0x15c089(0x1be)])))return;this[_0x15c089(0x18a)][_0x15c089(0x218)](_0x414ab0[_0x15c089(0x3a6)])['executeCommand'](_0x19c319['SetSelectionsOperation']['id'],{'unitId':_0xd72b42,'subUnitId':_0x1b7e18,'selections':_0x184d87});}}},_0x4113be[_0x4a9ac9(0x425)]=_0x40738a([_0x802a3d(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x802a3d(0x1,_0x19b128['ITransformService']),_0x802a3d(0x2,_0x414ab0[_0x4a9ac9(0x2f2)])],_0x4113be[_0x4a9ac9(0x425)]);const _0x5db1cd=_0x414ab0['createIdentifier'](_0x4a9ac9(0x10b));var _0x39c98c=(_0x3c329e=>(_0x3c329e[_0x3c329e[_0x4a9ac9(0x343)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3c329e[_0x3c329e['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x3c329e))(_0x39c98c||{});const _0xfa3b98=_0x4a9ac9(0xf5),_0x13dd70={};function _0x579114(_0x57c733){var _0x186e2b=_0x4a9ac9,_0x2b86fa;return!!((_0x2b86fa=_0x57c733[_0x186e2b(0x111)])!=null&&_0x2b86fa[_0x186e2b(0x40d)]);}const _0x2ed16f=new Set([_0x19c319[_0x4a9ac9(0x234)]['id']]);function _0x35ea1c(_0x5170a2,_0x40c38d,_0x41e240,_0x158d9a,_0x400339){var _0x5a0629=_0x4a9ac9,_0x13afeb,_0x204e01,_0x114785,_0x225baf;const _0x15990c=[];for(const _0x133d61 of _0x5170a2){if(_0x2ed16f[_0x5a0629(0x1f6)](_0x133d61['id'])){if(_0x15990c[_0x5a0629(0x337)]>0x0)break;_0x15990c[_0x5a0629(0x350)](_0x133d61);break;}if(_0x579114(_0x133d61)){if(_0x15990c[_0x5a0629(0x337)]>0x0)break;_0x15990c[_0x5a0629(0x350)](_0x133d61);break;}_0x15990c[_0x5a0629(0x350)](_0x133d61);}const _0x33a6c9=(_0x204e01=(_0x13afeb=_0x400339[_0x5a0629(0x14b)]())==null?void 0x0:_0x13afeb['userID'])!=null?_0x204e01:_0x5a0629(0xc9),_0x637c7d=(_0x225baf=(_0x114785=_0x400339[_0x5a0629(0x14b)]())==null?void 0x0:_0x114785[_0x5a0629(0x1f1)])!=null?_0x225baf:_0x5a0629(0xc9);return{'changeset':{'unitID':_0x40c38d,'type':_0x19b128[_0x5a0629(0x1bf)](_0x41e240[_0x5a0629(0x3a5)](_0x40c38d)),'baseRev':_0x158d9a[_0x5a0629(0x2ea)](_0x40c38d),'revision':0x0,'userID':_0x33a6c9,'memberID':_0x637c7d,'mutations':_0x15990c},'pendingMutations':_0x5170a2['slice'](_0x15990c['length'])};}function _0x1fd6f4(_0x150093,_0x44f73c,_0x294988,_0x13fec2,_0x99e3a7){var _0x468cfe=_0x4a9ac9,_0x54f54f,_0x2615d4,_0x3bcf95,_0x2f0728;const _0x54270c=[_0x150093['reduce']((_0x241f51,_0xbf6f51)=>{var _0x145d1a=_0x515f,_0x4c163c;const {id:_0xf48f58}=_0x241f51,{id:_0x1c58a6,type:_0x2a07f5}=_0xbf6f51,_0x580c53=(_0x4c163c=_0x241f51['params'])!=null?_0x4c163c:{'actions':null},_0x5e1510=_0xbf6f51[_0x145d1a(0x111)];if(_0xf48f58&&_0xf48f58!==_0x1c58a6)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0xf48f58+_0x145d1a(0xff)+_0x1c58a6+'.');return{..._0x241f51,'id':_0x1c58a6,'type':_0x2a07f5,'params':{'unitId':_0x5e1510['unitId'],'textRanges':_0x5e1510[_0x145d1a(0x42f)],'actions':_0x414ab0[_0x145d1a(0x2c5)][_0x145d1a(0x212)](_0x580c53[_0x145d1a(0x40a)],_0x5e1510[_0x145d1a(0x40a)])}};},{})],_0x38b6ef=(_0x2615d4=(_0x54f54f=_0x99e3a7[_0x468cfe(0x14b)]())==null?void 0x0:_0x54f54f['userID'])!=null?_0x2615d4:_0x468cfe(0xc9),_0x4f6909=(_0x2f0728=(_0x3bcf95=_0x99e3a7[_0x468cfe(0x14b)]())==null?void 0x0:_0x3bcf95[_0x468cfe(0x1f1)])!=null?_0x2f0728:_0x468cfe(0xc9);return{'changeset':{'unitID':_0x44f73c,'type':_0x19b128['mapDocumentTypeToUniverType'](_0x294988[_0x468cfe(0x3a5)](_0x44f73c)),'baseRev':_0x13fec2['getCurrentRevOfUnit'](_0x44f73c),'revision':0x0,'userID':_0x38b6ef,'memberID':_0x4f6909,'mutations':_0x54270c},'pendingMutations':[]};}function _0x5efdb(_0x40d464,_0x23840a){var _0x24c21f=_0x4a9ac9;const _0x365ac1=new _0x5691e8[(_0x24c21f(0x397))](0x1);return setTimeout(()=>_0x365ac1[_0x24c21f(0x2d0)](_0x23840a),_0x40d464),_0x365ac1[_0x24c21f(0x3cf)]()[_0x24c21f(0x282)](_0x5691e8[_0x24c21f(0x11e)](0x1));}var _0x1f6f4d=Object[_0x4a9ac9(0xf9)],_0x17135f=(_0x23a8ef,_0x4a45a9,_0x2d0f86,_0x172477)=>{var _0x30a484=_0x4a9ac9;for(var _0x4bd087=_0x172477>0x1?void 0x0:_0x172477?_0x1f6f4d(_0x4a45a9,_0x2d0f86):_0x4a45a9,_0x351612=_0x23a8ef[_0x30a484(0x337)]-0x1,_0x1ceb34;_0x351612>=0x0;_0x351612--)(_0x1ceb34=_0x23a8ef[_0x351612])&&(_0x4bd087=_0x1ceb34(_0x4bd087)||_0x4bd087);return _0x4bd087;},_0x1af1cc=(_0x1b3f38,_0x300290)=>(_0x4e7980,_0x103cf0)=>_0x300290(_0x4e7980,_0x103cf0,_0x1b3f38),_0x70296d=(_0x32884b=>(_0x32884b[_0x4a9ac9(0x14a)]=_0x4a9ac9(0x196),_0x32884b[_0x4a9ac9(0x1fc)]=_0x4a9ac9(0x14f),_0x32884b['PENDING']=_0x4a9ac9(0x376),_0x32884b['AWAITING']=_0x4a9ac9(0x141),_0x32884b[_0x4a9ac9(0x237)]='awaiting_with_pending',_0x32884b[_0x4a9ac9(0x453)]=_0x4a9ac9(0x252),_0x32884b[_0x4a9ac9(0x1c3)]=_0x4a9ac9(0x216),_0x32884b['OFFLINE']=_0x4a9ac9(0x25c),_0x32884b))(_0x70296d||{});const _0x1f4f9b=0x4e20,_0x29f7bc=0x2bf20;class _0x24b4fb{constructor(_0x3a3309,_0x2c8eee,_0x3cb408,_0x3cabd9,_0x1b672d,_0x4017f5,_0x12239d,_0x32b0d6,_0x31c322){var _0x4f03a1=_0x4a9ac9;_0x213c49(this,_0x4f03a1(0x11c),null),_0x213c49(this,_0x4f03a1(0x351),[]),(this[_0x4f03a1(0x227)]=_0x3a3309,this['type']=_0x2c8eee,this[_0x4f03a1(0xf3)]=_0x1b672d,this[_0x4f03a1(0x269)]=_0x4017f5,this[_0x4f03a1(0xbd)]=_0x12239d,this[_0x4f03a1(0x355)]=_0x32b0d6,this[_0x4f03a1(0xee)]=_0x31c322,this['_awaitingChangeset']=_0x3cb408,this[_0x4f03a1(0x351)]=_0x3cabd9);}['_checkMissing'](_0x2b328d){var _0x3f44fe=_0x4a9ac9;const _0x4fbb8c=this['_revisionService'][_0x3f44fe(0x2ea)](this[_0x3f44fe(0x227)]);return _0x2b328d[_0x3f44fe(0x249)]>_0x4fbb8c+0x1?(this[_0x3f44fe(0xf3)]['onMissingChangesets']({'from':_0x4fbb8c,'to':_0x2b328d[_0x3f44fe(0x249)]-0x1}),!0x0):!0x1;}[_0x4a9ac9(0x16e)](_0x2ace62){var _0x336504=_0x4a9ac9;this[_0x336504(0xbd)][_0x336504(0x242)](this[_0x336504(0x227)],_0x2ace62);}['_transformSelections'](_0x507066){var _0x8df79a=_0x4a9ac9,_0x140294,_0x29a6b3;(_0x29a6b3=(_0x140294=this[_0x8df79a(0xf3)])[_0x8df79a(0x2bd)])==null||_0x29a6b3[_0x8df79a(0x3c1)](_0x140294,_0x507066);}[_0x4a9ac9(0x2b6)](_0x430fc6){var _0x5eb4f3=_0x4a9ac9,_0x369c8f,_0xd71460;return(_0xd71460=(_0x369c8f=this[_0x5eb4f3(0xf3)])['onTransformIME'])==null?void 0x0:_0xd71460[_0x5eb4f3(0x3c1)](_0x369c8f,_0x430fc6);}['_transformStateCache'](_0x167b4e){var _0x35aecb=_0x4a9ac9,_0x110e7a,_0x5dbfff;return(_0x5dbfff=(_0x110e7a=this[_0x35aecb(0xf3)])[_0x35aecb(0xc4)])==null?void 0x0:_0x5dbfff[_0x35aecb(0x3c1)](_0x110e7a,_0x167b4e);}[_0x4a9ac9(0x229)](_0x3fde45){var _0x366e2b=_0x4a9ac9,_0x11036b,_0x51ba21,_0x54bec8;return(_0x54bec8=(_0x51ba21=(_0x11036b=this[_0x366e2b(0xf3)])[_0x366e2b(0x17a)])==null?void 0x0:_0x51ba21['call'](_0x11036b,_0x3fde45))!=null?_0x54bec8:_0x3fde45;}[_0x4a9ac9(0x2e1)](_0x4a89d9){var _0x277e4d=_0x4a9ac9,_0x3d9ef9,_0x1cd4da,_0x2a8560;return(_0x2a8560=(_0x1cd4da=(_0x3d9ef9=this[_0x277e4d(0xf3)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1cd4da[_0x277e4d(0x3c1)](_0x3d9ef9,_0x4a89d9))!=null?_0x2a8560:_0x4a89d9;}['_syncEditingCollabCursor'](_0x5039ba){var _0x25021e=_0x4a9ac9,_0x42b00c,_0x59ceac;if(this[_0x25021e(0x1ca)]===_0x5599c4[_0x25021e(0x120)]){const {unitID:_0x24afe5,mutations:_0xba6952,memberID:_0x499a56}=_0x5039ba,_0x4c7620=_0xba6952['length']>0x0?_0xba6952[0x0][_0x25021e(0x111)]['textRanges']:[];Array[_0x25021e(0x2aa)](_0x4c7620)&&_0x4c7620[_0x25021e(0x337)]>0x0&&((_0x59ceac=(_0x42b00c=this[_0x25021e(0xf3)])['onSyncEditingCollabCursor'])==null||_0x59ceac[_0x25021e(0x3c1)](_0x42b00c,{'unitID':_0x24afe5,'memberID':_0x499a56,'textRanges':_0x4c7620}));}}[_0x4a9ac9(0x25e)](){var _0x534c38=_0x4a9ac9,_0x55f6e3;(_0x55f6e3=this[_0x534c38(0xee)])==null||_0x55f6e3[_0x534c38(0x331)](this[_0x534c38(0x227)],this['type'],this['_awaitingChangeset'],this[_0x534c38(0x351)]);}[_0x4a9ac9(0x1d2)](){var _0x4d803b=_0x4a9ac9;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x4d803b(0x227)]);}[_0x4a9ac9(0x206)](){var _0x517b3e=_0x4a9ac9;this[_0x517b3e(0x355)]['incrementRevOfUnit'](this['unitID']);}[_0x4a9ac9(0x106)](_0x1761d5){var _0x20422c=_0x4a9ac9,_0xce6078;let _0x4e63bd=this['_transformRemoteChangesetByIMECache'](_0x1761d5);_0x4e63bd=this[_0x20422c(0x2e1)](_0x4e63bd);const _0x2e18d9=_0x414ab0['sequenceExecute'](_0x4e63bd[_0x20422c(0x1a1)],this['_commandService'],{'fromCollab':!0x0});if(!_0x2e18d9[_0x20422c(0x1aa)])throw _0x2e18d9[_0x20422c(0x2ad)]instanceof Error?_0x2e18d9['error']:new Error((_0xce6078=_0x2e18d9[_0x20422c(0x2ad)])!=null?_0xce6078:_0x20422c(0x1da));this[_0x20422c(0x2b6)](_0x4e63bd),this[_0x20422c(0x23d)](_0x4e63bd),this['_transformUndoredo'](_0x1761d5),this[_0x20422c(0x247)](_0x4e63bd),this[_0x20422c(0x418)](_0x4e63bd),this[_0x20422c(0x206)]();}}_0x4113be['SyncedState']=class extends _0x24b4fb{constructor(_0x160512,_0x3f9793,_0x3bdd60,_0x323f76,_0x328a5f,_0x567334,_0x2997cb,_0x529973,_0x4f0da9,_0x1d096a){var _0x4dba52=_0x4a9ac9;super(_0x160512,_0x3f9793,null,[],_0x3bdd60,_0x2997cb,_0x567334,_0x323f76,_0x1d096a),_0x213c49(this,_0x4dba52(0x215),'synced'),(this[_0x4dba52(0x18a)]=_0x328a5f,this[_0x4dba52(0x426)]=_0x529973,this[_0x4dba52(0x413)]=_0x4f0da9,this[_0x4dba52(0x135)]=_0x1d096a);}[_0x4a9ac9(0x123)](_0x3d4f88){var _0x3a85f4=_0x4a9ac9;const _0x3dc37b=this[_0x3a85f4(0x18a)][_0x3a85f4(0x3da)](_0x4113be[_0x3a85f4(0x3f8)],this[_0x3a85f4(0x227)],this[_0x3a85f4(0x1ca)],[_0x3d4f88],this[_0x3a85f4(0xf3)]);return _0x3dc37b['_schedule'](),_0x3dc37b[_0x3a85f4(0x25e)](),_0x3dc37b;}[_0x4a9ac9(0x326)](_0x4c496c){var _0x5d28d9=_0x4a9ac9;if(this[_0x5d28d9(0x3ec)](_0x4c496c))return this[_0x5d28d9(0x18a)]['createInstance'](_0x4113be[_0x5d28d9(0x3bd)],this['unitID'],this[_0x5d28d9(0x1ca)],null,[],null,[_0x4c496c],this[_0x5d28d9(0xf3)]);try{const _0x3631b8=this['_transformService'][_0x5d28d9(0x260)](_0x4c496c,[_0x19b128['EmptyMutationInfo']]);if(_0x19b128[_0x5d28d9(0x1a0)](_0x3631b8)){const {c1Prime:_0xeb8392}=_0x3631b8;return this[_0x5d28d9(0x106)](_0xeb8392),this;}throw _0x3631b8['error'];}catch(_0x3ad5da){return this['_logService'][_0x5d28d9(0x2ad)](_0x3ad5da),this[_0x5d28d9(0x31a)](!0x1);}}[_0x4a9ac9(0x31a)](_0x226c55){var _0x3235fe=_0x4a9ac9;return this[_0x3235fe(0x18a)][_0x3235fe(0x3da)](_0x4113be['ConflictState'],this[_0x3235fe(0x227)],this[_0x3235fe(0x1ca)],null,[],this['_handler'],_0x226c55);}[_0x4a9ac9(0x10f)](){var _0x36af1d=_0x4a9ac9;throw new Error(_0x36af1d(0x3b6));}[_0x4a9ac9(0x1a9)](){var _0x2f05e5=_0x4a9ac9;throw new Error(_0x2f05e5(0x1f7));}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){var _0x301d7a=_0x4a9ac9;return this['_injector'][_0x301d7a(0x3da)](_0x4113be[_0x301d7a(0x307)],this[_0x301d7a(0x227)],this[_0x301d7a(0x1ca)],null,[],this[_0x301d7a(0xf3)]);}[_0x4a9ac9(0x251)](){return this;}[_0x4a9ac9(0x341)](){var _0x35af37=_0x4a9ac9;throw new Error(_0x35af37(0x1e7));}[_0x4a9ac9(0x21a)](){var _0x35b612=_0x4a9ac9;const _0x30e947=this[_0x35b612(0x355)][_0x35b612(0x2ea)](this[_0x35b612(0x227)]);return this[_0x35b612(0xf3)][_0x35b612(0x41e)]({'from':_0x30e947,'to':0x0}),this[_0x35b612(0x18a)][_0x35b612(0x3da)](_0x4113be[_0x35b612(0x3bd)],this[_0x35b612(0x227)],this[_0x35b612(0x1ca)],null,[],null,[],this[_0x35b612(0xf3)]);}},_0x4113be[_0x4a9ac9(0x45a)]=_0x17135f([_0x1af1cc(0x3,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1af1cc(0x5,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x1af1cc(0x8,_0x19b128['ITransformService']),_0x1af1cc(0x9,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x45a)]),_0x4113be['PendingState']=class extends _0x24b4fb{constructor(_0x13414c,_0x242d0e,_0x6b4d10,_0x363e8d,_0x20549c,_0x929767,_0x404c49,_0x5861ca,_0x42c3ac,_0x1dbcd4,_0x42cce4,_0x58e91c,_0x184a47,_0x2a4336){var _0x1c808b=_0x4a9ac9;super(_0x13414c,_0x242d0e,null,_0x6b4d10,_0x363e8d,_0x42c3ac,_0x184a47,_0x929767,_0x2a4336),_0x213c49(this,_0x1c808b(0x215),_0x1c808b(0x376)),_0x213c49(this,'_scheduleCompleteTimestamp',null),_0x213c49(this,'_sendingTimer',null),(this['_injector']=_0x20549c,this[_0x1c808b(0xea)]=_0x404c49,this['_logService']=_0x5861ca,this[_0x1c808b(0x14e)]=_0x1dbcd4,this[_0x1c808b(0x413)]=_0x42cce4,this[_0x1c808b(0x3bf)]=_0x58e91c);}['appendMutation'](_0x2662f4){var _0x74a658=_0x4a9ac9;return this[_0x74a658(0x351)]['push'](_0x2662f4),this[_0x74a658(0x25e)](),this;}['onRemoteChangeset'](_0x4757d2){var _0x1218ed=_0x4a9ac9;if(this[_0x1218ed(0x3ec)](_0x4757d2))return this[_0x1218ed(0x105)](),this[_0x1218ed(0x18a)][_0x1218ed(0x3da)](_0x4113be[_0x1218ed(0x3bd)],this['unitID'],this['type'],null,this[_0x1218ed(0x351)],null,[_0x4757d2],this[_0x1218ed(0xf3)]);try{const _0x387f50=this[_0x1218ed(0x413)][_0x1218ed(0x260)](_0x4757d2,this[_0x1218ed(0x351)]);if(_0x19b128[_0x1218ed(0x1a0)](_0x387f50)){const {c1Prime:_0x4fdb80,m2Prime:_0x33207d}=_0x387f50;this['_executeRemoteChangeset'](_0x4fdb80);const _0x5ea8ee=this['_injector']['createInstance'](_0x4113be[_0x1218ed(0x3f8)],this[_0x1218ed(0x227)],this[_0x1218ed(0x1ca)],_0x33207d,this['_handler']);this[_0x1218ed(0x105)]();const _0x552149=new Date()['getTime'](),_0x4af9a7=this[_0x1218ed(0x31d)]?Math[_0x1218ed(0x1f3)](this[_0x1218ed(0x31d)]-_0x552149,0x0):this['_getSendChangesetTimeout']();return _0x5ea8ee[_0x1218ed(0x175)](_0x4af9a7),_0x5ea8ee;}throw _0x387f50[_0x1218ed(0x2ad)];}catch(_0xb03726){return this[_0x1218ed(0x426)][_0x1218ed(0x2ad)](_0xb03726),this[_0x1218ed(0x31a)](!0x1);}}[_0x4a9ac9(0x10f)](){var _0x1bcdb3=_0x4a9ac9;throw new Error(_0x1bcdb3(0x164));}[_0x4a9ac9(0x1a9)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){var _0x3ab47c=_0x4a9ac9;return this['_clearScheduledTask'](),this[_0x3ab47c(0x18a)]['createInstance'](_0x4113be['OfflineState'],this[_0x3ab47c(0x227)],this[_0x3ab47c(0x1ca)],null,this[_0x3ab47c(0x351)],this[_0x3ab47c(0xf3)]);}[_0x4a9ac9(0x251)](){return this;}[_0x4a9ac9(0x175)](_0x16e0f0){var _0x4228ea=_0x4a9ac9;const _0x5af507=_0x16e0f0!=null?_0x16e0f0:this[_0x4228ea(0x32a)]();this[_0x4228ea(0x31d)]=new Date()['getTime']()+_0x5af507,this[_0x4228ea(0x12c)]=setTimeout(()=>{var _0x1df6fb=_0x4228ea;this[_0x1df6fb(0x105)]();let _0x188b5d=null;switch(this[_0x1df6fb(0x1ca)]){case _0x5599c4[_0x1df6fb(0x429)]:{_0x188b5d=_0x35ea1c(this[_0x1df6fb(0x351)],this[_0x1df6fb(0x227)],this[_0x1df6fb(0x3bf)],this[_0x1df6fb(0x355)],this[_0x1df6fb(0xea)]);break;}case _0x5599c4[_0x1df6fb(0x120)]:{this[_0x1df6fb(0x351)][_0x1df6fb(0x2f1)](_0x2f18a7=>_0x2f18a7['id']===_0x33516d[_0x1df6fb(0x28f)]['id'])?_0x188b5d=_0x1fd6f4(this[_0x1df6fb(0x351)],this[_0x1df6fb(0x227)],this[_0x1df6fb(0x3bf)],this['_revisionService'],this['_memberService']):_0x188b5d=_0x35ea1c(this['_pendingMutations'],this[_0x1df6fb(0x227)],this['_univerInstanceService'],this[_0x1df6fb(0x355)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x1df6fb(0x1ca)]+'\x20in\x20_schedule.');}const {changeset:_0x1c094d,pendingMutations:_0x7056ef}=_0x188b5d;this[_0x1df6fb(0xf3)][_0x1df6fb(0x2f7)](_0x1c094d);const _0x38c949=_0x7056ef[_0x1df6fb(0x337)]?this[_0x1df6fb(0x18a)][_0x1df6fb(0x3da)](_0x4113be[_0x1df6fb(0x34e)],this[_0x1df6fb(0x227)],this[_0x1df6fb(0x1ca)],_0x1c094d,_0x7056ef,this['_handler'],void 0x0):this[_0x1df6fb(0x18a)]['createInstance'](_0x4113be[_0x1df6fb(0x2f0)],this['unitID'],this[_0x1df6fb(0x1ca)],_0x1c094d,this[_0x1df6fb(0xf3)]);_0x38c949[_0x1df6fb(0x25e)](),this[_0x1df6fb(0xf3)][_0x1df6fb(0x2af)](this,_0x38c949);},_0x5af507);}[_0x4a9ac9(0x32a)](){var _0x4b3e27=_0x4a9ac9,_0x3221fe;const _0x30059f=this['_configService'][_0x4b3e27(0xfb)](_0xfa3b98);return(_0x3221fe=_0x30059f==null?void 0x0:_0x30059f[_0x4b3e27(0x261)])!=null?_0x3221fe:0x7d0;}[_0x4a9ac9(0x341)](){var _0x2e0b50=_0x4a9ac9;throw new Error(_0x2e0b50(0x435));}['_clearScheduledTask'](){var _0x4fc870=_0x4a9ac9;this['_sendingTimer']!=null&&(clearTimeout(this[_0x4fc870(0x12c)]),this[_0x4fc870(0x12c)]=null);}[_0x4a9ac9(0x31a)](_0x8cff7d){var _0x40e0ba=_0x4a9ac9;return this['_clearScheduledTask'](),this[_0x40e0ba(0x18a)][_0x40e0ba(0x3da)](_0x4113be[_0x40e0ba(0x3c5)],this[_0x40e0ba(0x227)],this[_0x40e0ba(0x1ca)],null,this['_pendingMutations'],this[_0x40e0ba(0xf3)],_0x8cff7d);}},_0x4113be[_0x4a9ac9(0x3f8)]=_0x17135f([_0x1af1cc(0x4,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1af1cc(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x4113be[_0x4a9ac9(0x295)])),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x9,_0x414ab0['IConfigService']),_0x1af1cc(0xa,_0x19b128[_0x4a9ac9(0x2c6)]),_0x1af1cc(0xb,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x1af1cc(0xc,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0xd,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x3f8)]),_0x4113be['AwaitingState']=class extends _0x24b4fb{constructor(_0x13f41b,_0x49fc0b,_0x43aa0f,_0x3f5390,_0x5b0a1f,_0x23db7e,_0x3f0758,_0x5bd8f0,_0x112ffb,_0x4f2844,_0x474a67){var _0x38fb23=_0x4a9ac9;super(_0x13f41b,_0x49fc0b,_0x43aa0f,[],_0x3f5390,_0x3f0758,_0x4f2844,_0x23db7e,_0x474a67),_0x213c49(this,_0x38fb23(0x215),_0x38fb23(0x141)),_0x213c49(this,_0x38fb23(0x335),0x0),_0x213c49(this,_0x38fb23(0x241),0x0),_0x213c49(this,_0x38fb23(0x202)),_0x213c49(this,'_sender'),(this[_0x38fb23(0x18a)]=_0x5b0a1f,this[_0x38fb23(0x426)]=_0x5bd8f0,this['_transformService']=_0x112ffb);}[_0x4a9ac9(0x123)](_0x39e19b){var _0xa268e0=_0x4a9ac9;this[_0xa268e0(0x105)]();const _0x148155=this['_injector'][_0xa268e0(0x3da)](_0x4113be[_0xa268e0(0x34e)],this['unitID'],this['type'],this[_0xa268e0(0x11c)],[_0x39e19b],this[_0xa268e0(0xf3)],this[_0xa268e0(0x202)]);return _0x148155[_0xa268e0(0x25e)](),_0x148155;}[_0x4a9ac9(0x326)](_0x4bd1f9){var _0x271574=_0x4a9ac9;if(this[_0x271574(0x3ec)](_0x4bd1f9))return this[_0x271574(0x105)](),this[_0x271574(0x18a)]['createInstance'](_0x4113be[_0x271574(0x3bd)],this['unitID'],this[_0x271574(0x1ca)],this['_awaitingChangeset'],[],null,[_0x4bd1f9],this[_0x271574(0xf3)]);try{const _0x250a32=this[_0x271574(0x413)][_0x271574(0x383)]([_0x4bd1f9],[this[_0x271574(0x11c)]],!0x1);if(_0x19b128[_0x271574(0x173)](_0x250a32)){const {c1Prime:_0x203ce4,c2Prime:_0x2d6921}=_0x250a32;this[_0x271574(0x106)](_0x203ce4[0x0]),_0x2d6921[0x0][_0x271574(0xce)]=this['_getCurrentRevision'](),this[_0x271574(0x105)]();const _0x1802bf=this[_0x271574(0x18a)][_0x271574(0x3da)](_0x4113be[_0x271574(0x2f0)],this[_0x271574(0x227)],this['type'],_0x2d6921[0x0],this[_0x271574(0xf3)]);return _0x1802bf['_updateLocalCache'](),_0x1802bf;}return this[_0x271574(0x31a)](!0x1);}catch(_0x3c2ea4){return this[_0x271574(0x426)][_0x271574(0x2ad)](_0x3c2ea4),this[_0x271574(0x31a)](!0x1);}}[_0x4a9ac9(0x10f)](_0xf0480c){var _0x4595d2=_0x4a9ac9;this['_clearScheduledTask']();const _0x57388e=this[_0x4595d2(0x355)][_0x4595d2(0x2ea)](this[_0x4595d2(0x227)]);if(_0xf0480c[_0x4595d2(0x249)]<_0x57388e-0x1)return this;if(this[_0x4595d2(0x3ec)](_0xf0480c))return this[_0x4595d2(0x18a)][_0x4595d2(0x3da)](_0x4113be['FetchingMissState'],this['unitID'],this[_0x4595d2(0x1ca)],null,[],this[_0x4595d2(0x11c)],[],this[_0x4595d2(0xf3)]);this[_0x4595d2(0x206)]();const _0x2081c8=this[_0x4595d2(0x18a)][_0x4595d2(0x3da)](_0x4113be['SyncedState'],this[_0x4595d2(0x227)],this['type'],this[_0x4595d2(0xf3)]);return _0x2081c8[_0x4595d2(0x25e)](),_0x2081c8;}[_0x4a9ac9(0x1a9)](_0x3113b3){var _0x2989ad=_0x4a9ac9;return this[_0x2989ad(0x31a)](!!(_0x3113b3!=null&&_0x3113b3[_0x2989ad(0x296)]));}['onRemoteRetry'](_0x2109a5){var _0x26f1be=_0x4a9ac9;return this[_0x26f1be(0x241)]>_0x29f7bc?this[_0x26f1be(0x217)]():(this[_0x26f1be(0x202)]=_0x5efdb(this[_0x26f1be(0x335)],{'timeout':this['_resendTimeout'],'reqId':_0x2109a5[_0x26f1be(0x3c0)]}),this[_0x26f1be(0x2c1)]=this[_0x26f1be(0x202)][_0x26f1be(0x32f)](({reqId:_0x2f1a7c,timeout:_0x360703})=>{this['_resendWithTimeout'](_0x2f1a7c,_0x360703);}),this);}[_0x4a9ac9(0x217)](){var _0x14558b=_0x4a9ac9;return this[_0x14558b(0x105)](),this[_0x14558b(0x18a)][_0x14558b(0x3da)](_0x4113be[_0x14558b(0x307)],this['unitID'],this[_0x14558b(0x1ca)],this['_awaitingChangeset'],[],this[_0x14558b(0xf3)]);}['toggleOnline'](){return this;}['resend'](){var _0x2d1e79=_0x4a9ac9;this[_0x2d1e79(0xf3)][_0x2d1e79(0x2f7)](this['_awaitingChangeset']);}['_onConflict'](_0x58667b){var _0x18f097=_0x4a9ac9;return this[_0x18f097(0x105)](),this[_0x18f097(0x18a)][_0x18f097(0x3da)](_0x4113be['ConflictState'],this[_0x18f097(0x227)],this[_0x18f097(0x1ca)],this[_0x18f097(0x11c)],[],this['_handler'],_0x58667b);}[_0x4a9ac9(0x382)](_0x25f0f7,_0x16e368){var _0x480af4=_0x4a9ac9,_0x436c54;_0x25f0f7===((_0x436c54=this[_0x480af4(0x11c)])==null?void 0x0:_0x436c54[_0x480af4(0x3c0)])&&(this['resend'](),this[_0x480af4(0x335)]=_0x16e368===0x0?0x3e8:Math[_0x480af4(0x35c)](_0x16e368*0x2,_0x1f4f9b),this[_0x480af4(0x241)]+=this[_0x480af4(0x335)]);}['_clearScheduledTask'](){var _0x4ef883=_0x4a9ac9,_0x1f8546;(_0x1f8546=this[_0x4ef883(0x2c1)])==null||_0x1f8546[_0x4ef883(0x23e)](),this[_0x4ef883(0x335)]=0x0,this[_0x4ef883(0x241)]=0x0;}},_0x4113be[_0x4a9ac9(0x2f0)]=_0x17135f([_0x1af1cc(0x4,_0x414ab0['Inject'](_0x414ab0['Injector'])),_0x1af1cc(0x5,_0x414ab0['Inject'](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x1af1cc(0x8,_0x19b128['ITransformService']),_0x1af1cc(0x9,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0xa,_0x414ab0['Optional'](_0x364389))],_0x4113be['AwaitingState']),_0x4113be['AwaitingWithPendingState']=class extends _0x24b4fb{constructor(_0x413660,_0x5b6945,_0x381424,_0x50082b,_0xc4de1a,_0x4e7d25,_0x54f121,_0x20ccba,_0x290aed,_0x20d205,_0x372a70,_0x45af16,_0x1751f3){var _0x1c6c89=_0x4a9ac9;super(_0x413660,_0x5b6945,_0x381424,_0x50082b,_0xc4de1a,_0x290aed,_0x45af16,_0x20ccba,_0x1751f3),_0x213c49(this,_0x1c6c89(0x215),_0x1c6c89(0x457)),_0x213c49(this,_0x1c6c89(0x335),0x0),_0x213c49(this,_0x1c6c89(0x241),0x0),_0x213c49(this,_0x1c6c89(0x202)),_0x213c49(this,_0x1c6c89(0x2c1)),(this['_injector']=_0x54f121,this[_0x1c6c89(0x426)]=_0x20d205,this[_0x1c6c89(0x413)]=_0x372a70,this[_0x1c6c89(0x135)]=_0x1751f3,_0x4e7d25&&(this[_0x1c6c89(0x202)]=_0x4e7d25,this['_sender']=this[_0x1c6c89(0x202)][_0x1c6c89(0x32f)](({reqId:_0x53b713,timeout:_0x3bd975})=>{var _0x327f47=_0x1c6c89;this[_0x327f47(0x382)](_0x53b713,_0x3bd975);})));}['appendMutation'](_0x3b0a1a){var _0x5e1971=_0x4a9ac9;return this[_0x5e1971(0x351)]['push'](_0x3b0a1a),this;}[_0x4a9ac9(0x326)](_0x48588e){var _0x1efe61=_0x4a9ac9;if(this[_0x1efe61(0x3ec)](_0x48588e))return this['_clearScheduledTask'](),this[_0x1efe61(0x18a)][_0x1efe61(0x3da)](_0x4113be[_0x1efe61(0x3bd)],this[_0x1efe61(0x227)],this[_0x1efe61(0x1ca)],this[_0x1efe61(0x11c)],this[_0x1efe61(0x351)],null,[_0x48588e],this[_0x1efe61(0xf3)]);try{const _0x321e46=this['_transformService'][_0x1efe61(0x383)]([_0x48588e],[this['_awaitingChangeset']],!0x1);if(_0x19b128[_0x1efe61(0x173)](_0x321e46)){const {c1Prime:_0x347981,c2Prime:_0x32236d}=_0x321e46,_0x49c0a4=this[_0x1efe61(0x413)][_0x1efe61(0x260)](_0x347981[0x0],this[_0x1efe61(0x351)]);if(_0x19b128[_0x1efe61(0x1a0)](_0x49c0a4)){const {c1Prime:_0x53545b,m2Prime:_0x4a81ba}=_0x49c0a4;return this[_0x1efe61(0x106)](_0x53545b),_0x32236d[0x0][_0x1efe61(0xce)]=this[_0x1efe61(0x1d2)](),this[_0x1efe61(0x105)](),this['_injector'][_0x1efe61(0x3da)](_0x4113be[_0x1efe61(0x34e)],this[_0x1efe61(0x227)],this[_0x1efe61(0x1ca)],_0x32236d[0x0],_0x4a81ba,this[_0x1efe61(0xf3)],void 0x0);}throw _0x49c0a4['error'];}throw _0x321e46['error'];}catch(_0x547646){return this[_0x1efe61(0x426)][_0x1efe61(0x2ad)](_0x547646),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1aa109){var _0x3a8e6c=_0x4a9ac9;if(this['_clearScheduledTask'](),this[_0x3a8e6c(0x3ec)](_0x1aa109))return this['_injector'][_0x3a8e6c(0x3da)](_0x4113be[_0x3a8e6c(0x3bd)],this[_0x3a8e6c(0x227)],this['type'],null,this['_pendingMutations'],this[_0x3a8e6c(0x11c)],[],this[_0x3a8e6c(0xf3)]);this[_0x3a8e6c(0x206)]();const _0x3fd1f5=this[_0x3a8e6c(0x18a)][_0x3a8e6c(0x3da)](_0x4113be['PendingState'],this[_0x3a8e6c(0x227)],this[_0x3a8e6c(0x1ca)],this['_pendingMutations'],this[_0x3a8e6c(0xf3)]);return _0x3fd1f5[_0x3a8e6c(0x175)](),_0x3fd1f5[_0x3a8e6c(0x25e)](),_0x3fd1f5;}[_0x4a9ac9(0x1a9)](_0x5c0f7d){var _0x9a43f6=_0x4a9ac9;return this['_onConflict'](!!(_0x5c0f7d!=null&&_0x5c0f7d[_0x9a43f6(0x296)]));}[_0x4a9ac9(0xfe)](_0x16feac){var _0x106539=_0x4a9ac9;return this[_0x106539(0x241)]>_0x29f7bc?this[_0x106539(0x217)]():(this[_0x106539(0x202)]=_0x5efdb(this[_0x106539(0x335)],{'timeout':this['_resendTimeout'],'reqId':_0x16feac[_0x106539(0x3c0)]}),this[_0x106539(0x2c1)]=this[_0x106539(0x202)][_0x106539(0x32f)](({reqId:_0x366962,timeout:_0x4e89dd})=>{var _0x201a59=_0x106539;this[_0x201a59(0x382)](_0x366962,_0x4e89dd);}),this);}['toggleOffline'](){var _0x1a5531=_0x4a9ac9;return this[_0x1a5531(0x105)](),this[_0x1a5531(0x18a)][_0x1a5531(0x3da)](_0x4113be[_0x1a5531(0x307)],this[_0x1a5531(0x227)],this[_0x1a5531(0x1ca)],this['_awaitingChangeset'],this[_0x1a5531(0x351)],this[_0x1a5531(0xf3)]);}[_0x4a9ac9(0x251)](){return this;}['resend'](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x29c398){var _0x391809=_0x4a9ac9;return this[_0x391809(0x105)](),this['_injector'][_0x391809(0x3da)](_0x4113be[_0x391809(0x3c5)],this['unitID'],this[_0x391809(0x1ca)],null,this[_0x391809(0x351)],this[_0x391809(0xf3)],_0x29c398);}['_resendWithTimeout'](_0x51324b,_0x21b94c){var _0x20d059=_0x4a9ac9,_0x243383;_0x51324b===((_0x243383=this[_0x20d059(0x11c)])==null?void 0x0:_0x243383['reqId'])&&(this[_0x20d059(0x341)](),this[_0x20d059(0x335)]=_0x21b94c===0x0?0x3e8:Math['min'](_0x21b94c*0x2,_0x1f4f9b),this[_0x20d059(0x241)]+=this[_0x20d059(0x335)]);}[_0x4a9ac9(0x105)](){var _0x33cf20=_0x4a9ac9,_0x208be4;(_0x208be4=this[_0x33cf20(0x2c1)])==null||_0x208be4['unsubscribe'](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x4113be['AwaitingWithPendingState']=_0x17135f([_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0['Injector'])),_0x1af1cc(0x7,_0x414ab0['Inject'](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x9,_0x414ab0['ILogService']),_0x1af1cc(0xa,_0x19b128['ITransformService']),_0x1af1cc(0xb,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0xc,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x34e)]),_0x4113be[_0x4a9ac9(0x3c5)]=class extends _0x24b4fb{constructor(_0x81fa71,_0x209358,_0x22b478,_0x197e73,_0x6fddc2,_0x5478fa=!0x1,_0xcc6ae2,_0x763a7e,_0x1918b5,_0x2913f1,_0x2683b2,_0x2cff02,_0x11745c){var _0x51c83c=_0x4a9ac9;super(_0x81fa71,_0x209358,_0x22b478,_0x197e73,_0x6fddc2,_0x763a7e,_0x1918b5,_0x2913f1,_0x11745c),_0x213c49(this,_0x51c83c(0x215),_0x51c83c(0x216)),(this[_0x51c83c(0x3df)]=_0x5478fa,this[_0x51c83c(0x38d)]=_0xcc6ae2,this[_0x51c83c(0x151)]=_0x2683b2,this[_0x51c83c(0x167)]=_0x2cff02,this[_0x51c83c(0x135)]=_0x11745c,this[_0x51c83c(0x24c)](),this[_0x51c83c(0x124)](),this[_0x51c83c(0x156)]());}[_0x4a9ac9(0x123)](){return this;}['onRemoteChangeset'](){return this;}[_0x4a9ac9(0x10f)](){return this;}[_0x4a9ac9(0x1a9)](){return this;}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){return this;}['toggleOnline'](){return this;}[_0x4a9ac9(0x341)](){var _0x1fe0e6=_0x4a9ac9;throw new Error(_0x1fe0e6(0x281));}[_0x4a9ac9(0x124)](){var _0x1dac1b=_0x4a9ac9,_0x336d34;(_0x336d34=this[_0x1dac1b(0xee)])==null||_0x336d34['updateOfflineData'](this[_0x1dac1b(0x227)],this['type'],null,[]);}['_showConflictNotification'](){var _0x2658b6=_0x4a9ac9;this['_isPermissionRej']?this[_0x2658b6(0x167)][_0x2658b6(0x3f6)]({'id':_0x51d7a4[_0x2658b6(0x226)]}):this['_collaborationUIEventService']['emitEvent']({'id':_0x51d7a4[_0x2658b6(0x1c3)]});}[_0x4a9ac9(0x156)](){var _0x16210a=_0x4a9ac9;this[_0x16210a(0x38d)][_0x16210a(0x23b)](new _0x19c319['WorkbookEditablePermission'](this[_0x16210a(0x227)])['id'],!0x1);}},_0x4113be[_0x4a9ac9(0x3c5)]=_0x17135f([_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x43c)])),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0x9,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0xa,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)])),_0x1af1cc(0xb,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x1af1cc(0xc,_0x414ab0['Optional'](_0x364389))],_0x4113be['ConflictState']),_0x4113be['OfflineState']=class extends _0x24b4fb{constructor(_0x28398c,_0xfaba12,_0xa7eecb,_0x1bd6a0,_0x536b1a,_0x52d90a,_0x3ccf01,_0x7985e1,_0x5c4a2f,_0x4ac768){var _0x5e2227=_0x4a9ac9;super(_0x28398c,_0xfaba12,_0xa7eecb,_0x1bd6a0,_0x536b1a,_0x7985e1,_0x5c4a2f,_0x3ccf01,_0x4ac768),_0x213c49(this,'status',_0x5e2227(0x25c)),this[_0x5e2227(0x18a)]=_0x52d90a;}[_0x4a9ac9(0x123)](_0x5299da){var _0x4e1de9=_0x4a9ac9;return this[_0x4e1de9(0x351)][_0x4e1de9(0x350)](_0x5299da),this['_updateLocalCache'](),this;}[_0x4a9ac9(0x326)](_0x58c2a5){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x2eecd8=_0x4a9ac9;throw new Error(_0x2eecd8(0x414));}[_0x4a9ac9(0x1a9)](){var _0x406483=_0x4a9ac9;throw new Error(_0x406483(0x1de));}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){return this;}[_0x4a9ac9(0x251)](){var _0x3261c1=_0x4a9ac9;const {_injector:_0x4f850e,_pendingMutations:_0x5003ab,_awaitingChangeset:_0x411784,unitID:_0x179960,_handler:_0x438f64,type:_0x2ca498}=this,_0x384eaa=_0x1ccfb1(_0x4f850e,_0x179960,_0x2ca498,_0x411784,_0x5003ab,_0x438f64);return _0x384eaa instanceof _0x4113be[_0x3261c1(0x3f8)]?_0x384eaa[_0x3261c1(0x175)]():(_0x384eaa instanceof _0x4113be['AwaitingWithPendingState']||_0x384eaa instanceof _0x4113be[_0x3261c1(0x2f0)])&&_0x384eaa[_0x3261c1(0x341)](),_0x384eaa;}[_0x4a9ac9(0x341)](){var _0x12a7c1=_0x4a9ac9;throw new Error(_0x12a7c1(0x168));}},_0x4113be[_0x4a9ac9(0x307)]=_0x17135f([_0x1af1cc(0x5,_0x414ab0['Inject'](_0x414ab0['Injector'])),_0x1af1cc(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x11b)]),_0x1af1cc(0x9,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be['OfflineState']),_0x4113be[_0x4a9ac9(0x3bd)]=class extends _0x24b4fb{constructor(_0x5a179f,_0x12c568,_0x2fb372,_0x5bf081,_0x2cefbb,_0xe94c91,_0x2d485e,_0x2e6f32,_0x55310,_0x1b508d,_0xfd323b,_0x28881b,_0xe06046,_0x4c21be){var _0x198ed2=_0x4a9ac9;super(_0x5a179f,_0x12c568,_0x2fb372,_0x5bf081,_0x2d485e,_0xfd323b,_0x28881b,_0x55310,_0x4c21be),_0x213c49(this,'status',_0x198ed2(0x252)),(this[_0x198ed2(0x392)]=_0x2cefbb,this[_0x198ed2(0x365)]=_0xe94c91,this['_injector']=_0x2e6f32,this[_0x198ed2(0x426)]=_0x1b508d,this[_0x198ed2(0x413)]=_0xe06046,this['localCacheService']=_0x4c21be);}['onMissedChangesetFetched'](_0x4b9b17){var _0x206ce5=_0x4a9ac9;try{const _0x300741=[..._0x4b9b17,...this[_0x206ce5(0x365)]],_0x45614e=[this['_awaitingChangeset']||this[_0x206ce5(0x392)]][_0x206ce5(0xef)](_0x5dacf2=>!!_0x5dacf2);let _0x2f2d2c,_0x24b9ac;if(_0x45614e['length']){const _0x226779=this[_0x206ce5(0x413)]['transformChangesets'](_0x300741,_0x45614e,!0x1);if(!_0x19b128[_0x206ce5(0x173)](_0x226779))throw _0x226779[_0x206ce5(0x2ad)];_0x2f2d2c=_0x226779[_0x206ce5(0x2cb)],_0x24b9ac=_0x226779['c2Prime'];}else _0x2f2d2c=_0x300741,_0x24b9ac=[];let _0xacabe0=this['_pendingMutations'];_0x2f2d2c[_0x206ce5(0x1d0)](_0x56d218=>{var _0x4cfb2b=_0x206ce5;let _0x1b814f;if(_0xacabe0[_0x4cfb2b(0x337)]){const _0x1267e7=this['_transformService'][_0x4cfb2b(0x260)](_0x56d218,_0xacabe0);if(!_0x19b128['isTransformMutationsWithChangesetSuccess'](_0x1267e7))throw _0x1267e7[_0x4cfb2b(0x2ad)];_0x1b814f=_0x1267e7[_0x4cfb2b(0x2cb)],_0xacabe0=_0x1267e7[_0x4cfb2b(0x347)];}else _0x1b814f=_0x56d218;this[_0x4cfb2b(0x106)](_0x1b814f);}),this['_acknowledgedAwaitingChangeset']&&this[_0x206ce5(0x206)](),this[_0x206ce5(0x11c)]&&_0x24b9ac[_0x206ce5(0x337)]&&(_0x24b9ac[0x0][_0x206ce5(0xce)]=this['_getCurrentRevision']());let _0x53c088;if(this['_awaitingChangeset']&&_0xacabe0[_0x206ce5(0x337)]!==0x0)_0x53c088=this['_injector'][_0x206ce5(0x3da)](_0x4113be['AwaitingWithPendingState'],this['unitID'],this[_0x206ce5(0x1ca)],_0x24b9ac[0x0],_0xacabe0,this[_0x206ce5(0xf3)],void 0x0);else{if(this[_0x206ce5(0x11c)]&&_0xacabe0['length']===0x0)_0x24b9ac[0x0]['baseRev']=this[_0x206ce5(0x1d2)](),_0x53c088=this['_injector']['createInstance'](_0x4113be[_0x206ce5(0x2f0)],this['unitID'],this['type'],_0x24b9ac[0x0],this[_0x206ce5(0xf3)]);else{if(_0xacabe0[_0x206ce5(0x337)]!==0x0){const _0x22454b=this[_0x206ce5(0x18a)][_0x206ce5(0x3da)](_0x4113be['PendingState'],this['unitID'],this[_0x206ce5(0x1ca)],_0xacabe0,this[_0x206ce5(0xf3)]);_0x22454b[_0x206ce5(0x175)](),_0x53c088=_0x22454b;}else _0x53c088=this['_injector'][_0x206ce5(0x3da)](_0x4113be['SyncedState'],this['unitID'],this[_0x206ce5(0x1ca)],this['_handler']);}}return _0x53c088[_0x206ce5(0x25e)](),_0x53c088;}catch(_0x17fa6b){return this['_logService'][_0x206ce5(0x2ad)]('[FetchMissState]',_0x206ce5(0x1d8),_0x17fa6b),this[_0x206ce5(0x18a)][_0x206ce5(0x3da)](_0x4113be[_0x206ce5(0x3c5)],this[_0x206ce5(0x227)],this[_0x206ce5(0x1ca)],this[_0x206ce5(0x11c)],this['_pendingMutations'],this[_0x206ce5(0xf3)],!0x1);}}[_0x4a9ac9(0x341)](){var _0x167a56=_0x4a9ac9;throw new Error(_0x167a56(0x2ab));}[_0x4a9ac9(0x123)](_0x257f8d){var _0x1967a5=_0x4a9ac9;return this[_0x1967a5(0x351)]['push'](_0x257f8d),this;}[_0x4a9ac9(0x326)](_0x153d69){return this['_queuedRemoteChangesets']['push'](_0x153d69),this;}[_0x4a9ac9(0x10f)](_0x17451d){var _0x10af21=_0x4a9ac9;if(this['_awaitingChangeset'])return this[_0x10af21(0x392)]=this[_0x10af21(0x11c)],this[_0x10af21(0x11c)]=null,this;throw new Error(_0x10af21(0x3f2));}[_0x4a9ac9(0x1a9)](_0x140ec9){var _0x4d3b64=_0x4a9ac9;return this[_0x4d3b64(0x31a)](!!(_0x140ec9!=null&&_0x140ec9[_0x4d3b64(0x296)]));}[_0x4a9ac9(0xfe)](){return this;}[_0x4a9ac9(0x217)](){var _0x4d91df=_0x4a9ac9;return this[_0x4d91df(0x18a)]['createInstance'](_0x4113be[_0x4d91df(0x307)],this[_0x4d91df(0x227)],this[_0x4d91df(0x1ca)],this[_0x4d91df(0x11c)],this[_0x4d91df(0x351)],this[_0x4d91df(0xf3)]);}[_0x4a9ac9(0x251)](){return this;}['_onConflict'](_0x320ceb){var _0x12accc=_0x4a9ac9;return this[_0x12accc(0x18a)][_0x12accc(0x3da)](_0x4113be[_0x12accc(0x3c5)],this[_0x12accc(0x227)],this[_0x12accc(0x1ca)],this[_0x12accc(0x11c)],this['_pendingMutations'],this['_handler'],_0x320ceb);}},_0x4113be[_0x4a9ac9(0x3bd)]=_0x17135f([_0x1af1cc(0x7,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1af1cc(0x8,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x1af1cc(0x9,_0x414ab0['ILogService']),_0x1af1cc(0xa,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x1af1cc(0xb,_0x414ab0['IUndoRedoService']),_0x1af1cc(0xc,_0x19b128['ITransformService']),_0x1af1cc(0xd,_0x414ab0['Optional'](_0x364389))],_0x4113be[_0x4a9ac9(0x3bd)]);function _0x1ccfb1(_0x2baa72,_0x57e8d5,_0x9a179b,_0x7e7508,_0x45bb7e,_0x4d9f25){var _0x5daf54=_0x4a9ac9;return _0x7e7508&&_0x45bb7e[_0x5daf54(0x337)]?_0x2baa72[_0x5daf54(0x3da)](_0x4113be[_0x5daf54(0x34e)],_0x57e8d5,_0x9a179b,_0x7e7508,_0x45bb7e,_0x4d9f25,void 0x0):_0x7e7508?_0x2baa72[_0x5daf54(0x3da)](_0x4113be[_0x5daf54(0x2f0)],_0x57e8d5,_0x9a179b,_0x7e7508,_0x4d9f25):_0x45bb7e[_0x5daf54(0x337)]?_0x2baa72['createInstance'](_0x4113be['PendingState'],_0x57e8d5,_0x9a179b,_0x45bb7e,_0x4d9f25):_0x2baa72[_0x5daf54(0x3da)](_0x4113be[_0x5daf54(0x45a)],_0x57e8d5,_0x9a179b,_0x4d9f25);}var _0x380431=Object[_0x4a9ac9(0xf9)],_0x3086fd=(_0x1ac048,_0x19e884,_0x3e51c3,_0x15b8f1)=>{var _0xbf1ad5=_0x4a9ac9;for(var _0x308265=_0x15b8f1>0x1?void 0x0:_0x15b8f1?_0x380431(_0x19e884,_0x3e51c3):_0x19e884,_0x2c9e26=_0x1ac048[_0xbf1ad5(0x337)]-0x1,_0xf2b271;_0x2c9e26>=0x0;_0x2c9e26--)(_0xf2b271=_0x1ac048[_0x2c9e26])&&(_0x308265=_0xf2b271(_0x308265)||_0x308265);return _0x308265;},_0x4e29d4=(_0x358f86,_0x3010ea)=>(_0xad47b6,_0x143302)=>_0x3010ea(_0xad47b6,_0x143302,_0x358f86);_0x4113be[_0x4a9ac9(0x27d)]=class extends _0x414ab0[_0x4a9ac9(0x2e8)]{constructor(_0x33f0b9,_0x66edf,_0x14d9f6,_0x43bb6e,_0x3fe3c9,_0x10cb61,_0x1d212f,_0x4f8c04,_0x40c1a8,_0x32559c,_0x221b45,_0x2be801,_0x41227b,_0x2da495){var _0x3bbd71=_0x4a9ac9;super(),_0x213c49(this,'_state$',new _0x5691e8['BehaviorSubject'](null)),_0x213c49(this,'state$',this[_0x3bbd71(0x400)][_0x3bbd71(0x3cf)]()),_0x213c49(this,_0x3bbd71(0x2fe)),_0x213c49(this,_0x3bbd71(0xd6),!0x1),_0x213c49(this,_0x3bbd71(0x45c),''),_0x213c49(this,_0x3bbd71(0x180),0x0),_0x213c49(this,_0x3bbd71(0x1ae),this[_0x3bbd71(0x3f7)][_0x3bbd71(0x282)](_0x5691e8[_0x3bbd71(0x45d)](_0x495b99=>_0x495b99?_0x495b99[_0x3bbd71(0x215)]:_0x70296d[_0x3bbd71(0x29f)]),_0x5691e8['shareReplay'](0x1))),_0x213c49(this,_0x3bbd71(0x3b7),!0x1),_0x213c49(this,_0x3bbd71(0x3d9),[]),(this['unitID']=_0x33f0b9,this[_0x3bbd71(0x3a9)]=_0x66edf,this[_0x3bbd71(0x285)]=_0x14d9f6,this['_injector']=_0x43bb6e,this[_0x3bbd71(0x177)]=_0x3fe3c9,this['_localeService']=_0x10cb61,this['_revisionService']=_0x1d212f,this[_0x3bbd71(0x172)]=_0x4f8c04,this[_0x3bbd71(0x3bf)]=_0x40c1a8,this[_0x3bbd71(0x426)]=_0x32559c,this['_commandService']=_0x221b45,this[_0x3bbd71(0x38d)]=_0x2be801,this[_0x3bbd71(0x3c3)]=_0x41227b,this[_0x3bbd71(0xee)]=_0x2da495);}get[_0x4a9ac9(0x22f)](){var _0x37f4ea=_0x4a9ac9;return this[_0x37f4ea(0x2fe)];}async[_0x4a9ac9(0x3d7)](){var _0x481dc5=_0x4a9ac9;if(this[_0x481dc5(0x22f)])throw new Error(_0x481dc5(0x132));await this['_init']();}[_0x4a9ac9(0x17c)](){var _0x172306=_0x4a9ac9;return this[_0x172306(0xd6)]=!0x0,_0x414ab0[_0x172306(0x3c4)](()=>{var _0x478f49=_0x172306;this[_0x478f49(0xd6)]=!0x1,this[_0x478f49(0x35f)]();});}[_0x4a9ac9(0x306)](_0x300a62){var _0x408778=_0x4a9ac9;this[_0x408778(0x3fe)](_0x300a62);}[_0x4a9ac9(0x3a2)](_0x1ffee3){var _0x4e3a19=_0x4a9ac9;this['_state']=_0x1ffee3,this[_0x4e3a19(0x400)][_0x4e3a19(0x2d0)](_0x1ffee3);}async[_0x4a9ac9(0x15d)](){var _0x3c694a=_0x4a9ac9,_0x316b7d;this[_0x3c694a(0x3a2)](await this[_0x3c694a(0x1b6)]()),this[_0x3c694a(0x3c3)]&&((_0x316b7d=this[_0x3c694a(0x3c3)])==null||_0x316b7d[_0x3c694a(0x169)](this[_0x3c694a(0x227)]),this[_0x3c694a(0x174)](this['_singleActiveUnitService'][_0x3c694a(0x284)](this[_0x3c694a(0x227)])[_0x3c694a(0x32f)](_0x148200=>{var _0x4b8ca7=_0x3c694a;this['_logService']['debug'](_0x4b8ca7(0x1bb),_0x4b8ca7(0x3f1),_0x148200),_0x148200===_0x39c98c['OTHER_CLIENTS_EDITING']?(this[_0x4b8ca7(0x172)]['emitEvent']({'id':_0x51d7a4[_0x4b8ca7(0x18f)]}),this['_permissionService']['updatePermissionPoint'](new _0x19c319['WorkbookEditablePermission'](this[_0x4b8ca7(0x227)])['id'],!0x1),this[_0x4b8ca7(0x38d)][_0x4b8ca7(0x39b)](!0x1)):(this[_0x4b8ca7(0x38d)][_0x4b8ca7(0x23b)](new _0x19c319[(_0x4b8ca7(0x415))](this[_0x4b8ca7(0x227)])['id'],!0x0),this[_0x4b8ca7(0x38d)][_0x4b8ca7(0x39b)](!0x0));})));let _0x3cddee=!0x1;return this[_0x3c694a(0x174)](this[_0x3c694a(0x3a9)][_0x3c694a(0xc8)][_0x3c694a(0x32f)](_0x4c9ac8=>{var _0x45a282=_0x3c694a;_0x4c9ac8===_0x38c5e4['ONLINE']?this[_0x45a282(0x199)](_0x3cddee):_0x4c9ac8===_0x38c5e4[_0x45a282(0x29f)]&&(_0x3cddee=!0x0,this[_0x45a282(0x41f)]());})),this[_0x3c694a(0x174)](this[_0x3c694a(0x3a9)][_0x3c694a(0x37f)][_0x3c694a(0x32f)](_0xe69888=>{var _0x59aba3=_0x3c694a;try{switch(_0xe69888['eventID']){case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x107)]:{this[_0x59aba3(0x368)](_0x19b128[_0x59aba3(0x2e6)](_0xe69888[_0x59aba3(0xc7)]));break;}case _0x19b128[_0x59aba3(0xd3)]['CHANGESET_ACK']:{this[_0x59aba3(0x16c)](_0xe69888[_0x59aba3(0xc7)]);break;}case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x276)]:{this['_onRemoteRejected']();break;}case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x3b8)]:{this[_0x59aba3(0x1bc)](_0xe69888[_0x59aba3(0xc7)]);break;}case _0x19b128['CollaborationEvent'][_0x59aba3(0x15a)]:{this['_onFetchMissResult'](_0xe69888['data'][_0x59aba3(0x45f)][_0x59aba3(0x45d)](_0x188703=>_0x19b128[_0x59aba3(0x2e6)](_0x188703)));break;}case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x2be)]:{this[_0x59aba3(0x1e5)]({'isPermissionRej':!0x0});break;}case _0x19b128[_0x59aba3(0xd3)][_0x59aba3(0x448)]:break;}}catch(_0x1d0cb0){throw console['error']('Error\x20on\x20receiving\x20event',_0x1d0cb0),_0x1d0cb0;}})),this[_0x3c694a(0x2fe)];}[_0x4a9ac9(0x322)](){var _0x4fb288=_0x4a9ac9;this[_0x4fb288(0x3b7)]=!0x1;}['_lockTransition'](){var _0x342376=_0x4a9ac9;if(this[_0x342376(0x3b7)])throw new Error(_0x342376(0xe1));this[_0x342376(0x3b7)]=!0x0;}[_0x4a9ac9(0x3fe)](_0xd7b8f5){var _0x224c53=_0x4a9ac9;this[_0x224c53(0x36a)](),this['_updateState'](this[_0x224c53(0x2fe)][_0x224c53(0x123)](_0xd7b8f5)),this[_0x224c53(0x322)]();}['_onRemoteChangeset'](_0xe89c08){var _0x35d185=_0x4a9ac9;if(!(_0xe89c08[_0x35d185(0x249)]<=this[_0x35d185(0x355)][_0x35d185(0x2ea)](this['unitID']))){if(this[_0x35d185(0xd6)]){this[_0x35d185(0x3d9)][_0x35d185(0x350)](_0xe89c08);return;}this['_applyRemoteChangeset'](_0xe89c08);}}[_0x4a9ac9(0x35f)](){var _0xc94068=_0x4a9ac9;this[_0xc94068(0x3d9)][_0xc94068(0x1d0)](_0x8d3aa4=>this[_0xc94068(0x30c)](_0x8d3aa4)),this[_0xc94068(0x3d9)]=[];}[_0x4a9ac9(0x30c)](_0x3b94b8){var _0x134fc3=_0x4a9ac9;const _0x49d237=this[_0x134fc3(0x177)][_0x134fc3(0x427)][_0x134fc3(0x25a)](this['_compressMutationService'][_0x134fc3(0x427)][_0x134fc3(0x430)]()[_0x134fc3(0x3d1)])(_0x3b94b8[_0x134fc3(0x1a1)],null)||_0x3b94b8[_0x134fc3(0x1a1)],_0x58ab15={..._0x3b94b8,'mutations':_0x49d237};this[_0x134fc3(0x36a)](),this[_0x134fc3(0x3a2)](this[_0x134fc3(0x2fe)][_0x134fc3(0x326)](_0x58ab15)),this[_0x134fc3(0x322)]();}['_onRemoteACK'](_0x5aa514){var _0x5437e6=_0x4a9ac9;this[_0x5437e6(0x36a)](),this['_updateState'](this[_0x5437e6(0x2fe)][_0x5437e6(0x10f)](_0x5aa514)),this[_0x5437e6(0x322)]();}[_0x4a9ac9(0x1e5)](_0x47bb52){var _0x1b2338=_0x4a9ac9;this[_0x1b2338(0x36a)](),this[_0x1b2338(0x3a2)](this[_0x1b2338(0x2fe)][_0x1b2338(0x1a9)](_0x47bb52)),this[_0x1b2338(0x322)]();}['_onRemoteRetry'](_0x2a273b){var _0x56143c=_0x4a9ac9;this[_0x56143c(0x36a)](),this[_0x56143c(0x3a2)](this[_0x56143c(0x2fe)][_0x56143c(0xfe)](_0x2a273b)),this[_0x56143c(0x322)]();}[_0x4a9ac9(0x436)](_0x358f92){var _0x3a01b8=_0x4a9ac9;if(!(this[_0x3a01b8(0x2fe)]instanceof _0x4113be[_0x3a01b8(0x3bd)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3ebfe6=_0x358f92[_0x3a01b8(0x45d)](_0x345a17=>{var _0x5fb9eb=_0x3a01b8;const _0x5be895=this['_compressMutationService'][_0x5fb9eb(0x427)][_0x5fb9eb(0x25a)](this[_0x5fb9eb(0x177)][_0x5fb9eb(0x427)][_0x5fb9eb(0x430)]()['COMPRESS_MUTATION_APPLY'])(_0x345a17['mutations'],null)||_0x345a17[_0x5fb9eb(0x1a1)];return{..._0x345a17,'mutations':_0x5be895};});this[_0x3a01b8(0x36a)](),this[_0x3a01b8(0x3a2)](this[_0x3a01b8(0x2fe)][_0x3a01b8(0x412)](_0x3ebfe6)),this[_0x3a01b8(0x322)]();}['_toggleOffline'](){var _0x47aa8f=_0x4a9ac9;this['_lockTransition'](),this[_0x47aa8f(0x3a2)](this[_0x47aa8f(0x2fe)][_0x47aa8f(0x217)]()),this['_unlockTransition']();}[_0x4a9ac9(0x199)](_0x2b2a15=!0x1){var _0x67f5e6=_0x4a9ac9;this['_lockTransition'](),this[_0x67f5e6(0x3a2)](this[_0x67f5e6(0x2fe)][_0x67f5e6(0x251)]()),this[_0x67f5e6(0x322)]();const _0xdbeb0d=this[_0x67f5e6(0x2fe)];_0x2b2a15&&_0xdbeb0d instanceof _0x4113be[_0x67f5e6(0x45a)]&&(this[_0x67f5e6(0x36a)](),this[_0x67f5e6(0x3a2)](_0xdbeb0d[_0x67f5e6(0x21a)]()),this[_0x67f5e6(0x322)]());}async['_createInitialState'](){return new Promise(_0x116972=>{var _0x4b41ad=_0x515f;this[_0x4b41ad(0x3a9)][_0x4b41ad(0xc8)][_0x4b41ad(0x282)](_0x5691e8[_0x4b41ad(0x11e)](0x1))['subscribe'](async _0x366d16=>{var _0x275293=_0x4b41ad;_0x116972(await this[_0x275293(0x2bf)](_0x366d16===_0x38c5e4[_0x275293(0x33b)]));});});}[_0x4a9ac9(0x447)](){var _0x9a00b1=_0x4a9ac9;const _0x9200c9=this[_0x9a00b1(0x227)];return{'onStateChange':(_0x3985fb,_0x28fc0f)=>{var _0x59a43c=_0x9a00b1;if(_0x3985fb!==this[_0x59a43c(0x2fe)])throw new Error(_0x59a43c(0x1ac)+_0x3985fb[_0x59a43c(0x215)]+_0x59a43c(0x31e)+_0x28fc0f[_0x59a43c(0x215)]+_0x59a43c(0x29d)+this[_0x59a43c(0x2fe)]['status']);this[_0x59a43c(0x3a2)](_0x28fc0f);},'onSendChangeset':_0x53d0a8=>{var _0x43acb6=_0x9a00b1;_0x53d0a8[_0x43acb6(0x32d)]||(_0x53d0a8['sid']=this[_0x43acb6(0x45c)],_0x53d0a8['reqId']=++this[_0x43acb6(0x180)]);const _0x244a2b={'eventID':_0x19b128['CollaborationEvent'][_0x43acb6(0x1ef)],'data':{'unitID':_0x53d0a8[_0x43acb6(0x227)],'unitType':this[_0x43acb6(0x285)],'changeset':_0x53d0a8,'memberID':this[_0x43acb6(0x3a9)]['getMemberID']()}};this[_0x43acb6(0x3a9)]['send'](_0x244a2b,this[_0x43acb6(0x227)]);},'onMissingChangesets':({from:_0x1bc51e,to:_0x1e4e9b})=>{var _0x5c586f=_0x9a00b1;this[_0x5c586f(0x426)][_0x5c586f(0x1c4)](_0x5c586f(0x1bb),_0x5c586f(0x262)+_0x1bc51e+'\x20to\x20'+_0x1e4e9b);const _0x106ad5={'eventID':_0x19b128[_0x5c586f(0xd3)][_0x5c586f(0x188)],'data':{'unitID':_0x9200c9,'unitType':this[_0x5c586f(0x285)],'from':_0x1bc51e,'to':_0x1e4e9b}};this['session']['send'](_0x106ad5,this[_0x5c586f(0x227)]);}};}async[_0x4a9ac9(0x2bf)](_0x4aad30){var _0x2e025e=_0x4a9ac9,_0x385293,_0x453b26,_0x10fea9;const _0x4a0f0f=await((_0x385293=this[_0x2e025e(0xee)])==null?void 0x0:_0x385293[_0x2e025e(0x270)](this[_0x2e025e(0x227)])),_0x3322a9=(_0x453b26=_0x4a0f0f==null?void 0x0:_0x4a0f0f[_0x2e025e(0x1a1)])!=null?_0x453b26:[],_0x1cb32e=(_0x10fea9=_0x4a0f0f==null?void 0x0:_0x4a0f0f['awaitingChangeset'])!=null?_0x10fea9:null,_0x10d090=!!(_0x1cb32e!=null&&_0x1cb32e['sid'])&&!!(_0x1cb32e!=null&&_0x1cb32e[_0x2e025e(0x3c0)]);this['_changesetSessionId']=_0x10d090?_0x1cb32e['sid']:_0x19b128[_0x2e025e(0x283)](),this['_changesetReqId']=_0x10d090?_0x1cb32e[_0x2e025e(0x3c0)]:0x0;const _0x54454c=this['unitID'];try{this[_0x2e025e(0x406)](_0x1cb32e,_0x3322a9);}catch(_0x240409){this[_0x2e025e(0x426)]['error'](_0x240409);}const _0x98a11b=this['_createHandler']();if(_0x4aad30){const _0x4c4ceb=_0x1ccfb1(this[_0x2e025e(0x18a)],_0x54454c,this[_0x2e025e(0x285)],_0x1cb32e,_0x3322a9,_0x98a11b);return _0x4c4ceb instanceof _0x4113be[_0x2e025e(0x3f8)]?_0x4c4ceb[_0x2e025e(0x175)]():(_0x4c4ceb instanceof _0x4113be['AwaitingWithPendingState']||_0x4c4ceb instanceof _0x4113be[_0x2e025e(0x2f0)])&&_0x4c4ceb[_0x2e025e(0x341)](),_0x4c4ceb;}return this['_injector']['createInstance'](_0x4113be[_0x2e025e(0x307)],_0x54454c,this['_type'],_0x1cb32e,_0x3322a9,_0x98a11b);}[_0x4a9ac9(0x406)](_0x144031,_0x469dd6){var _0x1d3146=_0x4a9ac9,_0x316d74,_0x5a3634;const _0x54afc1=this[_0x1d3146(0x177)][_0x1d3146(0x427)][_0x1d3146(0x25a)](this['_compressMutationService'][_0x1d3146(0x427)]['getInterceptPoints']()[_0x1d3146(0x3d1)]);(_0x316d74=_0x54afc1((_0x144031==null?void 0x0:_0x144031[_0x1d3146(0x1a1)])||[],null))==null||_0x316d74[_0x1d3146(0x1d0)](_0x25f20f=>this[_0x1d3146(0x269)][_0x1d3146(0x304)](_0x25f20f['id'],_0x25f20f[_0x1d3146(0x111)])),(_0x5a3634=_0x54afc1(_0x469dd6||[],null))==null||_0x5a3634['forEach'](_0x4e5cf3=>this[_0x1d3146(0x269)]['executeCommand'](_0x4e5cf3['id'],_0x4e5cf3[_0x1d3146(0x111)]));}},_0x4113be[_0x4a9ac9(0x27d)]=_0x3086fd([_0x4e29d4(0x3,_0x414ab0['Inject'](_0x414ab0['Injector'])),_0x4e29d4(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x41c)])),_0x4e29d4(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)])),_0x4e29d4(0x6,_0x414ab0['Inject'](_0x19b128[_0x4a9ac9(0x43a)])),_0x4e29d4(0x7,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x4e29d4(0x8,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x4e29d4(0x9,_0x414ab0['ILogService']),_0x4e29d4(0xa,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x4e29d4(0xb,_0x414ab0['IPermissionService']),_0x4e29d4(0xc,_0x414ab0[_0x4a9ac9(0x3e6)](_0x5db1cd)),_0x4e29d4(0xd,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x27d)]),_0x4113be[_0x4a9ac9(0x3d5)]=class extends _0x4113be['CollaborationEntity']{constructor(_0x153f65,_0x355aa9,_0x5b9a5b,_0x54ca63,_0x5d1cfe,_0x1f72b3,_0x8fec30,_0x43b3b0,_0x4100e2,_0x37ca3e,_0x27e221,_0x5cf753,_0x499d4c,_0x2c910d){var _0xb5898d=_0x4a9ac9;super(_0x153f65,_0x5b9a5b,_0x355aa9,_0x54ca63,_0x5d1cfe,_0x1f72b3,_0x8fec30,_0x43b3b0,_0x4100e2,_0x37ca3e,_0x27e221,_0x5cf753,_0x499d4c,_0x2c910d),_0x213c49(this,_0xb5898d(0x456),null),(this[_0xb5898d(0x227)]=_0x153f65,this[_0xb5898d(0x1ca)]=_0x355aa9);}[_0x4a9ac9(0x3de)](_0x1a9d43){this['_handlerCallback']=_0x1a9d43;}[_0x4a9ac9(0x228)](){var _0x5f1d37=_0x4a9ac9;this['_handlerCallback']=null,super[_0x5f1d37(0x228)]();}['_createHandler'](){var _0x1a15d2=_0x4a9ac9;const _0x1c6073=super[_0x1a15d2(0x447)]();return _0x1c6073[_0x1a15d2(0x244)]=_0x59c302=>{var _0x330af1=_0x1a15d2,_0x4c2337,_0x31d26e;return(_0x31d26e=(_0x4c2337=this[_0x330af1(0x456)])==null?void 0x0:_0x4c2337[_0x330af1(0x244)])==null?void 0x0:_0x31d26e[_0x330af1(0x3c1)](_0x4c2337,_0x59c302);},_0x1c6073['onTransformState']=_0x52275c=>{var _0x4d2ca2=_0x1a15d2,_0x123918,_0x3db668;return(_0x3db668=(_0x123918=this[_0x4d2ca2(0x456)])==null?void 0x0:_0x123918[_0x4d2ca2(0xc4)])==null?void 0x0:_0x3db668[_0x4d2ca2(0x3c1)](_0x123918,_0x52275c);},_0x1c6073['onTransformSelections']=_0x4f0a13=>{var _0x104b20=_0x1a15d2,_0x4fa708,_0x41ced6;return(_0x41ced6=(_0x4fa708=this[_0x104b20(0x456)])==null?void 0x0:_0x4fa708[_0x104b20(0x2bd)])==null?void 0x0:_0x41ced6[_0x104b20(0x3c1)](_0x4fa708,_0x4f0a13);},_0x1c6073[_0x1a15d2(0x452)]=_0x3a855c=>{var _0xe76612=_0x1a15d2,_0x95677b,_0x2f3c1c;return(_0x2f3c1c=(_0x95677b=this['_handlerCallback'])==null?void 0x0:_0x95677b['onSyncEditingCollabCursor'])==null?void 0x0:_0x2f3c1c[_0xe76612(0x3c1)](_0x95677b,_0x3a855c);},_0x1c6073[_0x1a15d2(0x17a)]=_0x1828c4=>{var _0x33c031=_0x1a15d2,_0x1f8ac9,_0x2a9fef,_0x3e56f5;if(!((_0x1f8ac9=this['_handlerCallback'])!=null&&_0x1f8ac9[_0x33c031(0x17a)]))throw new Error(_0x33c031(0x35b));return(_0x3e56f5=(_0x2a9fef=this[_0x33c031(0x456)])==null?void 0x0:_0x2a9fef['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3e56f5['call'](_0x2a9fef,_0x1828c4);},_0x1c6073[_0x1a15d2(0x148)]=_0x1c1b48=>{var _0x530aa8=_0x1a15d2,_0x357d47,_0x5b7270,_0x2fd3a9;if(!((_0x357d47=this['_handlerCallback'])!=null&&_0x357d47[_0x530aa8(0x148)]))throw new Error(_0x530aa8(0x1eb));return(_0x2fd3a9=(_0x5b7270=this['_handlerCallback'])==null?void 0x0:_0x5b7270['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2fd3a9[_0x530aa8(0x3c1)](_0x5b7270,_0x1c1b48);},_0x1c6073;}async[_0x4a9ac9(0x15d)](){var _0x3839ad=_0x4a9ac9;const _0x5db2e5=await super[_0x3839ad(0x15d)]();return this[_0x3839ad(0x174)](this[_0x3839ad(0x269)][_0x3839ad(0xd9)]((_0x2051de,_0x1c3d89)=>{var _0x2ce128=_0x3839ad;if(_0x2051de['type']!==_0x414ab0[_0x2ce128(0x1c9)][_0x2ce128(0x317)]||_0x1c3d89!=null&&_0x1c3d89[_0x2ce128(0x2cf)]||_0x1c3d89!=null&&_0x1c3d89['onlyLocal']||_0x2051de['id']===_0x33516d[_0x2ce128(0x28f)]['id'])return;const _0x352e50=_0x2051de[_0x2ce128(0x111)];if((_0x352e50==null?void 0x0:_0x352e50[_0x2ce128(0x44f)])!==this['unitID'])return;const _0x32e320=_0x2051de,_0x388eee=this[_0x2ce128(0x177)][_0x2ce128(0x427)][_0x2ce128(0x25a)](this[_0x2ce128(0x177)][_0x2ce128(0x427)][_0x2ce128(0x430)]()['COMPRESS_MUTATION_SEND'])([_0x32e320],this['_univerInstanceService'])||[_0x32e320];this['_onLocalMutation'](_0x388eee[0x0]);})),_0x5db2e5;}},_0x4113be['DocCollaborationEntity']=_0x3086fd([_0x4e29d4(0x3,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x4e29d4(0x4,_0x414ab0['Inject'](_0x19b128['CompressMutationService'])),_0x4e29d4(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)])),_0x4e29d4(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x4e29d4(0x7,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x4e29d4(0x8,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x4e29d4(0x9,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x4e29d4(0xa,_0x414ab0['ICommandService']),_0x4e29d4(0xb,_0x414ab0[_0x4a9ac9(0x43c)]),_0x4e29d4(0xc,_0x414ab0[_0x4a9ac9(0x3e6)](_0x5db1cd)),_0x4e29d4(0xd,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x3d5)]),_0x4113be[_0x4a9ac9(0x15f)]=class extends _0x4113be[_0x4a9ac9(0x27d)]{constructor(_0x38f191,_0x431abd,_0x5a420d,_0x289cf6,_0x55aeb5,_0x731879,_0x562a8f,_0xb2e282,_0x550ea0,_0x424477,_0x491dad,_0x548018,_0x25f2e5,_0x5ec695,_0x531ead){var _0x112d63=_0x4a9ac9;super(_0x38f191,_0x5a420d,_0x431abd,_0x289cf6,_0x55aeb5,_0x731879,_0x562a8f,_0x550ea0,_0x424477,_0x491dad,_0x548018,_0x25f2e5,_0x5ec695,_0x531ead),this[_0x112d63(0x227)]=_0x38f191,this[_0x112d63(0x1ca)]=_0x431abd,this['_sheetTransformSelectionsService']=_0xb2e282;}[_0x4a9ac9(0x447)](){var _0x53ca2a=_0x4a9ac9;const _0x59f9bd=super[_0x53ca2a(0x447)]();return _0x59f9bd[_0x53ca2a(0x2bd)]=_0x3bc6fa=>this[_0x53ca2a(0x305)][_0x53ca2a(0x3c8)](_0x3bc6fa),_0x59f9bd;}async['_init'](){var _0x1fa15a=_0x4a9ac9;const _0x2b7181=await super['_init']();return this[_0x1fa15a(0x174)](this[_0x1fa15a(0x269)]['onMutationExecutedForCollab']((_0xb51ef4,_0x442972)=>{var _0xe737e2=_0x1fa15a;if(_0xb51ef4[_0xe737e2(0x1ca)]!==_0x414ab0[_0xe737e2(0x1c9)][_0xe737e2(0x317)]||_0x442972!=null&&_0x442972['fromCollab']||_0x442972!=null&&_0x442972[_0xe737e2(0x20c)])return;const _0x21c261=_0xb51ef4[_0xe737e2(0x111)];if((_0x21c261==null?void 0x0:_0x21c261[_0xe737e2(0x44f)])!==this['unitID'])return;const _0x375a08=_0xb51ef4,_0x195228=this['_compressMutationService'][_0xe737e2(0x427)][_0xe737e2(0x25a)](this[_0xe737e2(0x177)][_0xe737e2(0x427)]['getInterceptPoints']()[_0xe737e2(0x250)])([_0x375a08],this[_0xe737e2(0x3bf)])||[_0x375a08];this[_0xe737e2(0x3fe)](_0x195228[0x0]);})),_0x2b7181;}},_0x4113be[_0x4a9ac9(0x15f)]=_0x3086fd([_0x4e29d4(0x3,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x4e29d4(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x41c)])),_0x4e29d4(0x5,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)])),_0x4e29d4(0x6,_0x414ab0[_0x4a9ac9(0x11f)](_0x19b128[_0x4a9ac9(0x43a)])),_0x4e29d4(0x7,_0x414ab0['Inject'](_0x4113be[_0x4a9ac9(0x425)])),_0x4e29d4(0x8,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x4e29d4(0x9,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x4e29d4(0xa,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x4e29d4(0xb,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x4e29d4(0xc,_0x414ab0[_0x4a9ac9(0x43c)]),_0x4e29d4(0xd,_0x414ab0[_0x4a9ac9(0x3e6)](_0x5db1cd)),_0x4e29d4(0xe,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be[_0x4a9ac9(0x15f)]);const _0xc74a4=_0x414ab0[_0x4a9ac9(0x158)](_0x4a9ac9(0x224));function _0x5efbeb(_0x57df17){var _0x4a75ee=_0x4a9ac9,_0x3900d6,_0x189bdf,_0x119018,_0x38fea0,_0x1f4fab;const _0x3047c0=_0x57df17[_0x4a75ee(0xc7)],_0x2a26bd=JSON[_0x4a75ee(0xb7)](_0x3047c0);switch(_0x2a26bd['cmd']){case _0x4b3637[_0x4a75ee(0x2a7)]:case _0x4b3637['HELLO']:{const _0x4ad1ea=_0x2a26bd[_0x4a75ee(0x2a4)];return{..._0x2a26bd,'data':_0x4ad1ea,'cmd':_0x2a26bd[_0x4a75ee(0x387)]};}case _0x4b3637['JOIN']:{const _0x4259eb=_0x2a26bd[_0x4a75ee(0x2b9)];return{..._0x2a26bd,'data':_0x4259eb,'cmd':_0x2a26bd[_0x4a75ee(0x387)]};}case _0x4b3637[_0x4a75ee(0x1e1)]:{const _0x2d240d=_0x2a26bd[_0x4a75ee(0x18e)];switch(_0x2d240d[_0x4a75ee(0x439)]){case _0x19b128['CollaborationEvent']['PERMISSION_REJ']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x3900d6=_0x2d240d['permissionRejEvent'])==null?void 0x0:_0x3900d6['cs']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x455)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x189bdf=_0x2d240d['csAckEvent'])==null?void 0x0:_0x189bdf['cs']},'cmd':_0x2a26bd['cmd']};case _0x19b128['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x119018=_0x2d240d[_0x4a75ee(0xe2)])==null?void 0x0:_0x119018['cs']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x276)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x38fea0=_0x2d240d['csRejEvent'])==null?void 0x0:_0x38fea0['cs']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':(_0x1f4fab=_0x2d240d[_0x4a75ee(0x2c8)])==null?void 0x0:_0x1f4fab['cs']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)]['UPDATE_CURSOR']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d['updateCursorEvent']},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x3e2)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x2f4)]},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x3cd)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x134)]},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)]['LIVESHARE_NEW_HOST']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x3ac)]},'cmd':_0x2a26bd['cmd']};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x21b)]:case _0x19b128['CollaborationEvent'][_0x4a75ee(0x2a3)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x2d9)]},'cmd':_0x2a26bd['cmd']};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x308)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d['liveShareNewHost']},'cmd':_0x2a26bd['cmd']};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x38f)]:return{..._0x2a26bd,'data':_0x2d240d,'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x147)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0xba)]},'cmd':_0x2a26bd['cmd']};case _0x19b128[_0x4a75ee(0xd3)]['UPDATE_PERMISSION_OBJ']:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0xb8)]},'cmd':_0x2a26bd[_0x4a75ee(0x387)]};case _0x19b128[_0x4a75ee(0xd3)][_0x4a75ee(0x1cd)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0x449)]},'cmd':_0x2a26bd['cmd']};case _0x19b128['CollaborationEvent'][_0x4a75ee(0x448)]:return{..._0x2a26bd,'data':{..._0x2d240d,'data':_0x2d240d[_0x4a75ee(0xe4)]},'cmd':_0x2a26bd['cmd']};default:return _0x2a26bd;}}default:return _0x2a26bd;}}function _0x320526(_0x36ebfc){var _0x18d121=_0x4a9ac9;switch(_0x36ebfc[_0x18d121(0x387)]){case _0x4b3637[_0x18d121(0x2a7)]:case _0x4b3637['HELLO']:return JSON[_0x18d121(0x195)]({'cmd':_0x36ebfc[_0x18d121(0x387)],'routeKey':_0x36ebfc[_0x18d121(0x2f3)]});case _0x4b3637[_0x18d121(0x1f4)]:{let _0x47f9f0;switch(_0x36ebfc['data'][_0x18d121(0x439)]){case _0x19b128[_0x18d121(0xd3)]['UPDATE_CURSOR']:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)]['UPDATE_CURSOR'],'updateCursorEvent':_0x36ebfc[_0x18d121(0xc7)]['data']};break;}case _0x19b128['CollaborationEvent']['USERS_LEAVE']:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x3cd)],'leaveEvent':_0x36ebfc['data']['data']};break;}case _0x19b128['CollaborationEvent'][_0x18d121(0x3e2)]:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x3e2)],'joinEvent':_0x36ebfc[_0x18d121(0xc7)]['data']};break;}case _0x19b128[_0x18d121(0xd3)][_0x18d121(0x117)]:{_0x47f9f0={'eventID':_0x19b128['CollaborationEvent'][_0x18d121(0x117)],'liveShareNewHost':_0x36ebfc[_0x18d121(0xc7)]['data']};break;}case _0x19b128[_0x18d121(0xd3)]['LIVESHARE_OPERATION']:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x2a3)],'liveShareOperation':_0x36ebfc['data']['data']};break;}case _0x19b128['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x308)],'liveShareTerminate':_0x36ebfc[_0x18d121(0xc7)][_0x18d121(0xc7)]};break;}case _0x19b128[_0x18d121(0xd3)][_0x18d121(0x110)]:{_0x47f9f0={'eventID':_0x19b128['CollaborationEvent'][_0x18d121(0x110)],'liveShareRequestHost':_0x36ebfc[_0x18d121(0xc7)]['data']};break;}case _0x19b128[_0x18d121(0xd3)][_0x18d121(0x21b)]:{_0x47f9f0={'eventID':_0x19b128[_0x18d121(0xd3)][_0x18d121(0x21b)]};break;}default:_0x47f9f0={'eventID':_0x36ebfc[_0x18d121(0xc7)][_0x18d121(0x439)]};}return JSON[_0x18d121(0x195)]({'cmd':_0x36ebfc['cmd'],'routeKey':_0x36ebfc['routeKey'],'collaMsg':_0x47f9f0});}case _0x4b3637['JOIN']:return JSON[_0x18d121(0x195)]({'cmd':_0x36ebfc[_0x18d121(0x387)],'routeKey':_0x36ebfc[_0x18d121(0x2f3)],'joinReq':_0x36ebfc[_0x18d121(0xc7)]});case _0x4b3637[_0x18d121(0x3a0)]:return JSON[_0x18d121(0x195)]({'cmd':_0x36ebfc['cmd'],'routeKey':_0x36ebfc[_0x18d121(0x2f3)],'leaveReq':_0x36ebfc[_0x18d121(0xc7)]});default:throw new Error(_0x18d121(0x2eb));}}var _0x4bdb8a=Object[_0x4a9ac9(0xf9)],_0x69bf7=(_0x1fd6e2,_0x10ca7e,_0xe641eb,_0x21896b)=>{for(var _0x16d9c0=_0x21896b>0x1?void 0x0:_0x21896b?_0x4bdb8a(_0x10ca7e,_0xe641eb):_0x10ca7e,_0x30fd65=_0x1fd6e2['length']-0x1,_0xa50bba;_0x30fd65>=0x0;_0x30fd65--)(_0xa50bba=_0x1fd6e2[_0x30fd65])&&(_0x16d9c0=_0xa50bba(_0x16d9c0)||_0x16d9c0);return _0x16d9c0;},_0x45d37c=(_0x4eb236,_0x61c714)=>(_0x42e7de,_0x312f21)=>_0x61c714(_0x42e7de,_0x312f21,_0x4eb236);const _0x1c92c3=_0x414ab0[_0x4a9ac9(0x158)](_0x4a9ac9(0x245));function _0x44a122(_0x238a4f,_0x229655,_0x3ab2b7){var _0xc19d32=_0x4a9ac9;return _0x238a4f+'/'+_0x229655+_0xc19d32(0x39a)+_0x3ab2b7+_0xc19d32(0x31f);}_0x4113be[_0x4a9ac9(0x41a)]=class extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(_0x2799e7,_0x2dcd2f,_0x2ca1cc,_0x591f28,_0x177a12){var _0x5e658a=_0x4a9ac9;super(),this[_0x5e658a(0x18a)]=_0x2799e7,this[_0x5e658a(0x16f)]=_0x2dcd2f,this[_0x5e658a(0x14e)]=_0x2ca1cc,this['_logService']=_0x591f28,this[_0x5e658a(0xc6)]=_0x177a12;}[_0x4a9ac9(0xbc)](_0x12127d){var _0x200836=_0x4a9ac9;const _0x17b093=this[_0x200836(0x18a)]['get'](_0x3bd1c1[_0x200836(0x3ce)]);if(!_0x17b093)throw new Error(_0x200836(0x17b));const _0x4f1b02=_0x17b093[_0x200836(0x389)](_0x12127d);if(!_0x4f1b02)throw new Error(_0x200836(0x2e5));const _0x1e1b17=new _0x414ab0['DisposableCollection'](),_0x24240f=new _0x5691e8['Subject']();_0x1e1b17[_0x200836(0x39d)](_0x4f1b02[_0x200836(0x43b)][_0x200836(0x32f)](_0x5da6f6=>_0x24240f[_0x200836(0x2d0)](_0x5da6f6))),_0x1e1b17[_0x200836(0x39d)](_0x414ab0[_0x200836(0x3c4)](()=>_0x24240f[_0x200836(0x115)]()));const _0x3b83f9=new _0x5691e8[(_0x200836(0x220))]();_0x1e1b17[_0x200836(0x39d)](_0x4f1b02['error$']['subscribe'](_0x79dbbe=>_0x3b83f9[_0x200836(0x2d0)](_0x79dbbe))),_0x1e1b17[_0x200836(0x39d)](_0x414ab0[_0x200836(0x3c4)](()=>_0x3b83f9[_0x200836(0x115)]()));const _0x3e86f0=new _0x5691e8['Subject']();_0x1e1b17[_0x200836(0x39d)](_0x4f1b02[_0x200836(0x24f)][_0x200836(0x32f)](_0x817d2a=>{var _0x4b1af2=_0x200836;const _0x2adb27=_0x5efbeb(_0x817d2a);_0x3e86f0[_0x4b1af2(0x2d0)](_0x2adb27);})),_0x1e1b17[_0x200836(0x39d)](_0x414ab0['toDisposable'](()=>_0x3e86f0[_0x200836(0x115)]()));let _0x275bc2;const _0x8f8b5b=()=>{var _0xbe9e7=_0x200836;_0x3b83f9['next'](new Event('connection\x20error')),_0x24240f[_0xbe9e7(0x2d0)](new Event(_0xbe9e7(0x163))),_0x275bc2[_0xbe9e7(0xed)]();};return _0x275bc2={'memberID':'','close$':_0x24240f[_0x200836(0x3cf)](),'error$':_0x3b83f9['asObservable'](),'open$':_0x4f1b02[_0x200836(0x421)],'message$':_0x3e86f0[_0x200836(0x3cf)](),'send':_0x3710ec=>{var _0x54eeae=_0x200836;if(_0x3710ec[_0x54eeae(0x387)]===_0x4b3637[_0x54eeae(0x1f4)]){if(_0x3710ec[_0x54eeae(0xc7)]['eventID']===_0x19b128[_0x54eeae(0xd3)]['SUBMIT_CHANGESET']){this[_0x54eeae(0x2e2)](_0x275bc2,_0x3710ec[_0x54eeae(0xc7)])[_0x54eeae(0x191)](_0x45bace=>{var _0x5108df=_0x54eeae;this[_0x5108df(0x426)][_0x5108df(0x2ad)](_0x45bace),_0x8f8b5b();});return;}if(_0x3710ec[_0x54eeae(0xc7)][_0x54eeae(0x439)]===_0x19b128[_0x54eeae(0xd3)][_0x54eeae(0x188)]){const _0x48c03e=_0x3710ec[_0x54eeae(0xc7)];this['_fetchMissChangesets'](_0x48c03e)[_0x54eeae(0x11d)](_0x2708b8=>{var _0x56874e=_0x54eeae;_0x3e86f0[_0x56874e(0x2d0)]({'cmd':_0x4b3637[_0x56874e(0x1e1)],'code':_0x2e116a['OK'],'routeKey':_0x48c03e[_0x56874e(0xc7)]['unitID'],'routeType':'','data':{'eventID':_0x19b128[_0x56874e(0xd3)][_0x56874e(0x15a)],'data':{'changesets':_0x2708b8}}});})[_0x54eeae(0x191)](_0x2fe264=>{var _0x197bcd=_0x54eeae;this[_0x197bcd(0x426)][_0x197bcd(0x2ad)](_0x2fe264),_0x8f8b5b();});return;}}_0x4f1b02[_0x54eeae(0x3a3)](_0x320526(_0x3710ec));},'close':()=>{var _0x2a89e3=_0x200836;_0x4f1b02[_0x2a89e3(0xed)](),_0x1e1b17[_0x2a89e3(0x228)]();}},_0x275bc2;}async[_0x4a9ac9(0x2e2)](_0x3e4264,_0x9e1f96){var _0x377630=_0x4a9ac9,_0x4d0cc7;const {unitType:_0xc47d65,unitID:_0xf7ce5d,changeset:_0x17512d}=_0x9e1f96['data'],_0x25bcb9={'unitID':_0xf7ce5d,'memberID':_0x3e4264[_0x377630(0x1f1)],'type':_0xc47d65,'changeset':_0x19b128['parseChangesetToProtocol'](_0x17512d)},_0x5f577f=this[_0x377630(0x14e)][_0x377630(0xfb)](_0xfa3b98),_0x3ab7b3=_0x44a122((_0x4d0cc7=_0x5f577f==null?void 0x0:_0x5f577f[_0x377630(0x3dc)])!=null?_0x4d0cc7:_0x213ef9,_0xc47d65,_0xf7ce5d);try{await this[_0x377630(0x16f)][_0x377630(0x1fe)](_0x3ab7b3,{'body':_0x25bcb9});}catch(_0x40377b){throw this[_0x377630(0x426)][_0x377630(0x2ad)](_0x377630(0x2dd),_0x377630(0x3b5)),_0x40377b;}}async[_0x4a9ac9(0x359)](_0x338dba){var _0x4a5fd3=_0x4a9ac9;const {unitID:_0x41b68b,from:_0x26bf78,to:_0x242d13,unitType:_0x4faf10}=_0x338dba[_0x4a5fd3(0xc7)];return(await this[_0x4a5fd3(0xc6)][_0x4a5fd3(0x31c)]({'metadata':void 0x0},{'unitID':_0x41b68b,'type':_0x4faf10,'from':_0x26bf78,'to':_0x242d13}))[_0x4a5fd3(0x45f)][_0x4a5fd3(0x45d)](_0x169d19=>((_0x169d19[_0x4a5fd3(0x1a1)]===null||_0x169d19[_0x4a5fd3(0x1a1)]===void 0x0)&&(_0x169d19[_0x4a5fd3(0x1a1)]=[]),_0x169d19));}},_0x4113be['CollaborationSocketService']=_0x69bf7([_0x45d37c(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x45d37c(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1['HTTPService'])),_0x45d37c(0x2,_0x414ab0[_0x4a9ac9(0x1a4)]),_0x45d37c(0x3,_0x414ab0[_0x4a9ac9(0x1ed)]),_0x45d37c(0x4,_0x19b128[_0x4a9ac9(0x20e)])],_0x4113be['CollaborationSocketService']);var _0x4b0f3a=Object[_0x4a9ac9(0xf9)],_0xe9919d=(_0x1f3f44,_0x8d7f45,_0x4c0380,_0x397859)=>{var _0x4a1566=_0x4a9ac9;for(var _0x430cc3=_0x397859>0x1?void 0x0:_0x397859?_0x4b0f3a(_0x8d7f45,_0x4c0380):_0x8d7f45,_0x53c53b=_0x1f3f44[_0x4a1566(0x337)]-0x1,_0x2cbcd6;_0x53c53b>=0x0;_0x53c53b--)(_0x2cbcd6=_0x1f3f44[_0x53c53b])&&(_0x430cc3=_0x2cbcd6(_0x430cc3)||_0x430cc3);return _0x430cc3;},_0x56d56d=(_0xce5532,_0x5c868f)=>(_0x2367b8,_0x2ad8b8)=>_0x5c868f(_0x2367b8,_0x2ad8b8,_0xce5532);_0x4113be[_0x4a9ac9(0x103)]=class extends _0x414ab0['Disposable']{constructor(_0x1faf4e,_0x2e2446,_0x31da43,_0x395a06,_0x44e3c9,_0x4df1ff){var _0x2f2bb3=_0x4a9ac9;super(),_0x213c49(this,'_socket$',new _0x5691e8[(_0x2f2bb3(0x33f))](void 0x0)),_0x213c49(this,_0x2f2bb3(0x17f),this[_0x2f2bb3(0x1b5)][_0x2f2bb3(0x3cf)]()),_0x213c49(this,'_candidateSocket',null),_0x213c49(this,'_sessions',new Map()),_0x213c49(this,_0x2f2bb3(0x39f),new _0x5691e8[(_0x2f2bb3(0x33f))](_0x38c5e4[_0x2f2bb3(0x200)])),_0x213c49(this,_0x2f2bb3(0x1ae),this[_0x2f2bb3(0x39f)][_0x2f2bb3(0x3cf)]()),_0x213c49(this,_0x2f2bb3(0x24d),!0x1),_0x213c49(this,_0x2f2bb3(0x42c)),_0x213c49(this,_0x2f2bb3(0x3ea),0x0),_0x213c49(this,_0x2f2bb3(0x1f8)),_0x213c49(this,_0x2f2bb3(0xbf)),(this[_0x2f2bb3(0x18a)]=_0x1faf4e,this[_0x2f2bb3(0x426)]=_0x2e2446,this['_configService']=_0x31da43,this[_0x2f2bb3(0x1d6)]=_0x395a06,this['_collaborationUIEventService']=_0x44e3c9,this[_0x2f2bb3(0x1e4)]=_0x4df1ff,this[_0x2f2bb3(0x14c)]());}get[_0x4a9ac9(0xd8)](){var _0x50a13f=_0x4a9ac9;return this[_0x50a13f(0x1b5)][_0x50a13f(0x458)]();}['_listenToNetworkCondition'](){var _0x460c7a=_0x4a9ac9;this[_0x460c7a(0x1e4)]&&this[_0x460c7a(0x174)](this[_0x460c7a(0x1e4)]['online$'][_0x460c7a(0x32f)](_0x70467c=>{var _0x39ea63=_0x460c7a;_0x70467c&&!this[_0x39ea63(0xd8)]&&this['reconnect'](),_0x70467c||this[_0x39ea63(0x3ed)]();}));}[_0x4a9ac9(0x228)](){var _0x4731cd=_0x4a9ac9;super['dispose'](),this[_0x4731cd(0x3e9)](),this[_0x4731cd(0x20b)](),this[_0x4731cd(0x3c6)](),this[_0x4731cd(0x15b)]['forEach'](_0x3ad8c1=>_0x3ad8c1[_0x4731cd(0x228)]()),this[_0x4731cd(0x15b)]['clear'](),this[_0x4731cd(0x39f)][_0x4731cd(0x115)]();}async[_0x4a9ac9(0x2fc)](_0x2c0090){var _0x583bb2=_0x4a9ac9;if(this['_sessions'][_0x583bb2(0x1f6)](_0x2c0090))return this[_0x583bb2(0x15b)][_0x583bb2(0x218)](_0x2c0090);this[_0x583bb2(0x33c)]();const _0x2dfd91=this[_0x583bb2(0x18a)][_0x583bb2(0x3da)](_0x4113be['CollaborationSession'],_0x2c0090,this['_socket$'][_0x583bb2(0x3cf)]());return this['_sessions'][_0x583bb2(0x356)](_0x2c0090,_0x2dfd91),_0x2dfd91;}[_0x4a9ac9(0x280)](_0x5dabb1){var _0x503840=_0x4a9ac9,_0x46d5d9;const _0x1f059e=this[_0x503840(0x15b)][_0x503840(0x218)](_0x5dabb1);_0x1f059e&&(this[_0x503840(0x15b)]['delete'](_0x5dabb1),_0x1f059e['close']()),this[_0x503840(0x15b)]['size']||(_0x46d5d9=this[_0x503840(0xd8)])==null||_0x46d5d9[_0x503840(0xed)]();}[_0x4a9ac9(0x40e)](){var _0x3074bd=_0x4a9ac9;this['_retryCount']=0x0,this[_0x3074bd(0x3e9)](),this[_0x3074bd(0x17e)]();}[_0x4a9ac9(0x3e9)](){var _0x466b0c=_0x4a9ac9;this[_0x466b0c(0x42c)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x7e02fe=_0x4a9ac9,_0x22eb44;const _0x188be8=this['_configService'][_0x7e02fe(0xfb)](_0xfa3b98),_0x2a79c2=(_0x22eb44=_0x188be8==null?void 0x0:_0x188be8[_0x7e02fe(0x259)])!=null?_0x22eb44:_0x340e26,_0x242e2f=await this[_0x7e02fe(0x1d6)][_0x7e02fe(0x389)](_0x2a79c2);return this[_0x7e02fe(0x1d9)]=_0x242e2f,_0x242e2f;}async[_0x4a9ac9(0x33c)](){var _0x395f27=_0x4a9ac9,_0x583952,_0x4e4183;try{const _0x205bcf=(_0x4e4183=(_0x583952=this['_socket'])!=null?_0x583952:this[_0x395f27(0x1d9)])!=null?_0x4e4183:await this[_0x395f27(0x18d)]();if(_0x205bcf){const _0x11d267=_0x205bcf[_0x395f27(0x3a3)];_0x205bcf['send']=_0x2c6ca3=>(this[_0x395f27(0x379)](),_0x11d267[_0x395f27(0x108)](_0x205bcf,[_0x2c6ca3])),_0x205bcf[_0x395f27(0x24f)]['subscribe'](_0x34a5d6=>this[_0x395f27(0x225)](_0x205bcf,_0x34a5d6)),_0x205bcf[_0x395f27(0x37b)][_0x395f27(0x282)](_0x1f22ee[_0x395f27(0x11e)](0x1))[_0x395f27(0x32f)](_0x406226=>this[_0x395f27(0x426)][_0x395f27(0x2ad)](_0x395f27(0x2c9),_0x406226)),_0x205bcf[_0x395f27(0x421)][_0x395f27(0x282)](_0x1f22ee['take'](0x1))[_0x395f27(0x32f)](()=>{this['_onConnectionOpen'](_0x205bcf);}),_0x205bcf['close$'][_0x395f27(0x282)](_0x1f22ee[_0x395f27(0x11e)](0x1))['subscribe'](_0x13e39c=>{var _0x161d34=_0x395f27;this[_0x161d34(0x426)][_0x161d34(0x1c4)](_0x161d34(0x320),_0x161d34(0x394),_0x13e39c),this['_onConnectionFailed']();});}}catch(_0x443017){this[_0x395f27(0x426)]['error'](_0x443017),this['_onConnectionFailed']();}}[_0x4a9ac9(0x1e0)](_0x313ffe){var _0x5ab9b9=_0x4a9ac9;this['_logService'][_0x5ab9b9(0x1c4)]('[CollaborationSessionService]','socket\x20open.'),_0x313ffe[_0x5ab9b9(0x3a3)]({'cmd':_0x4b3637[_0x5ab9b9(0x3f5)]}),this[_0x5ab9b9(0x379)]();}['_onOffline'](){var _0x2c5146=_0x4a9ac9;this[_0x2c5146(0x24d)]=!0x1,this[_0x2c5146(0x1d9)]=null,this[_0x2c5146(0x39f)][_0x2c5146(0x2d0)](_0x38c5e4['OFFLINE']),this['_socket$'][_0x2c5146(0x2d0)](null),this['_clearTimeoutTimer'](),this[_0x2c5146(0x3c6)]();}[_0x4a9ac9(0x1b3)](){var _0x1cd81f=_0x4a9ac9,_0x483fd2;this['_onOffline'](),this[_0x1cd81f(0x3ea)]<((_0x483fd2=this[_0x1cd81f(0x14e)][_0x1cd81f(0xfb)](_0x314a57))!=null?_0x483fd2:0x3)?(this[_0x1cd81f(0x167)]['emitEvent']({'id':_0x51d7a4[_0x1cd81f(0x185)]}),this[_0x1cd81f(0x17e)]()):this['_collaborationUIEventService'][_0x1cd81f(0x3f6)]({'id':_0x51d7a4[_0x1cd81f(0x3d3)]});}[_0x4a9ac9(0x17e)](){var _0x31ef2d=_0x4a9ac9,_0x4a90c6;const _0x458c9d=this[_0x31ef2d(0x3ea)],_0x20332f=this[_0x31ef2d(0x14e)][_0x31ef2d(0xfb)](_0xfa3b98),_0x1a9d19=_0x458c9d===0x0?0x0:((_0x4a90c6=_0x20332f==null?void 0x0:_0x20332f[_0x31ef2d(0xd4)])!=null?_0x4a90c6:0x4e20)*0x2**_0x458c9d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x294fb7=_0x31ef2d;clearTimeout(this[_0x294fb7(0x42c)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x1a9d19),this['_retryCount']+=0x1;}['_onMessage'](_0x31ff4b,_0x11cd69){var _0x1ab180=_0x4a9ac9;const {cmd:_0x34c8ca}=_0x11cd69;_0x34c8ca===_0x4b3637[_0x1ab180(0x3f5)]&&!this[_0x1ab180(0x24d)]&&(_0x31ff4b[_0x1ab180(0x1f1)]=_0x11cd69[_0x1ab180(0xc7)][_0x1ab180(0x1f1)],this[_0x1ab180(0x1b5)][_0x1ab180(0x2d0)](_0x31ff4b),this['_status$'][_0x1ab180(0x2d0)](_0x38c5e4[_0x1ab180(0x33b)]),this[_0x1ab180(0x24d)]=!0x0,this[_0x1ab180(0x1d9)]=null),_0x34c8ca===_0x4b3637[_0x1ab180(0x2a7)]&&this['_clearTimeoutTimer'](),this[_0x1ab180(0x379)]();}['_rescheduleHeartbeat'](){var _0x243444=_0x4a9ac9,_0x1affcd;this['_clearHeartbeatTimer'](),this[_0x243444(0x1f8)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1affcd=this[_0x243444(0x14e)][_0x243444(0xfb)](_0x18d90d))!=null?_0x1affcd:0x7530);}[_0x4a9ac9(0x2bc)](){var _0x10e901=_0x4a9ac9;this[_0x10e901(0xd8)]['send']({'cmd':_0x4b3637[_0x10e901(0x2a7)]}),this[_0x10e901(0x2f9)]();}['_waitForHeartbeatResponse'](){var _0x42f855=_0x4a9ac9,_0x253bcc;this[_0x42f855(0xbf)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x253bcc=this['_configService']['getConfig'](_0x2beeb0))!=null?_0x253bcc:0x4e20);}[_0x4a9ac9(0x3c6)](){var _0x436e93=_0x4a9ac9;this[_0x436e93(0x1f8)]!=null&&(clearTimeout(this[_0x436e93(0x1f8)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x291ab2=_0x4a9ac9;this[_0x291ab2(0xbf)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x291ab2(0xbf)]=null);}},_0x4113be[_0x4a9ac9(0x103)]=_0xe9919d([_0x56d56d(0x0,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x56d56d(0x1,_0x414ab0['ILogService']),_0x56d56d(0x2,_0x414ab0['IConfigService']),_0x56d56d(0x3,_0x1c92c3),_0x56d56d(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78)),_0x56d56d(0x5,_0x414ab0[_0x4a9ac9(0x3e6)](_0xc74a4))],_0x4113be[_0x4a9ac9(0x103)]);var _0x2323ab=Object[_0x4a9ac9(0xf9)],_0x49dc86=(_0x25903c,_0x147f83,_0x1491d9,_0x186bf1)=>{for(var _0x4038be=_0x186bf1>0x1?void 0x0:_0x186bf1?_0x2323ab(_0x147f83,_0x1491d9):_0x147f83,_0x778728=_0x25903c['length']-0x1,_0x539616;_0x778728>=0x0;_0x778728--)(_0x539616=_0x25903c[_0x778728])&&(_0x4038be=_0x539616(_0x4038be)||_0x4038be);return _0x4038be;},_0x1af6fc=(_0xa375a0,_0x5373dc)=>(_0x528011,_0x498adb)=>_0x5373dc(_0x528011,_0x498adb,_0xa375a0);_0x4113be[_0x4a9ac9(0x240)]=class extends _0x414ab0[_0x4a9ac9(0x2e8)]{constructor(_0x5a89b5,_0x492f9,_0x1517fd,_0x4f11d4){var _0x39db4f=_0x4a9ac9,_0x2978bb;super(),_0x213c49(this,'_entities',new Map()),_0x213c49(this,'_entityInit$',new _0x5691e8[(_0x39db4f(0x220))]()),_0x213c49(this,_0x39db4f(0x1ad),this[_0x39db4f(0x3b9)][_0x39db4f(0x3cf)]()),(this[_0x39db4f(0x18a)]=_0x5a89b5,this[_0x39db4f(0x2ff)]=_0x492f9,this[_0x39db4f(0x14e)]=_0x1517fd,this['_univerInstanceService']=_0x4f11d4,((_0x2978bb=this[_0x39db4f(0x14e)][_0x39db4f(0xfb)](_0xfa3b98))==null?void 0x0:_0x2978bb[_0x39db4f(0x44a)])!==!0x1&&this[_0x39db4f(0x15d)]());}[_0x4a9ac9(0x228)](){var _0x414772=_0x4a9ac9;super['dispose'](),this[_0x414772(0x45e)][_0x414772(0x1d0)](_0x50f329=>_0x50f329[_0x414772(0x228)]()),this[_0x414772(0x45e)][_0x414772(0x1d1)]();}[_0x4a9ac9(0x28b)](_0x414fdb){var _0x2f22ab=_0x4a9ac9,_0x2a1d8c;return(_0x2a1d8c=this[_0x2f22ab(0x45e)][_0x2f22ab(0x218)](_0x414fdb))!=null?_0x2a1d8c:null;}['getCollabEntity$'](_0x2f3770){var _0xad02f1=_0x4a9ac9;const _0x20f756=this[_0xad02f1(0x28b)](_0x2f3770);return _0x20f756?_0x5691e8['of'](_0x20f756):this[_0xad02f1(0x3b9)][_0xad02f1(0x282)](_0x1f22ee['filter'](_0x324941=>_0x324941[_0xad02f1(0x227)]===_0x2f3770));}[_0x4a9ac9(0x384)](_0x43df4b){var _0x54e466=_0x4a9ac9;return _0x5691e8[_0x54e466(0x1c8)](this[_0x54e466(0x287)](_0x43df4b)['pipe'](_0x1f22ee[_0x54e466(0x45d)](()=>{})));}[_0x4a9ac9(0x15d)](){var _0x4c123b=_0x4a9ac9;this[_0x4c123b(0x3bf)][_0x4c123b(0x314)](_0x414ab0[_0x4c123b(0x20f)][_0x4c123b(0x429)])['pipe'](_0x5691e8['takeUntil'](this[_0x4c123b(0x3bc)]),_0x1f22ee[_0x4c123b(0x332)](0x10))[_0x4c123b(0x32f)](async _0x2b1679=>{var _0x2df93d=_0x4c123b;const _0x2580b8=_0x2b1679[_0x2df93d(0x420)](),_0xe67b4d=await this[_0x2df93d(0x1c6)](_0x2580b8,_0x5599c4['UNIVER_SHEET']);this[_0x2df93d(0x45e)][_0x2df93d(0x356)](_0x2580b8,_0xe67b4d);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x414ab0['UniverInstanceType'][_0x4c123b(0x120)])[_0x4c123b(0x282)](_0x5691e8[_0x4c123b(0x399)](this['dispose$']),_0x1f22ee[_0x4c123b(0x332)](0x10))['pipe'](_0x1f22ee[_0x4c123b(0xef)](_0x3e6703=>!_0x3e6703[_0x4c123b(0x420)]()[_0x4c123b(0x1ff)]('__')))['subscribe'](async _0x5dfcc2=>{var _0x37ebe3=_0x4c123b;const _0x3dbb0e=_0x5dfcc2[_0x37ebe3(0x420)](),_0xa5c01c=await this[_0x37ebe3(0x1c6)](_0x3dbb0e,_0x5599c4[_0x37ebe3(0x120)]);this[_0x37ebe3(0x45e)]['set'](_0x3dbb0e,_0xa5c01c);}),_0x5691e8[_0x4c123b(0x3e1)](this[_0x4c123b(0x3bf)]['getTypeOfUnitDisposed$'](_0x414ab0[_0x4c123b(0x20f)][_0x4c123b(0x429)]),this[_0x4c123b(0x3bf)][_0x4c123b(0x29a)](_0x414ab0['UniverInstanceType']['UNIVER_DOC']))[_0x4c123b(0x282)](_0x5691e8['takeUntil'](this[_0x4c123b(0x3bc)]))[_0x4c123b(0x32f)](_0x1c34ca=>{var _0x58418d=_0x4c123b;const _0x1675a6=_0x1c34ca[_0x58418d(0x420)](),_0x2c1af5=this[_0x58418d(0x45e)][_0x58418d(0x218)](_0x1675a6);_0x2c1af5&&(_0x2c1af5[_0x58418d(0x228)](),this[_0x58418d(0x45e)]['delete'](_0x1675a6));});}async['_startCollaboration'](_0x230de4,_0x111e72){var _0x390796=_0x4a9ac9;const _0x3909bc=await this[_0x390796(0x2ff)][_0x390796(0x2fc)](_0x230de4),_0x308fde=this[_0x390796(0x18a)][_0x390796(0x3da)](this[_0x390796(0x1e3)](_0x111e72),_0x230de4,_0x111e72,_0x3909bc);return await _0x308fde['init'](),this[_0x390796(0x3b9)][_0x390796(0x2d0)](_0x308fde),_0x308fde;}[_0x4a9ac9(0x1e3)](_0x43af85){var _0x45695d=_0x4a9ac9;switch(_0x43af85){case _0x5599c4[_0x45695d(0x120)]:return _0x4113be[_0x45695d(0x3d5)];case _0x5599c4[_0x45695d(0x429)]:return _0x4113be['SheetCollaborationEntity'];default:throw new Error(_0x45695d(0x386)+_0x43af85);}}},_0x4113be[_0x4a9ac9(0x240)]=_0x49dc86([_0x1af6fc(0x0,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1af6fc(0x1,_0x414ab0['Inject'](_0x4113be[_0x4a9ac9(0x103)])),_0x1af6fc(0x2,_0x414ab0[_0x4a9ac9(0x1a4)]),_0x1af6fc(0x3,_0x414ab0[_0x4a9ac9(0x2f2)])],_0x4113be[_0x4a9ac9(0x240)]);var _0x8608fd=Object[_0x4a9ac9(0xf9)],_0x5e5267=(_0x36056f,_0x585277,_0x56d346,_0x56de94)=>{var _0x56106f=_0x4a9ac9;for(var _0x17ec9e=_0x56de94>0x1?void 0x0:_0x56de94?_0x8608fd(_0x585277,_0x56d346):_0x585277,_0x10c50c=_0x36056f[_0x56106f(0x337)]-0x1,_0x4497ba;_0x10c50c>=0x0;_0x10c50c--)(_0x4497ba=_0x36056f[_0x10c50c])&&(_0x17ec9e=_0x4497ba(_0x17ec9e)||_0x17ec9e);return _0x17ec9e;},_0x43f37d=(_0x4c997c,_0x13b51d)=>(_0xcecd27,_0x3d9e7f)=>_0x13b51d(_0xcecd27,_0x3d9e7f,_0x4c997c);const _0x39264b=_0x4a9ac9(0x446),_0x3c9b50=_0x4a9ac9(0x2de);let _0x3df3a0=class extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(_0x4b1485,_0x22d866){var _0x233e59=_0x4a9ac9;super(),this[_0x233e59(0x3bf)]=_0x4b1485,this[_0x233e59(0x14e)]=_0x22d866,this[_0x233e59(0x15d)]();}[_0x4a9ac9(0x15d)](){var _0xeb6136=_0x4a9ac9;this[_0xeb6136(0x174)](this[_0xeb6136(0x3bf)][_0xeb6136(0x38b)][_0xeb6136(0x32f)](()=>{var _0x59e069=_0xeb6136,_0x23837d;const _0x2e5574=this['_univerInstanceService'][_0x59e069(0x159)]();let _0x557d0e=(_0x23837d=this['_configService'][_0x59e069(0xfb)](_0x39264b))!=null?_0x23837d:_0x3c9b50;_0x2e5574 instanceof _0x414ab0['Workbook']&&(_0x557d0e=_0x2e5574['name']),document[_0x59e069(0x454)]=_0x557d0e;}));}};_0x3df3a0=_0x5e5267([_0x43f37d(0x0,_0x414ab0['IUniverInstanceService']),_0x43f37d(0x1,_0x414ab0[_0x4a9ac9(0x1a4)])],_0x3df3a0);var _0x2c806a=Object['getOwnPropertyDescriptor'],_0x497c12=(_0x47a6b5,_0x581ef8,_0x5adc40,_0x11e537)=>{var _0x27d018=_0x4a9ac9;for(var _0x599d1d=_0x11e537>0x1?void 0x0:_0x11e537?_0x2c806a(_0x581ef8,_0x5adc40):_0x581ef8,_0x24f4a4=_0x47a6b5[_0x27d018(0x337)]-0x1,_0x20a21c;_0x24f4a4>=0x0;_0x24f4a4--)(_0x20a21c=_0x47a6b5[_0x24f4a4])&&(_0x599d1d=_0x20a21c(_0x599d1d)||_0x599d1d);return _0x599d1d;},_0x494533=(_0x382f83,_0x594949)=>(_0x280bcf,_0x484b82)=>_0x594949(_0x280bcf,_0x484b82,_0x382f83);let _0x34dd56=class{constructor(_0x4119c1,_0x11bbf6,_0x38f370){var _0x13644a=_0x4a9ac9;this['_configService']=_0x4119c1,this[_0x13644a(0x16f)]=_0x11bbf6,this['localeService']=_0x38f370,this[_0x13644a(0x3d7)]();}[_0x4a9ac9(0x3d7)](){var _0x4b9698=_0x4a9ac9;this[_0x4b9698(0x16f)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5dee71,_0x434e36)=>_0x434e36(_0x5dee71)[_0x4b9698(0x282)](_0x5691e8[_0x4b9698(0x3e0)](async _0x208699=>{var _0x4fe336=_0x4b9698;const _0x44a8a5=_0x208699;if(_0x44a8a5['status']===0x191){if(typeof window>'u')throw new Error(_0x4fe336(0x35d));if(window['confirm'](this[_0x4fe336(0x203)]['t'](_0x4fe336(0x378)))){const _0x1cbaa5=window['encodeURIComponent'](window['location'][_0x4fe336(0xdc)]);window[_0x4fe336(0x1df)][_0x4fe336(0xdc)]=this[_0x4fe336(0x2df)]()+_0x4fe336(0x2d8)+_0x1cbaa5;}}return _0x44a8a5;}))});}[_0x4a9ac9(0x2df)](){var _0xb4a56d=_0x4a9ac9,_0x4e03c0;const _0x4f97f5=this[_0xb4a56d(0x14e)][_0xb4a56d(0xfb)](_0xfa3b98);return(_0x4e03c0=_0x4f97f5==null?void 0x0:_0x4f97f5[_0xb4a56d(0x3ab)])!=null?_0x4e03c0:_0x22dd04;}};_0x34dd56=_0x497c12([_0x494533(0x0,_0x414ab0['IConfigService']),_0x494533(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1[_0x4a9ac9(0x354)])),_0x494533(0x2,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2cc)]))],_0x34dd56);var _0x47abf9=Object['getOwnPropertyDescriptor'],_0x1a83b9=(_0x32caa6,_0x160f17,_0x242497,_0xd1f69b)=>{var _0x5db4d3=_0x4a9ac9;for(var _0x19805b=_0xd1f69b>0x1?void 0x0:_0xd1f69b?_0x47abf9(_0x160f17,_0x242497):_0x160f17,_0x158cd7=_0x32caa6[_0x5db4d3(0x337)]-0x1,_0xec0b0d;_0x158cd7>=0x0;_0x158cd7--)(_0xec0b0d=_0x32caa6[_0x158cd7])&&(_0x19805b=_0xec0b0d(_0x19805b)||_0x19805b);return _0x19805b;},_0x5729a2=(_0x238d15,_0x17e3ca)=>(_0x3edd64,_0x511a47)=>_0x17e3ca(_0x3edd64,_0x511a47,_0x238d15);const _0x1ccda8='/universer-api/authz';_0x4113be[_0x4a9ac9(0x3a1)]=class extends _0x414ab0[_0x4a9ac9(0x25d)]{constructor(_0x4e85e3,_0x5604fe){var _0x365006=_0x4a9ac9;super(),this[_0x365006(0xeb)]=_0x4e85e3,this[_0x365006(0x14e)]=_0x5604fe,this['_initMergeInterceptor']();}[_0x4a9ac9(0x238)](){var _0x53976f=_0x4a9ac9;const _0x2029e4=this;this['disposeWithMe'](this[_0x53976f(0xeb)][_0x53976f(0x3d4)]({'priority':0x3e7,'interceptor':_0x3bd1c1['MergeInterceptorFactory']({'isMatch'(_0x4c90fb){var _0x238c82=_0x53976f,_0x1da594;if(_0x4c90fb[_0x238c82(0x315)]==='POST'&&((_0x1da594=_0x4c90fb[_0x238c82(0x274)])!=null&&_0x1da594['body'])){const {objectID:_0x43f849,objectType:_0x1471fd}=_0x4c90fb[_0x238c82(0x274)][_0x238c82(0xec)]||{};if(!_0x43f849||_0x1471fd===void 0x0)return!0x1;const _0x220b1b=_0x2029e4[_0x238c82(0x1db)]()+'/'+_0x1471fd+'/object/'+_0x43f849+_0x238c82(0x1e2);if(_0x4c90fb[_0x238c82(0x28e)]===_0x220b1b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2f6f70){var _0xcdf56f;return(_0xcdf56f=_0x2f6f70['requestParams'])==null?void 0x0:_0xcdf56f['body'];},'mergeParamsToRequest'(_0x360d2b,_0x4f5ce8){var _0x2e11a9=_0x53976f;const _0x26b080=_0x2029e4[_0x2e11a9(0x1db)]()+'/-/object/-/batch_allowed',_0x240028=_0x360d2b[_0x2e11a9(0x2c3)]((_0x40de00,_0x52968c)=>{var _0x322ddf=_0x2e11a9;const {unitID:_0x5ecc56,objectID:_0x45d780,objectType:_0x53ee5a,actions:_0x30ca77}=_0x52968c;return _0x40de00[_0x5ecc56]||(_0x40de00[_0x5ecc56]={}),_0x40de00[_0x5ecc56][_0x45d780]||(_0x40de00[_0x5ecc56][_0x45d780]={'objectID':_0x45d780,'objectType':_0x53ee5a,'actions':[]}),_0x40de00[_0x5ecc56][_0x45d780][_0x322ddf(0x40a)][_0x322ddf(0x350)](..._0x30ca77),_0x40de00;},{}),_0x4362fb=[];for(const _0x2f9825 in _0x240028)for(const _0x5938cc in _0x240028[_0x2f9825]){const {actions:_0x5e4f39,objectType:_0x50692b}=_0x240028[_0x2f9825][_0x5938cc],_0x312162=[...new Set(_0x5e4f39)];_0x4362fb[_0x2e11a9(0x350)]({'unitID':_0x2f9825,'objectID':_0x5938cc,'objectType':_0x50692b,'actions':_0x312162});}return new _0x3bd1c1[(_0x2e11a9(0x2fa))](_0x2e11a9(0x271),_0x26b080,{'headers':_0x4f5ce8[_0x2e11a9(0x222)],'withCredentials':_0x4f5ce8[_0x2e11a9(0x44d)],'responseType':_0x4f5ce8[_0x2e11a9(0x116)],'body':{'requests':_0x4362fb}});}},{'distributeResult'(_0x435a4e,_0x1b9618){var _0x3c1039=_0x53976f;const {objectActions:_0x14e30a}=_0x435a4e;return _0x1b9618[_0x3c1039(0x45d)](_0x5a72a5=>{var _0x31bcf8=_0x3c1039;const {unitID:_0xef99e5,objectID:_0xb0da48,actions:_0x32482}=_0x5a72a5,_0x3a59c5=_0x14e30a[_0x31bcf8(0x3be)](_0x44223f=>_0x44223f[_0x31bcf8(0x227)]===_0xef99e5&&_0x44223f[_0x31bcf8(0xcc)]===_0xb0da48),_0x1fbf19=_0x32482['map'](_0x4c110f=>_0x3a59c5==null?void 0x0:_0x3a59c5[_0x31bcf8(0x40a)][_0x31bcf8(0x3be)](_0x311ccc=>_0x311ccc[_0x31bcf8(0x26c)]===_0x4c110f))[_0x31bcf8(0xef)](_0x464785=>!!_0x464785);return{'config':_0x5a72a5,'result':{'actions':_0x1fbf19,'error':_0x435a4e[_0x31bcf8(0x2ad)]}};});}})}));}[_0x4a9ac9(0x1db)](){var _0x2d30ae=_0x4a9ac9,_0x5910f5;const _0x350fc6=this['_configService'][_0x2d30ae(0xfb)](_0xfa3b98);return(_0x5910f5=_0x350fc6==null?void 0x0:_0x350fc6[_0x2d30ae(0x27b)])!=null?_0x5910f5:_0x1ccda8;}async[_0x4a9ac9(0x2b2)](_0x1a79cd){var _0x2d1e0f=_0x4a9ac9;const _0x302b21=this[_0x2d1e0f(0x1db)]()+'/'+_0x1a79cd[_0x2d1e0f(0x264)]+_0x2d1e0f(0x208);return(await this[_0x2d1e0f(0xeb)][_0x2d1e0f(0x1fe)](_0x302b21,{'body':_0x1a79cd}))[_0x2d1e0f(0xec)]['objectID']||'';}async[_0x4a9ac9(0x186)](_0x3660b2){var _0x5877a1=_0x4a9ac9;const _0x4116b9=this[_0x5877a1(0x1db)]()+_0x5877a1(0x363);return(await this[_0x5877a1(0xeb)]['post'](_0x4116b9,{'body':_0x3660b2}))[_0x5877a1(0xec)][_0x5877a1(0x166)];}async[_0x4a9ac9(0x182)](_0x54b557){var _0x47f352=_0x4a9ac9,_0x1cb6d9,_0x452a61;const _0x230c77=this[_0x47f352(0x1db)]()+'/'+_0x54b557[_0x47f352(0x264)]+_0x47f352(0x201)+_0x54b557[_0x47f352(0xcc)],_0x3c3e7c=await this['_HTTPService'][_0x47f352(0x39e)](_0x230c77,{'body':_0x54b557});if(((_0x452a61=(_0x1cb6d9=_0x3c3e7c==null?void 0x0:_0x3c3e7c[_0x47f352(0xec)])==null?void 0x0:_0x1cb6d9[_0x47f352(0x2ad)])==null?void 0x0:_0x452a61['code'])!==0x1)throw new Error(_0x47f352(0x16a));}async[_0x4a9ac9(0x417)](_0x1ab0bb){var _0x54b930=_0x4a9ac9;const _0x556d7d=this[_0x54b930(0x1db)]()+'/'+_0x1ab0bb[_0x54b930(0x264)]+_0x54b930(0x201)+_0x1ab0bb['objectID']+_0x54b930(0x1e2);return(await this[_0x54b930(0xeb)][_0x54b930(0x1fe)](_0x556d7d,{'body':_0x1ab0bb}))[_0x54b930(0xec)]['actions'];}async[_0x4a9ac9(0x178)](_0x15f12a){var _0xaa6bdc=_0x4a9ac9;const _0xe051be=this[_0xaa6bdc(0x1db)]()+_0xaa6bdc(0x353);return(await this[_0xaa6bdc(0xeb)][_0xaa6bdc(0x1fe)](_0xe051be,{'body':{'requests':_0x15f12a}}))['body'][_0xaa6bdc(0x1ee)];}async[_0x4a9ac9(0xf2)](_0x571b4b){var _0x2ab6da=_0x4a9ac9;const _0x573938=this['_getAPIPrefixPath']()+'/'+_0x571b4b[_0x2ab6da(0x264)]+_0x2ab6da(0x28d),_0x57df8a=await this[_0x2ab6da(0xeb)]['post'](_0x573938,{'body':_0x571b4b});return{'roles':_0x57df8a[_0x2ab6da(0xec)][_0x2ab6da(0x313)],'actions':_0x57df8a['body'][_0x2ab6da(0x40a)]};}async[_0x4a9ac9(0x3cb)](_0x52da8c){var _0x465924=_0x4a9ac9;const _0xa83793=this[_0x465924(0x1db)]()+_0x465924(0xe0);await this['_HTTPService'][_0x465924(0x3b1)](_0xa83793,{'params':{'collaboratorID':_0x52da8c['collaboratorID'],'objectID':_0x52da8c[_0x465924(0xcc)],'unitID':_0x52da8c[_0x465924(0x227)]}});}async[_0x4a9ac9(0x2c7)](_0x51f6b8){var _0x15ae2d=_0x4a9ac9;const _0x43593d=this['_getAPIPrefixPath']()+_0x15ae2d(0xe0);await this['_HTTPService'][_0x15ae2d(0x328)](_0x43593d,{'body':_0x51f6b8});}async[_0x4a9ac9(0x1dd)](_0x444b34){var _0x261f61=_0x4a9ac9;const _0x480e47=this[_0x261f61(0x1db)]()+_0x261f61(0xe0);await this[_0x261f61(0xeb)][_0x261f61(0x1fe)](_0x480e47,{'body':_0x444b34});}async[_0x4a9ac9(0x149)](_0x5cdf9c){var _0x392a0d=_0x4a9ac9;const _0x5ba545=this[_0x392a0d(0x1db)]()+_0x392a0d(0xe0);return(await this[_0x392a0d(0xeb)][_0x392a0d(0x218)](_0x5ba545,{'params':{'objectID':_0x5cdf9c[_0x392a0d(0xcc)],'unitID':_0x5cdf9c[_0x392a0d(0x227)]}}))[_0x392a0d(0xec)][_0x392a0d(0x411)];}async[_0x4a9ac9(0x43d)](_0x585f4d){var _0x41fb09=_0x4a9ac9;const _0x2c1e71=this[_0x41fb09(0x1db)]()+_0x41fb09(0xe0);await this[_0x41fb09(0xeb)][_0x41fb09(0x39e)](_0x2c1e71,{'body':_0x585f4d});}},_0x4113be[_0x4a9ac9(0x3a1)]=_0x1a83b9([_0x5729a2(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1['HTTPService'])),_0x5729a2(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x1a4)]))],_0x4113be['AuthzIoHttpService']);var _0x3b8175=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x164355(_0x2795f8){var _0x2a3f87=_0x4a9ac9;return _0x2795f8&&_0x2795f8[_0x2a3f87(0x2d4)]&&Object[_0x2a3f87(0x3ad)]['hasOwnProperty'][_0x2a3f87(0x3c1)](_0x2795f8,_0x2a3f87(0x3b3))?_0x2795f8[_0x2a3f87(0x3b3)]:_0x2795f8;}var _0x227988={'exports':{}};function _0x34b389(_0x26f21b){var _0x4dd0cf=_0x4a9ac9;throw new Error(_0x4dd0cf(0x1c1)+_0x26f21b+_0x4dd0cf(0x3b2));}var _0x3b501c={'exports':{}},_0xa3c777=_0x3b501c[_0x4a9ac9(0x42d)],_0x15eda4;function _0x576c57(){return _0x15eda4||(_0x15eda4=0x1,function(_0x311df7,_0x1f00d4){(function(_0x27e873,_0xc4d890){var _0x978c66=_0x515f;_0x311df7[_0x978c66(0x42d)]=_0xc4d890();}(_0xa3c777,function(){var _0x2d1a3b=_0x2d1a3b||function(_0x1c9203,_0xe1dff3){var _0x4e7af5=_0x515f,_0x1606dc;if(typeof window<'u'&&window[_0x4e7af5(0x422)]&&(_0x1606dc=window[_0x4e7af5(0x422)]),typeof self<'u'&&self[_0x4e7af5(0x422)]&&(_0x1606dc=self[_0x4e7af5(0x422)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1606dc=globalThis[_0x4e7af5(0x422)]),!_0x1606dc&&typeof window<'u'&&window[_0x4e7af5(0x1c5)]&&(_0x1606dc=window[_0x4e7af5(0x1c5)]),!_0x1606dc&&typeof _0x3b8175<'u'&&_0x3b8175['crypto']&&(_0x1606dc=_0x3b8175[_0x4e7af5(0x422)]),!_0x1606dc&&typeof _0x34b389=='function')try{_0x1606dc=require('crypto');}catch{}var _0x4718b9=function(){var _0x1c16ca=_0x4e7af5;if(_0x1606dc){if(typeof _0x1606dc[_0x1c16ca(0x13b)]==_0x1c16ca(0x143))try{return _0x1606dc[_0x1c16ca(0x13b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1606dc[_0x1c16ca(0x1d7)]=='function')try{return _0x1606dc[_0x1c16ca(0x1d7)](0x4)[_0x1c16ca(0x126)]();}catch{}}throw new Error(_0x1c16ca(0x13f));},_0x4c7cf9=Object[_0x4e7af5(0x2b2)]||(function(){function _0x3db480(){}return function(_0x4bed51){var _0x8764ba=_0x515f,_0x1622f7;return _0x3db480[_0x8764ba(0x3ad)]=_0x4bed51,_0x1622f7=new _0x3db480(),_0x3db480['prototype']=null,_0x1622f7;};}()),_0x319338={},_0xa6c77=_0x319338['lib']={},_0x2fe6df=_0xa6c77[_0x4e7af5(0x3cc)]=(function(){return{'extend':function(_0x2bf738){var _0x513ffd=_0x515f,_0x2a2ee1=_0x4c7cf9(this);return _0x2bf738&&_0x2a2ee1[_0x513ffd(0x1dc)](_0x2bf738),(!_0x2a2ee1[_0x513ffd(0x2d1)](_0x513ffd(0x3d7))||this[_0x513ffd(0x3d7)]===_0x2a2ee1[_0x513ffd(0x3d7)])&&(_0x2a2ee1['init']=function(){var _0x1d5b70=_0x513ffd;_0x2a2ee1[_0x1d5b70(0x20d)][_0x1d5b70(0x3d7)][_0x1d5b70(0x108)](this,arguments);}),_0x2a2ee1[_0x513ffd(0x3d7)][_0x513ffd(0x3ad)]=_0x2a2ee1,_0x2a2ee1['$super']=this,_0x2a2ee1;},'create':function(){var _0x299f09=_0x515f,_0x6482ec=this[_0x299f09(0x298)]();return _0x6482ec[_0x299f09(0x3d7)]['apply'](_0x6482ec,arguments),_0x6482ec;},'init':function(){},'mixIn':function(_0x32e018){var _0x437744=_0x515f;for(var _0x141ef1 in _0x32e018)_0x32e018[_0x437744(0x2d1)](_0x141ef1)&&(this[_0x141ef1]=_0x32e018[_0x141ef1]);_0x32e018['hasOwnProperty'](_0x437744(0x1b1))&&(this['toString']=_0x32e018[_0x437744(0x1b1)]);},'clone':function(){var _0x3cc071=_0x515f;return this['init'][_0x3cc071(0x3ad)][_0x3cc071(0x298)](this);}};}()),_0x3f5348=_0xa6c77[_0x4e7af5(0x398)]=_0x2fe6df[_0x4e7af5(0x298)]({'init':function(_0x1db92b,_0x5a17b5){var _0x5a2566=_0x4e7af5;_0x1db92b=this[_0x5a2566(0xd5)]=_0x1db92b||[],_0x5a17b5!=_0xe1dff3?this[_0x5a2566(0x1a5)]=_0x5a17b5:this[_0x5a2566(0x1a5)]=_0x1db92b[_0x5a2566(0x337)]*0x4;},'toString':function(_0x22c958){var _0x31bed1=_0x4e7af5;return(_0x22c958||_0x1ff77d)[_0x31bed1(0x195)](this);},'concat':function(_0x520007){var _0x3bebfb=_0x4e7af5,_0x4cfb42=this[_0x3bebfb(0xd5)],_0x5297e9=_0x520007['words'],_0x1bc9c5=this[_0x3bebfb(0x1a5)],_0x283940=_0x520007[_0x3bebfb(0x1a5)];if(this[_0x3bebfb(0x33d)](),_0x1bc9c5%0x4)for(var _0x2df350=0x0;_0x2df350<_0x283940;_0x2df350++){var _0xcb0091=_0x5297e9[_0x2df350>>>0x2]>>>0x18-_0x2df350%0x4*0x8&0xff;_0x4cfb42[_0x1bc9c5+_0x2df350>>>0x2]|=_0xcb0091<<0x18-(_0x1bc9c5+_0x2df350)%0x4*0x8;}else{for(var _0x10d438=0x0;_0x10d438<_0x283940;_0x10d438+=0x4)_0x4cfb42[_0x1bc9c5+_0x10d438>>>0x2]=_0x5297e9[_0x10d438>>>0x2];}return this[_0x3bebfb(0x1a5)]+=_0x283940,this;},'clamp':function(){var _0xa8b624=_0x4e7af5,_0x2fb712=this[_0xa8b624(0xd5)],_0x3dc16f=this[_0xa8b624(0x1a5)];_0x2fb712[_0x3dc16f>>>0x2]&=0xffffffff<<0x20-_0x3dc16f%0x4*0x8,_0x2fb712['length']=_0x1c9203['ceil'](_0x3dc16f/0x4);},'clone':function(){var _0x4cc158=_0x4e7af5,_0x7f2a3a=_0x2fe6df[_0x4cc158(0x253)][_0x4cc158(0x3c1)](this);return _0x7f2a3a[_0x4cc158(0xd5)]=this[_0x4cc158(0xd5)]['slice'](0x0),_0x7f2a3a;},'random':function(_0x59e3a9){var _0x304fcd=_0x4e7af5;for(var _0x185fe3=[],_0xc3fe1e=0x0;_0xc3fe1e<_0x59e3a9;_0xc3fe1e+=0x4)_0x185fe3['push'](_0x4718b9());return new _0x3f5348[(_0x304fcd(0x3d7))](_0x185fe3,_0x59e3a9);}}),_0x3980e0=_0x319338['enc']={},_0x1ff77d=_0x3980e0['Hex']={'stringify':function(_0xdc8ebb){var _0x262107=_0x4e7af5;for(var _0x3ccf11=_0xdc8ebb[_0x262107(0xd5)],_0x2dbc8b=_0xdc8ebb['sigBytes'],_0x5ebc14=[],_0x5e8bbd=0x0;_0x5e8bbd<_0x2dbc8b;_0x5e8bbd++){var _0x55f40e=_0x3ccf11[_0x5e8bbd>>>0x2]>>>0x18-_0x5e8bbd%0x4*0x8&0xff;_0x5ebc14['push']((_0x55f40e>>>0x4)['toString'](0x10)),_0x5ebc14[_0x262107(0x350)]((_0x55f40e&0xf)[_0x262107(0x1b1)](0x10));}return _0x5ebc14['join']('');},'parse':function(_0x46428b){var _0x2366c6=_0x4e7af5;for(var _0x433d76=_0x46428b[_0x2366c6(0x337)],_0x2836be=[],_0x19ec2c=0x0;_0x19ec2c<_0x433d76;_0x19ec2c+=0x2)_0x2836be[_0x19ec2c>>>0x3]|=parseInt(_0x46428b[_0x2366c6(0x2a6)](_0x19ec2c,0x2),0x10)<<0x18-_0x19ec2c%0x8*0x4;return new _0x3f5348['init'](_0x2836be,_0x433d76/0x2);}},_0x3e417f=_0x3980e0['Latin1']={'stringify':function(_0x3b05c4){var _0x17b29d=_0x4e7af5;for(var _0x1656b5=_0x3b05c4[_0x17b29d(0xd5)],_0x3c7838=_0x3b05c4['sigBytes'],_0x2d0eee=[],_0x4ded98=0x0;_0x4ded98<_0x3c7838;_0x4ded98++){var _0x38753e=_0x1656b5[_0x4ded98>>>0x2]>>>0x18-_0x4ded98%0x4*0x8&0xff;_0x2d0eee[_0x17b29d(0x350)](String[_0x17b29d(0x22b)](_0x38753e));}return _0x2d0eee[_0x17b29d(0x431)]('');},'parse':function(_0x49c428){var _0x1c6c7e=_0x4e7af5;for(var _0x56d7e7=_0x49c428[_0x1c6c7e(0x337)],_0x1beb44=[],_0x99ca01=0x0;_0x99ca01<_0x56d7e7;_0x99ca01++)_0x1beb44[_0x99ca01>>>0x2]|=(_0x49c428[_0x1c6c7e(0x2ee)](_0x99ca01)&0xff)<<0x18-_0x99ca01%0x4*0x8;return new _0x3f5348[(_0x1c6c7e(0x3d7))](_0x1beb44,_0x56d7e7);}},_0x52f9ea=_0x3980e0[_0x4e7af5(0x248)]={'stringify':function(_0x309ad4){var _0x274e64=_0x4e7af5;try{return decodeURIComponent(escape(_0x3e417f[_0x274e64(0x195)](_0x309ad4)));}catch{throw new Error(_0x274e64(0x10d));}},'parse':function(_0x154c43){var _0x2f9970=_0x4e7af5;return _0x3e417f[_0x2f9970(0xb7)](unescape(encodeURIComponent(_0x154c43)));}},_0x4a0a47=_0xa6c77[_0x4e7af5(0x3c2)]=_0x2fe6df['extend']({'reset':function(){var _0x50ae28=_0x4e7af5;this[_0x50ae28(0x10c)]=new _0x3f5348[(_0x50ae28(0x3d7))](),this['_nDataBytes']=0x0;},'_append':function(_0x323351){var _0x3776b1=_0x4e7af5;typeof _0x323351=='string'&&(_0x323351=_0x52f9ea[_0x3776b1(0xb7)](_0x323351)),this[_0x3776b1(0x10c)]['concat'](_0x323351),this['_nDataBytes']+=_0x323351[_0x3776b1(0x1a5)];},'_process':function(_0x2e6163){var _0x2f9168=_0x4e7af5,_0x1cc630,_0x21dfe1=this['_data'],_0x3f8d7d=_0x21dfe1[_0x2f9168(0xd5)],_0xe8bdef=_0x21dfe1[_0x2f9168(0x1a5)],_0x29b598=this[_0x2f9168(0xc2)],_0x2497d1=_0x29b598*0x4,_0x109b9c=_0xe8bdef/_0x2497d1;_0x2e6163?_0x109b9c=_0x1c9203[_0x2f9168(0x26a)](_0x109b9c):_0x109b9c=_0x1c9203['max']((_0x109b9c|0x0)-this[_0x2f9168(0xd7)],0x0);var _0x836b21=_0x109b9c*_0x29b598,_0x425cc9=_0x1c9203[_0x2f9168(0x35c)](_0x836b21*0x4,_0xe8bdef);if(_0x836b21){for(var _0x4a3de2=0x0;_0x4a3de2<_0x836b21;_0x4a3de2+=_0x29b598)this[_0x2f9168(0x109)](_0x3f8d7d,_0x4a3de2);_0x1cc630=_0x3f8d7d[_0x2f9168(0x375)](0x0,_0x836b21),_0x21dfe1[_0x2f9168(0x1a5)]-=_0x425cc9;}return new _0x3f5348[(_0x2f9168(0x3d7))](_0x1cc630,_0x425cc9);},'clone':function(){var _0x584754=_0x4e7af5,_0x42ca3f=_0x2fe6df['clone'][_0x584754(0x3c1)](this);return _0x42ca3f[_0x584754(0x10c)]=this[_0x584754(0x10c)][_0x584754(0x253)](),_0x42ca3f;},'_minBufferSize':0x0});_0xa6c77[_0x4e7af5(0x233)]=_0x4a0a47['extend']({'cfg':_0x2fe6df[_0x4e7af5(0x298)](),'init':function(_0x220c1a){var _0x131f66=_0x4e7af5;this['cfg']=this[_0x131f66(0x157)][_0x131f66(0x298)](_0x220c1a),this[_0x131f66(0x101)]();},'reset':function(){var _0xb20f01=_0x4e7af5;_0x4a0a47['reset'][_0xb20f01(0x3c1)](this),this[_0xb20f01(0x342)]();},'update':function(_0x137523){var _0x401c17=_0x4e7af5;return this[_0x401c17(0x29b)](_0x137523),this[_0x401c17(0x390)](),this;},'finalize':function(_0x1a9f82){var _0x587af8=_0x4e7af5;_0x1a9f82&&this[_0x587af8(0x29b)](_0x1a9f82);var _0x1abc03=this[_0x587af8(0x37e)]();return _0x1abc03;},'blockSize':0x10,'_createHelper':function(_0x134994){return function(_0x30be06,_0x27665){var _0x25009a=_0x515f;return new _0x134994[(_0x25009a(0x3d7))](_0x27665)[_0x25009a(0x266)](_0x30be06);};},'_createHmacHelper':function(_0x44a6a4){return function(_0x5d5f36,_0x4b159f){var _0x1fc912=_0x515f;return new _0x34c1cb[(_0x1fc912(0x13c))][(_0x1fc912(0x3d7))](_0x44a6a4,_0x4b159f)[_0x1fc912(0x266)](_0x5d5f36);};}});var _0x34c1cb=_0x319338[_0x4e7af5(0xfd)]={};return _0x319338;}(Math);return _0x2d1a3b;}));}(_0x3b501c)),_0x3b501c['exports'];}var _0x49ec4d={'exports':{}},_0x1d0889=_0x49ec4d['exports'],_0x3fdbfe;function _0x3a836a(){return _0x3fdbfe||(_0x3fdbfe=0x1,function(_0x14c58b,_0x34231f){(function(_0x1d4999,_0xaaf1b2){_0x14c58b['exports']=_0xaaf1b2(_0x576c57());}(_0x1d0889,function(_0x578da8){var _0x14d21e=_0x515f;return(function(){var _0x25eac0=_0x515f,_0xbda2c9=_0x578da8,_0x218ab8=_0xbda2c9[_0x25eac0(0x428)],_0x358595=_0x218ab8['WordArray'],_0x16f3d2=_0xbda2c9[_0x25eac0(0x19a)];_0x16f3d2[_0x25eac0(0x405)]={'stringify':function(_0x4c9bf9){var _0x4b4286=_0x25eac0,_0x496d09=_0x4c9bf9[_0x4b4286(0xd5)],_0x497af6=_0x4c9bf9[_0x4b4286(0x1a5)],_0x319935=this[_0x4b4286(0x41b)];_0x4c9bf9[_0x4b4286(0x33d)]();for(var _0x2485d5=[],_0x2365f4=0x0;_0x2365f4<_0x497af6;_0x2365f4+=0x3)for(var _0xf7a027=_0x496d09[_0x2365f4>>>0x2]>>>0x18-_0x2365f4%0x4*0x8&0xff,_0x3e3c3f=_0x496d09[_0x2365f4+0x1>>>0x2]>>>0x18-(_0x2365f4+0x1)%0x4*0x8&0xff,_0xf35634=_0x496d09[_0x2365f4+0x2>>>0x2]>>>0x18-(_0x2365f4+0x2)%0x4*0x8&0xff,_0x4870cc=_0xf7a027<<0x10|_0x3e3c3f<<0x8|_0xf35634,_0x1dbc56=0x0;_0x1dbc56<0x4&&_0x2365f4+_0x1dbc56*0.75<_0x497af6;_0x1dbc56++)_0x2485d5[_0x4b4286(0x350)](_0x319935[_0x4b4286(0x26b)](_0x4870cc>>>0x6*(0x3-_0x1dbc56)&0x3f));var _0x2bab18=_0x319935[_0x4b4286(0x26b)](0x40);if(_0x2bab18){for(;_0x2485d5[_0x4b4286(0x337)]%0x4;)_0x2485d5[_0x4b4286(0x350)](_0x2bab18);}return _0x2485d5[_0x4b4286(0x431)]('');},'parse':function(_0x4896c5){var _0xfa725b=_0x25eac0,_0x3ac740=_0x4896c5[_0xfa725b(0x337)],_0xe94f85=this[_0xfa725b(0x41b)],_0xf619d6=this[_0xfa725b(0x140)];if(!_0xf619d6){_0xf619d6=this[_0xfa725b(0x140)]=[];for(var _0x2016b4=0x0;_0x2016b4<_0xe94f85[_0xfa725b(0x337)];_0x2016b4++)_0xf619d6[_0xe94f85[_0xfa725b(0x2ee)](_0x2016b4)]=_0x2016b4;}var _0xc0ee8f=_0xe94f85['charAt'](0x40);if(_0xc0ee8f){var _0x402af9=_0x4896c5[_0xfa725b(0x12b)](_0xc0ee8f);_0x402af9!==-0x1&&(_0x3ac740=_0x402af9);}return _0x55b3e0(_0x4896c5,_0x3ac740,_0xf619d6);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x55b3e0(_0x1d2078,_0x989dd,_0x38894c){var _0x96eef1=_0x25eac0;for(var _0x38300e=[],_0x3310d9=0x0,_0xd55d53=0x0;_0xd55d53<_0x989dd;_0xd55d53++)if(_0xd55d53%0x4){var _0x2b4dff=_0x38894c[_0x1d2078['charCodeAt'](_0xd55d53-0x1)]<<_0xd55d53%0x4*0x2,_0x10769f=_0x38894c[_0x1d2078[_0x96eef1(0x2ee)](_0xd55d53)]>>>0x6-_0xd55d53%0x4*0x2,_0x477b2f=_0x2b4dff|_0x10769f;_0x38300e[_0x3310d9>>>0x2]|=_0x477b2f<<0x18-_0x3310d9%0x4*0x8,_0x3310d9++;}return _0x358595['create'](_0x38300e,_0x3310d9);}}()),_0x578da8[_0x14d21e(0x19a)][_0x14d21e(0x405)];}));}(_0x49ec4d)),_0x49ec4d['exports'];}var _0x1e5191={'exports':{}},_0x4c455a=_0x1e5191[_0x4a9ac9(0x42d)],_0x14d8c0;function _0x3a0f7b(){var _0x427ce4=_0x4a9ac9;return _0x14d8c0||(_0x14d8c0=0x1,function(_0x173619,_0x1c8596){(function(_0x306e40,_0x485e46){var _0x3eb332=_0x515f;_0x173619[_0x3eb332(0x42d)]=_0x485e46(_0x576c57());}(_0x4c455a,function(_0x47fca2){return function(_0x37f40b){var _0x56cfc5=_0x515f,_0x1eca9a=_0x47fca2,_0x1ee1ea=_0x1eca9a['lib'],_0x16d1ab=_0x1ee1ea[_0x56cfc5(0x398)],_0x3db592=_0x1ee1ea[_0x56cfc5(0x233)],_0x5c042a=_0x1eca9a[_0x56cfc5(0xfd)],_0x37321a=[];(function(){var _0x1d4b4c=_0x56cfc5;for(var _0x123dc4=0x0;_0x123dc4<0x40;_0x123dc4++)_0x37321a[_0x123dc4]=_0x37f40b[_0x1d4b4c(0xe3)](_0x37f40b[_0x1d4b4c(0x2d6)](_0x123dc4+0x1))*0x100000000|0x0;}());var _0x486a51=_0x5c042a['MD5']=_0x3db592['extend']({'_doReset':function(){var _0x4d3da8=_0x56cfc5;this[_0x4d3da8(0x27a)]=new _0x16d1ab['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2f5029,_0x56bdaf){var _0x1a86e6=_0x56cfc5;for(var _0x56200f=0x0;_0x56200f<0x10;_0x56200f++){var _0x45ddd7=_0x56bdaf+_0x56200f,_0xbfee07=_0x2f5029[_0x45ddd7];_0x2f5029[_0x45ddd7]=(_0xbfee07<<0x8|_0xbfee07>>>0x18)&0xff00ff|(_0xbfee07<<0x18|_0xbfee07>>>0x8)&0xff00ff00;}var _0x52d345=this[_0x1a86e6(0x27a)][_0x1a86e6(0xd5)],_0x433de0=_0x2f5029[_0x56bdaf+0x0],_0x45691c=_0x2f5029[_0x56bdaf+0x1],_0x7387f0=_0x2f5029[_0x56bdaf+0x2],_0x18aea6=_0x2f5029[_0x56bdaf+0x3],_0x175265=_0x2f5029[_0x56bdaf+0x4],_0x244c48=_0x2f5029[_0x56bdaf+0x5],_0x1ddbcd=_0x2f5029[_0x56bdaf+0x6],_0x1e0f53=_0x2f5029[_0x56bdaf+0x7],_0x2809ea=_0x2f5029[_0x56bdaf+0x8],_0x1309bb=_0x2f5029[_0x56bdaf+0x9],_0x5382a7=_0x2f5029[_0x56bdaf+0xa],_0x28f8ee=_0x2f5029[_0x56bdaf+0xb],_0x27e04c=_0x2f5029[_0x56bdaf+0xc],_0x6ce202=_0x2f5029[_0x56bdaf+0xd],_0x5600b4=_0x2f5029[_0x56bdaf+0xe],_0x207e74=_0x2f5029[_0x56bdaf+0xf],_0x4a3133=_0x52d345[0x0],_0x20b4c6=_0x52d345[0x1],_0x4f837b=_0x52d345[0x2],_0x21e62d=_0x52d345[0x3];_0x4a3133=_0x3e5bc9(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x433de0,0x7,_0x37321a[0x0]),_0x21e62d=_0x3e5bc9(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x45691c,0xc,_0x37321a[0x1]),_0x4f837b=_0x3e5bc9(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x7387f0,0x11,_0x37321a[0x2]),_0x20b4c6=_0x3e5bc9(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x18aea6,0x16,_0x37321a[0x3]),_0x4a3133=_0x3e5bc9(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x175265,0x7,_0x37321a[0x4]),_0x21e62d=_0x3e5bc9(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x244c48,0xc,_0x37321a[0x5]),_0x4f837b=_0x3e5bc9(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x1ddbcd,0x11,_0x37321a[0x6]),_0x20b4c6=_0x3e5bc9(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x1e0f53,0x16,_0x37321a[0x7]),_0x4a3133=_0x3e5bc9(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x2809ea,0x7,_0x37321a[0x8]),_0x21e62d=_0x3e5bc9(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x1309bb,0xc,_0x37321a[0x9]),_0x4f837b=_0x3e5bc9(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x5382a7,0x11,_0x37321a[0xa]),_0x20b4c6=_0x3e5bc9(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x28f8ee,0x16,_0x37321a[0xb]),_0x4a3133=_0x3e5bc9(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x27e04c,0x7,_0x37321a[0xc]),_0x21e62d=_0x3e5bc9(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x6ce202,0xc,_0x37321a[0xd]),_0x4f837b=_0x3e5bc9(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x5600b4,0x11,_0x37321a[0xe]),_0x20b4c6=_0x3e5bc9(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x207e74,0x16,_0x37321a[0xf]),_0x4a3133=_0x17e8f4(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x45691c,0x5,_0x37321a[0x10]),_0x21e62d=_0x17e8f4(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x1ddbcd,0x9,_0x37321a[0x11]),_0x4f837b=_0x17e8f4(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x28f8ee,0xe,_0x37321a[0x12]),_0x20b4c6=_0x17e8f4(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x433de0,0x14,_0x37321a[0x13]),_0x4a3133=_0x17e8f4(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x244c48,0x5,_0x37321a[0x14]),_0x21e62d=_0x17e8f4(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x5382a7,0x9,_0x37321a[0x15]),_0x4f837b=_0x17e8f4(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x207e74,0xe,_0x37321a[0x16]),_0x20b4c6=_0x17e8f4(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x175265,0x14,_0x37321a[0x17]),_0x4a3133=_0x17e8f4(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x1309bb,0x5,_0x37321a[0x18]),_0x21e62d=_0x17e8f4(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x5600b4,0x9,_0x37321a[0x19]),_0x4f837b=_0x17e8f4(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x18aea6,0xe,_0x37321a[0x1a]),_0x20b4c6=_0x17e8f4(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x2809ea,0x14,_0x37321a[0x1b]),_0x4a3133=_0x17e8f4(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x6ce202,0x5,_0x37321a[0x1c]),_0x21e62d=_0x17e8f4(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x7387f0,0x9,_0x37321a[0x1d]),_0x4f837b=_0x17e8f4(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x1e0f53,0xe,_0x37321a[0x1e]),_0x20b4c6=_0x17e8f4(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x27e04c,0x14,_0x37321a[0x1f]),_0x4a3133=_0x139fc8(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x244c48,0x4,_0x37321a[0x20]),_0x21e62d=_0x139fc8(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x2809ea,0xb,_0x37321a[0x21]),_0x4f837b=_0x139fc8(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x28f8ee,0x10,_0x37321a[0x22]),_0x20b4c6=_0x139fc8(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x5600b4,0x17,_0x37321a[0x23]),_0x4a3133=_0x139fc8(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x45691c,0x4,_0x37321a[0x24]),_0x21e62d=_0x139fc8(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x175265,0xb,_0x37321a[0x25]),_0x4f837b=_0x139fc8(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x1e0f53,0x10,_0x37321a[0x26]),_0x20b4c6=_0x139fc8(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x5382a7,0x17,_0x37321a[0x27]),_0x4a3133=_0x139fc8(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x6ce202,0x4,_0x37321a[0x28]),_0x21e62d=_0x139fc8(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x433de0,0xb,_0x37321a[0x29]),_0x4f837b=_0x139fc8(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x18aea6,0x10,_0x37321a[0x2a]),_0x20b4c6=_0x139fc8(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x1ddbcd,0x17,_0x37321a[0x2b]),_0x4a3133=_0x139fc8(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x1309bb,0x4,_0x37321a[0x2c]),_0x21e62d=_0x139fc8(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x27e04c,0xb,_0x37321a[0x2d]),_0x4f837b=_0x139fc8(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x207e74,0x10,_0x37321a[0x2e]),_0x20b4c6=_0x139fc8(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x7387f0,0x17,_0x37321a[0x2f]),_0x4a3133=_0xa1034c(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x433de0,0x6,_0x37321a[0x30]),_0x21e62d=_0xa1034c(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x1e0f53,0xa,_0x37321a[0x31]),_0x4f837b=_0xa1034c(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x5600b4,0xf,_0x37321a[0x32]),_0x20b4c6=_0xa1034c(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x244c48,0x15,_0x37321a[0x33]),_0x4a3133=_0xa1034c(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x27e04c,0x6,_0x37321a[0x34]),_0x21e62d=_0xa1034c(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x18aea6,0xa,_0x37321a[0x35]),_0x4f837b=_0xa1034c(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x5382a7,0xf,_0x37321a[0x36]),_0x20b4c6=_0xa1034c(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x45691c,0x15,_0x37321a[0x37]),_0x4a3133=_0xa1034c(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x2809ea,0x6,_0x37321a[0x38]),_0x21e62d=_0xa1034c(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x207e74,0xa,_0x37321a[0x39]),_0x4f837b=_0xa1034c(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x1ddbcd,0xf,_0x37321a[0x3a]),_0x20b4c6=_0xa1034c(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x6ce202,0x15,_0x37321a[0x3b]),_0x4a3133=_0xa1034c(_0x4a3133,_0x20b4c6,_0x4f837b,_0x21e62d,_0x175265,0x6,_0x37321a[0x3c]),_0x21e62d=_0xa1034c(_0x21e62d,_0x4a3133,_0x20b4c6,_0x4f837b,_0x28f8ee,0xa,_0x37321a[0x3d]),_0x4f837b=_0xa1034c(_0x4f837b,_0x21e62d,_0x4a3133,_0x20b4c6,_0x7387f0,0xf,_0x37321a[0x3e]),_0x20b4c6=_0xa1034c(_0x20b4c6,_0x4f837b,_0x21e62d,_0x4a3133,_0x1309bb,0x15,_0x37321a[0x3f]),_0x52d345[0x0]=_0x52d345[0x0]+_0x4a3133|0x0,_0x52d345[0x1]=_0x52d345[0x1]+_0x20b4c6|0x0,_0x52d345[0x2]=_0x52d345[0x2]+_0x4f837b|0x0,_0x52d345[0x3]=_0x52d345[0x3]+_0x21e62d|0x0;},'_doFinalize':function(){var _0x211b4c=_0x56cfc5,_0x16c07b=this['_data'],_0x493222=_0x16c07b[_0x211b4c(0xd5)],_0xe1e53=this[_0x211b4c(0x36c)]*0x8,_0x63f9cc=_0x16c07b['sigBytes']*0x8;_0x493222[_0x63f9cc>>>0x5]|=0x80<<0x18-_0x63f9cc%0x20;var _0x48e4ce=_0x37f40b[_0x211b4c(0x3a4)](_0xe1e53/0x100000000),_0x294271=_0xe1e53;_0x493222[(_0x63f9cc+0x40>>>0x9<<0x4)+0xf]=(_0x48e4ce<<0x8|_0x48e4ce>>>0x18)&0xff00ff|(_0x48e4ce<<0x18|_0x48e4ce>>>0x8)&0xff00ff00,_0x493222[(_0x63f9cc+0x40>>>0x9<<0x4)+0xe]=(_0x294271<<0x8|_0x294271>>>0x18)&0xff00ff|(_0x294271<<0x18|_0x294271>>>0x8)&0xff00ff00,_0x16c07b[_0x211b4c(0x1a5)]=(_0x493222[_0x211b4c(0x337)]+0x1)*0x4,this[_0x211b4c(0x390)]();for(var _0x225bd7=this[_0x211b4c(0x27a)],_0x1a557=_0x225bd7['words'],_0xa1e5d7=0x0;_0xa1e5d7<0x4;_0xa1e5d7++){var _0x4dd271=_0x1a557[_0xa1e5d7];_0x1a557[_0xa1e5d7]=(_0x4dd271<<0x8|_0x4dd271>>>0x18)&0xff00ff|(_0x4dd271<<0x18|_0x4dd271>>>0x8)&0xff00ff00;}return _0x225bd7;},'clone':function(){var _0x4ca5b9=_0x56cfc5,_0x3027a6=_0x3db592[_0x4ca5b9(0x253)][_0x4ca5b9(0x3c1)](this);return _0x3027a6[_0x4ca5b9(0x27a)]=this['_hash'][_0x4ca5b9(0x253)](),_0x3027a6;}});function _0x3e5bc9(_0x81119a,_0x5a582b,_0x166a93,_0x62010,_0x2f1a98,_0x50e925,_0x355745){var _0x88b1ab=_0x81119a+(_0x5a582b&_0x166a93|~_0x5a582b&_0x62010)+_0x2f1a98+_0x355745;return(_0x88b1ab<<_0x50e925|_0x88b1ab>>>0x20-_0x50e925)+_0x5a582b;}function _0x17e8f4(_0xbd03a0,_0x401cc8,_0x445b35,_0x1438cf,_0x184a1d,_0x28e3b3,_0x164246){var _0x36e471=_0xbd03a0+(_0x401cc8&_0x1438cf|_0x445b35&~_0x1438cf)+_0x184a1d+_0x164246;return(_0x36e471<<_0x28e3b3|_0x36e471>>>0x20-_0x28e3b3)+_0x401cc8;}function _0x139fc8(_0x42282f,_0x592866,_0x438d96,_0x337052,_0x49b3dc,_0x20da0e,_0x22c05c){var _0x2c3a9d=_0x42282f+(_0x592866^_0x438d96^_0x337052)+_0x49b3dc+_0x22c05c;return(_0x2c3a9d<<_0x20da0e|_0x2c3a9d>>>0x20-_0x20da0e)+_0x592866;}function _0xa1034c(_0x24649f,_0x526491,_0xb6b907,_0x3f7776,_0x5d6a94,_0x5586f9,_0x120ae0){var _0x1e5096=_0x24649f+(_0xb6b907^(_0x526491|~_0x3f7776))+_0x5d6a94+_0x120ae0;return(_0x1e5096<<_0x5586f9|_0x1e5096>>>0x20-_0x5586f9)+_0x526491;}_0x1eca9a['MD5']=_0x3db592[_0x56cfc5(0xc1)](_0x486a51),_0x1eca9a[_0x56cfc5(0x401)]=_0x3db592[_0x56cfc5(0x419)](_0x486a51);}(Math),_0x47fca2['MD5'];}));}(_0x1e5191)),_0x1e5191[_0x427ce4(0x42d)];}var _0x383907={'exports':{}},_0x2038ab={'exports':{}},_0x10b00c=_0x2038ab[_0x4a9ac9(0x42d)],_0xac229b;function _0x284e27(){var _0x5cc5f4=_0x4a9ac9;return _0xac229b||(_0xac229b=0x1,function(_0xb087d,_0x232a1a){(function(_0x2ffdcb,_0x55e2b7){var _0x5b7790=_0x515f;_0xb087d[_0x5b7790(0x42d)]=_0x55e2b7(_0x576c57());}(_0x10b00c,function(_0x10b7d0){var _0x2de935=_0x515f;return(function(){var _0x2e9208=_0x515f,_0x1814fc=_0x10b7d0,_0x1856ac=_0x1814fc['lib'],_0x10e443=_0x1856ac[_0x2e9208(0x398)],_0x29ca02=_0x1856ac[_0x2e9208(0x233)],_0x4c431d=_0x1814fc[_0x2e9208(0xfd)],_0x47adab=[],_0x1a5dbf=_0x4c431d[_0x2e9208(0x145)]=_0x29ca02[_0x2e9208(0x298)]({'_doReset':function(){var _0x285931=_0x2e9208;this[_0x285931(0x27a)]=new _0x10e443[(_0x285931(0x3d7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x27b59f,_0x12eb4b){var _0x20af6e=_0x2e9208;for(var _0x415e65=this['_hash'][_0x20af6e(0xd5)],_0x3a7a5e=_0x415e65[0x0],_0x519e4e=_0x415e65[0x1],_0x409dac=_0x415e65[0x2],_0x4fdc59=_0x415e65[0x3],_0x4a8f12=_0x415e65[0x4],_0x3b2292=0x0;_0x3b2292<0x50;_0x3b2292++){if(_0x3b2292<0x10)_0x47adab[_0x3b2292]=_0x27b59f[_0x12eb4b+_0x3b2292]|0x0;else{var _0x22eb4=_0x47adab[_0x3b2292-0x3]^_0x47adab[_0x3b2292-0x8]^_0x47adab[_0x3b2292-0xe]^_0x47adab[_0x3b2292-0x10];_0x47adab[_0x3b2292]=_0x22eb4<<0x1|_0x22eb4>>>0x1f;}var _0x21575c=(_0x3a7a5e<<0x5|_0x3a7a5e>>>0x1b)+_0x4a8f12+_0x47adab[_0x3b2292];_0x3b2292<0x14?_0x21575c+=(_0x519e4e&_0x409dac|~_0x519e4e&_0x4fdc59)+0x5a827999:_0x3b2292<0x28?_0x21575c+=(_0x519e4e^_0x409dac^_0x4fdc59)+0x6ed9eba1:_0x3b2292<0x3c?_0x21575c+=(_0x519e4e&_0x409dac|_0x519e4e&_0x4fdc59|_0x409dac&_0x4fdc59)-0x70e44324:_0x21575c+=(_0x519e4e^_0x409dac^_0x4fdc59)-0x359d3e2a,_0x4a8f12=_0x4fdc59,_0x4fdc59=_0x409dac,_0x409dac=_0x519e4e<<0x1e|_0x519e4e>>>0x2,_0x519e4e=_0x3a7a5e,_0x3a7a5e=_0x21575c;}_0x415e65[0x0]=_0x415e65[0x0]+_0x3a7a5e|0x0,_0x415e65[0x1]=_0x415e65[0x1]+_0x519e4e|0x0,_0x415e65[0x2]=_0x415e65[0x2]+_0x409dac|0x0,_0x415e65[0x3]=_0x415e65[0x3]+_0x4fdc59|0x0,_0x415e65[0x4]=_0x415e65[0x4]+_0x4a8f12|0x0;},'_doFinalize':function(){var _0x58791f=_0x2e9208,_0x3aa728=this[_0x58791f(0x10c)],_0x41eb2c=_0x3aa728['words'],_0x2fbf49=this[_0x58791f(0x36c)]*0x8,_0x4bb912=_0x3aa728[_0x58791f(0x1a5)]*0x8;return _0x41eb2c[_0x4bb912>>>0x5]|=0x80<<0x18-_0x4bb912%0x20,_0x41eb2c[(_0x4bb912+0x40>>>0x9<<0x4)+0xe]=Math[_0x58791f(0x3a4)](_0x2fbf49/0x100000000),_0x41eb2c[(_0x4bb912+0x40>>>0x9<<0x4)+0xf]=_0x2fbf49,_0x3aa728[_0x58791f(0x1a5)]=_0x41eb2c[_0x58791f(0x337)]*0x4,this[_0x58791f(0x390)](),this[_0x58791f(0x27a)];},'clone':function(){var _0x1d00ad=_0x2e9208,_0x55896e=_0x29ca02[_0x1d00ad(0x253)][_0x1d00ad(0x3c1)](this);return _0x55896e[_0x1d00ad(0x27a)]=this[_0x1d00ad(0x27a)][_0x1d00ad(0x253)](),_0x55896e;}});_0x1814fc['SHA1']=_0x29ca02[_0x2e9208(0xc1)](_0x1a5dbf),_0x1814fc[_0x2e9208(0x246)]=_0x29ca02['_createHmacHelper'](_0x1a5dbf);}()),_0x10b7d0[_0x2de935(0x145)];}));}(_0x2038ab)),_0x2038ab[_0x5cc5f4(0x42d)];}var _0x474439={'exports':{}},_0x4d1777=_0x474439['exports'],_0x4b11f4;function _0x4c4ca8(){var _0x119f82=_0x4a9ac9;return _0x4b11f4||(_0x4b11f4=0x1,function(_0x37c315,_0x10fede){(function(_0x58ad54,_0x1bccf0){var _0x3d05eb=_0x515f;_0x37c315[_0x3d05eb(0x42d)]=_0x1bccf0(_0x576c57());}(_0x4d1777,function(_0x50458a){(function(){var _0x21c78e=_0x515f,_0x425828=_0x50458a,_0x6df2e9=_0x425828[_0x21c78e(0x428)],_0x37dc67=_0x6df2e9[_0x21c78e(0x3cc)],_0x3b0c58=_0x425828['enc'],_0x2543d7=_0x3b0c58[_0x21c78e(0x248)],_0x5ecb6f=_0x425828[_0x21c78e(0xfd)];_0x5ecb6f[_0x21c78e(0x13c)]=_0x37dc67[_0x21c78e(0x298)]({'init':function(_0x5d852d,_0x49ae5d){var _0x4b24a3=_0x21c78e;_0x5d852d=this[_0x4b24a3(0x1ab)]=new _0x5d852d[(_0x4b24a3(0x3d7))](),typeof _0x49ae5d==_0x4b24a3(0x299)&&(_0x49ae5d=_0x2543d7[_0x4b24a3(0xb7)](_0x49ae5d));var _0x66db74=_0x5d852d[_0x4b24a3(0xc2)],_0x35fe8e=_0x66db74*0x4;_0x49ae5d[_0x4b24a3(0x1a5)]>_0x35fe8e&&(_0x49ae5d=_0x5d852d[_0x4b24a3(0x266)](_0x49ae5d)),_0x49ae5d[_0x4b24a3(0x33d)]();for(var _0xa224d6=this['_oKey']=_0x49ae5d['clone'](),_0x301400=this[_0x4b24a3(0x340)]=_0x49ae5d['clone'](),_0x45fd94=_0xa224d6[_0x4b24a3(0xd5)],_0x5ea1a5=_0x301400[_0x4b24a3(0xd5)],_0x415057=0x0;_0x415057<_0x66db74;_0x415057++)_0x45fd94[_0x415057]^=0x5c5c5c5c,_0x5ea1a5[_0x415057]^=0x36363636;_0xa224d6['sigBytes']=_0x301400[_0x4b24a3(0x1a5)]=_0x35fe8e,this[_0x4b24a3(0x101)]();},'reset':function(){var _0x1b2fb4=_0x21c78e,_0x24bf82=this[_0x1b2fb4(0x1ab)];_0x24bf82[_0x1b2fb4(0x101)](),_0x24bf82['update'](this[_0x1b2fb4(0x340)]);},'update':function(_0x1cb2a8){var _0x46c3dd=_0x21c78e;return this[_0x46c3dd(0x1ab)]['update'](_0x1cb2a8),this;},'finalize':function(_0x5deb77){var _0x38936e=_0x21c78e,_0xc29160=this[_0x38936e(0x1ab)],_0x34eef7=_0xc29160[_0x38936e(0x266)](_0x5deb77);_0xc29160[_0x38936e(0x101)]();var _0x5004cc=_0xc29160[_0x38936e(0x266)](this['_oKey'][_0x38936e(0x253)]()[_0x38936e(0x24e)](_0x34eef7));return _0x5004cc;}});}());}));}(_0x474439)),_0x474439[_0x119f82(0x42d)];}var _0xf5dc48=_0x383907[_0x4a9ac9(0x42d)],_0x227cea;function _0x1c2ae5(){var _0x114382=_0x4a9ac9;return _0x227cea||(_0x227cea=0x1,function(_0x4b5799,_0x7e7968){(function(_0x40f4ea,_0x571e29,_0x1d57cc){_0x4b5799['exports']=_0x571e29(_0x576c57(),_0x284e27(),_0x4c4ca8());}(_0xf5dc48,function(_0xca77c4){return(function(){var _0x590e10=_0x515f,_0x4ac5d0=_0xca77c4,_0x7ece34=_0x4ac5d0[_0x590e10(0x428)],_0x44e77d=_0x7ece34['Base'],_0xa94e10=_0x7ece34[_0x590e10(0x398)],_0x5b11ce=_0x4ac5d0['algo'],_0x831cbf=_0x5b11ce['MD5'],_0x843d47=_0x5b11ce[_0x590e10(0x30f)]=_0x44e77d[_0x590e10(0x298)]({'cfg':_0x44e77d[_0x590e10(0x298)]({'keySize':0x80/0x20,'hasher':_0x831cbf,'iterations':0x1}),'init':function(_0x364081){var _0x3445f7=_0x590e10;this[_0x3445f7(0x157)]=this[_0x3445f7(0x157)][_0x3445f7(0x298)](_0x364081);},'compute':function(_0x2c818d,_0x272192){var _0x1122d2=_0x590e10;for(var _0x14bcc2,_0x38d43b=this['cfg'],_0x3d8280=_0x38d43b['hasher'][_0x1122d2(0x2b2)](),_0x18c271=_0xa94e10[_0x1122d2(0x2b2)](),_0x45fc37=_0x18c271['words'],_0x2cb5bd=_0x38d43b[_0x1122d2(0x279)],_0x23525d=_0x38d43b[_0x1122d2(0x43f)];_0x45fc37[_0x1122d2(0x337)]<_0x2cb5bd;){_0x14bcc2&&_0x3d8280[_0x1122d2(0x182)](_0x14bcc2),_0x14bcc2=_0x3d8280['update'](_0x2c818d)[_0x1122d2(0x266)](_0x272192),_0x3d8280[_0x1122d2(0x101)]();for(var _0x59de5f=0x1;_0x59de5f<_0x23525d;_0x59de5f++)_0x14bcc2=_0x3d8280[_0x1122d2(0x266)](_0x14bcc2),_0x3d8280['reset']();_0x18c271['concat'](_0x14bcc2);}return _0x18c271['sigBytes']=_0x2cb5bd*0x4,_0x18c271;}});_0x4ac5d0[_0x590e10(0x30f)]=function(_0x21cdb0,_0x58aad2,_0x1ebbc3){var _0x59a9dd=_0x590e10;return _0x843d47[_0x59a9dd(0x2b2)](_0x1ebbc3)[_0x59a9dd(0x34d)](_0x21cdb0,_0x58aad2);};}()),_0xca77c4['EvpKDF'];}));}(_0x383907)),_0x383907[_0x114382(0x42d)];}var _0x407824={'exports':{}},_0x33805b=_0x407824[_0x4a9ac9(0x42d)],_0x1981a5;function _0x2e7639(){var _0x1819cf=_0x4a9ac9;return _0x1981a5||(_0x1981a5=0x1,function(_0x201471,_0x4f74dc){(function(_0x3e05e7,_0xe02101,_0x1c2950){var _0x26c41c=_0x515f;_0x201471[_0x26c41c(0x42d)]=_0xe02101(_0x576c57(),_0x1c2ae5());}(_0x33805b,function(_0xd4f0d6){var _0x3795e1=_0x515f;_0xd4f0d6['lib'][_0x3795e1(0x36f)]||function(_0xad4fc3){var _0x3f4063=_0x3795e1,_0x390542=_0xd4f0d6,_0x5d3a75=_0x390542[_0x3f4063(0x428)],_0x26da69=_0x5d3a75['Base'],_0x53a5ac=_0x5d3a75['WordArray'],_0x4d4d1e=_0x5d3a75['BufferedBlockAlgorithm'],_0x43dc3c=_0x390542[_0x3f4063(0x19a)];_0x43dc3c[_0x3f4063(0x248)];var _0x4b56b7=_0x43dc3c[_0x3f4063(0x405)],_0x45a89b=_0x390542[_0x3f4063(0xfd)],_0x12f44c=_0x45a89b['EvpKDF'],_0x24463a=_0x5d3a75[_0x3f4063(0x36f)]=_0x4d4d1e[_0x3f4063(0x298)]({'cfg':_0x26da69[_0x3f4063(0x298)](),'createEncryptor':function(_0x1bb132,_0x2aa083){var _0x1d5252=_0x3f4063;return this[_0x1d5252(0x2b2)](this[_0x1d5252(0x339)],_0x1bb132,_0x2aa083);},'createDecryptor':function(_0x51478a,_0x6c15d){var _0x56d549=_0x3f4063;return this['create'](this[_0x56d549(0x3ca)],_0x51478a,_0x6c15d);},'init':function(_0x29d976,_0x14c384,_0x1dd747){var _0x1f567b=_0x3f4063;this[_0x1f567b(0x157)]=this[_0x1f567b(0x157)]['extend'](_0x1dd747),this[_0x1f567b(0x104)]=_0x29d976,this[_0x1f567b(0x1a8)]=_0x14c384,this[_0x1f567b(0x101)]();},'reset':function(){var _0x440e37=_0x3f4063;_0x4d4d1e[_0x440e37(0x101)][_0x440e37(0x3c1)](this),this[_0x440e37(0x342)]();},'process':function(_0x5dd85f){var _0x2c6088=_0x3f4063;return this[_0x2c6088(0x29b)](_0x5dd85f),this[_0x2c6088(0x390)]();},'finalize':function(_0x2e8b5b){var _0xe8d782=_0x3f4063;_0x2e8b5b&&this['_append'](_0x2e8b5b);var _0x4467cf=this[_0xe8d782(0x37e)]();return _0x4467cf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x296151(_0xa539ca){var _0x3ea7b7=_0x515f;return typeof _0xa539ca==_0x3ea7b7(0x299)?_0x5a2bd0:_0x422514;}return function(_0x1a16f1){return{'encrypt':function(_0x3770e3,_0x11b9b8,_0x3d45b6){return _0x296151(_0x11b9b8)['encrypt'](_0x1a16f1,_0x3770e3,_0x11b9b8,_0x3d45b6);},'decrypt':function(_0x535f74,_0x2dd979,_0x47b3be){var _0x53c009=_0x515f;return _0x296151(_0x2dd979)[_0x53c009(0x345)](_0x1a16f1,_0x535f74,_0x2dd979,_0x47b3be);}};};}())});_0x5d3a75[_0x3f4063(0x2a9)]=_0x24463a[_0x3f4063(0x298)]({'_doFinalize':function(){var _0x54c401=_0x3f4063,_0x169245=this[_0x54c401(0x390)](!0x0);return _0x169245;},'blockSize':0x1});var _0x2ce270=_0x390542[_0x3f4063(0x3d2)]={},_0x191774=_0x5d3a75[_0x3f4063(0x3e5)]=_0x26da69['extend']({'createEncryptor':function(_0x5949dc,_0x679de1){var _0x3e9b54=_0x3f4063;return this[_0x3e9b54(0x3d8)][_0x3e9b54(0x2b2)](_0x5949dc,_0x679de1);},'createDecryptor':function(_0x3a13c9,_0x4f9efa){var _0x1328be=_0x3f4063;return this[_0x1328be(0x38c)][_0x1328be(0x2b2)](_0x3a13c9,_0x4f9efa);},'init':function(_0x1ba175,_0xb0e8b7){var _0x2c5e49=_0x3f4063;this[_0x2c5e49(0x1a3)]=_0x1ba175,this[_0x2c5e49(0x34a)]=_0xb0e8b7;}}),_0x167d98=_0x2ce270[_0x3f4063(0x3a8)]=(function(){var _0x44a2ad=_0x3f4063,_0x4396fd=_0x191774[_0x44a2ad(0x298)]();_0x4396fd[_0x44a2ad(0x3d8)]=_0x4396fd['extend']({'processBlock':function(_0xf2c42a,_0xef90bf){var _0x45adb7=_0x44a2ad,_0x1faea8=this['_cipher'],_0x3d7573=_0x1faea8[_0x45adb7(0xc2)];_0x41912e[_0x45adb7(0x3c1)](this,_0xf2c42a,_0xef90bf,_0x3d7573),_0x1faea8[_0x45adb7(0xe6)](_0xf2c42a,_0xef90bf),this[_0x45adb7(0x29e)]=_0xf2c42a[_0x45adb7(0x176)](_0xef90bf,_0xef90bf+_0x3d7573);}}),_0x4396fd[_0x44a2ad(0x38c)]=_0x4396fd[_0x44a2ad(0x298)]({'processBlock':function(_0x455287,_0x3cb16){var _0x409215=_0x44a2ad,_0x27c02a=this[_0x409215(0x1a3)],_0x1485e7=_0x27c02a[_0x409215(0xc2)],_0x3645df=_0x455287[_0x409215(0x176)](_0x3cb16,_0x3cb16+_0x1485e7);_0x27c02a[_0x409215(0xcd)](_0x455287,_0x3cb16),_0x41912e[_0x409215(0x3c1)](this,_0x455287,_0x3cb16,_0x1485e7),this[_0x409215(0x29e)]=_0x3645df;}});function _0x41912e(_0x12a1b0,_0x16a9d9,_0x2f19d3){var _0x207d2f=_0x44a2ad,_0x1478c7,_0x1461d5=this[_0x207d2f(0x34a)];_0x1461d5?(_0x1478c7=_0x1461d5,this['_iv']=_0xad4fc3):_0x1478c7=this[_0x207d2f(0x29e)];for(var _0x5e0729=0x0;_0x5e0729<_0x2f19d3;_0x5e0729++)_0x12a1b0[_0x16a9d9+_0x5e0729]^=_0x1478c7[_0x5e0729];}return _0x4396fd;}()),_0x18d8ec=_0x390542[_0x3f4063(0x3c9)]={},_0x5d0039=_0x18d8ec[_0x3f4063(0x1b9)]={'pad':function(_0x5d9871,_0x280d07){var _0x37ab65=_0x3f4063;for(var _0x47e257=_0x280d07*0x4,_0x4c4930=_0x47e257-_0x5d9871[_0x37ab65(0x1a5)]%_0x47e257,_0x458ab7=_0x4c4930<<0x18|_0x4c4930<<0x10|_0x4c4930<<0x8|_0x4c4930,_0x347a21=[],_0x3ed46f=0x0;_0x3ed46f<_0x4c4930;_0x3ed46f+=0x4)_0x347a21['push'](_0x458ab7);var _0x11281d=_0x53a5ac['create'](_0x347a21,_0x4c4930);_0x5d9871[_0x37ab65(0x24e)](_0x11281d);},'unpad':function(_0x35b67e){var _0x20d25e=_0x3f4063,_0x33d1a2=_0x35b67e[_0x20d25e(0xd5)][_0x35b67e[_0x20d25e(0x1a5)]-0x1>>>0x2]&0xff;_0x35b67e['sigBytes']-=_0x33d1a2;}};_0x5d3a75[_0x3f4063(0x268)]=_0x24463a[_0x3f4063(0x298)]({'cfg':_0x24463a[_0x3f4063(0x157)][_0x3f4063(0x298)]({'mode':_0x167d98,'padding':_0x5d0039}),'reset':function(){var _0x5ec4f1=_0x3f4063,_0x3b0007;_0x24463a['reset'][_0x5ec4f1(0x3c1)](this);var _0x3ca8d1=this[_0x5ec4f1(0x157)],_0x2a44f6=_0x3ca8d1['iv'],_0x2313ff=_0x3ca8d1[_0x5ec4f1(0x3d2)];this[_0x5ec4f1(0x104)]==this[_0x5ec4f1(0x339)]?_0x3b0007=_0x2313ff[_0x5ec4f1(0x243)]:(_0x3b0007=_0x2313ff[_0x5ec4f1(0xf8)],this[_0x5ec4f1(0xd7)]=0x1),this['_mode']&&this[_0x5ec4f1(0x28c)][_0x5ec4f1(0x41d)]==_0x3b0007?this['_mode'][_0x5ec4f1(0x3d7)](this,_0x2a44f6&&_0x2a44f6[_0x5ec4f1(0xd5)]):(this[_0x5ec4f1(0x28c)]=_0x3b0007[_0x5ec4f1(0x3c1)](_0x2313ff,this,_0x2a44f6&&_0x2a44f6[_0x5ec4f1(0xd5)]),this['_mode']['__creator']=_0x3b0007);},'_doProcessBlock':function(_0x250c72,_0x508c21){var _0x41f20b=_0x3f4063;this[_0x41f20b(0x28c)][_0x41f20b(0x423)](_0x250c72,_0x508c21);},'_doFinalize':function(){var _0x41142a=_0x3f4063,_0x432f4a,_0x48007e=this[_0x41142a(0x157)]['padding'];return this[_0x41142a(0x104)]==this[_0x41142a(0x339)]?(_0x48007e[_0x41142a(0x3c9)](this[_0x41142a(0x10c)],this[_0x41142a(0xc2)]),_0x432f4a=this[_0x41142a(0x390)](!0x0)):(_0x432f4a=this[_0x41142a(0x390)](!0x0),_0x48007e[_0x41142a(0x358)](_0x432f4a)),_0x432f4a;},'blockSize':0x80/0x20});var _0x10d3c=_0x5d3a75[_0x3f4063(0x230)]=_0x26da69[_0x3f4063(0x298)]({'init':function(_0x346642){var _0x29afa4=_0x3f4063;this[_0x29afa4(0x1dc)](_0x346642);},'toString':function(_0x3d505f){var _0x1fb9ae=_0x3f4063;return(_0x3d505f||this[_0x1fb9ae(0x119)])[_0x1fb9ae(0x195)](this);}}),_0x276dfc=_0x390542['format']={},_0xed76ac=_0x276dfc[_0x3f4063(0x155)]={'stringify':function(_0x53403e){var _0x3cd9be=_0x3f4063,_0xc83ff1,_0x51582f=_0x53403e[_0x3cd9be(0x459)],_0x5379cc=_0x53403e[_0x3cd9be(0x385)];return _0x5379cc?_0xc83ff1=_0x53a5ac[_0x3cd9be(0x2b2)]([0x53616c74,0x65645f5f])['concat'](_0x5379cc)[_0x3cd9be(0x24e)](_0x51582f):_0xc83ff1=_0x51582f,_0xc83ff1[_0x3cd9be(0x1b1)](_0x4b56b7);},'parse':function(_0x229be3){var _0x2b02a1=_0x3f4063,_0x409288,_0x44d431=_0x4b56b7[_0x2b02a1(0xb7)](_0x229be3),_0x1d43ad=_0x44d431['words'];return _0x1d43ad[0x0]==0x53616c74&&_0x1d43ad[0x1]==0x65645f5f&&(_0x409288=_0x53a5ac[_0x2b02a1(0x2b2)](_0x1d43ad[_0x2b02a1(0x176)](0x2,0x4)),_0x1d43ad[_0x2b02a1(0x375)](0x0,0x4),_0x44d431['sigBytes']-=0x10),_0x10d3c[_0x2b02a1(0x2b2)]({'ciphertext':_0x44d431,'salt':_0x409288});}},_0x422514=_0x5d3a75[_0x3f4063(0x3e8)]=_0x26da69[_0x3f4063(0x298)]({'cfg':_0x26da69[_0x3f4063(0x298)]({'format':_0xed76ac}),'encrypt':function(_0x2f41a6,_0x5df91f,_0x27bd1c,_0x572777){var _0x28c4de=_0x3f4063;_0x572777=this[_0x28c4de(0x157)][_0x28c4de(0x298)](_0x572777);var _0x23c30b=_0x2f41a6['createEncryptor'](_0x27bd1c,_0x572777),_0xa5d0b8=_0x23c30b[_0x28c4de(0x266)](_0x5df91f),_0x38f24f=_0x23c30b[_0x28c4de(0x157)];return _0x10d3c['create']({'ciphertext':_0xa5d0b8,'key':_0x27bd1c,'iv':_0x38f24f['iv'],'algorithm':_0x2f41a6,'mode':_0x38f24f[_0x28c4de(0x3d2)],'padding':_0x38f24f[_0x28c4de(0x1c0)],'blockSize':_0x2f41a6[_0x28c4de(0xc2)],'formatter':_0x572777[_0x28c4de(0x377)]});},'decrypt':function(_0x18f667,_0x1f8d46,_0x5f4615,_0x2fbc52){var _0x4ac68b=_0x3f4063;_0x2fbc52=this['cfg'][_0x4ac68b(0x298)](_0x2fbc52),_0x1f8d46=this['_parse'](_0x1f8d46,_0x2fbc52['format']);var _0x4e613e=_0x18f667[_0x4ac68b(0xf8)](_0x5f4615,_0x2fbc52)[_0x4ac68b(0x266)](_0x1f8d46['ciphertext']);return _0x4e613e;},'_parse':function(_0x12cd97,_0x3b40df){var _0x3dd54f=_0x3f4063;return typeof _0x12cd97==_0x3dd54f(0x299)?_0x3b40df[_0x3dd54f(0xb7)](_0x12cd97,this):_0x12cd97;}}),_0x50bcca=_0x390542[_0x3f4063(0x291)]={},_0x42a305=_0x50bcca[_0x3f4063(0x155)]={'execute':function(_0x3d2695,_0x1d571d,_0x3c548c,_0x4bcfa2,_0x491a92){var _0x3a956b=_0x3f4063;if(_0x4bcfa2||(_0x4bcfa2=_0x53a5ac[_0x3a956b(0x255)](0x40/0x8)),_0x491a92)var _0x52b745=_0x12f44c[_0x3a956b(0x2b2)]({'keySize':_0x1d571d+_0x3c548c,'hasher':_0x491a92})[_0x3a956b(0x34d)](_0x3d2695,_0x4bcfa2);else var _0x52b745=_0x12f44c[_0x3a956b(0x2b2)]({'keySize':_0x1d571d+_0x3c548c})['compute'](_0x3d2695,_0x4bcfa2);var _0x49253d=_0x53a5ac[_0x3a956b(0x2b2)](_0x52b745['words'][_0x3a956b(0x176)](_0x1d571d),_0x3c548c*0x4);return _0x52b745[_0x3a956b(0x1a5)]=_0x1d571d*0x4,_0x10d3c['create']({'key':_0x52b745,'iv':_0x49253d,'salt':_0x4bcfa2});}},_0x5a2bd0=_0x5d3a75[_0x3f4063(0x407)]=_0x422514['extend']({'cfg':_0x422514[_0x3f4063(0x157)]['extend']({'kdf':_0x42a305}),'encrypt':function(_0x3db482,_0x509f23,_0x4e5512,_0x5580ae){var _0x1d8a96=_0x3f4063;_0x5580ae=this[_0x1d8a96(0x157)]['extend'](_0x5580ae);var _0x129b6e=_0x5580ae['kdf'][_0x1d8a96(0x2c2)](_0x4e5512,_0x3db482[_0x1d8a96(0x279)],_0x3db482[_0x1d8a96(0x3a7)],_0x5580ae[_0x1d8a96(0x385)],_0x5580ae[_0x1d8a96(0x300)]);_0x5580ae['iv']=_0x129b6e['iv'];var _0x56eb1a=_0x422514[_0x1d8a96(0x32c)][_0x1d8a96(0x3c1)](this,_0x3db482,_0x509f23,_0x129b6e[_0x1d8a96(0x319)],_0x5580ae);return _0x56eb1a[_0x1d8a96(0x1dc)](_0x129b6e),_0x56eb1a;},'decrypt':function(_0x312aa2,_0x4001c8,_0x359d62,_0x2c2930){var _0xabdb90=_0x3f4063;_0x2c2930=this[_0xabdb90(0x157)][_0xabdb90(0x298)](_0x2c2930),_0x4001c8=this[_0xabdb90(0x404)](_0x4001c8,_0x2c2930[_0xabdb90(0x377)]);var _0x1ab816=_0x2c2930[_0xabdb90(0x291)]['execute'](_0x359d62,_0x312aa2[_0xabdb90(0x279)],_0x312aa2[_0xabdb90(0x3a7)],_0x4001c8[_0xabdb90(0x385)],_0x2c2930['hasher']);_0x2c2930['iv']=_0x1ab816['iv'];var _0xc9ed72=_0x422514[_0xabdb90(0x345)]['call'](this,_0x312aa2,_0x4001c8,_0x1ab816[_0xabdb90(0x319)],_0x2c2930);return _0xc9ed72;}});}();}));}(_0x407824)),_0x407824[_0x1819cf(0x42d)];}var _0x3b4b4a=_0x227988[_0x4a9ac9(0x42d)],_0x24745e;function _0x53b78d(){var _0x34a0b5=_0x4a9ac9;return _0x24745e||(_0x24745e=0x1,function(_0x53ce01,_0x4207b2){(function(_0xeda989,_0x3d6c09,_0x58695a){var _0xce04ba=_0x515f;_0x53ce01[_0xce04ba(0x42d)]=_0x3d6c09(_0x576c57(),_0x3a836a(),_0x3a0f7b(),_0x1c2ae5(),_0x2e7639());}(_0x3b4b4a,function(_0x4a8e3b){var _0x4acb76=_0x515f;return(function(){var _0xb0f9a1=_0x515f,_0x55cc00=_0x4a8e3b,_0x1460f8=_0x55cc00['lib'],_0xee5830=_0x1460f8[_0xb0f9a1(0x268)],_0x4fa229=_0x55cc00['algo'],_0x4c0a0c=[],_0x51c8d5=[],_0x562a0c=[],_0x49d982=[],_0x30f00a=[],_0x5e2349=[],_0x2b6213=[],_0x3f804e=[],_0x2b328e=[],_0x6d6d6e=[];(function(){for(var _0x379463=[],_0x61f325=0x0;_0x61f325<0x100;_0x61f325++)_0x61f325<0x80?_0x379463[_0x61f325]=_0x61f325<<0x1:_0x379463[_0x61f325]=_0x61f325<<0x1^0x11b;for(var _0x53123f=0x0,_0xa4a679=0x0,_0x61f325=0x0;_0x61f325<0x100;_0x61f325++){var _0xfaa861=_0xa4a679^_0xa4a679<<0x1^_0xa4a679<<0x2^_0xa4a679<<0x3^_0xa4a679<<0x4;_0xfaa861=_0xfaa861>>>0x8^_0xfaa861&0xff^0x63,_0x4c0a0c[_0x53123f]=_0xfaa861,_0x51c8d5[_0xfaa861]=_0x53123f;var _0x553125=_0x379463[_0x53123f],_0x431616=_0x379463[_0x553125],_0x2b30b0=_0x379463[_0x431616],_0x31daaa=_0x379463[_0xfaa861]*0x101^_0xfaa861*0x1010100;_0x562a0c[_0x53123f]=_0x31daaa<<0x18|_0x31daaa>>>0x8,_0x49d982[_0x53123f]=_0x31daaa<<0x10|_0x31daaa>>>0x10,_0x30f00a[_0x53123f]=_0x31daaa<<0x8|_0x31daaa>>>0x18,_0x5e2349[_0x53123f]=_0x31daaa;var _0x31daaa=_0x2b30b0*0x1010101^_0x431616*0x10001^_0x553125*0x101^_0x53123f*0x1010100;_0x2b6213[_0xfaa861]=_0x31daaa<<0x18|_0x31daaa>>>0x8,_0x3f804e[_0xfaa861]=_0x31daaa<<0x10|_0x31daaa>>>0x10,_0x2b328e[_0xfaa861]=_0x31daaa<<0x8|_0x31daaa>>>0x18,_0x6d6d6e[_0xfaa861]=_0x31daaa,_0x53123f?(_0x53123f=_0x553125^_0x379463[_0x379463[_0x379463[_0x2b30b0^_0x553125]]],_0xa4a679^=_0x379463[_0x379463[_0xa4a679]]):_0x53123f=_0xa4a679=0x1;}}());var _0x3a3740=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xbd07a9=_0x4fa229[_0xb0f9a1(0x371)]=_0xee5830[_0xb0f9a1(0x298)]({'_doReset':function(){var _0x59dd57=_0xb0f9a1,_0x3fedae;if(!(this[_0x59dd57(0xd0)]&&this[_0x59dd57(0x2b5)]===this[_0x59dd57(0x1a8)])){for(var _0x1a254a=this[_0x59dd57(0x2b5)]=this[_0x59dd57(0x1a8)],_0x22b40a=_0x1a254a[_0x59dd57(0xd5)],_0x11ddaa=_0x1a254a[_0x59dd57(0x1a5)]/0x4,_0x2fe5c4=this[_0x59dd57(0xd0)]=_0x11ddaa+0x6,_0x3c63cc=(_0x2fe5c4+0x1)*0x4,_0x10767b=this[_0x59dd57(0x2dc)]=[],_0x46e58b=0x0;_0x46e58b<_0x3c63cc;_0x46e58b++)_0x46e58b<_0x11ddaa?_0x10767b[_0x46e58b]=_0x22b40a[_0x46e58b]:(_0x3fedae=_0x10767b[_0x46e58b-0x1],_0x46e58b%_0x11ddaa?_0x11ddaa>0x6&&_0x46e58b%_0x11ddaa==0x4&&(_0x3fedae=_0x4c0a0c[_0x3fedae>>>0x18]<<0x18|_0x4c0a0c[_0x3fedae>>>0x10&0xff]<<0x10|_0x4c0a0c[_0x3fedae>>>0x8&0xff]<<0x8|_0x4c0a0c[_0x3fedae&0xff]):(_0x3fedae=_0x3fedae<<0x8|_0x3fedae>>>0x18,_0x3fedae=_0x4c0a0c[_0x3fedae>>>0x18]<<0x18|_0x4c0a0c[_0x3fedae>>>0x10&0xff]<<0x10|_0x4c0a0c[_0x3fedae>>>0x8&0xff]<<0x8|_0x4c0a0c[_0x3fedae&0xff],_0x3fedae^=_0x3a3740[_0x46e58b/_0x11ddaa|0x0]<<0x18),_0x10767b[_0x46e58b]=_0x10767b[_0x46e58b-_0x11ddaa]^_0x3fedae);for(var _0x747856=this[_0x59dd57(0x330)]=[],_0x29dc37=0x0;_0x29dc37<_0x3c63cc;_0x29dc37++){var _0x46e58b=_0x3c63cc-_0x29dc37;if(_0x29dc37%0x4)var _0x3fedae=_0x10767b[_0x46e58b];else var _0x3fedae=_0x10767b[_0x46e58b-0x4];_0x29dc37<0x4||_0x46e58b<=0x4?_0x747856[_0x29dc37]=_0x3fedae:_0x747856[_0x29dc37]=_0x2b6213[_0x4c0a0c[_0x3fedae>>>0x18]]^_0x3f804e[_0x4c0a0c[_0x3fedae>>>0x10&0xff]]^_0x2b328e[_0x4c0a0c[_0x3fedae>>>0x8&0xff]]^_0x6d6d6e[_0x4c0a0c[_0x3fedae&0xff]];}}},'encryptBlock':function(_0x3ac6ba,_0x2fe087){var _0x40a528=_0xb0f9a1;this[_0x40a528(0x161)](_0x3ac6ba,_0x2fe087,this[_0x40a528(0x2dc)],_0x562a0c,_0x49d982,_0x30f00a,_0x5e2349,_0x4c0a0c);},'decryptBlock':function(_0x16f6a7,_0x2cca92){var _0x17b47f=_0xb0f9a1,_0x51e159=_0x16f6a7[_0x2cca92+0x1];_0x16f6a7[_0x2cca92+0x1]=_0x16f6a7[_0x2cca92+0x3],_0x16f6a7[_0x2cca92+0x3]=_0x51e159,this[_0x17b47f(0x161)](_0x16f6a7,_0x2cca92,this[_0x17b47f(0x330)],_0x2b6213,_0x3f804e,_0x2b328e,_0x6d6d6e,_0x51c8d5);var _0x51e159=_0x16f6a7[_0x2cca92+0x1];_0x16f6a7[_0x2cca92+0x1]=_0x16f6a7[_0x2cca92+0x3],_0x16f6a7[_0x2cca92+0x3]=_0x51e159;},'_doCryptBlock':function(_0x5e8ce8,_0x52afc2,_0x4cbc04,_0x9637bc,_0x3b737a,_0x3d1a7b,_0x8a093a,_0x3c5588){for(var _0x237acc=this['_nRounds'],_0x1d4c69=_0x5e8ce8[_0x52afc2]^_0x4cbc04[0x0],_0x56e018=_0x5e8ce8[_0x52afc2+0x1]^_0x4cbc04[0x1],_0x446003=_0x5e8ce8[_0x52afc2+0x2]^_0x4cbc04[0x2],_0x38a6b3=_0x5e8ce8[_0x52afc2+0x3]^_0x4cbc04[0x3],_0x376871=0x4,_0x5d8ccc=0x1;_0x5d8ccc<_0x237acc;_0x5d8ccc++){var _0x3f4b93=_0x9637bc[_0x1d4c69>>>0x18]^_0x3b737a[_0x56e018>>>0x10&0xff]^_0x3d1a7b[_0x446003>>>0x8&0xff]^_0x8a093a[_0x38a6b3&0xff]^_0x4cbc04[_0x376871++],_0x3a863a=_0x9637bc[_0x56e018>>>0x18]^_0x3b737a[_0x446003>>>0x10&0xff]^_0x3d1a7b[_0x38a6b3>>>0x8&0xff]^_0x8a093a[_0x1d4c69&0xff]^_0x4cbc04[_0x376871++],_0x50030c=_0x9637bc[_0x446003>>>0x18]^_0x3b737a[_0x38a6b3>>>0x10&0xff]^_0x3d1a7b[_0x1d4c69>>>0x8&0xff]^_0x8a093a[_0x56e018&0xff]^_0x4cbc04[_0x376871++],_0x1a5eab=_0x9637bc[_0x38a6b3>>>0x18]^_0x3b737a[_0x1d4c69>>>0x10&0xff]^_0x3d1a7b[_0x56e018>>>0x8&0xff]^_0x8a093a[_0x446003&0xff]^_0x4cbc04[_0x376871++];_0x1d4c69=_0x3f4b93,_0x56e018=_0x3a863a,_0x446003=_0x50030c,_0x38a6b3=_0x1a5eab;}var _0x3f4b93=(_0x3c5588[_0x1d4c69>>>0x18]<<0x18|_0x3c5588[_0x56e018>>>0x10&0xff]<<0x10|_0x3c5588[_0x446003>>>0x8&0xff]<<0x8|_0x3c5588[_0x38a6b3&0xff])^_0x4cbc04[_0x376871++],_0x3a863a=(_0x3c5588[_0x56e018>>>0x18]<<0x18|_0x3c5588[_0x446003>>>0x10&0xff]<<0x10|_0x3c5588[_0x38a6b3>>>0x8&0xff]<<0x8|_0x3c5588[_0x1d4c69&0xff])^_0x4cbc04[_0x376871++],_0x50030c=(_0x3c5588[_0x446003>>>0x18]<<0x18|_0x3c5588[_0x38a6b3>>>0x10&0xff]<<0x10|_0x3c5588[_0x1d4c69>>>0x8&0xff]<<0x8|_0x3c5588[_0x56e018&0xff])^_0x4cbc04[_0x376871++],_0x1a5eab=(_0x3c5588[_0x38a6b3>>>0x18]<<0x18|_0x3c5588[_0x1d4c69>>>0x10&0xff]<<0x10|_0x3c5588[_0x56e018>>>0x8&0xff]<<0x8|_0x3c5588[_0x446003&0xff])^_0x4cbc04[_0x376871++];_0x5e8ce8[_0x52afc2]=_0x3f4b93,_0x5e8ce8[_0x52afc2+0x1]=_0x3a863a,_0x5e8ce8[_0x52afc2+0x2]=_0x50030c,_0x5e8ce8[_0x52afc2+0x3]=_0x1a5eab;},'keySize':0x100/0x20});_0x55cc00['AES']=_0xee5830[_0xb0f9a1(0xc1)](_0xbd07a9);}()),_0x4a8e3b[_0x4acb76(0x371)];}));}(_0x227988)),_0x227988[_0x34a0b5(0x42d)];}var _0x472caf=_0x53b78d();const _0x2b5247=_0x164355(_0x472caf);var _0xfcabc9=_0x3a836a();const _0x524601=_0x164355(_0xfcabc9);var _0x29788f={'exports':{}},_0x201d61=_0x29788f[_0x4a9ac9(0x42d)],_0x2b4276;function _0x4acd7a(){var _0x211a0e=_0x4a9ac9;return _0x2b4276||(_0x2b4276=0x1,function(_0x4e1ec7,_0x2b8f91){(function(_0x3ae892,_0x251400){var _0x48ea08=_0x515f;_0x4e1ec7[_0x48ea08(0x42d)]=_0x251400(_0x576c57());}(_0x201d61,function(_0x330467){return _0x330467['enc']['Utf8'];}));}(_0x29788f)),_0x29788f[_0x211a0e(0x42d)];}var _0x1d84ec=_0x4acd7a();const _0x30df85=_0x164355(_0x1d84ec);var _0x513618={'exports':{}},_0x2ba85a=_0x513618[_0x4a9ac9(0x42d)],_0x40fc7c;function _0x1974c6(){var _0x2bbf50=_0x4a9ac9;return _0x40fc7c||(_0x40fc7c=0x1,function(_0x40f230,_0xfe44a3){(function(_0x537512,_0x554b02){var _0x35419b=_0x515f;_0x40f230[_0x35419b(0x42d)]=_0x554b02(_0x576c57());}(_0x2ba85a,function(_0x196c2f){var _0x1ce2e8=_0x515f;return(function(){var _0x1ed723=_0x515f;if(typeof ArrayBuffer==_0x1ed723(0x143)){var _0x1ccd28=_0x196c2f,_0x1d2af7=_0x1ccd28[_0x1ed723(0x428)],_0x310b28=_0x1d2af7['WordArray'],_0x122e28=_0x310b28[_0x1ed723(0x3d7)],_0x2fdb61=_0x310b28[_0x1ed723(0x3d7)]=function(_0x30b34e){var _0x23985c=_0x1ed723;if(_0x30b34e instanceof ArrayBuffer&&(_0x30b34e=new Uint8Array(_0x30b34e)),(_0x30b34e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x30b34e instanceof Uint8ClampedArray||_0x30b34e instanceof Int16Array||_0x30b34e instanceof Uint16Array||_0x30b34e instanceof Int32Array||_0x30b34e instanceof Uint32Array||_0x30b34e instanceof Float32Array||_0x30b34e instanceof Float64Array)&&(_0x30b34e=new Uint8Array(_0x30b34e['buffer'],_0x30b34e[_0x23985c(0x154)],_0x30b34e[_0x23985c(0x437)])),_0x30b34e instanceof Uint8Array){for(var _0x3d783c=_0x30b34e[_0x23985c(0x437)],_0x573121=[],_0x453bf8=0x0;_0x453bf8<_0x3d783c;_0x453bf8++)_0x573121[_0x453bf8>>>0x2]|=_0x30b34e[_0x453bf8]<<0x18-_0x453bf8%0x4*0x8;_0x122e28[_0x23985c(0x3c1)](this,_0x573121,_0x3d783c);}else _0x122e28[_0x23985c(0x108)](this,arguments);};_0x2fdb61[_0x1ed723(0x3ad)]=_0x310b28;}}()),_0x196c2f[_0x1ce2e8(0x428)][_0x1ce2e8(0x398)];}));}(_0x513618)),_0x513618[_0x2bbf50(0x42d)];}var _0x157f4c=_0x1974c6();const _0x145f7a=_0x164355(_0x157f4c);var _0x52d416={'exports':{}},_0xe84bf4=_0x52d416[_0x4a9ac9(0x42d)],_0x4b13b6;function _0x589bf3(){var _0x13ce2a=_0x4a9ac9;return _0x4b13b6||(_0x4b13b6=0x1,function(_0x168c3e,_0x5b7f76){(function(_0x17cfb7,_0x53bf9c,_0x1d029f){var _0x22651a=_0x515f;_0x168c3e[_0x22651a(0x42d)]=_0x53bf9c(_0x576c57(),_0x2e7639());}(_0xe84bf4,function(_0x12753f){var _0x2418fa=_0x515f;return _0x12753f['pad'][_0x2418fa(0x231)]={'pad':function(){},'unpad':function(){}},_0x12753f[_0x2418fa(0x3c9)]['NoPadding'];}));}(_0x52d416)),_0x52d416[_0x13ce2a(0x42d)];}var _0x47a926=_0x589bf3();const _0x495650=_0x164355(_0x47a926);function _0x2a2b7b(_0x3d5a3c,_0x34f0e5){var _0x1f6edd=_0x4a9ac9;const _0x2a77d9=_0x34f0e5-_0x3d5a3c[_0x1f6edd(0x337)]%_0x34f0e5,_0xe5f949=String[_0x1f6edd(0x22b)](_0x2a77d9)['repeat'](_0x2a77d9);return _0x3d5a3c+_0xe5f949;}function _0x1c615f(_0x265287,_0xe13727){var _0x593aa6=_0x4a9ac9;const _0x191be4=_0x145f7a[_0x593aa6(0x255)](0x10),_0x5cfe3b=_0x2a2b7b(_0x265287,0x10),_0x2495bb=_0x2b5247['encrypt'](_0x30df85['parse'](_0x5cfe3b),_0x524601['parse'](_0xe13727),{'iv':_0x191be4,'padding':_0x495650});return _0x191be4['concat'](_0x2495bb[_0x593aa6(0x459)])[_0x593aa6(0x1b1)](_0x524601);}function _0x5f1112(){var _0x4a85c7=_0x4a9ac9;const _0x59598d=_0x4ae2a6[_0x4a85c7(0x1ce)]()[_0x4a85c7(0x19e)];if(_0x59598d){const _0x2fee29={'time':Math[_0x4a85c7(0x3a4)](Date['now']()/0x3e8),'domain':location['hostname']};return _0x1c615f(JSON[_0x4a85c7(0x195)](_0x2fee29),_0x59598d);}}var _0x1e0e92=Object['getOwnPropertyDescriptor'],_0xece349=(_0x30e8c6,_0x19ede,_0x1e5dc9,_0x3dd9de)=>{var _0x5b7785=_0x4a9ac9;for(var _0x2c8db3=_0x3dd9de>0x1?void 0x0:_0x3dd9de?_0x1e0e92(_0x19ede,_0x1e5dc9):_0x19ede,_0x1881d9=_0x30e8c6[_0x5b7785(0x337)]-0x1,_0x5b9479;_0x1881d9>=0x0;_0x1881d9--)(_0x5b9479=_0x30e8c6[_0x1881d9])&&(_0x2c8db3=_0x5b9479(_0x2c8db3)||_0x2c8db3);return _0x2c8db3;},_0x37aef5=(_0x29ae90,_0x52de04)=>(_0x20c25c,_0x3ef106)=>_0x52de04(_0x20c25c,_0x3ef106,_0x29ae90);let _0x29cb3a=class{constructor(_0x3b76ce){var _0x410b92=_0x4a9ac9;this['_httpService']=_0x3b76ce,this[_0x410b92(0x325)]();}[_0x4a9ac9(0x325)](){var _0x2a7d67=_0x4a9ac9;this[_0x2a7d67(0x16f)][_0x2a7d67(0x3d4)]({'interceptor':(_0x170027,_0x416942)=>{var _0x15cfb2=_0x2a7d67;const _0x466553=_0x170027[_0x15cfb2(0x222)],_0x5a684c=_0x5f1112();return _0x5a684c&&_0x466553[_0x15cfb2(0x356)](_0x15cfb2(0x22d),_0x5a684c),_0x416942(_0x170027);}});}};_0x29cb3a=_0xece349([_0x37aef5(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1['HTTPService']))],_0x29cb3a);var _0x5e0736=Object['getOwnPropertyDescriptor'],_0x2b691d=(_0x40ac74,_0x19a62b,_0x166850,_0xfe7c9d)=>{var _0x183820=_0x4a9ac9;for(var _0x4a0532=_0xfe7c9d>0x1?void 0x0:_0xfe7c9d?_0x5e0736(_0x19a62b,_0x166850):_0x19a62b,_0x1e946b=_0x40ac74[_0x183820(0x337)]-0x1,_0x3016a9;_0x1e946b>=0x0;_0x1e946b--)(_0x3016a9=_0x40ac74[_0x1e946b])&&(_0x4a0532=_0x3016a9(_0x4a0532)||_0x4a0532);return _0x4a0532;},_0x3b8089=(_0x1b07a0,_0x34e45e)=>(_0x530c9e,_0x274c0b)=>_0x34e45e(_0x530c9e,_0x274c0b,_0x1b07a0);_0x4113be['DataLoaderService']=class extends _0x414ab0['RxDisposable']{constructor(_0x3dfae5,_0x518bce,_0x1b17bc){var _0x229889=_0x4a9ac9;super(),_0x213c49(this,_0x229889(0x2e4),new _0x5691e8['BehaviorSubject'](null)),_0x213c49(this,_0x229889(0x438),this['_unitInfo$'][_0x229889(0x3cf)]()),(this['_logService']=_0x3dfae5,this[_0x229889(0xd1)]=_0x518bce,this[_0x229889(0xee)]=_0x1b17bc);}async[_0x4a9ac9(0x2e7)](_0x340035,_0x959ccb,_0x2f57e9){var _0x55c084=_0x4a9ac9;this[_0x55c084(0x2e4)][_0x55c084(0x2d0)]({'unitId':_0x340035,'type':_0x959ccb});let _0x4bdbea=null;switch(_0x959ccb){case _0x5599c4[_0x55c084(0x429)]:{_0x4bdbea=await this[_0x55c084(0xd1)][_0x55c084(0x289)](_0x340035,_0x2f57e9);break;}case _0x5599c4[_0x55c084(0x120)]:{_0x4bdbea=await this['_snapshotService'][_0x55c084(0x3fa)](_0x340035,_0x2f57e9);break;}default:{this[_0x55c084(0x426)][_0x55c084(0x2ad)](_0x55c084(0x1a7),_0x55c084(0x388));break;}}return _0x4bdbea;}async[_0x4a9ac9(0x346)](_0x262deb,_0x2aa33b,_0x40dfaa){var _0x29faa2=_0x4a9ac9,_0x4d14f7;this[_0x29faa2(0x2e4)]['next']({'unitId':_0x262deb,'type':_0x2aa33b,'subUnitId':_0x40dfaa});let _0x4efd9c=0x0;const _0x59ec0b=await((_0x4d14f7=this[_0x29faa2(0xee)])==null?void 0x0:_0x4d14f7[_0x29faa2(0x270)](_0x262deb));return _0x59ec0b&&(_0x59ec0b['awaitingChangeset']||_0x59ec0b[_0x29faa2(0x1a1)][_0x29faa2(0x337)]!==0x0)&&(_0x4efd9c=_0x59ec0b[_0x29faa2(0x204)]),_0x4efd9c===0x0&&this[_0x29faa2(0x426)]['debug'](_0x29faa2(0x1a7),_0x29faa2(0x138)),this[_0x29faa2(0x2e7)](_0x262deb,_0x2aa33b,_0x4efd9c);}},_0x4113be[_0x4a9ac9(0x128)]=_0x2b691d([_0x3b8089(0x0,_0x414ab0['ILogService']),_0x3b8089(0x1,_0x414ab0['Inject'](_0x19b128[_0x4a9ac9(0x2b0)])),_0x3b8089(0x2,_0x414ab0[_0x4a9ac9(0x3e6)](_0x364389))],_0x4113be['DataLoaderService']);var _0x137d67=Object[_0x4a9ac9(0xf9)],_0x3b3f72=(_0x29b503,_0xed1a2d,_0x3131b8,_0x4e7ec1)=>{var _0xebac0=_0x4a9ac9;for(var _0x57dd53=_0x4e7ec1>0x1?void 0x0:_0x4e7ec1?_0x137d67(_0xed1a2d,_0x3131b8):_0xed1a2d,_0x44369f=_0x29b503[_0xebac0(0x337)]-0x1,_0x1e5fba;_0x44369f>=0x0;_0x44369f--)(_0x1e5fba=_0x29b503[_0x44369f])&&(_0x57dd53=_0x1e5fba(_0x57dd53)||_0x57dd53);return _0x57dd53;},_0x13f26e=(_0x120533,_0x1c8065)=>(_0x5da9b0,_0x5518c9)=>_0x1c8065(_0x5da9b0,_0x5518c9,_0x120533);const _0x1ae77f=[_0x4a9ac9(0x352),'image/jpeg',_0x4a9ac9(0x33e),_0x4a9ac9(0x44b),_0x4a9ac9(0x26f)],_0x338689=0x5*0x400*0x400,_0x4cd13d='/universer-api/stream/file/upload',_0x339a94=_0x4a9ac9(0x372);_0x4113be[_0x4a9ac9(0x179)]=class{constructor(_0x5c89c3,_0x45ac7b,_0x1a6cbe){var _0x4a725c=_0x4a9ac9;_0x213c49(this,'_waitCount',0x0),_0x213c49(this,'_change$',new _0x5691e8[(_0x4a725c(0x220))]()),_0x213c49(this,_0x4a725c(0x2b4),this[_0x4a725c(0x44c)]),_0x213c49(this,'_imageSourceCache',new Map()),(this[_0x4a725c(0x16f)]=_0x5c89c3,this[_0x4a725c(0x14e)]=_0x45ac7b,this[_0x4a725c(0x3bf)]=_0x1a6cbe);}[_0x4a9ac9(0x121)](_0x456375){var _0x17957a=_0x4a9ac9;this[_0x17957a(0x2d5)]=_0x456375,this['_change$']['next'](_0x456375);}[_0x4a9ac9(0x336)](_0x4ad942,_0x10d7d9){var _0xe4f8d0=_0x4a9ac9;if(_0x10d7d9===_0x3f9464[_0xe4f8d0(0x153)][_0xe4f8d0(0x1cf)]){const _0x123cf2=new Image();return _0x123cf2[_0xe4f8d0(0x396)]=_0x4ad942,_0x123cf2;}return this['_imageSourceCache'][_0xe4f8d0(0x218)](_0x4ad942);}[_0x4a9ac9(0x3af)](_0x82449b,_0x2b5e9e,_0x15d47e){var _0x5dccca=_0x4a9ac9;_0x2b5e9e===_0x3f9464[_0x5dccca(0x153)][_0x5dccca(0x1cf)]||_0x15d47e==null||this[_0x5dccca(0x3f3)]['set'](_0x82449b,_0x15d47e);}async[_0x4a9ac9(0x367)](_0x20476a){var _0x1e7db=_0x4a9ac9;try{const _0x2e5cbe=this[_0x1e7db(0x40c)](this[_0x1e7db(0x133)](),''+_0x20476a),_0x5570d9=(await this[_0x1e7db(0x16f)][_0x1e7db(0x218)](_0x2e5cbe))[_0x1e7db(0xec)];if(_0x5570d9[_0x1e7db(0x2ad)]&&_0x5570d9['error']['code']===_0xcd798d['OK']){const _0xc94abb=new URL(_0x5570d9[_0x1e7db(0x28e)],this[_0x1e7db(0x187)]())[_0x1e7db(0x1b1)]();return Promise[_0x1e7db(0x441)](_0xc94abb);}return Promise[_0x1e7db(0x146)](_0x5570d9[_0x1e7db(0x2ad)]);}catch(_0xa4c267){return Promise[_0x1e7db(0x146)](_0xa4c267);}}async[_0x4a9ac9(0x1cb)](_0x20dc22){var _0x27f99b=_0x4a9ac9;let _0x5026a9='';if(!_0x1ae77f[_0x27f99b(0x258)](_0x20dc22[_0x27f99b(0x1ca)]))return this[_0x27f99b(0x34b)](),Promise[_0x27f99b(0x146)](new Error(_0x3f9464[_0x27f99b(0x288)]['ERROR_IMAGE_TYPE']));if(_0x20dc22['size']>_0x338689)return this[_0x27f99b(0x34b)](),Promise['reject'](new Error(_0x3f9464[_0x27f99b(0x288)][_0x27f99b(0x360)]));try{const _0x24db27=new FormData();_0x24db27[_0x27f99b(0x442)](_0x27f99b(0x33a),_0x20dc22);const _0x5e47ca=this['_univerInstanceService'][_0x27f99b(0x159)](),_0x5268b9=_0x5e47ca==null?void 0x0:_0x5e47ca[_0x27f99b(0x420)]();if(!_0x5268b9)throw new Error(_0x27f99b(0xd2));const _0xf99e49=this['_getUploadFileURL']()+_0x27f99b(0x34c)+_0x20dc22[_0x27f99b(0x19d)]['toString']()+'&source='+_0xbed5ec['UnitEmbedded']+'&assign='+encodeURIComponent(_0x5268b9),_0xabd736={'body':_0x24db27},_0xb3ddae=(await this[_0x27f99b(0x16f)][_0x27f99b(0x1fe)](_0xf99e49,_0xabd736))['body'];if(typeof _0xb3ddae[_0x27f99b(0x2a1)]!=_0x27f99b(0x299))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x3f9464['ImageUploadStatusType'][_0x27f99b(0x112)]));_0x5026a9=_0xb3ddae[_0x27f99b(0x2a1)];}catch{return this[_0x27f99b(0x34b)](),Promise['reject'](new Error(_0x3f9464['ImageUploadStatusType'][_0x27f99b(0x112)]));}return new Promise((_0x1f908c,_0x24180b)=>{var _0x180424=_0x27f99b;const _0x1c8b63=new FileReader();_0x1c8b63['readAsDataURL'](_0x20dc22),_0x1c8b63[_0x180424(0x21e)]=_0x558fcc=>{var _0x5c4ba3=_0x180424,_0x242963;const _0x263f09=(_0x242963=_0x558fcc['target'])==null?void 0x0:_0x242963['result'];if(_0x263f09==null){this[_0x5c4ba3(0x34b)](),_0x24180b(new Error(_0x3f9464[_0x5c4ba3(0x288)]['ERROR_IMAGE']));return;}const _0x3c08b1=_0x414ab0['generateRandomId'](0x6);_0x1f908c({'imageId':_0x3c08b1,'imageSourceType':_0x3f9464[_0x5c4ba3(0x153)][_0x5c4ba3(0x1b2)],'source':_0x5026a9,'base64Cache':_0x263f09,'status':_0x3f9464['ImageUploadStatusType'][_0x5c4ba3(0x19f)]}),this[_0x5c4ba3(0x34b)]();};});}[_0x4a9ac9(0x311)](){var _0x1e7a8d=_0x4a9ac9,_0x14af70;const _0x38dd33=this['_configService'][_0x1e7a8d(0xfb)](_0xfa3b98);return(_0x14af70=_0x38dd33==null?void 0x0:_0x38dd33[_0x1e7a8d(0x19b)])!=null?_0x14af70:_0x4cd13d;}[_0x4a9ac9(0x133)](){var _0x102f0e=_0x4a9ac9,_0x1a0aa4;const _0x576951=this['_configService']['getConfig'](_0xfa3b98);return(_0x1a0aa4=_0x576951==null?void 0x0:_0x576951[_0x102f0e(0x1cc)])!=null?_0x1a0aa4:_0x339a94;}['_getDownloadEndpointURL'](){var _0x3b4d71=_0x4a9ac9,_0x2e8a62;const _0x560317=this[_0x3b4d71(0x14e)]['getConfig'](_0xfa3b98);return(_0x2e8a62=_0x560317==null?void 0x0:_0x560317[_0x3b4d71(0x324)])!=null?_0x2e8a62:location[_0x3b4d71(0x36d)];}[_0x4a9ac9(0x40c)](_0x445afc,_0x4c44d7){var _0x6db6aa=_0x4a9ac9;return _0x445afc[_0x6db6aa(0x170)]('{fileID}',_0x4c44d7);}['_decreaseWaiting'](){var _0x3b161c=_0x4a9ac9;this[_0x3b161c(0x2d5)]-=0x1,this[_0x3b161c(0x44c)][_0x3b161c(0x2d0)](this['_waitCount']);}},_0x4113be[_0x4a9ac9(0x179)]=_0x3b3f72([_0x13f26e(0x0,_0x414ab0['Inject'](_0x3bd1c1[_0x4a9ac9(0x354)])),_0x13f26e(0x1,_0x414ab0[_0x4a9ac9(0x1a4)]),_0x13f26e(0x2,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x2f2)]))],_0x4113be['CollaborationImageIoService']);var _0x9cd1ea=Object['getOwnPropertyDescriptor'],_0x34e72f=(_0x21f83c,_0xf2c6b2,_0x3a54e7,_0x3cb429)=>{var _0x1b17da=_0x4a9ac9;for(var _0x5196c6=_0x3cb429>0x1?void 0x0:_0x3cb429?_0x9cd1ea(_0xf2c6b2,_0x3a54e7):_0xf2c6b2,_0x370f97=_0x21f83c[_0x1b17da(0x337)]-0x1,_0x51c977;_0x370f97>=0x0;_0x370f97--)(_0x51c977=_0x21f83c[_0x370f97])&&(_0x5196c6=_0x51c977(_0x5196c6)||_0x5196c6);return _0x5196c6;},_0x2b2fed=(_0x5b115e,_0x5dc348)=>(_0x17c227,_0x1a7942)=>_0x5dc348(_0x17c227,_0x1a7942,_0x5b115e);const _0x357087=_0x4a9ac9(0x451);_0x4113be[_0x4a9ac9(0x19c)]=class{constructor(_0x594ade,_0x3d3f28){var _0x2ac566=_0x4a9ac9;this[_0x2ac566(0x14e)]=_0x594ade,this[_0x2ac566(0xeb)]=_0x3d3f28;}[_0x4a9ac9(0x1db)](){var _0x1a95bb=_0x4a9ac9,_0x18d786;const _0x1c7661=this[_0x1a95bb(0x14e)]['getConfig'](_0xfa3b98);return(_0x18d786=_0x1c7661==null?void 0x0:_0x1c7661[_0x1a95bb(0x27b)])!=null?_0x18d786:_0x357087;}async[_0x4a9ac9(0x186)](_0x191ba3){var _0xfb039a=_0x4a9ac9;const _0x53dde2=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0xfb039a(0x36b),'mentions':(await this['_HTTPService'][_0xfb039a(0x218)](_0x53dde2,{'params':{'objectID':_0x191ba3['unitId'],'unitID':_0x191ba3[_0xfb039a(0x44f)]}}))[_0xfb039a(0xec)][_0xfb039a(0x411)][_0xfb039a(0x45d)](_0x461379=>({'objectId':_0x461379['id'],'name':_0x461379[_0xfb039a(0x223)][_0xfb039a(0x410)],'metadata':{'icon':_0x461379['subject'][_0xfb039a(0x3f4)]},'label':_0x461379[_0xfb039a(0x223)][_0xfb039a(0x410)],'objectType':_0x414ab0['MentionType']['PERSON']})),'metadata':{},'type':_0x414ab0['MentionType'][_0xfb039a(0xe5)]}]};}},_0x4113be[_0x4a9ac9(0x19c)]=_0x34e72f([_0x2b2fed(0x0,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x1a4)])),_0x2b2fed(0x1,_0x414ab0[_0x4a9ac9(0x11f)](_0x3bd1c1[_0x4a9ac9(0x354)]))],_0x4113be[_0x4a9ac9(0x19c)]);var _0x552d8b=Object[_0x4a9ac9(0xf9)],_0x4ec73e=(_0x4e8703,_0x10cbd0,_0xae2e23,_0x2b5d29)=>{var _0x442a33=_0x4a9ac9;for(var _0x8b0596=_0x2b5d29>0x1?void 0x0:_0x2b5d29?_0x552d8b(_0x10cbd0,_0xae2e23):_0x10cbd0,_0x3dddc2=_0x4e8703[_0x442a33(0x337)]-0x1,_0x76c91e;_0x3dddc2>=0x0;_0x3dddc2--)(_0x76c91e=_0x4e8703[_0x3dddc2])&&(_0x8b0596=_0x76c91e(_0x8b0596)||_0x8b0596);return _0x8b0596;},_0x460c7f=(_0x2e364e,_0x519693)=>(_0x11d7c8,_0x247343)=>_0x519693(_0x11d7c8,_0x247343,_0x2e364e);let _0x34aaee=class extends _0x414ab0[_0x4a9ac9(0x2e8)]{constructor(_0x4f880a,_0x3554ff,_0x35236f,_0x98c34c,_0x38a278){var _0x2ace43=_0x4a9ac9;super(),this['_injector']=_0x4f880a,this[_0x2ace43(0x3bf)]=_0x3554ff,this[_0x2ace43(0x38d)]=_0x35236f,this[_0x2ace43(0x30d)]=_0x98c34c,this[_0x2ace43(0x167)]=_0x38a278,this[_0x2ace43(0x2a2)](),this[_0x2ace43(0x114)]();}[_0x4a9ac9(0x114)](){var _0x408ae5=_0x4a9ac9;const _0x5079f6=async _0x55588d=>{var _0x4667aa=_0x515f;(await this[_0x4667aa(0x30d)][_0x4667aa(0x2fc)](_0x55588d))['event$'][_0x4667aa(0x282)](_0x1f22ee[_0x4667aa(0xef)](_0x12802c=>_0x12802c['eventID']===_0x19b128['CollaborationEvent'][_0x4667aa(0x1cd)]),_0x1f22ee[_0x4667aa(0x399)](this['dispose$']))['subscribe'](_0x25e9da=>{var _0x3ab976=_0x4667aa;const _0x5e5b78=_0x25e9da,{reason:_0x28f98e}=_0x5e5b78['data'];this[_0x3ab976(0x167)][_0x3ab976(0x3f6)]({'id':_0x51d7a4[_0x3ab976(0x395)],'data':_0x28f98e}),this[_0x3ab976(0x38d)][_0x3ab976(0x23b)](new _0x19c319[(_0x3ab976(0x415))](_0x55588d)['id'],!0x1),this[_0x3ab976(0x30d)][_0x3ab976(0x280)](_0x55588d);});};_0x5691e8[_0x408ae5(0x3e1)](this[_0x408ae5(0x3bf)][_0x408ae5(0x314)](_0x414ab0[_0x408ae5(0x20f)][_0x408ae5(0x429)]),this[_0x408ae5(0x3bf)]['getTypeOfUnitAdded$'](_0x414ab0[_0x408ae5(0x20f)][_0x408ae5(0x120)]))[_0x408ae5(0x282)](_0x1f22ee[_0x408ae5(0x45d)](_0x381132=>_0x381132['getUnitId']()),_0x1f22ee['filter'](_0x3ebc1a=>!_0x414ab0[_0x408ae5(0x207)](_0x3ebc1a)),_0x1f22ee['takeUntil'](this[_0x408ae5(0x3bc)]))[_0x408ae5(0x32f)](_0x40067b=>{_0x5079f6(_0x40067b);});}['_initUnitPermissionChange'](){var _0x4a9261=_0x4a9ac9;const _0x598ec4=async _0x586dbf=>{var _0x4a0121=_0x515f;const _0x4a7f84=await this['_collaborationSessionService'][_0x4a0121(0x2fc)](_0x586dbf),_0x1c7b4b=this['_injector'][_0x4a0121(0x218)](_0x19c319[_0x4a0121(0x1fd)]);_0x4a7f84[_0x4a0121(0x37f)][_0x4a0121(0x282)](_0x1f22ee[_0x4a0121(0xef)](_0x4fd922=>_0x4fd922[_0x4a0121(0x439)]===_0x19b128[_0x4a0121(0xd3)]['UPDATE_PERMISSION_OBJ']),_0x1f22ee[_0x4a0121(0x399)](this[_0x4a0121(0x3bc)]))['subscribe'](_0x5707ea=>{var _0x2c15bb=_0x4a0121;const _0x14e402=_0x5707ea,{objectId:_0xf8257a}=_0x14e402[_0x2c15bb(0xc7)];_0xf8257a===_0x586dbf?_0x1c7b4b['initWorkbookPermissionChange'](_0x586dbf):_0x1c7b4b['refreshPermission'](_0x586dbf,_0xf8257a);});};_0x5691e8['merge'](this[_0x4a9261(0x3bf)][_0x4a9261(0x314)](_0x414ab0['UniverInstanceType']['UNIVER_SHEET']))[_0x4a9261(0x282)](_0x1f22ee[_0x4a9261(0x45d)](_0x58fc85=>_0x58fc85[_0x4a9261(0x420)]()),_0x1f22ee[_0x4a9261(0xef)](_0x8cf009=>!_0x414ab0[_0x4a9261(0x207)](_0x8cf009)),_0x1f22ee[_0x4a9261(0x399)](this[_0x4a9261(0x3bc)]))[_0x4a9261(0x32f)](_0x324811=>{_0x598ec4(_0x324811);});}};_0x34aaee=_0x4ec73e([_0x460c7f(0x0,_0x414ab0['Inject'](_0x414ab0[_0x4a9ac9(0x16d)])),_0x460c7f(0x1,_0x414ab0[_0x4a9ac9(0x2f2)]),_0x460c7f(0x2,_0x414ab0['IPermissionService']),_0x460c7f(0x3,_0x414ab0[_0x4a9ac9(0x11f)](_0x4113be[_0x4a9ac9(0x103)])),_0x460c7f(0x4,_0x414ab0[_0x4a9ac9(0x11f)](_0x26aa78))],_0x34aaee);var _0x3f2c41=Object[_0x4a9ac9(0xf9)],_0x1b625a=(_0x52b432,_0x33f75a,_0x1d0b14,_0x3eef25)=>{var _0x397af6=_0x4a9ac9;for(var _0x56b2c9=_0x3eef25>0x1?void 0x0:_0x3eef25?_0x3f2c41(_0x33f75a,_0x1d0b14):_0x33f75a,_0x18dfba=_0x52b432[_0x397af6(0x337)]-0x1,_0x1c41c9;_0x18dfba>=0x0;_0x18dfba--)(_0x1c41c9=_0x52b432[_0x18dfba])&&(_0x56b2c9=_0x1c41c9(_0x56b2c9)||_0x56b2c9);return _0x56b2c9;},_0x1a19e6=(_0x2cc949,_0x146eba)=>(_0x371fac,_0x16f1e3)=>_0x146eba(_0x371fac,_0x16f1e3,_0x2cc949);_0x4113be[_0x4a9ac9(0x102)]=class{constructor(_0x21a7e8,_0x4ba5e0){var _0x1c598b=_0x4a9ac9;this[_0x1c598b(0x14e)]=_0x21a7e8,this[_0x1c598b(0x16f)]=_0x4ba5e0;}async['getUnitOnRev'](_0x28e5be,_0x40674d){var _0x1e740f=_0x4a9ac9,_0x30519f;const {unitID:_0x577363,type:_0x647d17,revision:_0x3799cd=0x0}=_0x40674d,_0x1e2a22=this['getSnapshotAPIPath']()+'/'+_0x647d17+_0x1e740f(0x39a)+_0x577363+_0x1e740f(0x3c7)+_0x3799cd,_0x59df4f=(await this['_httpService'][_0x1e740f(0x218)](_0x1e2a22))[_0x1e740f(0xec)],_0x4e3552=(_0x30519f=_0x59df4f[_0x1e740f(0x3ae)])==null?void 0x0:_0x30519f[_0x1e740f(0x181)];if(_0x4e3552){const _0x21b826=_0x4e3552==null?void 0x0:_0x4e3552['originalMeta'],_0x423f50=_0x19b128[_0x1e740f(0x2c0)][_0x1e740f(0x40f)](_0x19b128['b64DecodeUnicode'](_0x21b826));_0x4e3552[_0x1e740f(0x2e9)]=_0x423f50,Object['entries'](_0x4e3552['sheets'])['forEach'](([,_0x216753])=>{var _0xcdfba0=_0x1e740f;const _0x24825a=_0x216753[_0xcdfba0(0x2e9)],_0x55bcc4=_0x19b128[_0xcdfba0(0x2c0)][_0xcdfba0(0x40f)](_0x19b128['b64DecodeUnicode'](_0x24825a));_0x216753[_0xcdfba0(0x2e9)]=_0x55bcc4;});}return _0x59df4f;}async['getSheetBlock'](_0x490ca5,_0x430dab){var _0x27a2e2=_0x4a9ac9;const {unitID:_0x37790b,type:_0x23154a,blockID:_0x5023bb}=_0x430dab,_0x2342fa=this[_0x27a2e2(0x1fb)]()+'/'+_0x23154a+_0x27a2e2(0x39a)+_0x37790b+'/block/'+_0x5023bb;return(await this[_0x27a2e2(0x16f)]['get'](_0x2342fa))['body'];}async[_0x4a9ac9(0x142)](_0x522e89,_0x5c871c){var _0x57da77=_0x4a9ac9;const {unitID:_0x5746ea,type:_0x5efedc,blockID:_0x52cbfa}=_0x5c871c,_0x7fc9b=this[_0x57da77(0x1fb)]()+_0x57da77(0x1f9)+_0x5efedc+_0x57da77(0x39a)+_0x5746ea+_0x57da77(0x1f9)+_0x52cbfa;return(await this['_httpService'][_0x57da77(0x218)](_0x7fc9b))['body'];}async[_0x4a9ac9(0x31c)](_0x4083e7,_0x833aa){var _0x1f2232=_0x4a9ac9;const {unitID:_0x7d498e,type:_0x2c2928,from:_0x34b357,to:_0x217a21}=_0x833aa,_0x737ab1=this[_0x1f2232(0x1fb)]()+'/'+_0x2c2928+_0x1f2232(0x39a)+_0x7d498e+_0x1f2232(0xe8)+_0x34b357+_0x1f2232(0xf4)+_0x217a21;return(await this[_0x1f2232(0x16f)]['get'](_0x737ab1))[_0x1f2232(0xec)];}[_0x4a9ac9(0x391)](){var _0x2c73fd=_0x4a9ac9,_0x107a9e;return(_0x107a9e=this[_0x2c73fd(0x14e)][_0x2c73fd(0xfb)](_0x41378d))!=null?_0x107a9e:this[_0x2c73fd(0x1fb)]();}[_0x4a9ac9(0x1fb)](){var _0x5372d4=_0x4a9ac9,_0x5e663b;const _0x3ab1e7=this[_0x5372d4(0x14e)]['getConfig'](_0xfa3b98);return(_0x5e663b=_0x3ab1e7==null?void 0x0:_0x3ab1e7[_0x5372d4(0xe9)])!=null?_0x5e663b:_0x49d908;}async['getResourcesRequest'](_0x23ee2d,_0x234b05){var _0x35aa83=_0x4a9ac9;const _0x4b30d7='/universer-api/snapshot/'+_0x234b05[_0x35aa83(0x1ca)]+_0x35aa83(0x39a)+_0x234b05[_0x35aa83(0x227)]+_0x35aa83(0x1ea);return(await this['_httpService'][_0x35aa83(0x218)](_0x4b30d7,{'params':{'resourceId':JSON[_0x35aa83(0x195)](_0x234b05['resourceIDs'])}}))[_0x35aa83(0xec)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x3038d1=_0x4a9ac9;throw new Error(_0x3038d1(0xda));}['saveSheetBlock'](){var _0x32fb91=_0x4a9ac9;throw new Error(_0x32fb91(0xda));}[_0x4a9ac9(0x3f0)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x5037b2=_0x4a9ac9;throw new Error(_0x5037b2(0xda));}[_0x4a9ac9(0x32e)](){var _0x2bc52e=_0x4a9ac9;throw new Error(_0x2bc52e(0xda));}},_0x4113be[_0x4a9ac9(0x102)]=_0x1b625a([_0x1a19e6(0x0,_0x414ab0[_0x4a9ac9(0x1a4)]),_0x1a19e6(0x1,_0x414ab0['Inject'](_0x3bd1c1[_0x4a9ac9(0x354)]))],_0x4113be[_0x4a9ac9(0x102)]);var _0x58acf6=Object[_0x4a9ac9(0xf9)],_0x362f1f=(_0x347b19,_0x544f66,_0x17268d,_0x1e8ce1)=>{var _0x4eb1cd=_0x4a9ac9;for(var _0x34e50f=_0x1e8ce1>0x1?void 0x0:_0x1e8ce1?_0x58acf6(_0x544f66,_0x17268d):_0x544f66,_0x5ecf5b=_0x347b19[_0x4eb1cd(0x337)]-0x1,_0x37159f;_0x5ecf5b>=0x0;_0x5ecf5b--)(_0x37159f=_0x347b19[_0x5ecf5b])&&(_0x34e50f=_0x37159f(_0x34e50f)||_0x34e50f);return _0x34e50f;},_0x49ed12=(_0x4664ef,_0x8a5df5)=>(_0x4d25f7,_0x410cd0)=>_0x8a5df5(_0x4d25f7,_0x410cd0,_0x4664ef);_0x4113be['CollaborativeUndoRedoService']=class extends _0x414ab0[_0x4a9ac9(0x139)]{constructor(_0x32e966,_0x442e89,_0x3c0f7a,_0x33d5d2,_0x566594){super(_0x32e966,_0x442e89,_0x3c0f7a),this['_transformService']=_0x33d5d2,this['_logService']=_0x566594;}[_0x4a9ac9(0x242)](_0x35287a,_0x42a191){var _0x2d47e3=_0x4a9ac9;const _0x222d12=this[_0x2d47e3(0x1f0)](_0x35287a);if(_0x222d12)try{const _0x25653c=this[_0x2d47e3(0x312)](_0x222d12,_0x42a191);this['_substituteUndoStack'](_0x35287a,_0x25653c);}catch(_0x7df686){this[_0x2d47e3(0x426)]['error'](_0x2d47e3(0x236),_0x7df686),this[_0x2d47e3(0x1fa)](_0x35287a);}const _0x570ae4=this[_0x2d47e3(0x232)](_0x35287a);if(_0x570ae4)try{const _0x51660f=this[_0x2d47e3(0x312)](_0x570ae4,_0x42a191);this[_0x2d47e3(0x25b)](_0x35287a,_0x51660f);}catch(_0x5eb7cd){this[_0x2d47e3(0x426)][_0x2d47e3(0x2ad)](_0x5eb7cd),this[_0x2d47e3(0x16b)](_0x35287a);}}[_0x4a9ac9(0x1fa)](_0x400e9d){var _0x150a53=_0x4a9ac9;const _0x6e1c60=this[_0x150a53(0x1f0)](_0x400e9d);_0x6e1c60&&(_0x6e1c60[_0x150a53(0x337)]=0x0,this['_updateStatus']());}[_0x4a9ac9(0x16b)](_0x2475a2){var _0x5a01f6=_0x4a9ac9;const _0xf9611e=this['_getRedoStack'](_0x2475a2);_0xf9611e&&(_0xf9611e[_0x5a01f6(0x337)]=0x0,this[_0x5a01f6(0x23c)]());}[_0x4a9ac9(0x40b)](_0x2bf73f,_0x4deb30){var _0x12abad=_0x4a9ac9;this[_0x12abad(0xfc)]['set'](_0x2bf73f,_0x4deb30),this[_0x12abad(0x23c)]();}['_substituteRedoStack'](_0x55f211,_0x13e890){var _0x41f169=_0x4a9ac9;this[_0x41f169(0x2ca)][_0x41f169(0x356)](_0x55f211,_0x13e890),this[_0x41f169(0x23c)]();}[_0x4a9ac9(0x312)](_0x1bd40b,_0xc1cce2){var _0x5172bb=_0x4a9ac9;const _0x46b955=[];let _0x2c57c9=_0xc1cce2,_0x55c89e=_0xc1cce2;for(let _0x23ece3=_0x1bd40b['length']-0x1;_0x23ece3>=0x0;_0x23ece3--){const {unitID:_0x1df3ad,undoMutations:_0x261ca3,redoMutations:_0xe255ec}=_0x1bd40b[_0x23ece3],_0x2eeb1f=this[_0x5172bb(0x413)][_0x5172bb(0x260)](_0x2c57c9,_0x261ca3),_0x297303=this[_0x5172bb(0x413)]['transformMutationsWithChangeset'](_0x55c89e,_0xe255ec);if(_0x19b128[_0x5172bb(0x3fd)](_0x2eeb1f)||_0x19b128[_0x5172bb(0x3fd)](_0x297303)){this[_0x5172bb(0x426)][_0x5172bb(0x2ad)]('[CollaborationUndoRedoService]',_0x5172bb(0x445),_0x2eeb1f,_0x297303);break;}_0x2c57c9=_0x2eeb1f['c1Prime'],_0x55c89e=_0x297303[_0x5172bb(0x2cb)],_0x46b955['push']({'unitID':_0x1df3ad,'undoMutations':_0x2eeb1f[_0x5172bb(0x347)],'redoMutations':_0x297303[_0x5172bb(0x347)]});}return _0x46b955[_0x5172bb(0x416)]();}},_0x4113be[_0x4a9ac9(0x136)]=_0x362f1f([_0x49ed12(0x0,_0x414ab0['IUniverInstanceService']),_0x49ed12(0x1,_0x414ab0[_0x4a9ac9(0x3a6)]),_0x49ed12(0x2,_0x414ab0['IContextService']),_0x49ed12(0x3,_0x19b128[_0x4a9ac9(0x2c6)]),_0x49ed12(0x4,_0x414ab0['ILogService'])],_0x4113be['CollaborativeUndoRedoService']);var _0x54c2d1=Object[_0x4a9ac9(0x1a2)],_0x134334=Object[_0x4a9ac9(0xf9)],_0x1e5321=(_0x30a975,_0x23c277,_0x400957)=>_0x23c277 in _0x30a975?_0x54c2d1(_0x30a975,_0x23c277,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x400957}):_0x30a975[_0x23c277]=_0x400957,_0x5c932a=(_0x20ab88,_0x4e8995,_0x2b4214,_0x441103)=>{var _0x399f0c=_0x4a9ac9;for(var _0x582900=_0x441103>0x1?void 0x0:_0x441103?_0x134334(_0x4e8995,_0x2b4214):_0x4e8995,_0x366c84=_0x20ab88[_0x399f0c(0x337)]-0x1,_0x25aa26;_0x366c84>=0x0;_0x366c84--)(_0x25aa26=_0x20ab88[_0x366c84])&&(_0x582900=_0x25aa26(_0x582900)||_0x582900);return _0x582900;},_0x1cfdd4=(_0x2c03e6,_0x4fe0e8)=>(_0x8ae7e7,_0x2349d1)=>_0x4fe0e8(_0x8ae7e7,_0x2349d1,_0x2c03e6),_0x269e3d=(_0x20bc4a,_0x5dc5ec,_0x1b1cae)=>_0x1e5321(_0x20bc4a,_0x5dc5ec+'',_0x1b1cae);const _0x2c7f14=_0x4a9ac9(0xf6);_0x4113be[_0x4a9ac9(0x192)]=class extends _0x414ab0[_0x4a9ac9(0x1f2)]{constructor(_0x30d3f3,_0x27a8fb,_0x1e5a04,_0x1b5fac){var _0x214e26=_0x4a9ac9;super(),_0x213c49(this,_0x214e26(0x2b1)),(this[_0x214e26(0x426)]=_0x27a8fb,this[_0x214e26(0x18a)]=_0x1e5a04,this[_0x214e26(0x14e)]=_0x1b5fac);const {..._0x245132}=_0x414ab0['merge']({},_0x13dd70,_0x30d3f3);if(!_0x245132[_0x214e26(0x297)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x245132,this[_0x214e26(0x14e)][_0x214e26(0x2f5)](_0xfa3b98,_0x245132);}[_0x4a9ac9(0x193)](){var _0x573ec3=_0x4a9ac9;this[_0x573ec3(0x42b)](),this[_0x573ec3(0x3ef)]();}[_0x4a9ac9(0x42b)](){var _0x149206=_0x4a9ac9,_0x4f93c5,_0x4f54ab;this[_0x149206(0x18a)][_0x149206(0x1f6)](_0x414ab0['IUndoRedoService'])&&this['_logService'][_0x149206(0x2ad)](_0x149206(0x1a6),_0x149206(0x12d));const _0x2290a7=_0x414ab0[_0x149206(0xbb)]([[_0x414ab0[_0x149206(0x11b)],{'useClass':_0x4113be[_0x149206(0x136)]}],[_0x4113be['CollaborationSessionService']],[_0x4113be[_0x149206(0x295)]],[_0x4113be[_0x149206(0x425)]],[_0x34dd56],[_0x29cb3a],[_0x3e56a6],[_0x34aaee],[_0x26aa78],[_0x4113be[_0x149206(0x128)]],[_0x1c92c3,{'useClass':this['_config'][_0x149206(0x297)]}],[_0x19b128[_0x149206(0x20e)],{'useClass':_0x4113be['SnapshotServerOverHTTPService']}],[_0x414ab0[_0x149206(0x30a)],{'useClass':_0x4113be[_0x149206(0x3a1)]}],[_0x3f9464['IImageIoService'],{'useClass':_0x4113be[_0x149206(0x179)]}],[_0x414ab0[_0x149206(0x272)],{'useClass':_0x4113be[_0x149206(0x19c)]}],[_0x4113be['CollaborationController']],[_0x3df3a0]],(_0x4f93c5=this['_config'])==null?void 0x0:_0x4f93c5[_0x149206(0x303)]);if(!((_0x4f54ab=this[_0x149206(0x2b1)])!=null&&_0x4f54ab[_0x149206(0x2bb)])){const _0x2a81a4=_0x2290a7['findIndex'](([_0x3dabec])=>_0x3dabec===_0x5db1cd);_0x2a81a4!==-0x1&&_0x2290a7[_0x149206(0x375)](_0x2a81a4,0x1);}_0x414ab0[_0x149206(0x30e)](this[_0x149206(0x18a)],_0x2290a7);}[_0x4a9ac9(0x3ef)](){var _0x446b9a=_0x4a9ac9,_0x22c943,_0x5f12fa,_0x478336;this[_0x446b9a(0x18a)][_0x446b9a(0x218)](_0x3bd1c1[_0x446b9a(0x354)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3bd1c1[_0x446b9a(0x267)]({'maxParallel':0x6})}),(_0x22c943=this[_0x446b9a(0x2b1)])!=null&&_0x22c943[_0x446b9a(0xf0)]||(_0x5f12fa=this[_0x446b9a(0x18a)][_0x446b9a(0x218)](_0x364389,_0x414ab0[_0x446b9a(0x3d0)][_0x446b9a(0x1e9)]))==null||_0x5f12fa[_0x446b9a(0x318)](),(_0x478336=this['_config'])!=null&&_0x478336['enableAuthServer']&&_0x414ab0[_0x446b9a(0x214)](this[_0x446b9a(0x18a)],[[_0x34dd56]]),_0x414ab0[_0x446b9a(0x214)](this[_0x446b9a(0x18a)],[[_0x29cb3a],[_0x4113be['CollaborationController']],[_0x34aaee]]);}},_0x269e3d(_0x4113be[_0x4a9ac9(0x192)],_0x4a9ac9(0x219),_0x2c7f14),_0x4113be[_0x4a9ac9(0x192)]=_0x5c932a([_0x414ab0[_0x4a9ac9(0x3dd)](_0x19b128[_0x4a9ac9(0x329)],_0x3bd1c1[_0x4a9ac9(0x3f9)]),_0x1cfdd4(0x1,_0x414ab0['ILogService']),_0x1cfdd4(0x2,_0x414ab0[_0x4a9ac9(0x11f)](_0x414ab0[_0x4a9ac9(0x16d)])),_0x1cfdd4(0x3,_0x414ab0['IConfigService'])],_0x4113be[_0x4a9ac9(0x192)]),_0x4113be[_0x4a9ac9(0x2db)]=_0xfa3b98,_0x4113be[_0x4a9ac9(0x2d2)]=_0x70296d,_0x4113be[_0x4a9ac9(0x2b8)]=_0x51d7a4,_0x4113be['CollaborationUIEventService']=_0x26aa78,_0x4113be['CommentService']=_0x3e56a6,_0x4113be[_0x4a9ac9(0x380)]=_0x340e26,_0x4113be[_0x4a9ac9(0x183)]=_0x17cb6d,_0x4113be[_0x4a9ac9(0x45b)]=_0x3a5dca,_0x4113be[_0x4a9ac9(0x113)]=_0x18d90d,_0x4113be[_0x4a9ac9(0x21d)]=_0x2beeb0,_0x4113be['ICollaborationSocketService']=_0x1c92c3,_0x4113be[_0x4a9ac9(0x125)]=_0x364389,_0x4113be['INetworkConditionService']=_0xc74a4,_0x4113be['ISingleActiveUnitService']=_0x5db1cd,_0x4113be[_0x4a9ac9(0xb6)]=0x3e8,_0x4113be[_0x4a9ac9(0x293)]=_0x38c987,_0x4113be['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x19b088,_0x4113be[_0x4a9ac9(0x35e)]=_0x314a57,_0x4113be[_0x4a9ac9(0x309)]=_0x38c5e4,_0x4113be[_0x4a9ac9(0x348)]=_0x39c98c,_0x4113be[_0x4a9ac9(0x10a)]=_0x5efbeb,_0x4113be['getLocalCacheKey']=_0x35a8e8,_0x4113be[_0x4a9ac9(0x292)]=_0x320526,Object[_0x4a9ac9(0x1a2)](_0x4113be,Symbol[_0x4a9ac9(0x2fb)],{'value':'Module'});}));
|
|
2
|
+
function _0x4fbb(_0xf2aa81,_0x5c7555){_0xf2aa81=_0xf2aa81-0x1ad;var _0x288de4=_0x288d();var _0x4fbbda=_0x288de4[_0xf2aa81];return _0x4fbbda;}(function(_0xd0c439,_0x408fd4){var _0x2edc1d=_0x4fbb,_0x4fb999=_0xd0c439();while(!![]){try{var _0x200996=-parseInt(_0x2edc1d(0x4e7))/0x1+-parseInt(_0x2edc1d(0x376))/0x2*(-parseInt(_0x2edc1d(0x213))/0x3)+-parseInt(_0x2edc1d(0x33a))/0x4*(parseInt(_0x2edc1d(0x442))/0x5)+parseInt(_0x2edc1d(0x2c9))/0x6+parseInt(_0x2edc1d(0x501))/0x7*(-parseInt(_0x2edc1d(0x459))/0x8)+parseInt(_0x2edc1d(0x3bf))/0x9+parseInt(_0x2edc1d(0x281))/0xa*(-parseInt(_0x2edc1d(0x24d))/0xb);if(_0x200996===_0x408fd4)break;else _0x4fb999['push'](_0x4fb999['shift']());}catch(_0x190f1f){_0x4fb999['push'](_0x4fb999['shift']());}}}(_0x288d,0x86c40),function(_0x37d9e4,_0x26e28a){var _0x42aa1c=_0x4fbb;typeof exports=='object'&&typeof module<'u'?_0x26e28a(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==_0x42aa1c(0x3c0)&&define[_0x42aa1c(0x1fd)]?define([_0x42aa1c(0x1ae),'@univerjs-pro/collaboration',_0x42aa1c(0x309),_0x42aa1c(0x365),_0x42aa1c(0x457),_0x42aa1c(0x543),_0x42aa1c(0x4e4),'rxjs/operators',_0x42aa1c(0x51b),_0x42aa1c(0x4a0),_0x42aa1c(0x36b)],_0x26e28a):(_0x37d9e4=typeof globalThis<'u'?globalThis:_0x37d9e4||self,_0x26e28a(_0x37d9e4[_0x42aa1c(0x21a)]={},_0x37d9e4[_0x42aa1c(0x464)],_0x37d9e4[_0x42aa1c(0x42c)],_0x37d9e4['UniverDocs'],_0x37d9e4[_0x42aa1c(0x500)],_0x37d9e4[_0x42aa1c(0x543)],_0x37d9e4[_0x42aa1c(0x22d)],_0x37d9e4[_0x42aa1c(0x543)][_0x42aa1c(0x4ce)],_0x37d9e4[_0x42aa1c(0x3af)],_0x37d9e4[_0x42aa1c(0x259)],_0x37d9e4[_0x42aa1c(0x494)]));}(this,function(_0x1fe4e5,_0x5e2062,_0x3a8efd,_0x42a10e,_0x14ea65,_0x49840d,_0x217672,_0x3844a2,_0x5a784f,_0x58b2c0,_0x3ca4ea){'use strict';var _0x4b5896=_0x4fbb;var _0x2cfc9d=Object[_0x4b5896(0x3e2)],_0x4af00b=(_0x56553d,_0x164674,_0xca17f4)=>_0x164674 in _0x56553d?_0x2cfc9d(_0x56553d,_0x164674,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xca17f4}):_0x56553d[_0x164674]=_0xca17f4,_0x33a719=(_0x4a058e,_0x885389,_0x59c098)=>_0x4af00b(_0x4a058e,typeof _0x885389!=_0x4b5896(0x2c7)?_0x885389+'':_0x885389,_0x59c098);const _0xf122e0='/universer-api/snapshot',_0x92045e=_0x4b5896(0x41c),_0x461a26=_0x4b5896(0x2c8),_0x3df7c5=_0x4b5896(0x526),_0x320476=_0x4b5896(0x49d),_0xf8cda4=_0x4b5896(0x547),_0x88c7ad=_0x4b5896(0x218),_0x5f5c95=_0x4b5896(0x471),_0xcea972=_0x4b5896(0x2fe),_0x106d2b=_0x4b5896(0x37b),_0x68efa9=_0x4b5896(0x2fd),_0x222c74=_0x4b5896(0x4d3);var _0x1df182=(_0x40e7b5=>(_0x40e7b5[_0x40e7b5['UNDEFINED']=0x0]='UNDEFINED',_0x40e7b5[_0x40e7b5['OK']=0x1]='OK',_0x40e7b5[_0x40e7b5['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x40e7b5[_0x40e7b5[_0x4b5896(0x1bb)]=0x3]='PERMISSION_DENIED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x2cc)]=0x4]='NOT_FOUND',_0x40e7b5[_0x40e7b5['UNAUTHENTICATED']=0x5]=_0x4b5896(0x247),_0x40e7b5[_0x40e7b5[_0x4b5896(0x4a7)]=0x6]=_0x4b5896(0x4a7),_0x40e7b5[_0x40e7b5['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x40e7b5[_0x40e7b5[_0x4b5896(0x450)]=0x8]=_0x4b5896(0x450),_0x40e7b5[_0x40e7b5['COMPLETION_FINISHED']=0x9]=_0x4b5896(0x3cf),_0x40e7b5[_0x40e7b5[_0x4b5896(0x43e)]=0xa]='LOGIN_FAILED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x351)]=0xb]=_0x4b5896(0x351),_0x40e7b5[_0x40e7b5['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x4b5896(0x496),_0x40e7b5[_0x40e7b5['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x40e7b5[_0x40e7b5[_0x4b5896(0x4f7)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x40e7b5[_0x40e7b5['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x4b5896(0x371),_0x40e7b5[_0x40e7b5['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x34b)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x40e7b5[_0x40e7b5['ERROR_AGAIN']=0x65]=_0x4b5896(0x392),_0x40e7b5[_0x40e7b5[_0x4b5896(0x2f5)]=0xc9]='USER_NOT_FOUND',_0x40e7b5[_0x40e7b5[_0x4b5896(0x23b)]=0xca]='USER_IS_ANONYMOUS',_0x40e7b5[_0x40e7b5[_0x4b5896(0x267)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x40e7b5[_0x40e7b5[_0x4b5896(0x3ce)]=0x1771]=_0x4b5896(0x3ce),_0x40e7b5[_0x40e7b5[_0x4b5896(0x25b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x36a)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x40e7b5[_0x40e7b5[_0x4b5896(0x3c5)]=0x1b59]=_0x4b5896(0x3c5),_0x40e7b5[_0x40e7b5[_0x4b5896(0x43f)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x40e7b5[_0x40e7b5[_0x4b5896(0x23e)]=0x1b5b]=_0x4b5896(0x23e),_0x40e7b5[_0x40e7b5['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4b5896(0x20c),_0x40e7b5[_0x40e7b5['APPLY_DUPLICATED']=0x1b5d]=_0x4b5896(0x32d),_0x40e7b5[_0x40e7b5['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4b5896(0x31f),_0x40e7b5[_0x40e7b5['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4b5896(0x4b4),_0x40e7b5[_0x40e7b5[_0x4b5896(0x447)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x3c8)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x51d)]=0x232c]=_0x4b5896(0x51d),_0x40e7b5[_0x40e7b5[_0x4b5896(0x32c)]=0x232d]=_0x4b5896(0x32c),_0x40e7b5[_0x40e7b5[_0x4b5896(0x4c9)]=0x2711]=_0x4b5896(0x4c9),_0x40e7b5[_0x40e7b5['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4b5896(0x1ef),_0x40e7b5[_0x40e7b5[_0x4b5896(0x304)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40e7b5[_0x40e7b5['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x40e7b5[_0x40e7b5['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x40e7b5[_0x40e7b5[_0x4b5896(0x240)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x4e5)]=0x271c]=_0x4b5896(0x4e5),_0x40e7b5[_0x40e7b5['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x4b5896(0x39f),_0x40e7b5[_0x40e7b5[_0x4b5896(0x362)]=0x271e]=_0x4b5896(0x362),_0x40e7b5[_0x40e7b5['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4b5896(0x32a),_0x40e7b5[_0x40e7b5['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4b5896(0x2bc),_0x40e7b5[_0x40e7b5['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4b5896(0x2f0),_0x40e7b5[_0x40e7b5[_0x4b5896(0x200)]=0x2ee1]=_0x4b5896(0x200),_0x40e7b5[_0x40e7b5[_0x4b5896(0x44c)]=0x2ee2]='INVALID_INVITE_CODE',_0x40e7b5[_0x40e7b5[_0x4b5896(0x3c4)]=0x2ee3]=_0x4b5896(0x3c4),_0x40e7b5[_0x40e7b5[_0x4b5896(0x527)]=0x2ee4]=_0x4b5896(0x527),_0x40e7b5[_0x40e7b5[_0x4b5896(0x258)]=0x2ee5]=_0x4b5896(0x258),_0x40e7b5[_0x40e7b5[_0x4b5896(0x1bc)]=0x32c9]=_0x4b5896(0x1bc),_0x40e7b5[_0x40e7b5[_0x4b5896(0x2a6)]=0x32ca]=_0x4b5896(0x2a6),_0x40e7b5[_0x40e7b5[_0x4b5896(0x548)]=0x32cb]=_0x4b5896(0x548),_0x40e7b5[_0x40e7b5['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x4b5896(0x4ea),_0x40e7b5[_0x40e7b5[_0x4b5896(0x239)]=0x36b2]=_0x4b5896(0x239),_0x40e7b5[_0x40e7b5['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x4b5896(0x201),_0x40e7b5[_0x40e7b5['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x4b5896(0x48a),_0x40e7b5[_0x40e7b5[_0x4b5896(0x210)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x40e7b5[_0x40e7b5['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x4b5896(0x3e4),_0x40e7b5[_0x40e7b5[_0x4b5896(0x30c)]=0x36b7]=_0x4b5896(0x30c),_0x40e7b5[_0x40e7b5[_0x4b5896(0x426)]=0x36b8]=_0x4b5896(0x426),_0x40e7b5[_0x40e7b5['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x4b5896(0x2ba),_0x40e7b5[_0x40e7b5[_0x4b5896(0x23f)]=0x3716]=_0x4b5896(0x23f),_0x40e7b5[_0x40e7b5['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x4b5896(0x299),_0x40e7b5[_0x40e7b5[_0x4b5896(0x27c)]=0x37dd]=_0x4b5896(0x27c),_0x40e7b5[_0x40e7b5['REDEMPTION_INVALID_CODE']=0x3a99]=_0x4b5896(0x388),_0x40e7b5[_0x40e7b5[_0x4b5896(0x34a)]=0x3a9a]=_0x4b5896(0x34a),_0x40e7b5[_0x40e7b5[_0x4b5896(0x4ef)]=0x3a9b]=_0x4b5896(0x4ef),_0x40e7b5[_0x40e7b5[_0x4b5896(0x1f3)]=0x3a9c]=_0x4b5896(0x1f3),_0x40e7b5[_0x40e7b5[_0x4b5896(0x3f1)]=0x3a9d]=_0x4b5896(0x3f1),_0x40e7b5[_0x40e7b5[_0x4b5896(0x328)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x2f6)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x40e7b5[_0x40e7b5[_0x4b5896(0x4aa)]=0x3e81]=_0x4b5896(0x4aa),_0x40e7b5[_0x40e7b5[_0x4b5896(0x4a6)]=-0x1]='UNRECOGNIZED',_0x40e7b5))(_0x1df182||{}),_0x4dc4c2=(_0x12e785=>(_0x12e785[_0x12e785[_0x4b5896(0x54b)]=0x0]=_0x4b5896(0x54b),_0x12e785[_0x12e785[_0x4b5896(0x234)]=0x1]=_0x4b5896(0x234),_0x12e785[_0x12e785['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x12e785[_0x12e785[_0x4b5896(0x4b8)]=0x3]=_0x4b5896(0x4b8),_0x12e785[_0x12e785['UNIVER_PROJECT']=0x4]=_0x4b5896(0x403),_0x12e785[_0x12e785[_0x4b5896(0x4a6)]=-0x1]=_0x4b5896(0x4a6),_0x12e785))(_0x4dc4c2||{}),_0x4a19f=(_0x2ebbd5=>(_0x2ebbd5[_0x2ebbd5[_0x4b5896(0x549)]=0x0]='UNKNOWN_CMD',_0x2ebbd5[_0x2ebbd5[_0x4b5896(0x34c)]=0x1]=_0x4b5896(0x34c),_0x2ebbd5[_0x2ebbd5[_0x4b5896(0x379)]=0x2]='JOIN',_0x2ebbd5[_0x2ebbd5[_0x4b5896(0x490)]=0x3]=_0x4b5896(0x490),_0x2ebbd5[_0x2ebbd5['INGEST']=0x4]='INGEST',_0x2ebbd5[_0x2ebbd5['HEARTBEAT']=0x5]=_0x4b5896(0x207),_0x2ebbd5[_0x2ebbd5['RECV']=0x6]=_0x4b5896(0x1e8),_0x2ebbd5[_0x2ebbd5[_0x4b5896(0x4a6)]=-0x1]=_0x4b5896(0x4a6),_0x2ebbd5))(_0x4a19f||{}),_0x1e0075=(_0x522b05=>(_0x522b05[_0x522b05['UNKNOWN_CODE']=0x0]=_0x4b5896(0x1eb),_0x522b05[_0x522b05['OK']=0x1]='OK',_0x522b05[_0x522b05['FAIL']=0x2]=_0x4b5896(0x45a),_0x522b05[_0x522b05[_0x4b5896(0x524)]=0x3e9]=_0x4b5896(0x524),_0x522b05[_0x522b05[_0x4b5896(0x2b5)]=0x3ea]=_0x4b5896(0x2b5),_0x522b05[_0x522b05[_0x4b5896(0x1b9)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x522b05[_0x522b05[_0x4b5896(0x412)]=0x3ec]=_0x4b5896(0x412),_0x522b05[_0x522b05[_0x4b5896(0x4a6)]=-0x1]=_0x4b5896(0x4a6),_0x522b05))(_0x1e0075||{}),_0x29f3c6=(_0x1ff82f=>(_0x1ff82f[_0x1ff82f['Undefined']=0x0]=_0x4b5896(0x1b5),_0x1ff82f[_0x1ff82f['HttpImport']=0x1]=_0x4b5896(0x22a),_0x1ff82f[_0x1ff82f[_0x4b5896(0x3a2)]=0x2]=_0x4b5896(0x3a2),_0x1ff82f[_0x1ff82f['UnitEmbedded']=0x3]=_0x4b5896(0x427),_0x1ff82f[_0x1ff82f[_0x4b5896(0x2d4)]=0x4]=_0x4b5896(0x2d4),_0x1ff82f[_0x1ff82f[_0x4b5896(0x1fb)]=0x5]=_0x4b5896(0x1fb),_0x1ff82f[_0x1ff82f[_0x4b5896(0x498)]=0x6]=_0x4b5896(0x498),_0x1ff82f[_0x1ff82f[_0x4b5896(0x4a6)]=-0x1]=_0x4b5896(0x4a6),_0x1ff82f))(_0x29f3c6||{});const _0x6d41e2='collaboration_new_changeset';function _0x3394c9(_0x4b24ef){var _0x538a16=_0x4b5896;return JSON['stringify'](_0x4b24ef)[_0x538a16(0x31b)];}var _0x758ea3=(_0x45a606=>(_0x45a606[_0x4b5896(0x4e3)]='OTHER_CLIENT_EDITING',_0x45a606['PERMISSION_DENIED']=_0x4b5896(0x1bb),_0x45a606['CONFLICT']=_0x4b5896(0x3f0),_0x45a606[_0x4b5896(0x4fd)]=_0x4b5896(0x4fd),_0x45a606[_0x4b5896(0x30e)]=_0x4b5896(0x30e),_0x45a606[_0x4b5896(0x336)]=_0x4b5896(0x336),_0x45a606['SOCKET_FAILED']=_0x4b5896(0x2d6),_0x45a606[_0x4b5896(0x430)]=_0x4b5896(0x430),_0x45a606))(_0x758ea3||{});class _0x5b5dc8{constructor(){var _0x414c42=_0x4b5896;_0x33a719(this,_0x414c42(0x486),new _0x49840d['Subject']()),_0x33a719(this,_0x414c42(0x2b6),this[_0x414c42(0x486)][_0x414c42(0x350)]());}[_0x4b5896(0x487)](_0x14be4f){var _0x5902ae=_0x4b5896;this['_event$'][_0x5902ae(0x4eb)](_0x14be4f);}}class _0x41f3ae{constructor(){var _0x224f06=_0x4b5896;_0x33a719(this,'_commentUpdate$',new _0x49840d[(_0x224f06(0x3f4))]()),_0x33a719(this,_0x224f06(0x3ad),this[_0x224f06(0x437)][_0x224f06(0x350)]());}[_0x4b5896(0x2ad)](_0x1ba28b){var _0x203e91=_0x4b5896;this[_0x203e91(0x437)][_0x203e91(0x4eb)](_0x1ba28b);}}var _0x5075b8=Object[_0x4b5896(0x36f)],_0x3119ed=(_0x4ea685,_0x20da34,_0x26b6d6,_0x3ea43a)=>{var _0x477b0a=_0x4b5896;for(var _0x2cb90e=_0x3ea43a>0x1?void 0x0:_0x3ea43a?_0x5075b8(_0x20da34,_0x26b6d6):_0x20da34,_0x481195=_0x4ea685[_0x477b0a(0x31b)]-0x1,_0x385a4a;_0x481195>=0x0;_0x481195--)(_0x385a4a=_0x4ea685[_0x481195])&&(_0x2cb90e=_0x385a4a(_0x2cb90e)||_0x2cb90e);return _0x2cb90e;},_0x53e58e=(_0x119c1c,_0x4f7d07)=>(_0x3b0de7,_0x401c1)=>_0x4f7d07(_0x3b0de7,_0x401c1,_0x119c1c);_0x1fe4e5[_0x4b5896(0x1cf)]=class extends _0x3a8efd[_0x4b5896(0x3ed)]{constructor(_0xba40ed,_0x234de0){var _0x39a87b=_0x4b5896;super(),_0x33a719(this,_0x39a87b(0x272),new Map()),_0x33a719(this,_0x39a87b(0x53a),new _0x49840d[(_0x39a87b(0x3f4))]()),(this['_univerInstanceService']=_0xba40ed,this[_0x39a87b(0x3f6)]=_0x234de0,this['disposeWithMe'](_0x49840d['merge'](this[_0x39a87b(0x4e8)][_0x39a87b(0x424)](_0x3a8efd[_0x39a87b(0x1af)]['UNIVER_SHEET'])[_0x39a87b(0x3b7)](_0x3844a2[_0x39a87b(0x451)](_0x23db6d=>_0x23db6d[_0x39a87b(0x49a)]())),this[_0x39a87b(0x4e8)]['getTypeOfUnitDisposed$'](_0x3a8efd[_0x39a87b(0x1af)][_0x39a87b(0x234)])['pipe'](_0x3844a2[_0x39a87b(0x451)](_0xa70f01=>_0xa70f01[_0x39a87b(0x49a)]())),this[_0x39a87b(0x4e8)]['getTypeOfUnitDisposed$'](_0x3a8efd[_0x39a87b(0x1af)]['UNIVER_SLIDE'])[_0x39a87b(0x3b7)](_0x3844a2[_0x39a87b(0x451)](_0x51035d=>_0x51035d[_0x39a87b(0x49a)]())))[_0x39a87b(0x465)](_0x25892b=>this[_0x39a87b(0x512)](_0x25892b))));}[_0x4b5896(0x482)](_0x238a68){var _0x25f8a9=_0x4b5896;return this['_roomMembers']['has'](_0x238a68)?_0x49840d['of'](this[_0x25f8a9(0x272)][_0x25f8a9(0x4b6)](_0x238a68)):this['_roomCreated$']['pipe'](_0x3844a2[_0x25f8a9(0x451)](_0xfb7848=>{var _0x145f73=_0x25f8a9;if(_0xfb7848===_0x238a68)return this['_roomMembers'][_0x145f73(0x4b6)](_0xfb7848);}));}[_0x4b5896(0x3f3)](_0xd81923){this['_userManagerService']['setCurrentUser'](_0xd81923);}[_0x4b5896(0x2c2)](){var _0x4f0434=_0x4b5896;return this[_0x4f0434(0x3f6)]['getCurrentUser']();}[_0x4b5896(0x3a8)](_0x5689fa,_0x26b55e){var _0x2f1870=_0x4b5896;let _0x44f92e=this[_0x2f1870(0x272)][_0x2f1870(0x4b6)](_0x5689fa);_0x44f92e||(_0x44f92e=new _0x17a9a9(),this[_0x2f1870(0x272)][_0x2f1870(0x513)](_0x5689fa,_0x44f92e),this['_roomCreated$'][_0x2f1870(0x4eb)](_0x5689fa)),_0x44f92e[_0x2f1870(0x3a8)](_0x26b55e);}[_0x4b5896(0x283)](_0x1088a6,_0x30d2f4){var _0x5d9cac=_0x4b5896;const _0x17895f=this[_0x5d9cac(0x272)]['get'](_0x1088a6);_0x17895f&&_0x17895f['removeMember'](_0x30d2f4);}[_0x4b5896(0x46d)](_0x35f0fa){var _0x4dba18=_0x4b5896;return this[_0x4dba18(0x272)][_0x4dba18(0x4b6)](_0x35f0fa);}[_0x4b5896(0x45b)](_0x36dc90,_0xaa7bb4){var _0x5a0b4f=_0x4b5896;const _0x1943e8=this[_0x5a0b4f(0x272)][_0x5a0b4f(0x4b6)](_0x36dc90);if(_0x1943e8)return _0x1943e8['getMember'](_0xaa7bb4);}[_0x4b5896(0x512)](_0x5da4f4){var _0x693b3c=_0x4b5896;const _0x9cc8c=this[_0x693b3c(0x272)][_0x693b3c(0x4b6)](_0x5da4f4);_0x9cc8c&&(_0x9cc8c[_0x693b3c(0x44f)](),this['_roomMembers'][_0x693b3c(0x1c5)](_0x5da4f4));}['dispose'](){var _0x441fed=_0x4b5896;this[_0x441fed(0x272)][_0x441fed(0x28b)](_0x79b704=>_0x79b704[_0x441fed(0x44f)]()),this[_0x441fed(0x272)][_0x441fed(0x448)](),this[_0x441fed(0x53a)][_0x441fed(0x397)]();}},_0x1fe4e5[_0x4b5896(0x1cf)]=_0x3119ed([_0x53e58e(0x0,_0x3a8efd[_0x4b5896(0x40f)]),_0x53e58e(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x3f5)]))],_0x1fe4e5['MemberService']);class _0x17a9a9 extends _0x3a8efd[_0x4b5896(0x3ed)]{constructor(){var _0x1ab39a=_0x4b5896;super(...arguments),_0x33a719(this,_0x1ab39a(0x21b),new Map()),_0x33a719(this,_0x1ab39a(0x1c2),new _0x49840d[(_0x1ab39a(0x293))](this['_members'])),_0x33a719(this,_0x1ab39a(0x2dc),this[_0x1ab39a(0x1c2)][_0x1ab39a(0x350)]());}['dispose'](){var _0x33092c=_0x4b5896;this['_members'][_0x33092c(0x448)]();}[_0x4b5896(0x3a8)](_0x329eaa){var _0x54f3a4=_0x4b5896;this[_0x54f3a4(0x21b)]['set'](_0x329eaa[_0x54f3a4(0x1b6)],_0x329eaa),this['_emitMembers']();}[_0x4b5896(0x283)](_0x4932f6){var _0x1953cf=_0x4b5896;this[_0x1953cf(0x21b)][_0x1953cf(0x1c5)](_0x4932f6);}[_0x4b5896(0x45b)](_0x1c73ed){return this['_members']['get'](_0x1c73ed);}['getAllMembers'](){var _0x6012c6=_0x4b5896;return Array[_0x6012c6(0x48b)](this[_0x6012c6(0x21b)][_0x6012c6(0x3bd)]());}['_emitMembers'](){var _0x98b361=_0x4b5896;this[_0x98b361(0x1c2)][_0x98b361(0x4eb)](this[_0x98b361(0x21b)]);}}var _0x1700e8=Object['getOwnPropertyDescriptor'],_0x36e4c6=(_0x4fede8,_0xa1cc35,_0x1ba718,_0x42bcee)=>{var _0x3d5131=_0x4b5896;for(var _0x51ac1e=_0x42bcee>0x1?void 0x0:_0x42bcee?_0x1700e8(_0xa1cc35,_0x1ba718):_0xa1cc35,_0x568f75=_0x4fede8[_0x3d5131(0x31b)]-0x1,_0x41a73a;_0x568f75>=0x0;_0x568f75--)(_0x41a73a=_0x4fede8[_0x568f75])&&(_0x51ac1e=_0x41a73a(_0x51ac1e)||_0x51ac1e);return _0x51ac1e;},_0x4b7bb0=(_0x5e96d3,_0x240d4e)=>(_0x48d02c,_0x324a0c)=>_0x240d4e(_0x48d02c,_0x324a0c,_0x5e96d3),_0x31c1b0=(_0x45bc6a=>(_0x45bc6a[_0x45bc6a[_0x4b5896(0x2f7)]=0x0]='IDLE',_0x45bc6a[_0x45bc6a['JOINING']=0x1]='JOINING',_0x45bc6a[_0x45bc6a[_0x4b5896(0x3cd)]=0x2]='OFFLINE',_0x45bc6a[_0x45bc6a['ONLINE']=0x3]=_0x4b5896(0x1d4),_0x45bc6a))(_0x31c1b0||{});const _0x4690e5={[_0x1e0075[_0x4b5896(0x45a)]]:_0x4b5896(0x27e),[_0x1e0075['JOIN_ROOM_FULL']]:_0x4b5896(0x406),[_0x1e0075[_0x4b5896(0x2b5)]]:'session.room-not-exists',[_0x1e0075[_0x4b5896(0x1b9)]]:_0x4b5896(0x26f),[_0x1e0075[_0x4b5896(0x412)]]:'session.room-cnt-exceeds'};_0x1fe4e5['CollaborationSession']=class extends _0x3a8efd[_0x4b5896(0x4ad)]{constructor(_0x44aee0,_0x5e8295,_0x2cd21b,_0x27ae96,_0x190367,_0x273677,_0x2fa3b3,_0x44b0b6){var _0x8ba52e=_0x4b5896;super(),_0x33a719(this,_0x8ba52e(0x417),new _0x49840d[(_0x8ba52e(0x293))](0x0)),_0x33a719(this,_0x8ba52e(0x1f6),this[_0x8ba52e(0x417)][_0x8ba52e(0x350)]()),_0x33a719(this,_0x8ba52e(0x486),new _0x49840d[(_0x8ba52e(0x3f4))]()),_0x33a719(this,_0x8ba52e(0x2b6),this['_event$'][_0x8ba52e(0x350)]()),_0x33a719(this,_0x8ba52e(0x21f)),_0x33a719(this,'_socketMessageSubscription'),_0x33a719(this,_0x8ba52e(0x43b)),_0x33a719(this,_0x8ba52e(0x4ec),!0x1),_0x33a719(this,'_telemetryInfo',null),(this[_0x8ba52e(0x2bb)]=_0x44aee0,this[_0x8ba52e(0x2e7)]=_0x2cd21b,this[_0x8ba52e(0x229)]=_0x27ae96,this[_0x8ba52e(0x428)]=_0x190367,this[_0x8ba52e(0x530)]=_0x273677,this[_0x8ba52e(0x3ca)]=_0x2fa3b3,this[_0x8ba52e(0x305)]=_0x44b0b6,this['_shouldReportTelemetry']=!!this[_0x8ba52e(0x305)],_0x5e8295[_0x8ba52e(0x3b7)](_0x49840d[_0x8ba52e(0x224)](this[_0x8ba52e(0x422)]))[_0x8ba52e(0x465)](_0x6c3bf9=>{var _0x5069b7=_0x8ba52e,_0x3f70d3;typeof _0x6c3bf9>'u'||(this[_0x5069b7(0x21f)]=_0x6c3bf9,_0x6c3bf9?(this[_0x5069b7(0x511)](_0x6c3bf9),this[_0x5069b7(0x4d4)]=_0x6c3bf9[_0x5069b7(0x23d)]['subscribe'](_0x5ec0ad=>{var _0x447c43=_0x5069b7;_0x5ec0ad[_0x447c43(0x367)]===this['_unitID']&&this[_0x447c43(0x261)](_0x5ec0ad);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5069b7(0x417)][_0x5069b7(0x4eb)](0x2),(_0x3f70d3=this[_0x5069b7(0x4d4)])==null||_0x3f70d3[_0x5069b7(0x4d6)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0xdc76d4=_0x4b5896;return this[_0xdc76d4(0x417)][_0xdc76d4(0x202)]();}[_0x4b5896(0x20e)](){var _0x473ad6=_0x4b5896,_0x306b98,_0x1da938;return(_0x1da938=(_0x306b98=this[_0x473ad6(0x21f)])==null?void 0x0:_0x306b98[_0x473ad6(0x1b6)])!=null?_0x1da938:null;}[_0x4b5896(0x44f)](){var _0xb68aab=_0x4b5896;super[_0xb68aab(0x44f)](),this['dispose$']['next'](),this[_0xb68aab(0x422)]['complete']();}[_0x4b5896(0x2ed)](){var _0x4b70e9=_0x4b5896,_0x1cc436,_0x55c598;this[_0x4b70e9(0x49f)](),(_0x1cc436=this[_0x4b70e9(0x21f)])==null||_0x1cc436[_0x4b70e9(0x2d7)]({'cmd':_0x4a19f[_0x4b70e9(0x490)],'data':{'roomID':this[_0x4b70e9(0x2bb)]}}),(_0x55c598=this[_0x4b70e9(0x21f)])==null||_0x55c598[_0x4b70e9(0x2ed)](),this[_0x4b70e9(0x486)][_0x4b70e9(0x397)](),this['_sessionStatus$'][_0x4b70e9(0x397)](),this[_0x4b70e9(0x44f)]();}[_0x4b5896(0x261)](_0x345346){var _0x9d5533=_0x4b5896;_0x345346[_0x9d5533(0x2b2)]===_0x4a19f[_0x9d5533(0x379)]?this[_0x9d5533(0x497)](_0x345346):_0x345346[_0x9d5533(0x2b2)]===_0x4a19f[_0x9d5533(0x1e8)]&&this[_0x9d5533(0x33b)](_0x345346);}[_0x4b5896(0x511)](_0x2f0e59){var _0x552758=_0x4b5896;this['_sessionStatus$'][_0x552758(0x4eb)](0x1),_0x2f0e59['send']({'cmd':_0x4a19f['JOIN'],'routeKey':this[_0x552758(0x2bb)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4b5896(0x497)](_0x3eeb0d){var _0x282c47=_0x4b5896,_0x2b96de;if(_0x3eeb0d[_0x282c47(0x354)]in _0x4690e5){this[_0x282c47(0x3ca)]['emitEvent']({'id':_0x758ea3[_0x282c47(0x30e)],'data':_0x4690e5[_0x3eeb0d[_0x282c47(0x354)]]}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$'][_0x282c47(0x4eb)](0x3);const _0x338b90=(_0x2b96de=_0x3eeb0d[_0x282c47(0x1d2)][_0x282c47(0x2cd)][this[_0x282c47(0x2bb)]])==null?void 0x0:_0x2b96de[_0x282c47(0x321)];_0x338b90&&_0x338b90[_0x282c47(0x28b)](_0x31c548=>this[_0x282c47(0x428)][_0x282c47(0x3a8)](this[_0x282c47(0x2bb)],_0x31c548));}[_0x4b5896(0x33b)](_0x422fe3){var _0x1a41d0=_0x4b5896;try{const _0x31842f=_0x422fe3[_0x1a41d0(0x1d2)];switch(_0x31842f[_0x1a41d0(0x4ab)]){case _0x5e2062['CollaborationEvent']['USERS_ENTER']:this[_0x1a41d0(0x334)](_0x31842f),this['_event$'][_0x1a41d0(0x4eb)](_0x31842f);break;case _0x5e2062['CollaborationEvent'][_0x1a41d0(0x3eb)]:this['_onUserLeave'](_0x31842f),this['_event$'][_0x1a41d0(0x4eb)](_0x31842f);break;case _0x5e2062[_0x1a41d0(0x1c0)][_0x1a41d0(0x29d)]:case _0x5e2062[_0x1a41d0(0x1c0)][_0x1a41d0(0x220)]:this[_0x1a41d0(0x25f)](),this[_0x1a41d0(0x440)](),this[_0x1a41d0(0x486)][_0x1a41d0(0x4eb)](_0x31842f);break;case _0x5e2062[_0x1a41d0(0x1c0)][_0x1a41d0(0x50a)]:this[_0x1a41d0(0x2e7)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x1a41d0(0x1d0)](_0x31842f)),this['_event$'][_0x1a41d0(0x4eb)](_0x31842f);break;case _0x5e2062['CollaborationEvent']['COMMENT_UPDATE']:this[_0x1a41d0(0x530)][_0x1a41d0(0x2ad)](_0x31842f[_0x1a41d0(0x1d2)]),this[_0x1a41d0(0x486)]['next'](_0x31842f);break;default:this[_0x1a41d0(0x486)]['next'](_0x31842f);}}catch(_0x655b74){this[_0x1a41d0(0x2e7)][_0x1a41d0(0x542)](_0x655b74,_0x422fe3);}}[_0x4b5896(0x334)](_0x53bdc0){var _0x568d45=_0x4b5896;this[_0x568d45(0x428)][_0x568d45(0x3a8)](this[_0x568d45(0x2bb)],_0x53bdc0[_0x568d45(0x1d2)]);}['_onUserLeave'](_0x47eb67){var _0x44a292=_0x4b5896;this[_0x44a292(0x428)][_0x44a292(0x283)](this['_unitID'],_0x47eb67[_0x44a292(0x1d2)][_0x44a292(0x1b6)]);}async[_0x4b5896(0x2d7)](_0x4eb7fc,_0x5220ee){var _0x1b9a71=_0x4b5896;if(this[_0x1b9a71(0x266)]!==0x3||!this[_0x1b9a71(0x21f)])throw new Error(_0x1b9a71(0x52f));try{_0x4eb7fc[_0x1b9a71(0x4ab)]===_0x5e2062[_0x1b9a71(0x1c0)][_0x1b9a71(0x503)]&&(this[_0x1b9a71(0x531)](),this[_0x1b9a71(0x248)](_0x4eb7fc)),this[_0x1b9a71(0x21f)]['send']({'cmd':_0x4a19f['INGEST'],'routeKey':_0x5220ee,'routeType':'','data':_0x4eb7fc});}catch(_0x27abca){this[_0x1b9a71(0x2e7)][_0x1b9a71(0x542)](_0x27abca);}}[_0x4b5896(0x531)](){var _0x1aba3b=_0x4b5896,_0x3e0e66;this[_0x1aba3b(0x43b)]=setTimeout(()=>{var _0x1db79d=_0x1aba3b;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x1db79d(0x487)]({'id':_0x758ea3[_0x1db79d(0x430)]});},(_0x3e0e66=this[_0x1aba3b(0x229)][_0x1aba3b(0x523)](_0xf8cda4))!=null?_0x3e0e66:0x4e20);}[_0x4b5896(0x440)](){var _0x2a2c5f=_0x4b5896;this[_0x2a2c5f(0x43b)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2a2c5f(0x43b)]=null);}[_0x4b5896(0x248)](_0x5bc0fb){var _0x79417f=_0x4b5896;if(!this['_shouldReportTelemetry'])return;const {data:_0xf41c32}=_0x5bc0fb,{unitID:_0xaac415,changeset:_0x35b81d}=_0xf41c32,{mutations:_0x26f08f,type:_0x1fc222}=_0x35b81d;this[_0x79417f(0x3da)]={'unitId':_0xaac415,'type':_0x1fc222,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x3394c9(_0x26f08f)};}[_0x4b5896(0x25f)](){var _0x27ccdf=_0x4b5896;if(this[_0x27ccdf(0x4ec)]){if(!this[_0x27ccdf(0x3da)]){this['_logService'][_0x27ccdf(0x542)](_0x27ccdf(0x40c),_0x27ccdf(0x3b0));return;}this[_0x27ccdf(0x3da)][_0x27ccdf(0x1c3)]=performance['now'](),this[_0x27ccdf(0x3da)][_0x27ccdf(0x298)]=this[_0x27ccdf(0x3da)][_0x27ccdf(0x1c3)]-this[_0x27ccdf(0x3da)]['startTime'],this[_0x27ccdf(0x305)]['capture'](_0x6d41e2,this[_0x27ccdf(0x3da)]),this[_0x27ccdf(0x3da)]=null;}}[_0x4b5896(0x49f)](){var _0xf95912=_0x4b5896;this[_0xf95912(0x3da)]=null;}},_0x1fe4e5['CollaborationSession']=_0x36e4c6([_0x4b7bb0(0x2,_0x3a8efd['ILogService']),_0x4b7bb0(0x3,_0x3a8efd[_0x4b5896(0x383)]),_0x4b7bb0(0x4,_0x3a8efd[_0x4b5896(0x4b2)](_0x1fe4e5[_0x4b5896(0x1cf)])),_0x4b7bb0(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x41f3ae)),_0x4b7bb0(0x6,_0x3a8efd[_0x4b5896(0x4b2)](_0x5b5dc8)),_0x4b7bb0(0x7,_0x3a8efd['Optional'](_0x217672['ITelemetryService']))],_0x1fe4e5[_0x4b5896(0x50f)]);const _0x5d850f=_0x3a8efd[_0x4b5896(0x474)]('collaboration-client.local-cache-service');function _0x6872c8(_0x4ad8c2){var _0x240163=_0x4b5896;return _0x240163(0x508)+_0x4ad8c2;}var _0x1bdfe9=Object['getOwnPropertyDescriptor'],_0x421480=(_0x52532c,_0x528eb5,_0xe92878,_0x51ec71)=>{var _0x279650=_0x4b5896;for(var _0x163dc7=_0x51ec71>0x1?void 0x0:_0x51ec71?_0x1bdfe9(_0x528eb5,_0xe92878):_0x528eb5,_0x23dd31=_0x52532c[_0x279650(0x31b)]-0x1,_0x5e50dd;_0x23dd31>=0x0;_0x23dd31--)(_0x5e50dd=_0x52532c[_0x23dd31])&&(_0x163dc7=_0x5e50dd(_0x163dc7)||_0x163dc7);return _0x163dc7;},_0x4d6c04=(_0x32e6b0,_0x376332)=>(_0x3788ab,_0x2e94b8)=>_0x376332(_0x3788ab,_0x2e94b8,_0x32e6b0);function _0x3cbd14(_0x5122b5){var _0x420572=_0x4b5896;const {unitID:_0x18d859,mutations:_0x3801f5}=_0x5122b5;return{'unitId':_0x18d859,'subUnitId':_0x3801f5[_0x420572(0x31b)]>0x0?_0x3801f5[0x0][_0x420572(0x47e)][_0x420572(0x271)]:null};}_0x1fe4e5[_0x4b5896(0x235)]=class{constructor(_0x5f44e4,_0x4eb491,_0x58cd69){var _0x392db1=_0x4b5896;this['_injector']=_0x5f44e4,this[_0x392db1(0x2d2)]=_0x4eb491,this['_instanceService']=_0x58cd69;}[_0x4b5896(0x50e)](_0xf2c4bc){var _0x136c59=_0x4b5896,_0x56f153,_0xd4dbfd,_0x193bcc,_0x42f1c3;const _0x5f28ec=this[_0x136c59(0x467)]['get'](_0x14ea65[_0x136c59(0x1c6)]),{unitId:_0x4b6cb0,subUnitId:_0x5f34dc}=_0x3cbd14(_0xf2c4bc),_0x246aa9=_0x5f28ec==null?void 0x0:_0x5f28ec[_0x136c59(0x3e0)](_0x4b6cb0)[_0x136c59(0x47b)](),_0x571465=(_0xd4dbfd=(_0x56f153=this[_0x136c59(0x31d)]['getUnit'](_0x4b6cb0))==null?void 0x0:_0x56f153['getActiveSheet']())==null?void 0x0:_0xd4dbfd[_0x136c59(0x3a7)]();if(_0x246aa9['length']===0x0||!_0x4b6cb0||!_0x5f34dc)return;const _0x4ecf91=[{'id':_0x14ea65[_0x136c59(0x483)]['id'],'params':{'unitId':_0x4b6cb0,'subUnitId':_0x571465,'selections':_0x3a8efd[_0x136c59(0x1f8)]['deepClone'](_0x246aa9)}}],_0x25f625=this[_0x136c59(0x2d2)][_0x136c59(0x262)](_0xf2c4bc,_0x4ecf91);if(!_0x5e2062[_0x136c59(0x3d6)](_0x25f625))throw _0x25f625[_0x136c59(0x542)];const _0x5d6a76=(_0x42f1c3=(_0x193bcc=_0x25f625[_0x136c59(0x48c)][0x0])==null?void 0x0:_0x193bcc[_0x136c59(0x47e)])==null?void 0x0:_0x42f1c3[_0x136c59(0x2b0)];if(Array['isArray'](_0x5d6a76)&&_0x5d6a76['length']){if(_0x5d6a76['length']===_0x4ecf91[0x0][_0x136c59(0x47e)][_0x136c59(0x2b0)]['length']&&_0x5d6a76[_0x136c59(0x51c)]((_0x54b721,_0x4cf21b)=>_0x3a8efd[_0x136c59(0x53b)][_0x136c59(0x1b8)](_0x54b721['range'],_0x4ecf91[0x0][_0x136c59(0x47e)][_0x136c59(0x2b0)][_0x4cf21b][_0x136c59(0x368)])))return;this['_injector'][_0x136c59(0x4b6)](_0x3a8efd[_0x136c59(0x31c)])[_0x136c59(0x2f8)](_0x14ea65[_0x136c59(0x483)]['id'],{'unitId':_0x4b6cb0,'subUnitId':_0x571465,'selections':_0x5d6a76});}}},_0x1fe4e5['SheetTransformSelectionsService']=_0x421480([_0x4d6c04(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x4d6c04(0x1,_0x5e2062[_0x4b5896(0x529)]),_0x4d6c04(0x2,_0x3a8efd[_0x4b5896(0x40f)])],_0x1fe4e5['SheetTransformSelectionsService']);const _0x4632e6=_0x3a8efd[_0x4b5896(0x474)]('univer-pro.collaboration-client.single-active-unit-service');var _0x1445d5=(_0xe6ee7=>(_0xe6ee7[_0xe6ee7['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4b5896(0x433),_0xe6ee7[_0xe6ee7[_0x4b5896(0x366)]=0x1]=_0x4b5896(0x366),_0xe6ee7))(_0x1445d5||{});const _0x3fa8a8=_0x4b5896(0x230),_0x5cef49={};function _0x4306cb(_0x5f55f6){var _0x53977e=_0x4b5896,_0x2ad867;return!!((_0x2ad867=_0x5f55f6[_0x53977e(0x47e)])!=null&&_0x2ad867['__splitChunk__']);}const _0x303272=new Set([_0x14ea65[_0x4b5896(0x3cc)]['id']]);function _0x1869a1(_0x2c3d7d,_0x45e8ee,_0x103579,_0x3959e8,_0x1b6384){var _0x203203=_0x4b5896,_0x1c0ecf,_0x21d5cf,_0x564378,_0xe4fc08;const _0x1f5d7f=[];for(const _0x61d050 of _0x2c3d7d){if(_0x303272['has'](_0x61d050['id'])){if(_0x1f5d7f[_0x203203(0x31b)]>0x0)break;_0x1f5d7f[_0x203203(0x435)](_0x61d050);break;}if(_0x4306cb(_0x61d050)){if(_0x1f5d7f[_0x203203(0x31b)]>0x0)break;_0x1f5d7f['push'](_0x61d050);break;}_0x1f5d7f[_0x203203(0x435)](_0x61d050);}const _0x5bab8f=(_0x21d5cf=(_0x1c0ecf=_0x1b6384[_0x203203(0x2c2)]())==null?void 0x0:_0x1c0ecf[_0x203203(0x373)])!=null?_0x21d5cf:_0x203203(0x35a),_0x4ca96e=(_0xe4fc08=(_0x564378=_0x1b6384[_0x203203(0x2c2)]())==null?void 0x0:_0x564378['memberID'])!=null?_0xe4fc08:_0x203203(0x35a);return{'changeset':{'unitID':_0x45e8ee,'type':_0x5e2062[_0x203203(0x42b)](_0x103579[_0x203203(0x324)](_0x45e8ee)),'baseRev':_0x3959e8[_0x203203(0x3f8)](_0x45e8ee),'revision':0x0,'userID':_0x5bab8f,'memberID':_0x4ca96e,'mutations':_0x1f5d7f},'pendingMutations':_0x2c3d7d[_0x203203(0x326)](_0x1f5d7f['length'])};}function _0x18d7bb(_0x4505a7,_0x16b98e,_0x3f6e34,_0x2d0ed6,_0xc31765){var _0x435895=_0x4b5896,_0x2589ac,_0x576604,_0x4837e2,_0x51182a;const _0x3b08c5=[_0x4505a7[_0x435895(0x3be)]((_0x174894,_0x2bf5f6)=>{var _0x9bcce7=_0x435895,_0x4267e5;const {id:_0x5d9f60}=_0x174894,{id:_0x4ddf67,type:_0x4b2689}=_0x2bf5f6,_0x3c7b90=(_0x4267e5=_0x174894[_0x9bcce7(0x47e)])!=null?_0x4267e5:{'actions':null},_0x2caff7=_0x2bf5f6[_0x9bcce7(0x47e)];if(_0x5d9f60&&_0x5d9f60!==_0x4ddf67)throw new Error(_0x9bcce7(0x35d)+_0x5d9f60+'\x20-\x20'+_0x4ddf67+'.');return{..._0x174894,'id':_0x4ddf67,'type':_0x4b2689,'params':{'unitId':_0x2caff7['unitId'],'textRanges':_0x2caff7[_0x9bcce7(0x38b)],'actions':_0x3a8efd['JSONX']['compose'](_0x3c7b90[_0x9bcce7(0x514)],_0x2caff7[_0x9bcce7(0x514)])}};},{})],_0x547361=(_0x576604=(_0x2589ac=_0xc31765[_0x435895(0x2c2)]())==null?void 0x0:_0x2589ac[_0x435895(0x373)])!=null?_0x576604:'unknown',_0x318a3=(_0x51182a=(_0x4837e2=_0xc31765[_0x435895(0x2c2)]())==null?void 0x0:_0x4837e2[_0x435895(0x1b6)])!=null?_0x51182a:_0x435895(0x35a);return{'changeset':{'unitID':_0x16b98e,'type':_0x5e2062[_0x435895(0x42b)](_0x3f6e34['getUnitType'](_0x16b98e)),'baseRev':_0x2d0ed6['getCurrentRevOfUnit'](_0x16b98e),'revision':0x0,'userID':_0x547361,'memberID':_0x318a3,'mutations':_0x3b08c5},'pendingMutations':[]};}function _0x92083f(_0x3227b5,_0x5e2413){var _0x3986de=_0x4b5896;const _0x14b105=new _0x49840d[(_0x3986de(0x4a9))](0x1);return setTimeout(()=>_0x14b105[_0x3986de(0x4eb)](_0x5e2413),_0x3227b5),_0x14b105[_0x3986de(0x350)]()[_0x3986de(0x3b7)](_0x49840d[_0x3986de(0x3c7)](0x1));}var _0x3443a9=Object['getOwnPropertyDescriptor'],_0x19e867=(_0x2211b9,_0x1d4a4c,_0x4c083f,_0x57e1a2)=>{for(var _0x517546=_0x57e1a2>0x1?void 0x0:_0x57e1a2?_0x3443a9(_0x1d4a4c,_0x4c083f):_0x1d4a4c,_0x57f9f2=_0x2211b9['length']-0x1,_0x4520d3;_0x57f9f2>=0x0;_0x57f9f2--)(_0x4520d3=_0x2211b9[_0x57f9f2])&&(_0x517546=_0x4520d3(_0x517546)||_0x517546);return _0x517546;},_0x4233b2=(_0x153d6f,_0xd81b61)=>(_0x2cbcae,_0x291988)=>_0xd81b61(_0x2cbcae,_0x291988,_0x153d6f),_0x366a4b=(_0x23c941=>(_0x23c941[_0x4b5896(0x2d5)]='not_collab',_0x23c941[_0x4b5896(0x4f5)]=_0x4b5896(0x4dc),_0x23c941[_0x4b5896(0x3db)]=_0x4b5896(0x4f9),_0x23c941[_0x4b5896(0x226)]=_0x4b5896(0x4ae),_0x23c941['AWAITING_WITH_PENDING']=_0x4b5896(0x24a),_0x23c941[_0x4b5896(0x3ee)]=_0x4b5896(0x33e),_0x23c941[_0x4b5896(0x3f0)]=_0x4b5896(0x499),_0x23c941[_0x4b5896(0x3cd)]='offline',_0x23c941))(_0x366a4b||{});const _0x394cb1=0x4e20,_0xf5ed0d=0x2bf20;class _0x25cac4{constructor(_0x3d8b76,_0xcee4be,_0x1ee82e,_0x87f9d,_0x118c6e,_0x22b786,_0x52c4d7,_0x4b17d3,_0x402bf8){var _0x2e606c=_0x4b5896;_0x33a719(this,'_awaitingChangeset',null),_0x33a719(this,_0x2e606c(0x42f),[]),(this[_0x2e606c(0x28a)]=_0x3d8b76,this[_0x2e606c(0x25a)]=_0xcee4be,this[_0x2e606c(0x1b1)]=_0x118c6e,this[_0x2e606c(0x1da)]=_0x22b786,this[_0x2e606c(0x377)]=_0x52c4d7,this[_0x2e606c(0x4ba)]=_0x4b17d3,this[_0x2e606c(0x25d)]=_0x402bf8,this['_awaitingChangeset']=_0x1ee82e,this['_pendingMutations']=_0x87f9d);}[_0x4b5896(0x436)](_0x1c1b2f){var _0x49fe5e=_0x4b5896;const _0x12e00e=this['_revisionService'][_0x49fe5e(0x3f8)](this[_0x49fe5e(0x28a)]);return _0x1c1b2f['revision']>_0x12e00e+0x1?(this['_handler']['onMissingChangesets']({'from':_0x12e00e,'to':_0x1c1b2f[_0x49fe5e(0x301)]-0x1}),!0x0):!0x1;}[_0x4b5896(0x460)](_0x1cfecf){var _0x3101c6=_0x4b5896;this[_0x3101c6(0x377)][_0x3101c6(0x2fb)](this[_0x3101c6(0x28a)],_0x1cfecf);}[_0x4b5896(0x382)](_0x306f71){var _0x27c7a0=_0x4b5896,_0xdeddae,_0x574080;(_0x574080=(_0xdeddae=this[_0x27c7a0(0x1b1)])[_0x27c7a0(0x3d2)])==null||_0x574080['call'](_0xdeddae,_0x306f71);}['_transformIMECache'](_0x5b0e60){var _0x10f46b=_0x4b5896,_0x462a28,_0x9dd25f;return(_0x9dd25f=(_0x462a28=this['_handler'])[_0x10f46b(0x4d8)])==null?void 0x0:_0x9dd25f[_0x10f46b(0x473)](_0x462a28,_0x5b0e60);}[_0x4b5896(0x2e6)](_0x23a137){var _0x48f774=_0x4b5896,_0x20cd67,_0x3e52ca;return(_0x3e52ca=(_0x20cd67=this[_0x48f774(0x1b1)])[_0x48f774(0x39a)])==null?void 0x0:_0x3e52ca[_0x48f774(0x473)](_0x20cd67,_0x23a137);}[_0x4b5896(0x257)](_0x5e0ddd){var _0x40b6d3=_0x4b5896,_0xa2539a,_0x18d479,_0x455b31;return(_0x455b31=(_0x18d479=(_0xa2539a=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x18d479[_0x40b6d3(0x473)](_0xa2539a,_0x5e0ddd))!=null?_0x455b31:_0x5e0ddd;}[_0x4b5896(0x52a)](_0x4e3ced){var _0x1fcf8=_0x4b5896,_0x5643c9,_0x3bcd7a,_0x49e60b;return(_0x49e60b=(_0x3bcd7a=(_0x5643c9=this[_0x1fcf8(0x1b1)])[_0x1fcf8(0x3b8)])==null?void 0x0:_0x3bcd7a['call'](_0x5643c9,_0x4e3ced))!=null?_0x49e60b:_0x4e3ced;}[_0x4b5896(0x42a)](_0xd83464){var _0x57333c=_0x4b5896,_0x50e1f3,_0x253873;if(this[_0x57333c(0x25a)]===_0x4dc4c2[_0x57333c(0x234)]){const {unitID:_0x1e9a0a,mutations:_0x16c162,memberID:_0x2504c5}=_0xd83464,_0x560449=_0x16c162[_0x57333c(0x31b)]>0x0?_0x16c162[0x0][_0x57333c(0x47e)][_0x57333c(0x38b)]:[];Array[_0x57333c(0x4c2)](_0x560449)&&_0x560449[_0x57333c(0x31b)]>0x0&&((_0x253873=(_0x50e1f3=this['_handler'])[_0x57333c(0x41f)])==null||_0x253873[_0x57333c(0x473)](_0x50e1f3,{'unitID':_0x1e9a0a,'memberID':_0x2504c5,'textRanges':_0x560449}));}}[_0x4b5896(0x3bc)](){var _0x40cd41=_0x4b5896,_0x23ae20;(_0x23ae20=this[_0x40cd41(0x25d)])==null||_0x23ae20['updateOfflineData'](this[_0x40cd41(0x28a)],this['type'],this['_awaitingChangeset'],this[_0x40cd41(0x42f)]);}['_getCurrentRevision'](){var _0xf813ed=_0x4b5896;return this[_0xf813ed(0x4ba)]['getCurrentRevOfUnit'](this['unitID']);}[_0x4b5896(0x1b2)](){var _0x27acc4=_0x4b5896;this['_revisionService'][_0x27acc4(0x461)](this[_0x27acc4(0x28a)]);}[_0x4b5896(0x484)](_0x22d54d){var _0x4db254=_0x4b5896,_0x3b8e01;let _0x3b38f9=this['_transformRemoteChangesetByIMECache'](_0x22d54d);_0x3b38f9=this[_0x4db254(0x52a)](_0x3b38f9);const _0x533f47=_0x3a8efd[_0x4db254(0x4b0)](_0x3b38f9[_0x4db254(0x21e)],this[_0x4db254(0x1da)],{'fromCollab':!0x0});if(!_0x533f47[_0x4db254(0x2af)])throw _0x533f47[_0x4db254(0x542)]instanceof Error?_0x533f47[_0x4db254(0x542)]:new Error((_0x3b8e01=_0x533f47[_0x4db254(0x542)])!=null?_0x3b8e01:_0x4db254(0x525));this[_0x4db254(0x374)](_0x3b38f9),this[_0x4db254(0x2e6)](_0x3b38f9),this[_0x4db254(0x460)](_0x22d54d),this[_0x4db254(0x382)](_0x3b38f9),this[_0x4db254(0x42a)](_0x3b38f9),this[_0x4db254(0x1b2)]();}}_0x1fe4e5[_0x4b5896(0x462)]=class extends _0x25cac4{constructor(_0x6d79c8,_0x4f3245,_0x34d186,_0x223aca,_0x26ba9e,_0xdfcdad,_0x324c4a,_0x12a8c5,_0x8732f8,_0xe07a04){var _0x10eb91=_0x4b5896;super(_0x6d79c8,_0x4f3245,null,[],_0x34d186,_0x324c4a,_0xdfcdad,_0x223aca,_0xe07a04),_0x33a719(this,_0x10eb91(0x318),_0x10eb91(0x4dc)),(this['_injector']=_0x26ba9e,this['_logService']=_0x12a8c5,this[_0x10eb91(0x2d2)]=_0x8732f8,this[_0x10eb91(0x3ba)]=_0xe07a04);}[_0x4b5896(0x470)](_0x1a6a93){var _0x4fe0ad=_0x4b5896;const _0x3c1cb4=this['_injector'][_0x4fe0ad(0x284)](_0x1fe4e5['PendingState'],this[_0x4fe0ad(0x28a)],this['type'],[_0x1a6a93],this[_0x4fe0ad(0x1b1)]);return _0x3c1cb4[_0x4fe0ad(0x409)](),_0x3c1cb4[_0x4fe0ad(0x3bc)](),_0x3c1cb4;}[_0x4b5896(0x211)](_0x208e75){var _0x2a5839=_0x4b5896;if(this[_0x2a5839(0x436)](_0x208e75))return this[_0x2a5839(0x467)][_0x2a5839(0x284)](_0x1fe4e5['FetchingMissState'],this[_0x2a5839(0x28a)],this[_0x2a5839(0x25a)],null,[],null,[_0x208e75],this[_0x2a5839(0x1b1)]);try{const _0x40a40f=this[_0x2a5839(0x2d2)][_0x2a5839(0x262)](_0x208e75,[_0x5e2062['EmptyMutationInfo']]);if(_0x5e2062[_0x2a5839(0x3d6)](_0x40a40f)){const {c1Prime:_0x1fe21f}=_0x40a40f;return this['_executeRemoteChangeset'](_0x1fe21f),this;}throw _0x40a40f[_0x2a5839(0x542)];}catch(_0xd5466d){return this[_0x2a5839(0x2e7)]['error'](_0xd5466d),this['_onConflict'](!0x1);}}['_onConflict'](_0x3a749f){var _0x5092f3=_0x4b5896;return this['_injector'][_0x5092f3(0x284)](_0x1fe4e5['ConflictState'],this['unitID'],this[_0x5092f3(0x25a)],null,[],this[_0x5092f3(0x1b1)],_0x3a749f);}[_0x4b5896(0x534)](){var _0x25121a=_0x4b5896;throw new Error(_0x25121a(0x3d9));}[_0x4b5896(0x54c)](){var _0x1d67c8=_0x4b5896;throw new Error(_0x1d67c8(0x4df));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x2024bf=_0x4b5896;return this[_0x2024bf(0x467)][_0x2024bf(0x284)](_0x1fe4e5[_0x2024bf(0x2c6)],this[_0x2024bf(0x28a)],this[_0x2024bf(0x25a)],null,[],this[_0x2024bf(0x1b1)]);}[_0x4b5896(0x4ee)](){return this;}[_0x4b5896(0x446)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x5b9a49=_0x4b5896;const _0x10b7ca=this['_revisionService'][_0x5b9a49(0x3f8)](this[_0x5b9a49(0x28a)]);return this[_0x5b9a49(0x1b1)][_0x5b9a49(0x3c6)]({'from':_0x10b7ca,'to':0x0}),this[_0x5b9a49(0x467)][_0x5b9a49(0x284)](_0x1fe4e5[_0x5b9a49(0x204)],this[_0x5b9a49(0x28a)],this[_0x5b9a49(0x25a)],null,[],null,[],this[_0x5b9a49(0x1b1)]);}},_0x1fe4e5['SyncedState']=_0x19e867([_0x4233b2(0x3,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062[_0x4b5896(0x2ef)])),_0x4233b2(0x4,_0x3a8efd['Inject'](_0x3a8efd[_0x4b5896(0x308)])),_0x4233b2(0x5,_0x3a8efd[_0x4b5896(0x4f2)]),_0x4233b2(0x6,_0x3a8efd['ICommandService']),_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x4b5)]),_0x4233b2(0x8,_0x5e2062[_0x4b5896(0x529)]),_0x4233b2(0x9,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5['SyncedState']),_0x1fe4e5[_0x4b5896(0x536)]=class extends _0x25cac4{constructor(_0x33128e,_0x216dfd,_0x512a0b,_0x87f158,_0x34e5e2,_0x57d917,_0x32f514,_0x328fc6,_0x5a531f,_0x5a4d72,_0x35d0d5,_0x345ac0,_0x3d41b5,_0x216341){var _0xd03484=_0x4b5896;super(_0x33128e,_0x216dfd,null,_0x512a0b,_0x87f158,_0x5a531f,_0x3d41b5,_0x57d917,_0x216341),_0x33a719(this,_0xd03484(0x318),_0xd03484(0x4f9)),_0x33a719(this,_0xd03484(0x37a),null),_0x33a719(this,_0xd03484(0x4f8),null),(this[_0xd03484(0x467)]=_0x34e5e2,this[_0xd03484(0x428)]=_0x32f514,this[_0xd03484(0x2e7)]=_0x328fc6,this['_configService']=_0x5a4d72,this[_0xd03484(0x2d2)]=_0x35d0d5,this[_0xd03484(0x4e8)]=_0x345ac0);}[_0x4b5896(0x470)](_0x5093b4){var _0x39d2bc=_0x4b5896;return this[_0x39d2bc(0x42f)][_0x39d2bc(0x435)](_0x5093b4),this[_0x39d2bc(0x3bc)](),this;}[_0x4b5896(0x211)](_0x3be07e){var _0xdae8d=_0x4b5896;if(this['_checkMissing'](_0x3be07e))return this[_0xdae8d(0x535)](),this[_0xdae8d(0x467)]['createInstance'](_0x1fe4e5[_0xdae8d(0x204)],this['unitID'],this[_0xdae8d(0x25a)],null,this[_0xdae8d(0x42f)],null,[_0x3be07e],this[_0xdae8d(0x1b1)]);try{const _0xa3d4b2=this['_transformService'][_0xdae8d(0x262)](_0x3be07e,this['_pendingMutations']);if(_0x5e2062[_0xdae8d(0x3d6)](_0xa3d4b2)){const {c1Prime:_0x331e42,m2Prime:_0x45bfd8}=_0xa3d4b2;this['_executeRemoteChangeset'](_0x331e42);const _0x150743=this['_injector'][_0xdae8d(0x284)](_0x1fe4e5[_0xdae8d(0x536)],this[_0xdae8d(0x28a)],this[_0xdae8d(0x25a)],_0x45bfd8,this['_handler']);this[_0xdae8d(0x535)]();const _0x46f66f=new Date()[_0xdae8d(0x330)](),_0x197c2c=this['_scheduleCompleteTimestamp']?Math[_0xdae8d(0x420)](this[_0xdae8d(0x37a)]-_0x46f66f,0x0):this[_0xdae8d(0x402)]();return _0x150743[_0xdae8d(0x409)](_0x197c2c),_0x150743;}throw _0xa3d4b2[_0xdae8d(0x542)];}catch(_0x3c64a7){return this[_0xdae8d(0x2e7)][_0xdae8d(0x542)](_0x3c64a7),this['_onConflict'](!0x1);}}[_0x4b5896(0x534)](){var _0xec8b6a=_0x4b5896;throw new Error(_0xec8b6a(0x24e));}[_0x4b5896(0x54c)](){var _0x413c57=_0x4b5896;throw new Error(_0x413c57(0x25e));}[_0x4b5896(0x408)](){return this;}[_0x4b5896(0x485)](){var _0x19acb7=_0x4b5896;return this[_0x19acb7(0x535)](),this['_injector'][_0x19acb7(0x284)](_0x1fe4e5[_0x19acb7(0x2c6)],this[_0x19acb7(0x28a)],this[_0x19acb7(0x25a)],null,this[_0x19acb7(0x42f)],this[_0x19acb7(0x1b1)]);}[_0x4b5896(0x4ee)](){return this;}[_0x4b5896(0x409)](_0x20f320){var _0x448d81=_0x4b5896;const _0x4700aa=_0x20f320!=null?_0x20f320:this['_getSendChangesetTimeout']();this[_0x448d81(0x37a)]=new Date()[_0x448d81(0x330)]()+_0x4700aa,this[_0x448d81(0x4f8)]=setTimeout(()=>{var _0x4c5348=_0x448d81;this[_0x4c5348(0x535)]();let _0x3c9cf2=null;switch(this['type']){case _0x4dc4c2['UNIVER_SHEET']:{_0x3c9cf2=_0x1869a1(this[_0x4c5348(0x42f)],this[_0x4c5348(0x28a)],this[_0x4c5348(0x4e8)],this[_0x4c5348(0x4ba)],this['_memberService']);break;}case _0x4dc4c2['UNIVER_DOC']:{this[_0x4c5348(0x42f)][_0x4c5348(0x51c)](_0x455702=>_0x455702['id']===_0x42a10e[_0x4c5348(0x4c8)]['id'])?_0x3c9cf2=_0x18d7bb(this[_0x4c5348(0x42f)],this[_0x4c5348(0x28a)],this['_univerInstanceService'],this[_0x4c5348(0x4ba)],this[_0x4c5348(0x428)]):_0x3c9cf2=_0x1869a1(this[_0x4c5348(0x42f)],this[_0x4c5348(0x28a)],this[_0x4c5348(0x4e8)],this[_0x4c5348(0x4ba)],this[_0x4c5348(0x428)]);break;}default:throw new Error(_0x4c5348(0x3a1)+this[_0x4c5348(0x25a)]+'\x20in\x20_schedule.');}const {changeset:_0x8a044d,pendingMutations:_0x1e38d1}=_0x3c9cf2;this['_handler'][_0x4c5348(0x341)](_0x8a044d);const _0xcc3db0=_0x1e38d1[_0x4c5348(0x31b)]?this[_0x4c5348(0x467)]['createInstance'](_0x1fe4e5[_0x4c5348(0x2c0)],this['unitID'],this['type'],_0x8a044d,_0x1e38d1,this[_0x4c5348(0x1b1)],void 0x0):this[_0x4c5348(0x467)][_0x4c5348(0x284)](_0x1fe4e5[_0x4c5348(0x2d8)],this[_0x4c5348(0x28a)],this[_0x4c5348(0x25a)],_0x8a044d,this[_0x4c5348(0x1b1)]);_0xcc3db0[_0x4c5348(0x3bc)](),this[_0x4c5348(0x1b1)][_0x4c5348(0x41d)](this,_0xcc3db0);},_0x4700aa);}['_getSendChangesetTimeout'](){var _0x1016fa=_0x4b5896,_0x2a45a0;const _0x1a3202=this[_0x1016fa(0x229)]['getConfig'](_0x3fa8a8);return(_0x2a45a0=_0x1a3202==null?void 0x0:_0x1a3202[_0x1016fa(0x1f4)])!=null?_0x2a45a0:0x7d0;}[_0x4b5896(0x446)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4b5896(0x535)](){var _0x1b0cf7=_0x4b5896;this[_0x1b0cf7(0x4f8)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x1b0cf7(0x4f8)]=null);}[_0x4b5896(0x4bd)](_0x4660cb){var _0x3589b8=_0x4b5896;return this[_0x3589b8(0x535)](),this[_0x3589b8(0x467)][_0x3589b8(0x284)](_0x1fe4e5[_0x3589b8(0x3b4)],this['unitID'],this[_0x3589b8(0x25a)],null,this[_0x3589b8(0x42f)],this[_0x3589b8(0x1b1)],_0x4660cb);}},_0x1fe4e5[_0x4b5896(0x536)]=_0x19e867([_0x4233b2(0x4,_0x3a8efd['Inject'](_0x3a8efd[_0x4b5896(0x308)])),_0x4233b2(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062[_0x4b5896(0x2ef)])),_0x4233b2(0x6,_0x3a8efd[_0x4b5896(0x4b2)](_0x1fe4e5[_0x4b5896(0x1cf)])),_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x4b5)]),_0x4233b2(0x8,_0x3a8efd['ICommandService']),_0x4233b2(0x9,_0x3a8efd[_0x4b5896(0x383)]),_0x4233b2(0xa,_0x5e2062[_0x4b5896(0x529)]),_0x4233b2(0xb,_0x3a8efd[_0x4b5896(0x40f)]),_0x4233b2(0xc,_0x3a8efd['IUndoRedoService']),_0x4233b2(0xd,_0x3a8efd['Optional'](_0x5d850f))],_0x1fe4e5['PendingState']),_0x1fe4e5[_0x4b5896(0x2d8)]=class extends _0x25cac4{constructor(_0x2206a2,_0x43b182,_0x4bf762,_0x404d7a,_0xe40d59,_0x2fb8e2,_0x1eaf7b,_0x376f31,_0x1295e0,_0x7825f4,_0x5db9ef){var _0x277250=_0x4b5896;super(_0x2206a2,_0x43b182,_0x4bf762,[],_0x404d7a,_0x1eaf7b,_0x7825f4,_0x2fb8e2,_0x5db9ef),_0x33a719(this,'status',_0x277250(0x4ae)),_0x33a719(this,_0x277250(0x1cb),0x0),_0x33a719(this,'_maxTotalRetryTimeout',0x0),_0x33a719(this,_0x277250(0x4b1)),_0x33a719(this,_0x277250(0x46b)),(this[_0x277250(0x467)]=_0xe40d59,this['_logService']=_0x376f31,this['_transformService']=_0x1295e0);}[_0x4b5896(0x470)](_0x9687f9){var _0xbf9d5e=_0x4b5896;this[_0xbf9d5e(0x535)]();const _0x378d9a=this[_0xbf9d5e(0x467)][_0xbf9d5e(0x284)](_0x1fe4e5['AwaitingWithPendingState'],this['unitID'],this[_0xbf9d5e(0x25a)],this[_0xbf9d5e(0x30a)],[_0x9687f9],this['_handler'],this[_0xbf9d5e(0x4b1)]);return _0x378d9a[_0xbf9d5e(0x3bc)](),_0x378d9a;}[_0x4b5896(0x211)](_0x51e8bf){var _0x3ac74a=_0x4b5896;if(this['_checkMissing'](_0x51e8bf))return this['_clearScheduledTask'](),this[_0x3ac74a(0x467)]['createInstance'](_0x1fe4e5[_0x3ac74a(0x204)],this[_0x3ac74a(0x28a)],this[_0x3ac74a(0x25a)],this[_0x3ac74a(0x30a)],[],null,[_0x51e8bf],this['_handler']);try{const _0x442c65=this[_0x3ac74a(0x2d2)]['transformChangesets']([_0x51e8bf],[this[_0x3ac74a(0x30a)]],!0x1);if(_0x5e2062['isTransformChangesetsSuccess'](_0x442c65)){const {c1Prime:_0x572f53,c2Prime:_0x2bfc15}=_0x442c65;this[_0x3ac74a(0x484)](_0x572f53[0x0]),_0x2bfc15[0x0][_0x3ac74a(0x48e)]=this[_0x3ac74a(0x1cd)](),this[_0x3ac74a(0x535)]();const _0x76031d=this[_0x3ac74a(0x467)][_0x3ac74a(0x284)](_0x1fe4e5[_0x3ac74a(0x2d8)],this[_0x3ac74a(0x28a)],this['type'],_0x2bfc15[0x0],this['_handler']);return _0x76031d[_0x3ac74a(0x3bc)](),_0x76031d;}return this['_onConflict'](!0x1);}catch(_0x5a2c55){return this[_0x3ac74a(0x2e7)][_0x3ac74a(0x542)](_0x5a2c55),this[_0x3ac74a(0x4bd)](!0x1);}}[_0x4b5896(0x534)](_0x506d9a){var _0x287a2c=_0x4b5896;this[_0x287a2c(0x535)]();const _0x4e8cfb=this['_revisionService'][_0x287a2c(0x3f8)](this[_0x287a2c(0x28a)]);if(_0x506d9a[_0x287a2c(0x301)]<_0x4e8cfb-0x1)return this;if(this[_0x287a2c(0x436)](_0x506d9a))return this[_0x287a2c(0x467)][_0x287a2c(0x284)](_0x1fe4e5[_0x287a2c(0x204)],this[_0x287a2c(0x28a)],this['type'],null,[],this[_0x287a2c(0x30a)],[],this[_0x287a2c(0x1b1)]);this[_0x287a2c(0x1b2)]();const _0x6a82be=this[_0x287a2c(0x467)][_0x287a2c(0x284)](_0x1fe4e5[_0x287a2c(0x462)],this['unitID'],this[_0x287a2c(0x25a)],this[_0x287a2c(0x1b1)]);return _0x6a82be[_0x287a2c(0x3bc)](),_0x6a82be;}['onRemoteRej'](_0x11c62c){var _0x53ed0e=_0x4b5896;return this[_0x53ed0e(0x4bd)](!!(_0x11c62c!=null&&_0x11c62c['isPermissionRej']));}['onRemoteRetry'](_0x17a716){var _0x579b04=_0x4b5896;return this[_0x579b04(0x287)]>_0xf5ed0d?this[_0x579b04(0x485)]():(this[_0x579b04(0x4b1)]=_0x92083f(this[_0x579b04(0x1cb)],{'timeout':this[_0x579b04(0x1cb)],'reqId':_0x17a716['reqId']}),this[_0x579b04(0x46b)]=this[_0x579b04(0x4b1)]['subscribe'](({reqId:_0x3ceac6,timeout:_0x213d4c})=>{this['_resendWithTimeout'](_0x3ceac6,_0x213d4c);}),this);}[_0x4b5896(0x485)](){var _0x214db5=_0x4b5896;return this[_0x214db5(0x535)](),this[_0x214db5(0x467)]['createInstance'](_0x1fe4e5[_0x214db5(0x2c6)],this[_0x214db5(0x28a)],this[_0x214db5(0x25a)],this[_0x214db5(0x30a)],[],this['_handler']);}[_0x4b5896(0x4ee)](){return this;}[_0x4b5896(0x446)](){var _0x54cbba=_0x4b5896;this['_handler']['onSendChangeset'](this[_0x54cbba(0x30a)]);}[_0x4b5896(0x4bd)](_0x5a4775){var _0x3b692e=_0x4b5896;return this[_0x3b692e(0x535)](),this[_0x3b692e(0x467)]['createInstance'](_0x1fe4e5['ConflictState'],this[_0x3b692e(0x28a)],this['type'],this[_0x3b692e(0x30a)],[],this[_0x3b692e(0x1b1)],_0x5a4775);}[_0x4b5896(0x33c)](_0x445b99,_0x4e691c){var _0x59c1ec=_0x4b5896,_0x56c510;_0x445b99===((_0x56c510=this[_0x59c1ec(0x30a)])==null?void 0x0:_0x56c510[_0x59c1ec(0x1df)])&&(this[_0x59c1ec(0x446)](),this['_resendTimeout']=_0x4e691c===0x0?0x3e8:Math['min'](_0x4e691c*0x2,_0x394cb1),this[_0x59c1ec(0x287)]+=this[_0x59c1ec(0x1cb)]);}['_clearScheduledTask'](){var _0x143bb3=_0x4b5896,_0xaf1c56;(_0xaf1c56=this[_0x143bb3(0x46b)])==null||_0xaf1c56[_0x143bb3(0x4d6)](),this[_0x143bb3(0x1cb)]=0x0,this[_0x143bb3(0x287)]=0x0;}},_0x1fe4e5['AwaitingState']=_0x19e867([_0x4233b2(0x4,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x4233b2(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062[_0x4b5896(0x2ef)])),_0x4233b2(0x6,_0x3a8efd[_0x4b5896(0x31c)]),_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x4b5)]),_0x4233b2(0x8,_0x5e2062[_0x4b5896(0x529)]),_0x4233b2(0x9,_0x3a8efd[_0x4b5896(0x4f2)]),_0x4233b2(0xa,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5[_0x4b5896(0x2d8)]),_0x1fe4e5[_0x4b5896(0x2c0)]=class extends _0x25cac4{constructor(_0xb4d961,_0x26dbe7,_0x14cace,_0x42693f,_0x455401,_0xbad341,_0x19d697,_0x3a90ba,_0x548873,_0x1384aa,_0x1cb038,_0x542796,_0x65ebd7){var _0x4d997f=_0x4b5896;super(_0xb4d961,_0x26dbe7,_0x14cace,_0x42693f,_0x455401,_0x548873,_0x542796,_0x3a90ba,_0x65ebd7),_0x33a719(this,_0x4d997f(0x318),'awaiting_with_pending'),_0x33a719(this,_0x4d997f(0x1cb),0x0),_0x33a719(this,_0x4d997f(0x287),0x0),_0x33a719(this,_0x4d997f(0x4b1)),_0x33a719(this,_0x4d997f(0x46b)),(this['_injector']=_0x19d697,this[_0x4d997f(0x2e7)]=_0x1384aa,this[_0x4d997f(0x2d2)]=_0x1cb038,this[_0x4d997f(0x3ba)]=_0x65ebd7,_0xbad341&&(this[_0x4d997f(0x4b1)]=_0xbad341,this[_0x4d997f(0x46b)]=this['_resendTimer'][_0x4d997f(0x465)](({reqId:_0x87ff26,timeout:_0x2c9cd7})=>{var _0xd23fd3=_0x4d997f;this[_0xd23fd3(0x33c)](_0x87ff26,_0x2c9cd7);})));}[_0x4b5896(0x470)](_0xec05fd){var _0x49154d=_0x4b5896;return this['_pendingMutations'][_0x49154d(0x435)](_0xec05fd),this;}[_0x4b5896(0x211)](_0x223b98){var _0x348a3b=_0x4b5896;if(this[_0x348a3b(0x436)](_0x223b98))return this['_clearScheduledTask'](),this[_0x348a3b(0x467)][_0x348a3b(0x284)](_0x1fe4e5['FetchingMissState'],this[_0x348a3b(0x28a)],this['type'],this[_0x348a3b(0x30a)],this['_pendingMutations'],null,[_0x223b98],this[_0x348a3b(0x1b1)]);try{const _0x13c3dd=this[_0x348a3b(0x2d2)][_0x348a3b(0x2a7)]([_0x223b98],[this['_awaitingChangeset']],!0x1);if(_0x5e2062[_0x348a3b(0x20f)](_0x13c3dd)){const {c1Prime:_0x4bf945,c2Prime:_0x1ef12f}=_0x13c3dd,_0x11abf7=this['_transformService']['transformMutationsWithChangeset'](_0x4bf945[0x0],this[_0x348a3b(0x42f)]);if(_0x5e2062[_0x348a3b(0x3d6)](_0x11abf7)){const {c1Prime:_0x26d332,m2Prime:_0x3d2954}=_0x11abf7;return this[_0x348a3b(0x484)](_0x26d332),_0x1ef12f[0x0]['baseRev']=this[_0x348a3b(0x1cd)](),this[_0x348a3b(0x535)](),this[_0x348a3b(0x467)]['createInstance'](_0x1fe4e5[_0x348a3b(0x2c0)],this[_0x348a3b(0x28a)],this[_0x348a3b(0x25a)],_0x1ef12f[0x0],_0x3d2954,this[_0x348a3b(0x1b1)],void 0x0);}throw _0x11abf7[_0x348a3b(0x542)];}throw _0x13c3dd[_0x348a3b(0x542)];}catch(_0x4b951a){return this[_0x348a3b(0x2e7)][_0x348a3b(0x542)](_0x4b951a),this['_onConflict'](!0x1);}}[_0x4b5896(0x534)](_0x126666){var _0x52a726=_0x4b5896;if(this['_clearScheduledTask'](),this[_0x52a726(0x436)](_0x126666))return this[_0x52a726(0x467)]['createInstance'](_0x1fe4e5[_0x52a726(0x204)],this[_0x52a726(0x28a)],this[_0x52a726(0x25a)],null,this[_0x52a726(0x42f)],this[_0x52a726(0x30a)],[],this['_handler']);this[_0x52a726(0x1b2)]();const _0xbfff3c=this[_0x52a726(0x467)][_0x52a726(0x284)](_0x1fe4e5[_0x52a726(0x536)],this[_0x52a726(0x28a)],this[_0x52a726(0x25a)],this[_0x52a726(0x42f)],this[_0x52a726(0x1b1)]);return _0xbfff3c[_0x52a726(0x409)](),_0xbfff3c[_0x52a726(0x3bc)](),_0xbfff3c;}[_0x4b5896(0x54c)](_0x283100){var _0xaac22=_0x4b5896;return this[_0xaac22(0x4bd)](!!(_0x283100!=null&&_0x283100[_0xaac22(0x361)]));}['onRemoteRetry'](_0x328170){var _0x38edf0=_0x4b5896;return this['_maxTotalRetryTimeout']>_0xf5ed0d?this[_0x38edf0(0x485)]():(this[_0x38edf0(0x4b1)]=_0x92083f(this[_0x38edf0(0x1cb)],{'timeout':this[_0x38edf0(0x1cb)],'reqId':_0x328170[_0x38edf0(0x1df)]}),this[_0x38edf0(0x46b)]=this[_0x38edf0(0x4b1)]['subscribe'](({reqId:_0x32f414,timeout:_0x28e207})=>{var _0xb65e19=_0x38edf0;this[_0xb65e19(0x33c)](_0x32f414,_0x28e207);}),this);}[_0x4b5896(0x485)](){var _0x24bae4=_0x4b5896;return this[_0x24bae4(0x535)](),this['_injector']['createInstance'](_0x1fe4e5[_0x24bae4(0x2c6)],this[_0x24bae4(0x28a)],this['type'],this[_0x24bae4(0x30a)],this[_0x24bae4(0x42f)],this[_0x24bae4(0x1b1)]);}[_0x4b5896(0x4ee)](){return this;}[_0x4b5896(0x446)](){var _0x4dcc57=_0x4b5896;this[_0x4dcc57(0x1b1)]['onSendChangeset'](this[_0x4dcc57(0x30a)]);}['_onConflict'](_0x5cf35f){var _0x584800=_0x4b5896;return this['_clearScheduledTask'](),this[_0x584800(0x467)][_0x584800(0x284)](_0x1fe4e5[_0x584800(0x3b4)],this[_0x584800(0x28a)],this[_0x584800(0x25a)],null,this[_0x584800(0x42f)],this[_0x584800(0x1b1)],_0x5cf35f);}[_0x4b5896(0x33c)](_0x4e151c,_0x159882){var _0x3c458e=_0x4b5896,_0x253e8e;_0x4e151c===((_0x253e8e=this[_0x3c458e(0x30a)])==null?void 0x0:_0x253e8e[_0x3c458e(0x1df)])&&(this['resend'](),this['_resendTimeout']=_0x159882===0x0?0x3e8:Math['min'](_0x159882*0x2,_0x394cb1),this['_maxTotalRetryTimeout']+=this[_0x3c458e(0x1cb)]);}[_0x4b5896(0x535)](){var _0x3f4f21=_0x4b5896,_0x3c040c;(_0x3c040c=this['_sender'])==null||_0x3c040c[_0x3f4f21(0x4d6)](),this[_0x3f4f21(0x1cb)]=0x0,this[_0x3f4f21(0x287)]=0x0;}},_0x1fe4e5[_0x4b5896(0x2c0)]=_0x19e867([_0x4233b2(0x6,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd['Injector'])),_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062['RevisionService'])),_0x4233b2(0x8,_0x3a8efd[_0x4b5896(0x31c)]),_0x4233b2(0x9,_0x3a8efd['ILogService']),_0x4233b2(0xa,_0x5e2062['ITransformService']),_0x4233b2(0xb,_0x3a8efd['IUndoRedoService']),_0x4233b2(0xc,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5[_0x4b5896(0x2c0)]),_0x1fe4e5[_0x4b5896(0x3b4)]=class extends _0x25cac4{constructor(_0x55848b,_0x3e3992,_0x4477f6,_0x573d0f,_0x2a89dd,_0x2b347a=!0x1,_0x1fae10,_0x216ddc,_0x31625a,_0x495731,_0x31e2a6,_0x2b8542,_0x391ee0){var _0x348dbf=_0x4b5896;super(_0x55848b,_0x3e3992,_0x4477f6,_0x573d0f,_0x2a89dd,_0x216ddc,_0x31625a,_0x495731,_0x391ee0),_0x33a719(this,_0x348dbf(0x318),_0x348dbf(0x499)),(this[_0x348dbf(0x1ad)]=_0x2b347a,this['_permissionService']=_0x1fae10,this[_0x348dbf(0x3c2)]=_0x31e2a6,this[_0x348dbf(0x3ca)]=_0x2b8542,this[_0x348dbf(0x3ba)]=_0x391ee0,this[_0x348dbf(0x378)](),this['_clearLocalCache'](),this[_0x348dbf(0x533)]());}[_0x4b5896(0x470)](){return this;}['onRemoteChangeset'](){return this;}[_0x4b5896(0x534)](){return this;}['onRemoteRej'](){return this;}[_0x4b5896(0x408)](){return this;}[_0x4b5896(0x485)](){return this;}[_0x4b5896(0x4ee)](){return this;}[_0x4b5896(0x446)](){var _0x2d28ee=_0x4b5896;throw new Error(_0x2d28ee(0x4fe));}[_0x4b5896(0x3b9)](){var _0x4e2f13=_0x4b5896,_0x464e41;(_0x464e41=this[_0x4e2f13(0x25d)])==null||_0x464e41[_0x4e2f13(0x1d7)](this[_0x4e2f13(0x28a)],this[_0x4e2f13(0x25a)],null,[]);}[_0x4b5896(0x378)](){var _0x524610=_0x4b5896;this[_0x524610(0x1ad)]?this['_collaborationUIEventService'][_0x524610(0x487)]({'id':_0x758ea3['PERMISSION_DENIED']}):this['_collaborationUIEventService']['emitEvent']({'id':_0x758ea3[_0x524610(0x3f0)]});}[_0x4b5896(0x533)](){var _0x5c4cdc=_0x4b5896;this['_permissionService'][_0x5c4cdc(0x475)](new _0x14ea65['WorkbookEditablePermission'](this[_0x5c4cdc(0x28a)])['id'],!0x1);}},_0x1fe4e5[_0x4b5896(0x3b4)]=_0x19e867([_0x4233b2(0x6,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd['IPermissionService'])),_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x31c)]),_0x4233b2(0x8,_0x3a8efd[_0x4b5896(0x4f2)]),_0x4233b2(0x9,_0x3a8efd['Inject'](_0x5e2062[_0x4b5896(0x2ef)])),_0x4233b2(0xa,_0x3a8efd['Inject'](_0x3a8efd[_0x4b5896(0x30b)])),_0x4233b2(0xb,_0x3a8efd['Inject'](_0x5b5dc8)),_0x4233b2(0xc,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5[_0x4b5896(0x3b4)]),_0x1fe4e5[_0x4b5896(0x2c6)]=class extends _0x25cac4{constructor(_0x553798,_0x43f49f,_0x40ff8b,_0x54da78,_0x50ca35,_0x4fb22a,_0x97b2ab,_0x1cf736,_0x381759,_0x5c27b6){var _0x55ceb5=_0x4b5896;super(_0x553798,_0x43f49f,_0x40ff8b,_0x54da78,_0x50ca35,_0x1cf736,_0x381759,_0x97b2ab,_0x5c27b6),_0x33a719(this,_0x55ceb5(0x318),_0x55ceb5(0x3b5)),this['_injector']=_0x4fb22a;}['appendMutation'](_0x403ac4){var _0x3fb5fa=_0x4b5896;return this[_0x3fb5fa(0x42f)][_0x3fb5fa(0x435)](_0x403ac4),this[_0x3fb5fa(0x3bc)](),this;}[_0x4b5896(0x211)](_0x4be577){var _0x4ec7a6=_0x4b5896;throw new Error(_0x4ec7a6(0x1f2));}[_0x4b5896(0x534)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4b5896(0x54c)](){var _0x32758f=_0x4b5896;throw new Error(_0x32758f(0x244));}[_0x4b5896(0x408)](){return this;}[_0x4b5896(0x485)](){return this;}[_0x4b5896(0x4ee)](){var _0x4e4cd5=_0x4b5896;const {_injector:_0x1aabe8,_pendingMutations:_0x4ab372,_awaitingChangeset:_0x52f088,unitID:_0x1cdb9a,_handler:_0x525031,type:_0x993640}=this,_0x59f4b5=_0x221279(_0x1aabe8,_0x1cdb9a,_0x993640,_0x52f088,_0x4ab372,_0x525031);return _0x59f4b5 instanceof _0x1fe4e5[_0x4e4cd5(0x536)]?_0x59f4b5['_schedule']():(_0x59f4b5 instanceof _0x1fe4e5['AwaitingWithPendingState']||_0x59f4b5 instanceof _0x1fe4e5['AwaitingState'])&&_0x59f4b5['resend'](),_0x59f4b5;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x1fe4e5[_0x4b5896(0x2c6)]=_0x19e867([_0x4233b2(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd['Injector'])),_0x4233b2(0x6,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062[_0x4b5896(0x2ef)])),_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x31c)]),_0x4233b2(0x8,_0x3a8efd['IUndoRedoService']),_0x4233b2(0x9,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5['OfflineState']),_0x1fe4e5[_0x4b5896(0x204)]=class extends _0x25cac4{constructor(_0x2149b4,_0x1e0553,_0x4eeba0,_0x2cb812,_0x1c8a25,_0x69585f,_0x159f8e,_0x59e08b,_0x609a22,_0x23972d,_0x1ffbdf,_0xf0830d,_0x32bc8a,_0x6bee3b){var _0x412c5c=_0x4b5896;super(_0x2149b4,_0x1e0553,_0x4eeba0,_0x2cb812,_0x159f8e,_0x1ffbdf,_0xf0830d,_0x609a22,_0x6bee3b),_0x33a719(this,_0x412c5c(0x318),_0x412c5c(0x33e)),(this['_acknowledgedAwaitingChangeset']=_0x1c8a25,this[_0x412c5c(0x302)]=_0x69585f,this[_0x412c5c(0x467)]=_0x59e08b,this['_logService']=_0x23972d,this['_transformService']=_0x32bc8a,this[_0x412c5c(0x3ba)]=_0x6bee3b);}[_0x4b5896(0x2ac)](_0x45eb7a){var _0x7f1834=_0x4b5896;try{const _0x1fd67c=[..._0x45eb7a,...this[_0x7f1834(0x302)]],_0x5f2648=[this['_awaitingChangeset']||this[_0x7f1834(0x1d9)]][_0x7f1834(0x329)](_0x4898ba=>!!_0x4898ba);let _0x143d4,_0x1ae409;if(_0x5f2648[_0x7f1834(0x31b)]){const _0x1de3ac=this[_0x7f1834(0x2d2)][_0x7f1834(0x2a7)](_0x1fd67c,_0x5f2648,!0x1);if(!_0x5e2062[_0x7f1834(0x20f)](_0x1de3ac))throw _0x1de3ac[_0x7f1834(0x542)];_0x143d4=_0x1de3ac[_0x7f1834(0x2c4)],_0x1ae409=_0x1de3ac[_0x7f1834(0x4d9)];}else _0x143d4=_0x1fd67c,_0x1ae409=[];let _0x19f839=this[_0x7f1834(0x42f)];_0x143d4['forEach'](_0x4bddc7=>{var _0x555cea=_0x7f1834;let _0x3a51ae;if(_0x19f839[_0x555cea(0x31b)]){const _0x2a2445=this['_transformService']['transformMutationsWithChangeset'](_0x4bddc7,_0x19f839);if(!_0x5e2062[_0x555cea(0x3d6)](_0x2a2445))throw _0x2a2445[_0x555cea(0x542)];_0x3a51ae=_0x2a2445['c1Prime'],_0x19f839=_0x2a2445[_0x555cea(0x48c)];}else _0x3a51ae=_0x4bddc7;this[_0x555cea(0x484)](_0x3a51ae);}),this[_0x7f1834(0x1d9)]&&this[_0x7f1834(0x1b2)](),this[_0x7f1834(0x30a)]&&_0x1ae409['length']&&(_0x1ae409[0x0][_0x7f1834(0x48e)]=this[_0x7f1834(0x1cd)]());let _0x48ca30;if(this['_awaitingChangeset']&&_0x19f839[_0x7f1834(0x31b)]!==0x0)_0x48ca30=this[_0x7f1834(0x467)]['createInstance'](_0x1fe4e5[_0x7f1834(0x2c0)],this[_0x7f1834(0x28a)],this['type'],_0x1ae409[0x0],_0x19f839,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x19f839[_0x7f1834(0x31b)]===0x0)_0x1ae409[0x0][_0x7f1834(0x48e)]=this[_0x7f1834(0x1cd)](),_0x48ca30=this['_injector']['createInstance'](_0x1fe4e5[_0x7f1834(0x2d8)],this[_0x7f1834(0x28a)],this['type'],_0x1ae409[0x0],this[_0x7f1834(0x1b1)]);else{if(_0x19f839[_0x7f1834(0x31b)]!==0x0){const _0x1347a5=this[_0x7f1834(0x467)][_0x7f1834(0x284)](_0x1fe4e5[_0x7f1834(0x536)],this['unitID'],this['type'],_0x19f839,this['_handler']);_0x1347a5[_0x7f1834(0x409)](),_0x48ca30=_0x1347a5;}else _0x48ca30=this['_injector'][_0x7f1834(0x284)](_0x1fe4e5[_0x7f1834(0x462)],this[_0x7f1834(0x28a)],this[_0x7f1834(0x25a)],this[_0x7f1834(0x1b1)]);}}return _0x48ca30[_0x7f1834(0x3bc)](),_0x48ca30;}catch(_0x594dcf){return this[_0x7f1834(0x2e7)][_0x7f1834(0x542)](_0x7f1834(0x223),_0x7f1834(0x4c3),_0x594dcf),this['_injector'][_0x7f1834(0x284)](_0x1fe4e5[_0x7f1834(0x3b4)],this[_0x7f1834(0x28a)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x4b5896(0x446)](){var _0x264d63=_0x4b5896;throw new Error(_0x264d63(0x2be));}[_0x4b5896(0x470)](_0x6b9f3d){var _0x232369=_0x4b5896;return this[_0x232369(0x42f)]['push'](_0x6b9f3d),this;}['onRemoteChangeset'](_0x3e3ac6){var _0x2c7687=_0x4b5896;return this[_0x2c7687(0x302)][_0x2c7687(0x435)](_0x3e3ac6),this;}['onRemoteAck'](_0x3be996){var _0x2355a1=_0x4b5896;if(this[_0x2355a1(0x30a)])return this[_0x2355a1(0x1d9)]=this[_0x2355a1(0x30a)],this['_awaitingChangeset']=null,this;throw new Error(_0x2355a1(0x4af));}[_0x4b5896(0x54c)](_0x5c1d49){var _0x1036eb=_0x4b5896;return this[_0x1036eb(0x4bd)](!!(_0x5c1d49!=null&&_0x5c1d49[_0x1036eb(0x361)]));}['onRemoteRetry'](){return this;}[_0x4b5896(0x485)](){var _0x20c000=_0x4b5896;return this[_0x20c000(0x467)][_0x20c000(0x284)](_0x1fe4e5[_0x20c000(0x2c6)],this['unitID'],this[_0x20c000(0x25a)],this[_0x20c000(0x30a)],this[_0x20c000(0x42f)],this[_0x20c000(0x1b1)]);}[_0x4b5896(0x4ee)](){return this;}[_0x4b5896(0x4bd)](_0x46a10b){var _0x423dc9=_0x4b5896;return this[_0x423dc9(0x467)][_0x423dc9(0x284)](_0x1fe4e5[_0x423dc9(0x3b4)],this[_0x423dc9(0x28a)],this[_0x423dc9(0x25a)],this[_0x423dc9(0x30a)],this[_0x423dc9(0x42f)],this['_handler'],_0x46a10b);}},_0x1fe4e5[_0x4b5896(0x204)]=_0x19e867([_0x4233b2(0x7,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x4233b2(0x8,_0x3a8efd['Inject'](_0x5e2062[_0x4b5896(0x2ef)])),_0x4233b2(0x9,_0x3a8efd[_0x4b5896(0x4b5)]),_0x4233b2(0xa,_0x3a8efd['ICommandService']),_0x4233b2(0xb,_0x3a8efd[_0x4b5896(0x4f2)]),_0x4233b2(0xc,_0x5e2062[_0x4b5896(0x529)]),_0x4233b2(0xd,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5[_0x4b5896(0x204)]);function _0x221279(_0x5a6e50,_0x58f0f9,_0x7bf448,_0x2a4f5b,_0x81ea02,_0x2c5dfb){var _0x445a4b=_0x4b5896;return _0x2a4f5b&&_0x81ea02['length']?_0x5a6e50[_0x445a4b(0x284)](_0x1fe4e5[_0x445a4b(0x2c0)],_0x58f0f9,_0x7bf448,_0x2a4f5b,_0x81ea02,_0x2c5dfb,void 0x0):_0x2a4f5b?_0x5a6e50[_0x445a4b(0x284)](_0x1fe4e5['AwaitingState'],_0x58f0f9,_0x7bf448,_0x2a4f5b,_0x2c5dfb):_0x81ea02[_0x445a4b(0x31b)]?_0x5a6e50[_0x445a4b(0x284)](_0x1fe4e5['PendingState'],_0x58f0f9,_0x7bf448,_0x81ea02,_0x2c5dfb):_0x5a6e50[_0x445a4b(0x284)](_0x1fe4e5['SyncedState'],_0x58f0f9,_0x7bf448,_0x2c5dfb);}var _0x117d69=Object[_0x4b5896(0x36f)],_0x2c8ee5=(_0x5cdb5c,_0x39c73e,_0x1d62c3,_0x2ceeee)=>{var _0x5e8a76=_0x4b5896;for(var _0x341a49=_0x2ceeee>0x1?void 0x0:_0x2ceeee?_0x117d69(_0x39c73e,_0x1d62c3):_0x39c73e,_0x57ac72=_0x5cdb5c[_0x5e8a76(0x31b)]-0x1,_0xdce3e8;_0x57ac72>=0x0;_0x57ac72--)(_0xdce3e8=_0x5cdb5c[_0x57ac72])&&(_0x341a49=_0xdce3e8(_0x341a49)||_0x341a49);return _0x341a49;},_0x180f0d=(_0x5d629a,_0x1945aa)=>(_0x1da64b,_0x5b4de5)=>_0x1945aa(_0x1da64b,_0x5b4de5,_0x5d629a);_0x1fe4e5[_0x4b5896(0x398)]=class extends _0x3a8efd[_0x4b5896(0x4ad)]{constructor(_0x238872,_0x293f61,_0x3e32ed,_0x3f3f65,_0x529252,_0x4c4674,_0x13e9ed,_0x49d9c5,_0x5efb17,_0x33ec2f,_0xe8290c,_0x4a66b2,_0x53bcf1,_0x5c7d90){var _0x24b62a=_0x4b5896;super(),_0x33a719(this,_0x24b62a(0x20b),new _0x49840d[(_0x24b62a(0x293))](null)),_0x33a719(this,_0x24b62a(0x30d),this['_state$'][_0x24b62a(0x350)]()),_0x33a719(this,_0x24b62a(0x242)),_0x33a719(this,_0x24b62a(0x4bf),!0x1),_0x33a719(this,'_changesetSessionId',''),_0x33a719(this,_0x24b62a(0x394),0x0),_0x33a719(this,_0x24b62a(0x314),this[_0x24b62a(0x30d)][_0x24b62a(0x3b7)](_0x49840d['map'](_0x2a4043=>_0x2a4043?_0x2a4043[_0x24b62a(0x318)]:_0x366a4b[_0x24b62a(0x3cd)]),_0x49840d[_0x24b62a(0x212)](0x1))),_0x33a719(this,'_transitionLocked',!0x1),_0x33a719(this,'_remoteChangesetQueue',[]),(this[_0x24b62a(0x28a)]=_0x238872,this['session']=_0x293f61,this['_type']=_0x3e32ed,this[_0x24b62a(0x467)]=_0x3f3f65,this[_0x24b62a(0x4f4)]=_0x529252,this[_0x24b62a(0x3c2)]=_0x4c4674,this['_revisionService']=_0x13e9ed,this['_eventService']=_0x49d9c5,this[_0x24b62a(0x4e8)]=_0x5efb17,this[_0x24b62a(0x2e7)]=_0x33ec2f,this[_0x24b62a(0x1da)]=_0xe8290c,this['_permissionService']=_0x4a66b2,this['_singleActiveUnitService']=_0x53bcf1,this['_localCacheService']=_0x5c7d90);}get['state'](){var _0x4a9ea7=_0x4b5896;return this[_0x4a9ea7(0x242)];}async[_0x4b5896(0x3d0)](){var _0x32708a=_0x4b5896;if(this[_0x32708a(0x3a3)])throw new Error(_0x32708a(0x274));await this[_0x32708a(0x380)]();}['pauseCollaboration'](){var _0x491826=_0x4b5896;return this[_0x491826(0x4bf)]=!0x0,_0x3a8efd['toDisposable'](()=>{var _0x1c7db4=_0x491826;this[_0x1c7db4(0x4bf)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x4b5896(0x347)](_0x5085a3){var _0x45f0fc=_0x4b5896;this[_0x45f0fc(0x276)](_0x5085a3);}[_0x4b5896(0x4e2)](_0xd39783){var _0x550598=_0x4b5896;this[_0x550598(0x242)]=_0xd39783,this[_0x550598(0x20b)][_0x550598(0x4eb)](_0xd39783);}async[_0x4b5896(0x380)](){var _0x56b9c2=_0x4b5896,_0x522ccd;this['_updateState'](await this[_0x56b9c2(0x4cc)]()),this['_singleActiveUnitService']&&((_0x522ccd=this['_singleActiveUnitService'])==null||_0x522ccd[_0x56b9c2(0x51e)](this[_0x56b9c2(0x28a)]),this[_0x56b9c2(0x353)](this[_0x56b9c2(0x4c5)][_0x56b9c2(0x390)](this[_0x56b9c2(0x28a)])['subscribe'](_0x343fc3=>{var _0xd01b50=_0x56b9c2;this[_0xd01b50(0x2e7)]['debug'](_0xd01b50(0x4cd),_0xd01b50(0x389),_0x343fc3),_0x343fc3===_0x1445d5[_0xd01b50(0x366)]?(this[_0xd01b50(0x28c)][_0xd01b50(0x487)]({'id':_0x758ea3[_0xd01b50(0x4e3)]}),this[_0xd01b50(0x1b0)]['updatePermissionPoint'](new _0x14ea65[(_0xd01b50(0x522))](this[_0xd01b50(0x28a)])['id'],!0x1),this[_0xd01b50(0x1b0)][_0xd01b50(0x26b)](!0x1)):(this['_permissionService'][_0xd01b50(0x475)](new _0x14ea65['WorkbookEditablePermission'](this[_0xd01b50(0x28a)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x14c64d=!0x1;return this[_0x56b9c2(0x353)](this[_0x56b9c2(0x2e3)][_0x56b9c2(0x1f6)][_0x56b9c2(0x465)](_0x4a247f=>{var _0x5495ee=_0x56b9c2;_0x4a247f===_0x31c1b0[_0x5495ee(0x1d4)]?this[_0x5495ee(0x520)](_0x14c64d):_0x4a247f===_0x31c1b0[_0x5495ee(0x3cd)]&&(_0x14c64d=!0x0,this[_0x5495ee(0x38f)]());})),this[_0x56b9c2(0x353)](this[_0x56b9c2(0x2e3)][_0x56b9c2(0x2b6)][_0x56b9c2(0x465)](_0xa8aae5=>{var _0x378a2=_0x56b9c2;try{switch(_0xa8aae5[_0x378a2(0x4ab)]){case _0x5e2062[_0x378a2(0x1c0)][_0x378a2(0x37e)]:{this[_0x378a2(0x541)](_0x5e2062[_0x378a2(0x208)](_0xa8aae5[_0x378a2(0x1d2)]));break;}case _0x5e2062[_0x378a2(0x1c0)][_0x378a2(0x29d)]:{this[_0x378a2(0x2e4)](_0xa8aae5[_0x378a2(0x1d2)]);break;}case _0x5e2062[_0x378a2(0x1c0)][_0x378a2(0x1ea)]:{this[_0x378a2(0x4a4)]();break;}case _0x5e2062[_0x378a2(0x1c0)][_0x378a2(0x220)]:{this[_0x378a2(0x4e0)](_0xa8aae5[_0x378a2(0x1d2)]);break;}case _0x5e2062['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xa8aae5['data']['changesets'][_0x378a2(0x451)](_0x1f85cc=>_0x5e2062[_0x378a2(0x208)](_0x1f85cc)));break;}case _0x5e2062['CollaborationEvent'][_0x378a2(0x404)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5e2062[_0x378a2(0x1c0)][_0x378a2(0x477)]:break;}}catch(_0xeaa2ff){throw console[_0x378a2(0x542)]('Error\x20on\x20receiving\x20event',_0xeaa2ff),_0xeaa2ff;}})),this[_0x56b9c2(0x242)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x4b5896(0x413)](){var _0x1276eb=_0x4b5896;if(this[_0x1276eb(0x25c)])throw new Error(_0x1276eb(0x265));this[_0x1276eb(0x25c)]=!0x0;}[_0x4b5896(0x276)](_0xe7647e){var _0x338326=_0x4b5896;this[_0x338326(0x413)](),this['_updateState'](this['_state'][_0x338326(0x470)](_0xe7647e)),this[_0x338326(0x2bd)]();}['_onRemoteChangeset'](_0x51f569){var _0x2ba8d8=_0x4b5896;if(!(_0x51f569['revision']<=this[_0x2ba8d8(0x4ba)][_0x2ba8d8(0x3f8)](this[_0x2ba8d8(0x28a)]))){if(this[_0x2ba8d8(0x4bf)]){this[_0x2ba8d8(0x4a8)][_0x2ba8d8(0x435)](_0x51f569);return;}this[_0x2ba8d8(0x538)](_0x51f569);}}['_exhaustRemoteChangesetQueue'](){var _0x24b3a4=_0x4b5896;this['_remoteChangesetQueue']['forEach'](_0xc08f2b=>this[_0x24b3a4(0x538)](_0xc08f2b)),this['_remoteChangesetQueue']=[];}[_0x4b5896(0x538)](_0x1f7d99){var _0x5bb9c4=_0x4b5896;const _0x11073a=this['_compressMutationService'][_0x5bb9c4(0x456)][_0x5bb9c4(0x290)](this[_0x5bb9c4(0x4f4)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x1f7d99[_0x5bb9c4(0x21e)],null)||_0x1f7d99[_0x5bb9c4(0x21e)],_0x2bdf={..._0x1f7d99,'mutations':_0x11073a};this[_0x5bb9c4(0x413)](),this[_0x5bb9c4(0x4e2)](this[_0x5bb9c4(0x242)][_0x5bb9c4(0x211)](_0x2bdf)),this[_0x5bb9c4(0x2bd)]();}[_0x4b5896(0x2e4)](_0x15bb8d){var _0x5c6d22=_0x4b5896;this[_0x5c6d22(0x413)](),this['_updateState'](this[_0x5c6d22(0x242)]['onRemoteAck'](_0x15bb8d)),this['_unlockTransition']();}[_0x4b5896(0x4a4)](_0x16c702){var _0x99044b=_0x4b5896;this[_0x99044b(0x413)](),this['_updateState'](this[_0x99044b(0x242)][_0x99044b(0x54c)](_0x16c702)),this[_0x99044b(0x2bd)]();}[_0x4b5896(0x4e0)](_0x409794){var _0x2b61c0=_0x4b5896;this[_0x2b61c0(0x413)](),this[_0x2b61c0(0x4e2)](this[_0x2b61c0(0x242)][_0x2b61c0(0x408)](_0x409794)),this[_0x2b61c0(0x2bd)]();}['_onFetchMissResult'](_0x250b23){var _0x1d465d=_0x4b5896;if(!(this[_0x1d465d(0x242)]instanceof _0x1fe4e5[_0x1d465d(0x204)]))throw new TypeError(_0x1d465d(0x323));const _0xd4fc27=_0x250b23[_0x1d465d(0x451)](_0x5e002e=>{var _0x518e2b=_0x1d465d;const _0x828ce=this[_0x518e2b(0x4f4)][_0x518e2b(0x456)]['fetchThroughInterceptors'](this[_0x518e2b(0x4f4)]['interceptor']['getInterceptPoints']()[_0x518e2b(0x458)])(_0x5e002e[_0x518e2b(0x21e)],null)||_0x5e002e[_0x518e2b(0x21e)];return{..._0x5e002e,'mutations':_0x828ce};});this[_0x1d465d(0x413)](),this[_0x1d465d(0x4e2)](this[_0x1d465d(0x242)]['onMissedChangesetFetched'](_0xd4fc27)),this[_0x1d465d(0x2bd)]();}[_0x4b5896(0x38f)](){var _0x2e95e7=_0x4b5896;this['_lockTransition'](),this[_0x2e95e7(0x4e2)](this[_0x2e95e7(0x242)]['toggleOffline']()),this[_0x2e95e7(0x2bd)]();}[_0x4b5896(0x520)](_0x49e2e3=!0x1){var _0x177143=_0x4b5896;this[_0x177143(0x413)](),this[_0x177143(0x4e2)](this[_0x177143(0x242)][_0x177143(0x4ee)]()),this['_unlockTransition']();const _0x54f36c=this[_0x177143(0x242)];_0x49e2e3&&_0x54f36c instanceof _0x1fe4e5[_0x177143(0x462)]&&(this[_0x177143(0x413)](),this[_0x177143(0x4e2)](_0x54f36c[_0x177143(0x315)]()),this['_unlockTransition']());}async[_0x4b5896(0x4cc)](){return new Promise(_0x3c22b8=>{var _0x5db6b6=_0x4fbb;this[_0x5db6b6(0x2e3)]['sessionStatus$'][_0x5db6b6(0x3b7)](_0x49840d[_0x5db6b6(0x3c7)](0x1))[_0x5db6b6(0x465)](async _0x24c7e6=>{var _0x2a3553=_0x5db6b6;_0x3c22b8(await this[_0x2a3553(0x46e)](_0x24c7e6===_0x31c1b0['ONLINE']));});});}['_createHandler'](){var _0x212120=_0x4b5896;const _0x3f405a=this[_0x212120(0x28a)];return{'onStateChange':(_0x338e4d,_0x110198)=>{var _0x312321=_0x212120;if(_0x338e4d!==this['_state'])throw new Error(_0x312321(0x372)+_0x338e4d[_0x312321(0x318)]+_0x312321(0x3fe)+_0x110198[_0x312321(0x318)]+'\x0aCurrent:\x20'+this['_state'][_0x312321(0x318)]);this['_updateState'](_0x110198);},'onSendChangeset':_0x4129d6=>{var _0x59135b=_0x212120;_0x4129d6[_0x59135b(0x416)]||(_0x4129d6['sid']=this[_0x59135b(0x310)],_0x4129d6[_0x59135b(0x1df)]=++this[_0x59135b(0x394)]);const _0x1b4564={'eventID':_0x5e2062['CollaborationEvent'][_0x59135b(0x503)],'data':{'unitID':_0x4129d6['unitID'],'unitType':this['_type'],'changeset':_0x4129d6,'memberID':this[_0x59135b(0x2e3)][_0x59135b(0x20e)]()}};this[_0x59135b(0x2e3)]['send'](_0x1b4564,this[_0x59135b(0x28a)]);},'onMissingChangesets':({from:_0x27a30f,to:_0x2a640b})=>{var _0x2279f4=_0x212120;this[_0x2279f4(0x2e7)][_0x2279f4(0x1ba)](_0x2279f4(0x4cd),'fetching\x20missing\x20changesets\x20from\x20'+_0x27a30f+_0x2279f4(0x2e9)+_0x2a640b);const _0x225d63={'eventID':_0x5e2062[_0x2279f4(0x1c0)]['FETCH_MISSING'],'data':{'unitID':_0x3f405a,'unitType':this[_0x2279f4(0x3b6)],'from':_0x27a30f,'to':_0x2a640b}};this[_0x2279f4(0x2e3)][_0x2279f4(0x2d7)](_0x225d63,this['unitID']);}};}async[_0x4b5896(0x46e)](_0x67a078){var _0x3a8c00=_0x4b5896,_0xf8ba6f,_0x3dadd7,_0x4bfe0c;const _0xe35748=await((_0xf8ba6f=this[_0x3a8c00(0x25d)])==null?void 0x0:_0xf8ba6f[_0x3a8c00(0x342)](this[_0x3a8c00(0x28a)])),_0x5f454f=(_0x3dadd7=_0xe35748==null?void 0x0:_0xe35748['mutations'])!=null?_0x3dadd7:[],_0x16cbef=(_0x4bfe0c=_0xe35748==null?void 0x0:_0xe35748[_0x3a8c00(0x359)])!=null?_0x4bfe0c:null,_0x2d8501=!!(_0x16cbef!=null&&_0x16cbef[_0x3a8c00(0x416)])&&!!(_0x16cbef!=null&&_0x16cbef[_0x3a8c00(0x1df)]);this[_0x3a8c00(0x310)]=_0x2d8501?_0x16cbef[_0x3a8c00(0x416)]:_0x5e2062[_0x3a8c00(0x203)](),this[_0x3a8c00(0x394)]=_0x2d8501?_0x16cbef['reqId']:0x0;const _0x321861=this[_0x3a8c00(0x28a)];try{this[_0x3a8c00(0x537)](_0x16cbef,_0x5f454f);}catch(_0x5d08f7){this[_0x3a8c00(0x2e7)]['error'](_0x5d08f7);}const _0x105013=this[_0x3a8c00(0x399)]();if(_0x67a078){const _0x3a0dce=_0x221279(this[_0x3a8c00(0x467)],_0x321861,this[_0x3a8c00(0x3b6)],_0x16cbef,_0x5f454f,_0x105013);return _0x3a0dce instanceof _0x1fe4e5[_0x3a8c00(0x536)]?_0x3a0dce[_0x3a8c00(0x409)]():(_0x3a0dce instanceof _0x1fe4e5['AwaitingWithPendingState']||_0x3a0dce instanceof _0x1fe4e5[_0x3a8c00(0x2d8)])&&_0x3a0dce[_0x3a8c00(0x446)](),_0x3a0dce;}return this['_injector'][_0x3a8c00(0x284)](_0x1fe4e5[_0x3a8c00(0x2c6)],_0x321861,this[_0x3a8c00(0x3b6)],_0x16cbef,_0x5f454f,_0x105013);}['_replayCachedMutations'](_0x2be0b4,_0x17b7f8){var _0x2ebd6a=_0x4b5896,_0x49ea84,_0xea00fe;const _0x512193=this[_0x2ebd6a(0x4f4)][_0x2ebd6a(0x456)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2ebd6a(0x456)][_0x2ebd6a(0x2cb)]()['COMPRESS_MUTATION_APPLY']);(_0x49ea84=_0x512193((_0x2be0b4==null?void 0x0:_0x2be0b4['mutations'])||[],null))==null||_0x49ea84[_0x2ebd6a(0x28b)](_0xdb9127=>this[_0x2ebd6a(0x1da)][_0x2ebd6a(0x2f8)](_0xdb9127['id'],_0xdb9127[_0x2ebd6a(0x47e)])),(_0xea00fe=_0x512193(_0x17b7f8||[],null))==null||_0xea00fe[_0x2ebd6a(0x28b)](_0x138b61=>this[_0x2ebd6a(0x1da)]['executeCommand'](_0x138b61['id'],_0x138b61['params']));}},_0x1fe4e5[_0x4b5896(0x398)]=_0x2c8ee5([_0x180f0d(0x3,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x180f0d(0x4,_0x3a8efd['Inject'](_0x5e2062[_0x4b5896(0x294)])),_0x180f0d(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x30b)])),_0x180f0d(0x6,_0x3a8efd['Inject'](_0x5e2062['RevisionService'])),_0x180f0d(0x7,_0x3a8efd[_0x4b5896(0x4b2)](_0x5b5dc8)),_0x180f0d(0x8,_0x3a8efd[_0x4b5896(0x40f)]),_0x180f0d(0x9,_0x3a8efd['ILogService']),_0x180f0d(0xa,_0x3a8efd[_0x4b5896(0x31c)]),_0x180f0d(0xb,_0x3a8efd[_0x4b5896(0x52c)]),_0x180f0d(0xc,_0x3a8efd[_0x4b5896(0x1ec)](_0x4632e6)),_0x180f0d(0xd,_0x3a8efd['Optional'](_0x5d850f))],_0x1fe4e5[_0x4b5896(0x398)]),_0x1fe4e5[_0x4b5896(0x37d)]=class extends _0x1fe4e5[_0x4b5896(0x398)]{constructor(_0x1be132,_0x50c2e4,_0x43b767,_0x560f0c,_0x4bda33,_0x3cad7e,_0xdff3e3,_0x46f1d7,_0x438d43,_0x2e5108,_0x18a9d6,_0x527807,_0x25f6d6,_0x44fe1d){var _0x47fa11=_0x4b5896;super(_0x1be132,_0x43b767,_0x50c2e4,_0x560f0c,_0x4bda33,_0x3cad7e,_0xdff3e3,_0x46f1d7,_0x438d43,_0x2e5108,_0x18a9d6,_0x527807,_0x25f6d6,_0x44fe1d),_0x33a719(this,_0x47fa11(0x444),null),(this[_0x47fa11(0x28a)]=_0x1be132,this['type']=_0x50c2e4);}[_0x4b5896(0x2e1)](_0x4db600){this['_handlerCallback']=_0x4db600;}[_0x4b5896(0x44f)](){var _0x1bec2a=_0x4b5896;this[_0x1bec2a(0x444)]=null,super[_0x1bec2a(0x44f)]();}[_0x4b5896(0x399)](){var _0x26a22d=_0x4b5896;const _0x112f3=super[_0x26a22d(0x399)]();return _0x112f3[_0x26a22d(0x4d8)]=_0x5404f9=>{var _0x2febde=_0x26a22d,_0x3dddc3,_0x5a0178;return(_0x5a0178=(_0x3dddc3=this[_0x2febde(0x444)])==null?void 0x0:_0x3dddc3[_0x2febde(0x4d8)])==null?void 0x0:_0x5a0178[_0x2febde(0x473)](_0x3dddc3,_0x5404f9);},_0x112f3['onTransformState']=_0x33ba21=>{var _0x26f17a=_0x26a22d,_0x5b446c,_0x5ce97e;return(_0x5ce97e=(_0x5b446c=this[_0x26f17a(0x444)])==null?void 0x0:_0x5b446c[_0x26f17a(0x39a)])==null?void 0x0:_0x5ce97e[_0x26f17a(0x473)](_0x5b446c,_0x33ba21);},_0x112f3[_0x26a22d(0x3d2)]=_0x59dda0=>{var _0xc9f3fa=_0x26a22d,_0x533559,_0x2749f5;return(_0x2749f5=(_0x533559=this['_handlerCallback'])==null?void 0x0:_0x533559[_0xc9f3fa(0x3d2)])==null?void 0x0:_0x2749f5[_0xc9f3fa(0x473)](_0x533559,_0x59dda0);},_0x112f3[_0x26a22d(0x41f)]=_0x1d4388=>{var _0x200084=_0x26a22d,_0x589df9,_0x5b3ddf;return(_0x5b3ddf=(_0x589df9=this[_0x200084(0x444)])==null?void 0x0:_0x589df9['onSyncEditingCollabCursor'])==null?void 0x0:_0x5b3ddf[_0x200084(0x473)](_0x589df9,_0x1d4388);},_0x112f3[_0x26a22d(0x303)]=_0x18e19e=>{var _0x57e217=_0x26a22d,_0x2e7414,_0x7ccb73,_0x3b69ee;if(!((_0x2e7414=this[_0x57e217(0x444)])!=null&&_0x2e7414[_0x57e217(0x303)]))throw new Error(_0x57e217(0x4da));return(_0x3b69ee=(_0x7ccb73=this[_0x57e217(0x444)])==null?void 0x0:_0x7ccb73['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3b69ee[_0x57e217(0x473)](_0x7ccb73,_0x18e19e);},_0x112f3[_0x26a22d(0x3b8)]=_0x511dda=>{var _0x3ba434=_0x26a22d,_0x5fd56b,_0x405bc6,_0x28c58f;if(!((_0x5fd56b=this[_0x3ba434(0x444)])!=null&&_0x5fd56b['onTransformRemoteChangesetByStateCache']))throw new Error(_0x3ba434(0x3ab));return(_0x28c58f=(_0x405bc6=this[_0x3ba434(0x444)])==null?void 0x0:_0x405bc6['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x28c58f[_0x3ba434(0x473)](_0x405bc6,_0x511dda);},_0x112f3;}async['_init'](){var _0xfb4678=_0x4b5896;const _0x51efce=await super[_0xfb4678(0x380)]();return this['disposeWithMe'](this[_0xfb4678(0x1da)][_0xfb4678(0x311)]((_0x3c0bbe,_0x555c3e)=>{var _0x65484d=_0xfb4678;if(_0x3c0bbe['type']!==_0x3a8efd[_0x65484d(0x3df)]['MUTATION']||_0x555c3e!=null&&_0x555c3e[_0x65484d(0x1ff)]||_0x555c3e!=null&&_0x555c3e[_0x65484d(0x466)]||_0x3c0bbe['id']===_0x42a10e[_0x65484d(0x4c8)]['id'])return;const _0x45d746=_0x3c0bbe[_0x65484d(0x47e)];if((_0x45d746==null?void 0x0:_0x45d746[_0x65484d(0x21d)])!==this[_0x65484d(0x28a)])return;const _0x5bda44=_0x3c0bbe,_0x29b8dd=this[_0x65484d(0x4f4)][_0x65484d(0x456)][_0x65484d(0x290)](this[_0x65484d(0x4f4)]['interceptor'][_0x65484d(0x2cb)]()[_0x65484d(0x47f)])([_0x5bda44],this[_0x65484d(0x4e8)])||[_0x5bda44];this[_0x65484d(0x276)](_0x29b8dd[0x0]);})),_0x51efce;}},_0x1fe4e5[_0x4b5896(0x37d)]=_0x2c8ee5([_0x180f0d(0x3,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd['Injector'])),_0x180f0d(0x4,_0x3a8efd['Inject'](_0x5e2062[_0x4b5896(0x294)])),_0x180f0d(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x30b)])),_0x180f0d(0x6,_0x3a8efd['Inject'](_0x5e2062['RevisionService'])),_0x180f0d(0x7,_0x3a8efd[_0x4b5896(0x4b2)](_0x5b5dc8)),_0x180f0d(0x8,_0x3a8efd['IUniverInstanceService']),_0x180f0d(0x9,_0x3a8efd['ILogService']),_0x180f0d(0xa,_0x3a8efd['ICommandService']),_0x180f0d(0xb,_0x3a8efd[_0x4b5896(0x52c)]),_0x180f0d(0xc,_0x3a8efd[_0x4b5896(0x1ec)](_0x4632e6)),_0x180f0d(0xd,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5['DocCollaborationEntity']),_0x1fe4e5[_0x4b5896(0x3a0)]=class extends _0x1fe4e5[_0x4b5896(0x398)]{constructor(_0x122bee,_0x1fdcc6,_0x3aa068,_0x46ad3d,_0x2d191a,_0x284758,_0x54f4a8,_0x4734bb,_0x4e4a55,_0x306aea,_0x148c1e,_0x2514b3,_0x3f60ae,_0x8fb7af,_0x3a7816){var _0xa8c196=_0x4b5896;super(_0x122bee,_0x3aa068,_0x1fdcc6,_0x46ad3d,_0x2d191a,_0x284758,_0x54f4a8,_0x4e4a55,_0x306aea,_0x148c1e,_0x2514b3,_0x3f60ae,_0x8fb7af,_0x3a7816),this[_0xa8c196(0x28a)]=_0x122bee,this['type']=_0x1fdcc6,this[_0xa8c196(0x28e)]=_0x4734bb;}[_0x4b5896(0x399)](){var _0x839cef=_0x4b5896;const _0x30c137=super['_createHandler']();return _0x30c137[_0x839cef(0x3d2)]=_0x454b80=>this[_0x839cef(0x28e)]['transformSelections'](_0x454b80),_0x30c137;}async[_0x4b5896(0x380)](){var _0x468463=_0x4b5896;const _0x1386d9=await super[_0x468463(0x380)]();return this[_0x468463(0x353)](this[_0x468463(0x1da)][_0x468463(0x311)]((_0x199402,_0x46cc87)=>{var _0x429ed3=_0x468463;if(_0x199402[_0x429ed3(0x25a)]!==_0x3a8efd['CommandType']['MUTATION']||_0x46cc87!=null&&_0x46cc87[_0x429ed3(0x1ff)]||_0x46cc87!=null&&_0x46cc87['onlyLocal'])return;const _0x528d0b=_0x199402[_0x429ed3(0x47e)];if((_0x528d0b==null?void 0x0:_0x528d0b[_0x429ed3(0x21d)])!==this[_0x429ed3(0x28a)])return;const _0x12bd7d=_0x199402,_0x4c8349=this[_0x429ed3(0x4f4)][_0x429ed3(0x456)][_0x429ed3(0x290)](this[_0x429ed3(0x4f4)][_0x429ed3(0x456)][_0x429ed3(0x2cb)]()[_0x429ed3(0x47f)])([_0x12bd7d],this['_univerInstanceService'])||[_0x12bd7d];this[_0x429ed3(0x276)](_0x4c8349[0x0]);})),_0x1386d9;}},_0x1fe4e5[_0x4b5896(0x3a0)]=_0x2c8ee5([_0x180f0d(0x3,_0x3a8efd['Inject'](_0x3a8efd[_0x4b5896(0x308)])),_0x180f0d(0x4,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062['CompressMutationService'])),_0x180f0d(0x5,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd['LocaleService'])),_0x180f0d(0x6,_0x3a8efd[_0x4b5896(0x4b2)](_0x5e2062[_0x4b5896(0x2ef)])),_0x180f0d(0x7,_0x3a8efd[_0x4b5896(0x4b2)](_0x1fe4e5[_0x4b5896(0x235)])),_0x180f0d(0x8,_0x3a8efd[_0x4b5896(0x4b2)](_0x5b5dc8)),_0x180f0d(0x9,_0x3a8efd[_0x4b5896(0x40f)]),_0x180f0d(0xa,_0x3a8efd[_0x4b5896(0x4b5)]),_0x180f0d(0xb,_0x3a8efd[_0x4b5896(0x31c)]),_0x180f0d(0xc,_0x3a8efd[_0x4b5896(0x52c)]),_0x180f0d(0xd,_0x3a8efd[_0x4b5896(0x1ec)](_0x4632e6)),_0x180f0d(0xe,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5[_0x4b5896(0x3a0)]);const _0x42d43b=_0x3a8efd[_0x4b5896(0x474)](_0x4b5896(0x3a4));function _0x50a746(_0x34e8ac){var _0x51820a=_0x4b5896,_0xd1817a,_0x4fe212,_0x1bbc5b,_0x34bea0,_0x4e6484;const _0x2c4500=_0x34e8ac[_0x51820a(0x1d2)],_0x504049=JSON['parse'](_0x2c4500);switch(_0x504049['cmd']){case _0x4a19f[_0x51820a(0x207)]:case _0x4a19f['HELLO']:{const _0xe9fcef=_0x504049[_0x51820a(0x47c)];return{..._0x504049,'data':_0xe9fcef,'cmd':_0x504049[_0x51820a(0x2b2)]};}case _0x4a19f['JOIN']:{const _0x282a41=_0x504049['joinRsp'];return{..._0x504049,'data':_0x282a41,'cmd':_0x504049[_0x51820a(0x2b2)]};}case _0x4a19f[_0x51820a(0x1e8)]:{const _0x3e1948=_0x504049[_0x51820a(0x279)];switch(_0x3e1948[_0x51820a(0x4ab)]){case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x404)]:return{..._0x504049,'data':{..._0x3e1948,'data':(_0xd1817a=_0x3e1948[_0x51820a(0x3a9)])==null?void 0x0:_0xd1817a['cs']},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062['CollaborationEvent'][_0x51820a(0x29d)]:return{..._0x504049,'data':{..._0x3e1948,'data':(_0x4fe212=_0x3e1948[_0x51820a(0x2a4)])==null?void 0x0:_0x4fe212['cs']},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062['CollaborationEvent'][_0x51820a(0x37e)]:return{..._0x504049,'data':{..._0x3e1948,'data':(_0x1bbc5b=_0x3e1948[_0x51820a(0x3ea)])==null?void 0x0:_0x1bbc5b['cs']},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x1ea)]:return{..._0x504049,'data':{..._0x3e1948,'data':(_0x34bea0=_0x3e1948[_0x51820a(0x26e)])==null?void 0x0:_0x34bea0['cs']},'cmd':_0x504049['cmd']};case _0x5e2062['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x504049,'data':{..._0x3e1948,'data':(_0x4e6484=_0x3e1948[_0x51820a(0x53c)])==null?void 0x0:_0x4e6484['cs']},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x236)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948['updateCursorEvent']},'cmd':_0x504049['cmd']};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x2b9)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x3b1)]},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)]['USERS_LEAVE']:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x339)]},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062['CollaborationEvent'][_0x51820a(0x35c)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x313)]},'cmd':_0x504049['cmd']};case _0x5e2062['CollaborationEvent'][_0x51820a(0x421)]:case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x2a1)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948['liveShareOperation']},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x2ae)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x313)]},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x50a)]:return{..._0x504049,'data':_0x3e1948,'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x29a)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x20a)]},'cmd':_0x504049['cmd']};case _0x5e2062[_0x51820a(0x1c0)]['UPDATE_PERMISSION_OBJ']:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x33f)]},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062[_0x51820a(0x1c0)][_0x51820a(0x545)]:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x29b)]},'cmd':_0x504049[_0x51820a(0x2b2)]};case _0x5e2062['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x504049,'data':{..._0x3e1948,'data':_0x3e1948[_0x51820a(0x4db)]},'cmd':_0x504049[_0x51820a(0x2b2)]};default:return _0x504049;}}default:return _0x504049;}}function _0x7e8078(_0x36709e){var _0x453adc=_0x4b5896;switch(_0x36709e['cmd']){case _0x4a19f['HEARTBEAT']:case _0x4a19f[_0x453adc(0x34c)]:return JSON[_0x453adc(0x1d0)]({'cmd':_0x36709e['cmd'],'routeKey':_0x36709e[_0x453adc(0x367)]});case _0x4a19f['INGEST']:{let _0x12a8a7;switch(_0x36709e['data']['eventID']){case _0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x236)]:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x236)],'updateCursorEvent':_0x36709e[_0x453adc(0x1d2)][_0x453adc(0x1d2)]};break;}case _0x5e2062['CollaborationEvent'][_0x453adc(0x3eb)]:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)]['USERS_LEAVE'],'leaveEvent':_0x36709e['data'][_0x453adc(0x1d2)]};break;}case _0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x2b9)]:{_0x12a8a7={'eventID':_0x5e2062['CollaborationEvent'][_0x453adc(0x2b9)],'joinEvent':_0x36709e[_0x453adc(0x1d2)][_0x453adc(0x1d2)]};break;}case _0x5e2062['CollaborationEvent'][_0x453adc(0x35c)]:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x35c)],'liveShareNewHost':_0x36709e[_0x453adc(0x1d2)][_0x453adc(0x1d2)]};break;}case _0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x2a1)]:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x36709e[_0x453adc(0x1d2)][_0x453adc(0x1d2)]};break;}case _0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x2ae)]:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x2ae)],'liveShareTerminate':_0x36709e['data'][_0x453adc(0x1d2)]};break;}case _0x5e2062['CollaborationEvent'][_0x453adc(0x493)]:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x493)],'liveShareRequestHost':_0x36709e[_0x453adc(0x1d2)][_0x453adc(0x1d2)]};break;}case _0x5e2062[_0x453adc(0x1c0)]['LIVESHARE_FETCH_OPERATIONS']:{_0x12a8a7={'eventID':_0x5e2062[_0x453adc(0x1c0)][_0x453adc(0x421)]};break;}default:_0x12a8a7={'eventID':_0x36709e['data']['eventID']};}return JSON[_0x453adc(0x1d0)]({'cmd':_0x36709e[_0x453adc(0x2b2)],'routeKey':_0x36709e[_0x453adc(0x367)],'collaMsg':_0x12a8a7});}case _0x4a19f[_0x453adc(0x379)]:return JSON[_0x453adc(0x1d0)]({'cmd':_0x36709e['cmd'],'routeKey':_0x36709e[_0x453adc(0x367)],'joinReq':_0x36709e[_0x453adc(0x1d2)]});case _0x4a19f[_0x453adc(0x490)]:return JSON['stringify']({'cmd':_0x36709e[_0x453adc(0x2b2)],'routeKey':_0x36709e[_0x453adc(0x367)],'leaveReq':_0x36709e['data']});default:throw new Error(_0x453adc(0x320));}}var _0x3d180f=Object[_0x4b5896(0x36f)],_0x2e5a13=(_0x19782d,_0x31ffd2,_0x4bcbd1,_0xf36ee8)=>{var _0x330d81=_0x4b5896;for(var _0xb14bea=_0xf36ee8>0x1?void 0x0:_0xf36ee8?_0x3d180f(_0x31ffd2,_0x4bcbd1):_0x31ffd2,_0x5b7225=_0x19782d[_0x330d81(0x31b)]-0x1,_0xd384;_0x5b7225>=0x0;_0x5b7225--)(_0xd384=_0x19782d[_0x5b7225])&&(_0xb14bea=_0xd384(_0xb14bea)||_0xb14bea);return _0xb14bea;},_0x37b618=(_0x4fe7f4,_0x2e86d9)=>(_0x165421,_0x13904d)=>_0x2e86d9(_0x165421,_0x13904d,_0x4fe7f4);const _0x2b8c0d=_0x3a8efd[_0x4b5896(0x474)](_0x4b5896(0x4f0));function _0x37da77(_0x5dbffb,_0xa679b7,_0x285203){var _0x582a9b=_0x4b5896;return _0x5dbffb+'/'+_0xa679b7+'/unit/'+_0x285203+_0x582a9b(0x41e);}_0x1fe4e5[_0x4b5896(0x544)]=class extends _0x3a8efd[_0x4b5896(0x3ed)]{constructor(_0x3e563c,_0x3c8a72,_0x1589bd,_0x546a1c,_0x1796ce){var _0x26e2c2=_0x4b5896;super(),this[_0x26e2c2(0x467)]=_0x3e563c,this['_httpService']=_0x3c8a72,this[_0x26e2c2(0x229)]=_0x1589bd,this[_0x26e2c2(0x2e7)]=_0x546a1c,this['_snapshotServerService']=_0x1796ce;}[_0x4b5896(0x1c1)](_0x201c00){var _0x5514b8=_0x4b5896;const _0x148d9d=this[_0x5514b8(0x467)]['get'](_0x5a784f['ISocketService']);if(!_0x148d9d)throw new Error(_0x5514b8(0x39c));const _0x220978=_0x148d9d['createSocket'](_0x201c00);if(!_0x220978)throw new Error(_0x5514b8(0x42e));const _0x2d2254=new _0x3a8efd['DisposableCollection'](),_0x70db32=new _0x49840d[(_0x5514b8(0x3f4))]();_0x2d2254[_0x5514b8(0x1d1)](_0x220978[_0x5514b8(0x1f5)]['subscribe'](_0xcba60d=>_0x70db32['next'](_0xcba60d))),_0x2d2254[_0x5514b8(0x1d1)](_0x3a8efd[_0x5514b8(0x3c9)](()=>_0x70db32[_0x5514b8(0x397)]()));const _0x153dd5=new _0x49840d[(_0x5514b8(0x3f4))]();_0x2d2254['add'](_0x220978['error$'][_0x5514b8(0x465)](_0x1ff479=>_0x153dd5[_0x5514b8(0x4eb)](_0x1ff479))),_0x2d2254[_0x5514b8(0x1d1)](_0x3a8efd[_0x5514b8(0x3c9)](()=>_0x153dd5['complete']()));const _0x2715af=new _0x49840d[(_0x5514b8(0x3f4))]();_0x2d2254[_0x5514b8(0x1d1)](_0x220978['message$']['subscribe'](_0x5bcb80=>{var _0x193d45=_0x5514b8;const _0x4e44f4=_0x50a746(_0x5bcb80);_0x2715af[_0x193d45(0x4eb)](_0x4e44f4);})),_0x2d2254[_0x5514b8(0x1d1)](_0x3a8efd[_0x5514b8(0x3c9)](()=>_0x2715af[_0x5514b8(0x397)]()));let _0x5d00a5;const _0xaccedf=()=>{var _0x3ae4e2=_0x5514b8;_0x153dd5[_0x3ae4e2(0x4eb)](new Event(_0x3ae4e2(0x28d))),_0x70db32['next'](new Event('connection\x20error')),_0x5d00a5[_0x3ae4e2(0x2ed)]();};return _0x5d00a5={'memberID':'','close$':_0x70db32[_0x5514b8(0x350)](),'error$':_0x153dd5[_0x5514b8(0x350)](),'open$':_0x220978[_0x5514b8(0x4d5)],'message$':_0x2715af[_0x5514b8(0x350)](),'send':_0x928251=>{var _0x1a9072=_0x5514b8;if(_0x928251[_0x1a9072(0x2b2)]===_0x4a19f[_0x1a9072(0x495)]){if(_0x928251['data']['eventID']===_0x5e2062['CollaborationEvent'][_0x1a9072(0x503)]){this[_0x1a9072(0x506)](_0x5d00a5,_0x928251[_0x1a9072(0x1d2)])[_0x1a9072(0x439)](_0x2c6dae=>{var _0x41f658=_0x1a9072;this[_0x41f658(0x2e7)][_0x41f658(0x542)](_0x2c6dae),_0xaccedf();});return;}if(_0x928251[_0x1a9072(0x1d2)]['eventID']===_0x5e2062[_0x1a9072(0x1c0)]['FETCH_MISSING']){const _0x4f8eb2=_0x928251[_0x1a9072(0x1d2)];this[_0x1a9072(0x2bf)](_0x4f8eb2)[_0x1a9072(0x4e9)](_0x69c2e5=>{var _0x9727b2=_0x1a9072;_0x2715af['next']({'cmd':_0x4a19f[_0x9727b2(0x1e8)],'code':_0x1e0075['OK'],'routeKey':_0x4f8eb2[_0x9727b2(0x1d2)][_0x9727b2(0x28a)],'routeType':'','data':{'eventID':_0x5e2062[_0x9727b2(0x1c0)][_0x9727b2(0x307)],'data':{'changesets':_0x69c2e5}}});})[_0x1a9072(0x439)](_0x1d2314=>{var _0x3cc974=_0x1a9072;this[_0x3cc974(0x2e7)][_0x3cc974(0x542)](_0x1d2314),_0xaccedf();});return;}}_0x220978[_0x1a9072(0x2d7)](_0x7e8078(_0x928251));},'close':()=>{var _0x8c400d=_0x5514b8;_0x220978[_0x8c400d(0x2ed)](),_0x2d2254[_0x8c400d(0x44f)]();}},_0x5d00a5;}async[_0x4b5896(0x506)](_0x52e191,_0xb24c11){var _0x1b713c=_0x4b5896,_0x405677;const {unitType:_0x1da9fa,unitID:_0x3818cb,changeset:_0x5a0e8d}=_0xb24c11[_0x1b713c(0x1d2)],_0x392e42={'unitID':_0x3818cb,'memberID':_0x52e191[_0x1b713c(0x1b6)],'type':_0x1da9fa,'changeset':_0x5e2062[_0x1b713c(0x1e4)](_0x5a0e8d)},_0x4d032d=this[_0x1b713c(0x229)][_0x1b713c(0x523)](_0x3fa8a8),_0x2235bb=_0x37da77((_0x405677=_0x4d032d==null?void 0x0:_0x4d032d['collabSubmitChangesetUrl'])!=null?_0x405677:_0xcea972,_0x1da9fa,_0x3818cb);try{await this[_0x1b713c(0x2e8)][_0x1b713c(0x54a)](_0x2235bb,{'body':_0x392e42});}catch(_0x22e366){throw this['_logService']['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x22e366;}}async['_fetchMissChangesets'](_0xa8aee9){var _0x3ff203=_0x4b5896;const {unitID:_0x2a38d8,from:_0x55f547,to:_0xa368c4,unitType:_0x583fe4}=_0xa8aee9[_0x3ff203(0x1d2)];return(await this[_0x3ff203(0x415)][_0x3ff203(0x2dd)]({'metadata':void 0x0},{'unitID':_0x2a38d8,'type':_0x583fe4,'from':_0x55f547,'to':_0xa368c4}))['changesets'][_0x3ff203(0x451)](_0x54fa17=>((_0x54fa17['mutations']===null||_0x54fa17[_0x3ff203(0x21e)]===void 0x0)&&(_0x54fa17['mutations']=[]),_0x54fa17));}},_0x1fe4e5[_0x4b5896(0x544)]=_0x2e5a13([_0x37b618(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x37b618(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f[_0x4b5896(0x227)])),_0x37b618(0x2,_0x3a8efd[_0x4b5896(0x383)]),_0x37b618(0x3,_0x3a8efd[_0x4b5896(0x4b5)]),_0x37b618(0x4,_0x5e2062[_0x4b5896(0x2d3)])],_0x1fe4e5[_0x4b5896(0x544)]);var _0x464544=Object[_0x4b5896(0x36f)],_0xd3e21e=(_0x501b28,_0x881fc9,_0x3b6ed0,_0x446b21)=>{for(var _0x569e08=_0x446b21>0x1?void 0x0:_0x446b21?_0x464544(_0x881fc9,_0x3b6ed0):_0x881fc9,_0x5933f2=_0x501b28['length']-0x1,_0x5d79c4;_0x5933f2>=0x0;_0x5933f2--)(_0x5d79c4=_0x501b28[_0x5933f2])&&(_0x569e08=_0x5d79c4(_0x569e08)||_0x569e08);return _0x569e08;},_0x1d6eeb=(_0x484b3,_0x596777)=>(_0x6cb031,_0x251172)=>_0x596777(_0x6cb031,_0x251172,_0x484b3);_0x1fe4e5[_0x4b5896(0x1ed)]=class extends _0x3a8efd[_0x4b5896(0x3ed)]{constructor(_0x22c300,_0x5d384f,_0x4c2f64,_0x43c041,_0x15179d,_0xedcd54){var _0xb5d7aa=_0x4b5896;super(),_0x33a719(this,'_socket$',new _0x49840d['BehaviorSubject'](void 0x0)),_0x33a719(this,_0xb5d7aa(0x3ae),this[_0xb5d7aa(0x275)][_0xb5d7aa(0x350)]()),_0x33a719(this,_0xb5d7aa(0x4fb),null),_0x33a719(this,_0xb5d7aa(0x521),new Map()),_0x33a719(this,_0xb5d7aa(0x2e5),new _0x49840d[(_0xb5d7aa(0x293))](_0x31c1b0[_0xb5d7aa(0x2f7)])),_0x33a719(this,'status$',this[_0xb5d7aa(0x2e5)][_0xb5d7aa(0x350)]()),_0x33a719(this,'_socketReady',!0x1),_0x33a719(this,_0xb5d7aa(0x22f)),_0x33a719(this,_0xb5d7aa(0x434),0x0),_0x33a719(this,_0xb5d7aa(0x43c)),_0x33a719(this,_0xb5d7aa(0x3d4)),(this[_0xb5d7aa(0x467)]=_0x22c300,this['_logService']=_0x5d384f,this[_0xb5d7aa(0x229)]=_0x4c2f64,this[_0xb5d7aa(0x4e1)]=_0x43c041,this[_0xb5d7aa(0x3ca)]=_0x15179d,this[_0xb5d7aa(0x46a)]=_0xedcd54,this[_0xb5d7aa(0x28f)]());}get[_0x4b5896(0x21f)](){return this['_socket$']['getValue']();}['_listenToNetworkCondition'](){var _0x622053=_0x4b5896;this[_0x622053(0x46a)]&&this[_0x622053(0x353)](this[_0x622053(0x46a)]['online$'][_0x622053(0x465)](_0x24241d=>{var _0x37aa4d=_0x622053;_0x24241d&&!this[_0x37aa4d(0x21f)]&&this[_0x37aa4d(0x27a)](),_0x24241d||this[_0x37aa4d(0x2eb)]();}));}[_0x4b5896(0x44f)](){var _0x3a05a0=_0x4b5896;super['dispose'](),this[_0x3a05a0(0x445)](),this[_0x3a05a0(0x45c)](),this[_0x3a05a0(0x2ec)](),this[_0x3a05a0(0x521)][_0x3a05a0(0x28b)](_0x5c39ff=>_0x5c39ff[_0x3a05a0(0x44f)]()),this[_0x3a05a0(0x521)][_0x3a05a0(0x448)](),this[_0x3a05a0(0x2e5)][_0x3a05a0(0x397)]();}async[_0x4b5896(0x41b)](_0x189bdc){var _0x28657e=_0x4b5896;if(this[_0x28657e(0x521)]['has'](_0x189bdc))return this['_sessions'][_0x28657e(0x4b6)](_0x189bdc);this['_tryEnsureSocket']();const _0x2d324d=this[_0x28657e(0x467)]['createInstance'](_0x1fe4e5[_0x28657e(0x50f)],_0x189bdc,this['_socket$']['asObservable']());return this[_0x28657e(0x521)][_0x28657e(0x513)](_0x189bdc,_0x2d324d),_0x2d324d;}[_0x4b5896(0x396)](_0x29109c){var _0x51d6f9=_0x4b5896,_0x544f79;const _0x560956=this[_0x51d6f9(0x521)][_0x51d6f9(0x4b6)](_0x29109c);_0x560956&&(this[_0x51d6f9(0x521)]['delete'](_0x29109c),_0x560956[_0x51d6f9(0x2ed)]()),this['_sessions'][_0x51d6f9(0x1dd)]||(_0x544f79=this[_0x51d6f9(0x21f)])==null||_0x544f79[_0x51d6f9(0x2ed)]();}[_0x4b5896(0x27a)](){var _0x4a2053=_0x4b5896;this[_0x4a2053(0x434)]=0x0,this[_0x4a2053(0x445)](),this[_0x4a2053(0x233)]();}['_clearRetryConnectingTimer'](){var _0x3ab43e=_0x4b5896;this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x3ab43e(0x22f)]=null);}async[_0x4b5896(0x4c4)](){var _0x32568c=_0x4b5896,_0x3a8414;const _0x352b58=this[_0x32568c(0x229)][_0x32568c(0x523)](_0x3fa8a8),_0x5b1d22=(_0x3a8414=_0x352b58==null?void 0x0:_0x352b58['collabWebSocketUrl'])!=null?_0x3a8414:_0x461a26,_0x311bbc=await this[_0x32568c(0x4e1)][_0x32568c(0x395)](_0x5b1d22);return this['_candidateSocket']=_0x311bbc,_0x311bbc;}async[_0x4b5896(0x489)](){var _0x4ca531=_0x4b5896,_0x2a202f,_0x167803;try{const _0x28fed4=(_0x167803=(_0x2a202f=this[_0x4ca531(0x21f)])!=null?_0x2a202f:this[_0x4ca531(0x4fb)])!=null?_0x167803:await this['_createSocket']();if(_0x28fed4){const _0x1c591c=_0x28fed4[_0x4ca531(0x2d7)];_0x28fed4[_0x4ca531(0x2d7)]=_0x289052=>(this[_0x4ca531(0x411)](),_0x1c591c['apply'](_0x28fed4,[_0x289052])),_0x28fed4[_0x4ca531(0x23d)][_0x4ca531(0x465)](_0x3fb310=>this[_0x4ca531(0x253)](_0x28fed4,_0x3fb310)),_0x28fed4[_0x4ca531(0x4a1)][_0x4ca531(0x3b7)](_0x3844a2[_0x4ca531(0x3c7)](0x1))['subscribe'](_0x53e862=>this[_0x4ca531(0x2e7)][_0x4ca531(0x542)](_0x4ca531(0x2a8),_0x53e862)),_0x28fed4[_0x4ca531(0x4d5)][_0x4ca531(0x3b7)](_0x3844a2[_0x4ca531(0x3c7)](0x1))[_0x4ca531(0x465)](()=>{this['_onConnectionOpen'](_0x28fed4);}),_0x28fed4[_0x4ca531(0x1f5)][_0x4ca531(0x3b7)](_0x3844a2[_0x4ca531(0x3c7)](0x1))['subscribe'](_0x282f2a=>{var _0x3e27f1=_0x4ca531;this[_0x3e27f1(0x2e7)][_0x3e27f1(0x1ba)](_0x3e27f1(0x245),'socket\x20close',_0x282f2a),this['_onConnectionFailed']();});}}catch(_0xbc29ed){this['_logService']['error'](_0xbc29ed),this[_0x4ca531(0x455)]();}}[_0x4b5896(0x2f9)](_0x30bfd0){var _0x2d8980=_0x4b5896;this[_0x2d8980(0x2e7)][_0x2d8980(0x1ba)](_0x2d8980(0x245),_0x2d8980(0x26a)),_0x30bfd0[_0x2d8980(0x2d7)]({'cmd':_0x4a19f[_0x2d8980(0x34c)]}),this[_0x2d8980(0x411)]();}[_0x4b5896(0x2eb)](){var _0x4c85c8=_0x4b5896;this[_0x4c85c8(0x41a)]=!0x1,this['_candidateSocket']=null,this[_0x4c85c8(0x2e5)]['next'](_0x31c1b0[_0x4c85c8(0x3cd)]),this[_0x4c85c8(0x275)]['next'](null),this[_0x4c85c8(0x45c)](),this[_0x4c85c8(0x2ec)]();}[_0x4b5896(0x455)](){var _0x12cb61=_0x4b5896,_0x4899e8;this[_0x12cb61(0x2eb)](),this[_0x12cb61(0x434)]<((_0x4899e8=this[_0x12cb61(0x229)]['getConfig'](_0x88c7ad))!=null?_0x4899e8:0x3)?(this[_0x12cb61(0x3ca)][_0x12cb61(0x487)]({'id':_0x758ea3[_0x12cb61(0x336)]}),this[_0x12cb61(0x233)]()):this['_collaborationUIEventService'][_0x12cb61(0x487)]({'id':_0x758ea3['SOCKET_FAILED']});}[_0x4b5896(0x233)](){var _0x10a736=_0x4b5896,_0xeb5fd8;const _0x441549=this['_retryCount'],_0x17cd03=this[_0x10a736(0x229)][_0x10a736(0x523)](_0x3fa8a8),_0x39222e=_0x441549===0x0?0x0:((_0xeb5fd8=_0x17cd03==null?void 0x0:_0x17cd03['retryConnectingInterval'])!=null?_0xeb5fd8:0x4e20)*0x2**_0x441549;this[_0x10a736(0x22f)]=setTimeout(()=>{var _0x386e67=_0x10a736;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x386e67(0x489)]();},_0x39222e),this[_0x10a736(0x434)]+=0x1;}[_0x4b5896(0x253)](_0x51f106,_0x16b8aa){var _0x5e7ef8=_0x4b5896;const {cmd:_0x47c2b1}=_0x16b8aa;_0x47c2b1===_0x4a19f[_0x5e7ef8(0x34c)]&&!this[_0x5e7ef8(0x41a)]&&(_0x51f106[_0x5e7ef8(0x1b6)]=_0x16b8aa[_0x5e7ef8(0x1d2)][_0x5e7ef8(0x1b6)],this[_0x5e7ef8(0x275)][_0x5e7ef8(0x4eb)](_0x51f106),this['_status$'][_0x5e7ef8(0x4eb)](_0x31c1b0[_0x5e7ef8(0x1d4)]),this[_0x5e7ef8(0x41a)]=!0x0,this[_0x5e7ef8(0x4fb)]=null),_0x47c2b1===_0x4a19f['HEARTBEAT']&&this[_0x5e7ef8(0x45c)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x1bd633=_0x4b5896,_0x3f3cc3;this[_0x1bd633(0x2ec)](),this[_0x1bd633(0x43c)]=setTimeout(()=>this[_0x1bd633(0x360)](),(_0x3f3cc3=this[_0x1bd633(0x229)][_0x1bd633(0x523)](_0x320476))!=null?_0x3f3cc3:0x7530);}[_0x4b5896(0x360)](){var _0x5b75d4=_0x4b5896;this[_0x5b75d4(0x21f)][_0x5b75d4(0x2d7)]({'cmd':_0x4a19f[_0x5b75d4(0x207)]}),this[_0x5b75d4(0x453)]();}[_0x4b5896(0x453)](){var _0x116579=_0x4b5896,_0x127128;this[_0x116579(0x3d4)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x127128=this[_0x116579(0x229)]['getConfig'](_0xf8cda4))!=null?_0x127128:0x4e20);}[_0x4b5896(0x2ec)](){var _0x124869=_0x4b5896;this[_0x124869(0x43c)]!=null&&(clearTimeout(this[_0x124869(0x43c)]),this[_0x124869(0x43c)]=null);}['_clearTimeoutTimer'](){var _0xc0fc4e=_0x4b5896;this['_timeoutTimer']!=null&&(clearTimeout(this[_0xc0fc4e(0x3d4)]),this[_0xc0fc4e(0x3d4)]=null);}},_0x1fe4e5[_0x4b5896(0x1ed)]=_0xd3e21e([_0x1d6eeb(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x1d6eeb(0x1,_0x3a8efd[_0x4b5896(0x4b5)]),_0x1d6eeb(0x2,_0x3a8efd['IConfigService']),_0x1d6eeb(0x3,_0x2b8c0d),_0x1d6eeb(0x4,_0x3a8efd['Inject'](_0x5b5dc8)),_0x1d6eeb(0x5,_0x3a8efd['Optional'](_0x42d43b))],_0x1fe4e5[_0x4b5896(0x1ed)]);var _0x1d35c1=Object[_0x4b5896(0x36f)],_0x3642dd=(_0x1e84b4,_0x40d816,_0x4a21d1,_0x24d757)=>{var _0x324af0=_0x4b5896;for(var _0x5724c5=_0x24d757>0x1?void 0x0:_0x24d757?_0x1d35c1(_0x40d816,_0x4a21d1):_0x40d816,_0x2a2c37=_0x1e84b4[_0x324af0(0x31b)]-0x1,_0x461c07;_0x2a2c37>=0x0;_0x2a2c37--)(_0x461c07=_0x1e84b4[_0x2a2c37])&&(_0x5724c5=_0x461c07(_0x5724c5)||_0x5724c5);return _0x5724c5;},_0x5661eb=(_0x490226,_0x2551a2)=>(_0x1417ed,_0xc1e96a)=>_0x2551a2(_0x1417ed,_0xc1e96a,_0x490226);_0x1fe4e5[_0x4b5896(0x263)]=class extends _0x3a8efd[_0x4b5896(0x4ad)]{constructor(_0x5cfa52,_0x4572ce,_0x9496f8,_0x42b0e8){var _0x1f9c98=_0x4b5896,_0x582bdb;super(),_0x33a719(this,'_entities',new Map()),_0x33a719(this,_0x1f9c98(0x3e1),new _0x49840d[(_0x1f9c98(0x3f4))]()),_0x33a719(this,_0x1f9c98(0x1e5),this['_entityInit$'][_0x1f9c98(0x350)]()),(this[_0x1f9c98(0x467)]=_0x5cfa52,this[_0x1f9c98(0x49c)]=_0x4572ce,this['_configService']=_0x9496f8,this[_0x1f9c98(0x4e8)]=_0x42b0e8,((_0x582bdb=this['_configService'][_0x1f9c98(0x523)](_0x3fa8a8))==null?void 0x0:_0x582bdb[_0x1f9c98(0x2f2)])!==!0x1&&this['_init']());}[_0x4b5896(0x44f)](){var _0x1b08fd=_0x4b5896;super[_0x1b08fd(0x44f)](),this[_0x1b08fd(0x4de)]['forEach'](_0x1fed26=>_0x1fed26[_0x1b08fd(0x44f)]()),this['_entities']['clear']();}[_0x4b5896(0x1c8)](_0x1a9dde){var _0xc775f8=_0x4b5896,_0x4e8cd3;return(_0x4e8cd3=this[_0xc775f8(0x4de)][_0xc775f8(0x4b6)](_0x1a9dde))!=null?_0x4e8cd3:null;}[_0x4b5896(0x3e3)](_0x4ad713){var _0x2e78ce=_0x4b5896;const _0x49139e=this[_0x2e78ce(0x1c8)](_0x4ad713);return _0x49139e?_0x49840d['of'](_0x49139e):this[_0x2e78ce(0x3e1)][_0x2e78ce(0x3b7)](_0x3844a2[_0x2e78ce(0x329)](_0x5c20f2=>_0x5c20f2[_0x2e78ce(0x28a)]===_0x4ad713));}[_0x4b5896(0x3d3)](_0x3e3c4){var _0x5a22a2=_0x4b5896;return _0x49840d[_0x5a22a2(0x237)](this[_0x5a22a2(0x3e3)](_0x3e3c4)[_0x5a22a2(0x3b7)](_0x3844a2[_0x5a22a2(0x451)](()=>{})));}['_init'](){var _0x132ba5=_0x4b5896;this[_0x132ba5(0x4e8)][_0x132ba5(0x346)](_0x3a8efd['UniverInstanceType'][_0x132ba5(0x4b9)])[_0x132ba5(0x3b7)](_0x49840d[_0x132ba5(0x224)](this[_0x132ba5(0x422)]),_0x3844a2[_0x132ba5(0x37f)](0x10))[_0x132ba5(0x465)](async _0x46b3de=>{var _0x2516ba=_0x132ba5;const _0x4f590b=_0x46b3de[_0x2516ba(0x49a)](),_0x1c3d64=await this[_0x2516ba(0x32b)](_0x4f590b,_0x4dc4c2['UNIVER_SHEET']);this[_0x2516ba(0x4de)][_0x2516ba(0x513)](_0x4f590b,_0x1c3d64);}),this[_0x132ba5(0x4e8)][_0x132ba5(0x346)](_0x3a8efd[_0x132ba5(0x1af)][_0x132ba5(0x234)])[_0x132ba5(0x3b7)](_0x49840d['takeUntil'](this[_0x132ba5(0x422)]),_0x3844a2['delay'](0x10))['pipe'](_0x3844a2['filter'](_0x5c03b4=>!_0x5c03b4[_0x132ba5(0x49a)]()['startsWith']('__')))[_0x132ba5(0x465)](async _0x52d549=>{var _0x33b708=_0x132ba5;const _0x50cb37=_0x52d549[_0x33b708(0x49a)](),_0x197b13=await this[_0x33b708(0x32b)](_0x50cb37,_0x4dc4c2[_0x33b708(0x234)]);this[_0x33b708(0x4de)][_0x33b708(0x513)](_0x50cb37,_0x197b13);}),_0x49840d[_0x132ba5(0x40b)](this[_0x132ba5(0x4e8)]['getTypeOfUnitDisposed$'](_0x3a8efd[_0x132ba5(0x1af)][_0x132ba5(0x4b9)]),this[_0x132ba5(0x4e8)][_0x132ba5(0x424)](_0x3a8efd[_0x132ba5(0x1af)][_0x132ba5(0x234)]))[_0x132ba5(0x3b7)](_0x49840d['takeUntil'](this[_0x132ba5(0x422)]))[_0x132ba5(0x465)](_0x30b37e=>{var _0x2b305e=_0x132ba5;const _0x2cf443=_0x30b37e[_0x2b305e(0x49a)](),_0x1632c6=this[_0x2b305e(0x4de)][_0x2b305e(0x4b6)](_0x2cf443);_0x1632c6&&(_0x1632c6[_0x2b305e(0x44f)](),this['_entities'][_0x2b305e(0x1c5)](_0x2cf443));});}async[_0x4b5896(0x32b)](_0x3638ac,_0x3fcc6e){var _0x28c166=_0x4b5896;const _0x273793=await this[_0x28c166(0x49c)][_0x28c166(0x41b)](_0x3638ac),_0x3fc9a7=this[_0x28c166(0x467)]['createInstance'](this[_0x28c166(0x3f7)](_0x3fcc6e),_0x3638ac,_0x3fcc6e,_0x273793);return await _0x3fc9a7[_0x28c166(0x3d0)](),this[_0x28c166(0x3e1)][_0x28c166(0x4eb)](_0x3fc9a7),_0x3fc9a7;}[_0x4b5896(0x3f7)](_0x185fe2){var _0x4dbbb5=_0x4b5896;switch(_0x185fe2){case _0x4dc4c2[_0x4dbbb5(0x234)]:return _0x1fe4e5[_0x4dbbb5(0x37d)];case _0x4dc4c2[_0x4dbbb5(0x4b9)]:return _0x1fe4e5[_0x4dbbb5(0x3a0)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x185fe2);}}},_0x1fe4e5[_0x4b5896(0x263)]=_0x3642dd([_0x5661eb(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x5661eb(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x1fe4e5[_0x4b5896(0x1ed)])),_0x5661eb(0x2,_0x3a8efd[_0x4b5896(0x383)]),_0x5661eb(0x3,_0x3a8efd[_0x4b5896(0x40f)])],_0x1fe4e5['CollaborationController']);var _0x480d25=Object[_0x4b5896(0x36f)],_0xaf079=(_0x2eb8eb,_0x31fb07,_0xe12f24,_0x3bea5d)=>{var _0x5da18e=_0x4b5896;for(var _0x50dbfb=_0x3bea5d>0x1?void 0x0:_0x3bea5d?_0x480d25(_0x31fb07,_0xe12f24):_0x31fb07,_0x447b3f=_0x2eb8eb[_0x5da18e(0x31b)]-0x1,_0x1c1385;_0x447b3f>=0x0;_0x447b3f--)(_0x1c1385=_0x2eb8eb[_0x447b3f])&&(_0x50dbfb=_0x1c1385(_0x50dbfb)||_0x50dbfb);return _0x50dbfb;},_0x534136=(_0x20d904,_0x15b720)=>(_0x50de06,_0x49bcb3)=>_0x15b720(_0x50de06,_0x49bcb3,_0x20d904);const _0x1bc918=_0x4b5896(0x431),_0x11875c=_0x4b5896(0x1e6);let _0xa98e7c=class extends _0x3a8efd[_0x4b5896(0x3ed)]{constructor(_0x1a6231,_0x3d228e){var _0x206347=_0x4b5896;super(),this[_0x206347(0x4e8)]=_0x1a6231,this[_0x206347(0x229)]=_0x3d228e,this['_init']();}[_0x4b5896(0x380)](){var _0x187b70=_0x4b5896;this[_0x187b70(0x353)](this[_0x187b70(0x4e8)][_0x187b70(0x4cf)]['subscribe'](()=>{var _0x2e5c23=_0x187b70,_0x64219d;const _0x2d839a=this[_0x2e5c23(0x4e8)][_0x2e5c23(0x3cb)]();let _0x3008c3=(_0x64219d=this[_0x2e5c23(0x229)][_0x2e5c23(0x523)](_0x1bc918))!=null?_0x64219d:_0x11875c;_0x2d839a instanceof _0x3a8efd[_0x2e5c23(0x1de)]&&(_0x3008c3=_0x2d839a[_0x2e5c23(0x39b)]),document[_0x2e5c23(0x2f4)]=_0x3008c3;}));}};_0xa98e7c=_0xaf079([_0x534136(0x0,_0x3a8efd[_0x4b5896(0x40f)]),_0x534136(0x1,_0x3a8efd['IConfigService'])],_0xa98e7c);var _0x5b467e=Object[_0x4b5896(0x36f)],_0x9711f=(_0x594fbd,_0x56c9e6,_0x49e517,_0x5b669f)=>{for(var _0x3bef69=_0x5b669f>0x1?void 0x0:_0x5b669f?_0x5b467e(_0x56c9e6,_0x49e517):_0x56c9e6,_0x277cdb=_0x594fbd['length']-0x1,_0x595433;_0x277cdb>=0x0;_0x277cdb--)(_0x595433=_0x594fbd[_0x277cdb])&&(_0x3bef69=_0x595433(_0x3bef69)||_0x3bef69);return _0x3bef69;},_0x472de9=(_0xbd45,_0x1eede1)=>(_0x20c7bb,_0x49e11e)=>_0x1eede1(_0x20c7bb,_0x49e11e,_0xbd45);let _0x2b9f33=class{constructor(_0x218d8e,_0x4bd832,_0x2965f5){var _0x5704a4=_0x4b5896;this['_configService']=_0x218d8e,this['_httpService']=_0x4bd832,this[_0x5704a4(0x331)]=_0x2965f5,this[_0x5704a4(0x3d0)]();}['init'](){var _0x5bc4ca=_0x4b5896;this[_0x5bc4ca(0x2e8)][_0x5bc4ca(0x335)]({'priority':0x1,'interceptor':(_0x53d60e,_0x549037)=>_0x549037(_0x53d60e)[_0x5bc4ca(0x3b7)](_0x49840d[_0x5bc4ca(0x238)](async _0x3173e6=>{var _0x5cfca9=_0x5bc4ca;const _0x29e6f7=_0x3173e6;if(_0x29e6f7['status']===0x191){if(typeof window>'u')throw new Error(_0x5cfca9(0x2a9));if(window[_0x5cfca9(0x1fa)](this['localeService']['t'](_0x5cfca9(0x432)))){const _0x16c780=window[_0x5cfca9(0x4fc)](window[_0x5cfca9(0x2de)][_0x5cfca9(0x505)]);window[_0x5cfca9(0x2de)][_0x5cfca9(0x505)]=this[_0x5cfca9(0x3ac)]()+_0x5cfca9(0x355)+_0x16c780;}}return _0x29e6f7;}))});}[_0x4b5896(0x3ac)](){var _0x2e48f9=_0x4b5896,_0x2a214a;const _0x3eee3b=this[_0x2e48f9(0x229)][_0x2e48f9(0x523)](_0x3fa8a8);return(_0x2a214a=_0x3eee3b==null?void 0x0:_0x3eee3b[_0x2e48f9(0x285)])!=null?_0x2a214a:_0x106d2b;}};_0x2b9f33=_0x9711f([_0x472de9(0x0,_0x3a8efd[_0x4b5896(0x383)]),_0x472de9(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f[_0x4b5896(0x227)])),_0x472de9(0x2,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x30b)]))],_0x2b9f33);var _0x26c6d6=Object['getOwnPropertyDescriptor'],_0x5969e3=(_0x11cf23,_0x4c024a,_0xa7cf23,_0x38a761)=>{var _0x233a83=_0x4b5896;for(var _0x5a6415=_0x38a761>0x1?void 0x0:_0x38a761?_0x26c6d6(_0x4c024a,_0xa7cf23):_0x4c024a,_0x2581ab=_0x11cf23[_0x233a83(0x31b)]-0x1,_0x21e378;_0x2581ab>=0x0;_0x2581ab--)(_0x21e378=_0x11cf23[_0x2581ab])&&(_0x5a6415=_0x21e378(_0x5a6415)||_0x5a6415);return _0x5a6415;},_0x3b6e44=(_0x2d8767,_0x1e7041)=>(_0x3c7dbd,_0x8d2cd7)=>_0x1e7041(_0x3c7dbd,_0x8d2cd7,_0x2d8767);const _0x1ef166='/universer-api/authz';_0x1fe4e5[_0x4b5896(0x2ee)]=class extends _0x3a8efd[_0x4b5896(0x3ed)]{constructor(_0x4a4150,_0x3363b9){var _0x413628=_0x4b5896;super(),this[_0x413628(0x312)]=_0x4a4150,this[_0x413628(0x229)]=_0x3363b9,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x2f50fd=_0x4b5896;const _0x373c78=this;this['disposeWithMe'](this[_0x2f50fd(0x312)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x5a784f[_0x2f50fd(0x2ca)]({'isMatch'(_0x42e0dc){var _0xaa68f7=_0x2f50fd,_0x4e393c;if(_0x42e0dc['method']==='POST'&&((_0x4e393c=_0x42e0dc[_0xaa68f7(0x385)])!=null&&_0x4e393c[_0xaa68f7(0x1be)])){const {objectID:_0x4e2f45,objectType:_0x71695f}=_0x42e0dc[_0xaa68f7(0x385)][_0xaa68f7(0x1be)]||{};if(!_0x4e2f45||_0x71695f===void 0x0)return!0x1;const _0x33a97c=_0x373c78[_0xaa68f7(0x47a)]()+'/'+_0x71695f+_0xaa68f7(0x35f)+_0x4e2f45+_0xaa68f7(0x539);if(_0x42e0dc[_0xaa68f7(0x1ee)]===_0x33a97c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x59472e){var _0x245a84=_0x2f50fd,_0x59e883;return(_0x59e883=_0x59472e['requestParams'])==null?void 0x0:_0x59e883[_0x245a84(0x1be)];},'mergeParamsToRequest'(_0x5128db,_0x458376){var _0x24660d=_0x2f50fd;const _0x54345a=_0x373c78[_0x24660d(0x47a)]()+'/-/object/-/batch_allowed',_0x395bc8=_0x5128db['reduce']((_0x4d72b1,_0x272b01)=>{var _0x2ca1c7=_0x24660d;const {unitID:_0x273d98,objectID:_0x2aba0b,objectType:_0x1e73b1,actions:_0xe7bea5}=_0x272b01;return _0x4d72b1[_0x273d98]||(_0x4d72b1[_0x273d98]={}),_0x4d72b1[_0x273d98][_0x2aba0b]||(_0x4d72b1[_0x273d98][_0x2aba0b]={'objectID':_0x2aba0b,'objectType':_0x1e73b1,'actions':[]}),_0x4d72b1[_0x273d98][_0x2aba0b][_0x2ca1c7(0x514)][_0x2ca1c7(0x435)](..._0xe7bea5),_0x4d72b1;},{}),_0x4b39ca=[];for(const _0x105125 in _0x395bc8)for(const _0x2458b6 in _0x395bc8[_0x105125]){const {actions:_0x1e7c9d,objectType:_0x52c439}=_0x395bc8[_0x105125][_0x2458b6],_0xeb7b20=[...new Set(_0x1e7c9d)];_0x4b39ca[_0x24660d(0x435)]({'unitID':_0x105125,'objectID':_0x2458b6,'objectType':_0x52c439,'actions':_0xeb7b20});}return new _0x5a784f[(_0x24660d(0x4b7))](_0x24660d(0x1ca),_0x54345a,{'headers':_0x458376['headers'],'withCredentials':_0x458376[_0x24660d(0x3bb)],'responseType':_0x458376[_0x24660d(0x35b)],'body':{'requests':_0x4b39ca}});}},{'distributeResult'(_0x3fd541,_0x458054){var _0x419ac3=_0x2f50fd;const {objectActions:_0x54a6f5}=_0x3fd541;return _0x458054[_0x419ac3(0x451)](_0x32c9ed=>{var _0x568f4b=_0x419ac3;const {unitID:_0x4a3428,objectID:_0x4e9614,actions:_0x30b8c8}=_0x32c9ed,_0x1f3113=_0x54a6f5[_0x568f4b(0x515)](_0x86ca5a=>_0x86ca5a[_0x568f4b(0x28a)]===_0x4a3428&&_0x86ca5a[_0x568f4b(0x206)]===_0x4e9614),_0x5f1e17=_0x30b8c8[_0x568f4b(0x451)](_0x434b46=>_0x1f3113==null?void 0x0:_0x1f3113[_0x568f4b(0x514)][_0x568f4b(0x515)](_0x35ee5c=>_0x35ee5c[_0x568f4b(0x3e8)]===_0x434b46))[_0x568f4b(0x329)](_0x486711=>!!_0x486711);return{'config':_0x32c9ed,'result':{'actions':_0x5f1e17,'error':_0x3fd541[_0x568f4b(0x542)]}};});}})}));}[_0x4b5896(0x47a)](){var _0x2113fa=_0x4b5896,_0x585a38;const _0x41fc0c=this[_0x2113fa(0x229)][_0x2113fa(0x523)](_0x3fa8a8);return(_0x585a38=_0x41fc0c==null?void 0x0:_0x41fc0c['authzUrl'])!=null?_0x585a38:_0x1ef166;}async['create'](_0x3635f9){var _0x472695=_0x4b5896;const _0x3af786=this[_0x472695(0x47a)]()+'/'+_0x3635f9[_0x472695(0x429)]+'/object';return(await this[_0x472695(0x312)][_0x472695(0x54a)](_0x3af786,{'body':_0x3635f9}))[_0x472695(0x1be)][_0x472695(0x206)]||'';}async[_0x4b5896(0x546)](_0x45d534){var _0x22b13d=_0x4b5896;const _0x24b4f2=this[_0x22b13d(0x47a)]()+_0x22b13d(0x278);return(await this[_0x22b13d(0x312)][_0x22b13d(0x54a)](_0x24b4f2,{'body':_0x45d534}))[_0x22b13d(0x1be)]['objects'];}async[_0x4b5896(0x255)](_0xb32109){var _0x335ab3=_0x4b5896,_0x23d272,_0x43e421;const _0x3566b9=this[_0x335ab3(0x47a)]()+'/'+_0xb32109[_0x335ab3(0x429)]+'/object/'+_0xb32109[_0x335ab3(0x206)],_0x21ac9c=await this[_0x335ab3(0x312)][_0x335ab3(0x1f1)](_0x3566b9,{'body':_0xb32109});if(((_0x43e421=(_0x23d272=_0x21ac9c==null?void 0x0:_0x21ac9c[_0x335ab3(0x1be)])==null?void 0x0:_0x23d272['error'])==null?void 0x0:_0x43e421[_0x335ab3(0x354)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x51e65b){var _0x4f8281=_0x4b5896;const _0x27596d=this[_0x4f8281(0x47a)]()+'/'+_0x51e65b['objectType']+_0x4f8281(0x35f)+_0x51e65b['objectID']+_0x4f8281(0x539);return(await this[_0x4f8281(0x312)]['post'](_0x27596d,{'body':_0x51e65b}))['body'][_0x4f8281(0x514)];}async[_0x4b5896(0x2b4)](_0x34eb35){var _0x4aaa07=_0x4b5896;const _0x5aeabd=this[_0x4aaa07(0x47a)]()+_0x4aaa07(0x250);return(await this[_0x4aaa07(0x312)][_0x4aaa07(0x54a)](_0x5aeabd,{'body':{'requests':_0x34eb35}}))[_0x4aaa07(0x1be)]['objectActions'];}async[_0x4b5896(0x34f)](_0xf73be9){var _0x30d690=_0x4b5896;const _0x35bc8d=this['_getAPIPrefixPath']()+'/'+_0xf73be9['objectType']+_0x30d690(0x4e6),_0x1693aa=await this[_0x30d690(0x312)][_0x30d690(0x54a)](_0x35bc8d,{'body':_0xf73be9});return{'roles':_0x1693aa[_0x30d690(0x1be)]['roles'],'actions':_0x1693aa[_0x30d690(0x1be)]['actions']};}async['deleteCollaborator'](_0x474823){var _0x1b05cd=_0x4b5896;const _0x5e2b6c=this[_0x1b05cd(0x47a)]()+_0x1b05cd(0x2e2);await this['_HTTPService'][_0x1b05cd(0x1c5)](_0x5e2b6c,{'params':{'collaboratorID':_0x474823[_0x1b05cd(0x540)],'objectID':_0x474823[_0x1b05cd(0x206)],'unitID':_0x474823[_0x1b05cd(0x28a)]}});}async[_0x4b5896(0x438)](_0x5bd678){var _0x1e63db=_0x4b5896;const _0xac8428=this[_0x1e63db(0x47a)]()+_0x1e63db(0x2e2);await this[_0x1e63db(0x312)][_0x1e63db(0x34e)](_0xac8428,{'body':_0x5bd678});}async[_0x4b5896(0x2d1)](_0x39ab20){var _0x42bf93=_0x4b5896;const _0x1c6c2a=this[_0x42bf93(0x47a)]()+_0x42bf93(0x2e2);await this['_HTTPService'][_0x42bf93(0x54a)](_0x1c6c2a,{'body':_0x39ab20});}async[_0x4b5896(0x4d7)](_0x38b13b){var _0x45960b=_0x4b5896;const _0x5c4f17=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x45960b(0x312)][_0x45960b(0x4b6)](_0x5c4f17,{'params':{'objectID':_0x38b13b[_0x45960b(0x206)],'unitID':_0x38b13b['unitID']}}))[_0x45960b(0x1be)][_0x45960b(0x2b8)];}async[_0x4b5896(0x4bb)](_0x43b612){var _0x589b57=_0x4b5896;const _0x48a961=this[_0x589b57(0x47a)]()+_0x589b57(0x2e2);await this['_HTTPService']['put'](_0x48a961,{'body':_0x43b612});}},_0x1fe4e5['AuthzIoHttpService']=_0x5969e3([_0x3b6e44(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f[_0x4b5896(0x227)])),_0x3b6e44(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd['IConfigService']))],_0x1fe4e5['AuthzIoHttpService']);var _0x2f24d2=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x26c98b(_0x4e4149){var _0x66f2e0=_0x4b5896;return _0x4e4149&&_0x4e4149[_0x66f2e0(0x27d)]&&Object[_0x66f2e0(0x4f1)][_0x66f2e0(0x2e0)]['call'](_0x4e4149,_0x66f2e0(0x29c))?_0x4e4149[_0x66f2e0(0x29c)]:_0x4e4149;}var _0x4ee07f={'exports':{}};function _0x5a9195(_0x290114){var _0x3e6375=_0x4b5896;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x290114+_0x3e6375(0x2ab));}var _0x480731={'exports':{}},_0x5d8b58=_0x480731[_0x4b5896(0x1ae)],_0x14e91d;function _0x38fba3(){var _0x2f1fe3=_0x4b5896;return _0x14e91d||(_0x14e91d=0x1,function(_0x429791,_0x19bca4){(function(_0x5b8585,_0x4a6e72){var _0x636a2c=_0x4fbb;_0x429791[_0x636a2c(0x1ae)]=_0x4a6e72();}(_0x5d8b58,function(){var _0x344d1a=_0x344d1a||function(_0x239719,_0xdf0dc7){var _0x49e853=_0x4fbb,_0x47fd1f;if(typeof window<'u'&&window[_0x49e853(0x2ff)]&&(_0x47fd1f=window[_0x49e853(0x2ff)]),typeof self<'u'&&self[_0x49e853(0x2ff)]&&(_0x47fd1f=self[_0x49e853(0x2ff)]),typeof globalThis<'u'&&globalThis[_0x49e853(0x2ff)]&&(_0x47fd1f=globalThis[_0x49e853(0x2ff)]),!_0x47fd1f&&typeof window<'u'&&window[_0x49e853(0x3fa)]&&(_0x47fd1f=window['msCrypto']),!_0x47fd1f&&typeof _0x2f24d2<'u'&&_0x2f24d2[_0x49e853(0x2ff)]&&(_0x47fd1f=_0x2f24d2['crypto']),!_0x47fd1f&&typeof _0x5a9195==_0x49e853(0x3c0))try{_0x47fd1f=require('crypto');}catch{}var _0x1285dd=function(){var _0x23bd51=_0x49e853;if(_0x47fd1f){if(typeof _0x47fd1f[_0x23bd51(0x49e)]==_0x23bd51(0x3c0))try{return _0x47fd1f[_0x23bd51(0x49e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x47fd1f[_0x23bd51(0x3d5)]==_0x23bd51(0x3c0))try{return _0x47fd1f['randomBytes'](0x4)[_0x23bd51(0x1e7)]();}catch{}}throw new Error(_0x23bd51(0x4a3));},_0x32f490=Object['create']||(function(){function _0x13381a(){}return function(_0x591d58){var _0x2432f0=_0x4fbb,_0x236698;return _0x13381a[_0x2432f0(0x4f1)]=_0x591d58,_0x236698=new _0x13381a(),_0x13381a['prototype']=null,_0x236698;};}()),_0x59811e={},_0x378438=_0x59811e['lib']={},_0x1ea96f=_0x378438[_0x49e853(0x3de)]=(function(){return{'extend':function(_0x287a40){var _0x3b6723=_0x4fbb,_0x47985e=_0x32f490(this);return _0x287a40&&_0x47985e[_0x3b6723(0x369)](_0x287a40),(!_0x47985e[_0x3b6723(0x2e0)](_0x3b6723(0x3d0))||this[_0x3b6723(0x3d0)]===_0x47985e[_0x3b6723(0x3d0)])&&(_0x47985e[_0x3b6723(0x3d0)]=function(){var _0x331dfc=_0x3b6723;_0x47985e[_0x331dfc(0x4a2)][_0x331dfc(0x3d0)][_0x331dfc(0x273)](this,arguments);}),_0x47985e[_0x3b6723(0x3d0)][_0x3b6723(0x4f1)]=_0x47985e,_0x47985e[_0x3b6723(0x4a2)]=this,_0x47985e;},'create':function(){var _0x211ee2=_0x4fbb,_0x303637=this['extend']();return _0x303637[_0x211ee2(0x3d0)]['apply'](_0x303637,arguments),_0x303637;},'init':function(){},'mixIn':function(_0x2ac922){var _0xdb0bb8=_0x4fbb;for(var _0x9aa2b3 in _0x2ac922)_0x2ac922[_0xdb0bb8(0x2e0)](_0x9aa2b3)&&(this[_0x9aa2b3]=_0x2ac922[_0x9aa2b3]);_0x2ac922[_0xdb0bb8(0x2e0)](_0xdb0bb8(0x46c))&&(this[_0xdb0bb8(0x46c)]=_0x2ac922['toString']);},'clone':function(){var _0x4cad7f=_0x4fbb;return this[_0x4cad7f(0x3d0)][_0x4cad7f(0x4f1)]['extend'](this);}};}()),_0x2a3c85=_0x378438[_0x49e853(0x40d)]=_0x1ea96f['extend']({'init':function(_0x2c4bf7,_0x1e926c){var _0x3959ae=_0x49e853;_0x2c4bf7=this[_0x3959ae(0x300)]=_0x2c4bf7||[],_0x1e926c!=_0xdf0dc7?this[_0x3959ae(0x51a)]=_0x1e926c:this['sigBytes']=_0x2c4bf7[_0x3959ae(0x31b)]*0x4;},'toString':function(_0x2ad4f1){var _0x5ff111=_0x49e853;return(_0x2ad4f1||_0x41b834)[_0x5ff111(0x1d0)](this);},'concat':function(_0x38a0c3){var _0xa8f373=_0x49e853,_0x23dcae=this[_0xa8f373(0x300)],_0x2605ac=_0x38a0c3['words'],_0x5c7498=this['sigBytes'],_0x192239=_0x38a0c3[_0xa8f373(0x51a)];if(this[_0xa8f373(0x1e3)](),_0x5c7498%0x4)for(var _0x25df4a=0x0;_0x25df4a<_0x192239;_0x25df4a++){var _0x706325=_0x2605ac[_0x25df4a>>>0x2]>>>0x18-_0x25df4a%0x4*0x8&0xff;_0x23dcae[_0x5c7498+_0x25df4a>>>0x2]|=_0x706325<<0x18-(_0x5c7498+_0x25df4a)%0x4*0x8;}else{for(var _0x11c94a=0x0;_0x11c94a<_0x192239;_0x11c94a+=0x4)_0x23dcae[_0x5c7498+_0x11c94a>>>0x2]=_0x2605ac[_0x11c94a>>>0x2];}return this['sigBytes']+=_0x192239,this;},'clamp':function(){var _0x5e6380=_0x49e853,_0x1cd343=this[_0x5e6380(0x300)],_0x59e497=this['sigBytes'];_0x1cd343[_0x59e497>>>0x2]&=0xffffffff<<0x20-_0x59e497%0x4*0x8,_0x1cd343[_0x5e6380(0x31b)]=_0x239719[_0x5e6380(0x478)](_0x59e497/0x4);},'clone':function(){var _0x3a11ba=_0x49e853,_0x273577=_0x1ea96f[_0x3a11ba(0x4ca)][_0x3a11ba(0x473)](this);return _0x273577[_0x3a11ba(0x300)]=this[_0x3a11ba(0x300)]['slice'](0x0),_0x273577;},'random':function(_0x270f64){var _0x2321e6=_0x49e853;for(var _0x278391=[],_0x109d02=0x0;_0x109d02<_0x270f64;_0x109d02+=0x4)_0x278391['push'](_0x1285dd());return new _0x2a3c85[(_0x2321e6(0x3d0))](_0x278391,_0x270f64);}}),_0x2d5af1=_0x59811e[_0x49e853(0x43d)]={},_0x41b834=_0x2d5af1[_0x49e853(0x3fd)]={'stringify':function(_0x428ef0){var _0x4433a9=_0x49e853;for(var _0xa8e982=_0x428ef0[_0x4433a9(0x300)],_0x431789=_0x428ef0[_0x4433a9(0x51a)],_0x580fed=[],_0x557333=0x0;_0x557333<_0x431789;_0x557333++){var _0x458345=_0xa8e982[_0x557333>>>0x2]>>>0x18-_0x557333%0x4*0x8&0xff;_0x580fed[_0x4433a9(0x435)]((_0x458345>>>0x4)[_0x4433a9(0x46c)](0x10)),_0x580fed[_0x4433a9(0x435)]((_0x458345&0xf)[_0x4433a9(0x46c)](0x10));}return _0x580fed[_0x4433a9(0x36d)]('');},'parse':function(_0x1842c7){var _0x52c7ac=_0x49e853;for(var _0x203d06=_0x1842c7[_0x52c7ac(0x31b)],_0x33ae59=[],_0x4f94b6=0x0;_0x4f94b6<_0x203d06;_0x4f94b6+=0x2)_0x33ae59[_0x4f94b6>>>0x3]|=parseInt(_0x1842c7['substr'](_0x4f94b6,0x2),0x10)<<0x18-_0x4f94b6%0x8*0x4;return new _0x2a3c85[(_0x52c7ac(0x3d0))](_0x33ae59,_0x203d06/0x2);}},_0x13a89d=_0x2d5af1['Latin1']={'stringify':function(_0x57a30f){var _0x5b6f7e=_0x49e853;for(var _0xc936f8=_0x57a30f[_0x5b6f7e(0x300)],_0xf6cb56=_0x57a30f[_0x5b6f7e(0x51a)],_0x399d27=[],_0x5d7c1b=0x0;_0x5d7c1b<_0xf6cb56;_0x5d7c1b++){var _0x9b07c5=_0xc936f8[_0x5d7c1b>>>0x2]>>>0x18-_0x5d7c1b%0x4*0x8&0xff;_0x399d27[_0x5b6f7e(0x435)](String[_0x5b6f7e(0x481)](_0x9b07c5));}return _0x399d27[_0x5b6f7e(0x36d)]('');},'parse':function(_0x51ab30){var _0xb4b9a9=_0x49e853;for(var _0x32649e=_0x51ab30[_0xb4b9a9(0x31b)],_0x3c8744=[],_0x1f6a90=0x0;_0x1f6a90<_0x32649e;_0x1f6a90++)_0x3c8744[_0x1f6a90>>>0x2]|=(_0x51ab30[_0xb4b9a9(0x322)](_0x1f6a90)&0xff)<<0x18-_0x1f6a90%0x4*0x8;return new _0x2a3c85['init'](_0x3c8744,_0x32649e);}},_0x22a845=_0x2d5af1['Utf8']={'stringify':function(_0x2c9ad6){var _0x1408b9=_0x49e853;try{return decodeURIComponent(escape(_0x13a89d['stringify'](_0x2c9ad6)));}catch{throw new Error(_0x1408b9(0x1c4));}},'parse':function(_0xa8b247){var _0x30fa5c=_0x49e853;return _0x13a89d[_0x30fa5c(0x1fc)](unescape(encodeURIComponent(_0xa8b247)));}},_0x13dbe2=_0x378438[_0x49e853(0x2c1)]=_0x1ea96f[_0x49e853(0x36e)]({'reset':function(){var _0x32b32c=_0x49e853;this[_0x32b32c(0x36c)]=new _0x2a3c85[(_0x32b32c(0x3d0))](),this[_0x32b32c(0x35e)]=0x0;},'_append':function(_0x17f831){var _0x42555a=_0x49e853;typeof _0x17f831==_0x42555a(0x53e)&&(_0x17f831=_0x22a845[_0x42555a(0x1fc)](_0x17f831)),this[_0x42555a(0x36c)][_0x42555a(0x22e)](_0x17f831),this[_0x42555a(0x35e)]+=_0x17f831[_0x42555a(0x51a)];},'_process':function(_0x51ff21){var _0x4fab71=_0x49e853,_0x45b6c6,_0x20c9aa=this[_0x4fab71(0x36c)],_0x4ac7a6=_0x20c9aa[_0x4fab71(0x300)],_0x239b54=_0x20c9aa[_0x4fab71(0x51a)],_0x216aa0=this['blockSize'],_0x576440=_0x216aa0*0x4,_0x1ae7c2=_0x239b54/_0x576440;_0x51ff21?_0x1ae7c2=_0x239719[_0x4fab71(0x478)](_0x1ae7c2):_0x1ae7c2=_0x239719[_0x4fab71(0x420)]((_0x1ae7c2|0x0)-this[_0x4fab71(0x4ff)],0x0);var _0x76b7c5=_0x1ae7c2*_0x216aa0,_0x45669b=_0x239719[_0x4fab71(0x254)](_0x76b7c5*0x4,_0x239b54);if(_0x76b7c5){for(var _0x3032d0=0x0;_0x3032d0<_0x76b7c5;_0x3032d0+=_0x216aa0)this[_0x4fab71(0x221)](_0x4ac7a6,_0x3032d0);_0x45b6c6=_0x4ac7a6['splice'](0x0,_0x76b7c5),_0x20c9aa[_0x4fab71(0x51a)]-=_0x45669b;}return new _0x2a3c85[(_0x4fab71(0x3d0))](_0x45b6c6,_0x45669b);},'clone':function(){var _0xcf988f=_0x49e853,_0x47569d=_0x1ea96f[_0xcf988f(0x4ca)][_0xcf988f(0x473)](this);return _0x47569d['_data']=this[_0xcf988f(0x36c)][_0xcf988f(0x4ca)](),_0x47569d;},'_minBufferSize':0x0});_0x378438[_0x49e853(0x297)]=_0x13dbe2[_0x49e853(0x36e)]({'cfg':_0x1ea96f[_0x49e853(0x36e)](),'init':function(_0x226af0){var _0x4df25d=_0x49e853;this[_0x4df25d(0x44e)]=this['cfg'][_0x4df25d(0x36e)](_0x226af0),this['reset']();},'reset':function(){var _0x1e33ac=_0x49e853;_0x13dbe2['reset']['call'](this),this[_0x1e33ac(0x1e2)]();},'update':function(_0x4a37be){var _0x4bca2d=_0x49e853;return this[_0x4bca2d(0x264)](_0x4a37be),this['_process'](),this;},'finalize':function(_0x2d3106){var _0x1939a3=_0x49e853;_0x2d3106&&this[_0x1939a3(0x264)](_0x2d3106);var _0x3a9e6a=this[_0x1939a3(0x3a6)]();return _0x3a9e6a;},'blockSize':0x10,'_createHelper':function(_0xe99bd2){return function(_0x18416c,_0x2a61f8){var _0x2cccc3=_0x4fbb;return new _0xe99bd2[(_0x2cccc3(0x3d0))](_0x2a61f8)['finalize'](_0x18416c);};},'_createHmacHelper':function(_0x3b7457){return function(_0x29e80d,_0x2780a3){var _0x9ec7ea=_0x4fbb;return new _0xd5bf6[(_0x9ec7ea(0x286))]['init'](_0x3b7457,_0x2780a3)[_0x9ec7ea(0x52e)](_0x29e80d);};}});var _0xd5bf6=_0x59811e[_0x49e853(0x400)]={};return _0x59811e;}(Math);return _0x344d1a;}));}(_0x480731)),_0x480731[_0x2f1fe3(0x1ae)];}var _0x302e1b={'exports':{}},_0x464ff9=_0x302e1b[_0x4b5896(0x1ae)],_0x35c727;function _0x99d294(){var _0x4ca6b3=_0x4b5896;return _0x35c727||(_0x35c727=0x1,function(_0x78c1d3,_0x3a404c){(function(_0x225095,_0x4836a0){_0x78c1d3['exports']=_0x4836a0(_0x38fba3());}(_0x464ff9,function(_0x439d67){var _0x5d1a61=_0x4fbb;return(function(){var _0x1478bd=_0x4fbb,_0x5c3bb5=_0x439d67,_0x1b22b2=_0x5c3bb5[_0x1478bd(0x1bd)],_0x208c29=_0x1b22b2[_0x1478bd(0x40d)],_0x4a1622=_0x5c3bb5[_0x1478bd(0x43d)];_0x4a1622[_0x1478bd(0x1f9)]={'stringify':function(_0x399a63){var _0x355a83=_0x1478bd,_0x569c2e=_0x399a63[_0x355a83(0x300)],_0x255a49=_0x399a63['sigBytes'],_0x40957d=this[_0x355a83(0x3d8)];_0x399a63['clamp']();for(var _0xcb0ca2=[],_0x21f335=0x0;_0x21f335<_0x255a49;_0x21f335+=0x3)for(var _0x4f01ff=_0x569c2e[_0x21f335>>>0x2]>>>0x18-_0x21f335%0x4*0x8&0xff,_0x3d054b=_0x569c2e[_0x21f335+0x1>>>0x2]>>>0x18-(_0x21f335+0x1)%0x4*0x8&0xff,_0x5a003f=_0x569c2e[_0x21f335+0x2>>>0x2]>>>0x18-(_0x21f335+0x2)%0x4*0x8&0xff,_0x1384a8=_0x4f01ff<<0x10|_0x3d054b<<0x8|_0x5a003f,_0x2e1451=0x0;_0x2e1451<0x4&&_0x21f335+_0x2e1451*0.75<_0x255a49;_0x2e1451++)_0xcb0ca2[_0x355a83(0x435)](_0x40957d[_0x355a83(0x469)](_0x1384a8>>>0x6*(0x3-_0x2e1451)&0x3f));var _0x43bb53=_0x40957d[_0x355a83(0x469)](0x40);if(_0x43bb53){for(;_0xcb0ca2[_0x355a83(0x31b)]%0x4;)_0xcb0ca2[_0x355a83(0x435)](_0x43bb53);}return _0xcb0ca2[_0x355a83(0x36d)]('');},'parse':function(_0x3690cd){var _0x1bc51c=_0x1478bd,_0x349201=_0x3690cd[_0x1bc51c(0x31b)],_0x3d08b2=this[_0x1bc51c(0x3d8)],_0x571a8d=this[_0x1bc51c(0x38c)];if(!_0x571a8d){_0x571a8d=this[_0x1bc51c(0x38c)]=[];for(var _0x5dc856=0x0;_0x5dc856<_0x3d08b2['length'];_0x5dc856++)_0x571a8d[_0x3d08b2[_0x1bc51c(0x322)](_0x5dc856)]=_0x5dc856;}var _0x2a143f=_0x3d08b2[_0x1bc51c(0x469)](0x40);if(_0x2a143f){var _0x509251=_0x3690cd['indexOf'](_0x2a143f);_0x509251!==-0x1&&(_0x349201=_0x509251);}return _0x47f06f(_0x3690cd,_0x349201,_0x571a8d);},'_map':_0x1478bd(0x3f9)};function _0x47f06f(_0xaf9cc,_0x29202e,_0xa5a225){var _0x4988db=_0x1478bd;for(var _0x10bf8a=[],_0x4f92ae=0x0,_0x4190c8=0x0;_0x4190c8<_0x29202e;_0x4190c8++)if(_0x4190c8%0x4){var _0x26d02e=_0xa5a225[_0xaf9cc[_0x4988db(0x322)](_0x4190c8-0x1)]<<_0x4190c8%0x4*0x2,_0x422b57=_0xa5a225[_0xaf9cc[_0x4988db(0x322)](_0x4190c8)]>>>0x6-_0x4190c8%0x4*0x2,_0x23d534=_0x26d02e|_0x422b57;_0x10bf8a[_0x4f92ae>>>0x2]|=_0x23d534<<0x18-_0x4f92ae%0x4*0x8,_0x4f92ae++;}return _0x208c29[_0x4988db(0x510)](_0x10bf8a,_0x4f92ae);}}()),_0x439d67['enc'][_0x5d1a61(0x1f9)];}));}(_0x302e1b)),_0x302e1b[_0x4ca6b3(0x1ae)];}var _0x549062={'exports':{}},_0x5b65f9=_0x549062[_0x4b5896(0x1ae)],_0x17e7ee;function _0x19a264(){var _0x5914b5=_0x4b5896;return _0x17e7ee||(_0x17e7ee=0x1,function(_0xae490f,_0x4b15cc){(function(_0x427332,_0x327653){var _0x3a0287=_0x4fbb;_0xae490f[_0x3a0287(0x1ae)]=_0x327653(_0x38fba3());}(_0x5b65f9,function(_0x2ea078){var _0x5add29=_0x4fbb;return function(_0x3e9763){var _0x486c3e=_0x4fbb,_0x46d33f=_0x2ea078,_0x32f3a0=_0x46d33f[_0x486c3e(0x1bd)],_0x4729ae=_0x32f3a0[_0x486c3e(0x40d)],_0x657289=_0x32f3a0[_0x486c3e(0x297)],_0xaf2db6=_0x46d33f[_0x486c3e(0x400)],_0x26595f=[];(function(){var _0x13530c=_0x486c3e;for(var _0x267b88=0x0;_0x267b88<0x40;_0x267b88++)_0x26595f[_0x267b88]=_0x3e9763[_0x13530c(0x319)](_0x3e9763[_0x13530c(0x4b3)](_0x267b88+0x1))*0x100000000|0x0;}());var _0x532ccf=_0xaf2db6[_0x486c3e(0x3e6)]=_0x657289[_0x486c3e(0x36e)]({'_doReset':function(){var _0x4a8584=_0x486c3e;this[_0x4a8584(0x345)]=new _0x4729ae['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3ba3d0,_0x1c414b){var _0x219805=_0x486c3e;for(var _0x5ca648=0x0;_0x5ca648<0x10;_0x5ca648++){var _0x851fe7=_0x1c414b+_0x5ca648,_0x81ce8e=_0x3ba3d0[_0x851fe7];_0x3ba3d0[_0x851fe7]=(_0x81ce8e<<0x8|_0x81ce8e>>>0x18)&0xff00ff|(_0x81ce8e<<0x18|_0x81ce8e>>>0x8)&0xff00ff00;}var _0x1a9a91=this['_hash'][_0x219805(0x300)],_0x5e0dc2=_0x3ba3d0[_0x1c414b+0x0],_0x1b474b=_0x3ba3d0[_0x1c414b+0x1],_0x53edf2=_0x3ba3d0[_0x1c414b+0x2],_0x588b50=_0x3ba3d0[_0x1c414b+0x3],_0x2d7d1c=_0x3ba3d0[_0x1c414b+0x4],_0x23f319=_0x3ba3d0[_0x1c414b+0x5],_0x97c47f=_0x3ba3d0[_0x1c414b+0x6],_0x39179a=_0x3ba3d0[_0x1c414b+0x7],_0x15ee23=_0x3ba3d0[_0x1c414b+0x8],_0x454c22=_0x3ba3d0[_0x1c414b+0x9],_0x117c5b=_0x3ba3d0[_0x1c414b+0xa],_0x3af12b=_0x3ba3d0[_0x1c414b+0xb],_0x20cad5=_0x3ba3d0[_0x1c414b+0xc],_0x1b66eb=_0x3ba3d0[_0x1c414b+0xd],_0x855a75=_0x3ba3d0[_0x1c414b+0xe],_0x187720=_0x3ba3d0[_0x1c414b+0xf],_0x8ac81c=_0x1a9a91[0x0],_0x41aea0=_0x1a9a91[0x1],_0x3363d4=_0x1a9a91[0x2],_0xeb0ddd=_0x1a9a91[0x3];_0x8ac81c=_0x510d1d(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x5e0dc2,0x7,_0x26595f[0x0]),_0xeb0ddd=_0x510d1d(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x1b474b,0xc,_0x26595f[0x1]),_0x3363d4=_0x510d1d(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x53edf2,0x11,_0x26595f[0x2]),_0x41aea0=_0x510d1d(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x588b50,0x16,_0x26595f[0x3]),_0x8ac81c=_0x510d1d(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x2d7d1c,0x7,_0x26595f[0x4]),_0xeb0ddd=_0x510d1d(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x23f319,0xc,_0x26595f[0x5]),_0x3363d4=_0x510d1d(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x97c47f,0x11,_0x26595f[0x6]),_0x41aea0=_0x510d1d(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x39179a,0x16,_0x26595f[0x7]),_0x8ac81c=_0x510d1d(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x15ee23,0x7,_0x26595f[0x8]),_0xeb0ddd=_0x510d1d(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x454c22,0xc,_0x26595f[0x9]),_0x3363d4=_0x510d1d(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x117c5b,0x11,_0x26595f[0xa]),_0x41aea0=_0x510d1d(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x3af12b,0x16,_0x26595f[0xb]),_0x8ac81c=_0x510d1d(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x20cad5,0x7,_0x26595f[0xc]),_0xeb0ddd=_0x510d1d(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x1b66eb,0xc,_0x26595f[0xd]),_0x3363d4=_0x510d1d(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x855a75,0x11,_0x26595f[0xe]),_0x41aea0=_0x510d1d(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x187720,0x16,_0x26595f[0xf]),_0x8ac81c=_0x57a3bb(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x1b474b,0x5,_0x26595f[0x10]),_0xeb0ddd=_0x57a3bb(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x97c47f,0x9,_0x26595f[0x11]),_0x3363d4=_0x57a3bb(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3af12b,0xe,_0x26595f[0x12]),_0x41aea0=_0x57a3bb(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x5e0dc2,0x14,_0x26595f[0x13]),_0x8ac81c=_0x57a3bb(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x23f319,0x5,_0x26595f[0x14]),_0xeb0ddd=_0x57a3bb(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x117c5b,0x9,_0x26595f[0x15]),_0x3363d4=_0x57a3bb(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x187720,0xe,_0x26595f[0x16]),_0x41aea0=_0x57a3bb(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x2d7d1c,0x14,_0x26595f[0x17]),_0x8ac81c=_0x57a3bb(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x454c22,0x5,_0x26595f[0x18]),_0xeb0ddd=_0x57a3bb(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x855a75,0x9,_0x26595f[0x19]),_0x3363d4=_0x57a3bb(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x588b50,0xe,_0x26595f[0x1a]),_0x41aea0=_0x57a3bb(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x15ee23,0x14,_0x26595f[0x1b]),_0x8ac81c=_0x57a3bb(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x1b66eb,0x5,_0x26595f[0x1c]),_0xeb0ddd=_0x57a3bb(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x53edf2,0x9,_0x26595f[0x1d]),_0x3363d4=_0x57a3bb(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x39179a,0xe,_0x26595f[0x1e]),_0x41aea0=_0x57a3bb(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x20cad5,0x14,_0x26595f[0x1f]),_0x8ac81c=_0x51e0ae(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x23f319,0x4,_0x26595f[0x20]),_0xeb0ddd=_0x51e0ae(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x15ee23,0xb,_0x26595f[0x21]),_0x3363d4=_0x51e0ae(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3af12b,0x10,_0x26595f[0x22]),_0x41aea0=_0x51e0ae(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x855a75,0x17,_0x26595f[0x23]),_0x8ac81c=_0x51e0ae(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x1b474b,0x4,_0x26595f[0x24]),_0xeb0ddd=_0x51e0ae(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x2d7d1c,0xb,_0x26595f[0x25]),_0x3363d4=_0x51e0ae(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x39179a,0x10,_0x26595f[0x26]),_0x41aea0=_0x51e0ae(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x117c5b,0x17,_0x26595f[0x27]),_0x8ac81c=_0x51e0ae(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x1b66eb,0x4,_0x26595f[0x28]),_0xeb0ddd=_0x51e0ae(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x5e0dc2,0xb,_0x26595f[0x29]),_0x3363d4=_0x51e0ae(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x588b50,0x10,_0x26595f[0x2a]),_0x41aea0=_0x51e0ae(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x97c47f,0x17,_0x26595f[0x2b]),_0x8ac81c=_0x51e0ae(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x454c22,0x4,_0x26595f[0x2c]),_0xeb0ddd=_0x51e0ae(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x20cad5,0xb,_0x26595f[0x2d]),_0x3363d4=_0x51e0ae(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x187720,0x10,_0x26595f[0x2e]),_0x41aea0=_0x51e0ae(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x53edf2,0x17,_0x26595f[0x2f]),_0x8ac81c=_0x3b8741(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x5e0dc2,0x6,_0x26595f[0x30]),_0xeb0ddd=_0x3b8741(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x39179a,0xa,_0x26595f[0x31]),_0x3363d4=_0x3b8741(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x855a75,0xf,_0x26595f[0x32]),_0x41aea0=_0x3b8741(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x23f319,0x15,_0x26595f[0x33]),_0x8ac81c=_0x3b8741(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x20cad5,0x6,_0x26595f[0x34]),_0xeb0ddd=_0x3b8741(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x588b50,0xa,_0x26595f[0x35]),_0x3363d4=_0x3b8741(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x117c5b,0xf,_0x26595f[0x36]),_0x41aea0=_0x3b8741(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x1b474b,0x15,_0x26595f[0x37]),_0x8ac81c=_0x3b8741(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x15ee23,0x6,_0x26595f[0x38]),_0xeb0ddd=_0x3b8741(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x187720,0xa,_0x26595f[0x39]),_0x3363d4=_0x3b8741(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x97c47f,0xf,_0x26595f[0x3a]),_0x41aea0=_0x3b8741(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x1b66eb,0x15,_0x26595f[0x3b]),_0x8ac81c=_0x3b8741(_0x8ac81c,_0x41aea0,_0x3363d4,_0xeb0ddd,_0x2d7d1c,0x6,_0x26595f[0x3c]),_0xeb0ddd=_0x3b8741(_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x3363d4,_0x3af12b,0xa,_0x26595f[0x3d]),_0x3363d4=_0x3b8741(_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x41aea0,_0x53edf2,0xf,_0x26595f[0x3e]),_0x41aea0=_0x3b8741(_0x41aea0,_0x3363d4,_0xeb0ddd,_0x8ac81c,_0x454c22,0x15,_0x26595f[0x3f]),_0x1a9a91[0x0]=_0x1a9a91[0x0]+_0x8ac81c|0x0,_0x1a9a91[0x1]=_0x1a9a91[0x1]+_0x41aea0|0x0,_0x1a9a91[0x2]=_0x1a9a91[0x2]+_0x3363d4|0x0,_0x1a9a91[0x3]=_0x1a9a91[0x3]+_0xeb0ddd|0x0;},'_doFinalize':function(){var _0x127069=_0x486c3e,_0x948548=this[_0x127069(0x36c)],_0x1ad3d7=_0x948548[_0x127069(0x300)],_0x1fb2fe=this[_0x127069(0x35e)]*0x8,_0x1dcde2=_0x948548[_0x127069(0x51a)]*0x8;_0x1ad3d7[_0x1dcde2>>>0x5]|=0x80<<0x18-_0x1dcde2%0x20;var _0x3322b4=_0x3e9763[_0x127069(0x316)](_0x1fb2fe/0x100000000),_0x4c6572=_0x1fb2fe;_0x1ad3d7[(_0x1dcde2+0x40>>>0x9<<0x4)+0xf]=(_0x3322b4<<0x8|_0x3322b4>>>0x18)&0xff00ff|(_0x3322b4<<0x18|_0x3322b4>>>0x8)&0xff00ff00,_0x1ad3d7[(_0x1dcde2+0x40>>>0x9<<0x4)+0xe]=(_0x4c6572<<0x8|_0x4c6572>>>0x18)&0xff00ff|(_0x4c6572<<0x18|_0x4c6572>>>0x8)&0xff00ff00,_0x948548[_0x127069(0x51a)]=(_0x1ad3d7[_0x127069(0x31b)]+0x1)*0x4,this[_0x127069(0x40a)]();for(var _0x445011=this[_0x127069(0x345)],_0x423992=_0x445011[_0x127069(0x300)],_0x30d3cd=0x0;_0x30d3cd<0x4;_0x30d3cd++){var _0x49bc34=_0x423992[_0x30d3cd];_0x423992[_0x30d3cd]=(_0x49bc34<<0x8|_0x49bc34>>>0x18)&0xff00ff|(_0x49bc34<<0x18|_0x49bc34>>>0x8)&0xff00ff00;}return _0x445011;},'clone':function(){var _0x460ed1=_0x486c3e,_0x54b2d4=_0x657289[_0x460ed1(0x4ca)][_0x460ed1(0x473)](this);return _0x54b2d4[_0x460ed1(0x345)]=this['_hash'][_0x460ed1(0x4ca)](),_0x54b2d4;}});function _0x510d1d(_0x766784,_0x892d7c,_0x4b8d1d,_0x19d739,_0x29b737,_0x572539,_0x22276a){var _0x2f4d3b=_0x766784+(_0x892d7c&_0x4b8d1d|~_0x892d7c&_0x19d739)+_0x29b737+_0x22276a;return(_0x2f4d3b<<_0x572539|_0x2f4d3b>>>0x20-_0x572539)+_0x892d7c;}function _0x57a3bb(_0x505b47,_0x35fb0d,_0x30adb2,_0x5c1e79,_0x38c513,_0x8186bd,_0x4ee4a7){var _0x436de1=_0x505b47+(_0x35fb0d&_0x5c1e79|_0x30adb2&~_0x5c1e79)+_0x38c513+_0x4ee4a7;return(_0x436de1<<_0x8186bd|_0x436de1>>>0x20-_0x8186bd)+_0x35fb0d;}function _0x51e0ae(_0x514def,_0x4cb9fe,_0x437763,_0x3124d3,_0x59a88c,_0x22818b,_0x120081){var _0x1e40fe=_0x514def+(_0x4cb9fe^_0x437763^_0x3124d3)+_0x59a88c+_0x120081;return(_0x1e40fe<<_0x22818b|_0x1e40fe>>>0x20-_0x22818b)+_0x4cb9fe;}function _0x3b8741(_0x5c3729,_0x1ce09a,_0x8c5256,_0x8c8f8b,_0x14a7a4,_0x383cb7,_0x1418e2){var _0x33ac0b=_0x5c3729+(_0x8c5256^(_0x1ce09a|~_0x8c8f8b))+_0x14a7a4+_0x1418e2;return(_0x33ac0b<<_0x383cb7|_0x33ac0b>>>0x20-_0x383cb7)+_0x1ce09a;}_0x46d33f[_0x486c3e(0x3e6)]=_0x657289['_createHelper'](_0x532ccf),_0x46d33f['HmacMD5']=_0x657289['_createHmacHelper'](_0x532ccf);}(Math),_0x2ea078[_0x5add29(0x3e6)];}));}(_0x549062)),_0x549062[_0x5914b5(0x1ae)];}var _0x26b522={'exports':{}},_0x1adea8={'exports':{}},_0x3bdf00=_0x1adea8[_0x4b5896(0x1ae)],_0x36a916;function _0x5e3490(){var _0xee84fa=_0x4b5896;return _0x36a916||(_0x36a916=0x1,function(_0x4fc7b0,_0x3c8308){(function(_0x237d17,_0x3a23a9){var _0x3b44a1=_0x4fbb;_0x4fc7b0[_0x3b44a1(0x1ae)]=_0x3a23a9(_0x38fba3());}(_0x3bdf00,function(_0x465fa4){var _0x5f1ad9=_0x4fbb;return(function(){var _0xe0a153=_0x4fbb,_0x3212fb=_0x465fa4,_0x4b799a=_0x3212fb['lib'],_0x3e79d6=_0x4b799a[_0xe0a153(0x40d)],_0xa4035f=_0x4b799a['Hasher'],_0x387756=_0x3212fb[_0xe0a153(0x400)],_0x43e2df=[],_0x12139c=_0x387756[_0xe0a153(0x4ac)]=_0xa4035f[_0xe0a153(0x36e)]({'_doReset':function(){var _0x4e09ff=_0xe0a153;this[_0x4e09ff(0x345)]=new _0x3e79d6[(_0x4e09ff(0x3d0))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x36aa72,_0x2eb3fd){var _0x385107=_0xe0a153;for(var _0x1cf72d=this['_hash'][_0x385107(0x300)],_0x318242=_0x1cf72d[0x0],_0x559fdd=_0x1cf72d[0x1],_0x10309c=_0x1cf72d[0x2],_0x199be3=_0x1cf72d[0x3],_0x5ba475=_0x1cf72d[0x4],_0x1ebb72=0x0;_0x1ebb72<0x50;_0x1ebb72++){if(_0x1ebb72<0x10)_0x43e2df[_0x1ebb72]=_0x36aa72[_0x2eb3fd+_0x1ebb72]|0x0;else{var _0xfaea05=_0x43e2df[_0x1ebb72-0x3]^_0x43e2df[_0x1ebb72-0x8]^_0x43e2df[_0x1ebb72-0xe]^_0x43e2df[_0x1ebb72-0x10];_0x43e2df[_0x1ebb72]=_0xfaea05<<0x1|_0xfaea05>>>0x1f;}var _0x560a71=(_0x318242<<0x5|_0x318242>>>0x1b)+_0x5ba475+_0x43e2df[_0x1ebb72];_0x1ebb72<0x14?_0x560a71+=(_0x559fdd&_0x10309c|~_0x559fdd&_0x199be3)+0x5a827999:_0x1ebb72<0x28?_0x560a71+=(_0x559fdd^_0x10309c^_0x199be3)+0x6ed9eba1:_0x1ebb72<0x3c?_0x560a71+=(_0x559fdd&_0x10309c|_0x559fdd&_0x199be3|_0x10309c&_0x199be3)-0x70e44324:_0x560a71+=(_0x559fdd^_0x10309c^_0x199be3)-0x359d3e2a,_0x5ba475=_0x199be3,_0x199be3=_0x10309c,_0x10309c=_0x559fdd<<0x1e|_0x559fdd>>>0x2,_0x559fdd=_0x318242,_0x318242=_0x560a71;}_0x1cf72d[0x0]=_0x1cf72d[0x0]+_0x318242|0x0,_0x1cf72d[0x1]=_0x1cf72d[0x1]+_0x559fdd|0x0,_0x1cf72d[0x2]=_0x1cf72d[0x2]+_0x10309c|0x0,_0x1cf72d[0x3]=_0x1cf72d[0x3]+_0x199be3|0x0,_0x1cf72d[0x4]=_0x1cf72d[0x4]+_0x5ba475|0x0;},'_doFinalize':function(){var _0x46ff84=_0xe0a153,_0x112dff=this[_0x46ff84(0x36c)],_0x3aeb65=_0x112dff[_0x46ff84(0x300)],_0x4c99ea=this['_nDataBytes']*0x8,_0x561c1=_0x112dff[_0x46ff84(0x51a)]*0x8;return _0x3aeb65[_0x561c1>>>0x5]|=0x80<<0x18-_0x561c1%0x20,_0x3aeb65[(_0x561c1+0x40>>>0x9<<0x4)+0xe]=Math[_0x46ff84(0x316)](_0x4c99ea/0x100000000),_0x3aeb65[(_0x561c1+0x40>>>0x9<<0x4)+0xf]=_0x4c99ea,_0x112dff[_0x46ff84(0x51a)]=_0x3aeb65[_0x46ff84(0x31b)]*0x4,this[_0x46ff84(0x40a)](),this[_0x46ff84(0x345)];},'clone':function(){var _0x3e8bb1=_0xe0a153,_0x41c6b3=_0xa4035f[_0x3e8bb1(0x4ca)][_0x3e8bb1(0x473)](this);return _0x41c6b3[_0x3e8bb1(0x345)]=this['_hash']['clone'](),_0x41c6b3;}});_0x3212fb['SHA1']=_0xa4035f['_createHelper'](_0x12139c),_0x3212fb[_0xe0a153(0x2b1)]=_0xa4035f[_0xe0a153(0x1e9)](_0x12139c);}()),_0x465fa4[_0x5f1ad9(0x4ac)];}));}(_0x1adea8)),_0x1adea8[_0xee84fa(0x1ae)];}var _0x3f5094={'exports':{}},_0x53e7aa=_0x3f5094[_0x4b5896(0x1ae)],_0x391259;function _0x596a28(){return _0x391259||(_0x391259=0x1,function(_0x1ebbb8,_0x52cdd7){(function(_0x9124ee,_0x25e4e3){_0x1ebbb8['exports']=_0x25e4e3(_0x38fba3());}(_0x53e7aa,function(_0x586df4){(function(){var _0x47d1eb=_0x4fbb,_0x465740=_0x586df4,_0x14d513=_0x465740[_0x47d1eb(0x1bd)],_0x29980b=_0x14d513[_0x47d1eb(0x3de)],_0x47ba35=_0x465740[_0x47d1eb(0x43d)],_0xf2a0d7=_0x47ba35[_0x47d1eb(0x205)],_0x1e2179=_0x465740[_0x47d1eb(0x400)];_0x1e2179[_0x47d1eb(0x286)]=_0x29980b['extend']({'init':function(_0x47ae9c,_0x2e946a){var _0xff3d9a=_0x47d1eb;_0x47ae9c=this[_0xff3d9a(0x517)]=new _0x47ae9c[(_0xff3d9a(0x3d0))](),typeof _0x2e946a=='string'&&(_0x2e946a=_0xf2a0d7[_0xff3d9a(0x1fc)](_0x2e946a));var _0x5f5682=_0x47ae9c['blockSize'],_0x20e3b9=_0x5f5682*0x4;_0x2e946a[_0xff3d9a(0x51a)]>_0x20e3b9&&(_0x2e946a=_0x47ae9c[_0xff3d9a(0x52e)](_0x2e946a)),_0x2e946a[_0xff3d9a(0x1e3)]();for(var _0x345ad2=this[_0xff3d9a(0x386)]=_0x2e946a[_0xff3d9a(0x4ca)](),_0x51b60f=this['_iKey']=_0x2e946a[_0xff3d9a(0x4ca)](),_0x5f3108=_0x345ad2['words'],_0x4f5313=_0x51b60f['words'],_0x38adee=0x0;_0x38adee<_0x5f5682;_0x38adee++)_0x5f3108[_0x38adee]^=0x5c5c5c5c,_0x4f5313[_0x38adee]^=0x36363636;_0x345ad2[_0xff3d9a(0x51a)]=_0x51b60f[_0xff3d9a(0x51a)]=_0x20e3b9,this['reset']();},'reset':function(){var _0x58cd39=_0x47d1eb,_0x25e27f=this[_0x58cd39(0x517)];_0x25e27f[_0x58cd39(0x1d3)](),_0x25e27f['update'](this[_0x58cd39(0x1fe)]);},'update':function(_0x3b8b9e){var _0x3ec187=_0x47d1eb;return this[_0x3ec187(0x517)][_0x3ec187(0x255)](_0x3b8b9e),this;},'finalize':function(_0x27346c){var _0x13050b=_0x47d1eb,_0x58fd55=this[_0x13050b(0x517)],_0x190300=_0x58fd55[_0x13050b(0x52e)](_0x27346c);_0x58fd55[_0x13050b(0x1d3)]();var _0x4e1498=_0x58fd55[_0x13050b(0x52e)](this[_0x13050b(0x386)][_0x13050b(0x4ca)]()['concat'](_0x190300));return _0x4e1498;}});}());}));}(_0x3f5094)),_0x3f5094['exports'];}var _0x404226=_0x26b522[_0x4b5896(0x1ae)],_0x293044;function _0x5a3281(){var _0x97795c=_0x4b5896;return _0x293044||(_0x293044=0x1,function(_0x127c7a,_0x7056c9){(function(_0x22120c,_0x31cc7f,_0x529c45){_0x127c7a['exports']=_0x31cc7f(_0x38fba3(),_0x5e3490(),_0x596a28());}(_0x404226,function(_0x590e07){return(function(){var _0x466281=_0x4fbb,_0x518610=_0x590e07,_0x537d62=_0x518610[_0x466281(0x1bd)],_0x31e1c9=_0x537d62['Base'],_0x1fa5f5=_0x537d62[_0x466281(0x40d)],_0x5ef395=_0x518610[_0x466281(0x400)],_0x26cb00=_0x5ef395[_0x466281(0x3e6)],_0x2a49f6=_0x5ef395[_0x466281(0x3c3)]=_0x31e1c9[_0x466281(0x36e)]({'cfg':_0x31e1c9[_0x466281(0x36e)]({'keySize':0x80/0x20,'hasher':_0x26cb00,'iterations':0x1}),'init':function(_0x452070){var _0x44e8f6=_0x466281;this[_0x44e8f6(0x44e)]=this[_0x44e8f6(0x44e)][_0x44e8f6(0x36e)](_0x452070);},'compute':function(_0x1eb73a,_0x3ace8d){var _0x1960df=_0x466281;for(var _0x2a1972,_0x91dd3f=this[_0x1960df(0x44e)],_0x2fa493=_0x91dd3f[_0x1960df(0x3b2)][_0x1960df(0x510)](),_0x24d8ef=_0x1fa5f5[_0x1960df(0x510)](),_0x1be2fd=_0x24d8ef['words'],_0x5b9432=_0x91dd3f[_0x1960df(0x289)],_0xbf4597=_0x91dd3f[_0x1960df(0x2c3)];_0x1be2fd[_0x1960df(0x31b)]<_0x5b9432;){_0x2a1972&&_0x2fa493[_0x1960df(0x255)](_0x2a1972),_0x2a1972=_0x2fa493['update'](_0x1eb73a)[_0x1960df(0x52e)](_0x3ace8d),_0x2fa493['reset']();for(var _0x1cfcea=0x1;_0x1cfcea<_0xbf4597;_0x1cfcea++)_0x2a1972=_0x2fa493[_0x1960df(0x52e)](_0x2a1972),_0x2fa493[_0x1960df(0x1d3)]();_0x24d8ef[_0x1960df(0x22e)](_0x2a1972);}return _0x24d8ef[_0x1960df(0x51a)]=_0x5b9432*0x4,_0x24d8ef;}});_0x518610[_0x466281(0x3c3)]=function(_0x6db823,_0x19fa06,_0x42dae0){var _0xfe508f=_0x466281;return _0x2a49f6[_0xfe508f(0x510)](_0x42dae0)[_0xfe508f(0x241)](_0x6db823,_0x19fa06);};}()),_0x590e07['EvpKDF'];}));}(_0x26b522)),_0x26b522[_0x97795c(0x1ae)];}var _0x13b13e={'exports':{}},_0x230e6a=_0x13b13e[_0x4b5896(0x1ae)],_0x5beb46;function _0x47499a(){var _0x2f2628=_0x4b5896;return _0x5beb46||(_0x5beb46=0x1,function(_0x2c2fa6,_0x43cfdd){(function(_0x32db8b,_0x3618c4,_0x4b25d1){var _0x80a66=_0x4fbb;_0x2c2fa6[_0x80a66(0x1ae)]=_0x3618c4(_0x38fba3(),_0x5a3281());}(_0x230e6a,function(_0xd55bc3){var _0x573197=_0x4fbb;_0xd55bc3[_0x573197(0x1bd)][_0x573197(0x393)]||function(_0x227302){var _0x199320=_0x573197,_0xa3bc84=_0xd55bc3,_0x2cb148=_0xa3bc84['lib'],_0x1067dd=_0x2cb148[_0x199320(0x3de)],_0x55ee8f=_0x2cb148[_0x199320(0x40d)],_0x1b5554=_0x2cb148[_0x199320(0x2c1)],_0x437044=_0xa3bc84[_0x199320(0x43d)];_0x437044[_0x199320(0x205)];var _0x8ae4bc=_0x437044[_0x199320(0x1f9)],_0x5dedb6=_0xa3bc84['algo'],_0x53f37a=_0x5dedb6[_0x199320(0x3c3)],_0xe545dd=_0x2cb148['Cipher']=_0x1b5554[_0x199320(0x36e)]({'cfg':_0x1067dd['extend'](),'createEncryptor':function(_0x216b08,_0xe0e5d4){var _0x1d9f2c=_0x199320;return this[_0x1d9f2c(0x510)](this['_ENC_XFORM_MODE'],_0x216b08,_0xe0e5d4);},'createDecryptor':function(_0x3cc0a2,_0x132e40){var _0x4a64df=_0x199320;return this['create'](this[_0x4a64df(0x3d1)],_0x3cc0a2,_0x132e40);},'init':function(_0x5c94dc,_0x170953,_0x15e943){var _0x2ef726=_0x199320;this[_0x2ef726(0x44e)]=this['cfg'][_0x2ef726(0x36e)](_0x15e943),this[_0x2ef726(0x375)]=_0x5c94dc,this[_0x2ef726(0x280)]=_0x170953,this[_0x2ef726(0x1d3)]();},'reset':function(){var _0x23e1ce=_0x199320;_0x1b5554[_0x23e1ce(0x1d3)][_0x23e1ce(0x473)](this),this[_0x23e1ce(0x1e2)]();},'process':function(_0x27a0d5){var _0x34c3e=_0x199320;return this[_0x34c3e(0x264)](_0x27a0d5),this[_0x34c3e(0x40a)]();},'finalize':function(_0x48193e){var _0x9dc075=_0x199320;_0x48193e&&this[_0x9dc075(0x264)](_0x48193e);var _0x4b9b05=this[_0x9dc075(0x3a6)]();return _0x4b9b05;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x18ebe2(_0x7e4eb1){var _0x4f5479=_0x4fbb;return typeof _0x7e4eb1==_0x4f5479(0x53e)?_0x42d28e:_0x2767ae;}return function(_0x37c3a8){return{'encrypt':function(_0x5a60e7,_0x3bb9a3,_0x417da1){var _0x24097f=_0x4fbb;return _0x18ebe2(_0x3bb9a3)[_0x24097f(0x327)](_0x37c3a8,_0x5a60e7,_0x3bb9a3,_0x417da1);},'decrypt':function(_0x8a4e7c,_0x1f0fec,_0x4289f2){var _0x3552d8=_0x4fbb;return _0x18ebe2(_0x1f0fec)[_0x3552d8(0x480)](_0x37c3a8,_0x8a4e7c,_0x1f0fec,_0x4289f2);}};};}())});_0x2cb148[_0x199320(0x39e)]=_0xe545dd['extend']({'_doFinalize':function(){var _0x1159d0=this['_process'](!0x0);return _0x1159d0;},'blockSize':0x1});var _0x53d2ac=_0xa3bc84['mode']={},_0x1535f4=_0x2cb148['BlockCipherMode']=_0x1067dd['extend']({'createEncryptor':function(_0x2ef7bc,_0x55f701){var _0xeea36c=_0x199320;return this[_0xeea36c(0x1f0)][_0xeea36c(0x510)](_0x2ef7bc,_0x55f701);},'createDecryptor':function(_0x788757,_0x352cd2){var _0x430dbc=_0x199320;return this[_0x430dbc(0x3ef)]['create'](_0x788757,_0x352cd2);},'init':function(_0x5058ce,_0x2e5697){var _0xf02d1a=_0x199320;this[_0xf02d1a(0x357)]=_0x5058ce,this[_0xf02d1a(0x2ce)]=_0x2e5697;}}),_0x7117ec=_0x53d2ac[_0x199320(0x3dc)]=(function(){var _0x4bb3fd=_0x199320,_0x40a258=_0x1535f4[_0x4bb3fd(0x36e)]();_0x40a258[_0x4bb3fd(0x1f0)]=_0x40a258[_0x4bb3fd(0x36e)]({'processBlock':function(_0x5b40b9,_0x461f92){var _0x352655=_0x4bb3fd,_0x42680d=this[_0x352655(0x357)],_0x1b8f58=_0x42680d['blockSize'];_0x59fd97['call'](this,_0x5b40b9,_0x461f92,_0x1b8f58),_0x42680d[_0x352655(0x4cb)](_0x5b40b9,_0x461f92),this['_prevBlock']=_0x5b40b9[_0x352655(0x326)](_0x461f92,_0x461f92+_0x1b8f58);}}),_0x40a258[_0x4bb3fd(0x3ef)]=_0x40a258['extend']({'processBlock':function(_0x1b8b01,_0x4409d9){var _0x59a20d=_0x4bb3fd,_0x33ceff=this[_0x59a20d(0x357)],_0x47febd=_0x33ceff['blockSize'],_0x57527b=_0x1b8b01[_0x59a20d(0x326)](_0x4409d9,_0x4409d9+_0x47febd);_0x33ceff[_0x59a20d(0x2b7)](_0x1b8b01,_0x4409d9),_0x59fd97[_0x59a20d(0x473)](this,_0x1b8b01,_0x4409d9,_0x47febd),this[_0x59a20d(0x4c7)]=_0x57527b;}});function _0x59fd97(_0x124c3c,_0x50fcce,_0x2afc92){var _0x5618b2=_0x4bb3fd,_0x1faf9d,_0x298ea1=this['_iv'];_0x298ea1?(_0x1faf9d=_0x298ea1,this[_0x5618b2(0x2ce)]=_0x227302):_0x1faf9d=this[_0x5618b2(0x4c7)];for(var _0x1bd21b=0x0;_0x1bd21b<_0x2afc92;_0x1bd21b++)_0x124c3c[_0x50fcce+_0x1bd21b]^=_0x1faf9d[_0x1bd21b];}return _0x40a258;}()),_0xbdc60a=_0xa3bc84['pad']={},_0x2c6c55=_0xbdc60a['Pkcs7']={'pad':function(_0x363a9b,_0x301938){var _0x22cd58=_0x199320;for(var _0xcd473b=_0x301938*0x4,_0xdb3637=_0xcd473b-_0x363a9b[_0x22cd58(0x51a)]%_0xcd473b,_0x315104=_0xdb3637<<0x18|_0xdb3637<<0x10|_0xdb3637<<0x8|_0xdb3637,_0x3e1c08=[],_0x431619=0x0;_0x431619<_0xdb3637;_0x431619+=0x4)_0x3e1c08[_0x22cd58(0x435)](_0x315104);var _0x2759d2=_0x55ee8f[_0x22cd58(0x510)](_0x3e1c08,_0xdb3637);_0x363a9b[_0x22cd58(0x22e)](_0x2759d2);},'unpad':function(_0x52fd20){var _0x3ad2bb=_0x199320,_0x4e2d68=_0x52fd20[_0x3ad2bb(0x300)][_0x52fd20[_0x3ad2bb(0x51a)]-0x1>>>0x2]&0xff;_0x52fd20['sigBytes']-=_0x4e2d68;}};_0x2cb148[_0x199320(0x4bc)]=_0xe545dd['extend']({'cfg':_0xe545dd['cfg'][_0x199320(0x36e)]({'mode':_0x7117ec,'padding':_0x2c6c55}),'reset':function(){var _0x14e26d=_0x199320,_0x3d7b10;_0xe545dd[_0x14e26d(0x1d3)][_0x14e26d(0x473)](this);var _0x4b5055=this['cfg'],_0x185543=_0x4b5055['iv'],_0x203b26=_0x4b5055[_0x14e26d(0x1e1)];this['_xformMode']==this[_0x14e26d(0x27f)]?_0x3d7b10=_0x203b26[_0x14e26d(0x340)]:(_0x3d7b10=_0x203b26[_0x14e26d(0x1d5)],this[_0x14e26d(0x4ff)]=0x1),this[_0x14e26d(0x3aa)]&&this['_mode'][_0x14e26d(0x288)]==_0x3d7b10?this[_0x14e26d(0x3aa)][_0x14e26d(0x3d0)](this,_0x185543&&_0x185543[_0x14e26d(0x300)]):(this[_0x14e26d(0x3aa)]=_0x3d7b10['call'](_0x203b26,this,_0x185543&&_0x185543[_0x14e26d(0x300)]),this[_0x14e26d(0x3aa)]['__creator']=_0x3d7b10);},'_doProcessBlock':function(_0x15444f,_0x3c9922){var _0xc50733=_0x199320;this[_0xc50733(0x3aa)][_0xc50733(0x45d)](_0x15444f,_0x3c9922);},'_doFinalize':function(){var _0x39f14a=_0x199320,_0x20a324,_0x3b38ec=this[_0x39f14a(0x44e)]['padding'];return this['_xformMode']==this[_0x39f14a(0x27f)]?(_0x3b38ec['pad'](this[_0x39f14a(0x36c)],this[_0x39f14a(0x282)]),_0x20a324=this[_0x39f14a(0x40a)](!0x0)):(_0x20a324=this[_0x39f14a(0x40a)](!0x0),_0x3b38ec[_0x39f14a(0x20d)](_0x20a324)),_0x20a324;},'blockSize':0x80/0x20});var _0x36e4de=_0x2cb148['CipherParams']=_0x1067dd[_0x199320(0x36e)]({'init':function(_0x5890f7){var _0x4860d3=_0x199320;this[_0x4860d3(0x369)](_0x5890f7);},'toString':function(_0x280eec){var _0x462688=_0x199320;return(_0x280eec||this['formatter'])[_0x462688(0x1d0)](this);}}),_0x1287c5=_0xa3bc84['format']={},_0x58abda=_0x1287c5[_0x199320(0x48f)]={'stringify':function(_0x361891){var _0x34aaca=_0x199320,_0x581a74,_0x25c25e=_0x361891[_0x34aaca(0x2fa)],_0x384037=_0x361891[_0x34aaca(0x219)];return _0x384037?_0x581a74=_0x55ee8f[_0x34aaca(0x510)]([0x53616c74,0x65645f5f])[_0x34aaca(0x22e)](_0x384037)['concat'](_0x25c25e):_0x581a74=_0x25c25e,_0x581a74[_0x34aaca(0x46c)](_0x8ae4bc);},'parse':function(_0x5e7de7){var _0x9926ac=_0x199320,_0x3c2add,_0x504e46=_0x8ae4bc[_0x9926ac(0x1fc)](_0x5e7de7),_0x3b541f=_0x504e46[_0x9926ac(0x300)];return _0x3b541f[0x0]==0x53616c74&&_0x3b541f[0x1]==0x65645f5f&&(_0x3c2add=_0x55ee8f[_0x9926ac(0x510)](_0x3b541f[_0x9926ac(0x326)](0x2,0x4)),_0x3b541f[_0x9926ac(0x1d6)](0x0,0x4),_0x504e46[_0x9926ac(0x51a)]-=0x10),_0x36e4de[_0x9926ac(0x510)]({'ciphertext':_0x504e46,'salt':_0x3c2add});}},_0x2767ae=_0x2cb148['SerializableCipher']=_0x1067dd[_0x199320(0x36e)]({'cfg':_0x1067dd[_0x199320(0x36e)]({'format':_0x58abda}),'encrypt':function(_0x5d09b3,_0x28e8ac,_0x52ae96,_0x44f00d){var _0xa1b9d1=_0x199320;_0x44f00d=this[_0xa1b9d1(0x44e)][_0xa1b9d1(0x36e)](_0x44f00d);var _0x2ab39b=_0x5d09b3[_0xa1b9d1(0x340)](_0x52ae96,_0x44f00d),_0x48451d=_0x2ab39b[_0xa1b9d1(0x52e)](_0x28e8ac),_0x57d263=_0x2ab39b[_0xa1b9d1(0x44e)];return _0x36e4de[_0xa1b9d1(0x510)]({'ciphertext':_0x48451d,'key':_0x52ae96,'iv':_0x57d263['iv'],'algorithm':_0x5d09b3,'mode':_0x57d263[_0xa1b9d1(0x1e1)],'padding':_0x57d263[_0xa1b9d1(0x325)],'blockSize':_0x5d09b3['blockSize'],'formatter':_0x44f00d[_0xa1b9d1(0x38d)]});},'decrypt':function(_0x28fe50,_0x382c2c,_0x5ed581,_0x4f9c90){var _0xd74147=_0x199320;_0x4f9c90=this['cfg'][_0xd74147(0x36e)](_0x4f9c90),_0x382c2c=this['_parse'](_0x382c2c,_0x4f9c90[_0xd74147(0x38d)]);var _0x672cd1=_0x28fe50[_0xd74147(0x1d5)](_0x5ed581,_0x4f9c90)[_0xd74147(0x52e)](_0x382c2c[_0xd74147(0x2fa)]);return _0x672cd1;},'_parse':function(_0x2c266f,_0x39546c){var _0x3c8c8f=_0x199320;return typeof _0x2c266f=='string'?_0x39546c[_0x3c8c8f(0x1fc)](_0x2c266f,this):_0x2c266f;}}),_0x3b29d3=_0xa3bc84[_0x199320(0x2d0)]={},_0x6fa1a8=_0x3b29d3['OpenSSL']={'execute':function(_0x4f0e02,_0x11a77e,_0x5e9d6c,_0x32b1bd,_0x550767){var _0x2b83e8=_0x199320;if(_0x32b1bd||(_0x32b1bd=_0x55ee8f['random'](0x40/0x8)),_0x550767)var _0x4235f7=_0x53f37a[_0x2b83e8(0x510)]({'keySize':_0x11a77e+_0x5e9d6c,'hasher':_0x550767})['compute'](_0x4f0e02,_0x32b1bd);else var _0x4235f7=_0x53f37a[_0x2b83e8(0x510)]({'keySize':_0x11a77e+_0x5e9d6c})['compute'](_0x4f0e02,_0x32b1bd);var _0x1b0cce=_0x55ee8f[_0x2b83e8(0x510)](_0x4235f7[_0x2b83e8(0x300)][_0x2b83e8(0x326)](_0x11a77e),_0x5e9d6c*0x4);return _0x4235f7['sigBytes']=_0x11a77e*0x4,_0x36e4de['create']({'key':_0x4235f7,'iv':_0x1b0cce,'salt':_0x32b1bd});}},_0x42d28e=_0x2cb148['PasswordBasedCipher']=_0x2767ae[_0x199320(0x36e)]({'cfg':_0x2767ae['cfg']['extend']({'kdf':_0x6fa1a8}),'encrypt':function(_0x1df1ba,_0x395161,_0x33804c,_0x24ce4b){var _0x1414ef=_0x199320;_0x24ce4b=this[_0x1414ef(0x44e)][_0x1414ef(0x36e)](_0x24ce4b);var _0x4a2b1e=_0x24ce4b[_0x1414ef(0x2d0)][_0x1414ef(0x2cf)](_0x33804c,_0x1df1ba[_0x1414ef(0x289)],_0x1df1ba[_0x1414ef(0x292)],_0x24ce4b['salt'],_0x24ce4b[_0x1414ef(0x3b2)]);_0x24ce4b['iv']=_0x4a2b1e['iv'];var _0x745b53=_0x2767ae[_0x1414ef(0x327)][_0x1414ef(0x473)](this,_0x1df1ba,_0x395161,_0x4a2b1e['key'],_0x24ce4b);return _0x745b53[_0x1414ef(0x369)](_0x4a2b1e),_0x745b53;},'decrypt':function(_0x788258,_0x4ef522,_0x258b34,_0x4d73ca){var _0x41bd67=_0x199320;_0x4d73ca=this[_0x41bd67(0x44e)]['extend'](_0x4d73ca),_0x4ef522=this[_0x41bd67(0x29f)](_0x4ef522,_0x4d73ca['format']);var _0x1e53c4=_0x4d73ca[_0x41bd67(0x2d0)][_0x41bd67(0x2cf)](_0x258b34,_0x788258[_0x41bd67(0x289)],_0x788258['ivSize'],_0x4ef522[_0x41bd67(0x219)],_0x4d73ca[_0x41bd67(0x3b2)]);_0x4d73ca['iv']=_0x1e53c4['iv'];var _0x181bc3=_0x2767ae[_0x41bd67(0x480)][_0x41bd67(0x473)](this,_0x788258,_0x4ef522,_0x1e53c4[_0x41bd67(0x3ff)],_0x4d73ca);return _0x181bc3;}});}();}));}(_0x13b13e)),_0x13b13e[_0x2f2628(0x1ae)];}var _0x184c11=_0x4ee07f['exports'],_0x3f7696;function _0x2690a7(){var _0xcef7f5=_0x4b5896;return _0x3f7696||(_0x3f7696=0x1,function(_0x1f2b92,_0x2f23db){(function(_0x36ead1,_0x2353a2,_0x553eaa){var _0x5abe18=_0x4fbb;_0x1f2b92[_0x5abe18(0x1ae)]=_0x2353a2(_0x38fba3(),_0x99d294(),_0x19a264(),_0x5a3281(),_0x47499a());}(_0x184c11,function(_0x541585){var _0x12d6f5=_0x4fbb;return(function(){var _0x5616f7=_0x4fbb,_0x1b4a0d=_0x541585,_0x1e8f88=_0x1b4a0d[_0x5616f7(0x1bd)],_0xc50369=_0x1e8f88[_0x5616f7(0x4bc)],_0x2f2fc8=_0x1b4a0d['algo'],_0x66c221=[],_0x19cdce=[],_0x3b6b6c=[],_0xb33133=[],_0xb6b026=[],_0x44a1fd=[],_0x3aa3e2=[],_0x32844d=[],_0x4c4b0b=[],_0x28cffc=[];(function(){for(var _0x277725=[],_0x1b5f35=0x0;_0x1b5f35<0x100;_0x1b5f35++)_0x1b5f35<0x80?_0x277725[_0x1b5f35]=_0x1b5f35<<0x1:_0x277725[_0x1b5f35]=_0x1b5f35<<0x1^0x11b;for(var _0x197f26=0x0,_0x35c24a=0x0,_0x1b5f35=0x0;_0x1b5f35<0x100;_0x1b5f35++){var _0x3b45bd=_0x35c24a^_0x35c24a<<0x1^_0x35c24a<<0x2^_0x35c24a<<0x3^_0x35c24a<<0x4;_0x3b45bd=_0x3b45bd>>>0x8^_0x3b45bd&0xff^0x63,_0x66c221[_0x197f26]=_0x3b45bd,_0x19cdce[_0x3b45bd]=_0x197f26;var _0xbc2e0c=_0x277725[_0x197f26],_0x363fdd=_0x277725[_0xbc2e0c],_0x4478c7=_0x277725[_0x363fdd],_0x235a4d=_0x277725[_0x3b45bd]*0x101^_0x3b45bd*0x1010100;_0x3b6b6c[_0x197f26]=_0x235a4d<<0x18|_0x235a4d>>>0x8,_0xb33133[_0x197f26]=_0x235a4d<<0x10|_0x235a4d>>>0x10,_0xb6b026[_0x197f26]=_0x235a4d<<0x8|_0x235a4d>>>0x18,_0x44a1fd[_0x197f26]=_0x235a4d;var _0x235a4d=_0x4478c7*0x1010101^_0x363fdd*0x10001^_0xbc2e0c*0x101^_0x197f26*0x1010100;_0x3aa3e2[_0x3b45bd]=_0x235a4d<<0x18|_0x235a4d>>>0x8,_0x32844d[_0x3b45bd]=_0x235a4d<<0x10|_0x235a4d>>>0x10,_0x4c4b0b[_0x3b45bd]=_0x235a4d<<0x8|_0x235a4d>>>0x18,_0x28cffc[_0x3b45bd]=_0x235a4d,_0x197f26?(_0x197f26=_0xbc2e0c^_0x277725[_0x277725[_0x277725[_0x4478c7^_0xbc2e0c]]],_0x35c24a^=_0x277725[_0x277725[_0x35c24a]]):_0x197f26=_0x35c24a=0x1;}}());var _0x505005=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x54da76=_0x2f2fc8[_0x5616f7(0x24c)]=_0xc50369[_0x5616f7(0x36e)]({'_doReset':function(){var _0x2dfd13=_0x5616f7,_0x23e489;if(!(this[_0x2dfd13(0x472)]&&this[_0x2dfd13(0x2c5)]===this[_0x2dfd13(0x280)])){for(var _0x514464=this[_0x2dfd13(0x2c5)]=this[_0x2dfd13(0x280)],_0x25a00f=_0x514464[_0x2dfd13(0x300)],_0x5acbbf=_0x514464['sigBytes']/0x4,_0x319da1=this[_0x2dfd13(0x472)]=_0x5acbbf+0x6,_0x2d8dfa=(_0x319da1+0x1)*0x4,_0x23c483=this[_0x2dfd13(0x209)]=[],_0x2e1180=0x0;_0x2e1180<_0x2d8dfa;_0x2e1180++)_0x2e1180<_0x5acbbf?_0x23c483[_0x2e1180]=_0x25a00f[_0x2e1180]:(_0x23e489=_0x23c483[_0x2e1180-0x1],_0x2e1180%_0x5acbbf?_0x5acbbf>0x6&&_0x2e1180%_0x5acbbf==0x4&&(_0x23e489=_0x66c221[_0x23e489>>>0x18]<<0x18|_0x66c221[_0x23e489>>>0x10&0xff]<<0x10|_0x66c221[_0x23e489>>>0x8&0xff]<<0x8|_0x66c221[_0x23e489&0xff]):(_0x23e489=_0x23e489<<0x8|_0x23e489>>>0x18,_0x23e489=_0x66c221[_0x23e489>>>0x18]<<0x18|_0x66c221[_0x23e489>>>0x10&0xff]<<0x10|_0x66c221[_0x23e489>>>0x8&0xff]<<0x8|_0x66c221[_0x23e489&0xff],_0x23e489^=_0x505005[_0x2e1180/_0x5acbbf|0x0]<<0x18),_0x23c483[_0x2e1180]=_0x23c483[_0x2e1180-_0x5acbbf]^_0x23e489);for(var _0x536605=this[_0x2dfd13(0x364)]=[],_0x5e3b55=0x0;_0x5e3b55<_0x2d8dfa;_0x5e3b55++){var _0x2e1180=_0x2d8dfa-_0x5e3b55;if(_0x5e3b55%0x4)var _0x23e489=_0x23c483[_0x2e1180];else var _0x23e489=_0x23c483[_0x2e1180-0x4];_0x5e3b55<0x4||_0x2e1180<=0x4?_0x536605[_0x5e3b55]=_0x23e489:_0x536605[_0x5e3b55]=_0x3aa3e2[_0x66c221[_0x23e489>>>0x18]]^_0x32844d[_0x66c221[_0x23e489>>>0x10&0xff]]^_0x4c4b0b[_0x66c221[_0x23e489>>>0x8&0xff]]^_0x28cffc[_0x66c221[_0x23e489&0xff]];}}},'encryptBlock':function(_0x54b751,_0x3b3072){var _0x15e4d7=_0x5616f7;this[_0x15e4d7(0x504)](_0x54b751,_0x3b3072,this[_0x15e4d7(0x209)],_0x3b6b6c,_0xb33133,_0xb6b026,_0x44a1fd,_0x66c221);},'decryptBlock':function(_0xcb8a08,_0x59011f){var _0x47f5e0=_0x5616f7,_0x50dd81=_0xcb8a08[_0x59011f+0x1];_0xcb8a08[_0x59011f+0x1]=_0xcb8a08[_0x59011f+0x3],_0xcb8a08[_0x59011f+0x3]=_0x50dd81,this['_doCryptBlock'](_0xcb8a08,_0x59011f,this[_0x47f5e0(0x364)],_0x3aa3e2,_0x32844d,_0x4c4b0b,_0x28cffc,_0x19cdce);var _0x50dd81=_0xcb8a08[_0x59011f+0x1];_0xcb8a08[_0x59011f+0x1]=_0xcb8a08[_0x59011f+0x3],_0xcb8a08[_0x59011f+0x3]=_0x50dd81;},'_doCryptBlock':function(_0x495929,_0x2a6e2b,_0x4a55da,_0xb5fe1f,_0x1e969f,_0x13b1c5,_0xdd0f98,_0x110507){var _0x37389a=_0x5616f7;for(var _0xdd4b0f=this[_0x37389a(0x472)],_0x4deac0=_0x495929[_0x2a6e2b]^_0x4a55da[0x0],_0x3e7b03=_0x495929[_0x2a6e2b+0x1]^_0x4a55da[0x1],_0x3b0dbe=_0x495929[_0x2a6e2b+0x2]^_0x4a55da[0x2],_0x572005=_0x495929[_0x2a6e2b+0x3]^_0x4a55da[0x3],_0x4bcbaf=0x4,_0x43c6b5=0x1;_0x43c6b5<_0xdd4b0f;_0x43c6b5++){var _0x54def5=_0xb5fe1f[_0x4deac0>>>0x18]^_0x1e969f[_0x3e7b03>>>0x10&0xff]^_0x13b1c5[_0x3b0dbe>>>0x8&0xff]^_0xdd0f98[_0x572005&0xff]^_0x4a55da[_0x4bcbaf++],_0x284005=_0xb5fe1f[_0x3e7b03>>>0x18]^_0x1e969f[_0x3b0dbe>>>0x10&0xff]^_0x13b1c5[_0x572005>>>0x8&0xff]^_0xdd0f98[_0x4deac0&0xff]^_0x4a55da[_0x4bcbaf++],_0x21cf27=_0xb5fe1f[_0x3b0dbe>>>0x18]^_0x1e969f[_0x572005>>>0x10&0xff]^_0x13b1c5[_0x4deac0>>>0x8&0xff]^_0xdd0f98[_0x3e7b03&0xff]^_0x4a55da[_0x4bcbaf++],_0xe4ae7c=_0xb5fe1f[_0x572005>>>0x18]^_0x1e969f[_0x4deac0>>>0x10&0xff]^_0x13b1c5[_0x3e7b03>>>0x8&0xff]^_0xdd0f98[_0x3b0dbe&0xff]^_0x4a55da[_0x4bcbaf++];_0x4deac0=_0x54def5,_0x3e7b03=_0x284005,_0x3b0dbe=_0x21cf27,_0x572005=_0xe4ae7c;}var _0x54def5=(_0x110507[_0x4deac0>>>0x18]<<0x18|_0x110507[_0x3e7b03>>>0x10&0xff]<<0x10|_0x110507[_0x3b0dbe>>>0x8&0xff]<<0x8|_0x110507[_0x572005&0xff])^_0x4a55da[_0x4bcbaf++],_0x284005=(_0x110507[_0x3e7b03>>>0x18]<<0x18|_0x110507[_0x3b0dbe>>>0x10&0xff]<<0x10|_0x110507[_0x572005>>>0x8&0xff]<<0x8|_0x110507[_0x4deac0&0xff])^_0x4a55da[_0x4bcbaf++],_0x21cf27=(_0x110507[_0x3b0dbe>>>0x18]<<0x18|_0x110507[_0x572005>>>0x10&0xff]<<0x10|_0x110507[_0x4deac0>>>0x8&0xff]<<0x8|_0x110507[_0x3e7b03&0xff])^_0x4a55da[_0x4bcbaf++],_0xe4ae7c=(_0x110507[_0x572005>>>0x18]<<0x18|_0x110507[_0x4deac0>>>0x10&0xff]<<0x10|_0x110507[_0x3e7b03>>>0x8&0xff]<<0x8|_0x110507[_0x3b0dbe&0xff])^_0x4a55da[_0x4bcbaf++];_0x495929[_0x2a6e2b]=_0x54def5,_0x495929[_0x2a6e2b+0x1]=_0x284005,_0x495929[_0x2a6e2b+0x2]=_0x21cf27,_0x495929[_0x2a6e2b+0x3]=_0xe4ae7c;},'keySize':0x100/0x20});_0x1b4a0d[_0x5616f7(0x24c)]=_0xc50369[_0x5616f7(0x454)](_0x54da76);}()),_0x541585[_0x12d6f5(0x24c)];}));}(_0x4ee07f)),_0x4ee07f[_0xcef7f5(0x1ae)];}var _0x2d018d=_0x2690a7();const _0x136821=_0x26c98b(_0x2d018d);var _0x1dd8dd=_0x99d294();const _0x3b5c4f=_0x26c98b(_0x1dd8dd);var _0x261c09={'exports':{}},_0x6e9c0b=_0x261c09[_0x4b5896(0x1ae)],_0xc3456c;function _0x44d7f2(){var _0xc8abfe=_0x4b5896;return _0xc3456c||(_0xc3456c=0x1,function(_0x123cf6,_0x55f8c4){(function(_0xa5f829,_0x8b042a){var _0x56e754=_0x4fbb;_0x123cf6[_0x56e754(0x1ae)]=_0x8b042a(_0x38fba3());}(_0x6e9c0b,function(_0x27f2e7){return _0x27f2e7['enc']['Utf8'];}));}(_0x261c09)),_0x261c09[_0xc8abfe(0x1ae)];}var _0x548208=_0x44d7f2();const _0x88e797=_0x26c98b(_0x548208);var _0x367f58={'exports':{}},_0x53c9b9=_0x367f58['exports'],_0x3939b1;function _0x1ac188(){var _0x3238ab=_0x4b5896;return _0x3939b1||(_0x3939b1=0x1,function(_0x1d95ac,_0x10f92c){(function(_0x218316,_0x2a7416){var _0xeb57ba=_0x4fbb;_0x1d95ac[_0xeb57ba(0x1ae)]=_0x2a7416(_0x38fba3());}(_0x53c9b9,function(_0x2d6437){var _0xf19339=_0x4fbb;return(function(){var _0x39a2ed=_0x4fbb;if(typeof ArrayBuffer==_0x39a2ed(0x3c0)){var _0x32df4d=_0x2d6437,_0xffe446=_0x32df4d[_0x39a2ed(0x1bd)],_0x4c396a=_0xffe446['WordArray'],_0x2baa14=_0x4c396a[_0x39a2ed(0x3d0)],_0x1be8a6=_0x4c396a['init']=function(_0x3cdfea){var _0xf348aa=_0x39a2ed;if(_0x3cdfea instanceof ArrayBuffer&&(_0x3cdfea=new Uint8Array(_0x3cdfea)),(_0x3cdfea instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3cdfea instanceof Uint8ClampedArray||_0x3cdfea instanceof Int16Array||_0x3cdfea instanceof Uint16Array||_0x3cdfea instanceof Int32Array||_0x3cdfea instanceof Uint32Array||_0x3cdfea instanceof Float32Array||_0x3cdfea instanceof Float64Array)&&(_0x3cdfea=new Uint8Array(_0x3cdfea[_0xf348aa(0x363)],_0x3cdfea[_0xf348aa(0x4a5)],_0x3cdfea['byteLength'])),_0x3cdfea instanceof Uint8Array){for(var _0x94a2ae=_0x3cdfea[_0xf348aa(0x452)],_0x5f9809=[],_0x4071b9=0x0;_0x4071b9<_0x94a2ae;_0x4071b9++)_0x5f9809[_0x4071b9>>>0x2]|=_0x3cdfea[_0x4071b9]<<0x18-_0x4071b9%0x4*0x8;_0x2baa14[_0xf348aa(0x473)](this,_0x5f9809,_0x94a2ae);}else _0x2baa14[_0xf348aa(0x273)](this,arguments);};_0x1be8a6['prototype']=_0x4c396a;}}()),_0x2d6437[_0xf19339(0x1bd)][_0xf19339(0x40d)];}));}(_0x367f58)),_0x367f58[_0x3238ab(0x1ae)];}var _0x1c032c=_0x1ac188();const _0x323395=_0x26c98b(_0x1c032c);var _0x207e41={'exports':{}},_0x128aaf=_0x207e41[_0x4b5896(0x1ae)],_0x4e01bd;function _0xe0e526(){var _0x5970c4=_0x4b5896;return _0x4e01bd||(_0x4e01bd=0x1,function(_0xcf5575,_0x2e2c59){(function(_0x1a55c7,_0x2b802e,_0x2ca0d2){var _0x254d29=_0x4fbb;_0xcf5575[_0x254d29(0x1ae)]=_0x2b802e(_0x38fba3(),_0x47499a());}(_0x128aaf,function(_0x535b9b){var _0x2595d1=_0x4fbb;return _0x535b9b[_0x2595d1(0x3e7)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x535b9b[_0x2595d1(0x3e7)][_0x2595d1(0x1bf)];}));}(_0x207e41)),_0x207e41[_0x5970c4(0x1ae)];}var _0x4dc336=_0xe0e526();const _0x19162f=_0x26c98b(_0x4dc336);function _0x3d67ac(_0x48dfde,_0xc90be1){var _0x107898=_0x4b5896;const _0x151ff7=_0xc90be1-_0x48dfde[_0x107898(0x31b)]%_0xc90be1,_0x48fff3=String[_0x107898(0x481)](_0x151ff7)[_0x107898(0x214)](_0x151ff7);return _0x48dfde+_0x48fff3;}function _0x59f71c(_0x5797e2,_0x44aabc){var _0x59afa0=_0x4b5896;const _0x4589c5=_0x323395[_0x59afa0(0x519)](0x10),_0x1cfe74=_0x3d67ac(_0x5797e2,0x10),_0x40a44f=_0x136821[_0x59afa0(0x327)](_0x88e797[_0x59afa0(0x1fc)](_0x1cfe74),_0x3b5c4f[_0x59afa0(0x1fc)](_0x44aabc),{'iv':_0x4589c5,'padding':_0x19162f});return _0x4589c5[_0x59afa0(0x22e)](_0x40a44f['ciphertext'])['toString'](_0x3b5c4f);}function _0x57c93d(){var _0x56cf39=_0x4b5896;const _0x5ce508=_0x3ca4ea[_0x56cf39(0x4c6)]()[_0x56cf39(0x296)];if(_0x5ce508){const _0x4071ae={'time':Math[_0x56cf39(0x316)](Date['now']()/0x3e8),'domain':location['hostname']};return _0x59f71c(JSON[_0x56cf39(0x1d0)](_0x4071ae),_0x5ce508);}}var _0x23e856=Object[_0x4b5896(0x36f)],_0x262faa=(_0x130261,_0x3beaf1,_0x289590,_0x2898ee)=>{for(var _0x2fa5fa=_0x2898ee>0x1?void 0x0:_0x2898ee?_0x23e856(_0x3beaf1,_0x289590):_0x3beaf1,_0x1404c8=_0x130261['length']-0x1,_0x59629b;_0x1404c8>=0x0;_0x1404c8--)(_0x59629b=_0x130261[_0x1404c8])&&(_0x2fa5fa=_0x59629b(_0x2fa5fa)||_0x2fa5fa);return _0x2fa5fa;},_0x40af52=(_0x553afa,_0x38a511)=>(_0x4b0b71,_0x533d15)=>_0x38a511(_0x4b0b71,_0x533d15,_0x553afa);let _0xc97bac=class{constructor(_0x33626f){var _0x426afe=_0x4b5896;this[_0x426afe(0x2e8)]=_0x33626f,this[_0x426afe(0x488)]();}[_0x4b5896(0x488)](){var _0x8b3ec9=_0x4b5896;this[_0x8b3ec9(0x2e8)][_0x8b3ec9(0x335)]({'interceptor':(_0x118a95,_0x80e0d)=>{var _0x184632=_0x8b3ec9;const _0x3f46dc=_0x118a95[_0x184632(0x401)],_0x1ad48e=_0x57c93d();return _0x1ad48e&&_0x3f46dc['set'](_0x184632(0x333),_0x1ad48e),_0x80e0d(_0x118a95);}});}};_0xc97bac=_0x262faa([_0x40af52(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f[_0x4b5896(0x227)]))],_0xc97bac);var _0x5ed80e=Object[_0x4b5896(0x36f)],_0x1dc71b=(_0x1baf7e,_0x21d1b6,_0x2ebc67,_0x5de905)=>{var _0x343c1e=_0x4b5896;for(var _0x273065=_0x5de905>0x1?void 0x0:_0x5de905?_0x5ed80e(_0x21d1b6,_0x2ebc67):_0x21d1b6,_0x9a89c2=_0x1baf7e[_0x343c1e(0x31b)]-0x1,_0x1da541;_0x9a89c2>=0x0;_0x9a89c2--)(_0x1da541=_0x1baf7e[_0x9a89c2])&&(_0x273065=_0x1da541(_0x273065)||_0x273065);return _0x273065;},_0x5c4351=(_0xc2e88a,_0x587e4b)=>(_0xad56d7,_0x5e0987)=>_0x587e4b(_0xad56d7,_0x5e0987,_0xc2e88a);_0x1fe4e5[_0x4b5896(0x47d)]=class extends _0x3a8efd[_0x4b5896(0x4ad)]{constructor(_0x17146a,_0x5c9d66,_0xb64f6a){var _0x47a2e6=_0x4b5896;super(),_0x33a719(this,'_unitInfo$',new _0x49840d[(_0x47a2e6(0x293))](null)),_0x33a719(this,_0x47a2e6(0x1b4),this[_0x47a2e6(0x256)][_0x47a2e6(0x350)]()),(this[_0x47a2e6(0x2e7)]=_0x17146a,this[_0x47a2e6(0x34d)]=_0x5c9d66,this['_localCacheService']=_0xb64f6a);}async[_0x4b5896(0x3fc)](_0x219865,_0x2e7986,_0x2b794c){var _0x15c656=_0x4b5896;this[_0x15c656(0x256)][_0x15c656(0x4eb)]({'unitId':_0x219865,'type':_0x2e7986});let _0xae6917=null;switch(_0x2e7986){case _0x4dc4c2[_0x15c656(0x4b9)]:{_0xae6917=await this[_0x15c656(0x34d)][_0x15c656(0x268)](_0x219865,_0x2b794c);break;}case _0x4dc4c2['UNIVER_DOC']:{_0xae6917=await this[_0x15c656(0x34d)][_0x15c656(0x2db)](_0x219865,_0x2b794c);break;}default:{this[_0x15c656(0x2e7)][_0x15c656(0x542)](_0x15c656(0x52d),_0x15c656(0x338));break;}}return _0xae6917;}async['loadUnit'](_0x3759b7,_0x43b38f,_0x1cf91e){var _0xe0286a=_0x4b5896,_0x47ea66;this[_0xe0286a(0x256)][_0xe0286a(0x4eb)]({'unitId':_0x3759b7,'type':_0x43b38f,'subUnitId':_0x1cf91e});let _0x3d35f7=0x0;const _0x56233b=await((_0x47ea66=this[_0xe0286a(0x25d)])==null?void 0x0:_0x47ea66[_0xe0286a(0x342)](_0x3759b7));return _0x56233b&&(_0x56233b[_0xe0286a(0x359)]||_0x56233b['mutations'][_0xe0286a(0x31b)]!==0x0)&&(_0x3d35f7=_0x56233b[_0xe0286a(0x24b)]),_0x3d35f7===0x0&&this[_0xe0286a(0x2e7)][_0xe0286a(0x1ba)](_0xe0286a(0x52d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xe0286a(0x3fc)](_0x3759b7,_0x43b38f,_0x3d35f7);}},_0x1fe4e5[_0x4b5896(0x47d)]=_0x1dc71b([_0x5c4351(0x0,_0x3a8efd[_0x4b5896(0x4b5)]),_0x5c4351(0x1,_0x3a8efd['Inject'](_0x5e2062[_0x4b5896(0x38a)])),_0x5c4351(0x2,_0x3a8efd[_0x4b5896(0x1ec)](_0x5d850f))],_0x1fe4e5['DataLoaderService']);var _0x27bcb4=Object[_0x4b5896(0x36f)],_0x58ca5f=(_0x8c3f77,_0xae1936,_0x1325e7,_0xdacd2d)=>{var _0xa3ddc5=_0x4b5896;for(var _0x58a944=_0xdacd2d>0x1?void 0x0:_0xdacd2d?_0x27bcb4(_0xae1936,_0x1325e7):_0xae1936,_0x1f85fe=_0x8c3f77[_0xa3ddc5(0x31b)]-0x1,_0x4744fe;_0x1f85fe>=0x0;_0x1f85fe--)(_0x4744fe=_0x8c3f77[_0x1f85fe])&&(_0x58a944=_0x4744fe(_0x58a944)||_0x58a944);return _0x58a944;},_0x4fb247=(_0x4c409c,_0x709d96)=>(_0x57fb2a,_0x29bf7b)=>_0x709d96(_0x57fb2a,_0x29bf7b,_0x4c409c);const _0x37b870=[_0x4b5896(0x23a),'image/jpeg',_0x4b5896(0x40e),_0x4b5896(0x51f),'image/bmp'],_0x232d5=0x5*0x400*0x400,_0xcc20c5=_0x4b5896(0x4f6),_0x348378='/universer-api/file/{fileID}/sign-url';_0x1fe4e5[_0x4b5896(0x1d8)]=class{constructor(_0x1bf58c,_0x2f3d2a,_0x51620f){var _0x408763=_0x4b5896;_0x33a719(this,_0x408763(0x410),0x0),_0x33a719(this,_0x408763(0x53f),new _0x49840d[(_0x408763(0x3f4))]()),_0x33a719(this,_0x408763(0x387),this[_0x408763(0x53f)]),_0x33a719(this,'_imageSourceCache',new Map()),(this[_0x408763(0x2e8)]=_0x1bf58c,this[_0x408763(0x229)]=_0x2f3d2a,this[_0x408763(0x4e8)]=_0x51620f);}['setWaitCount'](_0x3d15bb){var _0x258461=_0x4b5896;this[_0x258461(0x410)]=_0x3d15bb,this[_0x258461(0x53f)][_0x258461(0x4eb)](_0x3d15bb);}['getImageSourceCache'](_0x342b63,_0x4e947a){var _0x5b94c=_0x4b5896;if(_0x4e947a===_0x58b2c0[_0x5b94c(0x44b)][_0x5b94c(0x3c1)]){const _0xd8085=new Image();return _0xd8085[_0x5b94c(0x4f3)]=_0x342b63,_0xd8085;}return this['_imageSourceCache'][_0x5b94c(0x4b6)](_0x342b63);}[_0x4b5896(0x37c)](_0x533d16,_0x5493a6,_0x30d18b){var _0x26c78=_0x4b5896;_0x5493a6===_0x58b2c0[_0x26c78(0x44b)]['BASE64']||_0x30d18b==null||this[_0x26c78(0x31e)][_0x26c78(0x513)](_0x533d16,_0x30d18b);}async[_0x4b5896(0x1ce)](_0x26dd2a){var _0x2519b6=_0x4b5896;try{const _0x370556=this[_0x2519b6(0x352)](this[_0x2519b6(0x222)](),''+_0x26dd2a),_0x5ceebf=(await this[_0x2519b6(0x2e8)][_0x2519b6(0x4b6)](_0x370556))[_0x2519b6(0x1be)];if(_0x5ceebf[_0x2519b6(0x542)]&&_0x5ceebf[_0x2519b6(0x542)]['code']===_0x1df182['OK']){const _0x1f646c=new URL(_0x5ceebf[_0x2519b6(0x1ee)],this[_0x2519b6(0x3dd)]())[_0x2519b6(0x46c)]();return Promise[_0x2519b6(0x23c)](_0x1f646c);}return Promise[_0x2519b6(0x502)](_0x5ceebf[_0x2519b6(0x542)]);}catch(_0x65b31f){return Promise[_0x2519b6(0x502)](_0x65b31f);}}async[_0x4b5896(0x348)](_0x50535e){var _0x433878=_0x4b5896;let _0x46ddcc='';if(!_0x37b870['includes'](_0x50535e[_0x433878(0x25a)]))return this['_decreaseWaiting'](),Promise[_0x433878(0x502)](new Error(_0x58b2c0['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x50535e[_0x433878(0x1dd)]>_0x232d5)return this[_0x433878(0x344)](),Promise[_0x433878(0x502)](new Error(_0x58b2c0[_0x433878(0x468)][_0x433878(0x4d1)]));try{const _0x58830c=new FormData();_0x58830c[_0x433878(0x414)](_0x433878(0x26c),_0x50535e);const _0x352707=this['_univerInstanceService']['getFocusedUnit'](),_0x14131b=_0x352707==null?void 0x0:_0x352707[_0x433878(0x49a)]();if(!_0x14131b)throw new Error('unitId\x20is\x20not\x20found');const _0x5e8108=this[_0x433878(0x249)]()+_0x433878(0x4ed)+_0x50535e[_0x433878(0x1dd)][_0x433878(0x46c)]()+_0x433878(0x251)+_0x29f3c6[_0x433878(0x427)]+_0x433878(0x337)+encodeURIComponent(_0x14131b),_0x449265={'body':_0x58830c},_0xc7beb1=(await this[_0x433878(0x2e8)][_0x433878(0x54a)](_0x5e8108,_0x449265))[_0x433878(0x1be)];if(typeof _0xc7beb1[_0x433878(0x44d)]!=_0x433878(0x53e))return this['_decreaseWaiting'](),Promise[_0x433878(0x502)](new Error(_0x58b2c0[_0x433878(0x468)][_0x433878(0x317)]));_0x46ddcc=_0xc7beb1[_0x433878(0x44d)];}catch{return this['_decreaseWaiting'](),Promise[_0x433878(0x502)](new Error(_0x58b2c0[_0x433878(0x468)][_0x433878(0x317)]));}return new Promise((_0xa88ef8,_0x1d6b7b)=>{var _0x3cede7=_0x433878;const _0x5d6790=new FileReader();_0x5d6790[_0x3cede7(0x3e5)](_0x50535e),_0x5d6790[_0x3cede7(0x231)]=_0x53dd3b=>{var _0x150714=_0x3cede7,_0x5b970a;const _0x54fada=(_0x5b970a=_0x53dd3b[_0x150714(0x1e0)])==null?void 0x0:_0x5b970a[_0x150714(0x2af)];if(_0x54fada==null){this[_0x150714(0x344)](),_0x1d6b7b(new Error(_0x58b2c0[_0x150714(0x468)][_0x150714(0x317)]));return;}const _0x2a626c=_0x3a8efd[_0x150714(0x4fa)](0x6);_0xa88ef8({'imageId':_0x2a626c,'imageSourceType':_0x58b2c0['ImageSourceType'][_0x150714(0x291)],'source':_0x46ddcc,'base64Cache':_0x54fada,'status':_0x58b2c0['ImageUploadStatusType'][_0x150714(0x343)]}),this['_decreaseWaiting']();};});}[_0x4b5896(0x249)](){var _0x10dca2=_0x4b5896,_0xc44fcb;const _0x510158=this[_0x10dca2(0x229)]['getConfig'](_0x3fa8a8);return(_0xc44fcb=_0x510158==null?void 0x0:_0x510158[_0x10dca2(0x3a5)])!=null?_0xc44fcb:_0xcc20c5;}['_getSignURL'](){var _0x29f0e5=_0x4b5896,_0x414a8e;const _0x3c7ff9=this[_0x29f0e5(0x229)][_0x29f0e5(0x523)](_0x3fa8a8);return(_0x414a8e=_0x3c7ff9==null?void 0x0:_0x3c7ff9[_0x29f0e5(0x216)])!=null?_0x414a8e:_0x348378;}['_getDownloadEndpointURL'](){var _0x3ac7e8=_0x4b5896,_0x53711e;const _0x485eb7=this['_configService'][_0x3ac7e8(0x523)](_0x3fa8a8);return(_0x53711e=_0x485eb7==null?void 0x0:_0x485eb7['downloadEndpointUrl'])!=null?_0x53711e:location[_0x3ac7e8(0x443)];}['_replaceFileID'](_0x4bbb81,_0x395216){var _0x2bff27=_0x4b5896;return _0x4bbb81[_0x2bff27(0x2b3)](_0x2bff27(0x507),_0x395216);}[_0x4b5896(0x344)](){var _0x3fb7e8=_0x4b5896;this['_waitCount']-=0x1,this[_0x3fb7e8(0x53f)]['next'](this['_waitCount']);}},_0x1fe4e5[_0x4b5896(0x1d8)]=_0x58ca5f([_0x4fb247(0x0,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f['HTTPService'])),_0x4fb247(0x1,_0x3a8efd[_0x4b5896(0x383)]),_0x4fb247(0x2,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x40f)]))],_0x1fe4e5['CollaborationImageIoService']);var _0x37531b=Object[_0x4b5896(0x36f)],_0x4962cc=(_0x2170a4,_0x5d015a,_0x3c38c4,_0x49dd0d)=>{var _0x4cc067=_0x4b5896;for(var _0x45d191=_0x49dd0d>0x1?void 0x0:_0x49dd0d?_0x37531b(_0x5d015a,_0x3c38c4):_0x5d015a,_0x30fe9d=_0x2170a4[_0x4cc067(0x31b)]-0x1,_0x137b08;_0x30fe9d>=0x0;_0x30fe9d--)(_0x137b08=_0x2170a4[_0x30fe9d])&&(_0x45d191=_0x137b08(_0x45d191)||_0x45d191);return _0x45d191;},_0x20e8ca=(_0x95f94e,_0x5860da)=>(_0x51223d,_0x221949)=>_0x5860da(_0x51223d,_0x221949,_0x95f94e);const _0x1cacf4='/universer-api/authz';_0x1fe4e5[_0x4b5896(0x2fc)]=class{constructor(_0x1084be,_0x5b6bca){var _0x19b5f7=_0x4b5896;this[_0x19b5f7(0x229)]=_0x1084be,this[_0x19b5f7(0x312)]=_0x5b6bca;}[_0x4b5896(0x47a)](){var _0x4386e5=_0x4b5896,_0x4c07a9;const _0x44c335=this[_0x4386e5(0x229)][_0x4386e5(0x523)](_0x3fa8a8);return(_0x4c07a9=_0x44c335==null?void 0x0:_0x44c335[_0x4386e5(0x50d)])!=null?_0x4c07a9:_0x1cacf4;}async[_0x4b5896(0x546)](_0x8c2d8){var _0x6ded78=_0x4b5896;const _0x1e3237=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x6ded78(0x349),'mentions':(await this[_0x6ded78(0x312)][_0x6ded78(0x4b6)](_0x1e3237,{'params':{'objectID':_0x8c2d8['unitId'],'unitID':_0x8c2d8[_0x6ded78(0x21d)]}}))[_0x6ded78(0x1be)][_0x6ded78(0x2b8)][_0x6ded78(0x451)](_0x3ea710=>({'objectId':_0x3ea710['id'],'name':_0x3ea710[_0x6ded78(0x33d)][_0x6ded78(0x39b)],'metadata':{'icon':_0x3ea710[_0x6ded78(0x33d)][_0x6ded78(0x1db)]},'label':_0x3ea710[_0x6ded78(0x33d)][_0x6ded78(0x39b)],'objectType':_0x3a8efd[_0x6ded78(0x356)][_0x6ded78(0x1b3)]})),'metadata':{},'type':_0x3a8efd[_0x6ded78(0x356)]['PERSON']}]};}},_0x1fe4e5[_0x4b5896(0x2fc)]=_0x4962cc([_0x20e8ca(0x0,_0x3a8efd['Inject'](_0x3a8efd[_0x4b5896(0x383)])),_0x20e8ca(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f[_0x4b5896(0x227)]))],_0x1fe4e5[_0x4b5896(0x2fc)]);var _0x4579b9=Object['getOwnPropertyDescriptor'],_0x17c5ac=(_0x7e067,_0x440d51,_0x10c618,_0x251c97)=>{var _0x196c2b=_0x4b5896;for(var _0x13621d=_0x251c97>0x1?void 0x0:_0x251c97?_0x4579b9(_0x440d51,_0x10c618):_0x440d51,_0x4ea3a1=_0x7e067[_0x196c2b(0x31b)]-0x1,_0x4de5ee;_0x4ea3a1>=0x0;_0x4ea3a1--)(_0x4de5ee=_0x7e067[_0x4ea3a1])&&(_0x13621d=_0x4de5ee(_0x13621d)||_0x13621d);return _0x13621d;},_0x2a48f0=(_0x539742,_0x2edf17)=>(_0x12af27,_0x2de946)=>_0x2edf17(_0x12af27,_0x2de946,_0x539742);let _0x30e44a=class extends _0x3a8efd[_0x4b5896(0x4ad)]{constructor(_0x5c6911,_0x49ee62,_0x4280d7,_0x1d673b,_0x187af3){var _0x39ed77=_0x4b5896;super(),this[_0x39ed77(0x467)]=_0x5c6911,this[_0x39ed77(0x4e8)]=_0x49ee62,this['_permissionService']=_0x4280d7,this[_0x39ed77(0x423)]=_0x1d673b,this[_0x39ed77(0x3ca)]=_0x187af3,this['_initUnitPermissionChange'](),this[_0x39ed77(0x532)]();}[_0x4b5896(0x532)](){var _0x4783b3=_0x4b5896;const _0x15ab34=async _0x32a369=>{var _0x4b3160=_0x4fbb;(await this[_0x4b3160(0x423)][_0x4b3160(0x41b)](_0x32a369))['event$'][_0x4b3160(0x3b7)](_0x3844a2[_0x4b3160(0x329)](_0x54c433=>_0x54c433[_0x4b3160(0x4ab)]===_0x5e2062[_0x4b3160(0x1c0)][_0x4b3160(0x545)]),_0x3844a2[_0x4b3160(0x224)](this[_0x4b3160(0x422)]))[_0x4b3160(0x465)](_0x13a1c8=>{var _0x5e33c7=_0x4b3160;const _0x443696=_0x13a1c8,{reason:_0x13cd33}=_0x443696[_0x5e33c7(0x1d2)];this[_0x5e33c7(0x3ca)][_0x5e33c7(0x487)]({'id':_0x758ea3[_0x5e33c7(0x4fd)],'data':_0x13cd33}),this[_0x5e33c7(0x1b0)][_0x5e33c7(0x475)](new _0x14ea65[(_0x5e33c7(0x522))](_0x32a369)['id'],!0x1),this[_0x5e33c7(0x423)][_0x5e33c7(0x396)](_0x32a369);});};_0x49840d[_0x4783b3(0x40b)](this[_0x4783b3(0x4e8)][_0x4783b3(0x346)](_0x3a8efd['UniverInstanceType']['UNIVER_SHEET']),this[_0x4783b3(0x4e8)]['getTypeOfUnitAdded$'](_0x3a8efd['UniverInstanceType'][_0x4783b3(0x234)]))['pipe'](_0x3844a2[_0x4783b3(0x451)](_0x1a4144=>_0x1a4144['getUnitId']()),_0x3844a2[_0x4783b3(0x329)](_0x413e4a=>!_0x3a8efd[_0x4783b3(0x45e)](_0x413e4a)),_0x3844a2[_0x4783b3(0x224)](this[_0x4783b3(0x422)]))[_0x4783b3(0x465)](_0x46bf13=>{_0x15ab34(_0x46bf13);});}[_0x4b5896(0x2a2)](){var _0x5df302=_0x4b5896;const _0x3c07f0=async _0x3df53b=>{var _0x51fd91=_0x4fbb;const _0x1bcd07=await this[_0x51fd91(0x423)][_0x51fd91(0x41b)](_0x3df53b),_0x9b93ed=this[_0x51fd91(0x467)][_0x51fd91(0x4b6)](_0x14ea65[_0x51fd91(0x425)]);_0x1bcd07['event$'][_0x51fd91(0x3b7)](_0x3844a2['filter'](_0x171452=>_0x171452[_0x51fd91(0x4ab)]===_0x5e2062[_0x51fd91(0x1c0)]['UPDATE_PERMISSION_OBJ']),_0x3844a2[_0x51fd91(0x224)](this['dispose$']))[_0x51fd91(0x465)](_0x878268=>{var _0x272c66=_0x51fd91;const _0x45f8f3=_0x878268,{objectId:_0x389a05}=_0x45f8f3[_0x272c66(0x1d2)];_0x389a05===_0x3df53b?_0x9b93ed[_0x272c66(0x516)](_0x3df53b):_0x9b93ed[_0x272c66(0x1f7)](_0x3df53b,_0x389a05);});};_0x49840d[_0x5df302(0x40b)](this[_0x5df302(0x4e8)][_0x5df302(0x346)](_0x3a8efd[_0x5df302(0x1af)]['UNIVER_SHEET']))[_0x5df302(0x3b7)](_0x3844a2['map'](_0x3c1b3b=>_0x3c1b3b['getUnitId']()),_0x3844a2[_0x5df302(0x329)](_0x3045d4=>!_0x3a8efd[_0x5df302(0x45e)](_0x3045d4)),_0x3844a2['takeUntil'](this[_0x5df302(0x422)]))[_0x5df302(0x465)](_0x4ba515=>{_0x3c07f0(_0x4ba515);});}};_0x30e44a=_0x17c5ac([_0x2a48f0(0x0,_0x3a8efd['Inject'](_0x3a8efd[_0x4b5896(0x308)])),_0x2a48f0(0x1,_0x3a8efd[_0x4b5896(0x40f)]),_0x2a48f0(0x2,_0x3a8efd['IPermissionService']),_0x2a48f0(0x3,_0x3a8efd[_0x4b5896(0x4b2)](_0x1fe4e5['CollaborationSessionService'])),_0x2a48f0(0x4,_0x3a8efd['Inject'](_0x5b5dc8))],_0x30e44a);var _0x48aae8=Object[_0x4b5896(0x36f)],_0x545c50=(_0xc25fed,_0x54bb7a,_0x543233,_0x3255ec)=>{for(var _0x26bb1b=_0x3255ec>0x1?void 0x0:_0x3255ec?_0x48aae8(_0x54bb7a,_0x543233):_0x54bb7a,_0x13441e=_0xc25fed['length']-0x1,_0x3759d9;_0x13441e>=0x0;_0x13441e--)(_0x3759d9=_0xc25fed[_0x13441e])&&(_0x26bb1b=_0x3759d9(_0x26bb1b)||_0x26bb1b);return _0x26bb1b;},_0x5354d4=(_0x57f8a5,_0x5102e7)=>(_0x99dc41,_0x3a109e)=>_0x5102e7(_0x99dc41,_0x3a109e,_0x57f8a5);_0x1fe4e5['SnapshotServerOverHTTPService']=class{constructor(_0x3b249c,_0xef9fcc){var _0x5064f5=_0x4b5896;this[_0x5064f5(0x229)]=_0x3b249c,this[_0x5064f5(0x2e8)]=_0xef9fcc;}async[_0x4b5896(0x43a)](_0x5f002c,_0x873fd3){var _0x426090=_0x4b5896,_0x4163fd;const {unitID:_0x40526a,type:_0x342bff,revision:_0x92cb72=0x0}=_0x873fd3,_0x468e14=this[_0x426090(0x22b)]()+'/'+_0x342bff+'/unit/'+_0x40526a+_0x426090(0x2df)+_0x92cb72,_0xf3df1f=(await this['_httpService']['get'](_0x468e14))[_0x426090(0x1be)],_0x3713dd=(_0x4163fd=_0xf3df1f[_0x426090(0x232)])==null?void 0x0:_0x4163fd[_0x426090(0x50b)];if(_0x3713dd){const _0x2b6baa=_0x3713dd==null?void 0x0:_0x3713dd[_0x426090(0x332)],_0x5b7e43=_0x5e2062[_0x426090(0x270)][_0x426090(0x243)](_0x5e2062[_0x426090(0x1c7)](_0x2b6baa));_0x3713dd[_0x426090(0x332)]=_0x5b7e43,Object[_0x426090(0x509)](_0x3713dd[_0x426090(0x3b3)])[_0x426090(0x28b)](([,_0x1915b8])=>{var _0x200682=_0x426090;const _0x588278=_0x1915b8[_0x200682(0x332)],_0x50c43f=_0x5e2062[_0x200682(0x270)]['encode'](_0x5e2062[_0x200682(0x1c7)](_0x588278));_0x1915b8[_0x200682(0x332)]=_0x50c43f;});}return _0xf3df1f;}async['getSheetBlock'](_0x17c3e2,_0x24e52d){var _0x2e45c6=_0x4b5896;const {unitID:_0x147ed9,type:_0x5c4759,blockID:_0x218cea}=_0x24e52d,_0x1542f4=this[_0x2e45c6(0x225)]()+'/'+_0x5c4759+_0x2e45c6(0x2d9)+_0x147ed9+_0x2e45c6(0x4c1)+_0x218cea;return(await this[_0x2e45c6(0x2e8)][_0x2e45c6(0x4b6)](_0x1542f4))['body'];}async[_0x4b5896(0x26d)](_0x16e1c5,_0x309e7d){var _0x75433=_0x4b5896;const {unitID:_0x3642b4,type:_0x19c250,blockID:_0x70e0c3}=_0x309e7d,_0x18f8ee=this[_0x75433(0x225)]()+_0x75433(0x4c1)+_0x19c250+'/unit/'+_0x3642b4+'/block/'+_0x70e0c3;return(await this[_0x75433(0x2e8)][_0x75433(0x4b6)](_0x18f8ee))[_0x75433(0x1be)];}async['fetchMissingChangesets'](_0x14f755,_0x53675b){var _0x680c86=_0x4b5896;const {unitID:_0x42498c,type:_0x206939,from:_0x3ccf4f,to:_0x2a74f3}=_0x53675b,_0x548dd2=this['_getAPIPrefix']()+'/'+_0x206939+'/unit/'+_0x42498c+_0x680c86(0x3f2)+_0x3ccf4f+_0x680c86(0x39d)+_0x2a74f3;return(await this[_0x680c86(0x2e8)][_0x680c86(0x4b6)](_0x548dd2))[_0x680c86(0x1be)];}[_0x4b5896(0x22b)](){var _0x468854=_0x4b5896,_0x5ef5a5;return(_0x5ef5a5=this[_0x468854(0x229)][_0x468854(0x523)](_0x92045e))!=null?_0x5ef5a5:this[_0x468854(0x225)]();}[_0x4b5896(0x225)](){var _0x33c60b=_0x4b5896,_0x271903;const _0x16dee4=this['_configService'][_0x33c60b(0x523)](_0x3fa8a8);return(_0x271903=_0x16dee4==null?void 0x0:_0x16dee4[_0x33c60b(0x306)])!=null?_0x271903:_0xf122e0;}async[_0x4b5896(0x4c0)](_0x124f52,_0x105d89){var _0x236eae=_0x4b5896;const _0x367cb2=_0x236eae(0x38e)+_0x105d89[_0x236eae(0x25a)]+_0x236eae(0x2d9)+_0x105d89[_0x236eae(0x28a)]+_0x236eae(0x479);return(await this[_0x236eae(0x2e8)][_0x236eae(0x4b6)](_0x367cb2,{'params':{'resourceId':JSON['stringify'](_0x105d89[_0x236eae(0x31a)])}}))[_0x236eae(0x1be)];}[_0x4b5896(0x2a3)](){var _0x1e7bbc=_0x4b5896;throw new Error(_0x1e7bbc(0x50c));}[_0x4b5896(0x24f)](){var _0x42958f=_0x4b5896;throw new Error(_0x42958f(0x50c));}[_0x4b5896(0x269)](){var _0x8e5506=_0x4b5896;throw new Error(_0x8e5506(0x50c));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4b5896(0x405)](){var _0x52a3c3=_0x4b5896;throw new Error(_0x52a3c3(0x50c));}['getLatestCsReqIdBySid'](){var _0x299e2d=_0x4b5896;throw new Error(_0x299e2d(0x50c));}},_0x1fe4e5[_0x4b5896(0x49b)]=_0x545c50([_0x5354d4(0x0,_0x3a8efd[_0x4b5896(0x383)]),_0x5354d4(0x1,_0x3a8efd[_0x4b5896(0x4b2)](_0x5a784f[_0x4b5896(0x227)]))],_0x1fe4e5[_0x4b5896(0x49b)]);var _0x112b3a=Object[_0x4b5896(0x36f)],_0x1a6d03=(_0x3ec457,_0x4c063,_0x5b016b,_0x1b83b7)=>{for(var _0x4a7a5d=_0x1b83b7>0x1?void 0x0:_0x1b83b7?_0x112b3a(_0x4c063,_0x5b016b):_0x4c063,_0x4337ec=_0x3ec457['length']-0x1,_0xedd2fc;_0x4337ec>=0x0;_0x4337ec--)(_0xedd2fc=_0x3ec457[_0x4337ec])&&(_0x4a7a5d=_0xedd2fc(_0x4a7a5d)||_0x4a7a5d);return _0x4a7a5d;},_0x2c5b1c=(_0x56ecfb,_0x1d160e)=>(_0xe03c9d,_0x2dbef5)=>_0x1d160e(_0xe03c9d,_0x2dbef5,_0x56ecfb);_0x1fe4e5['CollaborativeUndoRedoService']=class extends _0x3a8efd[_0x4b5896(0x358)]{constructor(_0x5d0563,_0x5e517d,_0x19f668,_0xad4c63,_0x31f58f){var _0x4f6043=_0x4b5896;super(_0x5d0563,_0x5e517d,_0x19f668),this[_0x4f6043(0x2d2)]=_0xad4c63,this[_0x4f6043(0x2e7)]=_0x31f58f;}['transformUndoRedo'](_0x88d311,_0x197cb9){var _0x102e90=_0x4b5896;const _0x4eee08=this[_0x102e90(0x370)](_0x88d311);if(_0x4eee08)try{const _0x515b47=this[_0x102e90(0x1cc)](_0x4eee08,_0x197cb9);this[_0x102e90(0x44a)](_0x88d311,_0x515b47);}catch(_0x19d2db){this['_logService']['error'](_0x102e90(0x2a0),_0x19d2db),this['_clearUndo'](_0x88d311);}const _0x212189=this['_getRedoStack'](_0x88d311);if(_0x212189)try{const _0x4229d9=this['_transformStack'](_0x212189,_0x197cb9);this[_0x102e90(0x252)](_0x88d311,_0x4229d9);}catch(_0xeae509){this[_0x102e90(0x2e7)]['error'](_0xeae509),this['_clearRedo'](_0x88d311);}}[_0x4b5896(0x32f)](_0x45134f){var _0x1bc49d=_0x4b5896;const _0x348288=this[_0x1bc49d(0x370)](_0x45134f);_0x348288&&(_0x348288[_0x1bc49d(0x31b)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x57a450){var _0x2724e7=_0x4b5896;const _0x56a42f=this[_0x2724e7(0x22c)](_0x57a450);_0x56a42f&&(_0x56a42f[_0x2724e7(0x31b)]=0x0,this[_0x2724e7(0x418)]());}[_0x4b5896(0x44a)](_0x5235cc,_0x2ca289){var _0x5aa584=_0x4b5896;this[_0x5aa584(0x46f)][_0x5aa584(0x513)](_0x5235cc,_0x2ca289),this[_0x5aa584(0x418)]();}[_0x4b5896(0x252)](_0x317fab,_0x2b70d8){var _0x460e38=_0x4b5896;this[_0x460e38(0x45f)][_0x460e38(0x513)](_0x317fab,_0x2b70d8),this['_updateStatus']();}['_transformStack'](_0x27e437,_0x5e81ab){var _0x45d45c=_0x4b5896;const _0x25232d=[];let _0x19e4d6=_0x5e81ab,_0x50db78=_0x5e81ab;for(let _0xda6525=_0x27e437[_0x45d45c(0x31b)]-0x1;_0xda6525>=0x0;_0xda6525--){const {unitID:_0x60d5be,undoMutations:_0x41db49,redoMutations:_0x3041fd}=_0x27e437[_0xda6525],_0x1f73b9=this[_0x45d45c(0x2d2)][_0x45d45c(0x262)](_0x19e4d6,_0x41db49),_0x56e1c3=this['_transformService'][_0x45d45c(0x262)](_0x50db78,_0x3041fd);if(_0x5e2062[_0x45d45c(0x48d)](_0x1f73b9)||_0x5e2062[_0x45d45c(0x48d)](_0x56e1c3)){this[_0x45d45c(0x2e7)][_0x45d45c(0x542)](_0x45d45c(0x2a0),_0x45d45c(0x52b),_0x1f73b9,_0x56e1c3);break;}_0x19e4d6=_0x1f73b9[_0x45d45c(0x2c4)],_0x50db78=_0x56e1c3[_0x45d45c(0x2c4)],_0x25232d[_0x45d45c(0x435)]({'unitID':_0x60d5be,'undoMutations':_0x1f73b9[_0x45d45c(0x48c)],'redoMutations':_0x56e1c3['m2Prime']});}return _0x25232d[_0x45d45c(0x3d7)]();}},_0x1fe4e5[_0x4b5896(0x246)]=_0x1a6d03([_0x2c5b1c(0x0,_0x3a8efd[_0x4b5896(0x40f)]),_0x2c5b1c(0x1,_0x3a8efd[_0x4b5896(0x31c)]),_0x2c5b1c(0x2,_0x3a8efd[_0x4b5896(0x42d)]),_0x2c5b1c(0x3,_0x5e2062[_0x4b5896(0x529)]),_0x2c5b1c(0x4,_0x3a8efd[_0x4b5896(0x4b5)])],_0x1fe4e5[_0x4b5896(0x246)]);var _0x471188=Object[_0x4b5896(0x3e2)],_0x15d117=Object['getOwnPropertyDescriptor'],_0x3d4361=(_0xed035f,_0x1de5d3,_0x3b4411)=>_0x1de5d3 in _0xed035f?_0x471188(_0xed035f,_0x1de5d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b4411}):_0xed035f[_0x1de5d3]=_0x3b4411,_0x429cd5=(_0x146cee,_0x599029,_0x16514c,_0x3aefec)=>{var _0x40b34d=_0x4b5896;for(var _0x3c6ce0=_0x3aefec>0x1?void 0x0:_0x3aefec?_0x15d117(_0x599029,_0x16514c):_0x599029,_0x54b29c=_0x146cee[_0x40b34d(0x31b)]-0x1,_0x155ecb;_0x54b29c>=0x0;_0x54b29c--)(_0x155ecb=_0x146cee[_0x54b29c])&&(_0x3c6ce0=_0x155ecb(_0x3c6ce0)||_0x3c6ce0);return _0x3c6ce0;},_0x25b9d8=(_0x23d3f4,_0x42e1fc)=>(_0x4404ae,_0x1a44b5)=>_0x42e1fc(_0x4404ae,_0x1a44b5,_0x23d3f4),_0x544819=(_0x5e95e5,_0x457da1,_0x4378a0)=>_0x3d4361(_0x5e95e5,_0x457da1+'',_0x4378a0);const _0x4f7660=_0x4b5896(0x295);_0x1fe4e5[_0x4b5896(0x4be)]=class extends _0x3a8efd[_0x4b5896(0x1dc)]{constructor(_0x52cb04,_0x466f20,_0x1df431,_0x3eda4e){var _0x48ab56=_0x4b5896;super(),_0x33a719(this,_0x48ab56(0x32e)),(this['_logService']=_0x466f20,this[_0x48ab56(0x467)]=_0x1df431,this[_0x48ab56(0x229)]=_0x3eda4e);const {..._0x58b411}=_0x3a8efd[_0x48ab56(0x40b)]({},_0x5cef49,_0x52cb04);if(!_0x58b411[_0x48ab56(0x53d)])throw new Error(_0x48ab56(0x2f1));this[_0x48ab56(0x32e)]=_0x58b411,this[_0x48ab56(0x229)][_0x48ab56(0x384)](_0x3fa8a8,_0x58b411);}[_0x4b5896(0x4d2)](){var _0x313fcb=_0x4b5896;this[_0x313fcb(0x476)](),this[_0x313fcb(0x463)]();}[_0x4b5896(0x476)](){var _0x1836e9=_0x4b5896,_0x325a2a,_0x292a23;this[_0x1836e9(0x467)]['has'](_0x3a8efd[_0x1836e9(0x4f2)])&&this[_0x1836e9(0x2e7)][_0x1836e9(0x542)](_0x1836e9(0x1c9),_0x1836e9(0x449));const _0x1b7277=_0x3a8efd[_0x1836e9(0x21c)]([[_0x3a8efd[_0x1836e9(0x4f2)],{'useClass':_0x1fe4e5[_0x1836e9(0x246)]}],[_0x1fe4e5[_0x1836e9(0x1ed)]],[_0x1fe4e5[_0x1836e9(0x1cf)]],[_0x1fe4e5[_0x1836e9(0x235)]],[_0x2b9f33],[_0xc97bac],[_0x41f3ae],[_0x30e44a],[_0x5b5dc8],[_0x1fe4e5[_0x1836e9(0x47d)]],[_0x2b8c0d,{'useClass':this['_config'][_0x1836e9(0x53d)]}],[_0x5e2062[_0x1836e9(0x2d3)],{'useClass':_0x1fe4e5['SnapshotServerOverHTTPService']}],[_0x3a8efd[_0x1836e9(0x381)],{'useClass':_0x1fe4e5[_0x1836e9(0x2ee)]}],[_0x58b2c0[_0x1836e9(0x30f)],{'useClass':_0x1fe4e5[_0x1836e9(0x1d8)]}],[_0x3a8efd['IMentionIOService'],{'useClass':_0x1fe4e5['MentionIoHttpService']}],[_0x1fe4e5['CollaborationController']],[_0xa98e7c]],(_0x325a2a=this[_0x1836e9(0x32e)])==null?void 0x0:_0x325a2a[_0x1836e9(0x3e9)]);if(!((_0x292a23=this[_0x1836e9(0x32e)])!=null&&_0x292a23[_0x1836e9(0x491)])){const _0x1d9baa=_0x1b7277[_0x1836e9(0x441)](([_0xfe6c2c])=>_0xfe6c2c===_0x4632e6);_0x1d9baa!==-0x1&&_0x1b7277[_0x1836e9(0x1d6)](_0x1d9baa,0x1);}_0x3a8efd[_0x1836e9(0x260)](this['_injector'],_0x1b7277);}[_0x4b5896(0x463)](){var _0x2926e0=_0x4b5896,_0x1a8cda,_0x202e52,_0x4333a4;this[_0x2926e0(0x467)]['get'](_0x5a784f['HTTPService'])[_0x2926e0(0x335)]({'priority':0x14,'interceptor':_0x5a784f['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1a8cda=this[_0x2926e0(0x32e)])!=null&&_0x1a8cda[_0x2926e0(0x3ec)]||(_0x202e52=this[_0x2926e0(0x467)]['get'](_0x5d850f,_0x3a8efd['Quantity'][_0x2926e0(0x391)]))==null||_0x202e52['disableLocalCache'](),(_0x4333a4=this[_0x2926e0(0x32e)])!=null&&_0x4333a4['enableAuthServer']&&_0x3a8efd[_0x2926e0(0x4dd)](this['_injector'],[[_0x2b9f33]]),_0x3a8efd['touchDependencies'](this[_0x2926e0(0x467)],[[_0xc97bac],[_0x1fe4e5['CollaborationController']],[_0x30e44a]]);}},_0x544819(_0x1fe4e5[_0x4b5896(0x4be)],'pluginName',_0x4f7660),_0x1fe4e5[_0x4b5896(0x4be)]=_0x429cd5([_0x3a8efd['DependentOn'](_0x5e2062[_0x4b5896(0x2a5)],_0x5a784f[_0x4b5896(0x528)]),_0x25b9d8(0x1,_0x3a8efd[_0x4b5896(0x4b5)]),_0x25b9d8(0x2,_0x3a8efd[_0x4b5896(0x4b2)](_0x3a8efd[_0x4b5896(0x308)])),_0x25b9d8(0x3,_0x3a8efd[_0x4b5896(0x383)])],_0x1fe4e5['UniverCollaborationClientPlugin']),_0x1fe4e5[_0x4b5896(0x419)]=_0x3fa8a8,_0x1fe4e5['CollaborationStatus']=_0x366a4b,_0x1fe4e5[_0x4b5896(0x2f3)]=_0x758ea3,_0x1fe4e5[_0x4b5896(0x228)]=_0x5b5dc8,_0x1fe4e5[_0x4b5896(0x492)]=_0x41f3ae,_0x1fe4e5[_0x4b5896(0x215)]=_0x461a26,_0x1fe4e5['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x222c74,_0x1fe4e5[_0x4b5896(0x518)]=_0x3df7c5,_0x1fe4e5[_0x4b5896(0x3fb)]=_0x320476,_0x1fe4e5[_0x4b5896(0x407)]=_0xf8cda4,_0x1fe4e5['ICollaborationSocketService']=_0x2b8c0d,_0x1fe4e5[_0x4b5896(0x29e)]=_0x5d850f,_0x1fe4e5[_0x4b5896(0x1b7)]=_0x42d43b,_0x1fe4e5[_0x4b5896(0x2aa)]=_0x4632e6,_0x1fe4e5['LOCAL_CACHE_INTERVAL']=0x3e8,_0x1fe4e5['LOCAL_CACHE_INTERVAL_KEY']=_0x5f5c95,_0x1fe4e5[_0x4b5896(0x27b)]=_0x68efa9,_0x1fe4e5['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x88c7ad,_0x1fe4e5[_0x4b5896(0x4d0)]=_0x31c1b0,_0x1fe4e5['UnitStatus']=_0x1445d5,_0x1fe4e5[_0x4b5896(0x277)]=_0x50a746,_0x1fe4e5[_0x4b5896(0x217)]=_0x6872c8,_0x1fe4e5[_0x4b5896(0x2ea)]=_0x7e8078,Object[_0x4b5896(0x3e2)](_0x1fe4e5,Symbol['toStringTag'],{'value':_0x4b5896(0x2da)});}));function _0x288d(){var _0x7aa28f=['toDisposable','_collaborationUIEventService','getFocusedUnit','InsertSheetMutation','OFFLINE','SNAPSHOT_INVALID_SNAPSHOT','COMPLETION_FINISHED','init','_DEC_XFORM_MODE','onTransformSelections','readyForCollab','_timeoutTimer','randomBytes','isTransformMutationsWithChangesetSuccess','reverse','_map','[SyncedState]:\x20received\x20acknowledgement.','_telemetryInfo','PENDING','CBC','_getDownloadEndpointURL','Base','CommandType','getWorkbookSelections','_entityInit$','defineProperty','getCollabEntity$','ENTITLE_COUPON_EXPIRED','readAsDataURL','MD5','pad','action','override','newCsEvent','USERS_LEAVE','enableOfflineEditing','Disposable','FETCH_MISS','Decryptor','CONFLICT','REDEMPTION_USER_NOT_ELIGIBLE','/fetchmissing?from=','setCurrentUser','Subject','UserManagerService','_userManagerService','_getCtorByUniverType','getCurrentRevOfUnit','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','msCrypto','HEARTBEAT_INTERVAL_KEY','loadUnitOfRevision','Hex','\x0aAfter:\x20','key','algo','headers','_getSendChangesetTimeout','UNIVER_PROJECT','PERMISSION_REJ','copyFileMeta','session.room-full','HEARTBEAT_TIMEOUT_KEY','onRemoteRetry','_schedule','_process','merge','[CollaborationSession]','WordArray','image/jpg','IUniverInstanceService','_waitCount','_rescheduleHeartbeat','GLOBAL_ROOMS_CNT_EXCEEDS','_lockTransition','append','_snapshotServerService','sid','_sessionStatus$','_updateStatus','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_socketReady','requireSession','SNAPSHOT_URL_KEY','onStateChange','/new_changes','onSyncEditingCollabCursor','max','LIVESHARE_FETCH_OPERATIONS','dispose$','_collaborationSessionService','getTypeOfUnitDisposed$','SheetPermissionInitController','ENTITLE_USE_COUPON_NOT_1ST_TRADE','UnitEmbedded','_memberService','objectType','_syncEditingCollabCursor','mapDocumentTypeToUniverType','UniverCore','IContextService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_pendingMutations','SUBMIT_CHANGESET_TIMEOUT','DEFAULT_FILE_NAME','auth.needGotoLoginAlert','NO_OTHER_CLIENTS_EDITING','_retryCount','push','_checkMissing','_commentUpdate$','updateCollaborator','catch','getUnitOnRev','_collaborationTimeoutTimer','_sendHeartbeatTimer','enc','LOGIN_FAILED','APPLY_NON_SEQUENTIAL_REVISION','_clearCollaborationTimeoutTimer','findIndex','25GLMuRs','origin','_handlerCallback','_clearRetryConnectingTimer','resend','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clear','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_substituteUndoStack','ImageSourceType','INVALID_INVITE_CODE','FileId','cfg','dispose','TOO_MANY_REQUESTS','map','byteLength','_waitForHeartbeatResponse','_createHelper','_onConnectionFailed','interceptor','@univerjs/sheets','COMPRESS_MUTATION_APPLY','1819296yoBeGX','FAIL','getMember','_clearTimeoutTimer','processBlock','isInternalEditorID','_redoStacks','_transformUndoredo','incrementRevOfUnit','SyncedState','_initDependencies','UniverProCollaboration','subscribe','onlyLocal','_injector','ImageUploadStatusType','charAt','_networkConditionService','_sender','toString','getRoom','_createInitialStateImpl','_undoStacks','appendMutation','LOCAL_CACHE_INTERVAL','_nRounds','call','createIdentifier','updatePermissionPoint','_registerDependencies','UNISCRIPT_RUN','ceil','/resources','_getAPIPrefixPath','getCurrentSelections','infoRsp','DataLoaderService','params','COMPRESS_MUTATION_SEND','decrypt','fromCharCode','waitForRoom$','SetSelectionsOperation','_executeRemoteChangeset','toggleOffline','_event$','emitEvent','_initRequestHeader','_tryEnsureSocket','PAYMENT_CHANNEL_NOT_SUPPORT','from','m2Prime','isTransformMutationsWithChangesetFailure','baseRev','OpenSSL','LEAVE','enableSingleActiveInstanceLock','CommentService','LIVESHARE_REQUEST_HOST','UniverProLicense','INGEST','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onJoinRoomEvent','ClipsheetFragments','conflict','getUnitId','SnapshotServerOverHTTPService','_collabSessionService','HEARTBEAT_INTERVAL','getRandomValues','_throwTelemetryCollaborationNewChangeset','@univerjs/drawing','error$','$super','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_onRemoteRejected','byteOffset','UNRECOGNIZED','ALREADY_EXISTS','_remoteChangesetQueue','ReplaySubject','DATA_SOURCE_TOO_LARGE','eventID','SHA1','RxDisposable','awaiting','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','sequenceExecute','_resendTimer','Inject','sin','LICENSE_MAX_UNITS_EXCEEDED','ILogService','get','HTTPRequest','UNIVER_SLIDE','UNIVER_SHEET','_revisionService','putCollaborators','BlockCipher','_onConflict','UniverCollaborationClientPlugin','_collaborationPaused','getResourcesRequest','/block/','isArray','failed\x20to\x20apply\x20missed\x20changesets!','_createSocket','_singleActiveUnitService','getGlobalObject','_prevBlock','RichTextEditingMutation','YUUMI_UNABLE_LOAD_URL','clone','encryptBlock','_createInitialState','[CollaborationEntity]','operators','focused$','SessionStatus','ERROR_EXCEED_SIZE','onStarting','/universer-api/uniscript','_socketMessageSubscription','open$','unsubscribe','listCollaborators','onTransformIME','c2Prime','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','uniscriptRunEvent','synced','touchDependencies','_entities','[SyncedState]:\x20received\x20rejection.','_onRemoteRetry','_socketService','_updateState','OTHER_CLIENT_EDITING','@univerjs/telemetry','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/role','208798QyNmUm','_univerInstanceService','then','ENTITLE_CAN_NOT_BUY_LOWER_OTP','next','_shouldReportTelemetry','?size=','toggleOnline','REDEMPTION_CODE_FULLY_REDEEMED','univer-pro.collaboration-client-socket-service','prototype','IUndoRedoService','src','_compressMutationService','SYNCED','/universer-api/stream/file/upload','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_sendingTimer','pending','generateRandomId','_candidateSocket','encodeURIComponent','CLOSE_ROOM','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_minBufferSize','UniverSheets','7JALWYX','reject','SUBMIT_CHANGESET','_doCryptBlock','href','_submitChangeset','{fileID}','unit-cache-','entries','MSG_FOR_ERROR','workbook','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','authzUrl','transformSelections','CollaborationSession','create','_joinRoom','_removeRoom','set','actions','find','initWorkbookPermissionChange','_hasher','DEFAULT_WS_SESSION_TICKET_URL','random','sigBytes','@univerjs/network','every','LICENSE_EXPORT_SIZE_EXCEEDED','editingUnit','image/gif','_toggleOnline','_sessions','WorkbookEditablePermission','getConfig','JOIN_ROOM_FULL','[CollaborationState]:\x20apply\x20error!','/universer-api/user/session-ticket','USER_NOT_INVITED_CODE','UniverNetworkPlugin','ITransformService','_transformRemoteChangesetByStateCache','transformStack\x20failed!','IPermissionService','[DataLoaderService]','finalize','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_commentService','_scheduleCollaborationTimeoutTimer','_initCloseConn','_disableEditing','onRemoteAck','_clearScheduledTask','PendingState','_replayCachedMutations','_applyRemoteChangeset','/allowed','_roomCreated$','Rectangle','csShouldRetryEvent','socketService','string','_change$','collaboratorID','_onRemoteChangeset','error','rxjs','CollaborationSocketService','SHOULD_CLOSE_CONN','list','HEARTBEAT_TIMEOUT','EMAIL_HAS_BEEN_BOUND','UNKNOWN_CMD','post','UNIVER_UNKNOWN','onRemoteRej','_isPermissionRej','exports','UniverInstanceType','_permissionService','_handler','_incrementRevisionNumber','PERSON','unitInfo$','Undefined','memberID','INetworkConditionService','equals','JOIN_ROOM_PERMISSION_DENIED','debug','PERMISSION_DENIED','WECHAT_HAS_BEEN_BOUND','lib','body','NoPadding','CollaborationEvent','_doCreateSocket','_members$','stopTime','Malformed\x20UTF-8\x20data','delete','SheetsSelectionsService','b64DecodeUnicode','getCollabEntity','[UniverCollaborationClientPlugin]','POST','_resendTimeout','_transformStack','_getCurrentRevision','getImage','MemberService','stringify','add','data','reset','ONLINE','createDecryptor','splice','updateOfflineData','CollaborationImageIoService','_acknowledgedAwaitingChangeset','_commandService','avatar','Plugin','size','Workbook','reqId','target','mode','_doReset','clamp','parseChangesetToProtocol','entityInit$','Univer','readInt32LE','RECV','_createHmacHelper','CHANGESET_REJ','UNKNOWN_CODE','Optional','CollaborationSessionService','url','YUUMI_URL_COL_OUT_OF_RANGE','Encryptor','put','[OfflineState]:\x20received\x20changeset.','REDEMPTION_CODE_NOT_STARTED','sendChangesetTimeout','close$','sessionStatus$','refreshPermission','Tools','Base64','confirm','UserProfileImg','parse','amd','_iKey','fromCollab','INVITE_CODE_HAS_BEEN_UES','ENTITLE_DUP_SUBSCRIPTION','getValue','uuidv4','FetchingMissState','Utf8','objectID','HEARTBEAT','parseProtocolChangeset','_keySchedule','commentUpdateEvent','_state$','APPLY_PERMISSION_DENIED','unpad','getMemberID','isTransformChangesetsSuccess','ENTITLE_INVALID_COUPON_CODE','onRemoteChangeset','shareReplay','849VbPdcP','repeat','DEFAULT_COLLAB_WEB_SOCKET_URL','signUrlServerUrl','getLocalCacheKey','RETRY_CONNECTING_MAX_COUNT','salt','UniverProCollaborationClient','_members','mergeOverrideWithDependencies','unitId','mutations','_socket','CHANGESET_SHOULD_RETRY','_doProcessBlock','_getSignURL','[FetchMissState]','takeUntil','_getAPIPrefix','AWAITING','HTTPService','CollaborationUIEventService','_configService','HttpImport','getSnapshotAPIPath','_getRedoStack','UniverTelemetry','concat','_retryConnectingTimer','collaboration-client.config','onload','snapshot','_tryReconnect','UNIVER_DOC','SheetTransformSelectionsService','UPDATE_CURSOR','firstValueFrom','concatMap','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','image/png','USER_IS_ANONYMOUS','resolve','message$','APPLY_REVISION_CONFILICT','ENTITLE_REPORT_LIMIT_EXCEED','YUUMI_ASYNCIO_CANCELLED','compute','_state','encode','[OfflineState]:\x20received\x20rejection.','[CollaborationSessionService]','CollaborativeUndoRedoService','UNAUTHENTICATED','_startTelemetryCollaborationNewChangeset','_getUploadFileURL','awaiting_with_pending','rev','AES','2059607NbzOsn','[PendingState]:\x20received\x20acknowledgement.','updateSnapshot','/-/object/-/batch_allowed','&source=','_substituteRedoStack','_onMessage','min','update','_unitInfo$','_transformRemoteChangesetByIMECache','INVITE_CODE_ALREADY_BOUND','UniverDrawing','type','SNAPSHOT_HAS_BEEN_REMOVED','_transitionLocked','_localCacheService','[PendingState]:\x20received\x20rejection.','_stopTelemetryCollaborationNewChangeset','registerDependencies','_onCombEvent','transformMutationsWithChangeset','CollaborationController','_append','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','sessionStatus','CHANGESET_REVISION_CONFILICT','loadSheet','saveSheetBlock','socket\x20open.','setShowComponents','file','getDeserializedSheetBlock','csRejEvent','session.room-permission-denied','textEncoder','subUnitId','_roomMembers','apply','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_socket$','_onLocalMutation','deserializeToCombResponse','/-/object/list','collaMsg','reconnect','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','ENTITLE_NEED_BILLING_ADDRESS','__esModule','session.join-failed','_ENC_XFORM_MODE','_key','20lQGEpg','blockSize','removeMember','createInstance','loginUrlKey','HMAC','_maxTotalRetryTimeout','__creator','keySize','unitID','forEach','_eventService','connection\x20error','_sheetTransformSelectionsService','_listenToNetworkCondition','fetchThroughInterceptors','UUID','ivSize','BehaviorSubject','CompressMutationService','UNIVER_COLLABORATION_CLIENT_PLUGIN','__Key__','Hasher','duration','ENTITLE_INSUFFICIENT_QUOTA','COMMENT_UPDATE','shouldCloseConn','default','CHANGESET_ACK','ILocalCacheService','_parse','[CollaborationUndoRedoService]','LIVESHARE_OPERATION','_initUnitPermissionChange','saveSnapshot','csAckEvent','UniverCollaborationPlugin','MOBILE_HAS_BEEN_BOUND','transformChangesets','[CollaborationSessionService]:\x20socket\x20error','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','ISingleActiveUnitService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onMissedChangesetFetched','onCommentUpdate','LIVESHARE_TERMINATE','result','selections','HmacSHA1','cmd','replace','batchAllowed','JOIN_ROOM_NOT_EXISTS','event$','decryptBlock','collaborators','USERS_ENTER','ENTITLE_CHAT_LIMIT_EXCEED','_unitID','YUUMI_CONNECTOR_URL_NOT_FOUND','_unlockTransition','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_fetchMissChangesets','AwaitingWithPendingState','BufferedBlockAlgorithm','getCurrentUser','iterations','c1Prime','_keyPriorReset','OfflineState','symbol','ws://127.0.0.1:8000/universer-api/comb/connect','3449826xGxlYB','MergeInterceptorFactory','getInterceptPoints','NOT_FOUND','roomInfos','_iv','execute','kdf','createCollaborator','_transformService','ISnapshotServerService','UnitSnapshot','NOT_COLLAB','SOCKET_FAILED','send','AwaitingState','/unit/','Module','loadDoc','members$','fetchMissingChangesets','location','/rev/','hasOwnProperty','addHandlerCallback','/collaborator','session','_onRemoteACK','_status$','_transformStateCache','_logService','_httpService','\x20to\x20','serializeCombRequest','_onOffline','_clearHeartbeatTimer','close','AuthzIoHttpService','RevisionService','PY_RUNTIME_SCRIPT_ERROR','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','enableCollaboration','CollaborationUIEventId','title','USER_NOT_FOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','IDLE','executeCommand','_onConnectionOpen','ciphertext','transformUndoRedo','MentionIoHttpService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/universer-api/comb','crypto','words','revision','_queuedRemoteChangesets','onTransformRemoteChangesetByIMECache','YUUMI_RATE_OVER_LIMIT','_telemetryService','snapshotServerUrl','PSEUDO_FETCH_MISSING_RESULT','Injector','@univerjs/core','_awaitingChangeset','LocaleService','ENTITLE_COUPON_USED_UP','state$','JOIN_ROOM_FAILED','IImageIoService','_changesetSessionId','onMutationExecutedForCollab','_HTTPService','liveShareNewHost','status$','fetchMiss','floor','ERROR_IMAGE','status','abs','resourceIDs','length','ICommandService','_instanceService','_imageSourceCache','CONNECTOR_DATA_TOO_LARGE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','members','charCodeAt','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getUnitType','padding','slice','encrypt','REDEMPTION_USER_REDEEM_TIMES_EXCEED','filter','YUUMI_AI_RUN_FAILED','_startCollaboration','LICENSE_DISTRO_REJECTED','APPLY_DUPLICATED','_config','_clearUndo','getTime','localeService','originalMeta','x-univer-host','_onUserJoin','registerHTTPInterceptor','SOCKET_FAILED_RETRY','&assign=','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','leaveEvent','99888TmVTyS','_onRecvEvent','_resendWithTimeout','subject','fetch_missing','updatePermissionObjEvent','createEncryptor','onSendChangeset','loadOfflineData','SUCCUSS','_decreaseWaiting','_hash','getTypeOfUnitAdded$','onLocalMutation','saveImage','People','REDEMPTION_CODE_INACTIVE','CURRENT_STATUS_CANNOT_OPERATE','HELLO','_snapshotService','patch','listRoles','asObservable','MOBILE_VERIFY_CODE_MISMATCH','_replaceFileID','disposeWithMe','code','?url=','MentionType','_cipher','LocalUndoRedoService','awaitingChangeset','unknown','responseType','LIVESHARE_NEW_HOST','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_nDataBytes','/object/','_sendHeartbeat','isPermissionRej','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','buffer','_invKeySchedule','@univerjs/docs','OTHER_CLIENTS_EDITING','routeKey','range','mixIn','ENSURE_SNAPSHOT_EXECUTION','@univerjs-pro/license','_data','join','extend','getOwnPropertyDescriptor','_getUndoStack','AUTHORIZE_CODE_ILLEGAL','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','userID','_transformIMECache','_xformMode','2246olxSUb','_undoRedoService','_showConflictNotification','JOIN','_scheduleCompleteTimestamp','/universer-api/oidc/authpage','addImageSourceCache','DocCollaborationEntity','NEW_CHANGESETS','delay','_init','IAuthzIoService','_transformSelections','IConfigService','setConfig','requestParams','_oKey','change$','REDEMPTION_INVALID_CODE','editing\x20status\x20changed\x20to','SnapshotService','textRanges','_reverseMap','format','/universer-api/snapshot/','_toggleOffline','getUnitStatus$','OPTIONAL','ERROR_AGAIN','Cipher','_changesetReqId','createSocket','closeSession','complete','CollaborationEntity','_createHandler','onTransformState','name','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','&to=','StreamCipher','YUUMI_ALL_TABLES_IS_INVALID','SheetCollaborationEntity','[PendingState]:\x20unhandled\x20univer\x20type:\x20','HttpExport','state','univer-pro.collaboration-client.network-condition.service','uploadFileServerUrl','_doFinalize','getSheetId','updateMember','permissionRejEvent','_mode','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_getLoginPath','commentUpdate$','socket$','UniverNetwork','telemetry\x20info\x20is\x20not\x20initialized','joinEvent','hasher','sheets','ConflictState','offline','_type','pipe','onTransformRemoteChangesetByStateCache','_clearLocalCache','localCacheService','withCredentials','_updateLocalCache','values','reduce','5352876Itmvkq','function','BASE64','_localeService','EvpKDF','INVITE_CODE_REQUIRED','APPLY_REJECT','onMissingChangesets','take','LICENSE_IMPORT_SIZE_EXCEEDED'];_0x288d=function(){return _0x7aa28f;};return _0x288d();}
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
(function(
|
|
5
|
+
function _0x3771(_0x269059,_0x2ae5f1){_0x269059=_0x269059-0x145;const _0x24da94=_0x24da();let _0x377148=_0x24da94[_0x269059];return _0x377148;}function _0x24da(){const _0x2313ee=['FCollaboration','UniverProCollaborationClientFacade','626104PkXaKs','object','toStringTag','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','getCollabEntity','DataLoaderService','values','FUniver','Inject','rxjs','16728984EFniki','@univerjs-pro/collaboration','loadUnitOfRevision','UniverCoreFacade','loadServerUnit','MemberService','extend','waitForRoom$','UniverProCollaborationClient','getUniverSheet','CollaborationStatus','toDisposable','loadServerUnitOfRevision','readyForCollab','12IKjFoh','Injector','loadActiveSheet','_injector','getCollaborationStatus','get','FEnum','state','7897792vEPUTq','_univerInstanceService','2813279xnLeTj','_collaborationController','getCollaboration','getOwnPropertyDescriptor','_snapshotService','Module','loadSheet','defineProperty','loadActiveSheetAsync','switchMap','NOT_COLLAB','4GnwbMU','@univerjs-pro/collaboration-client','subscribeCollaborators','710799OyTEGR','652150czTqea','CollaborationController','loadUnit','SnapshotService','FBase','function','UniverCore','_handler','@univerjs/core/facade','from','status','838698sGjYXO','IUniverInstanceService'];_0x24da=function(){return _0x2313ee;};return _0x24da();}(function(_0x229478,_0x2342d6){const _0x358a27=_0x3771,_0x32070c=_0x229478();while(!![]){try{const _0x347475=-parseInt(_0x358a27(0x15f))/0x1+-parseInt(_0x358a27(0x15b))/0x2+-parseInt(_0x358a27(0x14f))/0x3+-parseInt(_0x358a27(0x14c))/0x4*(-parseInt(_0x358a27(0x150))/0x5)+-parseInt(_0x358a27(0x177))/0x6*(-parseInt(_0x358a27(0x181))/0x7)+-parseInt(_0x358a27(0x17f))/0x8+parseInt(_0x358a27(0x169))/0x9;if(_0x347475===_0x2342d6)break;else _0x32070c['push'](_0x32070c['shift']());}catch(_0x15c6d2){_0x32070c['push'](_0x32070c['shift']());}}}(_0x24da,0x7fc7e),function(_0x25eb8f,_0x1d7a45){const _0x7ecf3=_0x3771;typeof exports==_0x7ecf3(0x160)&&typeof module<'u'?_0x1d7a45(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x7ecf3(0x155)&&define['amd']?define(['exports',_0x7ecf3(0x14d),_0x7ecf3(0x158),_0x7ecf3(0x16a),'@univerjs/core',_0x7ecf3(0x168)],_0x1d7a45):(_0x25eb8f=typeof globalThis<'u'?globalThis:_0x25eb8f||self,_0x1d7a45(_0x25eb8f[_0x7ecf3(0x15e)]={},_0x25eb8f[_0x7ecf3(0x171)],_0x25eb8f[_0x7ecf3(0x16c)],_0x25eb8f['UniverProCollaboration'],_0x25eb8f[_0x7ecf3(0x156)],_0x25eb8f[_0x7ecf3(0x168)]));}(this,function(_0x45dfab,_0x5ba230,_0x50ea95,_0x4ac398,_0x59b9f5,_0x31e6c9){'use strict';const _0x1bee8b=_0x3771;class _0x4053f9 extends _0x50ea95[_0x1bee8b(0x17d)]{get[_0x1bee8b(0x173)](){const _0x39bb3d=_0x1bee8b;return _0x5ba230[_0x39bb3d(0x173)];}}_0x50ea95[_0x1bee8b(0x17d)][_0x1bee8b(0x16f)](_0x4053f9);var _0x7f9dcb=Object[_0x1bee8b(0x184)],_0x1d2d84=(_0x1ffefd,_0x599d8e,_0x222bc7,_0x42f759)=>{for(var _0x34fc95=_0x42f759>0x1?void 0x0:_0x42f759?_0x7f9dcb(_0x599d8e,_0x222bc7):_0x599d8e,_0x5a0b23=_0x1ffefd['length']-0x1,_0x3bfa0c;_0x5a0b23>=0x0;_0x5a0b23--)(_0x3bfa0c=_0x1ffefd[_0x5a0b23])&&(_0x34fc95=_0x3bfa0c(_0x34fc95)||_0x34fc95);return _0x34fc95;},_0x2f2476=(_0x4ded02,_0x5bdecc)=>(_0x347b98,_0x366228)=>_0x5bdecc(_0x347b98,_0x366228,_0x4ded02);_0x45dfab[_0x1bee8b(0x15d)]=class extends _0x50ea95[_0x1bee8b(0x154)]{constructor(_0x146ecf,_0x112186,_0x47d98b,_0x4f0202,_0x112e36){const _0x17eb3c=_0x1bee8b;super(),this['_handler']=_0x146ecf,this[_0x17eb3c(0x17a)]=_0x112186,this['_univerInstanceService']=_0x47d98b,this[_0x17eb3c(0x145)]=_0x4f0202,this[_0x17eb3c(0x182)]=_0x112e36;}async[_0x1bee8b(0x179)](){const _0x299d17=_0x1bee8b;return this[_0x299d17(0x149)]();}async['loadActiveSheetAsync'](){const _0x165cb9=_0x1bee8b;throw new Error(_0x165cb9(0x162));}async[_0x1bee8b(0x147)](_0x31418){return this['loadSheetAsync'](_0x31418);}async['loadSheetAsync'](_0x8552fc,_0x5b47ae){const _0x8114a0=_0x1bee8b;return await this[_0x8114a0(0x145)]['loadSheet'](_0x8552fc,0x0,_0x5b47ae)?(await this[_0x8114a0(0x182)][_0x8114a0(0x176)](_0x8552fc),this[_0x8114a0(0x157)][_0x8114a0(0x172)](_0x8552fc)):null;}[_0x1bee8b(0x14e)](_0x4653e0,_0x30d997){const _0x33d5a8=_0x1bee8b,_0x4bdd1a=this[_0x33d5a8(0x17a)]['get'](_0x5ba230[_0x33d5a8(0x16e)])[_0x33d5a8(0x170)](_0x4653e0)['pipe'](_0x31e6c9[_0x33d5a8(0x14a)](_0x4d1dba=>_0x4d1dba['members$']))['subscribe'](_0xe5f54d=>_0x30d997(Array[_0x33d5a8(0x159)](_0xe5f54d[_0x33d5a8(0x165)]())));return _0x59b9f5[_0x33d5a8(0x174)](_0x4bdd1a);}[_0x1bee8b(0x17b)](){const _0x1336d3=_0x1bee8b,_0x5448ec=this[_0x1336d3(0x180)]['getFocusedUnit']();if(!_0x5448ec)return _0x5ba230['CollaborationStatus'][_0x1336d3(0x14b)];const _0x4c862d=this['_collaborationController'][_0x1336d3(0x163)](_0x5448ec['getUnitId']());return _0x4c862d?_0x4c862d[_0x1336d3(0x17e)][_0x1336d3(0x15a)]:_0x5ba230[_0x1336d3(0x173)][_0x1336d3(0x14b)];}},_0x45dfab[_0x1bee8b(0x15d)]=_0x1d2d84([_0x2f2476(0x1,_0x59b9f5['Inject'](_0x59b9f5[_0x1bee8b(0x178)])),_0x2f2476(0x2,_0x59b9f5[_0x1bee8b(0x15c)]),_0x2f2476(0x3,_0x59b9f5[_0x1bee8b(0x167)](_0x4ac398[_0x1bee8b(0x153)])),_0x2f2476(0x4,_0x59b9f5['Inject'](_0x5ba230[_0x1bee8b(0x151)]))],_0x45dfab[_0x1bee8b(0x15d)]);class _0x26e1c3 extends _0x50ea95[_0x1bee8b(0x166)]{[_0x1bee8b(0x183)](){const _0x3f1a10=_0x1bee8b;return this['_injector']['createInstance'](_0x45dfab[_0x3f1a10(0x15d)],{'getUniverSheet':_0x18dd52=>this['getUniverSheet'](_0x18dd52)});}[_0x1bee8b(0x16d)](_0x38757a,_0xa1d554,_0xedb69f){const _0x17ef0b=_0x1bee8b;return this[_0x17ef0b(0x17a)][_0x17ef0b(0x17c)](_0x5ba230[_0x17ef0b(0x164)])[_0x17ef0b(0x152)](_0x38757a,_0xa1d554,_0xedb69f);}[_0x1bee8b(0x175)](_0x2dae4d,_0x496ee1,_0x499956){const _0x3878b4=_0x1bee8b;return this[_0x3878b4(0x17a)][_0x3878b4(0x17c)](_0x5ba230[_0x3878b4(0x164)])[_0x3878b4(0x16b)](_0x2dae4d,_0x496ee1,_0x499956);}}_0x50ea95['FUniver'][_0x1bee8b(0x16f)](_0x26e1c3),Object[_0x1bee8b(0x148)](_0x45dfab,Symbol[_0x1bee8b(0x161)],{'value':_0x1bee8b(0x146)});}));
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
function _0x42c3(){const _0x3a0e29=['CONNECTOR_DATA_TOO_LARGE','svg','CURRENT_STATUS_CANNOT_OPERATE','beforeCommandExecuted','Injector','NOT_COLLAB','takeUntil','blue.400','_onRefRangeChange','_lastResponseTimestamp','UnitStatus','_removeCollabCursors','[CollaborationDataLoaderController]','UniverInstanceType','filter','collaboration.closeRoom','url(#$1','IRemoteInstanceService','collabStatus.offline','createIdentifier','Warning','ILocalStorageService','_toggleOffline','save','startsWith','executionId','_range','on-line-icon_clip0_910_349','_unitStatus','get','BehaviorSubject','_initStatusListener','onPointerEnter$','_currentUsage','_ensureSubject','20FAmBmk','result','closePath','Rect','onPointerMove$','isTransformMutationsWithChangesetSuccess','deepClone','isFormulaString','_hideTimer','_maxFormulaLimit','NodePositionConvertToCursor','params','4bpxakG','ranges','LICENSE_IMPORT_SIZE_EXCEEDED','_docSkeletonManagerService','_docSyncEditingCollabCursorService','session.collaboration-timeout','getCoordByCell','complete','getRelativeToViewportCoord','setTimeout','ICommandService','_uiPartsService','deserializeRangeWithSheet','getMemberID','[LogService\x20Error]:\x20','_handleHover','_registerDependencies','defineProperty','forwardRef','20QxvavE','setParam','getUndoRedoMutationParamsCache','_refRangeService','transformIMECache','onStarting','getUnitId','toString','MessageType','_init','distinctUntilChanged','getCurrentSelections','ALREADY_EXISTS','error','PY_RUNTIME_SCRIPT_ERROR','evenodd','_revisionService','UniverDocsUi','SNAPSHOT_INVALID_SNAPSHOT','ILocalCacheService','font','SheetsSelectionsService','@univerjs/engine-render','subscribe','updateOfflineData','DataLoaderService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNRECOGNIZED','delete','setItem','RemoveRowCommandId','_hovered','_send','handleInsertCol','_collaborationController','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getDocRanges','_unitOnClients','13ggOBkk','subunit','getMember','assignAColorForMemberID','LocaleService','_transformHistoryAndStateStack','collabStatus.conflict','saveTaskMap','loadOfflineData','_docTransformIMECacheService','_name','_syncEditingCollabCursorService','_saveTaskMap','APPLY_PERMISSION_DENIED','Subject','_pollingInterval','dirtyRanges','Tools','CONFLICT','EffectRefRangId','UNDEFINED','formula.calculation.unable','UniverDrawing','_httpService','NO_OTHER_CLIENTS_EDITING','reconnect','generateRandomId','_online','split','_hasFormulaInDirtyRanges','function','touchDependencies','_messageService','_drawAnchor','COLORS','registerRefRange','_onCursorDelete','has','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addObjects','_initUserListener','_initWindowErrorListener','socket$','width','ticket','SetFormulaCalculationNotificationMutation','addObject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','clipPath','drawWith','getViewport','registerDependencies','m1Prime','skeleton','80628WjFkMp','url(#off-line-icon_clip0_910_343)','_releaseCalculationLimit','IImageIoService','@univerjs/network','createInstance','transformSelections','useRef','debounce','_handleEvent','unitId','DesktopCollaborationStatusDisplayController','enableFrontendLog','MoveRangeCommandId','debug','div','CollaborationSessionService','setConfig','red.300','toStringTag','_imageIoService','NodePositionConvertToRectRange','rxjs/operators','@univerjs/design','collab-text-range-','/universer-api/license/formula/limit/status','collaboration.single-unit.warning','_refreshCollabCursors','_setFormulaLimitStatus','_setupSubUnitSync','getCurrentUnitForType','@univerjs/docs-ui','from','_shapes','OTHER_CLIENTS_EDITING','32231JpwpuO','undoState','RefRangeService','_updateCollabCursors','_registerRenderDependencies','black','off-line-icon_clip0_910_343','FormulaExecuteStageType','code','@univerjs-pro/collaboration-client','mutations','random','react','path','getColorFromTheme','Inject','6DpqCOx','DocCollaborationEntity','IRenderManagerService','round','...','OFFLINE','onTransformChange$','event$','size','_memberService','permission.title','UniverProCollaborationClientUi','wsSessionTicketUrl','YUUMI_AI_RUN_FAILED','top','arc','UNIVER_DOC','children','unitID','REDEMPTION_CODE_FULLY_REDEEMED','_roomMembers$','_disabled','_initUnhandledRejectionListener','includes','formula.calculation.waiting','APPLY_NON_SEQUENTIAL_REVISION','now','clsx','transformMutationsWithChangeset','UniverCollaborationClientUIPlugin','mapTo','UniverEngineRender','_hover','APPLY_REVISION_CONFILICT','_checkAndWaitForCalculationPermission','serializeRangeWithSheet','?taskId=','_sheetSkeletonManagerService','MOBILE_VERIFY_CODE_MISMATCH','currentSkeleton$','executeCommand','memberID','isArray','CLOSE_ROOM','getAncestorScale','entries','LICENSE_MAX_UNITS_EXCEEDED','whenReady','WebBrowserSingleActiveUnitService','AUTHORIZE_CODE_ILLEGAL','createSocket','CollaborationStatus','collabCursorState$','_startSheetCollabCursor','setStateCache','location','_commandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','source','currentColor','unhandledrejection','http://www.w3.org/2000/svg','/universer-api/frontend/logs','_id','DOC_RANGE_TYPE','REDEMPTION_INVALID_CODE','RevisionService','getRenderById','getSheetObject','_draw','rxjs','colno','_cursorShapes','RemoteUniscriptService','off-line-icon','message','_getAnchorBounding','DocIMEInputManagerService','_backgroundColor','makeDirty','_updateURLWithCurrentState','SetDocZoomRatioOperation','TOO_MANY_REQUESTS','replaceDocRanges','UniverDesign','getItem','pushState','_setupBeforeClosingHandler','EMAIL_HAS_BEEN_BOUND','stage','COMPLETION_FINISHED','0\x200\x2017\x2016','setAlpha','_eventUnsubscribe','ThemeService','isActive','BrowserCollaborationSocketService','ENTITLE_NEED_BILLING_ADDRESS','CHANGESET_REVISION_CONFILICT','collab-rect-range-','idSuffix','1912440Yabwcb','_localeService','collabStatus.syncing','ENTITLE_CAN_NOT_BUY_LOWER_OTP','transformRemoteChangeset','_renderManagerService','REDEMPTION_CODE_HAS_BEEN_CREATED','React','0\x200\x2016\x2016','REDEMPTION_CODE_NOT_STARTED','AWAITING','override','rgba(255,\x20255,\x20255,\x200.01)','useObservable','_color','PAYMENT_CHANNEL_NOT_SUPPORT','DeleteRangeMoveLeftCommandId','maxFormulaLimit','HEADER_MENU','getParam','LOCAL_CACHE_INTERVAL','cursorInfo','Shape','_docClipboardService','FormulaExecutedStateType','fillText','name','current','startColumn','WebURLService','jsx','getActiveSheet','Optional','ENTITLE_COUPON_USED_UP','getTypeOfUnitAdded$','_initEntityListener','UniverDocs','Vector2','1em','univer-flex\x20univer-items-center','INVALID_INVITE_CODE','CollaborationEvent','reason','storage','DEFAULT_WS_SESSION_TICKET_URL','filename','show','uni.network.url-service','MUTATION','xlink:href','findNodePositionByCharIndex','push','_cursor','WECHAT_HAS_BEEN_BOUND','_removeClearOtherTimer','unshift','ENTITLE_REPORT_LIMIT_EXCEED','registerRenderModule','syncEditingCollabCursor','tag','INVALID_ARGUMENT','_session','OnLineIcon','_collaborationUIEventService','OffLineIcon','_labelPosition','FromArray','getSkeleton','requireSession','parseInt','lineTo','YUUMI_UNABLE_LOAD_URL','then','selection','_createSocketURL','APPLY_REJECT','CollaborationUIEventService','useDependency','fromEvent','jiqing.500','Disposable','_render','_toggleOnline','_config','_cursorInfo$','releaseFormulaLimitUrl','UniverNetwork','721007sCbDjr','onMouseMove','ENTITLE_CHAT_LIMIT_EXCEED','UniverProCollaboration','some','getConfig','editingUnit','dispose','1104323JLXTTE','setShapeProps','replace','handleMoveRange','_localStorageService','_entityInit$','_handleLeaveEvent','min','IUIPartsService','endColumn','CollaborationController','_univerInstanceService','substring','_instanceService','UniverProCollaborationClient','onCommandExecuted','DeleteRangeMoveUpCommandId','LOGIN_TOKEN_PROCESSING_FAILED','asObservable','_clearOtherTimers','BuiltInUIPart','enableLocalCache','SheetCollabCursorShape','beginPath','collabStatus.fetchMiss','fill','ENTITLE_COUPON_EXPIRED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getFocusedUnit','ENTITLE_USE_COUPON_NOT_1ST_TRADE','subscribeEvent','_getFormulaLimitStatus','_initCommandInterceptor','handleIRemoveRow','collaboration.offline-data-not-saved','_docStateChangeManagerService','fromEventSubject','status$','SetWorksheetActivateCommand','ONLINE','getformulaLimitStatusUrl','_collabCursorState$','handleIRemoveCol','stageInfo','collabStatus.notCollab','_lastPointer','connectInjector','handleInsertRow','application/json','colorChannel1','measureText','_docTransformSelectionsService','createElement','stringify','_notificationService','type','exhaustSavingTask','SessionStatus','ILogService','hide','_context','lineno','parse','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_anchor','getUnit','column','_updateLocalCursor','textRanges','_collabSessionService','endRow','USER_IS_ANONYMOUS','VIEW_MAIN','_updateSubUnitFromURLParams','next','saveImage','dispose$','START_CALCULATION','white','disposeUnit','operators','SetSelectionsOperation','actions','IConfigService','fillRule','UPDATE_CURSOR','REDEMPTION_USER_REDEEM_TIMES_EXCEED','InsertColCommandId','transformMutation','YUUMI_NO_CUBOID_FOR_QUESTION','DocSelectionManagerService','ENTITLE_INSUFFICIENT_QUOTA','RichTextEditingMutation','PERMISSION_DENIED','REDEMPTION_USER_NOT_ELIGIBLE','NOT_FOUND','runId','LOCAL_CACHE_INTERVAL_KEY','INVITE_CODE_ALREADY_BOUND','MemberService','MOBILE_HAS_BEEN_BOUND','onLocalMutation','history','limitInfo','getUnitStatus$','_applyCommand','_assignedColors','TEXT_RANGE_LAYER_INDEX','map','936NopxBC','SOCKET_FAILED','_scheduleClearOtherTimer','none','3120XaRKSK','defIds','selections','find','data','SetTextSelectionsOperation','_showGuardMessage','getCellMatrix','_configService','ERROR_AGAIN','startRow','removeEventListener','1201095YBxlUN','_scheduleSaving','DisposableCollection','_initResize','body','_collaborationSessionService','RECT','getOwnPropertyDescriptor','UNAUTHENTICATED','currentTheme$','combineLatest','getCurrent','transform','functionsExecutedState','YUUMI_RATE_OVER_LIMIT','_saveCache','INTERNAL_ERROR','unit','_colorIndex','getCellPositionByOffset','Workbook','newValue','_drawRectRange','href','startFormulaLimitUrl','IMessageService','ITransformService','getCollabCursors$','moveTo','_initDependencies','attrs','_cachedData','LOGIN_FAILED','addEventListener','_initEvent','with','getColor','CollaborationDataLoaderController','@univerjs/drawing','YUUMI_URL_COL_OUT_OF_RANGE','_onCursorUpdate','jsxs','_injector','symbol','toRgbString','string','_checkCalculationAvailable','engine','_dataLoaderService','getCurrentRevOfUnit','[Window\x20Error]:\x20','IURLService','isFormulaId','onPointerLeave$','flatMap','searchParams','@univerjs/ui','object','length','HTTPService','roomMembers$','INVITE_CODE_HAS_BEEN_UES','@univerjs/sheets-ui','_transformUndoRedoStack','sheetId','_colorAssignService','all','setUndoRedoMutationParamsCache','contains','USER_NOT_FOUND','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UniverUi','_beforeCloseService','transformStateCache','UniverRpc','resize','disableLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformStateCacheService','ENTITLE_DUP_SUBSCRIPTION','_heartbeatTimer','addClipboardHook','RegularPolygon','assign','restore','removeParam','isTransformMutationFailure','_getMergeRange','transformByState','TEXT','SYNCED','_doCreateSocket','post','_entities','_uploadLog','forEach','_collabCursorController','totalFormulasToCalculate','stack','YUUMI_ALL_TABLES_IS_INVALID','exports','YUUMI_ASYNCIO_CANCELLED','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','CollaborationUIEventId','range','_themeService','sessionStatus$','saveOfflineData','_transformService','shift','_startDocCollabCursor','_logService','merge','disposeWithMe','replaceState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_monkeyPatchLogService','_drawTextRange','handleInsertRangeMoveDown','IUniverInstanceService','getOffsetConfig','collab-text-anchor-','ENSURE_SNAPSHOT_EXECUTION','_taskIds','@univerjs/core','handleDeleteRangeMoveUp','currentUsage','Error','_getSessionTicket','entityInit$','bottom','cursorInfo$','values','subUnitId','_anchorDot','ENTITLE_INVALID_COUPON_CODE','catch','color','redoState','urlChange$','INVITE_CODE_REQUIRED','UNIVER_SHEET','_clearPolling','useCallback','RxDisposable','UniverEngineFormula','/universer-api/license/formula/limit/start','CanceledError','UniverCore','add','DependentOn','USERS_LEAVE','text','getLocalCacheKey','unsubscribe','key','_transformPreviousActiveRange','collabStatus.synced','APPLY_DUPLICATED','height','invokeId','origin','throttleTime','mergeOverrideWithDependencies','_urlService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','init','_handleHeartbeatEvent','_startCalculationLimit','_localCacheService','translate(.97)','@univerjs/engine-formula','WebSocketService','doc.mutation.rich-text-editing','DATA_SOURCE_TOO_LARGE','Failed','getUnhiddenWorksheets','getSheetBySheetId','YUUMI_SUBSCRIPTION_NOT_FOUND','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_EXPORT_SIZE_EXCEEDED','\x20at\x20','loadUnit','set','clearInterval','_status$','Success','_getSaveTimeout','DocSkeletonManagerService','collab-client.tooltip.reconnect','_selfUnitIDs','DocStateChangeManagerService','send','_getSheetObject','/universer-api/license/formula/limit/done','collaboration-client-ui.config','SNAPSHOT_HAS_BEEN_REMOVED','SetFormulaCalculationStartMutation','m2Prime','pipe','YUUMI_CONNECTOR_URL_NOT_FOUND','labelPosition','M0\x200H16V16H0z','getSheetId','_scene','LICENSE_DISTRO_REJECTED','debounceTime','row','pluginName','UniverSheets','isEditing','getRangePointData','_textBubble','ColorKit','getUniverSheetInstance','_cursors','Loading','getStateCache','switchMap','_scheduleHeartbeat','clearTimeout','displayName','EMAIL_VERIFY_CODE_MISMATCH','green.600','use','getValue'];_0x42c3=function(){return _0x3a0e29;};return _0x42c3();}function _0x3fad(_0x51e7db,_0x448028){_0x51e7db=_0x51e7db-0xbd;const _0x42c325=_0x42c3();let _0x3fadc9=_0x42c325[_0x51e7db];return _0x3fadc9;}(function(_0x5384d3,_0x15efaf){const _0x34be41=_0x3fad,_0x4d707d=_0x5384d3();while(!![]){try{const _0x4145e4=-parseInt(_0x34be41(0xcc))/0x1*(-parseInt(_0x34be41(0x323))/0x2)+parseInt(_0x34be41(0x39e))/0x3*(parseInt(_0x34be41(0x32f))/0x4)+parseInt(_0x34be41(0x21d))/0x5+-parseInt(_0x34be41(0xdc))/0x6*(parseInt(_0x34be41(0x198))/0x7)+parseInt(_0x34be41(0x211))/0x8*(parseInt(_0x34be41(0x20d))/0x9)+-parseInt(_0x34be41(0x342))/0xa*(parseInt(_0x34be41(0x1a0))/0xb)+-parseInt(_0x34be41(0x141))/0xc*(parseInt(_0x34be41(0x368))/0xd);if(_0x4145e4===_0x15efaf)break;else _0x4d707d['push'](_0x4d707d['shift']());}catch(_0x4131ab){_0x4d707d['push'](_0x4d707d['shift']());}}}(_0x42c3,0x28b98),function(_0x573077,_0x383f41){const _0x5de9d3=_0x3fad;typeof exports==_0x5de9d3(0x256)&&typeof module<'u'?_0x383f41(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==_0x5de9d3(0x386)&&define['amd']?define([_0x5de9d3(0x281),'react/jsx-runtime',_0x5de9d3(0xd5),_0x5de9d3(0x299),_0x5de9d3(0x255),'rxjs',_0x5de9d3(0xc0),_0x5de9d3(0xd8),'@univerjs/rpc','@univerjs/sheets',_0x5de9d3(0x358),_0x5de9d3(0x3a2),_0x5de9d3(0xc8),_0x5de9d3(0x243),'@univerjs-pro/collaboration','@univerjs/docs',_0x5de9d3(0x2c9),_0x5de9d3(0xbf),_0x5de9d3(0x25b)],_0x383f41):(_0x573077=typeof globalThis<'u'?globalThis:_0x573077||self,_0x383f41(_0x573077[_0x5de9d3(0xe7)]={},_0x573077[_0x5de9d3(0x148)],_0x573077[_0x5de9d3(0x1ae)],_0x573077[_0x5de9d3(0x2b1)],_0x573077[_0x5de9d3(0x264)],_0x573077[_0x5de9d3(0x122)],_0x573077[_0x5de9d3(0x130)],_0x573077[_0x5de9d3(0x148)],_0x573077[_0x5de9d3(0x267)],_0x573077[_0x5de9d3(0x2ef)],_0x573077[_0x5de9d3(0xfb)],_0x573077[_0x5de9d3(0x197)],_0x573077[_0x5de9d3(0x353)],_0x573077[_0x5de9d3(0x37e)],_0x573077[_0x5de9d3(0x19b)],_0x573077[_0x5de9d3(0x165)],_0x573077[_0x5de9d3(0x2ae)],_0x573077['rxjs'][_0x5de9d3(0x1f0)],_0x573077['UniverSheetsUi']));}(this,function(_0x1e8a5b,_0x3b5db8,_0x5e7c26,_0x3a09c4,_0x592aaf,_0x41fba3,_0x2a2db6,_0x5c82c4,_0x22bf51,_0x6f871,_0x271b4b,_0x20de86,_0x9d9b14,_0x5b74e1,_0x5e9418,_0x4995f4,_0x3202a1,_0x360399,_0x577dad){'use strict';const _0x29bde7=_0x3fad;var _0xddd7bc=Object[_0x29bde7(0x340)],_0x4fef61=(_0x244bd4,_0x318e5b,_0x20be18)=>_0x318e5b in _0x244bd4?_0xddd7bc(_0x244bd4,_0x318e5b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20be18}):_0x244bd4[_0x318e5b]=_0x20be18,_0x9f87fa=(_0x713eda,_0x5dd261,_0x5ce16d)=>_0x4fef61(_0x713eda,typeof _0x5dd261!=_0x29bde7(0x248)?_0x5dd261+'':_0x5dd261,_0x5ce16d);function _0xd2a620({ref:_0x12c1b3,..._0x517030}){const _0xe651fb=_0x29bde7,{icon:_0x54ff81,id:_0x5e86cc,className:_0xb1c0f7,extend:_0x23cad8,..._0x1cfae7}=_0x517030,_0x5e24fc=('univerjs-icon\x20univerjs-icon-'+_0x5e86cc+'\x20'+(_0xb1c0f7||''))['trim'](),_0xd71011=_0x5c82c4[_0xe651fb(0x3a5)]('_'+_0x45d478());return _0x18f2df(_0x54ff81,''+_0x5e86cc,{'defIds':_0x54ff81[_0xe651fb(0x212)],'idSuffix':_0xd71011[_0xe651fb(0x15c)]},{'ref':_0x12c1b3,'className':_0x5e24fc,..._0x1cfae7},_0x23cad8);}function _0x18f2df(_0x1411f6,_0x256ff3,_0x3d8548,_0x3bbabf,_0x5dc9f2){const _0x368a23=_0x29bde7;return _0x5c82c4['createElement'](_0x1411f6['tag'],{'key':_0x256ff3,..._0x4299c0(_0x1411f6,_0x3d8548,_0x5dc9f2),..._0x3bbabf},(_0x5bd913(_0x1411f6,_0x3d8548)['children']||[])[_0x368a23(0x20c)]((_0x88b2e9,_0x1eeaae)=>_0x18f2df(_0x88b2e9,_0x256ff3+'-'+_0x1411f6[_0x368a23(0x17c)]+'-'+_0x1eeaae,_0x3d8548,void 0x0,_0x5dc9f2)));}function _0x4299c0(_0x1867ae,_0x5a6774,_0x5b7533){const _0x285641=_0x29bde7,_0x70abd8={..._0x1867ae[_0x285641(0x23b)]};_0x5b7533!=null&&_0x5b7533[_0x285641(0x1d1)]&&_0x70abd8[_0x285641(0x1b9)]===_0x285641(0x1d1)&&(_0x70abd8[_0x285641(0x1b9)]=_0x5b7533['colorChannel1']),_0x1867ae['tag']==='mask'&&_0x70abd8['id']&&(_0x70abd8['id']=_0x70abd8['id']+_0x5a6774[_0x285641(0x140)]),Object[_0x285641(0x109)](_0x70abd8)[_0x285641(0x27c)](([_0x223cbb,_0x4a1cdf])=>{const _0xb1ecd2=_0x285641;_0x223cbb==='mask'&&typeof _0x4a1cdf==_0xb1ecd2(0x24a)&&(_0x70abd8[_0x223cbb]=_0x4a1cdf[_0xb1ecd2(0x1a2)](/url\(#(.*)\)/,_0xb1ecd2(0x310)+_0x5a6774[_0xb1ecd2(0x140)]+')'));});const {defIds:_0x88c3c7}=_0x5a6774;return!_0x88c3c7||_0x88c3c7[_0x285641(0x257)]===0x0||(_0x1867ae['tag']===_0x285641(0x2fe)&&_0x70abd8[_0x285641(0x172)]&&(_0x70abd8['xlink:href']=_0x70abd8[_0x285641(0x172)]+_0x5a6774[_0x285641(0x140)]),Object[_0x285641(0x109)](_0x70abd8)[_0x285641(0x27c)](([_0x2293e5,_0x403190])=>{const _0x15e6e8=_0x285641;typeof _0x403190==_0x15e6e8(0x24a)&&(_0x70abd8[_0x2293e5]=_0x403190[_0x15e6e8(0x1a2)](/url\(#(.*)\)/,_0x15e6e8(0x310)+_0x5a6774['idSuffix']+')'));})),_0x70abd8;}function _0x5bd913(_0x2bd4a6,_0x46c937){const _0x11eee5=_0x29bde7;var _0x415b4f;const {defIds:_0x40e702}=_0x46c937;return!_0x40e702||_0x40e702[_0x11eee5(0x257)]===0x0?_0x2bd4a6:_0x2bd4a6['tag']==='defs'&&((_0x415b4f=_0x2bd4a6['children'])!=null&&_0x415b4f[_0x11eee5(0x257)])?{..._0x2bd4a6,'children':_0x2bd4a6[_0x11eee5(0xed)][_0x11eee5(0x20c)](_0x4bdc98=>typeof _0x4bdc98[_0x11eee5(0x23b)]['id']==_0x11eee5(0x24a)&&_0x40e702&&_0x40e702[_0x11eee5(0xf3)](_0x4bdc98['attrs']['id'])?{..._0x4bdc98,'attrs':{..._0x4bdc98[_0x11eee5(0x23b)],'id':_0x4bdc98[_0x11eee5(0x23b)]['id']+_0x46c937[_0x11eee5(0x140)]}}:_0x4bdc98)}:_0x2bd4a6;}function _0x45d478(){const _0x204c51=_0x29bde7;return Math[_0x204c51(0xd7)]()['toString'](0x24)[_0x204c51(0x1ac)](0x2,0x8);}_0xd2a620[_0x29bde7(0x2fb)]='UniverIcon';const _0x2368a1={'tag':_0x29bde7(0x301),'attrs':{'xmlns':_0x29bde7(0x119),'fill':_0x29bde7(0x210),'viewBox':_0x29bde7(0x149),'width':_0x29bde7(0x167),'height':_0x29bde7(0x167)},'children':[{'tag':'g','attrs':{'clipPath':_0x29bde7(0x39f)},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'stroke':_0x29bde7(0x117),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x29bde7(0xdf),'strokeLinejoin':_0x29bde7(0xdf),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29bde7(0x398),'attrs':{'id':_0x29bde7(0xd2)},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'fill':'white','d':_0x29bde7(0x2e8)}}]}]}],'defIds':[_0x29bde7(0xd2)]},_0x3d03f0=_0x5c82c4['forwardRef'](function(_0x52cb2b,_0x387246){const _0x4f9536=_0x29bde7;return _0x5c82c4[_0x4f9536(0x1d4)](_0xd2a620,Object[_0x4f9536(0x270)]({},_0x52cb2b,{'id':_0x4f9536(0x126),'ref':_0x387246,'icon':_0x2368a1}));});_0x3d03f0['displayName']=_0x29bde7(0x181);const _0x5338e0={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x29bde7(0x210),'viewBox':_0x29bde7(0x137),'width':_0x29bde7(0x167),'height':_0x29bde7(0x167)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'stroke':_0x29bde7(0x117),'d':_0x29bde7(0x283),'strokeLinecap':_0x29bde7(0xdf),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29bde7(0x398),'attrs':{'id':_0x29bde7(0x31b)},'children':[{'tag':'path','attrs':{'fill':_0x29bde7(0x1ee),'d':_0x29bde7(0x2e8),'transform':_0x29bde7(0x2c8)}}]}]}],'defIds':[_0x29bde7(0x31b)]},_0x5d6bcd=_0x5c82c4[_0x29bde7(0x341)](function(_0x40cbfc,_0x43ba27){const _0x514212=_0x29bde7;return _0x5c82c4[_0x514212(0x1d4)](_0xd2a620,Object['assign']({},_0x40cbfc,{'id':'on-line-icon','ref':_0x43ba27,'icon':_0x5338e0}));});_0x5d6bcd[_0x29bde7(0x2fb)]=_0x29bde7(0x17f);function _0x51b422(_0x358998){const _0x33ec7b=_0x29bde7;switch(_0x358998){case _0x5e7c26[_0x33ec7b(0x10f)]['OFFLINE']:return _0x33ec7b(0x312);case _0x5e7c26['CollaborationStatus'][_0x33ec7b(0x37a)]:return _0x33ec7b(0x36e);case _0x5e7c26[_0x33ec7b(0x10f)]['FETCH_MISS']:return _0x33ec7b(0x1b8);case _0x5e7c26[_0x33ec7b(0x10f)][_0x33ec7b(0x305)]:return _0x33ec7b(0x1cc);case _0x5e7c26['CollaborationStatus'][_0x33ec7b(0x14b)]:case _0x5e7c26[_0x33ec7b(0x10f)]['AWAITING_WITH_PENDING']:return _0x33ec7b(0x143);case _0x5e7c26[_0x33ec7b(0x10f)][_0x33ec7b(0x277)]:case _0x5e7c26['CollaborationStatus']['PENDING']:return _0x33ec7b(0x2ba);}}function _0x586a64(_0x1274d0){const _0x372534=_0x29bde7,{status$:_0x238fed}=_0x1274d0,_0x5809f9=_0x592aaf[_0x372534(0x14e)](_0x238fed,_0x5e7c26[_0x372534(0x10f)][_0x372534(0x305)]),_0x213133=_0x592aaf[_0x372534(0x18e)](_0x3a09c4[_0x372534(0x36c)]),_0x5e12ff=_0x592aaf['useDependency'](_0x5e7c26[_0x372534(0x3ae)]),_0x2a58a8=_0x5809f9!==_0x5e7c26['CollaborationStatus'][_0x372534(0xe1)],_0x3e5e3b=_0x213133['t'](_0x51b422(_0x5809f9)),_0x110329=_0x2a58a8?_0x3b5db8[_0x372534(0x15f)](_0x5d6bcd,{}):_0x3b5db8[_0x372534(0x15f)](_0x3d03f0,{}),_0x3ff55d=_0x5c82c4[_0x372534(0x2ac)](()=>{const _0x593ea9=_0x372534;_0x2a58a8||_0x5e12ff[_0x593ea9(0x381)]();},[_0x2a58a8,_0x5e12ff]);function _0x7facce(){const _0x4fb858=_0x372534;return _0x3b5db8[_0x4fb858(0x246)]('div',{'className':_0x4fb858(0x168),'onClick':_0x3ff55d,'children':[_0x3b5db8[_0x4fb858(0x15f)](_0x4fb858(0x3ad),{'className':_0x2a2db6[_0x4fb858(0xf7)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2a58a8,'univer-text-red-500':!_0x2a58a8}),'children':_0x110329}),_0x3b5db8[_0x4fb858(0x15f)](_0x4fb858(0x3ad),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3e5e3b})]});}return _0x2a58a8?_0x7facce():_0x3b5db8[_0x372534(0x15f)](_0x2a2db6['Tooltip'],{'title':_0x213133['t'](_0x372534(0x2db)),'children':_0x7facce()});}var _0xf3d9cc=Object['getOwnPropertyDescriptor'],_0x2212a1=(_0x15cf22,_0x1e3076,_0x3bb8be,_0x5f1cca)=>{for(var _0x458e8d=_0x5f1cca>0x1?void 0x0:_0x5f1cca?_0xf3d9cc(_0x1e3076,_0x3bb8be):_0x1e3076,_0x5bac29=_0x15cf22['length']-0x1,_0x440c44;_0x5bac29>=0x0;_0x5bac29--)(_0x440c44=_0x15cf22[_0x5bac29])&&(_0x458e8d=_0x440c44(_0x458e8d)||_0x458e8d);return _0x458e8d;},_0x125c7b=(_0x50bb02,_0x9ab62)=>(_0x2b79ea,_0x53a27d)=>_0x9ab62(_0x2b79ea,_0x53a27d,_0x50bb02);_0x1e8a5b[_0x29bde7(0x3a9)]=class extends _0x3a09c4['Disposable']{constructor(_0x1828a0,_0x1654f8,_0xf9548b,_0x5bbf48){const _0x563957=_0x29bde7;super(),_0x9f87fa(this,_0x563957(0x2d7),new _0x41fba3[(_0x563957(0x31e))](_0x5e7c26[_0x563957(0x10f)][_0x563957(0x305)])),(this['_univerInstanceService']=_0x1828a0,this[_0x563957(0x247)]=_0x1654f8,this[_0x563957(0x364)]=_0xf9548b,this[_0x563957(0x33a)]=_0x5bbf48,this['_initStatusComponent'](),this[_0x563957(0x31f)]());}['_initStatusListener'](){const _0x5415e5=_0x29bde7;this[_0x5415e5(0x28e)](this['_univerInstanceService']['focused$'][_0x5415e5(0x2e5)](_0x41fba3[_0x5415e5(0x2f8)](()=>{const _0x3238dc=_0x5415e5,_0x4ec5f4=this[_0x3238dc(0x1ab)][_0x3238dc(0x1bc)]();return _0x4ec5f4?this['_collaborationController']['getCollabEntity$'](_0x4ec5f4[_0x3238dc(0x348)]()):_0x41fba3['of'](null);}),_0x41fba3['switchMap'](_0x453dc0=>_0x453dc0?_0x453dc0[_0x5415e5(0x1c5)]:_0x41fba3['of'](_0x5e7c26[_0x5415e5(0x10f)]['NOT_COLLAB'])))['subscribe'](_0xed8cd4=>{const _0x40e6fe=_0x5415e5;this['_status$'][_0x40e6fe(0x1ea)](_0xed8cd4);}));}['_initStatusComponent'](){const _0x1797a5=_0x29bde7;this['disposeWithMe'](this[_0x1797a5(0x33a)]['registerComponent'](_0x592aaf[_0x1797a5(0x1b4)][_0x1797a5(0x153)],()=>_0x592aaf[_0x1797a5(0x1ce)](_0x4e323b({'status$':this['_status$']['asObservable']()}),this[_0x1797a5(0x247)])));}},_0x1e8a5b[_0x29bde7(0x3a9)]=_0x2212a1([_0x125c7b(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x125c7b(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x125c7b(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x1aa)])),_0x125c7b(0x3,_0x592aaf[_0x29bde7(0x1a8)])],_0x1e8a5b[_0x29bde7(0x3a9)]);function _0x4e323b(_0x484373){const {status$:_0x230ea8}=_0x484373;return function(){return _0x3b5db8['jsx'](_0x586a64,{'status$':_0x230ea8});};}const _0x5c7e96=_0x3a09c4[_0x29bde7(0x313)](_0x29bde7(0x170));var _0x50b63b=Object[_0x29bde7(0x224)],_0x293bd3=(_0x76e25b,_0x2544ac,_0x3eb896,_0x5262f7)=>{const _0x4f9bbc=_0x29bde7;for(var _0xb7184d=_0x5262f7>0x1?void 0x0:_0x5262f7?_0x50b63b(_0x2544ac,_0x3eb896):_0x2544ac,_0xda8740=_0x76e25b[_0x4f9bbc(0x257)]-0x1,_0x3e0700;_0xda8740>=0x0;_0xda8740--)(_0x3e0700=_0x76e25b[_0xda8740])&&(_0xb7184d=_0x3e0700(_0xb7184d)||_0xb7184d);return _0xb7184d;},_0x55071e=(_0x5a4a0e,_0x1f3ab5)=>(_0x425401,_0x5253be)=>_0x1f3ab5(_0x425401,_0x5253be,_0x5a4a0e);_0x1e8a5b[_0x29bde7(0x242)]=class extends _0x3a09c4['RxDisposable']{constructor(_0x534445,_0x100654,_0x448937,_0x33f605,_0xf894ab){const _0x55140a=_0x29bde7;super(),this[_0x55140a(0x2c1)]=_0x534445,this['_logService']=_0x100654,this['_commandService']=_0x448937,this[_0x55140a(0x24d)]=_0x33f605,_0xf894ab?_0xf894ab==null||_0xf894ab[_0x55140a(0x10b)]()[_0x55140a(0x189)](()=>this[_0x55140a(0x34b)]()):(this[_0x55140a(0x28c)][_0x55140a(0x3ac)](_0x55140a(0x30c),_0x55140a(0x35c)),this[_0x55140a(0x34b)]());}async[_0x29bde7(0x34b)](){const _0x2b24ca=_0x29bde7,_0x5334ab=this[_0x2b24ca(0x2c1)][_0x2b24ca(0x154)](_0x2b24ca(0x22e)),_0x4ce4aa=this[_0x2b24ca(0x2c1)]['getParam'](_0x2b24ca(0x1d7)),_0xe101cc=this['_urlService'][_0x2b24ca(0x154)](_0x2b24ca(0x369));if(!_0x5334ab||!_0x4ce4aa){this[_0x2b24ca(0x28c)][_0x2b24ca(0x3ac)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4025e4=await this[_0x2b24ca(0x24d)][_0x2b24ca(0x2d4)](_0x5334ab,Number(_0x4ce4aa),_0xe101cc);_0x4025e4&&_0x4025e4 instanceof _0x3a09c4[_0x2b24ca(0x231)]&&this['_setupSubUnitSync'](_0x4025e4);}async[_0x29bde7(0xc6)](_0x2ddd3d){const _0x5d7d0e=_0x29bde7;await this[_0x5d7d0e(0x1e9)](_0x2ddd3d),_0x2ddd3d['activeSheet$'][_0x5d7d0e(0x2e5)](_0x41fba3[_0x5d7d0e(0x306)](this['dispose$']))[_0x5d7d0e(0x359)](_0x183143=>{const _0x2dfb3e=_0x5d7d0e;_0x183143&&this[_0x2dfb3e(0x12c)](_0x183143);}),this['_urlService'][_0x5d7d0e(0x2a8)]['pipe'](_0x41fba3[_0x5d7d0e(0x306)](this[_0x5d7d0e(0x1ec)]))[_0x5d7d0e(0x359)](()=>this[_0x5d7d0e(0x1e9)](_0x2ddd3d));}[_0x29bde7(0x12c)](_0x40e31c,_0xab951b=!0x1){const _0x4c0474=_0x29bde7,_0x3f94c6=this[_0x4c0474(0x2c1)][_0x4c0474(0x154)](_0x4c0474(0x369));_0x40e31c['getSheetId']()!==_0x3f94c6&&this[_0x4c0474(0x2c1)][_0x4c0474(0x343)](_0x4c0474(0x369),_0x40e31c['getSheetId'](),_0xab951b);}async['_updateSubUnitFromURLParams'](_0x117af2){const _0xd5fe35=_0x29bde7;var _0x2a2d2c;const _0x4b7957=this[_0xd5fe35(0x2c1)][_0xd5fe35(0x154)](_0xd5fe35(0x369));if(!_0x4b7957||!_0x117af2[_0xd5fe35(0x2cf)](_0x4b7957)){const _0x246a50=_0x117af2[_0xd5fe35(0x2ce)]()[0x0],_0x5b0af4=_0x117af2['getSheetBySheetId'](_0x246a50);if(!_0x5b0af4)return;this['_updateURLWithCurrentState'](_0x5b0af4,!0x0),await this[_0xd5fe35(0x114)]['executeCommand'](_0x6f871[_0xd5fe35(0x1c6)]['id'],{'unitId':_0x117af2[_0xd5fe35(0x348)](),'subUnitId':_0x246a50});return;}((_0x2a2d2c=_0x117af2[_0xd5fe35(0x160)]())==null?void 0x0:_0x2a2d2c[_0xd5fe35(0x2e9)]())!==_0x4b7957&&await this[_0xd5fe35(0x114)][_0xd5fe35(0x104)](_0x6f871[_0xd5fe35(0x1c6)]['id'],{'unitId':_0x117af2[_0xd5fe35(0x348)](),'subUnitId':_0x4b7957});}},_0x1e8a5b[_0x29bde7(0x242)]=_0x293bd3([_0x55071e(0x0,_0x5c7e96),_0x55071e(0x1,_0x3a09c4[_0x29bde7(0x1da)]),_0x55071e(0x2,_0x3a09c4[_0x29bde7(0x339)]),_0x55071e(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x35b)])),_0x55071e(0x4,_0x3a09c4[_0x29bde7(0x161)](_0x22bf51[_0x29bde7(0x311)]))],_0x1e8a5b[_0x29bde7(0x242)]);var _0x59dd67=Object['getOwnPropertyDescriptor'],_0x1f6ee5=(_0x3641a5,_0x5a750d,_0x52953a,_0x216761)=>{for(var _0xc6c788=_0x216761>0x1?void 0x0:_0x216761?_0x59dd67(_0x5a750d,_0x52953a):_0x5a750d,_0xdf652d=_0x3641a5['length']-0x1,_0x4df46e;_0xdf652d>=0x0;_0xdf652d--)(_0x4df46e=_0x3641a5[_0xdf652d])&&(_0xc6c788=_0x4df46e(_0xc6c788)||_0xc6c788);return _0xc6c788;},_0x412726=(_0x2e07d1,_0x14e67f)=>(_0x414345,_0x17c263)=>_0x14e67f(_0x414345,_0x17c263,_0x2e07d1);let _0x43ac4d=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x687e24,_0x2b0bb2){const _0x1f4338=_0x29bde7;super(),this[_0x1f4338(0x158)]=_0x687e24,this[_0x1f4338(0xbd)]=_0x2b0bb2,this[_0x1f4338(0x34b)]();}[_0x29bde7(0x34b)](){const _0x3186bc=_0x29bde7,_0x5d9da8=this;this['disposeWithMe'](this['_docClipboardService'][_0x3186bc(0x26e)]({'onBeforePasteImage':async _0xaca630=>{const _0x75e8e9=_0x3186bc,_0x5d56f8=await _0x5d9da8[_0x75e8e9(0xbd)][_0x75e8e9(0x1eb)](_0xaca630);return _0x5d56f8?{'source':_0x5d56f8[_0x75e8e9(0x116)],'imageSourceType':_0x5d56f8['imageSourceType']}:null;}}));}};_0x43ac4d=_0x1f6ee5([_0x412726(0x0,_0x9d9b14['IDocClipboardService']),_0x412726(0x1,_0x5b74e1[_0x29bde7(0x3a1)])],_0x43ac4d);const _0xccb0ec=['purple.300',_0x29bde7(0x190),_0x29bde7(0x2fd),_0x29bde7(0x3b0),_0x29bde7(0x307),'yellow.400'];class _0x1acd06 extends _0x3a09c4['Disposable']{constructor(){const _0x5c58ff=_0x29bde7;super(...arguments),_0x9f87fa(this,_0x5c58ff(0x20a),new Map()),_0x9f87fa(this,_0x5c58ff(0x22f),0x0);}['assignAColorForMemberID'](_0x16c02b){const _0x312eb5=_0x29bde7;if(this[_0x312eb5(0x20a)]['has'](_0x16c02b))return this['_assignedColors'][_0x312eb5(0x31d)](_0x16c02b);const _0x573efa=_0xccb0ec[this[_0x312eb5(0x22f)]];return this[_0x312eb5(0x22f)]=(this[_0x312eb5(0x22f)]+0x1)%_0xccb0ec[_0x312eb5(0x257)],this['_assignedColors'][_0x312eb5(0x2d5)](_0x16c02b,_0x573efa),_0x573efa;}}function _0x440e57(_0x3b9d77){const _0x191ce6=_0x29bde7;let _0x339c96='';for(const _0x4018c6 of _0x3b9d77){const {startOffset:_0x492c5b,endOffset:_0x1ab40f,isActive:_0x331634,rangeType:_0x4cd3f9,segmentId:_0x3c2dfb,segmentPage:_0x134841}=_0x4018c6;_0x339c96[_0x191ce6(0x257)]&&(_0x339c96+=','),_0x339c96+=_0x492c5b+':'+_0x1ab40f+':'+(_0x331634?'1':'0')+':'+_0x4cd3f9+':'+_0x3c2dfb+':'+_0x134841;}return _0x339c96;}function _0x1f91e0(_0x47344c){const _0x3c8fde=_0x29bde7,_0x27004f=_0x47344c[_0x3c8fde(0x384)](','),_0x4cb024=[];for(const _0x1449d7 of _0x27004f){const [_0x22d4a6,_0x18bb39,_0x2d7f4a,_0x4f2012,_0x3d0541,_0x334d61]=_0x1449d7[_0x3c8fde(0x384)](':');_0x4cb024[_0x3c8fde(0x174)]({'startOffset':Number(_0x22d4a6),'endOffset':Number(_0x18bb39),'collapsed':_0x22d4a6===_0x18bb39,'isActive':_0x2d7f4a==='1','rangeType':_0x4f2012===_0x3a09c4[_0x3c8fde(0x11c)][_0x3c8fde(0x276)]?_0x3a09c4[_0x3c8fde(0x11c)]['TEXT']:_0x3a09c4[_0x3c8fde(0x11c)][_0x3c8fde(0x223)],'segmentId':typeof _0x3d0541==_0x3c8fde(0x24a)?String(_0x3d0541):'','segmentPage':Number(_0x334d61!=null?_0x334d61:-0x1)});}return _0x4cb024[_0x3c8fde(0x19c)](_0x52618c=>_0x52618c[_0x3c8fde(0x13b)])||(_0x4cb024[0x0]['isActive']=!0x0),_0x4cb024;}class _0x3d295c extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(){const _0x3da188=_0x29bde7;super(...arguments),_0x9f87fa(this,'_collabCursorState$',new _0x41fba3['BehaviorSubject'](null)),_0x9f87fa(this,_0x3da188(0x110),this[_0x3da188(0x1c9)]['asObservable']());}['syncEditingCollabCursor'](_0x4f0b0d){const _0xf34b9f=_0x29bde7,{unitID:_0x1f9429,memberID:_0x219b14,textRanges:_0x124610}=_0x4f0b0d,_0x84b018=_0x440e57(_0x124610);if(_0x84b018==='')return;const _0x4d1585={'unitID':_0x1f9429,'memberID':_0x219b14,'selection':_0x84b018};this[_0xf34b9f(0x1c9)]['next'](_0x4d1585);}}var _0x264d27=Object['getOwnPropertyDescriptor'],_0x512f44=(_0x3eb956,_0x42abc8,_0x5431ec,_0x3c6565)=>{const _0x35b302=_0x29bde7;for(var _0x32e78c=_0x3c6565>0x1?void 0x0:_0x3c6565?_0x264d27(_0x42abc8,_0x5431ec):_0x42abc8,_0x61e866=_0x3eb956[_0x35b302(0x257)]-0x1,_0x40a2bd;_0x61e866>=0x0;_0x61e866--)(_0x40a2bd=_0x3eb956[_0x61e866])&&(_0x32e78c=_0x40a2bd(_0x32e78c)||_0x32e78c);return _0x32e78c;},_0x3ed4c3=(_0x5ac82d,_0x108264)=>(_0xbb4dcc,_0x5c3baa)=>_0x108264(_0xbb4dcc,_0x5c3baa,_0x5ac82d);const _0x37e166=0x12c,_0x5f06e4=0x64;let _0x977053=class extends _0x3a09c4['RxDisposable']{constructor(_0x1762de,_0x502ffe,_0x3a9ca6,_0x2f1b08,_0x5dba4b,_0x2708c0,_0x102f29,_0x38e35a,_0x25ad68){const _0x4db517=_0x29bde7;super(),_0x9f87fa(this,'_online',!0x1),_0x9f87fa(this,_0x4db517(0x34b),!0x1),_0x9f87fa(this,_0x4db517(0x195),new _0x41fba3[(_0x4db517(0x31e))](new Map())),_0x9f87fa(this,_0x4db517(0x2a0),this[_0x4db517(0x195)][_0x4db517(0x1b2)]()),_0x9f87fa(this,'_roomMembers$',new _0x41fba3[(_0x4db517(0x31e))]([])),_0x9f87fa(this,_0x4db517(0x259),this[_0x4db517(0xf0)][_0x4db517(0x2e5)](_0x41fba3[_0x4db517(0x2ec)](_0x37e166))),_0x9f87fa(this,_0x4db517(0x1e3),_0x3a09c4[_0x4db517(0x3a6)](_0x107227=>{const _0xe8057b=_0x4db517,_0x15975a={'eventID':_0x5e9418[_0xe8057b(0x16a)][_0xe8057b(0x1f5)],'data':{'unitID':this[_0xe8057b(0xee)],'memberID':this[_0xe8057b(0x17e)][_0xe8057b(0x33c)](),'selection':_0x440e57(_0x107227)}};this[_0xe8057b(0x17e)][_0xe8057b(0x2de)](_0x15975a,this[_0xe8057b(0xee)]);},_0x5f06e4)),(this[_0x4db517(0xee)]=_0x1762de,this[_0x4db517(0x17e)]=_0x502ffe,this[_0x4db517(0x247)]=_0x3a9ca6,this[_0x4db517(0x25e)]=_0x2f1b08,this[_0x4db517(0xe5)]=_0x5dba4b,this['_syncEditingCollabCursorService']=_0x2708c0,this[_0x4db517(0x289)]=_0x102f29,this[_0x4db517(0x1ab)]=_0x38e35a,this[_0x4db517(0x114)]=_0x25ad68);}get['cursorInfo'](){const _0x25d88c=_0x29bde7;return this[_0x25d88c(0x195)][_0x25d88c(0x2ff)]();}get['roomMembers'](){const _0x1ad6f6=_0x29bde7;return this[_0x1ad6f6(0xf0)][_0x1ad6f6(0x2ff)]();}[_0x29bde7(0x19f)](){const _0x1a61ae=_0x29bde7;super[_0x1a61ae(0x19f)](),this[_0x1a61ae(0x195)][_0x1a61ae(0x1ea)](new Map()),this[_0x1a61ae(0x195)][_0x1a61ae(0x336)](),this[_0x1a61ae(0xf0)][_0x1a61ae(0x1ea)]([]),this[_0x1a61ae(0xf0)][_0x1a61ae(0x336)]();}['init'](){const _0x5c4887=_0x29bde7;this['_init']||(this[_0x5c4887(0x34b)]=!0x0,this[_0x5c4887(0x17e)][_0x5c4887(0x287)]['pipe'](_0x41fba3[_0x5c4887(0x306)](this[_0x5c4887(0x1ec)]))[_0x5c4887(0x359)](_0x301b06=>{const _0x5b2bd2=_0x5c4887;_0x301b06===_0x5e7c26['SessionStatus'][_0x5b2bd2(0x1c7)]?this[_0x5b2bd2(0x193)]():this[_0x5b2bd2(0x316)]();}),this[_0x5c4887(0x17e)][_0x5c4887(0xe3)][_0x5c4887(0x2e5)](_0x41fba3[_0x5c4887(0x306)](this['dispose$']))[_0x5c4887(0x359)](_0x57ab44=>{const _0x17b5ab=_0x5c4887,_0x371346=_0x57ab44['eventID'];_0x371346===_0x5e9418[_0x17b5ab(0x16a)][_0x17b5ab(0x1f5)]&&this['_onCursorUpdate'](_0x57ab44),_0x371346===_0x5e9418[_0x17b5ab(0x16a)][_0x17b5ab(0x2b4)]&&this[_0x17b5ab(0x38c)](_0x57ab44);}),this['disposeWithMe'](this[_0x5c4887(0x114)][_0x5c4887(0x1af)](_0x107d24=>{const _0x3fd03e=_0x5c4887,_0x5746d6=_0x107d24[_0x3fd03e(0x32e)];_0x5746d6!=null&&this[_0x3fd03e(0x383)]&&_0x107d24['id']===_0x4995f4[_0x3fd03e(0x216)]['id']&&_0x5746d6['unitId']===this[_0x3fd03e(0xee)]&&_0x5746d6[_0x3fd03e(0x2f0)]===!0x1&&_0x5746d6[_0x3fd03e(0x330)][_0x3fd03e(0x257)]>0x0&&this[_0x3fd03e(0x1e3)](_0x5746d6[_0x3fd03e(0x330)]);})),this[_0x5c4887(0x373)]['collabCursorState$'][_0x5c4887(0x2e5)](_0x41fba3['takeUntil'](this['dispose$']))[_0x5c4887(0x359)](_0x263ce9=>{const _0x4acfaa=_0x5c4887;if((_0x263ce9==null?void 0x0:_0x263ce9[_0x4acfaa(0xee)])!==this['unitID'])return;const _0x313061={'eventID':_0x5e9418[_0x4acfaa(0x16a)]['UPDATE_CURSOR'],'data':_0x263ce9};this[_0x4acfaa(0x245)](_0x313061);}),this['disposeWithMe'](this['_commandService'][_0x5c4887(0x1af)](_0x1d9f60=>{const _0x379040=_0x5c4887;if(_0x1d9f60['params']==null)return;const _0x9b4c3b=_0x1d9f60[_0x379040(0x32e)];if(_0x1d9f60['id']!==_0x4995f4[_0x379040(0x1fc)]['id']||_0x9b4c3b[_0x379040(0x3a8)]!==this['unitID'])return;const _0x2ba056={'id':'doc.mutation.rich-text-editing','params':_0x9b4c3b},_0x18db26=this['cursorInfo'];for(const [_0x107b4d,_0x12ef70]of _0x18db26){const _0x2be9af={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x379040(0xee)],'actions':null,'textRanges':_0x12ef70[_0x379040(0x330)]}},_0x339855=this[_0x379040(0x289)][_0x379040(0x1f8)](_0x2ba056,_0x2be9af,!0x1);if(_0x5e9418[_0x379040(0x273)](_0x339855))throw _0x339855[_0x379040(0x34f)];_0x18db26[_0x379040(0x2d5)](_0x107b4d,{..._0x12ef70,'ranges':_0x339855['m2Prime'][_0x379040(0x32e)][_0x379040(0x1e4)]});}queueMicrotask(()=>{const _0x20eb5b=_0x379040;this[_0x20eb5b(0x195)][_0x20eb5b(0x1ea)](_0x18db26);});})));}[_0x29bde7(0x245)](_0x5d50fd){const _0x5a4899=_0x29bde7;var _0x40d3fc,_0x34ea49;const {memberID:_0xad60b5,selection:_0x40d80b}=_0x5d50fd[_0x5a4899(0x215)],_0x3f9f7e=_0x1f91e0(_0x40d80b),_0x1f8190=(_0x34ea49=(_0x40d3fc=this[_0x5a4899(0xe5)][_0x5a4899(0x36a)](this[_0x5a4899(0xee)],_0xad60b5))==null?void 0x0:_0x40d3fc[_0x5a4899(0x15b)])!=null?_0x34ea49:'Unknown\x20user',_0x598d06={'color':this['_colorAssignService'][_0x5a4899(0x36b)](_0xad60b5),'name':_0x1f8190,'ranges':_0x3f9f7e},_0x5a326b=this['cursorInfo'];_0x5a326b[_0x5a4899(0x2d5)](_0xad60b5,_0x598d06),this[_0x5a4899(0x195)]['next'](_0x5a326b);}[_0x29bde7(0x38c)](_0x13402f){const _0xbe1a67=_0x29bde7,{memberID:_0xf26e6a}=_0x13402f[_0xbe1a67(0x215)],_0x581ba1=this[_0xbe1a67(0x156)];_0x581ba1['delete'](_0xf26e6a),this['_cursorInfo$']['next'](_0x581ba1);}[_0x29bde7(0x193)](){const _0x46b535=_0x29bde7;var _0x51eef7;if(this[_0x46b535(0x383)]=!0x0,((_0x51eef7=this[_0x46b535(0x1ab)][_0x46b535(0x1bc)]())==null?void 0x0:_0x51eef7[_0x46b535(0x348)]())!==this['unitID'])return;const _0x5c357a=this[_0x46b535(0x247)][_0x46b535(0x31d)](_0x4995f4[_0x46b535(0x1fa)])[_0x46b535(0x366)]();Array[_0x46b535(0x106)](_0x5c357a)&&_0x5c357a['length']>0x0&&this[_0x46b535(0x1e3)](_0x5c357a);}[_0x29bde7(0x316)](){const _0x1b62ee=_0x29bde7;this[_0x1b62ee(0x383)]=!0x1;}};_0x977053=_0x512f44([_0x3ed4c3(0x2,_0x3a09c4['Inject'](_0x3a09c4['Injector'])),_0x3ed4c3(0x3,_0x3a09c4['Inject'](_0x1acd06)),_0x3ed4c3(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x203)])),_0x3ed4c3(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3d295c)),_0x3ed4c3(0x6,_0x5e9418[_0x29bde7(0x237)]),_0x3ed4c3(0x7,_0x3a09c4[_0x29bde7(0x294)]),_0x3ed4c3(0x8,_0x3a09c4['ICommandService'])],_0x977053);var _0x528743=Object[_0x29bde7(0x224)],_0x20c1aa=(_0x2bd934,_0x5068e0,_0x30fed3,_0x1bcdb1)=>{for(var _0x4ff0cb=_0x1bcdb1>0x1?void 0x0:_0x1bcdb1?_0x528743(_0x5068e0,_0x30fed3):_0x5068e0,_0x4bb9b2=_0x2bd934['length']-0x1,_0x301922;_0x4bb9b2>=0x0;_0x4bb9b2--)(_0x301922=_0x2bd934[_0x4bb9b2])&&(_0x4ff0cb=_0x301922(_0x4ff0cb)||_0x4ff0cb);return _0x4ff0cb;},_0x565401=(_0x3feeb5,_0x124d92)=>(_0x2d7e58,_0x5d9aad)=>_0x124d92(_0x2d7e58,_0x5d9aad,_0x3feeb5);const _0xde364e=0x12c,_0x4deb90=0x64,_0x92e6b9=()=>{let _0x160b00=[],_0x2c3dbb=!0x1;return _0x1d3847=>{_0x160b00['push'](_0x1d3847),_0x2c3dbb||(_0x2c3dbb=!0x0,setTimeout(()=>{_0x160b00['forEach'](_0x962fba=>_0x962fba()),_0x160b00=[],_0x2c3dbb=!0x1;}));};};let _0xd3e96a=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x598747,_0x55b114,_0x501e3f,_0x34f2b2,_0x594a9f,_0x2bc6c0,_0x2f924e,_0x238a58){const _0x32c75f=_0x29bde7;super(),_0x9f87fa(this,_0x32c75f(0x383),!0x1),_0x9f87fa(this,_0x32c75f(0x34b),!0x1),_0x9f87fa(this,_0x32c75f(0x195),new _0x41fba3[(_0x32c75f(0x31e))](new Map())),_0x9f87fa(this,_0x32c75f(0x2a0),this[_0x32c75f(0x195)][_0x32c75f(0x1b2)]()),_0x9f87fa(this,_0x32c75f(0xf0),new _0x41fba3['BehaviorSubject']([])),_0x9f87fa(this,_0x32c75f(0x259),this[_0x32c75f(0xf0)][_0x32c75f(0x2e5)](_0x41fba3['debounceTime'](_0xde364e))),_0x9f87fa(this,_0x32c75f(0x1e3),_0x3a09c4[_0x32c75f(0x3a6)]((_0x499441,_0xbc2603)=>{const _0x3fdd03=_0x32c75f,_0x127e66={'eventID':_0x5e9418['CollaborationEvent'][_0x3fdd03(0x1f5)],'data':{'unitID':this[_0x3fdd03(0xee)],'memberID':this[_0x3fdd03(0x17e)][_0x3fdd03(0x33c)](),'selection':_0x3202a1[_0x3fdd03(0xff)](_0x499441,_0xbc2603[_0x3fdd03(0x285)])}};this[_0x3fdd03(0x17e)]['send'](_0x127e66,this[_0x3fdd03(0xee)]);},_0x4deb90)),(this['unitID']=_0x598747,this[_0x32c75f(0x17e)]=_0x55b114,this[_0x32c75f(0x247)]=_0x501e3f,this['_colorAssignService']=_0x34f2b2,this[_0x32c75f(0xe5)]=_0x594a9f,this['_univerInstanceService']=_0x2bc6c0,this['_commandService']=_0x2f924e,this[_0x32c75f(0x345)]=_0x238a58);}get[_0x29bde7(0x156)](){const _0x545423=_0x29bde7;return this[_0x545423(0x195)][_0x545423(0x2ff)]();}get['roomMembers'](){const _0x1012b1=_0x29bde7;return this[_0x1012b1(0xf0)][_0x1012b1(0x2ff)]();}['dispose'](){const _0x22a559=_0x29bde7;super[_0x22a559(0x19f)](),this[_0x22a559(0x195)][_0x22a559(0x1ea)](new Map()),this[_0x22a559(0x195)][_0x22a559(0x336)](),this[_0x22a559(0xf0)][_0x22a559(0x1ea)]([]),this[_0x22a559(0xf0)][_0x22a559(0x336)]();}[_0x29bde7(0x2c4)](){const _0x443468=_0x29bde7;this[_0x443468(0x34b)]||(this[_0x443468(0x34b)]=!0x0,this['_session'][_0x443468(0x287)][_0x443468(0x2e5)](_0x41fba3[_0x443468(0x306)](this['dispose$']))[_0x443468(0x359)](_0x5c1287=>{const _0x36ff6c=_0x443468;_0x5c1287===_0x5e7c26[_0x36ff6c(0x1d9)]['ONLINE']?this['_toggleOnline']():this[_0x36ff6c(0x316)]();}),this[_0x443468(0x17e)][_0x443468(0xe3)][_0x443468(0x2e5)](_0x41fba3[_0x443468(0x306)](this[_0x443468(0x1ec)]))[_0x443468(0x359)](_0x289b71=>{const _0x3605a2=_0x443468,_0x31c61e=_0x289b71['eventID'];_0x31c61e===_0x5e9418[_0x3605a2(0x16a)][_0x3605a2(0x1f5)]&&this['_onCursorUpdate'](_0x289b71),_0x31c61e===_0x5e9418['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x289b71);}),this[_0x443468(0x308)](),this[_0x443468(0x28e)](this[_0x443468(0x114)][_0x443468(0x1af)](_0x26c5f7=>{const _0x26f6ac=_0x443468;if(this[_0x26f6ac(0x383)]&&_0x26c5f7['id']===_0x6f871[_0x26f6ac(0x1f1)]['id']&&_0x26c5f7[_0x26f6ac(0x32e)][_0x26f6ac(0x3a8)]===this[_0x26f6ac(0xee)]){const _0x503de8=_0x26c5f7['params'];this[_0x26f6ac(0x1e3)](_0x503de8[_0x26f6ac(0x2a2)],_0x503de8[_0x26f6ac(0x213)][0x0]);}})));}['_onCursorUpdate'](_0x2fbd71){const _0x24b77d=_0x29bde7;var _0x1f9d23,_0x269e46;const {memberID:_0x2959bf,selection:_0x3b8b4a}=_0x2fbd71['data'],{sheetName:_0x40439b,range:_0x38922d}=_0x3202a1[_0x24b77d(0x33b)](_0x3b8b4a),_0x5ca0a0={'name':(_0x269e46=(_0x1f9d23=this[_0x24b77d(0xe5)][_0x24b77d(0x36a)](this[_0x24b77d(0xee)],_0x2959bf))==null?void 0x0:_0x1f9d23[_0x24b77d(0x15b)])!=null?_0x269e46:'Unknown\x20user','range':this['_getMergeRange'](_0x40439b,_0x38922d),'sheetID':_0x40439b,'color':this[_0x24b77d(0x25e)]['assignAColorForMemberID'](_0x2959bf),'selection':_0x3b8b4a},_0x34c8ac=this['cursorInfo'];_0x34c8ac['set'](_0x2959bf,_0x5ca0a0),this['_cursorInfo$']['next'](_0x34c8ac);}['_onCursorDelete'](_0x26ebbd){const _0x551703=_0x29bde7,{memberID:_0x55bbbf}=_0x26ebbd[_0x551703(0x215)],_0x254160=this['cursorInfo'];_0x254160[_0x551703(0x35e)](_0x55bbbf),this[_0x551703(0x195)][_0x551703(0x1ea)](_0x254160);}[_0x29bde7(0x274)](_0x5a0f06,_0x3ed744){const _0x3d1199=_0x29bde7;var _0x2e76df,_0x103ffa;const _0x307cd7=(_0x103ffa=(_0x2e76df=this[_0x3d1199(0x1ab)][_0x3d1199(0x2f4)](this[_0x3d1199(0xee)]))==null?void 0x0:_0x2e76df[_0x3d1199(0x2cf)](_0x5a0f06))==null?void 0x0:_0x103ffa['getMergeData']();return(_0x307cd7==null?void 0x0:_0x307cd7[_0x3d1199(0x214)](_0x29e1c2=>_0x3a09c4['Rectangle'][_0x3d1199(0x261)](_0x29e1c2,_0x3ed744)))||_0x3ed744;}[_0x29bde7(0x308)](){const _0x5827ab=_0x29bde7,_0x4091eb=new _0x3a09c4[(_0x5827ab(0x21f))](),_0x1002be=_0x92e6b9(),_0x448ef0=()=>{const _0x4820ee=_0x5827ab;_0x4091eb[_0x4820ee(0x19f)]();const _0x539a40=(_0x4e0087,_0x5d3997,_0x12e556,_0x60dd61)=>{const _0x487617=_0x4820ee;let _0x57ec46=[];switch(_0x4e0087['id']){case _0x6f871[_0x487617(0x37b)][_0x487617(0x151)]:{_0x57ec46=_0x6f871['handleDeleteRangeMoveLeft'](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x1b0)]:{_0x57ec46=_0x6f871[_0x487617(0x29a)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x1f7)]:{_0x57ec46=_0x6f871[_0x487617(0x363)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRangeMoveDownCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x293)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRangeMoveRightCommandId']:{_0x57ec46=_0x6f871['handleInsertRangeMoveRight'](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRowCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x1cf)](_0x4e0087,_0x60dd61);break;}case _0x6f871['EffectRefRangId'][_0x487617(0x3ab)]:{_0x57ec46=_0x6f871[_0x487617(0x1a3)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['RemoveColCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x1ca)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x360)]:{_0x57ec46=_0x6f871[_0x487617(0x1c1)](_0x4e0087,_0x60dd61);break;}}const _0x325812=_0x6f871['runRefRangeMutations'](_0x57ec46,_0x60dd61),_0x3e4a17=this[_0x487617(0x156)][_0x487617(0x31d)](_0x5d3997);if(_0x3e4a17&&_0x325812){const _0x1eb09c={..._0x3e4a17,'range':_0x325812};this['cursorInfo']['set'](_0x5d3997,_0x1eb09c),_0x1002be(()=>{const _0xef7f7=_0x487617,_0x599a3f=this['_refRangeService'][_0xef7f7(0x38b)](_0x325812,_0x48982b=>(_0x599a3f[_0xef7f7(0x19f)](),_0x539a40(_0x48982b,_0x5d3997,_0x12e556,_0x325812)));_0x4091eb['add'](_0x599a3f);});}return{'redos':[],'undos':[]};};this[_0x4820ee(0x156)][_0x4820ee(0x27c)]((_0x2d30ae,_0xcf814d)=>{const _0x5ae9f0=_0x4820ee,{range:_0x1eba62,sheetID:_0x5b3bb3}=_0x2d30ae,_0x2f70ab=this[_0x5ae9f0(0x345)][_0x5ae9f0(0x38b)](_0x1eba62,_0x4d85a3=>(_0x2f70ab[_0x5ae9f0(0x19f)](),_0x539a40(_0x4d85a3,_0xcf814d,_0x5b3bb3,_0x1eba62)));_0x4091eb[_0x5ae9f0(0x2b2)](_0x2f70ab);});};this[_0x5827ab(0x28e)](_0x3a09c4['toDisposable'](this[_0x5827ab(0x195)][_0x5827ab(0x359)](()=>{_0x448ef0();})));}[_0x29bde7(0x193)](){const _0x278587=_0x29bde7;var _0x6771c8,_0x53c53d;if(this[_0x278587(0x383)]=!0x0,((_0x6771c8=this[_0x278587(0x1ab)]['getFocusedUnit']())==null?void 0x0:_0x6771c8[_0x278587(0x348)]())!==this[_0x278587(0xee)])return;const _0x5e5221=(_0x53c53d=this['_injector']['get'](_0x6f871[_0x278587(0x357)])[_0x278587(0x34d)]())==null?void 0x0:_0x53c53d[0x0],_0x3f3f33=this[_0x278587(0x1ab)][_0x278587(0xc7)](_0x3a09c4[_0x278587(0x30d)][_0x278587(0x2aa)])[_0x278587(0x160)]();_0x5e5221&&_0x3f3f33&&this[_0x278587(0x1e3)](_0x3f3f33['getSheetId'](),_0x5e5221);}['_toggleOffline'](){const _0x556bd1=_0x29bde7;this[_0x556bd1(0x383)]=!0x1;}};_0xd3e96a=_0x20c1aa([_0x565401(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x565401(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x1acd06)),_0x565401(0x4,_0x3a09c4['Inject'](_0x5e7c26[_0x29bde7(0x203)])),_0x565401(0x5,_0x3a09c4['IUniverInstanceService']),_0x565401(0x6,_0x3a09c4[_0x29bde7(0x339)]),_0x565401(0x7,_0x3a09c4[_0x29bde7(0xdb)](_0x6f871[_0x29bde7(0xce)]))],_0xd3e96a);var _0x4e2170=Object[_0x29bde7(0x224)],_0x218f59=(_0x5f5943,_0x2238b0,_0x34fc00,_0x56a336)=>{const _0xa1ef26=_0x29bde7;for(var _0x1b79ff=_0x56a336>0x1?void 0x0:_0x56a336?_0x4e2170(_0x2238b0,_0x34fc00):_0x2238b0,_0x1c7458=_0x5f5943[_0xa1ef26(0x257)]-0x1,_0x4d74bd;_0x1c7458>=0x0;_0x1c7458--)(_0x4d74bd=_0x5f5943[_0x1c7458])&&(_0x1b79ff=_0x4d74bd(_0x1b79ff)||_0x1b79ff);return _0x1b79ff;},_0x52c822=(_0x3457ea,_0x22bdbc)=>(_0x19b6dc,_0x2d732a)=>_0x22bdbc(_0x19b6dc,_0x2d732a,_0x3457ea);let _0x2763d1=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x2c80fb,_0x38b36d,_0x368003){const _0x2b4869=_0x29bde7;super(),_0x9f87fa(this,_0x2b4869(0x27a),new Map()),_0x9f87fa(this,_0x2b4869(0x1a5),new _0x41fba3[(_0x2b4869(0x376))]()),(this[_0x2b4869(0x1ab)]=_0x2c80fb,this[_0x2b4869(0x247)]=_0x38b36d,this[_0x2b4869(0x1e5)]=_0x368003,this[_0x2b4869(0x34b)]());}[_0x29bde7(0x19f)](){const _0x317844=_0x29bde7;super[_0x317844(0x19f)](),this['_entityInit$'][_0x317844(0x336)](),this['_entities'][_0x317844(0x27c)](_0x5a9b41=>_0x5a9b41[_0x317844(0x19f)]());}[_0x29bde7(0x238)](_0x14ec27){const _0x3e9153=_0x29bde7;return this['_entities']['has'](_0x14ec27)?this[_0x3e9153(0x27a)][_0x3e9153(0x31d)](_0x14ec27)[_0x3e9153(0x2a0)]:this[_0x3e9153(0x1a5)][_0x3e9153(0x2e5)](_0x41fba3[_0x3e9153(0x30e)](_0x50e413=>_0x50e413[_0x3e9153(0xee)]===_0x14ec27),_0x41fba3[_0x3e9153(0x2f8)](_0x18c779=>_0x18c779[_0x3e9153(0x2a0)]));}['_init'](){const _0x3ec692=_0x29bde7;this['_univerInstanceService'][_0x3ec692(0x163)](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0x2aa)])[_0x3ec692(0x2e5)](_0x41fba3['takeUntil'](this[_0x3ec692(0x1ec)]))['subscribe'](async _0x18906c=>{const _0x43ad84=_0x3ec692,_0x4d8c6a=_0x18906c[_0x43ad84(0x348)](),_0x101ec4=await this['_startSheetCollabCursor'](_0x4d8c6a);this['_entityInit$'][_0x43ad84(0x1ea)](_0x101ec4),this[_0x43ad84(0x27a)]['set'](_0x4d8c6a,_0x101ec4);}),this['_univerInstanceService'][_0x3ec692(0x163)](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0xec)])[_0x3ec692(0x2e5)](_0x41fba3[_0x3ec692(0x306)](this[_0x3ec692(0x1ec)]))[_0x3ec692(0x2e5)](_0x41fba3[_0x3ec692(0x30e)](_0x1941c3=>!_0x1941c3[_0x3ec692(0x348)]()[_0x3ec692(0x318)]('__')))[_0x3ec692(0x359)](async _0x522cb3=>{const _0x15189f=_0x3ec692,_0x806c88=_0x522cb3[_0x15189f(0x348)](),_0x1ad223=await this[_0x15189f(0x28b)](_0x806c88);this['_entityInit$'][_0x15189f(0x1ea)](_0x1ad223),this[_0x15189f(0x27a)][_0x15189f(0x2d5)](_0x806c88,_0x1ad223);}),_0x41fba3[_0x3ec692(0x28d)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0xec)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3a09c4['UniverInstanceType'][_0x3ec692(0x2aa)]))['pipe'](_0x41fba3[_0x3ec692(0x306)](this[_0x3ec692(0x1ec)]))[_0x3ec692(0x359)](_0x3289bc=>{const _0x41ebfa=_0x3ec692,_0x1c41f7=_0x3289bc[_0x41ebfa(0x348)](),_0x1a9cd4=this[_0x41ebfa(0x27a)][_0x41ebfa(0x31d)](_0x1c41f7);_0x1a9cd4&&(_0x1a9cd4[_0x41ebfa(0x19f)](),this[_0x41ebfa(0x27a)][_0x41ebfa(0x35e)](_0x1c41f7));});}async[_0x29bde7(0x111)](_0x1dd71f){const _0xeea0ea=_0x29bde7,_0x5efc46=await this[_0xeea0ea(0x1e5)][_0xeea0ea(0x185)](_0x1dd71f),_0x1d06ce=this['_injector'][_0xeea0ea(0x3a3)](_0xd3e96a,_0x1dd71f,_0x5efc46);return _0x1d06ce[_0xeea0ea(0x2c4)](),_0x1d06ce;}async[_0x29bde7(0x28b)](_0x10d354){const _0x502a1c=_0x29bde7,_0x522e3b=await this[_0x502a1c(0x1e5)][_0x502a1c(0x185)](_0x10d354),_0x3a82ab=this[_0x502a1c(0x247)][_0x502a1c(0x3a3)](_0x977053,_0x10d354,_0x522e3b);return _0x3a82ab['init'](),_0x3a82ab;}};_0x2763d1=_0x218f59([_0x52c822(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x52c822(0x1,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x52c822(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x3ae)]))],_0x2763d1);const _0x3ad07c=0x14,_0x4afbb1=0xc8,_0x221ad0=0x4,_0x5ef308=0x5;function _0x314ac8(_0x136a0f,_0x144f2b){const _0x39dbc2=_0x29bde7;let {radius:_0x47e621,width:_0x4609c4,height:_0x15cd9c}=_0x144f2b;_0x47e621=_0x47e621!=null?_0x47e621:0x0,_0x4609c4=_0x4609c4!=null?_0x4609c4:0x1e,_0x15cd9c=_0x15cd9c!=null?_0x15cd9c:0x1e;let _0x4039f2=0x0,_0x26d23c=0x0,_0x14382e=0x0;_0x4039f2=_0x26d23c=_0x14382e=Math[_0x39dbc2(0x1a7)](_0x47e621,_0x4609c4/0x2,_0x15cd9c/0x2),_0x136a0f[_0x39dbc2(0x1b7)](),_0x136a0f[_0x39dbc2(0x239)](_0x4039f2,0x0),_0x136a0f[_0x39dbc2(0x187)](_0x4609c4-_0x26d23c,0x0),_0x136a0f[_0x39dbc2(0xeb)](_0x4609c4-_0x26d23c,_0x26d23c,_0x26d23c,Math['PI']*0x3/0x2,0x0,!0x1),_0x136a0f[_0x39dbc2(0x187)](_0x4609c4,_0x15cd9c-_0x14382e),_0x136a0f[_0x39dbc2(0xeb)](_0x4609c4-_0x14382e,_0x15cd9c-_0x14382e,_0x14382e,0x0,Math['PI']/0x2,!0x1),_0x136a0f['lineTo'](0x0,_0x15cd9c),_0x136a0f['lineTo'](0x0,_0x4039f2),_0x136a0f[_0x39dbc2(0xeb)](_0x4039f2,_0x4039f2,_0x4039f2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x136a0f[_0x39dbc2(0x325)](),_0x144f2b[_0x39dbc2(0x1b9)]&&(_0x136a0f[_0x39dbc2(0x317)](),_0x136a0f['fillStyle']=_0x144f2b[_0x39dbc2(0x1b9)],_0x144f2b[_0x39dbc2(0x1f4)]===_0x39dbc2(0x351)?_0x136a0f[_0x39dbc2(0x1b9)](_0x39dbc2(0x351)):_0x136a0f[_0x39dbc2(0x1b9)](),_0x136a0f[_0x39dbc2(0x271)]());}class _0xb13f21 extends _0x271b4b[_0x29bde7(0x157)]{constructor(_0x43ed6c,_0xea6e14){const _0xddeab2=_0x29bde7;super(_0x43ed6c,_0xea6e14),_0x9f87fa(this,_0xddeab2(0x2a6)),_0x9f87fa(this,_0xddeab2(0x2b5)),(this[_0xddeab2(0x2a6)]=_0xea6e14==null?void 0x0:_0xea6e14['color'],this[_0xddeab2(0x2b5)]=_0xea6e14==null?void 0x0:_0xea6e14[_0xddeab2(0x2b5)]);}static[_0x29bde7(0x399)](_0x55a5f0,_0x5a2b77){const _0x115991=_0x29bde7,{text:_0x4735b,color:_0x51d243}=_0x5a2b77;_0x55a5f0[_0x115991(0x317)](),_0x55a5f0[_0x115991(0x356)]=_0x115991(0x397);const _0x4e0753=_0x55a5f0[_0x115991(0x1d2)](_0x4735b)[_0x115991(0x393)],_0x125730=Math[_0x115991(0x1a7)](_0x4e0753+0x2*_0x221ad0,_0x4afbb1);_0x314ac8(_0x55a5f0,{'height':_0x3ad07c,'radius':0x4,'width':_0x125730,'fill':_0x51d243}),_0x55a5f0['fillStyle']='#FFF';const _0x32b9a1=_0x221ad0,_0x2e37c7=_0x3ad07c-_0x5ef308,_0xfc4fc5=_0x4afbb1-0x2*_0x221ad0;if(_0x4e0753>_0xfc4fc5){let _0x195510='',_0x58803e=0x0;for(const _0xaf6479 of _0x4735b){const _0x5404cf=_0x55a5f0[_0x115991(0x1d2)](_0xaf6479)['width'];if(_0x58803e+_0x5404cf<=_0xfc4fc5-_0x55a5f0['measureText'](_0x115991(0xe0))[_0x115991(0x393)])_0x195510+=_0xaf6479,_0x58803e+=_0x5404cf;else{_0x195510+='...';break;}}_0x55a5f0['fillText'](_0x195510,_0x32b9a1,_0x2e37c7);}else _0x55a5f0[_0x115991(0x15a)](_0x4735b,_0x32b9a1,_0x2e37c7);_0x55a5f0['restore']();}[_0x29bde7(0x121)](_0x2e2c96){const _0xdc63b7=_0x29bde7;_0xb13f21[_0xdc63b7(0x399)](_0x2e2c96,this);}}const _0x576984=_0x29bde7(0x296),_0x1d1b28=_0x29bde7(0xc1),_0x10b1db=_0x29bde7(0x13f),_0x4b09c8=0x6,_0x4564fc=1.5,_0x59a3b3=0x4,_0x3debe4=1.5,_0xfd59bb=_0x29bde7(0x14d);class _0x544971{constructor(_0x5c210e,_0x1be163,_0x472a3e,_0x3006cd){const _0x3df967=_0x29bde7;_0x9f87fa(this,'_shapes',[]),_0x9f87fa(this,_0x3df967(0x1e0),null),_0x9f87fa(this,'_textBubble',null),_0x9f87fa(this,_0x3df967(0x2a3),null),_0x9f87fa(this,_0x3df967(0x32b),null),_0x9f87fa(this,_0x3df967(0x139),null),(this['_cursor']=_0x5c210e,this['_scene']=_0x1be163,this['_docSkeleton']=_0x472a3e,this['_document']=_0x3006cd,this[_0x3df967(0x192)]());}set[_0x29bde7(0xfc)](_0x19af79){const _0x2da6b9=_0x29bde7;_0x19af79?(this['_anchorDot']&&this['_anchorDot'][_0x2da6b9(0x1db)](),this[_0x2da6b9(0x2f2)]&&this[_0x2da6b9(0x2f2)][_0x2da6b9(0x16f)]()):(this['_anchorDot']&&this[_0x2da6b9(0x2a3)][_0x2da6b9(0x16f)](),this[_0x2da6b9(0x2f2)]&&this['_textBubble']['hide']());}[_0x29bde7(0x19f)](){const _0x46ce7a=_0x29bde7;for(const _0x26d093 of this[_0x46ce7a(0xca)])_0x26d093[_0x46ce7a(0x19f)]();this[_0x46ce7a(0x2f2)]&&this[_0x46ce7a(0x2f2)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x2a3)]&&this[_0x46ce7a(0x2a3)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x1e0)]&&this[_0x46ce7a(0x1e0)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x139)]&&this[_0x46ce7a(0x139)]();}['_render'](){const _0x1fdfe9=_0x29bde7;var _0x2afc87;const {_docSkeleton:_0xc41b26,_document:_0x3ae2e3}=this,{color:_0x414d6e,name:_0x478b36,ranges:_0x511a91}=this[_0x1fdfe9(0x175)],_0x16a598=_0x3ae2e3[_0x1fdfe9(0x295)](),{docsLeft:_0x251af4,docsTop:_0x2692bd}=_0x16a598,_0x46a766=new _0x9d9b14[(_0x1fdfe9(0x32d))](_0x16a598,_0xc41b26);for(const {startOffset:_0x28f588,endOffset:_0x517be2,rangeType:_0x5ce289,segmentId:_0x44024d,segmentPage:_0x37d0f6,collapsed:_0x1789c2,isActive:_0x20dcd0}of _0x511a91){const _0x3240be=_0xc41b26['findNodePositionByCharIndex'](_0x28f588,!0x0,_0x44024d,_0x37d0f6);let _0x102b79=_0xc41b26[_0x1fdfe9(0x173)](_0x517be2,!0x0,_0x44024d,_0x37d0f6);if(_0x102b79==null&&(_0x102b79=_0xc41b26[_0x1fdfe9(0x173)](_0x517be2-0x1,!0x1,_0x44024d,_0x37d0f6)),_0x20dcd0){const {contentBoxPointGroup:_0x5f4b4b}=_0x46a766[_0x1fdfe9(0x2f1)](_0x102b79,_0x102b79);if(_0x5f4b4b[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x389)](_0x414d6e,_0x5f4b4b,_0x251af4,_0x2692bd,_0x478b36),this['_eventUnsubscribe']=this[_0x1fdfe9(0x33e)]();}if(_0x3240be&&_0x102b79){if(_0x5ce289===_0x3a09c4[_0x1fdfe9(0x11c)][_0x1fdfe9(0x223)]){const _0x2cec86=new _0x9d9b14[(_0x1fdfe9(0xbe))](_0x16a598,_0xc41b26),{pointGroup:_0x47a5f6}=(_0x2afc87=_0x2cec86['getRangePointData'](_0x3240be,_0x102b79))!=null?_0x2afc87:{};if(_0x47a5f6==null||_0x47a5f6[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x233)](_0x414d6e,_0x47a5f6,_0x251af4,_0x2692bd);}else{if(!_0x1789c2){const {borderBoxPointGroup:_0x1a6290}=_0x46a766[_0x1fdfe9(0x2f1)](_0x3240be,_0x102b79);if(_0x1a6290[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x292)](_0x414d6e,_0x1a6290,_0x251af4,_0x2692bd);}}}}}[_0x29bde7(0x389)](_0x232110,_0x3557cc,_0xc439cb,_0x19f45e,_0x5cd9df){const _0x5d295b=_0x29bde7,_0x4f08b1=this[_0x5d295b(0x128)](_0x3557cc),{left:_0x357a0f,top:_0x254e85,height:_0x3ea74f}=_0x4f08b1,_0x256591=this['_getScale'](),_0x37392d=_0x3debe4/_0x256591,_0x5d0e17=new _0x271b4b[(_0x5d295b(0x326))](_0x576984+_0x3a09c4[_0x5d295b(0x382)](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e,'height':_0x3ea74f,'width':_0x4564fc,'fill':_0x232110||_0x271b4b[_0x5d295b(0x241)](_0x3a09c4[_0x5d295b(0x38a)][_0x5d295b(0xd1)],0x0),'strokeWidth':_0x37392d,'stroke':_0xfd59bb,'evented':!0x0});this['_anchor']=_0x5d0e17,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0x5d0e17,_0x9d9b14[_0x5d295b(0x20b)]);const _0x1271e5=new _0x271b4b['Rect'](_0x576984+_0x3a09c4['generateRandomId'](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e-_0x59a3b3/0x2,'height':_0x59a3b3,'width':_0x59a3b3,'fill':_0x232110||_0x271b4b[_0x5d295b(0x241)](_0x3a09c4[_0x5d295b(0x38a)][_0x5d295b(0xd1)],0x0),'strokeWidth':0x0,'stroke':_0x232110||_0x271b4b['getColor'](_0x3a09c4['COLORS'][_0x5d295b(0xd1)],0x0),'evented':!0x1});this[_0x5d295b(0x2a3)]=_0x1271e5,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0x1271e5,_0x9d9b14[_0x5d295b(0x20b)]);const _0xd876ef=new _0xb13f21(_0x576984+_0x3a09c4[_0x5d295b(0x382)](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e-_0x3ad07c,'text':_0x5cd9df,'color':_0x232110});this[_0x5d295b(0x2f2)]=_0xd876ef,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0xd876ef,_0x9d9b14[_0x5d295b(0x20b)]),this[_0x5d295b(0xfc)]=!0x1;}['_handleHover'](){const _0x507d67=_0x29bde7,_0x1efc7d=this[_0x507d67(0x1e0)][_0x507d67(0x320)]['subscribeEvent'](()=>{const _0x269f55=_0x507d67;this[_0x269f55(0xfc)]=!0x0;}),_0x5f25f2=this[_0x507d67(0x1e0)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x228edb=_0x507d67;this[_0x228edb(0x32b)]&&clearTimeout(this[_0x228edb(0x32b)]),this[_0x228edb(0x32b)]=setTimeout(()=>{const _0x4ddab5=_0x228edb;this[_0x4ddab5(0xfc)]=!0x1;},0x7d0);});return()=>{const _0x2da018=_0x507d67;_0x1efc7d[_0x2da018(0x2b7)](),_0x5f25f2[_0x2da018(0x2b7)]();};}[_0x29bde7(0x292)](_0xcbeaf9,_0x24409b,_0x1a0689,_0x2a0946){const _0x51d7cf=_0x29bde7,_0x12f80f=new _0x3a09c4[(_0x51d7cf(0x2f3))](_0xcbeaf9)[_0x51d7cf(0x138)](0.2)['toRgbString'](),_0x305ab6=new _0x271b4b[(_0x51d7cf(0x26f))](_0x1d1b28+_0x3a09c4[_0x51d7cf(0x382)](_0x4b09c8),{'pointsGroup':_0x24409b,'fill':_0x12f80f||_0x271b4b[_0x51d7cf(0x241)](_0x3a09c4[_0x51d7cf(0x38a)][_0x51d7cf(0xd1)],0.2),'left':_0x1a0689,'top':_0x2a0946,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x305ab6),this[_0x51d7cf(0x2ea)][_0x51d7cf(0x396)](_0x305ab6,_0x9d9b14[_0x51d7cf(0x20b)]);}[_0x29bde7(0x233)](_0x1cf7c8,_0x41acac,_0x4e40e7,_0x2f30a1){const _0x4a848b=_0x29bde7,_0x3b9fcb=new _0x3a09c4['ColorKit'](_0x1cf7c8)['setAlpha'](0.2)[_0x4a848b(0x249)](),_0x471b14=new _0x271b4b[(_0x4a848b(0x26f))](_0x10b1db+_0x3a09c4[_0x4a848b(0x382)](_0x4b09c8),{'pointsGroup':_0x41acac,'fill':_0x3b9fcb||_0x271b4b['getColor'](_0x3a09c4['COLORS'][_0x4a848b(0xd1)],0.2),'left':_0x4e40e7,'top':_0x2f30a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a848b(0xca)][_0x4a848b(0x174)](_0x471b14),this[_0x4a848b(0x2ea)][_0x4a848b(0x396)](_0x471b14,_0x9d9b14[_0x4a848b(0x20b)]);}['_getAnchorBounding'](_0x5b7ec){const _0x1559c3=_0x5b7ec[0x0],_0x562452=_0x1559c3[0x0],_0xabfa07=_0x1559c3[0x2],{x:_0x4bd49e,y:_0x481d14}=_0x562452,{x:_0x41756d,y:_0x27fe0a}=_0xabfa07;return{'left':_0x4bd49e,'top':_0x481d14,'width':_0x41756d-_0x4bd49e,'height':_0x27fe0a-_0x481d14};}['_getScale'](){const _0x37b4b0=_0x29bde7,{scaleX:_0x3a70f3,scaleY:_0x55992f}=this[_0x37b4b0(0x2ea)]['getAncestorScale']();return Math['max'](_0x3a70f3,_0x55992f);}}var _0x2e0a2e=Object[_0x29bde7(0x224)],_0xf368bb=(_0x4cbfcb,_0x3f9482,_0x2dadcf,_0x4a076c)=>{for(var _0x51c50e=_0x4a076c>0x1?void 0x0:_0x4a076c?_0x2e0a2e(_0x3f9482,_0x2dadcf):_0x3f9482,_0x44a4d0=_0x4cbfcb['length']-0x1,_0xab0f3b;_0x44a4d0>=0x0;_0x44a4d0--)(_0xab0f3b=_0x4cbfcb[_0x44a4d0])&&(_0x51c50e=_0xab0f3b(_0x51c50e)||_0x51c50e);return _0x51c50e;},_0x9203be=(_0x2c5e4b,_0x5811dc)=>(_0x21152a,_0x24d69e)=>_0x5811dc(_0x21152a,_0x24d69e,_0x2c5e4b);let _0x4ec09a=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x34636e,_0x32d985,_0x300d63,_0x2cd2f4,_0x5a4aad){const _0x12f6ce=_0x29bde7;super(),_0x9f87fa(this,_0x12f6ce(0x124),[]),_0x9f87fa(this,_0x12f6ce(0x2f5),[]),(this[_0x12f6ce(0x1dc)]=_0x34636e,this['_docSkeletonManagerService']=_0x32d985,this[_0x12f6ce(0x27d)]=_0x300d63,this[_0x12f6ce(0x114)]=_0x2cd2f4,this[_0x12f6ce(0x286)]=_0x5a4aad,this[_0x12f6ce(0x34b)]());}['_init'](){const _0x1c0317=_0x29bde7,_0x584cf9=this[_0x1c0317(0x1dc)][_0x1c0317(0x3a8)],_0x816b14=this[_0x1c0317(0x332)];this[_0x1c0317(0x28e)](_0x41fba3[_0x1c0317(0x227)]([this[_0x1c0317(0x27d)][_0x1c0317(0x238)](_0x584cf9),this['_themeService'][_0x1c0317(0x226)]])[_0x1c0317(0x2e5)](_0x360399[_0x1c0317(0x20c)](([_0xa4c5ef,_0x1da424])=>({'skeleton':_0x816b14['getSkeleton'](),'cursors':[..._0xa4c5ef['values']()][_0x1c0317(0x253)](_0x78f409=>({..._0x78f409,'color':this['_themeService'][_0x1c0317(0xda)](_0x78f409[_0x1c0317(0x2a6)])}))})))[_0x1c0317(0x359)](_0x4c91d2=>{const _0x11ea0c=_0x1c0317;if(this[_0x11ea0c(0x30b)](),_0x4c91d2){const {skeleton:_0x586069,cursors:_0x52e314}=_0x4c91d2;this[_0x11ea0c(0xcf)](_0x586069,_0x52e314);}})),this[_0x1c0317(0x220)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x231b48,_0x4a75a4){const _0x1e160f=_0x29bde7,{scene:_0x1dba02,mainComponent:_0x51135b}=this['_context'],_0x41da39=_0x4a75a4[_0x1e160f(0x20c)](_0x173184=>new _0x544971(_0x173184,_0x1dba02,_0x231b48,_0x51135b));this['_cursorShapes']=_0x41da39,this[_0x1e160f(0x2f5)]=_0x4a75a4;}['_refreshCollabCursors'](){const _0x1a321b=_0x29bde7;this[_0x1a321b(0x30b)]();const {scene:_0x3c2f6d,mainComponent:_0x4fc845}=this[_0x1a321b(0x1dc)],_0x1d116e=this['_docSkeletonManagerService'][_0x1a321b(0x184)](),_0x461525=this[_0x1a321b(0x2f5)]['map'](_0x636d24=>new _0x544971(_0x636d24,_0x3c2f6d,_0x1d116e,_0x4fc845));this[_0x1a321b(0x124)]=_0x461525;}['_removeCollabCursors'](){const _0x22bc5f=_0x29bde7;this[_0x22bc5f(0x124)]['forEach'](_0x5b7b69=>_0x5b7b69[_0x22bc5f(0x19f)]()),this[_0x22bc5f(0x124)]=[];}['_initCommandExecutedListener'](){const _0x322076=_0x29bde7,_0x2b8933=[_0x9d9b14[_0x322076(0x12d)]['id']];this[_0x322076(0x28e)](this[_0x322076(0x114)][_0x322076(0x1af)](_0x271a3c=>{const _0x4f710d=_0x322076;_0x2b8933[_0x4f710d(0xf3)](_0x271a3c['id'])&&_0x271a3c[_0x4f710d(0x32e)][_0x4f710d(0x3a8)]===this[_0x4f710d(0x1dc)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x29bde7(0x220)](){const _0x2f66a7=_0x29bde7;this['disposeWithMe'](_0x3a09c4[_0x2f66a7(0x1c4)](this['_context'][_0x2f66a7(0x24c)][_0x2f66a7(0xe2)])[_0x2f66a7(0x2e5)](_0x360399[_0x2f66a7(0x30e)](_0x36dd83=>_0x36dd83[_0x2f66a7(0x1d7)]===_0x271b4b[_0x2f66a7(0x1bb)][_0x2f66a7(0x268)]),_0x360399[_0x2f66a7(0x2bf)](0x10))[_0x2f66a7(0x359)](()=>{const _0x4d6f49=_0x2f66a7;this[_0x4d6f49(0xc4)]();}));}};_0x4ec09a=_0xf368bb([_0x9203be(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x4995f4[_0x29bde7(0x2da)])),_0x9203be(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x2763d1)),_0x9203be(0x3,_0x3a09c4['ICommandService']),_0x9203be(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x13a)]))],_0x4ec09a);const _0x5b7afe=0x1,_0x407b6e=1.5;class _0x526d2d extends _0x271b4b[_0x29bde7(0x157)]{constructor(_0x8c7dcf,_0x110cc5){const _0x2f85da=_0x29bde7;super(_0x8c7dcf,_0x110cc5),_0x9f87fa(this,_0x2f85da(0x14f)),_0x9f87fa(this,'_hovered',!0x1),_0x9f87fa(this,_0x2f85da(0x31a)),_0x9f87fa(this,_0x2f85da(0x372),''),_0x9f87fa(this,_0x2f85da(0x182),_0x2f85da(0xea)),_0x9f87fa(this,_0x2f85da(0x12a)),(_0x110cc5&&this[_0x2f85da(0x1a1)](_0x110cc5),this['onPointerEnter$'][_0x2f85da(0x1be)](()=>this[_0x2f85da(0x1a1)]({'hovered':!0x0})),this[_0x2f85da(0x252)][_0x2f85da(0x1be)](()=>this[_0x2f85da(0x1a1)]({'hovered':!0x1})));}[_0x29bde7(0x1a1)](_0x1be9bc){const _0x27232e=_0x29bde7;var _0x17aa54,_0x27dfe3,_0x4112a1,_0x338c46,_0x97b0fc,_0x251153;this[_0x27232e(0x14f)]=(_0x17aa54=_0x1be9bc[_0x27232e(0x2a6)])!=null?_0x17aa54:this[_0x27232e(0x14f)],this[_0x27232e(0x361)]=(_0x27dfe3=_0x1be9bc['hovered'])!=null?_0x27dfe3:this[_0x27232e(0x361)],this[_0x27232e(0x31a)]=(_0x4112a1=_0x1be9bc[_0x27232e(0x285)])!=null?_0x4112a1:this['_range'],this[_0x27232e(0x372)]=(_0x338c46=_0x1be9bc['name'])!=null?_0x338c46:this[_0x27232e(0x372)],this['_labelPosition']=(_0x97b0fc=_0x1be9bc[_0x27232e(0x2e7)])!=null?_0x97b0fc:this[_0x27232e(0x182)],this['_backgroundColor']=(_0x251153=_0x1be9bc['backgroundColor'])!=null?_0x251153:this[_0x27232e(0x12a)],this[_0x27232e(0x275)]({'width':_0x1be9bc[_0x27232e(0x393)],'height':_0x1be9bc['height']});}[_0x29bde7(0x199)](_0x30a776){const _0x3fa98b=_0x29bde7,{row:_0x1143c6,column:_0xaae917}=_0x30a776;if(_0x1143c6>=this[_0x3fa98b(0x31a)]['startRow']&&_0x1143c6<=this[_0x3fa98b(0x31a)][_0x3fa98b(0x1e6)]&&_0xaae917>=this[_0x3fa98b(0x31a)][_0x3fa98b(0x15d)]&&_0xaae917<=this[_0x3fa98b(0x31a)][_0x3fa98b(0x1a9)]){this[_0x3fa98b(0x1a1)]({'hovered':!0x0});return;}this[_0x3fa98b(0x1a1)]({'hovered':!0x1});}['triggerDblclick'](_0x90ab2){return!0x1;}[_0x29bde7(0x121)](_0x4dc10d){const _0x5e5c3a=_0x29bde7;_0x271b4b[_0x5e5c3a(0x326)]['drawWith'](_0x4dc10d,{'width':this['width'],'height':this[_0x5e5c3a(0x2bc)],'strokeWidth':_0x407b6e,'stroke':this[_0x5e5c3a(0x14f)],'evented':!0x1,'fill':this[_0x5e5c3a(0x12a)]}),this[_0x5e5c3a(0x361)]&&(_0x4dc10d['save'](),_0x4dc10d[_0x5e5c3a(0x229)](0x1,0x0,0x0,0x1,this[_0x5e5c3a(0x393)],this['_labelPosition']===_0x5e5c3a(0x29f)?0x0:-_0x3ad07c),_0xb13f21[_0x5e5c3a(0x399)](_0x4dc10d,{'text':this[_0x5e5c3a(0x372)],'color':this['_color']}),_0x4dc10d[_0x5e5c3a(0x271)]());}}var _0x16a55b=Object[_0x29bde7(0x224)],_0x1c0456=(_0x17dfd5,_0x3b593b,_0x2c916f,_0x4ef92d)=>{for(var _0x17bd27=_0x4ef92d>0x1?void 0x0:_0x4ef92d?_0x16a55b(_0x3b593b,_0x2c916f):_0x3b593b,_0x5508ef=_0x17dfd5['length']-0x1,_0x470be4;_0x5508ef>=0x0;_0x5508ef--)(_0x470be4=_0x17dfd5[_0x5508ef])&&(_0x17bd27=_0x470be4(_0x17bd27)||_0x17bd27);return _0x17bd27;},_0x423606=(_0x59ab5a,_0x15455b)=>(_0x3e2590,_0x24b57e)=>_0x15455b(_0x3e2590,_0x24b57e,_0x59ab5a);const _0x20bda2=0x1389;let _0x27259b=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x265b11,_0x4c59e3,_0x5f28bb,_0x1896b9){const _0x5db528=_0x29bde7;super(),_0x9f87fa(this,'_cursors',new Set()),_0x9f87fa(this,_0x5db528(0x1cd),null),(this['_context']=_0x265b11,this[_0x5db528(0x101)]=_0x4c59e3,this['_collabCursorController']=_0x5f28bb,this['_themeService']=_0x1896b9,this[_0x5db528(0x34b)]());}[_0x29bde7(0x34b)](){const _0x296cb6=_0x29bde7;this[_0x296cb6(0x101)][_0x296cb6(0x103)][_0x296cb6(0x2e5)](_0x360399['takeUntil'](this['dispose$']),_0x360399[_0x296cb6(0x2f8)](_0x394cef=>{const _0x28daea=_0x296cb6;if(_0x394cef){const _0x540861=_0x394cef[_0x28daea(0x25d)];return _0x41fba3[_0x28daea(0x227)](this[_0x28daea(0x27d)][_0x28daea(0x238)](this[_0x28daea(0x1dc)][_0x28daea(0x3a8)]),this['_themeService'][_0x28daea(0x226)])[_0x28daea(0x2e5)](_0x360399[_0x28daea(0x20c)](([_0x391d4a,_0x556693])=>{const _0x3243b1=new Map();return _0x391d4a['forEach']((_0x4f3ce3,_0x23313e)=>{const _0x48fec0=_0x3fad;if(_0x4f3ce3['sheetID']===_0x540861){const _0x3c1275={..._0x4f3ce3};_0x3c1275[_0x48fec0(0x2a6)]=this['_themeService']['getColorFromTheme'](_0x4f3ce3[_0x48fec0(0x2a6)]),_0x3243b1[_0x48fec0(0x2d5)](_0x23313e,_0x3c1275);}}),{'skeleton':_0x394cef,'cursors':_0x3243b1};}));}return _0x41fba3['of']({'skeleton':null,'cursors':new Map()});}))[_0x296cb6(0x359)](({skeleton:_0x26566c,cursors:_0x43db7a})=>{const _0x4e99b0=_0x296cb6;this[_0x4e99b0(0x30b)](),_0x26566c&&this['_updateCollabCursors'](_0x26566c,_0x43db7a);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x5b1065=>{const _0x2ec879=_0x296cb6;if(_0x5b1065==null)return;const {skeleton:_0x461401}=_0x5b1065,{scene:_0x361528}=this[_0x2ec879(0x1dc)];_0x361528[_0x2ec879(0x327)]['subscribeEvent'](_0x3a09c4[_0x2ec879(0x3a6)](_0x2d783e=>{const _0x227887=_0x2ec879;var _0xa9cea9,_0x290d73;const {offsetX:_0x5b6c5a,offsetY:_0x31c953}=_0x2d783e,{x:_0x4fb5f2,y:_0x35f800}=_0x361528[_0x227887(0x337)](_0x271b4b[_0x227887(0x166)]['FromArray']([_0x5b6c5a,_0x31c953])),{scaleX:_0x424bd0,scaleY:_0x490992}=_0x361528[_0x227887(0x108)](),_0x2ee426=_0x361528[_0x227887(0x39a)](_0x271b4b['SHEET_VIEWPORT_KEY'][_0x227887(0x1e8)]),_0x5119cb=_0x361528['getVpScrollXYInfoByPosToVp'](_0x271b4b[_0x227887(0x166)][_0x227887(0x183)]([_0x4fb5f2,_0x35f800]),_0x2ee426),_0x421b25=_0x461401[_0x227887(0x230)](_0x5b6c5a,_0x31c953,_0x424bd0,_0x490992,_0x5119cb);((_0xa9cea9=this[_0x227887(0x1cd)])==null?void 0x0:_0xa9cea9[_0x227887(0x1e2)])===_0x421b25[_0x227887(0x1e2)]&&((_0x290d73=this['_lastPointer'])==null?void 0x0:_0x290d73[_0x227887(0x2ed)])===_0x421b25[_0x227887(0x2ed)]||this[_0x227887(0x2f5)][_0x227887(0x27c)](_0x1e6df1=>{_0x1e6df1['onMouseMove'](_0x421b25);});},0x64));});}[_0x29bde7(0xcf)](_0x52c013,_0x539cec){const _0x29d0e3=_0x29bde7;var _0x4295c4;const _0x5aa635=(_0x4295c4=this[_0x29d0e3(0x101)][_0x29d0e3(0x228)]())==null?void 0x0:_0x4295c4[_0x29d0e3(0x39d)];if(!_0x5aa635)return;const _0x512e8f=this[_0x29d0e3(0x2df)]();if(!_0x512e8f)return;this['_cursors'][_0x29d0e3(0x27c)](_0x1d48ae=>{const _0x3a3e24=_0x29d0e3;_0x1d48ae[_0x3a3e24(0x12b)]();});const {scene:_0x4fe874}=_0x512e8f,_0x1ce790=_0x149313(Array['from'](_0x539cec[_0x29d0e3(0x2a1)]()))[_0x29d0e3(0x20c)](_0x260674=>{const _0x4f126c=_0x29d0e3,{color:_0x3c36f4,range:_0x41cd54,name:_0x116191,selection:_0x26d2e8,sheetID:_0x410c76}=_0x260674,{startColumn:_0x79dc81,startRow:_0x2cc771,endColumn:_0x3bd07a,endRow:_0x633d6a}=_0x41cd54,_0x5da82a=_0x577dad['getCoordByCell'](_0x2cc771,_0x79dc81,_0x4fe874,_0x5aa635),_0x2cefcb=_0x577dad[_0x4f126c(0x335)](_0x633d6a,_0x3bd07a,_0x4fe874,_0x5aa635),{columnHeaderHeightAndMarginTop:_0x1ab6c6}=_0x5aa635,{startX:_0x957c82,startY:_0x4a43b6}=_0x5da82a,{endX:_0x2ee712,endY:_0x4e28a4}=_0x2cefcb,_0x1f7642=_0x2ee712-_0x957c82,_0x23698d=_0x4e28a4-_0x4a43b6,_0x3d770b={'labelPosition':_0x4a43b6-_0x1ab6c6>=_0x3ad07c?_0x4f126c(0xea):_0x4f126c(0x29f),'sheetID':_0x410c76,'range':_0x41cd54,'color':_0x3c36f4,'name':_0x116191,'selection':_0x26d2e8,'left':_0x957c82,'top':_0x4a43b6,'width':_0x1f7642,'height':_0x23698d,'evented':!0x1,'zIndex':_0x20bda2};return new _0x526d2d(_0x116191,_0x3d770b);});_0x4fe874[_0x29d0e3(0x38f)](_0x1ce790,_0x5b7afe),this[_0x29d0e3(0x2f5)]=new Set(_0x1ce790);}[_0x29bde7(0x30b)](){const _0x25825d=_0x29bde7;var _0x47796d;(_0x47796d=this['_cursors'])==null||_0x47796d[_0x25825d(0x27c)](_0x4c3464=>_0x4c3464[_0x25825d(0x19f)]());}['_getSheetObject'](){const _0x3513ab=_0x29bde7;return _0x577dad[_0x3513ab(0x120)](this[_0x3513ab(0x1dc)][_0x3513ab(0x22e)],this['_context']);}};_0x27259b=_0x1c0456([_0x423606(0x1,_0x3a09c4['Inject'](_0x577dad['SheetSkeletonManagerService'])),_0x423606(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x2763d1)),_0x423606(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x13a)]))],_0x27259b);function _0x149313(_0x468862){const _0x47f526=_0x29bde7,_0x2cae6b=new Map();return _0x468862['forEach'](_0x5e0be0=>{const _0x316ab6=_0x3fad;if(_0x2cae6b['has'](_0x5e0be0[_0x316ab6(0x18a)])){const _0x21d45d=_0x2cae6b[_0x316ab6(0x31d)](_0x5e0be0[_0x316ab6(0x18a)]);_0x21d45d[_0x316ab6(0x15b)]+=',\x20'+_0x5e0be0['name'];}else _0x2cae6b[_0x316ab6(0x2d5)](_0x5e0be0['selection'],_0x5e0be0);}),Array[_0x47f526(0xc9)](_0x2cae6b[_0x47f526(0x2a1)]());}var _0x5148f1=Object[_0x29bde7(0x224)],_0xac81cc=(_0x38838a,_0x1dbaa4,_0x17d60a,_0x4e196b)=>{for(var _0x2476e2=_0x4e196b>0x1?void 0x0:_0x4e196b?_0x5148f1(_0x1dbaa4,_0x17d60a):_0x1dbaa4,_0x4d6155=_0x38838a['length']-0x1,_0x1a8819;_0x4d6155>=0x0;_0x4d6155--)(_0x1a8819=_0x38838a[_0x4d6155])&&(_0x2476e2=_0x1a8819(_0x2476e2)||_0x2476e2);return _0x2476e2;},_0x46b179=(_0x2a1f91,_0xc1fae1)=>(_0x4c3511,_0xe4b076)=>_0xc1fae1(_0x4c3511,_0xe4b076,_0x2a1f91);let _0x2ee8d7=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x4decdb,_0x165174,_0x3268f4,_0x53fda2,_0x566582,_0x179dec){const _0x3773ac=_0x29bde7;super(),this[_0x3773ac(0x265)]=_0x4decdb,this[_0x3773ac(0x2c7)]=_0x165174,this[_0x3773ac(0x180)]=_0x3268f4,this[_0x3773ac(0x388)]=_0x53fda2,this[_0x3773ac(0x1d6)]=_0x566582,this[_0x3773ac(0x142)]=_0x179dec,this['_setupBeforeClosingHandler'](),this[_0x3773ac(0x23f)]();}[_0x29bde7(0x133)](){const _0xecd386=_0x29bde7;this['disposeWithMe'](this[_0xecd386(0x265)]['registerBeforeClose'](()=>{const _0x212f30=_0xecd386;if(this[_0x212f30(0x2c7)][_0x212f30(0x36f)][_0x212f30(0xe4)])return this[_0x212f30(0x142)]['t'](_0x212f30(0x1c2));}));}['_initEvent'](){const _0x230e6d=_0x29bde7;this[_0x230e6d(0x28e)](this[_0x230e6d(0x180)][_0x230e6d(0xe3)][_0x230e6d(0x359)](_0x1a3f55=>{const _0x20a5c6=_0x230e6d;_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['OTHER_CLIENT_EDITING']&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0xc3))}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)][_0x20a5c6(0x107)]&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0x30f))}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['PERMISSION_DENIED']&&this[_0x20a5c6(0x1d6)][_0x20a5c6(0x16f)]({'title':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0xe6)),'content':this[_0x20a5c6(0x142)]['t']('permission.content'),'type':_0x20a5c6(0x34f),'duration':0x0}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)][_0x20a5c6(0x37a)]&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Error'],'content':this['_localeService']['t'](_0x20a5c6(0x30f))+'('+_0x1a3f55[_0x20a5c6(0x215)]+')'}),_0x1a3f55['id']===_0x5e7c26['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x1a3f55['data']||'')}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['SOCKET_FAILED_RETRY']&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Warning'],'content':this[_0x20a5c6(0x142)]['t']('session.will-retry')}),_0x1a3f55['id']===_0x5e7c26['CollaborationUIEventId'][_0x20a5c6(0x20e)]&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Error'],'content':this[_0x20a5c6(0x142)]['t']('session.connection-failed')}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x29c)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0x334))});}));}};_0x2ee8d7=_0xac81cc([_0x46b179(0x0,_0x592aaf['IBeforeCloseService']),_0x46b179(0x1,_0x5e7c26[_0x29bde7(0x355)]),_0x46b179(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x18d)])),_0x46b179(0x3,_0x592aaf[_0x29bde7(0x236)]),_0x46b179(0x4,_0x592aaf['INotificationService']),_0x46b179(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x36c)]))],_0x2ee8d7);var _0x19fc27=Object['getOwnPropertyDescriptor'],_0x21ee04=(_0x4df1a1,_0x31b6a8,_0x464c23,_0x3d4d72)=>{for(var _0x4117c7=_0x3d4d72>0x1?void 0x0:_0x3d4d72?_0x19fc27(_0x31b6a8,_0x464c23):_0x31b6a8,_0x189eca=_0x4df1a1['length']-0x1,_0x323889;_0x189eca>=0x0;_0x189eca--)(_0x323889=_0x4df1a1[_0x189eca])&&(_0x4117c7=_0x323889(_0x4117c7)||_0x4117c7);return _0x4117c7;},_0x3f2815=(_0x10580b,_0x588e8c)=>(_0x3f81ea,_0x15eedc)=>_0x588e8c(_0x3f81ea,_0x15eedc,_0x10580b);let _0x32a527=class extends _0x3a09c4['Disposable']{constructor(_0x46a485,_0x3416b6,_0x336e1d,_0x121a3b){const _0x4ccb85=_0x29bde7;super(),_0x9f87fa(this,'_memberID'),(this['_injector']=_0x46a485,this['_httpService']=_0x3416b6,this[_0x4ccb85(0x28c)]=_0x336e1d,this[_0x4ccb85(0x222)]=_0x121a3b,this[_0x4ccb85(0x34b)]());}[_0x29bde7(0x34b)](){const _0x34cdb1=_0x29bde7;this[_0x34cdb1(0x391)](),this[_0x34cdb1(0xf2)](),this['_monkeyPatchLogService'](),this[_0x34cdb1(0x390)]();}[_0x29bde7(0x390)](){const _0x40be7c=_0x29bde7;this[_0x40be7c(0x28e)](this['_collaborationSessionService'][_0x40be7c(0x392)][_0x40be7c(0x359)](_0x29cf5b=>{const _0x300d7f=_0x40be7c;this['_memberID']=_0x29cf5b==null?void 0x0:_0x29cf5b[_0x300d7f(0x105)];}));}['_initWindowErrorListener'](){const _0x269f6d=_0x29bde7,_0x2dfd29=_0x52308f=>{const _0xc12670=_0x3fad;var _0x4b30c7;this['_uploadLog'](_0xc12670(0x34f),_0xc12670(0x24f)+_0x52308f[_0xc12670(0x127)]+_0xc12670(0x2d3)+_0x52308f[_0xc12670(0x16e)]+':'+_0x52308f[_0xc12670(0x1dd)]+':'+_0x52308f[_0xc12670(0x123)]+'\x0a'+(((_0x4b30c7=_0x52308f[_0xc12670(0x34f)])==null?void 0x0:_0x4b30c7[_0xc12670(0x27f)])||''));};window[_0x269f6d(0x23e)]('error',_0x2dfd29),this['disposeWithMe'](()=>{const _0x5a6530=_0x269f6d;window[_0x5a6530(0x21c)]('error',_0x2dfd29);});}[_0x29bde7(0xf2)](){const _0x421304=_0x29bde7,_0x5037d3=_0x4de7a7=>{const _0x248ede=_0x3fad;this[_0x248ede(0x27b)](_0x248ede(0x34f),'[Unhandled\x20Rejection]:\x20'+_0x4de7a7[_0x248ede(0x16b)]);};window[_0x421304(0x23e)](_0x421304(0x118),_0x5037d3),this[_0x421304(0x28e)](()=>{const _0x5d3cd5=_0x421304;window[_0x5d3cd5(0x21c)](_0x5d3cd5(0x118),_0x5037d3);});}[_0x29bde7(0x291)](){const _0x452b58=_0x29bde7,_0x306448=this[_0x452b58(0x28c)]['error']['bind'](this[_0x452b58(0x28c)]);this['_logService']['error']=(..._0x5659a6)=>{const _0x558c69=_0x452b58,_0x2e2201=_0x5659a6[_0x558c69(0x20c)](_0x4d67d1=>_0x4d67d1 instanceof Error?_0x4d67d1[_0x558c69(0x127)]+'\x0a'+_0x4d67d1['stack']:String(_0x4d67d1))['join']('\x20');this[_0x558c69(0x27b)](_0x558c69(0x34f),_0x558c69(0x33d)+_0x2e2201),_0x306448(..._0x5659a6);},this[_0x452b58(0x28e)](()=>{this['_logService']['error']=_0x306448;});}['_uploadLog'](_0x2ba37b,_0x3ea335){const _0x15b994=_0x29bde7;try{const _0x3a9d68={'userId':this['_memberID'],'logLabel':_0x2ba37b,'content':_0x3ea335};this['_httpService'][_0x15b994(0x279)](_0x15b994(0x11a),{'body':_0x3a9d68})[_0x15b994(0x2a5)](()=>{});}catch{}}};_0x32a527=_0x21ee04([_0x3f2815(0x0,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x3f2815(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86[_0x29bde7(0x258)])),_0x3f2815(0x2,_0x3a09c4[_0x29bde7(0x1da)]),_0x3f2815(0x3,_0x3a09c4['Inject'](_0x5e7c26['CollaborationSessionService']))],_0x32a527);const _0x2d74b1=_0x29bde7(0x2e1),_0x2c5eff={};var _0x3cba64=Object[_0x29bde7(0x224)],_0x51b25a=(_0x4a6cd2,_0x490862,_0x3c0353,_0x496da8)=>{const _0x484a22=_0x29bde7;for(var _0x9aee0e=_0x496da8>0x1?void 0x0:_0x496da8?_0x3cba64(_0x490862,_0x3c0353):_0x490862,_0xa5ba32=_0x4a6cd2[_0x484a22(0x257)]-0x1,_0x590c3c;_0xa5ba32>=0x0;_0xa5ba32--)(_0x590c3c=_0x4a6cd2[_0xa5ba32])&&(_0x9aee0e=_0x590c3c(_0x9aee0e)||_0x9aee0e);return _0x9aee0e;},_0x18d7b0=(_0x4d44a1,_0x446d6f)=>(_0x5eb091,_0x440b52)=>_0x446d6f(_0x5eb091,_0x440b52,_0x4d44a1);let _0x5e0130=class{constructor(_0x46ac11,_0x49180f){const _0x147723=_0x29bde7;this[_0x147723(0x289)]=_0x46ac11,this[_0x147723(0x146)]=_0x49180f;}[_0x29bde7(0x346)](_0x31be42){const _0x1fd5f4=_0x29bde7;this[_0x1fd5f4(0x25c)](_0x31be42),this[_0x1fd5f4(0x2b9)](_0x31be42);}[_0x29bde7(0x145)](_0x363631){const _0x29cf6e=_0x29bde7,{unitID:_0x527aae}=_0x363631,_0x355805=this[_0x29cf6e(0x146)][_0x29cf6e(0x11f)](_0x527aae)[_0x29cf6e(0x240)](_0x9d9b14[_0x29cf6e(0x129)]),{redoCache:_0x4a4ca1}=_0x355805[_0x29cf6e(0x344)]();if(_0x4a4ca1['length']===0x0)return _0x363631;let _0x539830=_0x3a09c4[_0x29cf6e(0x379)]['deepClone'](_0x363631[_0x29cf6e(0xd6)][0x0]);for(let _0xf484e=0x0;_0xf484e<_0x4a4ca1[_0x29cf6e(0x257)];_0xf484e++){const _0x393f9d={'id':_0x29cf6e(0x2cb),'params':{..._0x4a4ca1[_0xf484e]}},_0x116539=this[_0x29cf6e(0x289)][_0x29cf6e(0x1f8)](_0x539830,_0x393f9d,!0x1);if(_0x5e9418[_0x29cf6e(0x273)](_0x116539))throw _0x116539['error'];_0x539830=_0x116539[_0x29cf6e(0x39c)];}return{..._0x3a09c4[_0x29cf6e(0x379)][_0x29cf6e(0x329)](_0x363631),'mutations':[_0x539830]};}[_0x29bde7(0x25c)](_0x1ad039){const _0x3fb531=_0x29bde7,{unitID:_0x8bc2f8}=_0x1ad039,_0x3a4260=this[_0x3fb531(0x146)][_0x3fb531(0x11f)](_0x8bc2f8)['with'](_0x9d9b14['DocIMEInputManagerService']),{undoCache:_0x4b405c,redoCache:_0x4e4199}=_0x3a4260[_0x3fb531(0x344)]();if(_0x4b405c['length']===0x0||_0x4e4199[_0x3fb531(0x257)]===0x0)return;const _0xc9069f=[],_0x34bc50=[];let _0x102345=_0x3a09c4[_0x3fb531(0x379)][_0x3fb531(0x329)](_0x1ad039['mutations'][0x0]),_0x16e30d=_0x3a09c4[_0x3fb531(0x379)][_0x3fb531(0x329)](_0x1ad039[_0x3fb531(0xd6)][0x0]);for(let _0x56d1cb=_0x4b405c[_0x3fb531(0x257)]-0x1;_0x56d1cb>=0x0;_0x56d1cb--){const _0x45d03e={'id':_0x3fb531(0x2cb),'params':{..._0x4b405c[_0x56d1cb]}},_0x4b4bf9={'id':_0x3fb531(0x2cb),'params':{..._0x4e4199[_0x56d1cb]}},_0x304759=this[_0x3fb531(0x289)][_0x3fb531(0x1f8)](_0x102345,_0x45d03e,!0x1),_0x2ab12b=this[_0x3fb531(0x289)][_0x3fb531(0x1f8)](_0x16e30d,_0x4b4bf9,!0x1);if(_0x5e9418[_0x3fb531(0x273)](_0x304759))throw _0x304759[_0x3fb531(0x34f)];if(_0x5e9418[_0x3fb531(0x273)](_0x2ab12b))throw _0x2ab12b['error'];_0xc9069f[_0x3fb531(0x178)](_0x304759[_0x3fb531(0x2e4)]['params']),_0x34bc50[_0x3fb531(0x178)](_0x2ab12b['m2Prime'][_0x3fb531(0x32e)]),_0x102345=_0x304759[_0x3fb531(0x39c)],_0x16e30d=_0x2ab12b[_0x3fb531(0x39c)];}_0x3a4260[_0x3fb531(0x260)]({'undoCache':_0xc9069f,'redoCache':_0x34bc50});}[_0x29bde7(0x2b9)](_0x361b1a){const _0x4e253a=_0x29bde7,{unitID:_0x3fa9eb}=_0x361b1a,_0x4ad21b=this[_0x4e253a(0x146)]['getRenderById'](_0x3fa9eb)[_0x4e253a(0x240)](_0x9d9b14['DocIMEInputManagerService']),_0x57afc8=_0x4ad21b['getActiveRange']();if(_0x57afc8==null)return;const _0x19201b=[{'id':_0x4e253a(0x2cb),'params':{'unitId':_0x361b1a[_0x4e253a(0xee)],'actions':null,'textRanges':[_0x57afc8]}}],_0x596121=this['_transformService'][_0x4e253a(0xf8)](_0x361b1a,_0x19201b);if(!_0x5e9418['isTransformMutationsWithChangesetSuccess'](_0x596121))throw _0x596121[_0x4e253a(0x34f)];const _0x51de96=_0x596121[_0x4e253a(0x2e4)][0x0][_0x4e253a(0x32e)][_0x4e253a(0x1e4)];Array[_0x4e253a(0x106)](_0x51de96)&&_0x51de96[_0x4e253a(0x257)]&&_0x4ad21b['setActiveRange'](_0x51de96[0x0]);}};_0x5e0130=_0x51b25a([_0x18d7b0(0x0,_0x5e9418['ITransformService']),_0x18d7b0(0x1,_0x271b4b[_0x29bde7(0xde)])],_0x5e0130);var _0x30175c=Object[_0x29bde7(0x224)],_0xe6434d=(_0x471187,_0x2c77be,_0x5f1d88,_0x5642e3)=>{const _0x4ca838=_0x29bde7;for(var _0x20d0c4=_0x5642e3>0x1?void 0x0:_0x5642e3?_0x30175c(_0x2c77be,_0x5f1d88):_0x2c77be,_0x2c1fa4=_0x471187[_0x4ca838(0x257)]-0x1,_0x446dc4;_0x2c1fa4>=0x0;_0x2c1fa4--)(_0x446dc4=_0x471187[_0x2c1fa4])&&(_0x20d0c4=_0x446dc4(_0x20d0c4)||_0x20d0c4);return _0x20d0c4;},_0x21662e=(_0x445231,_0x404cc8)=>(_0x19d142,_0x2841f1)=>_0x404cc8(_0x19d142,_0x2841f1,_0x445231);let _0xc132fe=class{constructor(_0x4d1833,_0xb8780,_0x1a7f94){const _0x3fd455=_0x29bde7;this[_0x3fd455(0x247)]=_0x4d1833,this[_0x3fd455(0x289)]=_0xb8780,this['_docStateChangeManagerService']=_0x1a7f94;}[_0x29bde7(0x266)](_0x951add){this['_transformHistoryAndStateStack'](_0x951add);}[_0x29bde7(0x145)](_0x1fe947){const _0x1463be=_0x29bde7,{unitID:_0x452286}=_0x1fe947,{collaboration:_0x1e5729}=this['_docStateChangeManagerService'][_0x1463be(0x2f7)](_0x452286);if(_0x1e5729[_0x1463be(0x257)]===0x0)return _0x1fe947;let _0x4d3727=_0x3a09c4[_0x1463be(0x379)]['deepClone'](_0x1fe947[_0x1463be(0xd6)][0x0]);for(let _0x15588b=0x0;_0x15588b<_0x1e5729[_0x1463be(0x257)];_0x15588b++){const _0x53120f={'id':_0x1463be(0x2cb),'params':{'unitId':_0x1e5729[_0x15588b][_0x1463be(0x3a8)],..._0x1e5729[_0x15588b]['redoState']}},_0x1a9230=this[_0x1463be(0x289)][_0x1463be(0x1f8)](_0x4d3727,_0x53120f,!0x1);if(_0x5e9418[_0x1463be(0x273)](_0x1a9230))throw _0x1a9230[_0x1463be(0x34f)];_0x4d3727=_0x1a9230['m1Prime'];}return{..._0x3a09c4[_0x1463be(0x379)][_0x1463be(0x329)](_0x1fe947),'mutations':[_0x4d3727]};}[_0x29bde7(0x36d)](_0x36608a){const _0xdb503b=_0x29bde7,{unitID:_0x1bbe6f}=_0x36608a,{history:_0x181d1e,collaboration:_0x1fe449}=this[_0xdb503b(0x1c3)]['getStateCache'](_0x1bbe6f);if(_0x181d1e[_0xdb503b(0x257)]===0x0&&_0x1fe449[_0xdb503b(0x257)]===0x0)return;const _0x5df06a=[],_0x48bec6=[];let _0x2a1738=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]),_0x46eacb=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]);for(let _0x1a6a85=_0x181d1e[_0xdb503b(0x257)]-0x1;_0x1a6a85>=0x0;_0x1a6a85--){const _0x312f8e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x181d1e[_0x1a6a85][_0xdb503b(0x3a8)],..._0x181d1e[_0x1a6a85][_0xdb503b(0xcd)]}},_0x1a4215={'id':_0xdb503b(0x2cb),'params':{'unitId':_0x181d1e[_0x1a6a85]['unitId'],..._0x181d1e[_0x1a6a85][_0xdb503b(0x2a7)]}},_0x212c06=this['_transformService']['transformMutation'](_0x2a1738,_0x312f8e,!0x1),_0x121780=this['_transformService'][_0xdb503b(0x1f8)](_0x46eacb,_0x1a4215,!0x1);if(_0x5e9418['isTransformMutationFailure'](_0x212c06))throw _0x212c06[_0xdb503b(0x34f)];if(_0x5e9418[_0xdb503b(0x273)](_0x121780))throw _0x121780[_0xdb503b(0x34f)];_0x5df06a['unshift']({..._0x181d1e[_0x1a6a85],'undoState':_0x212c06[_0xdb503b(0x2e4)][_0xdb503b(0x32e)],'redoState':_0x121780['m2Prime'][_0xdb503b(0x32e)]}),_0x2a1738=_0x212c06[_0xdb503b(0x39c)],_0x46eacb=_0x121780[_0xdb503b(0x39c)];}_0x2a1738=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]),_0x46eacb=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a['mutations'][0x0]);for(let _0x3eecd4=_0x1fe449[_0xdb503b(0x257)]-0x1;_0x3eecd4>=0x0;_0x3eecd4--){const _0x1abe45={'id':_0xdb503b(0x2cb),'params':{'unitId':_0x1fe449[_0x3eecd4][_0xdb503b(0x3a8)],..._0x1fe449[_0x3eecd4][_0xdb503b(0xcd)]}},_0x5fecfe={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fe449[_0x3eecd4][_0xdb503b(0x3a8)],..._0x1fe449[_0x3eecd4][_0xdb503b(0x2a7)]}},_0x473a58=this[_0xdb503b(0x289)][_0xdb503b(0x1f8)](_0x2a1738,_0x1abe45,!0x1),_0xf5921a=this[_0xdb503b(0x289)][_0xdb503b(0x1f8)](_0x46eacb,_0x5fecfe,!0x1);if(_0x5e9418[_0xdb503b(0x273)](_0x473a58))throw _0x473a58[_0xdb503b(0x34f)];if(_0x5e9418[_0xdb503b(0x273)](_0xf5921a))throw _0xf5921a[_0xdb503b(0x34f)];_0x48bec6[_0xdb503b(0x178)]({..._0x1fe449[_0x3eecd4],'undoState':_0x473a58[_0xdb503b(0x2e4)][_0xdb503b(0x32e)],'redoState':_0xf5921a[_0xdb503b(0x2e4)]['params']}),_0x2a1738=_0x473a58['m1Prime'],_0x46eacb=_0xf5921a[_0xdb503b(0x39c)];}this[_0xdb503b(0x1c3)][_0xdb503b(0x112)](_0x1bbe6f,{'history':_0x5df06a,'collaboration':_0x48bec6});}};_0xc132fe=_0xe6434d([_0x21662e(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x21662e(0x1,_0x5e9418[_0x29bde7(0x237)]),_0x21662e(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x9d9b14['DocStateChangeManagerService']))],_0xc132fe);var _0x4e3357=Object['getOwnPropertyDescriptor'],_0x488474=(_0xdaf1e1,_0x1c8191,_0x4f8528,_0x440258)=>{const _0xea4b78=_0x29bde7;for(var _0x5aeca5=_0x440258>0x1?void 0x0:_0x440258?_0x4e3357(_0x1c8191,_0x4f8528):_0x1c8191,_0x1a17d1=_0xdaf1e1[_0xea4b78(0x257)]-0x1,_0x546ccf;_0x1a17d1>=0x0;_0x1a17d1--)(_0x546ccf=_0xdaf1e1[_0x1a17d1])&&(_0x5aeca5=_0x546ccf(_0x5aeca5)||_0x5aeca5);return _0x5aeca5;},_0x375f2d=(_0x34f72a,_0x1c8754)=>(_0x43b805,_0x27c4ee)=>_0x1c8754(_0x43b805,_0x27c4ee,_0x34f72a);let _0x3628e2=class{constructor(_0x206071,_0x80ed11){const _0x202272=_0x29bde7;this[_0x202272(0x247)]=_0x206071,this[_0x202272(0x289)]=_0x80ed11;}['transformSelections'](_0x4f2465){const _0x92e285=_0x29bde7;var _0x2daa7c;const _0xce762d=this[_0x92e285(0x247)]['get'](_0x4995f4[_0x92e285(0x1fa)]),_0x530f86=(_0x2daa7c=_0xce762d['getDocRanges']())!=null?_0x2daa7c:[];if(_0x530f86[_0x92e285(0x257)]===0x0)return;const _0x20c844=_0x4f2465['unitID'],_0x340d69=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x20c844,'actions':null,'textRanges':_0x530f86}}],_0x5c9d93=this['_transformService'][_0x92e285(0xf8)](_0x4f2465,_0x340d69);if(!_0x5e9418[_0x92e285(0x328)](_0x5c9d93))throw _0x5c9d93['error'];const _0x3e528e=_0x5c9d93[_0x92e285(0x2e4)][0x0]['params'][_0x92e285(0x1e4)];Array['isArray'](_0x3e528e)&&_0x3e528e['length']&&_0xce762d[_0x92e285(0x12f)](_0x3e528e,{'unitId':_0x20c844,'subUnitId':_0x20c844},!0x1);}};_0x3628e2=_0x488474([_0x375f2d(0x0,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x375f2d(0x1,_0x5e9418[_0x29bde7(0x237)])],_0x3628e2);var _0x405e8b=Object[_0x29bde7(0x224)],_0x77179d=(_0xf3d97,_0x22e5c6,_0x5bb703,_0x38cc92)=>{const _0x1bf41f=_0x29bde7;for(var _0x208496=_0x38cc92>0x1?void 0x0:_0x38cc92?_0x405e8b(_0x22e5c6,_0x5bb703):_0x22e5c6,_0x47f74f=_0xf3d97[_0x1bf41f(0x257)]-0x1,_0x1d59f6;_0x47f74f>=0x0;_0x47f74f--)(_0x1d59f6=_0xf3d97[_0x47f74f])&&(_0x208496=_0x1d59f6(_0x208496)||_0x208496);return _0x208496;},_0x4f961f=(_0x3c3af0,_0x1eec20)=>(_0x15cd8e,_0x3c6593)=>_0x1eec20(_0x15cd8e,_0x3c6593,_0x3c3af0);let _0x30a1d6=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x5928fd,_0x45ed03,_0x4fcb60,_0x90e601,_0xf1aa05,_0x1ac937,_0x53f9db,_0x104782){const _0x5470a5=_0x29bde7;super(),_0x9f87fa(this,_0x5470a5(0x2d7),new _0x41fba3[(_0x5470a5(0x31e))](_0x5e7c26[_0x5470a5(0x10f)][_0x5470a5(0x305)])),(this[_0x5470a5(0x1c3)]=_0x5928fd,this[_0x5470a5(0x364)]=_0x45ed03,this[_0x5470a5(0x371)]=_0x4fcb60,this['_docTransformStateCacheService']=_0x90e601,this['_docTransformSelectionsService']=_0xf1aa05,this[_0x5470a5(0x333)]=_0x1ac937,this[_0x5470a5(0x388)]=_0x53f9db,this[_0x5470a5(0x142)]=_0x104782,this[_0x5470a5(0x164)]());}[_0x29bde7(0x164)](){const _0x57b943=_0x29bde7;this[_0x57b943(0x28e)](this['_collaborationController'][_0x57b943(0x29e)][_0x57b943(0x359)](_0x259004=>{const _0x6a0de=_0x57b943,_0x324414=this['_docStateChangeManagerService']['docStateChange$'][_0x6a0de(0x359)](_0x976e3c=>{const _0x28eb6b=_0x6a0de;if(_0x976e3c==null)return;const {unitId:_0xb11880,redoState:_0x36001e,commandId:_0x37232c}=_0x976e3c;if(_0xb11880!==_0x259004[_0x28eb6b(0xee)])return;const _0x4af2ba={'id':_0x37232c,'type':_0x3a09c4['CommandType'][_0x28eb6b(0x171)],'params':{'unitId':_0xb11880,'actions':_0x36001e[_0x28eb6b(0x1f2)],'textRanges':null}};_0x259004[_0x28eb6b(0x205)](_0x4af2ba);});if(_0x259004[_0x6a0de(0x28e)](_0x324414),_0x259004 instanceof _0x5e7c26[_0x6a0de(0xdd)]){const _0xc989bf={'onTransformIME':_0x3f3e83=>this[_0x6a0de(0x371)]['transformIMECache'](_0x3f3e83),'onTransformState':_0x441681=>this[_0x6a0de(0x26b)][_0x6a0de(0x266)](_0x441681),'onTransformSelections':_0x4aca1c=>this[_0x6a0de(0x1d3)][_0x6a0de(0x3a4)](_0x4aca1c),'onSyncEditingCollabCursor':_0x447912=>this[_0x6a0de(0x333)][_0x6a0de(0x17b)](_0x447912),'onTransformRemoteChangesetByIMECache':_0x22098b=>this['_docTransformIMECacheService'][_0x6a0de(0x145)](_0x22098b),'onTransformRemoteChangesetByStateCache':_0x44e168=>this['_docTransformStateCacheService'][_0x6a0de(0x145)](_0x44e168)};_0x259004['addHandlerCallback'](_0xc989bf);}}));}};_0x30a1d6=_0x77179d([_0x4f961f(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x9d9b14[_0x29bde7(0x2dd)])),_0x4f961f(0x1,_0x3a09c4['Inject'](_0x5e7c26[_0x29bde7(0x1aa)])),_0x4f961f(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e0130)),_0x4f961f(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0xc132fe)),_0x4f961f(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x3628e2)),_0x4f961f(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3d295c)),_0x4f961f(0x6,_0x592aaf[_0x29bde7(0x236)]),_0x4f961f(0x7,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4['LocaleService']))],_0x30a1d6);var _0x2b04bc=(_0x2abc76=>(_0x2abc76[_0x2abc76[_0x29bde7(0x37c)]=0x0]=_0x29bde7(0x37c),_0x2abc76[_0x2abc76['OK']=0x1]='OK',_0x2abc76[_0x2abc76[_0x29bde7(0x22d)]=0x2]='INTERNAL_ERROR',_0x2abc76[_0x2abc76[_0x29bde7(0x1fd)]=0x3]='PERMISSION_DENIED',_0x2abc76[_0x2abc76[_0x29bde7(0x1ff)]=0x4]=_0x29bde7(0x1ff),_0x2abc76[_0x2abc76[_0x29bde7(0x225)]=0x5]=_0x29bde7(0x225),_0x2abc76[_0x2abc76[_0x29bde7(0x34e)]=0x6]=_0x29bde7(0x34e),_0x2abc76[_0x2abc76[_0x29bde7(0x17d)]=0x7]=_0x29bde7(0x17d),_0x2abc76[_0x2abc76[_0x29bde7(0x12e)]=0x8]='TOO_MANY_REQUESTS',_0x2abc76[_0x2abc76['COMPLETION_FINISHED']=0x9]=_0x29bde7(0x136),_0x2abc76[_0x2abc76[_0x29bde7(0x23d)]=0xa]=_0x29bde7(0x23d),_0x2abc76[_0x2abc76[_0x29bde7(0x102)]=0xb]=_0x29bde7(0x102),_0x2abc76[_0x2abc76['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x29bde7(0x365),_0x2abc76[_0x2abc76[_0x29bde7(0x2fc)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2abc76[_0x2abc76[_0x29bde7(0x38e)]=0xe]=_0x29bde7(0x38e),_0x2abc76[_0x2abc76[_0x29bde7(0x10d)]=0xf]=_0x29bde7(0x10d),_0x2abc76[_0x2abc76[_0x29bde7(0x1b1)]=0x10]=_0x29bde7(0x1b1),_0x2abc76[_0x2abc76[_0x29bde7(0x302)]=0x64]=_0x29bde7(0x302),_0x2abc76[_0x2abc76['ERROR_AGAIN']=0x65]=_0x29bde7(0x21a),_0x2abc76[_0x2abc76[_0x29bde7(0x262)]=0xc9]=_0x29bde7(0x262),_0x2abc76[_0x2abc76[_0x29bde7(0x1e7)]=0xca]=_0x29bde7(0x1e7),_0x2abc76[_0x2abc76[_0x29bde7(0x13e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2abc76[_0x2abc76[_0x29bde7(0x354)]=0x1771]=_0x29bde7(0x354),_0x2abc76[_0x2abc76[_0x29bde7(0x2e2)]=0x1772]=_0x29bde7(0x2e2),_0x2abc76[_0x2abc76[_0x29bde7(0x297)]=0x1773]=_0x29bde7(0x297),_0x2abc76[_0x2abc76['APPLY_REJECT']=0x1b59]=_0x29bde7(0x18c),_0x2abc76[_0x2abc76[_0x29bde7(0xf5)]=0x1b5a]=_0x29bde7(0xf5),_0x2abc76[_0x2abc76['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x29bde7(0xfd),_0x2abc76[_0x2abc76[_0x29bde7(0x375)]=0x1b5c]=_0x29bde7(0x375),_0x2abc76[_0x2abc76[_0x29bde7(0x2bb)]=0x1b5d]=_0x29bde7(0x2bb),_0x2abc76[_0x2abc76[_0x29bde7(0x300)]=0x1f41]=_0x29bde7(0x300),_0x2abc76[_0x2abc76[_0x29bde7(0x10a)]=0x2329]=_0x29bde7(0x10a),_0x2abc76[_0x2abc76[_0x29bde7(0x115)]=0x232a]=_0x29bde7(0x115),_0x2abc76[_0x2abc76[_0x29bde7(0x331)]=0x232b]=_0x29bde7(0x331),_0x2abc76[_0x2abc76[_0x29bde7(0x2d2)]=0x232c]=_0x29bde7(0x2d2),_0x2abc76[_0x2abc76[_0x29bde7(0x2eb)]=0x232d]=_0x29bde7(0x2eb),_0x2abc76[_0x2abc76[_0x29bde7(0x188)]=0x2711]=_0x29bde7(0x188),_0x2abc76[_0x2abc76['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x29bde7(0x244),_0x2abc76[_0x2abc76[_0x29bde7(0x22b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2abc76[_0x2abc76['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x29bde7(0x2d0),_0x2abc76[_0x2abc76[_0x29bde7(0x1f9)]=0x271a]=_0x29bde7(0x1f9),_0x2abc76[_0x2abc76[_0x29bde7(0x282)]=0x271b]=_0x29bde7(0x282),_0x2abc76[_0x2abc76[_0x29bde7(0x290)]=0x271c]=_0x29bde7(0x290),_0x2abc76[_0x2abc76[_0x29bde7(0x280)]=0x271d]=_0x29bde7(0x280),_0x2abc76[_0x2abc76[_0x29bde7(0x2c2)]=0x271e]=_0x29bde7(0x2c2),_0x2abc76[_0x2abc76[_0x29bde7(0xe9)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2abc76[_0x2abc76[_0x29bde7(0x2e6)]=0x2720]=_0x29bde7(0x2e6),_0x2abc76[_0x2abc76[_0x29bde7(0x350)]=0x2af9]=_0x29bde7(0x350),_0x2abc76[_0x2abc76['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x29bde7(0x25a),_0x2abc76[_0x2abc76[_0x29bde7(0x169)]=0x2ee2]=_0x29bde7(0x169),_0x2abc76[_0x2abc76[_0x29bde7(0x2a9)]=0x2ee3]=_0x29bde7(0x2a9),_0x2abc76[_0x2abc76['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x2abc76[_0x2abc76['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x29bde7(0x202),_0x2abc76[_0x2abc76[_0x29bde7(0x176)]=0x32c9]=_0x29bde7(0x176),_0x2abc76[_0x2abc76[_0x29bde7(0x204)]=0x32ca]=_0x29bde7(0x204),_0x2abc76[_0x2abc76[_0x29bde7(0x134)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2abc76[_0x2abc76[_0x29bde7(0x144)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2abc76[_0x2abc76[_0x29bde7(0x263)]=0x36b2]=_0x29bde7(0x263),_0x2abc76[_0x2abc76[_0x29bde7(0x26c)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x2abc76[_0x2abc76[_0x29bde7(0x150)]=0x36b4]=_0x29bde7(0x150),_0x2abc76[_0x2abc76[_0x29bde7(0x2a4)]=0x36b5]=_0x29bde7(0x2a4),_0x2abc76[_0x2abc76[_0x29bde7(0x1ba)]=0x36b6]=_0x29bde7(0x1ba),_0x2abc76[_0x2abc76[_0x29bde7(0x162)]=0x36b7]=_0x29bde7(0x162),_0x2abc76[_0x2abc76[_0x29bde7(0x1bd)]=0x36b8]=_0x29bde7(0x1bd),_0x2abc76[_0x2abc76[_0x29bde7(0x19a)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2abc76[_0x2abc76[_0x29bde7(0x179)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2abc76[_0x2abc76[_0x29bde7(0x1fb)]=0x3717]=_0x29bde7(0x1fb),_0x2abc76[_0x2abc76[_0x29bde7(0x13d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2abc76[_0x2abc76[_0x29bde7(0x11d)]=0x3a99]=_0x29bde7(0x11d),_0x2abc76[_0x2abc76['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x2abc76[_0x2abc76[_0x29bde7(0xef)]=0x3a9b]=_0x29bde7(0xef),_0x2abc76[_0x2abc76[_0x29bde7(0x14a)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x2abc76[_0x2abc76[_0x29bde7(0x1fe)]=0x3a9d]=_0x29bde7(0x1fe),_0x2abc76[_0x2abc76[_0x29bde7(0x1f6)]=0x3a9e]=_0x29bde7(0x1f6),_0x2abc76[_0x2abc76[_0x29bde7(0x147)]=0x3a9f]=_0x29bde7(0x147),_0x2abc76[_0x2abc76[_0x29bde7(0x2cc)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x2abc76[_0x2abc76[_0x29bde7(0x35d)]=-0x1]=_0x29bde7(0x35d),_0x2abc76))(_0x2b04bc||{});function _0x541d21(_0x1033dd){const _0xcc7aca=_0x29bde7;var _0x20c779,_0x3a0d01;const _0xa49bd=(_0x20c779=_0x1033dd[_0xcc7aca(0x1cb)])==null?void 0x0:_0x20c779[_0xcc7aca(0x135)],_0x473bff=((_0x3a0d01=_0x1033dd['stageInfo'])==null?void 0x0:_0x3a0d01[_0xcc7aca(0x27e)])||0x0;return _0xa49bd===_0x3202a1[_0xcc7aca(0xd3)][_0xcc7aca(0x1ed)]&&_0x473bff>0x0;}function _0x3dbd8b(_0x127b5c){const _0x377898=_0x29bde7;return _0x127b5c[_0x377898(0x22a)]===_0x3202a1[_0x377898(0x159)]['SUCCESS'];}var _0x46379b=Object['getOwnPropertyDescriptor'],_0x1dfd3c=(_0x327ece,_0x5405c2,_0x59ecf8,_0x49de0d)=>{const _0x1f8d10=_0x29bde7;for(var _0x267fd0=_0x49de0d>0x1?void 0x0:_0x49de0d?_0x46379b(_0x5405c2,_0x59ecf8):_0x5405c2,_0x142276=_0x327ece[_0x1f8d10(0x257)]-0x1,_0x2e66bf;_0x142276>=0x0;_0x142276--)(_0x2e66bf=_0x327ece[_0x142276])&&(_0x267fd0=_0x2e66bf(_0x267fd0)||_0x267fd0);return _0x267fd0;},_0x55e2d6=(_0x49744f,_0x4a733a)=>(_0x1d7186,_0x3ab44b)=>_0x4a733a(_0x1d7186,_0x3ab44b,_0x49744f);const _0x417e1d=_0x29bde7(0xc2),_0x4e7f71=_0x29bde7(0x2af),_0x47b146=_0x29bde7(0x2e0);let _0x353926=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x32adfd,_0x47335e,_0x3c097a,_0x8a3673,_0x520ca4,_0x188019,_0x1d8d74){const _0x5a2d7c=_0x29bde7;super(),_0x9f87fa(this,_0x5a2d7c(0x377),null),_0x9f87fa(this,'_maxFormulaLimit',0x0),_0x9f87fa(this,_0x5a2d7c(0x321),0x0),_0x9f87fa(this,_0x5a2d7c(0x298),[]),_0x9f87fa(this,_0x5a2d7c(0x309),0x0),(this[_0x5a2d7c(0x388)]=_0x32adfd,this[_0x5a2d7c(0x114)]=_0x47335e,this[_0x5a2d7c(0x219)]=_0x3c097a,this[_0x5a2d7c(0x37f)]=_0x8a3673,this[_0x5a2d7c(0x1ab)]=_0x520ca4,this[_0x5a2d7c(0x28c)]=_0x188019,this['_localeService']=_0x1d8d74,this[_0x5a2d7c(0x1c0)]());}[_0x29bde7(0x1c0)](){const _0x7fcf32=_0x29bde7;this[_0x7fcf32(0x28e)](this[_0x7fcf32(0x114)][_0x7fcf32(0x303)]((_0x5ea7de,_0x15236e)=>{const _0x3bee13=_0x7fcf32;var _0x36e788;if(_0x5ea7de['id']!==_0x3202a1[_0x3bee13(0x2e3)]['id'])return;const _0x43cc5e=_0x5ea7de[_0x3bee13(0x32e)];if(!this[_0x3bee13(0x385)]((_0x36e788=_0x43cc5e[_0x3bee13(0x378)])!=null?_0x36e788:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x3bee13(0xfe)](_0x5ea7de,_0x15236e),this[_0x3bee13(0x217)](),new _0x3a09c4[(_0x3bee13(0x2b0))]();})),this[_0x7fcf32(0x28e)](this['_commandService']['onCommandExecuted']((_0x57d299,_0x44268b)=>{const _0x218ad3=_0x7fcf32;if(_0x57d299['id']!==_0x3202a1[_0x218ad3(0x395)]['id'])return;const _0x4b1205=_0x57d299[_0x218ad3(0x32e)];if(_0x541d21(_0x4b1205)){const _0x204129=_0x3a09c4[_0x218ad3(0x382)]();this[_0x218ad3(0x298)][_0x218ad3(0x174)](_0x204129),this[_0x218ad3(0x2c6)](_0x204129);}else{if(_0x3dbd8b(_0x4b1205)&&this['_taskIds'][_0x218ad3(0x257)]>0x0){const _0xadfb32=this['_taskIds'][_0x218ad3(0x28a)]();this[_0x218ad3(0x3a0)](_0xadfb32);}}}));}['dispose'](){const _0x298b96=_0x29bde7;super[_0x298b96(0x19f)](),this[_0x298b96(0x2ab)](),this['_taskIds']=[],this[_0x298b96(0x321)]=0x0,this[_0x298b96(0x32c)]=0x0,this[_0x298b96(0x309)]=0x0;}async[_0x29bde7(0xfe)](_0x1ef5cf,_0x57834a){const _0x48cf07=_0x29bde7;for(let _0xd69dac=0x0;_0xd69dac<0x1e;_0xd69dac++)try{if(await this[_0x48cf07(0x1bf)](),this[_0x48cf07(0x24b)]()){this[_0x48cf07(0x209)](_0x1ef5cf,_0x57834a),this[_0x48cf07(0x388)][_0x48cf07(0x16f)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x2a2db6[_0x48cf07(0x34a)][_0x48cf07(0x2d8)]});return;}await new Promise(_0x2b02fc=>{const _0x1e39ae=_0x48cf07;this['_pollingInterval']=window[_0x1e39ae(0x338)](_0x2b02fc,0x3e8);});}catch(_0x2fd45e){this[_0x48cf07(0x28c)]['error'](_0x2fd45e);}this[_0x48cf07(0x388)][_0x48cf07(0x16f)]({'content':this['_localeService']['t'](_0x48cf07(0x37d)),'type':_0x2a2db6[_0x48cf07(0x34a)][_0x48cf07(0x29c)]});}[_0x29bde7(0x209)](_0x382c07,_0x2293e9){const _0x5cbc0c=_0x29bde7;try{this['_commandService'][_0x5cbc0c(0x104)](_0x382c07['id'],_0x382c07[_0x5cbc0c(0x32e)],_0x2293e9);}catch(_0x43c8db){this[_0x5cbc0c(0x28c)]['error'](_0x43c8db);}}[_0x29bde7(0xc5)](_0x1d380e,_0x13f2e4){const _0x4f46c8=_0x29bde7;_0x13f2e4<this[_0x4f46c8(0x309)]||(this[_0x4f46c8(0x309)]=_0x13f2e4,this['_maxFormulaLimit']=Number[_0x4f46c8(0x186)](_0x1d380e[_0x4f46c8(0x152)]),this[_0x4f46c8(0x321)]=Number[_0x4f46c8(0x186)](_0x1d380e[_0x4f46c8(0x29b)]));}async[_0x29bde7(0x2c6)](_0x122bde){const _0x36f003=_0x29bde7;var _0x3c9801,_0x75dd4e;const _0x83ecaf=Date[_0x36f003(0xf6)]();try{const _0x564a38=((_0x3c9801=this[_0x36f003(0x219)][_0x36f003(0x19d)](_0x5e7c26[_0x36f003(0x2c3)]))==null?void 0x0:_0x3c9801[_0x36f003(0x235)])||_0x4e7f71,_0x1dd61d=(await this[_0x36f003(0x37f)][_0x36f003(0x279)](_0x564a38,{'body':JSON[_0x36f003(0x1d5)]({'taskId':_0x122bde})}))[_0x36f003(0x221)];if(((_0x75dd4e=_0x1dd61d[_0x36f003(0x34f)])==null?void 0x0:_0x75dd4e['code'])!==_0x2b04bc['OK'])return;this[_0x36f003(0xc5)](_0x1dd61d[_0x36f003(0x207)],_0x83ecaf);}catch(_0x5cf12f){this['_logService'][_0x36f003(0x34f)](_0x5cf12f);}}async[_0x29bde7(0x1bf)](_0x4fd1ea){const _0x4577b6=_0x29bde7;var _0x27d13c,_0x59a78;const _0x3dbd22=Date[_0x4577b6(0xf6)]();try{const _0x22c263=((_0x27d13c=this[_0x4577b6(0x219)]['getConfig'](_0x5e7c26[_0x4577b6(0x2c3)]))==null?void 0x0:_0x27d13c[_0x4577b6(0x1c8)])||_0x417e1d,_0x113b01=_0x4fd1ea?_0x22c263+_0x4577b6(0x100)+encodeURIComponent(_0x4fd1ea):_0x22c263,_0x34b497=(await this[_0x4577b6(0x37f)][_0x4577b6(0x31d)](_0x113b01))[_0x4577b6(0x221)];if(((_0x59a78=_0x34b497['error'])==null?void 0x0:_0x59a78['code'])!==_0x2b04bc['OK'])return;this[_0x4577b6(0xc5)](_0x34b497[_0x4577b6(0x207)],_0x3dbd22);}catch(_0x5723fb){this[_0x4577b6(0x28c)][_0x4577b6(0x34f)](_0x5723fb);}}async[_0x29bde7(0x3a0)](_0x4928ed){const _0xb0c2e1=_0x29bde7;var _0x1651cc,_0x1ce4a9;const _0x2409c6=Date[_0xb0c2e1(0xf6)]();try{const _0x4f3d9d=((_0x1651cc=this[_0xb0c2e1(0x219)][_0xb0c2e1(0x19d)](_0x5e7c26['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x1651cc[_0xb0c2e1(0x196)])||_0x47b146,_0x349498=(await this['_httpService'][_0xb0c2e1(0x279)](_0x4f3d9d,{'body':JSON[_0xb0c2e1(0x1d5)]({'taskId':_0x4928ed})}))[_0xb0c2e1(0x221)];if(((_0x1ce4a9=_0x349498['error'])==null?void 0x0:_0x1ce4a9[_0xb0c2e1(0xd4)])!==_0x2b04bc['OK'])return;this['_setFormulaLimitStatus'](_0x349498['limitInfo'],_0x2409c6);}catch(_0xd2377e){this[_0xb0c2e1(0x28c)][_0xb0c2e1(0x34f)](_0xd2377e);}}[_0x29bde7(0x24b)](){const _0x4c3c87=_0x29bde7;return this[_0x4c3c87(0x32c)]===0x0?!0x0:this[_0x4c3c87(0x32c)]-this[_0x4c3c87(0x321)]>0x0;}[_0x29bde7(0x2ab)](){const _0x4b7a52=_0x29bde7;this[_0x4b7a52(0x377)]&&(clearTimeout(this[_0x4b7a52(0x377)]),this[_0x4b7a52(0x377)]=null);}[_0x29bde7(0x217)](){const _0x4025c3=_0x29bde7;this[_0x4025c3(0x388)][_0x4025c3(0x16f)]({'content':this[_0x4025c3(0x142)]['t'](_0x4025c3(0xf4)),'type':_0x2a2db6['MessageType'][_0x4025c3(0x2f6)]});}['_hasFormulaInDirtyRanges'](_0x28f628){const _0x1af6a6=_0x29bde7;for(const _0x29ac28 of _0x28f628){const {unitId:_0x5af3a7,sheetId:_0x122c18,range:_0x970384}=_0x29ac28,_0x5572ac=this[_0x1af6a6(0x1ab)][_0x1af6a6(0x1e1)](_0x5af3a7);if(!_0x5572ac)continue;const _0x1388dc=_0x5572ac[_0x1af6a6(0x2cf)](_0x122c18);if(!_0x1388dc)continue;const _0x4d3588=_0x1388dc[_0x1af6a6(0x218)]();for(let _0x5afd4d=_0x970384[_0x1af6a6(0x21b)];_0x5afd4d<=_0x970384[_0x1af6a6(0x1e6)];_0x5afd4d++)for(let _0x735523=_0x970384[_0x1af6a6(0x15d)];_0x735523<=_0x970384[_0x1af6a6(0x1a9)];_0x735523++){const _0x5b8960=_0x4d3588[_0x1af6a6(0x2ff)](_0x5afd4d,_0x735523);if(_0x5b8960&&(_0x3a09c4[_0x1af6a6(0x32a)](_0x5b8960['f'])||_0x3a09c4[_0x1af6a6(0x251)](_0x5b8960['si'])))return!0x0;}}return!0x1;}};_0x353926=_0x1dfd3c([_0x55e2d6(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x592aaf[_0x29bde7(0x236)])),_0x55e2d6(0x1,_0x3a09c4[_0x29bde7(0x339)]),_0x55e2d6(0x2,_0x3a09c4[_0x29bde7(0x1f3)]),_0x55e2d6(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86['HTTPService'])),_0x55e2d6(0x4,_0x3a09c4[_0x29bde7(0x294)]),_0x55e2d6(0x5,_0x3a09c4[_0x29bde7(0x1da)]),_0x55e2d6(0x6,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x36c)]))],_0x353926);var _0x5e6e28=Object[_0x29bde7(0x224)],_0x36d557=(_0x4c2ccf,_0x8e5ba5,_0x4478e1,_0xb68c4c)=>{const _0x363a85=_0x29bde7;for(var _0x5ebd13=_0xb68c4c>0x1?void 0x0:_0xb68c4c?_0x5e6e28(_0x8e5ba5,_0x4478e1):_0x8e5ba5,_0x4c05b9=_0x4c2ccf[_0x363a85(0x257)]-0x1,_0x39c86e;_0x4c05b9>=0x0;_0x4c05b9--)(_0x39c86e=_0x4c2ccf[_0x4c05b9])&&(_0x5ebd13=_0x39c86e(_0x5ebd13)||_0x5ebd13);return _0x5ebd13;},_0x287ce9=(_0x43e1f9,_0x30459e)=>(_0x2bd312,_0x154b5b)=>_0x30459e(_0x2bd312,_0x154b5b,_0x43e1f9);let _0x10ebcc=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x4a1415,_0x3aae6c,_0x5e160d){const _0x20a91d=_0x29bde7;super(),_0x9f87fa(this,_0x20a91d(0x23c),new Map()),_0x9f87fa(this,_0x20a91d(0x374),new Map()),_0x9f87fa(this,_0x20a91d(0xf1),!0x1),(this[_0x20a91d(0x219)]=_0x4a1415,this[_0x20a91d(0x1a4)]=_0x3aae6c,this[_0x20a91d(0x352)]=_0x5e160d);}[_0x29bde7(0x269)](){const _0x278245=_0x29bde7;this[_0x278245(0xf1)]=!0x0;}[_0x29bde7(0x1b5)](){const _0xd56cd2=_0x29bde7;this[_0xd56cd2(0xf1)]=!0x1;}get[_0x29bde7(0x36f)](){const _0x7f8b47=_0x29bde7;return this[_0x7f8b47(0x374)];}['dispose'](){const _0xf9898a=_0x29bde7;this['exhaustSavingTask']()[_0xf9898a(0x189)](()=>super[_0xf9898a(0x19f)]());}async[_0x29bde7(0x370)](_0x46af0b){const _0x4c6fa5=_0x29bde7;return this[_0x4c6fa5(0xf1)]?null:this[_0x4c6fa5(0x1a4)][_0x4c6fa5(0x131)](_0x5e7c26[_0x4c6fa5(0x2b6)](_0x46af0b));}async[_0x29bde7(0x288)](_0x5b9eb,_0x3d1c4a){const _0x5c6875=_0x29bde7;return!!this['_localStorageService'][_0x5c6875(0x35f)](_0x5b9eb,_0x3d1c4a);}[_0x29bde7(0x35a)](_0x5de9ba,_0x73c898,_0x3fbb4c,_0xcb84c2){const _0x83fe4f=_0x29bde7,_0x22a8d1=this['_revisionService'][_0x83fe4f(0x24e)](_0x5de9ba);this[_0x83fe4f(0x23c)]['set'](_0x5de9ba,{'unitID':_0x5de9ba,'type':_0x73c898,'awaitingChangeset':_0x3fbb4c,'mutations':_0xcb84c2,'rev':_0x22a8d1}),this['_saveTaskMap']['has'](_0x5de9ba)||this[_0x83fe4f(0x21e)](_0x5de9ba);}[_0x29bde7(0x21e)](_0x18df72){const _0x2c74ae=_0x29bde7,_0x296285=this['_getSaveTimeout']();_0x296285===0x0?this[_0x2c74ae(0x22c)](_0x18df72):this[_0x2c74ae(0x374)][_0x2c74ae(0x2d5)](_0x18df72,setTimeout(()=>this['_saveCache'](_0x18df72),_0x296285));}[_0x29bde7(0x2d9)](){const _0x453438=_0x29bde7;var _0x21168b;return(_0x21168b=this[_0x453438(0x219)][_0x453438(0x19d)](_0x5e7c26[_0x453438(0x201)]))!=null?_0x21168b:_0x5e7c26[_0x453438(0x155)];}[_0x29bde7(0x22c)](_0x45ab3f){const _0x1d77fe=_0x29bde7,_0x54070d=this[_0x1d77fe(0x374)]['get'](_0x45ab3f);return _0x54070d!==void 0x0&&window[_0x1d77fe(0x2fa)](_0x54070d),this[_0x1d77fe(0x1a4)][_0x1d77fe(0x35f)](_0x5e7c26[_0x1d77fe(0x2b6)](_0x45ab3f),this[_0x1d77fe(0x23c)]['get'](_0x45ab3f))[_0x1d77fe(0x189)](()=>this[_0x1d77fe(0x374)][_0x1d77fe(0x35e)](_0x45ab3f));}async[_0x29bde7(0x1d8)](){const _0x40ebc0=_0x29bde7,_0x3f4958=[];this[_0x40ebc0(0x374)][_0x40ebc0(0x27c)]((_0x150a76,_0x38638c)=>{const _0x52e278=_0x40ebc0;window[_0x52e278(0x2fa)](_0x150a76),_0x3f4958[_0x52e278(0x174)](this[_0x52e278(0x22c)](_0x38638c)[_0x52e278(0x189)](()=>{const _0x371c28=_0x52e278;this[_0x371c28(0x374)][_0x371c28(0x35e)](_0x38638c);}));}),await Promise[_0x40ebc0(0x25f)](_0x3f4958);}};_0x10ebcc=_0x36d557([_0x287ce9(0x0,_0x3a09c4[_0x29bde7(0x1f3)]),_0x287ce9(0x1,_0x3a09c4[_0x29bde7(0x315)]),_0x287ce9(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e9418[_0x29bde7(0x11e)]))],_0x10ebcc);class _0x18c0ae extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(){const _0xfa6ab9=_0x29bde7;super(),_0x9f87fa(this,_0xfa6ab9(0x2a8)),this['urlChange$']=_0x41fba3[_0xfa6ab9(0x18f)](window,'popstate')[_0xfa6ab9(0x2e5)](_0x41fba3[_0xfa6ab9(0x306)](this['dispose$']),_0x41fba3['shareReplay'](0x1),_0x41fba3[_0xfa6ab9(0xfa)](void 0x0));}[_0x29bde7(0x343)](_0x293c15,_0x58ebd6,_0x187a54=!0x1){const _0x5a188f=_0x29bde7,_0x5f1f2a=new URL(window[_0x5a188f(0x113)]['href']);_0x5f1f2a['searchParams'][_0x5a188f(0x2d5)](_0x293c15,_0x58ebd6),_0x187a54?window['history'][_0x5a188f(0x28f)]('','',_0x5f1f2a['toString']()):window[_0x5a188f(0x206)][_0x5a188f(0x132)]('','',_0x5f1f2a[_0x5a188f(0x349)]());}[_0x29bde7(0x272)](_0x3e3b87,_0x487dfb=!0x1){const _0x3b690f=_0x29bde7,_0xddaaf7=new URL(window[_0x3b690f(0x113)][_0x3b690f(0x234)]);_0xddaaf7['searchParams'][_0x3b690f(0x35e)](_0x3e3b87),_0x487dfb?window[_0x3b690f(0x206)]['replaceState']('','',_0xddaaf7[_0x3b690f(0x349)]()):window[_0x3b690f(0x206)][_0x3b690f(0x132)]('','',_0xddaaf7[_0x3b690f(0x349)]());}[_0x29bde7(0x154)](_0x4a7ea5){const _0x4dcdc6=_0x29bde7;var _0x4e3022;return(_0x4e3022=new URL(window['location'][_0x4dcdc6(0x234)])['searchParams'][_0x4dcdc6(0x31d)](_0x4a7ea5))!=null?_0x4e3022:void 0x0;}}var _0x40d0a6=Object[_0x29bde7(0x340)],_0x4cf4cb=Object['getOwnPropertyDescriptor'],_0x4e65bd=(_0x3bed3f,_0x417391,_0x17c5b2)=>_0x417391 in _0x3bed3f?_0x40d0a6(_0x3bed3f,_0x417391,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17c5b2}):_0x3bed3f[_0x417391]=_0x17c5b2,_0x362661=(_0x3d7015,_0x1a0a69,_0x4b50b4,_0x3ab994)=>{for(var _0xbe30bb=_0x3ab994>0x1?void 0x0:_0x3ab994?_0x4cf4cb(_0x1a0a69,_0x4b50b4):_0x1a0a69,_0x21aa17=_0x3d7015['length']-0x1,_0x5d7aa9;_0x21aa17>=0x0;_0x21aa17--)(_0x5d7aa9=_0x3d7015[_0x21aa17])&&(_0xbe30bb=_0x5d7aa9(_0xbe30bb)||_0xbe30bb);return _0xbe30bb;},_0x6ce988=(_0x859eb4,_0x59af9e)=>(_0x25350f,_0x2a4772)=>_0x59af9e(_0x25350f,_0x2a4772,_0x859eb4),_0xa9b818=(_0x5b9cb2,_0x1bc10d,_0x4e5f5e)=>_0x4e65bd(_0x5b9cb2,_0x1bc10d+'',_0x4e5f5e);const _0x4a74e3=_0x29bde7(0x1df);_0x1e8a5b[_0x29bde7(0xf9)]=class extends _0x3a09c4['Plugin']{constructor(_0x133867=_0x2c5eff,_0x2c50f6,_0x17fd8a,_0x18cbc8){const _0x395517=_0x29bde7;super(),this[_0x395517(0x194)]=_0x133867,this[_0x395517(0x146)]=_0x2c50f6,this[_0x395517(0x247)]=_0x17fd8a,this[_0x395517(0x219)]=_0x18cbc8;const {..._0x262aba}=_0x3a09c4['merge']({},_0x2c5eff,this[_0x395517(0x194)]);this['_configService'][_0x395517(0x3af)](_0x2d74b1,_0x262aba);}[_0x29bde7(0x347)](){const _0x3249a5=_0x29bde7;this[_0x3249a5(0x33f)](),this[_0x3249a5(0x23a)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4f50d8=_0x29bde7;var _0x1a73fb;const _0x28e67a=[[_0x1acd06],[_0x353926],[_0x3628e2],[_0x5e0130],[_0xc132fe],[_0x3d295c],[_0x5c7e96,{'useClass':_0x18c0ae}],[_0x20de86['ISocketService'],{'useClass':_0x20de86[_0x4f50d8(0x2ca)]}],[_0x5e7c26[_0x4f50d8(0x355)],{'useClass':_0x10ebcc}],[_0x1e8a5b[_0x4f50d8(0x3a9)]],[_0x30a1d6],[_0x2ee8d7],[_0x2763d1],[_0x43ac4d],[_0x1e8a5b[_0x4f50d8(0x242)]]];this['_config'][_0x4f50d8(0x3aa)]&&_0x28e67a[_0x4f50d8(0x174)]([_0x32a527]),_0x3a09c4[_0x4f50d8(0x39b)](this[_0x4f50d8(0x247)],_0x3a09c4[_0x4f50d8(0x2c0)](_0x28e67a,(_0x1a73fb=this[_0x4f50d8(0x194)])==null?void 0x0:_0x1a73fb[_0x4f50d8(0x14c)]));}[_0x29bde7(0xd0)](){const _0x43c60c=_0x29bde7;this[_0x43c60c(0x28e)](this[_0x43c60c(0x146)]['registerRenderModule'](_0x3a09c4[_0x43c60c(0x30d)][_0x43c60c(0xec)],[_0x4ec09a])),this[_0x43c60c(0x28e)](this[_0x43c60c(0x146)][_0x43c60c(0x17a)](_0x3a09c4[_0x43c60c(0x30d)][_0x43c60c(0x2aa)],[_0x27259b]));}[_0x29bde7(0x23a)](){const _0x13fc16=_0x29bde7;_0x3a09c4['touchDependencies'](this['_injector'],[[_0x2763d1],[_0x1e8a5b[_0x13fc16(0x3a9)]],[_0x30a1d6],[_0x2ee8d7],[_0x1e8a5b['CollaborationDataLoaderController']],[_0x353926]]),this[_0x13fc16(0x194)][_0x13fc16(0x3aa)]&&_0x3a09c4[_0x13fc16(0x387)](this[_0x13fc16(0x247)],[[_0x32a527]]);}},_0xa9b818(_0x1e8a5b[_0x29bde7(0xf9)],_0x29bde7(0x2ee),_0x4a74e3),_0x1e8a5b[_0x29bde7(0xf9)]=_0x362661([_0x3a09c4[_0x29bde7(0x2b3)](_0x5e7c26['UniverCollaborationClientPlugin']),_0x6ce988(0x1,_0x271b4b[_0x29bde7(0xde)]),_0x6ce988(0x2,_0x3a09c4['Inject'](_0x3a09c4['Injector'])),_0x6ce988(0x3,_0x3a09c4['IConfigService'])],_0x1e8a5b[_0x29bde7(0xf9)]);var _0x58f851=Object['getOwnPropertyDescriptor'],_0x515c24=(_0x1393e3,_0x1eedb2,_0x42718c,_0x2ecd75)=>{for(var _0x374c44=_0x2ecd75>0x1?void 0x0:_0x2ecd75?_0x58f851(_0x1eedb2,_0x42718c):_0x1eedb2,_0x2f1f24=_0x1393e3['length']-0x1,_0x36db24;_0x2f1f24>=0x0;_0x2f1f24--)(_0x36db24=_0x1393e3[_0x2f1f24])&&(_0x374c44=_0x36db24(_0x374c44)||_0x374c44);return _0x374c44;},_0x349abe=(_0x4f04bd,_0x2eca08)=>(_0x3e37fb,_0x534a3e)=>_0x2eca08(_0x3e37fb,_0x534a3e,_0x4f04bd);_0x1e8a5b[_0x29bde7(0x13c)]=class extends _0x5e7c26['CollaborationSocketService']{constructor(_0x5a00a7,_0x42748a,_0x2883d4,_0x361ebf,_0x19f007){super(_0x5a00a7,_0x42748a,_0x2883d4,_0x361ebf,_0x19f007);}async[_0x29bde7(0x10e)](_0x2722fb){const _0x170255=_0x29bde7,_0x3fbae5=await this['_getSessionTicket'](),_0x3d751a=this['_createSocketURL'](_0x2722fb,_0x3fbae5);return this[_0x170255(0x278)](_0x3d751a);}[_0x29bde7(0x18b)](_0x2acf11,_0x3d2f68){const _0x8b325b=_0x29bde7,_0xff6a03=typeof window>'u'?new URL(_0x2acf11):new URL(_0x2acf11,window['location'][_0x8b325b(0x2be)]);_0xff6a03[_0x8b325b(0x254)]['set']('sessionTicket',_0x3d2f68);const _0x38ac96=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x38ac96[_0x8b325b(0x31d)](_0x8b325b(0x200))&&_0xff6a03[_0x8b325b(0x254)][_0x8b325b(0x2d5)](_0x8b325b(0x200),_0x38ac96['get'](_0x8b325b(0x200))),_0xff6a03[_0x8b325b(0x349)]();}async[_0x29bde7(0x29d)](){const _0x5b2f3b=_0x29bde7;var _0x46c27c,_0x571d12,_0x1b47e9;const _0x3b8afd=this['_configService']['getConfig'](_0x5e7c26[_0x5b2f3b(0x2c3)]),_0x28d8d4=(_0x46c27c=_0x3b8afd==null?void 0x0:_0x3b8afd[_0x5b2f3b(0xe8)])!=null?_0x46c27c:_0x5e7c26[_0x5b2f3b(0x16d)];return(_0x1b47e9=(_0x571d12=(await this[_0x5b2f3b(0x37f)][_0x5b2f3b(0x31d)](_0x28d8d4,{'headers':{'Content-Type':_0x5b2f3b(0x1d0)}}))['body'])==null?void 0x0:_0x571d12[_0x5b2f3b(0x394)])!=null?_0x1b47e9:'';}},_0x1e8a5b['BrowserCollaborationSocketService']=_0x515c24([_0x349abe(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x349abe(0x1,_0x3a09c4['Inject'](_0x20de86['HTTPService'])),_0x349abe(0x2,_0x3a09c4[_0x29bde7(0x1f3)]),_0x349abe(0x3,_0x3a09c4['ILogService']),_0x349abe(0x4,_0x5e9418['ISnapshotServerService'])],_0x1e8a5b[_0x29bde7(0x13c)]);var _0x3f6a8a=Object[_0x29bde7(0x224)],_0x798b80=(_0x3107e3,_0x11ede5,_0x60ba4e,_0x2f701d)=>{const _0x1d2085=_0x29bde7;for(var _0x6a827c=_0x2f701d>0x1?void 0x0:_0x2f701d?_0x3f6a8a(_0x11ede5,_0x60ba4e):_0x11ede5,_0x1cce90=_0x3107e3[_0x1d2085(0x257)]-0x1,_0x2bc55e;_0x1cce90>=0x0;_0x1cce90--)(_0x2bc55e=_0x3107e3[_0x1cce90])&&(_0x6a827c=_0x2bc55e(_0x6a827c)||_0x6a827c);return _0x6a827c;},_0x1b5bce=(_0x1d814a,_0x243f25)=>(_0x1cf4ad,_0x4c3959)=>_0x243f25(_0x1cf4ad,_0x4c3959,_0x1d814a);_0x1e8a5b[_0x29bde7(0x125)]=class extends _0x3a09c4['Disposable']{constructor(_0xed5a70,_0x2ee3b3,_0x46b998){const _0x454fe5=_0x29bde7;super(),this[_0x454fe5(0x1ad)]=_0xed5a70,this[_0x454fe5(0x37f)]=_0x2ee3b3,this[_0x454fe5(0x219)]=_0x46b998;}async['runOnServer'](_0xa81255,_0x4001ef,_0x4db5fd,..._0x2637ee){const _0x3d3569=_0x29bde7;var _0x58e2f3,_0x1c8760,_0x16fed7,_0x2b5764;const _0x20b803=this['_instanceService'][_0x3d3569(0x1bc)]();if(!_0x20b803)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1dba06=((_0x58e2f3=this[_0x3d3569(0x219)][_0x3d3569(0x19d)](_0x5e7c26['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x58e2f3:_0x5e7c26[_0x3d3569(0x2d1)])+'/'+_0xa81255+'/run/'+_0x4001ef,_0x24a444=new URL(window[_0x3d3569(0x113)][_0x3d3569(0x234)]),_0x3f4bdb={'scriptId':_0xa81255,'runId':(_0x1c8760=_0x24a444[_0x3d3569(0x254)][_0x3d3569(0x31d)](_0x3d3569(0x200)))!=null?_0x1c8760:'','function':_0x4001ef,'unitId':_0x20b803[_0x3d3569(0x348)](),'argsOfFunction':JSON['stringify'](_0x2637ee),'invokeId':(_0x16fed7=_0x4db5fd[_0x3d3569(0x2bd)])!=null?_0x16fed7:'','executionId':(_0x2b5764=_0x4db5fd[_0x3d3569(0x319)])!=null?_0x2b5764:''};try{const _0x2d40a4=await this[_0x3d3569(0x37f)][_0x3d3569(0x279)](_0x1dba06,{'body':_0x3f4bdb});return _0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x34f)]&&_0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x34f)]['code']!==_0x2b04bc['OK']?_0x3d3569(0x2cd):_0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x324)];}catch{return _0x3d3569(0x2cd);}}},_0x1e8a5b[_0x29bde7(0x125)]=_0x798b80([_0x1b5bce(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x1b5bce(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86[_0x29bde7(0x258)])),_0x1b5bce(0x2,_0x3a09c4[_0x29bde7(0x1f3)])],_0x1e8a5b[_0x29bde7(0x125)]);const _0x568b98=0x7530,_0x476747=_0x29bde7(0x26a);class _0x5a1ef8 extends _0x3a09c4[_0x29bde7(0x191)]{constructor(){const _0x152e36=_0x29bde7;super(),_0x9f87fa(this,_0x152e36(0x11b),_0x3a09c4[_0x152e36(0x382)]()),_0x9f87fa(this,_0x152e36(0x2dc),new Set()),_0x9f87fa(this,_0x152e36(0x367),new Map()),_0x9f87fa(this,_0x152e36(0x26d),null),_0x9f87fa(this,_0x152e36(0x1b3),new Map()),_0x9f87fa(this,_0x152e36(0x31c),new Map()),this['_init']();}[_0x29bde7(0x19f)](){const _0x17e505=_0x29bde7;super[_0x17e505(0x19f)](),this[_0x17e505(0x1b3)]['forEach']((_0x227c02,_0x3bc3cf)=>this[_0x17e505(0x177)](_0x3bc3cf)),this[_0x17e505(0x26d)]&&window[_0x17e505(0x2d6)](this[_0x17e505(0x26d)]);}[_0x29bde7(0x208)](_0xac6b7d){const _0x3b18d1=_0x29bde7;return this['_ensureSubject'](_0xac6b7d)[_0x3b18d1(0x2e5)](_0x41fba3[_0x3b18d1(0x34c)]());}[_0x29bde7(0x19e)](_0x6f973b){const _0x2dfc7b=_0x29bde7;this[_0x2dfc7b(0x2dc)][_0x2dfc7b(0xe4)]===0x0&&this[_0x2dfc7b(0x2f9)](),this[_0x2dfc7b(0x2dc)]['add'](_0x6f973b),this[_0x2dfc7b(0x362)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x6f973b],'isForwarded':!0x1});}[_0x29bde7(0x1ef)](_0x1a490e){const _0x29f810=_0x29bde7;this[_0x29f810(0x2dc)]['delete'](_0x1a490e),this['_selfUnitIDs'][_0x29f810(0xe4)]===0x0&&this[_0x29f810(0x26d)]&&window['clearInterval'](this[_0x29f810(0x26d)]);}[_0x29bde7(0x34b)](){const _0x34e0ec=_0x29bde7;this[_0x34e0ec(0x28e)](_0x3a09c4['toDisposable'](_0x41fba3['fromEvent'](window,_0x34e0ec(0x16c))[_0x34e0ec(0x359)](_0xe351ff=>{const _0x59214a=_0x34e0ec;if(_0xe351ff[_0x59214a(0x2b8)]!==_0x476747||!_0xe351ff['newValue'])return;const _0x51a041=JSON[_0x59214a(0x1de)](_0xe351ff[_0x59214a(0x232)]);this['_handleEvent'](_0x51a041);}))),window[_0x34e0ec(0x23e)]('unload',()=>this[_0x34e0ec(0x362)]({'type':0x1,'memberID':this[_0x34e0ec(0x11b)],'unitIDs':Array[_0x34e0ec(0xc9)](this[_0x34e0ec(0x2dc)])}));}[_0x29bde7(0x3a7)](_0x5763cc){const _0x32827b=_0x29bde7;switch(_0x5763cc[_0x32827b(0x1d7)]){case 0x0:this['_handleJoinEvent'](_0x5763cc);break;case 0x1:this[_0x32827b(0x1a6)](_0x5763cc);break;case 0x2:this[_0x32827b(0x2c5)](_0x5763cc);break;}}['_handleJoinEvent'](_0x1153e6){const _0x4ee3a5=_0x29bde7,{unitIDs:_0x1f5bbf,memberID:_0x200a64,isForwarded:_0x7e41bc}=_0x1153e6;_0x1f5bbf[_0x4ee3a5(0x27c)](_0x38f07d=>{const _0x2073b3=_0x4ee3a5;if(!_0x7e41bc&&this['_unitOnClients']['has'](_0x38f07d)&&this[_0x2073b3(0x322)](_0x38f07d)['next'](_0x5e7c26[_0x2073b3(0x30a)]['OTHER_CLIENTS_EDITING']),!this[_0x2073b3(0x367)][_0x2073b3(0x38d)](_0x38f07d)||!this['_unitOnClients'][_0x2073b3(0x31d)](_0x38f07d)['has'](_0x200a64)){const _0x4e72d6=this['_unitOnClients'][_0x2073b3(0x31d)](_0x38f07d)||new Set();_0x4e72d6[_0x2073b3(0x2b2)](_0x200a64),this[_0x2073b3(0x367)][_0x2073b3(0x2d5)](_0x38f07d,_0x4e72d6),this[_0x2073b3(0x20f)](_0x200a64);}}),_0x7e41bc||this['_send']({'type':0x0,'memberID':this[_0x4ee3a5(0x11b)],'unitIDs':[...this[_0x4ee3a5(0x2dc)]],'isForwarded':!0x0});}[_0x29bde7(0x20f)](_0x23646e){const _0x1c9721=_0x29bde7;this['_removeClearOtherTimer'](_0x23646e);const _0x1580a8=window[_0x1c9721(0x338)](()=>{const _0xa94e3c=_0x1c9721;this[_0xa94e3c(0x367)][_0xa94e3c(0x27c)](_0x58a876=>{const _0x54fea0=_0xa94e3c;_0x58a876[_0x54fea0(0x35e)](_0x23646e);});},_0x568b98*0x2);this[_0x1c9721(0x1b3)][_0x1c9721(0x2d5)](_0x23646e,_0x1580a8);}['_removeClearOtherTimer'](_0x29595){const _0x2f4fd1=_0x29bde7;if(this['_clearOtherTimers'][_0x2f4fd1(0x38d)](_0x29595)){const _0xfa1747=this[_0x2f4fd1(0x1b3)]['get'](_0x29595);_0xfa1747&&window[_0x2f4fd1(0x2fa)](_0xfa1747),this[_0x2f4fd1(0x1b3)][_0x2f4fd1(0x2d5)](_0x29595,null);}}[_0x29bde7(0x1a6)](_0x3ec245){const _0x634342=_0x29bde7,{memberID:_0x52529e,unitIDs:_0x5212aa}=_0x3ec245;_0x5212aa[_0x634342(0x27c)](_0x10ccbd=>{const _0x46faf0=_0x634342;var _0x49540a;const _0x83a62e=this[_0x46faf0(0x367)][_0x46faf0(0x31d)](_0x10ccbd);_0x83a62e&&(_0x83a62e[_0x46faf0(0x35e)](_0x52529e),(_0x49540a=this[_0x46faf0(0x322)](_0x10ccbd))==null||_0x49540a[_0x46faf0(0x1ea)](_0x83a62e[_0x46faf0(0xe4)]===0x0?_0x5e7c26[_0x46faf0(0x30a)][_0x46faf0(0x380)]:_0x5e7c26[_0x46faf0(0x30a)][_0x46faf0(0xcb)]));}),this[_0x634342(0x177)](_0x52529e);}[_0x29bde7(0x2c5)](_0xf91ef0){const _0x271436=_0x29bde7;this[_0x271436(0x20f)](_0xf91ef0[_0x271436(0x105)]);}['_send'](_0x577e97){localStorage['setItem'](_0x476747,JSON['stringify'](_0x577e97));}[_0x29bde7(0x2f9)](){const _0x3f8e08=_0x29bde7;this[_0x3f8e08(0x26d)]=window['setInterval'](()=>{const _0xdbfa94=_0x3f8e08;this['_send']({'type':0x2,'memberID':this[_0xdbfa94(0x11b)]});},_0x568b98);}[_0x29bde7(0x322)](_0x5aa104){const _0x4ea97c=_0x29bde7;return this[_0x4ea97c(0x31c)][_0x4ea97c(0x38d)](_0x5aa104)||this[_0x4ea97c(0x31c)][_0x4ea97c(0x2d5)](_0x5aa104,new _0x41fba3[(_0x4ea97c(0x31e))](_0x5e7c26['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x4ea97c(0x31c)][_0x4ea97c(0x31d)](_0x5aa104);}}_0x1e8a5b[_0x29bde7(0x250)]=_0x5c7e96,_0x1e8a5b[_0x29bde7(0x1b6)]=_0x526d2d,_0x1e8a5b[_0x29bde7(0x10c)]=_0x5a1ef8,_0x1e8a5b[_0x29bde7(0x15e)]=_0x18c0ae,Object['defineProperty'](_0x1e8a5b,Symbol[_0x29bde7(0x3b1)],{'value':'Module'});}));
|
|
8
|
+
function _0x1f30(){const _0x144e7f=['status$','generateRandomId','DocStateChangeManagerService','COLORS','_backgroundColor','_saveCache','evenodd','HEADER_MENU','totalFormulasToCalculate','collaboration.closeRoom','permission.title','ILogService','UniverCollaborationClientPlugin','closePath','_applyCommand','collaboration.single-unit.warning','Tooltip','enableFrontendLog','BehaviorSubject','/run/','SetSelectionsOperation','flatMap','type','asObservable','_cursors','Tools','0\x200\x2016\x2016','startsWith','FromArray','translate(.97)','fill','eventID','onRendered','getRenderById','substring','_dataLoaderService','add','0\x200\x2017\x2016','message','_hasFormulaInDirtyRanges','unload','forEach','_createSocketURL','UniverUi','onMouseMove','override','10aSfSzp','handleDeleteRangeMoveLeft','storage','registerRenderModule','addEventListener','_eventUnsubscribe','_clearPolling','InsertRowCommandId','LOCAL_CACHE_INTERVAL_KEY','cursorInfo','DEFAULT_WS_SESSION_TICKET_URL','next','ColorKit','pipe','IUniverInstanceService','LOGIN_TOKEN_PROCESSING_FAILED','getCurrentRevOfUnit','hide','1223nLDiKI','[CollaborationDataLoaderController]','UNIVER_DOC','unitId','merge','purple.300','react','_selfUnitIDs','_themeService','startColumn','createInstance','?taskId=','_disabled','addObjects','isTransformMutationsWithChangesetSuccess','session.collaboration-timeout','DesktopCollaborationStatusDisplayController','data','getUndoRedoMutationParamsCache','transformMutation','getUnitStatus$','loadOfflineData','@univerjs-pro/collaboration','_commandService','transformMutationsWithChangeset','UNAUTHENTICATED','url(#off-line-icon_clip0_910_343)','CollaborationStatus','_setupBeforeClosingHandler','UniverDesign','Disposable','http://www.w3.org/2000/svg','CONNECTOR_DATA_TOO_LARGE','UniverDocs','sheetID','BrowserCollaborationSocketService','_saveTaskMap','JOIN_ROOM_FAILED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','textRanges','NOT_COLLAB','SetWorksheetActivateCommand','_entityInit$','MessageType','_lastResponseTimestamp','red.300','OnLineIcon','LOGIN_FAILED','findNodePositionByCharIndex','INTERNAL_ERROR','docStateChange$','UniverDocsUi','UniverSheets','436imFbpv','2040XCtVqP','saveOfflineData','[Window\x20Error]:\x20','toDisposable','runRefRangeMutations','PERMISSION_DENIED','black','_context','formula.calculation.waiting','resize','unitID','_uiPartsService','_getAnchorBounding','max','includes','find','_drawTextRange','some','send','debug','split','PENDING','_startSheetCollabCursor','length','ONLINE','_clearOtherTimers','ENTITLE_COUPON_USED_UP','FormulaExecuteStageType','IRemoteInstanceService','onLocalMutation','backgroundColor','then','disableLocalCache','RxDisposable','_registerRenderDependencies','imageSourceType','isFormulaString','_lastPointer','combineLatest','_render','colorChannel1','_cachedData','DOC_RANGE_TYPE','_getSessionTicket','APPLY_PERMISSION_DENIED','_logService','ENTITLE_COUPON_EXPIRED','runOnServer','complete','APPLY_REVISION_CONFILICT','values','RemoveColCommandId','m1Prime','_pollingInterval','currentSkeleton$','delete','measureText','RemoteUniscriptService','_updateSubUnitFromURLParams','UniverDrawing','YUUMI_RATE_OVER_LIMIT','USER_NOT_FOUND','getDocRanges','event$','UniverIcon','pluginName','IImageIoService','_ensureSubject','OTHER_CLIENT_EDITING','_httpService','arc','mask','YUUMI_ASYNCIO_CANCELLED','replace','CollaborationUIEventId','_scheduleClearOtherTimer','join','_transformPreviousActiveRange','drawWith','memberID','div','_unitStatus','_config','_toggleOffline','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_syncEditingCollabCursorService','_refRangeService','name','_drawAnchor','getConfig','handleMoveRange','object','clearTimeout','formula.calculation.started','roomMembers$','location','colno','@univerjs-pro/collaboration-client','AUTHORIZE_CODE_ILLEGAL','UNDEFINED','DeleteRangeMoveLeftCommandId','Warning','ranges','SYNCED','12970432Ydlqmc','INVALID_ARGUMENT','REDEMPTION_CODE_NOT_STARTED','_memberID','_checkAndWaitForCalculationPermission','RECT','InsertRangeMoveDownCommandId','from','rxjs','CollaborationDataLoaderController','_removeClearOtherTimer','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','registerRefRange','OffLineIcon','actions','redoState','enableLocalCache','/universer-api/license/formula/limit/done','67520LmgVLa','_setFormulaLimitStatus','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','...','_beforeCloseService','_onCursorUpdate','post','invokeId','ICommandService','EMAIL_VERIFY_CODE_MISMATCH','shareReplay','getActiveSheet','functionsExecutedState','AWAITING_WITH_PENDING','_id','parse','APPLY_REJECT','6609474JJFrTC','createElement','getItem','_currentUsage','HTTPService','@univerjs/network','_color','getMergeData','CHANGESET_REVISION_CONFILICT','UniverCore','SetFormulaCalculationStartMutation','column','attrs','_updateURLWithCurrentState','handleInsertRow','REDEMPTION_CODE_FULLY_REDEEMED','IBeforeCloseService','assignAColorForMemberID','useObservable','_scheduleHeartbeat','CanceledError','_initStatusComponent','defs','_updateLocalCursor','INVITE_CODE_ALREADY_BOUND','REDEMPTION_INVALID_CODE','transformByState','YUUMI_URL_COL_OUT_OF_RANGE','function','deepClone','NOT_FOUND','_getMergeRange','_send','stageInfo','getRangePointData','xlink:href','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','init','defIds','color','_configService','throttleTime','Vector2','YUUMI_ALL_TABLES_IS_INVALID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_instanceService','collabCursorState$','font','UnitStatus','CommandType','univerjs-icon\x20univerjs-icon-','38030643zYVsMR','APPLY_DUPLICATED','key','[LogService\x20Error]:\x20','on-line-icon_clip0_910_349','dirtyRanges','string','whenReady','_toggleOnline','handleInsertRangeMoveRight','_localeService','_initWindowErrorListener','row','newValue','tag','setStateCache','path','session.will-retry','DocSelectionManagerService','_releaseCalculationLimit','YUUMI_UNABLE_LOAD_URL','idSuffix','svg','Error','executeCommand','SNAPSHOT_INVALID_SNAPSHOT','DataLoaderService','displayName','_removeCollabCursors','Rect','source','exports','_handleJoinEvent','_docSkeleton','NodePositionConvertToRectRange','UniverInstanceType','MOBILE_HAS_BEEN_BOUND','fromEvent','getRelativeToViewportCoord','REDEMPTION_CODE_INACTIVE','onPointerLeave$','YUUMI_SUBSCRIPTION_NOT_FOUND','_initCommandExecutedListener','_unitOnClients','getUniverSheetInstance','getTypeOfUnitDisposed$','blue.400','_hideTimer','setAlpha','RemoveRowCommandId','filter','startRow','ticket','ENTITLE_DUP_SUBSCRIPTION','MemberService','unshift','createSocket','_initUnhandledRejectionListener','assign','shift','clsx','_docTransformSelectionsService','_notificationService','ILocalCacheService','_injector','uni.network.url-service','_startDocCollabCursor','CURRENT_STATUS_CANNOT_OPERATE','unit','ITransformService','off-line-icon','use','unsubscribe','fromEventSubject','DeleteRangeMoveUpCommandId','setShapeProps','_checkCalculationAvailable','M0\x200H16V16H0z','collab-client.tooltip.reconnect','_anchor','code','collabStatus.conflict','_getSaveTimeout','_renderManagerService','_transformService','unhandledrejection','LICENSE_EXPORT_SIZE_EXCEEDED','origin','setConfig','random','VIEW_MAIN','BuiltInUIPart','_initDependencies','skeleton','height','_maxFormulaLimit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','makeDirty','INVITE_CODE_HAS_BEEN_UES','getCellPositionByOffset','dispose$','getUnit','_scene','doc.mutation.rich-text-editing','size','SUBMIT_CHANGESET_TIMEOUT','min','defineProperty','saveTaskMap','getSkeleton','USERS_LEAVE','USER_NOT_INVITED_CODE','InsertRangeMoveRightCommandId','CollaborationEvent','InsertColCommandId','REDEMPTION_USER_REDEEM_TIMES_EXCEED','onCommandExecuted','takeUntil','_hovered','CLOSE_ROOM','_revisionService','_transformUndoRedoStack','disposeWithMe','ENTITLE_CHAT_LIMIT_EXCEED','ENSURE_SNAPSHOT_EXECUTION','parseInt','SheetSkeletonManagerService','moveTo','stage','pushState','updateOfflineData','UniverProCollaborationClient','transformStateCache','_initResize','getStateCache','setTimeout','_colorIndex','removeEventListener','_memberService','beforeCommandExecuted','_handleEvent','ISocketService','_collaborationUIEventService','url(#on-line-icon_clip0_910_349)','_initStatusListener','AWAITING','mutations','getSheetId','sessionStatus$','distinctUntilChanged','transformSelections','_roomMembers$','Subject','_messageService','error','url(#$1','@univerjs/drawing','entries','collabStatus.syncing','ISnapshotServerService','_showGuardMessage','getOffsetConfig','UNRECOGNIZED','getSheetObject','_handleHover','transformRemoteChangeset','isTransformMutationFailure','getCoordByCell','wsSessionTicketUrl','Optional','getCollabCursors$','amd','_startCalculationLimit','_cursorInfo$','collabStatus.fetchMiss','_collaborationSessionService','CollaborationController','replaceDocRanges','_localStorageService','white','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','APPLY_NON_SEQUENTIAL_REVISION','_collaborationController','_anchorDot','current','getMemberID','_initEvent','currentTheme$','width','getTypeOfUnitAdded$','startFormulaLimitUrl','_drawRectRange','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exhaustSavingTask','ERROR_AGAIN','rxjs/operators','clipPath','OTHER_CLIENTS_EDITING','fillText','getformulaLimitStatusUrl','UniverProCollaboration','roomMembers','EffectRefRangId','toStringTag','setInterval','LocaleService','fillStyle','ENTITLE_INVALID_COUPON_CODE','IURLService','requireSession','children','map','getValue','INVALID_INVITE_CODE','mapTo','stack','_session','/universer-api/license/formula/limit/start','UPDATE_CURSOR','_heartbeatTimer','_handleLeaveEvent','show','SUCCESS','_docClipboardService','selections','/universer-api/license/formula/limit/status','[RemoteUniscriptService]:\x20no\x20focused\x20unit','SNAPSHOT_HAS_BEEN_REMOVED','_collabCursorController','maxFormulaLimit','UniverSheetsUi','ENTITLE_INSUFFICIENT_QUOTA','m2Prime','_getFormulaLimitStatus','addObject','getUnitId','_getScale','top','UniverCollaborationClientUIPlugin','onPointerMove$','_getSheetObject','_document','toString','debounce','round','lineTo','_localCacheService','@univerjs/design','CONFLICT','removeParam','clearInterval','TEXT_RANGE_LAYER_INDEX','subscribeEvent','off-line-icon_clip0_910_343','forwardRef','UniverEngineFormula','NodePositionConvertToCursor','catch','PY_RUNTIME_SCRIPT_ERROR','lineno','Unknown\x20user','sheetId','on-line-icon','limitInfo','collab-text-range-','SetTextSelectionsOperation','setActiveRange','_collabCursorState$','getCurrent','beginPath','@univerjs/core','green.600','ENTITLE_REPORT_LIMIT_EXCEED','DocCollaborationEntity','deserializeRangeWithSheet','WECHAT_HAS_BEEN_BOUND','ENTITLE_USE_COUPON_NOT_1ST_TRADE','toRgbString','OFFLINE','reason','_transformHistoryAndStateStack','Plugin','result','DependentOn','collaboration.offline-data-not-saved','disposeUnit','body','_onRefRangeChange','FormulaExecutedStateType','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','@univerjs/sheets-ui','LICENSE_MAX_UNITS_EXCEEDED','debounceTime','ALREADY_EXISTS','DocIMEInputManagerService','setItem','setParam','executionId','_status$','WebURLService','subunit','none','CollaborationUIEventService','_docSkeletonManagerService','restore','_monkeyPatchLogService','symbol','history','IMessageService','CollaborationSessionService','getColorFromTheme','onPointerEnter$','handleInsertRangeMoveDown','_onCursorDelete','getCellMatrix','currentColor','_docSyncEditingCollabCursorService','1em','Workbook','endRow','_online','currentUsage','stringify','Module','_textBubble','now','isActive','_refreshCollabCursors','search','subscribe','onStarting','_taskIds','MOBILE_VERIFY_CODE_MISMATCH','isEditing','switchMap','IRenderManagerService','RegularPolygon','setUndoRedoMutationParamsCache','_univerInstanceService','@univerjs/docs-ui','operators','jiqing.500','REDEMPTION_CODE_HAS_BEEN_CREATED','YUUMI_NO_CUBOID_FOR_QUESTION','Injector','_handleHeartbeatEvent','serializeRangeWithSheet','_imageIoService','START_CALCULATION','isArray','collabStatus.offline','touchDependencies','DocSkeletonManagerService','collabStatus.synced','DATA_SOURCE_TOO_LARGE','SheetsSelectionsService','React','INVITE_CODE_REQUIRED','dispose','_setupSubUnitSync','with','syncEditingCollabCursor','subUnitId','react/jsx-runtime','_colorAssignService','SOCKET_FAILED_RETRY','_init','_range','set','cursorInfo$','_scheduleSaving','push','IConfigService','UNIVER_SHEET','text','getFocusedUnit','@univerjs/sheets','SetDocZoomRatioOperation','_labelPosition','transformIMECache','@univerjs/engine-render','getSheetBySheetId','get','_initCommandInterceptor','_collabSessionService','save','endColumn','Inject','_docStateChangeManagerService','COMPLETION_FINISHED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','/universer-api/frontend/logs','getMember','SetFormulaCalculationNotificationMutation','has','params','_updateCollabCursors','_urlService','_cursor','EMAIL_HAS_BEEN_BOUND','getLocalCacheKey','IUIPartsService','getOwnPropertyDescriptor','_name','searchParams','_draw','_assignedColors','_uploadLog','REDEMPTION_USER_NOT_ELIGIBLE','editingUnit','_doCreateSocket','3415986kBKNKB','jsx','ACTIVE_UNIT_EVENT_CHANNEL','5870396VZSIYw','contains','_registerDependencies','getColor','LICENSE_IMPORT_SIZE_EXCEEDED','Shape','href','_initEntityListener','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','TOO_MANY_REQUESTS','collab-rect-range-','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getViewport','urlChange$','ThemeService','[Unhandled\x20Rejection]:\x20','getVpScrollXYInfoByPosToVp','_hover','YUUMI_AI_RUN_FAILED','SessionStatus','LICENSE_DISTRO_REJECTED','runId','USER_IS_ANONYMOUS','connectInjector','_sheetSkeletonManagerService','session.connection-failed','_entities','_docTransformStateCacheService','Failed','RichTextEditingMutation','_shapes','collab-text-anchor-','getCurrentUnitForType','PAYMENT_CHANNEL_NOT_SUPPORT','Rectangle','getAncestorScale','bottom','selection','_docTransformIMECacheService','getParam'];_0x1f30=function(){return _0x144e7f;};return _0x1f30();}function _0x2163(_0x36a24c,_0x5f8c48){_0x36a24c=_0x36a24c-0x198;const _0x1f3066=_0x1f30();let _0x2163e9=_0x1f3066[_0x36a24c];return _0x2163e9;}(function(_0x541fd9,_0x486123){const _0x45b5df=_0x2163,_0x414479=_0x541fd9();while(!![]){try{const _0x4c15b4=parseInt(_0x45b5df(0x39c))/0x1*(parseInt(_0x45b5df(0x3d2))/0x2)+-parseInt(_0x45b5df(0x331))/0x3+parseInt(_0x45b5df(0x3d1))/0x4*(parseInt(_0x45b5df(0x44c))/0x5)+parseInt(_0x45b5df(0x45d))/0x6+parseInt(_0x45b5df(0x334))/0x7+parseInt(_0x45b5df(0x43a))/0x8+parseInt(_0x45b5df(0x490))/0x9*(-parseInt(_0x45b5df(0x38a))/0xa);if(_0x4c15b4===_0x486123)break;else _0x414479['push'](_0x414479['shift']());}catch(_0x4439ad){_0x414479['push'](_0x414479['shift']());}}}(_0x1f30,0xdfc8a),function(_0x3cf91d,_0x3c3210){const _0x4d152e=_0x2163;typeof exports==_0x4d152e(0x42d)&&typeof module<'u'?_0x3c3210(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==_0x4d152e(0x479)&&define[_0x4d152e(0x241)]?define([_0x4d152e(0x1b5),_0x4d152e(0x301),_0x4d152e(0x433),_0x4d152e(0x2a4),'@univerjs/ui',_0x4d152e(0x442),_0x4d152e(0x28d),_0x4d152e(0x3a2),'@univerjs/rpc',_0x4d152e(0x30e),_0x4d152e(0x312),_0x4d152e(0x462),_0x4d152e(0x2e9),_0x4d152e(0x232),_0x4d152e(0x3b2),'@univerjs/docs','@univerjs/engine-formula',_0x4d152e(0x259),_0x4d152e(0x2b8)],_0x3c3210):(_0x3cf91d=typeof globalThis<'u'?globalThis:_0x3cf91d||self,_0x3c3210(_0x3cf91d['UniverProCollaborationClientUi']={},_0x3cf91d[_0x4d152e(0x2fa)],_0x3cf91d[_0x4d152e(0x219)],_0x3cf91d[_0x4d152e(0x466)],_0x3cf91d[_0x4d152e(0x387)],_0x3cf91d[_0x4d152e(0x442)],_0x3cf91d[_0x4d152e(0x3b9)],_0x3cf91d['React'],_0x3cf91d['UniverRpc'],_0x3cf91d[_0x4d152e(0x3d0)],_0x3cf91d['UniverEngineRender'],_0x3cf91d['UniverNetwork'],_0x3cf91d[_0x4d152e(0x3cf)],_0x3cf91d[_0x4d152e(0x40d)],_0x3cf91d[_0x4d152e(0x25e)],_0x3cf91d[_0x4d152e(0x3bd)],_0x3cf91d[_0x4d152e(0x295)],_0x3cf91d[_0x4d152e(0x442)][_0x4d152e(0x2ea)],_0x3cf91d[_0x4d152e(0x27c)]));}(this,function(_0x109cc1,_0x3d7e11,_0x463ba0,_0x4ce188,_0x577183,_0x4d6cca,_0x523600,_0x29b3ac,_0x5aaaee,_0x1fcf92,_0xcd5ffc,_0x1d4876,_0x1bfa4c,_0x31c46d,_0x5f3c3e,_0x4ebf52,_0xf94d0f,_0x133836,_0x406458){'use strict';const _0x28c363=_0x2163;var _0x4ff067=Object[_0x28c363(0x201)],_0xf5aeaf=(_0x2c6513,_0x1de0e3,_0x5dd025)=>_0x1de0e3 in _0x2c6513?_0x4ff067(_0x2c6513,_0x1de0e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dd025}):_0x2c6513[_0x1de0e3]=_0x5dd025,_0x2002db=(_0x3d50b8,_0x5e0f05,_0x1d13dd)=>_0xf5aeaf(_0x3d50b8,typeof _0x5e0f05!=_0x28c363(0x2c8)?_0x5e0f05+'':_0x5e0f05,_0x1d13dd);function _0x3735e6({ref:_0x2f2530,..._0x5c8326}){const _0x10de19=_0x28c363,{icon:_0x5d9797,id:_0x468ac6,className:_0x3163ec,extend:_0x195ffb,..._0x2b27bf}=_0x5c8326,_0xda3322=(_0x10de19(0x48f)+_0x468ac6+'\x20'+(_0x3163ec||''))['trim'](),_0xc51ca8=_0x29b3ac['useRef']('_'+_0x2e5f45());return _0x49dea5(_0x5d9797,''+_0x468ac6,{'defIds':_0x5d9797[_0x10de19(0x483)],'idSuffix':_0xc51ca8[_0x10de19(0x24e)]},{'ref':_0x2f2530,'className':_0xda3322,..._0x2b27bf},_0x195ffb);}function _0x49dea5(_0x312c7b,_0x1c9b4a,_0xcdc1c2,_0x117774,_0x652577){const _0x5e51ac=_0x28c363;return _0x29b3ac['createElement'](_0x312c7b['tag'],{'key':_0x1c9b4a,..._0x39af35(_0x312c7b,_0xcdc1c2,_0x652577),..._0x117774},(_0x414693(_0x312c7b,_0xcdc1c2)[_0x5e51ac(0x268)]||[])[_0x5e51ac(0x269)]((_0x222ab5,_0xa8741c)=>_0x49dea5(_0x222ab5,_0x1c9b4a+'-'+_0x312c7b[_0x5e51ac(0x1a4)]+'-'+_0xa8741c,_0xcdc1c2,void 0x0,_0x652577)));}function _0x39af35(_0x46f528,_0x231388,_0x2afced){const _0x365be7=_0x28c363,_0xcdf056={..._0x46f528[_0x365be7(0x469)]};_0x2afced!=null&&_0x2afced[_0x365be7(0x3fa)]&&_0xcdf056['fill']==='colorChannel1'&&(_0xcdf056[_0x365be7(0x37a)]=_0x2afced[_0x365be7(0x3fa)]),_0x46f528[_0x365be7(0x1a4)]===_0x365be7(0x419)&&_0xcdf056['id']&&(_0xcdf056['id']=_0xcdf056['id']+_0x231388[_0x365be7(0x1ab)]),Object['entries'](_0xcdf056)[_0x365be7(0x385)](([_0x4a95ee,_0x1ed9d0])=>{const _0x1806d6=_0x365be7;_0x4a95ee===_0x1806d6(0x419)&&typeof _0x1ed9d0=='string'&&(_0xcdf056[_0x4a95ee]=_0x1ed9d0[_0x1806d6(0x41b)](/url\(#(.*)\)/,_0x1806d6(0x231)+_0x231388[_0x1806d6(0x1ab)]+')'));});const {defIds:_0x38c757}=_0x231388;return!_0x38c757||_0x38c757[_0x365be7(0x3e9)]===0x0||(_0x46f528[_0x365be7(0x1a4)]===_0x365be7(0x1dd)&&_0xcdf056[_0x365be7(0x480)]&&(_0xcdf056[_0x365be7(0x480)]=_0xcdf056[_0x365be7(0x480)]+_0x231388[_0x365be7(0x1ab)]),Object[_0x365be7(0x233)](_0xcdf056)['forEach'](([_0x539257,_0x29e631])=>{const _0xdb7e9f=_0x365be7;typeof _0x29e631=='string'&&(_0xcdf056[_0x539257]=_0x29e631['replace'](/url\(#(.*)\)/,_0xdb7e9f(0x231)+_0x231388['idSuffix']+')'));})),_0xcdf056;}function _0x414693(_0x46a2ed,_0x572ae4){const _0x4adb15=_0x28c363;var _0x449b57;const {defIds:_0x2b019c}=_0x572ae4;return!_0x2b019c||_0x2b019c['length']===0x0?_0x46a2ed:_0x46a2ed['tag']===_0x4adb15(0x473)&&((_0x449b57=_0x46a2ed['children'])!=null&&_0x449b57[_0x4adb15(0x3e9)])?{..._0x46a2ed,'children':_0x46a2ed[_0x4adb15(0x268)][_0x4adb15(0x269)](_0x178fe6=>typeof _0x178fe6[_0x4adb15(0x469)]['id']==_0x4adb15(0x19c)&&_0x2b019c&&_0x2b019c[_0x4adb15(0x3e0)](_0x178fe6[_0x4adb15(0x469)]['id'])?{..._0x178fe6,'attrs':{..._0x178fe6[_0x4adb15(0x469)],'id':_0x178fe6[_0x4adb15(0x469)]['id']+_0x572ae4[_0x4adb15(0x1ab)]}}:_0x178fe6)}:_0x46a2ed;}function _0x2e5f45(){const _0x298f54=_0x28c363;return Math[_0x298f54(0x1ef)]()[_0x298f54(0x288)](0x24)[_0x298f54(0x37e)](0x2,0x8);}_0x3735e6[_0x28c363(0x1b1)]=_0x28c363(0x412);const _0x5ab5f3={'tag':_0x28c363(0x1ac),'attrs':{'xmlns':_0x28c363(0x3bb),'fill':_0x28c363(0x2c3),'viewBox':_0x28c363(0x376),'width':_0x28c363(0x2d3),'height':_0x28c363(0x2d3)},'children':[{'tag':'g','attrs':{'clipPath':_0x28c363(0x3b6)},'children':[{'tag':_0x28c363(0x1a6),'attrs':{'stroke':_0x28c363(0x2d1),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x28c363(0x28a),'strokeLinejoin':_0x28c363(0x28a),'strokeWidth':1.2}}]},{'tag':_0x28c363(0x473),'attrs':{},'children':[{'tag':_0x28c363(0x25a),'attrs':{'id':_0x28c363(0x293)},'children':[{'tag':'path','attrs':{'fill':_0x28c363(0x249),'d':_0x28c363(0x1e3)}}]}]}],'defIds':[_0x28c363(0x293)]},_0x4f7356=_0x29b3ac[_0x28c363(0x294)](function(_0x37be74,_0x4d0202){const _0x37ffcb=_0x28c363;return _0x29b3ac[_0x37ffcb(0x45e)](_0x3735e6,Object[_0x37ffcb(0x1d0)]({},_0x37be74,{'id':_0x37ffcb(0x1dc),'ref':_0x4d0202,'icon':_0x5ab5f3}));});_0x4f7356['displayName']=_0x28c363(0x447);const _0x454177={'tag':_0x28c363(0x1ac),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x28c363(0x2c3),'viewBox':_0x28c363(0x381),'width':_0x28c363(0x2d3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x28c363(0x225)},'children':[{'tag':_0x28c363(0x1a6),'attrs':{'stroke':_0x28c363(0x2d1),'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':_0x28c363(0x28a),'strokeLinejoin':_0x28c363(0x28a),'strokeWidth':1.2}}]},{'tag':_0x28c363(0x473),'attrs':{},'children':[{'tag':_0x28c363(0x25a),'attrs':{'id':_0x28c363(0x19a)},'children':[{'tag':'path','attrs':{'fill':_0x28c363(0x249),'d':_0x28c363(0x1e3),'transform':_0x28c363(0x379)}}]}]}],'defIds':[_0x28c363(0x19a)]},_0x29c408=_0x29b3ac['forwardRef'](function(_0x1d1616,_0x5c0c4e){const _0x3fd110=_0x28c363;return _0x29b3ac[_0x3fd110(0x45e)](_0x3735e6,Object['assign']({},_0x1d1616,{'id':_0x3fd110(0x29c),'ref':_0x5c0c4e,'icon':_0x454177}));});_0x29c408[_0x28c363(0x1b1)]=_0x28c363(0x3ca);function _0x4127e1(_0x2cbd38){const _0x22e4be=_0x28c363;switch(_0x2cbd38){case _0x463ba0['CollaborationStatus']['OFFLINE']:return _0x22e4be(0x2f4);case _0x463ba0[_0x22e4be(0x3b7)]['CONFLICT']:return _0x22e4be(0x1e7);case _0x463ba0[_0x22e4be(0x3b7)]['FETCH_MISS']:return _0x22e4be(0x244);case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x3c4)]:return'collabStatus.notCollab';case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x227)]:case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x459)]:return _0x22e4be(0x234);case _0x463ba0['CollaborationStatus'][_0x22e4be(0x439)]:case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x3e7)]:return _0x22e4be(0x2f7);}}function _0x466448(_0x3a449d){const _0x38bb80=_0x28c363,{status$:_0x2f8940}=_0x3a449d,_0x5b9d0f=_0x577183[_0x38bb80(0x46f)](_0x2f8940,_0x463ba0['CollaborationStatus']['NOT_COLLAB']),_0x18df60=_0x577183['useDependency'](_0x4ce188[_0x38bb80(0x263)]),_0x37ed8d=_0x577183['useDependency'](_0x463ba0[_0x38bb80(0x2cb)]),_0x4c61f3=_0x5b9d0f!==_0x463ba0[_0x38bb80(0x3b7)][_0x38bb80(0x2ac)],_0xe502c6=_0x18df60['t'](_0x4127e1(_0x5b9d0f)),_0x4d7de6=_0x4c61f3?_0x3d7e11['jsx'](_0x29c408,{}):_0x3d7e11[_0x38bb80(0x332)](_0x4f7356,{}),_0x28d0bb=_0x29b3ac['useCallback'](()=>{_0x4c61f3||_0x37ed8d['reconnect']();},[_0x4c61f3,_0x37ed8d]);function _0x54a851(){const _0x1db42c=_0x38bb80;return _0x3d7e11['jsxs'](_0x1db42c(0x422),{'className':'univer-flex\x20univer-items-center','onClick':_0x28d0bb,'children':[_0x3d7e11[_0x1db42c(0x332)]('div',{'className':_0x523600[_0x1db42c(0x1d2)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4c61f3,'univer-text-red-500':!_0x4c61f3}),'children':_0x4d7de6}),_0x3d7e11[_0x1db42c(0x332)](_0x1db42c(0x422),{'className':_0x1db42c(0x24a),'children':_0xe502c6})]});}return _0x4c61f3?_0x54a851():_0x3d7e11[_0x38bb80(0x332)](_0x523600[_0x38bb80(0x36c)],{'title':_0x18df60['t'](_0x38bb80(0x1e4)),'children':_0x54a851()});}var _0x29cc3a=Object['getOwnPropertyDescriptor'],_0x2c0dfe=(_0x35349a,_0x3138d5,_0x4352d3,_0x4e2ba1)=>{const _0x70e69a=_0x28c363;for(var _0x4ddea7=_0x4e2ba1>0x1?void 0x0:_0x4e2ba1?_0x29cc3a(_0x3138d5,_0x4352d3):_0x3138d5,_0x202fb4=_0x35349a[_0x70e69a(0x3e9)]-0x1,_0x418f8c;_0x202fb4>=0x0;_0x202fb4--)(_0x418f8c=_0x35349a[_0x202fb4])&&(_0x4ddea7=_0x418f8c(_0x4ddea7)||_0x4ddea7);return _0x4ddea7;},_0x3e25e7=(_0x3d34f2,_0x391b88)=>(_0x12e9ec,_0x10af42)=>_0x391b88(_0x12e9ec,_0x10af42,_0x3d34f2);_0x109cc1['DesktopCollaborationStatusDisplayController']=class extends _0x4ce188['Disposable']{constructor(_0x548ff3,_0x59ee79,_0x1db328,_0x120473){const _0x563d66=_0x28c363;super(),_0x2002db(this,_0x563d66(0x2c0),new _0x4d6cca[(_0x563d66(0x36e))](_0x463ba0['CollaborationStatus'][_0x563d66(0x3c4)])),(this[_0x563d66(0x2e8)]=_0x548ff3,this[_0x563d66(0x1d6)]=_0x59ee79,this[_0x563d66(0x24c)]=_0x1db328,this[_0x563d66(0x3dd)]=_0x120473,this[_0x563d66(0x472)](),this[_0x563d66(0x226)]());}[_0x28c363(0x226)](){const _0x10d6ed=_0x28c363;this['disposeWithMe'](this[_0x10d6ed(0x2e8)]['focused$'][_0x10d6ed(0x397)](_0x4d6cca[_0x10d6ed(0x2e4)](()=>{const _0x42dfb1=_0x10d6ed,_0x24da62=this['_univerInstanceService'][_0x42dfb1(0x30d)]();return _0x24da62?this['_collaborationController']['getCollabEntity$'](_0x24da62[_0x42dfb1(0x281)]()):_0x4d6cca['of'](null);}),_0x4d6cca[_0x10d6ed(0x2e4)](_0x1437cf=>_0x1437cf?_0x1437cf[_0x10d6ed(0x35c)]:_0x4d6cca['of'](_0x463ba0['CollaborationStatus'][_0x10d6ed(0x3c4)])))[_0x10d6ed(0x2df)](_0x1cca20=>{const _0x37ad53=_0x10d6ed;this[_0x37ad53(0x2c0)][_0x37ad53(0x395)](_0x1cca20);}));}[_0x28c363(0x472)](){const _0x26f12e=_0x28c363;this[_0x26f12e(0x210)](this[_0x26f12e(0x3dd)]['registerComponent'](_0x577183[_0x26f12e(0x1f1)][_0x26f12e(0x363)],()=>_0x577183[_0x26f12e(0x34b)](_0x45d1cf({'status$':this['_status$'][_0x26f12e(0x373)]()}),this['_injector'])));}},_0x109cc1[_0x28c363(0x3ac)]=_0x2c0dfe([_0x3e25e7(0x0,_0x4ce188[_0x28c363(0x398)]),_0x3e25e7(0x1,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x3e25e7(0x2,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x246)])),_0x3e25e7(0x3,_0x577183[_0x28c363(0x327)])],_0x109cc1[_0x28c363(0x3ac)]);function _0x45d1cf(_0x1b3cf0){const {status$:_0x5dc0ef}=_0x1b3cf0;return function(){const _0x553d86=_0x2163;return _0x3d7e11[_0x553d86(0x332)](_0x466448,{'status$':_0x5dc0ef});};}const _0x204646=_0x4ce188['createIdentifier'](_0x28c363(0x1d7));var _0x2d9acb=Object[_0x28c363(0x328)],_0x4a9e8c=(_0x14c9e3,_0xd715e,_0x2b7858,_0x5f1ee1)=>{const _0x4aa59f=_0x28c363;for(var _0x5981b6=_0x5f1ee1>0x1?void 0x0:_0x5f1ee1?_0x2d9acb(_0xd715e,_0x2b7858):_0xd715e,_0xcad15f=_0x14c9e3[_0x4aa59f(0x3e9)]-0x1,_0x46e82e;_0xcad15f>=0x0;_0xcad15f--)(_0x46e82e=_0x14c9e3[_0xcad15f])&&(_0x5981b6=_0x46e82e(_0x5981b6)||_0x5981b6);return _0x5981b6;},_0x5b9760=(_0xe34b9,_0x4e7358)=>(_0x15e131,_0x1db19b)=>_0x4e7358(_0x15e131,_0x1db19b,_0xe34b9);_0x109cc1[_0x28c363(0x443)]=class extends _0x4ce188['RxDisposable']{constructor(_0x550cda,_0x382e69,_0x3d7231,_0x2ab9b0,_0x429153){const _0x133f1d=_0x28c363;super(),this['_urlService']=_0x550cda,this[_0x133f1d(0x3ff)]=_0x382e69,this[_0x133f1d(0x3b3)]=_0x3d7231,this[_0x133f1d(0x37f)]=_0x2ab9b0,_0x429153?_0x429153==null||_0x429153[_0x133f1d(0x19d)]()[_0x133f1d(0x3f1)](()=>this[_0x133f1d(0x304)]()):(this[_0x133f1d(0x3ff)][_0x133f1d(0x3e5)](_0x133f1d(0x39d),_0x133f1d(0x33c)),this[_0x133f1d(0x304)]());}async[_0x28c363(0x304)](){const _0x458b0c=_0x28c363,_0x4b6a3e=this['_urlService']['getParam']('unit'),_0xdaa84=this['_urlService'][_0x458b0c(0x35b)](_0x458b0c(0x372)),_0x48a23a=this[_0x458b0c(0x323)][_0x458b0c(0x35b)](_0x458b0c(0x2c2));if(!_0x4b6a3e||!_0xdaa84){this['_logService'][_0x458b0c(0x3e5)](_0x458b0c(0x39d),_0x458b0c(0x33f));return;}const _0x3d9b01=await this['_dataLoaderService']['loadUnit'](_0x4b6a3e,Number(_0xdaa84),_0x48a23a);_0x3d9b01&&_0x3d9b01 instanceof _0x4ce188[_0x458b0c(0x2d4)]&&this['_setupSubUnitSync'](_0x3d9b01);}async[_0x28c363(0x2fd)](_0x29a816){const _0x3dbc37=_0x28c363;await this[_0x3dbc37(0x40c)](_0x29a816),_0x29a816['activeSheet$'][_0x3dbc37(0x397)](_0x4d6cca[_0x3dbc37(0x20b)](this[_0x3dbc37(0x1fa)]))['subscribe'](_0x4a7772=>{_0x4a7772&&this['_updateURLWithCurrentState'](_0x4a7772);}),this[_0x3dbc37(0x323)][_0x3dbc37(0x341)][_0x3dbc37(0x397)](_0x4d6cca['takeUntil'](this[_0x3dbc37(0x1fa)]))[_0x3dbc37(0x2df)](()=>this['_updateSubUnitFromURLParams'](_0x29a816));}['_updateURLWithCurrentState'](_0x187edd,_0xc1d051=!0x1){const _0xbc2db=_0x28c363,_0x223bab=this[_0xbc2db(0x323)][_0xbc2db(0x35b)](_0xbc2db(0x2c2));_0x187edd[_0xbc2db(0x229)]()!==_0x223bab&&this['_urlService'][_0xbc2db(0x2be)](_0xbc2db(0x2c2),_0x187edd[_0xbc2db(0x229)](),_0xc1d051);}async['_updateSubUnitFromURLParams'](_0x590816){const _0x4533c4=_0x28c363;var _0x34c69e;const _0x3c3f2c=this['_urlService'][_0x4533c4(0x35b)](_0x4533c4(0x2c2));if(!_0x3c3f2c||!_0x590816[_0x4533c4(0x313)](_0x3c3f2c)){const _0x257d01=_0x590816['getUnhiddenWorksheets']()[0x0],_0x124f14=_0x590816['getSheetBySheetId'](_0x257d01);if(!_0x124f14)return;this[_0x4533c4(0x46a)](_0x124f14,!0x0),await this[_0x4533c4(0x3b3)][_0x4533c4(0x1ae)](_0x1fcf92[_0x4533c4(0x3c5)]['id'],{'unitId':_0x590816['getUnitId'](),'subUnitId':_0x257d01});return;}((_0x34c69e=_0x590816[_0x4533c4(0x457)]())==null?void 0x0:_0x34c69e[_0x4533c4(0x229)]())!==_0x3c3f2c&&await this['_commandService']['executeCommand'](_0x1fcf92[_0x4533c4(0x3c5)]['id'],{'unitId':_0x590816['getUnitId'](),'subUnitId':_0x3c3f2c});}},_0x109cc1['CollaborationDataLoaderController']=_0x4a9e8c([_0x5b9760(0x0,_0x204646),_0x5b9760(0x1,_0x4ce188[_0x28c363(0x367)]),_0x5b9760(0x2,_0x4ce188['ICommandService']),_0x5b9760(0x3,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x1b0)])),_0x5b9760(0x4,_0x4ce188[_0x28c363(0x23f)](_0x5aaaee[_0x28c363(0x3ee)]))],_0x109cc1['CollaborationDataLoaderController']);var _0x1322f3=Object['getOwnPropertyDescriptor'],_0x20f952=(_0x13691c,_0x183f9e,_0x2e2323,_0x906436)=>{for(var _0x166b0e=_0x906436>0x1?void 0x0:_0x906436?_0x1322f3(_0x183f9e,_0x2e2323):_0x183f9e,_0x1aaa61=_0x13691c['length']-0x1,_0x547188;_0x1aaa61>=0x0;_0x1aaa61--)(_0x547188=_0x13691c[_0x1aaa61])&&(_0x166b0e=_0x547188(_0x166b0e)||_0x166b0e);return _0x166b0e;},_0x1c6190=(_0x1ca324,_0x55a123)=>(_0x18b992,_0x16ff3f)=>_0x55a123(_0x18b992,_0x16ff3f,_0x1ca324);let _0x288851=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0xc87200,_0x5c359b){const _0x55cd16=_0x28c363;super(),this[_0x55cd16(0x275)]=_0xc87200,this[_0x55cd16(0x2f1)]=_0x5c359b,this[_0x55cd16(0x304)]();}[_0x28c363(0x304)](){const _0x5c9e1d=_0x28c363,_0xc96039=this;this['disposeWithMe'](this[_0x5c9e1d(0x275)]['addClipboardHook']({'onBeforePasteImage':async _0x464539=>{const _0x26c265=_0x5c9e1d,_0x5e59cc=await _0xc96039['_imageIoService']['saveImage'](_0x464539);return _0x5e59cc?{'source':_0x5e59cc[_0x26c265(0x1b4)],'imageSourceType':_0x5e59cc[_0x26c265(0x3f5)]}:null;}}));}};_0x288851=_0x20f952([_0x1c6190(0x0,_0x1bfa4c['IDocClipboardService']),_0x1c6190(0x1,_0x31c46d[_0x28c363(0x414)])],_0x288851);const _0x7590f5=[_0x28c363(0x3a1),_0x28c363(0x2eb),_0x28c363(0x2a5),_0x28c363(0x3c9),_0x28c363(0x1c4),'yellow.400'];class _0x5937ca extends _0x4ce188[_0x28c363(0x3ba)]{constructor(){super(...arguments),_0x2002db(this,'_assignedColors',new Map()),_0x2002db(this,'_colorIndex',0x0);}[_0x28c363(0x46e)](_0x282e8c){const _0x429c35=_0x28c363;if(this['_assignedColors']['has'](_0x282e8c))return this[_0x429c35(0x32c)][_0x429c35(0x314)](_0x282e8c);const _0xcefbba=_0x7590f5[this[_0x429c35(0x21e)]];return this[_0x429c35(0x21e)]=(this['_colorIndex']+0x1)%_0x7590f5['length'],this[_0x429c35(0x32c)][_0x429c35(0x306)](_0x282e8c,_0xcefbba),_0xcefbba;}}function _0x10a2e2(_0xb73db1){const _0x1eeb22=_0x28c363;let _0x134675='';for(const _0x2e238f of _0xb73db1){const {startOffset:_0x3a0d0e,endOffset:_0x56b9b4,isActive:_0x2e2f14,rangeType:_0x55a8a3,segmentId:_0x1a4387,segmentPage:_0x2e4a89}=_0x2e238f;_0x134675[_0x1eeb22(0x3e9)]&&(_0x134675+=','),_0x134675+=_0x3a0d0e+':'+_0x56b9b4+':'+(_0x2e2f14?'1':'0')+':'+_0x55a8a3+':'+_0x1a4387+':'+_0x2e4a89;}return _0x134675;}function _0x57accd(_0x204702){const _0x277624=_0x28c363,_0x1eabaf=_0x204702[_0x277624(0x3e6)](','),_0x8c21a8=[];for(const _0x4b87f1 of _0x1eabaf){const [_0x32bf0c,_0x4a2bcd,_0x8a8261,_0x212a61,_0x343095,_0x257ddd]=_0x4b87f1[_0x277624(0x3e6)](':');_0x8c21a8[_0x277624(0x309)]({'startOffset':Number(_0x32bf0c),'endOffset':Number(_0x4a2bcd),'collapsed':_0x32bf0c===_0x4a2bcd,'isActive':_0x8a8261==='1','rangeType':_0x212a61===_0x4ce188[_0x277624(0x3fc)]['TEXT']?_0x4ce188[_0x277624(0x3fc)]['TEXT']:_0x4ce188[_0x277624(0x3fc)][_0x277624(0x43f)],'segmentId':typeof _0x343095==_0x277624(0x19c)?String(_0x343095):'','segmentPage':Number(_0x257ddd!=null?_0x257ddd:-0x1)});}return _0x8c21a8[_0x277624(0x3e3)](_0x246ff8=>_0x246ff8[_0x277624(0x2dc)])||(_0x8c21a8[0x0]['isActive']=!0x0),_0x8c21a8;}class _0x53ce46 extends _0x4ce188[_0x28c363(0x3f3)]{constructor(){const _0x5e3b53=_0x28c363;super(...arguments),_0x2002db(this,_0x5e3b53(0x2a1),new _0x4d6cca[(_0x5e3b53(0x36e))](null)),_0x2002db(this,_0x5e3b53(0x48b),this['_collabCursorState$']['asObservable']());}[_0x28c363(0x2ff)](_0x2311d8){const _0x24b3ad=_0x28c363,{unitID:_0x4b49ef,memberID:_0x2adf39,textRanges:_0x33ac34}=_0x2311d8,_0x22e023=_0x10a2e2(_0x33ac34);if(_0x22e023==='')return;const _0x33bbcd={'unitID':_0x4b49ef,'memberID':_0x2adf39,'selection':_0x22e023};this[_0x24b3ad(0x2a1)][_0x24b3ad(0x395)](_0x33bbcd);}}var _0x1b6d9f=Object[_0x28c363(0x328)],_0x3d3717=(_0x1e994c,_0x3cc13a,_0x485941,_0x346c0e)=>{for(var _0x155deb=_0x346c0e>0x1?void 0x0:_0x346c0e?_0x1b6d9f(_0x3cc13a,_0x485941):_0x3cc13a,_0x106954=_0x1e994c['length']-0x1,_0x4dd9c3;_0x106954>=0x0;_0x106954--)(_0x4dd9c3=_0x1e994c[_0x106954])&&(_0x155deb=_0x4dd9c3(_0x155deb)||_0x155deb);return _0x155deb;},_0xca0963=(_0x5e678f,_0x397edf)=>(_0x56f656,_0x38710c)=>_0x397edf(_0x56f656,_0x38710c,_0x5e678f);const _0x5ef029=0x12c,_0x184cdd=0x64;let _0x33dd8a=class extends _0x4ce188['RxDisposable']{constructor(_0x48036b,_0x46d634,_0x230f74,_0x2bddab,_0x734b35,_0x25330a,_0x36325,_0x5397f2,_0x4a4c88){const _0x12a29f=_0x28c363;super(),_0x2002db(this,_0x12a29f(0x2d6),!0x1),_0x2002db(this,_0x12a29f(0x304),!0x1),_0x2002db(this,_0x12a29f(0x243),new _0x4d6cca[(_0x12a29f(0x36e))](new Map())),_0x2002db(this,_0x12a29f(0x307),this[_0x12a29f(0x243)]['asObservable']()),_0x2002db(this,_0x12a29f(0x22d),new _0x4d6cca[(_0x12a29f(0x36e))]([])),_0x2002db(this,_0x12a29f(0x430),this[_0x12a29f(0x22d)][_0x12a29f(0x397)](_0x4d6cca[_0x12a29f(0x2ba)](_0x5ef029))),_0x2002db(this,'_updateLocalCursor',_0x4ce188['debounce'](_0x36fa17=>{const _0x1bfa58=_0x12a29f,_0x157689={'eventID':_0x5f3c3e[_0x1bfa58(0x207)][_0x1bfa58(0x270)],'data':{'unitID':this[_0x1bfa58(0x3dc)],'memberID':this[_0x1bfa58(0x26e)][_0x1bfa58(0x24f)](),'selection':_0x10a2e2(_0x36fa17)}};this['_session']['send'](_0x157689,this[_0x1bfa58(0x3dc)]);},_0x184cdd)),(this['unitID']=_0x48036b,this[_0x12a29f(0x26e)]=_0x46d634,this['_injector']=_0x230f74,this[_0x12a29f(0x302)]=_0x2bddab,this[_0x12a29f(0x220)]=_0x734b35,this[_0x12a29f(0x427)]=_0x25330a,this[_0x12a29f(0x1ea)]=_0x36325,this[_0x12a29f(0x2e8)]=_0x5397f2,this[_0x12a29f(0x3b3)]=_0x4a4c88);}get['cursorInfo'](){const _0x2e6f1c=_0x28c363;return this['_cursorInfo$'][_0x2e6f1c(0x26a)]();}get[_0x28c363(0x25f)](){const _0x57b620=_0x28c363;return this[_0x57b620(0x22d)][_0x57b620(0x26a)]();}[_0x28c363(0x2fc)](){const _0x1f8d52=_0x28c363;super[_0x1f8d52(0x2fc)](),this['_cursorInfo$']['next'](new Map()),this[_0x1f8d52(0x243)][_0x1f8d52(0x402)](),this[_0x1f8d52(0x22d)][_0x1f8d52(0x395)]([]),this[_0x1f8d52(0x22d)][_0x1f8d52(0x402)]();}[_0x28c363(0x482)](){const _0x5e6afa=_0x28c363;this['_init']||(this[_0x5e6afa(0x304)]=!0x0,this[_0x5e6afa(0x26e)][_0x5e6afa(0x22a)][_0x5e6afa(0x397)](_0x4d6cca[_0x5e6afa(0x20b)](this[_0x5e6afa(0x1fa)]))['subscribe'](_0x59fdfc=>{const _0x13e1bc=_0x5e6afa;_0x59fdfc===_0x463ba0[_0x13e1bc(0x347)][_0x13e1bc(0x3ea)]?this[_0x13e1bc(0x19e)]():this[_0x13e1bc(0x425)]();}),this[_0x5e6afa(0x26e)][_0x5e6afa(0x411)][_0x5e6afa(0x397)](_0x4d6cca[_0x5e6afa(0x20b)](this[_0x5e6afa(0x1fa)]))[_0x5e6afa(0x2df)](_0x281bb2=>{const _0x1f6b5b=_0x5e6afa,_0x3432b6=_0x281bb2[_0x1f6b5b(0x37b)];_0x3432b6===_0x5f3c3e['CollaborationEvent'][_0x1f6b5b(0x270)]&&this[_0x1f6b5b(0x451)](_0x281bb2),_0x3432b6===_0x5f3c3e['CollaborationEvent'][_0x1f6b5b(0x204)]&&this[_0x1f6b5b(0x2cf)](_0x281bb2);}),this[_0x5e6afa(0x210)](this[_0x5e6afa(0x3b3)][_0x5e6afa(0x20a)](_0x1f6e0d=>{const _0x4104ad=_0x5e6afa,_0x4cf502=_0x1f6e0d[_0x4104ad(0x321)];_0x4cf502!=null&&this[_0x4104ad(0x2d6)]&&_0x1f6e0d['id']===_0x4ebf52[_0x4104ad(0x29f)]['id']&&_0x4cf502[_0x4104ad(0x39f)]===this[_0x4104ad(0x3dc)]&&_0x4cf502[_0x4104ad(0x2e3)]===!0x1&&_0x4cf502[_0x4104ad(0x438)][_0x4104ad(0x3e9)]>0x0&&this[_0x4104ad(0x474)](_0x4cf502[_0x4104ad(0x438)]);})),this[_0x5e6afa(0x427)][_0x5e6afa(0x48b)][_0x5e6afa(0x397)](_0x4d6cca['takeUntil'](this[_0x5e6afa(0x1fa)]))[_0x5e6afa(0x2df)](_0x4172a3=>{const _0x300613=_0x5e6afa;if((_0x4172a3==null?void 0x0:_0x4172a3[_0x300613(0x3dc)])!==this['unitID'])return;const _0x41b647={'eventID':_0x5f3c3e[_0x300613(0x207)][_0x300613(0x270)],'data':_0x4172a3};this[_0x300613(0x451)](_0x41b647);}),this['disposeWithMe'](this[_0x5e6afa(0x3b3)][_0x5e6afa(0x20a)](_0x5d668e=>{const _0x1e4775=_0x5e6afa;if(_0x5d668e[_0x1e4775(0x321)]==null)return;const _0x4860aa=_0x5d668e[_0x1e4775(0x321)];if(_0x5d668e['id']!==_0x4ebf52[_0x1e4775(0x351)]['id']||_0x4860aa[_0x1e4775(0x39f)]!==this['unitID'])return;const _0x288dcc={'id':'doc.mutation.rich-text-editing','params':_0x4860aa},_0x336a68=this[_0x1e4775(0x393)];for(const [_0x1c0a7e,_0x5094ac]of _0x336a68){const _0x5c41a1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5094ac[_0x1e4775(0x438)]}},_0x5a484b=this[_0x1e4775(0x1ea)][_0x1e4775(0x3af)](_0x288dcc,_0x5c41a1,!0x1);if(_0x5f3c3e['isTransformMutationFailure'](_0x5a484b))throw _0x5a484b[_0x1e4775(0x230)];_0x336a68[_0x1e4775(0x306)](_0x1c0a7e,{..._0x5094ac,'ranges':_0x5a484b[_0x1e4775(0x27e)]['params']['textRanges']});}queueMicrotask(()=>{const _0x3f1159=_0x1e4775;this[_0x3f1159(0x243)][_0x3f1159(0x395)](_0x336a68);});})));}[_0x28c363(0x451)](_0x1b4055){const _0x5839bf=_0x28c363;var _0x4b652a,_0x1ab7f1;const {memberID:_0x31f8ce,selection:_0xc89563}=_0x1b4055['data'],_0x1f7b9a=_0x57accd(_0xc89563),_0xbeb6be=(_0x1ab7f1=(_0x4b652a=this['_memberService'][_0x5839bf(0x31e)](this[_0x5839bf(0x3dc)],_0x31f8ce))==null?void 0x0:_0x4b652a[_0x5839bf(0x429)])!=null?_0x1ab7f1:_0x5839bf(0x29a),_0x29667a={'color':this[_0x5839bf(0x302)]['assignAColorForMemberID'](_0x31f8ce),'name':_0xbeb6be,'ranges':_0x1f7b9a},_0x363882=this['cursorInfo'];_0x363882[_0x5839bf(0x306)](_0x31f8ce,_0x29667a),this[_0x5839bf(0x243)][_0x5839bf(0x395)](_0x363882);}['_onCursorDelete'](_0x4697f0){const _0x574c5a=_0x28c363,{memberID:_0x2b4df1}=_0x4697f0[_0x574c5a(0x3ad)],_0x2e0f8c=this[_0x574c5a(0x393)];_0x2e0f8c[_0x574c5a(0x409)](_0x2b4df1),this[_0x574c5a(0x243)][_0x574c5a(0x395)](_0x2e0f8c);}['_toggleOnline'](){const _0x24b635=_0x28c363;var _0x11b14b;if(this[_0x24b635(0x2d6)]=!0x0,((_0x11b14b=this['_univerInstanceService'][_0x24b635(0x30d)]())==null?void 0x0:_0x11b14b[_0x24b635(0x281)]())!==this[_0x24b635(0x3dc)])return;const _0x4ce4d4=this[_0x24b635(0x1d6)][_0x24b635(0x314)](_0x4ebf52[_0x24b635(0x1a8)])['getDocRanges']();Array[_0x24b635(0x2f3)](_0x4ce4d4)&&_0x4ce4d4[_0x24b635(0x3e9)]>0x0&&this[_0x24b635(0x474)](_0x4ce4d4);}['_toggleOffline'](){const _0x3eda52=_0x28c363;this[_0x3eda52(0x2d6)]=!0x1;}};_0x33dd8a=_0x3d3717([_0xca0963(0x2,_0x4ce188[_0x28c363(0x319)](_0x4ce188['Injector'])),_0xca0963(0x3,_0x4ce188[_0x28c363(0x319)](_0x5937ca)),_0xca0963(0x4,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x1cc)])),_0xca0963(0x5,_0x4ce188[_0x28c363(0x319)](_0x53ce46)),_0xca0963(0x6,_0x5f3c3e[_0x28c363(0x1db)]),_0xca0963(0x7,_0x4ce188['IUniverInstanceService']),_0xca0963(0x8,_0x4ce188['ICommandService'])],_0x33dd8a);var _0x59492f=Object[_0x28c363(0x328)],_0x6a781c=(_0x2ed28b,_0x1c7462,_0x3500f0,_0xffc8e6)=>{const _0x474e7a=_0x28c363;for(var _0x3ad363=_0xffc8e6>0x1?void 0x0:_0xffc8e6?_0x59492f(_0x1c7462,_0x3500f0):_0x1c7462,_0x3b7b94=_0x2ed28b[_0x474e7a(0x3e9)]-0x1,_0x377d82;_0x3b7b94>=0x0;_0x3b7b94--)(_0x377d82=_0x2ed28b[_0x3b7b94])&&(_0x3ad363=_0x377d82(_0x3ad363)||_0x3ad363);return _0x3ad363;},_0x5558d0=(_0x21cb0e,_0x31740d)=>(_0x33df5c,_0x4a65d4)=>_0x31740d(_0x33df5c,_0x4a65d4,_0x21cb0e);const _0x60940e=0x12c,_0x27d173=0x64,_0x2e9a4=()=>{let _0x50a6d0=[],_0x246c64=!0x1;return _0x70b62b=>{_0x50a6d0['push'](_0x70b62b),_0x246c64||(_0x246c64=!0x0,setTimeout(()=>{const _0x1a9799=_0x2163;_0x50a6d0[_0x1a9799(0x385)](_0x24eb30=>_0x24eb30()),_0x50a6d0=[],_0x246c64=!0x1;}));};};let _0x328aa2=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0x2f1468,_0x1aebf1,_0x231363,_0x47b6d6,_0x1b6c94,_0x1f9ee7,_0x4363f1,_0x560d9f){const _0x442ded=_0x28c363;super(),_0x2002db(this,_0x442ded(0x2d6),!0x1),_0x2002db(this,_0x442ded(0x304),!0x1),_0x2002db(this,'_cursorInfo$',new _0x4d6cca[(_0x442ded(0x36e))](new Map())),_0x2002db(this,'cursorInfo$',this[_0x442ded(0x243)][_0x442ded(0x373)]()),_0x2002db(this,_0x442ded(0x22d),new _0x4d6cca['BehaviorSubject']([])),_0x2002db(this,_0x442ded(0x430),this[_0x442ded(0x22d)][_0x442ded(0x397)](_0x4d6cca[_0x442ded(0x2ba)](_0x60940e))),_0x2002db(this,'_updateLocalCursor',_0x4ce188[_0x442ded(0x289)]((_0x3f07f5,_0x102fb4)=>{const _0x2e491c=_0x442ded,_0x3b8d84={'eventID':_0x5f3c3e[_0x2e491c(0x207)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2e491c(0x3dc)],'memberID':this[_0x2e491c(0x26e)][_0x2e491c(0x24f)](),'selection':_0xf94d0f[_0x2e491c(0x2f0)](_0x3f07f5,_0x102fb4['range'])}};this[_0x2e491c(0x26e)][_0x2e491c(0x3e4)](_0x3b8d84,this[_0x2e491c(0x3dc)]);},_0x27d173)),(this[_0x442ded(0x3dc)]=_0x2f1468,this[_0x442ded(0x26e)]=_0x1aebf1,this['_injector']=_0x231363,this[_0x442ded(0x302)]=_0x47b6d6,this['_memberService']=_0x1b6c94,this[_0x442ded(0x2e8)]=_0x1f9ee7,this[_0x442ded(0x3b3)]=_0x4363f1,this['_refRangeService']=_0x560d9f);}get[_0x28c363(0x393)](){const _0x5af44f=_0x28c363;return this[_0x5af44f(0x243)]['getValue']();}get[_0x28c363(0x25f)](){const _0x48d6f0=_0x28c363;return this[_0x48d6f0(0x22d)][_0x48d6f0(0x26a)]();}['dispose'](){const _0x3edf5b=_0x28c363;super[_0x3edf5b(0x2fc)](),this[_0x3edf5b(0x243)]['next'](new Map()),this[_0x3edf5b(0x243)][_0x3edf5b(0x402)](),this[_0x3edf5b(0x22d)]['next']([]),this[_0x3edf5b(0x22d)]['complete']();}[_0x28c363(0x482)](){const _0x2ccbf2=_0x28c363;this['_init']||(this[_0x2ccbf2(0x304)]=!0x0,this['_session'][_0x2ccbf2(0x22a)][_0x2ccbf2(0x397)](_0x4d6cca[_0x2ccbf2(0x20b)](this['dispose$']))[_0x2ccbf2(0x2df)](_0x19a66a=>{const _0x12cb5b=_0x2ccbf2;_0x19a66a===_0x463ba0[_0x12cb5b(0x347)]['ONLINE']?this['_toggleOnline']():this[_0x12cb5b(0x425)]();}),this[_0x2ccbf2(0x26e)]['event$'][_0x2ccbf2(0x397)](_0x4d6cca[_0x2ccbf2(0x20b)](this[_0x2ccbf2(0x1fa)]))[_0x2ccbf2(0x2df)](_0x445cea=>{const _0x22e9e4=_0x2ccbf2,_0x2514eb=_0x445cea['eventID'];_0x2514eb===_0x5f3c3e[_0x22e9e4(0x207)]['UPDATE_CURSOR']&&this[_0x22e9e4(0x451)](_0x445cea),_0x2514eb===_0x5f3c3e[_0x22e9e4(0x207)][_0x22e9e4(0x204)]&&this[_0x22e9e4(0x2cf)](_0x445cea);}),this[_0x2ccbf2(0x2b5)](),this[_0x2ccbf2(0x210)](this[_0x2ccbf2(0x3b3)][_0x2ccbf2(0x20a)](_0x55998e=>{const _0x173ee0=_0x2ccbf2;if(this[_0x173ee0(0x2d6)]&&_0x55998e['id']===_0x1fcf92[_0x173ee0(0x370)]['id']&&_0x55998e[_0x173ee0(0x321)][_0x173ee0(0x39f)]===this[_0x173ee0(0x3dc)]){const _0x1e37dc=_0x55998e[_0x173ee0(0x321)];this['_updateLocalCursor'](_0x1e37dc[_0x173ee0(0x300)],_0x1e37dc[_0x173ee0(0x276)][0x0]);}})));}[_0x28c363(0x451)](_0x42552b){const _0xc78070=_0x28c363;var _0x24e9c6,_0x14157a;const {memberID:_0x185736,selection:_0x555da3}=_0x42552b[_0xc78070(0x3ad)],{sheetName:_0x2c19c7,range:_0x5d25ff}=_0xf94d0f[_0xc78070(0x2a8)](_0x555da3),_0x2cd53={'name':(_0x14157a=(_0x24e9c6=this['_memberService'][_0xc78070(0x31e)](this[_0xc78070(0x3dc)],_0x185736))==null?void 0x0:_0x24e9c6[_0xc78070(0x429)])!=null?_0x14157a:'Unknown\x20user','range':this[_0xc78070(0x47c)](_0x2c19c7,_0x5d25ff),'sheetID':_0x2c19c7,'color':this['_colorAssignService'][_0xc78070(0x46e)](_0x185736),'selection':_0x555da3},_0x4f309f=this[_0xc78070(0x393)];_0x4f309f[_0xc78070(0x306)](_0x185736,_0x2cd53),this[_0xc78070(0x243)][_0xc78070(0x395)](_0x4f309f);}['_onCursorDelete'](_0x3b0e10){const _0x37a0cf=_0x28c363,{memberID:_0x547c2f}=_0x3b0e10[_0x37a0cf(0x3ad)],_0x2f8615=this[_0x37a0cf(0x393)];_0x2f8615['delete'](_0x547c2f),this[_0x37a0cf(0x243)][_0x37a0cf(0x395)](_0x2f8615);}[_0x28c363(0x47c)](_0x7aa476,_0x17ee18){const _0xdcab22=_0x28c363;var _0x2ba3e5,_0x341a31;const _0x261377=(_0x341a31=(_0x2ba3e5=this['_univerInstanceService'][_0xdcab22(0x1c2)](this[_0xdcab22(0x3dc)]))==null?void 0x0:_0x2ba3e5[_0xdcab22(0x313)](_0x7aa476))==null?void 0x0:_0x341a31[_0xdcab22(0x464)]();return(_0x261377==null?void 0x0:_0x261377[_0xdcab22(0x3e1)](_0x17588b=>_0x4ce188[_0xdcab22(0x356)][_0xdcab22(0x335)](_0x17588b,_0x17ee18)))||_0x17ee18;}['_onRefRangeChange'](){const _0x4372d9=_0x28c363,_0x1ffd3a=new _0x4ce188['DisposableCollection'](),_0x1b2730=_0x2e9a4(),_0x5c22b9=()=>{const _0x3c5a19=_0x2163;_0x1ffd3a[_0x3c5a19(0x2fc)]();const _0x402f6b=(_0x3bc1d9,_0x2eecc4,_0x3eee3e,_0x2d6c44)=>{const _0x10d1b5=_0x3c5a19;let _0x17f5e3=[];switch(_0x3bc1d9['id']){case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x436)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x38b)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92['EffectRefRangId'][_0x10d1b5(0x1e0)]:{_0x17f5e3=_0x1fcf92['handleDeleteRangeMoveUp'](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92['EffectRefRangId'][_0x10d1b5(0x208)]:{_0x17f5e3=_0x1fcf92['handleInsertCol'](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x440)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x2ce)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x206)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x19f)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x391)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x46b)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)]['MoveRangeCommandId']:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x42c)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92['EffectRefRangId'][_0x10d1b5(0x405)]:{_0x17f5e3=_0x1fcf92['handleIRemoveCol'](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x1c7)]:{_0x17f5e3=_0x1fcf92['handleIRemoveRow'](_0x3bc1d9,_0x2d6c44);break;}}const _0x2e7429=_0x1fcf92[_0x10d1b5(0x3d6)](_0x17f5e3,_0x2d6c44),_0x2a26d8=this[_0x10d1b5(0x393)][_0x10d1b5(0x314)](_0x2eecc4);if(_0x2a26d8&&_0x2e7429){const _0x2a345d={..._0x2a26d8,'range':_0x2e7429};this[_0x10d1b5(0x393)][_0x10d1b5(0x306)](_0x2eecc4,_0x2a345d),_0x1b2730(()=>{const _0x5b5206=_0x10d1b5,_0x2a13bc=this[_0x5b5206(0x428)][_0x5b5206(0x446)](_0x2e7429,_0x5b0f0d=>(_0x2a13bc[_0x5b5206(0x2fc)](),_0x402f6b(_0x5b0f0d,_0x2eecc4,_0x3eee3e,_0x2e7429)));_0x1ffd3a[_0x5b5206(0x380)](_0x2a13bc);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x3c5a19(0x385)]((_0x10484f,_0x379b41)=>{const _0x27c56b=_0x3c5a19,{range:_0x369a11,sheetID:_0x233a31}=_0x10484f,_0x182310=this[_0x27c56b(0x428)][_0x27c56b(0x446)](_0x369a11,_0x50abe6=>(_0x182310[_0x27c56b(0x2fc)](),_0x402f6b(_0x50abe6,_0x379b41,_0x233a31,_0x369a11)));_0x1ffd3a['add'](_0x182310);});};this[_0x4372d9(0x210)](_0x4ce188[_0x4372d9(0x3d5)](this[_0x4372d9(0x243)][_0x4372d9(0x2df)](()=>{_0x5c22b9();})));}[_0x28c363(0x19e)](){const _0x245b9c=_0x28c363;var _0x2eaddb,_0x3e5228;if(this[_0x245b9c(0x2d6)]=!0x0,((_0x2eaddb=this[_0x245b9c(0x2e8)][_0x245b9c(0x30d)]())==null?void 0x0:_0x2eaddb[_0x245b9c(0x281)]())!==this[_0x245b9c(0x3dc)])return;const _0x3cd57b=(_0x3e5228=this[_0x245b9c(0x1d6)][_0x245b9c(0x314)](_0x1fcf92[_0x245b9c(0x2f9)])['getCurrentSelections']())==null?void 0x0:_0x3e5228[0x0],_0x56e47a=this['_univerInstanceService'][_0x245b9c(0x354)](_0x4ce188['UniverInstanceType'][_0x245b9c(0x30b)])[_0x245b9c(0x457)]();_0x3cd57b&&_0x56e47a&&this[_0x245b9c(0x474)](_0x56e47a[_0x245b9c(0x229)](),_0x3cd57b);}[_0x28c363(0x425)](){const _0x48a4dc=_0x28c363;this[_0x48a4dc(0x2d6)]=!0x1;}};_0x328aa2=_0x6a781c([_0x5558d0(0x2,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x5558d0(0x3,_0x4ce188[_0x28c363(0x319)](_0x5937ca)),_0x5558d0(0x4,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x1cc)])),_0x5558d0(0x5,_0x4ce188[_0x28c363(0x398)]),_0x5558d0(0x6,_0x4ce188[_0x28c363(0x454)]),_0x5558d0(0x7,_0x4ce188['Inject'](_0x1fcf92['RefRangeService']))],_0x328aa2);var _0x42e913=Object[_0x28c363(0x328)],_0x806f6a=(_0x374178,_0x4ff83d,_0x401135,_0x15b759)=>{const _0x7abc6b=_0x28c363;for(var _0x136a02=_0x15b759>0x1?void 0x0:_0x15b759?_0x42e913(_0x4ff83d,_0x401135):_0x4ff83d,_0x1a50bc=_0x374178[_0x7abc6b(0x3e9)]-0x1,_0x17e51b;_0x1a50bc>=0x0;_0x1a50bc--)(_0x17e51b=_0x374178[_0x1a50bc])&&(_0x136a02=_0x17e51b(_0x136a02)||_0x136a02);return _0x136a02;},_0x1fce5b=(_0x5da830,_0x392235)=>(_0x151c9d,_0x4a4383)=>_0x392235(_0x151c9d,_0x4a4383,_0x5da830);let _0x2a8919=class extends _0x4ce188['RxDisposable']{constructor(_0x14db15,_0x344eb3,_0x31baab){const _0x3788ea=_0x28c363;super(),_0x2002db(this,_0x3788ea(0x34e),new Map()),_0x2002db(this,_0x3788ea(0x3c6),new _0x4d6cca[(_0x3788ea(0x22e))]()),(this['_univerInstanceService']=_0x14db15,this[_0x3788ea(0x1d6)]=_0x344eb3,this[_0x3788ea(0x316)]=_0x31baab,this['_init']());}['dispose'](){const _0x1ed3af=_0x28c363;super[_0x1ed3af(0x2fc)](),this[_0x1ed3af(0x3c6)]['complete'](),this[_0x1ed3af(0x34e)]['forEach'](_0x12c4bb=>_0x12c4bb[_0x1ed3af(0x2fc)]());}[_0x28c363(0x240)](_0x225e61){const _0x2bc882=_0x28c363;return this[_0x2bc882(0x34e)][_0x2bc882(0x320)](_0x225e61)?this[_0x2bc882(0x34e)]['get'](_0x225e61)['cursorInfo$']:this['_entityInit$'][_0x2bc882(0x397)](_0x4d6cca[_0x2bc882(0x1c8)](_0x2d323d=>_0x2d323d[_0x2bc882(0x3dc)]===_0x225e61),_0x4d6cca['switchMap'](_0x38e125=>_0x38e125[_0x2bc882(0x307)]));}[_0x28c363(0x304)](){const _0x27499c=_0x28c363;this[_0x27499c(0x2e8)][_0x27499c(0x253)](_0x4ce188['UniverInstanceType'][_0x27499c(0x30b)])[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x20b)](this[_0x27499c(0x1fa)]))[_0x27499c(0x2df)](async _0x304c6f=>{const _0x7c0d34=_0x27499c,_0x21a289=_0x304c6f[_0x7c0d34(0x281)](),_0x48b0d5=await this[_0x7c0d34(0x3e8)](_0x21a289);this['_entityInit$']['next'](_0x48b0d5),this['_entities']['set'](_0x21a289,_0x48b0d5);}),this[_0x27499c(0x2e8)][_0x27499c(0x253)](_0x4ce188[_0x27499c(0x1b9)][_0x27499c(0x39e)])[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x20b)](this['dispose$']))[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x1c8)](_0x203e4c=>!_0x203e4c['getUnitId']()[_0x27499c(0x377)]('__')))[_0x27499c(0x2df)](async _0x27ea00=>{const _0x311114=_0x27499c,_0x27e6a6=_0x27ea00['getUnitId'](),_0x5ac1bd=await this[_0x311114(0x1d8)](_0x27e6a6);this[_0x311114(0x3c6)]['next'](_0x5ac1bd),this[_0x311114(0x34e)][_0x311114(0x306)](_0x27e6a6,_0x5ac1bd);}),_0x4d6cca[_0x27499c(0x3a0)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4ce188[_0x27499c(0x1b9)][_0x27499c(0x39e)]),this[_0x27499c(0x2e8)][_0x27499c(0x1c3)](_0x4ce188['UniverInstanceType'][_0x27499c(0x30b)]))[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x20b)](this[_0x27499c(0x1fa)]))[_0x27499c(0x2df)](_0x2f9228=>{const _0x23c82c=_0x27499c,_0x2d33ba=_0x2f9228[_0x23c82c(0x281)](),_0x32a926=this[_0x23c82c(0x34e)][_0x23c82c(0x314)](_0x2d33ba);_0x32a926&&(_0x32a926[_0x23c82c(0x2fc)](),this[_0x23c82c(0x34e)][_0x23c82c(0x409)](_0x2d33ba));});}async[_0x28c363(0x3e8)](_0x16cf15){const _0xb38bc5=_0x28c363,_0xea1d90=await this[_0xb38bc5(0x316)][_0xb38bc5(0x267)](_0x16cf15),_0x263c54=this[_0xb38bc5(0x1d6)][_0xb38bc5(0x3a6)](_0x328aa2,_0x16cf15,_0xea1d90);return _0x263c54[_0xb38bc5(0x482)](),_0x263c54;}async[_0x28c363(0x1d8)](_0x5ab558){const _0x45274a=_0x28c363,_0x2228f4=await this[_0x45274a(0x316)][_0x45274a(0x267)](_0x5ab558),_0x579e25=this[_0x45274a(0x1d6)][_0x45274a(0x3a6)](_0x33dd8a,_0x5ab558,_0x2228f4);return _0x579e25[_0x45274a(0x482)](),_0x579e25;}};_0x2a8919=_0x806f6a([_0x1fce5b(0x0,_0x4ce188[_0x28c363(0x398)]),_0x1fce5b(0x1,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x1fce5b(0x2,_0x4ce188[_0x28c363(0x319)](_0x463ba0['CollaborationSessionService']))],_0x2a8919);const _0x25350b=0x14,_0x12abee=0xc8,_0x2dfeb6=0x4,_0x4ee7e1=0x5;function _0x2e83ce(_0x1ad3d9,_0x28019f){const _0x37fa21=_0x28c363;let {radius:_0x4e934b,width:_0xa5d991,height:_0x16bdc3}=_0x28019f;_0x4e934b=_0x4e934b!=null?_0x4e934b:0x0,_0xa5d991=_0xa5d991!=null?_0xa5d991:0x1e,_0x16bdc3=_0x16bdc3!=null?_0x16bdc3:0x1e;let _0x53cdac=0x0,_0x5ca536=0x0,_0x63f6d3=0x0;_0x53cdac=_0x5ca536=_0x63f6d3=Math[_0x37fa21(0x200)](_0x4e934b,_0xa5d991/0x2,_0x16bdc3/0x2),_0x1ad3d9[_0x37fa21(0x2a3)](),_0x1ad3d9[_0x37fa21(0x215)](_0x53cdac,0x0),_0x1ad3d9[_0x37fa21(0x28b)](_0xa5d991-_0x5ca536,0x0),_0x1ad3d9['arc'](_0xa5d991-_0x5ca536,_0x5ca536,_0x5ca536,Math['PI']*0x3/0x2,0x0,!0x1),_0x1ad3d9[_0x37fa21(0x28b)](_0xa5d991,_0x16bdc3-_0x63f6d3),_0x1ad3d9[_0x37fa21(0x418)](_0xa5d991-_0x63f6d3,_0x16bdc3-_0x63f6d3,_0x63f6d3,0x0,Math['PI']/0x2,!0x1),_0x1ad3d9[_0x37fa21(0x28b)](0x0,_0x16bdc3),_0x1ad3d9[_0x37fa21(0x28b)](0x0,_0x53cdac),_0x1ad3d9[_0x37fa21(0x418)](_0x53cdac,_0x53cdac,_0x53cdac,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1ad3d9[_0x37fa21(0x369)](),_0x28019f[_0x37fa21(0x37a)]&&(_0x1ad3d9[_0x37fa21(0x317)](),_0x1ad3d9[_0x37fa21(0x264)]=_0x28019f[_0x37fa21(0x37a)],_0x28019f['fillRule']==='evenodd'?_0x1ad3d9[_0x37fa21(0x37a)](_0x37fa21(0x362)):_0x1ad3d9['fill'](),_0x1ad3d9[_0x37fa21(0x2c6)]());}class _0x37a2c3 extends _0xcd5ffc[_0x28c363(0x339)]{constructor(_0x302790,_0x28fc77){const _0x2b84eb=_0x28c363;super(_0x302790,_0x28fc77),_0x2002db(this,_0x2b84eb(0x484)),_0x2002db(this,_0x2b84eb(0x30c)),(this[_0x2b84eb(0x484)]=_0x28fc77==null?void 0x0:_0x28fc77[_0x2b84eb(0x484)],this[_0x2b84eb(0x30c)]=_0x28fc77==null?void 0x0:_0x28fc77[_0x2b84eb(0x30c)]);}static['drawWith'](_0x174a57,_0x269453){const _0x57fe97=_0x28c363,{text:_0x3f60b3,color:_0x4b8451}=_0x269453;_0x174a57[_0x57fe97(0x317)](),_0x174a57[_0x57fe97(0x48c)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x411708=_0x174a57[_0x57fe97(0x40a)](_0x3f60b3)[_0x57fe97(0x252)],_0xed919=Math['min'](_0x411708+0x2*_0x2dfeb6,_0x12abee);_0x2e83ce(_0x174a57,{'height':_0x25350b,'radius':0x4,'width':_0xed919,'fill':_0x4b8451}),_0x174a57['fillStyle']='#FFF';const _0x13f716=_0x2dfeb6,_0x1ec7ee=_0x25350b-_0x4ee7e1,_0x93e1e5=_0x12abee-0x2*_0x2dfeb6;if(_0x411708>_0x93e1e5){let _0x34fbe2='',_0xf75fe9=0x0;for(const _0x32fd3c of _0x3f60b3){const _0x1e576d=_0x174a57['measureText'](_0x32fd3c)[_0x57fe97(0x252)];if(_0xf75fe9+_0x1e576d<=_0x93e1e5-_0x174a57['measureText'](_0x57fe97(0x44f))[_0x57fe97(0x252)])_0x34fbe2+=_0x32fd3c,_0xf75fe9+=_0x1e576d;else{_0x34fbe2+=_0x57fe97(0x44f);break;}}_0x174a57[_0x57fe97(0x25c)](_0x34fbe2,_0x13f716,_0x1ec7ee);}else _0x174a57[_0x57fe97(0x25c)](_0x3f60b3,_0x13f716,_0x1ec7ee);_0x174a57['restore']();}['_draw'](_0x210e88){const _0x47f248=_0x28c363;_0x37a2c3[_0x47f248(0x420)](_0x210e88,this);}}const _0x4f588b=_0x28c363(0x353),_0x27e4da=_0x28c363(0x29e),_0x386a0a=_0x28c363(0x33e),_0x7bb81=0x6,_0x4ff717=1.5,_0x45028c=0x4,_0x595131=1.5,_0x596848='rgba(255,\x20255,\x20255,\x200.01)';class _0x31a71a{constructor(_0xfe212f,_0x1c2424,_0x515492,_0x5b6c56){const _0x2817d1=_0x28c363;_0x2002db(this,_0x2817d1(0x352),[]),_0x2002db(this,'_anchor',null),_0x2002db(this,_0x2817d1(0x2da),null),_0x2002db(this,_0x2817d1(0x24d),null),_0x2002db(this,_0x2817d1(0x1c5),null),_0x2002db(this,_0x2817d1(0x38f),null),(this[_0x2817d1(0x324)]=_0xfe212f,this[_0x2817d1(0x1fc)]=_0x1c2424,this[_0x2817d1(0x1b7)]=_0x515492,this[_0x2817d1(0x287)]=_0x5b6c56,this['_render']());}set[_0x28c363(0x345)](_0x2765a9){const _0x4a5cbf=_0x28c363;_0x2765a9?(this[_0x4a5cbf(0x24d)]&&this[_0x4a5cbf(0x24d)][_0x4a5cbf(0x39b)](),this[_0x4a5cbf(0x2da)]&&this[_0x4a5cbf(0x2da)][_0x4a5cbf(0x273)]()):(this['_anchorDot']&&this[_0x4a5cbf(0x24d)]['show'](),this[_0x4a5cbf(0x2da)]&&this[_0x4a5cbf(0x2da)][_0x4a5cbf(0x39b)]());}['dispose'](){const _0x2f227e=_0x28c363;for(const _0xed479e of this[_0x2f227e(0x352)])_0xed479e[_0x2f227e(0x2fc)]();this[_0x2f227e(0x2da)]&&this[_0x2f227e(0x2da)][_0x2f227e(0x2fc)](),this[_0x2f227e(0x24d)]&&this[_0x2f227e(0x24d)][_0x2f227e(0x2fc)](),this[_0x2f227e(0x1e5)]&&this[_0x2f227e(0x1e5)]['dispose'](),this[_0x2f227e(0x38f)]&&this[_0x2f227e(0x38f)]();}[_0x28c363(0x3f9)](){const _0x563b81=_0x28c363;var _0x60b752;const {_docSkeleton:_0x573e5e,_document:_0x3422f8}=this,{color:_0x338ed3,name:_0x1a177c,ranges:_0x2bb929}=this[_0x563b81(0x324)],_0x5493f3=_0x3422f8[_0x563b81(0x237)](),{docsLeft:_0x13e754,docsTop:_0x24d7ca}=_0x5493f3,_0x4ff3b3=new _0x1bfa4c[(_0x563b81(0x296))](_0x5493f3,_0x573e5e);for(const {startOffset:_0x4c8bfd,endOffset:_0x1bec19,rangeType:_0x572399,segmentId:_0x3058f3,segmentPage:_0x498ff5,collapsed:_0x48f443,isActive:_0x47b935}of _0x2bb929){const _0x4b3c21=_0x573e5e[_0x563b81(0x3cc)](_0x4c8bfd,!0x0,_0x3058f3,_0x498ff5);let _0x5b96dc=_0x573e5e[_0x563b81(0x3cc)](_0x1bec19,!0x0,_0x3058f3,_0x498ff5);if(_0x5b96dc==null&&(_0x5b96dc=_0x573e5e[_0x563b81(0x3cc)](_0x1bec19-0x1,!0x1,_0x3058f3,_0x498ff5)),_0x47b935){const {contentBoxPointGroup:_0xafa4fb}=_0x4ff3b3['getRangePointData'](_0x5b96dc,_0x5b96dc);if(_0xafa4fb['length']===0x0)continue;this[_0x563b81(0x42a)](_0x338ed3,_0xafa4fb,_0x13e754,_0x24d7ca,_0x1a177c),this[_0x563b81(0x38f)]=this[_0x563b81(0x23a)]();}if(_0x4b3c21&&_0x5b96dc){if(_0x572399===_0x4ce188[_0x563b81(0x3fc)][_0x563b81(0x43f)]){const _0x598e7=new _0x1bfa4c[(_0x563b81(0x1b8))](_0x5493f3,_0x573e5e),{pointGroup:_0x2b12b9}=(_0x60b752=_0x598e7['getRangePointData'](_0x4b3c21,_0x5b96dc))!=null?_0x60b752:{};if(_0x2b12b9==null||_0x2b12b9[_0x563b81(0x3e9)]===0x0)continue;this[_0x563b81(0x255)](_0x338ed3,_0x2b12b9,_0x13e754,_0x24d7ca);}else{if(!_0x48f443){const {borderBoxPointGroup:_0x4117f4}=_0x4ff3b3[_0x563b81(0x47f)](_0x4b3c21,_0x5b96dc);if(_0x4117f4[_0x563b81(0x3e9)]===0x0)continue;this[_0x563b81(0x3e2)](_0x338ed3,_0x4117f4,_0x13e754,_0x24d7ca);}}}}}[_0x28c363(0x42a)](_0x408a69,_0x5c5fa7,_0x43a774,_0x2853c9,_0x4d1d65){const _0x14e40e=_0x28c363,_0x481afe=this[_0x14e40e(0x3de)](_0x5c5fa7),{left:_0x4807ab,top:_0xfd9690,height:_0x33b9b6}=_0x481afe,_0x437ebd=this[_0x14e40e(0x282)](),_0x2f5bcf=_0x595131/_0x437ebd,_0xc0d538=new _0xcd5ffc[(_0x14e40e(0x1b3))](_0x4f588b+_0x4ce188[_0x14e40e(0x35d)](_0x7bb81),{'left':_0x4807ab+_0x43a774-_0x2f5bcf,'top':_0xfd9690+_0x2853c9,'height':_0x33b9b6,'width':_0x4ff717,'fill':_0x408a69||_0xcd5ffc['getColor'](_0x4ce188['COLORS'][_0x14e40e(0x3d8)],0x0),'strokeWidth':_0x2f5bcf,'stroke':_0x596848,'evented':!0x0});this['_anchor']=_0xc0d538,this[_0x14e40e(0x1fc)][_0x14e40e(0x280)](_0xc0d538,_0x1bfa4c[_0x14e40e(0x291)]);const _0x1223d0=new _0xcd5ffc[(_0x14e40e(0x1b3))](_0x4f588b+_0x4ce188[_0x14e40e(0x35d)](_0x7bb81),{'left':_0x4807ab+_0x43a774-_0x2f5bcf,'top':_0xfd9690+_0x2853c9-_0x45028c/0x2,'height':_0x45028c,'width':_0x45028c,'fill':_0x408a69||_0xcd5ffc[_0x14e40e(0x337)](_0x4ce188[_0x14e40e(0x35f)][_0x14e40e(0x3d8)],0x0),'strokeWidth':0x0,'stroke':_0x408a69||_0xcd5ffc[_0x14e40e(0x337)](_0x4ce188[_0x14e40e(0x35f)][_0x14e40e(0x3d8)],0x0),'evented':!0x1});this['_anchorDot']=_0x1223d0,this['_scene'][_0x14e40e(0x280)](_0x1223d0,_0x1bfa4c[_0x14e40e(0x291)]);const _0x5ba17a=new _0x37a2c3(_0x4f588b+_0x4ce188[_0x14e40e(0x35d)](_0x7bb81),{'left':_0x4807ab+_0x43a774-_0x2f5bcf,'top':_0xfd9690+_0x2853c9-_0x25350b,'text':_0x4d1d65,'color':_0x408a69});this[_0x14e40e(0x2da)]=_0x5ba17a,this[_0x14e40e(0x1fc)][_0x14e40e(0x280)](_0x5ba17a,_0x1bfa4c['TEXT_RANGE_LAYER_INDEX']),this[_0x14e40e(0x345)]=!0x1;}[_0x28c363(0x23a)](){const _0x4aa573=_0x28c363,_0xe0a416=this[_0x4aa573(0x1e5)][_0x4aa573(0x2cd)][_0x4aa573(0x292)](()=>{this['_hover']=!0x0;}),_0x1a1e58=this[_0x4aa573(0x1e5)][_0x4aa573(0x1be)][_0x4aa573(0x292)](()=>{const _0x1101b3=_0x4aa573;this[_0x1101b3(0x1c5)]&&clearTimeout(this[_0x1101b3(0x1c5)]),this[_0x1101b3(0x1c5)]=setTimeout(()=>{const _0x4828d7=_0x1101b3;this[_0x4828d7(0x345)]=!0x1;},0x7d0);});return()=>{const _0x441abf=_0x4aa573;_0xe0a416[_0x441abf(0x1de)](),_0x1a1e58[_0x441abf(0x1de)]();};}[_0x28c363(0x3e2)](_0x5c9786,_0x3ae510,_0x2781e5,_0x2f8099){const _0x30cfcd=_0x28c363,_0x35f50f=new _0x4ce188['ColorKit'](_0x5c9786)[_0x30cfcd(0x1c6)](0.2)[_0x30cfcd(0x2ab)](),_0x21f2f3=new _0xcd5ffc[(_0x30cfcd(0x2e6))](_0x27e4da+_0x4ce188[_0x30cfcd(0x35d)](_0x7bb81),{'pointsGroup':_0x3ae510,'fill':_0x35f50f||_0xcd5ffc[_0x30cfcd(0x337)](_0x4ce188['COLORS'][_0x30cfcd(0x3d8)],0.2),'left':_0x2781e5,'top':_0x2f8099,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x21f2f3),this['_scene'][_0x30cfcd(0x280)](_0x21f2f3,_0x1bfa4c[_0x30cfcd(0x291)]);}[_0x28c363(0x255)](_0x4d80a3,_0x3d181a,_0x26fdf2,_0x38720d){const _0x24d0c0=_0x28c363,_0x397349=new _0x4ce188[(_0x24d0c0(0x396))](_0x4d80a3)[_0x24d0c0(0x1c6)](0.2)['toRgbString'](),_0x44a723=new _0xcd5ffc[(_0x24d0c0(0x2e6))](_0x386a0a+_0x4ce188[_0x24d0c0(0x35d)](_0x7bb81),{'pointsGroup':_0x3d181a,'fill':_0x397349||_0xcd5ffc['getColor'](_0x4ce188[_0x24d0c0(0x35f)][_0x24d0c0(0x3d8)],0.2),'left':_0x26fdf2,'top':_0x38720d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24d0c0(0x352)]['push'](_0x44a723),this[_0x24d0c0(0x1fc)][_0x24d0c0(0x280)](_0x44a723,_0x1bfa4c[_0x24d0c0(0x291)]);}['_getAnchorBounding'](_0xfc26d6){const _0x476eba=_0xfc26d6[0x0],_0x4a4df5=_0x476eba[0x0],_0x5834b8=_0x476eba[0x2],{x:_0x24702e,y:_0x5c34a1}=_0x4a4df5,{x:_0x3f1fd5,y:_0x2100d1}=_0x5834b8;return{'left':_0x24702e,'top':_0x5c34a1,'width':_0x3f1fd5-_0x24702e,'height':_0x2100d1-_0x5c34a1};}[_0x28c363(0x282)](){const _0x386b4b=_0x28c363,{scaleX:_0x34780b,scaleY:_0x72fa5e}=this[_0x386b4b(0x1fc)][_0x386b4b(0x357)]();return Math[_0x386b4b(0x3df)](_0x34780b,_0x72fa5e);}}var _0x451609=Object[_0x28c363(0x328)],_0x3959de=(_0x53453e,_0x29a2e0,_0x5a306c,_0x32ef79)=>{for(var _0x5d2d21=_0x32ef79>0x1?void 0x0:_0x32ef79?_0x451609(_0x29a2e0,_0x5a306c):_0x29a2e0,_0x34ca5d=_0x53453e['length']-0x1,_0x4b9d1f;_0x34ca5d>=0x0;_0x34ca5d--)(_0x4b9d1f=_0x53453e[_0x34ca5d])&&(_0x5d2d21=_0x4b9d1f(_0x5d2d21)||_0x5d2d21);return _0x5d2d21;},_0x5b9df3=(_0x224102,_0x239da8)=>(_0x209550,_0x54e60a)=>_0x239da8(_0x209550,_0x54e60a,_0x224102);let _0x2af2e0=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0x24b98a,_0x515582,_0x208d3a,_0x31c810,_0x594515){const _0x44e78e=_0x28c363;super(),_0x2002db(this,'_cursorShapes',[]),_0x2002db(this,_0x44e78e(0x374),[]),(this[_0x44e78e(0x3d9)]=_0x24b98a,this[_0x44e78e(0x2c5)]=_0x515582,this[_0x44e78e(0x27a)]=_0x208d3a,this['_commandService']=_0x31c810,this[_0x44e78e(0x3a4)]=_0x594515,this['_init']());}[_0x28c363(0x304)](){const _0x2dbd0f=_0x28c363,_0x2d464f=this[_0x2dbd0f(0x3d9)][_0x2dbd0f(0x39f)],_0x45ee95=this[_0x2dbd0f(0x2c5)];this[_0x2dbd0f(0x210)](_0x4d6cca[_0x2dbd0f(0x3f8)]([this[_0x2dbd0f(0x27a)][_0x2dbd0f(0x240)](_0x2d464f),this['_themeService']['currentTheme$']])['pipe'](_0x133836['map'](([_0x3732f3,_0x1c129c])=>({'skeleton':_0x45ee95[_0x2dbd0f(0x203)](),'cursors':[..._0x3732f3[_0x2dbd0f(0x404)]()][_0x2dbd0f(0x371)](_0x5d5d66=>({..._0x5d5d66,'color':this[_0x2dbd0f(0x3a4)][_0x2dbd0f(0x2cc)](_0x5d5d66[_0x2dbd0f(0x484)])}))})))[_0x2dbd0f(0x2df)](_0x514295=>{const _0x387303=_0x2dbd0f;if(this[_0x387303(0x1b2)](),_0x514295){const {skeleton:_0x227cad,cursors:_0x417940}=_0x514295;this[_0x387303(0x322)](_0x227cad,_0x417940);}})),this[_0x2dbd0f(0x21b)](),this[_0x2dbd0f(0x1c0)]();}[_0x28c363(0x322)](_0x5d6ba8,_0x20b56f){const {scene:_0xe6a063,mainComponent:_0x255c53}=this['_context'],_0x55f02f=_0x20b56f['map'](_0x2af99f=>new _0x31a71a(_0x2af99f,_0xe6a063,_0x5d6ba8,_0x255c53));this['_cursorShapes']=_0x55f02f,this['_cursors']=_0x20b56f;}[_0x28c363(0x2dd)](){const _0x36834b=_0x28c363;this[_0x36834b(0x1b2)]();const {scene:_0x26fa78,mainComponent:_0x5c0365}=this['_context'],_0x58ab27=this[_0x36834b(0x2c5)][_0x36834b(0x203)](),_0x48d6a5=this['_cursors'][_0x36834b(0x269)](_0x283777=>new _0x31a71a(_0x283777,_0x26fa78,_0x58ab27,_0x5c0365));this['_cursorShapes']=_0x48d6a5;}['_removeCollabCursors'](){const _0x43f6a4=_0x28c363;this['_cursorShapes'][_0x43f6a4(0x385)](_0x317aa9=>_0x317aa9[_0x43f6a4(0x2fc)]()),this['_cursorShapes']=[];}[_0x28c363(0x1c0)](){const _0x50d655=_0x28c363,_0x3145e8=[_0x1bfa4c[_0x50d655(0x30f)]['id']];this['disposeWithMe'](this['_commandService'][_0x50d655(0x20a)](_0x48beaf=>{const _0x2855ad=_0x50d655;_0x3145e8[_0x2855ad(0x3e0)](_0x48beaf['id'])&&_0x48beaf['params'][_0x2855ad(0x39f)]===this[_0x2855ad(0x3d9)][_0x2855ad(0x39f)]&&this[_0x2855ad(0x2dd)]();}));}['_initResize'](){const _0x92a6a6=_0x28c363;this[_0x92a6a6(0x210)](_0x4ce188[_0x92a6a6(0x1df)](this[_0x92a6a6(0x3d9)]['engine']['onTransformChange$'])[_0x92a6a6(0x397)](_0x133836[_0x92a6a6(0x1c8)](_0x5d423a=>_0x5d423a[_0x92a6a6(0x372)]===_0xcd5ffc[_0x92a6a6(0x31c)][_0x92a6a6(0x3db)]),_0x133836[_0x92a6a6(0x486)](0x10))[_0x92a6a6(0x2df)](()=>{const _0x251a0d=_0x92a6a6;this[_0x251a0d(0x2dd)]();}));}};_0x2af2e0=_0x3959de([_0x5b9df3(0x1,_0x4ce188['Inject'](_0x4ebf52[_0x28c363(0x2f6)])),_0x5b9df3(0x2,_0x4ce188[_0x28c363(0x319)](_0x2a8919)),_0x5b9df3(0x3,_0x4ce188[_0x28c363(0x454)]),_0x5b9df3(0x4,_0x4ce188[_0x28c363(0x319)](_0x4ce188['ThemeService']))],_0x2af2e0);const _0x5a36fd=0x1,_0x1f5eaa=1.5;class _0x3b4e84 extends _0xcd5ffc[_0x28c363(0x339)]{constructor(_0x117445,_0x3a78d5){const _0x3e9009=_0x28c363;super(_0x117445,_0x3a78d5),_0x2002db(this,_0x3e9009(0x463)),_0x2002db(this,_0x3e9009(0x20c),!0x1),_0x2002db(this,_0x3e9009(0x305)),_0x2002db(this,'_name',''),_0x2002db(this,_0x3e9009(0x310),_0x3e9009(0x283)),_0x2002db(this,_0x3e9009(0x360)),(_0x3a78d5&&this[_0x3e9009(0x1e1)](_0x3a78d5),this[_0x3e9009(0x2cd)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x3e9009(0x1e1)]({'hovered':!0x1})));}[_0x28c363(0x1e1)](_0x26cf1b){const _0x512ff7=_0x28c363;var _0x50e1c8,_0x18c1c5,_0x4ee10b,_0x3284bf,_0xfbfb8f,_0x2b3919;this[_0x512ff7(0x463)]=(_0x50e1c8=_0x26cf1b[_0x512ff7(0x484)])!=null?_0x50e1c8:this[_0x512ff7(0x463)],this[_0x512ff7(0x20c)]=(_0x18c1c5=_0x26cf1b['hovered'])!=null?_0x18c1c5:this[_0x512ff7(0x20c)],this[_0x512ff7(0x305)]=(_0x4ee10b=_0x26cf1b['range'])!=null?_0x4ee10b:this[_0x512ff7(0x305)],this[_0x512ff7(0x329)]=(_0x3284bf=_0x26cf1b[_0x512ff7(0x429)])!=null?_0x3284bf:this['_name'],this[_0x512ff7(0x310)]=(_0xfbfb8f=_0x26cf1b['labelPosition'])!=null?_0xfbfb8f:this[_0x512ff7(0x310)],this[_0x512ff7(0x360)]=(_0x2b3919=_0x26cf1b[_0x512ff7(0x3f0)])!=null?_0x2b3919:this[_0x512ff7(0x360)],this[_0x512ff7(0x477)]({'width':_0x26cf1b[_0x512ff7(0x252)],'height':_0x26cf1b['height']});}[_0x28c363(0x388)](_0xa95640){const _0x2cf620=_0x28c363,{row:_0x17968f,column:_0x546f17}=_0xa95640;if(_0x17968f>=this[_0x2cf620(0x305)][_0x2cf620(0x1c9)]&&_0x17968f<=this[_0x2cf620(0x305)][_0x2cf620(0x2d5)]&&_0x546f17>=this[_0x2cf620(0x305)][_0x2cf620(0x3a5)]&&_0x546f17<=this[_0x2cf620(0x305)][_0x2cf620(0x318)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2cf620(0x1e1)]({'hovered':!0x1});}['triggerDblclick'](_0x35bae5){return!0x1;}[_0x28c363(0x32b)](_0x274a59){const _0x4c575e=_0x28c363;_0xcd5ffc[_0x4c575e(0x1b3)][_0x4c575e(0x420)](_0x274a59,{'width':this[_0x4c575e(0x252)],'height':this[_0x4c575e(0x1f4)],'strokeWidth':_0x1f5eaa,'stroke':this[_0x4c575e(0x463)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x4c575e(0x20c)]&&(_0x274a59[_0x4c575e(0x317)](),_0x274a59['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x4c575e(0x310)]===_0x4c575e(0x358)?0x0:-_0x25350b),_0x37a2c3[_0x4c575e(0x420)](_0x274a59,{'text':this[_0x4c575e(0x329)],'color':this[_0x4c575e(0x463)]}),_0x274a59[_0x4c575e(0x2c6)]());}}var _0x217aa0=Object['getOwnPropertyDescriptor'],_0x49f790=(_0x1eaad8,_0x4e88b0,_0x4547c8,_0x566d6c)=>{const _0x160819=_0x28c363;for(var _0x197c7a=_0x566d6c>0x1?void 0x0:_0x566d6c?_0x217aa0(_0x4e88b0,_0x4547c8):_0x4e88b0,_0x41a7a9=_0x1eaad8[_0x160819(0x3e9)]-0x1,_0x582120;_0x41a7a9>=0x0;_0x41a7a9--)(_0x582120=_0x1eaad8[_0x41a7a9])&&(_0x197c7a=_0x582120(_0x197c7a)||_0x197c7a);return _0x197c7a;},_0x43a142=(_0x2c592e,_0x4cfdbc)=>(_0x4ce25d,_0xc0e152)=>_0x4cfdbc(_0x4ce25d,_0xc0e152,_0x2c592e);const _0xbb2a9a=0x1389;let _0x5dc1d7=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0x534551,_0x3ffbcd,_0x2fd374,_0x6c2312){const _0x438668=_0x28c363;super(),_0x2002db(this,_0x438668(0x374),new Set()),_0x2002db(this,'_lastPointer',null),(this[_0x438668(0x3d9)]=_0x534551,this[_0x438668(0x34c)]=_0x3ffbcd,this[_0x438668(0x27a)]=_0x2fd374,this[_0x438668(0x3a4)]=_0x6c2312,this[_0x438668(0x304)]());}['_init'](){const _0x4a31ac=_0x28c363;this[_0x4a31ac(0x34c)][_0x4a31ac(0x408)]['pipe'](_0x133836[_0x4a31ac(0x20b)](this[_0x4a31ac(0x1fa)]),_0x133836[_0x4a31ac(0x2e4)](_0x2d4196=>{const _0x363ba7=_0x4a31ac;if(_0x2d4196){const _0x5450cf=_0x2d4196[_0x363ba7(0x29b)];return _0x4d6cca['combineLatest'](this[_0x363ba7(0x27a)][_0x363ba7(0x240)](this[_0x363ba7(0x3d9)][_0x363ba7(0x39f)]),this['_themeService'][_0x363ba7(0x251)])[_0x363ba7(0x397)](_0x133836[_0x363ba7(0x269)](([_0x348001,_0x304e41])=>{const _0xc93c2f=_0x363ba7,_0x3776e7=new Map();return _0x348001[_0xc93c2f(0x385)]((_0x1a853,_0x2c4ccf)=>{const _0x46080a=_0xc93c2f;if(_0x1a853[_0x46080a(0x3be)]===_0x5450cf){const _0x266627={..._0x1a853};_0x266627['color']=this[_0x46080a(0x3a4)][_0x46080a(0x2cc)](_0x1a853[_0x46080a(0x484)]),_0x3776e7[_0x46080a(0x306)](_0x2c4ccf,_0x266627);}}),{'skeleton':_0x2d4196,'cursors':_0x3776e7};}));}return _0x4d6cca['of']({'skeleton':null,'cursors':new Map()});}))[_0x4a31ac(0x2df)](({skeleton:_0x190896,cursors:_0x3cfb88})=>{const _0x2d6fd5=_0x4a31ac;this['_removeCollabCursors'](),_0x190896&&this[_0x2d6fd5(0x322)](_0x190896,_0x3cfb88);}),this[_0x4a31ac(0x34c)][_0x4a31ac(0x408)]['subscribe'](_0x2eb0ac=>{const _0x363916=_0x4a31ac;if(_0x2eb0ac==null)return;const {skeleton:_0x28a440}=_0x2eb0ac,{scene:_0x4524fd}=this[_0x363916(0x3d9)];_0x4524fd[_0x363916(0x285)][_0x363916(0x292)](_0x4ce188['debounce'](_0x5126a5=>{const _0x976817=_0x363916;var _0x18c2d3,_0x47e984;const {offsetX:_0x4aa8f9,offsetY:_0x47dd30}=_0x5126a5,{x:_0x1dcd18,y:_0x19dd7a}=_0x4524fd[_0x976817(0x1bc)](_0xcd5ffc[_0x976817(0x487)][_0x976817(0x378)]([_0x4aa8f9,_0x47dd30])),{scaleX:_0x1397cb,scaleY:_0x2cb98c}=_0x4524fd['getAncestorScale'](),_0x145080=_0x4524fd[_0x976817(0x340)](_0xcd5ffc['SHEET_VIEWPORT_KEY'][_0x976817(0x1f0)]),_0x3cceca=_0x4524fd[_0x976817(0x344)](_0xcd5ffc['Vector2']['FromArray']([_0x1dcd18,_0x19dd7a]),_0x145080),_0x586a11=_0x28a440[_0x976817(0x1f9)](_0x4aa8f9,_0x47dd30,_0x1397cb,_0x2cb98c,_0x3cceca);((_0x18c2d3=this[_0x976817(0x3f7)])==null?void 0x0:_0x18c2d3[_0x976817(0x468)])===_0x586a11[_0x976817(0x468)]&&((_0x47e984=this['_lastPointer'])==null?void 0x0:_0x47e984[_0x976817(0x1a2)])===_0x586a11[_0x976817(0x1a2)]||this[_0x976817(0x374)][_0x976817(0x385)](_0x2d0c93=>{const _0x371bb9=_0x976817;_0x2d0c93[_0x371bb9(0x388)](_0x586a11);});},0x64));});}[_0x28c363(0x322)](_0x118269,_0x272f32){const _0x1055f5=_0x28c363;var _0x1b8da1;const _0x58c3fb=(_0x1b8da1=this[_0x1055f5(0x34c)][_0x1055f5(0x2a2)]())==null?void 0x0:_0x1b8da1[_0x1055f5(0x1f3)];if(!_0x58c3fb)return;const _0x46c10a=this[_0x1055f5(0x286)]();if(!_0x46c10a)return;this[_0x1055f5(0x374)][_0x1055f5(0x385)](_0x3980b1=>{const _0x39a1e5=_0x1055f5;_0x3980b1[_0x39a1e5(0x1f7)]();});const {scene:_0x3363f6}=_0x46c10a,_0x1ef196=_0x1196c0(Array[_0x1055f5(0x441)](_0x272f32[_0x1055f5(0x404)]()))[_0x1055f5(0x269)](_0xda8c78=>{const _0x56ee3c=_0x1055f5,{color:_0x483e61,range:_0x47ea98,name:_0x41d95d,selection:_0x1971f0,sheetID:_0x3ad2c6}=_0xda8c78,{startColumn:_0x4f8249,startRow:_0x5806a0,endColumn:_0x2ee70d,endRow:_0x4f4a11}=_0x47ea98,_0x37d006=_0x406458[_0x56ee3c(0x23d)](_0x5806a0,_0x4f8249,_0x3363f6,_0x58c3fb),_0x58d85d=_0x406458['getCoordByCell'](_0x4f4a11,_0x2ee70d,_0x3363f6,_0x58c3fb),{columnHeaderHeightAndMarginTop:_0x10dafe}=_0x58c3fb,{startX:_0x2ba513,startY:_0x75fd84}=_0x37d006,{endX:_0x68c066,endY:_0x4578d6}=_0x58d85d,_0x53395c=_0x68c066-_0x2ba513,_0x2d13c7=_0x4578d6-_0x75fd84,_0x15738a={'labelPosition':_0x75fd84-_0x10dafe>=_0x25350b?_0x56ee3c(0x283):_0x56ee3c(0x358),'sheetID':_0x3ad2c6,'range':_0x47ea98,'color':_0x483e61,'name':_0x41d95d,'selection':_0x1971f0,'left':_0x2ba513,'top':_0x75fd84,'width':_0x53395c,'height':_0x2d13c7,'evented':!0x1,'zIndex':_0xbb2a9a};return new _0x3b4e84(_0x41d95d,_0x15738a);});_0x3363f6[_0x1055f5(0x3a9)](_0x1ef196,_0x5a36fd),this[_0x1055f5(0x374)]=new Set(_0x1ef196);}[_0x28c363(0x1b2)](){const _0x4e457a=_0x28c363;var _0x4b1770;(_0x4b1770=this[_0x4e457a(0x374)])==null||_0x4b1770[_0x4e457a(0x385)](_0x580fb2=>_0x580fb2['dispose']());}[_0x28c363(0x286)](){const _0x348945=_0x28c363;return _0x406458[_0x348945(0x239)](this[_0x348945(0x3d9)][_0x348945(0x1da)],this[_0x348945(0x3d9)]);}};_0x5dc1d7=_0x49f790([_0x43a142(0x1,_0x4ce188[_0x28c363(0x319)](_0x406458[_0x28c363(0x214)])),_0x43a142(0x2,_0x4ce188[_0x28c363(0x319)](_0x2a8919)),_0x43a142(0x3,_0x4ce188['Inject'](_0x4ce188[_0x28c363(0x342)]))],_0x5dc1d7);function _0x1196c0(_0x40c22d){const _0x2f317c=_0x28c363,_0x89313e=new Map();return _0x40c22d[_0x2f317c(0x385)](_0x40906f=>{const _0x4b56a5=_0x2f317c;if(_0x89313e[_0x4b56a5(0x320)](_0x40906f['selection'])){const _0x39c44a=_0x89313e[_0x4b56a5(0x314)](_0x40906f[_0x4b56a5(0x359)]);_0x39c44a['name']+=',\x20'+_0x40906f[_0x4b56a5(0x429)];}else _0x89313e['set'](_0x40906f[_0x4b56a5(0x359)],_0x40906f);}),Array['from'](_0x89313e['values']());}var _0x2ea302=Object[_0x28c363(0x328)],_0x33897b=(_0x49aa6e,_0x3e72d6,_0x3b5876,_0x2581bc)=>{const _0x5875d4=_0x28c363;for(var _0x41cca1=_0x2581bc>0x1?void 0x0:_0x2581bc?_0x2ea302(_0x3e72d6,_0x3b5876):_0x3e72d6,_0x4fb4a0=_0x49aa6e[_0x5875d4(0x3e9)]-0x1,_0x18d7ca;_0x4fb4a0>=0x0;_0x4fb4a0--)(_0x18d7ca=_0x49aa6e[_0x4fb4a0])&&(_0x41cca1=_0x18d7ca(_0x41cca1)||_0x41cca1);return _0x41cca1;},_0x332728=(_0x19011a,_0x8ad69f)=>(_0xe15c4e,_0x4413ed)=>_0x8ad69f(_0xe15c4e,_0x4413ed,_0x19011a);let _0x35c423=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x15e0fb,_0x3f4095,_0x4e1f47,_0x24b09c,_0x5a5dac,_0x37a2b6){const _0x5cd3c3=_0x28c363;super(),this['_beforeCloseService']=_0x15e0fb,this[_0x5cd3c3(0x28c)]=_0x3f4095,this[_0x5cd3c3(0x224)]=_0x4e1f47,this[_0x5cd3c3(0x22f)]=_0x24b09c,this[_0x5cd3c3(0x1d4)]=_0x5a5dac,this[_0x5cd3c3(0x1a0)]=_0x37a2b6,this[_0x5cd3c3(0x3b8)](),this[_0x5cd3c3(0x250)]();}['_setupBeforeClosingHandler'](){const _0x2c38b6=_0x28c363;this[_0x2c38b6(0x210)](this[_0x2c38b6(0x450)]['registerBeforeClose'](()=>{const _0x2df508=_0x2c38b6;if(this[_0x2df508(0x28c)]['saveTaskMap'][_0x2df508(0x1fe)])return this[_0x2df508(0x1a0)]['t'](_0x2df508(0x2b2));}));}['_initEvent'](){const _0x5a68ff=_0x28c363;this['disposeWithMe'](this[_0x5a68ff(0x224)]['event$'][_0x5a68ff(0x2df)](_0x25ecb5=>{const _0x3cac16=_0x5a68ff;_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x416)]&&this[_0x3cac16(0x22f)][_0x3cac16(0x273)]({'type':_0x523600[_0x3cac16(0x3c7)]['Warning'],'content':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x36b))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x20d)]&&this[_0x3cac16(0x22f)][_0x3cac16(0x273)]({'type':_0x523600[_0x3cac16(0x3c7)]['Warning'],'content':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x365))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)]['PERMISSION_DENIED']&&this['_notificationService'][_0x3cac16(0x273)]({'title':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x366)),'content':this[_0x3cac16(0x1a0)]['t']('permission.content'),'type':'error','duration':0x0}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x28e)]&&this[_0x3cac16(0x22f)]['show']({'type':_0x523600[_0x3cac16(0x3c7)][_0x3cac16(0x1ad)],'content':this[_0x3cac16(0x1a0)]['t']('collaboration.closeRoom')+'('+_0x25ecb5[_0x3cac16(0x3ad)]+')'}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x3c1)]&&this['_messageService'][_0x3cac16(0x273)]({'type':_0x523600['MessageType'][_0x3cac16(0x437)],'content':this[_0x3cac16(0x1a0)]['t'](_0x25ecb5[_0x3cac16(0x3ad)]||'')}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x303)]&&this[_0x3cac16(0x22f)]['show']({'type':_0x523600[_0x3cac16(0x3c7)]['Warning'],'content':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x1a7))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)]['SOCKET_FAILED']&&this['_messageService'][_0x3cac16(0x273)]({'type':_0x523600['MessageType'][_0x3cac16(0x1ad)],'content':this['_localeService']['t'](_0x3cac16(0x34d))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x1ff)]&&this['_messageService'][_0x3cac16(0x273)]({'type':_0x523600['MessageType'][_0x3cac16(0x1ad)],'content':this['_localeService']['t'](_0x3cac16(0x3ab))});}));}};_0x35c423=_0x33897b([_0x332728(0x0,_0x577183[_0x28c363(0x46d)]),_0x332728(0x1,_0x463ba0['ILocalCacheService']),_0x332728(0x2,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x2c4)])),_0x332728(0x3,_0x577183[_0x28c363(0x2ca)]),_0x332728(0x4,_0x577183['INotificationService']),_0x332728(0x5,_0x4ce188[_0x28c363(0x319)](_0x4ce188['LocaleService']))],_0x35c423);var _0x335ea8=Object['getOwnPropertyDescriptor'],_0x2c939f=(_0x457298,_0x26bd49,_0x461e62,_0x2f34c3)=>{const _0x3d3520=_0x28c363;for(var _0x20fc9d=_0x2f34c3>0x1?void 0x0:_0x2f34c3?_0x335ea8(_0x26bd49,_0x461e62):_0x26bd49,_0x14377f=_0x457298[_0x3d3520(0x3e9)]-0x1,_0x42485b;_0x14377f>=0x0;_0x14377f--)(_0x42485b=_0x457298[_0x14377f])&&(_0x20fc9d=_0x42485b(_0x20fc9d)||_0x20fc9d);return _0x20fc9d;},_0xf6f714=(_0x18186c,_0x3614d5)=>(_0x465589,_0x53fd3e)=>_0x3614d5(_0x465589,_0x53fd3e,_0x18186c);let _0x1e2184=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x2eb5ff,_0x2e2b69,_0x1e770e,_0x180ada){const _0x1dc2b3=_0x28c363;super(),_0x2002db(this,_0x1dc2b3(0x43d)),(this[_0x1dc2b3(0x1d6)]=_0x2eb5ff,this[_0x1dc2b3(0x417)]=_0x2e2b69,this[_0x1dc2b3(0x3ff)]=_0x1e770e,this['_collaborationSessionService']=_0x180ada,this[_0x1dc2b3(0x304)]());}[_0x28c363(0x304)](){const _0x54579d=_0x28c363;this[_0x54579d(0x1a1)](),this[_0x54579d(0x1cf)](),this[_0x54579d(0x2c7)](),this['_initUserListener']();}['_initUserListener'](){const _0x37a7b3=_0x28c363;this[_0x37a7b3(0x210)](this[_0x37a7b3(0x245)]['socket$'][_0x37a7b3(0x2df)](_0x1a48cd=>{const _0x28ddb8=_0x37a7b3;this[_0x28ddb8(0x43d)]=_0x1a48cd==null?void 0x0:_0x1a48cd['memberID'];}));}[_0x28c363(0x1a1)](){const _0x26a18a=_0x28c363,_0x4a5457=_0x19b7ec=>{const _0x5a8b0f=_0x2163;var _0x3d0071;this[_0x5a8b0f(0x32d)]('error',_0x5a8b0f(0x3d4)+_0x19b7ec[_0x5a8b0f(0x382)]+'\x20at\x20'+_0x19b7ec['filename']+':'+_0x19b7ec[_0x5a8b0f(0x299)]+':'+_0x19b7ec[_0x5a8b0f(0x432)]+'\x0a'+(((_0x3d0071=_0x19b7ec['error'])==null?void 0x0:_0x3d0071['stack'])||''));};window['addEventListener'](_0x26a18a(0x230),_0x4a5457),this[_0x26a18a(0x210)](()=>{const _0x2be5fa=_0x26a18a;window[_0x2be5fa(0x21f)](_0x2be5fa(0x230),_0x4a5457);});}[_0x28c363(0x1cf)](){const _0x173889=_0x28c363,_0xcc4cea=_0x598551=>{const _0x284ea4=_0x2163;this['_uploadLog'](_0x284ea4(0x230),_0x284ea4(0x343)+_0x598551[_0x284ea4(0x2ad)]);};window[_0x173889(0x38e)]('unhandledrejection',_0xcc4cea),this['disposeWithMe'](()=>{const _0x38cb66=_0x173889;window['removeEventListener'](_0x38cb66(0x1eb),_0xcc4cea);});}[_0x28c363(0x2c7)](){const _0x22254a=_0x28c363,_0x789511=this[_0x22254a(0x3ff)]['error']['bind'](this[_0x22254a(0x3ff)]);this[_0x22254a(0x3ff)][_0x22254a(0x230)]=(..._0x3b2961)=>{const _0xe01bbc=_0x22254a,_0x3bd8f5=_0x3b2961[_0xe01bbc(0x269)](_0x182880=>_0x182880 instanceof Error?_0x182880['message']+'\x0a'+_0x182880[_0xe01bbc(0x26d)]:String(_0x182880))[_0xe01bbc(0x41e)]('\x20');this[_0xe01bbc(0x32d)](_0xe01bbc(0x230),_0xe01bbc(0x199)+_0x3bd8f5),_0x789511(..._0x3b2961);},this[_0x22254a(0x210)](()=>{this['_logService']['error']=_0x789511;});}[_0x28c363(0x32d)](_0x4bc78c,_0x35b9ad){const _0x38e5ca=_0x28c363;try{const _0x10b86c={'userId':this[_0x38e5ca(0x43d)],'logLabel':_0x4bc78c,'content':_0x35b9ad};this[_0x38e5ca(0x417)][_0x38e5ca(0x452)](_0x38e5ca(0x31d),{'body':_0x10b86c})[_0x38e5ca(0x297)](()=>{});}catch{}}};_0x1e2184=_0x2c939f([_0xf6f714(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0xf6f714(0x1,_0x4ce188[_0x28c363(0x319)](_0x1d4876[_0x28c363(0x461)])),_0xf6f714(0x2,_0x4ce188[_0x28c363(0x367)]),_0xf6f714(0x3,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x2cb)]))],_0x1e2184);const _0xe3ab6a='collaboration-client-ui.config',_0x52a5e9={};var _0x5e70d4=Object[_0x28c363(0x328)],_0x27fb5d=(_0x2cd688,_0x56ce52,_0x38bf32,_0x2e945b)=>{for(var _0x408ae4=_0x2e945b>0x1?void 0x0:_0x2e945b?_0x5e70d4(_0x56ce52,_0x38bf32):_0x56ce52,_0x240617=_0x2cd688['length']-0x1,_0x3b06db;_0x240617>=0x0;_0x240617--)(_0x3b06db=_0x2cd688[_0x240617])&&(_0x408ae4=_0x3b06db(_0x408ae4)||_0x408ae4);return _0x408ae4;},_0x46a373=(_0x361cba,_0x22cf5a)=>(_0x422509,_0x307d3d)=>_0x22cf5a(_0x422509,_0x307d3d,_0x361cba);let _0x4289c1=class{constructor(_0x4614b6,_0x558670){const _0x2dea37=_0x28c363;this[_0x2dea37(0x1ea)]=_0x4614b6,this[_0x2dea37(0x1e9)]=_0x558670;}[_0x28c363(0x311)](_0x1194d3){const _0xfe5922=_0x28c363;this[_0xfe5922(0x20f)](_0x1194d3),this[_0xfe5922(0x41f)](_0x1194d3);}[_0x28c363(0x23b)](_0x4f6b93){const _0x476efc=_0x28c363,{unitID:_0x540f0e}=_0x4f6b93,_0x4e2750=this[_0x476efc(0x1e9)][_0x476efc(0x37d)](_0x540f0e)[_0x476efc(0x2fe)](_0x1bfa4c[_0x476efc(0x2bc)]),{redoCache:_0xc70c08}=_0x4e2750[_0x476efc(0x3ae)]();if(_0xc70c08[_0x476efc(0x3e9)]===0x0)return _0x4f6b93;let _0x4b5e8c=_0x4ce188[_0x476efc(0x375)][_0x476efc(0x47a)](_0x4f6b93[_0x476efc(0x228)][0x0]);for(let _0x2f56cb=0x0;_0x2f56cb<_0xc70c08[_0x476efc(0x3e9)];_0x2f56cb++){const _0x2bbf06={'id':_0x476efc(0x1fd),'params':{..._0xc70c08[_0x2f56cb]}},_0xf9ac89=this[_0x476efc(0x1ea)][_0x476efc(0x3af)](_0x4b5e8c,_0x2bbf06,!0x1);if(_0x5f3c3e['isTransformMutationFailure'](_0xf9ac89))throw _0xf9ac89[_0x476efc(0x230)];_0x4b5e8c=_0xf9ac89[_0x476efc(0x406)];}return{..._0x4ce188[_0x476efc(0x375)][_0x476efc(0x47a)](_0x4f6b93),'mutations':[_0x4b5e8c]};}[_0x28c363(0x20f)](_0x7d8ceb){const _0x29b51d=_0x28c363,{unitID:_0x1c9dd8}=_0x7d8ceb,_0x3a6c21=this['_renderManagerService'][_0x29b51d(0x37d)](_0x1c9dd8)[_0x29b51d(0x2fe)](_0x1bfa4c[_0x29b51d(0x2bc)]),{undoCache:_0x3cf122,redoCache:_0x1b572b}=_0x3a6c21[_0x29b51d(0x3ae)]();if(_0x3cf122[_0x29b51d(0x3e9)]===0x0||_0x1b572b[_0x29b51d(0x3e9)]===0x0)return;const _0x2d529a=[],_0x4568c8=[];let _0x8a0de9=_0x4ce188[_0x29b51d(0x375)][_0x29b51d(0x47a)](_0x7d8ceb[_0x29b51d(0x228)][0x0]),_0x465418=_0x4ce188['Tools'][_0x29b51d(0x47a)](_0x7d8ceb[_0x29b51d(0x228)][0x0]);for(let _0x865aa4=_0x3cf122['length']-0x1;_0x865aa4>=0x0;_0x865aa4--){const _0x54d896={'id':'doc.mutation.rich-text-editing','params':{..._0x3cf122[_0x865aa4]}},_0x39c8a9={'id':'doc.mutation.rich-text-editing','params':{..._0x1b572b[_0x865aa4]}},_0x16d0b6=this[_0x29b51d(0x1ea)][_0x29b51d(0x3af)](_0x8a0de9,_0x54d896,!0x1),_0x4a1d99=this[_0x29b51d(0x1ea)][_0x29b51d(0x3af)](_0x465418,_0x39c8a9,!0x1);if(_0x5f3c3e[_0x29b51d(0x23c)](_0x16d0b6))throw _0x16d0b6[_0x29b51d(0x230)];if(_0x5f3c3e[_0x29b51d(0x23c)](_0x4a1d99))throw _0x4a1d99[_0x29b51d(0x230)];_0x2d529a[_0x29b51d(0x1cd)](_0x16d0b6[_0x29b51d(0x27e)][_0x29b51d(0x321)]),_0x4568c8['unshift'](_0x4a1d99[_0x29b51d(0x27e)][_0x29b51d(0x321)]),_0x8a0de9=_0x16d0b6[_0x29b51d(0x406)],_0x465418=_0x4a1d99[_0x29b51d(0x406)];}_0x3a6c21[_0x29b51d(0x2e7)]({'undoCache':_0x2d529a,'redoCache':_0x4568c8});}[_0x28c363(0x41f)](_0x8d0e9){const _0x2c870b=_0x28c363,{unitID:_0x29ed12}=_0x8d0e9,_0x1f4b39=this[_0x2c870b(0x1e9)][_0x2c870b(0x37d)](_0x29ed12)[_0x2c870b(0x2fe)](_0x1bfa4c[_0x2c870b(0x2bc)]),_0x4cd0e1=_0x1f4b39['getActiveRange']();if(_0x4cd0e1==null)return;const _0x28af32=[{'id':_0x2c870b(0x1fd),'params':{'unitId':_0x8d0e9['unitID'],'actions':null,'textRanges':[_0x4cd0e1]}}],_0x66061e=this[_0x2c870b(0x1ea)][_0x2c870b(0x3b4)](_0x8d0e9,_0x28af32);if(!_0x5f3c3e[_0x2c870b(0x3aa)](_0x66061e))throw _0x66061e[_0x2c870b(0x230)];const _0x3e87ba=_0x66061e[_0x2c870b(0x27e)][0x0][_0x2c870b(0x321)]['textRanges'];Array[_0x2c870b(0x2f3)](_0x3e87ba)&&_0x3e87ba[_0x2c870b(0x3e9)]&&_0x1f4b39[_0x2c870b(0x2a0)](_0x3e87ba[0x0]);}};_0x4289c1=_0x27fb5d([_0x46a373(0x0,_0x5f3c3e[_0x28c363(0x1db)]),_0x46a373(0x1,_0xcd5ffc[_0x28c363(0x2e5)])],_0x4289c1);var _0x442d7b=Object[_0x28c363(0x328)],_0x2fa2f5=(_0x23be53,_0xa9b661,_0x5afbf1,_0x193aee)=>{const _0x1e3892=_0x28c363;for(var _0x2d054c=_0x193aee>0x1?void 0x0:_0x193aee?_0x442d7b(_0xa9b661,_0x5afbf1):_0xa9b661,_0x85fef9=_0x23be53[_0x1e3892(0x3e9)]-0x1,_0x56285f;_0x85fef9>=0x0;_0x85fef9--)(_0x56285f=_0x23be53[_0x85fef9])&&(_0x2d054c=_0x56285f(_0x2d054c)||_0x2d054c);return _0x2d054c;},_0x36bae0=(_0x486050,_0x2e05e5)=>(_0x12ffb6,_0x29ce72)=>_0x2e05e5(_0x12ffb6,_0x29ce72,_0x486050);let _0x3f4111=class{constructor(_0x4f316d,_0x342249,_0x4fc20a){const _0x20cbc2=_0x28c363;this[_0x20cbc2(0x1d6)]=_0x4f316d,this[_0x20cbc2(0x1ea)]=_0x342249,this[_0x20cbc2(0x31a)]=_0x4fc20a;}[_0x28c363(0x21a)](_0xe5e418){const _0x55d963=_0x28c363;this[_0x55d963(0x2ae)](_0xe5e418);}[_0x28c363(0x23b)](_0x26c948){const _0x259b28=_0x28c363,{unitID:_0x4faccd}=_0x26c948,{collaboration:_0x328a5b}=this[_0x259b28(0x31a)][_0x259b28(0x21c)](_0x4faccd);if(_0x328a5b['length']===0x0)return _0x26c948;let _0x461576=_0x4ce188[_0x259b28(0x375)][_0x259b28(0x47a)](_0x26c948[_0x259b28(0x228)][0x0]);for(let _0x464a72=0x0;_0x464a72<_0x328a5b[_0x259b28(0x3e9)];_0x464a72++){const _0x64eec6={'id':_0x259b28(0x1fd),'params':{'unitId':_0x328a5b[_0x464a72]['unitId'],..._0x328a5b[_0x464a72]['redoState']}},_0x19fe91=this[_0x259b28(0x1ea)][_0x259b28(0x3af)](_0x461576,_0x64eec6,!0x1);if(_0x5f3c3e[_0x259b28(0x23c)](_0x19fe91))throw _0x19fe91[_0x259b28(0x230)];_0x461576=_0x19fe91[_0x259b28(0x406)];}return{..._0x4ce188[_0x259b28(0x375)][_0x259b28(0x47a)](_0x26c948),'mutations':[_0x461576]};}['_transformHistoryAndStateStack'](_0x1bae99){const _0x48c9a2=_0x28c363,{unitID:_0x308d36}=_0x1bae99,{history:_0x4d6004,collaboration:_0x331df3}=this[_0x48c9a2(0x31a)][_0x48c9a2(0x21c)](_0x308d36);if(_0x4d6004[_0x48c9a2(0x3e9)]===0x0&&_0x331df3['length']===0x0)return;const _0xa8034a=[],_0xb0c0a4=[];let _0x252e71=_0x4ce188[_0x48c9a2(0x375)][_0x48c9a2(0x47a)](_0x1bae99[_0x48c9a2(0x228)][0x0]),_0x18a739=_0x4ce188[_0x48c9a2(0x375)]['deepClone'](_0x1bae99['mutations'][0x0]);for(let _0x5f23ef=_0x4d6004['length']-0x1;_0x5f23ef>=0x0;_0x5f23ef--){const _0x37fabe={'id':_0x48c9a2(0x1fd),'params':{'unitId':_0x4d6004[_0x5f23ef][_0x48c9a2(0x39f)],..._0x4d6004[_0x5f23ef]['undoState']}},_0x337165={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d6004[_0x5f23ef][_0x48c9a2(0x39f)],..._0x4d6004[_0x5f23ef]['redoState']}},_0x4a9ac6=this['_transformService'][_0x48c9a2(0x3af)](_0x252e71,_0x37fabe,!0x1),_0x65b439=this[_0x48c9a2(0x1ea)][_0x48c9a2(0x3af)](_0x18a739,_0x337165,!0x1);if(_0x5f3c3e['isTransformMutationFailure'](_0x4a9ac6))throw _0x4a9ac6[_0x48c9a2(0x230)];if(_0x5f3c3e[_0x48c9a2(0x23c)](_0x65b439))throw _0x65b439[_0x48c9a2(0x230)];_0xa8034a[_0x48c9a2(0x1cd)]({..._0x4d6004[_0x5f23ef],'undoState':_0x4a9ac6[_0x48c9a2(0x27e)][_0x48c9a2(0x321)],'redoState':_0x65b439[_0x48c9a2(0x27e)]['params']}),_0x252e71=_0x4a9ac6[_0x48c9a2(0x406)],_0x18a739=_0x65b439['m1Prime'];}_0x252e71=_0x4ce188[_0x48c9a2(0x375)][_0x48c9a2(0x47a)](_0x1bae99[_0x48c9a2(0x228)][0x0]),_0x18a739=_0x4ce188['Tools'][_0x48c9a2(0x47a)](_0x1bae99[_0x48c9a2(0x228)][0x0]);for(let _0x2665ad=_0x331df3[_0x48c9a2(0x3e9)]-0x1;_0x2665ad>=0x0;_0x2665ad--){const _0x4c4e42={'id':_0x48c9a2(0x1fd),'params':{'unitId':_0x331df3[_0x2665ad][_0x48c9a2(0x39f)],..._0x331df3[_0x2665ad]['undoState']}},_0x2c6dee={'id':_0x48c9a2(0x1fd),'params':{'unitId':_0x331df3[_0x2665ad][_0x48c9a2(0x39f)],..._0x331df3[_0x2665ad][_0x48c9a2(0x449)]}},_0x1a563f=this[_0x48c9a2(0x1ea)][_0x48c9a2(0x3af)](_0x252e71,_0x4c4e42,!0x1),_0x2ec2c2=this['_transformService'][_0x48c9a2(0x3af)](_0x18a739,_0x2c6dee,!0x1);if(_0x5f3c3e[_0x48c9a2(0x23c)](_0x1a563f))throw _0x1a563f[_0x48c9a2(0x230)];if(_0x5f3c3e[_0x48c9a2(0x23c)](_0x2ec2c2))throw _0x2ec2c2[_0x48c9a2(0x230)];_0xb0c0a4[_0x48c9a2(0x1cd)]({..._0x331df3[_0x2665ad],'undoState':_0x1a563f[_0x48c9a2(0x27e)][_0x48c9a2(0x321)],'redoState':_0x2ec2c2[_0x48c9a2(0x27e)][_0x48c9a2(0x321)]}),_0x252e71=_0x1a563f[_0x48c9a2(0x406)],_0x18a739=_0x2ec2c2[_0x48c9a2(0x406)];}this[_0x48c9a2(0x31a)][_0x48c9a2(0x1a5)](_0x308d36,{'history':_0xa8034a,'collaboration':_0xb0c0a4});}};_0x3f4111=_0x2fa2f5([_0x36bae0(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x36bae0(0x1,_0x5f3c3e[_0x28c363(0x1db)]),_0x36bae0(0x2,_0x4ce188[_0x28c363(0x319)](_0x1bfa4c[_0x28c363(0x35e)]))],_0x3f4111);var _0x4384bd=Object['getOwnPropertyDescriptor'],_0x1ad86c=(_0x3baaaa,_0x1a9350,_0x38bcac,_0x2fdcd4)=>{const _0x2cef2f=_0x28c363;for(var _0x4409fa=_0x2fdcd4>0x1?void 0x0:_0x2fdcd4?_0x4384bd(_0x1a9350,_0x38bcac):_0x1a9350,_0x54a7e1=_0x3baaaa[_0x2cef2f(0x3e9)]-0x1,_0x18e167;_0x54a7e1>=0x0;_0x54a7e1--)(_0x18e167=_0x3baaaa[_0x54a7e1])&&(_0x4409fa=_0x18e167(_0x4409fa)||_0x4409fa);return _0x4409fa;},_0x4ff607=(_0x570c93,_0x25614f)=>(_0x422599,_0x565ae2)=>_0x25614f(_0x422599,_0x565ae2,_0x570c93);let _0x2c9efa=class{constructor(_0x47cef0,_0x4904b0){const _0x37e54b=_0x28c363;this['_injector']=_0x47cef0,this[_0x37e54b(0x1ea)]=_0x4904b0;}[_0x28c363(0x22c)](_0x471289){const _0x1f4051=_0x28c363;var _0x585999;const _0x353468=this[_0x1f4051(0x1d6)]['get'](_0x4ebf52['DocSelectionManagerService']),_0x48248f=(_0x585999=_0x353468[_0x1f4051(0x410)]())!=null?_0x585999:[];if(_0x48248f[_0x1f4051(0x3e9)]===0x0)return;const _0x5c0416=_0x471289[_0x1f4051(0x3dc)],_0x341e98=[{'id':_0x1f4051(0x1fd),'params':{'unitId':_0x5c0416,'actions':null,'textRanges':_0x48248f}}],_0x2d4176=this['_transformService'][_0x1f4051(0x3b4)](_0x471289,_0x341e98);if(!_0x5f3c3e['isTransformMutationsWithChangesetSuccess'](_0x2d4176))throw _0x2d4176[_0x1f4051(0x230)];const _0x16372e=_0x2d4176[_0x1f4051(0x27e)][0x0]['params'][_0x1f4051(0x3c3)];Array[_0x1f4051(0x2f3)](_0x16372e)&&_0x16372e[_0x1f4051(0x3e9)]&&_0x353468[_0x1f4051(0x247)](_0x16372e,{'unitId':_0x5c0416,'subUnitId':_0x5c0416},!0x1);}};_0x2c9efa=_0x1ad86c([_0x4ff607(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188['Injector'])),_0x4ff607(0x1,_0x5f3c3e[_0x28c363(0x1db)])],_0x2c9efa);var _0x5c24d0=Object['getOwnPropertyDescriptor'],_0x254394=(_0x3f19f5,_0x39da72,_0x3b6122,_0x516bca)=>{for(var _0xc079f6=_0x516bca>0x1?void 0x0:_0x516bca?_0x5c24d0(_0x39da72,_0x3b6122):_0x39da72,_0x28e9d3=_0x3f19f5['length']-0x1,_0x1e20e8;_0x28e9d3>=0x0;_0x28e9d3--)(_0x1e20e8=_0x3f19f5[_0x28e9d3])&&(_0xc079f6=_0x1e20e8(_0xc079f6)||_0xc079f6);return _0xc079f6;},_0x3ad6aa=(_0x3db62f,_0x9c589d)=>(_0x2f6540,_0x54720f)=>_0x9c589d(_0x2f6540,_0x54720f,_0x3db62f);let _0x4613c6=class extends _0x4ce188['Disposable']{constructor(_0x4a284d,_0x41ae42,_0x11c266,_0x1a102a,_0x4f5e98,_0x51652c,_0x5c052e,_0x1e5f4d){const _0x2006d6=_0x28c363;super(),_0x2002db(this,_0x2006d6(0x2c0),new _0x4d6cca['BehaviorSubject'](_0x463ba0[_0x2006d6(0x3b7)][_0x2006d6(0x3c4)])),(this[_0x2006d6(0x31a)]=_0x4a284d,this[_0x2006d6(0x24c)]=_0x41ae42,this[_0x2006d6(0x35a)]=_0x11c266,this[_0x2006d6(0x34f)]=_0x1a102a,this[_0x2006d6(0x1d3)]=_0x4f5e98,this[_0x2006d6(0x2d2)]=_0x51652c,this['_messageService']=_0x5c052e,this[_0x2006d6(0x1a0)]=_0x1e5f4d,this[_0x2006d6(0x33b)]());}['_initEntityListener'](){const _0x2a51e7=_0x28c363;this['disposeWithMe'](this[_0x2a51e7(0x24c)]['entityInit$'][_0x2a51e7(0x2df)](_0x2cc5aa=>{const _0x44ff22=_0x2a51e7,_0x11ba51=this[_0x44ff22(0x31a)][_0x44ff22(0x3ce)][_0x44ff22(0x2df)](_0x2114e4=>{const _0x1c9c59=_0x44ff22;if(_0x2114e4==null)return;const {unitId:_0x5aa149,redoState:_0x55b7c2,commandId:_0x42a7b5}=_0x2114e4;if(_0x5aa149!==_0x2cc5aa[_0x1c9c59(0x3dc)])return;const _0x565501={'id':_0x42a7b5,'type':_0x4ce188[_0x1c9c59(0x48e)]['MUTATION'],'params':{'unitId':_0x5aa149,'actions':_0x55b7c2[_0x1c9c59(0x448)],'textRanges':null}};_0x2cc5aa[_0x1c9c59(0x3ef)](_0x565501);});if(_0x2cc5aa[_0x44ff22(0x210)](_0x11ba51),_0x2cc5aa instanceof _0x463ba0[_0x44ff22(0x2a7)]){const _0x37c669={'onTransformIME':_0x355c49=>this[_0x44ff22(0x35a)][_0x44ff22(0x311)](_0x355c49),'onTransformState':_0x351f69=>this['_docTransformStateCacheService'][_0x44ff22(0x21a)](_0x351f69),'onTransformSelections':_0x41decd=>this['_docTransformSelectionsService'][_0x44ff22(0x22c)](_0x41decd),'onSyncEditingCollabCursor':_0x3ca6f5=>this[_0x44ff22(0x2d2)]['syncEditingCollabCursor'](_0x3ca6f5),'onTransformRemoteChangesetByIMECache':_0x54114a=>this[_0x44ff22(0x35a)][_0x44ff22(0x23b)](_0x54114a),'onTransformRemoteChangesetByStateCache':_0x20638a=>this[_0x44ff22(0x34f)][_0x44ff22(0x23b)](_0x20638a)};_0x2cc5aa['addHandlerCallback'](_0x37c669);}}));}};_0x4613c6=_0x254394([_0x3ad6aa(0x0,_0x4ce188[_0x28c363(0x319)](_0x1bfa4c['DocStateChangeManagerService'])),_0x3ad6aa(0x1,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x246)])),_0x3ad6aa(0x2,_0x4ce188[_0x28c363(0x319)](_0x4289c1)),_0x3ad6aa(0x3,_0x4ce188['Inject'](_0x3f4111)),_0x3ad6aa(0x4,_0x4ce188[_0x28c363(0x319)](_0x2c9efa)),_0x3ad6aa(0x5,_0x4ce188[_0x28c363(0x319)](_0x53ce46)),_0x3ad6aa(0x6,_0x577183['IMessageService']),_0x3ad6aa(0x7,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x263)]))],_0x4613c6);var _0x3e28d9=(_0x436eff=>(_0x436eff[_0x436eff[_0x28c363(0x435)]=0x0]=_0x28c363(0x435),_0x436eff[_0x436eff['OK']=0x1]='OK',_0x436eff[_0x436eff[_0x28c363(0x3cd)]=0x2]=_0x28c363(0x3cd),_0x436eff[_0x436eff[_0x28c363(0x3d7)]=0x3]=_0x28c363(0x3d7),_0x436eff[_0x436eff[_0x28c363(0x47b)]=0x4]=_0x28c363(0x47b),_0x436eff[_0x436eff[_0x28c363(0x3b5)]=0x5]=_0x28c363(0x3b5),_0x436eff[_0x436eff[_0x28c363(0x2bb)]=0x6]=_0x28c363(0x2bb),_0x436eff[_0x436eff[_0x28c363(0x43b)]=0x7]=_0x28c363(0x43b),_0x436eff[_0x436eff[_0x28c363(0x33d)]=0x8]=_0x28c363(0x33d),_0x436eff[_0x436eff[_0x28c363(0x31b)]=0x9]=_0x28c363(0x31b),_0x436eff[_0x436eff[_0x28c363(0x3cb)]=0xa]='LOGIN_FAILED',_0x436eff[_0x436eff[_0x28c363(0x2e2)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x436eff[_0x436eff[_0x28c363(0x489)]=0xc]=_0x28c363(0x489),_0x436eff[_0x436eff[_0x28c363(0x455)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x436eff[_0x436eff['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x28c363(0x256),_0x436eff[_0x436eff[_0x28c363(0x434)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x436eff[_0x436eff[_0x28c363(0x399)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x436eff[_0x436eff[_0x28c363(0x1d9)]=0x64]=_0x28c363(0x1d9),_0x436eff[_0x436eff['ERROR_AGAIN']=0x65]=_0x28c363(0x258),_0x436eff[_0x436eff[_0x28c363(0x40f)]=0xc9]=_0x28c363(0x40f),_0x436eff[_0x436eff[_0x28c363(0x34a)]=0xca]=_0x28c363(0x34a),_0x436eff[_0x436eff['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x28c363(0x465),_0x436eff[_0x436eff['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x28c363(0x1af),_0x436eff[_0x436eff['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x28c363(0x279),_0x436eff[_0x436eff['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x28c363(0x212),_0x436eff[_0x436eff[_0x28c363(0x45c)]=0x1b59]=_0x28c363(0x45c),_0x436eff[_0x436eff[_0x28c363(0x24b)]=0x1b5a]=_0x28c363(0x24b),_0x436eff[_0x436eff[_0x28c363(0x403)]=0x1b5b]=_0x28c363(0x403),_0x436eff[_0x436eff['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x28c363(0x3fe),_0x436eff[_0x436eff[_0x28c363(0x491)]=0x1b5d]=_0x28c363(0x491),_0x436eff[_0x436eff[_0x28c363(0x3bc)]=0x1f41]=_0x28c363(0x3bc),_0x436eff[_0x436eff[_0x28c363(0x2b9)]=0x2329]=_0x28c363(0x2b9),_0x436eff[_0x436eff[_0x28c363(0x44e)]=0x232a]=_0x28c363(0x44e),_0x436eff[_0x436eff[_0x28c363(0x338)]=0x232b]=_0x28c363(0x338),_0x436eff[_0x436eff[_0x28c363(0x1ec)]=0x232c]=_0x28c363(0x1ec),_0x436eff[_0x436eff[_0x28c363(0x348)]=0x232d]=_0x28c363(0x348),_0x436eff[_0x436eff[_0x28c363(0x1aa)]=0x2711]=_0x28c363(0x1aa),_0x436eff[_0x436eff[_0x28c363(0x478)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x436eff[_0x436eff['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x28c363(0x40e),_0x436eff[_0x436eff[_0x28c363(0x1bf)]=0x2714]=_0x28c363(0x1bf),_0x436eff[_0x436eff[_0x28c363(0x2ed)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x436eff[_0x436eff[_0x28c363(0x41a)]=0x271b]=_0x28c363(0x41a),_0x436eff[_0x436eff['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x436eff[_0x436eff[_0x28c363(0x488)]=0x271d]=_0x28c363(0x488),_0x436eff[_0x436eff[_0x28c363(0x2b7)]=0x271e]=_0x28c363(0x2b7),_0x436eff[_0x436eff[_0x28c363(0x346)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x436eff[_0x436eff['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x436eff[_0x436eff[_0x28c363(0x298)]=0x2af9]=_0x28c363(0x298),_0x436eff[_0x436eff[_0x28c363(0x1f8)]=0x2ee1]=_0x28c363(0x1f8),_0x436eff[_0x436eff[_0x28c363(0x26b)]=0x2ee2]='INVALID_INVITE_CODE',_0x436eff[_0x436eff[_0x28c363(0x2fb)]=0x2ee3]=_0x28c363(0x2fb),_0x436eff[_0x436eff[_0x28c363(0x205)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x436eff[_0x436eff['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x28c363(0x475),_0x436eff[_0x436eff[_0x28c363(0x2a9)]=0x32c9]=_0x28c363(0x2a9),_0x436eff[_0x436eff[_0x28c363(0x1ba)]=0x32ca]=_0x28c363(0x1ba),_0x436eff[_0x436eff[_0x28c363(0x325)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x436eff[_0x436eff[_0x28c363(0x3c2)]=0x36b1]=_0x28c363(0x3c2),_0x436eff[_0x436eff[_0x28c363(0x445)]=0x36b2]=_0x28c363(0x445),_0x436eff[_0x436eff[_0x28c363(0x1cb)]=0x36b3]=_0x28c363(0x1cb),_0x436eff[_0x436eff['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x28c363(0x355),_0x436eff[_0x436eff[_0x28c363(0x265)]=0x36b5]=_0x28c363(0x265),_0x436eff[_0x436eff[_0x28c363(0x400)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x436eff[_0x436eff[_0x28c363(0x3ec)]=0x36b7]=_0x28c363(0x3ec),_0x436eff[_0x436eff[_0x28c363(0x2aa)]=0x36b8]=_0x28c363(0x2aa),_0x436eff[_0x436eff['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x28c363(0x211),_0x436eff[_0x436eff[_0x28c363(0x2a6)]=0x3716]=_0x28c363(0x2a6),_0x436eff[_0x436eff[_0x28c363(0x27d)]=0x3717]=_0x28c363(0x27d),_0x436eff[_0x436eff['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x436eff[_0x436eff[_0x28c363(0x476)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x436eff[_0x436eff['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x28c363(0x1bd),_0x436eff[_0x436eff['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x28c363(0x46c),_0x436eff[_0x436eff[_0x28c363(0x43c)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x436eff[_0x436eff[_0x28c363(0x32e)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x436eff[_0x436eff[_0x28c363(0x209)]=0x3a9e]=_0x28c363(0x209),_0x436eff[_0x436eff['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x28c363(0x2ec),_0x436eff[_0x436eff[_0x28c363(0x2f8)]=0x3e81]=_0x28c363(0x2f8),_0x436eff[_0x436eff['UNRECOGNIZED']=-0x1]=_0x28c363(0x238),_0x436eff))(_0x3e28d9||{});function _0x3a12fb(_0x287fc2){const _0x24248c=_0x28c363;var _0x1bf4f3,_0x55b221;const _0x484e0f=(_0x1bf4f3=_0x287fc2['stageInfo'])==null?void 0x0:_0x1bf4f3[_0x24248c(0x216)],_0x54a48c=((_0x55b221=_0x287fc2[_0x24248c(0x47e)])==null?void 0x0:_0x55b221[_0x24248c(0x364)])||0x0;return _0x484e0f===_0xf94d0f[_0x24248c(0x3ed)][_0x24248c(0x2f2)]&&_0x54a48c>0x0;}function _0x2be548(_0x499736){const _0x24b171=_0x28c363;return _0x499736[_0x24b171(0x458)]===_0xf94d0f[_0x24b171(0x2b6)][_0x24b171(0x274)];}var _0x3b99aa=Object[_0x28c363(0x328)],_0x26126a=(_0x159087,_0x433372,_0x1941a4,_0x4e5745)=>{for(var _0x4f1220=_0x4e5745>0x1?void 0x0:_0x4e5745?_0x3b99aa(_0x433372,_0x1941a4):_0x433372,_0x1306d1=_0x159087['length']-0x1,_0x4a9bc1;_0x1306d1>=0x0;_0x1306d1--)(_0x4a9bc1=_0x159087[_0x1306d1])&&(_0x4f1220=_0x4a9bc1(_0x4f1220)||_0x4f1220);return _0x4f1220;},_0x56c89d=(_0x1e9456,_0x8b831a)=>(_0x5c50ae,_0x44b3d0)=>_0x8b831a(_0x5c50ae,_0x44b3d0,_0x1e9456);const _0x54dbdf=_0x28c363(0x277),_0x4bae55=_0x28c363(0x26f),_0x3201a1=_0x28c363(0x44b);let _0x3c389e=class extends _0x4ce188['Disposable']{constructor(_0x1c9e6b,_0xf8f707,_0x4c8dab,_0x5e1b7e,_0x5dc0e6,_0x1a85c1,_0x155a1b){const _0x2d5411=_0x28c363;super(),_0x2002db(this,'_pollingInterval',null),_0x2002db(this,_0x2d5411(0x1f5),0x0),_0x2002db(this,_0x2d5411(0x460),0x0),_0x2002db(this,_0x2d5411(0x2e1),[]),_0x2002db(this,_0x2d5411(0x3c8),0x0),(this[_0x2d5411(0x22f)]=_0x1c9e6b,this['_commandService']=_0xf8f707,this[_0x2d5411(0x485)]=_0x4c8dab,this[_0x2d5411(0x417)]=_0x5e1b7e,this[_0x2d5411(0x2e8)]=_0x5dc0e6,this[_0x2d5411(0x3ff)]=_0x1a85c1,this['_localeService']=_0x155a1b,this[_0x2d5411(0x315)]());}[_0x28c363(0x315)](){const _0x585267=_0x28c363;this[_0x585267(0x210)](this[_0x585267(0x3b3)][_0x585267(0x221)]((_0x25fcbc,_0x291cf5)=>{const _0x5da90f=_0x585267;var _0x2d3b2c;if(_0x25fcbc['id']!==_0xf94d0f[_0x5da90f(0x467)]['id'])return;const _0x5e07c1=_0x25fcbc['params'];if(!this[_0x5da90f(0x383)]((_0x2d3b2c=_0x5e07c1[_0x5da90f(0x19b)])!=null?_0x2d3b2c:[]))return;if(!this[_0x5da90f(0x1e2)]())throw this[_0x5da90f(0x43e)](_0x25fcbc,_0x291cf5),this[_0x5da90f(0x236)](),new _0x4ce188[(_0x5da90f(0x471))]();})),this[_0x585267(0x210)](this[_0x585267(0x3b3)][_0x585267(0x20a)]((_0x4bd952,_0x51d75a)=>{const _0x5b1999=_0x585267;if(_0x4bd952['id']!==_0xf94d0f[_0x5b1999(0x31f)]['id'])return;const _0x4e5887=_0x4bd952[_0x5b1999(0x321)];if(_0x3a12fb(_0x4e5887)){const _0x3dde8d=_0x4ce188[_0x5b1999(0x35d)]();this[_0x5b1999(0x2e1)][_0x5b1999(0x309)](_0x3dde8d),this[_0x5b1999(0x242)](_0x3dde8d);}else{if(_0x2be548(_0x4e5887)&&this[_0x5b1999(0x2e1)][_0x5b1999(0x3e9)]>0x0){const _0x50d7d9=this[_0x5b1999(0x2e1)][_0x5b1999(0x1d1)]();this[_0x5b1999(0x1a9)](_0x50d7d9);}}}));}['dispose'](){const _0x12512c=_0x28c363;super[_0x12512c(0x2fc)](),this[_0x12512c(0x390)](),this[_0x12512c(0x2e1)]=[],this[_0x12512c(0x460)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x12512c(0x3c8)]=0x0;}async[_0x28c363(0x43e)](_0x31a431,_0x250625){const _0x231c22=_0x28c363;for(let _0x530348=0x0;_0x530348<0x1e;_0x530348++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x31a431,_0x250625),this[_0x231c22(0x22f)][_0x231c22(0x273)]({'content':this[_0x231c22(0x1a0)]['t'](_0x231c22(0x42f)),'type':_0x523600['MessageType']['Success']});return;}await new Promise(_0x3a231a=>{const _0x44ec1b=_0x231c22;this['_pollingInterval']=window[_0x44ec1b(0x21d)](_0x3a231a,0x3e8);});}catch(_0x28f0e8){this[_0x231c22(0x3ff)][_0x231c22(0x230)](_0x28f0e8);}this['_messageService'][_0x231c22(0x273)]({'content':this[_0x231c22(0x1a0)]['t']('formula.calculation.unable'),'type':_0x523600[_0x231c22(0x3c7)]['Error']});}[_0x28c363(0x36a)](_0x4fa65c,_0xc49773){const _0x563429=_0x28c363;try{this[_0x563429(0x3b3)][_0x563429(0x1ae)](_0x4fa65c['id'],_0x4fa65c[_0x563429(0x321)],_0xc49773);}catch(_0x1040a5){this['_logService'][_0x563429(0x230)](_0x1040a5);}}[_0x28c363(0x44d)](_0x1e7b79,_0x2733b8){const _0x383676=_0x28c363;_0x2733b8<this[_0x383676(0x3c8)]||(this[_0x383676(0x3c8)]=_0x2733b8,this[_0x383676(0x1f5)]=Number[_0x383676(0x213)](_0x1e7b79[_0x383676(0x27b)]),this[_0x383676(0x460)]=Number[_0x383676(0x213)](_0x1e7b79[_0x383676(0x2d7)]));}async[_0x28c363(0x242)](_0x1b1687){const _0x417dd6=_0x28c363;var _0x5b63e2,_0x16e5bd;const _0x514f09=Date[_0x417dd6(0x2db)]();try{const _0x38af72=((_0x5b63e2=this[_0x417dd6(0x485)][_0x417dd6(0x42b)](_0x463ba0[_0x417dd6(0x1f6)]))==null?void 0x0:_0x5b63e2[_0x417dd6(0x254)])||_0x4bae55,_0x98d5a7=(await this['_httpService'][_0x417dd6(0x452)](_0x38af72,{'body':JSON[_0x417dd6(0x2d8)]({'taskId':_0x1b1687})}))[_0x417dd6(0x2b4)];if(((_0x16e5bd=_0x98d5a7['error'])==null?void 0x0:_0x16e5bd[_0x417dd6(0x1e6)])!==_0x3e28d9['OK'])return;this[_0x417dd6(0x44d)](_0x98d5a7['limitInfo'],_0x514f09);}catch(_0x1fee1c){this[_0x417dd6(0x3ff)][_0x417dd6(0x230)](_0x1fee1c);}}async[_0x28c363(0x27f)](_0x4c55d3){const _0x5af737=_0x28c363;var _0x2c5de5,_0x540486;const _0x7b0a02=Date['now']();try{const _0x48a0be=((_0x2c5de5=this[_0x5af737(0x485)][_0x5af737(0x42b)](_0x463ba0[_0x5af737(0x1f6)]))==null?void 0x0:_0x2c5de5[_0x5af737(0x25d)])||_0x54dbdf,_0x27955e=_0x4c55d3?_0x48a0be+_0x5af737(0x3a7)+encodeURIComponent(_0x4c55d3):_0x48a0be,_0x12ddde=(await this[_0x5af737(0x417)][_0x5af737(0x314)](_0x27955e))['body'];if(((_0x540486=_0x12ddde[_0x5af737(0x230)])==null?void 0x0:_0x540486['code'])!==_0x3e28d9['OK'])return;this['_setFormulaLimitStatus'](_0x12ddde['limitInfo'],_0x7b0a02);}catch(_0x5f5077){this[_0x5af737(0x3ff)][_0x5af737(0x230)](_0x5f5077);}}async[_0x28c363(0x1a9)](_0x398955){const _0x41156=_0x28c363;var _0x57e3a6,_0xdb32d5;const _0x312e75=Date['now']();try{const _0x4c3424=((_0x57e3a6=this[_0x41156(0x485)]['getConfig'](_0x463ba0[_0x41156(0x1f6)]))==null?void 0x0:_0x57e3a6['releaseFormulaLimitUrl'])||_0x3201a1,_0x34ea83=(await this['_httpService'][_0x41156(0x452)](_0x4c3424,{'body':JSON[_0x41156(0x2d8)]({'taskId':_0x398955})}))[_0x41156(0x2b4)];if(((_0xdb32d5=_0x34ea83['error'])==null?void 0x0:_0xdb32d5['code'])!==_0x3e28d9['OK'])return;this[_0x41156(0x44d)](_0x34ea83[_0x41156(0x29d)],_0x312e75);}catch(_0x4c36c2){this[_0x41156(0x3ff)]['error'](_0x4c36c2);}}['_checkCalculationAvailable'](){const _0x51848b=_0x28c363;return this[_0x51848b(0x1f5)]===0x0?!0x0:this[_0x51848b(0x1f5)]-this[_0x51848b(0x460)]>0x0;}[_0x28c363(0x390)](){const _0x20d42a=_0x28c363;this[_0x20d42a(0x407)]&&(clearTimeout(this[_0x20d42a(0x407)]),this['_pollingInterval']=null);}[_0x28c363(0x236)](){const _0x4966bd=_0x28c363;this[_0x4966bd(0x22f)][_0x4966bd(0x273)]({'content':this[_0x4966bd(0x1a0)]['t'](_0x4966bd(0x3da)),'type':_0x523600[_0x4966bd(0x3c7)]['Loading']});}[_0x28c363(0x383)](_0xe1ed6b){const _0x4e592c=_0x28c363;for(const _0x136619 of _0xe1ed6b){const {unitId:_0x12038c,sheetId:_0xdd8371,range:_0x180a4e}=_0x136619,_0x22f5fa=this[_0x4e592c(0x2e8)][_0x4e592c(0x1fb)](_0x12038c);if(!_0x22f5fa)continue;const _0x71ac4=_0x22f5fa[_0x4e592c(0x313)](_0xdd8371);if(!_0x71ac4)continue;const _0x1c77db=_0x71ac4[_0x4e592c(0x2d0)]();for(let _0x44c82e=_0x180a4e[_0x4e592c(0x1c9)];_0x44c82e<=_0x180a4e[_0x4e592c(0x2d5)];_0x44c82e++)for(let _0x12a9ea=_0x180a4e[_0x4e592c(0x3a5)];_0x12a9ea<=_0x180a4e[_0x4e592c(0x318)];_0x12a9ea++){const _0x4ca7ea=_0x1c77db[_0x4e592c(0x26a)](_0x44c82e,_0x12a9ea);if(_0x4ca7ea&&(_0x4ce188[_0x4e592c(0x3f6)](_0x4ca7ea['f'])||_0x4ce188['isFormulaId'](_0x4ca7ea['si'])))return!0x0;}}return!0x1;}};_0x3c389e=_0x26126a([_0x56c89d(0x0,_0x4ce188[_0x28c363(0x319)](_0x577183[_0x28c363(0x2ca)])),_0x56c89d(0x1,_0x4ce188[_0x28c363(0x454)]),_0x56c89d(0x2,_0x4ce188['IConfigService']),_0x56c89d(0x3,_0x4ce188[_0x28c363(0x319)](_0x1d4876['HTTPService'])),_0x56c89d(0x4,_0x4ce188['IUniverInstanceService']),_0x56c89d(0x5,_0x4ce188[_0x28c363(0x367)]),_0x56c89d(0x6,_0x4ce188[_0x28c363(0x319)](_0x4ce188['LocaleService']))],_0x3c389e);var _0x18ddfa=Object['getOwnPropertyDescriptor'],_0x1532f7=(_0x8309f1,_0x3b6e52,_0x2fa6ef,_0x56bac2)=>{const _0xb9c740=_0x28c363;for(var _0x2086cf=_0x56bac2>0x1?void 0x0:_0x56bac2?_0x18ddfa(_0x3b6e52,_0x2fa6ef):_0x3b6e52,_0x14a22e=_0x8309f1[_0xb9c740(0x3e9)]-0x1,_0x1ba283;_0x14a22e>=0x0;_0x14a22e--)(_0x1ba283=_0x8309f1[_0x14a22e])&&(_0x2086cf=_0x1ba283(_0x2086cf)||_0x2086cf);return _0x2086cf;},_0x1f2646=(_0x43e53a,_0x3ed5a7)=>(_0x2026ef,_0x358f6d)=>_0x3ed5a7(_0x2026ef,_0x358f6d,_0x43e53a);let _0x102e99=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x1a5ebc,_0x4b5c6d,_0x259a4b){const _0x5d5437=_0x28c363;super(),_0x2002db(this,_0x5d5437(0x3fb),new Map()),_0x2002db(this,_0x5d5437(0x3c0),new Map()),_0x2002db(this,_0x5d5437(0x3a8),!0x1),(this[_0x5d5437(0x485)]=_0x1a5ebc,this[_0x5d5437(0x248)]=_0x4b5c6d,this[_0x5d5437(0x20e)]=_0x259a4b);}[_0x28c363(0x3f2)](){const _0x1f2efe=_0x28c363;this[_0x1f2efe(0x3a8)]=!0x0;}[_0x28c363(0x44a)](){this['_disabled']=!0x1;}get[_0x28c363(0x202)](){return this['_saveTaskMap'];}['dispose'](){const _0x1fe2aa=_0x28c363;this['exhaustSavingTask']()[_0x1fe2aa(0x3f1)](()=>super['dispose']());}async[_0x28c363(0x3b1)](_0x33e975){const _0x2d3da2=_0x28c363;return this[_0x2d3da2(0x3a8)]?null:this[_0x2d3da2(0x248)][_0x2d3da2(0x45f)](_0x463ba0['getLocalCacheKey'](_0x33e975));}async[_0x28c363(0x3d3)](_0x2060c4,_0x2788c1){const _0x2511dd=_0x28c363;return!!this['_localStorageService'][_0x2511dd(0x2bd)](_0x2060c4,_0x2788c1);}[_0x28c363(0x218)](_0x289685,_0x438d36,_0x43554b,_0x307c8c){const _0x20be54=_0x28c363,_0x1a8078=this[_0x20be54(0x20e)][_0x20be54(0x39a)](_0x289685);this[_0x20be54(0x3fb)][_0x20be54(0x306)](_0x289685,{'unitID':_0x289685,'type':_0x438d36,'awaitingChangeset':_0x43554b,'mutations':_0x307c8c,'rev':_0x1a8078}),this[_0x20be54(0x3c0)]['has'](_0x289685)||this[_0x20be54(0x308)](_0x289685);}[_0x28c363(0x308)](_0x53c230){const _0x3af4c2=_0x28c363,_0x38530c=this[_0x3af4c2(0x1e8)]();_0x38530c===0x0?this[_0x3af4c2(0x361)](_0x53c230):this[_0x3af4c2(0x3c0)]['set'](_0x53c230,setTimeout(()=>this[_0x3af4c2(0x361)](_0x53c230),_0x38530c));}[_0x28c363(0x1e8)](){const _0x5ab243=_0x28c363;var _0x1828a7;return(_0x1828a7=this[_0x5ab243(0x485)][_0x5ab243(0x42b)](_0x463ba0[_0x5ab243(0x392)]))!=null?_0x1828a7:_0x463ba0['LOCAL_CACHE_INTERVAL'];}[_0x28c363(0x361)](_0x4ca25c){const _0x3ecd0e=_0x28c363,_0x5d960e=this['_saveTaskMap'][_0x3ecd0e(0x314)](_0x4ca25c);return _0x5d960e!==void 0x0&&window[_0x3ecd0e(0x42e)](_0x5d960e),this[_0x3ecd0e(0x248)][_0x3ecd0e(0x2bd)](_0x463ba0[_0x3ecd0e(0x326)](_0x4ca25c),this[_0x3ecd0e(0x3fb)][_0x3ecd0e(0x314)](_0x4ca25c))['then'](()=>this[_0x3ecd0e(0x3c0)][_0x3ecd0e(0x409)](_0x4ca25c));}async[_0x28c363(0x257)](){const _0x352c3f=_0x28c363,_0x262b95=[];this['_saveTaskMap'][_0x352c3f(0x385)]((_0x394fcc,_0x4cfe6c)=>{const _0x411b04=_0x352c3f;window[_0x411b04(0x42e)](_0x394fcc),_0x262b95[_0x411b04(0x309)](this[_0x411b04(0x361)](_0x4cfe6c)[_0x411b04(0x3f1)](()=>{const _0x5d54b8=_0x411b04;this[_0x5d54b8(0x3c0)][_0x5d54b8(0x409)](_0x4cfe6c);}));}),await Promise['all'](_0x262b95);}};_0x102e99=_0x1532f7([_0x1f2646(0x0,_0x4ce188[_0x28c363(0x30a)]),_0x1f2646(0x1,_0x4ce188['ILocalStorageService']),_0x1f2646(0x2,_0x4ce188[_0x28c363(0x319)](_0x5f3c3e['RevisionService']))],_0x102e99);class _0x9a2c00 extends _0x4ce188[_0x28c363(0x3f3)]{constructor(){const _0x3d804a=_0x28c363;super(),_0x2002db(this,_0x3d804a(0x341)),this['urlChange$']=_0x4d6cca['fromEvent'](window,'popstate')[_0x3d804a(0x397)](_0x4d6cca[_0x3d804a(0x20b)](this[_0x3d804a(0x1fa)]),_0x4d6cca[_0x3d804a(0x456)](0x1),_0x4d6cca[_0x3d804a(0x26c)](void 0x0));}[_0x28c363(0x2be)](_0x394d4c,_0x17aced,_0x3e4be7=!0x1){const _0x89cfe3=_0x28c363,_0x18b3d2=new URL(window['location'][_0x89cfe3(0x33a)]);_0x18b3d2['searchParams'][_0x89cfe3(0x306)](_0x394d4c,_0x17aced),_0x3e4be7?window[_0x89cfe3(0x2c9)]['replaceState']('','',_0x18b3d2['toString']()):window[_0x89cfe3(0x2c9)]['pushState']('','',_0x18b3d2['toString']());}[_0x28c363(0x28f)](_0x1a0c28,_0x5a7df4=!0x1){const _0x7683d3=_0x28c363,_0x185278=new URL(window['location'][_0x7683d3(0x33a)]);_0x185278[_0x7683d3(0x32a)]['delete'](_0x1a0c28),_0x5a7df4?window[_0x7683d3(0x2c9)]['replaceState']('','',_0x185278[_0x7683d3(0x288)]()):window['history'][_0x7683d3(0x217)]('','',_0x185278[_0x7683d3(0x288)]());}[_0x28c363(0x35b)](_0x328f61){const _0x373b94=_0x28c363;var _0x6eed6d;return(_0x6eed6d=new URL(window[_0x373b94(0x431)][_0x373b94(0x33a)])[_0x373b94(0x32a)][_0x373b94(0x314)](_0x328f61))!=null?_0x6eed6d:void 0x0;}}var _0xc25f4e=Object['defineProperty'],_0x3e7f9b=Object[_0x28c363(0x328)],_0x23e167=(_0x30aa08,_0x241426,_0x34cb91)=>_0x241426 in _0x30aa08?_0xc25f4e(_0x30aa08,_0x241426,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34cb91}):_0x30aa08[_0x241426]=_0x34cb91,_0x574c82=(_0x1338e2,_0x5d59f1,_0x75f1ce,_0x4d550f)=>{const _0x142e46=_0x28c363;for(var _0x4ecc39=_0x4d550f>0x1?void 0x0:_0x4d550f?_0x3e7f9b(_0x5d59f1,_0x75f1ce):_0x5d59f1,_0x9447ce=_0x1338e2[_0x142e46(0x3e9)]-0x1,_0x2ec141;_0x9447ce>=0x0;_0x9447ce--)(_0x2ec141=_0x1338e2[_0x9447ce])&&(_0x4ecc39=_0x2ec141(_0x4ecc39)||_0x4ecc39);return _0x4ecc39;},_0x2b153c=(_0xb167c4,_0x5b996a)=>(_0x50947,_0x54fca4)=>_0x5b996a(_0x50947,_0x54fca4,_0xb167c4),_0x48d32e=(_0x491146,_0x34f6d4,_0x2f081e)=>_0x23e167(_0x491146,_0x34f6d4+'',_0x2f081e);const _0x13f050=_0x28c363(0x426);_0x109cc1[_0x28c363(0x284)]=class extends _0x4ce188[_0x28c363(0x2af)]{constructor(_0x51c425=_0x52a5e9,_0x1eb3b0,_0x820aed,_0x4aaf85){const _0x5b57ca=_0x28c363;super(),this[_0x5b57ca(0x424)]=_0x51c425,this['_renderManagerService']=_0x1eb3b0,this[_0x5b57ca(0x1d6)]=_0x820aed,this[_0x5b57ca(0x485)]=_0x4aaf85;const {..._0x34ae89}=_0x4ce188[_0x5b57ca(0x3a0)]({},_0x52a5e9,this['_config']);this['_configService'][_0x5b57ca(0x1ee)](_0xe3ab6a,_0x34ae89);}[_0x28c363(0x2e0)](){const _0x1ce7ba=_0x28c363;this[_0x1ce7ba(0x336)](),this[_0x1ce7ba(0x1f2)]();}[_0x28c363(0x37c)](){const _0x2e0e94=_0x28c363;this[_0x2e0e94(0x3f4)]();}[_0x28c363(0x336)](){const _0x329a11=_0x28c363;var _0x322378;const _0x26ec07=[[_0x5937ca],[_0x3c389e],[_0x2c9efa],[_0x4289c1],[_0x3f4111],[_0x53ce46],[_0x204646,{'useClass':_0x9a2c00}],[_0x1d4876[_0x329a11(0x223)],{'useClass':_0x1d4876['WebSocketService']}],[_0x463ba0[_0x329a11(0x1d5)],{'useClass':_0x102e99}],[_0x109cc1['DesktopCollaborationStatusDisplayController']],[_0x4613c6],[_0x35c423],[_0x2a8919],[_0x288851],[_0x109cc1['CollaborationDataLoaderController']]];this[_0x329a11(0x424)]['enableFrontendLog']&&_0x26ec07['push']([_0x1e2184]),_0x4ce188['registerDependencies'](this[_0x329a11(0x1d6)],_0x4ce188['mergeOverrideWithDependencies'](_0x26ec07,(_0x322378=this[_0x329a11(0x424)])==null?void 0x0:_0x322378[_0x329a11(0x389)]));}['_registerRenderDependencies'](){const _0x512f08=_0x28c363;this[_0x512f08(0x210)](this[_0x512f08(0x1e9)][_0x512f08(0x38d)](_0x4ce188['UniverInstanceType']['UNIVER_DOC'],[_0x2af2e0])),this[_0x512f08(0x210)](this[_0x512f08(0x1e9)]['registerRenderModule'](_0x4ce188[_0x512f08(0x1b9)][_0x512f08(0x30b)],[_0x5dc1d7]));}[_0x28c363(0x1f2)](){const _0x422ecc=_0x28c363;_0x4ce188[_0x422ecc(0x2f5)](this[_0x422ecc(0x1d6)],[[_0x2a8919],[_0x109cc1[_0x422ecc(0x3ac)]],[_0x4613c6],[_0x35c423],[_0x109cc1[_0x422ecc(0x443)]],[_0x3c389e]]),this[_0x422ecc(0x424)][_0x422ecc(0x36d)]&&_0x4ce188[_0x422ecc(0x2f5)](this[_0x422ecc(0x1d6)],[[_0x1e2184]]);}},_0x48d32e(_0x109cc1['UniverCollaborationClientUIPlugin'],_0x28c363(0x413),_0x13f050),_0x109cc1['UniverCollaborationClientUIPlugin']=_0x574c82([_0x4ce188[_0x28c363(0x2b1)](_0x463ba0[_0x28c363(0x368)]),_0x2b153c(0x1,_0xcd5ffc[_0x28c363(0x2e5)]),_0x2b153c(0x2,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x2b153c(0x3,_0x4ce188[_0x28c363(0x30a)])],_0x109cc1[_0x28c363(0x284)]);var _0x54e371=Object['getOwnPropertyDescriptor'],_0x21f088=(_0x941301,_0x5ddb22,_0x5380e7,_0x2cbe94)=>{const _0x577608=_0x28c363;for(var _0x805392=_0x2cbe94>0x1?void 0x0:_0x2cbe94?_0x54e371(_0x5ddb22,_0x5380e7):_0x5ddb22,_0x2527bd=_0x941301[_0x577608(0x3e9)]-0x1,_0x37c89f;_0x2527bd>=0x0;_0x2527bd--)(_0x37c89f=_0x941301[_0x2527bd])&&(_0x805392=_0x37c89f(_0x805392)||_0x805392);return _0x805392;},_0x517ad6=(_0x3526df,_0x13e727)=>(_0x28addc,_0x291eda)=>_0x13e727(_0x28addc,_0x291eda,_0x3526df);_0x109cc1[_0x28c363(0x3bf)]=class extends _0x463ba0['CollaborationSocketService']{constructor(_0x331ec5,_0xea1c6,_0xff027f,_0x2ad3e9,_0x55d356){super(_0x331ec5,_0xea1c6,_0xff027f,_0x2ad3e9,_0x55d356);}async[_0x28c363(0x1ce)](_0xc96eaa){const _0x1a0ba3=_0x28c363,_0x2755f4=await this[_0x1a0ba3(0x3fd)](),_0x2dcd08=this['_createSocketURL'](_0xc96eaa,_0x2755f4);return this[_0x1a0ba3(0x330)](_0x2dcd08);}[_0x28c363(0x386)](_0x1ea50e,_0x114da7){const _0x1630dc=_0x28c363,_0xcbc9fe=typeof window>'u'?new URL(_0x1ea50e):new URL(_0x1ea50e,window['location'][_0x1630dc(0x1ed)]);_0xcbc9fe[_0x1630dc(0x32a)][_0x1630dc(0x306)]('sessionTicket',_0x114da7);const _0x394084=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1630dc(0x431)][_0x1630dc(0x2de)]);return _0x394084[_0x1630dc(0x314)](_0x1630dc(0x349))&&_0xcbc9fe[_0x1630dc(0x32a)][_0x1630dc(0x306)](_0x1630dc(0x349),_0x394084['get']('runId')),_0xcbc9fe['toString']();}async[_0x28c363(0x3fd)](){const _0x4c3b95=_0x28c363;var _0xa6b5e7,_0x284122,_0x1b0fbe;const _0x1432c2=this['_configService']['getConfig'](_0x463ba0[_0x4c3b95(0x1f6)]),_0x9ec75a=(_0xa6b5e7=_0x1432c2==null?void 0x0:_0x1432c2[_0x4c3b95(0x23e)])!=null?_0xa6b5e7:_0x463ba0[_0x4c3b95(0x394)];return(_0x1b0fbe=(_0x284122=(await this[_0x4c3b95(0x417)][_0x4c3b95(0x314)](_0x9ec75a,{'headers':{'Content-Type':'application/json'}}))[_0x4c3b95(0x2b4)])==null?void 0x0:_0x284122[_0x4c3b95(0x1ca)])!=null?_0x1b0fbe:'';}},_0x109cc1[_0x28c363(0x3bf)]=_0x21f088([_0x517ad6(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x517ad6(0x1,_0x4ce188[_0x28c363(0x319)](_0x1d4876[_0x28c363(0x461)])),_0x517ad6(0x2,_0x4ce188['IConfigService']),_0x517ad6(0x3,_0x4ce188[_0x28c363(0x367)]),_0x517ad6(0x4,_0x5f3c3e[_0x28c363(0x235)])],_0x109cc1[_0x28c363(0x3bf)]);var _0x5bf8cc=Object[_0x28c363(0x328)],_0x3a5105=(_0x232911,_0x3e9502,_0x983ea6,_0x3942d3)=>{const _0x5a0ddf=_0x28c363;for(var _0x169ba9=_0x3942d3>0x1?void 0x0:_0x3942d3?_0x5bf8cc(_0x3e9502,_0x983ea6):_0x3e9502,_0x3b41c5=_0x232911[_0x5a0ddf(0x3e9)]-0x1,_0x4fc389;_0x3b41c5>=0x0;_0x3b41c5--)(_0x4fc389=_0x232911[_0x3b41c5])&&(_0x169ba9=_0x4fc389(_0x169ba9)||_0x169ba9);return _0x169ba9;},_0x20a694=(_0x400f63,_0x1991de)=>(_0x121520,_0x1e1456)=>_0x1991de(_0x121520,_0x1e1456,_0x400f63);_0x109cc1['RemoteUniscriptService']=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x4b64f9,_0x54f4a1,_0x540dad){const _0x1b9540=_0x28c363;super(),this[_0x1b9540(0x48a)]=_0x4b64f9,this[_0x1b9540(0x417)]=_0x54f4a1,this[_0x1b9540(0x485)]=_0x540dad;}async[_0x28c363(0x401)](_0x46d46a,_0x424f36,_0x2cb119,..._0x5b5111){const _0x1b1ea4=_0x28c363;var _0x578e6c,_0x11ede1,_0x5df489,_0x4f7b24;const _0x2f69ea=this[_0x1b1ea4(0x48a)][_0x1b1ea4(0x30d)]();if(!_0x2f69ea)throw new Error(_0x1b1ea4(0x278));const _0x5caa33=((_0x578e6c=this[_0x1b1ea4(0x485)]['getConfig'](_0x463ba0[_0x1b1ea4(0x481)]))!=null?_0x578e6c:_0x463ba0['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x46d46a+_0x1b1ea4(0x36f)+_0x424f36,_0x1fad06=new URL(window['location']['href']),_0x24d793={'scriptId':_0x46d46a,'runId':(_0x11ede1=_0x1fad06[_0x1b1ea4(0x32a)][_0x1b1ea4(0x314)](_0x1b1ea4(0x349)))!=null?_0x11ede1:'','function':_0x424f36,'unitId':_0x2f69ea[_0x1b1ea4(0x281)](),'argsOfFunction':JSON[_0x1b1ea4(0x2d8)](_0x5b5111),'invokeId':(_0x5df489=_0x2cb119[_0x1b1ea4(0x453)])!=null?_0x5df489:'','executionId':(_0x4f7b24=_0x2cb119[_0x1b1ea4(0x2bf)])!=null?_0x4f7b24:''};try{const _0x1fc1e3=await this[_0x1b1ea4(0x417)]['post'](_0x5caa33,{'body':_0x24d793});return _0x1fc1e3[_0x1b1ea4(0x2b4)][_0x1b1ea4(0x230)]&&_0x1fc1e3[_0x1b1ea4(0x2b4)]['error']['code']!==_0x3e28d9['OK']?'Failed':_0x1fc1e3[_0x1b1ea4(0x2b4)][_0x1b1ea4(0x2b0)];}catch{return _0x1b1ea4(0x350);}}},_0x109cc1[_0x28c363(0x40b)]=_0x3a5105([_0x20a694(0x0,_0x4ce188['IUniverInstanceService']),_0x20a694(0x1,_0x4ce188['Inject'](_0x1d4876[_0x28c363(0x461)])),_0x20a694(0x2,_0x4ce188['IConfigService'])],_0x109cc1['RemoteUniscriptService']);const _0x5334c6=0x7530,_0x5c1113=_0x28c363(0x333);class _0x3c1ac2 extends _0x4ce188['Disposable']{constructor(){const _0x357132=_0x28c363;super(),_0x2002db(this,_0x357132(0x45a),_0x4ce188['generateRandomId']()),_0x2002db(this,'_selfUnitIDs',new Set()),_0x2002db(this,'_unitOnClients',new Map()),_0x2002db(this,_0x357132(0x271),null),_0x2002db(this,_0x357132(0x3eb),new Map()),_0x2002db(this,_0x357132(0x423),new Map()),this[_0x357132(0x304)]();}[_0x28c363(0x2fc)](){const _0x90099a=_0x28c363;super[_0x90099a(0x2fc)](),this['_clearOtherTimers'][_0x90099a(0x385)]((_0x8a7ef2,_0x4e00ca)=>this[_0x90099a(0x444)](_0x4e00ca)),this[_0x90099a(0x271)]&&window['clearInterval'](this[_0x90099a(0x271)]);}[_0x28c363(0x3b0)](_0x28089e){const _0x44106f=_0x28c363;return this['_ensureSubject'](_0x28089e)[_0x44106f(0x397)](_0x4d6cca[_0x44106f(0x22b)]());}[_0x28c363(0x32f)](_0x3b02c2){const _0x13211f=_0x28c363;this[_0x13211f(0x3a3)]['size']===0x0&&this[_0x13211f(0x470)](),this[_0x13211f(0x3a3)][_0x13211f(0x380)](_0x3b02c2),this[_0x13211f(0x47d)]({'type':0x0,'memberID':this[_0x13211f(0x45a)],'unitIDs':[_0x3b02c2],'isForwarded':!0x1});}[_0x28c363(0x2b3)](_0x50b84f){const _0x40e6f6=_0x28c363;this[_0x40e6f6(0x3a3)]['delete'](_0x50b84f),this[_0x40e6f6(0x3a3)][_0x40e6f6(0x1fe)]===0x0&&this[_0x40e6f6(0x271)]&&window[_0x40e6f6(0x290)](this[_0x40e6f6(0x271)]);}[_0x28c363(0x304)](){const _0x5dc161=_0x28c363;this[_0x5dc161(0x210)](_0x4ce188[_0x5dc161(0x3d5)](_0x4d6cca[_0x5dc161(0x1bb)](window,_0x5dc161(0x38c))[_0x5dc161(0x2df)](_0x5352ba=>{const _0x439a9f=_0x5dc161;if(_0x5352ba[_0x439a9f(0x198)]!==_0x5c1113||!_0x5352ba[_0x439a9f(0x1a3)])return;const _0x16ab7b=JSON[_0x439a9f(0x45b)](_0x5352ba['newValue']);this['_handleEvent'](_0x16ab7b);}))),window[_0x5dc161(0x38e)](_0x5dc161(0x384),()=>this[_0x5dc161(0x47d)]({'type':0x1,'memberID':this[_0x5dc161(0x45a)],'unitIDs':Array[_0x5dc161(0x441)](this[_0x5dc161(0x3a3)])}));}[_0x28c363(0x222)](_0x3865cf){const _0x194266=_0x28c363;switch(_0x3865cf['type']){case 0x0:this[_0x194266(0x1b6)](_0x3865cf);break;case 0x1:this[_0x194266(0x272)](_0x3865cf);break;case 0x2:this[_0x194266(0x2ef)](_0x3865cf);break;}}[_0x28c363(0x1b6)](_0x1e6e01){const _0xb2c244=_0x28c363,{unitIDs:_0x24d3e1,memberID:_0x5745b1,isForwarded:_0x104dff}=_0x1e6e01;_0x24d3e1[_0xb2c244(0x385)](_0x2858e4=>{const _0x4bda91=_0xb2c244;if(!_0x104dff&&this[_0x4bda91(0x1c1)]['has'](_0x2858e4)&&this[_0x4bda91(0x415)](_0x2858e4)['next'](_0x463ba0[_0x4bda91(0x48d)]['OTHER_CLIENTS_EDITING']),!this[_0x4bda91(0x1c1)][_0x4bda91(0x320)](_0x2858e4)||!this['_unitOnClients'][_0x4bda91(0x314)](_0x2858e4)[_0x4bda91(0x320)](_0x5745b1)){const _0x2ce5d8=this[_0x4bda91(0x1c1)][_0x4bda91(0x314)](_0x2858e4)||new Set();_0x2ce5d8[_0x4bda91(0x380)](_0x5745b1),this['_unitOnClients'][_0x4bda91(0x306)](_0x2858e4,_0x2ce5d8),this[_0x4bda91(0x41d)](_0x5745b1);}}),_0x104dff||this[_0xb2c244(0x47d)]({'type':0x0,'memberID':this[_0xb2c244(0x45a)],'unitIDs':[...this[_0xb2c244(0x3a3)]],'isForwarded':!0x0});}[_0x28c363(0x41d)](_0xcf7441){const _0x35d333=_0x28c363;this['_removeClearOtherTimer'](_0xcf7441);const _0x5d78c6=window[_0x35d333(0x21d)](()=>{const _0x1df104=_0x35d333;this[_0x1df104(0x1c1)][_0x1df104(0x385)](_0x14f917=>{_0x14f917['delete'](_0xcf7441);});},_0x5334c6*0x2);this[_0x35d333(0x3eb)]['set'](_0xcf7441,_0x5d78c6);}[_0x28c363(0x444)](_0x304240){const _0x55ea1c=_0x28c363;if(this[_0x55ea1c(0x3eb)][_0x55ea1c(0x320)](_0x304240)){const _0x5020ad=this[_0x55ea1c(0x3eb)]['get'](_0x304240);_0x5020ad&&window[_0x55ea1c(0x42e)](_0x5020ad),this[_0x55ea1c(0x3eb)][_0x55ea1c(0x306)](_0x304240,null);}}[_0x28c363(0x272)](_0x151086){const _0x3f5c3e=_0x28c363,{memberID:_0xd50f9a,unitIDs:_0xfac1ae}=_0x151086;_0xfac1ae[_0x3f5c3e(0x385)](_0x4fbd8d=>{const _0x55e8d1=_0x3f5c3e;var _0x3dbfbc;const _0x165dfb=this[_0x55e8d1(0x1c1)]['get'](_0x4fbd8d);_0x165dfb&&(_0x165dfb[_0x55e8d1(0x409)](_0xd50f9a),(_0x3dbfbc=this['_ensureSubject'](_0x4fbd8d))==null||_0x3dbfbc['next'](_0x165dfb[_0x55e8d1(0x1fe)]===0x0?_0x463ba0[_0x55e8d1(0x48d)]['NO_OTHER_CLIENTS_EDITING']:_0x463ba0[_0x55e8d1(0x48d)][_0x55e8d1(0x25b)]));}),this[_0x3f5c3e(0x444)](_0xd50f9a);}[_0x28c363(0x2ef)](_0xefc3a5){const _0x574198=_0x28c363;this[_0x574198(0x41d)](_0xefc3a5[_0x574198(0x421)]);}[_0x28c363(0x47d)](_0x486fe1){const _0x6037c2=_0x28c363;localStorage[_0x6037c2(0x2bd)](_0x5c1113,JSON['stringify'](_0x486fe1));}['_scheduleHeartbeat'](){const _0x1f0eb8=_0x28c363;this[_0x1f0eb8(0x271)]=window[_0x1f0eb8(0x262)](()=>{const _0x1a3acb=_0x1f0eb8;this[_0x1a3acb(0x47d)]({'type':0x2,'memberID':this[_0x1a3acb(0x45a)]});},_0x5334c6);}[_0x28c363(0x415)](_0x523d2e){const _0x3d177f=_0x28c363;return this['_unitStatus'][_0x3d177f(0x320)](_0x523d2e)||this['_unitStatus'][_0x3d177f(0x306)](_0x523d2e,new _0x4d6cca[(_0x3d177f(0x36e))](_0x463ba0[_0x3d177f(0x48d)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3d177f(0x423)][_0x3d177f(0x314)](_0x523d2e);}}_0x109cc1[_0x28c363(0x266)]=_0x204646,_0x109cc1['SheetCollabCursorShape']=_0x3b4e84,_0x109cc1['WebBrowserSingleActiveUnitService']=_0x3c1ac2,_0x109cc1[_0x28c363(0x2c1)]=_0x9a2c00,Object['defineProperty'](_0x109cc1,Symbol[_0x28c363(0x261)],{'value':_0x28c363(0x2d9)});}));
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
|
|
11
|
+
(function(_0x1569e9,_0x4efec8){var _0x243762=_0x1d04,_0x3e00cf=_0x1569e9();while(!![]){try{var _0x2c4cd2=parseInt(_0x243762(0xce))/0x1+-parseInt(_0x243762(0xc1))/0x2*(parseInt(_0x243762(0xcf))/0x3)+-parseInt(_0x243762(0xc0))/0x4*(-parseInt(_0x243762(0xcd))/0x5)+-parseInt(_0x243762(0xc8))/0x6*(-parseInt(_0x243762(0xca))/0x7)+-parseInt(_0x243762(0xc9))/0x8+-parseInt(_0x243762(0xcc))/0x9*(-parseInt(_0x243762(0xcb))/0xa)+-parseInt(_0x243762(0xc2))/0xb*(parseInt(_0x243762(0xc5))/0xc);if(_0x2c4cd2===_0x4efec8)break;else _0x3e00cf['push'](_0x3e00cf['shift']());}catch(_0x323276){_0x3e00cf['push'](_0x3e00cf['shift']());}}}(_0x271f,0xd3eea),function(_0x44ec6f,_0x52a150){var _0x377aa6=_0x1d04;typeof exports=='object'&&typeof module<'u'?_0x52a150(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define=='function'&&define[_0x377aa6(0xc3)]?define([_0x377aa6(0xd0),'@univerjs/core/facade'],_0x52a150):(_0x44ec6f=typeof globalThis<'u'?globalThis:_0x44ec6f||self,_0x52a150(_0x44ec6f[_0x377aa6(0xc7)],_0x44ec6f['UniverCoreFacade']));}(this,function(_0x5bf31d,_0x2b3565){'use strict';var _0x32eb81=_0x1d04;class _0x48fda9 extends _0x2b3565[_0x32eb81(0xd1)]{[_0x32eb81(0xc6)](_0x33d4a7,_0x5ab28c,..._0x24d7c7){var _0x1b8379=_0x32eb81;return this[_0x1b8379(0xc4)]['get'](_0x5bf31d['RemoteUniscriptService'])[_0x1b8379(0xc6)](_0x33d4a7,_0x5ab28c,{},..._0x24d7c7);}}_0x2b3565[_0x32eb81(0xd1)][_0x32eb81(0xd2)](_0x48fda9);}));function _0x1d04(_0x2e5cf4,_0x5ac326){_0x2e5cf4=_0x2e5cf4-0xc0;var _0x271ff9=_0x271f();var _0x1d0460=_0x271ff9[_0x2e5cf4];return _0x1d0460;}function _0x271f(){var _0x45d8c7=['8271GbNJDn','5352505UKncoa','42472mhAYgF','3gNDEVb','@univerjs-pro/collaboration-client-ui','FUniver','extend','4UDqlEI','88318IYcKDo','990WXqGMY','amd','_injector','185412QgcLtv','runOnServer','UniverProCollaborationClientUi','131088MaOvJH','2984744YsENFU','133FTAxDY','12490LXCOZI'];_0x271f=function(){return _0x45d8c7;};return _0x271f();}
|
|
12
12
|
|
|
13
13
|
// index
|
|
14
14
|
(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/collaboration-client/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/collaboration-client/lib/facade"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetDocsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi))})(this,(function(e,i,l,t){"use strict";function a(n){const r=new URL(n,window.location.origin);switch(r.protocol){case"https:":r.protocol="wss:";break;case"http:":r.protocol="ws:";break}return r.toString()}function s(n={}){const{universerEndpoint:r}=n,o=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${o}/universer-api/authz`,snapshotServerUrl:`${o}/universer-api/snapshot`,collabSubmitChangesetUrl:`${o}/universer-api/comb`,collabWebSocketUrl:a(`${o}/universer-api/comb/connect`),loginUrlKey:`${o}/universer-api/oidc/authpage`,uploadFileServerUrl:`${o}/universer-api/stream/file/upload`,signUrlServerUrl:`${o}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${o}/`,wsSessionTicketUrl:`${o}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],t.UniverCollaborationClientUIPlugin]}}e.UniverDocsCollaborationPreset=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|