@univerjs/preset-docs-collaboration 0.12.3-experimental.20251205-8c9a6bf → 0.12.4
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 +6 -6
package/lib/umd/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @univerjs-pro/collaboration-client/index
|
|
2
|
-
function _0x4c70(_0x1f3f85,_0x2b2a15){_0x1f3f85=_0x1f3f85-0x102;var _0x3e938e=_0x3e93();var _0x4c70e2=_0x3e938e[_0x1f3f85];return _0x4c70e2;}function _0x3e93(){var _0x490d76=['Utf8','selections','set','cmd','INVITE_CODE_REQUIRED','_startTelemetryCollaborationNewChangeset','getLocalCacheKey','_sender','CHANGESET_REJ','PERMISSION_REJ','_clearCollaborationTimeoutTimer','key','csShouldRetryEvent','_transitionLocked','_clearUndo','CollaborationUIEventService','[OfflineState]:\x20received\x20changeset.','ITransformService','loadUnit','BlockCipherMode','now','appendMutation','reduce','Pkcs7','UniverCollaborationPlugin','onRemoteRej','_retryCount','getWorkbookSelections','fetchMissingChangesets','_ENC_XFORM_MODE','[SyncedState]:\x20received\x20acknowledgement.','onRemoteAck','WordArray','@univerjs/network','_memberService','/allowed','byteLength','[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.','splice','getCurrentRevOfUnit','_socket','getLatestCsReqIdBySid','_change$','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_nRounds','pipe','INVALID_INVITE_CODE','JOIN_ROOM_PERMISSION_DENIED','localCacheService','touchDependencies','SUCCUSS','[CollaborationSessionService]:\x20socket\x20error','FetchingMissState','interceptor','_onConnectionFailed','exports','UniverDrawing','_roomMembers','CHANGESET_SHOULD_RETRY','CollaborationController','REDEMPTION_CODE_FULLY_REDEEMED','COMPRESS_MUTATION_SEND','_applyRemoteChangeset','_commentService','_registerDependencies','list','reject','finalize','onMutationExecutedForCollab','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','title','Base','/universer-api/snapshot','event$','UPDATE_CURSOR','confirm','_substituteUndoStack','_acknowledgedAwaitingChangeset','_shouldReportTelemetry','c1Prime','\x20in\x20_schedule.','/rev/','AES','WorkbookEditablePermission','_snapshotService','[OfflineState]:\x20received\x20rejection.','firstValueFrom','_sendingTimer','_queuedRemoteChangesets','11297110ZvYxUU','fromCollab','_resendTimer','JOIN','isInternalEditorID','SHA1','OTHER_CLIENT_EDITING','_iKey','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_onJoinRoomEvent','createDecryptor','_incrementRevisionNumber','status$','getImageSourceCache','CommentService','UNIVER_UNKNOWN','SOCKET_FAILED','EvpKDF','HEARTBEAT_TIMEOUT_KEY','socket$','RETRY_CONNECTING_MAX_COUNT','REDEMPTION_USER_NOT_ELIGIBLE','SNAPSHOT_URL_KEY','_sheetTransformSelectionsService','_localCacheService','enableAuthServer','UNISCRIPT_RUN','_httpService','transformStack\x20failed!','WECHAT_HAS_BEEN_BOUND','JOIN_ROOM_FAILED','_createInitialState','UserProfileImg','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','onSyncEditingCollabCursor','HttpExport','string','c2Prime','_socketReady','_getCurrentRevision','origin','getConfig','uploadFileServerUrl','emitEvent','joinEvent','buffer','blockSize','compute','_nDataBytes','updateMember','_transformStateCache','crypto','data','map','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onStateChange','APPLY_REJECT','unsubscribe','ConflictState','_replayCachedMutations','Malformed\x20UTF-8\x20data','1655544BQLCzl','_createHelper','ISocketService','ENTITLE_NEED_BILLING_ADDRESS','_substituteRedoStack','RETRY_CONNECTING_MAX_COUNT_KEY','every','ISnapshotServerService','open$','CollaborationEntity','_key','amd','UNIVER_SLIDE','_initCloseConn','COMPRESS_MUTATION_APPLY','_entityInit$','_initRequestHeader','_telemetryInfo','onload','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','fetch_missing','putCollaborators','_snapshotServerService','onTransformIME','[DataLoaderService]','_waitCount','hostname','collaboration-client.config','random','getAllMembers','keySize','onRemoteRetry','NO_OTHER_CLIENTS_EDITING','_initUnitPermissionChange','REDEMPTION_CODE_INACTIVE','@univerjs/sheets','_onRecvEvent','LOGIN_TOKEN_PROCESSING_FAILED','_clearLocalCache','_lockTransition','MSG_FOR_ERROR','5688846GvlLHB','_clearHeartbeatTimer','get','Cipher','_commentUpdate$','decrypt','MemberService','UniverProLicense','/universer-api/stream/file/upload','range','_networkConditionService','push','_checkMissing','_toggleOnline','next','fetchMiss','CHANGESET_REVISION_CONFILICT','serializeCombRequest','infoRsp','DisposableCollection','_hash','unitID','SheetPermissionInitController','memberID','filter','telemetry\x20info\x20is\x20not\x20initialized','820LzSvjq','_imageSourceCache','href','image/bmp','SOCKET_FAILED_RETRY','Rectangle','execute','IUndoRedoService','/-/object/list','includes','_status$','sequenceExecute','sin','_getLoginPath','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_initDependencies','HEARTBEAT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','ICollaborationSocketService','[CollaborationEntity]','ENTITLE_USE_COUPON_NOT_1ST_TRADE','allowed','onTransformRemoteChangesetByStateCache','reverse','_pendingMutations','_HTTPService','_createSocket','delete','extend','refreshPermission','_type','merge','socket\x20open.','dispose$','session.room-cnt-exceeds','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','HELLO','_process','UNKNOWN_CODE','_localeService','result','getMember','_collaborationUIEventService','roomInfos','4548ceHNSY','Module','sid','transformMutationsWithChangeset','session','AwaitingWithPendingState','onMissedChangesetFetched','CHANGESET_ACK','sessionStatus','ENTITLE_INVALID_COUPON_CODE','call','responseType','3798129ORxbxS','file','BASE64','_onMessage','members','OTHER_CLIENTS_EDITING','name','OpenSSL','ICommandService','resend','status','CollaborationEvent','image/gif','padding','_data','/object','SYNCED','b64DecodeUnicode','transformSelections','ERROR_IMAGE','ENTITLE_CAN_NOT_BUY_LOWER_OTP','enableOfflineEditing','snapshot','submit\x20changeset\x20error!','ENTITLE_COUPON_EXPIRED','deserializeToCombResponse','IUniverInstanceService','ENTITLE_CHAT_LIMIT_EXCEED','40390bZbFxW','getCollabEntity','ENTITLE_COUPON_USED_UP','_showConflictNotification','_handlerCallback','_entities','_getRedoStack','SNAPSHOT_HAS_BEEN_REMOVED','_transformRemoteChangesetByStateCache','_onRemoteRetry','CompressMutationService','stringify','collaboration_new_changeset','onMissingChangesets','createEncryptor','loadOfflineData','clamp','baseRev','Latin1','_doCreateSocket','default','objectType','SheetCollaborationEntity','SNAPSHOT_INVALID_SNAPSHOT','LIVESHARE_NEW_HOST','getUnit','HttpImport','HmacSHA1','parse','LOCAL_CACHE_INTERVAL_KEY','_retryConnectingTimer','hasOwnProperty','Hasher','sessionStatus$','dispose','/universer-api/oidc/authpage','symbol','prototype','SnapshotServerOverHTTPService','_joinRoom','[PendingState]:\x20received\x20rejection.','UNIVER_DOC','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','onStarting','body','onLocalMutation','_userManagerService','_emitMembers','_clearTimeoutTimer','CollaborationStatus','catch','_onFetchMissResult','_executeRemoteChangeset','duration','FETCH_MISS','FETCH_MISSING','initWorkbookPermissionChange','_doReset','$super','/unit/','160YjmEdW','enableCollaboration','textEncoder','Undefined','/new_changes','_commandService','indexOf','[CollaborationSession]','floor','pad','message$','forEach','online$','_unlockTransition','enableSingleActiveInstanceLock','ImageSourceType','onTransformSelections','length','_createHmacHelper','awaiting_with_pending','_mode','HEARTBEAT_INTERVAL','startsWith','getActiveSheet','authzUrl','operators','PasswordBasedCipher','InsertSheetMutation','univer-pro.collaboration-client.single-active-unit-service','collaMsg','reset','SetSelectionsOperation','_injector','YUUMI_ASYNCIO_CANCELLED','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','DataLoaderService','close$','connection\x20error','_rescheduleHeartbeat','JOIN_ROOM_NOT_EXISTS','YUUMI_SUBSCRIPTION_NOT_FOUND','newCsEvent','enc','AWAITING','_createHandler','getTypeOfUnitAdded$','YUUMI_CONNECTOR_URL_NOT_FOUND','disposeWithMe','ClipsheetFragments','CommandType','USERS_LEAVE','_sendHeartbeatTimer','unit-cache-','_onConnectionOpen','getTime','_changesetSessionId','params','_clearRetryConnectingTimer','LIVESHARE_TERMINATE','_permissionService','CollaborationSocketService','_awaitingChangeset','_getSendChangesetTimeout','setWaitCount','_redoStacks','create','transformChangesets','SUBMIT_CHANGESET_TIMEOUT','_unitInfo$','_schedule','addImageSourceCache','_state$','mutations','cfg','SheetsSelectionsService','apply','action','_waitForHeartbeatResponse','subscribe','concat','_tryReconnect','updateCursorEvent','session.room-not-exists','listRoles','__esModule','OfflineState','_logService','CONNECTOR_DATA_TOO_LARGE','SheetTransformSelectionsService','isPermissionRej','Disposable','setShowComponents','Inject','override','pending','_socketService','salt','PERSON','UnitEmbedded','PAYMENT_CHANNEL_NOT_SUPPORT','USER_NOT_INVITED_CODE','decryptBlock','MOBILE_VERIFY_CODE_MISMATCH','readInt32LE','offline','loginUrlKey','complete','collaboratorID','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','clone','batchAllowed','_changesetReqId','_timeoutTimer','Base64','collaborators','/universer-api/uniscript','getUnitId','Univer','removeMember','image/jpeg','IPermissionService','374850pvLNgq','defineProperty','takeUntil','encryptBlock','editingUnit','INGEST','members$','ThresholdInterceptorFactory','session.room-permission-denied','parseProtocolChangeset','Optional','lib','CBC','onRemoteChangeset','isTransformChangesetsSuccess','generateRandomId','_onLocalMutation','_unitID','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ILocalCacheService','@univerjs-pro/collaboration','_doCryptBlock','YUUMI_ALL_TABLES_IS_INVALID','UNAUTHENTICATED','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_keySchedule','subject','updateOfflineData','asObservable','repeat','permissionRejEvent','/universer-api/authz','loadUnitOfRevision','10nRtccV','put','getUnitOnRev','YUUMI_URL_COL_OUT_OF_RANGE','encode','PENDING','closeSession','CURRENT_STATUS_CANNOT_OPERATE','EMAIL_HAS_BEEN_BOUND','originalMeta','getDeserializedSheetBlock','_replaceFileID','then','charAt','synced','INVITE_CODE_HAS_BEEN_UES','LIVESHARE_OPERATION','_hasher','onTransformRemoteChangesetByIMECache','@univerjs/docs','ONLINE','_DEC_XFORM_MODE','COMPLETION_FINISHED','_undoStacks','[OfflineState]:\x20received\x20acknowledgement.','onTransformState','_doFinalize','&to=','collaboration-client.local-cache-service','BehaviorSubject','target','toDisposable','PY_RUNTIME_SCRIPT_ERROR','_clearRedo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','iterations','clear','hasher','getValue','userID','USER_NOT_FOUND','post','abs','_getUploadFileURL','IConfigService','HTTPService','delay','location','[CollaborationSessionService]','updateCollaborator','ILogService','_decreaseWaiting','/resources','GLOBAL_ROOMS_CNT_EXCEEDS','LICENSE_IMPORT_SIZE_EXCEEDED','ivSize','isArray','JSONX','add','BlockCipher','error','_submitChangeset','replace','_socketMessageSubscription','CONFLICT','APPLY_NON_SEQUENTIAL_REVISION','msCrypto','take','close','@univerjs/telemetry','APPLY_PERMISSION_DENIED','_collaborationTimeoutTimer','mode','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','compose','_cipher','getSheetId','MOBILE_HAS_BEEN_BOUND','_collabSessionService','CollaborationUIEventId','LIVESHARE_FETCH_OPERATIONS','__Key__','code','_init','saveSheetBlock','NoPadding','x-univer-host','UNIVER_PROJECT','subUnitId','_transformUndoredo','fromCharCode','INVITE_CODE_ALREADY_BOUND','mergeOverrideWithDependencies','_univerInstanceService','univer-pro.collaboration-client.network-condition.service','_members$','join','AWAITING_WITH_PENDING','url','_toggleOffline','HEARTBEAT_INTERVAL_KEY','unitId\x20is\x20not\x20found','/universer-api/comb','transformUndoRedo','_transformSelections','Error\x20on\x20receiving\x20event','ENSURE_SNAPSHOT_EXECUTION','RxDisposable','RichTextEditingMutation','sigBytes','formatter','_prevBlock','ERROR_AGAIN','updatePermissionPoint','Hex','YUUMI_AI_RUN_FAILED','MUTATION','ceil','USER_IS_ANONYMOUS','createSocket','_resendTimeout','_getAPIPrefixPath','&source=','createInstance','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_scheduleCompleteTimestamp','_singleActiveUnitService','RECV','max','RevisionService','UniverSheets','state$','LEAVE','uniscriptRunEvent','_transformIMECache','NEW_CHANGESETS','/fetchmissing?from=','focused$','UniverInstanceType','debug','_fetchMissChangesets','_compressMutationService','save\x20fail\x20reason\x20is\x20','_updateStatus','SUBMIT_CHANGESET','[SyncedState]:\x20received\x20rejection.','UNIVER_COLLABORATION_CLIENT_PLUGIN','_onConflict','find','slice','setConfig','parseChangesetToProtocol','_transformStack','getTypeOfUnitDisposed$','getInterceptPoints','_telemetryService','_candidateSocket','/collaborator','conflict','_sessionStatus$','__creator','_listenToNetworkCondition','withCredentials','UnitSnapshot','JOINING','IAuthzIoService','_undoRedoService','fetchThroughInterceptors','_collaborationPaused','SyncedState','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getSnapshotAPIPath','CollaborationSession','awaiting','words','OFFLINE','resolve','failed\x20to\x20apply\x20missed\x20changesets!','getRandomValues','Subject','COMMENT_UPDATE','object','textRanges','PendingState','MD5','_removeRoom','_xformMode','CollaborationSessionService','IMentionIOService','_keyPriorReset','readAsDataURL','_getAPIPrefix','routeKey','_sendHeartbeat','liveShareNewHost','image/jpg','APPLY_DUPLICATED','_invKeySchedule','[FetchMissState]','_initMergeInterceptor','YUUMI_UNABLE_LOAD_URL','_iv','/-/object/-/batch_allowed','awaitingChangeset','Decryptor','_handler','shareReplay','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','ciphertext','onlyLocal','_throwTelemetryCollaborationNewChangeset','SessionStatus','method','SerializableCipher','patch','getUnitType','_onUserJoin','_minBufferSize','MergeInterceptorFactory','LocaleService','session.room-full','USERS_ENTER','UniverTelemetry','shouldCloseConn','_exhaustRemoteChangesetQueue','reconnect','csAckEvent','\x20-\x20','_syncEditingCollabCursor','MentionIoHttpService','charCodeAt','CipherParams','type','_state','_sessions','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LOCAL_CACHE_INTERVAL','POST','NOT_FOUND','BufferedBlockAlgorithm','Workbook','_parse','[PendingState]:\x20unhandled\x20univer\x20type:\x20','actions','algo','encrypt','eventID','StreamCipher','ENTITLE_DUP_SUBSCRIPTION','IImageIoService','resourceIDs','_remoteChangesetQueue','pauseCollaboration','_reverseMap','_onUserLeave','stopTime','update','People','_getSignURL','unknown','LICENSE_MAX_UNITS_EXCEEDED','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_config','collabWebSocketUrl','HmacMD5','TOO_MANY_REQUESTS','REDEMPTION_USER_REDEEM_TIMES_EXCEED','function','avatar','HMAC','_tryEnsureSocket','_onCombEvent','mapDocumentTypeToUniverType','saveSnapshot','byteOffset','change$','_isPermissionRej','_clearScheduledTask','SHOULD_CLOSE_CONN','randomBytes','Could\x20not\x20dynamically\x20require\x20\x22','2MagVWd','toString','equals','init','/block/','_collaborationSessionService','_onRemoteChangeset','DATA_SOURCE_TOO_LARGE','leaveEvent','CollaborativeUndoRedoService','DocCollaborationEntity','registerHTTPInterceptor','YUUMI_NO_CUBOID_FOR_QUESTION','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CLOSE_ROOM','updateSnapshot','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','startTime','socket\x20close','ENTITLE_INSUFFICIENT_QUOTA','_transformService','_oKey','findIndex','createIdentifier','CollaborationImageIoService','rxjs','unitId','incrementRevOfUnit','values','{fileID}','AuthzIoHttpService','/object/','copyFileMeta','append','LIVESHARE_REQUEST_HOST','AwaitingState','IDLE','Injector','_transformRemoteChangesetByIMECache','createCollaborator','_socket$','objectID','_resendWithTimeout','csRejEvent','_members','onCommentUpdate','_onOffline','INVALID_ARGUMENT','ERROR_EXCEED_SIZE','_onRemoteACK','getOwnPropertyDescriptor','_instanceService','toggleOnline','_event$','_roomCreated$','Encryptor','setCurrentUser','_getDownloadEndpointURL','getCurrentUser','size','FAIL','saveChangeset','_getUndoStack','/role','error$','onSendChangeset','state','_append','REDEMPTION_INVALID_CODE','localeService','waitForRoom$','addHandlerCallback','[PendingState]:\x20received\x20acknowledgement.','_revisionService','executeCommand','_configService','send','getSheetBlock','getCollabEntity$','PSEUDO_FETCH_MISSING_RESULT','reqId','joinRsp','ReplaySubject','_disableEditing','DEFAULT_COLLAB_WEB_SOCKET_URL','toggleOffline','auth.needGotoLoginAlert','LICENSE_EXPORT_SIZE_EXCEEDED','UNRECOGNIZED','rxjs/operators','_startCollaboration','requireSession','UserManagerService','REDEMPTION_CODE_NOT_STARTED','isTransformMutationsWithChangesetSuccess','ENTITLE_REPORT_LIMIT_EXCEED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','format','INTERNAL_ERROR','?size=','_eventService','_updateLocalCache','getFocusedUnit','&assign=','collabSubmitChangesetUrl','UniverCollaborationClientPlugin','REDEMPTION_CODE_HAS_BEEN_CREATED','AUTHORIZE_CODE_ILLEGAL','PERMISSION_DENIED','_scheduleCollaborationTimeoutTimer','_updateState','concatMap','[CollaborationUndoRedoService]','MentionType','APPLY_REVISION_CONFILICT','m2Prime','ImageUploadStatusType','headers','socketService','UNIVER_SHEET','commentUpdateEvent','sendChangesetTimeout','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getGlobalObject','revision','changesets','mixIn','/universer-api/snapshot/','UNDEFINED','_onRemoteRejected'];_0x3e93=function(){return _0x490d76;};return _0x3e93();}(function(_0xce1ef6,_0x4d4e04){var _0x370d66=_0x4c70,_0x51f19b=_0xce1ef6();while(!![]){try{var _0x55be8f=parseInt(_0x370d66(0x437))/0x1+parseInt(_0x370d66(0x288))/0x2*(-parseInt(_0x370d66(0x41b))/0x3)+parseInt(_0x370d66(0x3a0))/0x4+parseInt(_0x370d66(0x3e3))/0x5*(parseInt(_0x370d66(0x40f))/0x6)+-parseInt(_0x370d66(0x14e))/0x7*(-parseInt(_0x370d66(0x473))/0x8)+parseInt(_0x370d66(0x3c9))/0x9*(-parseInt(_0x370d66(0x16f))/0xa)+parseInt(_0x370d66(0x363))/0xb;if(_0x55be8f===_0x4d4e04)break;else _0x51f19b['push'](_0x51f19b['shift']());}catch(_0x4b75c5){_0x51f19b['push'](_0x51f19b['shift']());}}}(_0x3e93,0xbe0dd),function(_0x2b0827,_0x42b577){var _0x1f5067=_0x4c70;typeof exports==_0x1f5067(0x224)&&typeof module<'u'?_0x42b577(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==_0x1f5067(0x27a)&&define[_0x1f5067(0x3ab)]?define([_0x1f5067(0x341),_0x1f5067(0x162),'@univerjs/core',_0x1f5067(0x182),_0x1f5067(0x3c3),_0x1f5067(0x2a1),_0x1f5067(0x1b4),_0x1f5067(0x2e1),_0x1f5067(0x32b),'@univerjs/drawing','@univerjs-pro/license'],_0x42b577):(_0x2b0827=typeof globalThis<'u'?globalThis:_0x2b0827||self,_0x42b577(_0x2b0827['UniverProCollaborationClient']={},_0x2b0827['UniverProCollaboration'],_0x2b0827['UniverCore'],_0x2b0827['UniverDocs'],_0x2b0827[_0x1f5067(0x1f1)],_0x2b0827['rxjs'],_0x2b0827[_0x1f5067(0x24d)],_0x2b0827[_0x1f5067(0x2a1)][_0x1f5067(0x48c)],_0x2b0827['UniverNetwork'],_0x2b0827[_0x1f5067(0x342)],_0x2b0827[_0x1f5067(0x3d0)]));}(this,function(_0x4fb88d,_0x7c64a,_0x2b4fd7,_0x29f018,_0x298669,_0x4a62d2,_0x573a6d,_0x2ce451,_0x16af73,_0x2a9ba3,_0x265748){'use strict';var _0x5bbf1c=_0x4c70;var _0x2364af=Object['defineProperty'],_0x5a8e39=(_0x18e243,_0x54e256,_0xaf1d74)=>_0x54e256 in _0x18e243?_0x2364af(_0x18e243,_0x54e256,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xaf1d74}):_0x18e243[_0x54e256]=_0xaf1d74,_0x42eac7=(_0x16d626,_0x460fad,_0x5065a9)=>_0x5a8e39(_0x16d626,typeof _0x460fad!=_0x5bbf1c(0x45b)?_0x460fad+'':_0x460fad,_0x5065a9);const _0x358c19=_0x5bbf1c(0x352),_0x1af021=_0x5bbf1c(0x379),_0x5e3653='ws://127.0.0.1:8000/universer-api/comb/connect',_0x4016b2='/universer-api/user/session-ticket',_0x256c38=_0x5bbf1c(0x488),_0x1fe136='HEARTBEAT_TIMEOUT',_0xf1dd4b=_0x5bbf1c(0x377),_0x2472d3=_0x5bbf1c(0x25b),_0x41ee66=_0x5bbf1c(0x1d5),_0xb3a27d=_0x5bbf1c(0x45a),_0x5c4c68=_0x5bbf1c(0x2e8),_0x4e7a4a=_0x5bbf1c(0x148);var _0x3be325=(_0x578ea7=>(_0x578ea7[_0x578ea7[_0x5bbf1c(0x308)]=0x0]=_0x5bbf1c(0x308),_0x578ea7[_0x578ea7['OK']=0x1]='OK',_0x578ea7[_0x578ea7[_0x5bbf1c(0x2ea)]=0x2]='INTERNAL_ERROR',_0x578ea7[_0x578ea7[_0x5bbf1c(0x2f4)]=0x3]=_0x5bbf1c(0x2f4),_0x578ea7[_0x578ea7['NOT_FOUND']=0x4]=_0x5bbf1c(0x25d),_0x578ea7[_0x578ea7[_0x5bbf1c(0x165)]=0x5]=_0x5bbf1c(0x165),_0x578ea7[_0x578ea7['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x578ea7[_0x578ea7[_0x5bbf1c(0x2b7)]=0x7]=_0x5bbf1c(0x2b7),_0x578ea7[_0x578ea7[_0x5bbf1c(0x278)]=0x8]=_0x5bbf1c(0x278),_0x578ea7[_0x578ea7['COMPLETION_FINISHED']=0x9]=_0x5bbf1c(0x185),_0x578ea7[_0x578ea7['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x578ea7[_0x578ea7[_0x5bbf1c(0x13b)]=0xb]=_0x5bbf1c(0x13b),_0x578ea7[_0x578ea7[_0x5bbf1c(0x25a)]=0xc]=_0x5bbf1c(0x25a),_0x578ea7[_0x578ea7['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x578ea7[_0x578ea7[_0x5bbf1c(0x3f1)]=0xe]=_0x5bbf1c(0x3f1),_0x578ea7[_0x578ea7['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x5bbf1c(0x2f3),_0x578ea7[_0x578ea7[_0x5bbf1c(0x3c5)]=0x10]=_0x5bbf1c(0x3c5),_0x578ea7[_0x578ea7['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x5bbf1c(0x176),_0x578ea7[_0x578ea7['ERROR_AGAIN']=0x65]=_0x5bbf1c(0x1df),_0x578ea7[_0x578ea7[_0x5bbf1c(0x197)]=0xc9]='USER_NOT_FOUND',_0x578ea7[_0x578ea7['USER_IS_ANONYMOUS']=0xca]=_0x5bbf1c(0x1e5),_0x578ea7[_0x578ea7[_0x5bbf1c(0x3d9)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x578ea7[_0x578ea7[_0x5bbf1c(0x44e)]=0x1771]=_0x5bbf1c(0x44e),_0x578ea7[_0x578ea7[_0x5bbf1c(0x43e)]=0x1772]=_0x5bbf1c(0x43e),_0x578ea7[_0x578ea7['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5bbf1c(0x1d9),_0x578ea7[_0x578ea7[_0x5bbf1c(0x39b)]=0x1b59]='APPLY_REJECT',_0x578ea7[_0x578ea7[_0x5bbf1c(0x1b0)]=0x1b5a]=_0x5bbf1c(0x1b0),_0x578ea7[_0x578ea7[_0x5bbf1c(0x2fa)]=0x1b5b]=_0x5bbf1c(0x2fa),_0x578ea7[_0x578ea7['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5bbf1c(0x1b5),_0x578ea7[_0x578ea7[_0x5bbf1c(0x233)]=0x1b5d]=_0x5bbf1c(0x233),_0x578ea7[_0x578ea7[_0x5bbf1c(0x12c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x578ea7[_0x578ea7[_0x5bbf1c(0x273)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x578ea7[_0x578ea7[_0x5bbf1c(0x191)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x578ea7[_0x578ea7[_0x5bbf1c(0x1a5)]=0x232b]=_0x5bbf1c(0x1a5),_0x578ea7[_0x578ea7[_0x5bbf1c(0x2df)]=0x232c]=_0x5bbf1c(0x2df),_0x578ea7[_0x578ea7['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x578ea7[_0x578ea7[_0x5bbf1c(0x237)]=0x2711]=_0x5bbf1c(0x237),_0x578ea7[_0x578ea7[_0x5bbf1c(0x172)]=0x2712]=_0x5bbf1c(0x172),_0x578ea7[_0x578ea7['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x578ea7[_0x578ea7[_0x5bbf1c(0x49b)]=0x2714]=_0x5bbf1c(0x49b),_0x578ea7[_0x578ea7[_0x5bbf1c(0x294)]=0x271a]=_0x5bbf1c(0x294),_0x578ea7[_0x578ea7[_0x5bbf1c(0x494)]=0x271b]=_0x5bbf1c(0x494),_0x578ea7[_0x578ea7['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x578ea7[_0x578ea7[_0x5bbf1c(0x164)]=0x271d]=_0x5bbf1c(0x164),_0x578ea7[_0x578ea7[_0x5bbf1c(0x384)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x578ea7[_0x578ea7[_0x5bbf1c(0x1e2)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x578ea7[_0x578ea7[_0x5bbf1c(0x103)]=0x2720]=_0x5bbf1c(0x103),_0x578ea7[_0x578ea7[_0x5bbf1c(0x18f)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x578ea7[_0x578ea7[_0x5bbf1c(0x17e)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x578ea7[_0x578ea7[_0x5bbf1c(0x338)]=0x2ee2]='INVALID_INVITE_CODE',_0x578ea7[_0x578ea7['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5bbf1c(0x30e),_0x578ea7[_0x578ea7[_0x5bbf1c(0x139)]=0x2ee4]=_0x5bbf1c(0x139),_0x578ea7[_0x578ea7['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5bbf1c(0x1ca),_0x578ea7[_0x578ea7[_0x5bbf1c(0x380)]=0x32c9]=_0x5bbf1c(0x380),_0x578ea7[_0x578ea7[_0x5bbf1c(0x1bc)]=0x32ca]=_0x5bbf1c(0x1bc),_0x578ea7[_0x578ea7[_0x5bbf1c(0x177)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x578ea7[_0x578ea7[_0x5bbf1c(0x42f)]=0x36b1]=_0x5bbf1c(0x42f),_0x578ea7[_0x578ea7[_0x5bbf1c(0x335)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x578ea7[_0x578ea7[_0x5bbf1c(0x267)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x578ea7[_0x578ea7[_0x5bbf1c(0x138)]=0x36b4]=_0x5bbf1c(0x138),_0x578ea7[_0x578ea7[_0x5bbf1c(0x418)]=0x36b5]=_0x5bbf1c(0x418),_0x578ea7[_0x578ea7[_0x5bbf1c(0x433)]=0x36b6]=_0x5bbf1c(0x433),_0x578ea7[_0x578ea7[_0x5bbf1c(0x439)]=0x36b7]=_0x5bbf1c(0x439),_0x578ea7[_0x578ea7['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x5bbf1c(0x3f7),_0x578ea7[_0x578ea7[_0x5bbf1c(0x436)]=0x3715]=_0x5bbf1c(0x436),_0x578ea7[_0x578ea7[_0x5bbf1c(0x2e7)]=0x3716]=_0x5bbf1c(0x2e7),_0x578ea7[_0x578ea7['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x5bbf1c(0x29b),_0x578ea7[_0x578ea7[_0x5bbf1c(0x3a3)]=0x37dd]=_0x5bbf1c(0x3a3),_0x578ea7[_0x578ea7[_0x5bbf1c(0x2cc)]=0x3a99]=_0x5bbf1c(0x2cc),_0x578ea7[_0x578ea7[_0x5bbf1c(0x3c2)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x578ea7[_0x578ea7[_0x5bbf1c(0x346)]=0x3a9b]=_0x5bbf1c(0x346),_0x578ea7[_0x578ea7[_0x5bbf1c(0x2e5)]=0x3a9c]=_0x5bbf1c(0x2e5),_0x578ea7[_0x578ea7['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x5bbf1c(0x378),_0x578ea7[_0x578ea7[_0x5bbf1c(0x279)]=0x3a9e]=_0x5bbf1c(0x279),_0x578ea7[_0x578ea7[_0x5bbf1c(0x2f2)]=0x3a9f]=_0x5bbf1c(0x2f2),_0x578ea7[_0x578ea7[_0x5bbf1c(0x28f)]=0x3e81]=_0x5bbf1c(0x28f),_0x578ea7[_0x578ea7[_0x5bbf1c(0x2e0)]=-0x1]=_0x5bbf1c(0x2e0),_0x578ea7))(_0x3be325||{}),_0x55524d=(_0x3dbf3e=>(_0x3dbf3e[_0x3dbf3e[_0x5bbf1c(0x372)]=0x0]=_0x5bbf1c(0x372),_0x3dbf3e[_0x3dbf3e[_0x5bbf1c(0x460)]=0x1]=_0x5bbf1c(0x460),_0x3dbf3e[_0x3dbf3e[_0x5bbf1c(0x2ff)]=0x2]=_0x5bbf1c(0x2ff),_0x3dbf3e[_0x3dbf3e[_0x5bbf1c(0x3ac)]=0x3]=_0x5bbf1c(0x3ac),_0x3dbf3e[_0x3dbf3e[_0x5bbf1c(0x1c6)]=0x4]='UNIVER_PROJECT',_0x3dbf3e[_0x3dbf3e[_0x5bbf1c(0x2e0)]=-0x1]=_0x5bbf1c(0x2e0),_0x3dbf3e))(_0x55524d||{}),_0x98e68=(_0xf1254d=>(_0xf1254d[_0xf1254d['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0xf1254d[_0xf1254d[_0x5bbf1c(0x407)]=0x1]=_0x5bbf1c(0x407),_0xf1254d[_0xf1254d[_0x5bbf1c(0x366)]=0x2]=_0x5bbf1c(0x366),_0xf1254d[_0xf1254d[_0x5bbf1c(0x1f3)]=0x3]='LEAVE',_0xf1254d[_0xf1254d['INGEST']=0x4]='INGEST',_0xf1254d[_0xf1254d[_0x5bbf1c(0x3f3)]=0x5]='HEARTBEAT',_0xf1254d[_0xf1254d[_0x5bbf1c(0x1ee)]=0x6]='RECV',_0xf1254d[_0xf1254d[_0x5bbf1c(0x2e0)]=-0x1]=_0x5bbf1c(0x2e0),_0xf1254d))(_0x98e68||{}),_0x18729d=(_0x96bf2e=>(_0x96bf2e[_0x96bf2e[_0x5bbf1c(0x409)]=0x0]=_0x5bbf1c(0x409),_0x96bf2e[_0x96bf2e['OK']=0x1]='OK',_0x96bf2e[_0x96bf2e['FAIL']=0x2]=_0x5bbf1c(0x2c4),_0x96bf2e[_0x96bf2e['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x96bf2e[_0x96bf2e[_0x5bbf1c(0x49a)]=0x3ea]=_0x5bbf1c(0x49a),_0x96bf2e[_0x96bf2e[_0x5bbf1c(0x339)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x96bf2e[_0x96bf2e[_0x5bbf1c(0x1a4)]=0x3ec]=_0x5bbf1c(0x1a4),_0x96bf2e[_0x96bf2e[_0x5bbf1c(0x2e0)]=-0x1]=_0x5bbf1c(0x2e0),_0x96bf2e))(_0x18729d||{}),_0x2d386b=(_0x548d74=>(_0x548d74[_0x548d74[_0x5bbf1c(0x476)]=0x0]=_0x5bbf1c(0x476),_0x548d74[_0x548d74[_0x5bbf1c(0x451)]=0x1]=_0x5bbf1c(0x451),_0x548d74[_0x548d74['HttpExport']=0x2]=_0x5bbf1c(0x386),_0x548d74[_0x548d74[_0x5bbf1c(0x137)]=0x3]=_0x5bbf1c(0x137),_0x548d74[_0x548d74[_0x5bbf1c(0x212)]=0x4]=_0x5bbf1c(0x212),_0x548d74[_0x548d74[_0x5bbf1c(0x383)]=0x5]=_0x5bbf1c(0x383),_0x548d74[_0x548d74['ClipsheetFragments']=0x6]=_0x5bbf1c(0x105),_0x548d74[_0x548d74[_0x5bbf1c(0x2e0)]=-0x1]=_0x5bbf1c(0x2e0),_0x548d74))(_0x2d386b||{});const _0x2fabab=_0x5bbf1c(0x443);function _0xb9ed3c(_0x5d0206){var _0x37171a=_0x5bbf1c;return JSON['stringify'](_0x5d0206)[_0x37171a(0x484)];}var _0x1814a0=(_0x48aa24=>(_0x48aa24[_0x5bbf1c(0x369)]=_0x5bbf1c(0x369),_0x48aa24['PERMISSION_DENIED']='PERMISSION_DENIED',_0x48aa24[_0x5bbf1c(0x1af)]=_0x5bbf1c(0x1af),_0x48aa24[_0x5bbf1c(0x296)]=_0x5bbf1c(0x296),_0x48aa24[_0x5bbf1c(0x381)]=_0x5bbf1c(0x381),_0x48aa24[_0x5bbf1c(0x3e7)]='SOCKET_FAILED_RETRY',_0x48aa24[_0x5bbf1c(0x373)]=_0x5bbf1c(0x373),_0x48aa24[_0x5bbf1c(0x118)]='SUBMIT_CHANGESET_TIMEOUT',_0x48aa24))(_0x1814a0||{});class _0x3e8fc1{constructor(){var _0x4eb1cd=_0x5bbf1c;_0x42eac7(this,_0x4eb1cd(0x2bd),new _0x4a62d2[(_0x4eb1cd(0x222))]()),_0x42eac7(this,_0x4eb1cd(0x353),this[_0x4eb1cd(0x2bd)][_0x4eb1cd(0x16a)]());}[_0x5bbf1c(0x38e)](_0x3189b7){var _0x53d2ee=_0x5bbf1c;this[_0x53d2ee(0x2bd)][_0x53d2ee(0x3d7)](_0x3189b7);}}class _0x1912f6{constructor(){var _0x1f28e3=_0x5bbf1c;_0x42eac7(this,_0x1f28e3(0x3cd),new _0x4a62d2[(_0x1f28e3(0x222))]()),_0x42eac7(this,'commentUpdate$',this['_commentUpdate$'][_0x1f28e3(0x16a)]());}[_0x5bbf1c(0x2b5)](_0x5ec49c){var _0x78b309=_0x5bbf1c;this['_commentUpdate$'][_0x78b309(0x3d7)](_0x5ec49c);}}var _0xbb6521=Object[_0x5bbf1c(0x2ba)],_0x58a5c8=(_0xbce273,_0x3bd0d7,_0x559746,_0x4de307)=>{var _0x30f42d=_0x5bbf1c;for(var _0x40cf95=_0x4de307>0x1?void 0x0:_0x4de307?_0xbb6521(_0x3bd0d7,_0x559746):_0x3bd0d7,_0x4cee1a=_0xbce273[_0x30f42d(0x484)]-0x1,_0x80d2ca;_0x4cee1a>=0x0;_0x4cee1a--)(_0x80d2ca=_0xbce273[_0x4cee1a])&&(_0x40cf95=_0x80d2ca(_0x40cf95)||_0x40cf95);return _0x40cf95;},_0x346a69=(_0x125ebc,_0x5e318e)=>(_0x5b2a82,_0x3e9ef4)=>_0x5e318e(_0x5b2a82,_0x3e9ef4,_0x125ebc);_0x4fb88d['MemberService']=class extends _0x2b4fd7[_0x5bbf1c(0x12f)]{constructor(_0x4b007c,_0xa59c25){var _0x289933=_0x5bbf1c;super(),_0x42eac7(this,_0x289933(0x343),new Map()),_0x42eac7(this,_0x289933(0x2be),new _0x4a62d2['Subject']()),(this[_0x289933(0x1cc)]=_0x4b007c,this[_0x289933(0x465)]=_0xa59c25,this[_0x289933(0x104)](_0x4a62d2[_0x289933(0x402)](this['_univerInstanceService'][_0x289933(0x208)](_0x2b4fd7['UniverInstanceType'][_0x289933(0x2ff)])['pipe'](_0x2ce451[_0x289933(0x398)](_0x2c146f=>_0x2c146f[_0x289933(0x149)]())),this[_0x289933(0x1cc)][_0x289933(0x208)](_0x2b4fd7[_0x289933(0x1f9)][_0x289933(0x460)])['pipe'](_0x2ce451[_0x289933(0x398)](_0x14e237=>_0x14e237[_0x289933(0x149)]())),this['_univerInstanceService'][_0x289933(0x208)](_0x2b4fd7[_0x289933(0x1f9)][_0x289933(0x3ac)])[_0x289933(0x337)](_0x2ce451['map'](_0x11d5a1=>_0x11d5a1['getUnitId']())))[_0x289933(0x123)](_0xd4a983=>this[_0x289933(0x228)](_0xd4a983))));}[_0x5bbf1c(0x2ce)](_0x31615b){var _0xa3a3bc=_0x5bbf1c;return this['_roomMembers']['has'](_0x31615b)?_0x4a62d2['of'](this[_0xa3a3bc(0x343)][_0xa3a3bc(0x3cb)](_0x31615b)):this[_0xa3a3bc(0x2be)][_0xa3a3bc(0x337)](_0x2ce451[_0xa3a3bc(0x398)](_0x44035c=>{var _0x6bad3d=_0xa3a3bc;if(_0x44035c===_0x31615b)return this[_0x6bad3d(0x343)][_0x6bad3d(0x3cb)](_0x44035c);}));}[_0x5bbf1c(0x2c0)](_0x2b11bf){var _0x6972e0=_0x5bbf1c;this[_0x6972e0(0x465)][_0x6972e0(0x2c0)](_0x2b11bf);}[_0x5bbf1c(0x2c2)](){var _0x5e45ba=_0x5bbf1c;return this['_userManagerService'][_0x5e45ba(0x2c2)]();}[_0x5bbf1c(0x394)](_0x5b0d47,_0x45bee2){var _0x3523b9=_0x5bbf1c;let _0x3cf090=this[_0x3523b9(0x343)][_0x3523b9(0x3cb)](_0x5b0d47);_0x3cf090||(_0x3cf090=new _0x17016f(),this['_roomMembers']['set'](_0x5b0d47,_0x3cf090),this[_0x3523b9(0x2be)][_0x3523b9(0x3d7)](_0x5b0d47)),_0x3cf090[_0x3523b9(0x394)](_0x45bee2);}[_0x5bbf1c(0x14b)](_0x57b5e1,_0x64c470){var _0x2e0d1f=_0x5bbf1c;const _0x1fc600=this[_0x2e0d1f(0x343)][_0x2e0d1f(0x3cb)](_0x57b5e1);_0x1fc600&&_0x1fc600[_0x2e0d1f(0x14b)](_0x64c470);}['getRoom'](_0xd1d75d){var _0x1b65ff=_0x5bbf1c;return this[_0x1b65ff(0x343)][_0x1b65ff(0x3cb)](_0xd1d75d);}[_0x5bbf1c(0x40c)](_0x5bd12a,_0x3ead6d){var _0x396eeb=_0x5bbf1c;const _0x553f6a=this[_0x396eeb(0x343)][_0x396eeb(0x3cb)](_0x5bd12a);if(_0x553f6a)return _0x553f6a[_0x396eeb(0x40c)](_0x3ead6d);}[_0x5bbf1c(0x228)](_0x5c8192){var _0x520a99=_0x5bbf1c;const _0x461ee0=this[_0x520a99(0x343)]['get'](_0x5c8192);_0x461ee0&&(_0x461ee0['dispose'](),this[_0x520a99(0x343)][_0x520a99(0x3fe)](_0x5c8192));}[_0x5bbf1c(0x459)](){var _0x362a2a=_0x5bbf1c;this[_0x362a2a(0x343)]['forEach'](_0x19b68c=>_0x19b68c[_0x362a2a(0x459)]()),this[_0x362a2a(0x343)][_0x362a2a(0x193)](),this[_0x362a2a(0x2be)][_0x362a2a(0x13f)]();}},_0x4fb88d[_0x5bbf1c(0x3cf)]=_0x58a5c8([_0x346a69(0x0,_0x2b4fd7[_0x5bbf1c(0x435)]),_0x346a69(0x1,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x2e4)]))],_0x4fb88d['MemberService']);class _0x17016f extends _0x2b4fd7['Disposable']{constructor(){var _0x4364b4=_0x5bbf1c;super(...arguments),_0x42eac7(this,_0x4364b4(0x2b4),new Map()),_0x42eac7(this,'_members$',new _0x4a62d2['BehaviorSubject'](this['_members'])),_0x42eac7(this,_0x4364b4(0x154),this[_0x4364b4(0x1ce)][_0x4364b4(0x16a)]());}[_0x5bbf1c(0x459)](){var _0x1993f1=_0x5bbf1c;this['_members'][_0x1993f1(0x193)]();}[_0x5bbf1c(0x394)](_0x33ea84){var _0x4fce5b=_0x5bbf1c;this[_0x4fce5b(0x2b4)]['set'](_0x33ea84[_0x4fce5b(0x3e0)],_0x33ea84),this[_0x4fce5b(0x466)]();}[_0x5bbf1c(0x14b)](_0xebcbb7){var _0x1e874e=_0x5bbf1c;this[_0x1e874e(0x2b4)][_0x1e874e(0x3fe)](_0xebcbb7);}[_0x5bbf1c(0x40c)](_0x30a1d9){var _0x42b926=_0x5bbf1c;return this[_0x42b926(0x2b4)][_0x42b926(0x3cb)](_0x30a1d9);}[_0x5bbf1c(0x3bd)](){var _0x1c3eb2=_0x5bbf1c;return Array['from'](this[_0x1c3eb2(0x2b4)][_0x1c3eb2(0x2a4)]());}[_0x5bbf1c(0x466)](){var _0x520422=_0x5bbf1c;this[_0x520422(0x1ce)][_0x520422(0x3d7)](this[_0x520422(0x2b4)]);}}var _0x11cc38=Object[_0x5bbf1c(0x2ba)],_0x348146=(_0x411016,_0x42b84,_0x7a484d,_0x368992)=>{var _0x124cfb=_0x5bbf1c;for(var _0x3f4b93=_0x368992>0x1?void 0x0:_0x368992?_0x11cc38(_0x42b84,_0x7a484d):_0x42b84,_0x6c85a5=_0x411016[_0x124cfb(0x484)]-0x1,_0x110785;_0x6c85a5>=0x0;_0x6c85a5--)(_0x110785=_0x411016[_0x6c85a5])&&(_0x3f4b93=_0x110785(_0x3f4b93)||_0x3f4b93);return _0x3f4b93;},_0x258906=(_0xe08417,_0x586769)=>(_0x3cd782,_0xa02ce3)=>_0x586769(_0x3cd782,_0xa02ce3,_0xe08417),_0x56c9a9=(_0x3914fd=>(_0x3914fd[_0x3914fd[_0x5bbf1c(0x2ac)]=0x0]='IDLE',_0x3914fd[_0x3914fd[_0x5bbf1c(0x213)]=0x1]=_0x5bbf1c(0x213),_0x3914fd[_0x3914fd['OFFLINE']=0x2]=_0x5bbf1c(0x21e),_0x3914fd[_0x3914fd[_0x5bbf1c(0x183)]=0x3]=_0x5bbf1c(0x183),_0x3914fd))(_0x56c9a9||{});const _0x2ed7e4={[_0x18729d[_0x5bbf1c(0x2c4)]]:'session.join-failed',[_0x18729d['JOIN_ROOM_FULL']]:_0x5bbf1c(0x24b),[_0x18729d[_0x5bbf1c(0x49a)]]:_0x5bbf1c(0x127),[_0x18729d[_0x5bbf1c(0x339)]]:_0x5bbf1c(0x156),[_0x18729d[_0x5bbf1c(0x1a4)]]:_0x5bbf1c(0x405)};_0x4fb88d['CollaborationSession']=class extends _0x2b4fd7[_0x5bbf1c(0x1da)]{constructor(_0x526cdd,_0xfc66b0,_0xeec15,_0x5c31ef,_0x17b945,_0x37c0b1,_0x1d70dc,_0x2564d5){var _0x7f9430=_0x5bbf1c;super(),_0x42eac7(this,'_sessionStatus$',new _0x4a62d2[(_0x7f9430(0x18c))](0x0)),_0x42eac7(this,'sessionStatus$',this['_sessionStatus$']['asObservable']()),_0x42eac7(this,_0x7f9430(0x2bd),new _0x4a62d2[(_0x7f9430(0x222))]()),_0x42eac7(this,_0x7f9430(0x353),this[_0x7f9430(0x2bd)][_0x7f9430(0x16a)]()),_0x42eac7(this,_0x7f9430(0x332)),_0x42eac7(this,_0x7f9430(0x1ae)),_0x42eac7(this,_0x7f9430(0x1b6)),_0x42eac7(this,_0x7f9430(0x358),!0x1),_0x42eac7(this,'_telemetryInfo',null),(this[_0x7f9430(0x15f)]=_0x526cdd,this[_0x7f9430(0x12b)]=_0xeec15,this['_configService']=_0x5c31ef,this[_0x7f9430(0x32c)]=_0x17b945,this[_0x7f9430(0x349)]=_0x37c0b1,this[_0x7f9430(0x40d)]=_0x1d70dc,this[_0x7f9430(0x20a)]=_0x2564d5,this[_0x7f9430(0x358)]=!!this[_0x7f9430(0x20a)],_0xfc66b0[_0x7f9430(0x337)](_0x4a62d2[_0x7f9430(0x150)](this[_0x7f9430(0x404)]))[_0x7f9430(0x123)](_0x2e7309=>{var _0x157360=_0x7f9430,_0x5180f1;typeof _0x2e7309>'u'||(this[_0x157360(0x332)]=_0x2e7309,_0x2e7309?(this[_0x157360(0x45e)](_0x2e7309),this[_0x157360(0x1ae)]=_0x2e7309[_0x157360(0x47d)]['subscribe'](_0x78ecc9=>{var _0x181841=_0x157360;_0x78ecc9[_0x181841(0x22f)]===this[_0x181841(0x15f)]&&this['_onCombEvent'](_0x78ecc9);})):(this[_0x157360(0x241)](),this['_sessionStatus$'][_0x157360(0x3d7)](0x2),(_0x5180f1=this[_0x157360(0x1ae)])==null||_0x5180f1[_0x157360(0x39c)](),this['_socketMessageSubscription']=null));}));}get[_0x5bbf1c(0x417)](){var _0x374011=_0x5bbf1c;return this[_0x374011(0x20e)][_0x374011(0x195)]();}['getMemberID'](){var _0x6ab66=_0x5bbf1c,_0x557185,_0x15c89a;return(_0x15c89a=(_0x557185=this[_0x6ab66(0x332)])==null?void 0x0:_0x557185[_0x6ab66(0x3e0)])!=null?_0x15c89a:null;}[_0x5bbf1c(0x459)](){var _0x544bac=_0x5bbf1c;super['dispose'](),this[_0x544bac(0x404)][_0x544bac(0x3d7)](),this[_0x544bac(0x404)]['complete']();}[_0x5bbf1c(0x1b3)](){var _0x26031a=_0x5bbf1c,_0x33d97b,_0x11fb98;this[_0x26031a(0x241)](),(_0x33d97b=this[_0x26031a(0x332)])==null||_0x33d97b['send']({'cmd':_0x98e68['LEAVE'],'data':{'roomID':this[_0x26031a(0x15f)]}}),(_0x11fb98=this[_0x26031a(0x332)])==null||_0x11fb98['close'](),this[_0x26031a(0x2bd)][_0x26031a(0x13f)](),this['_sessionStatus$'][_0x26031a(0x13f)](),this[_0x26031a(0x459)]();}[_0x5bbf1c(0x27e)](_0x16a32c){var _0x46c50c=_0x5bbf1c;_0x16a32c[_0x46c50c(0x30d)]===_0x98e68['JOIN']?this[_0x46c50c(0x36c)](_0x16a32c):_0x16a32c[_0x46c50c(0x30d)]===_0x98e68['RECV']&&this[_0x46c50c(0x3c4)](_0x16a32c);}[_0x5bbf1c(0x45e)](_0x4aa42b){var _0x23e8c8=_0x5bbf1c;this[_0x23e8c8(0x20e)][_0x23e8c8(0x3d7)](0x1),_0x4aa42b[_0x23e8c8(0x2d4)]({'cmd':_0x98e68['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x23e8c8(0x15f)]}]}});}[_0x5bbf1c(0x36c)](_0x4f81d9){var _0x4bba61=_0x5bbf1c,_0x4d5d0b;if(_0x4f81d9[_0x4bba61(0x1c1)]in _0x2ed7e4){this[_0x4bba61(0x40d)]['emitEvent']({'id':_0x1814a0['JOIN_ROOM_FAILED'],'data':_0x2ed7e4[_0x4f81d9['code']]}),this[_0x4bba61(0x20e)][_0x4bba61(0x3d7)](0x2);return;}this[_0x4bba61(0x20e)][_0x4bba61(0x3d7)](0x3);const _0x37c124=(_0x4d5d0b=_0x4f81d9['data'][_0x4bba61(0x40e)][this['_unitID']])==null?void 0x0:_0x4d5d0b[_0x4bba61(0x41f)];_0x37c124&&_0x37c124[_0x4bba61(0x47e)](_0x33c702=>this[_0x4bba61(0x32c)][_0x4bba61(0x394)](this[_0x4bba61(0x15f)],_0x33c702));}[_0x5bbf1c(0x3c4)](_0x5a0544){var _0x4f6a7f=_0x5bbf1c;try{const _0x377709=_0x5a0544[_0x4f6a7f(0x397)];switch(_0x377709[_0x4f6a7f(0x265)]){case _0x7c64a['CollaborationEvent'][_0x4f6a7f(0x24c)]:this[_0x4f6a7f(0x247)](_0x377709),this[_0x4f6a7f(0x2bd)][_0x4f6a7f(0x3d7)](_0x377709);break;case _0x7c64a[_0x4f6a7f(0x426)][_0x4f6a7f(0x107)]:this[_0x4f6a7f(0x26d)](_0x377709),this[_0x4f6a7f(0x2bd)]['next'](_0x377709);break;case _0x7c64a['CollaborationEvent'][_0x4f6a7f(0x416)]:case _0x7c64a[_0x4f6a7f(0x426)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x4f6a7f(0x314)](),this[_0x4f6a7f(0x2bd)][_0x4f6a7f(0x3d7)](_0x377709);break;case _0x7c64a[_0x4f6a7f(0x426)][_0x4f6a7f(0x3c8)]:this[_0x4f6a7f(0x12b)][_0x4f6a7f(0x1ab)](_0x4f6a7f(0x1fd)+JSON[_0x4f6a7f(0x442)](_0x377709)),this['_event$'][_0x4f6a7f(0x3d7)](_0x377709);break;case _0x7c64a[_0x4f6a7f(0x426)]['COMMENT_UPDATE']:this['_commentService'][_0x4f6a7f(0x2b5)](_0x377709[_0x4f6a7f(0x397)]),this[_0x4f6a7f(0x2bd)][_0x4f6a7f(0x3d7)](_0x377709);break;default:this[_0x4f6a7f(0x2bd)][_0x4f6a7f(0x3d7)](_0x377709);}}catch(_0x59cab6){this['_logService'][_0x4f6a7f(0x1ab)](_0x59cab6,_0x5a0544);}}[_0x5bbf1c(0x247)](_0x545338){var _0x1fafc7=_0x5bbf1c;this[_0x1fafc7(0x32c)][_0x1fafc7(0x394)](this[_0x1fafc7(0x15f)],_0x545338['data']);}[_0x5bbf1c(0x26d)](_0x3a5ada){var _0x36e4aa=_0x5bbf1c;this[_0x36e4aa(0x32c)][_0x36e4aa(0x14b)](this[_0x36e4aa(0x15f)],_0x3a5ada[_0x36e4aa(0x397)][_0x36e4aa(0x3e0)]);}async[_0x5bbf1c(0x2d4)](_0x3ab873,_0x2819e5){var _0x12657f=_0x5bbf1c;if(this[_0x12657f(0x417)]!==0x3||!this['_socket'])throw new Error(_0x12657f(0x461));try{_0x3ab873['eventID']===_0x7c64a[_0x12657f(0x426)][_0x12657f(0x1ff)]&&(this[_0x12657f(0x2f5)](),this[_0x12657f(0x30f)](_0x3ab873)),this[_0x12657f(0x332)]['send']({'cmd':_0x98e68['INGEST'],'routeKey':_0x2819e5,'routeType':'','data':_0x3ab873});}catch(_0x302200){this[_0x12657f(0x12b)]['error'](_0x302200);}}[_0x5bbf1c(0x2f5)](){var _0x5e2dd5=_0x5bbf1c,_0x527475;this[_0x5e2dd5(0x1b6)]=setTimeout(()=>{var _0x3cabdf=_0x5e2dd5;this[_0x3cabdf(0x1b6)]=null,this[_0x3cabdf(0x40d)][_0x3cabdf(0x38e)]({'id':_0x1814a0[_0x3cabdf(0x118)]});},(_0x527475=this['_configService']['getConfig'](_0x1fe136))!=null?_0x527475:0x4e20);}[_0x5bbf1c(0x314)](){var _0x19dd31=_0x5bbf1c;this[_0x19dd31(0x1b6)]&&(clearTimeout(this[_0x19dd31(0x1b6)]),this[_0x19dd31(0x1b6)]=null);}[_0x5bbf1c(0x30f)](_0x3515ac){var _0x1f4651=_0x5bbf1c;if(!this[_0x1f4651(0x358)])return;const {data:_0x4e8561}=_0x3515ac,{unitID:_0x3723f9,changeset:_0x4eeb6d}=_0x4e8561,{mutations:_0x382a7a,type:_0x1c5d8d}=_0x4eeb6d;this[_0x1f4651(0x3b1)]={'unitId':_0x3723f9,'type':_0x1c5d8d,'startTime':performance[_0x1f4651(0x31e)](),'stopTime':0x0,'duration':0x0,'size':_0xb9ed3c(_0x382a7a)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1f8e8e=_0x5bbf1c;if(this[_0x1f8e8e(0x358)]){if(!this[_0x1f8e8e(0x3b1)]){this['_logService'][_0x1f8e8e(0x1ab)](_0x1f8e8e(0x47a),_0x1f8e8e(0x3e2));return;}this[_0x1f8e8e(0x3b1)][_0x1f8e8e(0x26e)]=performance[_0x1f8e8e(0x31e)](),this[_0x1f8e8e(0x3b1)][_0x1f8e8e(0x46c)]=this[_0x1f8e8e(0x3b1)]['stopTime']-this[_0x1f8e8e(0x3b1)][_0x1f8e8e(0x299)],this[_0x1f8e8e(0x20a)]['capture'](_0x2fabab,this[_0x1f8e8e(0x3b1)]),this[_0x1f8e8e(0x3b1)]=null;}}[_0x5bbf1c(0x241)](){this['_telemetryInfo']=null;}},_0x4fb88d[_0x5bbf1c(0x21b)]=_0x348146([_0x258906(0x2,_0x2b4fd7[_0x5bbf1c(0x1a1)]),_0x258906(0x3,_0x2b4fd7['IConfigService']),_0x258906(0x4,_0x2b4fd7[_0x5bbf1c(0x131)](_0x4fb88d[_0x5bbf1c(0x3cf)])),_0x258906(0x5,_0x2b4fd7[_0x5bbf1c(0x131)](_0x1912f6)),_0x258906(0x6,_0x2b4fd7[_0x5bbf1c(0x131)](_0x3e8fc1)),_0x258906(0x7,_0x2b4fd7[_0x5bbf1c(0x158)](_0x573a6d['ITelemetryService']))],_0x4fb88d[_0x5bbf1c(0x21b)]);const _0x60630c=_0x2b4fd7[_0x5bbf1c(0x29f)](_0x5bbf1c(0x18b));function _0x4ec2c3(_0x3ba60a){var _0x37cbf2=_0x5bbf1c;return _0x37cbf2(0x109)+_0x3ba60a;}var _0x105bd0=Object['getOwnPropertyDescriptor'],_0xeaacfd=(_0x5006fd,_0x5129fd,_0x16d1e6,_0x40ed3a)=>{for(var _0x339fc8=_0x40ed3a>0x1?void 0x0:_0x40ed3a?_0x105bd0(_0x5129fd,_0x16d1e6):_0x5129fd,_0x36a40f=_0x5006fd['length']-0x1,_0x3a3578;_0x36a40f>=0x0;_0x36a40f--)(_0x3a3578=_0x5006fd[_0x36a40f])&&(_0x339fc8=_0x3a3578(_0x339fc8)||_0x339fc8);return _0x339fc8;},_0x564e4e=(_0x7fc2e1,_0x164d18)=>(_0x5aa0ff,_0x29b17a)=>_0x164d18(_0x5aa0ff,_0x29b17a,_0x7fc2e1);function _0x468e6a(_0x164558){var _0x53f3bf=_0x5bbf1c;const {unitID:_0x5a6668,mutations:_0x32e600}=_0x164558;return{'unitId':_0x5a6668,'subUnitId':_0x32e600[_0x53f3bf(0x484)]>0x0?_0x32e600[0x0]['params'][_0x53f3bf(0x1c7)]:null};}_0x4fb88d['SheetTransformSelectionsService']=class{constructor(_0x1342bb,_0x103fea,_0x59e983){var _0x1a4ea6=_0x5bbf1c;this[_0x1a4ea6(0x493)]=_0x1342bb,this[_0x1a4ea6(0x29c)]=_0x103fea,this[_0x1a4ea6(0x2bb)]=_0x59e983;}[_0x5bbf1c(0x42d)](_0x3a9970){var _0x4c4a7b=_0x5bbf1c,_0x13b70a,_0xcbd925,_0xb1c38d,_0x3a960b;const _0x2c053b=this['_injector']['get'](_0x298669[_0x4c4a7b(0x11f)]),{unitId:_0x246571,subUnitId:_0x26ca57}=_0x468e6a(_0x3a9970),_0xa1b54c=_0x2c053b==null?void 0x0:_0x2c053b[_0x4c4a7b(0x325)](_0x246571)['getCurrentSelections'](),_0x478db8=(_0xcbd925=(_0x13b70a=this[_0x4c4a7b(0x2bb)][_0x4c4a7b(0x450)](_0x246571))==null?void 0x0:_0x13b70a[_0x4c4a7b(0x48a)]())==null?void 0x0:_0xcbd925[_0x4c4a7b(0x1bb)]();if(_0xa1b54c[_0x4c4a7b(0x484)]===0x0||!_0x246571||!_0x26ca57)return;const _0x61df30=[{'id':_0x298669[_0x4c4a7b(0x492)]['id'],'params':{'unitId':_0x246571,'subUnitId':_0x478db8,'selections':_0x2b4fd7['Tools']['deepClone'](_0xa1b54c)}}],_0x5565bb=this[_0x4c4a7b(0x29c)]['transformMutationsWithChangeset'](_0x3a9970,_0x61df30);if(!_0x7c64a[_0x4c4a7b(0x2e6)](_0x5565bb))throw _0x5565bb[_0x4c4a7b(0x1ab)];const _0x505619=(_0x3a960b=(_0xb1c38d=_0x5565bb[_0x4c4a7b(0x2fb)][0x0])==null?void 0x0:_0xb1c38d[_0x4c4a7b(0x10d)])==null?void 0x0:_0x3a960b[_0x4c4a7b(0x30b)];if(Array[_0x4c4a7b(0x1a7)](_0x505619)&&_0x505619['length']){if(_0x505619[_0x4c4a7b(0x484)]===_0x61df30[0x0][_0x4c4a7b(0x10d)][_0x4c4a7b(0x30b)][_0x4c4a7b(0x484)]&&_0x505619[_0x4c4a7b(0x3a6)]((_0x2a8f95,_0x470235)=>_0x2b4fd7[_0x4c4a7b(0x3e8)][_0x4c4a7b(0x28a)](_0x2a8f95[_0x4c4a7b(0x3d2)],_0x61df30[0x0]['params'][_0x4c4a7b(0x30b)][_0x470235][_0x4c4a7b(0x3d2)])))return;this[_0x4c4a7b(0x493)][_0x4c4a7b(0x3cb)](_0x2b4fd7[_0x4c4a7b(0x423)])[_0x4c4a7b(0x2d2)](_0x298669[_0x4c4a7b(0x492)]['id'],{'unitId':_0x246571,'subUnitId':_0x478db8,'selections':_0x505619});}}},_0x4fb88d[_0x5bbf1c(0x12d)]=_0xeaacfd([_0x564e4e(0x0,_0x2b4fd7['Inject'](_0x2b4fd7[_0x5bbf1c(0x2ad)])),_0x564e4e(0x1,_0x7c64a[_0x5bbf1c(0x31b)]),_0x564e4e(0x2,_0x2b4fd7[_0x5bbf1c(0x435)])],_0x4fb88d[_0x5bbf1c(0x12d)]);const _0x3988c9=_0x2b4fd7['createIdentifier'](_0x5bbf1c(0x48f));var _0x5178e0=(_0x3dfd23=>(_0x3dfd23[_0x3dfd23[_0x5bbf1c(0x3c0)]=0x0]=_0x5bbf1c(0x3c0),_0x3dfd23[_0x3dfd23[_0x5bbf1c(0x420)]=0x1]=_0x5bbf1c(0x420),_0x3dfd23))(_0x5178e0||{});const _0x346b31=_0x5bbf1c(0x3bb),_0x4743c6={};function _0x34ecb6(_0x4d90a2){var _0x4dc08f=_0x5bbf1c,_0x3c2b4c;return!!((_0x3c2b4c=_0x4d90a2[_0x4dc08f(0x10d)])!=null&&_0x3c2b4c['__splitChunk__']);}const _0x39ed8d=new Set([_0x298669[_0x5bbf1c(0x48e)]['id']]);function _0x599301(_0xf4454e,_0x59f453,_0xfe34b0,_0x172f1e,_0x818d0a){var _0x23f058=_0x5bbf1c,_0x387e84,_0xdd138f,_0x225541,_0x2f8a8a;const _0x528c4c=[];for(const _0x3a20d7 of _0xf4454e){if(_0x39ed8d['has'](_0x3a20d7['id'])){if(_0x528c4c[_0x23f058(0x484)]>0x0)break;_0x528c4c[_0x23f058(0x3d4)](_0x3a20d7);break;}if(_0x34ecb6(_0x3a20d7)){if(_0x528c4c[_0x23f058(0x484)]>0x0)break;_0x528c4c[_0x23f058(0x3d4)](_0x3a20d7);break;}_0x528c4c[_0x23f058(0x3d4)](_0x3a20d7);}const _0x90bc1b=(_0xdd138f=(_0x387e84=_0x818d0a['getCurrentUser']())==null?void 0x0:_0x387e84[_0x23f058(0x196)])!=null?_0xdd138f:_0x23f058(0x272),_0x4eff16=(_0x2f8a8a=(_0x225541=_0x818d0a[_0x23f058(0x2c2)]())==null?void 0x0:_0x225541['memberID'])!=null?_0x2f8a8a:_0x23f058(0x272);return{'changeset':{'unitID':_0x59f453,'type':_0x7c64a[_0x23f058(0x27f)](_0xfe34b0['getUnitType'](_0x59f453)),'baseRev':_0x172f1e[_0x23f058(0x331)](_0x59f453),'revision':0x0,'userID':_0x90bc1b,'memberID':_0x4eff16,'mutations':_0x528c4c},'pendingMutations':_0xf4454e[_0x23f058(0x204)](_0x528c4c[_0x23f058(0x484)])};}function _0x2551d6(_0x5471c2,_0x5e9fc4,_0x24857b,_0x2ae513,_0x5e73a1){var _0x3479a7=_0x5bbf1c,_0x588105,_0x1ad616,_0x15fb82,_0x3eff50;const _0x1fa87f=[_0x5471c2[_0x3479a7(0x320)]((_0x5971a2,_0x2445a5)=>{var _0x352858=_0x3479a7,_0x3412f3;const {id:_0x5dedc3}=_0x5971a2,{id:_0x539b13,type:_0x5e23a4}=_0x2445a5,_0xeb8210=(_0x3412f3=_0x5971a2[_0x352858(0x10d)])!=null?_0x3412f3:{'actions':null},_0x4c0414=_0x2445a5[_0x352858(0x10d)];if(_0x5dedc3&&_0x5dedc3!==_0x539b13)throw new Error(_0x352858(0x274)+_0x5dedc3+_0x352858(0x252)+_0x539b13+'.');return{..._0x5971a2,'id':_0x539b13,'type':_0x5e23a4,'params':{'unitId':_0x4c0414[_0x352858(0x2a2)],'textRanges':_0x4c0414[_0x352858(0x225)],'actions':_0x2b4fd7[_0x352858(0x1a8)][_0x352858(0x1b9)](_0xeb8210[_0x352858(0x262)],_0x4c0414['actions'])}};},{})],_0x32f216=(_0x1ad616=(_0x588105=_0x5e73a1['getCurrentUser']())==null?void 0x0:_0x588105[_0x3479a7(0x196)])!=null?_0x1ad616:_0x3479a7(0x272),_0x4a1736=(_0x3eff50=(_0x15fb82=_0x5e73a1[_0x3479a7(0x2c2)]())==null?void 0x0:_0x15fb82['memberID'])!=null?_0x3eff50:'unknown';return{'changeset':{'unitID':_0x5e9fc4,'type':_0x7c64a[_0x3479a7(0x27f)](_0x24857b[_0x3479a7(0x246)](_0x5e9fc4)),'baseRev':_0x2ae513['getCurrentRevOfUnit'](_0x5e9fc4),'revision':0x0,'userID':_0x32f216,'memberID':_0x4a1736,'mutations':_0x1fa87f},'pendingMutations':[]};}function _0x12c7b7(_0x3699a6,_0x3cf22f){var _0x67843d=_0x5bbf1c;const _0x50f48f=new _0x4a62d2[(_0x67843d(0x2da))](0x1);return setTimeout(()=>_0x50f48f[_0x67843d(0x3d7)](_0x3cf22f),_0x3699a6),_0x50f48f[_0x67843d(0x16a)]()[_0x67843d(0x337)](_0x4a62d2[_0x67843d(0x1b2)](0x1));}var _0x286d1b=Object[_0x5bbf1c(0x2ba)],_0x359b9a=(_0xd324fa,_0x28b049,_0x88c513,_0xb19d68)=>{var _0x360f46=_0x5bbf1c;for(var _0x433e99=_0xb19d68>0x1?void 0x0:_0xb19d68?_0x286d1b(_0x28b049,_0x88c513):_0x28b049,_0x5dc7b0=_0xd324fa[_0x360f46(0x484)]-0x1,_0x380911;_0x5dc7b0>=0x0;_0x5dc7b0--)(_0x380911=_0xd324fa[_0x5dc7b0])&&(_0x433e99=_0x380911(_0x433e99)||_0x433e99);return _0x433e99;},_0x3df9d0=(_0x50673a,_0x5281df)=>(_0x45f831,_0x38183a)=>_0x5281df(_0x45f831,_0x38183a,_0x50673a),_0x48ab07=(_0x12fec1=>(_0x12fec1['NOT_COLLAB']='not_collab',_0x12fec1[_0x5bbf1c(0x42b)]=_0x5bbf1c(0x17d),_0x12fec1[_0x5bbf1c(0x174)]=_0x5bbf1c(0x133),_0x12fec1[_0x5bbf1c(0x49e)]='awaiting',_0x12fec1[_0x5bbf1c(0x1d0)]=_0x5bbf1c(0x486),_0x12fec1[_0x5bbf1c(0x46d)]='fetch_missing',_0x12fec1[_0x5bbf1c(0x1af)]=_0x5bbf1c(0x20d),_0x12fec1['OFFLINE']=_0x5bbf1c(0x13d),_0x12fec1))(_0x48ab07||{});const _0x4538a8=0xea60;class _0x2409f7{constructor(_0x41c5ac,_0x19741c,_0x57a9c4,_0x2ec141,_0x1de1a7,_0x5644e8,_0x1d6598,_0x29f98b,_0x4664af){var _0x32f71a=_0x5bbf1c;_0x42eac7(this,_0x32f71a(0x112),null),_0x42eac7(this,_0x32f71a(0x3fb),[]),(this[_0x32f71a(0x3de)]=_0x41c5ac,this[_0x32f71a(0x257)]=_0x19741c,this[_0x32f71a(0x23c)]=_0x1de1a7,this[_0x32f71a(0x478)]=_0x5644e8,this[_0x32f71a(0x215)]=_0x1d6598,this[_0x32f71a(0x2d1)]=_0x29f98b,this[_0x32f71a(0x37b)]=_0x4664af,this[_0x32f71a(0x112)]=_0x57a9c4,this[_0x32f71a(0x3fb)]=_0x2ec141);}[_0x5bbf1c(0x3d5)](_0x289fd8){var _0x2f68e7=_0x5bbf1c;const _0x3ffbfc=this['_revisionService']['getCurrentRevOfUnit'](this[_0x2f68e7(0x3de)]);return _0x289fd8[_0x2f68e7(0x304)]>_0x3ffbfc+0x1?(this[_0x2f68e7(0x23c)][_0x2f68e7(0x444)]({'from':_0x3ffbfc,'to':_0x289fd8[_0x2f68e7(0x304)]-0x1}),!0x0):!0x1;}[_0x5bbf1c(0x1c8)](_0x3605bd){var _0x145b45=_0x5bbf1c;this[_0x145b45(0x215)][_0x145b45(0x1d6)](this[_0x145b45(0x3de)],_0x3605bd);}[_0x5bbf1c(0x1d7)](_0x4c2f57){var _0xafcc1c=_0x5bbf1c,_0x57dd64,_0x9bd3dd;(_0x9bd3dd=(_0x57dd64=this[_0xafcc1c(0x23c)])[_0xafcc1c(0x483)])==null||_0x9bd3dd['call'](_0x57dd64,_0x4c2f57);}[_0x5bbf1c(0x1f5)](_0x1c736b){var _0xd77b71,_0x2f8770;return(_0x2f8770=(_0xd77b71=this['_handler'])['onTransformIME'])==null?void 0x0:_0x2f8770['call'](_0xd77b71,_0x1c736b);}[_0x5bbf1c(0x395)](_0x3fa4cd){var _0x5c320f=_0x5bbf1c,_0x3aa6d7,_0x5719bf;return(_0x5719bf=(_0x3aa6d7=this['_handler'])[_0x5c320f(0x188)])==null?void 0x0:_0x5719bf[_0x5c320f(0x419)](_0x3aa6d7,_0x3fa4cd);}[_0x5bbf1c(0x2ae)](_0xe52e6e){var _0x17dac7=_0x5bbf1c,_0x1c7552,_0x5f1738,_0x32c4d2;return(_0x32c4d2=(_0x5f1738=(_0x1c7552=this['_handler'])[_0x17dac7(0x181)])==null?void 0x0:_0x5f1738[_0x17dac7(0x419)](_0x1c7552,_0xe52e6e))!=null?_0x32c4d2:_0xe52e6e;}['_transformRemoteChangesetByStateCache'](_0x233968){var _0x193ca1=_0x5bbf1c,_0x458f54,_0x2b897b,_0x14b5c8;return(_0x14b5c8=(_0x2b897b=(_0x458f54=this[_0x193ca1(0x23c)])[_0x193ca1(0x3f9)])==null?void 0x0:_0x2b897b[_0x193ca1(0x419)](_0x458f54,_0x233968))!=null?_0x14b5c8:_0x233968;}[_0x5bbf1c(0x253)](_0x47e56f){var _0x588c0f=_0x5bbf1c,_0x2085c7,_0x87e203;if(this[_0x588c0f(0x257)]===_0x55524d[_0x588c0f(0x460)]){const {unitID:_0x50ccf3,mutations:_0x402907,memberID:_0x162ed5}=_0x47e56f,_0x31a672=_0x402907['length']>0x0?_0x402907[0x0][_0x588c0f(0x10d)][_0x588c0f(0x225)]:[];Array[_0x588c0f(0x1a7)](_0x31a672)&&_0x31a672[_0x588c0f(0x484)]>0x0&&((_0x87e203=(_0x2085c7=this[_0x588c0f(0x23c)])[_0x588c0f(0x385)])==null||_0x87e203[_0x588c0f(0x419)](_0x2085c7,{'unitID':_0x50ccf3,'memberID':_0x162ed5,'textRanges':_0x31a672}));}}[_0x5bbf1c(0x2ed)](){var _0x1f6392=_0x5bbf1c,_0x408d2b;(_0x408d2b=this['_localCacheService'])==null||_0x408d2b[_0x1f6392(0x169)](this[_0x1f6392(0x3de)],this[_0x1f6392(0x257)],this[_0x1f6392(0x112)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x2fcd7a=_0x5bbf1c;return this[_0x2fcd7a(0x2d1)][_0x2fcd7a(0x331)](this['unitID']);}[_0x5bbf1c(0x36e)](){var _0x116dc4=_0x5bbf1c;this[_0x116dc4(0x2d1)][_0x116dc4(0x2a3)](this['unitID']);}[_0x5bbf1c(0x46b)](_0x286bca){var _0x26ed45=_0x5bbf1c,_0x17700c;let _0x5e01e2=this[_0x26ed45(0x2ae)](_0x286bca);_0x5e01e2=this[_0x26ed45(0x43f)](_0x5e01e2);const _0x1a73d7=_0x2b4fd7[_0x26ed45(0x3ee)](_0x5e01e2[_0x26ed45(0x11d)],this[_0x26ed45(0x478)],{'fromCollab':!0x0});if(!_0x1a73d7[_0x26ed45(0x40b)])throw _0x1a73d7[_0x26ed45(0x1ab)]instanceof Error?_0x1a73d7[_0x26ed45(0x1ab)]:new Error((_0x17700c=_0x1a73d7['error'])!=null?_0x17700c:'[CollaborationState]:\x20apply\x20error!');this[_0x26ed45(0x1f5)](_0x5e01e2),this['_transformStateCache'](_0x5e01e2),this['_transformUndoredo'](_0x286bca),this[_0x26ed45(0x1d7)](_0x5e01e2),this['_syncEditingCollabCursor'](_0x5e01e2),this[_0x26ed45(0x36e)]();}}_0x4fb88d[_0x5bbf1c(0x218)]=class extends _0x2409f7{constructor(_0x2d8d99,_0x2876b2,_0x54f22,_0x18349a,_0x1df758,_0x3174b5,_0x5aa322,_0x6b58b5,_0x3933f7,_0x37e9da){var _0x315e70=_0x5bbf1c;super(_0x2d8d99,_0x2876b2,null,[],_0x54f22,_0x5aa322,_0x3174b5,_0x18349a,_0x37e9da),_0x42eac7(this,_0x315e70(0x425),_0x315e70(0x17d)),(this[_0x315e70(0x493)]=_0x1df758,this[_0x315e70(0x12b)]=_0x6b58b5,this['_transformService']=_0x3933f7,this[_0x315e70(0x33a)]=_0x37e9da);}[_0x5bbf1c(0x31f)](_0x2bb627){var _0x121ba9=_0x5bbf1c;const _0x3c5118=this[_0x121ba9(0x493)]['createInstance'](_0x4fb88d[_0x121ba9(0x226)],this[_0x121ba9(0x3de)],this['type'],[_0x2bb627],this[_0x121ba9(0x23c)]);return _0x3c5118[_0x121ba9(0x11a)](),_0x3c5118['_updateLocalCache'](),_0x3c5118;}[_0x5bbf1c(0x15b)](_0x29a98d){var _0x59e9ff=_0x5bbf1c;if(this['_checkMissing'](_0x29a98d))return this['_injector']['createInstance'](_0x4fb88d[_0x59e9ff(0x33e)],this[_0x59e9ff(0x3de)],this[_0x59e9ff(0x257)],null,[],null,[_0x29a98d],this['_handler']);try{const _0xce11be=this[_0x59e9ff(0x29c)][_0x59e9ff(0x412)](_0x29a98d,[_0x7c64a['EmptyMutationInfo']]);if(_0x7c64a[_0x59e9ff(0x2e6)](_0xce11be)){const {c1Prime:_0xe5e7da}=_0xce11be;return this[_0x59e9ff(0x46b)](_0xe5e7da),this;}throw _0xce11be['error'];}catch(_0x5b70f6){return this[_0x59e9ff(0x12b)][_0x59e9ff(0x1ab)](_0x5b70f6),this[_0x59e9ff(0x202)](!0x1);}}['_onConflict'](_0x474f61){var _0x49eca1=_0x5bbf1c;return this[_0x49eca1(0x493)][_0x49eca1(0x1ea)](_0x4fb88d[_0x49eca1(0x39d)],this[_0x49eca1(0x3de)],this[_0x49eca1(0x257)],null,[],this[_0x49eca1(0x23c)],_0x474f61);}['onRemoteAck'](){var _0x328676=_0x5bbf1c;throw new Error(_0x328676(0x328));}[_0x5bbf1c(0x323)](){var _0x30e618=_0x5bbf1c;throw new Error(_0x30e618(0x200));}[_0x5bbf1c(0x3bf)](){return this;}['toggleOffline'](){var _0x2f1aaa=_0x5bbf1c;return this[_0x2f1aaa(0x493)][_0x2f1aaa(0x1ea)](_0x4fb88d[_0x2f1aaa(0x12a)],this['unitID'],this[_0x2f1aaa(0x257)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x5bbf1c(0x424)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5bbf1c(0x3d8)](){var _0x12228b=_0x5bbf1c;const _0x3b9b27=this[_0x12228b(0x2d1)][_0x12228b(0x331)](this[_0x12228b(0x3de)]);return this[_0x12228b(0x23c)][_0x12228b(0x444)]({'from':_0x3b9b27,'to':0x0}),this[_0x12228b(0x493)][_0x12228b(0x1ea)](_0x4fb88d[_0x12228b(0x33e)],this[_0x12228b(0x3de)],this[_0x12228b(0x257)],null,[],null,[],this[_0x12228b(0x23c)]);}},_0x4fb88d[_0x5bbf1c(0x218)]=_0x359b9a([_0x3df9d0(0x3,_0x2b4fd7[_0x5bbf1c(0x131)](_0x7c64a[_0x5bbf1c(0x1f0)])),_0x3df9d0(0x4,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x2ad)])),_0x3df9d0(0x5,_0x2b4fd7[_0x5bbf1c(0x3ea)]),_0x3df9d0(0x6,_0x2b4fd7[_0x5bbf1c(0x423)]),_0x3df9d0(0x7,_0x2b4fd7['ILogService']),_0x3df9d0(0x8,_0x7c64a[_0x5bbf1c(0x31b)]),_0x3df9d0(0x9,_0x2b4fd7['Optional'](_0x60630c))],_0x4fb88d[_0x5bbf1c(0x218)]),_0x4fb88d[_0x5bbf1c(0x226)]=class extends _0x2409f7{constructor(_0x42b488,_0x1adcf8,_0x17b471,_0x333b6a,_0x1db114,_0x460695,_0xf87ff8,_0x4754cd,_0x535613,_0x30c5fc,_0x2a382e,_0x98fc20,_0x1fe572,_0x16761a){var _0x524e54=_0x5bbf1c;super(_0x42b488,_0x1adcf8,null,_0x17b471,_0x333b6a,_0x535613,_0x1fe572,_0x460695,_0x16761a),_0x42eac7(this,_0x524e54(0x425),_0x524e54(0x133)),_0x42eac7(this,_0x524e54(0x1ec),null),_0x42eac7(this,_0x524e54(0x361),null),(this[_0x524e54(0x493)]=_0x1db114,this[_0x524e54(0x32c)]=_0xf87ff8,this['_logService']=_0x4754cd,this[_0x524e54(0x2d3)]=_0x30c5fc,this[_0x524e54(0x29c)]=_0x2a382e,this[_0x524e54(0x1cc)]=_0x98fc20);}['appendMutation'](_0x2ad18b){var _0x5bdeae=_0x5bbf1c;return this[_0x5bdeae(0x3fb)][_0x5bdeae(0x3d4)](_0x2ad18b),this[_0x5bdeae(0x2ed)](),this;}[_0x5bbf1c(0x15b)](_0x8c0d20){var _0x1e7338=_0x5bbf1c;if(this[_0x1e7338(0x3d5)](_0x8c0d20))return this['_clearScheduledTask'](),this[_0x1e7338(0x493)][_0x1e7338(0x1ea)](_0x4fb88d['FetchingMissState'],this[_0x1e7338(0x3de)],this[_0x1e7338(0x257)],null,this['_pendingMutations'],null,[_0x8c0d20],this[_0x1e7338(0x23c)]);try{const _0x2d9214=this[_0x1e7338(0x29c)][_0x1e7338(0x412)](_0x8c0d20,this[_0x1e7338(0x3fb)]);if(_0x7c64a['isTransformMutationsWithChangesetSuccess'](_0x2d9214)){const {c1Prime:_0x20d9f0,m2Prime:_0x390482}=_0x2d9214;this[_0x1e7338(0x46b)](_0x20d9f0);const _0x508a15=this['_injector'][_0x1e7338(0x1ea)](_0x4fb88d['PendingState'],this['unitID'],this[_0x1e7338(0x257)],_0x390482,this[_0x1e7338(0x23c)]);this[_0x1e7338(0x284)]();const _0x118134=new Date()[_0x1e7338(0x10b)](),_0x341776=this[_0x1e7338(0x1ec)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x118134,0x0):this[_0x1e7338(0x113)]();return _0x508a15[_0x1e7338(0x11a)](_0x341776),_0x508a15;}throw _0x2d9214[_0x1e7338(0x1ab)];}catch(_0x17529a){return this['_logService'][_0x1e7338(0x1ab)](_0x17529a),this[_0x1e7338(0x202)](!0x1);}}[_0x5bbf1c(0x329)](){var _0x656dca=_0x5bbf1c;throw new Error(_0x656dca(0x2d0));}[_0x5bbf1c(0x323)](){var _0x33a9cd=_0x5bbf1c;throw new Error(_0x33a9cd(0x45f));}[_0x5bbf1c(0x3bf)](){return this;}['toggleOffline'](){var _0x6f71b3=_0x5bbf1c;return this[_0x6f71b3(0x284)](),this[_0x6f71b3(0x493)][_0x6f71b3(0x1ea)](_0x4fb88d['OfflineState'],this['unitID'],this[_0x6f71b3(0x257)],null,this[_0x6f71b3(0x3fb)],this[_0x6f71b3(0x23c)]);}[_0x5bbf1c(0x2bc)](){return this;}[_0x5bbf1c(0x11a)](_0x1b3210){var _0x5404e9=_0x5bbf1c;const _0x24955e=_0x1b3210!=null?_0x1b3210:this[_0x5404e9(0x113)]();this[_0x5404e9(0x1ec)]=new Date()[_0x5404e9(0x10b)]()+_0x24955e,this['_sendingTimer']=setTimeout(()=>{var _0x4a34b5=_0x5404e9;this['_clearScheduledTask']();let _0x478fe6=null;switch(this['type']){case _0x55524d['UNIVER_SHEET']:{_0x478fe6=_0x599301(this[_0x4a34b5(0x3fb)],this['unitID'],this['_univerInstanceService'],this[_0x4a34b5(0x2d1)],this[_0x4a34b5(0x32c)]);break;}case _0x55524d[_0x4a34b5(0x460)]:{this['_pendingMutations'][_0x4a34b5(0x3a6)](_0x3293d6=>_0x3293d6['id']===_0x29f018[_0x4a34b5(0x1db)]['id'])?_0x478fe6=_0x2551d6(this[_0x4a34b5(0x3fb)],this[_0x4a34b5(0x3de)],this[_0x4a34b5(0x1cc)],this['_revisionService'],this[_0x4a34b5(0x32c)]):_0x478fe6=_0x599301(this[_0x4a34b5(0x3fb)],this[_0x4a34b5(0x3de)],this[_0x4a34b5(0x1cc)],this[_0x4a34b5(0x2d1)],this['_memberService']);break;}default:throw new Error(_0x4a34b5(0x261)+this[_0x4a34b5(0x257)]+_0x4a34b5(0x35a));}const {changeset:_0x592c9b,pendingMutations:_0x155b39}=_0x478fe6;this[_0x4a34b5(0x23c)][_0x4a34b5(0x2c9)](_0x592c9b);const _0x48a1f4=_0x155b39[_0x4a34b5(0x484)]?this['_injector'][_0x4a34b5(0x1ea)](_0x4fb88d[_0x4a34b5(0x414)],this[_0x4a34b5(0x3de)],this[_0x4a34b5(0x257)],_0x592c9b,_0x155b39,this[_0x4a34b5(0x23c)],void 0x0):this[_0x4a34b5(0x493)][_0x4a34b5(0x1ea)](_0x4fb88d[_0x4a34b5(0x2ab)],this[_0x4a34b5(0x3de)],this[_0x4a34b5(0x257)],_0x592c9b,this['_handler']);_0x48a1f4[_0x4a34b5(0x2ed)](),this[_0x4a34b5(0x23c)][_0x4a34b5(0x39a)](this,_0x48a1f4);},_0x24955e);}[_0x5bbf1c(0x113)](){var _0x5a9720=_0x5bbf1c,_0x11a204;const _0x3fdd2b=this['_configService']['getConfig'](_0x346b31);return(_0x11a204=_0x3fdd2b==null?void 0x0:_0x3fdd2b[_0x5a9720(0x301)])!=null?_0x11a204:0x7d0;}[_0x5bbf1c(0x424)](){var _0x4cc077=_0x5bbf1c;throw new Error(_0x4cc077(0x160));}[_0x5bbf1c(0x284)](){var _0x43b550=_0x5bbf1c;this[_0x43b550(0x361)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x43b550(0x361)]=null);}['_onConflict'](_0x38c132){var _0x4f4704=_0x5bbf1c;return this['_clearScheduledTask'](),this[_0x4f4704(0x493)]['createInstance'](_0x4fb88d['ConflictState'],this[_0x4f4704(0x3de)],this['type'],null,this[_0x4f4704(0x3fb)],this[_0x4f4704(0x23c)],_0x38c132);}},_0x4fb88d[_0x5bbf1c(0x226)]=_0x359b9a([_0x3df9d0(0x4,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7['Injector'])),_0x3df9d0(0x5,_0x2b4fd7[_0x5bbf1c(0x131)](_0x7c64a[_0x5bbf1c(0x1f0)])),_0x3df9d0(0x6,_0x2b4fd7[_0x5bbf1c(0x131)](_0x4fb88d['MemberService'])),_0x3df9d0(0x7,_0x2b4fd7[_0x5bbf1c(0x1a1)]),_0x3df9d0(0x8,_0x2b4fd7[_0x5bbf1c(0x423)]),_0x3df9d0(0x9,_0x2b4fd7[_0x5bbf1c(0x19b)]),_0x3df9d0(0xa,_0x7c64a[_0x5bbf1c(0x31b)]),_0x3df9d0(0xb,_0x2b4fd7['IUniverInstanceService']),_0x3df9d0(0xc,_0x2b4fd7[_0x5bbf1c(0x3ea)]),_0x3df9d0(0xd,_0x2b4fd7[_0x5bbf1c(0x158)](_0x60630c))],_0x4fb88d['PendingState']),_0x4fb88d[_0x5bbf1c(0x2ab)]=class extends _0x2409f7{constructor(_0x4eccf9,_0x5c3785,_0x568d1e,_0x382f3b,_0x5c8b49,_0x41bb00,_0x19fb47,_0x94c8e9,_0x43ad96,_0x116ea4,_0x4acc3d){var _0x2dd923=_0x5bbf1c;super(_0x4eccf9,_0x5c3785,_0x568d1e,[],_0x382f3b,_0x19fb47,_0x116ea4,_0x41bb00,_0x4acc3d),_0x42eac7(this,_0x2dd923(0x425),_0x2dd923(0x21c)),_0x42eac7(this,_0x2dd923(0x1e7),0x0),_0x42eac7(this,_0x2dd923(0x365)),_0x42eac7(this,_0x2dd923(0x311)),(this[_0x2dd923(0x493)]=_0x5c8b49,this[_0x2dd923(0x12b)]=_0x94c8e9,this[_0x2dd923(0x29c)]=_0x43ad96);}[_0x5bbf1c(0x31f)](_0x4858d3){var _0x152213=_0x5bbf1c;this[_0x152213(0x284)]();const _0x5247d8=this['_injector'][_0x152213(0x1ea)](_0x4fb88d[_0x152213(0x414)],this['unitID'],this[_0x152213(0x257)],this[_0x152213(0x112)],[_0x4858d3],this[_0x152213(0x23c)],this['_resendTimer']);return _0x5247d8['_updateLocalCache'](),_0x5247d8;}[_0x5bbf1c(0x15b)](_0x339af1){var _0x2e8261=_0x5bbf1c;if(this[_0x2e8261(0x3d5)](_0x339af1))return this[_0x2e8261(0x284)](),this[_0x2e8261(0x493)][_0x2e8261(0x1ea)](_0x4fb88d[_0x2e8261(0x33e)],this[_0x2e8261(0x3de)],this[_0x2e8261(0x257)],this[_0x2e8261(0x112)],[],null,[_0x339af1],this['_handler']);try{const _0x5cc9e4=this['_transformService'][_0x2e8261(0x117)]([_0x339af1],[this[_0x2e8261(0x112)]],!0x1);if(_0x7c64a[_0x2e8261(0x15c)](_0x5cc9e4)){const {c1Prime:_0x56a1dc,c2Prime:_0x4d41d5}=_0x5cc9e4;this['_executeRemoteChangeset'](_0x56a1dc[0x0]),_0x4d41d5[0x0][_0x2e8261(0x448)]=this['_getCurrentRevision'](),this[_0x2e8261(0x284)]();const _0x8908c=this['_injector'][_0x2e8261(0x1ea)](_0x4fb88d[_0x2e8261(0x2ab)],this[_0x2e8261(0x3de)],this['type'],_0x4d41d5[0x0],this['_handler']);return _0x8908c[_0x2e8261(0x2ed)](),_0x8908c;}return this[_0x2e8261(0x202)](!0x1);}catch(_0x179577){return this[_0x2e8261(0x12b)][_0x2e8261(0x1ab)](_0x179577),this[_0x2e8261(0x202)](!0x1);}}[_0x5bbf1c(0x329)](_0x24beca){var _0x192d75=_0x5bbf1c;this[_0x192d75(0x284)]();const _0x3d150d=this[_0x192d75(0x2d1)][_0x192d75(0x331)](this['unitID']);if(_0x24beca['revision']<_0x3d150d-0x1)return this;if(this[_0x192d75(0x3d5)](_0x24beca))return this[_0x192d75(0x493)][_0x192d75(0x1ea)](_0x4fb88d['FetchingMissState'],this[_0x192d75(0x3de)],this[_0x192d75(0x257)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x192d75(0x36e)]();const _0x399c1f=this[_0x192d75(0x493)]['createInstance'](_0x4fb88d[_0x192d75(0x218)],this['unitID'],this[_0x192d75(0x257)],this['_handler']);return _0x399c1f[_0x192d75(0x2ed)](),_0x399c1f;}[_0x5bbf1c(0x323)](_0x23968a){var _0x45ccc2=_0x5bbf1c;return this['_onConflict'](!!(_0x23968a!=null&&_0x23968a[_0x45ccc2(0x12e)]));}[_0x5bbf1c(0x3bf)](_0x3b69cd){var _0x20f56f=_0x5bbf1c;return this[_0x20f56f(0x1e7)]>_0x4538a8?this[_0x20f56f(0x2dd)]():(this[_0x20f56f(0x365)]=_0x12c7b7(this['_resendTimeout'],{'timeout':this[_0x20f56f(0x1e7)],'reqId':_0x3b69cd[_0x20f56f(0x2d8)]}),this[_0x20f56f(0x311)]=this[_0x20f56f(0x365)][_0x20f56f(0x123)](({reqId:_0x298994,timeout:_0x88181c})=>{this['_resendWithTimeout'](_0x298994,_0x88181c);}),this);}[_0x5bbf1c(0x2dd)](){var _0x569043=_0x5bbf1c;return this[_0x569043(0x284)](),this[_0x569043(0x493)][_0x569043(0x1ea)](_0x4fb88d[_0x569043(0x12a)],this[_0x569043(0x3de)],this['type'],this[_0x569043(0x112)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x5bbf1c(0x424)](){var _0x33fa95=_0x5bbf1c;this[_0x33fa95(0x23c)][_0x33fa95(0x2c9)](this[_0x33fa95(0x112)]);}[_0x5bbf1c(0x202)](_0xdeb662){var _0x66298e=_0x5bbf1c;return this[_0x66298e(0x284)](),this[_0x66298e(0x493)][_0x66298e(0x1ea)](_0x4fb88d[_0x66298e(0x39d)],this[_0x66298e(0x3de)],this[_0x66298e(0x257)],this[_0x66298e(0x112)],[],this['_handler'],_0xdeb662);}['_resendWithTimeout'](_0x156544,_0x455b96){var _0xc26719=_0x5bbf1c,_0x5ca5d4;_0x156544===((_0x5ca5d4=this[_0xc26719(0x112)])==null?void 0x0:_0x5ca5d4[_0xc26719(0x2d8)])&&(this[_0xc26719(0x424)](),this[_0xc26719(0x1e7)]=_0x455b96===0x0?0x3e8:_0x455b96*0x2);}[_0x5bbf1c(0x284)](){var _0xd85abd=_0x5bbf1c,_0x1ac1f9;(_0x1ac1f9=this[_0xd85abd(0x311)])==null||_0x1ac1f9[_0xd85abd(0x39c)](),this[_0xd85abd(0x1e7)]=0x0;}},_0x4fb88d[_0x5bbf1c(0x2ab)]=_0x359b9a([_0x3df9d0(0x4,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x2ad)])),_0x3df9d0(0x5,_0x2b4fd7[_0x5bbf1c(0x131)](_0x7c64a[_0x5bbf1c(0x1f0)])),_0x3df9d0(0x6,_0x2b4fd7[_0x5bbf1c(0x423)]),_0x3df9d0(0x7,_0x2b4fd7[_0x5bbf1c(0x1a1)]),_0x3df9d0(0x8,_0x7c64a[_0x5bbf1c(0x31b)]),_0x3df9d0(0x9,_0x2b4fd7['IUndoRedoService']),_0x3df9d0(0xa,_0x2b4fd7[_0x5bbf1c(0x158)](_0x60630c))],_0x4fb88d[_0x5bbf1c(0x2ab)]),_0x4fb88d[_0x5bbf1c(0x414)]=class extends _0x2409f7{constructor(_0x1c8824,_0x44f3e9,_0x57511d,_0x1b1487,_0x36a013,_0x888491,_0x5b8a1c,_0x4b0ea3,_0x4c1691,_0xa7099d,_0x82ab41,_0x5394fc,_0x261840){var _0x4ef87e=_0x5bbf1c;super(_0x1c8824,_0x44f3e9,_0x57511d,_0x1b1487,_0x36a013,_0x4c1691,_0x5394fc,_0x4b0ea3,_0x261840),_0x42eac7(this,_0x4ef87e(0x425),_0x4ef87e(0x486)),_0x42eac7(this,_0x4ef87e(0x1e7),0x0),_0x42eac7(this,_0x4ef87e(0x365)),_0x42eac7(this,'_sender'),(this['_injector']=_0x5b8a1c,this[_0x4ef87e(0x12b)]=_0xa7099d,this[_0x4ef87e(0x29c)]=_0x82ab41,this[_0x4ef87e(0x33a)]=_0x261840,_0x888491&&(this[_0x4ef87e(0x365)]=_0x888491,this[_0x4ef87e(0x311)]=this['_resendTimer'][_0x4ef87e(0x123)](({reqId:_0x2929dc,timeout:_0x5a73c2})=>{var _0x4bfde1=_0x4ef87e;this[_0x4bfde1(0x2b2)](_0x2929dc,_0x5a73c2);})));}[_0x5bbf1c(0x31f)](_0x394ff7){var _0x48a95c=_0x5bbf1c;return this[_0x48a95c(0x3fb)][_0x48a95c(0x3d4)](_0x394ff7),this;}[_0x5bbf1c(0x15b)](_0x5e91fa){var _0x5a682d=_0x5bbf1c;if(this[_0x5a682d(0x3d5)](_0x5e91fa))return this[_0x5a682d(0x284)](),this['_injector'][_0x5a682d(0x1ea)](_0x4fb88d[_0x5a682d(0x33e)],this['unitID'],this['type'],this[_0x5a682d(0x112)],this[_0x5a682d(0x3fb)],null,[_0x5e91fa],this[_0x5a682d(0x23c)]);try{const _0x2d0f36=this['_transformService'][_0x5a682d(0x117)]([_0x5e91fa],[this[_0x5a682d(0x112)]],!0x1);if(_0x7c64a['isTransformChangesetsSuccess'](_0x2d0f36)){const {c1Prime:_0x5c0cf7,c2Prime:_0x2da249}=_0x2d0f36,_0x45c604=this[_0x5a682d(0x29c)][_0x5a682d(0x412)](_0x5c0cf7[0x0],this[_0x5a682d(0x3fb)]);if(_0x7c64a['isTransformMutationsWithChangesetSuccess'](_0x45c604)){const {c1Prime:_0x8586db,m2Prime:_0x15adf3}=_0x45c604;return this['_executeRemoteChangeset'](_0x8586db),_0x2da249[0x0][_0x5a682d(0x448)]=this[_0x5a682d(0x38a)](),this[_0x5a682d(0x284)](),this['_injector'][_0x5a682d(0x1ea)](_0x4fb88d[_0x5a682d(0x414)],this[_0x5a682d(0x3de)],this[_0x5a682d(0x257)],_0x2da249[0x0],_0x15adf3,this[_0x5a682d(0x23c)],void 0x0);}throw _0x45c604[_0x5a682d(0x1ab)];}throw _0x2d0f36[_0x5a682d(0x1ab)];}catch(_0x22f0ee){return this['_logService']['error'](_0x22f0ee),this[_0x5a682d(0x202)](!0x1);}}['onRemoteAck'](_0x38dbb9){var _0x24b3fc=_0x5bbf1c;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x38dbb9))return this[_0x24b3fc(0x493)][_0x24b3fc(0x1ea)](_0x4fb88d[_0x24b3fc(0x33e)],this[_0x24b3fc(0x3de)],this[_0x24b3fc(0x257)],null,this[_0x24b3fc(0x3fb)],this[_0x24b3fc(0x112)],[],this[_0x24b3fc(0x23c)]);this['_incrementRevisionNumber']();const _0x40fcab=this[_0x24b3fc(0x493)][_0x24b3fc(0x1ea)](_0x4fb88d[_0x24b3fc(0x226)],this[_0x24b3fc(0x3de)],this['type'],this[_0x24b3fc(0x3fb)],this['_handler']);return _0x40fcab[_0x24b3fc(0x11a)](),_0x40fcab[_0x24b3fc(0x2ed)](),_0x40fcab;}['onRemoteRej'](_0x436262){var _0x176e7f=_0x5bbf1c;return this['_onConflict'](!!(_0x436262!=null&&_0x436262[_0x176e7f(0x12e)]));}[_0x5bbf1c(0x3bf)](_0x2dd76b){var _0x1cf6f6=_0x5bbf1c;return this[_0x1cf6f6(0x1e7)]>_0x4538a8?this[_0x1cf6f6(0x2dd)]():(this[_0x1cf6f6(0x365)]=_0x12c7b7(this[_0x1cf6f6(0x1e7)],{'timeout':this[_0x1cf6f6(0x1e7)],'reqId':_0x2dd76b['reqId']}),this[_0x1cf6f6(0x311)]=this[_0x1cf6f6(0x365)]['subscribe'](({reqId:_0x2aa901,timeout:_0x21f8de})=>{this['_resendWithTimeout'](_0x2aa901,_0x21f8de);}),this);}['toggleOffline'](){var _0x5144d8=_0x5bbf1c;return this[_0x5144d8(0x284)](),this[_0x5144d8(0x493)]['createInstance'](_0x4fb88d[_0x5144d8(0x12a)],this[_0x5144d8(0x3de)],this[_0x5144d8(0x257)],this[_0x5144d8(0x112)],this[_0x5144d8(0x3fb)],this[_0x5144d8(0x23c)]);}['toggleOnline'](){return this;}[_0x5bbf1c(0x424)](){var _0x107e1e=_0x5bbf1c;this[_0x107e1e(0x23c)][_0x107e1e(0x2c9)](this['_awaitingChangeset']);}['_onConflict'](_0x18351b){var _0x4b03d6=_0x5bbf1c;return this[_0x4b03d6(0x284)](),this[_0x4b03d6(0x493)][_0x4b03d6(0x1ea)](_0x4fb88d['ConflictState'],this[_0x4b03d6(0x3de)],this[_0x4b03d6(0x257)],null,this[_0x4b03d6(0x3fb)],this[_0x4b03d6(0x23c)],_0x18351b);}[_0x5bbf1c(0x2b2)](_0x4cb741,_0xfd75a5){var _0x8eaedf=_0x5bbf1c,_0x5de1a8;_0x4cb741===((_0x5de1a8=this[_0x8eaedf(0x112)])==null?void 0x0:_0x5de1a8['reqId'])&&(this[_0x8eaedf(0x424)](),this['_resendTimeout']=_0xfd75a5===0x0?0x3e8:_0xfd75a5*0x2);}[_0x5bbf1c(0x284)](){var _0xd6a354=_0x5bbf1c,_0x5a5c37;(_0x5a5c37=this[_0xd6a354(0x311)])==null||_0x5a5c37[_0xd6a354(0x39c)](),this['_resendTimeout']=0x0;}},_0x4fb88d[_0x5bbf1c(0x414)]=_0x359b9a([_0x3df9d0(0x6,_0x2b4fd7['Inject'](_0x2b4fd7[_0x5bbf1c(0x2ad)])),_0x3df9d0(0x7,_0x2b4fd7[_0x5bbf1c(0x131)](_0x7c64a[_0x5bbf1c(0x1f0)])),_0x3df9d0(0x8,_0x2b4fd7[_0x5bbf1c(0x423)]),_0x3df9d0(0x9,_0x2b4fd7[_0x5bbf1c(0x1a1)]),_0x3df9d0(0xa,_0x7c64a[_0x5bbf1c(0x31b)]),_0x3df9d0(0xb,_0x2b4fd7[_0x5bbf1c(0x3ea)]),_0x3df9d0(0xc,_0x2b4fd7[_0x5bbf1c(0x158)](_0x60630c))],_0x4fb88d['AwaitingWithPendingState']),_0x4fb88d['ConflictState']=class extends _0x2409f7{constructor(_0x5e463d,_0x31586b,_0x79c6bf,_0xd0de4b,_0x202aaa,_0x33152d=!0x1,_0x4df0ea,_0x2d73af,_0x5db01c,_0x356cc6,_0x39a2f4,_0xce9251,_0x6de2a0){var _0x38b55c=_0x5bbf1c;super(_0x5e463d,_0x31586b,_0x79c6bf,_0xd0de4b,_0x202aaa,_0x2d73af,_0x5db01c,_0x356cc6,_0x6de2a0),_0x42eac7(this,_0x38b55c(0x425),'conflict'),(this[_0x38b55c(0x283)]=_0x33152d,this[_0x38b55c(0x110)]=_0x4df0ea,this[_0x38b55c(0x40a)]=_0x39a2f4,this[_0x38b55c(0x40d)]=_0xce9251,this['localCacheService']=_0x6de2a0,this[_0x38b55c(0x43a)](),this[_0x38b55c(0x3c6)](),this[_0x38b55c(0x2db)]());}[_0x5bbf1c(0x31f)](){return this;}[_0x5bbf1c(0x15b)](){return this;}[_0x5bbf1c(0x329)](){return this;}[_0x5bbf1c(0x323)](){return this;}[_0x5bbf1c(0x3bf)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x2a51cb=_0x5bbf1c;throw new Error(_0x2a51cb(0x219));}['_clearLocalCache'](){var _0x4022f1=_0x5bbf1c,_0x48ef07;(_0x48ef07=this[_0x4022f1(0x37b)])==null||_0x48ef07['updateOfflineData'](this[_0x4022f1(0x3de)],this[_0x4022f1(0x257)],null,[]);}['_showConflictNotification'](){var _0x21124b=_0x5bbf1c;this[_0x21124b(0x283)]?this[_0x21124b(0x40d)][_0x21124b(0x38e)]({'id':_0x1814a0[_0x21124b(0x2f4)]}):this[_0x21124b(0x40d)][_0x21124b(0x38e)]({'id':_0x1814a0[_0x21124b(0x1af)]});}[_0x5bbf1c(0x2db)](){var _0x4aaf1e=_0x5bbf1c;this[_0x4aaf1e(0x110)]['updatePermissionPoint'](new _0x298669[(_0x4aaf1e(0x35d))](this['unitID'])['id'],!0x1);}},_0x4fb88d[_0x5bbf1c(0x39d)]=_0x359b9a([_0x3df9d0(0x6,_0x2b4fd7['Inject'](_0x2b4fd7[_0x5bbf1c(0x14d)])),_0x3df9d0(0x7,_0x2b4fd7[_0x5bbf1c(0x423)]),_0x3df9d0(0x8,_0x2b4fd7[_0x5bbf1c(0x3ea)]),_0x3df9d0(0x9,_0x2b4fd7[_0x5bbf1c(0x131)](_0x7c64a['RevisionService'])),_0x3df9d0(0xa,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x24a)])),_0x3df9d0(0xb,_0x2b4fd7[_0x5bbf1c(0x131)](_0x3e8fc1)),_0x3df9d0(0xc,_0x2b4fd7['Optional'](_0x60630c))],_0x4fb88d[_0x5bbf1c(0x39d)]),_0x4fb88d['OfflineState']=class extends _0x2409f7{constructor(_0x45232e,_0x195695,_0xdc365c,_0x5bd933,_0x11b82c,_0x471c00,_0x14a441,_0x423590,_0xe8cb5c,_0x103492){var _0x149b00=_0x5bbf1c;super(_0x45232e,_0x195695,_0xdc365c,_0x5bd933,_0x11b82c,_0x423590,_0xe8cb5c,_0x14a441,_0x103492),_0x42eac7(this,_0x149b00(0x425),'offline'),this[_0x149b00(0x493)]=_0x471c00;}[_0x5bbf1c(0x31f)](_0x3177e2){var _0x46b530=_0x5bbf1c;return this['_pendingMutations']['push'](_0x3177e2),this[_0x46b530(0x2ed)](),this;}['onRemoteChangeset'](_0x544501){var _0xc18dc=_0x5bbf1c;throw new Error(_0xc18dc(0x31a));}['onRemoteAck'](){var _0x46bb2f=_0x5bbf1c;throw new Error(_0x46bb2f(0x187));}[_0x5bbf1c(0x323)](){var _0x2a000b=_0x5bbf1c;throw new Error(_0x2a000b(0x35f));}['onRemoteRetry'](){return this;}[_0x5bbf1c(0x2dd)](){return this;}[_0x5bbf1c(0x2bc)](){var _0x28c162=_0x5bbf1c;const {_injector:_0x46633d,_pendingMutations:_0xca290d,_awaitingChangeset:_0x3ca0d9,unitID:_0x1a2723,_handler:_0x2c6806,type:_0x4c0be4}=this,_0x1391da=_0x11af5d(_0x46633d,_0x1a2723,_0x4c0be4,_0x3ca0d9,_0xca290d,_0x2c6806);return _0x1391da instanceof _0x4fb88d[_0x28c162(0x226)]?_0x1391da['_schedule']():(_0x1391da instanceof _0x4fb88d['AwaitingWithPendingState']||_0x1391da instanceof _0x4fb88d[_0x28c162(0x2ab)])&&_0x1391da['resend'](),_0x1391da;}[_0x5bbf1c(0x424)](){var _0x20d0a8=_0x5bbf1c;throw new Error(_0x20d0a8(0x166));}},_0x4fb88d[_0x5bbf1c(0x12a)]=_0x359b9a([_0x3df9d0(0x5,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7['Injector'])),_0x3df9d0(0x6,_0x2b4fd7[_0x5bbf1c(0x131)](_0x7c64a[_0x5bbf1c(0x1f0)])),_0x3df9d0(0x7,_0x2b4fd7[_0x5bbf1c(0x423)]),_0x3df9d0(0x8,_0x2b4fd7[_0x5bbf1c(0x3ea)]),_0x3df9d0(0x9,_0x2b4fd7[_0x5bbf1c(0x158)](_0x60630c))],_0x4fb88d['OfflineState']),_0x4fb88d[_0x5bbf1c(0x33e)]=class extends _0x2409f7{constructor(_0x5978ba,_0xbb18ee,_0x190fbb,_0x3dbaa5,_0x2168c1,_0x48d337,_0x4b3db9,_0x5f3f83,_0x1738ed,_0x5acaee,_0x2aae71,_0xd67f6e,_0x5bd7e,_0x4fc573){var _0x401b0e=_0x5bbf1c;super(_0x5978ba,_0xbb18ee,_0x190fbb,_0x3dbaa5,_0x4b3db9,_0x2aae71,_0xd67f6e,_0x1738ed,_0x4fc573),_0x42eac7(this,_0x401b0e(0x425),_0x401b0e(0x3b4)),(this[_0x401b0e(0x357)]=_0x2168c1,this[_0x401b0e(0x362)]=_0x48d337,this[_0x401b0e(0x493)]=_0x5f3f83,this[_0x401b0e(0x12b)]=_0x5acaee,this['_transformService']=_0x5bd7e,this['localCacheService']=_0x4fc573);}['onMissedChangesetFetched'](_0x377a46){var _0x1c00c6=_0x5bbf1c;try{const _0x10ac5d=[..._0x377a46,...this['_queuedRemoteChangesets']],_0x4e2986=[this[_0x1c00c6(0x112)]||this[_0x1c00c6(0x357)]][_0x1c00c6(0x3e1)](_0x1dacc2=>!!_0x1dacc2);let _0x28707d,_0x467457;if(_0x4e2986[_0x1c00c6(0x484)]){const _0x290b8e=this[_0x1c00c6(0x29c)][_0x1c00c6(0x117)](_0x10ac5d,_0x4e2986,!0x1);if(!_0x7c64a[_0x1c00c6(0x15c)](_0x290b8e))throw _0x290b8e['error'];_0x28707d=_0x290b8e['c1Prime'],_0x467457=_0x290b8e[_0x1c00c6(0x388)];}else _0x28707d=_0x10ac5d,_0x467457=[];let _0x1feafc=this[_0x1c00c6(0x3fb)];_0x28707d[_0x1c00c6(0x47e)](_0x3c9331=>{var _0x37c55f=_0x1c00c6;let _0x4acf7c;if(_0x1feafc[_0x37c55f(0x484)]){const _0xec572e=this['_transformService'][_0x37c55f(0x412)](_0x3c9331,_0x1feafc);if(!_0x7c64a['isTransformMutationsWithChangesetSuccess'](_0xec572e))throw _0xec572e['error'];_0x4acf7c=_0xec572e[_0x37c55f(0x359)],_0x1feafc=_0xec572e['m2Prime'];}else _0x4acf7c=_0x3c9331;this[_0x37c55f(0x46b)](_0x4acf7c);}),this[_0x1c00c6(0x357)]&&this['_incrementRevisionNumber'](),this[_0x1c00c6(0x112)]&&_0x467457[_0x1c00c6(0x484)]&&(_0x467457[0x0][_0x1c00c6(0x448)]=this['_getCurrentRevision']());let _0x480321;if(this[_0x1c00c6(0x112)]&&_0x1feafc[_0x1c00c6(0x484)]!==0x0)_0x480321=this[_0x1c00c6(0x493)][_0x1c00c6(0x1ea)](_0x4fb88d[_0x1c00c6(0x414)],this[_0x1c00c6(0x3de)],this['type'],_0x467457[0x0],_0x1feafc,this[_0x1c00c6(0x23c)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1feafc[_0x1c00c6(0x484)]===0x0)_0x467457[0x0]['baseRev']=this['_getCurrentRevision'](),_0x480321=this[_0x1c00c6(0x493)][_0x1c00c6(0x1ea)](_0x4fb88d[_0x1c00c6(0x2ab)],this[_0x1c00c6(0x3de)],this[_0x1c00c6(0x257)],_0x467457[0x0],this['_handler']);else{if(_0x1feafc[_0x1c00c6(0x484)]!==0x0){const _0x9a591e=this[_0x1c00c6(0x493)][_0x1c00c6(0x1ea)](_0x4fb88d[_0x1c00c6(0x226)],this[_0x1c00c6(0x3de)],this[_0x1c00c6(0x257)],_0x1feafc,this['_handler']);_0x9a591e['_schedule'](),_0x480321=_0x9a591e;}else _0x480321=this[_0x1c00c6(0x493)][_0x1c00c6(0x1ea)](_0x4fb88d[_0x1c00c6(0x218)],this[_0x1c00c6(0x3de)],this[_0x1c00c6(0x257)],this[_0x1c00c6(0x23c)]);}}return _0x480321[_0x1c00c6(0x2ed)](),_0x480321;}catch(_0x5e8c34){return this[_0x1c00c6(0x12b)][_0x1c00c6(0x1ab)](_0x1c00c6(0x235),_0x1c00c6(0x220),_0x5e8c34),this['_injector']['createInstance'](_0x4fb88d[_0x1c00c6(0x39d)],this[_0x1c00c6(0x3de)],this[_0x1c00c6(0x257)],this[_0x1c00c6(0x112)],this[_0x1c00c6(0x3fb)],this['_handler'],!0x1);}}[_0x5bbf1c(0x424)](){var _0x494353=_0x5bbf1c;throw new Error(_0x494353(0x298));}[_0x5bbf1c(0x31f)](_0x11cd71){var _0x2a4a03=_0x5bbf1c;return this[_0x2a4a03(0x3fb)][_0x2a4a03(0x3d4)](_0x11cd71),this;}['onRemoteChangeset'](_0x467dd0){var _0x55d5ec=_0x5bbf1c;return this[_0x55d5ec(0x362)][_0x55d5ec(0x3d4)](_0x467dd0),this;}[_0x5bbf1c(0x329)](_0x4a5f1f){var _0x340793=_0x5bbf1c;if(this[_0x340793(0x112)])return this[_0x340793(0x357)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x4a4fa3){return this['_onConflict'](!!(_0x4a4fa3!=null&&_0x4a4fa3['isPermissionRej']));}[_0x5bbf1c(0x3bf)](){return this;}[_0x5bbf1c(0x2dd)](){var _0x3e91e8=_0x5bbf1c;return this[_0x3e91e8(0x493)][_0x3e91e8(0x1ea)](_0x4fb88d[_0x3e91e8(0x12a)],this['unitID'],this[_0x3e91e8(0x257)],this['_awaitingChangeset'],this[_0x3e91e8(0x3fb)],this[_0x3e91e8(0x23c)]);}['toggleOnline'](){return this;}[_0x5bbf1c(0x202)](_0x408e70){var _0x281063=_0x5bbf1c;return this['_injector'][_0x281063(0x1ea)](_0x4fb88d[_0x281063(0x39d)],this[_0x281063(0x3de)],this['type'],this[_0x281063(0x112)],this[_0x281063(0x3fb)],this[_0x281063(0x23c)],_0x408e70);}},_0x4fb88d[_0x5bbf1c(0x33e)]=_0x359b9a([_0x3df9d0(0x7,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7['Injector'])),_0x3df9d0(0x8,_0x2b4fd7['Inject'](_0x7c64a[_0x5bbf1c(0x1f0)])),_0x3df9d0(0x9,_0x2b4fd7[_0x5bbf1c(0x1a1)]),_0x3df9d0(0xa,_0x2b4fd7[_0x5bbf1c(0x423)]),_0x3df9d0(0xb,_0x2b4fd7[_0x5bbf1c(0x3ea)]),_0x3df9d0(0xc,_0x7c64a[_0x5bbf1c(0x31b)]),_0x3df9d0(0xd,_0x2b4fd7[_0x5bbf1c(0x158)](_0x60630c))],_0x4fb88d[_0x5bbf1c(0x33e)]);function _0x11af5d(_0x5649ba,_0x711962,_0xc0352,_0x22b384,_0x5e9136,_0x1f50a0){var _0x500262=_0x5bbf1c;return _0x22b384&&_0x5e9136['length']?_0x5649ba[_0x500262(0x1ea)](_0x4fb88d[_0x500262(0x414)],_0x711962,_0xc0352,_0x22b384,_0x5e9136,_0x1f50a0,void 0x0):_0x22b384?_0x5649ba['createInstance'](_0x4fb88d[_0x500262(0x2ab)],_0x711962,_0xc0352,_0x22b384,_0x1f50a0):_0x5e9136[_0x500262(0x484)]?_0x5649ba[_0x500262(0x1ea)](_0x4fb88d[_0x500262(0x226)],_0x711962,_0xc0352,_0x5e9136,_0x1f50a0):_0x5649ba['createInstance'](_0x4fb88d[_0x500262(0x218)],_0x711962,_0xc0352,_0x1f50a0);}var _0x52861f=Object[_0x5bbf1c(0x2ba)],_0x47c284=(_0x2eb02c,_0x266c85,_0x3be280,_0x2dd7ca)=>{var _0x4a9efe=_0x5bbf1c;for(var _0x5a9304=_0x2dd7ca>0x1?void 0x0:_0x2dd7ca?_0x52861f(_0x266c85,_0x3be280):_0x266c85,_0x552f27=_0x2eb02c[_0x4a9efe(0x484)]-0x1,_0x24b168;_0x552f27>=0x0;_0x552f27--)(_0x24b168=_0x2eb02c[_0x552f27])&&(_0x5a9304=_0x24b168(_0x5a9304)||_0x5a9304);return _0x5a9304;},_0x673b18=(_0x4d95b5,_0x3e88d6)=>(_0x209392,_0x354c5d)=>_0x3e88d6(_0x209392,_0x354c5d,_0x4d95b5);_0x4fb88d['CollaborationEntity']=class extends _0x2b4fd7[_0x5bbf1c(0x1da)]{constructor(_0x70103a,_0x423833,_0x57f07f,_0x44da04,_0x4016d4,_0x5ece6e,_0x5782b5,_0x2b8335,_0x483114,_0x5d6097,_0x1a17af,_0x12a488,_0x3139c5,_0x10f9ca){var _0x4533b7=_0x5bbf1c;super(),_0x42eac7(this,_0x4533b7(0x11c),new _0x4a62d2[(_0x4533b7(0x18c))](null)),_0x42eac7(this,'state$',this[_0x4533b7(0x11c)][_0x4533b7(0x16a)]()),_0x42eac7(this,_0x4533b7(0x258)),_0x42eac7(this,'_collaborationPaused',!0x1),_0x42eac7(this,_0x4533b7(0x10c),''),_0x42eac7(this,_0x4533b7(0x144),0x0),_0x42eac7(this,_0x4533b7(0x36f),this[_0x4533b7(0x1f2)]['pipe'](_0x4a62d2[_0x4533b7(0x398)](_0x204e1a=>_0x204e1a?_0x204e1a[_0x4533b7(0x425)]:_0x48ab07[_0x4533b7(0x21e)]),_0x4a62d2[_0x4533b7(0x23d)](0x1))),_0x42eac7(this,_0x4533b7(0x317),!0x1),_0x42eac7(this,'_remoteChangesetQueue',[]),(this[_0x4533b7(0x3de)]=_0x70103a,this['session']=_0x423833,this[_0x4533b7(0x401)]=_0x57f07f,this[_0x4533b7(0x493)]=_0x44da04,this['_compressMutationService']=_0x4016d4,this['_localeService']=_0x5ece6e,this[_0x4533b7(0x2d1)]=_0x5782b5,this[_0x4533b7(0x2ec)]=_0x2b8335,this[_0x4533b7(0x1cc)]=_0x483114,this[_0x4533b7(0x12b)]=_0x5d6097,this[_0x4533b7(0x478)]=_0x1a17af,this[_0x4533b7(0x110)]=_0x12a488,this[_0x4533b7(0x1ed)]=_0x3139c5,this[_0x4533b7(0x37b)]=_0x10f9ca);}get[_0x5bbf1c(0x2ca)](){var _0x2bb8a3=_0x5bbf1c;return this[_0x2bb8a3(0x258)];}async[_0x5bbf1c(0x28b)](){var _0xae9cae=_0x5bbf1c;if(this['state'])throw new Error(_0xae9cae(0x3f4));await this['_init']();}[_0x5bbf1c(0x26b)](){var _0x14bd5d=_0x5bbf1c;return this[_0x14bd5d(0x217)]=!0x0,_0x2b4fd7[_0x14bd5d(0x18e)](()=>{var _0x28c125=_0x14bd5d;this[_0x28c125(0x217)]=!0x1,this[_0x28c125(0x24f)]();});}[_0x5bbf1c(0x464)](_0x4e1d88){var _0xf3148b=_0x5bbf1c;this[_0xf3148b(0x15e)](_0x4e1d88);}[_0x5bbf1c(0x2f6)](_0x1c780b){var _0x181b6a=_0x5bbf1c;this['_state']=_0x1c780b,this[_0x181b6a(0x11c)][_0x181b6a(0x3d7)](_0x1c780b);}async[_0x5bbf1c(0x1c2)](){var _0x26cf1c=_0x5bbf1c,_0x3e9d1d;this[_0x26cf1c(0x2f6)](await this[_0x26cf1c(0x382)]()),this[_0x26cf1c(0x1ed)]&&((_0x3e9d1d=this[_0x26cf1c(0x1ed)])==null||_0x3e9d1d[_0x26cf1c(0x152)](this['unitID']),this[_0x26cf1c(0x104)](this[_0x26cf1c(0x1ed)]['getUnitStatus$'](this[_0x26cf1c(0x3de)])[_0x26cf1c(0x123)](_0x3428c1=>{var _0x522025=_0x26cf1c;this['_logService'][_0x522025(0x1fa)](_0x522025(0x3f6),'editing\x20status\x20changed\x20to',_0x3428c1),_0x3428c1===_0x5178e0[_0x522025(0x420)]?(this[_0x522025(0x2ec)][_0x522025(0x38e)]({'id':_0x1814a0[_0x522025(0x369)]}),this[_0x522025(0x110)]['updatePermissionPoint'](new _0x298669[(_0x522025(0x35d))](this['unitID'])['id'],!0x1),this[_0x522025(0x110)][_0x522025(0x130)](!0x1)):(this[_0x522025(0x110)][_0x522025(0x1e0)](new _0x298669[(_0x522025(0x35d))](this[_0x522025(0x3de)])['id'],!0x0),this[_0x522025(0x110)]['setShowComponents'](!0x0));})));let _0x312f03=!0x1;return this[_0x26cf1c(0x104)](this[_0x26cf1c(0x413)][_0x26cf1c(0x458)]['subscribe'](_0x2db824=>{var _0x28a2ea=_0x26cf1c;_0x2db824===_0x56c9a9['ONLINE']?this[_0x28a2ea(0x3d6)](_0x312f03):_0x2db824===_0x56c9a9['OFFLINE']&&(_0x312f03=!0x0,this[_0x28a2ea(0x1d2)]());})),this[_0x26cf1c(0x104)](this[_0x26cf1c(0x413)][_0x26cf1c(0x353)][_0x26cf1c(0x123)](_0x4dd061=>{var _0x4be5ad=_0x26cf1c;try{switch(_0x4dd061[_0x4be5ad(0x265)]){case _0x7c64a[_0x4be5ad(0x426)][_0x4be5ad(0x1f6)]:{this[_0x4be5ad(0x28e)](_0x7c64a[_0x4be5ad(0x157)](_0x4dd061[_0x4be5ad(0x397)]));break;}case _0x7c64a[_0x4be5ad(0x426)][_0x4be5ad(0x416)]:{this[_0x4be5ad(0x2b9)](_0x4dd061['data']);break;}case _0x7c64a[_0x4be5ad(0x426)][_0x4be5ad(0x312)]:{this[_0x4be5ad(0x309)]();break;}case _0x7c64a[_0x4be5ad(0x426)][_0x4be5ad(0x344)]:{this[_0x4be5ad(0x440)](_0x4dd061['data']);break;}case _0x7c64a['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4be5ad(0x46a)](_0x4dd061['data'][_0x4be5ad(0x305)][_0x4be5ad(0x398)](_0x22b2fa=>_0x7c64a['parseProtocolChangeset'](_0x22b2fa)));break;}case _0x7c64a[_0x4be5ad(0x426)][_0x4be5ad(0x313)]:{this[_0x4be5ad(0x309)]({'isPermissionRej':!0x0});break;}case _0x7c64a[_0x4be5ad(0x426)][_0x4be5ad(0x37d)]:break;}}catch(_0x2f9382){throw console[_0x4be5ad(0x1ab)](_0x4be5ad(0x1d8),_0x2f9382),_0x2f9382;}})),this[_0x26cf1c(0x258)];}[_0x5bbf1c(0x480)](){var _0x42dce6=_0x5bbf1c;this[_0x42dce6(0x317)]=!0x1;}[_0x5bbf1c(0x3c7)](){var _0x3449da=_0x5bbf1c;if(this[_0x3449da(0x317)])throw new Error(_0x3449da(0x32f));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x383a09){var _0x410160=_0x5bbf1c;this[_0x410160(0x3c7)](),this[_0x410160(0x2f6)](this[_0x410160(0x258)]['appendMutation'](_0x383a09)),this[_0x410160(0x480)]();}[_0x5bbf1c(0x28e)](_0x4f74d4){var _0x4228a3=_0x5bbf1c;if(!(_0x4f74d4[_0x4228a3(0x304)]<=this['_revisionService'][_0x4228a3(0x331)](this['unitID']))){if(this[_0x4228a3(0x217)]){this[_0x4228a3(0x26a)][_0x4228a3(0x3d4)](_0x4f74d4);return;}this[_0x4228a3(0x348)](_0x4f74d4);}}[_0x5bbf1c(0x24f)](){var _0x39980d=_0x5bbf1c;this[_0x39980d(0x26a)][_0x39980d(0x47e)](_0x5e453e=>this[_0x39980d(0x348)](_0x5e453e)),this[_0x39980d(0x26a)]=[];}[_0x5bbf1c(0x348)](_0x29e681){var _0x3bbf93=_0x5bbf1c;const _0x545806=this[_0x3bbf93(0x1fc)][_0x3bbf93(0x33f)][_0x3bbf93(0x216)](this[_0x3bbf93(0x1fc)][_0x3bbf93(0x33f)]['getInterceptPoints']()[_0x3bbf93(0x3ae)])(_0x29e681[_0x3bbf93(0x11d)],null)||_0x29e681[_0x3bbf93(0x11d)],_0x1ea3e3={..._0x29e681,'mutations':_0x545806};this['_lockTransition'](),this[_0x3bbf93(0x2f6)](this[_0x3bbf93(0x258)]['onRemoteChangeset'](_0x1ea3e3)),this[_0x3bbf93(0x480)]();}[_0x5bbf1c(0x2b9)](_0x27ecb9){var _0x12b27f=_0x5bbf1c;this['_lockTransition'](),this[_0x12b27f(0x2f6)](this[_0x12b27f(0x258)][_0x12b27f(0x329)](_0x27ecb9)),this['_unlockTransition']();}[_0x5bbf1c(0x309)](_0x4f40a4){var _0x980bfb=_0x5bbf1c;this[_0x980bfb(0x3c7)](),this['_updateState'](this[_0x980bfb(0x258)][_0x980bfb(0x323)](_0x4f40a4)),this[_0x980bfb(0x480)]();}[_0x5bbf1c(0x440)](_0x1a3675){var _0x42c95d=_0x5bbf1c;this[_0x42c95d(0x3c7)](),this[_0x42c95d(0x2f6)](this[_0x42c95d(0x258)][_0x42c95d(0x3bf)](_0x1a3675)),this[_0x42c95d(0x480)]();}['_onFetchMissResult'](_0x542ebf){var _0x1e850b=_0x5bbf1c;if(!(this[_0x1e850b(0x258)]instanceof _0x4fb88d[_0x1e850b(0x33e)]))throw new TypeError(_0x1e850b(0x406));const _0x2325c2=_0x542ebf[_0x1e850b(0x398)](_0x5de05a=>{var _0xf87368=_0x1e850b;const _0x2781e3=this[_0xf87368(0x1fc)][_0xf87368(0x33f)]['fetchThroughInterceptors'](this[_0xf87368(0x1fc)]['interceptor'][_0xf87368(0x209)]()['COMPRESS_MUTATION_APPLY'])(_0x5de05a[_0xf87368(0x11d)],null)||_0x5de05a[_0xf87368(0x11d)];return{..._0x5de05a,'mutations':_0x2781e3};});this[_0x1e850b(0x3c7)](),this[_0x1e850b(0x2f6)](this['_state'][_0x1e850b(0x415)](_0x2325c2)),this[_0x1e850b(0x480)]();}[_0x5bbf1c(0x1d2)](){var _0x7cc579=_0x5bbf1c;this[_0x7cc579(0x3c7)](),this[_0x7cc579(0x2f6)](this[_0x7cc579(0x258)][_0x7cc579(0x2dd)]()),this['_unlockTransition']();}['_toggleOnline'](_0x5463ec=!0x1){var _0xcc6e00=_0x5bbf1c;this['_lockTransition'](),this[_0xcc6e00(0x2f6)](this[_0xcc6e00(0x258)][_0xcc6e00(0x2bc)]()),this[_0xcc6e00(0x480)]();const _0x235b2a=this[_0xcc6e00(0x258)];_0x5463ec&&_0x235b2a instanceof _0x4fb88d[_0xcc6e00(0x218)]&&(this[_0xcc6e00(0x3c7)](),this[_0xcc6e00(0x2f6)](_0x235b2a[_0xcc6e00(0x3d8)]()),this[_0xcc6e00(0x480)]());}async[_0x5bbf1c(0x382)](){return new Promise(_0x5cedff=>{var _0x1acbf5=_0x4c70;this[_0x1acbf5(0x413)][_0x1acbf5(0x458)][_0x1acbf5(0x337)](_0x4a62d2[_0x1acbf5(0x1b2)](0x1))['subscribe'](async _0x5c52ac=>{_0x5cedff(await this['_createInitialStateImpl'](_0x5c52ac===_0x56c9a9['ONLINE']));});});}['_createHandler'](){var _0x427106=_0x5bbf1c;const _0x376ed7=this[_0x427106(0x3de)];return{'onStateChange':(_0x381147,_0x113a3e)=>{var _0x52f465=_0x427106;if(_0x381147!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x381147[_0x52f465(0x425)]+'\x0aAfter:\x20'+_0x113a3e['status']+'\x0aCurrent:\x20'+this[_0x52f465(0x258)][_0x52f465(0x425)]);this[_0x52f465(0x2f6)](_0x113a3e);},'onSendChangeset':_0x1feed5=>{var _0x266219=_0x427106;_0x1feed5[_0x266219(0x411)]||(_0x1feed5[_0x266219(0x411)]=this['_changesetSessionId'],_0x1feed5[_0x266219(0x2d8)]=++this[_0x266219(0x144)]);const _0x26d797={'eventID':_0x7c64a[_0x266219(0x426)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x1feed5[_0x266219(0x3de)],'unitType':this[_0x266219(0x401)],'changeset':_0x1feed5,'memberID':this[_0x266219(0x413)]['getMemberID']()}};this[_0x266219(0x413)]['send'](_0x26d797,this[_0x266219(0x3de)]);},'onMissingChangesets':({from:_0x42822a,to:_0x2734ed})=>{var _0x26f43e=_0x427106;this[_0x26f43e(0x12b)][_0x26f43e(0x1fa)](_0x26f43e(0x3f6),'fetching\x20missing\x20changesets\x20from\x20'+_0x42822a+'\x20to\x20'+_0x2734ed);const _0x538623={'eventID':_0x7c64a[_0x26f43e(0x426)]['FETCH_MISSING'],'data':{'unitID':_0x376ed7,'unitType':this[_0x26f43e(0x401)],'from':_0x42822a,'to':_0x2734ed}};this[_0x26f43e(0x413)][_0x26f43e(0x2d4)](_0x538623,this['unitID']);}};}async['_createInitialStateImpl'](_0x4a744b){var _0x317231=_0x5bbf1c,_0x17fc9d,_0x47bce1,_0x46f817;const _0xd31f6f=await((_0x17fc9d=this['_localCacheService'])==null?void 0x0:_0x17fc9d[_0x317231(0x446)](this['unitID'])),_0x40a347=(_0x47bce1=_0xd31f6f==null?void 0x0:_0xd31f6f[_0x317231(0x11d)])!=null?_0x47bce1:[],_0x592342=(_0x46f817=_0xd31f6f==null?void 0x0:_0xd31f6f[_0x317231(0x23a)])!=null?_0x46f817:null,_0x19279a=!!(_0x592342!=null&&_0x592342[_0x317231(0x411)])&&!!(_0x592342!=null&&_0x592342['reqId']);this[_0x317231(0x10c)]=_0x19279a?_0x592342[_0x317231(0x411)]:_0x7c64a['uuidv4'](),this[_0x317231(0x144)]=_0x19279a?_0x592342[_0x317231(0x2d8)]:0x0;const _0x471a11=this['unitID'];try{this[_0x317231(0x39e)](_0x592342,_0x40a347);}catch(_0x2b0687){this[_0x317231(0x12b)]['error'](_0x2b0687);}const _0x424a3d=this[_0x317231(0x49f)]();if(_0x4a744b){const _0x4a9288=_0x11af5d(this[_0x317231(0x493)],_0x471a11,this[_0x317231(0x401)],_0x592342,_0x40a347,_0x424a3d);return _0x4a9288 instanceof _0x4fb88d[_0x317231(0x226)]?_0x4a9288[_0x317231(0x11a)]():(_0x4a9288 instanceof _0x4fb88d[_0x317231(0x414)]||_0x4a9288 instanceof _0x4fb88d[_0x317231(0x2ab)])&&_0x4a9288[_0x317231(0x424)](),_0x4a9288;}return this[_0x317231(0x493)][_0x317231(0x1ea)](_0x4fb88d['OfflineState'],_0x471a11,this[_0x317231(0x401)],_0x592342,_0x40a347,_0x424a3d);}[_0x5bbf1c(0x39e)](_0x2ddb82,_0x30dae3){var _0x2c50e0=_0x5bbf1c,_0x203204,_0x3af74d;const _0x373014=this[_0x2c50e0(0x1fc)][_0x2c50e0(0x33f)][_0x2c50e0(0x216)](this[_0x2c50e0(0x1fc)][_0x2c50e0(0x33f)][_0x2c50e0(0x209)]()[_0x2c50e0(0x3ae)]);(_0x203204=_0x373014((_0x2ddb82==null?void 0x0:_0x2ddb82['mutations'])||[],null))==null||_0x203204['forEach'](_0xba167e=>this['_commandService'][_0x2c50e0(0x2d2)](_0xba167e['id'],_0xba167e[_0x2c50e0(0x10d)])),(_0x3af74d=_0x373014(_0x30dae3||[],null))==null||_0x3af74d[_0x2c50e0(0x47e)](_0x50779c=>this[_0x2c50e0(0x478)][_0x2c50e0(0x2d2)](_0x50779c['id'],_0x50779c[_0x2c50e0(0x10d)]));}},_0x4fb88d[_0x5bbf1c(0x3a9)]=_0x47c284([_0x673b18(0x3,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7['Injector'])),_0x673b18(0x4,_0x2b4fd7[_0x5bbf1c(0x131)](_0x7c64a['CompressMutationService'])),_0x673b18(0x5,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x24a)])),_0x673b18(0x6,_0x2b4fd7[_0x5bbf1c(0x131)](_0x7c64a['RevisionService'])),_0x673b18(0x7,_0x2b4fd7['Inject'](_0x3e8fc1)),_0x673b18(0x8,_0x2b4fd7[_0x5bbf1c(0x435)]),_0x673b18(0x9,_0x2b4fd7[_0x5bbf1c(0x1a1)]),_0x673b18(0xa,_0x2b4fd7[_0x5bbf1c(0x423)]),_0x673b18(0xb,_0x2b4fd7[_0x5bbf1c(0x14d)]),_0x673b18(0xc,_0x2b4fd7[_0x5bbf1c(0x158)](_0x3988c9)),_0x673b18(0xd,_0x2b4fd7[_0x5bbf1c(0x158)](_0x60630c))],_0x4fb88d[_0x5bbf1c(0x3a9)]),_0x4fb88d[_0x5bbf1c(0x292)]=class extends _0x4fb88d[_0x5bbf1c(0x3a9)]{constructor(_0xa5ad2f,_0x1106a4,_0x232ce2,_0x4a2126,_0x2a971a,_0x1f5fc5,_0x2ee68e,_0x3c2053,_0x1bf729,_0x468e4e,_0x50eda5,_0x2bffdd,_0x3c832d,_0x3b5e65){var _0x90a387=_0x5bbf1c;super(_0xa5ad2f,_0x232ce2,_0x1106a4,_0x4a2126,_0x2a971a,_0x1f5fc5,_0x2ee68e,_0x3c2053,_0x1bf729,_0x468e4e,_0x50eda5,_0x2bffdd,_0x3c832d,_0x3b5e65),_0x42eac7(this,_0x90a387(0x43b),null),(this['unitID']=_0xa5ad2f,this[_0x90a387(0x257)]=_0x1106a4);}[_0x5bbf1c(0x2cf)](_0x77234f){var _0x24fdb2=_0x5bbf1c;this[_0x24fdb2(0x43b)]=_0x77234f;}[_0x5bbf1c(0x459)](){var _0x52bcec=_0x5bbf1c;this[_0x52bcec(0x43b)]=null,super[_0x52bcec(0x459)]();}['_createHandler'](){var _0x4dee27=_0x5bbf1c;const _0x4cc132=super['_createHandler']();return _0x4cc132[_0x4dee27(0x3b7)]=_0x26d677=>{var _0x2587ea=_0x4dee27,_0x51554a,_0x3bf502;return(_0x3bf502=(_0x51554a=this[_0x2587ea(0x43b)])==null?void 0x0:_0x51554a[_0x2587ea(0x3b7)])==null?void 0x0:_0x3bf502['call'](_0x51554a,_0x26d677);},_0x4cc132[_0x4dee27(0x188)]=_0x189e5b=>{var _0x1cca23=_0x4dee27,_0x534ffa,_0x1b3838;return(_0x1b3838=(_0x534ffa=this[_0x1cca23(0x43b)])==null?void 0x0:_0x534ffa[_0x1cca23(0x188)])==null?void 0x0:_0x1b3838[_0x1cca23(0x419)](_0x534ffa,_0x189e5b);},_0x4cc132['onTransformSelections']=_0x5cee2d=>{var _0x572542=_0x4dee27,_0x2239ad,_0x17d948;return(_0x17d948=(_0x2239ad=this['_handlerCallback'])==null?void 0x0:_0x2239ad[_0x572542(0x483)])==null?void 0x0:_0x17d948['call'](_0x2239ad,_0x5cee2d);},_0x4cc132[_0x4dee27(0x385)]=_0x3e8d18=>{var _0xb43599=_0x4dee27,_0xb2f21b,_0x5dfa3a;return(_0x5dfa3a=(_0xb2f21b=this[_0xb43599(0x43b)])==null?void 0x0:_0xb2f21b['onSyncEditingCollabCursor'])==null?void 0x0:_0x5dfa3a[_0xb43599(0x419)](_0xb2f21b,_0x3e8d18);},_0x4cc132[_0x4dee27(0x181)]=_0xfe463f=>{var _0x1af810=_0x4dee27,_0x594101,_0x1da4b7,_0x2abce0;if(!((_0x594101=this[_0x1af810(0x43b)])!=null&&_0x594101[_0x1af810(0x181)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2abce0=(_0x1da4b7=this['_handlerCallback'])==null?void 0x0:_0x1da4b7[_0x1af810(0x181)])==null?void 0x0:_0x2abce0[_0x1af810(0x419)](_0x1da4b7,_0xfe463f);},_0x4cc132[_0x4dee27(0x3f9)]=_0x32c832=>{var _0x1eaacb=_0x4dee27,_0x9057a6,_0x5e9762,_0x50047d;if(!((_0x9057a6=this[_0x1eaacb(0x43b)])!=null&&_0x9057a6[_0x1eaacb(0x3f9)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x50047d=(_0x5e9762=this[_0x1eaacb(0x43b)])==null?void 0x0:_0x5e9762['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x50047d[_0x1eaacb(0x419)](_0x5e9762,_0x32c832);},_0x4cc132;}async[_0x5bbf1c(0x1c2)](){var _0x13d06c=_0x5bbf1c;const _0x21ae48=await super[_0x13d06c(0x1c2)]();return this[_0x13d06c(0x104)](this[_0x13d06c(0x478)][_0x13d06c(0x34e)]((_0x37bfe7,_0x3cd2f6)=>{var _0x470fd8=_0x13d06c;if(_0x37bfe7[_0x470fd8(0x257)]!==_0x2b4fd7['CommandType'][_0x470fd8(0x1e3)]||_0x3cd2f6!=null&&_0x3cd2f6[_0x470fd8(0x364)]||_0x3cd2f6!=null&&_0x3cd2f6[_0x470fd8(0x240)]||_0x37bfe7['id']===_0x29f018['RichTextEditingMutation']['id'])return;const _0xc339a9=_0x37bfe7['params'];if((_0xc339a9==null?void 0x0:_0xc339a9['unitId'])!==this[_0x470fd8(0x3de)])return;const _0x61a955=_0x37bfe7,_0x32e502=this['_compressMutationService'][_0x470fd8(0x33f)][_0x470fd8(0x216)](this[_0x470fd8(0x1fc)][_0x470fd8(0x33f)]['getInterceptPoints']()[_0x470fd8(0x347)])([_0x61a955],this[_0x470fd8(0x1cc)])||[_0x61a955];this[_0x470fd8(0x15e)](_0x32e502[0x0]);})),_0x21ae48;}},_0x4fb88d[_0x5bbf1c(0x292)]=_0x47c284([_0x673b18(0x3,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7['Injector'])),_0x673b18(0x4,_0x2b4fd7['Inject'](_0x7c64a[_0x5bbf1c(0x441)])),_0x673b18(0x5,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x24a)])),_0x673b18(0x6,_0x2b4fd7[_0x5bbf1c(0x131)](_0x7c64a[_0x5bbf1c(0x1f0)])),_0x673b18(0x7,_0x2b4fd7[_0x5bbf1c(0x131)](_0x3e8fc1)),_0x673b18(0x8,_0x2b4fd7[_0x5bbf1c(0x435)]),_0x673b18(0x9,_0x2b4fd7['ILogService']),_0x673b18(0xa,_0x2b4fd7[_0x5bbf1c(0x423)]),_0x673b18(0xb,_0x2b4fd7[_0x5bbf1c(0x14d)]),_0x673b18(0xc,_0x2b4fd7[_0x5bbf1c(0x158)](_0x3988c9)),_0x673b18(0xd,_0x2b4fd7[_0x5bbf1c(0x158)](_0x60630c))],_0x4fb88d[_0x5bbf1c(0x292)]),_0x4fb88d[_0x5bbf1c(0x44d)]=class extends _0x4fb88d[_0x5bbf1c(0x3a9)]{constructor(_0x56721f,_0x28b634,_0x11d3a3,_0x194471,_0x526ca9,_0xc0442,_0x29778b,_0x2a8ac1,_0x35f816,_0x53cd30,_0x3984cf,_0x1d956a,_0x27e3b8,_0x5e6fa2,_0x4d60a6){var _0x38c5e0=_0x5bbf1c;super(_0x56721f,_0x11d3a3,_0x28b634,_0x194471,_0x526ca9,_0xc0442,_0x29778b,_0x35f816,_0x53cd30,_0x3984cf,_0x1d956a,_0x27e3b8,_0x5e6fa2,_0x4d60a6),this[_0x38c5e0(0x3de)]=_0x56721f,this['type']=_0x28b634,this[_0x38c5e0(0x37a)]=_0x2a8ac1;}[_0x5bbf1c(0x49f)](){var _0x24215d=_0x5bbf1c;const _0xaf7e8=super[_0x24215d(0x49f)]();return _0xaf7e8[_0x24215d(0x483)]=_0x4425d3=>this[_0x24215d(0x37a)][_0x24215d(0x42d)](_0x4425d3),_0xaf7e8;}async[_0x5bbf1c(0x1c2)](){var _0x5c4193=_0x5bbf1c;const _0x51a52c=await super[_0x5c4193(0x1c2)]();return this[_0x5c4193(0x104)](this['_commandService']['onMutationExecutedForCollab']((_0x5493cf,_0x501c17)=>{var _0x2fc1e1=_0x5c4193;if(_0x5493cf['type']!==_0x2b4fd7[_0x2fc1e1(0x106)]['MUTATION']||_0x501c17!=null&&_0x501c17[_0x2fc1e1(0x364)]||_0x501c17!=null&&_0x501c17[_0x2fc1e1(0x240)])return;const _0x201ff6=_0x5493cf['params'];if((_0x201ff6==null?void 0x0:_0x201ff6[_0x2fc1e1(0x2a2)])!==this['unitID'])return;const _0x46e6b7=_0x5493cf,_0x5f4726=this[_0x2fc1e1(0x1fc)][_0x2fc1e1(0x33f)][_0x2fc1e1(0x216)](this[_0x2fc1e1(0x1fc)][_0x2fc1e1(0x33f)][_0x2fc1e1(0x209)]()['COMPRESS_MUTATION_SEND'])([_0x46e6b7],this[_0x2fc1e1(0x1cc)])||[_0x46e6b7];this[_0x2fc1e1(0x15e)](_0x5f4726[0x0]);})),_0x51a52c;}},_0x4fb88d[_0x5bbf1c(0x44d)]=_0x47c284([_0x673b18(0x3,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x2ad)])),_0x673b18(0x4,_0x2b4fd7[_0x5bbf1c(0x131)](_0x7c64a['CompressMutationService'])),_0x673b18(0x5,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x24a)])),_0x673b18(0x6,_0x2b4fd7['Inject'](_0x7c64a[_0x5bbf1c(0x1f0)])),_0x673b18(0x7,_0x2b4fd7[_0x5bbf1c(0x131)](_0x4fb88d[_0x5bbf1c(0x12d)])),_0x673b18(0x8,_0x2b4fd7[_0x5bbf1c(0x131)](_0x3e8fc1)),_0x673b18(0x9,_0x2b4fd7[_0x5bbf1c(0x435)]),_0x673b18(0xa,_0x2b4fd7[_0x5bbf1c(0x1a1)]),_0x673b18(0xb,_0x2b4fd7[_0x5bbf1c(0x423)]),_0x673b18(0xc,_0x2b4fd7[_0x5bbf1c(0x14d)]),_0x673b18(0xd,_0x2b4fd7[_0x5bbf1c(0x158)](_0x3988c9)),_0x673b18(0xe,_0x2b4fd7[_0x5bbf1c(0x158)](_0x60630c))],_0x4fb88d['SheetCollaborationEntity']);const _0x56ce97=_0x2b4fd7[_0x5bbf1c(0x29f)](_0x5bbf1c(0x1cd));function _0x4e15be(_0x139c94){var _0x3c5633=_0x5bbf1c,_0x17b87c,_0x57b527,_0x1f7c12,_0x43ee7b,_0x4954df;const _0x3e307d=_0x139c94[_0x3c5633(0x397)],_0x5c38aa=JSON[_0x3c5633(0x453)](_0x3e307d);switch(_0x5c38aa[_0x3c5633(0x30d)]){case _0x98e68[_0x3c5633(0x3f3)]:case _0x98e68[_0x3c5633(0x407)]:{const _0x27ecbd=_0x5c38aa[_0x3c5633(0x3db)];return{..._0x5c38aa,'data':_0x27ecbd,'cmd':_0x5c38aa[_0x3c5633(0x30d)]};}case _0x98e68[_0x3c5633(0x366)]:{const _0x2f9f75=_0x5c38aa[_0x3c5633(0x2d9)];return{..._0x5c38aa,'data':_0x2f9f75,'cmd':_0x5c38aa[_0x3c5633(0x30d)]};}case _0x98e68[_0x3c5633(0x1ee)]:{const _0x2416b9=_0x5c38aa[_0x3c5633(0x490)];switch(_0x2416b9[_0x3c5633(0x265)]){case _0x7c64a[_0x3c5633(0x426)][_0x3c5633(0x313)]:return{..._0x5c38aa,'data':{..._0x2416b9,'data':(_0x17b87c=_0x2416b9[_0x3c5633(0x16c)])==null?void 0x0:_0x17b87c['cs']},'cmd':_0x5c38aa[_0x3c5633(0x30d)]};case _0x7c64a['CollaborationEvent']['CHANGESET_ACK']:return{..._0x5c38aa,'data':{..._0x2416b9,'data':(_0x57b527=_0x2416b9[_0x3c5633(0x251)])==null?void 0x0:_0x57b527['cs']},'cmd':_0x5c38aa[_0x3c5633(0x30d)]};case _0x7c64a['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x5c38aa,'data':{..._0x2416b9,'data':(_0x1f7c12=_0x2416b9[_0x3c5633(0x49c)])==null?void 0x0:_0x1f7c12['cs']},'cmd':_0x5c38aa['cmd']};case _0x7c64a[_0x3c5633(0x426)][_0x3c5633(0x312)]:return{..._0x5c38aa,'data':{..._0x2416b9,'data':(_0x43ee7b=_0x2416b9[_0x3c5633(0x2b3)])==null?void 0x0:_0x43ee7b['cs']},'cmd':_0x5c38aa['cmd']};case _0x7c64a['CollaborationEvent'][_0x3c5633(0x344)]:return{..._0x5c38aa,'data':{..._0x2416b9,'data':(_0x4954df=_0x2416b9[_0x3c5633(0x316)])==null?void 0x0:_0x4954df['cs']},'cmd':_0x5c38aa[_0x3c5633(0x30d)]};case _0x7c64a['CollaborationEvent'][_0x3c5633(0x354)]:return{..._0x5c38aa,'data':{..._0x2416b9,'data':_0x2416b9[_0x3c5633(0x126)]},'cmd':_0x5c38aa[_0x3c5633(0x30d)]};case _0x7c64a[_0x3c5633(0x426)][_0x3c5633(0x24c)]:return{..._0x5c38aa,'data':{..._0x2416b9,'data':_0x2416b9[_0x3c5633(0x38f)]},'cmd':_0x5c38aa[_0x3c5633(0x30d)]};case _0x7c64a[_0x3c5633(0x426)][_0x3c5633(0x107)]:return{..._0x5c38aa,'data':{..._0x2416b9,'data':_0x2416b9[_0x3c5633(0x290)]},'cmd':_0x5c38aa[_0x3c5633(0x30d)]};case _0x7c64a[_0x3c5633(0x426)][_0x3c5633(0x44f)]:return{..._0x5c38aa,'data':{..._0x2416b9,'data':_0x2416b9[_0x3c5633(0x231)]},'cmd':_0x5c38aa[_0x3c5633(0x30d)]};case _0x7c64a[_0x3c5633(0x426)][_0x3c5633(0x1bf)]:case _0x7c64a['CollaborationEvent'][_0x3c5633(0x17f)]:return{..._0x5c38aa,'data':{..._0x2416b9,'data':_0x2416b9['liveShareOperation']},'cmd':_0x5c38aa['cmd']};case _0x7c64a[_0x3c5633(0x426)][_0x3c5633(0x10f)]:return{..._0x5c38aa,'data':{..._0x2416b9,'data':_0x2416b9['liveShareNewHost']},'cmd':_0x5c38aa[_0x3c5633(0x30d)]};case _0x7c64a[_0x3c5633(0x426)][_0x3c5633(0x3c8)]:return{..._0x5c38aa,'data':_0x2416b9,'cmd':_0x5c38aa[_0x3c5633(0x30d)]};case _0x7c64a[_0x3c5633(0x426)][_0x3c5633(0x223)]:return{..._0x5c38aa,'data':{..._0x2416b9,'data':_0x2416b9[_0x3c5633(0x300)]},'cmd':_0x5c38aa[_0x3c5633(0x30d)]};case _0x7c64a[_0x3c5633(0x426)]['UPDATE_PERMISSION_OBJ']:return{..._0x5c38aa,'data':{..._0x2416b9,'data':_0x2416b9['updatePermissionObjEvent']},'cmd':_0x5c38aa[_0x3c5633(0x30d)]};case _0x7c64a[_0x3c5633(0x426)][_0x3c5633(0x285)]:return{..._0x5c38aa,'data':{..._0x2416b9,'data':_0x2416b9[_0x3c5633(0x24e)]},'cmd':_0x5c38aa[_0x3c5633(0x30d)]};case _0x7c64a[_0x3c5633(0x426)][_0x3c5633(0x37d)]:return{..._0x5c38aa,'data':{..._0x2416b9,'data':_0x2416b9[_0x3c5633(0x1f4)]},'cmd':_0x5c38aa['cmd']};default:return _0x5c38aa;}}default:return _0x5c38aa;}}function _0x236db3(_0x508cee){var _0x31b689=_0x5bbf1c;switch(_0x508cee[_0x31b689(0x30d)]){case _0x98e68[_0x31b689(0x3f3)]:case _0x98e68[_0x31b689(0x407)]:return JSON[_0x31b689(0x442)]({'cmd':_0x508cee[_0x31b689(0x30d)],'routeKey':_0x508cee[_0x31b689(0x22f)]});case _0x98e68[_0x31b689(0x153)]:{let _0x58a0d8;switch(_0x508cee[_0x31b689(0x397)][_0x31b689(0x265)]){case _0x7c64a[_0x31b689(0x426)][_0x31b689(0x354)]:{_0x58a0d8={'eventID':_0x7c64a['CollaborationEvent'][_0x31b689(0x354)],'updateCursorEvent':_0x508cee[_0x31b689(0x397)]['data']};break;}case _0x7c64a[_0x31b689(0x426)][_0x31b689(0x107)]:{_0x58a0d8={'eventID':_0x7c64a['CollaborationEvent'][_0x31b689(0x107)],'leaveEvent':_0x508cee[_0x31b689(0x397)][_0x31b689(0x397)]};break;}case _0x7c64a[_0x31b689(0x426)][_0x31b689(0x24c)]:{_0x58a0d8={'eventID':_0x7c64a[_0x31b689(0x426)][_0x31b689(0x24c)],'joinEvent':_0x508cee[_0x31b689(0x397)]['data']};break;}case _0x7c64a[_0x31b689(0x426)]['LIVESHARE_NEW_HOST']:{_0x58a0d8={'eventID':_0x7c64a[_0x31b689(0x426)][_0x31b689(0x44f)],'liveShareNewHost':_0x508cee[_0x31b689(0x397)]['data']};break;}case _0x7c64a[_0x31b689(0x426)][_0x31b689(0x17f)]:{_0x58a0d8={'eventID':_0x7c64a[_0x31b689(0x426)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x508cee['data']['data']};break;}case _0x7c64a[_0x31b689(0x426)]['LIVESHARE_TERMINATE']:{_0x58a0d8={'eventID':_0x7c64a['CollaborationEvent'][_0x31b689(0x10f)],'liveShareTerminate':_0x508cee[_0x31b689(0x397)]['data']};break;}case _0x7c64a['CollaborationEvent'][_0x31b689(0x2aa)]:{_0x58a0d8={'eventID':_0x7c64a[_0x31b689(0x426)][_0x31b689(0x2aa)],'liveShareRequestHost':_0x508cee[_0x31b689(0x397)][_0x31b689(0x397)]};break;}case _0x7c64a[_0x31b689(0x426)]['LIVESHARE_FETCH_OPERATIONS']:{_0x58a0d8={'eventID':_0x7c64a[_0x31b689(0x426)][_0x31b689(0x1bf)]};break;}default:_0x58a0d8={'eventID':_0x508cee[_0x31b689(0x397)][_0x31b689(0x265)]};}return JSON[_0x31b689(0x442)]({'cmd':_0x508cee[_0x31b689(0x30d)],'routeKey':_0x508cee[_0x31b689(0x22f)],'collaMsg':_0x58a0d8});}case _0x98e68[_0x31b689(0x366)]:return JSON[_0x31b689(0x442)]({'cmd':_0x508cee['cmd'],'routeKey':_0x508cee['routeKey'],'joinReq':_0x508cee[_0x31b689(0x397)]});case _0x98e68['LEAVE']:return JSON[_0x31b689(0x442)]({'cmd':_0x508cee[_0x31b689(0x30d)],'routeKey':_0x508cee[_0x31b689(0x22f)],'leaveReq':_0x508cee[_0x31b689(0x397)]});default:throw new Error(_0x31b689(0x1eb));}}var _0x96400a=Object['getOwnPropertyDescriptor'],_0x69bd80=(_0x54f6f3,_0x39d427,_0x2ab52e,_0x443242)=>{var _0x153604=_0x5bbf1c;for(var _0x1673aa=_0x443242>0x1?void 0x0:_0x443242?_0x96400a(_0x39d427,_0x2ab52e):_0x39d427,_0x473e50=_0x54f6f3[_0x153604(0x484)]-0x1,_0x3c6fb9;_0x473e50>=0x0;_0x473e50--)(_0x3c6fb9=_0x54f6f3[_0x473e50])&&(_0x1673aa=_0x3c6fb9(_0x1673aa)||_0x1673aa);return _0x1673aa;},_0x5326ba=(_0x244663,_0x5e48a3)=>(_0x866993,_0x222fae)=>_0x5e48a3(_0x866993,_0x222fae,_0x244663);const _0x129988=_0x2b4fd7[_0x5bbf1c(0x29f)]('univer-pro.collaboration-client-socket-service');function _0x513328(_0x2b15fc,_0x5e0b14,_0x176d0c){var _0x31aa8d=_0x5bbf1c;return _0x2b15fc+'/'+_0x5e0b14+_0x31aa8d(0x472)+_0x176d0c+_0x31aa8d(0x477);}_0x4fb88d[_0x5bbf1c(0x111)]=class extends _0x2b4fd7['Disposable']{constructor(_0x43366c,_0x365f29,_0x2c530f,_0x1ad44f,_0x104283){var _0x14bd9a=_0x5bbf1c;super(),this[_0x14bd9a(0x493)]=_0x43366c,this[_0x14bd9a(0x37e)]=_0x365f29,this['_configService']=_0x2c530f,this[_0x14bd9a(0x12b)]=_0x1ad44f,this[_0x14bd9a(0x3b6)]=_0x104283;}[_0x5bbf1c(0x44a)](_0x1955ea){var _0x39a6ba=_0x5bbf1c;const _0x3acc06=this[_0x39a6ba(0x493)]['get'](_0x16af73[_0x39a6ba(0x3a2)]);if(!_0x3acc06)throw new Error(_0x39a6ba(0x495));const _0x3e8ca0=_0x3acc06[_0x39a6ba(0x1e6)](_0x1955ea);if(!_0x3e8ca0)throw new Error(_0x39a6ba(0x302));const _0x3a5b10=new _0x2b4fd7[(_0x39a6ba(0x3dc))](),_0x1a99bf=new _0x4a62d2[(_0x39a6ba(0x222))]();_0x3a5b10[_0x39a6ba(0x1a9)](_0x3e8ca0[_0x39a6ba(0x497)]['subscribe'](_0x2a9b10=>_0x1a99bf[_0x39a6ba(0x3d7)](_0x2a9b10))),_0x3a5b10[_0x39a6ba(0x1a9)](_0x2b4fd7['toDisposable'](()=>_0x1a99bf['complete']()));const _0x8dae7b=new _0x4a62d2[(_0x39a6ba(0x222))]();_0x3a5b10[_0x39a6ba(0x1a9)](_0x3e8ca0[_0x39a6ba(0x2c8)][_0x39a6ba(0x123)](_0x3b68de=>_0x8dae7b[_0x39a6ba(0x3d7)](_0x3b68de))),_0x3a5b10[_0x39a6ba(0x1a9)](_0x2b4fd7[_0x39a6ba(0x18e)](()=>_0x8dae7b[_0x39a6ba(0x13f)]()));const _0x1a8256=new _0x4a62d2[(_0x39a6ba(0x222))]();_0x3a5b10[_0x39a6ba(0x1a9)](_0x3e8ca0[_0x39a6ba(0x47d)][_0x39a6ba(0x123)](_0x32a384=>{const _0x155095=_0x4e15be(_0x32a384);_0x1a8256['next'](_0x155095);})),_0x3a5b10[_0x39a6ba(0x1a9)](_0x2b4fd7[_0x39a6ba(0x18e)](()=>_0x1a8256[_0x39a6ba(0x13f)]()));let _0x3c641e;const _0x578347=()=>{var _0x3d19ed=_0x39a6ba;_0x8dae7b[_0x3d19ed(0x3d7)](new Event(_0x3d19ed(0x498))),_0x1a99bf[_0x3d19ed(0x3d7)](new Event(_0x3d19ed(0x498))),_0x3c641e[_0x3d19ed(0x1b3)]();};return _0x3c641e={'memberID':'','close$':_0x1a99bf['asObservable'](),'error$':_0x8dae7b[_0x39a6ba(0x16a)](),'open$':_0x3e8ca0[_0x39a6ba(0x3a8)],'message$':_0x1a8256[_0x39a6ba(0x16a)](),'send':_0x592bf7=>{var _0xda1e81=_0x39a6ba;if(_0x592bf7['cmd']===_0x98e68[_0xda1e81(0x153)]){if(_0x592bf7['data'][_0xda1e81(0x265)]===_0x7c64a[_0xda1e81(0x426)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x3c641e,_0x592bf7[_0xda1e81(0x397)])[_0xda1e81(0x469)](_0x28d9b0=>{var _0x17e9cd=_0xda1e81;this[_0x17e9cd(0x12b)]['error'](_0x28d9b0),_0x578347();});return;}if(_0x592bf7['data'][_0xda1e81(0x265)]===_0x7c64a['CollaborationEvent'][_0xda1e81(0x46e)]){const _0x13bb74=_0x592bf7[_0xda1e81(0x397)];this[_0xda1e81(0x1fb)](_0x13bb74)[_0xda1e81(0x17b)](_0x5174ea=>{var _0x2a8662=_0xda1e81;_0x1a8256['next']({'cmd':_0x98e68['RECV'],'code':_0x18729d['OK'],'routeKey':_0x13bb74['data']['unitID'],'routeType':'','data':{'eventID':_0x7c64a[_0x2a8662(0x426)][_0x2a8662(0x2d7)],'data':{'changesets':_0x5174ea}}});})[_0xda1e81(0x469)](_0xa0dce0=>{var _0x53b90a=_0xda1e81;this['_logService'][_0x53b90a(0x1ab)](_0xa0dce0),_0x578347();});return;}}_0x3e8ca0['send'](_0x236db3(_0x592bf7));},'close':()=>{var _0x2bb93d=_0x39a6ba;_0x3e8ca0['close'](),_0x3a5b10[_0x2bb93d(0x459)]();}},_0x3c641e;}async[_0x5bbf1c(0x1ac)](_0x1615ed,_0x448fc4){var _0x3c9a0a=_0x5bbf1c,_0x1c799e;const {unitType:_0x481a55,unitID:_0x5ae403,changeset:_0x500033}=_0x448fc4[_0x3c9a0a(0x397)],_0x1935d1={'unitID':_0x5ae403,'memberID':_0x1615ed['memberID'],'type':_0x481a55,'changeset':_0x7c64a[_0x3c9a0a(0x206)](_0x500033)},_0x41dcb2=this[_0x3c9a0a(0x2d3)][_0x3c9a0a(0x38c)](_0x346b31),_0x194b0e=_0x513328((_0x1c799e=_0x41dcb2==null?void 0x0:_0x41dcb2[_0x3c9a0a(0x2f0)])!=null?_0x1c799e:_0x41ee66,_0x481a55,_0x5ae403);try{await this[_0x3c9a0a(0x37e)][_0x3c9a0a(0x198)](_0x194b0e,{'body':_0x1935d1});}catch(_0xa44023){throw this['_logService'][_0x3c9a0a(0x1ab)](_0x3c9a0a(0x47a),_0x3c9a0a(0x432)),_0xa44023;}}async['_fetchMissChangesets'](_0x4a001c){var _0x105916=_0x5bbf1c;const {unitID:_0x4845fe,from:_0x342b19,to:_0x56cb8f,unitType:_0x54663d}=_0x4a001c[_0x105916(0x397)];return(await this[_0x105916(0x3b6)][_0x105916(0x326)]({'metadata':void 0x0},{'unitID':_0x4845fe,'type':_0x54663d,'from':_0x342b19,'to':_0x56cb8f}))[_0x105916(0x305)][_0x105916(0x398)](_0x5cfcba=>((_0x5cfcba[_0x105916(0x11d)]===null||_0x5cfcba[_0x105916(0x11d)]===void 0x0)&&(_0x5cfcba['mutations']=[]),_0x5cfcba));}},_0x4fb88d['CollaborationSocketService']=_0x69bd80([_0x5326ba(0x0,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x2ad)])),_0x5326ba(0x1,_0x2b4fd7[_0x5bbf1c(0x131)](_0x16af73['HTTPService'])),_0x5326ba(0x2,_0x2b4fd7[_0x5bbf1c(0x19b)]),_0x5326ba(0x3,_0x2b4fd7['ILogService']),_0x5326ba(0x4,_0x7c64a['ISnapshotServerService'])],_0x4fb88d[_0x5bbf1c(0x111)]);var _0x177859=Object[_0x5bbf1c(0x2ba)],_0x483512=(_0x17cc95,_0x306d12,_0x5a4b65,_0x1ca8bb)=>{var _0x3f6c9e=_0x5bbf1c;for(var _0x54adad=_0x1ca8bb>0x1?void 0x0:_0x1ca8bb?_0x177859(_0x306d12,_0x5a4b65):_0x306d12,_0x3822f3=_0x17cc95[_0x3f6c9e(0x484)]-0x1,_0x1023f6;_0x3822f3>=0x0;_0x3822f3--)(_0x1023f6=_0x17cc95[_0x3822f3])&&(_0x54adad=_0x1023f6(_0x54adad)||_0x54adad);return _0x54adad;},_0x2d2544=(_0xc65728,_0x12219d)=>(_0x5cc94e,_0x13de23)=>_0x12219d(_0x5cc94e,_0x13de23,_0xc65728);_0x4fb88d[_0x5bbf1c(0x22a)]=class extends _0x2b4fd7[_0x5bbf1c(0x12f)]{constructor(_0x1b1692,_0x5e0f41,_0x5b2bce,_0x1bc684,_0x1efa61,_0x1f5d64){var _0x5a3c6c=_0x5bbf1c;super(),_0x42eac7(this,'_socket$',new _0x4a62d2[(_0x5a3c6c(0x18c))](void 0x0)),_0x42eac7(this,_0x5a3c6c(0x376),this[_0x5a3c6c(0x2b0)][_0x5a3c6c(0x16a)]()),_0x42eac7(this,_0x5a3c6c(0x20b),null),_0x42eac7(this,_0x5a3c6c(0x259),new Map()),_0x42eac7(this,_0x5a3c6c(0x3ed),new _0x4a62d2['BehaviorSubject'](_0x56c9a9[_0x5a3c6c(0x2ac)])),_0x42eac7(this,_0x5a3c6c(0x36f),this[_0x5a3c6c(0x3ed)]['asObservable']()),_0x42eac7(this,'_socketReady',!0x1),_0x42eac7(this,_0x5a3c6c(0x455)),_0x42eac7(this,_0x5a3c6c(0x324),0x0),_0x42eac7(this,_0x5a3c6c(0x108)),_0x42eac7(this,_0x5a3c6c(0x145)),(this[_0x5a3c6c(0x493)]=_0x1b1692,this['_logService']=_0x5e0f41,this[_0x5a3c6c(0x2d3)]=_0x5b2bce,this['_socketService']=_0x1bc684,this[_0x5a3c6c(0x40d)]=_0x1efa61,this[_0x5a3c6c(0x3d3)]=_0x1f5d64,this[_0x5a3c6c(0x210)]());}get['_socket'](){var _0x3f024d=_0x5bbf1c;return this['_socket$'][_0x3f024d(0x195)]();}['_listenToNetworkCondition'](){var _0x5bcfcb=_0x5bbf1c;this[_0x5bcfcb(0x3d3)]&&this[_0x5bcfcb(0x104)](this[_0x5bcfcb(0x3d3)][_0x5bcfcb(0x47f)][_0x5bcfcb(0x123)](_0x2acf90=>{var _0x162861=_0x5bcfcb;_0x2acf90&&!this[_0x162861(0x332)]&&this[_0x162861(0x250)](),_0x2acf90||this[_0x162861(0x2b6)]();}));}['dispose'](){var _0x30378b=_0x5bbf1c;super[_0x30378b(0x459)](),this[_0x30378b(0x10e)](),this[_0x30378b(0x467)](),this[_0x30378b(0x3ca)](),this[_0x30378b(0x259)][_0x30378b(0x47e)](_0x26750f=>_0x26750f[_0x30378b(0x459)]()),this['_sessions'][_0x30378b(0x193)](),this[_0x30378b(0x3ed)][_0x30378b(0x13f)]();}async[_0x5bbf1c(0x2e3)](_0x31e6ac){var _0x19f41b=_0x5bbf1c;if(this[_0x19f41b(0x259)]['has'](_0x31e6ac))return this[_0x19f41b(0x259)]['get'](_0x31e6ac);this[_0x19f41b(0x27d)]();const _0x2b5e23=this[_0x19f41b(0x493)]['createInstance'](_0x4fb88d[_0x19f41b(0x21b)],_0x31e6ac,this[_0x19f41b(0x2b0)][_0x19f41b(0x16a)]());return this[_0x19f41b(0x259)]['set'](_0x31e6ac,_0x2b5e23),_0x2b5e23;}[_0x5bbf1c(0x175)](_0x5b32ec){var _0x429f42=_0x5bbf1c,_0x3a42b5;const _0x4401bb=this[_0x429f42(0x259)]['get'](_0x5b32ec);_0x4401bb&&(this['_sessions'][_0x429f42(0x3fe)](_0x5b32ec),_0x4401bb[_0x429f42(0x1b3)]()),this[_0x429f42(0x259)][_0x429f42(0x2c3)]||(_0x3a42b5=this[_0x429f42(0x332)])==null||_0x3a42b5[_0x429f42(0x1b3)]();}[_0x5bbf1c(0x250)](){var _0x3f4275=_0x5bbf1c;this[_0x3f4275(0x324)]=0x0,this[_0x3f4275(0x10e)](),this['_tryReconnect']();}[_0x5bbf1c(0x10e)](){var _0x4bdf85=_0x5bbf1c;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4bdf85(0x455)]),this[_0x4bdf85(0x455)]=null);}async[_0x5bbf1c(0x3fd)](){var _0xc0d065=_0x5bbf1c,_0x5d4426;const _0x2e7b58=this[_0xc0d065(0x2d3)]['getConfig'](_0x346b31),_0x32e3cd=(_0x5d4426=_0x2e7b58==null?void 0x0:_0x2e7b58[_0xc0d065(0x276)])!=null?_0x5d4426:_0x5e3653,_0x293897=await this[_0xc0d065(0x134)]['createSocket'](_0x32e3cd);return this[_0xc0d065(0x20b)]=_0x293897,_0x293897;}async[_0x5bbf1c(0x27d)](){var _0x598647=_0x5bbf1c,_0x4f7154,_0x42b48e;try{const _0x17b5cb=(_0x42b48e=(_0x4f7154=this['_socket'])!=null?_0x4f7154:this[_0x598647(0x20b)])!=null?_0x42b48e:await this[_0x598647(0x3fd)]();if(_0x17b5cb){const _0x3d5e23=_0x17b5cb[_0x598647(0x2d4)];_0x17b5cb[_0x598647(0x2d4)]=_0x4d8933=>(this[_0x598647(0x499)](),_0x3d5e23['apply'](_0x17b5cb,[_0x4d8933])),_0x17b5cb['message$'][_0x598647(0x123)](_0x140f60=>this[_0x598647(0x41e)](_0x17b5cb,_0x140f60)),_0x17b5cb[_0x598647(0x2c8)]['pipe'](_0x2ce451[_0x598647(0x1b2)](0x1))[_0x598647(0x123)](_0x588409=>this[_0x598647(0x12b)][_0x598647(0x1ab)](_0x598647(0x33d),_0x588409)),_0x17b5cb[_0x598647(0x3a8)][_0x598647(0x337)](_0x2ce451[_0x598647(0x1b2)](0x1))[_0x598647(0x123)](()=>{var _0x381d38=_0x598647;this[_0x381d38(0x10a)](_0x17b5cb);}),_0x17b5cb['close$'][_0x598647(0x337)](_0x2ce451[_0x598647(0x1b2)](0x1))[_0x598647(0x123)](_0x52de9b=>{var _0x4829c0=_0x598647;this[_0x4829c0(0x12b)]['debug'](_0x4829c0(0x19f),_0x4829c0(0x29a),_0x52de9b),this[_0x4829c0(0x340)]();});}}catch(_0x12b217){this[_0x598647(0x12b)]['error'](_0x12b217),this[_0x598647(0x340)]();}}['_onConnectionOpen'](_0xafcf7d){var _0x72a728=_0x5bbf1c;this['_logService'][_0x72a728(0x1fa)](_0x72a728(0x19f),_0x72a728(0x403)),_0xafcf7d[_0x72a728(0x2d4)]({'cmd':_0x98e68['HELLO']}),this[_0x72a728(0x499)]();}[_0x5bbf1c(0x2b6)](){var _0x5e8eba=_0x5bbf1c;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x5e8eba(0x3ed)]['next'](_0x56c9a9[_0x5e8eba(0x21e)]),this[_0x5e8eba(0x2b0)]['next'](null),this[_0x5e8eba(0x467)](),this[_0x5e8eba(0x3ca)]();}[_0x5bbf1c(0x340)](){var _0x48d52a=_0x5bbf1c,_0x396a50;this[_0x48d52a(0x2b6)](),this[_0x48d52a(0x324)]<((_0x396a50=this['_configService'][_0x48d52a(0x38c)](_0xf1dd4b))!=null?_0x396a50:0x3)?(this[_0x48d52a(0x40d)]['emitEvent']({'id':_0x1814a0[_0x48d52a(0x3e7)]}),this[_0x48d52a(0x125)]()):this[_0x48d52a(0x40d)][_0x48d52a(0x38e)]({'id':_0x1814a0[_0x48d52a(0x373)]});}['_tryReconnect'](){var _0x5b2d92=_0x5bbf1c,_0x5bdc87;const _0x34d065=this[_0x5b2d92(0x324)],_0x2f1c42=this[_0x5b2d92(0x2d3)][_0x5b2d92(0x38c)](_0x346b31),_0x294c90=_0x34d065===0x0?0x0:((_0x5bdc87=_0x2f1c42==null?void 0x0:_0x2f1c42['retryConnectingInterval'])!=null?_0x5bdc87:0x4e20)*0x2**_0x34d065;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2253ea=_0x5b2d92;clearTimeout(this[_0x2253ea(0x455)]),this[_0x2253ea(0x455)]=null,this[_0x2253ea(0x27d)]();},_0x294c90),this[_0x5b2d92(0x324)]+=0x1;}['_onMessage'](_0x1dfe8a,_0x35f275){var _0x2ec2d6=_0x5bbf1c;const {cmd:_0x1217a7}=_0x35f275;_0x1217a7===_0x98e68[_0x2ec2d6(0x407)]&&!this['_socketReady']&&(_0x1dfe8a[_0x2ec2d6(0x3e0)]=_0x35f275[_0x2ec2d6(0x397)][_0x2ec2d6(0x3e0)],this[_0x2ec2d6(0x2b0)][_0x2ec2d6(0x3d7)](_0x1dfe8a),this[_0x2ec2d6(0x3ed)][_0x2ec2d6(0x3d7)](_0x56c9a9[_0x2ec2d6(0x183)]),this[_0x2ec2d6(0x389)]=!0x0,this[_0x2ec2d6(0x20b)]=null),_0x1217a7===_0x98e68['HEARTBEAT']&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x5bbf1c(0x499)](){var _0x3d2655=_0x5bbf1c,_0x29654f;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3d2655(0x230)](),(_0x29654f=this['_configService'][_0x3d2655(0x38c)](_0x256c38))!=null?_0x29654f:0x7530);}[_0x5bbf1c(0x230)](){var _0x4bee03=_0x5bbf1c;this[_0x4bee03(0x332)][_0x4bee03(0x2d4)]({'cmd':_0x98e68[_0x4bee03(0x3f3)]}),this[_0x4bee03(0x122)]();}['_waitForHeartbeatResponse'](){var _0x533acd=_0x5bbf1c,_0x58d688;this[_0x533acd(0x145)]=setTimeout(()=>this[_0x533acd(0x340)](),(_0x58d688=this['_configService']['getConfig'](_0x1fe136))!=null?_0x58d688:0x4e20);}[_0x5bbf1c(0x3ca)](){var _0x21fec7=_0x5bbf1c;this[_0x21fec7(0x108)]!=null&&(clearTimeout(this[_0x21fec7(0x108)]),this[_0x21fec7(0x108)]=null);}[_0x5bbf1c(0x467)](){var _0x43db56=_0x5bbf1c;this[_0x43db56(0x145)]!=null&&(clearTimeout(this[_0x43db56(0x145)]),this[_0x43db56(0x145)]=null);}},_0x4fb88d[_0x5bbf1c(0x22a)]=_0x483512([_0x2d2544(0x0,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x2ad)])),_0x2d2544(0x1,_0x2b4fd7['ILogService']),_0x2d2544(0x2,_0x2b4fd7['IConfigService']),_0x2d2544(0x3,_0x129988),_0x2d2544(0x4,_0x2b4fd7[_0x5bbf1c(0x131)](_0x3e8fc1)),_0x2d2544(0x5,_0x2b4fd7[_0x5bbf1c(0x158)](_0x56ce97))],_0x4fb88d[_0x5bbf1c(0x22a)]);var _0x4ec03a=Object[_0x5bbf1c(0x2ba)],_0x221cca=(_0x4bf07b,_0x478679,_0x19e5ac,_0x10df4f)=>{var _0xa3b141=_0x5bbf1c;for(var _0x3f009d=_0x10df4f>0x1?void 0x0:_0x10df4f?_0x4ec03a(_0x478679,_0x19e5ac):_0x478679,_0x5c2290=_0x4bf07b[_0xa3b141(0x484)]-0x1,_0x43fe41;_0x5c2290>=0x0;_0x5c2290--)(_0x43fe41=_0x4bf07b[_0x5c2290])&&(_0x3f009d=_0x43fe41(_0x3f009d)||_0x3f009d);return _0x3f009d;},_0x356ee3=(_0x575a61,_0xadff8e)=>(_0x4ae4d3,_0x1d6837)=>_0xadff8e(_0x4ae4d3,_0x1d6837,_0x575a61);_0x4fb88d[_0x5bbf1c(0x345)]=class extends _0x2b4fd7[_0x5bbf1c(0x1da)]{constructor(_0x34b7d5,_0x4d97f6,_0x4c70c8,_0x120568){var _0x55cfd9=_0x5bbf1c,_0x238094;super(),_0x42eac7(this,_0x55cfd9(0x43c),new Map()),_0x42eac7(this,_0x55cfd9(0x3af),new _0x4a62d2[(_0x55cfd9(0x222))]()),_0x42eac7(this,'entityInit$',this['_entityInit$'][_0x55cfd9(0x16a)]()),(this['_injector']=_0x34b7d5,this[_0x55cfd9(0x1bd)]=_0x4d97f6,this['_configService']=_0x4c70c8,this[_0x55cfd9(0x1cc)]=_0x120568,((_0x238094=this[_0x55cfd9(0x2d3)][_0x55cfd9(0x38c)](_0x346b31))==null?void 0x0:_0x238094[_0x55cfd9(0x474)])!==!0x1&&this[_0x55cfd9(0x1c2)]());}[_0x5bbf1c(0x459)](){var _0x3322fc=_0x5bbf1c;super[_0x3322fc(0x459)](),this[_0x3322fc(0x43c)][_0x3322fc(0x47e)](_0x805a27=>_0x805a27[_0x3322fc(0x459)]()),this[_0x3322fc(0x43c)][_0x3322fc(0x193)]();}[_0x5bbf1c(0x438)](_0x17fdb4){var _0x2894a8=_0x5bbf1c,_0x51b005;return(_0x51b005=this[_0x2894a8(0x43c)][_0x2894a8(0x3cb)](_0x17fdb4))!=null?_0x51b005:null;}[_0x5bbf1c(0x2d6)](_0x3fd14f){var _0x4972a2=_0x5bbf1c;const _0x30a7df=this['getCollabEntity'](_0x3fd14f);return _0x30a7df?_0x4a62d2['of'](_0x30a7df):this[_0x4972a2(0x3af)][_0x4972a2(0x337)](_0x2ce451[_0x4972a2(0x3e1)](_0x221089=>_0x221089[_0x4972a2(0x3de)]===_0x3fd14f));}['readyForCollab'](_0x47077d){var _0x50ea1b=_0x5bbf1c;return _0x4a62d2[_0x50ea1b(0x360)](this[_0x50ea1b(0x2d6)](_0x47077d)[_0x50ea1b(0x337)](_0x2ce451[_0x50ea1b(0x398)](()=>{})));}['_init'](){var _0x214c9f=_0x5bbf1c;this[_0x214c9f(0x1cc)][_0x214c9f(0x102)](_0x2b4fd7[_0x214c9f(0x1f9)]['UNIVER_SHEET'])['pipe'](_0x4a62d2[_0x214c9f(0x150)](this[_0x214c9f(0x404)]),_0x2ce451[_0x214c9f(0x19d)](0x10))[_0x214c9f(0x123)](async _0x27ee85=>{var _0x115cdf=_0x214c9f;const _0x528b95=_0x27ee85[_0x115cdf(0x149)](),_0x300a46=await this[_0x115cdf(0x2e2)](_0x528b95,_0x55524d[_0x115cdf(0x2ff)]);this[_0x115cdf(0x43c)]['set'](_0x528b95,_0x300a46);}),this[_0x214c9f(0x1cc)][_0x214c9f(0x102)](_0x2b4fd7[_0x214c9f(0x1f9)]['UNIVER_DOC'])[_0x214c9f(0x337)](_0x4a62d2[_0x214c9f(0x150)](this[_0x214c9f(0x404)]),_0x2ce451['delay'](0x10))[_0x214c9f(0x337)](_0x2ce451[_0x214c9f(0x3e1)](_0x3249c3=>!_0x3249c3[_0x214c9f(0x149)]()[_0x214c9f(0x489)]('__')))[_0x214c9f(0x123)](async _0x2369d1=>{var _0x49b735=_0x214c9f;const _0x86a744=_0x2369d1[_0x49b735(0x149)](),_0x268bde=await this[_0x49b735(0x2e2)](_0x86a744,_0x55524d[_0x49b735(0x460)]);this[_0x49b735(0x43c)]['set'](_0x86a744,_0x268bde);}),_0x4a62d2[_0x214c9f(0x402)](this[_0x214c9f(0x1cc)]['getTypeOfUnitDisposed$'](_0x2b4fd7[_0x214c9f(0x1f9)]['UNIVER_SHEET']),this[_0x214c9f(0x1cc)]['getTypeOfUnitDisposed$'](_0x2b4fd7[_0x214c9f(0x1f9)]['UNIVER_DOC']))[_0x214c9f(0x337)](_0x4a62d2[_0x214c9f(0x150)](this[_0x214c9f(0x404)]))[_0x214c9f(0x123)](_0x1c677f=>{var _0x134e05=_0x214c9f;const _0x54c058=_0x1c677f['getUnitId'](),_0x156c36=this['_entities']['get'](_0x54c058);_0x156c36&&(_0x156c36[_0x134e05(0x459)](),this['_entities']['delete'](_0x54c058));});}async['_startCollaboration'](_0x1a17ed,_0x251f4b){var _0x2bfcf9=_0x5bbf1c;const _0x2abaa8=await this[_0x2bfcf9(0x1bd)]['requireSession'](_0x1a17ed),_0x1ed8ad=this[_0x2bfcf9(0x493)][_0x2bfcf9(0x1ea)](this['_getCtorByUniverType'](_0x251f4b),_0x1a17ed,_0x251f4b,_0x2abaa8);return await _0x1ed8ad['init'](),this['_entityInit$']['next'](_0x1ed8ad),_0x1ed8ad;}['_getCtorByUniverType'](_0x28ebcc){var _0x4d5a27=_0x5bbf1c;switch(_0x28ebcc){case _0x55524d['UNIVER_DOC']:return _0x4fb88d[_0x4d5a27(0x292)];case _0x55524d['UNIVER_SHEET']:return _0x4fb88d['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x28ebcc);}}},_0x4fb88d['CollaborationController']=_0x221cca([_0x356ee3(0x0,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x2ad)])),_0x356ee3(0x1,_0x2b4fd7[_0x5bbf1c(0x131)](_0x4fb88d[_0x5bbf1c(0x22a)])),_0x356ee3(0x2,_0x2b4fd7[_0x5bbf1c(0x19b)]),_0x356ee3(0x3,_0x2b4fd7[_0x5bbf1c(0x435)])],_0x4fb88d[_0x5bbf1c(0x345)]);var _0x4fb0b5=Object[_0x5bbf1c(0x2ba)],_0x12e917=(_0x33809c,_0x39ea55,_0x4dbed8,_0x54736e)=>{var _0x1012d2=_0x5bbf1c;for(var _0x4bf886=_0x54736e>0x1?void 0x0:_0x54736e?_0x4fb0b5(_0x39ea55,_0x4dbed8):_0x39ea55,_0x3e7e4e=_0x33809c[_0x1012d2(0x484)]-0x1,_0x4435d5;_0x3e7e4e>=0x0;_0x3e7e4e--)(_0x4435d5=_0x33809c[_0x3e7e4e])&&(_0x4bf886=_0x4435d5(_0x4bf886)||_0x4bf886);return _0x4bf886;},_0x4547ed=(_0x1867ce,_0x3b9201)=>(_0x26ba7c,_0xd9cfaf)=>_0x3b9201(_0x26ba7c,_0xd9cfaf,_0x1867ce);const _0x14ca20='DEFAULT_FILE_NAME',_0x1a4984=_0x5bbf1c(0x14a);let _0x5703d5=class extends _0x2b4fd7[_0x5bbf1c(0x12f)]{constructor(_0x501a26,_0x2b53a4){var _0x2e26c1=_0x5bbf1c;super(),this[_0x2e26c1(0x1cc)]=_0x501a26,this[_0x2e26c1(0x2d3)]=_0x2b53a4,this[_0x2e26c1(0x1c2)]();}[_0x5bbf1c(0x1c2)](){var _0x30122c=_0x5bbf1c;this[_0x30122c(0x104)](this['_univerInstanceService'][_0x30122c(0x1f8)][_0x30122c(0x123)](()=>{var _0x1a27df=_0x30122c,_0x5a0e0c;const _0x1eb6fa=this[_0x1a27df(0x1cc)][_0x1a27df(0x2ee)]();let _0x3822fa=(_0x5a0e0c=this[_0x1a27df(0x2d3)][_0x1a27df(0x38c)](_0x14ca20))!=null?_0x5a0e0c:_0x1a4984;_0x1eb6fa instanceof _0x2b4fd7[_0x1a27df(0x25f)]&&(_0x3822fa=_0x1eb6fa[_0x1a27df(0x421)]),document[_0x1a27df(0x350)]=_0x3822fa;}));}};_0x5703d5=_0x12e917([_0x4547ed(0x0,_0x2b4fd7[_0x5bbf1c(0x435)]),_0x4547ed(0x1,_0x2b4fd7[_0x5bbf1c(0x19b)])],_0x5703d5);var _0x2afbb3=Object[_0x5bbf1c(0x2ba)],_0x57bd98=(_0x244c69,_0x15791c,_0x2f87dd,_0x16b48c)=>{var _0x317ab0=_0x5bbf1c;for(var _0x27dc2f=_0x16b48c>0x1?void 0x0:_0x16b48c?_0x2afbb3(_0x15791c,_0x2f87dd):_0x15791c,_0x1d12ba=_0x244c69[_0x317ab0(0x484)]-0x1,_0x52cbf4;_0x1d12ba>=0x0;_0x1d12ba--)(_0x52cbf4=_0x244c69[_0x1d12ba])&&(_0x27dc2f=_0x52cbf4(_0x27dc2f)||_0x27dc2f);return _0x27dc2f;},_0x3215ca=(_0x4f95b9,_0x264ac7)=>(_0x24e800,_0x5c49ab)=>_0x264ac7(_0x24e800,_0x5c49ab,_0x4f95b9);let _0x357575=class{constructor(_0x22baee,_0x3f5dea,_0x351f3e){var _0x183cc2=_0x5bbf1c;this[_0x183cc2(0x2d3)]=_0x22baee,this['_httpService']=_0x3f5dea,this[_0x183cc2(0x2cd)]=_0x351f3e,this[_0x183cc2(0x28b)]();}['init'](){var _0x548aea=_0x5bbf1c;this[_0x548aea(0x37e)][_0x548aea(0x293)]({'priority':0x1,'interceptor':(_0x4ee623,_0x76a3fb)=>_0x76a3fb(_0x4ee623)[_0x548aea(0x337)](_0x4a62d2[_0x548aea(0x2f7)](async _0x161c12=>{var _0x29fc31=_0x548aea;const _0x17c63b=_0x161c12;if(_0x17c63b[_0x29fc31(0x425)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x29fc31(0x355)](this[_0x29fc31(0x2cd)]['t'](_0x29fc31(0x2de)))){const _0x41df3a=window['encodeURIComponent'](window['location'][_0x29fc31(0x3e5)]);window[_0x29fc31(0x19e)]['href']=this[_0x29fc31(0x3f0)]()+'?url='+_0x41df3a;}}return _0x17c63b;}))});}[_0x5bbf1c(0x3f0)](){var _0x61ff15=_0x5bbf1c,_0x1c8e2c;const _0x2e9bf8=this['_configService'][_0x61ff15(0x38c)](_0x346b31);return(_0x1c8e2c=_0x2e9bf8==null?void 0x0:_0x2e9bf8[_0x61ff15(0x13e)])!=null?_0x1c8e2c:_0xb3a27d;}};_0x357575=_0x57bd98([_0x3215ca(0x0,_0x2b4fd7[_0x5bbf1c(0x19b)]),_0x3215ca(0x1,_0x2b4fd7[_0x5bbf1c(0x131)](_0x16af73['HTTPService'])),_0x3215ca(0x2,_0x2b4fd7['Inject'](_0x2b4fd7['LocaleService']))],_0x357575);var _0x1e5005=Object[_0x5bbf1c(0x2ba)],_0x18a202=(_0x31c1f7,_0x5d8f76,_0x4fe1af,_0x302fca)=>{for(var _0x2a8f6c=_0x302fca>0x1?void 0x0:_0x302fca?_0x1e5005(_0x5d8f76,_0x4fe1af):_0x5d8f76,_0x4b1274=_0x31c1f7['length']-0x1,_0x325433;_0x4b1274>=0x0;_0x4b1274--)(_0x325433=_0x31c1f7[_0x4b1274])&&(_0x2a8f6c=_0x325433(_0x2a8f6c)||_0x2a8f6c);return _0x2a8f6c;},_0x3065be=(_0x3155b0,_0x47520a)=>(_0x29fdf,_0x5e0171)=>_0x47520a(_0x29fdf,_0x5e0171,_0x3155b0);const _0x5d4fa3='/universer-api/authz';_0x4fb88d[_0x5bbf1c(0x2a6)]=class extends _0x2b4fd7[_0x5bbf1c(0x12f)]{constructor(_0x3ae4bb,_0x4d117b){var _0x4903ef=_0x5bbf1c;super(),this['_HTTPService']=_0x3ae4bb,this[_0x4903ef(0x2d3)]=_0x4d117b,this[_0x4903ef(0x236)]();}['_initMergeInterceptor'](){var _0x9179ab=_0x5bbf1c;const _0x1cb0cc=this;this[_0x9179ab(0x104)](this[_0x9179ab(0x3fc)][_0x9179ab(0x293)]({'priority':0x3e7,'interceptor':_0x16af73[_0x9179ab(0x249)]({'isMatch'(_0x426b47){var _0x470b89=_0x9179ab,_0x50fb91;if(_0x426b47[_0x470b89(0x243)]==='POST'&&((_0x50fb91=_0x426b47['requestParams'])!=null&&_0x50fb91[_0x470b89(0x463)])){const {objectID:_0x4a244f,objectType:_0x3a957e}=_0x426b47['requestParams'][_0x470b89(0x463)]||{};if(!_0x4a244f||_0x3a957e===void 0x0)return!0x1;const _0x457c76=_0x1cb0cc[_0x470b89(0x1e8)]()+'/'+_0x3a957e+_0x470b89(0x2a7)+_0x4a244f+_0x470b89(0x32d);if(_0x426b47[_0x470b89(0x1d1)]===_0x457c76)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xd60395){var _0x3b636e=_0x9179ab,_0xd447ed;return(_0xd447ed=_0xd60395['requestParams'])==null?void 0x0:_0xd447ed[_0x3b636e(0x463)];},'mergeParamsToRequest'(_0x2dfa9e,_0x35f041){var _0x3ab2ac=_0x9179ab;const _0x577249=_0x1cb0cc[_0x3ab2ac(0x1e8)]()+'/-/object/-/batch_allowed',_0x470dc2=_0x2dfa9e['reduce']((_0x12f040,_0x17b206)=>{var _0x4c6d33=_0x3ab2ac;const {unitID:_0x1be332,objectID:_0x3063cf,objectType:_0x105f8a,actions:_0x5c456d}=_0x17b206;return _0x12f040[_0x1be332]||(_0x12f040[_0x1be332]={}),_0x12f040[_0x1be332][_0x3063cf]||(_0x12f040[_0x1be332][_0x3063cf]={'objectID':_0x3063cf,'objectType':_0x105f8a,'actions':[]}),_0x12f040[_0x1be332][_0x3063cf][_0x4c6d33(0x262)][_0x4c6d33(0x3d4)](..._0x5c456d),_0x12f040;},{}),_0x30390a=[];for(const _0x13a381 in _0x470dc2)for(const _0x8cc2ed in _0x470dc2[_0x13a381]){const {actions:_0x342deb,objectType:_0x5c9e54}=_0x470dc2[_0x13a381][_0x8cc2ed],_0x1e46db=[...new Set(_0x342deb)];_0x30390a['push']({'unitID':_0x13a381,'objectID':_0x8cc2ed,'objectType':_0x5c9e54,'actions':_0x1e46db});}return new _0x16af73['HTTPRequest'](_0x3ab2ac(0x25c),_0x577249,{'headers':_0x35f041[_0x3ab2ac(0x2fd)],'withCredentials':_0x35f041[_0x3ab2ac(0x211)],'responseType':_0x35f041[_0x3ab2ac(0x41a)],'body':{'requests':_0x30390a}});}},{'distributeResult'(_0x28c32a,_0x51e6c5){const {objectActions:_0x511bdd}=_0x28c32a;return _0x51e6c5['map'](_0x5dd360=>{var _0x750b7b=_0x4c70;const {unitID:_0x33c1d3,objectID:_0x409a44,actions:_0x400e57}=_0x5dd360,_0x2fbd09=_0x511bdd[_0x750b7b(0x203)](_0x4f1744=>_0x4f1744[_0x750b7b(0x3de)]===_0x33c1d3&&_0x4f1744[_0x750b7b(0x2b1)]===_0x409a44),_0x158668=_0x400e57['map'](_0x4f8c7d=>_0x2fbd09==null?void 0x0:_0x2fbd09[_0x750b7b(0x262)]['find'](_0x9fcf5d=>_0x9fcf5d[_0x750b7b(0x121)]===_0x4f8c7d))[_0x750b7b(0x3e1)](_0x497f5d=>!!_0x497f5d);return{'config':_0x5dd360,'result':{'actions':_0x158668,'error':_0x28c32a[_0x750b7b(0x1ab)]}};});}})}));}['_getAPIPrefixPath'](){var _0x2c0f0d=_0x5bbf1c,_0x4745e8;const _0x1fea24=this[_0x2c0f0d(0x2d3)][_0x2c0f0d(0x38c)](_0x346b31);return(_0x4745e8=_0x1fea24==null?void 0x0:_0x1fea24[_0x2c0f0d(0x48b)])!=null?_0x4745e8:_0x5d4fa3;}async['create'](_0x5b9abb){var _0x290cf7=_0x5bbf1c;const _0x40ab23=this['_getAPIPrefixPath']()+'/'+_0x5b9abb['objectType']+_0x290cf7(0x42a);return(await this[_0x290cf7(0x3fc)][_0x290cf7(0x198)](_0x40ab23,{'body':_0x5b9abb}))['body'][_0x290cf7(0x2b1)]||'';}async['list'](_0x42294e){var _0x23be99=_0x5bbf1c;const _0x4f4e66=this[_0x23be99(0x1e8)]()+_0x23be99(0x3eb);return(await this['_HTTPService'][_0x23be99(0x198)](_0x4f4e66,{'body':_0x42294e}))[_0x23be99(0x463)]['objects'];}async[_0x5bbf1c(0x26f)](_0x393902){var _0x23cdc=_0x5bbf1c,_0x2ba336,_0x38d359;const _0x3924b0=this[_0x23cdc(0x1e8)]()+'/'+_0x393902[_0x23cdc(0x44c)]+_0x23cdc(0x2a7)+_0x393902[_0x23cdc(0x2b1)],_0x396ba5=await this[_0x23cdc(0x3fc)][_0x23cdc(0x170)](_0x3924b0,{'body':_0x393902});if(((_0x38d359=(_0x2ba336=_0x396ba5==null?void 0x0:_0x396ba5['body'])==null?void 0x0:_0x2ba336[_0x23cdc(0x1ab)])==null?void 0x0:_0x38d359[_0x23cdc(0x1c1)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x5bbf1c(0x3f8)](_0x3b719c){var _0x368c41=_0x5bbf1c;const _0x3fd932=this[_0x368c41(0x1e8)]()+'/'+_0x3b719c[_0x368c41(0x44c)]+_0x368c41(0x2a7)+_0x3b719c[_0x368c41(0x2b1)]+_0x368c41(0x32d);return(await this[_0x368c41(0x3fc)][_0x368c41(0x198)](_0x3fd932,{'body':_0x3b719c}))[_0x368c41(0x463)][_0x368c41(0x262)];}async[_0x5bbf1c(0x143)](_0xfaf92d){var _0x3bcf99=_0x5bbf1c;const _0x45f88a=this['_getAPIPrefixPath']()+_0x3bcf99(0x239);return(await this[_0x3bcf99(0x3fc)]['post'](_0x45f88a,{'body':{'requests':_0xfaf92d}}))[_0x3bcf99(0x463)]['objectActions'];}async[_0x5bbf1c(0x128)](_0x3b902e){var _0x2ecd4a=_0x5bbf1c;const _0x258d97=this[_0x2ecd4a(0x1e8)]()+'/'+_0x3b902e[_0x2ecd4a(0x44c)]+_0x2ecd4a(0x2c7),_0x53eb0f=await this['_HTTPService'][_0x2ecd4a(0x198)](_0x258d97,{'body':_0x3b902e});return{'roles':_0x53eb0f[_0x2ecd4a(0x463)]['roles'],'actions':_0x53eb0f[_0x2ecd4a(0x463)][_0x2ecd4a(0x262)]};}async['deleteCollaborator'](_0x5022f9){var _0xe1a403=_0x5bbf1c;const _0x400a7d=this[_0xe1a403(0x1e8)]()+_0xe1a403(0x20c);await this['_HTTPService'][_0xe1a403(0x3fe)](_0x400a7d,{'params':{'collaboratorID':_0x5022f9[_0xe1a403(0x140)],'objectID':_0x5022f9[_0xe1a403(0x2b1)],'unitID':_0x5022f9[_0xe1a403(0x3de)]}});}async[_0x5bbf1c(0x1a0)](_0x4c7dab){var _0x4f1224=_0x5bbf1c;const _0x415275=this['_getAPIPrefixPath']()+_0x4f1224(0x20c);await this[_0x4f1224(0x3fc)][_0x4f1224(0x245)](_0x415275,{'body':_0x4c7dab});}async[_0x5bbf1c(0x2af)](_0x1039aa){var _0x314287=_0x5bbf1c;const _0x181356=this[_0x314287(0x1e8)]()+'/collaborator';await this['_HTTPService'][_0x314287(0x198)](_0x181356,{'body':_0x1039aa});}async['listCollaborators'](_0x443de7){var _0x2fa7fa=_0x5bbf1c;const _0x309d8f=this[_0x2fa7fa(0x1e8)]()+_0x2fa7fa(0x20c);return(await this[_0x2fa7fa(0x3fc)][_0x2fa7fa(0x3cb)](_0x309d8f,{'params':{'objectID':_0x443de7[_0x2fa7fa(0x2b1)],'unitID':_0x443de7[_0x2fa7fa(0x3de)]}}))['body'][_0x2fa7fa(0x147)];}async[_0x5bbf1c(0x3b5)](_0x323d43){var _0x4bd6db=_0x5bbf1c;const _0x277749=this['_getAPIPrefixPath']()+_0x4bd6db(0x20c);await this['_HTTPService'][_0x4bd6db(0x170)](_0x277749,{'body':_0x323d43});}},_0x4fb88d['AuthzIoHttpService']=_0x18a202([_0x3065be(0x0,_0x2b4fd7[_0x5bbf1c(0x131)](_0x16af73[_0x5bbf1c(0x19c)])),_0x3065be(0x1,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x19b)]))],_0x4fb88d[_0x5bbf1c(0x2a6)]);var _0x154b06=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x24624f(_0x272428){var _0x149ba0=_0x5bbf1c;return _0x272428&&_0x272428[_0x149ba0(0x129)]&&Object[_0x149ba0(0x45c)][_0x149ba0(0x456)][_0x149ba0(0x419)](_0x272428,_0x149ba0(0x44b))?_0x272428['default']:_0x272428;}var _0x27e03e={'exports':{}};function _0x48971e(_0x156834){var _0xd9419e=_0x5bbf1c;throw new Error(_0xd9419e(0x287)+_0x156834+_0xd9419e(0x399));}var _0x12c82c={'exports':{}},_0x55105a=_0x12c82c[_0x5bbf1c(0x341)],_0x2791d7;function _0x4bbb9d(){var _0x254a35=_0x5bbf1c;return _0x2791d7||(_0x2791d7=0x1,function(_0x413cb6,_0x164dcc){(function(_0x41e64c,_0x1ddb30){var _0x34842e=_0x4c70;_0x413cb6[_0x34842e(0x341)]=_0x1ddb30();}(_0x55105a,function(){var _0x3112bb=_0x3112bb||function(_0x12a0e6,_0x362983){var _0x3a5ba4=_0x4c70,_0x44e907;if(typeof window<'u'&&window[_0x3a5ba4(0x396)]&&(_0x44e907=window[_0x3a5ba4(0x396)]),typeof self<'u'&&self[_0x3a5ba4(0x396)]&&(_0x44e907=self[_0x3a5ba4(0x396)]),typeof globalThis<'u'&&globalThis[_0x3a5ba4(0x396)]&&(_0x44e907=globalThis[_0x3a5ba4(0x396)]),!_0x44e907&&typeof window<'u'&&window[_0x3a5ba4(0x1b1)]&&(_0x44e907=window['msCrypto']),!_0x44e907&&typeof _0x154b06<'u'&&_0x154b06[_0x3a5ba4(0x396)]&&(_0x44e907=_0x154b06['crypto']),!_0x44e907&&typeof _0x48971e==_0x3a5ba4(0x27a))try{_0x44e907=require('crypto');}catch{}var _0x279acf=function(){var _0x5459e5=_0x3a5ba4;if(_0x44e907){if(typeof _0x44e907['getRandomValues']==_0x5459e5(0x27a))try{return _0x44e907[_0x5459e5(0x221)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x44e907['randomBytes']=='function')try{return _0x44e907[_0x5459e5(0x286)](0x4)[_0x5459e5(0x13c)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x54a32a=Object[_0x3a5ba4(0x116)]||(function(){function _0x7cc446(){}return function(_0x3de2b9){var _0x3734b6=_0x4c70,_0x54f967;return _0x7cc446[_0x3734b6(0x45c)]=_0x3de2b9,_0x54f967=new _0x7cc446(),_0x7cc446[_0x3734b6(0x45c)]=null,_0x54f967;};}()),_0x2b2a2a={},_0x421bbc=_0x2b2a2a[_0x3a5ba4(0x159)]={},_0x599e52=_0x421bbc['Base']=(function(){return{'extend':function(_0x48cd41){var _0x261627=_0x4c70,_0x3998eb=_0x54a32a(this);return _0x48cd41&&_0x3998eb[_0x261627(0x306)](_0x48cd41),(!_0x3998eb[_0x261627(0x456)](_0x261627(0x28b))||this['init']===_0x3998eb[_0x261627(0x28b)])&&(_0x3998eb['init']=function(){var _0x5bf878=_0x261627;_0x3998eb['$super'][_0x5bf878(0x28b)]['apply'](this,arguments);}),_0x3998eb[_0x261627(0x28b)]['prototype']=_0x3998eb,_0x3998eb[_0x261627(0x471)]=this,_0x3998eb;},'create':function(){var _0x163aff=_0x4c70,_0x278069=this[_0x163aff(0x3ff)]();return _0x278069['init'][_0x163aff(0x120)](_0x278069,arguments),_0x278069;},'init':function(){},'mixIn':function(_0x2b46ab){var _0x4870c3=_0x4c70;for(var _0x3ea0b8 in _0x2b46ab)_0x2b46ab[_0x4870c3(0x456)](_0x3ea0b8)&&(this[_0x3ea0b8]=_0x2b46ab[_0x3ea0b8]);_0x2b46ab[_0x4870c3(0x456)](_0x4870c3(0x289))&&(this[_0x4870c3(0x289)]=_0x2b46ab[_0x4870c3(0x289)]);},'clone':function(){var _0x30defd=_0x4c70;return this[_0x30defd(0x28b)][_0x30defd(0x45c)]['extend'](this);}};}()),_0x3718ff=_0x421bbc[_0x3a5ba4(0x32a)]=_0x599e52['extend']({'init':function(_0xac365a,_0x2ab7de){var _0x5f2431=_0x3a5ba4;_0xac365a=this[_0x5f2431(0x21d)]=_0xac365a||[],_0x2ab7de!=_0x362983?this[_0x5f2431(0x1dc)]=_0x2ab7de:this[_0x5f2431(0x1dc)]=_0xac365a[_0x5f2431(0x484)]*0x4;},'toString':function(_0x34e606){var _0x3c9d50=_0x3a5ba4;return(_0x34e606||_0x3a1b3c)[_0x3c9d50(0x442)](this);},'concat':function(_0x5a08ae){var _0x2ffcde=_0x3a5ba4,_0x278376=this[_0x2ffcde(0x21d)],_0x1da1e5=_0x5a08ae[_0x2ffcde(0x21d)],_0x30042d=this[_0x2ffcde(0x1dc)],_0x2010ca=_0x5a08ae[_0x2ffcde(0x1dc)];if(this[_0x2ffcde(0x447)](),_0x30042d%0x4)for(var _0x1cd78a=0x0;_0x1cd78a<_0x2010ca;_0x1cd78a++){var _0x5bfeb5=_0x1da1e5[_0x1cd78a>>>0x2]>>>0x18-_0x1cd78a%0x4*0x8&0xff;_0x278376[_0x30042d+_0x1cd78a>>>0x2]|=_0x5bfeb5<<0x18-(_0x30042d+_0x1cd78a)%0x4*0x8;}else{for(var _0x11f22e=0x0;_0x11f22e<_0x2010ca;_0x11f22e+=0x4)_0x278376[_0x30042d+_0x11f22e>>>0x2]=_0x1da1e5[_0x11f22e>>>0x2];}return this[_0x2ffcde(0x1dc)]+=_0x2010ca,this;},'clamp':function(){var _0x56d3ca=_0x3a5ba4,_0x1814be=this[_0x56d3ca(0x21d)],_0x108295=this['sigBytes'];_0x1814be[_0x108295>>>0x2]&=0xffffffff<<0x20-_0x108295%0x4*0x8,_0x1814be[_0x56d3ca(0x484)]=_0x12a0e6[_0x56d3ca(0x1e4)](_0x108295/0x4);},'clone':function(){var _0x5d2a8c=_0x3a5ba4,_0x551bf8=_0x599e52[_0x5d2a8c(0x142)][_0x5d2a8c(0x419)](this);return _0x551bf8[_0x5d2a8c(0x21d)]=this[_0x5d2a8c(0x21d)][_0x5d2a8c(0x204)](0x0),_0x551bf8;},'random':function(_0x2ed9f0){var _0x5ece23=_0x3a5ba4;for(var _0x27532f=[],_0x24c9e8=0x0;_0x24c9e8<_0x2ed9f0;_0x24c9e8+=0x4)_0x27532f[_0x5ece23(0x3d4)](_0x279acf());return new _0x3718ff[(_0x5ece23(0x28b))](_0x27532f,_0x2ed9f0);}}),_0x4471ab=_0x2b2a2a[_0x3a5ba4(0x49d)]={},_0x3a1b3c=_0x4471ab[_0x3a5ba4(0x1e1)]={'stringify':function(_0x324e71){var _0x2673e6=_0x3a5ba4;for(var _0x2b6058=_0x324e71[_0x2673e6(0x21d)],_0x55197d=_0x324e71[_0x2673e6(0x1dc)],_0xcaf9b7=[],_0x43cd7f=0x0;_0x43cd7f<_0x55197d;_0x43cd7f++){var _0x43a477=_0x2b6058[_0x43cd7f>>>0x2]>>>0x18-_0x43cd7f%0x4*0x8&0xff;_0xcaf9b7[_0x2673e6(0x3d4)]((_0x43a477>>>0x4)[_0x2673e6(0x289)](0x10)),_0xcaf9b7[_0x2673e6(0x3d4)]((_0x43a477&0xf)[_0x2673e6(0x289)](0x10));}return _0xcaf9b7[_0x2673e6(0x1cf)]('');},'parse':function(_0x48ef16){var _0x4cc78c=_0x3a5ba4;for(var _0x59d368=_0x48ef16[_0x4cc78c(0x484)],_0x1444c5=[],_0x593562=0x0;_0x593562<_0x59d368;_0x593562+=0x2)_0x1444c5[_0x593562>>>0x3]|=parseInt(_0x48ef16['substr'](_0x593562,0x2),0x10)<<0x18-_0x593562%0x8*0x4;return new _0x3718ff[(_0x4cc78c(0x28b))](_0x1444c5,_0x59d368/0x2);}},_0x3e00ff=_0x4471ab[_0x3a5ba4(0x449)]={'stringify':function(_0x51069e){var _0x50b824=_0x3a5ba4;for(var _0x5fc285=_0x51069e[_0x50b824(0x21d)],_0x5c4532=_0x51069e['sigBytes'],_0x11b0c3=[],_0x188f42=0x0;_0x188f42<_0x5c4532;_0x188f42++){var _0x2d27e4=_0x5fc285[_0x188f42>>>0x2]>>>0x18-_0x188f42%0x4*0x8&0xff;_0x11b0c3[_0x50b824(0x3d4)](String[_0x50b824(0x1c9)](_0x2d27e4));}return _0x11b0c3[_0x50b824(0x1cf)]('');},'parse':function(_0x130a92){var _0xd0cf90=_0x3a5ba4;for(var _0x15f3a8=_0x130a92[_0xd0cf90(0x484)],_0x290bde=[],_0x1600be=0x0;_0x1600be<_0x15f3a8;_0x1600be++)_0x290bde[_0x1600be>>>0x2]|=(_0x130a92['charCodeAt'](_0x1600be)&0xff)<<0x18-_0x1600be%0x4*0x8;return new _0x3718ff[(_0xd0cf90(0x28b))](_0x290bde,_0x15f3a8);}},_0x30ef74=_0x4471ab[_0x3a5ba4(0x30a)]={'stringify':function(_0x197876){var _0x4cf00a=_0x3a5ba4;try{return decodeURIComponent(escape(_0x3e00ff[_0x4cf00a(0x442)](_0x197876)));}catch{throw new Error(_0x4cf00a(0x39f));}},'parse':function(_0x56e57e){var _0x1974d6=_0x3a5ba4;return _0x3e00ff[_0x1974d6(0x453)](unescape(encodeURIComponent(_0x56e57e)));}},_0x4570c6=_0x421bbc[_0x3a5ba4(0x25e)]=_0x599e52[_0x3a5ba4(0x3ff)]({'reset':function(){var _0x31950f=_0x3a5ba4;this[_0x31950f(0x429)]=new _0x3718ff[(_0x31950f(0x28b))](),this[_0x31950f(0x393)]=0x0;},'_append':function(_0x52ae31){var _0x5d0a35=_0x3a5ba4;typeof _0x52ae31==_0x5d0a35(0x387)&&(_0x52ae31=_0x30ef74[_0x5d0a35(0x453)](_0x52ae31)),this[_0x5d0a35(0x429)][_0x5d0a35(0x124)](_0x52ae31),this['_nDataBytes']+=_0x52ae31['sigBytes'];},'_process':function(_0x6227a4){var _0x3b5b18=_0x3a5ba4,_0x2e3925,_0x1c5476=this[_0x3b5b18(0x429)],_0x2ba602=_0x1c5476['words'],_0x362b5a=_0x1c5476['sigBytes'],_0x265232=this['blockSize'],_0x12cba8=_0x265232*0x4,_0x3dc7f9=_0x362b5a/_0x12cba8;_0x6227a4?_0x3dc7f9=_0x12a0e6[_0x3b5b18(0x1e4)](_0x3dc7f9):_0x3dc7f9=_0x12a0e6[_0x3b5b18(0x1ef)]((_0x3dc7f9|0x0)-this[_0x3b5b18(0x248)],0x0);var _0x29ad93=_0x3dc7f9*_0x265232,_0x1a5761=_0x12a0e6['min'](_0x29ad93*0x4,_0x362b5a);if(_0x29ad93){for(var _0x25a328=0x0;_0x25a328<_0x29ad93;_0x25a328+=_0x265232)this['_doProcessBlock'](_0x2ba602,_0x25a328);_0x2e3925=_0x2ba602[_0x3b5b18(0x330)](0x0,_0x29ad93),_0x1c5476[_0x3b5b18(0x1dc)]-=_0x1a5761;}return new _0x3718ff[(_0x3b5b18(0x28b))](_0x2e3925,_0x1a5761);},'clone':function(){var _0x556599=_0x3a5ba4,_0x15ffa1=_0x599e52['clone'][_0x556599(0x419)](this);return _0x15ffa1['_data']=this[_0x556599(0x429)]['clone'](),_0x15ffa1;},'_minBufferSize':0x0});_0x421bbc[_0x3a5ba4(0x457)]=_0x4570c6[_0x3a5ba4(0x3ff)]({'cfg':_0x599e52[_0x3a5ba4(0x3ff)](),'init':function(_0x291434){var _0x4beb8c=_0x3a5ba4;this[_0x4beb8c(0x11e)]=this[_0x4beb8c(0x11e)]['extend'](_0x291434),this[_0x4beb8c(0x491)]();},'reset':function(){var _0x5b5900=_0x3a5ba4;_0x4570c6[_0x5b5900(0x491)][_0x5b5900(0x419)](this),this[_0x5b5900(0x470)]();},'update':function(_0x4b1c9b){var _0x1d0e16=_0x3a5ba4;return this[_0x1d0e16(0x2cb)](_0x4b1c9b),this['_process'](),this;},'finalize':function(_0x151be6){var _0x13c893=_0x3a5ba4;_0x151be6&&this['_append'](_0x151be6);var _0x19f57b=this[_0x13c893(0x189)]();return _0x19f57b;},'blockSize':0x10,'_createHelper':function(_0x433144){return function(_0x49a9f1,_0x2f2e80){var _0x146d22=_0x4c70;return new _0x433144[(_0x146d22(0x28b))](_0x2f2e80)['finalize'](_0x49a9f1);};},'_createHmacHelper':function(_0x2c98b6){return function(_0x1161e1,_0x557d86){var _0x1b86a6=_0x4c70;return new _0xf8d301[(_0x1b86a6(0x27c))][(_0x1b86a6(0x28b))](_0x2c98b6,_0x557d86)[_0x1b86a6(0x34d)](_0x1161e1);};}});var _0xf8d301=_0x2b2a2a[_0x3a5ba4(0x263)]={};return _0x2b2a2a;}(Math);return _0x3112bb;}));}(_0x12c82c)),_0x12c82c[_0x254a35(0x341)];}var _0x3eedec={'exports':{}},_0x387fcc=_0x3eedec[_0x5bbf1c(0x341)],_0x225d3f;function _0x23746d(){var _0x1036ea=_0x5bbf1c;return _0x225d3f||(_0x225d3f=0x1,function(_0x40867a,_0x1dd8c0){(function(_0x1e71d5,_0x1c3065){var _0x1b95f4=_0x4c70;_0x40867a[_0x1b95f4(0x341)]=_0x1c3065(_0x4bbb9d());}(_0x387fcc,function(_0x56a552){var _0x2fe8d3=_0x4c70;return(function(){var _0x1d9665=_0x4c70,_0x4fb65a=_0x56a552,_0x27d182=_0x4fb65a[_0x1d9665(0x159)],_0x2e179f=_0x27d182[_0x1d9665(0x32a)],_0x5e2058=_0x4fb65a[_0x1d9665(0x49d)];_0x5e2058[_0x1d9665(0x146)]={'stringify':function(_0x145a63){var _0x53be71=_0x1d9665,_0x2ed0bf=_0x145a63[_0x53be71(0x21d)],_0x3c4aa3=_0x145a63[_0x53be71(0x1dc)],_0x14f958=this['_map'];_0x145a63[_0x53be71(0x447)]();for(var _0x3dc6b4=[],_0x3c4ed9=0x0;_0x3c4ed9<_0x3c4aa3;_0x3c4ed9+=0x3)for(var _0x2642b2=_0x2ed0bf[_0x3c4ed9>>>0x2]>>>0x18-_0x3c4ed9%0x4*0x8&0xff,_0x5e3a6f=_0x2ed0bf[_0x3c4ed9+0x1>>>0x2]>>>0x18-(_0x3c4ed9+0x1)%0x4*0x8&0xff,_0x53dfed=_0x2ed0bf[_0x3c4ed9+0x2>>>0x2]>>>0x18-(_0x3c4ed9+0x2)%0x4*0x8&0xff,_0x591e79=_0x2642b2<<0x10|_0x5e3a6f<<0x8|_0x53dfed,_0x450ab7=0x0;_0x450ab7<0x4&&_0x3c4ed9+_0x450ab7*0.75<_0x3c4aa3;_0x450ab7++)_0x3dc6b4[_0x53be71(0x3d4)](_0x14f958['charAt'](_0x591e79>>>0x6*(0x3-_0x450ab7)&0x3f));var _0x44f2be=_0x14f958[_0x53be71(0x17c)](0x40);if(_0x44f2be){for(;_0x3dc6b4[_0x53be71(0x484)]%0x4;)_0x3dc6b4[_0x53be71(0x3d4)](_0x44f2be);}return _0x3dc6b4['join']('');},'parse':function(_0x33b0fe){var _0x182751=_0x1d9665,_0x20a5db=_0x33b0fe[_0x182751(0x484)],_0x2a4a6f=this['_map'],_0xe007d2=this[_0x182751(0x26c)];if(!_0xe007d2){_0xe007d2=this[_0x182751(0x26c)]=[];for(var _0x196fff=0x0;_0x196fff<_0x2a4a6f[_0x182751(0x484)];_0x196fff++)_0xe007d2[_0x2a4a6f[_0x182751(0x255)](_0x196fff)]=_0x196fff;}var _0x2d28c2=_0x2a4a6f[_0x182751(0x17c)](0x40);if(_0x2d28c2){var _0x1a86d7=_0x33b0fe[_0x182751(0x479)](_0x2d28c2);_0x1a86d7!==-0x1&&(_0x20a5db=_0x1a86d7);}return _0x3ebb67(_0x33b0fe,_0x20a5db,_0xe007d2);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x3ebb67(_0x3c75bd,_0x23b457,_0x3565b2){var _0x2b229b=_0x1d9665;for(var _0x5ca7bb=[],_0x5a71e4=0x0,_0x4c7f93=0x0;_0x4c7f93<_0x23b457;_0x4c7f93++)if(_0x4c7f93%0x4){var _0x48c543=_0x3565b2[_0x3c75bd['charCodeAt'](_0x4c7f93-0x1)]<<_0x4c7f93%0x4*0x2,_0x572d54=_0x3565b2[_0x3c75bd[_0x2b229b(0x255)](_0x4c7f93)]>>>0x6-_0x4c7f93%0x4*0x2,_0x417cc8=_0x48c543|_0x572d54;_0x5ca7bb[_0x5a71e4>>>0x2]|=_0x417cc8<<0x18-_0x5a71e4%0x4*0x8,_0x5a71e4++;}return _0x2e179f[_0x2b229b(0x116)](_0x5ca7bb,_0x5a71e4);}}()),_0x56a552['enc'][_0x2fe8d3(0x146)];}));}(_0x3eedec)),_0x3eedec[_0x1036ea(0x341)];}var _0x338bb2={'exports':{}},_0x523c55=_0x338bb2['exports'],_0x3daf4d;function _0x3e90b4(){var _0x499c7c=_0x5bbf1c;return _0x3daf4d||(_0x3daf4d=0x1,function(_0xe80c89,_0x523d58){(function(_0x5a7601,_0x5cfc79){_0xe80c89['exports']=_0x5cfc79(_0x4bbb9d());}(_0x523c55,function(_0x332b54){var _0x264a0d=_0x4c70;return function(_0x234434){var _0x20ff04=_0x4c70,_0x511265=_0x332b54,_0xe8e165=_0x511265[_0x20ff04(0x159)],_0x20dd1e=_0xe8e165[_0x20ff04(0x32a)],_0x487d87=_0xe8e165[_0x20ff04(0x457)],_0x3c96c7=_0x511265[_0x20ff04(0x263)],_0x16bd46=[];(function(){var _0x5c9183=_0x20ff04;for(var _0x466da3=0x0;_0x466da3<0x40;_0x466da3++)_0x16bd46[_0x466da3]=_0x234434[_0x5c9183(0x199)](_0x234434[_0x5c9183(0x3ef)](_0x466da3+0x1))*0x100000000|0x0;}());var _0x597ebc=_0x3c96c7[_0x20ff04(0x227)]=_0x487d87[_0x20ff04(0x3ff)]({'_doReset':function(){var _0x585769=_0x20ff04;this[_0x585769(0x3dd)]=new _0x20dd1e[(_0x585769(0x28b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x533f46,_0x33aab1){var _0x59344f=_0x20ff04;for(var _0x2602ee=0x0;_0x2602ee<0x10;_0x2602ee++){var _0x218956=_0x33aab1+_0x2602ee,_0xfda335=_0x533f46[_0x218956];_0x533f46[_0x218956]=(_0xfda335<<0x8|_0xfda335>>>0x18)&0xff00ff|(_0xfda335<<0x18|_0xfda335>>>0x8)&0xff00ff00;}var _0x3d75a3=this[_0x59344f(0x3dd)][_0x59344f(0x21d)],_0x3d9d51=_0x533f46[_0x33aab1+0x0],_0xaee8a7=_0x533f46[_0x33aab1+0x1],_0x6f5be5=_0x533f46[_0x33aab1+0x2],_0x176367=_0x533f46[_0x33aab1+0x3],_0x331dba=_0x533f46[_0x33aab1+0x4],_0x3b978b=_0x533f46[_0x33aab1+0x5],_0x5989ab=_0x533f46[_0x33aab1+0x6],_0x5b5732=_0x533f46[_0x33aab1+0x7],_0xf2b5a2=_0x533f46[_0x33aab1+0x8],_0x3e36b9=_0x533f46[_0x33aab1+0x9],_0x3882da=_0x533f46[_0x33aab1+0xa],_0x32f26b=_0x533f46[_0x33aab1+0xb],_0x165e46=_0x533f46[_0x33aab1+0xc],_0xfe3c93=_0x533f46[_0x33aab1+0xd],_0x55fbbe=_0x533f46[_0x33aab1+0xe],_0x1e6ac1=_0x533f46[_0x33aab1+0xf],_0x5c0551=_0x3d75a3[0x0],_0x260edb=_0x3d75a3[0x1],_0x128dde=_0x3d75a3[0x2],_0x4e2de0=_0x3d75a3[0x3];_0x5c0551=_0x2ef6d8(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0x3d9d51,0x7,_0x16bd46[0x0]),_0x4e2de0=_0x2ef6d8(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0xaee8a7,0xc,_0x16bd46[0x1]),_0x128dde=_0x2ef6d8(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x6f5be5,0x11,_0x16bd46[0x2]),_0x260edb=_0x2ef6d8(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0x176367,0x16,_0x16bd46[0x3]),_0x5c0551=_0x2ef6d8(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0x331dba,0x7,_0x16bd46[0x4]),_0x4e2de0=_0x2ef6d8(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0x3b978b,0xc,_0x16bd46[0x5]),_0x128dde=_0x2ef6d8(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x5989ab,0x11,_0x16bd46[0x6]),_0x260edb=_0x2ef6d8(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0x5b5732,0x16,_0x16bd46[0x7]),_0x5c0551=_0x2ef6d8(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0xf2b5a2,0x7,_0x16bd46[0x8]),_0x4e2de0=_0x2ef6d8(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0x3e36b9,0xc,_0x16bd46[0x9]),_0x128dde=_0x2ef6d8(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x3882da,0x11,_0x16bd46[0xa]),_0x260edb=_0x2ef6d8(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0x32f26b,0x16,_0x16bd46[0xb]),_0x5c0551=_0x2ef6d8(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0x165e46,0x7,_0x16bd46[0xc]),_0x4e2de0=_0x2ef6d8(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0xfe3c93,0xc,_0x16bd46[0xd]),_0x128dde=_0x2ef6d8(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x55fbbe,0x11,_0x16bd46[0xe]),_0x260edb=_0x2ef6d8(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0x1e6ac1,0x16,_0x16bd46[0xf]),_0x5c0551=_0x45f131(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0xaee8a7,0x5,_0x16bd46[0x10]),_0x4e2de0=_0x45f131(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0x5989ab,0x9,_0x16bd46[0x11]),_0x128dde=_0x45f131(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x32f26b,0xe,_0x16bd46[0x12]),_0x260edb=_0x45f131(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0x3d9d51,0x14,_0x16bd46[0x13]),_0x5c0551=_0x45f131(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0x3b978b,0x5,_0x16bd46[0x14]),_0x4e2de0=_0x45f131(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0x3882da,0x9,_0x16bd46[0x15]),_0x128dde=_0x45f131(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x1e6ac1,0xe,_0x16bd46[0x16]),_0x260edb=_0x45f131(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0x331dba,0x14,_0x16bd46[0x17]),_0x5c0551=_0x45f131(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0x3e36b9,0x5,_0x16bd46[0x18]),_0x4e2de0=_0x45f131(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0x55fbbe,0x9,_0x16bd46[0x19]),_0x128dde=_0x45f131(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x176367,0xe,_0x16bd46[0x1a]),_0x260edb=_0x45f131(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0xf2b5a2,0x14,_0x16bd46[0x1b]),_0x5c0551=_0x45f131(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0xfe3c93,0x5,_0x16bd46[0x1c]),_0x4e2de0=_0x45f131(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0x6f5be5,0x9,_0x16bd46[0x1d]),_0x128dde=_0x45f131(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x5b5732,0xe,_0x16bd46[0x1e]),_0x260edb=_0x45f131(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0x165e46,0x14,_0x16bd46[0x1f]),_0x5c0551=_0x4266dd(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0x3b978b,0x4,_0x16bd46[0x20]),_0x4e2de0=_0x4266dd(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0xf2b5a2,0xb,_0x16bd46[0x21]),_0x128dde=_0x4266dd(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x32f26b,0x10,_0x16bd46[0x22]),_0x260edb=_0x4266dd(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0x55fbbe,0x17,_0x16bd46[0x23]),_0x5c0551=_0x4266dd(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0xaee8a7,0x4,_0x16bd46[0x24]),_0x4e2de0=_0x4266dd(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0x331dba,0xb,_0x16bd46[0x25]),_0x128dde=_0x4266dd(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x5b5732,0x10,_0x16bd46[0x26]),_0x260edb=_0x4266dd(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0x3882da,0x17,_0x16bd46[0x27]),_0x5c0551=_0x4266dd(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0xfe3c93,0x4,_0x16bd46[0x28]),_0x4e2de0=_0x4266dd(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0x3d9d51,0xb,_0x16bd46[0x29]),_0x128dde=_0x4266dd(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x176367,0x10,_0x16bd46[0x2a]),_0x260edb=_0x4266dd(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0x5989ab,0x17,_0x16bd46[0x2b]),_0x5c0551=_0x4266dd(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0x3e36b9,0x4,_0x16bd46[0x2c]),_0x4e2de0=_0x4266dd(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0x165e46,0xb,_0x16bd46[0x2d]),_0x128dde=_0x4266dd(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x1e6ac1,0x10,_0x16bd46[0x2e]),_0x260edb=_0x4266dd(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0x6f5be5,0x17,_0x16bd46[0x2f]),_0x5c0551=_0x18a6e7(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0x3d9d51,0x6,_0x16bd46[0x30]),_0x4e2de0=_0x18a6e7(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0x5b5732,0xa,_0x16bd46[0x31]),_0x128dde=_0x18a6e7(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x55fbbe,0xf,_0x16bd46[0x32]),_0x260edb=_0x18a6e7(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0x3b978b,0x15,_0x16bd46[0x33]),_0x5c0551=_0x18a6e7(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0x165e46,0x6,_0x16bd46[0x34]),_0x4e2de0=_0x18a6e7(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0x176367,0xa,_0x16bd46[0x35]),_0x128dde=_0x18a6e7(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x3882da,0xf,_0x16bd46[0x36]),_0x260edb=_0x18a6e7(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0xaee8a7,0x15,_0x16bd46[0x37]),_0x5c0551=_0x18a6e7(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0xf2b5a2,0x6,_0x16bd46[0x38]),_0x4e2de0=_0x18a6e7(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0x1e6ac1,0xa,_0x16bd46[0x39]),_0x128dde=_0x18a6e7(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x5989ab,0xf,_0x16bd46[0x3a]),_0x260edb=_0x18a6e7(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0xfe3c93,0x15,_0x16bd46[0x3b]),_0x5c0551=_0x18a6e7(_0x5c0551,_0x260edb,_0x128dde,_0x4e2de0,_0x331dba,0x6,_0x16bd46[0x3c]),_0x4e2de0=_0x18a6e7(_0x4e2de0,_0x5c0551,_0x260edb,_0x128dde,_0x32f26b,0xa,_0x16bd46[0x3d]),_0x128dde=_0x18a6e7(_0x128dde,_0x4e2de0,_0x5c0551,_0x260edb,_0x6f5be5,0xf,_0x16bd46[0x3e]),_0x260edb=_0x18a6e7(_0x260edb,_0x128dde,_0x4e2de0,_0x5c0551,_0x3e36b9,0x15,_0x16bd46[0x3f]),_0x3d75a3[0x0]=_0x3d75a3[0x0]+_0x5c0551|0x0,_0x3d75a3[0x1]=_0x3d75a3[0x1]+_0x260edb|0x0,_0x3d75a3[0x2]=_0x3d75a3[0x2]+_0x128dde|0x0,_0x3d75a3[0x3]=_0x3d75a3[0x3]+_0x4e2de0|0x0;},'_doFinalize':function(){var _0x1903cc=_0x20ff04,_0x32d7da=this['_data'],_0x282087=_0x32d7da[_0x1903cc(0x21d)],_0x2db2b8=this[_0x1903cc(0x393)]*0x8,_0x19f230=_0x32d7da['sigBytes']*0x8;_0x282087[_0x19f230>>>0x5]|=0x80<<0x18-_0x19f230%0x20;var _0xf5a06c=_0x234434['floor'](_0x2db2b8/0x100000000),_0x4ec3ab=_0x2db2b8;_0x282087[(_0x19f230+0x40>>>0x9<<0x4)+0xf]=(_0xf5a06c<<0x8|_0xf5a06c>>>0x18)&0xff00ff|(_0xf5a06c<<0x18|_0xf5a06c>>>0x8)&0xff00ff00,_0x282087[(_0x19f230+0x40>>>0x9<<0x4)+0xe]=(_0x4ec3ab<<0x8|_0x4ec3ab>>>0x18)&0xff00ff|(_0x4ec3ab<<0x18|_0x4ec3ab>>>0x8)&0xff00ff00,_0x32d7da[_0x1903cc(0x1dc)]=(_0x282087[_0x1903cc(0x484)]+0x1)*0x4,this['_process']();for(var _0x372dd6=this[_0x1903cc(0x3dd)],_0x5ba553=_0x372dd6[_0x1903cc(0x21d)],_0x23a6ac=0x0;_0x23a6ac<0x4;_0x23a6ac++){var _0x1047b0=_0x5ba553[_0x23a6ac];_0x5ba553[_0x23a6ac]=(_0x1047b0<<0x8|_0x1047b0>>>0x18)&0xff00ff|(_0x1047b0<<0x18|_0x1047b0>>>0x8)&0xff00ff00;}return _0x372dd6;},'clone':function(){var _0x73518=_0x20ff04,_0x2054c8=_0x487d87[_0x73518(0x142)][_0x73518(0x419)](this);return _0x2054c8[_0x73518(0x3dd)]=this['_hash'][_0x73518(0x142)](),_0x2054c8;}});function _0x2ef6d8(_0x44be39,_0x2a2691,_0x4f6ccb,_0x15f0f7,_0x1d1d27,_0x5d4576,_0x5668c){var _0x3b8f59=_0x44be39+(_0x2a2691&_0x4f6ccb|~_0x2a2691&_0x15f0f7)+_0x1d1d27+_0x5668c;return(_0x3b8f59<<_0x5d4576|_0x3b8f59>>>0x20-_0x5d4576)+_0x2a2691;}function _0x45f131(_0x30aab3,_0x2253e3,_0xc8919c,_0x35dd9a,_0x55e388,_0x52a1b3,_0x4fc979){var _0x340d8b=_0x30aab3+(_0x2253e3&_0x35dd9a|_0xc8919c&~_0x35dd9a)+_0x55e388+_0x4fc979;return(_0x340d8b<<_0x52a1b3|_0x340d8b>>>0x20-_0x52a1b3)+_0x2253e3;}function _0x4266dd(_0x30327c,_0x37c935,_0x38b3e3,_0x3cedde,_0x3e8b02,_0x549d0e,_0x5c3594){var _0x4e3646=_0x30327c+(_0x37c935^_0x38b3e3^_0x3cedde)+_0x3e8b02+_0x5c3594;return(_0x4e3646<<_0x549d0e|_0x4e3646>>>0x20-_0x549d0e)+_0x37c935;}function _0x18a6e7(_0x5314c6,_0x1f93e5,_0x45de7d,_0x1814e6,_0x152ce4,_0x4696ef,_0x494d1b){var _0x25bc91=_0x5314c6+(_0x45de7d^(_0x1f93e5|~_0x1814e6))+_0x152ce4+_0x494d1b;return(_0x25bc91<<_0x4696ef|_0x25bc91>>>0x20-_0x4696ef)+_0x1f93e5;}_0x511265['MD5']=_0x487d87[_0x20ff04(0x3a1)](_0x597ebc),_0x511265[_0x20ff04(0x277)]=_0x487d87[_0x20ff04(0x485)](_0x597ebc);}(Math),_0x332b54[_0x264a0d(0x227)];}));}(_0x338bb2)),_0x338bb2[_0x499c7c(0x341)];}var _0x410987={'exports':{}},_0x172f0e={'exports':{}},_0x4e617c=_0x172f0e['exports'],_0x23862a;function _0x19e6ec(){var _0x26fe7f=_0x5bbf1c;return _0x23862a||(_0x23862a=0x1,function(_0x5b2898,_0x17496c){(function(_0x20b385,_0x443910){_0x5b2898['exports']=_0x443910(_0x4bbb9d());}(_0x4e617c,function(_0x913bac){return(function(){var _0xa5379f=_0x4c70,_0x418dd4=_0x913bac,_0x69e6fc=_0x418dd4[_0xa5379f(0x159)],_0x3b5dde=_0x69e6fc[_0xa5379f(0x32a)],_0x3ca5b1=_0x69e6fc[_0xa5379f(0x457)],_0x7c53c5=_0x418dd4[_0xa5379f(0x263)],_0x226f3e=[],_0x464d7e=_0x7c53c5[_0xa5379f(0x368)]=_0x3ca5b1[_0xa5379f(0x3ff)]({'_doReset':function(){var _0x411ce7=_0xa5379f;this[_0x411ce7(0x3dd)]=new _0x3b5dde['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x520811,_0x3d9fd5){var _0x27b8a5=_0xa5379f;for(var _0xa5b564=this[_0x27b8a5(0x3dd)]['words'],_0x264299=_0xa5b564[0x0],_0x5b31e2=_0xa5b564[0x1],_0x1e662d=_0xa5b564[0x2],_0x8a133=_0xa5b564[0x3],_0x2b66d3=_0xa5b564[0x4],_0x34289f=0x0;_0x34289f<0x50;_0x34289f++){if(_0x34289f<0x10)_0x226f3e[_0x34289f]=_0x520811[_0x3d9fd5+_0x34289f]|0x0;else{var _0x400fd9=_0x226f3e[_0x34289f-0x3]^_0x226f3e[_0x34289f-0x8]^_0x226f3e[_0x34289f-0xe]^_0x226f3e[_0x34289f-0x10];_0x226f3e[_0x34289f]=_0x400fd9<<0x1|_0x400fd9>>>0x1f;}var _0x6155fb=(_0x264299<<0x5|_0x264299>>>0x1b)+_0x2b66d3+_0x226f3e[_0x34289f];_0x34289f<0x14?_0x6155fb+=(_0x5b31e2&_0x1e662d|~_0x5b31e2&_0x8a133)+0x5a827999:_0x34289f<0x28?_0x6155fb+=(_0x5b31e2^_0x1e662d^_0x8a133)+0x6ed9eba1:_0x34289f<0x3c?_0x6155fb+=(_0x5b31e2&_0x1e662d|_0x5b31e2&_0x8a133|_0x1e662d&_0x8a133)-0x70e44324:_0x6155fb+=(_0x5b31e2^_0x1e662d^_0x8a133)-0x359d3e2a,_0x2b66d3=_0x8a133,_0x8a133=_0x1e662d,_0x1e662d=_0x5b31e2<<0x1e|_0x5b31e2>>>0x2,_0x5b31e2=_0x264299,_0x264299=_0x6155fb;}_0xa5b564[0x0]=_0xa5b564[0x0]+_0x264299|0x0,_0xa5b564[0x1]=_0xa5b564[0x1]+_0x5b31e2|0x0,_0xa5b564[0x2]=_0xa5b564[0x2]+_0x1e662d|0x0,_0xa5b564[0x3]=_0xa5b564[0x3]+_0x8a133|0x0,_0xa5b564[0x4]=_0xa5b564[0x4]+_0x2b66d3|0x0;},'_doFinalize':function(){var _0x1e851c=_0xa5379f,_0xe6a279=this[_0x1e851c(0x429)],_0x13067d=_0xe6a279[_0x1e851c(0x21d)],_0x356991=this[_0x1e851c(0x393)]*0x8,_0x9a53d4=_0xe6a279['sigBytes']*0x8;return _0x13067d[_0x9a53d4>>>0x5]|=0x80<<0x18-_0x9a53d4%0x20,_0x13067d[(_0x9a53d4+0x40>>>0x9<<0x4)+0xe]=Math[_0x1e851c(0x47b)](_0x356991/0x100000000),_0x13067d[(_0x9a53d4+0x40>>>0x9<<0x4)+0xf]=_0x356991,_0xe6a279[_0x1e851c(0x1dc)]=_0x13067d[_0x1e851c(0x484)]*0x4,this['_process'](),this[_0x1e851c(0x3dd)];},'clone':function(){var _0x10f428=_0xa5379f,_0xe53825=_0x3ca5b1[_0x10f428(0x142)][_0x10f428(0x419)](this);return _0xe53825['_hash']=this[_0x10f428(0x3dd)][_0x10f428(0x142)](),_0xe53825;}});_0x418dd4[_0xa5379f(0x368)]=_0x3ca5b1[_0xa5379f(0x3a1)](_0x464d7e),_0x418dd4[_0xa5379f(0x452)]=_0x3ca5b1[_0xa5379f(0x485)](_0x464d7e);}()),_0x913bac['SHA1'];}));}(_0x172f0e)),_0x172f0e[_0x26fe7f(0x341)];}var _0xd7de6f={'exports':{}},_0xe197b4=_0xd7de6f[_0x5bbf1c(0x341)],_0x2a3ec0;function _0x4caab8(){var _0x17f17d=_0x5bbf1c;return _0x2a3ec0||(_0x2a3ec0=0x1,function(_0x4d20c0,_0x43c387){(function(_0x238e78,_0x51fb28){_0x4d20c0['exports']=_0x51fb28(_0x4bbb9d());}(_0xe197b4,function(_0x43b6b6){(function(){var _0x33c8ba=_0x4c70,_0x52c53a=_0x43b6b6,_0x3090aa=_0x52c53a['lib'],_0x3d26b9=_0x3090aa[_0x33c8ba(0x351)],_0x21f59d=_0x52c53a[_0x33c8ba(0x49d)],_0x49637a=_0x21f59d[_0x33c8ba(0x30a)],_0x49eead=_0x52c53a['algo'];_0x49eead[_0x33c8ba(0x27c)]=_0x3d26b9[_0x33c8ba(0x3ff)]({'init':function(_0x47c608,_0x11a246){var _0x54077b=_0x33c8ba;_0x47c608=this[_0x54077b(0x180)]=new _0x47c608[(_0x54077b(0x28b))](),typeof _0x11a246==_0x54077b(0x387)&&(_0x11a246=_0x49637a['parse'](_0x11a246));var _0x543e7c=_0x47c608[_0x54077b(0x391)],_0x6afef2=_0x543e7c*0x4;_0x11a246[_0x54077b(0x1dc)]>_0x6afef2&&(_0x11a246=_0x47c608[_0x54077b(0x34d)](_0x11a246)),_0x11a246['clamp']();for(var _0x356e60=this['_oKey']=_0x11a246[_0x54077b(0x142)](),_0xc13d2a=this[_0x54077b(0x36a)]=_0x11a246['clone'](),_0x443992=_0x356e60[_0x54077b(0x21d)],_0x4593d7=_0xc13d2a['words'],_0x294f2f=0x0;_0x294f2f<_0x543e7c;_0x294f2f++)_0x443992[_0x294f2f]^=0x5c5c5c5c,_0x4593d7[_0x294f2f]^=0x36363636;_0x356e60[_0x54077b(0x1dc)]=_0xc13d2a[_0x54077b(0x1dc)]=_0x6afef2,this['reset']();},'reset':function(){var _0x449442=_0x33c8ba,_0x3ee964=this['_hasher'];_0x3ee964[_0x449442(0x491)](),_0x3ee964[_0x449442(0x26f)](this[_0x449442(0x36a)]);},'update':function(_0x5d8928){var _0x4bdd0b=_0x33c8ba;return this['_hasher'][_0x4bdd0b(0x26f)](_0x5d8928),this;},'finalize':function(_0x18f6db){var _0x489ae=_0x33c8ba,_0x46fddf=this[_0x489ae(0x180)],_0x3c31e6=_0x46fddf[_0x489ae(0x34d)](_0x18f6db);_0x46fddf[_0x489ae(0x491)]();var _0x8de408=_0x46fddf[_0x489ae(0x34d)](this[_0x489ae(0x29d)][_0x489ae(0x142)]()['concat'](_0x3c31e6));return _0x8de408;}});}());}));}(_0xd7de6f)),_0xd7de6f[_0x17f17d(0x341)];}var _0x102175=_0x410987[_0x5bbf1c(0x341)],_0x3db32d;function _0xb2d7c9(){return _0x3db32d||(_0x3db32d=0x1,function(_0x3d340d,_0x21aa30){(function(_0x47e2df,_0x34f229,_0x19798e){var _0x807d7e=_0x4c70;_0x3d340d[_0x807d7e(0x341)]=_0x34f229(_0x4bbb9d(),_0x19e6ec(),_0x4caab8());}(_0x102175,function(_0x3253fb){return(function(){var _0x2d9e6d=_0x4c70,_0x3d6a73=_0x3253fb,_0x1fc606=_0x3d6a73[_0x2d9e6d(0x159)],_0x54fb66=_0x1fc606[_0x2d9e6d(0x351)],_0x465a45=_0x1fc606[_0x2d9e6d(0x32a)],_0x32bcd1=_0x3d6a73[_0x2d9e6d(0x263)],_0xa2587a=_0x32bcd1[_0x2d9e6d(0x227)],_0x447ffd=_0x32bcd1[_0x2d9e6d(0x374)]=_0x54fb66[_0x2d9e6d(0x3ff)]({'cfg':_0x54fb66['extend']({'keySize':0x80/0x20,'hasher':_0xa2587a,'iterations':0x1}),'init':function(_0x36639f){var _0x1be591=_0x2d9e6d;this[_0x1be591(0x11e)]=this[_0x1be591(0x11e)][_0x1be591(0x3ff)](_0x36639f);},'compute':function(_0x242640,_0x19c47b){var _0x15a781=_0x2d9e6d;for(var _0xff3763,_0x36cea7=this[_0x15a781(0x11e)],_0x4470f6=_0x36cea7['hasher'][_0x15a781(0x116)](),_0x2275fd=_0x465a45[_0x15a781(0x116)](),_0x134419=_0x2275fd[_0x15a781(0x21d)],_0x324a7b=_0x36cea7[_0x15a781(0x3be)],_0x5c01f0=_0x36cea7[_0x15a781(0x192)];_0x134419[_0x15a781(0x484)]<_0x324a7b;){_0xff3763&&_0x4470f6[_0x15a781(0x26f)](_0xff3763),_0xff3763=_0x4470f6[_0x15a781(0x26f)](_0x242640)[_0x15a781(0x34d)](_0x19c47b),_0x4470f6[_0x15a781(0x491)]();for(var _0x560aba=0x1;_0x560aba<_0x5c01f0;_0x560aba++)_0xff3763=_0x4470f6['finalize'](_0xff3763),_0x4470f6[_0x15a781(0x491)]();_0x2275fd[_0x15a781(0x124)](_0xff3763);}return _0x2275fd[_0x15a781(0x1dc)]=_0x324a7b*0x4,_0x2275fd;}});_0x3d6a73[_0x2d9e6d(0x374)]=function(_0x23daf2,_0x1f5647,_0x2bc909){var _0x577c0f=_0x2d9e6d;return _0x447ffd[_0x577c0f(0x116)](_0x2bc909)[_0x577c0f(0x392)](_0x23daf2,_0x1f5647);};}()),_0x3253fb['EvpKDF'];}));}(_0x410987)),_0x410987['exports'];}var _0x332746={'exports':{}},_0x4eac29=_0x332746[_0x5bbf1c(0x341)],_0x29a56b;function _0x287d6e(){return _0x29a56b||(_0x29a56b=0x1,function(_0x2f9381,_0x1c26f1){(function(_0x397fe4,_0x4bc627,_0x5825d6){_0x2f9381['exports']=_0x4bc627(_0x4bbb9d(),_0xb2d7c9());}(_0x4eac29,function(_0x31ea66){var _0x489056=_0x4c70;_0x31ea66['lib'][_0x489056(0x3cc)]||function(_0x235195){var _0x5d6666=_0x489056,_0xa11556=_0x31ea66,_0x1978af=_0xa11556[_0x5d6666(0x159)],_0x22e679=_0x1978af[_0x5d6666(0x351)],_0xa9539e=_0x1978af['WordArray'],_0x50e01d=_0x1978af[_0x5d6666(0x25e)],_0x2e3620=_0xa11556[_0x5d6666(0x49d)];_0x2e3620[_0x5d6666(0x30a)];var _0x224ab0=_0x2e3620[_0x5d6666(0x146)],_0x3eaf35=_0xa11556['algo'],_0x230f2b=_0x3eaf35['EvpKDF'],_0x60fde9=_0x1978af['Cipher']=_0x50e01d[_0x5d6666(0x3ff)]({'cfg':_0x22e679[_0x5d6666(0x3ff)](),'createEncryptor':function(_0x29fb3f,_0x172d6c){var _0x15ee43=_0x5d6666;return this[_0x15ee43(0x116)](this['_ENC_XFORM_MODE'],_0x29fb3f,_0x172d6c);},'createDecryptor':function(_0x2ae9cd,_0x5edddb){var _0x55462e=_0x5d6666;return this[_0x55462e(0x116)](this[_0x55462e(0x184)],_0x2ae9cd,_0x5edddb);},'init':function(_0x12f540,_0x3f2999,_0x417f5f){var _0x10489=_0x5d6666;this['cfg']=this['cfg'][_0x10489(0x3ff)](_0x417f5f),this['_xformMode']=_0x12f540,this['_key']=_0x3f2999,this[_0x10489(0x491)]();},'reset':function(){var _0x462df7=_0x5d6666;_0x50e01d[_0x462df7(0x491)][_0x462df7(0x419)](this),this['_doReset']();},'process':function(_0x5c96cb){var _0x290fed=_0x5d6666;return this[_0x290fed(0x2cb)](_0x5c96cb),this[_0x290fed(0x408)]();},'finalize':function(_0x8906fb){var _0x494c1b=_0x5d6666;_0x8906fb&&this[_0x494c1b(0x2cb)](_0x8906fb);var _0x561d6f=this[_0x494c1b(0x189)]();return _0x561d6f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1f1176(_0x177b10){var _0x39af4a=_0x4c70;return typeof _0x177b10==_0x39af4a(0x387)?_0x1affcb:_0x32ac76;}return function(_0x182103){return{'encrypt':function(_0x5ab269,_0x47ae7f,_0x1dff54){return _0x1f1176(_0x47ae7f)['encrypt'](_0x182103,_0x5ab269,_0x47ae7f,_0x1dff54);},'decrypt':function(_0xd88b03,_0x26e2e5,_0x3e5621){var _0x4b6090=_0x4c70;return _0x1f1176(_0x26e2e5)[_0x4b6090(0x3ce)](_0x182103,_0xd88b03,_0x26e2e5,_0x3e5621);}};};}())});_0x1978af[_0x5d6666(0x266)]=_0x60fde9[_0x5d6666(0x3ff)]({'_doFinalize':function(){var _0x9f0a4e=this['_process'](!0x0);return _0x9f0a4e;},'blockSize':0x1});var _0x2b0aa0=_0xa11556[_0x5d6666(0x1b7)]={},_0x24562f=_0x1978af[_0x5d6666(0x31d)]=_0x22e679[_0x5d6666(0x3ff)]({'createEncryptor':function(_0x5eb06a,_0xa40bf7){var _0x4c1add=_0x5d6666;return this[_0x4c1add(0x2bf)][_0x4c1add(0x116)](_0x5eb06a,_0xa40bf7);},'createDecryptor':function(_0x38a19d,_0x472c66){var _0x110f68=_0x5d6666;return this[_0x110f68(0x23b)][_0x110f68(0x116)](_0x38a19d,_0x472c66);},'init':function(_0x1cb06c,_0x5ae214){var _0x3d2c38=_0x5d6666;this[_0x3d2c38(0x1ba)]=_0x1cb06c,this[_0x3d2c38(0x238)]=_0x5ae214;}}),_0x5df876=_0x2b0aa0[_0x5d6666(0x15a)]=(function(){var _0x554e35=_0x5d6666,_0x4762b3=_0x24562f['extend']();_0x4762b3['Encryptor']=_0x4762b3['extend']({'processBlock':function(_0x3b0cea,_0x729a26){var _0x3ae85e=_0x4c70,_0x5a0c52=this['_cipher'],_0x11cac3=_0x5a0c52[_0x3ae85e(0x391)];_0x1fbc05['call'](this,_0x3b0cea,_0x729a26,_0x11cac3),_0x5a0c52[_0x3ae85e(0x151)](_0x3b0cea,_0x729a26),this[_0x3ae85e(0x1de)]=_0x3b0cea[_0x3ae85e(0x204)](_0x729a26,_0x729a26+_0x11cac3);}}),_0x4762b3[_0x554e35(0x23b)]=_0x4762b3[_0x554e35(0x3ff)]({'processBlock':function(_0x12d968,_0x2f7a85){var _0x4fb653=_0x554e35,_0x2576d5=this['_cipher'],_0x30d06e=_0x2576d5[_0x4fb653(0x391)],_0x471ef2=_0x12d968[_0x4fb653(0x204)](_0x2f7a85,_0x2f7a85+_0x30d06e);_0x2576d5[_0x4fb653(0x13a)](_0x12d968,_0x2f7a85),_0x1fbc05[_0x4fb653(0x419)](this,_0x12d968,_0x2f7a85,_0x30d06e),this['_prevBlock']=_0x471ef2;}});function _0x1fbc05(_0x2181d7,_0x2d9fcc,_0x309d86){var _0x5ff6fb=_0x554e35,_0x18d601,_0x3063f9=this[_0x5ff6fb(0x238)];_0x3063f9?(_0x18d601=_0x3063f9,this[_0x5ff6fb(0x238)]=_0x235195):_0x18d601=this[_0x5ff6fb(0x1de)];for(var _0x3bc7e3=0x0;_0x3bc7e3<_0x309d86;_0x3bc7e3++)_0x2181d7[_0x2d9fcc+_0x3bc7e3]^=_0x18d601[_0x3bc7e3];}return _0x4762b3;}()),_0x4a4db2=_0xa11556[_0x5d6666(0x47c)]={},_0x2374cf=_0x4a4db2[_0x5d6666(0x321)]={'pad':function(_0x534bc7,_0x40ba2b){var _0x157a7c=_0x5d6666;for(var _0xd615e8=_0x40ba2b*0x4,_0x4f4182=_0xd615e8-_0x534bc7[_0x157a7c(0x1dc)]%_0xd615e8,_0x8c3543=_0x4f4182<<0x18|_0x4f4182<<0x10|_0x4f4182<<0x8|_0x4f4182,_0x7f77f9=[],_0x343b98=0x0;_0x343b98<_0x4f4182;_0x343b98+=0x4)_0x7f77f9[_0x157a7c(0x3d4)](_0x8c3543);var _0x111502=_0xa9539e[_0x157a7c(0x116)](_0x7f77f9,_0x4f4182);_0x534bc7[_0x157a7c(0x124)](_0x111502);},'unpad':function(_0x4a2550){var _0x3d9378=_0x5d6666,_0x26a909=_0x4a2550['words'][_0x4a2550[_0x3d9378(0x1dc)]-0x1>>>0x2]&0xff;_0x4a2550[_0x3d9378(0x1dc)]-=_0x26a909;}};_0x1978af[_0x5d6666(0x1aa)]=_0x60fde9['extend']({'cfg':_0x60fde9[_0x5d6666(0x11e)][_0x5d6666(0x3ff)]({'mode':_0x5df876,'padding':_0x2374cf}),'reset':function(){var _0x261f8e=_0x5d6666,_0x445ae8;_0x60fde9['reset'][_0x261f8e(0x419)](this);var _0x463ef0=this['cfg'],_0x949979=_0x463ef0['iv'],_0x35c9bb=_0x463ef0['mode'];this[_0x261f8e(0x229)]==this[_0x261f8e(0x327)]?_0x445ae8=_0x35c9bb['createEncryptor']:(_0x445ae8=_0x35c9bb['createDecryptor'],this[_0x261f8e(0x248)]=0x1),this[_0x261f8e(0x487)]&&this[_0x261f8e(0x487)][_0x261f8e(0x20f)]==_0x445ae8?this[_0x261f8e(0x487)][_0x261f8e(0x28b)](this,_0x949979&&_0x949979[_0x261f8e(0x21d)]):(this[_0x261f8e(0x487)]=_0x445ae8[_0x261f8e(0x419)](_0x35c9bb,this,_0x949979&&_0x949979['words']),this[_0x261f8e(0x487)][_0x261f8e(0x20f)]=_0x445ae8);},'_doProcessBlock':function(_0x50db0f,_0x12aedc){var _0x322217=_0x5d6666;this[_0x322217(0x487)]['processBlock'](_0x50db0f,_0x12aedc);},'_doFinalize':function(){var _0x2b542d=_0x5d6666,_0x604e11,_0x486a99=this['cfg']['padding'];return this[_0x2b542d(0x229)]==this[_0x2b542d(0x327)]?(_0x486a99['pad'](this[_0x2b542d(0x429)],this[_0x2b542d(0x391)]),_0x604e11=this[_0x2b542d(0x408)](!0x0)):(_0x604e11=this['_process'](!0x0),_0x486a99['unpad'](_0x604e11)),_0x604e11;},'blockSize':0x80/0x20});var _0x1a3bb4=_0x1978af[_0x5d6666(0x256)]=_0x22e679[_0x5d6666(0x3ff)]({'init':function(_0x264171){var _0x34ddca=_0x5d6666;this[_0x34ddca(0x306)](_0x264171);},'toString':function(_0x2f9d0e){var _0x3fb653=_0x5d6666;return(_0x2f9d0e||this[_0x3fb653(0x1dd)])['stringify'](this);}}),_0x2b8926=_0xa11556[_0x5d6666(0x2e9)]={},_0x91be63=_0x2b8926[_0x5d6666(0x422)]={'stringify':function(_0x2cd21b){var _0x2396be=_0x5d6666,_0x324479,_0x1f7ddf=_0x2cd21b[_0x2396be(0x23f)],_0x3ce1f4=_0x2cd21b[_0x2396be(0x135)];return _0x3ce1f4?_0x324479=_0xa9539e['create']([0x53616c74,0x65645f5f])[_0x2396be(0x124)](_0x3ce1f4)[_0x2396be(0x124)](_0x1f7ddf):_0x324479=_0x1f7ddf,_0x324479[_0x2396be(0x289)](_0x224ab0);},'parse':function(_0xb7e61d){var _0x5323f4=_0x5d6666,_0x1eefab,_0x47e22e=_0x224ab0[_0x5323f4(0x453)](_0xb7e61d),_0x10d1ff=_0x47e22e[_0x5323f4(0x21d)];return _0x10d1ff[0x0]==0x53616c74&&_0x10d1ff[0x1]==0x65645f5f&&(_0x1eefab=_0xa9539e[_0x5323f4(0x116)](_0x10d1ff[_0x5323f4(0x204)](0x2,0x4)),_0x10d1ff['splice'](0x0,0x4),_0x47e22e['sigBytes']-=0x10),_0x1a3bb4[_0x5323f4(0x116)]({'ciphertext':_0x47e22e,'salt':_0x1eefab});}},_0x32ac76=_0x1978af[_0x5d6666(0x244)]=_0x22e679[_0x5d6666(0x3ff)]({'cfg':_0x22e679[_0x5d6666(0x3ff)]({'format':_0x91be63}),'encrypt':function(_0x5d9300,_0x343ad5,_0x8aa3a2,_0x1a4415){var _0xa4444e=_0x5d6666;_0x1a4415=this[_0xa4444e(0x11e)]['extend'](_0x1a4415);var _0x4a315c=_0x5d9300[_0xa4444e(0x445)](_0x8aa3a2,_0x1a4415),_0x32b660=_0x4a315c[_0xa4444e(0x34d)](_0x343ad5),_0x52d96b=_0x4a315c[_0xa4444e(0x11e)];return _0x1a3bb4['create']({'ciphertext':_0x32b660,'key':_0x8aa3a2,'iv':_0x52d96b['iv'],'algorithm':_0x5d9300,'mode':_0x52d96b[_0xa4444e(0x1b7)],'padding':_0x52d96b[_0xa4444e(0x428)],'blockSize':_0x5d9300['blockSize'],'formatter':_0x1a4415['format']});},'decrypt':function(_0x401371,_0x20f24a,_0x4c8d26,_0x59aad5){var _0x2d3fe6=_0x5d6666;_0x59aad5=this[_0x2d3fe6(0x11e)][_0x2d3fe6(0x3ff)](_0x59aad5),_0x20f24a=this['_parse'](_0x20f24a,_0x59aad5[_0x2d3fe6(0x2e9)]);var _0x4b7716=_0x401371[_0x2d3fe6(0x36d)](_0x4c8d26,_0x59aad5)['finalize'](_0x20f24a[_0x2d3fe6(0x23f)]);return _0x4b7716;},'_parse':function(_0x28002f,_0x2725bd){var _0x54e31f=_0x5d6666;return typeof _0x28002f=='string'?_0x2725bd[_0x54e31f(0x453)](_0x28002f,this):_0x28002f;}}),_0xb77256=_0xa11556['kdf']={},_0x44abc9=_0xb77256[_0x5d6666(0x422)]={'execute':function(_0x34d8a8,_0x45d7b3,_0x6c4366,_0x4d581a,_0xa0a83){var _0x53d552=_0x5d6666;if(_0x4d581a||(_0x4d581a=_0xa9539e['random'](0x40/0x8)),_0xa0a83)var _0x7260ac=_0x230f2b[_0x53d552(0x116)]({'keySize':_0x45d7b3+_0x6c4366,'hasher':_0xa0a83})[_0x53d552(0x392)](_0x34d8a8,_0x4d581a);else var _0x7260ac=_0x230f2b[_0x53d552(0x116)]({'keySize':_0x45d7b3+_0x6c4366})[_0x53d552(0x392)](_0x34d8a8,_0x4d581a);var _0x343600=_0xa9539e[_0x53d552(0x116)](_0x7260ac[_0x53d552(0x21d)]['slice'](_0x45d7b3),_0x6c4366*0x4);return _0x7260ac[_0x53d552(0x1dc)]=_0x45d7b3*0x4,_0x1a3bb4[_0x53d552(0x116)]({'key':_0x7260ac,'iv':_0x343600,'salt':_0x4d581a});}},_0x1affcb=_0x1978af[_0x5d6666(0x48d)]=_0x32ac76[_0x5d6666(0x3ff)]({'cfg':_0x32ac76[_0x5d6666(0x11e)]['extend']({'kdf':_0x44abc9}),'encrypt':function(_0x35b6e5,_0x1b3643,_0x4feeaa,_0x11778d){var _0x266538=_0x5d6666;_0x11778d=this[_0x266538(0x11e)]['extend'](_0x11778d);var _0x205dee=_0x11778d['kdf']['execute'](_0x4feeaa,_0x35b6e5[_0x266538(0x3be)],_0x35b6e5['ivSize'],_0x11778d['salt'],_0x11778d[_0x266538(0x194)]);_0x11778d['iv']=_0x205dee['iv'];var _0x89e6f7=_0x32ac76['encrypt'][_0x266538(0x419)](this,_0x35b6e5,_0x1b3643,_0x205dee[_0x266538(0x315)],_0x11778d);return _0x89e6f7[_0x266538(0x306)](_0x205dee),_0x89e6f7;},'decrypt':function(_0x1044a6,_0x142754,_0x326fb4,_0x3165ee){var _0x117fd4=_0x5d6666;_0x3165ee=this[_0x117fd4(0x11e)][_0x117fd4(0x3ff)](_0x3165ee),_0x142754=this[_0x117fd4(0x260)](_0x142754,_0x3165ee[_0x117fd4(0x2e9)]);var _0xf1d851=_0x3165ee['kdf'][_0x117fd4(0x3e9)](_0x326fb4,_0x1044a6[_0x117fd4(0x3be)],_0x1044a6[_0x117fd4(0x1a6)],_0x142754[_0x117fd4(0x135)],_0x3165ee[_0x117fd4(0x194)]);_0x3165ee['iv']=_0xf1d851['iv'];var _0x4523a4=_0x32ac76[_0x117fd4(0x3ce)]['call'](this,_0x1044a6,_0x142754,_0xf1d851[_0x117fd4(0x315)],_0x3165ee);return _0x4523a4;}});}();}));}(_0x332746)),_0x332746['exports'];}var _0x2ce996=_0x27e03e[_0x5bbf1c(0x341)],_0x235411;function _0x2df1ce(){var _0x739ed8=_0x5bbf1c;return _0x235411||(_0x235411=0x1,function(_0x5c9c3b,_0x3692e2){(function(_0x53ca44,_0x3ebaa2,_0x11ee5f){var _0x4e7b8e=_0x4c70;_0x5c9c3b[_0x4e7b8e(0x341)]=_0x3ebaa2(_0x4bbb9d(),_0x23746d(),_0x3e90b4(),_0xb2d7c9(),_0x287d6e());}(_0x2ce996,function(_0x718af9){var _0x2b91d1=_0x4c70;return(function(){var _0x45eb88=_0x4c70,_0x16eedc=_0x718af9,_0x4819ac=_0x16eedc[_0x45eb88(0x159)],_0xe33004=_0x4819ac['BlockCipher'],_0x5e0c53=_0x16eedc['algo'],_0x3402b2=[],_0x50b23e=[],_0x1efa4e=[],_0xe4e3df=[],_0x2fa877=[],_0x51a2a6=[],_0x3a5b45=[],_0x586499=[],_0x45cf17=[],_0x1c300b=[];(function(){for(var _0x43eb32=[],_0x49bf4f=0x0;_0x49bf4f<0x100;_0x49bf4f++)_0x49bf4f<0x80?_0x43eb32[_0x49bf4f]=_0x49bf4f<<0x1:_0x43eb32[_0x49bf4f]=_0x49bf4f<<0x1^0x11b;for(var _0x3c03d1=0x0,_0x5be63e=0x0,_0x49bf4f=0x0;_0x49bf4f<0x100;_0x49bf4f++){var _0x3340cb=_0x5be63e^_0x5be63e<<0x1^_0x5be63e<<0x2^_0x5be63e<<0x3^_0x5be63e<<0x4;_0x3340cb=_0x3340cb>>>0x8^_0x3340cb&0xff^0x63,_0x3402b2[_0x3c03d1]=_0x3340cb,_0x50b23e[_0x3340cb]=_0x3c03d1;var _0x3f63d5=_0x43eb32[_0x3c03d1],_0x78058e=_0x43eb32[_0x3f63d5],_0x5cd4a5=_0x43eb32[_0x78058e],_0xb4c6f2=_0x43eb32[_0x3340cb]*0x101^_0x3340cb*0x1010100;_0x1efa4e[_0x3c03d1]=_0xb4c6f2<<0x18|_0xb4c6f2>>>0x8,_0xe4e3df[_0x3c03d1]=_0xb4c6f2<<0x10|_0xb4c6f2>>>0x10,_0x2fa877[_0x3c03d1]=_0xb4c6f2<<0x8|_0xb4c6f2>>>0x18,_0x51a2a6[_0x3c03d1]=_0xb4c6f2;var _0xb4c6f2=_0x5cd4a5*0x1010101^_0x78058e*0x10001^_0x3f63d5*0x101^_0x3c03d1*0x1010100;_0x3a5b45[_0x3340cb]=_0xb4c6f2<<0x18|_0xb4c6f2>>>0x8,_0x586499[_0x3340cb]=_0xb4c6f2<<0x10|_0xb4c6f2>>>0x10,_0x45cf17[_0x3340cb]=_0xb4c6f2<<0x8|_0xb4c6f2>>>0x18,_0x1c300b[_0x3340cb]=_0xb4c6f2,_0x3c03d1?(_0x3c03d1=_0x3f63d5^_0x43eb32[_0x43eb32[_0x43eb32[_0x5cd4a5^_0x3f63d5]]],_0x5be63e^=_0x43eb32[_0x43eb32[_0x5be63e]]):_0x3c03d1=_0x5be63e=0x1;}}());var _0x51c43a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4c98c3=_0x5e0c53[_0x45eb88(0x35c)]=_0xe33004[_0x45eb88(0x3ff)]({'_doReset':function(){var _0x42c0aa=_0x45eb88,_0x4fea7f;if(!(this[_0x42c0aa(0x336)]&&this[_0x42c0aa(0x22c)]===this['_key'])){for(var _0x34f7aa=this['_keyPriorReset']=this[_0x42c0aa(0x3aa)],_0x5a08d2=_0x34f7aa[_0x42c0aa(0x21d)],_0xac0e30=_0x34f7aa['sigBytes']/0x4,_0x2b5f50=this['_nRounds']=_0xac0e30+0x6,_0x124eda=(_0x2b5f50+0x1)*0x4,_0x3cb050=this[_0x42c0aa(0x167)]=[],_0x54f27f=0x0;_0x54f27f<_0x124eda;_0x54f27f++)_0x54f27f<_0xac0e30?_0x3cb050[_0x54f27f]=_0x5a08d2[_0x54f27f]:(_0x4fea7f=_0x3cb050[_0x54f27f-0x1],_0x54f27f%_0xac0e30?_0xac0e30>0x6&&_0x54f27f%_0xac0e30==0x4&&(_0x4fea7f=_0x3402b2[_0x4fea7f>>>0x18]<<0x18|_0x3402b2[_0x4fea7f>>>0x10&0xff]<<0x10|_0x3402b2[_0x4fea7f>>>0x8&0xff]<<0x8|_0x3402b2[_0x4fea7f&0xff]):(_0x4fea7f=_0x4fea7f<<0x8|_0x4fea7f>>>0x18,_0x4fea7f=_0x3402b2[_0x4fea7f>>>0x18]<<0x18|_0x3402b2[_0x4fea7f>>>0x10&0xff]<<0x10|_0x3402b2[_0x4fea7f>>>0x8&0xff]<<0x8|_0x3402b2[_0x4fea7f&0xff],_0x4fea7f^=_0x51c43a[_0x54f27f/_0xac0e30|0x0]<<0x18),_0x3cb050[_0x54f27f]=_0x3cb050[_0x54f27f-_0xac0e30]^_0x4fea7f);for(var _0x10828d=this[_0x42c0aa(0x234)]=[],_0x52e906=0x0;_0x52e906<_0x124eda;_0x52e906++){var _0x54f27f=_0x124eda-_0x52e906;if(_0x52e906%0x4)var _0x4fea7f=_0x3cb050[_0x54f27f];else var _0x4fea7f=_0x3cb050[_0x54f27f-0x4];_0x52e906<0x4||_0x54f27f<=0x4?_0x10828d[_0x52e906]=_0x4fea7f:_0x10828d[_0x52e906]=_0x3a5b45[_0x3402b2[_0x4fea7f>>>0x18]]^_0x586499[_0x3402b2[_0x4fea7f>>>0x10&0xff]]^_0x45cf17[_0x3402b2[_0x4fea7f>>>0x8&0xff]]^_0x1c300b[_0x3402b2[_0x4fea7f&0xff]];}}},'encryptBlock':function(_0x351e3b,_0x22e9ec){var _0x499a8c=_0x45eb88;this[_0x499a8c(0x163)](_0x351e3b,_0x22e9ec,this[_0x499a8c(0x167)],_0x1efa4e,_0xe4e3df,_0x2fa877,_0x51a2a6,_0x3402b2);},'decryptBlock':function(_0x8bdaf,_0x4532a9){var _0x473832=_0x45eb88,_0x7ef43f=_0x8bdaf[_0x4532a9+0x1];_0x8bdaf[_0x4532a9+0x1]=_0x8bdaf[_0x4532a9+0x3],_0x8bdaf[_0x4532a9+0x3]=_0x7ef43f,this[_0x473832(0x163)](_0x8bdaf,_0x4532a9,this[_0x473832(0x234)],_0x3a5b45,_0x586499,_0x45cf17,_0x1c300b,_0x50b23e);var _0x7ef43f=_0x8bdaf[_0x4532a9+0x1];_0x8bdaf[_0x4532a9+0x1]=_0x8bdaf[_0x4532a9+0x3],_0x8bdaf[_0x4532a9+0x3]=_0x7ef43f;},'_doCryptBlock':function(_0x5b838c,_0x52331f,_0x256318,_0x4af0e8,_0x42d3d6,_0x3b8554,_0x557799,_0x595ae8){for(var _0x308b77=this['_nRounds'],_0x29f5ee=_0x5b838c[_0x52331f]^_0x256318[0x0],_0x1d778a=_0x5b838c[_0x52331f+0x1]^_0x256318[0x1],_0x255b0c=_0x5b838c[_0x52331f+0x2]^_0x256318[0x2],_0x42394b=_0x5b838c[_0x52331f+0x3]^_0x256318[0x3],_0x51c16e=0x4,_0x4c218c=0x1;_0x4c218c<_0x308b77;_0x4c218c++){var _0x3bad60=_0x4af0e8[_0x29f5ee>>>0x18]^_0x42d3d6[_0x1d778a>>>0x10&0xff]^_0x3b8554[_0x255b0c>>>0x8&0xff]^_0x557799[_0x42394b&0xff]^_0x256318[_0x51c16e++],_0x2caa85=_0x4af0e8[_0x1d778a>>>0x18]^_0x42d3d6[_0x255b0c>>>0x10&0xff]^_0x3b8554[_0x42394b>>>0x8&0xff]^_0x557799[_0x29f5ee&0xff]^_0x256318[_0x51c16e++],_0x50adb0=_0x4af0e8[_0x255b0c>>>0x18]^_0x42d3d6[_0x42394b>>>0x10&0xff]^_0x3b8554[_0x29f5ee>>>0x8&0xff]^_0x557799[_0x1d778a&0xff]^_0x256318[_0x51c16e++],_0x1a044f=_0x4af0e8[_0x42394b>>>0x18]^_0x42d3d6[_0x29f5ee>>>0x10&0xff]^_0x3b8554[_0x1d778a>>>0x8&0xff]^_0x557799[_0x255b0c&0xff]^_0x256318[_0x51c16e++];_0x29f5ee=_0x3bad60,_0x1d778a=_0x2caa85,_0x255b0c=_0x50adb0,_0x42394b=_0x1a044f;}var _0x3bad60=(_0x595ae8[_0x29f5ee>>>0x18]<<0x18|_0x595ae8[_0x1d778a>>>0x10&0xff]<<0x10|_0x595ae8[_0x255b0c>>>0x8&0xff]<<0x8|_0x595ae8[_0x42394b&0xff])^_0x256318[_0x51c16e++],_0x2caa85=(_0x595ae8[_0x1d778a>>>0x18]<<0x18|_0x595ae8[_0x255b0c>>>0x10&0xff]<<0x10|_0x595ae8[_0x42394b>>>0x8&0xff]<<0x8|_0x595ae8[_0x29f5ee&0xff])^_0x256318[_0x51c16e++],_0x50adb0=(_0x595ae8[_0x255b0c>>>0x18]<<0x18|_0x595ae8[_0x42394b>>>0x10&0xff]<<0x10|_0x595ae8[_0x29f5ee>>>0x8&0xff]<<0x8|_0x595ae8[_0x1d778a&0xff])^_0x256318[_0x51c16e++],_0x1a044f=(_0x595ae8[_0x42394b>>>0x18]<<0x18|_0x595ae8[_0x29f5ee>>>0x10&0xff]<<0x10|_0x595ae8[_0x1d778a>>>0x8&0xff]<<0x8|_0x595ae8[_0x255b0c&0xff])^_0x256318[_0x51c16e++];_0x5b838c[_0x52331f]=_0x3bad60,_0x5b838c[_0x52331f+0x1]=_0x2caa85,_0x5b838c[_0x52331f+0x2]=_0x50adb0,_0x5b838c[_0x52331f+0x3]=_0x1a044f;},'keySize':0x100/0x20});_0x16eedc[_0x45eb88(0x35c)]=_0xe33004['_createHelper'](_0x4c98c3);}()),_0x718af9[_0x2b91d1(0x35c)];}));}(_0x27e03e)),_0x27e03e[_0x739ed8(0x341)];}var _0x50512b=_0x2df1ce();const _0x544bb3=_0x24624f(_0x50512b);var _0x161522=_0x23746d();const _0x3fcb16=_0x24624f(_0x161522);var _0x5d2f1e={'exports':{}},_0x47c2da=_0x5d2f1e[_0x5bbf1c(0x341)],_0x1b68bc;function _0x286f0f(){var _0x1f0165=_0x5bbf1c;return _0x1b68bc||(_0x1b68bc=0x1,function(_0x529b35,_0x30711a){(function(_0x59e931,_0x1afe80){_0x529b35['exports']=_0x1afe80(_0x4bbb9d());}(_0x47c2da,function(_0x22bba5){var _0x2020fe=_0x4c70;return _0x22bba5[_0x2020fe(0x49d)][_0x2020fe(0x30a)];}));}(_0x5d2f1e)),_0x5d2f1e[_0x1f0165(0x341)];}var _0x5296dd=_0x286f0f();const _0x47a96e=_0x24624f(_0x5296dd);var _0x26c1e3={'exports':{}},_0x669ad6=_0x26c1e3[_0x5bbf1c(0x341)],_0x34346e;function _0x244664(){var _0x2c52c7=_0x5bbf1c;return _0x34346e||(_0x34346e=0x1,function(_0x5e9d85,_0x4e8fef){(function(_0x407b27,_0x3b8b7d){_0x5e9d85['exports']=_0x3b8b7d(_0x4bbb9d());}(_0x669ad6,function(_0x369c0a){var _0x4403d5=_0x4c70;return(function(){var _0x4c2509=_0x4c70;if(typeof ArrayBuffer==_0x4c2509(0x27a)){var _0x469664=_0x369c0a,_0x480152=_0x469664[_0x4c2509(0x159)],_0x20702c=_0x480152[_0x4c2509(0x32a)],_0x396cf8=_0x20702c[_0x4c2509(0x28b)],_0x19b6dc=_0x20702c[_0x4c2509(0x28b)]=function(_0x5e26ec){var _0x36fc11=_0x4c2509;if(_0x5e26ec instanceof ArrayBuffer&&(_0x5e26ec=new Uint8Array(_0x5e26ec)),(_0x5e26ec instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5e26ec instanceof Uint8ClampedArray||_0x5e26ec instanceof Int16Array||_0x5e26ec instanceof Uint16Array||_0x5e26ec instanceof Int32Array||_0x5e26ec instanceof Uint32Array||_0x5e26ec instanceof Float32Array||_0x5e26ec instanceof Float64Array)&&(_0x5e26ec=new Uint8Array(_0x5e26ec[_0x36fc11(0x390)],_0x5e26ec[_0x36fc11(0x281)],_0x5e26ec[_0x36fc11(0x32e)])),_0x5e26ec instanceof Uint8Array){for(var _0x42db14=_0x5e26ec[_0x36fc11(0x32e)],_0x264045=[],_0x1ed5e9=0x0;_0x1ed5e9<_0x42db14;_0x1ed5e9++)_0x264045[_0x1ed5e9>>>0x2]|=_0x5e26ec[_0x1ed5e9]<<0x18-_0x1ed5e9%0x4*0x8;_0x396cf8[_0x36fc11(0x419)](this,_0x264045,_0x42db14);}else _0x396cf8['apply'](this,arguments);};_0x19b6dc[_0x4c2509(0x45c)]=_0x20702c;}}()),_0x369c0a[_0x4403d5(0x159)]['WordArray'];}));}(_0x26c1e3)),_0x26c1e3[_0x2c52c7(0x341)];}var _0x30e087=_0x244664();const _0x2ab9e2=_0x24624f(_0x30e087);var _0x4f994f={'exports':{}},_0x8064e5=_0x4f994f[_0x5bbf1c(0x341)],_0x3aaee8;function _0x46ca21(){return _0x3aaee8||(_0x3aaee8=0x1,function(_0x265993,_0x5bc8bf){(function(_0xe1aa66,_0x6141f8,_0x2d22d2){var _0x2a41c3=_0x4c70;_0x265993[_0x2a41c3(0x341)]=_0x6141f8(_0x4bbb9d(),_0x287d6e());}(_0x8064e5,function(_0x5d8400){var _0x19a442=_0x4c70;return _0x5d8400[_0x19a442(0x47c)][_0x19a442(0x1c4)]={'pad':function(){},'unpad':function(){}},_0x5d8400[_0x19a442(0x47c)][_0x19a442(0x1c4)];}));}(_0x4f994f)),_0x4f994f['exports'];}var _0x39f824=_0x46ca21();const _0x2613a4=_0x24624f(_0x39f824);function _0x16e541(_0x5a28d1,_0xeda5c6){var _0x52f427=_0x5bbf1c;const _0x2dff09=_0xeda5c6-_0x5a28d1[_0x52f427(0x484)]%_0xeda5c6,_0x5de844=String['fromCharCode'](_0x2dff09)[_0x52f427(0x16b)](_0x2dff09);return _0x5a28d1+_0x5de844;}function _0xb7b035(_0x1dedf4,_0x481d94){var _0x167b90=_0x5bbf1c;const _0x239ccf=_0x2ab9e2[_0x167b90(0x3bc)](0x10),_0x1754e9=_0x16e541(_0x1dedf4,0x10),_0x4e4273=_0x544bb3[_0x167b90(0x264)](_0x47a96e[_0x167b90(0x453)](_0x1754e9),_0x3fcb16[_0x167b90(0x453)](_0x481d94),{'iv':_0x239ccf,'padding':_0x2613a4});return _0x239ccf[_0x167b90(0x124)](_0x4e4273['ciphertext'])[_0x167b90(0x289)](_0x3fcb16);}function _0x48bfd2(){var _0x250a43=_0x5bbf1c;const _0x545ee2=_0x265748[_0x250a43(0x303)]()[_0x250a43(0x1c0)];if(_0x545ee2){const _0x455ca8={'time':Math[_0x250a43(0x47b)](Date[_0x250a43(0x31e)]()/0x3e8),'domain':location[_0x250a43(0x3ba)]};return _0xb7b035(JSON[_0x250a43(0x442)](_0x455ca8),_0x545ee2);}}var _0x3009a8=Object[_0x5bbf1c(0x2ba)],_0x35ccf6=(_0x27b2b7,_0x407ae6,_0x3cf2fe,_0x1b4329)=>{var _0x2094d7=_0x5bbf1c;for(var _0x2f96db=_0x1b4329>0x1?void 0x0:_0x1b4329?_0x3009a8(_0x407ae6,_0x3cf2fe):_0x407ae6,_0x282776=_0x27b2b7[_0x2094d7(0x484)]-0x1,_0x3d6c4d;_0x282776>=0x0;_0x282776--)(_0x3d6c4d=_0x27b2b7[_0x282776])&&(_0x2f96db=_0x3d6c4d(_0x2f96db)||_0x2f96db);return _0x2f96db;},_0x46a3bd=(_0x30aedb,_0x25ed9f)=>(_0x205670,_0x4d29be)=>_0x25ed9f(_0x205670,_0x4d29be,_0x30aedb);let _0x2632bf=class{constructor(_0x2cb2be){var _0x1c075e=_0x5bbf1c;this['_httpService']=_0x2cb2be,this[_0x1c075e(0x3b0)]();}[_0x5bbf1c(0x3b0)](){var _0x21daf2=_0x5bbf1c;this[_0x21daf2(0x37e)][_0x21daf2(0x293)]({'interceptor':(_0x23df82,_0x55893)=>{var _0x1919f3=_0x21daf2;const _0x40bf4c=_0x23df82[_0x1919f3(0x2fd)],_0x2e923f=_0x48bfd2();return _0x2e923f&&_0x40bf4c['set'](_0x1919f3(0x1c5),_0x2e923f),_0x55893(_0x23df82);}});}};_0x2632bf=_0x35ccf6([_0x46a3bd(0x0,_0x2b4fd7[_0x5bbf1c(0x131)](_0x16af73[_0x5bbf1c(0x19c)]))],_0x2632bf);var _0x440d46=Object['getOwnPropertyDescriptor'],_0x32457e=(_0x25b695,_0x23fa94,_0x358f1c,_0x49b4f3)=>{var _0x29561b=_0x5bbf1c;for(var _0x4c70b0=_0x49b4f3>0x1?void 0x0:_0x49b4f3?_0x440d46(_0x23fa94,_0x358f1c):_0x23fa94,_0xa58af1=_0x25b695[_0x29561b(0x484)]-0x1,_0x590382;_0xa58af1>=0x0;_0xa58af1--)(_0x590382=_0x25b695[_0xa58af1])&&(_0x4c70b0=_0x590382(_0x4c70b0)||_0x4c70b0);return _0x4c70b0;},_0x4508d7=(_0xd5edf6,_0x1fb894)=>(_0x2fe08f,_0x140c61)=>_0x1fb894(_0x2fe08f,_0x140c61,_0xd5edf6);_0x4fb88d['DataLoaderService']=class extends _0x2b4fd7[_0x5bbf1c(0x1da)]{constructor(_0x17de3f,_0x44fe4e,_0x3e2b6f){var _0x55d05a=_0x5bbf1c;super(),_0x42eac7(this,'_unitInfo$',new _0x4a62d2['BehaviorSubject'](null)),_0x42eac7(this,'unitInfo$',this['_unitInfo$'][_0x55d05a(0x16a)]()),(this[_0x55d05a(0x12b)]=_0x17de3f,this['_snapshotService']=_0x44fe4e,this[_0x55d05a(0x37b)]=_0x3e2b6f);}async[_0x5bbf1c(0x16e)](_0x4ce09b,_0x31ee50,_0x2db75b){var _0x7e4b2b=_0x5bbf1c;this[_0x7e4b2b(0x119)][_0x7e4b2b(0x3d7)]({'unitId':_0x4ce09b,'type':_0x31ee50});let _0x1b4e33=null;switch(_0x31ee50){case _0x55524d[_0x7e4b2b(0x2ff)]:{_0x1b4e33=await this[_0x7e4b2b(0x35e)]['loadSheet'](_0x4ce09b,_0x2db75b);break;}case _0x55524d[_0x7e4b2b(0x460)]:{_0x1b4e33=await this[_0x7e4b2b(0x35e)]['loadDoc'](_0x4ce09b,_0x2db75b);break;}default:{this['_logService'][_0x7e4b2b(0x1ab)](_0x7e4b2b(0x3b8),_0x7e4b2b(0x141));break;}}return _0x1b4e33;}async[_0x5bbf1c(0x31c)](_0x1357e4,_0x4532b6,_0x5af66f){var _0x44da2a=_0x5bbf1c,_0x6256e2;this[_0x44da2a(0x119)][_0x44da2a(0x3d7)]({'unitId':_0x1357e4,'type':_0x4532b6,'subUnitId':_0x5af66f});let _0x123471=0x0;const _0x30dcf4=await((_0x6256e2=this[_0x44da2a(0x37b)])==null?void 0x0:_0x6256e2[_0x44da2a(0x446)](_0x1357e4));return _0x30dcf4&&(_0x30dcf4[_0x44da2a(0x23a)]||_0x30dcf4[_0x44da2a(0x11d)][_0x44da2a(0x484)]!==0x0)&&(_0x123471=_0x30dcf4['rev']),_0x123471===0x0&&this[_0x44da2a(0x12b)][_0x44da2a(0x1fa)]('[DataLoaderService]',_0x44da2a(0x36b)),this[_0x44da2a(0x16e)](_0x1357e4,_0x4532b6,_0x123471);}},_0x4fb88d[_0x5bbf1c(0x496)]=_0x32457e([_0x4508d7(0x0,_0x2b4fd7[_0x5bbf1c(0x1a1)]),_0x4508d7(0x1,_0x2b4fd7[_0x5bbf1c(0x131)](_0x7c64a['SnapshotService'])),_0x4508d7(0x2,_0x2b4fd7[_0x5bbf1c(0x158)](_0x60630c))],_0x4fb88d[_0x5bbf1c(0x496)]);var _0x5dfc4e=Object[_0x5bbf1c(0x2ba)],_0x4d8250=(_0x99e5a6,_0x2af692,_0x3b0983,_0x507bc6)=>{for(var _0x1092c2=_0x507bc6>0x1?void 0x0:_0x507bc6?_0x5dfc4e(_0x2af692,_0x3b0983):_0x2af692,_0x5bbb2b=_0x99e5a6['length']-0x1,_0x255857;_0x5bbb2b>=0x0;_0x5bbb2b--)(_0x255857=_0x99e5a6[_0x5bbb2b])&&(_0x1092c2=_0x255857(_0x1092c2)||_0x1092c2);return _0x1092c2;},_0x43ba87=(_0x334819,_0x2e3ab7)=>(_0x565f48,_0x51928e)=>_0x2e3ab7(_0x565f48,_0x51928e,_0x334819);const _0x4ba2f1=['image/png',_0x5bbf1c(0x14c),_0x5bbf1c(0x232),_0x5bbf1c(0x427),_0x5bbf1c(0x3e6)],_0x163e56=0x5*0x400*0x400,_0xb7aad4=_0x5bbf1c(0x3d1),_0xffc532='/universer-api/file/{fileID}/sign-url';_0x4fb88d[_0x5bbf1c(0x2a0)]=class{constructor(_0x3e7c5d,_0x17d690,_0x178415){var _0x4ed24b=_0x5bbf1c;_0x42eac7(this,'_waitCount',0x0),_0x42eac7(this,_0x4ed24b(0x334),new _0x4a62d2[(_0x4ed24b(0x222))]()),_0x42eac7(this,_0x4ed24b(0x282),this['_change$']),_0x42eac7(this,_0x4ed24b(0x3e4),new Map()),(this[_0x4ed24b(0x37e)]=_0x3e7c5d,this[_0x4ed24b(0x2d3)]=_0x17d690,this[_0x4ed24b(0x1cc)]=_0x178415);}[_0x5bbf1c(0x114)](_0x36d2f9){var _0x31759f=_0x5bbf1c;this[_0x31759f(0x3b9)]=_0x36d2f9,this['_change$'][_0x31759f(0x3d7)](_0x36d2f9);}[_0x5bbf1c(0x370)](_0x2f3073,_0x3fefd8){var _0x5a723a=_0x5bbf1c;if(_0x3fefd8===_0x2a9ba3['ImageSourceType'][_0x5a723a(0x41d)]){const _0x50ff06=new Image();return _0x50ff06['src']=_0x2f3073,_0x50ff06;}return this[_0x5a723a(0x3e4)]['get'](_0x2f3073);}[_0x5bbf1c(0x11b)](_0x35d5c0,_0x1eba9a,_0x145b06){var _0x347748=_0x5bbf1c;_0x1eba9a===_0x2a9ba3['ImageSourceType'][_0x347748(0x41d)]||_0x145b06==null||this[_0x347748(0x3e4)]['set'](_0x35d5c0,_0x145b06);}async['getImage'](_0x55d65f){var _0x4dbad0=_0x5bbf1c;try{const _0xf87e17=this[_0x4dbad0(0x17a)](this[_0x4dbad0(0x271)](),''+_0x55d65f),_0x1fbe2f=(await this[_0x4dbad0(0x37e)][_0x4dbad0(0x3cb)](_0xf87e17))['body'];if(_0x1fbe2f[_0x4dbad0(0x1ab)]&&_0x1fbe2f['error']['code']===_0x3be325['OK']){const _0x3ea479=new URL(_0x1fbe2f['url'],this[_0x4dbad0(0x2c1)]())['toString']();return Promise[_0x4dbad0(0x21f)](_0x3ea479);}return Promise['reject'](_0x1fbe2f['error']);}catch(_0x50ada0){return Promise['reject'](_0x50ada0);}}async['saveImage'](_0x187399){var _0x3fbe13=_0x5bbf1c;let _0xb5610b='';if(!_0x4ba2f1[_0x3fbe13(0x3ec)](_0x187399[_0x3fbe13(0x257)]))return this[_0x3fbe13(0x1a2)](),Promise['reject'](new Error(_0x2a9ba3[_0x3fbe13(0x2fc)]['ERROR_IMAGE_TYPE']));if(_0x187399[_0x3fbe13(0x2c3)]>_0x163e56)return this[_0x3fbe13(0x1a2)](),Promise[_0x3fbe13(0x34c)](new Error(_0x2a9ba3[_0x3fbe13(0x2fc)][_0x3fbe13(0x2b8)]));try{const _0x2032c9=new FormData();_0x2032c9[_0x3fbe13(0x2a9)](_0x3fbe13(0x41c),_0x187399);const _0x3cb9b3=this[_0x3fbe13(0x1cc)][_0x3fbe13(0x2ee)](),_0x248b82=_0x3cb9b3==null?void 0x0:_0x3cb9b3['getUnitId']();if(!_0x248b82)throw new Error(_0x3fbe13(0x1d4));const _0x2cb741=this['_getUploadFileURL']()+_0x3fbe13(0x2eb)+_0x187399[_0x3fbe13(0x2c3)][_0x3fbe13(0x289)]()+_0x3fbe13(0x1e9)+_0x2d386b['UnitEmbedded']+_0x3fbe13(0x2ef)+encodeURIComponent(_0x248b82),_0x51a397={'body':_0x2032c9},_0x5382c4=(await this[_0x3fbe13(0x37e)][_0x3fbe13(0x198)](_0x2cb741,_0x51a397))[_0x3fbe13(0x463)];if(typeof _0x5382c4['FileId']!='string')return this[_0x3fbe13(0x1a2)](),Promise[_0x3fbe13(0x34c)](new Error(_0x2a9ba3[_0x3fbe13(0x2fc)][_0x3fbe13(0x42e)]));_0xb5610b=_0x5382c4['FileId'];}catch{return this[_0x3fbe13(0x1a2)](),Promise[_0x3fbe13(0x34c)](new Error(_0x2a9ba3[_0x3fbe13(0x2fc)][_0x3fbe13(0x42e)]));}return new Promise((_0x190c02,_0x446b0e)=>{var _0x6e4c54=_0x3fbe13;const _0x21bd55=new FileReader();_0x21bd55[_0x6e4c54(0x22d)](_0x187399),_0x21bd55[_0x6e4c54(0x3b2)]=_0xe7740f=>{var _0x329413=_0x6e4c54,_0x1cf18a;const _0x5c17f8=(_0x1cf18a=_0xe7740f[_0x329413(0x18d)])==null?void 0x0:_0x1cf18a['result'];if(_0x5c17f8==null){this[_0x329413(0x1a2)](),_0x446b0e(new Error(_0x2a9ba3[_0x329413(0x2fc)][_0x329413(0x42e)]));return;}const _0x4a9ec8=_0x2b4fd7[_0x329413(0x15d)](0x6);_0x190c02({'imageId':_0x4a9ec8,'imageSourceType':_0x2a9ba3[_0x329413(0x482)]['UUID'],'source':_0xb5610b,'base64Cache':_0x5c17f8,'status':_0x2a9ba3[_0x329413(0x2fc)][_0x329413(0x33c)]}),this[_0x329413(0x1a2)]();};});}[_0x5bbf1c(0x19a)](){var _0x3cc304=_0x5bbf1c,_0x99c4a0;const _0x1c2ba9=this[_0x3cc304(0x2d3)][_0x3cc304(0x38c)](_0x346b31);return(_0x99c4a0=_0x1c2ba9==null?void 0x0:_0x1c2ba9[_0x3cc304(0x38d)])!=null?_0x99c4a0:_0xb7aad4;}[_0x5bbf1c(0x271)](){var _0x588e20;const _0x3a62f6=this['_configService']['getConfig'](_0x346b31);return(_0x588e20=_0x3a62f6==null?void 0x0:_0x3a62f6['signUrlServerUrl'])!=null?_0x588e20:_0xffc532;}[_0x5bbf1c(0x2c1)](){var _0x578f14=_0x5bbf1c,_0x181e06;const _0x52e5ed=this['_configService']['getConfig'](_0x346b31);return(_0x181e06=_0x52e5ed==null?void 0x0:_0x52e5ed['downloadEndpointUrl'])!=null?_0x181e06:location[_0x578f14(0x38b)];}[_0x5bbf1c(0x17a)](_0x4b7b21,_0x15dcde){var _0x55d9a4=_0x5bbf1c;return _0x4b7b21[_0x55d9a4(0x1ad)](_0x55d9a4(0x2a5),_0x15dcde);}[_0x5bbf1c(0x1a2)](){var _0x157d66=_0x5bbf1c;this['_waitCount']-=0x1,this[_0x157d66(0x334)][_0x157d66(0x3d7)](this[_0x157d66(0x3b9)]);}},_0x4fb88d[_0x5bbf1c(0x2a0)]=_0x4d8250([_0x43ba87(0x0,_0x2b4fd7[_0x5bbf1c(0x131)](_0x16af73['HTTPService'])),_0x43ba87(0x1,_0x2b4fd7['IConfigService']),_0x43ba87(0x2,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x435)]))],_0x4fb88d['CollaborationImageIoService']);var _0x1281b1=Object['getOwnPropertyDescriptor'],_0x46d874=(_0x3149d9,_0x51f558,_0x27bd62,_0x25a3e4)=>{for(var _0x21ea44=_0x25a3e4>0x1?void 0x0:_0x25a3e4?_0x1281b1(_0x51f558,_0x27bd62):_0x51f558,_0x515c4a=_0x3149d9['length']-0x1,_0x5c3f11;_0x515c4a>=0x0;_0x515c4a--)(_0x5c3f11=_0x3149d9[_0x515c4a])&&(_0x21ea44=_0x5c3f11(_0x21ea44)||_0x21ea44);return _0x21ea44;},_0x1d9b9e=(_0x4e8cae,_0x5cf172)=>(_0x100c04,_0x3202f4)=>_0x5cf172(_0x100c04,_0x3202f4,_0x4e8cae);const _0x43063a=_0x5bbf1c(0x16d);_0x4fb88d['MentionIoHttpService']=class{constructor(_0x41b194,_0x16d1c8){var _0x1da8bc=_0x5bbf1c;this[_0x1da8bc(0x2d3)]=_0x41b194,this['_HTTPService']=_0x16d1c8;}['_getAPIPrefixPath'](){var _0x5ce8fd=_0x5bbf1c,_0x4d5c6e;const _0x33adf1=this[_0x5ce8fd(0x2d3)][_0x5ce8fd(0x38c)](_0x346b31);return(_0x4d5c6e=_0x33adf1==null?void 0x0:_0x33adf1[_0x5ce8fd(0x48b)])!=null?_0x4d5c6e:_0x43063a;}async[_0x5bbf1c(0x34b)](_0x28ff96){var _0x2df855=_0x5bbf1c;const _0x45af64=this[_0x2df855(0x1e8)]()+_0x2df855(0x20c);return{'list':[{'title':_0x2df855(0x270),'mentions':(await this[_0x2df855(0x3fc)][_0x2df855(0x3cb)](_0x45af64,{'params':{'objectID':_0x28ff96[_0x2df855(0x2a2)],'unitID':_0x28ff96[_0x2df855(0x2a2)]}}))[_0x2df855(0x463)][_0x2df855(0x147)][_0x2df855(0x398)](_0x3f026c=>({'objectId':_0x3f026c['id'],'name':_0x3f026c[_0x2df855(0x168)][_0x2df855(0x421)],'metadata':{'icon':_0x3f026c[_0x2df855(0x168)][_0x2df855(0x27b)]},'label':_0x3f026c['subject'][_0x2df855(0x421)],'objectType':_0x2b4fd7[_0x2df855(0x2f9)][_0x2df855(0x136)]})),'metadata':{},'type':_0x2b4fd7[_0x2df855(0x2f9)][_0x2df855(0x136)]}]};}},_0x4fb88d[_0x5bbf1c(0x254)]=_0x46d874([_0x1d9b9e(0x0,_0x2b4fd7['Inject'](_0x2b4fd7[_0x5bbf1c(0x19b)])),_0x1d9b9e(0x1,_0x2b4fd7['Inject'](_0x16af73[_0x5bbf1c(0x19c)]))],_0x4fb88d['MentionIoHttpService']);var _0x52d215=Object['getOwnPropertyDescriptor'],_0x8d238a=(_0x5792f3,_0x98a75f,_0x2a71ad,_0x5e0d70)=>{var _0x5b3526=_0x5bbf1c;for(var _0x7a6c4e=_0x5e0d70>0x1?void 0x0:_0x5e0d70?_0x52d215(_0x98a75f,_0x2a71ad):_0x98a75f,_0x2f2ff1=_0x5792f3[_0x5b3526(0x484)]-0x1,_0x4d3c8f;_0x2f2ff1>=0x0;_0x2f2ff1--)(_0x4d3c8f=_0x5792f3[_0x2f2ff1])&&(_0x7a6c4e=_0x4d3c8f(_0x7a6c4e)||_0x7a6c4e);return _0x7a6c4e;},_0x5f0b50=(_0x280813,_0x3ce6bf)=>(_0x30bebf,_0x5d29fa)=>_0x3ce6bf(_0x30bebf,_0x5d29fa,_0x280813);let _0x20fae1=class extends _0x2b4fd7[_0x5bbf1c(0x1da)]{constructor(_0xe39cc,_0x9677f4,_0x204768,_0x13cda4,_0x13e700){var _0x1727ac=_0x5bbf1c;super(),this['_injector']=_0xe39cc,this[_0x1727ac(0x1cc)]=_0x9677f4,this[_0x1727ac(0x110)]=_0x204768,this[_0x1727ac(0x28d)]=_0x13cda4,this[_0x1727ac(0x40d)]=_0x13e700,this[_0x1727ac(0x3c1)](),this[_0x1727ac(0x3ad)]();}['_initCloseConn'](){var _0x32edb9=_0x5bbf1c;const _0x5323bf=async _0x533355=>{var _0x1944b5=_0x4c70;(await this['_collaborationSessionService'][_0x1944b5(0x2e3)](_0x533355))[_0x1944b5(0x353)]['pipe'](_0x2ce451[_0x1944b5(0x3e1)](_0x27fa94=>_0x27fa94[_0x1944b5(0x265)]===_0x7c64a[_0x1944b5(0x426)][_0x1944b5(0x285)]),_0x2ce451['takeUntil'](this[_0x1944b5(0x404)]))['subscribe'](_0x10b110=>{var _0x59879c=_0x1944b5;const _0x18c5bc=_0x10b110,{reason:_0x53adbf}=_0x18c5bc[_0x59879c(0x397)];this[_0x59879c(0x40d)][_0x59879c(0x38e)]({'id':_0x1814a0[_0x59879c(0x296)],'data':_0x53adbf}),this[_0x59879c(0x110)][_0x59879c(0x1e0)](new _0x298669[(_0x59879c(0x35d))](_0x533355)['id'],!0x1),this[_0x59879c(0x28d)]['closeSession'](_0x533355);});};_0x4a62d2['merge'](this[_0x32edb9(0x1cc)][_0x32edb9(0x102)](_0x2b4fd7[_0x32edb9(0x1f9)][_0x32edb9(0x2ff)]),this[_0x32edb9(0x1cc)]['getTypeOfUnitAdded$'](_0x2b4fd7['UniverInstanceType'][_0x32edb9(0x460)]))[_0x32edb9(0x337)](_0x2ce451[_0x32edb9(0x398)](_0x515a61=>_0x515a61[_0x32edb9(0x149)]()),_0x2ce451[_0x32edb9(0x3e1)](_0x548260=>!_0x2b4fd7['isInternalEditorID'](_0x548260)),_0x2ce451['takeUntil'](this[_0x32edb9(0x404)]))[_0x32edb9(0x123)](_0xb33de6=>{_0x5323bf(_0xb33de6);});}[_0x5bbf1c(0x3c1)](){var _0xf7d484=_0x5bbf1c;const _0x31bc98=async _0x37b024=>{var _0x18850d=_0x4c70;const _0x3d3f5d=await this['_collaborationSessionService'][_0x18850d(0x2e3)](_0x37b024),_0x111568=this[_0x18850d(0x493)]['get'](_0x298669[_0x18850d(0x3df)]);_0x3d3f5d['event$']['pipe'](_0x2ce451['filter'](_0x46ceef=>_0x46ceef[_0x18850d(0x265)]===_0x7c64a['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),_0x2ce451[_0x18850d(0x150)](this[_0x18850d(0x404)]))[_0x18850d(0x123)](_0x4f04f9=>{var _0x286275=_0x18850d;const _0x2e43c7=_0x4f04f9,{objectId:_0x473019}=_0x2e43c7[_0x286275(0x397)];_0x473019===_0x37b024?_0x111568[_0x286275(0x46f)](_0x37b024):_0x111568[_0x286275(0x400)](_0x37b024,_0x473019);});};_0x4a62d2[_0xf7d484(0x402)](this[_0xf7d484(0x1cc)][_0xf7d484(0x102)](_0x2b4fd7['UniverInstanceType'][_0xf7d484(0x2ff)]))[_0xf7d484(0x337)](_0x2ce451[_0xf7d484(0x398)](_0x4477f8=>_0x4477f8[_0xf7d484(0x149)]()),_0x2ce451[_0xf7d484(0x3e1)](_0xc1e343=>!_0x2b4fd7[_0xf7d484(0x367)](_0xc1e343)),_0x2ce451[_0xf7d484(0x150)](this[_0xf7d484(0x404)]))[_0xf7d484(0x123)](_0x47c8c1=>{_0x31bc98(_0x47c8c1);});}};_0x20fae1=_0x8d238a([_0x5f0b50(0x0,_0x2b4fd7[_0x5bbf1c(0x131)](_0x2b4fd7[_0x5bbf1c(0x2ad)])),_0x5f0b50(0x1,_0x2b4fd7[_0x5bbf1c(0x435)]),_0x5f0b50(0x2,_0x2b4fd7['IPermissionService']),_0x5f0b50(0x3,_0x2b4fd7[_0x5bbf1c(0x131)](_0x4fb88d[_0x5bbf1c(0x22a)])),_0x5f0b50(0x4,_0x2b4fd7[_0x5bbf1c(0x131)](_0x3e8fc1))],_0x20fae1);var _0x573f2b=Object[_0x5bbf1c(0x2ba)],_0x2db81f=(_0x580a7c,_0x547cbc,_0x4400cb,_0x6b4ab3)=>{for(var _0x590fea=_0x6b4ab3>0x1?void 0x0:_0x6b4ab3?_0x573f2b(_0x547cbc,_0x4400cb):_0x547cbc,_0xb1d97c=_0x580a7c['length']-0x1,_0x319660;_0xb1d97c>=0x0;_0xb1d97c--)(_0x319660=_0x580a7c[_0xb1d97c])&&(_0x590fea=_0x319660(_0x590fea)||_0x590fea);return _0x590fea;},_0xa33188=(_0x1f8d36,_0x3d8689)=>(_0x180820,_0x82f257)=>_0x3d8689(_0x180820,_0x82f257,_0x1f8d36);_0x4fb88d['SnapshotServerOverHTTPService']=class{constructor(_0x10aab4,_0x79cd73){var _0x270830=_0x5bbf1c;this[_0x270830(0x2d3)]=_0x10aab4,this['_httpService']=_0x79cd73;}async[_0x5bbf1c(0x171)](_0x39a55d,_0x896330){var _0x42aa56=_0x5bbf1c,_0x22522a;const {unitID:_0x5a114e,type:_0x169321,revision:_0x778f48=0x0}=_0x896330,_0x3b1006=this[_0x42aa56(0x21a)]()+'/'+_0x169321+_0x42aa56(0x472)+_0x5a114e+_0x42aa56(0x35b)+_0x778f48,_0x3b64ab=(await this[_0x42aa56(0x37e)]['get'](_0x3b1006))['body'],_0x522b15=(_0x22522a=_0x3b64ab[_0x42aa56(0x431)])==null?void 0x0:_0x22522a['workbook'];if(_0x522b15){const _0x37cc12=_0x522b15==null?void 0x0:_0x522b15[_0x42aa56(0x178)],_0x42039a=_0x7c64a[_0x42aa56(0x475)][_0x42aa56(0x173)](_0x7c64a[_0x42aa56(0x42c)](_0x37cc12));_0x522b15['originalMeta']=_0x42039a,Object['entries'](_0x522b15['sheets'])[_0x42aa56(0x47e)](([,_0x59e2b3])=>{var _0x5cb2a5=_0x42aa56;const _0x4a3b3c=_0x59e2b3[_0x5cb2a5(0x178)],_0x4e79e3=_0x7c64a[_0x5cb2a5(0x475)]['encode'](_0x7c64a[_0x5cb2a5(0x42c)](_0x4a3b3c));_0x59e2b3['originalMeta']=_0x4e79e3;});}return _0x3b64ab;}async[_0x5bbf1c(0x2d5)](_0x5b4ffd,_0x176201){var _0x2daf75=_0x5bbf1c;const {unitID:_0x5e04fd,type:_0x1a8486,blockID:_0x4ffe51}=_0x176201,_0x36933f=this[_0x2daf75(0x22e)]()+'/'+_0x1a8486+_0x2daf75(0x472)+_0x5e04fd+_0x2daf75(0x28c)+_0x4ffe51;return(await this[_0x2daf75(0x37e)][_0x2daf75(0x3cb)](_0x36933f))['body'];}async[_0x5bbf1c(0x179)](_0x2e7dd8,_0xbb62f6){var _0x1deefa=_0x5bbf1c;const {unitID:_0x351463,type:_0x1704a4,blockID:_0x36e6d6}=_0xbb62f6,_0x3aff9b=this[_0x1deefa(0x22e)]()+_0x1deefa(0x28c)+_0x1704a4+'/unit/'+_0x351463+_0x1deefa(0x28c)+_0x36e6d6;return(await this[_0x1deefa(0x37e)][_0x1deefa(0x3cb)](_0x3aff9b))[_0x1deefa(0x463)];}async[_0x5bbf1c(0x326)](_0x43556d,_0x55ae3d){var _0x3cd00e=_0x5bbf1c;const {unitID:_0x2bbc6f,type:_0x2130ff,from:_0x5310a6,to:_0x580998}=_0x55ae3d,_0x258327=this[_0x3cd00e(0x22e)]()+'/'+_0x2130ff+'/unit/'+_0x2bbc6f+_0x3cd00e(0x1f7)+_0x5310a6+_0x3cd00e(0x18a)+_0x580998;return(await this['_httpService'][_0x3cd00e(0x3cb)](_0x258327))[_0x3cd00e(0x463)];}[_0x5bbf1c(0x21a)](){var _0x1a45d0=_0x5bbf1c,_0x1490c2;return(_0x1490c2=this['_configService'][_0x1a45d0(0x38c)](_0x1af021))!=null?_0x1490c2:this[_0x1a45d0(0x22e)]();}[_0x5bbf1c(0x22e)](){var _0x6d5275=_0x5bbf1c,_0x4f83ea;const _0x3221f5=this[_0x6d5275(0x2d3)]['getConfig'](_0x346b31);return(_0x4f83ea=_0x3221f5==null?void 0x0:_0x3221f5['snapshotServerUrl'])!=null?_0x4f83ea:_0x358c19;}async['getResourcesRequest'](_0x146da0,_0x487304){var _0x54afe6=_0x5bbf1c;const _0x478fbf=_0x54afe6(0x307)+_0x487304['type']+_0x54afe6(0x472)+_0x487304[_0x54afe6(0x3de)]+_0x54afe6(0x1a3);return(await this[_0x54afe6(0x37e)]['get'](_0x478fbf,{'params':{'resourceId':JSON[_0x54afe6(0x442)](_0x487304[_0x54afe6(0x269)])}}))[_0x54afe6(0x463)];}[_0x5bbf1c(0x280)](){var _0x2b29ea=_0x5bbf1c;throw new Error(_0x2b29ea(0x34f));}[_0x5bbf1c(0x297)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5bbf1c(0x1c3)](){var _0x2cf29a=_0x5bbf1c;throw new Error(_0x2cf29a(0x34f));}[_0x5bbf1c(0x2c5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5bbf1c(0x2a8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5bbf1c(0x333)](){var _0x269749=_0x5bbf1c;throw new Error(_0x269749(0x34f));}},_0x4fb88d[_0x5bbf1c(0x45d)]=_0x2db81f([_0xa33188(0x0,_0x2b4fd7[_0x5bbf1c(0x19b)]),_0xa33188(0x1,_0x2b4fd7[_0x5bbf1c(0x131)](_0x16af73['HTTPService']))],_0x4fb88d[_0x5bbf1c(0x45d)]);var _0x35c925=Object[_0x5bbf1c(0x2ba)],_0x591233=(_0x1a9f70,_0x308779,_0x3417d4,_0x2a2819)=>{var _0xd784a7=_0x5bbf1c;for(var _0x4103d0=_0x2a2819>0x1?void 0x0:_0x2a2819?_0x35c925(_0x308779,_0x3417d4):_0x308779,_0x364587=_0x1a9f70[_0xd784a7(0x484)]-0x1,_0x1a2a8b;_0x364587>=0x0;_0x364587--)(_0x1a2a8b=_0x1a9f70[_0x364587])&&(_0x4103d0=_0x1a2a8b(_0x4103d0)||_0x4103d0);return _0x4103d0;},_0x180126=(_0x43d06d,_0x48942e)=>(_0x36bac9,_0x3ffe1d)=>_0x48942e(_0x36bac9,_0x3ffe1d,_0x43d06d);_0x4fb88d['CollaborativeUndoRedoService']=class extends _0x2b4fd7['LocalUndoRedoService']{constructor(_0x2672eb,_0x1b4bbc,_0x2930f7,_0x51c465,_0x2e5186){var _0x5bf741=_0x5bbf1c;super(_0x2672eb,_0x1b4bbc,_0x2930f7),this[_0x5bf741(0x29c)]=_0x51c465,this[_0x5bf741(0x12b)]=_0x2e5186;}[_0x5bbf1c(0x1d6)](_0x5a5dd6,_0x26e5e9){var _0x3729a9=_0x5bbf1c;const _0x491478=this[_0x3729a9(0x2c6)](_0x5a5dd6);if(_0x491478)try{const _0x37341a=this[_0x3729a9(0x207)](_0x491478,_0x26e5e9);this[_0x3729a9(0x356)](_0x5a5dd6,_0x37341a);}catch(_0x201a6b){this[_0x3729a9(0x12b)][_0x3729a9(0x1ab)](_0x3729a9(0x2f8),_0x201a6b),this[_0x3729a9(0x318)](_0x5a5dd6);}const _0x5ce5ac=this[_0x3729a9(0x43d)](_0x5a5dd6);if(_0x5ce5ac)try{const _0x424bad=this[_0x3729a9(0x207)](_0x5ce5ac,_0x26e5e9);this[_0x3729a9(0x3a4)](_0x5a5dd6,_0x424bad);}catch(_0x246d43){this['_logService'][_0x3729a9(0x1ab)](_0x246d43),this['_clearRedo'](_0x5a5dd6);}}[_0x5bbf1c(0x318)](_0x404e3c){var _0x1e88e5=_0x5bbf1c;const _0x1497bd=this['_getUndoStack'](_0x404e3c);_0x1497bd&&(_0x1497bd['length']=0x0,this[_0x1e88e5(0x1fe)]());}[_0x5bbf1c(0x190)](_0x5bf1e5){var _0x3e0ff6=_0x5bbf1c;const _0x53c448=this[_0x3e0ff6(0x43d)](_0x5bf1e5);_0x53c448&&(_0x53c448['length']=0x0,this['_updateStatus']());}[_0x5bbf1c(0x356)](_0x4c77aa,_0x2dcb01){var _0x48d692=_0x5bbf1c;this[_0x48d692(0x186)][_0x48d692(0x30c)](_0x4c77aa,_0x2dcb01),this[_0x48d692(0x1fe)]();}[_0x5bbf1c(0x3a4)](_0x48cf60,_0x24ebad){var _0x3a648c=_0x5bbf1c;this[_0x3a648c(0x115)]['set'](_0x48cf60,_0x24ebad),this[_0x3a648c(0x1fe)]();}['_transformStack'](_0x3d0abe,_0x31fc5a){var _0x4ad4dc=_0x5bbf1c;const _0x5f14c0=[];let _0x1e3bd8=_0x31fc5a,_0x5f3dc6=_0x31fc5a;for(let _0x277384=_0x3d0abe[_0x4ad4dc(0x484)]-0x1;_0x277384>=0x0;_0x277384--){const {unitID:_0x4bc6aa,undoMutations:_0x565a89,redoMutations:_0x5ad267}=_0x3d0abe[_0x277384],_0x238e0c=this[_0x4ad4dc(0x29c)][_0x4ad4dc(0x412)](_0x1e3bd8,_0x565a89),_0x488560=this[_0x4ad4dc(0x29c)][_0x4ad4dc(0x412)](_0x5f3dc6,_0x5ad267);if(_0x7c64a['isTransformMutationsWithChangesetFailure'](_0x238e0c)||_0x7c64a['isTransformMutationsWithChangesetFailure'](_0x488560)){this[_0x4ad4dc(0x12b)][_0x4ad4dc(0x1ab)](_0x4ad4dc(0x2f8),_0x4ad4dc(0x37f),_0x238e0c,_0x488560);break;}_0x1e3bd8=_0x238e0c['c1Prime'],_0x5f3dc6=_0x488560['c1Prime'],_0x5f14c0['push']({'unitID':_0x4bc6aa,'undoMutations':_0x238e0c['m2Prime'],'redoMutations':_0x488560['m2Prime']});}return _0x5f14c0[_0x4ad4dc(0x3fa)]();}},_0x4fb88d[_0x5bbf1c(0x291)]=_0x591233([_0x180126(0x0,_0x2b4fd7[_0x5bbf1c(0x435)]),_0x180126(0x1,_0x2b4fd7['ICommandService']),_0x180126(0x2,_0x2b4fd7['IContextService']),_0x180126(0x3,_0x7c64a[_0x5bbf1c(0x31b)]),_0x180126(0x4,_0x2b4fd7['ILogService'])],_0x4fb88d[_0x5bbf1c(0x291)]);var _0x1002a6=Object[_0x5bbf1c(0x14f)],_0x335bfa=Object[_0x5bbf1c(0x2ba)],_0x46c9d3=(_0x26ef4f,_0x3b26c3,_0x3ed390)=>_0x3b26c3 in _0x26ef4f?_0x1002a6(_0x26ef4f,_0x3b26c3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ed390}):_0x26ef4f[_0x3b26c3]=_0x3ed390,_0x30ca72=(_0xa2b238,_0x2382d6,_0x12352b,_0x55da44)=>{var _0x25b276=_0x5bbf1c;for(var _0x4c5e58=_0x55da44>0x1?void 0x0:_0x55da44?_0x335bfa(_0x2382d6,_0x12352b):_0x2382d6,_0x32ea8c=_0xa2b238[_0x25b276(0x484)]-0x1,_0xfb8f88;_0x32ea8c>=0x0;_0x32ea8c--)(_0xfb8f88=_0xa2b238[_0x32ea8c])&&(_0x4c5e58=_0xfb8f88(_0x4c5e58)||_0x4c5e58);return _0x4c5e58;},_0x218b31=(_0x50b721,_0x4ccb62)=>(_0x4bc01b,_0x39b5bb)=>_0x4ccb62(_0x4bc01b,_0x39b5bb,_0x50b721),_0x142d34=(_0xc2c930,_0x4a792f,_0x3bd4b9)=>_0x46c9d3(_0xc2c930,_0x4a792f+'',_0x3bd4b9);const _0x3e9e85=_0x5bbf1c(0x201);_0x4fb88d[_0x5bbf1c(0x2f1)]=class extends _0x2b4fd7['Plugin']{constructor(_0x3fe473,_0x47e333,_0x5d7b5f,_0x2cf21e){var _0x119bb0=_0x5bbf1c;super(),_0x42eac7(this,_0x119bb0(0x275)),(this['_logService']=_0x47e333,this[_0x119bb0(0x493)]=_0x5d7b5f,this[_0x119bb0(0x2d3)]=_0x2cf21e);const {..._0x2f75a7}=_0x2b4fd7[_0x119bb0(0x402)]({},_0x4743c6,_0x3fe473);if(!_0x2f75a7[_0x119bb0(0x2fe)])throw new Error(_0x119bb0(0x1b8));this[_0x119bb0(0x275)]=_0x2f75a7,this[_0x119bb0(0x2d3)][_0x119bb0(0x205)](_0x346b31,_0x2f75a7);}[_0x5bbf1c(0x462)](){var _0x5c9200=_0x5bbf1c;this[_0x5c9200(0x34a)](),this[_0x5c9200(0x3f2)]();}[_0x5bbf1c(0x34a)](){var _0x1943c1=_0x5bbf1c,_0x567cc1,_0x4c9b03;this[_0x1943c1(0x493)]['has'](_0x2b4fd7[_0x1943c1(0x3ea)])&&this['_logService'][_0x1943c1(0x1ab)]('[UniverCollaborationClientPlugin]',_0x1943c1(0x3b3));const _0x3ae459=_0x2b4fd7[_0x1943c1(0x1cb)]([[_0x2b4fd7[_0x1943c1(0x3ea)],{'useClass':_0x4fb88d['CollaborativeUndoRedoService']}],[_0x4fb88d[_0x1943c1(0x22a)]],[_0x4fb88d[_0x1943c1(0x3cf)]],[_0x4fb88d[_0x1943c1(0x12d)]],[_0x357575],[_0x2632bf],[_0x1912f6],[_0x20fae1],[_0x3e8fc1],[_0x4fb88d[_0x1943c1(0x496)]],[_0x129988,{'useClass':this[_0x1943c1(0x275)]['socketService']}],[_0x7c64a[_0x1943c1(0x3a7)],{'useClass':_0x4fb88d[_0x1943c1(0x45d)]}],[_0x2b4fd7[_0x1943c1(0x214)],{'useClass':_0x4fb88d['AuthzIoHttpService']}],[_0x2a9ba3[_0x1943c1(0x268)],{'useClass':_0x4fb88d[_0x1943c1(0x2a0)]}],[_0x2b4fd7[_0x1943c1(0x22b)],{'useClass':_0x4fb88d[_0x1943c1(0x254)]}],[_0x4fb88d[_0x1943c1(0x345)]],[_0x5703d5]],(_0x567cc1=this[_0x1943c1(0x275)])==null?void 0x0:_0x567cc1[_0x1943c1(0x132)]);if(!((_0x4c9b03=this['_config'])!=null&&_0x4c9b03[_0x1943c1(0x481)])){const _0x240848=_0x3ae459[_0x1943c1(0x29e)](([_0x19d4c7])=>_0x19d4c7===_0x3988c9);_0x240848!==-0x1&&_0x3ae459[_0x1943c1(0x330)](_0x240848,0x1);}_0x2b4fd7['registerDependencies'](this[_0x1943c1(0x493)],_0x3ae459);}[_0x5bbf1c(0x3f2)](){var _0x2078af=_0x5bbf1c,_0x185507,_0x4d813e,_0x22ad12;this['_injector'][_0x2078af(0x3cb)](_0x16af73[_0x2078af(0x19c)])[_0x2078af(0x293)]({'priority':0x14,'interceptor':_0x16af73[_0x2078af(0x155)]({'maxParallel':0x6})}),(_0x185507=this['_config'])!=null&&_0x185507[_0x2078af(0x430)]||(_0x4d813e=this[_0x2078af(0x493)][_0x2078af(0x3cb)](_0x60630c,_0x2b4fd7['Quantity']['OPTIONAL']))==null||_0x4d813e['disableLocalCache'](),(_0x22ad12=this[_0x2078af(0x275)])!=null&&_0x22ad12[_0x2078af(0x37c)]&&_0x2b4fd7[_0x2078af(0x33b)](this['_injector'],[[_0x357575]]),_0x2b4fd7['touchDependencies'](this[_0x2078af(0x493)],[[_0x2632bf],[_0x4fb88d[_0x2078af(0x345)]],[_0x20fae1]]);}},_0x142d34(_0x4fb88d[_0x5bbf1c(0x2f1)],'pluginName',_0x3e9e85),_0x4fb88d[_0x5bbf1c(0x2f1)]=_0x30ca72([_0x2b4fd7['DependentOn'](_0x7c64a[_0x5bbf1c(0x322)],_0x16af73['UniverNetworkPlugin']),_0x218b31(0x1,_0x2b4fd7[_0x5bbf1c(0x1a1)]),_0x218b31(0x2,_0x2b4fd7['Inject'](_0x2b4fd7[_0x5bbf1c(0x2ad)])),_0x218b31(0x3,_0x2b4fd7[_0x5bbf1c(0x19b)])],_0x4fb88d[_0x5bbf1c(0x2f1)]),_0x4fb88d['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x346b31,_0x4fb88d[_0x5bbf1c(0x468)]=_0x48ab07,_0x4fb88d[_0x5bbf1c(0x1be)]=_0x1814a0,_0x4fb88d[_0x5bbf1c(0x319)]=_0x3e8fc1,_0x4fb88d[_0x5bbf1c(0x371)]=_0x1912f6,_0x4fb88d[_0x5bbf1c(0x2dc)]=_0x5e3653,_0x4fb88d[_0x5bbf1c(0x295)]=_0x4e7a4a,_0x4fb88d['DEFAULT_WS_SESSION_TICKET_URL']=_0x4016b2,_0x4fb88d[_0x5bbf1c(0x1d3)]=_0x256c38,_0x4fb88d[_0x5bbf1c(0x375)]=_0x1fe136,_0x4fb88d[_0x5bbf1c(0x3f5)]=_0x129988,_0x4fb88d[_0x5bbf1c(0x161)]=_0x60630c,_0x4fb88d['INetworkConditionService']=_0x56ce97,_0x4fb88d['ISingleActiveUnitService']=_0x3988c9,_0x4fb88d[_0x5bbf1c(0x25b)]=0x3e8,_0x4fb88d[_0x5bbf1c(0x454)]=_0x2472d3,_0x4fb88d[_0x5bbf1c(0x23e)]=_0x5c4c68,_0x4fb88d[_0x5bbf1c(0x3a5)]=_0xf1dd4b,_0x4fb88d[_0x5bbf1c(0x242)]=_0x56c9a9,_0x4fb88d['UnitStatus']=_0x5178e0,_0x4fb88d[_0x5bbf1c(0x434)]=_0x4e15be,_0x4fb88d[_0x5bbf1c(0x310)]=_0x4ec2c3,_0x4fb88d[_0x5bbf1c(0x3da)]=_0x236db3,Object[_0x5bbf1c(0x14f)](_0x4fb88d,Symbol['toStringTag'],{'value':_0x5bbf1c(0x410)});}));
|
|
2
|
+
function _0x58ee(_0x44fb3f,_0x4b27c8){_0x44fb3f=_0x44fb3f-0x1d1;var _0x369286=_0x3692();var _0x58ee19=_0x369286[_0x44fb3f];return _0x58ee19;}function _0x3692(){var _0x58f79a=['UnitSnapshot','getOwnPropertyDescriptor','@univerjs/network','from','filter','ClipsheetFragments','LICENSE_MAX_UNITS_EXCEEDED','DEFAULT_WS_SESSION_TICKET_URL','registerDependencies','REDEMPTION_CODE_NOT_STARTED','getUnitStatus$','localCacheService','enableCollaboration','LIVESHARE_NEW_HOST','LIVESHARE_TERMINATE','ENTITLE_REPORT_LIMIT_EXCEED','getImageSourceCache','OTHER_CLIENTS_EDITING','_createInitialStateImpl','state$','emitEvent','&source=','unpad','_doProcessBlock','_unitID','_memberService','OTHER_CLIENT_EDITING','memberID','[SyncedState]:\x20received\x20rejection.','b64DecodeUnicode','NOT_FOUND','requireSession','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByStateCache','get','ENTITLE_CHAT_LIMIT_EXCEED','\x20in\x20_schedule.','UNRECOGNIZED','_collaborationSessionService','error','min','charAt','slice','updateMember','onStarting','open$','ICommandService','getTime','values','_pendingMutations','USERS_ENTER','createDecryptor','sheets','JOIN_ROOM_NOT_EXISTS','getMember','socketService','CURRENT_STATUS_CANNOT_OPERATE','IUndoRedoService','fetch_missing','updatePermissionPoint','method','@univerjs-pro/collaboration','Disposable','AES','UniverCore','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','apply','pending','_HTTPService','DataLoaderService','onRemoteRej','COMMENT_UPDATE','HELLO','getCurrentRevOfUnit','YUUMI_NO_CUBOID_FOR_QUESTION','hostname','close','MemberService','UNIVER_PROJECT','DATA_SOURCE_TOO_LARGE','_map','CollaborationStatus','/role','floor','ENTITLE_COUPON_USED_UP','OfflineState','now','UPDATE_PERMISSION_OBJ','transformUndoRedo','_getSendChangesetTimeout','_collaborationTimeoutTimer','executeCommand','CollaborationImageIoService','equals','putCollaborators','revision','HmacMD5','_keySchedule','parseChangesetToProtocol','9Gxsjvt','substr','createIdentifier','_nRounds','Plugin','type','CollaborationSocketService','REDEMPTION_USER_NOT_ELIGIBLE','buffer','uploadFileServerUrl','_transformStateCache','_userManagerService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','parse','rev','concatMap','transformMutationsWithChangeset','_resendTimer','IUniverInstanceService','CollaborationUIEventService','conflict','AwaitingWithPendingState','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SheetsSelectionsService','_showConflictNotification','CollaborationEntity','RETRY_CONNECTING_MAX_COUNT','size','transformSelections','disposeWithMe','ConflictState','enableSingleActiveInstanceLock','SNAPSHOT_INVALID_SNAPSHOT','collabSubmitChangesetUrl','SNAPSHOT_HAS_BEEN_REMOVED','confirm','/allowed','init','8agZVPk','AWAITING_WITH_PENDING','offline','_clearCollaborationTimeoutTimer','_onCombEvent','ImageSourceType','BASE64','m2Prime','_initRequestHeader','SOCKET_FAILED','UNISCRIPT_RUN','EmptyMutationInfo','_retryConnectingTimer','IDLE','MSG_FOR_ERROR','changesets','session.room-not-exists','_tryReconnect','_clearRedo','UPDATE_CURSOR','_clearUndo','merge','UnitEmbedded','then','create','pad','65062KpAuTJ','LIVESHARE_REQUEST_HOST','getGlobalObject','ENTITLE_NEED_BILLING_ADDRESS','objectType','_type','members$','YUUMI_UNABLE_LOAD_URL','_onUserJoin','fromCharCode','UniverCollaborationClientPlugin','join','baseRev','INVALID_INVITE_CODE','_socket$','IAuthzIoService','_substituteRedoStack','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_commentUpdate$','x-univer-host','fetchMiss','sendChangesetTimeout','FileId','_getAPIPrefixPath','CHANGESET_REJ','JOIN','_httpService','unit-cache-','getAllMembers','file','unitId','CommentService','session.room-full','CollaborationSessionService','_transformRemoteChangesetByIMECache','format','/unit/','roles','\x20-\x20','_onUserLeave','objects','885441ApWQEV','onMissedChangesetFetched','[OfflineState]:\x20received\x20changeset.','FetchingMissState','_exhaustRemoteChangesetQueue','formatter','ReplaySubject','shareReplay','_isPermissionRej','socket$','charCodeAt','liveShareNewHost','RichTextEditingMutation','OpenSSL','session.room-permission-denied','ERROR_IMAGE_TYPE','awaiting','originalMeta','readInt32LE','YUUMI_AI_RUN_FAILED','_syncEditingCollabCursor','/object/','CLOSE_ROOM','interceptor','onSendChangeset','GLOBAL_ROOMS_CNT_EXCEEDS','synced','_localCacheService','hasher','_xformMode','_univerInstanceService','_createHelper','routeKey','concat','_mode','reconnect','_schedule','fetchThroughInterceptors','/fetchmissing?from=','close$','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','SHA1','_event$','CompressMutationService','collabWebSocketUrl','random','readAsDataURL','_onRemoteChangeset','_onOffline','SheetPermissionInitController','responseType','href','3822486BAVjGV','__Key__','submit\x20changeset\x20error!','_sheetTransformSelectionsService','ERROR_IMAGE','LocalUndoRedoService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_createInitialState','updateSnapshot','_socketService','subUnitId','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','toStringTag','_removeRoom','_logService','_socketMessageSubscription','toDisposable','LICENSE_EXPORT_SIZE_EXCEEDED','_startTelemetryCollaborationNewChangeset','objectActions','_telemetryService','sin','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_retryCount','CollaborationUIEventId','_prevBlock','clone','reduce','telemetry\x20info\x20is\x20not\x20initialized','_onConnectionFailed','Utf8','[SyncedState]:\x20received\x20acknowledgement.','_configService','_unlockTransition','has','SetSelectionsOperation','isArray','src','mutations','_onConflict','__creator','_DEC_XFORM_MODE','sigBytes','loadSheet','Optional','mode','__splitChunk__','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[DataLoaderService]','selections','commentUpdateEvent','infoRsp','saveSheetBlock','APPLY_PERMISSION_DENIED','list','not_collab','catch','@univerjs/docs','dispose','_changesetReqId','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ciphertext','PY_RUNTIME_SCRIPT_ERROR','LOCAL_CACHE_INTERVAL','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_injector','_executeRemoteChangeset','Injector','_localeService','shouldCloseConn','_state','SHOULD_CLOSE_CONN','saveChangeset','AwaitingState','PasswordBasedCipher','onRemoteChangeset','map','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','?url=','setCurrentUser','LICENSE_IMPORT_SIZE_EXCEEDED','_transformService','takeUntil','$super','JOINING','_updateLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','mapDocumentTypeToUniverType','_handler','SOCKET_FAILED_RETRY','ILogService','duration','override','createEncryptor','_sendHeartbeatTimer','loadDoc','_substituteUndoStack','_unitInfo$','SerializableCipher','unitInfo$','resend','crypto','reqId','loadUnitOfRevision','clamp','_remoteChangesetQueue','_commandService','_shouldReportTelemetry','CONNECTOR_DATA_TOO_LARGE','_createSocket','_startCollaboration','FETCH_MISSING','onMutationExecutedForCollab','/universer-api/uniscript','_getCtorByUniverType','OPTIONAL','_keyPriorReset','next','UNKNOWN_CMD','defineProperty','Subject','csAckEvent','onTransformState','/-/object/list','incrementRevOfUnit','fetchMissingChangesets','unitId\x20is\x20not\x20found','delay','HEARTBEAT_TIMEOUT','CollaborationController','downloadEndpointUrl','_getDownloadEndpointURL','PENDING','_handlerCallback','max','_incrementRevisionNumber','[CollaborationSessionService]:\x20socket\x20error','ENTITLE_USE_COUPON_NOT_1ST_TRADE','@univerjs/drawing','OFFLINE','onSyncEditingCollabCursor','_waitCount','textEncoder','_commentService','append','_toggleOffline','collaboration_new_changeset','[CollaborationState]:\x20apply\x20error!','INVITE_CODE_REQUIRED','_doCreateSocket','/rev/','JOIN_ROOM_FULL','_cipher','SUBMIT_CHANGESET_TIMEOUT','HttpImport','_undoRedoService','_permissionService','blockSize','WECHAT_HAS_BEEN_BOUND','_fetchMissChangesets','_replayCachedMutations','YUUMI_ALL_TABLES_IS_INVALID','result','getTypeOfUnitAdded$','reverse','ISocketService','YUUMI_CONNECTOR_URL_NOT_FOUND','APPLY_NON_SEQUENTIAL_REVISION','USER_NOT_INVITED_CODE','_socket','_emitMembers','DependentOn','REDEMPTION_INVALID_CODE','_acknowledgedAwaitingChangeset','_transformStack','SnapshotService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_config','{fileID}','addImageSourceCache','UniverProLicense','image/png','DocCollaborationEntity','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','snapshot','getTypeOfUnitDisposed$','_process','onRemoteRetry','ISingleActiveUnitService','\x0aAfter:\x20','Hex','YUUMI_ASYNCIO_CANCELLED','byteOffset','allowed','DEFAULT_FILE_NAME','Undefined','LOCAL_CACHE_INTERVAL_KEY','SheetTransformSelectionsService','PSEUDO_FETCH_MISSING_RESULT','_lockTransition','UUID','getSnapshotAPIPath','getDeserializedSheetBlock','exports','BehaviorSubject','_entities','complete','MOBILE_VERIFY_CODE_MISMATCH','socket\x20close','lib','key','_networkConditionService','put','session.room-cnt-exceeds','withCredentials','MD5','_getUndoStack','_entityInit$','debug','addHandlerCallback','_transitionLocked','repeat','reset','_hasher','CipherParams','collaborators','EMAIL_HAS_BEEN_BOUND','getCollabEntity','name','_singleActiveUnitService','reject','ENTITLE_COUPON_EXPIRED','onTransformRemoteChangesetByIMECache','_replaceFileID','onlyLocal','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setConfig','fromCollab','LEAVE','_checkMissing','params','/object','execute','_joinRoom','PERSON','cfg','UNIVER_UNKNOWN','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','APPLY_REJECT','awaiting_with_pending','IPermissionService','UNKNOWN_CODE','ALREADY_EXISTS','HEARTBEAT_INTERVAL','/collaborator','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','updatePermissionObjEvent','@univerjs/core','_timeoutTimer','setShowComponents','@univerjs-pro/license','session','update','ERROR_AGAIN','_oKey','HMAC','prototype','_clearRetryConnectingTimer','/universer-api/user/session-ticket','subscribe','_initUnitPermissionChange','/universer-api/snapshot/','initWorkbookPermissionChange','_undoStacks','People','onRemoteAck','words','encryptBlock','CHANGESET_SHOULD_RETRY','_doFinalize','_reverseMap','8672432oOYLgA','UNIVER_SHEET','COMPRESS_MUTATION_APPLY','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','textRanges','ws://127.0.0.1:8000/universer-api/comb/connect','code','csShouldRetryEvent','pipe','CHANGESET_REVISION_CONFILICT','finalize','toString','&to=','registerHTTPInterceptor','randomBytes','AUTHORIZE_CODE_ILLEGAL','EvpKDF','generateRandomId','UniverCollaborationPlugin','sequenceExecute','HTTPRequest','/new_changes','sid','Latin1','UNIVER_DOC','updateOfflineData','encode','CollaborationEvent','url','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_onFetchMissResult','operators','RxDisposable','rxjs/operators','_eventService','_change$','ITransformService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','APPLY_DUPLICATED','body','_transformRemoteChangesetByStateCache','COMPLETION_FINISHED','commentUpdate$','_collabSessionService','PendingState','Could\x20not\x20dynamically\x20require\x20\x22','WordArray','[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.','ICollaborationSocketService','symbol','_getLoginPath','getUnitOnRev','_stopTelemetryCollaborationNewChangeset','HttpExport','_getRedoStack','forEach','includes','_registerDependencies','MergeInterceptorFactory','\x20to\x20','AWAITING','_members','InsertSheetMutation','_status$','data','focused$','resolve','_tryEnsureSocket','UNAUTHENTICATED','REDEMPTION_CODE_FULLY_REDEEMED','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','Univer','getInterceptPoints','ILocalCacheService','_submitChangeset','image/jpg','POST','copyFileMeta','_redoStacks','_createHmacHelper','YUUMI_RATE_OVER_LIMIT','JOIN_ROOM_PERMISSION_DENIED','unknown','deepClone','_getUploadFileURL','getFocusedUnit','INVALID_ARGUMENT','YUUMI_URL_COL_OUT_OF_RANGE','_scheduleCompleteTimestamp','_revisionService','Workbook','getLatestCsReqIdBySid','MentionIoHttpService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','event$','getSheetBlock','_hash','_candidateSocket','send','members','loadUnit','SnapshotServerOverHTTPService','_waitForHeartbeatResponse','JOIN_ROOM_FAILED','startsWith','newCsEvent','USER_NOT_FOUND','mixIn','SheetCollaborationEntity','splice','hasOwnProperty','enableAuthServer','_ENC_XFORM_MODE','add','getRandomValues','5327895zKmGmc','permissionRejEvent','Tools','/universer-api/stream/file/upload','[CollaborationSession]','awaitingChangeset','createSocket','?size=','Encryptor','encrypt','/universer-api/snapshot','getActiveSheet','USERS_LEAVE','Rectangle','replace','onStateChange','HTTPService','CHANGESET_ACK','Pkcs7','ISnapshotServerService','_nDataBytes','_onRecvEvent','removeMember','_onRemoteRejected','NEW_CHANGESETS','error$','/universer-api/file/{fileID}/sign-url','ONLINE','INVITE_CODE_ALREADY_BOUND','CollaborativeUndoRedoService','_getAPIPrefix','REDEMPTION_CODE_HAS_BEEN_CREATED','_resendTimeout','string','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_listenToNetworkCondition','RECV','_invKeySchedule','post','[PendingState]:\x20received\x20rejection.','LocaleService','getValue','stopTime','getCollabEntity$','mergeOverrideWithDependencies','INVITE_CODE_HAS_BEEN_UES','[CollaborationSessionService]','parseProtocolChangeset','_collaborationPaused','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_compressMutationService','_snapshotServerService','_resendWithTimeout','_clearTimeoutTimer','RevisionService','@univerjs/telemetry','getSheetId','PERMISSION_DENIED','toggleOffline','_onJoinRoomEvent','\x0aCurrent:\x20','getImage','PERMISSION_REJ','NOT_COLLAB','range','subject','FAIL','_key','FETCH_MISS','indexOf','startTime','UniverSheets','_clearHeartbeatTimer','_telemetryInfo','onLocalMutation','signUrlServerUrl','_onConnectionOpen','LICENSE_DISTRO_REJECTED','userID','_onLocalMutation','byteLength','_members$','EMAIL_VERIFY_CODE_MISMATCH','_onRemoteRetry','_rescheduleHeartbeat','enc','StreamCipher','joinEvent','&assign=','_doReset','INGEST','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','c1Prime','MOBILE_HAS_BEEN_BOUND','Inject','/universer-api/authz','_changesetSessionId','NoPadding','@univerjs/sheets','status$','unsubscribe','REDEMPTION_CODE_INACTIVE','/universer-api/comb','univer-pro.collaboration-client-socket-service','UniverProCollaboration','listCollaborators','getUnitId','entityInit$','_queuedRemoteChangesets','editingUnit','_updateState','/block/','enableOfflineEditing','function','7484596PGIXlp','[UniverCollaborationClientPlugin]','default','saveSnapshot','_sender','Base64','[FetchMissState]','CONFLICT','state','clear','action','USER_IS_ANONYMOUS','_getSignURL','LIVESHARE_FETCH_OPERATIONS','INTERNAL_ERROR','delete','appendMutation','_clearScheduledTask','rxjs','ceil','31629708bsvOLQ','asObservable','refreshPermission','salt','_transformUndoredo','_iv','unitID','AuthzIoHttpService','_getCurrentRevision','csRejEvent','amd','_sessionStatus$','_toggleOnline','IConfigService','extend','objectID','_sessions','image/jpeg','listRoles','closeSession','UNIVER_SLIDE','UNDEFINED','[OfflineState]:\x20received\x20acknowledgement.','uuidv4','_applyRemoteChangeset','/-/object/-/batch_allowed','findIndex','Decryptor','_parse','toggleOnline','univer-pro.collaboration-client.single-active-unit-service','UniverInstanceType','SNAPSHOT_URL_KEY','BlockCipher','getCurrentSelections','isInternalEditorID','SyncedState','ENSURE_SNAPSHOT_EXECUTION','LOGIN_TOKEN_PROCESSING_FAILED','LIVESHARE_OPERATION','kdf','transformChangesets','entries','auth.needGotoLoginAlert','UserProfileImg','_doCryptBlock','joinRsp','deleteCollaborator','UniverNetwork','[CollaborationUndoRedoService]','_decreaseWaiting','Hasher','set','pluginName','getRoom','collaboration-client.local-cache-service','requestParams','_onRemoteACK','_disableEditing','call','isTransformMutationsWithChangesetSuccess','status','actions','_awaitingChangeset','IMentionIOService','updateCollaborator','push','_initCloseConn','loadOfflineData','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_sendingTimer','leaveEvent','_collaborationUIEventService','NO_OTHER_CLIENTS_EDITING','ivSize','disableLocalCache','getConfig','_socketReady','cmd','HEARTBEAT_TIMEOUT_KEY','_data','take','_throwTelemetryCollaborationNewChangeset','HEARTBEAT','collaboration-client.config','WorkbookEditablePermission','_imageSourceCache','LOGIN_FAILED','every','onTransformSelections','authzUrl','_roomCreated$','onTransformIME','algo','save\x20fail\x20reason\x20is\x20','dispose$','_append','getMemberID','_sendHeartbeat','_initDependencies','getCurrentUser','eventID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','Failed\x20to\x20update\x20permission\x20point','iterations','touchDependencies','online$','[CollaborationEntity]','onCommentUpdate','_onMessage','decrypt','createInstance','keySize','UNIVER_COLLABORATION_CLIENT_PLUGIN','find','sessionStatus','_snapshotService','isTransformMutationsWithChangesetFailure','processBlock','session.join-failed','_init','PAYMENT_CHANNEL_NOT_SUPPORT','ImageUploadStatusType','_createHandler','UserManagerService','abs','_roomMembers','BufferedBlockAlgorithm','_updateStatus','Base','updateCursorEvent','compute','headers','length','getUnitType','stringify','message$','IImageIoService','SUBMIT_CHANGESET','CollaborationSession','_clearLocalCache','isPermissionRej'];_0x3692=function(){return _0x58f79a;};return _0x3692();}(function(_0x5bec5f,_0x48c642){var _0x45d02d=_0x58ee,_0x2a8da4=_0x5bec5f();while(!![]){try{var _0x5323d0=parseInt(_0x45d02d(0x431))/0x1*(parseInt(_0x45d02d(0x471))/0x2)+-parseInt(_0x45d02d(0x49a))/0x3*(parseInt(_0x45d02d(0x457))/0x4)+-parseInt(_0x45d02d(0x2b9))/0x5+parseInt(_0x45d02d(0x4ce))/0x6+-parseInt(_0x45d02d(0x32b))/0x7+-parseInt(_0x45d02d(0x245))/0x8+parseInt(_0x45d02d(0x33f))/0x9;if(_0x5323d0===_0x48c642)break;else _0x2a8da4['push'](_0x2a8da4['shift']());}catch(_0x9521d5){_0x2a8da4['push'](_0x2a8da4['shift']());}}}(_0x3692,0x9b0ed),function(_0x448a4c,_0x427c09){var _0x2dce0d=_0x58ee;typeof exports=='object'&&typeof module<'u'?_0x427c09(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==_0x2dce0d(0x32a)&&define[_0x2dce0d(0x349)]?define([_0x2dce0d(0x1f7),_0x2dce0d(0x40b),_0x2dce0d(0x22d),_0x2dce0d(0x507),_0x2dce0d(0x31b),_0x2dce0d(0x33d),_0x2dce0d(0x2f0),_0x2dce0d(0x266),_0x2dce0d(0x3d0),_0x2dce0d(0x558),_0x2dce0d(0x230)],_0x427c09):(_0x448a4c=typeof globalThis<'u'?globalThis:_0x448a4c||self,_0x427c09(_0x448a4c['UniverProCollaborationClient']={},_0x448a4c[_0x2dce0d(0x321)],_0x448a4c[_0x2dce0d(0x40e)],_0x448a4c['UniverDocs'],_0x448a4c[_0x2dce0d(0x300)],_0x448a4c[_0x2dce0d(0x33d)],_0x448a4c['UniverTelemetry'],_0x448a4c[_0x2dce0d(0x33d)][_0x2dce0d(0x264)],_0x448a4c[_0x2dce0d(0x36f)],_0x448a4c['UniverDrawing'],_0x448a4c[_0x2dce0d(0x1e0)]));}(this,function(_0x1065a7,_0x3ab606,_0x5bafa4,_0x460538,_0x1c5262,_0x1a688c,_0x7d7753,_0xd6074,_0x24f178,_0x301beb,_0x6c7987){'use strict';var _0x3d1808=_0x58ee;var _0x1a1637=Object[_0x3d1808(0x545)],_0x1cd46d=(_0x2d8093,_0x68039f,_0x1282d2)=>_0x68039f in _0x2d8093?_0x1a1637(_0x2d8093,_0x68039f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1282d2}):_0x2d8093[_0x68039f]=_0x1282d2,_0x3fc7c7=(_0x1b1b92,_0xfbc833,_0xec63b5)=>_0x1cd46d(_0x1b1b92,typeof _0xfbc833!=_0x3d1808(0x276)?_0xfbc833+'':_0xfbc833,_0xec63b5);const _0x37e926=_0x3d1808(0x2c3),_0x268f01=_0x3d1808(0x35f),_0x38d231=_0x3d1808(0x24a),_0x480f18=_0x3d1808(0x238),_0x38c58d=_0x3d1808(0x229),_0x3d06ad=_0x3d1808(0x54e),_0x589908=_0x3d1808(0x44b),_0x36ba43=_0x3d1808(0x50d),_0x339a5b=_0x3d1808(0x31f),_0x35a1a3='/universer-api/oidc/authpage',_0x183c7f=_0x3d1808(0x217),_0x287679=_0x3d1808(0x53f);var _0x44514f=(_0x105845=>(_0x105845[_0x105845['UNDEFINED']=0x0]=_0x3d1808(0x354),_0x105845[_0x105845['OK']=0x1]='OK',_0x105845[_0x105845[_0x3d1808(0x339)]=0x2]=_0x3d1808(0x339),_0x105845[_0x105845['PERMISSION_DENIED']=0x3]=_0x3d1808(0x2f2),_0x105845[_0x105845['NOT_FOUND']=0x4]=_0x3d1808(0x3ec),_0x105845[_0x105845[_0x3d1808(0x289)]=0x5]='UNAUTHENTICATED',_0x105845[_0x105845[_0x3d1808(0x228)]=0x6]=_0x3d1808(0x228),_0x105845[_0x105845[_0x3d1808(0x29c)]=0x7]='INVALID_ARGUMENT',_0x105845[_0x105845['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x105845[_0x105845[_0x3d1808(0x26e)]=0x9]=_0x3d1808(0x26e),_0x105845[_0x105845[_0x3d1808(0x396)]=0xa]=_0x3d1808(0x396),_0x105845[_0x105845[_0x3d1808(0x1fb)]=0xb]=_0x3d1808(0x1fb),_0x105845[_0x105845[_0x3d1808(0x3a5)]=0xc]=_0x3d1808(0x3a5),_0x105845[_0x105845[_0x3d1808(0x30b)]=0xd]=_0x3d1808(0x30b),_0x105845[_0x105845[_0x3d1808(0x2db)]=0xe]=_0x3d1808(0x2db),_0x105845[_0x105845[_0x3d1808(0x254)]=0xf]=_0x3d1808(0x254),_0x105845[_0x105845[_0x3d1808(0x365)]=0x10]=_0x3d1808(0x365),_0x105845[_0x105845[_0x3d1808(0x406)]=0x64]=_0x3d1808(0x406),_0x105845[_0x105845[_0x3d1808(0x233)]=0x65]=_0x3d1808(0x233),_0x105845[_0x105845[_0x3d1808(0x2b0)]=0xc9]=_0x3d1808(0x2b0),_0x105845[_0x105845[_0x3d1808(0x336)]=0xca]=_0x3d1808(0x336),_0x105845[_0x105845[_0x3d1808(0x24e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x105845[_0x105845[_0x3d1808(0x451)]=0x1771]=_0x3d1808(0x451),_0x105845[_0x105845[_0x3d1808(0x453)]=0x1772]=_0x3d1808(0x453),_0x105845[_0x105845[_0x3d1808(0x364)]=0x1773]=_0x3d1808(0x364),_0x105845[_0x105845[_0x3d1808(0x224)]=0x1b59]=_0x3d1808(0x224),_0x105845[_0x105845[_0x3d1808(0x1d3)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x105845[_0x105845['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x105845[_0x105845['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3d1808(0x503),_0x105845[_0x105845[_0x3d1808(0x26b)]=0x1b5d]=_0x3d1808(0x26b),_0x105845[_0x105845[_0x3d1808(0x53a)]=0x1f41]=_0x3d1808(0x53a),_0x105845[_0x105845[_0x3d1808(0x3d4)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x105845[_0x105845[_0x3d1808(0x314)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x105845[_0x105845[_0x3d1808(0x51e)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x105845[_0x105845[_0x3d1808(0x4df)]=0x232c]=_0x3d1808(0x4df),_0x105845[_0x105845[_0x3d1808(0x306)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x105845[_0x105845[_0x3d1808(0x478)]=0x2711]=_0x3d1808(0x478),_0x105845[_0x105845[_0x3d1808(0x29d)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x105845[_0x105845[_0x3d1808(0x296)]=0x2713]=_0x3d1808(0x296),_0x105845[_0x105845[_0x3d1808(0x524)]=0x2714]=_0x3d1808(0x524),_0x105845[_0x105845[_0x3d1808(0x418)]=0x271a]=_0x3d1808(0x418),_0x105845[_0x105845[_0x3d1808(0x1eb)]=0x271b]=_0x3d1808(0x1eb),_0x105845[_0x105845[_0x3d1808(0x1dc)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x105845[_0x105845[_0x3d1808(0x56f)]=0x271d]=_0x3d1808(0x56f),_0x105845[_0x105845[_0x3d1808(0x223)]=0x271e]=_0x3d1808(0x223),_0x105845[_0x105845['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3d1808(0x4ad),_0x105845[_0x105845[_0x3d1808(0x1d2)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x105845[_0x105845['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3d1808(0x50c),_0x105845[_0x105845[_0x3d1808(0x2e6)]=0x2ee1]=_0x3d1808(0x2e6),_0x105845[_0x105845[_0x3d1808(0x47e)]=0x2ee2]='INVALID_INVITE_CODE',_0x105845[_0x105845[_0x3d1808(0x562)]=0x2ee3]=_0x3d1808(0x562),_0x105845[_0x105845['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3d1808(0x1d4),_0x105845[_0x105845[_0x3d1808(0x2d5)]=0x2ee5]=_0x3d1808(0x2d5),_0x105845[_0x105845['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3d1808(0x56c),_0x105845[_0x105845[_0x3d1808(0x316)]=0x32ca]=_0x3d1808(0x316),_0x105845[_0x105845['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3d1808(0x20e),_0x105845[_0x105845[_0x3d1808(0x482)]=0x36b1]=_0x3d1808(0x482),_0x105845[_0x105845[_0x3d1808(0x4c2)]=0x36b2]=_0x3d1808(0x4c2),_0x105845[_0x105845['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x105845[_0x105845[_0x3d1808(0x3b9)]=0x36b4]=_0x3d1808(0x3b9),_0x105845[_0x105845['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x105845[_0x105845[_0x3d1808(0x213)]=0x36b6]=_0x3d1808(0x213),_0x105845[_0x105845[_0x3d1808(0x422)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x105845[_0x105845[_0x3d1808(0x557)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x105845[_0x105845[_0x3d1808(0x3f1)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x105845[_0x105845['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x3d1808(0x3dd),_0x105845[_0x105845['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x105845[_0x105845[_0x3d1808(0x474)]=0x37dd]=_0x3d1808(0x474),_0x105845[_0x105845[_0x3d1808(0x1d8)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x105845[_0x105845['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x3d1808(0x31e),_0x105845[_0x105845[_0x3d1808(0x28a)]=0x3a9b]=_0x3d1808(0x28a),_0x105845[_0x105845[_0x3d1808(0x3d7)]=0x3a9c]=_0x3d1808(0x3d7),_0x105845[_0x105845[_0x3d1808(0x438)]=0x3a9d]=_0x3d1808(0x438),_0x105845[_0x105845['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x3d1808(0x3a6),_0x105845[_0x105845[_0x3d1808(0x2d8)]=0x3a9f]=_0x3d1808(0x2d8),_0x105845[_0x105845[_0x3d1808(0x41d)]=0x3e81]=_0x3d1808(0x41d),_0x105845[_0x105845[_0x3d1808(0x3f3)]=-0x1]='UNRECOGNIZED',_0x105845))(_0x44514f||{}),_0x32e542=(_0x81e17e=>(_0x81e17e[_0x81e17e[_0x3d1808(0x222)]=0x0]=_0x3d1808(0x222),_0x81e17e[_0x81e17e[_0x3d1808(0x25d)]=0x1]=_0x3d1808(0x25d),_0x81e17e[_0x81e17e[_0x3d1808(0x246)]=0x2]='UNIVER_SHEET',_0x81e17e[_0x81e17e[_0x3d1808(0x353)]=0x3]=_0x3d1808(0x353),_0x81e17e[_0x81e17e[_0x3d1808(0x41c)]=0x4]=_0x3d1808(0x41c),_0x81e17e[_0x81e17e[_0x3d1808(0x3f3)]=-0x1]=_0x3d1808(0x3f3),_0x81e17e))(_0x32e542||{}),_0x46dd39=(_0x418ef6=>(_0x418ef6[_0x418ef6['UNKNOWN_CMD']=0x0]=_0x3d1808(0x544),_0x418ef6[_0x418ef6['HELLO']=0x1]='HELLO',_0x418ef6[_0x418ef6[_0x3d1808(0x48a)]=0x2]='JOIN',_0x418ef6[_0x418ef6['LEAVE']=0x3]=_0x3d1808(0x21a),_0x418ef6[_0x418ef6[_0x3d1808(0x313)]=0x4]=_0x3d1808(0x313),_0x418ef6[_0x418ef6[_0x3d1808(0x392)]=0x5]='HEARTBEAT',_0x418ef6[_0x418ef6['RECV']=0x6]=_0x3d1808(0x2dd),_0x418ef6[_0x418ef6[_0x3d1808(0x3f3)]=-0x1]='UNRECOGNIZED',_0x418ef6))(_0x46dd39||{}),_0x25b6a7=(_0x19ba74=>(_0x19ba74[_0x19ba74['UNKNOWN_CODE']=0x0]=_0x3d1808(0x227),_0x19ba74[_0x19ba74['OK']=0x1]='OK',_0x19ba74[_0x19ba74[_0x3d1808(0x2fb)]=0x2]='FAIL',_0x19ba74[_0x19ba74[_0x3d1808(0x565)]=0x3e9]=_0x3d1808(0x565),_0x19ba74[_0x19ba74[_0x3d1808(0x403)]=0x3ea]=_0x3d1808(0x403),_0x19ba74[_0x19ba74[_0x3d1808(0x297)]=0x3eb]=_0x3d1808(0x297),_0x19ba74[_0x19ba74[_0x3d1808(0x4b3)]=0x3ec]=_0x3d1808(0x4b3),_0x19ba74[_0x19ba74[_0x3d1808(0x3f3)]=-0x1]=_0x3d1808(0x3f3),_0x19ba74))(_0x25b6a7||{}),_0x3fac12=(_0x9bc9bb=>(_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x1ef)]=0x0]=_0x3d1808(0x1ef),_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x568)]=0x1]=_0x3d1808(0x568),_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x27a)]=0x2]=_0x3d1808(0x27a),_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x46d)]=0x3]='UnitEmbedded',_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x3ce)]=0x4]='UnitSnapshot',_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x36b)]=0x5]=_0x3d1808(0x36b),_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x3d3)]=0x6]=_0x3d1808(0x3d3),_0x9bc9bb[_0x9bc9bb[_0x3d1808(0x3f3)]=-0x1]=_0x3d1808(0x3f3),_0x9bc9bb))(_0x3fac12||{});const _0xf9a9b0=_0x3d1808(0x560);function _0x41beff(_0x465c21){return JSON['stringify'](_0x465c21)['length'];}var _0x38090c=(_0x4c9ecf=>(_0x4c9ecf['OTHER_CLIENT_EDITING']=_0x3d1808(0x3e8),_0x4c9ecf[_0x3d1808(0x2f2)]=_0x3d1808(0x2f2),_0x4c9ecf['CONFLICT']=_0x3d1808(0x332),_0x4c9ecf['CLOSE_ROOM']=_0x3d1808(0x4b0),_0x4c9ecf[_0x3d1808(0x2ad)]='JOIN_ROOM_FAILED',_0x4c9ecf[_0x3d1808(0x527)]=_0x3d1808(0x527),_0x4c9ecf[_0x3d1808(0x460)]=_0x3d1808(0x460),_0x4c9ecf[_0x3d1808(0x567)]=_0x3d1808(0x567),_0x4c9ecf))(_0x38090c||{});class _0x10cfe4{constructor(){var _0x377f4e=_0x3d1808;_0x3fc7c7(this,_0x377f4e(0x4c4),new _0x1a688c[(_0x377f4e(0x546))]()),_0x3fc7c7(this,_0x377f4e(0x2a4),this['_event$']['asObservable']());}[_0x3d1808(0x3e2)](_0x318def){var _0x590928=_0x3d1808;this[_0x590928(0x4c4)][_0x590928(0x543)](_0x318def);}}class _0x178a41{constructor(){var _0x4fee2c=_0x3d1808;_0x3fc7c7(this,'_commentUpdate$',new _0x1a688c['Subject']()),_0x3fc7c7(this,_0x4fee2c(0x26f),this['_commentUpdate$'][_0x4fee2c(0x340)]());}[_0x3d1808(0x3ac)](_0x361430){var _0x5daa96=_0x3d1808;this[_0x5daa96(0x483)][_0x5daa96(0x543)](_0x361430);}}var _0x19caa8=Object['getOwnPropertyDescriptor'],_0x43c114=(_0x418a98,_0x43de15,_0x5801fa,_0x380d1d)=>{for(var _0x680825=_0x380d1d>0x1?void 0x0:_0x380d1d?_0x19caa8(_0x43de15,_0x5801fa):_0x43de15,_0x2a00f7=_0x418a98['length']-0x1,_0x5c2ad5;_0x2a00f7>=0x0;_0x2a00f7--)(_0x5c2ad5=_0x418a98[_0x2a00f7])&&(_0x680825=_0x5c2ad5(_0x680825)||_0x680825);return _0x680825;},_0x24dea7=(_0x426bc5,_0x37efc9)=>(_0x1734b4,_0x4560e0)=>_0x37efc9(_0x1734b4,_0x4560e0,_0x426bc5);_0x1065a7[_0x3d1808(0x41b)]=class extends _0x5bafa4[_0x3d1808(0x40c)]{constructor(_0x471cad,_0x46f01e){var _0x301019=_0x3d1808;super(),_0x3fc7c7(this,'_roomMembers',new Map()),_0x3fc7c7(this,_0x301019(0x39a),new _0x1a688c[(_0x301019(0x546))]()),(this[_0x301019(0x4b8)]=_0x471cad,this['_userManagerService']=_0x46f01e,this[_0x301019(0x44e)](_0x1a688c['merge'](this[_0x301019(0x4b8)][_0x301019(0x1e5)](_0x5bafa4['UniverInstanceType'][_0x301019(0x246)])[_0x301019(0x24d)](_0xd6074[_0x301019(0x51a)](_0x2c7baf=>_0x2c7baf['getUnitId']())),this[_0x301019(0x4b8)][_0x301019(0x1e5)](_0x5bafa4[_0x301019(0x35e)][_0x301019(0x25d)])[_0x301019(0x24d)](_0xd6074[_0x301019(0x51a)](_0x173ca9=>_0x173ca9['getUnitId']())),this[_0x301019(0x4b8)][_0x301019(0x1e5)](_0x5bafa4[_0x301019(0x35e)][_0x301019(0x353)])[_0x301019(0x24d)](_0xd6074[_0x301019(0x51a)](_0x549a19=>_0x549a19[_0x301019(0x323)]())))['subscribe'](_0x43d89c=>this[_0x301019(0x4db)](_0x43d89c))));}['waitForRoom$'](_0x49c210){var _0x602efc=_0x3d1808;return this[_0x602efc(0x3be)][_0x602efc(0x4f0)](_0x49c210)?_0x1a688c['of'](this[_0x602efc(0x3be)]['get'](_0x49c210)):this[_0x602efc(0x39a)][_0x602efc(0x24d)](_0xd6074[_0x602efc(0x51a)](_0xada1a2=>{var _0x4a6b4a=_0x602efc;if(_0xada1a2===_0x49c210)return this[_0x4a6b4a(0x3be)]['get'](_0xada1a2);}));}[_0x3d1808(0x51d)](_0x43d587){var _0x591950=_0x3d1808;this['_userManagerService'][_0x591950(0x51d)](_0x43d587);}['getCurrentUser'](){var _0x5ee8f8=_0x3d1808;return this[_0x5ee8f8(0x43c)]['getCurrentUser']();}[_0x3d1808(0x3f9)](_0xdc6375,_0x1d5803){var _0x3bda8e=_0x3d1808;let _0x558f08=this['_roomMembers'][_0x3bda8e(0x3f0)](_0xdc6375);_0x558f08||(_0x558f08=new _0x49b15c(),this[_0x3bda8e(0x3be)][_0x3bda8e(0x373)](_0xdc6375,_0x558f08),this[_0x3bda8e(0x39a)]['next'](_0xdc6375)),_0x558f08['updateMember'](_0x1d5803);}[_0x3d1808(0x2cf)](_0x3939b0,_0x4dd3a7){var _0x35f57b=_0x3d1808;const _0x5784a7=this[_0x35f57b(0x3be)][_0x35f57b(0x3f0)](_0x3939b0);_0x5784a7&&_0x5784a7['removeMember'](_0x4dd3a7);}[_0x3d1808(0x375)](_0x1ec379){var _0x1ca0cf=_0x3d1808;return this[_0x1ca0cf(0x3be)][_0x1ca0cf(0x3f0)](_0x1ec379);}[_0x3d1808(0x404)](_0x479f98,_0x556835){var _0x35d1a1=_0x3d1808;const _0x5e90c5=this['_roomMembers'][_0x35d1a1(0x3f0)](_0x479f98);if(_0x5e90c5)return _0x5e90c5[_0x35d1a1(0x404)](_0x556835);}[_0x3d1808(0x4db)](_0x5560e1){var _0x57fae3=_0x3d1808;const _0x530285=this[_0x57fae3(0x3be)][_0x57fae3(0x3f0)](_0x5560e1);_0x530285&&(_0x530285['dispose'](),this[_0x57fae3(0x3be)][_0x57fae3(0x33a)](_0x5560e1));}['dispose'](){var _0x35a675=_0x3d1808;this[_0x35a675(0x3be)]['forEach'](_0x1c5354=>_0x1c5354[_0x35a675(0x508)]()),this[_0x35a675(0x3be)]['clear'](),this[_0x35a675(0x39a)]['complete']();}},_0x1065a7['MemberService']=_0x43c114([_0x24dea7(0x0,_0x5bafa4[_0x3d1808(0x443)]),_0x24dea7(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x3bc)]))],_0x1065a7['MemberService']);class _0x49b15c extends _0x5bafa4[_0x3d1808(0x40c)]{constructor(){var _0x56544e=_0x3d1808;super(...arguments),_0x3fc7c7(this,'_members',new Map()),_0x3fc7c7(this,'_members$',new _0x1a688c[(_0x56544e(0x1f8))](this['_members'])),_0x3fc7c7(this,_0x56544e(0x477),this[_0x56544e(0x30a)][_0x56544e(0x340)]());}[_0x3d1808(0x508)](){var _0x24fc68=_0x3d1808;this['_members'][_0x24fc68(0x334)]();}[_0x3d1808(0x3f9)](_0x2c80a4){var _0x479801=_0x3d1808;this['_members'][_0x479801(0x373)](_0x2c80a4[_0x479801(0x3e9)],_0x2c80a4),this[_0x479801(0x1d6)]();}[_0x3d1808(0x2cf)](_0x3b9e39){var _0xc21ef1=_0x3d1808;this['_members'][_0xc21ef1(0x33a)](_0x3b9e39);}[_0x3d1808(0x404)](_0x4d7fcb){var _0x2258e1=_0x3d1808;return this[_0x2258e1(0x282)]['get'](_0x4d7fcb);}[_0x3d1808(0x48d)](){var _0x2cf6dd=_0x3d1808;return Array[_0x2cf6dd(0x3d1)](this[_0x2cf6dd(0x282)][_0x2cf6dd(0x3fe)]());}[_0x3d1808(0x1d6)](){var _0x4e0f29=_0x3d1808;this[_0x4e0f29(0x30a)]['next'](this[_0x4e0f29(0x282)]);}}var _0x3e5910=Object[_0x3d1808(0x3cf)],_0x17fa29=(_0x5acc78,_0xb1f751,_0x222482,_0x223fdc)=>{for(var _0x34f0af=_0x223fdc>0x1?void 0x0:_0x223fdc?_0x3e5910(_0xb1f751,_0x222482):_0xb1f751,_0x457ce7=_0x5acc78['length']-0x1,_0x408c94;_0x457ce7>=0x0;_0x457ce7--)(_0x408c94=_0x5acc78[_0x457ce7])&&(_0x34f0af=_0x408c94(_0x34f0af)||_0x34f0af);return _0x34f0af;},_0x59de70=(_0x2b61b9,_0x21d2aa)=>(_0x4d57e6,_0x5296c6)=>_0x21d2aa(_0x4d57e6,_0x5296c6,_0x2b61b9),_0x4b7463=(_0x39956e=>(_0x39956e[_0x39956e[_0x3d1808(0x464)]=0x0]=_0x3d1808(0x464),_0x39956e[_0x39956e[_0x3d1808(0x522)]=0x1]=_0x3d1808(0x522),_0x39956e[_0x39956e[_0x3d1808(0x559)]=0x2]=_0x3d1808(0x559),_0x39956e[_0x39956e[_0x3d1808(0x2d4)]=0x3]=_0x3d1808(0x2d4),_0x39956e))(_0x4b7463||{});const _0x33f4b2={[_0x25b6a7[_0x3d1808(0x2fb)]]:_0x3d1808(0x3b7),[_0x25b6a7[_0x3d1808(0x565)]]:_0x3d1808(0x491),[_0x25b6a7[_0x3d1808(0x403)]]:_0x3d1808(0x467),[_0x25b6a7[_0x3d1808(0x297)]]:_0x3d1808(0x4a8),[_0x25b6a7[_0x3d1808(0x4b3)]]:_0x3d1808(0x201)};_0x1065a7[_0x3d1808(0x3cb)]=class extends _0x5bafa4[_0x3d1808(0x265)]{constructor(_0x16ffb8,_0x287e64,_0x12775f,_0xae7d76,_0x53c8c3,_0x55885b,_0x5a77c6,_0x139850){var _0x547f6f=_0x3d1808;super(),_0x3fc7c7(this,_0x547f6f(0x34a),new _0x1a688c[(_0x547f6f(0x1f8))](0x0)),_0x3fc7c7(this,'sessionStatus$',this[_0x547f6f(0x34a)][_0x547f6f(0x340)]()),_0x3fc7c7(this,_0x547f6f(0x4c4),new _0x1a688c[(_0x547f6f(0x546))]()),_0x3fc7c7(this,_0x547f6f(0x2a4),this[_0x547f6f(0x4c4)][_0x547f6f(0x340)]()),_0x3fc7c7(this,'_socket'),_0x3fc7c7(this,_0x547f6f(0x4dd)),_0x3fc7c7(this,_0x547f6f(0x428)),_0x3fc7c7(this,_0x547f6f(0x539),!0x1),_0x3fc7c7(this,_0x547f6f(0x302),null),(this[_0x547f6f(0x3e6)]=_0x16ffb8,this[_0x547f6f(0x4dc)]=_0x12775f,this[_0x547f6f(0x4ee)]=_0xae7d76,this[_0x547f6f(0x3e7)]=_0x53c8c3,this[_0x547f6f(0x55d)]=_0x55885b,this[_0x547f6f(0x387)]=_0x5a77c6,this[_0x547f6f(0x4e2)]=_0x139850,this[_0x547f6f(0x539)]=!!this[_0x547f6f(0x4e2)],_0x287e64[_0x547f6f(0x24d)](_0x1a688c['takeUntil'](this['dispose$']))['subscribe'](_0x497893=>{var _0x1c3b60=_0x547f6f,_0x23c953;typeof _0x497893>'u'||(this[_0x1c3b60(0x1d5)]=_0x497893,_0x497893?(this[_0x1c3b60(0x21f)](_0x497893),this['_socketMessageSubscription']=_0x497893[_0x1c3b60(0x3c8)][_0x1c3b60(0x239)](_0x2550af=>{var _0x372a45=_0x1c3b60;_0x2550af[_0x372a45(0x4ba)]===this[_0x372a45(0x3e6)]&&this[_0x372a45(0x45b)](_0x2550af);})):(this[_0x1c3b60(0x391)](),this['_sessionStatus$'][_0x1c3b60(0x543)](0x2),(_0x23c953=this[_0x1c3b60(0x4dd)])==null||_0x23c953[_0x1c3b60(0x31d)](),this[_0x1c3b60(0x4dd)]=null));}));}get[_0x3d1808(0x3b3)](){var _0x5d604c=_0x3d1808;return this[_0x5d604c(0x34a)][_0x5d604c(0x2e2)]();}[_0x3d1808(0x3a0)](){var _0x396748=_0x3d1808,_0x4d1080,_0x494cbe;return(_0x494cbe=(_0x4d1080=this[_0x396748(0x1d5)])==null?void 0x0:_0x4d1080[_0x396748(0x3e9)])!=null?_0x494cbe:null;}[_0x3d1808(0x508)](){var _0x31656d=_0x3d1808;super['dispose'](),this[_0x31656d(0x39e)][_0x31656d(0x543)](),this[_0x31656d(0x39e)][_0x31656d(0x1fa)]();}[_0x3d1808(0x41a)](){var _0x48af3e=_0x3d1808,_0x4ce2ef,_0x43c7bf;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4ce2ef=this[_0x48af3e(0x1d5)])==null||_0x4ce2ef[_0x48af3e(0x2a8)]({'cmd':_0x46dd39['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x43c7bf=this[_0x48af3e(0x1d5)])==null||_0x43c7bf[_0x48af3e(0x41a)](),this[_0x48af3e(0x4c4)][_0x48af3e(0x1fa)](),this[_0x48af3e(0x34a)][_0x48af3e(0x1fa)](),this['dispose']();}[_0x3d1808(0x45b)](_0x25e338){var _0x27febc=_0x3d1808;_0x25e338['cmd']===_0x46dd39[_0x27febc(0x48a)]?this[_0x27febc(0x2f4)](_0x25e338):_0x25e338[_0x27febc(0x38d)]===_0x46dd39[_0x27febc(0x2dd)]&&this[_0x27febc(0x2ce)](_0x25e338);}[_0x3d1808(0x21f)](_0xe0532d){var _0x5b8492=_0x3d1808;this[_0x5b8492(0x34a)][_0x5b8492(0x543)](0x1),_0xe0532d['send']({'cmd':_0x46dd39[_0x5b8492(0x48a)],'routeKey':this[_0x5b8492(0x3e6)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5b8492(0x3e6)]}]}});}[_0x3d1808(0x2f4)](_0xf553e4){var _0x39bcbd=_0x3d1808,_0x867854;if(_0xf553e4[_0x39bcbd(0x24b)]in _0x33f4b2){this[_0x39bcbd(0x387)][_0x39bcbd(0x3e2)]({'id':_0x38090c[_0x39bcbd(0x2ad)],'data':_0x33f4b2[_0xf553e4[_0x39bcbd(0x24b)]]}),this[_0x39bcbd(0x34a)][_0x39bcbd(0x543)](0x2);return;}this[_0x39bcbd(0x34a)][_0x39bcbd(0x543)](0x3);const _0x362aac=(_0x867854=_0xf553e4[_0x39bcbd(0x285)]['roomInfos'][this[_0x39bcbd(0x3e6)]])==null?void 0x0:_0x867854[_0x39bcbd(0x2a9)];_0x362aac&&_0x362aac[_0x39bcbd(0x27c)](_0xb051a8=>this[_0x39bcbd(0x3e7)]['updateMember'](this[_0x39bcbd(0x3e6)],_0xb051a8));}[_0x3d1808(0x2ce)](_0x156a86){var _0x2b94c9=_0x3d1808;try{const _0x4269da=_0x156a86[_0x2b94c9(0x285)];switch(_0x4269da[_0x2b94c9(0x3a4)]){case _0x3ab606[_0x2b94c9(0x260)][_0x2b94c9(0x400)]:this[_0x2b94c9(0x479)](_0x4269da),this[_0x2b94c9(0x4c4)]['next'](_0x4269da);break;case _0x3ab606[_0x2b94c9(0x260)]['USERS_LEAVE']:this[_0x2b94c9(0x498)](_0x4269da),this[_0x2b94c9(0x4c4)]['next'](_0x4269da);break;case _0x3ab606[_0x2b94c9(0x260)][_0x2b94c9(0x2ca)]:case _0x3ab606[_0x2b94c9(0x260)][_0x2b94c9(0x242)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x2b94c9(0x45a)](),this['_event$'][_0x2b94c9(0x543)](_0x4269da);break;case _0x3ab606[_0x2b94c9(0x260)][_0x2b94c9(0x465)]:this[_0x2b94c9(0x4dc)]['error'](_0x2b94c9(0x39d)+JSON['stringify'](_0x4269da)),this[_0x2b94c9(0x4c4)][_0x2b94c9(0x543)](_0x4269da);break;case _0x3ab606[_0x2b94c9(0x260)][_0x2b94c9(0x415)]:this[_0x2b94c9(0x55d)][_0x2b94c9(0x3ac)](_0x4269da[_0x2b94c9(0x285)]),this[_0x2b94c9(0x4c4)][_0x2b94c9(0x543)](_0x4269da);break;default:this[_0x2b94c9(0x4c4)][_0x2b94c9(0x543)](_0x4269da);}}catch(_0x1a1838){this[_0x2b94c9(0x4dc)][_0x2b94c9(0x3f5)](_0x1a1838,_0x156a86);}}['_onUserJoin'](_0xfe83e1){var _0x40716b=_0x3d1808;this['_memberService']['updateMember'](this[_0x40716b(0x3e6)],_0xfe83e1[_0x40716b(0x285)]);}[_0x3d1808(0x498)](_0x55a20f){var _0x5bb9f3=_0x3d1808;this[_0x5bb9f3(0x3e7)][_0x5bb9f3(0x2cf)](this[_0x5bb9f3(0x3e6)],_0x55a20f[_0x5bb9f3(0x285)]['memberID']);}async[_0x3d1808(0x2a8)](_0x16763,_0x5b8d9a){var _0x2a1a61=_0x3d1808;if(this[_0x2a1a61(0x3b3)]!==0x3||!this[_0x2a1a61(0x1d5)])throw new Error(_0x2a1a61(0x28b));try{_0x16763[_0x2a1a61(0x3a4)]===_0x3ab606['CollaborationEvent'][_0x2a1a61(0x3ca)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x2a1a61(0x4e0)](_0x16763)),this[_0x2a1a61(0x1d5)]['send']({'cmd':_0x46dd39['INGEST'],'routeKey':_0x5b8d9a,'routeType':'','data':_0x16763});}catch(_0x4a0d9d){this[_0x2a1a61(0x4dc)][_0x2a1a61(0x3f5)](_0x4a0d9d);}}['_scheduleCollaborationTimeoutTimer'](){var _0x5cc105=_0x3d1808,_0x4351b3;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x5dcb52=_0x58ee;this[_0x5dcb52(0x428)]=null,this[_0x5dcb52(0x387)][_0x5dcb52(0x3e2)]({'id':_0x38090c[_0x5dcb52(0x567)]});},(_0x4351b3=this[_0x5cc105(0x4ee)][_0x5cc105(0x38b)](_0x3d06ad))!=null?_0x4351b3:0x4e20);}[_0x3d1808(0x45a)](){var _0x26843e=_0x3d1808;this[_0x26843e(0x428)]&&(clearTimeout(this[_0x26843e(0x428)]),this[_0x26843e(0x428)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x192ba7){var _0x5f0b73=_0x3d1808;if(!this[_0x5f0b73(0x539)])return;const {data:_0x4f99ba}=_0x192ba7,{unitID:_0x2d13b2,changeset:_0x51faea}=_0x4f99ba,{mutations:_0x49e18c,type:_0x474a1a}=_0x51faea;this[_0x5f0b73(0x302)]={'unitId':_0x2d13b2,'type':_0x474a1a,'startTime':performance[_0x5f0b73(0x424)](),'stopTime':0x0,'duration':0x0,'size':_0x41beff(_0x49e18c)};}[_0x3d1808(0x279)](){var _0x279cfd=_0x3d1808;if(this[_0x279cfd(0x539)]){if(!this['_telemetryInfo']){this[_0x279cfd(0x4dc)][_0x279cfd(0x3f5)](_0x279cfd(0x2bd),_0x279cfd(0x4ea));return;}this[_0x279cfd(0x302)]['stopTime']=performance['now'](),this[_0x279cfd(0x302)][_0x279cfd(0x529)]=this[_0x279cfd(0x302)][_0x279cfd(0x2e3)]-this[_0x279cfd(0x302)][_0x279cfd(0x2ff)],this[_0x279cfd(0x4e2)]['capture'](_0xf9a9b0,this['_telemetryInfo']),this[_0x279cfd(0x302)]=null;}}[_0x3d1808(0x391)](){var _0x28f5d2=_0x3d1808;this[_0x28f5d2(0x302)]=null;}},_0x1065a7[_0x3d1808(0x3cb)]=_0x17fa29([_0x59de70(0x2,_0x5bafa4[_0x3d1808(0x528)]),_0x59de70(0x3,_0x5bafa4[_0x3d1808(0x34c)]),_0x59de70(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x1065a7[_0x3d1808(0x41b)])),_0x59de70(0x5,_0x5bafa4[_0x3d1808(0x317)](_0x178a41)),_0x59de70(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x10cfe4)),_0x59de70(0x7,_0x5bafa4[_0x3d1808(0x4fa)](_0x7d7753['ITelemetryService']))],_0x1065a7[_0x3d1808(0x3cb)]);const _0xd8e545=_0x5bafa4[_0x3d1808(0x433)](_0x3d1808(0x376));function _0x2d48c6(_0x78f954){var _0x419a35=_0x3d1808;return _0x419a35(0x48c)+_0x78f954;}var _0x111d94=Object['getOwnPropertyDescriptor'],_0x500906=(_0x30e63e,_0x40f67b,_0x624ece,_0x44cd65)=>{for(var _0x980fb7=_0x44cd65>0x1?void 0x0:_0x44cd65?_0x111d94(_0x40f67b,_0x624ece):_0x40f67b,_0x45244a=_0x30e63e['length']-0x1,_0x1bd589;_0x45244a>=0x0;_0x45244a--)(_0x1bd589=_0x30e63e[_0x45244a])&&(_0x980fb7=_0x1bd589(_0x980fb7)||_0x980fb7);return _0x980fb7;},_0x2009dd=(_0x34f9ed,_0x46ed96)=>(_0x343cbb,_0x38b2eb)=>_0x46ed96(_0x343cbb,_0x38b2eb,_0x34f9ed);function _0x395ea7(_0x37ed0e){var _0x418e54=_0x3d1808;const {unitID:_0x128212,mutations:_0x4c8654}=_0x37ed0e;return{'unitId':_0x128212,'subUnitId':_0x4c8654[_0x418e54(0x3c5)]>0x0?_0x4c8654[0x0]['params'][_0x418e54(0x4d8)]:null};}_0x1065a7[_0x3d1808(0x1f1)]=class{constructor(_0xc8322c,_0x5b383e,_0x5dbc65){var _0x858967=_0x3d1808;this[_0x858967(0x50f)]=_0xc8322c,this[_0x858967(0x51f)]=_0x5b383e,this['_instanceService']=_0x5dbc65;}[_0x3d1808(0x44d)](_0x2fdc6b){var _0x56425c=_0x3d1808,_0x7ecc84,_0x37ece1,_0x2e6db5,_0x483138;const _0x5cdd5f=this[_0x56425c(0x50f)][_0x56425c(0x3f0)](_0x1c5262[_0x56425c(0x448)]),{unitId:_0x4ac392,subUnitId:_0x4a711e}=_0x395ea7(_0x2fdc6b),_0x5ee0b6=_0x5cdd5f==null?void 0x0:_0x5cdd5f['getWorkbookSelections'](_0x4ac392)[_0x56425c(0x361)](),_0x4d4ba1=(_0x37ece1=(_0x7ecc84=this['_instanceService']['getUnit'](_0x4ac392))==null?void 0x0:_0x7ecc84[_0x56425c(0x2c4)]())==null?void 0x0:_0x37ece1[_0x56425c(0x2f1)]();if(_0x5ee0b6[_0x56425c(0x3c5)]===0x0||!_0x4ac392||!_0x4a711e)return;const _0x2a5bb9=[{'id':_0x1c5262[_0x56425c(0x4f1)]['id'],'params':{'unitId':_0x4ac392,'subUnitId':_0x4d4ba1,'selections':_0x5bafa4[_0x56425c(0x2bb)][_0x56425c(0x299)](_0x5ee0b6)}}],_0x562447=this[_0x56425c(0x51f)][_0x56425c(0x441)](_0x2fdc6b,_0x2a5bb9);if(!_0x3ab606[_0x56425c(0x37b)](_0x562447))throw _0x562447['error'];const _0x5785a9=(_0x483138=(_0x2e6db5=_0x562447['m2Prime'][0x0])==null?void 0x0:_0x2e6db5['params'])==null?void 0x0:_0x483138['selections'];if(Array[_0x56425c(0x4f2)](_0x5785a9)&&_0x5785a9[_0x56425c(0x3c5)]){if(_0x5785a9[_0x56425c(0x3c5)]===_0x2a5bb9[0x0][_0x56425c(0x21c)][_0x56425c(0x4ff)][_0x56425c(0x3c5)]&&_0x5785a9[_0x56425c(0x397)]((_0x508a77,_0x2c032f)=>_0x5bafa4[_0x56425c(0x2c6)][_0x56425c(0x42b)](_0x508a77[_0x56425c(0x2f9)],_0x2a5bb9[0x0][_0x56425c(0x21c)][_0x56425c(0x4ff)][_0x2c032f][_0x56425c(0x2f9)])))return;this[_0x56425c(0x50f)][_0x56425c(0x3f0)](_0x5bafa4[_0x56425c(0x3fc)])['executeCommand'](_0x1c5262['SetSelectionsOperation']['id'],{'unitId':_0x4ac392,'subUnitId':_0x4d4ba1,'selections':_0x5785a9});}}},_0x1065a7['SheetTransformSelectionsService']=_0x500906([_0x2009dd(0x0,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4['Injector'])),_0x2009dd(0x1,_0x3ab606[_0x3d1808(0x269)]),_0x2009dd(0x2,_0x5bafa4[_0x3d1808(0x443)])],_0x1065a7[_0x3d1808(0x1f1)]);const _0x175519=_0x5bafa4[_0x3d1808(0x433)](_0x3d1808(0x35d));var _0x166ac9=(_0x5f2920=>(_0x5f2920[_0x5f2920[_0x3d1808(0x388)]=0x0]=_0x3d1808(0x388),_0x5f2920[_0x5f2920[_0x3d1808(0x3df)]=0x1]=_0x3d1808(0x3df),_0x5f2920))(_0x166ac9||{});const _0x755dce=_0x3d1808(0x393),_0x38b249={};function _0x59b023(_0x233c54){var _0x4c9b47=_0x3d1808,_0x955910;return!!((_0x955910=_0x233c54[_0x4c9b47(0x21c)])!=null&&_0x955910[_0x4c9b47(0x4fc)]);}const _0x2e5f24=new Set([_0x1c5262[_0x3d1808(0x283)]['id']]);function _0x3cb94a(_0x4ab861,_0x348618,_0xda847a,_0x40adaa,_0x42be28){var _0x3cda63=_0x3d1808,_0x180e0e,_0x22b677,_0x892ce0,_0x1858ba;const _0x489664=[];for(const _0x22b0e1 of _0x4ab861){if(_0x2e5f24['has'](_0x22b0e1['id'])){if(_0x489664['length']>0x0)break;_0x489664['push'](_0x22b0e1);break;}if(_0x59b023(_0x22b0e1)){if(_0x489664['length']>0x0)break;_0x489664[_0x3cda63(0x381)](_0x22b0e1);break;}_0x489664[_0x3cda63(0x381)](_0x22b0e1);}const _0x25a193=(_0x22b677=(_0x180e0e=_0x42be28['getCurrentUser']())==null?void 0x0:_0x180e0e[_0x3cda63(0x307)])!=null?_0x22b677:'unknown',_0x3449d7=(_0x1858ba=(_0x892ce0=_0x42be28['getCurrentUser']())==null?void 0x0:_0x892ce0[_0x3cda63(0x3e9)])!=null?_0x1858ba:_0x3cda63(0x298);return{'changeset':{'unitID':_0x348618,'type':_0x3ab606[_0x3cda63(0x525)](_0xda847a[_0x3cda63(0x3c6)](_0x348618)),'baseRev':_0x40adaa[_0x3cda63(0x417)](_0x348618),'revision':0x0,'userID':_0x25a193,'memberID':_0x3449d7,'mutations':_0x489664},'pendingMutations':_0x4ab861[_0x3cda63(0x3f8)](_0x489664[_0x3cda63(0x3c5)])};}function _0x2ade53(_0x590e7e,_0x3aef97,_0x4a6a1f,_0x1aa7b7,_0x4b2653){var _0x26b803=_0x3d1808,_0x282600,_0x2b1bb2,_0x1603a2,_0x368468;const _0x22ad2f=[_0x590e7e['reduce']((_0x3e1ece,_0x2966da)=>{var _0x4a0e99=_0x58ee,_0x2ef0ea;const {id:_0x4b21bb}=_0x3e1ece,{id:_0x5dacab,type:_0x5f2f28}=_0x2966da,_0x38c747=(_0x2ef0ea=_0x3e1ece[_0x4a0e99(0x21c)])!=null?_0x2ef0ea:{'actions':null},_0x3d811c=_0x2966da[_0x4a0e99(0x21c)];if(_0x4b21bb&&_0x4b21bb!==_0x5dacab)throw new Error(_0x4a0e99(0x248)+_0x4b21bb+_0x4a0e99(0x497)+_0x5dacab+'.');return{..._0x3e1ece,'id':_0x5dacab,'type':_0x5f2f28,'params':{'unitId':_0x3d811c[_0x4a0e99(0x48f)],'textRanges':_0x3d811c['textRanges'],'actions':_0x5bafa4['JSONX']['compose'](_0x38c747['actions'],_0x3d811c[_0x4a0e99(0x37d)])}};},{})],_0x4f92b0=(_0x2b1bb2=(_0x282600=_0x4b2653[_0x26b803(0x3a3)]())==null?void 0x0:_0x282600[_0x26b803(0x307)])!=null?_0x2b1bb2:_0x26b803(0x298),_0x24db61=(_0x368468=(_0x1603a2=_0x4b2653[_0x26b803(0x3a3)]())==null?void 0x0:_0x1603a2['memberID'])!=null?_0x368468:_0x26b803(0x298);return{'changeset':{'unitID':_0x3aef97,'type':_0x3ab606['mapDocumentTypeToUniverType'](_0x4a6a1f[_0x26b803(0x3c6)](_0x3aef97)),'baseRev':_0x1aa7b7[_0x26b803(0x417)](_0x3aef97),'revision':0x0,'userID':_0x4f92b0,'memberID':_0x24db61,'mutations':_0x22ad2f},'pendingMutations':[]};}function _0x16a698(_0x16cee3,_0x414733){var _0x10b4f2=_0x3d1808;const _0x74427b=new _0x1a688c[(_0x10b4f2(0x4a0))](0x1);return setTimeout(()=>_0x74427b[_0x10b4f2(0x543)](_0x414733),_0x16cee3),_0x74427b[_0x10b4f2(0x340)]()[_0x10b4f2(0x24d)](_0x1a688c[_0x10b4f2(0x390)](0x1));}var _0x12cfd6=Object[_0x3d1808(0x3cf)],_0x456781=(_0x7a948,_0x2108e7,_0x4e52bf,_0x3f268b)=>{var _0x52a746=_0x3d1808;for(var _0x3a0588=_0x3f268b>0x1?void 0x0:_0x3f268b?_0x12cfd6(_0x2108e7,_0x4e52bf):_0x2108e7,_0x3a2c8d=_0x7a948[_0x52a746(0x3c5)]-0x1,_0x121460;_0x3a2c8d>=0x0;_0x3a2c8d--)(_0x121460=_0x7a948[_0x3a2c8d])&&(_0x3a0588=_0x121460(_0x3a0588)||_0x3a0588);return _0x3a0588;},_0xa6ca36=(_0x3e80bd,_0x341004)=>(_0x206dd5,_0x3f5884)=>_0x341004(_0x206dd5,_0x3f5884,_0x3e80bd),_0x293214=(_0x210552=>(_0x210552[_0x3d1808(0x2f8)]=_0x3d1808(0x505),_0x210552['SYNCED']=_0x3d1808(0x4b4),_0x210552[_0x3d1808(0x552)]=_0x3d1808(0x411),_0x210552[_0x3d1808(0x281)]='awaiting',_0x210552[_0x3d1808(0x458)]=_0x3d1808(0x225),_0x210552[_0x3d1808(0x2fd)]=_0x3d1808(0x408),_0x210552['CONFLICT']=_0x3d1808(0x445),_0x210552[_0x3d1808(0x559)]=_0x3d1808(0x459),_0x210552))(_0x293214||{});const _0x12c628=0xea60;class _0x312db3{constructor(_0x245ca1,_0x763950,_0x47192f,_0x5a2236,_0x4adad2,_0x551de4,_0x12f11c,_0x5e31ff,_0x41157a){var _0x294c5a=_0x3d1808;_0x3fc7c7(this,'_awaitingChangeset',null),_0x3fc7c7(this,_0x294c5a(0x3ff),[]),(this[_0x294c5a(0x345)]=_0x245ca1,this[_0x294c5a(0x436)]=_0x763950,this[_0x294c5a(0x526)]=_0x4adad2,this['_commandService']=_0x551de4,this['_undoRedoService']=_0x12f11c,this['_revisionService']=_0x5e31ff,this[_0x294c5a(0x4b5)]=_0x41157a,this[_0x294c5a(0x37e)]=_0x47192f,this[_0x294c5a(0x3ff)]=_0x5a2236);}[_0x3d1808(0x21b)](_0x3c5a9c){var _0x52540c=_0x3d1808;const _0x398723=this[_0x52540c(0x29f)][_0x52540c(0x417)](this[_0x52540c(0x345)]);return _0x3c5a9c['revision']>_0x398723+0x1?(this[_0x52540c(0x526)]['onMissingChangesets']({'from':_0x398723,'to':_0x3c5a9c[_0x52540c(0x42d)]-0x1}),!0x0):!0x1;}[_0x3d1808(0x343)](_0x10e3ea){var _0x55de7a=_0x3d1808;this[_0x55de7a(0x569)][_0x55de7a(0x426)](this[_0x55de7a(0x345)],_0x10e3ea);}['_transformSelections'](_0xa42b79){var _0x2f289e=_0x3d1808,_0x15423,_0x4de9b8;(_0x4de9b8=(_0x15423=this[_0x2f289e(0x526)])[_0x2f289e(0x398)])==null||_0x4de9b8[_0x2f289e(0x37a)](_0x15423,_0xa42b79);}['_transformIMECache'](_0x3abc99){var _0x254df0=_0x3d1808,_0x312366,_0x10c74c;return(_0x10c74c=(_0x312366=this['_handler'])[_0x254df0(0x39b)])==null?void 0x0:_0x10c74c[_0x254df0(0x37a)](_0x312366,_0x3abc99);}[_0x3d1808(0x43b)](_0x441e01){var _0x1261f1=_0x3d1808,_0x18346c,_0x243005;return(_0x243005=(_0x18346c=this[_0x1261f1(0x526)])[_0x1261f1(0x548)])==null?void 0x0:_0x243005['call'](_0x18346c,_0x441e01);}[_0x3d1808(0x493)](_0x415620){var _0x247aaa=_0x3d1808,_0x134aed,_0x404b4e,_0x4360e6;return(_0x4360e6=(_0x404b4e=(_0x134aed=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x404b4e[_0x247aaa(0x37a)](_0x134aed,_0x415620))!=null?_0x4360e6:_0x415620;}[_0x3d1808(0x26d)](_0x3d6b4c){var _0x25052c=_0x3d1808,_0x16d3a5,_0x50be0a,_0xe9414c;return(_0xe9414c=(_0x50be0a=(_0x16d3a5=this['_handler'])[_0x25052c(0x3ef)])==null?void 0x0:_0x50be0a[_0x25052c(0x37a)](_0x16d3a5,_0x3d6b4c))!=null?_0xe9414c:_0x3d6b4c;}[_0x3d1808(0x4ae)](_0x3e95a0){var _0x30e655=_0x3d1808,_0x61f7e5,_0x56a89d;if(this['type']===_0x32e542[_0x30e655(0x25d)]){const {unitID:_0x48766e,mutations:_0x660b67,memberID:_0x34167a}=_0x3e95a0,_0x46429d=_0x660b67[_0x30e655(0x3c5)]>0x0?_0x660b67[0x0]['params'][_0x30e655(0x249)]:[];Array[_0x30e655(0x4f2)](_0x46429d)&&_0x46429d[_0x30e655(0x3c5)]>0x0&&((_0x56a89d=(_0x61f7e5=this['_handler'])[_0x30e655(0x55a)])==null||_0x56a89d['call'](_0x61f7e5,{'unitID':_0x48766e,'memberID':_0x34167a,'textRanges':_0x46429d}));}}[_0x3d1808(0x523)](){var _0x543cc4=_0x3d1808,_0xbf0321;(_0xbf0321=this[_0x543cc4(0x4b5)])==null||_0xbf0321[_0x543cc4(0x25e)](this[_0x543cc4(0x345)],this['type'],this[_0x543cc4(0x37e)],this[_0x543cc4(0x3ff)]);}[_0x3d1808(0x347)](){var _0x26dca0=_0x3d1808;return this[_0x26dca0(0x29f)][_0x26dca0(0x417)](this['unitID']);}[_0x3d1808(0x555)](){var _0x51b379=_0x3d1808;this[_0x51b379(0x29f)][_0x51b379(0x54a)](this[_0x51b379(0x345)]);}['_executeRemoteChangeset'](_0x31a721){var _0xbef9f4=_0x3d1808,_0x27600e;let _0x262f02=this[_0xbef9f4(0x493)](_0x31a721);_0x262f02=this['_transformRemoteChangesetByStateCache'](_0x262f02);const _0x579b25=_0x5bafa4[_0xbef9f4(0x258)](_0x262f02[_0xbef9f4(0x4f4)],this[_0xbef9f4(0x538)],{'fromCollab':!0x0});if(!_0x579b25['result'])throw _0x579b25[_0xbef9f4(0x3f5)]instanceof Error?_0x579b25[_0xbef9f4(0x3f5)]:new Error((_0x27600e=_0x579b25['error'])!=null?_0x27600e:_0xbef9f4(0x561));this['_transformIMECache'](_0x262f02),this[_0xbef9f4(0x43b)](_0x262f02),this[_0xbef9f4(0x343)](_0x31a721),this['_transformSelections'](_0x262f02),this['_syncEditingCollabCursor'](_0x262f02),this['_incrementRevisionNumber']();}}_0x1065a7[_0x3d1808(0x363)]=class extends _0x312db3{constructor(_0x345bad,_0x2061eb,_0x4e82dd,_0x1386d1,_0xfc5471,_0x2edb93,_0x1e59a6,_0x3cc1c8,_0x1b4fa4,_0x115390){var _0x291da1=_0x3d1808;super(_0x345bad,_0x2061eb,null,[],_0x4e82dd,_0x1e59a6,_0x2edb93,_0x1386d1,_0x115390),_0x3fc7c7(this,_0x291da1(0x37c),_0x291da1(0x4b4)),(this[_0x291da1(0x50f)]=_0xfc5471,this[_0x291da1(0x4dc)]=_0x3cc1c8,this[_0x291da1(0x51f)]=_0x1b4fa4,this[_0x291da1(0x3d9)]=_0x115390);}[_0x3d1808(0x33b)](_0xf4deab){var _0x17bb45=_0x3d1808;const _0x308134=this[_0x17bb45(0x50f)]['createInstance'](_0x1065a7[_0x17bb45(0x271)],this[_0x17bb45(0x345)],this[_0x17bb45(0x436)],[_0xf4deab],this[_0x17bb45(0x526)]);return _0x308134['_schedule'](),_0x308134[_0x17bb45(0x523)](),_0x308134;}[_0x3d1808(0x519)](_0x8bce81){var _0x1d624c=_0x3d1808;if(this[_0x1d624c(0x21b)](_0x8bce81))return this['_injector']['createInstance'](_0x1065a7[_0x1d624c(0x49d)],this[_0x1d624c(0x345)],this['type'],null,[],null,[_0x8bce81],this[_0x1d624c(0x526)]);try{const _0x2a1003=this[_0x1d624c(0x51f)][_0x1d624c(0x441)](_0x8bce81,[_0x3ab606[_0x1d624c(0x462)]]);if(_0x3ab606['isTransformMutationsWithChangesetSuccess'](_0x2a1003)){const {c1Prime:_0x3730db}=_0x2a1003;return this[_0x1d624c(0x510)](_0x3730db),this;}throw _0x2a1003['error'];}catch(_0xea505a){return this[_0x1d624c(0x4dc)][_0x1d624c(0x3f5)](_0xea505a),this[_0x1d624c(0x4f5)](!0x1);}}[_0x3d1808(0x4f5)](_0x5b7727){var _0x23cbc0=_0x3d1808;return this[_0x23cbc0(0x50f)][_0x23cbc0(0x3af)](_0x1065a7['ConflictState'],this['unitID'],this[_0x23cbc0(0x436)],null,[],this[_0x23cbc0(0x526)],_0x5b7727);}[_0x3d1808(0x23f)](){var _0x13e18f=_0x3d1808;throw new Error(_0x13e18f(0x4ed));}[_0x3d1808(0x414)](){var _0x135133=_0x3d1808;throw new Error(_0x135133(0x3ea));}['onRemoteRetry'](){return this;}[_0x3d1808(0x2f3)](){var _0x38d59a=_0x3d1808;return this[_0x38d59a(0x50f)][_0x38d59a(0x3af)](_0x1065a7['OfflineState'],this[_0x38d59a(0x345)],this['type'],null,[],this['_handler']);}[_0x3d1808(0x35c)](){return this;}['resend'](){var _0x451615=_0x3d1808;throw new Error(_0x451615(0x3ee));}['fetchMiss'](){var _0x1e9d1f=_0x3d1808;const _0x51104a=this[_0x1e9d1f(0x29f)][_0x1e9d1f(0x417)](this['unitID']);return this[_0x1e9d1f(0x526)]['onMissingChangesets']({'from':_0x51104a,'to':0x0}),this[_0x1e9d1f(0x50f)][_0x1e9d1f(0x3af)](_0x1065a7[_0x1e9d1f(0x49d)],this[_0x1e9d1f(0x345)],this[_0x1e9d1f(0x436)],null,[],null,[],this[_0x1e9d1f(0x526)]);}},_0x1065a7[_0x3d1808(0x363)]=_0x456781([_0xa6ca36(0x3,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x2ef)])),_0xa6ca36(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0xa6ca36(0x5,_0x5bafa4['IUndoRedoService']),_0xa6ca36(0x6,_0x5bafa4[_0x3d1808(0x3fc)]),_0xa6ca36(0x7,_0x5bafa4[_0x3d1808(0x528)]),_0xa6ca36(0x8,_0x3ab606['ITransformService']),_0xa6ca36(0x9,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7['SyncedState']),_0x1065a7['PendingState']=class extends _0x312db3{constructor(_0x42dbf1,_0x4eeb55,_0x16bdff,_0x4c5e2c,_0x3a7ee6,_0x35c6b6,_0x2e68d4,_0x4b2b8d,_0x1846f1,_0x1e62cc,_0x5cac2b,_0x54752a,_0x500244,_0x2a7238){var _0x59e87c=_0x3d1808;super(_0x42dbf1,_0x4eeb55,null,_0x16bdff,_0x4c5e2c,_0x1846f1,_0x500244,_0x35c6b6,_0x2a7238),_0x3fc7c7(this,_0x59e87c(0x37c),_0x59e87c(0x411)),_0x3fc7c7(this,_0x59e87c(0x29e),null),_0x3fc7c7(this,_0x59e87c(0x385),null),(this[_0x59e87c(0x50f)]=_0x3a7ee6,this[_0x59e87c(0x3e7)]=_0x2e68d4,this['_logService']=_0x4b2b8d,this['_configService']=_0x1e62cc,this['_transformService']=_0x5cac2b,this[_0x59e87c(0x4b8)]=_0x54752a);}[_0x3d1808(0x33b)](_0x581c9d){var _0x15e2c9=_0x3d1808;return this['_pendingMutations']['push'](_0x581c9d),this[_0x15e2c9(0x523)](),this;}['onRemoteChangeset'](_0x73cc2f){var _0x2d160c=_0x3d1808;if(this[_0x2d160c(0x21b)](_0x73cc2f))return this['_clearScheduledTask'](),this['_injector'][_0x2d160c(0x3af)](_0x1065a7[_0x2d160c(0x49d)],this[_0x2d160c(0x345)],this[_0x2d160c(0x436)],null,this[_0x2d160c(0x3ff)],null,[_0x73cc2f],this[_0x2d160c(0x526)]);try{const _0x1ccabb=this[_0x2d160c(0x51f)][_0x2d160c(0x441)](_0x73cc2f,this[_0x2d160c(0x3ff)]);if(_0x3ab606[_0x2d160c(0x37b)](_0x1ccabb)){const {c1Prime:_0x4a84dd,m2Prime:_0x4f037e}=_0x1ccabb;this[_0x2d160c(0x510)](_0x4a84dd);const _0x44f30c=this['_injector'][_0x2d160c(0x3af)](_0x1065a7['PendingState'],this[_0x2d160c(0x345)],this[_0x2d160c(0x436)],_0x4f037e,this[_0x2d160c(0x526)]);this['_clearScheduledTask']();const _0x4ba5e4=new Date()[_0x2d160c(0x3fd)](),_0x27bb7e=this[_0x2d160c(0x29e)]?Math[_0x2d160c(0x554)](this[_0x2d160c(0x29e)]-_0x4ba5e4,0x0):this[_0x2d160c(0x427)]();return _0x44f30c[_0x2d160c(0x4be)](_0x27bb7e),_0x44f30c;}throw _0x1ccabb[_0x2d160c(0x3f5)];}catch(_0x36303c){return this['_logService'][_0x2d160c(0x3f5)](_0x36303c),this['_onConflict'](!0x1);}}[_0x3d1808(0x23f)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x3d1808(0x414)](){var _0x39ba98=_0x3d1808;throw new Error(_0x39ba98(0x2e0));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x4cd8d7=_0x3d1808;return this[_0x4cd8d7(0x33c)](),this[_0x4cd8d7(0x50f)][_0x4cd8d7(0x3af)](_0x1065a7[_0x4cd8d7(0x423)],this[_0x4cd8d7(0x345)],this[_0x4cd8d7(0x436)],null,this['_pendingMutations'],this[_0x4cd8d7(0x526)]);}[_0x3d1808(0x35c)](){return this;}[_0x3d1808(0x4be)](_0x543fdd){var _0xb2c738=_0x3d1808;const _0x4d9fab=_0x543fdd!=null?_0x543fdd:this[_0xb2c738(0x427)]();this[_0xb2c738(0x29e)]=new Date()[_0xb2c738(0x3fd)]()+_0x4d9fab,this[_0xb2c738(0x385)]=setTimeout(()=>{var _0x3c07f3=_0xb2c738;this[_0x3c07f3(0x33c)]();let _0x2368fe=null;switch(this['type']){case _0x32e542['UNIVER_SHEET']:{_0x2368fe=_0x3cb94a(this[_0x3c07f3(0x3ff)],this[_0x3c07f3(0x345)],this[_0x3c07f3(0x4b8)],this[_0x3c07f3(0x29f)],this[_0x3c07f3(0x3e7)]);break;}case _0x32e542[_0x3c07f3(0x25d)]:{this['_pendingMutations'][_0x3c07f3(0x397)](_0x4480cd=>_0x4480cd['id']===_0x460538[_0x3c07f3(0x4a6)]['id'])?_0x2368fe=_0x2ade53(this[_0x3c07f3(0x3ff)],this['unitID'],this[_0x3c07f3(0x4b8)],this[_0x3c07f3(0x29f)],this['_memberService']):_0x2368fe=_0x3cb94a(this[_0x3c07f3(0x3ff)],this['unitID'],this['_univerInstanceService'],this[_0x3c07f3(0x29f)],this[_0x3c07f3(0x3e7)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x3c07f3(0x436)]+_0x3c07f3(0x3f2));}const {changeset:_0x46f530,pendingMutations:_0x8e9810}=_0x2368fe;this[_0x3c07f3(0x526)][_0x3c07f3(0x4b2)](_0x46f530);const _0x255880=_0x8e9810[_0x3c07f3(0x3c5)]?this[_0x3c07f3(0x50f)][_0x3c07f3(0x3af)](_0x1065a7[_0x3c07f3(0x446)],this[_0x3c07f3(0x345)],this[_0x3c07f3(0x436)],_0x46f530,_0x8e9810,this['_handler'],void 0x0):this[_0x3c07f3(0x50f)][_0x3c07f3(0x3af)](_0x1065a7[_0x3c07f3(0x517)],this[_0x3c07f3(0x345)],this['type'],_0x46f530,this[_0x3c07f3(0x526)]);_0x255880[_0x3c07f3(0x523)](),this[_0x3c07f3(0x526)][_0x3c07f3(0x2c8)](this,_0x255880);},_0x4d9fab);}[_0x3d1808(0x427)](){var _0xdbe69=_0x3d1808,_0x476a08;const _0x22ac46=this[_0xdbe69(0x4ee)][_0xdbe69(0x38b)](_0x755dce);return(_0x476a08=_0x22ac46==null?void 0x0:_0x22ac46[_0xdbe69(0x486)])!=null?_0x476a08:0x7d0;}[_0x3d1808(0x532)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0xcf3a37=_0x3d1808;this[_0xcf3a37(0x385)]!=null&&(clearTimeout(this[_0xcf3a37(0x385)]),this[_0xcf3a37(0x385)]=null);}[_0x3d1808(0x4f5)](_0x341ae0){var _0x3089e9=_0x3d1808;return this['_clearScheduledTask'](),this[_0x3089e9(0x50f)][_0x3089e9(0x3af)](_0x1065a7[_0x3089e9(0x44f)],this[_0x3089e9(0x345)],this[_0x3089e9(0x436)],null,this[_0x3089e9(0x3ff)],this[_0x3089e9(0x526)],_0x341ae0);}},_0x1065a7[_0x3d1808(0x271)]=_0x456781([_0xa6ca36(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0xa6ca36(0x5,_0x5bafa4['Inject'](_0x3ab606['RevisionService'])),_0xa6ca36(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x1065a7[_0x3d1808(0x41b)])),_0xa6ca36(0x7,_0x5bafa4[_0x3d1808(0x528)]),_0xa6ca36(0x8,_0x5bafa4[_0x3d1808(0x3fc)]),_0xa6ca36(0x9,_0x5bafa4[_0x3d1808(0x34c)]),_0xa6ca36(0xa,_0x3ab606['ITransformService']),_0xa6ca36(0xb,_0x5bafa4[_0x3d1808(0x443)]),_0xa6ca36(0xc,_0x5bafa4[_0x3d1808(0x407)]),_0xa6ca36(0xd,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7[_0x3d1808(0x271)]),_0x1065a7[_0x3d1808(0x517)]=class extends _0x312db3{constructor(_0x305bba,_0x3c4585,_0x3698ee,_0x59d60d,_0x2d1161,_0x5476f3,_0x42f8f4,_0x4c0d4d,_0x490d8e,_0x871e87,_0x584e38){var _0x1dfb21=_0x3d1808;super(_0x305bba,_0x3c4585,_0x3698ee,[],_0x59d60d,_0x42f8f4,_0x871e87,_0x5476f3,_0x584e38),_0x3fc7c7(this,_0x1dfb21(0x37c),_0x1dfb21(0x4aa)),_0x3fc7c7(this,_0x1dfb21(0x2d9),0x0),_0x3fc7c7(this,_0x1dfb21(0x442)),_0x3fc7c7(this,_0x1dfb21(0x32f)),(this['_injector']=_0x2d1161,this['_logService']=_0x4c0d4d,this[_0x1dfb21(0x51f)]=_0x490d8e);}[_0x3d1808(0x33b)](_0x17dfd9){var _0x50c58e=_0x3d1808;this[_0x50c58e(0x33c)]();const _0x201273=this['_injector'][_0x50c58e(0x3af)](_0x1065a7[_0x50c58e(0x446)],this['unitID'],this[_0x50c58e(0x436)],this[_0x50c58e(0x37e)],[_0x17dfd9],this[_0x50c58e(0x526)],this[_0x50c58e(0x442)]);return _0x201273[_0x50c58e(0x523)](),_0x201273;}[_0x3d1808(0x519)](_0x38685c){var _0x13ab13=_0x3d1808;if(this[_0x13ab13(0x21b)](_0x38685c))return this[_0x13ab13(0x33c)](),this[_0x13ab13(0x50f)][_0x13ab13(0x3af)](_0x1065a7[_0x13ab13(0x49d)],this[_0x13ab13(0x345)],this[_0x13ab13(0x436)],this[_0x13ab13(0x37e)],[],null,[_0x38685c],this['_handler']);try{const _0x3caff9=this['_transformService'][_0x13ab13(0x368)]([_0x38685c],[this[_0x13ab13(0x37e)]],!0x1);if(_0x3ab606['isTransformChangesetsSuccess'](_0x3caff9)){const {c1Prime:_0x33733c,c2Prime:_0x3ce5c6}=_0x3caff9;this[_0x13ab13(0x510)](_0x33733c[0x0]),_0x3ce5c6[0x0][_0x13ab13(0x47d)]=this['_getCurrentRevision'](),this[_0x13ab13(0x33c)]();const _0x543000=this[_0x13ab13(0x50f)][_0x13ab13(0x3af)](_0x1065a7[_0x13ab13(0x517)],this[_0x13ab13(0x345)],this['type'],_0x3ce5c6[0x0],this[_0x13ab13(0x526)]);return _0x543000[_0x13ab13(0x523)](),_0x543000;}return this[_0x13ab13(0x4f5)](!0x1);}catch(_0x17c453){return this[_0x13ab13(0x4dc)][_0x13ab13(0x3f5)](_0x17c453),this[_0x13ab13(0x4f5)](!0x1);}}[_0x3d1808(0x23f)](_0x18a2fc){var _0x2a10d3=_0x3d1808;this[_0x2a10d3(0x33c)]();const _0x1bf420=this[_0x2a10d3(0x29f)][_0x2a10d3(0x417)](this['unitID']);if(_0x18a2fc[_0x2a10d3(0x42d)]<_0x1bf420-0x1)return this;if(this['_checkMissing'](_0x18a2fc))return this[_0x2a10d3(0x50f)][_0x2a10d3(0x3af)](_0x1065a7['FetchingMissState'],this[_0x2a10d3(0x345)],this['type'],null,[],this[_0x2a10d3(0x37e)],[],this[_0x2a10d3(0x526)]);this[_0x2a10d3(0x555)]();const _0x3d6144=this['_injector'][_0x2a10d3(0x3af)](_0x1065a7['SyncedState'],this[_0x2a10d3(0x345)],this[_0x2a10d3(0x436)],this[_0x2a10d3(0x526)]);return _0x3d6144[_0x2a10d3(0x523)](),_0x3d6144;}[_0x3d1808(0x414)](_0x5316b5){var _0x2095dc=_0x3d1808;return this[_0x2095dc(0x4f5)](!!(_0x5316b5!=null&&_0x5316b5[_0x2095dc(0x3cd)]));}[_0x3d1808(0x1e7)](_0x358b98){var _0x18873f=_0x3d1808;return this[_0x18873f(0x2d9)]>_0x12c628?this[_0x18873f(0x2f3)]():(this[_0x18873f(0x442)]=_0x16a698(this[_0x18873f(0x2d9)],{'timeout':this[_0x18873f(0x2d9)],'reqId':_0x358b98[_0x18873f(0x534)]}),this['_sender']=this[_0x18873f(0x442)][_0x18873f(0x239)](({reqId:_0x70a9c6,timeout:_0x2888d0})=>{var _0x444c9e=_0x18873f;this[_0x444c9e(0x2ed)](_0x70a9c6,_0x2888d0);}),this);}[_0x3d1808(0x2f3)](){var _0x3af181=_0x3d1808;return this['_clearScheduledTask'](),this[_0x3af181(0x50f)]['createInstance'](_0x1065a7[_0x3af181(0x423)],this[_0x3af181(0x345)],this[_0x3af181(0x436)],this[_0x3af181(0x37e)],[],this['_handler']);}[_0x3d1808(0x35c)](){return this;}[_0x3d1808(0x532)](){var _0x227be7=_0x3d1808;this[_0x227be7(0x526)][_0x227be7(0x4b2)](this['_awaitingChangeset']);}[_0x3d1808(0x4f5)](_0x104e91){var _0x336730=_0x3d1808;return this['_clearScheduledTask'](),this[_0x336730(0x50f)]['createInstance'](_0x1065a7[_0x336730(0x44f)],this[_0x336730(0x345)],this[_0x336730(0x436)],this[_0x336730(0x37e)],[],this[_0x336730(0x526)],_0x104e91);}[_0x3d1808(0x2ed)](_0x53dea1,_0x4f9541){var _0x311dfd=_0x3d1808,_0x37107d;_0x53dea1===((_0x37107d=this[_0x311dfd(0x37e)])==null?void 0x0:_0x37107d[_0x311dfd(0x534)])&&(this[_0x311dfd(0x532)](),this['_resendTimeout']=_0x4f9541===0x0?0x3e8:_0x4f9541*0x2);}['_clearScheduledTask'](){var _0x167375=_0x3d1808,_0x9afbc3;(_0x9afbc3=this[_0x167375(0x32f)])==null||_0x9afbc3[_0x167375(0x31d)](),this[_0x167375(0x2d9)]=0x0;}},_0x1065a7['AwaitingState']=_0x456781([_0xa6ca36(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0xa6ca36(0x5,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x2ef)])),_0xa6ca36(0x6,_0x5bafa4['ICommandService']),_0xa6ca36(0x7,_0x5bafa4['ILogService']),_0xa6ca36(0x8,_0x3ab606[_0x3d1808(0x269)]),_0xa6ca36(0x9,_0x5bafa4[_0x3d1808(0x407)]),_0xa6ca36(0xa,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7[_0x3d1808(0x517)]),_0x1065a7[_0x3d1808(0x446)]=class extends _0x312db3{constructor(_0x4eaa98,_0xedf8a0,_0x528791,_0x22d256,_0x2f304d,_0x2f2b2d,_0x3ccef0,_0x50d3ae,_0x4b1301,_0x684c8b,_0x3963f2,_0x3ad67e,_0x2a147e){var _0x28703b=_0x3d1808;super(_0x4eaa98,_0xedf8a0,_0x528791,_0x22d256,_0x2f304d,_0x4b1301,_0x3ad67e,_0x50d3ae,_0x2a147e),_0x3fc7c7(this,_0x28703b(0x37c),_0x28703b(0x225)),_0x3fc7c7(this,_0x28703b(0x2d9),0x0),_0x3fc7c7(this,_0x28703b(0x442)),_0x3fc7c7(this,_0x28703b(0x32f)),(this[_0x28703b(0x50f)]=_0x3ccef0,this[_0x28703b(0x4dc)]=_0x684c8b,this[_0x28703b(0x51f)]=_0x3963f2,this['localCacheService']=_0x2a147e,_0x2f2b2d&&(this[_0x28703b(0x442)]=_0x2f2b2d,this[_0x28703b(0x32f)]=this[_0x28703b(0x442)][_0x28703b(0x239)](({reqId:_0x166bf7,timeout:_0xc1a854})=>{var _0xd5fd49=_0x28703b;this[_0xd5fd49(0x2ed)](_0x166bf7,_0xc1a854);})));}[_0x3d1808(0x33b)](_0x5a8025){var _0x17bf2b=_0x3d1808;return this[_0x17bf2b(0x3ff)]['push'](_0x5a8025),this;}[_0x3d1808(0x519)](_0x518bf0){var _0x400328=_0x3d1808;if(this[_0x400328(0x21b)](_0x518bf0))return this[_0x400328(0x33c)](),this[_0x400328(0x50f)][_0x400328(0x3af)](_0x1065a7[_0x400328(0x49d)],this[_0x400328(0x345)],this[_0x400328(0x436)],this[_0x400328(0x37e)],this['_pendingMutations'],null,[_0x518bf0],this[_0x400328(0x526)]);try{const _0x367137=this[_0x400328(0x51f)][_0x400328(0x368)]([_0x518bf0],[this[_0x400328(0x37e)]],!0x1);if(_0x3ab606['isTransformChangesetsSuccess'](_0x367137)){const {c1Prime:_0x4ce054,c2Prime:_0x13ab89}=_0x367137,_0x50ca9c=this[_0x400328(0x51f)]['transformMutationsWithChangeset'](_0x4ce054[0x0],this[_0x400328(0x3ff)]);if(_0x3ab606[_0x400328(0x37b)](_0x50ca9c)){const {c1Prime:_0x29c9c7,m2Prime:_0x7b3a05}=_0x50ca9c;return this[_0x400328(0x510)](_0x29c9c7),_0x13ab89[0x0]['baseRev']=this[_0x400328(0x347)](),this['_clearScheduledTask'](),this[_0x400328(0x50f)][_0x400328(0x3af)](_0x1065a7[_0x400328(0x446)],this[_0x400328(0x345)],this[_0x400328(0x436)],_0x13ab89[0x0],_0x7b3a05,this[_0x400328(0x526)],void 0x0);}throw _0x50ca9c[_0x400328(0x3f5)];}throw _0x367137[_0x400328(0x3f5)];}catch(_0x3e51e4){return this[_0x400328(0x4dc)][_0x400328(0x3f5)](_0x3e51e4),this[_0x400328(0x4f5)](!0x1);}}[_0x3d1808(0x23f)](_0x42b3b7){var _0x1dd288=_0x3d1808;if(this[_0x1dd288(0x33c)](),this[_0x1dd288(0x21b)](_0x42b3b7))return this[_0x1dd288(0x50f)][_0x1dd288(0x3af)](_0x1065a7[_0x1dd288(0x49d)],this[_0x1dd288(0x345)],this['type'],null,this[_0x1dd288(0x3ff)],this['_awaitingChangeset'],[],this[_0x1dd288(0x526)]);this[_0x1dd288(0x555)]();const _0x29268e=this[_0x1dd288(0x50f)]['createInstance'](_0x1065a7[_0x1dd288(0x271)],this['unitID'],this[_0x1dd288(0x436)],this['_pendingMutations'],this[_0x1dd288(0x526)]);return _0x29268e[_0x1dd288(0x4be)](),_0x29268e[_0x1dd288(0x523)](),_0x29268e;}[_0x3d1808(0x414)](_0x228fda){return this['_onConflict'](!!(_0x228fda!=null&&_0x228fda['isPermissionRej']));}[_0x3d1808(0x1e7)](_0x15fb63){var _0x31722d=_0x3d1808;return this[_0x31722d(0x2d9)]>_0x12c628?this[_0x31722d(0x2f3)]():(this[_0x31722d(0x442)]=_0x16a698(this[_0x31722d(0x2d9)],{'timeout':this[_0x31722d(0x2d9)],'reqId':_0x15fb63['reqId']}),this[_0x31722d(0x32f)]=this[_0x31722d(0x442)]['subscribe'](({reqId:_0x5ee983,timeout:_0x37c49f})=>{var _0x56721e=_0x31722d;this[_0x56721e(0x2ed)](_0x5ee983,_0x37c49f);}),this);}['toggleOffline'](){var _0x468d0f=_0x3d1808;return this[_0x468d0f(0x33c)](),this[_0x468d0f(0x50f)][_0x468d0f(0x3af)](_0x1065a7[_0x468d0f(0x423)],this[_0x468d0f(0x345)],this['type'],this[_0x468d0f(0x37e)],this[_0x468d0f(0x3ff)],this[_0x468d0f(0x526)]);}['toggleOnline'](){return this;}['resend'](){var _0x448551=_0x3d1808;this[_0x448551(0x526)]['onSendChangeset'](this[_0x448551(0x37e)]);}[_0x3d1808(0x4f5)](_0x18c53c){var _0x3dd557=_0x3d1808;return this[_0x3dd557(0x33c)](),this['_injector'][_0x3dd557(0x3af)](_0x1065a7[_0x3dd557(0x44f)],this[_0x3dd557(0x345)],this[_0x3dd557(0x436)],null,this[_0x3dd557(0x3ff)],this[_0x3dd557(0x526)],_0x18c53c);}[_0x3d1808(0x2ed)](_0x2b4ab7,_0x3ed06b){var _0x1b4a7d=_0x3d1808,_0x3a9251;_0x2b4ab7===((_0x3a9251=this[_0x1b4a7d(0x37e)])==null?void 0x0:_0x3a9251[_0x1b4a7d(0x534)])&&(this[_0x1b4a7d(0x532)](),this[_0x1b4a7d(0x2d9)]=_0x3ed06b===0x0?0x3e8:_0x3ed06b*0x2);}[_0x3d1808(0x33c)](){var _0x1f81ab=_0x3d1808,_0x396232;(_0x396232=this[_0x1f81ab(0x32f)])==null||_0x396232['unsubscribe'](),this[_0x1f81ab(0x2d9)]=0x0;}},_0x1065a7[_0x3d1808(0x446)]=_0x456781([_0xa6ca36(0x6,_0x5bafa4['Inject'](_0x5bafa4[_0x3d1808(0x511)])),_0xa6ca36(0x7,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x2ef)])),_0xa6ca36(0x8,_0x5bafa4[_0x3d1808(0x3fc)]),_0xa6ca36(0x9,_0x5bafa4[_0x3d1808(0x528)]),_0xa6ca36(0xa,_0x3ab606[_0x3d1808(0x269)]),_0xa6ca36(0xb,_0x5bafa4['IUndoRedoService']),_0xa6ca36(0xc,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7[_0x3d1808(0x446)]),_0x1065a7['ConflictState']=class extends _0x312db3{constructor(_0x4e9b66,_0xbeef1c,_0x5568eb,_0x8b3a3b,_0x599577,_0x1e81e0=!0x1,_0x3c1a0f,_0x2ef3c2,_0x3bca03,_0x47ce5d,_0x5bc35b,_0x5c30e5,_0x13318d){var _0x2d3d75=_0x3d1808;super(_0x4e9b66,_0xbeef1c,_0x5568eb,_0x8b3a3b,_0x599577,_0x2ef3c2,_0x3bca03,_0x47ce5d,_0x13318d),_0x3fc7c7(this,_0x2d3d75(0x37c),'conflict'),(this[_0x2d3d75(0x4a2)]=_0x1e81e0,this[_0x2d3d75(0x56a)]=_0x3c1a0f,this[_0x2d3d75(0x512)]=_0x5bc35b,this['_collaborationUIEventService']=_0x5c30e5,this[_0x2d3d75(0x3d9)]=_0x13318d,this[_0x2d3d75(0x449)](),this[_0x2d3d75(0x3cc)](),this[_0x2d3d75(0x379)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x3d1808(0x23f)](){return this;}[_0x3d1808(0x414)](){return this;}[_0x3d1808(0x1e7)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x3d1808(0x532)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3d1808(0x3cc)](){var _0x5e716f=_0x3d1808,_0x5cbe8b;(_0x5cbe8b=this[_0x5e716f(0x4b5)])==null||_0x5cbe8b[_0x5e716f(0x25e)](this['unitID'],this[_0x5e716f(0x436)],null,[]);}['_showConflictNotification'](){var _0x307d99=_0x3d1808;this[_0x307d99(0x4a2)]?this[_0x307d99(0x387)][_0x307d99(0x3e2)]({'id':_0x38090c[_0x307d99(0x2f2)]}):this[_0x307d99(0x387)][_0x307d99(0x3e2)]({'id':_0x38090c[_0x307d99(0x332)]});}[_0x3d1808(0x379)](){var _0x2f5fd2=_0x3d1808;this[_0x2f5fd2(0x56a)][_0x2f5fd2(0x409)](new _0x1c5262[(_0x2f5fd2(0x394))](this[_0x2f5fd2(0x345)])['id'],!0x1);}},_0x1065a7['ConflictState']=_0x456781([_0xa6ca36(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4['IPermissionService'])),_0xa6ca36(0x7,_0x5bafa4[_0x3d1808(0x3fc)]),_0xa6ca36(0x8,_0x5bafa4[_0x3d1808(0x407)]),_0xa6ca36(0x9,_0x5bafa4['Inject'](_0x3ab606[_0x3d1808(0x2ef)])),_0xa6ca36(0xa,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x2e1)])),_0xa6ca36(0xb,_0x5bafa4[_0x3d1808(0x317)](_0x10cfe4)),_0xa6ca36(0xc,_0x5bafa4['Optional'](_0xd8e545))],_0x1065a7[_0x3d1808(0x44f)]),_0x1065a7[_0x3d1808(0x423)]=class extends _0x312db3{constructor(_0x3ee0f3,_0x348872,_0x3392f2,_0x54692e,_0x4e2ed,_0x326293,_0x5a88fa,_0x251ee1,_0x1c77d5,_0x1bb8cb){var _0x5ae98e=_0x3d1808;super(_0x3ee0f3,_0x348872,_0x3392f2,_0x54692e,_0x4e2ed,_0x251ee1,_0x1c77d5,_0x5a88fa,_0x1bb8cb),_0x3fc7c7(this,_0x5ae98e(0x37c),_0x5ae98e(0x459)),this[_0x5ae98e(0x50f)]=_0x326293;}['appendMutation'](_0xb3d64c){var _0x492b50=_0x3d1808;return this['_pendingMutations'][_0x492b50(0x381)](_0xb3d64c),this[_0x492b50(0x523)](),this;}[_0x3d1808(0x519)](_0x22a986){var _0xe393b3=_0x3d1808;throw new Error(_0xe393b3(0x49c));}[_0x3d1808(0x23f)](){var _0x395122=_0x3d1808;throw new Error(_0x395122(0x355));}[_0x3d1808(0x414)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x3d1808(0x1e7)](){return this;}[_0x3d1808(0x2f3)](){return this;}[_0x3d1808(0x35c)](){var _0x371bc5=_0x3d1808;const {_injector:_0x1852d1,_pendingMutations:_0x428c21,_awaitingChangeset:_0x23bb11,unitID:_0x1206c5,_handler:_0x49f361,type:_0x128e2b}=this,_0x5a6444=_0x16d863(_0x1852d1,_0x1206c5,_0x128e2b,_0x23bb11,_0x428c21,_0x49f361);return _0x5a6444 instanceof _0x1065a7[_0x371bc5(0x271)]?_0x5a6444['_schedule']():(_0x5a6444 instanceof _0x1065a7[_0x371bc5(0x446)]||_0x5a6444 instanceof _0x1065a7[_0x371bc5(0x517)])&&_0x5a6444['resend'](),_0x5a6444;}[_0x3d1808(0x532)](){var _0x54998a=_0x3d1808;throw new Error(_0x54998a(0x43d));}},_0x1065a7['OfflineState']=_0x456781([_0xa6ca36(0x5,_0x5bafa4['Inject'](_0x5bafa4[_0x3d1808(0x511)])),_0xa6ca36(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606['RevisionService'])),_0xa6ca36(0x7,_0x5bafa4[_0x3d1808(0x3fc)]),_0xa6ca36(0x8,_0x5bafa4['IUndoRedoService']),_0xa6ca36(0x9,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7['OfflineState']),_0x1065a7[_0x3d1808(0x49d)]=class extends _0x312db3{constructor(_0x53f4c9,_0x41435f,_0x5df672,_0x4f0141,_0x2f96f1,_0x4aadea,_0x1fcaa6,_0x36205c,_0x128ca7,_0x385bb4,_0x266fa8,_0x493d2e,_0x1c4dd4,_0x401f22){var _0x32354e=_0x3d1808;super(_0x53f4c9,_0x41435f,_0x5df672,_0x4f0141,_0x1fcaa6,_0x266fa8,_0x493d2e,_0x128ca7,_0x401f22),_0x3fc7c7(this,_0x32354e(0x37c),_0x32354e(0x408)),(this[_0x32354e(0x1d9)]=_0x2f96f1,this[_0x32354e(0x325)]=_0x4aadea,this[_0x32354e(0x50f)]=_0x36205c,this['_logService']=_0x385bb4,this[_0x32354e(0x51f)]=_0x1c4dd4,this[_0x32354e(0x3d9)]=_0x401f22);}[_0x3d1808(0x49b)](_0x5af1a5){var _0x255e72=_0x3d1808;try{const _0x2b275c=[..._0x5af1a5,...this[_0x255e72(0x325)]],_0x5a11ea=[this[_0x255e72(0x37e)]||this['_acknowledgedAwaitingChangeset']][_0x255e72(0x3d2)](_0x44c68f=>!!_0x44c68f);let _0x29ad6d,_0x576ccd;if(_0x5a11ea[_0x255e72(0x3c5)]){const _0xfe6ff1=this[_0x255e72(0x51f)]['transformChangesets'](_0x2b275c,_0x5a11ea,!0x1);if(!_0x3ab606['isTransformChangesetsSuccess'](_0xfe6ff1))throw _0xfe6ff1[_0x255e72(0x3f5)];_0x29ad6d=_0xfe6ff1['c1Prime'],_0x576ccd=_0xfe6ff1['c2Prime'];}else _0x29ad6d=_0x2b275c,_0x576ccd=[];let _0x9918fc=this[_0x255e72(0x3ff)];_0x29ad6d[_0x255e72(0x27c)](_0x5b8730=>{var _0x141bd5=_0x255e72;let _0x5a512c;if(_0x9918fc[_0x141bd5(0x3c5)]){const _0x2a25d2=this[_0x141bd5(0x51f)][_0x141bd5(0x441)](_0x5b8730,_0x9918fc);if(!_0x3ab606[_0x141bd5(0x37b)](_0x2a25d2))throw _0x2a25d2[_0x141bd5(0x3f5)];_0x5a512c=_0x2a25d2['c1Prime'],_0x9918fc=_0x2a25d2[_0x141bd5(0x45e)];}else _0x5a512c=_0x5b8730;this[_0x141bd5(0x510)](_0x5a512c);}),this[_0x255e72(0x1d9)]&&this[_0x255e72(0x555)](),this['_awaitingChangeset']&&_0x576ccd[_0x255e72(0x3c5)]&&(_0x576ccd[0x0][_0x255e72(0x47d)]=this['_getCurrentRevision']());let _0x30c150;if(this[_0x255e72(0x37e)]&&_0x9918fc[_0x255e72(0x3c5)]!==0x0)_0x30c150=this[_0x255e72(0x50f)]['createInstance'](_0x1065a7[_0x255e72(0x446)],this[_0x255e72(0x345)],this[_0x255e72(0x436)],_0x576ccd[0x0],_0x9918fc,this[_0x255e72(0x526)],void 0x0);else{if(this[_0x255e72(0x37e)]&&_0x9918fc[_0x255e72(0x3c5)]===0x0)_0x576ccd[0x0][_0x255e72(0x47d)]=this[_0x255e72(0x347)](),_0x30c150=this[_0x255e72(0x50f)][_0x255e72(0x3af)](_0x1065a7[_0x255e72(0x517)],this[_0x255e72(0x345)],this['type'],_0x576ccd[0x0],this['_handler']);else{if(_0x9918fc['length']!==0x0){const _0x107665=this[_0x255e72(0x50f)]['createInstance'](_0x1065a7[_0x255e72(0x271)],this['unitID'],this[_0x255e72(0x436)],_0x9918fc,this['_handler']);_0x107665[_0x255e72(0x4be)](),_0x30c150=_0x107665;}else _0x30c150=this['_injector'][_0x255e72(0x3af)](_0x1065a7['SyncedState'],this[_0x255e72(0x345)],this[_0x255e72(0x436)],this[_0x255e72(0x526)]);}}return _0x30c150[_0x255e72(0x523)](),_0x30c150;}catch(_0x44ebb8){return this[_0x255e72(0x4dc)][_0x255e72(0x3f5)](_0x255e72(0x331),'failed\x20to\x20apply\x20missed\x20changesets!',_0x44ebb8),this['_injector']['createInstance'](_0x1065a7[_0x255e72(0x44f)],this[_0x255e72(0x345)],this['type'],this['_awaitingChangeset'],this[_0x255e72(0x3ff)],this['_handler'],!0x1);}}[_0x3d1808(0x532)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3d1808(0x33b)](_0x27b34c){var _0x3a5bc6=_0x3d1808;return this[_0x3a5bc6(0x3ff)][_0x3a5bc6(0x381)](_0x27b34c),this;}['onRemoteChangeset'](_0x13c8d0){var _0x449e33=_0x3d1808;return this['_queuedRemoteChangesets'][_0x449e33(0x381)](_0x13c8d0),this;}['onRemoteAck'](_0x2891b9){var _0x405683=_0x3d1808;if(this[_0x405683(0x37e)])return this[_0x405683(0x1d9)]=this[_0x405683(0x37e)],this[_0x405683(0x37e)]=null,this;throw new Error(_0x405683(0x4fd));}['onRemoteRej'](_0x49f619){var _0x35de45=_0x3d1808;return this[_0x35de45(0x4f5)](!!(_0x49f619!=null&&_0x49f619['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x3d1808(0x2f3)](){var _0x224eb5=_0x3d1808;return this[_0x224eb5(0x50f)][_0x224eb5(0x3af)](_0x1065a7[_0x224eb5(0x423)],this[_0x224eb5(0x345)],this['type'],this['_awaitingChangeset'],this[_0x224eb5(0x3ff)],this[_0x224eb5(0x526)]);}['toggleOnline'](){return this;}[_0x3d1808(0x4f5)](_0x188bb5){var _0x570b0e=_0x3d1808;return this['_injector'][_0x570b0e(0x3af)](_0x1065a7['ConflictState'],this[_0x570b0e(0x345)],this[_0x570b0e(0x436)],this[_0x570b0e(0x37e)],this['_pendingMutations'],this[_0x570b0e(0x526)],_0x188bb5);}},_0x1065a7['FetchingMissState']=_0x456781([_0xa6ca36(0x7,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0xa6ca36(0x8,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x2ef)])),_0xa6ca36(0x9,_0x5bafa4['ILogService']),_0xa6ca36(0xa,_0x5bafa4['ICommandService']),_0xa6ca36(0xb,_0x5bafa4['IUndoRedoService']),_0xa6ca36(0xc,_0x3ab606[_0x3d1808(0x269)]),_0xa6ca36(0xd,_0x5bafa4['Optional'](_0xd8e545))],_0x1065a7[_0x3d1808(0x49d)]);function _0x16d863(_0x2284fd,_0x1f0636,_0x4c72b7,_0x496709,_0x50925e,_0x531e18){var _0x15f420=_0x3d1808;return _0x496709&&_0x50925e[_0x15f420(0x3c5)]?_0x2284fd['createInstance'](_0x1065a7[_0x15f420(0x446)],_0x1f0636,_0x4c72b7,_0x496709,_0x50925e,_0x531e18,void 0x0):_0x496709?_0x2284fd[_0x15f420(0x3af)](_0x1065a7[_0x15f420(0x517)],_0x1f0636,_0x4c72b7,_0x496709,_0x531e18):_0x50925e[_0x15f420(0x3c5)]?_0x2284fd[_0x15f420(0x3af)](_0x1065a7[_0x15f420(0x271)],_0x1f0636,_0x4c72b7,_0x50925e,_0x531e18):_0x2284fd[_0x15f420(0x3af)](_0x1065a7[_0x15f420(0x363)],_0x1f0636,_0x4c72b7,_0x531e18);}var _0x38cab5=Object[_0x3d1808(0x3cf)],_0x4fdb43=(_0x5ce4bc,_0x9ccc1d,_0x36cdca,_0x251467)=>{var _0x2bd085=_0x3d1808;for(var _0x3ba228=_0x251467>0x1?void 0x0:_0x251467?_0x38cab5(_0x9ccc1d,_0x36cdca):_0x9ccc1d,_0x1fe0cf=_0x5ce4bc[_0x2bd085(0x3c5)]-0x1,_0x103436;_0x1fe0cf>=0x0;_0x1fe0cf--)(_0x103436=_0x5ce4bc[_0x1fe0cf])&&(_0x3ba228=_0x103436(_0x3ba228)||_0x3ba228);return _0x3ba228;},_0x59d62f=(_0x220705,_0x3ff01f)=>(_0x1e13ae,_0x32bcc0)=>_0x3ff01f(_0x1e13ae,_0x32bcc0,_0x220705);_0x1065a7['CollaborationEntity']=class extends _0x5bafa4[_0x3d1808(0x265)]{constructor(_0x486dba,_0x232150,_0xc2371,_0x331e53,_0x45d05d,_0x24f5b9,_0x5009e1,_0x2e24a0,_0x39a06e,_0x18f40b,_0x57c0bf,_0x44d66f,_0x5c9619,_0x130ac3){var _0x2ba54b=_0x3d1808;super(),_0x3fc7c7(this,'_state$',new _0x1a688c[(_0x2ba54b(0x1f8))](null)),_0x3fc7c7(this,_0x2ba54b(0x3e1),this['_state$']['asObservable']()),_0x3fc7c7(this,_0x2ba54b(0x514)),_0x3fc7c7(this,_0x2ba54b(0x2e9),!0x1),_0x3fc7c7(this,_0x2ba54b(0x319),''),_0x3fc7c7(this,_0x2ba54b(0x509),0x0),_0x3fc7c7(this,'status$',this[_0x2ba54b(0x3e1)]['pipe'](_0x1a688c['map'](_0x1f2d6d=>_0x1f2d6d?_0x1f2d6d[_0x2ba54b(0x37c)]:_0x293214[_0x2ba54b(0x559)]),_0x1a688c[_0x2ba54b(0x4a1)](0x1))),_0x3fc7c7(this,'_transitionLocked',!0x1),_0x3fc7c7(this,_0x2ba54b(0x537),[]),(this['unitID']=_0x486dba,this[_0x2ba54b(0x231)]=_0x232150,this[_0x2ba54b(0x476)]=_0xc2371,this['_injector']=_0x331e53,this[_0x2ba54b(0x2eb)]=_0x45d05d,this[_0x2ba54b(0x512)]=_0x24f5b9,this[_0x2ba54b(0x29f)]=_0x5009e1,this[_0x2ba54b(0x267)]=_0x2e24a0,this['_univerInstanceService']=_0x39a06e,this[_0x2ba54b(0x4dc)]=_0x18f40b,this[_0x2ba54b(0x538)]=_0x57c0bf,this['_permissionService']=_0x44d66f,this[_0x2ba54b(0x211)]=_0x5c9619,this[_0x2ba54b(0x4b5)]=_0x130ac3);}get[_0x3d1808(0x333)](){return this['_state'];}async[_0x3d1808(0x456)](){var _0x56dd34=_0x3d1808;if(this[_0x56dd34(0x333)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x56dd34(0x3b8)]();}['pauseCollaboration'](){var _0x58021a=_0x3d1808;return this[_0x58021a(0x2e9)]=!0x0,_0x5bafa4['toDisposable'](()=>{var _0x37dcc3=_0x58021a;this[_0x37dcc3(0x2e9)]=!0x1,this[_0x37dcc3(0x49e)]();});}[_0x3d1808(0x303)](_0x42f496){var _0x722267=_0x3d1808;this[_0x722267(0x308)](_0x42f496);}[_0x3d1808(0x327)](_0x58c807){var _0x51a792=_0x3d1808;this[_0x51a792(0x514)]=_0x58c807,this['_state$'][_0x51a792(0x543)](_0x58c807);}async['_init'](){var _0x23fb1a=_0x3d1808,_0x25b664;this[_0x23fb1a(0x327)](await this[_0x23fb1a(0x4d5)]()),this[_0x23fb1a(0x211)]&&((_0x25b664=this[_0x23fb1a(0x211)])==null||_0x25b664[_0x23fb1a(0x326)](this[_0x23fb1a(0x345)]),this[_0x23fb1a(0x44e)](this[_0x23fb1a(0x211)][_0x23fb1a(0x3d8)](this['unitID'])[_0x23fb1a(0x239)](_0x2f10ed=>{var _0x88d151=_0x23fb1a;this[_0x88d151(0x4dc)]['debug'](_0x88d151(0x3ab),'editing\x20status\x20changed\x20to',_0x2f10ed),_0x2f10ed===_0x166ac9['OTHER_CLIENTS_EDITING']?(this[_0x88d151(0x267)]['emitEvent']({'id':_0x38090c[_0x88d151(0x3e8)]}),this[_0x88d151(0x56a)][_0x88d151(0x409)](new _0x1c5262[(_0x88d151(0x394))](this[_0x88d151(0x345)])['id'],!0x1),this[_0x88d151(0x56a)]['setShowComponents'](!0x1)):(this[_0x88d151(0x56a)]['updatePermissionPoint'](new _0x1c5262[(_0x88d151(0x394))](this[_0x88d151(0x345)])['id'],!0x0),this[_0x88d151(0x56a)][_0x88d151(0x22f)](!0x0));})));let _0x42a79c=!0x1;return this[_0x23fb1a(0x44e)](this[_0x23fb1a(0x231)]['sessionStatus$']['subscribe'](_0x3f07e8=>{var _0x48b39a=_0x23fb1a;_0x3f07e8===_0x4b7463[_0x48b39a(0x2d4)]?this[_0x48b39a(0x34b)](_0x42a79c):_0x3f07e8===_0x4b7463[_0x48b39a(0x559)]&&(_0x42a79c=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x23fb1a(0x231)][_0x23fb1a(0x2a4)][_0x23fb1a(0x239)](_0x1d353c=>{var _0x46a1bc=_0x23fb1a;try{switch(_0x1d353c[_0x46a1bc(0x3a4)]){case _0x3ab606[_0x46a1bc(0x260)][_0x46a1bc(0x2d1)]:{this[_0x46a1bc(0x4c9)](_0x3ab606[_0x46a1bc(0x2e8)](_0x1d353c[_0x46a1bc(0x285)]));break;}case _0x3ab606['CollaborationEvent']['CHANGESET_ACK']:{this['_onRemoteACK'](_0x1d353c[_0x46a1bc(0x285)]);break;}case _0x3ab606[_0x46a1bc(0x260)][_0x46a1bc(0x489)]:{this[_0x46a1bc(0x2d0)]();break;}case _0x3ab606[_0x46a1bc(0x260)][_0x46a1bc(0x242)]:{this[_0x46a1bc(0x30c)](_0x1d353c['data']);break;}case _0x3ab606[_0x46a1bc(0x260)][_0x46a1bc(0x1f2)]:{this[_0x46a1bc(0x263)](_0x1d353c[_0x46a1bc(0x285)][_0x46a1bc(0x466)][_0x46a1bc(0x51a)](_0x3a23f6=>_0x3ab606[_0x46a1bc(0x2e8)](_0x3a23f6)));break;}case _0x3ab606[_0x46a1bc(0x260)][_0x46a1bc(0x2f7)]:{this[_0x46a1bc(0x2d0)]({'isPermissionRej':!0x0});break;}case _0x3ab606[_0x46a1bc(0x260)][_0x46a1bc(0x461)]:break;}}catch(_0x3572d7){throw console['error']('Error\x20on\x20receiving\x20event',_0x3572d7),_0x3572d7;}})),this[_0x23fb1a(0x514)];}['_unlockTransition'](){var _0x33a077=_0x3d1808;this[_0x33a077(0x208)]=!0x1;}[_0x3d1808(0x1f3)](){var _0x55b337=_0x3d1808;if(this[_0x55b337(0x208)])throw new Error(_0x55b337(0x274));this[_0x55b337(0x208)]=!0x0;}[_0x3d1808(0x308)](_0x4e7263){var _0x27554e=_0x3d1808;this[_0x27554e(0x1f3)](),this[_0x27554e(0x327)](this[_0x27554e(0x514)][_0x27554e(0x33b)](_0x4e7263)),this[_0x27554e(0x4ef)]();}[_0x3d1808(0x4c9)](_0x337a2d){var _0x3b54e6=_0x3d1808;if(!(_0x337a2d[_0x3b54e6(0x42d)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x3b54e6(0x345)]))){if(this[_0x3b54e6(0x2e9)]){this['_remoteChangesetQueue'][_0x3b54e6(0x381)](_0x337a2d);return;}this[_0x3b54e6(0x357)](_0x337a2d);}}[_0x3d1808(0x49e)](){var _0x156806=_0x3d1808;this[_0x156806(0x537)]['forEach'](_0x36a331=>this[_0x156806(0x357)](_0x36a331)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x429e48){var _0x5f3842=_0x3d1808;const _0x38e3ab=this[_0x5f3842(0x2eb)][_0x5f3842(0x4b1)][_0x5f3842(0x4bf)](this[_0x5f3842(0x2eb)][_0x5f3842(0x4b1)][_0x5f3842(0x28e)]()[_0x5f3842(0x247)])(_0x429e48[_0x5f3842(0x4f4)],null)||_0x429e48[_0x5f3842(0x4f4)],_0x236c9e={..._0x429e48,'mutations':_0x38e3ab};this[_0x5f3842(0x1f3)](),this[_0x5f3842(0x327)](this[_0x5f3842(0x514)][_0x5f3842(0x519)](_0x236c9e)),this[_0x5f3842(0x4ef)]();}[_0x3d1808(0x378)](_0x1c1c24){var _0x489898=_0x3d1808;this[_0x489898(0x1f3)](),this['_updateState'](this[_0x489898(0x514)][_0x489898(0x23f)](_0x1c1c24)),this['_unlockTransition']();}[_0x3d1808(0x2d0)](_0x42fd88){var _0x3a1549=_0x3d1808;this['_lockTransition'](),this[_0x3a1549(0x327)](this[_0x3a1549(0x514)][_0x3a1549(0x414)](_0x42fd88)),this[_0x3a1549(0x4ef)]();}[_0x3d1808(0x30c)](_0x135e3e){var _0x359dd9=_0x3d1808;this[_0x359dd9(0x1f3)](),this[_0x359dd9(0x327)](this[_0x359dd9(0x514)][_0x359dd9(0x1e7)](_0x135e3e)),this[_0x359dd9(0x4ef)]();}[_0x3d1808(0x263)](_0x26099d){var _0x4afa98=_0x3d1808;if(!(this[_0x4afa98(0x514)]instanceof _0x1065a7[_0x4afa98(0x49d)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x1a5979=_0x26099d[_0x4afa98(0x51a)](_0x15849d=>{var _0x2338b4=_0x4afa98;const _0x3d9363=this[_0x2338b4(0x2eb)][_0x2338b4(0x4b1)][_0x2338b4(0x4bf)](this[_0x2338b4(0x2eb)]['interceptor'][_0x2338b4(0x28e)]()[_0x2338b4(0x247)])(_0x15849d[_0x2338b4(0x4f4)],null)||_0x15849d[_0x2338b4(0x4f4)];return{..._0x15849d,'mutations':_0x3d9363};});this[_0x4afa98(0x1f3)](),this[_0x4afa98(0x327)](this[_0x4afa98(0x514)][_0x4afa98(0x49b)](_0x1a5979)),this[_0x4afa98(0x4ef)]();}[_0x3d1808(0x55f)](){var _0x1d78a4=_0x3d1808;this[_0x1d78a4(0x1f3)](),this['_updateState'](this[_0x1d78a4(0x514)]['toggleOffline']()),this[_0x1d78a4(0x4ef)]();}[_0x3d1808(0x34b)](_0x360efa=!0x1){var _0x271cfc=_0x3d1808;this['_lockTransition'](),this[_0x271cfc(0x327)](this['_state']['toggleOnline']()),this[_0x271cfc(0x4ef)]();const _0x17fa42=this[_0x271cfc(0x514)];_0x360efa&&_0x17fa42 instanceof _0x1065a7['SyncedState']&&(this['_lockTransition'](),this[_0x271cfc(0x327)](_0x17fa42[_0x271cfc(0x485)]()),this[_0x271cfc(0x4ef)]());}async[_0x3d1808(0x4d5)](){return new Promise(_0x1b4486=>{var _0xdd078a=_0x58ee;this[_0xdd078a(0x231)]['sessionStatus$']['pipe'](_0x1a688c['take'](0x1))[_0xdd078a(0x239)](async _0x961687=>{var _0x551882=_0xdd078a;_0x1b4486(await this[_0x551882(0x3e0)](_0x961687===_0x4b7463['ONLINE']));});});}['_createHandler'](){var _0x1d29da=_0x3d1808;const _0x320bfb=this[_0x1d29da(0x345)];return{'onStateChange':(_0x289d7f,_0x37aba2)=>{var _0x21cd62=_0x1d29da;if(_0x289d7f!==this[_0x21cd62(0x514)])throw new Error(_0x21cd62(0x26a)+_0x289d7f[_0x21cd62(0x37c)]+_0x21cd62(0x1e9)+_0x37aba2[_0x21cd62(0x37c)]+_0x21cd62(0x2f5)+this[_0x21cd62(0x514)][_0x21cd62(0x37c)]);this[_0x21cd62(0x327)](_0x37aba2);},'onSendChangeset':_0x39afe6=>{var _0x402724=_0x1d29da;_0x39afe6['sid']||(_0x39afe6[_0x402724(0x25b)]=this[_0x402724(0x319)],_0x39afe6['reqId']=++this[_0x402724(0x509)]);const _0x22bab3={'eventID':_0x3ab606[_0x402724(0x260)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x39afe6[_0x402724(0x345)],'unitType':this[_0x402724(0x476)],'changeset':_0x39afe6,'memberID':this['session'][_0x402724(0x3a0)]()}};this[_0x402724(0x231)]['send'](_0x22bab3,this['unitID']);},'onMissingChangesets':({from:_0x4d03c2,to:_0x2b568f})=>{var _0x34633f=_0x1d29da;this[_0x34633f(0x4dc)][_0x34633f(0x206)](_0x34633f(0x3ab),'fetching\x20missing\x20changesets\x20from\x20'+_0x4d03c2+_0x34633f(0x280)+_0x2b568f);const _0x59b23b={'eventID':_0x3ab606[_0x34633f(0x260)]['FETCH_MISSING'],'data':{'unitID':_0x320bfb,'unitType':this[_0x34633f(0x476)],'from':_0x4d03c2,'to':_0x2b568f}};this['session'][_0x34633f(0x2a8)](_0x59b23b,this[_0x34633f(0x345)]);}};}async['_createInitialStateImpl'](_0x3c0df4){var _0xf8e264=_0x3d1808,_0x5cb213,_0x5370dd,_0x4245b4;const _0x4ba4c3=await((_0x5cb213=this[_0xf8e264(0x4b5)])==null?void 0x0:_0x5cb213[_0xf8e264(0x383)](this[_0xf8e264(0x345)])),_0x1175b5=(_0x5370dd=_0x4ba4c3==null?void 0x0:_0x4ba4c3['mutations'])!=null?_0x5370dd:[],_0x558b6e=(_0x4245b4=_0x4ba4c3==null?void 0x0:_0x4ba4c3[_0xf8e264(0x2be)])!=null?_0x4245b4:null,_0x5bde67=!!(_0x558b6e!=null&&_0x558b6e['sid'])&&!!(_0x558b6e!=null&&_0x558b6e[_0xf8e264(0x534)]);this[_0xf8e264(0x319)]=_0x5bde67?_0x558b6e['sid']:_0x3ab606[_0xf8e264(0x356)](),this[_0xf8e264(0x509)]=_0x5bde67?_0x558b6e[_0xf8e264(0x534)]:0x0;const _0x146723=this['unitID'];try{this[_0xf8e264(0x56e)](_0x558b6e,_0x1175b5);}catch(_0x4d312d){this[_0xf8e264(0x4dc)][_0xf8e264(0x3f5)](_0x4d312d);}const _0x34f72b=this[_0xf8e264(0x3bb)]();if(_0x3c0df4){const _0x3c68e0=_0x16d863(this['_injector'],_0x146723,this['_type'],_0x558b6e,_0x1175b5,_0x34f72b);return _0x3c68e0 instanceof _0x1065a7[_0xf8e264(0x271)]?_0x3c68e0[_0xf8e264(0x4be)]():(_0x3c68e0 instanceof _0x1065a7[_0xf8e264(0x446)]||_0x3c68e0 instanceof _0x1065a7['AwaitingState'])&&_0x3c68e0[_0xf8e264(0x532)](),_0x3c68e0;}return this[_0xf8e264(0x50f)]['createInstance'](_0x1065a7[_0xf8e264(0x423)],_0x146723,this['_type'],_0x558b6e,_0x1175b5,_0x34f72b);}[_0x3d1808(0x56e)](_0x2d33ce,_0x53f0fe){var _0x4f9f7e=_0x3d1808,_0x9fb0a3,_0xeb86b3;const _0x455cd2=this[_0x4f9f7e(0x2eb)]['interceptor'][_0x4f9f7e(0x4bf)](this[_0x4f9f7e(0x2eb)][_0x4f9f7e(0x4b1)]['getInterceptPoints']()[_0x4f9f7e(0x247)]);(_0x9fb0a3=_0x455cd2((_0x2d33ce==null?void 0x0:_0x2d33ce[_0x4f9f7e(0x4f4)])||[],null))==null||_0x9fb0a3[_0x4f9f7e(0x27c)](_0x4d9426=>this[_0x4f9f7e(0x538)][_0x4f9f7e(0x429)](_0x4d9426['id'],_0x4d9426[_0x4f9f7e(0x21c)])),(_0xeb86b3=_0x455cd2(_0x53f0fe||[],null))==null||_0xeb86b3['forEach'](_0x17e49d=>this['_commandService']['executeCommand'](_0x17e49d['id'],_0x17e49d[_0x4f9f7e(0x21c)]));}},_0x1065a7[_0x3d1808(0x44a)]=_0x4fdb43([_0x59d62f(0x3,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0x59d62f(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x4c5)])),_0x59d62f(0x5,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x2e1)])),_0x59d62f(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606['RevisionService'])),_0x59d62f(0x7,_0x5bafa4['Inject'](_0x10cfe4)),_0x59d62f(0x8,_0x5bafa4['IUniverInstanceService']),_0x59d62f(0x9,_0x5bafa4[_0x3d1808(0x528)]),_0x59d62f(0xa,_0x5bafa4[_0x3d1808(0x3fc)]),_0x59d62f(0xb,_0x5bafa4['IPermissionService']),_0x59d62f(0xc,_0x5bafa4[_0x3d1808(0x4fa)](_0x175519)),_0x59d62f(0xd,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7[_0x3d1808(0x44a)]),_0x1065a7[_0x3d1808(0x1e2)]=class extends _0x1065a7[_0x3d1808(0x44a)]{constructor(_0x409d9f,_0x5383ef,_0x529cde,_0x3aa3e1,_0x217bbe,_0xe8acbe,_0x59455d,_0x25042b,_0x510c7c,_0x11a5be,_0x5409be,_0x2553df,_0x47b1a8,_0xf41005){var _0x3208ee=_0x3d1808;super(_0x409d9f,_0x529cde,_0x5383ef,_0x3aa3e1,_0x217bbe,_0xe8acbe,_0x59455d,_0x25042b,_0x510c7c,_0x11a5be,_0x5409be,_0x2553df,_0x47b1a8,_0xf41005),_0x3fc7c7(this,_0x3208ee(0x553),null),(this[_0x3208ee(0x345)]=_0x409d9f,this[_0x3208ee(0x436)]=_0x5383ef);}[_0x3d1808(0x207)](_0x4bc487){this['_handlerCallback']=_0x4bc487;}['dispose'](){var _0x56187d=_0x3d1808;this[_0x56187d(0x553)]=null,super[_0x56187d(0x508)]();}[_0x3d1808(0x3bb)](){var _0x57d79d=_0x3d1808;const _0x730d17=super[_0x57d79d(0x3bb)]();return _0x730d17[_0x57d79d(0x39b)]=_0x4db11e=>{var _0x32ce7e=_0x57d79d,_0x39ab60,_0x23a30c;return(_0x23a30c=(_0x39ab60=this[_0x32ce7e(0x553)])==null?void 0x0:_0x39ab60[_0x32ce7e(0x39b)])==null?void 0x0:_0x23a30c['call'](_0x39ab60,_0x4db11e);},_0x730d17[_0x57d79d(0x548)]=_0x17396c=>{var _0x5d7789=_0x57d79d,_0x5f11a7,_0xa4e11d;return(_0xa4e11d=(_0x5f11a7=this[_0x5d7789(0x553)])==null?void 0x0:_0x5f11a7[_0x5d7789(0x548)])==null?void 0x0:_0xa4e11d[_0x5d7789(0x37a)](_0x5f11a7,_0x17396c);},_0x730d17[_0x57d79d(0x398)]=_0x19baca=>{var _0x42b3e3=_0x57d79d,_0x6b7595,_0x586edd;return(_0x586edd=(_0x6b7595=this[_0x42b3e3(0x553)])==null?void 0x0:_0x6b7595['onTransformSelections'])==null?void 0x0:_0x586edd[_0x42b3e3(0x37a)](_0x6b7595,_0x19baca);},_0x730d17['onSyncEditingCollabCursor']=_0x58bed0=>{var _0x16d3c6=_0x57d79d,_0x31500f,_0x28219a;return(_0x28219a=(_0x31500f=this[_0x16d3c6(0x553)])==null?void 0x0:_0x31500f[_0x16d3c6(0x55a)])==null?void 0x0:_0x28219a[_0x16d3c6(0x37a)](_0x31500f,_0x58bed0);},_0x730d17['onTransformRemoteChangesetByIMECache']=_0x31f1bc=>{var _0x457d1e=_0x57d79d,_0x332576,_0x2fdc4b,_0x453c8c;if(!((_0x332576=this['_handlerCallback'])!=null&&_0x332576[_0x457d1e(0x214)]))throw new Error(_0x457d1e(0x384));return(_0x453c8c=(_0x2fdc4b=this[_0x457d1e(0x553)])==null?void 0x0:_0x2fdc4b[_0x457d1e(0x214)])==null?void 0x0:_0x453c8c[_0x457d1e(0x37a)](_0x2fdc4b,_0x31f1bc);},_0x730d17[_0x57d79d(0x3ef)]=_0x3075ba=>{var _0x370eb1=_0x57d79d,_0x177c9a,_0x21d8b0,_0x2b6578;if(!((_0x177c9a=this[_0x370eb1(0x553)])!=null&&_0x177c9a[_0x370eb1(0x3ef)]))throw new Error(_0x370eb1(0x4e4));return(_0x2b6578=(_0x21d8b0=this['_handlerCallback'])==null?void 0x0:_0x21d8b0[_0x370eb1(0x3ef)])==null?void 0x0:_0x2b6578[_0x370eb1(0x37a)](_0x21d8b0,_0x3075ba);},_0x730d17;}async['_init'](){var _0x492cd6=_0x3d1808;const _0x3ac989=await super['_init']();return this[_0x492cd6(0x44e)](this[_0x492cd6(0x538)][_0x492cd6(0x53e)]((_0x2a44bc,_0x2a30b5)=>{var _0x2e3e98=_0x492cd6;if(_0x2a44bc[_0x2e3e98(0x436)]!==_0x5bafa4['CommandType']['MUTATION']||_0x2a30b5!=null&&_0x2a30b5['fromCollab']||_0x2a30b5!=null&&_0x2a30b5[_0x2e3e98(0x216)]||_0x2a44bc['id']===_0x460538[_0x2e3e98(0x4a6)]['id'])return;const _0x301f81=_0x2a44bc['params'];if((_0x301f81==null?void 0x0:_0x301f81[_0x2e3e98(0x48f)])!==this[_0x2e3e98(0x345)])return;const _0x3117b9=_0x2a44bc,_0x532ac5=this['_compressMutationService'][_0x2e3e98(0x4b1)][_0x2e3e98(0x4bf)](this['_compressMutationService'][_0x2e3e98(0x4b1)][_0x2e3e98(0x28e)]()['COMPRESS_MUTATION_SEND'])([_0x3117b9],this[_0x2e3e98(0x4b8)])||[_0x3117b9];this['_onLocalMutation'](_0x532ac5[0x0]);})),_0x3ac989;}},_0x1065a7['DocCollaborationEntity']=_0x4fdb43([_0x59d62f(0x3,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0x59d62f(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x4c5)])),_0x59d62f(0x5,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x2e1)])),_0x59d62f(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x2ef)])),_0x59d62f(0x7,_0x5bafa4[_0x3d1808(0x317)](_0x10cfe4)),_0x59d62f(0x8,_0x5bafa4['IUniverInstanceService']),_0x59d62f(0x9,_0x5bafa4['ILogService']),_0x59d62f(0xa,_0x5bafa4['ICommandService']),_0x59d62f(0xb,_0x5bafa4[_0x3d1808(0x226)]),_0x59d62f(0xc,_0x5bafa4[_0x3d1808(0x4fa)](_0x175519)),_0x59d62f(0xd,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7['DocCollaborationEntity']),_0x1065a7[_0x3d1808(0x2b2)]=class extends _0x1065a7[_0x3d1808(0x44a)]{constructor(_0x5167ce,_0x499a33,_0xedcc6b,_0x502827,_0x34d1cf,_0x5e5d82,_0x4611f5,_0x1f241d,_0x4fef9f,_0x40e66e,_0x52483e,_0x178609,_0x44609d,_0xe65953,_0x450e39){var _0x2b6d49=_0x3d1808;super(_0x5167ce,_0xedcc6b,_0x499a33,_0x502827,_0x34d1cf,_0x5e5d82,_0x4611f5,_0x4fef9f,_0x40e66e,_0x52483e,_0x178609,_0x44609d,_0xe65953,_0x450e39),this['unitID']=_0x5167ce,this[_0x2b6d49(0x436)]=_0x499a33,this[_0x2b6d49(0x4d1)]=_0x1f241d;}['_createHandler'](){var _0x3607f1=_0x3d1808;const _0x2e8351=super[_0x3607f1(0x3bb)]();return _0x2e8351[_0x3607f1(0x398)]=_0x26025e=>this[_0x3607f1(0x4d1)][_0x3607f1(0x44d)](_0x26025e),_0x2e8351;}async[_0x3d1808(0x3b8)](){var _0x26a789=_0x3d1808;const _0x3b55ee=await super['_init']();return this['disposeWithMe'](this[_0x26a789(0x538)][_0x26a789(0x53e)]((_0x1db877,_0x10bbfa)=>{var _0x313b23=_0x26a789;if(_0x1db877[_0x313b23(0x436)]!==_0x5bafa4['CommandType']['MUTATION']||_0x10bbfa!=null&&_0x10bbfa[_0x313b23(0x219)]||_0x10bbfa!=null&&_0x10bbfa[_0x313b23(0x216)])return;const _0x1e7d8a=_0x1db877['params'];if((_0x1e7d8a==null?void 0x0:_0x1e7d8a['unitId'])!==this[_0x313b23(0x345)])return;const _0x454335=_0x1db877,_0xfd48bb=this[_0x313b23(0x2eb)]['interceptor'][_0x313b23(0x4bf)](this[_0x313b23(0x2eb)][_0x313b23(0x4b1)][_0x313b23(0x28e)]()['COMPRESS_MUTATION_SEND'])([_0x454335],this[_0x313b23(0x4b8)])||[_0x454335];this[_0x313b23(0x308)](_0xfd48bb[0x0]);})),_0x3b55ee;}},_0x1065a7[_0x3d1808(0x2b2)]=_0x4fdb43([_0x59d62f(0x3,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0x59d62f(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606['CompressMutationService'])),_0x59d62f(0x5,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x2e1)])),_0x59d62f(0x6,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x2ef)])),_0x59d62f(0x7,_0x5bafa4[_0x3d1808(0x317)](_0x1065a7[_0x3d1808(0x1f1)])),_0x59d62f(0x8,_0x5bafa4['Inject'](_0x10cfe4)),_0x59d62f(0x9,_0x5bafa4[_0x3d1808(0x443)]),_0x59d62f(0xa,_0x5bafa4[_0x3d1808(0x528)]),_0x59d62f(0xb,_0x5bafa4[_0x3d1808(0x3fc)]),_0x59d62f(0xc,_0x5bafa4[_0x3d1808(0x226)]),_0x59d62f(0xd,_0x5bafa4[_0x3d1808(0x4fa)](_0x175519)),_0x59d62f(0xe,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7[_0x3d1808(0x2b2)]);const _0x206d80=_0x5bafa4[_0x3d1808(0x433)]('univer-pro.collaboration-client.network-condition.service');function _0x10e983(_0x2bf19f){var _0x3663d0=_0x3d1808,_0x675dd3,_0x1a91b2,_0x46d98e,_0x2447d1,_0x469c32;const _0x840a74=_0x2bf19f[_0x3663d0(0x285)],_0x5a5d9b=JSON['parse'](_0x840a74);switch(_0x5a5d9b[_0x3663d0(0x38d)]){case _0x46dd39['HEARTBEAT']:case _0x46dd39['HELLO']:{const _0x817424=_0x5a5d9b[_0x3663d0(0x501)];return{..._0x5a5d9b,'data':_0x817424,'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};}case _0x46dd39['JOIN']:{const _0x77d860=_0x5a5d9b[_0x3663d0(0x36d)];return{..._0x5a5d9b,'data':_0x77d860,'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};}case _0x46dd39['RECV']:{const _0x5764cf=_0x5a5d9b['collaMsg'];switch(_0x5764cf['eventID']){case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x2f7)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':(_0x675dd3=_0x5764cf[_0x3663d0(0x2ba)])==null?void 0x0:_0x675dd3['cs']},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)]['CHANGESET_ACK']:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':(_0x1a91b2=_0x5764cf[_0x3663d0(0x547)])==null?void 0x0:_0x1a91b2['cs']},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':(_0x46d98e=_0x5764cf[_0x3663d0(0x2af)])==null?void 0x0:_0x46d98e['cs']},'cmd':_0x5a5d9b['cmd']};case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x489)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':(_0x2447d1=_0x5764cf[_0x3663d0(0x348)])==null?void 0x0:_0x2447d1['cs']},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x242)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':(_0x469c32=_0x5764cf[_0x3663d0(0x24c)])==null?void 0x0:_0x469c32['cs']},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)]['UPDATE_CURSOR']:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x3c2)]},'cmd':_0x5a5d9b['cmd']};case _0x3ab606['CollaborationEvent'][_0x3663d0(0x400)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x310)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)]['USERS_LEAVE']:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x386)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x3db)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x4a5)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)]['LIVESHARE_FETCH_OPERATIONS']:case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x366)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf['liveShareOperation']},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606['CollaborationEvent'][_0x3663d0(0x3dc)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x4a5)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)]['MSG_FOR_ERROR']:return{..._0x5a5d9b,'data':_0x5764cf,'cmd':_0x5a5d9b['cmd']};case _0x3ab606['CollaborationEvent'][_0x3663d0(0x415)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x500)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)]['UPDATE_PERMISSION_OBJ']:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x22c)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x515)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf[_0x3663d0(0x513)]},'cmd':_0x5a5d9b[_0x3663d0(0x38d)]};case _0x3ab606[_0x3663d0(0x260)][_0x3663d0(0x461)]:return{..._0x5a5d9b,'data':{..._0x5764cf,'data':_0x5764cf['uniscriptRunEvent']},'cmd':_0x5a5d9b['cmd']};default:return _0x5a5d9b;}}default:return _0x5a5d9b;}}function _0x52cb3a(_0x1505a3){var _0x5a4438=_0x3d1808;switch(_0x1505a3[_0x5a4438(0x38d)]){case _0x46dd39['HEARTBEAT']:case _0x46dd39['HELLO']:return JSON['stringify']({'cmd':_0x1505a3[_0x5a4438(0x38d)],'routeKey':_0x1505a3[_0x5a4438(0x4ba)]});case _0x46dd39[_0x5a4438(0x313)]:{let _0x20a6c4;switch(_0x1505a3[_0x5a4438(0x285)][_0x5a4438(0x3a4)]){case _0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x46a)]:{_0x20a6c4={'eventID':_0x3ab606['CollaborationEvent'][_0x5a4438(0x46a)],'updateCursorEvent':_0x1505a3[_0x5a4438(0x285)]['data']};break;}case _0x3ab606['CollaborationEvent'][_0x5a4438(0x2c5)]:{_0x20a6c4={'eventID':_0x3ab606['CollaborationEvent'][_0x5a4438(0x2c5)],'leaveEvent':_0x1505a3[_0x5a4438(0x285)][_0x5a4438(0x285)]};break;}case _0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x400)]:{_0x20a6c4={'eventID':_0x3ab606['CollaborationEvent'][_0x5a4438(0x400)],'joinEvent':_0x1505a3['data'][_0x5a4438(0x285)]};break;}case _0x3ab606['CollaborationEvent'][_0x5a4438(0x3db)]:{_0x20a6c4={'eventID':_0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x3db)],'liveShareNewHost':_0x1505a3[_0x5a4438(0x285)][_0x5a4438(0x285)]};break;}case _0x3ab606['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x20a6c4={'eventID':_0x3ab606['CollaborationEvent'][_0x5a4438(0x366)],'liveShareOperation':_0x1505a3[_0x5a4438(0x285)][_0x5a4438(0x285)]};break;}case _0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x3dc)]:{_0x20a6c4={'eventID':_0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x3dc)],'liveShareTerminate':_0x1505a3[_0x5a4438(0x285)]['data']};break;}case _0x3ab606['CollaborationEvent'][_0x5a4438(0x472)]:{_0x20a6c4={'eventID':_0x3ab606[_0x5a4438(0x260)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1505a3[_0x5a4438(0x285)][_0x5a4438(0x285)]};break;}case _0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x338)]:{_0x20a6c4={'eventID':_0x3ab606[_0x5a4438(0x260)][_0x5a4438(0x338)]};break;}default:_0x20a6c4={'eventID':_0x1505a3[_0x5a4438(0x285)]['eventID']};}return JSON['stringify']({'cmd':_0x1505a3[_0x5a4438(0x38d)],'routeKey':_0x1505a3[_0x5a4438(0x4ba)],'collaMsg':_0x20a6c4});}case _0x46dd39[_0x5a4438(0x48a)]:return JSON[_0x5a4438(0x3c7)]({'cmd':_0x1505a3['cmd'],'routeKey':_0x1505a3[_0x5a4438(0x4ba)],'joinReq':_0x1505a3['data']});case _0x46dd39[_0x5a4438(0x21a)]:return JSON[_0x5a4438(0x3c7)]({'cmd':_0x1505a3[_0x5a4438(0x38d)],'routeKey':_0x1505a3[_0x5a4438(0x4ba)],'leaveReq':_0x1505a3[_0x5a4438(0x285)]});default:throw new Error(_0x5a4438(0x40f));}}var _0x263c80=Object[_0x3d1808(0x3cf)],_0x4e4b0f=(_0x41625e,_0x32a41f,_0x7dbc2e,_0x2e6892)=>{var _0x379825=_0x3d1808;for(var _0x3b7342=_0x2e6892>0x1?void 0x0:_0x2e6892?_0x263c80(_0x32a41f,_0x7dbc2e):_0x32a41f,_0x31a1af=_0x41625e[_0x379825(0x3c5)]-0x1,_0xdb6178;_0x31a1af>=0x0;_0x31a1af--)(_0xdb6178=_0x41625e[_0x31a1af])&&(_0x3b7342=_0xdb6178(_0x3b7342)||_0x3b7342);return _0x3b7342;},_0xd7c4dc=(_0x1a305d,_0x57bff8)=>(_0x10e6df,_0x207503)=>_0x57bff8(_0x10e6df,_0x207503,_0x1a305d);const _0x3dca45=_0x5bafa4[_0x3d1808(0x433)](_0x3d1808(0x320));function _0x277bec(_0x111b2f,_0x57040f,_0x4d090d){var _0x17ca21=_0x3d1808;return _0x111b2f+'/'+_0x57040f+_0x17ca21(0x495)+_0x4d090d+_0x17ca21(0x25a);}_0x1065a7['CollaborationSocketService']=class extends _0x5bafa4[_0x3d1808(0x40c)]{constructor(_0x562fb6,_0x11f7d8,_0x3ed512,_0x592bba,_0x5e26fd){var _0x4a2715=_0x3d1808;super(),this[_0x4a2715(0x50f)]=_0x562fb6,this[_0x4a2715(0x48b)]=_0x11f7d8,this[_0x4a2715(0x4ee)]=_0x3ed512,this['_logService']=_0x592bba,this[_0x4a2715(0x2ec)]=_0x5e26fd;}[_0x3d1808(0x563)](_0x2d28de){var _0x2cb26d=_0x3d1808;const _0x35fda9=this[_0x2cb26d(0x50f)][_0x2cb26d(0x3f0)](_0x24f178[_0x2cb26d(0x1d1)]);if(!_0x35fda9)throw new Error(_0x2cb26d(0x50a));const _0x154405=_0x35fda9[_0x2cb26d(0x2bf)](_0x2d28de);if(!_0x154405)throw new Error(_0x2cb26d(0x1e3));const _0x3c3104=new _0x5bafa4['DisposableCollection'](),_0xe7cee=new _0x1a688c[(_0x2cb26d(0x546))]();_0x3c3104['add'](_0x154405[_0x2cb26d(0x4c1)][_0x2cb26d(0x239)](_0x20b4af=>_0xe7cee[_0x2cb26d(0x543)](_0x20b4af))),_0x3c3104[_0x2cb26d(0x2b7)](_0x5bafa4[_0x2cb26d(0x4de)](()=>_0xe7cee[_0x2cb26d(0x1fa)]()));const _0x460984=new _0x1a688c['Subject']();_0x3c3104[_0x2cb26d(0x2b7)](_0x154405[_0x2cb26d(0x2d2)]['subscribe'](_0x31edc3=>_0x460984[_0x2cb26d(0x543)](_0x31edc3))),_0x3c3104[_0x2cb26d(0x2b7)](_0x5bafa4[_0x2cb26d(0x4de)](()=>_0x460984['complete']()));const _0x3e3951=new _0x1a688c[(_0x2cb26d(0x546))]();_0x3c3104[_0x2cb26d(0x2b7)](_0x154405[_0x2cb26d(0x3c8)][_0x2cb26d(0x239)](_0x4d10a3=>{const _0x2077c2=_0x10e983(_0x4d10a3);_0x3e3951['next'](_0x2077c2);})),_0x3c3104[_0x2cb26d(0x2b7)](_0x5bafa4[_0x2cb26d(0x4de)](()=>_0x3e3951[_0x2cb26d(0x1fa)]()));let _0x2f5ca1;const _0x25c373=()=>{var _0x39846c=_0x2cb26d;_0x460984['next'](new Event('connection\x20error')),_0xe7cee[_0x39846c(0x543)](new Event('connection\x20error')),_0x2f5ca1['close']();};return _0x2f5ca1={'memberID':'','close$':_0xe7cee[_0x2cb26d(0x340)](),'error$':_0x460984[_0x2cb26d(0x340)](),'open$':_0x154405[_0x2cb26d(0x3fb)],'message$':_0x3e3951[_0x2cb26d(0x340)](),'send':_0x2aaa93=>{var _0x398870=_0x2cb26d;if(_0x2aaa93[_0x398870(0x38d)]===_0x46dd39[_0x398870(0x313)]){if(_0x2aaa93[_0x398870(0x285)]['eventID']===_0x3ab606[_0x398870(0x260)][_0x398870(0x3ca)]){this[_0x398870(0x290)](_0x2f5ca1,_0x2aaa93[_0x398870(0x285)])[_0x398870(0x506)](_0x137334=>{var _0x2ef660=_0x398870;this[_0x2ef660(0x4dc)][_0x2ef660(0x3f5)](_0x137334),_0x25c373();});return;}if(_0x2aaa93[_0x398870(0x285)]['eventID']===_0x3ab606['CollaborationEvent'][_0x398870(0x53d)]){const _0x185ae8=_0x2aaa93[_0x398870(0x285)];this[_0x398870(0x56d)](_0x185ae8)[_0x398870(0x46e)](_0x1b6a23=>{var _0x56ab13=_0x398870;_0x3e3951[_0x56ab13(0x543)]({'cmd':_0x46dd39[_0x56ab13(0x2dd)],'code':_0x25b6a7['OK'],'routeKey':_0x185ae8[_0x56ab13(0x285)][_0x56ab13(0x345)],'routeType':'','data':{'eventID':_0x3ab606[_0x56ab13(0x260)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1b6a23}}});})[_0x398870(0x506)](_0x1f8686=>{var _0x2ca454=_0x398870;this['_logService'][_0x2ca454(0x3f5)](_0x1f8686),_0x25c373();});return;}}_0x154405[_0x398870(0x2a8)](_0x52cb3a(_0x2aaa93));},'close':()=>{var _0x1df99a=_0x2cb26d;_0x154405[_0x1df99a(0x41a)](),_0x3c3104[_0x1df99a(0x508)]();}},_0x2f5ca1;}async[_0x3d1808(0x290)](_0x238533,_0x1c24b){var _0x151791=_0x3d1808,_0x10092b;const {unitType:_0x14ea5c,unitID:_0x5d5242,changeset:_0x4a2dee}=_0x1c24b[_0x151791(0x285)],_0x4e7ea8={'unitID':_0x5d5242,'memberID':_0x238533[_0x151791(0x3e9)],'type':_0x14ea5c,'changeset':_0x3ab606[_0x151791(0x430)](_0x4a2dee)},_0x28b844=this[_0x151791(0x4ee)][_0x151791(0x38b)](_0x755dce),_0xf3272a=_0x277bec((_0x10092b=_0x28b844==null?void 0x0:_0x28b844[_0x151791(0x452)])!=null?_0x10092b:_0x339a5b,_0x14ea5c,_0x5d5242);try{await this[_0x151791(0x48b)][_0x151791(0x2df)](_0xf3272a,{'body':_0x4e7ea8});}catch(_0x480deb){throw this[_0x151791(0x4dc)]['error'](_0x151791(0x2bd),_0x151791(0x4d0)),_0x480deb;}}async[_0x3d1808(0x56d)](_0x246e2b){var _0x5da50c=_0x3d1808;const {unitID:_0x31ec11,from:_0x54062c,to:_0x154199,unitType:_0x3ab83b}=_0x246e2b[_0x5da50c(0x285)];return(await this[_0x5da50c(0x2ec)][_0x5da50c(0x54b)]({'metadata':void 0x0},{'unitID':_0x31ec11,'type':_0x3ab83b,'from':_0x54062c,'to':_0x154199}))[_0x5da50c(0x466)][_0x5da50c(0x51a)](_0x365d3d=>((_0x365d3d[_0x5da50c(0x4f4)]===null||_0x365d3d[_0x5da50c(0x4f4)]===void 0x0)&&(_0x365d3d[_0x5da50c(0x4f4)]=[]),_0x365d3d));}},_0x1065a7['CollaborationSocketService']=_0x4e4b0f([_0xd7c4dc(0x0,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0xd7c4dc(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x24f178[_0x3d1808(0x2c9)])),_0xd7c4dc(0x2,_0x5bafa4['IConfigService']),_0xd7c4dc(0x3,_0x5bafa4[_0x3d1808(0x528)]),_0xd7c4dc(0x4,_0x3ab606[_0x3d1808(0x2cc)])],_0x1065a7[_0x3d1808(0x437)]);var _0x1b2be1=Object[_0x3d1808(0x3cf)],_0x4dbe5b=(_0x205809,_0x5cc6f9,_0x4b9930,_0x27fbfb)=>{var _0x2e6a8f=_0x3d1808;for(var _0x17b714=_0x27fbfb>0x1?void 0x0:_0x27fbfb?_0x1b2be1(_0x5cc6f9,_0x4b9930):_0x5cc6f9,_0x1a403e=_0x205809[_0x2e6a8f(0x3c5)]-0x1,_0x24d62f;_0x1a403e>=0x0;_0x1a403e--)(_0x24d62f=_0x205809[_0x1a403e])&&(_0x17b714=_0x24d62f(_0x17b714)||_0x17b714);return _0x17b714;},_0x3ff668=(_0x89c054,_0x147586)=>(_0xc29bab,_0x4c34d7)=>_0x147586(_0xc29bab,_0x4c34d7,_0x89c054);_0x1065a7[_0x3d1808(0x492)]=class extends _0x5bafa4[_0x3d1808(0x40c)]{constructor(_0x550df8,_0x240e33,_0x2ede03,_0x494b70,_0x3b6aec,_0x24f77f){var _0x19a584=_0x3d1808;super(),_0x3fc7c7(this,_0x19a584(0x47f),new _0x1a688c[(_0x19a584(0x1f8))](void 0x0)),_0x3fc7c7(this,_0x19a584(0x4a3),this[_0x19a584(0x47f)][_0x19a584(0x340)]()),_0x3fc7c7(this,_0x19a584(0x2a7),null),_0x3fc7c7(this,_0x19a584(0x34f),new Map()),_0x3fc7c7(this,_0x19a584(0x284),new _0x1a688c['BehaviorSubject'](_0x4b7463[_0x19a584(0x464)])),_0x3fc7c7(this,_0x19a584(0x31c),this[_0x19a584(0x284)][_0x19a584(0x340)]()),_0x3fc7c7(this,_0x19a584(0x38c),!0x1),_0x3fc7c7(this,_0x19a584(0x463)),_0x3fc7c7(this,_0x19a584(0x4e5),0x0),_0x3fc7c7(this,_0x19a584(0x52c)),_0x3fc7c7(this,_0x19a584(0x22e)),(this[_0x19a584(0x50f)]=_0x550df8,this[_0x19a584(0x4dc)]=_0x240e33,this[_0x19a584(0x4ee)]=_0x2ede03,this[_0x19a584(0x4d7)]=_0x494b70,this['_collaborationUIEventService']=_0x3b6aec,this[_0x19a584(0x1ff)]=_0x24f77f,this['_listenToNetworkCondition']());}get[_0x3d1808(0x1d5)](){var _0x3a9830=_0x3d1808;return this['_socket$'][_0x3a9830(0x2e2)]();}[_0x3d1808(0x2dc)](){var _0x4f7d55=_0x3d1808;this[_0x4f7d55(0x1ff)]&&this[_0x4f7d55(0x44e)](this['_networkConditionService'][_0x4f7d55(0x3aa)][_0x4f7d55(0x239)](_0x2a0557=>{var _0x5ab99a=_0x4f7d55;_0x2a0557&&!this[_0x5ab99a(0x1d5)]&&this[_0x5ab99a(0x4bd)](),_0x2a0557||this['_onOffline']();}));}[_0x3d1808(0x508)](){var _0x304e59=_0x3d1808;super['dispose'](),this[_0x304e59(0x237)](),this[_0x304e59(0x2ee)](),this[_0x304e59(0x301)](),this[_0x304e59(0x34f)][_0x304e59(0x27c)](_0x59cb6a=>_0x59cb6a[_0x304e59(0x508)]()),this[_0x304e59(0x34f)][_0x304e59(0x334)](),this['_status$']['complete']();}async[_0x3d1808(0x3ed)](_0x2878a3){var _0x4b51ec=_0x3d1808;if(this[_0x4b51ec(0x34f)]['has'](_0x2878a3))return this[_0x4b51ec(0x34f)][_0x4b51ec(0x3f0)](_0x2878a3);this['_tryEnsureSocket']();const _0x3d0098=this[_0x4b51ec(0x50f)][_0x4b51ec(0x3af)](_0x1065a7[_0x4b51ec(0x3cb)],_0x2878a3,this[_0x4b51ec(0x47f)][_0x4b51ec(0x340)]());return this[_0x4b51ec(0x34f)][_0x4b51ec(0x373)](_0x2878a3,_0x3d0098),_0x3d0098;}[_0x3d1808(0x352)](_0x4167e1){var _0xe300b9=_0x3d1808,_0x56d1c8;const _0xc48105=this['_sessions'][_0xe300b9(0x3f0)](_0x4167e1);_0xc48105&&(this[_0xe300b9(0x34f)][_0xe300b9(0x33a)](_0x4167e1),_0xc48105[_0xe300b9(0x41a)]()),this[_0xe300b9(0x34f)][_0xe300b9(0x44c)]||(_0x56d1c8=this[_0xe300b9(0x1d5)])==null||_0x56d1c8[_0xe300b9(0x41a)]();}[_0x3d1808(0x4bd)](){var _0x611633=_0x3d1808;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x611633(0x468)]();}[_0x3d1808(0x237)](){var _0x505ffa=_0x3d1808;this[_0x505ffa(0x463)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x505ffa(0x463)]=null);}async['_createSocket'](){var _0x45d412=_0x3d1808,_0x455425;const _0x26e2a3=this['_configService']['getConfig'](_0x755dce),_0x497516=(_0x455425=_0x26e2a3==null?void 0x0:_0x26e2a3[_0x45d412(0x4c6)])!=null?_0x455425:_0x38d231,_0x2aa758=await this[_0x45d412(0x4d7)][_0x45d412(0x2bf)](_0x497516);return this[_0x45d412(0x2a7)]=_0x2aa758,_0x2aa758;}async[_0x3d1808(0x288)](){var _0x59d27a=_0x3d1808,_0x3b5ab6,_0x31225f;try{const _0x229c54=(_0x31225f=(_0x3b5ab6=this[_0x59d27a(0x1d5)])!=null?_0x3b5ab6:this['_candidateSocket'])!=null?_0x31225f:await this[_0x59d27a(0x53b)]();if(_0x229c54){const _0x39c3f1=_0x229c54['send'];_0x229c54[_0x59d27a(0x2a8)]=_0x167d5c=>(this[_0x59d27a(0x30d)](),_0x39c3f1[_0x59d27a(0x410)](_0x229c54,[_0x167d5c])),_0x229c54[_0x59d27a(0x3c8)]['subscribe'](_0x2a6744=>this[_0x59d27a(0x3ad)](_0x229c54,_0x2a6744)),_0x229c54[_0x59d27a(0x2d2)]['pipe'](_0xd6074['take'](0x1))[_0x59d27a(0x239)](_0x573487=>this[_0x59d27a(0x4dc)][_0x59d27a(0x3f5)](_0x59d27a(0x556),_0x573487)),_0x229c54[_0x59d27a(0x3fb)][_0x59d27a(0x24d)](_0xd6074[_0x59d27a(0x390)](0x1))[_0x59d27a(0x239)](()=>{var _0x5b8271=_0x59d27a;this[_0x5b8271(0x305)](_0x229c54);}),_0x229c54[_0x59d27a(0x4c1)][_0x59d27a(0x24d)](_0xd6074[_0x59d27a(0x390)](0x1))[_0x59d27a(0x239)](_0x2200f7=>{var _0x504bc3=_0x59d27a;this[_0x504bc3(0x4dc)][_0x504bc3(0x206)](_0x504bc3(0x2e7),_0x504bc3(0x1fc),_0x2200f7),this[_0x504bc3(0x4eb)]();});}}catch(_0x5e164f){this[_0x59d27a(0x4dc)][_0x59d27a(0x3f5)](_0x5e164f),this[_0x59d27a(0x4eb)]();}}[_0x3d1808(0x305)](_0x1988a9){var _0x2f08f4=_0x3d1808;this[_0x2f08f4(0x4dc)]['debug'](_0x2f08f4(0x2e7),'socket\x20open.'),_0x1988a9[_0x2f08f4(0x2a8)]({'cmd':_0x46dd39[_0x2f08f4(0x416)]}),this[_0x2f08f4(0x30d)]();}['_onOffline'](){var _0x52496b=_0x3d1808;this[_0x52496b(0x38c)]=!0x1,this[_0x52496b(0x2a7)]=null,this[_0x52496b(0x284)][_0x52496b(0x543)](_0x4b7463['OFFLINE']),this[_0x52496b(0x47f)][_0x52496b(0x543)](null),this[_0x52496b(0x2ee)](),this['_clearHeartbeatTimer']();}[_0x3d1808(0x4eb)](){var _0x24860e=_0x3d1808,_0xa7094c;this[_0x24860e(0x4ca)](),this['_retryCount']<((_0xa7094c=this[_0x24860e(0x4ee)][_0x24860e(0x38b)](_0x589908))!=null?_0xa7094c:0x3)?(this[_0x24860e(0x387)][_0x24860e(0x3e2)]({'id':_0x38090c['SOCKET_FAILED_RETRY']}),this[_0x24860e(0x468)]()):this['_collaborationUIEventService'][_0x24860e(0x3e2)]({'id':_0x38090c[_0x24860e(0x460)]});}[_0x3d1808(0x468)](){var _0x295feb=_0x3d1808,_0x5669c6;const _0x2f8c38=this[_0x295feb(0x4e5)],_0xf1c089=this[_0x295feb(0x4ee)][_0x295feb(0x38b)](_0x755dce),_0x1ebfbc=_0x2f8c38===0x0?0x0:((_0x5669c6=_0xf1c089==null?void 0x0:_0xf1c089['retryConnectingInterval'])!=null?_0x5669c6:0x4e20)*0x2**_0x2f8c38;this['_retryConnectingTimer']=setTimeout(()=>{var _0x427185=_0x295feb;clearTimeout(this[_0x427185(0x463)]),this[_0x427185(0x463)]=null,this[_0x427185(0x288)]();},_0x1ebfbc),this[_0x295feb(0x4e5)]+=0x1;}[_0x3d1808(0x3ad)](_0x42cd48,_0x4f3225){var _0x3e89cc=_0x3d1808;const {cmd:_0x5325b6}=_0x4f3225;_0x5325b6===_0x46dd39[_0x3e89cc(0x416)]&&!this[_0x3e89cc(0x38c)]&&(_0x42cd48[_0x3e89cc(0x3e9)]=_0x4f3225[_0x3e89cc(0x285)][_0x3e89cc(0x3e9)],this[_0x3e89cc(0x47f)][_0x3e89cc(0x543)](_0x42cd48),this[_0x3e89cc(0x284)]['next'](_0x4b7463[_0x3e89cc(0x2d4)]),this[_0x3e89cc(0x38c)]=!0x0,this[_0x3e89cc(0x2a7)]=null),_0x5325b6===_0x46dd39[_0x3e89cc(0x392)]&&this[_0x3e89cc(0x2ee)](),this[_0x3e89cc(0x30d)]();}[_0x3d1808(0x30d)](){var _0x2dc102=_0x3d1808,_0x51bfa8;this[_0x2dc102(0x301)](),this[_0x2dc102(0x52c)]=setTimeout(()=>this[_0x2dc102(0x3a1)](),(_0x51bfa8=this['_configService'][_0x2dc102(0x38b)](_0x38c58d))!=null?_0x51bfa8:0x7530);}['_sendHeartbeat'](){var _0x374c31=_0x3d1808;this['_socket'][_0x374c31(0x2a8)]({'cmd':_0x46dd39[_0x374c31(0x392)]}),this['_waitForHeartbeatResponse']();}[_0x3d1808(0x2ac)](){var _0x4cc43a=_0x3d1808,_0xc29997;this[_0x4cc43a(0x22e)]=setTimeout(()=>this[_0x4cc43a(0x4eb)](),(_0xc29997=this[_0x4cc43a(0x4ee)]['getConfig'](_0x3d06ad))!=null?_0xc29997:0x4e20);}[_0x3d1808(0x301)](){var _0x20a3ad=_0x3d1808;this[_0x20a3ad(0x52c)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x20a3ad(0x52c)]=null);}[_0x3d1808(0x2ee)](){var _0x212729=_0x3d1808;this[_0x212729(0x22e)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x212729(0x22e)]=null);}},_0x1065a7[_0x3d1808(0x492)]=_0x4dbe5b([_0x3ff668(0x0,_0x5bafa4['Inject'](_0x5bafa4[_0x3d1808(0x511)])),_0x3ff668(0x1,_0x5bafa4[_0x3d1808(0x528)]),_0x3ff668(0x2,_0x5bafa4['IConfigService']),_0x3ff668(0x3,_0x3dca45),_0x3ff668(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x10cfe4)),_0x3ff668(0x5,_0x5bafa4[_0x3d1808(0x4fa)](_0x206d80))],_0x1065a7[_0x3d1808(0x492)]);var _0x24590c=Object[_0x3d1808(0x3cf)],_0x31ea7e=(_0x125b51,_0x512cec,_0x4e09d1,_0x10b91f)=>{var _0x5281bf=_0x3d1808;for(var _0x49ec9b=_0x10b91f>0x1?void 0x0:_0x10b91f?_0x24590c(_0x512cec,_0x4e09d1):_0x512cec,_0x14564e=_0x125b51[_0x5281bf(0x3c5)]-0x1,_0x4f75e9;_0x14564e>=0x0;_0x14564e--)(_0x4f75e9=_0x125b51[_0x14564e])&&(_0x49ec9b=_0x4f75e9(_0x49ec9b)||_0x49ec9b);return _0x49ec9b;},_0x35aab3=(_0x5a85c8,_0x1b3c91)=>(_0x26b7d2,_0x5b3eb9)=>_0x1b3c91(_0x26b7d2,_0x5b3eb9,_0x5a85c8);_0x1065a7[_0x3d1808(0x54f)]=class extends _0x5bafa4['RxDisposable']{constructor(_0x160966,_0x1172ae,_0x565e86,_0x237004){var _0x167aa1=_0x3d1808,_0xf881fe;super(),_0x3fc7c7(this,_0x167aa1(0x1f9),new Map()),_0x3fc7c7(this,_0x167aa1(0x205),new _0x1a688c[(_0x167aa1(0x546))]()),_0x3fc7c7(this,_0x167aa1(0x324),this[_0x167aa1(0x205)][_0x167aa1(0x340)]()),(this['_injector']=_0x160966,this[_0x167aa1(0x270)]=_0x1172ae,this[_0x167aa1(0x4ee)]=_0x565e86,this[_0x167aa1(0x4b8)]=_0x237004,((_0xf881fe=this['_configService'][_0x167aa1(0x38b)](_0x755dce))==null?void 0x0:_0xf881fe[_0x167aa1(0x3da)])!==!0x1&&this[_0x167aa1(0x3b8)]());}[_0x3d1808(0x508)](){var _0x5a3c71=_0x3d1808;super[_0x5a3c71(0x508)](),this[_0x5a3c71(0x1f9)][_0x5a3c71(0x27c)](_0x6dbfd=>_0x6dbfd[_0x5a3c71(0x508)]()),this[_0x5a3c71(0x1f9)][_0x5a3c71(0x334)]();}[_0x3d1808(0x20f)](_0x12b64b){var _0x347663=_0x3d1808,_0x336c07;return(_0x336c07=this['_entities'][_0x347663(0x3f0)](_0x12b64b))!=null?_0x336c07:null;}['getCollabEntity$'](_0x412cf1){var _0x1b6b6a=_0x3d1808;const _0x2aa862=this[_0x1b6b6a(0x20f)](_0x412cf1);return _0x2aa862?_0x1a688c['of'](_0x2aa862):this['_entityInit$'][_0x1b6b6a(0x24d)](_0xd6074[_0x1b6b6a(0x3d2)](_0x5afbef=>_0x5afbef['unitID']===_0x412cf1));}['readyForCollab'](_0x2d4433){var _0x41db58=_0x3d1808;return _0x1a688c['firstValueFrom'](this[_0x41db58(0x2e4)](_0x2d4433)[_0x41db58(0x24d)](_0xd6074[_0x41db58(0x51a)](()=>{})));}[_0x3d1808(0x3b8)](){var _0x25996c=_0x3d1808;this[_0x25996c(0x4b8)][_0x25996c(0x571)](_0x5bafa4[_0x25996c(0x35e)][_0x25996c(0x246)])['pipe'](_0x1a688c[_0x25996c(0x520)](this[_0x25996c(0x39e)]),_0xd6074[_0x25996c(0x54d)](0x10))[_0x25996c(0x239)](async _0x4dc398=>{var _0xa223a1=_0x25996c;const _0x28e851=_0x4dc398[_0xa223a1(0x323)](),_0x31721a=await this['_startCollaboration'](_0x28e851,_0x32e542[_0xa223a1(0x246)]);this[_0xa223a1(0x1f9)][_0xa223a1(0x373)](_0x28e851,_0x31721a);}),this['_univerInstanceService'][_0x25996c(0x571)](_0x5bafa4[_0x25996c(0x35e)][_0x25996c(0x25d)])[_0x25996c(0x24d)](_0x1a688c['takeUntil'](this[_0x25996c(0x39e)]),_0xd6074[_0x25996c(0x54d)](0x10))[_0x25996c(0x24d)](_0xd6074[_0x25996c(0x3d2)](_0x515e9f=>!_0x515e9f['getUnitId']()[_0x25996c(0x2ae)]('__')))[_0x25996c(0x239)](async _0x3aea00=>{var _0x5b6324=_0x25996c;const _0x4d15ba=_0x3aea00['getUnitId'](),_0x14a46d=await this[_0x5b6324(0x53c)](_0x4d15ba,_0x32e542[_0x5b6324(0x25d)]);this[_0x5b6324(0x1f9)][_0x5b6324(0x373)](_0x4d15ba,_0x14a46d);}),_0x1a688c[_0x25996c(0x46c)](this['_univerInstanceService'][_0x25996c(0x1e5)](_0x5bafa4[_0x25996c(0x35e)][_0x25996c(0x246)]),this[_0x25996c(0x4b8)][_0x25996c(0x1e5)](_0x5bafa4[_0x25996c(0x35e)]['UNIVER_DOC']))['pipe'](_0x1a688c[_0x25996c(0x520)](this['dispose$']))[_0x25996c(0x239)](_0x48e986=>{var _0x3b15b9=_0x25996c;const _0x1ba1c2=_0x48e986['getUnitId'](),_0x1f61fd=this[_0x3b15b9(0x1f9)]['get'](_0x1ba1c2);_0x1f61fd&&(_0x1f61fd[_0x3b15b9(0x508)](),this[_0x3b15b9(0x1f9)][_0x3b15b9(0x33a)](_0x1ba1c2));});}async[_0x3d1808(0x53c)](_0xf20f6a,_0x533c0d){var _0x1d8398=_0x3d1808;const _0x2ca723=await this[_0x1d8398(0x270)]['requireSession'](_0xf20f6a),_0x519f4b=this['_injector'][_0x1d8398(0x3af)](this[_0x1d8398(0x540)](_0x533c0d),_0xf20f6a,_0x533c0d,_0x2ca723);return await _0x519f4b[_0x1d8398(0x456)](),this[_0x1d8398(0x205)][_0x1d8398(0x543)](_0x519f4b),_0x519f4b;}[_0x3d1808(0x540)](_0x85ebf1){var _0x39e085=_0x3d1808;switch(_0x85ebf1){case _0x32e542[_0x39e085(0x25d)]:return _0x1065a7[_0x39e085(0x1e2)];case _0x32e542[_0x39e085(0x246)]:return _0x1065a7[_0x39e085(0x2b2)];default:throw new Error(_0x39e085(0x447)+_0x85ebf1);}}},_0x1065a7[_0x3d1808(0x54f)]=_0x31ea7e([_0x35aab3(0x0,_0x5bafa4['Inject'](_0x5bafa4['Injector'])),_0x35aab3(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x1065a7[_0x3d1808(0x492)])),_0x35aab3(0x2,_0x5bafa4[_0x3d1808(0x34c)]),_0x35aab3(0x3,_0x5bafa4[_0x3d1808(0x443)])],_0x1065a7['CollaborationController']);var _0x41d182=Object[_0x3d1808(0x3cf)],_0x341c67=(_0x721b49,_0x4e299f,_0x3c6a6a,_0xa9fb3b)=>{var _0x4ccf4e=_0x3d1808;for(var _0x15ca73=_0xa9fb3b>0x1?void 0x0:_0xa9fb3b?_0x41d182(_0x4e299f,_0x3c6a6a):_0x4e299f,_0x4e7419=_0x721b49[_0x4ccf4e(0x3c5)]-0x1,_0x104ad6;_0x4e7419>=0x0;_0x4e7419--)(_0x104ad6=_0x721b49[_0x4e7419])&&(_0x15ca73=_0x104ad6(_0x15ca73)||_0x15ca73);return _0x15ca73;},_0xd837c3=(_0x54e0a8,_0x86a765)=>(_0x12aa1c,_0x4d96bc)=>_0x86a765(_0x12aa1c,_0x4d96bc,_0x54e0a8);const _0x24df6a=_0x3d1808(0x1ee),_0x12526f=_0x3d1808(0x28d);let _0x2ed31f=class extends _0x5bafa4['Disposable']{constructor(_0x27929e,_0x5d5d19){var _0x1ed889=_0x3d1808;super(),this[_0x1ed889(0x4b8)]=_0x27929e,this[_0x1ed889(0x4ee)]=_0x5d5d19,this[_0x1ed889(0x3b8)]();}['_init'](){var _0x51d8ad=_0x3d1808;this[_0x51d8ad(0x44e)](this[_0x51d8ad(0x4b8)][_0x51d8ad(0x286)]['subscribe'](()=>{var _0x813891=_0x51d8ad,_0x4596d8;const _0x20ac0b=this[_0x813891(0x4b8)][_0x813891(0x29b)]();let _0x4de574=(_0x4596d8=this['_configService']['getConfig'](_0x24df6a))!=null?_0x4596d8:_0x12526f;_0x20ac0b instanceof _0x5bafa4[_0x813891(0x2a0)]&&(_0x4de574=_0x20ac0b['name']),document['title']=_0x4de574;}));}};_0x2ed31f=_0x341c67([_0xd837c3(0x0,_0x5bafa4[_0x3d1808(0x443)]),_0xd837c3(0x1,_0x5bafa4[_0x3d1808(0x34c)])],_0x2ed31f);var _0x22fdc8=Object[_0x3d1808(0x3cf)],_0x2734d9=(_0x1294fd,_0x385177,_0x42a63a,_0x48284a)=>{var _0x2271cb=_0x3d1808;for(var _0x28a782=_0x48284a>0x1?void 0x0:_0x48284a?_0x22fdc8(_0x385177,_0x42a63a):_0x385177,_0xa1dfe5=_0x1294fd[_0x2271cb(0x3c5)]-0x1,_0x6e2a21;_0xa1dfe5>=0x0;_0xa1dfe5--)(_0x6e2a21=_0x1294fd[_0xa1dfe5])&&(_0x28a782=_0x6e2a21(_0x28a782)||_0x28a782);return _0x28a782;},_0x2405c2=(_0x335734,_0xc2cfe4)=>(_0x621cf9,_0x4ab810)=>_0xc2cfe4(_0x621cf9,_0x4ab810,_0x335734);let _0x4dd8be=class{constructor(_0xf43e4f,_0x50e488,_0x249a6c){var _0x397844=_0x3d1808;this[_0x397844(0x4ee)]=_0xf43e4f,this[_0x397844(0x48b)]=_0x50e488,this['localeService']=_0x249a6c,this[_0x397844(0x456)]();}[_0x3d1808(0x456)](){var _0x2b9eff=_0x3d1808;this[_0x2b9eff(0x48b)][_0x2b9eff(0x252)]({'priority':0x1,'interceptor':(_0x3d77e7,_0x4998f2)=>_0x4998f2(_0x3d77e7)[_0x2b9eff(0x24d)](_0x1a688c[_0x2b9eff(0x440)](async _0x2d858c=>{var _0x1631ad=_0x2b9eff;const _0x4df792=_0x2d858c;if(_0x4df792[_0x1631ad(0x37c)]===0x191){if(typeof window>'u')throw new Error(_0x1631ad(0x4d9));if(window[_0x1631ad(0x454)](this['localeService']['t'](_0x1631ad(0x36a)))){const _0x530c4c=window['encodeURIComponent'](window['location'][_0x1631ad(0x4cd)]);window['location'][_0x1631ad(0x4cd)]=this[_0x1631ad(0x277)]()+_0x1631ad(0x51c)+_0x530c4c;}}return _0x4df792;}))});}[_0x3d1808(0x277)](){var _0x9dfd5c=_0x3d1808,_0x17801d;const _0x3c9022=this[_0x9dfd5c(0x4ee)][_0x9dfd5c(0x38b)](_0x755dce);return(_0x17801d=_0x3c9022==null?void 0x0:_0x3c9022['loginUrlKey'])!=null?_0x17801d:_0x35a1a3;}};_0x4dd8be=_0x2734d9([_0x2405c2(0x0,_0x5bafa4[_0x3d1808(0x34c)]),_0x2405c2(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x24f178[_0x3d1808(0x2c9)])),_0x2405c2(0x2,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x2e1)]))],_0x4dd8be);var _0x10c815=Object[_0x3d1808(0x3cf)],_0xe0afab=(_0x4c0cce,_0x42f4a4,_0x52adc6,_0x200c87)=>{var _0x309c92=_0x3d1808;for(var _0x5edf4a=_0x200c87>0x1?void 0x0:_0x200c87?_0x10c815(_0x42f4a4,_0x52adc6):_0x42f4a4,_0x3b184b=_0x4c0cce[_0x309c92(0x3c5)]-0x1,_0x317211;_0x3b184b>=0x0;_0x3b184b--)(_0x317211=_0x4c0cce[_0x3b184b])&&(_0x5edf4a=_0x317211(_0x5edf4a)||_0x5edf4a);return _0x5edf4a;},_0xda3f86=(_0x453c39,_0x9894bd)=>(_0x93ea30,_0x371f0c)=>_0x9894bd(_0x93ea30,_0x371f0c,_0x453c39);const _0x31c5f9=_0x3d1808(0x318);_0x1065a7[_0x3d1808(0x346)]=class extends _0x5bafa4[_0x3d1808(0x40c)]{constructor(_0x3a1b60,_0x505eb1){var _0x45f17a=_0x3d1808;super(),this[_0x45f17a(0x412)]=_0x3a1b60,this[_0x45f17a(0x4ee)]=_0x505eb1,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x1f6cba=_0x3d1808;const _0x16a756=this;this[_0x1f6cba(0x44e)](this[_0x1f6cba(0x412)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x24f178[_0x1f6cba(0x27f)]({'isMatch'(_0x377ef4){var _0x28f150=_0x1f6cba,_0x3dc056;if(_0x377ef4[_0x28f150(0x40a)]==='POST'&&((_0x3dc056=_0x377ef4[_0x28f150(0x377)])!=null&&_0x3dc056[_0x28f150(0x26c)])){const {objectID:_0x555f5c,objectType:_0x4f9e4f}=_0x377ef4[_0x28f150(0x377)][_0x28f150(0x26c)]||{};if(!_0x555f5c||_0x4f9e4f===void 0x0)return!0x1;const _0x7f08de=_0x16a756[_0x28f150(0x488)]()+'/'+_0x4f9e4f+_0x28f150(0x4af)+_0x555f5c+_0x28f150(0x455);if(_0x377ef4[_0x28f150(0x261)]===_0x7f08de)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x329147){var _0x2bb1dd=_0x1f6cba,_0x2e47d5;return(_0x2e47d5=_0x329147[_0x2bb1dd(0x377)])==null?void 0x0:_0x2e47d5[_0x2bb1dd(0x26c)];},'mergeParamsToRequest'(_0x5600b2,_0xba5b59){var _0x1202a0=_0x1f6cba;const _0x57f406=_0x16a756['_getAPIPrefixPath']()+_0x1202a0(0x358),_0x760aa1=_0x5600b2[_0x1202a0(0x4e9)]((_0x3ae993,_0x27da0e)=>{var _0x115333=_0x1202a0;const {unitID:_0x34bcd8,objectID:_0xa4c730,objectType:_0x39a367,actions:_0x319031}=_0x27da0e;return _0x3ae993[_0x34bcd8]||(_0x3ae993[_0x34bcd8]={}),_0x3ae993[_0x34bcd8][_0xa4c730]||(_0x3ae993[_0x34bcd8][_0xa4c730]={'objectID':_0xa4c730,'objectType':_0x39a367,'actions':[]}),_0x3ae993[_0x34bcd8][_0xa4c730][_0x115333(0x37d)][_0x115333(0x381)](..._0x319031),_0x3ae993;},{}),_0x59702d=[];for(const _0x320ded in _0x760aa1)for(const _0x53c2e9 in _0x760aa1[_0x320ded]){const {actions:_0x3ef924,objectType:_0x18ad92}=_0x760aa1[_0x320ded][_0x53c2e9],_0x3bcc2a=[...new Set(_0x3ef924)];_0x59702d['push']({'unitID':_0x320ded,'objectID':_0x53c2e9,'objectType':_0x18ad92,'actions':_0x3bcc2a});}return new _0x24f178[(_0x1202a0(0x259))](_0x1202a0(0x292),_0x57f406,{'headers':_0xba5b59[_0x1202a0(0x3c4)],'withCredentials':_0xba5b59[_0x1202a0(0x202)],'responseType':_0xba5b59[_0x1202a0(0x4cc)],'body':{'requests':_0x59702d}});}},{'distributeResult'(_0x110cc1,_0x391ac6){var _0x5f4b62=_0x1f6cba;const {objectActions:_0x3af189}=_0x110cc1;return _0x391ac6[_0x5f4b62(0x51a)](_0x3aeca3=>{var _0xdedd4f=_0x5f4b62;const {unitID:_0x1f6b1c,objectID:_0x29656,actions:_0xac45f1}=_0x3aeca3,_0x259568=_0x3af189[_0xdedd4f(0x3b2)](_0x1849d5=>_0x1849d5[_0xdedd4f(0x345)]===_0x1f6b1c&&_0x1849d5[_0xdedd4f(0x34e)]===_0x29656),_0x4e936b=_0xac45f1[_0xdedd4f(0x51a)](_0x213761=>_0x259568==null?void 0x0:_0x259568[_0xdedd4f(0x37d)][_0xdedd4f(0x3b2)](_0x40b27b=>_0x40b27b[_0xdedd4f(0x335)]===_0x213761))[_0xdedd4f(0x3d2)](_0x3b6468=>!!_0x3b6468);return{'config':_0x3aeca3,'result':{'actions':_0x4e936b,'error':_0x110cc1[_0xdedd4f(0x3f5)]}};});}})}));}['_getAPIPrefixPath'](){var _0x4f3b6f=_0x3d1808,_0x22e101;const _0xdf9603=this[_0x4f3b6f(0x4ee)][_0x4f3b6f(0x38b)](_0x755dce);return(_0x22e101=_0xdf9603==null?void 0x0:_0xdf9603[_0x4f3b6f(0x399)])!=null?_0x22e101:_0x31c5f9;}async[_0x3d1808(0x46f)](_0x379736){var _0x189281=_0x3d1808;const _0x22ce2f=this[_0x189281(0x488)]()+'/'+_0x379736[_0x189281(0x475)]+_0x189281(0x21d);return(await this['_HTTPService'][_0x189281(0x2df)](_0x22ce2f,{'body':_0x379736}))[_0x189281(0x26c)][_0x189281(0x34e)]||'';}async[_0x3d1808(0x504)](_0x1026e1){var _0xeb1a32=_0x3d1808;const _0xdfbe5b=this['_getAPIPrefixPath']()+_0xeb1a32(0x549);return(await this[_0xeb1a32(0x412)][_0xeb1a32(0x2df)](_0xdfbe5b,{'body':_0x1026e1}))[_0xeb1a32(0x26c)][_0xeb1a32(0x499)];}async['update'](_0x9062a7){var _0x322fdb=_0x3d1808,_0x1fa674,_0x5b5466;const _0x4e79a5=this['_getAPIPrefixPath']()+'/'+_0x9062a7[_0x322fdb(0x475)]+'/object/'+_0x9062a7[_0x322fdb(0x34e)],_0x59038c=await this['_HTTPService'][_0x322fdb(0x200)](_0x4e79a5,{'body':_0x9062a7});if(((_0x5b5466=(_0x1fa674=_0x59038c==null?void 0x0:_0x59038c[_0x322fdb(0x26c)])==null?void 0x0:_0x1fa674[_0x322fdb(0x3f5)])==null?void 0x0:_0x5b5466[_0x322fdb(0x24b)])!==0x1)throw new Error(_0x322fdb(0x3a7));}async[_0x3d1808(0x1ed)](_0x5b0ae0){var _0x2c9968=_0x3d1808;const _0x28162f=this['_getAPIPrefixPath']()+'/'+_0x5b0ae0[_0x2c9968(0x475)]+_0x2c9968(0x4af)+_0x5b0ae0['objectID']+_0x2c9968(0x455);return(await this[_0x2c9968(0x412)][_0x2c9968(0x2df)](_0x28162f,{'body':_0x5b0ae0}))['body']['actions'];}async['batchAllowed'](_0x5bd9f4){var _0x569386=_0x3d1808;const _0x30eda5=this[_0x569386(0x488)]()+_0x569386(0x358);return(await this[_0x569386(0x412)][_0x569386(0x2df)](_0x30eda5,{'body':{'requests':_0x5bd9f4}}))[_0x569386(0x26c)][_0x569386(0x4e1)];}async[_0x3d1808(0x351)](_0x358d9d){var _0x1e669d=_0x3d1808;const _0x2a744f=this[_0x1e669d(0x488)]()+'/'+_0x358d9d[_0x1e669d(0x475)]+_0x1e669d(0x420),_0x59ada8=await this['_HTTPService']['post'](_0x2a744f,{'body':_0x358d9d});return{'roles':_0x59ada8[_0x1e669d(0x26c)][_0x1e669d(0x496)],'actions':_0x59ada8['body'][_0x1e669d(0x37d)]};}async[_0x3d1808(0x36e)](_0x70083e){var _0x3034fc=_0x3d1808;const _0x119331=this['_getAPIPrefixPath']()+_0x3034fc(0x22a);await this[_0x3034fc(0x412)]['delete'](_0x119331,{'params':{'collaboratorID':_0x70083e['collaboratorID'],'objectID':_0x70083e[_0x3034fc(0x34e)],'unitID':_0x70083e['unitID']}});}async[_0x3d1808(0x380)](_0x4234eb){var _0x154bfa=_0x3d1808;const _0x3df009=this[_0x154bfa(0x488)]()+_0x154bfa(0x22a);await this[_0x154bfa(0x412)]['patch'](_0x3df009,{'body':_0x4234eb});}async['createCollaborator'](_0x492608){var _0x157c77=_0x3d1808;const _0x27a264=this[_0x157c77(0x488)]()+_0x157c77(0x22a);await this[_0x157c77(0x412)][_0x157c77(0x2df)](_0x27a264,{'body':_0x492608});}async[_0x3d1808(0x322)](_0x128ef7){var _0x147dae=_0x3d1808;const _0x30efb3=this['_getAPIPrefixPath']()+_0x147dae(0x22a);return(await this[_0x147dae(0x412)][_0x147dae(0x3f0)](_0x30efb3,{'params':{'objectID':_0x128ef7[_0x147dae(0x34e)],'unitID':_0x128ef7[_0x147dae(0x345)]}}))[_0x147dae(0x26c)][_0x147dae(0x20d)];}async[_0x3d1808(0x42c)](_0x2d26af){var _0x76fb7=_0x3d1808;const _0x54e70b=this[_0x76fb7(0x488)]()+_0x76fb7(0x22a);await this[_0x76fb7(0x412)][_0x76fb7(0x200)](_0x54e70b,{'body':_0x2d26af});}},_0x1065a7[_0x3d1808(0x346)]=_0xe0afab([_0xda3f86(0x0,_0x5bafa4[_0x3d1808(0x317)](_0x24f178[_0x3d1808(0x2c9)])),_0xda3f86(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x34c)]))],_0x1065a7['AuthzIoHttpService']);var _0x9c23c3=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x14f116(_0x580e86){var _0x436093=_0x3d1808;return _0x580e86&&_0x580e86['__esModule']&&Object[_0x436093(0x236)][_0x436093(0x2b4)][_0x436093(0x37a)](_0x580e86,_0x436093(0x32d))?_0x580e86[_0x436093(0x32d)]:_0x580e86;}var _0x692448={'exports':{}};function _0x474c64(_0x35fd1b){var _0x238e0f=_0x3d1808;throw new Error(_0x238e0f(0x272)+_0x35fd1b+_0x238e0f(0x262));}var _0x3124de={'exports':{}},_0xd4d5c4=_0x3124de['exports'],_0x13502d;function _0x1257fc(){var _0x4735df=_0x3d1808;return _0x13502d||(_0x13502d=0x1,function(_0x4c0c69,_0x2d5646){(function(_0x33c5f6,_0x47a70d){var _0x2d9365=_0x58ee;_0x4c0c69[_0x2d9365(0x1f7)]=_0x47a70d();}(_0xd4d5c4,function(){var _0x593a86=_0x593a86||function(_0x44a2a1,_0xa49f6e){var _0x870886=_0x58ee,_0x52ce10;if(typeof window<'u'&&window['crypto']&&(_0x52ce10=window[_0x870886(0x533)]),typeof self<'u'&&self['crypto']&&(_0x52ce10=self[_0x870886(0x533)]),typeof globalThis<'u'&&globalThis[_0x870886(0x533)]&&(_0x52ce10=globalThis['crypto']),!_0x52ce10&&typeof window<'u'&&window['msCrypto']&&(_0x52ce10=window['msCrypto']),!_0x52ce10&&typeof _0x9c23c3<'u'&&_0x9c23c3[_0x870886(0x533)]&&(_0x52ce10=_0x9c23c3['crypto']),!_0x52ce10&&typeof _0x474c64==_0x870886(0x32a))try{_0x52ce10=require('crypto');}catch{}var _0x1cc06f=function(){var _0x1ca23a=_0x870886;if(_0x52ce10){if(typeof _0x52ce10[_0x1ca23a(0x2b8)]==_0x1ca23a(0x32a))try{return _0x52ce10['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x52ce10[_0x1ca23a(0x253)]==_0x1ca23a(0x32a))try{return _0x52ce10[_0x1ca23a(0x253)](0x4)[_0x1ca23a(0x4ac)]();}catch{}}throw new Error(_0x1ca23a(0x28c));},_0x2febba=Object[_0x870886(0x46f)]||(function(){function _0x3b00b3(){}return function(_0x5bd3a0){var _0x192c2f=_0x58ee,_0x4a61ba;return _0x3b00b3['prototype']=_0x5bd3a0,_0x4a61ba=new _0x3b00b3(),_0x3b00b3[_0x192c2f(0x236)]=null,_0x4a61ba;};}()),_0x55f658={},_0x3f21a7=_0x55f658[_0x870886(0x1fd)]={},_0x665ea4=_0x3f21a7[_0x870886(0x3c1)]=(function(){return{'extend':function(_0x7329ea){var _0x389d7c=_0x58ee,_0x73eec5=_0x2febba(this);return _0x7329ea&&_0x73eec5['mixIn'](_0x7329ea),(!_0x73eec5[_0x389d7c(0x2b4)](_0x389d7c(0x456))||this['init']===_0x73eec5[_0x389d7c(0x456)])&&(_0x73eec5['init']=function(){var _0x376206=_0x389d7c;_0x73eec5[_0x376206(0x521)][_0x376206(0x456)]['apply'](this,arguments);}),_0x73eec5['init'][_0x389d7c(0x236)]=_0x73eec5,_0x73eec5['$super']=this,_0x73eec5;},'create':function(){var _0x24c210=_0x58ee,_0x4eab8a=this[_0x24c210(0x34d)]();return _0x4eab8a[_0x24c210(0x456)]['apply'](_0x4eab8a,arguments),_0x4eab8a;},'init':function(){},'mixIn':function(_0x4926b5){var _0x24aeb0=_0x58ee;for(var _0x3e2934 in _0x4926b5)_0x4926b5[_0x24aeb0(0x2b4)](_0x3e2934)&&(this[_0x3e2934]=_0x4926b5[_0x3e2934]);_0x4926b5[_0x24aeb0(0x2b4)]('toString')&&(this[_0x24aeb0(0x250)]=_0x4926b5['toString']);},'clone':function(){var _0x1ddea4=_0x58ee;return this[_0x1ddea4(0x456)]['prototype'][_0x1ddea4(0x34d)](this);}};}()),_0x34dec6=_0x3f21a7[_0x870886(0x273)]=_0x665ea4[_0x870886(0x34d)]({'init':function(_0x106d21,_0x32c472){var _0x3646ed=_0x870886;_0x106d21=this[_0x3646ed(0x240)]=_0x106d21||[],_0x32c472!=_0xa49f6e?this['sigBytes']=_0x32c472:this['sigBytes']=_0x106d21[_0x3646ed(0x3c5)]*0x4;},'toString':function(_0x64d5f1){var _0x4adc33=_0x870886;return(_0x64d5f1||_0x5f1025)[_0x4adc33(0x3c7)](this);},'concat':function(_0x23b8ef){var _0x230156=_0x870886,_0x3859ed=this[_0x230156(0x240)],_0x5ebc2a=_0x23b8ef['words'],_0x59d1ec=this[_0x230156(0x4f8)],_0xf52a7c=_0x23b8ef[_0x230156(0x4f8)];if(this['clamp'](),_0x59d1ec%0x4)for(var _0x27423f=0x0;_0x27423f<_0xf52a7c;_0x27423f++){var _0x49ca17=_0x5ebc2a[_0x27423f>>>0x2]>>>0x18-_0x27423f%0x4*0x8&0xff;_0x3859ed[_0x59d1ec+_0x27423f>>>0x2]|=_0x49ca17<<0x18-(_0x59d1ec+_0x27423f)%0x4*0x8;}else{for(var _0x1635b3=0x0;_0x1635b3<_0xf52a7c;_0x1635b3+=0x4)_0x3859ed[_0x59d1ec+_0x1635b3>>>0x2]=_0x5ebc2a[_0x1635b3>>>0x2];}return this['sigBytes']+=_0xf52a7c,this;},'clamp':function(){var _0x56e115=_0x870886,_0x3cd423=this[_0x56e115(0x240)],_0x426ead=this[_0x56e115(0x4f8)];_0x3cd423[_0x426ead>>>0x2]&=0xffffffff<<0x20-_0x426ead%0x4*0x8,_0x3cd423['length']=_0x44a2a1[_0x56e115(0x33e)](_0x426ead/0x4);},'clone':function(){var _0x135899=_0x870886,_0x219c3f=_0x665ea4['clone']['call'](this);return _0x219c3f[_0x135899(0x240)]=this[_0x135899(0x240)][_0x135899(0x3f8)](0x0),_0x219c3f;},'random':function(_0x5b4652){var _0x2fad71=_0x870886;for(var _0x213a43=[],_0x11763a=0x0;_0x11763a<_0x5b4652;_0x11763a+=0x4)_0x213a43[_0x2fad71(0x381)](_0x1cc06f());return new _0x34dec6[(_0x2fad71(0x456))](_0x213a43,_0x5b4652);}}),_0x3e52e5=_0x55f658[_0x870886(0x30e)]={},_0x5f1025=_0x3e52e5[_0x870886(0x1ea)]={'stringify':function(_0x10083f){var _0x55d19e=_0x870886;for(var _0x35f6ec=_0x10083f['words'],_0x59b889=_0x10083f[_0x55d19e(0x4f8)],_0x27c3ca=[],_0x4f066b=0x0;_0x4f066b<_0x59b889;_0x4f066b++){var _0x33563f=_0x35f6ec[_0x4f066b>>>0x2]>>>0x18-_0x4f066b%0x4*0x8&0xff;_0x27c3ca[_0x55d19e(0x381)]((_0x33563f>>>0x4)[_0x55d19e(0x250)](0x10)),_0x27c3ca[_0x55d19e(0x381)]((_0x33563f&0xf)[_0x55d19e(0x250)](0x10));}return _0x27c3ca[_0x55d19e(0x47c)]('');},'parse':function(_0xb8ba1b){var _0xcbc14e=_0x870886;for(var _0x458a00=_0xb8ba1b[_0xcbc14e(0x3c5)],_0xca22f6=[],_0x361270=0x0;_0x361270<_0x458a00;_0x361270+=0x2)_0xca22f6[_0x361270>>>0x3]|=parseInt(_0xb8ba1b[_0xcbc14e(0x432)](_0x361270,0x2),0x10)<<0x18-_0x361270%0x8*0x4;return new _0x34dec6[(_0xcbc14e(0x456))](_0xca22f6,_0x458a00/0x2);}},_0x43aec1=_0x3e52e5[_0x870886(0x25c)]={'stringify':function(_0x1790d8){var _0x2bf803=_0x870886;for(var _0x38355a=_0x1790d8[_0x2bf803(0x240)],_0x10d382=_0x1790d8[_0x2bf803(0x4f8)],_0x5dc1ca=[],_0x3b8503=0x0;_0x3b8503<_0x10d382;_0x3b8503++){var _0x5c02e0=_0x38355a[_0x3b8503>>>0x2]>>>0x18-_0x3b8503%0x4*0x8&0xff;_0x5dc1ca[_0x2bf803(0x381)](String['fromCharCode'](_0x5c02e0));}return _0x5dc1ca['join']('');},'parse':function(_0x4beecd){var _0x308161=_0x870886;for(var _0x222ae2=_0x4beecd[_0x308161(0x3c5)],_0x437814=[],_0x273913=0x0;_0x273913<_0x222ae2;_0x273913++)_0x437814[_0x273913>>>0x2]|=(_0x4beecd[_0x308161(0x4a4)](_0x273913)&0xff)<<0x18-_0x273913%0x4*0x8;return new _0x34dec6['init'](_0x437814,_0x222ae2);}},_0x33da3c=_0x3e52e5[_0x870886(0x4ec)]={'stringify':function(_0x29deb9){var _0xaa1a8f=_0x870886;try{return decodeURIComponent(escape(_0x43aec1[_0xaa1a8f(0x3c7)](_0x29deb9)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x51adec){return _0x43aec1['parse'](unescape(encodeURIComponent(_0x51adec)));}},_0x2ffae=_0x3f21a7[_0x870886(0x3bf)]=_0x665ea4[_0x870886(0x34d)]({'reset':function(){var _0x3fca07=_0x870886;this[_0x3fca07(0x38f)]=new _0x34dec6[(_0x3fca07(0x456))](),this[_0x3fca07(0x2cd)]=0x0;},'_append':function(_0x896e02){var _0x4e5e69=_0x870886;typeof _0x896e02==_0x4e5e69(0x2da)&&(_0x896e02=_0x33da3c[_0x4e5e69(0x43e)](_0x896e02)),this[_0x4e5e69(0x38f)][_0x4e5e69(0x4bb)](_0x896e02),this[_0x4e5e69(0x2cd)]+=_0x896e02[_0x4e5e69(0x4f8)];},'_process':function(_0x465472){var _0xffb040=_0x870886,_0x49084a,_0x35cd7d=this[_0xffb040(0x38f)],_0x5b28c4=_0x35cd7d['words'],_0xcfd9c4=_0x35cd7d[_0xffb040(0x4f8)],_0x5269d5=this[_0xffb040(0x56b)],_0x5b17ea=_0x5269d5*0x4,_0x133de8=_0xcfd9c4/_0x5b17ea;_0x465472?_0x133de8=_0x44a2a1['ceil'](_0x133de8):_0x133de8=_0x44a2a1['max']((_0x133de8|0x0)-this['_minBufferSize'],0x0);var _0x4b894b=_0x133de8*_0x5269d5,_0x1232ed=_0x44a2a1[_0xffb040(0x3f6)](_0x4b894b*0x4,_0xcfd9c4);if(_0x4b894b){for(var _0x1fcb26=0x0;_0x1fcb26<_0x4b894b;_0x1fcb26+=_0x5269d5)this[_0xffb040(0x3e5)](_0x5b28c4,_0x1fcb26);_0x49084a=_0x5b28c4[_0xffb040(0x2b3)](0x0,_0x4b894b),_0x35cd7d[_0xffb040(0x4f8)]-=_0x1232ed;}return new _0x34dec6[(_0xffb040(0x456))](_0x49084a,_0x1232ed);},'clone':function(){var _0x143f57=_0x870886,_0x384969=_0x665ea4[_0x143f57(0x4e8)]['call'](this);return _0x384969[_0x143f57(0x38f)]=this[_0x143f57(0x38f)][_0x143f57(0x4e8)](),_0x384969;},'_minBufferSize':0x0});_0x3f21a7[_0x870886(0x372)]=_0x2ffae[_0x870886(0x34d)]({'cfg':_0x665ea4[_0x870886(0x34d)](),'init':function(_0x197819){var _0x418244=_0x870886;this[_0x418244(0x221)]=this[_0x418244(0x221)][_0x418244(0x34d)](_0x197819),this[_0x418244(0x20a)]();},'reset':function(){var _0xd5efe7=_0x870886;_0x2ffae[_0xd5efe7(0x20a)][_0xd5efe7(0x37a)](this),this[_0xd5efe7(0x312)]();},'update':function(_0x2e5b30){var _0x1aa524=_0x870886;return this[_0x1aa524(0x39f)](_0x2e5b30),this[_0x1aa524(0x1e6)](),this;},'finalize':function(_0x40f87f){var _0x3ca933=_0x870886;_0x40f87f&&this[_0x3ca933(0x39f)](_0x40f87f);var _0x998f64=this[_0x3ca933(0x243)]();return _0x998f64;},'blockSize':0x10,'_createHelper':function(_0x3c1296){return function(_0x5da26b,_0x14e582){var _0x3d803=_0x58ee;return new _0x3c1296[(_0x3d803(0x456))](_0x14e582)['finalize'](_0x5da26b);};},'_createHmacHelper':function(_0x2f1e26){return function(_0x2c0676,_0xb89108){var _0x4c0b3c=_0x58ee;return new _0x1ce893['HMAC'][(_0x4c0b3c(0x456))](_0x2f1e26,_0xb89108)['finalize'](_0x2c0676);};}});var _0x1ce893=_0x55f658['algo']={};return _0x55f658;}(Math);return _0x593a86;}));}(_0x3124de)),_0x3124de[_0x4735df(0x1f7)];}var _0x3fbb19={'exports':{}},_0x55247a=_0x3fbb19[_0x3d1808(0x1f7)],_0x10875b;function _0x294be0(){var _0x4d3365=_0x3d1808;return _0x10875b||(_0x10875b=0x1,function(_0x4a9d46,_0x9901df){(function(_0x1fa050,_0x25fd2b){_0x4a9d46['exports']=_0x25fd2b(_0x1257fc());}(_0x55247a,function(_0x4f844b){var _0x48a4ac=_0x58ee;return(function(){var _0xdf0f8c=_0x58ee,_0x55942a=_0x4f844b,_0x11bafa=_0x55942a['lib'],_0x51b4e1=_0x11bafa[_0xdf0f8c(0x273)],_0x35a8a8=_0x55942a[_0xdf0f8c(0x30e)];_0x35a8a8['Base64']={'stringify':function(_0x23b49a){var _0x58cf14=_0xdf0f8c,_0xbedd1c=_0x23b49a[_0x58cf14(0x240)],_0x5537aa=_0x23b49a['sigBytes'],_0x462109=this[_0x58cf14(0x41e)];_0x23b49a[_0x58cf14(0x536)]();for(var _0xdd0c7a=[],_0x302fbd=0x0;_0x302fbd<_0x5537aa;_0x302fbd+=0x3)for(var _0x1906a9=_0xbedd1c[_0x302fbd>>>0x2]>>>0x18-_0x302fbd%0x4*0x8&0xff,_0x5d97a8=_0xbedd1c[_0x302fbd+0x1>>>0x2]>>>0x18-(_0x302fbd+0x1)%0x4*0x8&0xff,_0x70652a=_0xbedd1c[_0x302fbd+0x2>>>0x2]>>>0x18-(_0x302fbd+0x2)%0x4*0x8&0xff,_0x19166c=_0x1906a9<<0x10|_0x5d97a8<<0x8|_0x70652a,_0x1d8bd6=0x0;_0x1d8bd6<0x4&&_0x302fbd+_0x1d8bd6*0.75<_0x5537aa;_0x1d8bd6++)_0xdd0c7a[_0x58cf14(0x381)](_0x462109[_0x58cf14(0x3f7)](_0x19166c>>>0x6*(0x3-_0x1d8bd6)&0x3f));var _0x1e2928=_0x462109[_0x58cf14(0x3f7)](0x40);if(_0x1e2928){for(;_0xdd0c7a[_0x58cf14(0x3c5)]%0x4;)_0xdd0c7a[_0x58cf14(0x381)](_0x1e2928);}return _0xdd0c7a[_0x58cf14(0x47c)]('');},'parse':function(_0xed4b36){var _0x7adcf1=_0xdf0f8c,_0x3c8836=_0xed4b36[_0x7adcf1(0x3c5)],_0x37c270=this[_0x7adcf1(0x41e)],_0xaa8c9e=this[_0x7adcf1(0x244)];if(!_0xaa8c9e){_0xaa8c9e=this[_0x7adcf1(0x244)]=[];for(var _0x42060f=0x0;_0x42060f<_0x37c270['length'];_0x42060f++)_0xaa8c9e[_0x37c270['charCodeAt'](_0x42060f)]=_0x42060f;}var _0x426885=_0x37c270[_0x7adcf1(0x3f7)](0x40);if(_0x426885){var _0x5c3e81=_0xed4b36[_0x7adcf1(0x2fe)](_0x426885);_0x5c3e81!==-0x1&&(_0x3c8836=_0x5c3e81);}return _0x2313cb(_0xed4b36,_0x3c8836,_0xaa8c9e);},'_map':_0xdf0f8c(0x22b)};function _0x2313cb(_0x2e09bc,_0x4a0376,_0x30a472){var _0x3d092c=_0xdf0f8c;for(var _0x1cf1c2=[],_0x3584e4=0x0,_0x22d2d5=0x0;_0x22d2d5<_0x4a0376;_0x22d2d5++)if(_0x22d2d5%0x4){var _0x3d4b4f=_0x30a472[_0x2e09bc['charCodeAt'](_0x22d2d5-0x1)]<<_0x22d2d5%0x4*0x2,_0x541553=_0x30a472[_0x2e09bc[_0x3d092c(0x4a4)](_0x22d2d5)]>>>0x6-_0x22d2d5%0x4*0x2,_0x60f702=_0x3d4b4f|_0x541553;_0x1cf1c2[_0x3584e4>>>0x2]|=_0x60f702<<0x18-_0x3584e4%0x4*0x8,_0x3584e4++;}return _0x51b4e1['create'](_0x1cf1c2,_0x3584e4);}}()),_0x4f844b[_0x48a4ac(0x30e)][_0x48a4ac(0x330)];}));}(_0x3fbb19)),_0x3fbb19[_0x4d3365(0x1f7)];}var _0x1581bf={'exports':{}},_0x204bda=_0x1581bf['exports'],_0x371427;function _0x45d0e1(){var _0x8199d3=_0x3d1808;return _0x371427||(_0x371427=0x1,function(_0x49991f,_0x54f1de){(function(_0x583f5e,_0xa013ff){var _0x3373df=_0x58ee;_0x49991f[_0x3373df(0x1f7)]=_0xa013ff(_0x1257fc());}(_0x204bda,function(_0xc3dc6b){var _0x1bac3d=_0x58ee;return function(_0x4be436){var _0x11c2b7=_0x58ee,_0x16fe71=_0xc3dc6b,_0x4c3240=_0x16fe71[_0x11c2b7(0x1fd)],_0x568d87=_0x4c3240[_0x11c2b7(0x273)],_0x404e61=_0x4c3240['Hasher'],_0x38e8ba=_0x16fe71['algo'],_0x236537=[];(function(){var _0x51fa00=_0x11c2b7;for(var _0x1979a9=0x0;_0x1979a9<0x40;_0x1979a9++)_0x236537[_0x1979a9]=_0x4be436[_0x51fa00(0x3bd)](_0x4be436[_0x51fa00(0x4e3)](_0x1979a9+0x1))*0x100000000|0x0;}());var _0x431914=_0x38e8ba[_0x11c2b7(0x203)]=_0x404e61[_0x11c2b7(0x34d)]({'_doReset':function(){var _0x4b729c=_0x11c2b7;this[_0x4b729c(0x2a6)]=new _0x568d87[(_0x4b729c(0x456))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x35ec24,_0x1a5359){for(var _0x4622f5=0x0;_0x4622f5<0x10;_0x4622f5++){var _0x6b09c7=_0x1a5359+_0x4622f5,_0x31d287=_0x35ec24[_0x6b09c7];_0x35ec24[_0x6b09c7]=(_0x31d287<<0x8|_0x31d287>>>0x18)&0xff00ff|(_0x31d287<<0x18|_0x31d287>>>0x8)&0xff00ff00;}var _0x1080ed=this['_hash']['words'],_0x4c94ea=_0x35ec24[_0x1a5359+0x0],_0xc46883=_0x35ec24[_0x1a5359+0x1],_0x5e667b=_0x35ec24[_0x1a5359+0x2],_0x25dd0d=_0x35ec24[_0x1a5359+0x3],_0x111e0f=_0x35ec24[_0x1a5359+0x4],_0x5cccdc=_0x35ec24[_0x1a5359+0x5],_0xc1a1f6=_0x35ec24[_0x1a5359+0x6],_0x34adb1=_0x35ec24[_0x1a5359+0x7],_0x3d7096=_0x35ec24[_0x1a5359+0x8],_0x39eeb8=_0x35ec24[_0x1a5359+0x9],_0x40eaeb=_0x35ec24[_0x1a5359+0xa],_0x375595=_0x35ec24[_0x1a5359+0xb],_0x4cf84d=_0x35ec24[_0x1a5359+0xc],_0x4d27d5=_0x35ec24[_0x1a5359+0xd],_0x4d0b1c=_0x35ec24[_0x1a5359+0xe],_0x9b7e92=_0x35ec24[_0x1a5359+0xf],_0x256f93=_0x1080ed[0x0],_0x22bc14=_0x1080ed[0x1],_0x30ceda=_0x1080ed[0x2],_0x3ccd38=_0x1080ed[0x3];_0x256f93=_0x21f60b(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x4c94ea,0x7,_0x236537[0x0]),_0x3ccd38=_0x21f60b(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0xc46883,0xc,_0x236537[0x1]),_0x30ceda=_0x21f60b(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x5e667b,0x11,_0x236537[0x2]),_0x22bc14=_0x21f60b(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x25dd0d,0x16,_0x236537[0x3]),_0x256f93=_0x21f60b(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x111e0f,0x7,_0x236537[0x4]),_0x3ccd38=_0x21f60b(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x5cccdc,0xc,_0x236537[0x5]),_0x30ceda=_0x21f60b(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0xc1a1f6,0x11,_0x236537[0x6]),_0x22bc14=_0x21f60b(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x34adb1,0x16,_0x236537[0x7]),_0x256f93=_0x21f60b(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x3d7096,0x7,_0x236537[0x8]),_0x3ccd38=_0x21f60b(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x39eeb8,0xc,_0x236537[0x9]),_0x30ceda=_0x21f60b(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x40eaeb,0x11,_0x236537[0xa]),_0x22bc14=_0x21f60b(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x375595,0x16,_0x236537[0xb]),_0x256f93=_0x21f60b(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x4cf84d,0x7,_0x236537[0xc]),_0x3ccd38=_0x21f60b(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x4d27d5,0xc,_0x236537[0xd]),_0x30ceda=_0x21f60b(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x4d0b1c,0x11,_0x236537[0xe]),_0x22bc14=_0x21f60b(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x9b7e92,0x16,_0x236537[0xf]),_0x256f93=_0x1cbe31(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0xc46883,0x5,_0x236537[0x10]),_0x3ccd38=_0x1cbe31(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0xc1a1f6,0x9,_0x236537[0x11]),_0x30ceda=_0x1cbe31(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x375595,0xe,_0x236537[0x12]),_0x22bc14=_0x1cbe31(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x4c94ea,0x14,_0x236537[0x13]),_0x256f93=_0x1cbe31(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x5cccdc,0x5,_0x236537[0x14]),_0x3ccd38=_0x1cbe31(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x40eaeb,0x9,_0x236537[0x15]),_0x30ceda=_0x1cbe31(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x9b7e92,0xe,_0x236537[0x16]),_0x22bc14=_0x1cbe31(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x111e0f,0x14,_0x236537[0x17]),_0x256f93=_0x1cbe31(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x39eeb8,0x5,_0x236537[0x18]),_0x3ccd38=_0x1cbe31(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x4d0b1c,0x9,_0x236537[0x19]),_0x30ceda=_0x1cbe31(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x25dd0d,0xe,_0x236537[0x1a]),_0x22bc14=_0x1cbe31(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x3d7096,0x14,_0x236537[0x1b]),_0x256f93=_0x1cbe31(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x4d27d5,0x5,_0x236537[0x1c]),_0x3ccd38=_0x1cbe31(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x5e667b,0x9,_0x236537[0x1d]),_0x30ceda=_0x1cbe31(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x34adb1,0xe,_0x236537[0x1e]),_0x22bc14=_0x1cbe31(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x4cf84d,0x14,_0x236537[0x1f]),_0x256f93=_0x550948(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x5cccdc,0x4,_0x236537[0x20]),_0x3ccd38=_0x550948(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x3d7096,0xb,_0x236537[0x21]),_0x30ceda=_0x550948(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x375595,0x10,_0x236537[0x22]),_0x22bc14=_0x550948(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x4d0b1c,0x17,_0x236537[0x23]),_0x256f93=_0x550948(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0xc46883,0x4,_0x236537[0x24]),_0x3ccd38=_0x550948(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x111e0f,0xb,_0x236537[0x25]),_0x30ceda=_0x550948(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x34adb1,0x10,_0x236537[0x26]),_0x22bc14=_0x550948(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x40eaeb,0x17,_0x236537[0x27]),_0x256f93=_0x550948(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x4d27d5,0x4,_0x236537[0x28]),_0x3ccd38=_0x550948(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x4c94ea,0xb,_0x236537[0x29]),_0x30ceda=_0x550948(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x25dd0d,0x10,_0x236537[0x2a]),_0x22bc14=_0x550948(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0xc1a1f6,0x17,_0x236537[0x2b]),_0x256f93=_0x550948(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x39eeb8,0x4,_0x236537[0x2c]),_0x3ccd38=_0x550948(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x4cf84d,0xb,_0x236537[0x2d]),_0x30ceda=_0x550948(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x9b7e92,0x10,_0x236537[0x2e]),_0x22bc14=_0x550948(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x5e667b,0x17,_0x236537[0x2f]),_0x256f93=_0x5f2b13(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x4c94ea,0x6,_0x236537[0x30]),_0x3ccd38=_0x5f2b13(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x34adb1,0xa,_0x236537[0x31]),_0x30ceda=_0x5f2b13(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x4d0b1c,0xf,_0x236537[0x32]),_0x22bc14=_0x5f2b13(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x5cccdc,0x15,_0x236537[0x33]),_0x256f93=_0x5f2b13(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x4cf84d,0x6,_0x236537[0x34]),_0x3ccd38=_0x5f2b13(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x25dd0d,0xa,_0x236537[0x35]),_0x30ceda=_0x5f2b13(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x40eaeb,0xf,_0x236537[0x36]),_0x22bc14=_0x5f2b13(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0xc46883,0x15,_0x236537[0x37]),_0x256f93=_0x5f2b13(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x3d7096,0x6,_0x236537[0x38]),_0x3ccd38=_0x5f2b13(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x9b7e92,0xa,_0x236537[0x39]),_0x30ceda=_0x5f2b13(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0xc1a1f6,0xf,_0x236537[0x3a]),_0x22bc14=_0x5f2b13(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x4d27d5,0x15,_0x236537[0x3b]),_0x256f93=_0x5f2b13(_0x256f93,_0x22bc14,_0x30ceda,_0x3ccd38,_0x111e0f,0x6,_0x236537[0x3c]),_0x3ccd38=_0x5f2b13(_0x3ccd38,_0x256f93,_0x22bc14,_0x30ceda,_0x375595,0xa,_0x236537[0x3d]),_0x30ceda=_0x5f2b13(_0x30ceda,_0x3ccd38,_0x256f93,_0x22bc14,_0x5e667b,0xf,_0x236537[0x3e]),_0x22bc14=_0x5f2b13(_0x22bc14,_0x30ceda,_0x3ccd38,_0x256f93,_0x39eeb8,0x15,_0x236537[0x3f]),_0x1080ed[0x0]=_0x1080ed[0x0]+_0x256f93|0x0,_0x1080ed[0x1]=_0x1080ed[0x1]+_0x22bc14|0x0,_0x1080ed[0x2]=_0x1080ed[0x2]+_0x30ceda|0x0,_0x1080ed[0x3]=_0x1080ed[0x3]+_0x3ccd38|0x0;},'_doFinalize':function(){var _0x5dc794=_0x11c2b7,_0x9b3c2a=this[_0x5dc794(0x38f)],_0x350e1f=_0x9b3c2a[_0x5dc794(0x240)],_0xe6c38d=this['_nDataBytes']*0x8,_0x3b00b4=_0x9b3c2a[_0x5dc794(0x4f8)]*0x8;_0x350e1f[_0x3b00b4>>>0x5]|=0x80<<0x18-_0x3b00b4%0x20;var _0x221976=_0x4be436['floor'](_0xe6c38d/0x100000000),_0x24c1e3=_0xe6c38d;_0x350e1f[(_0x3b00b4+0x40>>>0x9<<0x4)+0xf]=(_0x221976<<0x8|_0x221976>>>0x18)&0xff00ff|(_0x221976<<0x18|_0x221976>>>0x8)&0xff00ff00,_0x350e1f[(_0x3b00b4+0x40>>>0x9<<0x4)+0xe]=(_0x24c1e3<<0x8|_0x24c1e3>>>0x18)&0xff00ff|(_0x24c1e3<<0x18|_0x24c1e3>>>0x8)&0xff00ff00,_0x9b3c2a['sigBytes']=(_0x350e1f[_0x5dc794(0x3c5)]+0x1)*0x4,this[_0x5dc794(0x1e6)]();for(var _0x1e7899=this[_0x5dc794(0x2a6)],_0x14b805=_0x1e7899[_0x5dc794(0x240)],_0x4173d6=0x0;_0x4173d6<0x4;_0x4173d6++){var _0x3f975d=_0x14b805[_0x4173d6];_0x14b805[_0x4173d6]=(_0x3f975d<<0x8|_0x3f975d>>>0x18)&0xff00ff|(_0x3f975d<<0x18|_0x3f975d>>>0x8)&0xff00ff00;}return _0x1e7899;},'clone':function(){var _0x572ff4=_0x11c2b7,_0x3f19af=_0x404e61['clone'][_0x572ff4(0x37a)](this);return _0x3f19af[_0x572ff4(0x2a6)]=this[_0x572ff4(0x2a6)][_0x572ff4(0x4e8)](),_0x3f19af;}});function _0x21f60b(_0x223893,_0x28ae77,_0x4efeec,_0x34eaed,_0x5b1559,_0x39b5a8,_0x33a556){var _0x1f4d82=_0x223893+(_0x28ae77&_0x4efeec|~_0x28ae77&_0x34eaed)+_0x5b1559+_0x33a556;return(_0x1f4d82<<_0x39b5a8|_0x1f4d82>>>0x20-_0x39b5a8)+_0x28ae77;}function _0x1cbe31(_0x17e782,_0xf36746,_0x58831a,_0xe51ceb,_0x311334,_0x2e236c,_0x51f0bd){var _0x2123b8=_0x17e782+(_0xf36746&_0xe51ceb|_0x58831a&~_0xe51ceb)+_0x311334+_0x51f0bd;return(_0x2123b8<<_0x2e236c|_0x2123b8>>>0x20-_0x2e236c)+_0xf36746;}function _0x550948(_0x18b2e9,_0x325a19,_0x11a176,_0x330435,_0x59504f,_0x5204f9,_0x49b352){var _0x212b40=_0x18b2e9+(_0x325a19^_0x11a176^_0x330435)+_0x59504f+_0x49b352;return(_0x212b40<<_0x5204f9|_0x212b40>>>0x20-_0x5204f9)+_0x325a19;}function _0x5f2b13(_0x3425e3,_0x10c3cc,_0x3c38e2,_0x2ed59b,_0x3d847b,_0x80b9e4,_0xb83bc9){var _0x49256a=_0x3425e3+(_0x3c38e2^(_0x10c3cc|~_0x2ed59b))+_0x3d847b+_0xb83bc9;return(_0x49256a<<_0x80b9e4|_0x49256a>>>0x20-_0x80b9e4)+_0x10c3cc;}_0x16fe71[_0x11c2b7(0x203)]=_0x404e61[_0x11c2b7(0x4b9)](_0x431914),_0x16fe71[_0x11c2b7(0x42e)]=_0x404e61[_0x11c2b7(0x295)](_0x431914);}(Math),_0xc3dc6b[_0x1bac3d(0x203)];}));}(_0x1581bf)),_0x1581bf[_0x8199d3(0x1f7)];}var _0x303b85={'exports':{}},_0x7a0b83={'exports':{}},_0x991c76=_0x7a0b83['exports'],_0x443e8c;function _0x1e937a(){var _0x52ed46=_0x3d1808;return _0x443e8c||(_0x443e8c=0x1,function(_0x46e3b5,_0x659096){(function(_0x44b92f,_0x2c200c){var _0x2f6de6=_0x58ee;_0x46e3b5[_0x2f6de6(0x1f7)]=_0x2c200c(_0x1257fc());}(_0x991c76,function(_0x7a6685){var _0x181919=_0x58ee;return(function(){var _0x493299=_0x58ee,_0x1421e7=_0x7a6685,_0x1306d9=_0x1421e7[_0x493299(0x1fd)],_0x5a3d12=_0x1306d9[_0x493299(0x273)],_0x52908e=_0x1306d9['Hasher'],_0x36b5f5=_0x1421e7['algo'],_0x19daec=[],_0xc3bf2b=_0x36b5f5['SHA1']=_0x52908e[_0x493299(0x34d)]({'_doReset':function(){var _0xb95152=_0x493299;this[_0xb95152(0x2a6)]=new _0x5a3d12[(_0xb95152(0x456))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4fde72,_0x391e70){var _0x97160=_0x493299;for(var _0x3a02a3=this[_0x97160(0x2a6)][_0x97160(0x240)],_0x6563d8=_0x3a02a3[0x0],_0x42861e=_0x3a02a3[0x1],_0xbc19ef=_0x3a02a3[0x2],_0x195b53=_0x3a02a3[0x3],_0x199e07=_0x3a02a3[0x4],_0x25db5f=0x0;_0x25db5f<0x50;_0x25db5f++){if(_0x25db5f<0x10)_0x19daec[_0x25db5f]=_0x4fde72[_0x391e70+_0x25db5f]|0x0;else{var _0x59d3c5=_0x19daec[_0x25db5f-0x3]^_0x19daec[_0x25db5f-0x8]^_0x19daec[_0x25db5f-0xe]^_0x19daec[_0x25db5f-0x10];_0x19daec[_0x25db5f]=_0x59d3c5<<0x1|_0x59d3c5>>>0x1f;}var _0x1b9f5d=(_0x6563d8<<0x5|_0x6563d8>>>0x1b)+_0x199e07+_0x19daec[_0x25db5f];_0x25db5f<0x14?_0x1b9f5d+=(_0x42861e&_0xbc19ef|~_0x42861e&_0x195b53)+0x5a827999:_0x25db5f<0x28?_0x1b9f5d+=(_0x42861e^_0xbc19ef^_0x195b53)+0x6ed9eba1:_0x25db5f<0x3c?_0x1b9f5d+=(_0x42861e&_0xbc19ef|_0x42861e&_0x195b53|_0xbc19ef&_0x195b53)-0x70e44324:_0x1b9f5d+=(_0x42861e^_0xbc19ef^_0x195b53)-0x359d3e2a,_0x199e07=_0x195b53,_0x195b53=_0xbc19ef,_0xbc19ef=_0x42861e<<0x1e|_0x42861e>>>0x2,_0x42861e=_0x6563d8,_0x6563d8=_0x1b9f5d;}_0x3a02a3[0x0]=_0x3a02a3[0x0]+_0x6563d8|0x0,_0x3a02a3[0x1]=_0x3a02a3[0x1]+_0x42861e|0x0,_0x3a02a3[0x2]=_0x3a02a3[0x2]+_0xbc19ef|0x0,_0x3a02a3[0x3]=_0x3a02a3[0x3]+_0x195b53|0x0,_0x3a02a3[0x4]=_0x3a02a3[0x4]+_0x199e07|0x0;},'_doFinalize':function(){var _0x3a7968=_0x493299,_0x2ee2c2=this['_data'],_0x1f3f0c=_0x2ee2c2[_0x3a7968(0x240)],_0x51858f=this['_nDataBytes']*0x8,_0x4c5fad=_0x2ee2c2[_0x3a7968(0x4f8)]*0x8;return _0x1f3f0c[_0x4c5fad>>>0x5]|=0x80<<0x18-_0x4c5fad%0x20,_0x1f3f0c[(_0x4c5fad+0x40>>>0x9<<0x4)+0xe]=Math[_0x3a7968(0x421)](_0x51858f/0x100000000),_0x1f3f0c[(_0x4c5fad+0x40>>>0x9<<0x4)+0xf]=_0x51858f,_0x2ee2c2[_0x3a7968(0x4f8)]=_0x1f3f0c['length']*0x4,this[_0x3a7968(0x1e6)](),this[_0x3a7968(0x2a6)];},'clone':function(){var _0x4b6de4=_0x493299,_0x244829=_0x52908e[_0x4b6de4(0x4e8)][_0x4b6de4(0x37a)](this);return _0x244829['_hash']=this[_0x4b6de4(0x2a6)][_0x4b6de4(0x4e8)](),_0x244829;}});_0x1421e7[_0x493299(0x4c3)]=_0x52908e[_0x493299(0x4b9)](_0xc3bf2b),_0x1421e7['HmacSHA1']=_0x52908e[_0x493299(0x295)](_0xc3bf2b);}()),_0x7a6685[_0x181919(0x4c3)];}));}(_0x7a0b83)),_0x7a0b83[_0x52ed46(0x1f7)];}var _0x10e0db={'exports':{}},_0x153e40=_0x10e0db[_0x3d1808(0x1f7)],_0x4aa903;function _0x513044(){var _0x4fe2e6=_0x3d1808;return _0x4aa903||(_0x4aa903=0x1,function(_0x5ff188,_0x17dbc5){(function(_0x341ad8,_0x27020a){var _0x1a535b=_0x58ee;_0x5ff188[_0x1a535b(0x1f7)]=_0x27020a(_0x1257fc());}(_0x153e40,function(_0x21748a){(function(){var _0x141e49=_0x58ee,_0xbce18a=_0x21748a,_0x2217a5=_0xbce18a['lib'],_0x56d66b=_0x2217a5[_0x141e49(0x3c1)],_0x12efb5=_0xbce18a[_0x141e49(0x30e)],_0x55970d=_0x12efb5[_0x141e49(0x4ec)],_0x509655=_0xbce18a['algo'];_0x509655[_0x141e49(0x235)]=_0x56d66b[_0x141e49(0x34d)]({'init':function(_0x16967b,_0x300074){var _0x3098ea=_0x141e49;_0x16967b=this[_0x3098ea(0x20b)]=new _0x16967b[(_0x3098ea(0x456))](),typeof _0x300074==_0x3098ea(0x2da)&&(_0x300074=_0x55970d['parse'](_0x300074));var _0x5ade42=_0x16967b['blockSize'],_0x5835f2=_0x5ade42*0x4;_0x300074[_0x3098ea(0x4f8)]>_0x5835f2&&(_0x300074=_0x16967b[_0x3098ea(0x24f)](_0x300074)),_0x300074[_0x3098ea(0x536)]();for(var _0x1062e2=this[_0x3098ea(0x234)]=_0x300074[_0x3098ea(0x4e8)](),_0x18929d=this['_iKey']=_0x300074[_0x3098ea(0x4e8)](),_0x5ef9cc=_0x1062e2[_0x3098ea(0x240)],_0xad955f=_0x18929d[_0x3098ea(0x240)],_0x552e1d=0x0;_0x552e1d<_0x5ade42;_0x552e1d++)_0x5ef9cc[_0x552e1d]^=0x5c5c5c5c,_0xad955f[_0x552e1d]^=0x36363636;_0x1062e2[_0x3098ea(0x4f8)]=_0x18929d[_0x3098ea(0x4f8)]=_0x5835f2,this[_0x3098ea(0x20a)]();},'reset':function(){var _0x50cea9=_0x141e49,_0x2515ed=this['_hasher'];_0x2515ed[_0x50cea9(0x20a)](),_0x2515ed[_0x50cea9(0x232)](this['_iKey']);},'update':function(_0x248831){var _0x1ed35a=_0x141e49;return this[_0x1ed35a(0x20b)][_0x1ed35a(0x232)](_0x248831),this;},'finalize':function(_0x3e7748){var _0xe2765d=_0x141e49,_0x2ea81a=this[_0xe2765d(0x20b)],_0x46fde7=_0x2ea81a[_0xe2765d(0x24f)](_0x3e7748);_0x2ea81a['reset']();var _0xf2b483=_0x2ea81a[_0xe2765d(0x24f)](this['_oKey'][_0xe2765d(0x4e8)]()['concat'](_0x46fde7));return _0xf2b483;}});}());}));}(_0x10e0db)),_0x10e0db[_0x4fe2e6(0x1f7)];}var _0xb33875=_0x303b85[_0x3d1808(0x1f7)],_0x12f47b;function _0x136f19(){var _0x33399e=_0x3d1808;return _0x12f47b||(_0x12f47b=0x1,function(_0x4e658d,_0x28384f){(function(_0x27ca1e,_0x1886e7,_0x111709){var _0x32dc9e=_0x58ee;_0x4e658d[_0x32dc9e(0x1f7)]=_0x1886e7(_0x1257fc(),_0x1e937a(),_0x513044());}(_0xb33875,function(_0xcb0d89){var _0x643ea5=_0x58ee;return(function(){var _0x361520=_0x58ee,_0x45ee9a=_0xcb0d89,_0x38d812=_0x45ee9a[_0x361520(0x1fd)],_0x358cba=_0x38d812[_0x361520(0x3c1)],_0x419eb3=_0x38d812[_0x361520(0x273)],_0x3cf3d9=_0x45ee9a[_0x361520(0x39c)],_0x49ec68=_0x3cf3d9[_0x361520(0x203)],_0x5496df=_0x3cf3d9[_0x361520(0x255)]=_0x358cba[_0x361520(0x34d)]({'cfg':_0x358cba[_0x361520(0x34d)]({'keySize':0x80/0x20,'hasher':_0x49ec68,'iterations':0x1}),'init':function(_0x11f08f){var _0x5469d6=_0x361520;this[_0x5469d6(0x221)]=this[_0x5469d6(0x221)][_0x5469d6(0x34d)](_0x11f08f);},'compute':function(_0x1cf384,_0x1b5b9a){var _0xd9a576=_0x361520;for(var _0xfa98aa,_0x2d6242=this[_0xd9a576(0x221)],_0x56241f=_0x2d6242[_0xd9a576(0x4b6)][_0xd9a576(0x46f)](),_0x46e251=_0x419eb3[_0xd9a576(0x46f)](),_0x51e081=_0x46e251[_0xd9a576(0x240)],_0x5eb4f2=_0x2d6242[_0xd9a576(0x3b0)],_0x3e571b=_0x2d6242[_0xd9a576(0x3a8)];_0x51e081[_0xd9a576(0x3c5)]<_0x5eb4f2;){_0xfa98aa&&_0x56241f[_0xd9a576(0x232)](_0xfa98aa),_0xfa98aa=_0x56241f[_0xd9a576(0x232)](_0x1cf384)[_0xd9a576(0x24f)](_0x1b5b9a),_0x56241f[_0xd9a576(0x20a)]();for(var _0x9b699c=0x1;_0x9b699c<_0x3e571b;_0x9b699c++)_0xfa98aa=_0x56241f[_0xd9a576(0x24f)](_0xfa98aa),_0x56241f['reset']();_0x46e251[_0xd9a576(0x4bb)](_0xfa98aa);}return _0x46e251['sigBytes']=_0x5eb4f2*0x4,_0x46e251;}});_0x45ee9a[_0x361520(0x255)]=function(_0x5ff2bb,_0x243d1d,_0x49524b){var _0x158409=_0x361520;return _0x5496df[_0x158409(0x46f)](_0x49524b)[_0x158409(0x3c3)](_0x5ff2bb,_0x243d1d);};}()),_0xcb0d89[_0x643ea5(0x255)];}));}(_0x303b85)),_0x303b85[_0x33399e(0x1f7)];}var _0xac8e34={'exports':{}},_0xc78ee=_0xac8e34['exports'],_0x5119dc;function _0x49b936(){var _0x3e198b=_0x3d1808;return _0x5119dc||(_0x5119dc=0x1,function(_0x8b1aeb,_0x266e0b){(function(_0x3280f3,_0x58561d,_0x28efc0){var _0x3d03f7=_0x58ee;_0x8b1aeb[_0x3d03f7(0x1f7)]=_0x58561d(_0x1257fc(),_0x136f19());}(_0xc78ee,function(_0x2a7362){var _0x37d16c=_0x58ee;_0x2a7362[_0x37d16c(0x1fd)]['Cipher']||function(_0x1b2ad1){var _0x1fd6fa=_0x37d16c,_0x25c037=_0x2a7362,_0x43d07f=_0x25c037['lib'],_0x26eb69=_0x43d07f[_0x1fd6fa(0x3c1)],_0x14422c=_0x43d07f['WordArray'],_0xdaf6f6=_0x43d07f[_0x1fd6fa(0x3bf)],_0x21e6aa=_0x25c037[_0x1fd6fa(0x30e)];_0x21e6aa[_0x1fd6fa(0x4ec)];var _0x4fe9b7=_0x21e6aa[_0x1fd6fa(0x330)],_0x2407c2=_0x25c037['algo'],_0x6fb0fd=_0x2407c2['EvpKDF'],_0x2751f7=_0x43d07f['Cipher']=_0xdaf6f6[_0x1fd6fa(0x34d)]({'cfg':_0x26eb69['extend'](),'createEncryptor':function(_0x10f551,_0x596bd3){var _0x270023=_0x1fd6fa;return this[_0x270023(0x46f)](this[_0x270023(0x2b6)],_0x10f551,_0x596bd3);},'createDecryptor':function(_0x31074e,_0x1896ce){var _0x339c93=_0x1fd6fa;return this[_0x339c93(0x46f)](this[_0x339c93(0x4f7)],_0x31074e,_0x1896ce);},'init':function(_0x1bf467,_0x29e04c,_0x34fe27){var _0x52ff94=_0x1fd6fa;this[_0x52ff94(0x221)]=this[_0x52ff94(0x221)][_0x52ff94(0x34d)](_0x34fe27),this[_0x52ff94(0x4b7)]=_0x1bf467,this[_0x52ff94(0x2fc)]=_0x29e04c,this[_0x52ff94(0x20a)]();},'reset':function(){var _0x1f4c28=_0x1fd6fa;_0xdaf6f6[_0x1f4c28(0x20a)][_0x1f4c28(0x37a)](this),this[_0x1f4c28(0x312)]();},'process':function(_0x430145){var _0x2d0d1a=_0x1fd6fa;return this[_0x2d0d1a(0x39f)](_0x430145),this[_0x2d0d1a(0x1e6)]();},'finalize':function(_0x11c6e8){var _0x23e95b=_0x1fd6fa;_0x11c6e8&&this[_0x23e95b(0x39f)](_0x11c6e8);var _0x34b62a=this[_0x23e95b(0x243)]();return _0x34b62a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2cb833(_0x782961){return typeof _0x782961=='string'?_0x460ac3:_0x123e28;}return function(_0x54ae5f){return{'encrypt':function(_0x38d011,_0x26d4eb,_0x3c41e2){var _0x4d284e=_0x58ee;return _0x2cb833(_0x26d4eb)[_0x4d284e(0x2c2)](_0x54ae5f,_0x38d011,_0x26d4eb,_0x3c41e2);},'decrypt':function(_0x228077,_0x14d93f,_0x175629){var _0x135b06=_0x58ee;return _0x2cb833(_0x14d93f)[_0x135b06(0x3ae)](_0x54ae5f,_0x228077,_0x14d93f,_0x175629);}};};}())});_0x43d07f[_0x1fd6fa(0x30f)]=_0x2751f7[_0x1fd6fa(0x34d)]({'_doFinalize':function(){var _0x5d6daf=_0x1fd6fa,_0x2732c3=this[_0x5d6daf(0x1e6)](!0x0);return _0x2732c3;},'blockSize':0x1});var _0x3dc723=_0x25c037['mode']={},_0x16c326=_0x43d07f['BlockCipherMode']=_0x26eb69[_0x1fd6fa(0x34d)]({'createEncryptor':function(_0x17c5ca,_0x59c834){var _0x25f5bd=_0x1fd6fa;return this[_0x25f5bd(0x2c1)][_0x25f5bd(0x46f)](_0x17c5ca,_0x59c834);},'createDecryptor':function(_0x4c0549,_0x2b512e){var _0x4e68ea=_0x1fd6fa;return this[_0x4e68ea(0x35a)]['create'](_0x4c0549,_0x2b512e);},'init':function(_0x2cd55d,_0x32f639){var _0x42d0ed=_0x1fd6fa;this[_0x42d0ed(0x566)]=_0x2cd55d,this[_0x42d0ed(0x344)]=_0x32f639;}}),_0x256e4b=_0x3dc723['CBC']=(function(){var _0x4daf27=_0x1fd6fa,_0x2524f2=_0x16c326[_0x4daf27(0x34d)]();_0x2524f2[_0x4daf27(0x2c1)]=_0x2524f2[_0x4daf27(0x34d)]({'processBlock':function(_0x3f9e0a,_0x56edc2){var _0x4227f3=_0x4daf27,_0x492b13=this['_cipher'],_0xbb73c2=_0x492b13[_0x4227f3(0x56b)];_0x1ff7a7['call'](this,_0x3f9e0a,_0x56edc2,_0xbb73c2),_0x492b13[_0x4227f3(0x241)](_0x3f9e0a,_0x56edc2),this[_0x4227f3(0x4e7)]=_0x3f9e0a[_0x4227f3(0x3f8)](_0x56edc2,_0x56edc2+_0xbb73c2);}}),_0x2524f2['Decryptor']=_0x2524f2[_0x4daf27(0x34d)]({'processBlock':function(_0x5ed597,_0x4d0b21){var _0x5cf548=_0x4daf27,_0x366e91=this[_0x5cf548(0x566)],_0x2f1f37=_0x366e91[_0x5cf548(0x56b)],_0x1f1c8e=_0x5ed597[_0x5cf548(0x3f8)](_0x4d0b21,_0x4d0b21+_0x2f1f37);_0x366e91['decryptBlock'](_0x5ed597,_0x4d0b21),_0x1ff7a7[_0x5cf548(0x37a)](this,_0x5ed597,_0x4d0b21,_0x2f1f37),this[_0x5cf548(0x4e7)]=_0x1f1c8e;}});function _0x1ff7a7(_0x290335,_0x1f8adc,_0x2174c9){var _0x423af8=_0x4daf27,_0x5770a4,_0x1a3bd4=this['_iv'];_0x1a3bd4?(_0x5770a4=_0x1a3bd4,this['_iv']=_0x1b2ad1):_0x5770a4=this[_0x423af8(0x4e7)];for(var _0x144b65=0x0;_0x144b65<_0x2174c9;_0x144b65++)_0x290335[_0x1f8adc+_0x144b65]^=_0x5770a4[_0x144b65];}return _0x2524f2;}()),_0x2d65c0=_0x25c037[_0x1fd6fa(0x470)]={},_0x59a34f=_0x2d65c0[_0x1fd6fa(0x2cb)]={'pad':function(_0xf047d,_0x3bb401){var _0x2a6dc5=_0x1fd6fa;for(var _0x440813=_0x3bb401*0x4,_0x3216c5=_0x440813-_0xf047d['sigBytes']%_0x440813,_0x397549=_0x3216c5<<0x18|_0x3216c5<<0x10|_0x3216c5<<0x8|_0x3216c5,_0x2ee61d=[],_0x47ee4e=0x0;_0x47ee4e<_0x3216c5;_0x47ee4e+=0x4)_0x2ee61d[_0x2a6dc5(0x381)](_0x397549);var _0xab9cad=_0x14422c['create'](_0x2ee61d,_0x3216c5);_0xf047d['concat'](_0xab9cad);},'unpad':function(_0x11cb34){var _0x94978b=_0x1fd6fa,_0x5c4b0c=_0x11cb34[_0x94978b(0x240)][_0x11cb34[_0x94978b(0x4f8)]-0x1>>>0x2]&0xff;_0x11cb34[_0x94978b(0x4f8)]-=_0x5c4b0c;}};_0x43d07f[_0x1fd6fa(0x360)]=_0x2751f7[_0x1fd6fa(0x34d)]({'cfg':_0x2751f7[_0x1fd6fa(0x221)][_0x1fd6fa(0x34d)]({'mode':_0x256e4b,'padding':_0x59a34f}),'reset':function(){var _0x1c11cd=_0x1fd6fa,_0x2667a0;_0x2751f7['reset'][_0x1c11cd(0x37a)](this);var _0x2f7e1b=this[_0x1c11cd(0x221)],_0x5d2e33=_0x2f7e1b['iv'],_0x49f70a=_0x2f7e1b[_0x1c11cd(0x4fb)];this['_xformMode']==this[_0x1c11cd(0x2b6)]?_0x2667a0=_0x49f70a[_0x1c11cd(0x52b)]:(_0x2667a0=_0x49f70a[_0x1c11cd(0x401)],this['_minBufferSize']=0x1),this[_0x1c11cd(0x4bc)]&&this[_0x1c11cd(0x4bc)]['__creator']==_0x2667a0?this[_0x1c11cd(0x4bc)][_0x1c11cd(0x456)](this,_0x5d2e33&&_0x5d2e33[_0x1c11cd(0x240)]):(this[_0x1c11cd(0x4bc)]=_0x2667a0[_0x1c11cd(0x37a)](_0x49f70a,this,_0x5d2e33&&_0x5d2e33[_0x1c11cd(0x240)]),this[_0x1c11cd(0x4bc)][_0x1c11cd(0x4f6)]=_0x2667a0);},'_doProcessBlock':function(_0x2c8e5e,_0x396c41){var _0x15ff49=_0x1fd6fa;this[_0x15ff49(0x4bc)][_0x15ff49(0x3b6)](_0x2c8e5e,_0x396c41);},'_doFinalize':function(){var _0x3613e5=_0x1fd6fa,_0x2dc50c,_0x121825=this['cfg']['padding'];return this[_0x3613e5(0x4b7)]==this[_0x3613e5(0x2b6)]?(_0x121825['pad'](this[_0x3613e5(0x38f)],this['blockSize']),_0x2dc50c=this[_0x3613e5(0x1e6)](!0x0)):(_0x2dc50c=this['_process'](!0x0),_0x121825[_0x3613e5(0x3e4)](_0x2dc50c)),_0x2dc50c;},'blockSize':0x80/0x20});var _0x52cf47=_0x43d07f[_0x1fd6fa(0x20c)]=_0x26eb69[_0x1fd6fa(0x34d)]({'init':function(_0x36b276){var _0x8f4004=_0x1fd6fa;this[_0x8f4004(0x2b1)](_0x36b276);},'toString':function(_0x4c07ad){var _0x268375=_0x1fd6fa;return(_0x4c07ad||this[_0x268375(0x49f)])[_0x268375(0x3c7)](this);}}),_0x3b750f=_0x25c037[_0x1fd6fa(0x494)]={},_0x499edd=_0x3b750f[_0x1fd6fa(0x4a7)]={'stringify':function(_0xb8c2a5){var _0x5ccb47=_0x1fd6fa,_0x43e044,_0x1fee83=_0xb8c2a5[_0x5ccb47(0x50b)],_0x3967c8=_0xb8c2a5[_0x5ccb47(0x342)];return _0x3967c8?_0x43e044=_0x14422c[_0x5ccb47(0x46f)]([0x53616c74,0x65645f5f])[_0x5ccb47(0x4bb)](_0x3967c8)['concat'](_0x1fee83):_0x43e044=_0x1fee83,_0x43e044[_0x5ccb47(0x250)](_0x4fe9b7);},'parse':function(_0x5f4054){var _0x34d155=_0x1fd6fa,_0x249622,_0x4e6e4f=_0x4fe9b7[_0x34d155(0x43e)](_0x5f4054),_0x24d160=_0x4e6e4f[_0x34d155(0x240)];return _0x24d160[0x0]==0x53616c74&&_0x24d160[0x1]==0x65645f5f&&(_0x249622=_0x14422c[_0x34d155(0x46f)](_0x24d160['slice'](0x2,0x4)),_0x24d160[_0x34d155(0x2b3)](0x0,0x4),_0x4e6e4f['sigBytes']-=0x10),_0x52cf47[_0x34d155(0x46f)]({'ciphertext':_0x4e6e4f,'salt':_0x249622});}},_0x123e28=_0x43d07f[_0x1fd6fa(0x530)]=_0x26eb69[_0x1fd6fa(0x34d)]({'cfg':_0x26eb69[_0x1fd6fa(0x34d)]({'format':_0x499edd}),'encrypt':function(_0x29dfad,_0x44c863,_0x4dc6ae,_0x5474fe){var _0x341e44=_0x1fd6fa;_0x5474fe=this[_0x341e44(0x221)]['extend'](_0x5474fe);var _0x53fd46=_0x29dfad[_0x341e44(0x52b)](_0x4dc6ae,_0x5474fe),_0x1028f4=_0x53fd46['finalize'](_0x44c863),_0x2fd107=_0x53fd46[_0x341e44(0x221)];return _0x52cf47[_0x341e44(0x46f)]({'ciphertext':_0x1028f4,'key':_0x4dc6ae,'iv':_0x2fd107['iv'],'algorithm':_0x29dfad,'mode':_0x2fd107[_0x341e44(0x4fb)],'padding':_0x2fd107['padding'],'blockSize':_0x29dfad[_0x341e44(0x56b)],'formatter':_0x5474fe[_0x341e44(0x494)]});},'decrypt':function(_0x257c29,_0x4c0a51,_0x2ea6c4,_0x49c4e8){var _0x3a437e=_0x1fd6fa;_0x49c4e8=this[_0x3a437e(0x221)][_0x3a437e(0x34d)](_0x49c4e8),_0x4c0a51=this[_0x3a437e(0x35b)](_0x4c0a51,_0x49c4e8[_0x3a437e(0x494)]);var _0x29f5b3=_0x257c29['createDecryptor'](_0x2ea6c4,_0x49c4e8)[_0x3a437e(0x24f)](_0x4c0a51[_0x3a437e(0x50b)]);return _0x29f5b3;},'_parse':function(_0x5d44c6,_0x3b3caa){return typeof _0x5d44c6=='string'?_0x3b3caa['parse'](_0x5d44c6,this):_0x5d44c6;}}),_0x14d29a=_0x25c037[_0x1fd6fa(0x367)]={},_0x52e2a4=_0x14d29a[_0x1fd6fa(0x4a7)]={'execute':function(_0x407646,_0xd7c453,_0x50ec8f,_0x1759fe,_0x2de7c4){var _0x57ccd8=_0x1fd6fa;if(_0x1759fe||(_0x1759fe=_0x14422c[_0x57ccd8(0x4c7)](0x40/0x8)),_0x2de7c4)var _0x65f6d9=_0x6fb0fd[_0x57ccd8(0x46f)]({'keySize':_0xd7c453+_0x50ec8f,'hasher':_0x2de7c4})['compute'](_0x407646,_0x1759fe);else var _0x65f6d9=_0x6fb0fd[_0x57ccd8(0x46f)]({'keySize':_0xd7c453+_0x50ec8f})[_0x57ccd8(0x3c3)](_0x407646,_0x1759fe);var _0x536836=_0x14422c['create'](_0x65f6d9[_0x57ccd8(0x240)][_0x57ccd8(0x3f8)](_0xd7c453),_0x50ec8f*0x4);return _0x65f6d9[_0x57ccd8(0x4f8)]=_0xd7c453*0x4,_0x52cf47[_0x57ccd8(0x46f)]({'key':_0x65f6d9,'iv':_0x536836,'salt':_0x1759fe});}},_0x460ac3=_0x43d07f[_0x1fd6fa(0x518)]=_0x123e28['extend']({'cfg':_0x123e28['cfg']['extend']({'kdf':_0x52e2a4}),'encrypt':function(_0x307466,_0x274cf3,_0x360382,_0x2aee33){var _0x3c3ff4=_0x1fd6fa;_0x2aee33=this[_0x3c3ff4(0x221)][_0x3c3ff4(0x34d)](_0x2aee33);var _0x4f4b61=_0x2aee33[_0x3c3ff4(0x367)][_0x3c3ff4(0x21e)](_0x360382,_0x307466['keySize'],_0x307466[_0x3c3ff4(0x389)],_0x2aee33['salt'],_0x2aee33[_0x3c3ff4(0x4b6)]);_0x2aee33['iv']=_0x4f4b61['iv'];var _0x43b5eb=_0x123e28[_0x3c3ff4(0x2c2)][_0x3c3ff4(0x37a)](this,_0x307466,_0x274cf3,_0x4f4b61[_0x3c3ff4(0x1fe)],_0x2aee33);return _0x43b5eb[_0x3c3ff4(0x2b1)](_0x4f4b61),_0x43b5eb;},'decrypt':function(_0x5b1fdd,_0x25f506,_0x23c84a,_0x27c613){var _0x14d212=_0x1fd6fa;_0x27c613=this['cfg'][_0x14d212(0x34d)](_0x27c613),_0x25f506=this['_parse'](_0x25f506,_0x27c613[_0x14d212(0x494)]);var _0x336dbe=_0x27c613['kdf'][_0x14d212(0x21e)](_0x23c84a,_0x5b1fdd[_0x14d212(0x3b0)],_0x5b1fdd[_0x14d212(0x389)],_0x25f506[_0x14d212(0x342)],_0x27c613['hasher']);_0x27c613['iv']=_0x336dbe['iv'];var _0x5cacb9=_0x123e28[_0x14d212(0x3ae)]['call'](this,_0x5b1fdd,_0x25f506,_0x336dbe['key'],_0x27c613);return _0x5cacb9;}});}();}));}(_0xac8e34)),_0xac8e34[_0x3e198b(0x1f7)];}var _0x4a600c=_0x692448[_0x3d1808(0x1f7)],_0x7dbad3;function _0x3b2d3a(){var _0x1a7789=_0x3d1808;return _0x7dbad3||(_0x7dbad3=0x1,function(_0x188f44,_0x3e50b2){(function(_0x4474c0,_0x47deae,_0x3afe6f){var _0x25f905=_0x58ee;_0x188f44[_0x25f905(0x1f7)]=_0x47deae(_0x1257fc(),_0x294be0(),_0x45d0e1(),_0x136f19(),_0x49b936());}(_0x4a600c,function(_0x1fae5b){var _0x3f4d66=_0x58ee;return(function(){var _0x590f16=_0x58ee,_0x337841=_0x1fae5b,_0xb9c3e4=_0x337841[_0x590f16(0x1fd)],_0x441b81=_0xb9c3e4[_0x590f16(0x360)],_0xc25a85=_0x337841[_0x590f16(0x39c)],_0x59fbc4=[],_0x229543=[],_0x21bec2=[],_0x2ff2bf=[],_0x3e06b6=[],_0x197291=[],_0x20897a=[],_0x516198=[],_0x3e82e0=[],_0xc3e664=[];(function(){for(var _0x185771=[],_0x5a4e2a=0x0;_0x5a4e2a<0x100;_0x5a4e2a++)_0x5a4e2a<0x80?_0x185771[_0x5a4e2a]=_0x5a4e2a<<0x1:_0x185771[_0x5a4e2a]=_0x5a4e2a<<0x1^0x11b;for(var _0x1ff800=0x0,_0x489c66=0x0,_0x5a4e2a=0x0;_0x5a4e2a<0x100;_0x5a4e2a++){var _0xe3aacd=_0x489c66^_0x489c66<<0x1^_0x489c66<<0x2^_0x489c66<<0x3^_0x489c66<<0x4;_0xe3aacd=_0xe3aacd>>>0x8^_0xe3aacd&0xff^0x63,_0x59fbc4[_0x1ff800]=_0xe3aacd,_0x229543[_0xe3aacd]=_0x1ff800;var _0xa02d87=_0x185771[_0x1ff800],_0x4cd165=_0x185771[_0xa02d87],_0x44e064=_0x185771[_0x4cd165],_0x9b06a2=_0x185771[_0xe3aacd]*0x101^_0xe3aacd*0x1010100;_0x21bec2[_0x1ff800]=_0x9b06a2<<0x18|_0x9b06a2>>>0x8,_0x2ff2bf[_0x1ff800]=_0x9b06a2<<0x10|_0x9b06a2>>>0x10,_0x3e06b6[_0x1ff800]=_0x9b06a2<<0x8|_0x9b06a2>>>0x18,_0x197291[_0x1ff800]=_0x9b06a2;var _0x9b06a2=_0x44e064*0x1010101^_0x4cd165*0x10001^_0xa02d87*0x101^_0x1ff800*0x1010100;_0x20897a[_0xe3aacd]=_0x9b06a2<<0x18|_0x9b06a2>>>0x8,_0x516198[_0xe3aacd]=_0x9b06a2<<0x10|_0x9b06a2>>>0x10,_0x3e82e0[_0xe3aacd]=_0x9b06a2<<0x8|_0x9b06a2>>>0x18,_0xc3e664[_0xe3aacd]=_0x9b06a2,_0x1ff800?(_0x1ff800=_0xa02d87^_0x185771[_0x185771[_0x185771[_0x44e064^_0xa02d87]]],_0x489c66^=_0x185771[_0x185771[_0x489c66]]):_0x1ff800=_0x489c66=0x1;}}());var _0x3aa764=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5f54c8=_0xc25a85[_0x590f16(0x40d)]=_0x441b81[_0x590f16(0x34d)]({'_doReset':function(){var _0x13e10f=_0x590f16,_0xbb47c8;if(!(this['_nRounds']&&this[_0x13e10f(0x542)]===this[_0x13e10f(0x2fc)])){for(var _0x3892f6=this[_0x13e10f(0x542)]=this['_key'],_0x48e82b=_0x3892f6[_0x13e10f(0x240)],_0x34570e=_0x3892f6[_0x13e10f(0x4f8)]/0x4,_0x1347cf=this[_0x13e10f(0x434)]=_0x34570e+0x6,_0x5bba64=(_0x1347cf+0x1)*0x4,_0x52f6fa=this[_0x13e10f(0x42f)]=[],_0x2c48ff=0x0;_0x2c48ff<_0x5bba64;_0x2c48ff++)_0x2c48ff<_0x34570e?_0x52f6fa[_0x2c48ff]=_0x48e82b[_0x2c48ff]:(_0xbb47c8=_0x52f6fa[_0x2c48ff-0x1],_0x2c48ff%_0x34570e?_0x34570e>0x6&&_0x2c48ff%_0x34570e==0x4&&(_0xbb47c8=_0x59fbc4[_0xbb47c8>>>0x18]<<0x18|_0x59fbc4[_0xbb47c8>>>0x10&0xff]<<0x10|_0x59fbc4[_0xbb47c8>>>0x8&0xff]<<0x8|_0x59fbc4[_0xbb47c8&0xff]):(_0xbb47c8=_0xbb47c8<<0x8|_0xbb47c8>>>0x18,_0xbb47c8=_0x59fbc4[_0xbb47c8>>>0x18]<<0x18|_0x59fbc4[_0xbb47c8>>>0x10&0xff]<<0x10|_0x59fbc4[_0xbb47c8>>>0x8&0xff]<<0x8|_0x59fbc4[_0xbb47c8&0xff],_0xbb47c8^=_0x3aa764[_0x2c48ff/_0x34570e|0x0]<<0x18),_0x52f6fa[_0x2c48ff]=_0x52f6fa[_0x2c48ff-_0x34570e]^_0xbb47c8);for(var _0x4ca93b=this[_0x13e10f(0x2de)]=[],_0x4d197c=0x0;_0x4d197c<_0x5bba64;_0x4d197c++){var _0x2c48ff=_0x5bba64-_0x4d197c;if(_0x4d197c%0x4)var _0xbb47c8=_0x52f6fa[_0x2c48ff];else var _0xbb47c8=_0x52f6fa[_0x2c48ff-0x4];_0x4d197c<0x4||_0x2c48ff<=0x4?_0x4ca93b[_0x4d197c]=_0xbb47c8:_0x4ca93b[_0x4d197c]=_0x20897a[_0x59fbc4[_0xbb47c8>>>0x18]]^_0x516198[_0x59fbc4[_0xbb47c8>>>0x10&0xff]]^_0x3e82e0[_0x59fbc4[_0xbb47c8>>>0x8&0xff]]^_0xc3e664[_0x59fbc4[_0xbb47c8&0xff]];}}},'encryptBlock':function(_0x3fb3f8,_0x367fa4){var _0x50b8cd=_0x590f16;this[_0x50b8cd(0x36c)](_0x3fb3f8,_0x367fa4,this[_0x50b8cd(0x42f)],_0x21bec2,_0x2ff2bf,_0x3e06b6,_0x197291,_0x59fbc4);},'decryptBlock':function(_0x39b719,_0x388235){var _0x2857e7=_0x590f16,_0x2881fd=_0x39b719[_0x388235+0x1];_0x39b719[_0x388235+0x1]=_0x39b719[_0x388235+0x3],_0x39b719[_0x388235+0x3]=_0x2881fd,this[_0x2857e7(0x36c)](_0x39b719,_0x388235,this[_0x2857e7(0x2de)],_0x20897a,_0x516198,_0x3e82e0,_0xc3e664,_0x229543);var _0x2881fd=_0x39b719[_0x388235+0x1];_0x39b719[_0x388235+0x1]=_0x39b719[_0x388235+0x3],_0x39b719[_0x388235+0x3]=_0x2881fd;},'_doCryptBlock':function(_0x5f2ec4,_0x3956e2,_0x49fd23,_0x50426e,_0x6afda3,_0x4f3345,_0x37c857,_0x38b598){for(var _0x3eb6de=this['_nRounds'],_0x11eeb9=_0x5f2ec4[_0x3956e2]^_0x49fd23[0x0],_0x455369=_0x5f2ec4[_0x3956e2+0x1]^_0x49fd23[0x1],_0x3c177f=_0x5f2ec4[_0x3956e2+0x2]^_0x49fd23[0x2],_0x334379=_0x5f2ec4[_0x3956e2+0x3]^_0x49fd23[0x3],_0x1eb5b8=0x4,_0x28c1c4=0x1;_0x28c1c4<_0x3eb6de;_0x28c1c4++){var _0xd94c85=_0x50426e[_0x11eeb9>>>0x18]^_0x6afda3[_0x455369>>>0x10&0xff]^_0x4f3345[_0x3c177f>>>0x8&0xff]^_0x37c857[_0x334379&0xff]^_0x49fd23[_0x1eb5b8++],_0x168ec5=_0x50426e[_0x455369>>>0x18]^_0x6afda3[_0x3c177f>>>0x10&0xff]^_0x4f3345[_0x334379>>>0x8&0xff]^_0x37c857[_0x11eeb9&0xff]^_0x49fd23[_0x1eb5b8++],_0x54976a=_0x50426e[_0x3c177f>>>0x18]^_0x6afda3[_0x334379>>>0x10&0xff]^_0x4f3345[_0x11eeb9>>>0x8&0xff]^_0x37c857[_0x455369&0xff]^_0x49fd23[_0x1eb5b8++],_0x6e5c3d=_0x50426e[_0x334379>>>0x18]^_0x6afda3[_0x11eeb9>>>0x10&0xff]^_0x4f3345[_0x455369>>>0x8&0xff]^_0x37c857[_0x3c177f&0xff]^_0x49fd23[_0x1eb5b8++];_0x11eeb9=_0xd94c85,_0x455369=_0x168ec5,_0x3c177f=_0x54976a,_0x334379=_0x6e5c3d;}var _0xd94c85=(_0x38b598[_0x11eeb9>>>0x18]<<0x18|_0x38b598[_0x455369>>>0x10&0xff]<<0x10|_0x38b598[_0x3c177f>>>0x8&0xff]<<0x8|_0x38b598[_0x334379&0xff])^_0x49fd23[_0x1eb5b8++],_0x168ec5=(_0x38b598[_0x455369>>>0x18]<<0x18|_0x38b598[_0x3c177f>>>0x10&0xff]<<0x10|_0x38b598[_0x334379>>>0x8&0xff]<<0x8|_0x38b598[_0x11eeb9&0xff])^_0x49fd23[_0x1eb5b8++],_0x54976a=(_0x38b598[_0x3c177f>>>0x18]<<0x18|_0x38b598[_0x334379>>>0x10&0xff]<<0x10|_0x38b598[_0x11eeb9>>>0x8&0xff]<<0x8|_0x38b598[_0x455369&0xff])^_0x49fd23[_0x1eb5b8++],_0x6e5c3d=(_0x38b598[_0x334379>>>0x18]<<0x18|_0x38b598[_0x11eeb9>>>0x10&0xff]<<0x10|_0x38b598[_0x455369>>>0x8&0xff]<<0x8|_0x38b598[_0x3c177f&0xff])^_0x49fd23[_0x1eb5b8++];_0x5f2ec4[_0x3956e2]=_0xd94c85,_0x5f2ec4[_0x3956e2+0x1]=_0x168ec5,_0x5f2ec4[_0x3956e2+0x2]=_0x54976a,_0x5f2ec4[_0x3956e2+0x3]=_0x6e5c3d;},'keySize':0x100/0x20});_0x337841[_0x590f16(0x40d)]=_0x441b81[_0x590f16(0x4b9)](_0x5f54c8);}()),_0x1fae5b[_0x3f4d66(0x40d)];}));}(_0x692448)),_0x692448[_0x1a7789(0x1f7)];}var _0x5839ab=_0x3b2d3a();const _0x27d9f3=_0x14f116(_0x5839ab);var _0x519875=_0x294be0();const _0x4efe1d=_0x14f116(_0x519875);var _0x2444b1={'exports':{}},_0x321799=_0x2444b1[_0x3d1808(0x1f7)],_0x152e60;function _0x1cf2ea(){return _0x152e60||(_0x152e60=0x1,function(_0x44886e,_0x1e6e30){(function(_0x3b5e97,_0x4ee44f){var _0x364e12=_0x58ee;_0x44886e[_0x364e12(0x1f7)]=_0x4ee44f(_0x1257fc());}(_0x321799,function(_0x52067f){var _0x11d371=_0x58ee;return _0x52067f[_0x11d371(0x30e)][_0x11d371(0x4ec)];}));}(_0x2444b1)),_0x2444b1['exports'];}var _0x40c1f0=_0x1cf2ea();const _0x2d1329=_0x14f116(_0x40c1f0);var _0x430e24={'exports':{}},_0x2fc28a=_0x430e24[_0x3d1808(0x1f7)],_0x700eab;function _0x193af2(){var _0x15240=_0x3d1808;return _0x700eab||(_0x700eab=0x1,function(_0x3f78c3,_0x3b1309){(function(_0x515de3,_0x5a8ac7){var _0x1fe9ed=_0x58ee;_0x3f78c3[_0x1fe9ed(0x1f7)]=_0x5a8ac7(_0x1257fc());}(_0x2fc28a,function(_0x377810){var _0x11701c=_0x58ee;return(function(){var _0x390e8b=_0x58ee;if(typeof ArrayBuffer==_0x390e8b(0x32a)){var _0x560e50=_0x377810,_0x34de29=_0x560e50[_0x390e8b(0x1fd)],_0x151c2e=_0x34de29['WordArray'],_0x45595b=_0x151c2e[_0x390e8b(0x456)],_0x44d9b8=_0x151c2e['init']=function(_0x3a7adf){var _0x51cc50=_0x390e8b;if(_0x3a7adf instanceof ArrayBuffer&&(_0x3a7adf=new Uint8Array(_0x3a7adf)),(_0x3a7adf instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3a7adf instanceof Uint8ClampedArray||_0x3a7adf instanceof Int16Array||_0x3a7adf instanceof Uint16Array||_0x3a7adf instanceof Int32Array||_0x3a7adf instanceof Uint32Array||_0x3a7adf instanceof Float32Array||_0x3a7adf instanceof Float64Array)&&(_0x3a7adf=new Uint8Array(_0x3a7adf[_0x51cc50(0x439)],_0x3a7adf[_0x51cc50(0x1ec)],_0x3a7adf[_0x51cc50(0x309)])),_0x3a7adf instanceof Uint8Array){for(var _0x47eb95=_0x3a7adf[_0x51cc50(0x309)],_0x6d6544=[],_0x3bdd0e=0x0;_0x3bdd0e<_0x47eb95;_0x3bdd0e++)_0x6d6544[_0x3bdd0e>>>0x2]|=_0x3a7adf[_0x3bdd0e]<<0x18-_0x3bdd0e%0x4*0x8;_0x45595b[_0x51cc50(0x37a)](this,_0x6d6544,_0x47eb95);}else _0x45595b[_0x51cc50(0x410)](this,arguments);};_0x44d9b8[_0x390e8b(0x236)]=_0x151c2e;}}()),_0x377810[_0x11701c(0x1fd)][_0x11701c(0x273)];}));}(_0x430e24)),_0x430e24[_0x15240(0x1f7)];}var _0x1ccd7f=_0x193af2();const _0x3b05e7=_0x14f116(_0x1ccd7f);var _0x3d245e={'exports':{}},_0x114215=_0x3d245e[_0x3d1808(0x1f7)],_0x30093d;function _0x33a963(){var _0x4522a9=_0x3d1808;return _0x30093d||(_0x30093d=0x1,function(_0x5451ec,_0x3cd948){(function(_0x21128d,_0x1f4ea8,_0x10960f){var _0x589127=_0x58ee;_0x5451ec[_0x589127(0x1f7)]=_0x1f4ea8(_0x1257fc(),_0x49b936());}(_0x114215,function(_0x46dcf0){var _0x194a51=_0x58ee;return _0x46dcf0['pad'][_0x194a51(0x31a)]={'pad':function(){},'unpad':function(){}},_0x46dcf0[_0x194a51(0x470)][_0x194a51(0x31a)];}));}(_0x3d245e)),_0x3d245e[_0x4522a9(0x1f7)];}var _0x222cbf=_0x33a963();const _0x1f3567=_0x14f116(_0x222cbf);function _0x3c093e(_0x143445,_0x2d7a2b){var _0x171517=_0x3d1808;const _0x1ebb8b=_0x2d7a2b-_0x143445[_0x171517(0x3c5)]%_0x2d7a2b,_0x2707b8=String[_0x171517(0x47a)](_0x1ebb8b)[_0x171517(0x209)](_0x1ebb8b);return _0x143445+_0x2707b8;}function _0x1ce828(_0x11cbdb,_0x3af569){var _0x56226d=_0x3d1808;const _0x119b9f=_0x3b05e7['random'](0x10),_0x2b5729=_0x3c093e(_0x11cbdb,0x10),_0x453af3=_0x27d9f3['encrypt'](_0x2d1329[_0x56226d(0x43e)](_0x2b5729),_0x4efe1d[_0x56226d(0x43e)](_0x3af569),{'iv':_0x119b9f,'padding':_0x1f3567});return _0x119b9f[_0x56226d(0x4bb)](_0x453af3['ciphertext'])[_0x56226d(0x250)](_0x4efe1d);}function _0xcb16ff(){var _0x2cb265=_0x3d1808;const _0x5a944f=_0x6c7987[_0x2cb265(0x473)]()[_0x2cb265(0x4cf)];if(_0x5a944f){const _0x52ec56={'time':Math['floor'](Date[_0x2cb265(0x424)]()/0x3e8),'domain':location[_0x2cb265(0x419)]};return _0x1ce828(JSON[_0x2cb265(0x3c7)](_0x52ec56),_0x5a944f);}}var _0xa78598=Object[_0x3d1808(0x3cf)],_0xa477a4=(_0x2715b6,_0x5ec7c5,_0x48f1e3,_0x1e94a5)=>{var _0x9b2572=_0x3d1808;for(var _0x22a3db=_0x1e94a5>0x1?void 0x0:_0x1e94a5?_0xa78598(_0x5ec7c5,_0x48f1e3):_0x5ec7c5,_0x456739=_0x2715b6[_0x9b2572(0x3c5)]-0x1,_0x39a1e6;_0x456739>=0x0;_0x456739--)(_0x39a1e6=_0x2715b6[_0x456739])&&(_0x22a3db=_0x39a1e6(_0x22a3db)||_0x22a3db);return _0x22a3db;},_0x28fcf2=(_0x45a9de,_0x3958ab)=>(_0x3b5fd8,_0x4009e9)=>_0x3958ab(_0x3b5fd8,_0x4009e9,_0x45a9de);let _0x282438=class{constructor(_0x378ebb){var _0x48cae3=_0x3d1808;this[_0x48cae3(0x48b)]=_0x378ebb,this['_initRequestHeader']();}[_0x3d1808(0x45f)](){var _0x5e154c=_0x3d1808;this[_0x5e154c(0x48b)][_0x5e154c(0x252)]({'interceptor':(_0x22307e,_0x2fbd24)=>{var _0xe7345=_0x5e154c;const _0x339316=_0x22307e[_0xe7345(0x3c4)],_0x2b8030=_0xcb16ff();return _0x2b8030&&_0x339316[_0xe7345(0x373)](_0xe7345(0x484),_0x2b8030),_0x2fbd24(_0x22307e);}});}};_0x282438=_0xa477a4([_0x28fcf2(0x0,_0x5bafa4['Inject'](_0x24f178[_0x3d1808(0x2c9)]))],_0x282438);var _0x25c8eb=Object[_0x3d1808(0x3cf)],_0x255246=(_0x53428a,_0x502550,_0x3ef29b,_0x4d562e)=>{var _0x8047f0=_0x3d1808;for(var _0x1bc8d6=_0x4d562e>0x1?void 0x0:_0x4d562e?_0x25c8eb(_0x502550,_0x3ef29b):_0x502550,_0x547332=_0x53428a[_0x8047f0(0x3c5)]-0x1,_0x42283b;_0x547332>=0x0;_0x547332--)(_0x42283b=_0x53428a[_0x547332])&&(_0x1bc8d6=_0x42283b(_0x1bc8d6)||_0x1bc8d6);return _0x1bc8d6;},_0x3da950=(_0x403c28,_0x13ff43)=>(_0x2d071e,_0x2a55d6)=>_0x13ff43(_0x2d071e,_0x2a55d6,_0x403c28);_0x1065a7['DataLoaderService']=class extends _0x5bafa4[_0x3d1808(0x265)]{constructor(_0x3cffdf,_0x23253d,_0x51b417){var _0x2a7a3f=_0x3d1808;super(),_0x3fc7c7(this,'_unitInfo$',new _0x1a688c[(_0x2a7a3f(0x1f8))](null)),_0x3fc7c7(this,_0x2a7a3f(0x531),this['_unitInfo$'][_0x2a7a3f(0x340)]()),(this[_0x2a7a3f(0x4dc)]=_0x3cffdf,this[_0x2a7a3f(0x3b4)]=_0x23253d,this[_0x2a7a3f(0x4b5)]=_0x51b417);}async[_0x3d1808(0x535)](_0x10e5cb,_0x420bbe,_0x4242d5){var _0x1ed5b0=_0x3d1808;this[_0x1ed5b0(0x52f)][_0x1ed5b0(0x543)]({'unitId':_0x10e5cb,'type':_0x420bbe});let _0x517e0a=null;switch(_0x420bbe){case _0x32e542['UNIVER_SHEET']:{_0x517e0a=await this[_0x1ed5b0(0x3b4)][_0x1ed5b0(0x4f9)](_0x10e5cb,_0x4242d5);break;}case _0x32e542[_0x1ed5b0(0x25d)]:{_0x517e0a=await this['_snapshotService'][_0x1ed5b0(0x52d)](_0x10e5cb,_0x4242d5);break;}default:{this[_0x1ed5b0(0x4dc)][_0x1ed5b0(0x3f5)](_0x1ed5b0(0x4fe),_0x1ed5b0(0x2ea));break;}}return _0x517e0a;}async[_0x3d1808(0x2aa)](_0x271fa3,_0xdcaec1,_0xcd2091){var _0x333ee2=_0x3d1808,_0x1d2b37;this[_0x333ee2(0x52f)][_0x333ee2(0x543)]({'unitId':_0x271fa3,'type':_0xdcaec1,'subUnitId':_0xcd2091});let _0x3e4939=0x0;const _0x7eef07=await((_0x1d2b37=this[_0x333ee2(0x4b5)])==null?void 0x0:_0x1d2b37[_0x333ee2(0x383)](_0x271fa3));return _0x7eef07&&(_0x7eef07[_0x333ee2(0x2be)]||_0x7eef07['mutations'][_0x333ee2(0x3c5)]!==0x0)&&(_0x3e4939=_0x7eef07[_0x333ee2(0x43f)]),_0x3e4939===0x0&&this[_0x333ee2(0x4dc)][_0x333ee2(0x206)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x333ee2(0x535)](_0x271fa3,_0xdcaec1,_0x3e4939);}},_0x1065a7[_0x3d1808(0x413)]=_0x255246([_0x3da950(0x0,_0x5bafa4['ILogService']),_0x3da950(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x3ab606[_0x3d1808(0x1db)])),_0x3da950(0x2,_0x5bafa4[_0x3d1808(0x4fa)](_0xd8e545))],_0x1065a7['DataLoaderService']);var _0x523fd9=Object[_0x3d1808(0x3cf)],_0x1d309c=(_0x146fda,_0x5191a4,_0x2c00f2,_0x518633)=>{for(var _0x5438f2=_0x518633>0x1?void 0x0:_0x518633?_0x523fd9(_0x5191a4,_0x2c00f2):_0x5191a4,_0x13ea30=_0x146fda['length']-0x1,_0xee6498;_0x13ea30>=0x0;_0x13ea30--)(_0xee6498=_0x146fda[_0x13ea30])&&(_0x5438f2=_0xee6498(_0x5438f2)||_0x5438f2);return _0x5438f2;},_0x4a8609=(_0xd65665,_0x509593)=>(_0x2152cb,_0xb6695a)=>_0x509593(_0x2152cb,_0xb6695a,_0xd65665);const _0x4d3e1a=[_0x3d1808(0x1e1),_0x3d1808(0x350),_0x3d1808(0x291),'image/gif','image/bmp'],_0x1df508=0x5*0x400*0x400,_0xdec7c3=_0x3d1808(0x2bc),_0x4e2d65=_0x3d1808(0x2d3);_0x1065a7[_0x3d1808(0x42a)]=class{constructor(_0x2a1eb1,_0x36adb2,_0x3afc36){var _0x270215=_0x3d1808;_0x3fc7c7(this,_0x270215(0x55b),0x0),_0x3fc7c7(this,_0x270215(0x268),new _0x1a688c['Subject']()),_0x3fc7c7(this,'change$',this['_change$']),_0x3fc7c7(this,'_imageSourceCache',new Map()),(this[_0x270215(0x48b)]=_0x2a1eb1,this[_0x270215(0x4ee)]=_0x36adb2,this[_0x270215(0x4b8)]=_0x3afc36);}['setWaitCount'](_0x1d0366){var _0x5689f2=_0x3d1808;this[_0x5689f2(0x55b)]=_0x1d0366,this[_0x5689f2(0x268)]['next'](_0x1d0366);}[_0x3d1808(0x3de)](_0xac9bb6,_0x5568e6){var _0x2cf2ca=_0x3d1808;if(_0x5568e6===_0x301beb[_0x2cf2ca(0x45c)][_0x2cf2ca(0x45d)]){const _0x1f4999=new Image();return _0x1f4999[_0x2cf2ca(0x4f3)]=_0xac9bb6,_0x1f4999;}return this['_imageSourceCache']['get'](_0xac9bb6);}[_0x3d1808(0x1df)](_0x23063e,_0x4de03f,_0x1ab5d6){var _0x2d608e=_0x3d1808;_0x4de03f===_0x301beb[_0x2d608e(0x45c)]['BASE64']||_0x1ab5d6==null||this[_0x2d608e(0x395)][_0x2d608e(0x373)](_0x23063e,_0x1ab5d6);}async[_0x3d1808(0x2f6)](_0xf58b7){var _0x5b5795=_0x3d1808;try{const _0x5971bf=this['_replaceFileID'](this[_0x5b5795(0x337)](),''+_0xf58b7),_0x2ef863=(await this[_0x5b5795(0x48b)]['get'](_0x5971bf))[_0x5b5795(0x26c)];if(_0x2ef863[_0x5b5795(0x3f5)]&&_0x2ef863[_0x5b5795(0x3f5)][_0x5b5795(0x24b)]===_0x44514f['OK']){const _0x1297c7=new URL(_0x2ef863['url'],this[_0x5b5795(0x551)]())[_0x5b5795(0x250)]();return Promise[_0x5b5795(0x287)](_0x1297c7);}return Promise[_0x5b5795(0x212)](_0x2ef863[_0x5b5795(0x3f5)]);}catch(_0x5be6d9){return Promise['reject'](_0x5be6d9);}}async['saveImage'](_0x293ada){var _0x1d6e69=_0x3d1808;let _0xa6744b='';if(!_0x4d3e1a[_0x1d6e69(0x27d)](_0x293ada['type']))return this[_0x1d6e69(0x371)](),Promise[_0x1d6e69(0x212)](new Error(_0x301beb['ImageUploadStatusType'][_0x1d6e69(0x4a9)]));if(_0x293ada['size']>_0x1df508)return this[_0x1d6e69(0x371)](),Promise[_0x1d6e69(0x212)](new Error(_0x301beb[_0x1d6e69(0x3ba)]['ERROR_EXCEED_SIZE']));try{const _0xed83bb=new FormData();_0xed83bb[_0x1d6e69(0x55e)](_0x1d6e69(0x48e),_0x293ada);const _0x44ccad=this[_0x1d6e69(0x4b8)][_0x1d6e69(0x29b)](),_0xb3e952=_0x44ccad==null?void 0x0:_0x44ccad['getUnitId']();if(!_0xb3e952)throw new Error(_0x1d6e69(0x54c));const _0x389491=this['_getUploadFileURL']()+_0x1d6e69(0x2c0)+_0x293ada['size']['toString']()+_0x1d6e69(0x3e3)+_0x3fac12[_0x1d6e69(0x46d)]+_0x1d6e69(0x311)+encodeURIComponent(_0xb3e952),_0x3d97af={'body':_0xed83bb},_0x4d1f89=(await this[_0x1d6e69(0x48b)][_0x1d6e69(0x2df)](_0x389491,_0x3d97af))['body'];if(typeof _0x4d1f89[_0x1d6e69(0x487)]!=_0x1d6e69(0x2da))return this['_decreaseWaiting'](),Promise[_0x1d6e69(0x212)](new Error(_0x301beb['ImageUploadStatusType'][_0x1d6e69(0x4d2)]));_0xa6744b=_0x4d1f89[_0x1d6e69(0x487)];}catch{return this[_0x1d6e69(0x371)](),Promise[_0x1d6e69(0x212)](new Error(_0x301beb[_0x1d6e69(0x3ba)][_0x1d6e69(0x4d2)]));}return new Promise((_0x68ebfd,_0x5d4c08)=>{var _0x19fdc9=_0x1d6e69;const _0x8dab84=new FileReader();_0x8dab84[_0x19fdc9(0x4c8)](_0x293ada),_0x8dab84['onload']=_0x460649=>{var _0x38c869=_0x19fdc9,_0x7c1195;const _0x52bfbf=(_0x7c1195=_0x460649['target'])==null?void 0x0:_0x7c1195[_0x38c869(0x570)];if(_0x52bfbf==null){this[_0x38c869(0x371)](),_0x5d4c08(new Error(_0x301beb[_0x38c869(0x3ba)][_0x38c869(0x4d2)]));return;}const _0x3af40e=_0x5bafa4[_0x38c869(0x256)](0x6);_0x68ebfd({'imageId':_0x3af40e,'imageSourceType':_0x301beb[_0x38c869(0x45c)][_0x38c869(0x1f4)],'source':_0xa6744b,'base64Cache':_0x52bfbf,'status':_0x301beb[_0x38c869(0x3ba)]['SUCCUSS']}),this[_0x38c869(0x371)]();};});}[_0x3d1808(0x29a)](){var _0x3aabae=_0x3d1808,_0x43558a;const _0xe20307=this[_0x3aabae(0x4ee)][_0x3aabae(0x38b)](_0x755dce);return(_0x43558a=_0xe20307==null?void 0x0:_0xe20307[_0x3aabae(0x43a)])!=null?_0x43558a:_0xdec7c3;}[_0x3d1808(0x337)](){var _0x5b07bf=_0x3d1808,_0x30a779;const _0x2caffe=this['_configService'][_0x5b07bf(0x38b)](_0x755dce);return(_0x30a779=_0x2caffe==null?void 0x0:_0x2caffe[_0x5b07bf(0x304)])!=null?_0x30a779:_0x4e2d65;}[_0x3d1808(0x551)](){var _0x353d4d=_0x3d1808,_0x272bae;const _0x5cad88=this[_0x353d4d(0x4ee)][_0x353d4d(0x38b)](_0x755dce);return(_0x272bae=_0x5cad88==null?void 0x0:_0x5cad88[_0x353d4d(0x550)])!=null?_0x272bae:location['origin'];}[_0x3d1808(0x215)](_0x3f18ed,_0x3a1900){var _0x1b6eaa=_0x3d1808;return _0x3f18ed[_0x1b6eaa(0x2c7)](_0x1b6eaa(0x1de),_0x3a1900);}[_0x3d1808(0x371)](){var _0x60d8c7=_0x3d1808;this['_waitCount']-=0x1,this[_0x60d8c7(0x268)][_0x60d8c7(0x543)](this[_0x60d8c7(0x55b)]);}},_0x1065a7[_0x3d1808(0x42a)]=_0x1d309c([_0x4a8609(0x0,_0x5bafa4[_0x3d1808(0x317)](_0x24f178['HTTPService'])),_0x4a8609(0x1,_0x5bafa4['IConfigService']),_0x4a8609(0x2,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x443)]))],_0x1065a7['CollaborationImageIoService']);var _0x1037fb=Object[_0x3d1808(0x3cf)],_0x31a5b1=(_0x31f8c3,_0x13f05e,_0x2885e9,_0xb107b2)=>{var _0x17ce10=_0x3d1808;for(var _0x468c01=_0xb107b2>0x1?void 0x0:_0xb107b2?_0x1037fb(_0x13f05e,_0x2885e9):_0x13f05e,_0x5c8715=_0x31f8c3[_0x17ce10(0x3c5)]-0x1,_0x2b694a;_0x5c8715>=0x0;_0x5c8715--)(_0x2b694a=_0x31f8c3[_0x5c8715])&&(_0x468c01=_0x2b694a(_0x468c01)||_0x468c01);return _0x468c01;},_0x224652=(_0x190f88,_0x5a8905)=>(_0xced2c2,_0x3dbe20)=>_0x5a8905(_0xced2c2,_0x3dbe20,_0x190f88);const _0x37fe8f=_0x3d1808(0x318);_0x1065a7[_0x3d1808(0x2a2)]=class{constructor(_0x2531a3,_0x29b2e8){var _0x4b7e82=_0x3d1808;this[_0x4b7e82(0x4ee)]=_0x2531a3,this[_0x4b7e82(0x412)]=_0x29b2e8;}['_getAPIPrefixPath'](){var _0x20c531=_0x3d1808,_0x1bf560;const _0x163870=this[_0x20c531(0x4ee)][_0x20c531(0x38b)](_0x755dce);return(_0x1bf560=_0x163870==null?void 0x0:_0x163870[_0x20c531(0x399)])!=null?_0x1bf560:_0x37fe8f;}async[_0x3d1808(0x504)](_0x4ffdd5){var _0x2d64f9=_0x3d1808;const _0x25f9ff=this[_0x2d64f9(0x488)]()+_0x2d64f9(0x22a);return{'list':[{'title':_0x2d64f9(0x23e),'mentions':(await this[_0x2d64f9(0x412)][_0x2d64f9(0x3f0)](_0x25f9ff,{'params':{'objectID':_0x4ffdd5[_0x2d64f9(0x48f)],'unitID':_0x4ffdd5[_0x2d64f9(0x48f)]}}))[_0x2d64f9(0x26c)]['collaborators'][_0x2d64f9(0x51a)](_0xde67c3=>({'objectId':_0xde67c3['id'],'name':_0xde67c3[_0x2d64f9(0x2fa)]['name'],'metadata':{'icon':_0xde67c3[_0x2d64f9(0x2fa)]['avatar']},'label':_0xde67c3[_0x2d64f9(0x2fa)][_0x2d64f9(0x210)],'objectType':_0x5bafa4['MentionType']['PERSON']})),'metadata':{},'type':_0x5bafa4['MentionType'][_0x2d64f9(0x220)]}]};}},_0x1065a7[_0x3d1808(0x2a2)]=_0x31a5b1([_0x224652(0x0,_0x5bafa4['Inject'](_0x5bafa4[_0x3d1808(0x34c)])),_0x224652(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x24f178[_0x3d1808(0x2c9)]))],_0x1065a7[_0x3d1808(0x2a2)]);var _0x109f39=Object[_0x3d1808(0x3cf)],_0x7619f1=(_0x53f1ff,_0x3d222f,_0xb34fc0,_0x1d2a50)=>{for(var _0xbedf2e=_0x1d2a50>0x1?void 0x0:_0x1d2a50?_0x109f39(_0x3d222f,_0xb34fc0):_0x3d222f,_0x412e8c=_0x53f1ff['length']-0x1,_0x51aa8b;_0x412e8c>=0x0;_0x412e8c--)(_0x51aa8b=_0x53f1ff[_0x412e8c])&&(_0xbedf2e=_0x51aa8b(_0xbedf2e)||_0xbedf2e);return _0xbedf2e;},_0x3049c5=(_0x1c2ac7,_0x19c7cf)=>(_0x346ed6,_0x545bb6)=>_0x19c7cf(_0x346ed6,_0x545bb6,_0x1c2ac7);let _0x145b10=class extends _0x5bafa4[_0x3d1808(0x265)]{constructor(_0x584cd5,_0x176428,_0x2509fb,_0x5c93a3,_0x405765){var _0x2eabaa=_0x3d1808;super(),this[_0x2eabaa(0x50f)]=_0x584cd5,this[_0x2eabaa(0x4b8)]=_0x176428,this[_0x2eabaa(0x56a)]=_0x2509fb,this['_collaborationSessionService']=_0x5c93a3,this['_collaborationUIEventService']=_0x405765,this[_0x2eabaa(0x23a)](),this[_0x2eabaa(0x382)]();}[_0x3d1808(0x382)](){var _0x545d3f=_0x3d1808;const _0x196b49=async _0x4b2ed4=>{var _0x3d7334=_0x58ee;(await this[_0x3d7334(0x3f4)][_0x3d7334(0x3ed)](_0x4b2ed4))['event$']['pipe'](_0xd6074['filter'](_0x14f033=>_0x14f033[_0x3d7334(0x3a4)]===_0x3ab606[_0x3d7334(0x260)][_0x3d7334(0x515)]),_0xd6074[_0x3d7334(0x520)](this[_0x3d7334(0x39e)]))[_0x3d7334(0x239)](_0x531e6a=>{var _0x1661d4=_0x3d7334;const _0x582b01=_0x531e6a,{reason:_0x49daaa}=_0x582b01['data'];this['_collaborationUIEventService'][_0x1661d4(0x3e2)]({'id':_0x38090c['CLOSE_ROOM'],'data':_0x49daaa}),this[_0x1661d4(0x56a)]['updatePermissionPoint'](new _0x1c5262['WorkbookEditablePermission'](_0x4b2ed4)['id'],!0x1),this[_0x1661d4(0x3f4)][_0x1661d4(0x352)](_0x4b2ed4);});};_0x1a688c[_0x545d3f(0x46c)](this[_0x545d3f(0x4b8)]['getTypeOfUnitAdded$'](_0x5bafa4[_0x545d3f(0x35e)][_0x545d3f(0x246)]),this[_0x545d3f(0x4b8)][_0x545d3f(0x571)](_0x5bafa4[_0x545d3f(0x35e)][_0x545d3f(0x25d)]))['pipe'](_0xd6074['map'](_0x267899=>_0x267899[_0x545d3f(0x323)]()),_0xd6074['filter'](_0x9c75a2=>!_0x5bafa4[_0x545d3f(0x362)](_0x9c75a2)),_0xd6074[_0x545d3f(0x520)](this['dispose$']))['subscribe'](_0x5f4756=>{_0x196b49(_0x5f4756);});}[_0x3d1808(0x23a)](){var _0x43bdc0=_0x3d1808;const _0x19b3a8=async _0x5dff46=>{var _0xb09e0f=_0x58ee;const _0xdf5b9d=await this['_collaborationSessionService'][_0xb09e0f(0x3ed)](_0x5dff46),_0x19f45d=this[_0xb09e0f(0x50f)][_0xb09e0f(0x3f0)](_0x1c5262[_0xb09e0f(0x4cb)]);_0xdf5b9d[_0xb09e0f(0x2a4)][_0xb09e0f(0x24d)](_0xd6074[_0xb09e0f(0x3d2)](_0x2f3dde=>_0x2f3dde[_0xb09e0f(0x3a4)]===_0x3ab606[_0xb09e0f(0x260)][_0xb09e0f(0x425)]),_0xd6074[_0xb09e0f(0x520)](this['dispose$']))[_0xb09e0f(0x239)](_0x5e5d89=>{var _0x562a49=_0xb09e0f;const _0x3953db=_0x5e5d89,{objectId:_0x1b63a7}=_0x3953db[_0x562a49(0x285)];_0x1b63a7===_0x5dff46?_0x19f45d[_0x562a49(0x23c)](_0x5dff46):_0x19f45d[_0x562a49(0x341)](_0x5dff46,_0x1b63a7);});};_0x1a688c[_0x43bdc0(0x46c)](this['_univerInstanceService'][_0x43bdc0(0x571)](_0x5bafa4['UniverInstanceType'][_0x43bdc0(0x246)]))[_0x43bdc0(0x24d)](_0xd6074['map'](_0x14f091=>_0x14f091[_0x43bdc0(0x323)]()),_0xd6074[_0x43bdc0(0x3d2)](_0x47f599=>!_0x5bafa4[_0x43bdc0(0x362)](_0x47f599)),_0xd6074['takeUntil'](this[_0x43bdc0(0x39e)]))[_0x43bdc0(0x239)](_0x526182=>{_0x19b3a8(_0x526182);});}};_0x145b10=_0x7619f1([_0x3049c5(0x0,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0x3049c5(0x1,_0x5bafa4['IUniverInstanceService']),_0x3049c5(0x2,_0x5bafa4[_0x3d1808(0x226)]),_0x3049c5(0x3,_0x5bafa4['Inject'](_0x1065a7[_0x3d1808(0x492)])),_0x3049c5(0x4,_0x5bafa4[_0x3d1808(0x317)](_0x10cfe4))],_0x145b10);var _0x38f54c=Object[_0x3d1808(0x3cf)],_0x53e960=(_0x22c089,_0x875c4,_0xf04b40,_0x56054f)=>{var _0x4d7e6e=_0x3d1808;for(var _0x109a91=_0x56054f>0x1?void 0x0:_0x56054f?_0x38f54c(_0x875c4,_0xf04b40):_0x875c4,_0x30e12f=_0x22c089[_0x4d7e6e(0x3c5)]-0x1,_0x179842;_0x30e12f>=0x0;_0x30e12f--)(_0x179842=_0x22c089[_0x30e12f])&&(_0x109a91=_0x179842(_0x109a91)||_0x109a91);return _0x109a91;},_0x335754=(_0x466086,_0x7cd02)=>(_0x404f0c,_0x40682f)=>_0x7cd02(_0x404f0c,_0x40682f,_0x466086);_0x1065a7[_0x3d1808(0x2ab)]=class{constructor(_0x56cce2,_0x20567d){var _0x4f72cf=_0x3d1808;this[_0x4f72cf(0x4ee)]=_0x56cce2,this[_0x4f72cf(0x48b)]=_0x20567d;}async[_0x3d1808(0x278)](_0xc86ac1,_0xb7e9e9){var _0x14a1c1=_0x3d1808,_0x11bbf4;const {unitID:_0x162340,type:_0x38b8b3,revision:_0x2a7c34=0x0}=_0xb7e9e9,_0x2fb995=this[_0x14a1c1(0x1f5)]()+'/'+_0x38b8b3+_0x14a1c1(0x495)+_0x162340+_0x14a1c1(0x564)+_0x2a7c34,_0x14024a=(await this[_0x14a1c1(0x48b)][_0x14a1c1(0x3f0)](_0x2fb995))[_0x14a1c1(0x26c)],_0x2800a1=(_0x11bbf4=_0x14024a[_0x14a1c1(0x1e4)])==null?void 0x0:_0x11bbf4['workbook'];if(_0x2800a1){const _0xe54bfe=_0x2800a1==null?void 0x0:_0x2800a1[_0x14a1c1(0x4ab)],_0x41eb47=_0x3ab606[_0x14a1c1(0x55c)]['encode'](_0x3ab606[_0x14a1c1(0x3eb)](_0xe54bfe));_0x2800a1[_0x14a1c1(0x4ab)]=_0x41eb47,Object[_0x14a1c1(0x369)](_0x2800a1[_0x14a1c1(0x402)])['forEach'](([,_0x447244])=>{var _0x1368e7=_0x14a1c1;const _0x44fc88=_0x447244['originalMeta'],_0xa9350=_0x3ab606[_0x1368e7(0x55c)][_0x1368e7(0x25f)](_0x3ab606[_0x1368e7(0x3eb)](_0x44fc88));_0x447244['originalMeta']=_0xa9350;});}return _0x14024a;}async[_0x3d1808(0x2a5)](_0x5146ed,_0x1274fc){var _0x39987b=_0x3d1808;const {unitID:_0x35f810,type:_0x324ea8,blockID:_0x585c63}=_0x1274fc,_0xffff94=this[_0x39987b(0x2d7)]()+'/'+_0x324ea8+'/unit/'+_0x35f810+_0x39987b(0x328)+_0x585c63;return(await this[_0x39987b(0x48b)]['get'](_0xffff94))['body'];}async[_0x3d1808(0x1f6)](_0x1a2744,_0x3ecf93){var _0x50779d=_0x3d1808;const {unitID:_0x2e9aa2,type:_0x564f1e,blockID:_0x46bc26}=_0x3ecf93,_0x1460f8=this[_0x50779d(0x2d7)]()+_0x50779d(0x328)+_0x564f1e+_0x50779d(0x495)+_0x2e9aa2+_0x50779d(0x328)+_0x46bc26;return(await this[_0x50779d(0x48b)][_0x50779d(0x3f0)](_0x1460f8))[_0x50779d(0x26c)];}async[_0x3d1808(0x54b)](_0x4a67e4,_0x269d69){var _0x4bc09d=_0x3d1808;const {unitID:_0x5a29df,type:_0x429d33,from:_0x525710,to:_0x3bdbab}=_0x269d69,_0x3f0b09=this['_getAPIPrefix']()+'/'+_0x429d33+_0x4bc09d(0x495)+_0x5a29df+_0x4bc09d(0x4c0)+_0x525710+_0x4bc09d(0x251)+_0x3bdbab;return(await this[_0x4bc09d(0x48b)][_0x4bc09d(0x3f0)](_0x3f0b09))[_0x4bc09d(0x26c)];}[_0x3d1808(0x1f5)](){var _0x3e2161=_0x3d1808,_0x3599f4;return(_0x3599f4=this['_configService'][_0x3e2161(0x38b)](_0x268f01))!=null?_0x3599f4:this[_0x3e2161(0x2d7)]();}[_0x3d1808(0x2d7)](){var _0x49a621=_0x3d1808,_0x419c05;const _0x51c36f=this[_0x49a621(0x4ee)][_0x49a621(0x38b)](_0x755dce);return(_0x419c05=_0x51c36f==null?void 0x0:_0x51c36f['snapshotServerUrl'])!=null?_0x419c05:_0x37e926;}async['getResourcesRequest'](_0x28c325,_0x35916c){var _0x2bb43b=_0x3d1808;const _0x59b1d6=_0x2bb43b(0x23b)+_0x35916c[_0x2bb43b(0x436)]+'/unit/'+_0x35916c[_0x2bb43b(0x345)]+'/resources';return(await this[_0x2bb43b(0x48b)]['get'](_0x59b1d6,{'params':{'resourceId':JSON[_0x2bb43b(0x3c7)](_0x35916c['resourceIDs'])}}))[_0x2bb43b(0x26c)];}[_0x3d1808(0x32e)](){var _0x22a8ca=_0x3d1808;throw new Error(_0x22a8ca(0x4d4));}[_0x3d1808(0x4d6)](){var _0x588b8d=_0x3d1808;throw new Error(_0x588b8d(0x4d4));}[_0x3d1808(0x502)](){var _0x3e3358=_0x3d1808;throw new Error(_0x3e3358(0x4d4));}[_0x3d1808(0x516)](){var _0x83989=_0x3d1808;throw new Error(_0x83989(0x4d4));}[_0x3d1808(0x293)](){var _0x56890d=_0x3d1808;throw new Error(_0x56890d(0x4d4));}[_0x3d1808(0x2a1)](){var _0x232e82=_0x3d1808;throw new Error(_0x232e82(0x4d4));}},_0x1065a7[_0x3d1808(0x2ab)]=_0x53e960([_0x335754(0x0,_0x5bafa4[_0x3d1808(0x34c)]),_0x335754(0x1,_0x5bafa4[_0x3d1808(0x317)](_0x24f178[_0x3d1808(0x2c9)]))],_0x1065a7[_0x3d1808(0x2ab)]);var _0x2d42a1=Object[_0x3d1808(0x3cf)],_0x51079e=(_0x3b2634,_0x18c674,_0x32d1f2,_0x4d11e)=>{var _0x3fcda8=_0x3d1808;for(var _0x594f3d=_0x4d11e>0x1?void 0x0:_0x4d11e?_0x2d42a1(_0x18c674,_0x32d1f2):_0x18c674,_0x16ef88=_0x3b2634[_0x3fcda8(0x3c5)]-0x1,_0x4b4d84;_0x16ef88>=0x0;_0x16ef88--)(_0x4b4d84=_0x3b2634[_0x16ef88])&&(_0x594f3d=_0x4b4d84(_0x594f3d)||_0x594f3d);return _0x594f3d;},_0x1344c8=(_0x474f8f,_0x17fabf)=>(_0x3efe28,_0x1d365a)=>_0x17fabf(_0x3efe28,_0x1d365a,_0x474f8f);_0x1065a7[_0x3d1808(0x2d6)]=class extends _0x5bafa4[_0x3d1808(0x4d3)]{constructor(_0x2c4b45,_0x328b32,_0x3fd5d7,_0x39ee1c,_0x4f100d){var _0x51bda5=_0x3d1808;super(_0x2c4b45,_0x328b32,_0x3fd5d7),this[_0x51bda5(0x51f)]=_0x39ee1c,this[_0x51bda5(0x4dc)]=_0x4f100d;}[_0x3d1808(0x426)](_0x3d8515,_0x45f4d3){var _0xd15512=_0x3d1808;const _0x5f3fb4=this[_0xd15512(0x204)](_0x3d8515);if(_0x5f3fb4)try{const _0x6365ea=this[_0xd15512(0x1da)](_0x5f3fb4,_0x45f4d3);this[_0xd15512(0x52e)](_0x3d8515,_0x6365ea);}catch(_0x18db9d){this[_0xd15512(0x4dc)][_0xd15512(0x3f5)](_0xd15512(0x370),_0x18db9d),this[_0xd15512(0x46b)](_0x3d8515);}const _0x1c9852=this['_getRedoStack'](_0x3d8515);if(_0x1c9852)try{const _0x57e778=this[_0xd15512(0x1da)](_0x1c9852,_0x45f4d3);this[_0xd15512(0x481)](_0x3d8515,_0x57e778);}catch(_0x4a6b87){this[_0xd15512(0x4dc)][_0xd15512(0x3f5)](_0x4a6b87),this[_0xd15512(0x469)](_0x3d8515);}}['_clearUndo'](_0x52977b){var _0x1f0ae5=_0x3d1808;const _0x3b7efd=this[_0x1f0ae5(0x204)](_0x52977b);_0x3b7efd&&(_0x3b7efd[_0x1f0ae5(0x3c5)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x23f28f){var _0x403add=_0x3d1808;const _0x5b532a=this[_0x403add(0x27b)](_0x23f28f);_0x5b532a&&(_0x5b532a[_0x403add(0x3c5)]=0x0,this[_0x403add(0x3c0)]());}[_0x3d1808(0x52e)](_0x33520b,_0x51d34a){var _0x1ebe97=_0x3d1808;this[_0x1ebe97(0x23d)]['set'](_0x33520b,_0x51d34a),this[_0x1ebe97(0x3c0)]();}['_substituteRedoStack'](_0x37a2ff,_0x16df2b){var _0x20fcbc=_0x3d1808;this[_0x20fcbc(0x294)][_0x20fcbc(0x373)](_0x37a2ff,_0x16df2b),this[_0x20fcbc(0x3c0)]();}['_transformStack'](_0x3840b0,_0xe7d440){var _0x3331ce=_0x3d1808;const _0x5ea966=[];let _0x383ce7=_0xe7d440,_0x1ea2dc=_0xe7d440;for(let _0x5d3cd1=_0x3840b0[_0x3331ce(0x3c5)]-0x1;_0x5d3cd1>=0x0;_0x5d3cd1--){const {unitID:_0x3f9279,undoMutations:_0x89a88c,redoMutations:_0x285f93}=_0x3840b0[_0x5d3cd1],_0x2ee5d8=this['_transformService'][_0x3331ce(0x441)](_0x383ce7,_0x89a88c),_0x13c515=this[_0x3331ce(0x51f)][_0x3331ce(0x441)](_0x1ea2dc,_0x285f93);if(_0x3ab606[_0x3331ce(0x3b5)](_0x2ee5d8)||_0x3ab606['isTransformMutationsWithChangesetFailure'](_0x13c515)){this[_0x3331ce(0x4dc)][_0x3331ce(0x3f5)](_0x3331ce(0x370),'transformStack\x20failed!',_0x2ee5d8,_0x13c515);break;}_0x383ce7=_0x2ee5d8[_0x3331ce(0x315)],_0x1ea2dc=_0x13c515['c1Prime'],_0x5ea966[_0x3331ce(0x381)]({'unitID':_0x3f9279,'undoMutations':_0x2ee5d8[_0x3331ce(0x45e)],'redoMutations':_0x13c515[_0x3331ce(0x45e)]});}return _0x5ea966[_0x3331ce(0x572)]();}},_0x1065a7[_0x3d1808(0x2d6)]=_0x51079e([_0x1344c8(0x0,_0x5bafa4[_0x3d1808(0x443)]),_0x1344c8(0x1,_0x5bafa4[_0x3d1808(0x3fc)]),_0x1344c8(0x2,_0x5bafa4['IContextService']),_0x1344c8(0x3,_0x3ab606[_0x3d1808(0x269)]),_0x1344c8(0x4,_0x5bafa4['ILogService'])],_0x1065a7[_0x3d1808(0x2d6)]);var _0x2c4fe1=Object[_0x3d1808(0x545)],_0x45d8d4=Object[_0x3d1808(0x3cf)],_0x314185=(_0x31a04d,_0x347a65,_0x5b510e)=>_0x347a65 in _0x31a04d?_0x2c4fe1(_0x31a04d,_0x347a65,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b510e}):_0x31a04d[_0x347a65]=_0x5b510e,_0x111b1f=(_0x594fe5,_0x5c7805,_0x1948a1,_0x2400ce)=>{for(var _0x4a797a=_0x2400ce>0x1?void 0x0:_0x2400ce?_0x45d8d4(_0x5c7805,_0x1948a1):_0x5c7805,_0x1169a1=_0x594fe5['length']-0x1,_0x34fd8b;_0x1169a1>=0x0;_0x1169a1--)(_0x34fd8b=_0x594fe5[_0x1169a1])&&(_0x4a797a=_0x34fd8b(_0x4a797a)||_0x4a797a);return _0x4a797a;},_0xe640ec=(_0x59f90c,_0x20059a)=>(_0x13c624,_0x203fca)=>_0x20059a(_0x13c624,_0x203fca,_0x59f90c),_0x5ebeaf=(_0x3cd4e5,_0x567ed9,_0x48e249)=>_0x314185(_0x3cd4e5,_0x567ed9+'',_0x48e249);const _0x242d36=_0x3d1808(0x3b1);_0x1065a7['UniverCollaborationClientPlugin']=class extends _0x5bafa4[_0x3d1808(0x435)]{constructor(_0x34cb82,_0x1f4ac6,_0x3a70fe,_0x4f6ceb){var _0x14076e=_0x3d1808;super(),_0x3fc7c7(this,_0x14076e(0x1dd)),(this[_0x14076e(0x4dc)]=_0x1f4ac6,this[_0x14076e(0x50f)]=_0x3a70fe,this['_configService']=_0x4f6ceb);const {..._0x27d525}=_0x5bafa4[_0x14076e(0x46c)]({},_0x38b249,_0x34cb82);if(!_0x27d525[_0x14076e(0x405)])throw new Error(_0x14076e(0x50e));this[_0x14076e(0x1dd)]=_0x27d525,this[_0x14076e(0x4ee)][_0x14076e(0x218)](_0x755dce,_0x27d525);}[_0x3d1808(0x3fa)](){var _0x28602e=_0x3d1808;this['_registerDependencies'](),this[_0x28602e(0x3a2)]();}[_0x3d1808(0x27e)](){var _0x128432=_0x3d1808,_0x5c0ee4,_0x4f1e40;this[_0x128432(0x50f)][_0x128432(0x4f0)](_0x5bafa4[_0x128432(0x407)])&&this[_0x128432(0x4dc)][_0x128432(0x3f5)](_0x128432(0x32c),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x3eea88=_0x5bafa4[_0x128432(0x2e5)]([[_0x5bafa4[_0x128432(0x407)],{'useClass':_0x1065a7[_0x128432(0x2d6)]}],[_0x1065a7['CollaborationSessionService']],[_0x1065a7[_0x128432(0x41b)]],[_0x1065a7[_0x128432(0x1f1)]],[_0x4dd8be],[_0x282438],[_0x178a41],[_0x145b10],[_0x10cfe4],[_0x1065a7[_0x128432(0x413)]],[_0x3dca45,{'useClass':this[_0x128432(0x1dd)][_0x128432(0x405)]}],[_0x3ab606['ISnapshotServerService'],{'useClass':_0x1065a7['SnapshotServerOverHTTPService']}],[_0x5bafa4[_0x128432(0x480)],{'useClass':_0x1065a7[_0x128432(0x346)]}],[_0x301beb[_0x128432(0x3c9)],{'useClass':_0x1065a7[_0x128432(0x42a)]}],[_0x5bafa4[_0x128432(0x37f)],{'useClass':_0x1065a7[_0x128432(0x2a2)]}],[_0x1065a7[_0x128432(0x54f)]],[_0x2ed31f]],(_0x5c0ee4=this['_config'])==null?void 0x0:_0x5c0ee4[_0x128432(0x52a)]);if(!((_0x4f1e40=this['_config'])!=null&&_0x4f1e40[_0x128432(0x450)])){const _0x456779=_0x3eea88[_0x128432(0x359)](([_0x3cb21f])=>_0x3cb21f===_0x175519);_0x456779!==-0x1&&_0x3eea88[_0x128432(0x2b3)](_0x456779,0x1);}_0x5bafa4[_0x128432(0x3d6)](this[_0x128432(0x50f)],_0x3eea88);}[_0x3d1808(0x3a2)](){var _0x27b27d=_0x3d1808,_0x38c5fd,_0xf5320d,_0x799697;this[_0x27b27d(0x50f)][_0x27b27d(0x3f0)](_0x24f178[_0x27b27d(0x2c9)])[_0x27b27d(0x252)]({'priority':0x14,'interceptor':_0x24f178['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x38c5fd=this[_0x27b27d(0x1dd)])!=null&&_0x38c5fd[_0x27b27d(0x329)]||(_0xf5320d=this[_0x27b27d(0x50f)]['get'](_0xd8e545,_0x5bafa4['Quantity'][_0x27b27d(0x541)]))==null||_0xf5320d[_0x27b27d(0x38a)](),(_0x799697=this[_0x27b27d(0x1dd)])!=null&&_0x799697[_0x27b27d(0x2b5)]&&_0x5bafa4['touchDependencies'](this[_0x27b27d(0x50f)],[[_0x4dd8be]]),_0x5bafa4[_0x27b27d(0x3a9)](this[_0x27b27d(0x50f)],[[_0x282438],[_0x1065a7[_0x27b27d(0x54f)]],[_0x145b10]]);}},_0x5ebeaf(_0x1065a7['UniverCollaborationClientPlugin'],_0x3d1808(0x374),_0x242d36),_0x1065a7[_0x3d1808(0x47b)]=_0x111b1f([_0x5bafa4[_0x3d1808(0x1d7)](_0x3ab606[_0x3d1808(0x257)],_0x24f178['UniverNetworkPlugin']),_0xe640ec(0x1,_0x5bafa4[_0x3d1808(0x528)]),_0xe640ec(0x2,_0x5bafa4[_0x3d1808(0x317)](_0x5bafa4[_0x3d1808(0x511)])),_0xe640ec(0x3,_0x5bafa4[_0x3d1808(0x34c)])],_0x1065a7[_0x3d1808(0x47b)]),_0x1065a7[_0x3d1808(0x51b)]=_0x755dce,_0x1065a7[_0x3d1808(0x41f)]=_0x293214,_0x1065a7[_0x3d1808(0x4e6)]=_0x38090c,_0x1065a7[_0x3d1808(0x444)]=_0x10cfe4,_0x1065a7[_0x3d1808(0x490)]=_0x178a41,_0x1065a7['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x38d231,_0x1065a7[_0x3d1808(0x2a3)]=_0x287679,_0x1065a7[_0x3d1808(0x3d5)]=_0x480f18,_0x1065a7['HEARTBEAT_INTERVAL_KEY']=_0x38c58d,_0x1065a7[_0x3d1808(0x38e)]=_0x3d06ad,_0x1065a7[_0x3d1808(0x275)]=_0x3dca45,_0x1065a7[_0x3d1808(0x28f)]=_0xd8e545,_0x1065a7['INetworkConditionService']=_0x206d80,_0x1065a7[_0x3d1808(0x1e8)]=_0x175519,_0x1065a7['LOCAL_CACHE_INTERVAL']=0x3e8,_0x1065a7[_0x3d1808(0x1f0)]=_0x36ba43,_0x1065a7['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x183c7f,_0x1065a7['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x589908,_0x1065a7['SessionStatus']=_0x4b7463,_0x1065a7['UnitStatus']=_0x166ac9,_0x1065a7['deserializeToCombResponse']=_0x10e983,_0x1065a7['getLocalCacheKey']=_0x2d48c6,_0x1065a7['serializeCombRequest']=_0x52cb3a,Object[_0x3d1808(0x545)](_0x1065a7,Symbol[_0x3d1808(0x4da)],{'value':'Module'});}));
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
|
|
5
|
+
(function(_0x202dca,_0x5a65b8){const _0x3521a1=_0x459a,_0x59c1a0=_0x202dca();while(!![]){try{const _0x2e69c7=parseInt(_0x3521a1(0x1b6))/0x1+parseInt(_0x3521a1(0x1b0))/0x2+-parseInt(_0x3521a1(0x1a5))/0x3+parseInt(_0x3521a1(0x1bd))/0x4+parseInt(_0x3521a1(0x1be))/0x5*(parseInt(_0x3521a1(0x1c2))/0x6)+-parseInt(_0x3521a1(0x1d2))/0x7+-parseInt(_0x3521a1(0x1d7))/0x8;if(_0x2e69c7===_0x5a65b8)break;else _0x59c1a0['push'](_0x59c1a0['shift']());}catch(_0x5fb4bd){_0x59c1a0['push'](_0x59c1a0['shift']());}}}(_0x5c6b,0x9cd3d),function(_0x4e06ad,_0x3afa52){const _0x281be3=_0x459a;typeof exports==_0x281be3(0x1b8)&&typeof module<'u'?_0x3afa52(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define=='function'&&define[_0x281be3(0x1e3)]?define([_0x281be3(0x1b1),_0x281be3(0x1ab),_0x281be3(0x1a8),_0x281be3(0x1b2),_0x281be3(0x1d1),_0x281be3(0x1d8)],_0x3afa52):(_0x4e06ad=typeof globalThis<'u'?globalThis:_0x4e06ad||self,_0x3afa52(_0x4e06ad['UniverProCollaborationClientFacade']={},_0x4e06ad[_0x281be3(0x1aa)],_0x4e06ad[_0x281be3(0x1e0)],_0x4e06ad[_0x281be3(0x1a4)],_0x4e06ad[_0x281be3(0x1ad)],_0x4e06ad[_0x281be3(0x1d8)]));}(this,function(_0x18aba4,_0x502f45,_0x52d772,_0x4eb75a,_0x1d069b,_0x40b356){'use strict';const _0x5b9850=_0x459a;class _0x55c592 extends _0x52d772[_0x5b9850(0x1bb)]{get[_0x5b9850(0x1ce)](){return _0x502f45['CollaborationStatus'];}}_0x52d772[_0x5b9850(0x1bb)][_0x5b9850(0x1d0)](_0x55c592);var _0x50fa9c=Object[_0x5b9850(0x1a3)],_0x4931e3=(_0x2da02a,_0x3fe406,_0x43fed7,_0x5636aa)=>{const _0x4ab119=_0x5b9850;for(var _0x247781=_0x5636aa>0x1?void 0x0:_0x5636aa?_0x50fa9c(_0x3fe406,_0x43fed7):_0x3fe406,_0x5a8e60=_0x2da02a[_0x4ab119(0x1a7)]-0x1,_0x52d2cd;_0x5a8e60>=0x0;_0x5a8e60--)(_0x52d2cd=_0x2da02a[_0x5a8e60])&&(_0x247781=_0x52d2cd(_0x247781)||_0x247781);return _0x247781;},_0x351144=(_0x1fad11,_0x1f6912)=>(_0x11b048,_0x57e6f1)=>_0x1f6912(_0x11b048,_0x57e6f1,_0x1fad11);_0x18aba4[_0x5b9850(0x1db)]=class extends _0x52d772[_0x5b9850(0x1c6)]{constructor(_0x3c3f61,_0x29dd5e,_0x4f53ef,_0x12feac,_0x3cd9b7){const _0x200e5a=_0x5b9850;super(),this[_0x200e5a(0x1cb)]=_0x3c3f61,this[_0x200e5a(0x1c7)]=_0x29dd5e,this[_0x200e5a(0x1b4)]=_0x4f53ef,this[_0x200e5a(0x1d4)]=_0x12feac,this[_0x200e5a(0x1cd)]=_0x3cd9b7;}async[_0x5b9850(0x1a9)](){return this['loadActiveSheetAsync']();}async[_0x5b9850(0x1a6)](){const _0x152235=_0x5b9850;throw new Error(_0x152235(0x1bc));}async[_0x5b9850(0x1d9)](_0x360711){return this['loadSheetAsync'](_0x360711);}async[_0x5b9850(0x1cf)](_0x56ebd7,_0x459109){const _0x230063=_0x5b9850;return await this[_0x230063(0x1d4)]['loadSheet'](_0x56ebd7,0x0,_0x459109)?(await this[_0x230063(0x1cd)][_0x230063(0x1d6)](_0x56ebd7),this[_0x230063(0x1cb)]['getUniverSheet'](_0x56ebd7)):null;}[_0x5b9850(0x1bf)](_0x529719,_0x1d3931){const _0x1f9790=_0x5b9850,_0x3201a0=this['_injector'][_0x1f9790(0x1b9)](_0x502f45[_0x1f9790(0x1a2)])[_0x1f9790(0x1ca)](_0x529719)[_0x1f9790(0x1df)](_0x40b356[_0x1f9790(0x1b5)](_0x1fd115=>_0x1fd115[_0x1f9790(0x1e1)]))[_0x1f9790(0x1c0)](_0x2d938f=>_0x1d3931(Array[_0x1f9790(0x1c3)](_0x2d938f[_0x1f9790(0x1c4)]())));return _0x1d069b[_0x1f9790(0x1dc)](_0x3201a0);}[_0x5b9850(0x1dd)](){const _0xa956c3=_0x5b9850,_0x4d1a9b=this['_univerInstanceService'][_0xa956c3(0x1b3)]();if(!_0x4d1a9b)return _0x502f45[_0xa956c3(0x1ce)][_0xa956c3(0x1c8)];const _0x5ee2c0=this['_collaborationController'][_0xa956c3(0x1af)](_0x4d1a9b[_0xa956c3(0x1cc)]());return _0x5ee2c0?_0x5ee2c0['state']['status']:_0x502f45[_0xa956c3(0x1ce)][_0xa956c3(0x1c8)];}},_0x18aba4['FCollaboration']=_0x4931e3([_0x351144(0x1,_0x1d069b['Inject'](_0x1d069b[_0x5b9850(0x1ba)])),_0x351144(0x2,_0x1d069b['IUniverInstanceService']),_0x351144(0x3,_0x1d069b['Inject'](_0x4eb75a[_0x5b9850(0x1ac)])),_0x351144(0x4,_0x1d069b[_0x5b9850(0x1ae)](_0x502f45[_0x5b9850(0x1de)]))],_0x18aba4[_0x5b9850(0x1db)]);class _0x283ede extends _0x52d772['FUniver']{['getCollaboration'](){const _0x179c9f=_0x5b9850;return this[_0x179c9f(0x1c7)][_0x179c9f(0x1d5)](_0x18aba4[_0x179c9f(0x1db)],{'getUniverSheet':_0x14d4c3=>this[_0x179c9f(0x1d3)](_0x14d4c3)});}[_0x5b9850(0x1b7)](_0x16c3b3,_0x423ae3,_0x2133c5){const _0x1022ad=_0x5b9850;return this['_injector'][_0x1022ad(0x1b9)](_0x502f45[_0x1022ad(0x1e2)])[_0x1022ad(0x1c9)](_0x16c3b3,_0x423ae3,_0x2133c5);}[_0x5b9850(0x1da)](_0x4ae5fc,_0xd363dc,_0x12369b){const _0x304826=_0x5b9850;return this[_0x304826(0x1c7)][_0x304826(0x1b9)](_0x502f45[_0x304826(0x1e2)])[_0x304826(0x1c5)](_0x4ae5fc,_0xd363dc,_0x12369b);}}_0x52d772['FUniver'][_0x5b9850(0x1d0)](_0x283ede),Object[_0x5b9850(0x1c1)](_0x18aba4,Symbol['toStringTag'],{'value':'Module'});}));function _0x459a(_0x4271d8,_0x5ce185){_0x4271d8=_0x4271d8-0x1a2;const _0x5c6b06=_0x5c6b();let _0x459af2=_0x5c6b06[_0x4271d8];return _0x459af2;}function _0x5c6b(){const _0x3a9338=['MemberService','getOwnPropertyDescriptor','UniverProCollaboration','2070366gcDClw','loadActiveSheetAsync','length','@univerjs/core/facade','loadActiveSheet','UniverProCollaborationClient','@univerjs-pro/collaboration-client','SnapshotService','UniverCore','Inject','getCollabEntity','2020564sEmAfh','exports','@univerjs-pro/collaboration','getFocusedUnit','_univerInstanceService','switchMap','449748OSKcIH','loadServerUnit','object','get','Injector','FEnum','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','1252804BXWKty','94390Sxafzl','subscribeCollaborators','subscribe','defineProperty','318SiKabK','from','values','loadUnitOfRevision','FBase','_injector','NOT_COLLAB','loadUnit','waitForRoom$','_handler','getUnitId','_collaborationController','CollaborationStatus','loadSheetAsync','extend','@univerjs/core','3724966sHNBUV','getUniverSheet','_snapshotService','createInstance','readyForCollab','7273120lyXzMp','rxjs','loadSheet','loadServerUnitOfRevision','FCollaboration','toDisposable','getCollaborationStatus','CollaborationController','pipe','UniverCoreFacade','members$','DataLoaderService','amd'];_0x5c6b=function(){return _0x3a9338;};return _0x5c6b();}
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
function _0x5833(_0x30586c,_0x4f2611){_0x30586c=_0x30586c-0x108;const _0x520a0e=_0x520a();let _0x583330=_0x520a0e[_0x30586c];return _0x583330;}(function(_0x32d6af,_0xa905a5){const _0x3e765c=_0x5833,_0x58f836=_0x32d6af();while(!![]){try{const _0x2ea93c=-parseInt(_0x3e765c(0x263))/0x1+-parseInt(_0x3e765c(0x17e))/0x2*(-parseInt(_0x3e765c(0x145))/0x3)+parseInt(_0x3e765c(0x1b1))/0x4+parseInt(_0x3e765c(0x278))/0x5*(parseInt(_0x3e765c(0x1fd))/0x6)+-parseInt(_0x3e765c(0x1d1))/0x7+parseInt(_0x3e765c(0x1d5))/0x8*(parseInt(_0x3e765c(0x285))/0x9)+-parseInt(_0x3e765c(0x186))/0xa*(-parseInt(_0x3e765c(0x2b2))/0xb);if(_0x2ea93c===_0xa905a5)break;else _0x58f836['push'](_0x58f836['shift']());}catch(_0x357fe7){_0x58f836['push'](_0x58f836['shift']());}}}(_0x520a,0x44a60),function(_0x5dcd53,_0x304d5c){const _0x10e2d8=_0x5833;typeof exports==_0x10e2d8(0x372)&&typeof module<'u'?_0x304d5c(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==_0x10e2d8(0x1b0)&&define[_0x10e2d8(0x3f1)]?define([_0x10e2d8(0x30e),_0x10e2d8(0x3b3),_0x10e2d8(0x135),'@univerjs/core','@univerjs/ui',_0x10e2d8(0x374),_0x10e2d8(0x3e6),_0x10e2d8(0x15f),'@univerjs/rpc',_0x10e2d8(0x3eb),'@univerjs/engine-render','@univerjs/network','@univerjs/docs-ui',_0x10e2d8(0x12d),'@univerjs-pro/collaboration',_0x10e2d8(0x2ef),_0x10e2d8(0x21d),'rxjs/operators',_0x10e2d8(0x323)],_0x304d5c):(_0x5dcd53=typeof globalThis<'u'?globalThis:_0x5dcd53||self,_0x304d5c(_0x5dcd53[_0x10e2d8(0x326)]={},_0x5dcd53[_0x10e2d8(0x2b9)],_0x5dcd53[_0x10e2d8(0x266)],_0x5dcd53[_0x10e2d8(0x2a5)],_0x5dcd53[_0x10e2d8(0x34a)],_0x5dcd53[_0x10e2d8(0x374)],_0x5dcd53[_0x10e2d8(0x1ed)],_0x5dcd53['React'],_0x5dcd53['UniverRpc'],_0x5dcd53[_0x10e2d8(0x3a6)],_0x5dcd53[_0x10e2d8(0x2b7)],_0x5dcd53['UniverNetwork'],_0x5dcd53[_0x10e2d8(0x311)],_0x5dcd53[_0x10e2d8(0x193)],_0x5dcd53[_0x10e2d8(0x15a)],_0x5dcd53[_0x10e2d8(0x232)],_0x5dcd53[_0x10e2d8(0x29e)],_0x5dcd53[_0x10e2d8(0x374)][_0x10e2d8(0x3ed)],_0x5dcd53[_0x10e2d8(0x268)]));}(this,function(_0x23f96a,_0x56f8e0,_0x40f345,_0x99a487,_0x3ebdd3,_0xf18ada,_0xdfb808,_0x24e254,_0x52bf9f,_0x1e6c76,_0x4b6de8,_0xb43dfb,_0x2afbb3,_0xba1fc8,_0x1d0b4f,_0x2d04b0,_0x7369e4,_0x4f8855,_0x31a5a7){'use strict';const _0x42caba=_0x5833;var _0x76e751=Object[_0x42caba(0x321)],_0x5c1d79=(_0x14a026,_0x188201,_0x37532d)=>_0x188201 in _0x14a026?_0x76e751(_0x14a026,_0x188201,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37532d}):_0x14a026[_0x188201]=_0x37532d,_0x450946=(_0x5079ec,_0x33855f,_0x3e107e)=>_0x5c1d79(_0x5079ec,typeof _0x33855f!=_0x42caba(0x180)?_0x33855f+'':_0x33855f,_0x3e107e);function _0x365323({ref:_0x5d0263,..._0xf2ddfa}){const _0x4c692c=_0x42caba,{icon:_0x398384,id:_0x25cc43,className:_0x380a80,extend:_0x31702c,..._0x347032}=_0xf2ddfa,_0x4aed5e=(_0x4c692c(0x132)+_0x25cc43+'\x20'+(_0x380a80||''))[_0x4c692c(0x3cb)](),_0x5bdd7c=_0x24e254[_0x4c692c(0x246)]('_'+_0xcd1b20());return _0x377bf1(_0x398384,''+_0x25cc43,{'defIds':_0x398384[_0x4c692c(0x144)],'idSuffix':_0x5bdd7c[_0x4c692c(0x14d)]},{'ref':_0x5d0263,'className':_0x4aed5e,..._0x347032},_0x31702c);}function _0x377bf1(_0x5bbd0a,_0x18bd69,_0x121ffc,_0x34bf7e,_0x29b21f){const _0x32709a=_0x42caba;return _0x24e254[_0x32709a(0x229)](_0x5bbd0a[_0x32709a(0x1a6)],{'key':_0x18bd69,..._0x309c26(_0x5bbd0a,_0x121ffc,_0x29b21f),..._0x34bf7e},(_0x473eb8(_0x5bbd0a,_0x121ffc)[_0x32709a(0x131)]||[])['map']((_0xa9fe4c,_0x5b10dd)=>_0x377bf1(_0xa9fe4c,_0x18bd69+'-'+_0x5bbd0a['tag']+'-'+_0x5b10dd,_0x121ffc,void 0x0,_0x29b21f)));}function _0x309c26(_0x4dfc77,_0x4f4197,_0x4e177e){const _0x4b1e24=_0x42caba,_0x5b7bad={..._0x4dfc77[_0x4b1e24(0x1ab)]};_0x4e177e!=null&&_0x4e177e['colorChannel1']&&_0x5b7bad['fill']===_0x4b1e24(0x2fb)&&(_0x5b7bad[_0x4b1e24(0x1bb)]=_0x4e177e[_0x4b1e24(0x2fb)]),_0x4dfc77[_0x4b1e24(0x1a6)]===_0x4b1e24(0x31c)&&_0x5b7bad['id']&&(_0x5b7bad['id']=_0x5b7bad['id']+_0x4f4197[_0x4b1e24(0x2a1)]),Object[_0x4b1e24(0x1cf)](_0x5b7bad)[_0x4b1e24(0x2e5)](([_0x27ea69,_0x1ef1c6])=>{const _0x34c40d=_0x4b1e24;_0x27ea69===_0x34c40d(0x31c)&&typeof _0x1ef1c6=='string'&&(_0x5b7bad[_0x27ea69]=_0x1ef1c6['replace'](/url\(#(.*)\)/,_0x34c40d(0x3be)+_0x4f4197['idSuffix']+')'));});const {defIds:_0xb0934c}=_0x4f4197;return!_0xb0934c||_0xb0934c[_0x4b1e24(0x1f4)]===0x0||(_0x4dfc77['tag']==='use'&&_0x5b7bad[_0x4b1e24(0x158)]&&(_0x5b7bad[_0x4b1e24(0x158)]=_0x5b7bad[_0x4b1e24(0x158)]+_0x4f4197[_0x4b1e24(0x2a1)]),Object[_0x4b1e24(0x1cf)](_0x5b7bad)[_0x4b1e24(0x2e5)](([_0x25f6f5,_0x68f30b])=>{const _0x4b0f65=_0x4b1e24;typeof _0x68f30b==_0x4b0f65(0x307)&&(_0x5b7bad[_0x25f6f5]=_0x68f30b[_0x4b0f65(0x190)](/url\(#(.*)\)/,_0x4b0f65(0x3be)+_0x4f4197[_0x4b0f65(0x2a1)]+')'));})),_0x5b7bad;}function _0x473eb8(_0x4a2a88,_0x3169bf){const _0x3079d0=_0x42caba;var _0x166be8;const {defIds:_0x4e7ea7}=_0x3169bf;return!_0x4e7ea7||_0x4e7ea7[_0x3079d0(0x1f4)]===0x0?_0x4a2a88:_0x4a2a88['tag']===_0x3079d0(0x365)&&((_0x166be8=_0x4a2a88[_0x3079d0(0x131)])!=null&&_0x166be8[_0x3079d0(0x1f4)])?{..._0x4a2a88,'children':_0x4a2a88[_0x3079d0(0x131)][_0x3079d0(0x139)](_0x2a248d=>typeof _0x2a248d['attrs']['id']==_0x3079d0(0x307)&&_0x4e7ea7&&_0x4e7ea7[_0x3079d0(0x2f0)](_0x2a248d[_0x3079d0(0x1ab)]['id'])?{..._0x2a248d,'attrs':{..._0x2a248d[_0x3079d0(0x1ab)],'id':_0x2a248d[_0x3079d0(0x1ab)]['id']+_0x3169bf[_0x3079d0(0x2a1)]}}:_0x2a248d)}:_0x4a2a88;}function _0xcd1b20(){const _0x45bb83=_0x42caba;return Math[_0x45bb83(0x147)]()[_0x45bb83(0x2df)](0x24)['substring'](0x2,0x8);}_0x365323['displayName']=_0x42caba(0x3d1);const _0x44f037={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x42caba(0x14b),'viewBox':_0x42caba(0x3ce),'width':_0x42caba(0x31f),'height':_0x42caba(0x31f)},'children':[{'tag':'g','attrs':{'clipPath':_0x42caba(0x3df)},'children':[{'tag':_0x42caba(0x2a9),'attrs':{'stroke':_0x42caba(0x34c),'d':_0x42caba(0x142),'strokeLinecap':'round','strokeLinejoin':_0x42caba(0x281),'strokeWidth':1.2}}]},{'tag':_0x42caba(0x365),'attrs':{},'children':[{'tag':_0x42caba(0x396),'attrs':{'id':_0x42caba(0x24b)},'children':[{'tag':'path','attrs':{'fill':_0x42caba(0x23b),'d':_0x42caba(0x143)}}]}]}],'defIds':[_0x42caba(0x24b)]},_0x34401d=_0x24e254[_0x42caba(0x181)](function(_0x2ad812,_0x32d614){const _0x1b3bb8=_0x42caba;return _0x24e254[_0x1b3bb8(0x229)](_0x365323,Object[_0x1b3bb8(0x1c5)]({},_0x2ad812,{'id':'off-line-icon','ref':_0x32d614,'icon':_0x44f037}));});_0x34401d[_0x42caba(0x13f)]=_0x42caba(0x148);const _0x3716d6={'tag':_0x42caba(0x13a),'attrs':{'xmlns':_0x42caba(0x174),'fill':_0x42caba(0x14b),'viewBox':_0x42caba(0x1d9),'width':_0x42caba(0x31f),'height':_0x42caba(0x31f)},'children':[{'tag':'g','attrs':{'clipPath':_0x42caba(0x23d)},'children':[{'tag':'path','attrs':{'stroke':_0x42caba(0x34c),'d':_0x42caba(0x2b0),'strokeLinecap':_0x42caba(0x281),'strokeLinejoin':_0x42caba(0x281),'strokeWidth':1.2}}]},{'tag':_0x42caba(0x365),'attrs':{},'children':[{'tag':_0x42caba(0x396),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x42caba(0x2a9),'attrs':{'fill':_0x42caba(0x23b),'d':_0x42caba(0x143),'transform':'translate(.97)'}}]}]}],'defIds':[_0x42caba(0x357)]},_0x2998c0=_0x24e254[_0x42caba(0x181)](function(_0x382e47,_0x1a7bd7){const _0x5ad4ce=_0x42caba;return _0x24e254[_0x5ad4ce(0x229)](_0x365323,Object['assign']({},_0x382e47,{'id':_0x5ad4ce(0x157),'ref':_0x1a7bd7,'icon':_0x3716d6}));});_0x2998c0[_0x42caba(0x13f)]='OnLineIcon';function _0x21667f(_0x359917){const _0x25f0c2=_0x42caba;switch(_0x359917){case _0x40f345['CollaborationStatus']['OFFLINE']:return _0x25f0c2(0x2a4);case _0x40f345[_0x25f0c2(0x3cf)][_0x25f0c2(0x24a)]:return _0x25f0c2(0x2a8);case _0x40f345[_0x25f0c2(0x3cf)][_0x25f0c2(0x235)]:return _0x25f0c2(0x3ba);case _0x40f345[_0x25f0c2(0x3cf)][_0x25f0c2(0x293)]:return _0x25f0c2(0x34d);case _0x40f345['CollaborationStatus'][_0x25f0c2(0x375)]:case _0x40f345[_0x25f0c2(0x3cf)]['AWAITING_WITH_PENDING']:return _0x25f0c2(0x39b);case _0x40f345[_0x25f0c2(0x3cf)]['SYNCED']:case _0x40f345['CollaborationStatus']['PENDING']:return _0x25f0c2(0x168);}}function _0x1d8aba(_0xbd8c1e){const _0x38eb11=_0x42caba,{status$:_0xa737f1}=_0xbd8c1e,_0x567dcc=_0x3ebdd3[_0x38eb11(0x288)](_0xa737f1,_0x40f345[_0x38eb11(0x3cf)][_0x38eb11(0x293)]),_0x5f2bdf=_0x3ebdd3[_0x38eb11(0x2bf)](_0x99a487[_0x38eb11(0x35d)]),_0x38ad86=_0x3ebdd3[_0x38eb11(0x2bf)](_0x40f345['CollaborationSessionService']),_0xbad5f1=_0x567dcc!==_0x40f345[_0x38eb11(0x3cf)][_0x38eb11(0x3c7)],_0x50d381=_0x5f2bdf['t'](_0x21667f(_0x567dcc)),_0x56f642=_0xbad5f1?_0x56f8e0[_0x38eb11(0x198)](_0x2998c0,{}):_0x56f8e0[_0x38eb11(0x198)](_0x34401d,{}),_0x40805b=_0x24e254['useCallback'](()=>{_0xbad5f1||_0x38ad86['reconnect']();},[_0xbad5f1,_0x38ad86]);function _0x25a4cc(){const _0x255403=_0x38eb11;return _0x56f8e0[_0x255403(0x2dd)](_0x255403(0x21f),{'className':_0x255403(0x3a3),'onClick':_0x40805b,'children':[_0x56f8e0[_0x255403(0x198)](_0x255403(0x21f),{'className':_0xdfb808[_0x255403(0x3b4)](_0x255403(0x1f5),{'univer-text-green-500':_0xbad5f1,'univer-text-red-500':!_0xbad5f1}),'children':_0x56f642}),_0x56f8e0[_0x255403(0x198)](_0x255403(0x21f),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x50d381})]});}return _0xbad5f1?_0x25a4cc():_0x56f8e0['jsx'](_0xdfb808[_0x38eb11(0x265)],{'title':_0x5f2bdf['t']('collab-client.tooltip.reconnect'),'children':_0x25a4cc()});}var _0x26e07a=Object[_0x42caba(0x27d)],_0x355e6c=(_0x2a05de,_0x3f73d0,_0x3ec381,_0x16258a)=>{const _0x4c114f=_0x42caba;for(var _0x285b27=_0x16258a>0x1?void 0x0:_0x16258a?_0x26e07a(_0x3f73d0,_0x3ec381):_0x3f73d0,_0x543cfc=_0x2a05de[_0x4c114f(0x1f4)]-0x1,_0x341afb;_0x543cfc>=0x0;_0x543cfc--)(_0x341afb=_0x2a05de[_0x543cfc])&&(_0x285b27=_0x341afb(_0x285b27)||_0x285b27);return _0x285b27;},_0x3ab8b2=(_0x58a668,_0x2025d3)=>(_0x3158c6,_0x5c7cb0)=>_0x2025d3(_0x3158c6,_0x5c7cb0,_0x58a668);_0x23f96a[_0x42caba(0x254)]=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x4a7b61,_0x30aeb5,_0x1e445a,_0x18cf1b){const _0x552934=_0x42caba;super(),_0x450946(this,'_status$',new _0xf18ada[(_0x552934(0x1c2))](_0x40f345[_0x552934(0x3cf)][_0x552934(0x293)])),(this[_0x552934(0x2c0)]=_0x4a7b61,this['_injector']=_0x30aeb5,this['_collaborationController']=_0x1e445a,this['_uiPartsService']=_0x18cf1b,this[_0x552934(0x165)](),this[_0x552934(0x25e)]());}['_initStatusListener'](){const _0x304083=_0x42caba;this['disposeWithMe'](this[_0x304083(0x2c0)][_0x304083(0x2ab)][_0x304083(0x1cd)](_0xf18ada['switchMap'](()=>{const _0x3fc274=_0x304083,_0x19acff=this[_0x3fc274(0x2c0)]['getFocusedUnit']();return _0x19acff?this['_collaborationController'][_0x3fc274(0x29c)](_0x19acff[_0x3fc274(0x359)]()):_0xf18ada['of'](null);}),_0xf18ada[_0x304083(0x35b)](_0x3192df=>_0x3192df?_0x3192df[_0x304083(0x206)]:_0xf18ada['of'](_0x40f345[_0x304083(0x3cf)]['NOT_COLLAB'])))[_0x304083(0x222)](_0x13a574=>{const _0x57648a=_0x304083;this[_0x57648a(0x3e5)]['next'](_0x13a574);}));}['_initStatusComponent'](){const _0x40a897=_0x42caba;this[_0x40a897(0x170)](this[_0x40a897(0x253)][_0x40a897(0x1bd)](_0x3ebdd3[_0x40a897(0x184)][_0x40a897(0x28a)],()=>_0x3ebdd3['connectInjector'](_0x5b6f7b({'status$':this['_status$'][_0x40a897(0x154)]()}),this['_injector'])));}},_0x23f96a[_0x42caba(0x254)]=_0x355e6c([_0x3ab8b2(0x0,_0x99a487[_0x42caba(0x14f)]),_0x3ab8b2(0x1,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x3ab8b2(0x2,_0x99a487[_0x42caba(0x2ac)](_0x40f345[_0x42caba(0x1f7)])),_0x3ab8b2(0x3,_0x3ebdd3[_0x42caba(0x252)])],_0x23f96a['DesktopCollaborationStatusDisplayController']);function _0x5b6f7b(_0x2fd73f){const {status$:_0x1fe326}=_0x2fd73f;return function(){const _0x4393b8=_0x5833;return _0x56f8e0[_0x4393b8(0x198)](_0x1d8aba,{'status$':_0x1fe326});};}const _0x2eaaa6=_0x99a487[_0x42caba(0x2db)](_0x42caba(0x12b));var _0x85530=Object[_0x42caba(0x27d)],_0x3c6f2c=(_0x387f64,_0x4ecc32,_0x49b7f3,_0x424eab)=>{const _0x268292=_0x42caba;for(var _0x4aa0a5=_0x424eab>0x1?void 0x0:_0x424eab?_0x85530(_0x4ecc32,_0x49b7f3):_0x4ecc32,_0x36c18f=_0x387f64[_0x268292(0x1f4)]-0x1,_0x35677;_0x36c18f>=0x0;_0x36c18f--)(_0x35677=_0x387f64[_0x36c18f])&&(_0x4aa0a5=_0x35677(_0x4aa0a5)||_0x4aa0a5);return _0x4aa0a5;},_0x1ae8a9=(_0x10e028,_0x4ba6c6)=>(_0x31e2b7,_0x581c8f)=>_0x4ba6c6(_0x31e2b7,_0x581c8f,_0x10e028);_0x23f96a[_0x42caba(0x216)]=class extends _0x99a487['RxDisposable']{constructor(_0x5597f7,_0x302b5f,_0x42f15b,_0x532eb3,_0x2a15c4){const _0x22a6ae=_0x42caba;super(),this['_urlService']=_0x5597f7,this['_logService']=_0x302b5f,this[_0x22a6ae(0x390)]=_0x42f15b,this[_0x22a6ae(0x10e)]=_0x532eb3,_0x2a15c4?_0x2a15c4==null||_0x2a15c4[_0x22a6ae(0x2a2)]()['then'](()=>this[_0x22a6ae(0x273)]()):(this[_0x22a6ae(0x27c)][_0x22a6ae(0x204)](_0x22a6ae(0x2b8),_0x22a6ae(0x121)),this[_0x22a6ae(0x273)]());}async[_0x42caba(0x273)](){const _0x3fc8e5=_0x42caba,_0xd22b81=this[_0x3fc8e5(0x227)][_0x3fc8e5(0x37f)](_0x3fc8e5(0x393)),_0x43d175=this['_urlService']['getParam'](_0x3fc8e5(0x2d7)),_0x3851e7=this[_0x3fc8e5(0x227)][_0x3fc8e5(0x37f)](_0x3fc8e5(0x26a));if(!_0xd22b81||!_0x43d175){this['_logService'][_0x3fc8e5(0x204)](_0x3fc8e5(0x2b8),_0x3fc8e5(0x20a));return;}const _0x3307c3=await this['_dataLoaderService'][_0x3fc8e5(0x244)](_0xd22b81,Number(_0x43d175),_0x3851e7);_0x3307c3&&_0x3307c3 instanceof _0x99a487[_0x3fc8e5(0x250)]&&this['_setupSubUnitSync'](_0x3307c3);}async[_0x42caba(0x35f)](_0x5ad612){const _0x1a1ea0=_0x42caba;await this['_updateSubUnitFromURLParams'](_0x5ad612),_0x5ad612[_0x1a1ea0(0x1c0)][_0x1a1ea0(0x1cd)](_0xf18ada[_0x1a1ea0(0x141)](this[_0x1a1ea0(0x1ef)]))['subscribe'](_0x4f1f95=>{const _0x7f11c7=_0x1a1ea0;_0x4f1f95&&this[_0x7f11c7(0x2bc)](_0x4f1f95);}),this['_urlService']['urlChange$']['pipe'](_0xf18ada[_0x1a1ea0(0x141)](this['dispose$']))[_0x1a1ea0(0x222)](()=>this[_0x1a1ea0(0x349)](_0x5ad612));}[_0x42caba(0x2bc)](_0xff19d,_0x794fb5=!0x1){const _0x8a2343=_0x42caba,_0x5106eb=this[_0x8a2343(0x227)][_0x8a2343(0x37f)](_0x8a2343(0x26a));_0xff19d[_0x8a2343(0x2b6)]()!==_0x5106eb&&this[_0x8a2343(0x227)][_0x8a2343(0x27b)](_0x8a2343(0x26a),_0xff19d['getSheetId'](),_0x794fb5);}async[_0x42caba(0x349)](_0x287da3){const _0x47e95d=_0x42caba;var _0x3613f4;const _0x48c6d2=this[_0x47e95d(0x227)][_0x47e95d(0x37f)](_0x47e95d(0x26a));if(!_0x48c6d2||!_0x287da3[_0x47e95d(0x287)](_0x48c6d2)){const _0x24f19f=_0x287da3['getUnhiddenWorksheets']()[0x0],_0x373bf7=_0x287da3['getSheetBySheetId'](_0x24f19f);if(!_0x373bf7)return;this['_updateURLWithCurrentState'](_0x373bf7,!0x0),await this[_0x47e95d(0x390)]['executeCommand'](_0x1e6c76[_0x47e95d(0x33f)]['id'],{'unitId':_0x287da3[_0x47e95d(0x359)](),'subUnitId':_0x24f19f});return;}((_0x3613f4=_0x287da3['getActiveSheet']())==null?void 0x0:_0x3613f4['getSheetId']())!==_0x48c6d2&&await this[_0x47e95d(0x390)][_0x47e95d(0x28d)](_0x1e6c76[_0x47e95d(0x33f)]['id'],{'unitId':_0x287da3[_0x47e95d(0x359)](),'subUnitId':_0x48c6d2});}},_0x23f96a['CollaborationDataLoaderController']=_0x3c6f2c([_0x1ae8a9(0x0,_0x2eaaa6),_0x1ae8a9(0x1,_0x99a487[_0x42caba(0x2e3)]),_0x1ae8a9(0x2,_0x99a487['ICommandService']),_0x1ae8a9(0x3,_0x99a487[_0x42caba(0x2ac)](_0x40f345[_0x42caba(0x2ca)])),_0x1ae8a9(0x4,_0x99a487[_0x42caba(0x2fd)](_0x52bf9f[_0x42caba(0x16f)]))],_0x23f96a[_0x42caba(0x216)]);var _0x1efe45=Object[_0x42caba(0x27d)],_0x3658c7=(_0x3d5e53,_0x2662fa,_0x975813,_0x52db65)=>{const _0x178b4c=_0x42caba;for(var _0x50fef4=_0x52db65>0x1?void 0x0:_0x52db65?_0x1efe45(_0x2662fa,_0x975813):_0x2662fa,_0x1d5656=_0x3d5e53[_0x178b4c(0x1f4)]-0x1,_0x504207;_0x1d5656>=0x0;_0x1d5656--)(_0x504207=_0x3d5e53[_0x1d5656])&&(_0x50fef4=_0x504207(_0x50fef4)||_0x50fef4);return _0x50fef4;},_0x3514bd=(_0x1cad99,_0x184bb4)=>(_0x47e47b,_0x4138bd)=>_0x184bb4(_0x47e47b,_0x4138bd,_0x1cad99);let _0x47f8da=class extends _0x99a487['RxDisposable']{constructor(_0x295358,_0x4c775e){const _0x4e7fa2=_0x42caba;super(),this[_0x4e7fa2(0x32b)]=_0x295358,this[_0x4e7fa2(0x2ea)]=_0x4c775e,this['_init']();}[_0x42caba(0x273)](){const _0x61d184=_0x42caba,_0x1f452d=this;this[_0x61d184(0x170)](this[_0x61d184(0x32b)][_0x61d184(0x2cd)]({'onBeforePasteImage':async _0x305367=>{const _0x37247e=_0x61d184,_0xb4b6c2=await _0x1f452d[_0x37247e(0x2ea)][_0x37247e(0x2d2)](_0x305367);return _0xb4b6c2?{'source':_0xb4b6c2[_0x37247e(0x353)],'imageSourceType':_0xb4b6c2['imageSourceType']}:null;}}));}};_0x47f8da=_0x3658c7([_0x3514bd(0x0,_0x2afbb3['IDocClipboardService']),_0x3514bd(0x1,_0xba1fc8[_0x42caba(0x15e)])],_0x47f8da);const _0x185656=[_0x42caba(0x24d),_0x42caba(0x234),'green.600',_0x42caba(0x373),'blue.400',_0x42caba(0x1a5)];class _0x2dbe1f extends _0x99a487[_0x42caba(0x238)]{constructor(){const _0x3baada=_0x42caba;super(...arguments),_0x450946(this,'_assignedColors',new Map()),_0x450946(this,_0x3baada(0x30b),0x0);}[_0x42caba(0x2af)](_0x18700a){const _0x48ac08=_0x42caba;if(this['_assignedColors'][_0x48ac08(0x185)](_0x18700a))return this['_assignedColors']['get'](_0x18700a);const _0x24be3c=_0x185656[this[_0x48ac08(0x30b)]];return this[_0x48ac08(0x30b)]=(this[_0x48ac08(0x30b)]+0x1)%_0x185656['length'],this[_0x48ac08(0x241)][_0x48ac08(0x2ff)](_0x18700a,_0x24be3c),_0x24be3c;}}function _0x1b89d1(_0xfa697f){const _0x325b7e=_0x42caba;let _0x235e92='';for(const _0x575599 of _0xfa697f){const {startOffset:_0x1a3d97,endOffset:_0x394fca,isActive:_0x3e7d18,rangeType:_0x3f78d0,segmentId:_0x15cc81,segmentPage:_0xcfd6e7}=_0x575599;_0x235e92[_0x325b7e(0x1f4)]&&(_0x235e92+=','),_0x235e92+=_0x1a3d97+':'+_0x394fca+':'+(_0x3e7d18?'1':'0')+':'+_0x3f78d0+':'+_0x15cc81+':'+_0xcfd6e7;}return _0x235e92;}function _0x432c8d(_0x4b5be7){const _0x2f7317=_0x42caba,_0x293131=_0x4b5be7[_0x2f7317(0x146)](','),_0xbc9f8e=[];for(const _0x556d07 of _0x293131){const [_0x4bb40b,_0x1089a6,_0x32dc9b,_0x3af489,_0x509663,_0x1e2216]=_0x556d07['split'](':');_0xbc9f8e[_0x2f7317(0x242)]({'startOffset':Number(_0x4bb40b),'endOffset':Number(_0x1089a6),'collapsed':_0x4bb40b===_0x1089a6,'isActive':_0x32dc9b==='1','rangeType':_0x3af489===_0x99a487[_0x2f7317(0x21b)]['TEXT']?_0x99a487[_0x2f7317(0x21b)][_0x2f7317(0x230)]:_0x99a487[_0x2f7317(0x21b)]['RECT'],'segmentId':typeof _0x509663==_0x2f7317(0x307)?String(_0x509663):'','segmentPage':Number(_0x1e2216!=null?_0x1e2216:-0x1)});}return _0xbc9f8e[_0x2f7317(0x33d)](_0x95145f=>_0x95145f[_0x2f7317(0x18e)])||(_0xbc9f8e[0x0]['isActive']=!0x0),_0xbc9f8e;}class _0x151704 extends _0x99a487[_0x42caba(0x178)]{constructor(){const _0xeb0781=_0x42caba;super(...arguments),_0x450946(this,_0xeb0781(0x1fc),new _0xf18ada['BehaviorSubject'](null)),_0x450946(this,_0xeb0781(0x2d0),this[_0xeb0781(0x1fc)][_0xeb0781(0x154)]());}[_0x42caba(0x12c)](_0x20d4c6){const _0x2e47f5=_0x42caba,{unitID:_0x1356da,memberID:_0xf0f558,textRanges:_0x4eb4fe}=_0x20d4c6,_0x373932=_0x1b89d1(_0x4eb4fe);if(_0x373932==='')return;const _0x34f586={'unitID':_0x1356da,'memberID':_0xf0f558,'selection':_0x373932};this[_0x2e47f5(0x1fc)][_0x2e47f5(0x1ba)](_0x34f586);}}var _0x292158=Object[_0x42caba(0x27d)],_0x25ef79=(_0x584117,_0xe39874,_0x497533,_0x54fc30)=>{const _0x20f97e=_0x42caba;for(var _0x1e183f=_0x54fc30>0x1?void 0x0:_0x54fc30?_0x292158(_0xe39874,_0x497533):_0xe39874,_0x302c74=_0x584117[_0x20f97e(0x1f4)]-0x1,_0x1e7857;_0x302c74>=0x0;_0x302c74--)(_0x1e7857=_0x584117[_0x302c74])&&(_0x1e183f=_0x1e7857(_0x1e183f)||_0x1e183f);return _0x1e183f;},_0x3ea4db=(_0x4fe40b,_0x4bdfa0)=>(_0x1ebad3,_0x2bc290)=>_0x4bdfa0(_0x1ebad3,_0x2bc290,_0x4fe40b);const _0xe0f9d1=0x12c,_0x4a197b=0x64;let _0x5b726f=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x46e6f9,_0x1faa45,_0x4220c2,_0x3bb859,_0x147a7b,_0x35b9eb,_0x57399f,_0x57050f,_0xa53e59){const _0x1a5dff=_0x42caba;super(),_0x450946(this,_0x1a5dff(0x217),!0x1),_0x450946(this,'_init',!0x1),_0x450946(this,_0x1a5dff(0x32e),new _0xf18ada[(_0x1a5dff(0x1c2))](new Map())),_0x450946(this,'cursorInfo$',this[_0x1a5dff(0x32e)][_0x1a5dff(0x154)]()),_0x450946(this,'_roomMembers$',new _0xf18ada[(_0x1a5dff(0x1c2))]([])),_0x450946(this,_0x1a5dff(0x1e6),this[_0x1a5dff(0x39a)][_0x1a5dff(0x1cd)](_0xf18ada[_0x1a5dff(0x194)](_0xe0f9d1))),_0x450946(this,_0x1a5dff(0x290),_0x99a487[_0x1a5dff(0x1aa)](_0x2e91a4=>{const _0x5d41be=_0x1a5dff,_0x17514a={'eventID':_0x1d0b4f[_0x5d41be(0x2f3)][_0x5d41be(0x207)],'data':{'unitID':this[_0x5d41be(0x392)],'memberID':this[_0x5d41be(0x169)][_0x5d41be(0x218)](),'selection':_0x1b89d1(_0x2e91a4)}};this['_session']['send'](_0x17514a,this[_0x5d41be(0x392)]);},_0x4a197b)),(this[_0x1a5dff(0x392)]=_0x46e6f9,this[_0x1a5dff(0x169)]=_0x1faa45,this[_0x1a5dff(0x3b2)]=_0x4220c2,this[_0x1a5dff(0x354)]=_0x3bb859,this[_0x1a5dff(0x2c7)]=_0x147a7b,this[_0x1a5dff(0x18f)]=_0x35b9eb,this[_0x1a5dff(0x17a)]=_0x57399f,this['_univerInstanceService']=_0x57050f,this['_commandService']=_0xa53e59);}get[_0x42caba(0x1ae)](){const _0x4d16a7=_0x42caba;return this['_cursorInfo$'][_0x4d16a7(0x279)]();}get[_0x42caba(0x1d3)](){const _0xacc1be=_0x42caba;return this[_0xacc1be(0x39a)][_0xacc1be(0x279)]();}[_0x42caba(0x310)](){const _0x18b450=_0x42caba;super['dispose'](),this[_0x18b450(0x32e)][_0x18b450(0x1ba)](new Map()),this['_cursorInfo$'][_0x18b450(0x2cc)](),this[_0x18b450(0x39a)][_0x18b450(0x1ba)]([]),this[_0x18b450(0x39a)]['complete']();}[_0x42caba(0x1ce)](){const _0x20f646=_0x42caba;this[_0x20f646(0x273)]||(this['_init']=!0x0,this['_session'][_0x20f646(0x258)][_0x20f646(0x1cd)](_0xf18ada[_0x20f646(0x141)](this[_0x20f646(0x1ef)]))[_0x20f646(0x222)](_0x19b3ce=>{const _0x2a7350=_0x20f646;_0x19b3ce===_0x40f345['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x2a7350(0x325)]();}),this[_0x20f646(0x169)][_0x20f646(0x166)][_0x20f646(0x1cd)](_0xf18ada[_0x20f646(0x141)](this[_0x20f646(0x1ef)]))[_0x20f646(0x222)](_0xfa2ff4=>{const _0x5e6079=_0x20f646,_0x5872fd=_0xfa2ff4[_0x5e6079(0x1f1)];_0x5872fd===_0x1d0b4f[_0x5e6079(0x2f3)][_0x5e6079(0x207)]&&this[_0x5e6079(0x3ea)](_0xfa2ff4),_0x5872fd===_0x1d0b4f[_0x5e6079(0x2f3)][_0x5e6079(0x28b)]&&this['_onCursorDelete'](_0xfa2ff4);}),this[_0x20f646(0x170)](this[_0x20f646(0x390)][_0x20f646(0x29f)](_0x5028ad=>{const _0x5dab54=_0x20f646,_0x4f370d=_0x5028ad[_0x5dab54(0x3a2)];_0x4f370d!=null&&this['_online']&&_0x5028ad['id']===_0x2d04b0[_0x5dab54(0x1b4)]['id']&&_0x4f370d['unitId']===this[_0x5dab54(0x392)]&&_0x4f370d[_0x5dab54(0x2a7)]===!0x1&&_0x4f370d[_0x5dab54(0x3f0)][_0x5dab54(0x1f4)]>0x0&&this[_0x5dab54(0x290)](_0x4f370d[_0x5dab54(0x3f0)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x20f646(0x1cd)](_0xf18ada[_0x20f646(0x141)](this['dispose$']))[_0x20f646(0x222)](_0x3ecd89=>{const _0x35bfa1=_0x20f646;if((_0x3ecd89==null?void 0x0:_0x3ecd89[_0x35bfa1(0x392)])!==this[_0x35bfa1(0x392)])return;const _0x1eb4d7={'eventID':_0x1d0b4f[_0x35bfa1(0x2f3)][_0x35bfa1(0x207)],'data':_0x3ecd89};this[_0x35bfa1(0x3ea)](_0x1eb4d7);}),this[_0x20f646(0x170)](this[_0x20f646(0x390)][_0x20f646(0x29f)](_0x483701=>{const _0x54fe2d=_0x20f646;if(_0x483701[_0x54fe2d(0x3a2)]==null)return;const _0x4a942a=_0x483701[_0x54fe2d(0x3a2)];if(_0x483701['id']!==_0x2d04b0[_0x54fe2d(0x2e1)]['id']||_0x4a942a[_0x54fe2d(0x1c6)]!==this[_0x54fe2d(0x392)])return;const _0x2e24f0={'id':_0x54fe2d(0x205),'params':_0x4a942a},_0x1370ff=this[_0x54fe2d(0x1ae)];for(const [_0x482e08,_0xe74b11]of _0x1370ff){const _0x19a638={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x54fe2d(0x392)],'actions':null,'textRanges':_0xe74b11['ranges']}},_0xc84fae=this[_0x54fe2d(0x17a)]['transformMutation'](_0x2e24f0,_0x19a638,!0x1);if(_0x1d0b4f['isTransformMutationFailure'](_0xc84fae))throw _0xc84fae['error'];_0x1370ff[_0x54fe2d(0x2ff)](_0x482e08,{..._0xe74b11,'ranges':_0xc84fae[_0x54fe2d(0x35e)][_0x54fe2d(0x3a2)][_0x54fe2d(0x248)]});}queueMicrotask(()=>{const _0x4239d7=_0x54fe2d;this['_cursorInfo$'][_0x4239d7(0x1ba)](_0x1370ff);});})));}[_0x42caba(0x3ea)](_0x3a04e6){const _0x2f598b=_0x42caba;var _0x28c26e,_0x17bab9;const {memberID:_0x2560b4,selection:_0x226845}=_0x3a04e6[_0x2f598b(0x343)],_0x118d13=_0x432c8d(_0x226845),_0x38ff9b=(_0x17bab9=(_0x28c26e=this[_0x2f598b(0x2c7)]['getMember'](this['unitID'],_0x2560b4))==null?void 0x0:_0x28c26e[_0x2f598b(0x3ab)])!=null?_0x17bab9:'Unknown\x20user',_0x568757={'color':this[_0x2f598b(0x354)][_0x2f598b(0x2af)](_0x2560b4),'name':_0x38ff9b,'ranges':_0x118d13},_0x4dd9a3=this['cursorInfo'];_0x4dd9a3['set'](_0x2560b4,_0x568757),this[_0x2f598b(0x32e)][_0x2f598b(0x1ba)](_0x4dd9a3);}[_0x42caba(0x17b)](_0x395adb){const _0x11b7be=_0x42caba,{memberID:_0x145ce6}=_0x395adb[_0x11b7be(0x343)],_0x5ed392=this['cursorInfo'];_0x5ed392[_0x11b7be(0x192)](_0x145ce6),this[_0x11b7be(0x32e)][_0x11b7be(0x1ba)](_0x5ed392);}['_toggleOnline'](){const _0x527636=_0x42caba;var _0x41f84d;if(this[_0x527636(0x217)]=!0x0,((_0x41f84d=this[_0x527636(0x2c0)]['getFocusedUnit']())==null?void 0x0:_0x41f84d[_0x527636(0x359)]())!==this[_0x527636(0x392)])return;const _0x4f275d=this[_0x527636(0x3b2)][_0x527636(0x394)](_0x2d04b0[_0x527636(0x35c)])['getDocRanges']();Array['isArray'](_0x4f275d)&&_0x4f275d[_0x527636(0x1f4)]>0x0&&this[_0x527636(0x290)](_0x4f275d);}[_0x42caba(0x325)](){this['_online']=!0x1;}};_0x5b726f=_0x25ef79([_0x3ea4db(0x2,_0x99a487[_0x42caba(0x2ac)](_0x99a487['Injector'])),_0x3ea4db(0x3,_0x99a487[_0x42caba(0x2ac)](_0x2dbe1f)),_0x3ea4db(0x4,_0x99a487[_0x42caba(0x2ac)](_0x40f345['MemberService'])),_0x3ea4db(0x5,_0x99a487[_0x42caba(0x2ac)](_0x151704)),_0x3ea4db(0x6,_0x1d0b4f['ITransformService']),_0x3ea4db(0x7,_0x99a487[_0x42caba(0x14f)]),_0x3ea4db(0x8,_0x99a487[_0x42caba(0x277)])],_0x5b726f);var _0x4e7a3a=Object[_0x42caba(0x27d)],_0x39a13d=(_0x30a40d,_0x311ef9,_0x3ef719,_0x1f41c4)=>{const _0x360627=_0x42caba;for(var _0x3f6bce=_0x1f41c4>0x1?void 0x0:_0x1f41c4?_0x4e7a3a(_0x311ef9,_0x3ef719):_0x311ef9,_0x41a7cd=_0x30a40d[_0x360627(0x1f4)]-0x1,_0x24ac26;_0x41a7cd>=0x0;_0x41a7cd--)(_0x24ac26=_0x30a40d[_0x41a7cd])&&(_0x3f6bce=_0x24ac26(_0x3f6bce)||_0x3f6bce);return _0x3f6bce;},_0x323e4f=(_0x202d62,_0x2c9ca6)=>(_0x2c5cc3,_0x5481cc)=>_0x2c9ca6(_0x2c5cc3,_0x5481cc,_0x202d62);const _0x400d6f=0x12c,_0x5254fc=0x64,_0x3a936c=()=>{let _0x5498e2=[],_0x110c93=!0x1;return _0x5bc222=>{const _0x474148=_0x5833;_0x5498e2[_0x474148(0x242)](_0x5bc222),_0x110c93||(_0x110c93=!0x0,setTimeout(()=>{_0x5498e2['forEach'](_0x5c0565=>_0x5c0565()),_0x5498e2=[],_0x110c93=!0x1;}));};};let _0x580a68=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x171eda,_0x168969,_0x5a5473,_0xc0d255,_0x1bd4f4,_0x100e74,_0x257590,_0x3a25f0){const _0x32a0c5=_0x42caba;super(),_0x450946(this,'_online',!0x1),_0x450946(this,_0x32a0c5(0x273),!0x1),_0x450946(this,_0x32a0c5(0x32e),new _0xf18ada[(_0x32a0c5(0x1c2))](new Map())),_0x450946(this,'cursorInfo$',this['_cursorInfo$'][_0x32a0c5(0x154)]()),_0x450946(this,_0x32a0c5(0x39a),new _0xf18ada[(_0x32a0c5(0x1c2))]([])),_0x450946(this,_0x32a0c5(0x1e6),this['_roomMembers$'][_0x32a0c5(0x1cd)](_0xf18ada[_0x32a0c5(0x194)](_0x400d6f))),_0x450946(this,_0x32a0c5(0x290),_0x99a487[_0x32a0c5(0x1aa)]((_0x1734dd,_0x16b309)=>{const _0x20aed2=_0x32a0c5,_0x11cf6b={'eventID':_0x1d0b4f[_0x20aed2(0x2f3)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x20aed2(0x169)][_0x20aed2(0x218)](),'selection':_0x7369e4['serializeRangeWithSheet'](_0x1734dd,_0x16b309[_0x20aed2(0x25b)])}};this[_0x20aed2(0x169)][_0x20aed2(0x1dd)](_0x11cf6b,this['unitID']);},_0x5254fc)),(this[_0x32a0c5(0x392)]=_0x171eda,this[_0x32a0c5(0x169)]=_0x168969,this[_0x32a0c5(0x3b2)]=_0x5a5473,this[_0x32a0c5(0x354)]=_0xc0d255,this[_0x32a0c5(0x2c7)]=_0x1bd4f4,this[_0x32a0c5(0x2c0)]=_0x100e74,this['_commandService']=_0x257590,this[_0x32a0c5(0x211)]=_0x3a25f0);}get[_0x42caba(0x1ae)](){const _0x277a04=_0x42caba;return this[_0x277a04(0x32e)][_0x277a04(0x279)]();}get[_0x42caba(0x1d3)](){const _0x351098=_0x42caba;return this[_0x351098(0x39a)][_0x351098(0x279)]();}[_0x42caba(0x310)](){const _0x16b141=_0x42caba;super[_0x16b141(0x310)](),this[_0x16b141(0x32e)][_0x16b141(0x1ba)](new Map()),this[_0x16b141(0x32e)][_0x16b141(0x2cc)](),this[_0x16b141(0x39a)]['next']([]),this[_0x16b141(0x39a)][_0x16b141(0x2cc)]();}['init'](){const _0x355d3d=_0x42caba;this[_0x355d3d(0x273)]||(this[_0x355d3d(0x273)]=!0x0,this[_0x355d3d(0x169)][_0x355d3d(0x258)][_0x355d3d(0x1cd)](_0xf18ada[_0x355d3d(0x141)](this[_0x355d3d(0x1ef)]))['subscribe'](_0x3849f8=>{const _0x51f8c5=_0x355d3d;_0x3849f8===_0x40f345[_0x51f8c5(0x2c2)][_0x51f8c5(0x3ad)]?this[_0x51f8c5(0x1b9)]():this[_0x51f8c5(0x325)]();}),this[_0x355d3d(0x169)][_0x355d3d(0x166)][_0x355d3d(0x1cd)](_0xf18ada[_0x355d3d(0x141)](this[_0x355d3d(0x1ef)]))[_0x355d3d(0x222)](_0x5983dd=>{const _0xbaa297=_0x355d3d,_0x5ab04e=_0x5983dd[_0xbaa297(0x1f1)];_0x5ab04e===_0x1d0b4f[_0xbaa297(0x2f3)][_0xbaa297(0x207)]&&this[_0xbaa297(0x3ea)](_0x5983dd),_0x5ab04e===_0x1d0b4f['CollaborationEvent'][_0xbaa297(0x28b)]&&this[_0xbaa297(0x17b)](_0x5983dd);}),this[_0x355d3d(0x387)](),this['disposeWithMe'](this[_0x355d3d(0x390)][_0x355d3d(0x29f)](_0x36dfb6=>{const _0x7beed2=_0x355d3d;if(this[_0x7beed2(0x217)]&&_0x36dfb6['id']===_0x1e6c76['SetSelectionsOperation']['id']&&_0x36dfb6[_0x7beed2(0x3a2)][_0x7beed2(0x1c6)]===this['unitID']){const _0x4108ba=_0x36dfb6['params'];this['_updateLocalCursor'](_0x4108ba[_0x7beed2(0x3ee)],_0x4108ba[_0x7beed2(0x388)][0x0]);}})));}[_0x42caba(0x3ea)](_0x27acee){const _0xf4801a=_0x42caba;var _0x55aa73,_0x13c962;const {memberID:_0x51c8eb,selection:_0x3dea5c}=_0x27acee[_0xf4801a(0x343)],{sheetName:_0x2978bf,range:_0x140e38}=_0x7369e4[_0xf4801a(0x39e)](_0x3dea5c),_0x2354ca={'name':(_0x13c962=(_0x55aa73=this[_0xf4801a(0x2c7)][_0xf4801a(0x338)](this['unitID'],_0x51c8eb))==null?void 0x0:_0x55aa73[_0xf4801a(0x3ab)])!=null?_0x13c962:'Unknown\x20user','range':this['_getMergeRange'](_0x2978bf,_0x140e38),'sheetID':_0x2978bf,'color':this[_0xf4801a(0x354)][_0xf4801a(0x2af)](_0x51c8eb),'selection':_0x3dea5c},_0xab5f41=this[_0xf4801a(0x1ae)];_0xab5f41[_0xf4801a(0x2ff)](_0x51c8eb,_0x2354ca),this[_0xf4801a(0x32e)][_0xf4801a(0x1ba)](_0xab5f41);}[_0x42caba(0x17b)](_0x596851){const _0x29dc58=_0x42caba,{memberID:_0xefe6fb}=_0x596851['data'],_0x588eb9=this[_0x29dc58(0x1ae)];_0x588eb9[_0x29dc58(0x192)](_0xefe6fb),this[_0x29dc58(0x32e)][_0x29dc58(0x1ba)](_0x588eb9);}[_0x42caba(0x328)](_0x4a6c86,_0x251e63){const _0x20ddd3=_0x42caba;var _0x2427b0,_0x2b39af;const _0x28ea0d=(_0x2b39af=(_0x2427b0=this[_0x20ddd3(0x2c0)][_0x20ddd3(0x155)](this['unitID']))==null?void 0x0:_0x2427b0[_0x20ddd3(0x287)](_0x4a6c86))==null?void 0x0:_0x2b39af[_0x20ddd3(0x25a)]();return(_0x28ea0d==null?void 0x0:_0x28ea0d[_0x20ddd3(0x380)](_0x5b1bcf=>_0x99a487['Rectangle'][_0x20ddd3(0x308)](_0x5b1bcf,_0x251e63)))||_0x251e63;}[_0x42caba(0x387)](){const _0x5c7d8c=_0x42caba,_0x57be39=new _0x99a487[(_0x5c7d8c(0x322))](),_0xede9e1=_0x3a936c(),_0x4ec1a3=()=>{const _0x1f64d3=_0x5c7d8c;_0x57be39['dispose']();const _0x2320dc=(_0x2e6db4,_0x2aaf25,_0x5e8eb0,_0x359816)=>{const _0x3019d7=_0x5833;let _0x124f0a=[];switch(_0x2e6db4['id']){case _0x1e6c76[_0x3019d7(0x1c4)]['DeleteRangeMoveLeftCommandId']:{_0x124f0a=_0x1e6c76['handleDeleteRangeMoveLeft'](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x125)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x191)](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)]['InsertColCommandId']:{_0x124f0a=_0x1e6c76[_0x3019d7(0x333)](_0x2e6db4,_0x359816);break;}case _0x1e6c76['EffectRefRangId'][_0x3019d7(0x22e)]:{_0x124f0a=_0x1e6c76['handleInsertRangeMoveDown'](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x3b7)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x36b)](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x2d8)]:{_0x124f0a=_0x1e6c76['handleInsertRow'](_0x2e6db4,_0x359816);break;}case _0x1e6c76['EffectRefRangId'][_0x3019d7(0x320)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x22c)](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x22f)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x337)](_0x2e6db4,_0x359816);break;}case _0x1e6c76['EffectRefRangId'][_0x3019d7(0x37a)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x1d7)](_0x2e6db4,_0x359816);break;}}const _0x8f00c3=_0x1e6c76[_0x3019d7(0x123)](_0x124f0a,_0x359816),_0xf21432=this['cursorInfo']['get'](_0x2aaf25);if(_0xf21432&&_0x8f00c3){const _0x26cc2c={..._0xf21432,'range':_0x8f00c3};this[_0x3019d7(0x1ae)]['set'](_0x2aaf25,_0x26cc2c),_0xede9e1(()=>{const _0x50d651=_0x3019d7,_0x3ef985=this[_0x50d651(0x211)][_0x50d651(0x1a8)](_0x8f00c3,_0x5ed527=>(_0x3ef985['dispose'](),_0x2320dc(_0x5ed527,_0x2aaf25,_0x5e8eb0,_0x8f00c3)));_0x57be39[_0x50d651(0x1df)](_0x3ef985);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1f64d3(0x2e5)]((_0x17d53b,_0x46b789)=>{const _0x37c7d1=_0x1f64d3,{range:_0x316b23,sheetID:_0x264c62}=_0x17d53b,_0x73b030=this[_0x37c7d1(0x211)]['registerRefRange'](_0x316b23,_0x3cf7bc=>(_0x73b030[_0x37c7d1(0x310)](),_0x2320dc(_0x3cf7bc,_0x46b789,_0x264c62,_0x316b23)));_0x57be39[_0x37c7d1(0x1df)](_0x73b030);});};this['disposeWithMe'](_0x99a487['toDisposable'](this[_0x5c7d8c(0x32e)][_0x5c7d8c(0x222)](()=>{_0x4ec1a3();})));}['_toggleOnline'](){const _0x5b3f8c=_0x42caba;var _0x3fbc4c,_0x443c4f;if(this[_0x5b3f8c(0x217)]=!0x0,((_0x3fbc4c=this[_0x5b3f8c(0x2c0)]['getFocusedUnit']())==null?void 0x0:_0x3fbc4c[_0x5b3f8c(0x359)]())!==this[_0x5b3f8c(0x392)])return;const _0x2a57e3=(_0x443c4f=this[_0x5b3f8c(0x3b2)][_0x5b3f8c(0x394)](_0x1e6c76['SheetsSelectionsService'])[_0x5b3f8c(0x332)]())==null?void 0x0:_0x443c4f[0x0],_0x374202=this[_0x5b3f8c(0x2c0)]['getCurrentUnitForType'](_0x99a487['UniverInstanceType']['UNIVER_SHEET'])[_0x5b3f8c(0x163)]();_0x2a57e3&&_0x374202&&this[_0x5b3f8c(0x290)](_0x374202['getSheetId'](),_0x2a57e3);}[_0x42caba(0x325)](){const _0x2a1fa4=_0x42caba;this[_0x2a1fa4(0x217)]=!0x1;}};_0x580a68=_0x39a13d([_0x323e4f(0x2,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x323e4f(0x3,_0x99a487[_0x42caba(0x2ac)](_0x2dbe1f)),_0x323e4f(0x4,_0x99a487['Inject'](_0x40f345[_0x42caba(0x32d)])),_0x323e4f(0x5,_0x99a487[_0x42caba(0x14f)]),_0x323e4f(0x6,_0x99a487['ICommandService']),_0x323e4f(0x7,_0x99a487[_0x42caba(0x2ac)](_0x1e6c76[_0x42caba(0x167)]))],_0x580a68);var _0x49f6e2=Object['getOwnPropertyDescriptor'],_0x578a2b=(_0x105cc7,_0x26ebaa,_0x49b48b,_0x529d24)=>{for(var _0x3e1a96=_0x529d24>0x1?void 0x0:_0x529d24?_0x49f6e2(_0x26ebaa,_0x49b48b):_0x26ebaa,_0x3d7762=_0x105cc7['length']-0x1,_0x562ee7;_0x3d7762>=0x0;_0x3d7762--)(_0x562ee7=_0x105cc7[_0x3d7762])&&(_0x3e1a96=_0x562ee7(_0x3e1a96)||_0x3e1a96);return _0x3e1a96;},_0x49a0a4=(_0x433626,_0x5a8efc)=>(_0x230506,_0x3d719d)=>_0x5a8efc(_0x230506,_0x3d719d,_0x433626);let _0x550d1c=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x1d3422,_0x5d6494,_0x21b6f4){const _0x44eb1a=_0x42caba;super(),_0x450946(this,_0x44eb1a(0x38b),new Map()),_0x450946(this,'_entityInit$',new _0xf18ada[(_0x44eb1a(0x3bb))]()),(this[_0x44eb1a(0x2c0)]=_0x1d3422,this[_0x44eb1a(0x3b2)]=_0x5d6494,this[_0x44eb1a(0x3c2)]=_0x21b6f4,this[_0x44eb1a(0x273)]());}[_0x42caba(0x310)](){const _0x53e61e=_0x42caba;super[_0x53e61e(0x310)](),this[_0x53e61e(0x173)]['complete'](),this[_0x53e61e(0x38b)][_0x53e61e(0x2e5)](_0xf63376=>_0xf63376[_0x53e61e(0x310)]());}[_0x42caba(0x199)](_0x46be7b){const _0x8c0847=_0x42caba;return this[_0x8c0847(0x38b)]['has'](_0x46be7b)?this[_0x8c0847(0x38b)][_0x8c0847(0x394)](_0x46be7b)[_0x8c0847(0x236)]:this[_0x8c0847(0x173)][_0x8c0847(0x1cd)](_0xf18ada[_0x8c0847(0x1de)](_0x5f3f68=>_0x5f3f68[_0x8c0847(0x392)]===_0x46be7b),_0xf18ada[_0x8c0847(0x35b)](_0x3add51=>_0x3add51[_0x8c0847(0x236)]));}[_0x42caba(0x273)](){const _0x50f7b2=_0x42caba;this[_0x50f7b2(0x2c0)]['getTypeOfUnitAdded$'](_0x99a487[_0x50f7b2(0x1b8)][_0x50f7b2(0x2f9)])[_0x50f7b2(0x1cd)](_0xf18ada[_0x50f7b2(0x141)](this[_0x50f7b2(0x1ef)]))['subscribe'](async _0x3ee739=>{const _0x374ad1=_0x50f7b2,_0x4d9193=_0x3ee739[_0x374ad1(0x359)](),_0x1d8300=await this[_0x374ad1(0x2a0)](_0x4d9193);this[_0x374ad1(0x173)][_0x374ad1(0x1ba)](_0x1d8300),this[_0x374ad1(0x38b)][_0x374ad1(0x2ff)](_0x4d9193,_0x1d8300);}),this[_0x50f7b2(0x2c0)]['getTypeOfUnitAdded$'](_0x99a487[_0x50f7b2(0x1b8)][_0x50f7b2(0x22a)])[_0x50f7b2(0x1cd)](_0xf18ada['takeUntil'](this[_0x50f7b2(0x1ef)]))[_0x50f7b2(0x1cd)](_0xf18ada[_0x50f7b2(0x1de)](_0x1d190c=>!_0x1d190c['getUnitId']()[_0x50f7b2(0x3c6)]('__')))[_0x50f7b2(0x222)](async _0x28f10f=>{const _0x1debf0=_0x50f7b2,_0x23be95=_0x28f10f['getUnitId'](),_0x34d848=await this['_startDocCollabCursor'](_0x23be95);this[_0x1debf0(0x173)][_0x1debf0(0x1ba)](_0x34d848),this[_0x1debf0(0x38b)][_0x1debf0(0x2ff)](_0x23be95,_0x34d848);}),_0xf18ada[_0x50f7b2(0x28c)](this['_univerInstanceService'][_0x50f7b2(0x1e1)](_0x99a487[_0x50f7b2(0x1b8)][_0x50f7b2(0x22a)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x99a487['UniverInstanceType']['UNIVER_SHEET']))[_0x50f7b2(0x1cd)](_0xf18ada['takeUntil'](this[_0x50f7b2(0x1ef)]))[_0x50f7b2(0x222)](_0x11181c=>{const _0x3482ec=_0x50f7b2,_0x24ff97=_0x11181c['getUnitId'](),_0x29dd67=this[_0x3482ec(0x38b)][_0x3482ec(0x394)](_0x24ff97);_0x29dd67&&(_0x29dd67[_0x3482ec(0x310)](),this[_0x3482ec(0x38b)][_0x3482ec(0x192)](_0x24ff97));});}async['_startSheetCollabCursor'](_0xeec388){const _0x34c424=_0x42caba,_0x4b1b9f=await this['_collabSessionService'][_0x34c424(0x334)](_0xeec388),_0x5e7a1d=this[_0x34c424(0x3b2)][_0x34c424(0x280)](_0x580a68,_0xeec388,_0x4b1b9f);return _0x5e7a1d[_0x34c424(0x1ce)](),_0x5e7a1d;}async[_0x42caba(0x30a)](_0x813731){const _0x102f46=_0x42caba,_0x2fba28=await this[_0x102f46(0x3c2)]['requireSession'](_0x813731),_0x3521d1=this[_0x102f46(0x3b2)]['createInstance'](_0x5b726f,_0x813731,_0x2fba28);return _0x3521d1[_0x102f46(0x1ce)](),_0x3521d1;}};_0x550d1c=_0x578a2b([_0x49a0a4(0x0,_0x99a487[_0x42caba(0x14f)]),_0x49a0a4(0x1,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x49a0a4(0x2,_0x99a487[_0x42caba(0x2ac)](_0x40f345[_0x42caba(0x3b1)]))],_0x550d1c);const _0x2206e4=0x14,_0x53bf10=0xc8,_0x32c7e3=0x4,_0x14f19e=0x5;function _0x2a5b61(_0x4a2f63,_0x2184cc){const _0x68847c=_0x42caba;let {radius:_0x17dccf,width:_0x4cbff2,height:_0x3f1fa0}=_0x2184cc;_0x17dccf=_0x17dccf!=null?_0x17dccf:0x0,_0x4cbff2=_0x4cbff2!=null?_0x4cbff2:0x1e,_0x3f1fa0=_0x3f1fa0!=null?_0x3f1fa0:0x1e;let _0x37fe97=0x0,_0x4619c1=0x0,_0x16f5c9=0x0;_0x37fe97=_0x4619c1=_0x16f5c9=Math['min'](_0x17dccf,_0x4cbff2/0x2,_0x3f1fa0/0x2),_0x4a2f63['beginPath'](),_0x4a2f63[_0x68847c(0x16b)](_0x37fe97,0x0),_0x4a2f63['lineTo'](_0x4cbff2-_0x4619c1,0x0),_0x4a2f63[_0x68847c(0x2f1)](_0x4cbff2-_0x4619c1,_0x4619c1,_0x4619c1,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a2f63[_0x68847c(0x1e0)](_0x4cbff2,_0x3f1fa0-_0x16f5c9),_0x4a2f63[_0x68847c(0x2f1)](_0x4cbff2-_0x16f5c9,_0x3f1fa0-_0x16f5c9,_0x16f5c9,0x0,Math['PI']/0x2,!0x1),_0x4a2f63[_0x68847c(0x1e0)](0x0,_0x3f1fa0),_0x4a2f63[_0x68847c(0x1e0)](0x0,_0x37fe97),_0x4a2f63[_0x68847c(0x2f1)](_0x37fe97,_0x37fe97,_0x37fe97,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a2f63[_0x68847c(0x134)](),_0x2184cc['fill']&&(_0x4a2f63[_0x68847c(0x183)](),_0x4a2f63[_0x68847c(0x160)]=_0x2184cc[_0x68847c(0x1bb)],_0x2184cc[_0x68847c(0x257)]===_0x68847c(0x38c)?_0x4a2f63[_0x68847c(0x1bb)](_0x68847c(0x38c)):_0x4a2f63['fill'](),_0x4a2f63['restore']());}class _0x27d9e3 extends _0x4b6de8[_0x42caba(0x1ca)]{constructor(_0x3a046f,_0x2731cd){const _0x579db7=_0x42caba;super(_0x3a046f,_0x2731cd),_0x450946(this,_0x579db7(0x172)),_0x450946(this,_0x579db7(0x36e)),(this['color']=_0x2731cd==null?void 0x0:_0x2731cd[_0x579db7(0x172)],this[_0x579db7(0x36e)]=_0x2731cd==null?void 0x0:_0x2731cd[_0x579db7(0x36e)]);}static[_0x42caba(0x1f3)](_0x5875b5,_0x36b392){const _0x54446b=_0x42caba,{text:_0x40a876,color:_0x4d177b}=_0x36b392;_0x5875b5[_0x54446b(0x183)](),_0x5875b5['font']=_0x54446b(0x38a);const _0x387a5d=_0x5875b5[_0x54446b(0x3a4)](_0x40a876)['width'],_0x5c3670=Math[_0x54446b(0x369)](_0x387a5d+0x2*_0x32c7e3,_0x53bf10);_0x2a5b61(_0x5875b5,{'height':_0x2206e4,'radius':0x4,'width':_0x5c3670,'fill':_0x4d177b}),_0x5875b5[_0x54446b(0x160)]=_0x54446b(0x1d8);const _0x191f71=_0x32c7e3,_0x52b58d=_0x2206e4-_0x14f19e,_0xad536e=_0x53bf10-0x2*_0x32c7e3;if(_0x387a5d>_0xad536e){let _0x4183e6='',_0x364893=0x0;for(const _0x22403f of _0x40a876){const _0x236c37=_0x5875b5[_0x54446b(0x3a4)](_0x22403f)[_0x54446b(0x214)];if(_0x364893+_0x236c37<=_0xad536e-_0x5875b5[_0x54446b(0x3a4)](_0x54446b(0x23c))['width'])_0x4183e6+=_0x22403f,_0x364893+=_0x236c37;else{_0x4183e6+=_0x54446b(0x23c);break;}}_0x5875b5[_0x54446b(0x1cc)](_0x4183e6,_0x191f71,_0x52b58d);}else _0x5875b5[_0x54446b(0x1cc)](_0x40a876,_0x191f71,_0x52b58d);_0x5875b5[_0x54446b(0x255)]();}[_0x42caba(0x12f)](_0x2c3972){const _0x26fa4d=_0x42caba;_0x27d9e3[_0x26fa4d(0x1f3)](_0x2c3972,this);}}const _0x5490d6=_0x42caba(0x24c),_0x4ab9de='collab-text-range-',_0xe34627=_0x42caba(0x3c1),_0x260daa=0x6,_0x5211e4=1.5,_0x1403b6=0x4,_0x4b4d7e=1.5,_0x15ecc8=_0x42caba(0x351);class _0x503cb4{constructor(_0x4af0b8,_0x451dd8,_0x195e00,_0x2d16c4){const _0xdd6212=_0x42caba;_0x450946(this,_0xdd6212(0x3d6),[]),_0x450946(this,_0xdd6212(0x245),null),_0x450946(this,_0xdd6212(0x162),null),_0x450946(this,_0xdd6212(0x38e),null),_0x450946(this,_0xdd6212(0x1f9),null),_0x450946(this,'_eventUnsubscribe',null),(this['_cursor']=_0x4af0b8,this[_0xdd6212(0x31e)]=_0x451dd8,this[_0xdd6212(0x12a)]=_0x195e00,this[_0xdd6212(0x175)]=_0x2d16c4,this[_0xdd6212(0x33b)]());}set['_hover'](_0x253a1c){const _0x3399ce=_0x42caba;_0x253a1c?(this[_0x3399ce(0x38e)]&&this['_anchorDot'][_0x3399ce(0x17d)](),this[_0x3399ce(0x162)]&&this[_0x3399ce(0x162)][_0x3399ce(0x176)]()):(this[_0x3399ce(0x38e)]&&this[_0x3399ce(0x38e)][_0x3399ce(0x176)](),this[_0x3399ce(0x162)]&&this[_0x3399ce(0x162)][_0x3399ce(0x17d)]());}[_0x42caba(0x310)](){const _0x155d10=_0x42caba;for(const _0x4353e4 of this[_0x155d10(0x3d6)])_0x4353e4[_0x155d10(0x310)]();this[_0x155d10(0x162)]&&this['_textBubble'][_0x155d10(0x310)](),this[_0x155d10(0x38e)]&&this[_0x155d10(0x38e)][_0x155d10(0x310)](),this[_0x155d10(0x245)]&&this['_anchor'][_0x155d10(0x310)](),this['_eventUnsubscribe']&&this[_0x155d10(0x360)]();}[_0x42caba(0x33b)](){const _0x34fcc1=_0x42caba;var _0x3da5aa;const {_docSkeleton:_0x944dd6,_document:_0x4d2dff}=this,{color:_0x231ed5,name:_0x3bb836,ranges:_0xcfc929}=this[_0x34fcc1(0x3bf)],_0x26e638=_0x4d2dff['getOffsetConfig'](),{docsLeft:_0x133ba6,docsTop:_0x241dee}=_0x26e638,_0x254a01=new _0x2afbb3['NodePositionConvertToCursor'](_0x26e638,_0x944dd6);for(const {startOffset:_0x463829,endOffset:_0x36cb1e,rangeType:_0x4eac4f,segmentId:_0x4dd186,segmentPage:_0x421423,collapsed:_0x2720ec,isActive:_0x27014b}of _0xcfc929){const _0x41e4e1=_0x944dd6['findNodePositionByCharIndex'](_0x463829,!0x0,_0x4dd186,_0x421423);let _0x3e75fc=_0x944dd6['findNodePositionByCharIndex'](_0x36cb1e,!0x0,_0x4dd186,_0x421423);if(_0x3e75fc==null&&(_0x3e75fc=_0x944dd6[_0x34fcc1(0x2eb)](_0x36cb1e-0x1,!0x1,_0x4dd186,_0x421423)),_0x27014b){const {contentBoxPointGroup:_0x12e67c}=_0x254a01['getRangePointData'](_0x3e75fc,_0x3e75fc);if(_0x12e67c[_0x34fcc1(0x1f4)]===0x0)continue;this[_0x34fcc1(0x3ec)](_0x231ed5,_0x12e67c,_0x133ba6,_0x241dee,_0x3bb836),this[_0x34fcc1(0x360)]=this['_handleHover']();}if(_0x41e4e1&&_0x3e75fc){if(_0x4eac4f===_0x99a487[_0x34fcc1(0x21b)][_0x34fcc1(0x3cc)]){const _0x11248d=new _0x2afbb3[(_0x34fcc1(0x1c7))](_0x26e638,_0x944dd6),{pointGroup:_0x5e8c5e}=(_0x3da5aa=_0x11248d['getRangePointData'](_0x41e4e1,_0x3e75fc))!=null?_0x3da5aa:{};if(_0x5e8c5e==null||_0x5e8c5e[_0x34fcc1(0x1f4)]===0x0)continue;this[_0x34fcc1(0x370)](_0x231ed5,_0x5e8c5e,_0x133ba6,_0x241dee);}else{if(!_0x2720ec){const {borderBoxPointGroup:_0x4c85c8}=_0x254a01['getRangePointData'](_0x41e4e1,_0x3e75fc);if(_0x4c85c8[_0x34fcc1(0x1f4)]===0x0)continue;this['_drawTextRange'](_0x231ed5,_0x4c85c8,_0x133ba6,_0x241dee);}}}}}['_drawAnchor'](_0x4755f3,_0x394d14,_0xb2f09a,_0x57340e,_0x49f96a){const _0x1b8cc4=_0x42caba,_0x890e06=this[_0x1b8cc4(0x346)](_0x394d14),{left:_0xefd138,top:_0x1e524f,height:_0x21e729}=_0x890e06,_0x1fb4a4=this[_0x1b8cc4(0x1b7)](),_0x33400d=_0x4b4d7e/_0x1fb4a4,_0x456f87=new _0x4b6de8[(_0x1b8cc4(0x220))](_0x5490d6+_0x99a487[_0x1b8cc4(0x10b)](_0x260daa),{'left':_0xefd138+_0xb2f09a-_0x33400d,'top':_0x1e524f+_0x57340e,'height':_0x21e729,'width':_0x5211e4,'fill':_0x4755f3||_0x4b6de8[_0x1b8cc4(0x3b0)](_0x99a487['COLORS']['black'],0x0),'strokeWidth':_0x33400d,'stroke':_0x15ecc8,'evented':!0x0});this['_anchor']=_0x456f87,this[_0x1b8cc4(0x31e)][_0x1b8cc4(0x3e1)](_0x456f87,_0x2afbb3[_0x1b8cc4(0x1c1)]);const _0x3b96fe=new _0x4b6de8['Rect'](_0x5490d6+_0x99a487[_0x1b8cc4(0x10b)](_0x260daa),{'left':_0xefd138+_0xb2f09a-_0x33400d,'top':_0x1e524f+_0x57340e-_0x1403b6/0x2,'height':_0x1403b6,'width':_0x1403b6,'fill':_0x4755f3||_0x4b6de8['getColor'](_0x99a487[_0x1b8cc4(0x1b5)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4755f3||_0x4b6de8[_0x1b8cc4(0x3b0)](_0x99a487[_0x1b8cc4(0x1b5)][_0x1b8cc4(0x384)],0x0),'evented':!0x1});this[_0x1b8cc4(0x38e)]=_0x3b96fe,this[_0x1b8cc4(0x31e)][_0x1b8cc4(0x3e1)](_0x3b96fe,_0x2afbb3[_0x1b8cc4(0x1c1)]);const _0x3bdc4d=new _0x27d9e3(_0x5490d6+_0x99a487[_0x1b8cc4(0x10b)](_0x260daa),{'left':_0xefd138+_0xb2f09a-_0x33400d,'top':_0x1e524f+_0x57340e-_0x2206e4,'text':_0x49f96a,'color':_0x4755f3});this['_textBubble']=_0x3bdc4d,this[_0x1b8cc4(0x31e)][_0x1b8cc4(0x3e1)](_0x3bdc4d,_0x2afbb3['TEXT_RANGE_LAYER_INDEX']),this[_0x1b8cc4(0x1d4)]=!0x1;}[_0x42caba(0x398)](){const _0x4f11d0=_0x42caba,_0x561ba0=this['_anchor'][_0x4f11d0(0x15b)][_0x4f11d0(0x1d6)](()=>{const _0x5ee797=_0x4f11d0;this[_0x5ee797(0x1d4)]=!0x0;}),_0x1f36a9=this[_0x4f11d0(0x245)][_0x4f11d0(0x3a5)]['subscribeEvent'](()=>{const _0x12ba49=_0x4f11d0;this['_hideTimer']&&clearTimeout(this[_0x12ba49(0x1f9)]),this['_hideTimer']=setTimeout(()=>{const _0x57a8d1=_0x12ba49;this[_0x57a8d1(0x1d4)]=!0x1;},0x7d0);});return()=>{_0x561ba0['unsubscribe'](),_0x1f36a9['unsubscribe']();};}[_0x42caba(0x17c)](_0x2bcb57,_0x2f096d,_0x2dd89b,_0x36978a){const _0x4b07e6=_0x42caba,_0x10286a=new _0x99a487[(_0x4b07e6(0x27a))](_0x2bcb57)[_0x4b07e6(0x1ad)](0.2)['toRgbString'](),_0x44d4ff=new _0x4b6de8['RegularPolygon'](_0x4ab9de+_0x99a487[_0x4b07e6(0x10b)](_0x260daa),{'pointsGroup':_0x2f096d,'fill':_0x10286a||_0x4b6de8[_0x4b07e6(0x3b0)](_0x99a487[_0x4b07e6(0x1b5)]['black'],0.2),'left':_0x2dd89b,'top':_0x36978a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b07e6(0x3d6)][_0x4b07e6(0x242)](_0x44d4ff),this[_0x4b07e6(0x31e)]['addObject'](_0x44d4ff,_0x2afbb3['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2a1c43,_0x25964d,_0x2391e2,_0x1d9ad0){const _0x157967=_0x42caba,_0x4a14bb=new _0x99a487['ColorKit'](_0x2a1c43)[_0x157967(0x1ad)](0.2)[_0x157967(0x3d0)](),_0x13e832=new _0x4b6de8[(_0x157967(0x1a2))](_0xe34627+_0x99a487['generateRandomId'](_0x260daa),{'pointsGroup':_0x25964d,'fill':_0x4a14bb||_0x4b6de8['getColor'](_0x99a487['COLORS'][_0x157967(0x384)],0.2),'left':_0x2391e2,'top':_0x1d9ad0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x157967(0x3d6)][_0x157967(0x242)](_0x13e832),this['_scene'][_0x157967(0x3e1)](_0x13e832,_0x2afbb3[_0x157967(0x1c1)]);}[_0x42caba(0x346)](_0x1c919e){const _0xcd705f=_0x1c919e[0x0],_0x529ea4=_0xcd705f[0x0],_0x2212cd=_0xcd705f[0x2],{x:_0x1c36cb,y:_0x1b6a72}=_0x529ea4,{x:_0x1933cc,y:_0x372c14}=_0x2212cd;return{'left':_0x1c36cb,'top':_0x1b6a72,'width':_0x1933cc-_0x1c36cb,'height':_0x372c14-_0x1b6a72};}[_0x42caba(0x1b7)](){const _0x4be436=_0x42caba,{scaleX:_0x4e910c,scaleY:_0x1e3464}=this[_0x4be436(0x31e)][_0x4be436(0x3dd)]();return Math[_0x4be436(0x1a4)](_0x4e910c,_0x1e3464);}}var _0x55d01a=Object[_0x42caba(0x27d)],_0x5aca4e=(_0x1d95e7,_0x3b51ca,_0xb95d36,_0x499b58)=>{const _0x35df30=_0x42caba;for(var _0x1b1d80=_0x499b58>0x1?void 0x0:_0x499b58?_0x55d01a(_0x3b51ca,_0xb95d36):_0x3b51ca,_0x381f80=_0x1d95e7[_0x35df30(0x1f4)]-0x1,_0x5ea9d0;_0x381f80>=0x0;_0x381f80--)(_0x5ea9d0=_0x1d95e7[_0x381f80])&&(_0x1b1d80=_0x5ea9d0(_0x1b1d80)||_0x1b1d80);return _0x1b1d80;},_0x499290=(_0x57e731,_0x3085a3)=>(_0xdbf95e,_0x495f6b)=>_0x3085a3(_0xdbf95e,_0x495f6b,_0x57e731);let _0x459cb5=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x5a1dd2,_0x513e66,_0xa04a11,_0x3d8a4e,_0x39c39d){const _0x545173=_0x42caba;super(),_0x450946(this,_0x545173(0x237),[]),_0x450946(this,_0x545173(0x32f),[]),(this['_context']=_0x5a1dd2,this[_0x545173(0x1c8)]=_0x513e66,this[_0x545173(0x341)]=_0xa04a11,this[_0x545173(0x390)]=_0x3d8a4e,this[_0x545173(0x202)]=_0x39c39d,this['_init']());}['_init'](){const _0x1b6cc9=_0x42caba,_0x17079a=this['_context'][_0x1b6cc9(0x1c6)],_0x103efc=this[_0x1b6cc9(0x1c8)];this[_0x1b6cc9(0x170)](_0xf18ada[_0x1b6cc9(0x3b5)]([this[_0x1b6cc9(0x341)][_0x1b6cc9(0x199)](_0x17079a),this['_themeService'][_0x1b6cc9(0x30c)]])['pipe'](_0x4f8855[_0x1b6cc9(0x139)](([_0x2a057d,_0x338a94])=>({'skeleton':_0x103efc[_0x1b6cc9(0x389)](),'cursors':[..._0x2a057d[_0x1b6cc9(0x212)]()][_0x1b6cc9(0x2b4)](_0x181ff3=>({..._0x181ff3,'color':this[_0x1b6cc9(0x202)][_0x1b6cc9(0x37e)](_0x181ff3[_0x1b6cc9(0x172)])}))})))[_0x1b6cc9(0x222)](_0x293328=>{const _0x2aa33c=_0x1b6cc9;if(this[_0x2aa33c(0x109)](),_0x293328){const {skeleton:_0x9303e,cursors:_0x4c002d}=_0x293328;this['_updateCollabCursors'](_0x9303e,_0x4c002d);}})),this[_0x1b6cc9(0x3b8)](),this['_initCommandExecutedListener']();}[_0x42caba(0x1b6)](_0x191c28,_0x5ab3f3){const _0xae3548=_0x42caba,{scene:_0xcf59df,mainComponent:_0x26613e}=this[_0xae3548(0x368)],_0x1668a6=_0x5ab3f3['map'](_0x30723d=>new _0x503cb4(_0x30723d,_0xcf59df,_0x191c28,_0x26613e));this['_cursorShapes']=_0x1668a6,this[_0xae3548(0x32f)]=_0x5ab3f3;}[_0x42caba(0x16e)](){const _0x257982=_0x42caba;this['_removeCollabCursors']();const {scene:_0x3138ad,mainComponent:_0xa52903}=this[_0x257982(0x368)],_0x279f84=this[_0x257982(0x1c8)][_0x257982(0x389)](),_0x4bd265=this['_cursors'][_0x257982(0x139)](_0x5655c3=>new _0x503cb4(_0x5655c3,_0x3138ad,_0x279f84,_0xa52903));this['_cursorShapes']=_0x4bd265;}[_0x42caba(0x109)](){const _0x47ccfc=_0x42caba;this[_0x47ccfc(0x237)][_0x47ccfc(0x2e5)](_0x2c2321=>_0x2c2321[_0x47ccfc(0x310)]()),this['_cursorShapes']=[];}[_0x42caba(0x2ee)](){const _0x29b299=_0x42caba,_0x136a05=[_0x2afbb3['SetDocZoomRatioOperation']['id']];this[_0x29b299(0x170)](this[_0x29b299(0x390)]['onCommandExecuted'](_0x366aef=>{const _0x2f916e=_0x29b299;_0x136a05[_0x2f916e(0x2f0)](_0x366aef['id'])&&_0x366aef['params'][_0x2f916e(0x1c6)]===this[_0x2f916e(0x368)]['unitId']&&this[_0x2f916e(0x16e)]();}));}[_0x42caba(0x3b8)](){const _0x3bec35=_0x42caba;this[_0x3bec35(0x170)](_0x99a487['fromEventSubject'](this[_0x3bec35(0x368)][_0x3bec35(0x399)][_0x3bec35(0x25d)])[_0x3bec35(0x1cd)](_0x4f8855['filter'](_0x49b6d8=>_0x49b6d8[_0x3bec35(0x2d7)]===_0x4b6de8['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3bec35(0x189)]),_0x4f8855[_0x3bec35(0x30d)](0x10))[_0x3bec35(0x222)](()=>{this['_refreshCollabCursors']();}));}};_0x459cb5=_0x5aca4e([_0x499290(0x1,_0x99a487[_0x42caba(0x2ac)](_0x2d04b0[_0x42caba(0x2c4)])),_0x499290(0x2,_0x99a487['Inject'](_0x550d1c)),_0x499290(0x3,_0x99a487[_0x42caba(0x277)]),_0x499290(0x4,_0x99a487[_0x42caba(0x2ac)](_0x99a487['ThemeService']))],_0x459cb5);const _0x52aac3=0x1,_0x3f8611=1.5;class _0x232e7e extends _0x4b6de8[_0x42caba(0x1ca)]{constructor(_0x3f1a1f,_0xb01a1f){const _0x2aea8c=_0x42caba;super(_0x3f1a1f,_0xb01a1f),_0x450946(this,_0x2aea8c(0x2b1)),_0x450946(this,'_hovered',!0x1),_0x450946(this,_0x2aea8c(0x3c3)),_0x450946(this,_0x2aea8c(0x14e),''),_0x450946(this,_0x2aea8c(0x112),_0x2aea8c(0x221)),_0x450946(this,_0x2aea8c(0x296)),(_0xb01a1f&&this['setShapeProps'](_0xb01a1f),this[_0x2aea8c(0x15b)][_0x2aea8c(0x1d6)](()=>this[_0x2aea8c(0x318)]({'hovered':!0x0})),this[_0x2aea8c(0x3a5)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3d8a83){const _0x9918da=_0x42caba;var _0x239f9b,_0x138df3,_0x5cd3bc,_0x3d4dbb,_0x2b92cb,_0x558300;this['_color']=(_0x239f9b=_0x3d8a83[_0x9918da(0x172)])!=null?_0x239f9b:this[_0x9918da(0x2b1)],this[_0x9918da(0x378)]=(_0x138df3=_0x3d8a83[_0x9918da(0x3af)])!=null?_0x138df3:this[_0x9918da(0x378)],this['_range']=(_0x5cd3bc=_0x3d8a83[_0x9918da(0x25b)])!=null?_0x5cd3bc:this[_0x9918da(0x3c3)],this[_0x9918da(0x14e)]=(_0x3d4dbb=_0x3d8a83[_0x9918da(0x3ab)])!=null?_0x3d4dbb:this[_0x9918da(0x14e)],this[_0x9918da(0x112)]=(_0x2b92cb=_0x3d8a83[_0x9918da(0x2c5)])!=null?_0x2b92cb:this[_0x9918da(0x112)],this['_backgroundColor']=(_0x558300=_0x3d8a83[_0x9918da(0x33c)])!=null?_0x558300:this['_backgroundColor'],this[_0x9918da(0x299)]({'width':_0x3d8a83[_0x9918da(0x214)],'height':_0x3d8a83[_0x9918da(0x319)]});}['onMouseMove'](_0x87c2a3){const _0x570221=_0x42caba,{row:_0x2e2f60,column:_0x3a8037}=_0x87c2a3;if(_0x2e2f60>=this[_0x570221(0x3c3)][_0x570221(0x20e)]&&_0x2e2f60<=this[_0x570221(0x3c3)]['endRow']&&_0x3a8037>=this[_0x570221(0x3c3)][_0x570221(0x39d)]&&_0x3a8037<=this[_0x570221(0x3c3)]['endColumn']){this[_0x570221(0x318)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x42caba(0x3a0)](_0x12aac1){return!0x1;}['_draw'](_0x458b30){const _0x29bd4e=_0x42caba;_0x4b6de8[_0x29bd4e(0x220)][_0x29bd4e(0x1f3)](_0x458b30,{'width':this[_0x29bd4e(0x214)],'height':this[_0x29bd4e(0x319)],'strokeWidth':_0x3f8611,'stroke':this[_0x29bd4e(0x2b1)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x458b30['save'](),_0x458b30['transform'](0x1,0x0,0x0,0x1,this[_0x29bd4e(0x214)],this[_0x29bd4e(0x112)]===_0x29bd4e(0x1da)?0x0:-_0x2206e4),_0x27d9e3[_0x29bd4e(0x1f3)](_0x458b30,{'text':this[_0x29bd4e(0x14e)],'color':this[_0x29bd4e(0x2b1)]}),_0x458b30[_0x29bd4e(0x255)]());}}var _0x463e44=Object[_0x42caba(0x27d)],_0x262cfd=(_0x18d593,_0x1467f9,_0x266b5b,_0x1917c5)=>{const _0x18ba10=_0x42caba;for(var _0x9aceaa=_0x1917c5>0x1?void 0x0:_0x1917c5?_0x463e44(_0x1467f9,_0x266b5b):_0x1467f9,_0x29d9dc=_0x18d593[_0x18ba10(0x1f4)]-0x1,_0x23e8c9;_0x29d9dc>=0x0;_0x29d9dc--)(_0x23e8c9=_0x18d593[_0x29d9dc])&&(_0x9aceaa=_0x23e8c9(_0x9aceaa)||_0x9aceaa);return _0x9aceaa;},_0x83315=(_0x1578d8,_0x4906f5)=>(_0x34c91a,_0x843c33)=>_0x4906f5(_0x34c91a,_0x843c33,_0x1578d8);const _0x4c2212=0x1389;let _0x4db1a0=class extends _0x99a487['RxDisposable']{constructor(_0x42d25e,_0x4145cf,_0x4bc792,_0x1f612e){const _0x51be4d=_0x42caba;super(),_0x450946(this,_0x51be4d(0x32f),new Set()),_0x450946(this,_0x51be4d(0x196),null),(this[_0x51be4d(0x368)]=_0x42d25e,this[_0x51be4d(0x19a)]=_0x4145cf,this[_0x51be4d(0x341)]=_0x4bc792,this[_0x51be4d(0x202)]=_0x1f612e,this['_init']());}[_0x42caba(0x273)](){const _0x18b139=_0x42caba;this[_0x18b139(0x19a)][_0x18b139(0x182)][_0x18b139(0x1cd)](_0x4f8855[_0x18b139(0x141)](this[_0x18b139(0x1ef)]),_0x4f8855[_0x18b139(0x35b)](_0x1238f2=>{const _0x47a760=_0x18b139;if(_0x1238f2){const _0x2d50c6=_0x1238f2['sheetId'];return _0xf18ada[_0x47a760(0x3b5)](this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x47a760(0x1c6)]),this[_0x47a760(0x202)][_0x47a760(0x30c)])[_0x47a760(0x1cd)](_0x4f8855[_0x47a760(0x139)](([_0x3bbbd1,_0x545054])=>{const _0x55f5c8=_0x47a760,_0x5b0870=new Map();return _0x3bbbd1[_0x55f5c8(0x2e5)]((_0x23ead0,_0x40eacf)=>{const _0x22a069=_0x55f5c8;if(_0x23ead0[_0x22a069(0x10f)]===_0x2d50c6){const _0x426e0b={..._0x23ead0};_0x426e0b[_0x22a069(0x172)]=this[_0x22a069(0x202)][_0x22a069(0x37e)](_0x23ead0['color']),_0x5b0870['set'](_0x40eacf,_0x426e0b);}}),{'skeleton':_0x1238f2,'cursors':_0x5b0870};}));}return _0xf18ada['of']({'skeleton':null,'cursors':new Map()});}))[_0x18b139(0x222)](({skeleton:_0x801a3a,cursors:_0x28f338})=>{this['_removeCollabCursors'](),_0x801a3a&&this['_updateCollabCursors'](_0x801a3a,_0x28f338);}),this[_0x18b139(0x19a)][_0x18b139(0x182)]['subscribe'](_0x5afeaa=>{const _0x342507=_0x18b139;if(_0x5afeaa==null)return;const {skeleton:_0x335677}=_0x5afeaa,{scene:_0x419c16}=this[_0x342507(0x368)];_0x419c16[_0x342507(0x223)][_0x342507(0x1d6)](_0x99a487[_0x342507(0x1aa)](_0x30b577=>{const _0x3e847b=_0x342507;var _0x287db5,_0x3a8928;const {offsetX:_0xf51349,offsetY:_0x2370bd}=_0x30b577,{x:_0xa0cd7f,y:_0x1c0daf}=_0x419c16[_0x3e847b(0x140)](_0x4b6de8[_0x3e847b(0x31a)][_0x3e847b(0x270)]([_0xf51349,_0x2370bd])),{scaleX:_0x323d71,scaleY:_0x1470b5}=_0x419c16[_0x3e847b(0x3dd)](),_0x39e14f=_0x419c16[_0x3e847b(0x329)](_0x4b6de8[_0x3e847b(0x276)][_0x3e847b(0x2d9)]),_0x56e156=_0x419c16[_0x3e847b(0x305)](_0x4b6de8[_0x3e847b(0x31a)][_0x3e847b(0x270)]([_0xa0cd7f,_0x1c0daf]),_0x39e14f),_0x28fcbb=_0x335677[_0x3e847b(0x12e)](_0xf51349,_0x2370bd,_0x323d71,_0x1470b5,_0x56e156);((_0x287db5=this[_0x3e847b(0x196)])==null?void 0x0:_0x287db5[_0x3e847b(0x10a)])===_0x28fcbb[_0x3e847b(0x10a)]&&((_0x3a8928=this[_0x3e847b(0x196)])==null?void 0x0:_0x3a8928['row'])===_0x28fcbb[_0x3e847b(0x126)]||this['_cursors'][_0x3e847b(0x2e5)](_0x2c7a4d=>{const _0x55e596=_0x3e847b;_0x2c7a4d[_0x55e596(0x344)](_0x28fcbb);});},0x64));});}[_0x42caba(0x1b6)](_0x2f7bd7,_0x366fad){const _0x1ba229=_0x42caba;var _0x5ad0e3;const _0x21b0ed=(_0x5ad0e3=this[_0x1ba229(0x19a)][_0x1ba229(0x3a7)]())==null?void 0x0:_0x5ad0e3[_0x1ba229(0x1bc)];if(!_0x21b0ed)return;const _0x3a910a=this[_0x1ba229(0x345)]();if(!_0x3a910a)return;this['_cursors'][_0x1ba229(0x2e5)](_0x47c988=>{_0x47c988['makeDirty']();});const {scene:_0x218ef9}=_0x3a910a,_0x3f7385=_0x85a335(Array[_0x1ba229(0x283)](_0x366fad[_0x1ba229(0x212)]()))[_0x1ba229(0x139)](_0x2fc6ff=>{const _0x17b379=_0x1ba229,{color:_0x3b8857,range:_0x57ba58,name:_0x1b28ae,selection:_0x14c52f,sheetID:_0x165c44}=_0x2fc6ff,{startColumn:_0x58269d,startRow:_0x2a512a,endColumn:_0x4e4a2f,endRow:_0x444c3e}=_0x57ba58,_0x581e9f=_0x31a5a7[_0x17b379(0x282)](_0x2a512a,_0x58269d,_0x218ef9,_0x21b0ed),_0x36e7f5=_0x31a5a7[_0x17b379(0x282)](_0x444c3e,_0x4e4a2f,_0x218ef9,_0x21b0ed),{columnHeaderHeightAndMarginTop:_0x100674}=_0x21b0ed,{startX:_0x1b5b06,startY:_0x2744a}=_0x581e9f,{endX:_0x5b7701,endY:_0x3cb69f}=_0x36e7f5,_0x38ca5b=_0x5b7701-_0x1b5b06,_0x452386=_0x3cb69f-_0x2744a,_0x249adc={'labelPosition':_0x2744a-_0x100674>=_0x2206e4?_0x17b379(0x221):'bottom','sheetID':_0x165c44,'range':_0x57ba58,'color':_0x3b8857,'name':_0x1b28ae,'selection':_0x14c52f,'left':_0x1b5b06,'top':_0x2744a,'width':_0x38ca5b,'height':_0x452386,'evented':!0x1,'zIndex':_0x4c2212};return new _0x232e7e(_0x1b28ae,_0x249adc);});_0x218ef9[_0x1ba229(0x138)](_0x3f7385,_0x52aac3),this[_0x1ba229(0x32f)]=new Set(_0x3f7385);}[_0x42caba(0x109)](){const _0x2c0b8d=_0x42caba;var _0x57136e;(_0x57136e=this[_0x2c0b8d(0x32f)])==null||_0x57136e[_0x2c0b8d(0x2e5)](_0x164360=>_0x164360[_0x2c0b8d(0x310)]());}[_0x42caba(0x345)](){const _0x357982=_0x42caba;return _0x31a5a7[_0x357982(0x26d)](this['_context'][_0x357982(0x393)],this[_0x357982(0x368)]);}};_0x4db1a0=_0x262cfd([_0x83315(0x1,_0x99a487[_0x42caba(0x2ac)](_0x31a5a7['SheetSkeletonManagerService'])),_0x83315(0x2,_0x99a487[_0x42caba(0x2ac)](_0x550d1c)),_0x83315(0x3,_0x99a487['Inject'](_0x99a487[_0x42caba(0x347)]))],_0x4db1a0);function _0x85a335(_0x25f48d){const _0x3b2a7b=_0x42caba,_0x5f4950=new Map();return _0x25f48d[_0x3b2a7b(0x2e5)](_0x224f9f=>{const _0x5279de=_0x3b2a7b;if(_0x5f4950[_0x5279de(0x185)](_0x224f9f[_0x5279de(0x27f)])){const _0x16e628=_0x5f4950[_0x5279de(0x394)](_0x224f9f['selection']);_0x16e628[_0x5279de(0x3ab)]+=',\x20'+_0x224f9f[_0x5279de(0x3ab)];}else _0x5f4950[_0x5279de(0x2ff)](_0x224f9f['selection'],_0x224f9f);}),Array[_0x3b2a7b(0x283)](_0x5f4950['values']());}var _0x1d1e8c=Object[_0x42caba(0x27d)],_0x54cbb9=(_0x435c4f,_0x3367ed,_0x59a02d,_0x21cb07)=>{const _0x318782=_0x42caba;for(var _0x1fec6a=_0x21cb07>0x1?void 0x0:_0x21cb07?_0x1d1e8c(_0x3367ed,_0x59a02d):_0x3367ed,_0x2c9bfd=_0x435c4f[_0x318782(0x1f4)]-0x1,_0x294de9;_0x2c9bfd>=0x0;_0x2c9bfd--)(_0x294de9=_0x435c4f[_0x2c9bfd])&&(_0x1fec6a=_0x294de9(_0x1fec6a)||_0x1fec6a);return _0x1fec6a;},_0x12c3c2=(_0x5b5a9f,_0x43745b)=>(_0x248359,_0xdf4841)=>_0x43745b(_0x248359,_0xdf4841,_0x5b5a9f);let _0x54c86a=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x46c6ae,_0x370b7e,_0x3a3fe2,_0x3e39e3,_0x352d2f,_0x1c8b36){const _0x237791=_0x42caba;super(),this['_beforeCloseService']=_0x46c6ae,this['_localCacheService']=_0x370b7e,this[_0x237791(0x3db)]=_0x3a3fe2,this[_0x237791(0x361)]=_0x3e39e3,this[_0x237791(0x108)]=_0x352d2f,this[_0x237791(0x213)]=_0x1c8b36,this[_0x237791(0x2e7)](),this[_0x237791(0x13b)]();}['_setupBeforeClosingHandler'](){const _0x5757f9=_0x42caba;this[_0x5757f9(0x170)](this[_0x5757f9(0x11c)][_0x5757f9(0x3e2)](()=>{const _0xd17024=_0x5757f9;if(this['_localCacheService'][_0xd17024(0x13c)][_0xd17024(0x21c)])return this[_0xd17024(0x213)]['t']('collaboration.offline-data-not-saved');}));}[_0x42caba(0x13b)](){const _0x3b825f=_0x42caba;this[_0x3b825f(0x170)](this[_0x3b825f(0x3db)]['event$'][_0x3b825f(0x222)](_0xab945d=>{const _0x44b116=_0x3b825f;_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x2e4)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)][_0x44b116(0x314)],'content':this[_0x44b116(0x213)]['t']('collaboration.single-unit.warning')}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x1fa)]&&this['_messageService'][_0x44b116(0x176)]({'type':_0xdfb808['MessageType']['Warning'],'content':this[_0x44b116(0x213)]['t']('collaboration.closeRoom')}),_0xab945d['id']===_0x40f345['CollaborationUIEventId'][_0x44b116(0x1fb)]&&this[_0x44b116(0x108)]['show']({'title':this[_0x44b116(0x213)]['t']('permission.title'),'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x17f)),'type':_0x44b116(0x233),'duration':0x0}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x24a)]&&this[_0x44b116(0x361)]['show']({'type':_0xdfb808[_0x44b116(0x36d)][_0x44b116(0x2c6)],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x1f0))+'('+_0xab945d[_0x44b116(0x343)]+')'}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x1be)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)]['Warning'],'content':this['_localeService']['t'](_0xab945d[_0x44b116(0x343)]||'')}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)]['SOCKET_FAILED_RETRY']&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)]['Warning'],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x20f))}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x3b6)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808['MessageType']['Error'],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x129))}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x177)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)][_0x44b116(0x2c6)],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x3dc))});}));}};_0x54c86a=_0x54cbb9([_0x12c3c2(0x0,_0x3ebdd3[_0x42caba(0x339)]),_0x12c3c2(0x1,_0x40f345[_0x42caba(0x2da)]),_0x12c3c2(0x2,_0x99a487[_0x42caba(0x2ac)](_0x40f345['CollaborationUIEventService'])),_0x12c3c2(0x3,_0x3ebdd3[_0x42caba(0x3d7)]),_0x12c3c2(0x4,_0x3ebdd3[_0x42caba(0x2c9)]),_0x12c3c2(0x5,_0x99a487['Inject'](_0x99a487['LocaleService']))],_0x54c86a);var _0x449bad=Object[_0x42caba(0x27d)],_0x4b8caa=(_0x3121ac,_0xce286b,_0x3d7352,_0x24405d)=>{const _0x477b04=_0x42caba;for(var _0x4fae62=_0x24405d>0x1?void 0x0:_0x24405d?_0x449bad(_0xce286b,_0x3d7352):_0xce286b,_0x4e28ff=_0x3121ac[_0x477b04(0x1f4)]-0x1,_0x3af723;_0x4e28ff>=0x0;_0x4e28ff--)(_0x3af723=_0x3121ac[_0x4e28ff])&&(_0x4fae62=_0x3af723(_0x4fae62)||_0x4fae62);return _0x4fae62;},_0x395709=(_0x317776,_0x1059ab)=>(_0x27f75b,_0x2a310c)=>_0x1059ab(_0x27f75b,_0x2a310c,_0x317776);let _0x4dd5ae=class extends _0x99a487['Disposable']{constructor(_0x5bfc80,_0x505cd1,_0x2feaa0,_0x3a3dbe){const _0xdaecd2=_0x42caba;super(),_0x450946(this,_0xdaecd2(0x3ca)),(this[_0xdaecd2(0x3b2)]=_0x5bfc80,this['_httpService']=_0x505cd1,this[_0xdaecd2(0x27c)]=_0x2feaa0,this['_collaborationSessionService']=_0x3a3dbe,this[_0xdaecd2(0x273)]());}[_0x42caba(0x273)](){const _0xf91489=_0x42caba;this['_initWindowErrorListener'](),this[_0xf91489(0x29a)](),this['_monkeyPatchLogService'](),this[_0xf91489(0x383)]();}[_0x42caba(0x383)](){const _0x2cc7de=_0x42caba;this[_0x2cc7de(0x170)](this[_0x2cc7de(0x31b)][_0x2cc7de(0x201)][_0x2cc7de(0x222)](_0x2dee52=>{const _0x4f669e=_0x2cc7de;this[_0x4f669e(0x3ca)]=_0x2dee52==null?void 0x0:_0x2dee52[_0x4f669e(0x3c0)];}));}['_initWindowErrorListener'](){const _0x12a150=_0x42caba,_0x3c462f=_0x1efe31=>{const _0x29b127=_0x5833;var _0x5f01bd;this['_uploadLog']('error',_0x29b127(0x3c8)+_0x1efe31[_0x29b127(0x3a8)]+_0x29b127(0x1e8)+_0x1efe31['filename']+':'+_0x1efe31[_0x29b127(0x2fe)]+':'+_0x1efe31['colno']+'\x0a'+(((_0x5f01bd=_0x1efe31[_0x29b127(0x233)])==null?void 0x0:_0x5f01bd[_0x29b127(0x31d)])||''));};window[_0x12a150(0x2dc)](_0x12a150(0x233),_0x3c462f),this['disposeWithMe'](()=>{const _0x18cdd5=_0x12a150;window[_0x18cdd5(0x1a9)](_0x18cdd5(0x233),_0x3c462f);});}[_0x42caba(0x29a)](){const _0x466481=_0x42caba,_0x21b550=_0x53f428=>{const _0x58e0dc=_0x5833;this[_0x58e0dc(0x3ac)](_0x58e0dc(0x233),_0x58e0dc(0x26e)+_0x53f428[_0x58e0dc(0x26c)]);};window[_0x466481(0x2dc)]('unhandledrejection',_0x21b550),this[_0x466481(0x170)](()=>{const _0x1784c6=_0x466481;window['removeEventListener'](_0x1784c6(0x331),_0x21b550);});}[_0x42caba(0x32c)](){const _0x39947a=_0x42caba,_0x201dc6=this[_0x39947a(0x27c)][_0x39947a(0x233)][_0x39947a(0x37d)](this[_0x39947a(0x27c)]);this['_logService'][_0x39947a(0x233)]=(..._0xa547ef)=>{const _0x1886d8=_0x39947a,_0x83779c=_0xa547ef[_0x1886d8(0x139)](_0x5cc265=>_0x5cc265 instanceof Error?_0x5cc265[_0x1886d8(0x3a8)]+'\x0a'+_0x5cc265[_0x1886d8(0x31d)]:String(_0x5cc265))[_0x1886d8(0x371)]('\x20');this[_0x1886d8(0x3ac)](_0x1886d8(0x233),_0x1886d8(0x2d1)+_0x83779c),_0x201dc6(..._0xa547ef);},this[_0x39947a(0x170)](()=>{const _0x28cd81=_0x39947a;this[_0x28cd81(0x27c)]['error']=_0x201dc6;});}[_0x42caba(0x3ac)](_0x271c89,_0xc4234){const _0x4ab95e=_0x42caba;try{const _0x275e9b={'userId':this[_0x4ab95e(0x3ca)],'logLabel':_0x271c89,'content':_0xc4234};this[_0x4ab95e(0x3a9)][_0x4ab95e(0x39c)](_0x4ab95e(0x11f),{'body':_0x275e9b})[_0x4ab95e(0x33e)](()=>{});}catch{}}};_0x4dd5ae=_0x4b8caa([_0x395709(0x0,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x395709(0x1,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb['HTTPService'])),_0x395709(0x2,_0x99a487[_0x42caba(0x2e3)]),_0x395709(0x3,_0x99a487[_0x42caba(0x2ac)](_0x40f345['CollaborationSessionService']))],_0x4dd5ae);const _0x2a0609='collaboration-client-ui.config',_0x326bbf={};var _0x35fa5f=Object[_0x42caba(0x27d)],_0x841b8c=(_0x2e81a7,_0x36c23e,_0x3b1a28,_0x5069c1)=>{const _0x5904c1=_0x42caba;for(var _0x4f1732=_0x5069c1>0x1?void 0x0:_0x5069c1?_0x35fa5f(_0x36c23e,_0x3b1a28):_0x36c23e,_0x3a1ad7=_0x2e81a7[_0x5904c1(0x1f4)]-0x1,_0x2158b1;_0x3a1ad7>=0x0;_0x3a1ad7--)(_0x2158b1=_0x2e81a7[_0x3a1ad7])&&(_0x4f1732=_0x2158b1(_0x4f1732)||_0x4f1732);return _0x4f1732;},_0x3efac9=(_0x36ddc7,_0x57f284)=>(_0x112eec,_0x4427f1)=>_0x57f284(_0x112eec,_0x4427f1,_0x36ddc7);let _0x2f7c5c=class{constructor(_0x3d1d87,_0x3e38e9){this['_transformService']=_0x3d1d87,this['_renderManagerService']=_0x3e38e9;}[_0x42caba(0x335)](_0x1fdae3){const _0x579306=_0x42caba;this[_0x579306(0x3c9)](_0x1fdae3),this[_0x579306(0x153)](_0x1fdae3);}[_0x42caba(0x3de)](_0x48388d){const _0x2fd303=_0x42caba,{unitID:_0x4ab2fd}=_0x48388d,_0x242fd0=this[_0x2fd303(0x16d)][_0x2fd303(0x2f4)](_0x4ab2fd)[_0x2fd303(0x187)](_0x2afbb3[_0x2fd303(0x3a1)]),{redoCache:_0x1f58c4}=_0x242fd0[_0x2fd303(0x342)]();if(_0x1f58c4['length']===0x0)return _0x48388d;let _0x511b2f=_0x99a487[_0x2fd303(0x303)][_0x2fd303(0x385)](_0x48388d[_0x2fd303(0x226)][0x0]);for(let _0x2e59e4=0x0;_0x2e59e4<_0x1f58c4[_0x2fd303(0x1f4)];_0x2e59e4++){const _0x429fb9={'id':_0x2fd303(0x205),'params':{..._0x1f58c4[_0x2e59e4]}},_0x523c7b=this[_0x2fd303(0x17a)][_0x2fd303(0x1ac)](_0x511b2f,_0x429fb9,!0x1);if(_0x1d0b4f[_0x2fd303(0x113)](_0x523c7b))throw _0x523c7b['error'];_0x511b2f=_0x523c7b['m1Prime'];}return{..._0x99a487[_0x2fd303(0x303)][_0x2fd303(0x385)](_0x48388d),'mutations':[_0x511b2f]};}[_0x42caba(0x3c9)](_0x2eef08){const _0x27d225=_0x42caba,{unitID:_0x2a1590}=_0x2eef08,_0x49c779=this[_0x27d225(0x16d)][_0x27d225(0x2f4)](_0x2a1590)[_0x27d225(0x187)](_0x2afbb3[_0x27d225(0x3a1)]),{undoCache:_0x14220a,redoCache:_0x6eb2eb}=_0x49c779['getUndoRedoMutationParamsCache']();if(_0x14220a[_0x27d225(0x1f4)]===0x0||_0x6eb2eb['length']===0x0)return;const _0x17313a=[],_0x5be98a=[];let _0x394444=_0x99a487[_0x27d225(0x303)][_0x27d225(0x385)](_0x2eef08['mutations'][0x0]),_0x388a7b=_0x99a487['Tools'][_0x27d225(0x385)](_0x2eef08[_0x27d225(0x226)][0x0]);for(let _0x416a20=_0x14220a['length']-0x1;_0x416a20>=0x0;_0x416a20--){const _0x45fd8a={'id':_0x27d225(0x205),'params':{..._0x14220a[_0x416a20]}},_0x2a3009={'id':_0x27d225(0x205),'params':{..._0x6eb2eb[_0x416a20]}},_0x295183=this[_0x27d225(0x17a)][_0x27d225(0x1ac)](_0x394444,_0x45fd8a,!0x1),_0x4f820e=this[_0x27d225(0x17a)][_0x27d225(0x1ac)](_0x388a7b,_0x2a3009,!0x1);if(_0x1d0b4f[_0x27d225(0x113)](_0x295183))throw _0x295183[_0x27d225(0x233)];if(_0x1d0b4f[_0x27d225(0x113)](_0x4f820e))throw _0x4f820e[_0x27d225(0x233)];_0x17313a[_0x27d225(0x2cf)](_0x295183['m2Prime'][_0x27d225(0x3a2)]),_0x5be98a[_0x27d225(0x2cf)](_0x4f820e[_0x27d225(0x35e)][_0x27d225(0x3a2)]),_0x394444=_0x295183[_0x27d225(0x330)],_0x388a7b=_0x4f820e['m1Prime'];}_0x49c779['setUndoRedoMutationParamsCache']({'undoCache':_0x17313a,'redoCache':_0x5be98a});}['_transformPreviousActiveRange'](_0x5d041c){const _0x38d107=_0x42caba,{unitID:_0x302427}=_0x5d041c,_0x15442f=this[_0x38d107(0x16d)]['getRenderById'](_0x302427)[_0x38d107(0x187)](_0x2afbb3[_0x38d107(0x3a1)]),_0x2860c5=_0x15442f[_0x38d107(0x30f)]();if(_0x2860c5==null)return;const _0x1abe87=[{'id':_0x38d107(0x205),'params':{'unitId':_0x5d041c[_0x38d107(0x392)],'actions':null,'textRanges':[_0x2860c5]}}],_0x35b81e=this[_0x38d107(0x17a)][_0x38d107(0x21a)](_0x5d041c,_0x1abe87);if(!_0x1d0b4f[_0x38d107(0x1af)](_0x35b81e))throw _0x35b81e['error'];const _0x3bf0e0=_0x35b81e[_0x38d107(0x35e)][0x0]['params']['textRanges'];Array[_0x38d107(0x292)](_0x3bf0e0)&&_0x3bf0e0[_0x38d107(0x1f4)]&&_0x15442f[_0x38d107(0x16a)](_0x3bf0e0[0x0]);}};_0x2f7c5c=_0x841b8c([_0x3efac9(0x0,_0x1d0b4f[_0x42caba(0x3e4)]),_0x3efac9(0x1,_0x4b6de8[_0x42caba(0x128)])],_0x2f7c5c);var _0x186efd=Object['getOwnPropertyDescriptor'],_0x4d13f1=(_0x400ab4,_0x456c81,_0x53980e,_0x593142)=>{const _0x29744d=_0x42caba;for(var _0x522859=_0x593142>0x1?void 0x0:_0x593142?_0x186efd(_0x456c81,_0x53980e):_0x456c81,_0x13833e=_0x400ab4[_0x29744d(0x1f4)]-0x1,_0x50e866;_0x13833e>=0x0;_0x13833e--)(_0x50e866=_0x400ab4[_0x13833e])&&(_0x522859=_0x50e866(_0x522859)||_0x522859);return _0x522859;},_0xd0e5c8=(_0x42644f,_0x102e93)=>(_0x1d1580,_0x4a7caa)=>_0x102e93(_0x1d1580,_0x4a7caa,_0x42644f);let _0xf67027=class{constructor(_0xc2f8d0,_0x8a48d9,_0x55678d){const _0x3a1cc5=_0x42caba;this[_0x3a1cc5(0x3b2)]=_0xc2f8d0,this['_transformService']=_0x8a48d9,this[_0x3a1cc5(0x19d)]=_0x55678d;}[_0x42caba(0x2ae)](_0x271123){const _0x404b65=_0x42caba;this[_0x404b65(0x15d)](_0x271123);}[_0x42caba(0x3de)](_0x17fe22){const _0x2e6e9f=_0x42caba,{unitID:_0x1663b2}=_0x17fe22,{collaboration:_0x1e9769}=this[_0x2e6e9f(0x19d)][_0x2e6e9f(0x271)](_0x1663b2);if(_0x1e9769[_0x2e6e9f(0x1f4)]===0x0)return _0x17fe22;let _0x37c6c0=_0x99a487['Tools'][_0x2e6e9f(0x385)](_0x17fe22[_0x2e6e9f(0x226)][0x0]);for(let _0x1fe2df=0x0;_0x1fe2df<_0x1e9769[_0x2e6e9f(0x1f4)];_0x1fe2df++){const _0x220220={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e9769[_0x1fe2df][_0x2e6e9f(0x1c6)],..._0x1e9769[_0x1fe2df][_0x2e6e9f(0x114)]}},_0x5073d1=this[_0x2e6e9f(0x17a)][_0x2e6e9f(0x1ac)](_0x37c6c0,_0x220220,!0x1);if(_0x1d0b4f[_0x2e6e9f(0x113)](_0x5073d1))throw _0x5073d1[_0x2e6e9f(0x233)];_0x37c6c0=_0x5073d1[_0x2e6e9f(0x330)];}return{..._0x99a487[_0x2e6e9f(0x303)][_0x2e6e9f(0x385)](_0x17fe22),'mutations':[_0x37c6c0]};}[_0x42caba(0x15d)](_0x474f51){const _0x4c53cf=_0x42caba,{unitID:_0x2462c8}=_0x474f51,{history:_0x27069e,collaboration:_0x308da8}=this['_docStateChangeManagerService'][_0x4c53cf(0x271)](_0x2462c8);if(_0x27069e[_0x4c53cf(0x1f4)]===0x0&&_0x308da8[_0x4c53cf(0x1f4)]===0x0)return;const _0x51f01d=[],_0x4011ef=[];let _0x4d5414=_0x99a487['Tools'][_0x4c53cf(0x385)](_0x474f51['mutations'][0x0]),_0x605b94=_0x99a487[_0x4c53cf(0x303)][_0x4c53cf(0x385)](_0x474f51[_0x4c53cf(0x226)][0x0]);for(let _0x533561=_0x27069e[_0x4c53cf(0x1f4)]-0x1;_0x533561>=0x0;_0x533561--){const _0x45f82e={'id':_0x4c53cf(0x205),'params':{'unitId':_0x27069e[_0x533561]['unitId'],..._0x27069e[_0x533561][_0x4c53cf(0x1c9)]}},_0x1fb748={'id':_0x4c53cf(0x205),'params':{'unitId':_0x27069e[_0x533561][_0x4c53cf(0x1c6)],..._0x27069e[_0x533561][_0x4c53cf(0x114)]}},_0x11bc88=this[_0x4c53cf(0x17a)][_0x4c53cf(0x1ac)](_0x4d5414,_0x45f82e,!0x1),_0x488cb0=this[_0x4c53cf(0x17a)]['transformMutation'](_0x605b94,_0x1fb748,!0x1);if(_0x1d0b4f[_0x4c53cf(0x113)](_0x11bc88))throw _0x11bc88[_0x4c53cf(0x233)];if(_0x1d0b4f[_0x4c53cf(0x113)](_0x488cb0))throw _0x488cb0[_0x4c53cf(0x233)];_0x51f01d[_0x4c53cf(0x2cf)]({..._0x27069e[_0x533561],'undoState':_0x11bc88[_0x4c53cf(0x35e)]['params'],'redoState':_0x488cb0[_0x4c53cf(0x35e)][_0x4c53cf(0x3a2)]}),_0x4d5414=_0x11bc88[_0x4c53cf(0x330)],_0x605b94=_0x488cb0[_0x4c53cf(0x330)];}_0x4d5414=_0x99a487[_0x4c53cf(0x303)][_0x4c53cf(0x385)](_0x474f51[_0x4c53cf(0x226)][0x0]),_0x605b94=_0x99a487[_0x4c53cf(0x303)]['deepClone'](_0x474f51[_0x4c53cf(0x226)][0x0]);for(let _0x4c60d0=_0x308da8['length']-0x1;_0x4c60d0>=0x0;_0x4c60d0--){const _0x509f3f={'id':_0x4c53cf(0x205),'params':{'unitId':_0x308da8[_0x4c60d0][_0x4c53cf(0x1c6)],..._0x308da8[_0x4c60d0][_0x4c53cf(0x1c9)]}},_0x3f58ff={'id':_0x4c53cf(0x205),'params':{'unitId':_0x308da8[_0x4c60d0][_0x4c53cf(0x1c6)],..._0x308da8[_0x4c60d0][_0x4c53cf(0x114)]}},_0x2d88fc=this[_0x4c53cf(0x17a)]['transformMutation'](_0x4d5414,_0x509f3f,!0x1),_0xdb7d48=this[_0x4c53cf(0x17a)][_0x4c53cf(0x1ac)](_0x605b94,_0x3f58ff,!0x1);if(_0x1d0b4f['isTransformMutationFailure'](_0x2d88fc))throw _0x2d88fc[_0x4c53cf(0x233)];if(_0x1d0b4f[_0x4c53cf(0x113)](_0xdb7d48))throw _0xdb7d48[_0x4c53cf(0x233)];_0x4011ef['unshift']({..._0x308da8[_0x4c60d0],'undoState':_0x2d88fc['m2Prime']['params'],'redoState':_0xdb7d48[_0x4c53cf(0x35e)][_0x4c53cf(0x3a2)]}),_0x4d5414=_0x2d88fc[_0x4c53cf(0x330)],_0x605b94=_0xdb7d48['m1Prime'];}this[_0x4c53cf(0x19d)]['setStateCache'](_0x2462c8,{'history':_0x51f01d,'collaboration':_0x4011ef});}};_0xf67027=_0x4d13f1([_0xd0e5c8(0x0,_0x99a487[_0x42caba(0x2ac)](_0x99a487['Injector'])),_0xd0e5c8(0x1,_0x1d0b4f['ITransformService']),_0xd0e5c8(0x2,_0x99a487[_0x42caba(0x2ac)](_0x2afbb3[_0x42caba(0x2a6)]))],_0xf67027);var _0xc8aa01=Object[_0x42caba(0x27d)],_0x2c6e0a=(_0x367a77,_0x17ee02,_0x4a9a0f,_0x347fe1)=>{const _0x22a307=_0x42caba;for(var _0x56a82f=_0x347fe1>0x1?void 0x0:_0x347fe1?_0xc8aa01(_0x17ee02,_0x4a9a0f):_0x17ee02,_0x46794c=_0x367a77[_0x22a307(0x1f4)]-0x1,_0xbaa816;_0x46794c>=0x0;_0x46794c--)(_0xbaa816=_0x367a77[_0x46794c])&&(_0x56a82f=_0xbaa816(_0x56a82f)||_0x56a82f);return _0x56a82f;},_0x5760ab=(_0x1bda41,_0x1bf4c3)=>(_0x1dbde1,_0x596b75)=>_0x1bf4c3(_0x1dbde1,_0x596b75,_0x1bda41);let _0x5db7b4=class{constructor(_0x272311,_0x12db12){this['_injector']=_0x272311,this['_transformService']=_0x12db12;}['transformSelections'](_0x598bca){const _0x596574=_0x42caba;var _0x2d2352;const _0x1c8144=this[_0x596574(0x3b2)][_0x596574(0x394)](_0x2d04b0[_0x596574(0x35c)]),_0x4923fa=(_0x2d2352=_0x1c8144[_0x596574(0x1a7)]())!=null?_0x2d2352:[];if(_0x4923fa['length']===0x0)return;const _0x241c6c=_0x598bca[_0x596574(0x392)],_0x543533=[{'id':_0x596574(0x205),'params':{'unitId':_0x241c6c,'actions':null,'textRanges':_0x4923fa}}],_0x51ae63=this['_transformService']['transformMutationsWithChangeset'](_0x598bca,_0x543533);if(!_0x1d0b4f[_0x596574(0x1af)](_0x51ae63))throw _0x51ae63[_0x596574(0x233)];const _0x279b33=_0x51ae63['m2Prime'][0x0][_0x596574(0x3a2)][_0x596574(0x248)];Array[_0x596574(0x292)](_0x279b33)&&_0x279b33[_0x596574(0x1f4)]&&_0x1c8144[_0x596574(0x309)](_0x279b33,{'unitId':_0x241c6c,'subUnitId':_0x241c6c},!0x1);}};_0x5db7b4=_0x2c6e0a([_0x5760ab(0x0,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x5760ab(0x1,_0x1d0b4f['ITransformService'])],_0x5db7b4);var _0x5e18bb=Object[_0x42caba(0x27d)],_0x761dd4=(_0x316328,_0x3e08a5,_0x59c6ca,_0x2a003c)=>{for(var _0x2938ab=_0x2a003c>0x1?void 0x0:_0x2a003c?_0x5e18bb(_0x3e08a5,_0x59c6ca):_0x3e08a5,_0x45e777=_0x316328['length']-0x1,_0x2df735;_0x45e777>=0x0;_0x45e777--)(_0x2df735=_0x316328[_0x45e777])&&(_0x2938ab=_0x2df735(_0x2938ab)||_0x2938ab);return _0x2938ab;},_0x4b8bc8=(_0x379990,_0x57d754)=>(_0x5f13fb,_0x39fa65)=>_0x57d754(_0x5f13fb,_0x39fa65,_0x379990);let _0x494724=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x3e95e6,_0x4a85c1,_0x597549,_0x41a81b,_0x1a4221,_0x525944,_0x50de3e,_0xfe8977){const _0x47ad08=_0x42caba;super(),_0x450946(this,_0x47ad08(0x3e5),new _0xf18ada[(_0x47ad08(0x1c2))](_0x40f345[_0x47ad08(0x3cf)][_0x47ad08(0x293)])),(this[_0x47ad08(0x19d)]=_0x3e95e6,this['_collaborationController']=_0x4a85c1,this[_0x47ad08(0x2d6)]=_0x597549,this[_0x47ad08(0x219)]=_0x41a81b,this['_docTransformSelectionsService']=_0x1a4221,this['_docSyncEditingCollabCursorService']=_0x525944,this[_0x47ad08(0x361)]=_0x50de3e,this[_0x47ad08(0x213)]=_0xfe8977,this[_0x47ad08(0x2ba)]());}[_0x42caba(0x2ba)](){const _0x25c5fc=_0x42caba;this[_0x25c5fc(0x170)](this[_0x25c5fc(0x362)][_0x25c5fc(0x2e6)][_0x25c5fc(0x222)](_0x399885=>{const _0x1a1204=_0x25c5fc,_0x3943e1=this['_docStateChangeManagerService']['docStateChange$'][_0x1a1204(0x222)](_0x5e8685=>{const _0x5c3e57=_0x1a1204;if(_0x5e8685==null)return;const {unitId:_0x5d13d5,redoState:_0x21dee6,commandId:_0x268c6e}=_0x5e8685;if(_0x5d13d5!==_0x399885[_0x5c3e57(0x392)])return;const _0xd63c14={'id':_0x268c6e,'type':_0x99a487['CommandType']['MUTATION'],'params':{'unitId':_0x5d13d5,'actions':_0x21dee6['actions'],'textRanges':null}};_0x399885['onLocalMutation'](_0xd63c14);});if(_0x399885[_0x1a1204(0x170)](_0x3943e1),_0x399885 instanceof _0x40f345['DocCollaborationEntity']){const _0x403f77={'onTransformIME':_0x340afd=>this['_docTransformIMECacheService'][_0x1a1204(0x335)](_0x340afd),'onTransformState':_0x15b512=>this[_0x1a1204(0x219)]['transformStateCache'](_0x15b512),'onTransformSelections':_0x32bba8=>this['_docTransformSelectionsService'][_0x1a1204(0x295)](_0x32bba8),'onSyncEditingCollabCursor':_0x30a0fb=>this['_docSyncEditingCollabCursorService'][_0x1a1204(0x12c)](_0x30a0fb),'onTransformRemoteChangesetByIMECache':_0xbee9db=>this[_0x1a1204(0x2d6)]['transformRemoteChangeset'](_0xbee9db),'onTransformRemoteChangesetByStateCache':_0x2431bd=>this['_docTransformStateCacheService'][_0x1a1204(0x3de)](_0x2431bd)};_0x399885[_0x1a1204(0x1e7)](_0x403f77);}}));}};_0x494724=_0x761dd4([_0x4b8bc8(0x0,_0x99a487[_0x42caba(0x2ac)](_0x2afbb3[_0x42caba(0x2a6)])),_0x4b8bc8(0x1,_0x99a487[_0x42caba(0x2ac)](_0x40f345['CollaborationController'])),_0x4b8bc8(0x2,_0x99a487[_0x42caba(0x2ac)](_0x2f7c5c)),_0x4b8bc8(0x3,_0x99a487[_0x42caba(0x2ac)](_0xf67027)),_0x4b8bc8(0x4,_0x99a487['Inject'](_0x5db7b4)),_0x4b8bc8(0x5,_0x99a487[_0x42caba(0x2ac)](_0x151704)),_0x4b8bc8(0x6,_0x3ebdd3[_0x42caba(0x3d7)]),_0x4b8bc8(0x7,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x35d)]))],_0x494724);var _0x34d078=(_0x14e0d0=>(_0x14e0d0[_0x14e0d0[_0x42caba(0x2d5)]=0x0]=_0x42caba(0x2d5),_0x14e0d0[_0x14e0d0['OK']=0x1]='OK',_0x14e0d0[_0x14e0d0[_0x42caba(0x200)]=0x2]=_0x42caba(0x200),_0x14e0d0[_0x14e0d0[_0x42caba(0x1fb)]=0x3]=_0x42caba(0x1fb),_0x14e0d0[_0x14e0d0['NOT_FOUND']=0x4]='NOT_FOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x272)]=0x5]='UNAUTHENTICATED',_0x14e0d0[_0x14e0d0[_0x42caba(0x3ae)]=0x6]=_0x42caba(0x3ae),_0x14e0d0[_0x14e0d0[_0x42caba(0x195)]=0x7]=_0x42caba(0x195),_0x14e0d0[_0x14e0d0['TOO_MANY_REQUESTS']=0x8]=_0x42caba(0x350),_0x14e0d0[_0x14e0d0['COMPLETION_FINISHED']=0x9]=_0x42caba(0x301),_0x14e0d0[_0x14e0d0[_0x42caba(0x2e8)]=0xa]=_0x42caba(0x2e8),_0x14e0d0[_0x14e0d0[_0x42caba(0x340)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x14e0d0[_0x14e0d0[_0x42caba(0x317)]=0xc]=_0x42caba(0x317),_0x14e0d0[_0x14e0d0[_0x42caba(0x327)]=0xd]=_0x42caba(0x327),_0x14e0d0[_0x14e0d0['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x42caba(0x302),_0x14e0d0[_0x14e0d0[_0x42caba(0x1db)]=0xf]=_0x42caba(0x1db),_0x14e0d0[_0x14e0d0[_0x42caba(0x3d2)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x14e0d0[_0x14e0d0['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x42caba(0x20c),_0x14e0d0[_0x14e0d0[_0x42caba(0x1fe)]=0x65]=_0x42caba(0x1fe),_0x14e0d0[_0x14e0d0[_0x42caba(0x37c)]=0xc9]='USER_NOT_FOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x22b)]=0xca]=_0x42caba(0x22b),_0x14e0d0[_0x14e0d0[_0x42caba(0x209)]=0x1389]=_0x42caba(0x209),_0x14e0d0[_0x14e0d0[_0x42caba(0x2bd)]=0x1771]=_0x42caba(0x2bd),_0x14e0d0[_0x14e0d0[_0x42caba(0x377)]=0x1772]=_0x42caba(0x377),_0x14e0d0[_0x14e0d0[_0x42caba(0x367)]=0x1773]=_0x42caba(0x367),_0x14e0d0[_0x14e0d0[_0x42caba(0x19e)]=0x1b59]=_0x42caba(0x19e),_0x14e0d0[_0x14e0d0['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x14e0d0[_0x14e0d0['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x42caba(0x224),_0x14e0d0[_0x14e0d0[_0x42caba(0x313)]=0x1b5c]=_0x42caba(0x313),_0x14e0d0[_0x14e0d0[_0x42caba(0x3d8)]=0x1b5d]=_0x42caba(0x3d8),_0x14e0d0[_0x14e0d0[_0x42caba(0x366)]=0x1f41]=_0x42caba(0x366),_0x14e0d0[_0x14e0d0[_0x42caba(0x304)]=0x2329]=_0x42caba(0x304),_0x14e0d0[_0x14e0d0[_0x42caba(0x161)]=0x232a]=_0x42caba(0x161),_0x14e0d0[_0x14e0d0[_0x42caba(0x324)]=0x232b]=_0x42caba(0x324),_0x14e0d0[_0x14e0d0[_0x42caba(0x386)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x14e0d0[_0x14e0d0[_0x42caba(0x1ff)]=0x232d]=_0x42caba(0x1ff),_0x14e0d0[_0x14e0d0[_0x42caba(0x376)]=0x2711]=_0x42caba(0x376),_0x14e0d0[_0x14e0d0[_0x42caba(0x215)]=0x2712]=_0x42caba(0x215),_0x14e0d0[_0x14e0d0[_0x42caba(0x11d)]=0x2713]=_0x42caba(0x11d),_0x14e0d0[_0x14e0d0['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x395)]=0x271a]=_0x42caba(0x395),_0x14e0d0[_0x14e0d0[_0x42caba(0x19b)]=0x271b]=_0x42caba(0x19b),_0x14e0d0[_0x14e0d0[_0x42caba(0x1d2)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x14e0d0[_0x14e0d0[_0x42caba(0x2ec)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x14e0d0[_0x14e0d0[_0x42caba(0x274)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x14e0d0[_0x14e0d0[_0x42caba(0x26f)]=0x271f]=_0x42caba(0x26f),_0x14e0d0[_0x14e0d0[_0x42caba(0x117)]=0x2720]=_0x42caba(0x117),_0x14e0d0[_0x14e0d0[_0x42caba(0x149)]=0x2af9]=_0x42caba(0x149),_0x14e0d0[_0x14e0d0[_0x42caba(0x23f)]=0x2ee1]=_0x42caba(0x23f),_0x14e0d0[_0x14e0d0['INVALID_INVITE_CODE']=0x2ee2]=_0x42caba(0x3e9),_0x14e0d0[_0x14e0d0['INVITE_CODE_REQUIRED']=0x2ee3]=_0x42caba(0x259),_0x14e0d0[_0x14e0d0[_0x42caba(0x32a)]=0x2ee4]=_0x42caba(0x32a),_0x14e0d0[_0x14e0d0[_0x42caba(0x2bb)]=0x2ee5]=_0x42caba(0x2bb),_0x14e0d0[_0x14e0d0['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x286)]=0x32ca]=_0x42caba(0x286),_0x14e0d0[_0x14e0d0['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x37b)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x14e0d0[_0x14e0d0[_0x42caba(0x3d5)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x14e0d0[_0x14e0d0['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x14e0d0[_0x14e0d0[_0x42caba(0x2f6)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x14e0d0[_0x14e0d0[_0x42caba(0x2d3)]=0x36b5]=_0x42caba(0x2d3),_0x14e0d0[_0x14e0d0[_0x42caba(0x18a)]=0x36b6]=_0x42caba(0x18a),_0x14e0d0[_0x14e0d0[_0x42caba(0x3b9)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x14e0d0[_0x14e0d0[_0x42caba(0x122)]=0x36b8]=_0x42caba(0x122),_0x14e0d0[_0x14e0d0[_0x42caba(0x2f2)]=0x3715]=_0x42caba(0x2f2),_0x14e0d0[_0x14e0d0[_0x42caba(0x36a)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x14e0d0[_0x14e0d0[_0x42caba(0x3d9)]=0x3717]=_0x42caba(0x3d9),_0x14e0d0[_0x14e0d0[_0x42caba(0x358)]=0x37dd]=_0x42caba(0x358),_0x14e0d0[_0x14e0d0[_0x42caba(0x118)]=0x3a99]=_0x42caba(0x118),_0x14e0d0[_0x14e0d0[_0x42caba(0x249)]=0x3a9a]=_0x42caba(0x249),_0x14e0d0[_0x14e0d0['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x14e0d0[_0x14e0d0[_0x42caba(0x3d3)]=0x3a9c]=_0x42caba(0x3d3),_0x14e0d0[_0x14e0d0[_0x42caba(0x239)]=0x3a9d]=_0x42caba(0x239),_0x14e0d0[_0x14e0d0[_0x42caba(0x289)]=0x3a9e]=_0x42caba(0x289),_0x14e0d0[_0x14e0d0['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x14e0d0[_0x14e0d0[_0x42caba(0x298)]=0x3e81]=_0x42caba(0x298),_0x14e0d0[_0x14e0d0['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x14e0d0))(_0x34d078||{});function _0x7d739d(_0x1f16e1){const _0x378ead=_0x42caba;var _0x2b9220,_0x3a0dea;const _0x38b7f7=(_0x2b9220=_0x1f16e1['stageInfo'])==null?void 0x0:_0x2b9220[_0x378ead(0x25c)],_0x48ea96=((_0x3a0dea=_0x1f16e1[_0x378ead(0x1ea)])==null?void 0x0:_0x3a0dea['totalFormulasToCalculate'])||0x0;return _0x38b7f7===_0x7369e4[_0x378ead(0x26b)][_0x378ead(0x11b)]&&_0x48ea96>0x0;}function _0x5de4b5(_0x3a0813){const _0x275d73=_0x42caba;return _0x3a0813[_0x275d73(0x1e9)]===_0x7369e4[_0x275d73(0x159)][_0x275d73(0x381)];}var _0x3d089b=Object[_0x42caba(0x27d)],_0x16e44d=(_0x4f8928,_0x390027,_0x50e494,_0x2b1308)=>{const _0x5c4c0e=_0x42caba;for(var _0x2263ac=_0x2b1308>0x1?void 0x0:_0x2b1308?_0x3d089b(_0x390027,_0x50e494):_0x390027,_0x2fdcc2=_0x4f8928[_0x5c4c0e(0x1f4)]-0x1,_0x5b923d;_0x2fdcc2>=0x0;_0x2fdcc2--)(_0x5b923d=_0x4f8928[_0x2fdcc2])&&(_0x2263ac=_0x5b923d(_0x2263ac)||_0x2263ac);return _0x2263ac;},_0x4fa34c=(_0x35d3c3,_0x3d43b1)=>(_0x2dab98,_0x123d88)=>_0x3d43b1(_0x2dab98,_0x123d88,_0x35d3c3);const _0x5f507f=_0x42caba(0x210),_0x119aad=_0x42caba(0x208),_0x9ec6e2=_0x42caba(0x3e3);let _0x1f6973=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x228618,_0x2f010f,_0x33c848,_0x323760,_0x1b34b1,_0x1a99ec,_0x41ec79){const _0x237d69=_0x42caba;super(),_0x450946(this,'_pollingInterval',null),_0x450946(this,_0x237d69(0x18d),0x0),_0x450946(this,'_currentUsage',0x0),_0x450946(this,_0x237d69(0x312),[]),_0x450946(this,_0x237d69(0x27e),0x0),(this['_messageService']=_0x228618,this[_0x237d69(0x390)]=_0x2f010f,this[_0x237d69(0x364)]=_0x33c848,this['_httpService']=_0x323760,this[_0x237d69(0x2c0)]=_0x1b34b1,this[_0x237d69(0x27c)]=_0x1a99ec,this[_0x237d69(0x213)]=_0x41ec79,this[_0x237d69(0x3bd)]());}[_0x42caba(0x3bd)](){const _0x34df9b=_0x42caba;this[_0x34df9b(0x170)](this[_0x34df9b(0x390)][_0x34df9b(0x2aa)]((_0x6f5650,_0x5a3165)=>{const _0x4c57d9=_0x34df9b;var _0x2bfa62;if(_0x6f5650['id']!==_0x7369e4[_0x4c57d9(0x1e4)]['id'])return;const _0x47b40b=_0x6f5650[_0x4c57d9(0x3a2)];if(!this[_0x4c57d9(0x19c)]((_0x2bfa62=_0x47b40b[_0x4c57d9(0x151)])!=null?_0x2bfa62:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x4c57d9(0x2e0)](_0x6f5650,_0x5a3165),this[_0x4c57d9(0x130)](),new _0x99a487[(_0x4c57d9(0x291))]();})),this[_0x34df9b(0x170)](this[_0x34df9b(0x390)][_0x34df9b(0x29f)]((_0x2718f8,_0x6a370c)=>{const _0x53e825=_0x34df9b;if(_0x2718f8['id']!==_0x7369e4['SetFormulaCalculationNotificationMutation']['id'])return;const _0x352a1e=_0x2718f8[_0x53e825(0x3a2)];if(_0x7d739d(_0x352a1e)){const _0x3dedf0=_0x99a487[_0x53e825(0x10b)]();this[_0x53e825(0x312)][_0x53e825(0x242)](_0x3dedf0),this[_0x53e825(0x133)](_0x3dedf0);}else{if(_0x5de4b5(_0x352a1e)&&this[_0x53e825(0x312)][_0x53e825(0x1f4)]>0x0){const _0x41bea0=this[_0x53e825(0x312)]['shift']();this['_releaseCalculationLimit'](_0x41bea0);}}}));}[_0x42caba(0x310)](){const _0x495291=_0x42caba;super[_0x495291(0x310)](),this[_0x495291(0x3aa)](),this['_taskIds']=[],this[_0x495291(0x3c5)]=0x0,this[_0x495291(0x18d)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x42caba(0x2e0)](_0x1ac289,_0x108492){const _0x2812db=_0x42caba;for(let _0x3c37ac=0x0;_0x3c37ac<0x1e;_0x3c37ac++)try{if(await this['_getFormulaLimitStatus'](),this[_0x2812db(0x179)]()){this[_0x2812db(0x1f8)](_0x1ac289,_0x108492),this[_0x2812db(0x361)][_0x2812db(0x176)]({'content':this[_0x2812db(0x213)]['t'](_0x2812db(0x336)),'type':_0xdfb808[_0x2812db(0x36d)]['Success']});return;}await new Promise(_0x1ed796=>{const _0x2da345=_0x2812db;this['_pollingInterval']=window[_0x2da345(0x2de)](_0x1ed796,0x3e8);});}catch(_0x109e12){this[_0x2812db(0x27c)]['error'](_0x109e12);}this[_0x2812db(0x361)][_0x2812db(0x176)]({'content':this[_0x2812db(0x213)]['t'](_0x2812db(0x391)),'type':_0xdfb808[_0x2812db(0x36d)][_0x2812db(0x2c6)]});}[_0x42caba(0x1f8)](_0x6198f8,_0x4b0ba2){const _0x27d33e=_0x42caba;try{this[_0x27d33e(0x390)][_0x27d33e(0x28d)](_0x6198f8['id'],_0x6198f8[_0x27d33e(0x3a2)],_0x4b0ba2);}catch(_0x39489d){this['_logService'][_0x27d33e(0x233)](_0x39489d);}}[_0x42caba(0x3e0)](_0x38dff9,_0xdd9a98){const _0xaeb242=_0x42caba;_0xdd9a98<this['_lastResponseTimestamp']||(this[_0xaeb242(0x27e)]=_0xdd9a98,this[_0xaeb242(0x18d)]=Number['parseInt'](_0x38dff9[_0xaeb242(0x1b3)]),this[_0xaeb242(0x3c5)]=Number[_0xaeb242(0x1d0)](_0x38dff9[_0xaeb242(0x29d)]));}async[_0x42caba(0x133)](_0x53dab1){const _0x419513=_0x42caba;var _0x458f85,_0x562af2;const _0x354f19=Date[_0x419513(0x2d4)]();try{const _0x104854=((_0x458f85=this[_0x419513(0x364)][_0x419513(0x15c)](_0x40f345[_0x419513(0x34e)]))==null?void 0x0:_0x458f85[_0x419513(0x2f7)])||_0x119aad,_0x52ef87=(await this[_0x419513(0x3a9)]['post'](_0x104854,{'body':JSON[_0x419513(0x24f)]({'taskId':_0x53dab1})}))[_0x419513(0x1cb)];if(((_0x562af2=_0x52ef87[_0x419513(0x233)])==null?void 0x0:_0x562af2[_0x419513(0x34b)])!==_0x34d078['OK'])return;this['_setFormulaLimitStatus'](_0x52ef87[_0x419513(0x2f5)],_0x354f19);}catch(_0x225081){this['_logService']['error'](_0x225081);}}async[_0x42caba(0x1b2)](_0x127284){const _0x311f09=_0x42caba;var _0x130138,_0x327e53;const _0x4fb336=Date[_0x311f09(0x2d4)]();try{const _0x38fd25=((_0x130138=this[_0x311f09(0x364)][_0x311f09(0x15c)](_0x40f345['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x130138[_0x311f09(0x38f)])||_0x5f507f,_0x55e771=_0x127284?_0x38fd25+_0x311f09(0x188)+encodeURIComponent(_0x127284):_0x38fd25,_0x443323=(await this[_0x311f09(0x3a9)][_0x311f09(0x394)](_0x55e771))[_0x311f09(0x1cb)];if(((_0x327e53=_0x443323[_0x311f09(0x233)])==null?void 0x0:_0x327e53[_0x311f09(0x34b)])!==_0x34d078['OK'])return;this[_0x311f09(0x3e0)](_0x443323[_0x311f09(0x2f5)],_0x4fb336);}catch(_0x29d54b){this[_0x311f09(0x27c)][_0x311f09(0x233)](_0x29d54b);}}async[_0x42caba(0x24e)](_0x22ad2a){const _0x263a9c=_0x42caba;var _0x572749,_0x5afaa2;const _0x1bb9a3=Date[_0x263a9c(0x2d4)]();try{const _0x2bbc94=((_0x572749=this[_0x263a9c(0x364)]['getConfig'](_0x40f345[_0x263a9c(0x34e)]))==null?void 0x0:_0x572749[_0x263a9c(0x197)])||_0x9ec6e2,_0x1d767f=(await this[_0x263a9c(0x3a9)][_0x263a9c(0x39c)](_0x2bbc94,{'body':JSON['stringify']({'taskId':_0x22ad2a})}))[_0x263a9c(0x1cb)];if(((_0x5afaa2=_0x1d767f[_0x263a9c(0x233)])==null?void 0x0:_0x5afaa2['code'])!==_0x34d078['OK'])return;this[_0x263a9c(0x3e0)](_0x1d767f[_0x263a9c(0x2f5)],_0x1bb9a3);}catch(_0x1ee565){this[_0x263a9c(0x27c)]['error'](_0x1ee565);}}[_0x42caba(0x179)](){const _0x4a32bc=_0x42caba;return this[_0x4a32bc(0x18d)]===0x0?!0x0:this[_0x4a32bc(0x18d)]-this[_0x4a32bc(0x3c5)]>0x0;}[_0x42caba(0x3aa)](){const _0x2d2463=_0x42caba;this['_pollingInterval']&&(clearTimeout(this[_0x2d2463(0x111)]),this[_0x2d2463(0x111)]=null);}[_0x42caba(0x130)](){const _0x4add5e=_0x42caba;this[_0x4add5e(0x361)][_0x4add5e(0x176)]({'content':this[_0x4add5e(0x213)]['t'](_0x4add5e(0x13d)),'type':_0xdfb808['MessageType'][_0x4add5e(0x355)]});}['_hasFormulaInDirtyRanges'](_0x5c6163){const _0x3afe8f=_0x42caba;for(const _0x415ba8 of _0x5c6163){const {unitId:_0xa08c34,sheetId:_0x51ac76,range:_0x545bad}=_0x415ba8,_0x423160=this[_0x3afe8f(0x2c0)][_0x3afe8f(0x2ed)](_0xa08c34);if(!_0x423160)continue;const _0x11216b=_0x423160[_0x3afe8f(0x287)](_0x51ac76);if(!_0x11216b)continue;const _0x3842be=_0x11216b[_0x3afe8f(0x1a1)]();for(let _0x10ceba=_0x545bad[_0x3afe8f(0x20e)];_0x10ceba<=_0x545bad[_0x3afe8f(0x1c3)];_0x10ceba++)for(let _0x54c28c=_0x545bad[_0x3afe8f(0x39d)];_0x54c28c<=_0x545bad[_0x3afe8f(0x14a)];_0x54c28c++){const _0x2011ce=_0x3842be[_0x3afe8f(0x279)](_0x10ceba,_0x54c28c);if(_0x2011ce&&(_0x99a487['isFormulaString'](_0x2011ce['f'])||_0x99a487[_0x3afe8f(0x2ad)](_0x2011ce['si'])))return!0x0;}}return!0x1;}};_0x1f6973=_0x16e44d([_0x4fa34c(0x0,_0x99a487[_0x42caba(0x2ac)](_0x3ebdd3['IMessageService'])),_0x4fa34c(0x1,_0x99a487[_0x42caba(0x277)]),_0x4fa34c(0x2,_0x99a487[_0x42caba(0x20d)]),_0x4fa34c(0x3,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb[_0x42caba(0x2c3)])),_0x4fa34c(0x4,_0x99a487[_0x42caba(0x14f)]),_0x4fa34c(0x5,_0x99a487[_0x42caba(0x2e3)]),_0x4fa34c(0x6,_0x99a487['Inject'](_0x99a487['LocaleService']))],_0x1f6973);var _0x12a4db=Object[_0x42caba(0x27d)],_0x32410d=(_0x38105c,_0x559079,_0x5449eb,_0x2e9e41)=>{const _0x13a483=_0x42caba;for(var _0x5f1dd0=_0x2e9e41>0x1?void 0x0:_0x2e9e41?_0x12a4db(_0x559079,_0x5449eb):_0x559079,_0x22aba3=_0x38105c[_0x13a483(0x1f4)]-0x1,_0xfcd872;_0x22aba3>=0x0;_0x22aba3--)(_0xfcd872=_0x38105c[_0x22aba3])&&(_0x5f1dd0=_0xfcd872(_0x5f1dd0)||_0x5f1dd0);return _0x5f1dd0;},_0x55d959=(_0x328e1f,_0x2ceced)=>(_0x11c11e,_0x152249)=>_0x2ceced(_0x11c11e,_0x152249,_0x328e1f);let _0x90aec9=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x576d03,_0xc20246,_0x29890b){const _0x42bdf5=_0x42caba;super(),_0x450946(this,'_cachedData',new Map()),_0x450946(this,_0x42bdf5(0x315),new Map()),_0x450946(this,'_disabled',!0x1),(this[_0x42bdf5(0x364)]=_0x576d03,this[_0x42bdf5(0x267)]=_0xc20246,this[_0x42bdf5(0x379)]=_0x29890b);}[_0x42caba(0x18c)](){const _0x5d2562=_0x42caba;this[_0x5d2562(0x35a)]=!0x0;}[_0x42caba(0x300)](){const _0x117026=_0x42caba;this[_0x117026(0x35a)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x42caba(0x310)](){const _0x7c8676=_0x42caba;this[_0x7c8676(0x256)]()['then'](()=>super[_0x7c8676(0x310)]());}async[_0x42caba(0x269)](_0x1d37bc){const _0x360d71=_0x42caba;return this[_0x360d71(0x35a)]?null:this[_0x360d71(0x267)][_0x360d71(0x110)](_0x40f345[_0x360d71(0x352)](_0x1d37bc));}async[_0x42caba(0x38d)](_0x439850,_0x12e47a){const _0x304fc4=_0x42caba;return!!this[_0x304fc4(0x267)][_0x304fc4(0x2fc)](_0x439850,_0x12e47a);}[_0x42caba(0x2a3)](_0x2ba0f1,_0x21e576,_0xf35ddb,_0x4dd44b){const _0x17bf72=_0x42caba,_0x913614=this['_revisionService'][_0x17bf72(0x39f)](_0x2ba0f1);this['_cachedData']['set'](_0x2ba0f1,{'unitID':_0x2ba0f1,'type':_0x21e576,'awaitingChangeset':_0xf35ddb,'mutations':_0x4dd44b,'rev':_0x913614}),this[_0x17bf72(0x315)][_0x17bf72(0x185)](_0x2ba0f1)||this[_0x17bf72(0x124)](_0x2ba0f1);}[_0x42caba(0x124)](_0x1b6331){const _0x187f80=_0x42caba,_0x5371ec=this[_0x187f80(0x2b3)]();_0x5371ec===0x0?this[_0x187f80(0x2fa)](_0x1b6331):this['_saveTaskMap'][_0x187f80(0x2ff)](_0x1b6331,setTimeout(()=>this[_0x187f80(0x2fa)](_0x1b6331),_0x5371ec));}[_0x42caba(0x2b3)](){const _0x16ffb2=_0x42caba;var _0x1241bc;return(_0x1241bc=this[_0x16ffb2(0x364)][_0x16ffb2(0x15c)](_0x40f345[_0x16ffb2(0x261)]))!=null?_0x1241bc:_0x40f345[_0x16ffb2(0x33a)];}[_0x42caba(0x2fa)](_0x35f146){const _0x372ccb=_0x42caba,_0x5b9cc9=this[_0x372ccb(0x315)][_0x372ccb(0x394)](_0x35f146);return _0x5b9cc9!==void 0x0&&window[_0x372ccb(0x316)](_0x5b9cc9),this[_0x372ccb(0x267)]['setItem'](_0x40f345[_0x372ccb(0x352)](_0x35f146),this[_0x372ccb(0x1ee)][_0x372ccb(0x394)](_0x35f146))[_0x372ccb(0x152)](()=>this[_0x372ccb(0x315)][_0x372ccb(0x192)](_0x35f146));}async[_0x42caba(0x256)](){const _0x48c575=_0x42caba,_0x312c5f=[];this[_0x48c575(0x315)][_0x48c575(0x2e5)]((_0x3fe624,_0x1313e0)=>{const _0x2a6b8d=_0x48c575;window[_0x2a6b8d(0x316)](_0x3fe624),_0x312c5f[_0x2a6b8d(0x242)](this[_0x2a6b8d(0x2fa)](_0x1313e0)[_0x2a6b8d(0x152)](()=>{const _0x4ce8b3=_0x2a6b8d;this[_0x4ce8b3(0x315)]['delete'](_0x1313e0);}));}),await Promise[_0x48c575(0x115)](_0x312c5f);}};_0x90aec9=_0x32410d([_0x55d959(0x0,_0x99a487[_0x42caba(0x20d)]),_0x55d959(0x1,_0x99a487['ILocalStorageService']),_0x55d959(0x2,_0x99a487[_0x42caba(0x2ac)](_0x1d0b4f[_0x42caba(0x3e7)]))],_0x90aec9);class _0x36a969 extends _0x99a487[_0x42caba(0x178)]{constructor(){const _0x51a4eb=_0x42caba;super(),_0x450946(this,'urlChange$'),this['urlChange$']=_0xf18ada['fromEvent'](window,_0x51a4eb(0x1bf))[_0x51a4eb(0x1cd)](_0xf18ada[_0x51a4eb(0x141)](this['dispose$']),_0xf18ada['shareReplay'](0x1),_0xf18ada[_0x51a4eb(0x3ef)](void 0x0));}['setParam'](_0x3cc346,_0x7f77c3,_0x511b28=!0x1){const _0x2b3f99=_0x42caba,_0x3659e0=new URL(window[_0x2b3f99(0x171)]['href']);_0x3659e0[_0x2b3f99(0x2f8)]['set'](_0x3cc346,_0x7f77c3),_0x511b28?window['history'][_0x2b3f99(0x36f)]('','',_0x3659e0[_0x2b3f99(0x2df)]()):window[_0x2b3f99(0x25f)]['pushState']('','',_0x3659e0[_0x2b3f99(0x2df)]());}[_0x42caba(0x348)](_0x2d9eaf,_0x57f6fc=!0x1){const _0x46a742=_0x42caba,_0x5ea070=new URL(window[_0x46a742(0x171)]['href']);_0x5ea070['searchParams'][_0x46a742(0x192)](_0x2d9eaf),_0x57f6fc?window[_0x46a742(0x25f)]['replaceState']('','',_0x5ea070['toString']()):window[_0x46a742(0x25f)][_0x46a742(0x225)]('','',_0x5ea070[_0x46a742(0x2df)]());}[_0x42caba(0x37f)](_0x37f094){const _0x2ec506=_0x42caba;var _0x3a05b3;return(_0x3a05b3=new URL(window[_0x2ec506(0x171)][_0x2ec506(0x21e)])[_0x2ec506(0x2f8)][_0x2ec506(0x394)](_0x37f094))!=null?_0x3a05b3:void 0x0;}}var _0x77162b=Object['defineProperty'],_0x281362=Object['getOwnPropertyDescriptor'],_0x2afe0d=(_0x2e3dac,_0x20e692,_0x5a0e91)=>_0x20e692 in _0x2e3dac?_0x77162b(_0x2e3dac,_0x20e692,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a0e91}):_0x2e3dac[_0x20e692]=_0x5a0e91,_0x4bb996=(_0x172f97,_0x226472,_0x5ec46a,_0x56f921)=>{const _0x3e47c0=_0x42caba;for(var _0x3577b2=_0x56f921>0x1?void 0x0:_0x56f921?_0x281362(_0x226472,_0x5ec46a):_0x226472,_0x43d6e2=_0x172f97[_0x3e47c0(0x1f4)]-0x1,_0xc64237;_0x43d6e2>=0x0;_0x43d6e2--)(_0xc64237=_0x172f97[_0x43d6e2])&&(_0x3577b2=_0xc64237(_0x3577b2)||_0x3577b2);return _0x3577b2;},_0x1c5263=(_0x55bf94,_0x2e4296)=>(_0x30e53e,_0x2a3a41)=>_0x2e4296(_0x30e53e,_0x2a3a41,_0x55bf94),_0x39c477=(_0xc61edd,_0x14e5bd,_0x29ca4d)=>_0x2afe0d(_0xc61edd,_0x14e5bd+'',_0x29ca4d);const _0xfcfa8d='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x23f96a['UniverCollaborationClientUIPlugin']=class extends _0x99a487[_0x42caba(0x260)]{constructor(_0x317635=_0x326bbf,_0x1493a8,_0x253617,_0x35826b){const _0xec049a=_0x42caba;super(),this[_0xec049a(0x28f)]=_0x317635,this['_renderManagerService']=_0x1493a8,this[_0xec049a(0x3b2)]=_0x253617,this[_0xec049a(0x364)]=_0x35826b;const {..._0x6b81f1}=_0x99a487['merge']({},_0x326bbf,this[_0xec049a(0x28f)]);this['_configService'][_0xec049a(0x18b)](_0x2a0609,_0x6b81f1);}['onStarting'](){const _0x4465e6=_0x42caba;this['_registerDependencies'](),this[_0x4465e6(0x3bc)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x284724=_0x42caba;var _0x5418fd;const _0x1a7d75=[[_0x2dbe1f],[_0x1f6973],[_0x5db7b4],[_0x2f7c5c],[_0xf67027],[_0x151704],[_0x2eaaa6,{'useClass':_0x36a969}],[_0xb43dfb['ISocketService'],{'useClass':_0xb43dfb[_0x284724(0x284)]}],[_0x40f345[_0x284724(0x2da)],{'useClass':_0x90aec9}],[_0x23f96a[_0x284724(0x254)]],[_0x494724],[_0x54c86a],[_0x550d1c],[_0x47f8da],[_0x23f96a[_0x284724(0x216)]]];this[_0x284724(0x28f)][_0x284724(0x1e5)]&&_0x1a7d75[_0x284724(0x242)]([_0x4dd5ae]),_0x99a487[_0x284724(0x2e2)](this['_injector'],_0x99a487[_0x284724(0x228)](_0x1a7d75,(_0x5418fd=this[_0x284724(0x28f)])==null?void 0x0:_0x5418fd[_0x284724(0x23e)]));}[_0x42caba(0x1f2)](){const _0x5cef27=_0x42caba;this[_0x5cef27(0x170)](this[_0x5cef27(0x16d)][_0x5cef27(0x1a0)](_0x99a487[_0x5cef27(0x1b8)][_0x5cef27(0x22a)],[_0x459cb5])),this['disposeWithMe'](this[_0x5cef27(0x16d)][_0x5cef27(0x1a0)](_0x99a487[_0x5cef27(0x1b8)]['UNIVER_SHEET'],[_0x4db1a0]));}[_0x42caba(0x3bc)](){const _0x18035a=_0x42caba;_0x99a487[_0x18035a(0x164)](this[_0x18035a(0x3b2)],[[_0x550d1c],[_0x23f96a[_0x18035a(0x254)]],[_0x494724],[_0x54c86a],[_0x23f96a['CollaborationDataLoaderController']],[_0x1f6973]]),this['_config'][_0x18035a(0x1e5)]&&_0x99a487[_0x18035a(0x164)](this[_0x18035a(0x3b2)],[[_0x4dd5ae]]);}},_0x39c477(_0x23f96a[_0x42caba(0x19f)],'pluginName',_0xfcfa8d),_0x23f96a[_0x42caba(0x19f)]=_0x4bb996([_0x99a487['DependentOn'](_0x40f345[_0x42caba(0x22d)]),_0x1c5263(0x1,_0x4b6de8['IRenderManagerService']),_0x1c5263(0x2,_0x99a487['Inject'](_0x99a487[_0x42caba(0x2be)])),_0x1c5263(0x3,_0x99a487[_0x42caba(0x20d)])],_0x23f96a[_0x42caba(0x19f)]);var _0x1059ee=Object[_0x42caba(0x27d)],_0x40a8c8=(_0x3e19b9,_0x5d0ece,_0x2c751c,_0x434ac1)=>{const _0x4c1cc0=_0x42caba;for(var _0x20022f=_0x434ac1>0x1?void 0x0:_0x434ac1?_0x1059ee(_0x5d0ece,_0x2c751c):_0x5d0ece,_0x254545=_0x3e19b9[_0x4c1cc0(0x1f4)]-0x1,_0x1a475a;_0x254545>=0x0;_0x254545--)(_0x1a475a=_0x3e19b9[_0x254545])&&(_0x20022f=_0x1a475a(_0x20022f)||_0x20022f);return _0x20022f;},_0x598f33=(_0x13dee0,_0x4ed21c)=>(_0xe9f6aa,_0x147aff)=>_0x4ed21c(_0xe9f6aa,_0x147aff,_0x13dee0);_0x23f96a[_0x42caba(0x10c)]=class extends _0x40f345[_0x42caba(0x297)]{constructor(_0x346168,_0x388ee0,_0x526f54,_0x5f2b15,_0x4c9a91){super(_0x346168,_0x388ee0,_0x526f54,_0x5f2b15,_0x4c9a91);}async[_0x42caba(0x116)](_0x28c4c3){const _0x30b156=_0x42caba,_0x182394=await this[_0x30b156(0x29b)](),_0x2b9c0e=this[_0x30b156(0x275)](_0x28c4c3,_0x182394);return this[_0x30b156(0x23a)](_0x2b9c0e);}[_0x42caba(0x275)](_0x66947f,_0x4d2246){const _0x500cc4=_0x42caba,_0x54cf3c=typeof window>'u'?new URL(_0x66947f):new URL(_0x66947f,window['location'][_0x500cc4(0x34f)]);_0x54cf3c[_0x500cc4(0x2f8)][_0x500cc4(0x2ff)](_0x500cc4(0x1ec),_0x4d2246);const _0x515721=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x500cc4(0x171)][_0x500cc4(0x397)]);return _0x515721[_0x500cc4(0x394)](_0x500cc4(0x294))&&_0x54cf3c[_0x500cc4(0x2f8)][_0x500cc4(0x2ff)]('runId',_0x515721[_0x500cc4(0x394)](_0x500cc4(0x294))),_0x54cf3c[_0x500cc4(0x2df)]();}async['_getSessionTicket'](){const _0x2a24d3=_0x42caba;var _0x421087,_0x45d5c5,_0x204e88;const _0x3818a3=this['_configService'][_0x2a24d3(0x15c)](_0x40f345['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x53f23a=(_0x421087=_0x3818a3==null?void 0x0:_0x3818a3['wsSessionTicketUrl'])!=null?_0x421087:_0x40f345[_0x2a24d3(0x203)];return(_0x204e88=(_0x45d5c5=(await this['_httpService'][_0x2a24d3(0x394)](_0x53f23a,{'headers':{'Content-Type':_0x2a24d3(0x3d4)}}))['body'])==null?void 0x0:_0x45d5c5['ticket'])!=null?_0x204e88:'';}},_0x23f96a[_0x42caba(0x10c)]=_0x40a8c8([_0x598f33(0x0,_0x99a487['Inject'](_0x99a487[_0x42caba(0x2be)])),_0x598f33(0x1,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb[_0x42caba(0x2c3)])),_0x598f33(0x2,_0x99a487['IConfigService']),_0x598f33(0x3,_0x99a487[_0x42caba(0x2e3)]),_0x598f33(0x4,_0x1d0b4f[_0x42caba(0x3e8)])],_0x23f96a[_0x42caba(0x10c)]);var _0x312934=Object[_0x42caba(0x27d)],_0x56a8ee=(_0x3c57b2,_0x58575d,_0x29352f,_0x5c0889)=>{const _0x57ea78=_0x42caba;for(var _0x257219=_0x5c0889>0x1?void 0x0:_0x5c0889?_0x312934(_0x58575d,_0x29352f):_0x58575d,_0x14d881=_0x3c57b2[_0x57ea78(0x1f4)]-0x1,_0x219061;_0x14d881>=0x0;_0x14d881--)(_0x219061=_0x3c57b2[_0x14d881])&&(_0x257219=_0x219061(_0x257219)||_0x257219);return _0x257219;},_0x2d88ed=(_0x3d2d15,_0x5a56e4)=>(_0x3260de,_0xa7e4b)=>_0x5a56e4(_0x3260de,_0xa7e4b,_0x3d2d15);_0x23f96a[_0x42caba(0x10d)]=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x30a6c1,_0x4993b9,_0x521119){const _0x140bcb=_0x42caba;super(),this[_0x140bcb(0x240)]=_0x30a6c1,this[_0x140bcb(0x3a9)]=_0x4993b9,this[_0x140bcb(0x364)]=_0x521119;}async['runOnServer'](_0x4250ea,_0xe223fb,_0x34eec7,..._0x3d1d74){const _0x4f6f56=_0x42caba;var _0x3aa21c,_0x3ab2bf,_0x21c597,_0x3387c9;const _0x4b4c3c=this[_0x4f6f56(0x240)][_0x4f6f56(0x137)]();if(!_0x4b4c3c)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4d6076=((_0x3aa21c=this['_configService'][_0x4f6f56(0x15c)](_0x40f345['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3aa21c:_0x40f345[_0x4f6f56(0x262)])+'/'+_0x4250ea+'/run/'+_0xe223fb,_0x2a2c27=new URL(window['location'][_0x4f6f56(0x21e)]),_0x5d72ef={'scriptId':_0x4250ea,'runId':(_0x3ab2bf=_0x2a2c27['searchParams']['get']('runId'))!=null?_0x3ab2bf:'','function':_0xe223fb,'unitId':_0x4b4c3c[_0x4f6f56(0x359)](),'argsOfFunction':JSON[_0x4f6f56(0x24f)](_0x3d1d74),'invokeId':(_0x21c597=_0x34eec7[_0x4f6f56(0x11a)])!=null?_0x21c597:'','executionId':(_0x3387c9=_0x34eec7[_0x4f6f56(0x119)])!=null?_0x3387c9:''};try{const _0x30e372=await this[_0x4f6f56(0x3a9)][_0x4f6f56(0x39c)](_0x4d6076,{'body':_0x5d72ef});return _0x30e372[_0x4f6f56(0x1cb)][_0x4f6f56(0x233)]&&_0x30e372[_0x4f6f56(0x1cb)][_0x4f6f56(0x233)][_0x4f6f56(0x34b)]!==_0x34d078['OK']?_0x4f6f56(0x2e9):_0x30e372[_0x4f6f56(0x1cb)][_0x4f6f56(0x14c)];}catch{return _0x4f6f56(0x2e9);}}},_0x23f96a[_0x42caba(0x10d)]=_0x56a8ee([_0x2d88ed(0x0,_0x99a487[_0x42caba(0x14f)]),_0x2d88ed(0x1,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb['HTTPService'])),_0x2d88ed(0x2,_0x99a487[_0x42caba(0x20d)])],_0x23f96a[_0x42caba(0x10d)]);const _0x56d46a=0x7530,_0x18731e=_0x42caba(0x247);class _0xfe5c1d extends _0x99a487[_0x42caba(0x238)]{constructor(){const _0x5282b6=_0x42caba;super(),_0x450946(this,_0x5282b6(0x120),_0x99a487[_0x5282b6(0x10b)]()),_0x450946(this,'_selfUnitIDs',new Set()),_0x450946(this,_0x5282b6(0x1a3),new Map()),_0x450946(this,_0x5282b6(0x156),null),_0x450946(this,_0x5282b6(0x20b),new Map()),_0x450946(this,'_unitStatus',new Map()),this[_0x5282b6(0x273)]();}['dispose'](){const _0x3ba2f3=_0x42caba;super['dispose'](),this[_0x3ba2f3(0x20b)][_0x3ba2f3(0x2e5)]((_0x30d7f7,_0x169363)=>this['_removeClearOtherTimer'](_0x169363)),this[_0x3ba2f3(0x156)]&&window[_0x3ba2f3(0x243)](this[_0x3ba2f3(0x156)]);}['getUnitStatus$'](_0x1054f7){const _0x5ef5cc=_0x42caba;return this['_ensureSubject'](_0x1054f7)[_0x5ef5cc(0x1cd)](_0xf18ada[_0x5ef5cc(0x306)]());}[_0x42caba(0x1eb)](_0x52ba88){const _0x44d5c3=_0x42caba;this['_selfUnitIDs'][_0x44d5c3(0x21c)]===0x0&&this[_0x44d5c3(0x356)](),this['_selfUnitIDs']['add'](_0x52ba88),this['_send']({'type':0x0,'memberID':this[_0x44d5c3(0x120)],'unitIDs':[_0x52ba88],'isForwarded':!0x1});}[_0x42caba(0x3da)](_0x50ef18){const _0x3c5f1c=_0x42caba;this[_0x3c5f1c(0x2b5)][_0x3c5f1c(0x192)](_0x50ef18),this[_0x3c5f1c(0x2b5)][_0x3c5f1c(0x21c)]===0x0&&this[_0x3c5f1c(0x156)]&&window[_0x3c5f1c(0x243)](this[_0x3c5f1c(0x156)]);}['_init'](){const _0x5bd92d=_0x42caba;this[_0x5bd92d(0x170)](_0x99a487['toDisposable'](_0xf18ada[_0x5bd92d(0x28e)](window,_0x5bd92d(0x11e))['subscribe'](_0x215885=>{const _0x4902f9=_0x5bd92d;if(_0x215885[_0x4902f9(0x382)]!==_0x18731e||!_0x215885[_0x4902f9(0x1e3)])return;const _0x5d0b39=JSON['parse'](_0x215885['newValue']);this[_0x4902f9(0x1dc)](_0x5d0b39);}))),window[_0x5bd92d(0x2dc)](_0x5bd92d(0x3c4),()=>this[_0x5bd92d(0x150)]({'type':0x1,'memberID':this[_0x5bd92d(0x120)],'unitIDs':Array[_0x5bd92d(0x283)](this[_0x5bd92d(0x2b5)])}));}[_0x42caba(0x1dc)](_0x1d9f1c){const _0x8d16ba=_0x42caba;switch(_0x1d9f1c[_0x8d16ba(0x2d7)]){case 0x0:this[_0x8d16ba(0x1e2)](_0x1d9f1c);break;case 0x1:this[_0x8d16ba(0x16c)](_0x1d9f1c);break;case 0x2:this[_0x8d16ba(0x36c)](_0x1d9f1c);break;}}[_0x42caba(0x1e2)](_0xbd3658){const _0x3224d1=_0x42caba,{unitIDs:_0x74b785,memberID:_0x5f1205,isForwarded:_0x2fcb18}=_0xbd3658;_0x74b785['forEach'](_0x5bc923=>{const _0x1b982f=_0x5833;if(!_0x2fcb18&&this[_0x1b982f(0x1a3)][_0x1b982f(0x185)](_0x5bc923)&&this[_0x1b982f(0x13e)](_0x5bc923)[_0x1b982f(0x1ba)](_0x40f345[_0x1b982f(0x363)][_0x1b982f(0x127)]),!this[_0x1b982f(0x1a3)][_0x1b982f(0x185)](_0x5bc923)||!this[_0x1b982f(0x1a3)]['get'](_0x5bc923)[_0x1b982f(0x185)](_0x5f1205)){const _0x3d7841=this['_unitOnClients'][_0x1b982f(0x394)](_0x5bc923)||new Set();_0x3d7841[_0x1b982f(0x1df)](_0x5f1205),this[_0x1b982f(0x1a3)][_0x1b982f(0x2ff)](_0x5bc923,_0x3d7841),this[_0x1b982f(0x251)](_0x5f1205);}}),_0x2fcb18||this[_0x3224d1(0x150)]({'type':0x0,'memberID':this[_0x3224d1(0x120)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x42caba(0x251)](_0x55540c){const _0x3c5264=_0x42caba;this['_removeClearOtherTimer'](_0x55540c);const _0x1975d1=window['setTimeout'](()=>{const _0x2bf54d=_0x5833;this[_0x2bf54d(0x1a3)][_0x2bf54d(0x2e5)](_0x5a0a34=>{_0x5a0a34['delete'](_0x55540c);});},_0x56d46a*0x2);this['_clearOtherTimers'][_0x3c5264(0x2ff)](_0x55540c,_0x1975d1);}[_0x42caba(0x136)](_0x114ccb){const _0x301eac=_0x42caba;if(this[_0x301eac(0x20b)][_0x301eac(0x185)](_0x114ccb)){const _0x100938=this[_0x301eac(0x20b)][_0x301eac(0x394)](_0x114ccb);_0x100938&&window['clearTimeout'](_0x100938),this[_0x301eac(0x20b)][_0x301eac(0x2ff)](_0x114ccb,null);}}['_handleLeaveEvent'](_0x43918d){const _0xc41147=_0x42caba,{memberID:_0x356ca0,unitIDs:_0x4117ec}=_0x43918d;_0x4117ec['forEach'](_0x5a9e7d=>{const _0x1814c6=_0x5833;var _0x446dfc;const _0x4c54ce=this[_0x1814c6(0x1a3)]['get'](_0x5a9e7d);_0x4c54ce&&(_0x4c54ce[_0x1814c6(0x192)](_0x356ca0),(_0x446dfc=this[_0x1814c6(0x13e)](_0x5a9e7d))==null||_0x446dfc[_0x1814c6(0x1ba)](_0x4c54ce[_0x1814c6(0x21c)]===0x0?_0x40f345[_0x1814c6(0x363)][_0x1814c6(0x2c8)]:_0x40f345['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0xc41147(0x136)](_0x356ca0);}[_0x42caba(0x36c)](_0x2cfa2b){const _0x255122=_0x42caba;this[_0x255122(0x251)](_0x2cfa2b[_0x255122(0x3c0)]);}[_0x42caba(0x150)](_0x47e4ee){const _0x3874c8=_0x42caba;localStorage[_0x3874c8(0x2fc)](_0x18731e,JSON[_0x3874c8(0x24f)](_0x47e4ee));}[_0x42caba(0x356)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x4f3ed4=_0x5833;this[_0x4f3ed4(0x150)]({'type':0x2,'memberID':this[_0x4f3ed4(0x120)]});},_0x56d46a);}[_0x42caba(0x13e)](_0x39c735){const _0xd8c758=_0x42caba;return this[_0xd8c758(0x3cd)][_0xd8c758(0x185)](_0x39c735)||this[_0xd8c758(0x3cd)][_0xd8c758(0x2ff)](_0x39c735,new _0xf18ada[(_0xd8c758(0x1c2))](_0x40f345[_0xd8c758(0x363)][_0xd8c758(0x2c8)])),this[_0xd8c758(0x3cd)][_0xd8c758(0x394)](_0x39c735);}}_0x23f96a[_0x42caba(0x264)]=_0x2eaaa6,_0x23f96a['SheetCollabCursorShape']=_0x232e7e,_0x23f96a[_0x42caba(0x2ce)]=_0xfe5c1d,_0x23f96a[_0x42caba(0x2cb)]=_0x36a969,Object[_0x42caba(0x321)](_0x23f96a,Symbol[_0x42caba(0x231)],{'value':_0x42caba(0x1f6)});}));function _0x520a(){const _0x285a33=['saveImage','ENTITLE_INVALID_COUPON_CODE','now','UNDEFINED','_docTransformIMECacheService','type','InsertRowCommandId','VIEW_MAIN','ILocalCacheService','createIdentifier','addEventListener','jsxs','setTimeout','toString','_checkAndWaitForCalculationPermission','RichTextEditingMutation','registerDependencies','ILogService','OTHER_CLIENT_EDITING','forEach','entityInit$','_setupBeforeClosingHandler','LOGIN_FAILED','Failed','_imageIoService','findNodePositionByCharIndex','YUUMI_ALL_TABLES_IS_INVALID','getUnit','_initCommandExecutedListener','@univerjs/docs','includes','arc','ENTITLE_CHAT_LIMIT_EXCEED','CollaborationEvent','getRenderById','limitInfo','PAYMENT_CHANNEL_NOT_SUPPORT','startFormulaLimitUrl','searchParams','UNIVER_SHEET','_saveCache','colorChannel1','setItem','Optional','lineno','set','enableLocalCache','COMPLETION_FINISHED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Tools','LICENSE_MAX_UNITS_EXCEEDED','getVpScrollXYInfoByPosToVp','distinctUntilChanged','string','contains','replaceDocRanges','_startDocCollabCursor','_colorIndex','currentTheme$','throttleTime','exports','getActiveRange','dispose','UniverDocsUi','_taskIds','APPLY_PERMISSION_DENIED','Warning','_saveTaskMap','clearTimeout','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setShapeProps','height','Vector2','_collaborationSessionService','mask','stack','_scene','1em','MoveRangeCommandId','defineProperty','DisposableCollection','@univerjs/sheets-ui','LICENSE_IMPORT_SIZE_EXCEEDED','_toggleOffline','UniverProCollaborationClientUi','EMAIL_VERIFY_CODE_MISMATCH','_getMergeRange','getViewport','USER_NOT_INVITED_CODE','_docClipboardService','_monkeyPatchLogService','MemberService','_cursorInfo$','_cursors','m1Prime','unhandledrejection','getCurrentSelections','handleInsertCol','requireSession','transformIMECache','formula.calculation.started','handleIRemoveCol','getMember','IBeforeCloseService','LOCAL_CACHE_INTERVAL','_render','backgroundColor','some','catch','SetWorksheetActivateCommand','MOBILE_VERIFY_CODE_MISMATCH','_collabCursorController','getUndoRedoMutationParamsCache','data','onMouseMove','_getSheetObject','_getAnchorBounding','ThemeService','removeParam','_updateSubUnitFromURLParams','UniverUi','code','currentColor','collabStatus.notCollab','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','origin','TOO_MANY_REQUESTS','rgba(255,\x20255,\x20255,\x200.01)','getLocalCacheKey','source','_colorAssignService','Loading','_scheduleHeartbeat','on-line-icon_clip0_910_349','ENTITLE_NEED_BILLING_ADDRESS','getUnitId','_disabled','switchMap','DocSelectionManagerService','LocaleService','m2Prime','_setupSubUnitSync','_eventUnsubscribe','_messageService','_collaborationController','UnitStatus','_configService','defs','CONNECTOR_DATA_TOO_LARGE','ENSURE_SNAPSHOT_EXECUTION','_context','min','ENTITLE_REPORT_LIMIT_EXCEED','handleInsertRangeMoveRight','_handleHeartbeatEvent','MessageType','text','replaceState','_drawRectRange','join','object','red.300','rxjs','AWAITING','YUUMI_UNABLE_LOAD_URL','SNAPSHOT_HAS_BEEN_REMOVED','_hovered','_revisionService','RemoveRowCommandId','ENTITLE_CAN_NOT_BUY_LOWER_OTP','USER_NOT_FOUND','bind','getColorFromTheme','getParam','find','SUCCESS','key','_initUserListener','black','deepClone','LICENSE_EXPORT_SIZE_EXCEEDED','_onRefRangeChange','selections','getSkeleton','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_entities','evenodd','saveOfflineData','_anchorDot','getformulaLimitStatusUrl','_commandService','formula.calculation.unable','unitID','unit','get','YUUMI_NO_CUBOID_FOR_QUESTION','clipPath','search','_handleHover','engine','_roomMembers$','collabStatus.syncing','post','startColumn','deserializeRangeWithSheet','getCurrentRevOfUnit','triggerDblclick','DocIMEInputManagerService','params','univer-flex\x20univer-items-center','measureText','onPointerLeave$','UniverSheets','getCurrent','message','_httpService','_clearPolling','name','_uploadLog','ONLINE','ALREADY_EXISTS','hovered','getColor','CollaborationSessionService','_injector','react/jsx-runtime','clsx','combineLatest','SOCKET_FAILED','InsertRangeMoveRightCommandId','_initResize','ENTITLE_COUPON_USED_UP','collabStatus.fetchMiss','Subject','_initDependencies','_initCommandInterceptor','url(#$1','_cursor','memberID','collab-rect-range-','_collabSessionService','_range','unload','_currentUsage','startsWith','OFFLINE','[Window\x20Error]:\x20','_transformUndoRedoStack','_memberID','trim','RECT','_unitStatus','0\x200\x2016\x2016','CollaborationStatus','toRgbString','UniverIcon','LOGIN_TOKEN_PROCESSING_FAILED','REDEMPTION_CODE_NOT_STARTED','application/json','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_shapes','IMessageService','APPLY_DUPLICATED','ENTITLE_INSUFFICIENT_QUOTA','disposeUnit','_collaborationUIEventService','session.collaboration-timeout','getAncestorScale','transformRemoteChangeset','url(#off-line-icon_clip0_910_343)','_setFormulaLimitStatus','addObject','registerBeforeClose','/universer-api/license/formula/limit/done','ITransformService','_status$','@univerjs/design','RevisionService','ISnapshotServerService','INVALID_INVITE_CODE','_onCursorUpdate','@univerjs/sheets','_drawAnchor','operators','subUnitId','mapTo','ranges','amd','_notificationService','_removeCollabCursors','column','generateRandomId','BrowserCollaborationSocketService','RemoteUniscriptService','_dataLoaderService','sheetID','getItem','_pollingInterval','_labelPosition','isTransformMutationFailure','redoState','all','createSocket','YUUMI_CONNECTOR_URL_NOT_FOUND','REDEMPTION_INVALID_CODE','executionId','invokeId','START_CALCULATION','_beforeCloseService','YUUMI_RATE_OVER_LIMIT','storage','/universer-api/frontend/logs','_id','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ENTITLE_USE_COUPON_NOT_1ST_TRADE','runRefRangeMutations','_scheduleSaving','DeleteRangeMoveUpCommandId','row','OTHER_CLIENTS_EDITING','IRenderManagerService','session.connection-failed','_docSkeleton','uni.network.url-service','syncEditingCollabCursor','@univerjs/drawing','getCellPositionByOffset','_draw','_showGuardMessage','children','univerjs-icon\x20univerjs-icon-','_startCalculationLimit','closePath','@univerjs-pro/collaboration-client','_removeClearOtherTimer','getFocusedUnit','addObjects','map','svg','_initEvent','saveTaskMap','formula.calculation.waiting','_ensureSubject','displayName','getRelativeToViewportCoord','takeUntil','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','M0\x200H16V16H0z','defIds','423426QEFomh','split','random','OffLineIcon','PY_RUNTIME_SCRIPT_ERROR','endColumn','none','result','current','_name','IUniverInstanceService','_send','dirtyRanges','then','_transformPreviousActiveRange','asObservable','getUniverSheetInstance','_heartbeatTimer','on-line-icon','xlink:href','FormulaExecutedStateType','UniverProCollaboration','onPointerEnter$','getConfig','_transformHistoryAndStateStack','IImageIoService','react','fillStyle','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_textBubble','getActiveSheet','touchDependencies','_initStatusComponent','event$','RefRangeService','collabStatus.synced','_session','setActiveRange','moveTo','_handleLeaveEvent','_renderManagerService','_refreshCollabCursors','IRemoteInstanceService','disposeWithMe','location','color','_entityInit$','http://www.w3.org/2000/svg','_document','show','SUBMIT_CHANGESET_TIMEOUT','RxDisposable','_checkCalculationAvailable','_transformService','_onCursorDelete','_drawTextRange','hide','6uNgZPL','permission.content','symbol','forwardRef','currentSkeleton$','save','BuiltInUIPart','has','39110RFTKaO','with','?taskId=','resize','ENTITLE_COUPON_EXPIRED','setConfig','disableLocalCache','_maxFormulaLimit','isActive','_syncEditingCollabCursorService','replace','handleDeleteRangeMoveUp','delete','UniverDrawing','debounceTime','INVALID_ARGUMENT','_lastPointer','releaseFormulaLimitUrl','jsx','getCollabCursors$','_sheetSkeletonManagerService','YUUMI_ASYNCIO_CANCELLED','_hasFormulaInDirtyRanges','_docStateChangeManagerService','APPLY_REJECT','UniverCollaborationClientUIPlugin','registerRenderModule','getCellMatrix','RegularPolygon','_unitOnClients','max','yellow.400','tag','getDocRanges','registerRefRange','removeEventListener','debounce','attrs','transformMutation','setAlpha','cursorInfo','isTransformMutationsWithChangesetSuccess','function','1354932IrJYFD','_getFormulaLimitStatus','maxFormulaLimit','SetTextSelectionsOperation','COLORS','_updateCollabCursors','_getScale','UniverInstanceType','_toggleOnline','next','fill','skeleton','registerComponent','JOIN_ROOM_FAILED','popstate','activeSheet$','TEXT_RANGE_LAYER_INDEX','BehaviorSubject','endRow','EffectRefRangId','assign','unitId','NodePositionConvertToRectRange','_docSkeletonManagerService','undoState','Shape','body','fillText','pipe','init','entries','parseInt','3539088APobCo','YUUMI_TABLE_NOT_FOUND_IN_UNIT','roomMembers','_hover','3014384PwylQJ','subscribeEvent','handleIRemoveRow','#FFF','0\x200\x2017\x2016','bottom','AUTHORIZE_CODE_ILLEGAL','_handleEvent','send','filter','add','lineTo','getTypeOfUnitDisposed$','_handleJoinEvent','newValue','SetFormulaCalculationStartMutation','enableFrontendLog','roomMembers$','addHandlerCallback','\x20at\x20','functionsExecutedState','stageInfo','editingUnit','sessionTicket','UniverDesign','_cachedData','dispose$','collaboration.closeRoom','eventID','_registerRenderDependencies','drawWith','length','univer-mr-2\x20univer-flex\x20univer-text-xl','Module','CollaborationController','_applyCommand','_hideTimer','CLOSE_ROOM','PERMISSION_DENIED','_collabCursorState$','78QGzujY','ERROR_AGAIN','LICENSE_DISTRO_REJECTED','INTERNAL_ERROR','socket$','_themeService','DEFAULT_WS_SESSION_TICKET_URL','debug','doc.mutation.rich-text-editing','status$','UPDATE_CURSOR','/universer-api/license/formula/limit/start','CHANGESET_REVISION_CONFILICT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_clearOtherTimers','CURRENT_STATUS_CANNOT_OPERATE','IConfigService','startRow','session.will-retry','/universer-api/license/formula/limit/status','_refRangeService','values','_localeService','width','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationDataLoaderController','_online','getMemberID','_docTransformStateCacheService','transformMutationsWithChangeset','DOC_RANGE_TYPE','size','@univerjs/engine-formula','href','div','Rect','top','subscribe','onPointerMove$','APPLY_REVISION_CONFILICT','pushState','mutations','_urlService','mergeOverrideWithDependencies','createElement','UNIVER_DOC','USER_IS_ANONYMOUS','handleMoveRange','UniverCollaborationClientPlugin','InsertRangeMoveDownCommandId','RemoveColCommandId','TEXT','toStringTag','UniverDocs','error','jiqing.500','FETCH_MISS','cursorInfo$','_cursorShapes','Disposable','REDEMPTION_USER_NOT_ELIGIBLE','_doCreateSocket','white','...','url(#on-line-icon_clip0_910_349)','override','INVITE_CODE_HAS_BEEN_UES','_instanceService','_assignedColors','push','clearInterval','loadUnit','_anchor','useRef','ACTIVE_UNIT_EVENT_CHANNEL','textRanges','REDEMPTION_CODE_INACTIVE','CONFLICT','off-line-icon_clip0_910_343','collab-text-anchor-','purple.300','_releaseCalculationLimit','stringify','Workbook','_scheduleClearOtherTimer','IUIPartsService','_uiPartsService','DesktopCollaborationStatusDisplayController','restore','exhaustSavingTask','fillRule','sessionStatus$','INVITE_CODE_REQUIRED','getMergeData','range','stage','onTransformChange$','_initStatusListener','history','Plugin','LOCAL_CACHE_INTERVAL_KEY','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','486816AekYcv','IURLService','Tooltip','UniverProCollaborationClient','_localStorageService','UniverSheetsUi','loadOfflineData','subunit','FormulaExecuteStageType','reason','getSheetObject','[Unhandled\x20Rejection]:\x20','YUUMI_AI_RUN_FAILED','FromArray','getStateCache','UNAUTHENTICATED','_init','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_createSocketURL','SHEET_VIEWPORT_KEY','ICommandService','21695bCymDW','getValue','ColorKit','setParam','_logService','getOwnPropertyDescriptor','_lastResponseTimestamp','selection','createInstance','round','getCoordByCell','from','WebSocketService','9VlAopx','MOBILE_HAS_BEEN_BOUND','getSheetBySheetId','useObservable','REDEMPTION_USER_REDEEM_TIMES_EXCEED','HEADER_MENU','USERS_LEAVE','merge','executeCommand','fromEvent','_config','_updateLocalCursor','CanceledError','isArray','NOT_COLLAB','runId','transformSelections','_backgroundColor','CollaborationSocketService','DATA_SOURCE_TOO_LARGE','transformByState','_initUnhandledRejectionListener','_getSessionTicket','getCollabEntity$','currentUsage','UniverEngineFormula','onCommandExecuted','_startSheetCollabCursor','idSuffix','whenReady','updateOfflineData','collabStatus.offline','UniverCore','DocStateChangeManagerService','isEditing','collabStatus.conflict','path','beforeCommandExecuted','focused$','Inject','isFormulaId','transformStateCache','assignAColorForMemberID','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','_color','220dJKEmP','_getSaveTimeout','flatMap','_selfUnitIDs','getSheetId','UniverEngineRender','[CollaborationDataLoaderController]','React','_initEntityListener','INVITE_CODE_ALREADY_BOUND','_updateURLWithCurrentState','SNAPSHOT_INVALID_SNAPSHOT','Injector','useDependency','_univerInstanceService','CollaborationUIEventId','SessionStatus','HTTPService','DocSkeletonManagerService','labelPosition','Error','_memberService','NO_OTHER_CLIENTS_EDITING','INotificationService','DataLoaderService','WebURLService','complete','addClipboardHook','WebBrowserSingleActiveUnitService','unshift','collabCursorState$','[LogService\x20Error]:\x20'];_0x520a=function(){return _0x285a33;};return _0x520a();}
|
|
8
|
+
(function(_0x53cbe3,_0x45a409){const _0xd64623=_0x48a1,_0x2e1bb5=_0x53cbe3();while(!![]){try{const _0x2d8638=-parseInt(_0xd64623(0x2b1))/0x1+parseInt(_0xd64623(0x2d6))/0x2*(parseInt(_0xd64623(0x406))/0x3)+parseInt(_0xd64623(0x224))/0x4+parseInt(_0xd64623(0x438))/0x5+-parseInt(_0xd64623(0x399))/0x6*(-parseInt(_0xd64623(0x25f))/0x7)+-parseInt(_0xd64623(0x35a))/0x8+-parseInt(_0xd64623(0x1e5))/0x9;if(_0x2d8638===_0x45a409)break;else _0x2e1bb5['push'](_0x2e1bb5['shift']());}catch(_0x205f14){_0x2e1bb5['push'](_0x2e1bb5['shift']());}}}(_0xe035,0xc0460),function(_0xd4d077,_0x3d21c3){const _0x2c1a53=_0x48a1;typeof exports==_0x2c1a53(0x21e)&&typeof module<'u'?_0x3d21c3(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define([_0x2c1a53(0x3d9),_0x2c1a53(0x427),_0x2c1a53(0x2b5),_0x2c1a53(0x256),_0x2c1a53(0x2c4),_0x2c1a53(0x2e9),_0x2c1a53(0x49e),_0x2c1a53(0x202),_0x2c1a53(0x2fe),'@univerjs/sheets',_0x2c1a53(0x281),_0x2c1a53(0x214),_0x2c1a53(0x1e3),_0x2c1a53(0x3b3),_0x2c1a53(0x371),_0x2c1a53(0x439),_0x2c1a53(0x1fe),_0x2c1a53(0x424),_0x2c1a53(0x311)],_0x3d21c3):(_0xd4d077=typeof globalThis<'u'?globalThis:_0xd4d077||self,_0x3d21c3(_0xd4d077[_0x2c1a53(0x27f)]={},_0xd4d077[_0x2c1a53(0x3ed)],_0xd4d077[_0x2c1a53(0x1b5)],_0xd4d077[_0x2c1a53(0x2ca)],_0xd4d077['UniverUi'],_0xd4d077[_0x2c1a53(0x2e9)],_0xd4d077[_0x2c1a53(0x2b2)],_0xd4d077[_0x2c1a53(0x3ed)],_0xd4d077[_0x2c1a53(0x2c0)],_0xd4d077[_0x2c1a53(0x337)],_0xd4d077['UniverEngineRender'],_0xd4d077[_0x2c1a53(0x405)],_0xd4d077[_0x2c1a53(0x2e4)],_0xd4d077[_0x2c1a53(0x3e4)],_0xd4d077[_0x2c1a53(0x213)],_0xd4d077[_0x2c1a53(0x47b)],_0xd4d077['UniverEngineFormula'],_0xd4d077[_0x2c1a53(0x2e9)][_0x2c1a53(0x2f6)],_0xd4d077[_0x2c1a53(0x269)]));}(this,function(_0x44b1a7,_0x89e71e,_0x3fe1f0,_0x39304f,_0x4c3b5c,_0x404575,_0x31598f,_0x13ddda,_0x256d9b,_0x3203ce,_0x46a3bd,_0x4e0fb2,_0x2abae2,_0x389a81,_0x560361,_0x59af06,_0x284237,_0x11a31a,_0x5ee9c5){'use strict';const _0x5de549=_0x48a1;var _0x28f531=Object[_0x5de549(0x412)],_0xeb5bc4=(_0x2733a3,_0x41b2d4,_0x2d1c3c)=>_0x41b2d4 in _0x2733a3?_0x28f531(_0x2733a3,_0x41b2d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d1c3c}):_0x2733a3[_0x41b2d4]=_0x2d1c3c,_0x41fabe=(_0x5acffd,_0x4ebf5c,_0x312e32)=>_0xeb5bc4(_0x5acffd,typeof _0x4ebf5c!=_0x5de549(0x277)?_0x4ebf5c+'':_0x4ebf5c,_0x312e32);function _0x5a6335({ref:_0x5983e8,..._0x1b53bb}){const _0x490bb7=_0x5de549,{icon:_0x557ba5,id:_0x434f45,className:_0x1be508,extend:_0x52e838,..._0x500606}=_0x1b53bb,_0x54f7a1=(_0x490bb7(0x450)+_0x434f45+'\x20'+(_0x1be508||''))[_0x490bb7(0x27a)](),_0x5e7743=_0x13ddda[_0x490bb7(0x27b)]('_'+_0x3b89e2());return _0x3b00c8(_0x557ba5,''+_0x434f45,{'defIds':_0x557ba5[_0x490bb7(0x417)],'idSuffix':_0x5e7743['current']},{'ref':_0x5983e8,'className':_0x54f7a1,..._0x500606},_0x52e838);}function _0x3b00c8(_0x26274b,_0x290b1c,_0x3c26de,_0x5661d8,_0x397cf7){const _0x5c6126=_0x5de549;return _0x13ddda['createElement'](_0x26274b[_0x5c6126(0x483)],{'key':_0x290b1c,..._0x4f9e0c(_0x26274b,_0x3c26de,_0x397cf7),..._0x5661d8},(_0x120f5f(_0x26274b,_0x3c26de)[_0x5c6126(0x497)]||[])[_0x5c6126(0x309)]((_0x17c1e5,_0x8db2f7)=>_0x3b00c8(_0x17c1e5,_0x290b1c+'-'+_0x26274b[_0x5c6126(0x483)]+'-'+_0x8db2f7,_0x3c26de,void 0x0,_0x397cf7)));}function _0x4f9e0c(_0x4dab37,_0x278bbd,_0x5ea664){const _0xf1e258=_0x5de549,_0x1002ea={..._0x4dab37['attrs']};_0x5ea664!=null&&_0x5ea664[_0xf1e258(0x30c)]&&_0x1002ea[_0xf1e258(0x402)]==='colorChannel1'&&(_0x1002ea[_0xf1e258(0x402)]=_0x5ea664[_0xf1e258(0x30c)]),_0x4dab37[_0xf1e258(0x483)]===_0xf1e258(0x292)&&_0x1002ea['id']&&(_0x1002ea['id']=_0x1002ea['id']+_0x278bbd[_0xf1e258(0x336)]),Object[_0xf1e258(0x400)](_0x1002ea)[_0xf1e258(0x22a)](([_0x53cc8a,_0x35906d])=>{const _0x5a4df8=_0xf1e258;_0x53cc8a===_0x5a4df8(0x292)&&typeof _0x35906d==_0x5a4df8(0x1cd)&&(_0x1002ea[_0x53cc8a]=_0x35906d['replace'](/url\(#(.*)\)/,'url(#$1'+_0x278bbd[_0x5a4df8(0x336)]+')'));});const {defIds:_0xc96725}=_0x278bbd;return!_0xc96725||_0xc96725[_0xf1e258(0x3b7)]===0x0||(_0x4dab37['tag']===_0xf1e258(0x313)&&_0x1002ea[_0xf1e258(0x3e3)]&&(_0x1002ea[_0xf1e258(0x3e3)]=_0x1002ea[_0xf1e258(0x3e3)]+_0x278bbd[_0xf1e258(0x336)]),Object['entries'](_0x1002ea)[_0xf1e258(0x22a)](([_0x372105,_0x8d17f1])=>{const _0x160136=_0xf1e258;typeof _0x8d17f1==_0x160136(0x1cd)&&(_0x1002ea[_0x372105]=_0x8d17f1[_0x160136(0x1dd)](/url\(#(.*)\)/,_0x160136(0x3cb)+_0x278bbd['idSuffix']+')'));})),_0x1002ea;}function _0x120f5f(_0x3ce3c3,_0xd70c4f){const _0x295a7c=_0x5de549;var _0x154b3e;const {defIds:_0x539ae8}=_0xd70c4f;return!_0x539ae8||_0x539ae8['length']===0x0?_0x3ce3c3:_0x3ce3c3[_0x295a7c(0x483)]===_0x295a7c(0x463)&&((_0x154b3e=_0x3ce3c3[_0x295a7c(0x497)])!=null&&_0x154b3e['length'])?{..._0x3ce3c3,'children':_0x3ce3c3[_0x295a7c(0x497)]['map'](_0x2010cc=>typeof _0x2010cc[_0x295a7c(0x454)]['id']==_0x295a7c(0x1cd)&&_0x539ae8&&_0x539ae8[_0x295a7c(0x410)](_0x2010cc[_0x295a7c(0x454)]['id'])?{..._0x2010cc,'attrs':{..._0x2010cc['attrs'],'id':_0x2010cc['attrs']['id']+_0xd70c4f['idSuffix']}}:_0x2010cc)}:_0x3ce3c3;}function _0x3b89e2(){const _0x18975c=_0x5de549;return Math[_0x18975c(0x46c)]()[_0x18975c(0x492)](0x24)[_0x18975c(0x301)](0x2,0x8);}_0x5a6335[_0x5de549(0x3bd)]='UniverIcon';const _0x343eae={'tag':_0x5de549(0x2a1),'attrs':{'xmlns':_0x5de549(0x2a9),'fill':'none','viewBox':_0x5de549(0x31f),'width':_0x5de549(0x2f5),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5de549(0x389)},'children':[{'tag':_0x5de549(0x2f3),'attrs':{'stroke':_0x5de549(0x46a),'d':_0x5de549(0x4a9),'strokeLinecap':_0x5de549(0x3bb),'strokeLinejoin':_0x5de549(0x3bb),'strokeWidth':1.2}}]},{'tag':_0x5de549(0x463),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5de549(0x3ec)},'children':[{'tag':_0x5de549(0x2f3),'attrs':{'fill':_0x5de549(0x392),'d':_0x5de549(0x375)}}]}]}],'defIds':[_0x5de549(0x3ec)]},_0x2bc78d=_0x13ddda[_0x5de549(0x234)](function(_0x40a036,_0x29d2be){const _0x579388=_0x5de549;return _0x13ddda[_0x579388(0x45e)](_0x5a6335,Object[_0x579388(0x283)]({},_0x40a036,{'id':_0x579388(0x3d3),'ref':_0x29d2be,'icon':_0x343eae}));});_0x2bc78d[_0x5de549(0x3bd)]=_0x5de549(0x2a2);const _0x181b5c={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x5de549(0x217),'width':_0x5de549(0x2f5),'height':_0x5de549(0x2f5)},'children':[{'tag':'g','attrs':{'clipPath':_0x5de549(0x233)},'children':[{'tag':_0x5de549(0x2f3),'attrs':{'stroke':_0x5de549(0x46a),'d':_0x5de549(0x232),'strokeLinecap':_0x5de549(0x3bb),'strokeLinejoin':_0x5de549(0x3bb),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5de549(0x2f3),'attrs':{'fill':'white','d':_0x5de549(0x375),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5c0237=_0x13ddda[_0x5de549(0x234)](function(_0x43c65,_0x42df77){const _0x3e76cb=_0x5de549;return _0x13ddda['createElement'](_0x5a6335,Object[_0x3e76cb(0x283)]({},_0x43c65,{'id':_0x3e76cb(0x478),'ref':_0x42df77,'icon':_0x181b5c}));});_0x5c0237[_0x5de549(0x3bd)]=_0x5de549(0x1e4);function _0x19e725(_0x1d9633){const _0x159eb4=_0x5de549;switch(_0x1d9633){case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x327)]:return _0x159eb4(0x220);case _0x3fe1f0['CollaborationStatus']['CONFLICT']:return _0x159eb4(0x4a0);case _0x3fe1f0['CollaborationStatus'][_0x159eb4(0x2ef)]:return _0x159eb4(0x1fc);case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x475)]:return _0x159eb4(0x2aa);case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x2cd)]:case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x2e2)]:return _0x159eb4(0x216);case _0x3fe1f0['CollaborationStatus'][_0x159eb4(0x2a5)]:case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x363)]:return _0x159eb4(0x276);}}function _0x15d907(_0x511b81){const _0x404306=_0x5de549,{status$:_0x35106c}=_0x511b81,_0x1b1f2d=_0x4c3b5c[_0x404306(0x33c)](_0x35106c,_0x3fe1f0[_0x404306(0x329)][_0x404306(0x475)]),_0x1603f2=_0x4c3b5c[_0x404306(0x3d1)](_0x39304f[_0x404306(0x3f4)]),_0x5e4aad=_0x4c3b5c['useDependency'](_0x3fe1f0['CollaborationSessionService']),_0x1e0d9a=_0x1b1f2d!==_0x3fe1f0['CollaborationStatus'][_0x404306(0x327)],_0x4539da=_0x1603f2['t'](_0x19e725(_0x1b1f2d)),_0x4b059e=_0x1e0d9a?_0x89e71e['jsx'](_0x5c0237,{}):_0x89e71e[_0x404306(0x460)](_0x2bc78d,{}),_0x5d6804=_0x13ddda['useCallback'](()=>{const _0x59beb7=_0x404306;_0x1e0d9a||_0x5e4aad[_0x59beb7(0x1b3)]();},[_0x1e0d9a,_0x5e4aad]);function _0xc6b601(){const _0x3ef2ac=_0x404306;return _0x89e71e[_0x3ef2ac(0x20d)]('div',{'className':_0x3ef2ac(0x2e0),'onClick':_0x5d6804,'children':[_0x89e71e[_0x3ef2ac(0x460)](_0x3ef2ac(0x359),{'className':_0x31598f[_0x3ef2ac(0x409)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1e0d9a,'univer-text-red-500':!_0x1e0d9a}),'children':_0x4b059e}),_0x89e71e[_0x3ef2ac(0x460)](_0x3ef2ac(0x359),{'className':_0x3ef2ac(0x489),'children':_0x4539da})]});}return _0x1e0d9a?_0xc6b601():_0x89e71e['jsx'](_0x31598f[_0x404306(0x3d2)],{'title':_0x1603f2['t'](_0x404306(0x268)),'children':_0xc6b601()});}var _0x2782bb=Object[_0x5de549(0x49f)],_0x172f07=(_0x2f8ea9,_0x42f4c9,_0xb09d29,_0x3e3cc2)=>{const _0x17cba1=_0x5de549;for(var _0x5a1a0c=_0x3e3cc2>0x1?void 0x0:_0x3e3cc2?_0x2782bb(_0x42f4c9,_0xb09d29):_0x42f4c9,_0x4d00b7=_0x2f8ea9[_0x17cba1(0x3b7)]-0x1,_0x2ba80b;_0x4d00b7>=0x0;_0x4d00b7--)(_0x2ba80b=_0x2f8ea9[_0x4d00b7])&&(_0x5a1a0c=_0x2ba80b(_0x5a1a0c)||_0x5a1a0c);return _0x5a1a0c;},_0x2ef9d2=(_0x1c68b5,_0x50f188)=>(_0x388ff8,_0x178ce4)=>_0x50f188(_0x388ff8,_0x178ce4,_0x1c68b5);_0x44b1a7['DesktopCollaborationStatusDisplayController']=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x9d4c5e,_0x4e52f0,_0x45af5d,_0x53a7da){const _0x5dd0af=_0x5de549;super(),_0x41fabe(this,_0x5dd0af(0x2e8),new _0x404575[(_0x5dd0af(0x25b))](_0x3fe1f0[_0x5dd0af(0x329)][_0x5dd0af(0x475)])),(this['_univerInstanceService']=_0x9d4c5e,this['_injector']=_0x4e52f0,this[_0x5dd0af(0x1fd)]=_0x45af5d,this[_0x5dd0af(0x30a)]=_0x53a7da,this['_initStatusComponent'](),this[_0x5dd0af(0x1b4)]());}[_0x5de549(0x1b4)](){const _0x2b536a=_0x5de549;this['disposeWithMe'](this[_0x2b536a(0x26e)][_0x2b536a(0x29c)][_0x2b536a(0x498)](_0x404575['switchMap'](()=>{const _0x4e64b3=_0x2b536a,_0x4cdc61=this['_univerInstanceService'][_0x4e64b3(0x3ae)]();return _0x4cdc61?this[_0x4e64b3(0x1fd)][_0x4e64b3(0x3a5)](_0x4cdc61[_0x4e64b3(0x41e)]()):_0x404575['of'](null);}),_0x404575[_0x2b536a(0x287)](_0x2bf472=>_0x2bf472?_0x2bf472[_0x2b536a(0x240)]:_0x404575['of'](_0x3fe1f0[_0x2b536a(0x329)][_0x2b536a(0x475)])))[_0x2b536a(0x38e)](_0x169db7=>{const _0x718656=_0x2b536a;this[_0x718656(0x2e8)][_0x718656(0x345)](_0x169db7);}));}['_initStatusComponent'](){const _0x1445a4=_0x5de549;this['disposeWithMe'](this[_0x1445a4(0x30a)][_0x1445a4(0x40c)](_0x4c3b5c['BuiltInUIPart'][_0x1445a4(0x40d)],()=>_0x4c3b5c[_0x1445a4(0x351)](_0x10ae48({'status$':this[_0x1445a4(0x2e8)]['asObservable']()}),this[_0x1445a4(0x31d)])));}},_0x44b1a7['DesktopCollaborationStatusDisplayController']=_0x172f07([_0x2ef9d2(0x0,_0x39304f[_0x5de549(0x2cc)]),_0x2ef9d2(0x1,_0x39304f[_0x5de549(0x356)](_0x39304f['Injector'])),_0x2ef9d2(0x2,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x28d)])),_0x2ef9d2(0x3,_0x4c3b5c[_0x5de549(0x2e3)])],_0x44b1a7['DesktopCollaborationStatusDisplayController']);function _0x10ae48(_0x337431){const {status$:_0x346179}=_0x337431;return function(){const _0x30f706=_0x48a1;return _0x89e71e[_0x30f706(0x460)](_0x15d907,{'status$':_0x346179});};}const _0x4d8922=_0x39304f[_0x5de549(0x221)](_0x5de549(0x3b6));var _0x57b2b1=Object[_0x5de549(0x49f)],_0x2c13d4=(_0x4713ca,_0x19cb17,_0x3a42ec,_0x4cc95d)=>{const _0x41e5f7=_0x5de549;for(var _0x1fe1ed=_0x4cc95d>0x1?void 0x0:_0x4cc95d?_0x57b2b1(_0x19cb17,_0x3a42ec):_0x19cb17,_0x30dac4=_0x4713ca[_0x41e5f7(0x3b7)]-0x1,_0x5457d8;_0x30dac4>=0x0;_0x30dac4--)(_0x5457d8=_0x4713ca[_0x30dac4])&&(_0x1fe1ed=_0x5457d8(_0x1fe1ed)||_0x1fe1ed);return _0x1fe1ed;},_0x7cdaa=(_0xae5d12,_0x257faf)=>(_0x502f07,_0x34f8c9)=>_0x257faf(_0x502f07,_0x34f8c9,_0xae5d12);_0x44b1a7[_0x5de549(0x315)]=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x491a08,_0x290500,_0x16efd3,_0x5705e6,_0x487e3f){const _0x152e86=_0x5de549;super(),this[_0x152e86(0x321)]=_0x491a08,this[_0x152e86(0x43a)]=_0x290500,this[_0x152e86(0x33e)]=_0x16efd3,this[_0x152e86(0x31c)]=_0x5705e6,_0x487e3f?_0x487e3f==null||_0x487e3f[_0x152e86(0x383)]()[_0x152e86(0x2f8)](()=>this[_0x152e86(0x48f)]()):(this['_logService'][_0x152e86(0x45b)]('[CollaborationDataLoaderController]',_0x152e86(0x24b)),this[_0x152e86(0x48f)]());}async['_init'](){const _0x3029a7=_0x5de549,_0x35fadc=this[_0x3029a7(0x321)]['getParam']('unit'),_0xf4bb82=this[_0x3029a7(0x321)]['getParam']('type'),_0x3cf74d=this[_0x3029a7(0x321)]['getParam']('subunit');if(!_0x35fadc||!_0xf4bb82){this[_0x3029a7(0x43a)]['debug'](_0x3029a7(0x1a6),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4b3782=await this[_0x3029a7(0x31c)]['loadUnit'](_0x35fadc,Number(_0xf4bb82),_0x3cf74d);_0x4b3782&&_0x4b3782 instanceof _0x39304f[_0x3029a7(0x2b6)]&&this[_0x3029a7(0x3df)](_0x4b3782);}async[_0x5de549(0x3df)](_0x4133d9){const _0x54b59d=_0x5de549;await this[_0x54b59d(0x456)](_0x4133d9),_0x4133d9[_0x54b59d(0x31a)][_0x54b59d(0x498)](_0x404575[_0x54b59d(0x387)](this[_0x54b59d(0x241)]))[_0x54b59d(0x38e)](_0x28e88e=>{const _0x4efb4c=_0x54b59d;_0x28e88e&&this[_0x4efb4c(0x1a5)](_0x28e88e);}),this[_0x54b59d(0x321)]['urlChange$']['pipe'](_0x404575[_0x54b59d(0x387)](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4133d9));}['_updateURLWithCurrentState'](_0x2bdbf7,_0x15645a=!0x1){const _0x314741=_0x5de549,_0x210265=this[_0x314741(0x321)][_0x314741(0x350)](_0x314741(0x28a));_0x2bdbf7[_0x314741(0x308)]()!==_0x210265&&this[_0x314741(0x321)][_0x314741(0x374)]('subunit',_0x2bdbf7['getSheetId'](),_0x15645a);}async[_0x5de549(0x456)](_0x20347b){const _0x37baf1=_0x5de549;var _0x581549;const _0x77f874=this[_0x37baf1(0x321)]['getParam'](_0x37baf1(0x28a));if(!_0x77f874||!_0x20347b[_0x37baf1(0x296)](_0x77f874)){const _0xb2cc7c=_0x20347b[_0x37baf1(0x239)]()[0x0],_0xe42655=_0x20347b[_0x37baf1(0x296)](_0xb2cc7c);if(!_0xe42655)return;this[_0x37baf1(0x1a5)](_0xe42655,!0x0),await this[_0x37baf1(0x33e)][_0x37baf1(0x275)](_0x3203ce[_0x37baf1(0x264)]['id'],{'unitId':_0x20347b[_0x37baf1(0x41e)](),'subUnitId':_0xb2cc7c});return;}((_0x581549=_0x20347b[_0x37baf1(0x2e1)]())==null?void 0x0:_0x581549[_0x37baf1(0x308)]())!==_0x77f874&&await this[_0x37baf1(0x33e)][_0x37baf1(0x275)](_0x3203ce['SetWorksheetActivateCommand']['id'],{'unitId':_0x20347b[_0x37baf1(0x41e)](),'subUnitId':_0x77f874});}},_0x44b1a7[_0x5de549(0x315)]=_0x2c13d4([_0x7cdaa(0x0,_0x4d8922),_0x7cdaa(0x1,_0x39304f['ILogService']),_0x7cdaa(0x2,_0x39304f[_0x5de549(0x3bf)]),_0x7cdaa(0x3,_0x39304f['Inject'](_0x3fe1f0[_0x5de549(0x207)])),_0x7cdaa(0x4,_0x39304f[_0x5de549(0x24c)](_0x256d9b[_0x5de549(0x487)]))],_0x44b1a7[_0x5de549(0x315)]);var _0x3c4fad=Object['getOwnPropertyDescriptor'],_0x2b952c=(_0x648ea9,_0x557039,_0x274d8d,_0x18fb20)=>{const _0x241925=_0x5de549;for(var _0x3182db=_0x18fb20>0x1?void 0x0:_0x18fb20?_0x3c4fad(_0x557039,_0x274d8d):_0x557039,_0x1d0be2=_0x648ea9[_0x241925(0x3b7)]-0x1,_0x4f3e33;_0x1d0be2>=0x0;_0x1d0be2--)(_0x4f3e33=_0x648ea9[_0x1d0be2])&&(_0x3182db=_0x4f3e33(_0x3182db)||_0x3182db);return _0x3182db;},_0x3c0f37=(_0x5a1f75,_0x3916ee)=>(_0x506672,_0x370ffd)=>_0x3916ee(_0x506672,_0x370ffd,_0x5a1f75);let _0x171e0f=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x364fcf,_0x38b9d8){const _0x402ad5=_0x5de549;super(),this['_docClipboardService']=_0x364fcf,this[_0x402ad5(0x473)]=_0x38b9d8,this[_0x402ad5(0x48f)]();}[_0x5de549(0x48f)](){const _0x231316=_0x5de549,_0x1b0d45=this;this[_0x231316(0x24e)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x48031a=>{const _0x196072=_0x231316,_0x286f51=await _0x1b0d45[_0x196072(0x473)][_0x196072(0x3d8)](_0x48031a);return _0x286f51?{'source':_0x286f51[_0x196072(0x26f)],'imageSourceType':_0x286f51[_0x196072(0x304)]}:null;}}));}};_0x171e0f=_0x2b952c([_0x3c0f37(0x0,_0x2abae2[_0x5de549(0x396)]),_0x3c0f37(0x1,_0x389a81[_0x5de549(0x300)])],_0x171e0f);const _0x184156=[_0x5de549(0x23b),_0x5de549(0x480),'green.600','red.300',_0x5de549(0x420),_0x5de549(0x481)];class _0x34f587 extends _0x39304f[_0x5de549(0x1ba)]{constructor(){const _0x393454=_0x5de549;super(...arguments),_0x41fabe(this,_0x393454(0x3a8),new Map()),_0x41fabe(this,_0x393454(0x2c2),0x0);}[_0x5de549(0x21f)](_0x1f22d0){const _0xfed589=_0x5de549;if(this[_0xfed589(0x3a8)][_0xfed589(0x3f7)](_0x1f22d0))return this['_assignedColors'][_0xfed589(0x1c0)](_0x1f22d0);const _0x91c12b=_0x184156[this['_colorIndex']];return this[_0xfed589(0x2c2)]=(this[_0xfed589(0x2c2)]+0x1)%_0x184156['length'],this[_0xfed589(0x3a8)][_0xfed589(0x361)](_0x1f22d0,_0x91c12b),_0x91c12b;}}function _0x439a24(_0x259630){const _0x4da925=_0x5de549;let _0x3daa07='';for(const _0x436e67 of _0x259630){const {startOffset:_0x4652c5,endOffset:_0x2f99d4,isActive:_0x252a20,rangeType:_0x5c65c8,segmentId:_0x36eab7,segmentPage:_0x55d4e3}=_0x436e67;_0x3daa07[_0x4da925(0x3b7)]&&(_0x3daa07+=','),_0x3daa07+=_0x4652c5+':'+_0x2f99d4+':'+(_0x252a20?'1':'0')+':'+_0x5c65c8+':'+_0x36eab7+':'+_0x55d4e3;}return _0x3daa07;}function _0x170153(_0x1644a8){const _0x25a4cd=_0x5de549,_0x363718=_0x1644a8[_0x25a4cd(0x46f)](','),_0x19f8b6=[];for(const _0x327288 of _0x363718){const [_0x468207,_0x7a3396,_0x20faf0,_0x4c8c1c,_0x220a71,_0x4e214c]=_0x327288[_0x25a4cd(0x46f)](':');_0x19f8b6[_0x25a4cd(0x44d)]({'startOffset':Number(_0x468207),'endOffset':Number(_0x7a3396),'collapsed':_0x468207===_0x7a3396,'isActive':_0x20faf0==='1','rangeType':_0x4c8c1c===_0x39304f[_0x25a4cd(0x431)][_0x25a4cd(0x49a)]?_0x39304f[_0x25a4cd(0x431)][_0x25a4cd(0x49a)]:_0x39304f[_0x25a4cd(0x431)][_0x25a4cd(0x1b1)],'segmentId':typeof _0x220a71==_0x25a4cd(0x1cd)?String(_0x220a71):'','segmentPage':Number(_0x4e214c!=null?_0x4e214c:-0x1)});}return _0x19f8b6[_0x25a4cd(0x34f)](_0x36fd55=>_0x36fd55[_0x25a4cd(0x453)])||(_0x19f8b6[0x0][_0x25a4cd(0x453)]=!0x0),_0x19f8b6;}class _0x4c3a54 extends _0x39304f[_0x5de549(0x423)]{constructor(){const _0x818271=_0x5de549;super(...arguments),_0x41fabe(this,_0x818271(0x486),new _0x404575['BehaviorSubject'](null)),_0x41fabe(this,_0x818271(0x2c1),this[_0x818271(0x486)][_0x818271(0x2a6)]());}[_0x5de549(0x3e0)](_0x4487cb){const _0x20cda3=_0x5de549,{unitID:_0x1776b4,memberID:_0x419375,textRanges:_0x2c24ce}=_0x4487cb,_0x4c0a75=_0x439a24(_0x2c24ce);if(_0x4c0a75==='')return;const _0x2851ab={'unitID':_0x1776b4,'memberID':_0x419375,'selection':_0x4c0a75};this['_collabCursorState$'][_0x20cda3(0x345)](_0x2851ab);}}var _0x4b039e=Object[_0x5de549(0x49f)],_0x2b4f16=(_0x1ee426,_0x343cde,_0x51c387,_0x4a3382)=>{for(var _0x2f4148=_0x4a3382>0x1?void 0x0:_0x4a3382?_0x4b039e(_0x343cde,_0x51c387):_0x343cde,_0x2057a0=_0x1ee426['length']-0x1,_0x5ab883;_0x2057a0>=0x0;_0x2057a0--)(_0x5ab883=_0x1ee426[_0x2057a0])&&(_0x2f4148=_0x5ab883(_0x2f4148)||_0x2f4148);return _0x2f4148;},_0x25a220=(_0x4229ee,_0x3dd898)=>(_0x4a4d69,_0x18e7e8)=>_0x3dd898(_0x4a4d69,_0x18e7e8,_0x4229ee);const _0x50d76f=0x12c,_0x579577=0x64;let _0x427717=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x5cc96f,_0x511f38,_0x3c7219,_0x4ebb82,_0x2ed724,_0x5a3b98,_0x4f25d1,_0x257482,_0x2c5807){const _0x5dc9b2=_0x5de549;super(),_0x41fabe(this,_0x5dc9b2(0x1b7),!0x1),_0x41fabe(this,'_init',!0x1),_0x41fabe(this,_0x5dc9b2(0x35f),new _0x404575['BehaviorSubject'](new Map())),_0x41fabe(this,_0x5dc9b2(0x2af),this[_0x5dc9b2(0x35f)]['asObservable']()),_0x41fabe(this,'_roomMembers$',new _0x404575['BehaviorSubject']([])),_0x41fabe(this,_0x5dc9b2(0x35e),this[_0x5dc9b2(0x376)][_0x5dc9b2(0x498)](_0x404575['debounceTime'](_0x50d76f))),_0x41fabe(this,_0x5dc9b2(0x1dc),_0x39304f[_0x5dc9b2(0x484)](_0x9b4cd6=>{const _0xdb5b0e=_0x5dc9b2,_0x123dd5={'eventID':_0x560361[_0xdb5b0e(0x1da)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0xdb5b0e(0x1af)](),'selection':_0x439a24(_0x9b4cd6)}};this['_session'][_0xdb5b0e(0x200)](_0x123dd5,this['unitID']);},_0x579577)),(this[_0x5dc9b2(0x42f)]=_0x5cc96f,this[_0x5dc9b2(0x422)]=_0x511f38,this[_0x5dc9b2(0x31d)]=_0x3c7219,this[_0x5dc9b2(0x1c7)]=_0x4ebb82,this[_0x5dc9b2(0x413)]=_0x2ed724,this[_0x5dc9b2(0x45a)]=_0x5a3b98,this[_0x5dc9b2(0x403)]=_0x4f25d1,this['_univerInstanceService']=_0x257482,this[_0x5dc9b2(0x33e)]=_0x2c5807);}get[_0x5de549(0x3d7)](){const _0x6b97ed=_0x5de549;return this['_cursorInfo$'][_0x6b97ed(0x3fc)]();}get[_0x5de549(0x2a8)](){const _0x228bd5=_0x5de549;return this[_0x228bd5(0x376)]['getValue']();}['dispose'](){const _0x358f2f=_0x5de549;super[_0x358f2f(0x2c3)](),this[_0x358f2f(0x35f)][_0x358f2f(0x345)](new Map()),this['_cursorInfo$']['complete'](),this[_0x358f2f(0x376)]['next']([]),this[_0x358f2f(0x376)][_0x358f2f(0x2d4)]();}[_0x5de549(0x482)](){const _0x5f2253=_0x5de549;this[_0x5f2253(0x48f)]||(this[_0x5f2253(0x48f)]=!0x0,this['_session'][_0x5f2253(0x34c)]['pipe'](_0x404575[_0x5f2253(0x387)](this['dispose$']))[_0x5f2253(0x38e)](_0x10ba68=>{const _0xdd6168=_0x5f2253;_0x10ba68===_0x3fe1f0[_0xdd6168(0x434)]['ONLINE']?this[_0xdd6168(0x34e)]():this['_toggleOffline']();}),this[_0x5f2253(0x422)]['event$']['pipe'](_0x404575[_0x5f2253(0x387)](this[_0x5f2253(0x241)]))[_0x5f2253(0x38e)](_0x354de2=>{const _0x4fc56c=_0x5f2253,_0xdfa53=_0x354de2[_0x4fc56c(0x3f2)];_0xdfa53===_0x560361[_0x4fc56c(0x1da)][_0x4fc56c(0x2db)]&&this['_onCursorUpdate'](_0x354de2),_0xdfa53===_0x560361[_0x4fc56c(0x1da)][_0x4fc56c(0x4a5)]&&this[_0x4fc56c(0x346)](_0x354de2);}),this['disposeWithMe'](this[_0x5f2253(0x33e)]['onCommandExecuted'](_0x293813=>{const _0x2b5a7f=_0x5f2253,_0x4fc6b1=_0x293813[_0x2b5a7f(0x448)];_0x4fc6b1!=null&&this[_0x2b5a7f(0x1b7)]&&_0x293813['id']===_0x59af06[_0x2b5a7f(0x488)]['id']&&_0x4fc6b1[_0x2b5a7f(0x2fb)]===this[_0x2b5a7f(0x42f)]&&_0x4fc6b1[_0x2b5a7f(0x2f1)]===!0x1&&_0x4fc6b1[_0x2b5a7f(0x3a0)][_0x2b5a7f(0x3b7)]>0x0&&this[_0x2b5a7f(0x1dc)](_0x4fc6b1['ranges']);})),this[_0x5f2253(0x45a)][_0x5f2253(0x2c1)][_0x5f2253(0x498)](_0x404575[_0x5f2253(0x387)](this['dispose$']))['subscribe'](_0x10bf48=>{const _0x4fad2e=_0x5f2253;if((_0x10bf48==null?void 0x0:_0x10bf48[_0x4fad2e(0x42f)])!==this[_0x4fad2e(0x42f)])return;const _0x1599b2={'eventID':_0x560361[_0x4fad2e(0x1da)][_0x4fad2e(0x2db)],'data':_0x10bf48};this[_0x4fad2e(0x44b)](_0x1599b2);}),this['disposeWithMe'](this[_0x5f2253(0x33e)][_0x5f2253(0x2fd)](_0x52ddde=>{const _0x4ed14b=_0x5f2253;if(_0x52ddde[_0x4ed14b(0x448)]==null)return;const _0x1cd317=_0x52ddde[_0x4ed14b(0x448)];if(_0x52ddde['id']!==_0x59af06[_0x4ed14b(0x2f4)]['id']||_0x1cd317[_0x4ed14b(0x2fb)]!==this['unitID'])return;const _0x52a4a0={'id':'doc.mutation.rich-text-editing','params':_0x1cd317},_0x305405=this[_0x4ed14b(0x3d7)];for(const [_0x141407,_0x4d98b9]of _0x305405){const _0x2a9b3e={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4ed14b(0x42f)],'actions':null,'textRanges':_0x4d98b9[_0x4ed14b(0x3a0)]}},_0x8bc51a=this[_0x4ed14b(0x403)]['transformMutation'](_0x52a4a0,_0x2a9b3e,!0x1);if(_0x560361['isTransformMutationFailure'](_0x8bc51a))throw _0x8bc51a[_0x4ed14b(0x2ee)];_0x305405['set'](_0x141407,{..._0x4d98b9,'ranges':_0x8bc51a[_0x4ed14b(0x1e0)][_0x4ed14b(0x448)]['textRanges']});}queueMicrotask(()=>{const _0x5ab3df=_0x4ed14b;this[_0x5ab3df(0x35f)]['next'](_0x305405);});})));}[_0x5de549(0x44b)](_0x13ee69){const _0x46ee3e=_0x5de549;var _0x33b71b,_0x1086ed;const {memberID:_0x518804,selection:_0x282b69}=_0x13ee69[_0x46ee3e(0x298)],_0x11c1d0=_0x170153(_0x282b69),_0x6bc7fd=(_0x1086ed=(_0x33b71b=this[_0x46ee3e(0x413)][_0x46ee3e(0x1de)](this[_0x46ee3e(0x42f)],_0x518804))==null?void 0x0:_0x33b71b[_0x46ee3e(0x231)])!=null?_0x1086ed:_0x46ee3e(0x490),_0x48f595={'color':this[_0x46ee3e(0x1c7)][_0x46ee3e(0x21f)](_0x518804),'name':_0x6bc7fd,'ranges':_0x11c1d0},_0x4ec7c4=this['cursorInfo'];_0x4ec7c4['set'](_0x518804,_0x48f595),this[_0x46ee3e(0x35f)][_0x46ee3e(0x345)](_0x4ec7c4);}[_0x5de549(0x346)](_0x57b3f9){const _0x2caa1e=_0x5de549,{memberID:_0x3d29e7}=_0x57b3f9[_0x2caa1e(0x298)],_0x2a72f6=this['cursorInfo'];_0x2a72f6[_0x2caa1e(0x421)](_0x3d29e7),this[_0x2caa1e(0x35f)][_0x2caa1e(0x345)](_0x2a72f6);}[_0x5de549(0x34e)](){const _0x23935e=_0x5de549;var _0x3c9e8b;if(this[_0x23935e(0x1b7)]=!0x0,((_0x3c9e8b=this[_0x23935e(0x26e)]['getFocusedUnit']())==null?void 0x0:_0x3c9e8b[_0x23935e(0x41e)]())!==this[_0x23935e(0x42f)])return;const _0x237f6a=this[_0x23935e(0x31d)][_0x23935e(0x1c0)](_0x59af06[_0x23935e(0x20c)])[_0x23935e(0x1e6)]();Array['isArray'](_0x237f6a)&&_0x237f6a[_0x23935e(0x3b7)]>0x0&&this['_updateLocalCursor'](_0x237f6a);}[_0x5de549(0x430)](){const _0x586f10=_0x5de549;this[_0x586f10(0x1b7)]=!0x1;}};_0x427717=_0x2b4f16([_0x25a220(0x2,_0x39304f[_0x5de549(0x356)](_0x39304f['Injector'])),_0x25a220(0x3,_0x39304f[_0x5de549(0x356)](_0x34f587)),_0x25a220(0x4,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x3f5)])),_0x25a220(0x5,_0x39304f[_0x5de549(0x356)](_0x4c3a54)),_0x25a220(0x6,_0x560361[_0x5de549(0x37e)]),_0x25a220(0x7,_0x39304f[_0x5de549(0x2cc)]),_0x25a220(0x8,_0x39304f['ICommandService'])],_0x427717);var _0x3c3f72=Object[_0x5de549(0x49f)],_0x3089b1=(_0x165894,_0x5cb4e1,_0x550b38,_0x440fb6)=>{const _0x20d186=_0x5de549;for(var _0x366366=_0x440fb6>0x1?void 0x0:_0x440fb6?_0x3c3f72(_0x5cb4e1,_0x550b38):_0x5cb4e1,_0x3530f7=_0x165894[_0x20d186(0x3b7)]-0x1,_0x4b461a;_0x3530f7>=0x0;_0x3530f7--)(_0x4b461a=_0x165894[_0x3530f7])&&(_0x366366=_0x4b461a(_0x366366)||_0x366366);return _0x366366;},_0x14e2e0=(_0xa840ba,_0x65aa15)=>(_0x1a3988,_0x30cbeb)=>_0x65aa15(_0x1a3988,_0x30cbeb,_0xa840ba);const _0x4cbb03=0x12c,_0x124466=0x64,_0x354494=()=>{let _0x22fd9e=[],_0x3c1eed=!0x1;return _0x27656e=>{const _0x5ccbec=_0x48a1;_0x22fd9e[_0x5ccbec(0x44d)](_0x27656e),_0x3c1eed||(_0x3c1eed=!0x0,setTimeout(()=>{_0x22fd9e['forEach'](_0x4915fe=>_0x4915fe()),_0x22fd9e=[],_0x3c1eed=!0x1;}));};};let _0x171417=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x3de082,_0x4bdd02,_0x2ae341,_0x1d6fbf,_0x3a24c3,_0x4add8c,_0x44f8df,_0x3fc5df){const _0x37772f=_0x5de549;super(),_0x41fabe(this,_0x37772f(0x1b7),!0x1),_0x41fabe(this,_0x37772f(0x48f),!0x1),_0x41fabe(this,_0x37772f(0x35f),new _0x404575['BehaviorSubject'](new Map())),_0x41fabe(this,_0x37772f(0x2af),this[_0x37772f(0x35f)][_0x37772f(0x2a6)]()),_0x41fabe(this,_0x37772f(0x376),new _0x404575[(_0x37772f(0x25b))]([])),_0x41fabe(this,_0x37772f(0x35e),this[_0x37772f(0x376)][_0x37772f(0x498)](_0x404575[_0x37772f(0x247)](_0x4cbb03))),_0x41fabe(this,_0x37772f(0x1dc),_0x39304f['debounce']((_0x48d9a3,_0x5c3fa9)=>{const _0x30aca0=_0x37772f,_0x15a49c={'eventID':_0x560361[_0x30aca0(0x1da)][_0x30aca0(0x2db)],'data':{'unitID':this['unitID'],'memberID':this[_0x30aca0(0x422)][_0x30aca0(0x1af)](),'selection':_0x284237['serializeRangeWithSheet'](_0x48d9a3,_0x5c3fa9[_0x30aca0(0x1f6)])}};this['_session']['send'](_0x15a49c,this[_0x30aca0(0x42f)]);},_0x124466)),(this[_0x37772f(0x42f)]=_0x3de082,this[_0x37772f(0x422)]=_0x4bdd02,this[_0x37772f(0x31d)]=_0x2ae341,this['_colorAssignService']=_0x1d6fbf,this[_0x37772f(0x413)]=_0x3a24c3,this[_0x37772f(0x26e)]=_0x4add8c,this['_commandService']=_0x44f8df,this['_refRangeService']=_0x3fc5df);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x5de549(0x2a8)](){const _0x45e3fb=_0x5de549;return this[_0x45e3fb(0x376)][_0x45e3fb(0x3fc)]();}['dispose'](){const _0x170e98=_0x5de549;super[_0x170e98(0x2c3)](),this['_cursorInfo$'][_0x170e98(0x345)](new Map()),this[_0x170e98(0x35f)][_0x170e98(0x2d4)](),this[_0x170e98(0x376)]['next']([]),this[_0x170e98(0x376)]['complete']();}[_0x5de549(0x482)](){const _0x790dae=_0x5de549;this[_0x790dae(0x48f)]||(this[_0x790dae(0x48f)]=!0x0,this['_session'][_0x790dae(0x34c)]['pipe'](_0x404575[_0x790dae(0x387)](this['dispose$']))[_0x790dae(0x38e)](_0x5e6b69=>{const _0x441bd0=_0x790dae;_0x5e6b69===_0x3fe1f0['SessionStatus'][_0x441bd0(0x43d)]?this[_0x441bd0(0x34e)]():this[_0x441bd0(0x430)]();}),this['_session'][_0x790dae(0x2dc)][_0x790dae(0x498)](_0x404575['takeUntil'](this[_0x790dae(0x241)]))['subscribe'](_0x52659c=>{const _0x39973e=_0x790dae,_0x113811=_0x52659c[_0x39973e(0x3f2)];_0x113811===_0x560361[_0x39973e(0x1da)][_0x39973e(0x2db)]&&this[_0x39973e(0x44b)](_0x52659c),_0x113811===_0x560361[_0x39973e(0x1da)][_0x39973e(0x4a5)]&&this[_0x39973e(0x346)](_0x52659c);}),this[_0x790dae(0x2be)](),this[_0x790dae(0x24e)](this[_0x790dae(0x33e)][_0x790dae(0x2fd)](_0x2eded9=>{const _0x4734c0=_0x790dae;if(this[_0x4734c0(0x1b7)]&&_0x2eded9['id']===_0x3203ce[_0x4734c0(0x33b)]['id']&&_0x2eded9['params'][_0x4734c0(0x2fb)]===this['unitID']){const _0x50941a=_0x2eded9[_0x4734c0(0x448)];this[_0x4734c0(0x1dc)](_0x50941a[_0x4734c0(0x330)],_0x50941a[_0x4734c0(0x380)][0x0]);}})));}[_0x5de549(0x44b)](_0x4858de){const _0x55d2aa=_0x5de549;var _0x19c5f8,_0x27c86f;const {memberID:_0x3b3776,selection:_0x592f19}=_0x4858de['data'],{sheetName:_0x5a0a11,range:_0x5eedff}=_0x284237['deserializeRangeWithSheet'](_0x592f19),_0x5ce1a6={'name':(_0x27c86f=(_0x19c5f8=this[_0x55d2aa(0x413)][_0x55d2aa(0x1de)](this[_0x55d2aa(0x42f)],_0x3b3776))==null?void 0x0:_0x19c5f8[_0x55d2aa(0x231)])!=null?_0x27c86f:_0x55d2aa(0x490),'range':this[_0x55d2aa(0x1e1)](_0x5a0a11,_0x5eedff),'sheetID':_0x5a0a11,'color':this[_0x55d2aa(0x1c7)]['assignAColorForMemberID'](_0x3b3776),'selection':_0x592f19},_0x34d223=this[_0x55d2aa(0x3d7)];_0x34d223[_0x55d2aa(0x361)](_0x3b3776,_0x5ce1a6),this[_0x55d2aa(0x35f)]['next'](_0x34d223);}[_0x5de549(0x346)](_0x22ae81){const _0x4cf9d2=_0x5de549,{memberID:_0x595391}=_0x22ae81['data'],_0x42369a=this[_0x4cf9d2(0x3d7)];_0x42369a[_0x4cf9d2(0x421)](_0x595391),this[_0x4cf9d2(0x35f)][_0x4cf9d2(0x345)](_0x42369a);}[_0x5de549(0x1e1)](_0x2f9462,_0x2f0632){const _0xdb392a=_0x5de549;var _0x37c4e9,_0x4ecb91;const _0x4bf17c=(_0x4ecb91=(_0x37c4e9=this['_univerInstanceService'][_0xdb392a(0x2b9)](this['unitID']))==null?void 0x0:_0x37c4e9[_0xdb392a(0x296)](_0x2f9462))==null?void 0x0:_0x4ecb91[_0xdb392a(0x3ba)]();return(_0x4bf17c==null?void 0x0:_0x4bf17c['find'](_0x25a92e=>_0x39304f['Rectangle'][_0xdb392a(0x44a)](_0x25a92e,_0x2f0632)))||_0x2f0632;}[_0x5de549(0x2be)](){const _0x4df4a1=_0x5de549,_0x4f9aae=new _0x39304f[(_0x4df4a1(0x325))](),_0x46bf14=_0x354494(),_0x5b52bf=()=>{const _0x3d0ae0=_0x4df4a1;_0x4f9aae[_0x3d0ae0(0x2c3)]();const _0x39e3c8=(_0x6650e8,_0x32690d,_0x445c19,_0xe3c6ef)=>{const _0x235348=_0x3d0ae0;let _0x599a7b=[];switch(_0x6650e8['id']){case _0x3203ce[_0x235348(0x2f7)]['DeleteRangeMoveLeftCommandId']:{_0x599a7b=_0x3203ce[_0x235348(0x20a)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x1ad)]:{_0x599a7b=_0x3203ce[_0x235348(0x3ee)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x419)]:{_0x599a7b=_0x3203ce[_0x235348(0x27d)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x255)]:{_0x599a7b=_0x3203ce['handleInsertRangeMoveDown'](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x37a)]:{_0x599a7b=_0x3203ce[_0x235348(0x291)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce['EffectRefRangId']['InsertRowCommandId']:{_0x599a7b=_0x3203ce[_0x235348(0x1cb)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x40e)]:{_0x599a7b=_0x3203ce[_0x235348(0x1c9)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x29b)]:{_0x599a7b=_0x3203ce[_0x235348(0x2b3)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x251)]:{_0x599a7b=_0x3203ce[_0x235348(0x3d5)](_0x6650e8,_0xe3c6ef);break;}}const _0x589d86=_0x3203ce['runRefRangeMutations'](_0x599a7b,_0xe3c6ef),_0x4ec50e=this['cursorInfo']['get'](_0x32690d);if(_0x4ec50e&&_0x589d86){const _0x49182b={..._0x4ec50e,'range':_0x589d86};this[_0x235348(0x3d7)]['set'](_0x32690d,_0x49182b),_0x46bf14(()=>{const _0x17d8d1=_0x235348,_0x232a68=this[_0x17d8d1(0x432)][_0x17d8d1(0x219)](_0x589d86,_0x482d1d=>(_0x232a68[_0x17d8d1(0x2c3)](),_0x39e3c8(_0x482d1d,_0x32690d,_0x445c19,_0x589d86)));_0x4f9aae[_0x17d8d1(0x26c)](_0x232a68);});}return{'redos':[],'undos':[]};};this[_0x3d0ae0(0x3d7)][_0x3d0ae0(0x22a)]((_0x35e273,_0x3172bd)=>{const _0x10e45c=_0x3d0ae0,{range:_0x2ddd06,sheetID:_0x1fe7fb}=_0x35e273,_0x33136=this['_refRangeService'][_0x10e45c(0x219)](_0x2ddd06,_0x39bfb2=>(_0x33136['dispose'](),_0x39e3c8(_0x39bfb2,_0x3172bd,_0x1fe7fb,_0x2ddd06)));_0x4f9aae[_0x10e45c(0x26c)](_0x33136);});};this[_0x4df4a1(0x24e)](_0x39304f['toDisposable'](this['_cursorInfo$'][_0x4df4a1(0x38e)](()=>{_0x5b52bf();})));}[_0x5de549(0x34e)](){const _0x1e1ef5=_0x5de549;var _0x4c4330,_0x594a62;if(this[_0x1e1ef5(0x1b7)]=!0x0,((_0x4c4330=this[_0x1e1ef5(0x26e)][_0x1e1ef5(0x3ae)]())==null?void 0x0:_0x4c4330['getUnitId']())!==this[_0x1e1ef5(0x42f)])return;const _0x5920b4=(_0x594a62=this[_0x1e1ef5(0x31d)][_0x1e1ef5(0x1c0)](_0x3203ce[_0x1e1ef5(0x204)])[_0x1e1ef5(0x2f9)]())==null?void 0x0:_0x594a62[0x0],_0x31d54c=this['_univerInstanceService']['getCurrentUnitForType'](_0x39304f[_0x1e1ef5(0x1cf)][_0x1e1ef5(0x211)])['getActiveSheet']();_0x5920b4&&_0x31d54c&&this[_0x1e1ef5(0x1dc)](_0x31d54c[_0x1e1ef5(0x308)](),_0x5920b4);}['_toggleOffline'](){this['_online']=!0x1;}};_0x171417=_0x3089b1([_0x14e2e0(0x2,_0x39304f['Inject'](_0x39304f[_0x5de549(0x2bd)])),_0x14e2e0(0x3,_0x39304f[_0x5de549(0x356)](_0x34f587)),_0x14e2e0(0x4,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x3f5)])),_0x14e2e0(0x5,_0x39304f[_0x5de549(0x2cc)]),_0x14e2e0(0x6,_0x39304f['ICommandService']),_0x14e2e0(0x7,_0x39304f[_0x5de549(0x356)](_0x3203ce[_0x5de549(0x228)]))],_0x171417);var _0x36f971=Object[_0x5de549(0x49f)],_0x4edad9=(_0x459c25,_0x57f159,_0x2faa0f,_0x28faa4)=>{const _0x558189=_0x5de549;for(var _0x579b87=_0x28faa4>0x1?void 0x0:_0x28faa4?_0x36f971(_0x57f159,_0x2faa0f):_0x57f159,_0x3a244a=_0x459c25[_0x558189(0x3b7)]-0x1,_0x2910cc;_0x3a244a>=0x0;_0x3a244a--)(_0x2910cc=_0x459c25[_0x3a244a])&&(_0x579b87=_0x2910cc(_0x579b87)||_0x579b87);return _0x579b87;},_0xc50099=(_0x51fe5a,_0x276257)=>(_0x245ce3,_0x474b71)=>_0x276257(_0x245ce3,_0x474b71,_0x51fe5a);let _0x1af4cc=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x156319,_0x33db77,_0x5a5d4f){const _0x23dff5=_0x5de549;super(),_0x41fabe(this,_0x23dff5(0x360),new Map()),_0x41fabe(this,_0x23dff5(0x3e7),new _0x404575['Subject']()),(this[_0x23dff5(0x26e)]=_0x156319,this['_injector']=_0x33db77,this[_0x23dff5(0x24f)]=_0x5a5d4f,this[_0x23dff5(0x48f)]());}['dispose'](){const _0x323840=_0x5de549;super[_0x323840(0x2c3)](),this['_entityInit$'][_0x323840(0x2d4)](),this[_0x323840(0x360)][_0x323840(0x22a)](_0x33a849=>_0x33a849['dispose']());}[_0x5de549(0x3eb)](_0x2370e8){const _0x43b04a=_0x5de549;return this[_0x43b04a(0x360)][_0x43b04a(0x3f7)](_0x2370e8)?this[_0x43b04a(0x360)][_0x43b04a(0x1c0)](_0x2370e8)[_0x43b04a(0x2af)]:this[_0x43b04a(0x3e7)]['pipe'](_0x404575[_0x43b04a(0x1c6)](_0x2204cf=>_0x2204cf['unitID']===_0x2370e8),_0x404575[_0x43b04a(0x287)](_0x2ae6b2=>_0x2ae6b2[_0x43b04a(0x2af)]));}[_0x5de549(0x48f)](){const _0xb3cfb=_0x5de549;this['_univerInstanceService'][_0xb3cfb(0x364)](_0x39304f['UniverInstanceType'][_0xb3cfb(0x211)])[_0xb3cfb(0x498)](_0x404575['takeUntil'](this['dispose$']))['subscribe'](async _0x41e332=>{const _0x5f2055=_0xb3cfb,_0x525769=_0x41e332['getUnitId'](),_0x5b1c2c=await this[_0x5f2055(0x472)](_0x525769);this[_0x5f2055(0x3e7)]['next'](_0x5b1c2c),this[_0x5f2055(0x360)][_0x5f2055(0x361)](_0x525769,_0x5b1c2c);}),this[_0xb3cfb(0x26e)][_0xb3cfb(0x364)](_0x39304f['UniverInstanceType'][_0xb3cfb(0x418)])[_0xb3cfb(0x498)](_0x404575[_0xb3cfb(0x387)](this[_0xb3cfb(0x241)]))[_0xb3cfb(0x498)](_0x404575[_0xb3cfb(0x1c6)](_0x12324f=>!_0x12324f['getUnitId']()[_0xb3cfb(0x3b2)]('__')))[_0xb3cfb(0x38e)](async _0x1bbb4d=>{const _0x54f3df=_0xb3cfb,_0x5779ad=_0x1bbb4d[_0x54f3df(0x41e)](),_0x3d2b2e=await this[_0x54f3df(0x354)](_0x5779ad);this['_entityInit$'][_0x54f3df(0x345)](_0x3d2b2e),this['_entities']['set'](_0x5779ad,_0x3d2b2e);}),_0x404575[_0xb3cfb(0x394)](this[_0xb3cfb(0x26e)][_0xb3cfb(0x414)](_0x39304f[_0xb3cfb(0x1cf)]['UNIVER_DOC']),this['_univerInstanceService'][_0xb3cfb(0x414)](_0x39304f[_0xb3cfb(0x1cf)]['UNIVER_SHEET']))[_0xb3cfb(0x498)](_0x404575[_0xb3cfb(0x387)](this[_0xb3cfb(0x241)]))[_0xb3cfb(0x38e)](_0x55ad45=>{const _0x5bdbf3=_0xb3cfb,_0x2fd4e6=_0x55ad45[_0x5bdbf3(0x41e)](),_0x1b7f12=this[_0x5bdbf3(0x360)]['get'](_0x2fd4e6);_0x1b7f12&&(_0x1b7f12[_0x5bdbf3(0x2c3)](),this[_0x5bdbf3(0x360)][_0x5bdbf3(0x421)](_0x2fd4e6));});}async[_0x5de549(0x472)](_0xec4fb0){const _0x43da82=_0x5de549,_0x285d01=await this[_0x43da82(0x24f)][_0x43da82(0x2d5)](_0xec4fb0),_0x20b519=this[_0x43da82(0x31d)]['createInstance'](_0x171417,_0xec4fb0,_0x285d01);return _0x20b519['init'](),_0x20b519;}async[_0x5de549(0x354)](_0x3c7e1e){const _0x25a314=_0x5de549,_0x2b49c3=await this[_0x25a314(0x24f)][_0x25a314(0x2d5)](_0x3c7e1e),_0x1e1351=this[_0x25a314(0x31d)]['createInstance'](_0x427717,_0x3c7e1e,_0x2b49c3);return _0x1e1351[_0x25a314(0x482)](),_0x1e1351;}};_0x1af4cc=_0x4edad9([_0xc50099(0x0,_0x39304f[_0x5de549(0x2cc)]),_0xc50099(0x1,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x2bd)])),_0xc50099(0x2,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x22f)]))],_0x1af4cc);const _0xcfdad9=0x14,_0x6bd10f=0xc8,_0x2fc9bb=0x4,_0x57bc63=0x5;function _0x3d96e9(_0xcb2a3d,_0x183d67){const _0x1904d0=_0x5de549;let {radius:_0x97250a,width:_0x479a33,height:_0x5b0c2a}=_0x183d67;_0x97250a=_0x97250a!=null?_0x97250a:0x0,_0x479a33=_0x479a33!=null?_0x479a33:0x1e,_0x5b0c2a=_0x5b0c2a!=null?_0x5b0c2a:0x1e;let _0x306330=0x0,_0x2d57a3=0x0,_0x24cd86=0x0;_0x306330=_0x2d57a3=_0x24cd86=Math[_0x1904d0(0x316)](_0x97250a,_0x479a33/0x2,_0x5b0c2a/0x2),_0xcb2a3d[_0x1904d0(0x252)](),_0xcb2a3d[_0x1904d0(0x23f)](_0x306330,0x0),_0xcb2a3d[_0x1904d0(0x470)](_0x479a33-_0x2d57a3,0x0),_0xcb2a3d[_0x1904d0(0x45f)](_0x479a33-_0x2d57a3,_0x2d57a3,_0x2d57a3,Math['PI']*0x3/0x2,0x0,!0x1),_0xcb2a3d[_0x1904d0(0x470)](_0x479a33,_0x5b0c2a-_0x24cd86),_0xcb2a3d[_0x1904d0(0x45f)](_0x479a33-_0x24cd86,_0x5b0c2a-_0x24cd86,_0x24cd86,0x0,Math['PI']/0x2,!0x1),_0xcb2a3d['lineTo'](0x0,_0x5b0c2a),_0xcb2a3d[_0x1904d0(0x470)](0x0,_0x306330),_0xcb2a3d[_0x1904d0(0x45f)](_0x306330,_0x306330,_0x306330,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xcb2a3d[_0x1904d0(0x4a2)](),_0x183d67[_0x1904d0(0x402)]&&(_0xcb2a3d[_0x1904d0(0x1d8)](),_0xcb2a3d['fillStyle']=_0x183d67[_0x1904d0(0x402)],_0x183d67[_0x1904d0(0x1fb)]===_0x1904d0(0x3fe)?_0xcb2a3d[_0x1904d0(0x402)]('evenodd'):_0xcb2a3d[_0x1904d0(0x402)](),_0xcb2a3d[_0x1904d0(0x320)]());}class _0x92597c extends _0x46a3bd[_0x5de549(0x451)]{constructor(_0x5356dc,_0xa10320){const _0x1038ac=_0x5de549;super(_0x5356dc,_0xa10320),_0x41fabe(this,_0x1038ac(0x477)),_0x41fabe(this,_0x1038ac(0x28f)),(this[_0x1038ac(0x477)]=_0xa10320==null?void 0x0:_0xa10320[_0x1038ac(0x477)],this[_0x1038ac(0x28f)]=_0xa10320==null?void 0x0:_0xa10320[_0x1038ac(0x28f)]);}static[_0x5de549(0x3c3)](_0x3b0a94,_0x2cfe44){const _0x3fda34=_0x5de549,{text:_0x18fa42,color:_0x13dda0}=_0x2cfe44;_0x3b0a94['save'](),_0x3b0a94['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5cbd12=_0x3b0a94[_0x3fda34(0x388)](_0x18fa42)[_0x3fda34(0x3d6)],_0x116a13=Math[_0x3fda34(0x316)](_0x5cbd12+0x2*_0x2fc9bb,_0x6bd10f);_0x3d96e9(_0x3b0a94,{'height':_0xcfdad9,'radius':0x4,'width':_0x116a13,'fill':_0x13dda0}),_0x3b0a94[_0x3fda34(0x31b)]=_0x3fda34(0x4a7);const _0x24f1a4=_0x2fc9bb,_0x3a024a=_0xcfdad9-_0x57bc63,_0x5480b5=_0x6bd10f-0x2*_0x2fc9bb;if(_0x5cbd12>_0x5480b5){let _0x3298a5='',_0x93164e=0x0;for(const _0xf25e93 of _0x18fa42){const _0x124fb6=_0x3b0a94[_0x3fda34(0x388)](_0xf25e93)[_0x3fda34(0x3d6)];if(_0x93164e+_0x124fb6<=_0x5480b5-_0x3b0a94['measureText'](_0x3fda34(0x36f))[_0x3fda34(0x3d6)])_0x3298a5+=_0xf25e93,_0x93164e+=_0x124fb6;else{_0x3298a5+=_0x3fda34(0x36f);break;}}_0x3b0a94[_0x3fda34(0x35b)](_0x3298a5,_0x24f1a4,_0x3a024a);}else _0x3b0a94[_0x3fda34(0x35b)](_0x18fa42,_0x24f1a4,_0x3a024a);_0x3b0a94[_0x3fda34(0x320)]();}[_0x5de549(0x3e6)](_0x3f6b23){const _0x446f3c=_0x5de549;_0x92597c[_0x446f3c(0x3c3)](_0x3f6b23,this);}}const _0x4a99ec=_0x5de549(0x1b6),_0x100123=_0x5de549(0x1bd),_0x1c8aab=_0x5de549(0x3ac),_0xd9bc96=0x6,_0x1a5323=1.5,_0x2a36ad=0x4,_0x3b9359=1.5,_0x2ad9df=_0x5de549(0x2b7);class _0x5b7907{constructor(_0x2d2ced,_0x3e7ed1,_0x3be581,_0x1ae4fe){const _0x508250=_0x5de549;_0x41fabe(this,_0x508250(0x290),[]),_0x41fabe(this,_0x508250(0x25c),null),_0x41fabe(this,_0x508250(0x22c),null),_0x41fabe(this,'_anchorDot',null),_0x41fabe(this,_0x508250(0x465),null),_0x41fabe(this,_0x508250(0x47d),null),(this[_0x508250(0x40a)]=_0x2d2ced,this[_0x508250(0x2c9)]=_0x3e7ed1,this[_0x508250(0x344)]=_0x3be581,this['_document']=_0x1ae4fe,this[_0x508250(0x348)]());}set[_0x5de549(0x1ca)](_0x3961dd){const _0x3e507e=_0x5de549;_0x3961dd?(this[_0x3e507e(0x3c8)]&&this[_0x3e507e(0x3c8)]['hide'](),this[_0x3e507e(0x22c)]&&this[_0x3e507e(0x22c)]['show']()):(this[_0x3e507e(0x3c8)]&&this['_anchorDot'][_0x3e507e(0x38d)](),this[_0x3e507e(0x22c)]&&this[_0x3e507e(0x22c)][_0x3e507e(0x212)]());}[_0x5de549(0x2c3)](){const _0x36db7f=_0x5de549;for(const _0x46573 of this['_shapes'])_0x46573['dispose']();this['_textBubble']&&this[_0x36db7f(0x22c)]['dispose'](),this[_0x36db7f(0x3c8)]&&this[_0x36db7f(0x3c8)]['dispose'](),this[_0x36db7f(0x25c)]&&this[_0x36db7f(0x25c)][_0x36db7f(0x2c3)](),this[_0x36db7f(0x47d)]&&this[_0x36db7f(0x47d)]();}[_0x5de549(0x348)](){const _0x4a2af5=_0x5de549;var _0xa1f67;const {_docSkeleton:_0x17bd03,_document:_0x3be0a9}=this,{color:_0x58f61f,name:_0x4f73fb,ranges:_0x260f31}=this[_0x4a2af5(0x40a)],_0x5a2d9f=_0x3be0a9[_0x4a2af5(0x3a1)](),{docsLeft:_0x300f99,docsTop:_0x372a1c}=_0x5a2d9f,_0x47664c=new _0x2abae2[(_0x4a2af5(0x38a))](_0x5a2d9f,_0x17bd03);for(const {startOffset:_0x1478ca,endOffset:_0x3c9071,rangeType:_0x39d987,segmentId:_0x3edc49,segmentPage:_0x4e8a38,collapsed:_0x396ae8,isActive:_0x3c1dce}of _0x260f31){const _0x52e774=_0x17bd03[_0x4a2af5(0x479)](_0x1478ca,!0x0,_0x3edc49,_0x4e8a38);let _0x4bd408=_0x17bd03['findNodePositionByCharIndex'](_0x3c9071,!0x0,_0x3edc49,_0x4e8a38);if(_0x4bd408==null&&(_0x4bd408=_0x17bd03[_0x4a2af5(0x479)](_0x3c9071-0x1,!0x1,_0x3edc49,_0x4e8a38)),_0x3c1dce){const {contentBoxPointGroup:_0x261525}=_0x47664c['getRangePointData'](_0x4bd408,_0x4bd408);if(_0x261525['length']===0x0)continue;this[_0x4a2af5(0x2ec)](_0x58f61f,_0x261525,_0x300f99,_0x372a1c,_0x4f73fb),this[_0x4a2af5(0x47d)]=this[_0x4a2af5(0x339)]();}if(_0x52e774&&_0x4bd408){if(_0x39d987===_0x39304f[_0x4a2af5(0x431)][_0x4a2af5(0x1b1)]){const _0x3ae3dd=new _0x2abae2[(_0x4a2af5(0x1cc))](_0x5a2d9f,_0x17bd03),{pointGroup:_0x58ea40}=(_0xa1f67=_0x3ae3dd[_0x4a2af5(0x42d)](_0x52e774,_0x4bd408))!=null?_0xa1f67:{};if(_0x58ea40==null||_0x58ea40[_0x4a2af5(0x3b7)]===0x0)continue;this[_0x4a2af5(0x3b8)](_0x58f61f,_0x58ea40,_0x300f99,_0x372a1c);}else{if(!_0x396ae8){const {borderBoxPointGroup:_0x5c37fe}=_0x47664c[_0x4a2af5(0x42d)](_0x52e774,_0x4bd408);if(_0x5c37fe[_0x4a2af5(0x3b7)]===0x0)continue;this[_0x4a2af5(0x442)](_0x58f61f,_0x5c37fe,_0x300f99,_0x372a1c);}}}}}[_0x5de549(0x2ec)](_0x14cff7,_0x1791e1,_0x20adee,_0x135caf,_0x59fe52){const _0x2a5d26=_0x5de549,_0x4f150b=this[_0x2a5d26(0x46b)](_0x1791e1),{left:_0x4bb375,top:_0x2fe17c,height:_0x223888}=_0x4f150b,_0x5b807a=this[_0x2a5d26(0x3fa)](),_0x4f1b91=_0x3b9359/_0x5b807a,_0x1c01e2=new _0x46a3bd[(_0x2a5d26(0x39c))](_0x4a99ec+_0x39304f[_0x2a5d26(0x26d)](_0xd9bc96),{'left':_0x4bb375+_0x20adee-_0x4f1b91,'top':_0x2fe17c+_0x135caf,'height':_0x223888,'width':_0x1a5323,'fill':_0x14cff7||_0x46a3bd[_0x2a5d26(0x2c6)](_0x39304f[_0x2a5d26(0x3de)][_0x2a5d26(0x260)],0x0),'strokeWidth':_0x4f1b91,'stroke':_0x2ad9df,'evented':!0x0});this['_anchor']=_0x1c01e2,this[_0x2a5d26(0x2c9)]['addObject'](_0x1c01e2,_0x2abae2[_0x2a5d26(0x2d3)]);const _0x567ce3=new _0x46a3bd[(_0x2a5d26(0x39c))](_0x4a99ec+_0x39304f[_0x2a5d26(0x26d)](_0xd9bc96),{'left':_0x4bb375+_0x20adee-_0x4f1b91,'top':_0x2fe17c+_0x135caf-_0x2a36ad/0x2,'height':_0x2a36ad,'width':_0x2a36ad,'fill':_0x14cff7||_0x46a3bd[_0x2a5d26(0x2c6)](_0x39304f[_0x2a5d26(0x3de)][_0x2a5d26(0x260)],0x0),'strokeWidth':0x0,'stroke':_0x14cff7||_0x46a3bd[_0x2a5d26(0x2c6)](_0x39304f[_0x2a5d26(0x3de)][_0x2a5d26(0x260)],0x0),'evented':!0x1});this[_0x2a5d26(0x3c8)]=_0x567ce3,this[_0x2a5d26(0x2c9)][_0x2a5d26(0x468)](_0x567ce3,_0x2abae2[_0x2a5d26(0x2d3)]);const _0x329c78=new _0x92597c(_0x4a99ec+_0x39304f['generateRandomId'](_0xd9bc96),{'left':_0x4bb375+_0x20adee-_0x4f1b91,'top':_0x2fe17c+_0x135caf-_0xcfdad9,'text':_0x59fe52,'color':_0x14cff7});this[_0x2a5d26(0x22c)]=_0x329c78,this[_0x2a5d26(0x2c9)][_0x2a5d26(0x468)](_0x329c78,_0x2abae2[_0x2a5d26(0x2d3)]),this[_0x2a5d26(0x1ca)]=!0x1;}[_0x5de549(0x339)](){const _0xcc7211=_0x5de549,_0x2d7913=this[_0xcc7211(0x25c)][_0xcc7211(0x2f2)]['subscribeEvent'](()=>{const _0x102ea4=_0xcc7211;this[_0x102ea4(0x1ca)]=!0x0;}),_0x31fe76=this[_0xcc7211(0x25c)][_0xcc7211(0x21d)][_0xcc7211(0x3f9)](()=>{const _0x32ebe7=_0xcc7211;this[_0x32ebe7(0x465)]&&clearTimeout(this[_0x32ebe7(0x465)]),this[_0x32ebe7(0x465)]=setTimeout(()=>{const _0x33eb58=_0x32ebe7;this[_0x33eb58(0x1ca)]=!0x1;},0x7d0);});return()=>{const _0x356aa8=_0xcc7211;_0x2d7913['unsubscribe'](),_0x31fe76[_0x356aa8(0x1c2)]();};}[_0x5de549(0x442)](_0x3fbae7,_0x22b19d,_0x19e3d1,_0x5eaa4d){const _0x4433d3=_0x5de549,_0xd59fc2=new _0x39304f[(_0x4433d3(0x253))](_0x3fbae7)[_0x4433d3(0x307)](0.2)[_0x4433d3(0x3f0)](),_0x17a0b9=new _0x46a3bd['RegularPolygon'](_0x100123+_0x39304f[_0x4433d3(0x26d)](_0xd9bc96),{'pointsGroup':_0x22b19d,'fill':_0xd59fc2||_0x46a3bd['getColor'](_0x39304f[_0x4433d3(0x3de)][_0x4433d3(0x260)],0.2),'left':_0x19e3d1,'top':_0x5eaa4d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4433d3(0x290)][_0x4433d3(0x44d)](_0x17a0b9),this[_0x4433d3(0x2c9)][_0x4433d3(0x468)](_0x17a0b9,_0x2abae2[_0x4433d3(0x2d3)]);}['_drawRectRange'](_0x1a96c6,_0x5691d7,_0x1ccb46,_0x3a9512){const _0xeedda7=_0x5de549,_0x5acb48=new _0x39304f[(_0xeedda7(0x253))](_0x1a96c6)[_0xeedda7(0x307)](0.2)[_0xeedda7(0x3f0)](),_0xd82177=new _0x46a3bd[(_0xeedda7(0x2e5))](_0x1c8aab+_0x39304f[_0xeedda7(0x26d)](_0xd9bc96),{'pointsGroup':_0x5691d7,'fill':_0x5acb48||_0x46a3bd[_0xeedda7(0x2c6)](_0x39304f['COLORS']['black'],0.2),'left':_0x1ccb46,'top':_0x3a9512,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xeedda7(0x290)][_0xeedda7(0x44d)](_0xd82177),this[_0xeedda7(0x2c9)][_0xeedda7(0x468)](_0xd82177,_0x2abae2['TEXT_RANGE_LAYER_INDEX']);}[_0x5de549(0x46b)](_0x346a9a){const _0x1bc1a9=_0x346a9a[0x0],_0x2fb662=_0x1bc1a9[0x0],_0x3e6129=_0x1bc1a9[0x2],{x:_0x412132,y:_0x52da6b}=_0x2fb662,{x:_0x42a6ac,y:_0x414699}=_0x3e6129;return{'left':_0x412132,'top':_0x52da6b,'width':_0x42a6ac-_0x412132,'height':_0x414699-_0x52da6b};}[_0x5de549(0x3fa)](){const _0x371404=_0x5de549,{scaleX:_0xf1f0f3,scaleY:_0x14c6cf}=this[_0x371404(0x2c9)][_0x371404(0x3da)]();return Math[_0x371404(0x2c5)](_0xf1f0f3,_0x14c6cf);}}var _0x1cb7ff=Object[_0x5de549(0x49f)],_0x523c23=(_0x336df6,_0x5f5360,_0x569c56,_0xd71dab)=>{const _0x112fec=_0x5de549;for(var _0x5b79a3=_0xd71dab>0x1?void 0x0:_0xd71dab?_0x1cb7ff(_0x5f5360,_0x569c56):_0x5f5360,_0x31363c=_0x336df6[_0x112fec(0x3b7)]-0x1,_0x32adb4;_0x31363c>=0x0;_0x31363c--)(_0x32adb4=_0x336df6[_0x31363c])&&(_0x5b79a3=_0x32adb4(_0x5b79a3)||_0x5b79a3);return _0x5b79a3;},_0x4242c1=(_0x3e0550,_0xe9728e)=>(_0x1cc2b4,_0x4feed2)=>_0xe9728e(_0x1cc2b4,_0x4feed2,_0x3e0550);let _0x43034b=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x32fe80,_0x28a186,_0x4c2716,_0x29e4f6,_0xe5c98c){const _0x689ab3=_0x5de549;super(),_0x41fabe(this,_0x689ab3(0x3c0),[]),_0x41fabe(this,'_cursors',[]),(this[_0x689ab3(0x33f)]=_0x32fe80,this[_0x689ab3(0x317)]=_0x28a186,this[_0x689ab3(0x1c5)]=_0x4c2716,this['_commandService']=_0x29e4f6,this['_themeService']=_0xe5c98c,this[_0x689ab3(0x48f)]());}[_0x5de549(0x48f)](){const _0x53fd71=_0x5de549,_0xfd9696=this['_context'][_0x53fd71(0x2fb)],_0x58587f=this[_0x53fd71(0x317)];this[_0x53fd71(0x24e)](_0x404575['combineLatest']([this['_collabCursorController']['getCollabCursors$'](_0xfd9696),this['_themeService'][_0x53fd71(0x382)]])[_0x53fd71(0x498)](_0x11a31a[_0x53fd71(0x309)](([_0x1752f7,_0x34b36a])=>({'skeleton':_0x58587f[_0x53fd71(0x30d)](),'cursors':[..._0x1752f7[_0x53fd71(0x2ba)]()][_0x53fd71(0x1b2)](_0x24b8e3=>({..._0x24b8e3,'color':this[_0x53fd71(0x333)][_0x53fd71(0x302)](_0x24b8e3['color'])}))})))[_0x53fd71(0x38e)](_0x24f0e9=>{const _0x49f758=_0x53fd71;if(this[_0x49f758(0x369)](),_0x24f0e9){const {skeleton:_0x4c719d,cursors:_0x841627}=_0x24f0e9;this['_updateCollabCursors'](_0x4c719d,_0x841627);}})),this[_0x53fd71(0x441)](),this[_0x53fd71(0x2ac)]();}['_updateCollabCursors'](_0x5d1d11,_0x3da123){const _0x4fde4f=_0x5de549,{scene:_0x374fa5,mainComponent:_0x567e20}=this[_0x4fde4f(0x33f)],_0x5a9395=_0x3da123[_0x4fde4f(0x309)](_0x3f28a6=>new _0x5b7907(_0x3f28a6,_0x374fa5,_0x5d1d11,_0x567e20));this[_0x4fde4f(0x3c0)]=_0x5a9395,this[_0x4fde4f(0x2ad)]=_0x3da123;}[_0x5de549(0x295)](){const _0x50e70e=_0x5de549;this[_0x50e70e(0x369)]();const {scene:_0x33a49b,mainComponent:_0x1d2307}=this[_0x50e70e(0x33f)],_0x376e36=this['_docSkeletonManagerService'][_0x50e70e(0x30d)](),_0x2dc872=this[_0x50e70e(0x2ad)][_0x50e70e(0x309)](_0x2d7dd9=>new _0x5b7907(_0x2d7dd9,_0x33a49b,_0x376e36,_0x1d2307));this[_0x50e70e(0x3c0)]=_0x2dc872;}[_0x5de549(0x369)](){const _0x29e4ed=_0x5de549;this['_cursorShapes'][_0x29e4ed(0x22a)](_0xe30281=>_0xe30281[_0x29e4ed(0x2c3)]()),this[_0x29e4ed(0x3c0)]=[];}[_0x5de549(0x2ac)](){const _0x285d1b=_0x5de549,_0x1a6be0=[_0x2abae2[_0x285d1b(0x1ef)]['id']];this[_0x285d1b(0x24e)](this['_commandService'][_0x285d1b(0x2fd)](_0x63284e=>{const _0x1a0d99=_0x285d1b;_0x1a6be0[_0x1a0d99(0x410)](_0x63284e['id'])&&_0x63284e['params'][_0x1a0d99(0x2fb)]===this[_0x1a0d99(0x33f)][_0x1a0d99(0x2fb)]&&this['_refreshCollabCursors']();}));}[_0x5de549(0x441)](){const _0xf390af=_0x5de549;this[_0xf390af(0x24e)](_0x39304f[_0xf390af(0x1a4)](this[_0xf390af(0x33f)]['engine']['onTransformChange$'])[_0xf390af(0x498)](_0x11a31a[_0xf390af(0x1c6)](_0x29f320=>_0x29f320[_0xf390af(0x328)]===_0x46a3bd[_0xf390af(0x39d)]['resize']),_0x11a31a[_0xf390af(0x3fb)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x43034b=_0x523c23([_0x4242c1(0x1,_0x39304f['Inject'](_0x59af06[_0x5de549(0x30b)])),_0x4242c1(0x2,_0x39304f[_0x5de549(0x356)](_0x1af4cc)),_0x4242c1(0x3,_0x39304f['ICommandService']),_0x4242c1(0x4,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x297)]))],_0x43034b);const _0x2e2110=0x1,_0x43d861=1.5;class _0x3ed0a extends _0x46a3bd[_0x5de549(0x451)]{constructor(_0x5dafd7,_0x3d1a35){const _0x23c2ff=_0x5de549;super(_0x5dafd7,_0x3d1a35),_0x41fabe(this,'_color'),_0x41fabe(this,_0x23c2ff(0x1e9),!0x1),_0x41fabe(this,'_range'),_0x41fabe(this,_0x23c2ff(0x47c),''),_0x41fabe(this,_0x23c2ff(0x206),_0x23c2ff(0x1d5)),_0x41fabe(this,_0x23c2ff(0x36a)),(_0x3d1a35&&this[_0x23c2ff(0x3e2)](_0x3d1a35),this[_0x23c2ff(0x2f2)][_0x23c2ff(0x3f9)](()=>this[_0x23c2ff(0x3e2)]({'hovered':!0x0})),this[_0x23c2ff(0x21d)][_0x23c2ff(0x3f9)](()=>this[_0x23c2ff(0x3e2)]({'hovered':!0x1})));}[_0x5de549(0x3e2)](_0x1f759b){const _0x2ce398=_0x5de549;var _0x28ec5b,_0x5550bb,_0x1d8c1f,_0x4e5e4f,_0x34ad7e,_0x25d370;this[_0x2ce398(0x436)]=(_0x28ec5b=_0x1f759b[_0x2ce398(0x477)])!=null?_0x28ec5b:this[_0x2ce398(0x436)],this[_0x2ce398(0x1e9)]=(_0x5550bb=_0x1f759b[_0x2ce398(0x272)])!=null?_0x5550bb:this['_hovered'],this['_range']=(_0x1d8c1f=_0x1f759b[_0x2ce398(0x1f6)])!=null?_0x1d8c1f:this[_0x2ce398(0x2d2)],this[_0x2ce398(0x47c)]=(_0x4e5e4f=_0x1f759b['name'])!=null?_0x4e5e4f:this[_0x2ce398(0x47c)],this[_0x2ce398(0x206)]=(_0x34ad7e=_0x1f759b[_0x2ce398(0x203)])!=null?_0x34ad7e:this['_labelPosition'],this['_backgroundColor']=(_0x25d370=_0x1f759b[_0x2ce398(0x42e)])!=null?_0x25d370:this[_0x2ce398(0x36a)],this[_0x2ce398(0x3f1)]({'width':_0x1f759b[_0x2ce398(0x3d6)],'height':_0x1f759b[_0x2ce398(0x381)]});}['onMouseMove'](_0xa16a8a){const _0x557c76=_0x5de549,{row:_0x487c3f,column:_0x194cfc}=_0xa16a8a;if(_0x487c3f>=this['_range'][_0x557c76(0x1a7)]&&_0x487c3f<=this[_0x557c76(0x2d2)][_0x557c76(0x1b9)]&&_0x194cfc>=this[_0x557c76(0x2d2)][_0x557c76(0x286)]&&_0x194cfc<=this[_0x557c76(0x2d2)][_0x557c76(0x305)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x557c76(0x3e2)]({'hovered':!0x1});}[_0x5de549(0x32e)](_0x4e0061){return!0x1;}['_draw'](_0x213ffc){const _0x405669=_0x5de549;_0x46a3bd[_0x405669(0x39c)][_0x405669(0x3c3)](_0x213ffc,{'width':this['width'],'height':this[_0x405669(0x381)],'strokeWidth':_0x43d861,'stroke':this[_0x405669(0x436)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x405669(0x1e9)]&&(_0x213ffc[_0x405669(0x1d8)](),_0x213ffc['transform'](0x1,0x0,0x0,0x1,this[_0x405669(0x3d6)],this['_labelPosition']===_0x405669(0x2c7)?0x0:-_0xcfdad9),_0x92597c[_0x405669(0x3c3)](_0x213ffc,{'text':this[_0x405669(0x47c)],'color':this[_0x405669(0x436)]}),_0x213ffc[_0x405669(0x320)]());}}var _0x4c5c8d=Object[_0x5de549(0x49f)],_0x1af073=(_0x2e75b2,_0x11cf96,_0x3c727f,_0xa711d7)=>{const _0x1538f5=_0x5de549;for(var _0x1b8c04=_0xa711d7>0x1?void 0x0:_0xa711d7?_0x4c5c8d(_0x11cf96,_0x3c727f):_0x11cf96,_0x130c96=_0x2e75b2[_0x1538f5(0x3b7)]-0x1,_0x38f2fa;_0x130c96>=0x0;_0x130c96--)(_0x38f2fa=_0x2e75b2[_0x130c96])&&(_0x1b8c04=_0x38f2fa(_0x1b8c04)||_0x1b8c04);return _0x1b8c04;},_0x407ac8=(_0x6f515c,_0x2a0fcb)=>(_0x22eb03,_0x1cd18d)=>_0x2a0fcb(_0x22eb03,_0x1cd18d,_0x6f515c);const _0x296aa0=0x1389;let _0x338784=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0xfa3cc9,_0x5d9368,_0x2e72af,_0x8d6026){const _0x55dd9a=_0x5de549;super(),_0x41fabe(this,_0x55dd9a(0x2ad),new Set()),_0x41fabe(this,_0x55dd9a(0x3a4),null),(this[_0x55dd9a(0x33f)]=_0xfa3cc9,this[_0x55dd9a(0x271)]=_0x5d9368,this[_0x55dd9a(0x1c5)]=_0x2e72af,this['_themeService']=_0x8d6026,this[_0x55dd9a(0x48f)]());}[_0x5de549(0x48f)](){const _0x33700d=_0x5de549;this[_0x33700d(0x271)][_0x33700d(0x318)]['pipe'](_0x11a31a[_0x33700d(0x387)](this['dispose$']),_0x11a31a[_0x33700d(0x287)](_0x524101=>{const _0x46fc6c=_0x33700d;if(_0x524101){const _0x429a1b=_0x524101[_0x46fc6c(0x289)];return _0x404575['combineLatest'](this['_collabCursorController'][_0x46fc6c(0x3eb)](this['_context'][_0x46fc6c(0x2fb)]),this[_0x46fc6c(0x333)]['currentTheme$'])[_0x46fc6c(0x498)](_0x11a31a['map'](([_0x93bfa2,_0x5f3768])=>{const _0x22ac9c=new Map();return _0x93bfa2['forEach']((_0x16b3a5,_0x14029b)=>{const _0x154a14=_0x48a1;if(_0x16b3a5[_0x154a14(0x485)]===_0x429a1b){const _0x543876={..._0x16b3a5};_0x543876[_0x154a14(0x477)]=this[_0x154a14(0x333)][_0x154a14(0x302)](_0x16b3a5['color']),_0x22ac9c['set'](_0x14029b,_0x543876);}}),{'skeleton':_0x524101,'cursors':_0x22ac9c};}));}return _0x404575['of']({'skeleton':null,'cursors':new Map()});}))[_0x33700d(0x38e)](({skeleton:_0x1cec6f,cursors:_0x3b655b})=>{const _0x3cc9b4=_0x33700d;this[_0x3cc9b4(0x369)](),_0x1cec6f&&this[_0x3cc9b4(0x4a1)](_0x1cec6f,_0x3b655b);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x33700d(0x38e)](_0x9c2207=>{const _0x34b7bb=_0x33700d;if(_0x9c2207==null)return;const {skeleton:_0x5b7505}=_0x9c2207,{scene:_0x4ef404}=this[_0x34b7bb(0x33f)];_0x4ef404[_0x34b7bb(0x3ff)]['subscribeEvent'](_0x39304f[_0x34b7bb(0x484)](_0x44f8e6=>{const _0xc71997=_0x34b7bb;var _0x4044b9,_0x5b69a8;const {offsetX:_0x102f16,offsetY:_0x17620b}=_0x44f8e6,{x:_0x9eff90,y:_0x332573}=_0x4ef404[_0xc71997(0x425)](_0x46a3bd[_0xc71997(0x24a)][_0xc71997(0x2e7)]([_0x102f16,_0x17620b])),{scaleX:_0x54d343,scaleY:_0x3546e8}=_0x4ef404[_0xc71997(0x3da)](),_0x356396=_0x4ef404['getViewport'](_0x46a3bd[_0xc71997(0x3b9)][_0xc71997(0x263)]),_0x511ff6=_0x4ef404[_0xc71997(0x1d2)](_0x46a3bd[_0xc71997(0x24a)][_0xc71997(0x2e7)]([_0x9eff90,_0x332573]),_0x356396),_0xb67cb9=_0x5b7505['getCellPositionByOffset'](_0x102f16,_0x17620b,_0x54d343,_0x3546e8,_0x511ff6);((_0x4044b9=this[_0xc71997(0x3a4)])==null?void 0x0:_0x4044b9['column'])===_0xb67cb9[_0xc71997(0x2a3)]&&((_0x5b69a8=this[_0xc71997(0x3a4)])==null?void 0x0:_0x5b69a8[_0xc71997(0x367)])===_0xb67cb9[_0xc71997(0x367)]||this[_0xc71997(0x2ad)][_0xc71997(0x22a)](_0x3f8b92=>{const _0x3efc1c=_0xc71997;_0x3f8b92[_0x3efc1c(0x245)](_0xb67cb9);});},0x64));});}['_updateCollabCursors'](_0x13b2bd,_0x4a4ad3){const _0x2e8be7=_0x5de549;var _0x5bd5d9;const _0x5f29ac=(_0x5bd5d9=this[_0x2e8be7(0x271)][_0x2e8be7(0x335)]())==null?void 0x0:_0x5bd5d9[_0x2e8be7(0x280)];if(!_0x5f29ac)return;const _0x48d6df=this['_getSheetObject']();if(!_0x48d6df)return;this['_cursors'][_0x2e8be7(0x22a)](_0x3d5995=>{const _0x5eddb5=_0x2e8be7;_0x3d5995[_0x5eddb5(0x1bc)]();});const {scene:_0x59efc3}=_0x48d6df,_0x12e36a=_0x458cd3(Array['from'](_0x4a4ad3[_0x2e8be7(0x2ba)]()))[_0x2e8be7(0x309)](_0x332993=>{const _0x4b4fa2=_0x2e8be7,{color:_0x423810,range:_0x5d8786,name:_0x36a385,selection:_0xbce8e9,sheetID:_0xc42bbd}=_0x332993,{startColumn:_0x2f42e9,startRow:_0x2a9440,endColumn:_0x2e2a87,endRow:_0x258fdd}=_0x5d8786,_0x5ccc56=_0x5ee9c5['getCoordByCell'](_0x2a9440,_0x2f42e9,_0x59efc3,_0x5f29ac),_0x190278=_0x5ee9c5[_0x4b4fa2(0x365)](_0x258fdd,_0x2e2a87,_0x59efc3,_0x5f29ac),{columnHeaderHeightAndMarginTop:_0x453139}=_0x5f29ac,{startX:_0x3d919e,startY:_0x5d4228}=_0x5ccc56,{endX:_0x1cd7c2,endY:_0x32ae5f}=_0x190278,_0xa47f22=_0x1cd7c2-_0x3d919e,_0x45c369=_0x32ae5f-_0x5d4228,_0x4b9f99={'labelPosition':_0x5d4228-_0x453139>=_0xcfdad9?_0x4b4fa2(0x1d5):_0x4b4fa2(0x2c7),'sheetID':_0xc42bbd,'range':_0x5d8786,'color':_0x423810,'name':_0x36a385,'selection':_0xbce8e9,'left':_0x3d919e,'top':_0x5d4228,'width':_0xa47f22,'height':_0x45c369,'evented':!0x1,'zIndex':_0x296aa0};return new _0x3ed0a(_0x36a385,_0x4b9f99);});_0x59efc3['addObjects'](_0x12e36a,_0x2e2110),this[_0x2e8be7(0x2ad)]=new Set(_0x12e36a);}[_0x5de549(0x369)](){const _0x4d06a3=_0x5de549;var _0x4afb16;(_0x4afb16=this[_0x4d06a3(0x2ad)])==null||_0x4afb16[_0x4d06a3(0x22a)](_0x55ef26=>_0x55ef26['dispose']());}[_0x5de549(0x440)](){const _0x1c3382=_0x5de549;return _0x5ee9c5[_0x1c3382(0x415)](this[_0x1c3382(0x33f)][_0x1c3382(0x3c7)],this[_0x1c3382(0x33f)]);}};_0x338784=_0x1af073([_0x407ac8(0x1,_0x39304f['Inject'](_0x5ee9c5[_0x5de549(0x366)])),_0x407ac8(0x2,_0x39304f[_0x5de549(0x356)](_0x1af4cc)),_0x407ac8(0x3,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x297)]))],_0x338784);function _0x458cd3(_0x34cb49){const _0x2fda3d=_0x5de549,_0x421203=new Map();return _0x34cb49[_0x2fda3d(0x22a)](_0x10836f=>{const _0x237ca0=_0x2fda3d;if(_0x421203[_0x237ca0(0x3f7)](_0x10836f[_0x237ca0(0x368)])){const _0x4f7de6=_0x421203[_0x237ca0(0x1c0)](_0x10836f[_0x237ca0(0x368)]);_0x4f7de6[_0x237ca0(0x231)]+=',\x20'+_0x10836f[_0x237ca0(0x231)];}else _0x421203[_0x237ca0(0x361)](_0x10836f[_0x237ca0(0x368)],_0x10836f);}),Array[_0x2fda3d(0x1bf)](_0x421203[_0x2fda3d(0x2ba)]());}var _0xf8c215=Object[_0x5de549(0x49f)],_0x3b3685=(_0x2adfa4,_0xd61da1,_0x3f4c76,_0x9c023b)=>{const _0x489f5f=_0x5de549;for(var _0x49697e=_0x9c023b>0x1?void 0x0:_0x9c023b?_0xf8c215(_0xd61da1,_0x3f4c76):_0xd61da1,_0x8296a6=_0x2adfa4[_0x489f5f(0x3b7)]-0x1,_0xbb1cb7;_0x8296a6>=0x0;_0x8296a6--)(_0xbb1cb7=_0x2adfa4[_0x8296a6])&&(_0x49697e=_0xbb1cb7(_0x49697e)||_0x49697e);return _0x49697e;},_0x37b7aa=(_0x36f074,_0x11124c)=>(_0x327122,_0x3e10b4)=>_0x11124c(_0x327122,_0x3e10b4,_0x36f074);let _0x261734=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x4b7b0f,_0x3c15a6,_0x3e05b3,_0x1ae48b,_0x32186c,_0x51b570){const _0x2c7531=_0x5de549;super(),this[_0x2c7531(0x3d4)]=_0x4b7b0f,this['_localCacheService']=_0x3c15a6,this[_0x2c7531(0x250)]=_0x3e05b3,this[_0x2c7531(0x22d)]=_0x1ae48b,this['_notificationService']=_0x32186c,this[_0x2c7531(0x3c1)]=_0x51b570,this[_0x2c7531(0x229)](),this['_initEvent']();}[_0x5de549(0x229)](){const _0x428eab=_0x5de549;this[_0x428eab(0x24e)](this['_beforeCloseService'][_0x428eab(0x265)](()=>{const _0x51994e=_0x428eab;if(this[_0x51994e(0x2e6)][_0x51994e(0x32c)]['size'])return this[_0x51994e(0x3c1)]['t'](_0x51994e(0x39b));}));}[_0x5de549(0x23a)](){const _0x34beee=_0x5de549;this[_0x34beee(0x24e)](this[_0x34beee(0x250)][_0x34beee(0x2dc)][_0x34beee(0x38e)](_0x50e32e=>{const _0x2b8cdd=_0x34beee;_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)][_0x2b8cdd(0x352)]&&this['_messageService'][_0x2b8cdd(0x38d)]({'type':_0x31598f[_0x2b8cdd(0x242)][_0x2b8cdd(0x370)],'content':this['_localeService']['t'](_0x2b8cdd(0x377))}),_0x50e32e['id']===_0x3fe1f0['CollaborationUIEventId'][_0x2b8cdd(0x326)]&&this[_0x2b8cdd(0x22d)]['show']({'type':_0x31598f[_0x2b8cdd(0x242)][_0x2b8cdd(0x370)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x31e))}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)][_0x2b8cdd(0x43e)]&&this['_notificationService'][_0x2b8cdd(0x38d)]({'title':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x257)),'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x254)),'type':'error','duration':0x0}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)][_0x2b8cdd(0x3ad)]&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f[_0x2b8cdd(0x242)][_0x2b8cdd(0x385)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x31e))+'('+_0x50e32e['data']+')'}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)]['JOIN_ROOM_FAILED']&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f[_0x2b8cdd(0x242)][_0x2b8cdd(0x370)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x50e32e[_0x2b8cdd(0x298)]||'')}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)][_0x2b8cdd(0x1f3)]&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f['MessageType'][_0x2b8cdd(0x370)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x243))}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)]['SOCKET_FAILED']&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f[_0x2b8cdd(0x242)]['Error'],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x1db))}),_0x50e32e['id']===_0x3fe1f0['CollaborationUIEventId'][_0x2b8cdd(0x20b)]&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f['MessageType'][_0x2b8cdd(0x385)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x28e))});}));}};_0x261734=_0x3b3685([_0x37b7aa(0x0,_0x4c3b5c[_0x5de549(0x30f)]),_0x37b7aa(0x1,_0x3fe1f0['ILocalCacheService']),_0x37b7aa(0x2,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x49b)])),_0x37b7aa(0x3,_0x4c3b5c[_0x5de549(0x323)]),_0x37b7aa(0x4,_0x4c3b5c['INotificationService']),_0x37b7aa(0x5,_0x39304f['Inject'](_0x39304f[_0x5de549(0x3f4)]))],_0x261734);var _0x13e2d4=Object[_0x5de549(0x49f)],_0x10ba81=(_0x124bf3,_0x249681,_0x1806b9,_0x28810f)=>{const _0x5a8ec4=_0x5de549;for(var _0x48deb7=_0x28810f>0x1?void 0x0:_0x28810f?_0x13e2d4(_0x249681,_0x1806b9):_0x249681,_0x257f51=_0x124bf3[_0x5a8ec4(0x3b7)]-0x1,_0x4b7a52;_0x257f51>=0x0;_0x257f51--)(_0x4b7a52=_0x124bf3[_0x257f51])&&(_0x48deb7=_0x4b7a52(_0x48deb7)||_0x48deb7);return _0x48deb7;},_0x44586c=(_0x54155a,_0x3e77ee)=>(_0x5375eb,_0x2e343a)=>_0x3e77ee(_0x5375eb,_0x2e343a,_0x54155a);let _0x33fdc9=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x27263d,_0x260cd1,_0x5a6dd8,_0x395262){const _0x16a84f=_0x5de549;super(),_0x41fabe(this,_0x16a84f(0x1b8)),(this[_0x16a84f(0x31d)]=_0x27263d,this['_httpService']=_0x260cd1,this['_logService']=_0x5a6dd8,this[_0x16a84f(0x2cf)]=_0x395262,this[_0x16a84f(0x48f)]());}['_init'](){const _0x5b4ba0=_0x5de549;this[_0x5b4ba0(0x28b)](),this[_0x5b4ba0(0x343)](),this['_monkeyPatchLogService'](),this[_0x5b4ba0(0x39e)]();}['_initUserListener'](){const _0x5a9aae=_0x5de549;this[_0x5a9aae(0x24e)](this[_0x5a9aae(0x2cf)][_0x5a9aae(0x41f)]['subscribe'](_0x45ec33=>{const _0x222947=_0x5a9aae;this[_0x222947(0x1b8)]=_0x45ec33==null?void 0x0:_0x45ec33['memberID'];}));}['_initWindowErrorListener'](){const _0x141c9e=_0x5de549,_0x509417=_0xaaddbd=>{const _0x3d4797=_0x48a1;var _0x4115a5;this[_0x3d4797(0x45c)](_0x3d4797(0x2ee),'[Window\x20Error]:\x20'+_0xaaddbd[_0x3d4797(0x1c3)]+_0x3d4797(0x3b4)+_0xaaddbd[_0x3d4797(0x2d1)]+':'+_0xaaddbd[_0x3d4797(0x285)]+':'+_0xaaddbd['colno']+'\x0a'+(((_0x4115a5=_0xaaddbd[_0x3d4797(0x2ee)])==null?void 0x0:_0x4115a5[_0x3d4797(0x23d)])||''));};window[_0x141c9e(0x34d)]('error',_0x509417),this[_0x141c9e(0x24e)](()=>{const _0x356c8a=_0x141c9e;window['removeEventListener'](_0x356c8a(0x2ee),_0x509417);});}[_0x5de549(0x343)](){const _0xe27f4a=_0x5de549,_0x6bb16e=_0x189d06=>{const _0x392500=_0x48a1;this[_0x392500(0x45c)](_0x392500(0x2ee),_0x392500(0x4a6)+_0x189d06[_0x392500(0x218)]);};window[_0xe27f4a(0x34d)](_0xe27f4a(0x493),_0x6bb16e),this[_0xe27f4a(0x24e)](()=>{const _0x19d106=_0xe27f4a;window[_0x19d106(0x47e)]('unhandledrejection',_0x6bb16e);});}[_0x5de549(0x384)](){const _0x283af5=_0x5de549,_0x3ed876=this[_0x283af5(0x43a)]['error'][_0x283af5(0x3c6)](this[_0x283af5(0x43a)]);this[_0x283af5(0x43a)][_0x283af5(0x2ee)]=(..._0x4e7e78)=>{const _0x2bfa96=_0x283af5,_0x199123=_0x4e7e78[_0x2bfa96(0x309)](_0x564425=>_0x564425 instanceof Error?_0x564425[_0x2bfa96(0x1c3)]+'\x0a'+_0x564425[_0x2bfa96(0x23d)]:String(_0x564425))[_0x2bfa96(0x3b0)]('\x20');this[_0x2bfa96(0x45c)](_0x2bfa96(0x2ee),_0x2bfa96(0x2d7)+_0x199123),_0x3ed876(..._0x4e7e78);},this['disposeWithMe'](()=>{const _0x2baff1=_0x283af5;this[_0x2baff1(0x43a)][_0x2baff1(0x2ee)]=_0x3ed876;});}['_uploadLog'](_0xe0ad67,_0x53523f){const _0x234b66=_0x5de549;try{const _0x5015b7={'userId':this['_memberID'],'logLabel':_0xe0ad67,'content':_0x53523f};this[_0x234b66(0x40f)][_0x234b66(0x2b8)](_0x234b66(0x401),{'body':_0x5015b7})[_0x234b66(0x47a)](()=>{});}catch{}}};_0x33fdc9=_0x10ba81([_0x44586c(0x0,_0x39304f['Inject'](_0x39304f[_0x5de549(0x2bd)])),_0x44586c(0x1,_0x39304f[_0x5de549(0x356)](_0x4e0fb2[_0x5de549(0x469)])),_0x44586c(0x2,_0x39304f[_0x5de549(0x25e)]),_0x44586c(0x3,_0x39304f['Inject'](_0x3fe1f0[_0x5de549(0x22f)]))],_0x33fdc9);const _0x13b4e5='collaboration-client-ui.config',_0x469697={};var _0x2d8b6a=Object[_0x5de549(0x49f)],_0x5144bc=(_0x2e9deb,_0x49fce7,_0x2796ee,_0x5a5c38)=>{for(var _0x3add98=_0x5a5c38>0x1?void 0x0:_0x5a5c38?_0x2d8b6a(_0x49fce7,_0x2796ee):_0x49fce7,_0x583c85=_0x2e9deb['length']-0x1,_0x26f12f;_0x583c85>=0x0;_0x583c85--)(_0x26f12f=_0x2e9deb[_0x583c85])&&(_0x3add98=_0x26f12f(_0x3add98)||_0x3add98);return _0x3add98;},_0xaf46f4=(_0x318beb,_0x184d72)=>(_0x538d89,_0x556cb5)=>_0x184d72(_0x538d89,_0x556cb5,_0x318beb);let _0x547126=class{constructor(_0x1cdea0,_0x36fbef){const _0x38e088=_0x5de549;this[_0x38e088(0x403)]=_0x1cdea0,this['_renderManagerService']=_0x36fbef;}[_0x5de549(0x342)](_0x4542d6){this['_transformUndoRedoStack'](_0x4542d6),this['_transformPreviousActiveRange'](_0x4542d6);}['transformRemoteChangeset'](_0x55e528){const _0x53e068=_0x5de549,{unitID:_0x4b29d1}=_0x55e528,_0x362b15=this['_renderManagerService'][_0x53e068(0x21a)](_0x4b29d1)['with'](_0x2abae2[_0x53e068(0x278)]),{redoCache:_0x2d8887}=_0x362b15[_0x53e068(0x2dd)]();if(_0x2d8887[_0x53e068(0x3b7)]===0x0)return _0x55e528;let _0x8af97c=_0x39304f[_0x53e068(0x1ec)][_0x53e068(0x3ab)](_0x55e528[_0x53e068(0x404)][0x0]);for(let _0x5f4fd3=0x0;_0x5f4fd3<_0x2d8887['length'];_0x5f4fd3++){const _0x48cd37={'id':'doc.mutation.rich-text-editing','params':{..._0x2d8887[_0x5f4fd3]}},_0x4c9974=this[_0x53e068(0x403)][_0x53e068(0x37d)](_0x8af97c,_0x48cd37,!0x1);if(_0x560361['isTransformMutationFailure'](_0x4c9974))throw _0x4c9974['error'];_0x8af97c=_0x4c9974[_0x53e068(0x1d7)];}return{..._0x39304f[_0x53e068(0x1ec)][_0x53e068(0x3ab)](_0x55e528),'mutations':[_0x8af97c]};}[_0x5de549(0x1eb)](_0xa0a2df){const _0x2185bc=_0x5de549,{unitID:_0x34638f}=_0xa0a2df,_0x4fcd09=this[_0x2185bc(0x349)][_0x2185bc(0x21a)](_0x34638f)[_0x2185bc(0x29e)](_0x2abae2[_0x2185bc(0x278)]),{undoCache:_0x392f4c,redoCache:_0x28d1ef}=_0x4fcd09[_0x2185bc(0x2dd)]();if(_0x392f4c[_0x2185bc(0x3b7)]===0x0||_0x28d1ef[_0x2185bc(0x3b7)]===0x0)return;const _0x8c4423=[],_0x2d8532=[];let _0x4a9868=_0x39304f[_0x2185bc(0x1ec)][_0x2185bc(0x3ab)](_0xa0a2df[_0x2185bc(0x404)][0x0]),_0x259e9c=_0x39304f[_0x2185bc(0x1ec)][_0x2185bc(0x3ab)](_0xa0a2df[_0x2185bc(0x404)][0x0]);for(let _0x3e7a7b=_0x392f4c['length']-0x1;_0x3e7a7b>=0x0;_0x3e7a7b--){const _0x37ec47={'id':'doc.mutation.rich-text-editing','params':{..._0x392f4c[_0x3e7a7b]}},_0x5b75cf={'id':_0x2185bc(0x476),'params':{..._0x28d1ef[_0x3e7a7b]}},_0x3b4497=this[_0x2185bc(0x403)][_0x2185bc(0x37d)](_0x4a9868,_0x37ec47,!0x1),_0x4c6a4a=this['_transformService'][_0x2185bc(0x37d)](_0x259e9c,_0x5b75cf,!0x1);if(_0x560361[_0x2185bc(0x3fd)](_0x3b4497))throw _0x3b4497[_0x2185bc(0x2ee)];if(_0x560361[_0x2185bc(0x3fd)](_0x4c6a4a))throw _0x4c6a4a[_0x2185bc(0x2ee)];_0x8c4423[_0x2185bc(0x282)](_0x3b4497[_0x2185bc(0x1e0)][_0x2185bc(0x448)]),_0x2d8532[_0x2185bc(0x282)](_0x4c6a4a[_0x2185bc(0x1e0)][_0x2185bc(0x448)]),_0x4a9868=_0x3b4497[_0x2185bc(0x1d7)],_0x259e9c=_0x4c6a4a[_0x2185bc(0x1d7)];}_0x4fcd09[_0x2185bc(0x38f)]({'undoCache':_0x8c4423,'redoCache':_0x2d8532});}['_transformPreviousActiveRange'](_0x2cb7f2){const _0x1d2229=_0x5de549,{unitID:_0x575294}=_0x2cb7f2,_0x26100d=this[_0x1d2229(0x349)]['getRenderById'](_0x575294)[_0x1d2229(0x29e)](_0x2abae2['DocIMEInputManagerService']),_0x4e2705=_0x26100d[_0x1d2229(0x464)]();if(_0x4e2705==null)return;const _0x45d90f=[{'id':_0x1d2229(0x476),'params':{'unitId':_0x2cb7f2[_0x1d2229(0x42f)],'actions':null,'textRanges':[_0x4e2705]}}],_0x535b1b=this[_0x1d2229(0x403)][_0x1d2229(0x3c4)](_0x2cb7f2,_0x45d90f);if(!_0x560361[_0x1d2229(0x2ce)](_0x535b1b))throw _0x535b1b[_0x1d2229(0x2ee)];const _0x22a910=_0x535b1b[_0x1d2229(0x1e0)][0x0][_0x1d2229(0x448)]['textRanges'];Array[_0x1d2229(0x372)](_0x22a910)&&_0x22a910[_0x1d2229(0x3b7)]&&_0x26100d[_0x1d2229(0x2a0)](_0x22a910[0x0]);}};_0x547126=_0x5144bc([_0xaf46f4(0x0,_0x560361[_0x5de549(0x37e)]),_0xaf46f4(0x1,_0x46a3bd['IRenderManagerService'])],_0x547126);var _0x494865=Object[_0x5de549(0x49f)],_0x33054a=(_0x2b793d,_0x395f2,_0x41015,_0x3c2c33)=>{const _0x20b2a4=_0x5de549;for(var _0x3a49a3=_0x3c2c33>0x1?void 0x0:_0x3c2c33?_0x494865(_0x395f2,_0x41015):_0x395f2,_0x594a98=_0x2b793d[_0x20b2a4(0x3b7)]-0x1,_0x26bebd;_0x594a98>=0x0;_0x594a98--)(_0x26bebd=_0x2b793d[_0x594a98])&&(_0x3a49a3=_0x26bebd(_0x3a49a3)||_0x3a49a3);return _0x3a49a3;},_0x216ee=(_0x133e54,_0x50da81)=>(_0x35743c,_0x50739a)=>_0x50da81(_0x35743c,_0x50739a,_0x133e54);let _0xacb853=class{constructor(_0x293e0b,_0x1d7f52,_0x2b5dd9){const _0x1279b7=_0x5de549;this[_0x1279b7(0x31d)]=_0x293e0b,this[_0x1279b7(0x403)]=_0x1d7f52,this[_0x1279b7(0x3b1)]=_0x2b5dd9;}[_0x5de549(0x444)](_0x330ee9){const _0x55e2e4=_0x5de549;this[_0x55e2e4(0x201)](_0x330ee9);}[_0x5de549(0x46e)](_0x223ef2){const _0xa5f205=_0x5de549,{unitID:_0x4560d2}=_0x223ef2,{collaboration:_0x3442fd}=this[_0xa5f205(0x3b1)][_0xa5f205(0x261)](_0x4560d2);if(_0x3442fd[_0xa5f205(0x3b7)]===0x0)return _0x223ef2;let _0x28a2ab=_0x39304f[_0xa5f205(0x1ec)][_0xa5f205(0x3ab)](_0x223ef2[_0xa5f205(0x404)][0x0]);for(let _0x9a05d4=0x0;_0x9a05d4<_0x3442fd[_0xa5f205(0x3b7)];_0x9a05d4++){const _0x293e26={'id':_0xa5f205(0x476),'params':{'unitId':_0x3442fd[_0x9a05d4]['unitId'],..._0x3442fd[_0x9a05d4][_0xa5f205(0x293)]}},_0x19c041=this[_0xa5f205(0x403)][_0xa5f205(0x37d)](_0x28a2ab,_0x293e26,!0x1);if(_0x560361[_0xa5f205(0x3fd)](_0x19c041))throw _0x19c041['error'];_0x28a2ab=_0x19c041[_0xa5f205(0x1d7)];}return{..._0x39304f[_0xa5f205(0x1ec)][_0xa5f205(0x3ab)](_0x223ef2),'mutations':[_0x28a2ab]};}[_0x5de549(0x201)](_0x1aa0af){const _0x38d35a=_0x5de549,{unitID:_0x16e33e}=_0x1aa0af,{history:_0x50ff57,collaboration:_0x30be94}=this['_docStateChangeManagerService'][_0x38d35a(0x261)](_0x16e33e);if(_0x50ff57['length']===0x0&&_0x30be94['length']===0x0)return;const _0x3759f8=[],_0x3a8e7f=[];let _0x45acc6=_0x39304f[_0x38d35a(0x1ec)][_0x38d35a(0x3ab)](_0x1aa0af[_0x38d35a(0x404)][0x0]),_0x14a992=_0x39304f[_0x38d35a(0x1ec)][_0x38d35a(0x3ab)](_0x1aa0af[_0x38d35a(0x404)][0x0]);for(let _0x58bccd=_0x50ff57['length']-0x1;_0x58bccd>=0x0;_0x58bccd--){const _0x30130b={'id':_0x38d35a(0x476),'params':{'unitId':_0x50ff57[_0x58bccd][_0x38d35a(0x2fb)],..._0x50ff57[_0x58bccd][_0x38d35a(0x222)]}},_0x36d30e={'id':_0x38d35a(0x476),'params':{'unitId':_0x50ff57[_0x58bccd]['unitId'],..._0x50ff57[_0x58bccd][_0x38d35a(0x293)]}},_0x45fc5a=this[_0x38d35a(0x403)]['transformMutation'](_0x45acc6,_0x30130b,!0x1),_0x375666=this[_0x38d35a(0x403)]['transformMutation'](_0x14a992,_0x36d30e,!0x1);if(_0x560361[_0x38d35a(0x3fd)](_0x45fc5a))throw _0x45fc5a['error'];if(_0x560361['isTransformMutationFailure'](_0x375666))throw _0x375666[_0x38d35a(0x2ee)];_0x3759f8['unshift']({..._0x50ff57[_0x58bccd],'undoState':_0x45fc5a['m2Prime']['params'],'redoState':_0x375666['m2Prime']['params']}),_0x45acc6=_0x45fc5a[_0x38d35a(0x1d7)],_0x14a992=_0x375666['m1Prime'];}_0x45acc6=_0x39304f['Tools'][_0x38d35a(0x3ab)](_0x1aa0af[_0x38d35a(0x404)][0x0]),_0x14a992=_0x39304f[_0x38d35a(0x1ec)][_0x38d35a(0x3ab)](_0x1aa0af[_0x38d35a(0x404)][0x0]);for(let _0x286738=_0x30be94[_0x38d35a(0x3b7)]-0x1;_0x286738>=0x0;_0x286738--){const _0xb43fcc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30be94[_0x286738][_0x38d35a(0x2fb)],..._0x30be94[_0x286738][_0x38d35a(0x222)]}},_0xeb8c01={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30be94[_0x286738][_0x38d35a(0x2fb)],..._0x30be94[_0x286738]['redoState']}},_0x3e48ae=this[_0x38d35a(0x403)][_0x38d35a(0x37d)](_0x45acc6,_0xb43fcc,!0x1),_0x34fa47=this[_0x38d35a(0x403)][_0x38d35a(0x37d)](_0x14a992,_0xeb8c01,!0x1);if(_0x560361['isTransformMutationFailure'](_0x3e48ae))throw _0x3e48ae[_0x38d35a(0x2ee)];if(_0x560361[_0x38d35a(0x3fd)](_0x34fa47))throw _0x34fa47[_0x38d35a(0x2ee)];_0x3a8e7f[_0x38d35a(0x282)]({..._0x30be94[_0x286738],'undoState':_0x3e48ae[_0x38d35a(0x1e0)]['params'],'redoState':_0x34fa47['m2Prime'][_0x38d35a(0x448)]}),_0x45acc6=_0x3e48ae['m1Prime'],_0x14a992=_0x34fa47[_0x38d35a(0x1d7)];}this[_0x38d35a(0x3b1)][_0x38d35a(0x461)](_0x16e33e,{'history':_0x3759f8,'collaboration':_0x3a8e7f});}};_0xacb853=_0x33054a([_0x216ee(0x0,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x2bd)])),_0x216ee(0x1,_0x560361[_0x5de549(0x37e)]),_0x216ee(0x2,_0x39304f['Inject'](_0x2abae2['DocStateChangeManagerService']))],_0xacb853);var _0x31e565=Object[_0x5de549(0x49f)],_0x523a3c=(_0x348d58,_0x4650b6,_0x5119a9,_0x47f61a)=>{const _0x5ec6a5=_0x5de549;for(var _0x6e6609=_0x47f61a>0x1?void 0x0:_0x47f61a?_0x31e565(_0x4650b6,_0x5119a9):_0x4650b6,_0x59d0df=_0x348d58[_0x5ec6a5(0x3b7)]-0x1,_0x2ad891;_0x59d0df>=0x0;_0x59d0df--)(_0x2ad891=_0x348d58[_0x59d0df])&&(_0x6e6609=_0x2ad891(_0x6e6609)||_0x6e6609);return _0x6e6609;},_0x70a35b=(_0x5b4eba,_0x42a892)=>(_0x187036,_0x26c230)=>_0x42a892(_0x187036,_0x26c230,_0x5b4eba);let _0x372ab3=class{constructor(_0x2477b5,_0x4e64cc){const _0x215a38=_0x5de549;this['_injector']=_0x2477b5,this[_0x215a38(0x403)]=_0x4e64cc;}[_0x5de549(0x33a)](_0x279231){const _0x4cc896=_0x5de549;var _0x4a012d;const _0x5b7d66=this[_0x4cc896(0x31d)][_0x4cc896(0x1c0)](_0x59af06[_0x4cc896(0x20c)]),_0x23f385=(_0x4a012d=_0x5b7d66['getDocRanges']())!=null?_0x4a012d:[];if(_0x23f385[_0x4cc896(0x3b7)]===0x0)return;const _0x4a8a0f=_0x279231[_0x4cc896(0x42f)],_0x4f0a48=[{'id':_0x4cc896(0x476),'params':{'unitId':_0x4a8a0f,'actions':null,'textRanges':_0x23f385}}],_0x49f637=this[_0x4cc896(0x403)]['transformMutationsWithChangeset'](_0x279231,_0x4f0a48);if(!_0x560361[_0x4cc896(0x2ce)](_0x49f637))throw _0x49f637['error'];const _0x24010c=_0x49f637[_0x4cc896(0x1e0)][0x0][_0x4cc896(0x448)][_0x4cc896(0x225)];Array[_0x4cc896(0x372)](_0x24010c)&&_0x24010c[_0x4cc896(0x3b7)]&&_0x5b7d66['replaceDocRanges'](_0x24010c,{'unitId':_0x4a8a0f,'subUnitId':_0x4a8a0f},!0x1);}};_0x372ab3=_0x523a3c([_0x70a35b(0x0,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x2bd)])),_0x70a35b(0x1,_0x560361[_0x5de549(0x37e)])],_0x372ab3);var _0x42e7e9=Object[_0x5de549(0x49f)],_0x1eb956=(_0x2f4774,_0x23a028,_0x284e45,_0x2ade7a)=>{const _0x514a23=_0x5de549;for(var _0x57d420=_0x2ade7a>0x1?void 0x0:_0x2ade7a?_0x42e7e9(_0x23a028,_0x284e45):_0x23a028,_0x26019d=_0x2f4774[_0x514a23(0x3b7)]-0x1,_0x29cd74;_0x26019d>=0x0;_0x26019d--)(_0x29cd74=_0x2f4774[_0x26019d])&&(_0x57d420=_0x29cd74(_0x57d420)||_0x57d420);return _0x57d420;},_0x23a64a=(_0x3e85bb,_0x439965)=>(_0x4c3a6f,_0x39596f)=>_0x439965(_0x4c3a6f,_0x39596f,_0x3e85bb);let _0x516750=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0xa203a5,_0x346642,_0xfd203f,_0x4ae842,_0x56b45b,_0x11cd3,_0x3d79de,_0x4a94bb){const _0x27f0ad=_0x5de549;super(),_0x41fabe(this,_0x27f0ad(0x2e8),new _0x404575[(_0x27f0ad(0x25b))](_0x3fe1f0[_0x27f0ad(0x329)]['NOT_COLLAB'])),(this[_0x27f0ad(0x3b1)]=_0xa203a5,this['_collaborationController']=_0x346642,this[_0x27f0ad(0x23e)]=_0xfd203f,this[_0x27f0ad(0x3e8)]=_0x4ae842,this['_docTransformSelectionsService']=_0x56b45b,this[_0x27f0ad(0x2ff)]=_0x11cd3,this['_messageService']=_0x3d79de,this['_localeService']=_0x4a94bb,this[_0x27f0ad(0x3cc)]());}[_0x5de549(0x3cc)](){const _0x10a33c=_0x5de549;this[_0x10a33c(0x24e)](this[_0x10a33c(0x1fd)][_0x10a33c(0x312)][_0x10a33c(0x38e)](_0x3445a6=>{const _0x4a5315=_0x10a33c,_0x15fce7=this['_docStateChangeManagerService'][_0x4a5315(0x30e)]['subscribe'](_0x5b8b55=>{const _0x47c270=_0x4a5315;if(_0x5b8b55==null)return;const {unitId:_0x471479,redoState:_0x20066d,commandId:_0x43a32a}=_0x5b8b55;if(_0x471479!==_0x3445a6[_0x47c270(0x42f)])return;const _0x47a486={'id':_0x43a32a,'type':_0x39304f[_0x47c270(0x208)][_0x47c270(0x397)],'params':{'unitId':_0x471479,'actions':_0x20066d[_0x47c270(0x42c)],'textRanges':null}};_0x3445a6[_0x47c270(0x1ea)](_0x47a486);});if(_0x3445a6[_0x4a5315(0x24e)](_0x15fce7),_0x3445a6 instanceof _0x3fe1f0[_0x4a5315(0x1ce)]){const _0x222696={'onTransformIME':_0x4d3723=>this[_0x4a5315(0x23e)][_0x4a5315(0x342)](_0x4d3723),'onTransformState':_0x6d6f9e=>this[_0x4a5315(0x3e8)][_0x4a5315(0x444)](_0x6d6f9e),'onTransformSelections':_0x3b1dae=>this['_docTransformSelectionsService'][_0x4a5315(0x33a)](_0x3b1dae),'onSyncEditingCollabCursor':_0x5cc744=>this['_docSyncEditingCollabCursorService'][_0x4a5315(0x3e0)](_0x5cc744),'onTransformRemoteChangesetByIMECache':_0x599616=>this['_docTransformIMECacheService'][_0x4a5315(0x46e)](_0x599616),'onTransformRemoteChangesetByStateCache':_0x4a3212=>this[_0x4a5315(0x3e8)][_0x4a5315(0x46e)](_0x4a3212)};_0x3445a6[_0x4a5315(0x3c9)](_0x222696);}}));}};_0x516750=_0x1eb956([_0x23a64a(0x0,_0x39304f[_0x5de549(0x356)](_0x2abae2[_0x5de549(0x48c)])),_0x23a64a(0x1,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x28d)])),_0x23a64a(0x2,_0x39304f['Inject'](_0x547126)),_0x23a64a(0x3,_0x39304f[_0x5de549(0x356)](_0xacb853)),_0x23a64a(0x4,_0x39304f[_0x5de549(0x356)](_0x372ab3)),_0x23a64a(0x5,_0x39304f['Inject'](_0x4c3a54)),_0x23a64a(0x6,_0x4c3b5c[_0x5de549(0x323)]),_0x23a64a(0x7,_0x39304f[_0x5de549(0x356)](_0x39304f['LocaleService']))],_0x516750);var _0x277c13=(_0xa63f82=>(_0xa63f82[_0xa63f82[_0x5de549(0x2ed)]=0x0]='UNDEFINED',_0xa63f82[_0xa63f82['OK']=0x1]='OK',_0xa63f82[_0xa63f82[_0x5de549(0x3a3)]=0x2]=_0x5de549(0x3a3),_0xa63f82[_0xa63f82[_0x5de549(0x43e)]=0x3]='PERMISSION_DENIED',_0xa63f82[_0xa63f82[_0x5de549(0x1bb)]=0x4]=_0x5de549(0x1bb),_0xa63f82[_0xa63f82[_0x5de549(0x306)]=0x5]=_0x5de549(0x306),_0xa63f82[_0xa63f82[_0x5de549(0x496)]=0x6]='ALREADY_EXISTS',_0xa63f82[_0xa63f82['INVALID_ARGUMENT']=0x7]=_0x5de549(0x3a2),_0xa63f82[_0xa63f82['TOO_MANY_REQUESTS']=0x8]=_0x5de549(0x331),_0xa63f82[_0xa63f82[_0x5de549(0x433)]=0x9]=_0x5de549(0x433),_0xa63f82[_0xa63f82['LOGIN_FAILED']=0xa]=_0x5de549(0x46d),_0xa63f82[_0xa63f82[_0x5de549(0x2da)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xa63f82[_0xa63f82[_0x5de549(0x1d1)]=0xc]=_0x5de549(0x1d1),_0xa63f82[_0xa63f82['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x5de549(0x270),_0xa63f82[_0xa63f82[_0x5de549(0x1f9)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xa63f82[_0xa63f82[_0x5de549(0x1d3)]=0xf]=_0x5de549(0x1d3),_0xa63f82[_0xa63f82[_0x5de549(0x324)]=0x10]=_0x5de549(0x324),_0xa63f82[_0xa63f82[_0x5de549(0x379)]=0x64]=_0x5de549(0x379),_0xa63f82[_0xa63f82[_0x5de549(0x1c1)]=0x65]='ERROR_AGAIN',_0xa63f82[_0xa63f82[_0x5de549(0x445)]=0xc9]=_0x5de549(0x445),_0xa63f82[_0xa63f82[_0x5de549(0x40b)]=0xca]=_0x5de549(0x40b),_0xa63f82[_0xa63f82[_0x5de549(0x45d)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xa63f82[_0xa63f82[_0x5de549(0x499)]=0x1771]=_0x5de549(0x499),_0xa63f82[_0xa63f82[_0x5de549(0x1ed)]=0x1772]=_0x5de549(0x1ed),_0xa63f82[_0xa63f82[_0x5de549(0x491)]=0x1773]=_0x5de549(0x491),_0xa63f82[_0xa63f82[_0x5de549(0x25a)]=0x1b59]='APPLY_REJECT',_0xa63f82[_0xa63f82[_0x5de549(0x3bc)]=0x1b5a]=_0x5de549(0x3bc),_0xa63f82[_0xa63f82[_0x5de549(0x258)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xa63f82[_0xa63f82[_0x5de549(0x23c)]=0x1b5c]=_0x5de549(0x23c),_0xa63f82[_0xa63f82[_0x5de549(0x407)]=0x1b5d]=_0x5de549(0x407),_0xa63f82[_0xa63f82[_0x5de549(0x3aa)]=0x1f41]=_0x5de549(0x3aa),_0xa63f82[_0xa63f82['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xa63f82[_0xa63f82[_0x5de549(0x4a4)]=0x232a]=_0x5de549(0x4a4),_0xa63f82[_0xa63f82[_0x5de549(0x429)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xa63f82[_0xa63f82[_0x5de549(0x246)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xa63f82[_0xa63f82[_0x5de549(0x1ff)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xa63f82[_0xa63f82[_0x5de549(0x2fc)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xa63f82[_0xa63f82[_0x5de549(0x386)]=0x2712]=_0x5de549(0x386),_0xa63f82[_0xa63f82[_0x5de549(0x37b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xa63f82[_0xa63f82[_0x5de549(0x447)]=0x2714]=_0x5de549(0x447),_0xa63f82[_0xa63f82[_0x5de549(0x1d9)]=0x271a]=_0x5de549(0x1d9),_0xa63f82[_0xa63f82[_0x5de549(0x244)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xa63f82[_0xa63f82['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xa63f82[_0xa63f82[_0x5de549(0x2f0)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xa63f82[_0xa63f82[_0x5de549(0x3af)]=0x271e]=_0x5de549(0x3af),_0xa63f82[_0xa63f82['YUUMI_AI_RUN_FAILED']=0x271f]=_0x5de549(0x471),_0xa63f82[_0xa63f82[_0x5de549(0x494)]=0x2720]=_0x5de549(0x494),_0xa63f82[_0xa63f82[_0x5de549(0x36e)]=0x2af9]=_0x5de549(0x36e),_0xa63f82[_0xa63f82['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xa63f82[_0xa63f82[_0x5de549(0x2fa)]=0x2ee2]='INVALID_INVITE_CODE',_0xa63f82[_0xa63f82['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5de549(0x235),_0xa63f82[_0xa63f82[_0x5de549(0x3c5)]=0x2ee4]=_0x5de549(0x3c5),_0xa63f82[_0xa63f82[_0x5de549(0x2ab)]=0x2ee5]=_0x5de549(0x2ab),_0xa63f82[_0xa63f82[_0x5de549(0x262)]=0x32c9]=_0x5de549(0x262),_0xa63f82[_0xa63f82[_0x5de549(0x3c2)]=0x32ca]=_0x5de549(0x3c2),_0xa63f82[_0xa63f82[_0x5de549(0x38c)]=0x32cb]=_0x5de549(0x38c),_0xa63f82[_0xa63f82[_0x5de549(0x209)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0xa63f82[_0xa63f82[_0x5de549(0x274)]=0x36b2]=_0x5de549(0x274),_0xa63f82[_0xa63f82[_0x5de549(0x35d)]=0x36b3]=_0x5de549(0x35d),_0xa63f82[_0xa63f82[_0x5de549(0x3a9)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xa63f82[_0xa63f82[_0x5de549(0x3ea)]=0x36b5]=_0x5de549(0x3ea),_0xa63f82[_0xa63f82[_0x5de549(0x35c)]=0x36b6]=_0x5de549(0x35c),_0xa63f82[_0xa63f82[_0x5de549(0x249)]=0x36b7]=_0x5de549(0x249),_0xa63f82[_0xa63f82[_0x5de549(0x2a7)]=0x36b8]=_0x5de549(0x2a7),_0xa63f82[_0xa63f82[_0x5de549(0x340)]=0x3715]=_0x5de549(0x340),_0xa63f82[_0xa63f82[_0x5de549(0x38b)]=0x3716]=_0x5de549(0x38b),_0xa63f82[_0xa63f82[_0x5de549(0x362)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xa63f82[_0xa63f82[_0x5de549(0x2b4)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0xa63f82[_0xa63f82[_0x5de549(0x3f6)]=0x3a99]=_0x5de549(0x3f6),_0xa63f82[_0xa63f82[_0x5de549(0x462)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0xa63f82[_0xa63f82[_0x5de549(0x39a)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0xa63f82[_0xa63f82[_0x5de549(0x279)]=0x3a9c]=_0x5de549(0x279),_0xa63f82[_0xa63f82['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x5de549(0x284),_0xa63f82[_0xa63f82[_0x5de549(0x1df)]=0x3a9e]=_0x5de549(0x1df),_0xa63f82[_0xa63f82[_0x5de549(0x22b)]=0x3a9f]=_0x5de549(0x22b),_0xa63f82[_0xa63f82[_0x5de549(0x408)]=0x3e81]=_0x5de549(0x408),_0xa63f82[_0xa63f82[_0x5de549(0x426)]=-0x1]=_0x5de549(0x426),_0xa63f82))(_0x277c13||{});function _0x204ffd(_0x1aeb0b){const _0x5f5d38=_0x5de549;var _0x5f1f09,_0x2d4e76;const _0x4b47dd=(_0x5f1f09=_0x1aeb0b[_0x5f5d38(0x41a)])==null?void 0x0:_0x5f1f09[_0x5f5d38(0x1be)],_0x5c2619=((_0x2d4e76=_0x1aeb0b['stageInfo'])==null?void 0x0:_0x2d4e76[_0x5f5d38(0x355)])||0x0;return _0x4b47dd===_0x284237[_0x5f5d38(0x3f3)][_0x5f5d38(0x3a6)]&&_0x5c2619>0x0;}function _0x2be4ae(_0x5dbe80){const _0x18ab4f=_0x5de549;return _0x5dbe80['functionsExecutedState']===_0x284237[_0x18ab4f(0x21c)][_0x18ab4f(0x248)];}var _0x412897=Object[_0x5de549(0x49f)],_0x11c584=(_0x34f1b4,_0x87d016,_0x20889c,_0x48923a)=>{const _0x45afe6=_0x5de549;for(var _0x275158=_0x48923a>0x1?void 0x0:_0x48923a?_0x412897(_0x87d016,_0x20889c):_0x87d016,_0x21f6e0=_0x34f1b4[_0x45afe6(0x3b7)]-0x1,_0x40de39;_0x21f6e0>=0x0;_0x21f6e0--)(_0x40de39=_0x34f1b4[_0x21f6e0])&&(_0x275158=_0x40de39(_0x275158)||_0x275158);return _0x275158;},_0x56ccd2=(_0x17a95f,_0x264b58)=>(_0x229b07,_0x401e57)=>_0x264b58(_0x229b07,_0x401e57,_0x17a95f);const _0xdbcb5d=_0x5de549(0x416),_0x342981=_0x5de549(0x1d4),_0x4fe584=_0x5de549(0x1d0);let _0x2bfa89=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0xc45c9a,_0x5a8e7e,_0x5c4015,_0x9bc080,_0x26c66f,_0x1862f8,_0x266bfe){const _0x13e764=_0x5de549;super(),_0x41fabe(this,_0x13e764(0x29f),null),_0x41fabe(this,_0x13e764(0x27c),0x0),_0x41fabe(this,_0x13e764(0x467),0x0),_0x41fabe(this,_0x13e764(0x215),[]),_0x41fabe(this,_0x13e764(0x411),0x0),(this['_messageService']=_0xc45c9a,this[_0x13e764(0x33e)]=_0x5a8e7e,this[_0x13e764(0x20f)]=_0x5c4015,this[_0x13e764(0x40f)]=_0x9bc080,this[_0x13e764(0x26e)]=_0x26c66f,this['_logService']=_0x1862f8,this[_0x13e764(0x3c1)]=_0x266bfe,this[_0x13e764(0x3cd)]());}['_initCommandInterceptor'](){const _0x4ae39c=_0x5de549;this[_0x4ae39c(0x24e)](this['_commandService'][_0x4ae39c(0x259)]((_0x5c38ab,_0x5308fb)=>{const _0x11e224=_0x4ae39c;var _0x18f9ea;if(_0x5c38ab['id']!==_0x284237[_0x11e224(0x1b0)]['id'])return;const _0x3c812b=_0x5c38ab[_0x11e224(0x448)];if(!this[_0x11e224(0x1e7)]((_0x18f9ea=_0x3c812b[_0x11e224(0x2d9)])!=null?_0x18f9ea:[]))return;if(!this['_checkCalculationAvailable']())throw this['_checkAndWaitForCalculationPermission'](_0x5c38ab,_0x5308fb),this['_showGuardMessage'](),new _0x39304f[(_0x11e224(0x358))]();})),this[_0x4ae39c(0x24e)](this[_0x4ae39c(0x33e)][_0x4ae39c(0x2fd)]((_0x2ebb2b,_0x3cba68)=>{const _0x94105d=_0x4ae39c;if(_0x2ebb2b['id']!==_0x284237[_0x94105d(0x29a)]['id'])return;const _0x460af8=_0x2ebb2b['params'];if(_0x204ffd(_0x460af8)){const _0x19c934=_0x39304f[_0x94105d(0x26d)]();this[_0x94105d(0x215)]['push'](_0x19c934),this['_startCalculationLimit'](_0x19c934);}else{if(_0x2be4ae(_0x460af8)&&this[_0x94105d(0x215)][_0x94105d(0x3b7)]>0x0){const _0x57f7db=this[_0x94105d(0x215)]['shift']();this[_0x94105d(0x1f2)](_0x57f7db);}}}));}[_0x5de549(0x2c3)](){const _0x36d0b2=_0x5de549;super[_0x36d0b2(0x2c3)](),this['_clearPolling'](),this[_0x36d0b2(0x215)]=[],this['_currentUsage']=0x0,this[_0x36d0b2(0x27c)]=0x0,this[_0x36d0b2(0x411)]=0x0;}async[_0x5de549(0x28c)](_0x11193a,_0x4c158e){const _0x5b8513=_0x5de549;for(let _0x59a0a5=0x0;_0x59a0a5<0x1e;_0x59a0a5++)try{if(await this[_0x5b8513(0x341)](),this[_0x5b8513(0x44e)]()){this[_0x5b8513(0x227)](_0x11193a,_0x4c158e),this[_0x5b8513(0x22d)]['show']({'content':this[_0x5b8513(0x3c1)]['t'](_0x5b8513(0x3db)),'type':_0x31598f[_0x5b8513(0x242)][_0x5b8513(0x2bb)]});return;}await new Promise(_0x4a44ed=>{const _0x13a0c0=_0x5b8513;this[_0x13a0c0(0x29f)]=window['setTimeout'](_0x4a44ed,0x3e8);});}catch(_0x3ff704){this['_logService'][_0x5b8513(0x2ee)](_0x3ff704);}this[_0x5b8513(0x22d)][_0x5b8513(0x38d)]({'content':this[_0x5b8513(0x3c1)]['t'](_0x5b8513(0x1e2)),'type':_0x31598f[_0x5b8513(0x242)][_0x5b8513(0x385)]});}[_0x5de549(0x227)](_0x355d39,_0x32122a){const _0x1a302c=_0x5de549;try{this[_0x1a302c(0x33e)][_0x1a302c(0x275)](_0x355d39['id'],_0x355d39['params'],_0x32122a);}catch(_0x5673ae){this['_logService']['error'](_0x5673ae);}}[_0x5de549(0x314)](_0x4c56e0,_0x40933b){const _0x2f7308=_0x5de549;_0x40933b<this[_0x2f7308(0x411)]||(this[_0x2f7308(0x411)]=_0x40933b,this[_0x2f7308(0x27c)]=Number[_0x2f7308(0x435)](_0x4c56e0[_0x2f7308(0x44c)]),this['_currentUsage']=Number['parseInt'](_0x4c56e0[_0x2f7308(0x273)]));}async['_startCalculationLimit'](_0x360c93){const _0x38a34d=_0x5de549;var _0x1523eb,_0x114b81;const _0x36d26c=Date[_0x38a34d(0x48e)]();try{const _0x375feb=((_0x1523eb=this[_0x38a34d(0x20f)][_0x38a34d(0x47f)](_0x3fe1f0[_0x38a34d(0x4a3)]))==null?void 0x0:_0x1523eb['startFormulaLimitUrl'])||_0x342981,_0xb7f446=(await this[_0x38a34d(0x40f)][_0x38a34d(0x2b8)](_0x375feb,{'body':JSON[_0x38a34d(0x230)]({'taskId':_0x360c93})}))[_0x38a34d(0x20e)];if(((_0x114b81=_0xb7f446['error'])==null?void 0x0:_0x114b81[_0x38a34d(0x36c)])!==_0x277c13['OK'])return;this[_0x38a34d(0x314)](_0xb7f446[_0x38a34d(0x353)],_0x36d26c);}catch(_0x4faa4f){this[_0x38a34d(0x43a)][_0x38a34d(0x2ee)](_0x4faa4f);}}async[_0x5de549(0x341)](_0x459a7a){const _0x55499b=_0x5de549;var _0x36c0d9,_0x394628;const _0x43f0f6=Date[_0x55499b(0x48e)]();try{const _0x2d7397=((_0x36c0d9=this['_configService']['getConfig'](_0x3fe1f0['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x36c0d9[_0x55499b(0x2ae)])||_0xdbcb5d,_0x4c147a=_0x459a7a?_0x2d7397+_0x55499b(0x29d)+encodeURIComponent(_0x459a7a):_0x2d7397,_0x51ba83=(await this[_0x55499b(0x40f)][_0x55499b(0x1c0)](_0x4c147a))['body'];if(((_0x394628=_0x51ba83['error'])==null?void 0x0:_0x394628['code'])!==_0x277c13['OK'])return;this[_0x55499b(0x314)](_0x51ba83['limitInfo'],_0x43f0f6);}catch(_0x3530c4){this[_0x55499b(0x43a)]['error'](_0x3530c4);}}async[_0x5de549(0x1f2)](_0x49b644){const _0x354f67=_0x5de549;var _0x353367,_0x4f4024;const _0x46a5c5=Date['now']();try{const _0x30c98e=((_0x353367=this[_0x354f67(0x20f)]['getConfig'](_0x3fe1f0[_0x354f67(0x4a3)]))==null?void 0x0:_0x353367[_0x354f67(0x223)])||_0x4fe584,_0x4a6b7a=(await this[_0x354f67(0x40f)]['post'](_0x30c98e,{'body':JSON[_0x354f67(0x230)]({'taskId':_0x49b644})}))[_0x354f67(0x20e)];if(((_0x4f4024=_0x4a6b7a[_0x354f67(0x2ee)])==null?void 0x0:_0x4f4024[_0x354f67(0x36c)])!==_0x277c13['OK'])return;this[_0x354f67(0x314)](_0x4a6b7a[_0x354f67(0x353)],_0x46a5c5);}catch(_0x23d8e4){this[_0x354f67(0x43a)]['error'](_0x23d8e4);}}[_0x5de549(0x44e)](){const _0x2eb8da=_0x5de549;return this[_0x2eb8da(0x27c)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}[_0x5de549(0x2bf)](){const _0x58d377=_0x5de549;this[_0x58d377(0x29f)]&&(clearTimeout(this['_pollingInterval']),this[_0x58d377(0x29f)]=null);}['_showGuardMessage'](){const _0x15b792=_0x5de549;this[_0x15b792(0x22d)][_0x15b792(0x38d)]({'content':this[_0x15b792(0x3c1)]['t'](_0x15b792(0x2ea)),'type':_0x31598f[_0x15b792(0x242)][_0x15b792(0x299)]});}[_0x5de549(0x1e7)](_0x59bac8){const _0x21cc59=_0x5de549;for(const _0x336633 of _0x59bac8){const {unitId:_0x2e15d4,sheetId:_0x36ec57,range:_0x335d5c}=_0x336633,_0x53da8e=this[_0x21cc59(0x26e)]['getUnit'](_0x2e15d4);if(!_0x53da8e)continue;const _0x4de68f=_0x53da8e[_0x21cc59(0x296)](_0x36ec57);if(!_0x4de68f)continue;const _0x1a79af=_0x4de68f[_0x21cc59(0x1f0)]();for(let _0x1894dd=_0x335d5c[_0x21cc59(0x1a7)];_0x1894dd<=_0x335d5c['endRow'];_0x1894dd++)for(let _0x2c7713=_0x335d5c[_0x21cc59(0x286)];_0x2c7713<=_0x335d5c[_0x21cc59(0x305)];_0x2c7713++){const _0x54b125=_0x1a79af[_0x21cc59(0x3fc)](_0x1894dd,_0x2c7713);if(_0x54b125&&(_0x39304f[_0x21cc59(0x37f)](_0x54b125['f'])||_0x39304f[_0x21cc59(0x43c)](_0x54b125['si'])))return!0x0;}}return!0x1;}};_0x2bfa89=_0x11c584([_0x56ccd2(0x0,_0x39304f[_0x5de549(0x356)](_0x4c3b5c[_0x5de549(0x323)])),_0x56ccd2(0x1,_0x39304f[_0x5de549(0x3bf)]),_0x56ccd2(0x2,_0x39304f[_0x5de549(0x205)]),_0x56ccd2(0x3,_0x39304f[_0x5de549(0x356)](_0x4e0fb2[_0x5de549(0x469)])),_0x56ccd2(0x4,_0x39304f[_0x5de549(0x2cc)]),_0x56ccd2(0x5,_0x39304f[_0x5de549(0x25e)]),_0x56ccd2(0x6,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x3f4)]))],_0x2bfa89);var _0x74e318=Object[_0x5de549(0x49f)],_0x4d192b=(_0x29401a,_0xe9a37f,_0x1c8c03,_0x16e567)=>{const _0x50a798=_0x5de549;for(var _0x276cec=_0x16e567>0x1?void 0x0:_0x16e567?_0x74e318(_0xe9a37f,_0x1c8c03):_0xe9a37f,_0x51dbb0=_0x29401a[_0x50a798(0x3b7)]-0x1,_0x19ff64;_0x51dbb0>=0x0;_0x51dbb0--)(_0x19ff64=_0x29401a[_0x51dbb0])&&(_0x276cec=_0x19ff64(_0x276cec)||_0x276cec);return _0x276cec;},_0x226814=(_0x243898,_0x35dc32)=>(_0x26824d,_0x267ea1)=>_0x35dc32(_0x26824d,_0x267ea1,_0x243898);let _0x1e23b0=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x53ae89,_0x30eed9,_0x7dbf61){const _0x40c75f=_0x5de549;super(),_0x41fabe(this,_0x40c75f(0x2df),new Map()),_0x41fabe(this,_0x40c75f(0x288),new Map()),_0x41fabe(this,'_disabled',!0x1),(this[_0x40c75f(0x20f)]=_0x53ae89,this[_0x40c75f(0x310)]=_0x30eed9,this['_revisionService']=_0x7dbf61);}[_0x5de549(0x42a)](){this['_disabled']=!0x0;}[_0x5de549(0x41c)](){const _0x379fb2=_0x5de549;this[_0x379fb2(0x1d6)]=!0x1;}get[_0x5de549(0x32c)](){const _0x3c8e27=_0x5de549;return this[_0x3c8e27(0x288)];}['dispose'](){const _0x3a3ac2=_0x5de549;this[_0x3a3ac2(0x34b)]()[_0x3a3ac2(0x2f8)](()=>super['dispose']());}async[_0x5de549(0x43b)](_0xa6dd78){const _0x5e49f8=_0x5de549;return this['_disabled']?null:this[_0x5e49f8(0x310)]['getItem'](_0x3fe1f0[_0x5e49f8(0x357)](_0xa6dd78));}async[_0x5de549(0x32f)](_0x15f1e6,_0x3e06a5){const _0x2adad1=_0x5de549;return!!this[_0x2adad1(0x310)][_0x2adad1(0x3ca)](_0x15f1e6,_0x3e06a5);}[_0x5de549(0x378)](_0x28549c,_0x303503,_0x27b3bc,_0x3914ae){const _0x2dcf15=_0x5de549,_0x217b03=this[_0x2dcf15(0x48b)][_0x2dcf15(0x303)](_0x28549c);this[_0x2dcf15(0x2df)]['set'](_0x28549c,{'unitID':_0x28549c,'type':_0x303503,'awaitingChangeset':_0x27b3bc,'mutations':_0x3914ae,'rev':_0x217b03}),this[_0x2dcf15(0x288)][_0x2dcf15(0x3f7)](_0x28549c)||this[_0x2dcf15(0x266)](_0x28549c);}[_0x5de549(0x266)](_0x42d18f){const _0x4c6d06=_0x5de549,_0x116b92=this[_0x4c6d06(0x294)]();_0x116b92===0x0?this[_0x4c6d06(0x34a)](_0x42d18f):this[_0x4c6d06(0x288)][_0x4c6d06(0x361)](_0x42d18f,setTimeout(()=>this['_saveCache'](_0x42d18f),_0x116b92));}[_0x5de549(0x294)](){const _0x4afe10=_0x5de549;var _0x2ad5df;return(_0x2ad5df=this[_0x4afe10(0x20f)][_0x4afe10(0x47f)](_0x3fe1f0[_0x4afe10(0x459)]))!=null?_0x2ad5df:_0x3fe1f0['LOCAL_CACHE_INTERVAL'];}[_0x5de549(0x34a)](_0x42be44){const _0x464e42=_0x5de549,_0x3c4ec2=this[_0x464e42(0x288)][_0x464e42(0x1c0)](_0x42be44);return _0x3c4ec2!==void 0x0&&window[_0x464e42(0x3e9)](_0x3c4ec2),this['_localStorageService'][_0x464e42(0x3ca)](_0x3fe1f0[_0x464e42(0x357)](_0x42be44),this[_0x464e42(0x2df)]['get'](_0x42be44))[_0x464e42(0x2f8)](()=>this[_0x464e42(0x288)]['delete'](_0x42be44));}async[_0x5de549(0x34b)](){const _0x3dda55=_0x5de549,_0x4db39a=[];this[_0x3dda55(0x288)][_0x3dda55(0x22a)]((_0x8fe20c,_0x3036df)=>{const _0x5539d0=_0x3dda55;window[_0x5539d0(0x3e9)](_0x8fe20c),_0x4db39a[_0x5539d0(0x44d)](this[_0x5539d0(0x34a)](_0x3036df)[_0x5539d0(0x2f8)](()=>{const _0x353b52=_0x5539d0;this[_0x353b52(0x288)][_0x353b52(0x421)](_0x3036df);}));}),await Promise[_0x3dda55(0x22e)](_0x4db39a);}};_0x1e23b0=_0x4d192b([_0x226814(0x0,_0x39304f[_0x5de549(0x205)]),_0x226814(0x1,_0x39304f[_0x5de549(0x1f1)]),_0x226814(0x2,_0x39304f['Inject'](_0x560361[_0x5de549(0x458)]))],_0x1e23b0);class _0x12ecfd extends _0x39304f[_0x5de549(0x423)]{constructor(){const _0x8ad5c4=_0x5de549;super(),_0x41fabe(this,_0x8ad5c4(0x322)),this['urlChange$']=_0x404575[_0x8ad5c4(0x2de)](window,_0x8ad5c4(0x3cf))[_0x8ad5c4(0x498)](_0x404575['takeUntil'](this[_0x8ad5c4(0x241)]),_0x404575['shareReplay'](0x1),_0x404575['mapTo'](void 0x0));}[_0x5de549(0x374)](_0x260e80,_0x5bbeac,_0x5ac81b=!0x1){const _0x23a40d=_0x5de549,_0x4f0936=new URL(window['location'][_0x23a40d(0x25d)]);_0x4f0936[_0x23a40d(0x3ce)][_0x23a40d(0x361)](_0x260e80,_0x5bbeac),_0x5ac81b?window[_0x23a40d(0x3be)][_0x23a40d(0x27e)]('','',_0x4f0936[_0x23a40d(0x492)]()):window['history'][_0x23a40d(0x3d0)]('','',_0x4f0936[_0x23a40d(0x492)]());}[_0x5de549(0x2b0)](_0x29f086,_0x1c05bc=!0x1){const _0x337c7c=_0x5de549,_0x5e228f=new URL(window['location'][_0x337c7c(0x25d)]);_0x5e228f[_0x337c7c(0x3ce)][_0x337c7c(0x421)](_0x29f086),_0x1c05bc?window[_0x337c7c(0x3be)][_0x337c7c(0x27e)]('','',_0x5e228f[_0x337c7c(0x492)]()):window['history']['pushState']('','',_0x5e228f['toString']());}[_0x5de549(0x350)](_0x59356f){const _0x535fde=_0x5de549;var _0x4fb76a;return(_0x4fb76a=new URL(window[_0x535fde(0x457)][_0x535fde(0x25d)])[_0x535fde(0x3ce)][_0x535fde(0x1c0)](_0x59356f))!=null?_0x4fb76a:void 0x0;}}var _0x393bbe=Object['defineProperty'],_0x5fc207=Object[_0x5de549(0x49f)],_0x3adff3=(_0x4b5892,_0x50c80b,_0xfaae4f)=>_0x50c80b in _0x4b5892?_0x393bbe(_0x4b5892,_0x50c80b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfaae4f}):_0x4b5892[_0x50c80b]=_0xfaae4f,_0x53693c=(_0x1aa74c,_0x34dbf7,_0xc7596e,_0x5bfe0f)=>{const _0x44c64a=_0x5de549;for(var _0x56ef79=_0x5bfe0f>0x1?void 0x0:_0x5bfe0f?_0x5fc207(_0x34dbf7,_0xc7596e):_0x34dbf7,_0x28b8fb=_0x1aa74c[_0x44c64a(0x3b7)]-0x1,_0x56626a;_0x28b8fb>=0x0;_0x28b8fb--)(_0x56626a=_0x1aa74c[_0x28b8fb])&&(_0x56ef79=_0x56626a(_0x56ef79)||_0x56ef79);return _0x56ef79;},_0x13208c=(_0x38cded,_0x35fbe9)=>(_0x184873,_0x21a03e)=>_0x35fbe9(_0x184873,_0x21a03e,_0x38cded),_0x4c9030=(_0x2b51a4,_0x345a2f,_0x4596cf)=>_0x3adff3(_0x2b51a4,_0x345a2f+'',_0x4596cf);const _0x1dade5=_0x5de549(0x267);_0x44b1a7['UniverCollaborationClientUIPlugin']=class extends _0x39304f[_0x5de549(0x41d)]{constructor(_0x4ff6f7=_0x469697,_0x11c5b3,_0x3b87c3,_0xace2cd){const _0x2c1a5f=_0x5de549;super(),this[_0x2c1a5f(0x2cb)]=_0x4ff6f7,this[_0x2c1a5f(0x349)]=_0x11c5b3,this[_0x2c1a5f(0x31d)]=_0x3b87c3,this[_0x2c1a5f(0x20f)]=_0xace2cd;const {..._0x3e1a9a}=_0x39304f[_0x2c1a5f(0x394)]({},_0x469697,this[_0x2c1a5f(0x2cb)]);this[_0x2c1a5f(0x20f)]['setConfig'](_0x13b4e5,_0x3e1a9a);}[_0x5de549(0x3ef)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x5de549(0x238)](){this['_registerRenderDependencies']();}[_0x5de549(0x1ac)](){const _0x2fa01c=_0x5de549;var _0x1eef1a;const _0x54a336=[[_0x34f587],[_0x2bfa89],[_0x372ab3],[_0x547126],[_0xacb853],[_0x4c3a54],[_0x4d8922,{'useClass':_0x12ecfd}],[_0x4e0fb2[_0x2fa01c(0x43f)],{'useClass':_0x4e0fb2[_0x2fa01c(0x236)]}],[_0x3fe1f0[_0x2fa01c(0x443)],{'useClass':_0x1e23b0}],[_0x44b1a7[_0x2fa01c(0x319)]],[_0x516750],[_0x261734],[_0x1af4cc],[_0x171e0f],[_0x44b1a7[_0x2fa01c(0x315)]]];this['_config'][_0x2fa01c(0x455)]&&_0x54a336['push']([_0x33fdc9]),_0x39304f[_0x2fa01c(0x1c4)](this['_injector'],_0x39304f[_0x2fa01c(0x1fa)](_0x54a336,(_0x1eef1a=this[_0x2fa01c(0x2cb)])==null?void 0x0:_0x1eef1a[_0x2fa01c(0x1a8)]));}[_0x5de549(0x398)](){const _0x1d16a1=_0x5de549;this['disposeWithMe'](this[_0x1d16a1(0x349)][_0x1d16a1(0x390)](_0x39304f[_0x1d16a1(0x1cf)][_0x1d16a1(0x418)],[_0x43034b])),this[_0x1d16a1(0x24e)](this[_0x1d16a1(0x349)][_0x1d16a1(0x390)](_0x39304f[_0x1d16a1(0x1cf)][_0x1d16a1(0x211)],[_0x338784]));}[_0x5de549(0x1f4)](){const _0x2555f0=_0x5de549;_0x39304f[_0x2555f0(0x452)](this[_0x2555f0(0x31d)],[[_0x1af4cc],[_0x44b1a7[_0x2555f0(0x319)]],[_0x516750],[_0x261734],[_0x44b1a7[_0x2555f0(0x315)]],[_0x2bfa89]]),this['_config'][_0x2555f0(0x455)]&&_0x39304f['touchDependencies'](this[_0x2555f0(0x31d)],[[_0x33fdc9]]);}},_0x4c9030(_0x44b1a7['UniverCollaborationClientUIPlugin'],'pluginName',_0x1dade5),_0x44b1a7[_0x5de549(0x21b)]=_0x53693c([_0x39304f[_0x5de549(0x3e1)](_0x3fe1f0[_0x5de549(0x1ab)]),_0x13208c(0x1,_0x46a3bd[_0x5de549(0x334)]),_0x13208c(0x2,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x2bd)])),_0x13208c(0x3,_0x39304f[_0x5de549(0x205)])],_0x44b1a7[_0x5de549(0x21b)]);var _0xc03d57=Object[_0x5de549(0x49f)],_0x1b004e=(_0x3df999,_0x5d5603,_0x25f6bb,_0x4ccd40)=>{for(var _0xfa5ea5=_0x4ccd40>0x1?void 0x0:_0x4ccd40?_0xc03d57(_0x5d5603,_0x25f6bb):_0x5d5603,_0x30cae6=_0x3df999['length']-0x1,_0x1dbfe6;_0x30cae6>=0x0;_0x30cae6--)(_0x1dbfe6=_0x3df999[_0x30cae6])&&(_0xfa5ea5=_0x1dbfe6(_0xfa5ea5)||_0xfa5ea5);return _0xfa5ea5;},_0x3ee60e=(_0x217cb7,_0x14f25e)=>(_0x5c2b3e,_0x31fa64)=>_0x14f25e(_0x5c2b3e,_0x31fa64,_0x217cb7);_0x44b1a7['BrowserCollaborationSocketService']=class extends _0x3fe1f0['CollaborationSocketService']{constructor(_0x355588,_0x5ef208,_0x30a48a,_0x12a4e8,_0x10b2bd){super(_0x355588,_0x5ef208,_0x30a48a,_0x12a4e8,_0x10b2bd);}async[_0x5de549(0x1c8)](_0x519145){const _0x12df93=_0x5de549,_0x5347c1=await this['_getSessionTicket'](),_0x582d17=this[_0x12df93(0x3a7)](_0x519145,_0x5347c1);return this[_0x12df93(0x1f5)](_0x582d17);}['_createSocketURL'](_0xbc9b45,_0x5ade35){const _0x546c21=_0x5de549,_0x2f90a0=typeof window>'u'?new URL(_0xbc9b45):new URL(_0xbc9b45,window[_0x546c21(0x457)]['origin']);_0x2f90a0[_0x546c21(0x3ce)]['set'](_0x546c21(0x1ee),_0x5ade35);const _0x408a83=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x546c21(0x48d)]);return _0x408a83[_0x546c21(0x1c0)](_0x546c21(0x428))&&_0x2f90a0[_0x546c21(0x3ce)][_0x546c21(0x361)](_0x546c21(0x428),_0x408a83[_0x546c21(0x1c0)](_0x546c21(0x428))),_0x2f90a0['toString']();}async[_0x5de549(0x2bc)](){const _0x487afd=_0x5de549;var _0x2d2241,_0x4de4fc,_0x4cb55c;const _0x3b8ae0=this[_0x487afd(0x20f)][_0x487afd(0x47f)](_0x3fe1f0['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x283e1d=(_0x2d2241=_0x3b8ae0==null?void 0x0:_0x3b8ae0['wsSessionTicketUrl'])!=null?_0x2d2241:_0x3fe1f0[_0x487afd(0x1f7)];return(_0x4cb55c=(_0x4de4fc=(await this[_0x487afd(0x40f)][_0x487afd(0x1c0)](_0x283e1d,{'headers':{'Content-Type':_0x487afd(0x466)}}))[_0x487afd(0x20e)])==null?void 0x0:_0x4de4fc['ticket'])!=null?_0x4cb55c:'';}},_0x44b1a7['BrowserCollaborationSocketService']=_0x1b004e([_0x3ee60e(0x0,_0x39304f['Inject'](_0x39304f['Injector'])),_0x3ee60e(0x1,_0x39304f[_0x5de549(0x356)](_0x4e0fb2[_0x5de549(0x469)])),_0x3ee60e(0x2,_0x39304f['IConfigService']),_0x3ee60e(0x3,_0x39304f[_0x5de549(0x25e)]),_0x3ee60e(0x4,_0x560361[_0x5de549(0x4a8)])],_0x44b1a7[_0x5de549(0x3dc)]);var _0x596e83=Object[_0x5de549(0x49f)],_0xe44d28=(_0x531ff5,_0x2dac1b,_0x4d96ec,_0x52ec5e)=>{const _0x52d9e3=_0x5de549;for(var _0x4aae2f=_0x52ec5e>0x1?void 0x0:_0x52ec5e?_0x596e83(_0x2dac1b,_0x4d96ec):_0x2dac1b,_0x27e07e=_0x531ff5[_0x52d9e3(0x3b7)]-0x1,_0x4014d1;_0x27e07e>=0x0;_0x27e07e--)(_0x4014d1=_0x531ff5[_0x27e07e])&&(_0x4aae2f=_0x4014d1(_0x4aae2f)||_0x4aae2f);return _0x4aae2f;},_0x2b5778=(_0x225c71,_0x518d67)=>(_0x45ba7b,_0x28f9cd)=>_0x518d67(_0x45ba7b,_0x28f9cd,_0x225c71);_0x44b1a7[_0x5de549(0x446)]=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x1694d9,_0x36112b,_0x536998){const _0x509258=_0x5de549;super(),this['_instanceService']=_0x1694d9,this[_0x509258(0x40f)]=_0x36112b,this[_0x509258(0x20f)]=_0x536998;}async[_0x5de549(0x395)](_0x2addc0,_0x16ee4c,_0x302d1b,..._0x53ef91){const _0x3d8e43=_0x5de549;var _0xe08d3d,_0x12e47d,_0x53d692,_0x285287;const _0x48e4c2=this['_instanceService'][_0x3d8e43(0x3ae)]();if(!_0x48e4c2)throw new Error(_0x3d8e43(0x49d));const _0x4ceca7=((_0xe08d3d=this[_0x3d8e43(0x20f)][_0x3d8e43(0x47f)](_0x3fe1f0['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0xe08d3d:_0x3fe1f0['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2addc0+_0x3d8e43(0x2a4)+_0x16ee4c,_0x19e7e3=new URL(window['location']['href']),_0x4abfb9={'scriptId':_0x2addc0,'runId':(_0x12e47d=_0x19e7e3[_0x3d8e43(0x3ce)][_0x3d8e43(0x1c0)](_0x3d8e43(0x428)))!=null?_0x12e47d:'','function':_0x16ee4c,'unitId':_0x48e4c2[_0x3d8e43(0x41e)](),'argsOfFunction':JSON['stringify'](_0x53ef91),'invokeId':(_0x53d692=_0x302d1b[_0x3d8e43(0x49c)])!=null?_0x53d692:'','executionId':(_0x285287=_0x302d1b[_0x3d8e43(0x3b5)])!=null?_0x285287:''};try{const _0x318230=await this[_0x3d8e43(0x40f)][_0x3d8e43(0x2b8)](_0x4ceca7,{'body':_0x4abfb9});return _0x318230['body']['error']&&_0x318230[_0x3d8e43(0x20e)][_0x3d8e43(0x2ee)]['code']!==_0x277c13['OK']?'Failed':_0x318230['body'][_0x3d8e43(0x3e5)];}catch{return'Failed';}}},_0x44b1a7['RemoteUniscriptService']=_0xe44d28([_0x2b5778(0x0,_0x39304f[_0x5de549(0x2cc)]),_0x2b5778(0x1,_0x39304f[_0x5de549(0x356)](_0x4e0fb2['HTTPService'])),_0x2b5778(0x2,_0x39304f[_0x5de549(0x205)])],_0x44b1a7[_0x5de549(0x446)]);const _0x13780e=0x7530,_0x3e2726=_0x5de549(0x1f8);class _0x55eb3c extends _0x39304f[_0x5de549(0x1ba)]{constructor(){const _0x46c6b3=_0x5de549;super(),_0x41fabe(this,_0x46c6b3(0x2c8),_0x39304f[_0x46c6b3(0x26d)]()),_0x41fabe(this,_0x46c6b3(0x39f),new Set()),_0x41fabe(this,_0x46c6b3(0x437),new Map()),_0x41fabe(this,_0x46c6b3(0x3f8),null),_0x41fabe(this,_0x46c6b3(0x2eb),new Map()),_0x41fabe(this,'_unitStatus',new Map()),this['_init']();}[_0x5de549(0x2c3)](){const _0x44108d=_0x5de549;super[_0x44108d(0x2c3)](),this[_0x44108d(0x2eb)][_0x44108d(0x22a)]((_0x298182,_0x4ce0b5)=>this[_0x44108d(0x26b)](_0x4ce0b5)),this[_0x44108d(0x3f8)]&&window[_0x44108d(0x24d)](this[_0x44108d(0x3f8)]);}[_0x5de549(0x332)](_0x461314){const _0x1d7467=_0x5de549;return this[_0x1d7467(0x32a)](_0x461314)[_0x1d7467(0x498)](_0x404575[_0x1d7467(0x393)]());}[_0x5de549(0x42b)](_0x303a47){const _0x1aa934=_0x5de549;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x1aa934(0x26c)](_0x303a47),this[_0x1aa934(0x373)]({'type':0x0,'memberID':this[_0x1aa934(0x2c8)],'unitIDs':[_0x303a47],'isForwarded':!0x1});}['disposeUnit'](_0x2182bb){const _0x47ca30=_0x5de549;this[_0x47ca30(0x39f)][_0x47ca30(0x421)](_0x2182bb),this['_selfUnitIDs'][_0x47ca30(0x1ae)]===0x0&&this[_0x47ca30(0x3f8)]&&window['clearInterval'](this[_0x47ca30(0x3f8)]);}[_0x5de549(0x48f)](){const _0x161035=_0x5de549;this['disposeWithMe'](_0x39304f[_0x161035(0x391)](_0x404575[_0x161035(0x2de)](window,_0x161035(0x3dd))['subscribe'](_0x2e1448=>{const _0x586850=_0x161035;if(_0x2e1448[_0x586850(0x1aa)]!==_0x3e2726||!_0x2e1448[_0x586850(0x32b)])return;const _0x11d679=JSON[_0x586850(0x48a)](_0x2e1448['newValue']);this[_0x586850(0x495)](_0x11d679);}))),window[_0x161035(0x34d)](_0x161035(0x226),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x161035(0x1bf)](this[_0x161035(0x39f)])}));}[_0x5de549(0x495)](_0x20dfc4){const _0x53e8eb=_0x5de549;switch(_0x20dfc4['type']){case 0x0:this[_0x53e8eb(0x36b)](_0x20dfc4);break;case 0x1:this[_0x53e8eb(0x347)](_0x20dfc4);break;case 0x2:this[_0x53e8eb(0x32d)](_0x20dfc4);break;}}[_0x5de549(0x36b)](_0x28512c){const _0x3fc83a=_0x5de549,{unitIDs:_0x3f2d64,memberID:_0x3d4b1f,isForwarded:_0x3d43ef}=_0x28512c;_0x3f2d64[_0x3fc83a(0x22a)](_0x17cdea=>{const _0x14bf4a=_0x3fc83a;if(!_0x3d43ef&&this[_0x14bf4a(0x437)][_0x14bf4a(0x3f7)](_0x17cdea)&&this[_0x14bf4a(0x32a)](_0x17cdea)[_0x14bf4a(0x345)](_0x3fe1f0[_0x14bf4a(0x1e8)][_0x14bf4a(0x237)]),!this[_0x14bf4a(0x437)][_0x14bf4a(0x3f7)](_0x17cdea)||!this[_0x14bf4a(0x437)][_0x14bf4a(0x1c0)](_0x17cdea)['has'](_0x3d4b1f)){const _0x3355ab=this[_0x14bf4a(0x437)][_0x14bf4a(0x1c0)](_0x17cdea)||new Set();_0x3355ab[_0x14bf4a(0x26c)](_0x3d4b1f),this[_0x14bf4a(0x437)][_0x14bf4a(0x361)](_0x17cdea,_0x3355ab),this['_scheduleClearOtherTimer'](_0x3d4b1f);}}),_0x3d43ef||this[_0x3fc83a(0x373)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3fc83a(0x39f)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x275457){const _0xd48f44=_0x5de549;this[_0xd48f44(0x26b)](_0x275457);const _0x75ff0b=window[_0xd48f44(0x338)](()=>{const _0x178dd7=_0xd48f44;this[_0x178dd7(0x437)][_0x178dd7(0x22a)](_0x1c34c5=>{_0x1c34c5['delete'](_0x275457);});},_0x13780e*0x2);this['_clearOtherTimers'][_0xd48f44(0x361)](_0x275457,_0x75ff0b);}[_0x5de549(0x26b)](_0x3f8741){const _0x12bb70=_0x5de549;if(this[_0x12bb70(0x2eb)][_0x12bb70(0x3f7)](_0x3f8741)){const _0x34a8e3=this['_clearOtherTimers']['get'](_0x3f8741);_0x34a8e3&&window[_0x12bb70(0x3e9)](_0x34a8e3),this[_0x12bb70(0x2eb)][_0x12bb70(0x361)](_0x3f8741,null);}}[_0x5de549(0x347)](_0xaa8649){const _0x578c32=_0x5de549,{memberID:_0x2f97ec,unitIDs:_0x178157}=_0xaa8649;_0x178157['forEach'](_0x577486=>{const _0x5702f4=_0x48a1;var _0x55b5c4;const _0x296cd4=this['_unitOnClients'][_0x5702f4(0x1c0)](_0x577486);_0x296cd4&&(_0x296cd4[_0x5702f4(0x421)](_0x2f97ec),(_0x55b5c4=this[_0x5702f4(0x32a)](_0x577486))==null||_0x55b5c4[_0x5702f4(0x345)](_0x296cd4['size']===0x0?_0x3fe1f0['UnitStatus'][_0x5702f4(0x449)]:_0x3fe1f0['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x578c32(0x26b)](_0x2f97ec);}[_0x5de549(0x32d)](_0x3f05f4){const _0x20f25b=_0x5de549;this[_0x20f25b(0x2d8)](_0x3f05f4[_0x20f25b(0x210)]);}[_0x5de549(0x373)](_0x5a0ca5){localStorage['setItem'](_0x3e2726,JSON['stringify'](_0x5a0ca5));}[_0x5de549(0x41b)](){const _0x206322=_0x5de549;this[_0x206322(0x3f8)]=window[_0x206322(0x37c)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x13780e);}[_0x5de549(0x32a)](_0x531b08){const _0x291cd1=_0x5de549;return this[_0x291cd1(0x1a9)][_0x291cd1(0x3f7)](_0x531b08)||this['_unitStatus'][_0x291cd1(0x361)](_0x531b08,new _0x404575['BehaviorSubject'](_0x3fe1f0[_0x291cd1(0x1e8)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x291cd1(0x1a9)][_0x291cd1(0x1c0)](_0x531b08);}}_0x44b1a7[_0x5de549(0x26a)]=_0x4d8922,_0x44b1a7[_0x5de549(0x44f)]=_0x3ed0a,_0x44b1a7[_0x5de549(0x474)]=_0x55eb3c,_0x44b1a7[_0x5de549(0x2d0)]=_0x12ecfd,Object[_0x5de549(0x412)](_0x44b1a7,Symbol[_0x5de549(0x36d)],{'value':'Module'});}));function _0x48a1(_0x3ec77b,_0x2f799c){_0x3ec77b=_0x3ec77b-0x1a4;const _0xe03509=_0xe035();let _0x48a183=_0xe03509[_0x3ec77b];return _0x48a183;}function _0xe035(){const _0x514721=['getColor','bottom','_id','_scene','UniverCore','_config','IUniverInstanceService','AWAITING','isTransformMutationsWithChangesetSuccess','_collaborationSessionService','WebURLService','filename','_range','TEXT_RANGE_LAYER_INDEX','complete','requireSession','38uXbool','[LogService\x20Error]:\x20','_scheduleClearOtherTimer','dirtyRanges','MOBILE_VERIFY_CODE_MISMATCH','UPDATE_CURSOR','event$','getUndoRedoMutationParamsCache','fromEvent','_cachedData','univer-flex\x20univer-items-center','getActiveSheet','AWAITING_WITH_PENDING','IUIPartsService','UniverDocsUi','RegularPolygon','_localCacheService','FromArray','_status$','rxjs','formula.calculation.waiting','_clearOtherTimers','_drawAnchor','UNDEFINED','error','FETCH_MISS','YUUMI_ALL_TABLES_IS_INVALID','isEditing','onPointerEnter$','path','RichTextEditingMutation','1em','operators','EffectRefRangId','then','getCurrentSelections','INVALID_INVITE_CODE','unitId','YUUMI_UNABLE_LOAD_URL','onCommandExecuted','@univerjs/rpc','_docSyncEditingCollabCursorService','IImageIoService','substring','getColorFromTheme','getCurrentRevOfUnit','imageSourceType','endColumn','UNAUTHENTICATED','setAlpha','getSheetId','map','_uiPartsService','DocSkeletonManagerService','colorChannel1','getSkeleton','docStateChange$','IBeforeCloseService','_localStorageService','@univerjs/sheets-ui','entityInit$','use','_setFormulaLimitStatus','CollaborationDataLoaderController','min','_docSkeletonManagerService','currentSkeleton$','DesktopCollaborationStatusDisplayController','activeSheet$','fillStyle','_dataLoaderService','_injector','collaboration.closeRoom','0\x200\x2016\x2016','restore','_urlService','urlChange$','IMessageService','LOGIN_TOKEN_PROCESSING_FAILED','DisposableCollection','CLOSE_ROOM','OFFLINE','type','CollaborationStatus','_ensureSubject','newValue','saveTaskMap','_handleHeartbeatEvent','triggerDblclick','saveOfflineData','subUnitId','TOO_MANY_REQUESTS','getUnitStatus$','_themeService','IRenderManagerService','getCurrent','idSuffix','UniverSheets','setTimeout','_handleHover','transformSelections','SetSelectionsOperation','useObservable','CollaborationUIEventId','_commandService','_context','ENTITLE_CHAT_LIMIT_EXCEED','_getFormulaLimitStatus','transformIMECache','_initUnhandledRejectionListener','_docSkeleton','next','_onCursorDelete','_handleLeaveEvent','_render','_renderManagerService','_saveCache','exhaustSavingTask','sessionStatus$','addEventListener','_toggleOnline','some','getParam','connectInjector','OTHER_CLIENT_EDITING','limitInfo','_startDocCollabCursor','totalFormulasToCalculate','Inject','getLocalCacheKey','CanceledError','div','3542600xJygBe','fillText','ENTITLE_COUPON_EXPIRED','ENTITLE_DUP_SUBSCRIPTION','roomMembers$','_cursorInfo$','_entities','set','ENTITLE_INSUFFICIENT_QUOTA','PENDING','getTypeOfUnitAdded$','getCoordByCell','SheetSkeletonManagerService','row','selection','_removeCollabCursors','_backgroundColor','_handleJoinEvent','code','toStringTag','PY_RUNTIME_SCRIPT_ERROR','...','Warning','@univerjs-pro/collaboration','isArray','_send','setParam','M0\x200H16V16H0z','_roomMembers$','collaboration.single-unit.warning','updateOfflineData','CURRENT_STATUS_CANNOT_OPERATE','InsertRangeMoveRightCommandId','YUUMI_RATE_OVER_LIMIT','setInterval','transformMutation','ITransformService','isFormulaString','selections','height','currentTheme$','whenReady','_monkeyPatchLogService','Error','YUUMI_URL_COL_OUT_OF_RANGE','takeUntil','measureText','url(#off-line-icon_clip0_910_343)','NodePositionConvertToCursor','ENTITLE_REPORT_LIMIT_EXCEED','EMAIL_HAS_BEEN_BOUND','show','subscribe','setUndoRedoMutationParamsCache','registerRenderModule','toDisposable','white','distinctUntilChanged','merge','runOnServer','IDocClipboardService','MUTATION','_registerRenderDependencies','6XetXdA','REDEMPTION_CODE_FULLY_REDEEMED','collaboration.offline-data-not-saved','Rect','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initUserListener','_selfUnitIDs','ranges','getOffsetConfig','INVALID_ARGUMENT','INTERNAL_ERROR','_lastPointer','getCollabEntity$','START_CALCULATION','_createSocketURL','_assignedColors','PAYMENT_CHANNEL_NOT_SUPPORT','CONNECTOR_DATA_TOO_LARGE','deepClone','collab-rect-range-','CONFLICT','getFocusedUnit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','join','_docStateChangeManagerService','startsWith','@univerjs/drawing','\x20at\x20','executionId','uni.network.url-service','length','_drawRectRange','SHEET_VIEWPORT_KEY','getMergeData','round','APPLY_NON_SEQUENTIAL_REVISION','displayName','history','ICommandService','_cursorShapes','_localeService','MOBILE_HAS_BEEN_BOUND','drawWith','transformMutationsWithChangeset','USER_NOT_INVITED_CODE','bind','unit','_anchorDot','addHandlerCallback','setItem','url(#$1','_initEntityListener','_initCommandInterceptor','searchParams','popstate','pushState','useDependency','Tooltip','off-line-icon','_beforeCloseService','handleIRemoveRow','width','cursorInfo','saveImage','exports','getAncestorScale','formula.calculation.started','BrowserCollaborationSocketService','storage','COLORS','_setupSubUnitSync','syncEditingCollabCursor','DependentOn','setShapeProps','xlink:href','UniverDrawing','result','_draw','_entityInit$','_docTransformStateCacheService','clearTimeout','ENTITLE_INVALID_COUPON_CODE','getCollabCursors$','off-line-icon_clip0_910_343','React','handleDeleteRangeMoveUp','onStarting','toRgbString','transformByState','eventID','FormulaExecuteStageType','LocaleService','MemberService','REDEMPTION_INVALID_CODE','has','_heartbeatTimer','subscribeEvent','_getScale','throttleTime','getValue','isTransformMutationFailure','evenodd','onPointerMove$','entries','/universer-api/frontend/logs','fill','_transformService','mutations','UniverNetwork','16806gYtOTL','APPLY_DUPLICATED','DATA_SOURCE_TOO_LARGE','clsx','_cursor','USER_IS_ANONYMOUS','registerComponent','HEADER_MENU','MoveRangeCommandId','_httpService','includes','_lastResponseTimestamp','defineProperty','_memberService','getTypeOfUnitDisposed$','getSheetObject','/universer-api/license/formula/limit/status','defIds','UNIVER_DOC','InsertColCommandId','stageInfo','_scheduleHeartbeat','enableLocalCache','Plugin','getUnitId','socket$','blue.400','delete','_session','RxDisposable','rxjs/operators','getRelativeToViewportCoord','UNRECOGNIZED','react/jsx-runtime','runId','LICENSE_IMPORT_SIZE_EXCEEDED','disableLocalCache','editingUnit','actions','getRangePointData','backgroundColor','unitID','_toggleOffline','DOC_RANGE_TYPE','_refRangeService','COMPLETION_FINISHED','SessionStatus','parseInt','_color','_unitOnClients','3582780XfDNln','@univerjs/docs','_logService','loadOfflineData','isFormulaId','ONLINE','PERMISSION_DENIED','ISocketService','_getSheetObject','_initResize','_drawTextRange','ILocalCacheService','transformStateCache','USER_NOT_FOUND','RemoteUniscriptService','YUUMI_SUBSCRIPTION_NOT_FOUND','params','NO_OTHER_CLIENTS_EDITING','contains','_onCursorUpdate','maxFormulaLimit','push','_checkCalculationAvailable','SheetCollabCursorShape','univerjs-icon\x20univerjs-icon-','Shape','touchDependencies','isActive','attrs','enableFrontendLog','_updateSubUnitFromURLParams','location','RevisionService','LOCAL_CACHE_INTERVAL_KEY','_syncEditingCollabCursorService','debug','_uploadLog','CHANGESET_REVISION_CONFILICT','createElement','arc','jsx','setStateCache','REDEMPTION_CODE_INACTIVE','defs','getActiveRange','_hideTimer','application/json','_currentUsage','addObject','HTTPService','currentColor','_getAnchorBounding','random','LOGIN_FAILED','transformRemoteChangeset','split','lineTo','YUUMI_AI_RUN_FAILED','_startSheetCollabCursor','_imageIoService','WebBrowserSingleActiveUnitService','NOT_COLLAB','doc.mutation.rich-text-editing','color','on-line-icon','findNodePositionByCharIndex','catch','UniverDocs','_name','_eventUnsubscribe','removeEventListener','getConfig','jiqing.500','yellow.400','init','tag','debounce','sheetID','_collabCursorState$','IRemoteInstanceService','SetTextSelectionsOperation','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','parse','_revisionService','DocStateChangeManagerService','search','now','_init','Unknown\x20user','ENSURE_SNAPSHOT_EXECUTION','toString','unhandledrejection','YUUMI_CONNECTOR_URL_NOT_FOUND','_handleEvent','ALREADY_EXISTS','children','pipe','SNAPSHOT_INVALID_SNAPSHOT','TEXT','CollaborationUIEventService','invokeId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','@univerjs/design','getOwnPropertyDescriptor','collabStatus.conflict','_updateCollabCursors','closePath','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','USERS_LEAVE','[Unhandled\x20Rejection]:\x20','#FFF','ISnapshotServerService','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','fromEventSubject','_updateURLWithCurrentState','[CollaborationDataLoaderController]','startRow','override','_unitStatus','key','UniverCollaborationClientPlugin','_registerDependencies','DeleteRangeMoveUpCommandId','size','getMemberID','SetFormulaCalculationStartMutation','RECT','flatMap','reconnect','_initStatusListener','UniverProCollaborationClient','collab-text-anchor-','_online','_memberID','endRow','Disposable','NOT_FOUND','makeDirty','collab-text-range-','stage','from','get','ERROR_AGAIN','unsubscribe','message','registerDependencies','_collabCursorController','filter','_colorAssignService','createSocket','handleMoveRange','_hover','handleInsertRow','NodePositionConvertToRectRange','string','DocCollaborationEntity','UniverInstanceType','/universer-api/license/formula/limit/done','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getVpScrollXYInfoByPosToVp','AUTHORIZE_CODE_ILLEGAL','/universer-api/license/formula/limit/start','top','_disabled','m1Prime','save','YUUMI_NO_CUBOID_FOR_QUESTION','CollaborationEvent','session.connection-failed','_updateLocalCursor','replace','getMember','REDEMPTION_USER_REDEEM_TIMES_EXCEED','m2Prime','_getMergeRange','formula.calculation.unable','@univerjs/docs-ui','OnLineIcon','6509889OWujhq','getDocRanges','_hasFormulaInDirtyRanges','UnitStatus','_hovered','onLocalMutation','_transformUndoRedoStack','Tools','SNAPSHOT_HAS_BEEN_REMOVED','sessionTicket','SetDocZoomRatioOperation','getCellMatrix','ILocalStorageService','_releaseCalculationLimit','SOCKET_FAILED_RETRY','_initDependencies','_doCreateSocket','range','DEFAULT_WS_SESSION_TICKET_URL','ACTIVE_UNIT_EVENT_CHANNEL','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','mergeOverrideWithDependencies','fillRule','collabStatus.fetchMiss','_collaborationController','@univerjs/engine-formula','LICENSE_DISTRO_REJECTED','send','_transformHistoryAndStateStack','react','labelPosition','SheetsSelectionsService','IConfigService','_labelPosition','DataLoaderService','CommandType','ENTITLE_CAN_NOT_BUY_LOWER_OTP','handleDeleteRangeMoveLeft','SUBMIT_CHANGESET_TIMEOUT','DocSelectionManagerService','jsxs','body','_configService','memberID','UNIVER_SHEET','hide','UniverProCollaboration','@univerjs/network','_taskIds','collabStatus.syncing','0\x200\x2017\x2016','reason','registerRefRange','getRenderById','UniverCollaborationClientUIPlugin','FormulaExecutedStateType','onPointerLeave$','object','assignAColorForMemberID','collabStatus.offline','createIdentifier','undoState','releaseFormulaLimitUrl','5443844DxUaeI','textRanges','unload','_applyCommand','RefRangeService','_setupBeforeClosingHandler','forEach','REDEMPTION_CODE_HAS_BEEN_CREATED','_textBubble','_messageService','all','CollaborationSessionService','stringify','name','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','url(#on-line-icon_clip0_910_349)','forwardRef','INVITE_CODE_REQUIRED','WebSocketService','OTHER_CLIENTS_EDITING','onRendered','getUnhiddenWorksheets','_initEvent','purple.300','APPLY_PERMISSION_DENIED','stack','_docTransformIMECacheService','moveTo','status$','dispose$','MessageType','session.will-retry','YUUMI_ASYNCIO_CANCELLED','onMouseMove','LICENSE_EXPORT_SIZE_EXCEEDED','debounceTime','SUCCESS','ENTITLE_COUPON_USED_UP','Vector2','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','Optional','clearInterval','disposeWithMe','_collabSessionService','_collaborationUIEventService','RemoveRowCommandId','beginPath','ColorKit','permission.content','InsertRangeMoveDownCommandId','@univerjs/core','permission.title','APPLY_REVISION_CONFILICT','beforeCommandExecuted','APPLY_REJECT','BehaviorSubject','_anchor','href','ILogService','3703021xAPbgu','black','getStateCache','WECHAT_HAS_BEEN_BOUND','VIEW_MAIN','SetWorksheetActivateCommand','registerBeforeClose','_scheduleSaving','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collab-client.tooltip.reconnect','UniverSheetsUi','IURLService','_removeClearOtherTimer','add','generateRandomId','_univerInstanceService','source','EMAIL_VERIFY_CODE_MISMATCH','_sheetSkeletonManagerService','hovered','currentUsage','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','executeCommand','collabStatus.synced','symbol','DocIMEInputManagerService','REDEMPTION_CODE_NOT_STARTED','trim','useRef','_maxFormulaLimit','handleInsertCol','replaceState','UniverProCollaborationClientUi','skeleton','@univerjs/engine-render','unshift','assign','REDEMPTION_USER_NOT_ELIGIBLE','lineno','startColumn','switchMap','_saveTaskMap','sheetId','subunit','_initWindowErrorListener','_checkAndWaitForCalculationPermission','CollaborationController','session.collaboration-timeout','text','_shapes','handleInsertRangeMoveRight','mask','redoState','_getSaveTimeout','_refreshCollabCursors','getSheetBySheetId','ThemeService','data','Loading','SetFormulaCalculationNotificationMutation','RemoveColCommandId','focused$','?taskId=','with','_pollingInterval','setActiveRange','svg','OffLineIcon','column','/run/','SYNCED','asObservable','ENTITLE_USE_COUPON_NOT_1ST_TRADE','roomMembers','http://www.w3.org/2000/svg','collabStatus.notCollab','INVITE_CODE_ALREADY_BOUND','_initCommandExecutedListener','_cursors','getformulaLimitStatusUrl','cursorInfo$','removeParam','759260kWJjFy','UniverDesign','handleIRemoveCol','ENTITLE_NEED_BILLING_ADDRESS','@univerjs-pro/collaboration-client','Workbook','rgba(255,\x20255,\x20255,\x200.01)','post','getUniverSheetInstance','values','Success','_getSessionTicket','Injector','_onRefRangeChange','_clearPolling','UniverRpc','collabCursorState$','_colorIndex','dispose','@univerjs/ui','max'];_0xe035=function(){return _0x514721;};return _0xe035();}
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
(function(
|
|
11
|
+
function _0x2e27(_0x264558,_0x5954b7){_0x264558=_0x264558-0x1e3;var _0x5c08a2=_0x5c08();var _0x2e2756=_0x5c08a2[_0x264558];return _0x2e2756;}(function(_0x4e43cc,_0xb1c4ad){var _0x23e980=_0x2e27,_0x2e6ed6=_0x4e43cc();while(!![]){try{var _0x23cb77=-parseInt(_0x23e980(0x1f8))/0x1+-parseInt(_0x23e980(0x1f0))/0x2*(-parseInt(_0x23e980(0x1ed))/0x3)+-parseInt(_0x23e980(0x1e3))/0x4+-parseInt(_0x23e980(0x1ea))/0x5*(-parseInt(_0x23e980(0x1e5))/0x6)+-parseInt(_0x23e980(0x1f1))/0x7*(-parseInt(_0x23e980(0x1ef))/0x8)+parseInt(_0x23e980(0x1f2))/0x9+-parseInt(_0x23e980(0x1eb))/0xa;if(_0x23cb77===_0xb1c4ad)break;else _0x2e6ed6['push'](_0x2e6ed6['shift']());}catch(_0x426e6d){_0x2e6ed6['push'](_0x2e6ed6['shift']());}}}(_0x5c08,0xb024e),function(_0x14445d,_0x1a30a9){var _0x122bf0=_0x2e27;typeof exports==_0x122bf0(0x1f5)&&typeof module<'u'?_0x1a30a9(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x122bf0(0x1e6)&&define[_0x122bf0(0x1f3)]?define([_0x122bf0(0x1f6),_0x122bf0(0x1f4)],_0x1a30a9):(_0x14445d=typeof globalThis<'u'?globalThis:_0x14445d||self,_0x1a30a9(_0x14445d[_0x122bf0(0x1e8)],_0x14445d[_0x122bf0(0x1ee)]));}(this,function(_0x17fc8c,_0xf4f41f){'use strict';var _0x3c1f15=_0x2e27;class _0x4451a9 extends _0xf4f41f[_0x3c1f15(0x1e7)]{[_0x3c1f15(0x1ec)](_0x4fa4a4,_0x54acfd,..._0x3b22dd){var _0x642272=_0x3c1f15;return this[_0x642272(0x1e4)]['get'](_0x17fc8c[_0x642272(0x1e9)])['runOnServer'](_0x4fa4a4,_0x54acfd,{},..._0x3b22dd);}}_0xf4f41f['FUniver'][_0x3c1f15(0x1f7)](_0x4451a9);}));function _0x5c08(){var _0x5d79ce=['3333400UMRBYM','runOnServer','163257uuqxBi','UniverCoreFacade','3595912MNKiae','14qLLFbm','7hjtmkQ','8689905HWnkXr','amd','@univerjs/core/facade','object','@univerjs-pro/collaboration-client-ui','extend','196660oxOTkp','5582676VoOIAm','_injector','156PmNBQD','function','FUniver','UniverProCollaborationClientUi','RemoteUniscriptService','163690ElRjSP'];_0x5c08=function(){return _0x5d79ce;};return _0x5c08();}
|
|
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"})}));
|