@univerjs/preset-docs-collaboration 0.12.4-experimental.20251208-c4b8a44 → 0.12.4-experimental.20251210-29c379a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/umd/index.js +4 -4
- package/lib/umd/locales/ca-ES.js +2 -2
- package/lib/umd/locales/en-US.js +2 -2
- package/lib/umd/locales/es-ES.js +2 -2
- package/lib/umd/locales/fa-IR.js +2 -2
- package/lib/umd/locales/fr-FR.js +2 -2
- package/lib/umd/locales/ja-JP.js +2 -2
- package/lib/umd/locales/ko-KR.js +2 -2
- package/lib/umd/locales/ru-RU.js +2 -2
- package/lib/umd/locales/vi-VN.js +2 -2
- package/lib/umd/locales/zh-CN.js +2 -2
- package/lib/umd/locales/zh-TW.js +2 -2
- package/package.json +5 -5
package/lib/umd/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @univerjs-pro/collaboration-client/index
|
|
2
|
-
function _0x572e(_0x79dfb7,_0x4431ea){_0x79dfb7=_0x79dfb7-0x7e;var _0x2c59ff=_0x2c59();var _0x572e03=_0x2c59ff[_0x79dfb7];return _0x572e03;}function _0x2c59(){var _0x10eefc=['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','collaMsg','_key','YUUMI_RATE_OVER_LIMIT','654713EkufYO','sheets','_createHandler','key','/universer-api/comb','reqId','APPLY_DUPLICATED','_onConnectionOpen','/block/','REDEMPTION_CODE_FULLY_REDEEMED','closeSession','PERSON','78124bgkpwF','reverse','getCurrentRevOfUnit','toDisposable','_unlockTransition','FetchingMissState','registerHTTPInterceptor','infoRsp','unitId','_transformStateCache','SheetTransformSelectionsService','RETRY_CONNECTING_MAX_COUNT_KEY','newCsEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','error$','mixIn','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getRandomValues','CollaborationEvent','collaborators','CBC','pending','_initCloseConn','_getSignURL','getSnapshotAPIPath','/universer-api/stream/file/upload','CompressMutationService','has','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','commentUpdateEvent','disposeWithMe','charCodeAt','MOBILE_VERIFY_CODE_MISMATCH','_singleActiveUnitService','YUUMI_CONNECTOR_URL_NOT_FOUND','_stopTelemetryCollaborationNewChangeset','2929608fXQHkf','PERMISSION_DENIED','_onConnectionFailed','MemberService','unitID','DEFAULT_FILE_NAME','enableCollaboration','1080684mmxvGU','_onOffline','find','compose','from','/-/object/list','REDEMPTION_CODE_INACTIVE','_HTTPService','loadOfflineData','/object/','isArray','min','image/jpeg','routeKey','[CollaborationUndoRedoService]','extend','setCurrentUser','save\x20fail\x20reason\x20is\x20','UniverNetworkPlugin','toggleOffline','override','name','_handlerCallback','/collaborator','keySize','headers','CollaborationSessionService','textEncoder','_snapshotService','roles','AWAITING_WITH_PENDING','awaiting','UniverProCollaboration','_clearRetryConnectingTimer','FETCH_MISSING','getActiveSheet','_onRemoteACK','ENTITLE_INSUFFICIENT_QUOTA','getUnitId','deleteCollaborator','\x0aAfter:\x20','SUBMIT_CHANGESET_TIMEOUT','ivSize','list','UPDATE_CURSOR','charAt','finalize','event$','UnitSnapshot','authzUrl','updateCollaborator','BufferedBlockAlgorithm','setShowComponents','Malformed\x20UTF-8\x20data','csRejEvent','_initRequestHeader','_toggleOnline','[CollaborationEntity]','onSyncEditingCollabCursor','_injector','IDLE','NOT_COLLAB','resolve','_snapshotServerService','MUTATION','_userManagerService','UniverNetwork','getMember','__creator','snapshot','_clearHeartbeatTimer','onTransformRemoteChangesetByIMECache','Decryptor','/universer-api/authz','range','APPLY_REJECT','_decreaseWaiting','InsertSheetMutation','&source=','refreshPermission','encode','ceil','Error\x20on\x20receiving\x20event','CollaborationStatus','UNIVER_DOC','UNAUTHENTICATED','repeat','socket\x20open.','SUBMIT_CHANGESET','UniverCore','USERS_ENTER','actions','@univerjs-pro/license','_transformService','@univerjs/network','_updateState','sin','saveChangeset','post','onRemoteAck','values','hasOwnProperty','YUUMI_TABLE_NOT_FOUND_IN_UNIT','members$','_config','parseProtocolChangeset','_toggleOffline','capture','ReplaySubject','FAIL','toggleOnline','AwaitingState','splice','univer-pro.collaboration-client.network-condition.service','startsWith','title','COMPLETION_FINISHED','Optional','parse','onRemoteChangeset','byteOffset','IPermissionService','_transformUndoredo','getOwnPropertyDescriptor','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','JOIN_ROOM_FAILED','RevisionService','duration','body','10438800iBJIcg','JOIN_ROOM_PERMISSION_DENIED','_eventService','_changesetSessionId','UNIVER_SLIDE','memberID','CHANGESET_SHOULD_RETRY','ENTITLE_CAN_NOT_BUY_LOWER_OTP','LOCAL_CACHE_INTERVAL_KEY','HTTPService','_getRedoStack','withCredentials','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','[SyncedState]:\x20received\x20acknowledgement.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','IImageIoService','commentUpdate$','pluginName','iterations','originalMeta','ERROR_AGAIN','onRemoteRej','exports','EvpKDF','Workbook','UnitStatus','onLocalMutation','CHANGESET_ACK','_telemetryInfo','_redoStacks','APPLY_REVISION_CONFILICT','_replaceFileID','putCollaborators','YUUMI_SUBSCRIPTION_NOT_FOUND','_telemetryService','JOIN_ROOM_FULL','_commentService','USER_NOT_INVITED_CODE','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','ENTITLE_NEED_BILLING_ADDRESS','_onJoinRoomEvent','default','_showConflictNotification','_retryCount','function','editing\x20status\x20changed\x20to','_transformRemoteChangesetByStateCache','UNISCRIPT_RUN','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','findIndex','/-/object/-/batch_allowed','Disposable','HttpExport','transformSelections','Univer','_compressMutationService','updatePermissionObjEvent','replace','sequenceExecute','JSONX','result','allowed','LICENSE_EXPORT_SIZE_EXCEEDED','_roomMembers','mapDocumentTypeToUniverType','_substituteUndoStack','every','CommentService','sessionStatus','_clearTimeoutTimer','_doCreateSocket','url','incrementRevOfUnit','send','getTime','APPLY_NON_SEQUENTIAL_REVISION','dispose$','isInternalEditorID','_keyPriorReset','baseRev','_nRounds','@univerjs/telemetry','_createInitialStateImpl','UniverTelemetry','touchDependencies','_type','_localCacheService','CollaborationSession','collabSubmitChangesetUrl','action','_map','_updateStatus','open$','AWAITING','_lockTransition','pipe','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','mergeOverrideWithDependencies','/object','enc','PENDING','_doFinalize','MSG_FOR_ERROR','LocaleService','RETRY_CONNECTING_MAX_COUNT','MD5','_applyRemoteChangeset','_reverseMap','CollaborationController','encryptBlock','LIVESHARE_NEW_HOST','_joinRoom','_iKey','stringify','subscribe','HEARTBEAT','_revisionService','get','_sendHeartbeat','ISocketService','set','_doProcessBlock','OTHER_CLIENTS_EDITING','JOIN_ROOM_NOT_EXISTS','_prevBlock','UNDEFINED','reduce','LICENSE_DISTRO_REJECTED','_oKey','map','format','$super','HmacMD5','MentionType','complete','_waitForHeartbeatResponse','interceptor','target','c2Prime','_process','createIdentifier','filter','Base64','operators','IAuthzIoService','YUUMI_URL_COL_OUT_OF_RANGE','_onUserJoin','data','_getUploadFileURL','_fetchMissChangesets','Plugin','LOCAL_CACHE_INTERVAL','call','StreamCipher','getInterceptPoints','setConfig','_substituteRedoStack','socketService','UUID','x-univer-host','_remoteChangesetQueue','isPermissionRej','_tryEnsureSocket','SnapshotService','_onLocalMutation','defineProperty','JOINING','collabWebSocketUrl','patch','rxjs/operators','next','HmacSHA1','clamp','_onRemoteRetry','UNIVER_PROJECT','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','IContextService','updateCursorEvent','NEW_CHANGESETS','onMutationExecutedForCollab','deserializeToCombResponse','formatter','REDEMPTION_CODE_NOT_STARTED','transformStack\x20failed!','onMissedChangesetFetched','_cipher','getUnitType','session.join-failed','unknown','BehaviorSubject','_queuedRemoteChangesets','LocalUndoRedoService','session.room-cnt-exceeds','_changesetReqId','/new_changes','ENTITLE_USE_COUPON_NOT_1ST_TRADE','getAllMembers','INVITE_CODE_HAS_BEEN_UES','OPTIONAL','DataLoaderService','/universer-api/oidc/authpage','?url=','/universer-api/snapshot/','SNAPSHOT_INVALID_SNAPSHOT','clone','type','Failed\x20to\x20update\x20permission\x20point','SerializableCipher','not_collab','resend','prototype','state$','HMAC','awaitingChangeset','_collaborationTimeoutTimer','_retryConnectingTimer','YUUMI_ALL_TABLES_IS_INVALID','onTransformState','forEach','updateMember','offline','_onConflict','userID','unitInfo$','2ptDyEU','_createHelper','ThresholdInterceptorFactory','_clearRedo','GLOBAL_ROOMS_CNT_EXCEEDS','ENTITLE_REPORT_LIMIT_EXCEED','isTransformMutationsWithChangesetSuccess','_disableEditing','execute','UniverInstanceType','salt','mode','size','apply','status','auth.needGotoLoginAlert','_transformRemoteChangesetByIMECache','CollaborativeUndoRedoService','BlockCipher','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','INVITE_CODE_REQUIRED','AuthzIoHttpService','createSocket','\x20-\x20','_roomCreated$','concatMap','_createInitialState','objectType','_members','EMAIL_HAS_BEEN_BOUND','file','_shouldReportTelemetry','transformUndoRedo','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','LEAVE','_transformSelections','revision','mutations','[CollaborationSession]','ENTITLE_DUP_SUBSCRIPTION','getUnit','_resendTimer','UPDATE_PERMISSION_OBJ','ENSURE_SNAPSHOT_EXECUTION','getValue','getResourcesRequest','transformChangesets','\x20in\x20_schedule.','synced','_scheduleCompleteTimestamp','code','onlyLocal','getTypeOfUnitAdded$','_append','_initDependencies','WECHAT_HAS_BEEN_BOUND','YUUMI_NO_CUBOID_FOR_QUESTION','uniscriptRunEvent','/resources','ERROR_IMAGE','unsubscribe','__esModule','Hasher','TOO_MANY_REQUESTS','_onCombEvent','/unit/','DEFAULT_COLLAB_WEB_SOCKET_URL','UniverProLicense','POST','UNIVER_SHEET','_awaitingChangeset','_hasher','params','__splitChunk__','_getCtorByUniverType','_configService','uuidv4','_sendHeartbeatTimer','_iv','_commandService','ALREADY_EXISTS','onTransformSelections','SYNCED','state','_isPermissionRej','_exhaustRemoteChangesetQueue','enableAuthServer','resourceIDs','rev','UNIVER_COLLABORATION_CLIENT_PLUGIN','OpenSSL','ImageSourceType','workbook','_getAPIPrefixPath','loadUnitOfRevision','includes','ICommandService','getCurrentSelections','join','_state','_invKeySchedule','slice','padding','onRemoteRetry','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','floor','_doCryptBlock','_data','INGEST','method','_timeoutTimer','LIVESHARE_TERMINATE','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_socket','_getUndoStack','Undefined','SNAPSHOT_URL_KEY','snapshotServerUrl','MergeInterceptorFactory','objectID','pad','objectActions','downloadEndpointUrl','getCollabEntity','_doReset','_waitCount','getFocusedUnit','ITelemetryService','focused$','/universer-api/user/session-ticket','230YSKkGe','_socketReady','/universer-api/file/{fileID}/sign-url','firstValueFrom','Cipher','AwaitingWithPendingState','_initMergeInterceptor','LIVESHARE_REQUEST_HOST','createEncryptor','CollaborationEntity','crypto','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','CONNECTOR_DATA_TOO_LARGE','isTransformMutationsWithChangesetFailure','fetchMiss','_submitChangeset','fetchThroughInterceptors','ISingleActiveUnitService','sigBytes','_sessions','getRoom','getConfig','ILogService','onSendChangeset','ENTITLE_CHAT_LIMIT_EXCEED','3064kuGuVf','YUUMI_ASYNCIO_CANCELLED','_mode','saveImage','ENTITLE_COUPON_USED_UP','UnitEmbedded','session.room-full','_sender','_incrementRevisionNumber','delete','_socketService','message$','takeUntil','_sendingTimer','SheetCollaborationEntity','APPLY_PERMISSION_DENIED','_socketMessageSubscription','IUniverInstanceService','blockSize','enableSingleActiveInstanceLock','NO_OTHER_CLIENTS_EDITING','IConfigService','onTransformRemoteChangesetByStateCache','/rev/','COMPRESS_MUTATION_APPLY','CLOSE_ROOM','_event$','_onFetchMissResult','[CollaborationState]:\x20apply\x20error!','batchAllowed','People','REDEMPTION_USER_REDEEM_TIMES_EXCEED','lib','change$','REDEMPTION_USER_NOT_ELIGIBLE','_onUserLeave','CollaborationUIEventService','_createHmacHelper','_getSendChangesetTimeout','LOGIN_FAILED','ClipsheetFragments','csShouldRetryEvent','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_xformMode','_hash','INVALID_ARGUMENT','emitEvent','registerDependencies','onTransformIME','YUUMI_AI_RUN_FAILED','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_permissionService','INVITE_CODE_ALREADY_BOUND','@univerjs/drawing','UserProfileImg','univer-pro.collaboration-client.single-active-unit-service','_transformStack','UniverCollaborationClientPlugin','_resendWithTimeout','merge','_initUnitPermissionChange','EMAIL_VERIFY_CODE_MISMATCH','Module','online$','_unitID','max','HELLO','_members$','LOGIN_TOKEN_PROCESSING_FAILED','_onRemoteRejected','b64DecodeUnicode','_collaborationSessionService','conflict','_checkMissing','_imageSourceCache','FETCH_MISS','shouldCloseConn','_status$','_throwTelemetryCollaborationNewChangeset','isTransformChangesetsSuccess','requestParams','encrypt','SyncedState','toString','_init','_ENC_XFORM_MODE','add','AUTHORIZE_CODE_ILLEGAL','asObservable','_sessionStatus$','SessionStatus','sendChangesetTimeout','fetch_missing','updateSnapshot','string','BlockCipherMode','onMissingChangesets','_collaborationUIEventService','then','delay','pauseCollaboration','_startTelemetryCollaborationNewChangeset','[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.','_undoStacks','WordArray','CollaborationSocketService','UNRECOGNIZED','rxjs','Utf8','executeCommand','SNAPSHOT_HAS_BEEN_REMOVED','joinRsp','_instanceService','readyForCollab','create','UNIVER_UNKNOWN','cfg','transformMutationsWithChangeset','IUndoRedoService','loadSheet','_resendTimeout','ONLINE','YUUMI_UNABLE_LOAD_URL','_clearScheduledTask','onCommentUpdate','ISnapshotServerService','_nDataBytes','[DataLoaderService]','unpad','now','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_DEC_XFORM_MODE','session','_getCurrentRevision','selections','ConflictState','_startCollaboration','@univerjs-pro/collaboration','DisposableCollection','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','collaboration_new_changeset','enableOfflineEditing','href','updatePermissionPoint','session.room-permission-denied','2989wjDxsK','_transitionLocked','Subject','src','eventID','update','reset','saveSheetBlock','UniverProCollaborationClient','uploadFileServerUrl','connection\x20error','_collaborationPaused','_entities','c1Prime','updateOfflineData','image/png','Rectangle','_rescheduleHeartbeat','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_registerDependencies','catch','subject','createInstance','/allowed','[OfflineState]:\x20received\x20acknowledgement.','_pendingMutations','reject','sessionStatus$','_transformIMECache','USER_IS_ANONYMOUS','getUnitOnRev','dispose','_listenToNetworkCondition','leaveEvent','session.room-not-exists','fetchMissingChangesets','roomInfos','/role','PasswordBasedCipher','failed\x20to\x20apply\x20missed\x20changesets!','NOT_FOUND','clear','status$','SheetPermissionInitController','ITransformService','getCurrentUser','collaboration-client.config','debug','_replayCachedMutations','fetching\x20missing\x20changesets\x20from\x20','deepClone','hasher','Base','DocCollaborationEntity','DEFAULT_WS_SESSION_TICKET_URL','push','_entityInit$','take','ICollaborationSocketService','SHA1','Encryptor','LIVESHARE_FETCH_OPERATIONS','amd','concat','USERS_LEAVE','HEARTBEAT_INTERVAL','&assign=','msCrypto','SOCKET_FAILED','_univerInstanceService','getLatestCsReqIdBySid','LICENSE_IMPORT_SIZE_EXCEEDED','PendingState','members','listCollaborators','kdf','close','_getAPIPrefix','getDeserializedSheetBlock','Inject','_networkConditionService','reconnect','signUrlServerUrl','CommandType','decrypt','_getLoginPath','_schedule','algo','FileId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','requireSession','ImageUploadStatusType','[OfflineState]:\x20received\x20changeset.','put','cmd','CHANGESET_REJ','_collabSessionService','generateRandomId','location','PY_RUNTIME_SCRIPT_ERROR','_tryReconnect','PERMISSION_REJ','_minBufferSize','sid','responseType','CollaborationUIEventId','appendMutation','SheetsSelectionsService','_logService','_updateLocalCache','_state$','OFFLINE','RECV','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','BASE64','readInt32LE','EmptyMutationInfo','_removeRoom','_httpService','getImage','image/jpg','append','AES','2834190nyuYdp','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','RxDisposable','socket$','MentionIoHttpService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_acknowledgedAwaitingChangeset','_onRemoteChangeset','_socket$','LIVESHARE_OPERATION','_unitInfo$','REDEMPTION_INVALID_CODE','@univerjs/core','{fileID}','_memberService','DATA_SOURCE_TOO_LARGE','PSEUDO_FETCH_MISSING_RESULT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationImageIoService','Pkcs7','HEARTBEAT_TIMEOUT_KEY','_commentUpdate$','error','words','Injector','ENTITLE_INVALID_COUPON_CODE','OfflineState','IMentionIOService','WorkbookEditablePermission','entityInit$','_syncEditingCollabCursor','_emitMembers','getCollabEntity$','univer-pro.collaboration-client-socket-service','UNKNOWN_CMD','close$','getImageSourceCache','image/gif','_change$','changesets','compute','_handler','submit\x20changeset\x20error!','liveShareOperation','OTHER_CLIENT_EDITING','createCollaborator','USER_NOT_FOUND','?size=','CURRENT_STATUS_CANNOT_OPERATE','getWorkbookSelections','length','removeMember','listRoles','_candidateSocket','_undoRedoService','REDEMPTION_CODE_HAS_BEEN_CREATED','INVALID_INVITE_CODE','JOIN','[CollaborationSessionService]','_scheduleCollaborationTimeoutTimer','_localeService','m2Prime','createDecryptor','_clearLocalCache','init','SnapshotServerOverHTTPService','liveShareNewHost','SetSelectionsOperation','HttpImport','ciphertext','_getDownloadEndpointURL','unit-cache-','confirm','initWorkbookPermissionChange','localCacheService','getSheetId','random','randomBytes','UniverDrawing','_clearCollaborationTimeoutTimer','stopTime','_onMessage','addHandlerCallback','origin','indexOf','_executeRemoteChangeset','INTERNAL_ERROR','COMPRESS_MUTATION_SEND','CONFLICT','RichTextEditingMutation','saveSnapshot','entries','getTypeOfUnitDisposed$','UNKNOWN_CODE','fromCharCode','fromCollab','textRanges','__Key__','COMMENT_UPDATE','MOBILE_HAS_BEEN_BOUND','encodeURIComponent','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','CHANGESET_REVISION_CONFILICT','/universer-api/snapshot','Tools','SOCKET_FAILED_RETRY'];_0x2c59=function(){return _0x10eefc;};return _0x2c59();}(function(_0x4bf05f,_0x470280){var _0x2af513=_0x572e,_0x291840=_0x4bf05f();while(!![]){try{var _0x526013=parseInt(_0x2af513(0x325))/0x1*(-parseInt(_0x2af513(0x110))/0x2)+parseInt(_0x2af513(0x355))/0x3+parseInt(_0x2af513(0x331))/0x4*(-parseInt(_0x2af513(0x192))/0x5)+parseInt(_0x2af513(0x2b7))/0x6+parseInt(_0x2af513(0x23c))/0x7*(-parseInt(_0x2af513(0x1ab))/0x8)+-parseInt(_0x2af513(0x35c))/0x9+parseInt(_0x2af513(0x3dd))/0xa;if(_0x526013===_0x470280)break;else _0x291840['push'](_0x291840['shift']());}catch(_0xa0cfd4){_0x291840['push'](_0x291840['shift']());}}}(_0x2c59,0xa0299),function(_0x2ce3ed,_0x2b7725){var _0x4dcb84=_0x572e;typeof exports=='object'&&typeof module<'u'?_0x2b7725(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==_0x4dcb84(0x409)&&define[_0x4dcb84(0x27a)]?define(['exports',_0x4dcb84(0x234),_0x4dcb84(0x2c3),'@univerjs/docs','@univerjs/sheets',_0x4dcb84(0x216),_0x4dcb84(0x81),_0x4dcb84(0xd9),_0x4dcb84(0x3ba),_0x4dcb84(0x1e0),_0x4dcb84(0x3b8)],_0x2b7725):(_0x2ce3ed=typeof globalThis<'u'?globalThis:_0x2ce3ed||self,_0x2b7725(_0x2ce3ed[_0x4dcb84(0x244)]={},_0x2ce3ed[_0x4dcb84(0x37c)],_0x2ce3ed[_0x4dcb84(0x3b5)],_0x2ce3ed['UniverDocs'],_0x2ce3ed['UniverSheets'],_0x2ce3ed[_0x4dcb84(0x216)],_0x2ce3ed[_0x4dcb84(0x83)],_0x2ce3ed[_0x4dcb84(0x216)][_0x4dcb84(0xbf)],_0x2ce3ed[_0x4dcb84(0x39e)],_0x2ce3ed[_0x4dcb84(0x305)],_0x2ce3ed[_0x4dcb84(0x153)]));}(this,function(_0x313ef4,_0xdad847,_0x593ae3,_0x6ea9c7,_0x196ab6,_0x2ff251,_0x5679e5,_0x137fa6,_0x38c133,_0x3fed8b,_0x349663){'use strict';var _0x509db9=_0x572e;var _0x3c850b=Object['defineProperty'],_0x2bb7ec=(_0x32fd6a,_0x5b2309,_0x2137f8)=>_0x5b2309 in _0x32fd6a?_0x3c850b(_0x32fd6a,_0x5b2309,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2137f8}):_0x32fd6a[_0x5b2309]=_0x2137f8,_0x309c0d=(_0x9c9d7,_0x3185d3,_0x11e036)=>_0x2bb7ec(_0x9c9d7,typeof _0x3185d3!='symbol'?_0x3185d3+'':_0x3185d3,_0x11e036);const _0x21d126=_0x509db9(0x31e),_0x16ba83=_0x509db9(0x184),_0x407f4f='ws://127.0.0.1:8000/universer-api/comb/connect',_0x29e50d=_0x509db9(0x191),_0x55547f=_0x509db9(0x27d),_0x30846d='HEARTBEAT_TIMEOUT',_0x52e10c=_0x509db9(0x98),_0x2b3841=_0x509db9(0xc7),_0x411702=_0x509db9(0x329),_0x1f9169=_0x509db9(0xf8),_0x5f3fee=_0x509db9(0x24e),_0x162619='/universer-api/uniscript';var _0x56ddea=(_0x626978=>(_0x626978[_0x626978[_0x509db9(0xad)]=0x0]='UNDEFINED',_0x626978[_0x626978['OK']=0x1]='OK',_0x626978[_0x626978[_0x509db9(0x30d)]=0x2]=_0x509db9(0x30d),_0x626978[_0x626978[_0x509db9(0x356)]=0x3]=_0x509db9(0x356),_0x626978[_0x626978[_0x509db9(0x264)]=0x4]=_0x509db9(0x264),_0x626978[_0x626978[_0x509db9(0x3b1)]=0x5]=_0x509db9(0x3b1),_0x626978[_0x626978[_0x509db9(0x160)]=0x6]='ALREADY_EXISTS',_0x626978[_0x626978[_0x509db9(0x1d8)]=0x7]=_0x509db9(0x1d8),_0x626978[_0x626978[_0x509db9(0x14f)]=0x8]=_0x509db9(0x14f),_0x626978[_0x626978[_0x509db9(0x3d0)]=0x9]=_0x509db9(0x3d0),_0x626978[_0x626978[_0x509db9(0x1d2)]=0xa]='LOGIN_FAILED',_0x626978[_0x626978[_0x509db9(0x351)]=0xb]=_0x509db9(0x351),_0x626978[_0x626978[_0x509db9(0x295)]=0xc]=_0x509db9(0x295),_0x626978[_0x626978['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x509db9(0x1e8),_0x626978[_0x626978['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x509db9(0x178),_0x626978[_0x626978['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x509db9(0x202),_0x626978[_0x626978[_0x509db9(0x1ef)]=0x10]=_0x509db9(0x1ef),_0x626978[_0x626978[_0x509db9(0x2e7)]=0x64]=_0x509db9(0x2e7),_0x626978[_0x626978['ERROR_AGAIN']=0x65]=_0x509db9(0x3f1),_0x626978[_0x626978[_0x509db9(0x2e5)]=0xc9]=_0x509db9(0x2e5),_0x626978[_0x626978[_0x509db9(0x259)]=0xca]='USER_IS_ANONYMOUS',_0x626978[_0x626978['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x509db9(0x31d),_0x626978[_0x626978[_0x509db9(0xfb)]=0x1771]=_0x509db9(0xfb),_0x626978[_0x626978['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x509db9(0x219),_0x626978[_0x626978[_0x509db9(0x13b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x626978[_0x626978[_0x509db9(0x3a7)]=0x1b59]=_0x509db9(0x3a7),_0x626978[_0x626978[_0x509db9(0x428)]=0x1b5a]=_0x509db9(0x428),_0x626978[_0x626978[_0x509db9(0x3fb)]=0x1b5b]=_0x509db9(0x3fb),_0x626978[_0x626978[_0x509db9(0x1ba)]=0x1b5c]=_0x509db9(0x1ba),_0x626978[_0x626978[_0x509db9(0x32b)]=0x1b5d]=_0x509db9(0x32b),_0x626978[_0x626978['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x509db9(0x19e),_0x626978[_0x626978['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x626978[_0x626978[_0x509db9(0x2c8)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x626978[_0x626978[_0x509db9(0x283)]=0x232b]=_0x509db9(0x283),_0x626978[_0x626978['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x509db9(0x41b),_0x626978[_0x626978[_0x509db9(0xaf)]=0x232d]=_0x509db9(0xaf),_0x626978[_0x626978['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x509db9(0x225),_0x626978[_0x626978[_0x509db9(0xc1)]=0x2712]=_0x509db9(0xc1),_0x626978[_0x626978[_0x509db9(0x324)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x626978[_0x626978[_0x509db9(0x3fe)]=0x2714]=_0x509db9(0x3fe),_0x626978[_0x626978[_0x509db9(0x148)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x626978[_0x626978['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x509db9(0x1ac),_0x626978[_0x626978[_0x509db9(0x3c2)]=0x271c]=_0x509db9(0x3c2),_0x626978[_0x626978[_0x509db9(0x108)]=0x271d]=_0x509db9(0x108),_0x626978[_0x626978[_0x509db9(0x341)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x626978[_0x626978[_0x509db9(0x1dc)]=0x271f]=_0x509db9(0x1dc),_0x626978[_0x626978[_0x509db9(0x353)]=0x2720]=_0x509db9(0x353),_0x626978[_0x626978['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x509db9(0x29f),_0x626978[_0x626978[_0x509db9(0xf5)]=0x2ee1]=_0x509db9(0xf5),_0x626978[_0x626978['INVALID_INVITE_CODE']=0x2ee2]=_0x509db9(0x2ef),_0x626978[_0x626978[_0x509db9(0x124)]=0x2ee3]=_0x509db9(0x124),_0x626978[_0x626978[_0x509db9(0x402)]=0x2ee4]=_0x509db9(0x402),_0x626978[_0x626978[_0x509db9(0x1df)]=0x2ee5]=_0x509db9(0x1df),_0x626978[_0x626978[_0x509db9(0x147)]=0x32c9]=_0x509db9(0x147),_0x626978[_0x626978[_0x509db9(0x31a)]=0x32ca]=_0x509db9(0x31a),_0x626978[_0x626978[_0x509db9(0x12d)]=0x32cb]=_0x509db9(0x12d),_0x626978[_0x626978[_0x509db9(0x3e4)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x626978[_0x626978[_0x509db9(0x123)]=0x36b2]=_0x509db9(0x123),_0x626978[_0x626978[_0x509db9(0x137)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x626978[_0x626978['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x626978[_0x626978['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x509db9(0x2d0),_0x626978[_0x626978['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x626978[_0x626978[_0x509db9(0x1af)]=0x36b7]=_0x509db9(0x1af),_0x626978[_0x626978['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x509db9(0xf3),_0x626978[_0x626978['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x509db9(0x1aa),_0x626978[_0x626978[_0x509db9(0x115)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x626978[_0x626978[_0x509db9(0x381)]=0x3717]=_0x509db9(0x381),_0x626978[_0x626978[_0x509db9(0x404)]=0x37dd]=_0x509db9(0x404),_0x626978[_0x626978[_0x509db9(0x2c2)]=0x3a99]=_0x509db9(0x2c2),_0x626978[_0x626978[_0x509db9(0x362)]=0x3a9a]=_0x509db9(0x362),_0x626978[_0x626978[_0x509db9(0x32e)]=0x3a9b]=_0x509db9(0x32e),_0x626978[_0x626978[_0x509db9(0xe6)]=0x3a9c]=_0x509db9(0xe6),_0x626978[_0x626978[_0x509db9(0x1cd)]=0x3a9d]=_0x509db9(0x1cd),_0x626978[_0x626978[_0x509db9(0x1ca)]=0x3a9e]=_0x509db9(0x1ca),_0x626978[_0x626978[_0x509db9(0x2ee)]=0x3a9f]=_0x509db9(0x2ee),_0x626978[_0x626978['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x509db9(0x2c6),_0x626978[_0x626978['UNRECOGNIZED']=-0x1]=_0x509db9(0x215),_0x626978))(_0x56ddea||{}),_0x5dd1fb=(_0x29e193=>(_0x29e193[_0x29e193[_0x509db9(0x21e)]=0x0]='UNIVER_UNKNOWN',_0x29e193[_0x29e193[_0x509db9(0x3b0)]=0x1]='UNIVER_DOC',_0x29e193[_0x29e193[_0x509db9(0x155)]=0x2]=_0x509db9(0x155),_0x29e193[_0x29e193[_0x509db9(0x3e1)]=0x3]=_0x509db9(0x3e1),_0x29e193[_0x29e193['UNIVER_PROJECT']=0x4]=_0x509db9(0xde),_0x29e193[_0x29e193[_0x509db9(0x215)]=-0x1]=_0x509db9(0x215),_0x29e193))(_0x5dd1fb||{}),_0x1e67da=(_0x54a349=>(_0x54a349[_0x54a349[_0x509db9(0x2d9)]=0x0]='UNKNOWN_CMD',_0x54a349[_0x54a349[_0x509db9(0x1ed)]=0x1]='HELLO',_0x54a349[_0x54a349['JOIN']=0x2]='JOIN',_0x54a349[_0x54a349[_0x509db9(0x132)]=0x3]='LEAVE',_0x54a349[_0x54a349[_0x509db9(0x17c)]=0x4]=_0x509db9(0x17c),_0x54a349[_0x54a349['HEARTBEAT']=0x5]='HEARTBEAT',_0x54a349[_0x54a349['RECV']=0x6]='RECV',_0x54a349[_0x54a349['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x54a349))(_0x1e67da||{}),_0x201e78=(_0x3bfd96=>(_0x3bfd96[_0x3bfd96[_0x509db9(0x314)]=0x0]=_0x509db9(0x314),_0x3bfd96[_0x3bfd96['OK']=0x1]='OK',_0x3bfd96[_0x3bfd96[_0x509db9(0x3c9)]=0x2]='FAIL',_0x3bfd96[_0x3bfd96['JOIN_ROOM_FULL']=0x3e9]=_0x509db9(0x400),_0x3bfd96[_0x3bfd96[_0x509db9(0xab)]=0x3ea]=_0x509db9(0xab),_0x3bfd96[_0x3bfd96[_0x509db9(0x3de)]=0x3eb]=_0x509db9(0x3de),_0x3bfd96[_0x3bfd96[_0x509db9(0x114)]=0x3ec]=_0x509db9(0x114),_0x3bfd96[_0x3bfd96[_0x509db9(0x215)]=-0x1]=_0x509db9(0x215),_0x3bfd96))(_0x201e78||{}),_0x138411=(_0x33af43=>(_0x33af43[_0x33af43[_0x509db9(0x183)]=0x0]='Undefined',_0x33af43[_0x33af43['HttpImport']=0x1]=_0x509db9(0x2fb),_0x33af43[_0x33af43[_0x509db9(0x411)]=0x2]='HttpExport',_0x33af43[_0x33af43['UnitEmbedded']=0x3]=_0x509db9(0x1b0),_0x33af43[_0x33af43[_0x509db9(0x38c)]=0x4]=_0x509db9(0x38c),_0x33af43[_0x33af43[_0x509db9(0x1e1)]=0x5]=_0x509db9(0x1e1),_0x33af43[_0x33af43[_0x509db9(0x1d3)]=0x6]=_0x509db9(0x1d3),_0x33af43[_0x33af43[_0x509db9(0x215)]=-0x1]=_0x509db9(0x215),_0x33af43))(_0x138411||{});const _0x12cfff=_0x509db9(0x237);function _0xea1c49(_0x3746a1){var _0x27b6f7=_0x509db9;return JSON['stringify'](_0x3746a1)[_0x27b6f7(0x2e9)];}var _0x7c51aa=(_0x4e4d87=>(_0x4e4d87[_0x509db9(0x2e3)]=_0x509db9(0x2e3),_0x4e4d87[_0x509db9(0x356)]=_0x509db9(0x356),_0x4e4d87[_0x509db9(0x30f)]=_0x509db9(0x30f),_0x4e4d87['CLOSE_ROOM']=_0x509db9(0x1c4),_0x4e4d87[_0x509db9(0x3d9)]=_0x509db9(0x3d9),_0x4e4d87[_0x509db9(0x320)]='SOCKET_FAILED_RETRY',_0x4e4d87['SOCKET_FAILED']=_0x509db9(0x280),_0x4e4d87[_0x509db9(0x385)]=_0x509db9(0x385),_0x4e4d87))(_0x7c51aa||{});class _0x1e55fc{constructor(){var _0x1aad65=_0x509db9;_0x309c0d(this,_0x1aad65(0x1c5),new _0x2ff251[(_0x1aad65(0x23e))]()),_0x309c0d(this,_0x1aad65(0x38b),this[_0x1aad65(0x1c5)][_0x1aad65(0x203)]());}[_0x509db9(0x1d9)](_0x29fe23){var _0x4b6fb7=_0x509db9;this[_0x4b6fb7(0x1c5)][_0x4b6fb7(0xda)](_0x29fe23);}}class _0x29b036{constructor(){var _0x1fa706=_0x509db9;_0x309c0d(this,_0x1fa706(0x2cc),new _0x2ff251[(_0x1fa706(0x23e))]()),_0x309c0d(this,_0x1fa706(0x3ed),this[_0x1fa706(0x2cc)][_0x1fa706(0x203)]());}[_0x509db9(0x227)](_0x19d5d2){var _0x2241b0=_0x509db9;this[_0x2241b0(0x2cc)][_0x2241b0(0xda)](_0x19d5d2);}}var _0x2f0165=Object['getOwnPropertyDescriptor'],_0x412e19=(_0x4ee74a,_0x190443,_0xf68068,_0x498558)=>{var _0x4e2ad5=_0x509db9;for(var _0x293b18=_0x498558>0x1?void 0x0:_0x498558?_0x2f0165(_0x190443,_0xf68068):_0x190443,_0x2b99fd=_0x4ee74a[_0x4e2ad5(0x2e9)]-0x1,_0x1206b1;_0x2b99fd>=0x0;_0x2b99fd--)(_0x1206b1=_0x4ee74a[_0x2b99fd])&&(_0x293b18=_0x1206b1(_0x293b18)||_0x293b18);return _0x293b18;},_0x130723=(_0x5a790f,_0x32d8e0)=>(_0x211aad,_0x32f0c4)=>_0x32d8e0(_0x211aad,_0x32f0c4,_0x5a790f);_0x313ef4['MemberService']=class extends _0x593ae3['Disposable']{constructor(_0x59525a,_0x29dd9d){var _0x160179=_0x509db9;super(),_0x309c0d(this,_0x160179(0x41c),new Map()),_0x309c0d(this,_0x160179(0x128),new _0x2ff251[(_0x160179(0x23e))]()),(this[_0x160179(0x281)]=_0x59525a,this[_0x160179(0x39d)]=_0x29dd9d,this['disposeWithMe'](_0x2ff251[_0x160179(0x1e6)](this[_0x160179(0x281)][_0x160179(0x313)](_0x593ae3[_0x160179(0x119)][_0x160179(0x155)])['pipe'](_0x137fa6[_0x160179(0xb1)](_0x44d7ed=>_0x44d7ed[_0x160179(0x382)]())),this['_univerInstanceService'][_0x160179(0x313)](_0x593ae3[_0x160179(0x119)][_0x160179(0x3b0)])[_0x160179(0x8f)](_0x137fa6[_0x160179(0xb1)](_0x5c3e25=>_0x5c3e25[_0x160179(0x382)]())),this[_0x160179(0x281)][_0x160179(0x313)](_0x593ae3['UniverInstanceType'][_0x160179(0x3e1)])[_0x160179(0x8f)](_0x137fa6['map'](_0x2a1e26=>_0x2a1e26[_0x160179(0x382)]())))['subscribe'](_0x51ebcc=>this[_0x160179(0x2b1)](_0x51ebcc))));}['waitForRoom$'](_0x5f25ce){var _0x77334a=_0x509db9;return this[_0x77334a(0x41c)]['has'](_0x5f25ce)?_0x2ff251['of'](this[_0x77334a(0x41c)][_0x77334a(0xa5)](_0x5f25ce)):this[_0x77334a(0x128)][_0x77334a(0x8f)](_0x137fa6[_0x77334a(0xb1)](_0x442918=>{var _0x7db2ae=_0x77334a;if(_0x442918===_0x5f25ce)return this[_0x7db2ae(0x41c)][_0x7db2ae(0xa5)](_0x442918);}));}[_0x509db9(0x36c)](_0x47b9e5){var _0x2ebdee=_0x509db9;this[_0x2ebdee(0x39d)][_0x2ebdee(0x36c)](_0x47b9e5);}[_0x509db9(0x269)](){var _0x4a1aad=_0x509db9;return this[_0x4a1aad(0x39d)]['getCurrentUser']();}[_0x509db9(0x10b)](_0x1c3d88,_0x4404c3){var _0x55abf1=_0x509db9;let _0x74da86=this[_0x55abf1(0x41c)][_0x55abf1(0xa5)](_0x1c3d88);_0x74da86||(_0x74da86=new _0xa60f47(),this[_0x55abf1(0x41c)]['set'](_0x1c3d88,_0x74da86),this['_roomCreated$'][_0x55abf1(0xda)](_0x1c3d88)),_0x74da86[_0x55abf1(0x10b)](_0x4404c3);}[_0x509db9(0x2ea)](_0x31e9a8,_0x160e35){var _0x115f68=_0x509db9;const _0x3d06de=this[_0x115f68(0x41c)][_0x115f68(0xa5)](_0x31e9a8);_0x3d06de&&_0x3d06de[_0x115f68(0x2ea)](_0x160e35);}[_0x509db9(0x1a6)](_0x4819ce){var _0x554d95=_0x509db9;return this[_0x554d95(0x41c)][_0x554d95(0xa5)](_0x4819ce);}[_0x509db9(0x39f)](_0x3b1f5f,_0x4f9c85){var _0x118595=_0x509db9;const _0x4cf60a=this[_0x118595(0x41c)][_0x118595(0xa5)](_0x3b1f5f);if(_0x4cf60a)return _0x4cf60a[_0x118595(0x39f)](_0x4f9c85);}[_0x509db9(0x2b1)](_0x228aff){var _0x35e11a=_0x509db9;const _0x2ec9db=this[_0x35e11a(0x41c)][_0x35e11a(0xa5)](_0x228aff);_0x2ec9db&&(_0x2ec9db[_0x35e11a(0x25b)](),this[_0x35e11a(0x41c)][_0x35e11a(0x1b4)](_0x228aff));}['dispose'](){var _0x5d4919=_0x509db9;this[_0x5d4919(0x41c)][_0x5d4919(0x10a)](_0x2db8f0=>_0x2db8f0[_0x5d4919(0x25b)]()),this[_0x5d4919(0x41c)][_0x5d4919(0x265)](),this[_0x5d4919(0x128)]['complete']();}},_0x313ef4[_0x509db9(0x358)]=_0x412e19([_0x130723(0x0,_0x593ae3[_0x509db9(0x1bc)]),_0x130723(0x1,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['UserManagerService']))],_0x313ef4['MemberService']);class _0xa60f47 extends _0x593ae3['Disposable']{constructor(){var _0xc34fdc=_0x509db9;super(...arguments),_0x309c0d(this,_0xc34fdc(0x12c),new Map()),_0x309c0d(this,'_members$',new _0x2ff251['BehaviorSubject'](this[_0xc34fdc(0x12c)])),_0x309c0d(this,_0xc34fdc(0x3c3),this[_0xc34fdc(0x1ee)][_0xc34fdc(0x203)]());}['dispose'](){var _0x19c71c=_0x509db9;this[_0x19c71c(0x12c)]['clear']();}['updateMember'](_0x2bb47b){var _0x22a410=_0x509db9;this['_members'][_0x22a410(0xa8)](_0x2bb47b[_0x22a410(0x3e2)],_0x2bb47b),this[_0x22a410(0x2d6)]();}[_0x509db9(0x2ea)](_0x9f3b95){this['_members']['delete'](_0x9f3b95);}[_0x509db9(0x39f)](_0x2d1640){var _0x74bb4f=_0x509db9;return this[_0x74bb4f(0x12c)][_0x74bb4f(0xa5)](_0x2d1640);}[_0x509db9(0xf4)](){var _0x4ed951=_0x509db9;return Array[_0x4ed951(0x360)](this['_members'][_0x4ed951(0x3c0)]());}[_0x509db9(0x2d6)](){var _0x4c68e2=_0x509db9;this['_members$'][_0x4c68e2(0xda)](this[_0x4c68e2(0x12c)]);}}var _0x593841=Object[_0x509db9(0x3d7)],_0x26df5c=(_0x12de56,_0x13ff48,_0x1e9487,_0x4e44b5)=>{var _0x113ce5=_0x509db9;for(var _0x7c9cf6=_0x4e44b5>0x1?void 0x0:_0x4e44b5?_0x593841(_0x13ff48,_0x1e9487):_0x13ff48,_0x42c1ce=_0x12de56[_0x113ce5(0x2e9)]-0x1,_0xe1b385;_0x42c1ce>=0x0;_0x42c1ce--)(_0xe1b385=_0x12de56[_0x42c1ce])&&(_0x7c9cf6=_0xe1b385(_0x7c9cf6)||_0x7c9cf6);return _0x7c9cf6;},_0x45fb13=(_0x135f1e,_0x136643)=>(_0x6f7f03,_0x249c7c)=>_0x136643(_0x6f7f03,_0x249c7c,_0x135f1e),_0x4e4db9=(_0x596d10=>(_0x596d10[_0x596d10['IDLE']=0x0]=_0x509db9(0x398),_0x596d10[_0x596d10[_0x509db9(0xd6)]=0x1]='JOINING',_0x596d10[_0x596d10[_0x509db9(0x2ab)]=0x2]=_0x509db9(0x2ab),_0x596d10[_0x596d10[_0x509db9(0x224)]=0x3]=_0x509db9(0x224),_0x596d10))(_0x4e4db9||{});const _0x46af9d={[_0x201e78[_0x509db9(0x3c9)]]:_0x509db9(0xeb),[_0x201e78[_0x509db9(0x400)]]:_0x509db9(0x1b1),[_0x201e78['JOIN_ROOM_NOT_EXISTS']]:_0x509db9(0x25e),[_0x201e78['JOIN_ROOM_PERMISSION_DENIED']]:_0x509db9(0x23b),[_0x201e78[_0x509db9(0x114)]]:_0x509db9(0xf0)};_0x313ef4['CollaborationSession']=class extends _0x593ae3[_0x509db9(0x2b9)]{constructor(_0x4578a2,_0x456dc0,_0x21b58a,_0x3f1455,_0x45fdff,_0x37ac3a,_0x4f5407,_0x4497ec){var _0x3541ba=_0x509db9;super(),_0x309c0d(this,_0x3541ba(0x204),new _0x2ff251[(_0x3541ba(0xed))](0x0)),_0x309c0d(this,'sessionStatus$',this[_0x3541ba(0x204)][_0x3541ba(0x203)]()),_0x309c0d(this,_0x3541ba(0x1c5),new _0x2ff251[(_0x3541ba(0x23e))]()),_0x309c0d(this,_0x3541ba(0x38b),this[_0x3541ba(0x1c5)]['asObservable']()),_0x309c0d(this,'_socket'),_0x309c0d(this,_0x3541ba(0x1bb)),_0x309c0d(this,_0x3541ba(0x106)),_0x309c0d(this,_0x3541ba(0x12f),!0x1),_0x309c0d(this,_0x3541ba(0x3f9),null),(this[_0x3541ba(0x1eb)]=_0x4578a2,this[_0x3541ba(0x2a8)]=_0x21b58a,this[_0x3541ba(0x15b)]=_0x3f1455,this['_memberService']=_0x45fdff,this[_0x3541ba(0x401)]=_0x37ac3a,this['_collaborationUIEventService']=_0x4f5407,this['_telemetryService']=_0x4497ec,this[_0x3541ba(0x12f)]=!!this[_0x3541ba(0x3ff)],_0x456dc0[_0x3541ba(0x8f)](_0x2ff251[_0x3541ba(0x1b7)](this[_0x3541ba(0x429)]))[_0x3541ba(0xa2)](_0x47bde6=>{var _0x1aa37f=_0x3541ba,_0x2fa334;typeof _0x47bde6>'u'||(this[_0x1aa37f(0x181)]=_0x47bde6,_0x47bde6?(this[_0x1aa37f(0x9f)](_0x47bde6),this[_0x1aa37f(0x1bb)]=_0x47bde6[_0x1aa37f(0x1b6)][_0x1aa37f(0xa2)](_0x2e8670=>{var _0x2621d4=_0x1aa37f;_0x2e8670['routeKey']===this[_0x2621d4(0x1eb)]&&this[_0x2621d4(0x150)](_0x2e8670);})):(this[_0x1aa37f(0x1f9)](),this[_0x1aa37f(0x204)][_0x1aa37f(0xda)](0x2),(_0x2fa334=this[_0x1aa37f(0x1bb)])==null||_0x2fa334[_0x1aa37f(0x14c)](),this[_0x1aa37f(0x1bb)]=null));}));}get[_0x509db9(0x421)](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){var _0x3712b7=_0x509db9,_0xa72120,_0x310ead;return(_0x310ead=(_0xa72120=this[_0x3712b7(0x181)])==null?void 0x0:_0xa72120[_0x3712b7(0x3e2)])!=null?_0x310ead:null;}[_0x509db9(0x25b)](){var _0x276475=_0x509db9;super[_0x276475(0x25b)](),this['dispose$'][_0x276475(0xda)](),this['dispose$'][_0x276475(0xb6)]();}[_0x509db9(0x288)](){var _0x28e0c7=_0x509db9,_0x3cd229,_0x49006;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3cd229=this[_0x28e0c7(0x181)])==null||_0x3cd229['send']({'cmd':_0x1e67da[_0x28e0c7(0x132)],'data':{'roomID':this[_0x28e0c7(0x1eb)]}}),(_0x49006=this[_0x28e0c7(0x181)])==null||_0x49006['close'](),this[_0x28e0c7(0x1c5)]['complete'](),this['_sessionStatus$']['complete'](),this[_0x28e0c7(0x25b)]();}[_0x509db9(0x150)](_0x3948d4){var _0x5989de=_0x509db9;_0x3948d4[_0x5989de(0x29a)]===_0x1e67da[_0x5989de(0x2f0)]?this[_0x5989de(0x405)](_0x3948d4):_0x3948d4[_0x5989de(0x29a)]===_0x1e67da['RECV']&&this['_onRecvEvent'](_0x3948d4);}['_joinRoom'](_0x5ea049){var _0x4f6b0d=_0x509db9;this[_0x4f6b0d(0x204)][_0x4f6b0d(0xda)](0x1),_0x5ea049[_0x4f6b0d(0x426)]({'cmd':_0x1e67da[_0x4f6b0d(0x2f0)],'routeKey':this[_0x4f6b0d(0x1eb)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x509db9(0x405)](_0x3fbbe4){var _0x558171=_0x509db9,_0xf6ae3a;if(_0x3fbbe4['code']in _0x46af9d){this[_0x558171(0x20c)][_0x558171(0x1d9)]({'id':_0x7c51aa[_0x558171(0x3d9)],'data':_0x46af9d[_0x3fbbe4[_0x558171(0x142)]]}),this['_sessionStatus$'][_0x558171(0xda)](0x2);return;}this[_0x558171(0x204)][_0x558171(0xda)](0x3);const _0x8a22b8=(_0xf6ae3a=_0x3fbbe4[_0x558171(0xc3)][_0x558171(0x260)][this['_unitID']])==null?void 0x0:_0xf6ae3a[_0x558171(0x285)];_0x8a22b8&&_0x8a22b8['forEach'](_0x4b1395=>this[_0x558171(0x2c5)][_0x558171(0x10b)](this[_0x558171(0x1eb)],_0x4b1395));}['_onRecvEvent'](_0x2de5b1){var _0x1e8179=_0x509db9;try{const _0x34c2ac=_0x2de5b1[_0x1e8179(0xc3)];switch(_0x34c2ac[_0x1e8179(0x240)]){case _0xdad847[_0x1e8179(0x343)][_0x1e8179(0x3b6)]:this[_0x1e8179(0xc2)](_0x34c2ac),this[_0x1e8179(0x1c5)][_0x1e8179(0xda)](_0x34c2ac);break;case _0xdad847[_0x1e8179(0x343)][_0x1e8179(0x27c)]:this[_0x1e8179(0x1ce)](_0x34c2ac),this['_event$'][_0x1e8179(0xda)](_0x34c2ac);break;case _0xdad847[_0x1e8179(0x343)][_0x1e8179(0x3f8)]:case _0xdad847[_0x1e8179(0x343)]['CHANGESET_SHOULD_RETRY']:this[_0x1e8179(0x354)](),this[_0x1e8179(0x306)](),this['_event$'][_0x1e8179(0xda)](_0x34c2ac);break;case _0xdad847[_0x1e8179(0x343)][_0x1e8179(0x96)]:this[_0x1e8179(0x2a8)][_0x1e8179(0x2cd)](_0x1e8179(0x36d)+JSON[_0x1e8179(0xa1)](_0x34c2ac)),this[_0x1e8179(0x1c5)][_0x1e8179(0xda)](_0x34c2ac);break;case _0xdad847['CollaborationEvent'][_0x1e8179(0x319)]:this[_0x1e8179(0x401)][_0x1e8179(0x227)](_0x34c2ac['data']),this[_0x1e8179(0x1c5)][_0x1e8179(0xda)](_0x34c2ac);break;default:this[_0x1e8179(0x1c5)][_0x1e8179(0xda)](_0x34c2ac);}}catch(_0x3abd40){this[_0x1e8179(0x2a8)][_0x1e8179(0x2cd)](_0x3abd40,_0x2de5b1);}}[_0x509db9(0xc2)](_0x5be4c8){var _0x5f0661=_0x509db9;this[_0x5f0661(0x2c5)][_0x5f0661(0x10b)](this[_0x5f0661(0x1eb)],_0x5be4c8[_0x5f0661(0xc3)]);}[_0x509db9(0x1ce)](_0xa08824){var _0x106cb9=_0x509db9;this[_0x106cb9(0x2c5)][_0x106cb9(0x2ea)](this['_unitID'],_0xa08824[_0x106cb9(0xc3)][_0x106cb9(0x3e2)]);}async[_0x509db9(0x426)](_0x54e07d,_0x4cc9d0){var _0x261cea=_0x509db9;if(this[_0x261cea(0x421)]!==0x3||!this[_0x261cea(0x181)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x54e07d[_0x261cea(0x240)]===_0xdad847[_0x261cea(0x343)]['SUBMIT_CHANGESET']&&(this[_0x261cea(0x2f2)](),this[_0x261cea(0x210)](_0x54e07d)),this['_socket'][_0x261cea(0x426)]({'cmd':_0x1e67da[_0x261cea(0x17c)],'routeKey':_0x4cc9d0,'routeType':'','data':_0x54e07d});}catch(_0x1616b4){this[_0x261cea(0x2a8)][_0x261cea(0x2cd)](_0x1616b4);}}[_0x509db9(0x2f2)](){var _0x3a6bdb=_0x509db9,_0x3b1cd0;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x342e7e=_0x572e;this[_0x342e7e(0x106)]=null,this['_collaborationUIEventService'][_0x342e7e(0x1d9)]({'id':_0x7c51aa['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3b1cd0=this['_configService'][_0x3a6bdb(0x1a7)](_0x30846d))!=null?_0x3b1cd0:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x18639b=_0x509db9;this[_0x18639b(0x106)]&&(clearTimeout(this[_0x18639b(0x106)]),this[_0x18639b(0x106)]=null);}[_0x509db9(0x210)](_0x35dfe7){var _0x35dfd5=_0x509db9;if(!this[_0x35dfd5(0x12f)])return;const {data:_0x45487b}=_0x35dfe7,{unitID:_0x14c33d,changeset:_0x2cca46}=_0x45487b,{mutations:_0x4bdb4c,type:_0x1bacce}=_0x2cca46;this[_0x35dfd5(0x3f9)]={'unitId':_0x14c33d,'type':_0x1bacce,'startTime':performance[_0x35dfd5(0x22c)](),'stopTime':0x0,'duration':0x0,'size':_0xea1c49(_0x4bdb4c)};}[_0x509db9(0x354)](){var _0x2e54b0=_0x509db9;if(this[_0x2e54b0(0x12f)]){if(!this['_telemetryInfo']){this[_0x2e54b0(0x2a8)][_0x2e54b0(0x2cd)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2e54b0(0x3f9)]['stopTime']=performance[_0x2e54b0(0x22c)](),this[_0x2e54b0(0x3f9)][_0x2e54b0(0x3db)]=this[_0x2e54b0(0x3f9)][_0x2e54b0(0x307)]-this[_0x2e54b0(0x3f9)]['startTime'],this['_telemetryService'][_0x2e54b0(0x3c7)](_0x12cfff,this['_telemetryInfo']),this[_0x2e54b0(0x3f9)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x189944=_0x509db9;this[_0x189944(0x3f9)]=null;}},_0x313ef4[_0x509db9(0x87)]=_0x26df5c([_0x45fb13(0x2,_0x593ae3[_0x509db9(0x1a8)]),_0x45fb13(0x3,_0x593ae3[_0x509db9(0x1c0)]),_0x45fb13(0x4,_0x593ae3[_0x509db9(0x28b)](_0x313ef4[_0x509db9(0x358)])),_0x45fb13(0x5,_0x593ae3[_0x509db9(0x28b)](_0x29b036)),_0x45fb13(0x6,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x45fb13(0x7,_0x593ae3[_0x509db9(0x3d1)](_0x5679e5[_0x509db9(0x18f)]))],_0x313ef4[_0x509db9(0x87)]);const _0x192e9c=_0x593ae3[_0x509db9(0xbc)]('collaboration-client.local-cache-service');function _0x142709(_0x1b6ae3){var _0x21c67e=_0x509db9;return _0x21c67e(0x2fe)+_0x1b6ae3;}var _0x46f717=Object[_0x509db9(0x3d7)],_0x23ac63=(_0xd329ba,_0x180de2,_0x1169f1,_0x242abd)=>{var _0x273447=_0x509db9;for(var _0xe41aa5=_0x242abd>0x1?void 0x0:_0x242abd?_0x46f717(_0x180de2,_0x1169f1):_0x180de2,_0x5cd43e=_0xd329ba[_0x273447(0x2e9)]-0x1,_0x43b716;_0x5cd43e>=0x0;_0x5cd43e--)(_0x43b716=_0xd329ba[_0x5cd43e])&&(_0xe41aa5=_0x43b716(_0xe41aa5)||_0xe41aa5);return _0xe41aa5;},_0x1ac9ce=(_0x28a70d,_0x34d0fb)=>(_0x1040af,_0x17a5fd)=>_0x34d0fb(_0x1040af,_0x17a5fd,_0x28a70d);function _0x2d7074(_0x1cf0cf){var _0x516eda=_0x509db9;const {unitID:_0x59015d,mutations:_0x50e737}=_0x1cf0cf;return{'unitId':_0x59015d,'subUnitId':_0x50e737[_0x516eda(0x2e9)]>0x0?_0x50e737[0x0]['params']['subUnitId']:null};}_0x313ef4['SheetTransformSelectionsService']=class{constructor(_0x1973e0,_0x51075f,_0x2a5b0a){var _0x36f9dc=_0x509db9;this[_0x36f9dc(0x397)]=_0x1973e0,this[_0x36f9dc(0x3b9)]=_0x51075f,this[_0x36f9dc(0x21b)]=_0x2a5b0a;}[_0x509db9(0x412)](_0x148a4f){var _0x1c8eb2=_0x509db9,_0x1c94d8,_0x36bb17,_0x2bbef7,_0x5660f7;const _0x250d67=this[_0x1c8eb2(0x397)][_0x1c8eb2(0xa5)](_0x196ab6[_0x1c8eb2(0x2a7)]),{unitId:_0x5a964b,subUnitId:_0x15d10f}=_0x2d7074(_0x148a4f),_0x9c6174=_0x250d67==null?void 0x0:_0x250d67[_0x1c8eb2(0x2e8)](_0x5a964b)[_0x1c8eb2(0x171)](),_0x30e0f3=(_0x36bb17=(_0x1c94d8=this[_0x1c8eb2(0x21b)][_0x1c8eb2(0x138)](_0x5a964b))==null?void 0x0:_0x1c94d8[_0x1c8eb2(0x37f)]())==null?void 0x0:_0x36bb17[_0x1c8eb2(0x302)]();if(_0x9c6174['length']===0x0||!_0x5a964b||!_0x15d10f)return;const _0x2532bc=[{'id':_0x196ab6[_0x1c8eb2(0x2fa)]['id'],'params':{'unitId':_0x5a964b,'subUnitId':_0x30e0f3,'selections':_0x593ae3[_0x1c8eb2(0x31f)][_0x1c8eb2(0x26e)](_0x9c6174)}}],_0x323735=this['_transformService'][_0x1c8eb2(0x220)](_0x148a4f,_0x2532bc);if(!_0xdad847[_0x1c8eb2(0x116)](_0x323735))throw _0x323735[_0x1c8eb2(0x2cd)];const _0x69377b=(_0x5660f7=(_0x2bbef7=_0x323735[_0x1c8eb2(0x2f4)][0x0])==null?void 0x0:_0x2bbef7[_0x1c8eb2(0x158)])==null?void 0x0:_0x5660f7[_0x1c8eb2(0x231)];if(Array[_0x1c8eb2(0x366)](_0x69377b)&&_0x69377b[_0x1c8eb2(0x2e9)]){if(_0x69377b[_0x1c8eb2(0x2e9)]===_0x2532bc[0x0][_0x1c8eb2(0x158)][_0x1c8eb2(0x231)][_0x1c8eb2(0x2e9)]&&_0x69377b[_0x1c8eb2(0x41f)]((_0xf05574,_0x32b969)=>_0x593ae3[_0x1c8eb2(0x24c)]['equals'](_0xf05574['range'],_0x2532bc[0x0][_0x1c8eb2(0x158)]['selections'][_0x32b969][_0x1c8eb2(0x3a6)])))return;this[_0x1c8eb2(0x397)][_0x1c8eb2(0xa5)](_0x593ae3[_0x1c8eb2(0x170)])[_0x1c8eb2(0x218)](_0x196ab6[_0x1c8eb2(0x2fa)]['id'],{'unitId':_0x5a964b,'subUnitId':_0x30e0f3,'selections':_0x69377b});}}},_0x313ef4[_0x509db9(0x33b)]=_0x23ac63([_0x1ac9ce(0x0,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x1ac9ce(0x1,_0xdad847[_0x509db9(0x268)]),_0x1ac9ce(0x2,_0x593ae3[_0x509db9(0x1bc)])],_0x313ef4[_0x509db9(0x33b)]);const _0x5647b7=_0x593ae3[_0x509db9(0xbc)](_0x509db9(0x1e2));var _0x1bfb46=(_0xf0bde5=>(_0xf0bde5[_0xf0bde5[_0x509db9(0x1bf)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xf0bde5[_0xf0bde5[_0x509db9(0xaa)]=0x1]=_0x509db9(0xaa),_0xf0bde5))(_0x1bfb46||{});const _0x9fbd4f=_0x509db9(0x26a),_0x39e350={};function _0x410431(_0x2ec7ec){var _0x5e4dec=_0x509db9,_0x5061b8;return!!((_0x5061b8=_0x2ec7ec[_0x5e4dec(0x158)])!=null&&_0x5061b8[_0x5e4dec(0x159)]);}const _0xc1b014=new Set([_0x196ab6[_0x509db9(0x3a9)]['id']]);function _0x55732f(_0x1a96ef,_0x1ba7b4,_0xbd8fb2,_0x2b9736,_0x8bd808){var _0x49c1a1=_0x509db9,_0x31b6d4,_0x3db875,_0x4cc956,_0xd85800;const _0x28f791=[];for(const _0x3761f0 of _0x1a96ef){if(_0xc1b014[_0x49c1a1(0x34c)](_0x3761f0['id'])){if(_0x28f791[_0x49c1a1(0x2e9)]>0x0)break;_0x28f791[_0x49c1a1(0x273)](_0x3761f0);break;}if(_0x410431(_0x3761f0)){if(_0x28f791[_0x49c1a1(0x2e9)]>0x0)break;_0x28f791[_0x49c1a1(0x273)](_0x3761f0);break;}_0x28f791[_0x49c1a1(0x273)](_0x3761f0);}const _0x418626=(_0x3db875=(_0x31b6d4=_0x8bd808[_0x49c1a1(0x269)]())==null?void 0x0:_0x31b6d4[_0x49c1a1(0x10e)])!=null?_0x3db875:'unknown',_0x134ed7=(_0xd85800=(_0x4cc956=_0x8bd808[_0x49c1a1(0x269)]())==null?void 0x0:_0x4cc956[_0x49c1a1(0x3e2)])!=null?_0xd85800:'unknown';return{'changeset':{'unitID':_0x1ba7b4,'type':_0xdad847[_0x49c1a1(0x41d)](_0xbd8fb2[_0x49c1a1(0xea)](_0x1ba7b4)),'baseRev':_0x2b9736['getCurrentRevOfUnit'](_0x1ba7b4),'revision':0x0,'userID':_0x418626,'memberID':_0x134ed7,'mutations':_0x28f791},'pendingMutations':_0x1a96ef['slice'](_0x28f791[_0x49c1a1(0x2e9)])};}function _0x2833b8(_0x3418d6,_0x20c20f,_0x474f87,_0x277332,_0x2bd724){var _0x578bcf=_0x509db9,_0x4130f5,_0x49b9a2,_0x1fba75,_0x3adaa4;const _0x59ee3b=[_0x3418d6[_0x578bcf(0xae)]((_0x37c618,_0x81de60)=>{var _0x11460d=_0x578bcf,_0x23c26f;const {id:_0x3b415f}=_0x37c618,{id:_0x308c80,type:_0x338ac7}=_0x81de60,_0x2691dc=(_0x23c26f=_0x37c618[_0x11460d(0x158)])!=null?_0x23c26f:{'actions':null},_0x3e76c1=_0x81de60[_0x11460d(0x158)];if(_0x3b415f&&_0x3b415f!==_0x308c80)throw new Error(_0x11460d(0x3d8)+_0x3b415f+_0x11460d(0x127)+_0x308c80+'.');return{..._0x37c618,'id':_0x308c80,'type':_0x338ac7,'params':{'unitId':_0x3e76c1[_0x11460d(0x339)],'textRanges':_0x3e76c1[_0x11460d(0x317)],'actions':_0x593ae3[_0x11460d(0x418)][_0x11460d(0x35f)](_0x2691dc['actions'],_0x3e76c1['actions'])}};},{})],_0x3c7130=(_0x49b9a2=(_0x4130f5=_0x2bd724[_0x578bcf(0x269)]())==null?void 0x0:_0x4130f5[_0x578bcf(0x10e)])!=null?_0x49b9a2:_0x578bcf(0xec),_0x10318b=(_0x3adaa4=(_0x1fba75=_0x2bd724[_0x578bcf(0x269)]())==null?void 0x0:_0x1fba75[_0x578bcf(0x3e2)])!=null?_0x3adaa4:_0x578bcf(0xec);return{'changeset':{'unitID':_0x20c20f,'type':_0xdad847[_0x578bcf(0x41d)](_0x474f87['getUnitType'](_0x20c20f)),'baseRev':_0x277332[_0x578bcf(0x333)](_0x20c20f),'revision':0x0,'userID':_0x3c7130,'memberID':_0x10318b,'mutations':_0x59ee3b},'pendingMutations':[]};}function _0x2f900f(_0x1898d4,_0x2209d2){var _0x19ba8c=_0x509db9;const _0x432aff=new _0x2ff251[(_0x19ba8c(0x3c8))](0x1);return setTimeout(()=>_0x432aff[_0x19ba8c(0xda)](_0x2209d2),_0x1898d4),_0x432aff[_0x19ba8c(0x203)]()['pipe'](_0x2ff251['take'](0x1));}var _0x3da7ed=Object[_0x509db9(0x3d7)],_0x388bf0=(_0x41a339,_0x40bbf1,_0x37096f,_0x140ce7)=>{var _0x3e68be=_0x509db9;for(var _0x4617b5=_0x140ce7>0x1?void 0x0:_0x140ce7?_0x3da7ed(_0x40bbf1,_0x37096f):_0x40bbf1,_0xe30009=_0x41a339[_0x3e68be(0x2e9)]-0x1,_0x1bf4ee;_0xe30009>=0x0;_0xe30009--)(_0x1bf4ee=_0x41a339[_0xe30009])&&(_0x4617b5=_0x1bf4ee(_0x4617b5)||_0x4617b5);return _0x4617b5;},_0x40dca1=(_0x1cfdb7,_0x3bf927)=>(_0x4e9b93,_0x4add42)=>_0x3bf927(_0x4e9b93,_0x4add42,_0x1cfdb7),_0x1ac262=(_0x326b6d=>(_0x326b6d[_0x509db9(0x399)]=_0x509db9(0x100),_0x326b6d[_0x509db9(0x162)]=_0x509db9(0x140),_0x326b6d[_0x509db9(0x94)]=_0x509db9(0x346),_0x326b6d[_0x509db9(0x8d)]='awaiting',_0x326b6d[_0x509db9(0x37a)]='awaiting_with_pending',_0x326b6d[_0x509db9(0x1f6)]=_0x509db9(0x207),_0x326b6d[_0x509db9(0x30f)]=_0x509db9(0x1f3),_0x326b6d['OFFLINE']='offline',_0x326b6d))(_0x1ac262||{});const _0x595904=0xea60;class _0x2b1fbc{constructor(_0x59b371,_0x3cf8d4,_0x44a2d8,_0x3a31f3,_0x2cd8b3,_0x5d0873,_0xf9785b,_0x319d0f,_0x1a0a39){var _0x5f2bed=_0x509db9;_0x309c0d(this,'_awaitingChangeset',null),_0x309c0d(this,_0x5f2bed(0x255),[]),(this[_0x5f2bed(0x359)]=_0x59b371,this[_0x5f2bed(0xfd)]=_0x3cf8d4,this['_handler']=_0x2cd8b3,this[_0x5f2bed(0x15f)]=_0x5d0873,this[_0x5f2bed(0x2ed)]=_0xf9785b,this[_0x5f2bed(0xa4)]=_0x319d0f,this[_0x5f2bed(0x86)]=_0x1a0a39,this[_0x5f2bed(0x156)]=_0x44a2d8,this[_0x5f2bed(0x255)]=_0x3a31f3);}[_0x509db9(0x1f4)](_0x1124fa){var _0x2da487=_0x509db9;const _0x21ccb1=this[_0x2da487(0xa4)]['getCurrentRevOfUnit'](this['unitID']);return _0x1124fa[_0x2da487(0x134)]>_0x21ccb1+0x1?(this[_0x2da487(0x2e0)][_0x2da487(0x20b)]({'from':_0x21ccb1,'to':_0x1124fa['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x116f23){var _0x55bc30=_0x509db9;this[_0x55bc30(0x2ed)]['transformUndoRedo'](this[_0x55bc30(0x359)],_0x116f23);}[_0x509db9(0x133)](_0x5cf683){var _0x12b6b4=_0x509db9,_0x70d67e,_0x18976b;(_0x18976b=(_0x70d67e=this[_0x12b6b4(0x2e0)])[_0x12b6b4(0x161)])==null||_0x18976b[_0x12b6b4(0xc8)](_0x70d67e,_0x5cf683);}[_0x509db9(0x258)](_0x442ac0){var _0x4e0a0a=_0x509db9,_0x242bb8,_0xa6a93d;return(_0xa6a93d=(_0x242bb8=this['_handler'])[_0x4e0a0a(0x1db)])==null?void 0x0:_0xa6a93d[_0x4e0a0a(0xc8)](_0x242bb8,_0x442ac0);}[_0x509db9(0x33a)](_0x58c660){var _0x2abc48=_0x509db9,_0x1fa24d,_0x14292f;return(_0x14292f=(_0x1fa24d=this[_0x2abc48(0x2e0)])[_0x2abc48(0x109)])==null?void 0x0:_0x14292f[_0x2abc48(0xc8)](_0x1fa24d,_0x58c660);}['_transformRemoteChangesetByIMECache'](_0xeb816d){var _0x148515=_0x509db9,_0x4e4d31,_0x14d248,_0x1cb908;return(_0x1cb908=(_0x14d248=(_0x4e4d31=this[_0x148515(0x2e0)])[_0x148515(0x3a3)])==null?void 0x0:_0x14d248[_0x148515(0xc8)](_0x4e4d31,_0xeb816d))!=null?_0x1cb908:_0xeb816d;}[_0x509db9(0x40b)](_0x257243){var _0x354ddb=_0x509db9,_0x34be1d,_0x21eea1,_0x3349b1;return(_0x3349b1=(_0x21eea1=(_0x34be1d=this[_0x354ddb(0x2e0)])[_0x354ddb(0x1c1)])==null?void 0x0:_0x21eea1[_0x354ddb(0xc8)](_0x34be1d,_0x257243))!=null?_0x3349b1:_0x257243;}[_0x509db9(0x2d5)](_0x3f7447){var _0x4e2fb2=_0x509db9,_0x31a0b3,_0xb5e5a6;if(this['type']===_0x5dd1fb[_0x4e2fb2(0x3b0)]){const {unitID:_0x2583c8,mutations:_0x2bdf07,memberID:_0x484c2c}=_0x3f7447,_0xa9ab1a=_0x2bdf07['length']>0x0?_0x2bdf07[0x0]['params'][_0x4e2fb2(0x317)]:[];Array[_0x4e2fb2(0x366)](_0xa9ab1a)&&_0xa9ab1a[_0x4e2fb2(0x2e9)]>0x0&&((_0xb5e5a6=(_0x31a0b3=this[_0x4e2fb2(0x2e0)])['onSyncEditingCollabCursor'])==null||_0xb5e5a6['call'](_0x31a0b3,{'unitID':_0x2583c8,'memberID':_0x484c2c,'textRanges':_0xa9ab1a}));}}['_updateLocalCache'](){var _0x294603=_0x509db9,_0x4b0d34;(_0x4b0d34=this[_0x294603(0x86)])==null||_0x4b0d34[_0x294603(0x24a)](this[_0x294603(0x359)],this['type'],this[_0x294603(0x156)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x510d0a=_0x509db9;return this[_0x510d0a(0xa4)]['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0x4dce23=_0x509db9;this[_0x4dce23(0xa4)][_0x4dce23(0x425)](this[_0x4dce23(0x359)]);}[_0x509db9(0x30c)](_0x1442dc){var _0x2d6742=_0x509db9,_0x156582;let _0x574c5c=this[_0x2d6742(0x120)](_0x1442dc);_0x574c5c=this[_0x2d6742(0x40b)](_0x574c5c);const _0x4884f5=_0x593ae3[_0x2d6742(0x417)](_0x574c5c[_0x2d6742(0x135)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4884f5[_0x2d6742(0x419)])throw _0x4884f5['error']instanceof Error?_0x4884f5[_0x2d6742(0x2cd)]:new Error((_0x156582=_0x4884f5[_0x2d6742(0x2cd)])!=null?_0x156582:_0x2d6742(0x1c7));this[_0x2d6742(0x258)](_0x574c5c),this['_transformStateCache'](_0x574c5c),this[_0x2d6742(0x3d6)](_0x1442dc),this[_0x2d6742(0x133)](_0x574c5c),this['_syncEditingCollabCursor'](_0x574c5c),this[_0x2d6742(0x1b3)]();}}_0x313ef4['SyncedState']=class extends _0x2b1fbc{constructor(_0x75240d,_0x4f157c,_0x7a0f8,_0x4492a0,_0x267292,_0x5a4c13,_0x3e7171,_0x51e6a9,_0x2c455b,_0x21855a){var _0xc75945=_0x509db9;super(_0x75240d,_0x4f157c,null,[],_0x7a0f8,_0x3e7171,_0x5a4c13,_0x4492a0,_0x21855a),_0x309c0d(this,_0xc75945(0x11e),_0xc75945(0x140)),(this['_injector']=_0x267292,this['_logService']=_0x51e6a9,this['_transformService']=_0x2c455b,this[_0xc75945(0x301)]=_0x21855a);}['appendMutation'](_0x446be7){var _0x4c3e30=_0x509db9;const _0x359a51=this['_injector'][_0x4c3e30(0x252)](_0x313ef4[_0x4c3e30(0x284)],this[_0x4c3e30(0x359)],this[_0x4c3e30(0xfd)],[_0x446be7],this['_handler']);return _0x359a51[_0x4c3e30(0x292)](),_0x359a51[_0x4c3e30(0x2a9)](),_0x359a51;}[_0x509db9(0x3d3)](_0x29b7db){var _0xdd3662=_0x509db9;if(this[_0xdd3662(0x1f4)](_0x29b7db))return this['_injector'][_0xdd3662(0x252)](_0x313ef4['FetchingMissState'],this[_0xdd3662(0x359)],this[_0xdd3662(0xfd)],null,[],null,[_0x29b7db],this['_handler']);try{const _0x1f73de=this[_0xdd3662(0x3b9)][_0xdd3662(0x220)](_0x29b7db,[_0xdad847[_0xdd3662(0x2b0)]]);if(_0xdad847[_0xdd3662(0x116)](_0x1f73de)){const {c1Prime:_0x4a08e4}=_0x1f73de;return this['_executeRemoteChangeset'](_0x4a08e4),this;}throw _0x1f73de[_0xdd3662(0x2cd)];}catch(_0x56cc02){return this[_0xdd3662(0x2a8)][_0xdd3662(0x2cd)](_0x56cc02),this['_onConflict'](!0x1);}}[_0x509db9(0x10d)](_0x480935){var _0x10b9a9=_0x509db9;return this[_0x10b9a9(0x397)][_0x10b9a9(0x252)](_0x313ef4['ConflictState'],this[_0x10b9a9(0x359)],this[_0x10b9a9(0xfd)],null,[],this['_handler'],_0x480935);}['onRemoteAck'](){var _0x199acb=_0x509db9;throw new Error(_0x199acb(0x3ea));}[_0x509db9(0x3f2)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x509db9(0x36f)](){var _0x492482=_0x509db9;return this[_0x492482(0x397)][_0x492482(0x252)](_0x313ef4[_0x492482(0x2d1)],this[_0x492482(0x359)],this[_0x492482(0xfd)],null,[],this['_handler']);}[_0x509db9(0x3ca)](){return this;}['resend'](){var _0x56cdc1=_0x509db9;throw new Error(_0x56cdc1(0x1dd));}[_0x509db9(0x1a0)](){var _0x27ad07=_0x509db9;const _0x279893=this[_0x27ad07(0xa4)]['getCurrentRevOfUnit'](this[_0x27ad07(0x359)]);return this['_handler']['onMissingChangesets']({'from':_0x279893,'to':0x0}),this['_injector'][_0x27ad07(0x252)](_0x313ef4[_0x27ad07(0x336)],this['unitID'],this[_0x27ad07(0xfd)],null,[],null,[],this[_0x27ad07(0x2e0)]);}},_0x313ef4['SyncedState']=_0x388bf0([_0x40dca1(0x3,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0x4,_0x593ae3['Inject'](_0x593ae3['Injector'])),_0x40dca1(0x5,_0x593ae3['IUndoRedoService']),_0x40dca1(0x6,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x7,_0x593ae3[_0x509db9(0x1a8)]),_0x40dca1(0x8,_0xdad847['ITransformService']),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x1fd)]),_0x313ef4[_0x509db9(0x284)]=class extends _0x2b1fbc{constructor(_0x1e45ce,_0x382399,_0x3a7257,_0x1ba61d,_0x331d0e,_0x46a2ac,_0x3f9e80,_0x29a1fa,_0x35aa58,_0x34e602,_0x19f93f,_0x47d0c5,_0x2e5729,_0x597a31){var _0x5a38dd=_0x509db9;super(_0x1e45ce,_0x382399,null,_0x3a7257,_0x1ba61d,_0x35aa58,_0x2e5729,_0x46a2ac,_0x597a31),_0x309c0d(this,_0x5a38dd(0x11e),_0x5a38dd(0x346)),_0x309c0d(this,_0x5a38dd(0x141),null),_0x309c0d(this,_0x5a38dd(0x1b8),null),(this[_0x5a38dd(0x397)]=_0x331d0e,this[_0x5a38dd(0x2c5)]=_0x3f9e80,this[_0x5a38dd(0x2a8)]=_0x29a1fa,this[_0x5a38dd(0x15b)]=_0x34e602,this[_0x5a38dd(0x3b9)]=_0x19f93f,this[_0x5a38dd(0x281)]=_0x47d0c5);}['appendMutation'](_0x5f18bc){return this['_pendingMutations']['push'](_0x5f18bc),this['_updateLocalCache'](),this;}[_0x509db9(0x3d3)](_0x5f234b){var _0x1274fd=_0x509db9;if(this[_0x1274fd(0x1f4)](_0x5f234b))return this[_0x1274fd(0x226)](),this[_0x1274fd(0x397)][_0x1274fd(0x252)](_0x313ef4[_0x1274fd(0x336)],this[_0x1274fd(0x359)],this[_0x1274fd(0xfd)],null,this['_pendingMutations'],null,[_0x5f234b],this[_0x1274fd(0x2e0)]);try{const _0x12f60c=this[_0x1274fd(0x3b9)][_0x1274fd(0x220)](_0x5f234b,this[_0x1274fd(0x255)]);if(_0xdad847[_0x1274fd(0x116)](_0x12f60c)){const {c1Prime:_0x24c82d,m2Prime:_0x4addb2}=_0x12f60c;this[_0x1274fd(0x30c)](_0x24c82d);const _0x10851e=this[_0x1274fd(0x397)][_0x1274fd(0x252)](_0x313ef4['PendingState'],this['unitID'],this[_0x1274fd(0xfd)],_0x4addb2,this[_0x1274fd(0x2e0)]);this['_clearScheduledTask']();const _0x261724=new Date()['getTime'](),_0x330ec6=this[_0x1274fd(0x141)]?Math[_0x1274fd(0x1ec)](this[_0x1274fd(0x141)]-_0x261724,0x0):this[_0x1274fd(0x1d1)]();return _0x10851e['_schedule'](_0x330ec6),_0x10851e;}throw _0x12f60c['error'];}catch(_0x503c59){return this[_0x1274fd(0x2a8)][_0x1274fd(0x2cd)](_0x503c59),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x509db9(0x3f2)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x509db9(0x177)](){return this;}[_0x509db9(0x36f)](){var _0x16c615=_0x509db9;return this[_0x16c615(0x226)](),this['_injector'][_0x16c615(0x252)](_0x313ef4[_0x16c615(0x2d1)],this[_0x16c615(0x359)],this[_0x16c615(0xfd)],null,this['_pendingMutations'],this[_0x16c615(0x2e0)]);}['toggleOnline'](){return this;}[_0x509db9(0x292)](_0x4a81b2){var _0x44ec9a=_0x509db9;const _0xe2b702=_0x4a81b2!=null?_0x4a81b2:this[_0x44ec9a(0x1d1)]();this['_scheduleCompleteTimestamp']=new Date()[_0x44ec9a(0x427)]()+_0xe2b702,this[_0x44ec9a(0x1b8)]=setTimeout(()=>{var _0x2084a0=_0x44ec9a;this[_0x2084a0(0x226)]();let _0x30065e=null;switch(this[_0x2084a0(0xfd)]){case _0x5dd1fb[_0x2084a0(0x155)]:{_0x30065e=_0x55732f(this[_0x2084a0(0x255)],this[_0x2084a0(0x359)],this[_0x2084a0(0x281)],this[_0x2084a0(0xa4)],this[_0x2084a0(0x2c5)]);break;}case _0x5dd1fb[_0x2084a0(0x3b0)]:{this[_0x2084a0(0x255)]['every'](_0x536051=>_0x536051['id']===_0x6ea9c7[_0x2084a0(0x310)]['id'])?_0x30065e=_0x2833b8(this[_0x2084a0(0x255)],this[_0x2084a0(0x359)],this[_0x2084a0(0x281)],this[_0x2084a0(0xa4)],this[_0x2084a0(0x2c5)]):_0x30065e=_0x55732f(this[_0x2084a0(0x255)],this[_0x2084a0(0x359)],this[_0x2084a0(0x281)],this[_0x2084a0(0xa4)],this[_0x2084a0(0x2c5)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x2084a0(0xfd)]+_0x2084a0(0x13f));}const {changeset:_0x32e93d,pendingMutations:_0x3136c5}=_0x30065e;this[_0x2084a0(0x2e0)]['onSendChangeset'](_0x32e93d);const _0x30501f=_0x3136c5[_0x2084a0(0x2e9)]?this['_injector'][_0x2084a0(0x252)](_0x313ef4[_0x2084a0(0x197)],this[_0x2084a0(0x359)],this['type'],_0x32e93d,_0x3136c5,this[_0x2084a0(0x2e0)],void 0x0):this[_0x2084a0(0x397)][_0x2084a0(0x252)](_0x313ef4[_0x2084a0(0x3cb)],this[_0x2084a0(0x359)],this[_0x2084a0(0xfd)],_0x32e93d,this['_handler']);_0x30501f[_0x2084a0(0x2a9)](),this[_0x2084a0(0x2e0)]['onStateChange'](this,_0x30501f);},_0xe2b702);}[_0x509db9(0x1d1)](){var _0x560a81=_0x509db9,_0x1b69de;const _0x44e1ef=this[_0x560a81(0x15b)][_0x560a81(0x1a7)](_0x9fbd4f);return(_0x1b69de=_0x44e1ef==null?void 0x0:_0x44e1ef[_0x560a81(0x206)])!=null?_0x1b69de:0x7d0;}[_0x509db9(0x101)](){var _0x442649=_0x509db9;throw new Error(_0x442649(0x3e9));}[_0x509db9(0x226)](){var _0x11a575=_0x509db9;this[_0x11a575(0x1b8)]!=null&&(clearTimeout(this[_0x11a575(0x1b8)]),this[_0x11a575(0x1b8)]=null);}[_0x509db9(0x10d)](_0x119e6d){var _0x5503ae=_0x509db9;return this[_0x5503ae(0x226)](),this[_0x5503ae(0x397)][_0x5503ae(0x252)](_0x313ef4[_0x5503ae(0x232)],this[_0x5503ae(0x359)],this[_0x5503ae(0xfd)],null,this[_0x5503ae(0x255)],this[_0x5503ae(0x2e0)],_0x119e6d);}},_0x313ef4[_0x509db9(0x284)]=_0x388bf0([_0x40dca1(0x4,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['Injector'])),_0x40dca1(0x5,_0x593ae3['Inject'](_0xdad847['RevisionService'])),_0x40dca1(0x6,_0x593ae3[_0x509db9(0x28b)](_0x313ef4[_0x509db9(0x358)])),_0x40dca1(0x7,_0x593ae3[_0x509db9(0x1a8)]),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x1c0)]),_0x40dca1(0xa,_0xdad847['ITransformService']),_0x40dca1(0xb,_0x593ae3[_0x509db9(0x1bc)]),_0x40dca1(0xc,_0x593ae3['IUndoRedoService']),_0x40dca1(0xd,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x284)]),_0x313ef4['AwaitingState']=class extends _0x2b1fbc{constructor(_0x3afbf4,_0x200c88,_0x2aa338,_0x2d6907,_0x312596,_0x553563,_0x5d7532,_0x3e148d,_0x397dcf,_0x40c9e5,_0x2563ce){var _0x39c2e7=_0x509db9;super(_0x3afbf4,_0x200c88,_0x2aa338,[],_0x2d6907,_0x5d7532,_0x40c9e5,_0x553563,_0x2563ce),_0x309c0d(this,_0x39c2e7(0x11e),_0x39c2e7(0x37b)),_0x309c0d(this,_0x39c2e7(0x223),0x0),_0x309c0d(this,_0x39c2e7(0x139)),_0x309c0d(this,_0x39c2e7(0x1b2)),(this[_0x39c2e7(0x397)]=_0x312596,this[_0x39c2e7(0x2a8)]=_0x3e148d,this[_0x39c2e7(0x3b9)]=_0x397dcf);}['appendMutation'](_0x3152c7){var _0x296ccf=_0x509db9;this['_clearScheduledTask']();const _0x396d91=this['_injector'][_0x296ccf(0x252)](_0x313ef4['AwaitingWithPendingState'],this[_0x296ccf(0x359)],this[_0x296ccf(0xfd)],this[_0x296ccf(0x156)],[_0x3152c7],this[_0x296ccf(0x2e0)],this[_0x296ccf(0x139)]);return _0x396d91[_0x296ccf(0x2a9)](),_0x396d91;}[_0x509db9(0x3d3)](_0x57be7b){var _0x2db00b=_0x509db9;if(this[_0x2db00b(0x1f4)](_0x57be7b))return this[_0x2db00b(0x226)](),this[_0x2db00b(0x397)][_0x2db00b(0x252)](_0x313ef4[_0x2db00b(0x336)],this['unitID'],this[_0x2db00b(0xfd)],this['_awaitingChangeset'],[],null,[_0x57be7b],this['_handler']);try{const _0x4ef836=this['_transformService']['transformChangesets']([_0x57be7b],[this[_0x2db00b(0x156)]],!0x1);if(_0xdad847[_0x2db00b(0x1fa)](_0x4ef836)){const {c1Prime:_0xfd0ba4,c2Prime:_0x5d3850}=_0x4ef836;this[_0x2db00b(0x30c)](_0xfd0ba4[0x0]),_0x5d3850[0x0]['baseRev']=this[_0x2db00b(0x230)](),this[_0x2db00b(0x226)]();const _0x3dd9a7=this['_injector'][_0x2db00b(0x252)](_0x313ef4[_0x2db00b(0x3cb)],this[_0x2db00b(0x359)],this[_0x2db00b(0xfd)],_0x5d3850[0x0],this[_0x2db00b(0x2e0)]);return _0x3dd9a7['_updateLocalCache'](),_0x3dd9a7;}return this[_0x2db00b(0x10d)](!0x1);}catch(_0x3d6aac){return this['_logService'][_0x2db00b(0x2cd)](_0x3d6aac),this['_onConflict'](!0x1);}}[_0x509db9(0x3bf)](_0x1cc30){var _0xda708c=_0x509db9;this['_clearScheduledTask']();const _0x5d5c0d=this[_0xda708c(0xa4)][_0xda708c(0x333)](this[_0xda708c(0x359)]);if(_0x1cc30[_0xda708c(0x134)]<_0x5d5c0d-0x1)return this;if(this[_0xda708c(0x1f4)](_0x1cc30))return this[_0xda708c(0x397)][_0xda708c(0x252)](_0x313ef4[_0xda708c(0x336)],this[_0xda708c(0x359)],this[_0xda708c(0xfd)],null,[],this[_0xda708c(0x156)],[],this[_0xda708c(0x2e0)]);this['_incrementRevisionNumber']();const _0x48b785=this[_0xda708c(0x397)][_0xda708c(0x252)](_0x313ef4['SyncedState'],this[_0xda708c(0x359)],this[_0xda708c(0xfd)],this[_0xda708c(0x2e0)]);return _0x48b785[_0xda708c(0x2a9)](),_0x48b785;}[_0x509db9(0x3f2)](_0x271b6a){var _0x5d0b6a=_0x509db9;return this[_0x5d0b6a(0x10d)](!!(_0x271b6a!=null&&_0x271b6a[_0x5d0b6a(0xd1)]));}[_0x509db9(0x177)](_0x7d28fd){var _0x26daea=_0x509db9;return this[_0x26daea(0x223)]>_0x595904?this[_0x26daea(0x36f)]():(this[_0x26daea(0x139)]=_0x2f900f(this[_0x26daea(0x223)],{'timeout':this[_0x26daea(0x223)],'reqId':_0x7d28fd[_0x26daea(0x32a)]}),this[_0x26daea(0x1b2)]=this['_resendTimer'][_0x26daea(0xa2)](({reqId:_0x58ba36,timeout:_0x388c22})=>{var _0x596b9e=_0x26daea;this[_0x596b9e(0x1e5)](_0x58ba36,_0x388c22);}),this);}[_0x509db9(0x36f)](){var _0x281637=_0x509db9;return this[_0x281637(0x226)](),this['_injector'][_0x281637(0x252)](_0x313ef4['OfflineState'],this[_0x281637(0x359)],this[_0x281637(0xfd)],this[_0x281637(0x156)],[],this['_handler']);}[_0x509db9(0x3ca)](){return this;}[_0x509db9(0x101)](){var _0x79237f=_0x509db9;this['_handler']['onSendChangeset'](this[_0x79237f(0x156)]);}['_onConflict'](_0x2e4935){var _0x36f9b6=_0x509db9;return this[_0x36f9b6(0x226)](),this[_0x36f9b6(0x397)][_0x36f9b6(0x252)](_0x313ef4[_0x36f9b6(0x232)],this[_0x36f9b6(0x359)],this['type'],this[_0x36f9b6(0x156)],[],this[_0x36f9b6(0x2e0)],_0x2e4935);}['_resendWithTimeout'](_0x1fb3bc,_0x2bfa87){var _0x155f86=_0x509db9,_0x1226db;_0x1fb3bc===((_0x1226db=this['_awaitingChangeset'])==null?void 0x0:_0x1226db['reqId'])&&(this['resend'](),this[_0x155f86(0x223)]=_0x2bfa87===0x0?0x3e8:_0x2bfa87*0x2);}[_0x509db9(0x226)](){var _0x560971=_0x509db9,_0x482e83;(_0x482e83=this[_0x560971(0x1b2)])==null||_0x482e83[_0x560971(0x14c)](),this[_0x560971(0x223)]=0x0;}},_0x313ef4[_0x509db9(0x3cb)]=_0x388bf0([_0x40dca1(0x4,_0x593ae3['Inject'](_0x593ae3['Injector'])),_0x40dca1(0x5,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0x6,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x7,_0x593ae3['ILogService']),_0x40dca1(0x8,_0xdad847[_0x509db9(0x268)]),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x221)]),_0x40dca1(0xa,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x3cb)]),_0x313ef4['AwaitingWithPendingState']=class extends _0x2b1fbc{constructor(_0x41c8db,_0x3a8ae5,_0xace73d,_0x2632a5,_0xbcac4a,_0xda05a9,_0x6443d5,_0x133033,_0x3990a8,_0x319b5c,_0x2b4404,_0x1dd4a4,_0x38f80a){var _0x36ee1a=_0x509db9;super(_0x41c8db,_0x3a8ae5,_0xace73d,_0x2632a5,_0xbcac4a,_0x3990a8,_0x1dd4a4,_0x133033,_0x38f80a),_0x309c0d(this,_0x36ee1a(0x11e),'awaiting_with_pending'),_0x309c0d(this,_0x36ee1a(0x223),0x0),_0x309c0d(this,_0x36ee1a(0x139)),_0x309c0d(this,_0x36ee1a(0x1b2)),(this[_0x36ee1a(0x397)]=_0x6443d5,this['_logService']=_0x319b5c,this[_0x36ee1a(0x3b9)]=_0x2b4404,this[_0x36ee1a(0x301)]=_0x38f80a,_0xda05a9&&(this['_resendTimer']=_0xda05a9,this[_0x36ee1a(0x1b2)]=this[_0x36ee1a(0x139)][_0x36ee1a(0xa2)](({reqId:_0x189021,timeout:_0x4d3648})=>{var _0x397960=_0x36ee1a;this[_0x397960(0x1e5)](_0x189021,_0x4d3648);})));}[_0x509db9(0x2a6)](_0x4e824a){var _0x4e7886=_0x509db9;return this[_0x4e7886(0x255)][_0x4e7886(0x273)](_0x4e824a),this;}[_0x509db9(0x3d3)](_0x548101){var _0x3287e6=_0x509db9;if(this[_0x3287e6(0x1f4)](_0x548101))return this[_0x3287e6(0x226)](),this[_0x3287e6(0x397)][_0x3287e6(0x252)](_0x313ef4[_0x3287e6(0x336)],this[_0x3287e6(0x359)],this[_0x3287e6(0xfd)],this['_awaitingChangeset'],this[_0x3287e6(0x255)],null,[_0x548101],this[_0x3287e6(0x2e0)]);try{const _0x37ec4a=this['_transformService'][_0x3287e6(0x13e)]([_0x548101],[this[_0x3287e6(0x156)]],!0x1);if(_0xdad847[_0x3287e6(0x1fa)](_0x37ec4a)){const {c1Prime:_0x224173,c2Prime:_0x3c2ece}=_0x37ec4a,_0x330e4e=this[_0x3287e6(0x3b9)][_0x3287e6(0x220)](_0x224173[0x0],this['_pendingMutations']);if(_0xdad847[_0x3287e6(0x116)](_0x330e4e)){const {c1Prime:_0x30e586,m2Prime:_0x5c68eb}=_0x330e4e;return this[_0x3287e6(0x30c)](_0x30e586),_0x3c2ece[0x0][_0x3287e6(0x7f)]=this[_0x3287e6(0x230)](),this[_0x3287e6(0x226)](),this['_injector']['createInstance'](_0x313ef4[_0x3287e6(0x197)],this['unitID'],this[_0x3287e6(0xfd)],_0x3c2ece[0x0],_0x5c68eb,this[_0x3287e6(0x2e0)],void 0x0);}throw _0x330e4e[_0x3287e6(0x2cd)];}throw _0x37ec4a[_0x3287e6(0x2cd)];}catch(_0xe5a929){return this[_0x3287e6(0x2a8)]['error'](_0xe5a929),this[_0x3287e6(0x10d)](!0x1);}}[_0x509db9(0x3bf)](_0x303125){var _0x23133c=_0x509db9;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x303125))return this[_0x23133c(0x397)][_0x23133c(0x252)](_0x313ef4[_0x23133c(0x336)],this[_0x23133c(0x359)],this['type'],null,this[_0x23133c(0x255)],this[_0x23133c(0x156)],[],this[_0x23133c(0x2e0)]);this['_incrementRevisionNumber']();const _0x319971=this[_0x23133c(0x397)][_0x23133c(0x252)](_0x313ef4[_0x23133c(0x284)],this[_0x23133c(0x359)],this[_0x23133c(0xfd)],this[_0x23133c(0x255)],this[_0x23133c(0x2e0)]);return _0x319971[_0x23133c(0x292)](),_0x319971[_0x23133c(0x2a9)](),_0x319971;}['onRemoteRej'](_0x4279c8){var _0x3f10d5=_0x509db9;return this[_0x3f10d5(0x10d)](!!(_0x4279c8!=null&&_0x4279c8[_0x3f10d5(0xd1)]));}[_0x509db9(0x177)](_0x3f12ce){var _0x4192e0=_0x509db9;return this[_0x4192e0(0x223)]>_0x595904?this[_0x4192e0(0x36f)]():(this['_resendTimer']=_0x2f900f(this['_resendTimeout'],{'timeout':this[_0x4192e0(0x223)],'reqId':_0x3f12ce['reqId']}),this[_0x4192e0(0x1b2)]=this[_0x4192e0(0x139)][_0x4192e0(0xa2)](({reqId:_0x474674,timeout:_0x5b664e})=>{var _0x26fdba=_0x4192e0;this[_0x26fdba(0x1e5)](_0x474674,_0x5b664e);}),this);}[_0x509db9(0x36f)](){var _0x564e76=_0x509db9;return this[_0x564e76(0x226)](),this[_0x564e76(0x397)][_0x564e76(0x252)](_0x313ef4['OfflineState'],this[_0x564e76(0x359)],this[_0x564e76(0xfd)],this[_0x564e76(0x156)],this[_0x564e76(0x255)],this[_0x564e76(0x2e0)]);}[_0x509db9(0x3ca)](){return this;}[_0x509db9(0x101)](){var _0x5533c1=_0x509db9;this[_0x5533c1(0x2e0)][_0x5533c1(0x1a9)](this[_0x5533c1(0x156)]);}[_0x509db9(0x10d)](_0x278d1d){var _0x168ea4=_0x509db9;return this[_0x168ea4(0x226)](),this[_0x168ea4(0x397)][_0x168ea4(0x252)](_0x313ef4[_0x168ea4(0x232)],this[_0x168ea4(0x359)],this[_0x168ea4(0xfd)],null,this[_0x168ea4(0x255)],this[_0x168ea4(0x2e0)],_0x278d1d);}[_0x509db9(0x1e5)](_0x5435eb,_0x323da3){var _0x415dba=_0x509db9,_0x4dbef5;_0x5435eb===((_0x4dbef5=this[_0x415dba(0x156)])==null?void 0x0:_0x4dbef5[_0x415dba(0x32a)])&&(this[_0x415dba(0x101)](),this[_0x415dba(0x223)]=_0x323da3===0x0?0x3e8:_0x323da3*0x2);}[_0x509db9(0x226)](){var _0x1b7f96=_0x509db9,_0x2be2e4;(_0x2be2e4=this['_sender'])==null||_0x2be2e4[_0x1b7f96(0x14c)](),this['_resendTimeout']=0x0;}},_0x313ef4[_0x509db9(0x197)]=_0x388bf0([_0x40dca1(0x6,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x40dca1(0x7,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x1a8)]),_0x40dca1(0xa,_0xdad847[_0x509db9(0x268)]),_0x40dca1(0xb,_0x593ae3[_0x509db9(0x221)]),_0x40dca1(0xc,_0x593ae3['Optional'](_0x192e9c))],_0x313ef4['AwaitingWithPendingState']),_0x313ef4[_0x509db9(0x232)]=class extends _0x2b1fbc{constructor(_0x511f28,_0x59f84e,_0x162835,_0x5ab743,_0x7516a2,_0x520c4f=!0x1,_0x3c4470,_0x470085,_0x4a3f0b,_0x3b9b97,_0x2679ea,_0x7c34db,_0x317976){var _0x35fccc=_0x509db9;super(_0x511f28,_0x59f84e,_0x162835,_0x5ab743,_0x7516a2,_0x470085,_0x4a3f0b,_0x3b9b97,_0x317976),_0x309c0d(this,_0x35fccc(0x11e),_0x35fccc(0x1f3)),(this[_0x35fccc(0x164)]=_0x520c4f,this[_0x35fccc(0x1de)]=_0x3c4470,this[_0x35fccc(0x2f3)]=_0x2679ea,this['_collaborationUIEventService']=_0x7c34db,this[_0x35fccc(0x301)]=_0x317976,this[_0x35fccc(0x407)](),this[_0x35fccc(0x2f6)](),this[_0x35fccc(0x117)]());}[_0x509db9(0x2a6)](){return this;}[_0x509db9(0x3d3)](){return this;}[_0x509db9(0x3bf)](){return this;}[_0x509db9(0x3f2)](){return this;}[_0x509db9(0x177)](){return this;}[_0x509db9(0x36f)](){return this;}['toggleOnline'](){return this;}[_0x509db9(0x101)](){var _0x2c8c68=_0x509db9;throw new Error(_0x2c8c68(0x40d));}[_0x509db9(0x2f6)](){var _0x20278a=_0x509db9,_0x2ede5f;(_0x2ede5f=this[_0x20278a(0x86)])==null||_0x2ede5f[_0x20278a(0x24a)](this[_0x20278a(0x359)],this[_0x20278a(0xfd)],null,[]);}[_0x509db9(0x407)](){var _0x2a3eb5=_0x509db9;this[_0x2a3eb5(0x164)]?this[_0x2a3eb5(0x20c)][_0x2a3eb5(0x1d9)]({'id':_0x7c51aa[_0x2a3eb5(0x356)]}):this[_0x2a3eb5(0x20c)][_0x2a3eb5(0x1d9)]({'id':_0x7c51aa[_0x2a3eb5(0x30f)]});}[_0x509db9(0x117)](){var _0x3fc0a1=_0x509db9;this['_permissionService'][_0x3fc0a1(0x23a)](new _0x196ab6[(_0x3fc0a1(0x2d3))](this[_0x3fc0a1(0x359)])['id'],!0x1);}},_0x313ef4[_0x509db9(0x232)]=_0x388bf0([_0x40dca1(0x6,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['IPermissionService'])),_0x40dca1(0x7,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x221)]),_0x40dca1(0x9,_0x593ae3['Inject'](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0xa,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x97)])),_0x40dca1(0xb,_0x593ae3['Inject'](_0x1e55fc)),_0x40dca1(0xc,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x232)]),_0x313ef4[_0x509db9(0x2d1)]=class extends _0x2b1fbc{constructor(_0x32aa14,_0x4fbf88,_0x428c93,_0x21718e,_0xe9f69a,_0x403000,_0x3444c,_0x4408fb,_0x5d2a33,_0x67b5bf){var _0x5add91=_0x509db9;super(_0x32aa14,_0x4fbf88,_0x428c93,_0x21718e,_0xe9f69a,_0x4408fb,_0x5d2a33,_0x3444c,_0x67b5bf),_0x309c0d(this,'status',_0x5add91(0x10c)),this[_0x5add91(0x397)]=_0x403000;}['appendMutation'](_0x117bbe){var _0x2d8fd0=_0x509db9;return this['_pendingMutations'][_0x2d8fd0(0x273)](_0x117bbe),this[_0x2d8fd0(0x2a9)](),this;}['onRemoteChangeset'](_0x1da8ec){var _0x2ac379=_0x509db9;throw new Error(_0x2ac379(0x298));}['onRemoteAck'](){var _0x567d23=_0x509db9;throw new Error(_0x567d23(0x254));}[_0x509db9(0x3f2)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x509db9(0x177)](){return this;}[_0x509db9(0x36f)](){return this;}[_0x509db9(0x3ca)](){var _0x5ef319=_0x509db9;const {_injector:_0x5f3cfc,_pendingMutations:_0xd008fc,_awaitingChangeset:_0x1e2bc8,unitID:_0x8a4fec,_handler:_0x10cec6,type:_0x58d306}=this,_0x36613c=_0x505af6(_0x5f3cfc,_0x8a4fec,_0x58d306,_0x1e2bc8,_0xd008fc,_0x10cec6);return _0x36613c instanceof _0x313ef4[_0x5ef319(0x284)]?_0x36613c['_schedule']():(_0x36613c instanceof _0x313ef4[_0x5ef319(0x197)]||_0x36613c instanceof _0x313ef4['AwaitingState'])&&_0x36613c[_0x5ef319(0x101)](),_0x36613c;}[_0x509db9(0x101)](){var _0x33f761=_0x509db9;throw new Error(_0x33f761(0x2ad));}},_0x313ef4[_0x509db9(0x2d1)]=_0x388bf0([_0x40dca1(0x5,_0x593ae3['Inject'](_0x593ae3['Injector'])),_0x40dca1(0x6,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x40dca1(0x7,_0x593ae3['ICommandService']),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x221)]),_0x40dca1(0x9,_0x593ae3['Optional'](_0x192e9c))],_0x313ef4['OfflineState']),_0x313ef4[_0x509db9(0x336)]=class extends _0x2b1fbc{constructor(_0x51850e,_0x59d296,_0x93ec0f,_0x18b29d,_0x427009,_0x244569,_0x291bdf,_0x31a937,_0x4c650f,_0x20063b,_0x5e9453,_0x247bb1,_0x12955a,_0x17d7d7){var _0x255272=_0x509db9;super(_0x51850e,_0x59d296,_0x93ec0f,_0x18b29d,_0x291bdf,_0x5e9453,_0x247bb1,_0x4c650f,_0x17d7d7),_0x309c0d(this,_0x255272(0x11e),_0x255272(0x207)),(this[_0x255272(0x2bd)]=_0x427009,this[_0x255272(0xee)]=_0x244569,this[_0x255272(0x397)]=_0x31a937,this[_0x255272(0x2a8)]=_0x20063b,this[_0x255272(0x3b9)]=_0x12955a,this[_0x255272(0x301)]=_0x17d7d7);}[_0x509db9(0xe8)](_0x401039){var _0x59a724=_0x509db9;try{const _0x7f2632=[..._0x401039,...this[_0x59a724(0xee)]],_0x5b1b09=[this['_awaitingChangeset']||this[_0x59a724(0x2bd)]][_0x59a724(0xbd)](_0xd4801e=>!!_0xd4801e);let _0x39ed0d,_0x1a9c60;if(_0x5b1b09[_0x59a724(0x2e9)]){const _0x5bfe9e=this[_0x59a724(0x3b9)][_0x59a724(0x13e)](_0x7f2632,_0x5b1b09,!0x1);if(!_0xdad847['isTransformChangesetsSuccess'](_0x5bfe9e))throw _0x5bfe9e['error'];_0x39ed0d=_0x5bfe9e[_0x59a724(0x249)],_0x1a9c60=_0x5bfe9e[_0x59a724(0xba)];}else _0x39ed0d=_0x7f2632,_0x1a9c60=[];let _0x4ce206=this[_0x59a724(0x255)];_0x39ed0d['forEach'](_0x4d4484=>{var _0x391f4a=_0x59a724;let _0x1fe420;if(_0x4ce206[_0x391f4a(0x2e9)]){const _0x3318ab=this[_0x391f4a(0x3b9)][_0x391f4a(0x220)](_0x4d4484,_0x4ce206);if(!_0xdad847[_0x391f4a(0x116)](_0x3318ab))throw _0x3318ab[_0x391f4a(0x2cd)];_0x1fe420=_0x3318ab[_0x391f4a(0x249)],_0x4ce206=_0x3318ab[_0x391f4a(0x2f4)];}else _0x1fe420=_0x4d4484;this[_0x391f4a(0x30c)](_0x1fe420);}),this[_0x59a724(0x2bd)]&&this[_0x59a724(0x1b3)](),this[_0x59a724(0x156)]&&_0x1a9c60['length']&&(_0x1a9c60[0x0][_0x59a724(0x7f)]=this[_0x59a724(0x230)]());let _0x20cdff;if(this[_0x59a724(0x156)]&&_0x4ce206[_0x59a724(0x2e9)]!==0x0)_0x20cdff=this[_0x59a724(0x397)][_0x59a724(0x252)](_0x313ef4[_0x59a724(0x197)],this[_0x59a724(0x359)],this['type'],_0x1a9c60[0x0],_0x4ce206,this[_0x59a724(0x2e0)],void 0x0);else{if(this[_0x59a724(0x156)]&&_0x4ce206[_0x59a724(0x2e9)]===0x0)_0x1a9c60[0x0][_0x59a724(0x7f)]=this[_0x59a724(0x230)](),_0x20cdff=this[_0x59a724(0x397)][_0x59a724(0x252)](_0x313ef4[_0x59a724(0x3cb)],this[_0x59a724(0x359)],this[_0x59a724(0xfd)],_0x1a9c60[0x0],this[_0x59a724(0x2e0)]);else{if(_0x4ce206['length']!==0x0){const _0x1abb31=this[_0x59a724(0x397)][_0x59a724(0x252)](_0x313ef4[_0x59a724(0x284)],this[_0x59a724(0x359)],this['type'],_0x4ce206,this['_handler']);_0x1abb31[_0x59a724(0x292)](),_0x20cdff=_0x1abb31;}else _0x20cdff=this[_0x59a724(0x397)][_0x59a724(0x252)](_0x313ef4[_0x59a724(0x1fd)],this[_0x59a724(0x359)],this[_0x59a724(0xfd)],this[_0x59a724(0x2e0)]);}}return _0x20cdff[_0x59a724(0x2a9)](),_0x20cdff;}catch(_0x2a71f4){return this[_0x59a724(0x2a8)]['error']('[FetchMissState]',_0x59a724(0x263),_0x2a71f4),this['_injector']['createInstance'](_0x313ef4[_0x59a724(0x232)],this['unitID'],this[_0x59a724(0xfd)],this[_0x59a724(0x156)],this[_0x59a724(0x255)],this[_0x59a724(0x2e0)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x509db9(0x2a6)](_0x663033){var _0x155bbe=_0x509db9;return this[_0x155bbe(0x255)][_0x155bbe(0x273)](_0x663033),this;}[_0x509db9(0x3d3)](_0x1b1b24){var _0x43ce5c=_0x509db9;return this[_0x43ce5c(0xee)]['push'](_0x1b1b24),this;}[_0x509db9(0x3bf)](_0x20ecff){var _0x23d631=_0x509db9;if(this['_awaitingChangeset'])return this[_0x23d631(0x2bd)]=this[_0x23d631(0x156)],this['_awaitingChangeset']=null,this;throw new Error(_0x23d631(0x180));}[_0x509db9(0x3f2)](_0x56af50){var _0x392d2a=_0x509db9;return this[_0x392d2a(0x10d)](!!(_0x56af50!=null&&_0x56af50[_0x392d2a(0xd1)]));}[_0x509db9(0x177)](){return this;}[_0x509db9(0x36f)](){var _0x496187=_0x509db9;return this['_injector']['createInstance'](_0x313ef4[_0x496187(0x2d1)],this[_0x496187(0x359)],this[_0x496187(0xfd)],this[_0x496187(0x156)],this[_0x496187(0x255)],this[_0x496187(0x2e0)]);}[_0x509db9(0x3ca)](){return this;}[_0x509db9(0x10d)](_0x5ce27d){var _0x2359ef=_0x509db9;return this[_0x2359ef(0x397)][_0x2359ef(0x252)](_0x313ef4['ConflictState'],this[_0x2359ef(0x359)],this[_0x2359ef(0xfd)],this[_0x2359ef(0x156)],this[_0x2359ef(0x255)],this[_0x2359ef(0x2e0)],_0x5ce27d);}},_0x313ef4[_0x509db9(0x336)]=_0x388bf0([_0x40dca1(0x7,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x2cf)])),_0x40dca1(0x8,_0x593ae3[_0x509db9(0x28b)](_0xdad847['RevisionService'])),_0x40dca1(0x9,_0x593ae3[_0x509db9(0x1a8)]),_0x40dca1(0xa,_0x593ae3[_0x509db9(0x170)]),_0x40dca1(0xb,_0x593ae3['IUndoRedoService']),_0x40dca1(0xc,_0xdad847[_0x509db9(0x268)]),_0x40dca1(0xd,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x336)]);function _0x505af6(_0x470634,_0x383c66,_0x33c637,_0x579714,_0x644610,_0x2e9ecd){var _0x2c603a=_0x509db9;return _0x579714&&_0x644610[_0x2c603a(0x2e9)]?_0x470634[_0x2c603a(0x252)](_0x313ef4['AwaitingWithPendingState'],_0x383c66,_0x33c637,_0x579714,_0x644610,_0x2e9ecd,void 0x0):_0x579714?_0x470634[_0x2c603a(0x252)](_0x313ef4[_0x2c603a(0x3cb)],_0x383c66,_0x33c637,_0x579714,_0x2e9ecd):_0x644610[_0x2c603a(0x2e9)]?_0x470634[_0x2c603a(0x252)](_0x313ef4[_0x2c603a(0x284)],_0x383c66,_0x33c637,_0x644610,_0x2e9ecd):_0x470634[_0x2c603a(0x252)](_0x313ef4[_0x2c603a(0x1fd)],_0x383c66,_0x33c637,_0x2e9ecd);}var _0x4d6815=Object[_0x509db9(0x3d7)],_0x5e4cc6=(_0x26d6c6,_0x4ecffa,_0xbbfe02,_0x3c3954)=>{var _0x483a22=_0x509db9;for(var _0x55cb61=_0x3c3954>0x1?void 0x0:_0x3c3954?_0x4d6815(_0x4ecffa,_0xbbfe02):_0x4ecffa,_0x5235e5=_0x26d6c6[_0x483a22(0x2e9)]-0x1,_0x113bac;_0x5235e5>=0x0;_0x5235e5--)(_0x113bac=_0x26d6c6[_0x5235e5])&&(_0x55cb61=_0x113bac(_0x55cb61)||_0x55cb61);return _0x55cb61;},_0x366d98=(_0x2dc839,_0x1ab311)=>(_0xa5d883,_0xedaa89)=>_0x1ab311(_0xa5d883,_0xedaa89,_0x2dc839);_0x313ef4['CollaborationEntity']=class extends _0x593ae3[_0x509db9(0x2b9)]{constructor(_0x4a30e0,_0x1485fc,_0x15346c,_0xd9f89d,_0x5b3d31,_0x7ef89e,_0x37d81d,_0x2fe90c,_0x231d2f,_0x4f581b,_0x3e45e9,_0x506b20,_0x29fd95,_0x2d97af){var _0x5dbc3f=_0x509db9;super(),_0x309c0d(this,_0x5dbc3f(0x2aa),new _0x2ff251['BehaviorSubject'](null)),_0x309c0d(this,_0x5dbc3f(0x103),this[_0x5dbc3f(0x2aa)][_0x5dbc3f(0x203)]()),_0x309c0d(this,_0x5dbc3f(0x173)),_0x309c0d(this,_0x5dbc3f(0x247),!0x1),_0x309c0d(this,_0x5dbc3f(0x3e0),''),_0x309c0d(this,'_changesetReqId',0x0),_0x309c0d(this,'status$',this['state$']['pipe'](_0x2ff251[_0x5dbc3f(0xb1)](_0x79839e=>_0x79839e?_0x79839e[_0x5dbc3f(0x11e)]:_0x1ac262[_0x5dbc3f(0x2ab)]),_0x2ff251['shareReplay'](0x1))),_0x309c0d(this,_0x5dbc3f(0x23d),!0x1),_0x309c0d(this,_0x5dbc3f(0xd0),[]),(this[_0x5dbc3f(0x359)]=_0x4a30e0,this[_0x5dbc3f(0x22f)]=_0x1485fc,this[_0x5dbc3f(0x85)]=_0x15346c,this[_0x5dbc3f(0x397)]=_0xd9f89d,this[_0x5dbc3f(0x414)]=_0x5b3d31,this[_0x5dbc3f(0x2f3)]=_0x7ef89e,this[_0x5dbc3f(0xa4)]=_0x37d81d,this[_0x5dbc3f(0x3df)]=_0x2fe90c,this[_0x5dbc3f(0x281)]=_0x231d2f,this['_logService']=_0x4f581b,this[_0x5dbc3f(0x15f)]=_0x3e45e9,this['_permissionService']=_0x506b20,this[_0x5dbc3f(0x352)]=_0x29fd95,this[_0x5dbc3f(0x86)]=_0x2d97af);}get[_0x509db9(0x163)](){return this['_state'];}async[_0x509db9(0x2f7)](){var _0x47a9ea=_0x509db9;if(this[_0x47a9ea(0x163)])throw new Error(_0x47a9ea(0x33e));await this[_0x47a9ea(0x1ff)]();}[_0x509db9(0x20f)](){var _0xe5c621=_0x509db9;return this[_0xe5c621(0x247)]=!0x0,_0x593ae3['toDisposable'](()=>{var _0x22b779=_0xe5c621;this['_collaborationPaused']=!0x1,this[_0x22b779(0x165)]();});}[_0x509db9(0x3f7)](_0x2f7f0a){var _0x45ac41=_0x509db9;this[_0x45ac41(0xd4)](_0x2f7f0a);}['_updateState'](_0xa6f6a6){var _0x24e6c6=_0x509db9;this[_0x24e6c6(0x173)]=_0xa6f6a6,this[_0x24e6c6(0x2aa)]['next'](_0xa6f6a6);}async[_0x509db9(0x1ff)](){var _0x28f007=_0x509db9,_0x1cbe72;this['_updateState'](await this['_createInitialState']()),this[_0x28f007(0x352)]&&((_0x1cbe72=this['_singleActiveUnitService'])==null||_0x1cbe72['editingUnit'](this[_0x28f007(0x359)]),this[_0x28f007(0x34f)](this[_0x28f007(0x352)]['getUnitStatus$'](this[_0x28f007(0x359)])['subscribe'](_0x343122=>{var _0x6d7e1f=_0x28f007;this[_0x6d7e1f(0x2a8)]['debug']('[CollaborationEntity]',_0x6d7e1f(0x40a),_0x343122),_0x343122===_0x1bfb46['OTHER_CLIENTS_EDITING']?(this[_0x6d7e1f(0x3df)]['emitEvent']({'id':_0x7c51aa[_0x6d7e1f(0x2e3)]}),this[_0x6d7e1f(0x1de)][_0x6d7e1f(0x23a)](new _0x196ab6[(_0x6d7e1f(0x2d3))](this[_0x6d7e1f(0x359)])['id'],!0x1),this[_0x6d7e1f(0x1de)][_0x6d7e1f(0x390)](!0x1)):(this[_0x6d7e1f(0x1de)][_0x6d7e1f(0x23a)](new _0x196ab6['WorkbookEditablePermission'](this[_0x6d7e1f(0x359)])['id'],!0x0),this[_0x6d7e1f(0x1de)][_0x6d7e1f(0x390)](!0x0));})));let _0x24e9e9=!0x1;return this[_0x28f007(0x34f)](this['session'][_0x28f007(0x257)]['subscribe'](_0x15d07e=>{var _0x562ee6=_0x28f007;_0x15d07e===_0x4e4db9['ONLINE']?this[_0x562ee6(0x394)](_0x24e9e9):_0x15d07e===_0x4e4db9['OFFLINE']&&(_0x24e9e9=!0x0,this[_0x562ee6(0x3c6)]());})),this[_0x28f007(0x34f)](this['session'][_0x28f007(0x38b)][_0x28f007(0xa2)](_0x362362=>{var _0x454205=_0x28f007;try{switch(_0x362362[_0x454205(0x240)]){case _0xdad847[_0x454205(0x343)][_0x454205(0xe2)]:{this[_0x454205(0x2be)](_0xdad847[_0x454205(0x3c5)](_0x362362['data']));break;}case _0xdad847[_0x454205(0x343)]['CHANGESET_ACK']:{this[_0x454205(0x380)](_0x362362[_0x454205(0xc3)]);break;}case _0xdad847[_0x454205(0x343)][_0x454205(0x29b)]:{this[_0x454205(0x1f0)]();break;}case _0xdad847[_0x454205(0x343)][_0x454205(0x3e3)]:{this['_onRemoteRetry'](_0x362362['data']);break;}case _0xdad847['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x362362[_0x454205(0xc3)][_0x454205(0x2de)][_0x454205(0xb1)](_0x34dad1=>_0xdad847[_0x454205(0x3c5)](_0x34dad1)));break;}case _0xdad847[_0x454205(0x343)]['PERMISSION_REJ']:{this[_0x454205(0x1f0)]({'isPermissionRej':!0x0});break;}case _0xdad847[_0x454205(0x343)][_0x454205(0x40c)]:break;}}catch(_0x20b91c){throw console[_0x454205(0x2cd)](_0x454205(0x3ae),_0x20b91c),_0x20b91c;}})),this['_state'];}[_0x509db9(0x335)](){this['_transitionLocked']=!0x1;}[_0x509db9(0x8e)](){var _0x1a050c=_0x509db9;if(this[_0x1a050c(0x23d)])throw new Error(_0x1a050c(0x211));this[_0x1a050c(0x23d)]=!0x0;}[_0x509db9(0xd4)](_0x462805){var _0x17c6a1=_0x509db9;this[_0x17c6a1(0x8e)](),this[_0x17c6a1(0x3bb)](this[_0x17c6a1(0x173)][_0x17c6a1(0x2a6)](_0x462805)),this['_unlockTransition']();}[_0x509db9(0x2be)](_0x3c4952){var _0x4f234c=_0x509db9;if(!(_0x3c4952[_0x4f234c(0x134)]<=this['_revisionService'][_0x4f234c(0x333)](this[_0x4f234c(0x359)]))){if(this[_0x4f234c(0x247)]){this[_0x4f234c(0xd0)]['push'](_0x3c4952);return;}this[_0x4f234c(0x9a)](_0x3c4952);}}[_0x509db9(0x165)](){var _0x406b86=_0x509db9;this[_0x406b86(0xd0)][_0x406b86(0x10a)](_0x5ace46=>this[_0x406b86(0x9a)](_0x5ace46)),this[_0x406b86(0xd0)]=[];}[_0x509db9(0x9a)](_0x3de35c){var _0xfb351d=_0x509db9;const _0x2dbee9=this[_0xfb351d(0x414)][_0xfb351d(0xb8)][_0xfb351d(0x1a2)](this[_0xfb351d(0x414)][_0xfb351d(0xb8)][_0xfb351d(0xca)]()['COMPRESS_MUTATION_APPLY'])(_0x3de35c[_0xfb351d(0x135)],null)||_0x3de35c[_0xfb351d(0x135)],_0x568da4={..._0x3de35c,'mutations':_0x2dbee9};this[_0xfb351d(0x8e)](),this[_0xfb351d(0x3bb)](this[_0xfb351d(0x173)][_0xfb351d(0x3d3)](_0x568da4)),this[_0xfb351d(0x335)]();}[_0x509db9(0x380)](_0x546e99){var _0xe49387=_0x509db9;this[_0xe49387(0x8e)](),this[_0xe49387(0x3bb)](this[_0xe49387(0x173)][_0xe49387(0x3bf)](_0x546e99)),this[_0xe49387(0x335)]();}['_onRemoteRejected'](_0x2fbe46){var _0x2c4eb7=_0x509db9;this['_lockTransition'](),this[_0x2c4eb7(0x3bb)](this[_0x2c4eb7(0x173)][_0x2c4eb7(0x3f2)](_0x2fbe46)),this[_0x2c4eb7(0x335)]();}[_0x509db9(0xdd)](_0x3b0fd9){var _0x351642=_0x509db9;this[_0x351642(0x8e)](),this[_0x351642(0x3bb)](this['_state'][_0x351642(0x177)](_0x3b0fd9)),this['_unlockTransition']();}[_0x509db9(0x1c6)](_0x56c6ca){var _0x41c85b=_0x509db9;if(!(this['_state']instanceof _0x313ef4['FetchingMissState']))throw new TypeError(_0x41c85b(0xdf));const _0x5cf224=_0x56c6ca['map'](_0xb0ad5f=>{var _0x34853d=_0x41c85b;const _0x97a87=this[_0x34853d(0x414)][_0x34853d(0xb8)][_0x34853d(0x1a2)](this[_0x34853d(0x414)][_0x34853d(0xb8)][_0x34853d(0xca)]()['COMPRESS_MUTATION_APPLY'])(_0xb0ad5f[_0x34853d(0x135)],null)||_0xb0ad5f[_0x34853d(0x135)];return{..._0xb0ad5f,'mutations':_0x97a87};});this[_0x41c85b(0x8e)](),this[_0x41c85b(0x3bb)](this['_state']['onMissedChangesetFetched'](_0x5cf224)),this[_0x41c85b(0x335)]();}[_0x509db9(0x3c6)](){var _0x21a467=_0x509db9;this['_lockTransition'](),this[_0x21a467(0x3bb)](this['_state'][_0x21a467(0x36f)]()),this[_0x21a467(0x335)]();}['_toggleOnline'](_0x3540e6=!0x1){var _0x297ca4=_0x509db9;this[_0x297ca4(0x8e)](),this[_0x297ca4(0x3bb)](this[_0x297ca4(0x173)]['toggleOnline']()),this[_0x297ca4(0x335)]();const _0x558723=this[_0x297ca4(0x173)];_0x3540e6&&_0x558723 instanceof _0x313ef4['SyncedState']&&(this[_0x297ca4(0x8e)](),this['_updateState'](_0x558723['fetchMiss']()),this[_0x297ca4(0x335)]());}async[_0x509db9(0x12a)](){return new Promise(_0x39b9c5=>{var _0x585426=_0x572e;this['session']['sessionStatus$'][_0x585426(0x8f)](_0x2ff251[_0x585426(0x275)](0x1))[_0x585426(0xa2)](async _0x1ca775=>{var _0x844eeb=_0x585426;_0x39b9c5(await this['_createInitialStateImpl'](_0x1ca775===_0x4e4db9[_0x844eeb(0x224)]));});});}[_0x509db9(0x327)](){var _0x7d3471=_0x509db9;const _0x205153=this[_0x7d3471(0x359)];return{'onStateChange':(_0x4cf6d5,_0x47a87e)=>{var _0x4320c0=_0x7d3471;if(_0x4cf6d5!==this['_state'])throw new Error(_0x4320c0(0x1d5)+_0x4cf6d5['status']+_0x4320c0(0x384)+_0x47a87e[_0x4320c0(0x11e)]+'\x0aCurrent:\x20'+this[_0x4320c0(0x173)][_0x4320c0(0x11e)]);this['_updateState'](_0x47a87e);},'onSendChangeset':_0x500199=>{var _0x1f0fb1=_0x7d3471;_0x500199[_0x1f0fb1(0x2a3)]||(_0x500199[_0x1f0fb1(0x2a3)]=this[_0x1f0fb1(0x3e0)],_0x500199[_0x1f0fb1(0x32a)]=++this['_changesetReqId']);const _0x338ea5={'eventID':_0xdad847[_0x1f0fb1(0x343)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x500199['unitID'],'unitType':this['_type'],'changeset':_0x500199,'memberID':this[_0x1f0fb1(0x22f)]['getMemberID']()}};this['session']['send'](_0x338ea5,this[_0x1f0fb1(0x359)]);},'onMissingChangesets':({from:_0x5b7c7b,to:_0x5b131c})=>{var _0x31eca6=_0x7d3471;this[_0x31eca6(0x2a8)][_0x31eca6(0x26b)](_0x31eca6(0x395),_0x31eca6(0x26d)+_0x5b7c7b+'\x20to\x20'+_0x5b131c);const _0x21bf10={'eventID':_0xdad847[_0x31eca6(0x343)]['FETCH_MISSING'],'data':{'unitID':_0x205153,'unitType':this[_0x31eca6(0x85)],'from':_0x5b7c7b,'to':_0x5b131c}};this[_0x31eca6(0x22f)][_0x31eca6(0x426)](_0x21bf10,this[_0x31eca6(0x359)]);}};}async[_0x509db9(0x82)](_0xffed3b){var _0x5ae534=_0x509db9,_0x660985,_0x94157f,_0xd3c803;const _0x277855=await((_0x660985=this[_0x5ae534(0x86)])==null?void 0x0:_0x660985[_0x5ae534(0x364)](this['unitID'])),_0x44bc07=(_0x94157f=_0x277855==null?void 0x0:_0x277855[_0x5ae534(0x135)])!=null?_0x94157f:[],_0x1ac309=(_0xd3c803=_0x277855==null?void 0x0:_0x277855[_0x5ae534(0x105)])!=null?_0xd3c803:null,_0x225e9b=!!(_0x1ac309!=null&&_0x1ac309['sid'])&&!!(_0x1ac309!=null&&_0x1ac309[_0x5ae534(0x32a)]);this[_0x5ae534(0x3e0)]=_0x225e9b?_0x1ac309[_0x5ae534(0x2a3)]:_0xdad847[_0x5ae534(0x15c)](),this[_0x5ae534(0xf1)]=_0x225e9b?_0x1ac309[_0x5ae534(0x32a)]:0x0;const _0x12efd5=this['unitID'];try{this[_0x5ae534(0x26c)](_0x1ac309,_0x44bc07);}catch(_0x588b5a){this[_0x5ae534(0x2a8)][_0x5ae534(0x2cd)](_0x588b5a);}const _0x424537=this[_0x5ae534(0x327)]();if(_0xffed3b){const _0x3755e4=_0x505af6(this['_injector'],_0x12efd5,this['_type'],_0x1ac309,_0x44bc07,_0x424537);return _0x3755e4 instanceof _0x313ef4[_0x5ae534(0x284)]?_0x3755e4[_0x5ae534(0x292)]():(_0x3755e4 instanceof _0x313ef4[_0x5ae534(0x197)]||_0x3755e4 instanceof _0x313ef4['AwaitingState'])&&_0x3755e4[_0x5ae534(0x101)](),_0x3755e4;}return this[_0x5ae534(0x397)][_0x5ae534(0x252)](_0x313ef4[_0x5ae534(0x2d1)],_0x12efd5,this[_0x5ae534(0x85)],_0x1ac309,_0x44bc07,_0x424537);}[_0x509db9(0x26c)](_0x4639b3,_0x1aaf39){var _0x49d4fc=_0x509db9,_0x291717,_0x5f4381;const _0x193980=this['_compressMutationService'][_0x49d4fc(0xb8)][_0x49d4fc(0x1a2)](this['_compressMutationService']['interceptor'][_0x49d4fc(0xca)]()[_0x49d4fc(0x1c3)]);(_0x291717=_0x193980((_0x4639b3==null?void 0x0:_0x4639b3[_0x49d4fc(0x135)])||[],null))==null||_0x291717[_0x49d4fc(0x10a)](_0x2811df=>this[_0x49d4fc(0x15f)][_0x49d4fc(0x218)](_0x2811df['id'],_0x2811df[_0x49d4fc(0x158)])),(_0x5f4381=_0x193980(_0x1aaf39||[],null))==null||_0x5f4381['forEach'](_0x544ec7=>this[_0x49d4fc(0x15f)][_0x49d4fc(0x218)](_0x544ec7['id'],_0x544ec7[_0x49d4fc(0x158)]));}},_0x313ef4[_0x509db9(0x19b)]=_0x5e4cc6([_0x366d98(0x3,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['Injector'])),_0x366d98(0x4,_0x593ae3[_0x509db9(0x28b)](_0xdad847['CompressMutationService'])),_0x366d98(0x5,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x97)])),_0x366d98(0x6,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x366d98(0x7,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x366d98(0x8,_0x593ae3[_0x509db9(0x1bc)]),_0x366d98(0x9,_0x593ae3['ILogService']),_0x366d98(0xa,_0x593ae3[_0x509db9(0x170)]),_0x366d98(0xb,_0x593ae3[_0x509db9(0x3d5)]),_0x366d98(0xc,_0x593ae3['Optional'](_0x5647b7)),_0x366d98(0xd,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x19b)]),_0x313ef4[_0x509db9(0x271)]=class extends _0x313ef4[_0x509db9(0x19b)]{constructor(_0x5489ac,_0x12ad51,_0x3cea00,_0x58d29d,_0x3f8c45,_0x3ad454,_0x490ea8,_0x5c4c14,_0x52c49a,_0x383359,_0x5afe07,_0x4df4ff,_0x1e5154,_0x1f191d){var _0x5aa6d0=_0x509db9;super(_0x5489ac,_0x3cea00,_0x12ad51,_0x58d29d,_0x3f8c45,_0x3ad454,_0x490ea8,_0x5c4c14,_0x52c49a,_0x383359,_0x5afe07,_0x4df4ff,_0x1e5154,_0x1f191d),_0x309c0d(this,_0x5aa6d0(0x372),null),(this[_0x5aa6d0(0x359)]=_0x5489ac,this[_0x5aa6d0(0xfd)]=_0x12ad51);}[_0x509db9(0x309)](_0x1a0132){var _0x368a1d=_0x509db9;this[_0x368a1d(0x372)]=_0x1a0132;}[_0x509db9(0x25b)](){var _0x424cd2=_0x509db9;this[_0x424cd2(0x372)]=null,super['dispose']();}['_createHandler'](){var _0x2f98e6=_0x509db9;const _0x56d55d=super[_0x2f98e6(0x327)]();return _0x56d55d[_0x2f98e6(0x1db)]=_0x2fdc11=>{var _0x37f4f9=_0x2f98e6,_0x318d25,_0x288220;return(_0x288220=(_0x318d25=this['_handlerCallback'])==null?void 0x0:_0x318d25[_0x37f4f9(0x1db)])==null?void 0x0:_0x288220[_0x37f4f9(0xc8)](_0x318d25,_0x2fdc11);},_0x56d55d[_0x2f98e6(0x109)]=_0x2d96bc=>{var _0xf76664=_0x2f98e6,_0x3db7f3,_0xb33246;return(_0xb33246=(_0x3db7f3=this[_0xf76664(0x372)])==null?void 0x0:_0x3db7f3['onTransformState'])==null?void 0x0:_0xb33246[_0xf76664(0xc8)](_0x3db7f3,_0x2d96bc);},_0x56d55d[_0x2f98e6(0x161)]=_0x2c1dc9=>{var _0x485987=_0x2f98e6,_0x25d97a,_0x456bf5;return(_0x456bf5=(_0x25d97a=this[_0x485987(0x372)])==null?void 0x0:_0x25d97a[_0x485987(0x161)])==null?void 0x0:_0x456bf5['call'](_0x25d97a,_0x2c1dc9);},_0x56d55d[_0x2f98e6(0x396)]=_0x355bd5=>{var _0xf0f04c=_0x2f98e6,_0x143ae1,_0x455d16;return(_0x455d16=(_0x143ae1=this[_0xf0f04c(0x372)])==null?void 0x0:_0x143ae1[_0xf0f04c(0x396)])==null?void 0x0:_0x455d16[_0xf0f04c(0xc8)](_0x143ae1,_0x355bd5);},_0x56d55d['onTransformRemoteChangesetByIMECache']=_0xac4d97=>{var _0x1561db=_0x2f98e6,_0x5e5ca5,_0x48b9b1,_0x1306a7;if(!((_0x5e5ca5=this[_0x1561db(0x372)])!=null&&_0x5e5ca5[_0x1561db(0x3a3)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1306a7=(_0x48b9b1=this[_0x1561db(0x372)])==null?void 0x0:_0x48b9b1[_0x1561db(0x3a3)])==null?void 0x0:_0x1306a7['call'](_0x48b9b1,_0xac4d97);},_0x56d55d[_0x2f98e6(0x1c1)]=_0xf55374=>{var _0x2dd012=_0x2f98e6,_0x147c23,_0x28de80,_0x2ec257;if(!((_0x147c23=this[_0x2dd012(0x372)])!=null&&_0x147c23[_0x2dd012(0x1c1)]))throw new Error(_0x2dd012(0x19d));return(_0x2ec257=(_0x28de80=this[_0x2dd012(0x372)])==null?void 0x0:_0x28de80[_0x2dd012(0x1c1)])==null?void 0x0:_0x2ec257['call'](_0x28de80,_0xf55374);},_0x56d55d;}async['_init'](){var _0x515c10=_0x509db9;const _0x185ecb=await super[_0x515c10(0x1ff)]();return this['disposeWithMe'](this[_0x515c10(0x15f)][_0x515c10(0xe3)]((_0xd0e023,_0x371b75)=>{var _0x593569=_0x515c10;if(_0xd0e023[_0x593569(0xfd)]!==_0x593ae3[_0x593569(0x28f)][_0x593569(0x39c)]||_0x371b75!=null&&_0x371b75[_0x593569(0x316)]||_0x371b75!=null&&_0x371b75[_0x593569(0x143)]||_0xd0e023['id']===_0x6ea9c7[_0x593569(0x310)]['id'])return;const _0x13a8c4=_0xd0e023['params'];if((_0x13a8c4==null?void 0x0:_0x13a8c4['unitId'])!==this[_0x593569(0x359)])return;const _0x176895=_0xd0e023,_0x1e77bd=this[_0x593569(0x414)]['interceptor'][_0x593569(0x1a2)](this['_compressMutationService'][_0x593569(0xb8)][_0x593569(0xca)]()[_0x593569(0x30e)])([_0x176895],this[_0x593569(0x281)])||[_0x176895];this[_0x593569(0xd4)](_0x1e77bd[0x0]);})),_0x185ecb;}},_0x313ef4[_0x509db9(0x271)]=_0x5e4cc6([_0x366d98(0x3,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x2cf)])),_0x366d98(0x4,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x34b)])),_0x366d98(0x5,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x97)])),_0x366d98(0x6,_0x593ae3[_0x509db9(0x28b)](_0xdad847['RevisionService'])),_0x366d98(0x7,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x366d98(0x8,_0x593ae3[_0x509db9(0x1bc)]),_0x366d98(0x9,_0x593ae3[_0x509db9(0x1a8)]),_0x366d98(0xa,_0x593ae3[_0x509db9(0x170)]),_0x366d98(0xb,_0x593ae3['IPermissionService']),_0x366d98(0xc,_0x593ae3[_0x509db9(0x3d1)](_0x5647b7)),_0x366d98(0xd,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4[_0x509db9(0x271)]),_0x313ef4[_0x509db9(0x1b9)]=class extends _0x313ef4[_0x509db9(0x19b)]{constructor(_0x38f908,_0x210f54,_0x79c48,_0x5b2914,_0x392dc6,_0x353859,_0x19bf6c,_0x11e8be,_0x249c04,_0x519361,_0x4b4071,_0x5970ac,_0x4d1e8a,_0x5b50ee,_0x1b7444){var _0x5cd51a=_0x509db9;super(_0x38f908,_0x79c48,_0x210f54,_0x5b2914,_0x392dc6,_0x353859,_0x19bf6c,_0x249c04,_0x519361,_0x4b4071,_0x5970ac,_0x4d1e8a,_0x5b50ee,_0x1b7444),this[_0x5cd51a(0x359)]=_0x38f908,this[_0x5cd51a(0xfd)]=_0x210f54,this['_sheetTransformSelectionsService']=_0x11e8be;}['_createHandler'](){var _0xa220b7=_0x509db9;const _0x3be61b=super[_0xa220b7(0x327)]();return _0x3be61b[_0xa220b7(0x161)]=_0xc0280b=>this['_sheetTransformSelectionsService'][_0xa220b7(0x412)](_0xc0280b),_0x3be61b;}async['_init'](){var _0x63857a=_0x509db9;const _0xa45812=await super[_0x63857a(0x1ff)]();return this[_0x63857a(0x34f)](this[_0x63857a(0x15f)]['onMutationExecutedForCollab']((_0x76c16c,_0x5638e6)=>{var _0x2291cc=_0x63857a;if(_0x76c16c[_0x2291cc(0xfd)]!==_0x593ae3[_0x2291cc(0x28f)][_0x2291cc(0x39c)]||_0x5638e6!=null&&_0x5638e6['fromCollab']||_0x5638e6!=null&&_0x5638e6[_0x2291cc(0x143)])return;const _0x4e4132=_0x76c16c[_0x2291cc(0x158)];if((_0x4e4132==null?void 0x0:_0x4e4132['unitId'])!==this[_0x2291cc(0x359)])return;const _0x5111b2=_0x76c16c,_0x502426=this['_compressMutationService'][_0x2291cc(0xb8)][_0x2291cc(0x1a2)](this[_0x2291cc(0x414)][_0x2291cc(0xb8)][_0x2291cc(0xca)]()[_0x2291cc(0x30e)])([_0x5111b2],this['_univerInstanceService'])||[_0x5111b2];this['_onLocalMutation'](_0x502426[0x0]);})),_0xa45812;}},_0x313ef4['SheetCollaborationEntity']=_0x5e4cc6([_0x366d98(0x3,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x366d98(0x4,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x34b)])),_0x366d98(0x5,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x97)])),_0x366d98(0x6,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0x3da)])),_0x366d98(0x7,_0x593ae3[_0x509db9(0x28b)](_0x313ef4['SheetTransformSelectionsService'])),_0x366d98(0x8,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x366d98(0x9,_0x593ae3[_0x509db9(0x1bc)]),_0x366d98(0xa,_0x593ae3[_0x509db9(0x1a8)]),_0x366d98(0xb,_0x593ae3[_0x509db9(0x170)]),_0x366d98(0xc,_0x593ae3['IPermissionService']),_0x366d98(0xd,_0x593ae3['Optional'](_0x5647b7)),_0x366d98(0xe,_0x593ae3[_0x509db9(0x3d1)](_0x192e9c))],_0x313ef4['SheetCollaborationEntity']);const _0xcfc4ab=_0x593ae3[_0x509db9(0xbc)](_0x509db9(0x3cd));function _0x2f49ae(_0x45c8ff){var _0x3f8d1c=_0x509db9,_0xfaa120,_0x4b4c9c,_0x1fc8ce,_0x3663ee,_0x5a7f26;const _0x2bf55d=_0x45c8ff[_0x3f8d1c(0xc3)],_0xa06bfe=JSON['parse'](_0x2bf55d);switch(_0xa06bfe[_0x3f8d1c(0x29a)]){case _0x1e67da['HEARTBEAT']:case _0x1e67da[_0x3f8d1c(0x1ed)]:{const _0x4abdc0=_0xa06bfe[_0x3f8d1c(0x338)];return{..._0xa06bfe,'data':_0x4abdc0,'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};}case _0x1e67da[_0x3f8d1c(0x2f0)]:{const _0x42a397=_0xa06bfe[_0x3f8d1c(0x21a)];return{..._0xa06bfe,'data':_0x42a397,'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};}case _0x1e67da[_0x3f8d1c(0x2ac)]:{const _0x2ced65=_0xa06bfe[_0x3f8d1c(0x322)];switch(_0x2ced65[_0x3f8d1c(0x240)]){case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x2a1)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0xfaa120=_0x2ced65['permissionRejEvent'])==null?void 0x0:_0xfaa120['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x3f8)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0x4b4c9c=_0x2ced65['csAckEvent'])==null?void 0x0:_0x4b4c9c['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0xe2)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0x1fc8ce=_0x2ced65[_0x3f8d1c(0x33d)])==null?void 0x0:_0x1fc8ce['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)]['CHANGESET_REJ']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0x3663ee=_0x2ced65[_0x3f8d1c(0x392)])==null?void 0x0:_0x3663ee['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)]['CHANGESET_SHOULD_RETRY']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':(_0x5a7f26=_0x2ced65[_0x3f8d1c(0x1d4)])==null?void 0x0:_0x5a7f26['cs']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)]['UPDATE_CURSOR']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0xe1)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x3b6)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65['joinEvent']},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x27c)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x25d)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x9e)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x2f9)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x279)]:case _0xdad847[_0x3f8d1c(0x343)]['LIVESHARE_OPERATION']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x2e2)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x17f)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x2f9)]},'cmd':_0xa06bfe['cmd']};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x96)]:return{..._0xa06bfe,'data':_0x2ced65,'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847['CollaborationEvent'][_0x3f8d1c(0x319)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x34e)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x13a)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x415)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)]['SHOULD_CLOSE_CONN']:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x1f7)]},'cmd':_0xa06bfe[_0x3f8d1c(0x29a)]};case _0xdad847[_0x3f8d1c(0x343)][_0x3f8d1c(0x40c)]:return{..._0xa06bfe,'data':{..._0x2ced65,'data':_0x2ced65[_0x3f8d1c(0x149)]},'cmd':_0xa06bfe['cmd']};default:return _0xa06bfe;}}default:return _0xa06bfe;}}function _0x3ce187(_0x33c706){var _0x4770b8=_0x509db9;switch(_0x33c706[_0x4770b8(0x29a)]){case _0x1e67da['HEARTBEAT']:case _0x1e67da[_0x4770b8(0x1ed)]:return JSON[_0x4770b8(0xa1)]({'cmd':_0x33c706[_0x4770b8(0x29a)],'routeKey':_0x33c706[_0x4770b8(0x369)]});case _0x1e67da['INGEST']:{let _0x2cb28a;switch(_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0x240)]){case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x388)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['UPDATE_CURSOR'],'updateCursorEvent':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x27c)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)][_0x4770b8(0x27c)],'leaveEvent':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847['CollaborationEvent'][_0x4770b8(0x3b6)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['USERS_ENTER'],'joinEvent':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847['CollaborationEvent'][_0x4770b8(0x9e)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x2c0)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x17f)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)][_0x4770b8(0x17f)],'liveShareTerminate':_0x33c706['data']['data']};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x199)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)][_0x4770b8(0x199)],'liveShareRequestHost':_0x33c706[_0x4770b8(0xc3)][_0x4770b8(0xc3)]};break;}case _0xdad847[_0x4770b8(0x343)][_0x4770b8(0x279)]:{_0x2cb28a={'eventID':_0xdad847[_0x4770b8(0x343)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2cb28a={'eventID':_0x33c706['data']['eventID']};}return JSON[_0x4770b8(0xa1)]({'cmd':_0x33c706[_0x4770b8(0x29a)],'routeKey':_0x33c706[_0x4770b8(0x369)],'collaMsg':_0x2cb28a});}case _0x1e67da[_0x4770b8(0x2f0)]:return JSON[_0x4770b8(0xa1)]({'cmd':_0x33c706['cmd'],'routeKey':_0x33c706[_0x4770b8(0x369)],'joinReq':_0x33c706[_0x4770b8(0xc3)]});case _0x1e67da[_0x4770b8(0x132)]:return JSON['stringify']({'cmd':_0x33c706['cmd'],'routeKey':_0x33c706['routeKey'],'leaveReq':_0x33c706['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x4fc748=Object[_0x509db9(0x3d7)],_0x268a83=(_0x322d6b,_0x396c73,_0x322427,_0x57b9b8)=>{var _0xb00219=_0x509db9;for(var _0x2a042d=_0x57b9b8>0x1?void 0x0:_0x57b9b8?_0x4fc748(_0x396c73,_0x322427):_0x396c73,_0xb02538=_0x322d6b[_0xb00219(0x2e9)]-0x1,_0x3a790b;_0xb02538>=0x0;_0xb02538--)(_0x3a790b=_0x322d6b[_0xb02538])&&(_0x2a042d=_0x3a790b(_0x2a042d)||_0x2a042d);return _0x2a042d;},_0x15f785=(_0x593eae,_0x5d93be)=>(_0x5dce47,_0x3d2745)=>_0x5d93be(_0x5dce47,_0x3d2745,_0x593eae);const _0x37eaae=_0x593ae3[_0x509db9(0xbc)](_0x509db9(0x2d8));function _0x227cd1(_0xd6b4ea,_0x4dcdf3,_0xdb8dea){var _0x2b312a=_0x509db9;return _0xd6b4ea+'/'+_0x4dcdf3+_0x2b312a(0x151)+_0xdb8dea+_0x2b312a(0xf2);}_0x313ef4[_0x509db9(0x214)]=class extends _0x593ae3[_0x509db9(0x410)]{constructor(_0x1b7c2f,_0x2256e4,_0x26f6f0,_0xb139af,_0x4ee0cb){var _0x1caa19=_0x509db9;super(),this[_0x1caa19(0x397)]=_0x1b7c2f,this[_0x1caa19(0x2b2)]=_0x2256e4,this[_0x1caa19(0x15b)]=_0x26f6f0,this['_logService']=_0xb139af,this[_0x1caa19(0x39b)]=_0x4ee0cb;}[_0x509db9(0x423)](_0x2cde51){var _0x1d205f=_0x509db9;const _0x3e46d1=this[_0x1d205f(0x397)][_0x1d205f(0xa5)](_0x38c133[_0x1d205f(0xa7)]);if(!_0x3e46d1)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x3f8780=_0x3e46d1['createSocket'](_0x2cde51);if(!_0x3f8780)throw new Error(_0x1d205f(0x90));const _0x1bb87b=new _0x593ae3[(_0x1d205f(0x235))](),_0xd8a2c3=new _0x2ff251[(_0x1d205f(0x23e))]();_0x1bb87b[_0x1d205f(0x201)](_0x3f8780[_0x1d205f(0x2da)]['subscribe'](_0x20ac22=>_0xd8a2c3[_0x1d205f(0xda)](_0x20ac22))),_0x1bb87b['add'](_0x593ae3['toDisposable'](()=>_0xd8a2c3[_0x1d205f(0xb6)]()));const _0x2abd62=new _0x2ff251['Subject']();_0x1bb87b[_0x1d205f(0x201)](_0x3f8780[_0x1d205f(0x33f)][_0x1d205f(0xa2)](_0x2e6857=>_0x2abd62[_0x1d205f(0xda)](_0x2e6857))),_0x1bb87b[_0x1d205f(0x201)](_0x593ae3[_0x1d205f(0x334)](()=>_0x2abd62[_0x1d205f(0xb6)]()));const _0x464e4e=new _0x2ff251['Subject']();_0x1bb87b[_0x1d205f(0x201)](_0x3f8780[_0x1d205f(0x1b6)]['subscribe'](_0x54442a=>{var _0x5de442=_0x1d205f;const _0x4ef5a0=_0x2f49ae(_0x54442a);_0x464e4e[_0x5de442(0xda)](_0x4ef5a0);})),_0x1bb87b['add'](_0x593ae3[_0x1d205f(0x334)](()=>_0x464e4e['complete']()));let _0x158b19;const _0x2415df=()=>{var _0x1aa12=_0x1d205f;_0x2abd62[_0x1aa12(0xda)](new Event(_0x1aa12(0x246))),_0xd8a2c3['next'](new Event(_0x1aa12(0x246))),_0x158b19['close']();};return _0x158b19={'memberID':'','close$':_0xd8a2c3[_0x1d205f(0x203)](),'error$':_0x2abd62[_0x1d205f(0x203)](),'open$':_0x3f8780['open$'],'message$':_0x464e4e[_0x1d205f(0x203)](),'send':_0x268573=>{var _0xa138cd=_0x1d205f;if(_0x268573[_0xa138cd(0x29a)]===_0x1e67da[_0xa138cd(0x17c)]){if(_0x268573['data'][_0xa138cd(0x240)]===_0xdad847[_0xa138cd(0x343)][_0xa138cd(0x3b4)]){this[_0xa138cd(0x1a1)](_0x158b19,_0x268573[_0xa138cd(0xc3)])[_0xa138cd(0x250)](_0x346b81=>{var _0x13b94f=_0xa138cd;this[_0x13b94f(0x2a8)][_0x13b94f(0x2cd)](_0x346b81),_0x2415df();});return;}if(_0x268573[_0xa138cd(0xc3)][_0xa138cd(0x240)]===_0xdad847[_0xa138cd(0x343)][_0xa138cd(0x37e)]){const _0x19aca7=_0x268573['data'];this[_0xa138cd(0xc5)](_0x19aca7)[_0xa138cd(0x20d)](_0x4bcbb9=>{var _0x553e9c=_0xa138cd;_0x464e4e[_0x553e9c(0xda)]({'cmd':_0x1e67da[_0x553e9c(0x2ac)],'code':_0x201e78['OK'],'routeKey':_0x19aca7[_0x553e9c(0xc3)][_0x553e9c(0x359)],'routeType':'','data':{'eventID':_0xdad847['CollaborationEvent'][_0x553e9c(0x2c7)],'data':{'changesets':_0x4bcbb9}}});})['catch'](_0x3daa9f=>{var _0x3b054f=_0xa138cd;this[_0x3b054f(0x2a8)][_0x3b054f(0x2cd)](_0x3daa9f),_0x2415df();});return;}}_0x3f8780['send'](_0x3ce187(_0x268573));},'close':()=>{var _0x25429e=_0x1d205f;_0x3f8780[_0x25429e(0x288)](),_0x1bb87b[_0x25429e(0x25b)]();}},_0x158b19;}async['_submitChangeset'](_0x411a70,_0x11a327){var _0xc338ba=_0x509db9,_0x3dfe48;const {unitType:_0x32e02d,unitID:_0x3a8b47,changeset:_0x31fde2}=_0x11a327[_0xc338ba(0xc3)],_0x4f9361={'unitID':_0x3a8b47,'memberID':_0x411a70[_0xc338ba(0x3e2)],'type':_0x32e02d,'changeset':_0xdad847['parseChangesetToProtocol'](_0x31fde2)},_0x2e138d=this[_0xc338ba(0x15b)][_0xc338ba(0x1a7)](_0x9fbd4f),_0x5d13bd=_0x227cd1((_0x3dfe48=_0x2e138d==null?void 0x0:_0x2e138d[_0xc338ba(0x88)])!=null?_0x3dfe48:_0x411702,_0x32e02d,_0x3a8b47);try{await this[_0xc338ba(0x2b2)][_0xc338ba(0x3be)](_0x5d13bd,{'body':_0x4f9361});}catch(_0x3d566b){throw this[_0xc338ba(0x2a8)][_0xc338ba(0x2cd)](_0xc338ba(0x136),_0xc338ba(0x2e1)),_0x3d566b;}}async[_0x509db9(0xc5)](_0x1d0faa){var _0x4e289f=_0x509db9;const {unitID:_0x22f004,from:_0x367a3b,to:_0x2525b3,unitType:_0x296093}=_0x1d0faa['data'];return(await this[_0x4e289f(0x39b)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x22f004,'type':_0x296093,'from':_0x367a3b,'to':_0x2525b3}))[_0x4e289f(0x2de)][_0x4e289f(0xb1)](_0x4412b5=>((_0x4412b5['mutations']===null||_0x4412b5['mutations']===void 0x0)&&(_0x4412b5[_0x4e289f(0x135)]=[]),_0x4412b5));}},_0x313ef4[_0x509db9(0x214)]=_0x268a83([_0x15f785(0x0,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x2cf)])),_0x15f785(0x1,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)])),_0x15f785(0x2,_0x593ae3[_0x509db9(0x1c0)]),_0x15f785(0x3,_0x593ae3[_0x509db9(0x1a8)]),_0x15f785(0x4,_0xdad847['ISnapshotServerService'])],_0x313ef4[_0x509db9(0x214)]);var _0x45e922=Object[_0x509db9(0x3d7)],_0x5b66c2=(_0x3d0d15,_0x198b05,_0x50bb18,_0x3dfb40)=>{var _0x79aac5=_0x509db9;for(var _0x317c7d=_0x3dfb40>0x1?void 0x0:_0x3dfb40?_0x45e922(_0x198b05,_0x50bb18):_0x198b05,_0x4574f6=_0x3d0d15[_0x79aac5(0x2e9)]-0x1,_0x4d0207;_0x4574f6>=0x0;_0x4574f6--)(_0x4d0207=_0x3d0d15[_0x4574f6])&&(_0x317c7d=_0x4d0207(_0x317c7d)||_0x317c7d);return _0x317c7d;},_0x779534=(_0x110404,_0x531888)=>(_0x44e7c8,_0x52ae9f)=>_0x531888(_0x44e7c8,_0x52ae9f,_0x110404);_0x313ef4['CollaborationSessionService']=class extends _0x593ae3[_0x509db9(0x410)]{constructor(_0xebcd24,_0x82c8a9,_0x3c1b36,_0xb28410,_0x54bf31,_0x3ea9c7){var _0x3abdd5=_0x509db9;super(),_0x309c0d(this,_0x3abdd5(0x2bf),new _0x2ff251[(_0x3abdd5(0xed))](void 0x0)),_0x309c0d(this,_0x3abdd5(0x2ba),this[_0x3abdd5(0x2bf)][_0x3abdd5(0x203)]()),_0x309c0d(this,'_candidateSocket',null),_0x309c0d(this,_0x3abdd5(0x1a5),new Map()),_0x309c0d(this,_0x3abdd5(0x1f8),new _0x2ff251['BehaviorSubject'](_0x4e4db9[_0x3abdd5(0x398)])),_0x309c0d(this,_0x3abdd5(0x266),this[_0x3abdd5(0x1f8)][_0x3abdd5(0x203)]()),_0x309c0d(this,'_socketReady',!0x1),_0x309c0d(this,'_retryConnectingTimer'),_0x309c0d(this,_0x3abdd5(0x408),0x0),_0x309c0d(this,_0x3abdd5(0x15d)),_0x309c0d(this,_0x3abdd5(0x17e)),(this[_0x3abdd5(0x397)]=_0xebcd24,this['_logService']=_0x82c8a9,this[_0x3abdd5(0x15b)]=_0x3c1b36,this[_0x3abdd5(0x1b5)]=_0xb28410,this[_0x3abdd5(0x20c)]=_0x54bf31,this[_0x3abdd5(0x28c)]=_0x3ea9c7,this[_0x3abdd5(0x25c)]());}get['_socket'](){var _0x3c333d=_0x509db9;return this[_0x3c333d(0x2bf)][_0x3c333d(0x13c)]();}['_listenToNetworkCondition'](){var _0x4fd72b=_0x509db9;this[_0x4fd72b(0x28c)]&&this[_0x4fd72b(0x34f)](this[_0x4fd72b(0x28c)][_0x4fd72b(0x1ea)][_0x4fd72b(0xa2)](_0x4a9f7f=>{var _0x4e086c=_0x4fd72b;_0x4a9f7f&&!this['_socket']&&this[_0x4e086c(0x28d)](),_0x4a9f7f||this[_0x4e086c(0x35d)]();}));}[_0x509db9(0x25b)](){var _0x514663=_0x509db9;super[_0x514663(0x25b)](),this[_0x514663(0x37d)](),this[_0x514663(0x422)](),this[_0x514663(0x3a2)](),this[_0x514663(0x1a5)][_0x514663(0x10a)](_0x362963=>_0x362963[_0x514663(0x25b)]()),this[_0x514663(0x1a5)][_0x514663(0x265)](),this['_status$'][_0x514663(0xb6)]();}async[_0x509db9(0x296)](_0x234a39){var _0x10e9bb=_0x509db9;if(this[_0x10e9bb(0x1a5)][_0x10e9bb(0x34c)](_0x234a39))return this[_0x10e9bb(0x1a5)]['get'](_0x234a39);this[_0x10e9bb(0xd2)]();const _0x2ad97c=this['_injector'][_0x10e9bb(0x252)](_0x313ef4[_0x10e9bb(0x87)],_0x234a39,this[_0x10e9bb(0x2bf)][_0x10e9bb(0x203)]());return this['_sessions']['set'](_0x234a39,_0x2ad97c),_0x2ad97c;}[_0x509db9(0x32f)](_0x100cf3){var _0x4888e3=_0x509db9,_0x2ff4b7;const _0x401a3e=this[_0x4888e3(0x1a5)][_0x4888e3(0xa5)](_0x100cf3);_0x401a3e&&(this['_sessions'][_0x4888e3(0x1b4)](_0x100cf3),_0x401a3e['close']()),this[_0x4888e3(0x1a5)][_0x4888e3(0x11c)]||(_0x2ff4b7=this[_0x4888e3(0x181)])==null||_0x2ff4b7[_0x4888e3(0x288)]();}['reconnect'](){var _0xa7b8c5=_0x509db9;this[_0xa7b8c5(0x408)]=0x0,this[_0xa7b8c5(0x37d)](),this[_0xa7b8c5(0x2a0)]();}[_0x509db9(0x37d)](){var _0x2c03f3=_0x509db9;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2c03f3(0x107)]),this[_0x2c03f3(0x107)]=null);}async['_createSocket'](){var _0x2bdd1f=_0x509db9,_0x136669;const _0x2612d3=this[_0x2bdd1f(0x15b)]['getConfig'](_0x9fbd4f),_0x2ba899=(_0x136669=_0x2612d3==null?void 0x0:_0x2612d3[_0x2bdd1f(0xd7)])!=null?_0x136669:_0x407f4f,_0x5334d0=await this['_socketService'][_0x2bdd1f(0x126)](_0x2ba899);return this[_0x2bdd1f(0x2ec)]=_0x5334d0,_0x5334d0;}async[_0x509db9(0xd2)](){var _0x47719d=_0x509db9,_0xf4edea,_0x1f7b50;try{const _0x139e4f=(_0x1f7b50=(_0xf4edea=this[_0x47719d(0x181)])!=null?_0xf4edea:this[_0x47719d(0x2ec)])!=null?_0x1f7b50:await this['_createSocket']();if(_0x139e4f){const _0x2e99d9=_0x139e4f[_0x47719d(0x426)];_0x139e4f[_0x47719d(0x426)]=_0x5c0f45=>(this[_0x47719d(0x24d)](),_0x2e99d9[_0x47719d(0x11d)](_0x139e4f,[_0x5c0f45])),_0x139e4f[_0x47719d(0x1b6)]['subscribe'](_0x416c4e=>this[_0x47719d(0x308)](_0x139e4f,_0x416c4e)),_0x139e4f['error$'][_0x47719d(0x8f)](_0x137fa6[_0x47719d(0x275)](0x1))[_0x47719d(0xa2)](_0x4f96fe=>this[_0x47719d(0x2a8)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x4f96fe)),_0x139e4f[_0x47719d(0x8c)]['pipe'](_0x137fa6[_0x47719d(0x275)](0x1))['subscribe'](()=>{var _0x1d9bb0=_0x47719d;this[_0x1d9bb0(0x32c)](_0x139e4f);}),_0x139e4f['close$'][_0x47719d(0x8f)](_0x137fa6['take'](0x1))['subscribe'](_0x521ae6=>{var _0x549b3d=_0x47719d;this[_0x549b3d(0x2a8)][_0x549b3d(0x26b)]('[CollaborationSessionService]','socket\x20close',_0x521ae6),this['_onConnectionFailed']();});}}catch(_0x5c5a9b){this[_0x47719d(0x2a8)][_0x47719d(0x2cd)](_0x5c5a9b),this['_onConnectionFailed']();}}[_0x509db9(0x32c)](_0x57445e){var _0x344586=_0x509db9;this[_0x344586(0x2a8)]['debug'](_0x344586(0x2f1),_0x344586(0x3b3)),_0x57445e[_0x344586(0x426)]({'cmd':_0x1e67da['HELLO']}),this[_0x344586(0x24d)]();}[_0x509db9(0x35d)](){var _0x114801=_0x509db9;this[_0x114801(0x193)]=!0x1,this['_candidateSocket']=null,this[_0x114801(0x1f8)][_0x114801(0xda)](_0x4e4db9[_0x114801(0x2ab)]),this[_0x114801(0x2bf)][_0x114801(0xda)](null),this['_clearTimeoutTimer'](),this[_0x114801(0x3a2)]();}[_0x509db9(0x357)](){var _0xd41bd4=_0x509db9,_0x2967ae;this[_0xd41bd4(0x35d)](),this['_retryCount']<((_0x2967ae=this[_0xd41bd4(0x15b)]['getConfig'](_0x52e10c))!=null?_0x2967ae:0x3)?(this[_0xd41bd4(0x20c)][_0xd41bd4(0x1d9)]({'id':_0x7c51aa[_0xd41bd4(0x320)]}),this[_0xd41bd4(0x2a0)]()):this['_collaborationUIEventService'][_0xd41bd4(0x1d9)]({'id':_0x7c51aa[_0xd41bd4(0x280)]});}['_tryReconnect'](){var _0x66962e=_0x509db9,_0x3f5571;const _0x16cc26=this[_0x66962e(0x408)],_0x5a68ce=this['_configService'][_0x66962e(0x1a7)](_0x9fbd4f),_0x42eafb=_0x16cc26===0x0?0x0:((_0x3f5571=_0x5a68ce==null?void 0x0:_0x5a68ce['retryConnectingInterval'])!=null?_0x3f5571:0x4e20)*0x2**_0x16cc26;this[_0x66962e(0x107)]=setTimeout(()=>{var _0x2dce33=_0x66962e;clearTimeout(this[_0x2dce33(0x107)]),this['_retryConnectingTimer']=null,this[_0x2dce33(0xd2)]();},_0x42eafb),this[_0x66962e(0x408)]+=0x1;}[_0x509db9(0x308)](_0x2cbf79,_0x270dd9){var _0x6166a2=_0x509db9;const {cmd:_0x5ad580}=_0x270dd9;_0x5ad580===_0x1e67da[_0x6166a2(0x1ed)]&&!this['_socketReady']&&(_0x2cbf79[_0x6166a2(0x3e2)]=_0x270dd9[_0x6166a2(0xc3)][_0x6166a2(0x3e2)],this[_0x6166a2(0x2bf)][_0x6166a2(0xda)](_0x2cbf79),this['_status$'][_0x6166a2(0xda)](_0x4e4db9[_0x6166a2(0x224)]),this['_socketReady']=!0x0,this[_0x6166a2(0x2ec)]=null),_0x5ad580===_0x1e67da[_0x6166a2(0xa3)]&&this[_0x6166a2(0x422)](),this[_0x6166a2(0x24d)]();}[_0x509db9(0x24d)](){var _0x5aad87=_0x509db9,_0x44ec9b;this[_0x5aad87(0x3a2)](),this[_0x5aad87(0x15d)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x44ec9b=this[_0x5aad87(0x15b)][_0x5aad87(0x1a7)](_0x55547f))!=null?_0x44ec9b:0x7530);}[_0x509db9(0xa6)](){var _0x162336=_0x509db9;this[_0x162336(0x181)][_0x162336(0x426)]({'cmd':_0x1e67da[_0x162336(0xa3)]}),this[_0x162336(0xb7)]();}[_0x509db9(0xb7)](){var _0x99340b=_0x509db9,_0x40ffb0;this['_timeoutTimer']=setTimeout(()=>this[_0x99340b(0x357)](),(_0x40ffb0=this[_0x99340b(0x15b)][_0x99340b(0x1a7)](_0x30846d))!=null?_0x40ffb0:0x4e20);}[_0x509db9(0x3a2)](){var _0x547efd=_0x509db9;this[_0x547efd(0x15d)]!=null&&(clearTimeout(this[_0x547efd(0x15d)]),this[_0x547efd(0x15d)]=null);}[_0x509db9(0x422)](){var _0x950c8e=_0x509db9;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x950c8e(0x17e)]),this['_timeoutTimer']=null);}},_0x313ef4['CollaborationSessionService']=_0x5b66c2([_0x779534(0x0,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x2cf)])),_0x779534(0x1,_0x593ae3[_0x509db9(0x1a8)]),_0x779534(0x2,_0x593ae3[_0x509db9(0x1c0)]),_0x779534(0x3,_0x37eaae),_0x779534(0x4,_0x593ae3[_0x509db9(0x28b)](_0x1e55fc)),_0x779534(0x5,_0x593ae3[_0x509db9(0x3d1)](_0xcfc4ab))],_0x313ef4[_0x509db9(0x376)]);var _0x16fbdb=Object['getOwnPropertyDescriptor'],_0x4cdde6=(_0x3ab13b,_0x32f936,_0x4a55f6,_0x37edaa)=>{var _0x34c323=_0x509db9;for(var _0x4f6525=_0x37edaa>0x1?void 0x0:_0x37edaa?_0x16fbdb(_0x32f936,_0x4a55f6):_0x32f936,_0x26e157=_0x3ab13b[_0x34c323(0x2e9)]-0x1,_0x1116a3;_0x26e157>=0x0;_0x26e157--)(_0x1116a3=_0x3ab13b[_0x26e157])&&(_0x4f6525=_0x1116a3(_0x4f6525)||_0x4f6525);return _0x4f6525;},_0x107346=(_0xd3138,_0x216b0c)=>(_0x1232c1,_0xfd9d41)=>_0x216b0c(_0x1232c1,_0xfd9d41,_0xd3138);_0x313ef4[_0x509db9(0x9c)]=class extends _0x593ae3[_0x509db9(0x2b9)]{constructor(_0x352c85,_0x1db45b,_0x459bb0,_0x558f8d){var _0x5c473a=_0x509db9,_0x5e39fa;super(),_0x309c0d(this,_0x5c473a(0x248),new Map()),_0x309c0d(this,_0x5c473a(0x274),new _0x2ff251[(_0x5c473a(0x23e))]()),_0x309c0d(this,_0x5c473a(0x2d4),this[_0x5c473a(0x274)][_0x5c473a(0x203)]()),(this[_0x5c473a(0x397)]=_0x352c85,this[_0x5c473a(0x29c)]=_0x1db45b,this[_0x5c473a(0x15b)]=_0x459bb0,this[_0x5c473a(0x281)]=_0x558f8d,((_0x5e39fa=this[_0x5c473a(0x15b)][_0x5c473a(0x1a7)](_0x9fbd4f))==null?void 0x0:_0x5e39fa[_0x5c473a(0x35b)])!==!0x1&&this['_init']());}[_0x509db9(0x25b)](){var _0x2a02f1=_0x509db9;super[_0x2a02f1(0x25b)](),this[_0x2a02f1(0x248)]['forEach'](_0xbffaf8=>_0xbffaf8['dispose']()),this['_entities'][_0x2a02f1(0x265)]();}[_0x509db9(0x18b)](_0x33397c){var _0x4ce829=_0x509db9,_0x17fc60;return(_0x17fc60=this['_entities'][_0x4ce829(0xa5)](_0x33397c))!=null?_0x17fc60:null;}[_0x509db9(0x2d7)](_0x33a5cb){var _0x7ed2ef=_0x509db9;const _0x52cf37=this[_0x7ed2ef(0x18b)](_0x33a5cb);return _0x52cf37?_0x2ff251['of'](_0x52cf37):this['_entityInit$'][_0x7ed2ef(0x8f)](_0x137fa6[_0x7ed2ef(0xbd)](_0x2dd335=>_0x2dd335[_0x7ed2ef(0x359)]===_0x33a5cb));}[_0x509db9(0x21c)](_0x5ccd04){var _0x42b1a1=_0x509db9;return _0x2ff251[_0x42b1a1(0x195)](this[_0x42b1a1(0x2d7)](_0x5ccd04)[_0x42b1a1(0x8f)](_0x137fa6[_0x42b1a1(0xb1)](()=>{})));}[_0x509db9(0x1ff)](){var _0xd5a626=_0x509db9;this[_0xd5a626(0x281)]['getTypeOfUnitAdded$'](_0x593ae3[_0xd5a626(0x119)][_0xd5a626(0x155)])['pipe'](_0x2ff251['takeUntil'](this[_0xd5a626(0x429)]),_0x137fa6[_0xd5a626(0x20e)](0x10))['subscribe'](async _0x44e9ba=>{var _0x5c7261=_0xd5a626;const _0x39f3f3=_0x44e9ba[_0x5c7261(0x382)](),_0x5deb00=await this[_0x5c7261(0x233)](_0x39f3f3,_0x5dd1fb[_0x5c7261(0x155)]);this[_0x5c7261(0x248)]['set'](_0x39f3f3,_0x5deb00);}),this[_0xd5a626(0x281)]['getTypeOfUnitAdded$'](_0x593ae3['UniverInstanceType']['UNIVER_DOC'])['pipe'](_0x2ff251['takeUntil'](this[_0xd5a626(0x429)]),_0x137fa6[_0xd5a626(0x20e)](0x10))[_0xd5a626(0x8f)](_0x137fa6[_0xd5a626(0xbd)](_0x3fea29=>!_0x3fea29[_0xd5a626(0x382)]()[_0xd5a626(0x3ce)]('__')))['subscribe'](async _0x56a5a2=>{var _0x2b5b19=_0xd5a626;const _0x1fb4ea=_0x56a5a2[_0x2b5b19(0x382)](),_0xacc933=await this[_0x2b5b19(0x233)](_0x1fb4ea,_0x5dd1fb[_0x2b5b19(0x3b0)]);this[_0x2b5b19(0x248)][_0x2b5b19(0xa8)](_0x1fb4ea,_0xacc933);}),_0x2ff251[_0xd5a626(0x1e6)](this[_0xd5a626(0x281)][_0xd5a626(0x313)](_0x593ae3[_0xd5a626(0x119)]['UNIVER_SHEET']),this[_0xd5a626(0x281)][_0xd5a626(0x313)](_0x593ae3[_0xd5a626(0x119)][_0xd5a626(0x3b0)]))[_0xd5a626(0x8f)](_0x2ff251[_0xd5a626(0x1b7)](this['dispose$']))[_0xd5a626(0xa2)](_0x499561=>{var _0x238410=_0xd5a626;const _0x39ffec=_0x499561[_0x238410(0x382)](),_0x208a47=this[_0x238410(0x248)][_0x238410(0xa5)](_0x39ffec);_0x208a47&&(_0x208a47[_0x238410(0x25b)](),this[_0x238410(0x248)]['delete'](_0x39ffec));});}async[_0x509db9(0x233)](_0x294940,_0x4bda7a){var _0x4ef45e=_0x509db9;const _0x3c9048=await this['_collabSessionService'][_0x4ef45e(0x296)](_0x294940),_0x1fdead=this[_0x4ef45e(0x397)]['createInstance'](this[_0x4ef45e(0x15a)](_0x4bda7a),_0x294940,_0x4bda7a,_0x3c9048);return await _0x1fdead['init'](),this[_0x4ef45e(0x274)][_0x4ef45e(0xda)](_0x1fdead),_0x1fdead;}[_0x509db9(0x15a)](_0x29835b){var _0x37b706=_0x509db9;switch(_0x29835b){case _0x5dd1fb[_0x37b706(0x3b0)]:return _0x313ef4[_0x37b706(0x271)];case _0x5dd1fb[_0x37b706(0x155)]:return _0x313ef4[_0x37b706(0x1b9)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x29835b);}}},_0x313ef4[_0x509db9(0x9c)]=_0x4cdde6([_0x107346(0x0,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x107346(0x1,_0x593ae3[_0x509db9(0x28b)](_0x313ef4[_0x509db9(0x376)])),_0x107346(0x2,_0x593ae3['IConfigService']),_0x107346(0x3,_0x593ae3[_0x509db9(0x1bc)])],_0x313ef4[_0x509db9(0x9c)]);var _0x175b4a=Object['getOwnPropertyDescriptor'],_0x1b87f0=(_0x1f2f44,_0x3e5622,_0x26dbac,_0x46c4f4)=>{var _0x2deae8=_0x509db9;for(var _0x35fe8c=_0x46c4f4>0x1?void 0x0:_0x46c4f4?_0x175b4a(_0x3e5622,_0x26dbac):_0x3e5622,_0x2947a0=_0x1f2f44[_0x2deae8(0x2e9)]-0x1,_0x9b7781;_0x2947a0>=0x0;_0x2947a0--)(_0x9b7781=_0x1f2f44[_0x2947a0])&&(_0x35fe8c=_0x9b7781(_0x35fe8c)||_0x35fe8c);return _0x35fe8c;},_0x30a3ca=(_0x3b77a8,_0x1adbb4)=>(_0x1d2125,_0x405c64)=>_0x1adbb4(_0x1d2125,_0x405c64,_0x3b77a8);const _0x35de78=_0x509db9(0x35a),_0x592181=_0x509db9(0x413);let _0x261b6f=class extends _0x593ae3[_0x509db9(0x410)]{constructor(_0x19df21,_0x2dc237){var _0x2bf57b=_0x509db9;super(),this['_univerInstanceService']=_0x19df21,this[_0x2bf57b(0x15b)]=_0x2dc237,this[_0x2bf57b(0x1ff)]();}[_0x509db9(0x1ff)](){var _0xd86084=_0x509db9;this[_0xd86084(0x34f)](this[_0xd86084(0x281)][_0xd86084(0x190)][_0xd86084(0xa2)](()=>{var _0x47554d=_0xd86084,_0x8d26a1;const _0x5cc017=this[_0x47554d(0x281)][_0x47554d(0x18e)]();let _0x109459=(_0x8d26a1=this[_0x47554d(0x15b)]['getConfig'](_0x35de78))!=null?_0x8d26a1:_0x592181;_0x5cc017 instanceof _0x593ae3[_0x47554d(0x3f5)]&&(_0x109459=_0x5cc017[_0x47554d(0x371)]),document[_0x47554d(0x3cf)]=_0x109459;}));}};_0x261b6f=_0x1b87f0([_0x30a3ca(0x0,_0x593ae3[_0x509db9(0x1bc)]),_0x30a3ca(0x1,_0x593ae3[_0x509db9(0x1c0)])],_0x261b6f);var _0x361db3=Object['getOwnPropertyDescriptor'],_0x4da54c=(_0x1b1933,_0x465c24,_0x229bac,_0x5baddb)=>{var _0x1dc247=_0x509db9;for(var _0x4e3855=_0x5baddb>0x1?void 0x0:_0x5baddb?_0x361db3(_0x465c24,_0x229bac):_0x465c24,_0x463c30=_0x1b1933[_0x1dc247(0x2e9)]-0x1,_0x371396;_0x463c30>=0x0;_0x463c30--)(_0x371396=_0x1b1933[_0x463c30])&&(_0x4e3855=_0x371396(_0x4e3855)||_0x4e3855);return _0x4e3855;},_0x182883=(_0x46f3fb,_0x55cee8)=>(_0x2e73df,_0x5b7aa)=>_0x55cee8(_0x2e73df,_0x5b7aa,_0x46f3fb);let _0x3fee28=class{constructor(_0x893e32,_0x1dd81d,_0x9ad5bc){var _0x299f27=_0x509db9;this[_0x299f27(0x15b)]=_0x893e32,this[_0x299f27(0x2b2)]=_0x1dd81d,this['localeService']=_0x9ad5bc,this['init']();}[_0x509db9(0x2f7)](){var _0x472027=_0x509db9;this[_0x472027(0x2b2)][_0x472027(0x337)]({'priority':0x1,'interceptor':(_0x41d205,_0x191b07)=>_0x191b07(_0x41d205)[_0x472027(0x8f)](_0x2ff251[_0x472027(0x129)](async _0x585dd0=>{var _0x3ed99d=_0x472027;const _0x456643=_0x585dd0;if(_0x456643[_0x3ed99d(0x11e)]===0x191){if(typeof window>'u')throw new Error(_0x3ed99d(0x31c));if(window[_0x3ed99d(0x2ff)](this['localeService']['t'](_0x3ed99d(0x11f)))){const _0x387491=window[_0x3ed99d(0x31b)](window[_0x3ed99d(0x29e)]['href']);window[_0x3ed99d(0x29e)][_0x3ed99d(0x239)]=this[_0x3ed99d(0x291)]()+_0x3ed99d(0xf9)+_0x387491;}}return _0x456643;}))});}[_0x509db9(0x291)](){var _0x267b6d=_0x509db9,_0x57dd99;const _0xd59c5b=this[_0x267b6d(0x15b)]['getConfig'](_0x9fbd4f);return(_0x57dd99=_0xd59c5b==null?void 0x0:_0xd59c5b['loginUrlKey'])!=null?_0x57dd99:_0x1f9169;}};_0x3fee28=_0x4da54c([_0x182883(0x0,_0x593ae3[_0x509db9(0x1c0)]),_0x182883(0x1,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)])),_0x182883(0x2,_0x593ae3['Inject'](_0x593ae3[_0x509db9(0x97)]))],_0x3fee28);var _0x33aa76=Object['getOwnPropertyDescriptor'],_0x33d125=(_0xd7416f,_0x5f17d1,_0x26109f,_0x3e2144)=>{for(var _0x9b4c0a=_0x3e2144>0x1?void 0x0:_0x3e2144?_0x33aa76(_0x5f17d1,_0x26109f):_0x5f17d1,_0x4425d8=_0xd7416f['length']-0x1,_0x4ea90c;_0x4425d8>=0x0;_0x4425d8--)(_0x4ea90c=_0xd7416f[_0x4425d8])&&(_0x9b4c0a=_0x4ea90c(_0x9b4c0a)||_0x9b4c0a);return _0x9b4c0a;},_0x44485a=(_0x2ac48b,_0x1efbbf)=>(_0x475699,_0x22c59c)=>_0x1efbbf(_0x475699,_0x22c59c,_0x2ac48b);const _0x28bb2d=_0x509db9(0x3a5);_0x313ef4[_0x509db9(0x125)]=class extends _0x593ae3['Disposable']{constructor(_0x4b62d8,_0x4e97a6){var _0x437b8a=_0x509db9;super(),this[_0x437b8a(0x363)]=_0x4b62d8,this[_0x437b8a(0x15b)]=_0x4e97a6,this[_0x437b8a(0x198)]();}[_0x509db9(0x198)](){var _0x3ab44d=_0x509db9;const _0xe72796=this;this[_0x3ab44d(0x34f)](this[_0x3ab44d(0x363)][_0x3ab44d(0x337)]({'priority':0x3e7,'interceptor':_0x38c133[_0x3ab44d(0x186)]({'isMatch'(_0x181f74){var _0x1fa226=_0x3ab44d,_0x1e5608;if(_0x181f74[_0x1fa226(0x17d)]===_0x1fa226(0x154)&&((_0x1e5608=_0x181f74[_0x1fa226(0x1fb)])!=null&&_0x1e5608[_0x1fa226(0x3dc)])){const {objectID:_0x2d0af1,objectType:_0x2accbb}=_0x181f74['requestParams']['body']||{};if(!_0x2d0af1||_0x2accbb===void 0x0)return!0x1;const _0x4cddc6=_0xe72796[_0x1fa226(0x16d)]()+'/'+_0x2accbb+_0x1fa226(0x365)+_0x2d0af1+_0x1fa226(0x253);if(_0x181f74[_0x1fa226(0x424)]===_0x4cddc6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3b1449){var _0x18bfa6=_0x3ab44d,_0x413262;return(_0x413262=_0x3b1449['requestParams'])==null?void 0x0:_0x413262[_0x18bfa6(0x3dc)];},'mergeParamsToRequest'(_0x3ae873,_0x1448ed){var _0x2e24fe=_0x3ab44d;const _0x2813ac=_0xe72796[_0x2e24fe(0x16d)]()+'/-/object/-/batch_allowed',_0x138990=_0x3ae873[_0x2e24fe(0xae)]((_0x1a4424,_0x19f23e)=>{var _0x365d06=_0x2e24fe;const {unitID:_0xb935b6,objectID:_0x7c1b1f,objectType:_0x52ed71,actions:_0x2028c1}=_0x19f23e;return _0x1a4424[_0xb935b6]||(_0x1a4424[_0xb935b6]={}),_0x1a4424[_0xb935b6][_0x7c1b1f]||(_0x1a4424[_0xb935b6][_0x7c1b1f]={'objectID':_0x7c1b1f,'objectType':_0x52ed71,'actions':[]}),_0x1a4424[_0xb935b6][_0x7c1b1f][_0x365d06(0x3b7)][_0x365d06(0x273)](..._0x2028c1),_0x1a4424;},{}),_0x51b5d8=[];for(const _0x2ff5a3 in _0x138990)for(const _0x44b80a in _0x138990[_0x2ff5a3]){const {actions:_0x34e7a6,objectType:_0x3ada5b}=_0x138990[_0x2ff5a3][_0x44b80a],_0x3f515a=[...new Set(_0x34e7a6)];_0x51b5d8[_0x2e24fe(0x273)]({'unitID':_0x2ff5a3,'objectID':_0x44b80a,'objectType':_0x3ada5b,'actions':_0x3f515a});}return new _0x38c133['HTTPRequest'](_0x2e24fe(0x154),_0x2813ac,{'headers':_0x1448ed[_0x2e24fe(0x375)],'withCredentials':_0x1448ed[_0x2e24fe(0x3e8)],'responseType':_0x1448ed[_0x2e24fe(0x2a4)],'body':{'requests':_0x51b5d8}});}},{'distributeResult'(_0x3badfd,_0x3db19f){const {objectActions:_0x59ebbe}=_0x3badfd;return _0x3db19f['map'](_0x138fe4=>{var _0x30b5ce=_0x572e;const {unitID:_0x5c6831,objectID:_0x239071,actions:_0x2adad9}=_0x138fe4,_0x41ad3f=_0x59ebbe[_0x30b5ce(0x35e)](_0x1fd3ac=>_0x1fd3ac[_0x30b5ce(0x359)]===_0x5c6831&&_0x1fd3ac[_0x30b5ce(0x187)]===_0x239071),_0x244972=_0x2adad9[_0x30b5ce(0xb1)](_0x45bbc9=>_0x41ad3f==null?void 0x0:_0x41ad3f['actions'][_0x30b5ce(0x35e)](_0x4ec32a=>_0x4ec32a[_0x30b5ce(0x89)]===_0x45bbc9))[_0x30b5ce(0xbd)](_0x5cbdc8=>!!_0x5cbdc8);return{'config':_0x138fe4,'result':{'actions':_0x244972,'error':_0x3badfd[_0x30b5ce(0x2cd)]}};});}})}));}[_0x509db9(0x16d)](){var _0x67cbc7=_0x509db9,_0x4809c5;const _0x235bf8=this[_0x67cbc7(0x15b)][_0x67cbc7(0x1a7)](_0x9fbd4f);return(_0x4809c5=_0x235bf8==null?void 0x0:_0x235bf8[_0x67cbc7(0x38d)])!=null?_0x4809c5:_0x28bb2d;}async[_0x509db9(0x21d)](_0x4fe7b2){var _0x33b374=_0x509db9;const _0x1b33f2=this['_getAPIPrefixPath']()+'/'+_0x4fe7b2[_0x33b374(0x12b)]+_0x33b374(0x92);return(await this[_0x33b374(0x363)][_0x33b374(0x3be)](_0x1b33f2,{'body':_0x4fe7b2}))['body'][_0x33b374(0x187)]||'';}async[_0x509db9(0x387)](_0x515401){var _0x48a374=_0x509db9;const _0x3a1317=this[_0x48a374(0x16d)]()+_0x48a374(0x361);return(await this[_0x48a374(0x363)][_0x48a374(0x3be)](_0x3a1317,{'body':_0x515401}))['body']['objects'];}async[_0x509db9(0x241)](_0x3850a9){var _0x5cafaf=_0x509db9,_0x543f38,_0x2342e7;const _0x124638=this['_getAPIPrefixPath']()+'/'+_0x3850a9[_0x5cafaf(0x12b)]+'/object/'+_0x3850a9[_0x5cafaf(0x187)],_0x39aa9b=await this[_0x5cafaf(0x363)]['put'](_0x124638,{'body':_0x3850a9});if(((_0x2342e7=(_0x543f38=_0x39aa9b==null?void 0x0:_0x39aa9b[_0x5cafaf(0x3dc)])==null?void 0x0:_0x543f38[_0x5cafaf(0x2cd)])==null?void 0x0:_0x2342e7['code'])!==0x1)throw new Error(_0x5cafaf(0xfe));}async[_0x509db9(0x41a)](_0x239619){var _0x575990=_0x509db9;const _0x1512e7=this[_0x575990(0x16d)]()+'/'+_0x239619[_0x575990(0x12b)]+_0x575990(0x365)+_0x239619['objectID']+'/allowed';return(await this[_0x575990(0x363)][_0x575990(0x3be)](_0x1512e7,{'body':_0x239619}))['body'][_0x575990(0x3b7)];}async[_0x509db9(0x1c8)](_0x3c6071){var _0xa64415=_0x509db9;const _0x527512=this['_getAPIPrefixPath']()+_0xa64415(0x40f);return(await this['_HTTPService'][_0xa64415(0x3be)](_0x527512,{'body':{'requests':_0x3c6071}}))['body'][_0xa64415(0x189)];}async[_0x509db9(0x2eb)](_0x24f1ad){var _0x382593=_0x509db9;const _0x293fb4=this[_0x382593(0x16d)]()+'/'+_0x24f1ad[_0x382593(0x12b)]+_0x382593(0x261),_0x36447c=await this['_HTTPService'][_0x382593(0x3be)](_0x293fb4,{'body':_0x24f1ad});return{'roles':_0x36447c[_0x382593(0x3dc)][_0x382593(0x379)],'actions':_0x36447c[_0x382593(0x3dc)][_0x382593(0x3b7)]};}async[_0x509db9(0x383)](_0x59cd53){var _0x1607c6=_0x509db9;const _0x4454aa=this[_0x1607c6(0x16d)]()+'/collaborator';await this['_HTTPService'][_0x1607c6(0x1b4)](_0x4454aa,{'params':{'collaboratorID':_0x59cd53['collaboratorID'],'objectID':_0x59cd53[_0x1607c6(0x187)],'unitID':_0x59cd53[_0x1607c6(0x359)]}});}async[_0x509db9(0x38e)](_0x3bef83){var _0x263e06=_0x509db9;const _0x6de3b4=this[_0x263e06(0x16d)]()+_0x263e06(0x373);await this[_0x263e06(0x363)][_0x263e06(0xd8)](_0x6de3b4,{'body':_0x3bef83});}async[_0x509db9(0x2e4)](_0x48943c){var _0x410717=_0x509db9;const _0x23cb5a=this[_0x410717(0x16d)]()+_0x410717(0x373);await this[_0x410717(0x363)]['post'](_0x23cb5a,{'body':_0x48943c});}async[_0x509db9(0x286)](_0xb6c311){var _0x3da446=_0x509db9;const _0x3a5f8a=this[_0x3da446(0x16d)]()+_0x3da446(0x373);return(await this[_0x3da446(0x363)][_0x3da446(0xa5)](_0x3a5f8a,{'params':{'objectID':_0xb6c311[_0x3da446(0x187)],'unitID':_0xb6c311[_0x3da446(0x359)]}}))['body']['collaborators'];}async[_0x509db9(0x3fd)](_0x13a986){var _0x1d81ea=_0x509db9;const _0x3a39ee=this[_0x1d81ea(0x16d)]()+'/collaborator';await this[_0x1d81ea(0x363)][_0x1d81ea(0x299)](_0x3a39ee,{'body':_0x13a986});}},_0x313ef4[_0x509db9(0x125)]=_0x33d125([_0x44485a(0x0,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)])),_0x44485a(0x1,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x1c0)]))],_0x313ef4['AuthzIoHttpService']);var _0xc33fc4=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x58088d(_0x46a34b){var _0x4d9cd5=_0x509db9;return _0x46a34b&&_0x46a34b[_0x4d9cd5(0x14d)]&&Object[_0x4d9cd5(0x102)][_0x4d9cd5(0x3c1)]['call'](_0x46a34b,_0x4d9cd5(0x406))?_0x46a34b['default']:_0x46a34b;}var _0xe2b2c7={'exports':{}};function _0x350654(_0x22ad50){var _0x4a65bd=_0x509db9;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x22ad50+_0x4a65bd(0x403));}var _0xed66f9={'exports':{}},_0x16c0be=_0xed66f9[_0x509db9(0x3f3)],_0x2af21c;function _0x2303bf(){var _0x4de2c7=_0x509db9;return _0x2af21c||(_0x2af21c=0x1,function(_0x301115,_0x1fc6be){(function(_0x222104,_0x41d4b1){var _0x234c26=_0x572e;_0x301115[_0x234c26(0x3f3)]=_0x41d4b1();}(_0x16c0be,function(){var _0x458678=_0x458678||function(_0x2ca9c3,_0x5463d5){var _0xf69afb=_0x572e,_0x10120c;if(typeof window<'u'&&window[_0xf69afb(0x19c)]&&(_0x10120c=window[_0xf69afb(0x19c)]),typeof self<'u'&&self[_0xf69afb(0x19c)]&&(_0x10120c=self[_0xf69afb(0x19c)]),typeof globalThis<'u'&&globalThis[_0xf69afb(0x19c)]&&(_0x10120c=globalThis[_0xf69afb(0x19c)]),!_0x10120c&&typeof window<'u'&&window[_0xf69afb(0x27f)]&&(_0x10120c=window[_0xf69afb(0x27f)]),!_0x10120c&&typeof _0xc33fc4<'u'&&_0xc33fc4[_0xf69afb(0x19c)]&&(_0x10120c=_0xc33fc4[_0xf69afb(0x19c)]),!_0x10120c&&typeof _0x350654=='function')try{_0x10120c=require('crypto');}catch{}var _0x3d9eaa=function(){var _0x5c1699=_0xf69afb;if(_0x10120c){if(typeof _0x10120c[_0x5c1699(0x342)]==_0x5c1699(0x409))try{return _0x10120c[_0x5c1699(0x342)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x10120c[_0x5c1699(0x304)]==_0x5c1699(0x409))try{return _0x10120c[_0x5c1699(0x304)](0x4)[_0x5c1699(0x2af)]();}catch{}}throw new Error(_0x5c1699(0x3eb));},_0x4778be=Object[_0xf69afb(0x21d)]||(function(){function _0x323907(){}return function(_0x52cdc7){var _0x1db5a8=_0x572e,_0x33627d;return _0x323907[_0x1db5a8(0x102)]=_0x52cdc7,_0x33627d=new _0x323907(),_0x323907['prototype']=null,_0x33627d;};}()),_0x2a4a1b={},_0x525670=_0x2a4a1b[_0xf69afb(0x1cb)]={},_0x32acda=_0x525670[_0xf69afb(0x270)]=(function(){return{'extend':function(_0x3bdba0){var _0x476bea=_0x572e,_0x4c6460=_0x4778be(this);return _0x3bdba0&&_0x4c6460[_0x476bea(0x340)](_0x3bdba0),(!_0x4c6460[_0x476bea(0x3c1)](_0x476bea(0x2f7))||this['init']===_0x4c6460[_0x476bea(0x2f7)])&&(_0x4c6460[_0x476bea(0x2f7)]=function(){var _0x542dfc=_0x476bea;_0x4c6460[_0x542dfc(0xb3)][_0x542dfc(0x2f7)][_0x542dfc(0x11d)](this,arguments);}),_0x4c6460[_0x476bea(0x2f7)][_0x476bea(0x102)]=_0x4c6460,_0x4c6460[_0x476bea(0xb3)]=this,_0x4c6460;},'create':function(){var _0xb9fcd7=_0x572e,_0x3f74c0=this[_0xb9fcd7(0x36b)]();return _0x3f74c0[_0xb9fcd7(0x2f7)][_0xb9fcd7(0x11d)](_0x3f74c0,arguments),_0x3f74c0;},'init':function(){},'mixIn':function(_0x26a52b){var _0x1acea2=_0x572e;for(var _0x4e8160 in _0x26a52b)_0x26a52b[_0x1acea2(0x3c1)](_0x4e8160)&&(this[_0x4e8160]=_0x26a52b[_0x4e8160]);_0x26a52b[_0x1acea2(0x3c1)]('toString')&&(this[_0x1acea2(0x1fe)]=_0x26a52b[_0x1acea2(0x1fe)]);},'clone':function(){var _0x478d7f=_0x572e;return this['init'][_0x478d7f(0x102)]['extend'](this);}};}()),_0x5bf0bb=_0x525670[_0xf69afb(0x213)]=_0x32acda['extend']({'init':function(_0x2c2b6e,_0x5e71a4){var _0x4a654b=_0xf69afb;_0x2c2b6e=this[_0x4a654b(0x2ce)]=_0x2c2b6e||[],_0x5e71a4!=_0x5463d5?this[_0x4a654b(0x1a4)]=_0x5e71a4:this[_0x4a654b(0x1a4)]=_0x2c2b6e[_0x4a654b(0x2e9)]*0x4;},'toString':function(_0x446446){return(_0x446446||_0x3d22da)['stringify'](this);},'concat':function(_0xa65748){var _0x16fd58=_0xf69afb,_0x3fd695=this['words'],_0x5920b1=_0xa65748['words'],_0x2834f4=this['sigBytes'],_0x58aedb=_0xa65748[_0x16fd58(0x1a4)];if(this['clamp'](),_0x2834f4%0x4)for(var _0x3ace4e=0x0;_0x3ace4e<_0x58aedb;_0x3ace4e++){var _0x3c2c7a=_0x5920b1[_0x3ace4e>>>0x2]>>>0x18-_0x3ace4e%0x4*0x8&0xff;_0x3fd695[_0x2834f4+_0x3ace4e>>>0x2]|=_0x3c2c7a<<0x18-(_0x2834f4+_0x3ace4e)%0x4*0x8;}else{for(var _0x5d1295=0x0;_0x5d1295<_0x58aedb;_0x5d1295+=0x4)_0x3fd695[_0x2834f4+_0x5d1295>>>0x2]=_0x5920b1[_0x5d1295>>>0x2];}return this[_0x16fd58(0x1a4)]+=_0x58aedb,this;},'clamp':function(){var _0x565b6e=_0xf69afb,_0x4f3dc2=this[_0x565b6e(0x2ce)],_0x4e6ab9=this[_0x565b6e(0x1a4)];_0x4f3dc2[_0x4e6ab9>>>0x2]&=0xffffffff<<0x20-_0x4e6ab9%0x4*0x8,_0x4f3dc2['length']=_0x2ca9c3[_0x565b6e(0x3ad)](_0x4e6ab9/0x4);},'clone':function(){var _0x4e7daa=_0xf69afb,_0x91fa8=_0x32acda[_0x4e7daa(0xfc)][_0x4e7daa(0xc8)](this);return _0x91fa8[_0x4e7daa(0x2ce)]=this[_0x4e7daa(0x2ce)][_0x4e7daa(0x175)](0x0),_0x91fa8;},'random':function(_0x49aa77){var _0x220227=_0xf69afb;for(var _0x391ff0=[],_0x5b815c=0x0;_0x5b815c<_0x49aa77;_0x5b815c+=0x4)_0x391ff0[_0x220227(0x273)](_0x3d9eaa());return new _0x5bf0bb[(_0x220227(0x2f7))](_0x391ff0,_0x49aa77);}}),_0x58b236=_0x2a4a1b[_0xf69afb(0x93)]={},_0x3d22da=_0x58b236['Hex']={'stringify':function(_0x2d896d){var _0x3f7a30=_0xf69afb;for(var _0x10735a=_0x2d896d[_0x3f7a30(0x2ce)],_0x2bcabe=_0x2d896d[_0x3f7a30(0x1a4)],_0x575dc9=[],_0x300a10=0x0;_0x300a10<_0x2bcabe;_0x300a10++){var _0x267279=_0x10735a[_0x300a10>>>0x2]>>>0x18-_0x300a10%0x4*0x8&0xff;_0x575dc9[_0x3f7a30(0x273)]((_0x267279>>>0x4)[_0x3f7a30(0x1fe)](0x10)),_0x575dc9[_0x3f7a30(0x273)]((_0x267279&0xf)[_0x3f7a30(0x1fe)](0x10));}return _0x575dc9[_0x3f7a30(0x172)]('');},'parse':function(_0x52f86f){var _0x4429c8=_0xf69afb;for(var _0x5bd523=_0x52f86f['length'],_0xa245d5=[],_0x248489=0x0;_0x248489<_0x5bd523;_0x248489+=0x2)_0xa245d5[_0x248489>>>0x3]|=parseInt(_0x52f86f['substr'](_0x248489,0x2),0x10)<<0x18-_0x248489%0x8*0x4;return new _0x5bf0bb[(_0x4429c8(0x2f7))](_0xa245d5,_0x5bd523/0x2);}},_0x475a5e=_0x58b236['Latin1']={'stringify':function(_0x1d22d8){var _0x80ad71=_0xf69afb;for(var _0x4e7970=_0x1d22d8['words'],_0x342115=_0x1d22d8[_0x80ad71(0x1a4)],_0x20148f=[],_0x1f3636=0x0;_0x1f3636<_0x342115;_0x1f3636++){var _0x11b76b=_0x4e7970[_0x1f3636>>>0x2]>>>0x18-_0x1f3636%0x4*0x8&0xff;_0x20148f[_0x80ad71(0x273)](String['fromCharCode'](_0x11b76b));}return _0x20148f[_0x80ad71(0x172)]('');},'parse':function(_0x97e08f){var _0x3bc9d6=_0xf69afb;for(var _0x2d307c=_0x97e08f['length'],_0x169b11=[],_0xa6767c=0x0;_0xa6767c<_0x2d307c;_0xa6767c++)_0x169b11[_0xa6767c>>>0x2]|=(_0x97e08f[_0x3bc9d6(0x350)](_0xa6767c)&0xff)<<0x18-_0xa6767c%0x4*0x8;return new _0x5bf0bb[(_0x3bc9d6(0x2f7))](_0x169b11,_0x2d307c);}},_0x4efe4e=_0x58b236['Utf8']={'stringify':function(_0x3cb045){var _0x198d2b=_0xf69afb;try{return decodeURIComponent(escape(_0x475a5e[_0x198d2b(0xa1)](_0x3cb045)));}catch{throw new Error(_0x198d2b(0x391));}},'parse':function(_0x21ca2f){var _0x1bedc7=_0xf69afb;return _0x475a5e[_0x1bedc7(0x3d2)](unescape(encodeURIComponent(_0x21ca2f)));}},_0x542b1a=_0x525670[_0xf69afb(0x38f)]=_0x32acda[_0xf69afb(0x36b)]({'reset':function(){var _0x3682dd=_0xf69afb;this[_0x3682dd(0x17b)]=new _0x5bf0bb['init'](),this[_0x3682dd(0x229)]=0x0;},'_append':function(_0x1334f4){var _0x44202d=_0xf69afb;typeof _0x1334f4==_0x44202d(0x209)&&(_0x1334f4=_0x4efe4e[_0x44202d(0x3d2)](_0x1334f4)),this[_0x44202d(0x17b)][_0x44202d(0x27b)](_0x1334f4),this[_0x44202d(0x229)]+=_0x1334f4[_0x44202d(0x1a4)];},'_process':function(_0x27b51d){var _0x2c0a94=_0xf69afb,_0x564865,_0x4017fe=this['_data'],_0x2da8d2=_0x4017fe[_0x2c0a94(0x2ce)],_0x47b4ad=_0x4017fe[_0x2c0a94(0x1a4)],_0x4375d0=this[_0x2c0a94(0x1bd)],_0x305ff7=_0x4375d0*0x4,_0x302627=_0x47b4ad/_0x305ff7;_0x27b51d?_0x302627=_0x2ca9c3[_0x2c0a94(0x3ad)](_0x302627):_0x302627=_0x2ca9c3['max']((_0x302627|0x0)-this[_0x2c0a94(0x2a2)],0x0);var _0x40541f=_0x302627*_0x4375d0,_0x477019=_0x2ca9c3[_0x2c0a94(0x367)](_0x40541f*0x4,_0x47b4ad);if(_0x40541f){for(var _0x401ed0=0x0;_0x401ed0<_0x40541f;_0x401ed0+=_0x4375d0)this[_0x2c0a94(0xa9)](_0x2da8d2,_0x401ed0);_0x564865=_0x2da8d2[_0x2c0a94(0x3cc)](0x0,_0x40541f),_0x4017fe[_0x2c0a94(0x1a4)]-=_0x477019;}return new _0x5bf0bb[(_0x2c0a94(0x2f7))](_0x564865,_0x477019);},'clone':function(){var _0x52aca5=_0xf69afb,_0x3210d7=_0x32acda[_0x52aca5(0xfc)]['call'](this);return _0x3210d7[_0x52aca5(0x17b)]=this['_data'][_0x52aca5(0xfc)](),_0x3210d7;},'_minBufferSize':0x0});_0x525670['Hasher']=_0x542b1a[_0xf69afb(0x36b)]({'cfg':_0x32acda[_0xf69afb(0x36b)](),'init':function(_0xd7f0ff){var _0x24c1c4=_0xf69afb;this[_0x24c1c4(0x21f)]=this['cfg'][_0x24c1c4(0x36b)](_0xd7f0ff),this['reset']();},'reset':function(){var _0x52621a=_0xf69afb;_0x542b1a[_0x52621a(0x242)]['call'](this),this['_doReset']();},'update':function(_0x505efd){var _0x50fb6b=_0xf69afb;return this[_0x50fb6b(0x145)](_0x505efd),this[_0x50fb6b(0xbb)](),this;},'finalize':function(_0x228450){var _0x414f7d=_0xf69afb;_0x228450&&this[_0x414f7d(0x145)](_0x228450);var _0x1a3832=this[_0x414f7d(0x95)]();return _0x1a3832;},'blockSize':0x10,'_createHelper':function(_0x288e4a){return function(_0x2acc65,_0x52f1c5){var _0x141241=_0x572e;return new _0x288e4a['init'](_0x52f1c5)[_0x141241(0x38a)](_0x2acc65);};},'_createHmacHelper':function(_0x4de0f0){return function(_0x116933,_0x3dbbbb){var _0x25b316=_0x572e;return new _0x5e1faf[(_0x25b316(0x104))][(_0x25b316(0x2f7))](_0x4de0f0,_0x3dbbbb)[_0x25b316(0x38a)](_0x116933);};}});var _0x5e1faf=_0x2a4a1b['algo']={};return _0x2a4a1b;}(Math);return _0x458678;}));}(_0xed66f9)),_0xed66f9[_0x4de2c7(0x3f3)];}var _0x55d7e6={'exports':{}},_0x2b8bc1=_0x55d7e6[_0x509db9(0x3f3)],_0x5d4c10;function _0x8a71d1(){var _0x2f055e=_0x509db9;return _0x5d4c10||(_0x5d4c10=0x1,function(_0x28fea0,_0x2b5d29){(function(_0x555703,_0x5d93bf){var _0x3139c4=_0x572e;_0x28fea0[_0x3139c4(0x3f3)]=_0x5d93bf(_0x2303bf());}(_0x2b8bc1,function(_0x4d7701){var _0x224bc6=_0x572e;return(function(){var _0x1c0cd2=_0x572e,_0x4be0a4=_0x4d7701,_0x52a707=_0x4be0a4[_0x1c0cd2(0x1cb)],_0x2b1ba5=_0x52a707[_0x1c0cd2(0x213)],_0x144dbd=_0x4be0a4[_0x1c0cd2(0x93)];_0x144dbd[_0x1c0cd2(0xbe)]={'stringify':function(_0x4afa94){var _0x222fc3=_0x1c0cd2,_0x45f1a6=_0x4afa94[_0x222fc3(0x2ce)],_0x18885a=_0x4afa94[_0x222fc3(0x1a4)],_0x4b9eee=this[_0x222fc3(0x8a)];_0x4afa94[_0x222fc3(0xdc)]();for(var _0x5bd0a5=[],_0x5d10b8=0x0;_0x5d10b8<_0x18885a;_0x5d10b8+=0x3)for(var _0x2a9620=_0x45f1a6[_0x5d10b8>>>0x2]>>>0x18-_0x5d10b8%0x4*0x8&0xff,_0x11e722=_0x45f1a6[_0x5d10b8+0x1>>>0x2]>>>0x18-(_0x5d10b8+0x1)%0x4*0x8&0xff,_0x181131=_0x45f1a6[_0x5d10b8+0x2>>>0x2]>>>0x18-(_0x5d10b8+0x2)%0x4*0x8&0xff,_0x404730=_0x2a9620<<0x10|_0x11e722<<0x8|_0x181131,_0x29a795=0x0;_0x29a795<0x4&&_0x5d10b8+_0x29a795*0.75<_0x18885a;_0x29a795++)_0x5bd0a5[_0x222fc3(0x273)](_0x4b9eee[_0x222fc3(0x389)](_0x404730>>>0x6*(0x3-_0x29a795)&0x3f));var _0x2bb24a=_0x4b9eee['charAt'](0x40);if(_0x2bb24a){for(;_0x5bd0a5[_0x222fc3(0x2e9)]%0x4;)_0x5bd0a5[_0x222fc3(0x273)](_0x2bb24a);}return _0x5bd0a5[_0x222fc3(0x172)]('');},'parse':function(_0x1da554){var _0x356fc2=_0x1c0cd2,_0xc1706f=_0x1da554['length'],_0x56eefc=this[_0x356fc2(0x8a)],_0x5325dd=this[_0x356fc2(0x9b)];if(!_0x5325dd){_0x5325dd=this[_0x356fc2(0x9b)]=[];for(var _0x79bbc4=0x0;_0x79bbc4<_0x56eefc['length'];_0x79bbc4++)_0x5325dd[_0x56eefc[_0x356fc2(0x350)](_0x79bbc4)]=_0x79bbc4;}var _0x539e69=_0x56eefc['charAt'](0x40);if(_0x539e69){var _0x8dd79e=_0x1da554[_0x356fc2(0x30b)](_0x539e69);_0x8dd79e!==-0x1&&(_0xc1706f=_0x8dd79e);}return _0xa3f735(_0x1da554,_0xc1706f,_0x5325dd);},'_map':_0x1c0cd2(0x2bc)};function _0xa3f735(_0x55b4af,_0xa0aca1,_0x16a9cd){var _0x25a437=_0x1c0cd2;for(var _0x4c6d00=[],_0x2ec2ab=0x0,_0x39a25e=0x0;_0x39a25e<_0xa0aca1;_0x39a25e++)if(_0x39a25e%0x4){var _0x433806=_0x16a9cd[_0x55b4af['charCodeAt'](_0x39a25e-0x1)]<<_0x39a25e%0x4*0x2,_0x2c6366=_0x16a9cd[_0x55b4af['charCodeAt'](_0x39a25e)]>>>0x6-_0x39a25e%0x4*0x2,_0x343f45=_0x433806|_0x2c6366;_0x4c6d00[_0x2ec2ab>>>0x2]|=_0x343f45<<0x18-_0x2ec2ab%0x4*0x8,_0x2ec2ab++;}return _0x2b1ba5[_0x25a437(0x21d)](_0x4c6d00,_0x2ec2ab);}}()),_0x4d7701[_0x224bc6(0x93)][_0x224bc6(0xbe)];}));}(_0x55d7e6)),_0x55d7e6[_0x2f055e(0x3f3)];}var _0x259d36={'exports':{}},_0x3d84a1=_0x259d36[_0x509db9(0x3f3)],_0x3f435f;function _0x2fdd86(){var _0x1fb4c8=_0x509db9;return _0x3f435f||(_0x3f435f=0x1,function(_0x5adf3c,_0x421c78){(function(_0x25f8c9,_0x133598){var _0x3509ca=_0x572e;_0x5adf3c[_0x3509ca(0x3f3)]=_0x133598(_0x2303bf());}(_0x3d84a1,function(_0x5dd200){var _0x306b51=_0x572e;return function(_0x25d27b){var _0x1a5ecc=_0x572e,_0x3a7093=_0x5dd200,_0x39f27b=_0x3a7093[_0x1a5ecc(0x1cb)],_0x44a78b=_0x39f27b[_0x1a5ecc(0x213)],_0x4070ee=_0x39f27b['Hasher'],_0x39ca1e=_0x3a7093[_0x1a5ecc(0x293)],_0x58dd32=[];(function(){var _0x42b7c7=_0x1a5ecc;for(var _0x16866d=0x0;_0x16866d<0x40;_0x16866d++)_0x58dd32[_0x16866d]=_0x25d27b['abs'](_0x25d27b[_0x42b7c7(0x3bc)](_0x16866d+0x1))*0x100000000|0x0;}());var _0x216ea7=_0x39ca1e[_0x1a5ecc(0x99)]=_0x4070ee[_0x1a5ecc(0x36b)]({'_doReset':function(){var _0x32b480=_0x1a5ecc;this[_0x32b480(0x1d7)]=new _0x44a78b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x8a57a5,_0x3a9cee){var _0xeb8a99=_0x1a5ecc;for(var _0x22a4eb=0x0;_0x22a4eb<0x10;_0x22a4eb++){var _0x42d4eb=_0x3a9cee+_0x22a4eb,_0x14866b=_0x8a57a5[_0x42d4eb];_0x8a57a5[_0x42d4eb]=(_0x14866b<<0x8|_0x14866b>>>0x18)&0xff00ff|(_0x14866b<<0x18|_0x14866b>>>0x8)&0xff00ff00;}var _0x28380b=this['_hash'][_0xeb8a99(0x2ce)],_0x3426e3=_0x8a57a5[_0x3a9cee+0x0],_0x192303=_0x8a57a5[_0x3a9cee+0x1],_0x5e52fc=_0x8a57a5[_0x3a9cee+0x2],_0x1a638d=_0x8a57a5[_0x3a9cee+0x3],_0x598339=_0x8a57a5[_0x3a9cee+0x4],_0x34ad79=_0x8a57a5[_0x3a9cee+0x5],_0x42fc73=_0x8a57a5[_0x3a9cee+0x6],_0x50fcff=_0x8a57a5[_0x3a9cee+0x7],_0x3d280d=_0x8a57a5[_0x3a9cee+0x8],_0x5d88e3=_0x8a57a5[_0x3a9cee+0x9],_0x4bf2e5=_0x8a57a5[_0x3a9cee+0xa],_0xebbe50=_0x8a57a5[_0x3a9cee+0xb],_0x135a9c=_0x8a57a5[_0x3a9cee+0xc],_0x3c06b2=_0x8a57a5[_0x3a9cee+0xd],_0x1a77cb=_0x8a57a5[_0x3a9cee+0xe],_0x31a472=_0x8a57a5[_0x3a9cee+0xf],_0x4a5b93=_0x28380b[0x0],_0x53c7a7=_0x28380b[0x1],_0x47a550=_0x28380b[0x2],_0x3fe17d=_0x28380b[0x3];_0x4a5b93=_0x377cce(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3426e3,0x7,_0x58dd32[0x0]),_0x3fe17d=_0x377cce(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x192303,0xc,_0x58dd32[0x1]),_0x47a550=_0x377cce(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x5e52fc,0x11,_0x58dd32[0x2]),_0x53c7a7=_0x377cce(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x1a638d,0x16,_0x58dd32[0x3]),_0x4a5b93=_0x377cce(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x598339,0x7,_0x58dd32[0x4]),_0x3fe17d=_0x377cce(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x34ad79,0xc,_0x58dd32[0x5]),_0x47a550=_0x377cce(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x42fc73,0x11,_0x58dd32[0x6]),_0x53c7a7=_0x377cce(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x50fcff,0x16,_0x58dd32[0x7]),_0x4a5b93=_0x377cce(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3d280d,0x7,_0x58dd32[0x8]),_0x3fe17d=_0x377cce(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x5d88e3,0xc,_0x58dd32[0x9]),_0x47a550=_0x377cce(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x4bf2e5,0x11,_0x58dd32[0xa]),_0x53c7a7=_0x377cce(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0xebbe50,0x16,_0x58dd32[0xb]),_0x4a5b93=_0x377cce(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x135a9c,0x7,_0x58dd32[0xc]),_0x3fe17d=_0x377cce(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x3c06b2,0xc,_0x58dd32[0xd]),_0x47a550=_0x377cce(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x1a77cb,0x11,_0x58dd32[0xe]),_0x53c7a7=_0x377cce(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x31a472,0x16,_0x58dd32[0xf]),_0x4a5b93=_0x26b0a6(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x192303,0x5,_0x58dd32[0x10]),_0x3fe17d=_0x26b0a6(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x42fc73,0x9,_0x58dd32[0x11]),_0x47a550=_0x26b0a6(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0xebbe50,0xe,_0x58dd32[0x12]),_0x53c7a7=_0x26b0a6(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x3426e3,0x14,_0x58dd32[0x13]),_0x4a5b93=_0x26b0a6(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x34ad79,0x5,_0x58dd32[0x14]),_0x3fe17d=_0x26b0a6(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x4bf2e5,0x9,_0x58dd32[0x15]),_0x47a550=_0x26b0a6(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x31a472,0xe,_0x58dd32[0x16]),_0x53c7a7=_0x26b0a6(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x598339,0x14,_0x58dd32[0x17]),_0x4a5b93=_0x26b0a6(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x5d88e3,0x5,_0x58dd32[0x18]),_0x3fe17d=_0x26b0a6(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x1a77cb,0x9,_0x58dd32[0x19]),_0x47a550=_0x26b0a6(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x1a638d,0xe,_0x58dd32[0x1a]),_0x53c7a7=_0x26b0a6(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x3d280d,0x14,_0x58dd32[0x1b]),_0x4a5b93=_0x26b0a6(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3c06b2,0x5,_0x58dd32[0x1c]),_0x3fe17d=_0x26b0a6(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x5e52fc,0x9,_0x58dd32[0x1d]),_0x47a550=_0x26b0a6(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x50fcff,0xe,_0x58dd32[0x1e]),_0x53c7a7=_0x26b0a6(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x135a9c,0x14,_0x58dd32[0x1f]),_0x4a5b93=_0x2cdc0a(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x34ad79,0x4,_0x58dd32[0x20]),_0x3fe17d=_0x2cdc0a(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x3d280d,0xb,_0x58dd32[0x21]),_0x47a550=_0x2cdc0a(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0xebbe50,0x10,_0x58dd32[0x22]),_0x53c7a7=_0x2cdc0a(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x1a77cb,0x17,_0x58dd32[0x23]),_0x4a5b93=_0x2cdc0a(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x192303,0x4,_0x58dd32[0x24]),_0x3fe17d=_0x2cdc0a(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x598339,0xb,_0x58dd32[0x25]),_0x47a550=_0x2cdc0a(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x50fcff,0x10,_0x58dd32[0x26]),_0x53c7a7=_0x2cdc0a(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x4bf2e5,0x17,_0x58dd32[0x27]),_0x4a5b93=_0x2cdc0a(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3c06b2,0x4,_0x58dd32[0x28]),_0x3fe17d=_0x2cdc0a(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x3426e3,0xb,_0x58dd32[0x29]),_0x47a550=_0x2cdc0a(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x1a638d,0x10,_0x58dd32[0x2a]),_0x53c7a7=_0x2cdc0a(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x42fc73,0x17,_0x58dd32[0x2b]),_0x4a5b93=_0x2cdc0a(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x5d88e3,0x4,_0x58dd32[0x2c]),_0x3fe17d=_0x2cdc0a(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x135a9c,0xb,_0x58dd32[0x2d]),_0x47a550=_0x2cdc0a(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x31a472,0x10,_0x58dd32[0x2e]),_0x53c7a7=_0x2cdc0a(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x5e52fc,0x17,_0x58dd32[0x2f]),_0x4a5b93=_0x212546(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3426e3,0x6,_0x58dd32[0x30]),_0x3fe17d=_0x212546(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x50fcff,0xa,_0x58dd32[0x31]),_0x47a550=_0x212546(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x1a77cb,0xf,_0x58dd32[0x32]),_0x53c7a7=_0x212546(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x34ad79,0x15,_0x58dd32[0x33]),_0x4a5b93=_0x212546(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x135a9c,0x6,_0x58dd32[0x34]),_0x3fe17d=_0x212546(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x1a638d,0xa,_0x58dd32[0x35]),_0x47a550=_0x212546(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x4bf2e5,0xf,_0x58dd32[0x36]),_0x53c7a7=_0x212546(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x192303,0x15,_0x58dd32[0x37]),_0x4a5b93=_0x212546(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x3d280d,0x6,_0x58dd32[0x38]),_0x3fe17d=_0x212546(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0x31a472,0xa,_0x58dd32[0x39]),_0x47a550=_0x212546(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x42fc73,0xf,_0x58dd32[0x3a]),_0x53c7a7=_0x212546(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x3c06b2,0x15,_0x58dd32[0x3b]),_0x4a5b93=_0x212546(_0x4a5b93,_0x53c7a7,_0x47a550,_0x3fe17d,_0x598339,0x6,_0x58dd32[0x3c]),_0x3fe17d=_0x212546(_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x47a550,_0xebbe50,0xa,_0x58dd32[0x3d]),_0x47a550=_0x212546(_0x47a550,_0x3fe17d,_0x4a5b93,_0x53c7a7,_0x5e52fc,0xf,_0x58dd32[0x3e]),_0x53c7a7=_0x212546(_0x53c7a7,_0x47a550,_0x3fe17d,_0x4a5b93,_0x5d88e3,0x15,_0x58dd32[0x3f]),_0x28380b[0x0]=_0x28380b[0x0]+_0x4a5b93|0x0,_0x28380b[0x1]=_0x28380b[0x1]+_0x53c7a7|0x0,_0x28380b[0x2]=_0x28380b[0x2]+_0x47a550|0x0,_0x28380b[0x3]=_0x28380b[0x3]+_0x3fe17d|0x0;},'_doFinalize':function(){var _0x534328=_0x1a5ecc,_0x5d8962=this['_data'],_0x5dd632=_0x5d8962[_0x534328(0x2ce)],_0x24dbf5=this[_0x534328(0x229)]*0x8,_0x2faf7f=_0x5d8962[_0x534328(0x1a4)]*0x8;_0x5dd632[_0x2faf7f>>>0x5]|=0x80<<0x18-_0x2faf7f%0x20;var _0x58222e=_0x25d27b['floor'](_0x24dbf5/0x100000000),_0x1acffc=_0x24dbf5;_0x5dd632[(_0x2faf7f+0x40>>>0x9<<0x4)+0xf]=(_0x58222e<<0x8|_0x58222e>>>0x18)&0xff00ff|(_0x58222e<<0x18|_0x58222e>>>0x8)&0xff00ff00,_0x5dd632[(_0x2faf7f+0x40>>>0x9<<0x4)+0xe]=(_0x1acffc<<0x8|_0x1acffc>>>0x18)&0xff00ff|(_0x1acffc<<0x18|_0x1acffc>>>0x8)&0xff00ff00,_0x5d8962['sigBytes']=(_0x5dd632['length']+0x1)*0x4,this['_process']();for(var _0x175539=this[_0x534328(0x1d7)],_0x4bcce3=_0x175539[_0x534328(0x2ce)],_0x484289=0x0;_0x484289<0x4;_0x484289++){var _0x3940dc=_0x4bcce3[_0x484289];_0x4bcce3[_0x484289]=(_0x3940dc<<0x8|_0x3940dc>>>0x18)&0xff00ff|(_0x3940dc<<0x18|_0x3940dc>>>0x8)&0xff00ff00;}return _0x175539;},'clone':function(){var _0x2f7a1a=_0x1a5ecc,_0xb4030c=_0x4070ee[_0x2f7a1a(0xfc)]['call'](this);return _0xb4030c[_0x2f7a1a(0x1d7)]=this[_0x2f7a1a(0x1d7)][_0x2f7a1a(0xfc)](),_0xb4030c;}});function _0x377cce(_0x35e13e,_0x2bcefd,_0xcd2df5,_0x5a289e,_0x37cc30,_0x286735,_0x12508f){var _0x202158=_0x35e13e+(_0x2bcefd&_0xcd2df5|~_0x2bcefd&_0x5a289e)+_0x37cc30+_0x12508f;return(_0x202158<<_0x286735|_0x202158>>>0x20-_0x286735)+_0x2bcefd;}function _0x26b0a6(_0x145b44,_0x1a4fed,_0x5625a5,_0x5b14d8,_0xdeddf2,_0x371e4d,_0x149faa){var _0x11096a=_0x145b44+(_0x1a4fed&_0x5b14d8|_0x5625a5&~_0x5b14d8)+_0xdeddf2+_0x149faa;return(_0x11096a<<_0x371e4d|_0x11096a>>>0x20-_0x371e4d)+_0x1a4fed;}function _0x2cdc0a(_0x840fb9,_0x3ef06d,_0xa4b9e3,_0x5a5e12,_0x45f191,_0x49a2a7,_0x6af5de){var _0x3d49f7=_0x840fb9+(_0x3ef06d^_0xa4b9e3^_0x5a5e12)+_0x45f191+_0x6af5de;return(_0x3d49f7<<_0x49a2a7|_0x3d49f7>>>0x20-_0x49a2a7)+_0x3ef06d;}function _0x212546(_0x4c3df6,_0x8942a1,_0x16f11c,_0x3cb1bc,_0x18b051,_0x3d68c1,_0x250909){var _0x1ddf19=_0x4c3df6+(_0x16f11c^(_0x8942a1|~_0x3cb1bc))+_0x18b051+_0x250909;return(_0x1ddf19<<_0x3d68c1|_0x1ddf19>>>0x20-_0x3d68c1)+_0x8942a1;}_0x3a7093[_0x1a5ecc(0x99)]=_0x4070ee[_0x1a5ecc(0x111)](_0x216ea7),_0x3a7093[_0x1a5ecc(0xb4)]=_0x4070ee[_0x1a5ecc(0x1d0)](_0x216ea7);}(Math),_0x5dd200[_0x306b51(0x99)];}));}(_0x259d36)),_0x259d36[_0x1fb4c8(0x3f3)];}var _0x1ed96e={'exports':{}},_0x226327={'exports':{}},_0x2df906=_0x226327[_0x509db9(0x3f3)],_0x3a7b24;function _0x57d0e4(){var _0x7988c=_0x509db9;return _0x3a7b24||(_0x3a7b24=0x1,function(_0x3e155a,_0x30a257){(function(_0x3cdfbe,_0x5a9c0a){var _0x252472=_0x572e;_0x3e155a[_0x252472(0x3f3)]=_0x5a9c0a(_0x2303bf());}(_0x2df906,function(_0x42df0b){return(function(){var _0x58c864=_0x572e,_0x45a5ec=_0x42df0b,_0x93415b=_0x45a5ec['lib'],_0x51f35a=_0x93415b[_0x58c864(0x213)],_0x315995=_0x93415b[_0x58c864(0x14e)],_0xd2567d=_0x45a5ec[_0x58c864(0x293)],_0x2048e9=[],_0x27fa84=_0xd2567d[_0x58c864(0x277)]=_0x315995[_0x58c864(0x36b)]({'_doReset':function(){var _0x49916b=_0x58c864;this[_0x49916b(0x1d7)]=new _0x51f35a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x22289c,_0x173f49){var _0x5d93e0=_0x58c864;for(var _0x49513c=this[_0x5d93e0(0x1d7)]['words'],_0x2d4292=_0x49513c[0x0],_0x27e689=_0x49513c[0x1],_0x194415=_0x49513c[0x2],_0x248f29=_0x49513c[0x3],_0x413265=_0x49513c[0x4],_0x2f5146=0x0;_0x2f5146<0x50;_0x2f5146++){if(_0x2f5146<0x10)_0x2048e9[_0x2f5146]=_0x22289c[_0x173f49+_0x2f5146]|0x0;else{var _0x36a918=_0x2048e9[_0x2f5146-0x3]^_0x2048e9[_0x2f5146-0x8]^_0x2048e9[_0x2f5146-0xe]^_0x2048e9[_0x2f5146-0x10];_0x2048e9[_0x2f5146]=_0x36a918<<0x1|_0x36a918>>>0x1f;}var _0x20bff2=(_0x2d4292<<0x5|_0x2d4292>>>0x1b)+_0x413265+_0x2048e9[_0x2f5146];_0x2f5146<0x14?_0x20bff2+=(_0x27e689&_0x194415|~_0x27e689&_0x248f29)+0x5a827999:_0x2f5146<0x28?_0x20bff2+=(_0x27e689^_0x194415^_0x248f29)+0x6ed9eba1:_0x2f5146<0x3c?_0x20bff2+=(_0x27e689&_0x194415|_0x27e689&_0x248f29|_0x194415&_0x248f29)-0x70e44324:_0x20bff2+=(_0x27e689^_0x194415^_0x248f29)-0x359d3e2a,_0x413265=_0x248f29,_0x248f29=_0x194415,_0x194415=_0x27e689<<0x1e|_0x27e689>>>0x2,_0x27e689=_0x2d4292,_0x2d4292=_0x20bff2;}_0x49513c[0x0]=_0x49513c[0x0]+_0x2d4292|0x0,_0x49513c[0x1]=_0x49513c[0x1]+_0x27e689|0x0,_0x49513c[0x2]=_0x49513c[0x2]+_0x194415|0x0,_0x49513c[0x3]=_0x49513c[0x3]+_0x248f29|0x0,_0x49513c[0x4]=_0x49513c[0x4]+_0x413265|0x0;},'_doFinalize':function(){var _0x283b62=_0x58c864,_0x4fedb4=this[_0x283b62(0x17b)],_0x38801b=_0x4fedb4[_0x283b62(0x2ce)],_0x3aab42=this['_nDataBytes']*0x8,_0x11dbfb=_0x4fedb4['sigBytes']*0x8;return _0x38801b[_0x11dbfb>>>0x5]|=0x80<<0x18-_0x11dbfb%0x20,_0x38801b[(_0x11dbfb+0x40>>>0x9<<0x4)+0xe]=Math[_0x283b62(0x179)](_0x3aab42/0x100000000),_0x38801b[(_0x11dbfb+0x40>>>0x9<<0x4)+0xf]=_0x3aab42,_0x4fedb4[_0x283b62(0x1a4)]=_0x38801b[_0x283b62(0x2e9)]*0x4,this[_0x283b62(0xbb)](),this['_hash'];},'clone':function(){var _0x48ed31=_0x58c864,_0x1d0a75=_0x315995[_0x48ed31(0xfc)][_0x48ed31(0xc8)](this);return _0x1d0a75['_hash']=this[_0x48ed31(0x1d7)][_0x48ed31(0xfc)](),_0x1d0a75;}});_0x45a5ec[_0x58c864(0x277)]=_0x315995['_createHelper'](_0x27fa84),_0x45a5ec[_0x58c864(0xdb)]=_0x315995[_0x58c864(0x1d0)](_0x27fa84);}()),_0x42df0b['SHA1'];}));}(_0x226327)),_0x226327[_0x7988c(0x3f3)];}var _0x25a970={'exports':{}},_0x45f162=_0x25a970[_0x509db9(0x3f3)],_0x1c53ba;function _0x4e58d3(){var _0x38dd91=_0x509db9;return _0x1c53ba||(_0x1c53ba=0x1,function(_0x47d4f7,_0x29a5d7){(function(_0xe28d79,_0x445812){var _0x28eb1f=_0x572e;_0x47d4f7[_0x28eb1f(0x3f3)]=_0x445812(_0x2303bf());}(_0x45f162,function(_0xff345d){(function(){var _0x2a92fb=_0x572e,_0x3b967a=_0xff345d,_0xb9882d=_0x3b967a[_0x2a92fb(0x1cb)],_0x5892b4=_0xb9882d[_0x2a92fb(0x270)],_0x241975=_0x3b967a[_0x2a92fb(0x93)],_0x5cae4a=_0x241975['Utf8'],_0x570259=_0x3b967a[_0x2a92fb(0x293)];_0x570259[_0x2a92fb(0x104)]=_0x5892b4[_0x2a92fb(0x36b)]({'init':function(_0x3dc429,_0x514726){var _0x3fe88a=_0x2a92fb;_0x3dc429=this[_0x3fe88a(0x157)]=new _0x3dc429['init'](),typeof _0x514726==_0x3fe88a(0x209)&&(_0x514726=_0x5cae4a[_0x3fe88a(0x3d2)](_0x514726));var _0x3d4acc=_0x3dc429[_0x3fe88a(0x1bd)],_0xd69390=_0x3d4acc*0x4;_0x514726[_0x3fe88a(0x1a4)]>_0xd69390&&(_0x514726=_0x3dc429['finalize'](_0x514726)),_0x514726[_0x3fe88a(0xdc)]();for(var _0x41fedc=this['_oKey']=_0x514726[_0x3fe88a(0xfc)](),_0x53bca1=this[_0x3fe88a(0xa0)]=_0x514726[_0x3fe88a(0xfc)](),_0x23b701=_0x41fedc[_0x3fe88a(0x2ce)],_0x4faf68=_0x53bca1[_0x3fe88a(0x2ce)],_0x44805b=0x0;_0x44805b<_0x3d4acc;_0x44805b++)_0x23b701[_0x44805b]^=0x5c5c5c5c,_0x4faf68[_0x44805b]^=0x36363636;_0x41fedc[_0x3fe88a(0x1a4)]=_0x53bca1[_0x3fe88a(0x1a4)]=_0xd69390,this['reset']();},'reset':function(){var _0x1f13c6=_0x2a92fb,_0x11664e=this['_hasher'];_0x11664e[_0x1f13c6(0x242)](),_0x11664e[_0x1f13c6(0x241)](this[_0x1f13c6(0xa0)]);},'update':function(_0x5124b1){var _0x32db2f=_0x2a92fb;return this[_0x32db2f(0x157)]['update'](_0x5124b1),this;},'finalize':function(_0x3972ae){var _0x37d0d0=_0x2a92fb,_0x4bfff3=this[_0x37d0d0(0x157)],_0x479d37=_0x4bfff3[_0x37d0d0(0x38a)](_0x3972ae);_0x4bfff3['reset']();var _0x1800f5=_0x4bfff3[_0x37d0d0(0x38a)](this[_0x37d0d0(0xb0)]['clone']()[_0x37d0d0(0x27b)](_0x479d37));return _0x1800f5;}});}());}));}(_0x25a970)),_0x25a970[_0x38dd91(0x3f3)];}var _0x2daf1d=_0x1ed96e[_0x509db9(0x3f3)],_0x162a6b;function _0x377971(){var _0x4c6c89=_0x509db9;return _0x162a6b||(_0x162a6b=0x1,function(_0x1d2bc0,_0x3e7812){(function(_0x5dd7bb,_0x3a7a07,_0x576587){var _0x1abf1a=_0x572e;_0x1d2bc0[_0x1abf1a(0x3f3)]=_0x3a7a07(_0x2303bf(),_0x57d0e4(),_0x4e58d3());}(_0x2daf1d,function(_0x28cefc){return(function(){var _0x4ab862=_0x572e,_0x2c88de=_0x28cefc,_0x59ae25=_0x2c88de['lib'],_0x1e7474=_0x59ae25[_0x4ab862(0x270)],_0x476fd8=_0x59ae25['WordArray'],_0x5027aa=_0x2c88de[_0x4ab862(0x293)],_0x269cc5=_0x5027aa[_0x4ab862(0x99)],_0x2ae886=_0x5027aa[_0x4ab862(0x3f4)]=_0x1e7474['extend']({'cfg':_0x1e7474[_0x4ab862(0x36b)]({'keySize':0x80/0x20,'hasher':_0x269cc5,'iterations':0x1}),'init':function(_0x4b8bb1){var _0x482fcf=_0x4ab862;this[_0x482fcf(0x21f)]=this[_0x482fcf(0x21f)]['extend'](_0x4b8bb1);},'compute':function(_0x19e89e,_0x31c3cd){var _0x45dd7f=_0x4ab862;for(var _0x4df155,_0x3bfd2e=this[_0x45dd7f(0x21f)],_0x3c190b=_0x3bfd2e[_0x45dd7f(0x26f)][_0x45dd7f(0x21d)](),_0x318abf=_0x476fd8[_0x45dd7f(0x21d)](),_0x38d33c=_0x318abf['words'],_0x380518=_0x3bfd2e[_0x45dd7f(0x374)],_0x19ce69=_0x3bfd2e[_0x45dd7f(0x3ef)];_0x38d33c[_0x45dd7f(0x2e9)]<_0x380518;){_0x4df155&&_0x3c190b[_0x45dd7f(0x241)](_0x4df155),_0x4df155=_0x3c190b[_0x45dd7f(0x241)](_0x19e89e)[_0x45dd7f(0x38a)](_0x31c3cd),_0x3c190b[_0x45dd7f(0x242)]();for(var _0x4e27d4=0x1;_0x4e27d4<_0x19ce69;_0x4e27d4++)_0x4df155=_0x3c190b[_0x45dd7f(0x38a)](_0x4df155),_0x3c190b[_0x45dd7f(0x242)]();_0x318abf[_0x45dd7f(0x27b)](_0x4df155);}return _0x318abf[_0x45dd7f(0x1a4)]=_0x380518*0x4,_0x318abf;}});_0x2c88de['EvpKDF']=function(_0x5c97b1,_0x45b589,_0x351d41){var _0x45cfdf=_0x4ab862;return _0x2ae886[_0x45cfdf(0x21d)](_0x351d41)[_0x45cfdf(0x2df)](_0x5c97b1,_0x45b589);};}()),_0x28cefc['EvpKDF'];}));}(_0x1ed96e)),_0x1ed96e[_0x4c6c89(0x3f3)];}var _0x2ea77c={'exports':{}},_0x3265cb=_0x2ea77c[_0x509db9(0x3f3)],_0x10a435;function _0x285f87(){var _0x3c2e3d=_0x509db9;return _0x10a435||(_0x10a435=0x1,function(_0x5c26d3,_0x55a8c7){(function(_0x17d075,_0x46340f,_0x5cd8fa){var _0x56a661=_0x572e;_0x5c26d3[_0x56a661(0x3f3)]=_0x46340f(_0x2303bf(),_0x377971());}(_0x3265cb,function(_0xbcfefc){var _0x30047a=_0x572e;_0xbcfefc[_0x30047a(0x1cb)][_0x30047a(0x196)]||function(_0x31c21a){var _0x3d510e=_0x30047a,_0x42a16f=_0xbcfefc,_0x56f77d=_0x42a16f[_0x3d510e(0x1cb)],_0x1426ca=_0x56f77d[_0x3d510e(0x270)],_0xc132c1=_0x56f77d['WordArray'],_0x96453=_0x56f77d[_0x3d510e(0x38f)],_0x22e1d2=_0x42a16f[_0x3d510e(0x93)];_0x22e1d2[_0x3d510e(0x217)];var _0x1ce38e=_0x22e1d2[_0x3d510e(0xbe)],_0x48c77e=_0x42a16f[_0x3d510e(0x293)],_0x168fc4=_0x48c77e[_0x3d510e(0x3f4)],_0xf5ceb8=_0x56f77d[_0x3d510e(0x196)]=_0x96453[_0x3d510e(0x36b)]({'cfg':_0x1426ca[_0x3d510e(0x36b)](),'createEncryptor':function(_0x315e74,_0x23449b){var _0x505a2a=_0x3d510e;return this['create'](this[_0x505a2a(0x200)],_0x315e74,_0x23449b);},'createDecryptor':function(_0x52ba96,_0x377941){var _0x631a60=_0x3d510e;return this['create'](this[_0x631a60(0x22e)],_0x52ba96,_0x377941);},'init':function(_0x595620,_0x4a6e0f,_0x182d8d){var _0x3da1d1=_0x3d510e;this['cfg']=this[_0x3da1d1(0x21f)]['extend'](_0x182d8d),this[_0x3da1d1(0x1d6)]=_0x595620,this['_key']=_0x4a6e0f,this['reset']();},'reset':function(){var _0x173e3e=_0x3d510e;_0x96453[_0x173e3e(0x242)][_0x173e3e(0xc8)](this),this[_0x173e3e(0x18c)]();},'process':function(_0x47e18b){var _0x45aa11=_0x3d510e;return this[_0x45aa11(0x145)](_0x47e18b),this[_0x45aa11(0xbb)]();},'finalize':function(_0x4fd9f7){var _0x198be0=_0x3d510e;_0x4fd9f7&&this[_0x198be0(0x145)](_0x4fd9f7);var _0x9ebb35=this[_0x198be0(0x95)]();return _0x9ebb35;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3738be(_0x3e954b){var _0x21d99b=_0x572e;return typeof _0x3e954b==_0x21d99b(0x209)?_0x5f3194:_0xed1992;}return function(_0x439e85){return{'encrypt':function(_0xd4d2ac,_0x6ddf0d,_0xa86679){var _0x49fc5b=_0x572e;return _0x3738be(_0x6ddf0d)[_0x49fc5b(0x1fc)](_0x439e85,_0xd4d2ac,_0x6ddf0d,_0xa86679);},'decrypt':function(_0xf50178,_0x386302,_0x2dcedb){return _0x3738be(_0x386302)['decrypt'](_0x439e85,_0xf50178,_0x386302,_0x2dcedb);}};};}())});_0x56f77d[_0x3d510e(0xc9)]=_0xf5ceb8['extend']({'_doFinalize':function(){var _0x3bc10a=this['_process'](!0x0);return _0x3bc10a;},'blockSize':0x1});var _0x3ae6e2=_0x42a16f['mode']={},_0x39848c=_0x56f77d[_0x3d510e(0x20a)]=_0x1426ca['extend']({'createEncryptor':function(_0x1e812b,_0x1034d8){var _0x5dac5e=_0x3d510e;return this[_0x5dac5e(0x278)]['create'](_0x1e812b,_0x1034d8);},'createDecryptor':function(_0x3f5c55,_0x2c7ce8){return this['Decryptor']['create'](_0x3f5c55,_0x2c7ce8);},'init':function(_0xf06bd0,_0x18d01e){var _0x2531ac=_0x3d510e;this[_0x2531ac(0xe9)]=_0xf06bd0,this['_iv']=_0x18d01e;}}),_0x51adfb=_0x3ae6e2[_0x3d510e(0x345)]=(function(){var _0x316f4f=_0x3d510e,_0x38d5ea=_0x39848c[_0x316f4f(0x36b)]();_0x38d5ea[_0x316f4f(0x278)]=_0x38d5ea[_0x316f4f(0x36b)]({'processBlock':function(_0x1f1fe5,_0x1c5322){var _0x296ed5=_0x316f4f,_0x5a652a=this[_0x296ed5(0xe9)],_0x237f31=_0x5a652a[_0x296ed5(0x1bd)];_0x4214eb[_0x296ed5(0xc8)](this,_0x1f1fe5,_0x1c5322,_0x237f31),_0x5a652a[_0x296ed5(0x9d)](_0x1f1fe5,_0x1c5322),this['_prevBlock']=_0x1f1fe5[_0x296ed5(0x175)](_0x1c5322,_0x1c5322+_0x237f31);}}),_0x38d5ea[_0x316f4f(0x3a4)]=_0x38d5ea['extend']({'processBlock':function(_0x7e90f4,_0x6f9574){var _0x59a6ee=_0x316f4f,_0xeeb726=this[_0x59a6ee(0xe9)],_0x5450b3=_0xeeb726[_0x59a6ee(0x1bd)],_0x4cc747=_0x7e90f4['slice'](_0x6f9574,_0x6f9574+_0x5450b3);_0xeeb726['decryptBlock'](_0x7e90f4,_0x6f9574),_0x4214eb[_0x59a6ee(0xc8)](this,_0x7e90f4,_0x6f9574,_0x5450b3),this[_0x59a6ee(0xac)]=_0x4cc747;}});function _0x4214eb(_0x5468ff,_0x273df3,_0x1d8103){var _0xe46ecd=_0x316f4f,_0xca7820,_0x3cb700=this[_0xe46ecd(0x15e)];_0x3cb700?(_0xca7820=_0x3cb700,this[_0xe46ecd(0x15e)]=_0x31c21a):_0xca7820=this[_0xe46ecd(0xac)];for(var _0x734e89=0x0;_0x734e89<_0x1d8103;_0x734e89++)_0x5468ff[_0x273df3+_0x734e89]^=_0xca7820[_0x734e89];}return _0x38d5ea;}()),_0x31291c=_0x42a16f['pad']={},_0x4ff06b=_0x31291c[_0x3d510e(0x2ca)]={'pad':function(_0x2d8fa1,_0x47e6bc){var _0x237179=_0x3d510e;for(var _0x20cd56=_0x47e6bc*0x4,_0x1f8c0d=_0x20cd56-_0x2d8fa1[_0x237179(0x1a4)]%_0x20cd56,_0x5d2034=_0x1f8c0d<<0x18|_0x1f8c0d<<0x10|_0x1f8c0d<<0x8|_0x1f8c0d,_0x5cf7f2=[],_0x5823f0=0x0;_0x5823f0<_0x1f8c0d;_0x5823f0+=0x4)_0x5cf7f2[_0x237179(0x273)](_0x5d2034);var _0x4d90e0=_0xc132c1[_0x237179(0x21d)](_0x5cf7f2,_0x1f8c0d);_0x2d8fa1[_0x237179(0x27b)](_0x4d90e0);},'unpad':function(_0x583026){var _0x1212e4=_0x3d510e,_0x568528=_0x583026[_0x1212e4(0x2ce)][_0x583026['sigBytes']-0x1>>>0x2]&0xff;_0x583026[_0x1212e4(0x1a4)]-=_0x568528;}};_0x56f77d['BlockCipher']=_0xf5ceb8[_0x3d510e(0x36b)]({'cfg':_0xf5ceb8[_0x3d510e(0x21f)][_0x3d510e(0x36b)]({'mode':_0x51adfb,'padding':_0x4ff06b}),'reset':function(){var _0xff0a6d=_0x3d510e,_0x317f3d;_0xf5ceb8['reset'][_0xff0a6d(0xc8)](this);var _0x545563=this[_0xff0a6d(0x21f)],_0x29efb5=_0x545563['iv'],_0x208059=_0x545563[_0xff0a6d(0x11b)];this['_xformMode']==this[_0xff0a6d(0x200)]?_0x317f3d=_0x208059[_0xff0a6d(0x19a)]:(_0x317f3d=_0x208059[_0xff0a6d(0x2f5)],this['_minBufferSize']=0x1),this['_mode']&&this[_0xff0a6d(0x1ad)][_0xff0a6d(0x3a0)]==_0x317f3d?this[_0xff0a6d(0x1ad)]['init'](this,_0x29efb5&&_0x29efb5[_0xff0a6d(0x2ce)]):(this[_0xff0a6d(0x1ad)]=_0x317f3d[_0xff0a6d(0xc8)](_0x208059,this,_0x29efb5&&_0x29efb5[_0xff0a6d(0x2ce)]),this[_0xff0a6d(0x1ad)][_0xff0a6d(0x3a0)]=_0x317f3d);},'_doProcessBlock':function(_0x38ef19,_0x5e36fd){var _0x11ba1e=_0x3d510e;this[_0x11ba1e(0x1ad)]['processBlock'](_0x38ef19,_0x5e36fd);},'_doFinalize':function(){var _0x109af1=_0x3d510e,_0x5b205c,_0x3344fc=this[_0x109af1(0x21f)][_0x109af1(0x176)];return this['_xformMode']==this[_0x109af1(0x200)]?(_0x3344fc[_0x109af1(0x188)](this[_0x109af1(0x17b)],this[_0x109af1(0x1bd)]),_0x5b205c=this['_process'](!0x0)):(_0x5b205c=this[_0x109af1(0xbb)](!0x0),_0x3344fc[_0x109af1(0x22b)](_0x5b205c)),_0x5b205c;},'blockSize':0x80/0x20});var _0x25e437=_0x56f77d['CipherParams']=_0x1426ca[_0x3d510e(0x36b)]({'init':function(_0x11e89b){var _0x29c878=_0x3d510e;this[_0x29c878(0x340)](_0x11e89b);},'toString':function(_0x41f6e4){var _0x328bf5=_0x3d510e;return(_0x41f6e4||this[_0x328bf5(0xe5)])['stringify'](this);}}),_0x226e7c=_0x42a16f[_0x3d510e(0xb2)]={},_0x3b1aff=_0x226e7c[_0x3d510e(0x16a)]={'stringify':function(_0x509b71){var _0x23ea01=_0x3d510e,_0x50da0b,_0x71fca8=_0x509b71[_0x23ea01(0x2fc)],_0x1c3b11=_0x509b71[_0x23ea01(0x11a)];return _0x1c3b11?_0x50da0b=_0xc132c1['create']([0x53616c74,0x65645f5f])[_0x23ea01(0x27b)](_0x1c3b11)[_0x23ea01(0x27b)](_0x71fca8):_0x50da0b=_0x71fca8,_0x50da0b[_0x23ea01(0x1fe)](_0x1ce38e);},'parse':function(_0x52b6a6){var _0x5b4c2b=_0x3d510e,_0x106abb,_0x817955=_0x1ce38e['parse'](_0x52b6a6),_0xb4c8c6=_0x817955[_0x5b4c2b(0x2ce)];return _0xb4c8c6[0x0]==0x53616c74&&_0xb4c8c6[0x1]==0x65645f5f&&(_0x106abb=_0xc132c1[_0x5b4c2b(0x21d)](_0xb4c8c6[_0x5b4c2b(0x175)](0x2,0x4)),_0xb4c8c6[_0x5b4c2b(0x3cc)](0x0,0x4),_0x817955[_0x5b4c2b(0x1a4)]-=0x10),_0x25e437[_0x5b4c2b(0x21d)]({'ciphertext':_0x817955,'salt':_0x106abb});}},_0xed1992=_0x56f77d[_0x3d510e(0xff)]=_0x1426ca[_0x3d510e(0x36b)]({'cfg':_0x1426ca[_0x3d510e(0x36b)]({'format':_0x3b1aff}),'encrypt':function(_0x350d77,_0x19bd1f,_0x4962a4,_0x47326a){var _0x2c6a42=_0x3d510e;_0x47326a=this['cfg'][_0x2c6a42(0x36b)](_0x47326a);var _0x73f620=_0x350d77[_0x2c6a42(0x19a)](_0x4962a4,_0x47326a),_0x1fe3f6=_0x73f620['finalize'](_0x19bd1f),_0x488b14=_0x73f620[_0x2c6a42(0x21f)];return _0x25e437[_0x2c6a42(0x21d)]({'ciphertext':_0x1fe3f6,'key':_0x4962a4,'iv':_0x488b14['iv'],'algorithm':_0x350d77,'mode':_0x488b14[_0x2c6a42(0x11b)],'padding':_0x488b14[_0x2c6a42(0x176)],'blockSize':_0x350d77[_0x2c6a42(0x1bd)],'formatter':_0x47326a[_0x2c6a42(0xb2)]});},'decrypt':function(_0x5e42d8,_0x4218af,_0x4b53ac,_0x52972b){var _0x4b45b0=_0x3d510e;_0x52972b=this[_0x4b45b0(0x21f)]['extend'](_0x52972b),_0x4218af=this['_parse'](_0x4218af,_0x52972b['format']);var _0x4e0309=_0x5e42d8[_0x4b45b0(0x2f5)](_0x4b53ac,_0x52972b)[_0x4b45b0(0x38a)](_0x4218af[_0x4b45b0(0x2fc)]);return _0x4e0309;},'_parse':function(_0x4bcdd8,_0x55ed85){var _0x1d122d=_0x3d510e;return typeof _0x4bcdd8==_0x1d122d(0x209)?_0x55ed85[_0x1d122d(0x3d2)](_0x4bcdd8,this):_0x4bcdd8;}}),_0x7c49cb=_0x42a16f['kdf']={},_0x59a5e4=_0x7c49cb[_0x3d510e(0x16a)]={'execute':function(_0xc91efd,_0x149058,_0x56a7a1,_0x2a6c6d,_0x437d54){var _0x7a910c=_0x3d510e;if(_0x2a6c6d||(_0x2a6c6d=_0xc132c1[_0x7a910c(0x303)](0x40/0x8)),_0x437d54)var _0x3d3bf8=_0x168fc4[_0x7a910c(0x21d)]({'keySize':_0x149058+_0x56a7a1,'hasher':_0x437d54})[_0x7a910c(0x2df)](_0xc91efd,_0x2a6c6d);else var _0x3d3bf8=_0x168fc4[_0x7a910c(0x21d)]({'keySize':_0x149058+_0x56a7a1})[_0x7a910c(0x2df)](_0xc91efd,_0x2a6c6d);var _0x457263=_0xc132c1[_0x7a910c(0x21d)](_0x3d3bf8[_0x7a910c(0x2ce)][_0x7a910c(0x175)](_0x149058),_0x56a7a1*0x4);return _0x3d3bf8['sigBytes']=_0x149058*0x4,_0x25e437['create']({'key':_0x3d3bf8,'iv':_0x457263,'salt':_0x2a6c6d});}},_0x5f3194=_0x56f77d[_0x3d510e(0x262)]=_0xed1992[_0x3d510e(0x36b)]({'cfg':_0xed1992['cfg'][_0x3d510e(0x36b)]({'kdf':_0x59a5e4}),'encrypt':function(_0x22f8be,_0x185113,_0x1666ff,_0x46be58){var _0x3e9dba=_0x3d510e;_0x46be58=this['cfg'][_0x3e9dba(0x36b)](_0x46be58);var _0x243200=_0x46be58['kdf'][_0x3e9dba(0x118)](_0x1666ff,_0x22f8be[_0x3e9dba(0x374)],_0x22f8be[_0x3e9dba(0x386)],_0x46be58[_0x3e9dba(0x11a)],_0x46be58[_0x3e9dba(0x26f)]);_0x46be58['iv']=_0x243200['iv'];var _0x31255f=_0xed1992[_0x3e9dba(0x1fc)]['call'](this,_0x22f8be,_0x185113,_0x243200[_0x3e9dba(0x328)],_0x46be58);return _0x31255f[_0x3e9dba(0x340)](_0x243200),_0x31255f;},'decrypt':function(_0x1882a1,_0x491c28,_0x1217f0,_0x1d96bf){var _0x2304ca=_0x3d510e;_0x1d96bf=this[_0x2304ca(0x21f)]['extend'](_0x1d96bf),_0x491c28=this['_parse'](_0x491c28,_0x1d96bf['format']);var _0x1d240e=_0x1d96bf[_0x2304ca(0x287)]['execute'](_0x1217f0,_0x1882a1[_0x2304ca(0x374)],_0x1882a1[_0x2304ca(0x386)],_0x491c28[_0x2304ca(0x11a)],_0x1d96bf[_0x2304ca(0x26f)]);_0x1d96bf['iv']=_0x1d240e['iv'];var _0x31ef5e=_0xed1992[_0x2304ca(0x290)][_0x2304ca(0xc8)](this,_0x1882a1,_0x491c28,_0x1d240e['key'],_0x1d96bf);return _0x31ef5e;}});}();}));}(_0x2ea77c)),_0x2ea77c[_0x3c2e3d(0x3f3)];}var _0x3713ff=_0xe2b2c7['exports'],_0x426df2;function _0x9f0106(){var _0xc7c574=_0x509db9;return _0x426df2||(_0x426df2=0x1,function(_0x33c814,_0x178e00){(function(_0x86f73,_0x5dfa94,_0x46c96f){var _0x1a636c=_0x572e;_0x33c814[_0x1a636c(0x3f3)]=_0x5dfa94(_0x2303bf(),_0x8a71d1(),_0x2fdd86(),_0x377971(),_0x285f87());}(_0x3713ff,function(_0x5dd706){var _0x4b6a49=_0x572e;return(function(){var _0x1122bc=_0x572e,_0x13bd19=_0x5dd706,_0x24ae7e=_0x13bd19[_0x1122bc(0x1cb)],_0x230cbe=_0x24ae7e[_0x1122bc(0x122)],_0x2b3c9e=_0x13bd19['algo'],_0x1cb622=[],_0x3b1b8a=[],_0x4d2a06=[],_0x2b3ea2=[],_0x1ef984=[],_0x41a192=[],_0x1139e5=[],_0x26b563=[],_0x21ee93=[],_0x5ab2d5=[];(function(){for(var _0x5077f9=[],_0x38fa1d=0x0;_0x38fa1d<0x100;_0x38fa1d++)_0x38fa1d<0x80?_0x5077f9[_0x38fa1d]=_0x38fa1d<<0x1:_0x5077f9[_0x38fa1d]=_0x38fa1d<<0x1^0x11b;for(var _0x15f41d=0x0,_0x43e87a=0x0,_0x38fa1d=0x0;_0x38fa1d<0x100;_0x38fa1d++){var _0x3c8a37=_0x43e87a^_0x43e87a<<0x1^_0x43e87a<<0x2^_0x43e87a<<0x3^_0x43e87a<<0x4;_0x3c8a37=_0x3c8a37>>>0x8^_0x3c8a37&0xff^0x63,_0x1cb622[_0x15f41d]=_0x3c8a37,_0x3b1b8a[_0x3c8a37]=_0x15f41d;var _0x499d7b=_0x5077f9[_0x15f41d],_0x308697=_0x5077f9[_0x499d7b],_0x8767f=_0x5077f9[_0x308697],_0x4a36f1=_0x5077f9[_0x3c8a37]*0x101^_0x3c8a37*0x1010100;_0x4d2a06[_0x15f41d]=_0x4a36f1<<0x18|_0x4a36f1>>>0x8,_0x2b3ea2[_0x15f41d]=_0x4a36f1<<0x10|_0x4a36f1>>>0x10,_0x1ef984[_0x15f41d]=_0x4a36f1<<0x8|_0x4a36f1>>>0x18,_0x41a192[_0x15f41d]=_0x4a36f1;var _0x4a36f1=_0x8767f*0x1010101^_0x308697*0x10001^_0x499d7b*0x101^_0x15f41d*0x1010100;_0x1139e5[_0x3c8a37]=_0x4a36f1<<0x18|_0x4a36f1>>>0x8,_0x26b563[_0x3c8a37]=_0x4a36f1<<0x10|_0x4a36f1>>>0x10,_0x21ee93[_0x3c8a37]=_0x4a36f1<<0x8|_0x4a36f1>>>0x18,_0x5ab2d5[_0x3c8a37]=_0x4a36f1,_0x15f41d?(_0x15f41d=_0x499d7b^_0x5077f9[_0x5077f9[_0x5077f9[_0x8767f^_0x499d7b]]],_0x43e87a^=_0x5077f9[_0x5077f9[_0x43e87a]]):_0x15f41d=_0x43e87a=0x1;}}());var _0x3bcfe3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2930b6=_0x2b3c9e['AES']=_0x230cbe[_0x1122bc(0x36b)]({'_doReset':function(){var _0x422559=_0x1122bc,_0x232504;if(!(this[_0x422559(0x80)]&&this['_keyPriorReset']===this[_0x422559(0x323)])){for(var _0x43a160=this[_0x422559(0x7e)]=this[_0x422559(0x323)],_0x313a9c=_0x43a160['words'],_0x3ba7a9=_0x43a160[_0x422559(0x1a4)]/0x4,_0x17b224=this[_0x422559(0x80)]=_0x3ba7a9+0x6,_0x27885b=(_0x17b224+0x1)*0x4,_0xa6e5c2=this['_keySchedule']=[],_0x502f83=0x0;_0x502f83<_0x27885b;_0x502f83++)_0x502f83<_0x3ba7a9?_0xa6e5c2[_0x502f83]=_0x313a9c[_0x502f83]:(_0x232504=_0xa6e5c2[_0x502f83-0x1],_0x502f83%_0x3ba7a9?_0x3ba7a9>0x6&&_0x502f83%_0x3ba7a9==0x4&&(_0x232504=_0x1cb622[_0x232504>>>0x18]<<0x18|_0x1cb622[_0x232504>>>0x10&0xff]<<0x10|_0x1cb622[_0x232504>>>0x8&0xff]<<0x8|_0x1cb622[_0x232504&0xff]):(_0x232504=_0x232504<<0x8|_0x232504>>>0x18,_0x232504=_0x1cb622[_0x232504>>>0x18]<<0x18|_0x1cb622[_0x232504>>>0x10&0xff]<<0x10|_0x1cb622[_0x232504>>>0x8&0xff]<<0x8|_0x1cb622[_0x232504&0xff],_0x232504^=_0x3bcfe3[_0x502f83/_0x3ba7a9|0x0]<<0x18),_0xa6e5c2[_0x502f83]=_0xa6e5c2[_0x502f83-_0x3ba7a9]^_0x232504);for(var _0x2c0097=this['_invKeySchedule']=[],_0x47d78c=0x0;_0x47d78c<_0x27885b;_0x47d78c++){var _0x502f83=_0x27885b-_0x47d78c;if(_0x47d78c%0x4)var _0x232504=_0xa6e5c2[_0x502f83];else var _0x232504=_0xa6e5c2[_0x502f83-0x4];_0x47d78c<0x4||_0x502f83<=0x4?_0x2c0097[_0x47d78c]=_0x232504:_0x2c0097[_0x47d78c]=_0x1139e5[_0x1cb622[_0x232504>>>0x18]]^_0x26b563[_0x1cb622[_0x232504>>>0x10&0xff]]^_0x21ee93[_0x1cb622[_0x232504>>>0x8&0xff]]^_0x5ab2d5[_0x1cb622[_0x232504&0xff]];}}},'encryptBlock':function(_0xfb8a84,_0x2d4738){var _0x311461=_0x1122bc;this[_0x311461(0x17a)](_0xfb8a84,_0x2d4738,this['_keySchedule'],_0x4d2a06,_0x2b3ea2,_0x1ef984,_0x41a192,_0x1cb622);},'decryptBlock':function(_0x53cfb0,_0x23fb71){var _0x37d2c9=_0x1122bc,_0x2464ff=_0x53cfb0[_0x23fb71+0x1];_0x53cfb0[_0x23fb71+0x1]=_0x53cfb0[_0x23fb71+0x3],_0x53cfb0[_0x23fb71+0x3]=_0x2464ff,this['_doCryptBlock'](_0x53cfb0,_0x23fb71,this[_0x37d2c9(0x174)],_0x1139e5,_0x26b563,_0x21ee93,_0x5ab2d5,_0x3b1b8a);var _0x2464ff=_0x53cfb0[_0x23fb71+0x1];_0x53cfb0[_0x23fb71+0x1]=_0x53cfb0[_0x23fb71+0x3],_0x53cfb0[_0x23fb71+0x3]=_0x2464ff;},'_doCryptBlock':function(_0x595763,_0x48bc81,_0xdbb2e7,_0xce9824,_0x5b5c31,_0x12abf0,_0x9ac97c,_0x5043ab){var _0x2437d1=_0x1122bc;for(var _0x5db89e=this[_0x2437d1(0x80)],_0x42fbe4=_0x595763[_0x48bc81]^_0xdbb2e7[0x0],_0x408dca=_0x595763[_0x48bc81+0x1]^_0xdbb2e7[0x1],_0x414c84=_0x595763[_0x48bc81+0x2]^_0xdbb2e7[0x2],_0x3a7e02=_0x595763[_0x48bc81+0x3]^_0xdbb2e7[0x3],_0xf34cba=0x4,_0x1e8b20=0x1;_0x1e8b20<_0x5db89e;_0x1e8b20++){var _0x51cd07=_0xce9824[_0x42fbe4>>>0x18]^_0x5b5c31[_0x408dca>>>0x10&0xff]^_0x12abf0[_0x414c84>>>0x8&0xff]^_0x9ac97c[_0x3a7e02&0xff]^_0xdbb2e7[_0xf34cba++],_0x127748=_0xce9824[_0x408dca>>>0x18]^_0x5b5c31[_0x414c84>>>0x10&0xff]^_0x12abf0[_0x3a7e02>>>0x8&0xff]^_0x9ac97c[_0x42fbe4&0xff]^_0xdbb2e7[_0xf34cba++],_0x26c057=_0xce9824[_0x414c84>>>0x18]^_0x5b5c31[_0x3a7e02>>>0x10&0xff]^_0x12abf0[_0x42fbe4>>>0x8&0xff]^_0x9ac97c[_0x408dca&0xff]^_0xdbb2e7[_0xf34cba++],_0x40936f=_0xce9824[_0x3a7e02>>>0x18]^_0x5b5c31[_0x42fbe4>>>0x10&0xff]^_0x12abf0[_0x408dca>>>0x8&0xff]^_0x9ac97c[_0x414c84&0xff]^_0xdbb2e7[_0xf34cba++];_0x42fbe4=_0x51cd07,_0x408dca=_0x127748,_0x414c84=_0x26c057,_0x3a7e02=_0x40936f;}var _0x51cd07=(_0x5043ab[_0x42fbe4>>>0x18]<<0x18|_0x5043ab[_0x408dca>>>0x10&0xff]<<0x10|_0x5043ab[_0x414c84>>>0x8&0xff]<<0x8|_0x5043ab[_0x3a7e02&0xff])^_0xdbb2e7[_0xf34cba++],_0x127748=(_0x5043ab[_0x408dca>>>0x18]<<0x18|_0x5043ab[_0x414c84>>>0x10&0xff]<<0x10|_0x5043ab[_0x3a7e02>>>0x8&0xff]<<0x8|_0x5043ab[_0x42fbe4&0xff])^_0xdbb2e7[_0xf34cba++],_0x26c057=(_0x5043ab[_0x414c84>>>0x18]<<0x18|_0x5043ab[_0x3a7e02>>>0x10&0xff]<<0x10|_0x5043ab[_0x42fbe4>>>0x8&0xff]<<0x8|_0x5043ab[_0x408dca&0xff])^_0xdbb2e7[_0xf34cba++],_0x40936f=(_0x5043ab[_0x3a7e02>>>0x18]<<0x18|_0x5043ab[_0x42fbe4>>>0x10&0xff]<<0x10|_0x5043ab[_0x408dca>>>0x8&0xff]<<0x8|_0x5043ab[_0x414c84&0xff])^_0xdbb2e7[_0xf34cba++];_0x595763[_0x48bc81]=_0x51cd07,_0x595763[_0x48bc81+0x1]=_0x127748,_0x595763[_0x48bc81+0x2]=_0x26c057,_0x595763[_0x48bc81+0x3]=_0x40936f;},'keySize':0x100/0x20});_0x13bd19['AES']=_0x230cbe[_0x1122bc(0x111)](_0x2930b6);}()),_0x5dd706[_0x4b6a49(0x2b6)];}));}(_0xe2b2c7)),_0xe2b2c7[_0xc7c574(0x3f3)];}var _0x565a7d=_0x9f0106();const _0x5966cc=_0x58088d(_0x565a7d);var _0x24305a=_0x8a71d1();const _0x737d89=_0x58088d(_0x24305a);var _0x27a7b9={'exports':{}},_0x52fe28=_0x27a7b9['exports'],_0x2a7cab;function _0x27ac40(){return _0x2a7cab||(_0x2a7cab=0x1,function(_0x140740,_0x49732b){(function(_0x556bb9,_0xa2015){_0x140740['exports']=_0xa2015(_0x2303bf());}(_0x52fe28,function(_0x373c7d){var _0x518ce0=_0x572e;return _0x373c7d[_0x518ce0(0x93)][_0x518ce0(0x217)];}));}(_0x27a7b9)),_0x27a7b9['exports'];}var _0xa44ce6=_0x27ac40();const _0x3912bd=_0x58088d(_0xa44ce6);var _0x183055={'exports':{}},_0x397627=_0x183055[_0x509db9(0x3f3)],_0x385ee1;function _0x300dd0(){return _0x385ee1||(_0x385ee1=0x1,function(_0x4b421c,_0x237be8){(function(_0x530a44,_0x2c2d6b){var _0xc36650=_0x572e;_0x4b421c[_0xc36650(0x3f3)]=_0x2c2d6b(_0x2303bf());}(_0x397627,function(_0xc3c894){var _0x240687=_0x572e;return(function(){var _0x581a51=_0x572e;if(typeof ArrayBuffer==_0x581a51(0x409)){var _0x23289c=_0xc3c894,_0x19672e=_0x23289c[_0x581a51(0x1cb)],_0x106ffd=_0x19672e[_0x581a51(0x213)],_0xac8949=_0x106ffd['init'],_0x1ebf6e=_0x106ffd[_0x581a51(0x2f7)]=function(_0x26bd9b){var _0x2cf2a8=_0x581a51;if(_0x26bd9b instanceof ArrayBuffer&&(_0x26bd9b=new Uint8Array(_0x26bd9b)),(_0x26bd9b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x26bd9b instanceof Uint8ClampedArray||_0x26bd9b instanceof Int16Array||_0x26bd9b instanceof Uint16Array||_0x26bd9b instanceof Int32Array||_0x26bd9b instanceof Uint32Array||_0x26bd9b instanceof Float32Array||_0x26bd9b instanceof Float64Array)&&(_0x26bd9b=new Uint8Array(_0x26bd9b['buffer'],_0x26bd9b[_0x2cf2a8(0x3d4)],_0x26bd9b['byteLength'])),_0x26bd9b instanceof Uint8Array){for(var _0x564a4c=_0x26bd9b['byteLength'],_0x2ba62a=[],_0x2fa584=0x0;_0x2fa584<_0x564a4c;_0x2fa584++)_0x2ba62a[_0x2fa584>>>0x2]|=_0x26bd9b[_0x2fa584]<<0x18-_0x2fa584%0x4*0x8;_0xac8949[_0x2cf2a8(0xc8)](this,_0x2ba62a,_0x564a4c);}else _0xac8949['apply'](this,arguments);};_0x1ebf6e['prototype']=_0x106ffd;}}()),_0xc3c894['lib'][_0x240687(0x213)];}));}(_0x183055)),_0x183055['exports'];}var _0x4173f9=_0x300dd0();const _0x4a2270=_0x58088d(_0x4173f9);var _0x1a22e8={'exports':{}},_0x4b990f=_0x1a22e8[_0x509db9(0x3f3)],_0x21adac;function _0x4cdcb1(){var _0x346192=_0x509db9;return _0x21adac||(_0x21adac=0x1,function(_0xbdd102,_0x5d3137){(function(_0x20d970,_0x48b25c,_0x28d1e0){var _0x2cbd0e=_0x572e;_0xbdd102[_0x2cbd0e(0x3f3)]=_0x48b25c(_0x2303bf(),_0x285f87());}(_0x4b990f,function(_0x468fc5){var _0x2489be=_0x572e;return _0x468fc5['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x468fc5[_0x2489be(0x188)]['NoPadding'];}));}(_0x1a22e8)),_0x1a22e8[_0x346192(0x3f3)];}var _0x19f378=_0x4cdcb1();const _0x10e367=_0x58088d(_0x19f378);function _0x51d599(_0x45e2a7,_0x1a2d9e){var _0x4cfeb7=_0x509db9;const _0x24cfe7=_0x1a2d9e-_0x45e2a7[_0x4cfeb7(0x2e9)]%_0x1a2d9e,_0x29f2ef=String[_0x4cfeb7(0x315)](_0x24cfe7)[_0x4cfeb7(0x3b2)](_0x24cfe7);return _0x45e2a7+_0x29f2ef;}function _0x447a42(_0x27d8c9,_0x18430f){var _0x18de7b=_0x509db9;const _0x2e0a11=_0x4a2270[_0x18de7b(0x303)](0x10),_0x5a582a=_0x51d599(_0x27d8c9,0x10),_0x2a7c43=_0x5966cc[_0x18de7b(0x1fc)](_0x3912bd['parse'](_0x5a582a),_0x737d89[_0x18de7b(0x3d2)](_0x18430f),{'iv':_0x2e0a11,'padding':_0x10e367});return _0x2e0a11[_0x18de7b(0x27b)](_0x2a7c43[_0x18de7b(0x2fc)])['toString'](_0x737d89);}function _0x132003(){var _0x5106d=_0x509db9;const _0x429316=_0x349663['getGlobalObject']()[_0x5106d(0x318)];if(_0x429316){const _0x205865={'time':Math[_0x5106d(0x179)](Date[_0x5106d(0x22c)]()/0x3e8),'domain':location['hostname']};return _0x447a42(JSON[_0x5106d(0xa1)](_0x205865),_0x429316);}}var _0x2ba689=Object['getOwnPropertyDescriptor'],_0x155794=(_0x493662,_0x4defba,_0x293cbd,_0x319d43)=>{var _0xfa1fa4=_0x509db9;for(var _0x3cb5f9=_0x319d43>0x1?void 0x0:_0x319d43?_0x2ba689(_0x4defba,_0x293cbd):_0x4defba,_0x165376=_0x493662[_0xfa1fa4(0x2e9)]-0x1,_0x464f24;_0x165376>=0x0;_0x165376--)(_0x464f24=_0x493662[_0x165376])&&(_0x3cb5f9=_0x464f24(_0x3cb5f9)||_0x3cb5f9);return _0x3cb5f9;},_0x45520a=(_0x208593,_0x55dfdd)=>(_0x1d2962,_0x4d1baa)=>_0x55dfdd(_0x1d2962,_0x4d1baa,_0x208593);let _0x16dfd7=class{constructor(_0x16b45e){var _0x52431d=_0x509db9;this[_0x52431d(0x2b2)]=_0x16b45e,this['_initRequestHeader']();}[_0x509db9(0x393)](){var _0x3b160a=_0x509db9;this[_0x3b160a(0x2b2)]['registerHTTPInterceptor']({'interceptor':(_0x8d7af6,_0x54c216)=>{var _0x2b2f86=_0x3b160a;const _0x1120d4=_0x8d7af6[_0x2b2f86(0x375)],_0x35a44a=_0x132003();return _0x35a44a&&_0x1120d4[_0x2b2f86(0xa8)](_0x2b2f86(0xcf),_0x35a44a),_0x54c216(_0x8d7af6);}});}};_0x16dfd7=_0x155794([_0x45520a(0x0,_0x593ae3['Inject'](_0x38c133[_0x509db9(0x3e6)]))],_0x16dfd7);var _0x3ea10a=Object[_0x509db9(0x3d7)],_0x7aac=(_0x1d7db2,_0x1467f7,_0x5bd937,_0x389f68)=>{var _0x24e64d=_0x509db9;for(var _0xfade0=_0x389f68>0x1?void 0x0:_0x389f68?_0x3ea10a(_0x1467f7,_0x5bd937):_0x1467f7,_0x381cfb=_0x1d7db2[_0x24e64d(0x2e9)]-0x1,_0x239e54;_0x381cfb>=0x0;_0x381cfb--)(_0x239e54=_0x1d7db2[_0x381cfb])&&(_0xfade0=_0x239e54(_0xfade0)||_0xfade0);return _0xfade0;},_0x2632f6=(_0x311df2,_0x288987)=>(_0x399a12,_0x2c911f)=>_0x288987(_0x399a12,_0x2c911f,_0x311df2);_0x313ef4[_0x509db9(0xf7)]=class extends _0x593ae3[_0x509db9(0x2b9)]{constructor(_0xf5b160,_0x4005e5,_0x3424ab){var _0x56e956=_0x509db9;super(),_0x309c0d(this,_0x56e956(0x2c1),new _0x2ff251['BehaviorSubject'](null)),_0x309c0d(this,_0x56e956(0x10f),this[_0x56e956(0x2c1)][_0x56e956(0x203)]()),(this[_0x56e956(0x2a8)]=_0xf5b160,this[_0x56e956(0x378)]=_0x4005e5,this[_0x56e956(0x86)]=_0x3424ab);}async[_0x509db9(0x16e)](_0x5a9818,_0x40d4c0,_0xb8fc0a){var _0x5b0427=_0x509db9;this[_0x5b0427(0x2c1)][_0x5b0427(0xda)]({'unitId':_0x5a9818,'type':_0x40d4c0});let _0x1dcb00=null;switch(_0x40d4c0){case _0x5dd1fb['UNIVER_SHEET']:{_0x1dcb00=await this[_0x5b0427(0x378)][_0x5b0427(0x222)](_0x5a9818,_0xb8fc0a);break;}case _0x5dd1fb[_0x5b0427(0x3b0)]:{_0x1dcb00=await this[_0x5b0427(0x378)]['loadDoc'](_0x5a9818,_0xb8fc0a);break;}default:{this['_logService'][_0x5b0427(0x2cd)](_0x5b0427(0x22a),_0x5b0427(0x22d));break;}}return _0x1dcb00;}async['loadUnit'](_0x4dc5fc,_0x1dee01,_0x44c3fd){var _0x168d54=_0x509db9,_0x3a29b9;this['_unitInfo$']['next']({'unitId':_0x4dc5fc,'type':_0x1dee01,'subUnitId':_0x44c3fd});let _0x1305f3=0x0;const _0x1fb04f=await((_0x3a29b9=this[_0x168d54(0x86)])==null?void 0x0:_0x3a29b9[_0x168d54(0x364)](_0x4dc5fc));return _0x1fb04f&&(_0x1fb04f[_0x168d54(0x105)]||_0x1fb04f[_0x168d54(0x135)][_0x168d54(0x2e9)]!==0x0)&&(_0x1305f3=_0x1fb04f[_0x168d54(0x168)]),_0x1305f3===0x0&&this['_logService'][_0x168d54(0x26b)]('[DataLoaderService]',_0x168d54(0x236)),this[_0x168d54(0x16e)](_0x4dc5fc,_0x1dee01,_0x1305f3);}},_0x313ef4[_0x509db9(0xf7)]=_0x7aac([_0x2632f6(0x0,_0x593ae3['ILogService']),_0x2632f6(0x1,_0x593ae3[_0x509db9(0x28b)](_0xdad847[_0x509db9(0xd3)])),_0x2632f6(0x2,_0x593ae3['Optional'](_0x192e9c))],_0x313ef4['DataLoaderService']);var _0xcd0b76=Object[_0x509db9(0x3d7)],_0x3d9f2f=(_0x2dcd09,_0xa9c461,_0x5d185e,_0x4fb3b6)=>{var _0xb5cb93=_0x509db9;for(var _0x4ae1b6=_0x4fb3b6>0x1?void 0x0:_0x4fb3b6?_0xcd0b76(_0xa9c461,_0x5d185e):_0xa9c461,_0x3757a5=_0x2dcd09[_0xb5cb93(0x2e9)]-0x1,_0x49da79;_0x3757a5>=0x0;_0x3757a5--)(_0x49da79=_0x2dcd09[_0x3757a5])&&(_0x4ae1b6=_0x49da79(_0x4ae1b6)||_0x4ae1b6);return _0x4ae1b6;},_0xaedea1=(_0x30dcde,_0x3bcc7c)=>(_0x224bad,_0x301b89)=>_0x3bcc7c(_0x224bad,_0x301b89,_0x30dcde);const _0x3ede90=[_0x509db9(0x24b),_0x509db9(0x368),_0x509db9(0x2b4),_0x509db9(0x2dc),'image/bmp'],_0x2553f4=0x5*0x400*0x400,_0x40c5d4=_0x509db9(0x34a),_0x3d03f4=_0x509db9(0x194);_0x313ef4[_0x509db9(0x2c9)]=class{constructor(_0x1c054b,_0x317a6b,_0x2e127f){var _0x41ab58=_0x509db9;_0x309c0d(this,_0x41ab58(0x18d),0x0),_0x309c0d(this,'_change$',new _0x2ff251['Subject']()),_0x309c0d(this,_0x41ab58(0x1cc),this[_0x41ab58(0x2dd)]),_0x309c0d(this,_0x41ab58(0x1f5),new Map()),(this[_0x41ab58(0x2b2)]=_0x1c054b,this['_configService']=_0x317a6b,this[_0x41ab58(0x281)]=_0x2e127f);}['setWaitCount'](_0x22ace6){var _0xeffb63=_0x509db9;this['_waitCount']=_0x22ace6,this[_0xeffb63(0x2dd)][_0xeffb63(0xda)](_0x22ace6);}[_0x509db9(0x2db)](_0x4a2317,_0x56cd44){var _0x4e55d1=_0x509db9;if(_0x56cd44===_0x3fed8b['ImageSourceType'][_0x4e55d1(0x2ae)]){const _0x5cbb39=new Image();return _0x5cbb39[_0x4e55d1(0x23f)]=_0x4a2317,_0x5cbb39;}return this[_0x4e55d1(0x1f5)][_0x4e55d1(0xa5)](_0x4a2317);}['addImageSourceCache'](_0x44dc7d,_0x4e9622,_0x76a53e){var _0x4e7d8d=_0x509db9;_0x4e9622===_0x3fed8b[_0x4e7d8d(0x16b)][_0x4e7d8d(0x2ae)]||_0x76a53e==null||this[_0x4e7d8d(0x1f5)]['set'](_0x44dc7d,_0x76a53e);}async[_0x509db9(0x2b3)](_0x25569b){var _0x2a3eac=_0x509db9;try{const _0x369ddc=this[_0x2a3eac(0x3fc)](this[_0x2a3eac(0x348)](),''+_0x25569b),_0x3f9fab=(await this[_0x2a3eac(0x2b2)][_0x2a3eac(0xa5)](_0x369ddc))[_0x2a3eac(0x3dc)];if(_0x3f9fab[_0x2a3eac(0x2cd)]&&_0x3f9fab[_0x2a3eac(0x2cd)][_0x2a3eac(0x142)]===_0x56ddea['OK']){const _0x6b2f09=new URL(_0x3f9fab['url'],this[_0x2a3eac(0x2fd)]())[_0x2a3eac(0x1fe)]();return Promise[_0x2a3eac(0x39a)](_0x6b2f09);}return Promise[_0x2a3eac(0x256)](_0x3f9fab[_0x2a3eac(0x2cd)]);}catch(_0x522a61){return Promise['reject'](_0x522a61);}}async[_0x509db9(0x1ae)](_0x3d032c){var _0x24e8a8=_0x509db9;let _0x50dbc0='';if(!_0x3ede90[_0x24e8a8(0x16f)](_0x3d032c[_0x24e8a8(0xfd)]))return this[_0x24e8a8(0x3a8)](),Promise[_0x24e8a8(0x256)](new Error(_0x3fed8b[_0x24e8a8(0x297)]['ERROR_IMAGE_TYPE']));if(_0x3d032c['size']>_0x2553f4)return this[_0x24e8a8(0x3a8)](),Promise['reject'](new Error(_0x3fed8b['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0xc8b505=new FormData();_0xc8b505[_0x24e8a8(0x2b5)](_0x24e8a8(0x12e),_0x3d032c);const _0x12d9ad=this[_0x24e8a8(0x281)][_0x24e8a8(0x18e)](),_0x550d78=_0x12d9ad==null?void 0x0:_0x12d9ad[_0x24e8a8(0x382)]();if(!_0x550d78)throw new Error('unitId\x20is\x20not\x20found');const _0x1cc7e9=this['_getUploadFileURL']()+_0x24e8a8(0x2e6)+_0x3d032c['size'][_0x24e8a8(0x1fe)]()+_0x24e8a8(0x3aa)+_0x138411[_0x24e8a8(0x1b0)]+_0x24e8a8(0x27e)+encodeURIComponent(_0x550d78),_0x3d0715={'body':_0xc8b505},_0x2ed1aa=(await this['_httpService']['post'](_0x1cc7e9,_0x3d0715))[_0x24e8a8(0x3dc)];if(typeof _0x2ed1aa[_0x24e8a8(0x294)]!=_0x24e8a8(0x209))return this['_decreaseWaiting'](),Promise[_0x24e8a8(0x256)](new Error(_0x3fed8b[_0x24e8a8(0x297)][_0x24e8a8(0x14b)]));_0x50dbc0=_0x2ed1aa[_0x24e8a8(0x294)];}catch{return this['_decreaseWaiting'](),Promise[_0x24e8a8(0x256)](new Error(_0x3fed8b[_0x24e8a8(0x297)]['ERROR_IMAGE']));}return new Promise((_0x22f8c4,_0x36ab56)=>{const _0x4e6c1d=new FileReader();_0x4e6c1d['readAsDataURL'](_0x3d032c),_0x4e6c1d['onload']=_0x170102=>{var _0x4baddc=_0x572e,_0x4d5d5e;const _0x424775=(_0x4d5d5e=_0x170102[_0x4baddc(0xb9)])==null?void 0x0:_0x4d5d5e[_0x4baddc(0x419)];if(_0x424775==null){this[_0x4baddc(0x3a8)](),_0x36ab56(new Error(_0x3fed8b['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x5a9e53=_0x593ae3[_0x4baddc(0x29d)](0x6);_0x22f8c4({'imageId':_0x5a9e53,'imageSourceType':_0x3fed8b[_0x4baddc(0x16b)][_0x4baddc(0xce)],'source':_0x50dbc0,'base64Cache':_0x424775,'status':_0x3fed8b[_0x4baddc(0x297)]['SUCCUSS']}),this[_0x4baddc(0x3a8)]();};});}[_0x509db9(0xc4)](){var _0x373a02=_0x509db9,_0x49d8b3;const _0x3c709d=this[_0x373a02(0x15b)]['getConfig'](_0x9fbd4f);return(_0x49d8b3=_0x3c709d==null?void 0x0:_0x3c709d[_0x373a02(0x245)])!=null?_0x49d8b3:_0x40c5d4;}[_0x509db9(0x348)](){var _0x4aca9f=_0x509db9,_0x1f5e8d;const _0x53db18=this['_configService']['getConfig'](_0x9fbd4f);return(_0x1f5e8d=_0x53db18==null?void 0x0:_0x53db18[_0x4aca9f(0x28e)])!=null?_0x1f5e8d:_0x3d03f4;}[_0x509db9(0x2fd)](){var _0x26a324=_0x509db9,_0x362633;const _0x327d98=this[_0x26a324(0x15b)][_0x26a324(0x1a7)](_0x9fbd4f);return(_0x362633=_0x327d98==null?void 0x0:_0x327d98[_0x26a324(0x18a)])!=null?_0x362633:location[_0x26a324(0x30a)];}[_0x509db9(0x3fc)](_0x2a6236,_0x2081a1){var _0x1236b=_0x509db9;return _0x2a6236[_0x1236b(0x416)](_0x1236b(0x2c4),_0x2081a1);}[_0x509db9(0x3a8)](){var _0x42c713=_0x509db9;this[_0x42c713(0x18d)]-=0x1,this[_0x42c713(0x2dd)]['next'](this[_0x42c713(0x18d)]);}},_0x313ef4[_0x509db9(0x2c9)]=_0x3d9f2f([_0xaedea1(0x0,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)])),_0xaedea1(0x1,_0x593ae3[_0x509db9(0x1c0)]),_0xaedea1(0x2,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x1bc)]))],_0x313ef4[_0x509db9(0x2c9)]);var _0x30fb2a=Object[_0x509db9(0x3d7)],_0x403e84=(_0x3ee570,_0x3e0d24,_0x2959bf,_0x519625)=>{for(var _0x6b2c49=_0x519625>0x1?void 0x0:_0x519625?_0x30fb2a(_0x3e0d24,_0x2959bf):_0x3e0d24,_0x799086=_0x3ee570['length']-0x1,_0x4e938d;_0x799086>=0x0;_0x799086--)(_0x4e938d=_0x3ee570[_0x799086])&&(_0x6b2c49=_0x4e938d(_0x6b2c49)||_0x6b2c49);return _0x6b2c49;},_0x53e041=(_0x1dd829,_0x59d29d)=>(_0x5805b8,_0x37286e)=>_0x59d29d(_0x5805b8,_0x37286e,_0x1dd829);const _0x20e0b9=_0x509db9(0x3a5);_0x313ef4['MentionIoHttpService']=class{constructor(_0x4dc5a7,_0x49a9f3){var _0x26832f=_0x509db9;this[_0x26832f(0x15b)]=_0x4dc5a7,this[_0x26832f(0x363)]=_0x49a9f3;}[_0x509db9(0x16d)](){var _0x2f55e4=_0x509db9,_0x2c2516;const _0x22ba82=this[_0x2f55e4(0x15b)][_0x2f55e4(0x1a7)](_0x9fbd4f);return(_0x2c2516=_0x22ba82==null?void 0x0:_0x22ba82[_0x2f55e4(0x38d)])!=null?_0x2c2516:_0x20e0b9;}async[_0x509db9(0x387)](_0x5623cf){var _0x145043=_0x509db9;const _0x1e093d=this[_0x145043(0x16d)]()+'/collaborator';return{'list':[{'title':_0x145043(0x1c9),'mentions':(await this[_0x145043(0x363)]['get'](_0x1e093d,{'params':{'objectID':_0x5623cf[_0x145043(0x339)],'unitID':_0x5623cf[_0x145043(0x339)]}}))[_0x145043(0x3dc)][_0x145043(0x344)]['map'](_0x565880=>({'objectId':_0x565880['id'],'name':_0x565880[_0x145043(0x251)][_0x145043(0x371)],'metadata':{'icon':_0x565880['subject']['avatar']},'label':_0x565880[_0x145043(0x251)][_0x145043(0x371)],'objectType':_0x593ae3[_0x145043(0xb5)]['PERSON']})),'metadata':{},'type':_0x593ae3[_0x145043(0xb5)][_0x145043(0x330)]}]};}},_0x313ef4['MentionIoHttpService']=_0x403e84([_0x53e041(0x0,_0x593ae3[_0x509db9(0x28b)](_0x593ae3['IConfigService'])),_0x53e041(0x1,_0x593ae3['Inject'](_0x38c133[_0x509db9(0x3e6)]))],_0x313ef4[_0x509db9(0x2bb)]);var _0x582f80=Object['getOwnPropertyDescriptor'],_0x4aee48=(_0x57a81c,_0x502ccb,_0x299ee6,_0x5e8fbb)=>{var _0x826a40=_0x509db9;for(var _0x4f2645=_0x5e8fbb>0x1?void 0x0:_0x5e8fbb?_0x582f80(_0x502ccb,_0x299ee6):_0x502ccb,_0x39876c=_0x57a81c[_0x826a40(0x2e9)]-0x1,_0x2d07be;_0x39876c>=0x0;_0x39876c--)(_0x2d07be=_0x57a81c[_0x39876c])&&(_0x4f2645=_0x2d07be(_0x4f2645)||_0x4f2645);return _0x4f2645;},_0x203e3b=(_0x4d211b,_0x150e89)=>(_0x56c278,_0x43c473)=>_0x150e89(_0x56c278,_0x43c473,_0x4d211b);let _0x5878a5=class extends _0x593ae3['RxDisposable']{constructor(_0x37ab89,_0x1cafed,_0x4dbd54,_0x2d15b3,_0x55a1c1){var _0xdad672=_0x509db9;super(),this['_injector']=_0x37ab89,this['_univerInstanceService']=_0x1cafed,this[_0xdad672(0x1de)]=_0x4dbd54,this['_collaborationSessionService']=_0x2d15b3,this[_0xdad672(0x20c)]=_0x55a1c1,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x509db9(0x347)](){var _0x161200=_0x509db9;const _0x3b0c5d=async _0x39c16e=>{var _0x5c8acb=_0x572e;(await this['_collaborationSessionService'][_0x5c8acb(0x296)](_0x39c16e))['event$']['pipe'](_0x137fa6[_0x5c8acb(0xbd)](_0x4c2ee1=>_0x4c2ee1[_0x5c8acb(0x240)]===_0xdad847[_0x5c8acb(0x343)]['SHOULD_CLOSE_CONN']),_0x137fa6['takeUntil'](this[_0x5c8acb(0x429)]))[_0x5c8acb(0xa2)](_0x87eb78=>{var _0x8c4285=_0x5c8acb;const _0x2af369=_0x87eb78,{reason:_0x139ece}=_0x2af369[_0x8c4285(0xc3)];this[_0x8c4285(0x20c)]['emitEvent']({'id':_0x7c51aa[_0x8c4285(0x1c4)],'data':_0x139ece}),this[_0x8c4285(0x1de)][_0x8c4285(0x23a)](new _0x196ab6[(_0x8c4285(0x2d3))](_0x39c16e)['id'],!0x1),this[_0x8c4285(0x1f2)][_0x8c4285(0x32f)](_0x39c16e);});};_0x2ff251[_0x161200(0x1e6)](this[_0x161200(0x281)][_0x161200(0x144)](_0x593ae3[_0x161200(0x119)][_0x161200(0x155)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x593ae3['UniverInstanceType'][_0x161200(0x3b0)]))['pipe'](_0x137fa6[_0x161200(0xb1)](_0xf7122=>_0xf7122['getUnitId']()),_0x137fa6[_0x161200(0xbd)](_0x2b87a2=>!_0x593ae3[_0x161200(0x42a)](_0x2b87a2)),_0x137fa6['takeUntil'](this[_0x161200(0x429)]))[_0x161200(0xa2)](_0x4cc475=>{_0x3b0c5d(_0x4cc475);});}[_0x509db9(0x1e7)](){var _0x5c05f9=_0x509db9;const _0x4b3405=async _0x1d3cec=>{var _0x33c15a=_0x572e;const _0x32160a=await this[_0x33c15a(0x1f2)]['requireSession'](_0x1d3cec),_0x304073=this[_0x33c15a(0x397)]['get'](_0x196ab6[_0x33c15a(0x267)]);_0x32160a['event$'][_0x33c15a(0x8f)](_0x137fa6[_0x33c15a(0xbd)](_0x1f3176=>_0x1f3176[_0x33c15a(0x240)]===_0xdad847[_0x33c15a(0x343)][_0x33c15a(0x13a)]),_0x137fa6[_0x33c15a(0x1b7)](this[_0x33c15a(0x429)]))['subscribe'](_0x535f36=>{var _0x3fc0b1=_0x33c15a;const _0x40da2f=_0x535f36,{objectId:_0x3b8978}=_0x40da2f[_0x3fc0b1(0xc3)];_0x3b8978===_0x1d3cec?_0x304073[_0x3fc0b1(0x300)](_0x1d3cec):_0x304073[_0x3fc0b1(0x3ab)](_0x1d3cec,_0x3b8978);});};_0x2ff251['merge'](this[_0x5c05f9(0x281)][_0x5c05f9(0x144)](_0x593ae3[_0x5c05f9(0x119)][_0x5c05f9(0x155)]))['pipe'](_0x137fa6['map'](_0x2e1549=>_0x2e1549[_0x5c05f9(0x382)]()),_0x137fa6[_0x5c05f9(0xbd)](_0x57dc6b=>!_0x593ae3[_0x5c05f9(0x42a)](_0x57dc6b)),_0x137fa6[_0x5c05f9(0x1b7)](this[_0x5c05f9(0x429)]))['subscribe'](_0x27ae96=>{_0x4b3405(_0x27ae96);});}};_0x5878a5=_0x4aee48([_0x203e3b(0x0,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x203e3b(0x1,_0x593ae3[_0x509db9(0x1bc)]),_0x203e3b(0x2,_0x593ae3[_0x509db9(0x3d5)]),_0x203e3b(0x3,_0x593ae3['Inject'](_0x313ef4['CollaborationSessionService'])),_0x203e3b(0x4,_0x593ae3['Inject'](_0x1e55fc))],_0x5878a5);var _0x3fe915=Object['getOwnPropertyDescriptor'],_0xa7f767=(_0x19785f,_0x1c19ae,_0x1b48fc,_0x4f11db)=>{var _0x2879ca=_0x509db9;for(var _0x5bd4c4=_0x4f11db>0x1?void 0x0:_0x4f11db?_0x3fe915(_0x1c19ae,_0x1b48fc):_0x1c19ae,_0x537a87=_0x19785f[_0x2879ca(0x2e9)]-0x1,_0x496d3d;_0x537a87>=0x0;_0x537a87--)(_0x496d3d=_0x19785f[_0x537a87])&&(_0x5bd4c4=_0x496d3d(_0x5bd4c4)||_0x5bd4c4);return _0x5bd4c4;},_0x564755=(_0x5a6bd9,_0xaa807)=>(_0x16ea3b,_0x4ddf07)=>_0xaa807(_0x16ea3b,_0x4ddf07,_0x5a6bd9);_0x313ef4[_0x509db9(0x2f8)]=class{constructor(_0x5c2978,_0x4f9795){var _0x55c1d8=_0x509db9;this[_0x55c1d8(0x15b)]=_0x5c2978,this[_0x55c1d8(0x2b2)]=_0x4f9795;}async[_0x509db9(0x25a)](_0x175ad8,_0x166a42){var _0x48c5e4=_0x509db9,_0x63ec76;const {unitID:_0xc941ee,type:_0x5e67ff,revision:_0x4515b2=0x0}=_0x166a42,_0x590781=this[_0x48c5e4(0x349)]()+'/'+_0x5e67ff+_0x48c5e4(0x151)+_0xc941ee+_0x48c5e4(0x1c2)+_0x4515b2,_0x22aa75=(await this[_0x48c5e4(0x2b2)][_0x48c5e4(0xa5)](_0x590781))[_0x48c5e4(0x3dc)],_0x319167=(_0x63ec76=_0x22aa75[_0x48c5e4(0x3a1)])==null?void 0x0:_0x63ec76[_0x48c5e4(0x16c)];if(_0x319167){const _0xe3e06=_0x319167==null?void 0x0:_0x319167[_0x48c5e4(0x3f0)],_0x239b96=_0xdad847[_0x48c5e4(0x377)][_0x48c5e4(0x3ac)](_0xdad847[_0x48c5e4(0x1f1)](_0xe3e06));_0x319167[_0x48c5e4(0x3f0)]=_0x239b96,Object[_0x48c5e4(0x312)](_0x319167[_0x48c5e4(0x326)])[_0x48c5e4(0x10a)](([,_0x5ab009])=>{var _0x28e17f=_0x48c5e4;const _0x5cf96c=_0x5ab009[_0x28e17f(0x3f0)],_0x49d5fd=_0xdad847['textEncoder']['encode'](_0xdad847['b64DecodeUnicode'](_0x5cf96c));_0x5ab009[_0x28e17f(0x3f0)]=_0x49d5fd;});}return _0x22aa75;}async['getSheetBlock'](_0x38673b,_0x1fa33f){var _0x39320b=_0x509db9;const {unitID:_0x1d442f,type:_0x52eae6,blockID:_0x2f6fc2}=_0x1fa33f,_0x2ebb10=this[_0x39320b(0x289)]()+'/'+_0x52eae6+_0x39320b(0x151)+_0x1d442f+'/block/'+_0x2f6fc2;return(await this[_0x39320b(0x2b2)]['get'](_0x2ebb10))['body'];}async[_0x509db9(0x28a)](_0x5bd13b,_0x1ffa5a){var _0x40dd0e=_0x509db9;const {unitID:_0x18454f,type:_0x54e189,blockID:_0x567111}=_0x1ffa5a,_0x3512a1=this[_0x40dd0e(0x289)]()+_0x40dd0e(0x32d)+_0x54e189+'/unit/'+_0x18454f+_0x40dd0e(0x32d)+_0x567111;return(await this[_0x40dd0e(0x2b2)][_0x40dd0e(0xa5)](_0x3512a1))[_0x40dd0e(0x3dc)];}async[_0x509db9(0x25f)](_0x46ccfd,_0x55e8a1){var _0x5eccd6=_0x509db9;const {unitID:_0x3895e6,type:_0x45b9c1,from:_0x28fbda,to:_0x2a1c21}=_0x55e8a1,_0x5ef216=this[_0x5eccd6(0x289)]()+'/'+_0x45b9c1+_0x5eccd6(0x151)+_0x3895e6+'/fetchmissing?from='+_0x28fbda+'&to='+_0x2a1c21;return(await this['_httpService'][_0x5eccd6(0xa5)](_0x5ef216))[_0x5eccd6(0x3dc)];}[_0x509db9(0x349)](){var _0x3c5496=_0x509db9,_0x53374e;return(_0x53374e=this[_0x3c5496(0x15b)][_0x3c5496(0x1a7)](_0x16ba83))!=null?_0x53374e:this[_0x3c5496(0x289)]();}[_0x509db9(0x289)](){var _0x3905b0=_0x509db9,_0x59c39c;const _0x5b753e=this['_configService'][_0x3905b0(0x1a7)](_0x9fbd4f);return(_0x59c39c=_0x5b753e==null?void 0x0:_0x5b753e[_0x3905b0(0x185)])!=null?_0x59c39c:_0x21d126;}async[_0x509db9(0x13d)](_0x540362,_0x2853ac){var _0x27d402=_0x509db9;const _0x3408d5=_0x27d402(0xfa)+_0x2853ac[_0x27d402(0xfd)]+'/unit/'+_0x2853ac['unitID']+_0x27d402(0x14a);return(await this['_httpService'][_0x27d402(0xa5)](_0x3408d5,{'params':{'resourceId':JSON[_0x27d402(0xa1)](_0x2853ac[_0x27d402(0x167)])}}))[_0x27d402(0x3dc)];}[_0x509db9(0x311)](){var _0x4fa402=_0x509db9;throw new Error(_0x4fa402(0x2b8));}[_0x509db9(0x208)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x509db9(0x243)](){var _0x20c928=_0x509db9;throw new Error(_0x20c928(0x2b8));}[_0x509db9(0x3bd)](){var _0x2df5de=_0x509db9;throw new Error(_0x2df5de(0x2b8));}['copyFileMeta'](){var _0x1a0d41=_0x509db9;throw new Error(_0x1a0d41(0x2b8));}[_0x509db9(0x282)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x313ef4[_0x509db9(0x2f8)]=_0xa7f767([_0x564755(0x0,_0x593ae3[_0x509db9(0x1c0)]),_0x564755(0x1,_0x593ae3[_0x509db9(0x28b)](_0x38c133[_0x509db9(0x3e6)]))],_0x313ef4[_0x509db9(0x2f8)]);var _0x5e1cdd=Object['getOwnPropertyDescriptor'],_0x57e67b=(_0x3b88fd,_0x314ebd,_0x3f2c55,_0x32033e)=>{var _0xec64a4=_0x509db9;for(var _0x3385f4=_0x32033e>0x1?void 0x0:_0x32033e?_0x5e1cdd(_0x314ebd,_0x3f2c55):_0x314ebd,_0x5352df=_0x3b88fd[_0xec64a4(0x2e9)]-0x1,_0x9143bf;_0x5352df>=0x0;_0x5352df--)(_0x9143bf=_0x3b88fd[_0x5352df])&&(_0x3385f4=_0x9143bf(_0x3385f4)||_0x3385f4);return _0x3385f4;},_0x2c4d56=(_0x1eeb4a,_0x1f3eac)=>(_0x2f5a9e,_0x56ef90)=>_0x1f3eac(_0x2f5a9e,_0x56ef90,_0x1eeb4a);_0x313ef4[_0x509db9(0x121)]=class extends _0x593ae3[_0x509db9(0xef)]{constructor(_0x4ddc49,_0x2f5bbf,_0x56ceb9,_0x27bc30,_0x1f96bf){var _0x1f071c=_0x509db9;super(_0x4ddc49,_0x2f5bbf,_0x56ceb9),this['_transformService']=_0x27bc30,this[_0x1f071c(0x2a8)]=_0x1f96bf;}[_0x509db9(0x130)](_0xc49084,_0x21b413){var _0x10b728=_0x509db9;const _0x5ad6b5=this[_0x10b728(0x182)](_0xc49084);if(_0x5ad6b5)try{const _0x408c95=this[_0x10b728(0x1e3)](_0x5ad6b5,_0x21b413);this['_substituteUndoStack'](_0xc49084,_0x408c95);}catch(_0xfb9a5d){this['_logService']['error'](_0x10b728(0x36a),_0xfb9a5d),this['_clearUndo'](_0xc49084);}const _0x189603=this[_0x10b728(0x3e7)](_0xc49084);if(_0x189603)try{const _0x3600ab=this[_0x10b728(0x1e3)](_0x189603,_0x21b413);this[_0x10b728(0xcc)](_0xc49084,_0x3600ab);}catch(_0x18597d){this[_0x10b728(0x2a8)]['error'](_0x18597d),this[_0x10b728(0x113)](_0xc49084);}}['_clearUndo'](_0x136670){var _0x56f0d9=_0x509db9;const _0x567356=this[_0x56f0d9(0x182)](_0x136670);_0x567356&&(_0x567356[_0x56f0d9(0x2e9)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x514156){var _0x1d1897=_0x509db9;const _0x513138=this[_0x1d1897(0x3e7)](_0x514156);_0x513138&&(_0x513138[_0x1d1897(0x2e9)]=0x0,this[_0x1d1897(0x8b)]());}[_0x509db9(0x41e)](_0x114bb6,_0x1c1777){var _0xd38668=_0x509db9;this[_0xd38668(0x212)][_0xd38668(0xa8)](_0x114bb6,_0x1c1777),this[_0xd38668(0x8b)]();}[_0x509db9(0xcc)](_0x2b6aa7,_0x4595bb){var _0x56ba0a=_0x509db9;this[_0x56ba0a(0x3fa)]['set'](_0x2b6aa7,_0x4595bb),this[_0x56ba0a(0x8b)]();}['_transformStack'](_0x541f58,_0x12fa1c){var _0x24d91c=_0x509db9;const _0x36cb8f=[];let _0x1eafc4=_0x12fa1c,_0x4633f9=_0x12fa1c;for(let _0x52d894=_0x541f58[_0x24d91c(0x2e9)]-0x1;_0x52d894>=0x0;_0x52d894--){const {unitID:_0x3d4e0f,undoMutations:_0xd47e34,redoMutations:_0x35532c}=_0x541f58[_0x52d894],_0x4f2c7e=this[_0x24d91c(0x3b9)][_0x24d91c(0x220)](_0x1eafc4,_0xd47e34),_0x25e4d7=this[_0x24d91c(0x3b9)]['transformMutationsWithChangeset'](_0x4633f9,_0x35532c);if(_0xdad847[_0x24d91c(0x19f)](_0x4f2c7e)||_0xdad847[_0x24d91c(0x19f)](_0x25e4d7)){this[_0x24d91c(0x2a8)][_0x24d91c(0x2cd)](_0x24d91c(0x36a),_0x24d91c(0xe7),_0x4f2c7e,_0x25e4d7);break;}_0x1eafc4=_0x4f2c7e[_0x24d91c(0x249)],_0x4633f9=_0x25e4d7[_0x24d91c(0x249)],_0x36cb8f[_0x24d91c(0x273)]({'unitID':_0x3d4e0f,'undoMutations':_0x4f2c7e[_0x24d91c(0x2f4)],'redoMutations':_0x25e4d7[_0x24d91c(0x2f4)]});}return _0x36cb8f[_0x24d91c(0x332)]();}},_0x313ef4['CollaborativeUndoRedoService']=_0x57e67b([_0x2c4d56(0x0,_0x593ae3[_0x509db9(0x1bc)]),_0x2c4d56(0x1,_0x593ae3[_0x509db9(0x170)]),_0x2c4d56(0x2,_0x593ae3[_0x509db9(0xe0)]),_0x2c4d56(0x3,_0xdad847['ITransformService']),_0x2c4d56(0x4,_0x593ae3[_0x509db9(0x1a8)])],_0x313ef4[_0x509db9(0x121)]);var _0x3e7c50=Object[_0x509db9(0xd5)],_0x2f5bbe=Object[_0x509db9(0x3d7)],_0x10fe37=(_0x1ca0d5,_0x520d4f,_0x3c1e43)=>_0x520d4f in _0x1ca0d5?_0x3e7c50(_0x1ca0d5,_0x520d4f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c1e43}):_0x1ca0d5[_0x520d4f]=_0x3c1e43,_0x13e5e0=(_0x5332bc,_0x7dd517,_0x430e03,_0x2ff82d)=>{var _0xf25954=_0x509db9;for(var _0x3f82b8=_0x2ff82d>0x1?void 0x0:_0x2ff82d?_0x2f5bbe(_0x7dd517,_0x430e03):_0x7dd517,_0xf64a47=_0x5332bc[_0xf25954(0x2e9)]-0x1,_0x1a209b;_0xf64a47>=0x0;_0xf64a47--)(_0x1a209b=_0x5332bc[_0xf64a47])&&(_0x3f82b8=_0x1a209b(_0x3f82b8)||_0x3f82b8);return _0x3f82b8;},_0x210dce=(_0x309c77,_0x394100)=>(_0x4c6680,_0x1f457f)=>_0x394100(_0x4c6680,_0x1f457f,_0x309c77),_0x4cceca=(_0x5900f7,_0x82cda6,_0x5f1281)=>_0x10fe37(_0x5900f7,_0x82cda6+'',_0x5f1281);const _0x3b4b03=_0x509db9(0x169);_0x313ef4[_0x509db9(0x1e4)]=class extends _0x593ae3[_0x509db9(0xc6)]{constructor(_0x39278b,_0x7afacf,_0x12b9d7,_0x581436){var _0xa36e6=_0x509db9;super(),_0x309c0d(this,_0xa36e6(0x3c4)),(this['_logService']=_0x7afacf,this[_0xa36e6(0x397)]=_0x12b9d7,this[_0xa36e6(0x15b)]=_0x581436);const {..._0x424b05}=_0x593ae3['merge']({},_0x39e350,_0x39278b);if(!_0x424b05[_0xa36e6(0xcd)])throw new Error(_0xa36e6(0x34d));this[_0xa36e6(0x3c4)]=_0x424b05,this[_0xa36e6(0x15b)][_0xa36e6(0xcb)](_0x9fbd4f,_0x424b05);}['onStarting'](){var _0x187d10=_0x509db9;this[_0x187d10(0x24f)](),this[_0x187d10(0x146)]();}['_registerDependencies'](){var _0x121e18=_0x509db9,_0x49ce73,_0x5982f7;this['_injector'][_0x121e18(0x34c)](_0x593ae3[_0x121e18(0x221)])&&this[_0x121e18(0x2a8)]['error']('[UniverCollaborationClientPlugin]',_0x121e18(0x131));const _0x1346d5=_0x593ae3[_0x121e18(0x91)]([[_0x593ae3[_0x121e18(0x221)],{'useClass':_0x313ef4[_0x121e18(0x121)]}],[_0x313ef4['CollaborationSessionService']],[_0x313ef4[_0x121e18(0x358)]],[_0x313ef4['SheetTransformSelectionsService']],[_0x3fee28],[_0x16dfd7],[_0x29b036],[_0x5878a5],[_0x1e55fc],[_0x313ef4['DataLoaderService']],[_0x37eaae,{'useClass':this['_config'][_0x121e18(0xcd)]}],[_0xdad847[_0x121e18(0x228)],{'useClass':_0x313ef4[_0x121e18(0x2f8)]}],[_0x593ae3[_0x121e18(0xc0)],{'useClass':_0x313ef4['AuthzIoHttpService']}],[_0x3fed8b[_0x121e18(0x3ec)],{'useClass':_0x313ef4[_0x121e18(0x2c9)]}],[_0x593ae3[_0x121e18(0x2d2)],{'useClass':_0x313ef4[_0x121e18(0x2bb)]}],[_0x313ef4['CollaborationController']],[_0x261b6f]],(_0x49ce73=this[_0x121e18(0x3c4)])==null?void 0x0:_0x49ce73[_0x121e18(0x370)]);if(!((_0x5982f7=this['_config'])!=null&&_0x5982f7[_0x121e18(0x1be)])){const _0x21fb17=_0x1346d5[_0x121e18(0x40e)](([_0x532a66])=>_0x532a66===_0x5647b7);_0x21fb17!==-0x1&&_0x1346d5[_0x121e18(0x3cc)](_0x21fb17,0x1);}_0x593ae3[_0x121e18(0x1da)](this[_0x121e18(0x397)],_0x1346d5);}[_0x509db9(0x146)](){var _0x544055=_0x509db9,_0x46618a,_0x4f849a,_0x229817;this[_0x544055(0x397)][_0x544055(0xa5)](_0x38c133[_0x544055(0x3e6)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x38c133[_0x544055(0x112)]({'maxParallel':0x6})}),(_0x46618a=this[_0x544055(0x3c4)])!=null&&_0x46618a[_0x544055(0x238)]||(_0x4f849a=this[_0x544055(0x397)][_0x544055(0xa5)](_0x192e9c,_0x593ae3['Quantity'][_0x544055(0xf6)]))==null||_0x4f849a['disableLocalCache'](),(_0x229817=this[_0x544055(0x3c4)])!=null&&_0x229817[_0x544055(0x166)]&&_0x593ae3[_0x544055(0x84)](this[_0x544055(0x397)],[[_0x3fee28]]),_0x593ae3[_0x544055(0x84)](this[_0x544055(0x397)],[[_0x16dfd7],[_0x313ef4[_0x544055(0x9c)]],[_0x5878a5]]);}},_0x4cceca(_0x313ef4[_0x509db9(0x1e4)],_0x509db9(0x3ee),_0x3b4b03),_0x313ef4[_0x509db9(0x1e4)]=_0x13e5e0([_0x593ae3['DependentOn'](_0xdad847['UniverCollaborationPlugin'],_0x38c133[_0x509db9(0x36e)]),_0x210dce(0x1,_0x593ae3[_0x509db9(0x1a8)]),_0x210dce(0x2,_0x593ae3[_0x509db9(0x28b)](_0x593ae3[_0x509db9(0x2cf)])),_0x210dce(0x3,_0x593ae3[_0x509db9(0x1c0)])],_0x313ef4[_0x509db9(0x1e4)]),_0x313ef4['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x9fbd4f,_0x313ef4[_0x509db9(0x3af)]=_0x1ac262,_0x313ef4[_0x509db9(0x2a5)]=_0x7c51aa,_0x313ef4[_0x509db9(0x1cf)]=_0x1e55fc,_0x313ef4[_0x509db9(0x420)]=_0x29b036,_0x313ef4[_0x509db9(0x152)]=_0x407f4f,_0x313ef4['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x162619,_0x313ef4[_0x509db9(0x272)]=_0x29e50d,_0x313ef4['HEARTBEAT_INTERVAL_KEY']=_0x55547f,_0x313ef4[_0x509db9(0x2cb)]=_0x30846d,_0x313ef4[_0x509db9(0x276)]=_0x37eaae,_0x313ef4['ILocalCacheService']=_0x192e9c,_0x313ef4['INetworkConditionService']=_0xcfc4ab,_0x313ef4[_0x509db9(0x1a3)]=_0x5647b7,_0x313ef4[_0x509db9(0xc7)]=0x3e8,_0x313ef4[_0x509db9(0x3e5)]=_0x2b3841,_0x313ef4[_0x509db9(0x321)]=_0x5f3fee,_0x313ef4[_0x509db9(0x33c)]=_0x52e10c,_0x313ef4[_0x509db9(0x205)]=_0x4e4db9,_0x313ef4[_0x509db9(0x3f6)]=_0x1bfb46,_0x313ef4[_0x509db9(0xe4)]=_0x2f49ae,_0x313ef4['getLocalCacheKey']=_0x142709,_0x313ef4['serializeCombRequest']=_0x3ce187,Object[_0x509db9(0xd5)](_0x313ef4,Symbol['toStringTag'],{'value':_0x509db9(0x1e9)});}));
|
|
2
|
+
function _0x4f3d(_0xdc846d,_0xf65fbb){_0xdc846d=_0xdc846d-0xab;var _0x16cf0e=_0x16cf();var _0x4f3da6=_0x16cf0e[_0xdc846d];return _0x4f3da6;}(function(_0x461268,_0x37a60d){var _0x5a8553=_0x4f3d,_0xb36fe=_0x461268();while(!![]){try{var _0x4598e1=parseInt(_0x5a8553(0x3ca))/0x1*(-parseInt(_0x5a8553(0x411))/0x2)+-parseInt(_0x5a8553(0x267))/0x3*(parseInt(_0x5a8553(0xf1))/0x4)+-parseInt(_0x5a8553(0x2d4))/0x5*(-parseInt(_0x5a8553(0x238))/0x6)+parseInt(_0x5a8553(0xf2))/0x7*(-parseInt(_0x5a8553(0x28d))/0x8)+-parseInt(_0x5a8553(0x16a))/0x9*(-parseInt(_0x5a8553(0x21d))/0xa)+-parseInt(_0x5a8553(0x168))/0xb+parseInt(_0x5a8553(0x10b))/0xc;if(_0x4598e1===_0x37a60d)break;else _0xb36fe['push'](_0xb36fe['shift']());}catch(_0x1dcd32){_0xb36fe['push'](_0xb36fe['shift']());}}}(_0x16cf,0x9f005),function(_0x5f0dbe,_0x3533be){var _0x395584=_0x4f3d;typeof exports==_0x395584(0x286)&&typeof module<'u'?_0x3533be(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==_0x395584(0x311)&&define[_0x395584(0x21a)]?define([_0x395584(0x257),'@univerjs-pro/collaboration',_0x395584(0x1e3),'@univerjs/docs',_0x395584(0xf7),_0x395584(0xd1),_0x395584(0x420),_0x395584(0x2dc),'@univerjs/network',_0x395584(0x41b),'@univerjs-pro/license'],_0x3533be):(_0x5f0dbe=typeof globalThis<'u'?globalThis:_0x5f0dbe||self,_0x3533be(_0x5f0dbe[_0x395584(0x112)]={},_0x5f0dbe[_0x395584(0x154)],_0x5f0dbe['UniverCore'],_0x5f0dbe[_0x395584(0x2b7)],_0x5f0dbe[_0x395584(0x3ba)],_0x5f0dbe['rxjs'],_0x5f0dbe['UniverTelemetry'],_0x5f0dbe[_0x395584(0xd1)][_0x395584(0x1ea)],_0x5f0dbe[_0x395584(0x3c7)],_0x5f0dbe[_0x395584(0x20f)],_0x5f0dbe[_0x395584(0x376)]));}(this,function(_0x4bf482,_0x4811d6,_0x449ba5,_0x187ef9,_0x38c84a,_0x550b9f,_0x52cd9a,_0x4a20aa,_0xcd2fb4,_0x40ace2,_0x514d4e){'use strict';var _0x12ab33=_0x4f3d;var _0x49dd47=Object[_0x12ab33(0x25d)],_0x5a8d09=(_0x575202,_0x4ebcad,_0x35b6f1)=>_0x4ebcad in _0x575202?_0x49dd47(_0x575202,_0x4ebcad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35b6f1}):_0x575202[_0x4ebcad]=_0x35b6f1,_0x389841=(_0x2abaf5,_0x435d77,_0x26ba69)=>_0x5a8d09(_0x2abaf5,typeof _0x435d77!='symbol'?_0x435d77+'':_0x435d77,_0x26ba69);const _0x20340e=_0x12ab33(0x1d6),_0x574fde=_0x12ab33(0x136),_0x19a15b=_0x12ab33(0x26d),_0x71609='/universer-api/user/session-ticket',_0x5f4e3a=_0x12ab33(0x2b0),_0x5e9f32='HEARTBEAT_TIMEOUT',_0x8019cb=_0x12ab33(0x316),_0x395175=_0x12ab33(0x336),_0x32249d=_0x12ab33(0x367),_0x4def6e=_0x12ab33(0x258),_0x4a651b=_0x12ab33(0x2e5),_0xa6350f=_0x12ab33(0x37a);var _0x4c2ac7=(_0x5c72e2=>(_0x5c72e2[_0x5c72e2[_0x12ab33(0x1df)]=0x0]='UNDEFINED',_0x5c72e2[_0x5c72e2['OK']=0x1]='OK',_0x5c72e2[_0x5c72e2[_0x12ab33(0x41d)]=0x2]=_0x12ab33(0x41d),_0x5c72e2[_0x5c72e2[_0x12ab33(0x1c9)]=0x3]=_0x12ab33(0x1c9),_0x5c72e2[_0x5c72e2['NOT_FOUND']=0x4]=_0x12ab33(0x3ed),_0x5c72e2[_0x5c72e2[_0x12ab33(0x405)]=0x5]=_0x12ab33(0x405),_0x5c72e2[_0x5c72e2[_0x12ab33(0x426)]=0x6]=_0x12ab33(0x426),_0x5c72e2[_0x5c72e2[_0x12ab33(0x2a6)]=0x7]='INVALID_ARGUMENT',_0x5c72e2[_0x5c72e2[_0x12ab33(0x26e)]=0x8]=_0x12ab33(0x26e),_0x5c72e2[_0x5c72e2['COMPLETION_FINISHED']=0x9]=_0x12ab33(0x3b3),_0x5c72e2[_0x5c72e2[_0x12ab33(0x309)]=0xa]=_0x12ab33(0x309),_0x5c72e2[_0x5c72e2[_0x12ab33(0x2da)]=0xb]=_0x12ab33(0x2da),_0x5c72e2[_0x5c72e2['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x12ab33(0x2ba),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3d8)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5c72e2[_0x5c72e2[_0x12ab33(0x373)]=0xe]=_0x12ab33(0x373),_0x5c72e2[_0x5c72e2[_0x12ab33(0x247)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x5c72e2[_0x5c72e2[_0x12ab33(0x1a3)]=0x10]=_0x12ab33(0x1a3),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3ff)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5c72e2[_0x5c72e2[_0x12ab33(0x428)]=0x65]=_0x12ab33(0x428),_0x5c72e2[_0x5c72e2['USER_NOT_FOUND']=0xc9]=_0x12ab33(0x355),_0x5c72e2[_0x5c72e2['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x5c72e2[_0x5c72e2[_0x12ab33(0xfd)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5c72e2[_0x5c72e2[_0x12ab33(0x233)]=0x1771]=_0x12ab33(0x233),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3b1)]=0x1772]=_0x12ab33(0x3b1),_0x5c72e2[_0x5c72e2[_0x12ab33(0x235)]=0x1773]=_0x12ab33(0x235),_0x5c72e2[_0x5c72e2[_0x12ab33(0x382)]=0x1b59]='APPLY_REJECT',_0x5c72e2[_0x5c72e2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x12ab33(0x3ee),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3e4)]=0x1b5b]=_0x12ab33(0x3e4),_0x5c72e2[_0x5c72e2[_0x12ab33(0x244)]=0x1b5c]=_0x12ab33(0x244),_0x5c72e2[_0x5c72e2[_0x12ab33(0x181)]=0x1b5d]=_0x12ab33(0x181),_0x5c72e2[_0x5c72e2[_0x12ab33(0x25a)]=0x1f41]=_0x12ab33(0x25a),_0x5c72e2[_0x5c72e2[_0x12ab33(0x176)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5c72e2[_0x5c72e2[_0x12ab33(0xee)]=0x232a]=_0x12ab33(0xee),_0x5c72e2[_0x5c72e2[_0x12ab33(0x3f3)]=0x232b]=_0x12ab33(0x3f3),_0x5c72e2[_0x5c72e2[_0x12ab33(0x312)]=0x232c]=_0x12ab33(0x312),_0x5c72e2[_0x5c72e2[_0x12ab33(0x386)]=0x232d]=_0x12ab33(0x386),_0x5c72e2[_0x5c72e2[_0x12ab33(0x107)]=0x2711]=_0x12ab33(0x107),_0x5c72e2[_0x5c72e2[_0x12ab33(0x251)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5c72e2[_0x5c72e2[_0x12ab33(0x2cb)]=0x2713]=_0x12ab33(0x2cb),_0x5c72e2[_0x5c72e2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5c72e2[_0x5c72e2[_0x12ab33(0x40f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5c72e2[_0x5c72e2[_0x12ab33(0x2b6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5c72e2[_0x5c72e2[_0x12ab33(0xb3)]=0x271c]=_0x12ab33(0xb3),_0x5c72e2[_0x5c72e2[_0x12ab33(0x414)]=0x271d]=_0x12ab33(0x414),_0x5c72e2[_0x5c72e2[_0x12ab33(0x13a)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5c72e2[_0x5c72e2[_0x12ab33(0x1a6)]=0x271f]=_0x12ab33(0x1a6),_0x5c72e2[_0x5c72e2[_0x12ab33(0x20e)]=0x2720]=_0x12ab33(0x20e),_0x5c72e2[_0x5c72e2[_0x12ab33(0x2a0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5c72e2[_0x5c72e2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x12ab33(0x33c),_0x5c72e2[_0x5c72e2[_0x12ab33(0x318)]=0x2ee2]=_0x12ab33(0x318),_0x5c72e2[_0x5c72e2[_0x12ab33(0x158)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5c72e2[_0x5c72e2[_0x12ab33(0x3e9)]=0x2ee4]=_0x12ab33(0x3e9),_0x5c72e2[_0x5c72e2[_0x12ab33(0x407)]=0x2ee5]=_0x12ab33(0x407),_0x5c72e2[_0x5c72e2[_0x12ab33(0x194)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5c72e2[_0x5c72e2['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x12ab33(0x141),_0x5c72e2[_0x5c72e2[_0x12ab33(0x230)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5c72e2[_0x5c72e2[_0x12ab33(0x42c)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5c72e2[_0x5c72e2[_0x12ab33(0x22d)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x5c72e2[_0x5c72e2[_0x12ab33(0x173)]=0x36b3]=_0x12ab33(0x173),_0x5c72e2[_0x5c72e2[_0x12ab33(0x38f)]=0x36b4]=_0x12ab33(0x38f),_0x5c72e2[_0x5c72e2[_0x12ab33(0x195)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x5c72e2[_0x5c72e2['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x5c72e2[_0x5c72e2[_0x12ab33(0xde)]=0x36b7]=_0x12ab33(0xde),_0x5c72e2[_0x5c72e2['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x5c72e2[_0x5c72e2['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x12ab33(0xff),_0x5c72e2[_0x5c72e2[_0x12ab33(0x186)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x5c72e2[_0x5c72e2[_0x12ab33(0x2a3)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x5c72e2[_0x5c72e2[_0x12ab33(0x1f1)]=0x37dd]=_0x12ab33(0x1f1),_0x5c72e2[_0x5c72e2[_0x12ab33(0x262)]=0x3a99]=_0x12ab33(0x262),_0x5c72e2[_0x5c72e2[_0x12ab33(0x2fc)]=0x3a9a]=_0x12ab33(0x2fc),_0x5c72e2[_0x5c72e2[_0x12ab33(0x42d)]=0x3a9b]=_0x12ab33(0x42d),_0x5c72e2[_0x5c72e2[_0x12ab33(0x208)]=0x3a9c]=_0x12ab33(0x208),_0x5c72e2[_0x5c72e2['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x12ab33(0xb5),_0x5c72e2[_0x5c72e2[_0x12ab33(0xeb)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x5c72e2[_0x5c72e2['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x12ab33(0x1e6),_0x5c72e2[_0x5c72e2[_0x12ab33(0x239)]=0x3e81]=_0x12ab33(0x239),_0x5c72e2[_0x5c72e2['UNRECOGNIZED']=-0x1]=_0x12ab33(0xc5),_0x5c72e2))(_0x4c2ac7||{}),_0x5bae36=(_0x4b8c69=>(_0x4b8c69[_0x4b8c69[_0x12ab33(0x1a4)]=0x0]='UNIVER_UNKNOWN',_0x4b8c69[_0x4b8c69[_0x12ab33(0xef)]=0x1]=_0x12ab33(0xef),_0x4b8c69[_0x4b8c69[_0x12ab33(0x343)]=0x2]=_0x12ab33(0x343),_0x4b8c69[_0x4b8c69[_0x12ab33(0x360)]=0x3]=_0x12ab33(0x360),_0x4b8c69[_0x4b8c69[_0x12ab33(0xd0)]=0x4]=_0x12ab33(0xd0),_0x4b8c69[_0x4b8c69[_0x12ab33(0xc5)]=-0x1]=_0x12ab33(0xc5),_0x4b8c69))(_0x5bae36||{}),_0x366ec0=(_0x4943fd=>(_0x4943fd[_0x4943fd[_0x12ab33(0x2ee)]=0x0]='UNKNOWN_CMD',_0x4943fd[_0x4943fd[_0x12ab33(0xad)]=0x1]=_0x12ab33(0xad),_0x4943fd[_0x4943fd[_0x12ab33(0x431)]=0x2]=_0x12ab33(0x431),_0x4943fd[_0x4943fd[_0x12ab33(0x103)]=0x3]=_0x12ab33(0x103),_0x4943fd[_0x4943fd[_0x12ab33(0x25c)]=0x4]=_0x12ab33(0x25c),_0x4943fd[_0x4943fd[_0x12ab33(0x34c)]=0x5]='HEARTBEAT',_0x4943fd[_0x4943fd[_0x12ab33(0x29a)]=0x6]=_0x12ab33(0x29a),_0x4943fd[_0x4943fd[_0x12ab33(0xc5)]=-0x1]='UNRECOGNIZED',_0x4943fd))(_0x366ec0||{}),_0x369dd2=(_0x3e0870=>(_0x3e0870[_0x3e0870[_0x12ab33(0x1b5)]=0x0]=_0x12ab33(0x1b5),_0x3e0870[_0x3e0870['OK']=0x1]='OK',_0x3e0870[_0x3e0870[_0x12ab33(0x423)]=0x2]='FAIL',_0x3e0870[_0x3e0870[_0x12ab33(0x42a)]=0x3e9]='JOIN_ROOM_FULL',_0x3e0870[_0x3e0870['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3e0870[_0x3e0870[_0x12ab33(0x335)]=0x3eb]=_0x12ab33(0x335),_0x3e0870[_0x3e0870[_0x12ab33(0x38e)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3e0870[_0x3e0870['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3e0870))(_0x369dd2||{}),_0x4818ca=(_0x489c49=>(_0x489c49[_0x489c49[_0x12ab33(0x39f)]=0x0]=_0x12ab33(0x39f),_0x489c49[_0x489c49[_0x12ab33(0x339)]=0x1]=_0x12ab33(0x339),_0x489c49[_0x489c49['HttpExport']=0x2]=_0x12ab33(0x254),_0x489c49[_0x489c49[_0x12ab33(0x402)]=0x3]=_0x12ab33(0x402),_0x489c49[_0x489c49[_0x12ab33(0x174)]=0x4]=_0x12ab33(0x174),_0x489c49[_0x489c49[_0x12ab33(0x113)]=0x5]=_0x12ab33(0x113),_0x489c49[_0x489c49[_0x12ab33(0x38d)]=0x6]=_0x12ab33(0x38d),_0x489c49[_0x489c49[_0x12ab33(0xc5)]=-0x1]=_0x12ab33(0xc5),_0x489c49))(_0x4818ca||{});const _0x160b1b=_0x12ab33(0x41e);function _0x4d86b8(_0x225cf6){var _0x2fd6e8=_0x12ab33;return JSON[_0x2fd6e8(0x3b6)](_0x225cf6)[_0x2fd6e8(0xe6)];}var _0x49a56d=(_0x4f629d=>(_0x4f629d['OTHER_CLIENT_EDITING']=_0x12ab33(0x217),_0x4f629d['PERMISSION_DENIED']='PERMISSION_DENIED',_0x4f629d[_0x12ab33(0x33f)]=_0x12ab33(0x33f),_0x4f629d['CLOSE_ROOM']=_0x12ab33(0x375),_0x4f629d[_0x12ab33(0x1ce)]='JOIN_ROOM_FAILED',_0x4f629d['SOCKET_FAILED_RETRY']=_0x12ab33(0x33e),_0x4f629d[_0x12ab33(0x3a0)]=_0x12ab33(0x3a0),_0x4f629d[_0x12ab33(0x358)]=_0x12ab33(0x358),_0x4f629d))(_0x49a56d||{});class _0x382c6e{constructor(){var _0x23cdda=_0x12ab33;_0x389841(this,_0x23cdda(0xfa),new _0x550b9f[(_0x23cdda(0x10a))]()),_0x389841(this,_0x23cdda(0x403),this[_0x23cdda(0xfa)][_0x23cdda(0xda)]());}[_0x12ab33(0x3c1)](_0x2a0d4f){var _0x5308b1=_0x12ab33;this[_0x5308b1(0xfa)][_0x5308b1(0xaf)](_0x2a0d4f);}}class _0x5d6148{constructor(){var _0x488464=_0x12ab33;_0x389841(this,_0x488464(0x40c),new _0x550b9f[(_0x488464(0x10a))]()),_0x389841(this,_0x488464(0x271),this[_0x488464(0x40c)][_0x488464(0xda)]());}[_0x12ab33(0xb8)](_0x4086be){var _0x4f08ce=_0x12ab33;this[_0x4f08ce(0x40c)][_0x4f08ce(0xaf)](_0x4086be);}}var _0x96864e=Object[_0x12ab33(0x39e)],_0x51a82a=(_0xf06de1,_0x459ba5,_0x31edcc,_0x2338b1)=>{var _0x4c4db0=_0x12ab33;for(var _0x3bc423=_0x2338b1>0x1?void 0x0:_0x2338b1?_0x96864e(_0x459ba5,_0x31edcc):_0x459ba5,_0x26897c=_0xf06de1[_0x4c4db0(0xe6)]-0x1,_0x4cf256;_0x26897c>=0x0;_0x26897c--)(_0x4cf256=_0xf06de1[_0x26897c])&&(_0x3bc423=_0x4cf256(_0x3bc423)||_0x3bc423);return _0x3bc423;},_0x3d4c8e=(_0x7a2636,_0x1c5470)=>(_0x4783c1,_0x5490f1)=>_0x1c5470(_0x4783c1,_0x5490f1,_0x7a2636);_0x4bf482[_0x12ab33(0x1a0)]=class extends _0x449ba5[_0x12ab33(0x106)]{constructor(_0x419bb4,_0x2f2094){var _0x242640=_0x12ab33;super(),_0x389841(this,_0x242640(0x3fd),new Map()),_0x389841(this,_0x242640(0x21b),new _0x550b9f[(_0x242640(0x10a))]()),(this[_0x242640(0x436)]=_0x419bb4,this['_userManagerService']=_0x2f2094,this[_0x242640(0x21e)](_0x550b9f[_0x242640(0x421)](this[_0x242640(0x436)][_0x242640(0x167)](_0x449ba5[_0x242640(0x3c2)][_0x242640(0x343)])[_0x242640(0x188)](_0x4a20aa['map'](_0x3f9570=>_0x3f9570[_0x242640(0x26f)]())),this[_0x242640(0x436)][_0x242640(0x167)](_0x449ba5[_0x242640(0x3c2)]['UNIVER_DOC'])[_0x242640(0x188)](_0x4a20aa[_0x242640(0xc9)](_0x57b0f7=>_0x57b0f7[_0x242640(0x26f)]())),this[_0x242640(0x436)][_0x242640(0x167)](_0x449ba5['UniverInstanceType']['UNIVER_SLIDE'])['pipe'](_0x4a20aa[_0x242640(0xc9)](_0x4519b4=>_0x4519b4['getUnitId']())))[_0x242640(0x368)](_0x24a14f=>this[_0x242640(0x291)](_0x24a14f))));}[_0x12ab33(0x410)](_0x4c8d56){var _0x3f8649=_0x12ab33;return this['_roomMembers'][_0x3f8649(0xd9)](_0x4c8d56)?_0x550b9f['of'](this[_0x3f8649(0x3fd)]['get'](_0x4c8d56)):this['_roomCreated$'][_0x3f8649(0x188)](_0x4a20aa[_0x3f8649(0xc9)](_0x2f3234=>{var _0xf3abb7=_0x3f8649;if(_0x2f3234===_0x4c8d56)return this['_roomMembers'][_0xf3abb7(0x1fa)](_0x2f3234);}));}[_0x12ab33(0x24f)](_0x23f2f2){var _0x5b93dc=_0x12ab33;this['_userManagerService'][_0x5b93dc(0x24f)](_0x23f2f2);}[_0x12ab33(0xe8)](){var _0x31f439=_0x12ab33;return this[_0x31f439(0x17f)][_0x31f439(0xe8)]();}['updateMember'](_0xeb3ecd,_0x2b6a64){var _0x1712ff=_0x12ab33;let _0x5cc212=this[_0x1712ff(0x3fd)]['get'](_0xeb3ecd);_0x5cc212||(_0x5cc212=new _0x216119(),this[_0x1712ff(0x3fd)][_0x1712ff(0x25b)](_0xeb3ecd,_0x5cc212),this[_0x1712ff(0x21b)][_0x1712ff(0xaf)](_0xeb3ecd)),_0x5cc212[_0x1712ff(0xe3)](_0x2b6a64);}[_0x12ab33(0x1a8)](_0x2d94b7,_0x7c0516){var _0x5b8c22=_0x12ab33;const _0x10a149=this[_0x5b8c22(0x3fd)][_0x5b8c22(0x1fa)](_0x2d94b7);_0x10a149&&_0x10a149[_0x5b8c22(0x1a8)](_0x7c0516);}[_0x12ab33(0x3e7)](_0x3093c9){var _0x25bf8a=_0x12ab33;return this['_roomMembers'][_0x25bf8a(0x1fa)](_0x3093c9);}[_0x12ab33(0x11f)](_0x3d4f1e,_0x27e2b3){var _0x3d7b87=_0x12ab33;const _0x4e7dda=this[_0x3d7b87(0x3fd)]['get'](_0x3d4f1e);if(_0x4e7dda)return _0x4e7dda[_0x3d7b87(0x11f)](_0x27e2b3);}[_0x12ab33(0x291)](_0x54d283){var _0xff7fb=_0x12ab33;const _0x3e3d95=this[_0xff7fb(0x3fd)][_0xff7fb(0x1fa)](_0x54d283);_0x3e3d95&&(_0x3e3d95[_0xff7fb(0x35e)](),this['_roomMembers']['delete'](_0x54d283));}[_0x12ab33(0x35e)](){var _0x5289c7=_0x12ab33;this['_roomMembers'][_0x5289c7(0x17b)](_0x15ce2f=>_0x15ce2f[_0x5289c7(0x35e)]()),this[_0x5289c7(0x3fd)][_0x5289c7(0x204)](),this[_0x5289c7(0x21b)][_0x5289c7(0x240)]();}},_0x4bf482[_0x12ab33(0x1a0)]=_0x51a82a([_0x3d4c8e(0x0,_0x449ba5[_0x12ab33(0x38b)]),_0x3d4c8e(0x1,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x160)]))],_0x4bf482[_0x12ab33(0x1a0)]);class _0x216119 extends _0x449ba5[_0x12ab33(0x106)]{constructor(){var _0x120852=_0x12ab33;super(...arguments),_0x389841(this,'_members',new Map()),_0x389841(this,_0x120852(0x3ef),new _0x550b9f[(_0x120852(0x1f8))](this[_0x120852(0x2d9)])),_0x389841(this,_0x120852(0x1ff),this['_members$'][_0x120852(0xda)]());}[_0x12ab33(0x35e)](){var _0x1ae306=_0x12ab33;this[_0x1ae306(0x2d9)][_0x1ae306(0x204)]();}[_0x12ab33(0xe3)](_0x2ca016){var _0x112d9a=_0x12ab33;this['_members'][_0x112d9a(0x25b)](_0x2ca016[_0x112d9a(0x110)],_0x2ca016),this[_0x112d9a(0x1e1)]();}[_0x12ab33(0x1a8)](_0x27d1fc){this['_members']['delete'](_0x27d1fc);}[_0x12ab33(0x11f)](_0x58af7f){var _0x31ddeb=_0x12ab33;return this[_0x31ddeb(0x2d9)][_0x31ddeb(0x1fa)](_0x58af7f);}[_0x12ab33(0x118)](){var _0x58dbd8=_0x12ab33;return Array[_0x58dbd8(0x1d1)](this[_0x58dbd8(0x2d9)][_0x58dbd8(0x297)]());}[_0x12ab33(0x1e1)](){var _0x3f60cc=_0x12ab33;this[_0x3f60cc(0x3ef)]['next'](this[_0x3f60cc(0x2d9)]);}}var _0x1557af=Object[_0x12ab33(0x39e)],_0xe5644b=(_0x4ef3aa,_0x351977,_0x2c02ee,_0x2e6991)=>{for(var _0x12a476=_0x2e6991>0x1?void 0x0:_0x2e6991?_0x1557af(_0x351977,_0x2c02ee):_0x351977,_0x3eb1fe=_0x4ef3aa['length']-0x1,_0x368935;_0x3eb1fe>=0x0;_0x3eb1fe--)(_0x368935=_0x4ef3aa[_0x3eb1fe])&&(_0x12a476=_0x368935(_0x12a476)||_0x12a476);return _0x12a476;},_0x134ec6=(_0x3a32e8,_0x214be4)=>(_0x379446,_0x369d32)=>_0x214be4(_0x379446,_0x369d32,_0x3a32e8),_0x439d16=(_0x45971d=>(_0x45971d[_0x45971d['IDLE']=0x0]='IDLE',_0x45971d[_0x45971d[_0x12ab33(0x2db)]=0x1]=_0x12ab33(0x2db),_0x45971d[_0x45971d[_0x12ab33(0x3d1)]=0x2]=_0x12ab33(0x3d1),_0x45971d[_0x45971d[_0x12ab33(0x20d)]=0x3]=_0x12ab33(0x20d),_0x45971d))(_0x439d16||{});const _0x1c50f1={[_0x369dd2[_0x12ab33(0x423)]]:'session.join-failed',[_0x369dd2[_0x12ab33(0x42a)]]:_0x12ab33(0x27d),[_0x369dd2['JOIN_ROOM_NOT_EXISTS']]:_0x12ab33(0x191),[_0x369dd2[_0x12ab33(0x335)]]:'session.room-permission-denied',[_0x369dd2[_0x12ab33(0x38e)]]:_0x12ab33(0x2af)};_0x4bf482[_0x12ab33(0x3b7)]=class extends _0x449ba5['RxDisposable']{constructor(_0x109eb4,_0x328a29,_0x4db857,_0x338089,_0x440b30,_0x599265,_0x22a32c,_0x4839f3){var _0x5e8b2f=_0x12ab33;super(),_0x389841(this,_0x5e8b2f(0x396),new _0x550b9f['BehaviorSubject'](0x0)),_0x389841(this,'sessionStatus$',this['_sessionStatus$']['asObservable']()),_0x389841(this,'_event$',new _0x550b9f[(_0x5e8b2f(0x10a))]()),_0x389841(this,_0x5e8b2f(0x403),this['_event$'][_0x5e8b2f(0xda)]()),_0x389841(this,_0x5e8b2f(0x220)),_0x389841(this,'_socketMessageSubscription'),_0x389841(this,'_collaborationTimeoutTimer'),_0x389841(this,'_shouldReportTelemetry',!0x1),_0x389841(this,_0x5e8b2f(0x3c3),null),(this[_0x5e8b2f(0x12a)]=_0x109eb4,this[_0x5e8b2f(0x400)]=_0x4db857,this[_0x5e8b2f(0x3af)]=_0x338089,this[_0x5e8b2f(0x30c)]=_0x440b30,this[_0x5e8b2f(0x412)]=_0x599265,this[_0x5e8b2f(0x18e)]=_0x22a32c,this['_telemetryService']=_0x4839f3,this['_shouldReportTelemetry']=!!this[_0x5e8b2f(0x2ff)],_0x328a29['pipe'](_0x550b9f[_0x5e8b2f(0x34b)](this[_0x5e8b2f(0x338)]))[_0x5e8b2f(0x368)](_0x4e7ed1=>{var _0x3b1fb8=_0x5e8b2f,_0x5b6fd0;typeof _0x4e7ed1>'u'||(this[_0x3b1fb8(0x220)]=_0x4e7ed1,_0x4e7ed1?(this[_0x3b1fb8(0x1f6)](_0x4e7ed1),this[_0x3b1fb8(0x273)]=_0x4e7ed1[_0x3b1fb8(0x38c)]['subscribe'](_0x8aeed8=>{var _0x3c1981=_0x3b1fb8;_0x8aeed8[_0x3c1981(0x17c)]===this[_0x3c1981(0x12a)]&&this[_0x3c1981(0x3fb)](_0x8aeed8);})):(this[_0x3b1fb8(0x3d4)](),this[_0x3b1fb8(0x396)][_0x3b1fb8(0xaf)](0x2),(_0x5b6fd0=this[_0x3b1fb8(0x273)])==null||_0x5b6fd0['unsubscribe'](),this[_0x3b1fb8(0x273)]=null));}));}get[_0x12ab33(0x2de)](){var _0x5c3dbb=_0x12ab33;return this['_sessionStatus$'][_0x5c3dbb(0xe1)]();}[_0x12ab33(0x26a)](){var _0x18d553=_0x12ab33,_0x45d7c7,_0x18d06e;return(_0x18d06e=(_0x45d7c7=this[_0x18d553(0x220)])==null?void 0x0:_0x45d7c7['memberID'])!=null?_0x18d06e:null;}[_0x12ab33(0x35e)](){var _0x2790fb=_0x12ab33;super['dispose'](),this['dispose$']['next'](),this['dispose$'][_0x2790fb(0x240)]();}[_0x12ab33(0x1e5)](){var _0x2e090c=_0x12ab33,_0x4509c3,_0x1bd661;this[_0x2e090c(0x3d4)](),(_0x4509c3=this[_0x2e090c(0x220)])==null||_0x4509c3[_0x2e090c(0x199)]({'cmd':_0x366ec0['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x1bd661=this['_socket'])==null||_0x1bd661[_0x2e090c(0x1e5)](),this[_0x2e090c(0xfa)]['complete'](),this['_sessionStatus$'][_0x2e090c(0x240)](),this[_0x2e090c(0x35e)]();}[_0x12ab33(0x3fb)](_0x50ca9d){var _0x40c833=_0x12ab33;_0x50ca9d['cmd']===_0x366ec0[_0x40c833(0x431)]?this[_0x40c833(0xfc)](_0x50ca9d):_0x50ca9d[_0x40c833(0x435)]===_0x366ec0['RECV']&&this[_0x40c833(0x1d7)](_0x50ca9d);}['_joinRoom'](_0x226ae6){var _0x156965=_0x12ab33;this['_sessionStatus$']['next'](0x1),_0x226ae6[_0x156965(0x199)]({'cmd':_0x366ec0[_0x156965(0x431)],'routeKey':this[_0x156965(0x12a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x156965(0x12a)]}]}});}[_0x12ab33(0xfc)](_0x233804){var _0x1b925b=_0x12ab33,_0x12fd52;if(_0x233804[_0x1b925b(0x218)]in _0x1c50f1){this['_collaborationUIEventService'][_0x1b925b(0x3c1)]({'id':_0x49a56d[_0x1b925b(0x1ce)],'data':_0x1c50f1[_0x233804[_0x1b925b(0x218)]]}),this[_0x1b925b(0x396)][_0x1b925b(0xaf)](0x2);return;}this['_sessionStatus$'][_0x1b925b(0xaf)](0x3);const _0x194824=(_0x12fd52=_0x233804[_0x1b925b(0x166)][_0x1b925b(0xdf)][this['_unitID']])==null?void 0x0:_0x12fd52['members'];_0x194824&&_0x194824[_0x1b925b(0x17b)](_0x47be9e=>this[_0x1b925b(0x30c)][_0x1b925b(0xe3)](this[_0x1b925b(0x12a)],_0x47be9e));}[_0x12ab33(0x1d7)](_0xa3bf89){var _0x5c6d9c=_0x12ab33;try{const _0x318e01=_0xa3bf89['data'];switch(_0x318e01[_0x5c6d9c(0x28c)]){case _0x4811d6[_0x5c6d9c(0x381)][_0x5c6d9c(0x13d)]:this[_0x5c6d9c(0x27f)](_0x318e01),this[_0x5c6d9c(0xfa)]['next'](_0x318e01);break;case _0x4811d6[_0x5c6d9c(0x381)][_0x5c6d9c(0x42f)]:this[_0x5c6d9c(0x2fd)](_0x318e01),this[_0x5c6d9c(0xfa)][_0x5c6d9c(0xaf)](_0x318e01);break;case _0x4811d6[_0x5c6d9c(0x381)][_0x5c6d9c(0x2f4)]:case _0x4811d6['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x5c6d9c(0x441)](),this['_event$'][_0x5c6d9c(0xaf)](_0x318e01);break;case _0x4811d6[_0x5c6d9c(0x381)][_0x5c6d9c(0x3f2)]:this[_0x5c6d9c(0x400)][_0x5c6d9c(0x2f2)](_0x5c6d9c(0x131)+JSON[_0x5c6d9c(0x3b6)](_0x318e01)),this['_event$'][_0x5c6d9c(0xaf)](_0x318e01);break;case _0x4811d6['CollaborationEvent']['COMMENT_UPDATE']:this['_commentService'][_0x5c6d9c(0xb8)](_0x318e01[_0x5c6d9c(0x166)]),this['_event$']['next'](_0x318e01);break;default:this[_0x5c6d9c(0xfa)]['next'](_0x318e01);}}catch(_0x2b6415){this[_0x5c6d9c(0x400)][_0x5c6d9c(0x2f2)](_0x2b6415,_0xa3bf89);}}[_0x12ab33(0x27f)](_0xd59ee5){var _0x160faa=_0x12ab33;this['_memberService']['updateMember'](this[_0x160faa(0x12a)],_0xd59ee5['data']);}['_onUserLeave'](_0x14ff29){var _0x5b859f=_0x12ab33;this[_0x5b859f(0x30c)]['removeMember'](this[_0x5b859f(0x12a)],_0x14ff29[_0x5b859f(0x166)][_0x5b859f(0x110)]);}async[_0x12ab33(0x199)](_0x396469,_0x29cc36){var _0x51e13c=_0x12ab33;if(this[_0x51e13c(0x2de)]!==0x3||!this[_0x51e13c(0x220)])throw new Error(_0x51e13c(0x260));try{_0x396469[_0x51e13c(0x28c)]===_0x4811d6['CollaborationEvent'][_0x51e13c(0x308)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x51e13c(0xb6)](_0x396469)),this[_0x51e13c(0x220)][_0x51e13c(0x199)]({'cmd':_0x366ec0['INGEST'],'routeKey':_0x29cc36,'routeType':'','data':_0x396469});}catch(_0x530b8d){this[_0x51e13c(0x400)][_0x51e13c(0x2f2)](_0x530b8d);}}[_0x12ab33(0x127)](){var _0x3fc8bb=_0x12ab33,_0x51ba7f;this[_0x3fc8bb(0x3ad)]=setTimeout(()=>{var _0x5ee918=_0x3fc8bb;this[_0x5ee918(0x3ad)]=null,this['_collaborationUIEventService'][_0x5ee918(0x3c1)]({'id':_0x49a56d[_0x5ee918(0x358)]});},(_0x51ba7f=this['_configService'][_0x3fc8bb(0x18d)](_0x5e9f32))!=null?_0x51ba7f:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x490a8f=_0x12ab33;this[_0x490a8f(0x3ad)]&&(clearTimeout(this[_0x490a8f(0x3ad)]),this[_0x490a8f(0x3ad)]=null);}[_0x12ab33(0xb6)](_0x1747e9){var _0x300fc5=_0x12ab33;if(!this[_0x300fc5(0x133)])return;const {data:_0x14fec4}=_0x1747e9,{unitID:_0x18361b,changeset:_0x4dd123}=_0x14fec4,{mutations:_0x24022f,type:_0xf1d9a0}=_0x4dd123;this[_0x300fc5(0x3c3)]={'unitId':_0x18361b,'type':_0xf1d9a0,'startTime':performance[_0x300fc5(0x265)](),'stopTime':0x0,'duration':0x0,'size':_0x4d86b8(_0x24022f)};}[_0x12ab33(0x31d)](){var _0x454b6e=_0x12ab33;if(this[_0x454b6e(0x133)]){if(!this[_0x454b6e(0x3c3)]){this[_0x454b6e(0x400)][_0x454b6e(0x2f2)](_0x454b6e(0x15e),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x454b6e(0x3c3)][_0x454b6e(0x12f)]=performance[_0x454b6e(0x265)](),this[_0x454b6e(0x3c3)][_0x454b6e(0x139)]=this[_0x454b6e(0x3c3)]['stopTime']-this[_0x454b6e(0x3c3)][_0x454b6e(0xac)],this['_telemetryService']['capture'](_0x160b1b,this[_0x454b6e(0x3c3)]),this[_0x454b6e(0x3c3)]=null;}}[_0x12ab33(0x3d4)](){var _0x555c38=_0x12ab33;this[_0x555c38(0x3c3)]=null;}},_0x4bf482[_0x12ab33(0x3b7)]=_0xe5644b([_0x134ec6(0x2,_0x449ba5[_0x12ab33(0x37b)]),_0x134ec6(0x3,_0x449ba5[_0x12ab33(0x388)]),_0x134ec6(0x4,_0x449ba5['Inject'](_0x4bf482[_0x12ab33(0x1a0)])),_0x134ec6(0x5,_0x449ba5[_0x12ab33(0x116)](_0x5d6148)),_0x134ec6(0x6,_0x449ba5[_0x12ab33(0x116)](_0x382c6e)),_0x134ec6(0x7,_0x449ba5['Optional'](_0x52cd9a[_0x12ab33(0x21c)]))],_0x4bf482[_0x12ab33(0x3b7)]);const _0x6af55a=_0x449ba5[_0x12ab33(0x37d)](_0x12ab33(0x427));function _0x5bc769(_0x527575){var _0x265ea5=_0x12ab33;return _0x265ea5(0x31e)+_0x527575;}var _0x2fdd05=Object['getOwnPropertyDescriptor'],_0x2b99d3=(_0x2686d2,_0x338a41,_0x357ca,_0x3fcfcc)=>{var _0x5f3a0d=_0x12ab33;for(var _0x470b40=_0x3fcfcc>0x1?void 0x0:_0x3fcfcc?_0x2fdd05(_0x338a41,_0x357ca):_0x338a41,_0x27c96e=_0x2686d2[_0x5f3a0d(0xe6)]-0x1,_0x2efe82;_0x27c96e>=0x0;_0x27c96e--)(_0x2efe82=_0x2686d2[_0x27c96e])&&(_0x470b40=_0x2efe82(_0x470b40)||_0x470b40);return _0x470b40;},_0x151df3=(_0x2316ad,_0x4c6697)=>(_0xa2d88c,_0x25d664)=>_0x4c6697(_0xa2d88c,_0x25d664,_0x2316ad);function _0x4a1418(_0x401cde){var _0x1d8161=_0x12ab33;const {unitID:_0x1b7759,mutations:_0xa16e30}=_0x401cde;return{'unitId':_0x1b7759,'subUnitId':_0xa16e30[_0x1d8161(0xe6)]>0x0?_0xa16e30[0x0][_0x1d8161(0x27c)][_0x1d8161(0xab)]:null};}_0x4bf482[_0x12ab33(0x280)]=class{constructor(_0x39d9ad,_0x29f8d9,_0x2a7376){this['_injector']=_0x39d9ad,this['_transformService']=_0x29f8d9,this['_instanceService']=_0x2a7376;}[_0x12ab33(0x2f7)](_0x27eee2){var _0x5bf04d=_0x12ab33,_0x9c10fd,_0x3d2f14,_0x4c54dc,_0x24fa3c;const _0x210098=this[_0x5bf04d(0x401)][_0x5bf04d(0x1fa)](_0x38c84a[_0x5bf04d(0x3b4)]),{unitId:_0x5068b3,subUnitId:_0x558ef0}=_0x4a1418(_0x27eee2),_0x53bba8=_0x210098==null?void 0x0:_0x210098[_0x5bf04d(0x11c)](_0x5068b3)[_0x5bf04d(0x321)](),_0x390006=(_0x3d2f14=(_0x9c10fd=this['_instanceService'][_0x5bf04d(0xf6)](_0x5068b3))==null?void 0x0:_0x9c10fd[_0x5bf04d(0x1a2)]())==null?void 0x0:_0x3d2f14[_0x5bf04d(0x212)]();if(_0x53bba8[_0x5bf04d(0xe6)]===0x0||!_0x5068b3||!_0x558ef0)return;const _0x47147e=[{'id':_0x38c84a[_0x5bf04d(0x1b4)]['id'],'params':{'unitId':_0x5068b3,'subUnitId':_0x390006,'selections':_0x449ba5[_0x5bf04d(0x1c0)][_0x5bf04d(0x380)](_0x53bba8)}}],_0x34efcf=this[_0x5bf04d(0x180)][_0x5bf04d(0x1b1)](_0x27eee2,_0x47147e);if(!_0x4811d6[_0x5bf04d(0x330)](_0x34efcf))throw _0x34efcf['error'];const _0x38c8ff=(_0x24fa3c=(_0x4c54dc=_0x34efcf[_0x5bf04d(0x304)][0x0])==null?void 0x0:_0x4c54dc[_0x5bf04d(0x27c)])==null?void 0x0:_0x24fa3c[_0x5bf04d(0x35d)];if(Array[_0x5bf04d(0x328)](_0x38c8ff)&&_0x38c8ff[_0x5bf04d(0xe6)]){if(_0x38c8ff[_0x5bf04d(0xe6)]===_0x47147e[0x0][_0x5bf04d(0x27c)][_0x5bf04d(0x35d)][_0x5bf04d(0xe6)]&&_0x38c8ff[_0x5bf04d(0x2ef)]((_0x48a7b6,_0x48efda)=>_0x449ba5[_0x5bf04d(0x1cb)]['equals'](_0x48a7b6[_0x5bf04d(0x2c9)],_0x47147e[0x0]['params'][_0x5bf04d(0x35d)][_0x48efda][_0x5bf04d(0x2c9)])))return;this[_0x5bf04d(0x401)][_0x5bf04d(0x1fa)](_0x449ba5[_0x5bf04d(0x20a)])[_0x5bf04d(0x29d)](_0x38c84a['SetSelectionsOperation']['id'],{'unitId':_0x5068b3,'subUnitId':_0x390006,'selections':_0x38c8ff});}}},_0x4bf482[_0x12ab33(0x280)]=_0x2b99d3([_0x151df3(0x0,_0x449ba5[_0x12ab33(0x116)](_0x449ba5['Injector'])),_0x151df3(0x1,_0x4811d6[_0x12ab33(0x3d0)]),_0x151df3(0x2,_0x449ba5['IUniverInstanceService'])],_0x4bf482[_0x12ab33(0x280)]);const _0x6f1b14=_0x449ba5['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x5f5425=(_0x3bbbeb=>(_0x3bbbeb[_0x3bbbeb[_0x12ab33(0x2e4)]=0x0]=_0x12ab33(0x2e4),_0x3bbbeb[_0x3bbbeb['OTHER_CLIENTS_EDITING']=0x1]=_0x12ab33(0x1d4),_0x3bbbeb))(_0x5f5425||{});const _0x433534=_0x12ab33(0x197),_0x17c09c={};function _0x9855a5(_0x4abcf9){var _0x3d4a4c=_0x12ab33,_0x5d1598;return!!((_0x5d1598=_0x4abcf9['params'])!=null&&_0x5d1598[_0x3d4a4c(0x2e7)]);}const _0x320516=new Set([_0x38c84a[_0x12ab33(0x37f)]['id']]);function _0x1b0e19(_0x4d41a9,_0x77ace,_0x19f36a,_0x12e4c9,_0x26f0ba){var _0x2b520f=_0x12ab33,_0x778e06,_0x36e6ee,_0x414f32,_0x5b5200;const _0x214209=[];for(const _0x197b2c of _0x4d41a9){if(_0x320516[_0x2b520f(0xd9)](_0x197b2c['id'])){if(_0x214209[_0x2b520f(0xe6)]>0x0)break;_0x214209['push'](_0x197b2c);break;}if(_0x9855a5(_0x197b2c)){if(_0x214209['length']>0x0)break;_0x214209[_0x2b520f(0x125)](_0x197b2c);break;}_0x214209[_0x2b520f(0x125)](_0x197b2c);}const _0x4a4b5a=(_0x36e6ee=(_0x778e06=_0x26f0ba[_0x2b520f(0xe8)]())==null?void 0x0:_0x778e06[_0x2b520f(0x30d)])!=null?_0x36e6ee:_0x2b520f(0x2c8),_0x435e99=(_0x5b5200=(_0x414f32=_0x26f0ba[_0x2b520f(0xe8)]())==null?void 0x0:_0x414f32[_0x2b520f(0x110)])!=null?_0x5b5200:'unknown';return{'changeset':{'unitID':_0x77ace,'type':_0x4811d6[_0x2b520f(0x27b)](_0x19f36a[_0x2b520f(0x2fe)](_0x77ace)),'baseRev':_0x12e4c9[_0x2b520f(0x3c6)](_0x77ace),'revision':0x0,'userID':_0x4a4b5a,'memberID':_0x435e99,'mutations':_0x214209},'pendingMutations':_0x4d41a9[_0x2b520f(0x23e)](_0x214209['length'])};}function _0x3238ce(_0x4d8228,_0x592bed,_0x1a07ad,_0x58ecb8,_0x23fc8c){var _0x3b23ed=_0x12ab33,_0x3c0972,_0x3e6c43,_0x4da3dd,_0x575e47;const _0x256168=[_0x4d8228[_0x3b23ed(0x3f7)]((_0x42b53e,_0x1903d2)=>{var _0x2b4863=_0x3b23ed,_0x1a62f3;const {id:_0xb00958}=_0x42b53e,{id:_0x1fee13,type:_0x3dd42a}=_0x1903d2,_0x2dca53=(_0x1a62f3=_0x42b53e[_0x2b4863(0x27c)])!=null?_0x1a62f3:{'actions':null},_0x178503=_0x1903d2[_0x2b4863(0x27c)];if(_0xb00958&&_0xb00958!==_0x1fee13)throw new Error(_0x2b4863(0x374)+_0xb00958+'\x20-\x20'+_0x1fee13+'.');return{..._0x42b53e,'id':_0x1fee13,'type':_0x3dd42a,'params':{'unitId':_0x178503[_0x2b4863(0x109)],'textRanges':_0x178503[_0x2b4863(0x306)],'actions':_0x449ba5[_0x2b4863(0xb1)][_0x2b4863(0x22e)](_0x2dca53[_0x2b4863(0x1fe)],_0x178503[_0x2b4863(0x1fe)])}};},{})],_0x2afe69=(_0x3e6c43=(_0x3c0972=_0x23fc8c['getCurrentUser']())==null?void 0x0:_0x3c0972[_0x3b23ed(0x30d)])!=null?_0x3e6c43:_0x3b23ed(0x2c8),_0x603d65=(_0x575e47=(_0x4da3dd=_0x23fc8c['getCurrentUser']())==null?void 0x0:_0x4da3dd[_0x3b23ed(0x110)])!=null?_0x575e47:'unknown';return{'changeset':{'unitID':_0x592bed,'type':_0x4811d6[_0x3b23ed(0x27b)](_0x1a07ad[_0x3b23ed(0x2fe)](_0x592bed)),'baseRev':_0x58ecb8[_0x3b23ed(0x3c6)](_0x592bed),'revision':0x0,'userID':_0x2afe69,'memberID':_0x603d65,'mutations':_0x256168},'pendingMutations':[]};}function _0x25c9b1(_0x4519ea,_0x1d1e09){var _0x16aa4a=_0x12ab33;const _0x2bbc37=new _0x550b9f[(_0x16aa4a(0x3a3))](0x1);return setTimeout(()=>_0x2bbc37[_0x16aa4a(0xaf)](_0x1d1e09),_0x4519ea),_0x2bbc37[_0x16aa4a(0xda)]()[_0x16aa4a(0x188)](_0x550b9f['take'](0x1));}var _0xc27c5=Object[_0x12ab33(0x39e)],_0x59db31=(_0x3d2d21,_0xdda4bb,_0x19b5c9,_0x59633c)=>{var _0x54ac8e=_0x12ab33;for(var _0x1613e0=_0x59633c>0x1?void 0x0:_0x59633c?_0xc27c5(_0xdda4bb,_0x19b5c9):_0xdda4bb,_0x52b6ea=_0x3d2d21[_0x54ac8e(0xe6)]-0x1,_0x26c13d;_0x52b6ea>=0x0;_0x52b6ea--)(_0x26c13d=_0x3d2d21[_0x52b6ea])&&(_0x1613e0=_0x26c13d(_0x1613e0)||_0x1613e0);return _0x1613e0;},_0x3760d5=(_0x5d811e,_0x1966be)=>(_0x12cf39,_0x5e95f4)=>_0x1966be(_0x12cf39,_0x5e95f4,_0x5d811e),_0x1bd308=(_0x3ccfbb=>(_0x3ccfbb[_0x12ab33(0xb7)]=_0x12ab33(0x3da),_0x3ccfbb[_0x12ab33(0x15f)]=_0x12ab33(0x3d5),_0x3ccfbb[_0x12ab33(0x2f9)]=_0x12ab33(0xe9),_0x3ccfbb[_0x12ab33(0xc1)]='awaiting',_0x3ccfbb['AWAITING_WITH_PENDING']=_0x12ab33(0x1b3),_0x3ccfbb['FETCH_MISS']=_0x12ab33(0x196),_0x3ccfbb[_0x12ab33(0x33f)]=_0x12ab33(0x2c0),_0x3ccfbb['OFFLINE']=_0x12ab33(0x269),_0x3ccfbb))(_0x1bd308||{});const _0x39d44f=0x4e20,_0x235019=0x2bf20;class _0x415b3a{constructor(_0x2bddad,_0x590829,_0x17a022,_0x522427,_0x3b0c2b,_0x722756,_0x2c6473,_0x23b942,_0x4bcad0){var _0x5cc041=_0x12ab33;_0x389841(this,_0x5cc041(0x3e8),null),_0x389841(this,_0x5cc041(0x215),[]),(this[_0x5cc041(0x183)]=_0x2bddad,this[_0x5cc041(0x424)]=_0x590829,this[_0x5cc041(0x241)]=_0x3b0c2b,this['_commandService']=_0x722756,this[_0x5cc041(0x203)]=_0x2c6473,this[_0x5cc041(0xf0)]=_0x23b942,this[_0x5cc041(0x3d2)]=_0x4bcad0,this[_0x5cc041(0x3e8)]=_0x17a022,this[_0x5cc041(0x215)]=_0x522427);}[_0x12ab33(0x3e5)](_0x14ff93){var _0x43325a=_0x12ab33;const _0x351cb4=this['_revisionService']['getCurrentRevOfUnit'](this[_0x43325a(0x183)]);return _0x14ff93['revision']>_0x351cb4+0x1?(this[_0x43325a(0x241)][_0x43325a(0x40a)]({'from':_0x351cb4,'to':_0x14ff93[_0x43325a(0x352)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xc3d303){var _0x8131bf=_0x12ab33;this[_0x8131bf(0x203)][_0x8131bf(0x138)](this[_0x8131bf(0x183)],_0xc3d303);}[_0x12ab33(0x1e8)](_0x333553){var _0xcc696a=_0x12ab33,_0x14ac2f,_0xea580a;(_0xea580a=(_0x14ac2f=this[_0xcc696a(0x241)])['onTransformSelections'])==null||_0xea580a[_0xcc696a(0x1a5)](_0x14ac2f,_0x333553);}['_transformIMECache'](_0x44ce9e){var _0x5d9d96=_0x12ab33,_0x409e0d,_0x1f0365;return(_0x1f0365=(_0x409e0d=this[_0x5d9d96(0x241)])[_0x5d9d96(0x307)])==null?void 0x0:_0x1f0365[_0x5d9d96(0x1a5)](_0x409e0d,_0x44ce9e);}[_0x12ab33(0x3c4)](_0xfc9ccc){var _0x138e9c=_0x12ab33,_0x3c506e,_0x585d2d;return(_0x585d2d=(_0x3c506e=this[_0x138e9c(0x241)])[_0x138e9c(0x353)])==null?void 0x0:_0x585d2d[_0x138e9c(0x1a5)](_0x3c506e,_0xfc9ccc);}['_transformRemoteChangesetByIMECache'](_0x493734){var _0x31537a=_0x12ab33,_0x581b74,_0x5b7605,_0x1f3d98;return(_0x1f3d98=(_0x5b7605=(_0x581b74=this[_0x31537a(0x241)])[_0x31537a(0xf4)])==null?void 0x0:_0x5b7605[_0x31537a(0x1a5)](_0x581b74,_0x493734))!=null?_0x1f3d98:_0x493734;}['_transformRemoteChangesetByStateCache'](_0x59ca90){var _0x1b22ea=_0x12ab33,_0x2b02b4,_0x2d649c,_0x5ae979;return(_0x5ae979=(_0x2d649c=(_0x2b02b4=this[_0x1b22ea(0x241)])[_0x1b22ea(0x18f)])==null?void 0x0:_0x2d649c[_0x1b22ea(0x1a5)](_0x2b02b4,_0x59ca90))!=null?_0x5ae979:_0x59ca90;}[_0x12ab33(0xd2)](_0x2a2eee){var _0x5b16d3=_0x12ab33,_0x37426b,_0x25e4de;if(this[_0x5b16d3(0x424)]===_0x5bae36[_0x5b16d3(0xef)]){const {unitID:_0x350b57,mutations:_0x1c536b,memberID:_0x5009e5}=_0x2a2eee,_0x2cc07b=_0x1c536b[_0x5b16d3(0xe6)]>0x0?_0x1c536b[0x0][_0x5b16d3(0x27c)][_0x5b16d3(0x306)]:[];Array['isArray'](_0x2cc07b)&&_0x2cc07b['length']>0x0&&((_0x25e4de=(_0x37426b=this['_handler'])[_0x5b16d3(0x11e)])==null||_0x25e4de[_0x5b16d3(0x1a5)](_0x37426b,{'unitID':_0x350b57,'memberID':_0x5009e5,'textRanges':_0x2cc07b}));}}[_0x12ab33(0xdc)](){var _0x36bf1e=_0x12ab33,_0x4add22;(_0x4add22=this['_localCacheService'])==null||_0x4add22['updateOfflineData'](this[_0x36bf1e(0x183)],this[_0x36bf1e(0x424)],this[_0x36bf1e(0x3e8)],this[_0x36bf1e(0x215)]);}[_0x12ab33(0x408)](){var _0x1fff34=_0x12ab33;return this[_0x1fff34(0xf0)]['getCurrentRevOfUnit'](this[_0x1fff34(0x183)]);}[_0x12ab33(0x101)](){var _0x587f90=_0x12ab33;this[_0x587f90(0xf0)]['incrementRevOfUnit'](this[_0x587f90(0x183)]);}[_0x12ab33(0xb2)](_0x4a6f39){var _0x38b607=_0x12ab33,_0x78101c;let _0x25bd83=this[_0x38b607(0x348)](_0x4a6f39);_0x25bd83=this['_transformRemoteChangesetByStateCache'](_0x25bd83);const _0x32102e=_0x449ba5['sequenceExecute'](_0x25bd83['mutations'],this[_0x38b607(0x1e2)],{'fromCollab':!0x0});if(!_0x32102e[_0x38b607(0x415)])throw _0x32102e[_0x38b607(0x2f2)]instanceof Error?_0x32102e['error']:new Error((_0x78101c=_0x32102e[_0x38b607(0x2f2)])!=null?_0x78101c:_0x38b607(0x2fb));this[_0x38b607(0x10d)](_0x25bd83),this['_transformStateCache'](_0x25bd83),this[_0x38b607(0x2ae)](_0x4a6f39),this['_transformSelections'](_0x25bd83),this[_0x38b607(0xd2)](_0x25bd83),this['_incrementRevisionNumber']();}}_0x4bf482[_0x12ab33(0x390)]=class extends _0x415b3a{constructor(_0x36783f,_0x1acea4,_0x4d83b5,_0x1114b4,_0x5209db,_0x4e617e,_0x8034b2,_0xc0b019,_0x2de116,_0x42f33b){var _0x183f4c=_0x12ab33;super(_0x36783f,_0x1acea4,null,[],_0x4d83b5,_0x8034b2,_0x4e617e,_0x1114b4,_0x42f33b),_0x389841(this,_0x183f4c(0x242),'synced'),(this[_0x183f4c(0x401)]=_0x5209db,this['_logService']=_0xc0b019,this[_0x183f4c(0x180)]=_0x2de116,this[_0x183f4c(0x346)]=_0x42f33b);}[_0x12ab33(0x1fd)](_0x580d29){var _0x2e436e=_0x12ab33;const _0x139baa=this[_0x2e436e(0x401)]['createInstance'](_0x4bf482[_0x2e436e(0x397)],this[_0x2e436e(0x183)],this['type'],[_0x580d29],this['_handler']);return _0x139baa[_0x2e436e(0x18b)](),_0x139baa[_0x2e436e(0xdc)](),_0x139baa;}[_0x12ab33(0x179)](_0x52c2fc){var _0x5e3622=_0x12ab33;if(this['_checkMissing'](_0x52c2fc))return this[_0x5e3622(0x401)][_0x5e3622(0x34e)](_0x4bf482['FetchingMissState'],this[_0x5e3622(0x183)],this[_0x5e3622(0x424)],null,[],null,[_0x52c2fc],this['_handler']);try{const _0x1c7057=this[_0x5e3622(0x180)][_0x5e3622(0x1b1)](_0x52c2fc,[_0x4811d6[_0x5e3622(0x1f3)]]);if(_0x4811d6['isTransformMutationsWithChangesetSuccess'](_0x1c7057)){const {c1Prime:_0x5a3310}=_0x1c7057;return this[_0x5e3622(0xb2)](_0x5a3310),this;}throw _0x1c7057[_0x5e3622(0x2f2)];}catch(_0x180383){return this[_0x5e3622(0x400)][_0x5e3622(0x2f2)](_0x180383),this[_0x5e3622(0x219)](!0x1);}}[_0x12ab33(0x219)](_0x11789d){var _0x2fd609=_0x12ab33;return this[_0x2fd609(0x401)][_0x2fd609(0x34e)](_0x4bf482[_0x2fd609(0x200)],this[_0x2fd609(0x183)],this[_0x2fd609(0x424)],null,[],this[_0x2fd609(0x241)],_0x11789d);}[_0x12ab33(0x274)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x12ab33(0x120)](){var _0xe38687=_0x12ab33;throw new Error(_0xe38687(0x326));}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){var _0x5c5a3a=_0x12ab33;return this[_0x5c5a3a(0x401)][_0x5c5a3a(0x34e)](_0x4bf482[_0x5c5a3a(0x2d6)],this[_0x5c5a3a(0x183)],this[_0x5c5a3a(0x424)],null,[],this[_0x5c5a3a(0x241)]);}[_0x12ab33(0x303)](){return this;}[_0x12ab33(0xcb)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x186eb5=_0x12ab33;const _0x4f0901=this[_0x186eb5(0xf0)][_0x186eb5(0x3c6)](this[_0x186eb5(0x183)]);return this[_0x186eb5(0x241)][_0x186eb5(0x40a)]({'from':_0x4f0901,'to':0x0}),this[_0x186eb5(0x401)][_0x186eb5(0x34e)](_0x4bf482[_0x186eb5(0x433)],this[_0x186eb5(0x183)],this[_0x186eb5(0x424)],null,[],null,[],this[_0x186eb5(0x241)]);}},_0x4bf482[_0x12ab33(0x390)]=_0x59db31([_0x3760d5(0x3,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0x4,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x5,_0x449ba5['IUndoRedoService']),_0x3760d5(0x6,_0x449ba5['ICommandService']),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0x8,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0x9,_0x449ba5['Optional'](_0x6af55a))],_0x4bf482[_0x12ab33(0x390)]),_0x4bf482[_0x12ab33(0x397)]=class extends _0x415b3a{constructor(_0x57a3ac,_0x3057b3,_0x1fc248,_0xb4aadf,_0x38a55a,_0x24b332,_0x2015f4,_0x1f8aed,_0x19aa81,_0x6837b4,_0x21321e,_0x4b2573,_0x25c9d4,_0x7e5ea4){var _0xde64f2=_0x12ab33;super(_0x57a3ac,_0x3057b3,null,_0x1fc248,_0xb4aadf,_0x19aa81,_0x25c9d4,_0x24b332,_0x7e5ea4),_0x389841(this,_0xde64f2(0x242),_0xde64f2(0xe9)),_0x389841(this,_0xde64f2(0xc6),null),_0x389841(this,_0xde64f2(0x3a8),null),(this[_0xde64f2(0x401)]=_0x38a55a,this['_memberService']=_0x2015f4,this['_logService']=_0x1f8aed,this[_0xde64f2(0x3af)]=_0x6837b4,this[_0xde64f2(0x180)]=_0x21321e,this[_0xde64f2(0x436)]=_0x4b2573);}['appendMutation'](_0x1c9ade){var _0xb018c8=_0x12ab33;return this[_0xb018c8(0x215)][_0xb018c8(0x125)](_0x1c9ade),this[_0xb018c8(0xdc)](),this;}[_0x12ab33(0x179)](_0x17c55f){var _0xf4f815=_0x12ab33;if(this[_0xf4f815(0x3e5)](_0x17c55f))return this[_0xf4f815(0x363)](),this[_0xf4f815(0x401)][_0xf4f815(0x34e)](_0x4bf482['FetchingMissState'],this[_0xf4f815(0x183)],this[_0xf4f815(0x424)],null,this[_0xf4f815(0x215)],null,[_0x17c55f],this['_handler']);try{const _0x7a19b2=this[_0xf4f815(0x180)]['transformMutationsWithChangeset'](_0x17c55f,this[_0xf4f815(0x215)]);if(_0x4811d6[_0xf4f815(0x330)](_0x7a19b2)){const {c1Prime:_0x336f2b,m2Prime:_0xa213ef}=_0x7a19b2;this['_executeRemoteChangeset'](_0x336f2b);const _0x1003a3=this[_0xf4f815(0x401)]['createInstance'](_0x4bf482[_0xf4f815(0x397)],this[_0xf4f815(0x183)],this['type'],_0xa213ef,this['_handler']);this[_0xf4f815(0x363)]();const _0x4aa318=new Date()[_0xf4f815(0x1a1)](),_0x253d7d=this[_0xf4f815(0xc6)]?Math['max'](this[_0xf4f815(0xc6)]-_0x4aa318,0x0):this[_0xf4f815(0x171)]();return _0x1003a3[_0xf4f815(0x18b)](_0x253d7d),_0x1003a3;}throw _0x7a19b2[_0xf4f815(0x2f2)];}catch(_0x53b9ec){return this[_0xf4f815(0x400)][_0xf4f815(0x2f2)](_0x53b9ec),this[_0xf4f815(0x219)](!0x1);}}[_0x12ab33(0x274)](){var _0x550ec7=_0x12ab33;throw new Error(_0x550ec7(0x1be));}[_0x12ab33(0x120)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){var _0x344726=_0x12ab33;return this[_0x344726(0x363)](),this[_0x344726(0x401)][_0x344726(0x34e)](_0x4bf482['OfflineState'],this[_0x344726(0x183)],this[_0x344726(0x424)],null,this['_pendingMutations'],this[_0x344726(0x241)]);}['toggleOnline'](){return this;}[_0x12ab33(0x18b)](_0x816c8f){var _0x5928eb=_0x12ab33;const _0x4f7a13=_0x816c8f!=null?_0x816c8f:this['_getSendChangesetTimeout']();this[_0x5928eb(0xc6)]=new Date()[_0x5928eb(0x1a1)]()+_0x4f7a13,this[_0x5928eb(0x3a8)]=setTimeout(()=>{var _0xb1eea9=_0x5928eb;this[_0xb1eea9(0x363)]();let _0x1d5f0b=null;switch(this[_0xb1eea9(0x424)]){case _0x5bae36[_0xb1eea9(0x343)]:{_0x1d5f0b=_0x1b0e19(this['_pendingMutations'],this[_0xb1eea9(0x183)],this[_0xb1eea9(0x436)],this[_0xb1eea9(0xf0)],this[_0xb1eea9(0x30c)]);break;}case _0x5bae36[_0xb1eea9(0xef)]:{this[_0xb1eea9(0x215)][_0xb1eea9(0x2ef)](_0x460d4b=>_0x460d4b['id']===_0x187ef9[_0xb1eea9(0x31a)]['id'])?_0x1d5f0b=_0x3238ce(this[_0xb1eea9(0x215)],this[_0xb1eea9(0x183)],this[_0xb1eea9(0x436)],this[_0xb1eea9(0xf0)],this['_memberService']):_0x1d5f0b=_0x1b0e19(this[_0xb1eea9(0x215)],this[_0xb1eea9(0x183)],this[_0xb1eea9(0x436)],this[_0xb1eea9(0xf0)],this[_0xb1eea9(0x30c)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0xb1eea9(0x2bd));}const {changeset:_0x161ac6,pendingMutations:_0x262933}=_0x1d5f0b;this[_0xb1eea9(0x241)][_0xb1eea9(0x124)](_0x161ac6);const _0x50b6e9=_0x262933[_0xb1eea9(0xe6)]?this[_0xb1eea9(0x401)][_0xb1eea9(0x34e)](_0x4bf482['AwaitingWithPendingState'],this[_0xb1eea9(0x183)],this['type'],_0x161ac6,_0x262933,this[_0xb1eea9(0x241)],void 0x0):this[_0xb1eea9(0x401)][_0xb1eea9(0x34e)](_0x4bf482[_0xb1eea9(0x137)],this[_0xb1eea9(0x183)],this['type'],_0x161ac6,this[_0xb1eea9(0x241)]);_0x50b6e9['_updateLocalCache'](),this[_0xb1eea9(0x241)][_0xb1eea9(0xc3)](this,_0x50b6e9);},_0x4f7a13);}[_0x12ab33(0x171)](){var _0x20e212=_0x12ab33,_0x28cb22;const _0x4e7a1a=this[_0x20e212(0x3af)][_0x20e212(0x18d)](_0x433534);return(_0x28cb22=_0x4e7a1a==null?void 0x0:_0x4e7a1a[_0x20e212(0x144)])!=null?_0x28cb22:0x7d0;}[_0x12ab33(0xcb)](){var _0x2ed5bb=_0x12ab33;throw new Error(_0x2ed5bb(0x299));}[_0x12ab33(0x363)](){var _0x309bf3=_0x12ab33;this[_0x309bf3(0x3a8)]!=null&&(clearTimeout(this[_0x309bf3(0x3a8)]),this[_0x309bf3(0x3a8)]=null);}['_onConflict'](_0x33df7a){var _0x2b907b=_0x12ab33;return this[_0x2b907b(0x363)](),this[_0x2b907b(0x401)][_0x2b907b(0x34e)](_0x4bf482['ConflictState'],this[_0x2b907b(0x183)],this[_0x2b907b(0x424)],null,this[_0x2b907b(0x215)],this[_0x2b907b(0x241)],_0x33df7a);}},_0x4bf482['PendingState']=_0x59db31([_0x3760d5(0x4,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x5,_0x449ba5[_0x12ab33(0x116)](_0x4811d6['RevisionService'])),_0x3760d5(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4bf482[_0x12ab33(0x1a0)])),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0x8,_0x449ba5[_0x12ab33(0x20a)]),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0x388)]),_0x3760d5(0xa,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0xb,_0x449ba5[_0x12ab33(0x38b)]),_0x3760d5(0xc,_0x449ba5[_0x12ab33(0x36d)]),_0x3760d5(0xd,_0x449ba5['Optional'](_0x6af55a))],_0x4bf482['PendingState']),_0x4bf482[_0x12ab33(0x137)]=class extends _0x415b3a{constructor(_0x31a282,_0x356ff3,_0x3b668c,_0x592742,_0x1c451d,_0x4bf78c,_0x5c9beb,_0xbb8cad,_0x1a2628,_0x2e1b36,_0x369772){var _0x7507f4=_0x12ab33;super(_0x31a282,_0x356ff3,_0x3b668c,[],_0x592742,_0x5c9beb,_0x2e1b36,_0x4bf78c,_0x369772),_0x389841(this,_0x7507f4(0x242),_0x7507f4(0x43f)),_0x389841(this,_0x7507f4(0x3dd),0x0),_0x389841(this,_0x7507f4(0x417),0x0),_0x389841(this,'_resendTimer'),_0x389841(this,'_sender'),(this[_0x7507f4(0x401)]=_0x1c451d,this[_0x7507f4(0x400)]=_0xbb8cad,this[_0x7507f4(0x180)]=_0x1a2628);}['appendMutation'](_0x3be626){var _0x80cfe=_0x12ab33;this['_clearScheduledTask']();const _0x4b679c=this[_0x80cfe(0x401)][_0x80cfe(0x34e)](_0x4bf482[_0x80cfe(0x370)],this['unitID'],this[_0x80cfe(0x424)],this[_0x80cfe(0x3e8)],[_0x3be626],this[_0x80cfe(0x241)],this[_0x80cfe(0x1bc)]);return _0x4b679c[_0x80cfe(0xdc)](),_0x4b679c;}[_0x12ab33(0x179)](_0x3e646c){var _0x8c72ab=_0x12ab33;if(this[_0x8c72ab(0x3e5)](_0x3e646c))return this['_clearScheduledTask'](),this[_0x8c72ab(0x401)]['createInstance'](_0x4bf482['FetchingMissState'],this[_0x8c72ab(0x183)],this[_0x8c72ab(0x424)],this[_0x8c72ab(0x3e8)],[],null,[_0x3e646c],this[_0x8c72ab(0x241)]);try{const _0x30a275=this[_0x8c72ab(0x180)]['transformChangesets']([_0x3e646c],[this['_awaitingChangeset']],!0x1);if(_0x4811d6[_0x8c72ab(0x24d)](_0x30a275)){const {c1Prime:_0x1b1c64,c2Prime:_0x53e776}=_0x30a275;this[_0x8c72ab(0xb2)](_0x1b1c64[0x0]),_0x53e776[0x0][_0x8c72ab(0x149)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x110784=this[_0x8c72ab(0x401)][_0x8c72ab(0x34e)](_0x4bf482[_0x8c72ab(0x137)],this[_0x8c72ab(0x183)],this['type'],_0x53e776[0x0],this[_0x8c72ab(0x241)]);return _0x110784[_0x8c72ab(0xdc)](),_0x110784;}return this[_0x8c72ab(0x219)](!0x1);}catch(_0x4ef20d){return this['_logService'][_0x8c72ab(0x2f2)](_0x4ef20d),this[_0x8c72ab(0x219)](!0x1);}}[_0x12ab33(0x274)](_0x3c0259){var _0x1d45b1=_0x12ab33;this[_0x1d45b1(0x363)]();const _0x3fe974=this[_0x1d45b1(0xf0)][_0x1d45b1(0x3c6)](this[_0x1d45b1(0x183)]);if(_0x3c0259[_0x1d45b1(0x352)]<_0x3fe974-0x1)return this;if(this[_0x1d45b1(0x3e5)](_0x3c0259))return this[_0x1d45b1(0x401)][_0x1d45b1(0x34e)](_0x4bf482['FetchingMissState'],this['unitID'],this[_0x1d45b1(0x424)],null,[],this[_0x1d45b1(0x3e8)],[],this[_0x1d45b1(0x241)]);this[_0x1d45b1(0x101)]();const _0x2ce8d9=this[_0x1d45b1(0x401)][_0x1d45b1(0x34e)](_0x4bf482[_0x1d45b1(0x390)],this[_0x1d45b1(0x183)],this['type'],this['_handler']);return _0x2ce8d9[_0x1d45b1(0xdc)](),_0x2ce8d9;}[_0x12ab33(0x120)](_0x4208a0){var _0xecd2bc=_0x12ab33;return this[_0xecd2bc(0x219)](!!(_0x4208a0!=null&&_0x4208a0[_0xecd2bc(0x223)]));}[_0x12ab33(0x155)](_0x2cbb09){var _0x5ef0d3=_0x12ab33;return this[_0x5ef0d3(0x417)]>_0x235019?this['toggleOffline']():(this['_resendTimer']=_0x25c9b1(this[_0x5ef0d3(0x3dd)],{'timeout':this[_0x5ef0d3(0x3dd)],'reqId':_0x2cbb09[_0x5ef0d3(0x387)]}),this['_sender']=this['_resendTimer'][_0x5ef0d3(0x368)](({reqId:_0xa9cb00,timeout:_0x166177})=>{var _0x35d6ed=_0x5ef0d3;this[_0x35d6ed(0x261)](_0xa9cb00,_0x166177);}),this);}[_0x12ab33(0x33b)](){var _0x39134a=_0x12ab33;return this['_clearScheduledTask'](),this['_injector'][_0x39134a(0x34e)](_0x4bf482['OfflineState'],this[_0x39134a(0x183)],this['type'],this[_0x39134a(0x3e8)],[],this['_handler']);}[_0x12ab33(0x303)](){return this;}[_0x12ab33(0xcb)](){var _0x1d2005=_0x12ab33;this[_0x1d2005(0x241)]['onSendChangeset'](this[_0x1d2005(0x3e8)]);}[_0x12ab33(0x219)](_0x341826){var _0x1fdfeb=_0x12ab33;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x4bf482[_0x1fdfeb(0x200)],this['unitID'],this[_0x1fdfeb(0x424)],this['_awaitingChangeset'],[],this[_0x1fdfeb(0x241)],_0x341826);}['_resendWithTimeout'](_0x30979e,_0x391aa4){var _0x3b1b08=_0x12ab33,_0x521ab0;_0x30979e===((_0x521ab0=this[_0x3b1b08(0x3e8)])==null?void 0x0:_0x521ab0[_0x3b1b08(0x387)])&&(this[_0x3b1b08(0xcb)](),this[_0x3b1b08(0x3dd)]=_0x391aa4===0x0?0x3e8:Math[_0x3b1b08(0x169)](_0x391aa4*0x2,_0x39d44f),this[_0x3b1b08(0x417)]+=this[_0x3b1b08(0x3dd)]);}['_clearScheduledTask'](){var _0x57062c=_0x12ab33,_0x5c7108;(_0x5c7108=this[_0x57062c(0x296)])==null||_0x5c7108[_0x57062c(0x1bb)](),this['_resendTimeout']=0x0,this[_0x57062c(0x417)]=0x0;}},_0x4bf482[_0x12ab33(0x137)]=_0x59db31([_0x3760d5(0x4,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x5,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0x6,_0x449ba5['ICommandService']),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0x8,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0x36d)]),_0x3760d5(0xa,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482['AwaitingState']),_0x4bf482[_0x12ab33(0x370)]=class extends _0x415b3a{constructor(_0x207de2,_0xc84686,_0xe2d914,_0x4f1b64,_0x54ea22,_0x3fda2f,_0x3f3d69,_0x42a37a,_0x566a9d,_0x21804e,_0x179984,_0x47c95b,_0x718aa6){var _0x9412aa=_0x12ab33;super(_0x207de2,_0xc84686,_0xe2d914,_0x4f1b64,_0x54ea22,_0x566a9d,_0x47c95b,_0x42a37a,_0x718aa6),_0x389841(this,_0x9412aa(0x242),_0x9412aa(0x1b3)),_0x389841(this,_0x9412aa(0x3dd),0x0),_0x389841(this,'_maxTotalRetryTimeout',0x0),_0x389841(this,_0x9412aa(0x1bc)),_0x389841(this,'_sender'),(this[_0x9412aa(0x401)]=_0x3f3d69,this[_0x9412aa(0x400)]=_0x21804e,this[_0x9412aa(0x180)]=_0x179984,this[_0x9412aa(0x346)]=_0x718aa6,_0x3fda2f&&(this[_0x9412aa(0x1bc)]=_0x3fda2f,this[_0x9412aa(0x296)]=this[_0x9412aa(0x1bc)][_0x9412aa(0x368)](({reqId:_0xb242f0,timeout:_0x30f68a})=>{var _0x3003ef=_0x9412aa;this[_0x3003ef(0x261)](_0xb242f0,_0x30f68a);})));}['appendMutation'](_0x1bf89e){var _0x22fecf=_0x12ab33;return this[_0x22fecf(0x215)][_0x22fecf(0x125)](_0x1bf89e),this;}[_0x12ab33(0x179)](_0x8eb968){var _0x4aef9d=_0x12ab33;if(this[_0x4aef9d(0x3e5)](_0x8eb968))return this['_clearScheduledTask'](),this[_0x4aef9d(0x401)]['createInstance'](_0x4bf482[_0x4aef9d(0x433)],this[_0x4aef9d(0x183)],this[_0x4aef9d(0x424)],this[_0x4aef9d(0x3e8)],this[_0x4aef9d(0x215)],null,[_0x8eb968],this[_0x4aef9d(0x241)]);try{const _0x264ec7=this['_transformService'][_0x4aef9d(0x2b9)]([_0x8eb968],[this[_0x4aef9d(0x3e8)]],!0x1);if(_0x4811d6[_0x4aef9d(0x24d)](_0x264ec7)){const {c1Prime:_0xd400cc,c2Prime:_0x1e8905}=_0x264ec7,_0x350481=this[_0x4aef9d(0x180)][_0x4aef9d(0x1b1)](_0xd400cc[0x0],this[_0x4aef9d(0x215)]);if(_0x4811d6[_0x4aef9d(0x330)](_0x350481)){const {c1Prime:_0x39173a,m2Prime:_0x7c1926}=_0x350481;return this[_0x4aef9d(0xb2)](_0x39173a),_0x1e8905[0x0][_0x4aef9d(0x149)]=this[_0x4aef9d(0x408)](),this[_0x4aef9d(0x363)](),this[_0x4aef9d(0x401)]['createInstance'](_0x4bf482[_0x4aef9d(0x370)],this[_0x4aef9d(0x183)],this[_0x4aef9d(0x424)],_0x1e8905[0x0],_0x7c1926,this[_0x4aef9d(0x241)],void 0x0);}throw _0x350481[_0x4aef9d(0x2f2)];}throw _0x264ec7[_0x4aef9d(0x2f2)];}catch(_0x34219a){return this['_logService'][_0x4aef9d(0x2f2)](_0x34219a),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x255403){var _0x15776e=_0x12ab33;if(this['_clearScheduledTask'](),this[_0x15776e(0x3e5)](_0x255403))return this[_0x15776e(0x401)][_0x15776e(0x34e)](_0x4bf482[_0x15776e(0x433)],this[_0x15776e(0x183)],this['type'],null,this[_0x15776e(0x215)],this[_0x15776e(0x3e8)],[],this[_0x15776e(0x241)]);this[_0x15776e(0x101)]();const _0xd103ec=this[_0x15776e(0x401)][_0x15776e(0x34e)](_0x4bf482[_0x15776e(0x397)],this[_0x15776e(0x183)],this[_0x15776e(0x424)],this[_0x15776e(0x215)],this[_0x15776e(0x241)]);return _0xd103ec[_0x15776e(0x18b)](),_0xd103ec['_updateLocalCache'](),_0xd103ec;}['onRemoteRej'](_0x600d7e){var _0xcf3330=_0x12ab33;return this['_onConflict'](!!(_0x600d7e!=null&&_0x600d7e[_0xcf3330(0x223)]));}[_0x12ab33(0x155)](_0x8ecff8){var _0x47e03c=_0x12ab33;return this[_0x47e03c(0x417)]>_0x235019?this[_0x47e03c(0x33b)]():(this[_0x47e03c(0x1bc)]=_0x25c9b1(this[_0x47e03c(0x3dd)],{'timeout':this['_resendTimeout'],'reqId':_0x8ecff8[_0x47e03c(0x387)]}),this[_0x47e03c(0x296)]=this[_0x47e03c(0x1bc)][_0x47e03c(0x368)](({reqId:_0x42ec36,timeout:_0x1c4a4f})=>{var _0x4d2217=_0x47e03c;this[_0x4d2217(0x261)](_0x42ec36,_0x1c4a4f);}),this);}[_0x12ab33(0x33b)](){var _0x55d278=_0x12ab33;return this[_0x55d278(0x363)](),this[_0x55d278(0x401)]['createInstance'](_0x4bf482[_0x55d278(0x2d6)],this[_0x55d278(0x183)],this['type'],this[_0x55d278(0x3e8)],this[_0x55d278(0x215)],this[_0x55d278(0x241)]);}[_0x12ab33(0x303)](){return this;}[_0x12ab33(0xcb)](){var _0x48a409=_0x12ab33;this[_0x48a409(0x241)][_0x48a409(0x124)](this[_0x48a409(0x3e8)]);}[_0x12ab33(0x219)](_0x4d6fd2){var _0x1293e4=_0x12ab33;return this['_clearScheduledTask'](),this[_0x1293e4(0x401)][_0x1293e4(0x34e)](_0x4bf482[_0x1293e4(0x200)],this[_0x1293e4(0x183)],this[_0x1293e4(0x424)],null,this['_pendingMutations'],this[_0x1293e4(0x241)],_0x4d6fd2);}[_0x12ab33(0x261)](_0x4051ea,_0x5bdd35){var _0x5dcaa3=_0x12ab33,_0x3f6f35;_0x4051ea===((_0x3f6f35=this[_0x5dcaa3(0x3e8)])==null?void 0x0:_0x3f6f35[_0x5dcaa3(0x387)])&&(this[_0x5dcaa3(0xcb)](),this[_0x5dcaa3(0x3dd)]=_0x5bdd35===0x0?0x3e8:Math[_0x5dcaa3(0x169)](_0x5bdd35*0x2,_0x39d44f),this['_maxTotalRetryTimeout']+=this['_resendTimeout']);}[_0x12ab33(0x363)](){var _0x13d428=_0x12ab33,_0x4f040e;(_0x4f040e=this['_sender'])==null||_0x4f040e[_0x13d428(0x1bb)](),this[_0x13d428(0x3dd)]=0x0,this[_0x13d428(0x417)]=0x0;}},_0x4bf482[_0x12ab33(0x370)]=_0x59db31([_0x3760d5(0x6,_0x449ba5[_0x12ab33(0x116)](_0x449ba5['Injector'])),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0x8,_0x449ba5[_0x12ab33(0x20a)]),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0xa,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0xb,_0x449ba5['IUndoRedoService']),_0x3760d5(0xc,_0x449ba5['Optional'](_0x6af55a))],_0x4bf482[_0x12ab33(0x370)]),_0x4bf482[_0x12ab33(0x200)]=class extends _0x415b3a{constructor(_0x5ed375,_0x58f2f5,_0x16f7db,_0x56a432,_0x40b1fb,_0x394c31=!0x1,_0x13fa15,_0x3dfcac,_0x49732b,_0xa52806,_0x406abe,_0x1edcf6,_0x43cf2e){var _0x3b2404=_0x12ab33;super(_0x5ed375,_0x58f2f5,_0x16f7db,_0x56a432,_0x40b1fb,_0x3dfcac,_0x49732b,_0xa52806,_0x43cf2e),_0x389841(this,_0x3b2404(0x242),'conflict'),(this[_0x3b2404(0x192)]=_0x394c31,this[_0x3b2404(0x17a)]=_0x13fa15,this[_0x3b2404(0x18a)]=_0x406abe,this[_0x3b2404(0x18e)]=_0x1edcf6,this[_0x3b2404(0x346)]=_0x43cf2e,this[_0x3b2404(0x12c)](),this[_0x3b2404(0xcd)](),this[_0x3b2404(0x359)]());}[_0x12ab33(0x1fd)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){return this;}['toggleOnline'](){return this;}[_0x12ab33(0xcb)](){var _0x475398=_0x12ab33;throw new Error(_0x475398(0x289));}[_0x12ab33(0xcd)](){var _0x2a8daa=_0x12ab33,_0x331bf5;(_0x331bf5=this[_0x2a8daa(0x3d2)])==null||_0x331bf5[_0x2a8daa(0x1ba)](this['unitID'],this[_0x2a8daa(0x424)],null,[]);}['_showConflictNotification'](){var _0x464662=_0x12ab33;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x464662(0x3c1)]({'id':_0x49a56d[_0x464662(0x1c9)]}):this['_collaborationUIEventService']['emitEvent']({'id':_0x49a56d[_0x464662(0x33f)]});}['_disableEditing'](){var _0x4de488=_0x12ab33;this[_0x4de488(0x17a)]['updatePermissionPoint'](new _0x38c84a['WorkbookEditablePermission'](this[_0x4de488(0x183)])['id'],!0x1);}},_0x4bf482['ConflictState']=_0x59db31([_0x3760d5(0x6,_0x449ba5[_0x12ab33(0x116)](_0x449ba5['IPermissionService'])),_0x3760d5(0x7,_0x449ba5['ICommandService']),_0x3760d5(0x8,_0x449ba5['IUndoRedoService']),_0x3760d5(0x9,_0x449ba5['Inject'](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0xa,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)])),_0x3760d5(0xb,_0x449ba5['Inject'](_0x382c6e)),_0x3760d5(0xc,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0x200)]),_0x4bf482[_0x12ab33(0x2d6)]=class extends _0x415b3a{constructor(_0x3b2b15,_0x28317c,_0x2d23af,_0x213d0f,_0x57cb38,_0x123d33,_0x538863,_0x4e89e2,_0x398c91,_0x1d7c93){var _0x224ffb=_0x12ab33;super(_0x3b2b15,_0x28317c,_0x2d23af,_0x213d0f,_0x57cb38,_0x4e89e2,_0x398c91,_0x538863,_0x1d7c93),_0x389841(this,'status',_0x224ffb(0x269)),this[_0x224ffb(0x401)]=_0x123d33;}['appendMutation'](_0x2ccfca){var _0x218f4b=_0x12ab33;return this[_0x218f4b(0x215)][_0x218f4b(0x125)](_0x2ccfca),this[_0x218f4b(0xdc)](),this;}[_0x12ab33(0x179)](_0x450224){var _0x442557=_0x12ab33;throw new Error(_0x442557(0x1eb));}[_0x12ab33(0x274)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x12ab33(0x120)](){var _0x2958e7=_0x12ab33;throw new Error(_0x2958e7(0x302));}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){return this;}[_0x12ab33(0x303)](){var _0x10d88e=_0x12ab33;const {_injector:_0x5a6e90,_pendingMutations:_0x461c18,_awaitingChangeset:_0x14553f,unitID:_0x4fffbb,_handler:_0x42ec33,type:_0x2aa8e5}=this,_0x170cbe=_0xdd3008(_0x5a6e90,_0x4fffbb,_0x2aa8e5,_0x14553f,_0x461c18,_0x42ec33);return _0x170cbe instanceof _0x4bf482[_0x10d88e(0x397)]?_0x170cbe[_0x10d88e(0x18b)]():(_0x170cbe instanceof _0x4bf482['AwaitingWithPendingState']||_0x170cbe instanceof _0x4bf482['AwaitingState'])&&_0x170cbe[_0x10d88e(0xcb)](),_0x170cbe;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x4bf482['OfflineState']=_0x59db31([_0x3760d5(0x5,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x20a)]),_0x3760d5(0x8,_0x449ba5[_0x12ab33(0x36d)]),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0x2d6)]),_0x4bf482[_0x12ab33(0x433)]=class extends _0x415b3a{constructor(_0x48b135,_0x1f2995,_0x41f459,_0x17946e,_0x32f872,_0x9b4599,_0x4e8f19,_0x3fb013,_0x4019a2,_0xffead2,_0xbade23,_0x484f2f,_0x10bba3,_0x2d61a2){var _0xa63c54=_0x12ab33;super(_0x48b135,_0x1f2995,_0x41f459,_0x17946e,_0x4e8f19,_0xbade23,_0x484f2f,_0x4019a2,_0x2d61a2),_0x389841(this,_0xa63c54(0x242),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x32f872,this['_queuedRemoteChangesets']=_0x9b4599,this[_0xa63c54(0x401)]=_0x3fb013,this[_0xa63c54(0x400)]=_0xffead2,this[_0xa63c54(0x180)]=_0x10bba3,this[_0xa63c54(0x346)]=_0x2d61a2);}[_0x12ab33(0x41c)](_0x399b1b){var _0x2ca1f7=_0x12ab33;try{const _0x375973=[..._0x399b1b,...this['_queuedRemoteChangesets']],_0x2ca78f=[this[_0x2ca1f7(0x3e8)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x332573=>!!_0x332573);let _0x4ae494,_0x407564;if(_0x2ca78f['length']){const _0x142a76=this[_0x2ca1f7(0x180)][_0x2ca1f7(0x2b9)](_0x375973,_0x2ca78f,!0x1);if(!_0x4811d6[_0x2ca1f7(0x24d)](_0x142a76))throw _0x142a76[_0x2ca1f7(0x2f2)];_0x4ae494=_0x142a76['c1Prime'],_0x407564=_0x142a76['c2Prime'];}else _0x4ae494=_0x375973,_0x407564=[];let _0x21c7dc=this['_pendingMutations'];_0x4ae494[_0x2ca1f7(0x17b)](_0x3249e3=>{var _0x1db30b=_0x2ca1f7;let _0x2c37fb;if(_0x21c7dc['length']){const _0x21509a=this[_0x1db30b(0x180)][_0x1db30b(0x1b1)](_0x3249e3,_0x21c7dc);if(!_0x4811d6[_0x1db30b(0x330)](_0x21509a))throw _0x21509a['error'];_0x2c37fb=_0x21509a['c1Prime'],_0x21c7dc=_0x21509a[_0x1db30b(0x304)];}else _0x2c37fb=_0x3249e3;this['_executeRemoteChangeset'](_0x2c37fb);}),this[_0x2ca1f7(0xd3)]&&this[_0x2ca1f7(0x101)](),this[_0x2ca1f7(0x3e8)]&&_0x407564['length']&&(_0x407564[0x0][_0x2ca1f7(0x149)]=this['_getCurrentRevision']());let _0x5c975b;if(this[_0x2ca1f7(0x3e8)]&&_0x21c7dc[_0x2ca1f7(0xe6)]!==0x0)_0x5c975b=this[_0x2ca1f7(0x401)][_0x2ca1f7(0x34e)](_0x4bf482[_0x2ca1f7(0x370)],this['unitID'],this['type'],_0x407564[0x0],_0x21c7dc,this[_0x2ca1f7(0x241)],void 0x0);else{if(this['_awaitingChangeset']&&_0x21c7dc['length']===0x0)_0x407564[0x0][_0x2ca1f7(0x149)]=this['_getCurrentRevision'](),_0x5c975b=this[_0x2ca1f7(0x401)][_0x2ca1f7(0x34e)](_0x4bf482['AwaitingState'],this[_0x2ca1f7(0x183)],this[_0x2ca1f7(0x424)],_0x407564[0x0],this[_0x2ca1f7(0x241)]);else{if(_0x21c7dc['length']!==0x0){const _0xc056f=this['_injector'][_0x2ca1f7(0x34e)](_0x4bf482[_0x2ca1f7(0x397)],this[_0x2ca1f7(0x183)],this[_0x2ca1f7(0x424)],_0x21c7dc,this[_0x2ca1f7(0x241)]);_0xc056f[_0x2ca1f7(0x18b)](),_0x5c975b=_0xc056f;}else _0x5c975b=this[_0x2ca1f7(0x401)]['createInstance'](_0x4bf482[_0x2ca1f7(0x390)],this['unitID'],this[_0x2ca1f7(0x424)],this[_0x2ca1f7(0x241)]);}}return _0x5c975b[_0x2ca1f7(0xdc)](),_0x5c975b;}catch(_0x3b96ba){return this[_0x2ca1f7(0x400)][_0x2ca1f7(0x2f2)](_0x2ca1f7(0x1c1),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3b96ba),this[_0x2ca1f7(0x401)][_0x2ca1f7(0x34e)](_0x4bf482[_0x2ca1f7(0x200)],this['unitID'],this[_0x2ca1f7(0x424)],this[_0x2ca1f7(0x3e8)],this[_0x2ca1f7(0x215)],this['_handler'],!0x1);}}[_0x12ab33(0xcb)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x3c634b){var _0x154b2a=_0x12ab33;return this[_0x154b2a(0x215)]['push'](_0x3c634b),this;}['onRemoteChangeset'](_0x160217){var _0x260b77=_0x12ab33;return this[_0x260b77(0x3e1)]['push'](_0x160217),this;}['onRemoteAck'](_0x12bf10){var _0x5e674e=_0x12ab33;if(this[_0x5e674e(0x3e8)])return this[_0x5e674e(0xd3)]=this[_0x5e674e(0x3e8)],this[_0x5e674e(0x3e8)]=null,this;throw new Error(_0x5e674e(0x24b));}[_0x12ab33(0x120)](_0x12f7b9){var _0x49e6c9=_0x12ab33;return this[_0x49e6c9(0x219)](!!(_0x12f7b9!=null&&_0x12f7b9[_0x49e6c9(0x223)]));}[_0x12ab33(0x155)](){return this;}[_0x12ab33(0x33b)](){var _0x9f98c7=_0x12ab33;return this[_0x9f98c7(0x401)]['createInstance'](_0x4bf482['OfflineState'],this['unitID'],this['type'],this[_0x9f98c7(0x3e8)],this['_pendingMutations'],this[_0x9f98c7(0x241)]);}[_0x12ab33(0x303)](){return this;}[_0x12ab33(0x219)](_0x15f837){var _0x4b25a9=_0x12ab33;return this[_0x4b25a9(0x401)][_0x4b25a9(0x34e)](_0x4bf482[_0x4b25a9(0x200)],this['unitID'],this['type'],this[_0x4b25a9(0x3e8)],this[_0x4b25a9(0x215)],this[_0x4b25a9(0x241)],_0x15f837);}},_0x4bf482[_0x12ab33(0x433)]=_0x59db31([_0x3760d5(0x7,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x3760d5(0x8,_0x449ba5[_0x12ab33(0x116)](_0x4811d6['RevisionService'])),_0x3760d5(0x9,_0x449ba5[_0x12ab33(0x37b)]),_0x3760d5(0xa,_0x449ba5[_0x12ab33(0x20a)]),_0x3760d5(0xb,_0x449ba5[_0x12ab33(0x36d)]),_0x3760d5(0xc,_0x4811d6[_0x12ab33(0x3d0)]),_0x3760d5(0xd,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0x433)]);function _0xdd3008(_0x367a02,_0x1229d5,_0x2c6b4c,_0x162b52,_0x1dfa47,_0x3d3ee7){var _0x33573c=_0x12ab33;return _0x162b52&&_0x1dfa47[_0x33573c(0xe6)]?_0x367a02[_0x33573c(0x34e)](_0x4bf482[_0x33573c(0x370)],_0x1229d5,_0x2c6b4c,_0x162b52,_0x1dfa47,_0x3d3ee7,void 0x0):_0x162b52?_0x367a02['createInstance'](_0x4bf482[_0x33573c(0x137)],_0x1229d5,_0x2c6b4c,_0x162b52,_0x3d3ee7):_0x1dfa47['length']?_0x367a02[_0x33573c(0x34e)](_0x4bf482[_0x33573c(0x397)],_0x1229d5,_0x2c6b4c,_0x1dfa47,_0x3d3ee7):_0x367a02[_0x33573c(0x34e)](_0x4bf482['SyncedState'],_0x1229d5,_0x2c6b4c,_0x3d3ee7);}var _0x13b3b6=Object[_0x12ab33(0x39e)],_0x29d5b5=(_0x5fbc8a,_0x105be2,_0x9a7485,_0xf30681)=>{var _0x550286=_0x12ab33;for(var _0x17947a=_0xf30681>0x1?void 0x0:_0xf30681?_0x13b3b6(_0x105be2,_0x9a7485):_0x105be2,_0x55f7af=_0x5fbc8a[_0x550286(0xe6)]-0x1,_0x22e793;_0x55f7af>=0x0;_0x55f7af--)(_0x22e793=_0x5fbc8a[_0x55f7af])&&(_0x17947a=_0x22e793(_0x17947a)||_0x17947a);return _0x17947a;},_0xa345b7=(_0x204b71,_0x4a9b67)=>(_0x389993,_0x406bc8)=>_0x4a9b67(_0x389993,_0x406bc8,_0x204b71);_0x4bf482[_0x12ab33(0xb0)]=class extends _0x449ba5[_0x12ab33(0x1fc)]{constructor(_0x24f149,_0xa04dd0,_0x6d8933,_0x48e16a,_0x3e893d,_0x5a23c9,_0x43d6e9,_0x132add,_0x453028,_0x36f590,_0x48013b,_0x135da4,_0x490216,_0x312ea3){var _0x26d654=_0x12ab33;super(),_0x389841(this,'_state$',new _0x550b9f[(_0x26d654(0x1f8))](null)),_0x389841(this,_0x26d654(0x2dd),this['_state$']['asObservable']()),_0x389841(this,_0x26d654(0x1f4)),_0x389841(this,_0x26d654(0x3dc),!0x1),_0x389841(this,_0x26d654(0x2aa),''),_0x389841(this,_0x26d654(0x398),0x0),_0x389841(this,'status$',this[_0x26d654(0x2dd)][_0x26d654(0x188)](_0x550b9f['map'](_0x12998d=>_0x12998d?_0x12998d[_0x26d654(0x242)]:_0x1bd308[_0x26d654(0x3d1)]),_0x550b9f[_0x26d654(0x225)](0x1))),_0x389841(this,'_transitionLocked',!0x1),_0x389841(this,_0x26d654(0x3ac),[]),(this[_0x26d654(0x183)]=_0x24f149,this[_0x26d654(0x1cd)]=_0xa04dd0,this[_0x26d654(0x19d)]=_0x6d8933,this[_0x26d654(0x401)]=_0x48e16a,this[_0x26d654(0x11a)]=_0x3e893d,this[_0x26d654(0x18a)]=_0x5a23c9,this['_revisionService']=_0x43d6e9,this['_eventService']=_0x132add,this['_univerInstanceService']=_0x453028,this[_0x26d654(0x400)]=_0x36f590,this[_0x26d654(0x1e2)]=_0x48013b,this[_0x26d654(0x17a)]=_0x135da4,this[_0x26d654(0x22b)]=_0x490216,this['_localCacheService']=_0x312ea3);}get[_0x12ab33(0x14f)](){var _0x2b15c9=_0x12ab33;return this[_0x2b15c9(0x1f4)];}async[_0x12ab33(0x33d)](){if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){var _0x4b90a9=_0x12ab33;return this[_0x4b90a9(0x3dc)]=!0x0,_0x449ba5[_0x4b90a9(0x36c)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x12ab33(0x3cb)](_0x16a242){var _0x3fe094=_0x12ab33;this[_0x3fe094(0x3df)](_0x16a242);}['_updateState'](_0x141446){var _0x50bd40=_0x12ab33;this[_0x50bd40(0x1f4)]=_0x141446,this['_state$'][_0x50bd40(0xaf)](_0x141446);}async[_0x12ab33(0x256)](){var _0x1df7ee=_0x12ab33,_0x1b9794;this[_0x1df7ee(0x341)](await this[_0x1df7ee(0x2d8)]()),this[_0x1df7ee(0x22b)]&&((_0x1b9794=this[_0x1df7ee(0x22b)])==null||_0x1b9794['editingUnit'](this[_0x1df7ee(0x183)]),this['disposeWithMe'](this[_0x1df7ee(0x22b)][_0x1df7ee(0x3b5)](this[_0x1df7ee(0x183)])['subscribe'](_0x465f44=>{var _0x523af0=_0x1df7ee;this[_0x523af0(0x400)]['debug'](_0x523af0(0x2c5),_0x523af0(0x3cd),_0x465f44),_0x465f44===_0x5f5425[_0x523af0(0x1d4)]?(this['_eventService'][_0x523af0(0x3c1)]({'id':_0x49a56d[_0x523af0(0x217)]}),this[_0x523af0(0x17a)][_0x523af0(0x2b2)](new _0x38c84a[(_0x523af0(0x3c9))](this[_0x523af0(0x183)])['id'],!0x1),this[_0x523af0(0x17a)][_0x523af0(0x2c3)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x38c84a[(_0x523af0(0x3c9))](this[_0x523af0(0x183)])['id'],!0x0),this[_0x523af0(0x17a)][_0x523af0(0x2c3)](!0x0));})));let _0x1d1a71=!0x1;return this[_0x1df7ee(0x21e)](this[_0x1df7ee(0x1cd)]['sessionStatus$']['subscribe'](_0x38ce82=>{var _0x500726=_0x1df7ee;_0x38ce82===_0x439d16[_0x500726(0x20d)]?this['_toggleOnline'](_0x1d1a71):_0x38ce82===_0x439d16[_0x500726(0x3d1)]&&(_0x1d1a71=!0x0,this[_0x500726(0x35f)]());})),this['disposeWithMe'](this[_0x1df7ee(0x1cd)]['event$']['subscribe'](_0x6f7cbe=>{var _0x4d64cd=_0x1df7ee;try{switch(_0x6f7cbe[_0x4d64cd(0x28c)]){case _0x4811d6[_0x4d64cd(0x381)][_0x4d64cd(0x2c1)]:{this[_0x4d64cd(0x1e0)](_0x4811d6[_0x4d64cd(0x41f)](_0x6f7cbe[_0x4d64cd(0x166)]));break;}case _0x4811d6[_0x4d64cd(0x381)][_0x4d64cd(0x2f4)]:{this['_onRemoteACK'](_0x6f7cbe[_0x4d64cd(0x166)]);break;}case _0x4811d6['CollaborationEvent'][_0x4d64cd(0x383)]:{this[_0x4d64cd(0xae)]();break;}case _0x4811d6['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0x4d64cd(0x222)](_0x6f7cbe[_0x4d64cd(0x166)]);break;}case _0x4811d6[_0x4d64cd(0x381)][_0x4d64cd(0x404)]:{this[_0x4d64cd(0x350)](_0x6f7cbe['data'][_0x4d64cd(0xd5)]['map'](_0x501e81=>_0x4811d6[_0x4d64cd(0x41f)](_0x501e81)));break;}case _0x4811d6['CollaborationEvent'][_0x4d64cd(0x151)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x4811d6[_0x4d64cd(0x381)][_0x4d64cd(0x207)]:break;}}catch(_0x3b6c63){throw console[_0x4d64cd(0x2f2)](_0x4d64cd(0x126),_0x3b6c63),_0x3b6c63;}})),this['_state'];}[_0x12ab33(0x317)](){var _0x2b8a7b=_0x12ab33;this[_0x2b8a7b(0x209)]=!0x1;}[_0x12ab33(0x3d7)](){var _0x44ff09=_0x12ab33;if(this[_0x44ff09(0x209)])throw new Error(_0x44ff09(0x228));this[_0x44ff09(0x209)]=!0x0;}[_0x12ab33(0x3df)](_0x18d08b){var _0x4e4adf=_0x12ab33;this[_0x4e4adf(0x3d7)](),this[_0x4e4adf(0x341)](this[_0x4e4adf(0x1f4)][_0x4e4adf(0x1fd)](_0x18d08b)),this[_0x4e4adf(0x317)]();}[_0x12ab33(0x1e0)](_0x126ea3){var _0xffad2c=_0x12ab33;if(!(_0x126ea3['revision']<=this[_0xffad2c(0xf0)][_0xffad2c(0x3c6)](this[_0xffad2c(0x183)]))){if(this[_0xffad2c(0x3dc)]){this[_0xffad2c(0x3ac)][_0xffad2c(0x125)](_0x126ea3);return;}this[_0xffad2c(0x2ec)](_0x126ea3);}}[_0x12ab33(0x1ae)](){var _0x2d5eba=_0x12ab33;this[_0x2d5eba(0x3ac)]['forEach'](_0x3fefcd=>this['_applyRemoteChangeset'](_0x3fefcd)),this[_0x2d5eba(0x3ac)]=[];}[_0x12ab33(0x2ec)](_0x15c08d){var _0x1c2538=_0x12ab33;const _0x5d7a2a=this[_0x1c2538(0x11a)][_0x1c2538(0x42b)][_0x1c2538(0x2e0)](this['_compressMutationService']['interceptor'][_0x1c2538(0x121)]()[_0x1c2538(0x24c)])(_0x15c08d[_0x1c2538(0x34d)],null)||_0x15c08d[_0x1c2538(0x34d)],_0x233387={..._0x15c08d,'mutations':_0x5d7a2a};this[_0x1c2538(0x3d7)](),this[_0x1c2538(0x341)](this[_0x1c2538(0x1f4)][_0x1c2538(0x179)](_0x233387)),this['_unlockTransition']();}['_onRemoteACK'](_0x2afb1f){var _0x43f9e3=_0x12ab33;this[_0x43f9e3(0x3d7)](),this['_updateState'](this['_state'][_0x43f9e3(0x274)](_0x2afb1f)),this[_0x43f9e3(0x317)]();}['_onRemoteRejected'](_0x48d634){var _0xac0e08=_0x12ab33;this[_0xac0e08(0x3d7)](),this[_0xac0e08(0x341)](this[_0xac0e08(0x1f4)][_0xac0e08(0x120)](_0x48d634)),this['_unlockTransition']();}[_0x12ab33(0x222)](_0x40af35){var _0x1b99c3=_0x12ab33;this['_lockTransition'](),this['_updateState'](this[_0x1b99c3(0x1f4)][_0x1b99c3(0x155)](_0x40af35)),this['_unlockTransition']();}[_0x12ab33(0x350)](_0x591c0f){var _0x3cf80d=_0x12ab33;if(!(this[_0x3cf80d(0x1f4)]instanceof _0x4bf482['FetchingMissState']))throw new TypeError(_0x3cf80d(0xf3));const _0x4b06f2=_0x591c0f[_0x3cf80d(0xc9)](_0x3268cf=>{var _0x5ae55f=_0x3cf80d;const _0x21b980=this[_0x5ae55f(0x11a)]['interceptor']['fetchThroughInterceptors'](this[_0x5ae55f(0x11a)]['interceptor'][_0x5ae55f(0x121)]()[_0x5ae55f(0x24c)])(_0x3268cf[_0x5ae55f(0x34d)],null)||_0x3268cf[_0x5ae55f(0x34d)];return{..._0x3268cf,'mutations':_0x21b980};});this[_0x3cf80d(0x3d7)](),this[_0x3cf80d(0x341)](this[_0x3cf80d(0x1f4)]['onMissedChangesetFetched'](_0x4b06f2)),this['_unlockTransition']();}[_0x12ab33(0x35f)](){var _0x422179=_0x12ab33;this[_0x422179(0x3d7)](),this['_updateState'](this[_0x422179(0x1f4)]['toggleOffline']()),this[_0x422179(0x317)]();}['_toggleOnline'](_0x3bbe9d=!0x1){var _0x2e6f56=_0x12ab33;this[_0x2e6f56(0x3d7)](),this[_0x2e6f56(0x341)](this[_0x2e6f56(0x1f4)][_0x2e6f56(0x303)]()),this[_0x2e6f56(0x317)]();const _0x3b70bb=this[_0x2e6f56(0x1f4)];_0x3bbe9d&&_0x3b70bb instanceof _0x4bf482[_0x2e6f56(0x390)]&&(this[_0x2e6f56(0x3d7)](),this['_updateState'](_0x3b70bb[_0x2e6f56(0x2bf)]()),this[_0x2e6f56(0x317)]());}async[_0x12ab33(0x2d8)](){return new Promise(_0x1d8ee9=>{var _0x53a02b=_0x4f3d;this[_0x53a02b(0x1cd)][_0x53a02b(0x2d3)][_0x53a02b(0x188)](_0x550b9f['take'](0x1))[_0x53a02b(0x368)](async _0x3b2c29=>{var _0x12c494=_0x53a02b;_0x1d8ee9(await this['_createInitialStateImpl'](_0x3b2c29===_0x439d16[_0x12c494(0x20d)]));});});}[_0x12ab33(0x12d)](){var _0x2b8ac8=_0x12ab33;const _0xa3e161=this[_0x2b8ac8(0x183)];return{'onStateChange':(_0x1f700d,_0x46b0ac)=>{var _0x3f3e60=_0x2b8ac8;if(_0x1f700d!==this[_0x3f3e60(0x1f4)])throw new Error(_0x3f3e60(0x1d0)+_0x1f700d[_0x3f3e60(0x242)]+_0x3f3e60(0x266)+_0x46b0ac['status']+_0x3f3e60(0x371)+this[_0x3f3e60(0x1f4)][_0x3f3e60(0x242)]);this[_0x3f3e60(0x341)](_0x46b0ac);},'onSendChangeset':_0x41ef7d=>{var _0xaf1148=_0x2b8ac8;_0x41ef7d[_0xaf1148(0x3a6)]||(_0x41ef7d[_0xaf1148(0x3a6)]=this[_0xaf1148(0x2aa)],_0x41ef7d[_0xaf1148(0x387)]=++this['_changesetReqId']);const _0x4f1c67={'eventID':_0x4811d6[_0xaf1148(0x381)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x41ef7d[_0xaf1148(0x183)],'unitType':this[_0xaf1148(0x19d)],'changeset':_0x41ef7d,'memberID':this['session']['getMemberID']()}};this['session'][_0xaf1148(0x199)](_0x4f1c67,this[_0xaf1148(0x183)]);},'onMissingChangesets':({from:_0x59eb52,to:_0x310766})=>{var _0x3cec23=_0x2b8ac8;this[_0x3cec23(0x400)][_0x3cec23(0x2ea)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x59eb52+'\x20to\x20'+_0x310766);const _0x549f8e={'eventID':_0x4811d6[_0x3cec23(0x381)][_0x3cec23(0x14b)],'data':{'unitID':_0xa3e161,'unitType':this[_0x3cec23(0x19d)],'from':_0x59eb52,'to':_0x310766}};this[_0x3cec23(0x1cd)][_0x3cec23(0x199)](_0x549f8e,this[_0x3cec23(0x183)]);}};}async['_createInitialStateImpl'](_0x547fd0){var _0x31f0db=_0x12ab33,_0x226961,_0x25839f,_0x67a988;const _0x3070f0=await((_0x226961=this[_0x31f0db(0x3d2)])==null?void 0x0:_0x226961[_0x31f0db(0x1c5)](this[_0x31f0db(0x183)])),_0x14dfef=(_0x25839f=_0x3070f0==null?void 0x0:_0x3070f0[_0x31f0db(0x34d)])!=null?_0x25839f:[],_0x41ec7c=(_0x67a988=_0x3070f0==null?void 0x0:_0x3070f0['awaitingChangeset'])!=null?_0x67a988:null,_0x28f4c7=!!(_0x41ec7c!=null&&_0x41ec7c[_0x31f0db(0x3a6)])&&!!(_0x41ec7c!=null&&_0x41ec7c[_0x31f0db(0x387)]);this[_0x31f0db(0x2aa)]=_0x28f4c7?_0x41ec7c[_0x31f0db(0x3a6)]:_0x4811d6['uuidv4'](),this[_0x31f0db(0x398)]=_0x28f4c7?_0x41ec7c['reqId']:0x0;const _0x19b6e8=this[_0x31f0db(0x183)];try{this[_0x31f0db(0x287)](_0x41ec7c,_0x14dfef);}catch(_0x50ea3e){this['_logService'][_0x31f0db(0x2f2)](_0x50ea3e);}const _0x534e76=this[_0x31f0db(0x12d)]();if(_0x547fd0){const _0x58997f=_0xdd3008(this[_0x31f0db(0x401)],_0x19b6e8,this[_0x31f0db(0x19d)],_0x41ec7c,_0x14dfef,_0x534e76);return _0x58997f instanceof _0x4bf482[_0x31f0db(0x397)]?_0x58997f[_0x31f0db(0x18b)]():(_0x58997f instanceof _0x4bf482[_0x31f0db(0x370)]||_0x58997f instanceof _0x4bf482[_0x31f0db(0x137)])&&_0x58997f[_0x31f0db(0xcb)](),_0x58997f;}return this[_0x31f0db(0x401)][_0x31f0db(0x34e)](_0x4bf482['OfflineState'],_0x19b6e8,this[_0x31f0db(0x19d)],_0x41ec7c,_0x14dfef,_0x534e76);}[_0x12ab33(0x287)](_0x2d44e9,_0x30d09e){var _0x41ee6d=_0x12ab33,_0x3003c3,_0x340bbb;const _0x2fc591=this[_0x41ee6d(0x11a)][_0x41ee6d(0x42b)][_0x41ee6d(0x2e0)](this[_0x41ee6d(0x11a)]['interceptor'][_0x41ee6d(0x121)]()[_0x41ee6d(0x24c)]);(_0x3003c3=_0x2fc591((_0x2d44e9==null?void 0x0:_0x2d44e9[_0x41ee6d(0x34d)])||[],null))==null||_0x3003c3['forEach'](_0x177978=>this[_0x41ee6d(0x1e2)]['executeCommand'](_0x177978['id'],_0x177978[_0x41ee6d(0x27c)])),(_0x340bbb=_0x2fc591(_0x30d09e||[],null))==null||_0x340bbb['forEach'](_0xb7fc96=>this['_commandService'][_0x41ee6d(0x29d)](_0xb7fc96['id'],_0xb7fc96['params']));}},_0x4bf482[_0x12ab33(0xb0)]=_0x29d5b5([_0xa345b7(0x3,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0xa345b7(0x4,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x2c6)])),_0xa345b7(0x5,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)])),_0xa345b7(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0xa345b7(0x7,_0x449ba5[_0x12ab33(0x116)](_0x382c6e)),_0xa345b7(0x8,_0x449ba5['IUniverInstanceService']),_0xa345b7(0x9,_0x449ba5[_0x12ab33(0x37b)]),_0xa345b7(0xa,_0x449ba5[_0x12ab33(0x20a)]),_0xa345b7(0xb,_0x449ba5['IPermissionService']),_0xa345b7(0xc,_0x449ba5['Optional'](_0x6f1b14)),_0xa345b7(0xd,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0xb0)]),_0x4bf482[_0x12ab33(0x226)]=class extends _0x4bf482['CollaborationEntity']{constructor(_0x5e84ca,_0x22056c,_0x92fa92,_0x3b32a0,_0x5701eb,_0x24e7ec,_0x34a00b,_0x5204eb,_0x4320ce,_0x350b86,_0xf2769e,_0x7fe1eb,_0x4f53c5,_0x2437d4){var _0x4647e8=_0x12ab33;super(_0x5e84ca,_0x92fa92,_0x22056c,_0x3b32a0,_0x5701eb,_0x24e7ec,_0x34a00b,_0x5204eb,_0x4320ce,_0x350b86,_0xf2769e,_0x7fe1eb,_0x4f53c5,_0x2437d4),_0x389841(this,'_handlerCallback',null),(this[_0x4647e8(0x183)]=_0x5e84ca,this[_0x4647e8(0x424)]=_0x22056c);}[_0x12ab33(0x1b2)](_0x6dabb4){var _0x4185e3=_0x12ab33;this[_0x4185e3(0x105)]=_0x6dabb4;}[_0x12ab33(0x35e)](){var _0x1a82e1=_0x12ab33;this[_0x1a82e1(0x105)]=null,super['dispose']();}['_createHandler'](){var _0x3ff5dc=_0x12ab33;const _0x5d6b3c=super[_0x3ff5dc(0x12d)]();return _0x5d6b3c[_0x3ff5dc(0x307)]=_0x28d022=>{var _0x34ad46=_0x3ff5dc,_0x846c02,_0x1b43f4;return(_0x1b43f4=(_0x846c02=this['_handlerCallback'])==null?void 0x0:_0x846c02[_0x34ad46(0x307)])==null?void 0x0:_0x1b43f4[_0x34ad46(0x1a5)](_0x846c02,_0x28d022);},_0x5d6b3c[_0x3ff5dc(0x353)]=_0x15c9ab=>{var _0xd0fcfe=_0x3ff5dc,_0x4c803d,_0x369c05;return(_0x369c05=(_0x4c803d=this[_0xd0fcfe(0x105)])==null?void 0x0:_0x4c803d[_0xd0fcfe(0x353)])==null?void 0x0:_0x369c05[_0xd0fcfe(0x1a5)](_0x4c803d,_0x15c9ab);},_0x5d6b3c[_0x3ff5dc(0x3e3)]=_0x5d5861=>{var _0x2ac481=_0x3ff5dc,_0x488fce,_0x54e48c;return(_0x54e48c=(_0x488fce=this[_0x2ac481(0x105)])==null?void 0x0:_0x488fce['onTransformSelections'])==null?void 0x0:_0x54e48c['call'](_0x488fce,_0x5d5861);},_0x5d6b3c[_0x3ff5dc(0x11e)]=_0x5a59ba=>{var _0x1535c0=_0x3ff5dc,_0x55a0c3,_0x5170b6;return(_0x5170b6=(_0x55a0c3=this['_handlerCallback'])==null?void 0x0:_0x55a0c3[_0x1535c0(0x11e)])==null?void 0x0:_0x5170b6['call'](_0x55a0c3,_0x5a59ba);},_0x5d6b3c[_0x3ff5dc(0xf4)]=_0x15aefd=>{var _0x56ee64=_0x3ff5dc,_0x1968da,_0x3414c5,_0x5e0c7;if(!((_0x1968da=this['_handlerCallback'])!=null&&_0x1968da[_0x56ee64(0xf4)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5e0c7=(_0x3414c5=this[_0x56ee64(0x105)])==null?void 0x0:_0x3414c5['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5e0c7['call'](_0x3414c5,_0x15aefd);},_0x5d6b3c[_0x3ff5dc(0x18f)]=_0x747f7a=>{var _0x9e1360=_0x3ff5dc,_0x143084,_0x39704e,_0x117664;if(!((_0x143084=this['_handlerCallback'])!=null&&_0x143084[_0x9e1360(0x18f)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x117664=(_0x39704e=this[_0x9e1360(0x105)])==null?void 0x0:_0x39704e[_0x9e1360(0x18f)])==null?void 0x0:_0x117664[_0x9e1360(0x1a5)](_0x39704e,_0x747f7a);},_0x5d6b3c;}async[_0x12ab33(0x256)](){var _0x53a8f7=_0x12ab33;const _0x27bb5e=await super[_0x53a8f7(0x256)]();return this['disposeWithMe'](this[_0x53a8f7(0x1e2)]['onMutationExecutedForCollab']((_0x277aa6,_0x5f1b53)=>{var _0x48fda2=_0x53a8f7;if(_0x277aa6[_0x48fda2(0x424)]!==_0x449ba5[_0x48fda2(0x2b5)]['MUTATION']||_0x5f1b53!=null&&_0x5f1b53[_0x48fda2(0x33a)]||_0x5f1b53!=null&&_0x5f1b53[_0x48fda2(0x1d9)]||_0x277aa6['id']===_0x187ef9[_0x48fda2(0x31a)]['id'])return;const _0x411f1b=_0x277aa6[_0x48fda2(0x27c)];if((_0x411f1b==null?void 0x0:_0x411f1b[_0x48fda2(0x109)])!==this[_0x48fda2(0x183)])return;const _0x37cfc1=_0x277aa6,_0x21bfd2=this['_compressMutationService'][_0x48fda2(0x42b)][_0x48fda2(0x2e0)](this['_compressMutationService'][_0x48fda2(0x42b)][_0x48fda2(0x121)]()[_0x48fda2(0x1ef)])([_0x37cfc1],this['_univerInstanceService'])||[_0x37cfc1];this[_0x48fda2(0x3df)](_0x21bfd2[0x0]);})),_0x27bb5e;}},_0x4bf482['DocCollaborationEntity']=_0x29d5b5([_0xa345b7(0x3,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0xa345b7(0x4,_0x449ba5['Inject'](_0x4811d6['CompressMutationService'])),_0xa345b7(0x5,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)])),_0xa345b7(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4811d6['RevisionService'])),_0xa345b7(0x7,_0x449ba5[_0x12ab33(0x116)](_0x382c6e)),_0xa345b7(0x8,_0x449ba5[_0x12ab33(0x38b)]),_0xa345b7(0x9,_0x449ba5['ILogService']),_0xa345b7(0xa,_0x449ba5[_0x12ab33(0x20a)]),_0xa345b7(0xb,_0x449ba5[_0x12ab33(0x340)]),_0xa345b7(0xc,_0x449ba5[_0x12ab33(0xce)](_0x6f1b14)),_0xa345b7(0xd,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482[_0x12ab33(0x226)]),_0x4bf482['SheetCollaborationEntity']=class extends _0x4bf482[_0x12ab33(0xb0)]{constructor(_0x4f12e8,_0x4daba6,_0x2dc185,_0x120c02,_0x37304b,_0x23c1b7,_0x51cbd3,_0x75ad4f,_0x5a63c3,_0x33d960,_0x2dc05f,_0x4b0349,_0x4db8be,_0x15e2f0,_0x552612){var _0x27f118=_0x12ab33;super(_0x4f12e8,_0x2dc185,_0x4daba6,_0x120c02,_0x37304b,_0x23c1b7,_0x51cbd3,_0x5a63c3,_0x33d960,_0x2dc05f,_0x4b0349,_0x4db8be,_0x15e2f0,_0x552612),this[_0x27f118(0x183)]=_0x4f12e8,this[_0x27f118(0x424)]=_0x4daba6,this[_0x27f118(0xe4)]=_0x75ad4f;}[_0x12ab33(0x12d)](){var _0x4b9f52=_0x12ab33;const _0x19be43=super[_0x4b9f52(0x12d)]();return _0x19be43['onTransformSelections']=_0x3c7ca2=>this[_0x4b9f52(0xe4)]['transformSelections'](_0x3c7ca2),_0x19be43;}async[_0x12ab33(0x256)](){var _0x5e1495=_0x12ab33;const _0x305b29=await super[_0x5e1495(0x256)]();return this['disposeWithMe'](this[_0x5e1495(0x1e2)][_0x5e1495(0x177)]((_0x11437a,_0x4b3afc)=>{var _0x3de3bf=_0x5e1495;if(_0x11437a[_0x3de3bf(0x424)]!==_0x449ba5[_0x3de3bf(0x2b5)][_0x3de3bf(0x3d3)]||_0x4b3afc!=null&&_0x4b3afc['fromCollab']||_0x4b3afc!=null&&_0x4b3afc[_0x3de3bf(0x1d9)])return;const _0x22c345=_0x11437a[_0x3de3bf(0x27c)];if((_0x22c345==null?void 0x0:_0x22c345[_0x3de3bf(0x109)])!==this['unitID'])return;const _0x5c2733=_0x11437a,_0x118558=this[_0x3de3bf(0x11a)][_0x3de3bf(0x42b)][_0x3de3bf(0x2e0)](this[_0x3de3bf(0x11a)][_0x3de3bf(0x42b)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x5c2733],this[_0x3de3bf(0x436)])||[_0x5c2733];this['_onLocalMutation'](_0x118558[0x0]);})),_0x305b29;}},_0x4bf482[_0x12ab33(0x2ed)]=_0x29d5b5([_0xa345b7(0x3,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0xa345b7(0x4,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x2c6)])),_0xa345b7(0x5,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)])),_0xa345b7(0x6,_0x449ba5[_0x12ab33(0x116)](_0x4811d6[_0x12ab33(0x337)])),_0xa345b7(0x7,_0x449ba5[_0x12ab33(0x116)](_0x4bf482[_0x12ab33(0x280)])),_0xa345b7(0x8,_0x449ba5['Inject'](_0x382c6e)),_0xa345b7(0x9,_0x449ba5[_0x12ab33(0x38b)]),_0xa345b7(0xa,_0x449ba5[_0x12ab33(0x37b)]),_0xa345b7(0xb,_0x449ba5[_0x12ab33(0x20a)]),_0xa345b7(0xc,_0x449ba5[_0x12ab33(0x340)]),_0xa345b7(0xd,_0x449ba5[_0x12ab33(0xce)](_0x6f1b14)),_0xa345b7(0xe,_0x449ba5['Optional'](_0x6af55a))],_0x4bf482[_0x12ab33(0x2ed)]);const _0x22ffa0=_0x449ba5[_0x12ab33(0x37d)](_0x12ab33(0x19a));function _0x4820e4(_0xf9d71){var _0x3358c5=_0x12ab33,_0x1996f8,_0x32cb16,_0x4e1b2c,_0x413c0a,_0x5d68f7;const _0x56496c=_0xf9d71[_0x3358c5(0x166)],_0x2fde37=JSON['parse'](_0x56496c);switch(_0x2fde37[_0x3358c5(0x435)]){case _0x366ec0['HEARTBEAT']:case _0x366ec0[_0x3358c5(0xad)]:{const _0x1fa13e=_0x2fde37[_0x3358c5(0x34f)];return{..._0x2fde37,'data':_0x1fa13e,'cmd':_0x2fde37[_0x3358c5(0x435)]};}case _0x366ec0[_0x3358c5(0x431)]:{const _0x5c6aad=_0x2fde37[_0x3358c5(0x2bb)];return{..._0x2fde37,'data':_0x5c6aad,'cmd':_0x2fde37['cmd']};}case _0x366ec0[_0x3358c5(0x29a)]:{const _0x34f054=_0x2fde37[_0x3358c5(0x14e)];switch(_0x34f054[_0x3358c5(0x28c)]){case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x151)]:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x1996f8=_0x34f054['permissionRejEvent'])==null?void 0x0:_0x1996f8['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)]['CHANGESET_ACK']:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x32cb16=_0x34f054[_0x3358c5(0x10e)])==null?void 0x0:_0x32cb16['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x2c1)]:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x4e1b2c=_0x34f054[_0x3358c5(0x364)])==null?void 0x0:_0x4e1b2c['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x383)]:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x413c0a=_0x34f054[_0x3358c5(0x26c)])==null?void 0x0:_0x413c0a['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x119)]:return{..._0x2fde37,'data':{..._0x34f054,'data':(_0x5d68f7=_0x34f054[_0x3358c5(0x23d)])==null?void 0x0:_0x5d68f7['cs']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x249)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x40e)]},'cmd':_0x2fde37['cmd']};case _0x4811d6['CollaborationEvent'][_0x3358c5(0x13d)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x3a9)]},'cmd':_0x2fde37['cmd']};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x42f)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x27a)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x329)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x132)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)]['LIVESHARE_FETCH_OPERATIONS']:case _0x4811d6['CollaborationEvent'][_0x3358c5(0x1ad)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054['liveShareOperation']},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x2f8)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x132)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x3f2)]:return{..._0x2fde37,'data':_0x34f054,'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x3b9)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x1ca)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x31c)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x211)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0xfb)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0xba)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};case _0x4811d6[_0x3358c5(0x381)][_0x3358c5(0x207)]:return{..._0x2fde37,'data':{..._0x34f054,'data':_0x34f054[_0x3358c5(0x325)]},'cmd':_0x2fde37[_0x3358c5(0x435)]};default:return _0x2fde37;}}default:return _0x2fde37;}}function _0x111693(_0x29d84c){var _0x298d9d=_0x12ab33;switch(_0x29d84c[_0x298d9d(0x435)]){case _0x366ec0[_0x298d9d(0x34c)]:case _0x366ec0[_0x298d9d(0xad)]:return JSON[_0x298d9d(0x3b6)]({'cmd':_0x29d84c[_0x298d9d(0x435)],'routeKey':_0x29d84c[_0x298d9d(0x17c)]});case _0x366ec0[_0x298d9d(0x25c)]:{let _0x16a2c5;switch(_0x29d84c[_0x298d9d(0x166)][_0x298d9d(0x28c)]){case _0x4811d6['CollaborationEvent'][_0x298d9d(0x249)]:{_0x16a2c5={'eventID':_0x4811d6['CollaborationEvent'][_0x298d9d(0x249)],'updateCursorEvent':_0x29d84c[_0x298d9d(0x166)][_0x298d9d(0x166)]};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x42f)]:{_0x16a2c5={'eventID':_0x4811d6['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x29d84c[_0x298d9d(0x166)]['data']};break;}case _0x4811d6['CollaborationEvent'][_0x298d9d(0x13d)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x13d)],'joinEvent':_0x29d84c['data'][_0x298d9d(0x166)]};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x329)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x29d84c[_0x298d9d(0x166)]['data']};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x1ad)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x1ad)],'liveShareOperation':_0x29d84c['data'][_0x298d9d(0x166)]};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x2f8)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x2f8)],'liveShareTerminate':_0x29d84c[_0x298d9d(0x166)]['data']};break;}case _0x4811d6[_0x298d9d(0x381)]['LIVESHARE_REQUEST_HOST']:{_0x16a2c5={'eventID':_0x4811d6['CollaborationEvent'][_0x298d9d(0x409)],'liveShareRequestHost':_0x29d84c[_0x298d9d(0x166)][_0x298d9d(0x166)]};break;}case _0x4811d6[_0x298d9d(0x381)][_0x298d9d(0x2d2)]:{_0x16a2c5={'eventID':_0x4811d6[_0x298d9d(0x381)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x16a2c5={'eventID':_0x29d84c[_0x298d9d(0x166)]['eventID']};}return JSON[_0x298d9d(0x3b6)]({'cmd':_0x29d84c['cmd'],'routeKey':_0x29d84c[_0x298d9d(0x17c)],'collaMsg':_0x16a2c5});}case _0x366ec0['JOIN']:return JSON['stringify']({'cmd':_0x29d84c[_0x298d9d(0x435)],'routeKey':_0x29d84c[_0x298d9d(0x17c)],'joinReq':_0x29d84c[_0x298d9d(0x166)]});case _0x366ec0[_0x298d9d(0x103)]:return JSON[_0x298d9d(0x3b6)]({'cmd':_0x29d84c[_0x298d9d(0x435)],'routeKey':_0x29d84c['routeKey'],'leaveReq':_0x29d84c[_0x298d9d(0x166)]});default:throw new Error(_0x298d9d(0x3cc));}}var _0x112f9d=Object[_0x12ab33(0x39e)],_0x40d664=(_0x26244d,_0x2499ef,_0x116cc6,_0x56c25f)=>{var _0x4773f1=_0x12ab33;for(var _0x298901=_0x56c25f>0x1?void 0x0:_0x56c25f?_0x112f9d(_0x2499ef,_0x116cc6):_0x2499ef,_0x410590=_0x26244d[_0x4773f1(0xe6)]-0x1,_0x483d2a;_0x410590>=0x0;_0x410590--)(_0x483d2a=_0x26244d[_0x410590])&&(_0x298901=_0x483d2a(_0x298901)||_0x298901);return _0x298901;},_0x4eb2a0=(_0x3dd0be,_0x24451c)=>(_0x131537,_0xae12c0)=>_0x24451c(_0x131537,_0xae12c0,_0x3dd0be);const _0x559ff3=_0x449ba5['createIdentifier']('univer-pro.collaboration-client-socket-service');function _0x2ef7a9(_0x49cde9,_0x351d94,_0x4acc03){var _0x5410d7=_0x12ab33;return _0x49cde9+'/'+_0x351d94+_0x5410d7(0x1a9)+_0x4acc03+'/new_changes';}_0x4bf482[_0x12ab33(0x295)]=class extends _0x449ba5['Disposable']{constructor(_0x28cab4,_0x108b92,_0xa4b36a,_0x4ea1fc,_0x30e64d){var _0x291d67=_0x12ab33;super(),this[_0x291d67(0x401)]=_0x28cab4,this[_0x291d67(0xe5)]=_0x108b92,this['_configService']=_0xa4b36a,this[_0x291d67(0x400)]=_0x4ea1fc,this[_0x291d67(0x2f1)]=_0x30e64d;}[_0x12ab33(0x37e)](_0x3f963d){var _0xc17fcd=_0x12ab33;const _0x331de1=this[_0xc17fcd(0x401)][_0xc17fcd(0x1fa)](_0xcd2fb4['ISocketService']);if(!_0x331de1)throw new Error(_0xc17fcd(0x129));const _0x449eed=_0x331de1['createSocket'](_0x3f963d);if(!_0x449eed)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2ee634=new _0x449ba5[(_0xc17fcd(0x1c3))](),_0x2fe59f=new _0x550b9f['Subject']();_0x2ee634[_0xc17fcd(0x394)](_0x449eed[_0xc17fcd(0x2a4)]['subscribe'](_0x85bda1=>_0x2fe59f[_0xc17fcd(0xaf)](_0x85bda1))),_0x2ee634[_0xc17fcd(0x394)](_0x449ba5[_0xc17fcd(0x36c)](()=>_0x2fe59f[_0xc17fcd(0x240)]()));const _0x13e14d=new _0x550b9f['Subject']();_0x2ee634[_0xc17fcd(0x394)](_0x449eed[_0xc17fcd(0x2a2)][_0xc17fcd(0x368)](_0x13167a=>_0x13e14d[_0xc17fcd(0xaf)](_0x13167a))),_0x2ee634[_0xc17fcd(0x394)](_0x449ba5[_0xc17fcd(0x36c)](()=>_0x13e14d[_0xc17fcd(0x240)]()));const _0x56d8de=new _0x550b9f[(_0xc17fcd(0x10a))]();_0x2ee634[_0xc17fcd(0x394)](_0x449eed['message$'][_0xc17fcd(0x368)](_0x56f106=>{var _0x1996ff=_0xc17fcd;const _0x2c4801=_0x4820e4(_0x56f106);_0x56d8de[_0x1996ff(0xaf)](_0x2c4801);})),_0x2ee634[_0xc17fcd(0x394)](_0x449ba5[_0xc17fcd(0x36c)](()=>_0x56d8de[_0xc17fcd(0x240)]()));let _0x104afa;const _0x414d0e=()=>{var _0x2b7a9c=_0xc17fcd;_0x13e14d['next'](new Event('connection\x20error')),_0x2fe59f[_0x2b7a9c(0xaf)](new Event(_0x2b7a9c(0x2f6))),_0x104afa[_0x2b7a9c(0x1e5)]();};return _0x104afa={'memberID':'','close$':_0x2fe59f[_0xc17fcd(0xda)](),'error$':_0x13e14d[_0xc17fcd(0xda)](),'open$':_0x449eed['open$'],'message$':_0x56d8de[_0xc17fcd(0xda)](),'send':_0x5b6e2b=>{var _0x4adfa4=_0xc17fcd;if(_0x5b6e2b[_0x4adfa4(0x435)]===_0x366ec0[_0x4adfa4(0x25c)]){if(_0x5b6e2b['data']['eventID']===_0x4811d6[_0x4adfa4(0x381)][_0x4adfa4(0x308)]){this[_0x4adfa4(0x378)](_0x104afa,_0x5b6e2b['data'])[_0x4adfa4(0x150)](_0x393afa=>{var _0x1d9a5d=_0x4adfa4;this['_logService'][_0x1d9a5d(0x2f2)](_0x393afa),_0x414d0e();});return;}if(_0x5b6e2b['data'][_0x4adfa4(0x28c)]===_0x4811d6[_0x4adfa4(0x381)][_0x4adfa4(0x14b)]){const _0x4b22a0=_0x5b6e2b['data'];this['_fetchMissChangesets'](_0x4b22a0)[_0x4adfa4(0x315)](_0x3eb872=>{var _0x20bca4=_0x4adfa4;_0x56d8de[_0x20bca4(0xaf)]({'cmd':_0x366ec0[_0x20bca4(0x29a)],'code':_0x369dd2['OK'],'routeKey':_0x4b22a0[_0x20bca4(0x166)][_0x20bca4(0x183)],'routeType':'','data':{'eventID':_0x4811d6[_0x20bca4(0x381)][_0x20bca4(0x404)],'data':{'changesets':_0x3eb872}}});})[_0x4adfa4(0x150)](_0x1e525b=>{var _0xec71ea=_0x4adfa4;this[_0xec71ea(0x400)]['error'](_0x1e525b),_0x414d0e();});return;}}_0x449eed[_0x4adfa4(0x199)](_0x111693(_0x5b6e2b));},'close':()=>{var _0xa89970=_0xc17fcd;_0x449eed[_0xa89970(0x1e5)](),_0x2ee634[_0xa89970(0x35e)]();}},_0x104afa;}async[_0x12ab33(0x378)](_0x4adb77,_0x39cb6c){var _0x1a2cd0=_0x12ab33,_0x19c649;const {unitType:_0x57e99b,unitID:_0x4e5dd9,changeset:_0x364bc6}=_0x39cb6c[_0x1a2cd0(0x166)],_0xc8e39={'unitID':_0x4e5dd9,'memberID':_0x4adb77[_0x1a2cd0(0x110)],'type':_0x57e99b,'changeset':_0x4811d6[_0x1a2cd0(0x1b0)](_0x364bc6)},_0x1ed202=this[_0x1a2cd0(0x3af)][_0x1a2cd0(0x18d)](_0x433534),_0x474a71=_0x2ef7a9((_0x19c649=_0x1ed202==null?void 0x0:_0x1ed202['collabSubmitChangesetUrl'])!=null?_0x19c649:_0x32249d,_0x57e99b,_0x4e5dd9);try{await this[_0x1a2cd0(0xe5)][_0x1a2cd0(0x3a4)](_0x474a71,{'body':_0xc8e39});}catch(_0x463617){throw this[_0x1a2cd0(0x400)]['error'](_0x1a2cd0(0x15e),_0x1a2cd0(0x2ac)),_0x463617;}}async['_fetchMissChangesets'](_0x96fe13){var _0x87c66f=_0x12ab33;const {unitID:_0x8e786d,from:_0x391d70,to:_0x4fb942,unitType:_0x2d104d}=_0x96fe13[_0x87c66f(0x166)];return(await this['_snapshotServerService'][_0x87c66f(0x134)]({'metadata':void 0x0},{'unitID':_0x8e786d,'type':_0x2d104d,'from':_0x391d70,'to':_0x4fb942}))['changesets'][_0x87c66f(0xc9)](_0x201bc8=>((_0x201bc8[_0x87c66f(0x34d)]===null||_0x201bc8[_0x87c66f(0x34d)]===void 0x0)&&(_0x201bc8[_0x87c66f(0x34d)]=[]),_0x201bc8));}},_0x4bf482[_0x12ab33(0x295)]=_0x40d664([_0x4eb2a0(0x0,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0x4eb2a0(0x1,_0x449ba5[_0x12ab33(0x116)](_0xcd2fb4[_0x12ab33(0xfe)])),_0x4eb2a0(0x2,_0x449ba5[_0x12ab33(0x388)]),_0x4eb2a0(0x3,_0x449ba5[_0x12ab33(0x37b)]),_0x4eb2a0(0x4,_0x4811d6['ISnapshotServerService'])],_0x4bf482['CollaborationSocketService']);var _0xb8927b=Object[_0x12ab33(0x39e)],_0x525724=(_0x23485d,_0x58f273,_0x33624f,_0x318f39)=>{var _0x2e268a=_0x12ab33;for(var _0x340c87=_0x318f39>0x1?void 0x0:_0x318f39?_0xb8927b(_0x58f273,_0x33624f):_0x58f273,_0xa8c089=_0x23485d[_0x2e268a(0xe6)]-0x1,_0x2fb4b9;_0xa8c089>=0x0;_0xa8c089--)(_0x2fb4b9=_0x23485d[_0xa8c089])&&(_0x340c87=_0x2fb4b9(_0x340c87)||_0x340c87);return _0x340c87;},_0x210fbb=(_0x590e64,_0x2f3f27)=>(_0x3b65ce,_0x1bed11)=>_0x2f3f27(_0x3b65ce,_0x1bed11,_0x590e64);_0x4bf482['CollaborationSessionService']=class extends _0x449ba5[_0x12ab33(0x106)]{constructor(_0x5d6e00,_0x1ebb0a,_0x568a27,_0x3567ed,_0x4ab2d6,_0x5ac664){var _0x8d23a0=_0x12ab33;super(),_0x389841(this,'_socket$',new _0x550b9f[(_0x8d23a0(0x1f8))](void 0x0)),_0x389841(this,_0x8d23a0(0xb4),this[_0x8d23a0(0x36a)][_0x8d23a0(0xda)]()),_0x389841(this,_0x8d23a0(0x3bf),null),_0x389841(this,_0x8d23a0(0x1bd),new Map()),_0x389841(this,_0x8d23a0(0x1cf),new _0x550b9f[(_0x8d23a0(0x1f8))](_0x439d16[_0x8d23a0(0x24e)])),_0x389841(this,'status$',this['_status$']['asObservable']()),_0x389841(this,'_socketReady',!0x1),_0x389841(this,'_retryConnectingTimer'),_0x389841(this,_0x8d23a0(0xbd),0x0),_0x389841(this,'_sendHeartbeatTimer'),_0x389841(this,_0x8d23a0(0x437)),(this[_0x8d23a0(0x401)]=_0x5d6e00,this[_0x8d23a0(0x400)]=_0x1ebb0a,this[_0x8d23a0(0x3af)]=_0x568a27,this[_0x8d23a0(0x12b)]=_0x3567ed,this['_collaborationUIEventService']=_0x4ab2d6,this[_0x8d23a0(0x416)]=_0x5ac664,this['_listenToNetworkCondition']());}get['_socket'](){var _0x11e016=_0x12ab33;return this['_socket$'][_0x11e016(0xe1)]();}[_0x12ab33(0x202)](){var _0x35b1fd=_0x12ab33;this[_0x35b1fd(0x416)]&&this[_0x35b1fd(0x21e)](this[_0x35b1fd(0x416)][_0x35b1fd(0x15a)][_0x35b1fd(0x368)](_0x59a161=>{var _0x1e955b=_0x35b1fd;_0x59a161&&!this[_0x1e955b(0x220)]&&this['reconnect'](),_0x59a161||this['_onOffline']();}));}['dispose'](){var _0x1be6a7=_0x12ab33;super['dispose'](),this[_0x1be6a7(0x361)](),this[_0x1be6a7(0xbc)](),this[_0x1be6a7(0x3e6)](),this[_0x1be6a7(0x1bd)][_0x1be6a7(0x17b)](_0x217f6e=>_0x217f6e['dispose']()),this[_0x1be6a7(0x1bd)][_0x1be6a7(0x204)](),this[_0x1be6a7(0x1cf)][_0x1be6a7(0x240)]();}async[_0x12ab33(0x29f)](_0x4998b5){var _0x8d6631=_0x12ab33;if(this[_0x8d6631(0x1bd)][_0x8d6631(0xd9)](_0x4998b5))return this['_sessions']['get'](_0x4998b5);this[_0x8d6631(0x234)]();const _0x1da031=this[_0x8d6631(0x401)]['createInstance'](_0x4bf482[_0x8d6631(0x3b7)],_0x4998b5,this['_socket$'][_0x8d6631(0xda)]());return this['_sessions'][_0x8d6631(0x25b)](_0x4998b5,_0x1da031),_0x1da031;}[_0x12ab33(0x17e)](_0xacbf08){var _0x2bdde5=_0x12ab33,_0x570323;const _0x2a7131=this[_0x2bdde5(0x1bd)]['get'](_0xacbf08);_0x2a7131&&(this[_0x2bdde5(0x1bd)]['delete'](_0xacbf08),_0x2a7131[_0x2bdde5(0x1e5)]()),this['_sessions'][_0x2bdde5(0x283)]||(_0x570323=this[_0x2bdde5(0x220)])==null||_0x570323[_0x2bdde5(0x1e5)]();}[_0x12ab33(0x146)](){var _0x2ac09a=_0x12ab33;this[_0x2ac09a(0xbd)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x5cb3a4=_0x12ab33;this[_0x5cb3a4(0x40d)]!=null&&(clearTimeout(this[_0x5cb3a4(0x40d)]),this[_0x5cb3a4(0x40d)]=null);}async[_0x12ab33(0x263)](){var _0x543f14=_0x12ab33,_0x54783c;const _0x49e09e=this[_0x543f14(0x3af)][_0x543f14(0x18d)](_0x433534),_0x2f7d2f=(_0x54783c=_0x49e09e==null?void 0x0:_0x49e09e[_0x543f14(0x153)])!=null?_0x54783c:_0x19a15b,_0x5ec253=await this[_0x543f14(0x12b)][_0x543f14(0x268)](_0x2f7d2f);return this[_0x543f14(0x3bf)]=_0x5ec253,_0x5ec253;}async[_0x12ab33(0x234)](){var _0x1ad965=_0x12ab33,_0x207d30,_0x35c92d;try{const _0x37c3a2=(_0x35c92d=(_0x207d30=this[_0x1ad965(0x220)])!=null?_0x207d30:this['_candidateSocket'])!=null?_0x35c92d:await this[_0x1ad965(0x263)]();if(_0x37c3a2){const _0x26c08e=_0x37c3a2[_0x1ad965(0x199)];_0x37c3a2[_0x1ad965(0x199)]=_0x30d763=>(this[_0x1ad965(0xd8)](),_0x26c08e[_0x1ad965(0x2fa)](_0x37c3a2,[_0x30d763])),_0x37c3a2[_0x1ad965(0x38c)][_0x1ad965(0x368)](_0x222862=>this[_0x1ad965(0x193)](_0x37c3a2,_0x222862)),_0x37c3a2[_0x1ad965(0x2a2)][_0x1ad965(0x188)](_0x4a20aa[_0x1ad965(0x3c0)](0x1))[_0x1ad965(0x368)](_0x18d0a1=>this[_0x1ad965(0x400)][_0x1ad965(0x2f2)]('[CollaborationSessionService]:\x20socket\x20error',_0x18d0a1)),_0x37c3a2[_0x1ad965(0x432)][_0x1ad965(0x188)](_0x4a20aa['take'](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x37c3a2);}),_0x37c3a2[_0x1ad965(0x2a4)][_0x1ad965(0x188)](_0x4a20aa[_0x1ad965(0x3c0)](0x1))[_0x1ad965(0x368)](_0x429048=>{var _0x519cbd=_0x1ad965;this[_0x519cbd(0x400)][_0x519cbd(0x2ea)](_0x519cbd(0xc2),_0x519cbd(0x313),_0x429048),this[_0x519cbd(0x16c)]();});}}catch(_0x338a67){this[_0x1ad965(0x400)]['error'](_0x338a67),this['_onConnectionFailed']();}}[_0x12ab33(0x189)](_0x25dc81){var _0x3e079e=_0x12ab33;this[_0x3e079e(0x400)][_0x3e079e(0x2ea)]('[CollaborationSessionService]',_0x3e079e(0x345)),_0x25dc81[_0x3e079e(0x199)]({'cmd':_0x366ec0[_0x3e079e(0xad)]}),this[_0x3e079e(0xd8)]();}[_0x12ab33(0x161)](){var _0x1c77bf=_0x12ab33;this[_0x1c77bf(0x347)]=!0x1,this[_0x1c77bf(0x3bf)]=null,this['_status$'][_0x1c77bf(0xaf)](_0x439d16[_0x1c77bf(0x3d1)]),this['_socket$'][_0x1c77bf(0xaf)](null),this[_0x1c77bf(0xbc)](),this[_0x1c77bf(0x3e6)]();}['_onConnectionFailed'](){var _0x564003=_0x12ab33,_0x1d0c8a;this['_onOffline'](),this[_0x564003(0xbd)]<((_0x1d0c8a=this[_0x564003(0x3af)]['getConfig'](_0x8019cb))!=null?_0x1d0c8a:0x3)?(this[_0x564003(0x18e)]['emitEvent']({'id':_0x49a56d[_0x564003(0x33e)]}),this[_0x564003(0x42e)]()):this['_collaborationUIEventService'][_0x564003(0x3c1)]({'id':_0x49a56d[_0x564003(0x3a0)]});}['_tryReconnect'](){var _0x22bf2a=_0x12ab33,_0x50fe5d;const _0x3ac05c=this[_0x22bf2a(0xbd)],_0x1055b4=this[_0x22bf2a(0x3af)][_0x22bf2a(0x18d)](_0x433534),_0xf8a509=_0x3ac05c===0x0?0x0:((_0x50fe5d=_0x1055b4==null?void 0x0:_0x1055b4[_0x22bf2a(0x3a1)])!=null?_0x50fe5d:0x4e20)*0x2**_0x3ac05c;this['_retryConnectingTimer']=setTimeout(()=>{var _0x17b583=_0x22bf2a;clearTimeout(this[_0x17b583(0x40d)]),this[_0x17b583(0x40d)]=null,this['_tryEnsureSocket']();},_0xf8a509),this['_retryCount']+=0x1;}['_onMessage'](_0x386bb8,_0x34c4f8){var _0x4b3d98=_0x12ab33;const {cmd:_0x35c65d}=_0x34c4f8;_0x35c65d===_0x366ec0[_0x4b3d98(0xad)]&&!this['_socketReady']&&(_0x386bb8[_0x4b3d98(0x110)]=_0x34c4f8[_0x4b3d98(0x166)][_0x4b3d98(0x110)],this['_socket$'][_0x4b3d98(0xaf)](_0x386bb8),this[_0x4b3d98(0x1cf)][_0x4b3d98(0xaf)](_0x439d16[_0x4b3d98(0x20d)]),this[_0x4b3d98(0x347)]=!0x0,this[_0x4b3d98(0x3bf)]=null),_0x35c65d===_0x366ec0['HEARTBEAT']&&this[_0x4b3d98(0xbc)](),this[_0x4b3d98(0xd8)]();}['_rescheduleHeartbeat'](){var _0x80afe=_0x12ab33,_0x4eae54;this[_0x80afe(0x3e6)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4eae54=this[_0x80afe(0x3af)][_0x80afe(0x18d)](_0x5f4e3a))!=null?_0x4eae54:0x7530);}[_0x12ab33(0x323)](){var _0x285b37=_0x12ab33;this['_socket']['send']({'cmd':_0x366ec0[_0x285b37(0x34c)]}),this[_0x285b37(0x11d)]();}[_0x12ab33(0x11d)](){var _0x572ae3=_0x12ab33,_0x12bbed;this[_0x572ae3(0x437)]=setTimeout(()=>this[_0x572ae3(0x16c)](),(_0x12bbed=this['_configService'][_0x572ae3(0x18d)](_0x5e9f32))!=null?_0x12bbed:0x4e20);}[_0x12ab33(0x3e6)](){var _0x34e06e=_0x12ab33;this[_0x34e06e(0x366)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x34e06e(0x366)]=null);}[_0x12ab33(0xbc)](){var _0x5a15e2=_0x12ab33;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5a15e2(0x437)]),this[_0x5a15e2(0x437)]=null);}},_0x4bf482[_0x12ab33(0x1b8)]=_0x525724([_0x210fbb(0x0,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x210fbb(0x1,_0x449ba5[_0x12ab33(0x37b)]),_0x210fbb(0x2,_0x449ba5[_0x12ab33(0x388)]),_0x210fbb(0x3,_0x559ff3),_0x210fbb(0x4,_0x449ba5[_0x12ab33(0x116)](_0x382c6e)),_0x210fbb(0x5,_0x449ba5[_0x12ab33(0xce)](_0x22ffa0))],_0x4bf482[_0x12ab33(0x1b8)]);var _0x1be8d0=Object['getOwnPropertyDescriptor'],_0x15fd40=(_0x130c15,_0x28984e,_0x4f9d0d,_0x8df31b)=>{var _0x152b0d=_0x12ab33;for(var _0x4e791d=_0x8df31b>0x1?void 0x0:_0x8df31b?_0x1be8d0(_0x28984e,_0x4f9d0d):_0x28984e,_0x290e14=_0x130c15[_0x152b0d(0xe6)]-0x1,_0x103019;_0x290e14>=0x0;_0x290e14--)(_0x103019=_0x130c15[_0x290e14])&&(_0x4e791d=_0x103019(_0x4e791d)||_0x4e791d);return _0x4e791d;},_0x3679b0=(_0x2143da,_0x46c054)=>(_0x415f1d,_0x48cce7)=>_0x46c054(_0x415f1d,_0x48cce7,_0x2143da);_0x4bf482['CollaborationController']=class extends _0x449ba5[_0x12ab33(0x1fc)]{constructor(_0x49de48,_0x2dfee8,_0x25c8d3,_0x585f5e){var _0x3a6903=_0x12ab33,_0x24d05c;super(),_0x389841(this,_0x3a6903(0x3ec),new Map()),_0x389841(this,_0x3a6903(0x3de),new _0x550b9f[(_0x3a6903(0x10a))]()),_0x389841(this,'entityInit$',this[_0x3a6903(0x3de)][_0x3a6903(0xda)]()),(this['_injector']=_0x49de48,this[_0x3a6903(0x140)]=_0x2dfee8,this['_configService']=_0x25c8d3,this['_univerInstanceService']=_0x585f5e,((_0x24d05c=this['_configService'][_0x3a6903(0x18d)](_0x433534))==null?void 0x0:_0x24d05c[_0x3a6903(0x2ad)])!==!0x1&&this[_0x3a6903(0x256)]());}[_0x12ab33(0x35e)](){var _0x3c1b1b=_0x12ab33;super[_0x3c1b1b(0x35e)](),this[_0x3c1b1b(0x3ec)]['forEach'](_0x411d1b=>_0x411d1b[_0x3c1b1b(0x35e)]()),this[_0x3c1b1b(0x3ec)]['clear']();}[_0x12ab33(0x159)](_0xc611f){var _0x39bb7f=_0x12ab33,_0x3cbb5a;return(_0x3cbb5a=this['_entities'][_0x39bb7f(0x1fa)](_0xc611f))!=null?_0x3cbb5a:null;}[_0x12ab33(0x354)](_0x29e22d){var _0x24c687=_0x12ab33;const _0xc25ec7=this[_0x24c687(0x159)](_0x29e22d);return _0xc25ec7?_0x550b9f['of'](_0xc25ec7):this[_0x24c687(0x3de)][_0x24c687(0x188)](_0x4a20aa['filter'](_0x470001=>_0x470001[_0x24c687(0x183)]===_0x29e22d));}['readyForCollab'](_0x131d77){var _0xac6eaa=_0x12ab33;return _0x550b9f[_0xac6eaa(0x206)](this['getCollabEntity$'](_0x131d77)[_0xac6eaa(0x188)](_0x4a20aa['map'](()=>{})));}[_0x12ab33(0x256)](){var _0x2f0140=_0x12ab33;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x449ba5['UniverInstanceType'][_0x2f0140(0x343)])[_0x2f0140(0x188)](_0x550b9f['takeUntil'](this[_0x2f0140(0x338)]),_0x4a20aa[_0x2f0140(0x15d)](0x10))[_0x2f0140(0x368)](async _0x17939a=>{var _0x3a0a54=_0x2f0140;const _0x29c148=_0x17939a[_0x3a0a54(0x26f)](),_0xdd1ac5=await this[_0x3a0a54(0x3ce)](_0x29c148,_0x5bae36['UNIVER_SHEET']);this['_entities'][_0x3a0a54(0x25b)](_0x29c148,_0xdd1ac5);}),this[_0x2f0140(0x436)][_0x2f0140(0x43e)](_0x449ba5[_0x2f0140(0x3c2)][_0x2f0140(0xef)])['pipe'](_0x550b9f['takeUntil'](this['dispose$']),_0x4a20aa[_0x2f0140(0x15d)](0x10))[_0x2f0140(0x188)](_0x4a20aa[_0x2f0140(0x16b)](_0x239149=>!_0x239149[_0x2f0140(0x26f)]()[_0x2f0140(0x331)]('__')))['subscribe'](async _0x36a08d=>{var _0x2fb5f2=_0x2f0140;const _0x115261=_0x36a08d[_0x2fb5f2(0x26f)](),_0x3c29e0=await this['_startCollaboration'](_0x115261,_0x5bae36[_0x2fb5f2(0xef)]);this['_entities'][_0x2fb5f2(0x25b)](_0x115261,_0x3c29e0);}),_0x550b9f['merge'](this[_0x2f0140(0x436)][_0x2f0140(0x167)](_0x449ba5['UniverInstanceType']['UNIVER_SHEET']),this[_0x2f0140(0x436)][_0x2f0140(0x167)](_0x449ba5[_0x2f0140(0x3c2)][_0x2f0140(0xef)]))[_0x2f0140(0x188)](_0x550b9f['takeUntil'](this[_0x2f0140(0x338)]))['subscribe'](_0x760e02=>{var _0xc7287b=_0x2f0140;const _0x342a7d=_0x760e02[_0xc7287b(0x26f)](),_0x45d14d=this['_entities'][_0xc7287b(0x1fa)](_0x342a7d);_0x45d14d&&(_0x45d14d[_0xc7287b(0x35e)](),this[_0xc7287b(0x3ec)][_0xc7287b(0x3ea)](_0x342a7d));});}async['_startCollaboration'](_0x22b2c8,_0x4e5de2){var _0x14fbd1=_0x12ab33;const _0x952937=await this['_collabSessionService'][_0x14fbd1(0x29f)](_0x22b2c8),_0x49ddd9=this[_0x14fbd1(0x401)][_0x14fbd1(0x34e)](this[_0x14fbd1(0x1de)](_0x4e5de2),_0x22b2c8,_0x4e5de2,_0x952937);return await _0x49ddd9[_0x14fbd1(0x33d)](),this[_0x14fbd1(0x3de)][_0x14fbd1(0xaf)](_0x49ddd9),_0x49ddd9;}[_0x12ab33(0x1de)](_0x3c8479){var _0x49c282=_0x12ab33;switch(_0x3c8479){case _0x5bae36[_0x49c282(0xef)]:return _0x4bf482[_0x49c282(0x226)];case _0x5bae36[_0x49c282(0x343)]:return _0x4bf482[_0x49c282(0x2ed)];default:throw new Error(_0x49c282(0x276)+_0x3c8479);}}},_0x4bf482[_0x12ab33(0x164)]=_0x15fd40([_0x3679b0(0x0,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0x3679b0(0x1,_0x449ba5[_0x12ab33(0x116)](_0x4bf482['CollaborationSessionService'])),_0x3679b0(0x2,_0x449ba5[_0x12ab33(0x388)]),_0x3679b0(0x3,_0x449ba5['IUniverInstanceService'])],_0x4bf482['CollaborationController']);var _0x53c580=Object[_0x12ab33(0x39e)],_0x29a13b=(_0x32f8ad,_0x5cbf72,_0x120cc0,_0x50496e)=>{var _0x3f548e=_0x12ab33;for(var _0x5bdcc3=_0x50496e>0x1?void 0x0:_0x50496e?_0x53c580(_0x5cbf72,_0x120cc0):_0x5cbf72,_0xb6590e=_0x32f8ad[_0x3f548e(0xe6)]-0x1,_0x208590;_0xb6590e>=0x0;_0xb6590e--)(_0x208590=_0x32f8ad[_0xb6590e])&&(_0x5bdcc3=_0x208590(_0x5bdcc3)||_0x5bdcc3);return _0x5bdcc3;},_0x3c7f85=(_0x493644,_0x58ab6e)=>(_0x11ee13,_0x37f30b)=>_0x58ab6e(_0x11ee13,_0x37f30b,_0x493644);const _0x5d6435=_0x12ab33(0x23b),_0x2b409c=_0x12ab33(0x30f);let _0x3f6d3c=class extends _0x449ba5[_0x12ab33(0x106)]{constructor(_0x436de5,_0xb08dc9){var _0x56ca37=_0x12ab33;super(),this[_0x56ca37(0x436)]=_0x436de5,this[_0x56ca37(0x3af)]=_0xb08dc9,this[_0x56ca37(0x256)]();}[_0x12ab33(0x256)](){var _0x455fae=_0x12ab33;this[_0x455fae(0x21e)](this[_0x455fae(0x436)][_0x455fae(0x1c4)][_0x455fae(0x368)](()=>{var _0x34bc96=_0x455fae,_0x215e52;const _0x20d54c=this['_univerInstanceService'][_0x34bc96(0x19c)]();let _0x4451a4=(_0x215e52=this[_0x34bc96(0x3af)][_0x34bc96(0x18d)](_0x5d6435))!=null?_0x215e52:_0x2b409c;_0x20d54c instanceof _0x449ba5[_0x34bc96(0x31f)]&&(_0x4451a4=_0x20d54c[_0x34bc96(0x3bb)]),document[_0x34bc96(0x253)]=_0x4451a4;}));}};_0x3f6d3c=_0x29a13b([_0x3c7f85(0x0,_0x449ba5['IUniverInstanceService']),_0x3c7f85(0x1,_0x449ba5[_0x12ab33(0x388)])],_0x3f6d3c);var _0x121571=Object['getOwnPropertyDescriptor'],_0xe3acd4=(_0x195304,_0x4985b0,_0x7b8ff3,_0x13137)=>{var _0x5469cb=_0x12ab33;for(var _0x48c8b7=_0x13137>0x1?void 0x0:_0x13137?_0x121571(_0x4985b0,_0x7b8ff3):_0x4985b0,_0x4efe3b=_0x195304[_0x5469cb(0xe6)]-0x1,_0x252042;_0x4efe3b>=0x0;_0x4efe3b--)(_0x252042=_0x195304[_0x4efe3b])&&(_0x48c8b7=_0x252042(_0x48c8b7)||_0x48c8b7);return _0x48c8b7;},_0xf0b054=(_0x27b984,_0x5c74e2)=>(_0x216243,_0x393564)=>_0x5c74e2(_0x216243,_0x393564,_0x27b984);let _0x559bbf=class{constructor(_0x15a8bd,_0x2756de,_0x2732ae){var _0x457cfb=_0x12ab33;this['_configService']=_0x15a8bd,this[_0x457cfb(0xe5)]=_0x2756de,this[_0x457cfb(0x1ed)]=_0x2732ae,this[_0x457cfb(0x33d)]();}[_0x12ab33(0x33d)](){var _0x39773c=_0x12ab33;this['_httpService'][_0x39773c(0x2ce)]({'priority':0x1,'interceptor':(_0x5b82de,_0x2304e3)=>_0x2304e3(_0x5b82de)[_0x39773c(0x188)](_0x550b9f['concatMap'](async _0x41558d=>{var _0x54d466=_0x39773c;const _0x5c640e=_0x41558d;if(_0x5c640e[_0x54d466(0x242)]===0x191){if(typeof window>'u')throw new Error(_0x54d466(0x21f));if(window[_0x54d466(0x3a5)](this[_0x54d466(0x1ed)]['t'](_0x54d466(0x3a2)))){const _0x506f5f=window[_0x54d466(0x236)](window[_0x54d466(0x1cc)][_0x54d466(0x439)]);window[_0x54d466(0x1cc)][_0x54d466(0x439)]=this['_getLoginPath']()+_0x54d466(0x111)+_0x506f5f;}}return _0x5c640e;}))});}['_getLoginPath'](){var _0x766b34=_0x12ab33,_0x1578c3;const _0x228741=this[_0x766b34(0x3af)][_0x766b34(0x18d)](_0x433534);return(_0x1578c3=_0x228741==null?void 0x0:_0x228741['loginUrlKey'])!=null?_0x1578c3:_0x4def6e;}};_0x559bbf=_0xe3acd4([_0xf0b054(0x0,_0x449ba5[_0x12ab33(0x388)]),_0xf0b054(0x1,_0x449ba5[_0x12ab33(0x116)](_0xcd2fb4['HTTPService'])),_0xf0b054(0x2,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x30b)]))],_0x559bbf);var _0x4462bf=Object[_0x12ab33(0x39e)],_0x3640bf=(_0x4d5386,_0x3f7243,_0x295242,_0x48d8e9)=>{var _0x3a3b37=_0x12ab33;for(var _0x20627b=_0x48d8e9>0x1?void 0x0:_0x48d8e9?_0x4462bf(_0x3f7243,_0x295242):_0x3f7243,_0x29fde8=_0x4d5386[_0x3a3b37(0xe6)]-0x1,_0x172aa9;_0x29fde8>=0x0;_0x29fde8--)(_0x172aa9=_0x4d5386[_0x29fde8])&&(_0x20627b=_0x172aa9(_0x20627b)||_0x20627b);return _0x20627b;},_0x3d1c56=(_0x1656bc,_0x48db58)=>(_0x4b4cf7,_0x5b2f2b)=>_0x48db58(_0x4b4cf7,_0x5b2f2b,_0x1656bc);const _0x25da85='/universer-api/authz';_0x4bf482[_0x12ab33(0x395)]=class extends _0x449ba5['Disposable']{constructor(_0x55a5fb,_0x2f3acf){var _0x150d95=_0x12ab33;super(),this[_0x150d95(0x1b7)]=_0x55a5fb,this[_0x150d95(0x3af)]=_0x2f3acf,this[_0x150d95(0x399)]();}[_0x12ab33(0x399)](){var _0x21d8ed=_0x12ab33;const _0xf3070=this;this[_0x21d8ed(0x21e)](this[_0x21d8ed(0x1b7)][_0x21d8ed(0x2ce)]({'priority':0x3e7,'interceptor':_0xcd2fb4['MergeInterceptorFactory']({'isMatch'(_0x27d28c){var _0x2d2eeb=_0x21d8ed,_0x3a5450;if(_0x27d28c[_0x2d2eeb(0x1e9)]===_0x2d2eeb(0x377)&&((_0x3a5450=_0x27d28c[_0x2d2eeb(0x2c7)])!=null&&_0x3a5450[_0x2d2eeb(0x3f5)])){const {objectID:_0x5a0e32,objectType:_0x144633}=_0x27d28c[_0x2d2eeb(0x2c7)][_0x2d2eeb(0x3f5)]||{};if(!_0x5a0e32||_0x144633===void 0x0)return!0x1;const _0xa64179=_0xf3070[_0x2d2eeb(0x288)]()+'/'+_0x144633+_0x2d2eeb(0x2a8)+_0x5a0e32+_0x2d2eeb(0x28b);if(_0x27d28c['url']===_0xa64179)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3624e5){var _0x4ec7fd=_0x21d8ed,_0x48f35b;return(_0x48f35b=_0x3624e5[_0x4ec7fd(0x2c7)])==null?void 0x0:_0x48f35b[_0x4ec7fd(0x3f5)];},'mergeParamsToRequest'(_0x1dd0fa,_0x44bd2c){var _0x115844=_0x21d8ed;const _0x47cf0e=_0xf3070[_0x115844(0x288)]()+_0x115844(0x290),_0x233939=_0x1dd0fa['reduce']((_0x44fc88,_0x24adbe)=>{const {unitID:_0x5412a4,objectID:_0x349ec7,objectType:_0x353e15,actions:_0x130fd0}=_0x24adbe;return _0x44fc88[_0x5412a4]||(_0x44fc88[_0x5412a4]={}),_0x44fc88[_0x5412a4][_0x349ec7]||(_0x44fc88[_0x5412a4][_0x349ec7]={'objectID':_0x349ec7,'objectType':_0x353e15,'actions':[]}),_0x44fc88[_0x5412a4][_0x349ec7]['actions']['push'](..._0x130fd0),_0x44fc88;},{}),_0x2c484a=[];for(const _0x2d620c in _0x233939)for(const _0x168cdc in _0x233939[_0x2d620c]){const {actions:_0xd8b59,objectType:_0x31b0b0}=_0x233939[_0x2d620c][_0x168cdc],_0x3f1e24=[...new Set(_0xd8b59)];_0x2c484a['push']({'unitID':_0x2d620c,'objectID':_0x168cdc,'objectType':_0x31b0b0,'actions':_0x3f1e24});}return new _0xcd2fb4[(_0x115844(0x2c4))]('POST',_0x47cf0e,{'headers':_0x44bd2c[_0x115844(0x275)],'withCredentials':_0x44bd2c['withCredentials'],'responseType':_0x44bd2c['responseType'],'body':{'requests':_0x2c484a}});}},{'distributeResult'(_0x27876e,_0x167526){const {objectActions:_0xb33983}=_0x27876e;return _0x167526['map'](_0x16f5da=>{var _0xecf153=_0x4f3d;const {unitID:_0x4a3f73,objectID:_0x1324a3,actions:_0x14a655}=_0x16f5da,_0x55cd45=_0xb33983['find'](_0x748423=>_0x748423[_0xecf153(0x183)]===_0x4a3f73&&_0x748423[_0xecf153(0xca)]===_0x1324a3),_0x55df3b=_0x14a655[_0xecf153(0xc9)](_0x132984=>_0x55cd45==null?void 0x0:_0x55cd45[_0xecf153(0x1fe)][_0xecf153(0x22a)](_0x433880=>_0x433880['action']===_0x132984))[_0xecf153(0x16b)](_0xdfcffc=>!!_0xdfcffc);return{'config':_0x16f5da,'result':{'actions':_0x55df3b,'error':_0x27876e['error']}};});}})}));}[_0x12ab33(0x288)](){var _0x1aae2a=_0x12ab33,_0x300f3e;const _0x1b2c3d=this[_0x1aae2a(0x3af)][_0x1aae2a(0x18d)](_0x433534);return(_0x300f3e=_0x1b2c3d==null?void 0x0:_0x1b2c3d[_0x1aae2a(0x213)])!=null?_0x300f3e:_0x25da85;}async[_0x12ab33(0x142)](_0x17335f){var _0x3cfda3=_0x12ab33;const _0x3c1174=this['_getAPIPrefixPath']()+'/'+_0x17335f[_0x3cfda3(0x322)]+_0x3cfda3(0x13c);return(await this[_0x3cfda3(0x1b7)][_0x3cfda3(0x3a4)](_0x3c1174,{'body':_0x17335f}))[_0x3cfda3(0x3f5)][_0x3cfda3(0xca)]||'';}async['list'](_0x13a033){var _0x462df5=_0x12ab33;const _0x4fa421=this[_0x462df5(0x288)]()+_0x462df5(0x2f5);return(await this[_0x462df5(0x1b7)][_0x462df5(0x3a4)](_0x4fa421,{'body':_0x13a033}))['body']['objects'];}async[_0x12ab33(0x11b)](_0x302ed8){var _0x5a790b=_0x12ab33,_0x32edc5,_0x3f2021;const _0x40e263=this[_0x5a790b(0x288)]()+'/'+_0x302ed8[_0x5a790b(0x322)]+'/object/'+_0x302ed8[_0x5a790b(0xca)],_0x3f49d4=await this[_0x5a790b(0x1b7)][_0x5a790b(0x3be)](_0x40e263,{'body':_0x302ed8});if(((_0x3f2021=(_0x32edc5=_0x3f49d4==null?void 0x0:_0x3f49d4[_0x5a790b(0x3f5)])==null?void 0x0:_0x32edc5[_0x5a790b(0x2f2)])==null?void 0x0:_0x3f2021['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x12ab33(0xe7)](_0x3d54a5){var _0xfa66e0=_0x12ab33;const _0x30adde=this[_0xfa66e0(0x288)]()+'/'+_0x3d54a5['objectType']+'/object/'+_0x3d54a5[_0xfa66e0(0xca)]+_0xfa66e0(0x28b);return(await this[_0xfa66e0(0x1b7)][_0xfa66e0(0x3a4)](_0x30adde,{'body':_0x3d54a5}))['body'][_0xfa66e0(0x1fe)];}async[_0x12ab33(0x250)](_0x3b0f53){var _0x420bb5=_0x12ab33;const _0x47be65=this['_getAPIPrefixPath']()+_0x420bb5(0x290);return(await this[_0x420bb5(0x1b7)][_0x420bb5(0x3a4)](_0x47be65,{'body':{'requests':_0x3b0f53}}))['body'][_0x420bb5(0x1c8)];}async[_0x12ab33(0x10c)](_0x24dcaf){var _0x6a2af1=_0x12ab33;const _0x2410b7=this['_getAPIPrefixPath']()+'/'+_0x24dcaf[_0x6a2af1(0x322)]+_0x6a2af1(0x248),_0x1c7d8e=await this[_0x6a2af1(0x1b7)][_0x6a2af1(0x3a4)](_0x2410b7,{'body':_0x24dcaf});return{'roles':_0x1c7d8e[_0x6a2af1(0x3f5)][_0x6a2af1(0x272)],'actions':_0x1c7d8e[_0x6a2af1(0x3f5)]['actions']};}async[_0x12ab33(0x185)](_0x13ef89){var _0x274e66=_0x12ab33;const _0xcfacb2=this[_0x274e66(0x288)]()+_0x274e66(0xe0);await this[_0x274e66(0x1b7)][_0x274e66(0x3ea)](_0xcfacb2,{'params':{'collaboratorID':_0x13ef89['collaboratorID'],'objectID':_0x13ef89[_0x274e66(0xca)],'unitID':_0x13ef89[_0x274e66(0x183)]}});}async['updateCollaborator'](_0x5ab365){var _0x44b825=_0x12ab33;const _0x27bcd5=this[_0x44b825(0x288)]()+_0x44b825(0xe0);await this['_HTTPService'][_0x44b825(0x3ab)](_0x27bcd5,{'body':_0x5ab365});}async[_0x12ab33(0x128)](_0x164830){var _0x2c7ce9=_0x12ab33;const _0x2d1483=this['_getAPIPrefixPath']()+_0x2c7ce9(0xe0);await this[_0x2c7ce9(0x1b7)][_0x2c7ce9(0x3a4)](_0x2d1483,{'body':_0x164830});}async[_0x12ab33(0x1aa)](_0x57c16b){var _0x570b39=_0x12ab33;const _0x3f291c=this[_0x570b39(0x288)]()+'/collaborator';return(await this[_0x570b39(0x1b7)][_0x570b39(0x1fa)](_0x3f291c,{'params':{'objectID':_0x57c16b[_0x570b39(0xca)],'unitID':_0x57c16b[_0x570b39(0x183)]}}))[_0x570b39(0x3f5)]['collaborators'];}async['putCollaborators'](_0x34bbf6){var _0x4c37be=_0x12ab33;const _0x21f375=this[_0x4c37be(0x288)]()+'/collaborator';await this[_0x4c37be(0x1b7)][_0x4c37be(0x3be)](_0x21f375,{'body':_0x34bbf6});}},_0x4bf482['AuthzIoHttpService']=_0x3640bf([_0x3d1c56(0x0,_0x449ba5['Inject'](_0xcd2fb4['HTTPService'])),_0x3d1c56(0x1,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x388)]))],_0x4bf482[_0x12ab33(0x395)]);var _0x5ec76b=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1f767d(_0x12e567){var _0x50de23=_0x12ab33;return _0x12e567&&_0x12e567['__esModule']&&Object[_0x50de23(0x293)][_0x50de23(0x3fc)]['call'](_0x12e567,'default')?_0x12e567['default']:_0x12e567;}var _0x5c5b2b={'exports':{}};function _0x150697(_0x4ae699){var _0x4d10e4=_0x12ab33;throw new Error(_0x4d10e4(0x36b)+_0x4ae699+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0xc3b4d6={'exports':{}},_0x4e1a23=_0xc3b4d6[_0x12ab33(0x257)],_0xf9e6c5;function _0x2b16a(){var _0x55d11a=_0x12ab33;return _0xf9e6c5||(_0xf9e6c5=0x1,function(_0x4a3232,_0x5df2ef){(function(_0x4650b5,_0x156fec){var _0x31e494=_0x4f3d;_0x4a3232[_0x31e494(0x257)]=_0x156fec();}(_0x4e1a23,function(){var _0x5c1ef3=_0x5c1ef3||function(_0xdc8cfd,_0x5db7b3){var _0x2bcc37=_0x4f3d,_0x523f62;if(typeof window<'u'&&window['crypto']&&(_0x523f62=window[_0x2bcc37(0x438)]),typeof self<'u'&&self[_0x2bcc37(0x438)]&&(_0x523f62=self[_0x2bcc37(0x438)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x523f62=globalThis[_0x2bcc37(0x438)]),!_0x523f62&&typeof window<'u'&&window[_0x2bcc37(0x41a)]&&(_0x523f62=window[_0x2bcc37(0x41a)]),!_0x523f62&&typeof _0x5ec76b<'u'&&_0x5ec76b[_0x2bcc37(0x438)]&&(_0x523f62=_0x5ec76b[_0x2bcc37(0x438)]),!_0x523f62&&typeof _0x150697==_0x2bcc37(0x311))try{_0x523f62=require('crypto');}catch{}var _0xb39a3a=function(){var _0x23be90=_0x2bcc37;if(_0x523f62){if(typeof _0x523f62[_0x23be90(0x32f)]==_0x23be90(0x311))try{return _0x523f62['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x523f62[_0x23be90(0x39d)]==_0x23be90(0x311))try{return _0x523f62[_0x23be90(0x39d)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x23be90(0x10f));},_0x2492f3=Object[_0x2bcc37(0x142)]||(function(){function _0x31bee9(){}return function(_0x542e1d){var _0x3a135e=_0x4f3d,_0x380bc0;return _0x31bee9['prototype']=_0x542e1d,_0x380bc0=new _0x31bee9(),_0x31bee9[_0x3a135e(0x293)]=null,_0x380bc0;};}()),_0xabdfa={},_0xc15a1c=_0xabdfa[_0x2bcc37(0x15b)]={},_0x163efc=_0xc15a1c['Base']=(function(){return{'extend':function(_0x2ca3fa){var _0x1c192e=_0x4f3d,_0x3133db=_0x2492f3(this);return _0x2ca3fa&&_0x3133db[_0x1c192e(0x36e)](_0x2ca3fa),(!_0x3133db[_0x1c192e(0x3fc)]('init')||this[_0x1c192e(0x33d)]===_0x3133db[_0x1c192e(0x33d)])&&(_0x3133db[_0x1c192e(0x33d)]=function(){var _0x2dceea=_0x1c192e;_0x3133db['$super'][_0x2dceea(0x33d)][_0x2dceea(0x2fa)](this,arguments);}),_0x3133db[_0x1c192e(0x33d)][_0x1c192e(0x293)]=_0x3133db,_0x3133db[_0x1c192e(0xbe)]=this,_0x3133db;},'create':function(){var _0xfccecc=_0x4f3d,_0x35736c=this[_0xfccecc(0x2b4)]();return _0x35736c[_0xfccecc(0x33d)]['apply'](_0x35736c,arguments),_0x35736c;},'init':function(){},'mixIn':function(_0x243abc){var _0x21387b=_0x4f3d;for(var _0x193e8e in _0x243abc)_0x243abc[_0x21387b(0x3fc)](_0x193e8e)&&(this[_0x193e8e]=_0x243abc[_0x193e8e]);_0x243abc[_0x21387b(0x3fc)]('toString')&&(this[_0x21387b(0x1f5)]=_0x243abc[_0x21387b(0x1f5)]);},'clone':function(){var _0x5e0d2e=_0x4f3d;return this[_0x5e0d2e(0x33d)][_0x5e0d2e(0x293)][_0x5e0d2e(0x2b4)](this);}};}()),_0xf1b283=_0xc15a1c[_0x2bcc37(0xdb)]=_0x163efc['extend']({'init':function(_0x12cc53,_0x3d7bd2){var _0x2c2433=_0x2bcc37;_0x12cc53=this[_0x2c2433(0xb9)]=_0x12cc53||[],_0x3d7bd2!=_0x5db7b3?this[_0x2c2433(0x2e2)]=_0x3d7bd2:this[_0x2c2433(0x2e2)]=_0x12cc53[_0x2c2433(0xe6)]*0x4;},'toString':function(_0x4619d4){var _0x5abd7b=_0x2bcc37;return(_0x4619d4||_0x1eb55d)[_0x5abd7b(0x3b6)](this);},'concat':function(_0xeec17b){var _0x2363dd=_0x2bcc37,_0xce9a96=this[_0x2363dd(0xb9)],_0x476c9a=_0xeec17b['words'],_0x22b44a=this['sigBytes'],_0x5b870f=_0xeec17b[_0x2363dd(0x2e2)];if(this[_0x2363dd(0x1d3)](),_0x22b44a%0x4)for(var _0x266692=0x0;_0x266692<_0x5b870f;_0x266692++){var _0x3d0816=_0x476c9a[_0x266692>>>0x2]>>>0x18-_0x266692%0x4*0x8&0xff;_0xce9a96[_0x22b44a+_0x266692>>>0x2]|=_0x3d0816<<0x18-(_0x22b44a+_0x266692)%0x4*0x8;}else{for(var _0x554435=0x0;_0x554435<_0x5b870f;_0x554435+=0x4)_0xce9a96[_0x22b44a+_0x554435>>>0x2]=_0x476c9a[_0x554435>>>0x2];}return this['sigBytes']+=_0x5b870f,this;},'clamp':function(){var _0x7c00e0=_0x2bcc37,_0x564530=this[_0x7c00e0(0xb9)],_0x235a96=this[_0x7c00e0(0x2e2)];_0x564530[_0x235a96>>>0x2]&=0xffffffff<<0x20-_0x235a96%0x4*0x8,_0x564530[_0x7c00e0(0xe6)]=_0xdc8cfd[_0x7c00e0(0x2d1)](_0x235a96/0x4);},'clone':function(){var _0xdb63c=_0x2bcc37,_0x2dd62e=_0x163efc['clone'][_0xdb63c(0x1a5)](this);return _0x2dd62e[_0xdb63c(0xb9)]=this[_0xdb63c(0xb9)][_0xdb63c(0x23e)](0x0),_0x2dd62e;},'random':function(_0x2c334a){var _0x40d4f4=_0x2bcc37;for(var _0x2cd703=[],_0x4c5900=0x0;_0x4c5900<_0x2c334a;_0x4c5900+=0x4)_0x2cd703[_0x40d4f4(0x125)](_0xb39a3a());return new _0xf1b283[(_0x40d4f4(0x33d))](_0x2cd703,_0x2c334a);}}),_0x119f9c=_0xabdfa[_0x2bcc37(0x3bc)]={},_0x1eb55d=_0x119f9c[_0x2bcc37(0x148)]={'stringify':function(_0x2ad912){var _0x1e2f56=_0x2bcc37;for(var _0x44e4ea=_0x2ad912[_0x1e2f56(0xb9)],_0x48f378=_0x2ad912[_0x1e2f56(0x2e2)],_0x5556c5=[],_0x3dac97=0x0;_0x3dac97<_0x48f378;_0x3dac97++){var _0x1ee922=_0x44e4ea[_0x3dac97>>>0x2]>>>0x18-_0x3dac97%0x4*0x8&0xff;_0x5556c5[_0x1e2f56(0x125)]((_0x1ee922>>>0x4)[_0x1e2f56(0x1f5)](0x10)),_0x5556c5['push']((_0x1ee922&0xf)[_0x1e2f56(0x1f5)](0x10));}return _0x5556c5[_0x1e2f56(0x429)]('');},'parse':function(_0x205258){var _0x1d940f=_0x2bcc37;for(var _0xd05d02=_0x205258[_0x1d940f(0xe6)],_0x117c46=[],_0x49f429=0x0;_0x49f429<_0xd05d02;_0x49f429+=0x2)_0x117c46[_0x49f429>>>0x3]|=parseInt(_0x205258['substr'](_0x49f429,0x2),0x10)<<0x18-_0x49f429%0x8*0x4;return new _0xf1b283[(_0x1d940f(0x33d))](_0x117c46,_0xd05d02/0x2);}},_0x34e93b=_0x119f9c['Latin1']={'stringify':function(_0x4f9a2e){var _0x3b977c=_0x2bcc37;for(var _0x39cc9d=_0x4f9a2e['words'],_0x3d8474=_0x4f9a2e[_0x3b977c(0x2e2)],_0x2c1dd4=[],_0x9f6752=0x0;_0x9f6752<_0x3d8474;_0x9f6752++){var _0x49854f=_0x39cc9d[_0x9f6752>>>0x2]>>>0x18-_0x9f6752%0x4*0x8&0xff;_0x2c1dd4[_0x3b977c(0x125)](String[_0x3b977c(0x379)](_0x49854f));}return _0x2c1dd4[_0x3b977c(0x429)]('');},'parse':function(_0x318f7d){var _0x35044f=_0x2bcc37;for(var _0x5b443b=_0x318f7d['length'],_0x4001b7=[],_0x48d006=0x0;_0x48d006<_0x5b443b;_0x48d006++)_0x4001b7[_0x48d006>>>0x2]|=(_0x318f7d[_0x35044f(0xf8)](_0x48d006)&0xff)<<0x18-_0x48d006%0x4*0x8;return new _0xf1b283[(_0x35044f(0x33d))](_0x4001b7,_0x5b443b);}},_0x25135d=_0x119f9c[_0x2bcc37(0x292)]={'stringify':function(_0x16c327){var _0x4a5b93=_0x2bcc37;try{return decodeURIComponent(escape(_0x34e93b[_0x4a5b93(0x3b6)](_0x16c327)));}catch{throw new Error(_0x4a5b93(0x32b));}},'parse':function(_0x442e31){var _0x5b893a=_0x2bcc37;return _0x34e93b[_0x5b893a(0x190)](unescape(encodeURIComponent(_0x442e31)));}},_0x16f6f3=_0xc15a1c['BufferedBlockAlgorithm']=_0x163efc[_0x2bcc37(0x2b4)]({'reset':function(){var _0x3fdcf4=_0x2bcc37;this[_0x3fdcf4(0x3cf)]=new _0xf1b283[(_0x3fdcf4(0x33d))](),this[_0x3fdcf4(0x3b0)]=0x0;},'_append':function(_0x4ab520){var _0x1109c8=_0x2bcc37;typeof _0x4ab520==_0x1109c8(0x2eb)&&(_0x4ab520=_0x25135d['parse'](_0x4ab520)),this[_0x1109c8(0x3cf)][_0x1109c8(0x214)](_0x4ab520),this[_0x1109c8(0x3b0)]+=_0x4ab520['sigBytes'];},'_process':function(_0x4f26ea){var _0x3df3ff=_0x2bcc37,_0x16d1e7,_0x10c478=this[_0x3df3ff(0x3cf)],_0x158af8=_0x10c478[_0x3df3ff(0xb9)],_0x259254=_0x10c478[_0x3df3ff(0x2e2)],_0x135f40=this[_0x3df3ff(0x389)],_0x34fe7a=_0x135f40*0x4,_0x11e4d1=_0x259254/_0x34fe7a;_0x4f26ea?_0x11e4d1=_0xdc8cfd['ceil'](_0x11e4d1):_0x11e4d1=_0xdc8cfd[_0x3df3ff(0x156)]((_0x11e4d1|0x0)-this['_minBufferSize'],0x0);var _0x5e7785=_0x11e4d1*_0x135f40,_0x1aaf47=_0xdc8cfd['min'](_0x5e7785*0x4,_0x259254);if(_0x5e7785){for(var _0x58cf7d=0x0;_0x58cf7d<_0x5e7785;_0x58cf7d+=_0x135f40)this[_0x3df3ff(0x281)](_0x158af8,_0x58cf7d);_0x16d1e7=_0x158af8[_0x3df3ff(0x3f1)](0x0,_0x5e7785),_0x10c478[_0x3df3ff(0x2e2)]-=_0x1aaf47;}return new _0xf1b283['init'](_0x16d1e7,_0x1aaf47);},'clone':function(){var _0xa6e1ff=_0x2bcc37,_0x5ec02a=_0x163efc[_0xa6e1ff(0x3b8)]['call'](this);return _0x5ec02a[_0xa6e1ff(0x3cf)]=this[_0xa6e1ff(0x3cf)][_0xa6e1ff(0x3b8)](),_0x5ec02a;},'_minBufferSize':0x0});_0xc15a1c[_0x2bcc37(0x13b)]=_0x16f6f3[_0x2bcc37(0x2b4)]({'cfg':_0x163efc[_0x2bcc37(0x2b4)](),'init':function(_0x425c4f){var _0x4f32b0=_0x2bcc37;this['cfg']=this[_0x4f32b0(0x1d5)]['extend'](_0x425c4f),this[_0x4f32b0(0x391)]();},'reset':function(){var _0x4f5495=_0x2bcc37;_0x16f6f3[_0x4f5495(0x391)][_0x4f5495(0x1a5)](this),this[_0x4f5495(0x1ac)]();},'update':function(_0x546f17){var _0x36f7f1=_0x2bcc37;return this[_0x36f7f1(0x2d5)](_0x546f17),this[_0x36f7f1(0x229)](),this;},'finalize':function(_0x3a7bd0){var _0x363d17=_0x2bcc37;_0x3a7bd0&&this[_0x363d17(0x2d5)](_0x3a7bd0);var _0x2428c4=this[_0x363d17(0x419)]();return _0x2428c4;},'blockSize':0x10,'_createHelper':function(_0x360caa){return function(_0x2d97f5,_0x36eaf3){var _0x3b7263=_0x4f3d;return new _0x360caa[(_0x3b7263(0x33d))](_0x36eaf3)[_0x3b7263(0x39b)](_0x2d97f5);};},'_createHmacHelper':function(_0x423485){return function(_0x2b099b,_0x4ed545){var _0x2c9c83=_0x4f3d;return new _0x217c0f[(_0x2c9c83(0xc8))][(_0x2c9c83(0x33d))](_0x423485,_0x4ed545)['finalize'](_0x2b099b);};}});var _0x217c0f=_0xabdfa['algo']={};return _0xabdfa;}(Math);return _0x5c1ef3;}));}(_0xc3b4d6)),_0xc3b4d6[_0x55d11a(0x257)];}var _0x3f4223={'exports':{}},_0x383386=_0x3f4223[_0x12ab33(0x257)],_0x593cb1;function _0x1b0b49(){var _0x54603d=_0x12ab33;return _0x593cb1||(_0x593cb1=0x1,function(_0x311c25,_0x2c8f7a){(function(_0x4421c8,_0x4f683c){var _0x353095=_0x4f3d;_0x311c25[_0x353095(0x257)]=_0x4f683c(_0x2b16a());}(_0x383386,function(_0x1f59ff){var _0x2a217d=_0x4f3d;return(function(){var _0x42d4b6=_0x4f3d,_0x4b29cb=_0x1f59ff,_0x2a94be=_0x4b29cb['lib'],_0x56d0a5=_0x2a94be['WordArray'],_0x3806d0=_0x4b29cb[_0x42d4b6(0x3bc)];_0x3806d0[_0x42d4b6(0x43a)]={'stringify':function(_0x30b875){var _0x376ae9=_0x42d4b6,_0x383324=_0x30b875[_0x376ae9(0xb9)],_0x184745=_0x30b875[_0x376ae9(0x2e2)],_0x578d57=this['_map'];_0x30b875['clamp']();for(var _0x2a5018=[],_0x42803b=0x0;_0x42803b<_0x184745;_0x42803b+=0x3)for(var _0x202731=_0x383324[_0x42803b>>>0x2]>>>0x18-_0x42803b%0x4*0x8&0xff,_0x5ec29d=_0x383324[_0x42803b+0x1>>>0x2]>>>0x18-(_0x42803b+0x1)%0x4*0x8&0xff,_0x2bcd7b=_0x383324[_0x42803b+0x2>>>0x2]>>>0x18-(_0x42803b+0x2)%0x4*0x8&0xff,_0x1b921c=_0x202731<<0x10|_0x5ec29d<<0x8|_0x2bcd7b,_0x28f6aa=0x0;_0x28f6aa<0x4&&_0x42803b+_0x28f6aa*0.75<_0x184745;_0x28f6aa++)_0x2a5018['push'](_0x578d57[_0x376ae9(0x2a7)](_0x1b921c>>>0x6*(0x3-_0x28f6aa)&0x3f));var _0x213fe1=_0x578d57[_0x376ae9(0x2a7)](0x40);if(_0x213fe1){for(;_0x2a5018[_0x376ae9(0xe6)]%0x4;)_0x2a5018[_0x376ae9(0x125)](_0x213fe1);}return _0x2a5018[_0x376ae9(0x429)]('');},'parse':function(_0x2aeeaf){var _0x5aa4b0=_0x42d4b6,_0x3842ef=_0x2aeeaf[_0x5aa4b0(0xe6)],_0x1f1f87=this[_0x5aa4b0(0x145)],_0x32fd99=this['_reverseMap'];if(!_0x32fd99){_0x32fd99=this[_0x5aa4b0(0x365)]=[];for(var _0x326600=0x0;_0x326600<_0x1f1f87[_0x5aa4b0(0xe6)];_0x326600++)_0x32fd99[_0x1f1f87[_0x5aa4b0(0xf8)](_0x326600)]=_0x326600;}var _0x9591ef=_0x1f1f87['charAt'](0x40);if(_0x9591ef){var _0x3e0d39=_0x2aeeaf[_0x5aa4b0(0x31b)](_0x9591ef);_0x3e0d39!==-0x1&&(_0x3842ef=_0x3e0d39);}return _0x46aa60(_0x2aeeaf,_0x3842ef,_0x32fd99);},'_map':_0x42d4b6(0x1ab)};function _0x46aa60(_0x2b4bed,_0x214392,_0x4fd388){var _0x5f1fa5=_0x42d4b6;for(var _0x49f658=[],_0x2608eb=0x0,_0xf470f3=0x0;_0xf470f3<_0x214392;_0xf470f3++)if(_0xf470f3%0x4){var _0x33d856=_0x4fd388[_0x2b4bed[_0x5f1fa5(0xf8)](_0xf470f3-0x1)]<<_0xf470f3%0x4*0x2,_0x2f87eb=_0x4fd388[_0x2b4bed[_0x5f1fa5(0xf8)](_0xf470f3)]>>>0x6-_0xf470f3%0x4*0x2,_0xf56982=_0x33d856|_0x2f87eb;_0x49f658[_0x2608eb>>>0x2]|=_0xf56982<<0x18-_0x2608eb%0x4*0x8,_0x2608eb++;}return _0x56d0a5['create'](_0x49f658,_0x2608eb);}}()),_0x1f59ff[_0x2a217d(0x3bc)][_0x2a217d(0x43a)];}));}(_0x3f4223)),_0x3f4223[_0x54603d(0x257)];}var _0x2648b9={'exports':{}},_0x5855cc=_0x2648b9['exports'],_0x5a3d53;function _0x51af11(){var _0x5eadb7=_0x12ab33;return _0x5a3d53||(_0x5a3d53=0x1,function(_0x46bf8d,_0x8d1355){(function(_0x1d17a0,_0x538cf3){var _0x474cb7=_0x4f3d;_0x46bf8d[_0x474cb7(0x257)]=_0x538cf3(_0x2b16a());}(_0x5855cc,function(_0x4a6454){var _0x293dc1=_0x4f3d;return function(_0xd8cc4c){var _0x3be6db=_0x4f3d,_0x3df712=_0x4a6454,_0x3e15a5=_0x3df712[_0x3be6db(0x15b)],_0x2468cf=_0x3e15a5[_0x3be6db(0xdb)],_0x14f1dd=_0x3e15a5['Hasher'],_0x2731d2=_0x3df712['algo'],_0x40eadb=[];(function(){var _0x431287=_0x3be6db;for(var _0x51235f=0x0;_0x51235f<0x40;_0x51235f++)_0x40eadb[_0x51235f]=_0xd8cc4c[_0x431287(0xc0)](_0xd8cc4c[_0x431287(0x2f0)](_0x51235f+0x1))*0x100000000|0x0;}());var _0x322083=_0x2731d2[_0x3be6db(0x310)]=_0x14f1dd[_0x3be6db(0x2b4)]({'_doReset':function(){var _0x117cf1=_0x3be6db;this['_hash']=new _0x2468cf[(_0x117cf1(0x33d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x8c2100,_0x4520b8){var _0x47ee3c=_0x3be6db;for(var _0x6f426b=0x0;_0x6f426b<0x10;_0x6f426b++){var _0x4ed6bd=_0x4520b8+_0x6f426b,_0x3e6535=_0x8c2100[_0x4ed6bd];_0x8c2100[_0x4ed6bd]=(_0x3e6535<<0x8|_0x3e6535>>>0x18)&0xff00ff|(_0x3e6535<<0x18|_0x3e6535>>>0x8)&0xff00ff00;}var _0x41cf35=this[_0x47ee3c(0x2bc)][_0x47ee3c(0xb9)],_0x5df320=_0x8c2100[_0x4520b8+0x0],_0x1c3166=_0x8c2100[_0x4520b8+0x1],_0x133daa=_0x8c2100[_0x4520b8+0x2],_0x441f3f=_0x8c2100[_0x4520b8+0x3],_0x301b76=_0x8c2100[_0x4520b8+0x4],_0x30ef12=_0x8c2100[_0x4520b8+0x5],_0x52cecf=_0x8c2100[_0x4520b8+0x6],_0x4577fb=_0x8c2100[_0x4520b8+0x7],_0x3cd16d=_0x8c2100[_0x4520b8+0x8],_0x3f845b=_0x8c2100[_0x4520b8+0x9],_0xfe24d=_0x8c2100[_0x4520b8+0xa],_0x434417=_0x8c2100[_0x4520b8+0xb],_0x12ed6c=_0x8c2100[_0x4520b8+0xc],_0x23e103=_0x8c2100[_0x4520b8+0xd],_0x445f9d=_0x8c2100[_0x4520b8+0xe],_0x5985b0=_0x8c2100[_0x4520b8+0xf],_0x1010e4=_0x41cf35[0x0],_0x5e5698=_0x41cf35[0x1],_0x1748e3=_0x41cf35[0x2],_0x456597=_0x41cf35[0x3];_0x1010e4=_0x39d8ec(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x5df320,0x7,_0x40eadb[0x0]),_0x456597=_0x39d8ec(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x1c3166,0xc,_0x40eadb[0x1]),_0x1748e3=_0x39d8ec(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x133daa,0x11,_0x40eadb[0x2]),_0x5e5698=_0x39d8ec(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x441f3f,0x16,_0x40eadb[0x3]),_0x1010e4=_0x39d8ec(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x301b76,0x7,_0x40eadb[0x4]),_0x456597=_0x39d8ec(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x30ef12,0xc,_0x40eadb[0x5]),_0x1748e3=_0x39d8ec(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x52cecf,0x11,_0x40eadb[0x6]),_0x5e5698=_0x39d8ec(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x4577fb,0x16,_0x40eadb[0x7]),_0x1010e4=_0x39d8ec(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x3cd16d,0x7,_0x40eadb[0x8]),_0x456597=_0x39d8ec(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x3f845b,0xc,_0x40eadb[0x9]),_0x1748e3=_0x39d8ec(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0xfe24d,0x11,_0x40eadb[0xa]),_0x5e5698=_0x39d8ec(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x434417,0x16,_0x40eadb[0xb]),_0x1010e4=_0x39d8ec(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x12ed6c,0x7,_0x40eadb[0xc]),_0x456597=_0x39d8ec(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x23e103,0xc,_0x40eadb[0xd]),_0x1748e3=_0x39d8ec(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x445f9d,0x11,_0x40eadb[0xe]),_0x5e5698=_0x39d8ec(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x5985b0,0x16,_0x40eadb[0xf]),_0x1010e4=_0x25e151(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x1c3166,0x5,_0x40eadb[0x10]),_0x456597=_0x25e151(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x52cecf,0x9,_0x40eadb[0x11]),_0x1748e3=_0x25e151(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x434417,0xe,_0x40eadb[0x12]),_0x5e5698=_0x25e151(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x5df320,0x14,_0x40eadb[0x13]),_0x1010e4=_0x25e151(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x30ef12,0x5,_0x40eadb[0x14]),_0x456597=_0x25e151(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0xfe24d,0x9,_0x40eadb[0x15]),_0x1748e3=_0x25e151(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x5985b0,0xe,_0x40eadb[0x16]),_0x5e5698=_0x25e151(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x301b76,0x14,_0x40eadb[0x17]),_0x1010e4=_0x25e151(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x3f845b,0x5,_0x40eadb[0x18]),_0x456597=_0x25e151(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x445f9d,0x9,_0x40eadb[0x19]),_0x1748e3=_0x25e151(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x441f3f,0xe,_0x40eadb[0x1a]),_0x5e5698=_0x25e151(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x3cd16d,0x14,_0x40eadb[0x1b]),_0x1010e4=_0x25e151(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x23e103,0x5,_0x40eadb[0x1c]),_0x456597=_0x25e151(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x133daa,0x9,_0x40eadb[0x1d]),_0x1748e3=_0x25e151(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x4577fb,0xe,_0x40eadb[0x1e]),_0x5e5698=_0x25e151(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x12ed6c,0x14,_0x40eadb[0x1f]),_0x1010e4=_0x1b79a2(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x30ef12,0x4,_0x40eadb[0x20]),_0x456597=_0x1b79a2(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x3cd16d,0xb,_0x40eadb[0x21]),_0x1748e3=_0x1b79a2(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x434417,0x10,_0x40eadb[0x22]),_0x5e5698=_0x1b79a2(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x445f9d,0x17,_0x40eadb[0x23]),_0x1010e4=_0x1b79a2(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x1c3166,0x4,_0x40eadb[0x24]),_0x456597=_0x1b79a2(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x301b76,0xb,_0x40eadb[0x25]),_0x1748e3=_0x1b79a2(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x4577fb,0x10,_0x40eadb[0x26]),_0x5e5698=_0x1b79a2(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0xfe24d,0x17,_0x40eadb[0x27]),_0x1010e4=_0x1b79a2(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x23e103,0x4,_0x40eadb[0x28]),_0x456597=_0x1b79a2(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x5df320,0xb,_0x40eadb[0x29]),_0x1748e3=_0x1b79a2(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x441f3f,0x10,_0x40eadb[0x2a]),_0x5e5698=_0x1b79a2(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x52cecf,0x17,_0x40eadb[0x2b]),_0x1010e4=_0x1b79a2(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x3f845b,0x4,_0x40eadb[0x2c]),_0x456597=_0x1b79a2(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x12ed6c,0xb,_0x40eadb[0x2d]),_0x1748e3=_0x1b79a2(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x5985b0,0x10,_0x40eadb[0x2e]),_0x5e5698=_0x1b79a2(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x133daa,0x17,_0x40eadb[0x2f]),_0x1010e4=_0x3df19e(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x5df320,0x6,_0x40eadb[0x30]),_0x456597=_0x3df19e(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x4577fb,0xa,_0x40eadb[0x31]),_0x1748e3=_0x3df19e(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x445f9d,0xf,_0x40eadb[0x32]),_0x5e5698=_0x3df19e(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x30ef12,0x15,_0x40eadb[0x33]),_0x1010e4=_0x3df19e(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x12ed6c,0x6,_0x40eadb[0x34]),_0x456597=_0x3df19e(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x441f3f,0xa,_0x40eadb[0x35]),_0x1748e3=_0x3df19e(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0xfe24d,0xf,_0x40eadb[0x36]),_0x5e5698=_0x3df19e(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x1c3166,0x15,_0x40eadb[0x37]),_0x1010e4=_0x3df19e(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x3cd16d,0x6,_0x40eadb[0x38]),_0x456597=_0x3df19e(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x5985b0,0xa,_0x40eadb[0x39]),_0x1748e3=_0x3df19e(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x52cecf,0xf,_0x40eadb[0x3a]),_0x5e5698=_0x3df19e(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x23e103,0x15,_0x40eadb[0x3b]),_0x1010e4=_0x3df19e(_0x1010e4,_0x5e5698,_0x1748e3,_0x456597,_0x301b76,0x6,_0x40eadb[0x3c]),_0x456597=_0x3df19e(_0x456597,_0x1010e4,_0x5e5698,_0x1748e3,_0x434417,0xa,_0x40eadb[0x3d]),_0x1748e3=_0x3df19e(_0x1748e3,_0x456597,_0x1010e4,_0x5e5698,_0x133daa,0xf,_0x40eadb[0x3e]),_0x5e5698=_0x3df19e(_0x5e5698,_0x1748e3,_0x456597,_0x1010e4,_0x3f845b,0x15,_0x40eadb[0x3f]),_0x41cf35[0x0]=_0x41cf35[0x0]+_0x1010e4|0x0,_0x41cf35[0x1]=_0x41cf35[0x1]+_0x5e5698|0x0,_0x41cf35[0x2]=_0x41cf35[0x2]+_0x1748e3|0x0,_0x41cf35[0x3]=_0x41cf35[0x3]+_0x456597|0x0;},'_doFinalize':function(){var _0xd4a1c=_0x3be6db,_0x5a0e93=this['_data'],_0x397ba6=_0x5a0e93[_0xd4a1c(0xb9)],_0x28f799=this['_nDataBytes']*0x8,_0x44c7ea=_0x5a0e93[_0xd4a1c(0x2e2)]*0x8;_0x397ba6[_0x44c7ea>>>0x5]|=0x80<<0x18-_0x44c7ea%0x20;var _0x406f0e=_0xd8cc4c['floor'](_0x28f799/0x100000000),_0x4df04f=_0x28f799;_0x397ba6[(_0x44c7ea+0x40>>>0x9<<0x4)+0xf]=(_0x406f0e<<0x8|_0x406f0e>>>0x18)&0xff00ff|(_0x406f0e<<0x18|_0x406f0e>>>0x8)&0xff00ff00,_0x397ba6[(_0x44c7ea+0x40>>>0x9<<0x4)+0xe]=(_0x4df04f<<0x8|_0x4df04f>>>0x18)&0xff00ff|(_0x4df04f<<0x18|_0x4df04f>>>0x8)&0xff00ff00,_0x5a0e93[_0xd4a1c(0x2e2)]=(_0x397ba6[_0xd4a1c(0xe6)]+0x1)*0x4,this[_0xd4a1c(0x229)]();for(var _0x56c9d3=this[_0xd4a1c(0x2bc)],_0x4b625c=_0x56c9d3[_0xd4a1c(0xb9)],_0x3e7380=0x0;_0x3e7380<0x4;_0x3e7380++){var _0x4e7033=_0x4b625c[_0x3e7380];_0x4b625c[_0x3e7380]=(_0x4e7033<<0x8|_0x4e7033>>>0x18)&0xff00ff|(_0x4e7033<<0x18|_0x4e7033>>>0x8)&0xff00ff00;}return _0x56c9d3;},'clone':function(){var _0x575b98=_0x3be6db,_0x39393c=_0x14f1dd['clone'][_0x575b98(0x1a5)](this);return _0x39393c[_0x575b98(0x2bc)]=this['_hash'][_0x575b98(0x3b8)](),_0x39393c;}});function _0x39d8ec(_0x210916,_0x46fe48,_0x172b50,_0x1bc650,_0x462a73,_0x22b8f8,_0x59dc78){var _0x2d9401=_0x210916+(_0x46fe48&_0x172b50|~_0x46fe48&_0x1bc650)+_0x462a73+_0x59dc78;return(_0x2d9401<<_0x22b8f8|_0x2d9401>>>0x20-_0x22b8f8)+_0x46fe48;}function _0x25e151(_0x217d96,_0x507fb4,_0xa6141d,_0x3a5a38,_0x58f7df,_0x530a78,_0x4b6b86){var _0x65d511=_0x217d96+(_0x507fb4&_0x3a5a38|_0xa6141d&~_0x3a5a38)+_0x58f7df+_0x4b6b86;return(_0x65d511<<_0x530a78|_0x65d511>>>0x20-_0x530a78)+_0x507fb4;}function _0x1b79a2(_0x4f7504,_0x4559b5,_0x41e18a,_0x145b6d,_0x5a3e69,_0x508db6,_0x1403c9){var _0x57fe73=_0x4f7504+(_0x4559b5^_0x41e18a^_0x145b6d)+_0x5a3e69+_0x1403c9;return(_0x57fe73<<_0x508db6|_0x57fe73>>>0x20-_0x508db6)+_0x4559b5;}function _0x3df19e(_0x51d660,_0x5f5218,_0x1e9dc4,_0x17b80e,_0x2f7c84,_0xca2628,_0x5c59dc){var _0x3faf06=_0x51d660+(_0x1e9dc4^(_0x5f5218|~_0x17b80e))+_0x2f7c84+_0x5c59dc;return(_0x3faf06<<_0xca2628|_0x3faf06>>>0x20-_0xca2628)+_0x5f5218;}_0x3df712[_0x3be6db(0x310)]=_0x14f1dd[_0x3be6db(0x413)](_0x322083),_0x3df712['HmacMD5']=_0x14f1dd['_createHmacHelper'](_0x322083);}(Math),_0x4a6454[_0x293dc1(0x310)];}));}(_0x2648b9)),_0x2648b9[_0x5eadb7(0x257)];}var _0x589e5d={'exports':{}},_0x288fb8={'exports':{}},_0x4c9e8c=_0x288fb8[_0x12ab33(0x257)],_0x1218f6;function _0x174afe(){return _0x1218f6||(_0x1218f6=0x1,function(_0x3a9448,_0x384d2b){(function(_0x4b06ea,_0x570b7b){var _0x42c3e0=_0x4f3d;_0x3a9448[_0x42c3e0(0x257)]=_0x570b7b(_0x2b16a());}(_0x4c9e8c,function(_0x45bc12){var _0x39d015=_0x4f3d;return(function(){var _0x3faa97=_0x4f3d,_0x35deb5=_0x45bc12,_0x322729=_0x35deb5[_0x3faa97(0x15b)],_0x34922d=_0x322729[_0x3faa97(0xdb)],_0x4857af=_0x322729[_0x3faa97(0x13b)],_0x54dc0a=_0x35deb5['algo'],_0x208d09=[],_0x3c6b13=_0x54dc0a[_0x3faa97(0x19f)]=_0x4857af['extend']({'_doReset':function(){this['_hash']=new _0x34922d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1cb461,_0x372f6b){var _0x39e2db=_0x3faa97;for(var _0x197889=this[_0x39e2db(0x2bc)]['words'],_0xc5d5bc=_0x197889[0x0],_0x51a1c6=_0x197889[0x1],_0x714abe=_0x197889[0x2],_0x35a7ce=_0x197889[0x3],_0x484d6c=_0x197889[0x4],_0x32c3e4=0x0;_0x32c3e4<0x50;_0x32c3e4++){if(_0x32c3e4<0x10)_0x208d09[_0x32c3e4]=_0x1cb461[_0x372f6b+_0x32c3e4]|0x0;else{var _0x299882=_0x208d09[_0x32c3e4-0x3]^_0x208d09[_0x32c3e4-0x8]^_0x208d09[_0x32c3e4-0xe]^_0x208d09[_0x32c3e4-0x10];_0x208d09[_0x32c3e4]=_0x299882<<0x1|_0x299882>>>0x1f;}var _0x452fea=(_0xc5d5bc<<0x5|_0xc5d5bc>>>0x1b)+_0x484d6c+_0x208d09[_0x32c3e4];_0x32c3e4<0x14?_0x452fea+=(_0x51a1c6&_0x714abe|~_0x51a1c6&_0x35a7ce)+0x5a827999:_0x32c3e4<0x28?_0x452fea+=(_0x51a1c6^_0x714abe^_0x35a7ce)+0x6ed9eba1:_0x32c3e4<0x3c?_0x452fea+=(_0x51a1c6&_0x714abe|_0x51a1c6&_0x35a7ce|_0x714abe&_0x35a7ce)-0x70e44324:_0x452fea+=(_0x51a1c6^_0x714abe^_0x35a7ce)-0x359d3e2a,_0x484d6c=_0x35a7ce,_0x35a7ce=_0x714abe,_0x714abe=_0x51a1c6<<0x1e|_0x51a1c6>>>0x2,_0x51a1c6=_0xc5d5bc,_0xc5d5bc=_0x452fea;}_0x197889[0x0]=_0x197889[0x0]+_0xc5d5bc|0x0,_0x197889[0x1]=_0x197889[0x1]+_0x51a1c6|0x0,_0x197889[0x2]=_0x197889[0x2]+_0x714abe|0x0,_0x197889[0x3]=_0x197889[0x3]+_0x35a7ce|0x0,_0x197889[0x4]=_0x197889[0x4]+_0x484d6c|0x0;},'_doFinalize':function(){var _0x36068a=_0x3faa97,_0x475c81=this['_data'],_0xe8559b=_0x475c81[_0x36068a(0xb9)],_0xe1deff=this[_0x36068a(0x3b0)]*0x8,_0x3a121c=_0x475c81[_0x36068a(0x2e2)]*0x8;return _0xe8559b[_0x3a121c>>>0x5]|=0x80<<0x18-_0x3a121c%0x20,_0xe8559b[(_0x3a121c+0x40>>>0x9<<0x4)+0xe]=Math[_0x36068a(0x1af)](_0xe1deff/0x100000000),_0xe8559b[(_0x3a121c+0x40>>>0x9<<0x4)+0xf]=_0xe1deff,_0x475c81[_0x36068a(0x2e2)]=_0xe8559b['length']*0x4,this['_process'](),this[_0x36068a(0x2bc)];},'clone':function(){var _0x2358b0=_0x3faa97,_0x40ed15=_0x4857af[_0x2358b0(0x3b8)]['call'](this);return _0x40ed15['_hash']=this[_0x2358b0(0x2bc)]['clone'](),_0x40ed15;}});_0x35deb5[_0x3faa97(0x19f)]=_0x4857af[_0x3faa97(0x413)](_0x3c6b13),_0x35deb5[_0x3faa97(0x3bd)]=_0x4857af[_0x3faa97(0x28f)](_0x3c6b13);}()),_0x45bc12[_0x39d015(0x19f)];}));}(_0x288fb8)),_0x288fb8['exports'];}var _0x353671={'exports':{}},_0x317ba8=_0x353671[_0x12ab33(0x257)],_0x32e398;function _0x50989f(){return _0x32e398||(_0x32e398=0x1,function(_0x13d174,_0x4a78f8){(function(_0x2b30e7,_0x3c15cd){_0x13d174['exports']=_0x3c15cd(_0x2b16a());}(_0x317ba8,function(_0x221b3b){(function(){var _0x29ccfb=_0x4f3d,_0x5913d8=_0x221b3b,_0x335a37=_0x5913d8['lib'],_0x28c819=_0x335a37[_0x29ccfb(0x2e3)],_0x2a560b=_0x5913d8[_0x29ccfb(0x3bc)],_0x4e6b1a=_0x2a560b[_0x29ccfb(0x292)],_0x842e43=_0x5913d8[_0x29ccfb(0x1ec)];_0x842e43[_0x29ccfb(0xc8)]=_0x28c819[_0x29ccfb(0x2b4)]({'init':function(_0x26a91c,_0x15a752){var _0x40f110=_0x29ccfb;_0x26a91c=this[_0x40f110(0x187)]=new _0x26a91c[(_0x40f110(0x33d))](),typeof _0x15a752=='string'&&(_0x15a752=_0x4e6b1a['parse'](_0x15a752));var _0x12ff25=_0x26a91c[_0x40f110(0x389)],_0x35e416=_0x12ff25*0x4;_0x15a752[_0x40f110(0x2e2)]>_0x35e416&&(_0x15a752=_0x26a91c[_0x40f110(0x39b)](_0x15a752)),_0x15a752[_0x40f110(0x1d3)]();for(var _0x1e0989=this[_0x40f110(0x2a5)]=_0x15a752[_0x40f110(0x3b8)](),_0xcc98e6=this[_0x40f110(0x327)]=_0x15a752[_0x40f110(0x3b8)](),_0x5a3c22=_0x1e0989[_0x40f110(0xb9)],_0x2e412b=_0xcc98e6[_0x40f110(0xb9)],_0x590af2=0x0;_0x590af2<_0x12ff25;_0x590af2++)_0x5a3c22[_0x590af2]^=0x5c5c5c5c,_0x2e412b[_0x590af2]^=0x36363636;_0x1e0989[_0x40f110(0x2e2)]=_0xcc98e6[_0x40f110(0x2e2)]=_0x35e416,this[_0x40f110(0x391)]();},'reset':function(){var _0x439788=_0x29ccfb,_0x57c909=this[_0x439788(0x187)];_0x57c909['reset'](),_0x57c909[_0x439788(0x11b)](this['_iKey']);},'update':function(_0x212f59){var _0x178ec0=_0x29ccfb;return this[_0x178ec0(0x187)][_0x178ec0(0x11b)](_0x212f59),this;},'finalize':function(_0x1b524c){var _0x240b77=_0x29ccfb,_0x3c8ac8=this[_0x240b77(0x187)],_0xc64a9d=_0x3c8ac8[_0x240b77(0x39b)](_0x1b524c);_0x3c8ac8[_0x240b77(0x391)]();var _0x1d2782=_0x3c8ac8[_0x240b77(0x39b)](this[_0x240b77(0x2a5)][_0x240b77(0x3b8)]()[_0x240b77(0x214)](_0xc64a9d));return _0x1d2782;}});}());}));}(_0x353671)),_0x353671['exports'];}var _0x1bed4c=_0x589e5d[_0x12ab33(0x257)],_0x304c35;function _0x47a2cb(){var _0x5778a5=_0x12ab33;return _0x304c35||(_0x304c35=0x1,function(_0x5471d8,_0x29b921){(function(_0xddee5b,_0x55b534,_0xf37573){var _0x5e3d51=_0x4f3d;_0x5471d8[_0x5e3d51(0x257)]=_0x55b534(_0x2b16a(),_0x174afe(),_0x50989f());}(_0x1bed4c,function(_0xd29e48){return(function(){var _0x16de9b=_0x4f3d,_0x33c830=_0xd29e48,_0x4794fb=_0x33c830[_0x16de9b(0x15b)],_0x180d3e=_0x4794fb[_0x16de9b(0x2e3)],_0x1425d7=_0x4794fb[_0x16de9b(0xdb)],_0x4d17fc=_0x33c830[_0x16de9b(0x1ec)],_0xd563c7=_0x4d17fc[_0x16de9b(0x310)],_0x33ebda=_0x4d17fc[_0x16de9b(0x3aa)]=_0x180d3e[_0x16de9b(0x2b4)]({'cfg':_0x180d3e[_0x16de9b(0x2b4)]({'keySize':0x80/0x20,'hasher':_0xd563c7,'iterations':0x1}),'init':function(_0x1dfc1f){var _0x1658e2=_0x16de9b;this[_0x1658e2(0x1d5)]=this[_0x1658e2(0x1d5)][_0x1658e2(0x2b4)](_0x1dfc1f);},'compute':function(_0x2cc72b,_0x523372){var _0x4dd5e0=_0x16de9b;for(var _0x2170ad,_0xa1bb63=this[_0x4dd5e0(0x1d5)],_0x141ca5=_0xa1bb63[_0x4dd5e0(0x224)][_0x4dd5e0(0x142)](),_0x400130=_0x1425d7['create'](),_0x3e9224=_0x400130[_0x4dd5e0(0xb9)],_0x428783=_0xa1bb63[_0x4dd5e0(0x1b6)],_0x419c5a=_0xa1bb63['iterations'];_0x3e9224['length']<_0x428783;){_0x2170ad&&_0x141ca5[_0x4dd5e0(0x11b)](_0x2170ad),_0x2170ad=_0x141ca5[_0x4dd5e0(0x11b)](_0x2cc72b)[_0x4dd5e0(0x39b)](_0x523372),_0x141ca5[_0x4dd5e0(0x391)]();for(var _0x12e527=0x1;_0x12e527<_0x419c5a;_0x12e527++)_0x2170ad=_0x141ca5[_0x4dd5e0(0x39b)](_0x2170ad),_0x141ca5[_0x4dd5e0(0x391)]();_0x400130['concat'](_0x2170ad);}return _0x400130[_0x4dd5e0(0x2e2)]=_0x428783*0x4,_0x400130;}});_0x33c830[_0x16de9b(0x3aa)]=function(_0x3bc93e,_0x211c6e,_0x2c4dbd){var _0x5ac37e=_0x16de9b;return _0x33ebda['create'](_0x2c4dbd)[_0x5ac37e(0x22f)](_0x3bc93e,_0x211c6e);};}()),_0xd29e48['EvpKDF'];}));}(_0x589e5d)),_0x589e5d[_0x5778a5(0x257)];}var _0x419bcd={'exports':{}},_0x404563=_0x419bcd[_0x12ab33(0x257)],_0x44d8e9;function _0x40ad97(){var _0x3874ed=_0x12ab33;return _0x44d8e9||(_0x44d8e9=0x1,function(_0xe85896,_0x49cd0b){(function(_0x22600e,_0x8cafcc,_0x147059){_0xe85896['exports']=_0x8cafcc(_0x2b16a(),_0x47a2cb());}(_0x404563,function(_0x4446c2){var _0x251154=_0x4f3d;_0x4446c2[_0x251154(0x15b)][_0x251154(0x1ee)]||function(_0x3c4782){var _0x4541d4=_0x251154,_0xa358e9=_0x4446c2,_0x2314bd=_0xa358e9[_0x4541d4(0x15b)],_0x2d0b7f=_0x2314bd[_0x4541d4(0x2e3)],_0x38afaf=_0x2314bd['WordArray'],_0x3cc0ec=_0x2314bd[_0x4541d4(0x2e9)],_0x2c8ba8=_0xa358e9['enc'];_0x2c8ba8['Utf8'];var _0x2a677d=_0x2c8ba8['Base64'],_0x1c05c0=_0xa358e9[_0x4541d4(0x1ec)],_0x15b62b=_0x1c05c0[_0x4541d4(0x3aa)],_0x1a094b=_0x2314bd[_0x4541d4(0x1ee)]=_0x3cc0ec[_0x4541d4(0x2b4)]({'cfg':_0x2d0b7f['extend'](),'createEncryptor':function(_0x55a0d9,_0x585df4){var _0x181d4e=_0x4541d4;return this[_0x181d4e(0x142)](this[_0x181d4e(0x1fb)],_0x55a0d9,_0x585df4);},'createDecryptor':function(_0x263c4b,_0x4b555c){var _0x3420b3=_0x4541d4;return this[_0x3420b3(0x142)](this[_0x3420b3(0xd4)],_0x263c4b,_0x4b555c);},'init':function(_0x1bd3ba,_0x53dd0c,_0xe5f681){var _0x23a7d9=_0x4541d4;this['cfg']=this['cfg'][_0x23a7d9(0x2b4)](_0xe5f681),this['_xformMode']=_0x1bd3ba,this[_0x23a7d9(0x26b)]=_0x53dd0c,this['reset']();},'reset':function(){var _0x970c25=_0x4541d4;_0x3cc0ec['reset'][_0x970c25(0x1a5)](this),this[_0x970c25(0x1ac)]();},'process':function(_0x76076){var _0x109744=_0x4541d4;return this[_0x109744(0x2d5)](_0x76076),this[_0x109744(0x229)]();},'finalize':function(_0x51592e){_0x51592e&&this['_append'](_0x51592e);var _0x1c6052=this['_doFinalize']();return _0x1c6052;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4def6b(_0x3e13b2){var _0x261ed3=_0x4f3d;return typeof _0x3e13b2==_0x261ed3(0x2eb)?_0x2117de:_0x48e404;}return function(_0x261645){return{'encrypt':function(_0x5c9f7b,_0x48abd4,_0x29cbbf){var _0x191462=_0x4f3d;return _0x4def6b(_0x48abd4)[_0x191462(0x1c2)](_0x261645,_0x5c9f7b,_0x48abd4,_0x29cbbf);},'decrypt':function(_0x2d3700,_0x557e17,_0x17bbcf){var _0x1a1791=_0x4f3d;return _0x4def6b(_0x557e17)[_0x1a1791(0x1db)](_0x261645,_0x2d3700,_0x557e17,_0x17bbcf);}};};}())});_0x2314bd[_0x4541d4(0x270)]=_0x1a094b[_0x4541d4(0x2b4)]({'_doFinalize':function(){var _0x1df121=_0x4541d4,_0x1cbcfd=this[_0x1df121(0x229)](!0x0);return _0x1cbcfd;},'blockSize':0x1});var _0x126d39=_0xa358e9[_0x4541d4(0x277)]={},_0x1ec89f=_0x2314bd['BlockCipherMode']=_0x2d0b7f['extend']({'createEncryptor':function(_0x384fba,_0x23ba27){var _0x59fb09=_0x4541d4;return this['Encryptor'][_0x59fb09(0x142)](_0x384fba,_0x23ba27);},'createDecryptor':function(_0xa55701,_0x511362){var _0xace91e=_0x4541d4;return this[_0xace91e(0x246)][_0xace91e(0x142)](_0xa55701,_0x511362);},'init':function(_0x3f5222,_0x18a3dd){var _0x223e58=_0x4541d4;this['_cipher']=_0x3f5222,this[_0x223e58(0x102)]=_0x18a3dd;}}),_0x1333e4=_0x126d39[_0x4541d4(0x13e)]=(function(){var _0x3ff8e6=_0x4541d4,_0x4a0114=_0x1ec89f[_0x3ff8e6(0x2b4)]();_0x4a0114[_0x3ff8e6(0x14a)]=_0x4a0114[_0x3ff8e6(0x2b4)]({'processBlock':function(_0x20a89b,_0x3402fe){var _0x40ff80=_0x3ff8e6,_0x47a417=this[_0x40ff80(0x3f8)],_0x4acc78=_0x47a417[_0x40ff80(0x389)];_0x564a38[_0x40ff80(0x1a5)](this,_0x20a89b,_0x3402fe,_0x4acc78),_0x47a417[_0x40ff80(0x22c)](_0x20a89b,_0x3402fe),this[_0x40ff80(0x351)]=_0x20a89b[_0x40ff80(0x23e)](_0x3402fe,_0x3402fe+_0x4acc78);}}),_0x4a0114[_0x3ff8e6(0x246)]=_0x4a0114['extend']({'processBlock':function(_0x431bd9,_0x49f89d){var _0x5e2499=_0x3ff8e6,_0x56de56=this[_0x5e2499(0x3f8)],_0x9ac3a=_0x56de56[_0x5e2499(0x389)],_0x4476d4=_0x431bd9[_0x5e2499(0x23e)](_0x49f89d,_0x49f89d+_0x9ac3a);_0x56de56['decryptBlock'](_0x431bd9,_0x49f89d),_0x564a38[_0x5e2499(0x1a5)](this,_0x431bd9,_0x49f89d,_0x9ac3a),this[_0x5e2499(0x351)]=_0x4476d4;}});function _0x564a38(_0x5c2bb3,_0x46e445,_0x282bd8){var _0x2c8d02=_0x3ff8e6,_0x2386fb,_0x3e74a8=this[_0x2c8d02(0x102)];_0x3e74a8?(_0x2386fb=_0x3e74a8,this[_0x2c8d02(0x102)]=_0x3c4782):_0x2386fb=this['_prevBlock'];for(var _0x21231d=0x0;_0x21231d<_0x282bd8;_0x21231d++)_0x5c2bb3[_0x46e445+_0x21231d]^=_0x2386fb[_0x21231d];}return _0x4a0114;}()),_0x33f18d=_0xa358e9[_0x4541d4(0x264)]={},_0x210869=_0x33f18d['Pkcs7']={'pad':function(_0x49a050,_0x1198b3){var _0xeae679=_0x4541d4;for(var _0x54723f=_0x1198b3*0x4,_0x18a43f=_0x54723f-_0x49a050['sigBytes']%_0x54723f,_0x58b00b=_0x18a43f<<0x18|_0x18a43f<<0x10|_0x18a43f<<0x8|_0x18a43f,_0x5bf5a1=[],_0x3bc028=0x0;_0x3bc028<_0x18a43f;_0x3bc028+=0x4)_0x5bf5a1[_0xeae679(0x125)](_0x58b00b);var _0x18f8f9=_0x38afaf['create'](_0x5bf5a1,_0x18a43f);_0x49a050['concat'](_0x18f8f9);},'unpad':function(_0x2aac77){var _0x3944e6=_0x4541d4,_0x221d3c=_0x2aac77[_0x3944e6(0xb9)][_0x2aac77[_0x3944e6(0x2e2)]-0x1>>>0x2]&0xff;_0x2aac77[_0x3944e6(0x2e2)]-=_0x221d3c;}};_0x2314bd[_0x4541d4(0x216)]=_0x1a094b[_0x4541d4(0x2b4)]({'cfg':_0x1a094b['cfg'][_0x4541d4(0x2b4)]({'mode':_0x1333e4,'padding':_0x210869}),'reset':function(){var _0x3817bc=_0x4541d4,_0x352621;_0x1a094b[_0x3817bc(0x391)][_0x3817bc(0x1a5)](this);var _0x5886f2=this['cfg'],_0x123457=_0x5886f2['iv'],_0x57d792=_0x5886f2[_0x3817bc(0x277)];this[_0x3817bc(0xbb)]==this['_ENC_XFORM_MODE']?_0x352621=_0x57d792[_0x3817bc(0x14d)]:(_0x352621=_0x57d792[_0x3817bc(0x32d)],this['_minBufferSize']=0x1),this[_0x3817bc(0x294)]&&this[_0x3817bc(0x294)]['__creator']==_0x352621?this[_0x3817bc(0x294)]['init'](this,_0x123457&&_0x123457['words']):(this[_0x3817bc(0x294)]=_0x352621[_0x3817bc(0x1a5)](_0x57d792,this,_0x123457&&_0x123457['words']),this[_0x3817bc(0x294)][_0x3817bc(0x13f)]=_0x352621);},'_doProcessBlock':function(_0x209f30,_0x3f685e){var _0x13dcd9=_0x4541d4;this[_0x13dcd9(0x294)]['processBlock'](_0x209f30,_0x3f685e);},'_doFinalize':function(){var _0x468676=_0x4541d4,_0x2ebdfb,_0x49301c=this[_0x468676(0x1d5)][_0x468676(0x1bf)];return this[_0x468676(0xbb)]==this[_0x468676(0x1fb)]?(_0x49301c['pad'](this['_data'],this[_0x468676(0x389)]),_0x2ebdfb=this[_0x468676(0x229)](!0x0)):(_0x2ebdfb=this[_0x468676(0x229)](!0x0),_0x49301c[_0x468676(0x163)](_0x2ebdfb)),_0x2ebdfb;},'blockSize':0x80/0x20});var _0x507b0d=_0x2314bd[_0x4541d4(0x30a)]=_0x2d0b7f[_0x4541d4(0x2b4)]({'init':function(_0x143869){var _0x2194f3=_0x4541d4;this[_0x2194f3(0x36e)](_0x143869);},'toString':function(_0x35a7b1){var _0xc899dc=_0x4541d4;return(_0x35a7b1||this[_0xc899dc(0x1e4)])[_0xc899dc(0x3b6)](this);}}),_0xff514e=_0xa358e9[_0x4541d4(0x17d)]={},_0x28dcf1=_0xff514e[_0x4541d4(0xd7)]={'stringify':function(_0x63e9e9){var _0x37f6d1=_0x4541d4,_0x88ea4f,_0x40d2b4=_0x63e9e9[_0x37f6d1(0x18c)],_0x5b00d8=_0x63e9e9[_0x37f6d1(0x152)];return _0x5b00d8?_0x88ea4f=_0x38afaf['create']([0x53616c74,0x65645f5f])[_0x37f6d1(0x214)](_0x5b00d8)['concat'](_0x40d2b4):_0x88ea4f=_0x40d2b4,_0x88ea4f[_0x37f6d1(0x1f5)](_0x2a677d);},'parse':function(_0x1e89f6){var _0x41f2c4=_0x4541d4,_0x539dcd,_0xc47479=_0x2a677d['parse'](_0x1e89f6),_0x49564d=_0xc47479['words'];return _0x49564d[0x0]==0x53616c74&&_0x49564d[0x1]==0x65645f5f&&(_0x539dcd=_0x38afaf[_0x41f2c4(0x142)](_0x49564d[_0x41f2c4(0x23e)](0x2,0x4)),_0x49564d[_0x41f2c4(0x3f1)](0x0,0x4),_0xc47479[_0x41f2c4(0x2e2)]-=0x10),_0x507b0d[_0x41f2c4(0x142)]({'ciphertext':_0xc47479,'salt':_0x539dcd});}},_0x48e404=_0x2314bd['SerializableCipher']=_0x2d0b7f[_0x4541d4(0x2b4)]({'cfg':_0x2d0b7f[_0x4541d4(0x2b4)]({'format':_0x28dcf1}),'encrypt':function(_0x42f924,_0x5726f8,_0x2e06f3,_0x5b1074){var _0x2e43cf=_0x4541d4;_0x5b1074=this[_0x2e43cf(0x1d5)][_0x2e43cf(0x2b4)](_0x5b1074);var _0x296112=_0x42f924[_0x2e43cf(0x14d)](_0x2e06f3,_0x5b1074),_0x2e4009=_0x296112[_0x2e43cf(0x39b)](_0x5726f8),_0x5a8e2d=_0x296112[_0x2e43cf(0x1d5)];return _0x507b0d[_0x2e43cf(0x142)]({'ciphertext':_0x2e4009,'key':_0x2e06f3,'iv':_0x5a8e2d['iv'],'algorithm':_0x42f924,'mode':_0x5a8e2d[_0x2e43cf(0x277)],'padding':_0x5a8e2d[_0x2e43cf(0x1bf)],'blockSize':_0x42f924[_0x2e43cf(0x389)],'formatter':_0x5b1074[_0x2e43cf(0x17d)]});},'decrypt':function(_0x20ff89,_0xf265f6,_0x8788d9,_0x16d84f){var _0x1e4f6b=_0x4541d4;_0x16d84f=this[_0x1e4f6b(0x1d5)][_0x1e4f6b(0x2b4)](_0x16d84f),_0xf265f6=this[_0x1e4f6b(0x2f3)](_0xf265f6,_0x16d84f['format']);var _0x21cfd7=_0x20ff89[_0x1e4f6b(0x32d)](_0x8788d9,_0x16d84f)[_0x1e4f6b(0x39b)](_0xf265f6[_0x1e4f6b(0x18c)]);return _0x21cfd7;},'_parse':function(_0x539714,_0x1780ac){var _0x47bc13=_0x4541d4;return typeof _0x539714==_0x47bc13(0x2eb)?_0x1780ac['parse'](_0x539714,this):_0x539714;}}),_0x55d1b2=_0xa358e9[_0x4541d4(0x32c)]={},_0x15a538=_0x55d1b2[_0x4541d4(0xd7)]={'execute':function(_0x54c923,_0x2e5007,_0x58ac83,_0x5f5854,_0x2304cd){var _0x17e5fe=_0x4541d4;if(_0x5f5854||(_0x5f5854=_0x38afaf[_0x17e5fe(0x130)](0x40/0x8)),_0x2304cd)var _0x1db9fd=_0x15b62b[_0x17e5fe(0x142)]({'keySize':_0x2e5007+_0x58ac83,'hasher':_0x2304cd})[_0x17e5fe(0x22f)](_0x54c923,_0x5f5854);else var _0x1db9fd=_0x15b62b[_0x17e5fe(0x142)]({'keySize':_0x2e5007+_0x58ac83})[_0x17e5fe(0x22f)](_0x54c923,_0x5f5854);var _0x2ab7fc=_0x38afaf['create'](_0x1db9fd[_0x17e5fe(0xb9)][_0x17e5fe(0x23e)](_0x2e5007),_0x58ac83*0x4);return _0x1db9fd[_0x17e5fe(0x2e2)]=_0x2e5007*0x4,_0x507b0d[_0x17e5fe(0x142)]({'key':_0x1db9fd,'iv':_0x2ab7fc,'salt':_0x5f5854});}},_0x2117de=_0x2314bd['PasswordBasedCipher']=_0x48e404[_0x4541d4(0x2b4)]({'cfg':_0x48e404['cfg']['extend']({'kdf':_0x15a538}),'encrypt':function(_0x35da8d,_0x17b551,_0xf68a89,_0x6e57f5){var _0xb7510b=_0x4541d4;_0x6e57f5=this[_0xb7510b(0x1d5)][_0xb7510b(0x2b4)](_0x6e57f5);var _0x1385ef=_0x6e57f5[_0xb7510b(0x32c)][_0xb7510b(0x2e1)](_0xf68a89,_0x35da8d[_0xb7510b(0x1b6)],_0x35da8d[_0xb7510b(0x1da)],_0x6e57f5[_0xb7510b(0x152)],_0x6e57f5['hasher']);_0x6e57f5['iv']=_0x1385ef['iv'];var _0x16b715=_0x48e404[_0xb7510b(0x1c2)][_0xb7510b(0x1a5)](this,_0x35da8d,_0x17b551,_0x1385ef[_0xb7510b(0x27e)],_0x6e57f5);return _0x16b715[_0xb7510b(0x36e)](_0x1385ef),_0x16b715;},'decrypt':function(_0x5672a9,_0x37938a,_0x2ecc46,_0x54ed58){var _0xc21a24=_0x4541d4;_0x54ed58=this[_0xc21a24(0x1d5)][_0xc21a24(0x2b4)](_0x54ed58),_0x37938a=this[_0xc21a24(0x2f3)](_0x37938a,_0x54ed58['format']);var _0x227ce1=_0x54ed58['kdf']['execute'](_0x2ecc46,_0x5672a9['keySize'],_0x5672a9['ivSize'],_0x37938a[_0xc21a24(0x152)],_0x54ed58[_0xc21a24(0x224)]);_0x54ed58['iv']=_0x227ce1['iv'];var _0x5f2bc0=_0x48e404['decrypt'][_0xc21a24(0x1a5)](this,_0x5672a9,_0x37938a,_0x227ce1[_0xc21a24(0x27e)],_0x54ed58);return _0x5f2bc0;}});}();}));}(_0x419bcd)),_0x419bcd[_0x3874ed(0x257)];}var _0x55f1cd=_0x5c5b2b[_0x12ab33(0x257)],_0x296f8d;function _0x23dd96(){return _0x296f8d||(_0x296f8d=0x1,function(_0x2e7aef,_0x2c1795){(function(_0x24fd50,_0x1747f2,_0x1cae4a){var _0x5efa61=_0x4f3d;_0x2e7aef[_0x5efa61(0x257)]=_0x1747f2(_0x2b16a(),_0x1b0b49(),_0x51af11(),_0x47a2cb(),_0x40ad97());}(_0x55f1cd,function(_0x565e9a){var _0x5425eb=_0x4f3d;return(function(){var _0x12b90b=_0x4f3d,_0x2a7e19=_0x565e9a,_0x77d319=_0x2a7e19[_0x12b90b(0x15b)],_0x2c8eca=_0x77d319[_0x12b90b(0x216)],_0x414bc5=_0x2a7e19[_0x12b90b(0x1ec)],_0x9db37c=[],_0x3add15=[],_0x1ea5e4=[],_0x34dffb=[],_0x55d908=[],_0x27e7b6=[],_0x24cb9f=[],_0x3ca3a5=[],_0x2eac54=[],_0x83169=[];(function(){for(var _0x406a4c=[],_0x1fa4aa=0x0;_0x1fa4aa<0x100;_0x1fa4aa++)_0x1fa4aa<0x80?_0x406a4c[_0x1fa4aa]=_0x1fa4aa<<0x1:_0x406a4c[_0x1fa4aa]=_0x1fa4aa<<0x1^0x11b;for(var _0x480001=0x0,_0x4728a5=0x0,_0x1fa4aa=0x0;_0x1fa4aa<0x100;_0x1fa4aa++){var _0x2511ed=_0x4728a5^_0x4728a5<<0x1^_0x4728a5<<0x2^_0x4728a5<<0x3^_0x4728a5<<0x4;_0x2511ed=_0x2511ed>>>0x8^_0x2511ed&0xff^0x63,_0x9db37c[_0x480001]=_0x2511ed,_0x3add15[_0x2511ed]=_0x480001;var _0x328ed5=_0x406a4c[_0x480001],_0x48856e=_0x406a4c[_0x328ed5],_0x25e1b5=_0x406a4c[_0x48856e],_0x1b451e=_0x406a4c[_0x2511ed]*0x101^_0x2511ed*0x1010100;_0x1ea5e4[_0x480001]=_0x1b451e<<0x18|_0x1b451e>>>0x8,_0x34dffb[_0x480001]=_0x1b451e<<0x10|_0x1b451e>>>0x10,_0x55d908[_0x480001]=_0x1b451e<<0x8|_0x1b451e>>>0x18,_0x27e7b6[_0x480001]=_0x1b451e;var _0x1b451e=_0x25e1b5*0x1010101^_0x48856e*0x10001^_0x328ed5*0x101^_0x480001*0x1010100;_0x24cb9f[_0x2511ed]=_0x1b451e<<0x18|_0x1b451e>>>0x8,_0x3ca3a5[_0x2511ed]=_0x1b451e<<0x10|_0x1b451e>>>0x10,_0x2eac54[_0x2511ed]=_0x1b451e<<0x8|_0x1b451e>>>0x18,_0x83169[_0x2511ed]=_0x1b451e,_0x480001?(_0x480001=_0x328ed5^_0x406a4c[_0x406a4c[_0x406a4c[_0x25e1b5^_0x328ed5]]],_0x4728a5^=_0x406a4c[_0x406a4c[_0x4728a5]]):_0x480001=_0x4728a5=0x1;}}());var _0x252100=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2fac8d=_0x414bc5[_0x12b90b(0x14c)]=_0x2c8eca[_0x12b90b(0x2b4)]({'_doReset':function(){var _0x5cf4ba=_0x12b90b,_0xe8c79c;if(!(this[_0x5cf4ba(0x434)]&&this[_0x5cf4ba(0x178)]===this[_0x5cf4ba(0x26b)])){for(var _0x33a630=this['_keyPriorReset']=this[_0x5cf4ba(0x26b)],_0x58caad=_0x33a630[_0x5cf4ba(0xb9)],_0x30750b=_0x33a630[_0x5cf4ba(0x2e2)]/0x4,_0x42a843=this['_nRounds']=_0x30750b+0x6,_0x30eeac=(_0x42a843+0x1)*0x4,_0x38fe65=this['_keySchedule']=[],_0x4c2cfd=0x0;_0x4c2cfd<_0x30eeac;_0x4c2cfd++)_0x4c2cfd<_0x30750b?_0x38fe65[_0x4c2cfd]=_0x58caad[_0x4c2cfd]:(_0xe8c79c=_0x38fe65[_0x4c2cfd-0x1],_0x4c2cfd%_0x30750b?_0x30750b>0x6&&_0x4c2cfd%_0x30750b==0x4&&(_0xe8c79c=_0x9db37c[_0xe8c79c>>>0x18]<<0x18|_0x9db37c[_0xe8c79c>>>0x10&0xff]<<0x10|_0x9db37c[_0xe8c79c>>>0x8&0xff]<<0x8|_0x9db37c[_0xe8c79c&0xff]):(_0xe8c79c=_0xe8c79c<<0x8|_0xe8c79c>>>0x18,_0xe8c79c=_0x9db37c[_0xe8c79c>>>0x18]<<0x18|_0x9db37c[_0xe8c79c>>>0x10&0xff]<<0x10|_0x9db37c[_0xe8c79c>>>0x8&0xff]<<0x8|_0x9db37c[_0xe8c79c&0xff],_0xe8c79c^=_0x252100[_0x4c2cfd/_0x30750b|0x0]<<0x18),_0x38fe65[_0x4c2cfd]=_0x38fe65[_0x4c2cfd-_0x30750b]^_0xe8c79c);for(var _0x27cf80=this[_0x5cf4ba(0xc4)]=[],_0x21f400=0x0;_0x21f400<_0x30eeac;_0x21f400++){var _0x4c2cfd=_0x30eeac-_0x21f400;if(_0x21f400%0x4)var _0xe8c79c=_0x38fe65[_0x4c2cfd];else var _0xe8c79c=_0x38fe65[_0x4c2cfd-0x4];_0x21f400<0x4||_0x4c2cfd<=0x4?_0x27cf80[_0x21f400]=_0xe8c79c:_0x27cf80[_0x21f400]=_0x24cb9f[_0x9db37c[_0xe8c79c>>>0x18]]^_0x3ca3a5[_0x9db37c[_0xe8c79c>>>0x10&0xff]]^_0x2eac54[_0x9db37c[_0xe8c79c>>>0x8&0xff]]^_0x83169[_0x9db37c[_0xe8c79c&0xff]];}}},'encryptBlock':function(_0x124499,_0x2c12ad){var _0x6e5cd0=_0x12b90b;this[_0x6e5cd0(0x23c)](_0x124499,_0x2c12ad,this[_0x6e5cd0(0x3b2)],_0x1ea5e4,_0x34dffb,_0x55d908,_0x27e7b6,_0x9db37c);},'decryptBlock':function(_0x384ad3,_0x4ef811){var _0x21b672=_0x12b90b,_0x1e9569=_0x384ad3[_0x4ef811+0x1];_0x384ad3[_0x4ef811+0x1]=_0x384ad3[_0x4ef811+0x3],_0x384ad3[_0x4ef811+0x3]=_0x1e9569,this[_0x21b672(0x23c)](_0x384ad3,_0x4ef811,this[_0x21b672(0xc4)],_0x24cb9f,_0x3ca3a5,_0x2eac54,_0x83169,_0x3add15);var _0x1e9569=_0x384ad3[_0x4ef811+0x1];_0x384ad3[_0x4ef811+0x1]=_0x384ad3[_0x4ef811+0x3],_0x384ad3[_0x4ef811+0x3]=_0x1e9569;},'_doCryptBlock':function(_0x3c07ae,_0xd8df26,_0xf71c3f,_0x1be839,_0x367d47,_0x29d8fd,_0x9601be,_0x3cb19d){var _0x2be041=_0x12b90b;for(var _0x1dfcfb=this[_0x2be041(0x434)],_0xc0bc56=_0x3c07ae[_0xd8df26]^_0xf71c3f[0x0],_0x3cdc49=_0x3c07ae[_0xd8df26+0x1]^_0xf71c3f[0x1],_0x25a613=_0x3c07ae[_0xd8df26+0x2]^_0xf71c3f[0x2],_0x182b20=_0x3c07ae[_0xd8df26+0x3]^_0xf71c3f[0x3],_0x28cb63=0x4,_0x165e7a=0x1;_0x165e7a<_0x1dfcfb;_0x165e7a++){var _0x469a01=_0x1be839[_0xc0bc56>>>0x18]^_0x367d47[_0x3cdc49>>>0x10&0xff]^_0x29d8fd[_0x25a613>>>0x8&0xff]^_0x9601be[_0x182b20&0xff]^_0xf71c3f[_0x28cb63++],_0x21a64d=_0x1be839[_0x3cdc49>>>0x18]^_0x367d47[_0x25a613>>>0x10&0xff]^_0x29d8fd[_0x182b20>>>0x8&0xff]^_0x9601be[_0xc0bc56&0xff]^_0xf71c3f[_0x28cb63++],_0x3f57d4=_0x1be839[_0x25a613>>>0x18]^_0x367d47[_0x182b20>>>0x10&0xff]^_0x29d8fd[_0xc0bc56>>>0x8&0xff]^_0x9601be[_0x3cdc49&0xff]^_0xf71c3f[_0x28cb63++],_0x469e8c=_0x1be839[_0x182b20>>>0x18]^_0x367d47[_0xc0bc56>>>0x10&0xff]^_0x29d8fd[_0x3cdc49>>>0x8&0xff]^_0x9601be[_0x25a613&0xff]^_0xf71c3f[_0x28cb63++];_0xc0bc56=_0x469a01,_0x3cdc49=_0x21a64d,_0x25a613=_0x3f57d4,_0x182b20=_0x469e8c;}var _0x469a01=(_0x3cb19d[_0xc0bc56>>>0x18]<<0x18|_0x3cb19d[_0x3cdc49>>>0x10&0xff]<<0x10|_0x3cb19d[_0x25a613>>>0x8&0xff]<<0x8|_0x3cb19d[_0x182b20&0xff])^_0xf71c3f[_0x28cb63++],_0x21a64d=(_0x3cb19d[_0x3cdc49>>>0x18]<<0x18|_0x3cb19d[_0x25a613>>>0x10&0xff]<<0x10|_0x3cb19d[_0x182b20>>>0x8&0xff]<<0x8|_0x3cb19d[_0xc0bc56&0xff])^_0xf71c3f[_0x28cb63++],_0x3f57d4=(_0x3cb19d[_0x25a613>>>0x18]<<0x18|_0x3cb19d[_0x182b20>>>0x10&0xff]<<0x10|_0x3cb19d[_0xc0bc56>>>0x8&0xff]<<0x8|_0x3cb19d[_0x3cdc49&0xff])^_0xf71c3f[_0x28cb63++],_0x469e8c=(_0x3cb19d[_0x182b20>>>0x18]<<0x18|_0x3cb19d[_0xc0bc56>>>0x10&0xff]<<0x10|_0x3cb19d[_0x3cdc49>>>0x8&0xff]<<0x8|_0x3cb19d[_0x25a613&0xff])^_0xf71c3f[_0x28cb63++];_0x3c07ae[_0xd8df26]=_0x469a01,_0x3c07ae[_0xd8df26+0x1]=_0x21a64d,_0x3c07ae[_0xd8df26+0x2]=_0x3f57d4,_0x3c07ae[_0xd8df26+0x3]=_0x469e8c;},'keySize':0x100/0x20});_0x2a7e19[_0x12b90b(0x14c)]=_0x2c8eca[_0x12b90b(0x413)](_0x2fac8d);}()),_0x565e9a[_0x5425eb(0x14c)];}));}(_0x5c5b2b)),_0x5c5b2b['exports'];}var _0x2a4277=_0x23dd96();const _0x55ca40=_0x1f767d(_0x2a4277);var _0x517231=_0x1b0b49();const _0x1e044c=_0x1f767d(_0x517231);var _0x214bfa={'exports':{}},_0x2083be=_0x214bfa[_0x12ab33(0x257)],_0x1d5147;function _0x2978a9(){var _0x11ee5d=_0x12ab33;return _0x1d5147||(_0x1d5147=0x1,function(_0x275531,_0x28f317){(function(_0x8a7e1a,_0x574121){_0x275531['exports']=_0x574121(_0x2b16a());}(_0x2083be,function(_0x25528a){var _0xf795e=_0x4f3d;return _0x25528a[_0xf795e(0x3bc)][_0xf795e(0x292)];}));}(_0x214bfa)),_0x214bfa[_0x11ee5d(0x257)];}var _0x319594=_0x2978a9();const _0x1c24ad=_0x1f767d(_0x319594);var _0x46c3c3={'exports':{}},_0x4e81c0=_0x46c3c3[_0x12ab33(0x257)],_0x31f4dc;function _0x384d3d(){var _0xb492ab=_0x12ab33;return _0x31f4dc||(_0x31f4dc=0x1,function(_0x1e3d86,_0x5cae84){(function(_0x29c6b5,_0x4f6c89){var _0x7a9243=_0x4f3d;_0x1e3d86[_0x7a9243(0x257)]=_0x4f6c89(_0x2b16a());}(_0x4e81c0,function(_0x2490be){var _0x34c642=_0x4f3d;return(function(){var _0x21aee0=_0x4f3d;if(typeof ArrayBuffer==_0x21aee0(0x311)){var _0x9ee2aa=_0x2490be,_0x4a2b5c=_0x9ee2aa[_0x21aee0(0x15b)],_0xe22dc=_0x4a2b5c[_0x21aee0(0xdb)],_0xbc48de=_0xe22dc[_0x21aee0(0x33d)],_0x23427a=_0xe22dc[_0x21aee0(0x33d)]=function(_0x1a253c){var _0x113d75=_0x21aee0;if(_0x1a253c instanceof ArrayBuffer&&(_0x1a253c=new Uint8Array(_0x1a253c)),(_0x1a253c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1a253c instanceof Uint8ClampedArray||_0x1a253c instanceof Int16Array||_0x1a253c instanceof Uint16Array||_0x1a253c instanceof Int32Array||_0x1a253c instanceof Uint32Array||_0x1a253c instanceof Float32Array||_0x1a253c instanceof Float64Array)&&(_0x1a253c=new Uint8Array(_0x1a253c[_0x113d75(0x3e2)],_0x1a253c[_0x113d75(0x40b)],_0x1a253c[_0x113d75(0x406)])),_0x1a253c instanceof Uint8Array){for(var _0x43c718=_0x1a253c[_0x113d75(0x406)],_0x16cc83=[],_0x26f730=0x0;_0x26f730<_0x43c718;_0x26f730++)_0x16cc83[_0x26f730>>>0x2]|=_0x1a253c[_0x26f730]<<0x18-_0x26f730%0x4*0x8;_0xbc48de[_0x113d75(0x1a5)](this,_0x16cc83,_0x43c718);}else _0xbc48de['apply'](this,arguments);};_0x23427a['prototype']=_0xe22dc;}}()),_0x2490be[_0x34c642(0x15b)][_0x34c642(0xdb)];}));}(_0x46c3c3)),_0x46c3c3[_0xb492ab(0x257)];}var _0x4c39c6=_0x384d3d();const _0x16e160=_0x1f767d(_0x4c39c6);var _0x4489be={'exports':{}},_0x255f81=_0x4489be[_0x12ab33(0x257)],_0x3c52a5;function _0x381343(){var _0x2cee72=_0x12ab33;return _0x3c52a5||(_0x3c52a5=0x1,function(_0x4ed468,_0x2678e6){(function(_0x52eb0c,_0x17067b,_0x4bc917){var _0x24153d=_0x4f3d;_0x4ed468[_0x24153d(0x257)]=_0x17067b(_0x2b16a(),_0x40ad97());}(_0x255f81,function(_0x3ea9ad){var _0x35e2eb=_0x4f3d;return _0x3ea9ad['pad'][_0x35e2eb(0x32e)]={'pad':function(){},'unpad':function(){}},_0x3ea9ad[_0x35e2eb(0x264)]['NoPadding'];}));}(_0x4489be)),_0x4489be[_0x2cee72(0x257)];}var _0x1fd1cd=_0x381343();const _0x5de6f0=_0x1f767d(_0x1fd1cd);function _0xe10022(_0xb083a5,_0x20d259){var _0x4822fa=_0x12ab33;const _0xc1023b=_0x20d259-_0xb083a5[_0x4822fa(0xe6)]%_0x20d259,_0x20da6c=String[_0x4822fa(0x379)](_0xc1023b)[_0x4822fa(0x143)](_0xc1023b);return _0xb083a5+_0x20da6c;}function _0x5454a4(_0x49f674,_0x41be84){var _0x56200e=_0x12ab33;const _0x269f34=_0x16e160[_0x56200e(0x130)](0x10),_0x33a3c1=_0xe10022(_0x49f674,0x10),_0x3d38f3=_0x55ca40[_0x56200e(0x1c2)](_0x1c24ad['parse'](_0x33a3c1),_0x1e044c[_0x56200e(0x190)](_0x41be84),{'iv':_0x269f34,'padding':_0x5de6f0});return _0x269f34[_0x56200e(0x214)](_0x3d38f3['ciphertext'])[_0x56200e(0x1f5)](_0x1e044c);}function _0x9da52a(){var _0xc6ab1e=_0x12ab33;const _0x442665=_0x514d4e[_0xc6ab1e(0x182)]()[_0xc6ab1e(0x162)];if(_0x442665){const _0x31d899={'time':Math[_0xc6ab1e(0x1af)](Date[_0xc6ab1e(0x265)]()/0x3e8),'domain':location['hostname']};return _0x5454a4(JSON[_0xc6ab1e(0x3b6)](_0x31d899),_0x442665);}}var _0x1512fa=Object[_0x12ab33(0x39e)],_0x4f2a20=(_0x165c36,_0x4b183f,_0x2d5322,_0x22956e)=>{var _0x365b69=_0x12ab33;for(var _0x3064d1=_0x22956e>0x1?void 0x0:_0x22956e?_0x1512fa(_0x4b183f,_0x2d5322):_0x4b183f,_0x1c4863=_0x165c36[_0x365b69(0xe6)]-0x1,_0xbbf632;_0x1c4863>=0x0;_0x1c4863--)(_0xbbf632=_0x165c36[_0x1c4863])&&(_0x3064d1=_0xbbf632(_0x3064d1)||_0x3064d1);return _0x3064d1;},_0x1aa745=(_0xa24644,_0x566ccb)=>(_0x252bd6,_0x4b9ac4)=>_0x566ccb(_0x252bd6,_0x4b9ac4,_0xa24644);let _0x4ebec9=class{constructor(_0x50f80c){var _0x46f8cb=_0x12ab33;this['_httpService']=_0x50f80c,this[_0x46f8cb(0x157)]();}['_initRequestHeader'](){var _0x471a45=_0x12ab33;this[_0x471a45(0xe5)][_0x471a45(0x2ce)]({'interceptor':(_0x28f7b0,_0x253e2d)=>{var _0x15f267=_0x471a45;const _0x2a4cfa=_0x28f7b0['headers'],_0x1c3740=_0x9da52a();return _0x1c3740&&_0x2a4cfa[_0x15f267(0x25b)]('x-univer-host',_0x1c3740),_0x253e2d(_0x28f7b0);}});}};_0x4ebec9=_0x4f2a20([_0x1aa745(0x0,_0x449ba5['Inject'](_0xcd2fb4[_0x12ab33(0xfe)]))],_0x4ebec9);var _0x465e3d=Object['getOwnPropertyDescriptor'],_0x44013e=(_0x7fa64e,_0x2350e9,_0x3b5f6f,_0x355489)=>{var _0x2dcf41=_0x12ab33;for(var _0x4139c0=_0x355489>0x1?void 0x0:_0x355489?_0x465e3d(_0x2350e9,_0x3b5f6f):_0x2350e9,_0x28044b=_0x7fa64e[_0x2dcf41(0xe6)]-0x1,_0x2014a5;_0x28044b>=0x0;_0x28044b--)(_0x2014a5=_0x7fa64e[_0x28044b])&&(_0x4139c0=_0x2014a5(_0x4139c0)||_0x4139c0);return _0x4139c0;},_0x48d482=(_0x4cfe86,_0x41319a)=>(_0x54bdce,_0x2d8658)=>_0x41319a(_0x54bdce,_0x2d8658,_0x4cfe86);_0x4bf482[_0x12ab33(0x35b)]=class extends _0x449ba5[_0x12ab33(0x1fc)]{constructor(_0x2bdd92,_0x424730,_0x516901){var _0x3205d6=_0x12ab33;super(),_0x389841(this,_0x3205d6(0x34a),new _0x550b9f['BehaviorSubject'](null)),_0x389841(this,_0x3205d6(0x2e8),this['_unitInfo$']['asObservable']()),(this[_0x3205d6(0x400)]=_0x2bdd92,this[_0x3205d6(0x25e)]=_0x424730,this['_localCacheService']=_0x516901);}async[_0x12ab33(0x122)](_0x4ce0fe,_0x28737a,_0x3eb626){var _0x5b367e=_0x12ab33;this[_0x5b367e(0x34a)][_0x5b367e(0xaf)]({'unitId':_0x4ce0fe,'type':_0x28737a});let _0x4161c4=null;switch(_0x28737a){case _0x5bae36['UNIVER_SHEET']:{_0x4161c4=await this[_0x5b367e(0x25e)][_0x5b367e(0x3f9)](_0x4ce0fe,_0x3eb626);break;}case _0x5bae36[_0x5b367e(0xef)]:{_0x4161c4=await this[_0x5b367e(0x25e)][_0x5b367e(0xd6)](_0x4ce0fe,_0x3eb626);break;}default:{this['_logService'][_0x5b367e(0x2f2)](_0x5b367e(0x279),_0x5b367e(0x392));break;}}return _0x4161c4;}async[_0x12ab33(0x282)](_0x240d94,_0x2b9ad7,_0x5545fb){var _0x5364fe=_0x12ab33,_0x5ba6a5;this[_0x5364fe(0x34a)][_0x5364fe(0xaf)]({'unitId':_0x240d94,'type':_0x2b9ad7,'subUnitId':_0x5545fb});let _0x4e559c=0x0;const _0x416df8=await((_0x5ba6a5=this['_localCacheService'])==null?void 0x0:_0x5ba6a5[_0x5364fe(0x1c5)](_0x240d94));return _0x416df8&&(_0x416df8[_0x5364fe(0x320)]||_0x416df8[_0x5364fe(0x34d)][_0x5364fe(0xe6)]!==0x0)&&(_0x4e559c=_0x416df8['rev']),_0x4e559c===0x0&&this[_0x5364fe(0x400)][_0x5364fe(0x2ea)](_0x5364fe(0x279),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5364fe(0x122)](_0x240d94,_0x2b9ad7,_0x4e559c);}},_0x4bf482[_0x12ab33(0x35b)]=_0x44013e([_0x48d482(0x0,_0x449ba5[_0x12ab33(0x37b)]),_0x48d482(0x1,_0x449ba5['Inject'](_0x4811d6['SnapshotService'])),_0x48d482(0x2,_0x449ba5[_0x12ab33(0xce)](_0x6af55a))],_0x4bf482['DataLoaderService']);var _0x59f7ef=Object['getOwnPropertyDescriptor'],_0x512f7a=(_0x2b30ae,_0x11192c,_0xbbbaad,_0x54b47b)=>{var _0x1e30d0=_0x12ab33;for(var _0x3a884e=_0x54b47b>0x1?void 0x0:_0x54b47b?_0x59f7ef(_0x11192c,_0xbbbaad):_0x11192c,_0x19899b=_0x2b30ae[_0x1e30d0(0xe6)]-0x1,_0x19244b;_0x19899b>=0x0;_0x19899b--)(_0x19244b=_0x2b30ae[_0x19899b])&&(_0x3a884e=_0x19244b(_0x3a884e)||_0x3a884e);return _0x3a884e;},_0xf9632b=(_0x33bb74,_0x12fe12)=>(_0x3625e2,_0x442cc9)=>_0x12fe12(_0x3625e2,_0x442cc9,_0x33bb74);const _0x5f5bb5=[_0x12ab33(0x1f2),_0x12ab33(0x29c),_0x12ab33(0x393),_0x12ab33(0x43b),_0x12ab33(0x422)],_0x5a6118=0x5*0x400*0x400,_0x33a84c=_0x12ab33(0x1f9),_0x52ebab=_0x12ab33(0x3d6);_0x4bf482[_0x12ab33(0x418)]=class{constructor(_0x5cf5ad,_0x5c683e,_0x24d72d){var _0x410132=_0x12ab33;_0x389841(this,_0x410132(0x372),0x0),_0x389841(this,_0x410132(0x12e),new _0x550b9f[(_0x410132(0x10a))]()),_0x389841(this,_0x410132(0x3c8),this['_change$']),_0x389841(this,_0x410132(0x357),new Map()),(this['_httpService']=_0x5cf5ad,this[_0x410132(0x3af)]=_0x5c683e,this[_0x410132(0x436)]=_0x24d72d);}[_0x12ab33(0xec)](_0x428d77){var _0x5f4b2f=_0x12ab33;this[_0x5f4b2f(0x372)]=_0x428d77,this[_0x5f4b2f(0x12e)]['next'](_0x428d77);}[_0x12ab33(0x245)](_0x53a22b,_0x544d48){var _0x5de487=_0x12ab33;if(_0x544d48===_0x40ace2['ImageSourceType'][_0x5de487(0x349)]){const _0x594f05=new Image();return _0x594f05['src']=_0x53a22b,_0x594f05;}return this['_imageSourceCache'][_0x5de487(0x1fa)](_0x53a22b);}[_0x12ab33(0x205)](_0x34e552,_0x4125a2,_0x45d6aa){var _0x2c94fb=_0x12ab33;_0x4125a2===_0x40ace2[_0x2c94fb(0xbf)][_0x2c94fb(0x349)]||_0x45d6aa==null||this[_0x2c94fb(0x357)][_0x2c94fb(0x25b)](_0x34e552,_0x45d6aa);}async[_0x12ab33(0x28e)](_0x3451eb){var _0x415ffd=_0x12ab33;try{const _0x22f19d=this['_replaceFileID'](this[_0x415ffd(0x344)](),''+_0x3451eb),_0x5de65b=(await this[_0x415ffd(0xe5)][_0x415ffd(0x1fa)](_0x22f19d))['body'];if(_0x5de65b['error']&&_0x5de65b[_0x415ffd(0x2f2)][_0x415ffd(0x218)]===_0x4c2ac7['OK']){const _0x2c85a9=new URL(_0x5de65b['url'],this[_0x415ffd(0x20c)]())[_0x415ffd(0x1f5)]();return Promise[_0x415ffd(0x3f4)](_0x2c85a9);}return Promise[_0x415ffd(0x300)](_0x5de65b[_0x415ffd(0x2f2)]);}catch(_0x192749){return Promise[_0x415ffd(0x300)](_0x192749);}}async[_0x12ab33(0x2df)](_0xc22b25){var _0x5a4d4c=_0x12ab33;let _0x126919='';if(!_0x5f5bb5['includes'](_0xc22b25[_0x5a4d4c(0x424)]))return this[_0x5a4d4c(0x252)](),Promise[_0x5a4d4c(0x300)](new Error(_0x40ace2['ImageUploadStatusType'][_0x5a4d4c(0x147)]));if(_0xc22b25[_0x5a4d4c(0x283)]>_0x5a6118)return this['_decreaseWaiting'](),Promise[_0x5a4d4c(0x300)](new Error(_0x40ace2[_0x5a4d4c(0x305)][_0x5a4d4c(0x3a7)]));try{const _0xb4acd7=new FormData();_0xb4acd7[_0x5a4d4c(0x362)](_0x5a4d4c(0x2b8),_0xc22b25);const _0x295dc2=this['_univerInstanceService'][_0x5a4d4c(0x19c)](),_0x5efb5c=_0x295dc2==null?void 0x0:_0x295dc2['getUnitId']();if(!_0x5efb5c)throw new Error(_0x5a4d4c(0x104));const _0x13c136=this[_0x5a4d4c(0x115)]()+_0x5a4d4c(0x1dd)+_0xc22b25[_0x5a4d4c(0x283)][_0x5a4d4c(0x1f5)]()+_0x5a4d4c(0x324)+_0x4818ca['UnitEmbedded']+_0x5a4d4c(0x3fe)+encodeURIComponent(_0x5efb5c),_0x4cb491={'body':_0xb4acd7},_0x1d2208=(await this[_0x5a4d4c(0xe5)][_0x5a4d4c(0x3a4)](_0x13c136,_0x4cb491))['body'];if(typeof _0x1d2208[_0x5a4d4c(0x3f6)]!=_0x5a4d4c(0x2eb))return this[_0x5a4d4c(0x252)](),Promise['reject'](new Error(_0x40ace2[_0x5a4d4c(0x305)][_0x5a4d4c(0x170)]));_0x126919=_0x1d2208['FileId'];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x40ace2[_0x5a4d4c(0x305)][_0x5a4d4c(0x170)]));}return new Promise((_0x13cf17,_0x1a71bd)=>{var _0x55bde9=_0x5a4d4c;const _0x206c74=new FileReader();_0x206c74[_0x55bde9(0x25f)](_0xc22b25),_0x206c74['onload']=_0xd238e5=>{var _0x407d38=_0x55bde9,_0x5b51c1;const _0x56a31=(_0x5b51c1=_0xd238e5[_0x407d38(0x3eb)])==null?void 0x0:_0x5b51c1[_0x407d38(0x415)];if(_0x56a31==null){this[_0x407d38(0x252)](),_0x1a71bd(new Error(_0x40ace2['ImageUploadStatusType'][_0x407d38(0x170)]));return;}const _0x9f3188=_0x449ba5[_0x407d38(0x2b3)](0x6);_0x13cf17({'imageId':_0x9f3188,'imageSourceType':_0x40ace2[_0x407d38(0xbf)][_0x407d38(0x201)],'source':_0x126919,'base64Cache':_0x56a31,'status':_0x40ace2[_0x407d38(0x305)][_0x407d38(0x232)]}),this[_0x407d38(0x252)]();};});}[_0x12ab33(0x115)](){var _0x5e272e=_0x12ab33,_0x522a76;const _0x1fbbea=this['_configService']['getConfig'](_0x433534);return(_0x522a76=_0x1fbbea==null?void 0x0:_0x1fbbea[_0x5e272e(0x38a)])!=null?_0x522a76:_0x33a84c;}['_getSignURL'](){var _0x149521=_0x12ab33,_0x76a2b3;const _0x5576ce=this['_configService'][_0x149521(0x18d)](_0x433534);return(_0x76a2b3=_0x5576ce==null?void 0x0:_0x5576ce['signUrlServerUrl'])!=null?_0x76a2b3:_0x52ebab;}['_getDownloadEndpointURL'](){var _0x2d22fb=_0x12ab33,_0x429c7d;const _0x49bdb1=this[_0x2d22fb(0x3af)][_0x2d22fb(0x18d)](_0x433534);return(_0x429c7d=_0x49bdb1==null?void 0x0:_0x49bdb1[_0x2d22fb(0x1d8)])!=null?_0x429c7d:location[_0x2d22fb(0x259)];}[_0x12ab33(0x2cc)](_0x40a3f7,_0x3737da){var _0x26c75e=_0x12ab33;return _0x40a3f7[_0x26c75e(0x227)](_0x26c75e(0x255),_0x3737da);}[_0x12ab33(0x252)](){var _0x32e363=_0x12ab33;this['_waitCount']-=0x1,this[_0x32e363(0x12e)]['next'](this[_0x32e363(0x372)]);}},_0x4bf482[_0x12ab33(0x418)]=_0x512f7a([_0xf9632b(0x0,_0x449ba5[_0x12ab33(0x116)](_0xcd2fb4['HTTPService'])),_0xf9632b(0x1,_0x449ba5[_0x12ab33(0x388)]),_0xf9632b(0x2,_0x449ba5['Inject'](_0x449ba5['IUniverInstanceService']))],_0x4bf482[_0x12ab33(0x418)]);var _0x1b0f63=Object[_0x12ab33(0x39e)],_0x32facc=(_0x46be19,_0x47df1d,_0x17568e,_0x4f1a9b)=>{for(var _0x46c20f=_0x4f1a9b>0x1?void 0x0:_0x4f1a9b?_0x1b0f63(_0x47df1d,_0x17568e):_0x47df1d,_0x50f89a=_0x46be19['length']-0x1,_0xe76be0;_0x50f89a>=0x0;_0x50f89a--)(_0xe76be0=_0x46be19[_0x50f89a])&&(_0x46c20f=_0xe76be0(_0x46c20f)||_0x46c20f);return _0x46c20f;},_0x3eed6d=(_0x279eb0,_0x435cff)=>(_0x4c1ad1,_0x22395a)=>_0x435cff(_0x4c1ad1,_0x22395a,_0x279eb0);const _0x26ea43='/universer-api/authz';_0x4bf482[_0x12ab33(0x1c6)]=class{constructor(_0x314123,_0x55ee93){var _0x3e471a=_0x12ab33;this['_configService']=_0x314123,this[_0x3e471a(0x1b7)]=_0x55ee93;}[_0x12ab33(0x288)](){var _0x2eb369;const _0x39a25f=this['_configService']['getConfig'](_0x433534);return(_0x2eb369=_0x39a25f==null?void 0x0:_0x39a25f['authzUrl'])!=null?_0x2eb369:_0x26ea43;}async[_0x12ab33(0xe2)](_0xe28c83){var _0x245ad6=_0x12ab33;const _0x224354=this[_0x245ad6(0x288)]()+_0x245ad6(0xe0);return{'list':[{'title':_0x245ad6(0x39a),'mentions':(await this[_0x245ad6(0x1b7)][_0x245ad6(0x1fa)](_0x224354,{'params':{'objectID':_0xe28c83[_0x245ad6(0x109)],'unitID':_0xe28c83[_0x245ad6(0x109)]}}))[_0x245ad6(0x3f5)][_0x245ad6(0x3db)]['map'](_0x2fb0d1=>({'objectId':_0x2fb0d1['id'],'name':_0x2fb0d1['subject']['name'],'metadata':{'icon':_0x2fb0d1[_0x245ad6(0x135)][_0x245ad6(0x123)]},'label':_0x2fb0d1[_0x245ad6(0x135)]['name'],'objectType':_0x449ba5[_0x245ad6(0x108)]['PERSON']})),'metadata':{},'type':_0x449ba5[_0x245ad6(0x108)][_0x245ad6(0xc7)]}]};}},_0x4bf482[_0x12ab33(0x1c6)]=_0x32facc([_0x3eed6d(0x0,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x388)])),_0x3eed6d(0x1,_0x449ba5['Inject'](_0xcd2fb4[_0x12ab33(0xfe)]))],_0x4bf482['MentionIoHttpService']);var _0x24e870=Object[_0x12ab33(0x39e)],_0x2fac99=(_0x55ac0b,_0x314c98,_0x38a619,_0xe343a3)=>{var _0x50fa40=_0x12ab33;for(var _0x45ef71=_0xe343a3>0x1?void 0x0:_0xe343a3?_0x24e870(_0x314c98,_0x38a619):_0x314c98,_0x381cf=_0x55ac0b[_0x50fa40(0xe6)]-0x1,_0x318a8c;_0x381cf>=0x0;_0x381cf--)(_0x318a8c=_0x55ac0b[_0x381cf])&&(_0x45ef71=_0x318a8c(_0x45ef71)||_0x45ef71);return _0x45ef71;},_0x576cbb=(_0x4d1853,_0x5ec475)=>(_0x3d0302,_0x1eea1d)=>_0x5ec475(_0x3d0302,_0x1eea1d,_0x4d1853);let _0x1fa16c=class extends _0x449ba5[_0x12ab33(0x1fc)]{constructor(_0x30ef67,_0x36d572,_0x4dab55,_0xf009b5,_0x511f1d){var _0x3cfdd3=_0x12ab33;super(),this[_0x3cfdd3(0x401)]=_0x30ef67,this[_0x3cfdd3(0x436)]=_0x36d572,this[_0x3cfdd3(0x17a)]=_0x4dab55,this[_0x3cfdd3(0x39c)]=_0xf009b5,this[_0x3cfdd3(0x18e)]=_0x511f1d,this[_0x3cfdd3(0x1f0)](),this[_0x3cfdd3(0x2d0)]();}[_0x12ab33(0x2d0)](){var _0x2dfa03=_0x12ab33;const _0x16e3ad=async _0x5293c6=>{var _0x59b656=_0x4f3d;(await this[_0x59b656(0x39c)][_0x59b656(0x29f)](_0x5293c6))[_0x59b656(0x403)]['pipe'](_0x4a20aa['filter'](_0xc657c=>_0xc657c[_0x59b656(0x28c)]===_0x4811d6[_0x59b656(0x381)][_0x59b656(0xfb)]),_0x4a20aa[_0x59b656(0x34b)](this[_0x59b656(0x338)]))['subscribe'](_0x371ae5=>{var _0x124349=_0x59b656;const _0x286ccf=_0x371ae5,{reason:_0x3ac6c9}=_0x286ccf[_0x124349(0x166)];this[_0x124349(0x18e)][_0x124349(0x3c1)]({'id':_0x49a56d[_0x124349(0x375)],'data':_0x3ac6c9}),this[_0x124349(0x17a)]['updatePermissionPoint'](new _0x38c84a[(_0x124349(0x3c9))](_0x5293c6)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5293c6);});};_0x550b9f[_0x2dfa03(0x421)](this[_0x2dfa03(0x436)][_0x2dfa03(0x43e)](_0x449ba5[_0x2dfa03(0x3c2)][_0x2dfa03(0x343)]),this[_0x2dfa03(0x436)][_0x2dfa03(0x43e)](_0x449ba5[_0x2dfa03(0x3c2)]['UNIVER_DOC']))[_0x2dfa03(0x188)](_0x4a20aa[_0x2dfa03(0xc9)](_0x141361=>_0x141361[_0x2dfa03(0x26f)]()),_0x4a20aa[_0x2dfa03(0x16b)](_0x47f62b=>!_0x449ba5[_0x2dfa03(0xed)](_0x47f62b)),_0x4a20aa[_0x2dfa03(0x34b)](this['dispose$']))[_0x2dfa03(0x368)](_0x26087a=>{_0x16e3ad(_0x26087a);});}[_0x12ab33(0x1f0)](){var _0x37dbd7=_0x12ab33;const _0x4466c3=async _0x516e81=>{var _0x408ae9=_0x4f3d;const _0x2cffb6=await this[_0x408ae9(0x39c)][_0x408ae9(0x29f)](_0x516e81),_0x1d230d=this[_0x408ae9(0x401)][_0x408ae9(0x1fa)](_0x38c84a['SheetPermissionInitController']);_0x2cffb6[_0x408ae9(0x403)]['pipe'](_0x4a20aa[_0x408ae9(0x16b)](_0xad7162=>_0xad7162[_0x408ae9(0x28c)]===_0x4811d6['CollaborationEvent'][_0x408ae9(0x31c)]),_0x4a20aa[_0x408ae9(0x34b)](this['dispose$']))['subscribe'](_0x22ce9d=>{var _0xb6d1e7=_0x408ae9;const _0x16cc3d=_0x22ce9d,{objectId:_0x1cea98}=_0x16cc3d[_0xb6d1e7(0x166)];_0x1cea98===_0x516e81?_0x1d230d[_0xb6d1e7(0x2e6)](_0x516e81):_0x1d230d['refreshPermission'](_0x516e81,_0x1cea98);});};_0x550b9f[_0x37dbd7(0x421)](this[_0x37dbd7(0x436)]['getTypeOfUnitAdded$'](_0x449ba5[_0x37dbd7(0x3c2)][_0x37dbd7(0x343)]))[_0x37dbd7(0x188)](_0x4a20aa['map'](_0x249b03=>_0x249b03['getUnitId']()),_0x4a20aa[_0x37dbd7(0x16b)](_0x383f43=>!_0x449ba5[_0x37dbd7(0xed)](_0x383f43)),_0x4a20aa[_0x37dbd7(0x34b)](this[_0x37dbd7(0x338)]))[_0x37dbd7(0x368)](_0x588f44=>{_0x4466c3(_0x588f44);});}};_0x1fa16c=_0x2fac99([_0x576cbb(0x0,_0x449ba5['Inject'](_0x449ba5[_0x12ab33(0x298)])),_0x576cbb(0x1,_0x449ba5['IUniverInstanceService']),_0x576cbb(0x2,_0x449ba5[_0x12ab33(0x340)]),_0x576cbb(0x3,_0x449ba5[_0x12ab33(0x116)](_0x4bf482[_0x12ab33(0x1b8)])),_0x576cbb(0x4,_0x449ba5[_0x12ab33(0x116)](_0x382c6e))],_0x1fa16c);var _0x5778d2=Object['getOwnPropertyDescriptor'],_0x471df1=(_0x3285e1,_0xd6f492,_0x463ec3,_0x5a06b2)=>{var _0x215eba=_0x12ab33;for(var _0x35484d=_0x5a06b2>0x1?void 0x0:_0x5a06b2?_0x5778d2(_0xd6f492,_0x463ec3):_0xd6f492,_0x1a8199=_0x3285e1[_0x215eba(0xe6)]-0x1,_0x448010;_0x1a8199>=0x0;_0x1a8199--)(_0x448010=_0x3285e1[_0x1a8199])&&(_0x35484d=_0x448010(_0x35484d)||_0x35484d);return _0x35484d;},_0xe0dae1=(_0x14e96c,_0x5a38d2)=>(_0x4d63d3,_0x25e2ed)=>_0x5a38d2(_0x4d63d3,_0x25e2ed,_0x14e96c);_0x4bf482['SnapshotServerOverHTTPService']=class{constructor(_0xfb6115,_0x32a864){var _0x2ca7c4=_0x12ab33;this[_0x2ca7c4(0x3af)]=_0xfb6115,this[_0x2ca7c4(0xe5)]=_0x32a864;}async['getUnitOnRev'](_0x1a351c,_0xb08560){var _0xca1456=_0x12ab33,_0x7f8f8c;const {unitID:_0x3ae698,type:_0x320c69,revision:_0x2feb72=0x0}=_0xb08560,_0x51f4df=this[_0xca1456(0x278)]()+'/'+_0x320c69+_0xca1456(0x1a9)+_0x3ae698+_0xca1456(0x117)+_0x2feb72,_0x52869f=(await this[_0xca1456(0xe5)][_0xca1456(0x1fa)](_0x51f4df))[_0xca1456(0x3f5)],_0xe48d7b=(_0x7f8f8c=_0x52869f[_0xca1456(0x3fa)])==null?void 0x0:_0x7f8f8c[_0xca1456(0xcf)];if(_0xe48d7b){const _0xcdfd52=_0xe48d7b==null?void 0x0:_0xe48d7b[_0xca1456(0x2be)],_0x48b589=_0x4811d6[_0xca1456(0x3f0)][_0xca1456(0x35c)](_0x4811d6[_0xca1456(0x301)](_0xcdfd52));_0xe48d7b[_0xca1456(0x2be)]=_0x48b589,Object['entries'](_0xe48d7b['sheets'])[_0xca1456(0x17b)](([,_0x78e059])=>{var _0x19fb86=_0xca1456;const _0x49526f=_0x78e059[_0x19fb86(0x2be)],_0xd9fa92=_0x4811d6[_0x19fb86(0x3f0)][_0x19fb86(0x35c)](_0x4811d6['b64DecodeUnicode'](_0x49526f));_0x78e059[_0x19fb86(0x2be)]=_0xd9fa92;});}return _0x52869f;}async[_0x12ab33(0x1d2)](_0x156ca2,_0x14ff1a){var _0x58e126=_0x12ab33;const {unitID:_0x118a72,type:_0x483b3e,blockID:_0x6259ef}=_0x14ff1a,_0x577bc8=this[_0x58e126(0xdd)]()+'/'+_0x483b3e+_0x58e126(0x1a9)+_0x118a72+_0x58e126(0x2cd)+_0x6259ef;return(await this['_httpService'][_0x58e126(0x1fa)](_0x577bc8))[_0x58e126(0x3f5)];}async[_0x12ab33(0x243)](_0x42f7c1,_0x2a9e32){var _0x61c95c=_0x12ab33;const {unitID:_0x16e497,type:_0x689c9d,blockID:_0x277ecb}=_0x2a9e32,_0x4c57d4=this[_0x61c95c(0xdd)]()+'/block/'+_0x689c9d+_0x61c95c(0x1a9)+_0x16e497+'/block/'+_0x277ecb;return(await this[_0x61c95c(0xe5)][_0x61c95c(0x1fa)](_0x4c57d4))[_0x61c95c(0x3f5)];}async['fetchMissingChangesets'](_0x1334a0,_0x3965c1){var _0xded6fe=_0x12ab33;const {unitID:_0x5246b6,type:_0x2d12f4,from:_0x204a85,to:_0x49bcc1}=_0x3965c1,_0x48e92d=this['_getAPIPrefix']()+'/'+_0x2d12f4+_0xded6fe(0x1a9)+_0x5246b6+_0xded6fe(0x35a)+_0x204a85+'&to='+_0x49bcc1;return(await this[_0xded6fe(0xe5)]['get'](_0x48e92d))['body'];}[_0x12ab33(0x278)](){var _0x4e291d=_0x12ab33,_0x2efc15;return(_0x2efc15=this[_0x4e291d(0x3af)][_0x4e291d(0x18d)](_0x574fde))!=null?_0x2efc15:this[_0x4e291d(0xdd)]();}[_0x12ab33(0xdd)](){var _0x48b900=_0x12ab33,_0x15a224;const _0x4e7db9=this['_configService']['getConfig'](_0x433534);return(_0x15a224=_0x4e7db9==null?void 0x0:_0x4e7db9[_0x48b900(0x319)])!=null?_0x15a224:_0x20340e;}async[_0x12ab33(0x2ca)](_0x241aed,_0x28ef90){var _0x3aa77f=_0x12ab33;const _0x3e8d7c=_0x3aa77f(0xf5)+_0x28ef90[_0x3aa77f(0x424)]+'/unit/'+_0x28ef90['unitID']+'/resources';return(await this[_0x3aa77f(0xe5)][_0x3aa77f(0x1fa)](_0x3e8d7c,{'params':{'resourceId':JSON[_0x3aa77f(0x3b6)](_0x28ef90[_0x3aa77f(0x3c5)])}}))[_0x3aa77f(0x3f5)];}['saveSnapshot'](){var _0x4bc03f=_0x12ab33;throw new Error(_0x4bc03f(0x231));}['updateSnapshot'](){var _0x52b6bd=_0x12ab33;throw new Error(_0x52b6bd(0x231));}[_0x12ab33(0x16f)](){var _0x25f127=_0x12ab33;throw new Error(_0x25f127(0x231));}['saveChangeset'](){var _0x3d4ddf=_0x12ab33;throw new Error(_0x3d4ddf(0x231));}[_0x12ab33(0x43d)](){var _0x5b2582=_0x12ab33;throw new Error(_0x5b2582(0x231));}[_0x12ab33(0xea)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x4bf482[_0x12ab33(0x2ab)]=_0x471df1([_0xe0dae1(0x0,_0x449ba5[_0x12ab33(0x388)]),_0xe0dae1(0x1,_0x449ba5[_0x12ab33(0x116)](_0xcd2fb4['HTTPService']))],_0x4bf482[_0x12ab33(0x2ab)]);var _0x369736=Object[_0x12ab33(0x39e)],_0x5ef29d=(_0x14754c,_0x1ced30,_0x21ddbd,_0x44f267)=>{var _0x30310d=_0x12ab33;for(var _0x4bd761=_0x44f267>0x1?void 0x0:_0x44f267?_0x369736(_0x1ced30,_0x21ddbd):_0x1ced30,_0x39ffef=_0x14754c[_0x30310d(0xe6)]-0x1,_0x26ba1f;_0x39ffef>=0x0;_0x39ffef--)(_0x26ba1f=_0x14754c[_0x39ffef])&&(_0x4bd761=_0x26ba1f(_0x4bd761)||_0x4bd761);return _0x4bd761;},_0x366127=(_0xefe11f,_0x51b20e)=>(_0x3b2385,_0x5b9b6b)=>_0x51b20e(_0x3b2385,_0x5b9b6b,_0xefe11f);_0x4bf482[_0x12ab33(0x16e)]=class extends _0x449ba5[_0x12ab33(0x385)]{constructor(_0x51d771,_0x80c7a1,_0x3a001f,_0x1c124f,_0x51c687){var _0x38b7dd=_0x12ab33;super(_0x51d771,_0x80c7a1,_0x3a001f),this['_transformService']=_0x1c124f,this[_0x38b7dd(0x400)]=_0x51c687;}[_0x12ab33(0x138)](_0x5c6923,_0x527b57){var _0x5b386a=_0x12ab33;const _0x492e06=this[_0x5b386a(0x2a1)](_0x5c6923);if(_0x492e06)try{const _0x38ab32=this['_transformStack'](_0x492e06,_0x527b57);this[_0x5b386a(0x3ae)](_0x5c6923,_0x38ab32);}catch(_0x49e422){this[_0x5b386a(0x400)][_0x5b386a(0x2f2)]('[CollaborationUndoRedoService]',_0x49e422),this[_0x5b386a(0x165)](_0x5c6923);}const _0x580b58=this[_0x5b386a(0x37c)](_0x5c6923);if(_0x580b58)try{const _0x248017=this[_0x5b386a(0x285)](_0x580b58,_0x527b57);this[_0x5b386a(0x334)](_0x5c6923,_0x248017);}catch(_0x3545da){this[_0x5b386a(0x400)]['error'](_0x3545da),this[_0x5b386a(0x172)](_0x5c6923);}}[_0x12ab33(0x165)](_0x2aae33){var _0x3c196c=_0x12ab33;const _0xc670e3=this[_0x3c196c(0x2a1)](_0x2aae33);_0xc670e3&&(_0xc670e3['length']=0x0,this['_updateStatus']());}[_0x12ab33(0x172)](_0x23dd34){var _0x1566d3=_0x12ab33;const _0x196ae8=this['_getRedoStack'](_0x23dd34);_0x196ae8&&(_0x196ae8[_0x1566d3(0xe6)]=0x0,this['_updateStatus']());}[_0x12ab33(0x3ae)](_0x19a94d,_0x525b71){var _0x1d5394=_0x12ab33;this[_0x1d5394(0x333)][_0x1d5394(0x25b)](_0x19a94d,_0x525b71),this[_0x1d5394(0x384)]();}[_0x12ab33(0x334)](_0x2e1a82,_0x2ac386){var _0xa5c059=_0x12ab33;this[_0xa5c059(0x3d9)][_0xa5c059(0x25b)](_0x2e1a82,_0x2ac386),this[_0xa5c059(0x384)]();}[_0x12ab33(0x285)](_0x450e2b,_0xea5d2c){var _0x36ff6e=_0x12ab33;const _0x2c7c08=[];let _0x5c63ad=_0xea5d2c,_0x203326=_0xea5d2c;for(let _0xd44976=_0x450e2b[_0x36ff6e(0xe6)]-0x1;_0xd44976>=0x0;_0xd44976--){const {unitID:_0x2816ce,undoMutations:_0x30f8fa,redoMutations:_0x349df1}=_0x450e2b[_0xd44976],_0x34e9d4=this[_0x36ff6e(0x180)]['transformMutationsWithChangeset'](_0x5c63ad,_0x30f8fa),_0x17e6f6=this['_transformService']['transformMutationsWithChangeset'](_0x203326,_0x349df1);if(_0x4811d6['isTransformMutationsWithChangesetFailure'](_0x34e9d4)||_0x4811d6[_0x36ff6e(0x1c7)](_0x17e6f6)){this[_0x36ff6e(0x400)][_0x36ff6e(0x2f2)]('[CollaborationUndoRedoService]',_0x36ff6e(0x430),_0x34e9d4,_0x17e6f6);break;}_0x5c63ad=_0x34e9d4[_0x36ff6e(0x184)],_0x203326=_0x17e6f6[_0x36ff6e(0x184)],_0x2c7c08[_0x36ff6e(0x125)]({'unitID':_0x2816ce,'undoMutations':_0x34e9d4[_0x36ff6e(0x304)],'redoMutations':_0x17e6f6[_0x36ff6e(0x304)]});}return _0x2c7c08[_0x36ff6e(0x237)]();}},_0x4bf482['CollaborativeUndoRedoService']=_0x5ef29d([_0x366127(0x0,_0x449ba5['IUniverInstanceService']),_0x366127(0x1,_0x449ba5['ICommandService']),_0x366127(0x2,_0x449ba5['IContextService']),_0x366127(0x3,_0x4811d6[_0x12ab33(0x3d0)]),_0x366127(0x4,_0x449ba5[_0x12ab33(0x37b)])],_0x4bf482[_0x12ab33(0x16e)]);var _0x3f2f9d=Object[_0x12ab33(0x25d)],_0xb67842=Object['getOwnPropertyDescriptor'],_0x11dcb0=(_0x529937,_0x2b45a4,_0x1bf29a)=>_0x2b45a4 in _0x529937?_0x3f2f9d(_0x529937,_0x2b45a4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bf29a}):_0x529937[_0x2b45a4]=_0x1bf29a,_0xfca091=(_0x286b1d,_0x5def32,_0x379512,_0x34bcd8)=>{for(var _0x51f009=_0x34bcd8>0x1?void 0x0:_0x34bcd8?_0xb67842(_0x5def32,_0x379512):_0x5def32,_0x609367=_0x286b1d['length']-0x1,_0x23d540;_0x609367>=0x0;_0x609367--)(_0x23d540=_0x286b1d[_0x609367])&&(_0x51f009=_0x23d540(_0x51f009)||_0x51f009);return _0x51f009;},_0x381425=(_0x1a2401,_0x7f1279)=>(_0x2c6d7e,_0x2996b2)=>_0x7f1279(_0x2c6d7e,_0x2996b2,_0x1a2401),_0x45441b=(_0xff8fce,_0x53dc2a,_0x4205d5)=>_0x11dcb0(_0xff8fce,_0x53dc2a+'',_0x4205d5);const _0x7ec1cb='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x4bf482[_0x12ab33(0x43c)]=class extends _0x449ba5[_0x12ab33(0x175)]{constructor(_0x567aea,_0x11f1fa,_0x65634e,_0x3d7279){var _0x114f46=_0x12ab33;super(),_0x389841(this,_0x114f46(0xf9)),(this[_0x114f46(0x400)]=_0x11f1fa,this[_0x114f46(0x401)]=_0x65634e,this[_0x114f46(0x3af)]=_0x3d7279);const {..._0x5ed89f}=_0x449ba5['merge']({},_0x17c09c,_0x567aea);if(!_0x5ed89f[_0x114f46(0x1f7)])throw new Error(_0x114f46(0x20b));this['_config']=_0x5ed89f,this[_0x114f46(0x3af)][_0x114f46(0x24a)](_0x433534,_0x5ed89f);}['onStarting'](){var _0x4b0ec7=_0x12ab33;this[_0x4b0ec7(0x2d7)](),this[_0x4b0ec7(0x2cf)]();}[_0x12ab33(0x2d7)](){var _0x24c4f5=_0x12ab33,_0x17b92a,_0x1b91a6;this[_0x24c4f5(0x401)][_0x24c4f5(0xd9)](_0x449ba5[_0x24c4f5(0x36d)])&&this[_0x24c4f5(0x400)][_0x24c4f5(0x2f2)](_0x24c4f5(0x369),_0x24c4f5(0x210));const _0x3cb2e2=_0x449ba5[_0x24c4f5(0x23f)]([[_0x449ba5[_0x24c4f5(0x36d)],{'useClass':_0x4bf482[_0x24c4f5(0x16e)]}],[_0x4bf482[_0x24c4f5(0x1b8)]],[_0x4bf482['MemberService']],[_0x4bf482[_0x24c4f5(0x280)]],[_0x559bbf],[_0x4ebec9],[_0x5d6148],[_0x1fa16c],[_0x382c6e],[_0x4bf482['DataLoaderService']],[_0x559ff3,{'useClass':this[_0x24c4f5(0xf9)][_0x24c4f5(0x1f7)]}],[_0x4811d6[_0x24c4f5(0x36f)],{'useClass':_0x4bf482['SnapshotServerOverHTTPService']}],[_0x449ba5[_0x24c4f5(0x16d)],{'useClass':_0x4bf482[_0x24c4f5(0x395)]}],[_0x40ace2[_0x24c4f5(0x2b1)],{'useClass':_0x4bf482['CollaborationImageIoService']}],[_0x449ba5[_0x24c4f5(0x440)],{'useClass':_0x4bf482[_0x24c4f5(0x1c6)]}],[_0x4bf482[_0x24c4f5(0x164)]],[_0x3f6d3c]],(_0x17b92a=this[_0x24c4f5(0xf9)])==null?void 0x0:_0x17b92a[_0x24c4f5(0x221)]);if(!((_0x1b91a6=this[_0x24c4f5(0xf9)])!=null&&_0x1b91a6[_0x24c4f5(0x356)])){const _0x2f2d66=_0x3cb2e2[_0x24c4f5(0x342)](([_0x31e495])=>_0x31e495===_0x6f1b14);_0x2f2d66!==-0x1&&_0x3cb2e2[_0x24c4f5(0x3f1)](_0x2f2d66,0x1);}_0x449ba5[_0x24c4f5(0x425)](this['_injector'],_0x3cb2e2);}[_0x12ab33(0x2cf)](){var _0x498b08=_0x12ab33,_0xdb4e11,_0x22be32,_0x26a761;this[_0x498b08(0x401)][_0x498b08(0x1fa)](_0xcd2fb4[_0x498b08(0xfe)])[_0x498b08(0x2ce)]({'priority':0x14,'interceptor':_0xcd2fb4[_0x498b08(0x23a)]({'maxParallel':0x6})}),(_0xdb4e11=this[_0x498b08(0xf9)])!=null&&_0xdb4e11['enableOfflineEditing']||(_0x22be32=this[_0x498b08(0x401)][_0x498b08(0x1fa)](_0x6af55a,_0x449ba5['Quantity'][_0x498b08(0x3e0)]))==null||_0x22be32[_0x498b08(0x19e)](),(_0x26a761=this['_config'])!=null&&_0x26a761[_0x498b08(0x1dc)]&&_0x449ba5[_0x498b08(0x30e)](this[_0x498b08(0x401)],[[_0x559bbf]]),_0x449ba5[_0x498b08(0x30e)](this[_0x498b08(0x401)],[[_0x4ebec9],[_0x4bf482[_0x498b08(0x164)]],[_0x1fa16c]]);}},_0x45441b(_0x4bf482['UniverCollaborationClientPlugin'],_0x12ab33(0x198),_0x7ec1cb),_0x4bf482['UniverCollaborationClientPlugin']=_0xfca091([_0x449ba5[_0x12ab33(0x2a9)](_0x4811d6[_0x12ab33(0x29b)],_0xcd2fb4[_0x12ab33(0x1e7)]),_0x381425(0x1,_0x449ba5[_0x12ab33(0x37b)]),_0x381425(0x2,_0x449ba5[_0x12ab33(0x116)](_0x449ba5[_0x12ab33(0x298)])),_0x381425(0x3,_0x449ba5[_0x12ab33(0x388)])],_0x4bf482['UniverCollaborationClientPlugin']),_0x4bf482[_0x12ab33(0x19b)]=_0x433534,_0x4bf482['CollaborationStatus']=_0x1bd308,_0x4bf482[_0x12ab33(0x15c)]=_0x49a56d,_0x4bf482['CollaborationUIEventService']=_0x382c6e,_0x4bf482[_0x12ab33(0x100)]=_0x5d6148,_0x4bf482['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x19a15b,_0x4bf482['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0xa6350f,_0x4bf482[_0x12ab33(0x2c2)]=_0x71609,_0x4bf482[_0x12ab33(0x1a7)]=_0x5f4e3a,_0x4bf482['HEARTBEAT_TIMEOUT_KEY']=_0x5e9f32,_0x4bf482[_0x12ab33(0x332)]=_0x559ff3,_0x4bf482['ILocalCacheService']=_0x6af55a,_0x4bf482[_0x12ab33(0xcc)]=_0x22ffa0,_0x4bf482[_0x12ab33(0x29e)]=_0x6f1b14,_0x4bf482['LOCAL_CACHE_INTERVAL']=0x3e8,_0x4bf482[_0x12ab33(0x314)]=_0x395175,_0x4bf482[_0x12ab33(0x28a)]=_0x4a651b,_0x4bf482[_0x12ab33(0x114)]=_0x8019cb,_0x4bf482[_0x12ab33(0x1b9)]=_0x439d16,_0x4bf482[_0x12ab33(0x32a)]=_0x5f5425,_0x4bf482['deserializeToCombResponse']=_0x4820e4,_0x4bf482[_0x12ab33(0x284)]=_0x5bc769,_0x4bf482['serializeCombRequest']=_0x111693,Object['defineProperty'](_0x4bf482,Symbol['toStringTag'],{'value':'Module'});}));function _0x16cf(){var _0x27e3d0=['_imageSourceCache','SUBMIT_CHANGESET_TIMEOUT','_disableEditing','/fetchmissing?from=','DataLoaderService','encode','selections','dispose','_toggleOffline','UNIVER_SLIDE','_clearRetryConnectingTimer','append','_clearScheduledTask','newCsEvent','_reverseMap','_sendHeartbeatTimer','/universer-api/comb','subscribe','[UniverCollaborationClientPlugin]','_socket$','Could\x20not\x20dynamically\x20require\x20\x22','toDisposable','IUndoRedoService','mixIn','ISnapshotServerService','AwaitingWithPendingState','\x0aCurrent:\x20','_waitCount','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','CLOSE_ROOM','UniverProLicense','POST','_submitChangeset','fromCharCode','/universer-api/uniscript','ILogService','_getRedoStack','createIdentifier','_doCreateSocket','InsertSheetMutation','deepClone','CollaborationEvent','APPLY_REJECT','CHANGESET_REJ','_updateStatus','LocalUndoRedoService','LICENSE_DISTRO_REJECTED','reqId','IConfigService','blockSize','uploadFileServerUrl','IUniverInstanceService','message$','ClipsheetFragments','GLOBAL_ROOMS_CNT_EXCEEDS','PAYMENT_CHANNEL_NOT_SUPPORT','SyncedState','reset','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','image/jpg','add','AuthzIoHttpService','_sessionStatus$','PendingState','_changesetReqId','_initMergeInterceptor','People','finalize','_collaborationSessionService','randomBytes','getOwnPropertyDescriptor','Undefined','SOCKET_FAILED','retryConnectingInterval','auth.needGotoLoginAlert','ReplaySubject','post','confirm','sid','ERROR_EXCEED_SIZE','_sendingTimer','joinEvent','EvpKDF','patch','_remoteChangesetQueue','_collaborationTimeoutTimer','_substituteUndoStack','_configService','_nDataBytes','SNAPSHOT_HAS_BEEN_REMOVED','_keySchedule','COMPLETION_FINISHED','SheetsSelectionsService','getUnitStatus$','stringify','CollaborationSession','clone','COMMENT_UPDATE','UniverSheets','name','enc','HmacSHA1','put','_candidateSocket','take','emitEvent','UniverInstanceType','_telemetryInfo','_transformStateCache','resourceIDs','getCurrentRevOfUnit','UniverNetwork','change$','WorkbookEditablePermission','19hMyBCy','onLocalMutation','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','editing\x20status\x20changed\x20to','_startCollaboration','_data','ITransformService','OFFLINE','_localCacheService','MUTATION','_throwTelemetryCollaborationNewChangeset','synced','/universer-api/file/{fileID}/sign-url','_lockTransition','EMAIL_VERIFY_CODE_MISMATCH','_redoStacks','not_collab','collaborators','_collaborationPaused','_resendTimeout','_entityInit$','_onLocalMutation','OPTIONAL','_queuedRemoteChangesets','buffer','onTransformSelections','APPLY_REVISION_CONFILICT','_checkMissing','_clearHeartbeatTimer','getRoom','_awaitingChangeset','USER_NOT_INVITED_CODE','delete','target','_entities','NOT_FOUND','APPLY_NON_SEQUENTIAL_REVISION','_members$','textEncoder','splice','MSG_FOR_ERROR','LICENSE_IMPORT_SIZE_EXCEEDED','resolve','body','FileId','reduce','_cipher','loadSheet','snapshot','_onCombEvent','hasOwnProperty','_roomMembers','&assign=','CURRENT_STATUS_CANNOT_OPERATE','_logService','_injector','UnitEmbedded','event$','PSEUDO_FETCH_MISSING_RESULT','UNAUTHENTICATED','byteLength','INVITE_CODE_ALREADY_BOUND','_getCurrentRevision','LIVESHARE_REQUEST_HOST','onMissingChangesets','byteOffset','_commentUpdate$','_retryConnectingTimer','updateCursorEvent','YUUMI_NO_CUBOID_FOR_QUESTION','waitForRoom$','2314UohiNB','_commentService','_createHelper','YUUMI_ALL_TABLES_IS_INVALID','result','_networkConditionService','_maxTotalRetryTimeout','CollaborationImageIoService','_doFinalize','msCrypto','@univerjs/drawing','onMissedChangesetFetched','INTERNAL_ERROR','collaboration_new_changeset','parseProtocolChangeset','@univerjs/telemetry','merge','image/bmp','FAIL','type','registerDependencies','ALREADY_EXISTS','collaboration-client.local-cache-service','ERROR_AGAIN','join','JOIN_ROOM_FULL','interceptor','ENTITLE_CAN_NOT_BUY_LOWER_OTP','REDEMPTION_CODE_FULLY_REDEEMED','_tryReconnect','USERS_LEAVE','transformStack\x20failed!','JOIN','open$','FetchingMissState','_nRounds','cmd','_univerInstanceService','_timeoutTimer','crypto','href','Base64','image/gif','UniverCollaborationClientPlugin','copyFileMeta','getTypeOfUnitAdded$','awaiting','IMentionIOService','_clearCollaborationTimeoutTimer','subUnitId','startTime','HELLO','_onRemoteRejected','next','CollaborationEntity','JSONX','_executeRemoteChangeset','YUUMI_TABLE_NOT_FOUND_IN_UNIT','socket$','REDEMPTION_USER_NOT_ELIGIBLE','_startTelemetryCollaborationNewChangeset','NOT_COLLAB','onCommentUpdate','words','shouldCloseConn','_xformMode','_clearTimeoutTimer','_retryCount','$super','ImageSourceType','abs','AWAITING','[CollaborationSessionService]','onStateChange','_invKeySchedule','UNRECOGNIZED','_scheduleCompleteTimestamp','PERSON','HMAC','map','objectID','resend','INetworkConditionService','_clearLocalCache','Optional','workbook','UNIVER_PROJECT','rxjs','_syncEditingCollabCursor','_acknowledgedAwaitingChangeset','_DEC_XFORM_MODE','changesets','loadDoc','OpenSSL','_rescheduleHeartbeat','has','asObservable','WordArray','_updateLocalCache','_getAPIPrefix','ENTITLE_COUPON_USED_UP','roomInfos','/collaborator','getValue','list','updateMember','_sheetTransformSelectionsService','_httpService','length','allowed','getCurrentUser','pending','getLatestCsReqIdBySid','REDEMPTION_USER_REDEEM_TIMES_EXCEED','setWaitCount','isInternalEditorID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_DOC','_revisionService','17588THRfOc','235459IdXPGZ','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onTransformRemoteChangesetByIMECache','/universer-api/snapshot/','getUnit','@univerjs/sheets','charCodeAt','_config','_event$','SHOULD_CLOSE_CONN','_onJoinRoomEvent','CHANGESET_REVISION_CONFILICT','HTTPService','ENTITLE_CHAT_LIMIT_EXCEED','CommentService','_incrementRevisionNumber','_iv','LEAVE','unitId\x20is\x20not\x20found','_handlerCallback','Disposable','YUUMI_UNABLE_LOAD_URL','MentionType','unitId','Subject','10939848wvyinx','listRoles','_transformIMECache','csAckEvent','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','memberID','?url=','UniverProCollaborationClient','UserProfileImg','RETRY_CONNECTING_MAX_COUNT_KEY','_getUploadFileURL','Inject','/rev/','getAllMembers','CHANGESET_SHOULD_RETRY','_compressMutationService','update','getWorkbookSelections','_waitForHeartbeatResponse','onSyncEditingCollabCursor','getMember','onRemoteRej','getInterceptPoints','loadUnitOfRevision','avatar','onSendChangeset','push','Error\x20on\x20receiving\x20event','_scheduleCollaborationTimeoutTimer','createCollaborator','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_unitID','_socketService','_showConflictNotification','_createHandler','_change$','stopTime','random','save\x20fail\x20reason\x20is\x20','liveShareNewHost','_shouldReportTelemetry','fetchMissingChangesets','subject','SNAPSHOT_URL_KEY','AwaitingState','transformUndoRedo','duration','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Hasher','/object','USERS_ENTER','CBC','__creator','_collabSessionService','MOBILE_HAS_BEEN_BOUND','create','repeat','sendChangesetTimeout','_map','reconnect','ERROR_IMAGE_TYPE','Hex','baseRev','Encryptor','FETCH_MISSING','AES','createEncryptor','collaMsg','state','catch','PERMISSION_REJ','salt','collabWebSocketUrl','UniverProCollaboration','onRemoteRetry','max','_initRequestHeader','INVITE_CODE_REQUIRED','getCollabEntity','online$','lib','CollaborationUIEventId','delay','[CollaborationSession]','SYNCED','UserManagerService','_onOffline','__Key__','unpad','CollaborationController','_clearUndo','data','getTypeOfUnitDisposed$','5222789hQezPT','min','36thZojY','filter','_onConnectionFailed','IAuthzIoService','CollaborativeUndoRedoService','saveSheetBlock','ERROR_IMAGE','_getSendChangesetTimeout','_clearRedo','ENTITLE_DUP_SUBSCRIPTION','UnitSnapshot','Plugin','LICENSE_MAX_UNITS_EXCEEDED','onMutationExecutedForCollab','_keyPriorReset','onRemoteChangeset','_permissionService','forEach','routeKey','format','closeSession','_userManagerService','_transformService','APPLY_DUPLICATED','getGlobalObject','unitID','c1Prime','deleteCollaborator','ENTITLE_REPORT_LIMIT_EXCEED','_hasher','pipe','_onConnectionOpen','_localeService','_schedule','ciphertext','getConfig','_collaborationUIEventService','onTransformRemoteChangesetByStateCache','parse','session.room-not-exists','_isPermissionRej','_onMessage','WECHAT_HAS_BEEN_BOUND','ENTITLE_INVALID_COUPON_CODE','fetch_missing','collaboration-client.config','pluginName','send','univer-pro.collaboration-client.network-condition.service','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getFocusedUnit','_type','disableLocalCache','SHA1','MemberService','getTime','getActiveSheet','LOGIN_TOKEN_PROCESSING_FAILED','UNIVER_UNKNOWN','call','YUUMI_AI_RUN_FAILED','HEARTBEAT_INTERVAL_KEY','removeMember','/unit/','listCollaborators','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_doReset','LIVESHARE_OPERATION','_exhaustRemoteChangesetQueue','floor','parseChangesetToProtocol','transformMutationsWithChangeset','addHandlerCallback','awaiting_with_pending','SetSelectionsOperation','UNKNOWN_CODE','keySize','_HTTPService','CollaborationSessionService','SessionStatus','updateOfflineData','unsubscribe','_resendTimer','_sessions','[PendingState]:\x20received\x20acknowledgement.','padding','Tools','[FetchMissState]','encrypt','DisposableCollection','focused$','loadOfflineData','MentionIoHttpService','isTransformMutationsWithChangesetFailure','objectActions','PERMISSION_DENIED','commentUpdateEvent','Rectangle','location','session','JOIN_ROOM_FAILED','_status$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','from','getSheetBlock','clamp','OTHER_CLIENTS_EDITING','cfg','/universer-api/snapshot','_onRecvEvent','downloadEndpointUrl','onlyLocal','ivSize','decrypt','enableAuthServer','?size=','_getCtorByUniverType','UNDEFINED','_onRemoteChangeset','_emitMembers','_commandService','@univerjs/core','formatter','close','REDEMPTION_CODE_HAS_BEEN_CREATED','UniverNetworkPlugin','_transformSelections','method','operators','[OfflineState]:\x20received\x20changeset.','algo','localeService','Cipher','COMPRESS_MUTATION_SEND','_initUnitPermissionChange','ENTITLE_NEED_BILLING_ADDRESS','image/png','EmptyMutationInfo','_state','toString','_joinRoom','socketService','BehaviorSubject','/universer-api/stream/file/upload','get','_ENC_XFORM_MODE','RxDisposable','appendMutation','actions','members$','ConflictState','UUID','_listenToNetworkCondition','_undoRedoService','clear','addImageSourceCache','firstValueFrom','UNISCRIPT_RUN','REDEMPTION_CODE_NOT_STARTED','_transitionLocked','ICommandService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_getDownloadEndpointURL','ONLINE','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverDrawing','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','updatePermissionObjEvent','getSheetId','authzUrl','concat','_pendingMutations','BlockCipher','OTHER_CLIENT_EDITING','code','_onConflict','amd','_roomCreated$','ITelemetryService','2960140bTtuag','disposeWithMe','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_socket','override','_onRemoteRetry','isPermissionRej','hasher','shareReplay','DocCollaborationEntity','replace','[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.','_process','find','_singleActiveUnitService','encryptBlock','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','compose','compute','EMAIL_HAS_BEEN_BOUND','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SUCCUSS','SNAPSHOT_INVALID_SNAPSHOT','_tryEnsureSocket','ENSURE_SNAPSHOT_EXECUTION','encodeURIComponent','reverse','2139258SUyIQB','DATA_SOURCE_TOO_LARGE','ThresholdInterceptorFactory','DEFAULT_FILE_NAME','_doCryptBlock','csShouldRetryEvent','slice','mergeOverrideWithDependencies','complete','_handler','status','getDeserializedSheetBlock','APPLY_PERMISSION_DENIED','getImageSourceCache','Decryptor','AUTHORIZE_CODE_ILLEGAL','/role','UPDATE_CURSOR','setConfig','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPRESS_MUTATION_APPLY','isTransformChangesetsSuccess','IDLE','setCurrentUser','batchAllowed','YUUMI_URL_COL_OUT_OF_RANGE','_decreaseWaiting','title','HttpExport','{fileID}','_init','exports','/universer-api/oidc/authpage','origin','CONNECTOR_DATA_TOO_LARGE','set','INGEST','defineProperty','_snapshotService','readAsDataURL','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_resendWithTimeout','REDEMPTION_INVALID_CODE','_createSocket','pad','now','\x0aAfter:\x20','261LAPclJ','createSocket','offline','getMemberID','_key','csRejEvent','ws://127.0.0.1:8000/universer-api/comb/connect','TOO_MANY_REQUESTS','getUnitId','StreamCipher','commentUpdate$','roles','_socketMessageSubscription','onRemoteAck','headers','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','mode','getSnapshotAPIPath','[DataLoaderService]','leaveEvent','mapDocumentTypeToUniverType','params','session.room-full','key','_onUserJoin','SheetTransformSelectionsService','_doProcessBlock','loadUnit','size','getLocalCacheKey','_transformStack','object','_replayCachedMutations','_getAPIPrefixPath','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','/allowed','eventID','304bmHxzv','getImage','_createHmacHelper','/-/object/-/batch_allowed','_removeRoom','Utf8','prototype','_mode','CollaborationSocketService','_sender','values','Injector','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','RECV','UniverCollaborationPlugin','image/jpeg','executeCommand','ISingleActiveUnitService','requireSession','PY_RUNTIME_SCRIPT_ERROR','_getUndoStack','error$','ENTITLE_INSUFFICIENT_QUOTA','close$','_oKey','INVALID_ARGUMENT','charAt','/object/','DependentOn','_changesetSessionId','SnapshotServerOverHTTPService','submit\x20changeset\x20error!','enableCollaboration','_transformUndoredo','session.room-cnt-exceeds','HEARTBEAT_INTERVAL','IImageIoService','updatePermissionPoint','generateRandomId','extend','CommandType','YUUMI_ASYNCIO_CANCELLED','UniverDocs','file','transformChangesets','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','joinRsp','_hash','\x20in\x20_schedule.','originalMeta','fetchMiss','conflict','NEW_CHANGESETS','DEFAULT_WS_SESSION_TICKET_URL','setShowComponents','HTTPRequest','[CollaborationEntity]','CompressMutationService','requestParams','unknown','range','getResourcesRequest','YUUMI_RATE_OVER_LIMIT','_replaceFileID','/block/','registerHTTPInterceptor','_initDependencies','_initCloseConn','ceil','LIVESHARE_FETCH_OPERATIONS','sessionStatus$','10NBFqiZ','_append','OfflineState','_registerDependencies','_createInitialState','_members','MOBILE_VERIFY_CODE_MISMATCH','JOINING','rxjs/operators','state$','sessionStatus','saveImage','fetchThroughInterceptors','execute','sigBytes','Base','NO_OTHER_CLIENTS_EDITING','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','initWorkbookPermissionChange','__splitChunk__','unitInfo$','BufferedBlockAlgorithm','debug','string','_applyRemoteChangeset','SheetCollaborationEntity','UNKNOWN_CMD','every','sin','_snapshotServerService','error','_parse','CHANGESET_ACK','/-/object/list','connection\x20error','transformSelections','LIVESHARE_TERMINATE','PENDING','apply','[CollaborationState]:\x20apply\x20error!','REDEMPTION_CODE_INACTIVE','_onUserLeave','getUnitType','_telemetryService','reject','b64DecodeUnicode','[OfflineState]:\x20received\x20rejection.','toggleOnline','m2Prime','ImageUploadStatusType','textRanges','onTransformIME','SUBMIT_CHANGESET','LOGIN_FAILED','CipherParams','LocaleService','_memberService','userID','touchDependencies','Univer','MD5','function','LICENSE_EXPORT_SIZE_EXCEEDED','socket\x20close','LOCAL_CACHE_INTERVAL_KEY','then','RETRY_CONNECTING_MAX_COUNT','_unlockTransition','INVALID_INVITE_CODE','snapshotServerUrl','RichTextEditingMutation','indexOf','UPDATE_PERMISSION_OBJ','_stopTelemetryCollaborationNewChangeset','unit-cache-','Workbook','awaitingChangeset','getCurrentSelections','objectType','_sendHeartbeat','&source=','uniscriptRunEvent','[SyncedState]:\x20received\x20rejection.','_iKey','isArray','LIVESHARE_NEW_HOST','UnitStatus','Malformed\x20UTF-8\x20data','kdf','createDecryptor','NoPadding','getRandomValues','isTransformMutationsWithChangesetSuccess','startsWith','ICollaborationSocketService','_undoStacks','_substituteRedoStack','JOIN_ROOM_PERMISSION_DENIED','LOCAL_CACHE_INTERVAL','RevisionService','dispose$','HttpImport','fromCollab','toggleOffline','INVITE_CODE_HAS_BEEN_UES','init','SOCKET_FAILED_RETRY','CONFLICT','IPermissionService','_updateState','findIndex','UNIVER_SHEET','_getSignURL','socket\x20open.','localCacheService','_socketReady','_transformRemoteChangesetByIMECache','BASE64','_unitInfo$','takeUntil','HEARTBEAT','mutations','createInstance','infoRsp','_onFetchMissResult','_prevBlock','revision','onTransformState','getCollabEntity$','USER_NOT_FOUND','enableSingleActiveInstanceLock'];_0x16cf=function(){return _0x27e3d0;};return _0x16cf();}
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
function
|
|
5
|
+
function _0x30e2(){const _0x21c1e1=['pipe','waitForRoom$','loadUnit','@univerjs-pro/collaboration','SnapshotService','loadUnitOfRevision','Inject','getUnitId','2073PFkbAv','CollaborationStatus','UniverProCollaborationClientFacade','getCollaboration','136070uCSkNb','members$','10LrOdPf','@univerjs/core','object','Module','length','CollaborationController','loadSheetAsync','switchMap','loadServerUnitOfRevision','values','1488025SKItYY','DataLoaderService','Injector','loadActiveSheetAsync','_collaborationController','toDisposable','status','UniverProCollaborationClient','_snapshotService','3836zYRmrl','1561308BxVsTU','from','loadSheet','getUniverSheet','readyForCollab','FBase','_univerInstanceService','FCollaboration','state','104234yjYtGI','MemberService','14yHmbFY','getOwnPropertyDescriptor','extend','getCollabEntity','UniverCore','loadActiveSheet','IUniverInstanceService','rxjs','_handler','exports','defineProperty','FEnum','5602491SlsZOr','subscribeCollaborators','@univerjs-pro/collaboration-client','get','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','496072phezpD','_injector'];_0x30e2=function(){return _0x21c1e1;};return _0x30e2();}function _0x30cf(_0x1294df,_0x6dd310){_0x1294df=_0x1294df-0xf2;const _0x30e2a6=_0x30e2();let _0x30cf48=_0x30e2a6[_0x1294df];return _0x30cf48;}(function(_0x222e60,_0x41593b){const _0x5f02af=_0x30cf,_0x17985b=_0x222e60();while(!![]){try{const _0x43965d=-parseInt(_0x5f02af(0xf7))/0x1*(-parseInt(_0x5f02af(0x11a))/0x2)+parseInt(_0x5f02af(0x114))/0x3*(parseInt(_0x5f02af(0x12d))/0x4)+-parseInt(_0x5f02af(0x124))/0x5+parseInt(_0x5f02af(0x12e))/0x6+-parseInt(_0x5f02af(0xf9))/0x7*(parseInt(_0x5f02af(0x10a))/0x8)+-parseInt(_0x5f02af(0x105))/0x9+-parseInt(_0x5f02af(0x118))/0xa;if(_0x43965d===_0x41593b)break;else _0x17985b['push'](_0x17985b['shift']());}catch(_0x55533e){_0x17985b['push'](_0x17985b['shift']());}}}(_0x30e2,0x5e518),function(_0x4d95a8,_0x443383){const _0x44e0f3=_0x30cf;typeof exports==_0x44e0f3(0x11c)&&typeof module<'u'?_0x443383(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define=='function'&&define['amd']?define([_0x44e0f3(0x102),_0x44e0f3(0x107),'@univerjs/core/facade',_0x44e0f3(0x10f),_0x44e0f3(0x11b),'rxjs'],_0x443383):(_0x4d95a8=typeof globalThis<'u'?globalThis:_0x4d95a8||self,_0x443383(_0x4d95a8[_0x44e0f3(0x116)]={},_0x4d95a8[_0x44e0f3(0x12b)],_0x4d95a8['UniverCoreFacade'],_0x4d95a8['UniverProCollaboration'],_0x4d95a8[_0x44e0f3(0xfd)],_0x4d95a8[_0x44e0f3(0x100)]));}(this,function(_0x2d2eba,_0x5759bc,_0x17a848,_0x1577a2,_0x4929b0,_0x5a651f){'use strict';const _0x1e29c6=_0x30cf;class _0x453df2 extends _0x17a848[_0x1e29c6(0x104)]{get[_0x1e29c6(0x115)](){const _0x1c6bf5=_0x1e29c6;return _0x5759bc[_0x1c6bf5(0x115)];}}_0x17a848[_0x1e29c6(0x104)][_0x1e29c6(0xfb)](_0x453df2);var _0x5d1ffa=Object[_0x1e29c6(0xfa)],_0x1e8965=(_0x31c368,_0x1a8eab,_0x2896f0,_0x2c4668)=>{const _0xdf2124=_0x1e29c6;for(var _0x385a37=_0x2c4668>0x1?void 0x0:_0x2c4668?_0x5d1ffa(_0x1a8eab,_0x2896f0):_0x1a8eab,_0x5d9a00=_0x31c368[_0xdf2124(0x11e)]-0x1,_0xba0d29;_0x5d9a00>=0x0;_0x5d9a00--)(_0xba0d29=_0x31c368[_0x5d9a00])&&(_0x385a37=_0xba0d29(_0x385a37)||_0x385a37);return _0x385a37;},_0x480d7f=(_0x4e4e30,_0x102800)=>(_0x8bbbb3,_0x520c9c)=>_0x102800(_0x8bbbb3,_0x520c9c,_0x4e4e30);_0x2d2eba[_0x1e29c6(0xf5)]=class extends _0x17a848[_0x1e29c6(0xf3)]{constructor(_0x39bb96,_0x3ddafb,_0x2fdd0b,_0x5bad28,_0x2cae2c){const _0x5346da=_0x1e29c6;super(),this[_0x5346da(0x101)]=_0x39bb96,this[_0x5346da(0x10b)]=_0x3ddafb,this[_0x5346da(0xf4)]=_0x2fdd0b,this[_0x5346da(0x12c)]=_0x5bad28,this['_collaborationController']=_0x2cae2c;}async[_0x1e29c6(0xfe)](){const _0x1fa99e=_0x1e29c6;return this[_0x1fa99e(0x127)]();}async[_0x1e29c6(0x127)](){const _0x41c746=_0x1e29c6;throw new Error(_0x41c746(0x109));}async[_0x1e29c6(0x130)](_0x4c18c4){const _0x3b60b5=_0x1e29c6;return this[_0x3b60b5(0x120)](_0x4c18c4);}async['loadSheetAsync'](_0x18fd57,_0x2f5504){const _0x19e24c=_0x1e29c6;return await this[_0x19e24c(0x12c)]['loadSheet'](_0x18fd57,0x0,_0x2f5504)?(await this[_0x19e24c(0x128)][_0x19e24c(0xf2)](_0x18fd57),this[_0x19e24c(0x101)][_0x19e24c(0x131)](_0x18fd57)):null;}[_0x1e29c6(0x106)](_0x21037a,_0x3a4986){const _0x67afb2=_0x1e29c6,_0x4b6fb2=this[_0x67afb2(0x10b)][_0x67afb2(0x108)](_0x5759bc[_0x67afb2(0xf8)])[_0x67afb2(0x10d)](_0x21037a)[_0x67afb2(0x10c)](_0x5a651f[_0x67afb2(0x121)](_0x834788=>_0x834788[_0x67afb2(0x119)]))['subscribe'](_0x56458c=>_0x3a4986(Array[_0x67afb2(0x12f)](_0x56458c[_0x67afb2(0x123)]())));return _0x4929b0[_0x67afb2(0x129)](_0x4b6fb2);}['getCollaborationStatus'](){const _0x418db3=_0x1e29c6,_0x1c83ad=this[_0x418db3(0xf4)]['getFocusedUnit']();if(!_0x1c83ad)return _0x5759bc['CollaborationStatus']['NOT_COLLAB'];const _0x35cb34=this[_0x418db3(0x128)][_0x418db3(0xfc)](_0x1c83ad[_0x418db3(0x113)]());return _0x35cb34?_0x35cb34[_0x418db3(0xf6)][_0x418db3(0x12a)]:_0x5759bc[_0x418db3(0x115)]['NOT_COLLAB'];}},_0x2d2eba[_0x1e29c6(0xf5)]=_0x1e8965([_0x480d7f(0x1,_0x4929b0[_0x1e29c6(0x112)](_0x4929b0[_0x1e29c6(0x126)])),_0x480d7f(0x2,_0x4929b0[_0x1e29c6(0xff)]),_0x480d7f(0x3,_0x4929b0[_0x1e29c6(0x112)](_0x1577a2[_0x1e29c6(0x110)])),_0x480d7f(0x4,_0x4929b0[_0x1e29c6(0x112)](_0x5759bc[_0x1e29c6(0x11f)]))],_0x2d2eba[_0x1e29c6(0xf5)]);class _0x44d5aa extends _0x17a848['FUniver']{[_0x1e29c6(0x117)](){const _0x246f51=_0x1e29c6;return this[_0x246f51(0x10b)]['createInstance'](_0x2d2eba[_0x246f51(0xf5)],{'getUniverSheet':_0x219518=>this[_0x246f51(0x131)](_0x219518)});}['loadServerUnit'](_0x1ab017,_0x139819,_0x1ac678){const _0x152368=_0x1e29c6;return this[_0x152368(0x10b)][_0x152368(0x108)](_0x5759bc[_0x152368(0x125)])[_0x152368(0x10e)](_0x1ab017,_0x139819,_0x1ac678);}[_0x1e29c6(0x122)](_0x1c3db4,_0x23868f,_0x57b24b){const _0x2fff31=_0x1e29c6;return this[_0x2fff31(0x10b)]['get'](_0x5759bc[_0x2fff31(0x125)])[_0x2fff31(0x111)](_0x1c3db4,_0x23868f,_0x57b24b);}}_0x17a848['FUniver'][_0x1e29c6(0xfb)](_0x44d5aa),Object[_0x1e29c6(0x103)](_0x2d2eba,Symbol['toStringTag'],{'value':_0x1e29c6(0x11d)});}));
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
function _0x533d(_0x4ec67e,_0x47615a){_0x4ec67e=_0x4ec67e-0x137;const _0x4307e5=_0x4307();let _0x533d60=_0x4307e5[_0x4ec67e];return _0x533d60;}(function(_0xd4c929,_0x4c3d3f){const _0x1cfcd5=_0x533d,_0x112dbf=_0xd4c929();while(!![]){try{const _0x48ea2a=-parseInt(_0x1cfcd5(0x363))/0x1*(-parseInt(_0x1cfcd5(0x199))/0x2)+parseInt(_0x1cfcd5(0x2fe))/0x3+parseInt(_0x1cfcd5(0x242))/0x4+-parseInt(_0x1cfcd5(0x27f))/0x5*(parseInt(_0x1cfcd5(0x17a))/0x6)+parseInt(_0x1cfcd5(0x3cf))/0x7*(parseInt(_0x1cfcd5(0x1f5))/0x8)+-parseInt(_0x1cfcd5(0x212))/0x9*(parseInt(_0x1cfcd5(0x32d))/0xa)+-parseInt(_0x1cfcd5(0x16c))/0xb;if(_0x48ea2a===_0x4c3d3f)break;else _0x112dbf['push'](_0x112dbf['shift']());}catch(_0x162cb6){_0x112dbf['push'](_0x112dbf['shift']());}}}(_0x4307,0x4e4df),function(_0x205670,_0xaa4a85){const _0x16aa22=_0x533d;typeof exports==_0x16aa22(0x2d8)&&typeof module<'u'?_0xaa4a85(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==_0x16aa22(0x327)&&define[_0x16aa22(0x3e8)]?define([_0x16aa22(0x2e9),'react/jsx-runtime',_0x16aa22(0x29c),'@univerjs/core',_0x16aa22(0x1af),_0x16aa22(0x2b0),_0x16aa22(0x344),'react',_0x16aa22(0x209),_0x16aa22(0x185),'@univerjs/engine-render','@univerjs/network',_0x16aa22(0x216),_0x16aa22(0x202),_0x16aa22(0x213),_0x16aa22(0x256),'@univerjs/engine-formula','rxjs/operators',_0x16aa22(0x2a6)],_0xaa4a85):(_0x205670=typeof globalThis<'u'?globalThis:_0x205670||self,_0xaa4a85(_0x205670[_0x16aa22(0x397)]={},_0x205670[_0x16aa22(0x3b4)],_0x205670['UniverProCollaborationClient'],_0x205670[_0x16aa22(0x18b)],_0x205670['UniverUi'],_0x205670[_0x16aa22(0x2b0)],_0x205670[_0x16aa22(0x25d)],_0x205670[_0x16aa22(0x3b4)],_0x205670[_0x16aa22(0x286)],_0x205670[_0x16aa22(0x28e)],_0x205670[_0x16aa22(0x3cd)],_0x205670[_0x16aa22(0x2f7)],_0x205670[_0x16aa22(0x201)],_0x205670[_0x16aa22(0x33f)],_0x205670[_0x16aa22(0x254)],_0x205670[_0x16aa22(0x183)],_0x205670['UniverEngineFormula'],_0x205670[_0x16aa22(0x2b0)][_0x16aa22(0x3fc)],_0x205670[_0x16aa22(0x384)]));}(this,function(_0x44f94a,_0xfb03a,_0x792235,_0x4b903d,_0x109597,_0xdde2a6,_0x486dbb,_0x238001,_0x33e45c,_0x1901d9,_0x36ac30,_0x58c3fa,_0x809b8,_0x23d66c,_0x3810d3,_0x4c8112,_0x511fa6,_0x3a14cb,_0x4362f1){'use strict';const _0x151804=_0x533d;var _0x50376d=Object[_0x151804(0x163)],_0x389527=(_0x244681,_0x1e533b,_0x510d94)=>_0x1e533b in _0x244681?_0x50376d(_0x244681,_0x1e533b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x510d94}):_0x244681[_0x1e533b]=_0x510d94,_0x198f8a=(_0x4f6ac4,_0x57443d,_0xdabf2a)=>_0x389527(_0x4f6ac4,typeof _0x57443d!='symbol'?_0x57443d+'':_0x57443d,_0xdabf2a);function _0x51c0cd({ref:_0x17269c,..._0x416f3a}){const _0x4d9b3e=_0x151804,{icon:_0x2bc38f,id:_0x57ba11,className:_0x3f9bda,extend:_0x2aff11,..._0x5eeb01}=_0x416f3a,_0x4d153b=(_0x4d9b3e(0x37e)+_0x57ba11+'\x20'+(_0x3f9bda||''))[_0x4d9b3e(0x317)](),_0x3b893d=_0x238001[_0x4d9b3e(0x309)]('_'+_0x3c3b11());return _0x1c62e5(_0x2bc38f,''+_0x57ba11,{'defIds':_0x2bc38f[_0x4d9b3e(0x332)],'idSuffix':_0x3b893d[_0x4d9b3e(0x1df)]},{'ref':_0x17269c,'className':_0x4d153b,..._0x5eeb01},_0x2aff11);}function _0x1c62e5(_0x550ff2,_0x47b52f,_0xe1e65a,_0x2ddaf9,_0x4ea87b){const _0x5bd99d=_0x151804;return _0x238001[_0x5bd99d(0x239)](_0x550ff2[_0x5bd99d(0x28a)],{'key':_0x47b52f,..._0x1775dc(_0x550ff2,_0xe1e65a,_0x4ea87b),..._0x2ddaf9},(_0x2184ea(_0x550ff2,_0xe1e65a)['children']||[])[_0x5bd99d(0x2a2)]((_0x6b88a1,_0x146254)=>_0x1c62e5(_0x6b88a1,_0x47b52f+'-'+_0x550ff2[_0x5bd99d(0x28a)]+'-'+_0x146254,_0xe1e65a,void 0x0,_0x4ea87b)));}function _0x1775dc(_0x1a5489,_0x4a3622,_0x1e727a){const _0x14c13c=_0x151804,_0x44a469={..._0x1a5489['attrs']};_0x1e727a!=null&&_0x1e727a[_0x14c13c(0x39c)]&&_0x44a469[_0x14c13c(0x385)]===_0x14c13c(0x39c)&&(_0x44a469[_0x14c13c(0x385)]=_0x1e727a[_0x14c13c(0x39c)]),_0x1a5489[_0x14c13c(0x28a)]===_0x14c13c(0x1ce)&&_0x44a469['id']&&(_0x44a469['id']=_0x44a469['id']+_0x4a3622[_0x14c13c(0x367)]),Object[_0x14c13c(0x3e3)](_0x44a469)[_0x14c13c(0x293)](([_0x4f132e,_0x1a74e0])=>{const _0x14f3f3=_0x14c13c;_0x4f132e===_0x14f3f3(0x1ce)&&typeof _0x1a74e0==_0x14f3f3(0x15a)&&(_0x44a469[_0x4f132e]=_0x1a74e0[_0x14f3f3(0x2dd)](/url\(#(.*)\)/,'url(#$1'+_0x4a3622['idSuffix']+')'));});const {defIds:_0x359fad}=_0x4a3622;return!_0x359fad||_0x359fad[_0x14c13c(0x3e7)]===0x0||(_0x1a5489[_0x14c13c(0x28a)]===_0x14c13c(0x302)&&_0x44a469[_0x14c13c(0x197)]&&(_0x44a469['xlink:href']=_0x44a469[_0x14c13c(0x197)]+_0x4a3622[_0x14c13c(0x367)]),Object['entries'](_0x44a469)[_0x14c13c(0x293)](([_0x71fcdf,_0x38fca2])=>{const _0x20fada=_0x14c13c;typeof _0x38fca2==_0x20fada(0x15a)&&(_0x44a469[_0x71fcdf]=_0x38fca2[_0x20fada(0x2dd)](/url\(#(.*)\)/,_0x20fada(0x40c)+_0x4a3622[_0x20fada(0x367)]+')'));})),_0x44a469;}function _0x2184ea(_0x3aedf0,_0x479a83){const _0x570908=_0x151804;var _0x2dad87;const {defIds:_0x432ea2}=_0x479a83;return!_0x432ea2||_0x432ea2['length']===0x0?_0x3aedf0:_0x3aedf0['tag']===_0x570908(0x365)&&((_0x2dad87=_0x3aedf0['children'])!=null&&_0x2dad87[_0x570908(0x3e7)])?{..._0x3aedf0,'children':_0x3aedf0[_0x570908(0x18e)]['map'](_0x34b3ca=>typeof _0x34b3ca[_0x570908(0x21b)]['id']==_0x570908(0x15a)&&_0x432ea2&&_0x432ea2[_0x570908(0x36d)](_0x34b3ca[_0x570908(0x21b)]['id'])?{..._0x34b3ca,'attrs':{..._0x34b3ca[_0x570908(0x21b)],'id':_0x34b3ca[_0x570908(0x21b)]['id']+_0x479a83['idSuffix']}}:_0x34b3ca)}:_0x3aedf0;}function _0x3c3b11(){const _0x164f8f=_0x151804;return Math[_0x164f8f(0x258)]()[_0x164f8f(0x41b)](0x24)[_0x164f8f(0x40b)](0x2,0x8);}_0x51c0cd['displayName']=_0x151804(0x29b);const _0x53eabb={'tag':_0x151804(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x151804(0x287),'height':_0x151804(0x287)},'children':[{'tag':'g','attrs':{'clipPath':_0x151804(0x364)},'children':[{'tag':_0x151804(0x1fc),'attrs':{'stroke':_0x151804(0x26c),'d':_0x151804(0x2da),'strokeLinecap':_0x151804(0x1c8),'strokeLinejoin':_0x151804(0x1c8),'strokeWidth':1.2}}]},{'tag':_0x151804(0x365),'attrs':{},'children':[{'tag':_0x151804(0x23a),'attrs':{'id':_0x151804(0x16e)},'children':[{'tag':_0x151804(0x1fc),'attrs':{'fill':_0x151804(0x35e),'d':_0x151804(0x31e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x431690=_0x238001[_0x151804(0x36e)](function(_0xb5645e,_0x597bfa){const _0x24ed04=_0x151804;return _0x238001[_0x24ed04(0x239)](_0x51c0cd,Object[_0x24ed04(0x3e6)]({},_0xb5645e,{'id':_0x24ed04(0x3ad),'ref':_0x597bfa,'icon':_0x53eabb}));});_0x431690[_0x151804(0x318)]='OffLineIcon';const _0x19b909={'tag':_0x151804(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x151804(0x329),'width':_0x151804(0x287),'height':_0x151804(0x287)},'children':[{'tag':'g','attrs':{'clipPath':_0x151804(0x37d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x151804(0x1be),'strokeLinecap':'round','strokeLinejoin':_0x151804(0x1c8),'strokeWidth':1.2}}]},{'tag':_0x151804(0x365),'attrs':{},'children':[{'tag':_0x151804(0x23a),'attrs':{'id':_0x151804(0x3e4)},'children':[{'tag':'path','attrs':{'fill':_0x151804(0x35e),'d':_0x151804(0x31e),'transform':_0x151804(0x260)}}]}]}],'defIds':[_0x151804(0x3e4)]},_0x301947=_0x238001[_0x151804(0x36e)](function(_0x3e7994,_0x4185fb){const _0x55d5dc=_0x151804;return _0x238001[_0x55d5dc(0x239)](_0x51c0cd,Object[_0x55d5dc(0x3e6)]({},_0x3e7994,{'id':'on-line-icon','ref':_0x4185fb,'icon':_0x19b909}));});_0x301947[_0x151804(0x318)]='OnLineIcon';function _0x48e103(_0x51ab06){const _0xad379a=_0x151804;switch(_0x51ab06){case _0x792235[_0xad379a(0x17c)][_0xad379a(0x1e9)]:return _0xad379a(0x161);case _0x792235[_0xad379a(0x17c)]['CONFLICT']:return _0xad379a(0x22f);case _0x792235[_0xad379a(0x17c)][_0xad379a(0x1f0)]:return'collabStatus.fetchMiss';case _0x792235['CollaborationStatus'][_0xad379a(0x283)]:return _0xad379a(0x259);case _0x792235['CollaborationStatus'][_0xad379a(0x23f)]:case _0x792235[_0xad379a(0x17c)]['AWAITING_WITH_PENDING']:return _0xad379a(0x30b);case _0x792235[_0xad379a(0x17c)]['SYNCED']:case _0x792235[_0xad379a(0x17c)][_0xad379a(0x2e1)]:return _0xad379a(0x1c0);}}function _0x5f1a43(_0x2c9324){const _0xf116d=_0x151804,{status$:_0x379821}=_0x2c9324,_0x2213ce=_0x109597[_0xf116d(0x1a6)](_0x379821,_0x792235[_0xf116d(0x17c)][_0xf116d(0x283)]),_0x4d661d=_0x109597['useDependency'](_0x4b903d['LocaleService']),_0x5d330a=_0x109597[_0xf116d(0x17b)](_0x792235[_0xf116d(0x167)]),_0x546260=_0x2213ce!==_0x792235['CollaborationStatus'][_0xf116d(0x1e9)],_0x159d06=_0x4d661d['t'](_0x48e103(_0x2213ce)),_0x5df6a2=_0x546260?_0xfb03a[_0xf116d(0x2e6)](_0x301947,{}):_0xfb03a[_0xf116d(0x2e6)](_0x431690,{}),_0x4e257b=_0x238001[_0xf116d(0x158)](()=>{const _0x572561=_0xf116d;_0x546260||_0x5d330a[_0x572561(0x1d5)]();},[_0x546260,_0x5d330a]);function _0x1f91bb(){const _0x4f2aa3=_0xf116d;return _0xfb03a['jsxs'](_0x4f2aa3(0x388),{'className':'univer-flex\x20univer-items-center','onClick':_0x4e257b,'children':[_0xfb03a['jsx'](_0x4f2aa3(0x388),{'className':_0x486dbb['clsx'](_0x4f2aa3(0x2cb),{'univer-text-green-500':_0x546260,'univer-text-red-500':!_0x546260}),'children':_0x5df6a2}),_0xfb03a[_0x4f2aa3(0x2e6)]('div',{'className':_0x4f2aa3(0x413),'children':_0x159d06})]});}return _0x546260?_0x1f91bb():_0xfb03a['jsx'](_0x486dbb[_0xf116d(0x164)],{'title':_0x4d661d['t']('collab-client.tooltip.reconnect'),'children':_0x1f91bb()});}var _0x5a7322=Object[_0x151804(0x277)],_0x517187=(_0x2d158d,_0x1709f3,_0x2ad856,_0x4a5294)=>{const _0x143fd4=_0x151804;for(var _0x48a7f2=_0x4a5294>0x1?void 0x0:_0x4a5294?_0x5a7322(_0x1709f3,_0x2ad856):_0x1709f3,_0x341914=_0x2d158d[_0x143fd4(0x3e7)]-0x1,_0x465370;_0x341914>=0x0;_0x341914--)(_0x465370=_0x2d158d[_0x341914])&&(_0x48a7f2=_0x465370(_0x48a7f2)||_0x48a7f2);return _0x48a7f2;},_0x1ac339=(_0x26024a,_0x2ac476)=>(_0xc5b000,_0x272d17)=>_0x2ac476(_0xc5b000,_0x272d17,_0x26024a);_0x44f94a[_0x151804(0x2ce)]=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x21f586,_0x43945e,_0x4b0bd3,_0x5be000){const _0x1790f0=_0x151804;super(),_0x198f8a(this,_0x1790f0(0x251),new _0xdde2a6[(_0x1790f0(0x2f9))](_0x792235[_0x1790f0(0x17c)][_0x1790f0(0x283)])),(this['_univerInstanceService']=_0x21f586,this[_0x1790f0(0x410)]=_0x43945e,this[_0x1790f0(0x268)]=_0x4b0bd3,this[_0x1790f0(0x252)]=_0x5be000,this['_initStatusComponent'](),this[_0x1790f0(0x1dd)]());}[_0x151804(0x1dd)](){const _0x3e948c=_0x151804;this[_0x3e948c(0x2f8)](this[_0x3e948c(0x224)][_0x3e948c(0x414)][_0x3e948c(0x2cc)](_0xdde2a6[_0x3e948c(0x214)](()=>{const _0x4cf0c9=_0x3e948c,_0x479c41=this['_univerInstanceService'][_0x4cf0c9(0x265)]();return _0x479c41?this[_0x4cf0c9(0x268)]['getCollabEntity$'](_0x479c41[_0x4cf0c9(0x192)]()):_0xdde2a6['of'](null);}),_0xdde2a6['switchMap'](_0x403631=>_0x403631?_0x403631[_0x3e948c(0x2a0)]:_0xdde2a6['of'](_0x792235['CollaborationStatus']['NOT_COLLAB'])))[_0x3e948c(0x24d)](_0x17a2a6=>{const _0x4227df=_0x3e948c;this[_0x4227df(0x251)][_0x4227df(0x3ef)](_0x17a2a6);}));}[_0x151804(0x1c1)](){const _0x2eabef=_0x151804;this[_0x2eabef(0x2f8)](this[_0x2eabef(0x252)][_0x2eabef(0x218)](_0x109597['BuiltInUIPart'][_0x2eabef(0x16f)],()=>_0x109597[_0x2eabef(0x3f5)](_0x422b57({'status$':this[_0x2eabef(0x251)]['asObservable']()}),this[_0x2eabef(0x410)])));}},_0x44f94a[_0x151804(0x2ce)]=_0x517187([_0x1ac339(0x0,_0x4b903d[_0x151804(0x342)]),_0x1ac339(0x1,_0x4b903d['Inject'](_0x4b903d['Injector'])),_0x1ac339(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235['CollaborationController'])),_0x1ac339(0x3,_0x109597[_0x151804(0x15e)])],_0x44f94a[_0x151804(0x2ce)]);function _0x422b57(_0x1ea306){const {status$:_0xae0696}=_0x1ea306;return function(){const _0x170353=_0x533d;return _0xfb03a[_0x170353(0x2e6)](_0x5f1a43,{'status$':_0xae0696});};}const _0x1c59a7=_0x4b903d[_0x151804(0x412)]('uni.network.url-service');var _0x8c05f0=Object[_0x151804(0x277)],_0x4cebe7=(_0xa71761,_0x31b8a1,_0x1268d2,_0x373ec7)=>{const _0x2fc163=_0x151804;for(var _0x58bc65=_0x373ec7>0x1?void 0x0:_0x373ec7?_0x8c05f0(_0x31b8a1,_0x1268d2):_0x31b8a1,_0x3762a4=_0xa71761[_0x2fc163(0x3e7)]-0x1,_0x30b098;_0x3762a4>=0x0;_0x3762a4--)(_0x30b098=_0xa71761[_0x3762a4])&&(_0x58bc65=_0x30b098(_0x58bc65)||_0x58bc65);return _0x58bc65;},_0x3fa3f2=(_0x394b2e,_0x5205b1)=>(_0x18e66d,_0x1933c6)=>_0x5205b1(_0x18e66d,_0x1933c6,_0x394b2e);_0x44f94a[_0x151804(0x278)]=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x4973db,_0x274b87,_0x5e6e84,_0x4d922d,_0x294509){const _0x473d10=_0x151804;super(),this[_0x473d10(0x1da)]=_0x4973db,this[_0x473d10(0x338)]=_0x274b87,this[_0x473d10(0x1c6)]=_0x5e6e84,this[_0x473d10(0x3d0)]=_0x4d922d,_0x294509?_0x294509==null||_0x294509[_0x473d10(0x20f)]()[_0x473d10(0x39b)](()=>this['_init']()):(this['_logService'][_0x473d10(0x274)](_0x473d10(0x407),_0x473d10(0x200)),this[_0x473d10(0x1b2)]());}async[_0x151804(0x1b2)](){const _0x229487=_0x151804,_0x6e6b9c=this[_0x229487(0x1da)]['getParam'](_0x229487(0x330)),_0x49749b=this['_urlService'][_0x229487(0x3e9)](_0x229487(0x276)),_0x5ccd14=this[_0x229487(0x1da)][_0x229487(0x3e9)]('subunit');if(!_0x6e6b9c||!_0x49749b){this[_0x229487(0x338)]['debug'](_0x229487(0x407),_0x229487(0x20b));return;}const _0x5213f2=await this[_0x229487(0x3d0)][_0x229487(0x34f)](_0x6e6b9c,Number(_0x49749b),_0x5ccd14);_0x5213f2&&_0x5213f2 instanceof _0x4b903d[_0x229487(0x229)]&&this[_0x229487(0x3b7)](_0x5213f2);}async[_0x151804(0x3b7)](_0x18a8ba){const _0x3f4019=_0x151804;await this[_0x3f4019(0x325)](_0x18a8ba),_0x18a8ba['activeSheet$'][_0x3f4019(0x2cc)](_0xdde2a6[_0x3f4019(0x23e)](this['dispose$']))[_0x3f4019(0x24d)](_0x27b09c=>{const _0x46a9d5=_0x3f4019;_0x27b09c&&this[_0x46a9d5(0x409)](_0x27b09c);}),this[_0x3f4019(0x1da)][_0x3f4019(0x39d)]['pipe'](_0xdde2a6[_0x3f4019(0x23e)](this['dispose$']))[_0x3f4019(0x24d)](()=>this[_0x3f4019(0x325)](_0x18a8ba));}[_0x151804(0x409)](_0x2e125e,_0x47725c=!0x1){const _0x2e950f=_0x151804,_0x2cf3bf=this[_0x2e950f(0x1da)]['getParam'](_0x2e950f(0x420));_0x2e125e[_0x2e950f(0x1ed)]()!==_0x2cf3bf&&this[_0x2e950f(0x1da)]['setParam'](_0x2e950f(0x420),_0x2e125e[_0x2e950f(0x1ed)](),_0x47725c);}async[_0x151804(0x325)](_0x3918d2){const _0x44b049=_0x151804;var _0x39b33e;const _0xe41756=this['_urlService'][_0x44b049(0x3e9)](_0x44b049(0x420));if(!_0xe41756||!_0x3918d2[_0x44b049(0x3cc)](_0xe41756)){const _0x5e47ef=_0x3918d2[_0x44b049(0x1b3)]()[0x0],_0x1e507c=_0x3918d2['getSheetBySheetId'](_0x5e47ef);if(!_0x1e507c)return;this['_updateURLWithCurrentState'](_0x1e507c,!0x0),await this[_0x44b049(0x1c6)][_0x44b049(0x3fd)](_0x1901d9[_0x44b049(0x150)]['id'],{'unitId':_0x3918d2['getUnitId'](),'subUnitId':_0x5e47ef});return;}((_0x39b33e=_0x3918d2[_0x44b049(0x169)]())==null?void 0x0:_0x39b33e[_0x44b049(0x1ed)]())!==_0xe41756&&await this['_commandService'][_0x44b049(0x3fd)](_0x1901d9['SetWorksheetActivateCommand']['id'],{'unitId':_0x3918d2['getUnitId'](),'subUnitId':_0xe41756});}},_0x44f94a[_0x151804(0x278)]=_0x4cebe7([_0x3fa3f2(0x0,_0x1c59a7),_0x3fa3f2(0x1,_0x4b903d[_0x151804(0x1d4)]),_0x3fa3f2(0x2,_0x4b903d['ICommandService']),_0x3fa3f2(0x3,_0x4b903d['Inject'](_0x792235['DataLoaderService'])),_0x3fa3f2(0x4,_0x4b903d[_0x151804(0x1c4)](_0x33e45c['IRemoteInstanceService']))],_0x44f94a[_0x151804(0x278)]);var _0x54ac13=Object[_0x151804(0x277)],_0xe4b5de=(_0x4c9d3c,_0x519b99,_0x4066c7,_0xda8735)=>{const _0xb6e167=_0x151804;for(var _0x2cea79=_0xda8735>0x1?void 0x0:_0xda8735?_0x54ac13(_0x519b99,_0x4066c7):_0x519b99,_0x2b2564=_0x4c9d3c[_0xb6e167(0x3e7)]-0x1,_0x51b13d;_0x2b2564>=0x0;_0x2b2564--)(_0x51b13d=_0x4c9d3c[_0x2b2564])&&(_0x2cea79=_0x51b13d(_0x2cea79)||_0x2cea79);return _0x2cea79;},_0x922270=(_0x133a70,_0x3ea5ed)=>(_0xc1134e,_0x4d8a47)=>_0x3ea5ed(_0xc1134e,_0x4d8a47,_0x133a70);let _0x479999=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x1fe75e,_0x28f342){const _0x30b007=_0x151804;super(),this[_0x30b007(0x2bc)]=_0x1fe75e,this[_0x30b007(0x375)]=_0x28f342,this['_init']();}[_0x151804(0x1b2)](){const _0x523ce1=_0x151804,_0x1184f8=this;this[_0x523ce1(0x2f8)](this[_0x523ce1(0x2bc)][_0x523ce1(0x32f)]({'onBeforePasteImage':async _0x421807=>{const _0x5c7197=_0x523ce1,_0x231720=await _0x1184f8[_0x5c7197(0x375)][_0x5c7197(0x2c8)](_0x421807);return _0x231720?{'source':_0x231720[_0x5c7197(0x24e)],'imageSourceType':_0x231720[_0x5c7197(0x215)]}:null;}}));}};_0x479999=_0xe4b5de([_0x922270(0x0,_0x809b8[_0x151804(0x1b7)]),_0x922270(0x1,_0x23d66c['IImageIoService'])],_0x479999);const _0x3634fe=[_0x151804(0x18f),_0x151804(0x1db),_0x151804(0x40d),_0x151804(0x230),_0x151804(0x3f2),_0x151804(0x1a1)];class _0x2042e7 extends _0x4b903d[_0x151804(0x176)]{constructor(){const _0xd3cf12=_0x151804;super(...arguments),_0x198f8a(this,'_assignedColors',new Map()),_0x198f8a(this,_0xd3cf12(0x140),0x0);}['assignAColorForMemberID'](_0x16f472){const _0x405f42=_0x151804;if(this[_0x405f42(0x3c2)][_0x405f42(0x326)](_0x16f472))return this[_0x405f42(0x3c2)][_0x405f42(0x1a2)](_0x16f472);const _0x11b58d=_0x3634fe[this[_0x405f42(0x140)]];return this[_0x405f42(0x140)]=(this[_0x405f42(0x140)]+0x1)%_0x3634fe['length'],this[_0x405f42(0x3c2)][_0x405f42(0x2d7)](_0x16f472,_0x11b58d),_0x11b58d;}}function _0x3e3b6a(_0x520b66){const _0x454bf9=_0x151804;let _0x4b6b21='';for(const _0x297450 of _0x520b66){const {startOffset:_0x1a1dac,endOffset:_0x2b2fb0,isActive:_0x34f6e7,rangeType:_0xf61556,segmentId:_0x2f50df,segmentPage:_0x54f942}=_0x297450;_0x4b6b21[_0x454bf9(0x3e7)]&&(_0x4b6b21+=','),_0x4b6b21+=_0x1a1dac+':'+_0x2b2fb0+':'+(_0x34f6e7?'1':'0')+':'+_0xf61556+':'+_0x2f50df+':'+_0x54f942;}return _0x4b6b21;}function _0x524705(_0x52de8a){const _0x21ef59=_0x151804,_0x2245a8=_0x52de8a[_0x21ef59(0x3fe)](','),_0x4cecfc=[];for(const _0x573be5 of _0x2245a8){const [_0x4aaf5b,_0x2643a5,_0x33c38f,_0x38eae1,_0x5cdfd7,_0x1e3048]=_0x573be5[_0x21ef59(0x3fe)](':');_0x4cecfc[_0x21ef59(0x1eb)]({'startOffset':Number(_0x4aaf5b),'endOffset':Number(_0x2643a5),'collapsed':_0x4aaf5b===_0x2643a5,'isActive':_0x33c38f==='1','rangeType':_0x38eae1===_0x4b903d['DOC_RANGE_TYPE']['TEXT']?_0x4b903d[_0x21ef59(0x1f6)][_0x21ef59(0x190)]:_0x4b903d['DOC_RANGE_TYPE'][_0x21ef59(0x3dc)],'segmentId':typeof _0x5cdfd7==_0x21ef59(0x15a)?String(_0x5cdfd7):'','segmentPage':Number(_0x1e3048!=null?_0x1e3048:-0x1)});}return _0x4cecfc[_0x21ef59(0x1a3)](_0xaaf12f=>_0xaaf12f[_0x21ef59(0x1fd)])||(_0x4cecfc[0x0][_0x21ef59(0x1fd)]=!0x0),_0x4cecfc;}class _0x103d56 extends _0x4b903d[_0x151804(0x35d)]{constructor(){const _0x5da679=_0x151804;super(...arguments),_0x198f8a(this,_0x5da679(0x1a4),new _0xdde2a6[(_0x5da679(0x2f9))](null)),_0x198f8a(this,_0x5da679(0x2bb),this['_collabCursorState$'][_0x5da679(0x1a5)]());}[_0x151804(0x3d8)](_0x22e76a){const {unitID:_0x3c044d,memberID:_0x1ed431,textRanges:_0x48c0f1}=_0x22e76a,_0x4ebb7c=_0x3e3b6a(_0x48c0f1);if(_0x4ebb7c==='')return;const _0x22dc83={'unitID':_0x3c044d,'memberID':_0x1ed431,'selection':_0x4ebb7c};this['_collabCursorState$']['next'](_0x22dc83);}}var _0x126698=Object[_0x151804(0x277)],_0x537264=(_0x91b8b0,_0x67d8ca,_0x629d44,_0x39355e)=>{const _0x3e6720=_0x151804;for(var _0xe43cac=_0x39355e>0x1?void 0x0:_0x39355e?_0x126698(_0x67d8ca,_0x629d44):_0x67d8ca,_0xd468f0=_0x91b8b0[_0x3e6720(0x3e7)]-0x1,_0xee85e3;_0xd468f0>=0x0;_0xd468f0--)(_0xee85e3=_0x91b8b0[_0xd468f0])&&(_0xe43cac=_0xee85e3(_0xe43cac)||_0xe43cac);return _0xe43cac;},_0x4424dd=(_0x1527e4,_0x5ea11e)=>(_0x39602b,_0xea9f8)=>_0x5ea11e(_0x39602b,_0xea9f8,_0x1527e4);const _0x21deab=0x12c,_0xaed1ed=0x64;let _0xe1e1b0=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x1ce692,_0x1c50f6,_0x22c829,_0x2afd99,_0x26a03d,_0x4c2a51,_0x382e52,_0x52dfb6,_0x371870){const _0x188104=_0x151804;super(),_0x198f8a(this,_0x188104(0x263),!0x1),_0x198f8a(this,'_init',!0x1),_0x198f8a(this,'_cursorInfo$',new _0xdde2a6['BehaviorSubject'](new Map())),_0x198f8a(this,_0x188104(0x29f),this[_0x188104(0x282)][_0x188104(0x1a5)]()),_0x198f8a(this,_0x188104(0x1fe),new _0xdde2a6[(_0x188104(0x2f9))]([])),_0x198f8a(this,_0x188104(0x15c),this['_roomMembers$'][_0x188104(0x2cc)](_0xdde2a6[_0x188104(0x1c7)](_0x21deab))),_0x198f8a(this,_0x188104(0x2df),_0x4b903d[_0x188104(0x2ac)](_0x541da9=>{const _0xbf9622=_0x188104,_0x30cce3={'eventID':_0x3810d3[_0xbf9622(0x219)][_0xbf9622(0x2b1)],'data':{'unitID':this[_0xbf9622(0x36b)],'memberID':this[_0xbf9622(0x38b)][_0xbf9622(0x248)](),'selection':_0x3e3b6a(_0x541da9)}};this[_0xbf9622(0x38b)][_0xbf9622(0x3bb)](_0x30cce3,this[_0xbf9622(0x36b)]);},_0xaed1ed)),(this[_0x188104(0x36b)]=_0x1ce692,this[_0x188104(0x38b)]=_0x1c50f6,this[_0x188104(0x410)]=_0x22c829,this['_colorAssignService']=_0x2afd99,this['_memberService']=_0x26a03d,this[_0x188104(0x383)]=_0x4c2a51,this[_0x188104(0x21a)]=_0x382e52,this[_0x188104(0x224)]=_0x52dfb6,this[_0x188104(0x1c6)]=_0x371870);}get[_0x151804(0x1bf)](){const _0x24e2e5=_0x151804;return this['_cursorInfo$'][_0x24e2e5(0x313)]();}get[_0x151804(0x22b)](){const _0x25be5e=_0x151804;return this['_roomMembers$'][_0x25be5e(0x313)]();}[_0x151804(0x2b9)](){const _0x27ede6=_0x151804;super[_0x27ede6(0x2b9)](),this[_0x27ede6(0x282)][_0x27ede6(0x3ef)](new Map()),this[_0x27ede6(0x282)]['complete'](),this[_0x27ede6(0x1fe)][_0x27ede6(0x3ef)]([]),this[_0x27ede6(0x1fe)]['complete']();}['init'](){const _0x39cc71=_0x151804;this[_0x39cc71(0x1b2)]||(this['_init']=!0x0,this['_session'][_0x39cc71(0x1f4)][_0x39cc71(0x2cc)](_0xdde2a6['takeUntil'](this['dispose$']))['subscribe'](_0x3c67c1=>{const _0xeac753=_0x39cc71;_0x3c67c1===_0x792235[_0xeac753(0x226)]['ONLINE']?this[_0xeac753(0x191)]():this['_toggleOffline']();}),this[_0x39cc71(0x38b)][_0x39cc71(0x15b)][_0x39cc71(0x2cc)](_0xdde2a6[_0x39cc71(0x23e)](this[_0x39cc71(0x2ef)]))['subscribe'](_0x3c7ed1=>{const _0x187987=_0x39cc71,_0x46f9c2=_0x3c7ed1[_0x187987(0x2b7)];_0x46f9c2===_0x3810d3[_0x187987(0x219)][_0x187987(0x2b1)]&&this[_0x187987(0x193)](_0x3c7ed1),_0x46f9c2===_0x3810d3[_0x187987(0x219)][_0x187987(0x211)]&&this[_0x187987(0x2fc)](_0x3c7ed1);}),this[_0x39cc71(0x2f8)](this[_0x39cc71(0x1c6)][_0x39cc71(0x280)](_0x2d0d40=>{const _0x5171be=_0x39cc71,_0x1cbfb4=_0x2d0d40[_0x5171be(0x1cb)];_0x1cbfb4!=null&&this['_online']&&_0x2d0d40['id']===_0x4c8112[_0x5171be(0x2bf)]['id']&&_0x1cbfb4['unitId']===this['unitID']&&_0x1cbfb4[_0x5171be(0x262)]===!0x1&&_0x1cbfb4[_0x5171be(0x307)][_0x5171be(0x3e7)]>0x0&&this[_0x5171be(0x2df)](_0x1cbfb4['ranges']);})),this[_0x39cc71(0x383)][_0x39cc71(0x2bb)][_0x39cc71(0x2cc)](_0xdde2a6[_0x39cc71(0x23e)](this[_0x39cc71(0x2ef)]))['subscribe'](_0x135585=>{const _0x343366=_0x39cc71;if((_0x135585==null?void 0x0:_0x135585[_0x343366(0x36b)])!==this['unitID'])return;const _0x1a6daa={'eventID':_0x3810d3[_0x343366(0x219)][_0x343366(0x2b1)],'data':_0x135585};this['_onCursorUpdate'](_0x1a6daa);}),this[_0x39cc71(0x2f8)](this[_0x39cc71(0x1c6)][_0x39cc71(0x280)](_0x234c48=>{const _0x152615=_0x39cc71;if(_0x234c48['params']==null)return;const _0x5043f0=_0x234c48['params'];if(_0x234c48['id']!==_0x4c8112[_0x152615(0x220)]['id']||_0x5043f0['unitId']!==this[_0x152615(0x36b)])return;const _0x1198a1={'id':_0x152615(0x362),'params':_0x5043f0},_0xa0af04=this[_0x152615(0x1bf)];for(const [_0xd6ee14,_0x53ae57]of _0xa0af04){const _0x3ee3e0={'id':_0x152615(0x362),'params':{'unitId':this[_0x152615(0x36b)],'actions':null,'textRanges':_0x53ae57[_0x152615(0x307)]}},_0x14ab31=this[_0x152615(0x21a)][_0x152615(0x244)](_0x1198a1,_0x3ee3e0,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x14ab31))throw _0x14ab31['error'];_0xa0af04[_0x152615(0x2d7)](_0xd6ee14,{..._0x53ae57,'ranges':_0x14ab31[_0x152615(0x25b)][_0x152615(0x1cb)][_0x152615(0x173)]});}queueMicrotask(()=>{const _0x194ab8=_0x152615;this[_0x194ab8(0x282)]['next'](_0xa0af04);});})));}[_0x151804(0x193)](_0x466ce0){const _0x3b61b7=_0x151804;var _0x409c83,_0x1372e7;const {memberID:_0x391d04,selection:_0x5be557}=_0x466ce0[_0x3b61b7(0x40f)],_0x3087dd=_0x524705(_0x5be557),_0x4d8033=(_0x1372e7=(_0x409c83=this[_0x3b61b7(0x398)][_0x3b61b7(0x2a3)](this[_0x3b61b7(0x36b)],_0x391d04))==null?void 0x0:_0x409c83[_0x3b61b7(0x2d6)])!=null?_0x1372e7:'Unknown\x20user',_0x538979={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x391d04),'name':_0x4d8033,'ranges':_0x3087dd},_0x3b8e55=this[_0x3b61b7(0x1bf)];_0x3b8e55['set'](_0x391d04,_0x538979),this[_0x3b61b7(0x282)][_0x3b61b7(0x3ef)](_0x3b8e55);}[_0x151804(0x2fc)](_0x3af8dc){const _0x4a4b2a=_0x151804,{memberID:_0x194970}=_0x3af8dc[_0x4a4b2a(0x40f)],_0x1135cf=this[_0x4a4b2a(0x1bf)];_0x1135cf[_0x4a4b2a(0x312)](_0x194970),this[_0x4a4b2a(0x282)][_0x4a4b2a(0x3ef)](_0x1135cf);}[_0x151804(0x191)](){const _0x51b21e=_0x151804;var _0x2c7b87;if(this[_0x51b21e(0x263)]=!0x0,((_0x2c7b87=this[_0x51b21e(0x224)][_0x51b21e(0x265)]())==null?void 0x0:_0x2c7b87['getUnitId']())!==this[_0x51b21e(0x36b)])return;const _0xea468=this[_0x51b21e(0x410)][_0x51b21e(0x1a2)](_0x4c8112[_0x51b21e(0x22e)])['getDocRanges']();Array[_0x51b21e(0x373)](_0xea468)&&_0xea468[_0x51b21e(0x3e7)]>0x0&&this[_0x51b21e(0x2df)](_0xea468);}['_toggleOffline'](){const _0x26ee0b=_0x151804;this[_0x26ee0b(0x263)]=!0x1;}};_0xe1e1b0=_0x537264([_0x4424dd(0x2,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x4424dd(0x3,_0x4b903d['Inject'](_0x2042e7)),_0x4424dd(0x4,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x189)])),_0x4424dd(0x5,_0x4b903d[_0x151804(0x18d)](_0x103d56)),_0x4424dd(0x6,_0x3810d3[_0x151804(0x3aa)]),_0x4424dd(0x7,_0x4b903d[_0x151804(0x342)]),_0x4424dd(0x8,_0x4b903d[_0x151804(0x32e)])],_0xe1e1b0);var _0x1339dd=Object['getOwnPropertyDescriptor'],_0x922f35=(_0x4c2b17,_0x5787eb,_0x33d949,_0x1cf412)=>{const _0x12961d=_0x151804;for(var _0xb78287=_0x1cf412>0x1?void 0x0:_0x1cf412?_0x1339dd(_0x5787eb,_0x33d949):_0x5787eb,_0x15276f=_0x4c2b17[_0x12961d(0x3e7)]-0x1,_0x39fde6;_0x15276f>=0x0;_0x15276f--)(_0x39fde6=_0x4c2b17[_0x15276f])&&(_0xb78287=_0x39fde6(_0xb78287)||_0xb78287);return _0xb78287;},_0x234d1d=(_0x388ca3,_0xedea8a)=>(_0x174d89,_0xb9a648)=>_0xedea8a(_0x174d89,_0xb9a648,_0x388ca3);const _0x128971=0x12c,_0x27048d=0x64,_0x381cd8=()=>{let _0x777464=[],_0x2d8944=!0x1;return _0x325f0c=>{const _0x2ab2d4=_0x533d;_0x777464[_0x2ab2d4(0x1eb)](_0x325f0c),_0x2d8944||(_0x2d8944=!0x0,setTimeout(()=>{const _0x30709f=_0x2ab2d4;_0x777464[_0x30709f(0x293)](_0x5ca36e=>_0x5ca36e()),_0x777464=[],_0x2d8944=!0x1;}));};};let _0x4b2b97=class extends _0x4b903d['RxDisposable']{constructor(_0x3f0d19,_0x4feca9,_0x5300e5,_0x2c6915,_0x166e07,_0x4766b1,_0x4c816b,_0x440a62){const _0x156a83=_0x151804;super(),_0x198f8a(this,_0x156a83(0x263),!0x1),_0x198f8a(this,_0x156a83(0x1b2),!0x1),_0x198f8a(this,'_cursorInfo$',new _0xdde2a6['BehaviorSubject'](new Map())),_0x198f8a(this,'cursorInfo$',this[_0x156a83(0x282)][_0x156a83(0x1a5)]()),_0x198f8a(this,_0x156a83(0x1fe),new _0xdde2a6[(_0x156a83(0x2f9))]([])),_0x198f8a(this,_0x156a83(0x15c),this[_0x156a83(0x1fe)]['pipe'](_0xdde2a6[_0x156a83(0x1c7)](_0x128971))),_0x198f8a(this,_0x156a83(0x2df),_0x4b903d[_0x156a83(0x2ac)]((_0x4dd231,_0x29053f)=>{const _0x856193=_0x156a83,_0x38ef9d={'eventID':_0x3810d3['CollaborationEvent'][_0x856193(0x2b1)],'data':{'unitID':this[_0x856193(0x36b)],'memberID':this[_0x856193(0x38b)][_0x856193(0x248)](),'selection':_0x511fa6['serializeRangeWithSheet'](_0x4dd231,_0x29053f[_0x856193(0x2dc)])}};this['_session'][_0x856193(0x3bb)](_0x38ef9d,this[_0x856193(0x36b)]);},_0x27048d)),(this[_0x156a83(0x36b)]=_0x3f0d19,this[_0x156a83(0x38b)]=_0x4feca9,this[_0x156a83(0x410)]=_0x5300e5,this['_colorAssignService']=_0x2c6915,this[_0x156a83(0x398)]=_0x166e07,this['_univerInstanceService']=_0x4766b1,this[_0x156a83(0x1c6)]=_0x4c816b,this[_0x156a83(0x36f)]=_0x440a62);}get[_0x151804(0x1bf)](){const _0x13bce4=_0x151804;return this[_0x13bce4(0x282)][_0x13bce4(0x313)]();}get[_0x151804(0x22b)](){const _0x4f89ff=_0x151804;return this[_0x4f89ff(0x1fe)]['getValue']();}['dispose'](){const _0x576611=_0x151804;super['dispose'](),this[_0x576611(0x282)][_0x576611(0x3ef)](new Map()),this[_0x576611(0x282)][_0x576611(0x138)](),this['_roomMembers$'][_0x576611(0x3ef)]([]),this['_roomMembers$'][_0x576611(0x138)]();}[_0x151804(0x3b2)](){const _0x5a4ca1=_0x151804;this[_0x5a4ca1(0x1b2)]||(this[_0x5a4ca1(0x1b2)]=!0x0,this[_0x5a4ca1(0x38b)][_0x5a4ca1(0x1f4)][_0x5a4ca1(0x2cc)](_0xdde2a6[_0x5a4ca1(0x23e)](this[_0x5a4ca1(0x2ef)]))[_0x5a4ca1(0x24d)](_0x403c3f=>{const _0x230ae3=_0x5a4ca1;_0x403c3f===_0x792235[_0x230ae3(0x226)]['ONLINE']?this[_0x230ae3(0x191)]():this['_toggleOffline']();}),this[_0x5a4ca1(0x38b)][_0x5a4ca1(0x15b)]['pipe'](_0xdde2a6[_0x5a4ca1(0x23e)](this['dispose$']))[_0x5a4ca1(0x24d)](_0x405056=>{const _0x34eafc=_0x5a4ca1,_0x4f7eb1=_0x405056[_0x34eafc(0x2b7)];_0x4f7eb1===_0x3810d3[_0x34eafc(0x219)][_0x34eafc(0x2b1)]&&this['_onCursorUpdate'](_0x405056),_0x4f7eb1===_0x3810d3[_0x34eafc(0x219)]['USERS_LEAVE']&&this[_0x34eafc(0x2fc)](_0x405056);}),this[_0x5a4ca1(0x21d)](),this[_0x5a4ca1(0x2f8)](this['_commandService'][_0x5a4ca1(0x280)](_0x2bbdbe=>{const _0x43c52b=_0x5a4ca1;if(this['_online']&&_0x2bbdbe['id']===_0x1901d9['SetSelectionsOperation']['id']&&_0x2bbdbe['params'][_0x43c52b(0x1a9)]===this[_0x43c52b(0x36b)]){const _0x28c91c=_0x2bbdbe[_0x43c52b(0x1cb)];this[_0x43c52b(0x2df)](_0x28c91c[_0x43c52b(0x41e)],_0x28c91c[_0x43c52b(0x2ad)][0x0]);}})));}['_onCursorUpdate'](_0x1e11b9){const _0x9daf96=_0x151804;var _0x167801,_0x472850;const {memberID:_0x49794b,selection:_0x315b14}=_0x1e11b9[_0x9daf96(0x40f)],{sheetName:_0x2a7d11,range:_0x4187ce}=_0x511fa6[_0x9daf96(0x30a)](_0x315b14),_0x25cf1d={'name':(_0x472850=(_0x167801=this[_0x9daf96(0x398)]['getMember'](this[_0x9daf96(0x36b)],_0x49794b))==null?void 0x0:_0x167801[_0x9daf96(0x2d6)])!=null?_0x472850:_0x9daf96(0x24c),'range':this[_0x9daf96(0x145)](_0x2a7d11,_0x4187ce),'sheetID':_0x2a7d11,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x49794b),'selection':_0x315b14},_0x11afd0=this[_0x9daf96(0x1bf)];_0x11afd0[_0x9daf96(0x2d7)](_0x49794b,_0x25cf1d),this[_0x9daf96(0x282)][_0x9daf96(0x3ef)](_0x11afd0);}[_0x151804(0x2fc)](_0x48b2d8){const _0x3757e3=_0x151804,{memberID:_0x16fdef}=_0x48b2d8[_0x3757e3(0x40f)],_0x30e545=this['cursorInfo'];_0x30e545[_0x3757e3(0x312)](_0x16fdef),this[_0x3757e3(0x282)][_0x3757e3(0x3ef)](_0x30e545);}['_getMergeRange'](_0xfe78d9,_0x3ecf){const _0x44f9eb=_0x151804;var _0x392b5a,_0x11a20e;const _0x35a07d=(_0x11a20e=(_0x392b5a=this[_0x44f9eb(0x224)][_0x44f9eb(0x196)](this[_0x44f9eb(0x36b)]))==null?void 0x0:_0x392b5a[_0x44f9eb(0x3cc)](_0xfe78d9))==null?void 0x0:_0x11a20e[_0x44f9eb(0x271)]();return(_0x35a07d==null?void 0x0:_0x35a07d[_0x44f9eb(0x394)](_0x41846f=>_0x4b903d[_0x44f9eb(0x401)][_0x44f9eb(0x39a)](_0x41846f,_0x3ecf)))||_0x3ecf;}[_0x151804(0x21d)](){const _0x57e0fa=_0x151804,_0x5d5409=new _0x4b903d[(_0x57e0fa(0x156))](),_0x1330bb=_0x381cd8(),_0x1bde8f=()=>{const _0x4c02bd=_0x57e0fa;_0x5d5409[_0x4c02bd(0x2b9)]();const _0x5eeb03=(_0x4b478e,_0x3dd49a,_0x44deb1,_0x469564)=>{const _0x4fdfe2=_0x4c02bd;let _0x1de7ff=[];switch(_0x4b478e['id']){case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x37a)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x2de)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x38c)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x38e)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x175)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x343)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x25c)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x2f3)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x421)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x1e5)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)]['InsertRowCommandId']:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x314)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x2e0)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x208)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x166)]:{_0x1de7ff=_0x1901d9['handleIRemoveCol'](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x3ae)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x331)](_0x4b478e,_0x469564);break;}}const _0x5e10fe=_0x1901d9['runRefRangeMutations'](_0x1de7ff,_0x469564),_0x39bebd=this[_0x4fdfe2(0x1bf)][_0x4fdfe2(0x1a2)](_0x3dd49a);if(_0x39bebd&&_0x5e10fe){const _0x2a34a1={..._0x39bebd,'range':_0x5e10fe};this[_0x4fdfe2(0x1bf)][_0x4fdfe2(0x2d7)](_0x3dd49a,_0x2a34a1),_0x1330bb(()=>{const _0x1e0d50=_0x4fdfe2,_0x30e76e=this[_0x1e0d50(0x36f)][_0x1e0d50(0x2ba)](_0x5e10fe,_0x2b78e8=>(_0x30e76e[_0x1e0d50(0x2b9)](),_0x5eeb03(_0x2b78e8,_0x3dd49a,_0x44deb1,_0x5e10fe)));_0x5d5409[_0x1e0d50(0x14a)](_0x30e76e);});}return{'redos':[],'undos':[]};};this[_0x4c02bd(0x1bf)]['forEach']((_0x45cc1b,_0x52eac3)=>{const _0x233b8f=_0x4c02bd,{range:_0x2d1bf8,sheetID:_0x5f116d}=_0x45cc1b,_0xe59f29=this[_0x233b8f(0x36f)][_0x233b8f(0x2ba)](_0x2d1bf8,_0x2f576a=>(_0xe59f29['dispose'](),_0x5eeb03(_0x2f576a,_0x52eac3,_0x5f116d,_0x2d1bf8)));_0x5d5409['add'](_0xe59f29);});};this[_0x57e0fa(0x2f8)](_0x4b903d[_0x57e0fa(0x402)](this[_0x57e0fa(0x282)]['subscribe'](()=>{_0x1bde8f();})));}[_0x151804(0x191)](){const _0x141527=_0x151804;var _0x1998b5,_0xe736ac;if(this[_0x141527(0x263)]=!0x0,((_0x1998b5=this[_0x141527(0x224)][_0x141527(0x265)]())==null?void 0x0:_0x1998b5[_0x141527(0x192)]())!==this[_0x141527(0x36b)])return;const _0x5c6426=(_0xe736ac=this[_0x141527(0x410)][_0x141527(0x1a2)](_0x1901d9['SheetsSelectionsService'])[_0x141527(0x2d5)]())==null?void 0x0:_0xe736ac[0x0],_0x215c70=this['_univerInstanceService'][_0x141527(0x360)](_0x4b903d[_0x141527(0x198)]['UNIVER_SHEET'])[_0x141527(0x169)]();_0x5c6426&&_0x215c70&&this[_0x141527(0x2df)](_0x215c70[_0x141527(0x1ed)](),_0x5c6426);}[_0x151804(0x292)](){this['_online']=!0x1;}};_0x4b2b97=_0x922f35([_0x234d1d(0x2,_0x4b903d['Inject'](_0x4b903d[_0x151804(0x28d)])),_0x234d1d(0x3,_0x4b903d[_0x151804(0x18d)](_0x2042e7)),_0x234d1d(0x4,_0x4b903d['Inject'](_0x792235['MemberService'])),_0x234d1d(0x5,_0x4b903d[_0x151804(0x342)]),_0x234d1d(0x6,_0x4b903d['ICommandService']),_0x234d1d(0x7,_0x4b903d[_0x151804(0x18d)](_0x1901d9[_0x151804(0x1ee)]))],_0x4b2b97);var _0x4ea7b0=Object[_0x151804(0x277)],_0x19ba5c=(_0x3fe9b2,_0x1617b4,_0x5ddb25,_0x40aad5)=>{const _0x2c6d2a=_0x151804;for(var _0x3721ab=_0x40aad5>0x1?void 0x0:_0x40aad5?_0x4ea7b0(_0x1617b4,_0x5ddb25):_0x1617b4,_0x4f3481=_0x3fe9b2[_0x2c6d2a(0x3e7)]-0x1,_0x473ecb;_0x4f3481>=0x0;_0x4f3481--)(_0x473ecb=_0x3fe9b2[_0x4f3481])&&(_0x3721ab=_0x473ecb(_0x3721ab)||_0x3721ab);return _0x3721ab;},_0x5b5a62=(_0x3acbd8,_0x483ca0)=>(_0x2d3554,_0x57f9fd)=>_0x483ca0(_0x2d3554,_0x57f9fd,_0x3acbd8);let _0x8fdf50=class extends _0x4b903d['RxDisposable']{constructor(_0x122faa,_0x31a3b6,_0x30991d){const _0x4aebbd=_0x151804;super(),_0x198f8a(this,_0x4aebbd(0x2ea),new Map()),_0x198f8a(this,'_entityInit$',new _0xdde2a6['Subject']()),(this[_0x4aebbd(0x224)]=_0x122faa,this[_0x4aebbd(0x410)]=_0x31a3b6,this['_collabSessionService']=_0x30991d,this['_init']());}['dispose'](){const _0x345322=_0x151804;super['dispose'](),this[_0x345322(0x142)][_0x345322(0x138)](),this['_entities']['forEach'](_0x5d8b32=>_0x5d8b32[_0x345322(0x2b9)]());}[_0x151804(0x28c)](_0x2c6173){const _0x59d842=_0x151804;return this[_0x59d842(0x2ea)][_0x59d842(0x326)](_0x2c6173)?this['_entities']['get'](_0x2c6173)[_0x59d842(0x29f)]:this[_0x59d842(0x142)]['pipe'](_0xdde2a6[_0x59d842(0x182)](_0x22f9aa=>_0x22f9aa[_0x59d842(0x36b)]===_0x2c6173),_0xdde2a6['switchMap'](_0x5ee953=>_0x5ee953[_0x59d842(0x29f)]));}[_0x151804(0x1b2)](){const _0x46753b=_0x151804;this['_univerInstanceService'][_0x46753b(0x408)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x21f)])[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x23e)](this[_0x46753b(0x2ef)]))[_0x46753b(0x24d)](async _0x4ca33e=>{const _0x10a97b=_0x46753b,_0x11e9fe=_0x4ca33e['getUnitId'](),_0x20c858=await this[_0x10a97b(0x415)](_0x11e9fe);this['_entityInit$'][_0x10a97b(0x3ef)](_0x20c858),this[_0x10a97b(0x2ea)]['set'](_0x11e9fe,_0x20c858);}),this[_0x46753b(0x224)][_0x46753b(0x408)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x1b9)])[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x23e)](this[_0x46753b(0x2ef)]))[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x182)](_0x16c882=>!_0x16c882['getUnitId']()['startsWith']('__')))[_0x46753b(0x24d)](async _0x3324f8=>{const _0x57db11=_0x46753b,_0x48b584=_0x3324f8[_0x57db11(0x192)](),_0x51363c=await this[_0x57db11(0x1bb)](_0x48b584);this['_entityInit$'][_0x57db11(0x3ef)](_0x51363c),this[_0x57db11(0x2ea)][_0x57db11(0x2d7)](_0x48b584,_0x51363c);}),_0xdde2a6[_0x46753b(0x30e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x1b9)]),this[_0x46753b(0x224)][_0x46753b(0x2ca)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x21f)]))[_0x46753b(0x2cc)](_0xdde2a6['takeUntil'](this[_0x46753b(0x2ef)]))['subscribe'](_0x287c36=>{const _0x2bba80=_0x46753b,_0x3b811a=_0x287c36[_0x2bba80(0x192)](),_0x1906af=this[_0x2bba80(0x2ea)][_0x2bba80(0x1a2)](_0x3b811a);_0x1906af&&(_0x1906af['dispose'](),this['_entities'][_0x2bba80(0x312)](_0x3b811a));});}async[_0x151804(0x415)](_0x17ffbc){const _0x10cb83=_0x151804,_0x230928=await this[_0x10cb83(0x3e1)]['requireSession'](_0x17ffbc),_0x532afa=this[_0x10cb83(0x410)][_0x10cb83(0x37c)](_0x4b2b97,_0x17ffbc,_0x230928);return _0x532afa[_0x10cb83(0x3b2)](),_0x532afa;}async[_0x151804(0x1bb)](_0x3c80b0){const _0x319167=_0x151804,_0x1bce1d=await this[_0x319167(0x3e1)]['requireSession'](_0x3c80b0),_0xe0d034=this['_injector'][_0x319167(0x37c)](_0xe1e1b0,_0x3c80b0,_0x1bce1d);return _0xe0d034['init'](),_0xe0d034;}};_0x8fdf50=_0x19ba5c([_0x5b5a62(0x0,_0x4b903d['IUniverInstanceService']),_0x5b5a62(0x1,_0x4b903d['Inject'](_0x4b903d['Injector'])),_0x5b5a62(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x167)]))],_0x8fdf50);const _0x167404=0x14,_0x51a030=0xc8,_0x435d0b=0x4,_0x52f54a=0x5;function _0x4ddd1c(_0x1f6446,_0x51468c){const _0x6353e=_0x151804;let {radius:_0x4072f3,width:_0x35c7e8,height:_0x3bb318}=_0x51468c;_0x4072f3=_0x4072f3!=null?_0x4072f3:0x0,_0x35c7e8=_0x35c7e8!=null?_0x35c7e8:0x1e,_0x3bb318=_0x3bb318!=null?_0x3bb318:0x1e;let _0x2658a3=0x0,_0x160211=0x0,_0x3a5ec9=0x0;_0x2658a3=_0x160211=_0x3a5ec9=Math[_0x6353e(0x1cd)](_0x4072f3,_0x35c7e8/0x2,_0x3bb318/0x2),_0x1f6446['beginPath'](),_0x1f6446[_0x6353e(0x3cb)](_0x2658a3,0x0),_0x1f6446[_0x6353e(0x250)](_0x35c7e8-_0x160211,0x0),_0x1f6446['arc'](_0x35c7e8-_0x160211,_0x160211,_0x160211,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f6446['lineTo'](_0x35c7e8,_0x3bb318-_0x3a5ec9),_0x1f6446['arc'](_0x35c7e8-_0x3a5ec9,_0x3bb318-_0x3a5ec9,_0x3a5ec9,0x0,Math['PI']/0x2,!0x1),_0x1f6446['lineTo'](0x0,_0x3bb318),_0x1f6446[_0x6353e(0x250)](0x0,_0x2658a3),_0x1f6446['arc'](_0x2658a3,_0x2658a3,_0x2658a3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f6446[_0x6353e(0x231)](),_0x51468c[_0x6353e(0x385)]&&(_0x1f6446[_0x6353e(0x1d2)](),_0x1f6446[_0x6353e(0x235)]=_0x51468c[_0x6353e(0x385)],_0x51468c[_0x6353e(0x2c9)]==='evenodd'?_0x1f6446[_0x6353e(0x385)](_0x6353e(0x253)):_0x1f6446['fill'](),_0x1f6446[_0x6353e(0x160)]());}class _0x15c6f5 extends _0x36ac30[_0x151804(0x162)]{constructor(_0x4cb956,_0xcf942){const _0x2c39f4=_0x151804;super(_0x4cb956,_0xcf942),_0x198f8a(this,'color'),_0x198f8a(this,_0x2c39f4(0x3ee)),(this['color']=_0xcf942==null?void 0x0:_0xcf942[_0x2c39f4(0x1cf)],this[_0x2c39f4(0x3ee)]=_0xcf942==null?void 0x0:_0xcf942[_0x2c39f4(0x3ee)]);}static[_0x151804(0x2a4)](_0x382d98,_0x355e45){const _0x31ec77=_0x151804,{text:_0x1985a3,color:_0x1ecbbb}=_0x355e45;_0x382d98['save'](),_0x382d98[_0x31ec77(0x26b)]=_0x31ec77(0x392);const _0x50f954=_0x382d98[_0x31ec77(0x3f4)](_0x1985a3)['width'],_0x12b761=Math[_0x31ec77(0x1cd)](_0x50f954+0x2*_0x435d0b,_0x51a030);_0x4ddd1c(_0x382d98,{'height':_0x167404,'radius':0x4,'width':_0x12b761,'fill':_0x1ecbbb}),_0x382d98[_0x31ec77(0x235)]=_0x31ec77(0x3a6);const _0x2289b7=_0x435d0b,_0x207c38=_0x167404-_0x52f54a,_0x4e993b=_0x51a030-0x2*_0x435d0b;if(_0x50f954>_0x4e993b){let _0x13ff58='',_0x3d38f2=0x0;for(const _0x271c41 of _0x1985a3){const _0x5d2dc6=_0x382d98['measureText'](_0x271c41)['width'];if(_0x3d38f2+_0x5d2dc6<=_0x4e993b-_0x382d98[_0x31ec77(0x3f4)](_0x31ec77(0x261))['width'])_0x13ff58+=_0x271c41,_0x3d38f2+=_0x5d2dc6;else{_0x13ff58+=_0x31ec77(0x261);break;}}_0x382d98[_0x31ec77(0x23b)](_0x13ff58,_0x2289b7,_0x207c38);}else _0x382d98[_0x31ec77(0x23b)](_0x1985a3,_0x2289b7,_0x207c38);_0x382d98['restore']();}[_0x151804(0x324)](_0x120217){const _0x9595e4=_0x151804;_0x15c6f5[_0x9595e4(0x2a4)](_0x120217,this);}}const _0x4713d0=_0x151804(0x154),_0xd887ec=_0x151804(0x34e),_0x3ed5c0='collab-rect-range-',_0x4676e9=0x6,_0x354497=1.5,_0x1b1ec9=0x4,_0x3be6aa=1.5,_0x16c755=_0x151804(0x1e7);class _0xc1fbc{constructor(_0x1845d1,_0x43662b,_0x14b8aa,_0x10c727){const _0x4cf6f3=_0x151804;_0x198f8a(this,'_shapes',[]),_0x198f8a(this,_0x4cf6f3(0x180),null),_0x198f8a(this,_0x4cf6f3(0x146),null),_0x198f8a(this,_0x4cf6f3(0x2c1),null),_0x198f8a(this,'_hideTimer',null),_0x198f8a(this,_0x4cf6f3(0x299),null),(this[_0x4cf6f3(0x1e8)]=_0x1845d1,this[_0x4cf6f3(0x13a)]=_0x43662b,this['_docSkeleton']=_0x14b8aa,this[_0x4cf6f3(0x27d)]=_0x10c727,this[_0x4cf6f3(0x319)]());}set[_0x151804(0x349)](_0x3a79e8){const _0x2cd21a=_0x151804;_0x3a79e8?(this[_0x2cd21a(0x2c1)]&&this[_0x2cd21a(0x2c1)]['hide'](),this[_0x2cd21a(0x146)]&&this['_textBubble'][_0x2cd21a(0x2d4)]()):(this[_0x2cd21a(0x2c1)]&&this[_0x2cd21a(0x2c1)][_0x2cd21a(0x2d4)](),this[_0x2cd21a(0x146)]&&this['_textBubble'][_0x2cd21a(0x17e)]());}[_0x151804(0x2b9)](){const _0x4a798c=_0x151804;for(const _0x398d4d of this['_shapes'])_0x398d4d[_0x4a798c(0x2b9)]();this[_0x4a798c(0x146)]&&this['_textBubble'][_0x4a798c(0x2b9)](),this[_0x4a798c(0x2c1)]&&this[_0x4a798c(0x2c1)][_0x4a798c(0x2b9)](),this['_anchor']&&this[_0x4a798c(0x180)]['dispose'](),this[_0x4a798c(0x299)]&&this[_0x4a798c(0x299)]();}[_0x151804(0x319)](){const _0x2b20fd=_0x151804;var _0x508f56;const {_docSkeleton:_0x115474,_document:_0x503544}=this,{color:_0x5c42ca,name:_0x3f9b06,ranges:_0x143411}=this[_0x2b20fd(0x1e8)],_0xc6f19b=_0x503544[_0x2b20fd(0x418)](),{docsLeft:_0xad75c4,docsTop:_0x30a8c0}=_0xc6f19b,_0x174016=new _0x809b8[(_0x2b20fd(0x350))](_0xc6f19b,_0x115474);for(const {startOffset:_0x2ccd77,endOffset:_0x3eaf2e,rangeType:_0x164cd3,segmentId:_0x325462,segmentPage:_0x1a0d0d,collapsed:_0x11ad65,isActive:_0x5d570f}of _0x143411){const _0x5c0345=_0x115474[_0x2b20fd(0x3a4)](_0x2ccd77,!0x0,_0x325462,_0x1a0d0d);let _0x25f4b0=_0x115474['findNodePositionByCharIndex'](_0x3eaf2e,!0x0,_0x325462,_0x1a0d0d);if(_0x25f4b0==null&&(_0x25f4b0=_0x115474[_0x2b20fd(0x3a4)](_0x3eaf2e-0x1,!0x1,_0x325462,_0x1a0d0d)),_0x5d570f){const {contentBoxPointGroup:_0x2b6dff}=_0x174016['getRangePointData'](_0x25f4b0,_0x25f4b0);if(_0x2b6dff[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x31d)](_0x5c42ca,_0x2b6dff,_0xad75c4,_0x30a8c0,_0x3f9b06),this[_0x2b20fd(0x299)]=this[_0x2b20fd(0x17f)]();}if(_0x5c0345&&_0x25f4b0){if(_0x164cd3===_0x4b903d[_0x2b20fd(0x1f6)]['RECT']){const _0x6e7bd3=new _0x809b8[(_0x2b20fd(0x1de))](_0xc6f19b,_0x115474),{pointGroup:_0xf88919}=(_0x508f56=_0x6e7bd3[_0x2b20fd(0x37b)](_0x5c0345,_0x25f4b0))!=null?_0x508f56:{};if(_0xf88919==null||_0xf88919[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x1ab)](_0x5c42ca,_0xf88919,_0xad75c4,_0x30a8c0);}else{if(!_0x11ad65){const {borderBoxPointGroup:_0x566b2c}=_0x174016[_0x2b20fd(0x37b)](_0x5c0345,_0x25f4b0);if(_0x566b2c[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x1e0)](_0x5c42ca,_0x566b2c,_0xad75c4,_0x30a8c0);}}}}}['_drawAnchor'](_0x8f3274,_0xcad356,_0x17361c,_0x357361,_0xfb19c0){const _0x215c2c=_0x151804,_0x1f9a4b=this[_0x215c2c(0x345)](_0xcad356),{left:_0x3eea0a,top:_0x13b910,height:_0x3ffc}=_0x1f9a4b,_0x1fc936=this['_getScale'](),_0x48a2ad=_0x3be6aa/_0x1fc936,_0x5640aa=new _0x36ac30[(_0x215c2c(0x243))](_0x4713d0+_0x4b903d[_0x215c2c(0x24b)](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361,'height':_0x3ffc,'width':_0x354497,'fill':_0x8f3274||_0x36ac30[_0x215c2c(0x2aa)](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'strokeWidth':_0x48a2ad,'stroke':_0x16c755,'evented':!0x0});this['_anchor']=_0x5640aa,this[_0x215c2c(0x13a)][_0x215c2c(0x289)](_0x5640aa,_0x809b8[_0x215c2c(0x2f4)]);const _0x4dd750=new _0x36ac30[(_0x215c2c(0x243))](_0x4713d0+_0x4b903d['generateRandomId'](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361-_0x1b1ec9/0x2,'height':_0x1b1ec9,'width':_0x1b1ec9,'fill':_0x8f3274||_0x36ac30[_0x215c2c(0x2aa)](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'strokeWidth':0x0,'stroke':_0x8f3274||_0x36ac30['getColor'](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'evented':!0x1});this[_0x215c2c(0x2c1)]=_0x4dd750,this[_0x215c2c(0x13a)]['addObject'](_0x4dd750,_0x809b8[_0x215c2c(0x2f4)]);const _0x3536b3=new _0x15c6f5(_0x4713d0+_0x4b903d[_0x215c2c(0x24b)](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361-_0x167404,'text':_0xfb19c0,'color':_0x8f3274});this[_0x215c2c(0x146)]=_0x3536b3,this[_0x215c2c(0x13a)]['addObject'](_0x3536b3,_0x809b8[_0x215c2c(0x2f4)]),this['_hover']=!0x1;}['_handleHover'](){const _0xf0b697=_0x151804,_0x3afdbd=this[_0xf0b697(0x180)][_0xf0b697(0x357)][_0xf0b697(0x20e)](()=>{const _0x291a5b=_0xf0b697;this[_0x291a5b(0x349)]=!0x0;}),_0x1038cb=this[_0xf0b697(0x180)][_0xf0b697(0x35a)][_0xf0b697(0x20e)](()=>{const _0x1afc3f=_0xf0b697;this['_hideTimer']&&clearTimeout(this[_0x1afc3f(0x3ba)]),this[_0x1afc3f(0x3ba)]=setTimeout(()=>{const _0x376335=_0x1afc3f;this[_0x376335(0x349)]=!0x1;},0x7d0);});return()=>{const _0x46c887=_0xf0b697;_0x3afdbd['unsubscribe'](),_0x1038cb[_0x46c887(0x1ca)]();};}[_0x151804(0x1e0)](_0x5b98ff,_0x50ffbe,_0x8c617a,_0x172c3a){const _0x17e589=_0x151804,_0x314c84=new _0x4b903d['ColorKit'](_0x5b98ff)[_0x17e589(0x3f7)](0.2)[_0x17e589(0x246)](),_0x4eb79d=new _0x36ac30['RegularPolygon'](_0xd887ec+_0x4b903d[_0x17e589(0x24b)](_0x4676e9),{'pointsGroup':_0x50ffbe,'fill':_0x314c84||_0x36ac30[_0x17e589(0x2aa)](_0x4b903d[_0x17e589(0x291)][_0x17e589(0x1ef)],0.2),'left':_0x8c617a,'top':_0x172c3a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x17e589(0x34a)][_0x17e589(0x1eb)](_0x4eb79d),this[_0x17e589(0x13a)][_0x17e589(0x289)](_0x4eb79d,_0x809b8[_0x17e589(0x2f4)]);}[_0x151804(0x1ab)](_0x349a00,_0x1b6681,_0x13f569,_0x3ebbdb){const _0x191759=_0x151804,_0x28b5e5=new _0x4b903d[(_0x191759(0x35f))](_0x349a00)[_0x191759(0x3f7)](0.2)[_0x191759(0x246)](),_0xddd236=new _0x36ac30[(_0x191759(0x23c))](_0x3ed5c0+_0x4b903d['generateRandomId'](_0x4676e9),{'pointsGroup':_0x1b6681,'fill':_0x28b5e5||_0x36ac30[_0x191759(0x2aa)](_0x4b903d[_0x191759(0x291)][_0x191759(0x1ef)],0.2),'left':_0x13f569,'top':_0x3ebbdb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x191759(0x34a)]['push'](_0xddd236),this[_0x191759(0x13a)]['addObject'](_0xddd236,_0x809b8[_0x191759(0x2f4)]);}[_0x151804(0x345)](_0xbf6b6a){const _0x4e1103=_0xbf6b6a[0x0],_0x8c8899=_0x4e1103[0x0],_0x2bd041=_0x4e1103[0x2],{x:_0x307534,y:_0x144959}=_0x8c8899,{x:_0x545149,y:_0x46eead}=_0x2bd041;return{'left':_0x307534,'top':_0x144959,'width':_0x545149-_0x307534,'height':_0x46eead-_0x144959};}[_0x151804(0x341)](){const _0x2d8c78=_0x151804,{scaleX:_0x426088,scaleY:_0x2d71f3}=this['_scene'][_0x2d8c78(0x3f3)]();return Math[_0x2d8c78(0x386)](_0x426088,_0x2d71f3);}}var _0x1ca2fa=Object['getOwnPropertyDescriptor'],_0x394d3f=(_0x295841,_0x321067,_0x39b61a,_0x349131)=>{const _0x40b787=_0x151804;for(var _0x4b14dd=_0x349131>0x1?void 0x0:_0x349131?_0x1ca2fa(_0x321067,_0x39b61a):_0x321067,_0x1da662=_0x295841[_0x40b787(0x3e7)]-0x1,_0x34a29b;_0x1da662>=0x0;_0x1da662--)(_0x34a29b=_0x295841[_0x1da662])&&(_0x4b14dd=_0x34a29b(_0x4b14dd)||_0x4b14dd);return _0x4b14dd;},_0x1ccf69=(_0x5e271e,_0x3fa8e8)=>(_0xf01f6e,_0x175f29)=>_0x3fa8e8(_0xf01f6e,_0x175f29,_0x5e271e);let _0x3e9cd4=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x252915,_0x1c8ea1,_0x5ba69a,_0x5a1e59,_0x1008f1){const _0x235a00=_0x151804;super(),_0x198f8a(this,_0x235a00(0x323),[]),_0x198f8a(this,_0x235a00(0x249),[]),(this[_0x235a00(0x13b)]=_0x252915,this[_0x235a00(0x34b)]=_0x1c8ea1,this[_0x235a00(0x2eb)]=_0x5ba69a,this[_0x235a00(0x1c6)]=_0x5a1e59,this['_themeService']=_0x1008f1,this[_0x235a00(0x1b2)]());}['_init'](){const _0x1d4242=_0x151804,_0x2b4c37=this[_0x1d4242(0x13b)]['unitId'],_0x2c0c41=this[_0x1d4242(0x34b)];this[_0x1d4242(0x2f8)](_0xdde2a6[_0x1d4242(0x1ad)]([this[_0x1d4242(0x2eb)][_0x1d4242(0x28c)](_0x2b4c37),this[_0x1d4242(0x3a2)][_0x1d4242(0x168)]])[_0x1d4242(0x2cc)](_0x3a14cb[_0x1d4242(0x2a2)](([_0x434d03,_0x47179f])=>({'skeleton':_0x2c0c41[_0x1d4242(0x39e)](),'cursors':[..._0x434d03[_0x1d4242(0x27b)]()][_0x1d4242(0x1c9)](_0x4b5c18=>({..._0x4b5c18,'color':this['_themeService']['getColorFromTheme'](_0x4b5c18['color'])}))})))[_0x1d4242(0x24d)](_0x27c74a=>{const _0x1e9114=_0x1d4242;if(this[_0x1e9114(0x266)](),_0x27c74a){const {skeleton:_0xe49e98,cursors:_0x29df90}=_0x27c74a;this[_0x1e9114(0x417)](_0xe49e98,_0x29df90);}})),this[_0x1d4242(0x41a)](),this[_0x1d4242(0x390)]();}[_0x151804(0x417)](_0x4f300f,_0x495c0c){const _0x4f2e3d=_0x151804,{scene:_0x2b14ec,mainComponent:_0x1c8431}=this[_0x4f2e3d(0x13b)],_0x2be250=_0x495c0c[_0x4f2e3d(0x2a2)](_0xf14b8d=>new _0xc1fbc(_0xf14b8d,_0x2b14ec,_0x4f300f,_0x1c8431));this['_cursorShapes']=_0x2be250,this['_cursors']=_0x495c0c;}[_0x151804(0x334)](){const _0x4298e6=_0x151804;this[_0x4298e6(0x266)]();const {scene:_0x66e33d,mainComponent:_0x3a6490}=this[_0x4298e6(0x13b)],_0x1a6966=this['_docSkeletonManagerService'][_0x4298e6(0x39e)](),_0x50672f=this[_0x4298e6(0x249)][_0x4298e6(0x2a2)](_0xfb0b1b=>new _0xc1fbc(_0xfb0b1b,_0x66e33d,_0x1a6966,_0x3a6490));this[_0x4298e6(0x323)]=_0x50672f;}[_0x151804(0x266)](){const _0x6b500=_0x151804;this['_cursorShapes'][_0x6b500(0x293)](_0x11f33c=>_0x11f33c['dispose']()),this[_0x6b500(0x323)]=[];}[_0x151804(0x390)](){const _0x457570=_0x151804,_0xb02e59=[_0x809b8[_0x457570(0x295)]['id']];this[_0x457570(0x2f8)](this[_0x457570(0x1c6)][_0x457570(0x280)](_0xe0c73a=>{const _0x30b61a=_0x457570;_0xb02e59[_0x30b61a(0x36d)](_0xe0c73a['id'])&&_0xe0c73a[_0x30b61a(0x1cb)]['unitId']===this[_0x30b61a(0x13b)][_0x30b61a(0x1a9)]&&this[_0x30b61a(0x334)]();}));}['_initResize'](){const _0xb22a53=_0x151804;this['disposeWithMe'](_0x4b903d[_0xb22a53(0x26d)](this[_0xb22a53(0x13b)]['engine'][_0xb22a53(0x3ec)])[_0xb22a53(0x2cc)](_0x3a14cb[_0xb22a53(0x182)](_0x19fd8d=>_0x19fd8d[_0xb22a53(0x276)]===_0x36ac30[_0xb22a53(0x31f)][_0xb22a53(0x2a7)]),_0x3a14cb[_0xb22a53(0x217)](0x10))[_0xb22a53(0x24d)](()=>{const _0x2cfea6=_0xb22a53;this[_0x2cfea6(0x334)]();}));}};_0x3e9cd4=_0x394d3f([_0x1ccf69(0x1,_0x4b903d['Inject'](_0x4c8112[_0x151804(0x3c3)])),_0x1ccf69(0x2,_0x4b903d[_0x151804(0x18d)](_0x8fdf50)),_0x1ccf69(0x3,_0x4b903d['ICommandService']),_0x1ccf69(0x4,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3ce)]))],_0x3e9cd4);const _0x49c0d0=0x1,_0x27c342=1.5;class _0x105416 extends _0x36ac30[_0x151804(0x162)]{constructor(_0x2c97de,_0x3ce2e9){const _0x43dc38=_0x151804;super(_0x2c97de,_0x3ce2e9),_0x198f8a(this,'_color'),_0x198f8a(this,'_hovered',!0x1),_0x198f8a(this,_0x43dc38(0x3c1)),_0x198f8a(this,_0x43dc38(0x2cf),''),_0x198f8a(this,'_labelPosition','top'),_0x198f8a(this,'_backgroundColor'),(_0x3ce2e9&&this[_0x43dc38(0x2c2)](_0x3ce2e9),this[_0x43dc38(0x357)][_0x43dc38(0x20e)](()=>this[_0x43dc38(0x2c2)]({'hovered':!0x0})),this[_0x43dc38(0x35a)][_0x43dc38(0x20e)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x406739){const _0x1563e1=_0x151804;var _0x1c2612,_0x276ea2,_0x183984,_0x215ef1,_0xfa84f3,_0x2fb473;this[_0x1563e1(0x3c5)]=(_0x1c2612=_0x406739['color'])!=null?_0x1c2612:this[_0x1563e1(0x3c5)],this[_0x1563e1(0x1bd)]=(_0x276ea2=_0x406739[_0x1563e1(0x3d6)])!=null?_0x276ea2:this[_0x1563e1(0x1bd)],this[_0x1563e1(0x3c1)]=(_0x183984=_0x406739[_0x1563e1(0x2dc)])!=null?_0x183984:this['_range'],this['_name']=(_0x215ef1=_0x406739[_0x1563e1(0x2d6)])!=null?_0x215ef1:this['_name'],this[_0x1563e1(0x179)]=(_0xfa84f3=_0x406739[_0x1563e1(0x2e3)])!=null?_0xfa84f3:this[_0x1563e1(0x179)],this[_0x1563e1(0x3e0)]=(_0x2fb473=_0x406739[_0x1563e1(0x36a)])!=null?_0x2fb473:this['_backgroundColor'],this[_0x1563e1(0x3af)]({'width':_0x406739[_0x1563e1(0x355)],'height':_0x406739[_0x1563e1(0x247)]});}[_0x151804(0x353)](_0x12b3d5){const _0x47dfc8=_0x151804,{row:_0x51213a,column:_0x3321f0}=_0x12b3d5;if(_0x51213a>=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x1d9)]&&_0x51213a<=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x1f8)]&&_0x3321f0>=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x15d)]&&_0x3321f0<=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x294)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x151804(0x13e)](_0x2dd481){return!0x1;}[_0x151804(0x324)](_0x4689e6){const _0x13fa7a=_0x151804;_0x36ac30[_0x13fa7a(0x243)][_0x13fa7a(0x2a4)](_0x4689e6,{'width':this['width'],'height':this[_0x13fa7a(0x247)],'strokeWidth':_0x27c342,'stroke':this[_0x13fa7a(0x3c5)],'evented':!0x1,'fill':this[_0x13fa7a(0x3e0)]}),this[_0x13fa7a(0x1bd)]&&(_0x4689e6[_0x13fa7a(0x1d2)](),_0x4689e6[_0x13fa7a(0x3f6)](0x1,0x0,0x0,0x1,this[_0x13fa7a(0x355)],this[_0x13fa7a(0x179)]===_0x13fa7a(0x33d)?0x0:-_0x167404),_0x15c6f5[_0x13fa7a(0x2a4)](_0x4689e6,{'text':this[_0x13fa7a(0x2cf)],'color':this['_color']}),_0x4689e6[_0x13fa7a(0x160)]());}}var _0x2abc87=Object['getOwnPropertyDescriptor'],_0x4a5579=(_0x4b9b66,_0x23e776,_0x529207,_0x287adc)=>{for(var _0x151cf4=_0x287adc>0x1?void 0x0:_0x287adc?_0x2abc87(_0x23e776,_0x529207):_0x23e776,_0x2b61c0=_0x4b9b66['length']-0x1,_0x2a7aea;_0x2b61c0>=0x0;_0x2b61c0--)(_0x2a7aea=_0x4b9b66[_0x2b61c0])&&(_0x151cf4=_0x2a7aea(_0x151cf4)||_0x151cf4);return _0x151cf4;},_0x37de3b=(_0x23a192,_0x906d73)=>(_0x1eaa92,_0x268872)=>_0x906d73(_0x1eaa92,_0x268872,_0x23a192);const _0x340cbe=0x1389;let _0x3481bc=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x950eb6,_0x2a7e12,_0x5bf512,_0x2d83c6){const _0x2cbf72=_0x151804;super(),_0x198f8a(this,_0x2cbf72(0x249),new Set()),_0x198f8a(this,_0x2cbf72(0x405),null),(this[_0x2cbf72(0x13b)]=_0x950eb6,this[_0x2cbf72(0x19c)]=_0x2a7e12,this[_0x2cbf72(0x2eb)]=_0x5bf512,this[_0x2cbf72(0x3a2)]=_0x2d83c6,this['_init']());}[_0x151804(0x1b2)](){const _0x40e611=_0x151804;this[_0x40e611(0x19c)][_0x40e611(0x1ea)][_0x40e611(0x2cc)](_0x3a14cb[_0x40e611(0x23e)](this[_0x40e611(0x2ef)]),_0x3a14cb['switchMap'](_0x127bf8=>{const _0x250c19=_0x40e611;if(_0x127bf8){const _0x2b63e7=_0x127bf8[_0x250c19(0x2b2)];return _0xdde2a6[_0x250c19(0x1ad)](this['_collabCursorController'][_0x250c19(0x28c)](this[_0x250c19(0x13b)][_0x250c19(0x1a9)]),this['_themeService'][_0x250c19(0x168)])[_0x250c19(0x2cc)](_0x3a14cb[_0x250c19(0x2a2)](([_0x4089c7,_0x6eba7c])=>{const _0x405613=_0x250c19,_0x1c82f4=new Map();return _0x4089c7[_0x405613(0x293)]((_0x441356,_0x4e3d13)=>{const _0x454bac=_0x405613;if(_0x441356[_0x454bac(0x3d3)]===_0x2b63e7){const _0x3351d0={..._0x441356};_0x3351d0[_0x454bac(0x1cf)]=this['_themeService'][_0x454bac(0x33e)](_0x441356[_0x454bac(0x1cf)]),_0x1c82f4[_0x454bac(0x2d7)](_0x4e3d13,_0x3351d0);}}),{'skeleton':_0x127bf8,'cursors':_0x1c82f4};}));}return _0xdde2a6['of']({'skeleton':null,'cursors':new Map()});}))[_0x40e611(0x24d)](({skeleton:_0x22ee56,cursors:_0x38d121})=>{const _0xe077e2=_0x40e611;this[_0xe077e2(0x266)](),_0x22ee56&&this[_0xe077e2(0x417)](_0x22ee56,_0x38d121);}),this[_0x40e611(0x19c)][_0x40e611(0x1ea)]['subscribe'](_0x4ff1ca=>{const _0x19ca23=_0x40e611;if(_0x4ff1ca==null)return;const {skeleton:_0x31c4dc}=_0x4ff1ca,{scene:_0x7a711d}=this['_context'];_0x7a711d['onPointerMove$']['subscribeEvent'](_0x4b903d[_0x19ca23(0x2ac)](_0x4ef36b=>{const _0x5bcd4f=_0x19ca23;var _0x5b07de,_0x53c19e;const {offsetX:_0x82c3ba,offsetY:_0x262db8}=_0x4ef36b,{x:_0x1ae050,y:_0x184f99}=_0x7a711d[_0x5bcd4f(0x300)](_0x36ac30['Vector2'][_0x5bcd4f(0x411)]([_0x82c3ba,_0x262db8])),{scaleX:_0x23801c,scaleY:_0x5a6196}=_0x7a711d[_0x5bcd4f(0x3f3)](),_0x30e215=_0x7a711d[_0x5bcd4f(0x1ba)](_0x36ac30[_0x5bcd4f(0x3a3)]['VIEW_MAIN']),_0x58ae44=_0x7a711d[_0x5bcd4f(0x369)](_0x36ac30['Vector2']['FromArray']([_0x1ae050,_0x184f99]),_0x30e215),_0x50da3d=_0x31c4dc[_0x5bcd4f(0x3e2)](_0x82c3ba,_0x262db8,_0x23801c,_0x5a6196,_0x58ae44);((_0x5b07de=this[_0x5bcd4f(0x405)])==null?void 0x0:_0x5b07de['column'])===_0x50da3d[_0x5bcd4f(0x206)]&&((_0x53c19e=this[_0x5bcd4f(0x405)])==null?void 0x0:_0x53c19e[_0x5bcd4f(0x2c4)])===_0x50da3d[_0x5bcd4f(0x2c4)]||this[_0x5bcd4f(0x249)][_0x5bcd4f(0x293)](_0x25ab19=>{const _0x340042=_0x5bcd4f;_0x25ab19[_0x340042(0x353)](_0x50da3d);});},0x64));});}[_0x151804(0x417)](_0x5b8d40,_0x4cb8b6){const _0xe8736c=_0x151804;var _0x54d14d;const _0x48b309=(_0x54d14d=this[_0xe8736c(0x19c)][_0xe8736c(0x3f0)]())==null?void 0x0:_0x54d14d[_0xe8736c(0x2d1)];if(!_0x48b309)return;const _0x2c4999=this[_0xe8736c(0x3be)]();if(!_0x2c4999)return;this[_0xe8736c(0x249)][_0xe8736c(0x293)](_0x275884=>{const _0x29441e=_0xe8736c;_0x275884[_0x29441e(0x315)]();});const {scene:_0x253dda}=_0x2c4999,_0x2bfaf3=_0x3df09c(Array['from'](_0x4cb8b6[_0xe8736c(0x27b)]()))[_0xe8736c(0x2a2)](_0x1c6bf6=>{const _0x45f969=_0xe8736c,{color:_0x9227ed,range:_0xb9a04b,name:_0x1ed242,selection:_0x196d86,sheetID:_0x23f9b8}=_0x1c6bf6,{startColumn:_0x5dcbbe,startRow:_0x7af52d,endColumn:_0x1dfd94,endRow:_0x48710c}=_0xb9a04b,_0x3b5e7a=_0x4362f1['getCoordByCell'](_0x7af52d,_0x5dcbbe,_0x253dda,_0x48b309),_0x547053=_0x4362f1[_0x45f969(0x1d6)](_0x48710c,_0x1dfd94,_0x253dda,_0x48b309),{columnHeaderHeightAndMarginTop:_0x334c5f}=_0x48b309,{startX:_0x4f0090,startY:_0x1d5539}=_0x3b5e7a,{endX:_0x17b657,endY:_0x1b0480}=_0x547053,_0x1576d7=_0x17b657-_0x4f0090,_0x332894=_0x1b0480-_0x1d5539,_0x5c70df={'labelPosition':_0x1d5539-_0x334c5f>=_0x167404?'top':_0x45f969(0x33d),'sheetID':_0x23f9b8,'range':_0xb9a04b,'color':_0x9227ed,'name':_0x1ed242,'selection':_0x196d86,'left':_0x4f0090,'top':_0x1d5539,'width':_0x1576d7,'height':_0x332894,'evented':!0x1,'zIndex':_0x340cbe};return new _0x105416(_0x1ed242,_0x5c70df);});_0x253dda[_0xe8736c(0x3d2)](_0x2bfaf3,_0x49c0d0),this[_0xe8736c(0x249)]=new Set(_0x2bfaf3);}[_0x151804(0x266)](){const _0x5802d9=_0x151804;var _0xfef0a7;(_0xfef0a7=this[_0x5802d9(0x249)])==null||_0xfef0a7[_0x5802d9(0x293)](_0x448285=>_0x448285['dispose']());}[_0x151804(0x3be)](){const _0x4099f7=_0x151804;return _0x4362f1[_0x4099f7(0x1e3)](this[_0x4099f7(0x13b)][_0x4099f7(0x330)],this[_0x4099f7(0x13b)]);}};_0x3481bc=_0x4a5579([_0x37de3b(0x1,_0x4b903d[_0x151804(0x18d)](_0x4362f1['SheetSkeletonManagerService'])),_0x37de3b(0x2,_0x4b903d[_0x151804(0x18d)](_0x8fdf50)),_0x37de3b(0x3,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3ce)]))],_0x3481bc);function _0x3df09c(_0x164d7d){const _0x19430d=_0x151804,_0x56f620=new Map();return _0x164d7d[_0x19430d(0x293)](_0x1cdec8=>{const _0x4a0b46=_0x19430d;if(_0x56f620[_0x4a0b46(0x326)](_0x1cdec8[_0x4a0b46(0x2af)])){const _0x348488=_0x56f620[_0x4a0b46(0x1a2)](_0x1cdec8[_0x4a0b46(0x2af)]);_0x348488[_0x4a0b46(0x2d6)]+=',\x20'+_0x1cdec8[_0x4a0b46(0x2d6)];}else _0x56f620[_0x4a0b46(0x2d7)](_0x1cdec8[_0x4a0b46(0x2af)],_0x1cdec8);}),Array[_0x19430d(0x2bd)](_0x56f620[_0x19430d(0x27b)]());}var _0x1c45b9=Object[_0x151804(0x277)],_0x174f35=(_0x321099,_0x283f0a,_0x1a8fdb,_0x183133)=>{for(var _0x4b7541=_0x183133>0x1?void 0x0:_0x183133?_0x1c45b9(_0x283f0a,_0x1a8fdb):_0x283f0a,_0x186712=_0x321099['length']-0x1,_0x51621e;_0x186712>=0x0;_0x186712--)(_0x51621e=_0x321099[_0x186712])&&(_0x4b7541=_0x51621e(_0x4b7541)||_0x4b7541);return _0x4b7541;},_0x5c2120=(_0x1956e7,_0x281960)=>(_0x3a0349,_0x485c2b)=>_0x281960(_0x3a0349,_0x485c2b,_0x1956e7);let _0x492873=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x147ab3,_0x5e5e6b,_0x5af092,_0x4beaaf,_0x906691,_0x504ffe){const _0x27d472=_0x151804;super(),this[_0x27d472(0x3b9)]=_0x147ab3,this[_0x27d472(0x306)]=_0x5e5e6b,this[_0x27d472(0x225)]=_0x5af092,this['_messageService']=_0x4beaaf,this[_0x27d472(0x2e4)]=_0x906691,this[_0x27d472(0x304)]=_0x504ffe,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x151804(0x3f8)](){const _0x3e9026=_0x151804;this['disposeWithMe'](this[_0x3e9026(0x3b9)][_0x3e9026(0x1b8)](()=>{const _0x4352c8=_0x3e9026;if(this[_0x4352c8(0x306)][_0x4352c8(0x1fb)]['size'])return this['_localeService']['t'](_0x4352c8(0x3db));}));}[_0x151804(0x336)](){const _0x47c7a7=_0x151804;this['disposeWithMe'](this[_0x47c7a7(0x225)][_0x47c7a7(0x15b)]['subscribe'](_0x35afb6=>{const _0x429e5a=_0x47c7a7;_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x393)]&&this['_messageService'][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t']('collaboration.single-unit.warning')}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)]['CLOSE_ROOM']&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x1f7))}),_0x35afb6['id']===_0x792235['CollaborationUIEventId'][_0x429e5a(0x328)]&&this[_0x429e5a(0x2e4)]['show']({'title':this[_0x429e5a(0x304)]['t']('permission.title'),'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x207)),'type':_0x429e5a(0x2ff),'duration':0x0}),_0x35afb6['id']===_0x792235['CollaborationUIEventId'][_0x429e5a(0x41c)]&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x2a1)],'content':this['_localeService']['t'](_0x429e5a(0x1f7))+'('+_0x35afb6[_0x429e5a(0x40f)]+')'}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x25f)]&&this['_messageService']['show']({'type':_0x486dbb[_0x429e5a(0x3c4)]['Warning'],'content':this[_0x429e5a(0x304)]['t'](_0x35afb6[_0x429e5a(0x40f)]||'')}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x16d)]&&this['_messageService'][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x27e))}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x396)]&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)]['Error'],'content':this['_localeService']['t'](_0x429e5a(0x14c))}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x486dbb[_0x429e5a(0x3c4)]['Error'],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x492873=_0x174f35([_0x5c2120(0x0,_0x109597['IBeforeCloseService']),_0x5c2120(0x1,_0x792235['ILocalCacheService']),_0x5c2120(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x34c)])),_0x5c2120(0x3,_0x109597[_0x151804(0x1e1)]),_0x5c2120(0x4,_0x109597[_0x151804(0x2f2)]),_0x5c2120(0x5,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3de)]))],_0x492873);var _0x2a1ed3=Object[_0x151804(0x277)],_0x1d1b2c=(_0x4ef4e5,_0x4cf192,_0x211590,_0x5e1455)=>{const _0x21f337=_0x151804;for(var _0x59ba27=_0x5e1455>0x1?void 0x0:_0x5e1455?_0x2a1ed3(_0x4cf192,_0x211590):_0x4cf192,_0xa3275b=_0x4ef4e5[_0x21f337(0x3e7)]-0x1,_0x5e367e;_0xa3275b>=0x0;_0xa3275b--)(_0x5e367e=_0x4ef4e5[_0xa3275b])&&(_0x59ba27=_0x5e367e(_0x59ba27)||_0x59ba27);return _0x59ba27;},_0x503f65=(_0x3bf4f2,_0xdb85b9)=>(_0x45ef27,_0x26471b)=>_0xdb85b9(_0x45ef27,_0x26471b,_0x3bf4f2);let _0x48fc71=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x3b41eb,_0xd74649,_0xe3a714,_0x2cad09){const _0x118129=_0x151804;super(),_0x198f8a(this,_0x118129(0x391)),(this[_0x118129(0x410)]=_0x3b41eb,this[_0x118129(0x3b3)]=_0xd74649,this[_0x118129(0x338)]=_0xe3a714,this[_0x118129(0x16b)]=_0x2cad09,this[_0x118129(0x1b2)]());}['_init'](){const _0x2ee006=_0x151804;this['_initWindowErrorListener'](),this[_0x2ee006(0x399)](),this[_0x2ee006(0x404)](),this[_0x2ee006(0x269)]();}['_initUserListener'](){const _0x4cf586=_0x151804;this[_0x4cf586(0x2f8)](this['_collaborationSessionService']['socket$'][_0x4cf586(0x24d)](_0x3ce960=>{const _0x5d9fb1=_0x4cf586;this[_0x5d9fb1(0x391)]=_0x3ce960==null?void 0x0:_0x3ce960[_0x5d9fb1(0x19b)];}));}[_0x151804(0x19f)](){const _0x191ab9=_0x151804,_0x37e98f=_0x45d830=>{const _0xfda7d1=_0x533d;var _0x114485;this['_uploadLog'](_0xfda7d1(0x2ff),_0xfda7d1(0x1ec)+_0x45d830[_0xfda7d1(0x3d7)]+'\x20at\x20'+_0x45d830['filename']+':'+_0x45d830[_0xfda7d1(0x2b4)]+':'+_0x45d830[_0xfda7d1(0x370)]+'\x0a'+(((_0x114485=_0x45d830[_0xfda7d1(0x2ff)])==null?void 0x0:_0x114485[_0xfda7d1(0x3b5)])||''));};window[_0x191ab9(0x3bc)](_0x191ab9(0x2ff),_0x37e98f),this['disposeWithMe'](()=>{const _0x323870=_0x191ab9;window[_0x323870(0x2b3)](_0x323870(0x2ff),_0x37e98f);});}[_0x151804(0x399)](){const _0x3104b5=_0x151804,_0x3209a0=_0x35e05f=>{const _0x12fbd1=_0x533d;this['_uploadLog']('error',_0x12fbd1(0x172)+_0x35e05f[_0x12fbd1(0x1d8)]);};window[_0x3104b5(0x3bc)](_0x3104b5(0x371),_0x3209a0),this[_0x3104b5(0x2f8)](()=>{const _0x342b28=_0x3104b5;window[_0x342b28(0x2b3)]('unhandledrejection',_0x3209a0);});}[_0x151804(0x404)](){const _0x1e03b2=_0x151804,_0x2b433f=this['_logService'][_0x1e03b2(0x2ff)]['bind'](this[_0x1e03b2(0x338)]);this[_0x1e03b2(0x338)][_0x1e03b2(0x2ff)]=(..._0x389c7a)=>{const _0x15458d=_0x1e03b2,_0x304aa6=_0x389c7a[_0x15458d(0x2a2)](_0x4c3dc4=>_0x4c3dc4 instanceof Error?_0x4c3dc4[_0x15458d(0x3d7)]+'\x0a'+_0x4c3dc4[_0x15458d(0x3b5)]:String(_0x4c3dc4))[_0x15458d(0x3eb)]('\x20');this[_0x15458d(0x3bf)]('error',_0x15458d(0x3ab)+_0x304aa6),_0x2b433f(..._0x389c7a);},this[_0x1e03b2(0x2f8)](()=>{const _0x1df2ec=_0x1e03b2;this[_0x1df2ec(0x338)][_0x1df2ec(0x2ff)]=_0x2b433f;});}['_uploadLog'](_0x48597e,_0x4d9f50){const _0x11199a=_0x151804;try{const _0x5c70fa={'userId':this[_0x11199a(0x391)],'logLabel':_0x48597e,'content':_0x4d9f50};this[_0x11199a(0x3b3)][_0x11199a(0x257)]('/universer-api/frontend/logs',{'body':_0x5c70fa})[_0x11199a(0x255)](()=>{});}catch{}}};_0x48fc71=_0x1d1b2c([_0x503f65(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d['Injector'])),_0x503f65(0x1,_0x4b903d[_0x151804(0x18d)](_0x58c3fa[_0x151804(0x3f1)])),_0x503f65(0x2,_0x4b903d[_0x151804(0x1d4)]),_0x503f65(0x3,_0x4b903d['Inject'](_0x792235[_0x151804(0x167)]))],_0x48fc71);const _0x58e469='collaboration-client-ui.config',_0x6daa16={};var _0x308a00=Object[_0x151804(0x277)],_0x2a40f0=(_0x5a1fb3,_0xaf07fb,_0xe90649,_0x2e5f0f)=>{const _0x4fcd69=_0x151804;for(var _0x140fbd=_0x2e5f0f>0x1?void 0x0:_0x2e5f0f?_0x308a00(_0xaf07fb,_0xe90649):_0xaf07fb,_0x3a6c1f=_0x5a1fb3[_0x4fcd69(0x3e7)]-0x1,_0x4e1cab;_0x3a6c1f>=0x0;_0x3a6c1f--)(_0x4e1cab=_0x5a1fb3[_0x3a6c1f])&&(_0x140fbd=_0x4e1cab(_0x140fbd)||_0x140fbd);return _0x140fbd;},_0x5c4100=(_0x5b6cb1,_0xc57ebf)=>(_0x46c9b8,_0xec1398)=>_0xc57ebf(_0x46c9b8,_0xec1398,_0x5b6cb1);let _0x37eb54=class{constructor(_0x59e9e2,_0x307412){const _0x42908b=_0x151804;this[_0x42908b(0x21a)]=_0x59e9e2,this[_0x42908b(0x3bd)]=_0x307412;}[_0x151804(0x419)](_0x55dc0){const _0x241947=_0x151804;this[_0x241947(0x22d)](_0x55dc0),this[_0x241947(0x240)](_0x55dc0);}[_0x151804(0x2f5)](_0x2d3cf9){const _0x2c3563=_0x151804,{unitID:_0x179b3b}=_0x2d3cf9,_0xe0cebc=this[_0x2c3563(0x3bd)][_0x2c3563(0x32a)](_0x179b3b)[_0x2c3563(0x1b6)](_0x809b8[_0x2c3563(0x204)]),{redoCache:_0x56dd4c}=_0xe0cebc[_0x2c3563(0x18a)]();if(_0x56dd4c['length']===0x0)return _0x2d3cf9;let _0x42dad4=_0x4b903d[_0x2c3563(0x395)]['deepClone'](_0x2d3cf9['mutations'][0x0]);for(let _0x5c14e4=0x0;_0x5c14e4<_0x56dd4c[_0x2c3563(0x3e7)];_0x5c14e4++){const _0x11ff6b={'id':_0x2c3563(0x362),'params':{..._0x56dd4c[_0x5c14e4]}},_0x2b41a8=this[_0x2c3563(0x21a)][_0x2c3563(0x244)](_0x42dad4,_0x11ff6b,!0x1);if(_0x3810d3[_0x2c3563(0x3c9)](_0x2b41a8))throw _0x2b41a8[_0x2c3563(0x2ff)];_0x42dad4=_0x2b41a8[_0x2c3563(0x1a8)];}return{..._0x4b903d[_0x2c3563(0x395)][_0x2c3563(0x3ed)](_0x2d3cf9),'mutations':[_0x42dad4]};}[_0x151804(0x22d)](_0x2c292f){const _0x345908=_0x151804,{unitID:_0x47f65f}=_0x2c292f,_0x4ae1c2=this['_renderManagerService'][_0x345908(0x32a)](_0x47f65f)[_0x345908(0x1b6)](_0x809b8[_0x345908(0x204)]),{undoCache:_0x4a6b37,redoCache:_0x3883db}=_0x4ae1c2[_0x345908(0x18a)]();if(_0x4a6b37[_0x345908(0x3e7)]===0x0||_0x3883db[_0x345908(0x3e7)]===0x0)return;const _0x5773c3=[],_0x53e579=[];let _0x418cb9=_0x4b903d[_0x345908(0x395)][_0x345908(0x3ed)](_0x2c292f[_0x345908(0x34d)][0x0]),_0x1a7cf1=_0x4b903d[_0x345908(0x395)][_0x345908(0x3ed)](_0x2c292f[_0x345908(0x34d)][0x0]);for(let _0x195115=_0x4a6b37[_0x345908(0x3e7)]-0x1;_0x195115>=0x0;_0x195115--){const _0x39f81d={'id':_0x345908(0x362),'params':{..._0x4a6b37[_0x195115]}},_0x185efc={'id':_0x345908(0x362),'params':{..._0x3883db[_0x195115]}},_0x35f143=this[_0x345908(0x21a)][_0x345908(0x244)](_0x418cb9,_0x39f81d,!0x1),_0x2750a8=this[_0x345908(0x21a)][_0x345908(0x244)](_0x1a7cf1,_0x185efc,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x35f143))throw _0x35f143[_0x345908(0x2ff)];if(_0x3810d3['isTransformMutationFailure'](_0x2750a8))throw _0x2750a8[_0x345908(0x2ff)];_0x5773c3[_0x345908(0x184)](_0x35f143[_0x345908(0x25b)][_0x345908(0x1cb)]),_0x53e579[_0x345908(0x184)](_0x2750a8['m2Prime'][_0x345908(0x1cb)]),_0x418cb9=_0x35f143['m1Prime'],_0x1a7cf1=_0x2750a8[_0x345908(0x1a8)];}_0x4ae1c2[_0x345908(0x382)]({'undoCache':_0x5773c3,'redoCache':_0x53e579});}[_0x151804(0x240)](_0x409fe4){const _0x53a731=_0x151804,{unitID:_0x14a2f8}=_0x409fe4,_0x56ac84=this[_0x53a731(0x3bd)][_0x53a731(0x32a)](_0x14a2f8)[_0x53a731(0x1b6)](_0x809b8['DocIMEInputManagerService']),_0x2a4993=_0x56ac84[_0x53a731(0x177)]();if(_0x2a4993==null)return;const _0x627a86=[{'id':_0x53a731(0x362),'params':{'unitId':_0x409fe4['unitID'],'actions':null,'textRanges':[_0x2a4993]}}],_0x1669e9=this[_0x53a731(0x21a)]['transformMutationsWithChangeset'](_0x409fe4,_0x627a86);if(!_0x3810d3[_0x53a731(0x1ff)](_0x1669e9))throw _0x1669e9[_0x53a731(0x2ff)];const _0x2d84a3=_0x1669e9[_0x53a731(0x25b)][0x0]['params'][_0x53a731(0x173)];Array['isArray'](_0x2d84a3)&&_0x2d84a3[_0x53a731(0x3e7)]&&_0x56ac84[_0x53a731(0x2d2)](_0x2d84a3[0x0]);}};_0x37eb54=_0x2a40f0([_0x5c4100(0x0,_0x3810d3[_0x151804(0x3aa)]),_0x5c4100(0x1,_0x36ac30['IRenderManagerService'])],_0x37eb54);var _0x4d87ad=Object['getOwnPropertyDescriptor'],_0x17dceb=(_0x420595,_0x5a4f0f,_0x4de47c,_0x186204)=>{const _0xa70dc=_0x151804;for(var _0x1c0750=_0x186204>0x1?void 0x0:_0x186204?_0x4d87ad(_0x5a4f0f,_0x4de47c):_0x5a4f0f,_0x438d39=_0x420595[_0xa70dc(0x3e7)]-0x1,_0x220c65;_0x438d39>=0x0;_0x438d39--)(_0x220c65=_0x420595[_0x438d39])&&(_0x1c0750=_0x220c65(_0x1c0750)||_0x1c0750);return _0x1c0750;},_0xd36a72=(_0x346644,_0x14d5a7)=>(_0x1c4f17,_0x147a54)=>_0x14d5a7(_0x1c4f17,_0x147a54,_0x346644);let _0x28eae8=class{constructor(_0x3c544d,_0x1096ef,_0x20a0b6){const _0x85c5d=_0x151804;this[_0x85c5d(0x410)]=_0x3c544d,this['_transformService']=_0x1096ef,this[_0x85c5d(0x22c)]=_0x20a0b6;}[_0x151804(0x358)](_0x32251e){const _0x4b0447=_0x151804;this[_0x4b0447(0x305)](_0x32251e);}[_0x151804(0x2f5)](_0x2aafcf){const _0x26aac7=_0x151804,{unitID:_0x47c506}=_0x2aafcf,{collaboration:_0x193000}=this['_docStateChangeManagerService']['getStateCache'](_0x47c506);if(_0x193000[_0x26aac7(0x3e7)]===0x0)return _0x2aafcf;let _0x56763c=_0x4b903d[_0x26aac7(0x395)]['deepClone'](_0x2aafcf['mutations'][0x0]);for(let _0x5b95c7=0x0;_0x5b95c7<_0x193000['length'];_0x5b95c7++){const _0x38d118={'id':_0x26aac7(0x362),'params':{'unitId':_0x193000[_0x5b95c7][_0x26aac7(0x1a9)],..._0x193000[_0x5b95c7][_0x26aac7(0x35c)]}},_0xc53519=this[_0x26aac7(0x21a)][_0x26aac7(0x244)](_0x56763c,_0x38d118,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0xc53519))throw _0xc53519[_0x26aac7(0x2ff)];_0x56763c=_0xc53519[_0x26aac7(0x1a8)];}return{..._0x4b903d[_0x26aac7(0x395)]['deepClone'](_0x2aafcf),'mutations':[_0x56763c]};}[_0x151804(0x305)](_0x3bbcd6){const _0x238e58=_0x151804,{unitID:_0x537ea1}=_0x3bbcd6,{history:_0x56fb7e,collaboration:_0x3e2894}=this['_docStateChangeManagerService'][_0x238e58(0x236)](_0x537ea1);if(_0x56fb7e['length']===0x0&&_0x3e2894[_0x238e58(0x3e7)]===0x0)return;const _0x264ab0=[],_0x514a38=[];let _0x1ce5c6=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]),_0x1dc0fa=_0x4b903d[_0x238e58(0x395)]['deepClone'](_0x3bbcd6['mutations'][0x0]);for(let _0x5b8f6f=_0x56fb7e[_0x238e58(0x3e7)]-0x1;_0x5b8f6f>=0x0;_0x5b8f6f--){const _0x303813={'id':_0x238e58(0x362),'params':{'unitId':_0x56fb7e[_0x5b8f6f][_0x238e58(0x1a9)],..._0x56fb7e[_0x5b8f6f]['undoState']}},_0x545604={'id':_0x238e58(0x362),'params':{'unitId':_0x56fb7e[_0x5b8f6f][_0x238e58(0x1a9)],..._0x56fb7e[_0x5b8f6f][_0x238e58(0x35c)]}},_0x29fb02=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1ce5c6,_0x303813,!0x1),_0x50d4c3=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1dc0fa,_0x545604,!0x1);if(_0x3810d3[_0x238e58(0x3c9)](_0x29fb02))throw _0x29fb02[_0x238e58(0x2ff)];if(_0x3810d3[_0x238e58(0x3c9)](_0x50d4c3))throw _0x50d4c3[_0x238e58(0x2ff)];_0x264ab0[_0x238e58(0x184)]({..._0x56fb7e[_0x5b8f6f],'undoState':_0x29fb02[_0x238e58(0x25b)][_0x238e58(0x1cb)],'redoState':_0x50d4c3[_0x238e58(0x25b)][_0x238e58(0x1cb)]}),_0x1ce5c6=_0x29fb02[_0x238e58(0x1a8)],_0x1dc0fa=_0x50d4c3[_0x238e58(0x1a8)];}_0x1ce5c6=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]),_0x1dc0fa=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]);for(let _0x3c3a83=_0x3e2894[_0x238e58(0x3e7)]-0x1;_0x3c3a83>=0x0;_0x3c3a83--){const _0x1874dd={'id':_0x238e58(0x362),'params':{'unitId':_0x3e2894[_0x3c3a83]['unitId'],..._0x3e2894[_0x3c3a83]['undoState']}},_0x12886a={'id':_0x238e58(0x362),'params':{'unitId':_0x3e2894[_0x3c3a83][_0x238e58(0x1a9)],..._0x3e2894[_0x3c3a83]['redoState']}},_0x48fc9b=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1ce5c6,_0x1874dd,!0x1),_0x5148a1=this['_transformService']['transformMutation'](_0x1dc0fa,_0x12886a,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x48fc9b))throw _0x48fc9b[_0x238e58(0x2ff)];if(_0x3810d3['isTransformMutationFailure'](_0x5148a1))throw _0x5148a1['error'];_0x514a38[_0x238e58(0x184)]({..._0x3e2894[_0x3c3a83],'undoState':_0x48fc9b[_0x238e58(0x25b)]['params'],'redoState':_0x5148a1[_0x238e58(0x25b)]['params']}),_0x1ce5c6=_0x48fc9b['m1Prime'],_0x1dc0fa=_0x5148a1[_0x238e58(0x1a8)];}this['_docStateChangeManagerService'][_0x238e58(0x275)](_0x537ea1,{'history':_0x264ab0,'collaboration':_0x514a38});}};_0x28eae8=_0x17dceb([_0xd36a72(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0xd36a72(0x1,_0x3810d3[_0x151804(0x3aa)]),_0xd36a72(0x2,_0x4b903d[_0x151804(0x18d)](_0x809b8[_0x151804(0x320)]))],_0x28eae8);var _0xb3bdd=Object[_0x151804(0x277)],_0x484c37=(_0x31b90f,_0x4d4405,_0x12b02c,_0x3e0ae6)=>{const _0x7e03b3=_0x151804;for(var _0x42b80f=_0x3e0ae6>0x1?void 0x0:_0x3e0ae6?_0xb3bdd(_0x4d4405,_0x12b02c):_0x4d4405,_0x140d09=_0x31b90f[_0x7e03b3(0x3e7)]-0x1,_0x113ce2;_0x140d09>=0x0;_0x140d09--)(_0x113ce2=_0x31b90f[_0x140d09])&&(_0x42b80f=_0x113ce2(_0x42b80f)||_0x42b80f);return _0x42b80f;},_0x1b81ef=(_0x34f45c,_0x164986)=>(_0x42c8f3,_0x2b62eb)=>_0x164986(_0x42c8f3,_0x2b62eb,_0x34f45c);let _0x37c8c3=class{constructor(_0x270515,_0x839625){const _0x2061a5=_0x151804;this['_injector']=_0x270515,this[_0x2061a5(0x21a)]=_0x839625;}[_0x151804(0x2b8)](_0x55631e){const _0x3cdb98=_0x151804;var _0x3ff802;const _0x3b4f2d=this[_0x3cdb98(0x410)][_0x3cdb98(0x1a2)](_0x4c8112[_0x3cdb98(0x22e)]),_0x41027e=(_0x3ff802=_0x3b4f2d['getDocRanges']())!=null?_0x3ff802:[];if(_0x41027e['length']===0x0)return;const _0xfb6904=_0x55631e[_0x3cdb98(0x36b)],_0x4c87b0=[{'id':_0x3cdb98(0x362),'params':{'unitId':_0xfb6904,'actions':null,'textRanges':_0x41027e}}],_0x3b6ac1=this['_transformService'][_0x3cdb98(0x273)](_0x55631e,_0x4c87b0);if(!_0x3810d3[_0x3cdb98(0x1ff)](_0x3b6ac1))throw _0x3b6ac1['error'];const _0x36c17a=_0x3b6ac1['m2Prime'][0x0]['params'][_0x3cdb98(0x173)];Array[_0x3cdb98(0x373)](_0x36c17a)&&_0x36c17a['length']&&_0x3b4f2d[_0x3cdb98(0x1fa)](_0x36c17a,{'unitId':_0xfb6904,'subUnitId':_0xfb6904},!0x1);}};_0x37c8c3=_0x484c37([_0x1b81ef(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x1b81ef(0x1,_0x3810d3[_0x151804(0x3aa)])],_0x37c8c3);var _0x354429=Object[_0x151804(0x277)],_0x469280=(_0x10f93c,_0x14630a,_0x3a99db,_0x517652)=>{const _0x45233c=_0x151804;for(var _0x25884e=_0x517652>0x1?void 0x0:_0x517652?_0x354429(_0x14630a,_0x3a99db):_0x14630a,_0x219ba0=_0x10f93c[_0x45233c(0x3e7)]-0x1,_0x3d7107;_0x219ba0>=0x0;_0x219ba0--)(_0x3d7107=_0x10f93c[_0x219ba0])&&(_0x25884e=_0x3d7107(_0x25884e)||_0x25884e);return _0x25884e;},_0x4c7540=(_0xdfbb88,_0x4aa08d)=>(_0xfe734f,_0x1cc31d)=>_0x4aa08d(_0xfe734f,_0x1cc31d,_0xdfbb88);let _0x337b06=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x2df077,_0x487325,_0x5c1295,_0x4015ca,_0x25535a,_0x1d7806,_0x48ed4a,_0x248218){const _0x1927d2=_0x151804;super(),_0x198f8a(this,'_status$',new _0xdde2a6[(_0x1927d2(0x2f9))](_0x792235[_0x1927d2(0x17c)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x2df077,this[_0x1927d2(0x268)]=_0x487325,this[_0x1927d2(0x356)]=_0x5c1295,this[_0x1927d2(0x40e)]=_0x4015ca,this[_0x1927d2(0x1ae)]=_0x25535a,this['_docSyncEditingCollabCursorService']=_0x1d7806,this['_messageService']=_0x48ed4a,this[_0x1927d2(0x304)]=_0x248218,this[_0x1927d2(0x221)]());}[_0x151804(0x221)](){const _0x26db84=_0x151804;this[_0x26db84(0x2f8)](this[_0x26db84(0x268)][_0x26db84(0x33a)][_0x26db84(0x24d)](_0x48f6b6=>{const _0x19c0f7=_0x26db84,_0x543b42=this[_0x19c0f7(0x22c)]['docStateChange$'][_0x19c0f7(0x24d)](_0x2fe264=>{const _0x26c864=_0x19c0f7;if(_0x2fe264==null)return;const {unitId:_0x245651,redoState:_0x209140,commandId:_0x351c25}=_0x2fe264;if(_0x245651!==_0x48f6b6[_0x26c864(0x36b)])return;const _0x235d68={'id':_0x351c25,'type':_0x4b903d['CommandType'][_0x26c864(0x3a9)],'params':{'unitId':_0x245651,'actions':_0x209140[_0x26c864(0x1bc)],'textRanges':null}};_0x48f6b6[_0x26c864(0x3c7)](_0x235d68);});if(_0x48f6b6['disposeWithMe'](_0x543b42),_0x48f6b6 instanceof _0x792235[_0x19c0f7(0x137)]){const _0x3b97b8={'onTransformIME':_0x502b7a=>this[_0x19c0f7(0x356)][_0x19c0f7(0x419)](_0x502b7a),'onTransformState':_0xbcad89=>this[_0x19c0f7(0x40e)][_0x19c0f7(0x358)](_0xbcad89),'onTransformSelections':_0x149231=>this[_0x19c0f7(0x1ae)]['transformSelections'](_0x149231),'onSyncEditingCollabCursor':_0x1082c9=>this[_0x19c0f7(0x41f)][_0x19c0f7(0x3d8)](_0x1082c9),'onTransformRemoteChangesetByIMECache':_0xfca5b=>this['_docTransformIMECacheService'][_0x19c0f7(0x2f5)](_0xfca5b),'onTransformRemoteChangesetByStateCache':_0x5e4110=>this[_0x19c0f7(0x40e)]['transformRemoteChangeset'](_0x5e4110)};_0x48f6b6[_0x19c0f7(0x223)](_0x3b97b8);}}));}};_0x337b06=_0x469280([_0x4c7540(0x0,_0x4b903d[_0x151804(0x18d)](_0x809b8[_0x151804(0x320)])),_0x4c7540(0x1,_0x4b903d['Inject'](_0x792235['CollaborationController'])),_0x4c7540(0x2,_0x4b903d['Inject'](_0x37eb54)),_0x4c7540(0x3,_0x4b903d['Inject'](_0x28eae8)),_0x4c7540(0x4,_0x4b903d['Inject'](_0x37c8c3)),_0x4c7540(0x5,_0x4b903d['Inject'](_0x103d56)),_0x4c7540(0x6,_0x109597[_0x151804(0x1e1)]),_0x4c7540(0x7,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3de)]))],_0x337b06);var _0x36c5dc=(_0x221edf=>(_0x221edf[_0x221edf[_0x151804(0x284)]=0x0]=_0x151804(0x284),_0x221edf[_0x221edf['OK']=0x1]='OK',_0x221edf[_0x221edf[_0x151804(0x3fa)]=0x2]=_0x151804(0x3fa),_0x221edf[_0x221edf[_0x151804(0x328)]=0x3]='PERMISSION_DENIED',_0x221edf[_0x221edf[_0x151804(0x3df)]=0x4]=_0x151804(0x3df),_0x221edf[_0x221edf[_0x151804(0x348)]=0x5]=_0x151804(0x348),_0x221edf[_0x221edf[_0x151804(0x322)]=0x6]=_0x151804(0x322),_0x221edf[_0x221edf[_0x151804(0x321)]=0x7]=_0x151804(0x321),_0x221edf[_0x221edf[_0x151804(0x27a)]=0x8]='TOO_MANY_REQUESTS',_0x221edf[_0x221edf['COMPLETION_FINISHED']=0x9]=_0x151804(0x3c6),_0x221edf[_0x221edf[_0x151804(0x203)]=0xa]='LOGIN_FAILED',_0x221edf[_0x221edf[_0x151804(0x28f)]=0xb]=_0x151804(0x28f),_0x221edf[_0x221edf[_0x151804(0x1c2)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x221edf[_0x221edf['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x151804(0x301),_0x221edf[_0x221edf['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x151804(0x377),_0x221edf[_0x221edf['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x221edf[_0x221edf[_0x151804(0x346)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x221edf[_0x221edf['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x221edf[_0x221edf[_0x151804(0x298)]=0x65]='ERROR_AGAIN',_0x221edf[_0x221edf['USER_NOT_FOUND']=0xc9]=_0x151804(0x400),_0x221edf[_0x221edf[_0x151804(0x1cc)]=0xca]=_0x151804(0x1cc),_0x221edf[_0x221edf[_0x151804(0x25a)]=0x1389]=_0x151804(0x25a),_0x221edf[_0x221edf[_0x151804(0x19d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x221edf[_0x221edf[_0x151804(0x210)]=0x1772]=_0x151804(0x210),_0x221edf[_0x221edf[_0x151804(0x2a8)]=0x1773]=_0x151804(0x2a8),_0x221edf[_0x221edf['APPLY_REJECT']=0x1b59]=_0x151804(0x39f),_0x221edf[_0x221edf['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x151804(0x1f1),_0x221edf[_0x221edf[_0x151804(0x148)]=0x1b5b]=_0x151804(0x148),_0x221edf[_0x221edf[_0x151804(0x2be)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x221edf[_0x221edf[_0x151804(0x38a)]=0x1b5d]=_0x151804(0x38a),_0x221edf[_0x221edf[_0x151804(0x181)]=0x1f41]=_0x151804(0x181),_0x221edf[_0x221edf[_0x151804(0x153)]=0x2329]=_0x151804(0x153),_0x221edf[_0x221edf[_0x151804(0x24a)]=0x232a]=_0x151804(0x24a),_0x221edf[_0x221edf[_0x151804(0x3b8)]=0x232b]=_0x151804(0x3b8),_0x221edf[_0x221edf[_0x151804(0x139)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x221edf[_0x221edf[_0x151804(0x2e5)]=0x232d]=_0x151804(0x2e5),_0x221edf[_0x221edf[_0x151804(0x165)]=0x2711]=_0x151804(0x165),_0x221edf[_0x221edf[_0x151804(0x3f9)]=0x2712]=_0x151804(0x3f9),_0x221edf[_0x221edf['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x151804(0x32c),_0x221edf[_0x221edf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x151804(0x2f0),_0x221edf[_0x221edf[_0x151804(0x264)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x221edf[_0x221edf[_0x151804(0x23d)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x221edf[_0x221edf[_0x151804(0x296)]=0x271c]=_0x151804(0x296),_0x221edf[_0x221edf['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x221edf[_0x221edf['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x151804(0x31a),_0x221edf[_0x221edf['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x221edf[_0x221edf[_0x151804(0x3b6)]=0x2720]=_0x151804(0x3b6),_0x221edf[_0x221edf[_0x151804(0x3ff)]=0x2af9]=_0x151804(0x3ff),_0x221edf[_0x221edf[_0x151804(0x20a)]=0x2ee1]=_0x151804(0x20a),_0x221edf[_0x221edf[_0x151804(0x387)]=0x2ee2]=_0x151804(0x387),_0x221edf[_0x221edf[_0x151804(0x3dd)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x221edf[_0x221edf[_0x151804(0x21e)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x221edf[_0x221edf[_0x151804(0x2b5)]=0x2ee5]=_0x151804(0x2b5),_0x221edf[_0x221edf['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x151804(0x3ca),_0x221edf[_0x221edf['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x151804(0x303),_0x221edf[_0x221edf['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x151804(0x2ec),_0x221edf[_0x221edf['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x151804(0x30d),_0x221edf[_0x221edf[_0x151804(0x14b)]=0x36b2]=_0x151804(0x14b),_0x221edf[_0x221edf[_0x151804(0x1b1)]=0x36b3]=_0x151804(0x1b1),_0x221edf[_0x221edf[_0x151804(0x379)]=0x36b4]=_0x151804(0x379),_0x221edf[_0x221edf[_0x151804(0x2ee)]=0x36b5]=_0x151804(0x2ee),_0x221edf[_0x221edf[_0x151804(0x29a)]=0x36b6]=_0x151804(0x29a),_0x221edf[_0x221edf[_0x151804(0x1d3)]=0x36b7]=_0x151804(0x1d3),_0x221edf[_0x221edf[_0x151804(0x3c8)]=0x36b8]=_0x151804(0x3c8),_0x221edf[_0x221edf[_0x151804(0x26f)]=0x3715]=_0x151804(0x26f),_0x221edf[_0x221edf[_0x151804(0x1f9)]=0x3716]=_0x151804(0x1f9),_0x221edf[_0x221edf[_0x151804(0x21c)]=0x3717]=_0x151804(0x21c),_0x221edf[_0x221edf[_0x151804(0x354)]=0x37dd]=_0x151804(0x354),_0x221edf[_0x221edf[_0x151804(0x3d1)]=0x3a99]=_0x151804(0x3d1),_0x221edf[_0x221edf[_0x151804(0x149)]=0x3a9a]=_0x151804(0x149),_0x221edf[_0x221edf[_0x151804(0x13f)]=0x3a9b]=_0x151804(0x13f),_0x221edf[_0x221edf['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x151804(0x3ea),_0x221edf[_0x221edf[_0x151804(0x188)]=0x3a9d]=_0x151804(0x188),_0x221edf[_0x221edf[_0x151804(0x2f1)]=0x3a9e]=_0x151804(0x2f1),_0x221edf[_0x221edf[_0x151804(0x2ed)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x221edf[_0x221edf[_0x151804(0x13c)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x221edf[_0x221edf[_0x151804(0x1c5)]=-0x1]=_0x151804(0x1c5),_0x221edf))(_0x36c5dc||{});function _0xed846c(_0x275228){const _0x150c5c=_0x151804;var _0x419a9f,_0x53cea5;const _0x409ca8=(_0x419a9f=_0x275228['stageInfo'])==null?void 0x0:_0x419a9f[_0x150c5c(0x14f)],_0x59a5d7=((_0x53cea5=_0x275228[_0x150c5c(0x2e8)])==null?void 0x0:_0x53cea5[_0x150c5c(0x1b0)])||0x0;return _0x409ca8===_0x511fa6['FormulaExecuteStageType'][_0x150c5c(0x1f2)]&&_0x59a5d7>0x0;}function _0x1d571b(_0x1fcc2c){const _0x253705=_0x151804;return _0x1fcc2c[_0x253705(0x245)]===_0x511fa6[_0x253705(0x238)][_0x253705(0x272)];}var _0x206412=Object[_0x151804(0x277)],_0x4f8316=(_0x52f47b,_0xc7c620,_0x25f32e,_0x1470a3)=>{const _0x40146b=_0x151804;for(var _0x46f1d0=_0x1470a3>0x1?void 0x0:_0x1470a3?_0x206412(_0xc7c620,_0x25f32e):_0xc7c620,_0x3c1adb=_0x52f47b[_0x40146b(0x3e7)]-0x1,_0x341db9;_0x3c1adb>=0x0;_0x3c1adb--)(_0x341db9=_0x52f47b[_0x3c1adb])&&(_0x46f1d0=_0x341db9(_0x46f1d0)||_0x46f1d0);return _0x46f1d0;},_0x39e0af=(_0x58ccae,_0x3ba85d)=>(_0x5d02ad,_0x2f77de)=>_0x3ba85d(_0x5d02ad,_0x2f77de,_0x58ccae);const _0x2befbf='/universer-api/license/formula/limit/status',_0x3a8cd5='/universer-api/license/formula/limit/start',_0x43c983=_0x151804(0x279);let _0x27767e=class extends _0x4b903d['Disposable']{constructor(_0x1f13c7,_0x3ef86b,_0x48297b,_0x45ac14,_0x578c70,_0x2383cd,_0x1e8ca3){const _0x259f8a=_0x151804;super(),_0x198f8a(this,_0x259f8a(0x241),null),_0x198f8a(this,_0x259f8a(0x374),0x0),_0x198f8a(this,_0x259f8a(0x270),0x0),_0x198f8a(this,_0x259f8a(0x3a1),[]),_0x198f8a(this,_0x259f8a(0x28b),0x0),(this[_0x259f8a(0x3a0)]=_0x1f13c7,this[_0x259f8a(0x1c6)]=_0x3ef86b,this[_0x259f8a(0x316)]=_0x48297b,this[_0x259f8a(0x3b3)]=_0x45ac14,this['_univerInstanceService']=_0x578c70,this['_logService']=_0x2383cd,this['_localeService']=_0x1e8ca3,this[_0x259f8a(0x2d3)]());}[_0x151804(0x2d3)](){const _0x4243df=_0x151804;this[_0x4243df(0x2f8)](this[_0x4243df(0x1c6)][_0x4243df(0x3d5)]((_0x1ebb0b,_0x29c3e8)=>{const _0x4b411b=_0x4243df;var _0x199494;if(_0x1ebb0b['id']!==_0x511fa6[_0x4b411b(0x2ae)]['id'])return;const _0x3f8e27=_0x1ebb0b[_0x4b411b(0x1cb)];if(!this[_0x4b411b(0x2ab)]((_0x199494=_0x3f8e27[_0x4b411b(0x38d)])!=null?_0x199494:[]))return;if(!this[_0x4b411b(0x339)]())throw this['_checkAndWaitForCalculationPermission'](_0x1ebb0b,_0x29c3e8),this[_0x4b411b(0x232)](),new _0x4b903d[(_0x4b411b(0x195))]();})),this[_0x4243df(0x2f8)](this[_0x4243df(0x1c6)][_0x4243df(0x280)]((_0x486d4d,_0x328f42)=>{const _0x52b435=_0x4243df;if(_0x486d4d['id']!==_0x511fa6[_0x52b435(0x233)]['id'])return;const _0x218438=_0x486d4d[_0x52b435(0x1cb)];if(_0xed846c(_0x218438)){const _0x32318f=_0x4b903d[_0x52b435(0x24b)]();this[_0x52b435(0x3a1)][_0x52b435(0x1eb)](_0x32318f),this[_0x52b435(0x35b)](_0x32318f);}else{if(_0x1d571b(_0x218438)&&this[_0x52b435(0x3a1)]['length']>0x0){const _0x14ce88=this['_taskIds']['shift']();this['_releaseCalculationLimit'](_0x14ce88);}}}));}[_0x151804(0x2b9)](){const _0x263323=_0x151804;super['dispose'](),this[_0x263323(0x337)](),this[_0x263323(0x3a1)]=[],this[_0x263323(0x270)]=0x0,this[_0x263323(0x374)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x151804(0x2b6)](_0x26d79,_0x4269af){const _0x6f3c2c=_0x151804;for(let _0x1d9aa6=0x0;_0x1d9aa6<0x1e;_0x1d9aa6++)try{if(await this[_0x6f3c2c(0x1e4)](),this[_0x6f3c2c(0x339)]()){this['_applyCommand'](_0x26d79,_0x4269af),this[_0x6f3c2c(0x3a0)][_0x6f3c2c(0x2d4)]({'content':this[_0x6f3c2c(0x304)]['t'](_0x6f3c2c(0x22a)),'type':_0x486dbb[_0x6f3c2c(0x3c4)][_0x6f3c2c(0x297)]});return;}await new Promise(_0x312c5a=>{const _0x221c05=_0x6f3c2c;this[_0x221c05(0x241)]=window['setTimeout'](_0x312c5a,0x3e8);});}catch(_0x778bf5){this[_0x6f3c2c(0x338)]['error'](_0x778bf5);}this[_0x6f3c2c(0x3a0)]['show']({'content':this[_0x6f3c2c(0x304)]['t'](_0x6f3c2c(0x376)),'type':_0x486dbb['MessageType'][_0x6f3c2c(0x2a1)]});}[_0x151804(0x187)](_0x2cb789,_0x5a68b8){const _0xd9571c=_0x151804;try{this['_commandService'][_0xd9571c(0x3fd)](_0x2cb789['id'],_0x2cb789['params'],_0x5a68b8);}catch(_0x4c90c9){this[_0xd9571c(0x338)][_0xd9571c(0x2ff)](_0x4c90c9);}}['_setFormulaLimitStatus'](_0x3b660f,_0x446434){const _0x39f27a=_0x151804;_0x446434<this[_0x39f27a(0x28b)]||(this[_0x39f27a(0x28b)]=_0x446434,this[_0x39f27a(0x374)]=Number['parseInt'](_0x3b660f[_0x39f27a(0x228)]),this[_0x39f27a(0x270)]=Number['parseInt'](_0x3b660f[_0x39f27a(0x27c)]));}async['_startCalculationLimit'](_0x161389){const _0x4a0e5d=_0x151804;var _0x347d6d,_0x353bc5;const _0x535061=Date['now']();try{const _0x46ffa1=((_0x347d6d=this['_configService'][_0x4a0e5d(0x14e)](_0x792235[_0x4a0e5d(0x227)]))==null?void 0x0:_0x347d6d['startFormulaLimitUrl'])||_0x3a8cd5,_0x3a531d=(await this[_0x4a0e5d(0x3b3)]['post'](_0x46ffa1,{'body':JSON[_0x4a0e5d(0x1aa)]({'taskId':_0x161389})}))[_0x4a0e5d(0x1a0)];if(((_0x353bc5=_0x3a531d[_0x4a0e5d(0x2ff)])==null?void 0x0:_0x353bc5[_0x4a0e5d(0x378)])!==_0x36c5dc['OK'])return;this[_0x4a0e5d(0x3ac)](_0x3a531d['limitInfo'],_0x535061);}catch(_0x20ecda){this[_0x4a0e5d(0x338)][_0x4a0e5d(0x2ff)](_0x20ecda);}}async[_0x151804(0x1e4)](_0x495d76){const _0x17a212=_0x151804;var _0xdad023,_0x4c41ea;const _0x561f64=Date[_0x17a212(0x20d)]();try{const _0x12cf6a=((_0xdad023=this[_0x17a212(0x316)][_0x17a212(0x14e)](_0x792235[_0x17a212(0x227)]))==null?void 0x0:_0xdad023['getformulaLimitStatusUrl'])||_0x2befbf,_0x1906a2=_0x495d76?_0x12cf6a+_0x17a212(0x141)+encodeURIComponent(_0x495d76):_0x12cf6a,_0x447e3c=(await this[_0x17a212(0x3b3)][_0x17a212(0x1a2)](_0x1906a2))['body'];if(((_0x4c41ea=_0x447e3c[_0x17a212(0x2ff)])==null?void 0x0:_0x4c41ea[_0x17a212(0x378)])!==_0x36c5dc['OK'])return;this['_setFormulaLimitStatus'](_0x447e3c[_0x17a212(0x25e)],_0x561f64);}catch(_0x5d299b){this['_logService'][_0x17a212(0x2ff)](_0x5d299b);}}async[_0x151804(0x2e2)](_0x3c6040){const _0x239f94=_0x151804;var _0x4dfe60,_0x36540d;const _0xb753cb=Date[_0x239f94(0x20d)]();try{const _0x1e2e48=((_0x4dfe60=this[_0x239f94(0x316)][_0x239f94(0x14e)](_0x792235['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4dfe60[_0x239f94(0x366)])||_0x43c983,_0x18d593=(await this[_0x239f94(0x3b3)][_0x239f94(0x257)](_0x1e2e48,{'body':JSON['stringify']({'taskId':_0x3c6040})}))[_0x239f94(0x1a0)];if(((_0x36540d=_0x18d593[_0x239f94(0x2ff)])==null?void 0x0:_0x36540d['code'])!==_0x36c5dc['OK'])return;this[_0x239f94(0x3ac)](_0x18d593[_0x239f94(0x25e)],_0xb753cb);}catch(_0x2c992f){this[_0x239f94(0x338)]['error'](_0x2c992f);}}[_0x151804(0x339)](){const _0x94f8c4=_0x151804;return this[_0x94f8c4(0x374)]===0x0?!0x0:this[_0x94f8c4(0x374)]-this[_0x94f8c4(0x270)]>0x0;}[_0x151804(0x337)](){const _0x4fc3f9=_0x151804;this[_0x4fc3f9(0x241)]&&(clearTimeout(this[_0x4fc3f9(0x241)]),this[_0x4fc3f9(0x241)]=null);}[_0x151804(0x232)](){const _0x31df76=_0x151804;this[_0x31df76(0x3a0)][_0x31df76(0x2d4)]({'content':this[_0x31df76(0x304)]['t'](_0x31df76(0x3a8)),'type':_0x486dbb['MessageType'][_0x31df76(0x2a9)]});}[_0x151804(0x2ab)](_0x5be480){const _0x3d7abd=_0x151804;for(const _0x412f02 of _0x5be480){const {unitId:_0x578865,sheetId:_0x1e6afa,range:_0x4487bf}=_0x412f02,_0x34406a=this['_univerInstanceService'][_0x3d7abd(0x333)](_0x578865);if(!_0x34406a)continue;const _0x10c898=_0x34406a[_0x3d7abd(0x3cc)](_0x1e6afa);if(!_0x10c898)continue;const _0x1c8bdc=_0x10c898[_0x3d7abd(0x170)]();for(let _0x3fa93c=_0x4487bf[_0x3d7abd(0x1d9)];_0x3fa93c<=_0x4487bf['endRow'];_0x3fa93c++)for(let _0x2e5238=_0x4487bf[_0x3d7abd(0x15d)];_0x2e5238<=_0x4487bf[_0x3d7abd(0x294)];_0x2e5238++){const _0x18d69b=_0x1c8bdc[_0x3d7abd(0x313)](_0x3fa93c,_0x2e5238);if(_0x18d69b&&(_0x4b903d[_0x3d7abd(0x1ac)](_0x18d69b['f'])||_0x4b903d[_0x3d7abd(0x30f)](_0x18d69b['si'])))return!0x0;}}return!0x1;}};_0x27767e=_0x4f8316([_0x39e0af(0x0,_0x4b903d[_0x151804(0x18d)](_0x109597[_0x151804(0x1e1)])),_0x39e0af(0x1,_0x4b903d['ICommandService']),_0x39e0af(0x2,_0x4b903d['IConfigService']),_0x39e0af(0x3,_0x4b903d[_0x151804(0x18d)](_0x58c3fa[_0x151804(0x3f1)])),_0x39e0af(0x4,_0x4b903d['IUniverInstanceService']),_0x39e0af(0x5,_0x4b903d['ILogService']),_0x39e0af(0x6,_0x4b903d['Inject'](_0x4b903d[_0x151804(0x3de)]))],_0x27767e);var _0x106516=Object['getOwnPropertyDescriptor'],_0x4c3645=(_0x24f99d,_0x15e2ad,_0x525292,_0x21e641)=>{for(var _0x45eba0=_0x21e641>0x1?void 0x0:_0x21e641?_0x106516(_0x15e2ad,_0x525292):_0x15e2ad,_0x180d01=_0x24f99d['length']-0x1,_0x4a05b5;_0x180d01>=0x0;_0x180d01--)(_0x4a05b5=_0x24f99d[_0x180d01])&&(_0x45eba0=_0x4a05b5(_0x45eba0)||_0x45eba0);return _0x45eba0;},_0x14d776=(_0x132494,_0x178296)=>(_0x420866,_0x6b338e)=>_0x178296(_0x420866,_0x6b338e,_0x132494);let _0x2ca6a3=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x51b720,_0x5f1c95,_0x536acd){const _0x4e0698=_0x151804;super(),_0x198f8a(this,_0x4e0698(0x381),new Map()),_0x198f8a(this,_0x4e0698(0x19a),new Map()),_0x198f8a(this,'_disabled',!0x1),(this[_0x4e0698(0x316)]=_0x51b720,this[_0x4e0698(0x352)]=_0x5f1c95,this[_0x4e0698(0x222)]=_0x536acd);}[_0x151804(0x2c5)](){this['_disabled']=!0x0;}[_0x151804(0x144)](){this['_disabled']=!0x1;}get[_0x151804(0x1fb)](){const _0x26e37f=_0x151804;return this[_0x26e37f(0x19a)];}[_0x151804(0x2b9)](){const _0x37d027=_0x151804;this[_0x37d027(0x1d1)]()[_0x37d027(0x39b)](()=>super['dispose']());}async[_0x151804(0x38f)](_0x54d320){const _0x4fcf8a=_0x151804;return this['_disabled']?null:this[_0x4fcf8a(0x352)]['getItem'](_0x792235[_0x4fcf8a(0x17d)](_0x54d320));}async['saveOfflineData'](_0x328549,_0x5b2d35){const _0x155c00=_0x151804;return!!this['_localStorageService'][_0x155c00(0x20c)](_0x328549,_0x5b2d35);}[_0x151804(0x26e)](_0x1b4d08,_0x174c69,_0x2d0c4a,_0x25399a){const _0xde1eb9=_0x151804,_0x204799=this[_0xde1eb9(0x222)][_0xde1eb9(0x29d)](_0x1b4d08);this['_cachedData'][_0xde1eb9(0x2d7)](_0x1b4d08,{'unitID':_0x1b4d08,'type':_0x174c69,'awaitingChangeset':_0x2d0c4a,'mutations':_0x25399a,'rev':_0x204799}),this[_0xde1eb9(0x19a)]['has'](_0x1b4d08)||this[_0xde1eb9(0x368)](_0x1b4d08);}[_0x151804(0x368)](_0x3b5a3c){const _0x1a5b78=_0x151804,_0x4d0175=this[_0x1a5b78(0x347)]();_0x4d0175===0x0?this[_0x1a5b78(0x267)](_0x3b5a3c):this[_0x1a5b78(0x19a)]['set'](_0x3b5a3c,setTimeout(()=>this[_0x1a5b78(0x267)](_0x3b5a3c),_0x4d0175));}['_getSaveTimeout'](){const _0x2b613b=_0x151804;var _0x355736;return(_0x355736=this[_0x2b613b(0x316)][_0x2b613b(0x14e)](_0x792235[_0x2b613b(0x2c6)]))!=null?_0x355736:_0x792235[_0x2b613b(0x1e6)];}[_0x151804(0x267)](_0x4a3fb7){const _0x11119d=_0x151804,_0xcf7bc7=this[_0x11119d(0x19a)][_0x11119d(0x1a2)](_0x4a3fb7);return _0xcf7bc7!==void 0x0&&window[_0x11119d(0x40a)](_0xcf7bc7),this[_0x11119d(0x352)][_0x11119d(0x20c)](_0x792235[_0x11119d(0x17d)](_0x4a3fb7),this[_0x11119d(0x381)]['get'](_0x4a3fb7))[_0x11119d(0x39b)](()=>this['_saveTaskMap'][_0x11119d(0x312)](_0x4a3fb7));}async[_0x151804(0x1d1)](){const _0xde3672=_0x151804,_0x5c9034=[];this['_saveTaskMap'][_0xde3672(0x293)]((_0xceeb21,_0x42831a)=>{const _0x566767=_0xde3672;window[_0x566767(0x40a)](_0xceeb21),_0x5c9034[_0x566767(0x1eb)](this[_0x566767(0x267)](_0x42831a)[_0x566767(0x39b)](()=>{const _0x10d743=_0x566767;this[_0x10d743(0x19a)][_0x10d743(0x312)](_0x42831a);}));}),await Promise[_0xde3672(0x389)](_0x5c9034);}};_0x2ca6a3=_0x4c3645([_0x14d776(0x0,_0x4b903d[_0x151804(0x281)]),_0x14d776(0x1,_0x4b903d['ILocalStorageService']),_0x14d776(0x2,_0x4b903d[_0x151804(0x18d)](_0x3810d3['RevisionService']))],_0x2ca6a3);class _0x551a25 extends _0x4b903d[_0x151804(0x35d)]{constructor(){const _0x4e73d4=_0x151804;super(),_0x198f8a(this,'urlChange$'),this[_0x4e73d4(0x39d)]=_0xdde2a6[_0x4e73d4(0x1d7)](window,'popstate')[_0x4e73d4(0x2cc)](_0xdde2a6['takeUntil'](this[_0x4e73d4(0x2ef)]),_0xdde2a6['shareReplay'](0x1),_0xdde2a6['mapTo'](void 0x0));}[_0x151804(0x174)](_0x36bee0,_0x2415ce,_0x4f516a=!0x1){const _0xb2bd22=_0x151804,_0x29387f=new URL(window[_0xb2bd22(0x416)][_0xb2bd22(0x186)]);_0x29387f[_0xb2bd22(0x171)][_0xb2bd22(0x2d7)](_0x36bee0,_0x2415ce),_0x4f516a?window['history'][_0xb2bd22(0x2fb)]('','',_0x29387f[_0xb2bd22(0x41b)]()):window[_0xb2bd22(0x3b0)][_0xb2bd22(0x152)]('','',_0x29387f['toString']());}['removeParam'](_0x5c574b,_0x359202=!0x1){const _0x518e65=_0x151804,_0xeba47=new URL(window[_0x518e65(0x416)][_0x518e65(0x186)]);_0xeba47[_0x518e65(0x171)][_0x518e65(0x312)](_0x5c574b),_0x359202?window[_0x518e65(0x3b0)][_0x518e65(0x2fb)]('','',_0xeba47['toString']()):window[_0x518e65(0x3b0)]['pushState']('','',_0xeba47[_0x518e65(0x41b)]());}[_0x151804(0x3e9)](_0x166c24){const _0x9c9527=_0x151804;var _0x2eb9fb;return(_0x2eb9fb=new URL(window[_0x9c9527(0x416)][_0x9c9527(0x186)])[_0x9c9527(0x171)][_0x9c9527(0x1a2)](_0x166c24))!=null?_0x2eb9fb:void 0x0;}}var _0x13d603=Object['defineProperty'],_0x504013=Object[_0x151804(0x277)],_0x4c4ed5=(_0x3aa0d2,_0x3d57ab,_0x3c72aa)=>_0x3d57ab in _0x3aa0d2?_0x13d603(_0x3aa0d2,_0x3d57ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c72aa}):_0x3aa0d2[_0x3d57ab]=_0x3c72aa,_0x2852d3=(_0x2f04cd,_0x5c201c,_0x192ff4,_0x17e479)=>{const _0x370971=_0x151804;for(var _0x23e388=_0x17e479>0x1?void 0x0:_0x17e479?_0x504013(_0x5c201c,_0x192ff4):_0x5c201c,_0x18ddc6=_0x2f04cd[_0x370971(0x3e7)]-0x1,_0x42e0d6;_0x18ddc6>=0x0;_0x18ddc6--)(_0x42e0d6=_0x2f04cd[_0x18ddc6])&&(_0x23e388=_0x42e0d6(_0x23e388)||_0x23e388);return _0x23e388;},_0x7e47f4=(_0x13efec,_0x45faf8)=>(_0x225f24,_0x5e5bd2)=>_0x45faf8(_0x225f24,_0x5e5bd2,_0x13efec),_0xec3e5f=(_0x18155e,_0x4a5e98,_0x37bffe)=>_0x4c4ed5(_0x18155e,_0x4a5e98+'',_0x37bffe);const _0x5d213f=_0x151804(0x1dc);_0x44f94a[_0x151804(0x2c3)]=class extends _0x4b903d[_0x151804(0x335)]{constructor(_0x24078d=_0x6daa16,_0x5c3e0a,_0x536dc3,_0x1a4164){const _0x21037b=_0x151804;super(),this[_0x21037b(0x18c)]=_0x24078d,this[_0x21037b(0x3bd)]=_0x5c3e0a,this[_0x21037b(0x410)]=_0x536dc3,this[_0x21037b(0x316)]=_0x1a4164;const {..._0x32fa7b}=_0x4b903d[_0x21037b(0x30e)]({},_0x6daa16,this['_config']);this[_0x21037b(0x316)]['setConfig'](_0x58e469,_0x32fa7b);}[_0x151804(0x1a7)](){const _0xf821c2=_0x151804;this[_0xf821c2(0x237)](),this[_0xf821c2(0x2db)]();}[_0x151804(0x310)](){const _0x2ae45d=_0x151804;this[_0x2ae45d(0x31c)]();}[_0x151804(0x237)](){const _0x295dfb=_0x151804;var _0x2fda9d;const _0x10c36c=[[_0x2042e7],[_0x27767e],[_0x37c8c3],[_0x37eb54],[_0x28eae8],[_0x103d56],[_0x1c59a7,{'useClass':_0x551a25}],[_0x58c3fa['ISocketService'],{'useClass':_0x58c3fa[_0x295dfb(0x2a5)]}],[_0x792235['ILocalCacheService'],{'useClass':_0x2ca6a3}],[_0x44f94a[_0x295dfb(0x2ce)]],[_0x337b06],[_0x492873],[_0x8fdf50],[_0x479999],[_0x44f94a[_0x295dfb(0x278)]]];this['_config'][_0x295dfb(0x2c7)]&&_0x10c36c[_0x295dfb(0x1eb)]([_0x48fc71]),_0x4b903d['registerDependencies'](this[_0x295dfb(0x410)],_0x4b903d[_0x295dfb(0x30c)](_0x10c36c,(_0x2fda9d=this[_0x295dfb(0x18c)])==null?void 0x0:_0x2fda9d['override']));}[_0x151804(0x31c)](){const _0x2d8ef2=_0x151804;this[_0x2d8ef2(0x2f8)](this['_renderManagerService'][_0x2d8ef2(0x155)](_0x4b903d[_0x2d8ef2(0x198)][_0x2d8ef2(0x1b9)],[_0x3e9cd4])),this[_0x2d8ef2(0x2f8)](this[_0x2d8ef2(0x3bd)][_0x2d8ef2(0x155)](_0x4b903d[_0x2d8ef2(0x198)]['UNIVER_SHEET'],[_0x3481bc]));}['_initDependencies'](){const _0x4c0de0=_0x151804;_0x4b903d[_0x4c0de0(0x3da)](this[_0x4c0de0(0x410)],[[_0x8fdf50],[_0x44f94a[_0x4c0de0(0x2ce)]],[_0x337b06],[_0x492873],[_0x44f94a[_0x4c0de0(0x278)]],[_0x27767e]]),this[_0x4c0de0(0x18c)][_0x4c0de0(0x2c7)]&&_0x4b903d[_0x4c0de0(0x3da)](this[_0x4c0de0(0x410)],[[_0x48fc71]]);}},_0xec3e5f(_0x44f94a['UniverCollaborationClientUIPlugin'],'pluginName',_0x5d213f),_0x44f94a[_0x151804(0x2c3)]=_0x2852d3([_0x4b903d[_0x151804(0x15f)](_0x792235[_0x151804(0x178)]),_0x7e47f4(0x1,_0x36ac30[_0x151804(0x2fa)]),_0x7e47f4(0x2,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x7e47f4(0x3,_0x4b903d[_0x151804(0x281)])],_0x44f94a[_0x151804(0x2c3)]);var _0x156063=Object[_0x151804(0x277)],_0x3d47fc=(_0x200ba3,_0x1eb742,_0x4c4926,_0x1c505f)=>{for(var _0x55dea1=_0x1c505f>0x1?void 0x0:_0x1c505f?_0x156063(_0x1eb742,_0x4c4926):_0x1eb742,_0x416dd1=_0x200ba3['length']-0x1,_0x3721ae;_0x416dd1>=0x0;_0x416dd1--)(_0x3721ae=_0x200ba3[_0x416dd1])&&(_0x55dea1=_0x3721ae(_0x55dea1)||_0x55dea1);return _0x55dea1;},_0x388490=(_0xba35ac,_0x4c3f00)=>(_0x42351a,_0x164c67)=>_0x4c3f00(_0x42351a,_0x164c67,_0xba35ac);_0x44f94a['BrowserCollaborationSocketService']=class extends _0x792235[_0x151804(0x37f)]{constructor(_0x52a673,_0x4318ae,_0x27c055,_0x92d3a9,_0x46836b){super(_0x52a673,_0x4318ae,_0x27c055,_0x92d3a9,_0x46836b);}async[_0x151804(0x24f)](_0x2dfe33){const _0x417155=_0x151804,_0x1eff11=await this[_0x417155(0x340)](),_0x48407e=this['_createSocketURL'](_0x2dfe33,_0x1eff11);return this[_0x417155(0x143)](_0x48407e);}[_0x151804(0x2d9)](_0x541c27,_0x3cefd8){const _0x7a5eb8=_0x151804,_0x3624aa=typeof window>'u'?new URL(_0x541c27):new URL(_0x541c27,window[_0x7a5eb8(0x416)][_0x7a5eb8(0x3a5)]);_0x3624aa[_0x7a5eb8(0x171)]['set']('sessionTicket',_0x3cefd8);const _0x51f8c7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x7a5eb8(0x416)]['search']);return _0x51f8c7['get'](_0x7a5eb8(0x1c3))&&_0x3624aa[_0x7a5eb8(0x171)][_0x7a5eb8(0x2d7)](_0x7a5eb8(0x1c3),_0x51f8c7[_0x7a5eb8(0x1a2)](_0x7a5eb8(0x1c3))),_0x3624aa[_0x7a5eb8(0x41b)]();}async[_0x151804(0x340)](){const _0x2da27e=_0x151804;var _0x21ed0c,_0x251664,_0x1b711e;const _0x93389d=this[_0x2da27e(0x316)][_0x2da27e(0x14e)](_0x792235['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x22ffe2=(_0x21ed0c=_0x93389d==null?void 0x0:_0x93389d['wsSessionTicketUrl'])!=null?_0x21ed0c:_0x792235['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1b711e=(_0x251664=(await this[_0x2da27e(0x3b3)][_0x2da27e(0x1a2)](_0x22ffe2,{'headers':{'Content-Type':_0x2da27e(0x351)}}))[_0x2da27e(0x1a0)])==null?void 0x0:_0x251664[_0x2da27e(0x194)])!=null?_0x1b711e:'';}},_0x44f94a[_0x151804(0x288)]=_0x3d47fc([_0x388490(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x388490(0x1,_0x4b903d['Inject'](_0x58c3fa[_0x151804(0x3f1)])),_0x388490(0x2,_0x4b903d[_0x151804(0x281)]),_0x388490(0x3,_0x4b903d[_0x151804(0x1d4)]),_0x388490(0x4,_0x3810d3[_0x151804(0x1d0)])],_0x44f94a[_0x151804(0x288)]);var _0x2a2cc1=Object[_0x151804(0x277)],_0x218c89=(_0xb7d45f,_0x395535,_0x29b6d4,_0x2fc73b)=>{const _0x1ac305=_0x151804;for(var _0x198d14=_0x2fc73b>0x1?void 0x0:_0x2fc73b?_0x2a2cc1(_0x395535,_0x29b6d4):_0x395535,_0x56e45f=_0xb7d45f[_0x1ac305(0x3e7)]-0x1,_0x27d708;_0x56e45f>=0x0;_0x56e45f--)(_0x27d708=_0xb7d45f[_0x56e45f])&&(_0x198d14=_0x27d708(_0x198d14)||_0x198d14);return _0x198d14;},_0x1e0626=(_0x40f6b4,_0x4f08e9)=>(_0x1d6096,_0x400d47)=>_0x4f08e9(_0x1d6096,_0x400d47,_0x40f6b4);_0x44f94a['RemoteUniscriptService']=class extends _0x4b903d['Disposable']{constructor(_0x87d6d9,_0x5d0989,_0x3c744d){const _0x2de77a=_0x151804;super(),this[_0x2de77a(0x36c)]=_0x87d6d9,this[_0x2de77a(0x3b3)]=_0x5d0989,this[_0x2de77a(0x316)]=_0x3c744d;}async[_0x151804(0x14d)](_0x3f5fd0,_0x5aadaf,_0x5a32ca,..._0x5a3553){const _0xf6fe0e=_0x151804;var _0x3222f7,_0x5af4ce,_0x3fcd40,_0x492df4;const _0x2698e3=this[_0xf6fe0e(0x36c)][_0xf6fe0e(0x265)]();if(!_0x2698e3)throw new Error(_0xf6fe0e(0x147));const _0x155e1e=((_0x3222f7=this['_configService'][_0xf6fe0e(0x14e)](_0x792235[_0xf6fe0e(0x380)]))!=null?_0x3222f7:_0x792235['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x3f5fd0+_0xf6fe0e(0x3fb)+_0x5aadaf,_0x2b5d6a=new URL(window[_0xf6fe0e(0x416)]['href']),_0x4f46db={'scriptId':_0x3f5fd0,'runId':(_0x5af4ce=_0x2b5d6a[_0xf6fe0e(0x171)][_0xf6fe0e(0x1a2)]('runId'))!=null?_0x5af4ce:'','function':_0x5aadaf,'unitId':_0x2698e3[_0xf6fe0e(0x192)](),'argsOfFunction':JSON[_0xf6fe0e(0x1aa)](_0x5a3553),'invokeId':(_0x3fcd40=_0x5a32ca[_0xf6fe0e(0x311)])!=null?_0x3fcd40:'','executionId':(_0x492df4=_0x5a32ca[_0xf6fe0e(0x3d4)])!=null?_0x492df4:''};try{const _0x4984da=await this[_0xf6fe0e(0x3b3)][_0xf6fe0e(0x257)](_0x155e1e,{'body':_0x4f46db});return _0x4984da[_0xf6fe0e(0x1a0)][_0xf6fe0e(0x2ff)]&&_0x4984da[_0xf6fe0e(0x1a0)][_0xf6fe0e(0x2ff)][_0xf6fe0e(0x378)]!==_0x36c5dc['OK']?_0xf6fe0e(0x285):_0x4984da[_0xf6fe0e(0x1a0)]['result'];}catch{return'Failed';}}},_0x44f94a[_0x151804(0x2d0)]=_0x218c89([_0x1e0626(0x0,_0x4b903d[_0x151804(0x342)]),_0x1e0626(0x1,_0x4b903d['Inject'](_0x58c3fa[_0x151804(0x3f1)])),_0x1e0626(0x2,_0x4b903d['IConfigService'])],_0x44f94a[_0x151804(0x2d0)]);const _0x12fa25=0x7530,_0x29a1d4=_0x151804(0x13d);class _0x1e7a25 extends _0x4b903d[_0x151804(0x176)]{constructor(){const _0x39a6e6=_0x151804;super(),_0x198f8a(this,_0x39a6e6(0x359),_0x4b903d[_0x39a6e6(0x24b)]()),_0x198f8a(this,_0x39a6e6(0x33c),new Set()),_0x198f8a(this,_0x39a6e6(0x3b1),new Map()),_0x198f8a(this,_0x39a6e6(0x1b4),null),_0x198f8a(this,_0x39a6e6(0x1b5),new Map()),_0x198f8a(this,'_unitStatus',new Map()),this[_0x39a6e6(0x1b2)]();}[_0x151804(0x2b9)](){const _0x12e693=_0x151804;super[_0x12e693(0x2b9)](),this[_0x12e693(0x1b5)][_0x12e693(0x293)]((_0x5dfdfe,_0x70ea09)=>this['_removeClearOtherTimer'](_0x70ea09)),this[_0x12e693(0x1b4)]&&window[_0x12e693(0x19e)](this[_0x12e693(0x1b4)]);}[_0x151804(0x26a)](_0x36d58a){const _0x2039b1=_0x151804;return this[_0x2039b1(0x41d)](_0x36d58a)[_0x2039b1(0x2cc)](_0xdde2a6['distinctUntilChanged']());}[_0x151804(0x403)](_0x32c162){const _0x39e977=_0x151804;this['_selfUnitIDs'][_0x39e977(0x2fd)]===0x0&&this[_0x39e977(0x29e)](),this[_0x39e977(0x33c)][_0x39e977(0x14a)](_0x32c162),this[_0x39e977(0x16a)]({'type':0x0,'memberID':this[_0x39e977(0x359)],'unitIDs':[_0x32c162],'isForwarded':!0x1});}['disposeUnit'](_0x19dd41){const _0x360547=_0x151804;this[_0x360547(0x33c)]['delete'](_0x19dd41),this[_0x360547(0x33c)][_0x360547(0x2fd)]===0x0&&this[_0x360547(0x1b4)]&&window['clearInterval'](this[_0x360547(0x1b4)]);}[_0x151804(0x1b2)](){const _0x319969=_0x151804;this[_0x319969(0x2f8)](_0x4b903d[_0x319969(0x402)](_0xdde2a6['fromEvent'](window,'storage')[_0x319969(0x24d)](_0x5c8a6c=>{const _0x15dadd=_0x319969;if(_0x5c8a6c['key']!==_0x29a1d4||!_0x5c8a6c[_0x15dadd(0x2f6)])return;const _0x20ac6a=JSON['parse'](_0x5c8a6c[_0x15dadd(0x2f6)]);this[_0x15dadd(0x1e2)](_0x20ac6a);}))),window['addEventListener'](_0x319969(0x3c0),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x319969(0x2bd)](this['_selfUnitIDs'])}));}[_0x151804(0x1e2)](_0x424023){const _0x1883b0=_0x151804;switch(_0x424023[_0x1883b0(0x276)]){case 0x0:this[_0x1883b0(0x290)](_0x424023);break;case 0x1:this[_0x1883b0(0x33b)](_0x424023);break;case 0x2:this[_0x1883b0(0x205)](_0x424023);break;}}['_handleJoinEvent'](_0x5030e7){const _0x46e15e=_0x151804,{unitIDs:_0x53760f,memberID:_0x3e178a,isForwarded:_0x409445}=_0x5030e7;_0x53760f['forEach'](_0x121148=>{const _0x5f0bbe=_0x533d;if(!_0x409445&&this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x326)](_0x121148)&&this[_0x5f0bbe(0x41d)](_0x121148)[_0x5f0bbe(0x3ef)](_0x792235[_0x5f0bbe(0x3a7)][_0x5f0bbe(0x372)]),!this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x326)](_0x121148)||!this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x1a2)](_0x121148)['has'](_0x3e178a)){const _0x5845aa=this['_unitOnClients'][_0x5f0bbe(0x1a2)](_0x121148)||new Set();_0x5845aa['add'](_0x3e178a),this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x2d7)](_0x121148,_0x5845aa),this[_0x5f0bbe(0x234)](_0x3e178a);}}),_0x409445||this['_send']({'type':0x0,'memberID':this[_0x46e15e(0x359)],'unitIDs':[...this[_0x46e15e(0x33c)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x9f3efd){const _0x29fe78=_0x151804;this[_0x29fe78(0x2c0)](_0x9f3efd);const _0x1d6389=window[_0x29fe78(0x3e5)](()=>{const _0x239fc1=_0x29fe78;this['_unitOnClients'][_0x239fc1(0x293)](_0x5b958f=>{const _0x178594=_0x239fc1;_0x5b958f[_0x178594(0x312)](_0x9f3efd);});},_0x12fa25*0x2);this[_0x29fe78(0x1b5)][_0x29fe78(0x2d7)](_0x9f3efd,_0x1d6389);}[_0x151804(0x2c0)](_0x197021){const _0x635a=_0x151804;if(this[_0x635a(0x1b5)][_0x635a(0x326)](_0x197021)){const _0x3238ce=this['_clearOtherTimers']['get'](_0x197021);_0x3238ce&&window[_0x635a(0x40a)](_0x3238ce),this[_0x635a(0x1b5)]['set'](_0x197021,null);}}[_0x151804(0x33b)](_0x1b1de7){const _0x5c4acf=_0x151804,{memberID:_0x35d6b5,unitIDs:_0x1d4692}=_0x1b1de7;_0x1d4692[_0x5c4acf(0x293)](_0x58c00b=>{const _0x102ab3=_0x5c4acf;var _0x12d519;const _0x4325a3=this['_unitOnClients'][_0x102ab3(0x1a2)](_0x58c00b);_0x4325a3&&(_0x4325a3[_0x102ab3(0x312)](_0x35d6b5),(_0x12d519=this[_0x102ab3(0x41d)](_0x58c00b))==null||_0x12d519[_0x102ab3(0x3ef)](_0x4325a3[_0x102ab3(0x2fd)]===0x0?_0x792235[_0x102ab3(0x3a7)]['NO_OTHER_CLIENTS_EDITING']:_0x792235[_0x102ab3(0x3a7)][_0x102ab3(0x372)]));}),this[_0x5c4acf(0x2c0)](_0x35d6b5);}['_handleHeartbeatEvent'](_0x506b98){const _0x137de3=_0x151804;this[_0x137de3(0x234)](_0x506b98['memberID']);}[_0x151804(0x16a)](_0x45b5b1){const _0x4133da=_0x151804;localStorage['setItem'](_0x29a1d4,JSON[_0x4133da(0x1aa)](_0x45b5b1));}[_0x151804(0x29e)](){const _0x100bd9=_0x151804;this[_0x100bd9(0x1b4)]=window['setInterval'](()=>{const _0x18201b=_0x100bd9;this[_0x18201b(0x16a)]({'type':0x2,'memberID':this[_0x18201b(0x359)]});},_0x12fa25);}[_0x151804(0x41d)](_0x229923){const _0x16b3c4=_0x151804;return this[_0x16b3c4(0x406)][_0x16b3c4(0x326)](_0x229923)||this[_0x16b3c4(0x406)][_0x16b3c4(0x2d7)](_0x229923,new _0xdde2a6[(_0x16b3c4(0x2f9))](_0x792235[_0x16b3c4(0x3a7)][_0x16b3c4(0x2e7)])),this[_0x16b3c4(0x406)][_0x16b3c4(0x1a2)](_0x229923);}}_0x44f94a[_0x151804(0x3d9)]=_0x1c59a7,_0x44f94a[_0x151804(0x361)]=_0x105416,_0x44f94a[_0x151804(0x157)]=_0x1e7a25,_0x44f94a[_0x151804(0x2cd)]=_0x551a25,Object['defineProperty'](_0x44f94a,Symbol[_0x151804(0x1f3)],{'value':_0x151804(0x151)});}));function _0x4307(){const _0x1f45f1=['ALREADY_EXISTS','_cursorShapes','_draw','_updateSubUnitFromURLParams','has','function','PERMISSION_DENIED','0\x200\x2017\x2016','getRenderById','svg','YUUMI_RATE_OVER_LIMIT','990AFCeXy','ICommandService','addClipboardHook','unit','handleIRemoveRow','defIds','getUnit','_refreshCollabCursors','Plugin','_initEvent','_clearPolling','_logService','_checkCalculationAvailable','entityInit$','_handleLeaveEvent','_selfUnitIDs','bottom','getColorFromTheme','UniverDrawing','_getSessionTicket','_getScale','IUniverInstanceService','handleInsertCol','@univerjs/design','_getAnchorBounding','LOGIN_TOKEN_PROCESSING_FAILED','_getSaveTimeout','UNAUTHENTICATED','_hover','_shapes','_docSkeletonManagerService','CollaborationUIEventService','mutations','collab-text-range-','loadUnit','NodePositionConvertToCursor','application/json','_localStorageService','onMouseMove','ENTITLE_NEED_BILLING_ADDRESS','width','_docTransformIMECacheService','onPointerEnter$','transformStateCache','_id','onPointerLeave$','_startCalculationLimit','redoState','RxDisposable','white','ColorKit','getCurrentUnitForType','SheetCollabCursorShape','doc.mutation.rich-text-editing','1XPYPoh','url(#off-line-icon_clip0_910_343)','defs','releaseFormulaLimitUrl','idSuffix','_scheduleSaving','getVpScrollXYInfoByPosToVp','backgroundColor','unitID','_instanceService','includes','forwardRef','_refRangeService','colno','unhandledrejection','OTHER_CLIENTS_EDITING','isArray','_maxFormulaLimit','_imageIoService','formula.calculation.unable','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','code','PAYMENT_CHANNEL_NOT_SUPPORT','DeleteRangeMoveLeftCommandId','getRangePointData','createInstance','url(#on-line-icon_clip0_910_349)','univerjs-icon\x20univerjs-icon-','CollaborationSocketService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_cachedData','setUndoRedoMutationParamsCache','_syncEditingCollabCursorService','UniverSheetsUi','fill','max','INVALID_INVITE_CODE','div','all','APPLY_DUPLICATED','_session','DeleteRangeMoveUpCommandId','dirtyRanges','handleDeleteRangeMoveUp','loadOfflineData','_initCommandExecutedListener','_memberID','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','OTHER_CLIENT_EDITING','find','Tools','SOCKET_FAILED','UniverProCollaborationClientUi','_memberService','_initUnhandledRejectionListener','contains','then','colorChannel1','urlChange$','getSkeleton','APPLY_REJECT','_messageService','_taskIds','_themeService','SHEET_VIEWPORT_KEY','findNodePositionByCharIndex','origin','#FFF','UnitStatus','formula.calculation.waiting','MUTATION','ITransformService','[LogService\x20Error]:\x20','_setFormulaLimitStatus','off-line-icon','RemoveRowCommandId','transformByState','history','_unitOnClients','init','_httpService','React','stack','YUUMI_CONNECTOR_URL_NOT_FOUND','_setupSubUnitSync','LICENSE_IMPORT_SIZE_EXCEEDED','_beforeCloseService','_hideTimer','send','addEventListener','_renderManagerService','_getSheetObject','_uploadLog','unload','_range','_assignedColors','DocSkeletonManagerService','MessageType','_color','COMPLETION_FINISHED','onLocalMutation','ENTITLE_USE_COUPON_NOT_1ST_TRADE','isTransformMutationFailure','WECHAT_HAS_BEEN_BOUND','moveTo','getSheetBySheetId','UniverEngineRender','ThemeService','21AHKcII','_dataLoaderService','REDEMPTION_INVALID_CODE','addObjects','sheetID','executionId','beforeCommandExecuted','hovered','message','syncEditingCollabCursor','IURLService','touchDependencies','collaboration.offline-data-not-saved','RECT','INVITE_CODE_REQUIRED','LocaleService','NOT_FOUND','_backgroundColor','_collabSessionService','getCellPositionByOffset','entries','on-line-icon_clip0_910_349','setTimeout','assign','length','amd','getParam','REDEMPTION_CODE_NOT_STARTED','join','onTransformChange$','deepClone','text','next','getCurrent','HTTPService','blue.400','getAncestorScale','measureText','connectInjector','transform','setAlpha','_setupBeforeClosingHandler','YUUMI_URL_COL_OUT_OF_RANGE','INTERNAL_ERROR','/run/','operators','executeCommand','split','PY_RUNTIME_SCRIPT_ERROR','USER_NOT_FOUND','Rectangle','toDisposable','editingUnit','_monkeyPatchLogService','_lastPointer','_unitStatus','[CollaborationDataLoaderController]','getTypeOfUnitAdded$','_updateURLWithCurrentState','clearTimeout','substring','url(#$1','green.600','_docTransformStateCacheService','data','_injector','FromArray','createIdentifier','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','focused$','_startSheetCollabCursor','location','_updateCollabCursors','getOffsetConfig','transformIMECache','_initResize','toString','CONFLICT','_ensureSubject','subUnitId','_docSyncEditingCollabCursorService','subunit','InsertRangeMoveRightCommandId','DocCollaborationEntity','complete','LICENSE_EXPORT_SIZE_EXCEEDED','_scene','_context','DATA_SOURCE_TOO_LARGE','ACTIVE_UNIT_EVENT_CHANNEL','triggerDblclick','REDEMPTION_CODE_FULLY_REDEEMED','_colorIndex','?taskId=','_entityInit$','_doCreateSocket','enableLocalCache','_getMergeRange','_textBubble','[RemoteUniscriptService]:\x20no\x20focused\x20unit','APPLY_REVISION_CONFILICT','REDEMPTION_CODE_INACTIVE','add','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','session.connection-failed','runOnServer','getConfig','stage','SetWorksheetActivateCommand','Module','pushState','LICENSE_MAX_UNITS_EXCEEDED','collab-text-anchor-','registerRenderModule','DisposableCollection','WebBrowserSingleActiveUnitService','useCallback','CollaborationUIEventId','string','event$','roomMembers$','startColumn','IUIPartsService','DependentOn','restore','collabStatus.offline','Shape','defineProperty','Tooltip','YUUMI_UNABLE_LOAD_URL','RemoveColCommandId','CollaborationSessionService','currentTheme$','getActiveSheet','_send','_collaborationSessionService','2966337mySpKM','SOCKET_FAILED_RETRY','off-line-icon_clip0_910_343','HEADER_MENU','getCellMatrix','searchParams','[Unhandled\x20Rejection]:\x20','textRanges','setParam','InsertColCommandId','Disposable','getActiveRange','UniverCollaborationClientPlugin','_labelPosition','42lzcPDT','useDependency','CollaborationStatus','getLocalCacheKey','hide','_handleHover','_anchor','CONNECTOR_DATA_TOO_LARGE','filter','UniverDocs','unshift','@univerjs/sheets','href','_applyCommand','REDEMPTION_USER_NOT_ELIGIBLE','MemberService','getUndoRedoMutationParamsCache','UniverCore','_config','Inject','children','purple.300','TEXT','_toggleOnline','getUnitId','_onCursorUpdate','ticket','CanceledError','getUniverSheetInstance','xlink:href','UniverInstanceType','554706RqQdGQ','_saveTaskMap','memberID','_sheetSkeletonManagerService','SNAPSHOT_INVALID_SNAPSHOT','clearInterval','_initWindowErrorListener','body','yellow.400','get','some','_collabCursorState$','asObservable','useObservable','onStarting','m1Prime','unitId','stringify','_drawRectRange','isFormulaString','combineLatest','_docTransformSelectionsService','@univerjs/ui','totalFormulasToCalculate','ENTITLE_DUP_SUBSCRIPTION','_init','getUnhiddenWorksheets','_heartbeatTimer','_clearOtherTimers','with','IDocClipboardService','registerBeforeClose','UNIVER_DOC','getViewport','_startDocCollabCursor','actions','_hovered','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','cursorInfo','collabStatus.synced','_initStatusComponent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','runId','Optional','UNRECOGNIZED','_commandService','debounceTime','round','flatMap','unsubscribe','params','USER_IS_ANONYMOUS','min','mask','color','ISnapshotServerService','exhaustSavingTask','save','ENTITLE_COUPON_USED_UP','ILogService','reconnect','getCoordByCell','fromEvent','reason','startRow','_urlService','jiqing.500','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_initStatusListener','NodePositionConvertToRectRange','current','_drawTextRange','IMessageService','_handleEvent','getSheetObject','_getFormulaLimitStatus','handleInsertRangeMoveRight','LOCAL_CACHE_INTERVAL','rgba(255,\x20255,\x20255,\x200.01)','_cursor','OFFLINE','currentSkeleton$','push','[Window\x20Error]:\x20','getSheetId','RefRangeService','black','FETCH_MISS','APPLY_NON_SEQUENTIAL_REVISION','START_CALCULATION','toStringTag','sessionStatus$','1481104SfAxqi','DOC_RANGE_TYPE','collaboration.closeRoom','endRow','ENTITLE_REPORT_LIMIT_EXCEED','replaceDocRanges','saveTaskMap','path','isActive','_roomMembers$','isTransformMutationsWithChangesetSuccess','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UniverDocsUi','@univerjs/drawing','LOGIN_FAILED','DocIMEInputManagerService','_handleHeartbeatEvent','column','permission.content','handleMoveRange','@univerjs/rpc','INVITE_CODE_HAS_BEEN_UES','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setItem','now','subscribeEvent','whenReady','SNAPSHOT_HAS_BEEN_REMOVED','USERS_LEAVE','57501dmabcy','@univerjs-pro/collaboration','switchMap','imageSourceType','@univerjs/docs-ui','throttleTime','registerComponent','CollaborationEvent','_transformService','attrs','ENTITLE_INSUFFICIENT_QUOTA','_onRefRangeChange','USER_NOT_INVITED_CODE','UNIVER_SHEET','RichTextEditingMutation','_initEntityListener','_revisionService','addHandlerCallback','_univerInstanceService','_collaborationUIEventService','SessionStatus','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','maxFormulaLimit','Workbook','formula.calculation.started','roomMembers','_docStateChangeManagerService','_transformUndoRedoStack','DocSelectionManagerService','collabStatus.conflict','red.300','closePath','_showGuardMessage','SetFormulaCalculationNotificationMutation','_scheduleClearOtherTimer','fillStyle','getStateCache','_registerDependencies','FormulaExecutedStateType','createElement','clipPath','fillText','RegularPolygon','YUUMI_ASYNCIO_CANCELLED','takeUntil','AWAITING','_transformPreviousActiveRange','_pollingInterval','1570540ABCoSF','Rect','transformMutation','functionsExecutedState','toRgbString','height','getMemberID','_cursors','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','generateRandomId','Unknown\x20user','subscribe','source','createSocket','lineTo','_status$','_uiPartsService','evenodd','UniverProCollaboration','catch','@univerjs/docs','post','random','collabStatus.notCollab','CHANGESET_REVISION_CONFILICT','m2Prime','InsertRangeMoveDownCommandId','UniverDesign','limitInfo','JOIN_ROOM_FAILED','translate(.97)','...','isEditing','_online','YUUMI_NO_CUBOID_FOR_QUESTION','getFocusedUnit','_removeCollabCursors','_saveCache','_collaborationController','_initUserListener','getUnitStatus$','font','currentColor','fromEventSubject','updateOfflineData','ENTITLE_CHAT_LIMIT_EXCEED','_currentUsage','getMergeData','SUCCESS','transformMutationsWithChangeset','debug','setStateCache','type','getOwnPropertyDescriptor','CollaborationDataLoaderController','/universer-api/license/formula/limit/done','TOO_MANY_REQUESTS','values','currentUsage','_document','session.will-retry','69670SfFGvj','onCommandExecuted','IConfigService','_cursorInfo$','NOT_COLLAB','UNDEFINED','Failed','UniverRpc','1em','BrowserCollaborationSocketService','addObject','tag','_lastResponseTimestamp','getCollabCursors$','Injector','UniverSheets','MOBILE_VERIFY_CODE_MISMATCH','_handleJoinEvent','COLORS','_toggleOffline','forEach','endColumn','SetDocZoomRatioOperation','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Success','ERROR_AGAIN','_eventUnsubscribe','ENTITLE_COUPON_EXPIRED','UniverIcon','@univerjs-pro/collaboration-client','getCurrentRevOfUnit','_scheduleHeartbeat','cursorInfo$','status$','Error','map','getMember','drawWith','WebSocketService','@univerjs/sheets-ui','resize','ENSURE_SNAPSHOT_EXECUTION','Loading','getColor','_hasFormulaInDirtyRanges','debounce','selections','SetFormulaCalculationStartMutation','selection','rxjs','UPDATE_CURSOR','sheetId','removeEventListener','lineno','INVITE_CODE_ALREADY_BOUND','_checkAndWaitForCalculationPermission','eventID','transformSelections','dispose','registerRefRange','collabCursorState$','_docClipboardService','from','APPLY_PERMISSION_DENIED','SetTextSelectionsOperation','_removeClearOtherTimer','_anchorDot','setShapeProps','UniverCollaborationClientUIPlugin','row','disableLocalCache','LOCAL_CACHE_INTERVAL_KEY','enableFrontendLog','saveImage','fillRule','getTypeOfUnitDisposed$','univer-mr-2\x20univer-flex\x20univer-text-xl','pipe','WebURLService','DesktopCollaborationStatusDisplayController','_name','RemoteUniscriptService','skeleton','setActiveRange','_initCommandInterceptor','show','getCurrentSelections','name','set','object','_createSocketURL','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','_initDependencies','range','replace','handleDeleteRangeMoveLeft','_updateLocalCursor','MoveRangeCommandId','PENDING','_releaseCalculationLimit','labelPosition','_notificationService','LICENSE_DISTRO_REJECTED','jsx','NO_OTHER_CLIENTS_EDITING','stageInfo','exports','_entities','_collabCursorController','EMAIL_HAS_BEEN_BOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','ENTITLE_INVALID_COUPON_CODE','dispose$','YUUMI_SUBSCRIPTION_NOT_FOUND','REDEMPTION_USER_REDEEM_TIMES_EXCEED','INotificationService','handleInsertRangeMoveDown','TEXT_RANGE_LAYER_INDEX','transformRemoteChangeset','newValue','UniverNetwork','disposeWithMe','BehaviorSubject','IRenderManagerService','replaceState','_onCursorDelete','size','285147NgoZnr','error','getRelativeToViewportCoord','EMAIL_VERIFY_CODE_MISMATCH','use','MOBILE_HAS_BEEN_BOUND','_localeService','_transformHistoryAndStateStack','_localCacheService','ranges','Warning','useRef','deserializeRangeWithSheet','collabStatus.syncing','mergeOverrideWithDependencies','ENTITLE_CAN_NOT_BUY_LOWER_OTP','merge','isFormulaId','onRendered','invokeId','delete','getValue','handleInsertRow','makeDirty','_configService','trim','displayName','_render','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','EffectRefRangId','_registerRenderDependencies','_drawAnchor','M0\x200H16V16H0z','TRANSFORM_CHANGE_OBSERVABLE_TYPE','DocStateChangeManagerService','INVALID_ARGUMENT'];_0x4307=function(){return _0x1f45f1;};return _0x4307();}
|
|
8
|
+
function _0x34b8(_0x1a0d7f,_0x1d6ca9){_0x1a0d7f=_0x1a0d7f-0x86;const _0x356f4f=_0x356f();let _0x34b88d=_0x356f4f[_0x1a0d7f];return _0x34b88d;}function _0x356f(){const _0x40841e=['registerBeforeClose','302620SflCmv','executionId','subUnitId','collab-text-range-','unit','_cachedData','_createSocketURL','CollaborationEvent','getRenderById','setUndoRedoMutationParamsCache','idSuffix','IBeforeCloseService','univer-flex\x20univer-items-center','_showGuardMessage','@univerjs/docs-ui','origin','LOGIN_FAILED','runId','actions','getRelativeToViewportCoord','getSheetBySheetId','LICENSE_DISTRO_REJECTED','push','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','RxDisposable','BehaviorSubject','redoState','_handleJoinEvent','stringify','getCoordByCell','_handleEvent','m2Prime','UnitStatus','_transformPreviousActiveRange','runRefRangeMutations','_initCommandInterceptor','_beforeCloseService','disposeUnit','_docTransformStateCacheService','transformMutation','setTimeout','/universer-api/license/formula/limit/start','InsertRowCommandId','_setFormulaLimitStatus','sheetID','_startCalculationLimit','UniverEngineRender','APPLY_REVISION_CONFILICT','INTERNAL_ERROR','APPLY_REJECT','useCallback','_scheduleSaving','on-line-icon','_initEntityListener','OffLineIcon','toRgbString','popstate','_lastPointer','drawWith','catch','UNIVER_SHEET','getUnitId','http://www.w3.org/2000/svg','IImageIoService','_maxFormulaLimit','UniverCore','div','DocSelectionManagerService','_textBubble','getCollabCursors$','NOT_COLLAB','addHandlerCallback','CanceledError','transformIMECache','_docSkeleton','_online','Failed','INVITE_CODE_REQUIRED','_lastResponseTimestamp','YUUMI_ASYNCIO_CANCELLED','_unitStatus','runOnServer','debounce','range','UNAUTHENTICATED','collabStatus.notCollab','APPLY_PERMISSION_DENIED','round','_range','jsx','sessionStatus$','ENTITLE_CHAT_LIMIT_EXCEED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverDesign','focused$','current','INotificationService','_configService','merge','_hover','labelPosition','BuiltInUIPart','EMAIL_VERIFY_CODE_MISMATCH','evenodd','_hasFormulaInDirtyRanges','deepClone','updateOfflineData','data','search','ThemeService','PAYMENT_CHANNEL_NOT_SUPPORT','requireSession','IURLService','UNDEFINED','_httpService','url(#off-line-icon_clip0_910_343)','cursorInfo','tag','saveImage','sessionTicket','generateRandomId','green.600','_applyCommand','UniverProCollaboration','INVALID_INVITE_CODE','jsxs','_localeService','_toggleOffline','red.300','addClipboardHook','dirtyRanges','setItem','758omMOQL','mask','flatMap','lineno','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','getMemberID','Workbook','permission.content','HEADER_MENU','2868116kOssaQ','_updateLocalCursor','_collabSessionService','black','_registerDependencies','_name','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','formula.calculation.started','Disposable','stage','restore','YUUMI_NO_CUBOID_FOR_QUESTION','SUCCESS','REDEMPTION_CODE_NOT_STARTED','2984930UHIHGD','SetFormulaCalculationStartMutation','whenReady','RemoteUniscriptService','eventID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','limitInfo','ENTITLE_INVALID_COUPON_CODE','_collaborationSessionService','OnLineIcon','addEventListener','assignAColorForMemberID','_anchor','override','handleIRemoveCol','getViewport','length','_getSheetObject','purple.300','IRenderManagerService','APPLY_DUPLICATED','UPDATE_CURSOR','_instanceService','has','distinctUntilChanged','url(#on-line-icon_clip0_910_349)','handleMoveRange','univer-mr-2\x20univer-flex\x20univer-text-xl','UniverNetwork','_saveTaskMap','IUniverInstanceService','_docClipboardService','MOBILE_VERIFY_CODE_MISMATCH','_transformService','_initUserListener','_initCommandExecutedListener','activeSheet$','M0\x200H16V16H0z','split','_initUnhandledRejectionListener','hovered','displayName','map','NOT_FOUND','_transformUndoRedoStack','DeleteRangeMoveUpCommandId','INVITE_CODE_HAS_BEEN_UES','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RegularPolygon','Tools','_removeCollabCursors','Optional','WebSocketService','ACTIVE_UNIT_EVENT_CHANNEL','_entityInit$','getItem','enableFrontendLog','_notificationService','CollaborationStatus','NodePositionConvertToCursor','DocSkeletonManagerService','exhaustSavingTask','HTTPService','debug','unhandledrejection','ColorKit','includes','_assignedColors','isEditing','YUUMI_TABLE_NOT_FOUND_IN_UNIT','setConfig','REDEMPTION_USER_NOT_ELIGIBLE','onLocalMutation','@univerjs/rpc','LOCAL_CACHE_INTERVAL','_updateCollabCursors','react','startRow','CollaborationSessionService','_anchorDot','NodePositionConvertToRectRange','#FFF','475698CFatoo','InsertRangeMoveRightCommandId','UniverSheetsUi','docStateChange$','_themeService','createInstance','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_heartbeatTimer','debounceTime','_uploadLog','entityInit$','LICENSE_EXPORT_SIZE_EXCEEDED','url(#$1','Injector','CollaborationUIEventId','permission.title','CHANGESET_REVISION_CONFILICT','RefRangeService','FormulaExecutedStateType','Error','1988464qWsUbH','SetFormulaCalculationNotificationMutation','clearInterval','asObservable','_ensureSubject','_entities','_currentUsage','_getScale','add','bind','Unknown\x20user','colorChannel1','params','ENTITLE_NEED_BILLING_ADDRESS','_initWindowErrorListener','then','fillStyle','LICENSE_IMPORT_SIZE_EXCEEDED','dispose$','replaceState','getActiveSheet','filename','RichTextEditingMutation','ILocalCacheService','currentTheme$','collaboration-client-ui.config','size','Plugin','isActive','_checkAndWaitForCalculationPermission','SetWorksheetActivateCommand','code','ENTITLE_COUPON_USED_UP','_send','@univerjs/ui','onPointerMove$','ISocketService','_drawAnchor','ENTITLE_USE_COUPON_NOT_1ST_TRADE','NO_OTHER_CLIENTS_EDITING','isFormulaString','transformMutationsWithChangeset','subunit','uni.network.url-service','_pollingInterval','string','CommandType','use','CONFLICT','_shapes','children','resize','column','executeCommand','useDependency','storage','ITransformService','MemberService','ONLINE','_context','handleIRemoveRow','isArray','width','source','Module','getCellMatrix','fillRule','text','addObjects','getStateCache','mapTo','_docTransformIMECacheService','UniverEngineFormula','find','_scene','EffectRefRangId','EMAIL_HAS_BEEN_BOUND','DEFAULT_WS_SESSION_TICKET_URL','blue.400','UniverUi','ticket','_id','_updateURLWithCurrentState','MOBILE_HAS_BEEN_BOUND','registerComponent','collabStatus.offline','_clearPolling','transform','getParam','_localStorageService','top','REDEMPTION_CODE_HAS_BEEN_CREATED','toStringTag','_eventUnsubscribe','react/jsx-runtime','_session','Rect','subscribeEvent','SetDocZoomRatioOperation','_logService','m1Prime','pushState','onMouseMove','useObservable','_memberID','transformByState','_getFormulaLimitStatus','replace','off-line-icon_clip0_910_343','wsSessionTicketUrl','getColorFromTheme','doc.mutation.rich-text-editing','USER_IS_ANONYMOUS','REDEMPTION_INVALID_CODE','CURRENT_STATUS_CANNOT_OPERATE','xlink:href','ICommandService','SOCKET_FAILED_RETRY','setShapeProps','_draw','OFFLINE','clipPath','fillText','engine','_monkeyPatchLogService','_sheetSkeletonManagerService','disableLocalCache','DesktopCollaborationStatusDisplayController','ILocalStorageService','yellow.400','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','FormulaExecuteStageType','START_CALCULATION','href','getActiveRange','getUniverSheetInstance','setParam','YUUMI_SUBSCRIPTION_NOT_FOUND','AWAITING','_scheduleClearOtherTimer','JOIN_ROOM_FAILED','ILogService','_toggleOnline','univerjs-icon\x20univerjs-icon-','reason','1257195rGPplt','currentColor','ENTITLE_INSUFFICIENT_QUOTA','_color','InsertRangeMoveDownCommandId','_collabCursorController','with','BrowserCollaborationSocketService','type','stack','TRANSFORM_CHANGE_OBSERVABLE_TYPE','sheetId','disposeWithMe','_roomMembers$','IMessageService','getformulaLimitStatusUrl','SheetsSelectionsService','UniverCollaborationClientPlugin','[Unhandled\x20Rejection]:\x20','contains','session.connection-failed','getRangePointData','ENSURE_SNAPSHOT_EXECUTION','RevisionService','takeUntil','getUnhiddenWorksheets','FETCH_MISS','YUUMI_URL_COL_OUT_OF_RANGE','_renderManagerService','filter','_status$','28PKYraG','[CollaborationDataLoaderController]','[Window\x20Error]:\x20','FromArray','LOGIN_TOKEN_PROCESSING_FAILED','YUUMI_RATE_OVER_LIMIT','result','Inject','rxjs','collaboration.closeRoom','_dataLoaderService','@univerjs/engine-formula','values','_clearOtherTimers','getCurrentSelections','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','parseInt','fromEvent','saveTaskMap','ENTITLE_DUP_SUBSCRIPTION','on-line-icon_clip0_910_349','unshift','_initResize','fill','@univerjs-pro/collaboration','getMember','hide','SNAPSHOT_INVALID_SNAPSHOT','LocaleService','APPLY_NON_SEQUENTIAL_REVISION','PENDING','_docTransformSelectionsService','YUUMI_UNABLE_LOAD_URL','TOO_MANY_REQUESTS','exports','IConfigService','transformSelections','symbol','get','onPointerEnter$','TEXT_RANGE_LAYER_INDEX','createIdentifier','newValue','SetSelectionsOperation','RemoveColCommandId','@univerjs/engine-render','toDisposable','_refRangeService','translate(.97)','urlChange$','58BrhYvL','/universer-api/license/formula/limit/done','collabCursorState$','white','COLORS','TEXT','isFormulaId','RECT','DATA_SOURCE_TOO_LARGE','_saveCache','onPointerLeave$','COMPLETION_FINISHED','formula.calculation.unable','undoState','INVITE_CODE_ALREADY_BOUND','_cursorShapes','_localCacheService','_univerInstanceService','SHEET_VIEWPORT_KEY','_disabled','_checkCalculationAvailable','backgroundColor','SUBMIT_CHANGESET_TIMEOUT','/universer-api/frontend/logs','SetTextSelectionsOperation','USERS_LEAVE','CollaborationSocketService','_taskIds','UniverInstanceType','DocCollaborationEntity','getTypeOfUnitDisposed$','post','DOC_RANGE_TYPE','assign','handleInsertRangeMoveRight','_docStateChangeManagerService','getValue','CollaborationDataLoaderController','ENTITLE_COUPON_EXPIRED','getConfig','set','from','ENTITLE_REPORT_LIMIT_EXCEED','random','function','SessionStatus','INVALID_ARGUMENT','DocIMEInputManagerService','complete','_updateSubUnitFromURLParams','loadOfflineData','_imageIoService','memberID','save','lineTo','_messageService','roomMembers','getAncestorScale','_setupBeforeClosingHandler','_handleLeaveEvent','endColumn','subscribe','toString','onCommandExecuted','_unitOnClients','arc','entries','_doCreateSocket','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_colorAssignService','YUUMI_ALL_TABLES_IS_INVALID','startFormulaLimitUrl','_initDependencies','setAlpha','Warning','getOwnPropertyDescriptor','session.collaboration-timeout','getTypeOfUnitAdded$','_collabCursorState$','_render','parse','_startDocCollabCursor','svg','SYNCED','touchDependencies','unitID','_memberService','_transformHistoryAndStateStack','addObject','_selfUnitIDs','removeParam','_collaborationController','dispose','@univerjs-pro/collaboration-client','ENTITLE_CAN_NOT_BUY_LOWER_OTP','ranges','OTHER_CLIENTS_EDITING','_onRefRangeChange','socket$','UNRECOGNIZED','row','_docSkeletonManagerService','location','name','Tooltip','1em','handleInsertRow','_commandService','_onCursorUpdate','_syncEditingCollabCursorService','getSheetId','onStarting','getCurrentUnitForType','clsx','send','?taskId=','replaceDocRanges','error','_revisionService','_getAnchorBounding','getVpScrollXYInfoByPosToVp','MoveRangeCommandId','_config','387GFNnOv','endRow','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','ERROR_AGAIN','_init','event$','forwardRef','makeDirty','bottom','max','collabStatus.conflict','_startSheetCollabCursor','attrs','SheetCollabCursorShape','_handleHover','UniverDrawing','color','_uiPartsService','getCurrent','_removeClearOtherTimer','trim','unitId','roomMembers$','selection','startColumn','UniverDocsUi','@univerjs/design','\x20at\x20','UNIVER_DOC','MessageType','YUUMI_AI_RUN_FAILED','rgba(255,\x20255,\x20255,\x200.01)','ALREADY_EXISTS','WebBrowserSingleActiveUnitService','clearTimeout','_injector','_urlService','_setupSubUnitSync','_backgroundColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','switchMap','SNAPSHOT_HAS_BEEN_REMOVED','_hideTimer','UniverRpc','Success','/run/','DocStateChangeManagerService','show','_initStatusListener','isTransformMutationsWithChangesetSuccess','_getSaveTimeout','defIds','getUndoRedoMutationParamsCache','skeleton','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getColor','UniverCollaborationClientUIPlugin','forEach','_drawRectRange','defs','shift','Rectangle','beforeCommandExecuted','MUTATION','next','_colorIndex','closePath','Vector2','@univerjs/sheets-ui','createElement','_initStatusComponent','history','status$','body','React','path','unload','CollaborationController','collab-rect-range-','_cursorInfo$','pipe','REDEMPTION_CODE_FULLY_REDEEMED','USER_NOT_INVITED_CODE','collabStatus.synced','CONNECTOR_DATA_TOO_LARGE','isTransformMutationFailure','now','enableLocalCache','USER_NOT_FOUND','[LogService\x20Error]:\x20','CollaborationUIEventService','_docSyncEditingCollabCursorService','YUUMI_CONNECTOR_URL_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','_handleHeartbeatEvent','_getMergeRange','colno','getLocalCacheKey','handleDeleteRangeMoveUp','transformRemoteChangeset','DeleteRangeMoveLeftCommandId','searchParams','collabStatus.syncing','_onCursorDelete','jiqing.500','currentSkeleton$','getFocusedUnit','_scheduleHeartbeat','none','getDocRanges','defineProperty','init','UniverProCollaborationClientUi','_hovered','_cursors','_labelPosition','CLOSE_ROOM','handleDeleteRangeMoveLeft','_refreshCollabCursors','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DataLoaderService','_initEvent','PERMISSION_DENIED','removeEventListener','getOffsetConfig','moveTo','off-line-icon','textRanges','registerRefRange','measureText','delete','...','mutations','substring','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','cursorInfo$','Shape','registerRenderModule','UniverIcon','_drawTextRange','_releaseCalculationLimit','min','startsWith','createSocket'];_0x356f=function(){return _0x40841e;};return _0x356f();}(function(_0x232148,_0x450492){const _0x4a56b0=_0x34b8,_0x1db6fb=_0x232148();while(!![]){try{const _0x1fa649=-parseInt(_0x4a56b0(0x23a))/0x1*(parseInt(_0x4a56b0(0xaa))/0x2)+-parseInt(_0x4a56b0(0x348))/0x3+parseInt(_0x4a56b0(0x243))/0x4+-parseInt(_0x4a56b0(0x251))/0x5+-parseInt(_0x4a56b0(0x2a3))/0x6*(parseInt(_0x4a56b0(0x367))/0x7)+-parseInt(_0x4a56b0(0x2b7))/0x8+-parseInt(_0x4a56b0(0x125))/0x9*(-parseInt(_0x4a56b0(0x1b6))/0xa);if(_0x1fa649===_0x450492)break;else _0x1db6fb['push'](_0x1db6fb['shift']());}catch(_0x57bc17){_0x1db6fb['push'](_0x1db6fb['shift']());}}}(_0x356f,0x6536c),function(_0x14441c,_0x14a50d){const _0x32037a=_0x34b8;typeof exports=='object'&&typeof module<'u'?_0x14a50d(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==_0x32037a(0xd6)&&define['amd']?define([_0x32037a(0x9a),_0x32037a(0x315),_0x32037a(0x107),'@univerjs/core',_0x32037a(0x2d9),_0x32037a(0x36f),_0x32037a(0x13f),_0x32037a(0x29d),_0x32037a(0x29a),'@univerjs/sheets',_0x32037a(0xa5),'@univerjs/network',_0x32037a(0x1c4),'@univerjs/drawing',_0x32037a(0x90),'@univerjs/docs',_0x32037a(0x372),'rxjs/operators',_0x32037a(0x169)],_0x14a50d):(_0x14441c=typeof globalThis<'u'?globalThis:_0x14441c||self,_0x14a50d(_0x14441c[_0x32037a(0x195)]={},_0x14441c[_0x32037a(0x16f)],_0x14441c['UniverProCollaborationClient'],_0x14441c[_0x32037a(0x1f7)],_0x14441c[_0x32037a(0x306)],_0x14441c[_0x32037a(0x36f)],_0x14441c[_0x32037a(0x213)],_0x14441c[_0x32037a(0x16f)],_0x14441c[_0x32037a(0x150)],_0x14441c['UniverSheets'],_0x14441c[_0x32037a(0x1e4)],_0x14441c[_0x32037a(0x26d)],_0x14441c[_0x32037a(0x13e)],_0x14441c[_0x32037a(0x134)],_0x14441c[_0x32037a(0x231)],_0x14441c['UniverDocs'],_0x14441c[_0x32037a(0x2ff)],_0x14441c[_0x32037a(0x36f)]['operators'],_0x14441c[_0x32037a(0x2a5)]));}(this,function(_0x49b1c5,_0x43d0fe,_0x497c74,_0x4b176f,_0x48763f,_0x2d9524,_0x47ae90,_0x1b9293,_0x4e4364,_0x4ba8ca,_0x517da6,_0x542501,_0x5f0c77,_0x150443,_0x2cf75e,_0xb532ca,_0x1707bd,_0x11f65e,_0x17a370){'use strict';const _0x568c59=_0x34b8;var _0x2f51a2=Object['defineProperty'],_0x2b2d24=(_0x420982,_0x2d6f56,_0x1bb42e)=>_0x2d6f56 in _0x420982?_0x2f51a2(_0x420982,_0x2d6f56,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bb42e}):_0x420982[_0x2d6f56]=_0x1bb42e,_0xe730d4=(_0x975106,_0x564a72,_0x20c8f1)=>_0x2b2d24(_0x975106,typeof _0x564a72!=_0x568c59(0x9d)?_0x564a72+'':_0x564a72,_0x20c8f1);function _0x3a20cf({ref:_0x471aec,..._0x219de2}){const _0x1961f3=_0x568c59,{icon:_0x10d2d2,id:_0x3c80bc,className:_0x4d16c2,extend:_0x42bc47,..._0xf63751}=_0x219de2,_0x58844b=(_0x1961f3(0x346)+_0x3c80bc+'\x20'+(_0x4d16c2||''))[_0x1961f3(0x139)](),_0x664cb2=_0x1b9293['useRef']('_'+_0xa6bce8());return _0x36803a(_0x10d2d2,''+_0x3c80bc,{'defIds':_0x10d2d2[_0x1961f3(0x158)],'idSuffix':_0x664cb2[_0x1961f3(0x215)]},{'ref':_0x471aec,'className':_0x58844b,..._0xf63751},_0x42bc47);}function _0x36803a(_0x1a50e9,_0x4e71de,_0x182dd5,_0x27d9fd,_0xde2fce){const _0x2642f5=_0x568c59;return _0x1b9293[_0x2642f5(0x16a)](_0x1a50e9[_0x2642f5(0x22b)],{'key':_0x4e71de,..._0x3a294c(_0x1a50e9,_0x182dd5,_0xde2fce),..._0x27d9fd},(_0x5a6783(_0x1a50e9,_0x182dd5)[_0x2642f5(0x2e9)]||[])[_0x2642f5(0x27b)]((_0x1faa6b,_0x351ba2)=>_0x36803a(_0x1faa6b,_0x4e71de+'-'+_0x1a50e9['tag']+'-'+_0x351ba2,_0x182dd5,void 0x0,_0xde2fce)));}function _0x3a294c(_0x18fd4f,_0x305a37,_0x1d8322){const _0x4c2ad5=_0x568c59,_0x1a7a67={..._0x18fd4f[_0x4c2ad5(0x131)]};_0x1d8322!=null&&_0x1d8322[_0x4c2ad5(0x2c2)]&&_0x1a7a67[_0x4c2ad5(0x8f)]===_0x4c2ad5(0x2c2)&&(_0x1a7a67[_0x4c2ad5(0x8f)]=_0x1d8322['colorChannel1']),_0x18fd4f['tag']===_0x4c2ad5(0x23b)&&_0x1a7a67['id']&&(_0x1a7a67['id']=_0x1a7a67['id']+_0x305a37['idSuffix']),Object[_0x4c2ad5(0xec)](_0x1a7a67)[_0x4c2ad5(0x15e)](([_0x12281c,_0x1b15a8])=>{const _0xc2fbd8=_0x4c2ad5;_0x12281c===_0xc2fbd8(0x23b)&&typeof _0x1b15a8=='string'&&(_0x1a7a67[_0x12281c]=_0x1b15a8[_0xc2fbd8(0x322)](/url\(#(.*)\)/,_0xc2fbd8(0x2af)+_0x305a37[_0xc2fbd8(0x1c0)]+')'));});const {defIds:_0x4356c2}=_0x305a37;return!_0x4356c2||_0x4356c2[_0x4c2ad5(0x261)]===0x0||(_0x18fd4f[_0x4c2ad5(0x22b)]===_0x4c2ad5(0x2e6)&&_0x1a7a67['xlink:href']&&(_0x1a7a67[_0x4c2ad5(0x32a)]=_0x1a7a67[_0x4c2ad5(0x32a)]+_0x305a37['idSuffix']),Object['entries'](_0x1a7a67)[_0x4c2ad5(0x15e)](([_0x11e19f,_0x5c2ecb])=>{const _0x21b651=_0x4c2ad5;typeof _0x5c2ecb==_0x21b651(0x2e4)&&(_0x1a7a67[_0x11e19f]=_0x5c2ecb[_0x21b651(0x322)](/url\(#(.*)\)/,'url(#$1'+_0x305a37[_0x21b651(0x1c0)]+')'));})),_0x1a7a67;}function _0x5a6783(_0x25f58e,_0x13501d){const _0x2318f0=_0x568c59;var _0x44ad18;const {defIds:_0x28262e}=_0x13501d;return!_0x28262e||_0x28262e[_0x2318f0(0x261)]===0x0?_0x25f58e:_0x25f58e['tag']===_0x2318f0(0x160)&&((_0x44ad18=_0x25f58e[_0x2318f0(0x2e9)])!=null&&_0x44ad18[_0x2318f0(0x261)])?{..._0x25f58e,'children':_0x25f58e[_0x2318f0(0x2e9)][_0x2318f0(0x27b)](_0x28342f=>typeof _0x28342f[_0x2318f0(0x131)]['id']==_0x2318f0(0x2e4)&&_0x28262e&&_0x28262e['includes'](_0x28342f[_0x2318f0(0x131)]['id'])?{..._0x28342f,'attrs':{..._0x28342f[_0x2318f0(0x131)],'id':_0x28342f[_0x2318f0(0x131)]['id']+_0x13501d[_0x2318f0(0x1c0)]}}:_0x28342f)}:_0x25f58e;}function _0xa6bce8(){const _0x47f5ff=_0x568c59;return Math[_0x47f5ff(0xd5)]()['toString'](0x24)[_0x47f5ff(0x1aa)](0x2,0x8);}_0x3a20cf['displayName']=_0x568c59(0x1af);const _0x2e9596={'tag':_0x568c59(0xfc),'attrs':{'xmlns':_0x568c59(0x1f4),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x568c59(0x229)},'children':[{'tag':'path','attrs':{'stroke':_0x568c59(0x349),'d':_0x568c59(0x23e),'strokeLinecap':'round','strokeLinejoin':_0x568c59(0x20d),'strokeWidth':1.2}}]},{'tag':_0x568c59(0x160),'attrs':{},'children':[{'tag':_0x568c59(0x330),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x568c59(0x170),'attrs':{'fill':_0x568c59(0xad),'d':_0x568c59(0x276)}}]}]}],'defIds':[_0x568c59(0x323)]},_0x4fe69e=_0x1b9293[_0x568c59(0x12b)](function(_0x4a2d92,_0x20f4a3){const _0x2753fc=_0x568c59;return _0x1b9293[_0x2753fc(0x16a)](_0x3a20cf,Object[_0x2753fc(0xcb)]({},_0x4a2d92,{'id':_0x2753fc(0x1a3),'ref':_0x20f4a3,'icon':_0x2e9596}));});_0x4fe69e[_0x568c59(0x27a)]=_0x568c59(0x1ec);const _0x40e88d={'tag':_0x568c59(0xfc),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x568c59(0x191),'viewBox':'0\x200\x2017\x2016','width':_0x568c59(0x113),'height':_0x568c59(0x113)},'children':[{'tag':'g','attrs':{'clipPath':_0x568c59(0x26a)},'children':[{'tag':_0x568c59(0x170),'attrs':{'stroke':_0x568c59(0x349),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x568c59(0x20d),'strokeLinejoin':_0x568c59(0x20d),'strokeWidth':1.2}}]},{'tag':_0x568c59(0x160),'attrs':{},'children':[{'tag':_0x568c59(0x330),'attrs':{'id':_0x568c59(0x8c)},'children':[{'tag':'path','attrs':{'fill':_0x568c59(0xad),'d':'M0\x200H16V16H0z','transform':_0x568c59(0xa8)}}]}]}],'defIds':[_0x568c59(0x8c)]},_0x4c1607=_0x1b9293[_0x568c59(0x12b)](function(_0x597fd8,_0x3714af){const _0x23759e=_0x568c59;return _0x1b9293[_0x23759e(0x16a)](_0x3a20cf,Object[_0x23759e(0xcb)]({},_0x597fd8,{'id':_0x23759e(0x1ea),'ref':_0x3714af,'icon':_0x40e88d}));});_0x4c1607[_0x568c59(0x27a)]=_0x568c59(0x25a);function _0x3bc71b(_0x65bc62){const _0x53b8af=_0x568c59;switch(_0x65bc62){case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x32f)]:return _0x53b8af(0x30c);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x2e7)]:return _0x53b8af(0x12f);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x362)]:return'collabStatus.fetchMiss';case _0x497c74['CollaborationStatus'][_0x53b8af(0x1fc)]:return _0x53b8af(0x20b);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x341)]:case _0x497c74[_0x53b8af(0x28b)]['AWAITING_WITH_PENDING']:return _0x53b8af(0x18b);case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0xfd)]:case _0x497c74[_0x53b8af(0x28b)][_0x53b8af(0x96)]:return _0x53b8af(0x178);}}function _0x1db768(_0x48f5cc){const _0x332ccc=_0x568c59,{status$:_0x4929f1}=_0x48f5cc,_0x11f8da=_0x48763f[_0x332ccc(0x31e)](_0x4929f1,_0x497c74[_0x332ccc(0x28b)]['NOT_COLLAB']),_0x15853a=_0x48763f['useDependency'](_0x4b176f['LocaleService']),_0x2ea38f=_0x48763f[_0x332ccc(0x2ed)](_0x497c74[_0x332ccc(0x29f)]),_0x371a67=_0x11f8da!==_0x497c74[_0x332ccc(0x28b)]['OFFLINE'],_0x2fb180=_0x15853a['t'](_0x3bc71b(_0x11f8da)),_0x35750b=_0x371a67?_0x43d0fe[_0x332ccc(0x20f)](_0x4c1607,{}):_0x43d0fe[_0x332ccc(0x20f)](_0x4fe69e,{}),_0x59862c=_0x1b9293[_0x332ccc(0x1e8)](()=>{_0x371a67||_0x2ea38f['reconnect']();},[_0x371a67,_0x2ea38f]);function _0x5fb97(){const _0x89a94e=_0x332ccc;return _0x43d0fe[_0x89a94e(0x233)](_0x89a94e(0x1f8),{'className':_0x89a94e(0x1c2),'onClick':_0x59862c,'children':[_0x43d0fe[_0x89a94e(0x20f)](_0x89a94e(0x1f8),{'className':_0x47ae90[_0x89a94e(0x11b)](_0x89a94e(0x26c),{'univer-text-green-500':_0x371a67,'univer-text-red-500':!_0x371a67}),'children':_0x35750b}),_0x43d0fe['jsx'](_0x89a94e(0x1f8),{'className':_0x89a94e(0x1cd),'children':_0x2fb180})]});}return _0x371a67?_0x5fb97():_0x43d0fe['jsx'](_0x47ae90[_0x332ccc(0x112)],{'title':_0x15853a['t']('collab-client.tooltip.reconnect'),'children':_0x5fb97()});}var _0x11eec4=Object[_0x568c59(0xf5)],_0x1d0e0d=(_0x35669b,_0x243c75,_0x45806e,_0x1eb313)=>{const _0x2d5f84=_0x568c59;for(var _0x72c77a=_0x1eb313>0x1?void 0x0:_0x1eb313?_0x11eec4(_0x243c75,_0x45806e):_0x243c75,_0x137442=_0x35669b[_0x2d5f84(0x261)]-0x1,_0x2beff6;_0x137442>=0x0;_0x137442--)(_0x2beff6=_0x35669b[_0x137442])&&(_0x72c77a=_0x2beff6(_0x72c77a)||_0x72c77a);return _0x72c77a;},_0x2ae13f=(_0x1e1ced,_0x5dec5c)=>(_0x5582a2,_0x19ee3e)=>_0x5dec5c(_0x5582a2,_0x19ee3e,_0x1e1ced);_0x49b1c5[_0x568c59(0x336)]=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x254a0c,_0x12b351,_0x45c852,_0x22dbaa){const _0x191560=_0x568c59;super(),_0xe730d4(this,_0x191560(0x366),new _0x2d9524[(_0x191560(0x1cf))](_0x497c74[_0x191560(0x28b)][_0x191560(0x1fc)])),(this['_univerInstanceService']=_0x254a0c,this['_injector']=_0x12b351,this[_0x191560(0x105)]=_0x45c852,this[_0x191560(0x136)]=_0x22dbaa,this[_0x191560(0x16b)](),this[_0x191560(0x155)]());}['_initStatusListener'](){const _0x593d99=_0x568c59;this['disposeWithMe'](this[_0x593d99(0xbb)][_0x593d99(0x214)][_0x593d99(0x175)](_0x2d9524['switchMap'](()=>{const _0x2bd9ac=_0x593d99,_0x5e1756=this['_univerInstanceService'][_0x2bd9ac(0x18f)]();return _0x5e1756?this['_collaborationController']['getCollabEntity$'](_0x5e1756['getUnitId']()):_0x2d9524['of'](null);}),_0x2d9524[_0x593d99(0x14d)](_0xab08a=>_0xab08a?_0xab08a[_0x593d99(0x16d)]:_0x2d9524['of'](_0x497c74[_0x593d99(0x28b)][_0x593d99(0x1fc)])))[_0x593d99(0xe7)](_0xaf82=>{const _0x4d953b=_0x593d99;this[_0x4d953b(0x366)][_0x4d953b(0x165)](_0xaf82);}));}[_0x568c59(0x16b)](){const _0x4e4301=_0x568c59;this[_0x4e4301(0x354)](this[_0x4e4301(0x136)][_0x4e4301(0x30b)](_0x48763f[_0x4e4301(0x21b)][_0x4e4301(0x242)],()=>_0x48763f['connectInjector'](_0x274aa2({'status$':this[_0x4e4301(0x366)][_0x4e4301(0x2ba)]()}),this[_0x4e4301(0x148)])));}},_0x49b1c5[_0x568c59(0x336)]=_0x1d0e0d([_0x2ae13f(0x0,_0x4b176f['IUniverInstanceService']),_0x2ae13f(0x1,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x2ae13f(0x2,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x172)])),_0x2ae13f(0x3,_0x48763f['IUIPartsService'])],_0x49b1c5[_0x568c59(0x336)]);function _0x274aa2(_0x2b84c2){const {status$:_0x13a947}=_0x2b84c2;return function(){return _0x43d0fe['jsx'](_0x1db768,{'status$':_0x13a947});};}const _0x69f589=_0x4b176f[_0x568c59(0xa1)](_0x568c59(0x2e2));var _0x3b8b70=Object[_0x568c59(0xf5)],_0xc2a3f8=(_0x2cb8e5,_0x16dc43,_0x3472ea,_0x514b04)=>{const _0x33255c=_0x568c59;for(var _0x4ecb39=_0x514b04>0x1?void 0x0:_0x514b04?_0x3b8b70(_0x16dc43,_0x3472ea):_0x16dc43,_0x1ecf42=_0x2cb8e5[_0x33255c(0x261)]-0x1,_0x268be3;_0x1ecf42>=0x0;_0x1ecf42--)(_0x268be3=_0x2cb8e5[_0x1ecf42])&&(_0x4ecb39=_0x268be3(_0x4ecb39)||_0x4ecb39);return _0x4ecb39;},_0x5755bf=(_0x200246,_0x5bb552)=>(_0x5baaab,_0xdf5fd3)=>_0x5bb552(_0x5baaab,_0xdf5fd3,_0x200246);_0x49b1c5[_0x568c59(0xcf)]=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x3cd4cb,_0x655d0b,_0x1653a2,_0x5c63cd,_0xd3ab34){const _0x39cd02=_0x568c59;super(),this[_0x39cd02(0x149)]=_0x3cd4cb,this[_0x39cd02(0x31a)]=_0x655d0b,this[_0x39cd02(0x115)]=_0x1653a2,this[_0x39cd02(0x371)]=_0x5c63cd,_0xd3ab34?_0xd3ab34==null||_0xd3ab34[_0x39cd02(0x253)]()[_0x39cd02(0x2c6)](()=>this['_init']()):(this[_0x39cd02(0x31a)][_0x39cd02(0x290)](_0x39cd02(0x368),_0x39cd02(0x2a9)),this['_init']());}async[_0x568c59(0x129)](){const _0xee14e5=_0x568c59,_0x4b5e56=this[_0xee14e5(0x149)][_0xee14e5(0x30f)](_0xee14e5(0x1ba)),_0xa28c0f=this[_0xee14e5(0x149)][_0xee14e5(0x30f)]('type'),_0x5b0bcf=this[_0xee14e5(0x149)][_0xee14e5(0x30f)](_0xee14e5(0x2e1));if(!_0x4b5e56||!_0xa28c0f){this[_0xee14e5(0x31a)][_0xee14e5(0x290)](_0xee14e5(0x368),_0xee14e5(0x87));return;}const _0x1a54d2=await this[_0xee14e5(0x371)]['loadUnit'](_0x4b5e56,Number(_0xa28c0f),_0x5b0bcf);_0x1a54d2&&_0x1a54d2 instanceof _0x4b176f[_0xee14e5(0x240)]&&this[_0xee14e5(0x14a)](_0x1a54d2);}async[_0x568c59(0x14a)](_0x1756b8){const _0x543145=_0x568c59;await this[_0x543145(0xdb)](_0x1756b8),_0x1756b8[_0x543145(0x275)][_0x543145(0x175)](_0x2d9524[_0x543145(0x360)](this['dispose$']))['subscribe'](_0x2b81cf=>{const _0x1b4af9=_0x543145;_0x2b81cf&&this[_0x1b4af9(0x309)](_0x2b81cf);}),this[_0x543145(0x149)][_0x543145(0xa9)][_0x543145(0x175)](_0x2d9524[_0x543145(0x360)](this[_0x543145(0x2c9)]))[_0x543145(0xe7)](()=>this[_0x543145(0xdb)](_0x1756b8));}[_0x568c59(0x309)](_0x4ec03b,_0x4b808d=!0x1){const _0x13e6ca=_0x568c59,_0xb4e1bd=this[_0x13e6ca(0x149)][_0x13e6ca(0x30f)](_0x13e6ca(0x2e1));_0x4ec03b[_0x13e6ca(0x118)]()!==_0xb4e1bd&&this[_0x13e6ca(0x149)][_0x13e6ca(0x33f)](_0x13e6ca(0x2e1),_0x4ec03b[_0x13e6ca(0x118)](),_0x4b808d);}async[_0x568c59(0xdb)](_0x440290){const _0x3c06f0=_0x568c59;var _0x4b2411;const _0x739feb=this[_0x3c06f0(0x149)]['getParam'](_0x3c06f0(0x2e1));if(!_0x739feb||!_0x440290[_0x3c06f0(0x1ca)](_0x739feb)){const _0x257e53=_0x440290[_0x3c06f0(0x361)]()[0x0],_0x198690=_0x440290[_0x3c06f0(0x1ca)](_0x257e53);if(!_0x198690)return;this[_0x3c06f0(0x309)](_0x198690,!0x0),await this['_commandService']['executeCommand'](_0x4ba8ca['SetWorksheetActivateCommand']['id'],{'unitId':_0x440290['getUnitId'](),'subUnitId':_0x257e53});return;}((_0x4b2411=_0x440290['getActiveSheet']())==null?void 0x0:_0x4b2411[_0x3c06f0(0x118)]())!==_0x739feb&&await this[_0x3c06f0(0x115)][_0x3c06f0(0x2ec)](_0x4ba8ca[_0x3c06f0(0x2d5)]['id'],{'unitId':_0x440290['getUnitId'](),'subUnitId':_0x739feb});}},_0x49b1c5[_0x568c59(0xcf)]=_0xc2a3f8([_0x5755bf(0x0,_0x69f589),_0x5755bf(0x1,_0x4b176f[_0x568c59(0x344)]),_0x5755bf(0x2,_0x4b176f['ICommandService']),_0x5755bf(0x3,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x19d)])),_0x5755bf(0x4,_0x4b176f[_0x568c59(0x284)](_0x4e4364['IRemoteInstanceService']))],_0x49b1c5['CollaborationDataLoaderController']);var _0x4efba8=Object[_0x568c59(0xf5)],_0x486b2d=(_0x34f4c7,_0x295ebb,_0x3ce311,_0x363be3)=>{for(var _0x1b7262=_0x363be3>0x1?void 0x0:_0x363be3?_0x4efba8(_0x295ebb,_0x3ce311):_0x295ebb,_0x3187c6=_0x34f4c7['length']-0x1,_0x5c3419;_0x3187c6>=0x0;_0x3187c6--)(_0x5c3419=_0x34f4c7[_0x3187c6])&&(_0x1b7262=_0x5c3419(_0x1b7262)||_0x1b7262);return _0x1b7262;},_0x2c1b3d=(_0x407df6,_0x2d7df0)=>(_0xb02b09,_0xf08b8)=>_0x2d7df0(_0xb02b09,_0xf08b8,_0x407df6);let _0x30a20f=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x833609,_0x34a3a2){const _0x16da91=_0x568c59;super(),this[_0x16da91(0x270)]=_0x833609,this['_imageIoService']=_0x34a3a2,this[_0x16da91(0x129)]();}['_init'](){const _0x3b2bdf=_0x568c59,_0x19885d=this;this[_0x3b2bdf(0x354)](this[_0x3b2bdf(0x270)][_0x3b2bdf(0x237)]({'onBeforePasteImage':async _0x405f26=>{const _0x47e14e=_0x3b2bdf,_0x3e55d3=await _0x19885d[_0x47e14e(0xdd)][_0x47e14e(0x22c)](_0x405f26);return _0x3e55d3?{'source':_0x3e55d3[_0x47e14e(0x2f6)],'imageSourceType':_0x3e55d3['imageSourceType']}:null;}}));}};_0x30a20f=_0x486b2d([_0x2c1b3d(0x0,_0x5f0c77['IDocClipboardService']),_0x2c1b3d(0x1,_0x150443[_0x568c59(0x1f5)])],_0x30a20f);const _0x4294fe=[_0x568c59(0x263),_0x568c59(0x18d),_0x568c59(0x22f),_0x568c59(0x236),_0x568c59(0x305),_0x568c59(0x338)];class _0x4009eb extends _0x4b176f[_0x568c59(0x24b)]{constructor(){const _0x3285f0=_0x568c59;super(...arguments),_0xe730d4(this,_0x3285f0(0x294),new Map()),_0xe730d4(this,_0x3285f0(0x166),0x0);}[_0x568c59(0x25c)](_0x119a2b){const _0x4f4842=_0x568c59;if(this[_0x4f4842(0x294)][_0x4f4842(0x268)](_0x119a2b))return this[_0x4f4842(0x294)][_0x4f4842(0x9e)](_0x119a2b);const _0x53e362=_0x4294fe[this[_0x4f4842(0x166)]];return this[_0x4f4842(0x166)]=(this['_colorIndex']+0x1)%_0x4294fe[_0x4f4842(0x261)],this[_0x4f4842(0x294)][_0x4f4842(0xd2)](_0x119a2b,_0x53e362),_0x53e362;}}function _0x548dc2(_0x2e805b){const _0x4d84a6=_0x568c59;let _0x180144='';for(const _0x4051e9 of _0x2e805b){const {startOffset:_0x2af84b,endOffset:_0x752fc2,isActive:_0x218f74,rangeType:_0x2173e4,segmentId:_0x6858f0,segmentPage:_0x40c20a}=_0x4051e9;_0x180144[_0x4d84a6(0x261)]&&(_0x180144+=','),_0x180144+=_0x2af84b+':'+_0x752fc2+':'+(_0x218f74?'1':'0')+':'+_0x2173e4+':'+_0x6858f0+':'+_0x40c20a;}return _0x180144;}function _0xd0e126(_0x36a289){const _0x510971=_0x568c59,_0x29c685=_0x36a289['split'](','),_0x4cc1f6=[];for(const _0x5752de of _0x29c685){const [_0x782ba7,_0x4e3b98,_0x38090d,_0x3df3e9,_0x2f0076,_0x29a219]=_0x5752de[_0x510971(0x277)](':');_0x4cc1f6['push']({'startOffset':Number(_0x782ba7),'endOffset':Number(_0x4e3b98),'collapsed':_0x782ba7===_0x4e3b98,'isActive':_0x38090d==='1','rangeType':_0x3df3e9===_0x4b176f['DOC_RANGE_TYPE'][_0x510971(0xaf)]?_0x4b176f[_0x510971(0xca)]['TEXT']:_0x4b176f[_0x510971(0xca)][_0x510971(0xb1)],'segmentId':typeof _0x2f0076==_0x510971(0x2e4)?String(_0x2f0076):'','segmentPage':Number(_0x29a219!=null?_0x29a219:-0x1)});}return _0x4cc1f6['some'](_0x1160d4=>_0x1160d4['isActive'])||(_0x4cc1f6[0x0][_0x510971(0x2d3)]=!0x0),_0x4cc1f6;}class _0x510ecb extends _0x4b176f['RxDisposable']{constructor(){const _0x39ef27=_0x568c59;super(...arguments),_0xe730d4(this,_0x39ef27(0xf8),new _0x2d9524[(_0x39ef27(0x1cf))](null)),_0xe730d4(this,_0x39ef27(0xac),this[_0x39ef27(0xf8)][_0x39ef27(0x2ba)]());}['syncEditingCollabCursor'](_0x2f0bbd){const _0x389036=_0x568c59,{unitID:_0x3bc56b,memberID:_0x39283b,textRanges:_0x558d01}=_0x2f0bbd,_0x42425b=_0x548dc2(_0x558d01);if(_0x42425b==='')return;const _0x3ecfe9={'unitID':_0x3bc56b,'memberID':_0x39283b,'selection':_0x42425b};this['_collabCursorState$'][_0x389036(0x165)](_0x3ecfe9);}}var _0x24a4c3=Object[_0x568c59(0xf5)],_0x504e87=(_0x2be9e0,_0x4d3d3a,_0x5937f5,_0x535584)=>{const _0x2dd1cd=_0x568c59;for(var _0x3f5ea9=_0x535584>0x1?void 0x0:_0x535584?_0x24a4c3(_0x4d3d3a,_0x5937f5):_0x4d3d3a,_0x1253aa=_0x2be9e0[_0x2dd1cd(0x261)]-0x1,_0x238989;_0x1253aa>=0x0;_0x1253aa--)(_0x238989=_0x2be9e0[_0x1253aa])&&(_0x3f5ea9=_0x238989(_0x3f5ea9)||_0x3f5ea9);return _0x3f5ea9;},_0x160ff1=(_0x2ff61c,_0x36a548)=>(_0x4f9946,_0x2160af)=>_0x36a548(_0x4f9946,_0x2160af,_0x2ff61c);const _0x4705a8=0x12c,_0x873073=0x64;let _0x2c2994=class extends _0x4b176f['RxDisposable']{constructor(_0x7c0598,_0x34aeff,_0x5f5781,_0x4f67ae,_0xe937c5,_0x42423c,_0x4b8977,_0x4b4f41,_0x1b1d1f){const _0x1b8cc6=_0x568c59;super(),_0xe730d4(this,'_online',!0x1),_0xe730d4(this,'_init',!0x1),_0xe730d4(this,'_cursorInfo$',new _0x2d9524[(_0x1b8cc6(0x1cf))](new Map())),_0xe730d4(this,'cursorInfo$',this[_0x1b8cc6(0x174)][_0x1b8cc6(0x2ba)]()),_0xe730d4(this,_0x1b8cc6(0x355),new _0x2d9524[(_0x1b8cc6(0x1cf))]([])),_0xe730d4(this,'roomMembers$',this[_0x1b8cc6(0x355)][_0x1b8cc6(0x175)](_0x2d9524[_0x1b8cc6(0x2ab)](_0x4705a8))),_0xe730d4(this,_0x1b8cc6(0x244),_0x4b176f[_0x1b8cc6(0x208)](_0x4b956e=>{const _0x41a29d=_0x1b8cc6,_0x135edc={'eventID':_0x2cf75e[_0x41a29d(0x1bd)][_0x41a29d(0x266)],'data':{'unitID':this[_0x41a29d(0xff)],'memberID':this[_0x41a29d(0x316)][_0x41a29d(0x23f)](),'selection':_0x548dc2(_0x4b956e)}};this['_session'][_0x41a29d(0x11c)](_0x135edc,this[_0x41a29d(0xff)]);},_0x873073)),(this[_0x1b8cc6(0xff)]=_0x7c0598,this[_0x1b8cc6(0x316)]=_0x34aeff,this[_0x1b8cc6(0x148)]=_0x5f5781,this[_0x1b8cc6(0xef)]=_0x4f67ae,this[_0x1b8cc6(0x100)]=_0xe937c5,this[_0x1b8cc6(0x117)]=_0x42423c,this['_transformService']=_0x4b8977,this[_0x1b8cc6(0xbb)]=_0x4b4f41,this[_0x1b8cc6(0x115)]=_0x1b1d1f);}get[_0x568c59(0x22a)](){const _0x40150d=_0x568c59;return this[_0x40150d(0x174)]['getValue']();}get[_0x568c59(0xe2)](){const _0x8f7e9f=_0x568c59;return this[_0x8f7e9f(0x355)]['getValue']();}[_0x568c59(0x106)](){const _0x577fe5=_0x568c59;super[_0x577fe5(0x106)](),this[_0x577fe5(0x174)]['next'](new Map()),this[_0x577fe5(0x174)][_0x577fe5(0xda)](),this['_roomMembers$'][_0x577fe5(0x165)]([]),this[_0x577fe5(0x355)][_0x577fe5(0xda)]();}['init'](){const _0x375469=_0x568c59;this[_0x375469(0x129)]||(this['_init']=!0x0,this['_session'][_0x375469(0x210)][_0x375469(0x175)](_0x2d9524[_0x375469(0x360)](this[_0x375469(0x2c9)]))[_0x375469(0xe7)](_0x242376=>{const _0x406b03=_0x375469;_0x242376===_0x497c74[_0x406b03(0xd7)][_0x406b03(0x2f1)]?this[_0x406b03(0x345)]():this[_0x406b03(0x235)]();}),this[_0x375469(0x316)][_0x375469(0x12a)]['pipe'](_0x2d9524[_0x375469(0x360)](this['dispose$']))[_0x375469(0xe7)](_0x1dcad6=>{const _0x2732a0=_0x375469,_0x8062f9=_0x1dcad6[_0x2732a0(0x255)];_0x8062f9===_0x2cf75e[_0x2732a0(0x1bd)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1dcad6),_0x8062f9===_0x2cf75e[_0x2732a0(0x1bd)][_0x2732a0(0xc3)]&&this[_0x2732a0(0x18c)](_0x1dcad6);}),this[_0x375469(0x354)](this['_commandService'][_0x375469(0xe9)](_0x136de1=>{const _0x37f9af=_0x375469,_0x179989=_0x136de1['params'];_0x179989!=null&&this[_0x37f9af(0x201)]&&_0x136de1['id']===_0xb532ca[_0x37f9af(0xc2)]['id']&&_0x179989[_0x37f9af(0x13a)]===this[_0x37f9af(0xff)]&&_0x179989[_0x37f9af(0x295)]===!0x1&&_0x179989[_0x37f9af(0x109)][_0x37f9af(0x261)]>0x0&&this['_updateLocalCursor'](_0x179989[_0x37f9af(0x109)]);})),this[_0x375469(0x117)][_0x375469(0xac)]['pipe'](_0x2d9524[_0x375469(0x360)](this[_0x375469(0x2c9)]))[_0x375469(0xe7)](_0xbcf20f=>{const _0x2d24cf=_0x375469;if((_0xbcf20f==null?void 0x0:_0xbcf20f[_0x2d24cf(0xff)])!==this[_0x2d24cf(0xff)])return;const _0x20877a={'eventID':_0x2cf75e[_0x2d24cf(0x1bd)][_0x2d24cf(0x266)],'data':_0xbcf20f};this[_0x2d24cf(0x116)](_0x20877a);}),this[_0x375469(0x354)](this[_0x375469(0x115)][_0x375469(0xe9)](_0x3affc5=>{const _0xfd2d7=_0x375469;if(_0x3affc5[_0xfd2d7(0x2c3)]==null)return;const _0x34a1fd=_0x3affc5['params'];if(_0x3affc5['id']!==_0xb532ca[_0xfd2d7(0x2cd)]['id']||_0x34a1fd[_0xfd2d7(0x13a)]!==this[_0xfd2d7(0xff)])return;const _0x15e6d9={'id':_0xfd2d7(0x326),'params':_0x34a1fd},_0x429a15=this[_0xfd2d7(0x22a)];for(const [_0x57d100,_0x714044]of _0x429a15){const _0x11c648={'id':_0xfd2d7(0x326),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x714044['ranges']}},_0x54c7d2=this[_0xfd2d7(0x272)][_0xfd2d7(0x1dd)](_0x15e6d9,_0x11c648,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0x54c7d2))throw _0x54c7d2[_0xfd2d7(0x11f)];_0x429a15[_0xfd2d7(0xd2)](_0x57d100,{..._0x714044,'ranges':_0x54c7d2[_0xfd2d7(0x1d5)][_0xfd2d7(0x2c3)][_0xfd2d7(0x1a4)]});}queueMicrotask(()=>{const _0x3f3961=_0xfd2d7;this[_0x3f3961(0x174)]['next'](_0x429a15);});})));}['_onCursorUpdate'](_0x1a135a){const _0x1937f0=_0x568c59;var _0x1d1b59,_0x13e5e3;const {memberID:_0x36befa,selection:_0x200e41}=_0x1a135a[_0x1937f0(0x221)],_0x35b8ae=_0xd0e126(_0x200e41),_0x5997d4=(_0x13e5e3=(_0x1d1b59=this[_0x1937f0(0x100)][_0x1937f0(0x91)](this['unitID'],_0x36befa))==null?void 0x0:_0x1d1b59['name'])!=null?_0x13e5e3:_0x1937f0(0x2c1),_0x2c8516={'color':this[_0x1937f0(0xef)][_0x1937f0(0x25c)](_0x36befa),'name':_0x5997d4,'ranges':_0x35b8ae},_0x1ccb55=this[_0x1937f0(0x22a)];_0x1ccb55[_0x1937f0(0xd2)](_0x36befa,_0x2c8516),this[_0x1937f0(0x174)][_0x1937f0(0x165)](_0x1ccb55);}[_0x568c59(0x18c)](_0x634634){const _0x581fe1=_0x568c59,{memberID:_0x4c8c42}=_0x634634[_0x581fe1(0x221)],_0x169378=this[_0x581fe1(0x22a)];_0x169378[_0x581fe1(0x1a7)](_0x4c8c42),this[_0x581fe1(0x174)][_0x581fe1(0x165)](_0x169378);}['_toggleOnline'](){const _0x1a756b=_0x568c59;var _0x34066a;if(this['_online']=!0x0,((_0x34066a=this[_0x1a756b(0xbb)][_0x1a756b(0x18f)]())==null?void 0x0:_0x34066a[_0x1a756b(0x1f3)]())!==this[_0x1a756b(0xff)])return;const _0x225dcd=this[_0x1a756b(0x148)][_0x1a756b(0x9e)](_0xb532ca[_0x1a756b(0x1f9)])[_0x1a756b(0x192)]();Array[_0x1a756b(0x2f4)](_0x225dcd)&&_0x225dcd[_0x1a756b(0x261)]>0x0&&this[_0x1a756b(0x244)](_0x225dcd);}[_0x568c59(0x235)](){const _0x218795=_0x568c59;this[_0x218795(0x201)]=!0x1;}};_0x2c2994=_0x504e87([_0x160ff1(0x2,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x2b0)])),_0x160ff1(0x3,_0x4b176f[_0x568c59(0x36e)](_0x4009eb)),_0x160ff1(0x4,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x2f0)])),_0x160ff1(0x5,_0x4b176f[_0x568c59(0x36e)](_0x510ecb)),_0x160ff1(0x6,_0x2cf75e[_0x568c59(0x2ef)]),_0x160ff1(0x7,_0x4b176f[_0x568c59(0x26f)]),_0x160ff1(0x8,_0x4b176f['ICommandService'])],_0x2c2994);var _0x5a2ffe=Object[_0x568c59(0xf5)],_0x20e6db=(_0x2b2e0f,_0x225502,_0x2d20a6,_0x51c0db)=>{const _0x204a9b=_0x568c59;for(var _0x5e5922=_0x51c0db>0x1?void 0x0:_0x51c0db?_0x5a2ffe(_0x225502,_0x2d20a6):_0x225502,_0x388af7=_0x2b2e0f[_0x204a9b(0x261)]-0x1,_0x463224;_0x388af7>=0x0;_0x388af7--)(_0x463224=_0x2b2e0f[_0x388af7])&&(_0x5e5922=_0x463224(_0x5e5922)||_0x5e5922);return _0x5e5922;},_0x35bee9=(_0x36b935,_0x568c18)=>(_0x379089,_0x2195cd)=>_0x568c18(_0x379089,_0x2195cd,_0x36b935);const _0x2fd63a=0x12c,_0xdbf390=0x64,_0x152b33=()=>{let _0x423bd5=[],_0x5bec71=!0x1;return _0x8747a3=>{const _0xb476b5=_0x34b8;_0x423bd5[_0xb476b5(0x1cc)](_0x8747a3),_0x5bec71||(_0x5bec71=!0x0,setTimeout(()=>{const _0x4601e8=_0xb476b5;_0x423bd5[_0x4601e8(0x15e)](_0x36f22f=>_0x36f22f()),_0x423bd5=[],_0x5bec71=!0x1;}));};};let _0x8f0c30=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x48d25c,_0x530191,_0x103a00,_0x406c7d,_0x5e1cb5,_0x1acda7,_0x26a4eb,_0x490a27){const _0x4674fb=_0x568c59;super(),_0xe730d4(this,_0x4674fb(0x201),!0x1),_0xe730d4(this,_0x4674fb(0x129),!0x1),_0xe730d4(this,'_cursorInfo$',new _0x2d9524[(_0x4674fb(0x1cf))](new Map())),_0xe730d4(this,_0x4674fb(0x1ac),this[_0x4674fb(0x174)][_0x4674fb(0x2ba)]()),_0xe730d4(this,_0x4674fb(0x355),new _0x2d9524['BehaviorSubject']([])),_0xe730d4(this,_0x4674fb(0x13b),this[_0x4674fb(0x355)][_0x4674fb(0x175)](_0x2d9524[_0x4674fb(0x2ab)](_0x2fd63a))),_0xe730d4(this,_0x4674fb(0x244),_0x4b176f[_0x4674fb(0x208)]((_0x5e6aab,_0x4216e1)=>{const _0x407cef=_0x4674fb,_0x1a7230={'eventID':_0x2cf75e['CollaborationEvent'][_0x407cef(0x266)],'data':{'unitID':this[_0x407cef(0xff)],'memberID':this[_0x407cef(0x316)][_0x407cef(0x23f)](),'selection':_0x1707bd['serializeRangeWithSheet'](_0x5e6aab,_0x4216e1[_0x407cef(0x209)])}};this['_session'][_0x407cef(0x11c)](_0x1a7230,this[_0x407cef(0xff)]);},_0xdbf390)),(this[_0x4674fb(0xff)]=_0x48d25c,this[_0x4674fb(0x316)]=_0x530191,this[_0x4674fb(0x148)]=_0x103a00,this[_0x4674fb(0xef)]=_0x406c7d,this[_0x4674fb(0x100)]=_0x5e1cb5,this[_0x4674fb(0xbb)]=_0x1acda7,this[_0x4674fb(0x115)]=_0x26a4eb,this[_0x4674fb(0xa7)]=_0x490a27);}get[_0x568c59(0x22a)](){const _0x432a4=_0x568c59;return this[_0x432a4(0x174)]['getValue']();}get[_0x568c59(0xe2)](){const _0x5f1fa5=_0x568c59;return this['_roomMembers$'][_0x5f1fa5(0xce)]();}[_0x568c59(0x106)](){const _0x5339d0=_0x568c59;super[_0x5339d0(0x106)](),this[_0x5339d0(0x174)]['next'](new Map()),this[_0x5339d0(0x174)]['complete'](),this[_0x5339d0(0x355)][_0x5339d0(0x165)]([]),this[_0x5339d0(0x355)][_0x5339d0(0xda)]();}[_0x568c59(0x194)](){const _0x5626de=_0x568c59;this[_0x5626de(0x129)]||(this['_init']=!0x0,this['_session'][_0x5626de(0x210)][_0x5626de(0x175)](_0x2d9524[_0x5626de(0x360)](this[_0x5626de(0x2c9)]))[_0x5626de(0xe7)](_0x4eaafd=>{const _0x270453=_0x5626de;_0x4eaafd===_0x497c74[_0x270453(0xd7)][_0x270453(0x2f1)]?this[_0x270453(0x345)]():this[_0x270453(0x235)]();}),this[_0x5626de(0x316)][_0x5626de(0x12a)][_0x5626de(0x175)](_0x2d9524[_0x5626de(0x360)](this[_0x5626de(0x2c9)]))[_0x5626de(0xe7)](_0x100783=>{const _0x30b5a5=_0x5626de,_0x3cf27c=_0x100783[_0x30b5a5(0x255)];_0x3cf27c===_0x2cf75e['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x30b5a5(0x116)](_0x100783),_0x3cf27c===_0x2cf75e[_0x30b5a5(0x1bd)][_0x30b5a5(0xc3)]&&this[_0x30b5a5(0x18c)](_0x100783);}),this[_0x5626de(0x10b)](),this[_0x5626de(0x354)](this[_0x5626de(0x115)][_0x5626de(0xe9)](_0x46b7e4=>{const _0x3b5169=_0x5626de;if(this['_online']&&_0x46b7e4['id']===_0x4ba8ca[_0x3b5169(0xa3)]['id']&&_0x46b7e4[_0x3b5169(0x2c3)]['unitId']===this[_0x3b5169(0xff)]){const _0x482267=_0x46b7e4['params'];this[_0x3b5169(0x244)](_0x482267[_0x3b5169(0x1b8)],_0x482267['selections'][0x0]);}})));}[_0x568c59(0x116)](_0x208182){const _0x43a178=_0x568c59;var _0x439a9d,_0x43671a;const {memberID:_0x369b1e,selection:_0x286652}=_0x208182['data'],{sheetName:_0x36d6b3,range:_0x964ea6}=_0x1707bd['deserializeRangeWithSheet'](_0x286652),_0x2cd365={'name':(_0x43671a=(_0x439a9d=this['_memberService'][_0x43a178(0x91)](this[_0x43a178(0xff)],_0x369b1e))==null?void 0x0:_0x439a9d[_0x43a178(0x111)])!=null?_0x43671a:_0x43a178(0x2c1),'range':this[_0x43a178(0x184)](_0x36d6b3,_0x964ea6),'sheetID':_0x36d6b3,'color':this[_0x43a178(0xef)][_0x43a178(0x25c)](_0x369b1e),'selection':_0x286652},_0x9da315=this[_0x43a178(0x22a)];_0x9da315[_0x43a178(0xd2)](_0x369b1e,_0x2cd365),this[_0x43a178(0x174)][_0x43a178(0x165)](_0x9da315);}[_0x568c59(0x18c)](_0xaf3487){const _0x2020f7=_0x568c59,{memberID:_0x522980}=_0xaf3487[_0x2020f7(0x221)],_0x1cc1b0=this[_0x2020f7(0x22a)];_0x1cc1b0['delete'](_0x522980),this[_0x2020f7(0x174)][_0x2020f7(0x165)](_0x1cc1b0);}['_getMergeRange'](_0x1286a7,_0x3d905e){const _0x44fd78=_0x568c59;var _0x3a49bf,_0xc338e6;const _0x1e1b50=(_0xc338e6=(_0x3a49bf=this[_0x44fd78(0xbb)][_0x44fd78(0x33e)](this[_0x44fd78(0xff)]))==null?void 0x0:_0x3a49bf[_0x44fd78(0x1ca)](_0x1286a7))==null?void 0x0:_0xc338e6['getMergeData']();return(_0x1e1b50==null?void 0x0:_0x1e1b50[_0x44fd78(0x300)](_0x22df91=>_0x4b176f[_0x44fd78(0x162)][_0x44fd78(0x35b)](_0x22df91,_0x3d905e)))||_0x3d905e;}[_0x568c59(0x10b)](){const _0x382e78=_0x568c59,_0x3b75df=new _0x4b176f['DisposableCollection'](),_0x27f2c3=_0x152b33(),_0x4d100e=()=>{const _0x2a341e=_0x34b8;_0x3b75df[_0x2a341e(0x106)]();const _0x7099a0=(_0x5c8027,_0x5d0c5a,_0x262008,_0x721060)=>{const _0x5ae608=_0x2a341e;let _0x529a1e=[];switch(_0x5c8027['id']){case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x189)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x19a)](_0x5c8027,_0x721060);break;}case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x27e)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x187)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)]['InsertColCommandId']:{_0x529a1e=_0x4ba8ca['handleInsertCol'](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)][_0x5ae608(0x34c)]:{_0x529a1e=_0x4ba8ca['handleInsertRangeMoveDown'](_0x5c8027,_0x721060);break;}case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x2a4)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0xcc)](_0x5c8027,_0x721060);break;}case _0x4ba8ca['EffectRefRangId'][_0x5ae608(0x1e0)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x114)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)][_0x5ae608(0x123)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x26b)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)][_0x5ae608(0xa4)]:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x25f)](_0x5c8027,_0x721060);break;}case _0x4ba8ca[_0x5ae608(0x302)]['RemoveRowCommandId']:{_0x529a1e=_0x4ba8ca[_0x5ae608(0x2f3)](_0x5c8027,_0x721060);break;}}const _0x580455=_0x4ba8ca[_0x5ae608(0x1d8)](_0x529a1e,_0x721060),_0x1a32b9=this[_0x5ae608(0x22a)][_0x5ae608(0x9e)](_0x5d0c5a);if(_0x1a32b9&&_0x580455){const _0x5d57c5={..._0x1a32b9,'range':_0x580455};this[_0x5ae608(0x22a)][_0x5ae608(0xd2)](_0x5d0c5a,_0x5d57c5),_0x27f2c3(()=>{const _0x5520cf=_0x5ae608,_0x346a15=this[_0x5520cf(0xa7)][_0x5520cf(0x1a5)](_0x580455,_0x2d31db=>(_0x346a15[_0x5520cf(0x106)](),_0x7099a0(_0x2d31db,_0x5d0c5a,_0x262008,_0x580455)));_0x3b75df[_0x5520cf(0x2bf)](_0x346a15);});}return{'redos':[],'undos':[]};};this[_0x2a341e(0x22a)][_0x2a341e(0x15e)]((_0x3602ca,_0x30a3de)=>{const _0x49b6f1=_0x2a341e,{range:_0x4c57ce,sheetID:_0x33243a}=_0x3602ca,_0x54a744=this[_0x49b6f1(0xa7)][_0x49b6f1(0x1a5)](_0x4c57ce,_0x33de9c=>(_0x54a744[_0x49b6f1(0x106)](),_0x7099a0(_0x33de9c,_0x30a3de,_0x33243a,_0x4c57ce)));_0x3b75df[_0x49b6f1(0x2bf)](_0x54a744);});};this[_0x382e78(0x354)](_0x4b176f[_0x382e78(0xa6)](this['_cursorInfo$']['subscribe'](()=>{_0x4d100e();})));}[_0x568c59(0x345)](){const _0xa642d4=_0x568c59;var _0x59f55e,_0x49eec7;if(this[_0xa642d4(0x201)]=!0x0,((_0x59f55e=this[_0xa642d4(0xbb)][_0xa642d4(0x18f)]())==null?void 0x0:_0x59f55e[_0xa642d4(0x1f3)]())!==this[_0xa642d4(0xff)])return;const _0x1a6d1b=(_0x49eec7=this[_0xa642d4(0x148)]['get'](_0x4ba8ca[_0xa642d4(0x358)])[_0xa642d4(0x86)]())==null?void 0x0:_0x49eec7[0x0],_0x29ed25=this[_0xa642d4(0xbb)][_0xa642d4(0x11a)](_0x4b176f[_0xa642d4(0xc6)][_0xa642d4(0x1f2)])[_0xa642d4(0x2cb)]();_0x1a6d1b&&_0x29ed25&&this[_0xa642d4(0x244)](_0x29ed25[_0xa642d4(0x118)](),_0x1a6d1b);}[_0x568c59(0x235)](){const _0x50dc50=_0x568c59;this[_0x50dc50(0x201)]=!0x1;}};_0x8f0c30=_0x20e6db([_0x35bee9(0x2,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x35bee9(0x3,_0x4b176f[_0x568c59(0x36e)](_0x4009eb)),_0x35bee9(0x4,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x2f0)])),_0x35bee9(0x5,_0x4b176f['IUniverInstanceService']),_0x35bee9(0x6,_0x4b176f[_0x568c59(0x32b)]),_0x35bee9(0x7,_0x4b176f[_0x568c59(0x36e)](_0x4ba8ca[_0x568c59(0x2b4)]))],_0x8f0c30);var _0x37d882=Object['getOwnPropertyDescriptor'],_0x5c5d4a=(_0x492623,_0x1dff59,_0x5dc127,_0x4f837f)=>{const _0x3f8c51=_0x568c59;for(var _0x3fd4d1=_0x4f837f>0x1?void 0x0:_0x4f837f?_0x37d882(_0x1dff59,_0x5dc127):_0x1dff59,_0x1c1114=_0x492623[_0x3f8c51(0x261)]-0x1,_0x49c918;_0x1c1114>=0x0;_0x1c1114--)(_0x49c918=_0x492623[_0x1c1114])&&(_0x3fd4d1=_0x49c918(_0x3fd4d1)||_0x3fd4d1);return _0x3fd4d1;},_0x3f5b2f=(_0x44fc5d,_0x593bc3)=>(_0x2a7c06,_0x266415)=>_0x593bc3(_0x2a7c06,_0x266415,_0x44fc5d);let _0x53db82=class extends _0x4b176f['RxDisposable']{constructor(_0x18a9a4,_0x2240e6,_0x348426){const _0x3cf699=_0x568c59;super(),_0xe730d4(this,_0x3cf699(0x2bc),new Map()),_0xe730d4(this,_0x3cf699(0x287),new _0x2d9524['Subject']()),(this['_univerInstanceService']=_0x18a9a4,this['_injector']=_0x2240e6,this[_0x3cf699(0x245)]=_0x348426,this[_0x3cf699(0x129)]());}['dispose'](){const _0x238994=_0x568c59;super[_0x238994(0x106)](),this[_0x238994(0x287)][_0x238994(0xda)](),this[_0x238994(0x2bc)][_0x238994(0x15e)](_0x5b0205=>_0x5b0205[_0x238994(0x106)]());}['getCollabCursors$'](_0xf234f){const _0x54cd19=_0x568c59;return this[_0x54cd19(0x2bc)][_0x54cd19(0x268)](_0xf234f)?this[_0x54cd19(0x2bc)][_0x54cd19(0x9e)](_0xf234f)['cursorInfo$']:this[_0x54cd19(0x287)][_0x54cd19(0x175)](_0x2d9524[_0x54cd19(0x365)](_0x5bc7bd=>_0x5bc7bd[_0x54cd19(0xff)]===_0xf234f),_0x2d9524['switchMap'](_0x4d1a08=>_0x4d1a08[_0x54cd19(0x1ac)]));}[_0x568c59(0x129)](){const _0x4ec8be=_0x568c59;this['_univerInstanceService'][_0x4ec8be(0xf7)](_0x4b176f[_0x4ec8be(0xc6)]['UNIVER_SHEET'])[_0x4ec8be(0x175)](_0x2d9524[_0x4ec8be(0x360)](this[_0x4ec8be(0x2c9)]))[_0x4ec8be(0xe7)](async _0x434f8b=>{const _0x216f79=_0x4ec8be,_0x4b7d6d=_0x434f8b[_0x216f79(0x1f3)](),_0x24e280=await this['_startSheetCollabCursor'](_0x4b7d6d);this['_entityInit$'][_0x216f79(0x165)](_0x24e280),this['_entities'][_0x216f79(0xd2)](_0x4b7d6d,_0x24e280);}),this['_univerInstanceService'][_0x4ec8be(0xf7)](_0x4b176f[_0x4ec8be(0xc6)][_0x4ec8be(0x141)])[_0x4ec8be(0x175)](_0x2d9524[_0x4ec8be(0x360)](this[_0x4ec8be(0x2c9)]))[_0x4ec8be(0x175)](_0x2d9524[_0x4ec8be(0x365)](_0x4ee439=>!_0x4ee439[_0x4ec8be(0x1f3)]()[_0x4ec8be(0x1b3)]('__')))[_0x4ec8be(0xe7)](async _0xa4b31b=>{const _0x4c1a76=_0x4ec8be,_0x2b489a=_0xa4b31b[_0x4c1a76(0x1f3)](),_0xe020ee=await this[_0x4c1a76(0xfb)](_0x2b489a);this[_0x4c1a76(0x287)][_0x4c1a76(0x165)](_0xe020ee),this[_0x4c1a76(0x2bc)][_0x4c1a76(0xd2)](_0x2b489a,_0xe020ee);}),_0x2d9524['merge'](this[_0x4ec8be(0xbb)][_0x4ec8be(0xc8)](_0x4b176f[_0x4ec8be(0xc6)][_0x4ec8be(0x141)]),this[_0x4ec8be(0xbb)][_0x4ec8be(0xc8)](_0x4b176f[_0x4ec8be(0xc6)][_0x4ec8be(0x1f2)]))['pipe'](_0x2d9524[_0x4ec8be(0x360)](this[_0x4ec8be(0x2c9)]))[_0x4ec8be(0xe7)](_0xca7592=>{const _0x11535e=_0x4ec8be,_0x2ea9ed=_0xca7592[_0x11535e(0x1f3)](),_0x1101e8=this[_0x11535e(0x2bc)][_0x11535e(0x9e)](_0x2ea9ed);_0x1101e8&&(_0x1101e8['dispose'](),this[_0x11535e(0x2bc)]['delete'](_0x2ea9ed));});}async[_0x568c59(0x130)](_0x32392b){const _0x396471=_0x568c59,_0x47dcf7=await this[_0x396471(0x245)][_0x396471(0x225)](_0x32392b),_0x53cb74=this[_0x396471(0x148)][_0x396471(0x2a8)](_0x8f0c30,_0x32392b,_0x47dcf7);return _0x53cb74['init'](),_0x53cb74;}async[_0x568c59(0xfb)](_0x7cad46){const _0x383843=_0x568c59,_0x5b0175=await this[_0x383843(0x245)][_0x383843(0x225)](_0x7cad46),_0x5976a7=this[_0x383843(0x148)]['createInstance'](_0x2c2994,_0x7cad46,_0x5b0175);return _0x5976a7['init'](),_0x5976a7;}};_0x53db82=_0x5c5d4a([_0x3f5b2f(0x0,_0x4b176f[_0x568c59(0x26f)]),_0x3f5b2f(0x1,_0x4b176f[_0x568c59(0x36e)](_0x4b176f['Injector'])),_0x3f5b2f(0x2,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x29f)]))],_0x53db82);const _0x21a6a9=0x14,_0x367f7e=0xc8,_0x167a5c=0x4,_0x3cdce1=0x5;function _0x42254b(_0x313b12,_0x5af7f4){const _0x2d4bda=_0x568c59;let {radius:_0x335b2c,width:_0x33d915,height:_0x83cbee}=_0x5af7f4;_0x335b2c=_0x335b2c!=null?_0x335b2c:0x0,_0x33d915=_0x33d915!=null?_0x33d915:0x1e,_0x83cbee=_0x83cbee!=null?_0x83cbee:0x1e;let _0x447c61=0x0,_0x2f75a2=0x0,_0x26f420=0x0;_0x447c61=_0x2f75a2=_0x26f420=Math[_0x2d4bda(0x1b2)](_0x335b2c,_0x33d915/0x2,_0x83cbee/0x2),_0x313b12['beginPath'](),_0x313b12[_0x2d4bda(0x1a2)](_0x447c61,0x0),_0x313b12[_0x2d4bda(0xe0)](_0x33d915-_0x2f75a2,0x0),_0x313b12[_0x2d4bda(0xeb)](_0x33d915-_0x2f75a2,_0x2f75a2,_0x2f75a2,Math['PI']*0x3/0x2,0x0,!0x1),_0x313b12[_0x2d4bda(0xe0)](_0x33d915,_0x83cbee-_0x26f420),_0x313b12[_0x2d4bda(0xeb)](_0x33d915-_0x26f420,_0x83cbee-_0x26f420,_0x26f420,0x0,Math['PI']/0x2,!0x1),_0x313b12[_0x2d4bda(0xe0)](0x0,_0x83cbee),_0x313b12[_0x2d4bda(0xe0)](0x0,_0x447c61),_0x313b12[_0x2d4bda(0xeb)](_0x447c61,_0x447c61,_0x447c61,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x313b12[_0x2d4bda(0x167)](),_0x5af7f4[_0x2d4bda(0x8f)]&&(_0x313b12[_0x2d4bda(0xdf)](),_0x313b12[_0x2d4bda(0x2c7)]=_0x5af7f4['fill'],_0x5af7f4[_0x2d4bda(0x2f9)]===_0x2d4bda(0x21d)?_0x313b12['fill'](_0x2d4bda(0x21d)):_0x313b12[_0x2d4bda(0x8f)](),_0x313b12[_0x2d4bda(0x24d)]());}class _0x1a0ab3 extends _0x517da6[_0x568c59(0x1ad)]{constructor(_0x4db68e,_0xf5216f){const _0x25b852=_0x568c59;super(_0x4db68e,_0xf5216f),_0xe730d4(this,_0x25b852(0x135)),_0xe730d4(this,_0x25b852(0x2fa)),(this[_0x25b852(0x135)]=_0xf5216f==null?void 0x0:_0xf5216f[_0x25b852(0x135)],this[_0x25b852(0x2fa)]=_0xf5216f==null?void 0x0:_0xf5216f['text']);}static['drawWith'](_0x5a2ebc,_0x257ff9){const _0x3e0e03=_0x568c59,{text:_0x3a99a0,color:_0x3d2785}=_0x257ff9;_0x5a2ebc[_0x3e0e03(0xdf)](),_0x5a2ebc['font']=_0x3e0e03(0x14c);const _0x2b5657=_0x5a2ebc[_0x3e0e03(0x1a6)](_0x3a99a0)['width'],_0x5ce001=Math[_0x3e0e03(0x1b2)](_0x2b5657+0x2*_0x167a5c,_0x367f7e);_0x42254b(_0x5a2ebc,{'height':_0x21a6a9,'radius':0x4,'width':_0x5ce001,'fill':_0x3d2785}),_0x5a2ebc[_0x3e0e03(0x2c7)]=_0x3e0e03(0x2a2);const _0x386ebf=_0x167a5c,_0x2d99bf=_0x21a6a9-_0x3cdce1,_0xd16930=_0x367f7e-0x2*_0x167a5c;if(_0x2b5657>_0xd16930){let _0xf87f0c='',_0x13cf9d=0x0;for(const _0x11b1ec of _0x3a99a0){const _0x5c3799=_0x5a2ebc[_0x3e0e03(0x1a6)](_0x11b1ec)[_0x3e0e03(0x2f5)];if(_0x13cf9d+_0x5c3799<=_0xd16930-_0x5a2ebc[_0x3e0e03(0x1a6)](_0x3e0e03(0x1a8))[_0x3e0e03(0x2f5)])_0xf87f0c+=_0x11b1ec,_0x13cf9d+=_0x5c3799;else{_0xf87f0c+=_0x3e0e03(0x1a8);break;}}_0x5a2ebc['fillText'](_0xf87f0c,_0x386ebf,_0x2d99bf);}else _0x5a2ebc[_0x3e0e03(0x331)](_0x3a99a0,_0x386ebf,_0x2d99bf);_0x5a2ebc[_0x3e0e03(0x24d)]();}[_0x568c59(0x32e)](_0x3bd794){const _0x188af3=_0x568c59;_0x1a0ab3[_0x188af3(0x1f0)](_0x3bd794,this);}}const _0x4e9940='collab-text-anchor-',_0x2c0825=_0x568c59(0x1b9),_0x11e65f=_0x568c59(0x173),_0x43bf1e=0x6,_0x3c9181=1.5,_0x803823=0x4,_0x5c6dee=1.5,_0x2032f6=_0x568c59(0x144);class _0x4a4828{constructor(_0x1e08df,_0x2a6a03,_0x264c18,_0x5a0b87){const _0x1ee61d=_0x568c59;_0xe730d4(this,_0x1ee61d(0x2e8),[]),_0xe730d4(this,'_anchor',null),_0xe730d4(this,_0x1ee61d(0x1fa),null),_0xe730d4(this,'_anchorDot',null),_0xe730d4(this,_0x1ee61d(0x14f),null),_0xe730d4(this,_0x1ee61d(0x314),null),(this['_cursor']=_0x1e08df,this[_0x1ee61d(0x301)]=_0x2a6a03,this[_0x1ee61d(0x200)]=_0x264c18,this['_document']=_0x5a0b87,this[_0x1ee61d(0xf9)]());}set[_0x568c59(0x219)](_0x32bac7){const _0xc05020=_0x568c59;_0x32bac7?(this[_0xc05020(0x2a0)]&&this['_anchorDot'][_0xc05020(0x92)](),this[_0xc05020(0x1fa)]&&this[_0xc05020(0x1fa)][_0xc05020(0x154)]()):(this['_anchorDot']&&this[_0xc05020(0x2a0)]['show'](),this['_textBubble']&&this[_0xc05020(0x1fa)]['hide']());}[_0x568c59(0x106)](){const _0x1e3af2=_0x568c59;for(const _0x48976c of this['_shapes'])_0x48976c[_0x1e3af2(0x106)]();this[_0x1e3af2(0x1fa)]&&this[_0x1e3af2(0x1fa)][_0x1e3af2(0x106)](),this[_0x1e3af2(0x2a0)]&&this[_0x1e3af2(0x2a0)][_0x1e3af2(0x106)](),this[_0x1e3af2(0x25d)]&&this[_0x1e3af2(0x25d)]['dispose'](),this['_eventUnsubscribe']&&this[_0x1e3af2(0x314)]();}[_0x568c59(0xf9)](){const _0x5ca834=_0x568c59;var _0x467ca4;const {_docSkeleton:_0x1789ef,_document:_0x3e8419}=this,{color:_0x24f206,name:_0x3d8bfe,ranges:_0x479082}=this['_cursor'],_0x1132cf=_0x3e8419[_0x5ca834(0x1a1)](),{docsLeft:_0x13d9ba,docsTop:_0x27f99a}=_0x1132cf,_0x4d6ff6=new _0x5f0c77[(_0x5ca834(0x28c))](_0x1132cf,_0x1789ef);for(const {startOffset:_0x14201c,endOffset:_0x3f1aac,rangeType:_0xb9db8f,segmentId:_0x1d20b0,segmentPage:_0x2b3ea0,collapsed:_0x4b1738,isActive:_0x2629aa}of _0x479082){const _0xbb9b19=_0x1789ef['findNodePositionByCharIndex'](_0x14201c,!0x0,_0x1d20b0,_0x2b3ea0);let _0x2eb71d=_0x1789ef['findNodePositionByCharIndex'](_0x3f1aac,!0x0,_0x1d20b0,_0x2b3ea0);if(_0x2eb71d==null&&(_0x2eb71d=_0x1789ef['findNodePositionByCharIndex'](_0x3f1aac-0x1,!0x1,_0x1d20b0,_0x2b3ea0)),_0x2629aa){const {contentBoxPointGroup:_0x357b46}=_0x4d6ff6[_0x5ca834(0x35d)](_0x2eb71d,_0x2eb71d);if(_0x357b46[_0x5ca834(0x261)]===0x0)continue;this[_0x5ca834(0x2dc)](_0x24f206,_0x357b46,_0x13d9ba,_0x27f99a,_0x3d8bfe),this[_0x5ca834(0x314)]=this['_handleHover']();}if(_0xbb9b19&&_0x2eb71d){if(_0xb9db8f===_0x4b176f[_0x5ca834(0xca)][_0x5ca834(0xb1)]){const _0x4c24a2=new _0x5f0c77[(_0x5ca834(0x2a1))](_0x1132cf,_0x1789ef),{pointGroup:_0x5948be}=(_0x467ca4=_0x4c24a2[_0x5ca834(0x35d)](_0xbb9b19,_0x2eb71d))!=null?_0x467ca4:{};if(_0x5948be==null||_0x5948be[_0x5ca834(0x261)]===0x0)continue;this[_0x5ca834(0x15f)](_0x24f206,_0x5948be,_0x13d9ba,_0x27f99a);}else{if(!_0x4b1738){const {borderBoxPointGroup:_0x48d85d}=_0x4d6ff6[_0x5ca834(0x35d)](_0xbb9b19,_0x2eb71d);if(_0x48d85d[_0x5ca834(0x261)]===0x0)continue;this[_0x5ca834(0x1b0)](_0x24f206,_0x48d85d,_0x13d9ba,_0x27f99a);}}}}}[_0x568c59(0x2dc)](_0x5ba58c,_0x184b93,_0x532d82,_0x4c2b65,_0x418499){const _0xa5e435=_0x568c59,_0x168ab8=this[_0xa5e435(0x121)](_0x184b93),{left:_0x2e4ab5,top:_0x59334a,height:_0x2cedc6}=_0x168ab8,_0x4bee49=this[_0xa5e435(0x2be)](),_0x1defe2=_0x5c6dee/_0x4bee49,_0x58d0f7=new _0x517da6[(_0xa5e435(0x317))](_0x4e9940+_0x4b176f[_0xa5e435(0x22e)](_0x43bf1e),{'left':_0x2e4ab5+_0x532d82-_0x1defe2,'top':_0x59334a+_0x4c2b65,'height':_0x2cedc6,'width':_0x3c9181,'fill':_0x5ba58c||_0x517da6['getColor'](_0x4b176f[_0xa5e435(0xae)][_0xa5e435(0x246)],0x0),'strokeWidth':_0x1defe2,'stroke':_0x2032f6,'evented':!0x0});this[_0xa5e435(0x25d)]=_0x58d0f7,this[_0xa5e435(0x301)][_0xa5e435(0x102)](_0x58d0f7,_0x5f0c77['TEXT_RANGE_LAYER_INDEX']);const _0x4d18a8=new _0x517da6[(_0xa5e435(0x317))](_0x4e9940+_0x4b176f[_0xa5e435(0x22e)](_0x43bf1e),{'left':_0x2e4ab5+_0x532d82-_0x1defe2,'top':_0x59334a+_0x4c2b65-_0x803823/0x2,'height':_0x803823,'width':_0x803823,'fill':_0x5ba58c||_0x517da6['getColor'](_0x4b176f[_0xa5e435(0xae)][_0xa5e435(0x246)],0x0),'strokeWidth':0x0,'stroke':_0x5ba58c||_0x517da6[_0xa5e435(0x15c)](_0x4b176f['COLORS'][_0xa5e435(0x246)],0x0),'evented':!0x1});this[_0xa5e435(0x2a0)]=_0x4d18a8,this[_0xa5e435(0x301)][_0xa5e435(0x102)](_0x4d18a8,_0x5f0c77[_0xa5e435(0xa0)]);const _0x533f8a=new _0x1a0ab3(_0x4e9940+_0x4b176f[_0xa5e435(0x22e)](_0x43bf1e),{'left':_0x2e4ab5+_0x532d82-_0x1defe2,'top':_0x59334a+_0x4c2b65-_0x21a6a9,'text':_0x418499,'color':_0x5ba58c});this['_textBubble']=_0x533f8a,this[_0xa5e435(0x301)]['addObject'](_0x533f8a,_0x5f0c77[_0xa5e435(0xa0)]),this[_0xa5e435(0x219)]=!0x1;}[_0x568c59(0x133)](){const _0x468009=_0x568c59,_0x571e41=this[_0x468009(0x25d)][_0x468009(0x9f)][_0x468009(0x318)](()=>{const _0x38f37d=_0x468009;this[_0x38f37d(0x219)]=!0x0;}),_0xf4c749=this[_0x468009(0x25d)][_0x468009(0xb4)]['subscribeEvent'](()=>{const _0x10b5b3=_0x468009;this['_hideTimer']&&clearTimeout(this[_0x10b5b3(0x14f)]),this[_0x10b5b3(0x14f)]=setTimeout(()=>{const _0x4bab3b=_0x10b5b3;this[_0x4bab3b(0x219)]=!0x1;},0x7d0);});return()=>{_0x571e41['unsubscribe'](),_0xf4c749['unsubscribe']();};}[_0x568c59(0x1b0)](_0x5cdd72,_0x3f6c32,_0x46e403,_0x4797cc){const _0x3c7abf=_0x568c59,_0x135f59=new _0x4b176f['ColorKit'](_0x5cdd72)[_0x3c7abf(0xf3)](0.2)[_0x3c7abf(0x1ed)](),_0x422cf1=new _0x517da6[(_0x3c7abf(0x281))](_0x2c0825+_0x4b176f[_0x3c7abf(0x22e)](_0x43bf1e),{'pointsGroup':_0x3f6c32,'fill':_0x135f59||_0x517da6[_0x3c7abf(0x15c)](_0x4b176f[_0x3c7abf(0xae)][_0x3c7abf(0x246)],0.2),'left':_0x46e403,'top':_0x4797cc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c7abf(0x2e8)][_0x3c7abf(0x1cc)](_0x422cf1),this[_0x3c7abf(0x301)]['addObject'](_0x422cf1,_0x5f0c77[_0x3c7abf(0xa0)]);}[_0x568c59(0x15f)](_0x59f840,_0x26384e,_0x435584,_0x44b69d){const _0x3d057c=_0x568c59,_0x3fe02c=new _0x4b176f[(_0x3d057c(0x292))](_0x59f840)[_0x3d057c(0xf3)](0.2)[_0x3d057c(0x1ed)](),_0xddf071=new _0x517da6[(_0x3d057c(0x281))](_0x11e65f+_0x4b176f['generateRandomId'](_0x43bf1e),{'pointsGroup':_0x26384e,'fill':_0x3fe02c||_0x517da6['getColor'](_0x4b176f[_0x3d057c(0xae)]['black'],0.2),'left':_0x435584,'top':_0x44b69d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3d057c(0x1cc)](_0xddf071),this[_0x3d057c(0x301)][_0x3d057c(0x102)](_0xddf071,_0x5f0c77[_0x3d057c(0xa0)]);}[_0x568c59(0x121)](_0x41a536){const _0x3376e1=_0x41a536[0x0],_0x3ca364=_0x3376e1[0x0],_0x4b8cc1=_0x3376e1[0x2],{x:_0xadd302,y:_0x237372}=_0x3ca364,{x:_0x487d0f,y:_0xe00c11}=_0x4b8cc1;return{'left':_0xadd302,'top':_0x237372,'width':_0x487d0f-_0xadd302,'height':_0xe00c11-_0x237372};}[_0x568c59(0x2be)](){const _0x4da505=_0x568c59,{scaleX:_0x40f3ca,scaleY:_0x4dee50}=this['_scene'][_0x4da505(0xe3)]();return Math[_0x4da505(0x12e)](_0x40f3ca,_0x4dee50);}}var _0x19d6a8=Object[_0x568c59(0xf5)],_0x5ac40a=(_0x2a9660,_0x1932b0,_0x2e58a5,_0x5a2bff)=>{for(var _0x336ecb=_0x5a2bff>0x1?void 0x0:_0x5a2bff?_0x19d6a8(_0x1932b0,_0x2e58a5):_0x1932b0,_0x466643=_0x2a9660['length']-0x1,_0x313009;_0x466643>=0x0;_0x466643--)(_0x313009=_0x2a9660[_0x466643])&&(_0x336ecb=_0x313009(_0x336ecb)||_0x336ecb);return _0x336ecb;},_0x4b8ca1=(_0x2c63ef,_0x3044a0)=>(_0x30b68f,_0x296753)=>_0x3044a0(_0x30b68f,_0x296753,_0x2c63ef);let _0x578f3e=class extends _0x4b176f['RxDisposable']{constructor(_0x5476cc,_0x3b0f9b,_0x3a70b7,_0x416471,_0x20dda3){const _0x1fbe36=_0x568c59;super(),_0xe730d4(this,_0x1fbe36(0xb9),[]),_0xe730d4(this,_0x1fbe36(0x197),[]),(this[_0x1fbe36(0x2f2)]=_0x5476cc,this[_0x1fbe36(0x10f)]=_0x3b0f9b,this['_collabCursorController']=_0x3a70b7,this[_0x1fbe36(0x115)]=_0x416471,this['_themeService']=_0x20dda3,this[_0x1fbe36(0x129)]());}[_0x568c59(0x129)](){const _0x51c32a=_0x568c59,_0x2d39bd=this[_0x51c32a(0x2f2)][_0x51c32a(0x13a)],_0x3a7cb3=this[_0x51c32a(0x10f)];this[_0x51c32a(0x354)](_0x2d9524['combineLatest']([this[_0x51c32a(0x34d)][_0x51c32a(0x1fb)](_0x2d39bd),this[_0x51c32a(0x2a7)][_0x51c32a(0x2cf)]])[_0x51c32a(0x175)](_0x11f65e[_0x51c32a(0x27b)](([_0x50d772,_0x32d235])=>({'skeleton':_0x3a7cb3['getSkeleton'](),'cursors':[..._0x50d772[_0x51c32a(0x373)]()][_0x51c32a(0x23c)](_0x41472b=>({..._0x41472b,'color':this['_themeService'][_0x51c32a(0x325)](_0x41472b[_0x51c32a(0x135)])}))})))[_0x51c32a(0xe7)](_0x466482=>{const _0x415a07=_0x51c32a;if(this['_removeCollabCursors'](),_0x466482){const {skeleton:_0x381120,cursors:_0x52116c}=_0x466482;this[_0x415a07(0x29c)](_0x381120,_0x52116c);}})),this['_initResize'](),this[_0x51c32a(0x274)]();}['_updateCollabCursors'](_0x209378,_0x39aaf7){const _0x5a7f33=_0x568c59,{scene:_0x1cd50d,mainComponent:_0x4be5c}=this[_0x5a7f33(0x2f2)],_0x31ad0b=_0x39aaf7[_0x5a7f33(0x27b)](_0x2f8b0c=>new _0x4a4828(_0x2f8b0c,_0x1cd50d,_0x209378,_0x4be5c));this[_0x5a7f33(0xb9)]=_0x31ad0b,this[_0x5a7f33(0x197)]=_0x39aaf7;}[_0x568c59(0x19b)](){const _0x22b28a=_0x568c59;this[_0x22b28a(0x283)]();const {scene:_0x10bb61,mainComponent:_0x4afb7c}=this[_0x22b28a(0x2f2)],_0x486951=this[_0x22b28a(0x10f)]['getSkeleton'](),_0x301b36=this[_0x22b28a(0x197)][_0x22b28a(0x27b)](_0x1fa623=>new _0x4a4828(_0x1fa623,_0x10bb61,_0x486951,_0x4afb7c));this[_0x22b28a(0xb9)]=_0x301b36;}[_0x568c59(0x283)](){const _0x5c3dd2=_0x568c59;this['_cursorShapes']['forEach'](_0xfb101c=>_0xfb101c['dispose']()),this[_0x5c3dd2(0xb9)]=[];}['_initCommandExecutedListener'](){const _0x41983d=_0x568c59,_0x5b6564=[_0x5f0c77[_0x41983d(0x319)]['id']];this[_0x41983d(0x354)](this[_0x41983d(0x115)][_0x41983d(0xe9)](_0x47ac55=>{const _0x3bccaa=_0x41983d;_0x5b6564[_0x3bccaa(0x293)](_0x47ac55['id'])&&_0x47ac55[_0x3bccaa(0x2c3)]['unitId']===this[_0x3bccaa(0x2f2)][_0x3bccaa(0x13a)]&&this[_0x3bccaa(0x19b)]();}));}[_0x568c59(0x8e)](){const _0x32616c=_0x568c59;this[_0x32616c(0x354)](_0x4b176f['fromEventSubject'](this['_context'][_0x32616c(0x332)]['onTransformChange$'])[_0x32616c(0x175)](_0x11f65e['filter'](_0x35afb6=>_0x35afb6[_0x32616c(0x350)]===_0x517da6[_0x32616c(0x352)][_0x32616c(0x2ea)]),_0x11f65e['throttleTime'](0x10))[_0x32616c(0xe7)](()=>{const _0x53b12a=_0x32616c;this[_0x53b12a(0x19b)]();}));}};_0x578f3e=_0x5ac40a([_0x4b8ca1(0x1,_0x4b176f['Inject'](_0xb532ca[_0x568c59(0x28d)])),_0x4b8ca1(0x2,_0x4b176f[_0x568c59(0x36e)](_0x53db82)),_0x4b8ca1(0x3,_0x4b176f[_0x568c59(0x32b)]),_0x4b8ca1(0x4,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x223)]))],_0x578f3e);const _0x82d777=0x1,_0xa9e60e=1.5;class _0x2b40de extends _0x517da6[_0x568c59(0x1ad)]{constructor(_0x52d6b7,_0x161416){const _0x5981cf=_0x568c59;super(_0x52d6b7,_0x161416),_0xe730d4(this,'_color'),_0xe730d4(this,_0x5981cf(0x196),!0x1),_0xe730d4(this,_0x5981cf(0x20e)),_0xe730d4(this,_0x5981cf(0x248),''),_0xe730d4(this,_0x5981cf(0x198),_0x5981cf(0x311)),_0xe730d4(this,_0x5981cf(0x14b)),(_0x161416&&this['setShapeProps'](_0x161416),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x5981cf(0x32d)]({'hovered':!0x0})),this[_0x5981cf(0xb4)][_0x5981cf(0x318)](()=>this[_0x5981cf(0x32d)]({'hovered':!0x1})));}[_0x568c59(0x32d)](_0x31ca64){const _0x54efb0=_0x568c59;var _0x13cca5,_0x35327e,_0x5f2e36,_0x5ac359,_0x35e001,_0x5a1c02;this[_0x54efb0(0x34b)]=(_0x13cca5=_0x31ca64['color'])!=null?_0x13cca5:this['_color'],this['_hovered']=(_0x35327e=_0x31ca64[_0x54efb0(0x279)])!=null?_0x35327e:this[_0x54efb0(0x196)],this['_range']=(_0x5f2e36=_0x31ca64[_0x54efb0(0x209)])!=null?_0x5f2e36:this[_0x54efb0(0x20e)],this['_name']=(_0x5ac359=_0x31ca64[_0x54efb0(0x111)])!=null?_0x5ac359:this[_0x54efb0(0x248)],this[_0x54efb0(0x198)]=(_0x35e001=_0x31ca64[_0x54efb0(0x21a)])!=null?_0x35e001:this[_0x54efb0(0x198)],this[_0x54efb0(0x14b)]=(_0x5a1c02=_0x31ca64[_0x54efb0(0xbf)])!=null?_0x5a1c02:this[_0x54efb0(0x14b)],this[_0x54efb0(0x320)]({'width':_0x31ca64['width'],'height':_0x31ca64['height']});}[_0x568c59(0x31d)](_0x2b14e5){const _0x54ff90=_0x568c59,{row:_0x45bb9e,column:_0x212095}=_0x2b14e5;if(_0x45bb9e>=this[_0x54ff90(0x20e)]['startRow']&&_0x45bb9e<=this['_range'][_0x54ff90(0x126)]&&_0x212095>=this[_0x54ff90(0x20e)][_0x54ff90(0x13d)]&&_0x212095<=this[_0x54ff90(0x20e)][_0x54ff90(0xe6)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x54ff90(0x32d)]({'hovered':!0x1});}['triggerDblclick'](_0x2b1ed4){return!0x1;}[_0x568c59(0x32e)](_0x293359){const _0x5c36bc=_0x568c59;_0x517da6[_0x5c36bc(0x317)][_0x5c36bc(0x1f0)](_0x293359,{'width':this[_0x5c36bc(0x2f5)],'height':this['height'],'strokeWidth':_0xa9e60e,'stroke':this[_0x5c36bc(0x34b)],'evented':!0x1,'fill':this[_0x5c36bc(0x14b)]}),this['_hovered']&&(_0x293359[_0x5c36bc(0xdf)](),_0x293359[_0x5c36bc(0x30e)](0x1,0x0,0x0,0x1,this[_0x5c36bc(0x2f5)],this['_labelPosition']===_0x5c36bc(0x12d)?0x0:-_0x21a6a9),_0x1a0ab3[_0x5c36bc(0x1f0)](_0x293359,{'text':this[_0x5c36bc(0x248)],'color':this['_color']}),_0x293359[_0x5c36bc(0x24d)]());}}var _0x42b3d=Object['getOwnPropertyDescriptor'],_0x29b0df=(_0x4b012b,_0x444fbf,_0x41b040,_0x5584f3)=>{const _0x1832f0=_0x568c59;for(var _0x100be8=_0x5584f3>0x1?void 0x0:_0x5584f3?_0x42b3d(_0x444fbf,_0x41b040):_0x444fbf,_0x387936=_0x4b012b[_0x1832f0(0x261)]-0x1,_0x4c588a;_0x387936>=0x0;_0x387936--)(_0x4c588a=_0x4b012b[_0x387936])&&(_0x100be8=_0x4c588a(_0x100be8)||_0x100be8);return _0x100be8;},_0x7e96e1=(_0x5380,_0x1cc556)=>(_0x589fa8,_0x2a3ead)=>_0x1cc556(_0x589fa8,_0x2a3ead,_0x5380);const _0x45cea3=0x1389;let _0x4f696d=class extends _0x4b176f[_0x568c59(0x1ce)]{constructor(_0x25ef35,_0x1a01f1,_0xf1ee7d,_0x37b76f){const _0x4bdd=_0x568c59;super(),_0xe730d4(this,_0x4bdd(0x197),new Set()),_0xe730d4(this,_0x4bdd(0x1ef),null),(this['_context']=_0x25ef35,this[_0x4bdd(0x334)]=_0x1a01f1,this['_collabCursorController']=_0xf1ee7d,this[_0x4bdd(0x2a7)]=_0x37b76f,this['_init']());}[_0x568c59(0x129)](){const _0x2c5d66=_0x568c59;this[_0x2c5d66(0x334)][_0x2c5d66(0x18e)][_0x2c5d66(0x175)](_0x11f65e[_0x2c5d66(0x360)](this[_0x2c5d66(0x2c9)]),_0x11f65e[_0x2c5d66(0x14d)](_0x2f1350=>{const _0x399ca5=_0x2c5d66;if(_0x2f1350){const _0x154c07=_0x2f1350[_0x399ca5(0x353)];return _0x2d9524['combineLatest'](this[_0x399ca5(0x34d)][_0x399ca5(0x1fb)](this[_0x399ca5(0x2f2)][_0x399ca5(0x13a)]),this['_themeService'][_0x399ca5(0x2cf)])['pipe'](_0x11f65e[_0x399ca5(0x27b)](([_0x5402a3,_0x2ebe09])=>{const _0x56130b=_0x399ca5,_0x536e18=new Map();return _0x5402a3[_0x56130b(0x15e)]((_0xc571b5,_0x5bd700)=>{const _0x4ed3f2=_0x56130b;if(_0xc571b5[_0x4ed3f2(0x1e2)]===_0x154c07){const _0x422873={..._0xc571b5};_0x422873[_0x4ed3f2(0x135)]=this['_themeService'][_0x4ed3f2(0x325)](_0xc571b5[_0x4ed3f2(0x135)]),_0x536e18[_0x4ed3f2(0xd2)](_0x5bd700,_0x422873);}}),{'skeleton':_0x2f1350,'cursors':_0x536e18};}));}return _0x2d9524['of']({'skeleton':null,'cursors':new Map()});}))[_0x2c5d66(0xe7)](({skeleton:_0x1e9cd1,cursors:_0x1c23da})=>{const _0x52a66c=_0x2c5d66;this['_removeCollabCursors'](),_0x1e9cd1&&this[_0x52a66c(0x29c)](_0x1e9cd1,_0x1c23da);}),this['_sheetSkeletonManagerService'][_0x2c5d66(0x18e)][_0x2c5d66(0xe7)](_0x1a42b7=>{const _0x5418cc=_0x2c5d66;if(_0x1a42b7==null)return;const {skeleton:_0x31488a}=_0x1a42b7,{scene:_0x2404d7}=this[_0x5418cc(0x2f2)];_0x2404d7[_0x5418cc(0x2da)][_0x5418cc(0x318)](_0x4b176f[_0x5418cc(0x208)](_0x3d3831=>{const _0xae0b8c=_0x5418cc;var _0x5634bf,_0x4ee74a;const {offsetX:_0x1c0faa,offsetY:_0x249a82}=_0x3d3831,{x:_0x1f77ee,y:_0x130572}=_0x2404d7[_0xae0b8c(0x1c9)](_0x517da6[_0xae0b8c(0x168)][_0xae0b8c(0x36a)]([_0x1c0faa,_0x249a82])),{scaleX:_0x4a468a,scaleY:_0x2078ba}=_0x2404d7[_0xae0b8c(0xe3)](),_0x21608b=_0x2404d7[_0xae0b8c(0x260)](_0x517da6[_0xae0b8c(0xbc)]['VIEW_MAIN']),_0x49a04a=_0x2404d7[_0xae0b8c(0x122)](_0x517da6[_0xae0b8c(0x168)]['FromArray']([_0x1f77ee,_0x130572]),_0x21608b),_0x57d07d=_0x31488a['getCellPositionByOffset'](_0x1c0faa,_0x249a82,_0x4a468a,_0x2078ba,_0x49a04a);((_0x5634bf=this[_0xae0b8c(0x1ef)])==null?void 0x0:_0x5634bf[_0xae0b8c(0x2eb)])===_0x57d07d['column']&&((_0x4ee74a=this[_0xae0b8c(0x1ef)])==null?void 0x0:_0x4ee74a[_0xae0b8c(0x10e)])===_0x57d07d[_0xae0b8c(0x10e)]||this[_0xae0b8c(0x197)][_0xae0b8c(0x15e)](_0x2030b9=>{const _0xf8203a=_0xae0b8c;_0x2030b9[_0xf8203a(0x31d)](_0x57d07d);});},0x64));});}[_0x568c59(0x29c)](_0x499ba9,_0x4b801f){const _0x57db35=_0x568c59;var _0x22bf98;const _0x1e2178=(_0x22bf98=this[_0x57db35(0x334)][_0x57db35(0x137)]())==null?void 0x0:_0x22bf98[_0x57db35(0x15a)];if(!_0x1e2178)return;const _0x3f8353=this[_0x57db35(0x262)]();if(!_0x3f8353)return;this[_0x57db35(0x197)][_0x57db35(0x15e)](_0x2df5f9=>{const _0x370964=_0x57db35;_0x2df5f9[_0x370964(0x12c)]();});const {scene:_0x5d3493}=_0x3f8353,_0x27b3c9=_0x5b2156(Array[_0x57db35(0xd3)](_0x4b801f[_0x57db35(0x373)]()))[_0x57db35(0x27b)](_0x598536=>{const _0x4cd2e9=_0x57db35,{color:_0xb2545a,range:_0x238343,name:_0x4c5fce,selection:_0x4fd12b,sheetID:_0x57b6ba}=_0x598536,{startColumn:_0x5bd3fa,startRow:_0x2aa605,endColumn:_0xa84623,endRow:_0x59ee31}=_0x238343,_0x440a6f=_0x17a370[_0x4cd2e9(0x1d3)](_0x2aa605,_0x5bd3fa,_0x5d3493,_0x1e2178),_0x2ddaec=_0x17a370['getCoordByCell'](_0x59ee31,_0xa84623,_0x5d3493,_0x1e2178),{columnHeaderHeightAndMarginTop:_0x35f92d}=_0x1e2178,{startX:_0xccbf,startY:_0x5d66c1}=_0x440a6f,{endX:_0x258596,endY:_0x358ea4}=_0x2ddaec,_0x624a90=_0x258596-_0xccbf,_0xbab199=_0x358ea4-_0x5d66c1,_0x548b20={'labelPosition':_0x5d66c1-_0x35f92d>=_0x21a6a9?_0x4cd2e9(0x311):_0x4cd2e9(0x12d),'sheetID':_0x57b6ba,'range':_0x238343,'color':_0xb2545a,'name':_0x4c5fce,'selection':_0x4fd12b,'left':_0xccbf,'top':_0x5d66c1,'width':_0x624a90,'height':_0xbab199,'evented':!0x1,'zIndex':_0x45cea3};return new _0x2b40de(_0x4c5fce,_0x548b20);});_0x5d3493[_0x57db35(0x2fb)](_0x27b3c9,_0x82d777),this[_0x57db35(0x197)]=new Set(_0x27b3c9);}['_removeCollabCursors'](){const _0x11ddeb=_0x568c59;var _0x1415f8;(_0x1415f8=this[_0x11ddeb(0x197)])==null||_0x1415f8[_0x11ddeb(0x15e)](_0x23e15e=>_0x23e15e[_0x11ddeb(0x106)]());}[_0x568c59(0x262)](){const _0x2478e8=_0x568c59;return _0x17a370['getSheetObject'](this[_0x2478e8(0x2f2)][_0x2478e8(0x1ba)],this[_0x2478e8(0x2f2)]);}};_0x4f696d=_0x29b0df([_0x7e96e1(0x1,_0x4b176f['Inject'](_0x17a370['SheetSkeletonManagerService'])),_0x7e96e1(0x2,_0x4b176f[_0x568c59(0x36e)](_0x53db82)),_0x7e96e1(0x3,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x223)]))],_0x4f696d);function _0x5b2156(_0x1aa52b){const _0x5e00d3=_0x568c59,_0x2a7369=new Map();return _0x1aa52b[_0x5e00d3(0x15e)](_0x48db34=>{const _0x115d1a=_0x5e00d3;if(_0x2a7369[_0x115d1a(0x268)](_0x48db34[_0x115d1a(0x13c)])){const _0x52c387=_0x2a7369[_0x115d1a(0x9e)](_0x48db34[_0x115d1a(0x13c)]);_0x52c387[_0x115d1a(0x111)]+=',\x20'+_0x48db34['name'];}else _0x2a7369[_0x115d1a(0xd2)](_0x48db34['selection'],_0x48db34);}),Array[_0x5e00d3(0xd3)](_0x2a7369['values']());}var _0x31250e=Object[_0x568c59(0xf5)],_0x344602=(_0x2b8466,_0x2ec0bf,_0x553ab9,_0xa1b141)=>{const _0x2ed923=_0x568c59;for(var _0x549240=_0xa1b141>0x1?void 0x0:_0xa1b141?_0x31250e(_0x2ec0bf,_0x553ab9):_0x2ec0bf,_0x239d95=_0x2b8466[_0x2ed923(0x261)]-0x1,_0x2b029c;_0x239d95>=0x0;_0x239d95--)(_0x2b029c=_0x2b8466[_0x239d95])&&(_0x549240=_0x2b029c(_0x549240)||_0x549240);return _0x549240;},_0x409624=(_0x3e8468,_0x4234e2)=>(_0x3f2447,_0x27775a)=>_0x4234e2(_0x3f2447,_0x27775a,_0x3e8468);let _0x32db3d=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x22cd61,_0x21666a,_0xa20e8d,_0x31cea6,_0x434412,_0x1e8fcc){const _0xf0fd2f=_0x568c59;super(),this[_0xf0fd2f(0x1da)]=_0x22cd61,this[_0xf0fd2f(0xba)]=_0x21666a,this['_collaborationUIEventService']=_0xa20e8d,this[_0xf0fd2f(0xe1)]=_0x31cea6,this[_0xf0fd2f(0x28a)]=_0x434412,this[_0xf0fd2f(0x234)]=_0x1e8fcc,this[_0xf0fd2f(0xe4)](),this[_0xf0fd2f(0x19e)]();}[_0x568c59(0xe4)](){const _0x3eaf77=_0x568c59;this[_0x3eaf77(0x354)](this[_0x3eaf77(0x1da)][_0x3eaf77(0x1b5)](()=>{const _0x2db9c3=_0x3eaf77;if(this[_0x2db9c3(0xba)][_0x2db9c3(0x8a)]['size'])return this[_0x2db9c3(0x234)]['t']('collaboration.offline-data-not-saved');}));}[_0x568c59(0x19e)](){const _0x3c1535=_0x568c59;this['disposeWithMe'](this['_collaborationUIEventService'][_0x3c1535(0x12a)]['subscribe'](_0xbd4b2f=>{const _0x33c956=_0x3c1535;_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)]['OTHER_CLIENT_EDITING']&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t']('collaboration.single-unit.warning')}),_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)][_0x33c956(0x199)]&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t'](_0x33c956(0x370))}),_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)][_0x33c956(0x19f)]&&this['_notificationService']['show']({'title':this[_0x33c956(0x234)]['t'](_0x33c956(0x2b2)),'content':this['_localeService']['t'](_0x33c956(0x241)),'type':_0x33c956(0x11f),'duration':0x0}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0x2b6)],'content':this['_localeService']['t'](_0x33c956(0x370))+'('+_0xbd4b2f[_0x33c956(0x221)]+')'}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId'][_0x33c956(0x343)]&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t'](_0xbd4b2f[_0x33c956(0x221)]||'')}),_0xbd4b2f['id']===_0x497c74[_0x33c956(0x2b1)][_0x33c956(0x32c)]&&this['_messageService']['show']({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0xf4)],'content':this[_0x33c956(0x234)]['t']('session.will-retry')}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0x2b6)],'content':this[_0x33c956(0x234)]['t'](_0x33c956(0x35c))}),_0xbd4b2f['id']===_0x497c74['CollaborationUIEventId'][_0x33c956(0xc0)]&&this[_0x33c956(0xe1)][_0x33c956(0x154)]({'type':_0x47ae90[_0x33c956(0x142)][_0x33c956(0x2b6)],'content':this[_0x33c956(0x234)]['t'](_0x33c956(0xf6))});}));}};_0x32db3d=_0x344602([_0x409624(0x0,_0x48763f[_0x568c59(0x1c1)]),_0x409624(0x1,_0x497c74[_0x568c59(0x2ce)]),_0x409624(0x2,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x17f)])),_0x409624(0x3,_0x48763f[_0x568c59(0x356)]),_0x409624(0x4,_0x48763f[_0x568c59(0x216)]),_0x409624(0x5,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x94)]))],_0x32db3d);var _0x57136a=Object[_0x568c59(0xf5)],_0x41029f=(_0x49d23d,_0x4e7f94,_0x1abebd,_0x4303a0)=>{for(var _0x16fe17=_0x4303a0>0x1?void 0x0:_0x4303a0?_0x57136a(_0x4e7f94,_0x1abebd):_0x4e7f94,_0xb0b8d7=_0x49d23d['length']-0x1,_0x2d7b7f;_0xb0b8d7>=0x0;_0xb0b8d7--)(_0x2d7b7f=_0x49d23d[_0xb0b8d7])&&(_0x16fe17=_0x2d7b7f(_0x16fe17)||_0x16fe17);return _0x16fe17;},_0x513fe8=(_0x162bde,_0x549b2e)=>(_0xd1d2e1,_0x455563)=>_0x549b2e(_0xd1d2e1,_0x455563,_0x162bde);let _0x16e051=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x5757d9,_0x63253c,_0x1d4793,_0x42a57f){const _0x4e42f0=_0x568c59;super(),_0xe730d4(this,_0x4e42f0(0x31f)),(this['_injector']=_0x5757d9,this[_0x4e42f0(0x228)]=_0x63253c,this[_0x4e42f0(0x31a)]=_0x1d4793,this['_collaborationSessionService']=_0x42a57f,this[_0x4e42f0(0x129)]());}[_0x568c59(0x129)](){const _0x17b95e=_0x568c59;this[_0x17b95e(0x2c5)](),this[_0x17b95e(0x278)](),this[_0x17b95e(0x333)](),this[_0x17b95e(0x273)]();}[_0x568c59(0x273)](){const _0x2d75c9=_0x568c59;this[_0x2d75c9(0x354)](this[_0x2d75c9(0x259)][_0x2d75c9(0x10c)][_0x2d75c9(0xe7)](_0xa7a78f=>{const _0x30beea=_0x2d75c9;this['_memberID']=_0xa7a78f==null?void 0x0:_0xa7a78f[_0x30beea(0xde)];}));}[_0x568c59(0x2c5)](){const _0x406e2e=_0x568c59,_0x540890=_0x70db5b=>{const _0x28574b=_0x34b8;var _0x57c3b7;this['_uploadLog']('error',_0x28574b(0x369)+_0x70db5b['message']+_0x28574b(0x140)+_0x70db5b[_0x28574b(0x2cc)]+':'+_0x70db5b[_0x28574b(0x23d)]+':'+_0x70db5b[_0x28574b(0x185)]+'\x0a'+(((_0x57c3b7=_0x70db5b[_0x28574b(0x11f)])==null?void 0x0:_0x57c3b7[_0x28574b(0x351)])||''));};window[_0x406e2e(0x25b)](_0x406e2e(0x11f),_0x540890),this['disposeWithMe'](()=>{const _0x4708f8=_0x406e2e;window[_0x4708f8(0x1a0)]('error',_0x540890);});}[_0x568c59(0x278)](){const _0x563390=_0x568c59,_0x278260=_0x5c9fab=>{const _0x4330d0=_0x34b8;this[_0x4330d0(0x2ac)]('error',_0x4330d0(0x35a)+_0x5c9fab[_0x4330d0(0x347)]);};window[_0x563390(0x25b)](_0x563390(0x291),_0x278260),this[_0x563390(0x354)](()=>{const _0x4b69bb=_0x563390;window[_0x4b69bb(0x1a0)](_0x4b69bb(0x291),_0x278260);});}[_0x568c59(0x333)](){const _0x26806f=_0x568c59,_0x3f43cd=this[_0x26806f(0x31a)][_0x26806f(0x11f)][_0x26806f(0x2c0)](this[_0x26806f(0x31a)]);this['_logService'][_0x26806f(0x11f)]=(..._0x586f07)=>{const _0x1c06d2=_0x26806f,_0x45c03d=_0x586f07[_0x1c06d2(0x27b)](_0x12af6c=>_0x12af6c instanceof Error?_0x12af6c['message']+'\x0a'+_0x12af6c[_0x1c06d2(0x351)]:String(_0x12af6c))['join']('\x20');this[_0x1c06d2(0x2ac)](_0x1c06d2(0x11f),_0x1c06d2(0x17e)+_0x45c03d),_0x3f43cd(..._0x586f07);},this[_0x26806f(0x354)](()=>{const _0x14962a=_0x26806f;this[_0x14962a(0x31a)][_0x14962a(0x11f)]=_0x3f43cd;});}[_0x568c59(0x2ac)](_0x38c61d,_0x4db42f){const _0x439699=_0x568c59;try{const _0x241aff={'userId':this['_memberID'],'logLabel':_0x38c61d,'content':_0x4db42f};this['_httpService']['post'](_0x439699(0xc1),{'body':_0x241aff})[_0x439699(0x1f1)](()=>{});}catch{}}};_0x16e051=_0x41029f([_0x513fe8(0x0,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x513fe8(0x1,_0x4b176f['Inject'](_0x542501[_0x568c59(0x28f)])),_0x513fe8(0x2,_0x4b176f[_0x568c59(0x344)]),_0x513fe8(0x3,_0x4b176f[_0x568c59(0x36e)](_0x497c74[_0x568c59(0x29f)]))],_0x16e051);const _0x28fa25=_0x568c59(0x2d0),_0x1119c0={};var _0x3d83c2=Object[_0x568c59(0xf5)],_0x1e3963=(_0x30fba6,_0x7149da,_0x4f0b04,_0x492c50)=>{const _0x1cdf6b=_0x568c59;for(var _0x3c6a97=_0x492c50>0x1?void 0x0:_0x492c50?_0x3d83c2(_0x7149da,_0x4f0b04):_0x7149da,_0xf35b72=_0x30fba6[_0x1cdf6b(0x261)]-0x1,_0x595782;_0xf35b72>=0x0;_0xf35b72--)(_0x595782=_0x30fba6[_0xf35b72])&&(_0x3c6a97=_0x595782(_0x3c6a97)||_0x3c6a97);return _0x3c6a97;},_0x511c5a=(_0x33af04,_0xf41059)=>(_0x1b51a0,_0x53b2c6)=>_0xf41059(_0x1b51a0,_0x53b2c6,_0x33af04);let _0x32787b=class{constructor(_0x2341f9,_0x23c0f0){const _0x35bedd=_0x568c59;this[_0x35bedd(0x272)]=_0x2341f9,this[_0x35bedd(0x364)]=_0x23c0f0;}[_0x568c59(0x1ff)](_0x3017cf){const _0x2bfd06=_0x568c59;this['_transformUndoRedoStack'](_0x3017cf),this[_0x2bfd06(0x1d7)](_0x3017cf);}[_0x568c59(0x188)](_0xb1c492){const _0x2e6fb6=_0x568c59,{unitID:_0x4b62d2}=_0xb1c492,_0x442bd5=this['_renderManagerService']['getRenderById'](_0x4b62d2)[_0x2e6fb6(0x34e)](_0x5f0c77[_0x2e6fb6(0xd9)]),{redoCache:_0x454603}=_0x442bd5[_0x2e6fb6(0x159)]();if(_0x454603[_0x2e6fb6(0x261)]===0x0)return _0xb1c492;let _0x1b569f=_0x4b176f[_0x2e6fb6(0x282)]['deepClone'](_0xb1c492[_0x2e6fb6(0x1a9)][0x0]);for(let _0x27b5af=0x0;_0x27b5af<_0x454603[_0x2e6fb6(0x261)];_0x27b5af++){const _0x16ba51={'id':_0x2e6fb6(0x326),'params':{..._0x454603[_0x27b5af]}},_0x131de3=this[_0x2e6fb6(0x272)][_0x2e6fb6(0x1dd)](_0x1b569f,_0x16ba51,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0x131de3))throw _0x131de3[_0x2e6fb6(0x11f)];_0x1b569f=_0x131de3[_0x2e6fb6(0x31b)];}return{..._0x4b176f['Tools'][_0x2e6fb6(0x21f)](_0xb1c492),'mutations':[_0x1b569f]};}[_0x568c59(0x27d)](_0x2cdba7){const _0x178ec9=_0x568c59,{unitID:_0x266e74}=_0x2cdba7,_0x1e45e2=this[_0x178ec9(0x364)][_0x178ec9(0x1be)](_0x266e74)['with'](_0x5f0c77[_0x178ec9(0xd9)]),{undoCache:_0x11ea97,redoCache:_0x19c30c}=_0x1e45e2[_0x178ec9(0x159)]();if(_0x11ea97[_0x178ec9(0x261)]===0x0||_0x19c30c[_0x178ec9(0x261)]===0x0)return;const _0xfbc98a=[],_0x6d2bfa=[];let _0x3bc736=_0x4b176f[_0x178ec9(0x282)][_0x178ec9(0x21f)](_0x2cdba7[_0x178ec9(0x1a9)][0x0]),_0x1533de=_0x4b176f['Tools'][_0x178ec9(0x21f)](_0x2cdba7[_0x178ec9(0x1a9)][0x0]);for(let _0x4db40c=_0x11ea97[_0x178ec9(0x261)]-0x1;_0x4db40c>=0x0;_0x4db40c--){const _0x4b14c2={'id':'doc.mutation.rich-text-editing','params':{..._0x11ea97[_0x4db40c]}},_0x158adf={'id':'doc.mutation.rich-text-editing','params':{..._0x19c30c[_0x4db40c]}},_0x33d2d9=this[_0x178ec9(0x272)][_0x178ec9(0x1dd)](_0x3bc736,_0x4b14c2,!0x1),_0x39b929=this[_0x178ec9(0x272)]['transformMutation'](_0x1533de,_0x158adf,!0x1);if(_0x2cf75e[_0x178ec9(0x17a)](_0x33d2d9))throw _0x33d2d9['error'];if(_0x2cf75e[_0x178ec9(0x17a)](_0x39b929))throw _0x39b929[_0x178ec9(0x11f)];_0xfbc98a[_0x178ec9(0x8d)](_0x33d2d9[_0x178ec9(0x1d5)][_0x178ec9(0x2c3)]),_0x6d2bfa[_0x178ec9(0x8d)](_0x39b929[_0x178ec9(0x1d5)][_0x178ec9(0x2c3)]),_0x3bc736=_0x33d2d9[_0x178ec9(0x31b)],_0x1533de=_0x39b929[_0x178ec9(0x31b)];}_0x1e45e2[_0x178ec9(0x1bf)]({'undoCache':_0xfbc98a,'redoCache':_0x6d2bfa});}[_0x568c59(0x1d7)](_0x3f574f){const _0x457708=_0x568c59,{unitID:_0x38a70f}=_0x3f574f,_0x553191=this[_0x457708(0x364)][_0x457708(0x1be)](_0x38a70f)[_0x457708(0x34e)](_0x5f0c77['DocIMEInputManagerService']),_0x67b920=_0x553191[_0x457708(0x33d)]();if(_0x67b920==null)return;const _0x3e2b4e=[{'id':_0x457708(0x326),'params':{'unitId':_0x3f574f[_0x457708(0xff)],'actions':null,'textRanges':[_0x67b920]}}],_0x496892=this['_transformService'][_0x457708(0x2e0)](_0x3f574f,_0x3e2b4e);if(!_0x2cf75e[_0x457708(0x156)](_0x496892))throw _0x496892['error'];const _0x14b24c=_0x496892[_0x457708(0x1d5)][0x0][_0x457708(0x2c3)][_0x457708(0x1a4)];Array[_0x457708(0x2f4)](_0x14b24c)&&_0x14b24c['length']&&_0x553191['setActiveRange'](_0x14b24c[0x0]);}};_0x32787b=_0x1e3963([_0x511c5a(0x0,_0x2cf75e[_0x568c59(0x2ef)]),_0x511c5a(0x1,_0x517da6[_0x568c59(0x264)])],_0x32787b);var _0x66e15e=Object['getOwnPropertyDescriptor'],_0x35aef2=(_0x598ebd,_0x478a88,_0x4018be,_0x47b746)=>{const _0x24e29f=_0x568c59;for(var _0x3ca2ea=_0x47b746>0x1?void 0x0:_0x47b746?_0x66e15e(_0x478a88,_0x4018be):_0x478a88,_0x1b1b87=_0x598ebd[_0x24e29f(0x261)]-0x1,_0x9f8f6;_0x1b1b87>=0x0;_0x1b1b87--)(_0x9f8f6=_0x598ebd[_0x1b1b87])&&(_0x3ca2ea=_0x9f8f6(_0x3ca2ea)||_0x3ca2ea);return _0x3ca2ea;},_0x10cdb3=(_0x43377d,_0x1884f9)=>(_0x39984b,_0x2b78b9)=>_0x1884f9(_0x39984b,_0x2b78b9,_0x43377d);let _0x45c595=class{constructor(_0x4ec0b9,_0x584c05,_0x59977d){const _0x317657=_0x568c59;this[_0x317657(0x148)]=_0x4ec0b9,this['_transformService']=_0x584c05,this[_0x317657(0xcd)]=_0x59977d;}['transformStateCache'](_0x286d9f){const _0x4ab5a6=_0x568c59;this[_0x4ab5a6(0x101)](_0x286d9f);}[_0x568c59(0x188)](_0x35f8ad){const _0x549678=_0x568c59,{unitID:_0x22bcd3}=_0x35f8ad,{collaboration:_0xa5fa12}=this[_0x549678(0xcd)][_0x549678(0x2fc)](_0x22bcd3);if(_0xa5fa12[_0x549678(0x261)]===0x0)return _0x35f8ad;let _0x2684d5=_0x4b176f['Tools']['deepClone'](_0x35f8ad[_0x549678(0x1a9)][0x0]);for(let _0x4ffbc9=0x0;_0x4ffbc9<_0xa5fa12['length'];_0x4ffbc9++){const _0x335298={'id':_0x549678(0x326),'params':{'unitId':_0xa5fa12[_0x4ffbc9][_0x549678(0x13a)],..._0xa5fa12[_0x4ffbc9][_0x549678(0x1d0)]}},_0xabd955=this[_0x549678(0x272)]['transformMutation'](_0x2684d5,_0x335298,!0x1);if(_0x2cf75e[_0x549678(0x17a)](_0xabd955))throw _0xabd955[_0x549678(0x11f)];_0x2684d5=_0xabd955['m1Prime'];}return{..._0x4b176f['Tools'][_0x549678(0x21f)](_0x35f8ad),'mutations':[_0x2684d5]};}[_0x568c59(0x101)](_0x458411){const _0x271961=_0x568c59,{unitID:_0x5bda90}=_0x458411,{history:_0x4aceed,collaboration:_0x2e4c29}=this[_0x271961(0xcd)]['getStateCache'](_0x5bda90);if(_0x4aceed[_0x271961(0x261)]===0x0&&_0x2e4c29[_0x271961(0x261)]===0x0)return;const _0x88d731=[],_0x22677e=[];let _0x4a5f4b=_0x4b176f[_0x271961(0x282)][_0x271961(0x21f)](_0x458411['mutations'][0x0]),_0x10c596=_0x4b176f[_0x271961(0x282)][_0x271961(0x21f)](_0x458411['mutations'][0x0]);for(let _0x1b3e2c=_0x4aceed[_0x271961(0x261)]-0x1;_0x1b3e2c>=0x0;_0x1b3e2c--){const _0x381f8f={'id':_0x271961(0x326),'params':{'unitId':_0x4aceed[_0x1b3e2c][_0x271961(0x13a)],..._0x4aceed[_0x1b3e2c][_0x271961(0xb7)]}},_0x4aa288={'id':_0x271961(0x326),'params':{'unitId':_0x4aceed[_0x1b3e2c][_0x271961(0x13a)],..._0x4aceed[_0x1b3e2c]['redoState']}},_0xbea3c=this[_0x271961(0x272)][_0x271961(0x1dd)](_0x4a5f4b,_0x381f8f,!0x1),_0x2b0619=this['_transformService'][_0x271961(0x1dd)](_0x10c596,_0x4aa288,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0xbea3c))throw _0xbea3c[_0x271961(0x11f)];if(_0x2cf75e[_0x271961(0x17a)](_0x2b0619))throw _0x2b0619['error'];_0x88d731[_0x271961(0x8d)]({..._0x4aceed[_0x1b3e2c],'undoState':_0xbea3c[_0x271961(0x1d5)]['params'],'redoState':_0x2b0619[_0x271961(0x1d5)]['params']}),_0x4a5f4b=_0xbea3c[_0x271961(0x31b)],_0x10c596=_0x2b0619['m1Prime'];}_0x4a5f4b=_0x4b176f[_0x271961(0x282)]['deepClone'](_0x458411[_0x271961(0x1a9)][0x0]),_0x10c596=_0x4b176f[_0x271961(0x282)]['deepClone'](_0x458411[_0x271961(0x1a9)][0x0]);for(let _0x3ab5dc=_0x2e4c29[_0x271961(0x261)]-0x1;_0x3ab5dc>=0x0;_0x3ab5dc--){const _0x1fc2aa={'id':_0x271961(0x326),'params':{'unitId':_0x2e4c29[_0x3ab5dc][_0x271961(0x13a)],..._0x2e4c29[_0x3ab5dc][_0x271961(0xb7)]}},_0x29871e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e4c29[_0x3ab5dc][_0x271961(0x13a)],..._0x2e4c29[_0x3ab5dc][_0x271961(0x1d0)]}},_0x2fdb44=this[_0x271961(0x272)][_0x271961(0x1dd)](_0x4a5f4b,_0x1fc2aa,!0x1),_0x45708c=this[_0x271961(0x272)][_0x271961(0x1dd)](_0x10c596,_0x29871e,!0x1);if(_0x2cf75e['isTransformMutationFailure'](_0x2fdb44))throw _0x2fdb44[_0x271961(0x11f)];if(_0x2cf75e[_0x271961(0x17a)](_0x45708c))throw _0x45708c[_0x271961(0x11f)];_0x22677e[_0x271961(0x8d)]({..._0x2e4c29[_0x3ab5dc],'undoState':_0x2fdb44[_0x271961(0x1d5)][_0x271961(0x2c3)],'redoState':_0x45708c[_0x271961(0x1d5)][_0x271961(0x2c3)]}),_0x4a5f4b=_0x2fdb44[_0x271961(0x31b)],_0x10c596=_0x45708c['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x5bda90,{'history':_0x88d731,'collaboration':_0x22677e});}};_0x45c595=_0x35aef2([_0x10cdb3(0x0,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x2b0)])),_0x10cdb3(0x1,_0x2cf75e[_0x568c59(0x2ef)]),_0x10cdb3(0x2,_0x4b176f[_0x568c59(0x36e)](_0x5f0c77[_0x568c59(0x153)]))],_0x45c595);var _0x2b703f=Object['getOwnPropertyDescriptor'],_0x6c757f=(_0x1c93dc,_0x36b644,_0x363dbd,_0x1c9a8f)=>{const _0x54939a=_0x568c59;for(var _0x16c090=_0x1c9a8f>0x1?void 0x0:_0x1c9a8f?_0x2b703f(_0x36b644,_0x363dbd):_0x36b644,_0x55df3f=_0x1c93dc[_0x54939a(0x261)]-0x1,_0x52b270;_0x55df3f>=0x0;_0x55df3f--)(_0x52b270=_0x1c93dc[_0x55df3f])&&(_0x16c090=_0x52b270(_0x16c090)||_0x16c090);return _0x16c090;},_0x1b4705=(_0x48116a,_0x4f631d)=>(_0x63a405,_0x59465c)=>_0x4f631d(_0x63a405,_0x59465c,_0x48116a);let _0x4ac300=class{constructor(_0x2a8f94,_0x28eaf8){const _0x42fc30=_0x568c59;this[_0x42fc30(0x148)]=_0x2a8f94,this[_0x42fc30(0x272)]=_0x28eaf8;}[_0x568c59(0x9c)](_0x5a22c0){const _0x2d4789=_0x568c59;var _0x4fb676;const _0x1db3d0=this[_0x2d4789(0x148)]['get'](_0xb532ca[_0x2d4789(0x1f9)]),_0x4ac941=(_0x4fb676=_0x1db3d0[_0x2d4789(0x192)]())!=null?_0x4fb676:[];if(_0x4ac941[_0x2d4789(0x261)]===0x0)return;const _0x421190=_0x5a22c0['unitID'],_0x456a7d=[{'id':_0x2d4789(0x326),'params':{'unitId':_0x421190,'actions':null,'textRanges':_0x4ac941}}],_0x259606=this[_0x2d4789(0x272)][_0x2d4789(0x2e0)](_0x5a22c0,_0x456a7d);if(!_0x2cf75e[_0x2d4789(0x156)](_0x259606))throw _0x259606['error'];const _0x52b96b=_0x259606[_0x2d4789(0x1d5)][0x0][_0x2d4789(0x2c3)]['textRanges'];Array[_0x2d4789(0x2f4)](_0x52b96b)&&_0x52b96b[_0x2d4789(0x261)]&&_0x1db3d0[_0x2d4789(0x11e)](_0x52b96b,{'unitId':_0x421190,'subUnitId':_0x421190},!0x1);}};_0x4ac300=_0x6c757f([_0x1b4705(0x0,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x1b4705(0x1,_0x2cf75e[_0x568c59(0x2ef)])],_0x4ac300);var _0x3d75dd=Object[_0x568c59(0xf5)],_0x1c45a1=(_0x42f74f,_0xacd1f2,_0x1ee466,_0x4196bc)=>{const _0x6c8c23=_0x568c59;for(var _0x3b2246=_0x4196bc>0x1?void 0x0:_0x4196bc?_0x3d75dd(_0xacd1f2,_0x1ee466):_0xacd1f2,_0x3404b8=_0x42f74f[_0x6c8c23(0x261)]-0x1,_0x587d36;_0x3404b8>=0x0;_0x3404b8--)(_0x587d36=_0x42f74f[_0x3404b8])&&(_0x3b2246=_0x587d36(_0x3b2246)||_0x3b2246);return _0x3b2246;},_0x3c478a=(_0x3511e7,_0x4a21f0)=>(_0x57e6e8,_0x20db5a)=>_0x4a21f0(_0x57e6e8,_0x20db5a,_0x3511e7);let _0x1c4ddb=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x2d6d81,_0x290c85,_0xb5ffe1,_0x48d629,_0x380bee,_0x1824fe,_0x3e0be3,_0x42d866){const _0x428985=_0x568c59;super(),_0xe730d4(this,_0x428985(0x366),new _0x2d9524['BehaviorSubject'](_0x497c74['CollaborationStatus'][_0x428985(0x1fc)])),(this['_docStateChangeManagerService']=_0x2d6d81,this[_0x428985(0x105)]=_0x290c85,this[_0x428985(0x2fe)]=_0xb5ffe1,this['_docTransformStateCacheService']=_0x48d629,this[_0x428985(0x97)]=_0x380bee,this['_docSyncEditingCollabCursorService']=_0x1824fe,this['_messageService']=_0x3e0be3,this[_0x428985(0x234)]=_0x42d866,this[_0x428985(0x1eb)]());}[_0x568c59(0x1eb)](){const _0x196c77=_0x568c59;this[_0x196c77(0x354)](this[_0x196c77(0x105)][_0x196c77(0x2ad)][_0x196c77(0xe7)](_0x267e6f=>{const _0x4732ad=_0x196c77,_0x102230=this[_0x4732ad(0xcd)][_0x4732ad(0x2a6)][_0x4732ad(0xe7)](_0x5749fc=>{const _0x17d1cc=_0x4732ad;if(_0x5749fc==null)return;const {unitId:_0x99d716,redoState:_0x1b2c87,commandId:_0x46a427}=_0x5749fc;if(_0x99d716!==_0x267e6f['unitID'])return;const _0x231f10={'id':_0x46a427,'type':_0x4b176f[_0x17d1cc(0x2e5)][_0x17d1cc(0x164)],'params':{'unitId':_0x99d716,'actions':_0x1b2c87[_0x17d1cc(0x1c8)],'textRanges':null}};_0x267e6f[_0x17d1cc(0x299)](_0x231f10);});if(_0x267e6f[_0x4732ad(0x354)](_0x102230),_0x267e6f instanceof _0x497c74[_0x4732ad(0xc7)]){const _0x587dc6={'onTransformIME':_0x1236e2=>this['_docTransformIMECacheService'][_0x4732ad(0x1ff)](_0x1236e2),'onTransformState':_0x200e11=>this[_0x4732ad(0x1dc)]['transformStateCache'](_0x200e11),'onTransformSelections':_0x2ec78d=>this['_docTransformSelectionsService'][_0x4732ad(0x9c)](_0x2ec78d),'onSyncEditingCollabCursor':_0x164309=>this[_0x4732ad(0x180)]['syncEditingCollabCursor'](_0x164309),'onTransformRemoteChangesetByIMECache':_0x4b88c2=>this[_0x4732ad(0x2fe)][_0x4732ad(0x188)](_0x4b88c2),'onTransformRemoteChangesetByStateCache':_0x534fc6=>this[_0x4732ad(0x1dc)]['transformRemoteChangeset'](_0x534fc6)};_0x267e6f[_0x4732ad(0x1fd)](_0x587dc6);}}));}};_0x1c4ddb=_0x1c45a1([_0x3c478a(0x0,_0x4b176f[_0x568c59(0x36e)](_0x5f0c77[_0x568c59(0x153)])),_0x3c478a(0x1,_0x4b176f['Inject'](_0x497c74[_0x568c59(0x172)])),_0x3c478a(0x2,_0x4b176f[_0x568c59(0x36e)](_0x32787b)),_0x3c478a(0x3,_0x4b176f[_0x568c59(0x36e)](_0x45c595)),_0x3c478a(0x4,_0x4b176f[_0x568c59(0x36e)](_0x4ac300)),_0x3c478a(0x5,_0x4b176f[_0x568c59(0x36e)](_0x510ecb)),_0x3c478a(0x6,_0x48763f[_0x568c59(0x356)]),_0x3c478a(0x7,_0x4b176f[_0x568c59(0x36e)](_0x4b176f['LocaleService']))],_0x1c4ddb);var _0x5502e6=(_0xa98f1=>(_0xa98f1[_0xa98f1['UNDEFINED']=0x0]=_0x568c59(0x227),_0xa98f1[_0xa98f1['OK']=0x1]='OK',_0xa98f1[_0xa98f1[_0x568c59(0x1e6)]=0x2]=_0x568c59(0x1e6),_0xa98f1[_0xa98f1[_0x568c59(0x19f)]=0x3]=_0x568c59(0x19f),_0xa98f1[_0xa98f1['NOT_FOUND']=0x4]=_0x568c59(0x27c),_0xa98f1[_0xa98f1[_0x568c59(0x20a)]=0x5]=_0x568c59(0x20a),_0xa98f1[_0xa98f1[_0x568c59(0x145)]=0x6]=_0x568c59(0x145),_0xa98f1[_0xa98f1[_0x568c59(0xd8)]=0x7]=_0x568c59(0xd8),_0xa98f1[_0xa98f1[_0x568c59(0x99)]=0x8]=_0x568c59(0x99),_0xa98f1[_0xa98f1[_0x568c59(0xb5)]=0x9]=_0x568c59(0xb5),_0xa98f1[_0xa98f1[_0x568c59(0x1c6)]=0xa]='LOGIN_FAILED',_0xa98f1[_0xa98f1[_0x568c59(0x271)]=0xb]=_0x568c59(0x271),_0xa98f1[_0xa98f1[_0x568c59(0x256)]=0xc]=_0x568c59(0x256),_0xa98f1[_0xa98f1[_0x568c59(0x21c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xa98f1[_0xa98f1[_0x568c59(0x339)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xa98f1[_0xa98f1['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0xa98f1[_0xa98f1[_0x568c59(0x36b)]=0x10]=_0x568c59(0x36b),_0xa98f1[_0xa98f1[_0x568c59(0x329)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xa98f1[_0xa98f1['ERROR_AGAIN']=0x65]=_0x568c59(0x128),_0xa98f1[_0xa98f1[_0x568c59(0x17d)]=0xc9]=_0x568c59(0x17d),_0xa98f1[_0xa98f1[_0x568c59(0x327)]=0xca]=_0x568c59(0x327),_0xa98f1[_0xa98f1[_0x568c59(0x2b3)]=0x1389]=_0x568c59(0x2b3),_0xa98f1[_0xa98f1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x568c59(0x93),_0xa98f1[_0xa98f1['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x568c59(0x14e),_0xa98f1[_0xa98f1[_0x568c59(0x35e)]=0x1773]=_0x568c59(0x35e),_0xa98f1[_0xa98f1[_0x568c59(0x1e7)]=0x1b59]=_0x568c59(0x1e7),_0xa98f1[_0xa98f1[_0x568c59(0x95)]=0x1b5a]=_0x568c59(0x95),_0xa98f1[_0xa98f1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x568c59(0x1e5),_0xa98f1[_0xa98f1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x568c59(0x20c),_0xa98f1[_0xa98f1[_0x568c59(0x265)]=0x1b5d]='APPLY_DUPLICATED',_0xa98f1[_0xa98f1[_0x568c59(0x179)]=0x1f41]=_0x568c59(0x179),_0xa98f1[_0xa98f1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xa98f1[_0xa98f1[_0x568c59(0x1ab)]=0x232a]=_0x568c59(0x1ab),_0xa98f1[_0xa98f1[_0x568c59(0x2c8)]=0x232b]=_0x568c59(0x2c8),_0xa98f1[_0xa98f1['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x568c59(0x2ae),_0xa98f1[_0xa98f1['LICENSE_DISTRO_REJECTED']=0x232d]=_0x568c59(0x1cb),_0xa98f1[_0xa98f1[_0x568c59(0x98)]=0x2711]=_0x568c59(0x98),_0xa98f1[_0xa98f1[_0x568c59(0x363)]=0x2712]=_0x568c59(0x363),_0xa98f1[_0xa98f1[_0x568c59(0x36c)]=0x2713]=_0x568c59(0x36c),_0xa98f1[_0xa98f1[_0x568c59(0x340)]=0x2714]=_0x568c59(0x340),_0xa98f1[_0xa98f1[_0x568c59(0x24e)]=0x271a]=_0x568c59(0x24e),_0xa98f1[_0xa98f1[_0x568c59(0x205)]=0x271b]=_0x568c59(0x205),_0xa98f1[_0xa98f1[_0x568c59(0x296)]=0x271c]=_0x568c59(0x296),_0xa98f1[_0xa98f1[_0x568c59(0xf0)]=0x271d]=_0x568c59(0xf0),_0xa98f1[_0xa98f1[_0x568c59(0x19c)]=0x271e]=_0x568c59(0x19c),_0xa98f1[_0xa98f1[_0x568c59(0x143)]=0x271f]=_0x568c59(0x143),_0xa98f1[_0xa98f1[_0x568c59(0x181)]=0x2720]=_0x568c59(0x181),_0xa98f1[_0xa98f1[_0x568c59(0x182)]=0x2af9]=_0x568c59(0x182),_0xa98f1[_0xa98f1[_0x568c59(0x27f)]=0x2ee1]=_0x568c59(0x27f),_0xa98f1[_0xa98f1[_0x568c59(0x232)]=0x2ee2]=_0x568c59(0x232),_0xa98f1[_0xa98f1[_0x568c59(0x203)]=0x2ee3]=_0x568c59(0x203),_0xa98f1[_0xa98f1[_0x568c59(0x177)]=0x2ee4]=_0x568c59(0x177),_0xa98f1[_0xa98f1[_0x568c59(0xb8)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xa98f1[_0xa98f1['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xa98f1[_0xa98f1[_0x568c59(0x30a)]=0x32ca]=_0x568c59(0x30a),_0xa98f1[_0xa98f1[_0x568c59(0x303)]=0x32cb]=_0x568c59(0x303),_0xa98f1[_0xa98f1[_0x568c59(0x108)]=0x36b1]=_0x568c59(0x108),_0xa98f1[_0xa98f1[_0x568c59(0x127)]=0x36b2]=_0x568c59(0x127),_0xa98f1[_0xa98f1[_0x568c59(0x8b)]=0x36b3]=_0x568c59(0x8b),_0xa98f1[_0xa98f1[_0x568c59(0x224)]=0x36b4]=_0x568c59(0x224),_0xa98f1[_0xa98f1[_0x568c59(0x258)]=0x36b5]=_0x568c59(0x258),_0xa98f1[_0xa98f1[_0x568c59(0xd0)]=0x36b6]=_0x568c59(0xd0),_0xa98f1[_0xa98f1[_0x568c59(0x2d7)]=0x36b7]=_0x568c59(0x2d7),_0xa98f1[_0xa98f1[_0x568c59(0x2dd)]=0x36b8]=_0x568c59(0x2dd),_0xa98f1[_0xa98f1[_0x568c59(0x211)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xa98f1[_0xa98f1[_0x568c59(0xd4)]=0x3716]=_0x568c59(0xd4),_0xa98f1[_0xa98f1[_0x568c59(0x34a)]=0x3717]=_0x568c59(0x34a),_0xa98f1[_0xa98f1[_0x568c59(0x2c4)]=0x37dd]=_0x568c59(0x2c4),_0xa98f1[_0xa98f1['REDEMPTION_INVALID_CODE']=0x3a99]=_0x568c59(0x328),_0xa98f1[_0xa98f1['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0xa98f1[_0xa98f1[_0x568c59(0x176)]=0x3a9b]=_0x568c59(0x176),_0xa98f1[_0xa98f1['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x568c59(0x250),_0xa98f1[_0xa98f1[_0x568c59(0x298)]=0x3a9d]=_0x568c59(0x298),_0xa98f1[_0xa98f1[_0x568c59(0xee)]=0x3a9e]=_0x568c59(0xee),_0xa98f1[_0xa98f1[_0x568c59(0x312)]=0x3a9f]=_0x568c59(0x312),_0xa98f1[_0xa98f1[_0x568c59(0xb2)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0xa98f1[_0xa98f1[_0x568c59(0x10d)]=-0x1]='UNRECOGNIZED',_0xa98f1))(_0x5502e6||{});function _0x360e8a(_0x5c498b){const _0x54759b=_0x568c59;var _0x554a31,_0x90bf84;const _0x348a44=(_0x554a31=_0x5c498b['stageInfo'])==null?void 0x0:_0x554a31[_0x54759b(0x24c)],_0x19eaae=((_0x90bf84=_0x5c498b['stageInfo'])==null?void 0x0:_0x90bf84['totalFormulasToCalculate'])||0x0;return _0x348a44===_0x1707bd[_0x54759b(0x33a)][_0x54759b(0x33b)]&&_0x19eaae>0x0;}function _0x83ba07(_0x5a1ce6){const _0x1a981e=_0x568c59;return _0x5a1ce6['functionsExecutedState']===_0x1707bd[_0x1a981e(0x2b5)][_0x1a981e(0x24f)];}var _0x3d1652=Object[_0x568c59(0xf5)],_0x56a47e=(_0x2a64bd,_0xf5909d,_0x3a117f,_0x1b5032)=>{const _0x4b718f=_0x568c59;for(var _0x5e976d=_0x1b5032>0x1?void 0x0:_0x1b5032?_0x3d1652(_0xf5909d,_0x3a117f):_0xf5909d,_0x5e9fae=_0x2a64bd[_0x4b718f(0x261)]-0x1,_0xf36b6a;_0x5e9fae>=0x0;_0x5e9fae--)(_0xf36b6a=_0x2a64bd[_0x5e9fae])&&(_0x5e976d=_0xf36b6a(_0x5e976d)||_0x5e976d);return _0x5e976d;},_0x5ba6c1=(_0x26f5f1,_0x578971)=>(_0x349eb8,_0x56b356)=>_0x578971(_0x349eb8,_0x56b356,_0x26f5f1);const _0x1e85dc='/universer-api/license/formula/limit/status',_0x151764=_0x568c59(0x1df),_0x5d06f3=_0x568c59(0xab);let _0x535a7f=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x34690b,_0x3cfbbb,_0x55eb63,_0x337c6f,_0x23f8c6,_0x835de1,_0x4228f8){const _0x42ee4e=_0x568c59;super(),_0xe730d4(this,_0x42ee4e(0x2e3),null),_0xe730d4(this,_0x42ee4e(0x1f6),0x0),_0xe730d4(this,_0x42ee4e(0x2bd),0x0),_0xe730d4(this,_0x42ee4e(0xc5),[]),_0xe730d4(this,_0x42ee4e(0x204),0x0),(this[_0x42ee4e(0xe1)]=_0x34690b,this[_0x42ee4e(0x115)]=_0x3cfbbb,this['_configService']=_0x55eb63,this['_httpService']=_0x337c6f,this['_univerInstanceService']=_0x23f8c6,this[_0x42ee4e(0x31a)]=_0x835de1,this['_localeService']=_0x4228f8,this[_0x42ee4e(0x1d9)]());}[_0x568c59(0x1d9)](){const _0x28089f=_0x568c59;this[_0x28089f(0x354)](this[_0x28089f(0x115)][_0x28089f(0x163)]((_0x3ac3f0,_0x3fdd15)=>{const _0x52ccd7=_0x28089f;var _0x88b470;if(_0x3ac3f0['id']!==_0x1707bd[_0x52ccd7(0x252)]['id'])return;const _0x3392f6=_0x3ac3f0[_0x52ccd7(0x2c3)];if(!this[_0x52ccd7(0x21e)]((_0x88b470=_0x3392f6[_0x52ccd7(0x238)])!=null?_0x88b470:[]))return;if(!this[_0x52ccd7(0xbe)]())throw this[_0x52ccd7(0x2d4)](_0x3ac3f0,_0x3fdd15),this[_0x52ccd7(0x1c3)](),new _0x4b176f[(_0x52ccd7(0x1fe))]();})),this[_0x28089f(0x354)](this['_commandService'][_0x28089f(0xe9)]((_0x433bfe,_0x4e518e)=>{const _0x340e32=_0x28089f;if(_0x433bfe['id']!==_0x1707bd[_0x340e32(0x2b8)]['id'])return;const _0x1e7207=_0x433bfe[_0x340e32(0x2c3)];if(_0x360e8a(_0x1e7207)){const _0x3d27da=_0x4b176f[_0x340e32(0x22e)]();this['_taskIds'][_0x340e32(0x1cc)](_0x3d27da),this[_0x340e32(0x1e3)](_0x3d27da);}else{if(_0x83ba07(_0x1e7207)&&this[_0x340e32(0xc5)]['length']>0x0){const _0x22a9ff=this['_taskIds'][_0x340e32(0x161)]();this[_0x340e32(0x1b1)](_0x22a9ff);}}}));}[_0x568c59(0x106)](){const _0x80c332=_0x568c59;super[_0x80c332(0x106)](),this['_clearPolling'](),this[_0x80c332(0xc5)]=[],this[_0x80c332(0x2bd)]=0x0,this[_0x80c332(0x1f6)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x475b3d,_0xb4e1c5){const _0xec9b6a=_0x568c59;for(let _0x1f601d=0x0;_0x1f601d<0x1e;_0x1f601d++)try{if(await this[_0xec9b6a(0x321)](),this['_checkCalculationAvailable']()){this[_0xec9b6a(0x230)](_0x475b3d,_0xb4e1c5),this[_0xec9b6a(0xe1)][_0xec9b6a(0x154)]({'content':this[_0xec9b6a(0x234)]['t'](_0xec9b6a(0x24a)),'type':_0x47ae90[_0xec9b6a(0x142)][_0xec9b6a(0x151)]});return;}await new Promise(_0x28076e=>{const _0x1e0a60=_0xec9b6a;this[_0x1e0a60(0x2e3)]=window[_0x1e0a60(0x1de)](_0x28076e,0x3e8);});}catch(_0x54f856){this[_0xec9b6a(0x31a)][_0xec9b6a(0x11f)](_0x54f856);}this['_messageService'][_0xec9b6a(0x154)]({'content':this[_0xec9b6a(0x234)]['t'](_0xec9b6a(0xb6)),'type':_0x47ae90['MessageType'][_0xec9b6a(0x2b6)]});}[_0x568c59(0x230)](_0x1aed52,_0x4a5846){const _0x529e24=_0x568c59;try{this[_0x529e24(0x115)][_0x529e24(0x2ec)](_0x1aed52['id'],_0x1aed52['params'],_0x4a5846);}catch(_0x18be1a){this[_0x529e24(0x31a)][_0x529e24(0x11f)](_0x18be1a);}}[_0x568c59(0x1e1)](_0x5a89b4,_0x38c5c0){const _0x537ee9=_0x568c59;_0x38c5c0<this[_0x537ee9(0x204)]||(this[_0x537ee9(0x204)]=_0x38c5c0,this[_0x537ee9(0x1f6)]=Number[_0x537ee9(0x88)](_0x5a89b4['maxFormulaLimit']),this[_0x537ee9(0x2bd)]=Number[_0x537ee9(0x88)](_0x5a89b4['currentUsage']));}async[_0x568c59(0x1e3)](_0x5d17db){const _0x57bca9=_0x568c59;var _0xb70801,_0x4a431e;const _0x326cbb=Date[_0x57bca9(0x17b)]();try{const _0x58b1bf=((_0xb70801=this[_0x57bca9(0x217)][_0x57bca9(0xd1)](_0x497c74[_0x57bca9(0x212)]))==null?void 0x0:_0xb70801[_0x57bca9(0xf1)])||_0x151764,_0x462d98=(await this['_httpService'][_0x57bca9(0xc9)](_0x58b1bf,{'body':JSON['stringify']({'taskId':_0x5d17db})}))[_0x57bca9(0x16e)];if(((_0x4a431e=_0x462d98[_0x57bca9(0x11f)])==null?void 0x0:_0x4a431e['code'])!==_0x5502e6['OK'])return;this['_setFormulaLimitStatus'](_0x462d98[_0x57bca9(0x257)],_0x326cbb);}catch(_0x5ba2c1){this[_0x57bca9(0x31a)]['error'](_0x5ba2c1);}}async[_0x568c59(0x321)](_0x2c5a8a){const _0x564b2c=_0x568c59;var _0x58af99,_0x3ed634;const _0x571543=Date[_0x564b2c(0x17b)]();try{const _0x2fc9c9=((_0x58af99=this[_0x564b2c(0x217)][_0x564b2c(0xd1)](_0x497c74[_0x564b2c(0x212)]))==null?void 0x0:_0x58af99[_0x564b2c(0x357)])||_0x1e85dc,_0x2020cc=_0x2c5a8a?_0x2fc9c9+_0x564b2c(0x11d)+encodeURIComponent(_0x2c5a8a):_0x2fc9c9,_0x1077a4=(await this['_httpService'][_0x564b2c(0x9e)](_0x2020cc))[_0x564b2c(0x16e)];if(((_0x3ed634=_0x1077a4['error'])==null?void 0x0:_0x3ed634['code'])!==_0x5502e6['OK'])return;this['_setFormulaLimitStatus'](_0x1077a4[_0x564b2c(0x257)],_0x571543);}catch(_0x3251ac){this[_0x564b2c(0x31a)]['error'](_0x3251ac);}}async[_0x568c59(0x1b1)](_0xfaa52c){const _0x6d4567=_0x568c59;var _0x4ba6df,_0x5c189c;const _0x10e1c1=Date[_0x6d4567(0x17b)]();try{const _0xfe9b95=((_0x4ba6df=this[_0x6d4567(0x217)][_0x6d4567(0xd1)](_0x497c74[_0x6d4567(0x212)]))==null?void 0x0:_0x4ba6df['releaseFormulaLimitUrl'])||_0x5d06f3,_0x58ac33=(await this[_0x6d4567(0x228)][_0x6d4567(0xc9)](_0xfe9b95,{'body':JSON['stringify']({'taskId':_0xfaa52c})}))[_0x6d4567(0x16e)];if(((_0x5c189c=_0x58ac33[_0x6d4567(0x11f)])==null?void 0x0:_0x5c189c[_0x6d4567(0x2d6)])!==_0x5502e6['OK'])return;this[_0x6d4567(0x1e1)](_0x58ac33[_0x6d4567(0x257)],_0x10e1c1);}catch(_0x2f23aa){this[_0x6d4567(0x31a)]['error'](_0x2f23aa);}}[_0x568c59(0xbe)](){return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}[_0x568c59(0x30d)](){const _0x559fd5=_0x568c59;this[_0x559fd5(0x2e3)]&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}[_0x568c59(0x1c3)](){const _0x31824d=_0x568c59;this[_0x31824d(0xe1)][_0x31824d(0x154)]({'content':this[_0x31824d(0x234)]['t']('formula.calculation.waiting'),'type':_0x47ae90['MessageType']['Loading']});}[_0x568c59(0x21e)](_0x29b4b7){const _0x510daf=_0x568c59;for(const _0x40777a of _0x29b4b7){const {unitId:_0x269859,sheetId:_0x5227a8,range:_0x4808d9}=_0x40777a,_0x10bdce=this[_0x510daf(0xbb)]['getUnit'](_0x269859);if(!_0x10bdce)continue;const _0x43f986=_0x10bdce['getSheetBySheetId'](_0x5227a8);if(!_0x43f986)continue;const _0x153a86=_0x43f986[_0x510daf(0x2f8)]();for(let _0x1a077c=_0x4808d9[_0x510daf(0x29e)];_0x1a077c<=_0x4808d9['endRow'];_0x1a077c++)for(let _0x6a372b=_0x4808d9[_0x510daf(0x13d)];_0x6a372b<=_0x4808d9[_0x510daf(0xe6)];_0x6a372b++){const _0x14719b=_0x153a86[_0x510daf(0xce)](_0x1a077c,_0x6a372b);if(_0x14719b&&(_0x4b176f[_0x510daf(0x2df)](_0x14719b['f'])||_0x4b176f[_0x510daf(0xb0)](_0x14719b['si'])))return!0x0;}}return!0x1;}};_0x535a7f=_0x56a47e([_0x5ba6c1(0x0,_0x4b176f[_0x568c59(0x36e)](_0x48763f[_0x568c59(0x356)])),_0x5ba6c1(0x1,_0x4b176f[_0x568c59(0x32b)]),_0x5ba6c1(0x2,_0x4b176f['IConfigService']),_0x5ba6c1(0x3,_0x4b176f[_0x568c59(0x36e)](_0x542501[_0x568c59(0x28f)])),_0x5ba6c1(0x4,_0x4b176f['IUniverInstanceService']),_0x5ba6c1(0x5,_0x4b176f['ILogService']),_0x5ba6c1(0x6,_0x4b176f[_0x568c59(0x36e)](_0x4b176f['LocaleService']))],_0x535a7f);var _0x5237a6=Object[_0x568c59(0xf5)],_0x2c1815=(_0x48cf4c,_0x47d574,_0x32e2c0,_0x1a67c1)=>{for(var _0x9d1836=_0x1a67c1>0x1?void 0x0:_0x1a67c1?_0x5237a6(_0x47d574,_0x32e2c0):_0x47d574,_0x315271=_0x48cf4c['length']-0x1,_0x2d7c95;_0x315271>=0x0;_0x315271--)(_0x2d7c95=_0x48cf4c[_0x315271])&&(_0x9d1836=_0x2d7c95(_0x9d1836)||_0x9d1836);return _0x9d1836;},_0x5b86ae=(_0x1ab50f,_0xb53619)=>(_0x5206f9,_0x11af16)=>_0xb53619(_0x5206f9,_0x11af16,_0x1ab50f);let _0x3d07bb=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x464f41,_0x5ae807,_0x56a0ac){const _0x14c145=_0x568c59;super(),_0xe730d4(this,'_cachedData',new Map()),_0xe730d4(this,_0x14c145(0x26e),new Map()),_0xe730d4(this,'_disabled',!0x1),(this['_configService']=_0x464f41,this[_0x14c145(0x310)]=_0x5ae807,this[_0x14c145(0x120)]=_0x56a0ac);}[_0x568c59(0x335)](){const _0x1417f2=_0x568c59;this[_0x1417f2(0xbd)]=!0x0;}[_0x568c59(0x17c)](){const _0x41c9b6=_0x568c59;this[_0x41c9b6(0xbd)]=!0x1;}get[_0x568c59(0x8a)](){const _0xc8885c=_0x568c59;return this[_0xc8885c(0x26e)];}['dispose'](){const _0x302faa=_0x568c59;this[_0x302faa(0x28e)]()[_0x302faa(0x2c6)](()=>super[_0x302faa(0x106)]());}async[_0x568c59(0xdc)](_0x57e58e){const _0x4fcf1e=_0x568c59;return this['_disabled']?null:this[_0x4fcf1e(0x310)][_0x4fcf1e(0x288)](_0x497c74[_0x4fcf1e(0x186)](_0x57e58e));}async['saveOfflineData'](_0x12214b,_0x5ddef2){const _0x3b9c95=_0x568c59;return!!this['_localStorageService'][_0x3b9c95(0x239)](_0x12214b,_0x5ddef2);}[_0x568c59(0x220)](_0x53fdc1,_0x19d0b3,_0x50bfa6,_0x22440a){const _0x563d05=_0x568c59,_0x50a355=this[_0x563d05(0x120)]['getCurrentRevOfUnit'](_0x53fdc1);this[_0x563d05(0x1bb)]['set'](_0x53fdc1,{'unitID':_0x53fdc1,'type':_0x19d0b3,'awaitingChangeset':_0x50bfa6,'mutations':_0x22440a,'rev':_0x50a355}),this[_0x563d05(0x26e)][_0x563d05(0x268)](_0x53fdc1)||this[_0x563d05(0x1e9)](_0x53fdc1);}[_0x568c59(0x1e9)](_0x7bd6cd){const _0x4f64c7=_0x568c59,_0x1300a6=this[_0x4f64c7(0x157)]();_0x1300a6===0x0?this[_0x4f64c7(0xb3)](_0x7bd6cd):this[_0x4f64c7(0x26e)]['set'](_0x7bd6cd,setTimeout(()=>this[_0x4f64c7(0xb3)](_0x7bd6cd),_0x1300a6));}[_0x568c59(0x157)](){const _0x3d2c40=_0x568c59;var _0x528384;return(_0x528384=this[_0x3d2c40(0x217)][_0x3d2c40(0xd1)](_0x497c74['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x528384:_0x497c74[_0x3d2c40(0x29b)];}[_0x568c59(0xb3)](_0x421d05){const _0xb08e44=_0x568c59,_0x2da690=this[_0xb08e44(0x26e)][_0xb08e44(0x9e)](_0x421d05);return _0x2da690!==void 0x0&&window[_0xb08e44(0x147)](_0x2da690),this['_localStorageService'][_0xb08e44(0x239)](_0x497c74[_0xb08e44(0x186)](_0x421d05),this['_cachedData']['get'](_0x421d05))['then'](()=>this[_0xb08e44(0x26e)][_0xb08e44(0x1a7)](_0x421d05));}async['exhaustSavingTask'](){const _0x2756f4=_0x568c59,_0x232dd2=[];this[_0x2756f4(0x26e)]['forEach']((_0x2366f8,_0x457397)=>{const _0x3d0253=_0x2756f4;window[_0x3d0253(0x147)](_0x2366f8),_0x232dd2[_0x3d0253(0x1cc)](this[_0x3d0253(0xb3)](_0x457397)[_0x3d0253(0x2c6)](()=>{const _0x2783ca=_0x3d0253;this[_0x2783ca(0x26e)][_0x2783ca(0x1a7)](_0x457397);}));}),await Promise['all'](_0x232dd2);}};_0x3d07bb=_0x2c1815([_0x5b86ae(0x0,_0x4b176f[_0x568c59(0x9b)]),_0x5b86ae(0x1,_0x4b176f[_0x568c59(0x337)]),_0x5b86ae(0x2,_0x4b176f[_0x568c59(0x36e)](_0x2cf75e[_0x568c59(0x35f)]))],_0x3d07bb);class _0x2347bf extends _0x4b176f['RxDisposable']{constructor(){const _0x1fd6da=_0x568c59;super(),_0xe730d4(this,_0x1fd6da(0xa9)),this[_0x1fd6da(0xa9)]=_0x2d9524[_0x1fd6da(0x89)](window,_0x1fd6da(0x1ee))[_0x1fd6da(0x175)](_0x2d9524['takeUntil'](this['dispose$']),_0x2d9524['shareReplay'](0x1),_0x2d9524[_0x1fd6da(0x2fd)](void 0x0));}[_0x568c59(0x33f)](_0x53a9b4,_0x229341,_0x47635d=!0x1){const _0x330b73=_0x568c59,_0x2ad483=new URL(window[_0x330b73(0x110)][_0x330b73(0x33c)]);_0x2ad483['searchParams']['set'](_0x53a9b4,_0x229341),_0x47635d?window['history'][_0x330b73(0x2ca)]('','',_0x2ad483[_0x330b73(0xe8)]()):window['history'][_0x330b73(0x31c)]('','',_0x2ad483[_0x330b73(0xe8)]());}[_0x568c59(0x104)](_0x369f1d,_0x3091c8=!0x1){const _0x333f04=_0x568c59,_0x12200b=new URL(window['location'][_0x333f04(0x33c)]);_0x12200b[_0x333f04(0x18a)][_0x333f04(0x1a7)](_0x369f1d),_0x3091c8?window[_0x333f04(0x16c)][_0x333f04(0x2ca)]('','',_0x12200b[_0x333f04(0xe8)]()):window[_0x333f04(0x16c)][_0x333f04(0x31c)]('','',_0x12200b[_0x333f04(0xe8)]());}[_0x568c59(0x30f)](_0x9ef46c){const _0x2d4c18=_0x568c59;var _0x22e0fa;return(_0x22e0fa=new URL(window[_0x2d4c18(0x110)]['href'])['searchParams'][_0x2d4c18(0x9e)](_0x9ef46c))!=null?_0x22e0fa:void 0x0;}}var _0x287c9e=Object[_0x568c59(0x193)],_0x203838=Object[_0x568c59(0xf5)],_0x9e97f7=(_0x572ee5,_0x455b09,_0x2cf558)=>_0x455b09 in _0x572ee5?_0x287c9e(_0x572ee5,_0x455b09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cf558}):_0x572ee5[_0x455b09]=_0x2cf558,_0x431c8d=(_0x36283f,_0x59713c,_0x26f96e,_0x101f9d)=>{const _0x20aa8a=_0x568c59;for(var _0x41a9d8=_0x101f9d>0x1?void 0x0:_0x101f9d?_0x203838(_0x59713c,_0x26f96e):_0x59713c,_0xdd7bb8=_0x36283f[_0x20aa8a(0x261)]-0x1,_0x4cfb74;_0xdd7bb8>=0x0;_0xdd7bb8--)(_0x4cfb74=_0x36283f[_0xdd7bb8])&&(_0x41a9d8=_0x4cfb74(_0x41a9d8)||_0x41a9d8);return _0x41a9d8;},_0x2b34fb=(_0xddeafa,_0x5e6f3d)=>(_0x2547ab,_0xc6153c)=>_0x5e6f3d(_0x2547ab,_0xc6153c,_0xddeafa),_0x2a513a=(_0x3c12bf,_0x1f56a9,_0x2ee4c0)=>_0x9e97f7(_0x3c12bf,_0x1f56a9+'',_0x2ee4c0);const _0x293f41=_0x568c59(0x249);_0x49b1c5[_0x568c59(0x15d)]=class extends _0x4b176f[_0x568c59(0x2d2)]{constructor(_0x2da001=_0x1119c0,_0x2d6daf,_0x22d942,_0x49875a){const _0x8d7552=_0x568c59;super(),this['_config']=_0x2da001,this[_0x8d7552(0x364)]=_0x2d6daf,this[_0x8d7552(0x148)]=_0x22d942,this[_0x8d7552(0x217)]=_0x49875a;const {..._0x4d87c4}=_0x4b176f[_0x8d7552(0x218)]({},_0x1119c0,this[_0x8d7552(0x124)]);this['_configService'][_0x8d7552(0x297)](_0x28fa25,_0x4d87c4);}[_0x568c59(0x119)](){const _0x2121f4=_0x568c59;this['_registerDependencies'](),this[_0x2121f4(0xf2)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x568c59(0x247)](){const _0xcfd021=_0x568c59;var _0xe4cead;const _0xcc771b=[[_0x4009eb],[_0x535a7f],[_0x4ac300],[_0x32787b],[_0x45c595],[_0x510ecb],[_0x69f589,{'useClass':_0x2347bf}],[_0x542501[_0xcfd021(0x2db)],{'useClass':_0x542501[_0xcfd021(0x285)]}],[_0x497c74['ILocalCacheService'],{'useClass':_0x3d07bb}],[_0x49b1c5[_0xcfd021(0x336)]],[_0x1c4ddb],[_0x32db3d],[_0x53db82],[_0x30a20f],[_0x49b1c5['CollaborationDataLoaderController']]];this[_0xcfd021(0x124)][_0xcfd021(0x289)]&&_0xcc771b[_0xcfd021(0x1cc)]([_0x16e051]),_0x4b176f['registerDependencies'](this[_0xcfd021(0x148)],_0x4b176f['mergeOverrideWithDependencies'](_0xcc771b,(_0xe4cead=this['_config'])==null?void 0x0:_0xe4cead[_0xcfd021(0x25e)]));}['_registerRenderDependencies'](){const _0x3fa480=_0x568c59;this[_0x3fa480(0x354)](this[_0x3fa480(0x364)][_0x3fa480(0x1ae)](_0x4b176f[_0x3fa480(0xc6)][_0x3fa480(0x141)],[_0x578f3e])),this[_0x3fa480(0x354)](this[_0x3fa480(0x364)][_0x3fa480(0x1ae)](_0x4b176f[_0x3fa480(0xc6)]['UNIVER_SHEET'],[_0x4f696d]));}[_0x568c59(0xf2)](){const _0x36d382=_0x568c59;_0x4b176f[_0x36d382(0xfe)](this['_injector'],[[_0x53db82],[_0x49b1c5[_0x36d382(0x336)]],[_0x1c4ddb],[_0x32db3d],[_0x49b1c5['CollaborationDataLoaderController']],[_0x535a7f]]),this[_0x36d382(0x124)][_0x36d382(0x289)]&&_0x4b176f[_0x36d382(0xfe)](this[_0x36d382(0x148)],[[_0x16e051]]);}},_0x2a513a(_0x49b1c5['UniverCollaborationClientUIPlugin'],'pluginName',_0x293f41),_0x49b1c5[_0x568c59(0x15d)]=_0x431c8d([_0x4b176f['DependentOn'](_0x497c74[_0x568c59(0x359)]),_0x2b34fb(0x1,_0x517da6[_0x568c59(0x264)]),_0x2b34fb(0x2,_0x4b176f[_0x568c59(0x36e)](_0x4b176f[_0x568c59(0x2b0)])),_0x2b34fb(0x3,_0x4b176f[_0x568c59(0x9b)])],_0x49b1c5[_0x568c59(0x15d)]);var _0x555dd1=Object[_0x568c59(0xf5)],_0xef853b=(_0x2c8a5b,_0x559c0f,_0xa845f0,_0x4075f4)=>{const _0xdbe6ea=_0x568c59;for(var _0x263754=_0x4075f4>0x1?void 0x0:_0x4075f4?_0x555dd1(_0x559c0f,_0xa845f0):_0x559c0f,_0x240378=_0x2c8a5b[_0xdbe6ea(0x261)]-0x1,_0x110103;_0x240378>=0x0;_0x240378--)(_0x110103=_0x2c8a5b[_0x240378])&&(_0x263754=_0x110103(_0x263754)||_0x263754);return _0x263754;},_0xc8fcd7=(_0x3614fb,_0x5702d4)=>(_0x4c722c,_0x31a9d6)=>_0x5702d4(_0x4c722c,_0x31a9d6,_0x3614fb);_0x49b1c5[_0x568c59(0x34f)]=class extends _0x497c74[_0x568c59(0xc4)]{constructor(_0x13ff5a,_0x22a86c,_0x3e8ba9,_0x299d72,_0x2b7b7f){super(_0x13ff5a,_0x22a86c,_0x3e8ba9,_0x299d72,_0x2b7b7f);}async[_0x568c59(0x1b4)](_0x175c10){const _0x18468c=_0x568c59,_0x36b2ee=await this['_getSessionTicket'](),_0xc00b64=this[_0x18468c(0x1bc)](_0x175c10,_0x36b2ee);return this[_0x18468c(0xed)](_0xc00b64);}['_createSocketURL'](_0x10083a,_0x450a4d){const _0x5a3d8c=_0x568c59,_0x73309b=typeof window>'u'?new URL(_0x10083a):new URL(_0x10083a,window[_0x5a3d8c(0x110)][_0x5a3d8c(0x1c5)]);_0x73309b[_0x5a3d8c(0x18a)][_0x5a3d8c(0xd2)](_0x5a3d8c(0x22d),_0x450a4d);const _0x5b7390=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5a3d8c(0x110)][_0x5a3d8c(0x222)]);return _0x5b7390[_0x5a3d8c(0x9e)](_0x5a3d8c(0x1c7))&&_0x73309b[_0x5a3d8c(0x18a)][_0x5a3d8c(0xd2)]('runId',_0x5b7390[_0x5a3d8c(0x9e)](_0x5a3d8c(0x1c7))),_0x73309b[_0x5a3d8c(0xe8)]();}async['_getSessionTicket'](){const _0x1da992=_0x568c59;var _0x6f3901,_0x16d18e,_0x3c6894;const _0x634648=this[_0x1da992(0x217)][_0x1da992(0xd1)](_0x497c74['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x134be2=(_0x6f3901=_0x634648==null?void 0x0:_0x634648[_0x1da992(0x324)])!=null?_0x6f3901:_0x497c74[_0x1da992(0x304)];return(_0x3c6894=(_0x16d18e=(await this['_httpService']['get'](_0x134be2,{'headers':{'Content-Type':'application/json'}}))[_0x1da992(0x16e)])==null?void 0x0:_0x16d18e[_0x1da992(0x307)])!=null?_0x3c6894:'';}},_0x49b1c5[_0x568c59(0x34f)]=_0xef853b([_0xc8fcd7(0x0,_0x4b176f['Inject'](_0x4b176f[_0x568c59(0x2b0)])),_0xc8fcd7(0x1,_0x4b176f[_0x568c59(0x36e)](_0x542501[_0x568c59(0x28f)])),_0xc8fcd7(0x2,_0x4b176f[_0x568c59(0x9b)]),_0xc8fcd7(0x3,_0x4b176f[_0x568c59(0x344)]),_0xc8fcd7(0x4,_0x2cf75e['ISnapshotServerService'])],_0x49b1c5['BrowserCollaborationSocketService']);var _0xb7dbe1=Object[_0x568c59(0xf5)],_0x2da5f7=(_0x33b30a,_0x378757,_0x51a64f,_0x257469)=>{const _0x58ac9e=_0x568c59;for(var _0x5bbbda=_0x257469>0x1?void 0x0:_0x257469?_0xb7dbe1(_0x378757,_0x51a64f):_0x378757,_0x1007d2=_0x33b30a[_0x58ac9e(0x261)]-0x1,_0x4a286a;_0x1007d2>=0x0;_0x1007d2--)(_0x4a286a=_0x33b30a[_0x1007d2])&&(_0x5bbbda=_0x4a286a(_0x5bbbda)||_0x5bbbda);return _0x5bbbda;},_0xfa9f7f=(_0x44d0a4,_0x3fd110)=>(_0x31643c,_0x310df3)=>_0x3fd110(_0x31643c,_0x310df3,_0x44d0a4);_0x49b1c5[_0x568c59(0x254)]=class extends _0x4b176f[_0x568c59(0x24b)]{constructor(_0x3fa835,_0x3ac559,_0xeab8c9){const _0x55b502=_0x568c59;super(),this[_0x55b502(0x267)]=_0x3fa835,this[_0x55b502(0x228)]=_0x3ac559,this[_0x55b502(0x217)]=_0xeab8c9;}async[_0x568c59(0x207)](_0x35bfdd,_0xd4cbb3,_0x10423b,..._0x592ae4){const _0x4a9e4c=_0x568c59;var _0x5bc41e,_0xca6253,_0x48cd13,_0x28f631;const _0x1b7f18=this[_0x4a9e4c(0x267)][_0x4a9e4c(0x18f)]();if(!_0x1b7f18)throw new Error(_0x4a9e4c(0x280));const _0x2ed315=((_0x5bc41e=this[_0x4a9e4c(0x217)][_0x4a9e4c(0xd1)](_0x497c74[_0x4a9e4c(0x15b)]))!=null?_0x5bc41e:_0x497c74['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x35bfdd+_0x4a9e4c(0x152)+_0xd4cbb3,_0x577994=new URL(window[_0x4a9e4c(0x110)][_0x4a9e4c(0x33c)]),_0x2fdaab={'scriptId':_0x35bfdd,'runId':(_0xca6253=_0x577994['searchParams'][_0x4a9e4c(0x9e)](_0x4a9e4c(0x1c7)))!=null?_0xca6253:'','function':_0xd4cbb3,'unitId':_0x1b7f18[_0x4a9e4c(0x1f3)](),'argsOfFunction':JSON[_0x4a9e4c(0x1d2)](_0x592ae4),'invokeId':(_0x48cd13=_0x10423b['invokeId'])!=null?_0x48cd13:'','executionId':(_0x28f631=_0x10423b[_0x4a9e4c(0x1b7)])!=null?_0x28f631:''};try{const _0x128dee=await this[_0x4a9e4c(0x228)][_0x4a9e4c(0xc9)](_0x2ed315,{'body':_0x2fdaab});return _0x128dee[_0x4a9e4c(0x16e)][_0x4a9e4c(0x11f)]&&_0x128dee['body'][_0x4a9e4c(0x11f)][_0x4a9e4c(0x2d6)]!==_0x5502e6['OK']?_0x4a9e4c(0x202):_0x128dee[_0x4a9e4c(0x16e)][_0x4a9e4c(0x36d)];}catch{return'Failed';}}},_0x49b1c5['RemoteUniscriptService']=_0x2da5f7([_0xfa9f7f(0x0,_0x4b176f[_0x568c59(0x26f)]),_0xfa9f7f(0x1,_0x4b176f[_0x568c59(0x36e)](_0x542501[_0x568c59(0x28f)])),_0xfa9f7f(0x2,_0x4b176f[_0x568c59(0x9b)])],_0x49b1c5[_0x568c59(0x254)]);const _0x5ef8d7=0x7530,_0x317e80=_0x568c59(0x286);class _0xbda6a0 extends _0x4b176f['Disposable']{constructor(){const _0x9c2660=_0x568c59;super(),_0xe730d4(this,_0x9c2660(0x308),_0x4b176f[_0x9c2660(0x22e)]()),_0xe730d4(this,'_selfUnitIDs',new Set()),_0xe730d4(this,'_unitOnClients',new Map()),_0xe730d4(this,'_heartbeatTimer',null),_0xe730d4(this,_0x9c2660(0x374),new Map()),_0xe730d4(this,'_unitStatus',new Map()),this[_0x9c2660(0x129)]();}[_0x568c59(0x106)](){const _0x3ce6eb=_0x568c59;super[_0x3ce6eb(0x106)](),this[_0x3ce6eb(0x374)][_0x3ce6eb(0x15e)]((_0x2a479b,_0x4f33ad)=>this[_0x3ce6eb(0x138)](_0x4f33ad)),this[_0x3ce6eb(0x2aa)]&&window['clearInterval'](this[_0x3ce6eb(0x2aa)]);}['getUnitStatus$'](_0x5e6e4e){const _0x28a2e2=_0x568c59;return this[_0x28a2e2(0x2bb)](_0x5e6e4e)['pipe'](_0x2d9524[_0x28a2e2(0x269)]());}['editingUnit'](_0x22b0a6){const _0xaa886e=_0x568c59;this[_0xaa886e(0x103)][_0xaa886e(0x2d1)]===0x0&&this[_0xaa886e(0x190)](),this[_0xaa886e(0x103)][_0xaa886e(0x2bf)](_0x22b0a6),this[_0xaa886e(0x2d8)]({'type':0x0,'memberID':this[_0xaa886e(0x308)],'unitIDs':[_0x22b0a6],'isForwarded':!0x1});}[_0x568c59(0x1db)](_0x4c7dd8){const _0x569ad2=_0x568c59;this['_selfUnitIDs'][_0x569ad2(0x1a7)](_0x4c7dd8),this[_0x569ad2(0x103)][_0x569ad2(0x2d1)]===0x0&&this[_0x569ad2(0x2aa)]&&window[_0x569ad2(0x2b9)](this['_heartbeatTimer']);}[_0x568c59(0x129)](){const _0x2ace39=_0x568c59;this[_0x2ace39(0x354)](_0x4b176f['toDisposable'](_0x2d9524[_0x2ace39(0x89)](window,_0x2ace39(0x2ee))[_0x2ace39(0xe7)](_0x949f2e=>{const _0x4bdb8d=_0x2ace39;if(_0x949f2e['key']!==_0x317e80||!_0x949f2e[_0x4bdb8d(0xa2)])return;const _0xb6803d=JSON[_0x4bdb8d(0xfa)](_0x949f2e[_0x4bdb8d(0xa2)]);this[_0x4bdb8d(0x1d4)](_0xb6803d);}))),window['addEventListener'](_0x2ace39(0x171),()=>this[_0x2ace39(0x2d8)]({'type':0x1,'memberID':this[_0x2ace39(0x308)],'unitIDs':Array[_0x2ace39(0xd3)](this[_0x2ace39(0x103)])}));}[_0x568c59(0x1d4)](_0x3e7398){const _0x3ed957=_0x568c59;switch(_0x3e7398['type']){case 0x0:this[_0x3ed957(0x1d1)](_0x3e7398);break;case 0x1:this[_0x3ed957(0xe5)](_0x3e7398);break;case 0x2:this[_0x3ed957(0x183)](_0x3e7398);break;}}[_0x568c59(0x1d1)](_0x48f530){const _0x1a6663=_0x568c59,{unitIDs:_0x58a802,memberID:_0x549e88,isForwarded:_0x33653b}=_0x48f530;_0x58a802[_0x1a6663(0x15e)](_0x251ea=>{const _0x53623b=_0x1a6663;if(!_0x33653b&&this[_0x53623b(0xea)][_0x53623b(0x268)](_0x251ea)&&this[_0x53623b(0x2bb)](_0x251ea)[_0x53623b(0x165)](_0x497c74['UnitStatus'][_0x53623b(0x10a)]),!this[_0x53623b(0xea)][_0x53623b(0x268)](_0x251ea)||!this[_0x53623b(0xea)]['get'](_0x251ea)[_0x53623b(0x268)](_0x549e88)){const _0x53728b=this[_0x53623b(0xea)][_0x53623b(0x9e)](_0x251ea)||new Set();_0x53728b[_0x53623b(0x2bf)](_0x549e88),this['_unitOnClients'][_0x53623b(0xd2)](_0x251ea,_0x53728b),this[_0x53623b(0x342)](_0x549e88);}}),_0x33653b||this['_send']({'type':0x0,'memberID':this[_0x1a6663(0x308)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x568c59(0x342)](_0x47e6d1){const _0xe3b74=_0x568c59;this[_0xe3b74(0x138)](_0x47e6d1);const _0x52a920=window[_0xe3b74(0x1de)](()=>{const _0x564f48=_0xe3b74;this[_0x564f48(0xea)]['forEach'](_0x437c5e=>{const _0x32fd4d=_0x564f48;_0x437c5e[_0x32fd4d(0x1a7)](_0x47e6d1);});},_0x5ef8d7*0x2);this[_0xe3b74(0x374)]['set'](_0x47e6d1,_0x52a920);}['_removeClearOtherTimer'](_0x568c43){const _0xd1194e=_0x568c59;if(this[_0xd1194e(0x374)][_0xd1194e(0x268)](_0x568c43)){const _0x13b5e4=this[_0xd1194e(0x374)]['get'](_0x568c43);_0x13b5e4&&window[_0xd1194e(0x147)](_0x13b5e4),this['_clearOtherTimers'][_0xd1194e(0xd2)](_0x568c43,null);}}['_handleLeaveEvent'](_0xa18a36){const _0xcae122=_0x568c59,{memberID:_0x4d2afa,unitIDs:_0x689ae4}=_0xa18a36;_0x689ae4[_0xcae122(0x15e)](_0x33f472=>{const _0x2bfcfe=_0xcae122;var _0x3618bc;const _0x907d6f=this['_unitOnClients'][_0x2bfcfe(0x9e)](_0x33f472);_0x907d6f&&(_0x907d6f[_0x2bfcfe(0x1a7)](_0x4d2afa),(_0x3618bc=this[_0x2bfcfe(0x2bb)](_0x33f472))==null||_0x3618bc['next'](_0x907d6f[_0x2bfcfe(0x2d1)]===0x0?_0x497c74[_0x2bfcfe(0x1d6)][_0x2bfcfe(0x2de)]:_0x497c74[_0x2bfcfe(0x1d6)][_0x2bfcfe(0x10a)]));}),this['_removeClearOtherTimer'](_0x4d2afa);}[_0x568c59(0x183)](_0x78b5ed){const _0x53c4ca=_0x568c59;this['_scheduleClearOtherTimer'](_0x78b5ed[_0x53c4ca(0xde)]);}['_send'](_0x2f9499){const _0x2f4b4c=_0x568c59;localStorage[_0x2f4b4c(0x239)](_0x317e80,JSON[_0x2f4b4c(0x1d2)](_0x2f9499));}[_0x568c59(0x190)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x33539d=_0x34b8;this['_send']({'type':0x2,'memberID':this[_0x33539d(0x308)]});},_0x5ef8d7);}[_0x568c59(0x2bb)](_0x37fd18){const _0xd4875b=_0x568c59;return this['_unitStatus']['has'](_0x37fd18)||this[_0xd4875b(0x206)]['set'](_0x37fd18,new _0x2d9524[(_0xd4875b(0x1cf))](_0x497c74[_0xd4875b(0x1d6)][_0xd4875b(0x2de)])),this[_0xd4875b(0x206)]['get'](_0x37fd18);}}_0x49b1c5[_0x568c59(0x226)]=_0x69f589,_0x49b1c5[_0x568c59(0x132)]=_0x2b40de,_0x49b1c5[_0x568c59(0x146)]=_0xbda6a0,_0x49b1c5['WebURLService']=_0x2347bf,Object[_0x568c59(0x193)](_0x49b1c5,Symbol[_0x568c59(0x313)],{'value':_0x568c59(0x2f7)});}));
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
function
|
|
11
|
+
function _0x5f05(){var _0x464426=['amd','248moaBDE','2268002CeuLBm','_injector','108ZjySlA','44682YtAPID','10fckGge','1222315WzAKsE','75453wxdFCX','@univerjs/core/facade','function','44001wKiPJd','1490121oBTddo','UniverCoreFacade','306992kWxbLk','12ZyKABQ','get','RemoteUniscriptService'];_0x5f05=function(){return _0x464426;};return _0x5f05();}function _0xe562(_0x26a52e,_0x34bbfb){_0x26a52e=_0x26a52e-0x146;var _0x5f054a=_0x5f05();var _0xe56226=_0x5f054a[_0x26a52e];return _0xe56226;}(function(_0xabb761,_0xbd4352){var _0x5b44b1=_0xe562,_0x26b027=_0xabb761();while(!![]){try{var _0x3b28e=-parseInt(_0x5b44b1(0x149))/0x1+parseInt(_0x5b44b1(0x152))/0x2+-parseInt(_0x5b44b1(0x14f))/0x3*(-parseInt(_0x5b44b1(0x148))/0x4)+parseInt(_0x5b44b1(0x14b))/0x5*(parseInt(_0x5b44b1(0x153))/0x6)+parseInt(_0x5b44b1(0x14c))/0x7*(-parseInt(_0x5b44b1(0x157))/0x8)+-parseInt(_0x5b44b1(0x150))/0x9*(parseInt(_0x5b44b1(0x14a))/0xa)+-parseInt(_0x5b44b1(0x146))/0xb;if(_0x3b28e===_0xbd4352)break;else _0x26b027['push'](_0x26b027['shift']());}catch(_0x807b56){_0x26b027['push'](_0x26b027['shift']());}}}(_0x5f05,0x46469),function(_0x1d0570,_0x49eb5a){var _0x125210=_0xe562;typeof exports=='object'&&typeof module<'u'?_0x49eb5a(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x125210(0x14e)&&define[_0x125210(0x156)]?define(['@univerjs-pro/collaboration-client-ui',_0x125210(0x14d)],_0x49eb5a):(_0x1d0570=typeof globalThis<'u'?globalThis:_0x1d0570||self,_0x49eb5a(_0x1d0570['UniverProCollaborationClientUi'],_0x1d0570[_0x125210(0x151)]));}(this,function(_0x358990,_0x879381){'use strict';class _0x7b4768 extends _0x879381['FUniver']{['runOnServer'](_0x1e883f,_0x3ba51b,..._0x27519b){var _0xe68683=_0xe562;return this[_0xe68683(0x147)][_0xe68683(0x154)](_0x358990[_0xe68683(0x155)])['runOnServer'](_0x1e883f,_0x3ba51b,{},..._0x27519b);}}_0x879381['FUniver']['extend'](_0x7b4768);}));
|
|
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"})}));
|