@univerjs-pro/collaboration-client 0.6.6-nightly.202503191607 → 0.6.6-nightly.202503211606
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x1e16(){var _0x4aa424=['liveShareNewHost','/block/','_createHmacHelper','offline','MentionType','_awaitingChangeset','SEND_CHANGESET_TIMEOUT','_listenToNetworkCondition','patch','loadOfflineData','UniverInstanceType','[CollaborationState]:\x20apply\x20error!','dispose','_config','target','shouldCloseConn','random','@univerjs-pro/collaboration','image/jpeg','forEach','AwaitingState','CollaborationSocketService','COLLAB_SUBMIT_CHANGESET_URL_KEY','reverse','collabSubmitChangesetUrl','LEAVE','isTransformMutationsWithChangesetFailure','_clearRetryConnectingTimer','CBC','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','authzUrl','RevisionService','get','_candidateSocket','objectActions','title','objectID','UnitStatus','concatMap','complete','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/role','_createHandler','unitInfo$','SheetCollaborationEntity','SYNCED','rev','IUndoRedoService','sheets','BlockCipher','error','includes','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','Malformed\x20UTF-8\x20data','find','UserManagerService','ISnapshotServerService','CommentService','_createSocket','open$','UniverDrawing','location','collaborators','mutations','UniverDocs','PERMISSION_REJ','image/bmp','CHANGESET_SHOULD_RETRY','NEW_CHANGESETS','FETCH_MISS','PasswordBasedCipher','_clearRedo','SnapshotServerOverHTTPService','joinEvent','enableOfflineEditing','IContextService','generateRandomId','_getCurrentRevision','_tryReconnect','src','_init','SOCKET_FAILED','_keyPriorReset','DependentOn','/universer-api/authz','key','clear','2OuEAtM','42UFwPcA','Latin1','Rectangle','BASE64','_resendTimer','infoRsp','session.room-cnt-exceeds','PENDING','setConfig','_lockTransition','onRemoteAck','AuthzIoHttpService','removeMember','_members$','_queuedRemoteChangesets','_eventService','_logService','_reverseMap','put','disposeWithMe','115619NVHHyb','/unit/','AUTHZ_URL_KEY','__creator','_startCollaboration','HELLO','putCollaborators','randomBytes','_unitInfo$','SNAPSHOT_SERVER_URL_KEY','_schedule','every','clone','COMPLETION_FINISHED','onMissedChangesetFetched','originalMeta','SnapshotService','getUnitStatus$','@univerjs/sheets','processBlock','selections','BlockCipherMode','_telemetryInfo','session.join-failed','RxDisposable','actions','ThresholdInterceptorFactory','lib','_substituteRedoStack','SessionStatus','UNIVER_COLLABORATION_CLIENT_PLUGIN','collaboratorID','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','socket\x20close','UNRECOGNIZED','HEARTBEAT_INTERVAL','CONFLICT','ENSURE_SNAPSHOT_EXECUTION','compute','image/png','\x20-\x20','_onOffline','/universer-api/user/session-ticket','JOINING','CollaborationController','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','COMPRESS_MUTATION_SEND','fetchThroughInterceptors','send','getTime','listRoles','_remoteChangesetQueue','_initCloseConn','@univerjs/drawing','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','transformUndoRedo','APPLY_NON_SEQUENTIAL_REVISION','JOIN_ROOM_FAILED','_prevBlock','_undoStacks','parseProtocolChangeset','sendChangesetTimeout','1975233mQbhaG','CommandType','UniverCollaborationPlugin','transformChangesets','slice','Hex','getCurrentSelections','TOO_MANY_REQUESTS','getUnitType','pad','BehaviorSubject','YUUMI_RATE_OVER_LIMIT','Undefined','_getRedoStack','_transformStateCache','HttpExport','length','LIVESHARE_OPERATION','debug','_telemetryService','now','data','Workbook','_nDataBytes','prototype','collaMsg','getMember','MUTATION','set','getTypeOfUnitAdded$','ITransformService','UNKNOWN_CMD','_submitChangeset','ICollaborationSocketService','registerHTTPInterceptor','InsertSheetMutation','@univerjs/network','[PendingState]:\x20unhandled\x20univer\x20type:\x20','OfflineState','commentUpdateEvent','_throwTelemetryCollaborationNewChangeset','resolve','_updateLocalCache','AWAITING','function','localeService','_rescheduleHeartbeat','UUID','getTypeOfUnitDisposed$','_members','APPLY_REVISION_CONFILICT','close','findIndex','IDLE','max','/resources','action','_emitMembers','from','equals','_doFinalize','then','Injector','allowed','EvpKDF','onTransformRemoteChangesetByIMECache','post','reset','userID','66895wPvdBw','SetSelectionsOperation','Failed\x20to\x20update\x20permission\x20point','SerializableCipher','ILocalCacheService','_mode','_loadSheet','PendingState','PERSON','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','mode','has','_initMergeInterceptor','_roomMembers','BufferedBlockAlgorithm','getImage','_imageSourceCache','_handlerCallback','/universer-api/oidc/authpage','\x20to\x20','_replaceFileID','/universer-api/comb','Cipher','mapDocumentTypeToUniverType','People','enc','CollaborationUIEventId','[CollaborationSession]','MSG_FOR_ERROR','_createInitialStateImpl','entityInit$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_clearLocalCache','collaboration_new_changeset','blockSize','onRemoteChangeset','SUBMIT_CHANGESET_TIMEOUT','/universer-api/file/{fileID}/sign-url','kdf','salt','_socketReady','_state','toDisposable','shareReplay','_getLoginPath','_getSendChangesetTimeout','charCodeAt','operators','_onUserLeave','_sessions','status','baseRev','appendMutation','StreamCipher','CollaborationEvent','firstValueFrom','_roomCreated$','Disposable','/universer-api/stream/file/upload','createIdentifier','saveSnapshot','SheetTransformSelectionsService','getConfig','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onRemoteRej','@univerjs/telemetry','Utf8','ERROR_IMAGE','filter','_hash','[FetchMissState]','/universer-api/snapshot','ILogService','substr','_collabSessionService','onTransformIME','collaboration-client.local-cache-service','DisposableCollection','_waitForHeartbeatResponse','commentUpdate$','_localeService','_onConnectionFailed','finalize','setCurrentUser','_removeRoom','_initRequestHeader','takeUntil','[CollaborationUndoRedoService]','YUUMI_URL_COL_OUT_OF_RANGE','memberID','_transformIMECache','closeSession','execute','__Key__','OFFLINE','touchDependencies','FETCH_MISSING','requestParams','failed\x20to\x20apply\x20missed\x20changesets!','_process','mixIn','unpad','4732TPeXUT','getResourcesRequest','subUnitId','_getSignURL','MD5','UNIVER_DOC','1693192xMmots','_state$','withCredentials','@univerjs-pro/license','crypto','DEFAULT_WS_SESSION_TICKET_URL','CHANGESET_ACK','_onConnectionOpen','merge','ciphertext','_iv','confirm','ISingleActiveUnitService','keySize','[CollaborationSessionService]:\x20socket\x20error','pending','_updateState','_singleActiveUnitService','onCommentUpdate','liveShareOperation','_applyRemoteChangeset','_nRounds','subscribe','onCommandExecuted','deserializeToCombResponse','OTHER_CLIENT_EDITING','editingUnit','fromCollab','GLOBAL_ROOMS_CNT_EXCEEDS','_decreaseWaiting','/-/object/-/batch_allowed','localCacheService','sigBytes','onSyncEditingCollabCursor','USERS_ENTER','_event$','updateOfflineData','COLLAB_WEB_SOCKET_URL','[PendingState]:\x20received\x20rejection.','Module','/fetchmissing?from=','INetworkConditionService','awaiting_with_pending','WordArray','encode','_append','COLLAB_SUBMIT_CHANGESET_URL','unitID','[SyncedState]:\x20received\x20acknowledgement.','getCollabEntity$','reconnect','executeCommand','string','deepClone','_timeoutTimer','Base','session','Inject','_transformRemoteChangesetByStateCache','createCollaborator','decryptBlock','_disableEditing','body','HEARTBEAT_INTERVAL_KEY','_tryEnsureSocket','OpenSSL','create','LocaleService','event$','socketService','_createInitialState','_ENC_XFORM_MODE','isArray','state$','_getUndoStack','OTHER_CLIENTS_EDITING','LIVESHARE_TERMINATE','Optional','_onCombEvent','_transformStack','NOT_COLLAB','CollaborationSession','[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.','indexOf','unknown','_joinRoom','_clearScheduledTask','100NsmxxQ','startTime','_oKey','_getCtorByUniverType','UNIVER_SLIDE','DocCollaborationEntity','hasOwnProperty','_onLocalMutation','unsubscribe','addImageSourceCache','680364FABdwS','list','_pendingMutations','UNAUTHENTICATED','[OfflineState]:\x20received\x20acknowledgement.','CollaborationSessionService','getOwnPropertyDescriptor','csRejEvent','_change$','socket$','fetching\x20missing\x20changesets\x20from\x20','abs','IMentionIOService','UPDATE_CURSOR','JOIN_ROOM_FULL','session.room-full','USERS_LEAVE','getAllMembers','CollaborativeUndoRedoService','CLOSE_ROOM','_scheduleCollaborationTimeoutTimer','cmd','roomInfos','POST','href','extend','_handler','_updateStatus','_replayCachedMutations','UNIVER_UNKNOWN','_clearTimeoutTimer','_iKey','capture','_syncEditingCollabCursor','joinRsp','loadSheet','push','amd','_sendHeartbeat','_minBufferSize','resourceIDs','submit\x20changeset\x20error!','_socketService','getCollabEntity','ICommandService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','JOIN_ROOM_PERMISSION_DENIED','close$','_instanceService','snapshotServerUrl','JOIN_ROOM_NOT_EXISTS','createEncryptor','_transformSelections','Subject','_memberService','_hasher','delete','_createHelper','_permissionService','_doReset','_undoRedoService','RichTextEditingMutation','_sender','join','onMissingChangesets','SUCCUSS','_transformService','INVALID_ARGUMENT','getInterceptPoints','EmptyMutation','_onRemoteChangeset','__esModule','_retryCount','take','transformMutationsWithChangeset','_fetchMissChangesets','_entityInit$','CollaborationImageIoService','CONNECTOR_DATA_TOO_LARGE','&to=','resend','ONLINE','MergeInterceptorFactory','rxjs','save\x20fail\x20reason\x20is\x20','_parse','$super','routeKey','name','session.room-not-exists','floor','HEARTBEAT','override','asObservable','state','_onConflict','CHANGESET_REJ','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','toStringTag','_networkConditionService','workbook','ImageSourceType','encrypt','LOCAL_CACHE_INTERVAL_KEY','RETRY_CONNECTING_MAX_COUNT_KEY','LOCAL_CACHE_INTERVAL','reqId','setWaitCount','APPLY_DUPLICATED','_socketMessageSubscription','_resendWithTimeout','awaiting','toggleOffline','UniverProLicense','\x20in\x20_schedule.','_substituteUndoStack','UniverCollaborationClientPlugin','type','CollaborationStatus','sessionStatus','_onRemoteRejected','_collaborationSessionService','enableAuthServer','JOIN','_getAPIPrefixPath','LIVESHARE_FETCH_OPERATIONS','SOCKET_FAILED_RETRY','range','_onFetchMissResult','HEARTBEAT_TIMEOUT','LICENSE_MAX_UNITS_EXCEEDED','univer-pro.collaboration-client.network-condition.service','CipherParams','LICENSE_EXPORT_SIZE_EXCEEDED','disableLocalCache','IUniverInstanceService','default','json','transformSelections','code','ceil','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_entities','refreshPermission','_collaborationUIEventService','AwaitingWithPendingState','_changesetSessionId','ISocketService','SUBMIT_CHANGESET','_status$','_sendHeartbeatTimer','reduce','getUnitId','charAt','SHOULD_CLOSE_CONN','Encryptor','init','SNAPSHOT_URL_KEY','UniverCore','_map','apply','RECV','ALREADY_EXISTS','/allowed','online$','headers','_onRecvEvent','newCsEvent','result','splice','duration','_exhaustRemoteChangesetQueue','CompressMutationService','YUUMI_SUBSCRIPTION_NOT_FOUND','error$','_waitCount','getRandomValues','isTransformMutationsWithChangesetSuccess','_configService','catch','_type','c1Prime','univer-pro.collaboration-client-socket-service','_onMessage','emitEvent','getMemberID','_scheduleCompleteTimestamp','_acknowledgedAwaitingChangeset','leaveEvent','csAckEvent','_key','UniverNetwork','@univerjs/docs','/new_changes','LIVESHARE_NEW_HOST','SNAPSHOT_HAS_BEEN_REMOVED','HTTPService','_xformMode','reject','_isPermissionRej','url','fetchMissingChangesets','UNIVER_PROJECT','_clearUndo','pipe','HMAC','UNIVER_SHEET','onStarting','msCrypto','_transformUndoredo','PSEUDO_FETCH_MISSING_RESULT','_sheetTransformSelectionsService','/universer-api/snapshot/','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','fetchMiss','WorkbookEditablePermission','_sessionStatus$','defineProperty','sid','INTERNAL_ERROR','_initDependencies','LIVESHARE_REQUEST_HOST','OPTIONAL','bind','ReplaySubject','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','fromCharCode','toString','image/gif','UNISCRIPT_RUN','update','_onJoinRoomEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','synced','getRoom','revision','sin','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_retryConnectingTimer','incrementRevOfUnit','CollaborationUIEventService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','concat','getCurrentUser','updateMember','_collaborationTimeoutTimer','&source=','[CollaborationSessionService]','saveSheetBlock','INGEST','200KIjgKe','stringify','_commentService','responseType','_keySchedule','params','COLLAB_WEB_SOCKET_URL_KEY','SHA1','_commentUpdate$','c2Prime','_localCacheService','UNDEFINED','eventID','size','LICENSE_IMPORT_SIZE_EXCEEDED','_invKeySchedule','randomUUID','initWorkbookPermissionChange','ivSize','rng','LICENSE_DISTRO_REJECTED','status$','UniverSheets','_onRemoteACK','_userManagerService','onSendChangeset','DEFAULT_FILE_NAME','_onUserJoin','[CollaborationEntity]','COMMENT_UPDATE','_redoStacks','JSONX','_HTTPService','HTTPRequest','_DEC_XFORM_MODE','members','APPLY_REJECT','m2Prime','_univerInstanceService','getSheetBlock','add','_getUploadFileURL','_loadDoc','_registerDependencies','updateCursorEvent','waitForRoom$','stopTime','HmacSHA1','_doCryptBlock','_transitionLocked','isTransformChangesetsSuccess','onload','getCurrentRevOfUnit','_clearCollaborationTimeoutTimer','createInstance','LocalUndoRedoService','unitId','NO_OTHER_CLIENTS_EDITING','UnitSnapshot','AWAITING_WITH_PENDING','IConfigService','_socket','[DataLoaderService]','focused$','YUUMI_UNABLE_LOAD_URL','19140891ccIquq','_httpService','startsWith','message$','getUnitOnRev','COMPRESS_MUTATION_APPLY','Pkcs7','/object','_revisionService','getImageSourceCache','_injector','FileId','onTransformSelections','_getAPIPrefix','DataLoaderService','_startTelemetryCollaborationNewChangeset','Hasher','algo','IPermissionService','_changesetReqId','ImageUploadStatusType','parse','onTransformRemoteChangesetByStateCache','_collaborationPaused','Univer','uploadFileServerUrl','textRanges','members$','requireSession','pauseCollaboration','?size=','isPermissionRej','isInternalEditorID','SNAPSHOT_INVALID_SNAPSHOT','cfg','textEncoder','_getDownloadEndpointURL','compose','/object/','PY_RUNTIME_SCRIPT_ERROR','/collaborator','encodeURIComponent','connection\x20error','updateCollaborator','dispose$','Tools','_incrementRevisionNumber','SyncedState','addHandlerCallback','DEFAULT_COLLAB_WEB_SOCKET_URL','createDecryptor','UnitEmbedded','IImageIoService','_resendTimeout','interceptor','subject','\x0aAfter:\x20','_transformRemoteChangesetByIMECache','clamp','method','ws://127.0.0.1:8000/universer-api/comb/connect','toggleOnline','onStateChange','_checkMissing','awaitingChangeset','_doProcessBlock','FetchingMissState','fetch_missing','_commandService','UniverTelemetry','_onRemoteRetry','_unitID','onTransformState','enableSingleActiveInstanceLock','loginUrlKey','pluginName','iterations','updatePermissionPoint','editing\x20status\x20changed\x20to','_compressMutationService','NoPadding','_data','collaboration-client.config','exports','replace','_unlockTransition','socket\x20open.','ConflictState','MemberService','padding','onlyLocal','CollaborationEntity','change$','PERMISSION_DENIED','decrypt','next','getLatestCsReqIdBySid','_socket$','roles','LOGIN_URL_KEY','hasher','UPDATE_PERMISSION_OBJ','objectType','HmacMD5','NOT_FOUND','_cipher','Base64','APPLY_PERMISSION_DENIED','telemetry\x20info\x20is\x20not\x20initialized','AES','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','call','sessionStatus$','MentionIoHttpService','UNKNOWN_CODE','HttpImport','snapshot','map','onRemoteRetry','IAuthzIoService','_stopTelemetryCollaborationNewChangeset','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_sendingTimer','readyForCollab','collabWebSocketUrl','parseChangesetToProtocol','_executeRemoteChangeset','sequenceExecute','@univerjs/core','format','words','delay','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','onLocalMutation','_clearHeartbeatTimer','ERROR_EXCEED_SIZE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_shouldReportTelemetry','avatar','getFocusedUnit','_snapshotService','rxjs/operators'];_0x1e16=function(){return _0x4aa424;};return _0x1e16();}function _0x47c2(_0x14352c,_0x1e6dbd){var _0x1e16ff=_0x1e16();return _0x47c2=function(_0x47c221,_0xea43d1){_0x47c221=_0x47c221-0x94;var _0x12491a=_0x1e16ff[_0x47c221];return _0x12491a;},_0x47c2(_0x14352c,_0x1e6dbd);}(function(_0x55ef99,_0x134734){var _0x11faa9=_0x47c2,_0x2bde84=_0x55ef99();while(!![]){try{var _0xd8403b=-parseInt(_0x11faa9(0x112))/0x1*(-parseInt(_0x11faa9(0x400))/0x2)+-parseInt(_0x11faa9(0xcd))/0x3+-parseInt(_0x11faa9(0x179))/0x4*(parseInt(_0x11faa9(0x2da))/0x5)+parseInt(_0x11faa9(0x401))/0x6*(-parseInt(_0x11faa9(0x415))/0x7)+parseInt(_0x11faa9(0x17f))/0x8+-parseInt(_0x11faa9(0x1e0))/0x9*(parseInt(_0x11faa9(0x1d6))/0xa)+parseInt(_0x11faa9(0x31b))/0xb;if(_0xd8403b===_0x134734)break;else _0x2bde84['push'](_0x2bde84['shift']());}catch(_0x1a563a){_0x2bde84['push'](_0x2bde84['shift']());}}}(_0x1e16,0x6bbe3),function(_0x51a0c5,_0x37dea1){var _0x4b8424=_0x47c2;typeof exports=='object'&&typeof module<'u'?_0x37dea1(exports,require(_0x4b8424(0x39b)),require(_0x4b8424(0x233)),require(_0x4b8424(0x3a8)),require(_0x4b8424(0x3ba)),require('@univerjs/network'),require(_0x4b8424(0x154)),require(_0x4b8424(0x2a0)),require('@univerjs/sheets'),require(_0x4b8424(0xc4)),require(_0x4b8424(0x182))):typeof define==_0x4b8424(0xf9)&&define[_0x4b8424(0x205)]?define([_0x4b8424(0x36e),_0x4b8424(0x39b),_0x4b8424(0x233),'rxjs/operators','@univerjs-pro/collaboration',_0x4b8424(0xf1),_0x4b8424(0x154),_0x4b8424(0x2a0),_0x4b8424(0xa1),_0x4b8424(0xc4),_0x4b8424(0x182)],_0x37dea1):(_0x51a0c5=typeof globalThis<'u'?globalThis:_0x51a0c5||self,_0x37dea1(_0x51a0c5['UniverProCollaborationClient']={},_0x51a0c5[_0x4b8424(0x27e)],_0x51a0c5[_0x4b8424(0x233)],_0x51a0c5[_0x4b8424(0x233)][_0x4b8424(0x142)],_0x51a0c5['UniverProCollaboration'],_0x51a0c5[_0x4b8424(0x29f)],_0x51a0c5[_0x4b8424(0x360)],_0x51a0c5[_0x4b8424(0x3e9)],_0x51a0c5[_0x4b8424(0x2f0)],_0x51a0c5[_0x4b8424(0x3e5)],_0x51a0c5[_0x4b8424(0x251)]));}(this,function(_0x3aa05b,_0x223e3d,_0x94b51a,_0x54b879,_0x39217d,_0x23fe84,_0x4f69fe,_0x444d4c,_0x3a7ecf,_0x2c2cd9,_0x229161){'use strict';var _0x25bc2e=_0x47c2;var _0x2f4fc8=Object[_0x25bc2e(0x2b9)],_0x4963b1=(_0x48ebbe,_0x3ca373,_0x45a9ed)=>_0x3ca373 in _0x48ebbe?_0x2f4fc8(_0x48ebbe,_0x3ca373,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45a9ed}):_0x48ebbe[_0x3ca373]=_0x45a9ed,_0x427f66=(_0x365675,_0x8f9e26,_0x33998d)=>_0x4963b1(_0x365675,typeof _0x8f9e26!='symbol'?_0x8f9e26+'':_0x8f9e26,_0x33998d);const _0x4019f5=_0x25bc2e(0x98),_0x1fa31a=_0x25bc2e(0x15a),_0xc0c3ec='SNAPSHOT_URL_KEY',_0x3f1757=_0x25bc2e(0x3af),_0x11fd71=_0x25bc2e(0x1a4),_0x26ac59=_0x25bc2e(0x357),_0x57ac5f=_0x25bc2e(0xb9),_0xb53dff=_0x25bc2e(0xb2),_0x3c4235=_0x25bc2e(0x261),_0x31d749='RETRY_CONNECTING_MAX_COUNT',_0x542de='LOCAL_CACHE_INTERVAL',_0x5a4d16=_0x25bc2e(0x1ad),_0x668f7c=_0x25bc2e(0x128),_0x2d9159=_0x25bc2e(0x37e),_0x5442ec=_0x25bc2e(0x125),_0x11a36f='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x5f1f34='/universer-api/uniscript';var _0x15bdae=(_0x115084=>(_0x115084[_0x115084[_0x25bc2e(0x2e5)]=0x0]=_0x25bc2e(0x2e5),_0x115084[_0x115084['OK']=0x1]='OK',_0x115084[_0x115084[_0x25bc2e(0x2bb)]=0x2]=_0x25bc2e(0x2bb),_0x115084[_0x115084['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x115084[_0x115084[_0x25bc2e(0x383)]=0x4]=_0x25bc2e(0x383),_0x115084[_0x115084[_0x25bc2e(0x1e3)]=0x5]=_0x25bc2e(0x1e3),_0x115084[_0x115084[_0x25bc2e(0x282)]=0x6]=_0x25bc2e(0x282),_0x115084[_0x115084[_0x25bc2e(0x223)]=0x7]='INVALID_ARGUMENT',_0x115084[_0x115084[_0x25bc2e(0xd4)]=0x8]=_0x25bc2e(0xd4),_0x115084[_0x115084[_0x25bc2e(0x9c)]=0x9]=_0x25bc2e(0x9c),_0x115084[_0x115084['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x115084[_0x115084[_0x25bc2e(0x33c)]=0x1771]=_0x25bc2e(0x33c),_0x115084[_0x115084[_0x25bc2e(0x2a3)]=0x1772]=_0x25bc2e(0x2a3),_0x115084[_0x115084[_0x25bc2e(0xb4)]=0x1773]=_0x25bc2e(0xb4),_0x115084[_0x115084[_0x25bc2e(0x2fe)]=0x1b59]='APPLY_REJECT',_0x115084[_0x115084[_0x25bc2e(0xc7)]=0x1b5a]=_0x25bc2e(0xc7),_0x115084[_0x115084['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x25bc2e(0xff),_0x115084[_0x115084[_0x25bc2e(0x386)]=0x1b5c]=_0x25bc2e(0x386),_0x115084[_0x115084[_0x25bc2e(0x24c)]=0x1b5d]='APPLY_DUPLICATED',_0x115084[_0x115084[_0x25bc2e(0x22e)]=0x1f41]=_0x25bc2e(0x22e),_0x115084[_0x115084[_0x25bc2e(0x262)]=0x2329]=_0x25bc2e(0x262),_0x115084[_0x115084[_0x25bc2e(0x2b5)]=0x232a]=_0x25bc2e(0x2b5),_0x115084[_0x115084['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x25bc2e(0x2e8),_0x115084[_0x115084[_0x25bc2e(0x265)]=0x232c]=_0x25bc2e(0x265),_0x115084[_0x115084[_0x25bc2e(0x2ee)]=0x232d]=_0x25bc2e(0x2ee),_0x115084[_0x115084[_0x25bc2e(0x31a)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x115084[_0x115084[_0x25bc2e(0x16b)]=0x2712]=_0x25bc2e(0x16b),_0x115084[_0x115084[_0x25bc2e(0xd8)]=0x2713]=_0x25bc2e(0xd8),_0x115084[_0x115084[_0x25bc2e(0x28d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x115084[_0x115084['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x25bc2e(0x342),_0x115084[_0x115084[_0x25bc2e(0xb1)]=-0x1]=_0x25bc2e(0xb1),_0x115084))(_0x15bdae||{}),_0x5e14aa=(_0x18a02e=>(_0x18a02e[_0x18a02e['UNIVER_UNKNOWN']=0x0]=_0x25bc2e(0x1fd),_0x18a02e[_0x18a02e['UNIVER_DOC']=0x1]=_0x25bc2e(0x17e),_0x18a02e[_0x18a02e['UNIVER_SHEET']=0x2]=_0x25bc2e(0x2ae),_0x18a02e[_0x18a02e['UNIVER_SLIDE']=0x3]=_0x25bc2e(0x1da),_0x18a02e[_0x18a02e[_0x25bc2e(0x2aa)]=0x4]=_0x25bc2e(0x2aa),_0x18a02e[_0x18a02e['UNRECOGNIZED']=-0x1]=_0x25bc2e(0xb1),_0x18a02e))(_0x5e14aa||{}),_0x320311=(_0x4ce4f0=>(_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0xec)]=0x0]=_0x25bc2e(0xec),_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0x94)]=0x1]=_0x25bc2e(0x94),_0x4ce4f0[_0x4ce4f0['JOIN']=0x2]=_0x25bc2e(0x25b),_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0x3c2)]=0x3]=_0x25bc2e(0x3c2),_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0x2d9)]=0x4]=_0x25bc2e(0x2d9),_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0x23b)]=0x5]=_0x25bc2e(0x23b),_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0x281)]=0x6]=_0x25bc2e(0x281),_0x4ce4f0[_0x4ce4f0[_0x25bc2e(0xb1)]=-0x1]='UNRECOGNIZED',_0x4ce4f0))(_0x320311||{}),_0x4078b6=(_0x4379ca=>(_0x4379ca[_0x4379ca[_0x25bc2e(0x38d)]=0x0]=_0x25bc2e(0x38d),_0x4379ca[_0x4379ca['OK']=0x1]='OK',_0x4379ca[_0x4379ca['FAIL']=0x2]='FAIL',_0x4379ca[_0x4379ca['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x4379ca[_0x4379ca[_0x25bc2e(0x212)]=0x3ea]=_0x25bc2e(0x212),_0x4379ca[_0x4379ca[_0x25bc2e(0x20e)]=0x3eb]=_0x25bc2e(0x20e),_0x4379ca[_0x4379ca[_0x25bc2e(0x19b)]=0x3ec]=_0x25bc2e(0x19b),_0x4379ca[_0x4379ca[_0x25bc2e(0xb1)]=-0x1]='UNRECOGNIZED',_0x4379ca))(_0x4078b6||{}),_0x1d981a=(_0x2efb1b=>(_0x2efb1b[_0x2efb1b[_0x25bc2e(0xd9)]=0x0]=_0x25bc2e(0xd9),_0x2efb1b[_0x2efb1b[_0x25bc2e(0x38e)]=0x1]='HttpImport',_0x2efb1b[_0x2efb1b['HttpExport']=0x2]=_0x25bc2e(0xdc),_0x2efb1b[_0x2efb1b[_0x25bc2e(0x34e)]=0x3]='UnitEmbedded',_0x2efb1b[_0x2efb1b[_0x25bc2e(0x314)]=0x4]='UnitSnapshot',_0x2efb1b[_0x2efb1b[_0x25bc2e(0xb1)]=-0x1]=_0x25bc2e(0xb1),_0x2efb1b))(_0x1d981a||{});const _0x67dd2f=_0x25bc2e(0x36d),_0xaf982={};var _0x2ce557=(_0x1143bb=>(_0x1143bb[_0x25bc2e(0x198)]='OTHER_CLIENT_EDITING',_0x1143bb[_0x25bc2e(0x378)]=_0x25bc2e(0x378),_0x1143bb['CONFLICT']='CONFLICT',_0x1143bb[_0x25bc2e(0x1f3)]=_0x25bc2e(0x1f3),_0x1143bb['JOIN_ROOM_FAILED']=_0x25bc2e(0xc8),_0x1143bb[_0x25bc2e(0x25e)]=_0x25bc2e(0x25e),_0x1143bb[_0x25bc2e(0x3fa)]=_0x25bc2e(0x3fa),_0x1143bb[_0x25bc2e(0x137)]=_0x25bc2e(0x137),_0x1143bb))(_0x2ce557||{});class _0x5876ed{constructor(){var _0x26e6aa=_0x25bc2e;_0x427f66(this,_0x26e6aa(0x1a2),new _0x94b51a[(_0x26e6aa(0x215))]()),_0x427f66(this,_0x26e6aa(0x1c3),this['_event$'][_0x26e6aa(0x23d)]());}[_0x25bc2e(0x298)](_0x1d1008){var _0x51fb14=_0x25bc2e;this['_event$'][_0x51fb14(0x37a)](_0x1d1008);}}const _0x3c13f4=_0x223e3d[_0x25bc2e(0x14e)](_0x25bc2e(0x263));function _0x3c8130(_0x2c73dd){var _0x47d909=_0x25bc2e,_0x438810,_0x597788,_0x59d909,_0x450b04,_0x2f7da7;const _0x3414c0=_0x2c73dd[_0x47d909(0xe2)],_0x4c7f09=JSON[_0x47d909(0x330)](_0x3414c0);switch(_0x4c7f09[_0x47d909(0x1f5)]){case _0x320311[_0x47d909(0x23b)]:case _0x320311[_0x47d909(0x94)]:{const _0x9aa577=_0x4c7f09[_0x47d909(0x406)];return{..._0x4c7f09,'data':_0x9aa577,'cmd':_0x4c7f09[_0x47d909(0x1f5)]};}case _0x320311[_0x47d909(0x25b)]:{const _0x5d7bd0=_0x4c7f09[_0x47d909(0x202)];return{..._0x4c7f09,'data':_0x5d7bd0,'cmd':_0x4c7f09[_0x47d909(0x1f5)]};}case _0x320311[_0x47d909(0x281)]:{const _0x320c4d=_0x4c7f09[_0x47d909(0xe6)];switch(_0x320c4d[_0x47d909(0x2e6)]){case _0x39217d['CollaborationEvent'][_0x47d909(0x3ea)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':(_0x438810=_0x320c4d['permissionRejEvent'])==null?void 0x0:_0x438810['cs']},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x185)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':(_0x597788=_0x320c4d[_0x47d909(0x29d)])==null?void 0x0:_0x597788['cs']},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x3ed)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':(_0x59d909=_0x320c4d[_0x47d909(0x287)])==null?void 0x0:_0x59d909['cs']},'cmd':_0x4c7f09['cmd']};case _0x39217d['CollaborationEvent'][_0x47d909(0x240)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':(_0x450b04=_0x320c4d[_0x47d909(0x1e7)])==null?void 0x0:_0x450b04['cs']},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x4c7f09,'data':{..._0x320c4d,'data':(_0x2f7da7=_0x320c4d['csShouldRetryEvent'])==null?void 0x0:_0x2f7da7['cs']},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x1ed)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x306)]},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d['CollaborationEvent'][_0x47d909(0x1a1)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x3f2)]},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x1f0)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x29c)]},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d['CollaborationEvent'][_0x47d909(0x2a2)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x3a9)]},'cmd':_0x4c7f09['cmd']};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x25d)]:case _0x39217d[_0x47d909(0x149)][_0x47d909(0xde)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x192)]},'cmd':_0x4c7f09['cmd']};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x1cb)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x3a9)]},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x12f)]:return{..._0x4c7f09,'data':_0x320c4d,'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d['CollaborationEvent']['COMMENT_UPDATE']:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0xf4)]},'cmd':_0x4c7f09['cmd']};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x380)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d['updatePermissionObjEvent']},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d[_0x47d909(0x149)][_0x47d909(0x27a)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d[_0x47d909(0x3b8)]},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};case _0x39217d['CollaborationEvent'][_0x47d909(0x2c5)]:return{..._0x4c7f09,'data':{..._0x320c4d,'data':_0x320c4d['uniscriptRunEvent']},'cmd':_0x4c7f09[_0x47d909(0x1f5)]};default:return _0x4c7f09;}}default:return _0x4c7f09;}}function _0x553b29(_0x252104){var _0x4238a5=_0x25bc2e;switch(_0x252104[_0x4238a5(0x1f5)]){case _0x320311['HEARTBEAT']:case _0x320311[_0x4238a5(0x94)]:return JSON[_0x4238a5(0x2db)]({'cmd':_0x252104[_0x4238a5(0x1f5)],'routeKey':_0x252104['routeKey']});case _0x320311[_0x4238a5(0x2d9)]:{let _0x4e6580;switch(_0x252104['data'][_0x4238a5(0x2e6)]){case _0x39217d[_0x4238a5(0x149)][_0x4238a5(0x1ed)]:{_0x4e6580={'eventID':_0x39217d[_0x4238a5(0x149)][_0x4238a5(0x1ed)],'updateCursorEvent':_0x252104[_0x4238a5(0xe2)][_0x4238a5(0xe2)]};break;}case _0x39217d[_0x4238a5(0x149)][_0x4238a5(0x1f0)]:{_0x4e6580={'eventID':_0x39217d[_0x4238a5(0x149)][_0x4238a5(0x1f0)],'leaveEvent':_0x252104[_0x4238a5(0xe2)][_0x4238a5(0xe2)]};break;}case _0x39217d['CollaborationEvent'][_0x4238a5(0x1a1)]:{_0x4e6580={'eventID':_0x39217d[_0x4238a5(0x149)]['USERS_ENTER'],'joinEvent':_0x252104[_0x4238a5(0xe2)]['data']};break;}case _0x39217d['CollaborationEvent'][_0x4238a5(0x2a2)]:{_0x4e6580={'eventID':_0x39217d[_0x4238a5(0x149)][_0x4238a5(0x2a2)],'liveShareNewHost':_0x252104[_0x4238a5(0xe2)][_0x4238a5(0xe2)]};break;}case _0x39217d[_0x4238a5(0x149)][_0x4238a5(0xde)]:{_0x4e6580={'eventID':_0x39217d[_0x4238a5(0x149)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x252104[_0x4238a5(0xe2)]['data']};break;}case _0x39217d[_0x4238a5(0x149)]['LIVESHARE_TERMINATE']:{_0x4e6580={'eventID':_0x39217d[_0x4238a5(0x149)][_0x4238a5(0x1cb)],'liveShareTerminate':_0x252104['data'][_0x4238a5(0xe2)]};break;}case _0x39217d['CollaborationEvent'][_0x4238a5(0x2bd)]:{_0x4e6580={'eventID':_0x39217d['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x252104['data'][_0x4238a5(0xe2)]};break;}case _0x39217d['CollaborationEvent'][_0x4238a5(0x25d)]:{_0x4e6580={'eventID':_0x39217d['CollaborationEvent'][_0x4238a5(0x25d)]};break;}default:_0x4e6580={'eventID':_0x252104[_0x4238a5(0xe2)][_0x4238a5(0x2e6)]};}return JSON['stringify']({'cmd':_0x252104['cmd'],'routeKey':_0x252104['routeKey'],'collaMsg':_0x4e6580});}case _0x320311[_0x4238a5(0x25b)]:return JSON['stringify']({'cmd':_0x252104[_0x4238a5(0x1f5)],'routeKey':_0x252104['routeKey'],'joinReq':_0x252104[_0x4238a5(0xe2)]});case _0x320311['LEAVE']:return JSON['stringify']({'cmd':_0x252104['cmd'],'routeKey':_0x252104['routeKey'],'leaveReq':_0x252104[_0x4238a5(0xe2)]});default:throw new Error(_0x4238a5(0x3a3));}}var _0xf7843a=Object[_0x25bc2e(0x1e6)],_0x231e33=(_0x22abdb,_0x272c34,_0x20a599,_0x5292ad)=>{var _0x400158=_0x25bc2e;for(var _0x11d35d=_0x5292ad>0x1?void 0x0:_0x5292ad?_0xf7843a(_0x272c34,_0x20a599):_0x272c34,_0x4f2bf9=_0x22abdb[_0x400158(0xdd)]-0x1,_0x20f8d6;_0x4f2bf9>=0x0;_0x4f2bf9--)(_0x20f8d6=_0x22abdb[_0x4f2bf9])&&(_0x11d35d=_0x20f8d6(_0x11d35d)||_0x11d35d);return _0x11d35d;},_0x35a98c=(_0x24fbcf,_0x2633e4)=>(_0x565f31,_0x3d1909)=>_0x2633e4(_0x565f31,_0x3d1909,_0x24fbcf);const _0x450019=_0x223e3d[_0x25bc2e(0x14e)](_0x25bc2e(0x296));function _0x46e5f7(_0x22bfc1,_0x416e6b,_0x599346){var _0x53669c=_0x25bc2e;return _0x22bfc1+'/'+_0x416e6b+_0x53669c(0x416)+_0x599346+_0x53669c(0x2a1);}_0x3aa05b[_0x25bc2e(0x3be)]=class extends _0x223e3d[_0x25bc2e(0x14c)]{constructor(_0xcb91f6,_0x177500,_0x283654,_0x238f1a,_0x2b57c5){var _0x164c1f=_0x25bc2e;super(),this['_injector']=_0xcb91f6,this[_0x164c1f(0x31c)]=_0x177500,this[_0x164c1f(0x292)]=_0x283654,this[_0x164c1f(0x411)]=_0x238f1a,this['_snapshotServerService']=_0x2b57c5;}['_doCreateSocket'](_0x215bff){var _0xc8a59=_0x25bc2e;const _0x547565=this[_0xc8a59(0x325)]['get'](_0x23fe84[_0xc8a59(0x273)]);if(!_0x547565)throw new Error(_0xc8a59(0x389));const _0x567420=_0x547565['createSocket'](_0x215bff);if(!_0x567420)throw new Error(_0xc8a59(0x132));const _0x56424a=new _0x223e3d[(_0xc8a59(0x160))](),_0x486f1a=new _0x94b51a['Subject']();_0x56424a[_0xc8a59(0x302)](_0x567420[_0xc8a59(0x20f)][_0xc8a59(0x195)](_0x7f7eee=>_0x486f1a[_0xc8a59(0x37a)](_0x7f7eee))),_0x56424a[_0xc8a59(0x302)](_0x223e3d['toDisposable'](()=>_0x486f1a[_0xc8a59(0x3d0)]()));const _0x2eafb0=new _0x94b51a[(_0xc8a59(0x215))]();_0x56424a['add'](_0x567420['error$'][_0xc8a59(0x195)](_0x207862=>_0x2eafb0['next'](_0x207862))),_0x56424a['add'](_0x223e3d[_0xc8a59(0x13d)](()=>_0x2eafb0['complete']()));const _0x1c579b=new _0x94b51a[(_0xc8a59(0x215))]();_0x56424a['add'](_0x567420['message$'][_0xc8a59(0x195)](_0x10f9f4=>{var _0x4288b4=_0xc8a59;const _0x22cc24=_0x3c8130(_0x10f9f4);_0x1c579b[_0x4288b4(0x37a)](_0x22cc24);})),_0x56424a[_0xc8a59(0x302)](_0x223e3d[_0xc8a59(0x13d)](()=>_0x1c579b[_0xc8a59(0x3d0)]()));let _0xfe6966;const _0x151c31=()=>{var _0x5c605e=_0xc8a59;_0x2eafb0[_0x5c605e(0x37a)](new Event('connection\x20error')),_0x486f1a[_0x5c605e(0x37a)](new Event(_0x5c605e(0x345))),_0xfe6966[_0x5c605e(0x100)]();};return _0xfe6966={'memberID':'','close$':_0x486f1a[_0xc8a59(0x23d)](),'error$':_0x2eafb0[_0xc8a59(0x23d)](),'open$':_0x567420['open$'],'message$':_0x1c579b[_0xc8a59(0x23d)](),'send':_0x2b8d5e=>{var _0x319c63=_0xc8a59;if(_0x2b8d5e[_0x319c63(0x1f5)]===_0x320311['INGEST']){if(_0x2b8d5e[_0x319c63(0xe2)][_0x319c63(0x2e6)]===_0x39217d[_0x319c63(0x149)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0xfe6966,_0x2b8d5e[_0x319c63(0xe2)])[_0x319c63(0x293)](_0x514a2d=>{this['_logService']['error'](_0x514a2d),_0x151c31();});return;}if(_0x2b8d5e['data']['eventID']===_0x39217d[_0x319c63(0x149)][_0x319c63(0x173)]){const _0x4dcd9f=_0x2b8d5e['data'];this[_0x319c63(0x22b)](_0x4dcd9f)[_0x319c63(0x10a)](_0x3c4932=>{var _0x288291=_0x319c63;_0x1c579b[_0x288291(0x37a)]({'cmd':_0x320311['RECV'],'code':_0x4078b6['OK'],'routeKey':_0x4dcd9f[_0x288291(0xe2)][_0x288291(0x1ae)],'routeType':'','data':{'eventID':_0x39217d['CollaborationEvent'][_0x288291(0x2b2)],'data':{'changesets':_0x3c4932}}});})[_0x319c63(0x293)](_0x133d86=>{var _0x4c9df8=_0x319c63;this[_0x4c9df8(0x411)][_0x4c9df8(0x3db)](_0x133d86),_0x151c31();});return;}}_0x567420[_0x319c63(0xbf)](_0x553b29(_0x2b8d5e));},'close':()=>{var _0x4e03d3=_0xc8a59;_0x567420[_0x4e03d3(0x100)](),_0x56424a['dispose']();}},_0xfe6966;}async[_0x25bc2e(0xed)](_0x5b6ed6,_0x1bbea7){var _0x3607c5=_0x25bc2e,_0x53eff1,_0x2afb2e;const {unitType:_0x28dde9,unitID:_0x28ce07,changeset:_0xf49df0}=_0x1bbea7[_0x3607c5(0xe2)],_0x5e1c0e={'unitID':_0x28ce07,'memberID':_0x5b6ed6[_0x3607c5(0x16c)],'type':_0x28dde9,'changeset':_0x39217d[_0x3607c5(0x398)](_0xf49df0)},_0x277ee6=this[_0x3607c5(0x292)][_0x3607c5(0x151)](_0x5a4d16),_0x10301a=this[_0x3607c5(0x292)][_0x3607c5(0x151)](_0x67dd2f),_0x422037=_0x46e5f7((_0x2afb2e=(_0x53eff1=_0x10301a==null?void 0x0:_0x10301a[_0x3607c5(0x3c1)])!=null?_0x53eff1:_0x277ee6)!=null?_0x2afb2e:_0x668f7c,_0x28dde9,_0x28ce07);try{await this['_httpService'][_0x3607c5(0x10f)](_0x422037,{'body':_0x5e1c0e});}catch(_0x55851e){throw this['_logService'][_0x3607c5(0x3db)](_0x3607c5(0x12e),_0x3607c5(0x209)),_0x55851e;}}async[_0x25bc2e(0x22b)](_0x134cd9){var _0x35a529=_0x25bc2e;const {unitID:_0x31a261,from:_0x1ce6b5,to:_0x53ce94,unitType:_0x222c29}=_0x134cd9['data'];return(await this['_snapshotServerService'][_0x35a529(0x2a9)]({'metadata':void 0x0},{'unitID':_0x31a261,'type':_0x222c29,'from':_0x1ce6b5,'to':_0x53ce94}))['changesets'];}},_0x3aa05b['CollaborationSocketService']=_0x231e33([_0x35a98c(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d['Injector'])),_0x35a98c(0x1,_0x223e3d[_0x25bc2e(0x1b8)](_0x23fe84[_0x25bc2e(0x2a4)])),_0x35a98c(0x2,_0x223e3d[_0x25bc2e(0x316)]),_0x35a98c(0x3,_0x223e3d[_0x25bc2e(0x15b)]),_0x35a98c(0x4,_0x39217d[_0x25bc2e(0x3e1)])],_0x3aa05b[_0x25bc2e(0x3be)]);const _0xf9dcb2=_0x25bc2e(0x134);function _0x3a52ff(_0x2fa10b){var _0x1821d0=_0x25bc2e;return JSON[_0x1821d0(0x2db)](_0x2fa10b)['length'];}class _0x2384b8{constructor(){var _0x115b1a=_0x25bc2e;_0x427f66(this,_0x115b1a(0x2e2),new _0x94b51a['Subject']()),_0x427f66(this,_0x115b1a(0x162),this[_0x115b1a(0x2e2)][_0x115b1a(0x23d)]());}['onCommentUpdate'](_0x17ef91){var _0x5e81b2=_0x25bc2e;this[_0x5e81b2(0x2e2)][_0x5e81b2(0x37a)](_0x17ef91);}}var _0x131fa5=Object['getOwnPropertyDescriptor'],_0x5176f1=(_0x2c19c1,_0x36e344,_0x26ac01,_0x4ef6c9)=>{var _0x130aaf=_0x25bc2e;for(var _0x165f8a=_0x4ef6c9>0x1?void 0x0:_0x4ef6c9?_0x131fa5(_0x36e344,_0x26ac01):_0x36e344,_0x188793=_0x2c19c1[_0x130aaf(0xdd)]-0x1,_0x414fb7;_0x188793>=0x0;_0x188793--)(_0x414fb7=_0x2c19c1[_0x188793])&&(_0x165f8a=_0x414fb7(_0x165f8a)||_0x165f8a);return _0x165f8a;},_0x870392=(_0x5629c3,_0x1b9ea6)=>(_0x29d0fa,_0x3e4710)=>_0x1b9ea6(_0x29d0fa,_0x3e4710,_0x5629c3);_0x3aa05b[_0x25bc2e(0x373)]=class extends _0x223e3d[_0x25bc2e(0x14c)]{constructor(_0x3adae1,_0x52ecf9){var _0xbf568c=_0x25bc2e;super(),_0x427f66(this,_0xbf568c(0x120),new Map()),_0x427f66(this,'_roomCreated$',new _0x94b51a[(_0xbf568c(0x215))]()),(this[_0xbf568c(0x300)]=_0x3adae1,this['_userManagerService']=_0x52ecf9,this[_0xbf568c(0x414)](_0x94b51a['merge'](this[_0xbf568c(0x300)][_0xbf568c(0xfd)](_0x223e3d[_0xbf568c(0x3b3)][_0xbf568c(0x2ae)])[_0xbf568c(0x2ac)](_0x54b879[_0xbf568c(0x390)](_0x25c701=>_0x25c701[_0xbf568c(0x278)]())),this['_univerInstanceService'][_0xbf568c(0xfd)](_0x223e3d[_0xbf568c(0x3b3)][_0xbf568c(0x17e)])[_0xbf568c(0x2ac)](_0x54b879[_0xbf568c(0x390)](_0x3d27ac=>_0x3d27ac[_0xbf568c(0x278)]())),this[_0xbf568c(0x300)]['getTypeOfUnitDisposed$'](_0x223e3d[_0xbf568c(0x3b3)][_0xbf568c(0x1da)])[_0xbf568c(0x2ac)](_0x54b879[_0xbf568c(0x390)](_0x5ccb6e=>_0x5ccb6e[_0xbf568c(0x278)]())))[_0xbf568c(0x195)](_0x11e62c=>this['_removeRoom'](_0x11e62c))));}[_0x25bc2e(0x307)](_0x543f66){var _0xe54b8d=_0x25bc2e;return this[_0xe54b8d(0x120)][_0xe54b8d(0x11e)](_0x543f66)?_0x94b51a['of'](this[_0xe54b8d(0x120)][_0xe54b8d(0x3c9)](_0x543f66)):this[_0xe54b8d(0x14b)][_0xe54b8d(0x2ac)](_0x54b879['map'](_0x50f40c=>{var _0x452f1b=_0xe54b8d;if(_0x50f40c===_0x543f66)return this[_0x452f1b(0x120)][_0x452f1b(0x3c9)](_0x50f40c);}));}[_0x25bc2e(0x166)](_0x1247f2){var _0x165432=_0x25bc2e;this[_0x165432(0x2f2)]['setCurrentUser'](_0x1247f2);}[_0x25bc2e(0x2d3)](){var _0x5b5d91=_0x25bc2e;return this['_userManagerService'][_0x5b5d91(0x2d3)]();}[_0x25bc2e(0x2d4)](_0x2ce764,_0x14a4fe){var _0x2d223e=_0x25bc2e;let _0x165778=this[_0x2d223e(0x120)][_0x2d223e(0x3c9)](_0x2ce764);_0x165778||(_0x165778=new _0x14d817(),this[_0x2d223e(0x120)][_0x2d223e(0xe9)](_0x2ce764,_0x165778),this[_0x2d223e(0x14b)]['next'](_0x2ce764)),_0x165778[_0x2d223e(0x2d4)](_0x14a4fe);}[_0x25bc2e(0x40d)](_0x5d3c1a,_0x2bfe80){var _0x335d1c=_0x25bc2e;const _0x14b61e=this[_0x335d1c(0x120)][_0x335d1c(0x3c9)](_0x5d3c1a);_0x14b61e&&_0x14b61e[_0x335d1c(0x40d)](_0x2bfe80);}[_0x25bc2e(0x2ca)](_0x5a6c56){var _0x54400e=_0x25bc2e;return this['_roomMembers'][_0x54400e(0x3c9)](_0x5a6c56);}[_0x25bc2e(0xe7)](_0x35b693,_0x240bf3){var _0x467cc9=_0x25bc2e;const _0x28c4df=this[_0x467cc9(0x120)]['get'](_0x35b693);if(_0x28c4df)return _0x28c4df[_0x467cc9(0xe7)](_0x240bf3);}[_0x25bc2e(0x167)](_0x179523){var _0x48c704=_0x25bc2e;const _0x95109c=this[_0x48c704(0x120)][_0x48c704(0x3c9)](_0x179523);_0x95109c&&(_0x95109c[_0x48c704(0x3b5)](),this['_roomMembers'][_0x48c704(0x218)](_0x179523));}[_0x25bc2e(0x3b5)](){var _0xd1024b=_0x25bc2e;this['_roomMembers']['forEach'](_0x8283bd=>_0x8283bd[_0xd1024b(0x3b5)]()),this[_0xd1024b(0x120)][_0xd1024b(0x3ff)](),this[_0xd1024b(0x14b)][_0xd1024b(0x3d0)]();}},_0x3aa05b[_0x25bc2e(0x373)]=_0x5176f1([_0x870392(0x0,_0x223e3d['IUniverInstanceService']),_0x870392(0x1,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x3e0)]))],_0x3aa05b[_0x25bc2e(0x373)]);class _0x14d817 extends _0x223e3d[_0x25bc2e(0x14c)]{constructor(){var _0x7c6f79=_0x25bc2e;super(...arguments),_0x427f66(this,'_members',new Map()),_0x427f66(this,_0x7c6f79(0x40e),new _0x94b51a[(_0x7c6f79(0xd7))](this[_0x7c6f79(0xfe)])),_0x427f66(this,_0x7c6f79(0x336),this['_members$'][_0x7c6f79(0x23d)]());}[_0x25bc2e(0x3b5)](){var _0x400c7a=_0x25bc2e;this[_0x400c7a(0xfe)][_0x400c7a(0x3ff)]();}[_0x25bc2e(0x2d4)](_0x87ec5d){var _0x37fd94=_0x25bc2e;this[_0x37fd94(0xfe)][_0x37fd94(0xe9)](_0x87ec5d[_0x37fd94(0x16c)],_0x87ec5d),this[_0x37fd94(0x106)]();}[_0x25bc2e(0x40d)](_0x5a27ff){this['_members']['delete'](_0x5a27ff);}['getMember'](_0x238f37){var _0x59538b=_0x25bc2e;return this['_members'][_0x59538b(0x3c9)](_0x238f37);}[_0x25bc2e(0x1f1)](){var _0x168486=_0x25bc2e;return Array[_0x168486(0x107)](this[_0x168486(0xfe)]['values']());}[_0x25bc2e(0x106)](){var _0x3b0e53=_0x25bc2e;this[_0x3b0e53(0x40e)][_0x3b0e53(0x37a)](this[_0x3b0e53(0xfe)]);}}var _0x3f4deb=Object[_0x25bc2e(0x1e6)],_0x2e2695=(_0x12cba3,_0x4c499b,_0x1e65ad,_0x1b8ae5)=>{var _0x21c371=_0x25bc2e;for(var _0x55408a=_0x1b8ae5>0x1?void 0x0:_0x1b8ae5?_0x3f4deb(_0x4c499b,_0x1e65ad):_0x4c499b,_0x397c15=_0x12cba3[_0x21c371(0xdd)]-0x1,_0x3807a5;_0x397c15>=0x0;_0x397c15--)(_0x3807a5=_0x12cba3[_0x397c15])&&(_0x55408a=_0x3807a5(_0x55408a)||_0x55408a);return _0x55408a;},_0x38cca6=(_0x5c7f11,_0x58cd38)=>(_0x4cab02,_0x1141f5)=>_0x58cd38(_0x4cab02,_0x1141f5,_0x5c7f11),_0x3034e7=(_0x598b75=>(_0x598b75[_0x598b75[_0x25bc2e(0x102)]=0x0]=_0x25bc2e(0x102),_0x598b75[_0x598b75['JOINING']=0x1]=_0x25bc2e(0xba),_0x598b75[_0x598b75['OFFLINE']=0x2]=_0x25bc2e(0x171),_0x598b75[_0x598b75[_0x25bc2e(0x231)]=0x3]=_0x25bc2e(0x231),_0x598b75))(_0x3034e7||{});const _0x382e8b={[_0x4078b6['FAIL']]:_0x25bc2e(0xa6),[_0x4078b6[_0x25bc2e(0x1ee)]]:_0x25bc2e(0x1ef),[_0x4078b6[_0x25bc2e(0x212)]]:_0x25bc2e(0x239),[_0x4078b6[_0x25bc2e(0x20e)]]:'session.room-permission-denied',[_0x4078b6[_0x25bc2e(0x19b)]]:_0x25bc2e(0x407)};_0x3aa05b['CollaborationSession']=class extends _0x223e3d[_0x25bc2e(0xa7)]{constructor(_0xc40b56,_0x312982,_0x537133,_0x48b4e2,_0x4cf41f,_0x235af0,_0x5c0da5,_0x1570aa,_0xc6084a){var _0x56d202=_0x25bc2e;super(),_0x427f66(this,_0x56d202(0x2b8),new _0x94b51a[(_0x56d202(0xd7))](0x0)),_0x427f66(this,_0x56d202(0x38b),this[_0x56d202(0x2b8)][_0x56d202(0x23d)]()),_0x427f66(this,_0x56d202(0x1a2),new _0x94b51a[(_0x56d202(0x215))]()),_0x427f66(this,_0x56d202(0x1c3),this['_event$'][_0x56d202(0x23d)]()),_0x427f66(this,_0x56d202(0x317)),_0x427f66(this,_0x56d202(0x24d)),_0x427f66(this,_0x56d202(0x2d5)),_0x427f66(this,_0x56d202(0x3a4),!0x1),_0x427f66(this,_0x56d202(0xa5),null),(this[_0x56d202(0x362)]=_0xc40b56,this['_logService']=_0x537133,this['_configService']=_0x48b4e2,this[_0x56d202(0x163)]=_0x4cf41f,this[_0x56d202(0x216)]=_0x235af0,this['_commentService']=_0x5c0da5,this[_0x56d202(0x270)]=_0x1570aa,this[_0x56d202(0xe0)]=_0xc6084a,this[_0x56d202(0x3a4)]=!!this[_0x56d202(0xe0)],_0x312982[_0x56d202(0x2ac)](_0x94b51a[_0x56d202(0x169)](this[_0x56d202(0x347)]))['subscribe'](_0x3ad9f4=>{var _0x57592f=_0x56d202,_0x6302e1;typeof _0x3ad9f4>'u'||(this[_0x57592f(0x317)]=_0x3ad9f4,_0x3ad9f4?(this[_0x57592f(0x1d4)](_0x3ad9f4),this['_socketMessageSubscription']=_0x3ad9f4[_0x57592f(0x31e)][_0x57592f(0x195)](_0x1aa2b9=>{var _0x35005d=_0x57592f;_0x1aa2b9[_0x35005d(0x237)]===this[_0x35005d(0x362)]&&this['_onCombEvent'](_0x1aa2b9);})):(this[_0x57592f(0xf5)](),this[_0x57592f(0x2b8)][_0x57592f(0x37a)](0x2),(_0x6302e1=this[_0x57592f(0x24d)])==null||_0x6302e1[_0x57592f(0x1de)](),this[_0x57592f(0x24d)]=null));}));}get[_0x25bc2e(0x257)](){var _0x95f74a=_0x25bc2e;return this[_0x95f74a(0x2b8)]['getValue']();}[_0x25bc2e(0x299)](){var _0x57b03f=_0x25bc2e,_0x57765d,_0x7786f1;return(_0x7786f1=(_0x57765d=this[_0x57b03f(0x317)])==null?void 0x0:_0x57765d[_0x57b03f(0x16c)])!=null?_0x7786f1:null;}['dispose'](){var _0x2353cf=_0x25bc2e;super[_0x2353cf(0x3b5)](),this['dispose$'][_0x2353cf(0x37a)](),this[_0x2353cf(0x347)][_0x2353cf(0x3d0)]();}[_0x25bc2e(0x100)](){var _0x277810=_0x25bc2e,_0x44f399,_0x56b217;this[_0x277810(0xf5)](),(_0x44f399=this[_0x277810(0x317)])==null||_0x44f399['send']({'cmd':_0x320311[_0x277810(0x3c2)],'data':{'roomID':this[_0x277810(0x362)]}}),(_0x56b217=this[_0x277810(0x317)])==null||_0x56b217['close'](),this[_0x277810(0x1a2)]['complete'](),this[_0x277810(0x2b8)][_0x277810(0x3d0)](),this[_0x277810(0x3b5)]();}[_0x25bc2e(0x1cd)](_0x5db446){var _0xacf986=_0x25bc2e;_0x5db446['cmd']===_0x320311[_0xacf986(0x25b)]?this[_0xacf986(0x2c7)](_0x5db446):_0x5db446[_0xacf986(0x1f5)]===_0x320311[_0xacf986(0x281)]&&this['_onRecvEvent'](_0x5db446);}[_0x25bc2e(0x1d4)](_0x1db9d4){var _0x2c44a6=_0x25bc2e;this[_0x2c44a6(0x2b8)][_0x2c44a6(0x37a)](0x1),_0x1db9d4[_0x2c44a6(0xbf)]({'cmd':_0x320311[_0x2c44a6(0x25b)],'routeKey':this[_0x2c44a6(0x362)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2c44a6(0x362)]}]}});}[_0x25bc2e(0x2c7)](_0x160f92){var _0x1b213c=_0x25bc2e,_0x2cf0c7;if(_0x160f92['code']in _0x382e8b){this[_0x1b213c(0x270)]['emitEvent']({'id':_0x2ce557[_0x1b213c(0xc8)],'data':_0x382e8b[_0x160f92[_0x1b213c(0x26b)]]}),this[_0x1b213c(0x2b8)]['next'](0x2);return;}this[_0x1b213c(0x2b8)][_0x1b213c(0x37a)](0x3);const _0x5dc001=(_0x2cf0c7=_0x160f92[_0x1b213c(0xe2)][_0x1b213c(0x1f6)][this[_0x1b213c(0x362)]])==null?void 0x0:_0x2cf0c7[_0x1b213c(0x2fd)];_0x5dc001&&_0x5dc001[_0x1b213c(0x3bc)](_0x52dab1=>this['_memberService'][_0x1b213c(0x2d4)](this[_0x1b213c(0x362)],_0x52dab1));}[_0x25bc2e(0x286)](_0x1bc9d3){var _0x54e462=_0x25bc2e;try{const _0x43d9e6=_0x1bc9d3['data'];switch(_0x43d9e6['eventID']){case _0x39217d[_0x54e462(0x149)]['USERS_ENTER']:this[_0x54e462(0x2f5)](_0x43d9e6),this[_0x54e462(0x1a2)][_0x54e462(0x37a)](_0x43d9e6);break;case _0x39217d[_0x54e462(0x149)][_0x54e462(0x1f0)]:this[_0x54e462(0x143)](_0x43d9e6),this[_0x54e462(0x1a2)][_0x54e462(0x37a)](_0x43d9e6);break;case _0x39217d[_0x54e462(0x149)][_0x54e462(0x185)]:case _0x39217d['CollaborationEvent'][_0x54e462(0x3ec)]:this[_0x54e462(0x393)](),this[_0x54e462(0x30f)](),this['_event$'][_0x54e462(0x37a)](_0x43d9e6);break;case _0x39217d[_0x54e462(0x149)]['MSG_FOR_ERROR']:this[_0x54e462(0x411)][_0x54e462(0x3db)](_0x54e462(0x234)+JSON[_0x54e462(0x2db)](_0x43d9e6)),this[_0x54e462(0x1a2)]['next'](_0x43d9e6);break;case _0x39217d['CollaborationEvent'][_0x54e462(0x2f7)]:this[_0x54e462(0x2dc)][_0x54e462(0x191)](_0x43d9e6['data']),this['_event$'][_0x54e462(0x37a)](_0x43d9e6);break;default:this[_0x54e462(0x1a2)][_0x54e462(0x37a)](_0x43d9e6);}}catch(_0x5e308e){this['_logService']['error'](_0x5e308e,_0x1bc9d3);}}[_0x25bc2e(0x2f5)](_0x327d76){var _0x15ccc1=_0x25bc2e;this[_0x15ccc1(0x216)]['updateMember'](this['_unitID'],_0x327d76[_0x15ccc1(0xe2)]);}[_0x25bc2e(0x143)](_0x55f5e4){var _0x1d78d4=_0x25bc2e;this[_0x1d78d4(0x216)]['removeMember'](this['_unitID'],_0x55f5e4[_0x1d78d4(0xe2)][_0x1d78d4(0x16c)]);}async[_0x25bc2e(0xbf)](_0x898e44,_0x5ce28b){var _0x18dd6e=_0x25bc2e;if(this[_0x18dd6e(0x257)]!==0x3||!this[_0x18dd6e(0x317)])throw new Error(_0x18dd6e(0xc5));try{_0x898e44[_0x18dd6e(0x2e6)]===_0x39217d[_0x18dd6e(0x149)][_0x18dd6e(0x274)]&&(this[_0x18dd6e(0x1f4)](),this[_0x18dd6e(0x32a)](_0x898e44)),this['_socket'][_0x18dd6e(0xbf)]({'cmd':_0x320311[_0x18dd6e(0x2d9)],'routeKey':_0x5ce28b,'routeType':'','data':_0x898e44});}catch(_0x45b7bf){this[_0x18dd6e(0x411)]['error'](_0x45b7bf);}}[_0x25bc2e(0x1f4)](){var _0x5a4000=_0x25bc2e,_0x43d935;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x5a57fe=_0x47c2;this[_0x5a57fe(0x2d5)]=null,this['_collaborationUIEventService']['emitEvent']({'id':_0x2ce557['SUBMIT_CHANGESET_TIMEOUT']});},(_0x43d935=this[_0x5a4000(0x292)][_0x5a4000(0x151)](_0x3c4235))!=null?_0x43d935:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x233f8f=_0x25bc2e;this[_0x233f8f(0x2d5)]&&(clearTimeout(this[_0x233f8f(0x2d5)]),this[_0x233f8f(0x2d5)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5efe70){var _0x2d41ee=_0x25bc2e;if(!this[_0x2d41ee(0x3a4)])return;const {data:_0x120134}=_0x5efe70,{unitID:_0x338de6,changeset:_0x46e2f7}=_0x120134,{mutations:_0x2e44f0,type:_0xa6f42e}=_0x46e2f7;this['_telemetryInfo']={'unitId':_0x338de6,'type':_0xa6f42e,'startTime':performance[_0x2d41ee(0xe1)](),'stopTime':0x0,'duration':0x0,'size':_0x3a52ff(_0x2e44f0)};}[_0x25bc2e(0x393)](){var _0x2da43=_0x25bc2e;if(this['_shouldReportTelemetry']){if(!this[_0x2da43(0xa5)]){this['_logService'][_0x2da43(0x3db)](_0x2da43(0x12e),_0x2da43(0x387));return;}this[_0x2da43(0xa5)]['stopTime']=performance[_0x2da43(0xe1)](),this[_0x2da43(0xa5)][_0x2da43(0x28a)]=this[_0x2da43(0xa5)][_0x2da43(0x308)]-this[_0x2da43(0xa5)][_0x2da43(0x1d7)],this[_0x2da43(0xe0)][_0x2da43(0x200)](_0xf9dcb2,this[_0x2da43(0xa5)]),this[_0x2da43(0xa5)]=null;}}[_0x25bc2e(0xf5)](){this['_telemetryInfo']=null;}},_0x3aa05b[_0x25bc2e(0x1d0)]=_0x2e2695([_0x38cca6(0x2,_0x223e3d[_0x25bc2e(0x15b)]),_0x38cca6(0x3,_0x223e3d[_0x25bc2e(0x316)]),_0x38cca6(0x4,_0x223e3d['Inject'](_0x223e3d[_0x25bc2e(0x1c2)])),_0x38cca6(0x5,_0x223e3d[_0x25bc2e(0x1b8)](_0x3aa05b[_0x25bc2e(0x373)])),_0x38cca6(0x6,_0x223e3d[_0x25bc2e(0x1b8)](_0x2384b8)),_0x38cca6(0x7,_0x223e3d[_0x25bc2e(0x1b8)](_0x5876ed)),_0x38cca6(0x8,_0x223e3d[_0x25bc2e(0x1cc)](_0x4f69fe['ITelemetryService']))],_0x3aa05b[_0x25bc2e(0x1d0)]);var _0x2caaab=Object[_0x25bc2e(0x1e6)],_0x99e54e=(_0x1310ed,_0x4a4807,_0x218cee,_0x5b2609)=>{for(var _0x3c4ef3=_0x5b2609>0x1?void 0x0:_0x5b2609?_0x2caaab(_0x4a4807,_0x218cee):_0x4a4807,_0x6da02c=_0x1310ed['length']-0x1,_0x112dd7;_0x6da02c>=0x0;_0x6da02c--)(_0x112dd7=_0x1310ed[_0x6da02c])&&(_0x3c4ef3=_0x112dd7(_0x3c4ef3)||_0x3c4ef3);return _0x3c4ef3;},_0x4b6bcd=(_0x145757,_0x24cb59)=>(_0x2acb48,_0x58d367)=>_0x24cb59(_0x2acb48,_0x58d367,_0x145757);_0x3aa05b[_0x25bc2e(0x1e5)]=class extends _0x223e3d['Disposable']{constructor(_0x415c4e,_0x34cb33,_0x14067c,_0x1a0127,_0x485da8,_0x558f7d){var _0x1ed01e=_0x25bc2e;super(),_0x427f66(this,_0x1ed01e(0x37c),new _0x94b51a[(_0x1ed01e(0xd7))](void 0x0)),_0x427f66(this,_0x1ed01e(0x1e9),this['_socket$'][_0x1ed01e(0x23d)]()),_0x427f66(this,_0x1ed01e(0x3ca),null),_0x427f66(this,'_sessions',new Map()),_0x427f66(this,_0x1ed01e(0x275),new _0x94b51a[(_0x1ed01e(0xd7))](_0x3034e7[_0x1ed01e(0x102)])),_0x427f66(this,_0x1ed01e(0x2ef),this[_0x1ed01e(0x275)][_0x1ed01e(0x23d)]()),_0x427f66(this,_0x1ed01e(0x13b),!0x1),_0x427f66(this,_0x1ed01e(0x2ce)),_0x427f66(this,'_retryCount',0x0),_0x427f66(this,_0x1ed01e(0x276)),_0x427f66(this,'_timeoutTimer'),(this['_injector']=_0x415c4e,this['_logService']=_0x34cb33,this[_0x1ed01e(0x292)]=_0x14067c,this[_0x1ed01e(0x20a)]=_0x1a0127,this['_collaborationUIEventService']=_0x485da8,this[_0x1ed01e(0x243)]=_0x558f7d,this['_listenToNetworkCondition']());}get[_0x25bc2e(0x317)](){var _0x31a2f4=_0x25bc2e;return this[_0x31a2f4(0x37c)]['getValue']();}[_0x25bc2e(0x3b0)](){var _0x1e9f2f=_0x25bc2e;this[_0x1e9f2f(0x243)]&&this[_0x1e9f2f(0x414)](this[_0x1e9f2f(0x243)][_0x1e9f2f(0x284)][_0x1e9f2f(0x195)](_0x16ff60=>{var _0x170c9c=_0x1e9f2f;_0x16ff60&&!this[_0x170c9c(0x317)]&&this[_0x170c9c(0x1b1)](),_0x16ff60||this[_0x170c9c(0xb8)]();}));}[_0x25bc2e(0x3b5)](){var _0x2fb650=_0x25bc2e;super[_0x2fb650(0x3b5)](),this[_0x2fb650(0x3c4)](),this['_clearTimeoutTimer'](),this[_0x2fb650(0x3a1)](),this[_0x2fb650(0x144)][_0x2fb650(0x3bc)](_0x53b40a=>_0x53b40a[_0x2fb650(0x3b5)]()),this[_0x2fb650(0x144)][_0x2fb650(0x3ff)](),this[_0x2fb650(0x275)]['complete']();}async[_0x25bc2e(0x337)](_0x48ed29){var _0x4c7ed5=_0x25bc2e;if(this[_0x4c7ed5(0x144)]['has'](_0x48ed29))return this[_0x4c7ed5(0x144)]['get'](_0x48ed29);this[_0x4c7ed5(0x1bf)]();const _0x4a4bf4=this['_injector']['createInstance'](_0x3aa05b[_0x4c7ed5(0x1d0)],_0x48ed29,this[_0x4c7ed5(0x37c)][_0x4c7ed5(0x23d)]());return this[_0x4c7ed5(0x144)][_0x4c7ed5(0xe9)](_0x48ed29,_0x4a4bf4),_0x4a4bf4;}[_0x25bc2e(0x16e)](_0x4f6211){var _0x158572=_0x25bc2e,_0x38979d;const _0x2043bc=this[_0x158572(0x144)][_0x158572(0x3c9)](_0x4f6211);_0x2043bc&&(this[_0x158572(0x144)][_0x158572(0x218)](_0x4f6211),_0x2043bc['close']()),this['_sessions']['size']||(_0x38979d=this[_0x158572(0x317)])==null||_0x38979d[_0x158572(0x100)]();}[_0x25bc2e(0x1b1)](){var _0x57934=_0x25bc2e;this[_0x57934(0x228)]=0x0,this[_0x57934(0x3c4)](),this[_0x57934(0x3f7)]();}['_clearRetryConnectingTimer'](){var _0x56a8ad=_0x25bc2e;this[_0x56a8ad(0x2ce)]!=null&&(clearTimeout(this[_0x56a8ad(0x2ce)]),this[_0x56a8ad(0x2ce)]=null);}async[_0x25bc2e(0x3e3)](){var _0x5bc9db=_0x25bc2e,_0x53412a,_0x2513df;const _0x87639d=this['_configService']['getConfig'](_0x11fd71),_0x185d2e=this[_0x5bc9db(0x292)][_0x5bc9db(0x151)](_0x67dd2f),_0x2a11b9=(_0x2513df=(_0x53412a=_0x185d2e==null?void 0x0:_0x185d2e[_0x5bc9db(0x397)])!=null?_0x53412a:_0x87639d)!=null?_0x2513df:_0x26ac59,_0x3b622f=await this[_0x5bc9db(0x20a)]['createSocket'](_0x2a11b9);return this[_0x5bc9db(0x3ca)]=_0x3b622f,_0x3b622f;}async[_0x25bc2e(0x1bf)](){var _0x244afa=_0x25bc2e,_0x275ab3,_0x3089da;try{const _0x536b43=(_0x3089da=(_0x275ab3=this[_0x244afa(0x317)])!=null?_0x275ab3:this[_0x244afa(0x3ca)])!=null?_0x3089da:await this[_0x244afa(0x3e3)]();if(_0x536b43){const _0x104a1b=_0x536b43[_0x244afa(0xbf)];_0x536b43[_0x244afa(0xbf)]=_0x20ecbd=>(this['_rescheduleHeartbeat'](),_0x104a1b[_0x244afa(0x280)](_0x536b43,[_0x20ecbd])),_0x536b43['message$']['subscribe'](_0xa6296=>this[_0x244afa(0x297)](_0x536b43,_0xa6296)),_0x536b43[_0x244afa(0x28e)][_0x244afa(0x2ac)](_0x54b879[_0x244afa(0x229)](0x1))[_0x244afa(0x195)](_0x559f22=>this['_logService'][_0x244afa(0x3db)](_0x244afa(0x18d),_0x559f22)),_0x536b43[_0x244afa(0x3e4)][_0x244afa(0x2ac)](_0x54b879[_0x244afa(0x229)](0x1))['subscribe'](()=>{var _0x3a53e0=_0x244afa;this[_0x3a53e0(0x186)](_0x536b43);}),_0x536b43['close$'][_0x244afa(0x2ac)](_0x54b879[_0x244afa(0x229)](0x1))[_0x244afa(0x195)](_0xa12042=>{var _0x1f3a34=_0x244afa;this[_0x1f3a34(0x411)][_0x1f3a34(0xdf)](_0x1f3a34(0x2d7),_0x1f3a34(0xb0),_0xa12042),this[_0x1f3a34(0x164)]();});}}catch(_0x23c0f8){this[_0x244afa(0x411)][_0x244afa(0x3db)](_0x23c0f8),this[_0x244afa(0x164)]();}}[_0x25bc2e(0x186)](_0x5b20c4){var _0x4f9e2e=_0x25bc2e;this[_0x4f9e2e(0x411)][_0x4f9e2e(0xdf)](_0x4f9e2e(0x2d7),_0x4f9e2e(0x371)),_0x5b20c4[_0x4f9e2e(0xbf)]({'cmd':_0x320311['HELLO']}),this[_0x4f9e2e(0xfb)]();}[_0x25bc2e(0xb8)](){var _0x57f7a2=_0x25bc2e;this[_0x57f7a2(0x13b)]=!0x1,this[_0x57f7a2(0x3ca)]=null,this[_0x57f7a2(0x275)][_0x57f7a2(0x37a)](_0x3034e7['OFFLINE']),this[_0x57f7a2(0x37c)]['next'](null),this[_0x57f7a2(0x1fe)](),this['_clearHeartbeatTimer']();}[_0x25bc2e(0x164)](){var _0x41e310=_0x25bc2e,_0x4f5c1a;this[_0x41e310(0xb8)](),this[_0x41e310(0x228)]<((_0x4f5c1a=this['_configService'][_0x41e310(0x151)](_0x31d749))!=null?_0x4f5c1a:0x3)?(this[_0x41e310(0x270)][_0x41e310(0x298)]({'id':_0x2ce557['SOCKET_FAILED_RETRY']}),this[_0x41e310(0x3f7)]()):this[_0x41e310(0x270)][_0x41e310(0x298)]({'id':_0x2ce557[_0x41e310(0x3fa)]});}[_0x25bc2e(0x3f7)](){var _0x44e37e=_0x25bc2e,_0x11687b;const _0x11342f=this[_0x44e37e(0x228)],_0x3be181=this['_configService']['getConfig'](_0x67dd2f),_0x4e04fe=_0x11342f===0x0?0x0:((_0x11687b=_0x3be181==null?void 0x0:_0x3be181['retryConnectingInterval'])!=null?_0x11687b:0x4e20)*0x2**_0x11342f;this['_retryConnectingTimer']=setTimeout(()=>{var _0x48d143=_0x44e37e;clearTimeout(this[_0x48d143(0x2ce)]),this[_0x48d143(0x2ce)]=null,this[_0x48d143(0x1bf)]();},_0x4e04fe),this[_0x44e37e(0x228)]+=0x1;}[_0x25bc2e(0x297)](_0x2ccca3,_0x21e431){var _0x46ca31=_0x25bc2e;const {cmd:_0x4ab318}=_0x21e431;_0x4ab318===_0x320311[_0x46ca31(0x94)]&&!this[_0x46ca31(0x13b)]&&(_0x2ccca3[_0x46ca31(0x16c)]=_0x21e431['data'][_0x46ca31(0x16c)],this['_socket$'][_0x46ca31(0x37a)](_0x2ccca3),this[_0x46ca31(0x275)][_0x46ca31(0x37a)](_0x3034e7['ONLINE']),this[_0x46ca31(0x13b)]=!0x0,this[_0x46ca31(0x3ca)]=null),_0x4ab318===_0x320311[_0x46ca31(0x23b)]&&this['_clearTimeoutTimer'](),this[_0x46ca31(0xfb)]();}[_0x25bc2e(0xfb)](){var _0x2684ec=_0x25bc2e,_0x5b4405;this['_clearHeartbeatTimer'](),this[_0x2684ec(0x276)]=setTimeout(()=>this[_0x2684ec(0x206)](),(_0x5b4405=this[_0x2684ec(0x292)][_0x2684ec(0x151)](_0xb53dff))!=null?_0x5b4405:0x7530);}[_0x25bc2e(0x206)](){var _0x5e7df7=_0x25bc2e;this['_socket'][_0x5e7df7(0xbf)]({'cmd':_0x320311[_0x5e7df7(0x23b)]}),this[_0x5e7df7(0x161)]();}['_waitForHeartbeatResponse'](){var _0x226713=_0x25bc2e,_0x5691a0;this[_0x226713(0x1b5)]=setTimeout(()=>this[_0x226713(0x164)](),(_0x5691a0=this[_0x226713(0x292)]['getConfig'](_0x3c4235))!=null?_0x5691a0:0x4e20);}[_0x25bc2e(0x3a1)](){var _0x14a371=_0x25bc2e;this[_0x14a371(0x276)]!=null&&(clearTimeout(this[_0x14a371(0x276)]),this[_0x14a371(0x276)]=null);}[_0x25bc2e(0x1fe)](){var _0x1c084e=_0x25bc2e;this[_0x1c084e(0x1b5)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1c084e(0x1b5)]=null);}},_0x3aa05b[_0x25bc2e(0x1e5)]=_0x99e54e([_0x4b6bcd(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x4b6bcd(0x1,_0x223e3d['ILogService']),_0x4b6bcd(0x2,_0x223e3d[_0x25bc2e(0x316)]),_0x4b6bcd(0x3,_0x450019),_0x4b6bcd(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x5876ed)),_0x4b6bcd(0x5,_0x223e3d[_0x25bc2e(0x1cc)](_0x3c13f4))],_0x3aa05b[_0x25bc2e(0x1e5)]);const _0xb11ec9=[];for(let _0x41f356=0x0;_0x41f356<0x100;++_0x41f356)_0xb11ec9['push']((_0x41f356+0x100)['toString'](0x10)['slice'](0x1));function _0x56d928(_0x2673ff,_0x2d7a2e=0x0){return(_0xb11ec9[_0x2673ff[_0x2d7a2e+0x0]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x1]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x2]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x3]]+'-'+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x4]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x5]]+'-'+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x6]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x7]]+'-'+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x8]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0x9]]+'-'+_0xb11ec9[_0x2673ff[_0x2d7a2e+0xa]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0xb]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0xc]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0xd]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0xe]]+_0xb11ec9[_0x2673ff[_0x2d7a2e+0xf]])['toLowerCase']();}let _0x112f07;const _0x147ba1=new Uint8Array(0x10);function _0x84c26d(){var _0x34640b=_0x25bc2e;if(!_0x112f07){if(typeof crypto>'u'||!crypto[_0x34640b(0x290)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x112f07=crypto[_0x34640b(0x290)]['bind'](crypto);}return _0x112f07(_0x147ba1);}const _0x445580={'randomUUID':typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x25bc2e(0x2ea)][_0x25bc2e(0x2bf)](crypto)};function _0x20f700(_0x20a1f8,_0x837982,_0x4eca0a){var _0x21c0bb=_0x25bc2e,_0x43bd94,_0x36fc42,_0x10af4a;if(_0x445580[_0x21c0bb(0x2ea)]&&!_0x20a1f8)return _0x445580[_0x21c0bb(0x2ea)]();_0x20a1f8=_0x20a1f8||{};const _0x4b2a70=(_0x10af4a=(_0x36fc42=_0x20a1f8['random'])!=null?_0x36fc42:(_0x43bd94=_0x20a1f8[_0x21c0bb(0x2ed)])==null?void 0x0:_0x43bd94[_0x21c0bb(0x38a)](_0x20a1f8))!=null?_0x10af4a:_0x84c26d();if(_0x4b2a70[_0x21c0bb(0xdd)]<0x10)throw new Error(_0x21c0bb(0x3dd));return _0x4b2a70[0x6]=_0x4b2a70[0x6]&0xf|0x40,_0x4b2a70[0x8]=_0x4b2a70[0x8]&0x3f|0x80,_0x56d928(_0x4b2a70);}const _0x4c0d6c=_0x223e3d[_0x25bc2e(0x14e)](_0x25bc2e(0x15f));function _0x4fd0fe(_0x3bb858){return'unit-cache-'+_0x3bb858;}var _0x2528d8=Object[_0x25bc2e(0x1e6)],_0x2c5735=(_0x29c053,_0x20a679,_0x486fa0,_0x235c73)=>{var _0x5a2951=_0x25bc2e;for(var _0x518135=_0x235c73>0x1?void 0x0:_0x235c73?_0x2528d8(_0x20a679,_0x486fa0):_0x20a679,_0x431782=_0x29c053[_0x5a2951(0xdd)]-0x1,_0x594934;_0x431782>=0x0;_0x431782--)(_0x594934=_0x29c053[_0x431782])&&(_0x518135=_0x594934(_0x518135)||_0x518135);return _0x518135;},_0x5e56b3=(_0x52a258,_0x54f3d1)=>(_0x6ddb27,_0x234ae6)=>_0x54f3d1(_0x6ddb27,_0x234ae6,_0x52a258);function _0x43843d(_0x52dead){var _0x46061e=_0x25bc2e;const {unitID:_0x2a4b51,mutations:_0x576b13}=_0x52dead;return{'unitId':_0x2a4b51,'subUnitId':_0x576b13[0x0][_0x46061e(0x2df)][_0x46061e(0x17b)]};}_0x3aa05b[_0x25bc2e(0x150)]=class{constructor(_0x488896,_0x377545,_0x565663){var _0x20d354=_0x25bc2e;this[_0x20d354(0x325)]=_0x488896,this['_transformService']=_0x377545,this[_0x20d354(0x210)]=_0x565663;}[_0x25bc2e(0x26a)](_0x3bca99){var _0x55f797=_0x25bc2e,_0xf0e26a,_0x2e5994,_0x1e2dc4,_0x2c04ef;const _0x10215c=this[_0x55f797(0x325)][_0x55f797(0x3c9)](_0x3a7ecf['SheetsSelectionsService']),{unitId:_0x4e3087,subUnitId:_0x517951}=_0x43843d(_0x3bca99),_0x41236e=_0x10215c==null?void 0x0:_0x10215c['getWorkbookSelections'](_0x4e3087)[_0x55f797(0xd3)](),_0x35b439=(_0x2e5994=(_0xf0e26a=this[_0x55f797(0x210)]['getUnit'](_0x4e3087))==null?void 0x0:_0xf0e26a['getActiveSheet']())==null?void 0x0:_0x2e5994['getSheetId']();if(_0x41236e[_0x55f797(0xdd)]===0x0||!_0x4e3087||!_0x517951)return;const _0x2deb05=[{'id':_0x3a7ecf[_0x55f797(0x113)]['id'],'params':{'unitId':_0x4e3087,'subUnitId':_0x35b439,'selections':_0x223e3d[_0x55f797(0x348)][_0x55f797(0x1b4)](_0x41236e)}}],_0x286141=this[_0x55f797(0x222)][_0x55f797(0x22a)](_0x3bca99,_0x2deb05);if(!_0x39217d['isTransformMutationsWithChangesetSuccess'](_0x286141))throw _0x286141[_0x55f797(0x3db)];const _0x57880d=(_0x2c04ef=(_0x1e2dc4=_0x286141[_0x55f797(0x2ff)][0x0])==null?void 0x0:_0x1e2dc4['params'])==null?void 0x0:_0x2c04ef[_0x55f797(0xa3)];if(Array[_0x55f797(0x1c7)](_0x57880d)&&_0x57880d[_0x55f797(0xdd)]){if(_0x57880d[_0x55f797(0xdd)]===_0x2deb05[0x0][_0x55f797(0x2df)][_0x55f797(0xa3)][_0x55f797(0xdd)]&&_0x57880d['every']((_0x20f103,_0x5e8a71)=>_0x223e3d[_0x55f797(0x403)][_0x55f797(0x108)](_0x20f103[_0x55f797(0x25f)],_0x2deb05[0x0][_0x55f797(0x2df)][_0x55f797(0xa3)][_0x5e8a71][_0x55f797(0x25f)])))return;this[_0x55f797(0x325)][_0x55f797(0x3c9)](_0x223e3d[_0x55f797(0x20c)])[_0x55f797(0x1b2)](_0x3a7ecf['SetSelectionsOperation']['id'],{'unitId':_0x4e3087,'subUnitId':_0x35b439,'selections':_0x57880d});}}},_0x3aa05b[_0x25bc2e(0x150)]=_0x2c5735([_0x5e56b3(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x5e56b3(0x1,_0x39217d[_0x25bc2e(0xeb)]),_0x5e56b3(0x2,_0x223e3d[_0x25bc2e(0x267)])],_0x3aa05b[_0x25bc2e(0x150)]);const _0x5cc7ba=_0x223e3d['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x1b0014=(_0x2a1337=>(_0x2a1337[_0x2a1337[_0x25bc2e(0x313)]=0x0]=_0x25bc2e(0x313),_0x2a1337[_0x2a1337[_0x25bc2e(0x1ca)]=0x1]='OTHER_CLIENTS_EDITING',_0x2a1337))(_0x1b0014||{});const _0x42b499=new Set([_0x3a7ecf[_0x25bc2e(0xf0)]['id']]);function _0x57beec(_0x1f9119,_0x2c9020,_0x142046,_0x782ccb,_0x52b2ae){var _0x5f4eb1=_0x25bc2e,_0x497893,_0x2c27d2,_0x2d0cea,_0x352a30;const _0x34504e=[];for(const _0x234b06 of _0x1f9119)if(_0x42b499[_0x5f4eb1(0x11e)](_0x234b06['id'])){if(_0x34504e[_0x5f4eb1(0xdd)]>0x0)break;_0x34504e[_0x5f4eb1(0x204)](_0x234b06);break;}else _0x34504e[_0x5f4eb1(0x204)](_0x234b06);const _0x23273e=(_0x2c27d2=(_0x497893=_0x52b2ae[_0x5f4eb1(0x2d3)]())==null?void 0x0:_0x497893['userID'])!=null?_0x2c27d2:_0x5f4eb1(0x1d3),_0x5d0954=(_0x352a30=(_0x2d0cea=_0x52b2ae[_0x5f4eb1(0x2d3)]())==null?void 0x0:_0x2d0cea[_0x5f4eb1(0x16c)])!=null?_0x352a30:_0x5f4eb1(0x1d3);return{'changeset':{'unitID':_0x2c9020,'type':_0x39217d[_0x5f4eb1(0x12a)](_0x142046['getUnitType'](_0x2c9020)),'baseRev':_0x782ccb['getCurrentRevOfUnit'](_0x2c9020),'revision':0x0,'userID':_0x23273e,'memberID':_0x5d0954,'mutations':_0x34504e},'pendingMutations':_0x1f9119[_0x5f4eb1(0xd1)](_0x34504e['length'])};}function _0x59a5cd(_0x2ad5a2,_0x1bf8b9,_0x28cca5,_0x57899b,_0x580574){var _0x22b6d9=_0x25bc2e,_0x46e34d,_0x546854,_0x36ff8f,_0x1bd302;const _0xcfdeae=[_0x2ad5a2[_0x22b6d9(0x277)]((_0x140cdc,_0x4fe814)=>{var _0x5c5356=_0x22b6d9,_0x29578b;const {id:_0x93e657}=_0x140cdc,{id:_0x313958,type:_0x547d9d}=_0x4fe814,_0x1f4393=(_0x29578b=_0x140cdc[_0x5c5356(0x2df)])!=null?_0x29578b:{'actions':null},_0x3cdc71=_0x4fe814[_0x5c5356(0x2df)];if(_0x93e657&&_0x93e657!==_0x313958)throw new Error(_0x5c5356(0x2d1)+_0x93e657+_0x5c5356(0xb7)+_0x313958+'.');return{..._0x140cdc,'id':_0x313958,'type':_0x547d9d,'params':{'unitId':_0x3cdc71[_0x5c5356(0x312)],'textRanges':_0x3cdc71[_0x5c5356(0x335)],'actions':_0x223e3d[_0x5c5356(0x2f9)][_0x5c5356(0x340)](_0x1f4393[_0x5c5356(0xa8)],_0x3cdc71['actions'])}};},{})],_0x59eafd=(_0x546854=(_0x46e34d=_0x580574[_0x22b6d9(0x2d3)]())==null?void 0x0:_0x46e34d[_0x22b6d9(0x111)])!=null?_0x546854:_0x22b6d9(0x1d3),_0x2cfee7=(_0x1bd302=(_0x36ff8f=_0x580574[_0x22b6d9(0x2d3)]())==null?void 0x0:_0x36ff8f[_0x22b6d9(0x16c)])!=null?_0x1bd302:_0x22b6d9(0x1d3);return{'changeset':{'unitID':_0x1bf8b9,'type':_0x39217d['mapDocumentTypeToUniverType'](_0x28cca5[_0x22b6d9(0xd5)](_0x1bf8b9)),'baseRev':_0x57899b['getCurrentRevOfUnit'](_0x1bf8b9),'revision':0x0,'userID':_0x59eafd,'memberID':_0x2cfee7,'mutations':_0xcfdeae},'pendingMutations':[]};}function _0x52ca08(_0x2ac0da,_0x2dfbde){var _0xac4412=_0x25bc2e;const _0x39fbfa=new _0x94b51a[(_0xac4412(0x2c0))](0x1);return setTimeout(()=>_0x39fbfa[_0xac4412(0x37a)](_0x2dfbde),_0x2ac0da),_0x39fbfa['asObservable']()['pipe'](_0x94b51a[_0xac4412(0x229)](0x1));}const _0xa3a5f9={'id':_0x3a7ecf[_0x25bc2e(0x225)]['id'],'type':_0x223e3d[_0x25bc2e(0xce)][_0x25bc2e(0xe8)],'params':{}};var _0x5b8c10=Object['getOwnPropertyDescriptor'],_0x3d2f38=(_0x181423,_0x1583db,_0x4ee4f1,_0x183fa5)=>{var _0xc3e09f=_0x25bc2e;for(var _0x5b539c=_0x183fa5>0x1?void 0x0:_0x183fa5?_0x5b8c10(_0x1583db,_0x4ee4f1):_0x1583db,_0x560dc6=_0x181423[_0xc3e09f(0xdd)]-0x1,_0x2ec09a;_0x560dc6>=0x0;_0x560dc6--)(_0x2ec09a=_0x181423[_0x560dc6])&&(_0x5b539c=_0x2ec09a(_0x5b539c)||_0x5b539c);return _0x5b539c;},_0x18248e=(_0x2e0cc0,_0x1946af)=>(_0x57164c,_0x3221d1)=>_0x1946af(_0x57164c,_0x3221d1,_0x2e0cc0),_0x4adeba=(_0x1675a0=>(_0x1675a0[_0x25bc2e(0x1cf)]='not_collab',_0x1675a0[_0x25bc2e(0x3d6)]=_0x25bc2e(0x2c9),_0x1675a0[_0x25bc2e(0x408)]=_0x25bc2e(0x18e),_0x1675a0[_0x25bc2e(0xf8)]=_0x25bc2e(0x24f),_0x1675a0[_0x25bc2e(0x315)]=_0x25bc2e(0x1a9),_0x1675a0[_0x25bc2e(0x3ee)]=_0x25bc2e(0x35e),_0x1675a0[_0x25bc2e(0xb3)]='conflict',_0x1675a0[_0x25bc2e(0x171)]='offline',_0x1675a0))(_0x4adeba||{});const _0x2af0f1=0xea60;class _0x4e7361{constructor(_0x20a247,_0x530f69,_0x1f52b8,_0x132453,_0x2784c2,_0x49bc94,_0x44c420,_0x5dcb4c,_0x4a08c5){var _0x39b1c3=_0x25bc2e;_0x427f66(this,_0x39b1c3(0x3ae),null),_0x427f66(this,'_pendingMutations',[]),(this['unitID']=_0x20a247,this['type']=_0x530f69,this[_0x39b1c3(0x1fa)]=_0x2784c2,this[_0x39b1c3(0x35f)]=_0x49bc94,this[_0x39b1c3(0x21c)]=_0x44c420,this[_0x39b1c3(0x323)]=_0x5dcb4c,this['_localCacheService']=_0x4a08c5,this[_0x39b1c3(0x3ae)]=_0x1f52b8,this[_0x39b1c3(0x1e2)]=_0x132453);}[_0x25bc2e(0x35a)](_0x274dad){var _0x4a07f1=_0x25bc2e;const _0xde1182=this[_0x4a07f1(0x323)]['getCurrentRevOfUnit'](this[_0x4a07f1(0x1ae)]);return _0x274dad[_0x4a07f1(0x2cb)]>_0xde1182+0x1?(this[_0x4a07f1(0x1fa)]['onMissingChangesets']({'from':_0xde1182,'to':_0x274dad[_0x4a07f1(0x2cb)]-0x1}),!0x0):!0x1;}[_0x25bc2e(0x2b1)](_0x3ef070){var _0x82867e=_0x25bc2e;this[_0x82867e(0x21c)][_0x82867e(0xc6)](this[_0x82867e(0x1ae)],_0x3ef070);}['_transformSelections'](_0x529e83){var _0x3d24d8=_0x25bc2e,_0x4e4288,_0x4e69d6;(_0x4e69d6=(_0x4e4288=this['_handler'])[_0x3d24d8(0x327)])==null||_0x4e69d6['call'](_0x4e4288,_0x529e83);}[_0x25bc2e(0x16d)](_0x2078ff){var _0x13c7c4=_0x25bc2e,_0x38bcb5,_0x1ea3c0;return(_0x1ea3c0=(_0x38bcb5=this[_0x13c7c4(0x1fa)])[_0x13c7c4(0x15e)])==null?void 0x0:_0x1ea3c0[_0x13c7c4(0x38a)](_0x38bcb5,_0x2078ff);}[_0x25bc2e(0xdb)](_0x36e273){var _0x11c4b8=_0x25bc2e,_0x28b2cc,_0x559c09;return(_0x559c09=(_0x28b2cc=this[_0x11c4b8(0x1fa)])['onTransformState'])==null?void 0x0:_0x559c09[_0x11c4b8(0x38a)](_0x28b2cc,_0x36e273);}[_0x25bc2e(0x354)](_0x15ebb2){var _0x102cc8=_0x25bc2e,_0x3dae8a,_0x30057b,_0x3978fb;return(_0x3978fb=(_0x30057b=(_0x3dae8a=this['_handler'])[_0x102cc8(0x10e)])==null?void 0x0:_0x30057b['call'](_0x3dae8a,_0x15ebb2))!=null?_0x3978fb:_0x15ebb2;}[_0x25bc2e(0x1b9)](_0x4ce719){var _0x3492c8=_0x25bc2e,_0x232bd7,_0x5314ee,_0x16d7ad;return(_0x16d7ad=(_0x5314ee=(_0x232bd7=this[_0x3492c8(0x1fa)])[_0x3492c8(0x331)])==null?void 0x0:_0x5314ee['call'](_0x232bd7,_0x4ce719))!=null?_0x16d7ad:_0x4ce719;}[_0x25bc2e(0x201)](_0x47810c){var _0x5a8737=_0x25bc2e,_0x35e15b,_0x53122e;if(this[_0x5a8737(0x255)]===_0x5e14aa[_0x5a8737(0x17e)]){const {unitID:_0x3b2fcc,mutations:_0x117290,memberID:_0x297373}=_0x47810c,_0x10fc48=_0x117290[0x0][_0x5a8737(0x2df)][_0x5a8737(0x335)];Array[_0x5a8737(0x1c7)](_0x10fc48)&&_0x10fc48[_0x5a8737(0xdd)]>0x0&&((_0x53122e=(_0x35e15b=this[_0x5a8737(0x1fa)])['onSyncEditingCollabCursor'])==null||_0x53122e['call'](_0x35e15b,{'unitID':_0x3b2fcc,'memberID':_0x297373,'textRanges':_0x10fc48}));}}[_0x25bc2e(0xf7)](){var _0x5596c1=_0x25bc2e,_0xbc6a73;(_0xbc6a73=this[_0x5596c1(0x2e4)])==null||_0xbc6a73[_0x5596c1(0x1a3)](this[_0x5596c1(0x1ae)],this[_0x5596c1(0x255)],this['_awaitingChangeset'],this[_0x5596c1(0x1e2)]);}[_0x25bc2e(0x3f6)](){var _0x10d769=_0x25bc2e;return this[_0x10d769(0x323)]['getCurrentRevOfUnit'](this['unitID']);}[_0x25bc2e(0x349)](){var _0x80eb71=_0x25bc2e;this[_0x80eb71(0x323)][_0x80eb71(0x2cf)](this[_0x80eb71(0x1ae)]);}[_0x25bc2e(0x399)](_0x36f6e3){var _0x492840=_0x25bc2e,_0x29f0ec;let _0x4ab281=this['_transformRemoteChangesetByIMECache'](_0x36f6e3);_0x4ab281=this['_transformRemoteChangesetByStateCache'](_0x4ab281);const _0x251a2e=_0x223e3d[_0x492840(0x39a)](_0x4ab281[_0x492840(0x3e8)],this[_0x492840(0x35f)],{'fromCollab':!0x0});if(!_0x251a2e['result'])throw _0x251a2e[_0x492840(0x3db)]instanceof Error?_0x251a2e[_0x492840(0x3db)]:new Error((_0x29f0ec=_0x251a2e['error'])!=null?_0x29f0ec:_0x492840(0x3b4));this[_0x492840(0x16d)](_0x4ab281),this['_transformStateCache'](_0x4ab281),this['_transformUndoredo'](_0x36f6e3),this[_0x492840(0x214)](_0x4ab281),this['_syncEditingCollabCursor'](_0x4ab281),this[_0x492840(0x349)]();}}_0x3aa05b[_0x25bc2e(0x34a)]=class extends _0x4e7361{constructor(_0x4c9518,_0x17f7bb,_0xff253c,_0x5017db,_0x1fd12d,_0x4c5553,_0x4d831b,_0x565e15,_0xca641,_0x4c31bb){var _0x372c5e=_0x25bc2e;super(_0x4c9518,_0x17f7bb,null,[],_0xff253c,_0x4d831b,_0x4c5553,_0x5017db,_0x4c31bb),_0x427f66(this,'status',_0x372c5e(0x2c9)),(this['_injector']=_0x1fd12d,this[_0x372c5e(0x411)]=_0x565e15,this[_0x372c5e(0x222)]=_0xca641,this['localCacheService']=_0x4c31bb);}['appendMutation'](_0x4a7ad3){var _0x37ff2d=_0x25bc2e;const _0x22913e=this[_0x37ff2d(0x325)][_0x37ff2d(0x310)](_0x3aa05b[_0x37ff2d(0x119)],this['unitID'],this[_0x37ff2d(0x255)],[_0x4a7ad3],this['_handler']);return _0x22913e[_0x37ff2d(0x99)](),_0x22913e['_updateLocalCache'](),_0x22913e;}[_0x25bc2e(0x136)](_0x1ec3f3){var _0x3131ef=_0x25bc2e;if(this[_0x3131ef(0x35a)](_0x1ec3f3))return this[_0x3131ef(0x325)]['createInstance'](_0x3aa05b['FetchingMissState'],this[_0x3131ef(0x1ae)],this['type'],null,[],null,[_0x1ec3f3],this['_handler']);try{const _0x40897a=this['_transformService'][_0x3131ef(0x22a)](_0x1ec3f3,[_0xa3a5f9]);if(_0x39217d[_0x3131ef(0x291)](_0x40897a)){const {c1Prime:_0x436b65}=_0x40897a;return this[_0x3131ef(0x399)](_0x436b65),this;}throw _0x40897a[_0x3131ef(0x3db)];}catch(_0x328f0b){return this[_0x3131ef(0x411)][_0x3131ef(0x3db)](_0x328f0b),this['_onConflict'](!0x1);}}[_0x25bc2e(0x23f)](_0x5a9cb5){var _0x2db1f3=_0x25bc2e;return this[_0x2db1f3(0x325)][_0x2db1f3(0x310)](_0x3aa05b[_0x2db1f3(0x372)],this[_0x2db1f3(0x1ae)],this[_0x2db1f3(0x255)],null,[],this['_handler'],_0x5a9cb5);}[_0x25bc2e(0x40b)](){var _0x401585=_0x25bc2e;throw new Error(_0x401585(0x1af));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x25bc2e(0x391)](){return this;}['toggleOffline'](){var _0x3c423c=_0x25bc2e;return this['_injector'][_0x3c423c(0x310)](_0x3aa05b['OfflineState'],this['unitID'],this[_0x3c423c(0x255)],null,[],this['_handler']);}[_0x25bc2e(0x358)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x25bc2e(0x2b6)](){var _0x24872f=_0x25bc2e;const _0x3948c3=this[_0x24872f(0x323)][_0x24872f(0x30e)](this[_0x24872f(0x1ae)]);return this[_0x24872f(0x1fa)][_0x24872f(0x220)]({'from':_0x3948c3,'to':0x0}),this[_0x24872f(0x325)][_0x24872f(0x310)](_0x3aa05b[_0x24872f(0x35d)],this[_0x24872f(0x1ae)],this[_0x24872f(0x255)],null,[],null,[],this[_0x24872f(0x1fa)]);}},_0x3aa05b[_0x25bc2e(0x34a)]=_0x3d2f38([_0x18248e(0x3,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x18248e(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x18248e(0x5,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0x6,_0x223e3d[_0x25bc2e(0x20c)]),_0x18248e(0x7,_0x223e3d['ILogService']),_0x18248e(0x8,_0x39217d['ITransformService']),_0x18248e(0x9,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0x34a)]),_0x3aa05b[_0x25bc2e(0x119)]=class extends _0x4e7361{constructor(_0x2e321a,_0x54f3dd,_0x100de2,_0x478567,_0x4a9e43,_0x493981,_0x4554fd,_0x2f965e,_0x47f6ea,_0x567871,_0xb463f0,_0x105608,_0x1f2788,_0x3fa4ea){var _0x46b1c2=_0x25bc2e;super(_0x2e321a,_0x54f3dd,null,_0x100de2,_0x478567,_0x47f6ea,_0x1f2788,_0x493981,_0x3fa4ea),_0x427f66(this,_0x46b1c2(0x145),_0x46b1c2(0x18e)),_0x427f66(this,'_scheduleCompleteTimestamp',null),_0x427f66(this,'_sendingTimer',null),(this[_0x46b1c2(0x325)]=_0x4a9e43,this[_0x46b1c2(0x216)]=_0x4554fd,this[_0x46b1c2(0x411)]=_0x2f965e,this[_0x46b1c2(0x292)]=_0x567871,this['_transformService']=_0xb463f0,this[_0x46b1c2(0x300)]=_0x105608);}['appendMutation'](_0x3481a2){var _0x43ce9b=_0x25bc2e;return this[_0x43ce9b(0x1e2)][_0x43ce9b(0x204)](_0x3481a2),this['_updateLocalCache'](),this;}[_0x25bc2e(0x136)](_0x4162d4){var _0x1d74a4=_0x25bc2e;if(this[_0x1d74a4(0x35a)](_0x4162d4))return this[_0x1d74a4(0x1d5)](),this[_0x1d74a4(0x325)][_0x1d74a4(0x310)](_0x3aa05b[_0x1d74a4(0x35d)],this[_0x1d74a4(0x1ae)],this[_0x1d74a4(0x255)],null,this['_pendingMutations'],null,[_0x4162d4],this[_0x1d74a4(0x1fa)]);try{const _0x4ab60c=this[_0x1d74a4(0x222)]['transformMutationsWithChangeset'](_0x4162d4,this['_pendingMutations']);if(_0x39217d[_0x1d74a4(0x291)](_0x4ab60c)){const {c1Prime:_0x47692f,m2Prime:_0x316b6d}=_0x4ab60c;this[_0x1d74a4(0x399)](_0x47692f);const _0x59374b=this[_0x1d74a4(0x325)][_0x1d74a4(0x310)](_0x3aa05b[_0x1d74a4(0x119)],this[_0x1d74a4(0x1ae)],this[_0x1d74a4(0x255)],_0x316b6d,this[_0x1d74a4(0x1fa)]);this[_0x1d74a4(0x1d5)]();const _0x58fe52=new Date()['getTime'](),_0x4f1ce7=this[_0x1d74a4(0x29a)]?Math[_0x1d74a4(0x103)](this[_0x1d74a4(0x29a)]-_0x58fe52,0x0):this[_0x1d74a4(0x140)]();return _0x59374b[_0x1d74a4(0x99)](_0x4f1ce7),_0x59374b;}throw _0x4ab60c[_0x1d74a4(0x3db)];}catch(_0x1cdfa5){return this['_logService'][_0x1d74a4(0x3db)](_0x1cdfa5),this[_0x1d74a4(0x23f)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x298f57=_0x25bc2e;throw new Error(_0x298f57(0x1a5));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x3125bd=_0x25bc2e;return this[_0x3125bd(0x1d5)](),this[_0x3125bd(0x325)]['createInstance'](_0x3aa05b[_0x3125bd(0xf3)],this['unitID'],this[_0x3125bd(0x255)],null,this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x25bc2e(0x99)](_0x295d7f){var _0x40bc42=_0x25bc2e;const _0x377060=_0x295d7f!=null?_0x295d7f:this[_0x40bc42(0x140)]();this[_0x40bc42(0x29a)]=new Date()[_0x40bc42(0xc0)]()+_0x377060,this[_0x40bc42(0x395)]=setTimeout(()=>{var _0x226926=_0x40bc42;this[_0x226926(0x1d5)]();let _0x4d8f7d=null;switch(this[_0x226926(0x255)]){case _0x5e14aa[_0x226926(0x2ae)]:{_0x4d8f7d=_0x57beec(this[_0x226926(0x1e2)],this[_0x226926(0x1ae)],this['_univerInstanceService'],this[_0x226926(0x323)],this[_0x226926(0x216)]);break;}case _0x5e14aa[_0x226926(0x17e)]:{this[_0x226926(0x1e2)][_0x226926(0x9a)](_0x3fb00e=>_0x3fb00e['id']===_0x444d4c[_0x226926(0x21d)]['id'])?_0x4d8f7d=_0x59a5cd(this[_0x226926(0x1e2)],this['unitID'],this[_0x226926(0x300)],this[_0x226926(0x323)],this[_0x226926(0x216)]):_0x4d8f7d=_0x57beec(this[_0x226926(0x1e2)],this['unitID'],this['_univerInstanceService'],this[_0x226926(0x323)],this[_0x226926(0x216)]);break;}default:throw new Error(_0x226926(0xf2)+this['type']+_0x226926(0x252));}const {changeset:_0x886796,pendingMutations:_0x508e73}=_0x4d8f7d;this['_handler']['onSendChangeset'](_0x886796);const _0xc31d1b=_0x508e73[_0x226926(0xdd)]?this['_injector']['createInstance'](_0x3aa05b[_0x226926(0x271)],this['unitID'],this['type'],_0x886796,_0x508e73,this[_0x226926(0x1fa)],void 0x0):this[_0x226926(0x325)][_0x226926(0x310)](_0x3aa05b['AwaitingState'],this[_0x226926(0x1ae)],this[_0x226926(0x255)],_0x886796,this['_handler']);_0xc31d1b[_0x226926(0xf7)](),this[_0x226926(0x1fa)][_0x226926(0x359)](this,_0xc31d1b);},_0x377060);}[_0x25bc2e(0x140)](){var _0x289ac0=_0x25bc2e,_0x321ff3;const _0x268f8d=this[_0x289ac0(0x292)][_0x289ac0(0x151)](_0x67dd2f);return(_0x321ff3=_0x268f8d==null?void 0x0:_0x268f8d[_0x289ac0(0xcc)])!=null?_0x321ff3:0x7d0;}[_0x25bc2e(0x230)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x25bc2e(0x1d5)](){var _0x544a53=_0x25bc2e;this[_0x544a53(0x395)]!=null&&(clearTimeout(this[_0x544a53(0x395)]),this['_sendingTimer']=null);}['_onConflict'](_0x25d027){var _0x3a7752=_0x25bc2e;return this[_0x3a7752(0x1d5)](),this[_0x3a7752(0x325)][_0x3a7752(0x310)](_0x3aa05b[_0x3a7752(0x372)],this[_0x3a7752(0x1ae)],this[_0x3a7752(0x255)],null,this[_0x3a7752(0x1e2)],this[_0x3a7752(0x1fa)],_0x25d027);}},_0x3aa05b[_0x25bc2e(0x119)]=_0x3d2f38([_0x18248e(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x18248e(0x5,_0x223e3d['Inject'](_0x39217d['RevisionService'])),_0x18248e(0x6,_0x223e3d['Inject'](_0x3aa05b['MemberService'])),_0x18248e(0x7,_0x223e3d[_0x25bc2e(0x15b)]),_0x18248e(0x8,_0x223e3d[_0x25bc2e(0x20c)]),_0x18248e(0x9,_0x223e3d[_0x25bc2e(0x316)]),_0x18248e(0xa,_0x39217d['ITransformService']),_0x18248e(0xb,_0x223e3d[_0x25bc2e(0x267)]),_0x18248e(0xc,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0xd,_0x223e3d['Optional'](_0x4c0d6c))],_0x3aa05b['PendingState']),_0x3aa05b[_0x25bc2e(0x3bd)]=class extends _0x4e7361{constructor(_0x513303,_0x30b828,_0x47e689,_0x26bbce,_0x412334,_0x4507fb,_0x47b9bf,_0x1ff26e,_0x45098d,_0xecf192,_0x250f38){var _0x24ea3b=_0x25bc2e;super(_0x513303,_0x30b828,_0x47e689,[],_0x26bbce,_0x47b9bf,_0xecf192,_0x4507fb,_0x250f38),_0x427f66(this,_0x24ea3b(0x145),_0x24ea3b(0x24f)),_0x427f66(this,_0x24ea3b(0x350),0x0),_0x427f66(this,'_resendTimer'),_0x427f66(this,_0x24ea3b(0x21e)),(this[_0x24ea3b(0x325)]=_0x412334,this[_0x24ea3b(0x411)]=_0x1ff26e,this[_0x24ea3b(0x222)]=_0x45098d);}[_0x25bc2e(0x147)](_0x1a0c96){var _0x4085d8=_0x25bc2e;this[_0x4085d8(0x1d5)]();const _0x462b7e=this[_0x4085d8(0x325)][_0x4085d8(0x310)](_0x3aa05b[_0x4085d8(0x271)],this['unitID'],this['type'],this['_awaitingChangeset'],[_0x1a0c96],this[_0x4085d8(0x1fa)],this[_0x4085d8(0x405)]);return _0x462b7e[_0x4085d8(0xf7)](),_0x462b7e;}[_0x25bc2e(0x136)](_0x8436a6){var _0x3c103a=_0x25bc2e;if(this['_checkMissing'](_0x8436a6))return this['_clearScheduledTask'](),this[_0x3c103a(0x325)][_0x3c103a(0x310)](_0x3aa05b[_0x3c103a(0x35d)],this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x8436a6],this['_handler']);try{const _0x2fd1a6=this[_0x3c103a(0x222)][_0x3c103a(0xd0)]([_0x8436a6],[this[_0x3c103a(0x3ae)]],!0x1);if(_0x39217d[_0x3c103a(0x30c)](_0x2fd1a6)){const {c1Prime:_0x34c905,c2Prime:_0x8c0460}=_0x2fd1a6;this['_executeRemoteChangeset'](_0x34c905[0x0]),_0x8c0460[0x0][_0x3c103a(0x146)]=this[_0x3c103a(0x3f6)](),this['_clearScheduledTask']();const _0x2d5aa2=this[_0x3c103a(0x325)][_0x3c103a(0x310)](_0x3aa05b[_0x3c103a(0x3bd)],this['unitID'],this[_0x3c103a(0x255)],_0x8c0460[0x0],this[_0x3c103a(0x1fa)]);return _0x2d5aa2['_updateLocalCache'](),_0x2d5aa2;}return this[_0x3c103a(0x23f)](!0x1);}catch(_0x3d8a60){return this['_logService']['error'](_0x3d8a60),this[_0x3c103a(0x23f)](!0x1);}}[_0x25bc2e(0x40b)](_0x39584e){var _0x3550a0=_0x25bc2e;this[_0x3550a0(0x1d5)]();const _0x54ff66=this[_0x3550a0(0x323)]['getCurrentRevOfUnit'](this['unitID']);if(_0x39584e[_0x3550a0(0x2cb)]<_0x54ff66-0x1)return this;if(this[_0x3550a0(0x35a)](_0x39584e))return this[_0x3550a0(0x325)][_0x3550a0(0x310)](_0x3aa05b[_0x3550a0(0x35d)],this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x3550a0(0x1fa)]);this[_0x3550a0(0x349)]();const _0x1d2e5e=this[_0x3550a0(0x325)][_0x3550a0(0x310)](_0x3aa05b[_0x3550a0(0x34a)],this[_0x3550a0(0x1ae)],this[_0x3550a0(0x255)],this[_0x3550a0(0x1fa)]);return _0x1d2e5e[_0x3550a0(0xf7)](),_0x1d2e5e;}[_0x25bc2e(0x153)](_0x2e8402){var _0x571c56=_0x25bc2e;return this['_onConflict'](!!(_0x2e8402!=null&&_0x2e8402[_0x571c56(0x33a)]));}['onRemoteRetry'](_0x40b4dc){var _0xab7e81=_0x25bc2e;return this[_0xab7e81(0x350)]>_0x2af0f1?this[_0xab7e81(0x250)]():(this[_0xab7e81(0x405)]=_0x52ca08(this[_0xab7e81(0x350)],{'timeout':this['_resendTimeout'],'reqId':_0x40b4dc[_0xab7e81(0x24a)]}),this[_0xab7e81(0x21e)]=this[_0xab7e81(0x405)][_0xab7e81(0x195)](({reqId:_0x39eac0,timeout:_0x2cefd8})=>{var _0x46b6a8=_0xab7e81;this[_0x46b6a8(0x24e)](_0x39eac0,_0x2cefd8);}),this);}['toggleOffline'](){var _0x43840e=_0x25bc2e;return this[_0x43840e(0x1d5)](),this['_injector'][_0x43840e(0x310)](_0x3aa05b[_0x43840e(0xf3)],this[_0x43840e(0x1ae)],this[_0x43840e(0x255)],this[_0x43840e(0x3ae)],[],this[_0x43840e(0x1fa)]);}[_0x25bc2e(0x358)](){return this;}[_0x25bc2e(0x230)](){var _0x465e49=_0x25bc2e;this[_0x465e49(0x1fa)][_0x465e49(0x2f3)](this[_0x465e49(0x3ae)]);}[_0x25bc2e(0x23f)](_0x353fc3){var _0x117c39=_0x25bc2e;return this[_0x117c39(0x1d5)](),this[_0x117c39(0x325)][_0x117c39(0x310)](_0x3aa05b[_0x117c39(0x372)],this[_0x117c39(0x1ae)],this['type'],this['_awaitingChangeset'],[],this[_0x117c39(0x1fa)],_0x353fc3);}[_0x25bc2e(0x24e)](_0x2a94b9,_0x2bcc6c){var _0x238bfd=_0x25bc2e,_0x1e6419;_0x2a94b9===((_0x1e6419=this[_0x238bfd(0x3ae)])==null?void 0x0:_0x1e6419[_0x238bfd(0x24a)])&&(this['resend'](),this[_0x238bfd(0x350)]=_0x2bcc6c===0x0?0x3e8:_0x2bcc6c*0x2);}[_0x25bc2e(0x1d5)](){var _0x54d1bb=_0x25bc2e,_0x1fa012;(_0x1fa012=this[_0x54d1bb(0x21e)])==null||_0x1fa012[_0x54d1bb(0x1de)](),this['_resendTimeout']=0x0;}},_0x3aa05b[_0x25bc2e(0x3bd)]=_0x3d2f38([_0x18248e(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x18248e(0x5,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d['RevisionService'])),_0x18248e(0x6,_0x223e3d[_0x25bc2e(0x20c)]),_0x18248e(0x7,_0x223e3d[_0x25bc2e(0x15b)]),_0x18248e(0x8,_0x39217d[_0x25bc2e(0xeb)]),_0x18248e(0x9,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0xa,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b['AwaitingState']),_0x3aa05b[_0x25bc2e(0x271)]=class extends _0x4e7361{constructor(_0x1c127b,_0x2333ab,_0x399c31,_0x38cbc6,_0x13dc41,_0xdf8b0e,_0x31fb4b,_0xaa237e,_0x1019c8,_0x2bd38d,_0x528332,_0x5aec3e,_0x30a7e5){var _0x50f959=_0x25bc2e;super(_0x1c127b,_0x2333ab,_0x399c31,_0x38cbc6,_0x13dc41,_0x1019c8,_0x5aec3e,_0xaa237e,_0x30a7e5),_0x427f66(this,'status',_0x50f959(0x1a9)),_0x427f66(this,_0x50f959(0x350),0x0),_0x427f66(this,'_resendTimer'),_0x427f66(this,'_sender'),(this[_0x50f959(0x325)]=_0x31fb4b,this[_0x50f959(0x411)]=_0x2bd38d,this[_0x50f959(0x222)]=_0x528332,this[_0x50f959(0x19e)]=_0x30a7e5,_0xdf8b0e&&(this[_0x50f959(0x405)]=_0xdf8b0e,this[_0x50f959(0x21e)]=this[_0x50f959(0x405)][_0x50f959(0x195)](({reqId:_0x21eb27,timeout:_0x4d9ff0})=>{this['_resendWithTimeout'](_0x21eb27,_0x4d9ff0);})));}['appendMutation'](_0xdfe12c){var _0x107563=_0x25bc2e;return this[_0x107563(0x1e2)][_0x107563(0x204)](_0xdfe12c),this;}[_0x25bc2e(0x136)](_0x40428e){var _0x1d7fd2=_0x25bc2e;if(this[_0x1d7fd2(0x35a)](_0x40428e))return this[_0x1d7fd2(0x1d5)](),this[_0x1d7fd2(0x325)]['createInstance'](_0x3aa05b[_0x1d7fd2(0x35d)],this[_0x1d7fd2(0x1ae)],this['type'],this[_0x1d7fd2(0x3ae)],this[_0x1d7fd2(0x1e2)],null,[_0x40428e],this[_0x1d7fd2(0x1fa)]);try{const _0x4f6c73=this['_transformService'][_0x1d7fd2(0xd0)]([_0x40428e],[this[_0x1d7fd2(0x3ae)]],!0x1);if(_0x39217d[_0x1d7fd2(0x30c)](_0x4f6c73)){const {c1Prime:_0x26dd93,c2Prime:_0x41db2b}=_0x4f6c73,_0x3798cd=this['_transformService'][_0x1d7fd2(0x22a)](_0x26dd93[0x0],this['_pendingMutations']);if(_0x39217d[_0x1d7fd2(0x291)](_0x3798cd)){const {c1Prime:_0x3afa40,m2Prime:_0x1ae4a5}=_0x3798cd;return this[_0x1d7fd2(0x399)](_0x3afa40),_0x41db2b[0x0][_0x1d7fd2(0x146)]=this['_getCurrentRevision'](),this[_0x1d7fd2(0x1d5)](),this[_0x1d7fd2(0x325)][_0x1d7fd2(0x310)](_0x3aa05b[_0x1d7fd2(0x271)],this['unitID'],this['type'],_0x41db2b[0x0],_0x1ae4a5,this['_handler'],void 0x0);}throw _0x3798cd[_0x1d7fd2(0x3db)];}throw _0x4f6c73[_0x1d7fd2(0x3db)];}catch(_0x3a3358){return this[_0x1d7fd2(0x411)]['error'](_0x3a3358),this[_0x1d7fd2(0x23f)](!0x1);}}[_0x25bc2e(0x40b)](_0xc5646d){var _0x2a0109=_0x25bc2e;if(this[_0x2a0109(0x1d5)](),this[_0x2a0109(0x35a)](_0xc5646d))return this[_0x2a0109(0x325)][_0x2a0109(0x310)](_0x3aa05b[_0x2a0109(0x35d)],this[_0x2a0109(0x1ae)],this['type'],null,this[_0x2a0109(0x1e2)],this[_0x2a0109(0x3ae)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x258e04=this['_injector'][_0x2a0109(0x310)](_0x3aa05b[_0x2a0109(0x119)],this[_0x2a0109(0x1ae)],this[_0x2a0109(0x255)],this[_0x2a0109(0x1e2)],this['_handler']);return _0x258e04['_schedule'](),_0x258e04[_0x2a0109(0xf7)](),_0x258e04;}[_0x25bc2e(0x153)](_0x108ae3){var _0x1e9155=_0x25bc2e;return this[_0x1e9155(0x23f)](!!(_0x108ae3!=null&&_0x108ae3[_0x1e9155(0x33a)]));}[_0x25bc2e(0x391)](_0x433677){var _0x4d4726=_0x25bc2e;return this[_0x4d4726(0x350)]>_0x2af0f1?this[_0x4d4726(0x250)]():(this['_resendTimer']=_0x52ca08(this[_0x4d4726(0x350)],{'timeout':this[_0x4d4726(0x350)],'reqId':_0x433677[_0x4d4726(0x24a)]}),this[_0x4d4726(0x21e)]=this[_0x4d4726(0x405)][_0x4d4726(0x195)](({reqId:_0x1f78ae,timeout:_0x3ee890})=>{var _0x382dde=_0x4d4726;this[_0x382dde(0x24e)](_0x1f78ae,_0x3ee890);}),this);}['toggleOffline'](){var _0x4d11ec=_0x25bc2e;return this[_0x4d11ec(0x1d5)](),this[_0x4d11ec(0x325)][_0x4d11ec(0x310)](_0x3aa05b['OfflineState'],this[_0x4d11ec(0x1ae)],this[_0x4d11ec(0x255)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x4d11ec(0x1fa)]);}[_0x25bc2e(0x358)](){return this;}[_0x25bc2e(0x230)](){var _0x18c2a9=_0x25bc2e;this[_0x18c2a9(0x1fa)]['onSendChangeset'](this[_0x18c2a9(0x3ae)]);}[_0x25bc2e(0x23f)](_0x4b71e4){var _0x3cf2f1=_0x25bc2e;return this[_0x3cf2f1(0x1d5)](),this[_0x3cf2f1(0x325)][_0x3cf2f1(0x310)](_0x3aa05b[_0x3cf2f1(0x372)],this[_0x3cf2f1(0x1ae)],this[_0x3cf2f1(0x255)],null,this[_0x3cf2f1(0x1e2)],this[_0x3cf2f1(0x1fa)],_0x4b71e4);}[_0x25bc2e(0x24e)](_0x39ca3e,_0x2b9589){var _0x4aed8a=_0x25bc2e,_0x499029;_0x39ca3e===((_0x499029=this[_0x4aed8a(0x3ae)])==null?void 0x0:_0x499029['reqId'])&&(this[_0x4aed8a(0x230)](),this[_0x4aed8a(0x350)]=_0x2b9589===0x0?0x3e8:_0x2b9589*0x2);}[_0x25bc2e(0x1d5)](){var _0x488af9=_0x25bc2e,_0x9956cf;(_0x9956cf=this[_0x488af9(0x21e)])==null||_0x9956cf[_0x488af9(0x1de)](),this[_0x488af9(0x350)]=0x0;}},_0x3aa05b['AwaitingWithPendingState']=_0x3d2f38([_0x18248e(0x6,_0x223e3d['Inject'](_0x223e3d[_0x25bc2e(0x10b)])),_0x18248e(0x7,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x18248e(0x8,_0x223e3d[_0x25bc2e(0x20c)]),_0x18248e(0x9,_0x223e3d['ILogService']),_0x18248e(0xa,_0x39217d[_0x25bc2e(0xeb)]),_0x18248e(0xb,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0xc,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0x271)]),_0x3aa05b[_0x25bc2e(0x372)]=class extends _0x4e7361{constructor(_0x1fc3a,_0x86446d,_0x396282,_0xba0bbe,_0x5945fb,_0x15d355=!0x1,_0x1cf300,_0x1a51fa,_0x33ebf1,_0xe462ca,_0x542d12,_0x192920,_0x3e9459){var _0x434c4c=_0x25bc2e;super(_0x1fc3a,_0x86446d,_0x396282,_0xba0bbe,_0x5945fb,_0x1a51fa,_0x33ebf1,_0xe462ca,_0x3e9459),_0x427f66(this,'status','conflict'),(this[_0x434c4c(0x2a7)]=_0x15d355,this[_0x434c4c(0x21a)]=_0x1cf300,this[_0x434c4c(0x163)]=_0x542d12,this['_collaborationUIEventService']=_0x192920,this[_0x434c4c(0x19e)]=_0x3e9459,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x25bc2e(0x147)](){return this;}['onRemoteChangeset'](){return this;}[_0x25bc2e(0x40b)](){return this;}[_0x25bc2e(0x153)](){return this;}['onRemoteRetry'](){return this;}[_0x25bc2e(0x250)](){return this;}[_0x25bc2e(0x358)](){return this;}[_0x25bc2e(0x230)](){var _0x4c4237=_0x25bc2e;throw new Error(_0x4c4237(0x241));}[_0x25bc2e(0x133)](){var _0x5ad67b=_0x25bc2e,_0xab4fbf;(_0xab4fbf=this[_0x5ad67b(0x2e4)])==null||_0xab4fbf['updateOfflineData'](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x4f3bd7=_0x25bc2e;this[_0x4f3bd7(0x2a7)]?this[_0x4f3bd7(0x270)][_0x4f3bd7(0x298)]({'id':_0x2ce557['PERMISSION_DENIED']}):this[_0x4f3bd7(0x270)][_0x4f3bd7(0x298)]({'id':_0x2ce557[_0x4f3bd7(0xb3)]});}[_0x25bc2e(0x1bc)](){var _0x4cdc61=_0x25bc2e;this['_permissionService']['updatePermissionPoint'](new _0x3a7ecf[(_0x4cdc61(0x2b7))](this['unitID'])['id'],!0x1);}},_0x3aa05b['ConflictState']=_0x3d2f38([_0x18248e(0x6,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x32d)])),_0x18248e(0x7,_0x223e3d[_0x25bc2e(0x20c)]),_0x18248e(0x8,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0x9,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x18248e(0xa,_0x223e3d['Inject'](_0x223e3d[_0x25bc2e(0x1c2)])),_0x18248e(0xb,_0x223e3d[_0x25bc2e(0x1b8)](_0x5876ed)),_0x18248e(0xc,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0x372)]),_0x3aa05b[_0x25bc2e(0xf3)]=class extends _0x4e7361{constructor(_0x549686,_0x21c9b8,_0x5b0857,_0x426446,_0x4bf141,_0x4647cf,_0x35f004,_0x4c4c97,_0x6a8cfa,_0x407caa){var _0x118471=_0x25bc2e;super(_0x549686,_0x21c9b8,_0x5b0857,_0x426446,_0x4bf141,_0x4c4c97,_0x6a8cfa,_0x35f004,_0x407caa),_0x427f66(this,_0x118471(0x145),_0x118471(0x3ac)),this[_0x118471(0x325)]=_0x4647cf;}[_0x25bc2e(0x147)](_0x1e60b7){var _0x1bdfec=_0x25bc2e;return this[_0x1bdfec(0x1e2)][_0x1bdfec(0x204)](_0x1e60b7),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0xf35966){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x25bc2e(0x40b)](){var _0x1d7646=_0x25bc2e;throw new Error(_0x1d7646(0x1e4));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x25bc2e(0x391)](){return this;}[_0x25bc2e(0x250)](){return this;}[_0x25bc2e(0x358)](){var _0x34f14b=_0x25bc2e;const {_injector:_0x4947e7,_pendingMutations:_0x562cd2,_awaitingChangeset:_0x2c6341,unitID:_0x10c771,_handler:_0x3cdde6,type:_0x5d9990}=this,_0x1c9533=_0x2276c1(_0x4947e7,_0x10c771,_0x5d9990,_0x2c6341,_0x562cd2,_0x3cdde6);return _0x1c9533 instanceof _0x3aa05b[_0x34f14b(0x119)]?_0x1c9533[_0x34f14b(0x99)]():(_0x1c9533 instanceof _0x3aa05b[_0x34f14b(0x271)]||_0x1c9533 instanceof _0x3aa05b[_0x34f14b(0x3bd)])&&_0x1c9533['resend'](),_0x1c9533;}['resend'](){var _0x4b5f55=_0x25bc2e;throw new Error(_0x4b5f55(0x152));}},_0x3aa05b[_0x25bc2e(0xf3)]=_0x3d2f38([_0x18248e(0x5,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x18248e(0x6,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x18248e(0x7,_0x223e3d['ICommandService']),_0x18248e(0x8,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0x9,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0xf3)]),_0x3aa05b[_0x25bc2e(0x35d)]=class extends _0x4e7361{constructor(_0x553d13,_0x2061bd,_0x5d0776,_0x48b0cb,_0x46e167,_0x41e199,_0x41f825,_0x13ccc2,_0x53cc64,_0x5f49bc,_0x3a11e8,_0x10c420,_0x2d0614,_0x50e8d9){var _0x550845=_0x25bc2e;super(_0x553d13,_0x2061bd,_0x5d0776,_0x48b0cb,_0x41f825,_0x3a11e8,_0x10c420,_0x53cc64,_0x50e8d9),_0x427f66(this,_0x550845(0x145),_0x550845(0x35e)),(this[_0x550845(0x29b)]=_0x46e167,this['_queuedRemoteChangesets']=_0x41e199,this[_0x550845(0x325)]=_0x13ccc2,this['_logService']=_0x5f49bc,this[_0x550845(0x222)]=_0x2d0614,this[_0x550845(0x19e)]=_0x50e8d9);}[_0x25bc2e(0x9d)](_0x462e65){var _0x5524d9=_0x25bc2e;try{const _0x270936=[..._0x462e65,...this[_0x5524d9(0x40f)]],_0x73680e=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x5524d9(0x157)](_0xe809e0=>!!_0xe809e0);let _0x39a467,_0x26cf32;if(_0x73680e[_0x5524d9(0xdd)]){const _0x2eb741=this[_0x5524d9(0x222)]['transformChangesets'](_0x270936,_0x73680e,!0x1);if(!_0x39217d[_0x5524d9(0x30c)](_0x2eb741))throw _0x2eb741[_0x5524d9(0x3db)];_0x39a467=_0x2eb741[_0x5524d9(0x295)],_0x26cf32=_0x2eb741[_0x5524d9(0x2e3)];}else _0x39a467=_0x270936,_0x26cf32=[];let _0x4b2b0b=this[_0x5524d9(0x1e2)];_0x39a467['forEach'](_0x95929b=>{var _0x562c2b=_0x5524d9;let _0x537da1;if(_0x4b2b0b['length']){const _0x9e12e2=this[_0x562c2b(0x222)][_0x562c2b(0x22a)](_0x95929b,_0x4b2b0b);if(!_0x39217d[_0x562c2b(0x291)](_0x9e12e2))throw _0x9e12e2['error'];_0x537da1=_0x9e12e2[_0x562c2b(0x295)],_0x4b2b0b=_0x9e12e2[_0x562c2b(0x2ff)];}else _0x537da1=_0x95929b;this['_executeRemoteChangeset'](_0x537da1);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5524d9(0x349)](),this['_awaitingChangeset']&&_0x26cf32[_0x5524d9(0xdd)]&&(_0x26cf32[0x0][_0x5524d9(0x146)]=this[_0x5524d9(0x3f6)]());let _0x5b8f71;if(this[_0x5524d9(0x3ae)]&&_0x4b2b0b[_0x5524d9(0xdd)]!==0x0)_0x5b8f71=this[_0x5524d9(0x325)]['createInstance'](_0x3aa05b[_0x5524d9(0x271)],this[_0x5524d9(0x1ae)],this[_0x5524d9(0x255)],_0x26cf32[0x0],_0x4b2b0b,this[_0x5524d9(0x1fa)],void 0x0);else{if(this['_awaitingChangeset']&&_0x4b2b0b[_0x5524d9(0xdd)]===0x0)_0x26cf32[0x0][_0x5524d9(0x146)]=this['_getCurrentRevision'](),_0x5b8f71=this[_0x5524d9(0x325)][_0x5524d9(0x310)](_0x3aa05b['AwaitingState'],this[_0x5524d9(0x1ae)],this['type'],_0x26cf32[0x0],this[_0x5524d9(0x1fa)]);else{if(_0x4b2b0b[_0x5524d9(0xdd)]!==0x0){const _0x430c82=this[_0x5524d9(0x325)]['createInstance'](_0x3aa05b[_0x5524d9(0x119)],this['unitID'],this[_0x5524d9(0x255)],_0x4b2b0b,this[_0x5524d9(0x1fa)]);_0x430c82[_0x5524d9(0x99)](),_0x5b8f71=_0x430c82;}else _0x5b8f71=this[_0x5524d9(0x325)][_0x5524d9(0x310)](_0x3aa05b[_0x5524d9(0x34a)],this[_0x5524d9(0x1ae)],this[_0x5524d9(0x255)],this['_handler']);}}return _0x5b8f71[_0x5524d9(0xf7)](),_0x5b8f71;}catch(_0x55c1a7){return this[_0x5524d9(0x411)][_0x5524d9(0x3db)](_0x5524d9(0x159),_0x5524d9(0x175),_0x55c1a7),this[_0x5524d9(0x325)]['createInstance'](_0x3aa05b[_0x5524d9(0x372)],this[_0x5524d9(0x1ae)],this[_0x5524d9(0x255)],this[_0x5524d9(0x3ae)],this[_0x5524d9(0x1e2)],this['_handler'],!0x1);}}[_0x25bc2e(0x230)](){var _0x191d04=_0x25bc2e;throw new Error(_0x191d04(0x394));}[_0x25bc2e(0x147)](_0x500d5f){var _0x25e31d=_0x25bc2e;return this[_0x25e31d(0x1e2)][_0x25e31d(0x204)](_0x500d5f),this;}['onRemoteChangeset'](_0x5d115a){var _0x33ec0d=_0x25bc2e;return this[_0x33ec0d(0x40f)][_0x33ec0d(0x204)](_0x5d115a),this;}['onRemoteAck'](_0x5e5ecf){var _0x34d6c9=_0x25bc2e;if(this[_0x34d6c9(0x3ae)])return this[_0x34d6c9(0x29b)]=this[_0x34d6c9(0x3ae)],this[_0x34d6c9(0x3ae)]=null,this;throw new Error(_0x34d6c9(0x2c1));}[_0x25bc2e(0x153)](_0x488f99){var _0x455e5e=_0x25bc2e;return this['_onConflict'](!!(_0x488f99!=null&&_0x488f99[_0x455e5e(0x33a)]));}[_0x25bc2e(0x391)](){return this;}[_0x25bc2e(0x250)](){var _0x4cbc60=_0x25bc2e;return this['_injector'][_0x4cbc60(0x310)](_0x3aa05b[_0x4cbc60(0xf3)],this['unitID'],this[_0x4cbc60(0x255)],this['_awaitingChangeset'],this[_0x4cbc60(0x1e2)],this['_handler']);}['toggleOnline'](){return this;}['_onConflict'](_0xfdd6aa){var _0x381ab7=_0x25bc2e;return this[_0x381ab7(0x325)]['createInstance'](_0x3aa05b['ConflictState'],this[_0x381ab7(0x1ae)],this[_0x381ab7(0x255)],this[_0x381ab7(0x3ae)],this['_pendingMutations'],this[_0x381ab7(0x1fa)],_0xfdd6aa);}},_0x3aa05b[_0x25bc2e(0x35d)]=_0x3d2f38([_0x18248e(0x7,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x18248e(0x8,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x18248e(0x9,_0x223e3d['ILogService']),_0x18248e(0xa,_0x223e3d[_0x25bc2e(0x20c)]),_0x18248e(0xb,_0x223e3d[_0x25bc2e(0x3d8)]),_0x18248e(0xc,_0x39217d[_0x25bc2e(0xeb)]),_0x18248e(0xd,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b['FetchingMissState']);function _0x2276c1(_0x2c7db0,_0x31ad65,_0x14c1b7,_0x58ee4b,_0x483f05,_0x32e72d){var _0x1a105d=_0x25bc2e;return _0x58ee4b&&_0x483f05[_0x1a105d(0xdd)]?_0x2c7db0['createInstance'](_0x3aa05b[_0x1a105d(0x271)],_0x31ad65,_0x14c1b7,_0x58ee4b,_0x483f05,_0x32e72d,void 0x0):_0x58ee4b?_0x2c7db0[_0x1a105d(0x310)](_0x3aa05b['AwaitingState'],_0x31ad65,_0x14c1b7,_0x58ee4b,_0x32e72d):_0x483f05[_0x1a105d(0xdd)]?_0x2c7db0[_0x1a105d(0x310)](_0x3aa05b[_0x1a105d(0x119)],_0x31ad65,_0x14c1b7,_0x483f05,_0x32e72d):_0x2c7db0[_0x1a105d(0x310)](_0x3aa05b[_0x1a105d(0x34a)],_0x31ad65,_0x14c1b7,_0x32e72d);}var _0x527c7b=Object[_0x25bc2e(0x1e6)],_0x566fc2=(_0x40b05f,_0xd744d1,_0x4fb118,_0x40b558)=>{for(var _0x3156d5=_0x40b558>0x1?void 0x0:_0x40b558?_0x527c7b(_0xd744d1,_0x4fb118):_0xd744d1,_0x35f284=_0x40b05f['length']-0x1,_0x1cf28b;_0x35f284>=0x0;_0x35f284--)(_0x1cf28b=_0x40b05f[_0x35f284])&&(_0x3156d5=_0x1cf28b(_0x3156d5)||_0x3156d5);return _0x3156d5;},_0x215b1e=(_0x2aa417,_0x30f2cf)=>(_0x302eb8,_0x49ae4b)=>_0x30f2cf(_0x302eb8,_0x49ae4b,_0x2aa417);_0x3aa05b[_0x25bc2e(0x376)]=class extends _0x223e3d[_0x25bc2e(0xa7)]{constructor(_0x3a25ca,_0x52c32d,_0x17fc47,_0x1143a1,_0x50595b,_0x244cd9,_0x3c47a0,_0x4ebf25,_0x218137,_0x470f51,_0x5ac139,_0x4b1d80,_0x28410f){var _0x1c9f18=_0x25bc2e;super(),_0x427f66(this,'_state$',new _0x94b51a[(_0x1c9f18(0xd7))](null)),_0x427f66(this,_0x1c9f18(0x1c8),this['_state$']['asObservable']()),_0x427f66(this,'_state'),_0x427f66(this,'_collaborationPaused',!0x1),_0x427f66(this,_0x1c9f18(0x272),''),_0x427f66(this,_0x1c9f18(0x32e),0x0),_0x427f66(this,_0x1c9f18(0x2ef),this[_0x1c9f18(0x1c8)]['pipe'](_0x94b51a[_0x1c9f18(0x390)](_0x183460=>_0x183460?_0x183460[_0x1c9f18(0x145)]:_0x4adeba[_0x1c9f18(0x171)]),_0x94b51a[_0x1c9f18(0x13e)](0x1))),_0x427f66(this,_0x1c9f18(0x30b),!0x1),_0x427f66(this,_0x1c9f18(0xc2),[]),(this[_0x1c9f18(0x1ae)]=_0x3a25ca,this['session']=_0x52c32d,this[_0x1c9f18(0x294)]=_0x17fc47,this[_0x1c9f18(0x325)]=_0x1143a1,this[_0x1c9f18(0x36a)]=_0x50595b,this[_0x1c9f18(0x163)]=_0x244cd9,this['_revisionService']=_0x3c47a0,this[_0x1c9f18(0x410)]=_0x4ebf25,this[_0x1c9f18(0x411)]=_0x218137,this[_0x1c9f18(0x35f)]=_0x470f51,this[_0x1c9f18(0x21a)]=_0x5ac139,this['_singleActiveUnitService']=_0x4b1d80,this[_0x1c9f18(0x2e4)]=_0x28410f);}get['state'](){var _0x348ce3=_0x25bc2e;return this[_0x348ce3(0x13c)];}async[_0x25bc2e(0x27c)](){var _0x187791=_0x25bc2e;if(this[_0x187791(0x23e)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x25bc2e(0x338)](){var _0x48b07f=_0x25bc2e;return this['_collaborationPaused']=!0x0,_0x223e3d[_0x48b07f(0x13d)](()=>{var _0x8b1ad5=_0x48b07f;this['_collaborationPaused']=!0x1,this[_0x8b1ad5(0x28b)]();});}[_0x25bc2e(0x3a0)](_0x5d2f0d){this['_onLocalMutation'](_0x5d2f0d);}[_0x25bc2e(0x18f)](_0x501a0b){var _0x2cebae=_0x25bc2e;this[_0x2cebae(0x13c)]=_0x501a0b,this[_0x2cebae(0x180)][_0x2cebae(0x37a)](_0x501a0b);}async[_0x25bc2e(0x3f9)](){var _0x2363a9=_0x25bc2e,_0x48bd2d;this['_updateState'](await this[_0x2363a9(0x1c5)]()),this['_singleActiveUnitService']&&((_0x48bd2d=this[_0x2363a9(0x190)])==null||_0x48bd2d[_0x2363a9(0x199)](this[_0x2363a9(0x1ae)]),this[_0x2363a9(0x414)](this[_0x2363a9(0x190)][_0x2363a9(0xa0)](this['unitID'])[_0x2363a9(0x195)](_0x3c0605=>{var _0x35f96b=_0x2363a9;this[_0x35f96b(0x411)][_0x35f96b(0xdf)]('[CollaborationEntity]',_0x35f96b(0x369),_0x3c0605),_0x3c0605===_0x1b0014[_0x35f96b(0x1ca)]?(this[_0x35f96b(0x410)][_0x35f96b(0x298)]({'id':_0x2ce557[_0x35f96b(0x198)]}),this[_0x35f96b(0x21a)][_0x35f96b(0x368)](new _0x3a7ecf[(_0x35f96b(0x2b7))](this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x35f96b(0x21a)]['updatePermissionPoint'](new _0x3a7ecf[(_0x35f96b(0x2b7))](this[_0x35f96b(0x1ae)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x3b468c=!0x1;return this[_0x2363a9(0x414)](this['session']['sessionStatus$'][_0x2363a9(0x195)](_0x50b843=>{var _0x58baba=_0x2363a9;_0x50b843===_0x3034e7[_0x58baba(0x231)]?this['_toggleOnline'](_0x3b468c):_0x50b843===_0x3034e7['OFFLINE']&&(_0x3b468c=!0x0,this['_toggleOffline']());})),this[_0x2363a9(0x414)](this[_0x2363a9(0x1b7)][_0x2363a9(0x1c3)]['subscribe'](_0xbba19a=>{var _0x324b86=_0x2363a9;try{switch(_0xbba19a[_0x324b86(0x2e6)]){case _0x39217d[_0x324b86(0x149)][_0x324b86(0x3ed)]:{this['_onRemoteChangeset'](_0x39217d[_0x324b86(0xcb)](_0xbba19a[_0x324b86(0xe2)]));break;}case _0x39217d[_0x324b86(0x149)]['CHANGESET_ACK']:{this[_0x324b86(0x2f1)](_0xbba19a[_0x324b86(0xe2)]);break;}case _0x39217d[_0x324b86(0x149)][_0x324b86(0x240)]:{this[_0x324b86(0x258)]();break;}case _0x39217d['CollaborationEvent'][_0x324b86(0x3ec)]:{this[_0x324b86(0x361)](_0xbba19a[_0x324b86(0xe2)]);break;}case _0x39217d[_0x324b86(0x149)][_0x324b86(0x2b2)]:{this[_0x324b86(0x260)](_0xbba19a[_0x324b86(0xe2)]['changesets']['map'](_0x2d513e=>_0x39217d['parseProtocolChangeset'](_0x2d513e)));break;}case _0x39217d[_0x324b86(0x149)][_0x324b86(0x3ea)]:{this[_0x324b86(0x258)]({'isPermissionRej':!0x0});break;}case _0x39217d['CollaborationEvent'][_0x324b86(0x2c5)]:break;}}catch(_0x35bfa9){throw console['error']('Error\x20on\x20receiving\x20event',_0x35bfa9),_0x35bfa9;}})),this[_0x2363a9(0x13c)];}[_0x25bc2e(0x370)](){var _0x1b4ff0=_0x25bc2e;this[_0x1b4ff0(0x30b)]=!0x1;}[_0x25bc2e(0x40a)](){var _0x1a5954=_0x25bc2e;if(this['_transitionLocked'])throw new Error(_0x1a5954(0x1d1));this[_0x1a5954(0x30b)]=!0x0;}[_0x25bc2e(0x1dd)](_0x5d67bd){var _0x17e8c4=_0x25bc2e;this['_lockTransition'](),this[_0x17e8c4(0x18f)](this[_0x17e8c4(0x13c)][_0x17e8c4(0x147)](_0x5d67bd)),this[_0x17e8c4(0x370)]();}[_0x25bc2e(0x226)](_0x535cca){var _0x31dcae=_0x25bc2e;if(!(_0x535cca[_0x31dcae(0x2cb)]<=this[_0x31dcae(0x323)][_0x31dcae(0x30e)](this[_0x31dcae(0x1ae)]))){if(this[_0x31dcae(0x332)]){this[_0x31dcae(0xc2)]['push'](_0x535cca);return;}this[_0x31dcae(0x193)](_0x535cca);}}['_exhaustRemoteChangesetQueue'](){var _0x4e850e=_0x25bc2e;this[_0x4e850e(0xc2)]['forEach'](_0x1ad66c=>this[_0x4e850e(0x193)](_0x1ad66c)),this[_0x4e850e(0xc2)]=[];}[_0x25bc2e(0x193)](_0x5a8a5c){var _0x5b0508=_0x25bc2e;const _0xab131a=this['_compressMutationService'][_0x5b0508(0x351)]['fetchThroughInterceptors'](this[_0x5b0508(0x36a)][_0x5b0508(0x351)][_0x5b0508(0x224)]()[_0x5b0508(0x320)])(_0x5a8a5c['mutations'],null)||_0x5a8a5c[_0x5b0508(0x3e8)],_0x195388={..._0x5a8a5c,'mutations':_0xab131a};this[_0x5b0508(0x40a)](),this[_0x5b0508(0x18f)](this[_0x5b0508(0x13c)][_0x5b0508(0x136)](_0x195388)),this[_0x5b0508(0x370)]();}['_onRemoteACK'](_0xe91095){var _0x181a1f=_0x25bc2e;this[_0x181a1f(0x40a)](),this[_0x181a1f(0x18f)](this['_state'][_0x181a1f(0x40b)](_0xe91095)),this['_unlockTransition']();}['_onRemoteRejected'](_0x40cb1d){var _0x29d395=_0x25bc2e;this[_0x29d395(0x40a)](),this[_0x29d395(0x18f)](this['_state'][_0x29d395(0x153)](_0x40cb1d)),this[_0x29d395(0x370)]();}[_0x25bc2e(0x361)](_0x235783){var _0xdd6755=_0x25bc2e;this[_0xdd6755(0x40a)](),this[_0xdd6755(0x18f)](this['_state'][_0xdd6755(0x391)](_0x235783)),this[_0xdd6755(0x370)]();}[_0x25bc2e(0x260)](_0x4cd203){var _0x1f7d67=_0x25bc2e;if(!(this[_0x1f7d67(0x13c)]instanceof _0x3aa05b[_0x1f7d67(0x35d)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x5f4312=_0x4cd203[_0x1f7d67(0x390)](_0x207c3e=>{var _0xcc6ee0=_0x1f7d67;const _0x1bb150=this['_compressMutationService'][_0xcc6ee0(0x351)][_0xcc6ee0(0xbe)](this[_0xcc6ee0(0x36a)][_0xcc6ee0(0x351)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x207c3e[_0xcc6ee0(0x3e8)],null)||_0x207c3e[_0xcc6ee0(0x3e8)];return{..._0x207c3e,'mutations':_0x1bb150};});this[_0x1f7d67(0x40a)](),this['_updateState'](this[_0x1f7d67(0x13c)]['onMissedChangesetFetched'](_0x5f4312)),this[_0x1f7d67(0x370)]();}['_toggleOffline'](){var _0x254369=_0x25bc2e;this[_0x254369(0x40a)](),this[_0x254369(0x18f)](this[_0x254369(0x13c)][_0x254369(0x250)]()),this[_0x254369(0x370)]();}['_toggleOnline'](_0xa148b9=!0x1){var _0x543380=_0x25bc2e;this['_lockTransition'](),this[_0x543380(0x18f)](this['_state'][_0x543380(0x358)]()),this[_0x543380(0x370)]();const _0x35c599=this[_0x543380(0x13c)];_0xa148b9&&_0x35c599 instanceof _0x3aa05b[_0x543380(0x34a)]&&(this[_0x543380(0x40a)](),this[_0x543380(0x18f)](_0x35c599[_0x543380(0x2b6)]()),this[_0x543380(0x370)]());}async[_0x25bc2e(0x1c5)](){return new Promise(_0x5ca7cd=>{var _0x52554c=_0x47c2;this[_0x52554c(0x1b7)][_0x52554c(0x38b)]['pipe'](_0x94b51a['take'](0x1))[_0x52554c(0x195)](async _0xe828a7=>{var _0xcce7f9=_0x52554c;_0x5ca7cd(await this[_0xcce7f9(0x130)](_0xe828a7===_0x3034e7[_0xcce7f9(0x231)]));});});}[_0x25bc2e(0x3d3)](){var _0x3a6020=_0x25bc2e;const _0x409e0e=this[_0x3a6020(0x1ae)];return{'onStateChange':(_0x1197b1,_0x2bb204)=>{var _0x5a8732=_0x3a6020;if(_0x1197b1!==this[_0x5a8732(0x13c)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x1197b1[_0x5a8732(0x145)]+_0x5a8732(0x353)+_0x2bb204[_0x5a8732(0x145)]+'\x0aCurrent:\x20'+this['_state'][_0x5a8732(0x145)]);this[_0x5a8732(0x18f)](_0x2bb204);},'onSendChangeset':_0x44e511=>{var _0x53c625=_0x3a6020;_0x44e511[_0x53c625(0x2ba)]||(_0x44e511[_0x53c625(0x2ba)]=this['_changesetSessionId'],_0x44e511[_0x53c625(0x24a)]=++this[_0x53c625(0x32e)]);const _0x52a51b={'eventID':_0x39217d[_0x53c625(0x149)][_0x53c625(0x274)],'data':{'unitID':_0x44e511['unitID'],'unitType':this[_0x53c625(0x294)],'changeset':_0x44e511,'memberID':this[_0x53c625(0x1b7)]['getMemberID']()}};this[_0x53c625(0x1b7)][_0x53c625(0xbf)](_0x52a51b,this[_0x53c625(0x1ae)]);},'onMissingChangesets':({from:_0x1a87f6,to:_0x63c2a5})=>{var _0x4659ad=_0x3a6020;this['_logService'][_0x4659ad(0xdf)](_0x4659ad(0x2f6),_0x4659ad(0x1ea)+_0x1a87f6+_0x4659ad(0x126)+_0x63c2a5);const _0x336617={'eventID':_0x39217d['CollaborationEvent'][_0x4659ad(0x173)],'data':{'unitID':_0x409e0e,'unitType':this[_0x4659ad(0x294)],'from':_0x1a87f6,'to':_0x63c2a5}};this['session'][_0x4659ad(0xbf)](_0x336617,this['unitID']);}};}async[_0x25bc2e(0x130)](_0x451fa0){var _0xaa54dc=_0x25bc2e,_0x5eed1f,_0x4b4c9e,_0x367791;const _0x413489=await((_0x5eed1f=this[_0xaa54dc(0x2e4)])==null?void 0x0:_0x5eed1f['loadOfflineData'](this[_0xaa54dc(0x1ae)])),_0x2169ec=(_0x4b4c9e=_0x413489==null?void 0x0:_0x413489['mutations'])!=null?_0x4b4c9e:[],_0x388639=(_0x367791=_0x413489==null?void 0x0:_0x413489[_0xaa54dc(0x35b)])!=null?_0x367791:null,_0x3bddd2=!!(_0x388639!=null&&_0x388639[_0xaa54dc(0x2ba)])&&!!(_0x388639!=null&&_0x388639[_0xaa54dc(0x24a)]);this['_changesetSessionId']=_0x3bddd2?_0x388639[_0xaa54dc(0x2ba)]:_0x20f700(),this[_0xaa54dc(0x32e)]=_0x3bddd2?_0x388639[_0xaa54dc(0x24a)]:0x0;const _0x388aa6=this[_0xaa54dc(0x1ae)];try{this[_0xaa54dc(0x1fc)](_0x388639,_0x2169ec);}catch(_0x590644){this[_0xaa54dc(0x411)][_0xaa54dc(0x3db)](_0x590644);}const _0x36e3a5=this[_0xaa54dc(0x3d3)]();if(_0x451fa0){const _0x5239e2=_0x2276c1(this[_0xaa54dc(0x325)],_0x388aa6,this[_0xaa54dc(0x294)],_0x388639,_0x2169ec,_0x36e3a5);return _0x5239e2 instanceof _0x3aa05b['PendingState']?_0x5239e2[_0xaa54dc(0x99)]():(_0x5239e2 instanceof _0x3aa05b[_0xaa54dc(0x271)]||_0x5239e2 instanceof _0x3aa05b[_0xaa54dc(0x3bd)])&&_0x5239e2['resend'](),_0x5239e2;}return this['_injector'][_0xaa54dc(0x310)](_0x3aa05b['OfflineState'],_0x388aa6,this[_0xaa54dc(0x294)],_0x388639,_0x2169ec,_0x36e3a5);}[_0x25bc2e(0x1fc)](_0x559728,_0x517774){var _0x431e3a=_0x25bc2e,_0x1b7f16,_0x6e9a49;const _0x44d8eb=this[_0x431e3a(0x36a)]['interceptor'][_0x431e3a(0xbe)](this[_0x431e3a(0x36a)][_0x431e3a(0x351)][_0x431e3a(0x224)]()[_0x431e3a(0x320)]);(_0x1b7f16=_0x44d8eb((_0x559728==null?void 0x0:_0x559728[_0x431e3a(0x3e8)])||[],null))==null||_0x1b7f16[_0x431e3a(0x3bc)](_0x2c1306=>this['_commandService']['executeCommand'](_0x2c1306['id'],_0x2c1306[_0x431e3a(0x2df)])),(_0x6e9a49=_0x44d8eb(_0x517774||[],null))==null||_0x6e9a49[_0x431e3a(0x3bc)](_0x3f5ea4=>this[_0x431e3a(0x35f)][_0x431e3a(0x1b2)](_0x3f5ea4['id'],_0x3f5ea4[_0x431e3a(0x2df)]));}},_0x3aa05b[_0x25bc2e(0x376)]=_0x566fc2([_0x215b1e(0x3,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x215b1e(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d['CompressMutationService'])),_0x215b1e(0x5,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x1c2)])),_0x215b1e(0x6,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x215b1e(0x7,_0x223e3d[_0x25bc2e(0x1b8)](_0x5876ed)),_0x215b1e(0x8,_0x223e3d['ILogService']),_0x215b1e(0x9,_0x223e3d[_0x25bc2e(0x20c)]),_0x215b1e(0xa,_0x223e3d['IPermissionService']),_0x215b1e(0xb,_0x223e3d[_0x25bc2e(0x1cc)](_0x5cc7ba)),_0x215b1e(0xc,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0x376)]),_0x3aa05b['DocCollaborationEntity']=class extends _0x3aa05b[_0x25bc2e(0x376)]{constructor(_0x434c91,_0x42745b,_0x410372,_0x2ecb6d,_0x20ea6e,_0x4d8c0b,_0x23fa4d,_0x1c9c78,_0x4365a2,_0x6dc11f,_0x49fec4,_0x2d18fb,_0x3bdd8a){var _0x4d70ae=_0x25bc2e;super(_0x434c91,_0x410372,_0x42745b,_0x2ecb6d,_0x20ea6e,_0x4d8c0b,_0x23fa4d,_0x1c9c78,_0x4365a2,_0x6dc11f,_0x49fec4,_0x2d18fb,_0x3bdd8a),_0x427f66(this,_0x4d70ae(0x124),null),(this[_0x4d70ae(0x1ae)]=_0x434c91,this[_0x4d70ae(0x255)]=_0x42745b);}[_0x25bc2e(0x34b)](_0x47dfb4){this['_handlerCallback']=_0x47dfb4;}[_0x25bc2e(0x3b5)](){var _0x4ed30b=_0x25bc2e;this[_0x4ed30b(0x124)]=null,super[_0x4ed30b(0x3b5)]();}[_0x25bc2e(0x3d3)](){var _0x116153=_0x25bc2e;const _0x17471e=super[_0x116153(0x3d3)]();return _0x17471e['onTransformIME']=_0xfed606=>{var _0x447ef8=_0x116153,_0x553d90,_0x4d477d;return(_0x4d477d=(_0x553d90=this[_0x447ef8(0x124)])==null?void 0x0:_0x553d90[_0x447ef8(0x15e)])==null?void 0x0:_0x4d477d[_0x447ef8(0x38a)](_0x553d90,_0xfed606);},_0x17471e[_0x116153(0x363)]=_0x59ab01=>{var _0x44c7fb,_0x5350da;return(_0x5350da=(_0x44c7fb=this['_handlerCallback'])==null?void 0x0:_0x44c7fb['onTransformState'])==null?void 0x0:_0x5350da['call'](_0x44c7fb,_0x59ab01);},_0x17471e[_0x116153(0x327)]=_0xc925e7=>{var _0x490115=_0x116153,_0x208e25,_0x2b415c;return(_0x2b415c=(_0x208e25=this['_handlerCallback'])==null?void 0x0:_0x208e25['onTransformSelections'])==null?void 0x0:_0x2b415c[_0x490115(0x38a)](_0x208e25,_0xc925e7);},_0x17471e['onSyncEditingCollabCursor']=_0x380a27=>{var _0x5d00ca=_0x116153,_0x342146,_0x3d0a7a;return(_0x3d0a7a=(_0x342146=this[_0x5d00ca(0x124)])==null?void 0x0:_0x342146[_0x5d00ca(0x1a0)])==null?void 0x0:_0x3d0a7a[_0x5d00ca(0x38a)](_0x342146,_0x380a27);},_0x17471e['onTransformRemoteChangesetByIMECache']=_0x932fff=>{var _0x2a3f1c=_0x116153,_0x1f8c42,_0x4d5d9a,_0x2d039a;if(!((_0x1f8c42=this['_handlerCallback'])!=null&&_0x1f8c42[_0x2a3f1c(0x10e)]))throw new Error(_0x2a3f1c(0x20d));return(_0x2d039a=(_0x4d5d9a=this['_handlerCallback'])==null?void 0x0:_0x4d5d9a['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2d039a['call'](_0x4d5d9a,_0x932fff);},_0x17471e['onTransformRemoteChangesetByStateCache']=_0x5d4689=>{var _0x51ae9e=_0x116153,_0x365ce0,_0x621f5,_0x34b752;if(!((_0x365ce0=this['_handlerCallback'])!=null&&_0x365ce0[_0x51ae9e(0x331)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x34b752=(_0x621f5=this[_0x51ae9e(0x124)])==null?void 0x0:_0x621f5[_0x51ae9e(0x331)])==null?void 0x0:_0x34b752[_0x51ae9e(0x38a)](_0x621f5,_0x5d4689);},_0x17471e;}async['_init'](){var _0x104229=_0x25bc2e;const _0x346bad=await super[_0x104229(0x3f9)]();return this[_0x104229(0x414)](this[_0x104229(0x35f)]['onCommandExecuted']((_0x1642ae,_0x3fa50f)=>{var _0x497437=_0x104229;if(_0x1642ae[_0x497437(0x255)]!==_0x223e3d[_0x497437(0xce)][_0x497437(0xe8)]||_0x3fa50f!=null&&_0x3fa50f[_0x497437(0x19a)]||_0x3fa50f!=null&&_0x3fa50f['onlyLocal']||_0x1642ae['id']===_0x444d4c[_0x497437(0x21d)]['id'])return;const _0x34d0cc=_0x1642ae[_0x497437(0x2df)];if((_0x34d0cc==null?void 0x0:_0x34d0cc[_0x497437(0x312)])!==this[_0x497437(0x1ae)])return;const _0xc02632=_0x1642ae,_0x47d5d6=this[_0x497437(0x36a)][_0x497437(0x351)][_0x497437(0xbe)](this[_0x497437(0x36a)][_0x497437(0x351)][_0x497437(0x224)]()[_0x497437(0xbd)])([_0xc02632],null)||[_0xc02632];this[_0x497437(0x1dd)](_0x47d5d6[0x0]);})),_0x346bad;}},_0x3aa05b[_0x25bc2e(0x1db)]=_0x566fc2([_0x215b1e(0x3,_0x223e3d['Inject'](_0x223e3d[_0x25bc2e(0x10b)])),_0x215b1e(0x4,_0x223e3d['Inject'](_0x39217d['CompressMutationService'])),_0x215b1e(0x5,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x1c2)])),_0x215b1e(0x6,_0x223e3d['Inject'](_0x39217d[_0x25bc2e(0x3c8)])),_0x215b1e(0x7,_0x223e3d[_0x25bc2e(0x1b8)](_0x5876ed)),_0x215b1e(0x8,_0x223e3d[_0x25bc2e(0x15b)]),_0x215b1e(0x9,_0x223e3d[_0x25bc2e(0x20c)]),_0x215b1e(0xa,_0x223e3d[_0x25bc2e(0x32d)]),_0x215b1e(0xb,_0x223e3d[_0x25bc2e(0x1cc)](_0x5cc7ba)),_0x215b1e(0xc,_0x223e3d['Optional'](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0x1db)]),_0x3aa05b[_0x25bc2e(0x3d5)]=class extends _0x3aa05b[_0x25bc2e(0x376)]{constructor(_0x516d01,_0x52e07b,_0x51ca00,_0x36089f,_0x23162a,_0x19c6b2,_0x520781,_0x913c62,_0x493e1c,_0x18aa7a,_0x377562,_0x2deb81,_0x261921,_0x333e42){var _0x52447e=_0x25bc2e;super(_0x516d01,_0x51ca00,_0x52e07b,_0x36089f,_0x23162a,_0x19c6b2,_0x520781,_0x493e1c,_0x18aa7a,_0x377562,_0x2deb81,_0x261921,_0x333e42),this[_0x52447e(0x1ae)]=_0x516d01,this[_0x52447e(0x255)]=_0x52e07b,this[_0x52447e(0x2b3)]=_0x913c62;}[_0x25bc2e(0x3d3)](){var _0x3bab8d=_0x25bc2e;const _0x8adbd1=super['_createHandler']();return _0x8adbd1[_0x3bab8d(0x327)]=_0xb629d=>this[_0x3bab8d(0x2b3)][_0x3bab8d(0x26a)](_0xb629d),_0x8adbd1;}async['_init'](){var _0x2678f8=_0x25bc2e;const _0x390470=await super[_0x2678f8(0x3f9)]();return this['disposeWithMe'](this[_0x2678f8(0x35f)][_0x2678f8(0x196)]((_0x329557,_0x1b2cea)=>{var _0x1cbfb2=_0x2678f8;if(_0x329557['type']!==_0x223e3d[_0x1cbfb2(0xce)][_0x1cbfb2(0xe8)]||_0x1b2cea!=null&&_0x1b2cea['fromCollab']||_0x1b2cea!=null&&_0x1b2cea[_0x1cbfb2(0x375)])return;const _0x184f34=_0x329557[_0x1cbfb2(0x2df)];if((_0x184f34==null?void 0x0:_0x184f34[_0x1cbfb2(0x312)])!==this[_0x1cbfb2(0x1ae)])return;const _0x95939e=_0x329557,_0x10248=this[_0x1cbfb2(0x36a)]['interceptor'][_0x1cbfb2(0xbe)](this[_0x1cbfb2(0x36a)]['interceptor'][_0x1cbfb2(0x224)]()['COMPRESS_MUTATION_SEND'])([_0x95939e],null)||[_0x95939e];this[_0x1cbfb2(0x1dd)](_0x10248[0x0]);})),_0x390470;}},_0x3aa05b[_0x25bc2e(0x3d5)]=_0x566fc2([_0x215b1e(0x3,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x215b1e(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x28c)])),_0x215b1e(0x5,_0x223e3d['Inject'](_0x223e3d['LocaleService'])),_0x215b1e(0x6,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x3c8)])),_0x215b1e(0x7,_0x223e3d['Inject'](_0x3aa05b[_0x25bc2e(0x150)])),_0x215b1e(0x8,_0x223e3d['Inject'](_0x5876ed)),_0x215b1e(0x9,_0x223e3d[_0x25bc2e(0x15b)]),_0x215b1e(0xa,_0x223e3d[_0x25bc2e(0x20c)]),_0x215b1e(0xb,_0x223e3d[_0x25bc2e(0x32d)]),_0x215b1e(0xc,_0x223e3d['Optional'](_0x5cc7ba)),_0x215b1e(0xd,_0x223e3d[_0x25bc2e(0x1cc)](_0x4c0d6c))],_0x3aa05b['SheetCollaborationEntity']);var _0x44e681=Object[_0x25bc2e(0x1e6)],_0x27437b=(_0x37a355,_0x3a64d5,_0x41deb3,_0xd1555b)=>{var _0x55f3e8=_0x25bc2e;for(var _0x2a5e21=_0xd1555b>0x1?void 0x0:_0xd1555b?_0x44e681(_0x3a64d5,_0x41deb3):_0x3a64d5,_0x5f51bc=_0x37a355[_0x55f3e8(0xdd)]-0x1,_0x16ff2f;_0x5f51bc>=0x0;_0x5f51bc--)(_0x16ff2f=_0x37a355[_0x5f51bc])&&(_0x2a5e21=_0x16ff2f(_0x2a5e21)||_0x2a5e21);return _0x2a5e21;},_0x4f1bec=(_0x35e5f6,_0x7f98dc)=>(_0x569822,_0x309828)=>_0x7f98dc(_0x569822,_0x309828,_0x35e5f6);_0x3aa05b[_0x25bc2e(0xbb)]=class extends _0x223e3d['RxDisposable']{constructor(_0x442ada,_0x599107,_0x51708c){var _0x29e8c0=_0x25bc2e;super(),_0x427f66(this,'_entities',new Map()),_0x427f66(this,'_entityInit$',new _0x94b51a[(_0x29e8c0(0x215))]()),_0x427f66(this,_0x29e8c0(0x131),this[_0x29e8c0(0x22c)][_0x29e8c0(0x23d)]()),(this['_injector']=_0x442ada,this[_0x29e8c0(0x15d)]=_0x599107,this[_0x29e8c0(0x300)]=_0x51708c,this[_0x29e8c0(0x3f9)]());}[_0x25bc2e(0x3b5)](){var _0xd906c0=_0x25bc2e;super[_0xd906c0(0x3b5)](),this[_0xd906c0(0x26e)][_0xd906c0(0x3bc)](_0x1a18a1=>_0x1a18a1[_0xd906c0(0x3b5)]()),this[_0xd906c0(0x26e)]['clear']();}['getCollabEntity'](_0x37aaae){var _0x2e437b=_0x25bc2e,_0x2ace62;return(_0x2ace62=this[_0x2e437b(0x26e)][_0x2e437b(0x3c9)](_0x37aaae))!=null?_0x2ace62:null;}[_0x25bc2e(0x1b0)](_0x167331){var _0x1ac8c3=_0x25bc2e;const _0x5378a3=this[_0x1ac8c3(0x20b)](_0x167331);return _0x5378a3?_0x94b51a['of'](_0x5378a3):this[_0x1ac8c3(0x22c)][_0x1ac8c3(0x2ac)](_0x54b879[_0x1ac8c3(0x157)](_0x38c59e=>_0x38c59e[_0x1ac8c3(0x1ae)]===_0x167331));}[_0x25bc2e(0x396)](_0x3ce389){var _0x505656=_0x25bc2e;return _0x94b51a[_0x505656(0x14a)](this['getCollabEntity$'](_0x3ce389)[_0x505656(0x2ac)](_0x54b879[_0x505656(0x390)](()=>{})));}[_0x25bc2e(0x3f9)](){var _0x1f73a2=_0x25bc2e;this['_univerInstanceService'][_0x1f73a2(0xea)](_0x223e3d['UniverInstanceType'][_0x1f73a2(0x2ae)])[_0x1f73a2(0x2ac)](_0x94b51a[_0x1f73a2(0x169)](this[_0x1f73a2(0x347)]),_0x54b879[_0x1f73a2(0x39e)](0x10))[_0x1f73a2(0x195)](async _0x42b053=>{var _0x561805=_0x1f73a2;const _0x520af0=_0x42b053[_0x561805(0x278)](),_0x89a13f=await this[_0x561805(0x419)](_0x520af0,_0x5e14aa[_0x561805(0x2ae)]);this[_0x561805(0x26e)][_0x561805(0xe9)](_0x520af0,_0x89a13f);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x223e3d[_0x1f73a2(0x3b3)][_0x1f73a2(0x17e)])[_0x1f73a2(0x2ac)](_0x94b51a[_0x1f73a2(0x169)](this[_0x1f73a2(0x347)]),_0x54b879[_0x1f73a2(0x39e)](0x10))[_0x1f73a2(0x2ac)](_0x54b879['filter'](_0xc0cd34=>!_0xc0cd34[_0x1f73a2(0x278)]()[_0x1f73a2(0x31d)]('__')))[_0x1f73a2(0x195)](async _0xeda384=>{var _0x1e2c89=_0x1f73a2;const _0x4343bf=_0xeda384['getUnitId'](),_0x36f7e5=await this[_0x1e2c89(0x419)](_0x4343bf,_0x5e14aa[_0x1e2c89(0x17e)]);this[_0x1e2c89(0x26e)]['set'](_0x4343bf,_0x36f7e5);}),_0x94b51a[_0x1f73a2(0x187)](this[_0x1f73a2(0x300)][_0x1f73a2(0xfd)](_0x223e3d[_0x1f73a2(0x3b3)][_0x1f73a2(0x2ae)]),this[_0x1f73a2(0x300)]['getTypeOfUnitDisposed$'](_0x223e3d['UniverInstanceType'][_0x1f73a2(0x17e)]))[_0x1f73a2(0x2ac)](_0x94b51a[_0x1f73a2(0x169)](this[_0x1f73a2(0x347)]))[_0x1f73a2(0x195)](_0x5f554c=>{var _0x429ca7=_0x1f73a2;const _0x5a5061=_0x5f554c[_0x429ca7(0x278)](),_0x2c0af9=this[_0x429ca7(0x26e)][_0x429ca7(0x3c9)](_0x5a5061);_0x2c0af9&&(_0x2c0af9[_0x429ca7(0x3b5)](),this['_entities'][_0x429ca7(0x218)](_0x5a5061));});}async[_0x25bc2e(0x419)](_0x140e5d,_0x37ca79){var _0x56dee8=_0x25bc2e;const _0x12e148=await this[_0x56dee8(0x15d)]['requireSession'](_0x140e5d),_0x909c30=this['_injector'][_0x56dee8(0x310)](this['_getCtorByUniverType'](_0x37ca79),_0x140e5d,_0x37ca79,_0x12e148);return await _0x909c30[_0x56dee8(0x27c)](),this[_0x56dee8(0x22c)][_0x56dee8(0x37a)](_0x909c30),_0x909c30;}[_0x25bc2e(0x1d9)](_0x53174d){var _0x162f18=_0x25bc2e;switch(_0x53174d){case _0x5e14aa['UNIVER_DOC']:return _0x3aa05b[_0x162f18(0x1db)];case _0x5e14aa[_0x162f18(0x2ae)]:return _0x3aa05b['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x53174d);}}},_0x3aa05b[_0x25bc2e(0xbb)]=_0x27437b([_0x4f1bec(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x4f1bec(0x1,_0x223e3d[_0x25bc2e(0x1b8)](_0x3aa05b[_0x25bc2e(0x1e5)])),_0x4f1bec(0x2,_0x223e3d['IUniverInstanceService'])],_0x3aa05b[_0x25bc2e(0xbb)]);var _0x295eaf=Object['getOwnPropertyDescriptor'],_0x66e22e=(_0x56f448,_0x406b08,_0xf56979,_0x214286)=>{for(var _0x236c68=_0x214286>0x1?void 0x0:_0x214286?_0x295eaf(_0x406b08,_0xf56979):_0x406b08,_0x56c2cd=_0x56f448['length']-0x1,_0x39f0ef;_0x56c2cd>=0x0;_0x56c2cd--)(_0x39f0ef=_0x56f448[_0x56c2cd])&&(_0x236c68=_0x39f0ef(_0x236c68)||_0x236c68);return _0x236c68;},_0x6ee556=(_0x4dce63,_0x37cc9f)=>(_0x337953,_0x55e77a)=>_0x37cc9f(_0x337953,_0x55e77a,_0x4dce63);const _0x9b8099=_0x25bc2e(0x2f4),_0x2bfe71=_0x25bc2e(0x333);let _0x1fbe1f=class extends _0x223e3d[_0x25bc2e(0x14c)]{constructor(_0x41235b,_0x785a31){var _0x52709c=_0x25bc2e;super(),this[_0x52709c(0x300)]=_0x41235b,this[_0x52709c(0x292)]=_0x785a31,this[_0x52709c(0x3f9)]();}[_0x25bc2e(0x3f9)](){var _0x2603d4=_0x25bc2e;this['disposeWithMe'](this[_0x2603d4(0x300)][_0x2603d4(0x319)][_0x2603d4(0x195)](()=>{var _0x4139db=_0x2603d4,_0x591890;const _0x289e82=this[_0x4139db(0x300)]['getFocusedUnit']();let _0x1cd8b8=(_0x591890=this[_0x4139db(0x292)][_0x4139db(0x151)](_0x9b8099))!=null?_0x591890:_0x2bfe71;_0x289e82 instanceof _0x223e3d[_0x4139db(0xe3)]&&(_0x1cd8b8=_0x289e82['name']),document[_0x4139db(0x3cc)]=_0x1cd8b8;}));}};_0x1fbe1f=_0x66e22e([_0x6ee556(0x0,_0x223e3d[_0x25bc2e(0x267)]),_0x6ee556(0x1,_0x223e3d['IConfigService'])],_0x1fbe1f);var _0x3934bf=Object[_0x25bc2e(0x1e6)],_0x2180a4=(_0x137f23,_0xf75733,_0x22adb8,_0x10bb7c)=>{var _0x4b4502=_0x25bc2e;for(var _0x5c889c=_0x10bb7c>0x1?void 0x0:_0x10bb7c?_0x3934bf(_0xf75733,_0x22adb8):_0xf75733,_0x4aaa10=_0x137f23[_0x4b4502(0xdd)]-0x1,_0xc2879b;_0x4aaa10>=0x0;_0x4aaa10--)(_0xc2879b=_0x137f23[_0x4aaa10])&&(_0x5c889c=_0xc2879b(_0x5c889c)||_0x5c889c);return _0x5c889c;},_0x1433be=(_0x4e2388,_0x4edc0d)=>(_0x590aba,_0x47aa82)=>_0x4edc0d(_0x590aba,_0x47aa82,_0x4e2388);let _0x44ec95=class{constructor(_0x21dcca,_0x156e3d,_0x1c23f8){var _0x11d55b=_0x25bc2e;this['_configService']=_0x21dcca,this[_0x11d55b(0x31c)]=_0x156e3d,this[_0x11d55b(0xfa)]=_0x1c23f8,this['init']();}[_0x25bc2e(0x27c)](){var _0x31f843=_0x25bc2e;this[_0x31f843(0x31c)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x2e3f35,_0x42383b)=>_0x42383b(_0x2e3f35)[_0x31f843(0x2ac)](_0x94b51a[_0x31f843(0x3cf)](async _0x582e44=>{var _0x15bf97=_0x31f843;const _0x6f7cf2=_0x582e44;if(_0x6f7cf2[_0x15bf97(0x145)]===0x191){if(typeof window>'u')throw new Error(_0x15bf97(0x11c));if(window[_0x15bf97(0x18a)](this[_0x15bf97(0xfa)]['t']('auth.needGotoLoginAlert'))){const _0x53524a=window[_0x15bf97(0x344)](window[_0x15bf97(0x3e6)][_0x15bf97(0x1f8)]);window[_0x15bf97(0x3e6)][_0x15bf97(0x1f8)]=this[_0x15bf97(0x13f)]()+'?url='+_0x53524a;}}return _0x6f7cf2;}))});}[_0x25bc2e(0x13f)](){var _0x137c20=_0x25bc2e,_0x3aab13,_0xa8f3f6;const _0x32b044=this[_0x137c20(0x292)]['getConfig'](_0x2d9159),_0x12f2c1=this[_0x137c20(0x292)][_0x137c20(0x151)](_0x67dd2f);return(_0xa8f3f6=(_0x3aab13=_0x12f2c1==null?void 0x0:_0x12f2c1[_0x137c20(0x365)])!=null?_0x3aab13:_0x32b044)!=null?_0xa8f3f6:_0x5442ec;}};_0x44ec95=_0x2180a4([_0x1433be(0x0,_0x223e3d[_0x25bc2e(0x316)]),_0x1433be(0x1,_0x223e3d['Inject'](_0x23fe84[_0x25bc2e(0x2a4)])),_0x1433be(0x2,_0x223e3d['Inject'](_0x223e3d[_0x25bc2e(0x1c2)]))],_0x44ec95);var _0x431ae5=Object[_0x25bc2e(0x1e6)],_0x15f5bb=(_0x3325b5,_0xeca8ea,_0x4e7fe0,_0x1a2e80)=>{var _0x34e054=_0x25bc2e;for(var _0x46e81b=_0x1a2e80>0x1?void 0x0:_0x1a2e80?_0x431ae5(_0xeca8ea,_0x4e7fe0):_0xeca8ea,_0x335676=_0x3325b5[_0x34e054(0xdd)]-0x1,_0x14af7c;_0x335676>=0x0;_0x335676--)(_0x14af7c=_0x3325b5[_0x335676])&&(_0x46e81b=_0x14af7c(_0x46e81b)||_0x46e81b);return _0x46e81b;},_0x55b46b=(_0x18e6ce,_0x4e08fb)=>(_0x535a22,_0x4e4ada)=>_0x4e08fb(_0x535a22,_0x4e4ada,_0x18e6ce);const _0x25ddee=_0x25bc2e(0x417),_0x50001d=_0x25bc2e(0x3fd);_0x3aa05b[_0x25bc2e(0x40c)]=class extends _0x223e3d[_0x25bc2e(0x14c)]{constructor(_0x2a7bad,_0x45b5f5){var _0x38039c=_0x25bc2e;super(),this[_0x38039c(0x2fa)]=_0x2a7bad,this[_0x38039c(0x292)]=_0x45b5f5,this[_0x38039c(0x11f)]();}[_0x25bc2e(0x11f)](){var _0x81bdc4=_0x25bc2e;const _0x2f25f0=this;this[_0x81bdc4(0x414)](this['_HTTPService'][_0x81bdc4(0xef)]({'priority':0x3e7,'interceptor':_0x23fe84[_0x81bdc4(0x232)]({'isMatch'(_0x28fd5a){var _0x5e73b3=_0x81bdc4,_0x5e0113;if(_0x28fd5a[_0x5e73b3(0x356)]===_0x5e73b3(0x1f7)&&((_0x5e0113=_0x28fd5a[_0x5e73b3(0x174)])!=null&&_0x5e0113[_0x5e73b3(0x1bd)])){const {objectID:_0x4e42cf,objectType:_0x98fb07}=_0x28fd5a['requestParams'][_0x5e73b3(0x1bd)]||{};if(!_0x4e42cf||_0x98fb07===void 0x0)return!0x1;const _0x2c9bdf=_0x2f25f0[_0x5e73b3(0x25c)]()+'/'+_0x98fb07+_0x5e73b3(0x341)+_0x4e42cf+_0x5e73b3(0x283);if(_0x28fd5a[_0x5e73b3(0x2a8)]===_0x2c9bdf)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x470bff){var _0x51dc24=_0x81bdc4,_0x5085d4;return(_0x5085d4=_0x470bff[_0x51dc24(0x174)])==null?void 0x0:_0x5085d4['body'];},'mergeParamsToRequest'(_0x1a52f9,_0x133a6d){var _0xade750=_0x81bdc4;const _0x45021f=_0x2f25f0['_getAPIPrefixPath']()+_0xade750(0x19d),_0xe21b1e=_0x1a52f9[_0xade750(0x277)]((_0x82ff2a,_0x122c6d)=>{var _0x59d67c=_0xade750;const {unitID:_0x3ee32b,objectID:_0x432d0c,objectType:_0x32e6b8,actions:_0x333307}=_0x122c6d;return _0x82ff2a[_0x3ee32b]||(_0x82ff2a[_0x3ee32b]={}),_0x82ff2a[_0x3ee32b][_0x432d0c]||(_0x82ff2a[_0x3ee32b][_0x432d0c]={'objectID':_0x432d0c,'objectType':_0x32e6b8,'actions':[]}),_0x82ff2a[_0x3ee32b][_0x432d0c][_0x59d67c(0xa8)][_0x59d67c(0x204)](..._0x333307),_0x82ff2a;},{}),_0x2c49a8=[];for(const _0x3a9116 in _0xe21b1e)for(const _0x3cf686 in _0xe21b1e[_0x3a9116]){const {actions:_0xf82f17,objectType:_0x359d4d}=_0xe21b1e[_0x3a9116][_0x3cf686],_0x3af471=[...new Set(_0xf82f17)];_0x2c49a8[_0xade750(0x204)]({'unitID':_0x3a9116,'objectID':_0x3cf686,'objectType':_0x359d4d,'actions':_0x3af471});}return new _0x23fe84[(_0xade750(0x2fb))]('POST',_0x45021f,{'headers':_0x133a6d['headers'],'withCredentials':_0x133a6d[_0xade750(0x181)],'responseType':_0x133a6d[_0xade750(0x2dd)],'body':{'requests':_0x2c49a8}});}},{'distributeResult'(_0x333ca4,_0x32b253){var _0xd7c5c=_0x81bdc4;const {objectActions:_0x648219}=_0x333ca4;return _0x32b253[_0xd7c5c(0x390)](_0x445644=>{var _0x4918c0=_0xd7c5c;const {unitID:_0x5f40b6,objectID:_0x22870f,actions:_0x113102}=_0x445644,_0x53c0ff=_0x648219['find'](_0x231f62=>_0x231f62[_0x4918c0(0x1ae)]===_0x5f40b6&&_0x231f62[_0x4918c0(0x3cd)]===_0x22870f),_0x5f3192=_0x113102[_0x4918c0(0x390)](_0x45bb9b=>_0x53c0ff==null?void 0x0:_0x53c0ff[_0x4918c0(0xa8)][_0x4918c0(0x3df)](_0x165ef5=>_0x165ef5[_0x4918c0(0x105)]===_0x45bb9b))[_0x4918c0(0x157)](_0x25d32d=>!!_0x25d32d);return{'config':_0x445644,'result':{'actions':_0x5f3192,'error':_0x333ca4[_0x4918c0(0x3db)]}};});}})}));}['_getAPIPrefixPath'](){var _0xffa98c=_0x25bc2e,_0x81e412,_0x52230c;const _0x49d898=this[_0xffa98c(0x292)][_0xffa98c(0x151)](_0x25ddee),_0x1b46a4=this[_0xffa98c(0x292)]['getConfig'](_0x67dd2f);return(_0x52230c=(_0x81e412=_0x1b46a4==null?void 0x0:_0x1b46a4[_0xffa98c(0x3c7)])!=null?_0x81e412:_0x49d898)!=null?_0x52230c:_0x50001d;}async[_0x25bc2e(0x1c1)](_0x43a661){var _0x16e303=_0x25bc2e;const _0x352203=this[_0x16e303(0x25c)]()+'/'+_0x43a661[_0x16e303(0x381)]+_0x16e303(0x322);return(await this[_0x16e303(0x2fa)][_0x16e303(0x10f)](_0x352203,{'body':_0x43a661}))['body'][_0x16e303(0x3cd)]||'';}async['list'](_0x2c51d5){var _0x26d80f=_0x25bc2e;const _0x2a6757=this[_0x26d80f(0x25c)]()+'/-/object/list';return(await this['_HTTPService'][_0x26d80f(0x10f)](_0x2a6757,{'body':_0x2c51d5}))['body']['objects'];}async[_0x25bc2e(0x2c6)](_0x41ecaf){var _0x398c64=_0x25bc2e,_0x2dc6ae,_0x4f60e0;const _0x44fb7b=this[_0x398c64(0x25c)]()+'/'+_0x41ecaf['objectType']+_0x398c64(0x341)+_0x41ecaf[_0x398c64(0x3cd)],_0x1a20f6=await this[_0x398c64(0x2fa)][_0x398c64(0x413)](_0x44fb7b,{'body':_0x41ecaf});if(((_0x4f60e0=(_0x2dc6ae=_0x1a20f6==null?void 0x0:_0x1a20f6[_0x398c64(0x1bd)])==null?void 0x0:_0x2dc6ae[_0x398c64(0x3db)])==null?void 0x0:_0x4f60e0[_0x398c64(0x26b)])!==0x0)throw new Error(_0x398c64(0x114));}async[_0x25bc2e(0x10c)](_0x33f55b){var _0x3d3584=_0x25bc2e;const _0x28cf3b=this[_0x3d3584(0x25c)]()+'/'+_0x33f55b[_0x3d3584(0x381)]+_0x3d3584(0x341)+_0x33f55b[_0x3d3584(0x3cd)]+_0x3d3584(0x283);return(await this[_0x3d3584(0x2fa)][_0x3d3584(0x10f)](_0x28cf3b,{'body':_0x33f55b}))['body'][_0x3d3584(0xa8)];}async['batchAllowed'](_0x22685f){var _0x4f6c2f=_0x25bc2e;const _0x407993=this[_0x4f6c2f(0x25c)]()+_0x4f6c2f(0x19d);return(await this[_0x4f6c2f(0x2fa)][_0x4f6c2f(0x10f)](_0x407993,{'body':{'requests':_0x22685f}}))[_0x4f6c2f(0x1bd)][_0x4f6c2f(0x3cb)];}async[_0x25bc2e(0xc1)](_0x773c91){var _0x15e76f=_0x25bc2e;const _0x42f824=this[_0x15e76f(0x25c)]()+'/'+_0x773c91[_0x15e76f(0x381)]+_0x15e76f(0x3d2),_0x466c07=await this[_0x15e76f(0x2fa)][_0x15e76f(0x10f)](_0x42f824,{'body':_0x773c91});return{'roles':_0x466c07[_0x15e76f(0x1bd)][_0x15e76f(0x37d)],'actions':_0x466c07[_0x15e76f(0x1bd)][_0x15e76f(0xa8)]};}async['deleteCollaborator'](_0x415fda){var _0x5b36ac=_0x25bc2e;const _0x551435=this['_getAPIPrefixPath']()+_0x5b36ac(0x343);await this['_HTTPService']['delete'](_0x551435,{'params':{'collaboratorID':_0x415fda[_0x5b36ac(0xae)],'objectID':_0x415fda[_0x5b36ac(0x3cd)],'unitID':_0x415fda['unitID']}});}async[_0x25bc2e(0x346)](_0x280d70){var _0x1dcf75=_0x25bc2e;const _0x4f108a=this[_0x1dcf75(0x25c)]()+_0x1dcf75(0x343);await this[_0x1dcf75(0x2fa)][_0x1dcf75(0x3b1)](_0x4f108a,{'body':_0x280d70});}async[_0x25bc2e(0x1ba)](_0x23459f){var _0x23c8cd=_0x25bc2e;const _0x66bb0=this[_0x23c8cd(0x25c)]()+_0x23c8cd(0x343);await this[_0x23c8cd(0x2fa)][_0x23c8cd(0x10f)](_0x66bb0,{'body':_0x23459f});}async['listCollaborators'](_0x29c0d6){var _0x583062=_0x25bc2e;const _0x1428f3=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x583062(0x2fa)][_0x583062(0x3c9)](_0x1428f3,{'params':{'objectID':_0x29c0d6[_0x583062(0x3cd)],'unitID':_0x29c0d6['unitID']}}))[_0x583062(0x1bd)][_0x583062(0x3e7)];}async[_0x25bc2e(0x95)](_0x2a5e7f){var _0x31a96b=_0x25bc2e;const _0x17f0b8=this[_0x31a96b(0x25c)]()+_0x31a96b(0x343);await this['_HTTPService'][_0x31a96b(0x413)](_0x17f0b8,{'body':_0x2a5e7f});}},_0x3aa05b['AuthzIoHttpService']=_0x15f5bb([_0x55b46b(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x23fe84[_0x25bc2e(0x2a4)])),_0x55b46b(0x1,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x316)]))],_0x3aa05b[_0x25bc2e(0x40c)]);var _0x4bbebe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0xe87296(_0x950ee1){var _0x416b74=_0x25bc2e;return _0x950ee1&&_0x950ee1[_0x416b74(0x227)]&&Object['prototype'][_0x416b74(0x1dc)][_0x416b74(0x38a)](_0x950ee1,'default')?_0x950ee1[_0x416b74(0x268)]:_0x950ee1;}var _0x3fa2a7={'exports':{}};function _0x29952e(_0x4a332b){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x4a332b+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x45f867={'exports':{}},_0x17bbc6=_0x45f867[_0x25bc2e(0x36e)],_0x229661;function _0x152408(){var _0x543499=_0x25bc2e;return _0x229661||(_0x229661=0x1,function(_0x5d89dd,_0x4daea7){(function(_0x1ea231,_0x3e6771){_0x5d89dd['exports']=_0x3e6771();}(_0x17bbc6,function(){var _0x2fc982=_0x2fc982||function(_0x561b4a,_0xd66801){var _0x417996=_0x47c2,_0x8abf8e;if(typeof window<'u'&&window['crypto']&&(_0x8abf8e=window[_0x417996(0x183)]),typeof self<'u'&&self[_0x417996(0x183)]&&(_0x8abf8e=self[_0x417996(0x183)]),typeof globalThis<'u'&&globalThis[_0x417996(0x183)]&&(_0x8abf8e=globalThis['crypto']),!_0x8abf8e&&typeof window<'u'&&window[_0x417996(0x2b0)]&&(_0x8abf8e=window[_0x417996(0x2b0)]),!_0x8abf8e&&typeof _0x4bbebe<'u'&&_0x4bbebe['crypto']&&(_0x8abf8e=_0x4bbebe[_0x417996(0x183)]),!_0x8abf8e&&typeof _0x29952e==_0x417996(0xf9))try{_0x8abf8e=require(_0x417996(0x183));}catch{}var _0x4bac95=function(){var _0x60be2c=_0x417996;if(_0x8abf8e){if(typeof _0x8abf8e[_0x60be2c(0x290)]==_0x60be2c(0xf9))try{return _0x8abf8e[_0x60be2c(0x290)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x8abf8e[_0x60be2c(0x96)]==_0x60be2c(0xf9))try{return _0x8abf8e[_0x60be2c(0x96)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x60be2c(0x39f));},_0x3deb63=Object['create']||(function(){function _0x1a545d(){}return function(_0xab2d98){var _0x5b20bc=_0x47c2,_0x2d81d4;return _0x1a545d[_0x5b20bc(0xe5)]=_0xab2d98,_0x2d81d4=new _0x1a545d(),_0x1a545d[_0x5b20bc(0xe5)]=null,_0x2d81d4;};}()),_0x122dac={},_0x31ee58=_0x122dac[_0x417996(0xaa)]={},_0x42cedc=_0x31ee58[_0x417996(0x1b6)]=(function(){return{'extend':function(_0x1d6152){var _0x2dee2c=_0x47c2,_0xa6608=_0x3deb63(this);return _0x1d6152&&_0xa6608[_0x2dee2c(0x177)](_0x1d6152),(!_0xa6608[_0x2dee2c(0x1dc)](_0x2dee2c(0x27c))||this[_0x2dee2c(0x27c)]===_0xa6608[_0x2dee2c(0x27c)])&&(_0xa6608[_0x2dee2c(0x27c)]=function(){var _0x3e62cd=_0x2dee2c;_0xa6608[_0x3e62cd(0x236)][_0x3e62cd(0x27c)][_0x3e62cd(0x280)](this,arguments);}),_0xa6608[_0x2dee2c(0x27c)][_0x2dee2c(0xe5)]=_0xa6608,_0xa6608[_0x2dee2c(0x236)]=this,_0xa6608;},'create':function(){var _0x17118e=_0x47c2,_0x46f2d4=this[_0x17118e(0x1f9)]();return _0x46f2d4[_0x17118e(0x27c)][_0x17118e(0x280)](_0x46f2d4,arguments),_0x46f2d4;},'init':function(){},'mixIn':function(_0xcf0ff8){var _0x3b11dd=_0x47c2;for(var _0x1c4c89 in _0xcf0ff8)_0xcf0ff8[_0x3b11dd(0x1dc)](_0x1c4c89)&&(this[_0x1c4c89]=_0xcf0ff8[_0x1c4c89]);_0xcf0ff8[_0x3b11dd(0x1dc)](_0x3b11dd(0x2c3))&&(this[_0x3b11dd(0x2c3)]=_0xcf0ff8[_0x3b11dd(0x2c3)]);},'clone':function(){var _0x41358c=_0x47c2;return this[_0x41358c(0x27c)][_0x41358c(0xe5)][_0x41358c(0x1f9)](this);}};}()),_0x16fd4c=_0x31ee58[_0x417996(0x1aa)]=_0x42cedc[_0x417996(0x1f9)]({'init':function(_0x1ca24a,_0x4f94bc){var _0x29f101=_0x417996;_0x1ca24a=this['words']=_0x1ca24a||[],_0x4f94bc!=_0xd66801?this['sigBytes']=_0x4f94bc:this['sigBytes']=_0x1ca24a[_0x29f101(0xdd)]*0x4;},'toString':function(_0x100e18){var _0x819349=_0x417996;return(_0x100e18||_0x4d24d8)[_0x819349(0x2db)](this);},'concat':function(_0x355378){var _0x1e093d=_0x417996,_0x8504=this[_0x1e093d(0x39d)],_0x4ba9d9=_0x355378[_0x1e093d(0x39d)],_0x1953e6=this['sigBytes'],_0x2dc7bd=_0x355378['sigBytes'];if(this[_0x1e093d(0x355)](),_0x1953e6%0x4)for(var _0x4fa116=0x0;_0x4fa116<_0x2dc7bd;_0x4fa116++){var _0x52fb5e=_0x4ba9d9[_0x4fa116>>>0x2]>>>0x18-_0x4fa116%0x4*0x8&0xff;_0x8504[_0x1953e6+_0x4fa116>>>0x2]|=_0x52fb5e<<0x18-(_0x1953e6+_0x4fa116)%0x4*0x8;}else{for(var _0x5e632f=0x0;_0x5e632f<_0x2dc7bd;_0x5e632f+=0x4)_0x8504[_0x1953e6+_0x5e632f>>>0x2]=_0x4ba9d9[_0x5e632f>>>0x2];}return this[_0x1e093d(0x19f)]+=_0x2dc7bd,this;},'clamp':function(){var _0x3e970d=_0x417996,_0x349669=this[_0x3e970d(0x39d)],_0x5f906e=this[_0x3e970d(0x19f)];_0x349669[_0x5f906e>>>0x2]&=0xffffffff<<0x20-_0x5f906e%0x4*0x8,_0x349669['length']=_0x561b4a['ceil'](_0x5f906e/0x4);},'clone':function(){var _0x22f946=_0x417996,_0x2ce945=_0x42cedc[_0x22f946(0x9b)][_0x22f946(0x38a)](this);return _0x2ce945[_0x22f946(0x39d)]=this[_0x22f946(0x39d)][_0x22f946(0xd1)](0x0),_0x2ce945;},'random':function(_0xe76f7f){var _0x138f16=_0x417996;for(var _0x48e766=[],_0x2fa870=0x0;_0x2fa870<_0xe76f7f;_0x2fa870+=0x4)_0x48e766[_0x138f16(0x204)](_0x4bac95());return new _0x16fd4c[(_0x138f16(0x27c))](_0x48e766,_0xe76f7f);}}),_0x1d927a=_0x122dac[_0x417996(0x12c)]={},_0x4d24d8=_0x1d927a[_0x417996(0xd2)]={'stringify':function(_0x336916){var _0x2d33e2=_0x417996;for(var _0x3c908f=_0x336916[_0x2d33e2(0x39d)],_0x5addff=_0x336916[_0x2d33e2(0x19f)],_0x2459fb=[],_0xbc348b=0x0;_0xbc348b<_0x5addff;_0xbc348b++){var _0x4e88bf=_0x3c908f[_0xbc348b>>>0x2]>>>0x18-_0xbc348b%0x4*0x8&0xff;_0x2459fb[_0x2d33e2(0x204)]((_0x4e88bf>>>0x4)[_0x2d33e2(0x2c3)](0x10)),_0x2459fb[_0x2d33e2(0x204)]((_0x4e88bf&0xf)[_0x2d33e2(0x2c3)](0x10));}return _0x2459fb[_0x2d33e2(0x21f)]('');},'parse':function(_0x2880f0){var _0x25ef44=_0x417996;for(var _0x5e56f5=_0x2880f0[_0x25ef44(0xdd)],_0x357ab2=[],_0x42213e=0x0;_0x42213e<_0x5e56f5;_0x42213e+=0x2)_0x357ab2[_0x42213e>>>0x3]|=parseInt(_0x2880f0[_0x25ef44(0x15c)](_0x42213e,0x2),0x10)<<0x18-_0x42213e%0x8*0x4;return new _0x16fd4c[(_0x25ef44(0x27c))](_0x357ab2,_0x5e56f5/0x2);}},_0x2587a9=_0x1d927a[_0x417996(0x402)]={'stringify':function(_0x2c5ef0){var _0x2ef154=_0x417996;for(var _0x34e380=_0x2c5ef0[_0x2ef154(0x39d)],_0x113418=_0x2c5ef0['sigBytes'],_0x4e447b=[],_0x123ffc=0x0;_0x123ffc<_0x113418;_0x123ffc++){var _0x315e96=_0x34e380[_0x123ffc>>>0x2]>>>0x18-_0x123ffc%0x4*0x8&0xff;_0x4e447b[_0x2ef154(0x204)](String[_0x2ef154(0x2c2)](_0x315e96));}return _0x4e447b[_0x2ef154(0x21f)]('');},'parse':function(_0x59544b){var _0x21463e=_0x417996;for(var _0x39cc91=_0x59544b[_0x21463e(0xdd)],_0x2683be=[],_0x150d26=0x0;_0x150d26<_0x39cc91;_0x150d26++)_0x2683be[_0x150d26>>>0x2]|=(_0x59544b['charCodeAt'](_0x150d26)&0xff)<<0x18-_0x150d26%0x4*0x8;return new _0x16fd4c[(_0x21463e(0x27c))](_0x2683be,_0x39cc91);}},_0x2d5275=_0x1d927a[_0x417996(0x155)]={'stringify':function(_0x2fced3){var _0x351287=_0x417996;try{return decodeURIComponent(escape(_0x2587a9[_0x351287(0x2db)](_0x2fced3)));}catch{throw new Error(_0x351287(0x3de));}},'parse':function(_0x30f484){var _0x10831c=_0x417996;return _0x2587a9[_0x10831c(0x330)](unescape(encodeURIComponent(_0x30f484)));}},_0x2aabe4=_0x31ee58[_0x417996(0x121)]=_0x42cedc['extend']({'reset':function(){var _0x4fb88a=_0x417996;this[_0x4fb88a(0x36c)]=new _0x16fd4c['init'](),this[_0x4fb88a(0xe4)]=0x0;},'_append':function(_0x2751d4){var _0x42cc7c=_0x417996;typeof _0x2751d4==_0x42cc7c(0x1b3)&&(_0x2751d4=_0x2d5275[_0x42cc7c(0x330)](_0x2751d4)),this['_data']['concat'](_0x2751d4),this[_0x42cc7c(0xe4)]+=_0x2751d4[_0x42cc7c(0x19f)];},'_process':function(_0x4cb0fe){var _0x43fcd2=_0x417996,_0x2f8c00,_0x5201f6=this['_data'],_0x383c83=_0x5201f6[_0x43fcd2(0x39d)],_0x44c7b3=_0x5201f6['sigBytes'],_0x599e7d=this[_0x43fcd2(0x135)],_0x3ff801=_0x599e7d*0x4,_0x5582ee=_0x44c7b3/_0x3ff801;_0x4cb0fe?_0x5582ee=_0x561b4a[_0x43fcd2(0x26c)](_0x5582ee):_0x5582ee=_0x561b4a[_0x43fcd2(0x103)]((_0x5582ee|0x0)-this[_0x43fcd2(0x207)],0x0);var _0x47662d=_0x5582ee*_0x599e7d,_0x353cde=_0x561b4a['min'](_0x47662d*0x4,_0x44c7b3);if(_0x47662d){for(var _0x526069=0x0;_0x526069<_0x47662d;_0x526069+=_0x599e7d)this[_0x43fcd2(0x35c)](_0x383c83,_0x526069);_0x2f8c00=_0x383c83[_0x43fcd2(0x289)](0x0,_0x47662d),_0x5201f6[_0x43fcd2(0x19f)]-=_0x353cde;}return new _0x16fd4c[(_0x43fcd2(0x27c))](_0x2f8c00,_0x353cde);},'clone':function(){var _0x5a073c=_0x417996,_0x4b7388=_0x42cedc['clone'][_0x5a073c(0x38a)](this);return _0x4b7388[_0x5a073c(0x36c)]=this[_0x5a073c(0x36c)][_0x5a073c(0x9b)](),_0x4b7388;},'_minBufferSize':0x0});_0x31ee58['Hasher']=_0x2aabe4[_0x417996(0x1f9)]({'cfg':_0x42cedc['extend'](),'init':function(_0x2b1d42){var _0x593dae=_0x417996;this[_0x593dae(0x33d)]=this[_0x593dae(0x33d)][_0x593dae(0x1f9)](_0x2b1d42),this[_0x593dae(0x110)]();},'reset':function(){var _0x5ceb9b=_0x417996;_0x2aabe4[_0x5ceb9b(0x110)][_0x5ceb9b(0x38a)](this),this[_0x5ceb9b(0x21b)]();},'update':function(_0x2d84e4){var _0x35ee65=_0x417996;return this[_0x35ee65(0x1ac)](_0x2d84e4),this['_process'](),this;},'finalize':function(_0x3c7c59){var _0x2ccf1c=_0x417996;_0x3c7c59&&this[_0x2ccf1c(0x1ac)](_0x3c7c59);var _0x14c894=this[_0x2ccf1c(0x109)]();return _0x14c894;},'blockSize':0x10,'_createHelper':function(_0xa7be7f){return function(_0x77b360,_0x2b013d){var _0x374949=_0x47c2;return new _0xa7be7f['init'](_0x2b013d)[_0x374949(0x165)](_0x77b360);};},'_createHmacHelper':function(_0x343536){return function(_0x4944e3,_0x170254){var _0x1121aa=_0x47c2;return new _0x2738c9[(_0x1121aa(0x2ad))][(_0x1121aa(0x27c))](_0x343536,_0x170254)[_0x1121aa(0x165)](_0x4944e3);};}});var _0x2738c9=_0x122dac[_0x417996(0x32c)]={};return _0x122dac;}(Math);return _0x2fc982;}));}(_0x45f867)),_0x45f867[_0x543499(0x36e)];}var _0x2f8897={'exports':{}},_0x42ebcf=_0x2f8897[_0x25bc2e(0x36e)],_0x53bfaf;function _0x44b5c0(){return _0x53bfaf||(_0x53bfaf=0x1,function(_0x187b85,_0x35d06b){(function(_0x31697b,_0x2d95bf){var _0x1bac79=_0x47c2;_0x187b85[_0x1bac79(0x36e)]=_0x2d95bf(_0x152408());}(_0x42ebcf,function(_0x453031){var _0x416fd5=_0x47c2;return(function(){var _0x2c152f=_0x47c2,_0x2fbc9a=_0x453031,_0x157ed1=_0x2fbc9a[_0x2c152f(0xaa)],_0xc9f612=_0x157ed1['WordArray'],_0x4ac5ac=_0x2fbc9a[_0x2c152f(0x12c)];_0x4ac5ac[_0x2c152f(0x385)]={'stringify':function(_0x2494c6){var _0x232c35=_0x2c152f,_0x8d883f=_0x2494c6['words'],_0x516e99=_0x2494c6[_0x232c35(0x19f)],_0x26d28e=this[_0x232c35(0x27f)];_0x2494c6[_0x232c35(0x355)]();for(var _0x52221=[],_0x417fc2=0x0;_0x417fc2<_0x516e99;_0x417fc2+=0x3)for(var _0x1fffe3=_0x8d883f[_0x417fc2>>>0x2]>>>0x18-_0x417fc2%0x4*0x8&0xff,_0x28d12a=_0x8d883f[_0x417fc2+0x1>>>0x2]>>>0x18-(_0x417fc2+0x1)%0x4*0x8&0xff,_0xbd2353=_0x8d883f[_0x417fc2+0x2>>>0x2]>>>0x18-(_0x417fc2+0x2)%0x4*0x8&0xff,_0x200be5=_0x1fffe3<<0x10|_0x28d12a<<0x8|_0xbd2353,_0x241af6=0x0;_0x241af6<0x4&&_0x417fc2+_0x241af6*0.75<_0x516e99;_0x241af6++)_0x52221[_0x232c35(0x204)](_0x26d28e[_0x232c35(0x279)](_0x200be5>>>0x6*(0x3-_0x241af6)&0x3f));var _0x872b72=_0x26d28e[_0x232c35(0x279)](0x40);if(_0x872b72){for(;_0x52221[_0x232c35(0xdd)]%0x4;)_0x52221[_0x232c35(0x204)](_0x872b72);}return _0x52221[_0x232c35(0x21f)]('');},'parse':function(_0x321e3c){var _0xa981db=_0x2c152f,_0x25ab12=_0x321e3c[_0xa981db(0xdd)],_0x3fa128=this[_0xa981db(0x27f)],_0x3194ad=this['_reverseMap'];if(!_0x3194ad){_0x3194ad=this[_0xa981db(0x412)]=[];for(var _0x5a14a5=0x0;_0x5a14a5<_0x3fa128[_0xa981db(0xdd)];_0x5a14a5++)_0x3194ad[_0x3fa128[_0xa981db(0x141)](_0x5a14a5)]=_0x5a14a5;}var _0x5ca59c=_0x3fa128[_0xa981db(0x279)](0x40);if(_0x5ca59c){var _0x5cafd0=_0x321e3c[_0xa981db(0x1d2)](_0x5ca59c);_0x5cafd0!==-0x1&&(_0x25ab12=_0x5cafd0);}return _0x14376a(_0x321e3c,_0x25ab12,_0x3194ad);},'_map':_0x2c152f(0x2c8)};function _0x14376a(_0x31b18a,_0x12197e,_0x3ab212){var _0x19cc77=_0x2c152f;for(var _0xa31f34=[],_0x1b7275=0x0,_0x5971be=0x0;_0x5971be<_0x12197e;_0x5971be++)if(_0x5971be%0x4){var _0x1b8cd0=_0x3ab212[_0x31b18a[_0x19cc77(0x141)](_0x5971be-0x1)]<<_0x5971be%0x4*0x2,_0x755dbf=_0x3ab212[_0x31b18a[_0x19cc77(0x141)](_0x5971be)]>>>0x6-_0x5971be%0x4*0x2,_0x1a3f64=_0x1b8cd0|_0x755dbf;_0xa31f34[_0x1b7275>>>0x2]|=_0x1a3f64<<0x18-_0x1b7275%0x4*0x8,_0x1b7275++;}return _0xc9f612[_0x19cc77(0x1c1)](_0xa31f34,_0x1b7275);}}()),_0x453031['enc'][_0x416fd5(0x385)];}));}(_0x2f8897)),_0x2f8897['exports'];}var _0x426099={'exports':{}},_0x1bae55=_0x426099[_0x25bc2e(0x36e)],_0x2d8ed9;function _0x58221e(){var _0x32df8b=_0x25bc2e;return _0x2d8ed9||(_0x2d8ed9=0x1,function(_0x51cad,_0x152152){(function(_0x1fd2be,_0x2d9175){var _0x2e54e2=_0x47c2;_0x51cad[_0x2e54e2(0x36e)]=_0x2d9175(_0x152408());}(_0x1bae55,function(_0x46266){var _0x4e7a58=_0x47c2;return function(_0x2d7478){var _0x5bb893=_0x47c2,_0x6f8f6b=_0x46266,_0x24a747=_0x6f8f6b[_0x5bb893(0xaa)],_0x45c143=_0x24a747[_0x5bb893(0x1aa)],_0x2c1f41=_0x24a747[_0x5bb893(0x32b)],_0x3496eb=_0x6f8f6b['algo'],_0x2a1063=[];(function(){var _0x2ec003=_0x5bb893;for(var _0x2d8ed8=0x0;_0x2d8ed8<0x40;_0x2d8ed8++)_0x2a1063[_0x2d8ed8]=_0x2d7478[_0x2ec003(0x1eb)](_0x2d7478[_0x2ec003(0x2cc)](_0x2d8ed8+0x1))*0x100000000|0x0;}());var _0x4f35d8=_0x3496eb[_0x5bb893(0x17d)]=_0x2c1f41[_0x5bb893(0x1f9)]({'_doReset':function(){var _0x43b64d=_0x5bb893;this['_hash']=new _0x45c143[(_0x43b64d(0x27c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2e1048,_0x938e59){var _0xc15a=_0x5bb893;for(var _0x16c3b1=0x0;_0x16c3b1<0x10;_0x16c3b1++){var _0x23237d=_0x938e59+_0x16c3b1,_0x5bc540=_0x2e1048[_0x23237d];_0x2e1048[_0x23237d]=(_0x5bc540<<0x8|_0x5bc540>>>0x18)&0xff00ff|(_0x5bc540<<0x18|_0x5bc540>>>0x8)&0xff00ff00;}var _0x1e7dea=this[_0xc15a(0x158)][_0xc15a(0x39d)],_0x3c1db9=_0x2e1048[_0x938e59+0x0],_0x2547d4=_0x2e1048[_0x938e59+0x1],_0x17500a=_0x2e1048[_0x938e59+0x2],_0x33f055=_0x2e1048[_0x938e59+0x3],_0x485471=_0x2e1048[_0x938e59+0x4],_0x49e999=_0x2e1048[_0x938e59+0x5],_0x26e37b=_0x2e1048[_0x938e59+0x6],_0x34779b=_0x2e1048[_0x938e59+0x7],_0x137c33=_0x2e1048[_0x938e59+0x8],_0x48d18e=_0x2e1048[_0x938e59+0x9],_0x42bc00=_0x2e1048[_0x938e59+0xa],_0x14857a=_0x2e1048[_0x938e59+0xb],_0x417b47=_0x2e1048[_0x938e59+0xc],_0x55e70a=_0x2e1048[_0x938e59+0xd],_0x4579b1=_0x2e1048[_0x938e59+0xe],_0x1346b2=_0x2e1048[_0x938e59+0xf],_0x41e9a1=_0x1e7dea[0x0],_0x4f503b=_0x1e7dea[0x1],_0x1f35fd=_0x1e7dea[0x2],_0x272f95=_0x1e7dea[0x3];_0x41e9a1=_0x177eec(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x3c1db9,0x7,_0x2a1063[0x0]),_0x272f95=_0x177eec(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x2547d4,0xc,_0x2a1063[0x1]),_0x1f35fd=_0x177eec(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x17500a,0x11,_0x2a1063[0x2]),_0x4f503b=_0x177eec(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x33f055,0x16,_0x2a1063[0x3]),_0x41e9a1=_0x177eec(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x485471,0x7,_0x2a1063[0x4]),_0x272f95=_0x177eec(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x49e999,0xc,_0x2a1063[0x5]),_0x1f35fd=_0x177eec(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x26e37b,0x11,_0x2a1063[0x6]),_0x4f503b=_0x177eec(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x34779b,0x16,_0x2a1063[0x7]),_0x41e9a1=_0x177eec(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x137c33,0x7,_0x2a1063[0x8]),_0x272f95=_0x177eec(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x48d18e,0xc,_0x2a1063[0x9]),_0x1f35fd=_0x177eec(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x42bc00,0x11,_0x2a1063[0xa]),_0x4f503b=_0x177eec(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x14857a,0x16,_0x2a1063[0xb]),_0x41e9a1=_0x177eec(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x417b47,0x7,_0x2a1063[0xc]),_0x272f95=_0x177eec(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x55e70a,0xc,_0x2a1063[0xd]),_0x1f35fd=_0x177eec(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x4579b1,0x11,_0x2a1063[0xe]),_0x4f503b=_0x177eec(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x1346b2,0x16,_0x2a1063[0xf]),_0x41e9a1=_0x23b469(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x2547d4,0x5,_0x2a1063[0x10]),_0x272f95=_0x23b469(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x26e37b,0x9,_0x2a1063[0x11]),_0x1f35fd=_0x23b469(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x14857a,0xe,_0x2a1063[0x12]),_0x4f503b=_0x23b469(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x3c1db9,0x14,_0x2a1063[0x13]),_0x41e9a1=_0x23b469(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x49e999,0x5,_0x2a1063[0x14]),_0x272f95=_0x23b469(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x42bc00,0x9,_0x2a1063[0x15]),_0x1f35fd=_0x23b469(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x1346b2,0xe,_0x2a1063[0x16]),_0x4f503b=_0x23b469(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x485471,0x14,_0x2a1063[0x17]),_0x41e9a1=_0x23b469(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x48d18e,0x5,_0x2a1063[0x18]),_0x272f95=_0x23b469(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x4579b1,0x9,_0x2a1063[0x19]),_0x1f35fd=_0x23b469(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x33f055,0xe,_0x2a1063[0x1a]),_0x4f503b=_0x23b469(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x137c33,0x14,_0x2a1063[0x1b]),_0x41e9a1=_0x23b469(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x55e70a,0x5,_0x2a1063[0x1c]),_0x272f95=_0x23b469(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x17500a,0x9,_0x2a1063[0x1d]),_0x1f35fd=_0x23b469(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x34779b,0xe,_0x2a1063[0x1e]),_0x4f503b=_0x23b469(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x417b47,0x14,_0x2a1063[0x1f]),_0x41e9a1=_0x38348a(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x49e999,0x4,_0x2a1063[0x20]),_0x272f95=_0x38348a(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x137c33,0xb,_0x2a1063[0x21]),_0x1f35fd=_0x38348a(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x14857a,0x10,_0x2a1063[0x22]),_0x4f503b=_0x38348a(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x4579b1,0x17,_0x2a1063[0x23]),_0x41e9a1=_0x38348a(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x2547d4,0x4,_0x2a1063[0x24]),_0x272f95=_0x38348a(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x485471,0xb,_0x2a1063[0x25]),_0x1f35fd=_0x38348a(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x34779b,0x10,_0x2a1063[0x26]),_0x4f503b=_0x38348a(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x42bc00,0x17,_0x2a1063[0x27]),_0x41e9a1=_0x38348a(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x55e70a,0x4,_0x2a1063[0x28]),_0x272f95=_0x38348a(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x3c1db9,0xb,_0x2a1063[0x29]),_0x1f35fd=_0x38348a(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x33f055,0x10,_0x2a1063[0x2a]),_0x4f503b=_0x38348a(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x26e37b,0x17,_0x2a1063[0x2b]),_0x41e9a1=_0x38348a(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x48d18e,0x4,_0x2a1063[0x2c]),_0x272f95=_0x38348a(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x417b47,0xb,_0x2a1063[0x2d]),_0x1f35fd=_0x38348a(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x1346b2,0x10,_0x2a1063[0x2e]),_0x4f503b=_0x38348a(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x17500a,0x17,_0x2a1063[0x2f]),_0x41e9a1=_0x1458a1(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x3c1db9,0x6,_0x2a1063[0x30]),_0x272f95=_0x1458a1(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x34779b,0xa,_0x2a1063[0x31]),_0x1f35fd=_0x1458a1(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x4579b1,0xf,_0x2a1063[0x32]),_0x4f503b=_0x1458a1(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x49e999,0x15,_0x2a1063[0x33]),_0x41e9a1=_0x1458a1(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x417b47,0x6,_0x2a1063[0x34]),_0x272f95=_0x1458a1(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x33f055,0xa,_0x2a1063[0x35]),_0x1f35fd=_0x1458a1(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x42bc00,0xf,_0x2a1063[0x36]),_0x4f503b=_0x1458a1(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x2547d4,0x15,_0x2a1063[0x37]),_0x41e9a1=_0x1458a1(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x137c33,0x6,_0x2a1063[0x38]),_0x272f95=_0x1458a1(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x1346b2,0xa,_0x2a1063[0x39]),_0x1f35fd=_0x1458a1(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x26e37b,0xf,_0x2a1063[0x3a]),_0x4f503b=_0x1458a1(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x55e70a,0x15,_0x2a1063[0x3b]),_0x41e9a1=_0x1458a1(_0x41e9a1,_0x4f503b,_0x1f35fd,_0x272f95,_0x485471,0x6,_0x2a1063[0x3c]),_0x272f95=_0x1458a1(_0x272f95,_0x41e9a1,_0x4f503b,_0x1f35fd,_0x14857a,0xa,_0x2a1063[0x3d]),_0x1f35fd=_0x1458a1(_0x1f35fd,_0x272f95,_0x41e9a1,_0x4f503b,_0x17500a,0xf,_0x2a1063[0x3e]),_0x4f503b=_0x1458a1(_0x4f503b,_0x1f35fd,_0x272f95,_0x41e9a1,_0x48d18e,0x15,_0x2a1063[0x3f]),_0x1e7dea[0x0]=_0x1e7dea[0x0]+_0x41e9a1|0x0,_0x1e7dea[0x1]=_0x1e7dea[0x1]+_0x4f503b|0x0,_0x1e7dea[0x2]=_0x1e7dea[0x2]+_0x1f35fd|0x0,_0x1e7dea[0x3]=_0x1e7dea[0x3]+_0x272f95|0x0;},'_doFinalize':function(){var _0x21c6c5=_0x5bb893,_0x5a500a=this[_0x21c6c5(0x36c)],_0x93cc92=_0x5a500a[_0x21c6c5(0x39d)],_0x3fbb1a=this[_0x21c6c5(0xe4)]*0x8,_0x3a1153=_0x5a500a[_0x21c6c5(0x19f)]*0x8;_0x93cc92[_0x3a1153>>>0x5]|=0x80<<0x18-_0x3a1153%0x20;var _0x580e39=_0x2d7478['floor'](_0x3fbb1a/0x100000000),_0x37d4a2=_0x3fbb1a;_0x93cc92[(_0x3a1153+0x40>>>0x9<<0x4)+0xf]=(_0x580e39<<0x8|_0x580e39>>>0x18)&0xff00ff|(_0x580e39<<0x18|_0x580e39>>>0x8)&0xff00ff00,_0x93cc92[(_0x3a1153+0x40>>>0x9<<0x4)+0xe]=(_0x37d4a2<<0x8|_0x37d4a2>>>0x18)&0xff00ff|(_0x37d4a2<<0x18|_0x37d4a2>>>0x8)&0xff00ff00,_0x5a500a[_0x21c6c5(0x19f)]=(_0x93cc92[_0x21c6c5(0xdd)]+0x1)*0x4,this['_process']();for(var _0x53054b=this[_0x21c6c5(0x158)],_0xab6e42=_0x53054b[_0x21c6c5(0x39d)],_0x1d1cc8=0x0;_0x1d1cc8<0x4;_0x1d1cc8++){var _0x352b35=_0xab6e42[_0x1d1cc8];_0xab6e42[_0x1d1cc8]=(_0x352b35<<0x8|_0x352b35>>>0x18)&0xff00ff|(_0x352b35<<0x18|_0x352b35>>>0x8)&0xff00ff00;}return _0x53054b;},'clone':function(){var _0x3fe6ac=_0x5bb893,_0x1a1798=_0x2c1f41[_0x3fe6ac(0x9b)][_0x3fe6ac(0x38a)](this);return _0x1a1798[_0x3fe6ac(0x158)]=this['_hash'][_0x3fe6ac(0x9b)](),_0x1a1798;}});function _0x177eec(_0xf59c1c,_0x6c6b9c,_0x55772e,_0x17951b,_0x3ba511,_0x468fd9,_0x302fca){var _0x2bfc24=_0xf59c1c+(_0x6c6b9c&_0x55772e|~_0x6c6b9c&_0x17951b)+_0x3ba511+_0x302fca;return(_0x2bfc24<<_0x468fd9|_0x2bfc24>>>0x20-_0x468fd9)+_0x6c6b9c;}function _0x23b469(_0x4c9ccb,_0x5a007e,_0x42c4c2,_0x54fd6e,_0xc9f3e9,_0x251436,_0x342fe7){var _0x3eb96b=_0x4c9ccb+(_0x5a007e&_0x54fd6e|_0x42c4c2&~_0x54fd6e)+_0xc9f3e9+_0x342fe7;return(_0x3eb96b<<_0x251436|_0x3eb96b>>>0x20-_0x251436)+_0x5a007e;}function _0x38348a(_0xc817df,_0x3dcea2,_0x2e6c58,_0xd02196,_0x2780de,_0x1839b4,_0x3400dd){var _0x11476d=_0xc817df+(_0x3dcea2^_0x2e6c58^_0xd02196)+_0x2780de+_0x3400dd;return(_0x11476d<<_0x1839b4|_0x11476d>>>0x20-_0x1839b4)+_0x3dcea2;}function _0x1458a1(_0x4816c0,_0x58c466,_0x476358,_0x1c4c00,_0x4e0f54,_0x213b65,_0x55dd1d){var _0x3c1a77=_0x4816c0+(_0x476358^(_0x58c466|~_0x1c4c00))+_0x4e0f54+_0x55dd1d;return(_0x3c1a77<<_0x213b65|_0x3c1a77>>>0x20-_0x213b65)+_0x58c466;}_0x6f8f6b[_0x5bb893(0x17d)]=_0x2c1f41['_createHelper'](_0x4f35d8),_0x6f8f6b[_0x5bb893(0x382)]=_0x2c1f41['_createHmacHelper'](_0x4f35d8);}(Math),_0x46266[_0x4e7a58(0x17d)];}));}(_0x426099)),_0x426099[_0x32df8b(0x36e)];}var _0x34a425={'exports':{}},_0x30d1c1={'exports':{}},_0x5093ea=_0x30d1c1[_0x25bc2e(0x36e)],_0x20a0ad;function _0x4da252(){var _0x3fc4ee=_0x25bc2e;return _0x20a0ad||(_0x20a0ad=0x1,function(_0x3294d3,_0x55a4cc){(function(_0x225853,_0x416ced){_0x3294d3['exports']=_0x416ced(_0x152408());}(_0x5093ea,function(_0x4bfc37){var _0x46c7a9=_0x47c2;return(function(){var _0x5a949d=_0x47c2,_0x1c807e=_0x4bfc37,_0x4e32ac=_0x1c807e[_0x5a949d(0xaa)],_0x15677b=_0x4e32ac['WordArray'],_0x4706f7=_0x4e32ac[_0x5a949d(0x32b)],_0xaa40bb=_0x1c807e['algo'],_0x239f7f=[],_0xe25dc1=_0xaa40bb[_0x5a949d(0x2e1)]=_0x4706f7[_0x5a949d(0x1f9)]({'_doReset':function(){var _0x2fe911=_0x5a949d;this[_0x2fe911(0x158)]=new _0x15677b[(_0x2fe911(0x27c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xb44f57,_0x5e55a0){var _0x521fc6=_0x5a949d;for(var _0x50c628=this[_0x521fc6(0x158)][_0x521fc6(0x39d)],_0x547f31=_0x50c628[0x0],_0x288136=_0x50c628[0x1],_0x5f4b7f=_0x50c628[0x2],_0x5c540e=_0x50c628[0x3],_0x3efd02=_0x50c628[0x4],_0x2632b=0x0;_0x2632b<0x50;_0x2632b++){if(_0x2632b<0x10)_0x239f7f[_0x2632b]=_0xb44f57[_0x5e55a0+_0x2632b]|0x0;else{var _0x388773=_0x239f7f[_0x2632b-0x3]^_0x239f7f[_0x2632b-0x8]^_0x239f7f[_0x2632b-0xe]^_0x239f7f[_0x2632b-0x10];_0x239f7f[_0x2632b]=_0x388773<<0x1|_0x388773>>>0x1f;}var _0x4d31a3=(_0x547f31<<0x5|_0x547f31>>>0x1b)+_0x3efd02+_0x239f7f[_0x2632b];_0x2632b<0x14?_0x4d31a3+=(_0x288136&_0x5f4b7f|~_0x288136&_0x5c540e)+0x5a827999:_0x2632b<0x28?_0x4d31a3+=(_0x288136^_0x5f4b7f^_0x5c540e)+0x6ed9eba1:_0x2632b<0x3c?_0x4d31a3+=(_0x288136&_0x5f4b7f|_0x288136&_0x5c540e|_0x5f4b7f&_0x5c540e)-0x70e44324:_0x4d31a3+=(_0x288136^_0x5f4b7f^_0x5c540e)-0x359d3e2a,_0x3efd02=_0x5c540e,_0x5c540e=_0x5f4b7f,_0x5f4b7f=_0x288136<<0x1e|_0x288136>>>0x2,_0x288136=_0x547f31,_0x547f31=_0x4d31a3;}_0x50c628[0x0]=_0x50c628[0x0]+_0x547f31|0x0,_0x50c628[0x1]=_0x50c628[0x1]+_0x288136|0x0,_0x50c628[0x2]=_0x50c628[0x2]+_0x5f4b7f|0x0,_0x50c628[0x3]=_0x50c628[0x3]+_0x5c540e|0x0,_0x50c628[0x4]=_0x50c628[0x4]+_0x3efd02|0x0;},'_doFinalize':function(){var _0x53c8ca=_0x5a949d,_0x1ff549=this['_data'],_0x18ade9=_0x1ff549[_0x53c8ca(0x39d)],_0x4bc428=this[_0x53c8ca(0xe4)]*0x8,_0x888eb=_0x1ff549[_0x53c8ca(0x19f)]*0x8;return _0x18ade9[_0x888eb>>>0x5]|=0x80<<0x18-_0x888eb%0x20,_0x18ade9[(_0x888eb+0x40>>>0x9<<0x4)+0xe]=Math[_0x53c8ca(0x23a)](_0x4bc428/0x100000000),_0x18ade9[(_0x888eb+0x40>>>0x9<<0x4)+0xf]=_0x4bc428,_0x1ff549[_0x53c8ca(0x19f)]=_0x18ade9[_0x53c8ca(0xdd)]*0x4,this['_process'](),this[_0x53c8ca(0x158)];},'clone':function(){var _0x147554=_0x5a949d,_0x6a7727=_0x4706f7[_0x147554(0x9b)]['call'](this);return _0x6a7727[_0x147554(0x158)]=this[_0x147554(0x158)][_0x147554(0x9b)](),_0x6a7727;}});_0x1c807e[_0x5a949d(0x2e1)]=_0x4706f7['_createHelper'](_0xe25dc1),_0x1c807e[_0x5a949d(0x309)]=_0x4706f7[_0x5a949d(0x3ab)](_0xe25dc1);}()),_0x4bfc37[_0x46c7a9(0x2e1)];}));}(_0x30d1c1)),_0x30d1c1[_0x3fc4ee(0x36e)];}var _0x24b767={'exports':{}},_0x2d7aa1=_0x24b767[_0x25bc2e(0x36e)],_0x30c63a;function _0x330cd6(){var _0x18a12a=_0x25bc2e;return _0x30c63a||(_0x30c63a=0x1,function(_0x3b1c6a,_0x4642e6){(function(_0x58df03,_0xe289f1){var _0x5be690=_0x47c2;_0x3b1c6a[_0x5be690(0x36e)]=_0xe289f1(_0x152408());}(_0x2d7aa1,function(_0x35f06f){(function(){var _0x18d9a1=_0x47c2,_0x457b31=_0x35f06f,_0x3a17f7=_0x457b31[_0x18d9a1(0xaa)],_0x1e12e6=_0x3a17f7['Base'],_0x529b58=_0x457b31[_0x18d9a1(0x12c)],_0x231c89=_0x529b58[_0x18d9a1(0x155)],_0x5b5b11=_0x457b31[_0x18d9a1(0x32c)];_0x5b5b11[_0x18d9a1(0x2ad)]=_0x1e12e6['extend']({'init':function(_0x116166,_0x16ac3e){var _0x1a6ec9=_0x18d9a1;_0x116166=this[_0x1a6ec9(0x217)]=new _0x116166['init'](),typeof _0x16ac3e==_0x1a6ec9(0x1b3)&&(_0x16ac3e=_0x231c89[_0x1a6ec9(0x330)](_0x16ac3e));var _0x53998f=_0x116166[_0x1a6ec9(0x135)],_0x3d892c=_0x53998f*0x4;_0x16ac3e[_0x1a6ec9(0x19f)]>_0x3d892c&&(_0x16ac3e=_0x116166['finalize'](_0x16ac3e)),_0x16ac3e[_0x1a6ec9(0x355)]();for(var _0x20ab9f=this[_0x1a6ec9(0x1d8)]=_0x16ac3e[_0x1a6ec9(0x9b)](),_0x2ffe88=this[_0x1a6ec9(0x1ff)]=_0x16ac3e[_0x1a6ec9(0x9b)](),_0x14ad8a=_0x20ab9f[_0x1a6ec9(0x39d)],_0x48aa5d=_0x2ffe88[_0x1a6ec9(0x39d)],_0x1ecab7=0x0;_0x1ecab7<_0x53998f;_0x1ecab7++)_0x14ad8a[_0x1ecab7]^=0x5c5c5c5c,_0x48aa5d[_0x1ecab7]^=0x36363636;_0x20ab9f[_0x1a6ec9(0x19f)]=_0x2ffe88['sigBytes']=_0x3d892c,this[_0x1a6ec9(0x110)]();},'reset':function(){var _0x4e6d66=_0x18d9a1,_0xa36345=this[_0x4e6d66(0x217)];_0xa36345[_0x4e6d66(0x110)](),_0xa36345[_0x4e6d66(0x2c6)](this[_0x4e6d66(0x1ff)]);},'update':function(_0x35c0cf){var _0x577099=_0x18d9a1;return this[_0x577099(0x217)][_0x577099(0x2c6)](_0x35c0cf),this;},'finalize':function(_0x35652e){var _0x20887d=_0x18d9a1,_0x58e6d6=this[_0x20887d(0x217)],_0x34c4a7=_0x58e6d6[_0x20887d(0x165)](_0x35652e);_0x58e6d6[_0x20887d(0x110)]();var _0x3cfa95=_0x58e6d6[_0x20887d(0x165)](this[_0x20887d(0x1d8)][_0x20887d(0x9b)]()['concat'](_0x34c4a7));return _0x3cfa95;}});}());}));}(_0x24b767)),_0x24b767[_0x18a12a(0x36e)];}var _0x11a7c9=_0x34a425[_0x25bc2e(0x36e)],_0x5a5095;function _0x1b3da6(){var _0xa21b4d=_0x25bc2e;return _0x5a5095||(_0x5a5095=0x1,function(_0x541774,_0x5bd91f){(function(_0x504a0d,_0x2f310c,_0x162a12){var _0x29a493=_0x47c2;_0x541774[_0x29a493(0x36e)]=_0x2f310c(_0x152408(),_0x4da252(),_0x330cd6());}(_0x11a7c9,function(_0x2ca930){var _0x2551b6=_0x47c2;return(function(){var _0x221a46=_0x47c2,_0x4d876f=_0x2ca930,_0x1e1eec=_0x4d876f[_0x221a46(0xaa)],_0x319225=_0x1e1eec[_0x221a46(0x1b6)],_0x3f0487=_0x1e1eec['WordArray'],_0x4dd4ec=_0x4d876f[_0x221a46(0x32c)],_0x322546=_0x4dd4ec['MD5'],_0x406ab1=_0x4dd4ec[_0x221a46(0x10d)]=_0x319225[_0x221a46(0x1f9)]({'cfg':_0x319225[_0x221a46(0x1f9)]({'keySize':0x80/0x20,'hasher':_0x322546,'iterations':0x1}),'init':function(_0x3b95c0){var _0x1bf3e2=_0x221a46;this[_0x1bf3e2(0x33d)]=this[_0x1bf3e2(0x33d)][_0x1bf3e2(0x1f9)](_0x3b95c0);},'compute':function(_0x10b3a4,_0x6d3e44){var _0x26787e=_0x221a46;for(var _0x2dac52,_0x4377d7=this[_0x26787e(0x33d)],_0x5f2d42=_0x4377d7[_0x26787e(0x37f)][_0x26787e(0x1c1)](),_0xd1d888=_0x3f0487['create'](),_0x44db23=_0xd1d888[_0x26787e(0x39d)],_0x51c02e=_0x4377d7[_0x26787e(0x18c)],_0x119db7=_0x4377d7[_0x26787e(0x367)];_0x44db23[_0x26787e(0xdd)]<_0x51c02e;){_0x2dac52&&_0x5f2d42[_0x26787e(0x2c6)](_0x2dac52),_0x2dac52=_0x5f2d42['update'](_0x10b3a4)[_0x26787e(0x165)](_0x6d3e44),_0x5f2d42[_0x26787e(0x110)]();for(var _0x1a8b8f=0x1;_0x1a8b8f<_0x119db7;_0x1a8b8f++)_0x2dac52=_0x5f2d42[_0x26787e(0x165)](_0x2dac52),_0x5f2d42[_0x26787e(0x110)]();_0xd1d888[_0x26787e(0x2d2)](_0x2dac52);}return _0xd1d888[_0x26787e(0x19f)]=_0x51c02e*0x4,_0xd1d888;}});_0x4d876f[_0x221a46(0x10d)]=function(_0xfd9211,_0x1f5958,_0x103d31){var _0x57b9f6=_0x221a46;return _0x406ab1[_0x57b9f6(0x1c1)](_0x103d31)[_0x57b9f6(0xb5)](_0xfd9211,_0x1f5958);};}()),_0x2ca930[_0x2551b6(0x10d)];}));}(_0x34a425)),_0x34a425[_0xa21b4d(0x36e)];}var _0x31a17a={'exports':{}},_0x2ca693=_0x31a17a[_0x25bc2e(0x36e)],_0x4bb007;function _0xa17a3e(){var _0x1c0517=_0x25bc2e;return _0x4bb007||(_0x4bb007=0x1,function(_0x54d1d6,_0x501be4){(function(_0x3eab26,_0x1ea6cc,_0x1225da){var _0x6b2505=_0x47c2;_0x54d1d6[_0x6b2505(0x36e)]=_0x1ea6cc(_0x152408(),_0x1b3da6());}(_0x2ca693,function(_0x59b051){var _0x432380=_0x47c2;_0x59b051[_0x432380(0xaa)]['Cipher']||function(_0x2130aa){var _0x227939=_0x432380,_0x4a2ee8=_0x59b051,_0x1f228a=_0x4a2ee8[_0x227939(0xaa)],_0x363f97=_0x1f228a['Base'],_0x30a1e2=_0x1f228a['WordArray'],_0x370195=_0x1f228a[_0x227939(0x121)],_0x5af3c2=_0x4a2ee8[_0x227939(0x12c)];_0x5af3c2['Utf8'];var _0x1d500f=_0x5af3c2['Base64'],_0x1bdc25=_0x4a2ee8[_0x227939(0x32c)],_0x367d8c=_0x1bdc25[_0x227939(0x10d)],_0x43f4bf=_0x1f228a[_0x227939(0x129)]=_0x370195[_0x227939(0x1f9)]({'cfg':_0x363f97[_0x227939(0x1f9)](),'createEncryptor':function(_0x3f0a4d,_0x34b6d9){var _0xac4c1c=_0x227939;return this[_0xac4c1c(0x1c1)](this['_ENC_XFORM_MODE'],_0x3f0a4d,_0x34b6d9);},'createDecryptor':function(_0x79d86c,_0x3c6e94){var _0x5b7b95=_0x227939;return this[_0x5b7b95(0x1c1)](this[_0x5b7b95(0x2fc)],_0x79d86c,_0x3c6e94);},'init':function(_0x401c7c,_0x2b6153,_0x2fab11){var _0x42b558=_0x227939;this[_0x42b558(0x33d)]=this[_0x42b558(0x33d)][_0x42b558(0x1f9)](_0x2fab11),this['_xformMode']=_0x401c7c,this[_0x42b558(0x29e)]=_0x2b6153,this[_0x42b558(0x110)]();},'reset':function(){var _0x28722d=_0x227939;_0x370195['reset'][_0x28722d(0x38a)](this),this['_doReset']();},'process':function(_0xe543f2){var _0x3e2d3a=_0x227939;return this[_0x3e2d3a(0x1ac)](_0xe543f2),this[_0x3e2d3a(0x176)]();},'finalize':function(_0x1748dd){var _0x218711=_0x227939;_0x1748dd&&this[_0x218711(0x1ac)](_0x1748dd);var _0x4b264b=this[_0x218711(0x109)]();return _0x4b264b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x267f81(_0x2c5e19){var _0x5ee07c=_0x47c2;return typeof _0x2c5e19==_0x5ee07c(0x1b3)?_0xcfe801:_0x763062;}return function(_0x8465d8){return{'encrypt':function(_0x314404,_0x44b51d,_0x56b77c){var _0x65b486=_0x47c2;return _0x267f81(_0x44b51d)[_0x65b486(0x246)](_0x8465d8,_0x314404,_0x44b51d,_0x56b77c);},'decrypt':function(_0x5d267f,_0x11cfea,_0x51fada){var _0x21121e=_0x47c2;return _0x267f81(_0x11cfea)[_0x21121e(0x379)](_0x8465d8,_0x5d267f,_0x11cfea,_0x51fada);}};};}())});_0x1f228a[_0x227939(0x148)]=_0x43f4bf[_0x227939(0x1f9)]({'_doFinalize':function(){var _0x59fbfe=_0x227939,_0x2dc052=this[_0x59fbfe(0x176)](!0x0);return _0x2dc052;},'blockSize':0x1});var _0x2a8334=_0x4a2ee8['mode']={},_0x11579b=_0x1f228a[_0x227939(0xa4)]=_0x363f97[_0x227939(0x1f9)]({'createEncryptor':function(_0x569bec,_0x33784e){var _0x134dd3=_0x227939;return this[_0x134dd3(0x27b)][_0x134dd3(0x1c1)](_0x569bec,_0x33784e);},'createDecryptor':function(_0x1816a7,_0x3e8991){return this['Decryptor']['create'](_0x1816a7,_0x3e8991);},'init':function(_0x3b9fd7,_0x4d54d9){var _0x112fbe=_0x227939;this[_0x112fbe(0x384)]=_0x3b9fd7,this[_0x112fbe(0x189)]=_0x4d54d9;}}),_0x1d0a76=_0x2a8334[_0x227939(0x3c5)]=(function(){var _0x2348e4=_0x227939,_0x415967=_0x11579b[_0x2348e4(0x1f9)]();_0x415967[_0x2348e4(0x27b)]=_0x415967['extend']({'processBlock':function(_0xa81137,_0x15ea29){var _0x457794=_0x2348e4,_0x460e96=this[_0x457794(0x384)],_0x16eee5=_0x460e96[_0x457794(0x135)];_0x510184[_0x457794(0x38a)](this,_0xa81137,_0x15ea29,_0x16eee5),_0x460e96['encryptBlock'](_0xa81137,_0x15ea29),this['_prevBlock']=_0xa81137['slice'](_0x15ea29,_0x15ea29+_0x16eee5);}}),_0x415967['Decryptor']=_0x415967[_0x2348e4(0x1f9)]({'processBlock':function(_0x4ebecd,_0x6af39d){var _0x53fcba=_0x2348e4,_0x5a2854=this['_cipher'],_0x15482d=_0x5a2854[_0x53fcba(0x135)],_0x56404b=_0x4ebecd[_0x53fcba(0xd1)](_0x6af39d,_0x6af39d+_0x15482d);_0x5a2854[_0x53fcba(0x1bb)](_0x4ebecd,_0x6af39d),_0x510184[_0x53fcba(0x38a)](this,_0x4ebecd,_0x6af39d,_0x15482d),this[_0x53fcba(0xc9)]=_0x56404b;}});function _0x510184(_0x5236aa,_0x43e3c8,_0x5b4ef1){var _0x3eebb5=_0x2348e4,_0x17e1cb,_0x508322=this[_0x3eebb5(0x189)];_0x508322?(_0x17e1cb=_0x508322,this[_0x3eebb5(0x189)]=_0x2130aa):_0x17e1cb=this[_0x3eebb5(0xc9)];for(var _0x46a45b=0x0;_0x46a45b<_0x5b4ef1;_0x46a45b++)_0x5236aa[_0x43e3c8+_0x46a45b]^=_0x17e1cb[_0x46a45b];}return _0x415967;}()),_0x549d26=_0x4a2ee8[_0x227939(0xd6)]={},_0x22c742=_0x549d26[_0x227939(0x321)]={'pad':function(_0x8a2685,_0x213849){var _0x487ca4=_0x227939;for(var _0x315d95=_0x213849*0x4,_0x503623=_0x315d95-_0x8a2685['sigBytes']%_0x315d95,_0x1353d2=_0x503623<<0x18|_0x503623<<0x10|_0x503623<<0x8|_0x503623,_0x39f123=[],_0xd839f8=0x0;_0xd839f8<_0x503623;_0xd839f8+=0x4)_0x39f123[_0x487ca4(0x204)](_0x1353d2);var _0x19e4c8=_0x30a1e2[_0x487ca4(0x1c1)](_0x39f123,_0x503623);_0x8a2685[_0x487ca4(0x2d2)](_0x19e4c8);},'unpad':function(_0x589a86){var _0x23b9ea=_0x227939,_0x70ae32=_0x589a86[_0x23b9ea(0x39d)][_0x589a86['sigBytes']-0x1>>>0x2]&0xff;_0x589a86[_0x23b9ea(0x19f)]-=_0x70ae32;}};_0x1f228a[_0x227939(0x3da)]=_0x43f4bf[_0x227939(0x1f9)]({'cfg':_0x43f4bf[_0x227939(0x33d)][_0x227939(0x1f9)]({'mode':_0x1d0a76,'padding':_0x22c742}),'reset':function(){var _0xb33d8a=_0x227939,_0xd2c03d;_0x43f4bf['reset']['call'](this);var _0x3f2745=this[_0xb33d8a(0x33d)],_0x2c6ad6=_0x3f2745['iv'],_0x4e7d73=_0x3f2745[_0xb33d8a(0x11d)];this[_0xb33d8a(0x2a5)]==this[_0xb33d8a(0x1c6)]?_0xd2c03d=_0x4e7d73['createEncryptor']:(_0xd2c03d=_0x4e7d73[_0xb33d8a(0x34d)],this[_0xb33d8a(0x207)]=0x1),this[_0xb33d8a(0x117)]&&this[_0xb33d8a(0x117)]['__creator']==_0xd2c03d?this[_0xb33d8a(0x117)][_0xb33d8a(0x27c)](this,_0x2c6ad6&&_0x2c6ad6['words']):(this[_0xb33d8a(0x117)]=_0xd2c03d[_0xb33d8a(0x38a)](_0x4e7d73,this,_0x2c6ad6&&_0x2c6ad6[_0xb33d8a(0x39d)]),this[_0xb33d8a(0x117)][_0xb33d8a(0x418)]=_0xd2c03d);},'_doProcessBlock':function(_0x3530c8,_0x412dd1){var _0x17e97a=_0x227939;this['_mode'][_0x17e97a(0xa2)](_0x3530c8,_0x412dd1);},'_doFinalize':function(){var _0xa6be28=_0x227939,_0x5dfe2b,_0x21bcbc=this['cfg'][_0xa6be28(0x374)];return this['_xformMode']==this[_0xa6be28(0x1c6)]?(_0x21bcbc[_0xa6be28(0xd6)](this[_0xa6be28(0x36c)],this[_0xa6be28(0x135)]),_0x5dfe2b=this[_0xa6be28(0x176)](!0x0)):(_0x5dfe2b=this[_0xa6be28(0x176)](!0x0),_0x21bcbc[_0xa6be28(0x178)](_0x5dfe2b)),_0x5dfe2b;},'blockSize':0x80/0x20});var _0x56e14d=_0x1f228a[_0x227939(0x264)]=_0x363f97[_0x227939(0x1f9)]({'init':function(_0xdc23b8){var _0x181841=_0x227939;this[_0x181841(0x177)](_0xdc23b8);},'toString':function(_0x33566e){var _0x3c9bcb=_0x227939;return(_0x33566e||this['formatter'])[_0x3c9bcb(0x2db)](this);}}),_0x377131=_0x4a2ee8[_0x227939(0x39c)]={},_0x2ab56b=_0x377131[_0x227939(0x1c0)]={'stringify':function(_0x2808b0){var _0x51801d=_0x227939,_0x205b76,_0x12e9a8=_0x2808b0[_0x51801d(0x188)],_0x4b4e5e=_0x2808b0['salt'];return _0x4b4e5e?_0x205b76=_0x30a1e2[_0x51801d(0x1c1)]([0x53616c74,0x65645f5f])[_0x51801d(0x2d2)](_0x4b4e5e)[_0x51801d(0x2d2)](_0x12e9a8):_0x205b76=_0x12e9a8,_0x205b76['toString'](_0x1d500f);},'parse':function(_0x52f327){var _0xeb4d5f=_0x227939,_0x2bffd2,_0x8fc16c=_0x1d500f[_0xeb4d5f(0x330)](_0x52f327),_0x2f161c=_0x8fc16c[_0xeb4d5f(0x39d)];return _0x2f161c[0x0]==0x53616c74&&_0x2f161c[0x1]==0x65645f5f&&(_0x2bffd2=_0x30a1e2[_0xeb4d5f(0x1c1)](_0x2f161c['slice'](0x2,0x4)),_0x2f161c[_0xeb4d5f(0x289)](0x0,0x4),_0x8fc16c[_0xeb4d5f(0x19f)]-=0x10),_0x56e14d[_0xeb4d5f(0x1c1)]({'ciphertext':_0x8fc16c,'salt':_0x2bffd2});}},_0x763062=_0x1f228a[_0x227939(0x115)]=_0x363f97[_0x227939(0x1f9)]({'cfg':_0x363f97['extend']({'format':_0x2ab56b}),'encrypt':function(_0x341dc0,_0x369ee5,_0x4b2036,_0x3e71e4){var _0x451727=_0x227939;_0x3e71e4=this['cfg'][_0x451727(0x1f9)](_0x3e71e4);var _0x4c40f8=_0x341dc0[_0x451727(0x213)](_0x4b2036,_0x3e71e4),_0x5bc19a=_0x4c40f8['finalize'](_0x369ee5),_0x313ca6=_0x4c40f8[_0x451727(0x33d)];return _0x56e14d[_0x451727(0x1c1)]({'ciphertext':_0x5bc19a,'key':_0x4b2036,'iv':_0x313ca6['iv'],'algorithm':_0x341dc0,'mode':_0x313ca6[_0x451727(0x11d)],'padding':_0x313ca6[_0x451727(0x374)],'blockSize':_0x341dc0[_0x451727(0x135)],'formatter':_0x3e71e4[_0x451727(0x39c)]});},'decrypt':function(_0x1047db,_0xa4c0c4,_0x1685e7,_0x1f9703){var _0x4c8b03=_0x227939;_0x1f9703=this['cfg'][_0x4c8b03(0x1f9)](_0x1f9703),_0xa4c0c4=this[_0x4c8b03(0x235)](_0xa4c0c4,_0x1f9703[_0x4c8b03(0x39c)]);var _0x58eb83=_0x1047db[_0x4c8b03(0x34d)](_0x1685e7,_0x1f9703)['finalize'](_0xa4c0c4[_0x4c8b03(0x188)]);return _0x58eb83;},'_parse':function(_0x476796,_0x2ef159){var _0x2ce551=_0x227939;return typeof _0x476796==_0x2ce551(0x1b3)?_0x2ef159[_0x2ce551(0x330)](_0x476796,this):_0x476796;}}),_0x4230b9=_0x4a2ee8['kdf']={},_0x819814=_0x4230b9[_0x227939(0x1c0)]={'execute':function(_0x5832b8,_0x26abeb,_0x9a2495,_0x15d633,_0x39248a){var _0x202e74=_0x227939;if(_0x15d633||(_0x15d633=_0x30a1e2[_0x202e74(0x3b9)](0x40/0x8)),_0x39248a)var _0x32cdc8=_0x367d8c[_0x202e74(0x1c1)]({'keySize':_0x26abeb+_0x9a2495,'hasher':_0x39248a})[_0x202e74(0xb5)](_0x5832b8,_0x15d633);else var _0x32cdc8=_0x367d8c['create']({'keySize':_0x26abeb+_0x9a2495})[_0x202e74(0xb5)](_0x5832b8,_0x15d633);var _0x317d39=_0x30a1e2[_0x202e74(0x1c1)](_0x32cdc8[_0x202e74(0x39d)][_0x202e74(0xd1)](_0x26abeb),_0x9a2495*0x4);return _0x32cdc8[_0x202e74(0x19f)]=_0x26abeb*0x4,_0x56e14d['create']({'key':_0x32cdc8,'iv':_0x317d39,'salt':_0x15d633});}},_0xcfe801=_0x1f228a[_0x227939(0x3ef)]=_0x763062[_0x227939(0x1f9)]({'cfg':_0x763062['cfg'][_0x227939(0x1f9)]({'kdf':_0x819814}),'encrypt':function(_0x9a4e13,_0x5cc18d,_0x255396,_0x3bb54f){var _0x530fdb=_0x227939;_0x3bb54f=this['cfg'][_0x530fdb(0x1f9)](_0x3bb54f);var _0x2fe55c=_0x3bb54f[_0x530fdb(0x139)][_0x530fdb(0x16f)](_0x255396,_0x9a4e13['keySize'],_0x9a4e13['ivSize'],_0x3bb54f[_0x530fdb(0x13a)],_0x3bb54f['hasher']);_0x3bb54f['iv']=_0x2fe55c['iv'];var _0x58286e=_0x763062[_0x530fdb(0x246)]['call'](this,_0x9a4e13,_0x5cc18d,_0x2fe55c[_0x530fdb(0x3fe)],_0x3bb54f);return _0x58286e[_0x530fdb(0x177)](_0x2fe55c),_0x58286e;},'decrypt':function(_0x34f79f,_0x3c8df2,_0x2fbf93,_0x14b0a4){var _0x539702=_0x227939;_0x14b0a4=this[_0x539702(0x33d)][_0x539702(0x1f9)](_0x14b0a4),_0x3c8df2=this[_0x539702(0x235)](_0x3c8df2,_0x14b0a4['format']);var _0x4c3e5f=_0x14b0a4[_0x539702(0x139)][_0x539702(0x16f)](_0x2fbf93,_0x34f79f[_0x539702(0x18c)],_0x34f79f[_0x539702(0x2ec)],_0x3c8df2[_0x539702(0x13a)],_0x14b0a4[_0x539702(0x37f)]);_0x14b0a4['iv']=_0x4c3e5f['iv'];var _0x55121d=_0x763062[_0x539702(0x379)][_0x539702(0x38a)](this,_0x34f79f,_0x3c8df2,_0x4c3e5f[_0x539702(0x3fe)],_0x14b0a4);return _0x55121d;}});}();}));}(_0x31a17a)),_0x31a17a[_0x1c0517(0x36e)];}var _0x2d37dc=_0x3fa2a7[_0x25bc2e(0x36e)],_0x208b67;function _0x1a6123(){var _0x5264be=_0x25bc2e;return _0x208b67||(_0x208b67=0x1,function(_0x65a543,_0x50aa7b){(function(_0x119602,_0x590a3d,_0x2d7ef8){var _0x574ed7=_0x47c2;_0x65a543[_0x574ed7(0x36e)]=_0x590a3d(_0x152408(),_0x44b5c0(),_0x58221e(),_0x1b3da6(),_0xa17a3e());}(_0x2d37dc,function(_0x232ae1){var _0x15ba69=_0x47c2;return(function(){var _0x2a204b=_0x47c2,_0x3d0d95=_0x232ae1,_0x22eb00=_0x3d0d95['lib'],_0x337e49=_0x22eb00[_0x2a204b(0x3da)],_0x12d22f=_0x3d0d95[_0x2a204b(0x32c)],_0x200d8b=[],_0x23f9df=[],_0x5d62bd=[],_0x214162=[],_0xb6f594=[],_0x1e53d1=[],_0x24774b=[],_0x476bf4=[],_0x548dbc=[],_0x503231=[];(function(){for(var _0x4833ab=[],_0x4eac1c=0x0;_0x4eac1c<0x100;_0x4eac1c++)_0x4eac1c<0x80?_0x4833ab[_0x4eac1c]=_0x4eac1c<<0x1:_0x4833ab[_0x4eac1c]=_0x4eac1c<<0x1^0x11b;for(var _0x3e2555=0x0,_0xe092a3=0x0,_0x4eac1c=0x0;_0x4eac1c<0x100;_0x4eac1c++){var _0x5367f4=_0xe092a3^_0xe092a3<<0x1^_0xe092a3<<0x2^_0xe092a3<<0x3^_0xe092a3<<0x4;_0x5367f4=_0x5367f4>>>0x8^_0x5367f4&0xff^0x63,_0x200d8b[_0x3e2555]=_0x5367f4,_0x23f9df[_0x5367f4]=_0x3e2555;var _0xacfb6b=_0x4833ab[_0x3e2555],_0x13c904=_0x4833ab[_0xacfb6b],_0x1ecb30=_0x4833ab[_0x13c904],_0x1d3824=_0x4833ab[_0x5367f4]*0x101^_0x5367f4*0x1010100;_0x5d62bd[_0x3e2555]=_0x1d3824<<0x18|_0x1d3824>>>0x8,_0x214162[_0x3e2555]=_0x1d3824<<0x10|_0x1d3824>>>0x10,_0xb6f594[_0x3e2555]=_0x1d3824<<0x8|_0x1d3824>>>0x18,_0x1e53d1[_0x3e2555]=_0x1d3824;var _0x1d3824=_0x1ecb30*0x1010101^_0x13c904*0x10001^_0xacfb6b*0x101^_0x3e2555*0x1010100;_0x24774b[_0x5367f4]=_0x1d3824<<0x18|_0x1d3824>>>0x8,_0x476bf4[_0x5367f4]=_0x1d3824<<0x10|_0x1d3824>>>0x10,_0x548dbc[_0x5367f4]=_0x1d3824<<0x8|_0x1d3824>>>0x18,_0x503231[_0x5367f4]=_0x1d3824,_0x3e2555?(_0x3e2555=_0xacfb6b^_0x4833ab[_0x4833ab[_0x4833ab[_0x1ecb30^_0xacfb6b]]],_0xe092a3^=_0x4833ab[_0x4833ab[_0xe092a3]]):_0x3e2555=_0xe092a3=0x1;}}());var _0x183b0c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xfb98de=_0x12d22f[_0x2a204b(0x388)]=_0x337e49[_0x2a204b(0x1f9)]({'_doReset':function(){var _0x59d0f6=_0x2a204b,_0x1537cb;if(!(this['_nRounds']&&this[_0x59d0f6(0x3fb)]===this[_0x59d0f6(0x29e)])){for(var _0x1c3f13=this['_keyPriorReset']=this[_0x59d0f6(0x29e)],_0xab294b=_0x1c3f13[_0x59d0f6(0x39d)],_0x5a24e9=_0x1c3f13[_0x59d0f6(0x19f)]/0x4,_0x2f1c93=this[_0x59d0f6(0x194)]=_0x5a24e9+0x6,_0x2a2ea1=(_0x2f1c93+0x1)*0x4,_0x5d486e=this['_keySchedule']=[],_0x435d57=0x0;_0x435d57<_0x2a2ea1;_0x435d57++)_0x435d57<_0x5a24e9?_0x5d486e[_0x435d57]=_0xab294b[_0x435d57]:(_0x1537cb=_0x5d486e[_0x435d57-0x1],_0x435d57%_0x5a24e9?_0x5a24e9>0x6&&_0x435d57%_0x5a24e9==0x4&&(_0x1537cb=_0x200d8b[_0x1537cb>>>0x18]<<0x18|_0x200d8b[_0x1537cb>>>0x10&0xff]<<0x10|_0x200d8b[_0x1537cb>>>0x8&0xff]<<0x8|_0x200d8b[_0x1537cb&0xff]):(_0x1537cb=_0x1537cb<<0x8|_0x1537cb>>>0x18,_0x1537cb=_0x200d8b[_0x1537cb>>>0x18]<<0x18|_0x200d8b[_0x1537cb>>>0x10&0xff]<<0x10|_0x200d8b[_0x1537cb>>>0x8&0xff]<<0x8|_0x200d8b[_0x1537cb&0xff],_0x1537cb^=_0x183b0c[_0x435d57/_0x5a24e9|0x0]<<0x18),_0x5d486e[_0x435d57]=_0x5d486e[_0x435d57-_0x5a24e9]^_0x1537cb);for(var _0x2340d7=this[_0x59d0f6(0x2e9)]=[],_0x538def=0x0;_0x538def<_0x2a2ea1;_0x538def++){var _0x435d57=_0x2a2ea1-_0x538def;if(_0x538def%0x4)var _0x1537cb=_0x5d486e[_0x435d57];else var _0x1537cb=_0x5d486e[_0x435d57-0x4];_0x538def<0x4||_0x435d57<=0x4?_0x2340d7[_0x538def]=_0x1537cb:_0x2340d7[_0x538def]=_0x24774b[_0x200d8b[_0x1537cb>>>0x18]]^_0x476bf4[_0x200d8b[_0x1537cb>>>0x10&0xff]]^_0x548dbc[_0x200d8b[_0x1537cb>>>0x8&0xff]]^_0x503231[_0x200d8b[_0x1537cb&0xff]];}}},'encryptBlock':function(_0x221578,_0x11fe61){var _0x363531=_0x2a204b;this['_doCryptBlock'](_0x221578,_0x11fe61,this[_0x363531(0x2de)],_0x5d62bd,_0x214162,_0xb6f594,_0x1e53d1,_0x200d8b);},'decryptBlock':function(_0x2c777d,_0xe62129){var _0x4cb103=_0x2a204b,_0x3952dd=_0x2c777d[_0xe62129+0x1];_0x2c777d[_0xe62129+0x1]=_0x2c777d[_0xe62129+0x3],_0x2c777d[_0xe62129+0x3]=_0x3952dd,this[_0x4cb103(0x30a)](_0x2c777d,_0xe62129,this['_invKeySchedule'],_0x24774b,_0x476bf4,_0x548dbc,_0x503231,_0x23f9df);var _0x3952dd=_0x2c777d[_0xe62129+0x1];_0x2c777d[_0xe62129+0x1]=_0x2c777d[_0xe62129+0x3],_0x2c777d[_0xe62129+0x3]=_0x3952dd;},'_doCryptBlock':function(_0x1f30cb,_0x2bb441,_0x51bf3d,_0x1cb9b8,_0x1678fd,_0x1b48c0,_0x98ba58,_0x57a84b){var _0x1e72a2=_0x2a204b;for(var _0x2bbb81=this[_0x1e72a2(0x194)],_0x2e663e=_0x1f30cb[_0x2bb441]^_0x51bf3d[0x0],_0x1e73df=_0x1f30cb[_0x2bb441+0x1]^_0x51bf3d[0x1],_0xa55dd9=_0x1f30cb[_0x2bb441+0x2]^_0x51bf3d[0x2],_0x186d5c=_0x1f30cb[_0x2bb441+0x3]^_0x51bf3d[0x3],_0x1a72e4=0x4,_0x11790c=0x1;_0x11790c<_0x2bbb81;_0x11790c++){var _0x3d1585=_0x1cb9b8[_0x2e663e>>>0x18]^_0x1678fd[_0x1e73df>>>0x10&0xff]^_0x1b48c0[_0xa55dd9>>>0x8&0xff]^_0x98ba58[_0x186d5c&0xff]^_0x51bf3d[_0x1a72e4++],_0x28056d=_0x1cb9b8[_0x1e73df>>>0x18]^_0x1678fd[_0xa55dd9>>>0x10&0xff]^_0x1b48c0[_0x186d5c>>>0x8&0xff]^_0x98ba58[_0x2e663e&0xff]^_0x51bf3d[_0x1a72e4++],_0x43636c=_0x1cb9b8[_0xa55dd9>>>0x18]^_0x1678fd[_0x186d5c>>>0x10&0xff]^_0x1b48c0[_0x2e663e>>>0x8&0xff]^_0x98ba58[_0x1e73df&0xff]^_0x51bf3d[_0x1a72e4++],_0x942f8c=_0x1cb9b8[_0x186d5c>>>0x18]^_0x1678fd[_0x2e663e>>>0x10&0xff]^_0x1b48c0[_0x1e73df>>>0x8&0xff]^_0x98ba58[_0xa55dd9&0xff]^_0x51bf3d[_0x1a72e4++];_0x2e663e=_0x3d1585,_0x1e73df=_0x28056d,_0xa55dd9=_0x43636c,_0x186d5c=_0x942f8c;}var _0x3d1585=(_0x57a84b[_0x2e663e>>>0x18]<<0x18|_0x57a84b[_0x1e73df>>>0x10&0xff]<<0x10|_0x57a84b[_0xa55dd9>>>0x8&0xff]<<0x8|_0x57a84b[_0x186d5c&0xff])^_0x51bf3d[_0x1a72e4++],_0x28056d=(_0x57a84b[_0x1e73df>>>0x18]<<0x18|_0x57a84b[_0xa55dd9>>>0x10&0xff]<<0x10|_0x57a84b[_0x186d5c>>>0x8&0xff]<<0x8|_0x57a84b[_0x2e663e&0xff])^_0x51bf3d[_0x1a72e4++],_0x43636c=(_0x57a84b[_0xa55dd9>>>0x18]<<0x18|_0x57a84b[_0x186d5c>>>0x10&0xff]<<0x10|_0x57a84b[_0x2e663e>>>0x8&0xff]<<0x8|_0x57a84b[_0x1e73df&0xff])^_0x51bf3d[_0x1a72e4++],_0x942f8c=(_0x57a84b[_0x186d5c>>>0x18]<<0x18|_0x57a84b[_0x2e663e>>>0x10&0xff]<<0x10|_0x57a84b[_0x1e73df>>>0x8&0xff]<<0x8|_0x57a84b[_0xa55dd9&0xff])^_0x51bf3d[_0x1a72e4++];_0x1f30cb[_0x2bb441]=_0x3d1585,_0x1f30cb[_0x2bb441+0x1]=_0x28056d,_0x1f30cb[_0x2bb441+0x2]=_0x43636c,_0x1f30cb[_0x2bb441+0x3]=_0x942f8c;},'keySize':0x100/0x20});_0x3d0d95[_0x2a204b(0x388)]=_0x337e49[_0x2a204b(0x219)](_0xfb98de);}()),_0x232ae1[_0x15ba69(0x388)];}));}(_0x3fa2a7)),_0x3fa2a7[_0x5264be(0x36e)];}var _0xd876aa=_0x1a6123();const _0x957038=_0xe87296(_0xd876aa);var _0x466ea9=_0x44b5c0();const _0x615a3d=_0xe87296(_0x466ea9);var _0x546146={'exports':{}},_0x454062=_0x546146[_0x25bc2e(0x36e)],_0x4b47ca;function _0x6fb3e7(){var _0x2adec4=_0x25bc2e;return _0x4b47ca||(_0x4b47ca=0x1,function(_0xfcb08b,_0x17bbfb){(function(_0x458dd2,_0x4b06e8){_0xfcb08b['exports']=_0x4b06e8(_0x152408());}(_0x454062,function(_0x4f8488){var _0x4daa70=_0x47c2;return _0x4f8488[_0x4daa70(0x12c)][_0x4daa70(0x155)];}));}(_0x546146)),_0x546146[_0x2adec4(0x36e)];}var _0x1ef72e=_0x6fb3e7();const _0x390ac5=_0xe87296(_0x1ef72e);var _0x485f84={'exports':{}},_0x40a184=_0x485f84[_0x25bc2e(0x36e)],_0x577669;function _0x145515(){var _0x26f735=_0x25bc2e;return _0x577669||(_0x577669=0x1,function(_0x253c3e,_0x126703){(function(_0x2aa70a,_0x22a7f3){var _0x444d35=_0x47c2;_0x253c3e[_0x444d35(0x36e)]=_0x22a7f3(_0x152408());}(_0x40a184,function(_0x27749d){var _0xecdae9=_0x47c2;return(function(){var _0xb523e3=_0x47c2;if(typeof ArrayBuffer==_0xb523e3(0xf9)){var _0x5e456d=_0x27749d,_0x1d692d=_0x5e456d[_0xb523e3(0xaa)],_0x3fabb7=_0x1d692d[_0xb523e3(0x1aa)],_0x1468cf=_0x3fabb7[_0xb523e3(0x27c)],_0xe6364=_0x3fabb7[_0xb523e3(0x27c)]=function(_0x5265b7){var _0x1303b2=_0xb523e3;if(_0x5265b7 instanceof ArrayBuffer&&(_0x5265b7=new Uint8Array(_0x5265b7)),(_0x5265b7 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5265b7 instanceof Uint8ClampedArray||_0x5265b7 instanceof Int16Array||_0x5265b7 instanceof Uint16Array||_0x5265b7 instanceof Int32Array||_0x5265b7 instanceof Uint32Array||_0x5265b7 instanceof Float32Array||_0x5265b7 instanceof Float64Array)&&(_0x5265b7=new Uint8Array(_0x5265b7['buffer'],_0x5265b7['byteOffset'],_0x5265b7['byteLength'])),_0x5265b7 instanceof Uint8Array){for(var _0x4a9aa8=_0x5265b7['byteLength'],_0x543596=[],_0x58b23e=0x0;_0x58b23e<_0x4a9aa8;_0x58b23e++)_0x543596[_0x58b23e>>>0x2]|=_0x5265b7[_0x58b23e]<<0x18-_0x58b23e%0x4*0x8;_0x1468cf['call'](this,_0x543596,_0x4a9aa8);}else _0x1468cf[_0x1303b2(0x280)](this,arguments);};_0xe6364[_0xb523e3(0xe5)]=_0x3fabb7;}}()),_0x27749d[_0xecdae9(0xaa)][_0xecdae9(0x1aa)];}));}(_0x485f84)),_0x485f84[_0x26f735(0x36e)];}var _0x129b7c=_0x145515();const _0x1c5ed6=_0xe87296(_0x129b7c);var _0x314062={'exports':{}},_0x495595=_0x314062[_0x25bc2e(0x36e)],_0x58b070;function _0x34d02a(){var _0x4c8306=_0x25bc2e;return _0x58b070||(_0x58b070=0x1,function(_0x5cc934,_0x1fab91){(function(_0x1e560b,_0x4fd336,_0x5740af){var _0x46ae5e=_0x47c2;_0x5cc934[_0x46ae5e(0x36e)]=_0x4fd336(_0x152408(),_0xa17a3e());}(_0x495595,function(_0x4b5852){var _0x412b48=_0x47c2;return _0x4b5852[_0x412b48(0xd6)][_0x412b48(0x36b)]={'pad':function(){},'unpad':function(){}},_0x4b5852[_0x412b48(0xd6)]['NoPadding'];}));}(_0x314062)),_0x314062[_0x4c8306(0x36e)];}var _0x3ed6bb=_0x34d02a();const _0x15bc7=_0xe87296(_0x3ed6bb);function _0x24d945(_0x26b506,_0x48cff3){var _0x39abd4=_0x25bc2e;const _0x58e056=_0x48cff3-_0x26b506[_0x39abd4(0xdd)]%_0x48cff3,_0x4c39bb=String['fromCharCode'](_0x58e056)['repeat'](_0x58e056);return _0x26b506+_0x4c39bb;}function _0x3e7e0d(_0x2c29fe,_0x4b09f7){var _0x3db4eb=_0x25bc2e;const _0x3ffa52=_0x1c5ed6['random'](0x10),_0x24f3c1=_0x24d945(_0x2c29fe,0x10),_0x31f171=_0x957038[_0x3db4eb(0x246)](_0x390ac5[_0x3db4eb(0x330)](_0x24f3c1),_0x615a3d['parse'](_0x4b09f7),{'iv':_0x3ffa52,'padding':_0x15bc7});return _0x3ffa52[_0x3db4eb(0x2d2)](_0x31f171[_0x3db4eb(0x188)])[_0x3db4eb(0x2c3)](_0x615a3d);}function _0x5f30c3(){var _0x4e8640=_0x25bc2e;const _0x20625f=_0x229161['getGlobalObject']()[_0x4e8640(0x170)];if(_0x20625f){const _0x1e48fa={'time':Math[_0x4e8640(0x23a)](Date['now']()/0x3e8),'domain':location['hostname']};return _0x3e7e0d(JSON[_0x4e8640(0x2db)](_0x1e48fa),_0x20625f);}}var _0x4e290a=Object[_0x25bc2e(0x1e6)],_0x3694fe=(_0x351b1d,_0x115b31,_0x24fc5b,_0x39f435)=>{var _0x22624f=_0x25bc2e;for(var _0x59fd16=_0x39f435>0x1?void 0x0:_0x39f435?_0x4e290a(_0x115b31,_0x24fc5b):_0x115b31,_0x2237b4=_0x351b1d[_0x22624f(0xdd)]-0x1,_0x4254d8;_0x2237b4>=0x0;_0x2237b4--)(_0x4254d8=_0x351b1d[_0x2237b4])&&(_0x59fd16=_0x4254d8(_0x59fd16)||_0x59fd16);return _0x59fd16;},_0x467741=(_0x5073e3,_0x360365)=>(_0x4e7151,_0x432702)=>_0x360365(_0x4e7151,_0x432702,_0x5073e3);let _0x11360f=class{constructor(_0x1163f2){var _0x6f06de=_0x25bc2e;this[_0x6f06de(0x31c)]=_0x1163f2,this['_initRequestHeader']();}[_0x25bc2e(0x168)](){var _0x1abf27=_0x25bc2e;this[_0x1abf27(0x31c)][_0x1abf27(0xef)]({'interceptor':(_0x3ecee4,_0x214b5e)=>{var _0x24692d=_0x1abf27;const _0x4f3705=_0x3ecee4[_0x24692d(0x285)],_0x11a64b=_0x5f30c3();return _0x11a64b&&_0x4f3705[_0x24692d(0xe9)]('x-univer-host',_0x11a64b),_0x214b5e(_0x3ecee4);}});}};_0x11360f=_0x3694fe([_0x467741(0x0,_0x223e3d['Inject'](_0x23fe84[_0x25bc2e(0x2a4)]))],_0x11360f);var _0x301ec3=Object[_0x25bc2e(0x1e6)],_0x14e693=(_0x16b2c6,_0x40bd0b,_0x2aad6e,_0x5c774e)=>{var _0x5bcda7=_0x25bc2e;for(var _0x4651ac=_0x5c774e>0x1?void 0x0:_0x5c774e?_0x301ec3(_0x40bd0b,_0x2aad6e):_0x40bd0b,_0x51dbaa=_0x16b2c6[_0x5bcda7(0xdd)]-0x1,_0x2afd61;_0x51dbaa>=0x0;_0x51dbaa--)(_0x2afd61=_0x16b2c6[_0x51dbaa])&&(_0x4651ac=_0x2afd61(_0x4651ac)||_0x4651ac);return _0x4651ac;},_0x2400ce=(_0x591297,_0x20fd8c)=>(_0xec8b7e,_0x2ae585)=>_0x20fd8c(_0xec8b7e,_0x2ae585,_0x591297);_0x3aa05b[_0x25bc2e(0x329)]=class extends _0x223e3d[_0x25bc2e(0xa7)]{constructor(_0x33e525,_0x2b1a26,_0x1f52cd){var _0x15ffc5=_0x25bc2e;super(),_0x427f66(this,'_unitInfo$',new _0x94b51a[(_0x15ffc5(0xd7))](null)),_0x427f66(this,_0x15ffc5(0x3d4),this[_0x15ffc5(0x97)][_0x15ffc5(0x23d)]()),(this[_0x15ffc5(0x411)]=_0x33e525,this[_0x15ffc5(0x3a7)]=_0x2b1a26,this['_localCacheService']=_0x1f52cd);}async['loadUnit'](_0x348575,_0x5d2f1e,_0x3d215d){var _0x1a06b2=_0x25bc2e;this['_unitInfo$']['next']({'unitId':_0x348575,'type':_0x5d2f1e,'subUnitId':_0x3d215d});let _0x38af81=null;switch(_0x5d2f1e){case _0x5e14aa[_0x1a06b2(0x2ae)]:{_0x38af81=await this[_0x1a06b2(0x118)](_0x348575);break;}case _0x5e14aa[_0x1a06b2(0x17e)]:{_0x38af81=await this[_0x1a06b2(0x304)](_0x348575);break;}default:{this[_0x1a06b2(0x411)][_0x1a06b2(0x3db)]('[DataLoaderService]',_0x1a06b2(0x26d));break;}}return _0x38af81;}async[_0x25bc2e(0x118)](_0x41abc0){var _0x2e90f8=_0x25bc2e,_0x56cee4;let _0x42f85f=0x0;const _0x220676=await((_0x56cee4=this[_0x2e90f8(0x2e4)])==null?void 0x0:_0x56cee4[_0x2e90f8(0x3b2)](_0x41abc0));return _0x220676&&(_0x220676[_0x2e90f8(0x35b)]||_0x220676[_0x2e90f8(0x3e8)]['length']!==0x0)&&(_0x42f85f=_0x220676[_0x2e90f8(0x3d7)]),_0x42f85f===0x0&&this['_logService'][_0x2e90f8(0xdf)]('[DataLoaderService]',_0x2e90f8(0x2cd)),this['_snapshotService'][_0x2e90f8(0x203)](_0x41abc0,_0x42f85f);}async['_loadDoc'](_0xba54f0){var _0x591fd6=_0x25bc2e,_0x70c32;let _0xdece98=0x0;const _0x31377d=await((_0x70c32=this[_0x591fd6(0x2e4)])==null?void 0x0:_0x70c32[_0x591fd6(0x3b2)](_0xba54f0));return _0x31377d&&(_0x31377d[_0x591fd6(0x35b)]||_0x31377d[_0x591fd6(0x3e8)][_0x591fd6(0xdd)]!==0x0)&&(_0xdece98=_0x31377d['rev']),_0xdece98===0x0&&this[_0x591fd6(0x411)][_0x591fd6(0xdf)](_0x591fd6(0x318),_0x591fd6(0x2cd)),this['_snapshotService']['loadDoc'](_0xba54f0,_0xdece98);}},_0x3aa05b[_0x25bc2e(0x329)]=_0x14e693([_0x2400ce(0x0,_0x223e3d[_0x25bc2e(0x15b)]),_0x2400ce(0x1,_0x223e3d[_0x25bc2e(0x1b8)](_0x39217d[_0x25bc2e(0x9f)])),_0x2400ce(0x2,_0x223e3d['Optional'](_0x4c0d6c))],_0x3aa05b[_0x25bc2e(0x329)]);var _0x368d7e=Object['getOwnPropertyDescriptor'],_0x51e388=(_0x226e8f,_0x4ac392,_0x1247bf,_0x119317)=>{var _0x3c76d4=_0x25bc2e;for(var _0x45dccd=_0x119317>0x1?void 0x0:_0x119317?_0x368d7e(_0x4ac392,_0x1247bf):_0x4ac392,_0x4b225c=_0x226e8f[_0x3c76d4(0xdd)]-0x1,_0x4464eb;_0x4b225c>=0x0;_0x4b225c--)(_0x4464eb=_0x226e8f[_0x4b225c])&&(_0x45dccd=_0x4464eb(_0x45dccd)||_0x45dccd);return _0x45dccd;},_0x40ac0a=(_0x334ce1,_0x3464d9)=>(_0x529591,_0x4d97bb)=>_0x3464d9(_0x529591,_0x4d97bb,_0x334ce1);const _0x4735ff=[_0x25bc2e(0xb6),_0x25bc2e(0x3bb),'image/jpg',_0x25bc2e(0x2c4),_0x25bc2e(0x3eb)],_0x15ecc0=0x5*0x400*0x400,_0x557bcc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x386531=_0x25bc2e(0x14d),_0x41aa9c='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x5bb6ae=_0x25bc2e(0x138);_0x3aa05b['CollaborationImageIoService']=class{constructor(_0x205222,_0x1f8ce4,_0x15ca5f){var _0x2d826e=_0x25bc2e;_0x427f66(this,'_waitCount',0x0),_0x427f66(this,'_change$',new _0x94b51a[(_0x2d826e(0x215))]()),_0x427f66(this,_0x2d826e(0x377),this[_0x2d826e(0x1e8)]),_0x427f66(this,_0x2d826e(0x123),new Map()),(this['_httpService']=_0x205222,this['_configService']=_0x1f8ce4,this[_0x2d826e(0x300)]=_0x15ca5f);}[_0x25bc2e(0x24b)](_0x16e639){var _0x424e61=_0x25bc2e;this[_0x424e61(0x28f)]=_0x16e639,this[_0x424e61(0x1e8)][_0x424e61(0x37a)](_0x16e639);}[_0x25bc2e(0x324)](_0x1eb599,_0x40830f){var _0x5dabbd=_0x25bc2e;if(_0x40830f===_0x2c2cd9[_0x5dabbd(0x245)][_0x5dabbd(0x404)]){const _0x3428b3=new Image();return _0x3428b3[_0x5dabbd(0x3f8)]=_0x1eb599,_0x3428b3;}return this[_0x5dabbd(0x123)][_0x5dabbd(0x3c9)](_0x1eb599);}[_0x25bc2e(0x1df)](_0x59994a,_0x15b360,_0x507dff){var _0x40de91=_0x25bc2e;_0x15b360===_0x2c2cd9['ImageSourceType'][_0x40de91(0x404)]||_0x507dff==null||this[_0x40de91(0x123)][_0x40de91(0xe9)](_0x59994a,_0x507dff);}async[_0x25bc2e(0x122)](_0x69a2f4){var _0x2bbf46=_0x25bc2e;try{const _0x2f7305=this[_0x2bbf46(0x127)](this[_0x2bbf46(0x17c)](),''+_0x69a2f4),_0x40a783=(await this[_0x2bbf46(0x31c)][_0x2bbf46(0x3c9)](_0x2f7305))[_0x2bbf46(0x1bd)];if(_0x40a783[_0x2bbf46(0x3db)]&&_0x40a783[_0x2bbf46(0x3db)][_0x2bbf46(0x26b)]===_0x15bdae['OK']){const _0x23653c=new URL(_0x40a783['url'],this[_0x2bbf46(0x33f)]())['toString']();return Promise[_0x2bbf46(0xf6)](_0x23653c);}return Promise[_0x2bbf46(0x2a6)](_0x40a783[_0x2bbf46(0x3db)]);}catch(_0x1cfccd){return Promise[_0x2bbf46(0x2a6)](_0x1cfccd);}}async['saveImage'](_0x265f6b){var _0x597727=_0x25bc2e;let _0x58202d='';if(!_0x4735ff[_0x597727(0x3dc)](_0x265f6b[_0x597727(0x255)]))return this[_0x597727(0x19c)](),Promise[_0x597727(0x2a6)](new Error(_0x2c2cd9['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x265f6b['size']>_0x15ecc0)return this['_decreaseWaiting'](),Promise[_0x597727(0x2a6)](new Error(_0x2c2cd9[_0x597727(0x32f)][_0x597727(0x3a2)]));try{const _0x5f3e03=new FormData();_0x5f3e03['append']('file',_0x265f6b);const _0x435145=this[_0x597727(0x300)][_0x597727(0x3a6)](),_0x3ac31b=_0x435145==null?void 0x0:_0x435145[_0x597727(0x278)]();if(!_0x3ac31b)throw new Error('unitId\x20is\x20not\x20found');const _0x1e4468=this[_0x597727(0x303)]()+_0x597727(0x339)+_0x265f6b[_0x597727(0x2e7)]['toString']()+_0x597727(0x2d6)+_0x1d981a['UnitEmbedded']+'&assign='+encodeURIComponent(_0x3ac31b),_0x2a3e0c=await(await fetch(_0x1e4468,{'method':_0x597727(0x1f7),'body':_0x5f3e03}))[_0x597727(0x269)]();if(typeof _0x2a3e0c[_0x597727(0x326)]!=_0x597727(0x1b3))return this[_0x597727(0x19c)](),Promise[_0x597727(0x2a6)](new Error(_0x2c2cd9[_0x597727(0x32f)][_0x597727(0x156)]));_0x58202d=_0x2a3e0c['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x597727(0x2a6)](new Error(_0x2c2cd9[_0x597727(0x32f)]['ERROR_IMAGE']));}return new Promise((_0x424ab3,_0x183ad0)=>{var _0x4ccace=_0x597727;const _0x25b1a1=new FileReader();_0x25b1a1['readAsDataURL'](_0x265f6b),_0x25b1a1[_0x4ccace(0x30d)]=_0x85807f=>{var _0x546c9a=_0x4ccace,_0x18ee0b;const _0x59ccd1=(_0x18ee0b=_0x85807f[_0x546c9a(0x3b7)])==null?void 0x0:_0x18ee0b[_0x546c9a(0x288)];if(_0x59ccd1==null){this[_0x546c9a(0x19c)](),_0x183ad0(new Error(_0x2c2cd9['ImageUploadStatusType'][_0x546c9a(0x156)]));return;}const _0x598c8c=_0x223e3d[_0x546c9a(0x348)][_0x546c9a(0x3f5)](0x6);_0x424ab3({'imageId':_0x598c8c,'imageSourceType':_0x2c2cd9[_0x546c9a(0x245)][_0x546c9a(0xfc)],'source':_0x58202d,'base64Cache':_0x59ccd1,'status':_0x2c2cd9[_0x546c9a(0x32f)][_0x546c9a(0x221)]}),this[_0x546c9a(0x19c)]();};});}['_getUploadFileURL'](){var _0x25fa7c=_0x25bc2e,_0x43c585,_0x34264d;const _0x20c270=this[_0x25fa7c(0x292)][_0x25fa7c(0x151)](_0x557bcc),_0x51f2b2=this['_configService'][_0x25fa7c(0x151)](_0x67dd2f);return(_0x34264d=(_0x43c585=_0x51f2b2==null?void 0x0:_0x51f2b2[_0x25fa7c(0x334)])!=null?_0x43c585:_0x20c270)!=null?_0x34264d:_0x386531;}['_getSignURL'](){var _0x394998=_0x25bc2e,_0x2c1270,_0x449fa7;const _0x9941d7=this[_0x394998(0x292)][_0x394998(0x151)](_0x41aa9c),_0x121f5e=this[_0x394998(0x292)][_0x394998(0x151)](_0x67dd2f);return(_0x449fa7=(_0x2c1270=_0x121f5e==null?void 0x0:_0x121f5e['signUrlServerUrl'])!=null?_0x2c1270:_0x9941d7)!=null?_0x449fa7:_0x5bb6ae;}['_getDownloadEndpointURL'](){var _0x33d299=_0x25bc2e,_0x46af50;const _0x296ddd=this[_0x33d299(0x292)][_0x33d299(0x151)](_0x67dd2f);return(_0x46af50=_0x296ddd==null?void 0x0:_0x296ddd['downloadEndpointUrl'])!=null?_0x46af50:location['origin'];}[_0x25bc2e(0x127)](_0x447917,_0x21f298){var _0x3cade7=_0x25bc2e;return _0x447917[_0x3cade7(0x36f)]('{fileID}',_0x21f298);}[_0x25bc2e(0x19c)](){var _0x5e16bf=_0x25bc2e;this['_waitCount']-=0x1,this['_change$'][_0x5e16bf(0x37a)](this[_0x5e16bf(0x28f)]);}},_0x3aa05b[_0x25bc2e(0x22d)]=_0x51e388([_0x40ac0a(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x23fe84[_0x25bc2e(0x2a4)])),_0x40ac0a(0x1,_0x223e3d['IConfigService']),_0x40ac0a(0x2,_0x223e3d['Inject'](_0x223e3d[_0x25bc2e(0x267)]))],_0x3aa05b[_0x25bc2e(0x22d)]);var _0x273d0d=Object[_0x25bc2e(0x1e6)],_0x4f009f=(_0x5f3f0c,_0x52f636,_0xf00a14,_0x15a6b0)=>{for(var _0x653dfb=_0x15a6b0>0x1?void 0x0:_0x15a6b0?_0x273d0d(_0x52f636,_0xf00a14):_0x52f636,_0x26044b=_0x5f3f0c['length']-0x1,_0x327428;_0x26044b>=0x0;_0x26044b--)(_0x327428=_0x5f3f0c[_0x26044b])&&(_0x653dfb=_0x327428(_0x653dfb)||_0x653dfb);return _0x653dfb;},_0x97685b=(_0x2f625d,_0x1c54f5)=>(_0x5abb28,_0x1a0ca3)=>_0x1c54f5(_0x5abb28,_0x1a0ca3,_0x2f625d);const _0x44bfb6=_0x25bc2e(0x3fd);_0x3aa05b[_0x25bc2e(0x38c)]=class{constructor(_0x1c412f,_0x5da92e){var _0x126cb5=_0x25bc2e;this[_0x126cb5(0x292)]=_0x1c412f,this[_0x126cb5(0x2fa)]=_0x5da92e;}[_0x25bc2e(0x25c)](){var _0x415f2b=_0x25bc2e,_0x268543,_0x45235c;const _0x3cc5d0=this[_0x415f2b(0x292)][_0x415f2b(0x151)](_0x25ddee),_0x218e86=this[_0x415f2b(0x292)][_0x415f2b(0x151)](_0x67dd2f);return(_0x45235c=(_0x268543=_0x218e86==null?void 0x0:_0x218e86[_0x415f2b(0x3c7)])!=null?_0x268543:_0x3cc5d0)!=null?_0x45235c:_0x44bfb6;}async[_0x25bc2e(0x1e1)](_0x47922e){var _0x44a8b2=_0x25bc2e;const _0x53d1ff=this['_getAPIPrefixPath']()+_0x44a8b2(0x343);return{'list':[{'title':_0x44a8b2(0x12b),'mentions':(await this['_HTTPService'][_0x44a8b2(0x3c9)](_0x53d1ff,{'params':{'objectID':_0x47922e[_0x44a8b2(0x312)],'unitID':_0x47922e[_0x44a8b2(0x312)]}}))[_0x44a8b2(0x1bd)][_0x44a8b2(0x3e7)][_0x44a8b2(0x390)](_0x3c5f08=>({'objectId':_0x3c5f08['id'],'name':_0x3c5f08[_0x44a8b2(0x352)][_0x44a8b2(0x238)],'metadata':{'icon':_0x3c5f08['subject'][_0x44a8b2(0x3a5)]},'label':_0x3c5f08['subject'][_0x44a8b2(0x238)],'objectType':_0x223e3d[_0x44a8b2(0x3ad)][_0x44a8b2(0x11a)]})),'metadata':{},'type':_0x223e3d['MentionType'][_0x44a8b2(0x11a)]}]};}},_0x3aa05b[_0x25bc2e(0x38c)]=_0x4f009f([_0x97685b(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x316)])),_0x97685b(0x1,_0x223e3d[_0x25bc2e(0x1b8)](_0x23fe84[_0x25bc2e(0x2a4)]))],_0x3aa05b[_0x25bc2e(0x38c)]);var _0x4d3468=Object[_0x25bc2e(0x1e6)],_0x5dfc53=(_0x1d2499,_0x518521,_0xc4a2e4,_0x429463)=>{var _0x2c1971=_0x25bc2e;for(var _0x2d6309=_0x429463>0x1?void 0x0:_0x429463?_0x4d3468(_0x518521,_0xc4a2e4):_0x518521,_0x3537be=_0x1d2499[_0x2c1971(0xdd)]-0x1,_0x3b8628;_0x3537be>=0x0;_0x3537be--)(_0x3b8628=_0x1d2499[_0x3537be])&&(_0x2d6309=_0x3b8628(_0x2d6309)||_0x2d6309);return _0x2d6309;},_0x556c37=(_0x10892d,_0x21008c)=>(_0x545388,_0x2b0a18)=>_0x21008c(_0x545388,_0x2b0a18,_0x10892d);let _0x26c6e6=class extends _0x223e3d[_0x25bc2e(0xa7)]{constructor(_0x405623,_0x26e5dc,_0x13520d,_0x393e9a,_0x23a46c){var _0x187fbe=_0x25bc2e;super(),this[_0x187fbe(0x325)]=_0x405623,this['_univerInstanceService']=_0x26e5dc,this[_0x187fbe(0x21a)]=_0x13520d,this[_0x187fbe(0x259)]=_0x393e9a,this[_0x187fbe(0x270)]=_0x23a46c,this['_initUnitPermissionChange'](),this[_0x187fbe(0xc3)]();}[_0x25bc2e(0xc3)](){var _0x430f4c=_0x25bc2e;const _0x2d2712=async _0x140bd3=>{var _0x403801=_0x47c2;(await this[_0x403801(0x259)][_0x403801(0x337)](_0x140bd3))[_0x403801(0x1c3)][_0x403801(0x2ac)](_0x54b879['filter'](_0x3db80b=>_0x3db80b[_0x403801(0x2e6)]===_0x39217d[_0x403801(0x149)][_0x403801(0x27a)]),_0x54b879[_0x403801(0x169)](this[_0x403801(0x347)]))[_0x403801(0x195)](_0x299529=>{var _0x3ba7b0=_0x403801;const _0x3548c1=_0x299529,{reason:_0x210995}=_0x3548c1['data'];this[_0x3ba7b0(0x270)][_0x3ba7b0(0x298)]({'id':_0x2ce557['CLOSE_ROOM'],'data':_0x210995}),this[_0x3ba7b0(0x21a)][_0x3ba7b0(0x368)](new _0x3a7ecf['WorkbookEditablePermission'](_0x140bd3)['id'],!0x1),this[_0x3ba7b0(0x259)]['closeSession'](_0x140bd3);});};_0x94b51a[_0x430f4c(0x187)](this[_0x430f4c(0x300)][_0x430f4c(0xea)](_0x223e3d['UniverInstanceType'][_0x430f4c(0x2ae)]),this[_0x430f4c(0x300)][_0x430f4c(0xea)](_0x223e3d['UniverInstanceType'][_0x430f4c(0x17e)]))[_0x430f4c(0x2ac)](_0x54b879[_0x430f4c(0x390)](_0x18eb65=>_0x18eb65[_0x430f4c(0x278)]()),_0x54b879[_0x430f4c(0x157)](_0x29f3c4=>!_0x223e3d['isInternalEditorID'](_0x29f3c4)),_0x54b879['takeUntil'](this['dispose$']))[_0x430f4c(0x195)](_0x6ab6f1=>{_0x2d2712(_0x6ab6f1);});}['_initUnitPermissionChange'](){var _0x5b95d8=_0x25bc2e;const _0x4ca9ef=async _0x1d9208=>{var _0x497de5=_0x47c2;const _0x4ced0b=await this[_0x497de5(0x259)][_0x497de5(0x337)](_0x1d9208),_0x9f0bf2=this[_0x497de5(0x325)][_0x497de5(0x3c9)](_0x3a7ecf['SheetPermissionInitController']);_0x4ced0b['event$']['pipe'](_0x54b879['filter'](_0x52ebb2=>_0x52ebb2[_0x497de5(0x2e6)]===_0x39217d[_0x497de5(0x149)][_0x497de5(0x380)]),_0x54b879[_0x497de5(0x169)](this[_0x497de5(0x347)]))[_0x497de5(0x195)](_0xb09767=>{var _0x12c3d3=_0x497de5;const _0xa00b37=_0xb09767,{objectId:_0x13f0ff}=_0xa00b37[_0x12c3d3(0xe2)];_0x13f0ff===_0x1d9208?_0x9f0bf2[_0x12c3d3(0x2eb)](_0x1d9208):_0x9f0bf2[_0x12c3d3(0x26f)](_0x1d9208,_0x13f0ff);});};_0x94b51a[_0x5b95d8(0x187)](this[_0x5b95d8(0x300)][_0x5b95d8(0xea)](_0x223e3d[_0x5b95d8(0x3b3)]['UNIVER_SHEET']))[_0x5b95d8(0x2ac)](_0x54b879[_0x5b95d8(0x390)](_0x4cfa49=>_0x4cfa49[_0x5b95d8(0x278)]()),_0x54b879[_0x5b95d8(0x157)](_0x43815f=>!_0x223e3d[_0x5b95d8(0x33b)](_0x43815f)),_0x54b879[_0x5b95d8(0x169)](this[_0x5b95d8(0x347)]))['subscribe'](_0x337c0e=>{_0x4ca9ef(_0x337c0e);});}};_0x26c6e6=_0x5dfc53([_0x556c37(0x0,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x556c37(0x1,_0x223e3d[_0x25bc2e(0x267)]),_0x556c37(0x2,_0x223e3d[_0x25bc2e(0x32d)]),_0x556c37(0x3,_0x223e3d[_0x25bc2e(0x1b8)](_0x3aa05b['CollaborationSessionService'])),_0x556c37(0x4,_0x223e3d[_0x25bc2e(0x1b8)](_0x5876ed))],_0x26c6e6);var _0x1145f2=Object['getOwnPropertyDescriptor'],_0x35f12d=(_0x354863,_0x3f029e,_0x4f17ef,_0x54a2ae)=>{var _0x128e57=_0x25bc2e;for(var _0x560c8a=_0x54a2ae>0x1?void 0x0:_0x54a2ae?_0x1145f2(_0x3f029e,_0x4f17ef):_0x3f029e,_0x360f47=_0x354863[_0x128e57(0xdd)]-0x1,_0x4a6353;_0x360f47>=0x0;_0x360f47--)(_0x4a6353=_0x354863[_0x360f47])&&(_0x560c8a=_0x4a6353(_0x560c8a)||_0x560c8a);return _0x560c8a;},_0x4d18d1=(_0x11b096,_0x1b20a8)=>(_0x4a1775,_0x43c190)=>_0x1b20a8(_0x4a1775,_0x43c190,_0x11b096);_0x3aa05b[_0x25bc2e(0x3f1)]=class{constructor(_0x5026b5,_0x42a34a){this['_configService']=_0x5026b5,this['_httpService']=_0x42a34a;}async[_0x25bc2e(0x31f)](_0x49c81e,_0x4340e9){var _0x2f6f50=_0x25bc2e,_0x36cb72;const {unitID:_0x3b0913,type:_0xfa1fa2,revision:_0x2ef906=0x0}=_0x4340e9,_0x1535fa=this['getSnapshotAPIPath']()+'/'+_0xfa1fa2+_0x2f6f50(0x416)+_0x3b0913+'/rev/'+_0x2ef906,_0x19dca0=(await this['_httpService'][_0x2f6f50(0x3c9)](_0x1535fa))[_0x2f6f50(0x1bd)],_0x3c76f8=(_0x36cb72=_0x19dca0[_0x2f6f50(0x38f)])==null?void 0x0:_0x36cb72[_0x2f6f50(0x244)];if(_0x3c76f8){const _0x44797e=_0x3c76f8==null?void 0x0:_0x3c76f8[_0x2f6f50(0x9e)],_0x512a64=_0x39217d[_0x2f6f50(0x33e)][_0x2f6f50(0x1ab)](_0x39217d['b64DecodeUnicode'](_0x44797e));_0x3c76f8['originalMeta']=_0x512a64,Object['entries'](_0x3c76f8[_0x2f6f50(0x3d9)])[_0x2f6f50(0x3bc)](([,_0xc1f129])=>{var _0x372a64=_0x2f6f50;const _0x37ccc6=_0xc1f129[_0x372a64(0x9e)],_0x49157d=_0x39217d[_0x372a64(0x33e)][_0x372a64(0x1ab)](_0x39217d['b64DecodeUnicode'](_0x37ccc6));_0xc1f129[_0x372a64(0x9e)]=_0x49157d;});}return _0x19dca0;}async[_0x25bc2e(0x301)](_0x5b9a5d,_0x4e3642){var _0x44ea08=_0x25bc2e;const {unitID:_0x30abea,type:_0x5502e7,blockID:_0x308240}=_0x4e3642,_0x3eeae2=this[_0x44ea08(0x328)]()+'/'+_0x5502e7+'/unit/'+_0x30abea+_0x44ea08(0x3aa)+_0x308240;return(await this['_httpService'][_0x44ea08(0x3c9)](_0x3eeae2))['body'];}async['getDeserializedSheetBlock'](_0x2099d3,_0x421151){var _0x1f9359=_0x25bc2e;const {unitID:_0x19238e,type:_0x226813,blockID:_0x3ea00a}=_0x421151,_0x22c73c=this['_getAPIPrefix']()+_0x1f9359(0x3aa)+_0x226813+_0x1f9359(0x416)+_0x19238e+'/block/'+_0x3ea00a;return(await this[_0x1f9359(0x31c)][_0x1f9359(0x3c9)](_0x22c73c))[_0x1f9359(0x1bd)];}async[_0x25bc2e(0x2a9)](_0x4b5773,_0xd96d2a){var _0x29b058=_0x25bc2e;const {unitID:_0x12814a,type:_0x25627a,from:_0x511f58,to:_0x120d59}=_0xd96d2a,_0x59b89b=this[_0x29b058(0x328)]()+'/'+_0x25627a+_0x29b058(0x416)+_0x12814a+_0x29b058(0x1a7)+_0x511f58+_0x29b058(0x22f)+_0x120d59;return(await this[_0x29b058(0x31c)]['get'](_0x59b89b))[_0x29b058(0x1bd)];}['getSnapshotAPIPath'](){var _0xea20d0=_0x25bc2e,_0x36a657;return(_0x36a657=this['_configService'][_0xea20d0(0x151)](_0xc0c3ec))!=null?_0x36a657:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x3244ac=_0x25bc2e,_0x9be7a1,_0x8d04e3;const _0x12e071=this['_configService'][_0x3244ac(0x151)](_0x4019f5),_0x37ecef=this[_0x3244ac(0x292)][_0x3244ac(0x151)](_0x67dd2f);return(_0x8d04e3=(_0x9be7a1=_0x37ecef==null?void 0x0:_0x37ecef[_0x3244ac(0x211)])!=null?_0x9be7a1:_0x12e071)!=null?_0x8d04e3:_0x1fa31a;}async[_0x25bc2e(0x17a)](_0x420dc2,_0x1e08c0){var _0x38a7e3=_0x25bc2e;const _0xc12559=_0x38a7e3(0x2b4)+_0x1e08c0[_0x38a7e3(0x255)]+_0x38a7e3(0x416)+_0x1e08c0[_0x38a7e3(0x1ae)]+_0x38a7e3(0x104);return(await this['_httpService'][_0x38a7e3(0x3c9)](_0xc12559,{'params':{'resourceId':JSON[_0x38a7e3(0x2db)](_0x1e08c0[_0x38a7e3(0x208)])}}))['body'];}[_0x25bc2e(0x14f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x25bc2e(0x2d8)](){var _0x463939=_0x25bc2e;throw new Error(_0x463939(0x11b));}['saveChangeset'](){var _0x381804=_0x25bc2e;throw new Error(_0x381804(0x11b));}['copyFileMeta'](){var _0x281990=_0x25bc2e;throw new Error(_0x281990(0x11b));}[_0x25bc2e(0x37b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x3aa05b[_0x25bc2e(0x3f1)]=_0x35f12d([_0x4d18d1(0x0,_0x223e3d[_0x25bc2e(0x316)]),_0x4d18d1(0x1,_0x223e3d['Inject'](_0x23fe84[_0x25bc2e(0x2a4)]))],_0x3aa05b['SnapshotServerOverHTTPService']);var _0xfc0119=Object[_0x25bc2e(0x1e6)],_0x232e6a=(_0x328ecf,_0x2e97c3,_0x6afba3,_0x4480fc)=>{var _0x2181d9=_0x25bc2e;for(var _0x57e3e2=_0x4480fc>0x1?void 0x0:_0x4480fc?_0xfc0119(_0x2e97c3,_0x6afba3):_0x2e97c3,_0x2a30fe=_0x328ecf[_0x2181d9(0xdd)]-0x1,_0xf093d4;_0x2a30fe>=0x0;_0x2a30fe--)(_0xf093d4=_0x328ecf[_0x2a30fe])&&(_0x57e3e2=_0xf093d4(_0x57e3e2)||_0x57e3e2);return _0x57e3e2;},_0xf6915a=(_0x47b024,_0x37770b)=>(_0x5703e0,_0x20777d)=>_0x37770b(_0x5703e0,_0x20777d,_0x47b024);_0x3aa05b['CollaborativeUndoRedoService']=class extends _0x223e3d[_0x25bc2e(0x311)]{constructor(_0x29f515,_0x31000e,_0x50bdb9,_0x5e8df4,_0x2d764b){var _0x40715e=_0x25bc2e;super(_0x29f515,_0x31000e,_0x50bdb9),this['_transformService']=_0x5e8df4,this[_0x40715e(0x411)]=_0x2d764b;}['transformUndoRedo'](_0x5c40c2,_0x31670a){var _0x4664f6=_0x25bc2e;const _0x28c3f4=this['_getUndoStack'](_0x5c40c2);if(_0x28c3f4)try{const _0x99b46c=this[_0x4664f6(0x1ce)](_0x28c3f4,_0x31670a);this[_0x4664f6(0x253)](_0x5c40c2,_0x99b46c);}catch(_0x5adca3){this[_0x4664f6(0x411)][_0x4664f6(0x3db)](_0x4664f6(0x16a),_0x5adca3),this[_0x4664f6(0x2ab)](_0x5c40c2);}const _0x5da4e2=this[_0x4664f6(0xda)](_0x5c40c2);if(_0x5da4e2)try{const _0x542ba2=this[_0x4664f6(0x1ce)](_0x5da4e2,_0x31670a);this[_0x4664f6(0xab)](_0x5c40c2,_0x542ba2);}catch(_0xd0df36){this['_logService']['error'](_0xd0df36),this[_0x4664f6(0x3f0)](_0x5c40c2);}}[_0x25bc2e(0x2ab)](_0x1561b9){var _0x3057d8=_0x25bc2e;const _0x384fac=this[_0x3057d8(0x1c9)](_0x1561b9);_0x384fac&&(_0x384fac[_0x3057d8(0xdd)]=0x0,this['_updateStatus']());}[_0x25bc2e(0x3f0)](_0x212183){var _0x575661=_0x25bc2e;const _0x4df123=this[_0x575661(0xda)](_0x212183);_0x4df123&&(_0x4df123[_0x575661(0xdd)]=0x0,this[_0x575661(0x1fb)]());}[_0x25bc2e(0x253)](_0x25742c,_0x36b66b){var _0xfd7286=_0x25bc2e;this[_0xfd7286(0xca)][_0xfd7286(0xe9)](_0x25742c,_0x36b66b),this[_0xfd7286(0x1fb)]();}[_0x25bc2e(0xab)](_0x35ff94,_0x253912){var _0x44fd57=_0x25bc2e;this[_0x44fd57(0x2f8)]['set'](_0x35ff94,_0x253912),this[_0x44fd57(0x1fb)]();}['_transformStack'](_0x24380a,_0x2885be){var _0x30bce3=_0x25bc2e;const _0x2d85e0=[];let _0x534997=_0x2885be,_0xc5c3fe=_0x2885be;for(let _0x498b4b=_0x24380a['length']-0x1;_0x498b4b>=0x0;_0x498b4b--){const {unitID:_0x4f9cc7,undoMutations:_0x77a0b5,redoMutations:_0x5455d6}=_0x24380a[_0x498b4b],_0x19fb2b=this[_0x30bce3(0x222)][_0x30bce3(0x22a)](_0x534997,_0x77a0b5),_0x508a4e=this[_0x30bce3(0x222)][_0x30bce3(0x22a)](_0xc5c3fe,_0x5455d6);if(_0x39217d[_0x30bce3(0x3c3)](_0x19fb2b)||_0x39217d[_0x30bce3(0x3c3)](_0x508a4e)){this[_0x30bce3(0x411)][_0x30bce3(0x3db)](_0x30bce3(0x16a),'transformStack\x20failed!',_0x19fb2b,_0x508a4e);break;}_0x534997=_0x19fb2b[_0x30bce3(0x295)],_0xc5c3fe=_0x508a4e[_0x30bce3(0x295)],_0x2d85e0['push']({'unitID':_0x4f9cc7,'undoMutations':_0x19fb2b['m2Prime'],'redoMutations':_0x508a4e['m2Prime']});}return _0x2d85e0[_0x30bce3(0x3c0)]();}},_0x3aa05b[_0x25bc2e(0x1f2)]=_0x232e6a([_0xf6915a(0x0,_0x223e3d[_0x25bc2e(0x267)]),_0xf6915a(0x1,_0x223e3d['ICommandService']),_0xf6915a(0x2,_0x223e3d[_0x25bc2e(0x3f4)]),_0xf6915a(0x3,_0x39217d['ITransformService']),_0xf6915a(0x4,_0x223e3d[_0x25bc2e(0x15b)])],_0x3aa05b['CollaborativeUndoRedoService']);var _0x5ae5ae=Object[_0x25bc2e(0x2b9)],_0x2398a5=Object[_0x25bc2e(0x1e6)],_0x67b883=(_0x29bac1,_0x3bdcdb,_0x58b930)=>_0x3bdcdb in _0x29bac1?_0x5ae5ae(_0x29bac1,_0x3bdcdb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x58b930}):_0x29bac1[_0x3bdcdb]=_0x58b930,_0x31e5d2=(_0x42ce86,_0x3097ba,_0x5c950b,_0x12c0d3)=>{var _0xd18ac3=_0x25bc2e;for(var _0x544855=_0x12c0d3>0x1?void 0x0:_0x12c0d3?_0x2398a5(_0x3097ba,_0x5c950b):_0x3097ba,_0x479893=_0x42ce86[_0xd18ac3(0xdd)]-0x1,_0x274a0b;_0x479893>=0x0;_0x479893--)(_0x274a0b=_0x42ce86[_0x479893])&&(_0x544855=_0x274a0b(_0x544855)||_0x544855);return _0x544855;},_0x22d7e2=(_0xfe129c,_0x56105a)=>(_0x1033ca,_0x4576ac)=>_0x56105a(_0x1033ca,_0x4576ac,_0xfe129c),_0xbf6e04=(_0x47cb53,_0x3d5f61,_0x402566)=>_0x67b883(_0x47cb53,_0x3d5f61+'',_0x402566);const _0x5e20d3=_0x25bc2e(0xad);_0x3aa05b[_0x25bc2e(0x254)]=class extends _0x223e3d['Plugin']{constructor(_0x59757d,_0x436021,_0x5d156e,_0x755913){var _0x4d4a66=_0x25bc2e;super(),_0x427f66(this,'_config'),(this[_0x4d4a66(0x411)]=_0x436021,this[_0x4d4a66(0x325)]=_0x5d156e,this[_0x4d4a66(0x292)]=_0x755913);const {..._0x758e25}=_0x223e3d['merge']({},_0xaf982,_0x59757d);if(!_0x758e25['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x758e25,this[_0x4d4a66(0x292)][_0x4d4a66(0x409)](_0x67dd2f,_0x758e25);}[_0x25bc2e(0x2af)](){var _0x163a42=_0x25bc2e;this[_0x163a42(0x305)](),this[_0x163a42(0x2bc)]();}[_0x25bc2e(0x305)](){var _0x1c1c31=_0x25bc2e,_0x15d4cc,_0x4643f7;this[_0x1c1c31(0x325)][_0x1c1c31(0x11e)](_0x223e3d[_0x1c1c31(0x3d8)])&&this[_0x1c1c31(0x411)]['error']('[UniverCollaborationClientPlugin]',_0x1c1c31(0xbc));const _0xb8c2ee=_0x223e3d['mergeOverrideWithDependencies']([[_0x223e3d[_0x1c1c31(0x3d8)],{'useClass':_0x3aa05b[_0x1c1c31(0x1f2)]}],[_0x3aa05b[_0x1c1c31(0x1e5)]],[_0x3aa05b[_0x1c1c31(0x373)]],[_0x3aa05b['SheetTransformSelectionsService']],[_0x44ec95],[_0x11360f],[_0x2384b8],[_0x26c6e6],[_0x5876ed],[_0x3aa05b[_0x1c1c31(0x329)]],[_0x450019,{'useClass':this[_0x1c1c31(0x3b6)][_0x1c1c31(0x1c4)]}],[_0x39217d[_0x1c1c31(0x3e1)],{'useClass':_0x3aa05b[_0x1c1c31(0x3f1)]}],[_0x223e3d[_0x1c1c31(0x392)],{'useClass':_0x3aa05b[_0x1c1c31(0x40c)]}],[_0x2c2cd9[_0x1c1c31(0x34f)],{'useClass':_0x3aa05b[_0x1c1c31(0x22d)]}],[_0x223e3d[_0x1c1c31(0x1ec)],{'useClass':_0x3aa05b[_0x1c1c31(0x38c)]}],[_0x3aa05b[_0x1c1c31(0xbb)]],[_0x1fbe1f]],(_0x15d4cc=this[_0x1c1c31(0x3b6)])==null?void 0x0:_0x15d4cc[_0x1c1c31(0x23c)]);if(!((_0x4643f7=this[_0x1c1c31(0x3b6)])!=null&&_0x4643f7[_0x1c1c31(0x364)])){const _0x25cfe8=_0xb8c2ee[_0x1c1c31(0x101)](([_0x49ecfb])=>_0x49ecfb===_0x5cc7ba);_0x25cfe8!==-0x1&&_0xb8c2ee[_0x1c1c31(0x289)](_0x25cfe8,0x1);}_0x223e3d['registerDependencies'](this[_0x1c1c31(0x325)],_0xb8c2ee);}[_0x25bc2e(0x2bc)](){var _0x409ab3=_0x25bc2e,_0xa87aae,_0x1daa73,_0x1e214e;this[_0x409ab3(0x325)]['get'](_0x23fe84[_0x409ab3(0x2a4)])[_0x409ab3(0xef)]({'priority':0x14,'interceptor':_0x23fe84[_0x409ab3(0xa9)]({'maxParallel':0x6})}),(_0xa87aae=this[_0x409ab3(0x3b6)])!=null&&_0xa87aae[_0x409ab3(0x3f3)]||(_0x1daa73=this[_0x409ab3(0x325)][_0x409ab3(0x3c9)](_0x4c0d6c,_0x223e3d['Quantity'][_0x409ab3(0x2be)]))==null||_0x1daa73[_0x409ab3(0x266)](),(_0x1e214e=this['_config'])!=null&&_0x1e214e[_0x409ab3(0x25a)]&&_0x223e3d[_0x409ab3(0x172)](this[_0x409ab3(0x325)],[[_0x44ec95]]),_0x223e3d[_0x409ab3(0x172)](this[_0x409ab3(0x325)],[[_0x11360f],[_0x3aa05b['CollaborationController']],[_0x26c6e6]]);}},_0xbf6e04(_0x3aa05b['UniverCollaborationClientPlugin'],_0x25bc2e(0x366),_0x5e20d3),_0x3aa05b['UniverCollaborationClientPlugin']=_0x31e5d2([_0x223e3d[_0x25bc2e(0x3fc)](_0x39217d[_0x25bc2e(0xcf)],_0x23fe84['UniverNetworkPlugin']),_0x22d7e2(0x1,_0x223e3d[_0x25bc2e(0x15b)]),_0x22d7e2(0x2,_0x223e3d[_0x25bc2e(0x1b8)](_0x223e3d[_0x25bc2e(0x10b)])),_0x22d7e2(0x3,_0x223e3d[_0x25bc2e(0x316)])],_0x3aa05b[_0x25bc2e(0x254)]),_0x3aa05b['AUTHZ_URL_KEY']=_0x25ddee,_0x3aa05b[_0x25bc2e(0xaf)]=_0x67dd2f,_0x3aa05b[_0x25bc2e(0x3bf)]=_0x5a4d16,_0x3aa05b[_0x25bc2e(0x2e0)]=_0x11fd71,_0x3aa05b[_0x25bc2e(0x256)]=_0x4adeba,_0x3aa05b[_0x25bc2e(0x12d)]=_0x2ce557,_0x3aa05b[_0x25bc2e(0x2d0)]=_0x5876ed,_0x3aa05b[_0x25bc2e(0x3e2)]=_0x2384b8,_0x3aa05b[_0x25bc2e(0x34c)]=_0x26ac59,_0x3aa05b[_0x25bc2e(0x3d1)]=_0x5f1f34,_0x3aa05b[_0x25bc2e(0x184)]=_0x57ac5f,_0x3aa05b[_0x25bc2e(0x1be)]=_0xb53dff,_0x3aa05b['HEARTBEAT_TIMEOUT_KEY']=_0x3c4235,_0x3aa05b[_0x25bc2e(0xee)]=_0x450019,_0x3aa05b[_0x25bc2e(0x116)]=_0x4c0d6c,_0x3aa05b[_0x25bc2e(0x1a8)]=_0x3c13f4,_0x3aa05b[_0x25bc2e(0x18b)]=_0x5cc7ba,_0x3aa05b[_0x25bc2e(0x249)]=0x3e8,_0x3aa05b[_0x25bc2e(0x247)]=_0x542de,_0x3aa05b[_0x25bc2e(0x37e)]=_0x2d9159,_0x3aa05b[_0x25bc2e(0x3c6)]=_0x11a36f,_0x3aa05b[_0x25bc2e(0x248)]=_0x31d749,_0x3aa05b['SEND_CHANGESET_TIMEOUT_KEY']=_0x3f1757,_0x3aa05b[_0x25bc2e(0x98)]=_0x4019f5,_0x3aa05b[_0x25bc2e(0x27d)]=_0xc0c3ec,_0x3aa05b[_0x25bc2e(0xac)]=_0x3034e7,_0x3aa05b[_0x25bc2e(0x3ce)]=_0x1b0014,_0x3aa05b[_0x25bc2e(0x197)]=_0x3c8130,_0x3aa05b['getLocalCacheKey']=_0x4fd0fe,_0x3aa05b['serializeCombRequest']=_0x553b29,Object[_0x25bc2e(0x2b9)](_0x3aa05b,Symbol[_0x25bc2e(0x242)],{'value':_0x25bc2e(0x1a6)});}));
|
1
|
+
function _0x5ddd(_0x4c6aa4,_0x5bbd83){var _0x3ae57e=_0x3ae5();return _0x5ddd=function(_0x5ddd3d,_0x929994){_0x5ddd3d=_0x5ddd3d-0x64;var _0x46cb5f=_0x3ae57e[_0x5ddd3d];return _0x46cb5f;},_0x5ddd(_0x4c6aa4,_0x5bbd83);}function _0x3ae5(){var _0x2f0d64=['CollaborationEvent','firstValueFrom','textEncoder','_onConnectionFailed','encode','_parse','csAckEvent','sid','_onJoinRoomEvent','CollaborationEntity','/block/','includes','_getLoginPath','WorkbookEditablePermission','image/gif','transformSelections','addImageSourceCache','session.room-cnt-exceeds','SnapshotService','updateCollaborator','socket\x20close','_sessionStatus$','_changesetReqId','onCommandExecuted','NoPadding','_collaborationSessionService','charAt','[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.','SYNCED','JOIN_ROOM_NOT_EXISTS','userID','_init','_clearRedo','_oKey','_unitID','ERROR_IMAGE_TYPE','PendingState','unsubscribe','_getSignURL','connection\x20error','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_imageSourceCache','set','_permissionService','_hasher','append','Injector','image/png','_incrementRevisionNumber','getCollabEntity$','getFocusedUnit','AuthzIoHttpService','SUBMIT_CHANGESET','words','ws://127.0.0.1:8000/universer-api/comb/connect','DataLoaderService','add','_nDataBytes','OTHER_CLIENTS_EDITING','_state','Optional','push','_getDownloadEndpointURL','registerHTTPInterceptor','telemetry\x20info\x20is\x20not\x20initialized','byteLength','LICENSE_IMPORT_SIZE_EXCEEDED','unit-cache-','_executeRemoteChangeset','LIVESHARE_FETCH_OPERATIONS','_event$','_onRemoteRetry','fetch_missing','updateMember','_doReset','socket$','then','data','UPDATE_PERMISSION_OBJ','NOT_FOUND','next','[OfflineState]:\x20received\x20acknowledgement.','startsWith','HttpImport','getRoom','session.room-permission-denied','@univerjs-pro/license','UNISCRIPT_RUN','compute','awaitingChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/universer-api/stream/file/upload','replace','subUnitId','max','authzUrl','updatePermissionObjEvent','update','padding','formatter','findIndex','_type','reduce','NO_OTHER_CLIENTS_EDITING','toggleOffline','_clearHeartbeatTimer','title','encrypt','_onRemoteRejected','defineProperty','entries','getTime','getUnit','_transformService','univer-pro.collaboration-client-socket-service','@univerjs/drawing','randomBytes','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getDeserializedSheetBlock','__Key__','auth.needGotoLoginAlert','PERSON','eventID','@univerjs/sheets','state','UNAUTHENTICATED','CollaborationStatus','toStringTag','ALREADY_EXISTS','kdf','_createInitialStateImpl','objectType','_tryReconnect','_doCryptBlock','isTransformChangesetsSuccess','_onRemoteACK','_socket$','?url=','target','CBC','IDLE','_transformRemoteChangesetByStateCache','getSheetBlock','downloadEndpointUrl','parseChangesetToProtocol','/-/object/-/batch_allowed','JOIN_ROOM_FULL','onTransformRemoteChangesetByStateCache','OTHER_CLIENT_EDITING','readAsDataURL','LocalUndoRedoService','onTransformRemoteChangesetByIMECache','_retryCount','_startTelemetryCollaborationNewChangeset','FileId','Decryptor','APPLY_REVISION_CONFILICT','SheetTransformSelectionsService','BehaviorSubject','code','objectID','responseType','awaiting_with_pending','_getCurrentRevision','actions','UniverTelemetry','waitForRoom$','_entities','Disposable','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_onCombEvent','take','_createHelper','UniverDocs','onStarting','\x0aAfter:\x20','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_compressMutationService','_sendingTimer','7632250xoTrPJ','SNAPSHOT_SERVER_URL_KEY','ivSize','univer-pro.collaboration-client.network-condition.service','extend','isTransformMutationsWithChangesetFailure','_loadDoc','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','putCollaborators','getCurrentRevOfUnit','avatar','_collaborationUIEventService','/universer-api/comb','mapDocumentTypeToUniverType','LIVESHARE_OPERATION','listCollaborators','send','_throwTelemetryCollaborationNewChangeset','refreshPermission','sigBytes','rev','/unit/','result','INTERNAL_ERROR','startTime','_transformRemoteChangesetByIMECache','setWaitCount','session.join-failed','UNIVER_UNKNOWN','revision','_commandService','_clearUndo','SNAPSHOT_INVALID_SNAPSHOT','PERMISSION_DENIED','sin','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_localCacheService','Tools','getCurrentSelections','_mode','MD5','unitId\x20is\x20not\x20found','YUUMI_URL_COL_OUT_OF_RANGE','reset','loadOfflineData','CipherParams','getLocalCacheKey','JOINING','?size=','_timeoutTimer','entityInit$','_exhaustRemoteChangesetQueue','_disableEditing','concatMap','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getAllMembers','univer-pro.collaboration-client.single-active-unit-service','pauseCollaboration','COLLAB_SUBMIT_CHANGESET_URL','reject','patch','onSendChangeset','_transformUndoredo','UPDATE_CURSOR','call','reconnect','unknown','_replaceFileID','_resendWithTimeout','sessionStatus$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LEAVE','_createHandler','getConfig','RevisionService','CHANGESET_SHOULD_RETRY','GLOBAL_ROOMS_CNT_EXCEEDS','subscribe','IUniverInstanceService','every','CollaborationUIEventId','_entityInit$','_transformIMECache','YUUMI_SUBSCRIPTION_NOT_FOUND','init','_substituteUndoStack','Latin1','FetchingMissState','batchAllowed','c1Prime','DocCollaborationEntity','/fetchmissing?from=','23728419JHaDPz','onCommentUpdate','session.room-not-exists','/universer-api/oidc/authpage','ISnapshotServerService','_map','AwaitingWithPendingState','/new_changes','updatePermissionPoint','SOCKET_FAILED','CLOSE_ROOM','USERS_LEAVE','Cipher','_submitChangeset','UNIVER_DOC','buffer','[CollaborationSession]','_ENC_XFORM_MODE','[UniverCollaborationClientPlugin]','collaboration_new_changeset','_clearLocalCache','@univerjs/telemetry','CONFLICT','MSG_FOR_ERROR','clamp','COLLAB_SUBMIT_CHANGESET_URL_KEY','HmacSHA1','SerializableCipher','INVALID_ARGUMENT','getLatestCsReqIdBySid','CommandType','parse','_acknowledgedAwaitingChangeset','unitId','POST','unpad','type','shouldCloseConn','onlyLocal','&source=','_cipher','getOwnPropertyDescriptor','collabSubmitChangesetUrl','editing\x20status\x20changed\x20to','unitID','format','substr','{fileID}','_lockTransition','_keyPriorReset','_getUndoStack','_removeRoom','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','CHANGESET_REJ','ISingleActiveUnitService','loadUnit','_data','SheetPermissionInitController','INGEST','create','_createInitialState','routeKey','DependentOn','size','_scheduleCompleteTimestamp','incrementRevOfUnit','_updateState','RxDisposable','msCrypto','offline','_toggleOffline','COLLAB_WEB_SOCKET_URL','MentionType','_unlockTransition','ConflictState','_commentUpdate$','_localeService','_snapshotService','getMember','lib','ERROR_EXCEED_SIZE','charCodeAt','_getSendChangesetTimeout','string','baseRev','online$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_getRedoStack','stopTime','onTransformState','RichTextEditingMutation','_unitInfo$','pad','joinRsp','resend','\x20to\x20','Quantity','RECV','sessionStatus','localCacheService','1918194sZMOZi','_pendingMutations','image/jpg','csShouldRetryEvent','SheetsSelectionsService','stringify','url','_substituteRedoStack','getRandomValues','IContextService','floor','get','sendChangesetTimeout','LocaleService','_snapshotServerService','_telemetryInfo','indexOf','now','/-/object/list','AES','uploadFileServerUrl','filter','_handlerCallback','fetching\x20missing\x20changesets\x20from\x20','abs','[CollaborationEntity]','JOIN_ROOM_FAILED','2733339RDsbCY','SyncedState','_xformMode','NOT_COLLAB','rxjs','deleteCollaborator','conflict','COLLAB_WEB_SOCKET_URL_KEY','fromCharCode','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','SNAPSHOT_HAS_BEEN_REMOVED','_clearRetryConnectingTimer','toString','APPLY_PERMISSION_DENIED','UniverSheets','submit\x20changeset\x20error!','getImage','put','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_injector','_onLocalMutation','getUnitId','synced','_onMessage','roles','ceil','onRemoteAck','appendMutation','list','requireSession','onRemoteRetry','LICENSE_MAX_UNITS_EXCEEDED','commentUpdate$','_onRecvEvent','state$','_getAPIPrefix','confirm','/universer-api/file/{fileID}/sign-url','apply','_collabSessionService','getValue','cfg','b64DecodeUnicode','UniverProCollaboration','Inject','getImageSourceCache','_change$','_redoStacks','JSONX','COMPRESS_MUTATION_APPLY','hasOwnProperty','/object/','createIdentifier','exports','UniverCore','LOGIN_URL_KEY','_socketReady','IPermissionService','default','3CZTOcI','function','_initMergeInterceptor','_retryConnectingTimer','fetchMiss','_resendTimer','_loadSheet','prototype','InsertSheetMutation','_initDependencies','SHA1','Subject','AWAITING','_minBufferSize','_transitionLocked','loginUrlKey','SnapshotServerOverHTTPService','isArray','DEFAULT_WS_SESSION_TICKET_URL','dispose$','createEncryptor','isInternalEditorID','collaboration-client.config','_logService','_waitForHeartbeatResponse','body','transformMutationsWithChangeset','deserializeToCombResponse','HttpExport','APPLY_REJECT','toDisposable','_invKeySchedule','SheetCollaborationEntity','PERMISSION_REJ','_transformSelections','2954636XCCGmf','join','mode','permissionRejEvent','_eventService','_listenToNetworkCondition','IMentionIOService','delete','_onRemoteChangeset','_undoRedoService','getMemberID','_httpService','createSocket','slice','CollaborationController','close','_onConflict','open$','_roomCreated$','enableOfflineEditing','_revisionService','CollaborationSession','/object','memberID','requestParams','localeService','_onOffline','Could\x20not\x20dynamically\x20require\x20\x22','MentionIoHttpService','repeat','LIVESHARE_REQUEST_HOST','originalMeta','params','origin','[PendingState]:\x20unhandled\x20univer\x20type:\x20','/universer-api/uniscript','transformUndoRedo','_getAPIPrefixPath','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','ILocalCacheService','_key','MUTATION','_sessions','Undefined','_collaborationPaused','selections','symbol','_onConnectionOpen','catch','subject','CONNECTOR_DATA_TOO_LARGE','ITransformService','hasher','override','changesets','processBlock','EvpKDF','HEARTBEAT_TIMEOUT','42zZBpUW','ITelemetryService','getGlobalObject','getWorkbookSelections','ERROR_IMAGE','UniverProCollaborationClient','SOCKET_FAILED_RETRY','_configService','decryptBlock','textRanges','_status$','execute','SEND_CHANGESET_TIMEOUT_KEY','Base64','enc','getResourcesRequest','shareReplay','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitOnRev','UNRECOGNIZED','_initRequestHeader','COMPRESS_MUTATION_SEND','encryptBlock','updateOfflineData','session','_iKey','[DataLoaderService]','retryConnectingInterval','members','_applyRemoteChangeset','FAIL','_state$','IAuthzIoService','_scheduleCollaborationTimeoutTimer','uniscriptRunEvent','getTypeOfUnitAdded$','ENSURE_SNAPSHOT_EXECUTION','Rectangle','keySize','infoRsp','delay','SessionStatus','complete','enableSingleActiveInstanceLock','EmptyMutation','UNIVER_SHEET','/allowed','BufferedBlockAlgorithm','takeUntil','ILogService','_changesetSessionId','dispose','liveShareOperation','CollaborationSocketService','IImageIoService','reqId','_getCtorByUniverType','_waitCount','LIVESHARE_NEW_HOST','Pkcs7','decrypt','APPLY_NON_SEQUENTIAL_REVISION','_keySchedule','editingUnit','_sender','getSnapshotAPIPath','ImageSourceType','saveSnapshot','setShowComponents','_clearTimeoutTimer','isTransformMutationsWithChangesetSuccess','SetSelectionsOperation','/universer-api/snapshot/','_HTTPService','members$','rxjs/operators','_onUserLeave','UniverProLicense','HMAC','saveImage','[OfflineState]:\x20received\x20rejection.','StreamCipher','_transformStack','HELLO','withCredentials','USERS_ENTER','CollaborationSessionService','transformChangesets','_emitMembers','executeCommand','onload','touchDependencies','_initUnitPermissionChange','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_syncEditingCollabCursor','headers','_doProcessBlock','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','ONLINE','removeMember','SUCCUSS','getCollabEntity','SNAPSHOT_URL_KEY','_roomMembers','toggleOnline','readyForCollab','status$','_decreaseWaiting','_shouldReportTelemetry','createInstance','_sheetTransformSelectionsService','pending','reverse','[SyncedState]:\x20received\x20rejection.','registerDependencies','Plugin','not_collab','_replayCachedMutations','COMMENT_UPDATE','compose','saveChangeset','_instanceService','location','random','HmacMD5','OpenSSL','TOO_MANY_REQUESTS','collabWebSocketUrl','algo','mixIn','UniverCollaborationPlugin','_resendTimeout','YUUMI_UNABLE_LOAD_URL','saveSheetBlock','_userManagerService','CollaborationUIEventService','sequenceExecute','$super','ThresholdInterceptorFactory','onLocalMutation','getTypeOfUnitDisposed$','_sendHeartbeatTimer','snapshot','_collaborationTimeoutTimer','_reverseMap','YUUMI_RATE_OVER_LIMIT','allowed','HEARTBEAT_INTERVAL','clear','capture','crypto','_candidateSocket','fetchMissingChangesets','ImageUploadStatusType','HEARTBEAT_TIMEOUT_KEY','pipe','json','UNIVER_SLIDE','_networkConditionService','/universer-api/authz','map','mutations','AwaitingState','UserManagerService','getInterceptPoints','NEW_CHANGESETS','AWAITING_WITH_PENDING','@univerjs-pro/collaboration','_clearCollaborationTimeoutTimer','IConfigService','_hash','m2Prime','_clearScheduledTask','collaborators','_members$','CollaborationImageIoService','leaveEvent','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','LIVESHARE_TERMINATE','RETRY_CONNECTING_MAX_COUNT','SHOULD_CLOSE_CONN','onTransformIME','_startCollaboration','Base','UniverNetworkPlugin','SUBMIT_CHANGESET_TIMEOUT','name','_commentService','/role','liveShareNewHost','change$','_telemetryService','UNKNOWN_CMD','_config','has','_doCreateSocket','HTTPService','MemberService','_prevBlock','blockSize','onRemoteChangeset','generateRandomId','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','ciphertext','amd','setConfig','CHANGESET_ACK','LICENSE_DISTRO_REJECTED','_nRounds','onSyncEditingCollabCursor','encodeURIComponent','event$','UniverInstanceType','[FetchMissState]','find','PasswordBasedCipher','_socketMessageSubscription','_doFinalize','[CollaborationState]:\x20apply\x20error!','JOIN','method','COMPLETION_FINISHED','interceptor','_singleActiveUnitService','@univerjs/docs','closeSession','Encryptor','collaboration-client.local-cache-service','_onUserJoin','__esModule','concat','_joinRoom','length','_members','Hasher','/rev/','_rescheduleHeartbeat','_append','CommentService','href','_handler','Utf8','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','\x20in\x20_schedule.','PY_RUNTIME_SCRIPT_ERROR','splice','_schedule','post','mergeOverrideWithDependencies','onStateChange','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','clone','LOCAL_CACHE_INTERVAL','_socket','FETCH_MISSING','createDecryptor','_updateStatus','onRemoteRej','@univerjs/network','/collaborator','_transformStateCache','disposeWithMe','deepClone','error','bind','src','randomUUID','UnitSnapshot','fetchThroughInterceptors','_undoStacks','message$','_queuedRemoteChangesets','CompressMutationService','UNIVER_PROJECT','ICollaborationSocketService','FETCH_MISS','_fetchMissChangesets','debug','&to=','_onFetchMissResult','WordArray','PSEUDO_FETCH_MISSING_RESULT','Failed\x20to\x20update\x20permission\x20point','_memberService','UNKNOWN_CODE','OfflineState','\x20-\x20','cmd','13302pYfKPi','image/bmp','salt','6700192lcphwq','_getUploadFileURL','equals','Error\x20on\x20receiving\x20event','_registerDependencies','getCurrentUser','from','onMissingChangesets','snapshotServerUrl','JOIN_ROOM_PERMISSION_DENIED','range','_remoteChangesetQueue','[OfflineState]:\x20received\x20changeset.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','CollaborativeUndoRedoService','loadDoc','forEach','PENDING','finalize','OFFLINE','_updateLocalCache','AUTHZ_URL_KEY','_toggleOnline','c2Prime','_awaitingChangeset','[CollaborationSessionService]','_iv','UniverCollaborationClientPlugin','_stopTelemetryCollaborationNewChangeset','merge','IUndoRedoService','_process','awaiting','joinEvent','_sendHeartbeat','ICommandService','rng','_tryEnsureSocket','emitEvent','\x0aCurrent:\x20','_createHmacHelper','_checkMissing','key','fromCollab','asObservable','_isPermissionRej','isPermissionRej','status','HEARTBEAT','objects','Hex','_univerInstanceService'];_0x3ae5=function(){return _0x2f0d64;};return _0x3ae5();}(function(_0x4d49d3,_0x563d6d){var _0x3f6275=_0x5ddd,_0x2fb4bb=_0x4d49d3();while(!![]){try{var _0x1e1791=parseInt(_0x3f6275(0x25d))/0x1*(parseInt(_0x3f6275(0x13d))/0x2)+-parseInt(_0x3f6275(0xe0))/0x3*(parseInt(_0x3f6275(0x103))/0x4)+-parseInt(_0x3f6275(0x347))/0x5+-parseInt(_0x3f6275(0x8a))/0x6+-parseInt(_0x3f6275(0xa5))/0x7+parseInt(_0x3f6275(0x260))/0x8+parseInt(_0x3f6275(0x3a3))/0x9;if(_0x1e1791===_0x563d6d)break;else _0x2fb4bb['push'](_0x2fb4bb['shift']());}catch(_0x4d2915){_0x2fb4bb['push'](_0x2fb4bb['shift']());}}}(_0x3ae5,0xbdf58),function(_0x2308a2,_0x3e70d1){var _0x36bfb6=_0x5ddd;typeof exports=='object'&&typeof module<'u'?_0x3e70d1(exports,require('@univerjs/core'),require(_0x36bfb6(0xa9)),require(_0x36bfb6(0x188)),require(_0x36bfb6(0x1e4)),require(_0x36bfb6(0x23f)),require(_0x36bfb6(0x3b8)),require(_0x36bfb6(0x21d)),require(_0x36bfb6(0x30f)),require(_0x36bfb6(0x307)),require(_0x36bfb6(0x2ea))):typeof define==_0x36bfb6(0xe1)&&define[_0x36bfb6(0x209)]?define([_0x36bfb6(0xda),'@univerjs/core',_0x36bfb6(0xa9),_0x36bfb6(0x188),_0x36bfb6(0x1e4),_0x36bfb6(0x23f),'@univerjs/telemetry',_0x36bfb6(0x21d),_0x36bfb6(0x30f),_0x36bfb6(0x307),_0x36bfb6(0x2ea)],_0x3e70d1):(_0x2308a2=typeof globalThis<'u'?globalThis:_0x2308a2||self,_0x3e70d1(_0x2308a2[_0x36bfb6(0x142)]={},_0x2308a2[_0x36bfb6(0xdb)],_0x2308a2['rxjs'],_0x2308a2[_0x36bfb6(0xa9)]['operators'],_0x2308a2[_0x36bfb6(0xd0)],_0x2308a2['UniverNetwork'],_0x2308a2[_0x36bfb6(0x339)],_0x2308a2[_0x36bfb6(0x341)],_0x2308a2[_0x36bfb6(0xb3)],_0x2308a2['UniverDrawing'],_0x2308a2[_0x36bfb6(0x18a)]));}(this,function(_0x1aec2f,_0x532776,_0x14df21,_0x3828c6,_0x85f3d2,_0x20209c,_0x44f070,_0x1c6ce8,_0x25228d,_0x5e34c3,_0x4ff6ad){'use strict';var _0x1d4b46=_0x5ddd;var _0x48da15=Object[_0x1d4b46(0x301)],_0x48eedf=(_0x570872,_0x598564,_0x1a64f2)=>_0x598564 in _0x570872?_0x48da15(_0x570872,_0x598564,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a64f2}):_0x570872[_0x598564]=_0x1a64f2,_0x218999=(_0x5840d8,_0x54790c,_0x48f056)=>_0x48eedf(_0x5840d8,typeof _0x54790c!=_0x1d4b46(0x131)?_0x54790c+'':_0x54790c,_0x48f056);const _0x32cc48=_0x1d4b46(0x348),_0x3aa3a7='/universer-api/snapshot',_0x1dc2c2=_0x1d4b46(0x1a3),_0x1651fa='SEND_CHANGESET_TIMEOUT',_0x4ccb15=_0x1d4b46(0x6d),_0x23c5e1=_0x1d4b46(0x2ca),_0x266cab='/universer-api/user/session-ticket',_0x3dc0cb=_0x1d4b46(0x1d0),_0x420035=_0x1d4b46(0x13c),_0x3c2384=_0x1d4b46(0x1f0),_0x5bbbce=_0x1d4b46(0x239),_0x4045ec=_0x1d4b46(0x381),_0x1aa627=_0x1d4b46(0x353),_0x22ef8a='LOGIN_URL_KEY',_0x2e43f2=_0x1d4b46(0x3a6),_0x557f95=_0x1d4b46(0x309),_0x2d18f1=_0x1d4b46(0x126);var _0x186bd7=(_0x17a3ab=>(_0x17a3ab[_0x17a3ab['UNDEFINED']=0x0]='UNDEFINED',_0x17a3ab[_0x17a3ab['OK']=0x1]='OK',_0x17a3ab[_0x17a3ab[_0x1d4b46(0x35e)]=0x2]='INTERNAL_ERROR',_0x17a3ab[_0x17a3ab['PERMISSION_DENIED']=0x3]=_0x1d4b46(0x368),_0x17a3ab[_0x17a3ab[_0x1d4b46(0x2e3)]=0x4]='NOT_FOUND',_0x17a3ab[_0x17a3ab[_0x1d4b46(0x311)]=0x5]=_0x1d4b46(0x311),_0x17a3ab[_0x17a3ab[_0x1d4b46(0x314)]=0x6]=_0x1d4b46(0x314),_0x17a3ab[_0x17a3ab[_0x1d4b46(0x3bf)]=0x7]=_0x1d4b46(0x3bf),_0x17a3ab[_0x17a3ab[_0x1d4b46(0x1bb)]=0x8]=_0x1d4b46(0x1bb),_0x17a3ab[_0x17a3ab[_0x1d4b46(0x21a)]=0x9]=_0x1d4b46(0x21a),_0x17a3ab[_0x17a3ab['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x17a3ab[_0x17a3ab[_0x1d4b46(0x367)]=0x1771]=_0x1d4b46(0x367),_0x17a3ab[_0x17a3ab[_0x1d4b46(0xaf)]=0x1772]=_0x1d4b46(0xaf),_0x17a3ab[_0x17a3ab[_0x1d4b46(0x161)]=0x1773]=_0x1d4b46(0x161),_0x17a3ab[_0x17a3ab[_0x1d4b46(0xfd)]=0x1b59]='APPLY_REJECT',_0x17a3ab[_0x17a3ab['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1d4b46(0x17a),_0x17a3ab[_0x17a3ab[_0x1d4b46(0x330)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x17a3ab[_0x17a3ab[_0x1d4b46(0xb2)]=0x1b5c]=_0x1d4b46(0xb2),_0x17a3ab[_0x17a3ab['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x17a3ab[_0x17a3ab[_0x1d4b46(0x135)]=0x1f41]=_0x1d4b46(0x135),_0x17a3ab[_0x17a3ab[_0x1d4b46(0xc4)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x17a3ab[_0x17a3ab['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x17a3ab[_0x17a3ab[_0x1d4b46(0x2d6)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x17a3ab[_0x17a3ab['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x17a3ab[_0x17a3ab[_0x1d4b46(0x20c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x17a3ab[_0x17a3ab[_0x1d4b46(0x1c1)]=0x2711]=_0x1d4b46(0x1c1),_0x17a3ab[_0x17a3ab[_0x1d4b46(0x371)]=0x2712]=_0x1d4b46(0x371),_0x17a3ab[_0x17a3ab[_0x1d4b46(0x1ce)]=0x2713]=_0x1d4b46(0x1ce),_0x17a3ab[_0x17a3ab[_0x1d4b46(0x39a)]=0x2714]=_0x1d4b46(0x39a),_0x17a3ab[_0x17a3ab[_0x1d4b46(0x231)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x17a3ab[_0x17a3ab['UNRECOGNIZED']=-0x1]=_0x1d4b46(0x150),_0x17a3ab))(_0x186bd7||{}),_0x49bbf8=(_0x407e25=>(_0x407e25[_0x407e25['UNIVER_UNKNOWN']=0x0]=_0x1d4b46(0x363),_0x407e25[_0x407e25[_0x1d4b46(0x3b1)]=0x1]='UNIVER_DOC',_0x407e25[_0x407e25[_0x1d4b46(0x16a)]=0x2]=_0x1d4b46(0x16a),_0x407e25[_0x407e25[_0x1d4b46(0x1da)]=0x3]=_0x1d4b46(0x1da),_0x407e25[_0x407e25['UNIVER_PROJECT']=0x4]=_0x1d4b46(0x24e),_0x407e25[_0x407e25[_0x1d4b46(0x150)]=-0x1]=_0x1d4b46(0x150),_0x407e25))(_0x49bbf8||{}),_0x1527bb=(_0x551132=>(_0x551132[_0x551132[_0x1d4b46(0x1fd)]=0x0]='UNKNOWN_CMD',_0x551132[_0x551132[_0x1d4b46(0x190)]=0x1]=_0x1d4b46(0x190),_0x551132[_0x551132[_0x1d4b46(0x218)]=0x2]=_0x1d4b46(0x218),_0x551132[_0x551132[_0x1d4b46(0x38e)]=0x3]=_0x1d4b46(0x38e),_0x551132[_0x551132['INGEST']=0x4]='INGEST',_0x551132[_0x551132['HEARTBEAT']=0x5]=_0x1d4b46(0x290),_0x551132[_0x551132[_0x1d4b46(0x87)]=0x6]=_0x1d4b46(0x87),_0x551132[_0x551132[_0x1d4b46(0x150)]=-0x1]=_0x1d4b46(0x150),_0x551132))(_0x1527bb||{}),_0x59cc42=(_0x3b1389=>(_0x3b1389[_0x3b1389[_0x1d4b46(0x259)]=0x0]='UNKNOWN_CODE',_0x3b1389[_0x3b1389['OK']=0x1]='OK',_0x3b1389[_0x3b1389['FAIL']=0x2]=_0x1d4b46(0x15b),_0x3b1389[_0x3b1389[_0x1d4b46(0x326)]=0x3e9]=_0x1d4b46(0x326),_0x3b1389[_0x3b1389[_0x1d4b46(0x2b1)]=0x3ea]=_0x1d4b46(0x2b1),_0x3b1389[_0x3b1389[_0x1d4b46(0x269)]=0x3eb]=_0x1d4b46(0x269),_0x3b1389[_0x3b1389[_0x1d4b46(0x393)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3b1389[_0x3b1389['UNRECOGNIZED']=-0x1]=_0x1d4b46(0x150),_0x3b1389))(_0x59cc42||{}),_0x40dbcf=(_0x1cc8e7=>(_0x1cc8e7[_0x1cc8e7[_0x1d4b46(0x12e)]=0x0]=_0x1d4b46(0x12e),_0x1cc8e7[_0x1cc8e7[_0x1d4b46(0x2e7)]=0x1]=_0x1d4b46(0x2e7),_0x1cc8e7[_0x1cc8e7['HttpExport']=0x2]=_0x1d4b46(0xfc),_0x1cc8e7[_0x1cc8e7['UnitEmbedded']=0x3]='UnitEmbedded',_0x1cc8e7[_0x1cc8e7[_0x1d4b46(0x248)]=0x4]='UnitSnapshot',_0x1cc8e7[_0x1cc8e7[_0x1d4b46(0x150)]=-0x1]=_0x1d4b46(0x150),_0x1cc8e7))(_0x40dbcf||{});const _0x1105e7=_0x1d4b46(0xf6),_0xe4826a={};var _0x4975b1=(_0x4d4426=>(_0x4d4426['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x4d4426[_0x1d4b46(0x368)]='PERMISSION_DENIED',_0x4d4426[_0x1d4b46(0x3b9)]='CONFLICT',_0x4d4426[_0x1d4b46(0x3ad)]='CLOSE_ROOM',_0x4d4426['JOIN_ROOM_FAILED']=_0x1d4b46(0xa4),_0x4d4426[_0x1d4b46(0x143)]='SOCKET_FAILED_RETRY',_0x4d4426[_0x1d4b46(0x3ac)]='SOCKET_FAILED',_0x4d4426['SUBMIT_CHANGESET_TIMEOUT']=_0x1d4b46(0x1f6),_0x4d4426))(_0x4975b1||{});class _0x4a5b95{constructor(){var _0x5ceafd=_0x1d4b46;_0x218999(this,_0x5ceafd(0x2da),new _0x14df21[(_0x5ceafd(0xeb))]()),_0x218999(this,'event$',this['_event$'][_0x5ceafd(0x28c)]());}[_0x1d4b46(0x286)](_0x11ec05){var _0xfc502e=_0x1d4b46;this[_0xfc502e(0x2da)][_0xfc502e(0x2e4)](_0x11ec05);}}const _0x27c611=_0x532776[_0x1d4b46(0xd9)](_0x1d4b46(0x34a));function _0x158047(_0x3ed29e){var _0x12291a=_0x1d4b46,_0x50ba2e,_0x145542,_0x3c2002,_0x3002dc,_0x293f55;const _0x1b510c=_0x3ed29e['data'],_0x19f9a4=JSON[_0x12291a(0x3c2)](_0x1b510c);switch(_0x19f9a4[_0x12291a(0x25c)]){case _0x1527bb[_0x12291a(0x290)]:case _0x1527bb[_0x12291a(0x190)]:{const _0x3b5589=_0x19f9a4[_0x12291a(0x164)];return{..._0x19f9a4,'data':_0x3b5589,'cmd':_0x19f9a4[_0x12291a(0x25c)]};}case _0x1527bb[_0x12291a(0x218)]:{const _0x43b1f1=_0x19f9a4[_0x12291a(0x83)];return{..._0x19f9a4,'data':_0x43b1f1,'cmd':_0x19f9a4[_0x12291a(0x25c)]};}case _0x1527bb['RECV']:{const _0x2de5f2=_0x19f9a4['collaMsg'];switch(_0x2de5f2[_0x12291a(0x30e)]){case _0x85f3d2[_0x12291a(0x294)][_0x12291a(0x101)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':(_0x50ba2e=_0x2de5f2[_0x12291a(0x106)])==null?void 0x0:_0x50ba2e['cs']},'cmd':_0x19f9a4[_0x12291a(0x25c)]};case _0x85f3d2[_0x12291a(0x294)][_0x12291a(0x20b)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':(_0x145542=_0x2de5f2[_0x12291a(0x29a)])==null?void 0x0:_0x145542['cs']},'cmd':_0x19f9a4['cmd']};case _0x85f3d2[_0x12291a(0x294)][_0x12291a(0x1e2)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':(_0x3c2002=_0x2de5f2['newCsEvent'])==null?void 0x0:_0x3c2002['cs']},'cmd':_0x19f9a4[_0x12291a(0x25c)]};case _0x85f3d2[_0x12291a(0x294)][_0x12291a(0x3d8)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':(_0x3002dc=_0x2de5f2['csRejEvent'])==null?void 0x0:_0x3002dc['cs']},'cmd':_0x19f9a4[_0x12291a(0x25c)]};case _0x85f3d2[_0x12291a(0x294)][_0x12291a(0x392)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':(_0x293f55=_0x2de5f2[_0x12291a(0x8d)])==null?void 0x0:_0x293f55['cs']},'cmd':_0x19f9a4['cmd']};case _0x85f3d2[_0x12291a(0x294)][_0x12291a(0x386)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':_0x2de5f2['updateCursorEvent']},'cmd':_0x19f9a4[_0x12291a(0x25c)]};case _0x85f3d2[_0x12291a(0x294)][_0x12291a(0x192)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':_0x2de5f2[_0x12291a(0x281)]},'cmd':_0x19f9a4[_0x12291a(0x25c)]};case _0x85f3d2['CollaborationEvent'][_0x12291a(0x3ae)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':_0x2de5f2[_0x12291a(0x1ed)]},'cmd':_0x19f9a4[_0x12291a(0x25c)]};case _0x85f3d2[_0x12291a(0x294)][_0x12291a(0x177)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':_0x2de5f2[_0x12291a(0x1fa)]},'cmd':_0x19f9a4[_0x12291a(0x25c)]};case _0x85f3d2[_0x12291a(0x294)][_0x12291a(0x2d9)]:case _0x85f3d2['CollaborationEvent'][_0x12291a(0x355)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':_0x2de5f2[_0x12291a(0x171)]},'cmd':_0x19f9a4['cmd']};case _0x85f3d2[_0x12291a(0x294)][_0x12291a(0x1ef)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':_0x2de5f2[_0x12291a(0x1fa)]},'cmd':_0x19f9a4[_0x12291a(0x25c)]};case _0x85f3d2['CollaborationEvent'][_0x12291a(0x3ba)]:return{..._0x19f9a4,'data':_0x2de5f2,'cmd':_0x19f9a4[_0x12291a(0x25c)]};case _0x85f3d2[_0x12291a(0x294)][_0x12291a(0x1b3)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':_0x2de5f2['commentUpdateEvent']},'cmd':_0x19f9a4[_0x12291a(0x25c)]};case _0x85f3d2[_0x12291a(0x294)][_0x12291a(0x2e2)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':_0x2de5f2[_0x12291a(0x2f4)]},'cmd':_0x19f9a4[_0x12291a(0x25c)]};case _0x85f3d2['CollaborationEvent'][_0x12291a(0x1f1)]:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':_0x2de5f2[_0x12291a(0x3c8)]},'cmd':_0x19f9a4[_0x12291a(0x25c)]};case _0x85f3d2[_0x12291a(0x294)]['UNISCRIPT_RUN']:return{..._0x19f9a4,'data':{..._0x2de5f2,'data':_0x2de5f2[_0x12291a(0x15f)]},'cmd':_0x19f9a4[_0x12291a(0x25c)]};default:return _0x19f9a4;}}default:return _0x19f9a4;}}function _0xb22317(_0x2f2eb7){var _0x178942=_0x1d4b46;switch(_0x2f2eb7[_0x178942(0x25c)]){case _0x1527bb[_0x178942(0x290)]:case _0x1527bb[_0x178942(0x190)]:return JSON[_0x178942(0x8f)]({'cmd':_0x2f2eb7['cmd'],'routeKey':_0x2f2eb7['routeKey']});case _0x1527bb['INGEST']:{let _0xa0687a;switch(_0x2f2eb7['data'][_0x178942(0x30e)]){case _0x85f3d2[_0x178942(0x294)][_0x178942(0x386)]:{_0xa0687a={'eventID':_0x85f3d2['CollaborationEvent'][_0x178942(0x386)],'updateCursorEvent':_0x2f2eb7[_0x178942(0x2e1)][_0x178942(0x2e1)]};break;}case _0x85f3d2[_0x178942(0x294)]['USERS_LEAVE']:{_0xa0687a={'eventID':_0x85f3d2[_0x178942(0x294)][_0x178942(0x3ae)],'leaveEvent':_0x2f2eb7[_0x178942(0x2e1)][_0x178942(0x2e1)]};break;}case _0x85f3d2[_0x178942(0x294)][_0x178942(0x192)]:{_0xa0687a={'eventID':_0x85f3d2[_0x178942(0x294)]['USERS_ENTER'],'joinEvent':_0x2f2eb7['data'][_0x178942(0x2e1)]};break;}case _0x85f3d2[_0x178942(0x294)][_0x178942(0x177)]:{_0xa0687a={'eventID':_0x85f3d2['CollaborationEvent'][_0x178942(0x177)],'liveShareNewHost':_0x2f2eb7[_0x178942(0x2e1)][_0x178942(0x2e1)]};break;}case _0x85f3d2[_0x178942(0x294)][_0x178942(0x355)]:{_0xa0687a={'eventID':_0x85f3d2[_0x178942(0x294)][_0x178942(0x355)],'liveShareOperation':_0x2f2eb7[_0x178942(0x2e1)][_0x178942(0x2e1)]};break;}case _0x85f3d2['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0xa0687a={'eventID':_0x85f3d2[_0x178942(0x294)][_0x178942(0x1ef)],'liveShareTerminate':_0x2f2eb7[_0x178942(0x2e1)][_0x178942(0x2e1)]};break;}case _0x85f3d2['CollaborationEvent'][_0x178942(0x121)]:{_0xa0687a={'eventID':_0x85f3d2[_0x178942(0x294)][_0x178942(0x121)],'liveShareRequestHost':_0x2f2eb7[_0x178942(0x2e1)]['data']};break;}case _0x85f3d2[_0x178942(0x294)]['LIVESHARE_FETCH_OPERATIONS']:{_0xa0687a={'eventID':_0x85f3d2[_0x178942(0x294)][_0x178942(0x2d9)]};break;}default:_0xa0687a={'eventID':_0x2f2eb7[_0x178942(0x2e1)][_0x178942(0x30e)]};}return JSON[_0x178942(0x8f)]({'cmd':_0x2f2eb7[_0x178942(0x25c)],'routeKey':_0x2f2eb7[_0x178942(0x3e0)],'collaMsg':_0xa0687a});}case _0x1527bb['JOIN']:return JSON['stringify']({'cmd':_0x2f2eb7[_0x178942(0x25c)],'routeKey':_0x2f2eb7[_0x178942(0x3e0)],'joinReq':_0x2f2eb7['data']});case _0x1527bb['LEAVE']:return JSON[_0x178942(0x8f)]({'cmd':_0x2f2eb7[_0x178942(0x25c)],'routeKey':_0x2f2eb7[_0x178942(0x3e0)],'leaveReq':_0x2f2eb7[_0x178942(0x2e1)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x2f64e8=Object['getOwnPropertyDescriptor'],_0x43f724=(_0x608451,_0x5a2188,_0x3aafa0,_0x1b2415)=>{var _0x48af51=_0x1d4b46;for(var _0x1b6d11=_0x1b2415>0x1?void 0x0:_0x1b2415?_0x2f64e8(_0x5a2188,_0x3aafa0):_0x5a2188,_0xb69769=_0x608451[_0x48af51(0x225)]-0x1,_0x107c4f;_0xb69769>=0x0;_0xb69769--)(_0x107c4f=_0x608451[_0xb69769])&&(_0x1b6d11=_0x107c4f(_0x1b6d11)||_0x1b6d11);return _0x1b6d11;},_0x4b17a9=(_0xf864d3,_0x3ca1a8)=>(_0x4ddb8b,_0x3fe5c8)=>_0x3ca1a8(_0x4ddb8b,_0x3fe5c8,_0xf864d3);const _0x1bd45f=_0x532776[_0x1d4b46(0xd9)](_0x1d4b46(0x306));function _0x28f656(_0x347804,_0x4c4c4e,_0x549ca3){var _0x179327=_0x1d4b46;return _0x347804+'/'+_0x4c4c4e+'/unit/'+_0x549ca3+_0x179327(0x3aa);}_0x1aec2f['CollaborationSocketService']=class extends _0x532776['Disposable']{constructor(_0x323dc7,_0x133d34,_0x4c3d4d,_0x14ecad,_0x4461a5){var _0x5aa817=_0x1d4b46;super(),this[_0x5aa817(0xb8)]=_0x323dc7,this['_httpService']=_0x133d34,this['_configService']=_0x4c3d4d,this[_0x5aa817(0xf7)]=_0x14ecad,this[_0x5aa817(0x98)]=_0x4461a5;}[_0x1d4b46(0x200)](_0x6c729d){var _0xc98d92=_0x1d4b46;const _0x13f847=this['_injector'][_0xc98d92(0x95)](_0x20209c['ISocketService']);if(!_0x13f847)throw new Error(_0xc98d92(0x1ee));const _0x4e95cc=_0x13f847[_0xc98d92(0x10f)](_0x6c729d);if(!_0x4e95cc)throw new Error(_0xc98d92(0x34e));const _0x342a13=new _0x532776['DisposableCollection'](),_0x1e1a56=new _0x14df21['Subject']();_0x342a13[_0xc98d92(0x2cc)](_0x4e95cc['close$'][_0xc98d92(0x394)](_0x1c5e50=>_0x1e1a56[_0xc98d92(0x2e4)](_0x1c5e50))),_0x342a13[_0xc98d92(0x2cc)](_0x532776[_0xc98d92(0xfe)](()=>_0x1e1a56['complete']()));const _0x54c12b=new _0x14df21[(_0xc98d92(0xeb))]();_0x342a13[_0xc98d92(0x2cc)](_0x4e95cc['error$'][_0xc98d92(0x394)](_0x307c93=>_0x54c12b[_0xc98d92(0x2e4)](_0x307c93))),_0x342a13[_0xc98d92(0x2cc)](_0x532776['toDisposable'](()=>_0x54c12b[_0xc98d92(0x167)]()));const _0xea194a=new _0x14df21[(_0xc98d92(0xeb))]();_0x342a13[_0xc98d92(0x2cc)](_0x4e95cc['message$'][_0xc98d92(0x394)](_0x110589=>{const _0x5b3605=_0x158047(_0x110589);_0xea194a['next'](_0x5b3605);})),_0x342a13[_0xc98d92(0x2cc)](_0x532776[_0xc98d92(0xfe)](()=>_0xea194a[_0xc98d92(0x167)]()));let _0x2f241a;const _0x346c3c=()=>{var _0x100389=_0xc98d92;_0x54c12b[_0x100389(0x2e4)](new Event('connection\x20error')),_0x1e1a56['next'](new Event(_0x100389(0x2bb))),_0x2f241a[_0x100389(0x112)]();};return _0x2f241a={'memberID':'','close$':_0x1e1a56[_0xc98d92(0x28c)](),'error$':_0x54c12b[_0xc98d92(0x28c)](),'open$':_0x4e95cc[_0xc98d92(0x114)],'message$':_0xea194a[_0xc98d92(0x28c)](),'send':_0x4e4a6e=>{var _0x39baf6=_0xc98d92;if(_0x4e4a6e['cmd']===_0x1527bb['INGEST']){if(_0x4e4a6e[_0x39baf6(0x2e1)][_0x39baf6(0x30e)]===_0x85f3d2[_0x39baf6(0x294)]['SUBMIT_CHANGESET']){this[_0x39baf6(0x3b0)](_0x2f241a,_0x4e4a6e[_0x39baf6(0x2e1)])[_0x39baf6(0x133)](_0xb518f=>{var _0x1bb2a9=_0x39baf6;this['_logService'][_0x1bb2a9(0x244)](_0xb518f),_0x346c3c();});return;}if(_0x4e4a6e[_0x39baf6(0x2e1)][_0x39baf6(0x30e)]===_0x85f3d2[_0x39baf6(0x294)][_0x39baf6(0x23b)]){const _0x2fe157=_0x4e4a6e[_0x39baf6(0x2e1)];this['_fetchMissChangesets'](_0x2fe157)[_0x39baf6(0x2e0)](_0x3f2a63=>{var _0x15c05a=_0x39baf6;_0xea194a[_0x15c05a(0x2e4)]({'cmd':_0x1527bb[_0x15c05a(0x87)],'code':_0x59cc42['OK'],'routeKey':_0x2fe157[_0x15c05a(0x2e1)][_0x15c05a(0x3cf)],'routeType':'','data':{'eventID':_0x85f3d2['CollaborationEvent'][_0x15c05a(0x256)],'data':{'changesets':_0x3f2a63}}});})['catch'](_0x5ab58a=>{var _0x59f2b8=_0x39baf6;this[_0x59f2b8(0xf7)][_0x59f2b8(0x244)](_0x5ab58a),_0x346c3c();});return;}}_0x4e95cc['send'](_0xb22317(_0x4e4a6e));},'close':()=>{var _0x2dbf46=_0xc98d92;_0x4e95cc[_0x2dbf46(0x112)](),_0x342a13['dispose']();}},_0x2f241a;}async[_0x1d4b46(0x3b0)](_0x31ecaa,_0x55cdf9){var _0x3d6fed=_0x1d4b46,_0x5a5770,_0x2453d3;const {unitType:_0x299566,unitID:_0x558b6a,changeset:_0x49192c}=_0x55cdf9[_0x3d6fed(0x2e1)],_0x56379f={'unitID':_0x558b6a,'memberID':_0x31ecaa[_0x3d6fed(0x11a)],'type':_0x299566,'changeset':_0x85f3d2[_0x3d6fed(0x324)](_0x49192c)},_0xd05f23=this[_0x3d6fed(0x144)][_0x3d6fed(0x390)](_0x4045ec),_0x77a91a=this[_0x3d6fed(0x144)]['getConfig'](_0x1105e7),_0x8fe25b=_0x28f656((_0x2453d3=(_0x5a5770=_0x77a91a==null?void 0x0:_0x77a91a[_0x3d6fed(0x3cd)])!=null?_0x5a5770:_0xd05f23)!=null?_0x2453d3:_0x1aa627,_0x299566,_0x558b6a);try{await this[_0x3d6fed(0x10e)]['post'](_0x8fe25b,{'body':_0x56379f});}catch(_0x23a138){throw this[_0x3d6fed(0xf7)][_0x3d6fed(0x244)]('[CollaborationSession]',_0x3d6fed(0xb4)),_0x23a138;}}async[_0x1d4b46(0x251)](_0x5c6d50){var _0x82db3f=_0x1d4b46;const {unitID:_0x2230ac,from:_0x42cb71,to:_0x1625a1,unitType:_0x265809}=_0x5c6d50[_0x82db3f(0x2e1)];return(await this[_0x82db3f(0x98)][_0x82db3f(0x1d5)]({'metadata':void 0x0},{'unitID':_0x2230ac,'type':_0x265809,'from':_0x42cb71,'to':_0x1625a1}))[_0x82db3f(0x139)];}},_0x1aec2f[_0x1d4b46(0x172)]=_0x43f724([_0x4b17a9(0x0,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x2c2)])),_0x4b17a9(0x1,_0x532776[_0x1d4b46(0xd1)](_0x20209c[_0x1d4b46(0x201)])),_0x4b17a9(0x2,_0x532776['IConfigService']),_0x4b17a9(0x3,_0x532776[_0x1d4b46(0x16e)]),_0x4b17a9(0x4,_0x85f3d2[_0x1d4b46(0x3a7)])],_0x1aec2f[_0x1d4b46(0x172)]);const _0x452c55=_0x1d4b46(0x3b6);function _0x9305b7(_0x2672ff){var _0x1f84c0=_0x1d4b46;return JSON[_0x1f84c0(0x8f)](_0x2672ff)['length'];}class _0x9dd589{constructor(){var _0x3d4b57=_0x1d4b46;_0x218999(this,_0x3d4b57(0x71),new _0x14df21[(_0x3d4b57(0xeb))]()),_0x218999(this,_0x3d4b57(0xc5),this['_commentUpdate$'][_0x3d4b57(0x28c)]());}['onCommentUpdate'](_0x50cabf){var _0x5be573=_0x1d4b46;this[_0x5be573(0x71)][_0x5be573(0x2e4)](_0x50cabf);}}var _0x280a83=Object[_0x1d4b46(0x3cc)],_0x13234a=(_0x3085d5,_0x3a49aa,_0x4f34d2,_0x3a9ef2)=>{var _0x72ac20=_0x1d4b46;for(var _0x107d1f=_0x3a9ef2>0x1?void 0x0:_0x3a9ef2?_0x280a83(_0x3a49aa,_0x4f34d2):_0x3a49aa,_0x4de520=_0x3085d5[_0x72ac20(0x225)]-0x1,_0x1abfb8;_0x4de520>=0x0;_0x4de520--)(_0x1abfb8=_0x3085d5[_0x4de520])&&(_0x107d1f=_0x1abfb8(_0x107d1f)||_0x107d1f);return _0x107d1f;},_0x447d3a=(_0x63e8d1,_0x109a53)=>(_0x2920bd,_0x116c22)=>_0x109a53(_0x2920bd,_0x116c22,_0x63e8d1);_0x1aec2f[_0x1d4b46(0x202)]=class extends _0x532776[_0x1d4b46(0x33c)]{constructor(_0x57827b,_0x9b5b9a){var _0x18e30f=_0x1d4b46;super(),_0x218999(this,'_roomMembers',new Map()),_0x218999(this,_0x18e30f(0x115),new _0x14df21[(_0x18e30f(0xeb))]()),(this[_0x18e30f(0x293)]=_0x57827b,this[_0x18e30f(0x1c3)]=_0x9b5b9a,this[_0x18e30f(0x242)](_0x14df21[_0x18e30f(0x27d)](this[_0x18e30f(0x293)][_0x18e30f(0x1c9)](_0x532776[_0x18e30f(0x211)][_0x18e30f(0x16a)])[_0x18e30f(0x1d8)](_0x3828c6['map'](_0x58b764=>_0x58b764[_0x18e30f(0xba)]())),this[_0x18e30f(0x293)][_0x18e30f(0x1c9)](_0x532776[_0x18e30f(0x211)][_0x18e30f(0x3b1)])[_0x18e30f(0x1d8)](_0x3828c6['map'](_0x7419f9=>_0x7419f9[_0x18e30f(0xba)]())),this[_0x18e30f(0x293)][_0x18e30f(0x1c9)](_0x532776[_0x18e30f(0x211)][_0x18e30f(0x1da)])['pipe'](_0x3828c6[_0x18e30f(0x1dd)](_0x4b15f3=>_0x4b15f3['getUnitId']())))[_0x18e30f(0x394)](_0x2ed724=>this[_0x18e30f(0x3d6)](_0x2ed724))));}[_0x1d4b46(0x33a)](_0x2a8f50){var _0x484462=_0x1d4b46;return this[_0x484462(0x1a4)]['has'](_0x2a8f50)?_0x14df21['of'](this[_0x484462(0x1a4)][_0x484462(0x95)](_0x2a8f50)):this[_0x484462(0x115)][_0x484462(0x1d8)](_0x3828c6[_0x484462(0x1dd)](_0x3440d9=>{var _0x970da8=_0x484462;if(_0x3440d9===_0x2a8f50)return this[_0x970da8(0x1a4)][_0x970da8(0x95)](_0x3440d9);}));}['setCurrentUser'](_0x34d1ac){var _0x18c95a=_0x1d4b46;this[_0x18c95a(0x1c3)]['setCurrentUser'](_0x34d1ac);}['getCurrentUser'](){return this['_userManagerService']['getCurrentUser']();}[_0x1d4b46(0x2dd)](_0x3c08d7,_0x4ef7e2){var _0x450c7a=_0x1d4b46;let _0x201e1c=this['_roomMembers'][_0x450c7a(0x95)](_0x3c08d7);_0x201e1c||(_0x201e1c=new _0x2c03fe(),this[_0x450c7a(0x1a4)][_0x450c7a(0x2be)](_0x3c08d7,_0x201e1c),this[_0x450c7a(0x115)][_0x450c7a(0x2e4)](_0x3c08d7)),_0x201e1c[_0x450c7a(0x2dd)](_0x4ef7e2);}[_0x1d4b46(0x1a0)](_0x3d4371,_0x482040){var _0x2e7f6d=_0x1d4b46;const _0x50fb47=this[_0x2e7f6d(0x1a4)][_0x2e7f6d(0x95)](_0x3d4371);_0x50fb47&&_0x50fb47['removeMember'](_0x482040);}[_0x1d4b46(0x2e8)](_0x3ae958){var _0x36961f=_0x1d4b46;return this[_0x36961f(0x1a4)][_0x36961f(0x95)](_0x3ae958);}[_0x1d4b46(0x74)](_0x2dae47,_0x5c4b6e){var _0x54f8d5=_0x1d4b46;const _0x2af8a5=this[_0x54f8d5(0x1a4)][_0x54f8d5(0x95)](_0x2dae47);if(_0x2af8a5)return _0x2af8a5['getMember'](_0x5c4b6e);}[_0x1d4b46(0x3d6)](_0x1eb89e){var _0x46e703=_0x1d4b46;const _0x1053b6=this[_0x46e703(0x1a4)][_0x46e703(0x95)](_0x1eb89e);_0x1053b6&&(_0x1053b6[_0x46e703(0x170)](),this['_roomMembers']['delete'](_0x1eb89e));}[_0x1d4b46(0x170)](){var _0xa0acbf=_0x1d4b46;this[_0xa0acbf(0x1a4)][_0xa0acbf(0x270)](_0x34cd8d=>_0x34cd8d[_0xa0acbf(0x170)]()),this[_0xa0acbf(0x1a4)][_0xa0acbf(0x1d1)](),this[_0xa0acbf(0x115)][_0xa0acbf(0x167)]();}},_0x1aec2f[_0x1d4b46(0x202)]=_0x13234a([_0x447d3a(0x0,_0x532776[_0x1d4b46(0x395)]),_0x447d3a(0x1,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x1e0)]))],_0x1aec2f['MemberService']);class _0x2c03fe extends _0x532776[_0x1d4b46(0x33c)]{constructor(){var _0x257982=_0x1d4b46;super(...arguments),_0x218999(this,_0x257982(0x226),new Map()),_0x218999(this,_0x257982(0x1eb),new _0x14df21['BehaviorSubject'](this['_members'])),_0x218999(this,_0x257982(0x187),this['_members$'][_0x257982(0x28c)]());}['dispose'](){var _0x226a0c=_0x1d4b46;this[_0x226a0c(0x226)][_0x226a0c(0x1d1)]();}[_0x1d4b46(0x2dd)](_0xf613ea){var _0x227f43=_0x1d4b46;this[_0x227f43(0x226)][_0x227f43(0x2be)](_0xf613ea[_0x227f43(0x11a)],_0xf613ea),this[_0x227f43(0x195)]();}['removeMember'](_0xe942e){var _0x17f324=_0x1d4b46;this[_0x17f324(0x226)]['delete'](_0xe942e);}[_0x1d4b46(0x74)](_0x491182){var _0x9045f1=_0x1d4b46;return this[_0x9045f1(0x226)]['get'](_0x491182);}[_0x1d4b46(0x37e)](){var _0x1eabdd=_0x1d4b46;return Array[_0x1eabdd(0x266)](this[_0x1eabdd(0x226)]['values']());}['_emitMembers'](){var _0x206efe=_0x1d4b46;this['_members$'][_0x206efe(0x2e4)](this['_members']);}}var _0x33ad14=Object[_0x1d4b46(0x3cc)],_0x2c05fe=(_0x3ba7e7,_0x46cbb6,_0x44e6df,_0xa332ca)=>{var _0x4440e1=_0x1d4b46;for(var _0x2407e2=_0xa332ca>0x1?void 0x0:_0xa332ca?_0x33ad14(_0x46cbb6,_0x44e6df):_0x46cbb6,_0x142b56=_0x3ba7e7[_0x4440e1(0x225)]-0x1,_0x5010ff;_0x142b56>=0x0;_0x142b56--)(_0x5010ff=_0x3ba7e7[_0x142b56])&&(_0x2407e2=_0x5010ff(_0x2407e2)||_0x2407e2);return _0x2407e2;},_0xf5db5c=(_0x3d7351,_0x40156b)=>(_0x322e5a,_0xaaf35d)=>_0x40156b(_0x322e5a,_0xaaf35d,_0x3d7351),_0x4a5234=(_0x70ca0a=>(_0x70ca0a[_0x70ca0a[_0x1d4b46(0x320)]=0x0]=_0x1d4b46(0x320),_0x70ca0a[_0x70ca0a[_0x1d4b46(0x376)]=0x1]='JOINING',_0x70ca0a[_0x70ca0a['OFFLINE']=0x2]=_0x1d4b46(0x273),_0x70ca0a[_0x70ca0a[_0x1d4b46(0x19f)]=0x3]=_0x1d4b46(0x19f),_0x70ca0a))(_0x4a5234||{});const _0x3cc89f={[_0x59cc42['FAIL']]:_0x1d4b46(0x362),[_0x59cc42[_0x1d4b46(0x326)]]:'session.room-full',[_0x59cc42[_0x1d4b46(0x2b1)]]:_0x1d4b46(0x3a5),[_0x59cc42[_0x1d4b46(0x269)]]:_0x1d4b46(0x2e9),[_0x59cc42['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x1d4b46(0x2a5)};_0x1aec2f[_0x1d4b46(0x118)]=class extends _0x532776[_0x1d4b46(0x69)]{constructor(_0x44e7f4,_0x14c807,_0x2dfb79,_0xf9f025,_0x2ffbd5,_0x420898,_0x47517f,_0x44fd62,_0x5c024f){var _0x198f85=_0x1d4b46;super(),_0x218999(this,_0x198f85(0x2a9),new _0x14df21[(_0x198f85(0x332))](0x0)),_0x218999(this,_0x198f85(0x38c),this['_sessionStatus$'][_0x198f85(0x28c)]()),_0x218999(this,_0x198f85(0x2da),new _0x14df21[(_0x198f85(0xeb))]()),_0x218999(this,_0x198f85(0x210),this[_0x198f85(0x2da)][_0x198f85(0x28c)]()),_0x218999(this,_0x198f85(0x23a)),_0x218999(this,_0x198f85(0x215)),_0x218999(this,_0x198f85(0x1cc)),_0x218999(this,_0x198f85(0x1a9),!0x1),_0x218999(this,'_telemetryInfo',null),(this['_unitID']=_0x44e7f4,this['_logService']=_0x2dfb79,this[_0x198f85(0x144)]=_0xf9f025,this['_localeService']=_0x2ffbd5,this['_memberService']=_0x420898,this[_0x198f85(0x1f8)]=_0x47517f,this[_0x198f85(0x352)]=_0x44fd62,this[_0x198f85(0x1fc)]=_0x5c024f,this['_shouldReportTelemetry']=!!this[_0x198f85(0x1fc)],_0x14c807[_0x198f85(0x1d8)](_0x14df21[_0x198f85(0x16d)](this[_0x198f85(0xf3)]))[_0x198f85(0x394)](_0xa083d5=>{var _0x4e346d=_0x198f85,_0x35fc39;typeof _0xa083d5>'u'||(this[_0x4e346d(0x23a)]=_0xa083d5,_0xa083d5?(this['_joinRoom'](_0xa083d5),this[_0x4e346d(0x215)]=_0xa083d5['message$'][_0x4e346d(0x394)](_0x3fb656=>{var _0x1e7a24=_0x4e346d;_0x3fb656[_0x1e7a24(0x3e0)]===this[_0x1e7a24(0x2b6)]&&this[_0x1e7a24(0x33e)](_0x3fb656);})):(this[_0x4e346d(0x358)](),this['_sessionStatus$'][_0x4e346d(0x2e4)](0x2),(_0x35fc39=this[_0x4e346d(0x215)])==null||_0x35fc39['unsubscribe'](),this[_0x4e346d(0x215)]=null));}));}get['sessionStatus'](){var _0x4fdabf=_0x1d4b46;return this['_sessionStatus$'][_0x4fdabf(0xcd)]();}[_0x1d4b46(0x10d)](){var _0x60269d,_0xa68e8b;return(_0xa68e8b=(_0x60269d=this['_socket'])==null?void 0x0:_0x60269d['memberID'])!=null?_0xa68e8b:null;}[_0x1d4b46(0x170)](){var _0x1c8095=_0x1d4b46;super[_0x1c8095(0x170)](),this['dispose$']['next'](),this[_0x1c8095(0xf3)][_0x1c8095(0x167)]();}['close'](){var _0x2da632=_0x1d4b46,_0x1ad188,_0x96bfd1;this[_0x2da632(0x358)](),(_0x1ad188=this['_socket'])==null||_0x1ad188['send']({'cmd':_0x1527bb[_0x2da632(0x38e)],'data':{'roomID':this[_0x2da632(0x2b6)]}}),(_0x96bfd1=this['_socket'])==null||_0x96bfd1['close'](),this[_0x2da632(0x2da)][_0x2da632(0x167)](),this['_sessionStatus$'][_0x2da632(0x167)](),this[_0x2da632(0x170)]();}['_onCombEvent'](_0x56a726){var _0x49f8b6=_0x1d4b46;_0x56a726[_0x49f8b6(0x25c)]===_0x1527bb['JOIN']?this[_0x49f8b6(0x29c)](_0x56a726):_0x56a726[_0x49f8b6(0x25c)]===_0x1527bb[_0x49f8b6(0x87)]&&this['_onRecvEvent'](_0x56a726);}[_0x1d4b46(0x224)](_0x2d20eb){var _0x38b7e7=_0x1d4b46;this[_0x38b7e7(0x2a9)][_0x38b7e7(0x2e4)](0x1),_0x2d20eb[_0x38b7e7(0x357)]({'cmd':_0x1527bb[_0x38b7e7(0x218)],'routeKey':this[_0x38b7e7(0x2b6)],'routeType':'','data':{'rooms':[{'roomID':this[_0x38b7e7(0x2b6)]}]}});}[_0x1d4b46(0x29c)](_0x892dc7){var _0x540410=_0x1d4b46,_0x2adb38;if(_0x892dc7[_0x540410(0x333)]in _0x3cc89f){this[_0x540410(0x352)][_0x540410(0x286)]({'id':_0x4975b1[_0x540410(0xa4)],'data':_0x3cc89f[_0x892dc7[_0x540410(0x333)]]}),this['_sessionStatus$'][_0x540410(0x2e4)](0x2);return;}this[_0x540410(0x2a9)][_0x540410(0x2e4)](0x3);const _0x746c05=(_0x2adb38=_0x892dc7[_0x540410(0x2e1)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x2adb38[_0x540410(0x159)];_0x746c05&&_0x746c05[_0x540410(0x270)](_0x2302a5=>this[_0x540410(0x258)][_0x540410(0x2dd)](this[_0x540410(0x2b6)],_0x2302a5));}[_0x1d4b46(0xc6)](_0x26ba2b){var _0x208c23=_0x1d4b46;try{const _0x119f15=_0x26ba2b[_0x208c23(0x2e1)];switch(_0x119f15[_0x208c23(0x30e)]){case _0x85f3d2['CollaborationEvent']['USERS_ENTER']:this['_onUserJoin'](_0x119f15),this['_event$']['next'](_0x119f15);break;case _0x85f3d2[_0x208c23(0x294)][_0x208c23(0x3ae)]:this[_0x208c23(0x189)](_0x119f15),this['_event$'][_0x208c23(0x2e4)](_0x119f15);break;case _0x85f3d2[_0x208c23(0x294)][_0x208c23(0x20b)]:case _0x85f3d2[_0x208c23(0x294)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x208c23(0x2e4)](_0x119f15);break;case _0x85f3d2[_0x208c23(0x294)][_0x208c23(0x3ba)]:this['_logService'][_0x208c23(0x244)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x208c23(0x8f)](_0x119f15)),this[_0x208c23(0x2da)]['next'](_0x119f15);break;case _0x85f3d2[_0x208c23(0x294)][_0x208c23(0x1b3)]:this[_0x208c23(0x1f8)][_0x208c23(0x3a4)](_0x119f15[_0x208c23(0x2e1)]),this[_0x208c23(0x2da)]['next'](_0x119f15);break;default:this['_event$']['next'](_0x119f15);}}catch(_0x1f52cd){this['_logService'][_0x208c23(0x244)](_0x1f52cd,_0x26ba2b);}}[_0x1d4b46(0x221)](_0x120db4){var _0x3ab8b7=_0x1d4b46;this['_memberService'][_0x3ab8b7(0x2dd)](this[_0x3ab8b7(0x2b6)],_0x120db4['data']);}[_0x1d4b46(0x189)](_0x2ad5f2){var _0x9c7736=_0x1d4b46;this[_0x9c7736(0x258)][_0x9c7736(0x1a0)](this['_unitID'],_0x2ad5f2[_0x9c7736(0x2e1)][_0x9c7736(0x11a)]);}async[_0x1d4b46(0x357)](_0x107ffa,_0x11b2f5){var _0xe0efba=_0x1d4b46;if(this[_0xe0efba(0x88)]!==0x3||!this['_socket'])throw new Error(_0xe0efba(0x37d));try{_0x107ffa[_0xe0efba(0x30e)]===_0x85f3d2[_0xe0efba(0x294)][_0xe0efba(0x2c8)]&&(this[_0xe0efba(0x15e)](),this[_0xe0efba(0x32d)](_0x107ffa)),this['_socket'][_0xe0efba(0x357)]({'cmd':_0x1527bb[_0xe0efba(0x3dd)],'routeKey':_0x11b2f5,'routeType':'','data':_0x107ffa});}catch(_0x373e19){this[_0xe0efba(0xf7)][_0xe0efba(0x244)](_0x373e19);}}['_scheduleCollaborationTimeoutTimer'](){var _0x1169c7=_0x1d4b46,_0x28ae60;this[_0x1169c7(0x1cc)]=setTimeout(()=>{var _0x535e96=_0x1169c7;this[_0x535e96(0x1cc)]=null,this['_collaborationUIEventService'][_0x535e96(0x286)]({'id':_0x4975b1[_0x535e96(0x1f6)]});},(_0x28ae60=this[_0x1169c7(0x144)][_0x1169c7(0x390)](_0x420035))!=null?_0x28ae60:0x4e20);}[_0x1d4b46(0x1e5)](){var _0x3fe739=_0x1d4b46;this[_0x3fe739(0x1cc)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x3fe739(0x1cc)]=null);}[_0x1d4b46(0x32d)](_0x53dea8){var _0x4c310b=_0x1d4b46;if(!this[_0x4c310b(0x1a9)])return;const {data:_0x47242f}=_0x53dea8,{unitID:_0x167ad4,changeset:_0x5cc77f}=_0x47242f,{mutations:_0x31c145,type:_0x28f385}=_0x5cc77f;this[_0x4c310b(0x99)]={'unitId':_0x167ad4,'type':_0x28f385,'startTime':performance[_0x4c310b(0x9b)](),'stopTime':0x0,'duration':0x0,'size':_0x9305b7(_0x31c145)};}[_0x1d4b46(0x27c)](){var _0x5a36cb=_0x1d4b46;if(this[_0x5a36cb(0x1a9)]){if(!this[_0x5a36cb(0x99)]){this[_0x5a36cb(0xf7)][_0x5a36cb(0x244)](_0x5a36cb(0x3b3),_0x5a36cb(0x2d4));return;}this['_telemetryInfo'][_0x5a36cb(0x7e)]=performance['now'](),this[_0x5a36cb(0x99)]['duration']=this[_0x5a36cb(0x99)][_0x5a36cb(0x7e)]-this['_telemetryInfo'][_0x5a36cb(0x35f)],this['_telemetryService'][_0x5a36cb(0x1d2)](_0x452c55,this[_0x5a36cb(0x99)]),this[_0x5a36cb(0x99)]=null;}}[_0x1d4b46(0x358)](){var _0x4904c7=_0x1d4b46;this[_0x4904c7(0x99)]=null;}},_0x1aec2f['CollaborationSession']=_0x2c05fe([_0xf5db5c(0x2,_0x532776['ILogService']),_0xf5db5c(0x3,_0x532776[_0x1d4b46(0x1e6)]),_0xf5db5c(0x4,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x97)])),_0xf5db5c(0x5,_0x532776[_0x1d4b46(0xd1)](_0x1aec2f[_0x1d4b46(0x202)])),_0xf5db5c(0x6,_0x532776[_0x1d4b46(0xd1)](_0x9dd589)),_0xf5db5c(0x7,_0x532776[_0x1d4b46(0xd1)](_0x4a5b95)),_0xf5db5c(0x8,_0x532776[_0x1d4b46(0x2d0)](_0x44f070[_0x1d4b46(0x13e)]))],_0x1aec2f[_0x1d4b46(0x118)]);var _0x44f536=Object[_0x1d4b46(0x3cc)],_0x4746b7=(_0x209745,_0x119a93,_0x54b739,_0x2efbf3)=>{var _0x5e6a05=_0x1d4b46;for(var _0x2704b7=_0x2efbf3>0x1?void 0x0:_0x2efbf3?_0x44f536(_0x119a93,_0x54b739):_0x119a93,_0x45c202=_0x209745[_0x5e6a05(0x225)]-0x1,_0x596331;_0x45c202>=0x0;_0x45c202--)(_0x596331=_0x209745[_0x45c202])&&(_0x2704b7=_0x596331(_0x2704b7)||_0x2704b7);return _0x2704b7;},_0x21732c=(_0x4cc54a,_0x308c33)=>(_0x5cb933,_0x5c6779)=>_0x308c33(_0x5cb933,_0x5c6779,_0x4cc54a);_0x1aec2f[_0x1d4b46(0x193)]=class extends _0x532776[_0x1d4b46(0x33c)]{constructor(_0x4adbeb,_0x693fe3,_0x9f514f,_0x427c50,_0x25f69c,_0x38e2d2){var _0x510255=_0x1d4b46;super(),_0x218999(this,_0x510255(0x31c),new _0x14df21[(_0x510255(0x332))](void 0x0)),_0x218999(this,_0x510255(0x2df),this[_0x510255(0x31c)]['asObservable']()),_0x218999(this,'_candidateSocket',null),_0x218999(this,_0x510255(0x12d),new Map()),_0x218999(this,_0x510255(0x147),new _0x14df21[(_0x510255(0x332))](_0x4a5234['IDLE'])),_0x218999(this,_0x510255(0x1a7),this['_status$']['asObservable']()),_0x218999(this,'_socketReady',!0x1),_0x218999(this,'_retryConnectingTimer'),_0x218999(this,_0x510255(0x32c),0x0),_0x218999(this,_0x510255(0x1ca)),_0x218999(this,'_timeoutTimer'),(this['_injector']=_0x4adbeb,this['_logService']=_0x693fe3,this[_0x510255(0x144)]=_0x9f514f,this['_socketService']=_0x427c50,this[_0x510255(0x352)]=_0x25f69c,this[_0x510255(0x1db)]=_0x38e2d2,this['_listenToNetworkCondition']());}get[_0x1d4b46(0x23a)](){var _0x46a2aa=_0x1d4b46;return this[_0x46a2aa(0x31c)][_0x46a2aa(0xcd)]();}[_0x1d4b46(0x108)](){var _0x1d520f=_0x1d4b46;this['_networkConditionService']&&this[_0x1d520f(0x242)](this[_0x1d520f(0x1db)][_0x1d520f(0x7b)][_0x1d520f(0x394)](_0x20b6ec=>{var _0x56caa0=_0x1d520f;_0x20b6ec&&!this[_0x56caa0(0x23a)]&&this[_0x56caa0(0x388)](),_0x20b6ec||this[_0x56caa0(0x11d)]();}));}[_0x1d4b46(0x170)](){var _0x2f465a=_0x1d4b46;super['dispose'](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x2f465a(0x12d)][_0x2f465a(0x270)](_0x54368f=>_0x54368f[_0x2f465a(0x170)]()),this[_0x2f465a(0x12d)][_0x2f465a(0x1d1)](),this[_0x2f465a(0x147)][_0x2f465a(0x167)]();}async[_0x1d4b46(0xc2)](_0x15371f){var _0x28d559=_0x1d4b46;if(this[_0x28d559(0x12d)]['has'](_0x15371f))return this[_0x28d559(0x12d)][_0x28d559(0x95)](_0x15371f);this[_0x28d559(0x285)]();const _0x21cc54=this['_injector']['createInstance'](_0x1aec2f[_0x28d559(0x118)],_0x15371f,this[_0x28d559(0x31c)][_0x28d559(0x28c)]());return this['_sessions'][_0x28d559(0x2be)](_0x15371f,_0x21cc54),_0x21cc54;}[_0x1d4b46(0x21e)](_0x5d908a){var _0x49bd45=_0x1d4b46,_0x285843;const _0x1f97cf=this[_0x49bd45(0x12d)][_0x49bd45(0x95)](_0x5d908a);_0x1f97cf&&(this[_0x49bd45(0x12d)][_0x49bd45(0x10a)](_0x5d908a),_0x1f97cf['close']()),this['_sessions'][_0x49bd45(0x65)]||(_0x285843=this[_0x49bd45(0x23a)])==null||_0x285843[_0x49bd45(0x112)]();}[_0x1d4b46(0x388)](){var _0x25c6f5=_0x1d4b46;this[_0x25c6f5(0x32c)]=0x0,this[_0x25c6f5(0xb0)](),this[_0x25c6f5(0x318)]();}[_0x1d4b46(0xb0)](){var _0x2e4d12=_0x1d4b46;this[_0x2e4d12(0xe3)]!=null&&(clearTimeout(this[_0x2e4d12(0xe3)]),this[_0x2e4d12(0xe3)]=null);}async['_createSocket'](){var _0x1d34b3=_0x1d4b46,_0x2d5b1a,_0x3b276b;const _0x4d544d=this[_0x1d34b3(0x144)][_0x1d34b3(0x390)](_0x4ccb15),_0x6dec2f=this[_0x1d34b3(0x144)][_0x1d34b3(0x390)](_0x1105e7),_0x514ed9=(_0x3b276b=(_0x2d5b1a=_0x6dec2f==null?void 0x0:_0x6dec2f[_0x1d34b3(0x1bc)])!=null?_0x2d5b1a:_0x4d544d)!=null?_0x3b276b:_0x23c5e1,_0x335881=await this['_socketService'][_0x1d34b3(0x10f)](_0x514ed9);return this[_0x1d34b3(0x1d4)]=_0x335881,_0x335881;}async[_0x1d4b46(0x285)](){var _0xa2ee15=_0x1d4b46,_0x3ee2a6,_0x595532;try{const _0x1b46f0=(_0x595532=(_0x3ee2a6=this[_0xa2ee15(0x23a)])!=null?_0x3ee2a6:this[_0xa2ee15(0x1d4)])!=null?_0x595532:await this['_createSocket']();if(_0x1b46f0){const _0x979ef1=_0x1b46f0[_0xa2ee15(0x357)];_0x1b46f0[_0xa2ee15(0x357)]=_0x150d65=>(this[_0xa2ee15(0x229)](),_0x979ef1[_0xa2ee15(0xcb)](_0x1b46f0,[_0x150d65])),_0x1b46f0[_0xa2ee15(0x24b)][_0xa2ee15(0x394)](_0x3922f9=>this[_0xa2ee15(0xbc)](_0x1b46f0,_0x3922f9)),_0x1b46f0['error$'][_0xa2ee15(0x1d8)](_0x3828c6[_0xa2ee15(0x33f)](0x1))[_0xa2ee15(0x394)](_0x2b28ed=>this['_logService'][_0xa2ee15(0x244)]('[CollaborationSessionService]:\x20socket\x20error',_0x2b28ed)),_0x1b46f0['open$'][_0xa2ee15(0x1d8)](_0x3828c6['take'](0x1))['subscribe'](()=>{var _0x16539a=_0xa2ee15;this[_0x16539a(0x132)](_0x1b46f0);}),_0x1b46f0['close$']['pipe'](_0x3828c6[_0xa2ee15(0x33f)](0x1))[_0xa2ee15(0x394)](_0x4d62f5=>{var _0xd2fc04=_0xa2ee15;this[_0xd2fc04(0xf7)][_0xd2fc04(0x252)](_0xd2fc04(0x279),_0xd2fc04(0x2a8),_0x4d62f5),this[_0xd2fc04(0x297)]();});}}catch(_0x50a54a){this['_logService'][_0xa2ee15(0x244)](_0x50a54a),this[_0xa2ee15(0x297)]();}}[_0x1d4b46(0x132)](_0x50c347){var _0x5e41a0=_0x1d4b46;this['_logService'][_0x5e41a0(0x252)](_0x5e41a0(0x279),'socket\x20open.'),_0x50c347[_0x5e41a0(0x357)]({'cmd':_0x1527bb[_0x5e41a0(0x190)]}),this[_0x5e41a0(0x229)]();}[_0x1d4b46(0x11d)](){var _0x49aaa0=_0x1d4b46;this[_0x49aaa0(0xdd)]=!0x1,this[_0x49aaa0(0x1d4)]=null,this['_status$'][_0x49aaa0(0x2e4)](_0x4a5234[_0x49aaa0(0x273)]),this[_0x49aaa0(0x31c)]['next'](null),this['_clearTimeoutTimer'](),this[_0x49aaa0(0x2fd)]();}['_onConnectionFailed'](){var _0x279c66=_0x1d4b46,_0x3abc96;this[_0x279c66(0x11d)](),this[_0x279c66(0x32c)]<((_0x3abc96=this[_0x279c66(0x144)][_0x279c66(0x390)](_0x3c2384))!=null?_0x3abc96:0x3)?(this['_collaborationUIEventService'][_0x279c66(0x286)]({'id':_0x4975b1[_0x279c66(0x143)]}),this[_0x279c66(0x318)]()):this[_0x279c66(0x352)][_0x279c66(0x286)]({'id':_0x4975b1[_0x279c66(0x3ac)]});}[_0x1d4b46(0x318)](){var _0x31e737=_0x1d4b46,_0x39b360;const _0x3f65bd=this[_0x31e737(0x32c)],_0x1f00f1=this[_0x31e737(0x144)][_0x31e737(0x390)](_0x1105e7),_0x4df4c7=_0x3f65bd===0x0?0x0:((_0x39b360=_0x1f00f1==null?void 0x0:_0x1f00f1[_0x31e737(0x158)])!=null?_0x39b360:0x4e20)*0x2**_0x3f65bd;this[_0x31e737(0xe3)]=setTimeout(()=>{var _0x129329=_0x31e737;clearTimeout(this[_0x129329(0xe3)]),this['_retryConnectingTimer']=null,this[_0x129329(0x285)]();},_0x4df4c7),this[_0x31e737(0x32c)]+=0x1;}[_0x1d4b46(0xbc)](_0x2a1aa5,_0x561c45){var _0x15a609=_0x1d4b46;const {cmd:_0x311169}=_0x561c45;_0x311169===_0x1527bb[_0x15a609(0x190)]&&!this[_0x15a609(0xdd)]&&(_0x2a1aa5['memberID']=_0x561c45[_0x15a609(0x2e1)][_0x15a609(0x11a)],this[_0x15a609(0x31c)][_0x15a609(0x2e4)](_0x2a1aa5),this[_0x15a609(0x147)]['next'](_0x4a5234[_0x15a609(0x19f)]),this[_0x15a609(0xdd)]=!0x0,this[_0x15a609(0x1d4)]=null),_0x311169===_0x1527bb['HEARTBEAT']&&this[_0x15a609(0x182)](),this[_0x15a609(0x229)]();}[_0x1d4b46(0x229)](){var _0x1b957d=_0x1d4b46,_0x1c6bd4;this[_0x1b957d(0x2fd)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x1b957d(0x282)](),(_0x1c6bd4=this['_configService'][_0x1b957d(0x390)](_0x3dc0cb))!=null?_0x1c6bd4:0x7530);}[_0x1d4b46(0x282)](){var _0x39fdff=_0x1d4b46;this[_0x39fdff(0x23a)]['send']({'cmd':_0x1527bb[_0x39fdff(0x290)]}),this[_0x39fdff(0xf8)]();}[_0x1d4b46(0xf8)](){var _0x3a5060=_0x1d4b46,_0x253609;this[_0x3a5060(0x378)]=setTimeout(()=>this[_0x3a5060(0x297)](),(_0x253609=this[_0x3a5060(0x144)]['getConfig'](_0x420035))!=null?_0x253609:0x4e20);}[_0x1d4b46(0x2fd)](){var _0x52bedf=_0x1d4b46;this[_0x52bedf(0x1ca)]!=null&&(clearTimeout(this[_0x52bedf(0x1ca)]),this[_0x52bedf(0x1ca)]=null);}[_0x1d4b46(0x182)](){var _0x1a222b=_0x1d4b46;this[_0x1a222b(0x378)]!=null&&(clearTimeout(this[_0x1a222b(0x378)]),this[_0x1a222b(0x378)]=null);}},_0x1aec2f[_0x1d4b46(0x193)]=_0x4746b7([_0x21732c(0x0,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x2c2)])),_0x21732c(0x1,_0x532776['ILogService']),_0x21732c(0x2,_0x532776[_0x1d4b46(0x1e6)]),_0x21732c(0x3,_0x1bd45f),_0x21732c(0x4,_0x532776['Inject'](_0x4a5b95)),_0x21732c(0x5,_0x532776['Optional'](_0x27c611))],_0x1aec2f[_0x1d4b46(0x193)]);const _0xaff8d4=[];for(let _0x3cb910=0x0;_0x3cb910<0x100;++_0x3cb910)_0xaff8d4['push']((_0x3cb910+0x100)[_0x1d4b46(0xb1)](0x10)['slice'](0x1));function _0x1fdf2b(_0x496c32,_0x423d46=0x0){return(_0xaff8d4[_0x496c32[_0x423d46+0x0]]+_0xaff8d4[_0x496c32[_0x423d46+0x1]]+_0xaff8d4[_0x496c32[_0x423d46+0x2]]+_0xaff8d4[_0x496c32[_0x423d46+0x3]]+'-'+_0xaff8d4[_0x496c32[_0x423d46+0x4]]+_0xaff8d4[_0x496c32[_0x423d46+0x5]]+'-'+_0xaff8d4[_0x496c32[_0x423d46+0x6]]+_0xaff8d4[_0x496c32[_0x423d46+0x7]]+'-'+_0xaff8d4[_0x496c32[_0x423d46+0x8]]+_0xaff8d4[_0x496c32[_0x423d46+0x9]]+'-'+_0xaff8d4[_0x496c32[_0x423d46+0xa]]+_0xaff8d4[_0x496c32[_0x423d46+0xb]]+_0xaff8d4[_0x496c32[_0x423d46+0xc]]+_0xaff8d4[_0x496c32[_0x423d46+0xd]]+_0xaff8d4[_0x496c32[_0x423d46+0xe]]+_0xaff8d4[_0x496c32[_0x423d46+0xf]])['toLowerCase']();}let _0x508648;const _0x1a8334=new Uint8Array(0x10);function _0x5e1ed1(){var _0x1850b7=_0x1d4b46;if(!_0x508648){if(typeof crypto>'u'||!crypto[_0x1850b7(0x92)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x508648=crypto[_0x1850b7(0x92)][_0x1850b7(0x245)](crypto);}return _0x508648(_0x1a8334);}const _0xa67c65={'randomUUID':typeof crypto<'u'&&crypto[_0x1d4b46(0x247)]&&crypto[_0x1d4b46(0x247)][_0x1d4b46(0x245)](crypto)};function _0x58dd7d(_0x37cd83,_0x18633b,_0x228286){var _0x154697=_0x1d4b46,_0x54b65e,_0x178fc6,_0x4ff634;if(_0xa67c65[_0x154697(0x247)]&&!_0x37cd83)return _0xa67c65[_0x154697(0x247)]();_0x37cd83=_0x37cd83||{};const _0x1ff3e0=(_0x4ff634=(_0x178fc6=_0x37cd83[_0x154697(0x1b8)])!=null?_0x178fc6:(_0x54b65e=_0x37cd83[_0x154697(0x284)])==null?void 0x0:_0x54b65e['call'](_0x37cd83))!=null?_0x4ff634:_0x5e1ed1();if(_0x1ff3e0[_0x154697(0x225)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x1ff3e0[0x6]=_0x1ff3e0[0x6]&0xf|0x40,_0x1ff3e0[0x8]=_0x1ff3e0[0x8]&0x3f|0x80,_0x1fdf2b(_0x1ff3e0);}const _0x1d8499=_0x532776[_0x1d4b46(0xd9)](_0x1d4b46(0x220));function _0x2efc97(_0x41f244){var _0x59e925=_0x1d4b46;return _0x59e925(0x2d7)+_0x41f244;}var _0x4ac668=Object['getOwnPropertyDescriptor'],_0x21a720=(_0x5145e9,_0x323ecd,_0x5bbb38,_0x4933be)=>{var _0x45c8d6=_0x1d4b46;for(var _0x2b0f9b=_0x4933be>0x1?void 0x0:_0x4933be?_0x4ac668(_0x323ecd,_0x5bbb38):_0x323ecd,_0x36e442=_0x5145e9[_0x45c8d6(0x225)]-0x1,_0x4fbab0;_0x36e442>=0x0;_0x36e442--)(_0x4fbab0=_0x5145e9[_0x36e442])&&(_0x2b0f9b=_0x4fbab0(_0x2b0f9b)||_0x2b0f9b);return _0x2b0f9b;},_0x7b4798=(_0x336ca0,_0x5a301a)=>(_0x413887,_0x67f910)=>_0x5a301a(_0x413887,_0x67f910,_0x336ca0);function _0x23060a(_0x1be0bb){var _0x3a434c=_0x1d4b46;const {unitID:_0x424d2e,mutations:_0x50bfe2}=_0x1be0bb;return{'unitId':_0x424d2e,'subUnitId':_0x50bfe2[0x0][_0x3a434c(0x123)][_0x3a434c(0x2f1)]};}_0x1aec2f[_0x1d4b46(0x331)]=class{constructor(_0x4d3603,_0x5d6482,_0x49097e){var _0x31949d=_0x1d4b46;this[_0x31949d(0xb8)]=_0x4d3603,this[_0x31949d(0x305)]=_0x5d6482,this[_0x31949d(0x1b6)]=_0x49097e;}[_0x1d4b46(0x2a3)](_0x1c145e){var _0x44cd45=_0x1d4b46,_0x287279,_0x21c847,_0x164f7e,_0x2c6d9a;const _0x41b8b3=this[_0x44cd45(0xb8)]['get'](_0x25228d[_0x44cd45(0x8e)]),{unitId:_0x18ad29,subUnitId:_0x501879}=_0x23060a(_0x1c145e),_0x54cb2e=_0x41b8b3==null?void 0x0:_0x41b8b3[_0x44cd45(0x140)](_0x18ad29)[_0x44cd45(0x36d)](),_0x2eabbf=(_0x21c847=(_0x287279=this['_instanceService'][_0x44cd45(0x304)](_0x18ad29))==null?void 0x0:_0x287279['getActiveSheet']())==null?void 0x0:_0x21c847['getSheetId']();if(_0x54cb2e[_0x44cd45(0x225)]===0x0||!_0x18ad29||!_0x501879)return;const _0x389843=[{'id':_0x25228d[_0x44cd45(0x184)]['id'],'params':{'unitId':_0x18ad29,'subUnitId':_0x2eabbf,'selections':_0x532776[_0x44cd45(0x36c)][_0x44cd45(0x243)](_0x54cb2e)}}],_0x10f258=this[_0x44cd45(0x305)]['transformMutationsWithChangeset'](_0x1c145e,_0x389843);if(!_0x85f3d2['isTransformMutationsWithChangesetSuccess'](_0x10f258))throw _0x10f258[_0x44cd45(0x244)];const _0x1f6c12=(_0x2c6d9a=(_0x164f7e=_0x10f258[_0x44cd45(0x1e8)][0x0])==null?void 0x0:_0x164f7e['params'])==null?void 0x0:_0x2c6d9a[_0x44cd45(0x130)];if(Array['isArray'](_0x1f6c12)&&_0x1f6c12[_0x44cd45(0x225)]){if(_0x1f6c12[_0x44cd45(0x225)]===_0x389843[0x0]['params'][_0x44cd45(0x130)][_0x44cd45(0x225)]&&_0x1f6c12['every']((_0x50817b,_0x50d152)=>_0x532776[_0x44cd45(0x162)][_0x44cd45(0x262)](_0x50817b[_0x44cd45(0x26a)],_0x389843[0x0]['params'][_0x44cd45(0x130)][_0x50d152]['range'])))return;this[_0x44cd45(0xb8)][_0x44cd45(0x95)](_0x532776['ICommandService'])[_0x44cd45(0x196)](_0x25228d['SetSelectionsOperation']['id'],{'unitId':_0x18ad29,'subUnitId':_0x2eabbf,'selections':_0x1f6c12});}}},_0x1aec2f[_0x1d4b46(0x331)]=_0x21a720([_0x7b4798(0x0,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x2c2)])),_0x7b4798(0x1,_0x85f3d2[_0x1d4b46(0x136)]),_0x7b4798(0x2,_0x532776[_0x1d4b46(0x395)])],_0x1aec2f['SheetTransformSelectionsService']);const _0x5486b6=_0x532776['createIdentifier'](_0x1d4b46(0x37f));var _0x1ee0e4=(_0x31ea79=>(_0x31ea79[_0x31ea79['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x1d4b46(0x2fb),_0x31ea79[_0x31ea79[_0x1d4b46(0x2ce)]=0x1]=_0x1d4b46(0x2ce),_0x31ea79))(_0x1ee0e4||{});const _0x44341b=new Set([_0x25228d[_0x1d4b46(0xe8)]['id']]);function _0x4f3730(_0x2adfac,_0x42c249,_0xbe8777,_0x523fd6,_0x23ba6b){var _0x32854f=_0x1d4b46,_0x33e46c,_0x34ba6b,_0x37f882,_0x2f6ac4;const _0xe34588=[];for(const _0x21d445 of _0x2adfac)if(_0x44341b[_0x32854f(0x1ff)](_0x21d445['id'])){if(_0xe34588['length']>0x0)break;_0xe34588['push'](_0x21d445);break;}else _0xe34588[_0x32854f(0x2d1)](_0x21d445);const _0x2bb3f2=(_0x34ba6b=(_0x33e46c=_0x23ba6b[_0x32854f(0x265)]())==null?void 0x0:_0x33e46c['userID'])!=null?_0x34ba6b:_0x32854f(0x389),_0x5bc4db=(_0x2f6ac4=(_0x37f882=_0x23ba6b[_0x32854f(0x265)]())==null?void 0x0:_0x37f882[_0x32854f(0x11a)])!=null?_0x2f6ac4:_0x32854f(0x389);return{'changeset':{'unitID':_0x42c249,'type':_0x85f3d2[_0x32854f(0x354)](_0xbe8777['getUnitType'](_0x42c249)),'baseRev':_0x523fd6[_0x32854f(0x350)](_0x42c249),'revision':0x0,'userID':_0x2bb3f2,'memberID':_0x5bc4db,'mutations':_0xe34588},'pendingMutations':_0x2adfac['slice'](_0xe34588['length'])};}function _0x404793(_0x3ea0b6,_0x5298a6,_0x38299e,_0x5c2e27,_0xd00cde){var _0x394884=_0x1d4b46,_0x37cb7b,_0x277e97,_0x9cca09,_0x3c1d82;const _0x1c71f5=[_0x3ea0b6[_0x394884(0x2fa)]((_0x5d17ff,_0x150c05)=>{var _0x8f0029=_0x394884,_0x1645fb;const {id:_0x21b758}=_0x5d17ff,{id:_0x1f9bf8,type:_0x310984}=_0x150c05,_0x2ff481=(_0x1645fb=_0x5d17ff[_0x8f0029(0x123)])!=null?_0x1645fb:{'actions':null},_0x34632e=_0x150c05[_0x8f0029(0x123)];if(_0x21b758&&_0x21b758!==_0x1f9bf8)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x21b758+_0x8f0029(0x25b)+_0x1f9bf8+'.');return{..._0x5d17ff,'id':_0x1f9bf8,'type':_0x310984,'params':{'unitId':_0x34632e[_0x8f0029(0x3c4)],'textRanges':_0x34632e[_0x8f0029(0x146)],'actions':_0x532776[_0x8f0029(0xd5)][_0x8f0029(0x1b4)](_0x2ff481[_0x8f0029(0x338)],_0x34632e[_0x8f0029(0x338)])}};},{})],_0x2b29c2=(_0x277e97=(_0x37cb7b=_0xd00cde[_0x394884(0x265)]())==null?void 0x0:_0x37cb7b[_0x394884(0x2b2)])!=null?_0x277e97:_0x394884(0x389),_0x2d09a0=(_0x3c1d82=(_0x9cca09=_0xd00cde['getCurrentUser']())==null?void 0x0:_0x9cca09['memberID'])!=null?_0x3c1d82:'unknown';return{'changeset':{'unitID':_0x5298a6,'type':_0x85f3d2['mapDocumentTypeToUniverType'](_0x38299e['getUnitType'](_0x5298a6)),'baseRev':_0x5c2e27[_0x394884(0x350)](_0x5298a6),'revision':0x0,'userID':_0x2b29c2,'memberID':_0x2d09a0,'mutations':_0x1c71f5},'pendingMutations':[]};}function _0x2130dd(_0x421e74,_0x506b5a){var _0x3838c4=_0x1d4b46;const _0x4a4baf=new _0x14df21['ReplaySubject'](0x1);return setTimeout(()=>_0x4a4baf['next'](_0x506b5a),_0x421e74),_0x4a4baf[_0x3838c4(0x28c)]()[_0x3838c4(0x1d8)](_0x14df21['take'](0x1));}const _0x44a582={'id':_0x25228d[_0x1d4b46(0x169)]['id'],'type':_0x532776[_0x1d4b46(0x3c1)][_0x1d4b46(0x12c)],'params':{}};var _0x52c0b8=Object[_0x1d4b46(0x3cc)],_0x2fa9fd=(_0x10226d,_0x534a9a,_0x4a7edf,_0x172d85)=>{var _0x3ad892=_0x1d4b46;for(var _0x424354=_0x172d85>0x1?void 0x0:_0x172d85?_0x52c0b8(_0x534a9a,_0x4a7edf):_0x534a9a,_0x5b948b=_0x10226d[_0x3ad892(0x225)]-0x1,_0x196c6c;_0x5b948b>=0x0;_0x5b948b--)(_0x196c6c=_0x10226d[_0x5b948b])&&(_0x424354=_0x196c6c(_0x424354)||_0x424354);return _0x424354;},_0xce0bcd=(_0x3acf8d,_0x2d8488)=>(_0x106d4f,_0x57e4fe)=>_0x2d8488(_0x106d4f,_0x57e4fe,_0x3acf8d),_0x44cd2d=(_0xca3fb7=>(_0xca3fb7[_0x1d4b46(0xa8)]=_0x1d4b46(0x1b1),_0xca3fb7[_0x1d4b46(0x2b0)]=_0x1d4b46(0xbb),_0xca3fb7[_0x1d4b46(0x271)]=_0x1d4b46(0x1ac),_0xca3fb7[_0x1d4b46(0xec)]=_0x1d4b46(0x280),_0xca3fb7[_0x1d4b46(0x1e3)]='awaiting_with_pending',_0xca3fb7[_0x1d4b46(0x250)]=_0x1d4b46(0x2dc),_0xca3fb7[_0x1d4b46(0x3b9)]=_0x1d4b46(0xab),_0xca3fb7[_0x1d4b46(0x273)]=_0x1d4b46(0x6b),_0xca3fb7))(_0x44cd2d||{});const _0x1c4920=0xea60;class _0x42ef11{constructor(_0x35a495,_0x21a8d8,_0x4ac459,_0x44d046,_0x4a11c2,_0x5e5570,_0x2ba151,_0x1d06ff,_0x416444){var _0x1f0ca7=_0x1d4b46;_0x218999(this,'_awaitingChangeset',null),_0x218999(this,_0x1f0ca7(0x8b),[]),(this[_0x1f0ca7(0x3cf)]=_0x35a495,this[_0x1f0ca7(0x3c7)]=_0x21a8d8,this[_0x1f0ca7(0x22d)]=_0x4a11c2,this[_0x1f0ca7(0x365)]=_0x5e5570,this[_0x1f0ca7(0x10c)]=_0x2ba151,this[_0x1f0ca7(0x117)]=_0x1d06ff,this[_0x1f0ca7(0x36b)]=_0x416444,this[_0x1f0ca7(0x278)]=_0x4ac459,this[_0x1f0ca7(0x8b)]=_0x44d046);}['_checkMissing'](_0x2e2ae5){var _0x1ec366=_0x1d4b46;const _0x478558=this['_revisionService'][_0x1ec366(0x350)](this[_0x1ec366(0x3cf)]);return _0x2e2ae5['revision']>_0x478558+0x1?(this[_0x1ec366(0x22d)]['onMissingChangesets']({'from':_0x478558,'to':_0x2e2ae5[_0x1ec366(0x364)]-0x1}),!0x0):!0x1;}[_0x1d4b46(0x385)](_0x359c2c){var _0x459468=_0x1d4b46;this['_undoRedoService'][_0x459468(0x127)](this[_0x459468(0x3cf)],_0x359c2c);}[_0x1d4b46(0x102)](_0x3bb20f){var _0x18c440,_0x488f98;(_0x488f98=(_0x18c440=this['_handler'])['onTransformSelections'])==null||_0x488f98['call'](_0x18c440,_0x3bb20f);}[_0x1d4b46(0x399)](_0x1f6e9c){var _0x5be02f=_0x1d4b46,_0x7cd30f,_0x3492ab;return(_0x3492ab=(_0x7cd30f=this[_0x5be02f(0x22d)])[_0x5be02f(0x1f2)])==null?void 0x0:_0x3492ab[_0x5be02f(0x387)](_0x7cd30f,_0x1f6e9c);}[_0x1d4b46(0x241)](_0x2a267f){var _0x1c5cf0=_0x1d4b46,_0x1cdcee,_0x48bbba;return(_0x48bbba=(_0x1cdcee=this[_0x1c5cf0(0x22d)])[_0x1c5cf0(0x7f)])==null?void 0x0:_0x48bbba[_0x1c5cf0(0x387)](_0x1cdcee,_0x2a267f);}[_0x1d4b46(0x360)](_0x270871){var _0x4b397e=_0x1d4b46,_0x419311,_0x350447,_0x596c08;return(_0x596c08=(_0x350447=(_0x419311=this['_handler'])[_0x4b397e(0x32b)])==null?void 0x0:_0x350447[_0x4b397e(0x387)](_0x419311,_0x270871))!=null?_0x596c08:_0x270871;}[_0x1d4b46(0x321)](_0x283e5a){var _0x3ad815=_0x1d4b46,_0x581dbf,_0x55263c,_0x4032b7;return(_0x4032b7=(_0x55263c=(_0x581dbf=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x55263c[_0x3ad815(0x387)](_0x581dbf,_0x283e5a))!=null?_0x4032b7:_0x283e5a;}['_syncEditingCollabCursor'](_0x3635af){var _0x2a1f2f=_0x1d4b46,_0x519064,_0x1b62a9;if(this[_0x2a1f2f(0x3c7)]===_0x49bbf8[_0x2a1f2f(0x3b1)]){const {unitID:_0x62ee25,mutations:_0x2a0885,memberID:_0x112bad}=_0x3635af,_0xba6714=_0x2a0885[0x0][_0x2a1f2f(0x123)][_0x2a1f2f(0x146)];Array[_0x2a1f2f(0xf1)](_0xba6714)&&_0xba6714[_0x2a1f2f(0x225)]>0x0&&((_0x1b62a9=(_0x519064=this[_0x2a1f2f(0x22d)])[_0x2a1f2f(0x20e)])==null||_0x1b62a9['call'](_0x519064,{'unitID':_0x62ee25,'memberID':_0x112bad,'textRanges':_0xba6714}));}}['_updateLocalCache'](){var _0x4d7dd5=_0x1d4b46,_0x5479a6;(_0x5479a6=this[_0x4d7dd5(0x36b)])==null||_0x5479a6[_0x4d7dd5(0x154)](this[_0x4d7dd5(0x3cf)],this['type'],this[_0x4d7dd5(0x278)],this[_0x4d7dd5(0x8b)]);}[_0x1d4b46(0x337)](){var _0x3d3463=_0x1d4b46;return this[_0x3d3463(0x117)][_0x3d3463(0x350)](this[_0x3d3463(0x3cf)]);}[_0x1d4b46(0x2c4)](){var _0x1b3c20=_0x1d4b46;this[_0x1b3c20(0x117)][_0x1b3c20(0x67)](this[_0x1b3c20(0x3cf)]);}[_0x1d4b46(0x2d8)](_0x527986){var _0x99f620=_0x1d4b46,_0x196e9f;let _0x3a5b9d=this[_0x99f620(0x360)](_0x527986);_0x3a5b9d=this[_0x99f620(0x321)](_0x3a5b9d);const _0x5df0f7=_0x532776[_0x99f620(0x1c5)](_0x3a5b9d['mutations'],this[_0x99f620(0x365)],{'fromCollab':!0x0});if(!_0x5df0f7[_0x99f620(0x35d)])throw _0x5df0f7[_0x99f620(0x244)]instanceof Error?_0x5df0f7[_0x99f620(0x244)]:new Error((_0x196e9f=_0x5df0f7[_0x99f620(0x244)])!=null?_0x196e9f:_0x99f620(0x217));this[_0x99f620(0x399)](_0x3a5b9d),this[_0x99f620(0x241)](_0x3a5b9d),this[_0x99f620(0x385)](_0x527986),this[_0x99f620(0x102)](_0x3a5b9d),this[_0x99f620(0x19b)](_0x3a5b9d),this[_0x99f620(0x2c4)]();}}_0x1aec2f['SyncedState']=class extends _0x42ef11{constructor(_0x4bd696,_0x39f41e,_0xad1267,_0x5a9af2,_0x4f332e,_0x4b0325,_0x54e6d1,_0x48fa8c,_0x387792,_0x2aa298){var _0x45bbb8=_0x1d4b46;super(_0x4bd696,_0x39f41e,null,[],_0xad1267,_0x54e6d1,_0x4b0325,_0x5a9af2,_0x2aa298),_0x218999(this,_0x45bbb8(0x28f),_0x45bbb8(0xbb)),(this[_0x45bbb8(0xb8)]=_0x4f332e,this[_0x45bbb8(0xf7)]=_0x48fa8c,this[_0x45bbb8(0x305)]=_0x387792,this[_0x45bbb8(0x89)]=_0x2aa298);}[_0x1d4b46(0xc0)](_0x26960e){var _0x287c3b=_0x1d4b46;const _0x2e7ad2=this['_injector']['createInstance'](_0x1aec2f[_0x287c3b(0x2b8)],this[_0x287c3b(0x3cf)],this[_0x287c3b(0x3c7)],[_0x26960e],this[_0x287c3b(0x22d)]);return _0x2e7ad2['_schedule'](),_0x2e7ad2[_0x287c3b(0x274)](),_0x2e7ad2;}['onRemoteChangeset'](_0x10210d){var _0x434409=_0x1d4b46;if(this[_0x434409(0x289)](_0x10210d))return this[_0x434409(0xb8)][_0x434409(0x1aa)](_0x1aec2f[_0x434409(0x39e)],this[_0x434409(0x3cf)],this[_0x434409(0x3c7)],null,[],null,[_0x10210d],this[_0x434409(0x22d)]);try{const _0x221496=this[_0x434409(0x305)][_0x434409(0xfa)](_0x10210d,[_0x44a582]);if(_0x85f3d2[_0x434409(0x183)](_0x221496)){const {c1Prime:_0x16bc83}=_0x221496;return this[_0x434409(0x2d8)](_0x16bc83),this;}throw _0x221496[_0x434409(0x244)];}catch(_0x3cfe7f){return this[_0x434409(0xf7)][_0x434409(0x244)](_0x3cfe7f),this[_0x434409(0x113)](!0x1);}}[_0x1d4b46(0x113)](_0x1e87b7){var _0x4802b3=_0x1d4b46;return this[_0x4802b3(0xb8)][_0x4802b3(0x1aa)](_0x1aec2f[_0x4802b3(0x70)],this[_0x4802b3(0x3cf)],this[_0x4802b3(0x3c7)],null,[],this[_0x4802b3(0x22d)],_0x1e87b7);}[_0x1d4b46(0xbf)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x1d4b46(0x23e)](){var _0x42f6f3=_0x1d4b46;throw new Error(_0x42f6f3(0x1ae));}[_0x1d4b46(0xc3)](){return this;}[_0x1d4b46(0x2fc)](){var _0x242cb7=_0x1d4b46;return this['_injector'][_0x242cb7(0x1aa)](_0x1aec2f[_0x242cb7(0x25a)],this[_0x242cb7(0x3cf)],this['type'],null,[],this[_0x242cb7(0x22d)]);}[_0x1d4b46(0x1a5)](){return this;}[_0x1d4b46(0x84)](){var _0x498986=_0x1d4b46;throw new Error(_0x498986(0x207));}[_0x1d4b46(0xe4)](){var _0x562fb1=_0x1d4b46;const _0x4fc970=this[_0x562fb1(0x117)][_0x562fb1(0x350)](this[_0x562fb1(0x3cf)]);return this[_0x562fb1(0x22d)][_0x562fb1(0x267)]({'from':_0x4fc970,'to':0x0}),this[_0x562fb1(0xb8)][_0x562fb1(0x1aa)](_0x1aec2f[_0x562fb1(0x39e)],this[_0x562fb1(0x3cf)],this[_0x562fb1(0x3c7)],null,[],null,[],this[_0x562fb1(0x22d)]);}},_0x1aec2f[_0x1d4b46(0xa6)]=_0x2fa9fd([_0xce0bcd(0x3,_0x532776['Inject'](_0x85f3d2['RevisionService'])),_0xce0bcd(0x4,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x2c2)])),_0xce0bcd(0x5,_0x532776[_0x1d4b46(0x27e)]),_0xce0bcd(0x6,_0x532776[_0x1d4b46(0x283)]),_0xce0bcd(0x7,_0x532776['ILogService']),_0xce0bcd(0x8,_0x85f3d2[_0x1d4b46(0x136)]),_0xce0bcd(0x9,_0x532776[_0x1d4b46(0x2d0)](_0x1d8499))],_0x1aec2f[_0x1d4b46(0xa6)]),_0x1aec2f[_0x1d4b46(0x2b8)]=class extends _0x42ef11{constructor(_0x345ac6,_0x3f043d,_0x9ca7f4,_0x5ca650,_0x3260c9,_0x461b23,_0x16c793,_0x48da47,_0x164df9,_0x3be9bf,_0x2e7a55,_0x1d925c,_0x1ecc90,_0x102e6a){var _0x7ebbd4=_0x1d4b46;super(_0x345ac6,_0x3f043d,null,_0x9ca7f4,_0x5ca650,_0x164df9,_0x1ecc90,_0x461b23,_0x102e6a),_0x218999(this,'status',_0x7ebbd4(0x1ac)),_0x218999(this,_0x7ebbd4(0x66),null),_0x218999(this,_0x7ebbd4(0x346),null),(this[_0x7ebbd4(0xb8)]=_0x3260c9,this['_memberService']=_0x16c793,this[_0x7ebbd4(0xf7)]=_0x48da47,this[_0x7ebbd4(0x144)]=_0x3be9bf,this[_0x7ebbd4(0x305)]=_0x2e7a55,this[_0x7ebbd4(0x293)]=_0x1d925c);}['appendMutation'](_0x7f2538){var _0x49c09c=_0x1d4b46;return this[_0x49c09c(0x8b)][_0x49c09c(0x2d1)](_0x7f2538),this[_0x49c09c(0x274)](),this;}[_0x1d4b46(0x205)](_0x537f97){var _0x2bacca=_0x1d4b46;if(this[_0x2bacca(0x289)](_0x537f97))return this[_0x2bacca(0x1e9)](),this['_injector'][_0x2bacca(0x1aa)](_0x1aec2f[_0x2bacca(0x39e)],this[_0x2bacca(0x3cf)],this[_0x2bacca(0x3c7)],null,this[_0x2bacca(0x8b)],null,[_0x537f97],this[_0x2bacca(0x22d)]);try{const _0x20ba29=this[_0x2bacca(0x305)][_0x2bacca(0xfa)](_0x537f97,this[_0x2bacca(0x8b)]);if(_0x85f3d2[_0x2bacca(0x183)](_0x20ba29)){const {c1Prime:_0x1ca2a3,m2Prime:_0x47c816}=_0x20ba29;this[_0x2bacca(0x2d8)](_0x1ca2a3);const _0x8aa0f1=this[_0x2bacca(0xb8)]['createInstance'](_0x1aec2f[_0x2bacca(0x2b8)],this[_0x2bacca(0x3cf)],this['type'],_0x47c816,this[_0x2bacca(0x22d)]);this['_clearScheduledTask']();const _0x3e1ad0=new Date()[_0x2bacca(0x303)](),_0x5ed515=this['_scheduleCompleteTimestamp']?Math[_0x2bacca(0x2f2)](this[_0x2bacca(0x66)]-_0x3e1ad0,0x0):this[_0x2bacca(0x78)]();return _0x8aa0f1[_0x2bacca(0x233)](_0x5ed515),_0x8aa0f1;}throw _0x20ba29[_0x2bacca(0x244)];}catch(_0x2f9540){return this['_logService'][_0x2bacca(0x244)](_0x2f9540),this[_0x2bacca(0x113)](!0x1);}}[_0x1d4b46(0xbf)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1d4b46(0x23e)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x23f69a=_0x1d4b46;return this[_0x23f69a(0x1e9)](),this[_0x23f69a(0xb8)][_0x23f69a(0x1aa)](_0x1aec2f['OfflineState'],this[_0x23f69a(0x3cf)],this[_0x23f69a(0x3c7)],null,this[_0x23f69a(0x8b)],this['_handler']);}[_0x1d4b46(0x1a5)](){return this;}[_0x1d4b46(0x233)](_0x311f70){var _0x57bea6=_0x1d4b46;const _0x2a11ac=_0x311f70!=null?_0x311f70:this[_0x57bea6(0x78)]();this[_0x57bea6(0x66)]=new Date()[_0x57bea6(0x303)]()+_0x2a11ac,this[_0x57bea6(0x346)]=setTimeout(()=>{var _0x2e70b9=_0x57bea6;this[_0x2e70b9(0x1e9)]();let _0x125294=null;switch(this[_0x2e70b9(0x3c7)]){case _0x49bbf8[_0x2e70b9(0x16a)]:{_0x125294=_0x4f3730(this[_0x2e70b9(0x8b)],this[_0x2e70b9(0x3cf)],this['_univerInstanceService'],this[_0x2e70b9(0x117)],this['_memberService']);break;}case _0x49bbf8['UNIVER_DOC']:{this[_0x2e70b9(0x8b)][_0x2e70b9(0x396)](_0x389b10=>_0x389b10['id']===_0x1c6ce8[_0x2e70b9(0x80)]['id'])?_0x125294=_0x404793(this['_pendingMutations'],this[_0x2e70b9(0x3cf)],this['_univerInstanceService'],this[_0x2e70b9(0x117)],this['_memberService']):_0x125294=_0x4f3730(this['_pendingMutations'],this['unitID'],this[_0x2e70b9(0x293)],this[_0x2e70b9(0x117)],this[_0x2e70b9(0x258)]);break;}default:throw new Error(_0x2e70b9(0x125)+this[_0x2e70b9(0x3c7)]+_0x2e70b9(0x230));}const {changeset:_0x6fdaed,pendingMutations:_0x15533a}=_0x125294;this['_handler'][_0x2e70b9(0x384)](_0x6fdaed);const _0x2f51bb=_0x15533a[_0x2e70b9(0x225)]?this['_injector'][_0x2e70b9(0x1aa)](_0x1aec2f['AwaitingWithPendingState'],this['unitID'],this[_0x2e70b9(0x3c7)],_0x6fdaed,_0x15533a,this['_handler'],void 0x0):this['_injector']['createInstance'](_0x1aec2f[_0x2e70b9(0x1df)],this['unitID'],this[_0x2e70b9(0x3c7)],_0x6fdaed,this['_handler']);_0x2f51bb[_0x2e70b9(0x274)](),this[_0x2e70b9(0x22d)][_0x2e70b9(0x236)](this,_0x2f51bb);},_0x2a11ac);}[_0x1d4b46(0x78)](){var _0x5b9c0d=_0x1d4b46,_0x33b20f;const _0x533df4=this['_configService'][_0x5b9c0d(0x390)](_0x1105e7);return(_0x33b20f=_0x533df4==null?void 0x0:_0x533df4[_0x5b9c0d(0x96)])!=null?_0x33b20f:0x7d0;}[_0x1d4b46(0x84)](){var _0x1790d9=_0x1d4b46;throw new Error(_0x1790d9(0x14e));}['_clearScheduledTask'](){var _0x41d638=_0x1d4b46;this[_0x41d638(0x346)]!=null&&(clearTimeout(this[_0x41d638(0x346)]),this[_0x41d638(0x346)]=null);}[_0x1d4b46(0x113)](_0x1d8969){var _0x22f1ff=_0x1d4b46;return this['_clearScheduledTask'](),this[_0x22f1ff(0xb8)]['createInstance'](_0x1aec2f[_0x22f1ff(0x70)],this[_0x22f1ff(0x3cf)],this[_0x22f1ff(0x3c7)],null,this[_0x22f1ff(0x8b)],this[_0x22f1ff(0x22d)],_0x1d8969);}},_0x1aec2f[_0x1d4b46(0x2b8)]=_0x2fa9fd([_0xce0bcd(0x4,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x2c2)])),_0xce0bcd(0x5,_0x532776[_0x1d4b46(0xd1)](_0x85f3d2[_0x1d4b46(0x391)])),_0xce0bcd(0x6,_0x532776[_0x1d4b46(0xd1)](_0x1aec2f['MemberService'])),_0xce0bcd(0x7,_0x532776['ILogService']),_0xce0bcd(0x8,_0x532776[_0x1d4b46(0x283)]),_0xce0bcd(0x9,_0x532776[_0x1d4b46(0x1e6)]),_0xce0bcd(0xa,_0x85f3d2[_0x1d4b46(0x136)]),_0xce0bcd(0xb,_0x532776['IUniverInstanceService']),_0xce0bcd(0xc,_0x532776['IUndoRedoService']),_0xce0bcd(0xd,_0x532776['Optional'](_0x1d8499))],_0x1aec2f['PendingState']),_0x1aec2f[_0x1d4b46(0x1df)]=class extends _0x42ef11{constructor(_0x8b97e,_0x8e8d54,_0x340236,_0x3f66d2,_0x1db848,_0x271f99,_0x49ee81,_0x191046,_0x3e1305,_0x374464,_0x3c86ba){var _0x197ec2=_0x1d4b46;super(_0x8b97e,_0x8e8d54,_0x340236,[],_0x3f66d2,_0x49ee81,_0x374464,_0x271f99,_0x3c86ba),_0x218999(this,_0x197ec2(0x28f),'awaiting'),_0x218999(this,_0x197ec2(0x1c0),0x0),_0x218999(this,_0x197ec2(0xe5)),_0x218999(this,_0x197ec2(0x17d)),(this[_0x197ec2(0xb8)]=_0x1db848,this[_0x197ec2(0xf7)]=_0x191046,this[_0x197ec2(0x305)]=_0x3e1305);}[_0x1d4b46(0xc0)](_0x2ba7c2){var _0x5292d5=_0x1d4b46;this[_0x5292d5(0x1e9)]();const _0xdb22b=this[_0x5292d5(0xb8)]['createInstance'](_0x1aec2f[_0x5292d5(0x3a9)],this[_0x5292d5(0x3cf)],this[_0x5292d5(0x3c7)],this[_0x5292d5(0x278)],[_0x2ba7c2],this[_0x5292d5(0x22d)],this[_0x5292d5(0xe5)]);return _0xdb22b[_0x5292d5(0x274)](),_0xdb22b;}[_0x1d4b46(0x205)](_0x53e800){var _0x4e0b0e=_0x1d4b46;if(this[_0x4e0b0e(0x289)](_0x53e800))return this[_0x4e0b0e(0x1e9)](),this[_0x4e0b0e(0xb8)]['createInstance'](_0x1aec2f['FetchingMissState'],this[_0x4e0b0e(0x3cf)],this[_0x4e0b0e(0x3c7)],this[_0x4e0b0e(0x278)],[],null,[_0x53e800],this[_0x4e0b0e(0x22d)]);try{const _0x56a809=this[_0x4e0b0e(0x305)][_0x4e0b0e(0x194)]([_0x53e800],[this[_0x4e0b0e(0x278)]],!0x1);if(_0x85f3d2['isTransformChangesetsSuccess'](_0x56a809)){const {c1Prime:_0x44033b,c2Prime:_0x260571}=_0x56a809;this['_executeRemoteChangeset'](_0x44033b[0x0]),_0x260571[0x0][_0x4e0b0e(0x7a)]=this[_0x4e0b0e(0x337)](),this[_0x4e0b0e(0x1e9)]();const _0x3eb72e=this[_0x4e0b0e(0xb8)][_0x4e0b0e(0x1aa)](_0x1aec2f[_0x4e0b0e(0x1df)],this[_0x4e0b0e(0x3cf)],this['type'],_0x260571[0x0],this[_0x4e0b0e(0x22d)]);return _0x3eb72e[_0x4e0b0e(0x274)](),_0x3eb72e;}return this[_0x4e0b0e(0x113)](!0x1);}catch(_0x4895ed){return this[_0x4e0b0e(0xf7)][_0x4e0b0e(0x244)](_0x4895ed),this['_onConflict'](!0x1);}}[_0x1d4b46(0xbf)](_0x48fa73){var _0x23874a=_0x1d4b46;this['_clearScheduledTask']();const _0x1fcb54=this[_0x23874a(0x117)]['getCurrentRevOfUnit'](this[_0x23874a(0x3cf)]);if(_0x48fa73[_0x23874a(0x364)]<_0x1fcb54-0x1)return this;if(this['_checkMissing'](_0x48fa73))return this[_0x23874a(0xb8)][_0x23874a(0x1aa)](_0x1aec2f['FetchingMissState'],this[_0x23874a(0x3cf)],this[_0x23874a(0x3c7)],null,[],this['_awaitingChangeset'],[],this[_0x23874a(0x22d)]);this[_0x23874a(0x2c4)]();const _0xed1626=this[_0x23874a(0xb8)][_0x23874a(0x1aa)](_0x1aec2f[_0x23874a(0xa6)],this[_0x23874a(0x3cf)],this['type'],this[_0x23874a(0x22d)]);return _0xed1626[_0x23874a(0x274)](),_0xed1626;}['onRemoteRej'](_0x259671){return this['_onConflict'](!!(_0x259671!=null&&_0x259671['isPermissionRej']));}['onRemoteRetry'](_0x301ad5){var _0x4bcc85=_0x1d4b46;return this['_resendTimeout']>_0x1c4920?this[_0x4bcc85(0x2fc)]():(this[_0x4bcc85(0xe5)]=_0x2130dd(this[_0x4bcc85(0x1c0)],{'timeout':this[_0x4bcc85(0x1c0)],'reqId':_0x301ad5[_0x4bcc85(0x174)]}),this[_0x4bcc85(0x17d)]=this[_0x4bcc85(0xe5)]['subscribe'](({reqId:_0x847207,timeout:_0x1b866b})=>{var _0x3ea4dd=_0x4bcc85;this[_0x3ea4dd(0x38b)](_0x847207,_0x1b866b);}),this);}[_0x1d4b46(0x2fc)](){var _0x3c6b7b=_0x1d4b46;return this[_0x3c6b7b(0x1e9)](),this[_0x3c6b7b(0xb8)]['createInstance'](_0x1aec2f[_0x3c6b7b(0x25a)],this[_0x3c6b7b(0x3cf)],this[_0x3c6b7b(0x3c7)],this[_0x3c6b7b(0x278)],[],this[_0x3c6b7b(0x22d)]);}[_0x1d4b46(0x1a5)](){return this;}[_0x1d4b46(0x84)](){var _0x4d5782=_0x1d4b46;this['_handler'][_0x4d5782(0x384)](this[_0x4d5782(0x278)]);}[_0x1d4b46(0x113)](_0x4466c9){var _0x3d6562=_0x1d4b46;return this[_0x3d6562(0x1e9)](),this[_0x3d6562(0xb8)][_0x3d6562(0x1aa)](_0x1aec2f[_0x3d6562(0x70)],this['unitID'],this[_0x3d6562(0x3c7)],this['_awaitingChangeset'],[],this[_0x3d6562(0x22d)],_0x4466c9);}['_resendWithTimeout'](_0x1a1768,_0x6da397){var _0x2c9460=_0x1d4b46,_0x33c511;_0x1a1768===((_0x33c511=this['_awaitingChangeset'])==null?void 0x0:_0x33c511['reqId'])&&(this['resend'](),this[_0x2c9460(0x1c0)]=_0x6da397===0x0?0x3e8:_0x6da397*0x2);}[_0x1d4b46(0x1e9)](){var _0x6c8cfd=_0x1d4b46,_0x332e2e;(_0x332e2e=this[_0x6c8cfd(0x17d)])==null||_0x332e2e[_0x6c8cfd(0x2b9)](),this['_resendTimeout']=0x0;}},_0x1aec2f[_0x1d4b46(0x1df)]=_0x2fa9fd([_0xce0bcd(0x4,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x2c2)])),_0xce0bcd(0x5,_0x532776[_0x1d4b46(0xd1)](_0x85f3d2['RevisionService'])),_0xce0bcd(0x6,_0x532776['ICommandService']),_0xce0bcd(0x7,_0x532776['ILogService']),_0xce0bcd(0x8,_0x85f3d2[_0x1d4b46(0x136)]),_0xce0bcd(0x9,_0x532776[_0x1d4b46(0x27e)]),_0xce0bcd(0xa,_0x532776['Optional'](_0x1d8499))],_0x1aec2f[_0x1d4b46(0x1df)]),_0x1aec2f[_0x1d4b46(0x3a9)]=class extends _0x42ef11{constructor(_0x4c2acb,_0x3bfb4e,_0x5a7f4d,_0x15b659,_0x240aa5,_0x39bf00,_0x394d21,_0x5f5af7,_0x315815,_0x4e4df7,_0x1b48b4,_0xe33d48,_0x1920f6){var _0x20fa62=_0x1d4b46;super(_0x4c2acb,_0x3bfb4e,_0x5a7f4d,_0x15b659,_0x240aa5,_0x315815,_0xe33d48,_0x5f5af7,_0x1920f6),_0x218999(this,_0x20fa62(0x28f),_0x20fa62(0x336)),_0x218999(this,'_resendTimeout',0x0),_0x218999(this,_0x20fa62(0xe5)),_0x218999(this,_0x20fa62(0x17d)),(this[_0x20fa62(0xb8)]=_0x394d21,this[_0x20fa62(0xf7)]=_0x4e4df7,this[_0x20fa62(0x305)]=_0x1b48b4,this[_0x20fa62(0x89)]=_0x1920f6,_0x39bf00&&(this[_0x20fa62(0xe5)]=_0x39bf00,this[_0x20fa62(0x17d)]=this[_0x20fa62(0xe5)][_0x20fa62(0x394)](({reqId:_0xa5be6,timeout:_0x2100dd})=>{var _0x42e2ef=_0x20fa62;this[_0x42e2ef(0x38b)](_0xa5be6,_0x2100dd);})));}[_0x1d4b46(0xc0)](_0x902482){var _0x2ced8a=_0x1d4b46;return this[_0x2ced8a(0x8b)][_0x2ced8a(0x2d1)](_0x902482),this;}[_0x1d4b46(0x205)](_0x2da1d1){var _0x396754=_0x1d4b46;if(this['_checkMissing'](_0x2da1d1))return this[_0x396754(0x1e9)](),this[_0x396754(0xb8)]['createInstance'](_0x1aec2f[_0x396754(0x39e)],this[_0x396754(0x3cf)],this[_0x396754(0x3c7)],this[_0x396754(0x278)],this[_0x396754(0x8b)],null,[_0x2da1d1],this[_0x396754(0x22d)]);try{const _0x661c96=this[_0x396754(0x305)]['transformChangesets']([_0x2da1d1],[this[_0x396754(0x278)]],!0x1);if(_0x85f3d2[_0x396754(0x31a)](_0x661c96)){const {c1Prime:_0x333d75,c2Prime:_0x1ceddb}=_0x661c96,_0x4dcfb6=this[_0x396754(0x305)]['transformMutationsWithChangeset'](_0x333d75[0x0],this['_pendingMutations']);if(_0x85f3d2['isTransformMutationsWithChangesetSuccess'](_0x4dcfb6)){const {c1Prime:_0x39bee9,m2Prime:_0x588ce3}=_0x4dcfb6;return this['_executeRemoteChangeset'](_0x39bee9),_0x1ceddb[0x0][_0x396754(0x7a)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x396754(0xb8)]['createInstance'](_0x1aec2f[_0x396754(0x3a9)],this[_0x396754(0x3cf)],this[_0x396754(0x3c7)],_0x1ceddb[0x0],_0x588ce3,this['_handler'],void 0x0);}throw _0x4dcfb6['error'];}throw _0x661c96['error'];}catch(_0x1fe62c){return this[_0x396754(0xf7)]['error'](_0x1fe62c),this['_onConflict'](!0x1);}}[_0x1d4b46(0xbf)](_0x3beb27){var _0x4d4d2d=_0x1d4b46;if(this[_0x4d4d2d(0x1e9)](),this['_checkMissing'](_0x3beb27))return this[_0x4d4d2d(0xb8)][_0x4d4d2d(0x1aa)](_0x1aec2f[_0x4d4d2d(0x39e)],this['unitID'],this['type'],null,this[_0x4d4d2d(0x8b)],this['_awaitingChangeset'],[],this['_handler']);this[_0x4d4d2d(0x2c4)]();const _0x44815d=this['_injector'][_0x4d4d2d(0x1aa)](_0x1aec2f[_0x4d4d2d(0x2b8)],this[_0x4d4d2d(0x3cf)],this[_0x4d4d2d(0x3c7)],this['_pendingMutations'],this[_0x4d4d2d(0x22d)]);return _0x44815d['_schedule'](),_0x44815d[_0x4d4d2d(0x274)](),_0x44815d;}[_0x1d4b46(0x23e)](_0x2f5719){var _0x469875=_0x1d4b46;return this[_0x469875(0x113)](!!(_0x2f5719!=null&&_0x2f5719[_0x469875(0x28e)]));}[_0x1d4b46(0xc3)](_0x1ea970){var _0x541e97=_0x1d4b46;return this[_0x541e97(0x1c0)]>_0x1c4920?this[_0x541e97(0x2fc)]():(this[_0x541e97(0xe5)]=_0x2130dd(this[_0x541e97(0x1c0)],{'timeout':this[_0x541e97(0x1c0)],'reqId':_0x1ea970[_0x541e97(0x174)]}),this[_0x541e97(0x17d)]=this[_0x541e97(0xe5)]['subscribe'](({reqId:_0x4b078d,timeout:_0x45215b})=>{var _0xb5de5f=_0x541e97;this[_0xb5de5f(0x38b)](_0x4b078d,_0x45215b);}),this);}[_0x1d4b46(0x2fc)](){var _0x29634a=_0x1d4b46;return this[_0x29634a(0x1e9)](),this[_0x29634a(0xb8)][_0x29634a(0x1aa)](_0x1aec2f[_0x29634a(0x25a)],this[_0x29634a(0x3cf)],this[_0x29634a(0x3c7)],this[_0x29634a(0x278)],this[_0x29634a(0x8b)],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x238f63=_0x1d4b46;this[_0x238f63(0x22d)]['onSendChangeset'](this[_0x238f63(0x278)]);}['_onConflict'](_0x2ba253){var _0x51a336=_0x1d4b46;return this['_clearScheduledTask'](),this['_injector'][_0x51a336(0x1aa)](_0x1aec2f[_0x51a336(0x70)],this['unitID'],this['type'],null,this[_0x51a336(0x8b)],this[_0x51a336(0x22d)],_0x2ba253);}[_0x1d4b46(0x38b)](_0x5b0848,_0x190616){var _0x14d5ee=_0x1d4b46,_0x231c04;_0x5b0848===((_0x231c04=this[_0x14d5ee(0x278)])==null?void 0x0:_0x231c04[_0x14d5ee(0x174)])&&(this[_0x14d5ee(0x84)](),this[_0x14d5ee(0x1c0)]=_0x190616===0x0?0x3e8:_0x190616*0x2);}[_0x1d4b46(0x1e9)](){var _0x407a04=_0x1d4b46,_0x2589de;(_0x2589de=this[_0x407a04(0x17d)])==null||_0x2589de['unsubscribe'](),this['_resendTimeout']=0x0;}},_0x1aec2f[_0x1d4b46(0x3a9)]=_0x2fa9fd([_0xce0bcd(0x6,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x2c2)])),_0xce0bcd(0x7,_0x532776['Inject'](_0x85f3d2[_0x1d4b46(0x391)])),_0xce0bcd(0x8,_0x532776['ICommandService']),_0xce0bcd(0x9,_0x532776['ILogService']),_0xce0bcd(0xa,_0x85f3d2['ITransformService']),_0xce0bcd(0xb,_0x532776[_0x1d4b46(0x27e)]),_0xce0bcd(0xc,_0x532776[_0x1d4b46(0x2d0)](_0x1d8499))],_0x1aec2f['AwaitingWithPendingState']),_0x1aec2f['ConflictState']=class extends _0x42ef11{constructor(_0x25406c,_0xa3cf90,_0x264361,_0x5d507f,_0x541b70,_0x7616d2=!0x1,_0x140b3f,_0x27d3d7,_0x4b1bbc,_0x28de6d,_0xf71179,_0x578aba,_0x793ce8){var _0x1ec2f7=_0x1d4b46;super(_0x25406c,_0xa3cf90,_0x264361,_0x5d507f,_0x541b70,_0x27d3d7,_0x4b1bbc,_0x28de6d,_0x793ce8),_0x218999(this,_0x1ec2f7(0x28f),'conflict'),(this['_isPermissionRej']=_0x7616d2,this['_permissionService']=_0x140b3f,this['_localeService']=_0xf71179,this[_0x1ec2f7(0x352)]=_0x578aba,this['localCacheService']=_0x793ce8,this['_showConflictNotification'](),this[_0x1ec2f7(0x3b7)](),this[_0x1ec2f7(0x37b)]());}[_0x1d4b46(0xc0)](){return this;}[_0x1d4b46(0x205)](){return this;}[_0x1d4b46(0xbf)](){return this;}[_0x1d4b46(0x23e)](){return this;}[_0x1d4b46(0xc3)](){return this;}[_0x1d4b46(0x2fc)](){return this;}[_0x1d4b46(0x1a5)](){return this;}[_0x1d4b46(0x84)](){var _0x413acd=_0x1d4b46;throw new Error(_0x413acd(0x344));}['_clearLocalCache'](){var _0x249d58=_0x1d4b46,_0x5d5697;(_0x5d5697=this[_0x249d58(0x36b)])==null||_0x5d5697['updateOfflineData'](this[_0x249d58(0x3cf)],this[_0x249d58(0x3c7)],null,[]);}['_showConflictNotification'](){var _0x462971=_0x1d4b46;this[_0x462971(0x28d)]?this[_0x462971(0x352)][_0x462971(0x286)]({'id':_0x4975b1[_0x462971(0x368)]}):this[_0x462971(0x352)][_0x462971(0x286)]({'id':_0x4975b1[_0x462971(0x3b9)]});}[_0x1d4b46(0x37b)](){var _0x6f935=_0x1d4b46;this[_0x6f935(0x2bf)][_0x6f935(0x3ab)](new _0x25228d[(_0x6f935(0x2a1))](this[_0x6f935(0x3cf)])['id'],!0x1);}},_0x1aec2f[_0x1d4b46(0x70)]=_0x2fa9fd([_0xce0bcd(0x6,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0xde)])),_0xce0bcd(0x7,_0x532776[_0x1d4b46(0x283)]),_0xce0bcd(0x8,_0x532776['IUndoRedoService']),_0xce0bcd(0x9,_0x532776[_0x1d4b46(0xd1)](_0x85f3d2[_0x1d4b46(0x391)])),_0xce0bcd(0xa,_0x532776[_0x1d4b46(0xd1)](_0x532776['LocaleService'])),_0xce0bcd(0xb,_0x532776[_0x1d4b46(0xd1)](_0x4a5b95)),_0xce0bcd(0xc,_0x532776[_0x1d4b46(0x2d0)](_0x1d8499))],_0x1aec2f[_0x1d4b46(0x70)]),_0x1aec2f[_0x1d4b46(0x25a)]=class extends _0x42ef11{constructor(_0x4a1a96,_0x1aafde,_0x2e336c,_0x290400,_0x43b868,_0x2affac,_0x21d9da,_0x135e64,_0x4ba340,_0x258f3c){var _0x6abb86=_0x1d4b46;super(_0x4a1a96,_0x1aafde,_0x2e336c,_0x290400,_0x43b868,_0x135e64,_0x4ba340,_0x21d9da,_0x258f3c),_0x218999(this,_0x6abb86(0x28f),_0x6abb86(0x6b)),this[_0x6abb86(0xb8)]=_0x2affac;}[_0x1d4b46(0xc0)](_0x50b4ac){var _0x5f5186=_0x1d4b46;return this[_0x5f5186(0x8b)][_0x5f5186(0x2d1)](_0x50b4ac),this[_0x5f5186(0x274)](),this;}[_0x1d4b46(0x205)](_0x287def){var _0xc6b867=_0x1d4b46;throw new Error(_0xc6b867(0x26c));}[_0x1d4b46(0xbf)](){var _0x3d2e3a=_0x1d4b46;throw new Error(_0x3d2e3a(0x2e5));}[_0x1d4b46(0x23e)](){var _0x56176a=_0x1d4b46;throw new Error(_0x56176a(0x18d));}[_0x1d4b46(0xc3)](){return this;}[_0x1d4b46(0x2fc)](){return this;}[_0x1d4b46(0x1a5)](){var _0x15e1c1=_0x1d4b46;const {_injector:_0x3eef02,_pendingMutations:_0x115cf7,_awaitingChangeset:_0x4183be,unitID:_0x473e3d,_handler:_0x4c738e,type:_0x2b901a}=this,_0x46d532=_0x424671(_0x3eef02,_0x473e3d,_0x2b901a,_0x4183be,_0x115cf7,_0x4c738e);return _0x46d532 instanceof _0x1aec2f[_0x15e1c1(0x2b8)]?_0x46d532['_schedule']():(_0x46d532 instanceof _0x1aec2f[_0x15e1c1(0x3a9)]||_0x46d532 instanceof _0x1aec2f['AwaitingState'])&&_0x46d532['resend'](),_0x46d532;}[_0x1d4b46(0x84)](){var _0x934daf=_0x1d4b46;throw new Error(_0x934daf(0x7c));}},_0x1aec2f[_0x1d4b46(0x25a)]=_0x2fa9fd([_0xce0bcd(0x5,_0x532776[_0x1d4b46(0xd1)](_0x532776['Injector'])),_0xce0bcd(0x6,_0x532776[_0x1d4b46(0xd1)](_0x85f3d2[_0x1d4b46(0x391)])),_0xce0bcd(0x7,_0x532776['ICommandService']),_0xce0bcd(0x8,_0x532776[_0x1d4b46(0x27e)]),_0xce0bcd(0x9,_0x532776['Optional'](_0x1d8499))],_0x1aec2f['OfflineState']),_0x1aec2f['FetchingMissState']=class extends _0x42ef11{constructor(_0x34c935,_0x15f055,_0xbf816b,_0x3b7e22,_0x54ea9a,_0x5283a5,_0x2e8e17,_0x32e490,_0x365a85,_0x54f217,_0x38a160,_0x2179dd,_0x53e7f7,_0x297da5){var _0xabf758=_0x1d4b46;super(_0x34c935,_0x15f055,_0xbf816b,_0x3b7e22,_0x2e8e17,_0x38a160,_0x2179dd,_0x365a85,_0x297da5),_0x218999(this,_0xabf758(0x28f),_0xabf758(0x2dc)),(this[_0xabf758(0x3c3)]=_0x54ea9a,this[_0xabf758(0x24c)]=_0x5283a5,this[_0xabf758(0xb8)]=_0x32e490,this[_0xabf758(0xf7)]=_0x54f217,this[_0xabf758(0x305)]=_0x53e7f7,this[_0xabf758(0x89)]=_0x297da5);}['onMissedChangesetFetched'](_0x2ee2e4){var _0x41e4c4=_0x1d4b46;try{const _0x467480=[..._0x2ee2e4,...this[_0x41e4c4(0x24c)]],_0x15b2b9=[this[_0x41e4c4(0x278)]||this[_0x41e4c4(0x3c3)]]['filter'](_0x1d7af9=>!!_0x1d7af9);let _0x396555,_0x118475;if(_0x15b2b9[_0x41e4c4(0x225)]){const _0x4c5f0a=this['_transformService'][_0x41e4c4(0x194)](_0x467480,_0x15b2b9,!0x1);if(!_0x85f3d2['isTransformChangesetsSuccess'](_0x4c5f0a))throw _0x4c5f0a[_0x41e4c4(0x244)];_0x396555=_0x4c5f0a[_0x41e4c4(0x3a0)],_0x118475=_0x4c5f0a[_0x41e4c4(0x277)];}else _0x396555=_0x467480,_0x118475=[];let _0x20758f=this['_pendingMutations'];_0x396555[_0x41e4c4(0x270)](_0xeeff76=>{var _0x72af37=_0x41e4c4;let _0x566499;if(_0x20758f[_0x72af37(0x225)]){const _0x528380=this[_0x72af37(0x305)][_0x72af37(0xfa)](_0xeeff76,_0x20758f);if(!_0x85f3d2[_0x72af37(0x183)](_0x528380))throw _0x528380[_0x72af37(0x244)];_0x566499=_0x528380[_0x72af37(0x3a0)],_0x20758f=_0x528380[_0x72af37(0x1e8)];}else _0x566499=_0xeeff76;this[_0x72af37(0x2d8)](_0x566499);}),this[_0x41e4c4(0x3c3)]&&this[_0x41e4c4(0x2c4)](),this['_awaitingChangeset']&&_0x118475[_0x41e4c4(0x225)]&&(_0x118475[0x0][_0x41e4c4(0x7a)]=this['_getCurrentRevision']());let _0x263742;if(this[_0x41e4c4(0x278)]&&_0x20758f['length']!==0x0)_0x263742=this['_injector'][_0x41e4c4(0x1aa)](_0x1aec2f[_0x41e4c4(0x3a9)],this[_0x41e4c4(0x3cf)],this[_0x41e4c4(0x3c7)],_0x118475[0x0],_0x20758f,this[_0x41e4c4(0x22d)],void 0x0);else{if(this[_0x41e4c4(0x278)]&&_0x20758f['length']===0x0)_0x118475[0x0]['baseRev']=this['_getCurrentRevision'](),_0x263742=this[_0x41e4c4(0xb8)][_0x41e4c4(0x1aa)](_0x1aec2f[_0x41e4c4(0x1df)],this[_0x41e4c4(0x3cf)],this[_0x41e4c4(0x3c7)],_0x118475[0x0],this[_0x41e4c4(0x22d)]);else{if(_0x20758f[_0x41e4c4(0x225)]!==0x0){const _0x250a99=this['_injector'][_0x41e4c4(0x1aa)](_0x1aec2f[_0x41e4c4(0x2b8)],this['unitID'],this[_0x41e4c4(0x3c7)],_0x20758f,this[_0x41e4c4(0x22d)]);_0x250a99[_0x41e4c4(0x233)](),_0x263742=_0x250a99;}else _0x263742=this[_0x41e4c4(0xb8)][_0x41e4c4(0x1aa)](_0x1aec2f[_0x41e4c4(0xa6)],this[_0x41e4c4(0x3cf)],this[_0x41e4c4(0x3c7)],this['_handler']);}}return _0x263742[_0x41e4c4(0x274)](),_0x263742;}catch(_0x5b10ce){return this['_logService'][_0x41e4c4(0x244)](_0x41e4c4(0x212),'failed\x20to\x20apply\x20missed\x20changesets!',_0x5b10ce),this[_0x41e4c4(0xb8)]['createInstance'](_0x1aec2f[_0x41e4c4(0x70)],this[_0x41e4c4(0x3cf)],this[_0x41e4c4(0x3c7)],this[_0x41e4c4(0x278)],this[_0x41e4c4(0x8b)],this[_0x41e4c4(0x22d)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1d4b46(0xc0)](_0x5a8605){var _0x5231e0=_0x1d4b46;return this[_0x5231e0(0x8b)][_0x5231e0(0x2d1)](_0x5a8605),this;}[_0x1d4b46(0x205)](_0x52c453){var _0x35978b=_0x1d4b46;return this[_0x35978b(0x24c)][_0x35978b(0x2d1)](_0x52c453),this;}['onRemoteAck'](_0x124ee2){var _0x421d7f=_0x1d4b46;if(this[_0x421d7f(0x278)])return this[_0x421d7f(0x3c3)]=this[_0x421d7f(0x278)],this[_0x421d7f(0x278)]=null,this;throw new Error(_0x421d7f(0x26d));}[_0x1d4b46(0x23e)](_0x4668df){var _0x19075e=_0x1d4b46;return this[_0x19075e(0x113)](!!(_0x4668df!=null&&_0x4668df[_0x19075e(0x28e)]));}['onRemoteRetry'](){return this;}[_0x1d4b46(0x2fc)](){var _0x188eab=_0x1d4b46;return this[_0x188eab(0xb8)]['createInstance'](_0x1aec2f[_0x188eab(0x25a)],this[_0x188eab(0x3cf)],this[_0x188eab(0x3c7)],this['_awaitingChangeset'],this[_0x188eab(0x8b)],this['_handler']);}[_0x1d4b46(0x1a5)](){return this;}[_0x1d4b46(0x113)](_0xd9729){var _0x532e1d=_0x1d4b46;return this[_0x532e1d(0xb8)][_0x532e1d(0x1aa)](_0x1aec2f[_0x532e1d(0x70)],this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x532e1d(0x8b)],this[_0x532e1d(0x22d)],_0xd9729);}},_0x1aec2f[_0x1d4b46(0x39e)]=_0x2fa9fd([_0xce0bcd(0x7,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x2c2)])),_0xce0bcd(0x8,_0x532776[_0x1d4b46(0xd1)](_0x85f3d2[_0x1d4b46(0x391)])),_0xce0bcd(0x9,_0x532776[_0x1d4b46(0x16e)]),_0xce0bcd(0xa,_0x532776[_0x1d4b46(0x283)]),_0xce0bcd(0xb,_0x532776[_0x1d4b46(0x27e)]),_0xce0bcd(0xc,_0x85f3d2[_0x1d4b46(0x136)]),_0xce0bcd(0xd,_0x532776[_0x1d4b46(0x2d0)](_0x1d8499))],_0x1aec2f[_0x1d4b46(0x39e)]);function _0x424671(_0x1e89d8,_0x2f4826,_0x1ad67e,_0x2c0919,_0x2393be,_0x122756){var _0x8724a1=_0x1d4b46;return _0x2c0919&&_0x2393be[_0x8724a1(0x225)]?_0x1e89d8[_0x8724a1(0x1aa)](_0x1aec2f[_0x8724a1(0x3a9)],_0x2f4826,_0x1ad67e,_0x2c0919,_0x2393be,_0x122756,void 0x0):_0x2c0919?_0x1e89d8[_0x8724a1(0x1aa)](_0x1aec2f[_0x8724a1(0x1df)],_0x2f4826,_0x1ad67e,_0x2c0919,_0x122756):_0x2393be[_0x8724a1(0x225)]?_0x1e89d8[_0x8724a1(0x1aa)](_0x1aec2f[_0x8724a1(0x2b8)],_0x2f4826,_0x1ad67e,_0x2393be,_0x122756):_0x1e89d8[_0x8724a1(0x1aa)](_0x1aec2f[_0x8724a1(0xa6)],_0x2f4826,_0x1ad67e,_0x122756);}var _0x3a156f=Object['getOwnPropertyDescriptor'],_0x9335c4=(_0x57e011,_0x283162,_0x411f48,_0x35505d)=>{var _0x460c89=_0x1d4b46;for(var _0x2b26e6=_0x35505d>0x1?void 0x0:_0x35505d?_0x3a156f(_0x283162,_0x411f48):_0x283162,_0x17968=_0x57e011[_0x460c89(0x225)]-0x1,_0x1a676f;_0x17968>=0x0;_0x17968--)(_0x1a676f=_0x57e011[_0x17968])&&(_0x2b26e6=_0x1a676f(_0x2b26e6)||_0x2b26e6);return _0x2b26e6;},_0x838fd8=(_0x1ce1ba,_0x59b660)=>(_0x1d7520,_0x492ad1)=>_0x59b660(_0x1d7520,_0x492ad1,_0x1ce1ba);_0x1aec2f[_0x1d4b46(0x29d)]=class extends _0x532776[_0x1d4b46(0x69)]{constructor(_0x1783cd,_0xa58726,_0x5e9c85,_0x303239,_0x47b09b,_0x2a5850,_0x55db5,_0x3887c2,_0x47e1a0,_0x4829c0,_0x2463e0,_0x1e920e,_0xeca8fd){var _0x421e42=_0x1d4b46;super(),_0x218999(this,_0x421e42(0x15c),new _0x14df21[(_0x421e42(0x332))](null)),_0x218999(this,'state$',this[_0x421e42(0x15c)][_0x421e42(0x28c)]()),_0x218999(this,_0x421e42(0x2cf)),_0x218999(this,_0x421e42(0x12f),!0x1),_0x218999(this,_0x421e42(0x16f),''),_0x218999(this,_0x421e42(0x2aa),0x0),_0x218999(this,_0x421e42(0x1a7),this[_0x421e42(0xc7)]['pipe'](_0x14df21[_0x421e42(0x1dd)](_0x5ee02a=>_0x5ee02a?_0x5ee02a[_0x421e42(0x28f)]:_0x44cd2d[_0x421e42(0x273)]),_0x14df21[_0x421e42(0x14d)](0x1))),_0x218999(this,_0x421e42(0xee),!0x1),_0x218999(this,_0x421e42(0x26b),[]),(this['unitID']=_0x1783cd,this[_0x421e42(0x155)]=_0xa58726,this['_type']=_0x5e9c85,this[_0x421e42(0xb8)]=_0x303239,this[_0x421e42(0x345)]=_0x47b09b,this[_0x421e42(0x72)]=_0x2a5850,this[_0x421e42(0x117)]=_0x55db5,this[_0x421e42(0x107)]=_0x3887c2,this[_0x421e42(0xf7)]=_0x47e1a0,this[_0x421e42(0x365)]=_0x4829c0,this[_0x421e42(0x2bf)]=_0x2463e0,this[_0x421e42(0x21c)]=_0x1e920e,this[_0x421e42(0x36b)]=_0xeca8fd);}get[_0x1d4b46(0x310)](){var _0x66071a=_0x1d4b46;return this[_0x66071a(0x2cf)];}async['init'](){var _0xbdfbf9=_0x1d4b46;if(this[_0xbdfbf9(0x310)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0xbdfbf9(0x2b3)]();}[_0x1d4b46(0x380)](){var _0x2747e3=_0x1d4b46;return this[_0x2747e3(0x12f)]=!0x0,_0x532776['toDisposable'](()=>{var _0x2c44ab=_0x2747e3;this[_0x2c44ab(0x12f)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x1d4b46(0x1c8)](_0xf1a482){this['_onLocalMutation'](_0xf1a482);}[_0x1d4b46(0x68)](_0x3ead30){var _0x618d91=_0x1d4b46;this[_0x618d91(0x2cf)]=_0x3ead30,this[_0x618d91(0x15c)][_0x618d91(0x2e4)](_0x3ead30);}async[_0x1d4b46(0x2b3)](){var _0x59bab9=_0x1d4b46,_0x3b877f;this[_0x59bab9(0x68)](await this['_createInitialState']()),this[_0x59bab9(0x21c)]&&((_0x3b877f=this[_0x59bab9(0x21c)])==null||_0x3b877f[_0x59bab9(0x17c)](this['unitID']),this['disposeWithMe'](this[_0x59bab9(0x21c)]['getUnitStatus$'](this['unitID'])[_0x59bab9(0x394)](_0xa2adf2=>{var _0x2bf388=_0x59bab9;this[_0x2bf388(0xf7)][_0x2bf388(0x252)](_0x2bf388(0xa3),_0x2bf388(0x3ce),_0xa2adf2),_0xa2adf2===_0x1ee0e4[_0x2bf388(0x2ce)]?(this[_0x2bf388(0x107)][_0x2bf388(0x286)]({'id':_0x4975b1[_0x2bf388(0x328)]}),this[_0x2bf388(0x2bf)]['updatePermissionPoint'](new _0x25228d[(_0x2bf388(0x2a1))](this[_0x2bf388(0x3cf)])['id'],!0x1),this[_0x2bf388(0x2bf)][_0x2bf388(0x181)](!0x1)):(this[_0x2bf388(0x2bf)]['updatePermissionPoint'](new _0x25228d['WorkbookEditablePermission'](this[_0x2bf388(0x3cf)])['id'],!0x0),this[_0x2bf388(0x2bf)][_0x2bf388(0x181)](!0x0));})));let _0x181364=!0x1;return this['disposeWithMe'](this[_0x59bab9(0x155)][_0x59bab9(0x38c)]['subscribe'](_0xe267a1=>{var _0x4a97f8=_0x59bab9;_0xe267a1===_0x4a5234[_0x4a97f8(0x19f)]?this[_0x4a97f8(0x276)](_0x181364):_0xe267a1===_0x4a5234[_0x4a97f8(0x273)]&&(_0x181364=!0x0,this[_0x4a97f8(0x6c)]());})),this[_0x59bab9(0x242)](this[_0x59bab9(0x155)][_0x59bab9(0x210)][_0x59bab9(0x394)](_0x40dded=>{var _0x3c5754=_0x59bab9;try{switch(_0x40dded[_0x3c5754(0x30e)]){case _0x85f3d2[_0x3c5754(0x294)][_0x3c5754(0x1e2)]:{this[_0x3c5754(0x10b)](_0x85f3d2['parseProtocolChangeset'](_0x40dded['data']));break;}case _0x85f3d2[_0x3c5754(0x294)][_0x3c5754(0x20b)]:{this[_0x3c5754(0x31b)](_0x40dded[_0x3c5754(0x2e1)]);break;}case _0x85f3d2['CollaborationEvent'][_0x3c5754(0x3d8)]:{this[_0x3c5754(0x300)]();break;}case _0x85f3d2[_0x3c5754(0x294)][_0x3c5754(0x392)]:{this[_0x3c5754(0x2db)](_0x40dded[_0x3c5754(0x2e1)]);break;}case _0x85f3d2[_0x3c5754(0x294)][_0x3c5754(0x256)]:{this[_0x3c5754(0x254)](_0x40dded['data'][_0x3c5754(0x139)][_0x3c5754(0x1dd)](_0x409e41=>_0x85f3d2['parseProtocolChangeset'](_0x409e41)));break;}case _0x85f3d2[_0x3c5754(0x294)][_0x3c5754(0x101)]:{this[_0x3c5754(0x300)]({'isPermissionRej':!0x0});break;}case _0x85f3d2['CollaborationEvent'][_0x3c5754(0x2eb)]:break;}}catch(_0x509130){throw console[_0x3c5754(0x244)](_0x3c5754(0x263),_0x509130),_0x509130;}})),this['_state'];}[_0x1d4b46(0x6f)](){var _0x2f4c38=_0x1d4b46;this[_0x2f4c38(0xee)]=!0x1;}[_0x1d4b46(0x3d3)](){var _0x2cc7d6=_0x1d4b46;if(this[_0x2cc7d6(0xee)])throw new Error(_0x2cc7d6(0x2af));this[_0x2cc7d6(0xee)]=!0x0;}[_0x1d4b46(0xb9)](_0x55b36b){var _0x467797=_0x1d4b46;this[_0x467797(0x3d3)](),this[_0x467797(0x68)](this['_state'][_0x467797(0xc0)](_0x55b36b)),this['_unlockTransition']();}[_0x1d4b46(0x10b)](_0x10cd0c){var _0x1b20df=_0x1d4b46;if(!(_0x10cd0c[_0x1b20df(0x364)]<=this[_0x1b20df(0x117)][_0x1b20df(0x350)](this[_0x1b20df(0x3cf)]))){if(this[_0x1b20df(0x12f)]){this[_0x1b20df(0x26b)][_0x1b20df(0x2d1)](_0x10cd0c);return;}this[_0x1b20df(0x15a)](_0x10cd0c);}}[_0x1d4b46(0x37a)](){var _0x57f7d0=_0x1d4b46;this[_0x57f7d0(0x26b)][_0x57f7d0(0x270)](_0x34580e=>this[_0x57f7d0(0x15a)](_0x34580e)),this['_remoteChangesetQueue']=[];}[_0x1d4b46(0x15a)](_0x3449ef){var _0x123f26=_0x1d4b46;const _0xcd4fa9=this[_0x123f26(0x345)][_0x123f26(0x21b)]['fetchThroughInterceptors'](this[_0x123f26(0x345)][_0x123f26(0x21b)][_0x123f26(0x1e1)]()[_0x123f26(0xd6)])(_0x3449ef['mutations'],null)||_0x3449ef[_0x123f26(0x1de)],_0x23395d={..._0x3449ef,'mutations':_0xcd4fa9};this[_0x123f26(0x3d3)](),this['_updateState'](this[_0x123f26(0x2cf)][_0x123f26(0x205)](_0x23395d)),this[_0x123f26(0x6f)]();}[_0x1d4b46(0x31b)](_0x16f617){var _0x5dad0f=_0x1d4b46;this['_lockTransition'](),this[_0x5dad0f(0x68)](this[_0x5dad0f(0x2cf)]['onRemoteAck'](_0x16f617)),this[_0x5dad0f(0x6f)]();}['_onRemoteRejected'](_0x80063d){var _0x5147ee=_0x1d4b46;this[_0x5147ee(0x3d3)](),this[_0x5147ee(0x68)](this[_0x5147ee(0x2cf)][_0x5147ee(0x23e)](_0x80063d)),this['_unlockTransition']();}[_0x1d4b46(0x2db)](_0x3996b1){var _0x154b00=_0x1d4b46;this[_0x154b00(0x3d3)](),this[_0x154b00(0x68)](this[_0x154b00(0x2cf)]['onRemoteRetry'](_0x3996b1)),this['_unlockTransition']();}[_0x1d4b46(0x254)](_0x563e50){var _0x5a15a4=_0x1d4b46;if(!(this[_0x5a15a4(0x2cf)]instanceof _0x1aec2f[_0x5a15a4(0x39e)]))throw new TypeError(_0x5a15a4(0x22f));const _0x5823f1=_0x563e50[_0x5a15a4(0x1dd)](_0x48b9a0=>{var _0x46b02c=_0x5a15a4;const _0x52bfee=this[_0x46b02c(0x345)][_0x46b02c(0x21b)][_0x46b02c(0x249)](this[_0x46b02c(0x345)][_0x46b02c(0x21b)][_0x46b02c(0x1e1)]()['COMPRESS_MUTATION_APPLY'])(_0x48b9a0[_0x46b02c(0x1de)],null)||_0x48b9a0[_0x46b02c(0x1de)];return{..._0x48b9a0,'mutations':_0x52bfee};});this['_lockTransition'](),this[_0x5a15a4(0x68)](this[_0x5a15a4(0x2cf)]['onMissedChangesetFetched'](_0x5823f1)),this[_0x5a15a4(0x6f)]();}[_0x1d4b46(0x6c)](){var _0x252ee0=_0x1d4b46;this[_0x252ee0(0x3d3)](),this[_0x252ee0(0x68)](this[_0x252ee0(0x2cf)][_0x252ee0(0x2fc)]()),this[_0x252ee0(0x6f)]();}[_0x1d4b46(0x276)](_0x1f057d=!0x1){var _0x205a36=_0x1d4b46;this[_0x205a36(0x3d3)](),this[_0x205a36(0x68)](this['_state'][_0x205a36(0x1a5)]()),this[_0x205a36(0x6f)]();const _0x443bb6=this[_0x205a36(0x2cf)];_0x1f057d&&_0x443bb6 instanceof _0x1aec2f[_0x205a36(0xa6)]&&(this[_0x205a36(0x3d3)](),this[_0x205a36(0x68)](_0x443bb6[_0x205a36(0xe4)]()),this[_0x205a36(0x6f)]());}async[_0x1d4b46(0x3df)](){return new Promise(_0x596933=>{var _0x2aaba9=_0x5ddd;this[_0x2aaba9(0x155)]['sessionStatus$'][_0x2aaba9(0x1d8)](_0x14df21[_0x2aaba9(0x33f)](0x1))[_0x2aaba9(0x394)](async _0x236138=>{var _0x3e9715=_0x2aaba9;_0x596933(await this[_0x3e9715(0x316)](_0x236138===_0x4a5234['ONLINE']));});});}['_createHandler'](){var _0x23417c=_0x1d4b46;const _0x1423cc=this[_0x23417c(0x3cf)];return{'onStateChange':(_0x218869,_0x20aa85)=>{var _0x5e17ee=_0x23417c;if(_0x218869!==this[_0x5e17ee(0x2cf)])throw new Error(_0x5e17ee(0x3d7)+_0x218869[_0x5e17ee(0x28f)]+_0x5e17ee(0x343)+_0x20aa85[_0x5e17ee(0x28f)]+_0x5e17ee(0x287)+this[_0x5e17ee(0x2cf)][_0x5e17ee(0x28f)]);this[_0x5e17ee(0x68)](_0x20aa85);},'onSendChangeset':_0x333cba=>{var _0x25feaf=_0x23417c;_0x333cba[_0x25feaf(0x29b)]||(_0x333cba['sid']=this['_changesetSessionId'],_0x333cba[_0x25feaf(0x174)]=++this[_0x25feaf(0x2aa)]);const _0x1eef1e={'eventID':_0x85f3d2[_0x25feaf(0x294)][_0x25feaf(0x2c8)],'data':{'unitID':_0x333cba['unitID'],'unitType':this['_type'],'changeset':_0x333cba,'memberID':this[_0x25feaf(0x155)][_0x25feaf(0x10d)]()}};this['session'][_0x25feaf(0x357)](_0x1eef1e,this['unitID']);},'onMissingChangesets':({from:_0x17150b,to:_0x29a8dd})=>{var _0x25e429=_0x23417c;this[_0x25e429(0xf7)][_0x25e429(0x252)](_0x25e429(0xa3),_0x25e429(0xa1)+_0x17150b+_0x25e429(0x85)+_0x29a8dd);const _0x27dc01={'eventID':_0x85f3d2[_0x25e429(0x294)][_0x25e429(0x23b)],'data':{'unitID':_0x1423cc,'unitType':this[_0x25e429(0x2f9)],'from':_0x17150b,'to':_0x29a8dd}};this[_0x25e429(0x155)][_0x25e429(0x357)](_0x27dc01,this[_0x25e429(0x3cf)]);}};}async[_0x1d4b46(0x316)](_0x1bedf9){var _0x303ead=_0x1d4b46,_0x3036c9,_0x544244,_0x179fb0;const _0x4dc317=await((_0x3036c9=this[_0x303ead(0x36b)])==null?void 0x0:_0x3036c9[_0x303ead(0x373)](this[_0x303ead(0x3cf)])),_0x40c78d=(_0x544244=_0x4dc317==null?void 0x0:_0x4dc317[_0x303ead(0x1de)])!=null?_0x544244:[],_0x58e028=(_0x179fb0=_0x4dc317==null?void 0x0:_0x4dc317[_0x303ead(0x2ed)])!=null?_0x179fb0:null,_0xda1e24=!!(_0x58e028!=null&&_0x58e028[_0x303ead(0x29b)])&&!!(_0x58e028!=null&&_0x58e028[_0x303ead(0x174)]);this[_0x303ead(0x16f)]=_0xda1e24?_0x58e028['sid']:_0x58dd7d(),this[_0x303ead(0x2aa)]=_0xda1e24?_0x58e028[_0x303ead(0x174)]:0x0;const _0x3ff0f1=this[_0x303ead(0x3cf)];try{this[_0x303ead(0x1b2)](_0x58e028,_0x40c78d);}catch(_0x10d97f){this[_0x303ead(0xf7)][_0x303ead(0x244)](_0x10d97f);}const _0x301459=this[_0x303ead(0x38f)]();if(_0x1bedf9){const _0x92aa13=_0x424671(this[_0x303ead(0xb8)],_0x3ff0f1,this[_0x303ead(0x2f9)],_0x58e028,_0x40c78d,_0x301459);return _0x92aa13 instanceof _0x1aec2f[_0x303ead(0x2b8)]?_0x92aa13['_schedule']():(_0x92aa13 instanceof _0x1aec2f[_0x303ead(0x3a9)]||_0x92aa13 instanceof _0x1aec2f[_0x303ead(0x1df)])&&_0x92aa13[_0x303ead(0x84)](),_0x92aa13;}return this['_injector']['createInstance'](_0x1aec2f[_0x303ead(0x25a)],_0x3ff0f1,this[_0x303ead(0x2f9)],_0x58e028,_0x40c78d,_0x301459);}[_0x1d4b46(0x1b2)](_0x313ba1,_0x2bd929){var _0x49de87=_0x1d4b46,_0x9af92b,_0x216300;const _0x53d51d=this[_0x49de87(0x345)]['interceptor'][_0x49de87(0x249)](this[_0x49de87(0x345)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x9af92b=_0x53d51d((_0x313ba1==null?void 0x0:_0x313ba1['mutations'])||[],null))==null||_0x9af92b[_0x49de87(0x270)](_0x29e59d=>this['_commandService'][_0x49de87(0x196)](_0x29e59d['id'],_0x29e59d[_0x49de87(0x123)])),(_0x216300=_0x53d51d(_0x2bd929||[],null))==null||_0x216300[_0x49de87(0x270)](_0x14d774=>this['_commandService'][_0x49de87(0x196)](_0x14d774['id'],_0x14d774[_0x49de87(0x123)]));}},_0x1aec2f[_0x1d4b46(0x29d)]=_0x9335c4([_0x838fd8(0x3,_0x532776[_0x1d4b46(0xd1)](_0x532776['Injector'])),_0x838fd8(0x4,_0x532776[_0x1d4b46(0xd1)](_0x85f3d2['CompressMutationService'])),_0x838fd8(0x5,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x97)])),_0x838fd8(0x6,_0x532776[_0x1d4b46(0xd1)](_0x85f3d2[_0x1d4b46(0x391)])),_0x838fd8(0x7,_0x532776['Inject'](_0x4a5b95)),_0x838fd8(0x8,_0x532776[_0x1d4b46(0x16e)]),_0x838fd8(0x9,_0x532776[_0x1d4b46(0x283)]),_0x838fd8(0xa,_0x532776[_0x1d4b46(0xde)]),_0x838fd8(0xb,_0x532776[_0x1d4b46(0x2d0)](_0x5486b6)),_0x838fd8(0xc,_0x532776[_0x1d4b46(0x2d0)](_0x1d8499))],_0x1aec2f['CollaborationEntity']),_0x1aec2f[_0x1d4b46(0x3a1)]=class extends _0x1aec2f[_0x1d4b46(0x29d)]{constructor(_0x2b88d4,_0x58b6ac,_0x3c60d0,_0x1331a1,_0x2741ec,_0x5ba45e,_0x200a9c,_0x327a5f,_0x11f80e,_0x2d17e2,_0x240298,_0x268554,_0x4f7e88){var _0x391d71=_0x1d4b46;super(_0x2b88d4,_0x3c60d0,_0x58b6ac,_0x1331a1,_0x2741ec,_0x5ba45e,_0x200a9c,_0x327a5f,_0x11f80e,_0x2d17e2,_0x240298,_0x268554,_0x4f7e88),_0x218999(this,_0x391d71(0xa0),null),(this[_0x391d71(0x3cf)]=_0x2b88d4,this[_0x391d71(0x3c7)]=_0x58b6ac);}['addHandlerCallback'](_0x4bd6d3){var _0x5baa50=_0x1d4b46;this[_0x5baa50(0xa0)]=_0x4bd6d3;}[_0x1d4b46(0x170)](){var _0x12c8d3=_0x1d4b46;this['_handlerCallback']=null,super[_0x12c8d3(0x170)]();}[_0x1d4b46(0x38f)](){var _0x5f0c74=_0x1d4b46;const _0x111cd7=super['_createHandler']();return _0x111cd7['onTransformIME']=_0x51adff=>{var _0x3a727b=_0x5ddd,_0x46c0f9,_0x5d94a4;return(_0x5d94a4=(_0x46c0f9=this[_0x3a727b(0xa0)])==null?void 0x0:_0x46c0f9[_0x3a727b(0x1f2)])==null?void 0x0:_0x5d94a4[_0x3a727b(0x387)](_0x46c0f9,_0x51adff);},_0x111cd7[_0x5f0c74(0x7f)]=_0x2e4b72=>{var _0xe9ca95=_0x5f0c74,_0x3c664a,_0x9f2e76;return(_0x9f2e76=(_0x3c664a=this[_0xe9ca95(0xa0)])==null?void 0x0:_0x3c664a[_0xe9ca95(0x7f)])==null?void 0x0:_0x9f2e76['call'](_0x3c664a,_0x2e4b72);},_0x111cd7['onTransformSelections']=_0xc6de60=>{var _0x18b1f8=_0x5f0c74,_0x3498a2,_0x146a7d;return(_0x146a7d=(_0x3498a2=this[_0x18b1f8(0xa0)])==null?void 0x0:_0x3498a2['onTransformSelections'])==null?void 0x0:_0x146a7d[_0x18b1f8(0x387)](_0x3498a2,_0xc6de60);},_0x111cd7[_0x5f0c74(0x20e)]=_0x3c478c=>{var _0x4459ba=_0x5f0c74,_0x544061,_0x406ba9;return(_0x406ba9=(_0x544061=this['_handlerCallback'])==null?void 0x0:_0x544061[_0x4459ba(0x20e)])==null?void 0x0:_0x406ba9[_0x4459ba(0x387)](_0x544061,_0x3c478c);},_0x111cd7['onTransformRemoteChangesetByIMECache']=_0xbd9b88=>{var _0x10c6a0=_0x5f0c74,_0x82160,_0xfaf5f9,_0x1be5db;if(!((_0x82160=this[_0x10c6a0(0xa0)])!=null&&_0x82160[_0x10c6a0(0x32b)]))throw new Error(_0x10c6a0(0x2bc));return(_0x1be5db=(_0xfaf5f9=this['_handlerCallback'])==null?void 0x0:_0xfaf5f9['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1be5db['call'](_0xfaf5f9,_0xbd9b88);},_0x111cd7['onTransformRemoteChangesetByStateCache']=_0x36ba96=>{var _0x47c057=_0x5f0c74,_0x3636f6,_0x3287ce,_0x53bbeb;if(!((_0x3636f6=this['_handlerCallback'])!=null&&_0x3636f6[_0x47c057(0x327)]))throw new Error(_0x47c057(0x19e));return(_0x53bbeb=(_0x3287ce=this[_0x47c057(0xa0)])==null?void 0x0:_0x3287ce[_0x47c057(0x327)])==null?void 0x0:_0x53bbeb['call'](_0x3287ce,_0x36ba96);},_0x111cd7;}async[_0x1d4b46(0x2b3)](){var _0x3591dd=_0x1d4b46;const _0x5b9096=await super[_0x3591dd(0x2b3)]();return this[_0x3591dd(0x242)](this[_0x3591dd(0x365)][_0x3591dd(0x2ab)]((_0x48a0ca,_0x2ca58b)=>{var _0x3a1c9b=_0x3591dd;if(_0x48a0ca['type']!==_0x532776[_0x3a1c9b(0x3c1)]['MUTATION']||_0x2ca58b!=null&&_0x2ca58b[_0x3a1c9b(0x28b)]||_0x2ca58b!=null&&_0x2ca58b['onlyLocal']||_0x48a0ca['id']===_0x1c6ce8[_0x3a1c9b(0x80)]['id'])return;const _0x4990b6=_0x48a0ca['params'];if((_0x4990b6==null?void 0x0:_0x4990b6[_0x3a1c9b(0x3c4)])!==this[_0x3a1c9b(0x3cf)])return;const _0x4639f4=_0x48a0ca,_0x41a29d=this[_0x3a1c9b(0x345)][_0x3a1c9b(0x21b)][_0x3a1c9b(0x249)](this[_0x3a1c9b(0x345)][_0x3a1c9b(0x21b)][_0x3a1c9b(0x1e1)]()['COMPRESS_MUTATION_SEND'])([_0x4639f4],null)||[_0x4639f4];this[_0x3a1c9b(0xb9)](_0x41a29d[0x0]);})),_0x5b9096;}},_0x1aec2f['DocCollaborationEntity']=_0x9335c4([_0x838fd8(0x3,_0x532776['Inject'](_0x532776[_0x1d4b46(0x2c2)])),_0x838fd8(0x4,_0x532776[_0x1d4b46(0xd1)](_0x85f3d2[_0x1d4b46(0x24d)])),_0x838fd8(0x5,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x97)])),_0x838fd8(0x6,_0x532776[_0x1d4b46(0xd1)](_0x85f3d2[_0x1d4b46(0x391)])),_0x838fd8(0x7,_0x532776[_0x1d4b46(0xd1)](_0x4a5b95)),_0x838fd8(0x8,_0x532776[_0x1d4b46(0x16e)]),_0x838fd8(0x9,_0x532776[_0x1d4b46(0x283)]),_0x838fd8(0xa,_0x532776[_0x1d4b46(0xde)]),_0x838fd8(0xb,_0x532776['Optional'](_0x5486b6)),_0x838fd8(0xc,_0x532776['Optional'](_0x1d8499))],_0x1aec2f['DocCollaborationEntity']),_0x1aec2f[_0x1d4b46(0x100)]=class extends _0x1aec2f[_0x1d4b46(0x29d)]{constructor(_0x537162,_0x49bb1e,_0xe5729b,_0xed45c5,_0x2b17e2,_0x3951a7,_0x5a11d3,_0x32bcf3,_0x2427e4,_0x261e5b,_0x1f21ef,_0x4e95ab,_0x563d7a,_0x173b5f){var _0x37ffeb=_0x1d4b46;super(_0x537162,_0xe5729b,_0x49bb1e,_0xed45c5,_0x2b17e2,_0x3951a7,_0x5a11d3,_0x2427e4,_0x261e5b,_0x1f21ef,_0x4e95ab,_0x563d7a,_0x173b5f),this[_0x37ffeb(0x3cf)]=_0x537162,this[_0x37ffeb(0x3c7)]=_0x49bb1e,this[_0x37ffeb(0x1ab)]=_0x32bcf3;}[_0x1d4b46(0x38f)](){var _0x3878ec=_0x1d4b46;const _0x3a19ab=super[_0x3878ec(0x38f)]();return _0x3a19ab['onTransformSelections']=_0x3dc738=>this[_0x3878ec(0x1ab)][_0x3878ec(0x2a3)](_0x3dc738),_0x3a19ab;}async[_0x1d4b46(0x2b3)](){var _0x31e045=_0x1d4b46;const _0x5288e1=await super[_0x31e045(0x2b3)]();return this['disposeWithMe'](this['_commandService'][_0x31e045(0x2ab)]((_0x5ab3be,_0x45e33f)=>{var _0x42982d=_0x31e045;if(_0x5ab3be[_0x42982d(0x3c7)]!==_0x532776[_0x42982d(0x3c1)][_0x42982d(0x12c)]||_0x45e33f!=null&&_0x45e33f[_0x42982d(0x28b)]||_0x45e33f!=null&&_0x45e33f[_0x42982d(0x3c9)])return;const _0x4cc93f=_0x5ab3be[_0x42982d(0x123)];if((_0x4cc93f==null?void 0x0:_0x4cc93f['unitId'])!==this[_0x42982d(0x3cf)])return;const _0x3f893b=_0x5ab3be,_0x4627a6=this[_0x42982d(0x345)]['interceptor'][_0x42982d(0x249)](this['_compressMutationService'][_0x42982d(0x21b)]['getInterceptPoints']()[_0x42982d(0x152)])([_0x3f893b],null)||[_0x3f893b];this[_0x42982d(0xb9)](_0x4627a6[0x0]);})),_0x5288e1;}},_0x1aec2f['SheetCollaborationEntity']=_0x9335c4([_0x838fd8(0x3,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x2c2)])),_0x838fd8(0x4,_0x532776[_0x1d4b46(0xd1)](_0x85f3d2[_0x1d4b46(0x24d)])),_0x838fd8(0x5,_0x532776['Inject'](_0x532776[_0x1d4b46(0x97)])),_0x838fd8(0x6,_0x532776['Inject'](_0x85f3d2['RevisionService'])),_0x838fd8(0x7,_0x532776['Inject'](_0x1aec2f[_0x1d4b46(0x331)])),_0x838fd8(0x8,_0x532776[_0x1d4b46(0xd1)](_0x4a5b95)),_0x838fd8(0x9,_0x532776[_0x1d4b46(0x16e)]),_0x838fd8(0xa,_0x532776[_0x1d4b46(0x283)]),_0x838fd8(0xb,_0x532776[_0x1d4b46(0xde)]),_0x838fd8(0xc,_0x532776[_0x1d4b46(0x2d0)](_0x5486b6)),_0x838fd8(0xd,_0x532776['Optional'](_0x1d8499))],_0x1aec2f['SheetCollaborationEntity']);var _0x272c3a=Object['getOwnPropertyDescriptor'],_0x3282d7=(_0x2aa2bd,_0xe01c8e,_0x1b4b67,_0x302ed1)=>{var _0x855b30=_0x1d4b46;for(var _0x179b83=_0x302ed1>0x1?void 0x0:_0x302ed1?_0x272c3a(_0xe01c8e,_0x1b4b67):_0xe01c8e,_0x1546ab=_0x2aa2bd[_0x855b30(0x225)]-0x1,_0x2ca0c2;_0x1546ab>=0x0;_0x1546ab--)(_0x2ca0c2=_0x2aa2bd[_0x1546ab])&&(_0x179b83=_0x2ca0c2(_0x179b83)||_0x179b83);return _0x179b83;},_0x11b21c=(_0x276ad9,_0x5bb0b8)=>(_0x29c911,_0xa242bb)=>_0x5bb0b8(_0x29c911,_0xa242bb,_0x276ad9);_0x1aec2f['CollaborationController']=class extends _0x532776[_0x1d4b46(0x69)]{constructor(_0x286b69,_0x2bad49,_0x29abff){var _0x2256ba=_0x1d4b46;super(),_0x218999(this,'_entities',new Map()),_0x218999(this,'_entityInit$',new _0x14df21[(_0x2256ba(0xeb))]()),_0x218999(this,_0x2256ba(0x379),this[_0x2256ba(0x398)]['asObservable']()),(this['_injector']=_0x286b69,this[_0x2256ba(0xcc)]=_0x2bad49,this['_univerInstanceService']=_0x29abff,this[_0x2256ba(0x2b3)]());}[_0x1d4b46(0x170)](){var _0x25da57=_0x1d4b46;super[_0x25da57(0x170)](),this['_entities']['forEach'](_0x295a3a=>_0x295a3a[_0x25da57(0x170)]()),this[_0x25da57(0x33b)][_0x25da57(0x1d1)]();}[_0x1d4b46(0x1a2)](_0x1cbfac){var _0x3ad009=_0x1d4b46,_0x459df0;return(_0x459df0=this[_0x3ad009(0x33b)][_0x3ad009(0x95)](_0x1cbfac))!=null?_0x459df0:null;}[_0x1d4b46(0x2c5)](_0xf63973){var _0x1c8ce1=_0x1d4b46;const _0xd3cf24=this[_0x1c8ce1(0x1a2)](_0xf63973);return _0xd3cf24?_0x14df21['of'](_0xd3cf24):this['_entityInit$'][_0x1c8ce1(0x1d8)](_0x3828c6['filter'](_0x4e2e1a=>_0x4e2e1a[_0x1c8ce1(0x3cf)]===_0xf63973));}[_0x1d4b46(0x1a6)](_0x30bc19){var _0x43190c=_0x1d4b46;return _0x14df21[_0x43190c(0x295)](this[_0x43190c(0x2c5)](_0x30bc19)[_0x43190c(0x1d8)](_0x3828c6['map'](()=>{})));}[_0x1d4b46(0x2b3)](){var _0x2fc6d8=_0x1d4b46;this['_univerInstanceService'][_0x2fc6d8(0x160)](_0x532776['UniverInstanceType'][_0x2fc6d8(0x16a)])['pipe'](_0x14df21[_0x2fc6d8(0x16d)](this['dispose$']),_0x3828c6[_0x2fc6d8(0x165)](0x10))['subscribe'](async _0xc3a3f=>{var _0x4291f5=_0x2fc6d8;const _0x4cfcfa=_0xc3a3f[_0x4291f5(0xba)](),_0x39cf05=await this[_0x4291f5(0x1f3)](_0x4cfcfa,_0x49bbf8[_0x4291f5(0x16a)]);this['_entities']['set'](_0x4cfcfa,_0x39cf05);}),this[_0x2fc6d8(0x293)][_0x2fc6d8(0x160)](_0x532776[_0x2fc6d8(0x211)][_0x2fc6d8(0x3b1)])[_0x2fc6d8(0x1d8)](_0x14df21[_0x2fc6d8(0x16d)](this['dispose$']),_0x3828c6['delay'](0x10))['pipe'](_0x3828c6['filter'](_0x376b73=>!_0x376b73[_0x2fc6d8(0xba)]()[_0x2fc6d8(0x2e6)]('__')))['subscribe'](async _0x270e5e=>{var _0x378021=_0x2fc6d8;const _0x15795f=_0x270e5e[_0x378021(0xba)](),_0x18165d=await this[_0x378021(0x1f3)](_0x15795f,_0x49bbf8[_0x378021(0x3b1)]);this[_0x378021(0x33b)][_0x378021(0x2be)](_0x15795f,_0x18165d);}),_0x14df21[_0x2fc6d8(0x27d)](this[_0x2fc6d8(0x293)][_0x2fc6d8(0x1c9)](_0x532776[_0x2fc6d8(0x211)][_0x2fc6d8(0x16a)]),this[_0x2fc6d8(0x293)][_0x2fc6d8(0x1c9)](_0x532776[_0x2fc6d8(0x211)][_0x2fc6d8(0x3b1)]))[_0x2fc6d8(0x1d8)](_0x14df21[_0x2fc6d8(0x16d)](this['dispose$']))[_0x2fc6d8(0x394)](_0x3b647f=>{var _0x1e7bf5=_0x2fc6d8;const _0x3b5c0d=_0x3b647f[_0x1e7bf5(0xba)](),_0x507b3c=this[_0x1e7bf5(0x33b)][_0x1e7bf5(0x95)](_0x3b5c0d);_0x507b3c&&(_0x507b3c[_0x1e7bf5(0x170)](),this[_0x1e7bf5(0x33b)][_0x1e7bf5(0x10a)](_0x3b5c0d));});}async['_startCollaboration'](_0x3c1cb6,_0x97b8f4){var _0xfc2f3a=_0x1d4b46;const _0x37885c=await this[_0xfc2f3a(0xcc)][_0xfc2f3a(0xc2)](_0x3c1cb6),_0x67762=this[_0xfc2f3a(0xb8)][_0xfc2f3a(0x1aa)](this[_0xfc2f3a(0x175)](_0x97b8f4),_0x3c1cb6,_0x97b8f4,_0x37885c);return await _0x67762[_0xfc2f3a(0x39b)](),this[_0xfc2f3a(0x398)][_0xfc2f3a(0x2e4)](_0x67762),_0x67762;}[_0x1d4b46(0x175)](_0x143bd2){var _0x10b29d=_0x1d4b46;switch(_0x143bd2){case _0x49bbf8[_0x10b29d(0x3b1)]:return _0x1aec2f[_0x10b29d(0x3a1)];case _0x49bbf8[_0x10b29d(0x16a)]:return _0x1aec2f[_0x10b29d(0x100)];default:throw new Error(_0x10b29d(0x237)+_0x143bd2);}}},_0x1aec2f[_0x1d4b46(0x111)]=_0x3282d7([_0x11b21c(0x0,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x2c2)])),_0x11b21c(0x1,_0x532776[_0x1d4b46(0xd1)](_0x1aec2f['CollaborationSessionService'])),_0x11b21c(0x2,_0x532776[_0x1d4b46(0x395)])],_0x1aec2f[_0x1d4b46(0x111)]);var _0x47858c=Object['getOwnPropertyDescriptor'],_0x4f4877=(_0x294455,_0x5c0b9f,_0x144649,_0x8285d4)=>{var _0x1b2603=_0x1d4b46;for(var _0xcdc606=_0x8285d4>0x1?void 0x0:_0x8285d4?_0x47858c(_0x5c0b9f,_0x144649):_0x5c0b9f,_0x269a59=_0x294455[_0x1b2603(0x225)]-0x1,_0x2bb017;_0x269a59>=0x0;_0x269a59--)(_0x2bb017=_0x294455[_0x269a59])&&(_0xcdc606=_0x2bb017(_0xcdc606)||_0xcdc606);return _0xcdc606;},_0x340d34=(_0x5d3305,_0x27a925)=>(_0x54dcc8,_0x195ae4)=>_0x27a925(_0x54dcc8,_0x195ae4,_0x5d3305);const _0x2f959d='DEFAULT_FILE_NAME',_0xae09d0='Univer';let _0xf5ec1b=class extends _0x532776[_0x1d4b46(0x33c)]{constructor(_0x48f512,_0x4c0343){var _0x5c407b=_0x1d4b46;super(),this[_0x5c407b(0x293)]=_0x48f512,this[_0x5c407b(0x144)]=_0x4c0343,this[_0x5c407b(0x2b3)]();}['_init'](){var _0x25083f=_0x1d4b46;this[_0x25083f(0x242)](this[_0x25083f(0x293)]['focused$']['subscribe'](()=>{var _0x25c21b=_0x25083f,_0x2160f8;const _0x214e56=this[_0x25c21b(0x293)]['getFocusedUnit']();let _0x37f40f=(_0x2160f8=this['_configService'][_0x25c21b(0x390)](_0x2f959d))!=null?_0x2160f8:_0xae09d0;_0x214e56 instanceof _0x532776['Workbook']&&(_0x37f40f=_0x214e56[_0x25c21b(0x1f7)]),document[_0x25c21b(0x2fe)]=_0x37f40f;}));}};_0xf5ec1b=_0x4f4877([_0x340d34(0x0,_0x532776[_0x1d4b46(0x395)]),_0x340d34(0x1,_0x532776['IConfigService'])],_0xf5ec1b);var _0x40635f=Object[_0x1d4b46(0x3cc)],_0x59f19a=(_0x738858,_0x2c50ca,_0x4ad712,_0x1af065)=>{for(var _0x163003=_0x1af065>0x1?void 0x0:_0x1af065?_0x40635f(_0x2c50ca,_0x4ad712):_0x2c50ca,_0x569874=_0x738858['length']-0x1,_0xb7ca77;_0x569874>=0x0;_0x569874--)(_0xb7ca77=_0x738858[_0x569874])&&(_0x163003=_0xb7ca77(_0x163003)||_0x163003);return _0x163003;},_0x2bce22=(_0x35c19d,_0x73de74)=>(_0x2142d3,_0x407b89)=>_0x73de74(_0x2142d3,_0x407b89,_0x35c19d);let _0x594d90=class{constructor(_0x5c98ee,_0x21b20d,_0x32af2f){var _0x4c38f0=_0x1d4b46;this[_0x4c38f0(0x144)]=_0x5c98ee,this[_0x4c38f0(0x10e)]=_0x21b20d,this['localeService']=_0x32af2f,this[_0x4c38f0(0x39b)]();}[_0x1d4b46(0x39b)](){var _0x22a652=_0x1d4b46;this[_0x22a652(0x10e)][_0x22a652(0x2d3)]({'priority':0x1,'interceptor':(_0x539fbd,_0x377a27)=>_0x377a27(_0x539fbd)['pipe'](_0x14df21[_0x22a652(0x37c)](async _0x4fa9d2=>{var _0x2e739b=_0x22a652;const _0x3b489d=_0x4fa9d2;if(_0x3b489d[_0x2e739b(0x28f)]===0x191){if(typeof window>'u')throw new Error(_0x2e739b(0xae));if(window[_0x2e739b(0xc9)](this[_0x2e739b(0x11c)]['t'](_0x2e739b(0x30c)))){const _0x929d2f=window[_0x2e739b(0x20f)](window[_0x2e739b(0x1b7)][_0x2e739b(0x22c)]);window['location'][_0x2e739b(0x22c)]=this[_0x2e739b(0x2a0)]()+_0x2e739b(0x31d)+_0x929d2f;}}return _0x3b489d;}))});}[_0x1d4b46(0x2a0)](){var _0x4a84b9=_0x1d4b46,_0x50b66d,_0x59ceb4;const _0xd44773=this[_0x4a84b9(0x144)][_0x4a84b9(0x390)](_0x22ef8a),_0x5b16da=this[_0x4a84b9(0x144)][_0x4a84b9(0x390)](_0x1105e7);return(_0x59ceb4=(_0x50b66d=_0x5b16da==null?void 0x0:_0x5b16da[_0x4a84b9(0xef)])!=null?_0x50b66d:_0xd44773)!=null?_0x59ceb4:_0x2e43f2;}};_0x594d90=_0x59f19a([_0x2bce22(0x0,_0x532776['IConfigService']),_0x2bce22(0x1,_0x532776[_0x1d4b46(0xd1)](_0x20209c[_0x1d4b46(0x201)])),_0x2bce22(0x2,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x97)]))],_0x594d90);var _0x3f365c=Object[_0x1d4b46(0x3cc)],_0x12212f=(_0x4f9928,_0x50dbfb,_0x285a97,_0x2fd06f)=>{for(var _0x55d611=_0x2fd06f>0x1?void 0x0:_0x2fd06f?_0x3f365c(_0x50dbfb,_0x285a97):_0x50dbfb,_0xb88193=_0x4f9928['length']-0x1,_0x2bd31c;_0xb88193>=0x0;_0xb88193--)(_0x2bd31c=_0x4f9928[_0xb88193])&&(_0x55d611=_0x2bd31c(_0x55d611)||_0x55d611);return _0x55d611;},_0x4dec14=(_0x394b46,_0x3d5556)=>(_0x267406,_0x5821e1)=>_0x3d5556(_0x267406,_0x5821e1,_0x394b46);const _0x1ff695=_0x1d4b46(0x275),_0x46ddf1='/universer-api/authz';_0x1aec2f[_0x1d4b46(0x2c7)]=class extends _0x532776['Disposable']{constructor(_0x4664ad,_0x3576d8){var _0xfb8f1b=_0x1d4b46;super(),this['_HTTPService']=_0x4664ad,this[_0xfb8f1b(0x144)]=_0x3576d8,this[_0xfb8f1b(0xe2)]();}[_0x1d4b46(0xe2)](){var _0x3c0db3=_0x1d4b46;const _0x2b186a=this;this[_0x3c0db3(0x242)](this[_0x3c0db3(0x186)][_0x3c0db3(0x2d3)]({'priority':0x3e7,'interceptor':_0x20209c['MergeInterceptorFactory']({'isMatch'(_0x53c6e8){var _0x2da50e=_0x3c0db3,_0x267181;if(_0x53c6e8[_0x2da50e(0x219)]===_0x2da50e(0x3c5)&&((_0x267181=_0x53c6e8[_0x2da50e(0x11b)])!=null&&_0x267181[_0x2da50e(0xf9)])){const {objectID:_0x271825,objectType:_0x99eba8}=_0x53c6e8[_0x2da50e(0x11b)][_0x2da50e(0xf9)]||{};if(!_0x271825||_0x99eba8===void 0x0)return!0x1;const _0x1c6759=_0x2b186a['_getAPIPrefixPath']()+'/'+_0x99eba8+_0x2da50e(0xd8)+_0x271825+_0x2da50e(0x16b);if(_0x53c6e8['url']===_0x1c6759)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4e4c88){var _0x12adfa=_0x3c0db3,_0xfb7b36;return(_0xfb7b36=_0x4e4c88[_0x12adfa(0x11b)])==null?void 0x0:_0xfb7b36['body'];},'mergeParamsToRequest'(_0x10aec,_0x2ef00b){var _0x15e95a=_0x3c0db3;const _0x2b26e0=_0x2b186a[_0x15e95a(0x128)]()+'/-/object/-/batch_allowed',_0x4875f5=_0x10aec[_0x15e95a(0x2fa)]((_0x372b8d,_0x32e33e)=>{var _0x2e63e0=_0x15e95a;const {unitID:_0x4720e1,objectID:_0x39ae15,objectType:_0x1964df,actions:_0x597a71}=_0x32e33e;return _0x372b8d[_0x4720e1]||(_0x372b8d[_0x4720e1]={}),_0x372b8d[_0x4720e1][_0x39ae15]||(_0x372b8d[_0x4720e1][_0x39ae15]={'objectID':_0x39ae15,'objectType':_0x1964df,'actions':[]}),_0x372b8d[_0x4720e1][_0x39ae15][_0x2e63e0(0x338)][_0x2e63e0(0x2d1)](..._0x597a71),_0x372b8d;},{}),_0x1845ec=[];for(const _0x298e60 in _0x4875f5)for(const _0x4ead28 in _0x4875f5[_0x298e60]){const {actions:_0x100b80,objectType:_0x49d3cb}=_0x4875f5[_0x298e60][_0x4ead28],_0x44fe2b=[...new Set(_0x100b80)];_0x1845ec[_0x15e95a(0x2d1)]({'unitID':_0x298e60,'objectID':_0x4ead28,'objectType':_0x49d3cb,'actions':_0x44fe2b});}return new _0x20209c['HTTPRequest']('POST',_0x2b26e0,{'headers':_0x2ef00b[_0x15e95a(0x19c)],'withCredentials':_0x2ef00b[_0x15e95a(0x191)],'responseType':_0x2ef00b[_0x15e95a(0x335)],'body':{'requests':_0x1845ec}});}},{'distributeResult'(_0x29c3da,_0x207ac6){var _0x5e1803=_0x3c0db3;const {objectActions:_0xf32424}=_0x29c3da;return _0x207ac6[_0x5e1803(0x1dd)](_0x51da0d=>{var _0xe76419=_0x5e1803;const {unitID:_0x94fab,objectID:_0x188806,actions:_0x370383}=_0x51da0d,_0x3dad18=_0xf32424[_0xe76419(0x213)](_0x2e182c=>_0x2e182c[_0xe76419(0x3cf)]===_0x94fab&&_0x2e182c[_0xe76419(0x334)]===_0x188806),_0x153981=_0x370383[_0xe76419(0x1dd)](_0x4a7f74=>_0x3dad18==null?void 0x0:_0x3dad18[_0xe76419(0x338)][_0xe76419(0x213)](_0x2160e7=>_0x2160e7['action']===_0x4a7f74))['filter'](_0x2aefe2=>!!_0x2aefe2);return{'config':_0x51da0d,'result':{'actions':_0x153981,'error':_0x29c3da[_0xe76419(0x244)]}};});}})}));}['_getAPIPrefixPath'](){var _0x1f805a=_0x1d4b46,_0x3057fc,_0x12e9ff;const _0x194936=this[_0x1f805a(0x144)][_0x1f805a(0x390)](_0x1ff695),_0xd016b6=this['_configService'][_0x1f805a(0x390)](_0x1105e7);return(_0x12e9ff=(_0x3057fc=_0xd016b6==null?void 0x0:_0xd016b6[_0x1f805a(0x2f3)])!=null?_0x3057fc:_0x194936)!=null?_0x12e9ff:_0x46ddf1;}async[_0x1d4b46(0x3de)](_0x10472c){var _0x32ab1e=_0x1d4b46;const _0x57ecd0=this[_0x32ab1e(0x128)]()+'/'+_0x10472c[_0x32ab1e(0x317)]+_0x32ab1e(0x119);return(await this[_0x32ab1e(0x186)][_0x32ab1e(0x234)](_0x57ecd0,{'body':_0x10472c}))[_0x32ab1e(0xf9)][_0x32ab1e(0x334)]||'';}async[_0x1d4b46(0xc1)](_0x10fc27){var _0x589b52=_0x1d4b46;const _0x3f2371=this[_0x589b52(0x128)]()+_0x589b52(0x9c);return(await this[_0x589b52(0x186)][_0x589b52(0x234)](_0x3f2371,{'body':_0x10fc27}))[_0x589b52(0xf9)][_0x589b52(0x291)];}async[_0x1d4b46(0x2f5)](_0x1333bb){var _0x4572ab=_0x1d4b46,_0x48c49e,_0x3ac869;const _0x58d0ed=this['_getAPIPrefixPath']()+'/'+_0x1333bb[_0x4572ab(0x317)]+_0x4572ab(0xd8)+_0x1333bb[_0x4572ab(0x334)],_0x22d34e=await this[_0x4572ab(0x186)][_0x4572ab(0xb6)](_0x58d0ed,{'body':_0x1333bb});if(((_0x3ac869=(_0x48c49e=_0x22d34e==null?void 0x0:_0x22d34e['body'])==null?void 0x0:_0x48c49e[_0x4572ab(0x244)])==null?void 0x0:_0x3ac869[_0x4572ab(0x333)])!==0x0)throw new Error(_0x4572ab(0x257));}async[_0x1d4b46(0x1cf)](_0x4a7b62){var _0x34525f=_0x1d4b46;const _0x22a1c6=this['_getAPIPrefixPath']()+'/'+_0x4a7b62[_0x34525f(0x317)]+'/object/'+_0x4a7b62[_0x34525f(0x334)]+_0x34525f(0x16b);return(await this[_0x34525f(0x186)]['post'](_0x22a1c6,{'body':_0x4a7b62}))['body'][_0x34525f(0x338)];}async[_0x1d4b46(0x39f)](_0x2431c6){var _0x51cbfc=_0x1d4b46;const _0x2274c0=this[_0x51cbfc(0x128)]()+_0x51cbfc(0x325);return(await this[_0x51cbfc(0x186)][_0x51cbfc(0x234)](_0x2274c0,{'body':{'requests':_0x2431c6}}))['body']['objectActions'];}async['listRoles'](_0x47ebc7){var _0x4bc910=_0x1d4b46;const _0x2b97c6=this[_0x4bc910(0x128)]()+'/'+_0x47ebc7['objectType']+_0x4bc910(0x1f9),_0x1659f4=await this['_HTTPService']['post'](_0x2b97c6,{'body':_0x47ebc7});return{'roles':_0x1659f4[_0x4bc910(0xf9)][_0x4bc910(0xbd)],'actions':_0x1659f4[_0x4bc910(0xf9)][_0x4bc910(0x338)]};}async[_0x1d4b46(0xaa)](_0x3f127c){var _0x40b588=_0x1d4b46;const _0x1e0d53=this[_0x40b588(0x128)]()+_0x40b588(0x240);await this[_0x40b588(0x186)][_0x40b588(0x10a)](_0x1e0d53,{'params':{'collaboratorID':_0x3f127c['collaboratorID'],'objectID':_0x3f127c['objectID'],'unitID':_0x3f127c[_0x40b588(0x3cf)]}});}async[_0x1d4b46(0x2a7)](_0x5183da){var _0x192a28=_0x1d4b46;const _0xe0cc74=this[_0x192a28(0x128)]()+_0x192a28(0x240);await this['_HTTPService'][_0x192a28(0x383)](_0xe0cc74,{'body':_0x5183da});}async['createCollaborator'](_0x1f1758){var _0x1a08ec=_0x1d4b46;const _0x878f31=this[_0x1a08ec(0x128)]()+_0x1a08ec(0x240);await this[_0x1a08ec(0x186)][_0x1a08ec(0x234)](_0x878f31,{'body':_0x1f1758});}async[_0x1d4b46(0x356)](_0xbd58e4){var _0x1da8da=_0x1d4b46;const _0xb5ee9e=this[_0x1da8da(0x128)]()+_0x1da8da(0x240);return(await this['_HTTPService'][_0x1da8da(0x95)](_0xb5ee9e,{'params':{'objectID':_0xbd58e4[_0x1da8da(0x334)],'unitID':_0xbd58e4[_0x1da8da(0x3cf)]}}))[_0x1da8da(0xf9)][_0x1da8da(0x1ea)];}async[_0x1d4b46(0x34f)](_0x244f07){var _0x34e4c6=_0x1d4b46;const _0x264a15=this[_0x34e4c6(0x128)]()+'/collaborator';await this['_HTTPService']['put'](_0x264a15,{'body':_0x244f07});}},_0x1aec2f[_0x1d4b46(0x2c7)]=_0x12212f([_0x4dec14(0x0,_0x532776['Inject'](_0x20209c[_0x1d4b46(0x201)])),_0x4dec14(0x1,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x1e6)]))],_0x1aec2f[_0x1d4b46(0x2c7)]);var _0x554d4c=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x2d2bd0(_0x30b2c7){var _0x53dae1=_0x1d4b46;return _0x30b2c7&&_0x30b2c7[_0x53dae1(0x222)]&&Object[_0x53dae1(0xe7)][_0x53dae1(0xd7)][_0x53dae1(0x387)](_0x30b2c7,_0x53dae1(0xdf))?_0x30b2c7[_0x53dae1(0xdf)]:_0x30b2c7;}var _0x2b5117={'exports':{}};function _0x1f73ad(_0xaee8e0){var _0x57df22=_0x1d4b46;throw new Error(_0x57df22(0x11e)+_0xaee8e0+_0x57df22(0x19a));}var _0x4689e9={'exports':{}},_0x1b7f4c=_0x4689e9['exports'],_0x25b9db;function _0x419ac8(){var _0x1407d0=_0x1d4b46;return _0x25b9db||(_0x25b9db=0x1,function(_0x2c1bc2,_0x3e7327){(function(_0x2fbcae,_0x39ef23){var _0x27cbd2=_0x5ddd;_0x2c1bc2[_0x27cbd2(0xda)]=_0x39ef23();}(_0x1b7f4c,function(){var _0x57cc2f=_0x57cc2f||function(_0x392113,_0x4b8a61){var _0x175491=_0x5ddd,_0x4a4408;if(typeof window<'u'&&window['crypto']&&(_0x4a4408=window['crypto']),typeof self<'u'&&self[_0x175491(0x1d3)]&&(_0x4a4408=self[_0x175491(0x1d3)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4a4408=globalThis[_0x175491(0x1d3)]),!_0x4a4408&&typeof window<'u'&&window[_0x175491(0x6a)]&&(_0x4a4408=window[_0x175491(0x6a)]),!_0x4a4408&&typeof _0x554d4c<'u'&&_0x554d4c['crypto']&&(_0x4a4408=_0x554d4c[_0x175491(0x1d3)]),!_0x4a4408&&typeof _0x1f73ad=='function')try{_0x4a4408=require(_0x175491(0x1d3));}catch{}var _0x1de3f0=function(){var _0x211938=_0x175491;if(_0x4a4408){if(typeof _0x4a4408[_0x211938(0x92)]==_0x211938(0xe1))try{return _0x4a4408[_0x211938(0x92)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4a4408[_0x211938(0x308)]==_0x211938(0xe1))try{return _0x4a4408[_0x211938(0x308)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3ed92c=Object[_0x175491(0x3de)]||(function(){function _0x41ddbe(){}return function(_0x3b1087){var _0x5eafef=_0x5ddd,_0x3ccf51;return _0x41ddbe[_0x5eafef(0xe7)]=_0x3b1087,_0x3ccf51=new _0x41ddbe(),_0x41ddbe[_0x5eafef(0xe7)]=null,_0x3ccf51;};}()),_0x3b4aa1={},_0x1dcec4=_0x3b4aa1[_0x175491(0x75)]={},_0x14c287=_0x1dcec4[_0x175491(0x1f4)]=(function(){return{'extend':function(_0x48c1fc){var _0x492e86=_0x5ddd,_0x523b53=_0x3ed92c(this);return _0x48c1fc&&_0x523b53['mixIn'](_0x48c1fc),(!_0x523b53['hasOwnProperty'](_0x492e86(0x39b))||this['init']===_0x523b53[_0x492e86(0x39b)])&&(_0x523b53[_0x492e86(0x39b)]=function(){var _0x2b02ad=_0x492e86;_0x523b53[_0x2b02ad(0x1c6)][_0x2b02ad(0x39b)][_0x2b02ad(0xcb)](this,arguments);}),_0x523b53[_0x492e86(0x39b)][_0x492e86(0xe7)]=_0x523b53,_0x523b53[_0x492e86(0x1c6)]=this,_0x523b53;},'create':function(){var _0x3994ae=_0x5ddd,_0x1b5b8b=this[_0x3994ae(0x34b)]();return _0x1b5b8b[_0x3994ae(0x39b)][_0x3994ae(0xcb)](_0x1b5b8b,arguments),_0x1b5b8b;},'init':function(){},'mixIn':function(_0x4f94cd){var _0x45230c=_0x5ddd;for(var _0x87dd99 in _0x4f94cd)_0x4f94cd[_0x45230c(0xd7)](_0x87dd99)&&(this[_0x87dd99]=_0x4f94cd[_0x87dd99]);_0x4f94cd[_0x45230c(0xd7)](_0x45230c(0xb1))&&(this['toString']=_0x4f94cd[_0x45230c(0xb1)]);},'clone':function(){var _0x5e5af2=_0x5ddd;return this['init'][_0x5e5af2(0xe7)]['extend'](this);}};}()),_0x1235e0=_0x1dcec4[_0x175491(0x255)]=_0x14c287[_0x175491(0x34b)]({'init':function(_0x5d1304,_0xbffd66){var _0x3fe0fa=_0x175491;_0x5d1304=this['words']=_0x5d1304||[],_0xbffd66!=_0x4b8a61?this[_0x3fe0fa(0x35a)]=_0xbffd66:this[_0x3fe0fa(0x35a)]=_0x5d1304[_0x3fe0fa(0x225)]*0x4;},'toString':function(_0x32c9e6){var _0x18c99b=_0x175491;return(_0x32c9e6||_0x361807)[_0x18c99b(0x8f)](this);},'concat':function(_0x52b2f3){var _0x37e12b=_0x175491,_0x5c9baa=this[_0x37e12b(0x2c9)],_0x1910ac=_0x52b2f3['words'],_0x28a2e8=this[_0x37e12b(0x35a)],_0x548c0c=_0x52b2f3[_0x37e12b(0x35a)];if(this['clamp'](),_0x28a2e8%0x4)for(var _0x1ccaae=0x0;_0x1ccaae<_0x548c0c;_0x1ccaae++){var _0x1ca969=_0x1910ac[_0x1ccaae>>>0x2]>>>0x18-_0x1ccaae%0x4*0x8&0xff;_0x5c9baa[_0x28a2e8+_0x1ccaae>>>0x2]|=_0x1ca969<<0x18-(_0x28a2e8+_0x1ccaae)%0x4*0x8;}else{for(var _0x1a702c=0x0;_0x1a702c<_0x548c0c;_0x1a702c+=0x4)_0x5c9baa[_0x28a2e8+_0x1a702c>>>0x2]=_0x1910ac[_0x1a702c>>>0x2];}return this['sigBytes']+=_0x548c0c,this;},'clamp':function(){var _0x43eee8=_0x175491,_0x37cac6=this[_0x43eee8(0x2c9)],_0x5edf54=this[_0x43eee8(0x35a)];_0x37cac6[_0x5edf54>>>0x2]&=0xffffffff<<0x20-_0x5edf54%0x4*0x8,_0x37cac6['length']=_0x392113[_0x43eee8(0xbe)](_0x5edf54/0x4);},'clone':function(){var _0x51899c=_0x175491,_0x29c58e=_0x14c287['clone'][_0x51899c(0x387)](this);return _0x29c58e[_0x51899c(0x2c9)]=this['words']['slice'](0x0),_0x29c58e;},'random':function(_0x280fb8){var _0x45d931=_0x175491;for(var _0x2f678c=[],_0x29ac98=0x0;_0x29ac98<_0x280fb8;_0x29ac98+=0x4)_0x2f678c[_0x45d931(0x2d1)](_0x1de3f0());return new _0x1235e0[(_0x45d931(0x39b))](_0x2f678c,_0x280fb8);}}),_0x25432d=_0x3b4aa1[_0x175491(0x14b)]={},_0x361807=_0x25432d[_0x175491(0x292)]={'stringify':function(_0x32cea0){var _0x35e705=_0x175491;for(var _0x5a5337=_0x32cea0[_0x35e705(0x2c9)],_0x55429a=_0x32cea0[_0x35e705(0x35a)],_0x198cae=[],_0x30d1ea=0x0;_0x30d1ea<_0x55429a;_0x30d1ea++){var _0x209dda=_0x5a5337[_0x30d1ea>>>0x2]>>>0x18-_0x30d1ea%0x4*0x8&0xff;_0x198cae[_0x35e705(0x2d1)]((_0x209dda>>>0x4)[_0x35e705(0xb1)](0x10)),_0x198cae[_0x35e705(0x2d1)]((_0x209dda&0xf)[_0x35e705(0xb1)](0x10));}return _0x198cae[_0x35e705(0x104)]('');},'parse':function(_0x25a8b5){var _0x2db60c=_0x175491;for(var _0x2ebbb1=_0x25a8b5[_0x2db60c(0x225)],_0x52f3b8=[],_0x27e03b=0x0;_0x27e03b<_0x2ebbb1;_0x27e03b+=0x2)_0x52f3b8[_0x27e03b>>>0x3]|=parseInt(_0x25a8b5[_0x2db60c(0x3d1)](_0x27e03b,0x2),0x10)<<0x18-_0x27e03b%0x8*0x4;return new _0x1235e0[(_0x2db60c(0x39b))](_0x52f3b8,_0x2ebbb1/0x2);}},_0x5244ae=_0x25432d[_0x175491(0x39d)]={'stringify':function(_0x23be96){var _0x49300a=_0x175491;for(var _0x2b7672=_0x23be96['words'],_0x386ae8=_0x23be96[_0x49300a(0x35a)],_0x3ed3cf=[],_0x5b7e47=0x0;_0x5b7e47<_0x386ae8;_0x5b7e47++){var _0x1f3345=_0x2b7672[_0x5b7e47>>>0x2]>>>0x18-_0x5b7e47%0x4*0x8&0xff;_0x3ed3cf['push'](String[_0x49300a(0xad)](_0x1f3345));}return _0x3ed3cf[_0x49300a(0x104)]('');},'parse':function(_0x9b7382){var _0x4315c4=_0x175491;for(var _0x14958a=_0x9b7382[_0x4315c4(0x225)],_0x56061a=[],_0x2dfe10=0x0;_0x2dfe10<_0x14958a;_0x2dfe10++)_0x56061a[_0x2dfe10>>>0x2]|=(_0x9b7382[_0x4315c4(0x77)](_0x2dfe10)&0xff)<<0x18-_0x2dfe10%0x4*0x8;return new _0x1235e0['init'](_0x56061a,_0x14958a);}},_0x12b235=_0x25432d['Utf8']={'stringify':function(_0x3eee56){var _0x1eb2a4=_0x175491;try{return decodeURIComponent(escape(_0x5244ae[_0x1eb2a4(0x8f)](_0x3eee56)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x257ed8){var _0x4d53ae=_0x175491;return _0x5244ae[_0x4d53ae(0x3c2)](unescape(encodeURIComponent(_0x257ed8)));}},_0x2a559d=_0x1dcec4[_0x175491(0x16c)]=_0x14c287[_0x175491(0x34b)]({'reset':function(){var _0x100aec=_0x175491;this[_0x100aec(0x3db)]=new _0x1235e0[(_0x100aec(0x39b))](),this[_0x100aec(0x2cd)]=0x0;},'_append':function(_0x4241b9){var _0x4fd958=_0x175491;typeof _0x4241b9==_0x4fd958(0x79)&&(_0x4241b9=_0x12b235[_0x4fd958(0x3c2)](_0x4241b9)),this['_data']['concat'](_0x4241b9),this['_nDataBytes']+=_0x4241b9[_0x4fd958(0x35a)];},'_process':function(_0x4e4973){var _0x54ef07=_0x175491,_0x3aaa98,_0x3508d2=this[_0x54ef07(0x3db)],_0x3b1c79=_0x3508d2[_0x54ef07(0x2c9)],_0x1f3699=_0x3508d2[_0x54ef07(0x35a)],_0x2c3d43=this['blockSize'],_0x64ddd7=_0x2c3d43*0x4,_0x46d606=_0x1f3699/_0x64ddd7;_0x4e4973?_0x46d606=_0x392113[_0x54ef07(0xbe)](_0x46d606):_0x46d606=_0x392113[_0x54ef07(0x2f2)]((_0x46d606|0x0)-this[_0x54ef07(0xed)],0x0);var _0x417d2a=_0x46d606*_0x2c3d43,_0x245959=_0x392113['min'](_0x417d2a*0x4,_0x1f3699);if(_0x417d2a){for(var _0x48b8e2=0x0;_0x48b8e2<_0x417d2a;_0x48b8e2+=_0x2c3d43)this[_0x54ef07(0x19d)](_0x3b1c79,_0x48b8e2);_0x3aaa98=_0x3b1c79[_0x54ef07(0x232)](0x0,_0x417d2a),_0x3508d2[_0x54ef07(0x35a)]-=_0x245959;}return new _0x1235e0[(_0x54ef07(0x39b))](_0x3aaa98,_0x245959);},'clone':function(){var _0x4da81b=_0x175491,_0x54fe70=_0x14c287[_0x4da81b(0x238)][_0x4da81b(0x387)](this);return _0x54fe70[_0x4da81b(0x3db)]=this[_0x4da81b(0x3db)]['clone'](),_0x54fe70;},'_minBufferSize':0x0});_0x1dcec4[_0x175491(0x227)]=_0x2a559d[_0x175491(0x34b)]({'cfg':_0x14c287[_0x175491(0x34b)](),'init':function(_0xea6254){var _0x5712ef=_0x175491;this[_0x5712ef(0xce)]=this['cfg'][_0x5712ef(0x34b)](_0xea6254),this[_0x5712ef(0x372)]();},'reset':function(){var _0xec93d5=_0x175491;_0x2a559d['reset'][_0xec93d5(0x387)](this),this[_0xec93d5(0x2de)]();},'update':function(_0x35b9c9){var _0x597808=_0x175491;return this[_0x597808(0x22a)](_0x35b9c9),this['_process'](),this;},'finalize':function(_0x2f8930){var _0x25ef41=_0x175491;_0x2f8930&&this[_0x25ef41(0x22a)](_0x2f8930);var _0x199e0e=this[_0x25ef41(0x216)]();return _0x199e0e;},'blockSize':0x10,'_createHelper':function(_0x2afe57){return function(_0x13aeea,_0x268edb){var _0x2050b7=_0x5ddd;return new _0x2afe57['init'](_0x268edb)[_0x2050b7(0x272)](_0x13aeea);};},'_createHmacHelper':function(_0x70c4a6){return function(_0x1c1780,_0x3da7db){var _0x32346f=_0x5ddd;return new _0x1a9a62['HMAC'][(_0x32346f(0x39b))](_0x70c4a6,_0x3da7db)['finalize'](_0x1c1780);};}});var _0x1a9a62=_0x3b4aa1['algo']={};return _0x3b4aa1;}(Math);return _0x57cc2f;}));}(_0x4689e9)),_0x4689e9[_0x1407d0(0xda)];}var _0xd64fe6={'exports':{}},_0x36c24c=_0xd64fe6[_0x1d4b46(0xda)],_0xa30aaa;function _0x56db4d(){var _0x477401=_0x1d4b46;return _0xa30aaa||(_0xa30aaa=0x1,function(_0x479d45,_0x38499f){(function(_0x338697,_0x463764){var _0x5dbe16=_0x5ddd;_0x479d45[_0x5dbe16(0xda)]=_0x463764(_0x419ac8());}(_0x36c24c,function(_0x39e671){return(function(){var _0x237912=_0x5ddd,_0x384663=_0x39e671,_0x4be0b3=_0x384663[_0x237912(0x75)],_0x1346c8=_0x4be0b3[_0x237912(0x255)],_0x2c33b3=_0x384663[_0x237912(0x14b)];_0x2c33b3['Base64']={'stringify':function(_0x53ca6a){var _0x498d94=_0x237912,_0x8cf868=_0x53ca6a[_0x498d94(0x2c9)],_0x3a061d=_0x53ca6a[_0x498d94(0x35a)],_0x2bd858=this['_map'];_0x53ca6a['clamp']();for(var _0xea2764=[],_0x12337e=0x0;_0x12337e<_0x3a061d;_0x12337e+=0x3)for(var _0x4952b1=_0x8cf868[_0x12337e>>>0x2]>>>0x18-_0x12337e%0x4*0x8&0xff,_0xcf0e4e=_0x8cf868[_0x12337e+0x1>>>0x2]>>>0x18-(_0x12337e+0x1)%0x4*0x8&0xff,_0x514828=_0x8cf868[_0x12337e+0x2>>>0x2]>>>0x18-(_0x12337e+0x2)%0x4*0x8&0xff,_0x2c6530=_0x4952b1<<0x10|_0xcf0e4e<<0x8|_0x514828,_0x499bf5=0x0;_0x499bf5<0x4&&_0x12337e+_0x499bf5*0.75<_0x3a061d;_0x499bf5++)_0xea2764[_0x498d94(0x2d1)](_0x2bd858[_0x498d94(0x2ae)](_0x2c6530>>>0x6*(0x3-_0x499bf5)&0x3f));var _0x2ee352=_0x2bd858[_0x498d94(0x2ae)](0x40);if(_0x2ee352){for(;_0xea2764[_0x498d94(0x225)]%0x4;)_0xea2764[_0x498d94(0x2d1)](_0x2ee352);}return _0xea2764['join']('');},'parse':function(_0x196257){var _0x571415=_0x237912,_0x3f583a=_0x196257[_0x571415(0x225)],_0x439e72=this[_0x571415(0x3a8)],_0xf355c9=this['_reverseMap'];if(!_0xf355c9){_0xf355c9=this[_0x571415(0x1cd)]=[];for(var _0x2a7566=0x0;_0x2a7566<_0x439e72['length'];_0x2a7566++)_0xf355c9[_0x439e72[_0x571415(0x77)](_0x2a7566)]=_0x2a7566;}var _0x2e5137=_0x439e72['charAt'](0x40);if(_0x2e5137){var _0x556a79=_0x196257[_0x571415(0x9a)](_0x2e5137);_0x556a79!==-0x1&&(_0x3f583a=_0x556a79);}return _0x5a1943(_0x196257,_0x3f583a,_0xf355c9);},'_map':_0x237912(0x36a)};function _0x5a1943(_0x1192df,_0x2a6e07,_0x28917c){var _0x3b986e=_0x237912;for(var _0x351c55=[],_0x35d9a9=0x0,_0x4b8cc8=0x0;_0x4b8cc8<_0x2a6e07;_0x4b8cc8++)if(_0x4b8cc8%0x4){var _0xf705d4=_0x28917c[_0x1192df[_0x3b986e(0x77)](_0x4b8cc8-0x1)]<<_0x4b8cc8%0x4*0x2,_0x3338dc=_0x28917c[_0x1192df[_0x3b986e(0x77)](_0x4b8cc8)]>>>0x6-_0x4b8cc8%0x4*0x2,_0x37abba=_0xf705d4|_0x3338dc;_0x351c55[_0x35d9a9>>>0x2]|=_0x37abba<<0x18-_0x35d9a9%0x4*0x8,_0x35d9a9++;}return _0x1346c8[_0x3b986e(0x3de)](_0x351c55,_0x35d9a9);}}()),_0x39e671['enc']['Base64'];}));}(_0xd64fe6)),_0xd64fe6[_0x477401(0xda)];}var _0x5e5c7d={'exports':{}},_0x7da66b=_0x5e5c7d[_0x1d4b46(0xda)],_0x447513;function _0x3d1c84(){var _0x20b705=_0x1d4b46;return _0x447513||(_0x447513=0x1,function(_0x1cd1ab,_0x3a6cae){(function(_0x18c847,_0x418440){_0x1cd1ab['exports']=_0x418440(_0x419ac8());}(_0x7da66b,function(_0x33a4a6){var _0x152ea0=_0x5ddd;return function(_0x85c236){var _0x2babc2=_0x5ddd,_0x28ef5=_0x33a4a6,_0x425aeb=_0x28ef5[_0x2babc2(0x75)],_0x421e68=_0x425aeb[_0x2babc2(0x255)],_0x1136e1=_0x425aeb[_0x2babc2(0x227)],_0x4b1b16=_0x28ef5[_0x2babc2(0x1bd)],_0x41d118=[];(function(){var _0x3ae249=_0x2babc2;for(var _0x4fb678=0x0;_0x4fb678<0x40;_0x4fb678++)_0x41d118[_0x4fb678]=_0x85c236[_0x3ae249(0xa2)](_0x85c236[_0x3ae249(0x369)](_0x4fb678+0x1))*0x100000000|0x0;}());var _0x4b889=_0x4b1b16[_0x2babc2(0x36f)]=_0x1136e1['extend']({'_doReset':function(){var _0x59e675=_0x2babc2;this[_0x59e675(0x1e7)]=new _0x421e68[(_0x59e675(0x39b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x211a83,_0x7aa217){for(var _0x43a11d=0x0;_0x43a11d<0x10;_0x43a11d++){var _0x3c59eb=_0x7aa217+_0x43a11d,_0x2ef2f9=_0x211a83[_0x3c59eb];_0x211a83[_0x3c59eb]=(_0x2ef2f9<<0x8|_0x2ef2f9>>>0x18)&0xff00ff|(_0x2ef2f9<<0x18|_0x2ef2f9>>>0x8)&0xff00ff00;}var _0x5922e4=this['_hash']['words'],_0x28c565=_0x211a83[_0x7aa217+0x0],_0xf250a7=_0x211a83[_0x7aa217+0x1],_0x27420b=_0x211a83[_0x7aa217+0x2],_0x243a30=_0x211a83[_0x7aa217+0x3],_0x415eda=_0x211a83[_0x7aa217+0x4],_0x42e7cf=_0x211a83[_0x7aa217+0x5],_0x24a891=_0x211a83[_0x7aa217+0x6],_0x3edd3e=_0x211a83[_0x7aa217+0x7],_0x237fad=_0x211a83[_0x7aa217+0x8],_0x39cbb9=_0x211a83[_0x7aa217+0x9],_0x1aec16=_0x211a83[_0x7aa217+0xa],_0xfbb2ad=_0x211a83[_0x7aa217+0xb],_0x41a247=_0x211a83[_0x7aa217+0xc],_0xe0de32=_0x211a83[_0x7aa217+0xd],_0x140e8f=_0x211a83[_0x7aa217+0xe],_0x1ef745=_0x211a83[_0x7aa217+0xf],_0x38d2d3=_0x5922e4[0x0],_0x145c7c=_0x5922e4[0x1],_0x453249=_0x5922e4[0x2],_0x1b318f=_0x5922e4[0x3];_0x38d2d3=_0x2c8243(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0x28c565,0x7,_0x41d118[0x0]),_0x1b318f=_0x2c8243(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0xf250a7,0xc,_0x41d118[0x1]),_0x453249=_0x2c8243(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x27420b,0x11,_0x41d118[0x2]),_0x145c7c=_0x2c8243(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0x243a30,0x16,_0x41d118[0x3]),_0x38d2d3=_0x2c8243(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0x415eda,0x7,_0x41d118[0x4]),_0x1b318f=_0x2c8243(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0x42e7cf,0xc,_0x41d118[0x5]),_0x453249=_0x2c8243(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x24a891,0x11,_0x41d118[0x6]),_0x145c7c=_0x2c8243(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0x3edd3e,0x16,_0x41d118[0x7]),_0x38d2d3=_0x2c8243(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0x237fad,0x7,_0x41d118[0x8]),_0x1b318f=_0x2c8243(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0x39cbb9,0xc,_0x41d118[0x9]),_0x453249=_0x2c8243(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x1aec16,0x11,_0x41d118[0xa]),_0x145c7c=_0x2c8243(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0xfbb2ad,0x16,_0x41d118[0xb]),_0x38d2d3=_0x2c8243(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0x41a247,0x7,_0x41d118[0xc]),_0x1b318f=_0x2c8243(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0xe0de32,0xc,_0x41d118[0xd]),_0x453249=_0x2c8243(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x140e8f,0x11,_0x41d118[0xe]),_0x145c7c=_0x2c8243(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0x1ef745,0x16,_0x41d118[0xf]),_0x38d2d3=_0x4aff57(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0xf250a7,0x5,_0x41d118[0x10]),_0x1b318f=_0x4aff57(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0x24a891,0x9,_0x41d118[0x11]),_0x453249=_0x4aff57(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0xfbb2ad,0xe,_0x41d118[0x12]),_0x145c7c=_0x4aff57(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0x28c565,0x14,_0x41d118[0x13]),_0x38d2d3=_0x4aff57(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0x42e7cf,0x5,_0x41d118[0x14]),_0x1b318f=_0x4aff57(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0x1aec16,0x9,_0x41d118[0x15]),_0x453249=_0x4aff57(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x1ef745,0xe,_0x41d118[0x16]),_0x145c7c=_0x4aff57(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0x415eda,0x14,_0x41d118[0x17]),_0x38d2d3=_0x4aff57(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0x39cbb9,0x5,_0x41d118[0x18]),_0x1b318f=_0x4aff57(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0x140e8f,0x9,_0x41d118[0x19]),_0x453249=_0x4aff57(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x243a30,0xe,_0x41d118[0x1a]),_0x145c7c=_0x4aff57(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0x237fad,0x14,_0x41d118[0x1b]),_0x38d2d3=_0x4aff57(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0xe0de32,0x5,_0x41d118[0x1c]),_0x1b318f=_0x4aff57(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0x27420b,0x9,_0x41d118[0x1d]),_0x453249=_0x4aff57(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x3edd3e,0xe,_0x41d118[0x1e]),_0x145c7c=_0x4aff57(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0x41a247,0x14,_0x41d118[0x1f]),_0x38d2d3=_0xb589a4(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0x42e7cf,0x4,_0x41d118[0x20]),_0x1b318f=_0xb589a4(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0x237fad,0xb,_0x41d118[0x21]),_0x453249=_0xb589a4(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0xfbb2ad,0x10,_0x41d118[0x22]),_0x145c7c=_0xb589a4(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0x140e8f,0x17,_0x41d118[0x23]),_0x38d2d3=_0xb589a4(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0xf250a7,0x4,_0x41d118[0x24]),_0x1b318f=_0xb589a4(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0x415eda,0xb,_0x41d118[0x25]),_0x453249=_0xb589a4(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x3edd3e,0x10,_0x41d118[0x26]),_0x145c7c=_0xb589a4(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0x1aec16,0x17,_0x41d118[0x27]),_0x38d2d3=_0xb589a4(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0xe0de32,0x4,_0x41d118[0x28]),_0x1b318f=_0xb589a4(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0x28c565,0xb,_0x41d118[0x29]),_0x453249=_0xb589a4(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x243a30,0x10,_0x41d118[0x2a]),_0x145c7c=_0xb589a4(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0x24a891,0x17,_0x41d118[0x2b]),_0x38d2d3=_0xb589a4(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0x39cbb9,0x4,_0x41d118[0x2c]),_0x1b318f=_0xb589a4(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0x41a247,0xb,_0x41d118[0x2d]),_0x453249=_0xb589a4(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x1ef745,0x10,_0x41d118[0x2e]),_0x145c7c=_0xb589a4(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0x27420b,0x17,_0x41d118[0x2f]),_0x38d2d3=_0x5a9fd9(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0x28c565,0x6,_0x41d118[0x30]),_0x1b318f=_0x5a9fd9(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0x3edd3e,0xa,_0x41d118[0x31]),_0x453249=_0x5a9fd9(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x140e8f,0xf,_0x41d118[0x32]),_0x145c7c=_0x5a9fd9(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0x42e7cf,0x15,_0x41d118[0x33]),_0x38d2d3=_0x5a9fd9(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0x41a247,0x6,_0x41d118[0x34]),_0x1b318f=_0x5a9fd9(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0x243a30,0xa,_0x41d118[0x35]),_0x453249=_0x5a9fd9(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x1aec16,0xf,_0x41d118[0x36]),_0x145c7c=_0x5a9fd9(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0xf250a7,0x15,_0x41d118[0x37]),_0x38d2d3=_0x5a9fd9(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0x237fad,0x6,_0x41d118[0x38]),_0x1b318f=_0x5a9fd9(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0x1ef745,0xa,_0x41d118[0x39]),_0x453249=_0x5a9fd9(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x24a891,0xf,_0x41d118[0x3a]),_0x145c7c=_0x5a9fd9(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0xe0de32,0x15,_0x41d118[0x3b]),_0x38d2d3=_0x5a9fd9(_0x38d2d3,_0x145c7c,_0x453249,_0x1b318f,_0x415eda,0x6,_0x41d118[0x3c]),_0x1b318f=_0x5a9fd9(_0x1b318f,_0x38d2d3,_0x145c7c,_0x453249,_0xfbb2ad,0xa,_0x41d118[0x3d]),_0x453249=_0x5a9fd9(_0x453249,_0x1b318f,_0x38d2d3,_0x145c7c,_0x27420b,0xf,_0x41d118[0x3e]),_0x145c7c=_0x5a9fd9(_0x145c7c,_0x453249,_0x1b318f,_0x38d2d3,_0x39cbb9,0x15,_0x41d118[0x3f]),_0x5922e4[0x0]=_0x5922e4[0x0]+_0x38d2d3|0x0,_0x5922e4[0x1]=_0x5922e4[0x1]+_0x145c7c|0x0,_0x5922e4[0x2]=_0x5922e4[0x2]+_0x453249|0x0,_0x5922e4[0x3]=_0x5922e4[0x3]+_0x1b318f|0x0;},'_doFinalize':function(){var _0x40aa73=_0x2babc2,_0x240c61=this[_0x40aa73(0x3db)],_0x37cea1=_0x240c61[_0x40aa73(0x2c9)],_0x273bd9=this[_0x40aa73(0x2cd)]*0x8,_0xb319b4=_0x240c61[_0x40aa73(0x35a)]*0x8;_0x37cea1[_0xb319b4>>>0x5]|=0x80<<0x18-_0xb319b4%0x20;var _0xe0d9dd=_0x85c236['floor'](_0x273bd9/0x100000000),_0x3d4325=_0x273bd9;_0x37cea1[(_0xb319b4+0x40>>>0x9<<0x4)+0xf]=(_0xe0d9dd<<0x8|_0xe0d9dd>>>0x18)&0xff00ff|(_0xe0d9dd<<0x18|_0xe0d9dd>>>0x8)&0xff00ff00,_0x37cea1[(_0xb319b4+0x40>>>0x9<<0x4)+0xe]=(_0x3d4325<<0x8|_0x3d4325>>>0x18)&0xff00ff|(_0x3d4325<<0x18|_0x3d4325>>>0x8)&0xff00ff00,_0x240c61[_0x40aa73(0x35a)]=(_0x37cea1[_0x40aa73(0x225)]+0x1)*0x4,this[_0x40aa73(0x27f)]();for(var _0xf21ff4=this[_0x40aa73(0x1e7)],_0x28e0d9=_0xf21ff4['words'],_0x5102a8=0x0;_0x5102a8<0x4;_0x5102a8++){var _0x5aefb0=_0x28e0d9[_0x5102a8];_0x28e0d9[_0x5102a8]=(_0x5aefb0<<0x8|_0x5aefb0>>>0x18)&0xff00ff|(_0x5aefb0<<0x18|_0x5aefb0>>>0x8)&0xff00ff00;}return _0xf21ff4;},'clone':function(){var _0x4ee540=_0x2babc2,_0x2e9c56=_0x1136e1['clone'][_0x4ee540(0x387)](this);return _0x2e9c56[_0x4ee540(0x1e7)]=this[_0x4ee540(0x1e7)]['clone'](),_0x2e9c56;}});function _0x2c8243(_0x3a4372,_0xfd5b53,_0x4df156,_0xe6e723,_0x51e8ff,_0x5542b9,_0x50fe91){var _0x2a828b=_0x3a4372+(_0xfd5b53&_0x4df156|~_0xfd5b53&_0xe6e723)+_0x51e8ff+_0x50fe91;return(_0x2a828b<<_0x5542b9|_0x2a828b>>>0x20-_0x5542b9)+_0xfd5b53;}function _0x4aff57(_0x58e3da,_0x1827f9,_0x452da7,_0x55dd2e,_0x201139,_0x3a7e57,_0x3d4724){var _0x2657e3=_0x58e3da+(_0x1827f9&_0x55dd2e|_0x452da7&~_0x55dd2e)+_0x201139+_0x3d4724;return(_0x2657e3<<_0x3a7e57|_0x2657e3>>>0x20-_0x3a7e57)+_0x1827f9;}function _0xb589a4(_0x23f624,_0x4d6817,_0x3c7c9a,_0x14a499,_0x53c253,_0x204921,_0x4547a8){var _0x1e3ba4=_0x23f624+(_0x4d6817^_0x3c7c9a^_0x14a499)+_0x53c253+_0x4547a8;return(_0x1e3ba4<<_0x204921|_0x1e3ba4>>>0x20-_0x204921)+_0x4d6817;}function _0x5a9fd9(_0x29cafa,_0x4d114e,_0xfd849e,_0x44fadf,_0x2bc92c,_0x581745,_0x15d651){var _0x1539e8=_0x29cafa+(_0xfd849e^(_0x4d114e|~_0x44fadf))+_0x2bc92c+_0x15d651;return(_0x1539e8<<_0x581745|_0x1539e8>>>0x20-_0x581745)+_0x4d114e;}_0x28ef5[_0x2babc2(0x36f)]=_0x1136e1['_createHelper'](_0x4b889),_0x28ef5[_0x2babc2(0x1b9)]=_0x1136e1[_0x2babc2(0x288)](_0x4b889);}(Math),_0x33a4a6[_0x152ea0(0x36f)];}));}(_0x5e5c7d)),_0x5e5c7d[_0x20b705(0xda)];}var _0x455469={'exports':{}},_0x20cd47={'exports':{}},_0xd00dd7=_0x20cd47[_0x1d4b46(0xda)],_0x381790;function _0x570fb4(){var _0x3821d1=_0x1d4b46;return _0x381790||(_0x381790=0x1,function(_0x37873e,_0x21a782){(function(_0x4b2828,_0x337e3a){var _0x36e2a5=_0x5ddd;_0x37873e[_0x36e2a5(0xda)]=_0x337e3a(_0x419ac8());}(_0xd00dd7,function(_0x17b976){var _0x5e658f=_0x5ddd;return(function(){var _0x3fd065=_0x5ddd,_0x322948=_0x17b976,_0x18932b=_0x322948[_0x3fd065(0x75)],_0x8717c3=_0x18932b['WordArray'],_0x19b78b=_0x18932b[_0x3fd065(0x227)],_0x296106=_0x322948[_0x3fd065(0x1bd)],_0x15678b=[],_0x90d353=_0x296106[_0x3fd065(0xea)]=_0x19b78b[_0x3fd065(0x34b)]({'_doReset':function(){var _0x291adc=_0x3fd065;this[_0x291adc(0x1e7)]=new _0x8717c3['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1d2539,_0x3a8ae4){var _0x4e37c1=_0x3fd065;for(var _0x2d803d=this['_hash'][_0x4e37c1(0x2c9)],_0x56a3b2=_0x2d803d[0x0],_0x32f6b8=_0x2d803d[0x1],_0xd83267=_0x2d803d[0x2],_0x12822c=_0x2d803d[0x3],_0x322728=_0x2d803d[0x4],_0x321d08=0x0;_0x321d08<0x50;_0x321d08++){if(_0x321d08<0x10)_0x15678b[_0x321d08]=_0x1d2539[_0x3a8ae4+_0x321d08]|0x0;else{var _0x58cfd9=_0x15678b[_0x321d08-0x3]^_0x15678b[_0x321d08-0x8]^_0x15678b[_0x321d08-0xe]^_0x15678b[_0x321d08-0x10];_0x15678b[_0x321d08]=_0x58cfd9<<0x1|_0x58cfd9>>>0x1f;}var _0xb92dcd=(_0x56a3b2<<0x5|_0x56a3b2>>>0x1b)+_0x322728+_0x15678b[_0x321d08];_0x321d08<0x14?_0xb92dcd+=(_0x32f6b8&_0xd83267|~_0x32f6b8&_0x12822c)+0x5a827999:_0x321d08<0x28?_0xb92dcd+=(_0x32f6b8^_0xd83267^_0x12822c)+0x6ed9eba1:_0x321d08<0x3c?_0xb92dcd+=(_0x32f6b8&_0xd83267|_0x32f6b8&_0x12822c|_0xd83267&_0x12822c)-0x70e44324:_0xb92dcd+=(_0x32f6b8^_0xd83267^_0x12822c)-0x359d3e2a,_0x322728=_0x12822c,_0x12822c=_0xd83267,_0xd83267=_0x32f6b8<<0x1e|_0x32f6b8>>>0x2,_0x32f6b8=_0x56a3b2,_0x56a3b2=_0xb92dcd;}_0x2d803d[0x0]=_0x2d803d[0x0]+_0x56a3b2|0x0,_0x2d803d[0x1]=_0x2d803d[0x1]+_0x32f6b8|0x0,_0x2d803d[0x2]=_0x2d803d[0x2]+_0xd83267|0x0,_0x2d803d[0x3]=_0x2d803d[0x3]+_0x12822c|0x0,_0x2d803d[0x4]=_0x2d803d[0x4]+_0x322728|0x0;},'_doFinalize':function(){var _0x42718a=_0x3fd065,_0x496c76=this[_0x42718a(0x3db)],_0x55328f=_0x496c76[_0x42718a(0x2c9)],_0x773413=this[_0x42718a(0x2cd)]*0x8,_0xb44899=_0x496c76[_0x42718a(0x35a)]*0x8;return _0x55328f[_0xb44899>>>0x5]|=0x80<<0x18-_0xb44899%0x20,_0x55328f[(_0xb44899+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x773413/0x100000000),_0x55328f[(_0xb44899+0x40>>>0x9<<0x4)+0xf]=_0x773413,_0x496c76[_0x42718a(0x35a)]=_0x55328f[_0x42718a(0x225)]*0x4,this[_0x42718a(0x27f)](),this[_0x42718a(0x1e7)];},'clone':function(){var _0x49ddd5=_0x3fd065,_0x5c8d48=_0x19b78b[_0x49ddd5(0x238)][_0x49ddd5(0x387)](this);return _0x5c8d48['_hash']=this[_0x49ddd5(0x1e7)][_0x49ddd5(0x238)](),_0x5c8d48;}});_0x322948[_0x3fd065(0xea)]=_0x19b78b[_0x3fd065(0x340)](_0x90d353),_0x322948[_0x3fd065(0x3bd)]=_0x19b78b[_0x3fd065(0x288)](_0x90d353);}()),_0x17b976[_0x5e658f(0xea)];}));}(_0x20cd47)),_0x20cd47[_0x3821d1(0xda)];}var _0x47944e={'exports':{}},_0x325020=_0x47944e[_0x1d4b46(0xda)],_0x28a1e2;function _0x210fc5(){return _0x28a1e2||(_0x28a1e2=0x1,function(_0x2043ed,_0x593cfd){(function(_0x3a8a6f,_0x25a3c8){var _0x31dc9a=_0x5ddd;_0x2043ed[_0x31dc9a(0xda)]=_0x25a3c8(_0x419ac8());}(_0x325020,function(_0x304dc0){(function(){var _0x4a4ea4=_0x5ddd,_0x375fed=_0x304dc0,_0x228661=_0x375fed[_0x4a4ea4(0x75)],_0x1bbc9a=_0x228661[_0x4a4ea4(0x1f4)],_0x3b8dde=_0x375fed[_0x4a4ea4(0x14b)],_0x11be4c=_0x3b8dde[_0x4a4ea4(0x22e)],_0x1eeea1=_0x375fed[_0x4a4ea4(0x1bd)];_0x1eeea1[_0x4a4ea4(0x18b)]=_0x1bbc9a[_0x4a4ea4(0x34b)]({'init':function(_0x2363fd,_0x32bef0){var _0x12c2bc=_0x4a4ea4;_0x2363fd=this[_0x12c2bc(0x2c0)]=new _0x2363fd['init'](),typeof _0x32bef0=='string'&&(_0x32bef0=_0x11be4c[_0x12c2bc(0x3c2)](_0x32bef0));var _0x4dcbdf=_0x2363fd[_0x12c2bc(0x204)],_0x5d4b89=_0x4dcbdf*0x4;_0x32bef0[_0x12c2bc(0x35a)]>_0x5d4b89&&(_0x32bef0=_0x2363fd[_0x12c2bc(0x272)](_0x32bef0)),_0x32bef0[_0x12c2bc(0x3bb)]();for(var _0x44439c=this[_0x12c2bc(0x2b5)]=_0x32bef0[_0x12c2bc(0x238)](),_0x5e5760=this[_0x12c2bc(0x156)]=_0x32bef0[_0x12c2bc(0x238)](),_0x14d2fa=_0x44439c[_0x12c2bc(0x2c9)],_0x1f7f99=_0x5e5760[_0x12c2bc(0x2c9)],_0x1a6e57=0x0;_0x1a6e57<_0x4dcbdf;_0x1a6e57++)_0x14d2fa[_0x1a6e57]^=0x5c5c5c5c,_0x1f7f99[_0x1a6e57]^=0x36363636;_0x44439c[_0x12c2bc(0x35a)]=_0x5e5760['sigBytes']=_0x5d4b89,this[_0x12c2bc(0x372)]();},'reset':function(){var _0x31e3a4=_0x4a4ea4,_0x154704=this['_hasher'];_0x154704['reset'](),_0x154704[_0x31e3a4(0x2f5)](this[_0x31e3a4(0x156)]);},'update':function(_0x32fd19){var _0x59199c=_0x4a4ea4;return this[_0x59199c(0x2c0)][_0x59199c(0x2f5)](_0x32fd19),this;},'finalize':function(_0x1bb314){var _0x4cc40a=_0x4a4ea4,_0x98a7be=this[_0x4cc40a(0x2c0)],_0x5054d4=_0x98a7be[_0x4cc40a(0x272)](_0x1bb314);_0x98a7be[_0x4cc40a(0x372)]();var _0x4f2bf0=_0x98a7be['finalize'](this['_oKey'][_0x4cc40a(0x238)]()[_0x4cc40a(0x223)](_0x5054d4));return _0x4f2bf0;}});}());}));}(_0x47944e)),_0x47944e['exports'];}var _0x8f85b6=_0x455469[_0x1d4b46(0xda)],_0x1805e6;function _0x2ea04f(){var _0x2780e7=_0x1d4b46;return _0x1805e6||(_0x1805e6=0x1,function(_0x466656,_0x31fdef){(function(_0x4652c1,_0x1a0e97,_0x406a3f){var _0x6cd5a4=_0x5ddd;_0x466656[_0x6cd5a4(0xda)]=_0x1a0e97(_0x419ac8(),_0x570fb4(),_0x210fc5());}(_0x8f85b6,function(_0x59a4cf){var _0x74f0e9=_0x5ddd;return(function(){var _0x238be9=_0x5ddd,_0x41613a=_0x59a4cf,_0x1bbca9=_0x41613a['lib'],_0x5bd5f7=_0x1bbca9['Base'],_0x64390b=_0x1bbca9['WordArray'],_0x80071f=_0x41613a[_0x238be9(0x1bd)],_0x32b658=_0x80071f['MD5'],_0x5bdd50=_0x80071f[_0x238be9(0x13b)]=_0x5bd5f7[_0x238be9(0x34b)]({'cfg':_0x5bd5f7[_0x238be9(0x34b)]({'keySize':0x80/0x20,'hasher':_0x32b658,'iterations':0x1}),'init':function(_0x24b041){var _0x3c8afe=_0x238be9;this[_0x3c8afe(0xce)]=this[_0x3c8afe(0xce)][_0x3c8afe(0x34b)](_0x24b041);},'compute':function(_0xbf9d04,_0x112248){var _0x2087ce=_0x238be9;for(var _0x2420c8,_0x297029=this[_0x2087ce(0xce)],_0x3f9ce1=_0x297029[_0x2087ce(0x137)]['create'](),_0x40f54d=_0x64390b[_0x2087ce(0x3de)](),_0x3c1da7=_0x40f54d['words'],_0xc828a1=_0x297029[_0x2087ce(0x163)],_0x3c4a70=_0x297029['iterations'];_0x3c1da7[_0x2087ce(0x225)]<_0xc828a1;){_0x2420c8&&_0x3f9ce1[_0x2087ce(0x2f5)](_0x2420c8),_0x2420c8=_0x3f9ce1[_0x2087ce(0x2f5)](_0xbf9d04)['finalize'](_0x112248),_0x3f9ce1['reset']();for(var _0x1862b0=0x1;_0x1862b0<_0x3c4a70;_0x1862b0++)_0x2420c8=_0x3f9ce1[_0x2087ce(0x272)](_0x2420c8),_0x3f9ce1[_0x2087ce(0x372)]();_0x40f54d[_0x2087ce(0x223)](_0x2420c8);}return _0x40f54d['sigBytes']=_0xc828a1*0x4,_0x40f54d;}});_0x41613a[_0x238be9(0x13b)]=function(_0x5d083b,_0x22bb55,_0x319393){var _0x3a6a54=_0x238be9;return _0x5bdd50[_0x3a6a54(0x3de)](_0x319393)[_0x3a6a54(0x2ec)](_0x5d083b,_0x22bb55);};}()),_0x59a4cf[_0x74f0e9(0x13b)];}));}(_0x455469)),_0x455469[_0x2780e7(0xda)];}var _0x3aa671={'exports':{}},_0x163ae1=_0x3aa671[_0x1d4b46(0xda)],_0x49fabc;function _0x486f14(){var _0x523383=_0x1d4b46;return _0x49fabc||(_0x49fabc=0x1,function(_0x102db6,_0x2111f3){(function(_0x5ccdf,_0xebe948,_0x5d4d59){var _0x5620ae=_0x5ddd;_0x102db6[_0x5620ae(0xda)]=_0xebe948(_0x419ac8(),_0x2ea04f());}(_0x163ae1,function(_0x327209){var _0x3cd569=_0x5ddd;_0x327209['lib'][_0x3cd569(0x3af)]||function(_0x28c0d7){var _0x2657ca=_0x3cd569,_0x1e1ecd=_0x327209,_0x433e95=_0x1e1ecd[_0x2657ca(0x75)],_0x1ed3e8=_0x433e95[_0x2657ca(0x1f4)],_0x4eea43=_0x433e95['WordArray'],_0x1fd718=_0x433e95[_0x2657ca(0x16c)],_0x5da9d4=_0x1e1ecd[_0x2657ca(0x14b)];_0x5da9d4[_0x2657ca(0x22e)];var _0x414378=_0x5da9d4[_0x2657ca(0x14a)],_0x1bfde4=_0x1e1ecd[_0x2657ca(0x1bd)],_0x5a960e=_0x1bfde4['EvpKDF'],_0xcc80b3=_0x433e95['Cipher']=_0x1fd718[_0x2657ca(0x34b)]({'cfg':_0x1ed3e8['extend'](),'createEncryptor':function(_0x1a5804,_0x257933){var _0x55a8bd=_0x2657ca;return this[_0x55a8bd(0x3de)](this[_0x55a8bd(0x3b4)],_0x1a5804,_0x257933);},'createDecryptor':function(_0x4ca3bd,_0x2cd3b4){return this['create'](this['_DEC_XFORM_MODE'],_0x4ca3bd,_0x2cd3b4);},'init':function(_0x4e138b,_0x4ceeca,_0x2304d7){var _0x5d5010=_0x2657ca;this[_0x5d5010(0xce)]=this[_0x5d5010(0xce)]['extend'](_0x2304d7),this['_xformMode']=_0x4e138b,this[_0x5d5010(0x12b)]=_0x4ceeca,this[_0x5d5010(0x372)]();},'reset':function(){var _0x639c7e=_0x2657ca;_0x1fd718[_0x639c7e(0x372)][_0x639c7e(0x387)](this),this[_0x639c7e(0x2de)]();},'process':function(_0x40efb7){var _0x50d918=_0x2657ca;return this[_0x50d918(0x22a)](_0x40efb7),this[_0x50d918(0x27f)]();},'finalize':function(_0x48d3a6){var _0x3f35ec=_0x2657ca;_0x48d3a6&&this[_0x3f35ec(0x22a)](_0x48d3a6);var _0x58977d=this[_0x3f35ec(0x216)]();return _0x58977d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x21b887(_0x1fe3e0){var _0x163ab8=_0x5ddd;return typeof _0x1fe3e0==_0x163ab8(0x79)?_0x13151e:_0x47b080;}return function(_0x2aaac1){return{'encrypt':function(_0x46bdad,_0x1c83bb,_0x1c92ff){var _0x2a4e63=_0x5ddd;return _0x21b887(_0x1c83bb)[_0x2a4e63(0x2ff)](_0x2aaac1,_0x46bdad,_0x1c83bb,_0x1c92ff);},'decrypt':function(_0x41c9a4,_0x1dff4f,_0xff9389){var _0x429f3c=_0x5ddd;return _0x21b887(_0x1dff4f)[_0x429f3c(0x179)](_0x2aaac1,_0x41c9a4,_0x1dff4f,_0xff9389);}};};}())});_0x433e95[_0x2657ca(0x18e)]=_0xcc80b3[_0x2657ca(0x34b)]({'_doFinalize':function(){var _0x44522f=_0x2657ca,_0x34fff5=this[_0x44522f(0x27f)](!0x0);return _0x34fff5;},'blockSize':0x1});var _0x3d9758=_0x1e1ecd[_0x2657ca(0x105)]={},_0x18ca46=_0x433e95['BlockCipherMode']=_0x1ed3e8['extend']({'createEncryptor':function(_0x291e88,_0x32c4b6){var _0x123f45=_0x2657ca;return this[_0x123f45(0x21f)][_0x123f45(0x3de)](_0x291e88,_0x32c4b6);},'createDecryptor':function(_0x1e93dd,_0x25edf3){var _0x5614d0=_0x2657ca;return this['Decryptor'][_0x5614d0(0x3de)](_0x1e93dd,_0x25edf3);},'init':function(_0x4e77d0,_0x338eac){var _0x5d79fd=_0x2657ca;this[_0x5d79fd(0x3cb)]=_0x4e77d0,this[_0x5d79fd(0x27a)]=_0x338eac;}}),_0x1e8368=_0x3d9758[_0x2657ca(0x31f)]=(function(){var _0xfebc0b=_0x2657ca,_0x114022=_0x18ca46[_0xfebc0b(0x34b)]();_0x114022[_0xfebc0b(0x21f)]=_0x114022[_0xfebc0b(0x34b)]({'processBlock':function(_0xee9d86,_0x46e5b4){var _0x3116b1=_0xfebc0b,_0x4d7229=this[_0x3116b1(0x3cb)],_0x58cdeb=_0x4d7229['blockSize'];_0x703107[_0x3116b1(0x387)](this,_0xee9d86,_0x46e5b4,_0x58cdeb),_0x4d7229[_0x3116b1(0x153)](_0xee9d86,_0x46e5b4),this[_0x3116b1(0x203)]=_0xee9d86[_0x3116b1(0x110)](_0x46e5b4,_0x46e5b4+_0x58cdeb);}}),_0x114022[_0xfebc0b(0x32f)]=_0x114022[_0xfebc0b(0x34b)]({'processBlock':function(_0x45b710,_0x2724c6){var _0x29ba6c=_0xfebc0b,_0x462735=this['_cipher'],_0x33b158=_0x462735[_0x29ba6c(0x204)],_0x1feebc=_0x45b710[_0x29ba6c(0x110)](_0x2724c6,_0x2724c6+_0x33b158);_0x462735[_0x29ba6c(0x145)](_0x45b710,_0x2724c6),_0x703107[_0x29ba6c(0x387)](this,_0x45b710,_0x2724c6,_0x33b158),this[_0x29ba6c(0x203)]=_0x1feebc;}});function _0x703107(_0x42246e,_0x2ff56c,_0x5f101f){var _0x32d9bb=_0xfebc0b,_0x493beb,_0x172a50=this['_iv'];_0x172a50?(_0x493beb=_0x172a50,this[_0x32d9bb(0x27a)]=_0x28c0d7):_0x493beb=this[_0x32d9bb(0x203)];for(var _0x564237=0x0;_0x564237<_0x5f101f;_0x564237++)_0x42246e[_0x2ff56c+_0x564237]^=_0x493beb[_0x564237];}return _0x114022;}()),_0x1ea399=_0x1e1ecd['pad']={},_0x4281e9=_0x1ea399[_0x2657ca(0x178)]={'pad':function(_0x4e8209,_0x517927){var _0x3a0dfe=_0x2657ca;for(var _0xd6b70f=_0x517927*0x4,_0x5b97b6=_0xd6b70f-_0x4e8209[_0x3a0dfe(0x35a)]%_0xd6b70f,_0x15f529=_0x5b97b6<<0x18|_0x5b97b6<<0x10|_0x5b97b6<<0x8|_0x5b97b6,_0x154ce8=[],_0x52b52f=0x0;_0x52b52f<_0x5b97b6;_0x52b52f+=0x4)_0x154ce8['push'](_0x15f529);var _0x43306e=_0x4eea43[_0x3a0dfe(0x3de)](_0x154ce8,_0x5b97b6);_0x4e8209['concat'](_0x43306e);},'unpad':function(_0x2e6035){var _0xd1dbd0=_0x2657ca,_0x226f62=_0x2e6035['words'][_0x2e6035['sigBytes']-0x1>>>0x2]&0xff;_0x2e6035[_0xd1dbd0(0x35a)]-=_0x226f62;}};_0x433e95['BlockCipher']=_0xcc80b3[_0x2657ca(0x34b)]({'cfg':_0xcc80b3[_0x2657ca(0xce)][_0x2657ca(0x34b)]({'mode':_0x1e8368,'padding':_0x4281e9}),'reset':function(){var _0x11e57b=_0x2657ca,_0x2896f9;_0xcc80b3[_0x11e57b(0x372)][_0x11e57b(0x387)](this);var _0x38f373=this['cfg'],_0x53b0e2=_0x38f373['iv'],_0x3aee3b=_0x38f373['mode'];this['_xformMode']==this[_0x11e57b(0x3b4)]?_0x2896f9=_0x3aee3b[_0x11e57b(0xf4)]:(_0x2896f9=_0x3aee3b[_0x11e57b(0x23c)],this[_0x11e57b(0xed)]=0x1),this[_0x11e57b(0x36e)]&&this[_0x11e57b(0x36e)]['__creator']==_0x2896f9?this['_mode'][_0x11e57b(0x39b)](this,_0x53b0e2&&_0x53b0e2['words']):(this[_0x11e57b(0x36e)]=_0x2896f9[_0x11e57b(0x387)](_0x3aee3b,this,_0x53b0e2&&_0x53b0e2[_0x11e57b(0x2c9)]),this[_0x11e57b(0x36e)]['__creator']=_0x2896f9);},'_doProcessBlock':function(_0x34ab43,_0x52c0ee){var _0x4f220b=_0x2657ca;this[_0x4f220b(0x36e)][_0x4f220b(0x13a)](_0x34ab43,_0x52c0ee);},'_doFinalize':function(){var _0xbe7d77=_0x2657ca,_0x2b1c93,_0x542d8d=this[_0xbe7d77(0xce)][_0xbe7d77(0x2f6)];return this[_0xbe7d77(0xa7)]==this[_0xbe7d77(0x3b4)]?(_0x542d8d[_0xbe7d77(0x82)](this[_0xbe7d77(0x3db)],this[_0xbe7d77(0x204)]),_0x2b1c93=this[_0xbe7d77(0x27f)](!0x0)):(_0x2b1c93=this[_0xbe7d77(0x27f)](!0x0),_0x542d8d[_0xbe7d77(0x3c6)](_0x2b1c93)),_0x2b1c93;},'blockSize':0x80/0x20});var _0x92fb84=_0x433e95[_0x2657ca(0x374)]=_0x1ed3e8['extend']({'init':function(_0x59dce9){this['mixIn'](_0x59dce9);},'toString':function(_0x5704ec){var _0x3ba799=_0x2657ca;return(_0x5704ec||this[_0x3ba799(0x2f7)])['stringify'](this);}}),_0x2019d9=_0x1e1ecd[_0x2657ca(0x3d0)]={},_0x5607d5=_0x2019d9['OpenSSL']={'stringify':function(_0x11b352){var _0x549e0c=_0x2657ca,_0x128418,_0x56106d=_0x11b352['ciphertext'],_0x247143=_0x11b352[_0x549e0c(0x25f)];return _0x247143?_0x128418=_0x4eea43[_0x549e0c(0x3de)]([0x53616c74,0x65645f5f])[_0x549e0c(0x223)](_0x247143)[_0x549e0c(0x223)](_0x56106d):_0x128418=_0x56106d,_0x128418[_0x549e0c(0xb1)](_0x414378);},'parse':function(_0x4e2865){var _0x5eb352=_0x2657ca,_0x43344d,_0x24e51d=_0x414378['parse'](_0x4e2865),_0x53abe1=_0x24e51d[_0x5eb352(0x2c9)];return _0x53abe1[0x0]==0x53616c74&&_0x53abe1[0x1]==0x65645f5f&&(_0x43344d=_0x4eea43[_0x5eb352(0x3de)](_0x53abe1[_0x5eb352(0x110)](0x2,0x4)),_0x53abe1[_0x5eb352(0x232)](0x0,0x4),_0x24e51d[_0x5eb352(0x35a)]-=0x10),_0x92fb84[_0x5eb352(0x3de)]({'ciphertext':_0x24e51d,'salt':_0x43344d});}},_0x47b080=_0x433e95[_0x2657ca(0x3be)]=_0x1ed3e8[_0x2657ca(0x34b)]({'cfg':_0x1ed3e8[_0x2657ca(0x34b)]({'format':_0x5607d5}),'encrypt':function(_0x5d30bd,_0x50c5a4,_0x39aa51,_0x175b87){var _0x1a1de4=_0x2657ca;_0x175b87=this[_0x1a1de4(0xce)][_0x1a1de4(0x34b)](_0x175b87);var _0x125fde=_0x5d30bd['createEncryptor'](_0x39aa51,_0x175b87),_0x7c9a01=_0x125fde[_0x1a1de4(0x272)](_0x50c5a4),_0x49188a=_0x125fde[_0x1a1de4(0xce)];return _0x92fb84[_0x1a1de4(0x3de)]({'ciphertext':_0x7c9a01,'key':_0x39aa51,'iv':_0x49188a['iv'],'algorithm':_0x5d30bd,'mode':_0x49188a['mode'],'padding':_0x49188a[_0x1a1de4(0x2f6)],'blockSize':_0x5d30bd[_0x1a1de4(0x204)],'formatter':_0x175b87[_0x1a1de4(0x3d0)]});},'decrypt':function(_0x12a604,_0x30776b,_0x3bddac,_0x420d66){var _0x12c39b=_0x2657ca;_0x420d66=this[_0x12c39b(0xce)][_0x12c39b(0x34b)](_0x420d66),_0x30776b=this[_0x12c39b(0x299)](_0x30776b,_0x420d66[_0x12c39b(0x3d0)]);var _0x16c715=_0x12a604[_0x12c39b(0x23c)](_0x3bddac,_0x420d66)['finalize'](_0x30776b['ciphertext']);return _0x16c715;},'_parse':function(_0x45ae8a,_0x4cbd0c){return typeof _0x45ae8a=='string'?_0x4cbd0c['parse'](_0x45ae8a,this):_0x45ae8a;}}),_0x536cc7=_0x1e1ecd[_0x2657ca(0x315)]={},_0x2d3a87=_0x536cc7[_0x2657ca(0x1ba)]={'execute':function(_0x3b5a10,_0x4e43a8,_0x4b7291,_0x12bd5b,_0x42a14f){var _0x2927e8=_0x2657ca;if(_0x12bd5b||(_0x12bd5b=_0x4eea43[_0x2927e8(0x1b8)](0x40/0x8)),_0x42a14f)var _0x40719c=_0x5a960e[_0x2927e8(0x3de)]({'keySize':_0x4e43a8+_0x4b7291,'hasher':_0x42a14f})[_0x2927e8(0x2ec)](_0x3b5a10,_0x12bd5b);else var _0x40719c=_0x5a960e[_0x2927e8(0x3de)]({'keySize':_0x4e43a8+_0x4b7291})[_0x2927e8(0x2ec)](_0x3b5a10,_0x12bd5b);var _0x5344e9=_0x4eea43[_0x2927e8(0x3de)](_0x40719c[_0x2927e8(0x2c9)]['slice'](_0x4e43a8),_0x4b7291*0x4);return _0x40719c[_0x2927e8(0x35a)]=_0x4e43a8*0x4,_0x92fb84['create']({'key':_0x40719c,'iv':_0x5344e9,'salt':_0x12bd5b});}},_0x13151e=_0x433e95[_0x2657ca(0x214)]=_0x47b080['extend']({'cfg':_0x47b080[_0x2657ca(0xce)]['extend']({'kdf':_0x2d3a87}),'encrypt':function(_0x5e7fd8,_0x5b15c1,_0x381b0d,_0x1cc5f1){var _0x5274bf=_0x2657ca;_0x1cc5f1=this[_0x5274bf(0xce)][_0x5274bf(0x34b)](_0x1cc5f1);var _0x558261=_0x1cc5f1[_0x5274bf(0x315)][_0x5274bf(0x148)](_0x381b0d,_0x5e7fd8['keySize'],_0x5e7fd8[_0x5274bf(0x349)],_0x1cc5f1[_0x5274bf(0x25f)],_0x1cc5f1[_0x5274bf(0x137)]);_0x1cc5f1['iv']=_0x558261['iv'];var _0x416496=_0x47b080[_0x5274bf(0x2ff)][_0x5274bf(0x387)](this,_0x5e7fd8,_0x5b15c1,_0x558261[_0x5274bf(0x28a)],_0x1cc5f1);return _0x416496[_0x5274bf(0x1be)](_0x558261),_0x416496;},'decrypt':function(_0x5927a2,_0x473319,_0x3baf1c,_0x55a1c7){var _0x3e334d=_0x2657ca;_0x55a1c7=this[_0x3e334d(0xce)][_0x3e334d(0x34b)](_0x55a1c7),_0x473319=this['_parse'](_0x473319,_0x55a1c7[_0x3e334d(0x3d0)]);var _0x32edde=_0x55a1c7[_0x3e334d(0x315)]['execute'](_0x3baf1c,_0x5927a2[_0x3e334d(0x163)],_0x5927a2[_0x3e334d(0x349)],_0x473319[_0x3e334d(0x25f)],_0x55a1c7[_0x3e334d(0x137)]);_0x55a1c7['iv']=_0x32edde['iv'];var _0x56d6c3=_0x47b080[_0x3e334d(0x179)][_0x3e334d(0x387)](this,_0x5927a2,_0x473319,_0x32edde[_0x3e334d(0x28a)],_0x55a1c7);return _0x56d6c3;}});}();}));}(_0x3aa671)),_0x3aa671[_0x523383(0xda)];}var _0x1e23b7=_0x2b5117['exports'],_0x3ddbe5;function _0x4464b1(){return _0x3ddbe5||(_0x3ddbe5=0x1,function(_0x1006c6,_0x3b756b){(function(_0x49591b,_0x1acc50,_0x5e6b05){var _0x1e150d=_0x5ddd;_0x1006c6[_0x1e150d(0xda)]=_0x1acc50(_0x419ac8(),_0x56db4d(),_0x3d1c84(),_0x2ea04f(),_0x486f14());}(_0x1e23b7,function(_0x31e444){var _0x2d4645=_0x5ddd;return(function(){var _0x2769c2=_0x5ddd,_0x1ac8b2=_0x31e444,_0x560829=_0x1ac8b2[_0x2769c2(0x75)],_0x429cc8=_0x560829['BlockCipher'],_0x4dc9dc=_0x1ac8b2[_0x2769c2(0x1bd)],_0x509a77=[],_0x6b73c0=[],_0xfab489=[],_0x3fa874=[],_0x245cae=[],_0x2aa78b=[],_0x4aae9c=[],_0x1378a6=[],_0x32aa29=[],_0x535ecd=[];(function(){for(var _0x3ce9a0=[],_0x33bb8b=0x0;_0x33bb8b<0x100;_0x33bb8b++)_0x33bb8b<0x80?_0x3ce9a0[_0x33bb8b]=_0x33bb8b<<0x1:_0x3ce9a0[_0x33bb8b]=_0x33bb8b<<0x1^0x11b;for(var _0x1fa6ca=0x0,_0x5dfe8d=0x0,_0x33bb8b=0x0;_0x33bb8b<0x100;_0x33bb8b++){var _0x575175=_0x5dfe8d^_0x5dfe8d<<0x1^_0x5dfe8d<<0x2^_0x5dfe8d<<0x3^_0x5dfe8d<<0x4;_0x575175=_0x575175>>>0x8^_0x575175&0xff^0x63,_0x509a77[_0x1fa6ca]=_0x575175,_0x6b73c0[_0x575175]=_0x1fa6ca;var _0x255c77=_0x3ce9a0[_0x1fa6ca],_0x5389da=_0x3ce9a0[_0x255c77],_0x5f00a6=_0x3ce9a0[_0x5389da],_0x3a1a0d=_0x3ce9a0[_0x575175]*0x101^_0x575175*0x1010100;_0xfab489[_0x1fa6ca]=_0x3a1a0d<<0x18|_0x3a1a0d>>>0x8,_0x3fa874[_0x1fa6ca]=_0x3a1a0d<<0x10|_0x3a1a0d>>>0x10,_0x245cae[_0x1fa6ca]=_0x3a1a0d<<0x8|_0x3a1a0d>>>0x18,_0x2aa78b[_0x1fa6ca]=_0x3a1a0d;var _0x3a1a0d=_0x5f00a6*0x1010101^_0x5389da*0x10001^_0x255c77*0x101^_0x1fa6ca*0x1010100;_0x4aae9c[_0x575175]=_0x3a1a0d<<0x18|_0x3a1a0d>>>0x8,_0x1378a6[_0x575175]=_0x3a1a0d<<0x10|_0x3a1a0d>>>0x10,_0x32aa29[_0x575175]=_0x3a1a0d<<0x8|_0x3a1a0d>>>0x18,_0x535ecd[_0x575175]=_0x3a1a0d,_0x1fa6ca?(_0x1fa6ca=_0x255c77^_0x3ce9a0[_0x3ce9a0[_0x3ce9a0[_0x5f00a6^_0x255c77]]],_0x5dfe8d^=_0x3ce9a0[_0x3ce9a0[_0x5dfe8d]]):_0x1fa6ca=_0x5dfe8d=0x1;}}());var _0x28581a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x194290=_0x4dc9dc[_0x2769c2(0x9d)]=_0x429cc8[_0x2769c2(0x34b)]({'_doReset':function(){var _0x20935a=_0x2769c2,_0x200e2a;if(!(this[_0x20935a(0x20d)]&&this[_0x20935a(0x3d4)]===this[_0x20935a(0x12b)])){for(var _0x41a139=this[_0x20935a(0x3d4)]=this[_0x20935a(0x12b)],_0x2c9152=_0x41a139[_0x20935a(0x2c9)],_0x5588e1=_0x41a139[_0x20935a(0x35a)]/0x4,_0x45deb2=this['_nRounds']=_0x5588e1+0x6,_0x6ef6b7=(_0x45deb2+0x1)*0x4,_0xcbd88f=this[_0x20935a(0x17b)]=[],_0x40d405=0x0;_0x40d405<_0x6ef6b7;_0x40d405++)_0x40d405<_0x5588e1?_0xcbd88f[_0x40d405]=_0x2c9152[_0x40d405]:(_0x200e2a=_0xcbd88f[_0x40d405-0x1],_0x40d405%_0x5588e1?_0x5588e1>0x6&&_0x40d405%_0x5588e1==0x4&&(_0x200e2a=_0x509a77[_0x200e2a>>>0x18]<<0x18|_0x509a77[_0x200e2a>>>0x10&0xff]<<0x10|_0x509a77[_0x200e2a>>>0x8&0xff]<<0x8|_0x509a77[_0x200e2a&0xff]):(_0x200e2a=_0x200e2a<<0x8|_0x200e2a>>>0x18,_0x200e2a=_0x509a77[_0x200e2a>>>0x18]<<0x18|_0x509a77[_0x200e2a>>>0x10&0xff]<<0x10|_0x509a77[_0x200e2a>>>0x8&0xff]<<0x8|_0x509a77[_0x200e2a&0xff],_0x200e2a^=_0x28581a[_0x40d405/_0x5588e1|0x0]<<0x18),_0xcbd88f[_0x40d405]=_0xcbd88f[_0x40d405-_0x5588e1]^_0x200e2a);for(var _0x4ed05b=this[_0x20935a(0xff)]=[],_0x26c554=0x0;_0x26c554<_0x6ef6b7;_0x26c554++){var _0x40d405=_0x6ef6b7-_0x26c554;if(_0x26c554%0x4)var _0x200e2a=_0xcbd88f[_0x40d405];else var _0x200e2a=_0xcbd88f[_0x40d405-0x4];_0x26c554<0x4||_0x40d405<=0x4?_0x4ed05b[_0x26c554]=_0x200e2a:_0x4ed05b[_0x26c554]=_0x4aae9c[_0x509a77[_0x200e2a>>>0x18]]^_0x1378a6[_0x509a77[_0x200e2a>>>0x10&0xff]]^_0x32aa29[_0x509a77[_0x200e2a>>>0x8&0xff]]^_0x535ecd[_0x509a77[_0x200e2a&0xff]];}}},'encryptBlock':function(_0x74230b,_0x24668c){var _0x205ce5=_0x2769c2;this[_0x205ce5(0x319)](_0x74230b,_0x24668c,this['_keySchedule'],_0xfab489,_0x3fa874,_0x245cae,_0x2aa78b,_0x509a77);},'decryptBlock':function(_0x346269,_0x28a236){var _0x1b24ff=_0x2769c2,_0x25885b=_0x346269[_0x28a236+0x1];_0x346269[_0x28a236+0x1]=_0x346269[_0x28a236+0x3],_0x346269[_0x28a236+0x3]=_0x25885b,this[_0x1b24ff(0x319)](_0x346269,_0x28a236,this[_0x1b24ff(0xff)],_0x4aae9c,_0x1378a6,_0x32aa29,_0x535ecd,_0x6b73c0);var _0x25885b=_0x346269[_0x28a236+0x1];_0x346269[_0x28a236+0x1]=_0x346269[_0x28a236+0x3],_0x346269[_0x28a236+0x3]=_0x25885b;},'_doCryptBlock':function(_0xa32186,_0x1e90d2,_0x3d6bfd,_0xb979fc,_0x4f4040,_0xa17242,_0x3ef55f,_0x28fa58){for(var _0xfffcfd=this['_nRounds'],_0x59bae6=_0xa32186[_0x1e90d2]^_0x3d6bfd[0x0],_0x46cf98=_0xa32186[_0x1e90d2+0x1]^_0x3d6bfd[0x1],_0x9b5baa=_0xa32186[_0x1e90d2+0x2]^_0x3d6bfd[0x2],_0x192f80=_0xa32186[_0x1e90d2+0x3]^_0x3d6bfd[0x3],_0x2d7c9d=0x4,_0x376dea=0x1;_0x376dea<_0xfffcfd;_0x376dea++){var _0x2e3876=_0xb979fc[_0x59bae6>>>0x18]^_0x4f4040[_0x46cf98>>>0x10&0xff]^_0xa17242[_0x9b5baa>>>0x8&0xff]^_0x3ef55f[_0x192f80&0xff]^_0x3d6bfd[_0x2d7c9d++],_0x262081=_0xb979fc[_0x46cf98>>>0x18]^_0x4f4040[_0x9b5baa>>>0x10&0xff]^_0xa17242[_0x192f80>>>0x8&0xff]^_0x3ef55f[_0x59bae6&0xff]^_0x3d6bfd[_0x2d7c9d++],_0x24d484=_0xb979fc[_0x9b5baa>>>0x18]^_0x4f4040[_0x192f80>>>0x10&0xff]^_0xa17242[_0x59bae6>>>0x8&0xff]^_0x3ef55f[_0x46cf98&0xff]^_0x3d6bfd[_0x2d7c9d++],_0x3d6626=_0xb979fc[_0x192f80>>>0x18]^_0x4f4040[_0x59bae6>>>0x10&0xff]^_0xa17242[_0x46cf98>>>0x8&0xff]^_0x3ef55f[_0x9b5baa&0xff]^_0x3d6bfd[_0x2d7c9d++];_0x59bae6=_0x2e3876,_0x46cf98=_0x262081,_0x9b5baa=_0x24d484,_0x192f80=_0x3d6626;}var _0x2e3876=(_0x28fa58[_0x59bae6>>>0x18]<<0x18|_0x28fa58[_0x46cf98>>>0x10&0xff]<<0x10|_0x28fa58[_0x9b5baa>>>0x8&0xff]<<0x8|_0x28fa58[_0x192f80&0xff])^_0x3d6bfd[_0x2d7c9d++],_0x262081=(_0x28fa58[_0x46cf98>>>0x18]<<0x18|_0x28fa58[_0x9b5baa>>>0x10&0xff]<<0x10|_0x28fa58[_0x192f80>>>0x8&0xff]<<0x8|_0x28fa58[_0x59bae6&0xff])^_0x3d6bfd[_0x2d7c9d++],_0x24d484=(_0x28fa58[_0x9b5baa>>>0x18]<<0x18|_0x28fa58[_0x192f80>>>0x10&0xff]<<0x10|_0x28fa58[_0x59bae6>>>0x8&0xff]<<0x8|_0x28fa58[_0x46cf98&0xff])^_0x3d6bfd[_0x2d7c9d++],_0x3d6626=(_0x28fa58[_0x192f80>>>0x18]<<0x18|_0x28fa58[_0x59bae6>>>0x10&0xff]<<0x10|_0x28fa58[_0x46cf98>>>0x8&0xff]<<0x8|_0x28fa58[_0x9b5baa&0xff])^_0x3d6bfd[_0x2d7c9d++];_0xa32186[_0x1e90d2]=_0x2e3876,_0xa32186[_0x1e90d2+0x1]=_0x262081,_0xa32186[_0x1e90d2+0x2]=_0x24d484,_0xa32186[_0x1e90d2+0x3]=_0x3d6626;},'keySize':0x100/0x20});_0x1ac8b2[_0x2769c2(0x9d)]=_0x429cc8[_0x2769c2(0x340)](_0x194290);}()),_0x31e444[_0x2d4645(0x9d)];}));}(_0x2b5117)),_0x2b5117['exports'];}var _0x143bd0=_0x4464b1();const _0x2a6ebe=_0x2d2bd0(_0x143bd0);var _0x259b43=_0x56db4d();const _0x1cacc2=_0x2d2bd0(_0x259b43);var _0x3af6e7={'exports':{}},_0x2f328d=_0x3af6e7['exports'],_0x14c45b;function _0x468d73(){return _0x14c45b||(_0x14c45b=0x1,function(_0x257dc9,_0x41e5bb){(function(_0x3dd5c4,_0x3f2148){var _0x33d0ac=_0x5ddd;_0x257dc9[_0x33d0ac(0xda)]=_0x3f2148(_0x419ac8());}(_0x2f328d,function(_0x43d25f){var _0x503d48=_0x5ddd;return _0x43d25f['enc'][_0x503d48(0x22e)];}));}(_0x3af6e7)),_0x3af6e7['exports'];}var _0x1e827f=_0x468d73();const _0x471018=_0x2d2bd0(_0x1e827f);var _0x53b552={'exports':{}},_0x5345da=_0x53b552[_0x1d4b46(0xda)],_0x15bcff;function _0x5a3ec(){var _0x206f01=_0x1d4b46;return _0x15bcff||(_0x15bcff=0x1,function(_0x1cb2fc,_0x4a1737){(function(_0x58aff3,_0x32b6d5){var _0x27d732=_0x5ddd;_0x1cb2fc[_0x27d732(0xda)]=_0x32b6d5(_0x419ac8());}(_0x5345da,function(_0x14e8df){return(function(){var _0x844388=_0x5ddd;if(typeof ArrayBuffer==_0x844388(0xe1)){var _0x25d95e=_0x14e8df,_0x3ef582=_0x25d95e[_0x844388(0x75)],_0x1f0cac=_0x3ef582[_0x844388(0x255)],_0x40ae4f=_0x1f0cac['init'],_0x1516f9=_0x1f0cac[_0x844388(0x39b)]=function(_0x36791f){var _0x1cbc30=_0x844388;if(_0x36791f instanceof ArrayBuffer&&(_0x36791f=new Uint8Array(_0x36791f)),(_0x36791f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x36791f instanceof Uint8ClampedArray||_0x36791f instanceof Int16Array||_0x36791f instanceof Uint16Array||_0x36791f instanceof Int32Array||_0x36791f instanceof Uint32Array||_0x36791f instanceof Float32Array||_0x36791f instanceof Float64Array)&&(_0x36791f=new Uint8Array(_0x36791f[_0x1cbc30(0x3b2)],_0x36791f['byteOffset'],_0x36791f[_0x1cbc30(0x2d5)])),_0x36791f instanceof Uint8Array){for(var _0x4c4321=_0x36791f[_0x1cbc30(0x2d5)],_0x53e4cd=[],_0x4c6b43=0x0;_0x4c6b43<_0x4c4321;_0x4c6b43++)_0x53e4cd[_0x4c6b43>>>0x2]|=_0x36791f[_0x4c6b43]<<0x18-_0x4c6b43%0x4*0x8;_0x40ae4f[_0x1cbc30(0x387)](this,_0x53e4cd,_0x4c4321);}else _0x40ae4f[_0x1cbc30(0xcb)](this,arguments);};_0x1516f9[_0x844388(0xe7)]=_0x1f0cac;}}()),_0x14e8df['lib']['WordArray'];}));}(_0x53b552)),_0x53b552[_0x206f01(0xda)];}var _0x1b07d8=_0x5a3ec();const _0x302cb7=_0x2d2bd0(_0x1b07d8);var _0x1da216={'exports':{}},_0x1003ca=_0x1da216['exports'],_0x51d2ba;function _0x1b3383(){var _0x536fa5=_0x1d4b46;return _0x51d2ba||(_0x51d2ba=0x1,function(_0x438149,_0x3b69d1){(function(_0x441cf5,_0x5919bf,_0x2f933a){var _0x428cca=_0x5ddd;_0x438149[_0x428cca(0xda)]=_0x5919bf(_0x419ac8(),_0x486f14());}(_0x1003ca,function(_0x4e4b6c){var _0x164e39=_0x5ddd;return _0x4e4b6c[_0x164e39(0x82)][_0x164e39(0x2ac)]={'pad':function(){},'unpad':function(){}},_0x4e4b6c[_0x164e39(0x82)][_0x164e39(0x2ac)];}));}(_0x1da216)),_0x1da216[_0x536fa5(0xda)];}var _0xa52513=_0x1b3383();const _0x746c4a=_0x2d2bd0(_0xa52513);function _0x14f31e(_0xdacd38,_0x51219b){var _0x28e27f=_0x1d4b46;const _0x547381=_0x51219b-_0xdacd38[_0x28e27f(0x225)]%_0x51219b,_0x51727c=String[_0x28e27f(0xad)](_0x547381)[_0x28e27f(0x120)](_0x547381);return _0xdacd38+_0x51727c;}function _0x41861e(_0x148ffa,_0x5400da){var _0x51b250=_0x1d4b46;const _0x1c1768=_0x302cb7[_0x51b250(0x1b8)](0x10),_0x2b8114=_0x14f31e(_0x148ffa,0x10),_0x4070fa=_0x2a6ebe[_0x51b250(0x2ff)](_0x471018[_0x51b250(0x3c2)](_0x2b8114),_0x1cacc2[_0x51b250(0x3c2)](_0x5400da),{'iv':_0x1c1768,'padding':_0x746c4a});return _0x1c1768[_0x51b250(0x223)](_0x4070fa[_0x51b250(0x208)])['toString'](_0x1cacc2);}function _0x238d64(){var _0x2affc0=_0x1d4b46;const _0x210954=_0x4ff6ad[_0x2affc0(0x13f)]()[_0x2affc0(0x30b)];if(_0x210954){const _0x377a42={'time':Math[_0x2affc0(0x94)](Date[_0x2affc0(0x9b)]()/0x3e8),'domain':location['hostname']};return _0x41861e(JSON[_0x2affc0(0x8f)](_0x377a42),_0x210954);}}var _0x2ed2e1=Object[_0x1d4b46(0x3cc)],_0x4fb37c=(_0x5e47a1,_0x252697,_0x15b162,_0x6fe9a9)=>{var _0x1bea38=_0x1d4b46;for(var _0xe6c6c5=_0x6fe9a9>0x1?void 0x0:_0x6fe9a9?_0x2ed2e1(_0x252697,_0x15b162):_0x252697,_0x177fff=_0x5e47a1[_0x1bea38(0x225)]-0x1,_0x346a97;_0x177fff>=0x0;_0x177fff--)(_0x346a97=_0x5e47a1[_0x177fff])&&(_0xe6c6c5=_0x346a97(_0xe6c6c5)||_0xe6c6c5);return _0xe6c6c5;},_0x4d053a=(_0x3c701c,_0x13b9e4)=>(_0x9f75f,_0x23e282)=>_0x13b9e4(_0x9f75f,_0x23e282,_0x3c701c);let _0x5192cb=class{constructor(_0x20458a){var _0x1baa98=_0x1d4b46;this[_0x1baa98(0x10e)]=_0x20458a,this['_initRequestHeader']();}[_0x1d4b46(0x151)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x20330d,_0x25cbe0)=>{var _0x19741a=_0x5ddd;const _0x21e4d1=_0x20330d[_0x19741a(0x19c)],_0x34d050=_0x238d64();return _0x34d050&&_0x21e4d1[_0x19741a(0x2be)]('x-univer-host',_0x34d050),_0x25cbe0(_0x20330d);}});}};_0x5192cb=_0x4fb37c([_0x4d053a(0x0,_0x532776[_0x1d4b46(0xd1)](_0x20209c['HTTPService']))],_0x5192cb);var _0x527357=Object[_0x1d4b46(0x3cc)],_0x20549a=(_0x48fd8e,_0x3f9e2d,_0xad5a7b,_0x213a36)=>{var _0x209fee=_0x1d4b46;for(var _0x52a560=_0x213a36>0x1?void 0x0:_0x213a36?_0x527357(_0x3f9e2d,_0xad5a7b):_0x3f9e2d,_0x5c9ebd=_0x48fd8e[_0x209fee(0x225)]-0x1,_0x94e867;_0x5c9ebd>=0x0;_0x5c9ebd--)(_0x94e867=_0x48fd8e[_0x5c9ebd])&&(_0x52a560=_0x94e867(_0x52a560)||_0x52a560);return _0x52a560;},_0x1a2f69=(_0x3a20a4,_0x3e7427)=>(_0x58adf7,_0x52cd6d)=>_0x3e7427(_0x58adf7,_0x52cd6d,_0x3a20a4);_0x1aec2f[_0x1d4b46(0x2cb)]=class extends _0x532776[_0x1d4b46(0x69)]{constructor(_0x19341e,_0x5242d2,_0x14ed18){var _0x4782ad=_0x1d4b46;super(),_0x218999(this,_0x4782ad(0x81),new _0x14df21['BehaviorSubject'](null)),_0x218999(this,'unitInfo$',this[_0x4782ad(0x81)][_0x4782ad(0x28c)]()),(this[_0x4782ad(0xf7)]=_0x19341e,this[_0x4782ad(0x73)]=_0x5242d2,this[_0x4782ad(0x36b)]=_0x14ed18);}async[_0x1d4b46(0x3da)](_0x1c345b,_0x431b0d,_0x3d3d8e){var _0x27486e=_0x1d4b46;this[_0x27486e(0x81)][_0x27486e(0x2e4)]({'unitId':_0x1c345b,'type':_0x431b0d,'subUnitId':_0x3d3d8e});let _0x59821d=null;switch(_0x431b0d){case _0x49bbf8[_0x27486e(0x16a)]:{_0x59821d=await this[_0x27486e(0xe6)](_0x1c345b);break;}case _0x49bbf8[_0x27486e(0x3b1)]:{_0x59821d=await this[_0x27486e(0x34d)](_0x1c345b);break;}default:{this['_logService'][_0x27486e(0x244)](_0x27486e(0x157),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x59821d;}async[_0x1d4b46(0xe6)](_0x3cb6be){var _0x59185c=_0x1d4b46,_0x1fc836;let _0x150910=0x0;const _0x5a95d9=await((_0x1fc836=this[_0x59185c(0x36b)])==null?void 0x0:_0x1fc836[_0x59185c(0x373)](_0x3cb6be));return _0x5a95d9&&(_0x5a95d9[_0x59185c(0x2ed)]||_0x5a95d9[_0x59185c(0x1de)][_0x59185c(0x225)]!==0x0)&&(_0x150910=_0x5a95d9['rev']),_0x150910===0x0&&this[_0x59185c(0xf7)][_0x59185c(0x252)]('[DataLoaderService]',_0x59185c(0xb7)),this[_0x59185c(0x73)]['loadSheet'](_0x3cb6be,_0x150910);}async[_0x1d4b46(0x34d)](_0x3d36c4){var _0x41ea7f=_0x1d4b46,_0x28a73a;let _0x2902f7=0x0;const _0x514798=await((_0x28a73a=this[_0x41ea7f(0x36b)])==null?void 0x0:_0x28a73a[_0x41ea7f(0x373)](_0x3d36c4));return _0x514798&&(_0x514798[_0x41ea7f(0x2ed)]||_0x514798[_0x41ea7f(0x1de)][_0x41ea7f(0x225)]!==0x0)&&(_0x2902f7=_0x514798[_0x41ea7f(0x35b)]),_0x2902f7===0x0&&this[_0x41ea7f(0xf7)][_0x41ea7f(0x252)](_0x41ea7f(0x157),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x41ea7f(0x73)][_0x41ea7f(0x26f)](_0x3d36c4,_0x2902f7);}},_0x1aec2f['DataLoaderService']=_0x20549a([_0x1a2f69(0x0,_0x532776['ILogService']),_0x1a2f69(0x1,_0x532776[_0x1d4b46(0xd1)](_0x85f3d2[_0x1d4b46(0x2a6)])),_0x1a2f69(0x2,_0x532776['Optional'](_0x1d8499))],_0x1aec2f['DataLoaderService']);var _0x1ed334=Object[_0x1d4b46(0x3cc)],_0xc8fe56=(_0x16235e,_0xacb83a,_0x3cd4d2,_0x33dcdf)=>{var _0x3ed52d=_0x1d4b46;for(var _0x418b4b=_0x33dcdf>0x1?void 0x0:_0x33dcdf?_0x1ed334(_0xacb83a,_0x3cd4d2):_0xacb83a,_0x3e787=_0x16235e[_0x3ed52d(0x225)]-0x1,_0x1847d0;_0x3e787>=0x0;_0x3e787--)(_0x1847d0=_0x16235e[_0x3e787])&&(_0x418b4b=_0x1847d0(_0x418b4b)||_0x418b4b);return _0x418b4b;},_0x37c2f3=(_0x29899d,_0xe2472d)=>(_0x2ef3e4,_0x8c0436)=>_0xe2472d(_0x2ef3e4,_0x8c0436,_0x29899d);const _0x1e34a8=[_0x1d4b46(0x2c3),'image/jpeg',_0x1d4b46(0x8c),_0x1d4b46(0x2a2),_0x1d4b46(0x25e)],_0x12aefc=0x5*0x400*0x400,_0x3829f1='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x457da4=_0x1d4b46(0x2ef),_0x5a5ab5='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x615b81=_0x1d4b46(0xca);_0x1aec2f['CollaborationImageIoService']=class{constructor(_0xf9c685,_0x4c8905,_0xecc070){var _0x2a2ee9=_0x1d4b46;_0x218999(this,_0x2a2ee9(0x176),0x0),_0x218999(this,_0x2a2ee9(0xd3),new _0x14df21['Subject']()),_0x218999(this,_0x2a2ee9(0x1fb),this['_change$']),_0x218999(this,_0x2a2ee9(0x2bd),new Map()),(this['_httpService']=_0xf9c685,this['_configService']=_0x4c8905,this['_univerInstanceService']=_0xecc070);}[_0x1d4b46(0x361)](_0x1ef637){var _0x55cf62=_0x1d4b46;this['_waitCount']=_0x1ef637,this[_0x55cf62(0xd3)]['next'](_0x1ef637);}[_0x1d4b46(0xd2)](_0x5597c1,_0x18392e){var _0x573a95=_0x1d4b46;if(_0x18392e===_0x5e34c3[_0x573a95(0x17f)]['BASE64']){const _0x57cc4a=new Image();return _0x57cc4a[_0x573a95(0x246)]=_0x5597c1,_0x57cc4a;}return this[_0x573a95(0x2bd)][_0x573a95(0x95)](_0x5597c1);}[_0x1d4b46(0x2a4)](_0x3b94df,_0xd1e25b,_0x3237e3){var _0x132c96=_0x1d4b46;_0xd1e25b===_0x5e34c3[_0x132c96(0x17f)]['BASE64']||_0x3237e3==null||this['_imageSourceCache'][_0x132c96(0x2be)](_0x3b94df,_0x3237e3);}async[_0x1d4b46(0xb5)](_0x4dec5d){var _0x30adf0=_0x1d4b46;try{const _0x408dcf=this[_0x30adf0(0x38a)](this[_0x30adf0(0x2ba)](),''+_0x4dec5d),_0x2dbb35=(await this[_0x30adf0(0x10e)][_0x30adf0(0x95)](_0x408dcf))[_0x30adf0(0xf9)];if(_0x2dbb35['error']&&_0x2dbb35[_0x30adf0(0x244)]['code']===_0x186bd7['OK']){const _0x29e156=new URL(_0x2dbb35[_0x30adf0(0x90)],this[_0x30adf0(0x2d2)]())[_0x30adf0(0xb1)]();return Promise['resolve'](_0x29e156);}return Promise[_0x30adf0(0x382)](_0x2dbb35[_0x30adf0(0x244)]);}catch(_0x1f5d05){return Promise[_0x30adf0(0x382)](_0x1f5d05);}}async[_0x1d4b46(0x18c)](_0x46574c){var _0x356038=_0x1d4b46;let _0x575edd='';if(!_0x1e34a8[_0x356038(0x29f)](_0x46574c[_0x356038(0x3c7)]))return this[_0x356038(0x1a8)](),Promise[_0x356038(0x382)](new Error(_0x5e34c3[_0x356038(0x1d6)][_0x356038(0x2b7)]));if(_0x46574c['size']>_0x12aefc)return this[_0x356038(0x1a8)](),Promise['reject'](new Error(_0x5e34c3['ImageUploadStatusType'][_0x356038(0x76)]));try{const _0x1dc40b=new FormData();_0x1dc40b[_0x356038(0x2c1)]('file',_0x46574c);const _0x437beb=this[_0x356038(0x293)][_0x356038(0x2c6)](),_0x54056b=_0x437beb==null?void 0x0:_0x437beb[_0x356038(0xba)]();if(!_0x54056b)throw new Error(_0x356038(0x370));const _0xf5781a=this[_0x356038(0x261)]()+_0x356038(0x377)+_0x46574c[_0x356038(0x65)][_0x356038(0xb1)]()+_0x356038(0x3ca)+_0x40dbcf['UnitEmbedded']+'&assign='+encodeURIComponent(_0x54056b),_0x49ce82=await(await fetch(_0xf5781a,{'method':_0x356038(0x3c5),'body':_0x1dc40b}))[_0x356038(0x1d9)]();if(typeof _0x49ce82[_0x356038(0x32e)]!=_0x356038(0x79))return this['_decreaseWaiting'](),Promise[_0x356038(0x382)](new Error(_0x5e34c3['ImageUploadStatusType'][_0x356038(0x141)]));_0x575edd=_0x49ce82[_0x356038(0x32e)];}catch{return this[_0x356038(0x1a8)](),Promise[_0x356038(0x382)](new Error(_0x5e34c3[_0x356038(0x1d6)]['ERROR_IMAGE']));}return new Promise((_0x57d734,_0x475236)=>{var _0x2fce67=_0x356038;const _0x34e705=new FileReader();_0x34e705[_0x2fce67(0x329)](_0x46574c),_0x34e705[_0x2fce67(0x197)]=_0x4f45cf=>{var _0x5602d1=_0x2fce67,_0x6ca802;const _0x15d1f4=(_0x6ca802=_0x4f45cf[_0x5602d1(0x31e)])==null?void 0x0:_0x6ca802[_0x5602d1(0x35d)];if(_0x15d1f4==null){this[_0x5602d1(0x1a8)](),_0x475236(new Error(_0x5e34c3[_0x5602d1(0x1d6)][_0x5602d1(0x141)]));return;}const _0x3381d8=_0x532776[_0x5602d1(0x36c)][_0x5602d1(0x206)](0x6);_0x57d734({'imageId':_0x3381d8,'imageSourceType':_0x5e34c3[_0x5602d1(0x17f)]['UUID'],'source':_0x575edd,'base64Cache':_0x15d1f4,'status':_0x5e34c3[_0x5602d1(0x1d6)][_0x5602d1(0x1a1)]}),this[_0x5602d1(0x1a8)]();};});}[_0x1d4b46(0x261)](){var _0x44c198=_0x1d4b46,_0x11b483,_0xaaab38;const _0x39e2c5=this[_0x44c198(0x144)][_0x44c198(0x390)](_0x3829f1),_0x4e364e=this['_configService'][_0x44c198(0x390)](_0x1105e7);return(_0xaaab38=(_0x11b483=_0x4e364e==null?void 0x0:_0x4e364e[_0x44c198(0x9e)])!=null?_0x11b483:_0x39e2c5)!=null?_0xaaab38:_0x457da4;}['_getSignURL'](){var _0x1af848=_0x1d4b46,_0x21990f,_0x49955e;const _0x44bedd=this[_0x1af848(0x144)][_0x1af848(0x390)](_0x5a5ab5),_0x5d1942=this['_configService'][_0x1af848(0x390)](_0x1105e7);return(_0x49955e=(_0x21990f=_0x5d1942==null?void 0x0:_0x5d1942['signUrlServerUrl'])!=null?_0x21990f:_0x44bedd)!=null?_0x49955e:_0x615b81;}[_0x1d4b46(0x2d2)](){var _0xcdb9c8=_0x1d4b46,_0x960cd3;const _0x24591d=this['_configService'][_0xcdb9c8(0x390)](_0x1105e7);return(_0x960cd3=_0x24591d==null?void 0x0:_0x24591d[_0xcdb9c8(0x323)])!=null?_0x960cd3:location[_0xcdb9c8(0x124)];}[_0x1d4b46(0x38a)](_0x3eb22,_0x4db94a){var _0x5829bc=_0x1d4b46;return _0x3eb22[_0x5829bc(0x2f0)](_0x5829bc(0x3d2),_0x4db94a);}[_0x1d4b46(0x1a8)](){var _0x312630=_0x1d4b46;this[_0x312630(0x176)]-=0x1,this[_0x312630(0xd3)][_0x312630(0x2e4)](this['_waitCount']);}},_0x1aec2f[_0x1d4b46(0x1ec)]=_0xc8fe56([_0x37c2f3(0x0,_0x532776['Inject'](_0x20209c[_0x1d4b46(0x201)])),_0x37c2f3(0x1,_0x532776['IConfigService']),_0x37c2f3(0x2,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x395)]))],_0x1aec2f[_0x1d4b46(0x1ec)]);var _0x526185=Object['getOwnPropertyDescriptor'],_0x2d4d40=(_0x155136,_0x311ff4,_0x14026e,_0x475a36)=>{var _0x2e6b6f=_0x1d4b46;for(var _0x4ea9ac=_0x475a36>0x1?void 0x0:_0x475a36?_0x526185(_0x311ff4,_0x14026e):_0x311ff4,_0x15e690=_0x155136[_0x2e6b6f(0x225)]-0x1,_0x2fe8ef;_0x15e690>=0x0;_0x15e690--)(_0x2fe8ef=_0x155136[_0x15e690])&&(_0x4ea9ac=_0x2fe8ef(_0x4ea9ac)||_0x4ea9ac);return _0x4ea9ac;},_0x1c3800=(_0x5ae320,_0x26c097)=>(_0x36b775,_0x3be50d)=>_0x26c097(_0x36b775,_0x3be50d,_0x5ae320);const _0xc1998=_0x1d4b46(0x1dc);_0x1aec2f[_0x1d4b46(0x11f)]=class{constructor(_0x5b8972,_0x57d3b7){var _0x5d9e28=_0x1d4b46;this[_0x5d9e28(0x144)]=_0x5b8972,this[_0x5d9e28(0x186)]=_0x57d3b7;}['_getAPIPrefixPath'](){var _0x25d165=_0x1d4b46,_0x168f8e,_0x208779;const _0x5509b7=this[_0x25d165(0x144)][_0x25d165(0x390)](_0x1ff695),_0x2c47cd=this[_0x25d165(0x144)]['getConfig'](_0x1105e7);return(_0x208779=(_0x168f8e=_0x2c47cd==null?void 0x0:_0x2c47cd[_0x25d165(0x2f3)])!=null?_0x168f8e:_0x5509b7)!=null?_0x208779:_0xc1998;}async[_0x1d4b46(0xc1)](_0x4309ba){var _0x4d720e=_0x1d4b46;const _0xe906cc=this[_0x4d720e(0x128)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0xe906cc,{'params':{'objectID':_0x4309ba['unitId'],'unitID':_0x4309ba[_0x4d720e(0x3c4)]}}))[_0x4d720e(0xf9)][_0x4d720e(0x1ea)][_0x4d720e(0x1dd)](_0x4c8629=>({'objectId':_0x4c8629['id'],'name':_0x4c8629[_0x4d720e(0x134)][_0x4d720e(0x1f7)],'metadata':{'icon':_0x4c8629[_0x4d720e(0x134)][_0x4d720e(0x351)]},'label':_0x4c8629[_0x4d720e(0x134)]['name'],'objectType':_0x532776[_0x4d720e(0x6e)][_0x4d720e(0x30d)]})),'metadata':{},'type':_0x532776['MentionType'][_0x4d720e(0x30d)]}]};}},_0x1aec2f[_0x1d4b46(0x11f)]=_0x2d4d40([_0x1c3800(0x0,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x1e6)])),_0x1c3800(0x1,_0x532776[_0x1d4b46(0xd1)](_0x20209c[_0x1d4b46(0x201)]))],_0x1aec2f[_0x1d4b46(0x11f)]);var _0x42c83c=Object[_0x1d4b46(0x3cc)],_0x2f89d5=(_0x454e26,_0x2bca3c,_0x1f4d45,_0x150dd2)=>{var _0x4d9571=_0x1d4b46;for(var _0x4ff047=_0x150dd2>0x1?void 0x0:_0x150dd2?_0x42c83c(_0x2bca3c,_0x1f4d45):_0x2bca3c,_0x3ab931=_0x454e26[_0x4d9571(0x225)]-0x1,_0x223be9;_0x3ab931>=0x0;_0x3ab931--)(_0x223be9=_0x454e26[_0x3ab931])&&(_0x4ff047=_0x223be9(_0x4ff047)||_0x4ff047);return _0x4ff047;},_0x3165d5=(_0x3bc9c8,_0x1586aa)=>(_0xd7c43e,_0x400c31)=>_0x1586aa(_0xd7c43e,_0x400c31,_0x3bc9c8);let _0x31f274=class extends _0x532776['RxDisposable']{constructor(_0x13feb1,_0x5e452c,_0x178146,_0x509072,_0x5edd95){var _0x4c73d2=_0x1d4b46;super(),this[_0x4c73d2(0xb8)]=_0x13feb1,this[_0x4c73d2(0x293)]=_0x5e452c,this[_0x4c73d2(0x2bf)]=_0x178146,this[_0x4c73d2(0x2ad)]=_0x509072,this[_0x4c73d2(0x352)]=_0x5edd95,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x310ee9=_0x1d4b46;const _0x5d142f=async _0x516f90=>{var _0x21c869=_0x5ddd;(await this['_collaborationSessionService'][_0x21c869(0xc2)](_0x516f90))[_0x21c869(0x210)][_0x21c869(0x1d8)](_0x3828c6[_0x21c869(0x9f)](_0x2d8058=>_0x2d8058['eventID']===_0x85f3d2['CollaborationEvent'][_0x21c869(0x1f1)]),_0x3828c6[_0x21c869(0x16d)](this[_0x21c869(0xf3)]))[_0x21c869(0x394)](_0xd27c8d=>{var _0x104357=_0x21c869;const _0x528876=_0xd27c8d,{reason:_0x32f478}=_0x528876[_0x104357(0x2e1)];this[_0x104357(0x352)][_0x104357(0x286)]({'id':_0x4975b1[_0x104357(0x3ad)],'data':_0x32f478}),this[_0x104357(0x2bf)][_0x104357(0x3ab)](new _0x25228d['WorkbookEditablePermission'](_0x516f90)['id'],!0x1),this[_0x104357(0x2ad)][_0x104357(0x21e)](_0x516f90);});};_0x14df21[_0x310ee9(0x27d)](this[_0x310ee9(0x293)][_0x310ee9(0x160)](_0x532776[_0x310ee9(0x211)]['UNIVER_SHEET']),this[_0x310ee9(0x293)][_0x310ee9(0x160)](_0x532776['UniverInstanceType'][_0x310ee9(0x3b1)]))[_0x310ee9(0x1d8)](_0x3828c6[_0x310ee9(0x1dd)](_0x4483de=>_0x4483de[_0x310ee9(0xba)]()),_0x3828c6['filter'](_0x3f80bf=>!_0x532776[_0x310ee9(0xf5)](_0x3f80bf)),_0x3828c6[_0x310ee9(0x16d)](this[_0x310ee9(0xf3)]))[_0x310ee9(0x394)](_0x3c36db=>{_0x5d142f(_0x3c36db);});}[_0x1d4b46(0x199)](){var _0x44a903=_0x1d4b46;const _0x546f27=async _0x1fa9cb=>{var _0xfacee6=_0x5ddd;const _0x1fabbb=await this[_0xfacee6(0x2ad)]['requireSession'](_0x1fa9cb),_0x349d0f=this[_0xfacee6(0xb8)]['get'](_0x25228d[_0xfacee6(0x3dc)]);_0x1fabbb[_0xfacee6(0x210)][_0xfacee6(0x1d8)](_0x3828c6['filter'](_0x6acaa=>_0x6acaa['eventID']===_0x85f3d2[_0xfacee6(0x294)][_0xfacee6(0x2e2)]),_0x3828c6['takeUntil'](this[_0xfacee6(0xf3)]))[_0xfacee6(0x394)](_0x179a37=>{var _0x23dcbd=_0xfacee6;const _0x982d67=_0x179a37,{objectId:_0x11c82b}=_0x982d67[_0x23dcbd(0x2e1)];_0x11c82b===_0x1fa9cb?_0x349d0f['initWorkbookPermissionChange'](_0x1fa9cb):_0x349d0f[_0x23dcbd(0x359)](_0x1fa9cb,_0x11c82b);});};_0x14df21[_0x44a903(0x27d)](this[_0x44a903(0x293)]['getTypeOfUnitAdded$'](_0x532776[_0x44a903(0x211)][_0x44a903(0x16a)]))[_0x44a903(0x1d8)](_0x3828c6[_0x44a903(0x1dd)](_0x5399b4=>_0x5399b4[_0x44a903(0xba)]()),_0x3828c6[_0x44a903(0x9f)](_0x13ec0e=>!_0x532776['isInternalEditorID'](_0x13ec0e)),_0x3828c6['takeUntil'](this[_0x44a903(0xf3)]))[_0x44a903(0x394)](_0xcdcb36=>{_0x546f27(_0xcdcb36);});}};_0x31f274=_0x2f89d5([_0x3165d5(0x0,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x2c2)])),_0x3165d5(0x1,_0x532776[_0x1d4b46(0x395)]),_0x3165d5(0x2,_0x532776[_0x1d4b46(0xde)]),_0x3165d5(0x3,_0x532776['Inject'](_0x1aec2f['CollaborationSessionService'])),_0x3165d5(0x4,_0x532776[_0x1d4b46(0xd1)](_0x4a5b95))],_0x31f274);var _0x2ebd1c=Object[_0x1d4b46(0x3cc)],_0x21a451=(_0x9d2548,_0x2005e3,_0x43fca3,_0x429994)=>{var _0x4043ec=_0x1d4b46;for(var _0x505d1a=_0x429994>0x1?void 0x0:_0x429994?_0x2ebd1c(_0x2005e3,_0x43fca3):_0x2005e3,_0x207ce8=_0x9d2548[_0x4043ec(0x225)]-0x1,_0x1250fa;_0x207ce8>=0x0;_0x207ce8--)(_0x1250fa=_0x9d2548[_0x207ce8])&&(_0x505d1a=_0x1250fa(_0x505d1a)||_0x505d1a);return _0x505d1a;},_0x1d7a01=(_0x4361f3,_0x26ae60)=>(_0x5ca20a,_0x1c9b57)=>_0x26ae60(_0x5ca20a,_0x1c9b57,_0x4361f3);_0x1aec2f[_0x1d4b46(0xf0)]=class{constructor(_0x1b8fe5,_0x48c6f2){var _0x92c6ed=_0x1d4b46;this[_0x92c6ed(0x144)]=_0x1b8fe5,this['_httpService']=_0x48c6f2;}async[_0x1d4b46(0x14f)](_0x431ffb,_0x51ceba){var _0x2c5ec=_0x1d4b46,_0x144257;const {unitID:_0x1c6f5a,type:_0x591fb3,revision:_0x22cca7=0x0}=_0x51ceba,_0x16556c=this[_0x2c5ec(0x17e)]()+'/'+_0x591fb3+_0x2c5ec(0x35c)+_0x1c6f5a+_0x2c5ec(0x228)+_0x22cca7,_0x11963e=(await this['_httpService']['get'](_0x16556c))[_0x2c5ec(0xf9)],_0x1bc0d4=(_0x144257=_0x11963e[_0x2c5ec(0x1cb)])==null?void 0x0:_0x144257['workbook'];if(_0x1bc0d4){const _0x2f1f75=_0x1bc0d4==null?void 0x0:_0x1bc0d4[_0x2c5ec(0x122)],_0xf37473=_0x85f3d2[_0x2c5ec(0x296)][_0x2c5ec(0x298)](_0x85f3d2['b64DecodeUnicode'](_0x2f1f75));_0x1bc0d4[_0x2c5ec(0x122)]=_0xf37473,Object[_0x2c5ec(0x302)](_0x1bc0d4['sheets'])[_0x2c5ec(0x270)](([,_0x433150])=>{var _0x4e3e4f=_0x2c5ec;const _0x1a6b3d=_0x433150[_0x4e3e4f(0x122)],_0x2d6a5e=_0x85f3d2[_0x4e3e4f(0x296)]['encode'](_0x85f3d2[_0x4e3e4f(0xcf)](_0x1a6b3d));_0x433150['originalMeta']=_0x2d6a5e;});}return _0x11963e;}async[_0x1d4b46(0x322)](_0x5d7009,_0x24c57f){var _0x6fd25d=_0x1d4b46;const {unitID:_0x340511,type:_0x375f57,blockID:_0x22bc44}=_0x24c57f,_0xadea77=this[_0x6fd25d(0xc8)]()+'/'+_0x375f57+_0x6fd25d(0x35c)+_0x340511+_0x6fd25d(0x29e)+_0x22bc44;return(await this[_0x6fd25d(0x10e)][_0x6fd25d(0x95)](_0xadea77))['body'];}async[_0x1d4b46(0x30a)](_0x10913e,_0x18a060){var _0x106076=_0x1d4b46;const {unitID:_0x27a54a,type:_0x46e232,blockID:_0x4b7faf}=_0x18a060,_0x4e9c5b=this['_getAPIPrefix']()+_0x106076(0x29e)+_0x46e232+_0x106076(0x35c)+_0x27a54a+_0x106076(0x29e)+_0x4b7faf;return(await this[_0x106076(0x10e)][_0x106076(0x95)](_0x4e9c5b))[_0x106076(0xf9)];}async[_0x1d4b46(0x1d5)](_0x3a3d8c,_0x8a0c1a){var _0x30614f=_0x1d4b46;const {unitID:_0x2d6ab6,type:_0x320955,from:_0x43175a,to:_0x55dd94}=_0x8a0c1a,_0x255803=this[_0x30614f(0xc8)]()+'/'+_0x320955+_0x30614f(0x35c)+_0x2d6ab6+_0x30614f(0x3a2)+_0x43175a+_0x30614f(0x253)+_0x55dd94;return(await this['_httpService'][_0x30614f(0x95)](_0x255803))[_0x30614f(0xf9)];}[_0x1d4b46(0x17e)](){var _0x2dcb7b=_0x1d4b46,_0x27d4a1;return(_0x27d4a1=this['_configService']['getConfig'](_0x1dc2c2))!=null?_0x27d4a1:this[_0x2dcb7b(0xc8)]();}[_0x1d4b46(0xc8)](){var _0x4e3617=_0x1d4b46,_0x1829d3,_0x24f9c3;const _0x232788=this[_0x4e3617(0x144)]['getConfig'](_0x32cc48),_0x2d20f8=this[_0x4e3617(0x144)][_0x4e3617(0x390)](_0x1105e7);return(_0x24f9c3=(_0x1829d3=_0x2d20f8==null?void 0x0:_0x2d20f8[_0x4e3617(0x268)])!=null?_0x1829d3:_0x232788)!=null?_0x24f9c3:_0x3aa3a7;}async[_0x1d4b46(0x14c)](_0x1e8ef3,_0x1c290b){var _0x3ef65c=_0x1d4b46;const _0x1236b9=_0x3ef65c(0x185)+_0x1c290b[_0x3ef65c(0x3c7)]+_0x3ef65c(0x35c)+_0x1c290b[_0x3ef65c(0x3cf)]+'/resources';return(await this['_httpService']['get'](_0x1236b9,{'params':{'resourceId':JSON[_0x3ef65c(0x8f)](_0x1c290b['resourceIDs'])}}))['body'];}[_0x1d4b46(0x180)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1d4b46(0x1c2)](){var _0x4b3314=_0x1d4b46;throw new Error(_0x4b3314(0x33d));}[_0x1d4b46(0x1b5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1d4b46(0x3c0)](){var _0x4fceaf=_0x1d4b46;throw new Error(_0x4fceaf(0x33d));}},_0x1aec2f[_0x1d4b46(0xf0)]=_0x21a451([_0x1d7a01(0x0,_0x532776[_0x1d4b46(0x1e6)]),_0x1d7a01(0x1,_0x532776[_0x1d4b46(0xd1)](_0x20209c['HTTPService']))],_0x1aec2f['SnapshotServerOverHTTPService']);var _0x5ba711=Object[_0x1d4b46(0x3cc)],_0x425dba=(_0x425379,_0x5799e1,_0x1f5c66,_0x662b77)=>{var _0x2b548a=_0x1d4b46;for(var _0x52d2d1=_0x662b77>0x1?void 0x0:_0x662b77?_0x5ba711(_0x5799e1,_0x1f5c66):_0x5799e1,_0x31262b=_0x425379[_0x2b548a(0x225)]-0x1,_0x2e7f30;_0x31262b>=0x0;_0x31262b--)(_0x2e7f30=_0x425379[_0x31262b])&&(_0x52d2d1=_0x2e7f30(_0x52d2d1)||_0x52d2d1);return _0x52d2d1;},_0x39a996=(_0x456683,_0x587112)=>(_0x3151f4,_0x25e6b0)=>_0x587112(_0x3151f4,_0x25e6b0,_0x456683);_0x1aec2f['CollaborativeUndoRedoService']=class extends _0x532776[_0x1d4b46(0x32a)]{constructor(_0x620bb5,_0x5aeaa2,_0x386b29,_0x3faebf,_0x12a057){var _0x3d769a=_0x1d4b46;super(_0x620bb5,_0x5aeaa2,_0x386b29),this[_0x3d769a(0x305)]=_0x3faebf,this[_0x3d769a(0xf7)]=_0x12a057;}[_0x1d4b46(0x127)](_0x5519ec,_0x144938){var _0x270762=_0x1d4b46;const _0x32c18e=this[_0x270762(0x3d5)](_0x5519ec);if(_0x32c18e)try{const _0x10af61=this[_0x270762(0x18f)](_0x32c18e,_0x144938);this[_0x270762(0x39c)](_0x5519ec,_0x10af61);}catch(_0x3d4e3c){this[_0x270762(0xf7)][_0x270762(0x244)]('[CollaborationUndoRedoService]',_0x3d4e3c),this[_0x270762(0x366)](_0x5519ec);}const _0x4c39ba=this[_0x270762(0x7d)](_0x5519ec);if(_0x4c39ba)try{const _0x5ec8bc=this[_0x270762(0x18f)](_0x4c39ba,_0x144938);this[_0x270762(0x91)](_0x5519ec,_0x5ec8bc);}catch(_0xa65783){this['_logService'][_0x270762(0x244)](_0xa65783),this[_0x270762(0x2b4)](_0x5519ec);}}['_clearUndo'](_0x35578c){var _0x5057b2=_0x1d4b46;const _0xa7f23d=this[_0x5057b2(0x3d5)](_0x35578c);_0xa7f23d&&(_0xa7f23d[_0x5057b2(0x225)]=0x0,this[_0x5057b2(0x23d)]());}[_0x1d4b46(0x2b4)](_0x2467ab){var _0x3055ea=_0x1d4b46;const _0x6a8862=this['_getRedoStack'](_0x2467ab);_0x6a8862&&(_0x6a8862[_0x3055ea(0x225)]=0x0,this['_updateStatus']());}[_0x1d4b46(0x39c)](_0x3febf4,_0xdc4cba){var _0xa0cf36=_0x1d4b46;this[_0xa0cf36(0x24a)][_0xa0cf36(0x2be)](_0x3febf4,_0xdc4cba),this[_0xa0cf36(0x23d)]();}[_0x1d4b46(0x91)](_0x52b9a4,_0x540076){var _0x412fcf=_0x1d4b46;this[_0x412fcf(0xd4)][_0x412fcf(0x2be)](_0x52b9a4,_0x540076),this[_0x412fcf(0x23d)]();}[_0x1d4b46(0x18f)](_0x1dd15a,_0x585751){var _0x212d89=_0x1d4b46;const _0x2dec17=[];let _0x4d4538=_0x585751,_0x4ca40d=_0x585751;for(let _0x327993=_0x1dd15a['length']-0x1;_0x327993>=0x0;_0x327993--){const {unitID:_0x57988f,undoMutations:_0x5afc72,redoMutations:_0x11425a}=_0x1dd15a[_0x327993],_0x3b200f=this[_0x212d89(0x305)][_0x212d89(0xfa)](_0x4d4538,_0x5afc72),_0xa5fd90=this[_0x212d89(0x305)][_0x212d89(0xfa)](_0x4ca40d,_0x11425a);if(_0x85f3d2['isTransformMutationsWithChangesetFailure'](_0x3b200f)||_0x85f3d2[_0x212d89(0x34c)](_0xa5fd90)){this[_0x212d89(0xf7)][_0x212d89(0x244)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x3b200f,_0xa5fd90);break;}_0x4d4538=_0x3b200f['c1Prime'],_0x4ca40d=_0xa5fd90[_0x212d89(0x3a0)],_0x2dec17[_0x212d89(0x2d1)]({'unitID':_0x57988f,'undoMutations':_0x3b200f[_0x212d89(0x1e8)],'redoMutations':_0xa5fd90[_0x212d89(0x1e8)]});}return _0x2dec17[_0x212d89(0x1ad)]();}},_0x1aec2f[_0x1d4b46(0x26e)]=_0x425dba([_0x39a996(0x0,_0x532776['IUniverInstanceService']),_0x39a996(0x1,_0x532776[_0x1d4b46(0x283)]),_0x39a996(0x2,_0x532776[_0x1d4b46(0x93)]),_0x39a996(0x3,_0x85f3d2['ITransformService']),_0x39a996(0x4,_0x532776['ILogService'])],_0x1aec2f[_0x1d4b46(0x26e)]);var _0x11cde4=Object[_0x1d4b46(0x301)],_0x3d20f8=Object['getOwnPropertyDescriptor'],_0x48a39e=(_0x6175fa,_0x25f534,_0xc626f8)=>_0x25f534 in _0x6175fa?_0x11cde4(_0x6175fa,_0x25f534,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc626f8}):_0x6175fa[_0x25f534]=_0xc626f8,_0x478cc3=(_0x3eead1,_0x44abf2,_0x496d59,_0x285b1d)=>{var _0x4dc00e=_0x1d4b46;for(var _0x5e5c58=_0x285b1d>0x1?void 0x0:_0x285b1d?_0x3d20f8(_0x44abf2,_0x496d59):_0x44abf2,_0x5abe70=_0x3eead1[_0x4dc00e(0x225)]-0x1,_0x30f3a3;_0x5abe70>=0x0;_0x5abe70--)(_0x30f3a3=_0x3eead1[_0x5abe70])&&(_0x5e5c58=_0x30f3a3(_0x5e5c58)||_0x5e5c58);return _0x5e5c58;},_0x52d296=(_0x2508b6,_0x1b1d37)=>(_0x3b33e3,_0x2869c5)=>_0x1b1d37(_0x3b33e3,_0x2869c5,_0x2508b6),_0x4beb7b=(_0x1a0d64,_0x1753bf,_0x202b00)=>_0x48a39e(_0x1a0d64,_0x1753bf+'',_0x202b00);const _0x5c6c2d='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x1aec2f[_0x1d4b46(0x27b)]=class extends _0x532776[_0x1d4b46(0x1b0)]{constructor(_0x3c1c24,_0x479be7,_0x3a18a8,_0x38e0c6){var _0x4a1785=_0x1d4b46;super(),_0x218999(this,'_config'),(this[_0x4a1785(0xf7)]=_0x479be7,this[_0x4a1785(0xb8)]=_0x3a18a8,this[_0x4a1785(0x144)]=_0x38e0c6);const {..._0x300f9e}=_0x532776[_0x4a1785(0x27d)]({},_0xe4826a,_0x3c1c24);if(!_0x300f9e['socketService'])throw new Error(_0x4a1785(0x129));this[_0x4a1785(0x1fe)]=_0x300f9e,this[_0x4a1785(0x144)][_0x4a1785(0x20a)](_0x1105e7,_0x300f9e);}[_0x1d4b46(0x342)](){var _0x23c092=_0x1d4b46;this[_0x23c092(0x264)](),this[_0x23c092(0xe9)]();}['_registerDependencies'](){var _0x95d0c6=_0x1d4b46,_0xa3752b,_0x135e3b;this[_0x95d0c6(0xb8)]['has'](_0x532776[_0x95d0c6(0x27e)])&&this[_0x95d0c6(0xf7)][_0x95d0c6(0x244)](_0x95d0c6(0x3b5),_0x95d0c6(0x2ee));const _0x25be6c=_0x532776[_0x95d0c6(0x235)]([[_0x532776[_0x95d0c6(0x27e)],{'useClass':_0x1aec2f[_0x95d0c6(0x26e)]}],[_0x1aec2f[_0x95d0c6(0x193)]],[_0x1aec2f[_0x95d0c6(0x202)]],[_0x1aec2f[_0x95d0c6(0x331)]],[_0x594d90],[_0x5192cb],[_0x9dd589],[_0x31f274],[_0x4a5b95],[_0x1aec2f[_0x95d0c6(0x2cb)]],[_0x1bd45f,{'useClass':this['_config']['socketService']}],[_0x85f3d2['ISnapshotServerService'],{'useClass':_0x1aec2f[_0x95d0c6(0xf0)]}],[_0x532776[_0x95d0c6(0x15d)],{'useClass':_0x1aec2f[_0x95d0c6(0x2c7)]}],[_0x5e34c3[_0x95d0c6(0x173)],{'useClass':_0x1aec2f[_0x95d0c6(0x1ec)]}],[_0x532776[_0x95d0c6(0x109)],{'useClass':_0x1aec2f['MentionIoHttpService']}],[_0x1aec2f[_0x95d0c6(0x111)]],[_0xf5ec1b]],(_0xa3752b=this['_config'])==null?void 0x0:_0xa3752b[_0x95d0c6(0x138)]);if(!((_0x135e3b=this['_config'])!=null&&_0x135e3b[_0x95d0c6(0x168)])){const _0x417eb4=_0x25be6c[_0x95d0c6(0x2f8)](([_0x12456b])=>_0x12456b===_0x5486b6);_0x417eb4!==-0x1&&_0x25be6c[_0x95d0c6(0x232)](_0x417eb4,0x1);}_0x532776[_0x95d0c6(0x1af)](this['_injector'],_0x25be6c);}[_0x1d4b46(0xe9)](){var _0xab2f2=_0x1d4b46,_0xbae97c,_0x555c87,_0x282022;this[_0xab2f2(0xb8)][_0xab2f2(0x95)](_0x20209c[_0xab2f2(0x201)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x20209c[_0xab2f2(0x1c7)]({'maxParallel':0x6})}),(_0xbae97c=this['_config'])!=null&&_0xbae97c[_0xab2f2(0x116)]||(_0x555c87=this['_injector'][_0xab2f2(0x95)](_0x1d8499,_0x532776[_0xab2f2(0x86)]['OPTIONAL']))==null||_0x555c87['disableLocalCache'](),(_0x282022=this[_0xab2f2(0x1fe)])!=null&&_0x282022['enableAuthServer']&&_0x532776[_0xab2f2(0x198)](this['_injector'],[[_0x594d90]]),_0x532776['touchDependencies'](this[_0xab2f2(0xb8)],[[_0x5192cb],[_0x1aec2f[_0xab2f2(0x111)]],[_0x31f274]]);}},_0x4beb7b(_0x1aec2f[_0x1d4b46(0x27b)],'pluginName',_0x5c6c2d),_0x1aec2f[_0x1d4b46(0x27b)]=_0x478cc3([_0x532776[_0x1d4b46(0x64)](_0x85f3d2[_0x1d4b46(0x1bf)],_0x20209c[_0x1d4b46(0x1f5)]),_0x52d296(0x1,_0x532776[_0x1d4b46(0x16e)]),_0x52d296(0x2,_0x532776[_0x1d4b46(0xd1)](_0x532776[_0x1d4b46(0x2c2)])),_0x52d296(0x3,_0x532776[_0x1d4b46(0x1e6)])],_0x1aec2f['UniverCollaborationClientPlugin']),_0x1aec2f[_0x1d4b46(0x275)]=_0x1ff695,_0x1aec2f['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x1105e7,_0x1aec2f[_0x1d4b46(0x3bc)]=_0x4045ec,_0x1aec2f[_0x1d4b46(0xac)]=_0x4ccb15,_0x1aec2f[_0x1d4b46(0x312)]=_0x44cd2d,_0x1aec2f[_0x1d4b46(0x397)]=_0x4975b1,_0x1aec2f[_0x1d4b46(0x1c4)]=_0x4a5b95,_0x1aec2f[_0x1d4b46(0x22b)]=_0x9dd589,_0x1aec2f['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x23c5e1,_0x1aec2f[_0x1d4b46(0x38d)]=_0x2d18f1,_0x1aec2f[_0x1d4b46(0xf2)]=_0x266cab,_0x1aec2f['HEARTBEAT_INTERVAL_KEY']=_0x3dc0cb,_0x1aec2f[_0x1d4b46(0x1d7)]=_0x420035,_0x1aec2f[_0x1d4b46(0x24f)]=_0x1bd45f,_0x1aec2f[_0x1d4b46(0x12a)]=_0x1d8499,_0x1aec2f['INetworkConditionService']=_0x27c611,_0x1aec2f[_0x1d4b46(0x3d9)]=_0x5486b6,_0x1aec2f[_0x1d4b46(0x239)]=0x3e8,_0x1aec2f['LOCAL_CACHE_INTERVAL_KEY']=_0x5bbbce,_0x1aec2f[_0x1d4b46(0xdc)]=_0x22ef8a,_0x1aec2f['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x557f95,_0x1aec2f['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x3c2384,_0x1aec2f[_0x1d4b46(0x149)]=_0x1651fa,_0x1aec2f[_0x1d4b46(0x348)]=_0x32cc48,_0x1aec2f[_0x1d4b46(0x1a3)]=_0x1dc2c2,_0x1aec2f[_0x1d4b46(0x166)]=_0x4a5234,_0x1aec2f['UnitStatus']=_0x1ee0e4,_0x1aec2f[_0x1d4b46(0xfb)]=_0x158047,_0x1aec2f[_0x1d4b46(0x375)]=_0x2efc97,_0x1aec2f['serializeCombRequest']=_0xb22317,Object[_0x1d4b46(0x301)](_0x1aec2f,Symbol[_0x1d4b46(0x313)],{'value':'Module'});}));
|