@univerjs-pro/collaboration-client 0.7.0-nightly.202505231607 → 0.7.0-nightly.202505241606
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +3 -2
- package/lib/types/controllers/config.schema.d.ts +15 -0
- package/lib/types/facade/f-univer.d.ts +15 -0
- package/lib/types/services/data-loader/data-loader.service.d.ts +1 -2
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +1 -0
- 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 +10 -11
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x4fc7(_0x20d7a7,_0x285033){var _0x2ebbb1=_0x2ebb();return _0x4fc7=function(_0x4fc779,_0x2b9fdd){_0x4fc779=_0x4fc779-0x126;var _0x4fdc56=_0x2ebbb1[_0x4fc779];return _0x4fdc56;},_0x4fc7(_0x20d7a7,_0x285033);}function _0x2ebb(){var _0x4933ab=['_httpService','onCommentUpdate','/universer-api/user/session-ticket','liveShareOperation','amd','cmd','_createHandler','_onConflict','CollaborationImageIoService','EmptyMutation','subscribe','CollaborationStatus','equals','_append','Base64','_onConnectionFailed','_getUploadFileURL','_loadDoc','UniverDrawing','_eventService','image/png','collaborators','_getRedoStack','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_shouldReportTelemetry','UPDATE_CURSOR','state$','splice','reverse','/new_changes','actions','_configService','_tryEnsureSocket','_initUnitPermissionChange','duration','JOIN_ROOM_NOT_EXISTS','decrypt','key','NEW_CHANGESETS','filter','href','UnitEmbedded','getWorkbookSelections','fetchMiss','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_getCtorByUniverType','extend','title','ISingleActiveUnitService','SEND_CHANGESET_TIMEOUT','LICENSE_MAX_UNITS_EXCEEDED','encryptBlock','_onRemoteChangeset','_unitInfo$','HttpExport','image/gif','@univerjs/drawing','_getSendChangesetTimeout','Decryptor','LocalUndoRedoService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_checkMissing','SHA1','Optional','INVITE_CODE_ALREADY_BOUND','getConfig','UNISCRIPT_RUN','LIVESHARE_OPERATION','SyncedState','Workbook','_timeoutTimer','IImageIoService','INGEST','MentionType','error','getActiveSheet','_redoStacks','_executeRemoteChangeset','_onRemoteRetry','PY_RUNTIME_SCRIPT_ERROR','dispose$','/universer-api/file/{fileID}/sign-url','_clearRetryConnectingTimer','_injector','_commandService','/collaborator','AuthzIoHttpService','LIVESHARE_TERMINATE','SUBMIT_CHANGESET_TIMEOUT','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UNKNOWN_CODE','collabSubmitChangesetUrl','_collaborationSessionService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','retryConnectingInterval','MergeInterceptorFactory','LEAVE','synced','univer-pro.collaboration-client.network-condition.service','post','_transformUndoredo','_revisionService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','\x0aCurrent:\x20','/object/','INTERNAL_ERROR','crypto','@univerjs/sheets','_startTelemetryCollaborationNewChangeset','reset','_unlockTransition','localCacheService','ivSize','_socketService','salt','LIVESHARE_NEW_HOST','ceil','_mode','1086NnGxIO','updatePermissionPoint','UNDEFINED','UniverCollaborationClientPlugin','_nRounds','_permissionService','HEARTBEAT_TIMEOUT_KEY','action','function','_getSignURL','SHOULD_CLOSE_CONN','IConfigService','_undoStacks','EvpKDF','_getUndoStack','_resendTimeout','liveShareNewHost','m2Prime','COLLAB_SUBMIT_CHANGESET_URL_KEY','NOT_COLLAB','complete','/unit/','_updateState','headers','UNIVER_SHEET','_iv','roles','CONFLICT','range','_submitChangeset','collabWebSocketUrl','connection\x20error','_collaborationUIEventService','commentUpdate$','ERROR_IMAGE','onTransformIME','roomInfos','UNIVER_UNKNOWN','RECV','_decreaseWaiting','CollaborationController','objectType','_imageSourceCache','_candidateSocket','USERS_LEAVE','_cipher','src','_config','UNKNOWN_CMD','_key','onStateChange','AES','Disposable','fetch_missing','_transformSelections','mergeOverrideWithDependencies','capture','sigBytes','UserProfileImg','eventID','BehaviorSubject','SUBMIT_CHANGESET','OfflineState','_lockTransition','11102330eazEHk','univer-pro.collaboration-client-socket-service','symbol','MUTATION','ImageUploadStatusType','JOINING','getLocalCacheKey','resourceIDs','memberID','UnitStatus','delete','USERS_ENTER','exports','[OfflineState]:\x20received\x20changeset.','params','UnitSnapshot','_getCurrentRevision','_sendingTimer','init','?url=','MemberService','_transformStack','workbook','ISnapshotServerService','_entityInit$','getOwnPropertyDescriptor','closeSession','SheetCollaborationEntity','getImageSourceCache','ISocketService','submit\x20changeset\x20error!','POST','_substituteRedoStack','data','textRanges','awaiting','_process','CommentService','_clearUndo','baseRev','indexOf','RETRY_CONNECTING_MAX_COUNT_KEY','_retryConnectingTimer','session.room-cnt-exceeds','encodeURIComponent','max','_clearScheduledTask','asObservable','_onUserLeave','override','unknown','APPLY_REJECT','NoPadding','selections','avatar','DataLoaderService','_doCryptBlock','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','debug','setCurrentUser','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','@univerjs/core','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getUnit','_prevBlock','ENSURE_SNAPSHOT_EXECUTION','members','startsWith','socket$','_parse','hasOwnProperty','BufferedBlockAlgorithm','_onRecvEvent','localeService','_clearHeartbeatTimer','ALREADY_EXISTS','getTypeOfUnitDisposed$','readyForCollab','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','appendMutation','FileId','concat','_state','getUnitId','SetSelectionsOperation','_changesetSessionId','image/jpg','push','Tools','getUnitStatus$','toggleOffline','map','_createInitialState','stringify','min','close$','1238259pVruAH','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_roomCreated$','COMPRESS_MUTATION_APPLY','sessionStatus$','\x20to\x20','msCrypto','JSONX','signUrlServerUrl','_socket','UniverCollaborationPlugin','mixIn','_event$','_onRemoteRejected','enc','[UniverCollaborationClientPlugin]','execute','COMPLETION_FINISHED','_waitCount','reduce','_doCreateSocket','DocCollaborationEntity','charAt','onRemoteChangeset','LOCAL_CACHE_INTERVAL','serializeCombRequest','$super','commentUpdateEvent','uniscriptRunEvent','loadOfflineData','getSheetBlock','saveSnapshot','originalMeta','awaiting_with_pending','cfg','origin','concatMap','Rectangle','PasswordBasedCipher','_fetchMissChangesets','_doProcessBlock','onSyncEditingCollabCursor','entries','PERMISSION_REJ','status','_applyRemoteChangeset','MOBILE_HAS_BEEN_BOUND','unsubscribe','session.room-not-exists','collaboration-client.local-cache-service','values','online$','_handlerCallback','PERMISSION_DENIED','@univerjs-pro/collaboration','LOGIN_FAILED','getFocusedUnit','_localCacheService','_init','touchDependencies','Module','csRejEvent','transformUndoRedo','SheetsSelectionsService','mutations','[PendingState]:\x20received\x20acknowledgement.','_toggleOnline','456656IScyoT','_retryCount','_socketMessageSubscription','_startCollaboration','interceptor','HEARTBEAT','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','open$','ICollaborationSocketService','_doReset','Malformed\x20UTF-8\x20data','socketService','put','putCollaborators','_replaceFileID','UniverDocs','LICENSE_EXPORT_SIZE_EXCEEDED','COLLAB_WEB_SOCKET_URL_KEY','message$','editingUnit','Hex','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','pad','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_transformService','BASE64','find','repeat','getGlobalObject','x-univer-host','every','Could\x20not\x20dynamically\x20require\x20\x22','LICENSE_DISTRO_REJECTED','UniverNetworkPlugin','/object','UniverInstanceType','parseChangesetToProtocol','mode','string','isArray','kdf','onStarting','send','JOIN_ROOM_FULL','bind','IAuthzIoService','HELLO','HEARTBEAT_INTERVAL_KEY','findIndex','_onFetchMissResult','/universer-api/snapshot/','ws://127.0.0.1:8000/universer-api/comb/connect','executeCommand','startTime','BlockCipherMode','SNAPSHOT_INVALID_SNAPSHOT','EMAIL_HAS_BEEN_BOUND','SNAPSHOT_HAS_BEEN_REMOVED','ImageSourceType','_map','unitId\x20is\x20not\x20found','_sendHeartbeatTimer','CollaborativeUndoRedoService','updateOfflineData','_ENC_XFORM_MODE','NOT_FOUND','NO_OTHER_CLIENTS_EDITING','_hasher','ICommandService','image/jpeg','_state$','padding','CollaborationEvent','getResourcesRequest','defineProperty','_clearTimeoutTimer','hostname','[CollaborationUndoRedoService]','replace','_showConflictNotification','INVITE_CODE_HAS_BEEN_UES','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_doFinalize','FAIL','_onLocalMutation','HmacSHA1','YUUMI_NO_CUBOID_FOR_QUESTION','createIdentifier','leaveEvent','reqId','state','UNIVER_PROJECT','_disableEditing','disableLocalCache','ITelemetryService','_schedule','YUUMI_ASYNCIO_CANCELLED','get','AWAITING','univer-pro.collaboration-client.single-active-unit-service','merge','JOIN_ROOM_PERMISSION_DENIED','deepClone','_waitForHeartbeatResponse','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CHANGESET_REJ','onRemoteAck','ILogService','IUniverInstanceService','listRoles','HTTPService','OpenSSL','YUUMI_SUBSCRIPTION_NOT_FOUND','unit-cache-','append','includes','CollaborationSocketService','HmacMD5','UNIVER_SLIDE','/role','pending','_members','_keyPriorReset','next','textEncoder','loadDoc','[SyncedState]:\x20received\x20acknowledgement.','_updateStatus','_networkConditionService','getLatestCsReqIdBySid','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CommandType','_changesetReqId','_transitionLocked','_nDataBytes','COMMENT_UPDATE','collaMsg','object','infoRsp','isTransformChangesetsSuccess','AwaitingState','format','telemetry\x20info\x20is\x20not\x20initialized','revision','_initMergeInterceptor','copyFileMeta','toStringTag','clamp','addImageSourceCache','[PendingState]:\x20received\x20rejection.','getUnitType','_telemetryService','HttpImport','Cipher','_removeRoom','Hasher','HMAC','_onCombEvent','create','_iKey','waitForRoom$','onMissingChangesets','c1Prime','[CollaborationSessionService]','UniverSheets','JOIN','joinEvent','rng','fromCharCode','@univerjs/network','call','CollaborationSessionService','_transformRemoteChangesetByIMECache','onSendChangeset','LIVESHARE_REQUEST_HOST','_socketReady','transformMutationsWithChangeset','newCsEvent','_resendWithTimeout','getCollabEntity','location','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','isPermissionRej','_pendingMutations','_onOffline','Inject','SOCKET_FAILED','[SyncedState]:\x20received\x20rejection.','unitId','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','event$','file','/-/object/list','enableSingleActiveInstanceLock','setWaitCount','_roomMembers','RevisionService','randomUUID','SEND_CHANGESET_TIMEOUT_KEY','OTHER_CLIENT_EDITING','createSocket','PENDING','uploadFileServerUrl','[CollaborationSessionService]:\x20socket\x20error','WECHAT_HAS_BEEN_BOUND','reconnect','_syncEditingCollabCursor','rxjs','_onRemoteACK','encode','_invKeySchedule','_onUserJoin','parseProtocolChangeset','from','_hash','_commentService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','firstValueFrom','RxDisposable','generateRandomId','userID','_initRequestHeader','getValue','fromCollab','prototype','body','\x20in\x20_schedule.','_commentUpdate$','RETRY_CONNECTING_MAX_COUNT','UNRECOGNIZED','ConflictState','takeUntil','/block/','getSnapshotAPIPath','emitEvent','isInternalEditorID','_oKey','getTypeOfUnitAdded$','CBC','_awaitingChangeset','UniverProCollaboration','socket\x20close','/fetchmissing?from=','YUUMI_RATE_OVER_LIMIT','_getDownloadEndpointURL','incrementRevOfUnit','&source=','session.join-failed','RichTextEditingMutation','compute','COLLAB_SUBMIT_CHANGESET_URL','FETCH_MISS','[OfflineState]:\x20received\x20acknowledgement.','Utf8','SheetPermissionInitController','_type','auth.needGotoLoginAlert','fetchThroughInterceptors','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getImage','setShowComponents','isTransformMutationsWithChangesetFailure','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_change$','update','_clearRedo','blockSize','_isPermissionRej','_transformRemoteChangesetByStateCache','offline','set','collaboration-client.config','sendChangesetTimeout','unitID','algo','SnapshotService','5584384aHiDxq','authzUrl','12uRpizh','CollaborationEntity','_collaborationTimeoutTimer','compose','IPermissionService','SOCKET_FAILED_RETRY','disposeWithMe','27237jdDEQo','CipherParams','getCurrentSelections','MD5','_toggleOffline','length','UPDATE_PERMISSION_OBJ','UserManagerService','_HTTPService','BlockCipher','createCollaborator','code','parse','LOCAL_CACHE_INTERVAL_KEY','INVALID_ARGUMENT','_instanceService','TOO_MANY_REQUESTS','_telemetryInfo','UniverCore','_joinRoom','_collabSessionService','forEach','_univerInstanceService','byteLength','MSG_FOR_ERROR','ThresholdInterceptorFactory','Univer','_status$','@univerjs-pro/license','_initCloseConn','_compressMutationService','_unitID','SessionStatus','b64DecodeUnicode','_getAPIPrefixPath','[OfflineState]:\x20received\x20rejection.','DEFAULT_WS_SESSION_TICKET_URL','url','transformStack\x20failed!','shareReplay','getInterceptPoints','lib','YUUMI_URL_COL_OUT_OF_RANGE','clear','randomBytes','_clearLocalCache','toString','JOIN_ROOM_FAILED','floor','toDisposable','_queuedRemoteChangesets','&to=','session','_createHelper','encrypt','onTransformState','CHANGESET_ACK','toLowerCase','/universer-api/oidc/authpage','registerDependencies','_minBufferSize','has','clone','close','getAllMembers','deleteCollaborator','_socket$','DEFAULT_COLLAB_WEB_SOCKET_URL','saveChangeset','CLOSE_ROOM','ONLINE','random','_acknowledgedAwaitingChangeset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','join','INetworkConditionService','_exhaustRemoteChangesetQueue','createInstance','UniverTelemetry','collaboration_new_changeset','APPLY_NON_SEQUENTIAL_REVISION','registerHTTPInterceptor','Base','getCurrentUser','isTransformMutationsWithChangesetSuccess','/rev/','onTransformRemoteChangesetByIMECache','Undefined','byteOffset','getRandomValues','change$','getMember','default','OTHER_CLIENTS_EDITING','dispose','Quantity','formatter','/universer-api/uniscript','reject','requireSession','YUUMI_ALL_TABLES_IS_INVALID','_updateLocalCache','IContextService','_localeService','_createHmacHelper','?size=','c2Prime','_singleActiveUnitService','GLOBAL_ROOMS_CNT_EXCEEDS','onMissedChangesetFetched','FetchingMissState','ITransformService','[DataLoaderService]','slice','_throwTelemetryCollaborationNewChangeset','_onJoinRoomEvent','_transformIMECache','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','CollaborationUIEventService','INVALID_INVITE_CODE','take','_userManagerService','updateMember','CollaborationSession','updateCursorEvent','_sessionStatus$','stopTime','SerializableCipher','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','sessionStatus','_incrementRevisionNumber','35uSbfZM','UNAUTHENTICATED','_sheetTransformSelectionsService','_replayCachedMutations','createDecryptor','fetching\x20missing\x20changesets\x20from\x20','apply','transformSelections','AwaitingWithPendingState','downloadEndpointUrl','processBlock','getMemberID','result','APPLY_DUPLICATED','IDLE','@univerjs/docs','_onConnectionOpen','subUnitId','responseType','Latin1','WordArray','IUndoRedoService','Pkcs7','hasher','_rescheduleHeartbeat','/-/object/-/batch_allowed','CONNECTOR_DATA_TOO_LARGE','_onMessage','_snapshotService','changesets','catch','APPLY_PERMISSION_DENIED','onRemoteRetry','subject','LOGIN_URL_KEY','_substituteUndoStack','rxjs/operators','getCollabEntity$','pipe','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','mapDocumentTypeToUniverType','_undoRedoService','objectID','readInt32LE','createEncryptor','_scheduleCompleteTimestamp','operators','_members$','[CollaborationEntity]','finalize','shouldCloseConn','patch','session.room-full','awaitingChangeset','UNIVER_DOC','delay','setConfig','toggleOnline','members$','confirm','onRemoteRej','size','PendingState','YUUMI_UNABLE_LOAD_URL','/universer-api/stream/file/upload','UUID','UniverProLicense','WorkbookEditablePermission','@univerjs/telemetry','onTransformSelections','_getAPIPrefix','sid','requestParams','UniverNetwork','485128qbZEwZ','now','_logService','transformChangesets','MentionIoHttpService','onlyLocal','fetchMissingChangesets','FETCH_MISSING','charCodeAt','conflict','getTime','add','_reverseMap','Subject','_stopTelemetryCollaborationNewChangeset','YUUMI_AI_RUN_FAILED','buffer','SUCCUSS','_xformMode','CHANGESET_REVISION_CONFILICT','PSEUDO_FETCH_MISSING_RESULT','_scheduleCollaborationTimeoutTimer','save\x20fail\x20reason\x20is\x20','CompressMutationService','unitInfo$','_sessions','InsertSheetMutation','list','routeKey','onTransformRemoteChangesetByStateCache','loadUnit','SNAPSHOT_SERVER_URL_KEY','OFFLINE','_loadSheet','CHANGESET_SHOULD_RETRY','_data','pluginName','[CollaborationSession]','type','PERSON','LocaleService','_resendTimer','SnapshotServerOverHTTPService','APPLY_REVISION_CONFILICT','_collaborationPaused','7367355aOqsDG','_memberService','permissionRejEvent','SNAPSHOT_URL_KEY','listCollaborators','AWAITING_WITH_PENDING','[FetchMissState]','_tryReconnect','keySize','saveSheetBlock','resolve','_registerDependencies','_keySchedule','resend','_snapshotServerService','__esModule','_sender','LIVESHARE_FETCH_OPERATIONS','_handler','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_getLoginPath','getCurrentRevOfUnit','COMPRESS_MUTATION_SEND','DependentOn','_entities','Injector','removeMember','words','/universer-api/authz','_clearCollaborationTimeoutTimer','SheetTransformSelectionsService','name','UNIVER_COLLABORATION_CLIENT_PLUGIN'];_0x2ebb=function(){return _0x4933ab;};return _0x2ebb();}(function(_0x1cf37c,_0x5eecf3){var _0xb025a9=_0x4fc7,_0x5a63b9=_0x1cf37c();while(!![]){try{var _0x970c91=-parseInt(_0xb025a9(0x475))/0x1+parseInt(_0xb025a9(0x126))/0x2*(-parseInt(_0xb025a9(0x23c))/0x3)+-parseInt(_0xb025a9(0x311))/0x4*(-parseInt(_0xb025a9(0x2c7))/0x5)+-parseInt(_0xb025a9(0x3d5))/0x6*(parseInt(_0xb025a9(0x243))/0x7)+parseInt(_0xb025a9(0x23a))/0x8+parseInt(_0xb025a9(0x33e))/0x9+parseInt(_0xb025a9(0x415))/0xa;if(_0x970c91===_0x5eecf3)break;else _0x5a63b9['push'](_0x5a63b9['shift']());}catch(_0x22c66b){_0x5a63b9['push'](_0x5a63b9['shift']());}}}(_0x2ebb,0x975e8),function(_0x5ee75a,_0x166c2f){var _0x386691=_0x4fc7;typeof exports==_0x386691(0x1af)&&typeof module<'u'?_0x166c2f(exports,require(_0x386691(0x452)),require(_0x386691(0x1f5)),require(_0x386691(0x2eb)),require(_0x386691(0x4ab)),require('@univerjs/network'),require(_0x386691(0x30b)),require('@univerjs/docs'),require(_0x386691(0x3ca)),require(_0x386691(0x397)),require(_0x386691(0x25f))):typeof define==_0x386691(0x3dd)&&define[_0x386691(0x363)]?define(['exports',_0x386691(0x452),_0x386691(0x1f5),_0x386691(0x2eb),_0x386691(0x4ab),_0x386691(0x1cf),'@univerjs/telemetry',_0x386691(0x2d6),_0x386691(0x3ca),_0x386691(0x397),_0x386691(0x25f)],_0x166c2f):(_0x5ee75a=typeof globalThis<'u'?globalThis:_0x5ee75a||self,_0x166c2f(_0x5ee75a['UniverProCollaborationClient']={},_0x5ee75a[_0x386691(0x255)],_0x5ee75a[_0x386691(0x1f5)],_0x5ee75a[_0x386691(0x1f5)][_0x386691(0x2f5)],_0x5ee75a[_0x386691(0x216)],_0x5ee75a[_0x386691(0x310)],_0x5ee75a[_0x386691(0x291)],_0x5ee75a[_0x386691(0x135)],_0x5ee75a[_0x386691(0x1ca)],_0x5ee75a[_0x386691(0x371)],_0x5ee75a[_0x386691(0x309)]));}(this,function(_0x3152dc,_0x54f369,_0x4bed42,_0x537885,_0xe75784,_0x5add2d,_0x6ebdbb,_0x4dc7ca,_0x2d25bd,_0x50671f,_0x56d589){'use strict';var _0x27a976=_0x4fc7;var _0x368164=Object[_0x27a976(0x170)],_0x38916f=(_0x178e88,_0x565b0c,_0x50757d)=>_0x565b0c in _0x178e88?_0x368164(_0x178e88,_0x565b0c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50757d}):_0x178e88[_0x565b0c]=_0x50757d,_0x385492=(_0x3644a6,_0x4a483e,_0x111fd1)=>_0x38916f(_0x3644a6,typeof _0x4a483e!=_0x27a976(0x417)?_0x4a483e+'':_0x4a483e,_0x111fd1);const _0x2a644a='SNAPSHOT_SERVER_URL_KEY',_0x3ee362='/universer-api/snapshot',_0x38047e=_0x27a976(0x341),_0x2b35b3=_0x27a976(0x390),_0x4ec758='COLLAB_WEB_SOCKET_URL',_0x36b2d3=_0x27a976(0x159),_0x4b2e58=_0x27a976(0x361),_0x44099='HEARTBEAT_INTERVAL',_0x1eee79='HEARTBEAT_TIMEOUT',_0x411e82=_0x27a976(0x20a),_0x319b1b='LOCAL_CACHE_INTERVAL',_0x20bc26=_0x27a976(0x220),_0x3ee095='/universer-api/comb',_0x3f92cf=_0x27a976(0x2e9),_0x44f55c=_0x27a976(0x27d),_0xa1a3e8=_0x27a976(0x28c),_0x288222=_0x27a976(0x2a4);var _0x4e71ab=(_0x1567bd=>(_0x1567bd[_0x1567bd[_0x27a976(0x3d7)]=0x0]=_0x27a976(0x3d7),_0x1567bd[_0x1567bd['OK']=0x1]='OK',_0x1567bd[_0x1567bd[_0x27a976(0x3c8)]=0x2]=_0x27a976(0x3c8),_0x1567bd[_0x1567bd[_0x27a976(0x4aa)]=0x3]=_0x27a976(0x4aa),_0x1567bd[_0x1567bd[_0x27a976(0x167)]=0x4]='NOT_FOUND',_0x1567bd[_0x1567bd['UNAUTHENTICATED']=0x5]=_0x27a976(0x2c8),_0x1567bd[_0x1567bd['ALREADY_EXISTS']=0x6]=_0x27a976(0x460),_0x1567bd[_0x1567bd[_0x27a976(0x251)]=0x7]=_0x27a976(0x251),_0x1567bd[_0x1567bd[_0x27a976(0x253)]=0x8]=_0x27a976(0x253),_0x1567bd[_0x1567bd[_0x27a976(0x486)]=0x9]='COMPLETION_FINISHED',_0x1567bd[_0x1567bd[_0x27a976(0x4ac)]=0xa]=_0x27a976(0x4ac),_0x1567bd[_0x1567bd[_0x27a976(0x324)]=0x1389]=_0x27a976(0x324),_0x1567bd[_0x1567bd[_0x27a976(0x15d)]=0x1771]=_0x27a976(0x15d),_0x1567bd[_0x1567bd[_0x27a976(0x15f)]=0x1772]=_0x27a976(0x15f),_0x1567bd[_0x1567bd[_0x27a976(0x456)]=0x1773]=_0x27a976(0x456),_0x1567bd[_0x1567bd[_0x27a976(0x448)]=0x1b59]=_0x27a976(0x448),_0x1567bd[_0x1567bd[_0x27a976(0x293)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1567bd[_0x1567bd[_0x27a976(0x33c)]=0x1b5b]=_0x27a976(0x33c),_0x1567bd[_0x1567bd['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x27a976(0x2e6),_0x1567bd[_0x1567bd[_0x27a976(0x2d4)]=0x1b5d]=_0x27a976(0x2d4),_0x1567bd[_0x1567bd[_0x27a976(0x2e1)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1567bd[_0x1567bd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x27a976(0x391),_0x1567bd[_0x1567bd['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x27a976(0x44e),_0x1567bd[_0x1567bd['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1567bd[_0x1567bd[_0x27a976(0x136)]=0x232c]=_0x27a976(0x136),_0x1567bd[_0x1567bd['LICENSE_DISTRO_REJECTED']=0x232d]=_0x27a976(0x146),_0x1567bd[_0x1567bd[_0x27a976(0x306)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1567bd[_0x1567bd[_0x27a976(0x26d)]=0x2712]=_0x27a976(0x26d),_0x1567bd[_0x1567bd['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x27a976(0x219),_0x1567bd[_0x1567bd[_0x27a976(0x196)]=0x2714]=_0x27a976(0x196),_0x1567bd[_0x1567bd[_0x27a976(0x17c)]=0x271a]=_0x27a976(0x17c),_0x1567bd[_0x1567bd['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x27a976(0x186),_0x1567bd[_0x1567bd[_0x27a976(0x1a8)]=0x271c]=_0x27a976(0x1a8),_0x1567bd[_0x1567bd[_0x27a976(0x2a7)]=0x271d]=_0x27a976(0x2a7),_0x1567bd[_0x1567bd['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x27a976(0x177),_0x1567bd[_0x1567bd[_0x27a976(0x320)]=0x271f]=_0x27a976(0x320),_0x1567bd[_0x1567bd[_0x27a976(0x3ae)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1567bd[_0x1567bd[_0x27a976(0x176)]=0x2ee1]=_0x27a976(0x176),_0x1567bd[_0x1567bd[_0x27a976(0x2bb)]=0x2ee2]=_0x27a976(0x2bb),_0x1567bd[_0x1567bd['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x1567bd[_0x1567bd['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1567bd[_0x1567bd[_0x27a976(0x39f)]=0x2ee5]=_0x27a976(0x39f),_0x1567bd[_0x1567bd[_0x27a976(0x1f2)]=0x32c9]=_0x27a976(0x1f2),_0x1567bd[_0x1567bd[_0x27a976(0x4a3)]=0x32ca]=_0x27a976(0x4a3),_0x1567bd[_0x1567bd[_0x27a976(0x15e)]=0x32cb]=_0x27a976(0x15e),_0x1567bd[_0x1567bd[_0x27a976(0x20b)]=-0x1]=_0x27a976(0x20b),_0x1567bd))(_0x4e71ab||{}),_0x1cf251=(_0x43a1ef=>(_0x43a1ef[_0x43a1ef[_0x27a976(0x3fa)]=0x0]=_0x27a976(0x3fa),_0x43a1ef[_0x43a1ef[_0x27a976(0x2fd)]=0x1]='UNIVER_DOC',_0x43a1ef[_0x43a1ef[_0x27a976(0x3ed)]=0x2]='UNIVER_SHEET',_0x43a1ef[_0x43a1ef[_0x27a976(0x19c)]=0x3]=_0x27a976(0x19c),_0x43a1ef[_0x43a1ef[_0x27a976(0x181)]=0x4]='UNIVER_PROJECT',_0x43a1ef[_0x43a1ef[_0x27a976(0x20b)]=-0x1]=_0x27a976(0x20b),_0x43a1ef))(_0x1cf251||{}),_0xb6a7cd=(_0x66d3d4=>(_0x66d3d4[_0x66d3d4[_0x27a976(0x405)]=0x0]=_0x27a976(0x405),_0x66d3d4[_0x66d3d4[_0x27a976(0x154)]=0x1]=_0x27a976(0x154),_0x66d3d4[_0x66d3d4[_0x27a976(0x1cb)]=0x2]='JOIN',_0x66d3d4[_0x66d3d4[_0x27a976(0x3bf)]=0x3]=_0x27a976(0x3bf),_0x66d3d4[_0x66d3d4['INGEST']=0x4]=_0x27a976(0x3a7),_0x66d3d4[_0x66d3d4['HEARTBEAT']=0x5]=_0x27a976(0x12b),_0x66d3d4[_0x66d3d4['RECV']=0x6]=_0x27a976(0x3fb),_0x66d3d4[_0x66d3d4[_0x27a976(0x20b)]=-0x1]=_0x27a976(0x20b),_0x66d3d4))(_0xb6a7cd||{}),_0x11b8cd=(_0xfc39c7=>(_0xfc39c7[_0xfc39c7[_0x27a976(0x3b9)]=0x0]=_0x27a976(0x3b9),_0xfc39c7[_0xfc39c7['OK']=0x1]='OK',_0xfc39c7[_0xfc39c7[_0x27a976(0x179)]=0x2]='FAIL',_0xfc39c7[_0xfc39c7[_0x27a976(0x151)]=0x3e9]=_0x27a976(0x151),_0xfc39c7[_0xfc39c7[_0x27a976(0x382)]=0x3ea]=_0x27a976(0x382),_0xfc39c7[_0xfc39c7[_0x27a976(0x18b)]=0x3eb]=_0x27a976(0x18b),_0xfc39c7[_0xfc39c7[_0x27a976(0x2af)]=0x3ec]=_0x27a976(0x2af),_0xfc39c7[_0xfc39c7[_0x27a976(0x20b)]=-0x1]=_0x27a976(0x20b),_0xfc39c7))(_0x11b8cd||{}),_0x2d18cd=(_0x387d9f=>(_0x387d9f[_0x387d9f[_0x27a976(0x29a)]=0x0]=_0x27a976(0x29a),_0x387d9f[_0x387d9f[_0x27a976(0x1be)]=0x1]=_0x27a976(0x1be),_0x387d9f[_0x387d9f[_0x27a976(0x395)]=0x2]='HttpExport',_0x387d9f[_0x387d9f[_0x27a976(0x388)]=0x3]=_0x27a976(0x388),_0x387d9f[_0x387d9f[_0x27a976(0x424)]=0x4]='UnitSnapshot',_0x387d9f[_0x387d9f[_0x27a976(0x40f)]=0x5]=_0x27a976(0x40f),_0x387d9f[_0x387d9f[_0x27a976(0x20b)]=-0x1]=_0x27a976(0x20b),_0x387d9f))(_0x2d18cd||{});const _0x49f8e7=_0x27a976(0x235),_0x12e75f={};var _0x4203dd=(_0x1d996a=>(_0x1d996a[_0x27a976(0x1ed)]=_0x27a976(0x1ed),_0x1d996a['PERMISSION_DENIED']=_0x27a976(0x4aa),_0x1d996a[_0x27a976(0x3f0)]='CONFLICT',_0x1d996a[_0x27a976(0x288)]='CLOSE_ROOM',_0x1d996a[_0x27a976(0x272)]=_0x27a976(0x272),_0x1d996a[_0x27a976(0x241)]=_0x27a976(0x241),_0x1d996a[_0x27a976(0x1e0)]=_0x27a976(0x1e0),_0x1d996a[_0x27a976(0x3b7)]=_0x27a976(0x3b7),_0x1d996a))(_0x4203dd||{});class _0x54b5c7{constructor(){var _0x1e41d3=_0x27a976;_0x385492(this,_0x1e41d3(0x481),new _0x4bed42[(_0x1e41d3(0x31e))]()),_0x385492(this,_0x1e41d3(0x1e4),this[_0x1e41d3(0x481)]['asObservable']());}[_0x27a976(0x210)](_0x3be6f7){var _0x2948d7=_0x27a976;this[_0x2948d7(0x481)][_0x2948d7(0x1a1)](_0x3be6f7);}}const _0x1c95d1=_0x54f369['createIdentifier'](_0x27a976(0x3c1));function _0xabb636(_0x3a09c3){var _0x227fa0=_0x27a976,_0x132aab,_0x36d2ed,_0xa0e444,_0x471ca0,_0x928a79;const _0xa6d80f=_0x3a09c3[_0x227fa0(0x436)],_0x54cf45=JSON['parse'](_0xa6d80f);switch(_0x54cf45[_0x227fa0(0x364)]){case _0xb6a7cd['HEARTBEAT']:case _0xb6a7cd[_0x227fa0(0x154)]:{const _0x5c1bce=_0x54cf45[_0x227fa0(0x1b0)];return{..._0x54cf45,'data':_0x5c1bce,'cmd':_0x54cf45[_0x227fa0(0x364)]};}case _0xb6a7cd[_0x227fa0(0x1cb)]:{const _0x5a1f40=_0x54cf45['joinRsp'];return{..._0x54cf45,'data':_0x5a1f40,'cmd':_0x54cf45[_0x227fa0(0x364)]};}case _0xb6a7cd[_0x227fa0(0x3fb)]:{const _0x50770c=_0x54cf45[_0x227fa0(0x1ae)];switch(_0x50770c[_0x227fa0(0x410)]){case _0xe75784[_0x227fa0(0x16e)][_0x227fa0(0x4a0)]:return{..._0x54cf45,'data':{..._0x50770c,'data':(_0x132aab=_0x50770c[_0x227fa0(0x340)])==null?void 0x0:_0x132aab['cs']},'cmd':_0x54cf45['cmd']};case _0xe75784['CollaborationEvent'][_0x227fa0(0x27b)]:return{..._0x54cf45,'data':{..._0x50770c,'data':(_0x36d2ed=_0x50770c['csAckEvent'])==null?void 0x0:_0x36d2ed['cs']},'cmd':_0x54cf45['cmd']};case _0xe75784[_0x227fa0(0x16e)][_0x227fa0(0x385)]:return{..._0x54cf45,'data':{..._0x50770c,'data':(_0xa0e444=_0x50770c[_0x227fa0(0x1d7)])==null?void 0x0:_0xa0e444['cs']},'cmd':_0x54cf45[_0x227fa0(0x364)]};case _0xe75784[_0x227fa0(0x16e)][_0x227fa0(0x18f)]:return{..._0x54cf45,'data':{..._0x50770c,'data':(_0x471ca0=_0x50770c[_0x227fa0(0x4b2)])==null?void 0x0:_0x471ca0['cs']},'cmd':_0x54cf45[_0x227fa0(0x364)]};case _0xe75784[_0x227fa0(0x16e)][_0x227fa0(0x333)]:return{..._0x54cf45,'data':{..._0x50770c,'data':(_0x928a79=_0x50770c['csShouldRetryEvent'])==null?void 0x0:_0x928a79['cs']},'cmd':_0x54cf45[_0x227fa0(0x364)]};case _0xe75784['CollaborationEvent'][_0x227fa0(0x378)]:return{..._0x54cf45,'data':{..._0x50770c,'data':_0x50770c[_0x227fa0(0x2c0)]},'cmd':_0x54cf45[_0x227fa0(0x364)]};case _0xe75784[_0x227fa0(0x16e)][_0x227fa0(0x420)]:return{..._0x54cf45,'data':{..._0x50770c,'data':_0x50770c[_0x227fa0(0x1cc)]},'cmd':_0x54cf45[_0x227fa0(0x364)]};case _0xe75784[_0x227fa0(0x16e)][_0x227fa0(0x401)]:return{..._0x54cf45,'data':{..._0x50770c,'data':_0x50770c[_0x227fa0(0x17e)]},'cmd':_0x54cf45['cmd']};case _0xe75784['CollaborationEvent'][_0x227fa0(0x3d2)]:return{..._0x54cf45,'data':{..._0x50770c,'data':_0x50770c[_0x227fa0(0x3e5)]},'cmd':_0x54cf45[_0x227fa0(0x364)]};case _0xe75784[_0x227fa0(0x16e)]['LIVESHARE_FETCH_OPERATIONS']:case _0xe75784[_0x227fa0(0x16e)][_0x227fa0(0x3a2)]:return{..._0x54cf45,'data':{..._0x50770c,'data':_0x50770c[_0x227fa0(0x362)]},'cmd':_0x54cf45[_0x227fa0(0x364)]};case _0xe75784['CollaborationEvent'][_0x227fa0(0x3b6)]:return{..._0x54cf45,'data':{..._0x50770c,'data':_0x50770c[_0x227fa0(0x3e5)]},'cmd':_0x54cf45['cmd']};case _0xe75784[_0x227fa0(0x16e)][_0x227fa0(0x25b)]:return{..._0x54cf45,'data':_0x50770c,'cmd':_0x54cf45['cmd']};case _0xe75784[_0x227fa0(0x16e)]['COMMENT_UPDATE']:return{..._0x54cf45,'data':{..._0x50770c,'data':_0x50770c[_0x227fa0(0x490)]},'cmd':_0x54cf45['cmd']};case _0xe75784['CollaborationEvent'][_0x227fa0(0x249)]:return{..._0x54cf45,'data':{..._0x50770c,'data':_0x50770c['updatePermissionObjEvent']},'cmd':_0x54cf45[_0x227fa0(0x364)]};case _0xe75784['CollaborationEvent'][_0x227fa0(0x3df)]:return{..._0x54cf45,'data':{..._0x50770c,'data':_0x50770c[_0x227fa0(0x2f9)]},'cmd':_0x54cf45[_0x227fa0(0x364)]};case _0xe75784[_0x227fa0(0x16e)][_0x227fa0(0x3a1)]:return{..._0x54cf45,'data':{..._0x50770c,'data':_0x50770c[_0x227fa0(0x491)]},'cmd':_0x54cf45['cmd']};default:return _0x54cf45;}}default:return _0x54cf45;}}function _0x42f940(_0x3b3a08){var _0x378691=_0x27a976;switch(_0x3b3a08[_0x378691(0x364)]){case _0xb6a7cd[_0x378691(0x12b)]:case _0xb6a7cd[_0x378691(0x154)]:return JSON['stringify']({'cmd':_0x3b3a08[_0x378691(0x364)],'routeKey':_0x3b3a08[_0x378691(0x32d)]});case _0xb6a7cd['INGEST']:{let _0x93312f;switch(_0x3b3a08[_0x378691(0x436)][_0x378691(0x410)]){case _0xe75784[_0x378691(0x16e)][_0x378691(0x378)]:{_0x93312f={'eventID':_0xe75784[_0x378691(0x16e)]['UPDATE_CURSOR'],'updateCursorEvent':_0x3b3a08[_0x378691(0x436)]['data']};break;}case _0xe75784[_0x378691(0x16e)][_0x378691(0x401)]:{_0x93312f={'eventID':_0xe75784['CollaborationEvent'][_0x378691(0x401)],'leaveEvent':_0x3b3a08[_0x378691(0x436)][_0x378691(0x436)]};break;}case _0xe75784[_0x378691(0x16e)]['USERS_ENTER']:{_0x93312f={'eventID':_0xe75784[_0x378691(0x16e)][_0x378691(0x420)],'joinEvent':_0x3b3a08[_0x378691(0x436)]['data']};break;}case _0xe75784[_0x378691(0x16e)][_0x378691(0x3d2)]:{_0x93312f={'eventID':_0xe75784['CollaborationEvent'][_0x378691(0x3d2)],'liveShareNewHost':_0x3b3a08[_0x378691(0x436)]['data']};break;}case _0xe75784['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x93312f={'eventID':_0xe75784[_0x378691(0x16e)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x3b3a08[_0x378691(0x436)][_0x378691(0x436)]};break;}case _0xe75784[_0x378691(0x16e)]['LIVESHARE_TERMINATE']:{_0x93312f={'eventID':_0xe75784[_0x378691(0x16e)][_0x378691(0x3b6)],'liveShareTerminate':_0x3b3a08[_0x378691(0x436)][_0x378691(0x436)]};break;}case _0xe75784[_0x378691(0x16e)][_0x378691(0x1d4)]:{_0x93312f={'eventID':_0xe75784[_0x378691(0x16e)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3b3a08[_0x378691(0x436)][_0x378691(0x436)]};break;}case _0xe75784[_0x378691(0x16e)]['LIVESHARE_FETCH_OPERATIONS']:{_0x93312f={'eventID':_0xe75784[_0x378691(0x16e)][_0x378691(0x34f)]};break;}default:_0x93312f={'eventID':_0x3b3a08[_0x378691(0x436)][_0x378691(0x410)]};}return JSON[_0x378691(0x472)]({'cmd':_0x3b3a08[_0x378691(0x364)],'routeKey':_0x3b3a08[_0x378691(0x32d)],'collaMsg':_0x93312f});}case _0xb6a7cd[_0x378691(0x1cb)]:return JSON[_0x378691(0x472)]({'cmd':_0x3b3a08[_0x378691(0x364)],'routeKey':_0x3b3a08[_0x378691(0x32d)],'joinReq':_0x3b3a08[_0x378691(0x436)]});case _0xb6a7cd[_0x378691(0x3bf)]:return JSON['stringify']({'cmd':_0x3b3a08[_0x378691(0x364)],'routeKey':_0x3b3a08[_0x378691(0x32d)],'leaveReq':_0x3b3a08['data']});default:throw new Error(_0x378691(0x463));}}var _0x170f53=Object['getOwnPropertyDescriptor'],_0x2401b9=(_0x191cc7,_0xfcaa20,_0x1c8683,_0x21b081)=>{var _0x1f6402=_0x27a976;for(var _0x448213=_0x21b081>0x1?void 0x0:_0x21b081?_0x170f53(_0xfcaa20,_0x1c8683):_0xfcaa20,_0x2d2b7f=_0x191cc7[_0x1f6402(0x248)]-0x1,_0x541e54;_0x2d2b7f>=0x0;_0x2d2b7f--)(_0x541e54=_0x191cc7[_0x2d2b7f])&&(_0x448213=_0x541e54(_0x448213)||_0x448213);return _0x448213;},_0x65ca43=(_0x74798,_0x449855)=>(_0x45a215,_0x4ca9ad)=>_0x449855(_0x45a215,_0x4ca9ad,_0x74798);const _0x53d58a=_0x54f369['createIdentifier'](_0x27a976(0x416));function _0x456520(_0x513cde,_0x2d74bb,_0x29f6a1){var _0x2107f2=_0x27a976;return _0x513cde+'/'+_0x2d74bb+_0x2107f2(0x3ea)+_0x29f6a1+_0x2107f2(0x37c);}_0x3152dc[_0x27a976(0x19a)]=class extends _0x54f369[_0x27a976(0x409)]{constructor(_0x541c4f,_0x30a249,_0x38dbee,_0x4c32ef,_0x569d2d){var _0x4b1867=_0x27a976;super(),this[_0x4b1867(0x3b2)]=_0x541c4f,this['_httpService']=_0x30a249,this[_0x4b1867(0x37e)]=_0x38dbee,this[_0x4b1867(0x313)]=_0x4c32ef,this['_snapshotServerService']=_0x569d2d;}[_0x27a976(0x489)](_0x4b0eb5){var _0xa1aa4=_0x27a976;const _0x192423=this[_0xa1aa4(0x3b2)][_0xa1aa4(0x187)](_0x5add2d[_0xa1aa4(0x432)]);if(!_0x192423)throw new Error(_0xa1aa4(0x38b));const _0x35b552=_0x192423[_0xa1aa4(0x1ee)](_0x4b0eb5);if(!_0x35b552)throw new Error(_0xa1aa4(0x2b9));const _0x4a95d4=new _0x54f369['DisposableCollection'](),_0x30c9cb=new _0x4bed42[(_0xa1aa4(0x31e))]();_0x4a95d4[_0xa1aa4(0x31c)](_0x35b552[_0xa1aa4(0x474)]['subscribe'](_0x186a74=>_0x30c9cb[_0xa1aa4(0x1a1)](_0x186a74))),_0x4a95d4[_0xa1aa4(0x31c)](_0x54f369[_0xa1aa4(0x274)](()=>_0x30c9cb[_0xa1aa4(0x3e9)]()));const _0x58680d=new _0x4bed42[(_0xa1aa4(0x31e))]();_0x4a95d4[_0xa1aa4(0x31c)](_0x35b552['error$'][_0xa1aa4(0x369)](_0x9054d6=>_0x58680d[_0xa1aa4(0x1a1)](_0x9054d6))),_0x4a95d4[_0xa1aa4(0x31c)](_0x54f369[_0xa1aa4(0x274)](()=>_0x58680d[_0xa1aa4(0x3e9)]()));const _0x1b4db4=new _0x4bed42[(_0xa1aa4(0x31e))]();_0x4a95d4[_0xa1aa4(0x31c)](_0x35b552[_0xa1aa4(0x138)][_0xa1aa4(0x369)](_0x36bbd0=>{var _0x387c42=_0xa1aa4;const _0x4f90c8=_0xabb636(_0x36bbd0);_0x1b4db4[_0x387c42(0x1a1)](_0x4f90c8);})),_0x4a95d4['add'](_0x54f369[_0xa1aa4(0x274)](()=>_0x1b4db4[_0xa1aa4(0x3e9)]()));let _0x5dcaa6;const _0x23e4c3=()=>{var _0x2a70a3=_0xa1aa4;_0x58680d[_0x2a70a3(0x1a1)](new Event('connection\x20error')),_0x30c9cb[_0x2a70a3(0x1a1)](new Event(_0x2a70a3(0x3f4))),_0x5dcaa6[_0x2a70a3(0x282)]();};return _0x5dcaa6={'memberID':'','close$':_0x30c9cb[_0xa1aa4(0x444)](),'error$':_0x58680d[_0xa1aa4(0x444)](),'open$':_0x35b552[_0xa1aa4(0x12d)],'message$':_0x1b4db4[_0xa1aa4(0x444)](),'send':_0x54e6e9=>{var _0xd2a1db=_0xa1aa4;if(_0x54e6e9[_0xd2a1db(0x364)]===_0xb6a7cd[_0xd2a1db(0x3a7)]){if(_0x54e6e9[_0xd2a1db(0x436)][_0xd2a1db(0x410)]===_0xe75784[_0xd2a1db(0x16e)][_0xd2a1db(0x412)]){this['_submitChangeset'](_0x5dcaa6,_0x54e6e9[_0xd2a1db(0x436)])[_0xd2a1db(0x2e5)](_0xa4f633=>{var _0x2ee633=_0xd2a1db;this['_logService'][_0x2ee633(0x3a9)](_0xa4f633),_0x23e4c3();});return;}if(_0x54e6e9[_0xd2a1db(0x436)][_0xd2a1db(0x410)]===_0xe75784[_0xd2a1db(0x16e)][_0xd2a1db(0x318)]){const _0xcfe588=_0x54e6e9[_0xd2a1db(0x436)];this['_fetchMissChangesets'](_0xcfe588)['then'](_0x446d07=>{var _0x55c801=_0xd2a1db;_0x1b4db4[_0x55c801(0x1a1)]({'cmd':_0xb6a7cd[_0x55c801(0x3fb)],'code':_0x11b8cd['OK'],'routeKey':_0xcfe588[_0x55c801(0x436)][_0x55c801(0x237)],'routeType':'','data':{'eventID':_0xe75784['CollaborationEvent'][_0x55c801(0x325)],'data':{'changesets':_0x446d07}}});})['catch'](_0x5b195e=>{var _0x4df785=_0xd2a1db;this['_logService'][_0x4df785(0x3a9)](_0x5b195e),_0x23e4c3();});return;}}_0x35b552[_0xd2a1db(0x150)](_0x42f940(_0x54e6e9));},'close':()=>{var _0x41196b=_0xa1aa4;_0x35b552[_0x41196b(0x282)](),_0x4a95d4[_0x41196b(0x2a1)]();}},_0x5dcaa6;}async[_0x27a976(0x3f2)](_0x58e9f0,_0x5f2aa6){var _0x4bad88=_0x27a976,_0x128edd,_0x5e67ae;const {unitType:_0x180c85,unitID:_0x1fec33,changeset:_0x25e058}=_0x5f2aa6['data'],_0x1405ff={'unitID':_0x1fec33,'memberID':_0x58e9f0[_0x4bad88(0x41d)],'type':_0x180c85,'changeset':_0xe75784[_0x4bad88(0x14a)](_0x25e058)},_0x3d6847=this[_0x4bad88(0x37e)][_0x4bad88(0x3a0)](_0x20bc26),_0x2ea474=this['_configService'][_0x4bad88(0x3a0)](_0x49f8e7),_0x208ba4=_0x456520((_0x5e67ae=(_0x128edd=_0x2ea474==null?void 0x0:_0x2ea474[_0x4bad88(0x3ba)])!=null?_0x128edd:_0x3d6847)!=null?_0x5e67ae:_0x3ee095,_0x180c85,_0x1fec33);try{await this['_httpService'][_0x4bad88(0x3c2)](_0x208ba4,{'body':_0x1405ff});}catch(_0x2cff8c){throw this['_logService'][_0x4bad88(0x3a9)](_0x4bad88(0x336),_0x4bad88(0x433)),_0x2cff8c;}}async[_0x27a976(0x49c)](_0x1cbd8a){var _0x2633d2=_0x27a976;const {unitID:_0x21db05,from:_0x5ece81,to:_0x2114b9,unitType:_0x221786}=_0x1cbd8a[_0x2633d2(0x436)];return(await this[_0x2633d2(0x34c)][_0x2633d2(0x317)]({'metadata':void 0x0},{'unitID':_0x21db05,'type':_0x221786,'from':_0x5ece81,'to':_0x2114b9}))['changesets'];}},_0x3152dc[_0x27a976(0x19a)]=_0x2401b9([_0x65ca43(0x0,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x357)])),_0x65ca43(0x1,_0x54f369[_0x27a976(0x1df)](_0x5add2d[_0x27a976(0x194)])),_0x65ca43(0x2,_0x54f369[_0x27a976(0x3e0)]),_0x65ca43(0x3,_0x54f369[_0x27a976(0x191)]),_0x65ca43(0x4,_0xe75784[_0x27a976(0x42c)])],_0x3152dc['CollaborationSocketService']);const _0x7d3b43=_0x27a976(0x292);function _0x24c8fd(_0x3b67ba){var _0xc54431=_0x27a976;return JSON[_0xc54431(0x472)](_0x3b67ba)[_0xc54431(0x248)];}class _0x1b36af{constructor(){var _0xb4d85d=_0x27a976;_0x385492(this,_0xb4d85d(0x209),new _0x4bed42[(_0xb4d85d(0x31e))]()),_0x385492(this,_0xb4d85d(0x3f6),this[_0xb4d85d(0x209)][_0xb4d85d(0x444)]());}[_0x27a976(0x360)](_0x49a6b5){var _0x2b0aa0=_0x27a976;this[_0x2b0aa0(0x209)]['next'](_0x49a6b5);}}var _0x212555=Object[_0x27a976(0x42e)],_0x391eeb=(_0x40100a,_0x5f9463,_0x34e4be,_0x2ca014)=>{var _0x2cd7c2=_0x27a976;for(var _0x6c5185=_0x2ca014>0x1?void 0x0:_0x2ca014?_0x212555(_0x5f9463,_0x34e4be):_0x5f9463,_0x164af7=_0x40100a[_0x2cd7c2(0x248)]-0x1,_0x55f6eb;_0x164af7>=0x0;_0x164af7--)(_0x55f6eb=_0x40100a[_0x164af7])&&(_0x6c5185=_0x55f6eb(_0x6c5185)||_0x6c5185);return _0x6c5185;},_0x21b81a=(_0x319f09,_0x22f37b)=>(_0x899052,_0x30fc71)=>_0x22f37b(_0x899052,_0x30fc71,_0x319f09);_0x3152dc[_0x27a976(0x429)]=class extends _0x54f369['Disposable']{constructor(_0x1df0ce,_0x1105fa){var _0x492e14=_0x27a976;super(),_0x385492(this,'_roomMembers',new Map()),_0x385492(this,_0x492e14(0x477),new _0x4bed42['Subject']()),(this[_0x492e14(0x259)]=_0x1df0ce,this['_userManagerService']=_0x1105fa,this[_0x492e14(0x242)](_0x4bed42['merge'](this[_0x492e14(0x259)]['getTypeOfUnitDisposed$'](_0x54f369['UniverInstanceType'][_0x492e14(0x3ed)])[_0x492e14(0x2ed)](_0x537885[_0x492e14(0x470)](_0x106202=>_0x106202[_0x492e14(0x468)]())),this[_0x492e14(0x259)][_0x492e14(0x461)](_0x54f369[_0x492e14(0x149)][_0x492e14(0x2fd)])[_0x492e14(0x2ed)](_0x537885[_0x492e14(0x470)](_0xdf6b7=>_0xdf6b7[_0x492e14(0x468)]())),this[_0x492e14(0x259)][_0x492e14(0x461)](_0x54f369['UniverInstanceType']['UNIVER_SLIDE'])['pipe'](_0x537885['map'](_0x59e7dc=>_0x59e7dc[_0x492e14(0x468)]())))[_0x492e14(0x369)](_0x350c50=>this[_0x492e14(0x1c0)](_0x350c50))));}[_0x27a976(0x1c6)](_0x2f9deb){var _0xa2b9ef=_0x27a976;return this[_0xa2b9ef(0x1e9)][_0xa2b9ef(0x280)](_0x2f9deb)?_0x4bed42['of'](this[_0xa2b9ef(0x1e9)][_0xa2b9ef(0x187)](_0x2f9deb)):this[_0xa2b9ef(0x477)][_0xa2b9ef(0x2ed)](_0x537885[_0xa2b9ef(0x470)](_0x55b8e6=>{var _0x3481ed=_0xa2b9ef;if(_0x55b8e6===_0x2f9deb)return this[_0x3481ed(0x1e9)]['get'](_0x55b8e6);}));}[_0x27a976(0x450)](_0x27b1f2){var _0x251f23=_0x27a976;this[_0x251f23(0x2bd)][_0x251f23(0x450)](_0x27b1f2);}[_0x27a976(0x296)](){var _0x10d8e6=_0x27a976;return this[_0x10d8e6(0x2bd)][_0x10d8e6(0x296)]();}[_0x27a976(0x2be)](_0x155f77,_0x588fbd){var _0x1b4160=_0x27a976;let _0x3ce469=this[_0x1b4160(0x1e9)][_0x1b4160(0x187)](_0x155f77);_0x3ce469||(_0x3ce469=new _0x189731(),this[_0x1b4160(0x1e9)][_0x1b4160(0x234)](_0x155f77,_0x3ce469),this[_0x1b4160(0x477)][_0x1b4160(0x1a1)](_0x155f77)),_0x3ce469['updateMember'](_0x588fbd);}[_0x27a976(0x358)](_0x561b0f,_0x1ec67d){var _0x580a19=_0x27a976;const _0x51cd5b=this[_0x580a19(0x1e9)][_0x580a19(0x187)](_0x561b0f);_0x51cd5b&&_0x51cd5b[_0x580a19(0x358)](_0x1ec67d);}['getRoom'](_0x23a141){var _0x55f70f=_0x27a976;return this[_0x55f70f(0x1e9)][_0x55f70f(0x187)](_0x23a141);}[_0x27a976(0x29e)](_0x25f74e,_0x52d254){var _0x19f621=_0x27a976;const _0x2c849c=this['_roomMembers'][_0x19f621(0x187)](_0x25f74e);if(_0x2c849c)return _0x2c849c[_0x19f621(0x29e)](_0x52d254);}[_0x27a976(0x1c0)](_0x1a7d5e){var _0x40f2bf=_0x27a976;const _0x3b8c5e=this[_0x40f2bf(0x1e9)]['get'](_0x1a7d5e);_0x3b8c5e&&(_0x3b8c5e[_0x40f2bf(0x2a1)](),this['_roomMembers'][_0x40f2bf(0x41f)](_0x1a7d5e));}[_0x27a976(0x2a1)](){var _0x4551be=_0x27a976;this[_0x4551be(0x1e9)]['forEach'](_0x34382f=>_0x34382f['dispose']()),this[_0x4551be(0x1e9)][_0x4551be(0x26e)](),this[_0x4551be(0x477)]['complete']();}},_0x3152dc[_0x27a976(0x429)]=_0x391eeb([_0x21b81a(0x0,_0x54f369['IUniverInstanceService']),_0x21b81a(0x1,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x24a)]))],_0x3152dc[_0x27a976(0x429)]);class _0x189731 extends _0x54f369[_0x27a976(0x409)]{constructor(){var _0x274001=_0x27a976;super(...arguments),_0x385492(this,'_members',new Map()),_0x385492(this,_0x274001(0x2f6),new _0x4bed42[(_0x274001(0x411))](this[_0x274001(0x19f)])),_0x385492(this,_0x274001(0x301),this[_0x274001(0x2f6)][_0x274001(0x444)]());}[_0x27a976(0x2a1)](){var _0x180ee1=_0x27a976;this[_0x180ee1(0x19f)][_0x180ee1(0x26e)]();}[_0x27a976(0x2be)](_0x4b2324){var _0x132db9=_0x27a976;this[_0x132db9(0x19f)]['set'](_0x4b2324[_0x132db9(0x41d)],_0x4b2324),this['_emitMembers']();}[_0x27a976(0x358)](_0xd3cd21){var _0x260ea2=_0x27a976;this[_0x260ea2(0x19f)][_0x260ea2(0x41f)](_0xd3cd21);}['getMember'](_0x41b314){var _0x1788df=_0x27a976;return this[_0x1788df(0x19f)]['get'](_0x41b314);}[_0x27a976(0x283)](){var _0x241371=_0x27a976;return Array[_0x241371(0x1fb)](this['_members'][_0x241371(0x4a7)]());}['_emitMembers'](){var _0xe4edbe=_0x27a976;this['_members$'][_0xe4edbe(0x1a1)](this[_0xe4edbe(0x19f)]);}}var _0x57ba1c=Object[_0x27a976(0x42e)],_0x3cbb17=(_0x1f6513,_0x17c7d8,_0x538a0e,_0x57a8d9)=>{var _0x28737e=_0x27a976;for(var _0x5e6734=_0x57a8d9>0x1?void 0x0:_0x57a8d9?_0x57ba1c(_0x17c7d8,_0x538a0e):_0x17c7d8,_0x4202d2=_0x1f6513[_0x28737e(0x248)]-0x1,_0x510d01;_0x4202d2>=0x0;_0x4202d2--)(_0x510d01=_0x1f6513[_0x4202d2])&&(_0x5e6734=_0x510d01(_0x5e6734)||_0x5e6734);return _0x5e6734;},_0x1af165=(_0x509060,_0x4dd0f3)=>(_0x28eccc,_0x414be8)=>_0x4dd0f3(_0x28eccc,_0x414be8,_0x509060),_0x3e8228=(_0x239ffa=>(_0x239ffa[_0x239ffa['IDLE']=0x0]=_0x27a976(0x2d5),_0x239ffa[_0x239ffa[_0x27a976(0x41a)]=0x1]=_0x27a976(0x41a),_0x239ffa[_0x239ffa['OFFLINE']=0x2]='OFFLINE',_0x239ffa[_0x239ffa['ONLINE']=0x3]='ONLINE',_0x239ffa))(_0x3e8228||{});const _0x4c8a5b={[_0x11b8cd[_0x27a976(0x179)]]:_0x27a976(0x21d),[_0x11b8cd[_0x27a976(0x151)]]:_0x27a976(0x2fb),[_0x11b8cd[_0x27a976(0x382)]]:_0x27a976(0x4a5),[_0x11b8cd['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[_0x11b8cd[_0x27a976(0x2af)]]:_0x27a976(0x440)};_0x3152dc[_0x27a976(0x2bf)]=class extends _0x54f369[_0x27a976(0x200)]{constructor(_0x1bf2f5,_0x30dabc,_0x51e1d4,_0x468738,_0xcd487e,_0x53395a,_0x5781ac,_0x5c3db3,_0x538d5b){var _0xd143d1=_0x27a976;super(),_0x385492(this,'_sessionStatus$',new _0x4bed42['BehaviorSubject'](0x0)),_0x385492(this,_0xd143d1(0x479),this[_0xd143d1(0x2c1)][_0xd143d1(0x444)]()),_0x385492(this,_0xd143d1(0x481),new _0x4bed42['Subject']()),_0x385492(this,_0xd143d1(0x1e4),this['_event$'][_0xd143d1(0x444)]()),_0x385492(this,'_socket'),_0x385492(this,'_socketMessageSubscription'),_0x385492(this,_0xd143d1(0x23e)),_0x385492(this,_0xd143d1(0x377),!0x1),_0x385492(this,'_telemetryInfo',null),(this[_0xd143d1(0x262)]=_0x1bf2f5,this[_0xd143d1(0x313)]=_0x51e1d4,this[_0xd143d1(0x37e)]=_0x468738,this[_0xd143d1(0x2aa)]=_0xcd487e,this[_0xd143d1(0x33f)]=_0x53395a,this[_0xd143d1(0x1fd)]=_0x5781ac,this[_0xd143d1(0x3f5)]=_0x5c3db3,this['_telemetryService']=_0x538d5b,this[_0xd143d1(0x377)]=!!this[_0xd143d1(0x1bd)],_0x30dabc['pipe'](_0x4bed42[_0xd143d1(0x20d)](this[_0xd143d1(0x3af)]))[_0xd143d1(0x369)](_0xe8df10=>{var _0x4dccd3=_0xd143d1,_0x2c3c1d;typeof _0xe8df10>'u'||(this[_0x4dccd3(0x47e)]=_0xe8df10,_0xe8df10?(this[_0x4dccd3(0x256)](_0xe8df10),this[_0x4dccd3(0x128)]=_0xe8df10[_0x4dccd3(0x138)][_0x4dccd3(0x369)](_0x3a034c=>{var _0x2e9dd7=_0x4dccd3;_0x3a034c[_0x2e9dd7(0x32d)]===this[_0x2e9dd7(0x262)]&&this[_0x2e9dd7(0x1c3)](_0x3a034c);})):(this[_0x4dccd3(0x2b5)](),this[_0x4dccd3(0x2c1)]['next'](0x2),(_0x2c3c1d=this[_0x4dccd3(0x128)])==null||_0x2c3c1d[_0x4dccd3(0x4a4)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x4f8fa3=_0x27a976;return this[_0x4f8fa3(0x2c1)][_0x4f8fa3(0x204)]();}['getMemberID'](){var _0x354b30=_0x27a976,_0x5889c7,_0x17bfd6;return(_0x17bfd6=(_0x5889c7=this[_0x354b30(0x47e)])==null?void 0x0:_0x5889c7[_0x354b30(0x41d)])!=null?_0x17bfd6:null;}[_0x27a976(0x2a1)](){var _0x25aaa5=_0x27a976;super[_0x25aaa5(0x2a1)](),this['dispose$']['next'](),this[_0x25aaa5(0x3af)]['complete']();}['close'](){var _0x4decb0=_0x27a976,_0x5a8a87,_0x141c47;this['_throwTelemetryCollaborationNewChangeset'](),(_0x5a8a87=this[_0x4decb0(0x47e)])==null||_0x5a8a87[_0x4decb0(0x150)]({'cmd':_0xb6a7cd[_0x4decb0(0x3bf)],'data':{'roomID':this['_unitID']}}),(_0x141c47=this['_socket'])==null||_0x141c47['close'](),this['_event$'][_0x4decb0(0x3e9)](),this[_0x4decb0(0x2c1)]['complete'](),this[_0x4decb0(0x2a1)]();}[_0x27a976(0x1c3)](_0x5d0ce1){var _0x4489ba=_0x27a976;_0x5d0ce1[_0x4489ba(0x364)]===_0xb6a7cd['JOIN']?this[_0x4489ba(0x2b6)](_0x5d0ce1):_0x5d0ce1[_0x4489ba(0x364)]===_0xb6a7cd[_0x4489ba(0x3fb)]&&this['_onRecvEvent'](_0x5d0ce1);}[_0x27a976(0x256)](_0x2941c8){var _0x104511=_0x27a976;this[_0x104511(0x2c1)][_0x104511(0x1a1)](0x1),_0x2941c8['send']({'cmd':_0xb6a7cd[_0x104511(0x1cb)],'routeKey':this[_0x104511(0x262)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x492a45){var _0x544fcc=_0x27a976,_0x25f344;if(_0x492a45[_0x544fcc(0x24e)]in _0x4c8a5b){this[_0x544fcc(0x3f5)]['emitEvent']({'id':_0x4203dd[_0x544fcc(0x272)],'data':_0x4c8a5b[_0x492a45[_0x544fcc(0x24e)]]}),this[_0x544fcc(0x2c1)][_0x544fcc(0x1a1)](0x2);return;}this[_0x544fcc(0x2c1)][_0x544fcc(0x1a1)](0x3);const _0x4f2885=(_0x25f344=_0x492a45[_0x544fcc(0x436)][_0x544fcc(0x3f9)][this[_0x544fcc(0x262)]])==null?void 0x0:_0x25f344[_0x544fcc(0x457)];_0x4f2885&&_0x4f2885[_0x544fcc(0x258)](_0x25f6cd=>this[_0x544fcc(0x33f)]['updateMember'](this[_0x544fcc(0x262)],_0x25f6cd));}[_0x27a976(0x45d)](_0x186794){var _0x5eba90=_0x27a976;try{const _0x181cd2=_0x186794[_0x5eba90(0x436)];switch(_0x181cd2['eventID']){case _0xe75784['CollaborationEvent'][_0x5eba90(0x420)]:this['_onUserJoin'](_0x181cd2),this[_0x5eba90(0x481)]['next'](_0x181cd2);break;case _0xe75784[_0x5eba90(0x16e)][_0x5eba90(0x401)]:this[_0x5eba90(0x445)](_0x181cd2),this[_0x5eba90(0x481)]['next'](_0x181cd2);break;case _0xe75784['CollaborationEvent'][_0x5eba90(0x27b)]:case _0xe75784[_0x5eba90(0x16e)][_0x5eba90(0x333)]:this[_0x5eba90(0x31f)](),this[_0x5eba90(0x35b)](),this[_0x5eba90(0x481)][_0x5eba90(0x1a1)](_0x181cd2);break;case _0xe75784[_0x5eba90(0x16e)]['MSG_FOR_ERROR']:this[_0x5eba90(0x313)]['error'](_0x5eba90(0x327)+JSON['stringify'](_0x181cd2)),this['_event$'][_0x5eba90(0x1a1)](_0x181cd2);break;case _0xe75784['CollaborationEvent'][_0x5eba90(0x1ad)]:this[_0x5eba90(0x1fd)][_0x5eba90(0x360)](_0x181cd2['data']),this['_event$']['next'](_0x181cd2);break;default:this[_0x5eba90(0x481)]['next'](_0x181cd2);}}catch(_0x4752b2){this['_logService'][_0x5eba90(0x3a9)](_0x4752b2,_0x186794);}}[_0x27a976(0x1f9)](_0x557f19){var _0x20faa9=_0x27a976;this[_0x20faa9(0x33f)][_0x20faa9(0x2be)](this[_0x20faa9(0x262)],_0x557f19[_0x20faa9(0x436)]);}[_0x27a976(0x445)](_0x211321){var _0x199934=_0x27a976;this[_0x199934(0x33f)][_0x199934(0x358)](this[_0x199934(0x262)],_0x211321[_0x199934(0x436)][_0x199934(0x41d)]);}async['send'](_0x2c2e00,_0x34ea9b){var _0x1a959f=_0x27a976;if(this[_0x1a959f(0x2c5)]!==0x3||!this[_0x1a959f(0x47e)])throw new Error(_0x1a959f(0x453));try{_0x2c2e00[_0x1a959f(0x410)]===_0xe75784[_0x1a959f(0x16e)]['SUBMIT_CHANGESET']&&(this[_0x1a959f(0x326)](),this[_0x1a959f(0x3cb)](_0x2c2e00)),this[_0x1a959f(0x47e)][_0x1a959f(0x150)]({'cmd':_0xb6a7cd[_0x1a959f(0x3a7)],'routeKey':_0x34ea9b,'routeType':'','data':_0x2c2e00});}catch(_0x2438c1){this[_0x1a959f(0x313)][_0x1a959f(0x3a9)](_0x2438c1);}}[_0x27a976(0x326)](){var _0x479ee3=_0x27a976,_0x5669fc;this[_0x479ee3(0x23e)]=setTimeout(()=>{var _0x317cfc=_0x479ee3;this[_0x317cfc(0x23e)]=null,this[_0x317cfc(0x3f5)][_0x317cfc(0x210)]({'id':_0x4203dd[_0x317cfc(0x3b7)]});},(_0x5669fc=this[_0x479ee3(0x37e)][_0x479ee3(0x3a0)](_0x1eee79))!=null?_0x5669fc:0x4e20);}[_0x27a976(0x35b)](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x27a976(0x3cb)](_0x2e4f0d){var _0x290cb1=_0x27a976;if(!this[_0x290cb1(0x377)])return;const {data:_0x29653d}=_0x2e4f0d,{unitID:_0x2e4b37,changeset:_0x2ddebf}=_0x29653d,{mutations:_0x493db6,type:_0x25e1fe}=_0x2ddebf;this['_telemetryInfo']={'unitId':_0x2e4b37,'type':_0x25e1fe,'startTime':performance[_0x290cb1(0x312)](),'stopTime':0x0,'duration':0x0,'size':_0x24c8fd(_0x493db6)};}[_0x27a976(0x31f)](){var _0x146ce9=_0x27a976;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this['_logService']['error'](_0x146ce9(0x336),_0x146ce9(0x1b4));return;}this[_0x146ce9(0x254)][_0x146ce9(0x2c2)]=performance[_0x146ce9(0x312)](),this['_telemetryInfo'][_0x146ce9(0x381)]=this[_0x146ce9(0x254)][_0x146ce9(0x2c2)]-this[_0x146ce9(0x254)][_0x146ce9(0x15b)],this['_telemetryService'][_0x146ce9(0x40d)](_0x7d3b43,this[_0x146ce9(0x254)]),this[_0x146ce9(0x254)]=null;}}[_0x27a976(0x2b5)](){this['_telemetryInfo']=null;}},_0x3152dc[_0x27a976(0x2bf)]=_0x3cbb17([_0x1af165(0x2,_0x54f369[_0x27a976(0x191)]),_0x1af165(0x3,_0x54f369[_0x27a976(0x3e0)]),_0x1af165(0x4,_0x54f369[_0x27a976(0x1df)](_0x54f369['LocaleService'])),_0x1af165(0x5,_0x54f369['Inject'](_0x3152dc[_0x27a976(0x429)])),_0x1af165(0x6,_0x54f369[_0x27a976(0x1df)](_0x1b36af)),_0x1af165(0x7,_0x54f369[_0x27a976(0x1df)](_0x54b5c7)),_0x1af165(0x8,_0x54f369[_0x27a976(0x39e)](_0x6ebdbb[_0x27a976(0x184)]))],_0x3152dc[_0x27a976(0x2bf)]);var _0xc8f40b=Object[_0x27a976(0x42e)],_0x587620=(_0x336754,_0x207200,_0x12816d,_0xff2677)=>{var _0x327a83=_0x27a976;for(var _0xbc51ba=_0xff2677>0x1?void 0x0:_0xff2677?_0xc8f40b(_0x207200,_0x12816d):_0x207200,_0x5be616=_0x336754[_0x327a83(0x248)]-0x1,_0x57647a;_0x5be616>=0x0;_0x5be616--)(_0x57647a=_0x336754[_0x5be616])&&(_0xbc51ba=_0x57647a(_0xbc51ba)||_0xbc51ba);return _0xbc51ba;},_0x26f0f2=(_0x4ff336,_0xdb017)=>(_0x472e73,_0x1cf2ae)=>_0xdb017(_0x472e73,_0x1cf2ae,_0x4ff336);_0x3152dc[_0x27a976(0x1d1)]=class extends _0x54f369[_0x27a976(0x409)]{constructor(_0xf6913f,_0x495edb,_0x413bb5,_0xc8fcfb,_0x3cbef3,_0x1f40bf){var _0x339fe6=_0x27a976;super(),_0x385492(this,_0x339fe6(0x285),new _0x4bed42[(_0x339fe6(0x411))](void 0x0)),_0x385492(this,_0x339fe6(0x459),this[_0x339fe6(0x285)]['asObservable']()),_0x385492(this,_0x339fe6(0x400),null),_0x385492(this,'_sessions',new Map()),_0x385492(this,_0x339fe6(0x25e),new _0x4bed42[(_0x339fe6(0x411))](_0x3e8228[_0x339fe6(0x2d5)])),_0x385492(this,'status$',this[_0x339fe6(0x25e)][_0x339fe6(0x444)]()),_0x385492(this,_0x339fe6(0x1d5),!0x1),_0x385492(this,_0x339fe6(0x43f)),_0x385492(this,'_retryCount',0x0),_0x385492(this,_0x339fe6(0x163)),_0x385492(this,_0x339fe6(0x3a5)),(this[_0x339fe6(0x3b2)]=_0xf6913f,this[_0x339fe6(0x313)]=_0x495edb,this[_0x339fe6(0x37e)]=_0x413bb5,this[_0x339fe6(0x3d0)]=_0xc8fcfb,this[_0x339fe6(0x3f5)]=_0x3cbef3,this[_0x339fe6(0x1a6)]=_0x1f40bf,this['_listenToNetworkCondition']());}get[_0x27a976(0x47e)](){var _0x5a6c2f=_0x27a976;return this[_0x5a6c2f(0x285)]['getValue']();}['_listenToNetworkCondition'](){var _0x511433=_0x27a976;this['_networkConditionService']&&this[_0x511433(0x242)](this['_networkConditionService'][_0x511433(0x4a8)][_0x511433(0x369)](_0x447d5b=>{var _0x3cf699=_0x511433;_0x447d5b&&!this[_0x3cf699(0x47e)]&&this[_0x3cf699(0x1f3)](),_0x447d5b||this[_0x3cf699(0x1de)]();}));}['dispose'](){var _0x28e3e5=_0x27a976;super[_0x28e3e5(0x2a1)](),this[_0x28e3e5(0x3b1)](),this[_0x28e3e5(0x171)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x28e3e5(0x258)](_0x1c2f39=>_0x1c2f39[_0x28e3e5(0x2a1)]()),this[_0x28e3e5(0x32a)][_0x28e3e5(0x26e)](),this[_0x28e3e5(0x25e)]['complete']();}async['requireSession'](_0x181a45){var _0x91c09=_0x27a976;if(this[_0x91c09(0x32a)][_0x91c09(0x280)](_0x181a45))return this[_0x91c09(0x32a)]['get'](_0x181a45);this[_0x91c09(0x37f)]();const _0x466de3=this['_injector']['createInstance'](_0x3152dc['CollaborationSession'],_0x181a45,this['_socket$'][_0x91c09(0x444)]());return this[_0x91c09(0x32a)][_0x91c09(0x234)](_0x181a45,_0x466de3),_0x466de3;}[_0x27a976(0x42f)](_0x853719){var _0x36ddb6=_0x27a976,_0x235500;const _0x115930=this[_0x36ddb6(0x32a)][_0x36ddb6(0x187)](_0x853719);_0x115930&&(this['_sessions'][_0x36ddb6(0x41f)](_0x853719),_0x115930[_0x36ddb6(0x282)]()),this[_0x36ddb6(0x32a)]['size']||(_0x235500=this[_0x36ddb6(0x47e)])==null||_0x235500[_0x36ddb6(0x282)]();}[_0x27a976(0x1f3)](){var _0x26cbba=_0x27a976;this[_0x26cbba(0x127)]=0x0,this[_0x26cbba(0x3b1)](),this[_0x26cbba(0x345)]();}[_0x27a976(0x3b1)](){var _0x168f70=_0x27a976;this[_0x168f70(0x43f)]!=null&&(clearTimeout(this[_0x168f70(0x43f)]),this[_0x168f70(0x43f)]=null);}async['_createSocket'](){var _0x195502=_0x27a976,_0x4dd026,_0x501bc1;const _0x4d8f69=this['_configService'][_0x195502(0x3a0)](_0x4ec758),_0x581ce1=this[_0x195502(0x37e)][_0x195502(0x3a0)](_0x49f8e7),_0x33db2c=(_0x501bc1=(_0x4dd026=_0x581ce1==null?void 0x0:_0x581ce1[_0x195502(0x3f3)])!=null?_0x4dd026:_0x4d8f69)!=null?_0x501bc1:_0x36b2d3,_0x2acc19=await this[_0x195502(0x3d0)][_0x195502(0x1ee)](_0x33db2c);return this[_0x195502(0x400)]=_0x2acc19,_0x2acc19;}async[_0x27a976(0x37f)](){var _0x5481d8=_0x27a976,_0x51d129,_0x42abce;try{const _0x29bb94=(_0x42abce=(_0x51d129=this[_0x5481d8(0x47e)])!=null?_0x51d129:this[_0x5481d8(0x400)])!=null?_0x42abce:await this['_createSocket']();if(_0x29bb94){const _0x55171d=_0x29bb94['send'];_0x29bb94[_0x5481d8(0x150)]=_0x11adf7=>(this[_0x5481d8(0x2df)](),_0x55171d[_0x5481d8(0x2cd)](_0x29bb94,[_0x11adf7])),_0x29bb94[_0x5481d8(0x138)]['subscribe'](_0x558a8f=>this['_onMessage'](_0x29bb94,_0x558a8f)),_0x29bb94['error$'][_0x5481d8(0x2ed)](_0x537885['take'](0x1))[_0x5481d8(0x369)](_0x23a0c0=>this[_0x5481d8(0x313)][_0x5481d8(0x3a9)](_0x5481d8(0x1f1),_0x23a0c0)),_0x29bb94[_0x5481d8(0x12d)][_0x5481d8(0x2ed)](_0x537885[_0x5481d8(0x2bc)](0x1))[_0x5481d8(0x369)](()=>{var _0x4165e8=_0x5481d8;this[_0x4165e8(0x2d7)](_0x29bb94);}),_0x29bb94['close$'][_0x5481d8(0x2ed)](_0x537885[_0x5481d8(0x2bc)](0x1))[_0x5481d8(0x369)](_0x42df63=>{var _0x3a0e54=_0x5481d8;this['_logService']['debug'](_0x3a0e54(0x1c9),_0x3a0e54(0x217),_0x42df63),this[_0x3a0e54(0x36e)]();});}}catch(_0x297953){this[_0x5481d8(0x313)][_0x5481d8(0x3a9)](_0x297953),this[_0x5481d8(0x36e)]();}}[_0x27a976(0x2d7)](_0x34b519){var _0x13379d=_0x27a976;this['_logService'][_0x13379d(0x44f)](_0x13379d(0x1c9),'socket\x20open.'),_0x34b519[_0x13379d(0x150)]({'cmd':_0xb6a7cd[_0x13379d(0x154)]}),this[_0x13379d(0x2df)]();}[_0x27a976(0x1de)](){var _0x1940b3=_0x27a976;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x1940b3(0x25e)]['next'](_0x3e8228[_0x1940b3(0x331)]),this['_socket$'][_0x1940b3(0x1a1)](null),this[_0x1940b3(0x171)](),this[_0x1940b3(0x45f)]();}[_0x27a976(0x36e)](){var _0x755dab=_0x27a976,_0x351da6;this['_onOffline'](),this[_0x755dab(0x127)]<((_0x351da6=this[_0x755dab(0x37e)][_0x755dab(0x3a0)](_0x411e82))!=null?_0x351da6:0x3)?(this[_0x755dab(0x3f5)][_0x755dab(0x210)]({'id':_0x4203dd['SOCKET_FAILED_RETRY']}),this[_0x755dab(0x345)]()):this[_0x755dab(0x3f5)][_0x755dab(0x210)]({'id':_0x4203dd[_0x755dab(0x1e0)]});}[_0x27a976(0x345)](){var _0x9406b1=_0x27a976,_0xf5b7cb;const _0x1f1095=this[_0x9406b1(0x127)],_0x5b5fce=this[_0x9406b1(0x37e)][_0x9406b1(0x3a0)](_0x49f8e7),_0x6f2a1b=_0x1f1095===0x0?0x0:((_0xf5b7cb=_0x5b5fce==null?void 0x0:_0x5b5fce[_0x9406b1(0x3bd)])!=null?_0xf5b7cb:0x4e20)*0x2**_0x1f1095;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2efc42=_0x9406b1;clearTimeout(this[_0x2efc42(0x43f)]),this['_retryConnectingTimer']=null,this[_0x2efc42(0x37f)]();},_0x6f2a1b),this[_0x9406b1(0x127)]+=0x1;}[_0x27a976(0x2e2)](_0x178368,_0x35de99){var _0x5dba93=_0x27a976;const {cmd:_0xf9cc94}=_0x35de99;_0xf9cc94===_0xb6a7cd[_0x5dba93(0x154)]&&!this[_0x5dba93(0x1d5)]&&(_0x178368[_0x5dba93(0x41d)]=_0x35de99[_0x5dba93(0x436)][_0x5dba93(0x41d)],this[_0x5dba93(0x285)]['next'](_0x178368),this[_0x5dba93(0x25e)][_0x5dba93(0x1a1)](_0x3e8228['ONLINE']),this['_socketReady']=!0x0,this[_0x5dba93(0x400)]=null),_0xf9cc94===_0xb6a7cd[_0x5dba93(0x12b)]&&this[_0x5dba93(0x171)](),this[_0x5dba93(0x2df)]();}[_0x27a976(0x2df)](){var _0x141659=_0x27a976,_0x46f283;this[_0x141659(0x45f)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x46f283=this['_configService']['getConfig'](_0x44099))!=null?_0x46f283:0x7530);}['_sendHeartbeat'](){var _0x218ccc=_0x27a976;this[_0x218ccc(0x47e)][_0x218ccc(0x150)]({'cmd':_0xb6a7cd[_0x218ccc(0x12b)]}),this[_0x218ccc(0x18d)]();}[_0x27a976(0x18d)](){var _0x264c33=_0x27a976,_0x2403d3;this[_0x264c33(0x3a5)]=setTimeout(()=>this[_0x264c33(0x36e)](),(_0x2403d3=this['_configService'][_0x264c33(0x3a0)](_0x1eee79))!=null?_0x2403d3:0x4e20);}[_0x27a976(0x45f)](){var _0x2fbbf6=_0x27a976;this[_0x2fbbf6(0x163)]!=null&&(clearTimeout(this[_0x2fbbf6(0x163)]),this[_0x2fbbf6(0x163)]=null);}[_0x27a976(0x171)](){var _0x3b518f=_0x27a976;this[_0x3b518f(0x3a5)]!=null&&(clearTimeout(this[_0x3b518f(0x3a5)]),this[_0x3b518f(0x3a5)]=null);}},_0x3152dc[_0x27a976(0x1d1)]=_0x587620([_0x26f0f2(0x0,_0x54f369['Inject'](_0x54f369[_0x27a976(0x357)])),_0x26f0f2(0x1,_0x54f369[_0x27a976(0x191)]),_0x26f0f2(0x2,_0x54f369[_0x27a976(0x3e0)]),_0x26f0f2(0x3,_0x53d58a),_0x26f0f2(0x4,_0x54f369[_0x27a976(0x1df)](_0x54b5c7)),_0x26f0f2(0x5,_0x54f369[_0x27a976(0x39e)](_0x1c95d1))],_0x3152dc['CollaborationSessionService']);const _0x2e036e=[];for(let _0x4b378c=0x0;_0x4b378c<0x100;++_0x4b378c)_0x2e036e[_0x27a976(0x46c)]((_0x4b378c+0x100)[_0x27a976(0x271)](0x10)[_0x27a976(0x2b4)](0x1));function _0x4a7205(_0x9c6ed5,_0x376b86=0x0){var _0x595df8=_0x27a976;return(_0x2e036e[_0x9c6ed5[_0x376b86+0x0]]+_0x2e036e[_0x9c6ed5[_0x376b86+0x1]]+_0x2e036e[_0x9c6ed5[_0x376b86+0x2]]+_0x2e036e[_0x9c6ed5[_0x376b86+0x3]]+'-'+_0x2e036e[_0x9c6ed5[_0x376b86+0x4]]+_0x2e036e[_0x9c6ed5[_0x376b86+0x5]]+'-'+_0x2e036e[_0x9c6ed5[_0x376b86+0x6]]+_0x2e036e[_0x9c6ed5[_0x376b86+0x7]]+'-'+_0x2e036e[_0x9c6ed5[_0x376b86+0x8]]+_0x2e036e[_0x9c6ed5[_0x376b86+0x9]]+'-'+_0x2e036e[_0x9c6ed5[_0x376b86+0xa]]+_0x2e036e[_0x9c6ed5[_0x376b86+0xb]]+_0x2e036e[_0x9c6ed5[_0x376b86+0xc]]+_0x2e036e[_0x9c6ed5[_0x376b86+0xd]]+_0x2e036e[_0x9c6ed5[_0x376b86+0xe]]+_0x2e036e[_0x9c6ed5[_0x376b86+0xf]])[_0x595df8(0x27c)]();}let _0x492ae7;const _0x41cf8b=new Uint8Array(0x10);function _0x29a189(){var _0x22c348=_0x27a976;if(!_0x492ae7){if(typeof crypto>'u'||!crypto[_0x22c348(0x29c)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x492ae7=crypto[_0x22c348(0x29c)][_0x22c348(0x152)](crypto);}return _0x492ae7(_0x41cf8b);}const _0x313c06={'randomUUID':typeof crypto<'u'&&crypto[_0x27a976(0x1eb)]&&crypto[_0x27a976(0x1eb)][_0x27a976(0x152)](crypto)};function _0x142cde(_0x452589,_0x4b7be0,_0x6b1398){var _0xd9dd80=_0x27a976,_0x3cf015,_0x354ebb,_0xdd31ae;if(_0x313c06[_0xd9dd80(0x1eb)]&&!_0x452589)return _0x313c06['randomUUID']();_0x452589=_0x452589||{};const _0x2ec417=(_0xdd31ae=(_0x354ebb=_0x452589[_0xd9dd80(0x28a)])!=null?_0x354ebb:(_0x3cf015=_0x452589[_0xd9dd80(0x1cd)])==null?void 0x0:_0x3cf015[_0xd9dd80(0x1d0)](_0x452589))!=null?_0xdd31ae:_0x29a189();if(_0x2ec417[_0xd9dd80(0x248)]<0x10)throw new Error(_0xd9dd80(0x376));return _0x2ec417[0x6]=_0x2ec417[0x6]&0xf|0x40,_0x2ec417[0x8]=_0x2ec417[0x8]&0x3f|0x80,_0x4a7205(_0x2ec417);}const _0x4696b6=_0x54f369[_0x27a976(0x17d)](_0x27a976(0x4a6));function _0x31c4e9(_0x4118df){var _0x42e44b=_0x27a976;return _0x42e44b(0x197)+_0x4118df;}var _0x1b84f5=Object[_0x27a976(0x42e)],_0xfc7978=(_0x288331,_0x381623,_0x26f7ea,_0x129ae0)=>{var _0x3ae994=_0x27a976;for(var _0x34cb35=_0x129ae0>0x1?void 0x0:_0x129ae0?_0x1b84f5(_0x381623,_0x26f7ea):_0x381623,_0x6882af=_0x288331[_0x3ae994(0x248)]-0x1,_0x2b1853;_0x6882af>=0x0;_0x6882af--)(_0x2b1853=_0x288331[_0x6882af])&&(_0x34cb35=_0x2b1853(_0x34cb35)||_0x34cb35);return _0x34cb35;},_0x1fc631=(_0x11ad6e,_0x7e64a3)=>(_0x47512a,_0x3e962f)=>_0x7e64a3(_0x47512a,_0x3e962f,_0x11ad6e);function _0x36c75a(_0x2049d4){var _0x4242df=_0x27a976;const {unitID:_0x32b987,mutations:_0x29910d}=_0x2049d4;return{'unitId':_0x32b987,'subUnitId':_0x29910d[0x0][_0x4242df(0x423)][_0x4242df(0x2d8)]};}_0x3152dc[_0x27a976(0x35c)]=class{constructor(_0x11bec2,_0x2762a0,_0x55de53){var _0xe0094f=_0x27a976;this[_0xe0094f(0x3b2)]=_0x11bec2,this[_0xe0094f(0x13e)]=_0x2762a0,this['_instanceService']=_0x55de53;}[_0x27a976(0x2ce)](_0x26e2da){var _0x4146b2=_0x27a976,_0x3410f4,_0x130b43,_0x159237,_0x31afe6;const _0x445714=this[_0x4146b2(0x3b2)][_0x4146b2(0x187)](_0x2d25bd[_0x4146b2(0x4b4)]),{unitId:_0x48809f,subUnitId:_0x1c79e4}=_0x36c75a(_0x26e2da),_0x222d72=_0x445714==null?void 0x0:_0x445714[_0x4146b2(0x389)](_0x48809f)[_0x4146b2(0x245)](),_0x1572bc=(_0x130b43=(_0x3410f4=this[_0x4146b2(0x252)][_0x4146b2(0x454)](_0x48809f))==null?void 0x0:_0x3410f4[_0x4146b2(0x3aa)]())==null?void 0x0:_0x130b43['getSheetId']();if(_0x222d72['length']===0x0||!_0x48809f||!_0x1c79e4)return;const _0x3ee639=[{'id':_0x2d25bd['SetSelectionsOperation']['id'],'params':{'unitId':_0x48809f,'subUnitId':_0x1572bc,'selections':_0x54f369['Tools'][_0x4146b2(0x18c)](_0x222d72)}}],_0x456ff7=this[_0x4146b2(0x13e)][_0x4146b2(0x1d6)](_0x26e2da,_0x3ee639);if(!_0xe75784[_0x4146b2(0x297)](_0x456ff7))throw _0x456ff7[_0x4146b2(0x3a9)];const _0x2c0b21=(_0x31afe6=(_0x159237=_0x456ff7['m2Prime'][0x0])==null?void 0x0:_0x159237[_0x4146b2(0x423)])==null?void 0x0:_0x31afe6[_0x4146b2(0x44a)];if(Array['isArray'](_0x2c0b21)&&_0x2c0b21[_0x4146b2(0x248)]){if(_0x2c0b21[_0x4146b2(0x248)]===_0x3ee639[0x0]['params']['selections'][_0x4146b2(0x248)]&&_0x2c0b21['every']((_0x98a6ae,_0x5e9eb2)=>_0x54f369[_0x4146b2(0x49a)][_0x4146b2(0x36b)](_0x98a6ae['range'],_0x3ee639[0x0]['params'][_0x4146b2(0x44a)][_0x5e9eb2][_0x4146b2(0x3f1)])))return;this['_injector'][_0x4146b2(0x187)](_0x54f369['ICommandService'])['executeCommand'](_0x2d25bd[_0x4146b2(0x469)]['id'],{'unitId':_0x48809f,'subUnitId':_0x1572bc,'selections':_0x2c0b21});}}},_0x3152dc[_0x27a976(0x35c)]=_0xfc7978([_0x1fc631(0x0,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x357)])),_0x1fc631(0x1,_0xe75784[_0x27a976(0x2b2)]),_0x1fc631(0x2,_0x54f369[_0x27a976(0x192)])],_0x3152dc['SheetTransformSelectionsService']);const _0x583b72=_0x54f369[_0x27a976(0x17d)](_0x27a976(0x189));var _0x3480e0=(_0x905a24=>(_0x905a24[_0x905a24[_0x27a976(0x168)]=0x0]=_0x27a976(0x168),_0x905a24[_0x905a24[_0x27a976(0x2a0)]=0x1]=_0x27a976(0x2a0),_0x905a24))(_0x3480e0||{});const _0x1ed250=new Set([_0x2d25bd[_0x27a976(0x32b)]['id']]);function _0x2ed20e(_0x589469,_0x463fad,_0x4567cf,_0x469ad6,_0x27b598){var _0x44a3e1=_0x27a976,_0x58ef79,_0x1b9148,_0x328608,_0x29b529;const _0x2ebee3=[];for(const _0x4b1b6c of _0x589469)if(_0x1ed250[_0x44a3e1(0x280)](_0x4b1b6c['id'])){if(_0x2ebee3[_0x44a3e1(0x248)]>0x0)break;_0x2ebee3[_0x44a3e1(0x46c)](_0x4b1b6c);break;}else _0x2ebee3['push'](_0x4b1b6c);const _0x4f6719=(_0x1b9148=(_0x58ef79=_0x27b598[_0x44a3e1(0x296)]())==null?void 0x0:_0x58ef79[_0x44a3e1(0x202)])!=null?_0x1b9148:_0x44a3e1(0x447),_0x4a3afc=(_0x29b529=(_0x328608=_0x27b598[_0x44a3e1(0x296)]())==null?void 0x0:_0x328608['memberID'])!=null?_0x29b529:_0x44a3e1(0x447);return{'changeset':{'unitID':_0x463fad,'type':_0xe75784[_0x44a3e1(0x2ef)](_0x4567cf[_0x44a3e1(0x1bc)](_0x463fad)),'baseRev':_0x469ad6[_0x44a3e1(0x353)](_0x463fad),'revision':0x0,'userID':_0x4f6719,'memberID':_0x4a3afc,'mutations':_0x2ebee3},'pendingMutations':_0x589469[_0x44a3e1(0x2b4)](_0x2ebee3[_0x44a3e1(0x248)])};}function _0x1e46ce(_0x40cca3,_0xb41727,_0x4b3c82,_0x1a93ef,_0x570e6d){var _0x180afd=_0x27a976,_0x27da83,_0x53e586,_0x39238,_0x29ef3c;const _0x55dbde=[_0x40cca3['reduce']((_0x634d49,_0x4c902b)=>{var _0x5eac57=_0x4fc7,_0x10305c;const {id:_0xa14e9f}=_0x634d49,{id:_0x3849b2,type:_0x5396ca}=_0x4c902b,_0x13e844=(_0x10305c=_0x634d49[_0x5eac57(0x423)])!=null?_0x10305c:{'actions':null},_0x62df62=_0x4c902b[_0x5eac57(0x423)];if(_0xa14e9f&&_0xa14e9f!==_0x3849b2)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0xa14e9f+'\x20-\x20'+_0x3849b2+'.');return{..._0x634d49,'id':_0x3849b2,'type':_0x5396ca,'params':{'unitId':_0x62df62['unitId'],'textRanges':_0x62df62[_0x5eac57(0x437)],'actions':_0x54f369[_0x5eac57(0x47c)][_0x5eac57(0x23f)](_0x13e844['actions'],_0x62df62[_0x5eac57(0x37d)])}};},{})],_0x3444f7=(_0x53e586=(_0x27da83=_0x570e6d[_0x180afd(0x296)]())==null?void 0x0:_0x27da83[_0x180afd(0x202)])!=null?_0x53e586:_0x180afd(0x447),_0x1fa1a7=(_0x29ef3c=(_0x39238=_0x570e6d[_0x180afd(0x296)]())==null?void 0x0:_0x39238[_0x180afd(0x41d)])!=null?_0x29ef3c:_0x180afd(0x447);return{'changeset':{'unitID':_0xb41727,'type':_0xe75784[_0x180afd(0x2ef)](_0x4b3c82[_0x180afd(0x1bc)](_0xb41727)),'baseRev':_0x1a93ef[_0x180afd(0x353)](_0xb41727),'revision':0x0,'userID':_0x3444f7,'memberID':_0x1fa1a7,'mutations':_0x55dbde},'pendingMutations':[]};}function _0x31e4b5(_0x20aa27,_0x390a0b){var _0x63b112=_0x27a976;const _0x149c1e=new _0x4bed42['ReplaySubject'](0x1);return setTimeout(()=>_0x149c1e[_0x63b112(0x1a1)](_0x390a0b),_0x20aa27),_0x149c1e[_0x63b112(0x444)]()['pipe'](_0x4bed42[_0x63b112(0x2bc)](0x1));}const _0x2882e0={'id':_0x2d25bd[_0x27a976(0x368)]['id'],'type':_0x54f369[_0x27a976(0x1a9)]['MUTATION'],'params':{}};var _0x12fc50=Object[_0x27a976(0x42e)],_0x1a4cb6=(_0x2977f4,_0x55da98,_0x22562d,_0x1b146e)=>{var _0x35c34d=_0x27a976;for(var _0x1ee75a=_0x1b146e>0x1?void 0x0:_0x1b146e?_0x12fc50(_0x55da98,_0x22562d):_0x55da98,_0x2ce038=_0x2977f4[_0x35c34d(0x248)]-0x1,_0x128d60;_0x2ce038>=0x0;_0x2ce038--)(_0x128d60=_0x2977f4[_0x2ce038])&&(_0x1ee75a=_0x128d60(_0x1ee75a)||_0x1ee75a);return _0x1ee75a;},_0x6ea596=(_0xb92a43,_0x47dbb0)=>(_0x207d44,_0x98f9d2)=>_0x47dbb0(_0x207d44,_0x98f9d2,_0xb92a43),_0x576177=(_0x297419=>(_0x297419[_0x27a976(0x3e8)]='not_collab',_0x297419['SYNCED']=_0x27a976(0x3c0),_0x297419[_0x27a976(0x1ef)]=_0x27a976(0x19e),_0x297419[_0x27a976(0x188)]=_0x27a976(0x438),_0x297419[_0x27a976(0x343)]=_0x27a976(0x496),_0x297419[_0x27a976(0x221)]=_0x27a976(0x40a),_0x297419['CONFLICT']='conflict',_0x297419[_0x27a976(0x331)]=_0x27a976(0x233),_0x297419))(_0x576177||{});const _0x33e69a=0xea60;class _0x49fde5{constructor(_0x3a93d2,_0x193d1c,_0x34c8e1,_0x5dd86f,_0x142323,_0x448739,_0x361a04,_0x4ed155,_0x44d20a){var _0x3e8dc2=_0x27a976;_0x385492(this,_0x3e8dc2(0x215),null),_0x385492(this,_0x3e8dc2(0x1dd),[]),(this[_0x3e8dc2(0x237)]=_0x3a93d2,this[_0x3e8dc2(0x337)]=_0x193d1c,this[_0x3e8dc2(0x350)]=_0x142323,this[_0x3e8dc2(0x3b3)]=_0x448739,this['_undoRedoService']=_0x361a04,this['_revisionService']=_0x4ed155,this[_0x3e8dc2(0x4ae)]=_0x44d20a,this[_0x3e8dc2(0x215)]=_0x34c8e1,this[_0x3e8dc2(0x1dd)]=_0x5dd86f);}[_0x27a976(0x39c)](_0x4ff4b5){var _0x47fc56=_0x27a976;const _0x3842af=this[_0x47fc56(0x3c4)]['getCurrentRevOfUnit'](this['unitID']);return _0x4ff4b5['revision']>_0x3842af+0x1?(this[_0x47fc56(0x350)][_0x47fc56(0x1c7)]({'from':_0x3842af,'to':_0x4ff4b5[_0x47fc56(0x1b5)]-0x1}),!0x0):!0x1;}[_0x27a976(0x3c3)](_0x56732c){var _0x33b4d6=_0x27a976;this[_0x33b4d6(0x2f0)][_0x33b4d6(0x4b3)](this[_0x33b4d6(0x237)],_0x56732c);}[_0x27a976(0x40b)](_0x53a88b){var _0x15cc31=_0x27a976,_0x3a9e44,_0x3254c3;(_0x3254c3=(_0x3a9e44=this['_handler'])[_0x15cc31(0x30c)])==null||_0x3254c3[_0x15cc31(0x1d0)](_0x3a9e44,_0x53a88b);}[_0x27a976(0x2b7)](_0x504f4a){var _0x5abbd4=_0x27a976,_0x125937,_0x7cef4c;return(_0x7cef4c=(_0x125937=this[_0x5abbd4(0x350)])['onTransformIME'])==null?void 0x0:_0x7cef4c['call'](_0x125937,_0x504f4a);}['_transformStateCache'](_0x3c0170){var _0x19503b=_0x27a976,_0x29aedd,_0x572dfc;return(_0x572dfc=(_0x29aedd=this[_0x19503b(0x350)])[_0x19503b(0x27a)])==null?void 0x0:_0x572dfc['call'](_0x29aedd,_0x3c0170);}[_0x27a976(0x1d2)](_0x30be5f){var _0xfa897b=_0x27a976,_0x49c667,_0x1b8eec,_0x459db9;return(_0x459db9=(_0x1b8eec=(_0x49c667=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1b8eec[_0xfa897b(0x1d0)](_0x49c667,_0x30be5f))!=null?_0x459db9:_0x30be5f;}['_transformRemoteChangesetByStateCache'](_0x59fbde){var _0x32243b=_0x27a976,_0x246578,_0x33b551,_0x4b8f7e;return(_0x4b8f7e=(_0x33b551=(_0x246578=this['_handler'])[_0x32243b(0x32e)])==null?void 0x0:_0x33b551['call'](_0x246578,_0x59fbde))!=null?_0x4b8f7e:_0x59fbde;}['_syncEditingCollabCursor'](_0x1191e1){var _0x1a4776=_0x27a976,_0x224cad,_0x428891;if(this['type']===_0x1cf251[_0x1a4776(0x2fd)]){const {unitID:_0x1b606e,mutations:_0x2a8489,memberID:_0x16516d}=_0x1191e1,_0x53e129=_0x2a8489[0x0]['params']['textRanges'];Array[_0x1a4776(0x14d)](_0x53e129)&&_0x53e129[_0x1a4776(0x248)]>0x0&&((_0x428891=(_0x224cad=this[_0x1a4776(0x350)])['onSyncEditingCollabCursor'])==null||_0x428891[_0x1a4776(0x1d0)](_0x224cad,{'unitID':_0x1b606e,'memberID':_0x16516d,'textRanges':_0x53e129}));}}[_0x27a976(0x2a8)](){var _0x3c86ac=_0x27a976,_0x1076ee;(_0x1076ee=this[_0x3c86ac(0x4ae)])==null||_0x1076ee[_0x3c86ac(0x165)](this['unitID'],this['type'],this[_0x3c86ac(0x215)],this[_0x3c86ac(0x1dd)]);}[_0x27a976(0x425)](){var _0x1f03c6=_0x27a976;return this['_revisionService'][_0x1f03c6(0x353)](this[_0x1f03c6(0x237)]);}['_incrementRevisionNumber'](){var _0x16dba2=_0x27a976;this['_revisionService'][_0x16dba2(0x21b)](this[_0x16dba2(0x237)]);}[_0x27a976(0x3ac)](_0x4f644e){var _0x555c14=_0x27a976,_0x29b68f;let _0x2853cd=this[_0x555c14(0x1d2)](_0x4f644e);_0x2853cd=this[_0x555c14(0x232)](_0x2853cd);const _0x4dea7b=_0x54f369['sequenceExecute'](_0x2853cd['mutations'],this[_0x555c14(0x3b3)],{'fromCollab':!0x0});if(!_0x4dea7b[_0x555c14(0x2d3)])throw _0x4dea7b[_0x555c14(0x3a9)]instanceof Error?_0x4dea7b[_0x555c14(0x3a9)]:new Error((_0x29b68f=_0x4dea7b[_0x555c14(0x3a9)])!=null?_0x29b68f:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x2853cd),this['_transformStateCache'](_0x2853cd),this[_0x555c14(0x3c3)](_0x4f644e),this[_0x555c14(0x40b)](_0x2853cd),this[_0x555c14(0x1f4)](_0x2853cd),this['_incrementRevisionNumber']();}}_0x3152dc[_0x27a976(0x3a3)]=class extends _0x49fde5{constructor(_0x1627a4,_0x2a40e1,_0x49ec7a,_0x396191,_0x5b12d8,_0x465edd,_0x5e01ea,_0x3a949a,_0x1ae54d,_0x1e70a2){var _0x9819d0=_0x27a976;super(_0x1627a4,_0x2a40e1,null,[],_0x49ec7a,_0x5e01ea,_0x465edd,_0x396191,_0x1e70a2),_0x385492(this,_0x9819d0(0x4a1),_0x9819d0(0x3c0)),(this['_injector']=_0x5b12d8,this['_logService']=_0x3a949a,this[_0x9819d0(0x13e)]=_0x1ae54d,this[_0x9819d0(0x3ce)]=_0x1e70a2);}[_0x27a976(0x464)](_0x5d64c1){var _0x10ef7f=_0x27a976;const _0x5e7bcd=this[_0x10ef7f(0x3b2)][_0x10ef7f(0x290)](_0x3152dc[_0x10ef7f(0x305)],this[_0x10ef7f(0x237)],this[_0x10ef7f(0x337)],[_0x5d64c1],this[_0x10ef7f(0x350)]);return _0x5e7bcd[_0x10ef7f(0x185)](),_0x5e7bcd['_updateLocalCache'](),_0x5e7bcd;}[_0x27a976(0x48c)](_0x3e74ab){var _0xdb5e93=_0x27a976;if(this[_0xdb5e93(0x39c)](_0x3e74ab))return this[_0xdb5e93(0x3b2)]['createInstance'](_0x3152dc[_0xdb5e93(0x2b1)],this[_0xdb5e93(0x237)],this['type'],null,[],null,[_0x3e74ab],this[_0xdb5e93(0x350)]);try{const _0x3c7d3b=this[_0xdb5e93(0x13e)]['transformMutationsWithChangeset'](_0x3e74ab,[_0x2882e0]);if(_0xe75784['isTransformMutationsWithChangesetSuccess'](_0x3c7d3b)){const {c1Prime:_0x121dd9}=_0x3c7d3b;return this[_0xdb5e93(0x3ac)](_0x121dd9),this;}throw _0x3c7d3b[_0xdb5e93(0x3a9)];}catch(_0x509907){return this[_0xdb5e93(0x313)][_0xdb5e93(0x3a9)](_0x509907),this[_0xdb5e93(0x366)](!0x1);}}[_0x27a976(0x366)](_0x56f497){var _0x168a4b=_0x27a976;return this[_0x168a4b(0x3b2)][_0x168a4b(0x290)](_0x3152dc[_0x168a4b(0x20c)],this[_0x168a4b(0x237)],this[_0x168a4b(0x337)],null,[],this[_0x168a4b(0x350)],_0x56f497);}['onRemoteAck'](){var _0x3e251f=_0x27a976;throw new Error(_0x3e251f(0x1a4));}[_0x27a976(0x303)](){var _0x2271f4=_0x27a976;throw new Error(_0x2271f4(0x1e1));}[_0x27a976(0x2e7)](){return this;}['toggleOffline'](){var _0x4cbd58=_0x27a976;return this[_0x4cbd58(0x3b2)][_0x4cbd58(0x290)](_0x3152dc[_0x4cbd58(0x413)],this[_0x4cbd58(0x237)],this['type'],null,[],this[_0x4cbd58(0x350)]);}[_0x27a976(0x300)](){return this;}[_0x27a976(0x34b)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x27a976(0x38a)](){var _0x541e62=_0x27a976;const _0xc857ac=this['_revisionService'][_0x541e62(0x353)](this['unitID']);return this[_0x541e62(0x350)][_0x541e62(0x1c7)]({'from':_0xc857ac,'to':0x0}),this[_0x541e62(0x3b2)][_0x541e62(0x290)](_0x3152dc['FetchingMissState'],this[_0x541e62(0x237)],this[_0x541e62(0x337)],null,[],null,[],this[_0x541e62(0x350)]);}},_0x3152dc[_0x27a976(0x3a3)]=_0x1a4cb6([_0x6ea596(0x3,_0x54f369['Inject'](_0xe75784['RevisionService'])),_0x6ea596(0x4,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x357)])),_0x6ea596(0x5,_0x54f369['IUndoRedoService']),_0x6ea596(0x6,_0x54f369[_0x27a976(0x16a)]),_0x6ea596(0x7,_0x54f369['ILogService']),_0x6ea596(0x8,_0xe75784['ITransformService']),_0x6ea596(0x9,_0x54f369['Optional'](_0x4696b6))],_0x3152dc[_0x27a976(0x3a3)]),_0x3152dc['PendingState']=class extends _0x49fde5{constructor(_0x3ab78e,_0x5c1519,_0x413d27,_0x5def7a,_0x4e2140,_0xdd577d,_0x35a5d3,_0x46f35f,_0x43d461,_0x368d15,_0x328706,_0x294e4f,_0x3513e8,_0x2d4dfc){var _0x4dff80=_0x27a976;super(_0x3ab78e,_0x5c1519,null,_0x413d27,_0x5def7a,_0x43d461,_0x3513e8,_0xdd577d,_0x2d4dfc),_0x385492(this,_0x4dff80(0x4a1),'pending'),_0x385492(this,_0x4dff80(0x2f4),null),_0x385492(this,'_sendingTimer',null),(this[_0x4dff80(0x3b2)]=_0x4e2140,this[_0x4dff80(0x33f)]=_0x35a5d3,this[_0x4dff80(0x313)]=_0x46f35f,this[_0x4dff80(0x37e)]=_0x368d15,this['_transformService']=_0x328706,this[_0x4dff80(0x259)]=_0x294e4f);}['appendMutation'](_0x235041){var _0x2de9a5=_0x27a976;return this[_0x2de9a5(0x1dd)]['push'](_0x235041),this['_updateLocalCache'](),this;}[_0x27a976(0x48c)](_0x1def11){var _0x1e1c8b=_0x27a976;if(this[_0x1e1c8b(0x39c)](_0x1def11))return this[_0x1e1c8b(0x443)](),this[_0x1e1c8b(0x3b2)]['createInstance'](_0x3152dc[_0x1e1c8b(0x2b1)],this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0x1def11],this[_0x1e1c8b(0x350)]);try{const _0x5519f4=this['_transformService'][_0x1e1c8b(0x1d6)](_0x1def11,this[_0x1e1c8b(0x1dd)]);if(_0xe75784[_0x1e1c8b(0x297)](_0x5519f4)){const {c1Prime:_0xa5cfa8,m2Prime:_0x251236}=_0x5519f4;this['_executeRemoteChangeset'](_0xa5cfa8);const _0x5a75c6=this[_0x1e1c8b(0x3b2)][_0x1e1c8b(0x290)](_0x3152dc[_0x1e1c8b(0x305)],this['unitID'],this[_0x1e1c8b(0x337)],_0x251236,this[_0x1e1c8b(0x350)]);this[_0x1e1c8b(0x443)]();const _0x33a65b=new Date()[_0x1e1c8b(0x31b)](),_0x3b055e=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x1e1c8b(0x2f4)]-_0x33a65b,0x0):this[_0x1e1c8b(0x398)]();return _0x5a75c6[_0x1e1c8b(0x185)](_0x3b055e),_0x5a75c6;}throw _0x5519f4[_0x1e1c8b(0x3a9)];}catch(_0x551a31){return this[_0x1e1c8b(0x313)][_0x1e1c8b(0x3a9)](_0x551a31),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x2ac989=_0x27a976;throw new Error(_0x2ac989(0x4b6));}[_0x27a976(0x303)](){var _0x1ecb22=_0x27a976;throw new Error(_0x1ecb22(0x1bb));}[_0x27a976(0x2e7)](){return this;}[_0x27a976(0x46f)](){var _0x55ff66=_0x27a976;return this['_clearScheduledTask'](),this['_injector'][_0x55ff66(0x290)](_0x3152dc['OfflineState'],this['unitID'],this[_0x55ff66(0x337)],null,this['_pendingMutations'],this[_0x55ff66(0x350)]);}['toggleOnline'](){return this;}[_0x27a976(0x185)](_0x5a2ce8){var _0xe08e9a=_0x27a976;const _0x171707=_0x5a2ce8!=null?_0x5a2ce8:this[_0xe08e9a(0x398)]();this[_0xe08e9a(0x2f4)]=new Date()[_0xe08e9a(0x31b)]()+_0x171707,this['_sendingTimer']=setTimeout(()=>{var _0x337627=_0xe08e9a;this[_0x337627(0x443)]();let _0x136706=null;switch(this[_0x337627(0x337)]){case _0x1cf251[_0x337627(0x3ed)]:{_0x136706=_0x2ed20e(this[_0x337627(0x1dd)],this[_0x337627(0x237)],this[_0x337627(0x259)],this['_revisionService'],this['_memberService']);break;}case _0x1cf251['UNIVER_DOC']:{this['_pendingMutations'][_0x337627(0x144)](_0x55e4e9=>_0x55e4e9['id']===_0x4dc7ca[_0x337627(0x21e)]['id'])?_0x136706=_0x1e46ce(this[_0x337627(0x1dd)],this['unitID'],this['_univerInstanceService'],this[_0x337627(0x3c4)],this[_0x337627(0x33f)]):_0x136706=_0x2ed20e(this[_0x337627(0x1dd)],this[_0x337627(0x237)],this[_0x337627(0x259)],this[_0x337627(0x3c4)],this[_0x337627(0x33f)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x337627(0x337)]+_0x337627(0x208));}const {changeset:_0x270609,pendingMutations:_0x4509b5}=_0x136706;this['_handler']['onSendChangeset'](_0x270609);const _0x7ca2=_0x4509b5[_0x337627(0x248)]?this[_0x337627(0x3b2)][_0x337627(0x290)](_0x3152dc[_0x337627(0x2cf)],this[_0x337627(0x237)],this[_0x337627(0x337)],_0x270609,_0x4509b5,this[_0x337627(0x350)],void 0x0):this[_0x337627(0x3b2)][_0x337627(0x290)](_0x3152dc[_0x337627(0x1b2)],this[_0x337627(0x237)],this['type'],_0x270609,this['_handler']);_0x7ca2[_0x337627(0x2a8)](),this[_0x337627(0x350)][_0x337627(0x407)](this,_0x7ca2);},_0x171707);}[_0x27a976(0x398)](){var _0x23b1bc=_0x27a976,_0x921948;const _0x58335c=this[_0x23b1bc(0x37e)][_0x23b1bc(0x3a0)](_0x49f8e7);return(_0x921948=_0x58335c==null?void 0x0:_0x58335c[_0x23b1bc(0x236)])!=null?_0x921948:0x7d0;}[_0x27a976(0x34b)](){var _0x990ab1=_0x27a976;throw new Error(_0x990ab1(0x351));}[_0x27a976(0x443)](){var _0x452e92=_0x27a976;this[_0x452e92(0x426)]!=null&&(clearTimeout(this[_0x452e92(0x426)]),this[_0x452e92(0x426)]=null);}[_0x27a976(0x366)](_0x5cf976){var _0x202d44=_0x27a976;return this[_0x202d44(0x443)](),this[_0x202d44(0x3b2)]['createInstance'](_0x3152dc['ConflictState'],this[_0x202d44(0x237)],this['type'],null,this[_0x202d44(0x1dd)],this[_0x202d44(0x350)],_0x5cf976);}},_0x3152dc['PendingState']=_0x1a4cb6([_0x6ea596(0x4,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x357)])),_0x6ea596(0x5,_0x54f369['Inject'](_0xe75784[_0x27a976(0x1ea)])),_0x6ea596(0x6,_0x54f369[_0x27a976(0x1df)](_0x3152dc['MemberService'])),_0x6ea596(0x7,_0x54f369[_0x27a976(0x191)]),_0x6ea596(0x8,_0x54f369[_0x27a976(0x16a)]),_0x6ea596(0x9,_0x54f369[_0x27a976(0x3e0)]),_0x6ea596(0xa,_0xe75784[_0x27a976(0x2b2)]),_0x6ea596(0xb,_0x54f369[_0x27a976(0x192)]),_0x6ea596(0xc,_0x54f369[_0x27a976(0x2dc)]),_0x6ea596(0xd,_0x54f369['Optional'](_0x4696b6))],_0x3152dc[_0x27a976(0x305)]),_0x3152dc[_0x27a976(0x1b2)]=class extends _0x49fde5{constructor(_0x21b0b2,_0x22feb1,_0x402b71,_0x3f8f2d,_0x800da0,_0x3ead59,_0x2190bb,_0x1cf8b4,_0x516d5e,_0x5cf658,_0x8b0871){var _0x48bdf3=_0x27a976;super(_0x21b0b2,_0x22feb1,_0x402b71,[],_0x3f8f2d,_0x2190bb,_0x5cf658,_0x3ead59,_0x8b0871),_0x385492(this,_0x48bdf3(0x4a1),_0x48bdf3(0x438)),_0x385492(this,_0x48bdf3(0x3e4),0x0),_0x385492(this,'_resendTimer'),_0x385492(this,_0x48bdf3(0x34e)),(this[_0x48bdf3(0x3b2)]=_0x800da0,this['_logService']=_0x1cf8b4,this[_0x48bdf3(0x13e)]=_0x516d5e);}[_0x27a976(0x464)](_0x16ac1b){var _0x115f35=_0x27a976;this[_0x115f35(0x443)]();const _0x3187a9=this[_0x115f35(0x3b2)][_0x115f35(0x290)](_0x3152dc[_0x115f35(0x2cf)],this[_0x115f35(0x237)],this['type'],this[_0x115f35(0x215)],[_0x16ac1b],this['_handler'],this[_0x115f35(0x33a)]);return _0x3187a9['_updateLocalCache'](),_0x3187a9;}['onRemoteChangeset'](_0x118e96){var _0x7a8f96=_0x27a976;if(this[_0x7a8f96(0x39c)](_0x118e96))return this[_0x7a8f96(0x443)](),this[_0x7a8f96(0x3b2)][_0x7a8f96(0x290)](_0x3152dc[_0x7a8f96(0x2b1)],this[_0x7a8f96(0x237)],this[_0x7a8f96(0x337)],this[_0x7a8f96(0x215)],[],null,[_0x118e96],this[_0x7a8f96(0x350)]);try{const _0x2f05df=this[_0x7a8f96(0x13e)][_0x7a8f96(0x314)]([_0x118e96],[this['_awaitingChangeset']],!0x1);if(_0xe75784[_0x7a8f96(0x1b1)](_0x2f05df)){const {c1Prime:_0x45f149,c2Prime:_0x24b548}=_0x2f05df;this[_0x7a8f96(0x3ac)](_0x45f149[0x0]),_0x24b548[0x0]['baseRev']=this[_0x7a8f96(0x425)](),this[_0x7a8f96(0x443)]();const _0x4baad3=this[_0x7a8f96(0x3b2)][_0x7a8f96(0x290)](_0x3152dc['AwaitingState'],this[_0x7a8f96(0x237)],this[_0x7a8f96(0x337)],_0x24b548[0x0],this[_0x7a8f96(0x350)]);return _0x4baad3[_0x7a8f96(0x2a8)](),_0x4baad3;}return this[_0x7a8f96(0x366)](!0x1);}catch(_0x3bb685){return this['_logService'][_0x7a8f96(0x3a9)](_0x3bb685),this[_0x7a8f96(0x366)](!0x1);}}['onRemoteAck'](_0x34f09f){var _0x5b2527=_0x27a976;this[_0x5b2527(0x443)]();const _0x319b68=this[_0x5b2527(0x3c4)]['getCurrentRevOfUnit'](this[_0x5b2527(0x237)]);if(_0x34f09f[_0x5b2527(0x1b5)]<_0x319b68-0x1)return this;if(this['_checkMissing'](_0x34f09f))return this[_0x5b2527(0x3b2)]['createInstance'](_0x3152dc[_0x5b2527(0x2b1)],this[_0x5b2527(0x237)],this[_0x5b2527(0x337)],null,[],this['_awaitingChangeset'],[],this[_0x5b2527(0x350)]);this['_incrementRevisionNumber']();const _0x536e94=this[_0x5b2527(0x3b2)]['createInstance'](_0x3152dc[_0x5b2527(0x3a3)],this[_0x5b2527(0x237)],this[_0x5b2527(0x337)],this[_0x5b2527(0x350)]);return _0x536e94[_0x5b2527(0x2a8)](),_0x536e94;}['onRemoteRej'](_0xe25091){var _0x5b8ea7=_0x27a976;return this[_0x5b8ea7(0x366)](!!(_0xe25091!=null&&_0xe25091['isPermissionRej']));}['onRemoteRetry'](_0x1707ab){var _0x2d7535=_0x27a976;return this['_resendTimeout']>_0x33e69a?this[_0x2d7535(0x46f)]():(this[_0x2d7535(0x33a)]=_0x31e4b5(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x1707ab['reqId']}),this[_0x2d7535(0x34e)]=this[_0x2d7535(0x33a)][_0x2d7535(0x369)](({reqId:_0x14699b,timeout:_0x50c69b})=>{var _0x212b75=_0x2d7535;this[_0x212b75(0x1d8)](_0x14699b,_0x50c69b);}),this);}[_0x27a976(0x46f)](){var _0x4832cb=_0x27a976;return this[_0x4832cb(0x443)](),this[_0x4832cb(0x3b2)][_0x4832cb(0x290)](_0x3152dc[_0x4832cb(0x413)],this[_0x4832cb(0x237)],this[_0x4832cb(0x337)],this['_awaitingChangeset'],[],this[_0x4832cb(0x350)]);}[_0x27a976(0x300)](){return this;}[_0x27a976(0x34b)](){var _0x3bb6fb=_0x27a976;this['_handler'][_0x3bb6fb(0x1d3)](this['_awaitingChangeset']);}[_0x27a976(0x366)](_0x3cfbc3){var _0xfa83be=_0x27a976;return this[_0xfa83be(0x443)](),this[_0xfa83be(0x3b2)][_0xfa83be(0x290)](_0x3152dc[_0xfa83be(0x20c)],this['unitID'],this['type'],this[_0xfa83be(0x215)],[],this[_0xfa83be(0x350)],_0x3cfbc3);}[_0x27a976(0x1d8)](_0x17e841,_0x3a4297){var _0x45ba6d=_0x27a976,_0x5863c5;_0x17e841===((_0x5863c5=this[_0x45ba6d(0x215)])==null?void 0x0:_0x5863c5[_0x45ba6d(0x17f)])&&(this[_0x45ba6d(0x34b)](),this[_0x45ba6d(0x3e4)]=_0x3a4297===0x0?0x3e8:_0x3a4297*0x2);}[_0x27a976(0x443)](){var _0x2358e0=_0x27a976,_0x9ce28c;(_0x9ce28c=this[_0x2358e0(0x34e)])==null||_0x9ce28c['unsubscribe'](),this['_resendTimeout']=0x0;}},_0x3152dc['AwaitingState']=_0x1a4cb6([_0x6ea596(0x4,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x357)])),_0x6ea596(0x5,_0x54f369[_0x27a976(0x1df)](_0xe75784[_0x27a976(0x1ea)])),_0x6ea596(0x6,_0x54f369['ICommandService']),_0x6ea596(0x7,_0x54f369[_0x27a976(0x191)]),_0x6ea596(0x8,_0xe75784['ITransformService']),_0x6ea596(0x9,_0x54f369[_0x27a976(0x2dc)]),_0x6ea596(0xa,_0x54f369['Optional'](_0x4696b6))],_0x3152dc[_0x27a976(0x1b2)]),_0x3152dc['AwaitingWithPendingState']=class extends _0x49fde5{constructor(_0x35f917,_0x2fe3f3,_0x2712fb,_0x43b7dc,_0x4f3fc9,_0x2ec21b,_0x2c1f2d,_0x3a2473,_0x1c565e,_0x2f2f44,_0x3f86c4,_0x308481,_0x2a2d62){var _0xffc4cb=_0x27a976;super(_0x35f917,_0x2fe3f3,_0x2712fb,_0x43b7dc,_0x4f3fc9,_0x1c565e,_0x308481,_0x3a2473,_0x2a2d62),_0x385492(this,_0xffc4cb(0x4a1),'awaiting_with_pending'),_0x385492(this,_0xffc4cb(0x3e4),0x0),_0x385492(this,'_resendTimer'),_0x385492(this,_0xffc4cb(0x34e)),(this[_0xffc4cb(0x3b2)]=_0x2c1f2d,this['_logService']=_0x2f2f44,this[_0xffc4cb(0x13e)]=_0x3f86c4,this[_0xffc4cb(0x3ce)]=_0x2a2d62,_0x2ec21b&&(this[_0xffc4cb(0x33a)]=_0x2ec21b,this[_0xffc4cb(0x34e)]=this[_0xffc4cb(0x33a)][_0xffc4cb(0x369)](({reqId:_0xe8d9a0,timeout:_0x100b28})=>{var _0x5f5539=_0xffc4cb;this[_0x5f5539(0x1d8)](_0xe8d9a0,_0x100b28);})));}[_0x27a976(0x464)](_0x2768fe){var _0x101de8=_0x27a976;return this[_0x101de8(0x1dd)][_0x101de8(0x46c)](_0x2768fe),this;}[_0x27a976(0x48c)](_0xf85d45){var _0x11c28b=_0x27a976;if(this['_checkMissing'](_0xf85d45))return this[_0x11c28b(0x443)](),this[_0x11c28b(0x3b2)][_0x11c28b(0x290)](_0x3152dc['FetchingMissState'],this['unitID'],this[_0x11c28b(0x337)],this['_awaitingChangeset'],this[_0x11c28b(0x1dd)],null,[_0xf85d45],this[_0x11c28b(0x350)]);try{const _0x43b4d0=this[_0x11c28b(0x13e)]['transformChangesets']([_0xf85d45],[this[_0x11c28b(0x215)]],!0x1);if(_0xe75784[_0x11c28b(0x1b1)](_0x43b4d0)){const {c1Prime:_0x4c43d6,c2Prime:_0x1114f7}=_0x43b4d0,_0x620df3=this['_transformService'][_0x11c28b(0x1d6)](_0x4c43d6[0x0],this[_0x11c28b(0x1dd)]);if(_0xe75784[_0x11c28b(0x297)](_0x620df3)){const {c1Prime:_0x438bba,m2Prime:_0x10485d}=_0x620df3;return this[_0x11c28b(0x3ac)](_0x438bba),_0x1114f7[0x0][_0x11c28b(0x43c)]=this[_0x11c28b(0x425)](),this['_clearScheduledTask'](),this[_0x11c28b(0x3b2)][_0x11c28b(0x290)](_0x3152dc['AwaitingWithPendingState'],this[_0x11c28b(0x237)],this[_0x11c28b(0x337)],_0x1114f7[0x0],_0x10485d,this[_0x11c28b(0x350)],void 0x0);}throw _0x620df3[_0x11c28b(0x3a9)];}throw _0x43b4d0[_0x11c28b(0x3a9)];}catch(_0x5a036e){return this[_0x11c28b(0x313)][_0x11c28b(0x3a9)](_0x5a036e),this['_onConflict'](!0x1);}}[_0x27a976(0x190)](_0xcb2e02){var _0x3c5155=_0x27a976;if(this[_0x3c5155(0x443)](),this[_0x3c5155(0x39c)](_0xcb2e02))return this[_0x3c5155(0x3b2)][_0x3c5155(0x290)](_0x3152dc[_0x3c5155(0x2b1)],this[_0x3c5155(0x237)],this[_0x3c5155(0x337)],null,this['_pendingMutations'],this[_0x3c5155(0x215)],[],this[_0x3c5155(0x350)]);this[_0x3c5155(0x2c6)]();const _0x61abcf=this['_injector'][_0x3c5155(0x290)](_0x3152dc[_0x3c5155(0x305)],this['unitID'],this[_0x3c5155(0x337)],this[_0x3c5155(0x1dd)],this['_handler']);return _0x61abcf['_schedule'](),_0x61abcf[_0x3c5155(0x2a8)](),_0x61abcf;}[_0x27a976(0x303)](_0x331091){var _0x40b7b2=_0x27a976;return this[_0x40b7b2(0x366)](!!(_0x331091!=null&&_0x331091[_0x40b7b2(0x1dc)]));}[_0x27a976(0x2e7)](_0xf18356){var _0x3c2944=_0x27a976;return this[_0x3c2944(0x3e4)]>_0x33e69a?this[_0x3c2944(0x46f)]():(this[_0x3c2944(0x33a)]=_0x31e4b5(this[_0x3c2944(0x3e4)],{'timeout':this[_0x3c2944(0x3e4)],'reqId':_0xf18356[_0x3c2944(0x17f)]}),this[_0x3c2944(0x34e)]=this[_0x3c2944(0x33a)]['subscribe'](({reqId:_0x395104,timeout:_0x14f39e})=>{var _0x54c36e=_0x3c2944;this[_0x54c36e(0x1d8)](_0x395104,_0x14f39e);}),this);}[_0x27a976(0x46f)](){var _0x3d2e0b=_0x27a976;return this[_0x3d2e0b(0x443)](),this[_0x3d2e0b(0x3b2)][_0x3d2e0b(0x290)](_0x3152dc['OfflineState'],this[_0x3d2e0b(0x237)],this[_0x3d2e0b(0x337)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x510d0f=_0x27a976;this[_0x510d0f(0x350)][_0x510d0f(0x1d3)](this[_0x510d0f(0x215)]);}[_0x27a976(0x366)](_0x4ef924){var _0x79fea3=_0x27a976;return this[_0x79fea3(0x443)](),this[_0x79fea3(0x3b2)][_0x79fea3(0x290)](_0x3152dc['ConflictState'],this[_0x79fea3(0x237)],this[_0x79fea3(0x337)],null,this[_0x79fea3(0x1dd)],this[_0x79fea3(0x350)],_0x4ef924);}[_0x27a976(0x1d8)](_0x4b14f6,_0x153aeb){var _0x5b87fa=_0x27a976,_0x4ba6cc;_0x4b14f6===((_0x4ba6cc=this['_awaitingChangeset'])==null?void 0x0:_0x4ba6cc[_0x5b87fa(0x17f)])&&(this[_0x5b87fa(0x34b)](),this[_0x5b87fa(0x3e4)]=_0x153aeb===0x0?0x3e8:_0x153aeb*0x2);}[_0x27a976(0x443)](){var _0x4bec68=_0x27a976,_0x38ea82;(_0x38ea82=this['_sender'])==null||_0x38ea82[_0x4bec68(0x4a4)](),this[_0x4bec68(0x3e4)]=0x0;}},_0x3152dc[_0x27a976(0x2cf)]=_0x1a4cb6([_0x6ea596(0x6,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x357)])),_0x6ea596(0x7,_0x54f369[_0x27a976(0x1df)](_0xe75784[_0x27a976(0x1ea)])),_0x6ea596(0x8,_0x54f369[_0x27a976(0x16a)]),_0x6ea596(0x9,_0x54f369[_0x27a976(0x191)]),_0x6ea596(0xa,_0xe75784[_0x27a976(0x2b2)]),_0x6ea596(0xb,_0x54f369[_0x27a976(0x2dc)]),_0x6ea596(0xc,_0x54f369[_0x27a976(0x39e)](_0x4696b6))],_0x3152dc[_0x27a976(0x2cf)]),_0x3152dc[_0x27a976(0x20c)]=class extends _0x49fde5{constructor(_0x4f3123,_0x200c62,_0x506cad,_0x3d19ab,_0x558388,_0x560eb1=!0x1,_0x3abc69,_0x1f3ccc,_0x36240f,_0xc8ef1d,_0x5abef9,_0x54d91,_0x1b394c){var _0x216b06=_0x27a976;super(_0x4f3123,_0x200c62,_0x506cad,_0x3d19ab,_0x558388,_0x1f3ccc,_0x36240f,_0xc8ef1d,_0x1b394c),_0x385492(this,_0x216b06(0x4a1),_0x216b06(0x31a)),(this[_0x216b06(0x231)]=_0x560eb1,this['_permissionService']=_0x3abc69,this['_localeService']=_0x5abef9,this[_0x216b06(0x3f5)]=_0x54d91,this[_0x216b06(0x3ce)]=_0x1b394c,this[_0x216b06(0x175)](),this[_0x216b06(0x270)](),this[_0x216b06(0x182)]());}['appendMutation'](){return this;}[_0x27a976(0x48c)](){return this;}[_0x27a976(0x190)](){return this;}[_0x27a976(0x303)](){return this;}[_0x27a976(0x2e7)](){return this;}[_0x27a976(0x46f)](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x4deb5b=_0x27a976;throw new Error(_0x4deb5b(0x13b));}[_0x27a976(0x270)](){var _0x40a2f1=_0x27a976,_0x4580e0;(_0x4580e0=this[_0x40a2f1(0x4ae)])==null||_0x4580e0[_0x40a2f1(0x165)](this[_0x40a2f1(0x237)],this[_0x40a2f1(0x337)],null,[]);}[_0x27a976(0x175)](){var _0x44041e=_0x27a976;this[_0x44041e(0x231)]?this[_0x44041e(0x3f5)][_0x44041e(0x210)]({'id':_0x4203dd[_0x44041e(0x4aa)]}):this[_0x44041e(0x3f5)][_0x44041e(0x210)]({'id':_0x4203dd[_0x44041e(0x3f0)]});}[_0x27a976(0x182)](){var _0x4adbaa=_0x27a976;this[_0x4adbaa(0x3da)]['updatePermissionPoint'](new _0x2d25bd[(_0x4adbaa(0x30a))](this[_0x4adbaa(0x237)])['id'],!0x1);}},_0x3152dc[_0x27a976(0x20c)]=_0x1a4cb6([_0x6ea596(0x6,_0x54f369['Inject'](_0x54f369[_0x27a976(0x240)])),_0x6ea596(0x7,_0x54f369['ICommandService']),_0x6ea596(0x8,_0x54f369[_0x27a976(0x2dc)]),_0x6ea596(0x9,_0x54f369[_0x27a976(0x1df)](_0xe75784[_0x27a976(0x1ea)])),_0x6ea596(0xa,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x339)])),_0x6ea596(0xb,_0x54f369[_0x27a976(0x1df)](_0x54b5c7)),_0x6ea596(0xc,_0x54f369[_0x27a976(0x39e)](_0x4696b6))],_0x3152dc[_0x27a976(0x20c)]),_0x3152dc['OfflineState']=class extends _0x49fde5{constructor(_0x4f90b7,_0x77fda4,_0x52478c,_0x350405,_0x56c504,_0x2394b9,_0x1017d2,_0x33ffe1,_0x3580eb,_0x54aa41){var _0x34cb03=_0x27a976;super(_0x4f90b7,_0x77fda4,_0x52478c,_0x350405,_0x56c504,_0x33ffe1,_0x3580eb,_0x1017d2,_0x54aa41),_0x385492(this,_0x34cb03(0x4a1),_0x34cb03(0x233)),this[_0x34cb03(0x3b2)]=_0x2394b9;}[_0x27a976(0x464)](_0x52e11b){var _0x24c0dd=_0x27a976;return this[_0x24c0dd(0x1dd)][_0x24c0dd(0x46c)](_0x52e11b),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x27b676){var _0x5dac29=_0x27a976;throw new Error(_0x5dac29(0x422));}[_0x27a976(0x190)](){var _0x3fefe4=_0x27a976;throw new Error(_0x3fefe4(0x222));}['onRemoteRej'](){var _0x4c7e2e=_0x27a976;throw new Error(_0x4c7e2e(0x266));}[_0x27a976(0x2e7)](){return this;}[_0x27a976(0x46f)](){return this;}[_0x27a976(0x300)](){var _0x68a198=_0x27a976;const {_injector:_0xdef5e8,_pendingMutations:_0x449d44,_awaitingChangeset:_0x185dd7,unitID:_0x1c0655,_handler:_0xf33c06,type:_0x128fc3}=this,_0x5d5bf9=_0x3837ab(_0xdef5e8,_0x1c0655,_0x128fc3,_0x185dd7,_0x449d44,_0xf33c06);return _0x5d5bf9 instanceof _0x3152dc[_0x68a198(0x305)]?_0x5d5bf9[_0x68a198(0x185)]():(_0x5d5bf9 instanceof _0x3152dc[_0x68a198(0x2cf)]||_0x5d5bf9 instanceof _0x3152dc[_0x68a198(0x1b2)])&&_0x5d5bf9['resend'](),_0x5d5bf9;}['resend'](){var _0x428023=_0x27a976;throw new Error(_0x428023(0x22c));}},_0x3152dc[_0x27a976(0x413)]=_0x1a4cb6([_0x6ea596(0x5,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x357)])),_0x6ea596(0x6,_0x54f369[_0x27a976(0x1df)](_0xe75784[_0x27a976(0x1ea)])),_0x6ea596(0x7,_0x54f369[_0x27a976(0x16a)]),_0x6ea596(0x8,_0x54f369[_0x27a976(0x2dc)]),_0x6ea596(0x9,_0x54f369[_0x27a976(0x39e)](_0x4696b6))],_0x3152dc[_0x27a976(0x413)]),_0x3152dc['FetchingMissState']=class extends _0x49fde5{constructor(_0x4bbba2,_0x5b8db6,_0x503ca0,_0x3e0281,_0x5514d8,_0x398bb2,_0x11cdbf,_0x45f93e,_0x3a321c,_0x332761,_0x4efc32,_0x6d152,_0x3cda82,_0x43037f){var _0x5eb41d=_0x27a976;super(_0x4bbba2,_0x5b8db6,_0x503ca0,_0x3e0281,_0x11cdbf,_0x4efc32,_0x6d152,_0x3a321c,_0x43037f),_0x385492(this,_0x5eb41d(0x4a1),_0x5eb41d(0x40a)),(this[_0x5eb41d(0x28b)]=_0x5514d8,this['_queuedRemoteChangesets']=_0x398bb2,this[_0x5eb41d(0x3b2)]=_0x45f93e,this['_logService']=_0x332761,this[_0x5eb41d(0x13e)]=_0x3cda82,this[_0x5eb41d(0x3ce)]=_0x43037f);}[_0x27a976(0x2b0)](_0x59d920){var _0x55f325=_0x27a976;try{const _0x11f37a=[..._0x59d920,...this[_0x55f325(0x275)]],_0x22d507=[this[_0x55f325(0x215)]||this[_0x55f325(0x28b)]][_0x55f325(0x386)](_0x27fa1b=>!!_0x27fa1b);let _0x7ef691,_0x1c3973;if(_0x22d507[_0x55f325(0x248)]){const _0x1751f3=this[_0x55f325(0x13e)][_0x55f325(0x314)](_0x11f37a,_0x22d507,!0x1);if(!_0xe75784[_0x55f325(0x1b1)](_0x1751f3))throw _0x1751f3[_0x55f325(0x3a9)];_0x7ef691=_0x1751f3[_0x55f325(0x1c8)],_0x1c3973=_0x1751f3[_0x55f325(0x2ad)];}else _0x7ef691=_0x11f37a,_0x1c3973=[];let _0x942a35=this[_0x55f325(0x1dd)];_0x7ef691[_0x55f325(0x258)](_0x130f76=>{var _0x5d5d78=_0x55f325;let _0x5babc2;if(_0x942a35[_0x5d5d78(0x248)]){const _0x43e913=this[_0x5d5d78(0x13e)]['transformMutationsWithChangeset'](_0x130f76,_0x942a35);if(!_0xe75784['isTransformMutationsWithChangesetSuccess'](_0x43e913))throw _0x43e913[_0x5d5d78(0x3a9)];_0x5babc2=_0x43e913[_0x5d5d78(0x1c8)],_0x942a35=_0x43e913[_0x5d5d78(0x3e6)];}else _0x5babc2=_0x130f76;this[_0x5d5d78(0x3ac)](_0x5babc2);}),this['_acknowledgedAwaitingChangeset']&&this[_0x55f325(0x2c6)](),this['_awaitingChangeset']&&_0x1c3973['length']&&(_0x1c3973[0x0][_0x55f325(0x43c)]=this[_0x55f325(0x425)]());let _0x3b695c;if(this['_awaitingChangeset']&&_0x942a35['length']!==0x0)_0x3b695c=this[_0x55f325(0x3b2)][_0x55f325(0x290)](_0x3152dc[_0x55f325(0x2cf)],this['unitID'],this[_0x55f325(0x337)],_0x1c3973[0x0],_0x942a35,this[_0x55f325(0x350)],void 0x0);else{if(this[_0x55f325(0x215)]&&_0x942a35[_0x55f325(0x248)]===0x0)_0x1c3973[0x0][_0x55f325(0x43c)]=this[_0x55f325(0x425)](),_0x3b695c=this[_0x55f325(0x3b2)][_0x55f325(0x290)](_0x3152dc[_0x55f325(0x1b2)],this[_0x55f325(0x237)],this['type'],_0x1c3973[0x0],this['_handler']);else{if(_0x942a35[_0x55f325(0x248)]!==0x0){const _0x3eab9e=this[_0x55f325(0x3b2)]['createInstance'](_0x3152dc[_0x55f325(0x305)],this[_0x55f325(0x237)],this[_0x55f325(0x337)],_0x942a35,this[_0x55f325(0x350)]);_0x3eab9e[_0x55f325(0x185)](),_0x3b695c=_0x3eab9e;}else _0x3b695c=this[_0x55f325(0x3b2)][_0x55f325(0x290)](_0x3152dc[_0x55f325(0x3a3)],this[_0x55f325(0x237)],this[_0x55f325(0x337)],this[_0x55f325(0x350)]);}}return _0x3b695c[_0x55f325(0x2a8)](),_0x3b695c;}catch(_0x3e7279){return this[_0x55f325(0x313)]['error'](_0x55f325(0x344),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3e7279),this[_0x55f325(0x3b2)][_0x55f325(0x290)](_0x3152dc[_0x55f325(0x20c)],this[_0x55f325(0x237)],this['type'],this[_0x55f325(0x215)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x27a976(0x34b)](){var _0x5342f2=_0x27a976;throw new Error(_0x5342f2(0x2b8));}['appendMutation'](_0x684b82){var _0x42af97=_0x27a976;return this['_pendingMutations'][_0x42af97(0x46c)](_0x684b82),this;}[_0x27a976(0x48c)](_0x59ac4d){var _0xd3b792=_0x27a976;return this[_0xd3b792(0x275)][_0xd3b792(0x46c)](_0x59ac4d),this;}[_0x27a976(0x190)](_0x11132d){var _0xede7f4=_0x27a976;if(this[_0xede7f4(0x215)])return this[_0xede7f4(0x28b)]=this['_awaitingChangeset'],this[_0xede7f4(0x215)]=null,this;throw new Error(_0xede7f4(0x3c5));}[_0x27a976(0x303)](_0x4b636a){var _0xd53c9d=_0x27a976;return this[_0xd53c9d(0x366)](!!(_0x4b636a!=null&&_0x4b636a[_0xd53c9d(0x1dc)]));}[_0x27a976(0x2e7)](){return this;}[_0x27a976(0x46f)](){var _0x14dbb8=_0x27a976;return this['_injector'][_0x14dbb8(0x290)](_0x3152dc['OfflineState'],this[_0x14dbb8(0x237)],this['type'],this[_0x14dbb8(0x215)],this[_0x14dbb8(0x1dd)],this['_handler']);}[_0x27a976(0x300)](){return this;}[_0x27a976(0x366)](_0x326cb0){var _0x493503=_0x27a976;return this[_0x493503(0x3b2)][_0x493503(0x290)](_0x3152dc['ConflictState'],this[_0x493503(0x237)],this['type'],this[_0x493503(0x215)],this[_0x493503(0x1dd)],this[_0x493503(0x350)],_0x326cb0);}},_0x3152dc[_0x27a976(0x2b1)]=_0x1a4cb6([_0x6ea596(0x7,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x357)])),_0x6ea596(0x8,_0x54f369[_0x27a976(0x1df)](_0xe75784[_0x27a976(0x1ea)])),_0x6ea596(0x9,_0x54f369[_0x27a976(0x191)]),_0x6ea596(0xa,_0x54f369[_0x27a976(0x16a)]),_0x6ea596(0xb,_0x54f369['IUndoRedoService']),_0x6ea596(0xc,_0xe75784[_0x27a976(0x2b2)]),_0x6ea596(0xd,_0x54f369[_0x27a976(0x39e)](_0x4696b6))],_0x3152dc['FetchingMissState']);function _0x3837ab(_0x2f69c5,_0x1f2945,_0x290c22,_0x3aacd1,_0x12b48f,_0x37330a){var _0x5dcf14=_0x27a976;return _0x3aacd1&&_0x12b48f[_0x5dcf14(0x248)]?_0x2f69c5[_0x5dcf14(0x290)](_0x3152dc[_0x5dcf14(0x2cf)],_0x1f2945,_0x290c22,_0x3aacd1,_0x12b48f,_0x37330a,void 0x0):_0x3aacd1?_0x2f69c5[_0x5dcf14(0x290)](_0x3152dc['AwaitingState'],_0x1f2945,_0x290c22,_0x3aacd1,_0x37330a):_0x12b48f[_0x5dcf14(0x248)]?_0x2f69c5[_0x5dcf14(0x290)](_0x3152dc[_0x5dcf14(0x305)],_0x1f2945,_0x290c22,_0x12b48f,_0x37330a):_0x2f69c5[_0x5dcf14(0x290)](_0x3152dc[_0x5dcf14(0x3a3)],_0x1f2945,_0x290c22,_0x37330a);}var _0x4310df=Object[_0x27a976(0x42e)],_0x1b2798=(_0x481699,_0xf1dd8a,_0x10c019,_0xa02bc7)=>{var _0x15d1f4=_0x27a976;for(var _0x15784d=_0xa02bc7>0x1?void 0x0:_0xa02bc7?_0x4310df(_0xf1dd8a,_0x10c019):_0xf1dd8a,_0x365656=_0x481699[_0x15d1f4(0x248)]-0x1,_0x5dbe98;_0x365656>=0x0;_0x365656--)(_0x5dbe98=_0x481699[_0x365656])&&(_0x15784d=_0x5dbe98(_0x15784d)||_0x15784d);return _0x15784d;},_0x45147b=(_0xd73cf6,_0x1005e2)=>(_0x2f4a71,_0x599345)=>_0x1005e2(_0x2f4a71,_0x599345,_0xd73cf6);_0x3152dc[_0x27a976(0x23d)]=class extends _0x54f369[_0x27a976(0x200)]{constructor(_0x609799,_0xf4897b,_0x6c4808,_0x213c69,_0x29ef41,_0x5a5e8f,_0x513ac6,_0x3c2a32,_0x3dde20,_0x7b0805,_0x1141de,_0x52f2af,_0x312117){var _0x978ec7=_0x27a976;super(),_0x385492(this,'_state$',new _0x4bed42['BehaviorSubject'](null)),_0x385492(this,_0x978ec7(0x379),this[_0x978ec7(0x16c)][_0x978ec7(0x444)]()),_0x385492(this,_0x978ec7(0x467)),_0x385492(this,_0x978ec7(0x33d),!0x1),_0x385492(this,'_changesetSessionId',''),_0x385492(this,_0x978ec7(0x1aa),0x0),_0x385492(this,'status$',this['state$']['pipe'](_0x4bed42[_0x978ec7(0x470)](_0xd45bfd=>_0xd45bfd?_0xd45bfd['status']:_0x576177[_0x978ec7(0x331)]),_0x4bed42[_0x978ec7(0x26a)](0x1))),_0x385492(this,_0x978ec7(0x1ab),!0x1),_0x385492(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x609799,this['session']=_0xf4897b,this[_0x978ec7(0x225)]=_0x6c4808,this[_0x978ec7(0x3b2)]=_0x213c69,this['_compressMutationService']=_0x29ef41,this['_localeService']=_0x5a5e8f,this['_revisionService']=_0x513ac6,this[_0x978ec7(0x372)]=_0x3c2a32,this[_0x978ec7(0x313)]=_0x3dde20,this[_0x978ec7(0x3b3)]=_0x7b0805,this[_0x978ec7(0x3da)]=_0x1141de,this['_singleActiveUnitService']=_0x52f2af,this[_0x978ec7(0x4ae)]=_0x312117);}get[_0x27a976(0x180)](){var _0x17ecff=_0x27a976;return this[_0x17ecff(0x467)];}async[_0x27a976(0x427)](){var _0x53fd53=_0x27a976;if(this[_0x53fd53(0x180)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x53fd53(0x4af)]();}['pauseCollaboration'](){var _0x133c33=_0x27a976;return this[_0x133c33(0x33d)]=!0x0,_0x54f369[_0x133c33(0x274)](()=>{var _0x59c2a2=_0x133c33;this[_0x59c2a2(0x33d)]=!0x1,this[_0x59c2a2(0x28f)]();});}['onLocalMutation'](_0x11028a){this['_onLocalMutation'](_0x11028a);}[_0x27a976(0x3eb)](_0x50b4a7){var _0x4946cb=_0x27a976;this[_0x4946cb(0x467)]=_0x50b4a7,this['_state$'][_0x4946cb(0x1a1)](_0x50b4a7);}async[_0x27a976(0x4af)](){var _0x814257=_0x27a976,_0x327d8e;this[_0x814257(0x3eb)](await this[_0x814257(0x471)]()),this['_singleActiveUnitService']&&((_0x327d8e=this[_0x814257(0x2ae)])==null||_0x327d8e[_0x814257(0x139)](this['unitID']),this['disposeWithMe'](this[_0x814257(0x2ae)][_0x814257(0x46e)](this[_0x814257(0x237)])[_0x814257(0x369)](_0x41ec7e=>{var _0x369fcb=_0x814257;this[_0x369fcb(0x313)]['debug'](_0x369fcb(0x2f7),'editing\x20status\x20changed\x20to',_0x41ec7e),_0x41ec7e===_0x3480e0[_0x369fcb(0x2a0)]?(this['_eventService'][_0x369fcb(0x210)]({'id':_0x4203dd[_0x369fcb(0x1ed)]}),this['_permissionService'][_0x369fcb(0x3d6)](new _0x2d25bd[(_0x369fcb(0x30a))](this[_0x369fcb(0x237)])['id'],!0x1),this[_0x369fcb(0x3da)][_0x369fcb(0x22a)](!0x1)):(this[_0x369fcb(0x3da)][_0x369fcb(0x3d6)](new _0x2d25bd[(_0x369fcb(0x30a))](this['unitID'])['id'],!0x0),this[_0x369fcb(0x3da)][_0x369fcb(0x22a)](!0x0));})));let _0x3ea0a6=!0x1;return this['disposeWithMe'](this[_0x814257(0x277)][_0x814257(0x479)][_0x814257(0x369)](_0x3ea833=>{var _0x2c2a4d=_0x814257;_0x3ea833===_0x3e8228['ONLINE']?this[_0x2c2a4d(0x4b7)](_0x3ea0a6):_0x3ea833===_0x3e8228[_0x2c2a4d(0x331)]&&(_0x3ea0a6=!0x0,this[_0x2c2a4d(0x247)]());})),this[_0x814257(0x242)](this[_0x814257(0x277)][_0x814257(0x1e4)][_0x814257(0x369)](_0x35eb1c=>{var _0x3a614e=_0x814257;try{switch(_0x35eb1c[_0x3a614e(0x410)]){case _0xe75784[_0x3a614e(0x16e)][_0x3a614e(0x385)]:{this[_0x3a614e(0x393)](_0xe75784[_0x3a614e(0x1fa)](_0x35eb1c[_0x3a614e(0x436)]));break;}case _0xe75784[_0x3a614e(0x16e)][_0x3a614e(0x27b)]:{this[_0x3a614e(0x1f6)](_0x35eb1c[_0x3a614e(0x436)]);break;}case _0xe75784[_0x3a614e(0x16e)]['CHANGESET_REJ']:{this[_0x3a614e(0x482)]();break;}case _0xe75784[_0x3a614e(0x16e)][_0x3a614e(0x333)]:{this[_0x3a614e(0x3ad)](_0x35eb1c[_0x3a614e(0x436)]);break;}case _0xe75784[_0x3a614e(0x16e)][_0x3a614e(0x325)]:{this[_0x3a614e(0x157)](_0x35eb1c[_0x3a614e(0x436)][_0x3a614e(0x2e4)]['map'](_0xe027a2=>_0xe75784[_0x3a614e(0x1fa)](_0xe027a2)));break;}case _0xe75784[_0x3a614e(0x16e)]['PERMISSION_REJ']:{this[_0x3a614e(0x482)]({'isPermissionRej':!0x0});break;}case _0xe75784[_0x3a614e(0x16e)]['UNISCRIPT_RUN']:break;}}catch(_0x4ad166){throw console[_0x3a614e(0x3a9)]('Error\x20on\x20receiving\x20event',_0x4ad166),_0x4ad166;}})),this[_0x814257(0x467)];}['_unlockTransition'](){var _0x2478f9=_0x27a976;this[_0x2478f9(0x1ab)]=!0x1;}[_0x27a976(0x414)](){var _0x5049b0=_0x27a976;if(this['_transitionLocked'])throw new Error('[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.');this[_0x5049b0(0x1ab)]=!0x0;}[_0x27a976(0x17a)](_0x20a0f2){var _0x4459ab=_0x27a976;this['_lockTransition'](),this[_0x4459ab(0x3eb)](this[_0x4459ab(0x467)][_0x4459ab(0x464)](_0x20a0f2)),this[_0x4459ab(0x3cd)]();}['_onRemoteChangeset'](_0x3d0f8f){var _0x174999=_0x27a976;if(!(_0x3d0f8f[_0x174999(0x1b5)]<=this[_0x174999(0x3c4)][_0x174999(0x353)](this['unitID']))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x174999(0x46c)](_0x3d0f8f);return;}this[_0x174999(0x4a2)](_0x3d0f8f);}}[_0x27a976(0x28f)](){var _0x232317=_0x27a976;this['_remoteChangesetQueue'][_0x232317(0x258)](_0x2905a9=>this[_0x232317(0x4a2)](_0x2905a9)),this['_remoteChangesetQueue']=[];}[_0x27a976(0x4a2)](_0x42aea7){var _0x34a618=_0x27a976;const _0x47aab7=this['_compressMutationService']['interceptor'][_0x34a618(0x227)](this[_0x34a618(0x261)][_0x34a618(0x12a)][_0x34a618(0x26b)]()[_0x34a618(0x478)])(_0x42aea7[_0x34a618(0x4b5)],null)||_0x42aea7['mutations'],_0x1a1342={..._0x42aea7,'mutations':_0x47aab7};this['_lockTransition'](),this[_0x34a618(0x3eb)](this[_0x34a618(0x467)][_0x34a618(0x48c)](_0x1a1342)),this[_0x34a618(0x3cd)]();}[_0x27a976(0x1f6)](_0x47b03e){var _0x301823=_0x27a976;this['_lockTransition'](),this[_0x301823(0x3eb)](this[_0x301823(0x467)][_0x301823(0x190)](_0x47b03e)),this['_unlockTransition']();}['_onRemoteRejected'](_0x12542a){var _0x580717=_0x27a976;this[_0x580717(0x414)](),this[_0x580717(0x3eb)](this['_state']['onRemoteRej'](_0x12542a)),this[_0x580717(0x3cd)]();}[_0x27a976(0x3ad)](_0x273041){var _0x2c5a19=_0x27a976;this['_lockTransition'](),this['_updateState'](this[_0x2c5a19(0x467)][_0x2c5a19(0x2e7)](_0x273041)),this[_0x2c5a19(0x3cd)]();}[_0x27a976(0x157)](_0x3f2bc1){var _0x374228=_0x27a976;if(!(this['_state']instanceof _0x3152dc['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2ad4ef=_0x3f2bc1[_0x374228(0x470)](_0x3b7ff2=>{var _0x422eeb=_0x374228;const _0x376b43=this[_0x422eeb(0x261)][_0x422eeb(0x12a)][_0x422eeb(0x227)](this['_compressMutationService'][_0x422eeb(0x12a)][_0x422eeb(0x26b)]()[_0x422eeb(0x478)])(_0x3b7ff2[_0x422eeb(0x4b5)],null)||_0x3b7ff2[_0x422eeb(0x4b5)];return{..._0x3b7ff2,'mutations':_0x376b43};});this[_0x374228(0x414)](),this[_0x374228(0x3eb)](this[_0x374228(0x467)]['onMissedChangesetFetched'](_0x2ad4ef)),this[_0x374228(0x3cd)]();}[_0x27a976(0x247)](){var _0x22f2c0=_0x27a976;this[_0x22f2c0(0x414)](),this[_0x22f2c0(0x3eb)](this[_0x22f2c0(0x467)][_0x22f2c0(0x46f)]()),this[_0x22f2c0(0x3cd)]();}['_toggleOnline'](_0x369e2d=!0x1){var _0x258b97=_0x27a976;this[_0x258b97(0x414)](),this[_0x258b97(0x3eb)](this['_state'][_0x258b97(0x300)]()),this[_0x258b97(0x3cd)]();const _0x223ebf=this[_0x258b97(0x467)];_0x369e2d&&_0x223ebf instanceof _0x3152dc['SyncedState']&&(this[_0x258b97(0x414)](),this['_updateState'](_0x223ebf[_0x258b97(0x38a)]()),this[_0x258b97(0x3cd)]());}async[_0x27a976(0x471)](){return new Promise(_0x1b4adb=>{var _0x4d2dcf=_0x4fc7;this[_0x4d2dcf(0x277)]['sessionStatus$']['pipe'](_0x4bed42[_0x4d2dcf(0x2bc)](0x1))['subscribe'](async _0x1c94a5=>{var _0x10c40b=_0x4d2dcf;_0x1b4adb(await this['_createInitialStateImpl'](_0x1c94a5===_0x3e8228[_0x10c40b(0x289)]));});});}[_0x27a976(0x365)](){var _0x21fcad=_0x27a976;const _0x24597e=this[_0x21fcad(0x237)];return{'onStateChange':(_0x3263a7,_0x32c555)=>{var _0x16a080=_0x21fcad;if(_0x3263a7!==this[_0x16a080(0x467)])throw new Error(_0x16a080(0x3b8)+_0x3263a7[_0x16a080(0x4a1)]+'\x0aAfter:\x20'+_0x32c555[_0x16a080(0x4a1)]+_0x16a080(0x3c6)+this['_state']['status']);this[_0x16a080(0x3eb)](_0x32c555);},'onSendChangeset':_0xdcf34d=>{var _0x36efb9=_0x21fcad;_0xdcf34d[_0x36efb9(0x30e)]||(_0xdcf34d[_0x36efb9(0x30e)]=this[_0x36efb9(0x46a)],_0xdcf34d['reqId']=++this[_0x36efb9(0x1aa)]);const _0x3a9219={'eventID':_0xe75784[_0x36efb9(0x16e)][_0x36efb9(0x412)],'data':{'unitID':_0xdcf34d[_0x36efb9(0x237)],'unitType':this[_0x36efb9(0x225)],'changeset':_0xdcf34d,'memberID':this['session'][_0x36efb9(0x2d2)]()}};this[_0x36efb9(0x277)][_0x36efb9(0x150)](_0x3a9219,this[_0x36efb9(0x237)]);},'onMissingChangesets':({from:_0x3962e5,to:_0x2a8088})=>{var _0xb78236=_0x21fcad;this[_0xb78236(0x313)]['debug']('[CollaborationEntity]',_0xb78236(0x2cc)+_0x3962e5+_0xb78236(0x47a)+_0x2a8088);const _0x383b13={'eventID':_0xe75784[_0xb78236(0x16e)][_0xb78236(0x318)],'data':{'unitID':_0x24597e,'unitType':this[_0xb78236(0x225)],'from':_0x3962e5,'to':_0x2a8088}};this[_0xb78236(0x277)][_0xb78236(0x150)](_0x383b13,this[_0xb78236(0x237)]);}};}async['_createInitialStateImpl'](_0x69d6b8){var _0x37725d=_0x27a976,_0x3d9bea,_0xaafae6,_0x2b037c;const _0x441ab0=await((_0x3d9bea=this['_localCacheService'])==null?void 0x0:_0x3d9bea['loadOfflineData'](this[_0x37725d(0x237)])),_0x23e0cb=(_0xaafae6=_0x441ab0==null?void 0x0:_0x441ab0[_0x37725d(0x4b5)])!=null?_0xaafae6:[],_0x587e6e=(_0x2b037c=_0x441ab0==null?void 0x0:_0x441ab0[_0x37725d(0x2fc)])!=null?_0x2b037c:null,_0x17e87d=!!(_0x587e6e!=null&&_0x587e6e[_0x37725d(0x30e)])&&!!(_0x587e6e!=null&&_0x587e6e[_0x37725d(0x17f)]);this['_changesetSessionId']=_0x17e87d?_0x587e6e[_0x37725d(0x30e)]:_0x142cde(),this[_0x37725d(0x1aa)]=_0x17e87d?_0x587e6e[_0x37725d(0x17f)]:0x0;const _0x546a61=this[_0x37725d(0x237)];try{this[_0x37725d(0x2ca)](_0x587e6e,_0x23e0cb);}catch(_0x5bfeaa){this[_0x37725d(0x313)]['error'](_0x5bfeaa);}const _0x4addf2=this[_0x37725d(0x365)]();if(_0x69d6b8){const _0x434d94=_0x3837ab(this['_injector'],_0x546a61,this['_type'],_0x587e6e,_0x23e0cb,_0x4addf2);return _0x434d94 instanceof _0x3152dc[_0x37725d(0x305)]?_0x434d94['_schedule']():(_0x434d94 instanceof _0x3152dc[_0x37725d(0x2cf)]||_0x434d94 instanceof _0x3152dc[_0x37725d(0x1b2)])&&_0x434d94[_0x37725d(0x34b)](),_0x434d94;}return this['_injector']['createInstance'](_0x3152dc[_0x37725d(0x413)],_0x546a61,this['_type'],_0x587e6e,_0x23e0cb,_0x4addf2);}[_0x27a976(0x2ca)](_0x2806ff,_0x4389b9){var _0x289ed5=_0x27a976,_0x54c39a,_0x3b16be;const _0x33468b=this['_compressMutationService'][_0x289ed5(0x12a)][_0x289ed5(0x227)](this[_0x289ed5(0x261)][_0x289ed5(0x12a)][_0x289ed5(0x26b)]()[_0x289ed5(0x478)]);(_0x54c39a=_0x33468b((_0x2806ff==null?void 0x0:_0x2806ff[_0x289ed5(0x4b5)])||[],null))==null||_0x54c39a[_0x289ed5(0x258)](_0x356e56=>this[_0x289ed5(0x3b3)][_0x289ed5(0x15a)](_0x356e56['id'],_0x356e56['params'])),(_0x3b16be=_0x33468b(_0x4389b9||[],null))==null||_0x3b16be[_0x289ed5(0x258)](_0xa950ab=>this[_0x289ed5(0x3b3)]['executeCommand'](_0xa950ab['id'],_0xa950ab['params']));}},_0x3152dc['CollaborationEntity']=_0x1b2798([_0x45147b(0x3,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x357)])),_0x45147b(0x4,_0x54f369[_0x27a976(0x1df)](_0xe75784[_0x27a976(0x328)])),_0x45147b(0x5,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x339)])),_0x45147b(0x6,_0x54f369[_0x27a976(0x1df)](_0xe75784[_0x27a976(0x1ea)])),_0x45147b(0x7,_0x54f369[_0x27a976(0x1df)](_0x54b5c7)),_0x45147b(0x8,_0x54f369[_0x27a976(0x191)]),_0x45147b(0x9,_0x54f369[_0x27a976(0x16a)]),_0x45147b(0xa,_0x54f369['IPermissionService']),_0x45147b(0xb,_0x54f369[_0x27a976(0x39e)](_0x583b72)),_0x45147b(0xc,_0x54f369[_0x27a976(0x39e)](_0x4696b6))],_0x3152dc[_0x27a976(0x23d)]),_0x3152dc[_0x27a976(0x48a)]=class extends _0x3152dc[_0x27a976(0x23d)]{constructor(_0x1d2523,_0x4bba9c,_0x4b4212,_0x3f2fa2,_0x37d6ac,_0x459e65,_0x1e83da,_0x4a5da3,_0x3babfe,_0x300e04,_0x382207,_0x6870a4,_0x209758){var _0x4cdfdf=_0x27a976;super(_0x1d2523,_0x4b4212,_0x4bba9c,_0x3f2fa2,_0x37d6ac,_0x459e65,_0x1e83da,_0x4a5da3,_0x3babfe,_0x300e04,_0x382207,_0x6870a4,_0x209758),_0x385492(this,'_handlerCallback',null),(this[_0x4cdfdf(0x237)]=_0x1d2523,this[_0x4cdfdf(0x337)]=_0x4bba9c);}['addHandlerCallback'](_0x5473a7){var _0xa53857=_0x27a976;this[_0xa53857(0x4a9)]=_0x5473a7;}[_0x27a976(0x2a1)](){var _0x4d7c07=_0x27a976;this[_0x4d7c07(0x4a9)]=null,super[_0x4d7c07(0x2a1)]();}[_0x27a976(0x365)](){var _0x3ad122=_0x27a976;const _0x99bcdf=super[_0x3ad122(0x365)]();return _0x99bcdf[_0x3ad122(0x3f8)]=_0x4bd4a8=>{var _0x244617=_0x3ad122,_0x4ea6ac,_0x4d96f7;return(_0x4d96f7=(_0x4ea6ac=this[_0x244617(0x4a9)])==null?void 0x0:_0x4ea6ac[_0x244617(0x3f8)])==null?void 0x0:_0x4d96f7[_0x244617(0x1d0)](_0x4ea6ac,_0x4bd4a8);},_0x99bcdf[_0x3ad122(0x27a)]=_0x42364a=>{var _0x2979b0=_0x3ad122,_0x42f33d,_0x38482d;return(_0x38482d=(_0x42f33d=this[_0x2979b0(0x4a9)])==null?void 0x0:_0x42f33d['onTransformState'])==null?void 0x0:_0x38482d[_0x2979b0(0x1d0)](_0x42f33d,_0x42364a);},_0x99bcdf['onTransformSelections']=_0x2bd9c2=>{var _0x5ddb9b=_0x3ad122,_0x54b7be,_0x316e36;return(_0x316e36=(_0x54b7be=this[_0x5ddb9b(0x4a9)])==null?void 0x0:_0x54b7be[_0x5ddb9b(0x30c)])==null?void 0x0:_0x316e36[_0x5ddb9b(0x1d0)](_0x54b7be,_0x2bd9c2);},_0x99bcdf[_0x3ad122(0x49e)]=_0x50d253=>{var _0x39a711=_0x3ad122,_0x575c1a,_0x4bb219;return(_0x4bb219=(_0x575c1a=this[_0x39a711(0x4a9)])==null?void 0x0:_0x575c1a['onSyncEditingCollabCursor'])==null?void 0x0:_0x4bb219['call'](_0x575c1a,_0x50d253);},_0x99bcdf[_0x3ad122(0x299)]=_0x3077c1=>{var _0x5de88b=_0x3ad122,_0x2ed063,_0x5ad865,_0x577126;if(!((_0x2ed063=this[_0x5de88b(0x4a9)])!=null&&_0x2ed063['onTransformRemoteChangesetByIMECache']))throw new Error(_0x5de88b(0x13d));return(_0x577126=(_0x5ad865=this[_0x5de88b(0x4a9)])==null?void 0x0:_0x5ad865['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x577126[_0x5de88b(0x1d0)](_0x5ad865,_0x3077c1);},_0x99bcdf[_0x3ad122(0x32e)]=_0x34628d=>{var _0x5ccce5=_0x3ad122,_0xb75248,_0x57b399,_0x223b76;if(!((_0xb75248=this['_handlerCallback'])!=null&&_0xb75248[_0x5ccce5(0x32e)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x223b76=(_0x57b399=this[_0x5ccce5(0x4a9)])==null?void 0x0:_0x57b399['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x223b76['call'](_0x57b399,_0x34628d);},_0x99bcdf;}async[_0x27a976(0x4af)](){var _0x37d61b=_0x27a976;const _0x1ff6c7=await super[_0x37d61b(0x4af)]();return this['disposeWithMe'](this[_0x37d61b(0x3b3)]['onCommandExecuted']((_0x15599e,_0x542ca4)=>{var _0x5eb268=_0x37d61b;if(_0x15599e[_0x5eb268(0x337)]!==_0x54f369[_0x5eb268(0x1a9)][_0x5eb268(0x418)]||_0x542ca4!=null&&_0x542ca4[_0x5eb268(0x205)]||_0x542ca4!=null&&_0x542ca4[_0x5eb268(0x316)]||_0x15599e['id']===_0x4dc7ca[_0x5eb268(0x21e)]['id'])return;const _0x50f4aa=_0x15599e[_0x5eb268(0x423)];if((_0x50f4aa==null?void 0x0:_0x50f4aa[_0x5eb268(0x1e2)])!==this[_0x5eb268(0x237)])return;const _0x44db0b=_0x15599e,_0xa283c7=this['_compressMutationService'][_0x5eb268(0x12a)]['fetchThroughInterceptors'](this[_0x5eb268(0x261)][_0x5eb268(0x12a)][_0x5eb268(0x26b)]()[_0x5eb268(0x354)])([_0x44db0b],null)||[_0x44db0b];this[_0x5eb268(0x17a)](_0xa283c7[0x0]);})),_0x1ff6c7;}},_0x3152dc['DocCollaborationEntity']=_0x1b2798([_0x45147b(0x3,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x357)])),_0x45147b(0x4,_0x54f369[_0x27a976(0x1df)](_0xe75784['CompressMutationService'])),_0x45147b(0x5,_0x54f369['Inject'](_0x54f369[_0x27a976(0x339)])),_0x45147b(0x6,_0x54f369['Inject'](_0xe75784[_0x27a976(0x1ea)])),_0x45147b(0x7,_0x54f369[_0x27a976(0x1df)](_0x54b5c7)),_0x45147b(0x8,_0x54f369['ILogService']),_0x45147b(0x9,_0x54f369[_0x27a976(0x16a)]),_0x45147b(0xa,_0x54f369[_0x27a976(0x240)]),_0x45147b(0xb,_0x54f369[_0x27a976(0x39e)](_0x583b72)),_0x45147b(0xc,_0x54f369[_0x27a976(0x39e)](_0x4696b6))],_0x3152dc[_0x27a976(0x48a)]),_0x3152dc['SheetCollaborationEntity']=class extends _0x3152dc['CollaborationEntity']{constructor(_0x3d79e9,_0x5a8808,_0x1a47d8,_0x43b566,_0x2eb75a,_0x40e54b,_0x3f16a3,_0x20588f,_0x3959aa,_0x42ab6f,_0x34b049,_0x20175e,_0x5bbdd8,_0x52dde4){var _0x462f31=_0x27a976;super(_0x3d79e9,_0x1a47d8,_0x5a8808,_0x43b566,_0x2eb75a,_0x40e54b,_0x3f16a3,_0x3959aa,_0x42ab6f,_0x34b049,_0x20175e,_0x5bbdd8,_0x52dde4),this[_0x462f31(0x237)]=_0x3d79e9,this[_0x462f31(0x337)]=_0x5a8808,this[_0x462f31(0x2c9)]=_0x20588f;}[_0x27a976(0x365)](){var _0x2c366e=_0x27a976;const _0x2b9430=super[_0x2c366e(0x365)]();return _0x2b9430['onTransformSelections']=_0xfce9ba=>this[_0x2c366e(0x2c9)][_0x2c366e(0x2ce)](_0xfce9ba),_0x2b9430;}async[_0x27a976(0x4af)](){var _0x584791=_0x27a976;const _0x387e19=await super[_0x584791(0x4af)]();return this[_0x584791(0x242)](this[_0x584791(0x3b3)]['onCommandExecuted']((_0x44b5dd,_0x458d67)=>{var _0x170762=_0x584791;if(_0x44b5dd[_0x170762(0x337)]!==_0x54f369[_0x170762(0x1a9)]['MUTATION']||_0x458d67!=null&&_0x458d67[_0x170762(0x205)]||_0x458d67!=null&&_0x458d67[_0x170762(0x316)])return;const _0xc3e7b5=_0x44b5dd[_0x170762(0x423)];if((_0xc3e7b5==null?void 0x0:_0xc3e7b5['unitId'])!==this[_0x170762(0x237)])return;const _0x515507=_0x44b5dd,_0x490dc6=this[_0x170762(0x261)]['interceptor']['fetchThroughInterceptors'](this[_0x170762(0x261)][_0x170762(0x12a)][_0x170762(0x26b)]()[_0x170762(0x354)])([_0x515507],null)||[_0x515507];this[_0x170762(0x17a)](_0x490dc6[0x0]);})),_0x387e19;}},_0x3152dc['SheetCollaborationEntity']=_0x1b2798([_0x45147b(0x3,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x357)])),_0x45147b(0x4,_0x54f369[_0x27a976(0x1df)](_0xe75784[_0x27a976(0x328)])),_0x45147b(0x5,_0x54f369['Inject'](_0x54f369[_0x27a976(0x339)])),_0x45147b(0x6,_0x54f369[_0x27a976(0x1df)](_0xe75784[_0x27a976(0x1ea)])),_0x45147b(0x7,_0x54f369['Inject'](_0x3152dc['SheetTransformSelectionsService'])),_0x45147b(0x8,_0x54f369[_0x27a976(0x1df)](_0x54b5c7)),_0x45147b(0x9,_0x54f369[_0x27a976(0x191)]),_0x45147b(0xa,_0x54f369[_0x27a976(0x16a)]),_0x45147b(0xb,_0x54f369[_0x27a976(0x240)]),_0x45147b(0xc,_0x54f369['Optional'](_0x583b72)),_0x45147b(0xd,_0x54f369[_0x27a976(0x39e)](_0x4696b6))],_0x3152dc[_0x27a976(0x430)]);var _0x491e30=Object[_0x27a976(0x42e)],_0x41df84=(_0x479d15,_0x4aa55d,_0x36ea21,_0x6c0d66)=>{var _0x3734d2=_0x27a976;for(var _0x317e7=_0x6c0d66>0x1?void 0x0:_0x6c0d66?_0x491e30(_0x4aa55d,_0x36ea21):_0x4aa55d,_0x22aa70=_0x479d15[_0x3734d2(0x248)]-0x1,_0x4c5ce5;_0x22aa70>=0x0;_0x22aa70--)(_0x4c5ce5=_0x479d15[_0x22aa70])&&(_0x317e7=_0x4c5ce5(_0x317e7)||_0x317e7);return _0x317e7;},_0x172095=(_0x2fb12d,_0xb3e777)=>(_0x5a80af,_0x3bf7a9)=>_0xb3e777(_0x5a80af,_0x3bf7a9,_0x2fb12d);_0x3152dc['CollaborationController']=class extends _0x54f369[_0x27a976(0x200)]{constructor(_0x2457c7,_0x3f2f33,_0x5c62c7){var _0x6e87f4=_0x27a976;super(),_0x385492(this,_0x6e87f4(0x356),new Map()),_0x385492(this,_0x6e87f4(0x42d),new _0x4bed42[(_0x6e87f4(0x31e))]()),_0x385492(this,'entityInit$',this['_entityInit$'][_0x6e87f4(0x444)]()),(this[_0x6e87f4(0x3b2)]=_0x2457c7,this[_0x6e87f4(0x257)]=_0x3f2f33,this[_0x6e87f4(0x259)]=_0x5c62c7,this[_0x6e87f4(0x4af)]());}[_0x27a976(0x2a1)](){var _0x40cab9=_0x27a976;super[_0x40cab9(0x2a1)](),this[_0x40cab9(0x356)][_0x40cab9(0x258)](_0x260496=>_0x260496[_0x40cab9(0x2a1)]()),this[_0x40cab9(0x356)][_0x40cab9(0x26e)]();}['getCollabEntity'](_0x506f8c){var _0x29a5ae=_0x27a976,_0x25208d;return(_0x25208d=this[_0x29a5ae(0x356)][_0x29a5ae(0x187)](_0x506f8c))!=null?_0x25208d:null;}['getCollabEntity$'](_0x3501cf){var _0x335c16=_0x27a976;const _0x1075a3=this[_0x335c16(0x1d9)](_0x3501cf);return _0x1075a3?_0x4bed42['of'](_0x1075a3):this[_0x335c16(0x42d)][_0x335c16(0x2ed)](_0x537885[_0x335c16(0x386)](_0x1cbab2=>_0x1cbab2[_0x335c16(0x237)]===_0x3501cf));}[_0x27a976(0x462)](_0x542885){var _0x240fae=_0x27a976;return _0x4bed42[_0x240fae(0x1ff)](this[_0x240fae(0x2ec)](_0x542885)[_0x240fae(0x2ed)](_0x537885[_0x240fae(0x470)](()=>{})));}[_0x27a976(0x4af)](){var _0x499f08=_0x27a976;this[_0x499f08(0x259)]['getTypeOfUnitAdded$'](_0x54f369['UniverInstanceType'][_0x499f08(0x3ed)])['pipe'](_0x4bed42['takeUntil'](this[_0x499f08(0x3af)]),_0x537885['delay'](0x10))[_0x499f08(0x369)](async _0x5052d3=>{var _0x13816e=_0x499f08;const _0x27dd5f=_0x5052d3[_0x13816e(0x468)](),_0x4ced2f=await this[_0x13816e(0x129)](_0x27dd5f,_0x1cf251[_0x13816e(0x3ed)]);this['_entities'][_0x13816e(0x234)](_0x27dd5f,_0x4ced2f);}),this[_0x499f08(0x259)]['getTypeOfUnitAdded$'](_0x54f369[_0x499f08(0x149)][_0x499f08(0x2fd)])['pipe'](_0x4bed42[_0x499f08(0x20d)](this[_0x499f08(0x3af)]),_0x537885[_0x499f08(0x2fe)](0x10))[_0x499f08(0x2ed)](_0x537885[_0x499f08(0x386)](_0x545079=>!_0x545079[_0x499f08(0x468)]()[_0x499f08(0x458)]('__')))[_0x499f08(0x369)](async _0x1d65af=>{var _0x558114=_0x499f08;const _0x4ac9f2=_0x1d65af[_0x558114(0x468)](),_0x49d373=await this['_startCollaboration'](_0x4ac9f2,_0x1cf251[_0x558114(0x2fd)]);this[_0x558114(0x356)][_0x558114(0x234)](_0x4ac9f2,_0x49d373);}),_0x4bed42['merge'](this[_0x499f08(0x259)][_0x499f08(0x461)](_0x54f369[_0x499f08(0x149)]['UNIVER_SHEET']),this[_0x499f08(0x259)][_0x499f08(0x461)](_0x54f369[_0x499f08(0x149)][_0x499f08(0x2fd)]))[_0x499f08(0x2ed)](_0x4bed42['takeUntil'](this['dispose$']))[_0x499f08(0x369)](_0x2a6160=>{var _0x585307=_0x499f08;const _0xa1f4e8=_0x2a6160[_0x585307(0x468)](),_0x526a5e=this['_entities'][_0x585307(0x187)](_0xa1f4e8);_0x526a5e&&(_0x526a5e['dispose'](),this[_0x585307(0x356)][_0x585307(0x41f)](_0xa1f4e8));});}async[_0x27a976(0x129)](_0x532b4f,_0x2f76e8){var _0x2a1bd8=_0x27a976;const _0x1e1c8d=await this[_0x2a1bd8(0x257)][_0x2a1bd8(0x2a6)](_0x532b4f),_0x29389c=this[_0x2a1bd8(0x3b2)][_0x2a1bd8(0x290)](this[_0x2a1bd8(0x38c)](_0x2f76e8),_0x532b4f,_0x2f76e8,_0x1e1c8d);return await _0x29389c[_0x2a1bd8(0x427)](),this[_0x2a1bd8(0x42d)][_0x2a1bd8(0x1a1)](_0x29389c),_0x29389c;}['_getCtorByUniverType'](_0x77005c){var _0x55346b=_0x27a976;switch(_0x77005c){case _0x1cf251[_0x55346b(0x2fd)]:return _0x3152dc[_0x55346b(0x48a)];case _0x1cf251[_0x55346b(0x3ed)]:return _0x3152dc[_0x55346b(0x430)];default:throw new Error(_0x55346b(0x1e3)+_0x77005c);}}},_0x3152dc['CollaborationController']=_0x41df84([_0x172095(0x0,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x357)])),_0x172095(0x1,_0x54f369[_0x27a976(0x1df)](_0x3152dc[_0x27a976(0x1d1)])),_0x172095(0x2,_0x54f369[_0x27a976(0x192)])],_0x3152dc['CollaborationController']);var _0x21f379=Object[_0x27a976(0x42e)],_0x43c452=(_0xb8a78c,_0x335ed9,_0x26a387,_0x4fc065)=>{for(var _0x3bde20=_0x4fc065>0x1?void 0x0:_0x4fc065?_0x21f379(_0x335ed9,_0x26a387):_0x335ed9,_0x5477bd=_0xb8a78c['length']-0x1,_0xbdba9d;_0x5477bd>=0x0;_0x5477bd--)(_0xbdba9d=_0xb8a78c[_0x5477bd])&&(_0x3bde20=_0xbdba9d(_0x3bde20)||_0x3bde20);return _0x3bde20;},_0x1ba2be=(_0x5f5a81,_0x18eed7)=>(_0x745872,_0x252992)=>_0x18eed7(_0x745872,_0x252992,_0x5f5a81);const _0x5ad419='DEFAULT_FILE_NAME',_0x442926=_0x27a976(0x25d);let _0x3f24b9=class extends _0x54f369[_0x27a976(0x409)]{constructor(_0x58913a,_0x1d25f7){var _0x4074ce=_0x27a976;super(),this[_0x4074ce(0x259)]=_0x58913a,this[_0x4074ce(0x37e)]=_0x1d25f7,this['_init']();}['_init'](){var _0x5e96d4=_0x27a976;this[_0x5e96d4(0x242)](this['_univerInstanceService']['focused$'][_0x5e96d4(0x369)](()=>{var _0x4c1e4f=_0x5e96d4,_0x4cb8c6;const _0x41c502=this[_0x4c1e4f(0x259)][_0x4c1e4f(0x4ad)]();let _0x3c8624=(_0x4cb8c6=this[_0x4c1e4f(0x37e)][_0x4c1e4f(0x3a0)](_0x5ad419))!=null?_0x4cb8c6:_0x442926;_0x41c502 instanceof _0x54f369[_0x4c1e4f(0x3a4)]&&(_0x3c8624=_0x41c502[_0x4c1e4f(0x35d)]),document[_0x4c1e4f(0x38e)]=_0x3c8624;}));}};_0x3f24b9=_0x43c452([_0x1ba2be(0x0,_0x54f369[_0x27a976(0x192)]),_0x1ba2be(0x1,_0x54f369[_0x27a976(0x3e0)])],_0x3f24b9);var _0x542d8b=Object[_0x27a976(0x42e)],_0x216c6a=(_0x4caf24,_0x12b512,_0x102956,_0x3c3f7c)=>{for(var _0x398933=_0x3c3f7c>0x1?void 0x0:_0x3c3f7c?_0x542d8b(_0x12b512,_0x102956):_0x12b512,_0x54e194=_0x4caf24['length']-0x1,_0x5c55d3;_0x54e194>=0x0;_0x54e194--)(_0x5c55d3=_0x4caf24[_0x54e194])&&(_0x398933=_0x5c55d3(_0x398933)||_0x398933);return _0x398933;},_0x53e934=(_0x19a242,_0x4792bc)=>(_0x2b9dd8,_0x2d9939)=>_0x4792bc(_0x2b9dd8,_0x2d9939,_0x19a242);let _0x3463e9=class{constructor(_0x2a8aa6,_0xb990d1,_0x2f1233){var _0x382200=_0x27a976;this[_0x382200(0x37e)]=_0x2a8aa6,this[_0x382200(0x35f)]=_0xb990d1,this['localeService']=_0x2f1233,this['init']();}['init'](){var _0x113d0c=_0x27a976;this['_httpService'][_0x113d0c(0x294)]({'priority':0x1,'interceptor':(_0x431886,_0xee4eda)=>_0xee4eda(_0x431886)[_0x113d0c(0x2ed)](_0x4bed42[_0x113d0c(0x499)](async _0x9cb446=>{var _0x174338=_0x113d0c;const _0x18ea8e=_0x9cb446;if(_0x18ea8e['status']===0x191){if(typeof window>'u')throw new Error(_0x174338(0x2ee));if(window[_0x174338(0x302)](this[_0x174338(0x45e)]['t'](_0x174338(0x226)))){const _0x553190=window[_0x174338(0x441)](window[_0x174338(0x1da)][_0x174338(0x387)]);window['location']['href']=this[_0x174338(0x352)]()+_0x174338(0x428)+_0x553190;}}return _0x18ea8e;}))});}[_0x27a976(0x352)](){var _0xc34e6e=_0x27a976,_0x330975,_0x199528;const _0x2153b3=this[_0xc34e6e(0x37e)][_0xc34e6e(0x3a0)](_0x3f92cf),_0x3537d4=this['_configService'][_0xc34e6e(0x3a0)](_0x49f8e7);return(_0x199528=(_0x330975=_0x3537d4==null?void 0x0:_0x3537d4['loginUrlKey'])!=null?_0x330975:_0x2153b3)!=null?_0x199528:_0x44f55c;}};_0x3463e9=_0x216c6a([_0x53e934(0x0,_0x54f369['IConfigService']),_0x53e934(0x1,_0x54f369['Inject'](_0x5add2d[_0x27a976(0x194)])),_0x53e934(0x2,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x339)]))],_0x3463e9);var _0x259325=Object[_0x27a976(0x42e)],_0x26eb3a=(_0x1487aa,_0x4080c9,_0x5eaa84,_0x36484c)=>{var _0x49131e=_0x27a976;for(var _0x2372af=_0x36484c>0x1?void 0x0:_0x36484c?_0x259325(_0x4080c9,_0x5eaa84):_0x4080c9,_0x3954a9=_0x1487aa[_0x49131e(0x248)]-0x1,_0x224876;_0x3954a9>=0x0;_0x3954a9--)(_0x224876=_0x1487aa[_0x3954a9])&&(_0x2372af=_0x224876(_0x2372af)||_0x2372af);return _0x2372af;},_0x33e471=(_0x31b739,_0x1d6e67)=>(_0x5d2728,_0xa0e0c)=>_0x1d6e67(_0x5d2728,_0xa0e0c,_0x31b739);const _0x1f978d='AUTHZ_URL_KEY',_0x302090=_0x27a976(0x35a);_0x3152dc[_0x27a976(0x3b5)]=class extends _0x54f369[_0x27a976(0x409)]{constructor(_0x58cdcc,_0x2604a7){var _0x3fabea=_0x27a976;super(),this[_0x3fabea(0x24b)]=_0x58cdcc,this[_0x3fabea(0x37e)]=_0x2604a7,this[_0x3fabea(0x1b6)]();}[_0x27a976(0x1b6)](){var _0x4b53a4=_0x27a976;const _0x24fbac=this;this['disposeWithMe'](this[_0x4b53a4(0x24b)][_0x4b53a4(0x294)]({'priority':0x3e7,'interceptor':_0x5add2d[_0x4b53a4(0x3be)]({'isMatch'(_0x58ffeb){var _0x194ecb=_0x4b53a4,_0x405998;if(_0x58ffeb['method']===_0x194ecb(0x434)&&((_0x405998=_0x58ffeb[_0x194ecb(0x30f)])!=null&&_0x405998[_0x194ecb(0x207)])){const {objectID:_0x4861d1,objectType:_0x2ecb92}=_0x58ffeb[_0x194ecb(0x30f)][_0x194ecb(0x207)]||{};if(!_0x4861d1||_0x2ecb92===void 0x0)return!0x1;const _0x521d08=_0x24fbac['_getAPIPrefixPath']()+'/'+_0x2ecb92+_0x194ecb(0x3c7)+_0x4861d1+'/allowed';if(_0x58ffeb[_0x194ecb(0x268)]===_0x521d08)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xe3cda){var _0x44ebfe=_0x4b53a4,_0x1f9e64;return(_0x1f9e64=_0xe3cda[_0x44ebfe(0x30f)])==null?void 0x0:_0x1f9e64[_0x44ebfe(0x207)];},'mergeParamsToRequest'(_0x5bb397,_0x56a3b2){var _0x2c98a3=_0x4b53a4;const _0x2dca4a=_0x24fbac[_0x2c98a3(0x265)]()+'/-/object/-/batch_allowed',_0x22a5a3=_0x5bb397[_0x2c98a3(0x488)]((_0x542861,_0x386cbc)=>{var _0x19d4c3=_0x2c98a3;const {unitID:_0x1e9933,objectID:_0x938770,objectType:_0x5ac957,actions:_0x3d9b36}=_0x386cbc;return _0x542861[_0x1e9933]||(_0x542861[_0x1e9933]={}),_0x542861[_0x1e9933][_0x938770]||(_0x542861[_0x1e9933][_0x938770]={'objectID':_0x938770,'objectType':_0x5ac957,'actions':[]}),_0x542861[_0x1e9933][_0x938770][_0x19d4c3(0x37d)][_0x19d4c3(0x46c)](..._0x3d9b36),_0x542861;},{}),_0x259e82=[];for(const _0x4987a4 in _0x22a5a3)for(const _0x20d809 in _0x22a5a3[_0x4987a4]){const {actions:_0x1f6db9,objectType:_0x3dc9c6}=_0x22a5a3[_0x4987a4][_0x20d809],_0x4f4251=[...new Set(_0x1f6db9)];_0x259e82[_0x2c98a3(0x46c)]({'unitID':_0x4987a4,'objectID':_0x20d809,'objectType':_0x3dc9c6,'actions':_0x4f4251});}return new _0x5add2d['HTTPRequest'](_0x2c98a3(0x434),_0x2dca4a,{'headers':_0x56a3b2[_0x2c98a3(0x3ec)],'withCredentials':_0x56a3b2['withCredentials'],'responseType':_0x56a3b2[_0x2c98a3(0x2d9)],'body':{'requests':_0x259e82}});}},{'distributeResult'(_0x3ca322,_0x405a21){var _0x595e5e=_0x4b53a4;const {objectActions:_0x29d93a}=_0x3ca322;return _0x405a21[_0x595e5e(0x470)](_0x59f7d2=>{var _0x26e109=_0x595e5e;const {unitID:_0x2087c1,objectID:_0x20c06c,actions:_0x246874}=_0x59f7d2,_0xb8568e=_0x29d93a['find'](_0x1c9959=>_0x1c9959[_0x26e109(0x237)]===_0x2087c1&&_0x1c9959['objectID']===_0x20c06c),_0x34ef5a=_0x246874[_0x26e109(0x470)](_0x4385b6=>_0xb8568e==null?void 0x0:_0xb8568e[_0x26e109(0x37d)][_0x26e109(0x140)](_0x5cc311=>_0x5cc311[_0x26e109(0x3dc)]===_0x4385b6))[_0x26e109(0x386)](_0x4e8355=>!!_0x4e8355);return{'config':_0x59f7d2,'result':{'actions':_0x34ef5a,'error':_0x3ca322[_0x26e109(0x3a9)]}};});}})}));}[_0x27a976(0x265)](){var _0x5d6739=_0x27a976,_0x48febb,_0xce7ff1;const _0x18505c=this[_0x5d6739(0x37e)]['getConfig'](_0x1f978d),_0x22b4c5=this['_configService'][_0x5d6739(0x3a0)](_0x49f8e7);return(_0xce7ff1=(_0x48febb=_0x22b4c5==null?void 0x0:_0x22b4c5['authzUrl'])!=null?_0x48febb:_0x18505c)!=null?_0xce7ff1:_0x302090;}async[_0x27a976(0x1c4)](_0x125cac){var _0x237d89=_0x27a976;const _0x3225a0=this[_0x237d89(0x265)]()+'/'+_0x125cac['objectType']+_0x237d89(0x148);return(await this['_HTTPService'][_0x237d89(0x3c2)](_0x3225a0,{'body':_0x125cac}))['body'][_0x237d89(0x2f1)]||'';}async[_0x27a976(0x32c)](_0x31fd61){var _0x590885=_0x27a976;const _0x4a12fc=this['_getAPIPrefixPath']()+_0x590885(0x1e6);return(await this[_0x590885(0x24b)]['post'](_0x4a12fc,{'body':_0x31fd61}))[_0x590885(0x207)]['objects'];}async[_0x27a976(0x22e)](_0x515cc3){var _0x3df366=_0x27a976,_0x17a5ce,_0x226dae;const _0x2e3ea1=this[_0x3df366(0x265)]()+'/'+_0x515cc3['objectType']+_0x3df366(0x3c7)+_0x515cc3[_0x3df366(0x2f1)],_0x19083d=await this[_0x3df366(0x24b)][_0x3df366(0x132)](_0x2e3ea1,{'body':_0x515cc3});if(((_0x226dae=(_0x17a5ce=_0x19083d==null?void 0x0:_0x19083d[_0x3df366(0x207)])==null?void 0x0:_0x17a5ce[_0x3df366(0x3a9)])==null?void 0x0:_0x226dae[_0x3df366(0x24e)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x4770ef){var _0x499049=_0x27a976;const _0x236bf6=this[_0x499049(0x265)]()+'/'+_0x4770ef['objectType']+_0x499049(0x3c7)+_0x4770ef['objectID']+'/allowed';return(await this[_0x499049(0x24b)]['post'](_0x236bf6,{'body':_0x4770ef}))[_0x499049(0x207)]['actions'];}async['batchAllowed'](_0x52d314){var _0x46a38d=_0x27a976;const _0x25fad1=this[_0x46a38d(0x265)]()+_0x46a38d(0x2e0);return(await this['_HTTPService'][_0x46a38d(0x3c2)](_0x25fad1,{'body':{'requests':_0x52d314}}))[_0x46a38d(0x207)]['objectActions'];}async[_0x27a976(0x193)](_0x42a1f6){var _0x4db0f8=_0x27a976;const _0x259de6=this['_getAPIPrefixPath']()+'/'+_0x42a1f6[_0x4db0f8(0x3fe)]+_0x4db0f8(0x19d),_0x3eeaef=await this[_0x4db0f8(0x24b)]['post'](_0x259de6,{'body':_0x42a1f6});return{'roles':_0x3eeaef[_0x4db0f8(0x207)][_0x4db0f8(0x3ef)],'actions':_0x3eeaef['body'][_0x4db0f8(0x37d)]};}async[_0x27a976(0x284)](_0xdd0be3){var _0x1a742c=_0x27a976;const _0x3d0f2e=this[_0x1a742c(0x265)]()+_0x1a742c(0x3b4);await this[_0x1a742c(0x24b)][_0x1a742c(0x41f)](_0x3d0f2e,{'params':{'collaboratorID':_0xdd0be3['collaboratorID'],'objectID':_0xdd0be3[_0x1a742c(0x2f1)],'unitID':_0xdd0be3[_0x1a742c(0x237)]}});}async['updateCollaborator'](_0x2602b0){var _0x2adeac=_0x27a976;const _0x13f6dd=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x2adeac(0x24b)][_0x2adeac(0x2fa)](_0x13f6dd,{'body':_0x2602b0});}async[_0x27a976(0x24d)](_0x29b4f2){var _0x16c158=_0x27a976;const _0x280e3e=this[_0x16c158(0x265)]()+_0x16c158(0x3b4);await this['_HTTPService'][_0x16c158(0x3c2)](_0x280e3e,{'body':_0x29b4f2});}async[_0x27a976(0x342)](_0x2faa29){var _0x1574d3=_0x27a976;const _0x107a57=this['_getAPIPrefixPath']()+_0x1574d3(0x3b4);return(await this[_0x1574d3(0x24b)][_0x1574d3(0x187)](_0x107a57,{'params':{'objectID':_0x2faa29[_0x1574d3(0x2f1)],'unitID':_0x2faa29['unitID']}}))['body'][_0x1574d3(0x374)];}async[_0x27a976(0x133)](_0x1e7527){var _0x3c8417=_0x27a976;const _0x575ac9=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3c8417(0x24b)]['put'](_0x575ac9,{'body':_0x1e7527});}},_0x3152dc[_0x27a976(0x3b5)]=_0x26eb3a([_0x33e471(0x0,_0x54f369[_0x27a976(0x1df)](_0x5add2d[_0x27a976(0x194)])),_0x33e471(0x1,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x3e0)]))],_0x3152dc['AuthzIoHttpService']);var _0x453233=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x44d98b(_0x1c1005){var _0x3d942d=_0x27a976;return _0x1c1005&&_0x1c1005[_0x3d942d(0x34d)]&&Object[_0x3d942d(0x206)][_0x3d942d(0x45b)][_0x3d942d(0x1d0)](_0x1c1005,'default')?_0x1c1005[_0x3d942d(0x29f)]:_0x1c1005;}var _0x537177={'exports':{}};function _0x38ecfe(_0xad5453){var _0x4e855e=_0x27a976;throw new Error(_0x4e855e(0x145)+_0xad5453+_0x4e855e(0x1fe));}var _0x3da820={'exports':{}},_0x48f227=_0x3da820[_0x27a976(0x421)],_0x1b4791;function _0x386204(){var _0x58ac39=_0x27a976;return _0x1b4791||(_0x1b4791=0x1,function(_0x50965c,_0x572223){(function(_0x43ff9a,_0x448d1b){var _0x530dbd=_0x4fc7;_0x50965c[_0x530dbd(0x421)]=_0x448d1b();}(_0x48f227,function(){var _0x57f2ae=_0x57f2ae||function(_0x58873c,_0x554869){var _0x4c84f2=_0x4fc7,_0x5da8d2;if(typeof window<'u'&&window['crypto']&&(_0x5da8d2=window['crypto']),typeof self<'u'&&self[_0x4c84f2(0x3c9)]&&(_0x5da8d2=self[_0x4c84f2(0x3c9)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x5da8d2=globalThis[_0x4c84f2(0x3c9)]),!_0x5da8d2&&typeof window<'u'&&window['msCrypto']&&(_0x5da8d2=window[_0x4c84f2(0x47b)]),!_0x5da8d2&&typeof _0x453233<'u'&&_0x453233[_0x4c84f2(0x3c9)]&&(_0x5da8d2=_0x453233[_0x4c84f2(0x3c9)]),!_0x5da8d2&&typeof _0x38ecfe==_0x4c84f2(0x3dd))try{_0x5da8d2=require(_0x4c84f2(0x3c9));}catch{}var _0x3f6416=function(){var _0x3f66b1=_0x4c84f2;if(_0x5da8d2){if(typeof _0x5da8d2[_0x3f66b1(0x29c)]==_0x3f66b1(0x3dd))try{return _0x5da8d2[_0x3f66b1(0x29c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5da8d2[_0x3f66b1(0x26f)]==_0x3f66b1(0x3dd))try{return _0x5da8d2[_0x3f66b1(0x26f)](0x4)[_0x3f66b1(0x2f2)]();}catch{}}throw new Error(_0x3f66b1(0x12c));},_0x3aa920=Object[_0x4c84f2(0x1c4)]||(function(){function _0x2e31a6(){}return function(_0xc32d37){var _0x55eb58=_0x4fc7,_0x117d3b;return _0x2e31a6['prototype']=_0xc32d37,_0x117d3b=new _0x2e31a6(),_0x2e31a6[_0x55eb58(0x206)]=null,_0x117d3b;};}()),_0xafbd64={},_0x4ef10b=_0xafbd64[_0x4c84f2(0x26c)]={},_0x140052=_0x4ef10b[_0x4c84f2(0x295)]=(function(){return{'extend':function(_0x6a93c6){var _0x2d3a25=_0x4fc7,_0x5b7237=_0x3aa920(this);return _0x6a93c6&&_0x5b7237[_0x2d3a25(0x480)](_0x6a93c6),(!_0x5b7237['hasOwnProperty']('init')||this[_0x2d3a25(0x427)]===_0x5b7237[_0x2d3a25(0x427)])&&(_0x5b7237[_0x2d3a25(0x427)]=function(){var _0x3f4df1=_0x2d3a25;_0x5b7237[_0x3f4df1(0x48f)][_0x3f4df1(0x427)][_0x3f4df1(0x2cd)](this,arguments);}),_0x5b7237[_0x2d3a25(0x427)][_0x2d3a25(0x206)]=_0x5b7237,_0x5b7237[_0x2d3a25(0x48f)]=this,_0x5b7237;},'create':function(){var _0x1a9f3b=_0x4fc7,_0x4d804f=this['extend']();return _0x4d804f['init'][_0x1a9f3b(0x2cd)](_0x4d804f,arguments),_0x4d804f;},'init':function(){},'mixIn':function(_0x2e26ef){var _0x37ef06=_0x4fc7;for(var _0x3878fb in _0x2e26ef)_0x2e26ef['hasOwnProperty'](_0x3878fb)&&(this[_0x3878fb]=_0x2e26ef[_0x3878fb]);_0x2e26ef[_0x37ef06(0x45b)]('toString')&&(this[_0x37ef06(0x271)]=_0x2e26ef[_0x37ef06(0x271)]);},'clone':function(){var _0x7d9e86=_0x4fc7;return this['init'][_0x7d9e86(0x206)]['extend'](this);}};}()),_0xf5cdea=_0x4ef10b[_0x4c84f2(0x2db)]=_0x140052['extend']({'init':function(_0xddeb83,_0x489961){var _0x42dcc6=_0x4c84f2;_0xddeb83=this['words']=_0xddeb83||[],_0x489961!=_0x554869?this[_0x42dcc6(0x40e)]=_0x489961:this[_0x42dcc6(0x40e)]=_0xddeb83['length']*0x4;},'toString':function(_0x54c908){return(_0x54c908||_0xdb52f2)['stringify'](this);},'concat':function(_0x2d9906){var _0xeb681=_0x4c84f2,_0x82cef2=this[_0xeb681(0x359)],_0x33727d=_0x2d9906['words'],_0xd04296=this['sigBytes'],_0x3a3fa5=_0x2d9906[_0xeb681(0x40e)];if(this[_0xeb681(0x1b9)](),_0xd04296%0x4)for(var _0x201a17=0x0;_0x201a17<_0x3a3fa5;_0x201a17++){var _0x24163b=_0x33727d[_0x201a17>>>0x2]>>>0x18-_0x201a17%0x4*0x8&0xff;_0x82cef2[_0xd04296+_0x201a17>>>0x2]|=_0x24163b<<0x18-(_0xd04296+_0x201a17)%0x4*0x8;}else{for(var _0x3411d1=0x0;_0x3411d1<_0x3a3fa5;_0x3411d1+=0x4)_0x82cef2[_0xd04296+_0x3411d1>>>0x2]=_0x33727d[_0x3411d1>>>0x2];}return this['sigBytes']+=_0x3a3fa5,this;},'clamp':function(){var _0x49779f=_0x4c84f2,_0x118589=this[_0x49779f(0x359)],_0x58c9ec=this[_0x49779f(0x40e)];_0x118589[_0x58c9ec>>>0x2]&=0xffffffff<<0x20-_0x58c9ec%0x4*0x8,_0x118589[_0x49779f(0x248)]=_0x58873c[_0x49779f(0x3d3)](_0x58c9ec/0x4);},'clone':function(){var _0x4c467c=_0x4c84f2,_0x5c9739=_0x140052[_0x4c467c(0x281)][_0x4c467c(0x1d0)](this);return _0x5c9739['words']=this[_0x4c467c(0x359)][_0x4c467c(0x2b4)](0x0),_0x5c9739;},'random':function(_0x367aee){var _0x233557=_0x4c84f2;for(var _0x56d9f5=[],_0xf9852c=0x0;_0xf9852c<_0x367aee;_0xf9852c+=0x4)_0x56d9f5[_0x233557(0x46c)](_0x3f6416());return new _0xf5cdea['init'](_0x56d9f5,_0x367aee);}}),_0x49a7d0=_0xafbd64[_0x4c84f2(0x483)]={},_0xdb52f2=_0x49a7d0[_0x4c84f2(0x13a)]={'stringify':function(_0xad570d){var _0xc74dfd=_0x4c84f2;for(var _0x330592=_0xad570d[_0xc74dfd(0x359)],_0x102fb6=_0xad570d[_0xc74dfd(0x40e)],_0x4d087a=[],_0x16628c=0x0;_0x16628c<_0x102fb6;_0x16628c++){var _0x1f1c64=_0x330592[_0x16628c>>>0x2]>>>0x18-_0x16628c%0x4*0x8&0xff;_0x4d087a[_0xc74dfd(0x46c)]((_0x1f1c64>>>0x4)[_0xc74dfd(0x271)](0x10)),_0x4d087a[_0xc74dfd(0x46c)]((_0x1f1c64&0xf)[_0xc74dfd(0x271)](0x10));}return _0x4d087a[_0xc74dfd(0x28d)]('');},'parse':function(_0x559468){var _0x3f5dd6=_0x4c84f2;for(var _0x6f3838=_0x559468[_0x3f5dd6(0x248)],_0x55a9e3=[],_0x5b0a65=0x0;_0x5b0a65<_0x6f3838;_0x5b0a65+=0x2)_0x55a9e3[_0x5b0a65>>>0x3]|=parseInt(_0x559468['substr'](_0x5b0a65,0x2),0x10)<<0x18-_0x5b0a65%0x8*0x4;return new _0xf5cdea[(_0x3f5dd6(0x427))](_0x55a9e3,_0x6f3838/0x2);}},_0x2bbdbf=_0x49a7d0[_0x4c84f2(0x2da)]={'stringify':function(_0x25b2d6){var _0x3aa001=_0x4c84f2;for(var _0x31595f=_0x25b2d6['words'],_0x453ea8=_0x25b2d6[_0x3aa001(0x40e)],_0x20130f=[],_0x241882=0x0;_0x241882<_0x453ea8;_0x241882++){var _0x3d1870=_0x31595f[_0x241882>>>0x2]>>>0x18-_0x241882%0x4*0x8&0xff;_0x20130f['push'](String['fromCharCode'](_0x3d1870));}return _0x20130f['join']('');},'parse':function(_0x4e6aac){var _0x1ca828=_0x4c84f2;for(var _0x4e3b64=_0x4e6aac['length'],_0x3e9a45=[],_0x3f52bd=0x0;_0x3f52bd<_0x4e3b64;_0x3f52bd++)_0x3e9a45[_0x3f52bd>>>0x2]|=(_0x4e6aac[_0x1ca828(0x319)](_0x3f52bd)&0xff)<<0x18-_0x3f52bd%0x4*0x8;return new _0xf5cdea[(_0x1ca828(0x427))](_0x3e9a45,_0x4e3b64);}},_0x16d0b5=_0x49a7d0[_0x4c84f2(0x223)]={'stringify':function(_0x3c275c){var _0x1c10c2=_0x4c84f2;try{return decodeURIComponent(escape(_0x2bbdbf['stringify'](_0x3c275c)));}catch{throw new Error(_0x1c10c2(0x130));}},'parse':function(_0x3ba26b){return _0x2bbdbf['parse'](unescape(encodeURIComponent(_0x3ba26b)));}},_0x7e9ed6=_0x4ef10b['BufferedBlockAlgorithm']=_0x140052[_0x4c84f2(0x38d)]({'reset':function(){var _0x36f27c=_0x4c84f2;this[_0x36f27c(0x334)]=new _0xf5cdea['init'](),this[_0x36f27c(0x1ac)]=0x0;},'_append':function(_0x5d5419){var _0xdc4cfb=_0x4c84f2;typeof _0x5d5419=='string'&&(_0x5d5419=_0x16d0b5[_0xdc4cfb(0x24f)](_0x5d5419)),this['_data'][_0xdc4cfb(0x466)](_0x5d5419),this[_0xdc4cfb(0x1ac)]+=_0x5d5419['sigBytes'];},'_process':function(_0x420e8f){var _0x23d3aa=_0x4c84f2,_0x2615dc,_0x41b68e=this[_0x23d3aa(0x334)],_0xc61400=_0x41b68e[_0x23d3aa(0x359)],_0x47feb2=_0x41b68e[_0x23d3aa(0x40e)],_0x93534e=this[_0x23d3aa(0x230)],_0x422d89=_0x93534e*0x4,_0x19e5c4=_0x47feb2/_0x422d89;_0x420e8f?_0x19e5c4=_0x58873c[_0x23d3aa(0x3d3)](_0x19e5c4):_0x19e5c4=_0x58873c[_0x23d3aa(0x442)]((_0x19e5c4|0x0)-this[_0x23d3aa(0x27f)],0x0);var _0x50e37f=_0x19e5c4*_0x93534e,_0x42ad67=_0x58873c[_0x23d3aa(0x473)](_0x50e37f*0x4,_0x47feb2);if(_0x50e37f){for(var _0x2cb117=0x0;_0x2cb117<_0x50e37f;_0x2cb117+=_0x93534e)this[_0x23d3aa(0x49d)](_0xc61400,_0x2cb117);_0x2615dc=_0xc61400['splice'](0x0,_0x50e37f),_0x41b68e[_0x23d3aa(0x40e)]-=_0x42ad67;}return new _0xf5cdea[(_0x23d3aa(0x427))](_0x2615dc,_0x42ad67);},'clone':function(){var _0x2f82eb=_0x4c84f2,_0x37aa0a=_0x140052[_0x2f82eb(0x281)][_0x2f82eb(0x1d0)](this);return _0x37aa0a[_0x2f82eb(0x334)]=this[_0x2f82eb(0x334)][_0x2f82eb(0x281)](),_0x37aa0a;},'_minBufferSize':0x0});_0x4ef10b['Hasher']=_0x7e9ed6[_0x4c84f2(0x38d)]({'cfg':_0x140052[_0x4c84f2(0x38d)](),'init':function(_0xdd0dd9){var _0x1a2e04=_0x4c84f2;this[_0x1a2e04(0x497)]=this['cfg'][_0x1a2e04(0x38d)](_0xdd0dd9),this[_0x1a2e04(0x3cc)]();},'reset':function(){var _0x28831b=_0x4c84f2;_0x7e9ed6[_0x28831b(0x3cc)]['call'](this),this[_0x28831b(0x12f)]();},'update':function(_0x12d6b4){var _0x20a648=_0x4c84f2;return this[_0x20a648(0x36c)](_0x12d6b4),this[_0x20a648(0x439)](),this;},'finalize':function(_0x88daaf){var _0x2a17ed=_0x4c84f2;_0x88daaf&&this[_0x2a17ed(0x36c)](_0x88daaf);var _0x2b8316=this[_0x2a17ed(0x178)]();return _0x2b8316;},'blockSize':0x10,'_createHelper':function(_0xdd2bb){return function(_0x1274bd,_0x2756d1){var _0x42c2ca=_0x4fc7;return new _0xdd2bb[(_0x42c2ca(0x427))](_0x2756d1)['finalize'](_0x1274bd);};},'_createHmacHelper':function(_0x2cbf3c){return function(_0x39bd6e,_0x253b89){var _0x37d125=_0x4fc7;return new _0xfde116[(_0x37d125(0x1c2))][(_0x37d125(0x427))](_0x2cbf3c,_0x253b89)[_0x37d125(0x2f8)](_0x39bd6e);};}});var _0xfde116=_0xafbd64[_0x4c84f2(0x238)]={};return _0xafbd64;}(Math);return _0x57f2ae;}));}(_0x3da820)),_0x3da820[_0x58ac39(0x421)];}var _0x157a56={'exports':{}},_0x2b4a21=_0x157a56['exports'],_0x36db30;function _0x335a3a(){var _0x2e9764=_0x27a976;return _0x36db30||(_0x36db30=0x1,function(_0x2d5f9a,_0x518ac7){(function(_0x5c534b,_0x941a5f){var _0x29608f=_0x4fc7;_0x2d5f9a[_0x29608f(0x421)]=_0x941a5f(_0x386204());}(_0x2b4a21,function(_0x3ec49d){var _0x2c185d=_0x4fc7;return(function(){var _0x2da9d0=_0x4fc7,_0x15a3fe=_0x3ec49d,_0x22894a=_0x15a3fe[_0x2da9d0(0x26c)],_0x2ae788=_0x22894a[_0x2da9d0(0x2db)],_0x19882a=_0x15a3fe[_0x2da9d0(0x483)];_0x19882a[_0x2da9d0(0x36d)]={'stringify':function(_0x5df634){var _0x22e4e8=_0x2da9d0,_0x237d10=_0x5df634['words'],_0x591904=_0x5df634['sigBytes'],_0x372ff0=this[_0x22e4e8(0x161)];_0x5df634[_0x22e4e8(0x1b9)]();for(var _0x395053=[],_0x3532b6=0x0;_0x3532b6<_0x591904;_0x3532b6+=0x3)for(var _0x19ba37=_0x237d10[_0x3532b6>>>0x2]>>>0x18-_0x3532b6%0x4*0x8&0xff,_0x12e9cd=_0x237d10[_0x3532b6+0x1>>>0x2]>>>0x18-(_0x3532b6+0x1)%0x4*0x8&0xff,_0x54bbc9=_0x237d10[_0x3532b6+0x2>>>0x2]>>>0x18-(_0x3532b6+0x2)%0x4*0x8&0xff,_0x1512d2=_0x19ba37<<0x10|_0x12e9cd<<0x8|_0x54bbc9,_0x268482=0x0;_0x268482<0x4&&_0x3532b6+_0x268482*0.75<_0x591904;_0x268482++)_0x395053[_0x22e4e8(0x46c)](_0x372ff0[_0x22e4e8(0x48b)](_0x1512d2>>>0x6*(0x3-_0x268482)&0x3f));var _0x4c056b=_0x372ff0[_0x22e4e8(0x48b)](0x40);if(_0x4c056b){for(;_0x395053[_0x22e4e8(0x248)]%0x4;)_0x395053[_0x22e4e8(0x46c)](_0x4c056b);}return _0x395053[_0x22e4e8(0x28d)]('');},'parse':function(_0x337f6d){var _0x25dbc5=_0x2da9d0,_0x257c80=_0x337f6d[_0x25dbc5(0x248)],_0x5d08a2=this[_0x25dbc5(0x161)],_0x3da7a4=this['_reverseMap'];if(!_0x3da7a4){_0x3da7a4=this[_0x25dbc5(0x31d)]=[];for(var _0x16ce3d=0x0;_0x16ce3d<_0x5d08a2[_0x25dbc5(0x248)];_0x16ce3d++)_0x3da7a4[_0x5d08a2[_0x25dbc5(0x319)](_0x16ce3d)]=_0x16ce3d;}var _0x4baf5e=_0x5d08a2[_0x25dbc5(0x48b)](0x40);if(_0x4baf5e){var _0x1772c1=_0x337f6d[_0x25dbc5(0x43d)](_0x4baf5e);_0x1772c1!==-0x1&&(_0x257c80=_0x1772c1);}return _0x131f75(_0x337f6d,_0x257c80,_0x3da7a4);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x131f75(_0x517e05,_0x502ffb,_0x5e41ba){var _0x3851b2=_0x2da9d0;for(var _0x220679=[],_0x4b357c=0x0,_0x3ca07a=0x0;_0x3ca07a<_0x502ffb;_0x3ca07a++)if(_0x3ca07a%0x4){var _0x2bc83c=_0x5e41ba[_0x517e05[_0x3851b2(0x319)](_0x3ca07a-0x1)]<<_0x3ca07a%0x4*0x2,_0x4438ad=_0x5e41ba[_0x517e05[_0x3851b2(0x319)](_0x3ca07a)]>>>0x6-_0x3ca07a%0x4*0x2,_0x2a1384=_0x2bc83c|_0x4438ad;_0x220679[_0x4b357c>>>0x2]|=_0x2a1384<<0x18-_0x4b357c%0x4*0x8,_0x4b357c++;}return _0x2ae788[_0x3851b2(0x1c4)](_0x220679,_0x4b357c);}}()),_0x3ec49d[_0x2c185d(0x483)][_0x2c185d(0x36d)];}));}(_0x157a56)),_0x157a56[_0x2e9764(0x421)];}var _0x12a1bb={'exports':{}},_0x8a82cc=_0x12a1bb[_0x27a976(0x421)],_0x172ca5;function _0x475c70(){var _0x36fadc=_0x27a976;return _0x172ca5||(_0x172ca5=0x1,function(_0x5a0ecc,_0x34862a){(function(_0x1ab72f,_0x27fab9){var _0x4fd739=_0x4fc7;_0x5a0ecc[_0x4fd739(0x421)]=_0x27fab9(_0x386204());}(_0x8a82cc,function(_0x407b33){var _0x3ff7cb=_0x4fc7;return function(_0x5de7aa){var _0x2a279a=_0x4fc7,_0xe46e22=_0x407b33,_0xedc3ef=_0xe46e22[_0x2a279a(0x26c)],_0x539f57=_0xedc3ef[_0x2a279a(0x2db)],_0x441b94=_0xedc3ef['Hasher'],_0x444b9d=_0xe46e22[_0x2a279a(0x238)],_0x5aaa8d=[];(function(){for(var _0x4e390c=0x0;_0x4e390c<0x40;_0x4e390c++)_0x5aaa8d[_0x4e390c]=_0x5de7aa['abs'](_0x5de7aa['sin'](_0x4e390c+0x1))*0x100000000|0x0;}());var _0x1aad97=_0x444b9d[_0x2a279a(0x246)]=_0x441b94[_0x2a279a(0x38d)]({'_doReset':function(){var _0x28a551=_0x2a279a;this[_0x28a551(0x1fc)]=new _0x539f57[(_0x28a551(0x427))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x242c1c,_0x5c9cd9){var _0x270336=_0x2a279a;for(var _0x192dc9=0x0;_0x192dc9<0x10;_0x192dc9++){var _0x398b8a=_0x5c9cd9+_0x192dc9,_0x5b533e=_0x242c1c[_0x398b8a];_0x242c1c[_0x398b8a]=(_0x5b533e<<0x8|_0x5b533e>>>0x18)&0xff00ff|(_0x5b533e<<0x18|_0x5b533e>>>0x8)&0xff00ff00;}var _0xd2bbc3=this[_0x270336(0x1fc)]['words'],_0x2b7f65=_0x242c1c[_0x5c9cd9+0x0],_0x4f6279=_0x242c1c[_0x5c9cd9+0x1],_0x49ff5d=_0x242c1c[_0x5c9cd9+0x2],_0x3cda77=_0x242c1c[_0x5c9cd9+0x3],_0x1b28a6=_0x242c1c[_0x5c9cd9+0x4],_0x5f2621=_0x242c1c[_0x5c9cd9+0x5],_0x6c77c2=_0x242c1c[_0x5c9cd9+0x6],_0x398593=_0x242c1c[_0x5c9cd9+0x7],_0x40ea09=_0x242c1c[_0x5c9cd9+0x8],_0x36a264=_0x242c1c[_0x5c9cd9+0x9],_0x24771d=_0x242c1c[_0x5c9cd9+0xa],_0x462465=_0x242c1c[_0x5c9cd9+0xb],_0x272139=_0x242c1c[_0x5c9cd9+0xc],_0x150ca7=_0x242c1c[_0x5c9cd9+0xd],_0x32d1ae=_0x242c1c[_0x5c9cd9+0xe],_0x29a107=_0x242c1c[_0x5c9cd9+0xf],_0x44303e=_0xd2bbc3[0x0],_0xa8eb7f=_0xd2bbc3[0x1],_0x221982=_0xd2bbc3[0x2],_0x2f0d18=_0xd2bbc3[0x3];_0x44303e=_0x384fe1(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x2b7f65,0x7,_0x5aaa8d[0x0]),_0x2f0d18=_0x384fe1(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x4f6279,0xc,_0x5aaa8d[0x1]),_0x221982=_0x384fe1(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x49ff5d,0x11,_0x5aaa8d[0x2]),_0xa8eb7f=_0x384fe1(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x3cda77,0x16,_0x5aaa8d[0x3]),_0x44303e=_0x384fe1(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x1b28a6,0x7,_0x5aaa8d[0x4]),_0x2f0d18=_0x384fe1(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x5f2621,0xc,_0x5aaa8d[0x5]),_0x221982=_0x384fe1(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x6c77c2,0x11,_0x5aaa8d[0x6]),_0xa8eb7f=_0x384fe1(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x398593,0x16,_0x5aaa8d[0x7]),_0x44303e=_0x384fe1(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x40ea09,0x7,_0x5aaa8d[0x8]),_0x2f0d18=_0x384fe1(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x36a264,0xc,_0x5aaa8d[0x9]),_0x221982=_0x384fe1(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x24771d,0x11,_0x5aaa8d[0xa]),_0xa8eb7f=_0x384fe1(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x462465,0x16,_0x5aaa8d[0xb]),_0x44303e=_0x384fe1(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x272139,0x7,_0x5aaa8d[0xc]),_0x2f0d18=_0x384fe1(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x150ca7,0xc,_0x5aaa8d[0xd]),_0x221982=_0x384fe1(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x32d1ae,0x11,_0x5aaa8d[0xe]),_0xa8eb7f=_0x384fe1(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x29a107,0x16,_0x5aaa8d[0xf]),_0x44303e=_0x489d3e(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x4f6279,0x5,_0x5aaa8d[0x10]),_0x2f0d18=_0x489d3e(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x6c77c2,0x9,_0x5aaa8d[0x11]),_0x221982=_0x489d3e(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x462465,0xe,_0x5aaa8d[0x12]),_0xa8eb7f=_0x489d3e(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x2b7f65,0x14,_0x5aaa8d[0x13]),_0x44303e=_0x489d3e(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x5f2621,0x5,_0x5aaa8d[0x14]),_0x2f0d18=_0x489d3e(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x24771d,0x9,_0x5aaa8d[0x15]),_0x221982=_0x489d3e(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x29a107,0xe,_0x5aaa8d[0x16]),_0xa8eb7f=_0x489d3e(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x1b28a6,0x14,_0x5aaa8d[0x17]),_0x44303e=_0x489d3e(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x36a264,0x5,_0x5aaa8d[0x18]),_0x2f0d18=_0x489d3e(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x32d1ae,0x9,_0x5aaa8d[0x19]),_0x221982=_0x489d3e(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x3cda77,0xe,_0x5aaa8d[0x1a]),_0xa8eb7f=_0x489d3e(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x40ea09,0x14,_0x5aaa8d[0x1b]),_0x44303e=_0x489d3e(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x150ca7,0x5,_0x5aaa8d[0x1c]),_0x2f0d18=_0x489d3e(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x49ff5d,0x9,_0x5aaa8d[0x1d]),_0x221982=_0x489d3e(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x398593,0xe,_0x5aaa8d[0x1e]),_0xa8eb7f=_0x489d3e(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x272139,0x14,_0x5aaa8d[0x1f]),_0x44303e=_0x59f75b(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x5f2621,0x4,_0x5aaa8d[0x20]),_0x2f0d18=_0x59f75b(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x40ea09,0xb,_0x5aaa8d[0x21]),_0x221982=_0x59f75b(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x462465,0x10,_0x5aaa8d[0x22]),_0xa8eb7f=_0x59f75b(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x32d1ae,0x17,_0x5aaa8d[0x23]),_0x44303e=_0x59f75b(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x4f6279,0x4,_0x5aaa8d[0x24]),_0x2f0d18=_0x59f75b(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x1b28a6,0xb,_0x5aaa8d[0x25]),_0x221982=_0x59f75b(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x398593,0x10,_0x5aaa8d[0x26]),_0xa8eb7f=_0x59f75b(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x24771d,0x17,_0x5aaa8d[0x27]),_0x44303e=_0x59f75b(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x150ca7,0x4,_0x5aaa8d[0x28]),_0x2f0d18=_0x59f75b(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x2b7f65,0xb,_0x5aaa8d[0x29]),_0x221982=_0x59f75b(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x3cda77,0x10,_0x5aaa8d[0x2a]),_0xa8eb7f=_0x59f75b(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x6c77c2,0x17,_0x5aaa8d[0x2b]),_0x44303e=_0x59f75b(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x36a264,0x4,_0x5aaa8d[0x2c]),_0x2f0d18=_0x59f75b(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x272139,0xb,_0x5aaa8d[0x2d]),_0x221982=_0x59f75b(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x29a107,0x10,_0x5aaa8d[0x2e]),_0xa8eb7f=_0x59f75b(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x49ff5d,0x17,_0x5aaa8d[0x2f]),_0x44303e=_0x2f346e(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x2b7f65,0x6,_0x5aaa8d[0x30]),_0x2f0d18=_0x2f346e(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x398593,0xa,_0x5aaa8d[0x31]),_0x221982=_0x2f346e(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x32d1ae,0xf,_0x5aaa8d[0x32]),_0xa8eb7f=_0x2f346e(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x5f2621,0x15,_0x5aaa8d[0x33]),_0x44303e=_0x2f346e(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x272139,0x6,_0x5aaa8d[0x34]),_0x2f0d18=_0x2f346e(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x3cda77,0xa,_0x5aaa8d[0x35]),_0x221982=_0x2f346e(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x24771d,0xf,_0x5aaa8d[0x36]),_0xa8eb7f=_0x2f346e(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x4f6279,0x15,_0x5aaa8d[0x37]),_0x44303e=_0x2f346e(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x40ea09,0x6,_0x5aaa8d[0x38]),_0x2f0d18=_0x2f346e(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x29a107,0xa,_0x5aaa8d[0x39]),_0x221982=_0x2f346e(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x6c77c2,0xf,_0x5aaa8d[0x3a]),_0xa8eb7f=_0x2f346e(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x150ca7,0x15,_0x5aaa8d[0x3b]),_0x44303e=_0x2f346e(_0x44303e,_0xa8eb7f,_0x221982,_0x2f0d18,_0x1b28a6,0x6,_0x5aaa8d[0x3c]),_0x2f0d18=_0x2f346e(_0x2f0d18,_0x44303e,_0xa8eb7f,_0x221982,_0x462465,0xa,_0x5aaa8d[0x3d]),_0x221982=_0x2f346e(_0x221982,_0x2f0d18,_0x44303e,_0xa8eb7f,_0x49ff5d,0xf,_0x5aaa8d[0x3e]),_0xa8eb7f=_0x2f346e(_0xa8eb7f,_0x221982,_0x2f0d18,_0x44303e,_0x36a264,0x15,_0x5aaa8d[0x3f]),_0xd2bbc3[0x0]=_0xd2bbc3[0x0]+_0x44303e|0x0,_0xd2bbc3[0x1]=_0xd2bbc3[0x1]+_0xa8eb7f|0x0,_0xd2bbc3[0x2]=_0xd2bbc3[0x2]+_0x221982|0x0,_0xd2bbc3[0x3]=_0xd2bbc3[0x3]+_0x2f0d18|0x0;},'_doFinalize':function(){var _0x152ef1=_0x2a279a,_0x310365=this[_0x152ef1(0x334)],_0x46585b=_0x310365[_0x152ef1(0x359)],_0x1a8267=this[_0x152ef1(0x1ac)]*0x8,_0x4bfae7=_0x310365[_0x152ef1(0x40e)]*0x8;_0x46585b[_0x4bfae7>>>0x5]|=0x80<<0x18-_0x4bfae7%0x20;var _0x3e88f6=_0x5de7aa[_0x152ef1(0x273)](_0x1a8267/0x100000000),_0x3bb371=_0x1a8267;_0x46585b[(_0x4bfae7+0x40>>>0x9<<0x4)+0xf]=(_0x3e88f6<<0x8|_0x3e88f6>>>0x18)&0xff00ff|(_0x3e88f6<<0x18|_0x3e88f6>>>0x8)&0xff00ff00,_0x46585b[(_0x4bfae7+0x40>>>0x9<<0x4)+0xe]=(_0x3bb371<<0x8|_0x3bb371>>>0x18)&0xff00ff|(_0x3bb371<<0x18|_0x3bb371>>>0x8)&0xff00ff00,_0x310365[_0x152ef1(0x40e)]=(_0x46585b[_0x152ef1(0x248)]+0x1)*0x4,this[_0x152ef1(0x439)]();for(var _0x57210f=this[_0x152ef1(0x1fc)],_0x810e16=_0x57210f[_0x152ef1(0x359)],_0x340cb9=0x0;_0x340cb9<0x4;_0x340cb9++){var _0x2e2790=_0x810e16[_0x340cb9];_0x810e16[_0x340cb9]=(_0x2e2790<<0x8|_0x2e2790>>>0x18)&0xff00ff|(_0x2e2790<<0x18|_0x2e2790>>>0x8)&0xff00ff00;}return _0x57210f;},'clone':function(){var _0x88cfdf=_0x2a279a,_0x24b641=_0x441b94[_0x88cfdf(0x281)][_0x88cfdf(0x1d0)](this);return _0x24b641[_0x88cfdf(0x1fc)]=this[_0x88cfdf(0x1fc)][_0x88cfdf(0x281)](),_0x24b641;}});function _0x384fe1(_0x12beb7,_0x2fd47b,_0x2fc1eb,_0x755a6f,_0x5ba094,_0x5b9c1d,_0x47f75e){var _0x442477=_0x12beb7+(_0x2fd47b&_0x2fc1eb|~_0x2fd47b&_0x755a6f)+_0x5ba094+_0x47f75e;return(_0x442477<<_0x5b9c1d|_0x442477>>>0x20-_0x5b9c1d)+_0x2fd47b;}function _0x489d3e(_0x13aecb,_0x5097f3,_0x6080e8,_0x4e8e0c,_0x2f1595,_0x5ad6b3,_0x51fdf1){var _0x16f7cb=_0x13aecb+(_0x5097f3&_0x4e8e0c|_0x6080e8&~_0x4e8e0c)+_0x2f1595+_0x51fdf1;return(_0x16f7cb<<_0x5ad6b3|_0x16f7cb>>>0x20-_0x5ad6b3)+_0x5097f3;}function _0x59f75b(_0x8c3260,_0x4d57c6,_0x11e041,_0x51d63b,_0x473833,_0x207a6c,_0x4cfb55){var _0x43c841=_0x8c3260+(_0x4d57c6^_0x11e041^_0x51d63b)+_0x473833+_0x4cfb55;return(_0x43c841<<_0x207a6c|_0x43c841>>>0x20-_0x207a6c)+_0x4d57c6;}function _0x2f346e(_0x18230b,_0x158025,_0x2b49f6,_0x2702ca,_0x4240c5,_0x1b88d2,_0x5a98e4){var _0x5d4f2e=_0x18230b+(_0x2b49f6^(_0x158025|~_0x2702ca))+_0x4240c5+_0x5a98e4;return(_0x5d4f2e<<_0x1b88d2|_0x5d4f2e>>>0x20-_0x1b88d2)+_0x158025;}_0xe46e22['MD5']=_0x441b94[_0x2a279a(0x278)](_0x1aad97),_0xe46e22[_0x2a279a(0x19b)]=_0x441b94[_0x2a279a(0x2ab)](_0x1aad97);}(Math),_0x407b33[_0x3ff7cb(0x246)];}));}(_0x12a1bb)),_0x12a1bb[_0x36fadc(0x421)];}var _0x3ac344={'exports':{}},_0x488306={'exports':{}},_0x50c279=_0x488306['exports'],_0x831ca4;function _0x12b7a1(){return _0x831ca4||(_0x831ca4=0x1,function(_0x2e79fe,_0x2b3a43){(function(_0x3b41df,_0x25c771){_0x2e79fe['exports']=_0x25c771(_0x386204());}(_0x50c279,function(_0x5f5862){var _0x4160d1=_0x4fc7;return(function(){var _0x15de09=_0x4fc7,_0x45c0f5=_0x5f5862,_0x3b1045=_0x45c0f5[_0x15de09(0x26c)],_0x673130=_0x3b1045[_0x15de09(0x2db)],_0x37b948=_0x3b1045[_0x15de09(0x1c1)],_0xedbf6d=_0x45c0f5['algo'],_0x58a2b4=[],_0x4e050c=_0xedbf6d[_0x15de09(0x39d)]=_0x37b948[_0x15de09(0x38d)]({'_doReset':function(){var _0x4144b2=_0x15de09;this[_0x4144b2(0x1fc)]=new _0x673130[(_0x4144b2(0x427))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x18e23e,_0x1eb0b1){var _0x4e8c65=_0x15de09;for(var _0x353c2f=this[_0x4e8c65(0x1fc)][_0x4e8c65(0x359)],_0x8a08b5=_0x353c2f[0x0],_0x38689b=_0x353c2f[0x1],_0x45148d=_0x353c2f[0x2],_0x3fce44=_0x353c2f[0x3],_0x56bba7=_0x353c2f[0x4],_0x4f21ae=0x0;_0x4f21ae<0x50;_0x4f21ae++){if(_0x4f21ae<0x10)_0x58a2b4[_0x4f21ae]=_0x18e23e[_0x1eb0b1+_0x4f21ae]|0x0;else{var _0xd87d9a=_0x58a2b4[_0x4f21ae-0x3]^_0x58a2b4[_0x4f21ae-0x8]^_0x58a2b4[_0x4f21ae-0xe]^_0x58a2b4[_0x4f21ae-0x10];_0x58a2b4[_0x4f21ae]=_0xd87d9a<<0x1|_0xd87d9a>>>0x1f;}var _0x93a0e9=(_0x8a08b5<<0x5|_0x8a08b5>>>0x1b)+_0x56bba7+_0x58a2b4[_0x4f21ae];_0x4f21ae<0x14?_0x93a0e9+=(_0x38689b&_0x45148d|~_0x38689b&_0x3fce44)+0x5a827999:_0x4f21ae<0x28?_0x93a0e9+=(_0x38689b^_0x45148d^_0x3fce44)+0x6ed9eba1:_0x4f21ae<0x3c?_0x93a0e9+=(_0x38689b&_0x45148d|_0x38689b&_0x3fce44|_0x45148d&_0x3fce44)-0x70e44324:_0x93a0e9+=(_0x38689b^_0x45148d^_0x3fce44)-0x359d3e2a,_0x56bba7=_0x3fce44,_0x3fce44=_0x45148d,_0x45148d=_0x38689b<<0x1e|_0x38689b>>>0x2,_0x38689b=_0x8a08b5,_0x8a08b5=_0x93a0e9;}_0x353c2f[0x0]=_0x353c2f[0x0]+_0x8a08b5|0x0,_0x353c2f[0x1]=_0x353c2f[0x1]+_0x38689b|0x0,_0x353c2f[0x2]=_0x353c2f[0x2]+_0x45148d|0x0,_0x353c2f[0x3]=_0x353c2f[0x3]+_0x3fce44|0x0,_0x353c2f[0x4]=_0x353c2f[0x4]+_0x56bba7|0x0;},'_doFinalize':function(){var _0x59f77d=_0x15de09,_0x38185a=this[_0x59f77d(0x334)],_0x15c198=_0x38185a[_0x59f77d(0x359)],_0x179eaa=this[_0x59f77d(0x1ac)]*0x8,_0x393d37=_0x38185a[_0x59f77d(0x40e)]*0x8;return _0x15c198[_0x393d37>>>0x5]|=0x80<<0x18-_0x393d37%0x20,_0x15c198[(_0x393d37+0x40>>>0x9<<0x4)+0xe]=Math[_0x59f77d(0x273)](_0x179eaa/0x100000000),_0x15c198[(_0x393d37+0x40>>>0x9<<0x4)+0xf]=_0x179eaa,_0x38185a[_0x59f77d(0x40e)]=_0x15c198[_0x59f77d(0x248)]*0x4,this[_0x59f77d(0x439)](),this['_hash'];},'clone':function(){var _0xd3bb4b=_0x15de09,_0x441529=_0x37b948[_0xd3bb4b(0x281)][_0xd3bb4b(0x1d0)](this);return _0x441529[_0xd3bb4b(0x1fc)]=this[_0xd3bb4b(0x1fc)][_0xd3bb4b(0x281)](),_0x441529;}});_0x45c0f5[_0x15de09(0x39d)]=_0x37b948[_0x15de09(0x278)](_0x4e050c),_0x45c0f5[_0x15de09(0x17b)]=_0x37b948[_0x15de09(0x2ab)](_0x4e050c);}()),_0x5f5862[_0x4160d1(0x39d)];}));}(_0x488306)),_0x488306['exports'];}var _0xcda0e0={'exports':{}},_0x454601=_0xcda0e0[_0x27a976(0x421)],_0x9aa1f7;function _0x4fa041(){return _0x9aa1f7||(_0x9aa1f7=0x1,function(_0xc0fe47,_0x505392){(function(_0x476b6e,_0xdd7d){var _0x1b138e=_0x4fc7;_0xc0fe47[_0x1b138e(0x421)]=_0xdd7d(_0x386204());}(_0x454601,function(_0x4edbc1){(function(){var _0x311f21=_0x4fc7,_0x23030e=_0x4edbc1,_0x2107c8=_0x23030e[_0x311f21(0x26c)],_0x34cec7=_0x2107c8[_0x311f21(0x295)],_0x40c0fd=_0x23030e[_0x311f21(0x483)],_0x28862c=_0x40c0fd[_0x311f21(0x223)],_0x35b92b=_0x23030e[_0x311f21(0x238)];_0x35b92b[_0x311f21(0x1c2)]=_0x34cec7[_0x311f21(0x38d)]({'init':function(_0xcd84c9,_0x13196d){var _0x527f77=_0x311f21;_0xcd84c9=this['_hasher']=new _0xcd84c9[(_0x527f77(0x427))](),typeof _0x13196d=='string'&&(_0x13196d=_0x28862c[_0x527f77(0x24f)](_0x13196d));var _0xd50d66=_0xcd84c9[_0x527f77(0x230)],_0x2ca732=_0xd50d66*0x4;_0x13196d[_0x527f77(0x40e)]>_0x2ca732&&(_0x13196d=_0xcd84c9[_0x527f77(0x2f8)](_0x13196d)),_0x13196d[_0x527f77(0x1b9)]();for(var _0xa676f4=this[_0x527f77(0x212)]=_0x13196d[_0x527f77(0x281)](),_0x5985d4=this[_0x527f77(0x1c5)]=_0x13196d[_0x527f77(0x281)](),_0x2d7053=_0xa676f4[_0x527f77(0x359)],_0x21e532=_0x5985d4[_0x527f77(0x359)],_0x5912c6=0x0;_0x5912c6<_0xd50d66;_0x5912c6++)_0x2d7053[_0x5912c6]^=0x5c5c5c5c,_0x21e532[_0x5912c6]^=0x36363636;_0xa676f4[_0x527f77(0x40e)]=_0x5985d4[_0x527f77(0x40e)]=_0x2ca732,this['reset']();},'reset':function(){var _0x3ff850=_0x311f21,_0x353a45=this[_0x3ff850(0x169)];_0x353a45[_0x3ff850(0x3cc)](),_0x353a45[_0x3ff850(0x22e)](this[_0x3ff850(0x1c5)]);},'update':function(_0x262c6c){var _0x14f30a=_0x311f21;return this[_0x14f30a(0x169)][_0x14f30a(0x22e)](_0x262c6c),this;},'finalize':function(_0x2d2986){var _0xe3efa1=_0x311f21,_0x12542b=this[_0xe3efa1(0x169)],_0x42d0b=_0x12542b['finalize'](_0x2d2986);_0x12542b[_0xe3efa1(0x3cc)]();var _0x121822=_0x12542b[_0xe3efa1(0x2f8)](this[_0xe3efa1(0x212)][_0xe3efa1(0x281)]()[_0xe3efa1(0x466)](_0x42d0b));return _0x121822;}});}());}));}(_0xcda0e0)),_0xcda0e0['exports'];}var _0x118d04=_0x3ac344[_0x27a976(0x421)],_0x2db0e9;function _0xa7c075(){var _0x20db4a=_0x27a976;return _0x2db0e9||(_0x2db0e9=0x1,function(_0x1e52bb,_0x5e219e){(function(_0x790b4d,_0xab0bd3,_0x3ba7bb){_0x1e52bb['exports']=_0xab0bd3(_0x386204(),_0x12b7a1(),_0x4fa041());}(_0x118d04,function(_0x2c17c2){var _0x11e56b=_0x4fc7;return(function(){var _0x372514=_0x4fc7,_0x8aee78=_0x2c17c2,_0x15d4ff=_0x8aee78[_0x372514(0x26c)],_0x2c3711=_0x15d4ff[_0x372514(0x295)],_0x5d00b6=_0x15d4ff[_0x372514(0x2db)],_0x253fa0=_0x8aee78[_0x372514(0x238)],_0x1387a8=_0x253fa0[_0x372514(0x246)],_0x1822cd=_0x253fa0[_0x372514(0x3e2)]=_0x2c3711[_0x372514(0x38d)]({'cfg':_0x2c3711['extend']({'keySize':0x80/0x20,'hasher':_0x1387a8,'iterations':0x1}),'init':function(_0x193340){var _0x396a9f=_0x372514;this[_0x396a9f(0x497)]=this[_0x396a9f(0x497)]['extend'](_0x193340);},'compute':function(_0x5a6729,_0x5c818b){var _0x17aa09=_0x372514;for(var _0x5eb9f1,_0x1e2a52=this[_0x17aa09(0x497)],_0x41a39d=_0x1e2a52['hasher'][_0x17aa09(0x1c4)](),_0x237b6b=_0x5d00b6[_0x17aa09(0x1c4)](),_0x16df89=_0x237b6b['words'],_0x555ab2=_0x1e2a52[_0x17aa09(0x346)],_0x49765d=_0x1e2a52['iterations'];_0x16df89[_0x17aa09(0x248)]<_0x555ab2;){_0x5eb9f1&&_0x41a39d['update'](_0x5eb9f1),_0x5eb9f1=_0x41a39d[_0x17aa09(0x22e)](_0x5a6729)[_0x17aa09(0x2f8)](_0x5c818b),_0x41a39d[_0x17aa09(0x3cc)]();for(var _0x763bd6=0x1;_0x763bd6<_0x49765d;_0x763bd6++)_0x5eb9f1=_0x41a39d[_0x17aa09(0x2f8)](_0x5eb9f1),_0x41a39d[_0x17aa09(0x3cc)]();_0x237b6b[_0x17aa09(0x466)](_0x5eb9f1);}return _0x237b6b[_0x17aa09(0x40e)]=_0x555ab2*0x4,_0x237b6b;}});_0x8aee78['EvpKDF']=function(_0x3a89de,_0x175ac6,_0x94a53a){var _0x28e70c=_0x372514;return _0x1822cd[_0x28e70c(0x1c4)](_0x94a53a)['compute'](_0x3a89de,_0x175ac6);};}()),_0x2c17c2[_0x11e56b(0x3e2)];}));}(_0x3ac344)),_0x3ac344[_0x20db4a(0x421)];}var _0x5c8737={'exports':{}},_0x580061=_0x5c8737[_0x27a976(0x421)],_0x27465c;function _0x463ebc(){var _0x16f83f=_0x27a976;return _0x27465c||(_0x27465c=0x1,function(_0x4994c7,_0x155822){(function(_0x195165,_0x33967a,_0x289965){var _0x5324b1=_0x4fc7;_0x4994c7[_0x5324b1(0x421)]=_0x33967a(_0x386204(),_0xa7c075());}(_0x580061,function(_0x546f78){var _0x21a7ae=_0x4fc7;_0x546f78[_0x21a7ae(0x26c)][_0x21a7ae(0x1bf)]||function(_0x446faa){var _0x491658=_0x21a7ae,_0xc0fa20=_0x546f78,_0x4604c2=_0xc0fa20[_0x491658(0x26c)],_0x18ec88=_0x4604c2[_0x491658(0x295)],_0x2b96ac=_0x4604c2[_0x491658(0x2db)],_0x3240cf=_0x4604c2[_0x491658(0x45c)],_0x4f31ab=_0xc0fa20[_0x491658(0x483)];_0x4f31ab[_0x491658(0x223)];var _0x26d2a8=_0x4f31ab[_0x491658(0x36d)],_0x3ca87b=_0xc0fa20[_0x491658(0x238)],_0xacca65=_0x3ca87b[_0x491658(0x3e2)],_0x4d386b=_0x4604c2[_0x491658(0x1bf)]=_0x3240cf[_0x491658(0x38d)]({'cfg':_0x18ec88[_0x491658(0x38d)](),'createEncryptor':function(_0x3facab,_0x392d67){var _0x1e0bde=_0x491658;return this['create'](this[_0x1e0bde(0x166)],_0x3facab,_0x392d67);},'createDecryptor':function(_0x5a9b03,_0x113282){var _0x33d6b8=_0x491658;return this[_0x33d6b8(0x1c4)](this['_DEC_XFORM_MODE'],_0x5a9b03,_0x113282);},'init':function(_0x2d7643,_0x16e19a,_0x4c876b){var _0x320cac=_0x491658;this['cfg']=this['cfg'][_0x320cac(0x38d)](_0x4c876b),this['_xformMode']=_0x2d7643,this[_0x320cac(0x406)]=_0x16e19a,this[_0x320cac(0x3cc)]();},'reset':function(){var _0xce396a=_0x491658;_0x3240cf['reset']['call'](this),this[_0xce396a(0x12f)]();},'process':function(_0x2b15b1){var _0x17d9d1=_0x491658;return this[_0x17d9d1(0x36c)](_0x2b15b1),this[_0x17d9d1(0x439)]();},'finalize':function(_0xaf76e1){var _0x357169=_0x491658;_0xaf76e1&&this['_append'](_0xaf76e1);var _0x5edab7=this[_0x357169(0x178)]();return _0x5edab7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4808ee(_0x468fab){var _0x46e320=_0x4fc7;return typeof _0x468fab==_0x46e320(0x14c)?_0x440651:_0x48b59b;}return function(_0x10654c){return{'encrypt':function(_0x230435,_0x300c89,_0x5c805d){var _0x5d6938=_0x4fc7;return _0x4808ee(_0x300c89)[_0x5d6938(0x279)](_0x10654c,_0x230435,_0x300c89,_0x5c805d);},'decrypt':function(_0x5324d6,_0x179801,_0x19fa16){var _0xd430f7=_0x4fc7;return _0x4808ee(_0x179801)[_0xd430f7(0x383)](_0x10654c,_0x5324d6,_0x179801,_0x19fa16);}};};}())});_0x4604c2['StreamCipher']=_0x4d386b[_0x491658(0x38d)]({'_doFinalize':function(){var _0x1c3f62=_0x491658,_0x43b65c=this[_0x1c3f62(0x439)](!0x0);return _0x43b65c;},'blockSize':0x1});var _0x59ba17=_0xc0fa20['mode']={},_0x5c7b37=_0x4604c2[_0x491658(0x15c)]=_0x18ec88[_0x491658(0x38d)]({'createEncryptor':function(_0x2e5c61,_0x67ab4f){var _0x1de309=_0x491658;return this['Encryptor'][_0x1de309(0x1c4)](_0x2e5c61,_0x67ab4f);},'createDecryptor':function(_0x24f40f,_0x101cb4){var _0x2f6af3=_0x491658;return this[_0x2f6af3(0x399)]['create'](_0x24f40f,_0x101cb4);},'init':function(_0x41862f,_0x145a67){this['_cipher']=_0x41862f,this['_iv']=_0x145a67;}}),_0x336cf2=_0x59ba17[_0x491658(0x214)]=(function(){var _0x103889=_0x491658,_0xf4051f=_0x5c7b37[_0x103889(0x38d)]();_0xf4051f['Encryptor']=_0xf4051f[_0x103889(0x38d)]({'processBlock':function(_0x547ac7,_0x525914){var _0x16dbc1=_0x103889,_0x2e1e51=this[_0x16dbc1(0x402)],_0x1fcdce=_0x2e1e51[_0x16dbc1(0x230)];_0x26daae['call'](this,_0x547ac7,_0x525914,_0x1fcdce),_0x2e1e51[_0x16dbc1(0x392)](_0x547ac7,_0x525914),this[_0x16dbc1(0x455)]=_0x547ac7[_0x16dbc1(0x2b4)](_0x525914,_0x525914+_0x1fcdce);}}),_0xf4051f[_0x103889(0x399)]=_0xf4051f[_0x103889(0x38d)]({'processBlock':function(_0x5b0d1a,_0xb1d420){var _0x57a598=_0x103889,_0x440c66=this[_0x57a598(0x402)],_0x1bffe5=_0x440c66[_0x57a598(0x230)],_0x5f9f15=_0x5b0d1a['slice'](_0xb1d420,_0xb1d420+_0x1bffe5);_0x440c66['decryptBlock'](_0x5b0d1a,_0xb1d420),_0x26daae[_0x57a598(0x1d0)](this,_0x5b0d1a,_0xb1d420,_0x1bffe5),this[_0x57a598(0x455)]=_0x5f9f15;}});function _0x26daae(_0x48f0c5,_0x5e3e6a,_0x37e676){var _0x538a0d=_0x103889,_0xce484a,_0x1a597b=this[_0x538a0d(0x3ee)];_0x1a597b?(_0xce484a=_0x1a597b,this['_iv']=_0x446faa):_0xce484a=this[_0x538a0d(0x455)];for(var _0x10c69c=0x0;_0x10c69c<_0x37e676;_0x10c69c++)_0x48f0c5[_0x5e3e6a+_0x10c69c]^=_0xce484a[_0x10c69c];}return _0xf4051f;}()),_0x2f31df=_0xc0fa20[_0x491658(0x13c)]={},_0x728104=_0x2f31df[_0x491658(0x2dd)]={'pad':function(_0x5bc616,_0x181ab5){var _0x4eef71=_0x491658;for(var _0xa7ca28=_0x181ab5*0x4,_0x4814bc=_0xa7ca28-_0x5bc616[_0x4eef71(0x40e)]%_0xa7ca28,_0xed4ed8=_0x4814bc<<0x18|_0x4814bc<<0x10|_0x4814bc<<0x8|_0x4814bc,_0x45d2ea=[],_0x42ed40=0x0;_0x42ed40<_0x4814bc;_0x42ed40+=0x4)_0x45d2ea['push'](_0xed4ed8);var _0x49e149=_0x2b96ac['create'](_0x45d2ea,_0x4814bc);_0x5bc616['concat'](_0x49e149);},'unpad':function(_0x5c4992){var _0x51f15f=_0x491658,_0x5c7fa3=_0x5c4992[_0x51f15f(0x359)][_0x5c4992[_0x51f15f(0x40e)]-0x1>>>0x2]&0xff;_0x5c4992['sigBytes']-=_0x5c7fa3;}};_0x4604c2[_0x491658(0x24c)]=_0x4d386b[_0x491658(0x38d)]({'cfg':_0x4d386b[_0x491658(0x497)][_0x491658(0x38d)]({'mode':_0x336cf2,'padding':_0x728104}),'reset':function(){var _0xe76243=_0x491658,_0x1f0127;_0x4d386b[_0xe76243(0x3cc)][_0xe76243(0x1d0)](this);var _0x4bc9a8=this['cfg'],_0x2ad844=_0x4bc9a8['iv'],_0x17bf30=_0x4bc9a8[_0xe76243(0x14b)];this[_0xe76243(0x323)]==this[_0xe76243(0x166)]?_0x1f0127=_0x17bf30[_0xe76243(0x2f3)]:(_0x1f0127=_0x17bf30[_0xe76243(0x2cb)],this[_0xe76243(0x27f)]=0x1),this[_0xe76243(0x3d4)]&&this[_0xe76243(0x3d4)]['__creator']==_0x1f0127?this[_0xe76243(0x3d4)]['init'](this,_0x2ad844&&_0x2ad844[_0xe76243(0x359)]):(this['_mode']=_0x1f0127[_0xe76243(0x1d0)](_0x17bf30,this,_0x2ad844&&_0x2ad844[_0xe76243(0x359)]),this['_mode']['__creator']=_0x1f0127);},'_doProcessBlock':function(_0x3d01d8,_0x376393){var _0x3dccb4=_0x491658;this[_0x3dccb4(0x3d4)][_0x3dccb4(0x2d1)](_0x3d01d8,_0x376393);},'_doFinalize':function(){var _0x13024b=_0x491658,_0x2a01e4,_0x1b4161=this[_0x13024b(0x497)][_0x13024b(0x16d)];return this['_xformMode']==this[_0x13024b(0x166)]?(_0x1b4161[_0x13024b(0x13c)](this[_0x13024b(0x334)],this[_0x13024b(0x230)]),_0x2a01e4=this[_0x13024b(0x439)](!0x0)):(_0x2a01e4=this['_process'](!0x0),_0x1b4161['unpad'](_0x2a01e4)),_0x2a01e4;},'blockSize':0x80/0x20});var _0x48f59e=_0x4604c2[_0x491658(0x244)]=_0x18ec88['extend']({'init':function(_0x2927cd){var _0x2a2ae4=_0x491658;this[_0x2a2ae4(0x480)](_0x2927cd);},'toString':function(_0x21f24e){var _0x426dc6=_0x491658;return(_0x21f24e||this[_0x426dc6(0x2a3)])['stringify'](this);}}),_0x41486a=_0xc0fa20['format']={},_0x2ca1bb=_0x41486a[_0x491658(0x195)]={'stringify':function(_0x5197c4){var _0x4c8d14=_0x491658,_0x2d0dbe,_0x46685e=_0x5197c4['ciphertext'],_0xd9d051=_0x5197c4[_0x4c8d14(0x3d1)];return _0xd9d051?_0x2d0dbe=_0x2b96ac[_0x4c8d14(0x1c4)]([0x53616c74,0x65645f5f])[_0x4c8d14(0x466)](_0xd9d051)[_0x4c8d14(0x466)](_0x46685e):_0x2d0dbe=_0x46685e,_0x2d0dbe[_0x4c8d14(0x271)](_0x26d2a8);},'parse':function(_0x1f485a){var _0x500ff9=_0x491658,_0x7006,_0x17093b=_0x26d2a8[_0x500ff9(0x24f)](_0x1f485a),_0xf973cc=_0x17093b[_0x500ff9(0x359)];return _0xf973cc[0x0]==0x53616c74&&_0xf973cc[0x1]==0x65645f5f&&(_0x7006=_0x2b96ac['create'](_0xf973cc[_0x500ff9(0x2b4)](0x2,0x4)),_0xf973cc[_0x500ff9(0x37a)](0x0,0x4),_0x17093b[_0x500ff9(0x40e)]-=0x10),_0x48f59e['create']({'ciphertext':_0x17093b,'salt':_0x7006});}},_0x48b59b=_0x4604c2[_0x491658(0x2c3)]=_0x18ec88[_0x491658(0x38d)]({'cfg':_0x18ec88[_0x491658(0x38d)]({'format':_0x2ca1bb}),'encrypt':function(_0x40f3ad,_0x297b51,_0x1ab306,_0x314c24){var _0x5bd726=_0x491658;_0x314c24=this['cfg'][_0x5bd726(0x38d)](_0x314c24);var _0x5bb8df=_0x40f3ad[_0x5bd726(0x2f3)](_0x1ab306,_0x314c24),_0x53ccb7=_0x5bb8df[_0x5bd726(0x2f8)](_0x297b51),_0x1b61b2=_0x5bb8df[_0x5bd726(0x497)];return _0x48f59e['create']({'ciphertext':_0x53ccb7,'key':_0x1ab306,'iv':_0x1b61b2['iv'],'algorithm':_0x40f3ad,'mode':_0x1b61b2['mode'],'padding':_0x1b61b2[_0x5bd726(0x16d)],'blockSize':_0x40f3ad[_0x5bd726(0x230)],'formatter':_0x314c24[_0x5bd726(0x1b3)]});},'decrypt':function(_0x127334,_0x116dd6,_0x13a8fe,_0x55593b){var _0x242a14=_0x491658;_0x55593b=this[_0x242a14(0x497)][_0x242a14(0x38d)](_0x55593b),_0x116dd6=this[_0x242a14(0x45a)](_0x116dd6,_0x55593b['format']);var _0x3c50ca=_0x127334[_0x242a14(0x2cb)](_0x13a8fe,_0x55593b)[_0x242a14(0x2f8)](_0x116dd6['ciphertext']);return _0x3c50ca;},'_parse':function(_0x29d619,_0x4ef79a){var _0x426e82=_0x491658;return typeof _0x29d619==_0x426e82(0x14c)?_0x4ef79a[_0x426e82(0x24f)](_0x29d619,this):_0x29d619;}}),_0x10be62=_0xc0fa20['kdf']={},_0x54517a=_0x10be62['OpenSSL']={'execute':function(_0x1fd835,_0x3d990c,_0x40e756,_0xce1ed1,_0x2a3590){var _0x294806=_0x491658;if(_0xce1ed1||(_0xce1ed1=_0x2b96ac['random'](0x40/0x8)),_0x2a3590)var _0x1b30fb=_0xacca65[_0x294806(0x1c4)]({'keySize':_0x3d990c+_0x40e756,'hasher':_0x2a3590})[_0x294806(0x21f)](_0x1fd835,_0xce1ed1);else var _0x1b30fb=_0xacca65[_0x294806(0x1c4)]({'keySize':_0x3d990c+_0x40e756})[_0x294806(0x21f)](_0x1fd835,_0xce1ed1);var _0x1e309d=_0x2b96ac[_0x294806(0x1c4)](_0x1b30fb[_0x294806(0x359)][_0x294806(0x2b4)](_0x3d990c),_0x40e756*0x4);return _0x1b30fb[_0x294806(0x40e)]=_0x3d990c*0x4,_0x48f59e[_0x294806(0x1c4)]({'key':_0x1b30fb,'iv':_0x1e309d,'salt':_0xce1ed1});}},_0x440651=_0x4604c2[_0x491658(0x49b)]=_0x48b59b[_0x491658(0x38d)]({'cfg':_0x48b59b[_0x491658(0x497)][_0x491658(0x38d)]({'kdf':_0x54517a}),'encrypt':function(_0x22720a,_0x506d24,_0x56abd6,_0x192d5a){var _0x20429d=_0x491658;_0x192d5a=this['cfg']['extend'](_0x192d5a);var _0x4a4283=_0x192d5a[_0x20429d(0x14e)]['execute'](_0x56abd6,_0x22720a['keySize'],_0x22720a['ivSize'],_0x192d5a[_0x20429d(0x3d1)],_0x192d5a[_0x20429d(0x2de)]);_0x192d5a['iv']=_0x4a4283['iv'];var _0xa6d5b=_0x48b59b[_0x20429d(0x279)][_0x20429d(0x1d0)](this,_0x22720a,_0x506d24,_0x4a4283[_0x20429d(0x384)],_0x192d5a);return _0xa6d5b['mixIn'](_0x4a4283),_0xa6d5b;},'decrypt':function(_0x4bceac,_0x4dc1e8,_0x2a389c,_0x306afe){var _0x34fd43=_0x491658;_0x306afe=this[_0x34fd43(0x497)][_0x34fd43(0x38d)](_0x306afe),_0x4dc1e8=this['_parse'](_0x4dc1e8,_0x306afe[_0x34fd43(0x1b3)]);var _0x50e470=_0x306afe['kdf'][_0x34fd43(0x485)](_0x2a389c,_0x4bceac[_0x34fd43(0x346)],_0x4bceac[_0x34fd43(0x3cf)],_0x4dc1e8[_0x34fd43(0x3d1)],_0x306afe[_0x34fd43(0x2de)]);_0x306afe['iv']=_0x50e470['iv'];var _0x255cda=_0x48b59b[_0x34fd43(0x383)][_0x34fd43(0x1d0)](this,_0x4bceac,_0x4dc1e8,_0x50e470[_0x34fd43(0x384)],_0x306afe);return _0x255cda;}});}();}));}(_0x5c8737)),_0x5c8737[_0x16f83f(0x421)];}var _0x7f17ca=_0x537177['exports'],_0x56c109;function _0x28b3b6(){var _0x417cab=_0x27a976;return _0x56c109||(_0x56c109=0x1,function(_0x13a259,_0xae3ffd){(function(_0x273097,_0x53d0bc,_0x908781){var _0x3189eb=_0x4fc7;_0x13a259[_0x3189eb(0x421)]=_0x53d0bc(_0x386204(),_0x335a3a(),_0x475c70(),_0xa7c075(),_0x463ebc());}(_0x7f17ca,function(_0x4cbbee){return(function(){var _0x18b47e=_0x4fc7,_0x4d9434=_0x4cbbee,_0x3ee32f=_0x4d9434[_0x18b47e(0x26c)],_0x2c3fe3=_0x3ee32f[_0x18b47e(0x24c)],_0x27579a=_0x4d9434[_0x18b47e(0x238)],_0x24fcc2=[],_0x328cd2=[],_0x5bc151=[],_0x683c6f=[],_0x105017=[],_0x7a30f1=[],_0x4202d6=[],_0x2b4448=[],_0x1e30cb=[],_0x2d92fe=[];(function(){for(var _0x3d853f=[],_0x386372=0x0;_0x386372<0x100;_0x386372++)_0x386372<0x80?_0x3d853f[_0x386372]=_0x386372<<0x1:_0x3d853f[_0x386372]=_0x386372<<0x1^0x11b;for(var _0x415dca=0x0,_0x1fffed=0x0,_0x386372=0x0;_0x386372<0x100;_0x386372++){var _0x25ce5c=_0x1fffed^_0x1fffed<<0x1^_0x1fffed<<0x2^_0x1fffed<<0x3^_0x1fffed<<0x4;_0x25ce5c=_0x25ce5c>>>0x8^_0x25ce5c&0xff^0x63,_0x24fcc2[_0x415dca]=_0x25ce5c,_0x328cd2[_0x25ce5c]=_0x415dca;var _0x7925b7=_0x3d853f[_0x415dca],_0x208060=_0x3d853f[_0x7925b7],_0x13c3f1=_0x3d853f[_0x208060],_0xf731a1=_0x3d853f[_0x25ce5c]*0x101^_0x25ce5c*0x1010100;_0x5bc151[_0x415dca]=_0xf731a1<<0x18|_0xf731a1>>>0x8,_0x683c6f[_0x415dca]=_0xf731a1<<0x10|_0xf731a1>>>0x10,_0x105017[_0x415dca]=_0xf731a1<<0x8|_0xf731a1>>>0x18,_0x7a30f1[_0x415dca]=_0xf731a1;var _0xf731a1=_0x13c3f1*0x1010101^_0x208060*0x10001^_0x7925b7*0x101^_0x415dca*0x1010100;_0x4202d6[_0x25ce5c]=_0xf731a1<<0x18|_0xf731a1>>>0x8,_0x2b4448[_0x25ce5c]=_0xf731a1<<0x10|_0xf731a1>>>0x10,_0x1e30cb[_0x25ce5c]=_0xf731a1<<0x8|_0xf731a1>>>0x18,_0x2d92fe[_0x25ce5c]=_0xf731a1,_0x415dca?(_0x415dca=_0x7925b7^_0x3d853f[_0x3d853f[_0x3d853f[_0x13c3f1^_0x7925b7]]],_0x1fffed^=_0x3d853f[_0x3d853f[_0x1fffed]]):_0x415dca=_0x1fffed=0x1;}}());var _0x2a8eff=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1b57c8=_0x27579a[_0x18b47e(0x408)]=_0x2c3fe3[_0x18b47e(0x38d)]({'_doReset':function(){var _0x4c0df2=_0x18b47e,_0x1da2e5;if(!(this[_0x4c0df2(0x3d9)]&&this['_keyPriorReset']===this[_0x4c0df2(0x406)])){for(var _0x526bc1=this[_0x4c0df2(0x1a0)]=this[_0x4c0df2(0x406)],_0xd52a88=_0x526bc1[_0x4c0df2(0x359)],_0x4ecd57=_0x526bc1[_0x4c0df2(0x40e)]/0x4,_0x1ebf20=this[_0x4c0df2(0x3d9)]=_0x4ecd57+0x6,_0x2b153a=(_0x1ebf20+0x1)*0x4,_0x3ac517=this[_0x4c0df2(0x34a)]=[],_0x2167ec=0x0;_0x2167ec<_0x2b153a;_0x2167ec++)_0x2167ec<_0x4ecd57?_0x3ac517[_0x2167ec]=_0xd52a88[_0x2167ec]:(_0x1da2e5=_0x3ac517[_0x2167ec-0x1],_0x2167ec%_0x4ecd57?_0x4ecd57>0x6&&_0x2167ec%_0x4ecd57==0x4&&(_0x1da2e5=_0x24fcc2[_0x1da2e5>>>0x18]<<0x18|_0x24fcc2[_0x1da2e5>>>0x10&0xff]<<0x10|_0x24fcc2[_0x1da2e5>>>0x8&0xff]<<0x8|_0x24fcc2[_0x1da2e5&0xff]):(_0x1da2e5=_0x1da2e5<<0x8|_0x1da2e5>>>0x18,_0x1da2e5=_0x24fcc2[_0x1da2e5>>>0x18]<<0x18|_0x24fcc2[_0x1da2e5>>>0x10&0xff]<<0x10|_0x24fcc2[_0x1da2e5>>>0x8&0xff]<<0x8|_0x24fcc2[_0x1da2e5&0xff],_0x1da2e5^=_0x2a8eff[_0x2167ec/_0x4ecd57|0x0]<<0x18),_0x3ac517[_0x2167ec]=_0x3ac517[_0x2167ec-_0x4ecd57]^_0x1da2e5);for(var _0x1ccb01=this[_0x4c0df2(0x1f8)]=[],_0xc0421=0x0;_0xc0421<_0x2b153a;_0xc0421++){var _0x2167ec=_0x2b153a-_0xc0421;if(_0xc0421%0x4)var _0x1da2e5=_0x3ac517[_0x2167ec];else var _0x1da2e5=_0x3ac517[_0x2167ec-0x4];_0xc0421<0x4||_0x2167ec<=0x4?_0x1ccb01[_0xc0421]=_0x1da2e5:_0x1ccb01[_0xc0421]=_0x4202d6[_0x24fcc2[_0x1da2e5>>>0x18]]^_0x2b4448[_0x24fcc2[_0x1da2e5>>>0x10&0xff]]^_0x1e30cb[_0x24fcc2[_0x1da2e5>>>0x8&0xff]]^_0x2d92fe[_0x24fcc2[_0x1da2e5&0xff]];}}},'encryptBlock':function(_0x590a04,_0x3f1bf5){var _0x3aa65f=_0x18b47e;this[_0x3aa65f(0x44d)](_0x590a04,_0x3f1bf5,this['_keySchedule'],_0x5bc151,_0x683c6f,_0x105017,_0x7a30f1,_0x24fcc2);},'decryptBlock':function(_0x189721,_0x31ad7e){var _0x478207=_0x18b47e,_0x408e7b=_0x189721[_0x31ad7e+0x1];_0x189721[_0x31ad7e+0x1]=_0x189721[_0x31ad7e+0x3],_0x189721[_0x31ad7e+0x3]=_0x408e7b,this[_0x478207(0x44d)](_0x189721,_0x31ad7e,this[_0x478207(0x1f8)],_0x4202d6,_0x2b4448,_0x1e30cb,_0x2d92fe,_0x328cd2);var _0x408e7b=_0x189721[_0x31ad7e+0x1];_0x189721[_0x31ad7e+0x1]=_0x189721[_0x31ad7e+0x3],_0x189721[_0x31ad7e+0x3]=_0x408e7b;},'_doCryptBlock':function(_0x30f2f0,_0x3c872b,_0x214e2b,_0x3a8873,_0x29f2db,_0x177692,_0x31b1f4,_0x31415f){for(var _0x1ad2f2=this['_nRounds'],_0x41e094=_0x30f2f0[_0x3c872b]^_0x214e2b[0x0],_0x25b4ad=_0x30f2f0[_0x3c872b+0x1]^_0x214e2b[0x1],_0x31e744=_0x30f2f0[_0x3c872b+0x2]^_0x214e2b[0x2],_0xc6b02a=_0x30f2f0[_0x3c872b+0x3]^_0x214e2b[0x3],_0x2c1056=0x4,_0x48ce24=0x1;_0x48ce24<_0x1ad2f2;_0x48ce24++){var _0x641e20=_0x3a8873[_0x41e094>>>0x18]^_0x29f2db[_0x25b4ad>>>0x10&0xff]^_0x177692[_0x31e744>>>0x8&0xff]^_0x31b1f4[_0xc6b02a&0xff]^_0x214e2b[_0x2c1056++],_0x2efbb3=_0x3a8873[_0x25b4ad>>>0x18]^_0x29f2db[_0x31e744>>>0x10&0xff]^_0x177692[_0xc6b02a>>>0x8&0xff]^_0x31b1f4[_0x41e094&0xff]^_0x214e2b[_0x2c1056++],_0x2c4a02=_0x3a8873[_0x31e744>>>0x18]^_0x29f2db[_0xc6b02a>>>0x10&0xff]^_0x177692[_0x41e094>>>0x8&0xff]^_0x31b1f4[_0x25b4ad&0xff]^_0x214e2b[_0x2c1056++],_0x26a712=_0x3a8873[_0xc6b02a>>>0x18]^_0x29f2db[_0x41e094>>>0x10&0xff]^_0x177692[_0x25b4ad>>>0x8&0xff]^_0x31b1f4[_0x31e744&0xff]^_0x214e2b[_0x2c1056++];_0x41e094=_0x641e20,_0x25b4ad=_0x2efbb3,_0x31e744=_0x2c4a02,_0xc6b02a=_0x26a712;}var _0x641e20=(_0x31415f[_0x41e094>>>0x18]<<0x18|_0x31415f[_0x25b4ad>>>0x10&0xff]<<0x10|_0x31415f[_0x31e744>>>0x8&0xff]<<0x8|_0x31415f[_0xc6b02a&0xff])^_0x214e2b[_0x2c1056++],_0x2efbb3=(_0x31415f[_0x25b4ad>>>0x18]<<0x18|_0x31415f[_0x31e744>>>0x10&0xff]<<0x10|_0x31415f[_0xc6b02a>>>0x8&0xff]<<0x8|_0x31415f[_0x41e094&0xff])^_0x214e2b[_0x2c1056++],_0x2c4a02=(_0x31415f[_0x31e744>>>0x18]<<0x18|_0x31415f[_0xc6b02a>>>0x10&0xff]<<0x10|_0x31415f[_0x41e094>>>0x8&0xff]<<0x8|_0x31415f[_0x25b4ad&0xff])^_0x214e2b[_0x2c1056++],_0x26a712=(_0x31415f[_0xc6b02a>>>0x18]<<0x18|_0x31415f[_0x41e094>>>0x10&0xff]<<0x10|_0x31415f[_0x25b4ad>>>0x8&0xff]<<0x8|_0x31415f[_0x31e744&0xff])^_0x214e2b[_0x2c1056++];_0x30f2f0[_0x3c872b]=_0x641e20,_0x30f2f0[_0x3c872b+0x1]=_0x2efbb3,_0x30f2f0[_0x3c872b+0x2]=_0x2c4a02,_0x30f2f0[_0x3c872b+0x3]=_0x26a712;},'keySize':0x100/0x20});_0x4d9434[_0x18b47e(0x408)]=_0x2c3fe3['_createHelper'](_0x1b57c8);}()),_0x4cbbee['AES'];}));}(_0x537177)),_0x537177[_0x417cab(0x421)];}var _0x3a2fbd=_0x28b3b6();const _0x59b5b8=_0x44d98b(_0x3a2fbd);var _0x21dc75=_0x335a3a();const _0x4b9cad=_0x44d98b(_0x21dc75);var _0x56da74={'exports':{}},_0x233709=_0x56da74[_0x27a976(0x421)],_0x17574a;function _0x1b0eb2(){var _0xc16fc=_0x27a976;return _0x17574a||(_0x17574a=0x1,function(_0x464679,_0x19d870){(function(_0x384265,_0x16c51f){var _0x10e0ca=_0x4fc7;_0x464679[_0x10e0ca(0x421)]=_0x16c51f(_0x386204());}(_0x233709,function(_0x2be0cd){return _0x2be0cd['enc']['Utf8'];}));}(_0x56da74)),_0x56da74[_0xc16fc(0x421)];}var _0x5dddba=_0x1b0eb2();const _0x41c0c2=_0x44d98b(_0x5dddba);var _0x172d05={'exports':{}},_0x20cbc3=_0x172d05[_0x27a976(0x421)],_0x460abf;function _0x5cd3a7(){return _0x460abf||(_0x460abf=0x1,function(_0x12c43c,_0x5d07a9){(function(_0x26231f,_0x3f04c4){var _0x2eec0e=_0x4fc7;_0x12c43c[_0x2eec0e(0x421)]=_0x3f04c4(_0x386204());}(_0x20cbc3,function(_0x565c28){var _0x562ea1=_0x4fc7;return(function(){var _0x1c4852=_0x4fc7;if(typeof ArrayBuffer==_0x1c4852(0x3dd)){var _0x521f92=_0x565c28,_0x3cb775=_0x521f92[_0x1c4852(0x26c)],_0x1973c7=_0x3cb775[_0x1c4852(0x2db)],_0x3caad9=_0x1973c7[_0x1c4852(0x427)],_0x1c0078=_0x1973c7['init']=function(_0x8b9d0d){var _0x3ddd18=_0x1c4852;if(_0x8b9d0d instanceof ArrayBuffer&&(_0x8b9d0d=new Uint8Array(_0x8b9d0d)),(_0x8b9d0d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x8b9d0d instanceof Uint8ClampedArray||_0x8b9d0d instanceof Int16Array||_0x8b9d0d instanceof Uint16Array||_0x8b9d0d instanceof Int32Array||_0x8b9d0d instanceof Uint32Array||_0x8b9d0d instanceof Float32Array||_0x8b9d0d instanceof Float64Array)&&(_0x8b9d0d=new Uint8Array(_0x8b9d0d[_0x3ddd18(0x321)],_0x8b9d0d[_0x3ddd18(0x29b)],_0x8b9d0d[_0x3ddd18(0x25a)])),_0x8b9d0d instanceof Uint8Array){for(var _0x40aa84=_0x8b9d0d['byteLength'],_0x50b401=[],_0x48301c=0x0;_0x48301c<_0x40aa84;_0x48301c++)_0x50b401[_0x48301c>>>0x2]|=_0x8b9d0d[_0x48301c]<<0x18-_0x48301c%0x4*0x8;_0x3caad9[_0x3ddd18(0x1d0)](this,_0x50b401,_0x40aa84);}else _0x3caad9[_0x3ddd18(0x2cd)](this,arguments);};_0x1c0078[_0x1c4852(0x206)]=_0x1973c7;}}()),_0x565c28[_0x562ea1(0x26c)][_0x562ea1(0x2db)];}));}(_0x172d05)),_0x172d05['exports'];}var _0x189a2b=_0x5cd3a7();const _0x17b3a6=_0x44d98b(_0x189a2b);var _0x5a9828={'exports':{}},_0x4753f1=_0x5a9828[_0x27a976(0x421)],_0x19fc42;function _0x2df350(){var _0x585874=_0x27a976;return _0x19fc42||(_0x19fc42=0x1,function(_0x372725,_0x5038de){(function(_0x7feadd,_0x4ea249,_0x4ff08f){var _0x4fa482=_0x4fc7;_0x372725[_0x4fa482(0x421)]=_0x4ea249(_0x386204(),_0x463ebc());}(_0x4753f1,function(_0x2a54d4){var _0x468207=_0x4fc7;return _0x2a54d4[_0x468207(0x13c)][_0x468207(0x449)]={'pad':function(){},'unpad':function(){}},_0x2a54d4[_0x468207(0x13c)]['NoPadding'];}));}(_0x5a9828)),_0x5a9828[_0x585874(0x421)];}var _0x57d564=_0x2df350();const _0x5af7da=_0x44d98b(_0x57d564);function _0x1b451c(_0x3c11e9,_0x36a25c){var _0x35e0de=_0x27a976;const _0x17943c=_0x36a25c-_0x3c11e9[_0x35e0de(0x248)]%_0x36a25c,_0x1f59c9=String[_0x35e0de(0x1ce)](_0x17943c)[_0x35e0de(0x141)](_0x17943c);return _0x3c11e9+_0x1f59c9;}function _0x13ceef(_0x30e1a8,_0x56a3ca){var _0x11a7fe=_0x27a976;const _0x30710f=_0x17b3a6[_0x11a7fe(0x28a)](0x10),_0x14ad3c=_0x1b451c(_0x30e1a8,0x10),_0x236f2c=_0x59b5b8['encrypt'](_0x41c0c2[_0x11a7fe(0x24f)](_0x14ad3c),_0x4b9cad['parse'](_0x56a3ca),{'iv':_0x30710f,'padding':_0x5af7da});return _0x30710f['concat'](_0x236f2c['ciphertext'])[_0x11a7fe(0x271)](_0x4b9cad);}function _0x4176bf(){var _0x4f4b44=_0x27a976;const _0x2615f7=_0x56d589[_0x4f4b44(0x142)]()['__Key__'];if(_0x2615f7){const _0x42778d={'time':Math[_0x4f4b44(0x273)](Date['now']()/0x3e8),'domain':location[_0x4f4b44(0x172)]};return _0x13ceef(JSON[_0x4f4b44(0x472)](_0x42778d),_0x2615f7);}}var _0x455967=Object[_0x27a976(0x42e)],_0x1f864b=(_0x4194d8,_0x5eb3ae,_0x1e8f2c,_0x10037f)=>{var _0x46611f=_0x27a976;for(var _0x3e6e96=_0x10037f>0x1?void 0x0:_0x10037f?_0x455967(_0x5eb3ae,_0x1e8f2c):_0x5eb3ae,_0x4f180f=_0x4194d8[_0x46611f(0x248)]-0x1,_0x3a9a2e;_0x4f180f>=0x0;_0x4f180f--)(_0x3a9a2e=_0x4194d8[_0x4f180f])&&(_0x3e6e96=_0x3a9a2e(_0x3e6e96)||_0x3e6e96);return _0x3e6e96;},_0x35a6ed=(_0x20fae5,_0x456510)=>(_0x37bfaf,_0x43cf08)=>_0x456510(_0x37bfaf,_0x43cf08,_0x20fae5);let _0x4caf88=class{constructor(_0x38b573){var _0x5578a1=_0x27a976;this[_0x5578a1(0x35f)]=_0x38b573,this[_0x5578a1(0x203)]();}[_0x27a976(0x203)](){var _0x3fad73=_0x27a976;this[_0x3fad73(0x35f)][_0x3fad73(0x294)]({'interceptor':(_0x7e89df,_0x2a522c)=>{var _0x2117e5=_0x3fad73;const _0x4675e0=_0x7e89df[_0x2117e5(0x3ec)],_0x1c5a8b=_0x4176bf();return _0x1c5a8b&&_0x4675e0[_0x2117e5(0x234)](_0x2117e5(0x143),_0x1c5a8b),_0x2a522c(_0x7e89df);}});}};_0x4caf88=_0x1f864b([_0x35a6ed(0x0,_0x54f369[_0x27a976(0x1df)](_0x5add2d[_0x27a976(0x194)]))],_0x4caf88);var _0x4acbda=Object[_0x27a976(0x42e)],_0x31b375=(_0x19e7d1,_0xc26c9b,_0x3137a5,_0x4a474f)=>{var _0xf14ae8=_0x27a976;for(var _0x3d1108=_0x4a474f>0x1?void 0x0:_0x4a474f?_0x4acbda(_0xc26c9b,_0x3137a5):_0xc26c9b,_0x25fbe2=_0x19e7d1[_0xf14ae8(0x248)]-0x1,_0x108c2a;_0x25fbe2>=0x0;_0x25fbe2--)(_0x108c2a=_0x19e7d1[_0x25fbe2])&&(_0x3d1108=_0x108c2a(_0x3d1108)||_0x3d1108);return _0x3d1108;},_0x93d00=(_0x1e4ed6,_0x549a22)=>(_0x232ba3,_0x32e3b7)=>_0x549a22(_0x232ba3,_0x32e3b7,_0x1e4ed6);_0x3152dc[_0x27a976(0x44c)]=class extends _0x54f369[_0x27a976(0x200)]{constructor(_0xbd0f35,_0x297e99,_0x414f8a){var _0x421799=_0x27a976;super(),_0x385492(this,_0x421799(0x394),new _0x4bed42[(_0x421799(0x411))](null)),_0x385492(this,_0x421799(0x329),this['_unitInfo$'][_0x421799(0x444)]()),(this[_0x421799(0x313)]=_0xbd0f35,this[_0x421799(0x2e3)]=_0x297e99,this[_0x421799(0x4ae)]=_0x414f8a);}async[_0x27a976(0x32f)](_0x11d41f,_0x23fc11,_0x18b009){var _0x251272=_0x27a976;this['_unitInfo$'][_0x251272(0x1a1)]({'unitId':_0x11d41f,'type':_0x23fc11,'subUnitId':_0x18b009});let _0x4df029=null;switch(_0x23fc11){case _0x1cf251['UNIVER_SHEET']:{_0x4df029=await this[_0x251272(0x332)](_0x11d41f);break;}case _0x1cf251[_0x251272(0x2fd)]:{_0x4df029=await this[_0x251272(0x370)](_0x11d41f);break;}default:{this[_0x251272(0x313)]['error'](_0x251272(0x2b3),_0x251272(0x476));break;}}return _0x4df029;}async['_loadSheet'](_0x3c78cd){var _0x159db1=_0x27a976,_0x1c9f24;let _0x83ab9c=0x0;const _0x12d8d5=await((_0x1c9f24=this[_0x159db1(0x4ae)])==null?void 0x0:_0x1c9f24[_0x159db1(0x492)](_0x3c78cd));return _0x12d8d5&&(_0x12d8d5[_0x159db1(0x2fc)]||_0x12d8d5[_0x159db1(0x4b5)]['length']!==0x0)&&(_0x83ab9c=_0x12d8d5['rev']),_0x83ab9c===0x0&&this[_0x159db1(0x313)]['debug']('[DataLoaderService]',_0x159db1(0x228)),this[_0x159db1(0x2e3)]['loadSheet'](_0x3c78cd,_0x83ab9c);}async[_0x27a976(0x370)](_0x25d9f9){var _0x198b05=_0x27a976,_0x52b384;let _0x2548fa=0x0;const _0x45c028=await((_0x52b384=this[_0x198b05(0x4ae)])==null?void 0x0:_0x52b384[_0x198b05(0x492)](_0x25d9f9));return _0x45c028&&(_0x45c028['awaitingChangeset']||_0x45c028[_0x198b05(0x4b5)][_0x198b05(0x248)]!==0x0)&&(_0x2548fa=_0x45c028['rev']),_0x2548fa===0x0&&this[_0x198b05(0x313)][_0x198b05(0x44f)](_0x198b05(0x2b3),_0x198b05(0x228)),this[_0x198b05(0x2e3)][_0x198b05(0x1a3)](_0x25d9f9,_0x2548fa);}},_0x3152dc[_0x27a976(0x44c)]=_0x31b375([_0x93d00(0x0,_0x54f369[_0x27a976(0x191)]),_0x93d00(0x1,_0x54f369[_0x27a976(0x1df)](_0xe75784[_0x27a976(0x239)])),_0x93d00(0x2,_0x54f369[_0x27a976(0x39e)](_0x4696b6))],_0x3152dc[_0x27a976(0x44c)]);var _0x516538=Object[_0x27a976(0x42e)],_0x432be9=(_0x68816b,_0x22b1e6,_0x61b840,_0x5de891)=>{var _0x292e79=_0x27a976;for(var _0xb5252c=_0x5de891>0x1?void 0x0:_0x5de891?_0x516538(_0x22b1e6,_0x61b840):_0x22b1e6,_0x56d83f=_0x68816b[_0x292e79(0x248)]-0x1,_0x255c28;_0x56d83f>=0x0;_0x56d83f--)(_0x255c28=_0x68816b[_0x56d83f])&&(_0xb5252c=_0x255c28(_0xb5252c)||_0xb5252c);return _0xb5252c;},_0x2306e5=(_0x12cca2,_0x2d849f)=>(_0x308279,_0x3d9fa9)=>_0x2d849f(_0x308279,_0x3d9fa9,_0x12cca2);const _0x1d248d=[_0x27a976(0x373),_0x27a976(0x16b),_0x27a976(0x46b),_0x27a976(0x396),'image/bmp'],_0x115fe3=0x5*0x400*0x400,_0x2b566f='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x3ffbdd=_0x27a976(0x307),_0x424762=_0x27a976(0x39b),_0x6d1961=_0x27a976(0x3b0);_0x3152dc['CollaborationImageIoService']=class{constructor(_0x29f763,_0x413658,_0x54707e){var _0x21c61f=_0x27a976;_0x385492(this,_0x21c61f(0x487),0x0),_0x385492(this,'_change$',new _0x4bed42[(_0x21c61f(0x31e))]()),_0x385492(this,_0x21c61f(0x29d),this[_0x21c61f(0x22d)]),_0x385492(this,_0x21c61f(0x3ff),new Map()),(this[_0x21c61f(0x35f)]=_0x29f763,this[_0x21c61f(0x37e)]=_0x413658,this[_0x21c61f(0x259)]=_0x54707e);}[_0x27a976(0x1e8)](_0x2b6647){var _0x59fa67=_0x27a976;this[_0x59fa67(0x487)]=_0x2b6647,this[_0x59fa67(0x22d)][_0x59fa67(0x1a1)](_0x2b6647);}[_0x27a976(0x431)](_0x3e3283,_0x1bd783){var _0xa3108b=_0x27a976;if(_0x1bd783===_0x50671f[_0xa3108b(0x160)][_0xa3108b(0x13f)]){const _0x52c694=new Image();return _0x52c694[_0xa3108b(0x403)]=_0x3e3283,_0x52c694;}return this['_imageSourceCache'][_0xa3108b(0x187)](_0x3e3283);}[_0x27a976(0x1ba)](_0x8de053,_0x5fc5fd,_0x45d02f){var _0x1b6e8e=_0x27a976;_0x5fc5fd===_0x50671f[_0x1b6e8e(0x160)][_0x1b6e8e(0x13f)]||_0x45d02f==null||this[_0x1b6e8e(0x3ff)]['set'](_0x8de053,_0x45d02f);}async[_0x27a976(0x229)](_0x3d396c){var _0x2623c0=_0x27a976;try{const _0x438186=this[_0x2623c0(0x134)](this[_0x2623c0(0x3de)](),''+_0x3d396c),_0x3abf9e=(await this[_0x2623c0(0x35f)][_0x2623c0(0x187)](_0x438186))[_0x2623c0(0x207)];if(_0x3abf9e[_0x2623c0(0x3a9)]&&_0x3abf9e[_0x2623c0(0x3a9)][_0x2623c0(0x24e)]===_0x4e71ab['OK']){const _0x4685f2=new URL(_0x3abf9e[_0x2623c0(0x268)],this[_0x2623c0(0x21a)]())[_0x2623c0(0x271)]();return Promise[_0x2623c0(0x348)](_0x4685f2);}return Promise[_0x2623c0(0x2a5)](_0x3abf9e['error']);}catch(_0x2b580b){return Promise[_0x2623c0(0x2a5)](_0x2b580b);}}async['saveImage'](_0x3ca4a7){var _0x12d82c=_0x27a976;let _0x1af3b8='';if(!_0x1d248d[_0x12d82c(0x199)](_0x3ca4a7[_0x12d82c(0x337)]))return this['_decreaseWaiting'](),Promise[_0x12d82c(0x2a5)](new Error(_0x50671f[_0x12d82c(0x419)]['ERROR_IMAGE_TYPE']));if(_0x3ca4a7[_0x12d82c(0x304)]>_0x115fe3)return this['_decreaseWaiting'](),Promise[_0x12d82c(0x2a5)](new Error(_0x50671f['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x3c4b8b=new FormData();_0x3c4b8b[_0x12d82c(0x198)](_0x12d82c(0x1e5),_0x3ca4a7);const _0x382d69=this[_0x12d82c(0x259)]['getFocusedUnit'](),_0x1d1f04=_0x382d69==null?void 0x0:_0x382d69['getUnitId']();if(!_0x1d1f04)throw new Error(_0x12d82c(0x162));const _0x22f206=this[_0x12d82c(0x36f)]()+_0x12d82c(0x2ac)+_0x3ca4a7[_0x12d82c(0x304)][_0x12d82c(0x271)]()+_0x12d82c(0x21c)+_0x2d18cd[_0x12d82c(0x388)]+'&assign='+encodeURIComponent(_0x1d1f04),_0x538dca={'body':_0x3c4b8b},_0x4ae9d4=(await this['_httpService']['post'](_0x22f206,_0x538dca))[_0x12d82c(0x207)];if(typeof _0x4ae9d4['FileId']!=_0x12d82c(0x14c))return this[_0x12d82c(0x3fc)](),Promise['reject'](new Error(_0x50671f[_0x12d82c(0x419)]['ERROR_IMAGE']));_0x1af3b8=_0x4ae9d4[_0x12d82c(0x465)];}catch{return this[_0x12d82c(0x3fc)](),Promise[_0x12d82c(0x2a5)](new Error(_0x50671f[_0x12d82c(0x419)]['ERROR_IMAGE']));}return new Promise((_0x547d4c,_0x474ae4)=>{const _0x5d7ecf=new FileReader();_0x5d7ecf['readAsDataURL'](_0x3ca4a7),_0x5d7ecf['onload']=_0x434e16=>{var _0x567814=_0x4fc7,_0x340db9;const _0x4d407e=(_0x340db9=_0x434e16['target'])==null?void 0x0:_0x340db9[_0x567814(0x2d3)];if(_0x4d407e==null){this[_0x567814(0x3fc)](),_0x474ae4(new Error(_0x50671f[_0x567814(0x419)][_0x567814(0x3f7)]));return;}const _0x1ce9a=_0x54f369[_0x567814(0x46d)][_0x567814(0x201)](0x6);_0x547d4c({'imageId':_0x1ce9a,'imageSourceType':_0x50671f[_0x567814(0x160)][_0x567814(0x308)],'source':_0x1af3b8,'base64Cache':_0x4d407e,'status':_0x50671f[_0x567814(0x419)][_0x567814(0x322)]}),this[_0x567814(0x3fc)]();};});}[_0x27a976(0x36f)](){var _0x1474aa=_0x27a976,_0x279347,_0x4ea697;const _0x418562=this['_configService']['getConfig'](_0x2b566f),_0x1162a2=this[_0x1474aa(0x37e)]['getConfig'](_0x49f8e7);return(_0x4ea697=(_0x279347=_0x1162a2==null?void 0x0:_0x1162a2[_0x1474aa(0x1f0)])!=null?_0x279347:_0x418562)!=null?_0x4ea697:_0x3ffbdd;}[_0x27a976(0x3de)](){var _0x55eb0e=_0x27a976,_0x288db8,_0x2453a0;const _0x57311c=this[_0x55eb0e(0x37e)]['getConfig'](_0x424762),_0x210a8e=this[_0x55eb0e(0x37e)][_0x55eb0e(0x3a0)](_0x49f8e7);return(_0x2453a0=(_0x288db8=_0x210a8e==null?void 0x0:_0x210a8e[_0x55eb0e(0x47d)])!=null?_0x288db8:_0x57311c)!=null?_0x2453a0:_0x6d1961;}[_0x27a976(0x21a)](){var _0xe8e5f6=_0x27a976,_0x3bde5f;const _0x3492b4=this[_0xe8e5f6(0x37e)]['getConfig'](_0x49f8e7);return(_0x3bde5f=_0x3492b4==null?void 0x0:_0x3492b4[_0xe8e5f6(0x2d0)])!=null?_0x3bde5f:location[_0xe8e5f6(0x498)];}[_0x27a976(0x134)](_0x1f1d95,_0x2c8b1d){var _0x14bcd4=_0x27a976;return _0x1f1d95[_0x14bcd4(0x174)]('{fileID}',_0x2c8b1d);}[_0x27a976(0x3fc)](){var _0x19252c=_0x27a976;this[_0x19252c(0x487)]-=0x1,this['_change$']['next'](this[_0x19252c(0x487)]);}},_0x3152dc['CollaborationImageIoService']=_0x432be9([_0x2306e5(0x0,_0x54f369[_0x27a976(0x1df)](_0x5add2d[_0x27a976(0x194)])),_0x2306e5(0x1,_0x54f369['IConfigService']),_0x2306e5(0x2,_0x54f369['Inject'](_0x54f369[_0x27a976(0x192)]))],_0x3152dc['CollaborationImageIoService']);var _0x16e852=Object[_0x27a976(0x42e)],_0xa5955d=(_0x23c493,_0x422327,_0x343b89,_0x574f33)=>{var _0x2ae820=_0x27a976;for(var _0x494b61=_0x574f33>0x1?void 0x0:_0x574f33?_0x16e852(_0x422327,_0x343b89):_0x422327,_0x1c03c1=_0x23c493[_0x2ae820(0x248)]-0x1,_0x24e2bc;_0x1c03c1>=0x0;_0x1c03c1--)(_0x24e2bc=_0x23c493[_0x1c03c1])&&(_0x494b61=_0x24e2bc(_0x494b61)||_0x494b61);return _0x494b61;},_0x181ee9=(_0x345780,_0x3010c6)=>(_0x1acf34,_0x37024e)=>_0x3010c6(_0x1acf34,_0x37024e,_0x345780);const _0x5382f5='/universer-api/authz';_0x3152dc['MentionIoHttpService']=class{constructor(_0x491c6d,_0x16a946){var _0x5697cc=_0x27a976;this[_0x5697cc(0x37e)]=_0x491c6d,this[_0x5697cc(0x24b)]=_0x16a946;}[_0x27a976(0x265)](){var _0x5c0a6b=_0x27a976,_0x3a00ed,_0x502f73;const _0x12eff0=this[_0x5c0a6b(0x37e)][_0x5c0a6b(0x3a0)](_0x1f978d),_0x447b26=this['_configService'][_0x5c0a6b(0x3a0)](_0x49f8e7);return(_0x502f73=(_0x3a00ed=_0x447b26==null?void 0x0:_0x447b26[_0x5c0a6b(0x23b)])!=null?_0x3a00ed:_0x12eff0)!=null?_0x502f73:_0x5382f5;}async[_0x27a976(0x32c)](_0x37bf15){var _0x3f154c=_0x27a976;const _0x4a7434=this[_0x3f154c(0x265)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x3f154c(0x24b)][_0x3f154c(0x187)](_0x4a7434,{'params':{'objectID':_0x37bf15[_0x3f154c(0x1e2)],'unitID':_0x37bf15[_0x3f154c(0x1e2)]}}))[_0x3f154c(0x207)][_0x3f154c(0x374)][_0x3f154c(0x470)](_0xad2719=>({'objectId':_0xad2719['id'],'name':_0xad2719[_0x3f154c(0x2e8)][_0x3f154c(0x35d)],'metadata':{'icon':_0xad2719[_0x3f154c(0x2e8)][_0x3f154c(0x44b)]},'label':_0xad2719[_0x3f154c(0x2e8)]['name'],'objectType':_0x54f369[_0x3f154c(0x3a8)][_0x3f154c(0x338)]})),'metadata':{},'type':_0x54f369[_0x3f154c(0x3a8)][_0x3f154c(0x338)]}]};}},_0x3152dc[_0x27a976(0x315)]=_0xa5955d([_0x181ee9(0x0,_0x54f369[_0x27a976(0x1df)](_0x54f369['IConfigService'])),_0x181ee9(0x1,_0x54f369['Inject'](_0x5add2d[_0x27a976(0x194)]))],_0x3152dc['MentionIoHttpService']);var _0x4cce92=Object['getOwnPropertyDescriptor'],_0x231457=(_0x1d4efb,_0x190d07,_0x4e23a7,_0x29ce56)=>{var _0x13614a=_0x27a976;for(var _0x2a2c50=_0x29ce56>0x1?void 0x0:_0x29ce56?_0x4cce92(_0x190d07,_0x4e23a7):_0x190d07,_0x10e91f=_0x1d4efb[_0x13614a(0x248)]-0x1,_0x216736;_0x10e91f>=0x0;_0x10e91f--)(_0x216736=_0x1d4efb[_0x10e91f])&&(_0x2a2c50=_0x216736(_0x2a2c50)||_0x2a2c50);return _0x2a2c50;},_0x1a1799=(_0x508077,_0x4f8a79)=>(_0xb617c6,_0x48d2f1)=>_0x4f8a79(_0xb617c6,_0x48d2f1,_0x508077);let _0x20f996=class extends _0x54f369['RxDisposable']{constructor(_0x33d19c,_0x3fb2bc,_0x433350,_0x561d72,_0x32db5f){var _0x5b1160=_0x27a976;super(),this['_injector']=_0x33d19c,this[_0x5b1160(0x259)]=_0x3fb2bc,this[_0x5b1160(0x3da)]=_0x433350,this[_0x5b1160(0x3bb)]=_0x561d72,this[_0x5b1160(0x3f5)]=_0x32db5f,this[_0x5b1160(0x380)](),this[_0x5b1160(0x260)]();}[_0x27a976(0x260)](){var _0x5ade50=_0x27a976;const _0x265a4d=async _0x2fcc3f=>{var _0x44bd30=_0x4fc7;(await this['_collaborationSessionService'][_0x44bd30(0x2a6)](_0x2fcc3f))[_0x44bd30(0x1e4)][_0x44bd30(0x2ed)](_0x537885[_0x44bd30(0x386)](_0x4ba715=>_0x4ba715['eventID']===_0xe75784[_0x44bd30(0x16e)]['SHOULD_CLOSE_CONN']),_0x537885['takeUntil'](this[_0x44bd30(0x3af)]))['subscribe'](_0x4b5a25=>{var _0x532a90=_0x44bd30;const _0x44851f=_0x4b5a25,{reason:_0x5deb9f}=_0x44851f[_0x532a90(0x436)];this[_0x532a90(0x3f5)][_0x532a90(0x210)]({'id':_0x4203dd['CLOSE_ROOM'],'data':_0x5deb9f}),this[_0x532a90(0x3da)]['updatePermissionPoint'](new _0x2d25bd[(_0x532a90(0x30a))](_0x2fcc3f)['id'],!0x1),this[_0x532a90(0x3bb)][_0x532a90(0x42f)](_0x2fcc3f);});};_0x4bed42[_0x5ade50(0x18a)](this[_0x5ade50(0x259)][_0x5ade50(0x213)](_0x54f369[_0x5ade50(0x149)]['UNIVER_SHEET']),this[_0x5ade50(0x259)][_0x5ade50(0x213)](_0x54f369['UniverInstanceType'][_0x5ade50(0x2fd)]))['pipe'](_0x537885[_0x5ade50(0x470)](_0x1e205c=>_0x1e205c['getUnitId']()),_0x537885[_0x5ade50(0x386)](_0x16992f=>!_0x54f369[_0x5ade50(0x211)](_0x16992f)),_0x537885[_0x5ade50(0x20d)](this[_0x5ade50(0x3af)]))[_0x5ade50(0x369)](_0x486b26=>{_0x265a4d(_0x486b26);});}['_initUnitPermissionChange'](){var _0x534fdc=_0x27a976;const _0x162e12=async _0x47ea08=>{var _0x100c3d=_0x4fc7;const _0x281184=await this[_0x100c3d(0x3bb)][_0x100c3d(0x2a6)](_0x47ea08),_0x433b47=this['_injector'][_0x100c3d(0x187)](_0x2d25bd[_0x100c3d(0x224)]);_0x281184[_0x100c3d(0x1e4)][_0x100c3d(0x2ed)](_0x537885['filter'](_0x3e1d1a=>_0x3e1d1a['eventID']===_0xe75784[_0x100c3d(0x16e)][_0x100c3d(0x249)]),_0x537885['takeUntil'](this[_0x100c3d(0x3af)]))[_0x100c3d(0x369)](_0x4f84fa=>{const _0x4e9243=_0x4f84fa,{objectId:_0x15ae3d}=_0x4e9243['data'];_0x15ae3d===_0x47ea08?_0x433b47['initWorkbookPermissionChange'](_0x47ea08):_0x433b47['refreshPermission'](_0x47ea08,_0x15ae3d);});};_0x4bed42[_0x534fdc(0x18a)](this[_0x534fdc(0x259)][_0x534fdc(0x213)](_0x54f369[_0x534fdc(0x149)][_0x534fdc(0x3ed)]))[_0x534fdc(0x2ed)](_0x537885[_0x534fdc(0x470)](_0x19a239=>_0x19a239[_0x534fdc(0x468)]()),_0x537885['filter'](_0x53034d=>!_0x54f369[_0x534fdc(0x211)](_0x53034d)),_0x537885[_0x534fdc(0x20d)](this[_0x534fdc(0x3af)]))[_0x534fdc(0x369)](_0x2c3f2c=>{_0x162e12(_0x2c3f2c);});}};_0x20f996=_0x231457([_0x1a1799(0x0,_0x54f369[_0x27a976(0x1df)](_0x54f369[_0x27a976(0x357)])),_0x1a1799(0x1,_0x54f369[_0x27a976(0x192)]),_0x1a1799(0x2,_0x54f369[_0x27a976(0x240)]),_0x1a1799(0x3,_0x54f369[_0x27a976(0x1df)](_0x3152dc['CollaborationSessionService'])),_0x1a1799(0x4,_0x54f369[_0x27a976(0x1df)](_0x54b5c7))],_0x20f996);var _0x213d36=Object[_0x27a976(0x42e)],_0xf87b65=(_0x51b91f,_0x4eb94d,_0x69f984,_0x36f8eb)=>{var _0x26905b=_0x27a976;for(var _0x3b7288=_0x36f8eb>0x1?void 0x0:_0x36f8eb?_0x213d36(_0x4eb94d,_0x69f984):_0x4eb94d,_0x5a3a9d=_0x51b91f[_0x26905b(0x248)]-0x1,_0x129056;_0x5a3a9d>=0x0;_0x5a3a9d--)(_0x129056=_0x51b91f[_0x5a3a9d])&&(_0x3b7288=_0x129056(_0x3b7288)||_0x3b7288);return _0x3b7288;},_0x31f255=(_0x458811,_0x34eb94)=>(_0x244afa,_0x3ebc56)=>_0x34eb94(_0x244afa,_0x3ebc56,_0x458811);_0x3152dc[_0x27a976(0x33b)]=class{constructor(_0xc2cbba,_0x428797){var _0x4a5591=_0x27a976;this[_0x4a5591(0x37e)]=_0xc2cbba,this[_0x4a5591(0x35f)]=_0x428797;}async['getUnitOnRev'](_0x4b446e,_0x1ef690){var _0x45a6ac=_0x27a976,_0x4bf344;const {unitID:_0x6106a3,type:_0x45065c,revision:_0x582ed2=0x0}=_0x1ef690,_0x49141f=this[_0x45a6ac(0x20f)]()+'/'+_0x45065c+_0x45a6ac(0x3ea)+_0x6106a3+_0x45a6ac(0x298)+_0x582ed2,_0x2d8438=(await this[_0x45a6ac(0x35f)]['get'](_0x49141f))[_0x45a6ac(0x207)],_0x147ec4=(_0x4bf344=_0x2d8438['snapshot'])==null?void 0x0:_0x4bf344[_0x45a6ac(0x42b)];if(_0x147ec4){const _0x59931c=_0x147ec4==null?void 0x0:_0x147ec4[_0x45a6ac(0x495)],_0x3bafbc=_0xe75784[_0x45a6ac(0x1a2)][_0x45a6ac(0x1f7)](_0xe75784[_0x45a6ac(0x264)](_0x59931c));_0x147ec4[_0x45a6ac(0x495)]=_0x3bafbc,Object[_0x45a6ac(0x49f)](_0x147ec4['sheets'])[_0x45a6ac(0x258)](([,_0x1b33ad])=>{var _0x3afef4=_0x45a6ac;const _0x51e872=_0x1b33ad[_0x3afef4(0x495)],_0x209a78=_0xe75784[_0x3afef4(0x1a2)]['encode'](_0xe75784['b64DecodeUnicode'](_0x51e872));_0x1b33ad['originalMeta']=_0x209a78;});}return _0x2d8438;}async[_0x27a976(0x493)](_0x432fa4,_0x4a9319){var _0x49fb01=_0x27a976;const {unitID:_0x1732b8,type:_0x567544,blockID:_0x42800e}=_0x4a9319,_0x199533=this[_0x49fb01(0x30d)]()+'/'+_0x567544+_0x49fb01(0x3ea)+_0x1732b8+_0x49fb01(0x20e)+_0x42800e;return(await this[_0x49fb01(0x35f)][_0x49fb01(0x187)](_0x199533))[_0x49fb01(0x207)];}async['getDeserializedSheetBlock'](_0x144755,_0x43a31f){var _0x1b52fb=_0x27a976;const {unitID:_0x483cab,type:_0x1012e1,blockID:_0x389f0c}=_0x43a31f,_0x1a17d6=this[_0x1b52fb(0x30d)]()+'/block/'+_0x1012e1+_0x1b52fb(0x3ea)+_0x483cab+_0x1b52fb(0x20e)+_0x389f0c;return(await this[_0x1b52fb(0x35f)][_0x1b52fb(0x187)](_0x1a17d6))[_0x1b52fb(0x207)];}async[_0x27a976(0x317)](_0x1efb43,_0x29972f){var _0x38319a=_0x27a976;const {unitID:_0x5eb769,type:_0x3b06a5,from:_0x1186be,to:_0x43c775}=_0x29972f,_0x1f16b3=this['_getAPIPrefix']()+'/'+_0x3b06a5+_0x38319a(0x3ea)+_0x5eb769+_0x38319a(0x218)+_0x1186be+_0x38319a(0x276)+_0x43c775;return(await this[_0x38319a(0x35f)]['get'](_0x1f16b3))[_0x38319a(0x207)];}[_0x27a976(0x20f)](){var _0x346816=_0x27a976,_0x3462c0;return(_0x3462c0=this[_0x346816(0x37e)][_0x346816(0x3a0)](_0x38047e))!=null?_0x3462c0:this['_getAPIPrefix']();}[_0x27a976(0x30d)](){var _0x224ce4=_0x27a976,_0x1a132e,_0x1e3856;const _0x77043d=this[_0x224ce4(0x37e)][_0x224ce4(0x3a0)](_0x2a644a),_0xd6fe10=this[_0x224ce4(0x37e)][_0x224ce4(0x3a0)](_0x49f8e7);return(_0x1e3856=(_0x1a132e=_0xd6fe10==null?void 0x0:_0xd6fe10['snapshotServerUrl'])!=null?_0x1a132e:_0x77043d)!=null?_0x1e3856:_0x3ee362;}async[_0x27a976(0x16f)](_0x29017b,_0x184366){var _0x2c6edd=_0x27a976;const _0x2b92af=_0x2c6edd(0x158)+_0x184366[_0x2c6edd(0x337)]+_0x2c6edd(0x3ea)+_0x184366[_0x2c6edd(0x237)]+'/resources';return(await this['_httpService']['get'](_0x2b92af,{'params':{'resourceId':JSON[_0x2c6edd(0x472)](_0x184366[_0x2c6edd(0x41c)])}}))[_0x2c6edd(0x207)];}[_0x27a976(0x494)](){var _0x4a6dfa=_0x27a976;throw new Error(_0x4a6dfa(0x451));}[_0x27a976(0x347)](){var _0x11b1cf=_0x27a976;throw new Error(_0x11b1cf(0x451));}[_0x27a976(0x287)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x27a976(0x1b7)](){var _0x29911e=_0x27a976;throw new Error(_0x29911e(0x451));}[_0x27a976(0x1a7)](){var _0x591150=_0x27a976;throw new Error(_0x591150(0x451));}},_0x3152dc[_0x27a976(0x33b)]=_0xf87b65([_0x31f255(0x0,_0x54f369[_0x27a976(0x3e0)]),_0x31f255(0x1,_0x54f369[_0x27a976(0x1df)](_0x5add2d[_0x27a976(0x194)]))],_0x3152dc[_0x27a976(0x33b)]);var _0x234cf2=Object['getOwnPropertyDescriptor'],_0x37f15d=(_0x2df1da,_0x5b9527,_0x41b2c3,_0x4955a4)=>{var _0x4585aa=_0x27a976;for(var _0xb00283=_0x4955a4>0x1?void 0x0:_0x4955a4?_0x234cf2(_0x5b9527,_0x41b2c3):_0x5b9527,_0x11c5cd=_0x2df1da[_0x4585aa(0x248)]-0x1,_0x2bf111;_0x11c5cd>=0x0;_0x11c5cd--)(_0x2bf111=_0x2df1da[_0x11c5cd])&&(_0xb00283=_0x2bf111(_0xb00283)||_0xb00283);return _0xb00283;},_0xd65fd5=(_0x23e6b5,_0x3951c4)=>(_0x1ba720,_0x1da04e)=>_0x3951c4(_0x1ba720,_0x1da04e,_0x23e6b5);_0x3152dc[_0x27a976(0x164)]=class extends _0x54f369[_0x27a976(0x39a)]{constructor(_0x2b0f44,_0x1d15a1,_0x15fe4b,_0x574ca8,_0x30dc9d){var _0x4c7601=_0x27a976;super(_0x2b0f44,_0x1d15a1,_0x15fe4b),this[_0x4c7601(0x13e)]=_0x574ca8,this[_0x4c7601(0x313)]=_0x30dc9d;}[_0x27a976(0x4b3)](_0x79ef38,_0x4b3c4d){var _0x49d53e=_0x27a976;const _0xf04ec7=this[_0x49d53e(0x3e3)](_0x79ef38);if(_0xf04ec7)try{const _0xbacb8c=this['_transformStack'](_0xf04ec7,_0x4b3c4d);this[_0x49d53e(0x2ea)](_0x79ef38,_0xbacb8c);}catch(_0x295d2a){this[_0x49d53e(0x313)][_0x49d53e(0x3a9)](_0x49d53e(0x173),_0x295d2a),this['_clearUndo'](_0x79ef38);}const _0x2e2b5b=this[_0x49d53e(0x375)](_0x79ef38);if(_0x2e2b5b)try{const _0x3bd03e=this[_0x49d53e(0x42a)](_0x2e2b5b,_0x4b3c4d);this[_0x49d53e(0x435)](_0x79ef38,_0x3bd03e);}catch(_0x1dccf6){this['_logService'][_0x49d53e(0x3a9)](_0x1dccf6),this[_0x49d53e(0x22f)](_0x79ef38);}}[_0x27a976(0x43b)](_0x2564c2){var _0x55848e=_0x27a976;const _0x13e6c1=this[_0x55848e(0x3e3)](_0x2564c2);_0x13e6c1&&(_0x13e6c1['length']=0x0,this['_updateStatus']());}[_0x27a976(0x22f)](_0x4608d9){var _0x5492ac=_0x27a976;const _0x3b4161=this[_0x5492ac(0x375)](_0x4608d9);_0x3b4161&&(_0x3b4161[_0x5492ac(0x248)]=0x0,this[_0x5492ac(0x1a5)]());}[_0x27a976(0x2ea)](_0xc9c7c3,_0x119ba8){var _0x11d84f=_0x27a976;this[_0x11d84f(0x3e1)][_0x11d84f(0x234)](_0xc9c7c3,_0x119ba8),this[_0x11d84f(0x1a5)]();}[_0x27a976(0x435)](_0x296a3a,_0x106685){var _0x8651ea=_0x27a976;this[_0x8651ea(0x3ab)]['set'](_0x296a3a,_0x106685),this[_0x8651ea(0x1a5)]();}[_0x27a976(0x42a)](_0x34c7fe,_0x4f7ad8){var _0x96c78=_0x27a976;const _0x35fc08=[];let _0x508cc8=_0x4f7ad8,_0x147c0e=_0x4f7ad8;for(let _0x1cc8a5=_0x34c7fe[_0x96c78(0x248)]-0x1;_0x1cc8a5>=0x0;_0x1cc8a5--){const {unitID:_0x402915,undoMutations:_0x16cfd1,redoMutations:_0x4e075f}=_0x34c7fe[_0x1cc8a5],_0x87cbc7=this[_0x96c78(0x13e)][_0x96c78(0x1d6)](_0x508cc8,_0x16cfd1),_0x39293c=this['_transformService']['transformMutationsWithChangeset'](_0x147c0e,_0x4e075f);if(_0xe75784['isTransformMutationsWithChangesetFailure'](_0x87cbc7)||_0xe75784[_0x96c78(0x22b)](_0x39293c)){this[_0x96c78(0x313)][_0x96c78(0x3a9)](_0x96c78(0x173),_0x96c78(0x269),_0x87cbc7,_0x39293c);break;}_0x508cc8=_0x87cbc7[_0x96c78(0x1c8)],_0x147c0e=_0x39293c[_0x96c78(0x1c8)],_0x35fc08[_0x96c78(0x46c)]({'unitID':_0x402915,'undoMutations':_0x87cbc7['m2Prime'],'redoMutations':_0x39293c[_0x96c78(0x3e6)]});}return _0x35fc08[_0x96c78(0x37b)]();}},_0x3152dc[_0x27a976(0x164)]=_0x37f15d([_0xd65fd5(0x0,_0x54f369[_0x27a976(0x192)]),_0xd65fd5(0x1,_0x54f369[_0x27a976(0x16a)]),_0xd65fd5(0x2,_0x54f369[_0x27a976(0x2a9)]),_0xd65fd5(0x3,_0xe75784[_0x27a976(0x2b2)]),_0xd65fd5(0x4,_0x54f369[_0x27a976(0x191)])],_0x3152dc['CollaborativeUndoRedoService']);var _0x2bf19f=Object[_0x27a976(0x170)],_0x5c2972=Object[_0x27a976(0x42e)],_0x9b5497=(_0x4eb5e2,_0x59bc24,_0x1c75b8)=>_0x59bc24 in _0x4eb5e2?_0x2bf19f(_0x4eb5e2,_0x59bc24,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c75b8}):_0x4eb5e2[_0x59bc24]=_0x1c75b8,_0x2c0fda=(_0x34ace3,_0x54c4a8,_0x2eda98,_0xea3a1e)=>{var _0x476686=_0x27a976;for(var _0xfa4bd1=_0xea3a1e>0x1?void 0x0:_0xea3a1e?_0x5c2972(_0x54c4a8,_0x2eda98):_0x54c4a8,_0x282d63=_0x34ace3[_0x476686(0x248)]-0x1,_0x39f27f;_0x282d63>=0x0;_0x282d63--)(_0x39f27f=_0x34ace3[_0x282d63])&&(_0xfa4bd1=_0x39f27f(_0xfa4bd1)||_0xfa4bd1);return _0xfa4bd1;},_0x153638=(_0x372eee,_0x32574f)=>(_0x537639,_0x46f42e)=>_0x32574f(_0x537639,_0x46f42e,_0x372eee),_0x557bc6=(_0x2f50d6,_0x4f67aa,_0x102e3f)=>_0x9b5497(_0x2f50d6,_0x4f67aa+'',_0x102e3f);const _0x5a6862=_0x27a976(0x35e);_0x3152dc['UniverCollaborationClientPlugin']=class extends _0x54f369['Plugin']{constructor(_0x4c5a06,_0x292ead,_0x5bdeb7,_0x5e6d26){var _0x2b267c=_0x27a976;super(),_0x385492(this,_0x2b267c(0x404)),(this[_0x2b267c(0x313)]=_0x292ead,this['_injector']=_0x5bdeb7,this['_configService']=_0x5e6d26);const {..._0x5604ae}=_0x54f369['merge']({},_0x12e75f,_0x4c5a06);if(!_0x5604ae['socketService'])throw new Error(_0x2b267c(0x2c4));this['_config']=_0x5604ae,this[_0x2b267c(0x37e)][_0x2b267c(0x2ff)](_0x49f8e7,_0x5604ae);}[_0x27a976(0x14f)](){var _0x2feec0=_0x27a976;this[_0x2feec0(0x349)](),this['_initDependencies']();}[_0x27a976(0x349)](){var _0x3a0392=_0x27a976,_0x43f1b1,_0x21f727;this[_0x3a0392(0x3b2)][_0x3a0392(0x280)](_0x54f369[_0x3a0392(0x2dc)])&&this[_0x3a0392(0x313)][_0x3a0392(0x3a9)](_0x3a0392(0x484),_0x3a0392(0x1db));const _0x1e9e80=_0x54f369[_0x3a0392(0x40c)]([[_0x54f369[_0x3a0392(0x2dc)],{'useClass':_0x3152dc[_0x3a0392(0x164)]}],[_0x3152dc[_0x3a0392(0x1d1)]],[_0x3152dc[_0x3a0392(0x429)]],[_0x3152dc[_0x3a0392(0x35c)]],[_0x3463e9],[_0x4caf88],[_0x1b36af],[_0x20f996],[_0x54b5c7],[_0x3152dc[_0x3a0392(0x44c)]],[_0x53d58a,{'useClass':this[_0x3a0392(0x404)][_0x3a0392(0x131)]}],[_0xe75784['ISnapshotServerService'],{'useClass':_0x3152dc[_0x3a0392(0x33b)]}],[_0x54f369[_0x3a0392(0x153)],{'useClass':_0x3152dc[_0x3a0392(0x3b5)]}],[_0x50671f[_0x3a0392(0x3a6)],{'useClass':_0x3152dc[_0x3a0392(0x367)]}],[_0x54f369['IMentionIOService'],{'useClass':_0x3152dc[_0x3a0392(0x315)]}],[_0x3152dc[_0x3a0392(0x3fd)]],[_0x3f24b9]],(_0x43f1b1=this[_0x3a0392(0x404)])==null?void 0x0:_0x43f1b1[_0x3a0392(0x446)]);if(!((_0x21f727=this[_0x3a0392(0x404)])!=null&&_0x21f727[_0x3a0392(0x1e7)])){const _0x1c825d=_0x1e9e80[_0x3a0392(0x156)](([_0x3eb75d])=>_0x3eb75d===_0x583b72);_0x1c825d!==-0x1&&_0x1e9e80[_0x3a0392(0x37a)](_0x1c825d,0x1);}_0x54f369[_0x3a0392(0x27e)](this['_injector'],_0x1e9e80);}['_initDependencies'](){var _0x9f72d9=_0x27a976,_0x80d7f2,_0x305df7,_0x529b57;this[_0x9f72d9(0x3b2)]['get'](_0x5add2d['HTTPService'])[_0x9f72d9(0x294)]({'priority':0x14,'interceptor':_0x5add2d[_0x9f72d9(0x25c)]({'maxParallel':0x6})}),(_0x80d7f2=this['_config'])!=null&&_0x80d7f2['enableOfflineEditing']||(_0x305df7=this['_injector']['get'](_0x4696b6,_0x54f369[_0x9f72d9(0x2a2)]['OPTIONAL']))==null||_0x305df7[_0x9f72d9(0x183)](),(_0x529b57=this['_config'])!=null&&_0x529b57['enableAuthServer']&&_0x54f369[_0x9f72d9(0x4b0)](this[_0x9f72d9(0x3b2)],[[_0x3463e9]]),_0x54f369[_0x9f72d9(0x4b0)](this[_0x9f72d9(0x3b2)],[[_0x4caf88],[_0x3152dc['CollaborationController']],[_0x20f996]]);}},_0x557bc6(_0x3152dc[_0x27a976(0x3d8)],_0x27a976(0x335),_0x5a6862),_0x3152dc['UniverCollaborationClientPlugin']=_0x2c0fda([_0x54f369[_0x27a976(0x355)](_0xe75784[_0x27a976(0x47f)],_0x5add2d[_0x27a976(0x147)]),_0x153638(0x1,_0x54f369[_0x27a976(0x191)]),_0x153638(0x2,_0x54f369['Inject'](_0x54f369[_0x27a976(0x357)])),_0x153638(0x3,_0x54f369[_0x27a976(0x3e0)])],_0x3152dc[_0x27a976(0x3d8)]),_0x3152dc['AUTHZ_URL_KEY']=_0x1f978d,_0x3152dc[_0x27a976(0x3bc)]=_0x49f8e7,_0x3152dc[_0x27a976(0x3e7)]=_0x20bc26,_0x3152dc[_0x27a976(0x137)]=_0x4ec758,_0x3152dc[_0x27a976(0x36a)]=_0x576177,_0x3152dc['CollaborationUIEventId']=_0x4203dd,_0x3152dc[_0x27a976(0x2ba)]=_0x54b5c7,_0x3152dc[_0x27a976(0x43a)]=_0x1b36af,_0x3152dc[_0x27a976(0x286)]=_0x36b2d3,_0x3152dc[_0x27a976(0x18e)]=_0x288222,_0x3152dc[_0x27a976(0x267)]=_0x4b2e58,_0x3152dc[_0x27a976(0x155)]=_0x44099,_0x3152dc[_0x27a976(0x3db)]=_0x1eee79,_0x3152dc[_0x27a976(0x12e)]=_0x53d58a,_0x3152dc['ILocalCacheService']=_0x4696b6,_0x3152dc[_0x27a976(0x28e)]=_0x1c95d1,_0x3152dc[_0x27a976(0x38f)]=_0x583b72,_0x3152dc[_0x27a976(0x48d)]=0x3e8,_0x3152dc[_0x27a976(0x250)]=_0x319b1b,_0x3152dc[_0x27a976(0x2e9)]=_0x3f92cf,_0x3152dc['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0xa1a3e8,_0x3152dc[_0x27a976(0x43e)]=_0x411e82,_0x3152dc[_0x27a976(0x1ec)]=_0x2b35b3,_0x3152dc[_0x27a976(0x330)]=_0x2a644a,_0x3152dc['SNAPSHOT_URL_KEY']=_0x38047e,_0x3152dc[_0x27a976(0x263)]=_0x3e8228,_0x3152dc[_0x27a976(0x41e)]=_0x3480e0,_0x3152dc['deserializeToCombResponse']=_0xabb636,_0x3152dc[_0x27a976(0x41b)]=_0x31c4e9,_0x3152dc[_0x27a976(0x48e)]=_0x42f940,Object[_0x27a976(0x170)](_0x3152dc,Symbol[_0x27a976(0x1b8)],{'value':_0x27a976(0x4b1)});}));
|
1
|
+
function _0xaf58(_0x54914a,_0x3a3d27){var _0x4d00a2=_0x4d00();return _0xaf58=function(_0xaf589b,_0x4a9fb5){_0xaf589b=_0xaf589b-0x141;var _0x3049ce=_0x4d00a2[_0xaf589b];return _0x3049ce;},_0xaf58(_0x54914a,_0x3a3d27);}function _0x4d00(){var _0x3c2fcb=['DataLoaderService','_timeoutTimer','_unitInfo$','UNIVER_COLLABORATION_CLIENT_PLUGIN','UniverInstanceType','hasher','_createSocket','\x20in\x20_schedule.','init','[CollaborationState]:\x20apply\x20error!','[DataLoaderService]','_process','JOIN','_onRemoteRejected','shareReplay','_members','putCollaborators','CollaborationSessionService','IUniverInstanceService','_instanceService','b64DecodeUnicode','toString','awaiting_with_pending','fetch_missing','symbol','IAuthzIoService','DocCollaborationEntity','UserProfileImg','_entities','send','subscribe','url','liveShareNewHost','delay','CollaborationSession','snapshot','AwaitingWithPendingState','_clearScheduledTask','reconnect','isTransformMutationsWithChangesetSuccess','Disposable','HEARTBEAT_INTERVAL','getOwnPropertyDescriptor','onRemoteAck','_onOffline','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','@univerjs/drawing','People','_syncEditingCollabCursor','AuthzIoHttpService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','mutations','BASE64','OfflineState','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','type','onTransformState','userID','keySize','/object','collabSubmitChangesetUrl','image/jpg','_replaceFileID','_scheduleCompleteTimestamp','title','_onLocalMutation','onCommandExecuted','SheetPermissionInitController','_clearHeartbeatTimer','RETRY_CONNECTING_MAX_COUNT','INVALID_INVITE_CODE','requireSession','256OQTQoo','signUrlServerUrl','fetchMiss','getImageSourceCache','BufferedBlockAlgorithm','APPLY_REVISION_CONFILICT','add','_startCollaboration','DisposableCollection','getSheetBlock','_collaborationUIEventService','APPLY_PERMISSION_DENIED','conflict','_iKey','AWAITING','/universer-api/stream/file/upload','patch','getCurrentUser','pending','_HTTPService','_onConnectionOpen','createSocket','OTHER_CLIENTS_EDITING','DEFAULT_FILE_NAME','_onConflict','_onRemoteChangeset','_decreaseWaiting','_memberService','TOO_MANY_REQUESTS','_transformRemoteChangesetByStateCache','/fetchmissing?from=','localeService','message$','next','JOINING','error$','NoPadding','resend','updatePermissionPoint','_doCreateSocket','JSONX','ONLINE','FileId','1967uTwntc','_cipher','_waitCount','ceil','status$','localCacheService','_doCryptBlock','onRemoteRetry','sin','/role','objectActions','onTransformRemoteChangesetByIMECache','_transformIMECache','PERSON','CHANGESET_SHOULD_RETRY','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','encode','LocalUndoRedoService','SheetsSelectionsService','textEncoder','_transformStateCache','RichTextEditingMutation','not_collab','_applyRemoteChangeset','ALREADY_EXISTS','784689CJyhrK','_disableEditing','updateSnapshot','_throwTelemetryCollaborationNewChangeset','sessionStatus','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','merge','sid','WorkbookEditablePermission','_listenToNetworkCondition','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','action','_initUnitPermissionChange','csRejEvent','OTHER_CLIENT_EDITING','compute','_transformService','_transformSelections','BlockCipher','_sheetTransformSelectionsService','_append','setShowComponents','_createInitialStateImpl','deserializeToCombResponse','status','1140714NNeNfA','onRemoteChangeset','getLocalCacheKey','find','listCollaborators','isTransformChangesetsSuccess','getCurrentRevOfUnit','EvpKDF','append','CollaborationController','getInterceptPoints','session.room-full','call','USERS_ENTER','debug','toggleOffline','YUUMI_AI_RUN_FAILED','routeKey','HmacMD5','_xformMode','COLLAB_WEB_SOCKET_URL','_joinRoom','map','__Key__','_sendHeartbeatTimer','session.room-permission-denied','RevisionService','_checkMissing','[PendingState]:\x20received\x20rejection.','[SyncedState]:\x20received\x20acknowledgement.','state','_sender','name','_eventService','_initRequestHeader','code','&to=','_clearRetryConnectingTimer','[CollaborationEntity]','SerializableCipher','UniverProCollaborationClient','length','univer-pro.collaboration-client.single-active-unit-service','unitInfo$','_removeRoom','getUnitType','removeMember','updateCollaborator','_doReset','UNIVER_PROJECT','5dndBtu','executeCommand','unitID','update','Latin1','cmd','_members$','HTTPService','CommandType','formatter','ivSize','connection\x20error','max','_undoRedoService','hasOwnProperty','awaiting','LIVESHARE_NEW_HOST','_handler','PY_RUNTIME_SCRIPT_ERROR','loadUnitOfRevision','getResourcesRequest','SNAPSHOT_HAS_BEEN_REMOVED','CHANGESET_REJ','decryptBlock','ICollaborationSocketService','UniverDrawing','185280HUlEnA','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','Base','ImageUploadStatusType','_schedule','ImageSourceType','transformMutationsWithChangeset','WordArray','HttpExport','onSyncEditingCollabCursor','getValue','UniverTelemetry','reverse','href','CollaborationImageIoService','toDisposable','findIndex','_univerInstanceService','exports','MD5','onCommentUpdate','roles','__esModule','EMAIL_HAS_BEEN_BOUND','resourceIDs','location','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','UPDATE_CURSOR','rev','Error\x20on\x20receiving\x20event','delete','setConfig','_getLoginPath','_registerDependencies','onRemoteRej','change$','/universer-api/uniscript','_prevBlock','_sessionStatus$','HEARTBEAT_TIMEOUT','_onRemoteACK','onlyLocal','LOGIN_FAILED','_userManagerService','telemetry\x20info\x20is\x20not\x20initialized','function','default','concat','LEAVE','NOT_FOUND','rxjs/operators','result','IContextService','USER_NOT_INVITED_CODE','RECV','YUUMI_URL_COL_OUT_OF_RANGE','Could\x20not\x20dynamically\x20require\x20\x22','clone','SnapshotServerOverHTTPService','CipherParams','{fileID}','crypto','isArray','\x0aAfter:\x20','LICENSE_DISTRO_REJECTED','SNAPSHOT_SERVER_URL_KEY','_onCombEvent','Base64','LOGIN_URL_KEY','padding','onTransformRemoteChangesetByStateCache','APPLY_DUPLICATED','CONNECTOR_DATA_TOO_LARGE','Cipher','_replayCachedMutations','encodeURIComponent','_undoStacks','UnitSnapshot','parseProtocolChangeset','createDecryptor','FetchingMissState','AwaitingState','2253124MkOpLg','_iv','disposeWithMe','put','_map','_onUserLeave','liveShareOperation','UNRECOGNIZED','loginUrlKey','m2Prime','LICENSE_IMPORT_SIZE_EXCEEDED','focused$','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','post','awaitingChangeset','_event$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_initMergeInterceptor','LIVESHARE_REQUEST_HOST','HELLO','_sendHeartbeat','Utf8','UNDEFINED','object','createInstance','_queuedRemoteChangesets','_collabSessionService','finalize','transformSelections','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','save\x20fail\x20reason\x20is\x20','disableLocalCache','?url=','format','image/bmp','_DEC_XFORM_MODE','_keyPriorReset','_candidateSocket','buffer','_socketMessageSubscription','authzUrl','_createInitialState','ReplaySubject','_configService','includes','[CollaborationUndoRedoService]','_permissionService','image/jpeg','_updateLocalCache','Tools','Hex','algo','_onConnectionFailed','enableSingleActiveInstanceLock','Subject','UniverNetworkPlugin','_startTelemetryCollaborationNewChangeset','_collaborationPaused','collaboration-client.local-cache-service','generateRandomId','_roomMembers','infoRsp','withCredentials','Module','createEncryptor','ws://127.0.0.1:8000/universer-api/comb/connect','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_snapshotService','csAckEvent','922330qFNpds','_sendingTimer','sendChangesetTimeout','_submitChangeset','ciphertext','c2Prime','_clearLocalCache','ILocalCacheService','sessionStatus$','Malformed\x20UTF-8\x20data','_singleActiveUnitService','onStarting','every','LIVESHARE_FETCH_OPERATIONS','has','IConfigService','_localCacheService','univer-pro.collaboration-client-socket-service','reject','c1Prime','resolve','_networkConditionService','_collaborationSessionService','_createHelper','@univerjs-pro/license','_reverseMap','_getAPIPrefix','Workbook','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','onLocalMutation','params','onSendChangeset','dispose$','commentUpdateEvent','stopTime','filter','charCodeAt','_unlockTransition','CHANGESET_ACK','CollaborationEvent','prototype','/block/','ENSURE_SNAPSHOT_EXECUTION','unitId\x20is\x20not\x20found','getActiveSheet','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','create','INVITE_CODE_HAS_BEEN_UES','_socketReady','getCollabEntity$','reset','[PendingState]:\x20received\x20acknowledgement.','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','enableOfflineEditing','getWorkbookSelections','data','DependentOn','IPermissionService','words','blockSize','open$','Rectangle','_imageSourceCache','getSnapshotAPIPath','PSEUDO_FETCH_MISSING_RESULT','unit-cache-','HmacSHA1','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','FAIL','_telemetryService','UniverCore','mode','_getRedoStack','[SyncedState]:\x20received\x20rejection.','_shouldReportTelemetry','batchAllowed','SNAPSHOT_URL_KEY','@univerjs/docs','SyncedState','revision','UnitStatus','entries','commentUpdate$','onMissedChangesetFetched','_socketService','abs','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_ENC_XFORM_MODE','unitId','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','onTransformSelections','getTypeOfUnitDisposed$','_getSignURL','mixIn','SheetTransformSelectionsService','Failed\x20to\x20update\x20permission\x20point','/rev/','_showConflictNotification','_incrementRevisionNumber','_data','random','_commentUpdate$','downloadEndpointUrl','csShouldRetryEvent','_getSendChangesetTimeout','_isPermissionRej','failed\x20to\x20apply\x20missed\x20changesets!','getCurrentSelections','closeSession','_socket$','UnitEmbedded','join','updateOfflineData','COMPRESS_MUTATION_APPLY','enableCollaboration','PERMISSION_DENIED','SUBMIT_CHANGESET','getMemberID','RETRY_CONNECTING_MAX_COUNT_KEY','_getDownloadEndpointURL','_createHandler','?size=','Undefined','touchDependencies','/-/object/-/batch_allowed','ILogService','AUTHZ_URL_KEY','COLLAB_SUBMIT_CHANGESET_URL_KEY','extend','UNKNOWN_CMD','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','IMentionIOService','objectType','headers','MergeInterceptorFactory','forEach','execute','INTERNAL_ERROR','_state$','UniverNetwork','SOCKET_FAILED_RETRY','[OfflineState]:\x20received\x20changeset.','loadSheet','ConflictState','YUUMI_NO_CUBOID_FOR_QUESTION','changesets','list','MemberService','_nDataBytes','collaborators','close','startTime','YUUMI_RATE_OVER_LIMIT','INVITE_CODE_ALREADY_BOUND','offline','_commandService','startsWith','_roomCreated$','_injector','Pkcs7','range','baseRev','_toggleOffline','uploadFileServerUrl','socket\x20close','now','enc','COMMENT_UPDATE','_resendWithTimeout','Quantity','dispose','_clearRedo','YUUMI_ASYNCIO_CANCELLED','/object/','transformUndoRedo','InsertSheetMutation','enableAuthServer','MUTATION','IUndoRedoService','EmptyMutation','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','GLOBAL_ROOMS_CNT_EXCEEDS','_acknowledgedAwaitingChangeset','toStringTag','_oKey','INVALID_ARGUMENT','/collaborator','getUnit','_awaitingChangeset','ITransformService','2WhYKbE','/new_changes','stringify','push','_substituteUndoStack','Encryptor','ERROR_EXCEED_SIZE','RxDisposable','USERS_LEAVE','isPermissionRej','APPLY_NON_SEQUENTIAL_REVISION','defineProperty','readInt32LE','_rescheduleHeartbeat','CollaborativeUndoRedoService','_transformRemoteChangesetByIMECache','UNAUTHENTICATED','getRoom','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Optional','incrementRevOfUnit','get','clamp','session','takeUntil','[CollaborationSession]','[OfflineState]:\x20received\x20acknowledgement.','_onMessage','531040gHNiQC','values','apply','pipe','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','eventID','floor','_transitionLocked','_executeRemoteChangeset','catch','_httpService','_handlerCallback','uuidv4','_doProcessBlock','_pendingMutations','take','charAt','_transformUndoredo','HEARTBEAT_TIMEOUT_KEY','_updateState','UniverProCollaboration','compose','LOCAL_CACHE_INTERVAL','&assign=','file','_onRemoteRetry','_init','saveSheetBlock','/universer-api/comb','fromCollab','_resendTimeout','_substituteRedoStack','encrypt','LIVESHARE_OPERATION','_unitID','origin','splice','UniverDocs','&source=','/universer-api/authz','_revisionService','_socket','_telemetryInfo','_retryConnectingTimer','members$','fetching\x20missing\x20changesets\x20from\x20','randomBytes','\x20-\x20','collaMsg','retryConnectingInterval','clear','SheetCollaborationEntity','CLOSE_ROOM','toggleOnline','_exhaustRemoteChangesetQueue','Univer','setCurrentUser','SOCKET_FAILED','_key','_changesetSessionId','pauseCollaboration','UniverCollaborationPlugin','_onUserJoin','_onFetchMissResult','MOBILE_HAS_BEEN_BOUND','_collaborationTimeoutTimer','_getCurrentRevision','/universer-api/snapshot/','Decryptor','CompressMutationService','_minBufferSize','waitForRoom$','processBlock','NOT_COLLAB','memberID','complete','_stopTelemetryCollaborationNewChangeset','amd','SHOULD_CLOSE_CONN','selections','loadOfflineData','ISnapshotServerService','firstValueFrom','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','session.join-failed','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','MSG_FOR_ERROR','transformChangesets','onload','set','[CollaborationSessionService]','[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.','_waitForHeartbeatResponse','kdf','unpad','/unit/','EXCHANGE_SIGN_URL_SERVER_URL_KEY','pad','_getUndoStack','submit\x20changeset\x20error!','body','requestParams','_toggleOnline','unsubscribe','getGlobalObject','key','_retryCount','createCollaborator','_snapshotServerService','pluginName','LOCAL_CACHE_INTERVAL_KEY','originalMeta','_mode','emitEvent','slice','Plugin','fetchMissingChangesets','YUUMI_ALL_TABLES_IS_INVALID','PasswordBasedCipher','/universer-api/snapshot','IDLE','getConfig','AES','avatar','LIVESHARE_TERMINATE','isInternalEditorID','_hash','loadUnit','/universer-api/user/session-ticket','PendingState','deepClone','/allowed','_transformStack','_commentService','parseChangesetToProtocol','getDeserializedSheetBlock','/-/object/list','deleteCollaborator','_hasher','responseType','_clearCollaborationTimeoutTimer','x-univer-host','leaveEvent','getTypeOfUnitAdded$','getCollabEntity','INetworkConditionService','parse','HMAC','_onRecvEvent','image/gif','BlockCipherMode','@univerjs/core','NO_OTHER_CLIENTS_EDITING','rxjs','_getUploadFileURL','SUBMIT_CHANGESET_TIMEOUT','saveChangeset','close$','repeat','confirm','isTransformMutationsWithChangesetFailure','_config','UNIVER_SLIDE','listRoles','_remoteChangesetQueue','_tryEnsureSocket','Injector','@univerjs/telemetry','UUID','fetchThroughInterceptors','_clearTimeoutTimer','shouldCloseConn','_compressMutationService','Hasher','encryptBlock','collaboration_new_changeset','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_lockTransition','SEND_CHANGESET_TIMEOUT_KEY','appendMutation','JOIN_ROOM_NOT_EXISTS','_tryReconnect','members','COLLAB_WEB_SOCKET_URL_KEY','error','getUnitId','_nRounds','getRandomValues','_sessions','unknown','method','salt','subject','COMPLETION_FINISHED','snapshotServerUrl','asObservable','Inject','_onJoinRoomEvent','ICommandService','CollaborationEntity','CollaborationSocketService','_resendTimer','_keySchedule','sigBytes','UNKNOWN_CODE','auth.needGotoLoginAlert','UPDATE_PERMISSION_OBJ','OPTIONAL','ISingleActiveUnitService','INVITE_CODE_REQUIRED','saveSnapshot','socket\x20open.','UNIVER_UNKNOWN','interceptor','COLLAB_SUBMIT_CHANGESET_URL','byteLength','getAllMembers','SHA1','_entityInit$','objects','setWaitCount','_clearUndo','UNIVER_SHEET','APPLY_REJECT','mapDocumentTypeToUniverType','_parse','AWAITING_WITH_PENDING','CHANGESET_REVISION_CONFILICT','SNAPSHOT_INVALID_SNAPSHOT','capture','_scheduleCollaborationTimeoutTimer','OpenSSL','actions','registerHTTPInterceptor','permissionRejEvent','ERROR_IMAGE_TYPE','image/png','copyFileMeta','@univerjs/network','CommentService','size','fromCharCode','INGEST','reqId','updatePermissionObjEvent','BehaviorSubject','cfg','objectID','lib','JOIN_ROOM_PERMISSION_DENIED','onTransformIME','getMember','createIdentifier','POST','PERMISSION_REJ','_invKeySchedule','transformStack\x20failed!','reduce','_change$','FETCH_MISSING','_state','event$','_localeService','updateMember','msCrypto','loadDoc','JOIN_ROOM_FULL','UniverProLicense','string','_updateStatus','initWorkbookPermissionChange','_doFinalize','updateCursorEvent','getUnitStatus$','collaboratorID','UNIVER_DOC','HEARTBEAT','COMPRESS_MUTATION_SEND','UniverCollaborationClientPlugin','getTime','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_changesetReqId','_getAPIPrefixPath','OFFLINE','ERROR_IMAGE','_status$','ThresholdInterceptorFactory','CONFLICT','SetSelectionsOperation','_logService','ITelemetryService','MentionType','sequenceExecute','_initDependencies','decrypt','LocaleService','JOIN_ROOM_FAILED','_type','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','$super'];_0x4d00=function(){return _0x3c2fcb;};return _0x4d00();}(function(_0x539499,_0xc4827d){var _0x1108ed=_0xaf58,_0xef93fd=_0x539499();while(!![]){try{var _0x35b2ac=parseInt(_0x1108ed(0x1bd))/0x1+parseInt(_0x1108ed(0x1a1))/0x2*(-parseInt(_0x1108ed(0x375))/0x3)+-parseInt(_0x1108ed(0x42c))/0x4*(-parseInt(_0x1108ed(0x3c0))/0x5)+-parseInt(_0x1108ed(0x3da))/0x6+parseInt(_0x1108ed(0x35c))/0x7*(parseInt(_0x1108ed(0x331))/0x8)+-parseInt(_0x1108ed(0x38e))/0x9+-parseInt(_0x1108ed(0x471))/0xa;if(_0x35b2ac===_0xc4827d)break;else _0xef93fd['push'](_0xef93fd['shift']());}catch(_0x59b46c){_0xef93fd['push'](_0xef93fd['shift']());}}}(_0x4d00,0x90813),function(_0x4bb6c1,_0x3a97d6){var _0x5c444f=_0xaf58;typeof exports==_0x5c444f(0x443)&&typeof module<'u'?_0x3a97d6(exports,require(_0x5c444f(0x254)),require(_0x5c444f(0x256)),require(_0x5c444f(0x40c)),require('@univerjs-pro/collaboration'),require(_0x5c444f(0x2ab)),require(_0x5c444f(0x264)),require(_0x5c444f(0x4be)),require('@univerjs/sheets'),require(_0x5c444f(0x317)),require(_0x5c444f(0x489))):typeof define=='function'&&define[_0x5c444f(0x20a)]?define(['exports','@univerjs/core',_0x5c444f(0x256),_0x5c444f(0x40c),'@univerjs-pro/collaboration',_0x5c444f(0x2ab),'@univerjs/telemetry','@univerjs/docs','@univerjs/sheets',_0x5c444f(0x317),_0x5c444f(0x489)],_0x3a97d6):(_0x4bb6c1=typeof globalThis<'u'?globalThis:_0x4bb6c1||self,_0x3a97d6(_0x4bb6c1[_0x5c444f(0x3b6)]={},_0x4bb6c1[_0x5c444f(0x4b7)],_0x4bb6c1[_0x5c444f(0x256)],_0x4bb6c1[_0x5c444f(0x256)]['operators'],_0x4bb6c1[_0x5c444f(0x1d1)],_0x4bb6c1[_0x5c444f(0x16e)],_0x4bb6c1[_0x5c444f(0x3e5)],_0x4bb6c1[_0x5c444f(0x1e2)],_0x4bb6c1['UniverSheets'],_0x4bb6c1[_0x5c444f(0x3d9)],_0x4bb6c1[_0x5c444f(0x2c8)]));}(this,function(_0x8e59c3,_0x2c51de,_0x338c92,_0x37eeae,_0x32b62f,_0x28078a,_0x590d8d,_0x451245,_0x136204,_0x2431e1,_0x3865ad){'use strict';var _0x46b6b2=_0xaf58;var _0x2af110=Object[_0x46b6b2(0x1ac)],_0x38cbb3=(_0x4908b9,_0x42d456,_0x442ff7)=>_0x42d456 in _0x4908b9?_0x2af110(_0x4908b9,_0x42d456,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x442ff7}):_0x4908b9[_0x42d456]=_0x442ff7,_0x433d55=(_0x228081,_0x4a9f5b,_0x2ed6e0)=>_0x38cbb3(_0x228081,typeof _0x4a9f5b!=_0x46b6b2(0x301)?_0x4a9f5b+'':_0x4a9f5b,_0x2ed6e0);const _0x1b4a25=_0x46b6b2(0x41b),_0x369361=_0x46b6b2(0x234),_0x1604fc=_0x46b6b2(0x4bd),_0x1fa2cd='SEND_CHANGESET_TIMEOUT',_0x3fad91=_0x46b6b2(0x3a2),_0x58873e=_0x46b6b2(0x46d),_0x58aff4=_0x46b6b2(0x23d),_0x3a5106=_0x46b6b2(0x312),_0x3ea6df=_0x46b6b2(0x401),_0x16707e=_0x46b6b2(0x32e),_0x19d726=_0x46b6b2(0x1d3),_0x2ce1d3=_0x46b6b2(0x293),_0x27e27e=_0x46b6b2(0x1d9),_0x11765e=_0x46b6b2(0x41e),_0x9c06b2='/universer-api/oidc/authpage',_0x2ac6f5='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x22ed21=_0x46b6b2(0x3fe);var _0x1c5be1=(_0x401afe=>(_0x401afe[_0x401afe[_0x46b6b2(0x442)]=0x0]=_0x46b6b2(0x442),_0x401afe[_0x401afe['OK']=0x1]='OK',_0x401afe[_0x401afe['INTERNAL_ERROR']=0x2]=_0x46b6b2(0x16c),_0x401afe[_0x401afe[_0x46b6b2(0x156)]=0x3]=_0x46b6b2(0x156),_0x401afe[_0x401afe[_0x46b6b2(0x40b)]=0x4]=_0x46b6b2(0x40b),_0x401afe[_0x401afe['UNAUTHENTICATED']=0x5]=_0x46b6b2(0x1b1),_0x401afe[_0x401afe[_0x46b6b2(0x374)]=0x6]='ALREADY_EXISTS',_0x401afe[_0x401afe[_0x46b6b2(0x19c)]=0x7]=_0x46b6b2(0x19c),_0x401afe[_0x401afe[_0x46b6b2(0x34d)]=0x8]='TOO_MANY_REQUESTS',_0x401afe[_0x401afe['COMPLETION_FINISHED']=0x9]=_0x46b6b2(0x27e),_0x401afe[_0x401afe[_0x46b6b2(0x404)]=0xa]=_0x46b6b2(0x404),_0x401afe[_0x401afe[_0x46b6b2(0x2a0)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x401afe[_0x401afe[_0x46b6b2(0x2a1)]=0x1771]=_0x46b6b2(0x2a1),_0x401afe[_0x401afe[_0x46b6b2(0x3d5)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x401afe[_0x401afe[_0x46b6b2(0x49b)]=0x1773]=_0x46b6b2(0x49b),_0x401afe[_0x401afe['APPLY_REJECT']=0x1b59]=_0x46b6b2(0x29c),_0x401afe[_0x401afe[_0x46b6b2(0x1ab)]=0x1b5a]=_0x46b6b2(0x1ab),_0x401afe[_0x401afe[_0x46b6b2(0x336)]=0x1b5b]=_0x46b6b2(0x336),_0x401afe[_0x401afe[_0x46b6b2(0x33c)]=0x1b5c]=_0x46b6b2(0x33c),_0x401afe[_0x401afe[_0x46b6b2(0x421)]=0x1b5d]='APPLY_DUPLICATED',_0x401afe[_0x401afe[_0x46b6b2(0x422)]=0x1f41]=_0x46b6b2(0x422),_0x401afe[_0x401afe['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x401afe[_0x401afe[_0x46b6b2(0x4b4)]=0x232a]=_0x46b6b2(0x4b4),_0x401afe[_0x401afe[_0x46b6b2(0x436)]=0x232b]=_0x46b6b2(0x436),_0x401afe[_0x401afe['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x401afe[_0x401afe[_0x46b6b2(0x41a)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x401afe[_0x401afe['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x401afe[_0x401afe['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x46b6b2(0x411),_0x401afe[_0x401afe[_0x46b6b2(0x17b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x401afe[_0x401afe['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x401afe[_0x401afe['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x46b6b2(0x173),_0x401afe[_0x401afe['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x46b6b2(0x18f),_0x401afe[_0x401afe[_0x46b6b2(0x4c7)]=0x271c]=_0x46b6b2(0x4c7),_0x401afe[_0x401afe[_0x46b6b2(0x232)]=0x271d]=_0x46b6b2(0x232),_0x401afe[_0x401afe[_0x46b6b2(0x2e7)]=0x271e]=_0x46b6b2(0x2e7),_0x401afe[_0x401afe[_0x46b6b2(0x39e)]=0x271f]=_0x46b6b2(0x39e),_0x401afe[_0x401afe[_0x46b6b2(0x3d2)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x401afe[_0x401afe[_0x46b6b2(0x4a0)]=0x2ee1]=_0x46b6b2(0x4a0),_0x401afe[_0x401afe[_0x46b6b2(0x32f)]=0x2ee2]=_0x46b6b2(0x32f),_0x401afe[_0x401afe[_0x46b6b2(0x28e)]=0x2ee3]=_0x46b6b2(0x28e),_0x401afe[_0x401afe[_0x46b6b2(0x40f)]=0x2ee4]=_0x46b6b2(0x40f),_0x401afe[_0x401afe[_0x46b6b2(0x17c)]=0x2ee5]=_0x46b6b2(0x17c),_0x401afe[_0x401afe['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x401afe[_0x401afe['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x46b6b2(0x1fd),_0x401afe[_0x401afe[_0x46b6b2(0x3f1)]=0x32cb]=_0x46b6b2(0x3f1),_0x401afe[_0x401afe[_0x46b6b2(0x433)]=-0x1]=_0x46b6b2(0x433),_0x401afe))(_0x1c5be1||{}),_0x284dcc=(_0x398162=>(_0x398162[_0x398162['UNIVER_UNKNOWN']=0x0]=_0x46b6b2(0x291),_0x398162[_0x398162[_0x46b6b2(0x2d0)]=0x1]=_0x46b6b2(0x2d0),_0x398162[_0x398162[_0x46b6b2(0x29b)]=0x2]=_0x46b6b2(0x29b),_0x398162[_0x398162['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x398162[_0x398162[_0x46b6b2(0x3bf)]=0x4]=_0x46b6b2(0x3bf),_0x398162[_0x398162['UNRECOGNIZED']=-0x1]=_0x46b6b2(0x433),_0x398162))(_0x284dcc||{}),_0x570e03=(_0x10d7a6=>(_0x10d7a6[_0x10d7a6[_0x46b6b2(0x164)]=0x0]=_0x46b6b2(0x164),_0x10d7a6[_0x10d7a6[_0x46b6b2(0x43f)]=0x1]=_0x46b6b2(0x43f),_0x10d7a6[_0x10d7a6[_0x46b6b2(0x2f5)]=0x2]='JOIN',_0x10d7a6[_0x10d7a6[_0x46b6b2(0x40a)]=0x3]=_0x46b6b2(0x40a),_0x10d7a6[_0x10d7a6[_0x46b6b2(0x2af)]=0x4]='INGEST',_0x10d7a6[_0x10d7a6[_0x46b6b2(0x2d1)]=0x5]=_0x46b6b2(0x2d1),_0x10d7a6[_0x10d7a6[_0x46b6b2(0x410)]=0x6]=_0x46b6b2(0x410),_0x10d7a6[_0x10d7a6['UNRECOGNIZED']=-0x1]=_0x46b6b2(0x433),_0x10d7a6))(_0x570e03||{}),_0x5c4f8b=(_0x269596=>(_0x269596[_0x269596['UNKNOWN_CODE']=0x0]=_0x46b6b2(0x289),_0x269596[_0x269596['OK']=0x1]='OK',_0x269596[_0x269596['FAIL']=0x2]=_0x46b6b2(0x4b5),_0x269596[_0x269596['JOIN_ROOM_FULL']=0x3e9]=_0x46b6b2(0x2c7),_0x269596[_0x269596[_0x46b6b2(0x271)]=0x3ea]=_0x46b6b2(0x271),_0x269596[_0x269596[_0x46b6b2(0x2b6)]=0x3eb]=_0x46b6b2(0x2b6),_0x269596[_0x269596[_0x46b6b2(0x198)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x269596[_0x269596[_0x46b6b2(0x433)]=-0x1]=_0x46b6b2(0x433),_0x269596))(_0x5c4f8b||{}),_0x3062e5=(_0x18d8e1=>(_0x18d8e1[_0x18d8e1[_0x46b6b2(0x15d)]=0x0]=_0x46b6b2(0x15d),_0x18d8e1[_0x18d8e1['HttpImport']=0x1]='HttpImport',_0x18d8e1[_0x18d8e1[_0x46b6b2(0x3e2)]=0x2]=_0x46b6b2(0x3e2),_0x18d8e1[_0x18d8e1[_0x46b6b2(0x151)]=0x3]=_0x46b6b2(0x151),_0x18d8e1[_0x18d8e1[_0x46b6b2(0x427)]=0x4]='UnitSnapshot',_0x18d8e1[_0x18d8e1[_0x46b6b2(0x304)]=0x5]=_0x46b6b2(0x304),_0x18d8e1[_0x18d8e1[_0x46b6b2(0x433)]=-0x1]=_0x46b6b2(0x433),_0x18d8e1))(_0x3062e5||{});const _0x2706a6='collaboration-client.config',_0x5d5ab3={};var _0x56f493=(_0xc30cdd=>(_0xc30cdd['OTHER_CLIENT_EDITING']=_0x46b6b2(0x383),_0xc30cdd[_0x46b6b2(0x156)]='PERMISSION_DENIED',_0xc30cdd[_0x46b6b2(0x2dc)]='CONFLICT',_0xc30cdd[_0x46b6b2(0x1f1)]=_0x46b6b2(0x1f1),_0xc30cdd[_0x46b6b2(0x2e5)]=_0x46b6b2(0x2e5),_0xc30cdd[_0x46b6b2(0x16f)]='SOCKET_FAILED_RETRY',_0xc30cdd[_0x46b6b2(0x1f6)]='SOCKET_FAILED',_0xc30cdd['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0xc30cdd))(_0x56f493||{});class _0x4d9ca6{constructor(){var _0x4e9640=_0x46b6b2;_0x433d55(this,_0x4e9640(0x43b),new _0x338c92[(_0x4e9640(0x462))]()),_0x433d55(this,_0x4e9640(0x2c2),this[_0x4e9640(0x43b)][_0x4e9640(0x280)]());}[_0x46b6b2(0x22e)](_0x5cd9be){var _0x3ba4d1=_0x46b6b2;this[_0x3ba4d1(0x43b)][_0x3ba4d1(0x352)](_0x5cd9be);}}const _0x6f7a99=_0x2c51de['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function _0x5b71d4(_0x51c074){var _0x5b8625=_0x46b6b2,_0x517d3,_0x4812ad,_0x110c42,_0x252431,_0x3096bb;const _0x2d6e95=_0x51c074['data'],_0x2ff43c=JSON[_0x5b8625(0x24f)](_0x2d6e95);switch(_0x2ff43c['cmd']){case _0x570e03[_0x5b8625(0x2d1)]:case _0x570e03['HELLO']:{const _0x4b6ab1=_0x2ff43c[_0x5b8625(0x469)];return{..._0x2ff43c,'data':_0x4b6ab1,'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};}case _0x570e03['JOIN']:{const _0x578446=_0x2ff43c['joinRsp'];return{..._0x2ff43c,'data':_0x578446,'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};}case _0x570e03[_0x5b8625(0x410)]:{const _0x5ef55b=_0x2ff43c[_0x5b8625(0x1ed)];switch(_0x5ef55b['eventID']){case _0x32b62f['CollaborationEvent'][_0x5b8625(0x2bb)]:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':(_0x517d3=_0x5ef55b[_0x5b8625(0x2a7)])==null?void 0x0:_0x517d3['cs']},'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};case _0x32b62f[_0x5b8625(0x498)][_0x5b8625(0x497)]:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':(_0x4812ad=_0x5ef55b[_0x5b8625(0x470)])==null?void 0x0:_0x4812ad['cs']},'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};case _0x32b62f['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':(_0x110c42=_0x5ef55b['newCsEvent'])==null?void 0x0:_0x110c42['cs']},'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};case _0x32b62f['CollaborationEvent'][_0x5b8625(0x3d6)]:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':(_0x252431=_0x5ef55b[_0x5b8625(0x382)])==null?void 0x0:_0x252431['cs']},'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};case _0x32b62f[_0x5b8625(0x498)][_0x5b8625(0x36a)]:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':(_0x3096bb=_0x5ef55b[_0x5b8625(0x14a)])==null?void 0x0:_0x3096bb['cs']},'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};case _0x32b62f[_0x5b8625(0x498)][_0x5b8625(0x3f5)]:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':_0x5ef55b[_0x5b8625(0x2cd)]},'cmd':_0x2ff43c['cmd']};case _0x32b62f['CollaborationEvent'][_0x5b8625(0x39b)]:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':_0x5ef55b['joinEvent']},'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};case _0x32b62f['CollaborationEvent'][_0x5b8625(0x1a9)]:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':_0x5ef55b[_0x5b8625(0x24b)]},'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};case _0x32b62f[_0x5b8625(0x498)][_0x5b8625(0x3d0)]:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':_0x5ef55b[_0x5b8625(0x309)]},'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};case _0x32b62f[_0x5b8625(0x498)][_0x5b8625(0x47e)]:case _0x32b62f['CollaborationEvent'][_0x5b8625(0x1de)]:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':_0x5ef55b[_0x5b8625(0x432)]},'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};case _0x32b62f[_0x5b8625(0x498)][_0x5b8625(0x239)]:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':_0x5ef55b[_0x5b8625(0x309)]},'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};case _0x32b62f['CollaborationEvent'][_0x5b8625(0x213)]:return{..._0x2ff43c,'data':_0x5ef55b,'cmd':_0x2ff43c['cmd']};case _0x32b62f['CollaborationEvent'][_0x5b8625(0x18a)]:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':_0x5ef55b[_0x5b8625(0x492)]},'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};case _0x32b62f[_0x5b8625(0x498)][_0x5b8625(0x28b)]:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':_0x5ef55b[_0x5b8625(0x2b1)]},'cmd':_0x2ff43c[_0x5b8625(0x3c5)]};case _0x32b62f[_0x5b8625(0x498)][_0x5b8625(0x20b)]:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':_0x5ef55b[_0x5b8625(0x268)]},'cmd':_0x2ff43c['cmd']};case _0x32b62f['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x2ff43c,'data':{..._0x5ef55b,'data':_0x5ef55b['uniscriptRunEvent']},'cmd':_0x2ff43c['cmd']};default:return _0x2ff43c;}}default:return _0x2ff43c;}}function _0x2f8051(_0x523f32){var _0x5affcf=_0x46b6b2;switch(_0x523f32[_0x5affcf(0x3c5)]){case _0x570e03[_0x5affcf(0x2d1)]:case _0x570e03['HELLO']:return JSON[_0x5affcf(0x1a3)]({'cmd':_0x523f32[_0x5affcf(0x3c5)],'routeKey':_0x523f32[_0x5affcf(0x39f)]});case _0x570e03[_0x5affcf(0x2af)]:{let _0xdd951d;switch(_0x523f32[_0x5affcf(0x4a8)][_0x5affcf(0x1c2)]){case _0x32b62f[_0x5affcf(0x498)]['UPDATE_CURSOR']:{_0xdd951d={'eventID':_0x32b62f['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x523f32['data'][_0x5affcf(0x4a8)]};break;}case _0x32b62f['CollaborationEvent'][_0x5affcf(0x1a9)]:{_0xdd951d={'eventID':_0x32b62f[_0x5affcf(0x498)][_0x5affcf(0x1a9)],'leaveEvent':_0x523f32[_0x5affcf(0x4a8)][_0x5affcf(0x4a8)]};break;}case _0x32b62f['CollaborationEvent'][_0x5affcf(0x39b)]:{_0xdd951d={'eventID':_0x32b62f[_0x5affcf(0x498)][_0x5affcf(0x39b)],'joinEvent':_0x523f32[_0x5affcf(0x4a8)][_0x5affcf(0x4a8)]};break;}case _0x32b62f[_0x5affcf(0x498)]['LIVESHARE_NEW_HOST']:{_0xdd951d={'eventID':_0x32b62f['CollaborationEvent'][_0x5affcf(0x3d0)],'liveShareNewHost':_0x523f32[_0x5affcf(0x4a8)][_0x5affcf(0x4a8)]};break;}case _0x32b62f[_0x5affcf(0x498)][_0x5affcf(0x1de)]:{_0xdd951d={'eventID':_0x32b62f['CollaborationEvent'][_0x5affcf(0x1de)],'liveShareOperation':_0x523f32['data'][_0x5affcf(0x4a8)]};break;}case _0x32b62f[_0x5affcf(0x498)]['LIVESHARE_TERMINATE']:{_0xdd951d={'eventID':_0x32b62f[_0x5affcf(0x498)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x523f32[_0x5affcf(0x4a8)]['data']};break;}case _0x32b62f[_0x5affcf(0x498)][_0x5affcf(0x43e)]:{_0xdd951d={'eventID':_0x32b62f[_0x5affcf(0x498)][_0x5affcf(0x43e)],'liveShareRequestHost':_0x523f32[_0x5affcf(0x4a8)][_0x5affcf(0x4a8)]};break;}case _0x32b62f[_0x5affcf(0x498)][_0x5affcf(0x47e)]:{_0xdd951d={'eventID':_0x32b62f[_0x5affcf(0x498)][_0x5affcf(0x47e)]};break;}default:_0xdd951d={'eventID':_0x523f32[_0x5affcf(0x4a8)]['eventID']};}return JSON[_0x5affcf(0x1a3)]({'cmd':_0x523f32[_0x5affcf(0x3c5)],'routeKey':_0x523f32[_0x5affcf(0x39f)],'collaMsg':_0xdd951d});}case _0x570e03['JOIN']:return JSON[_0x5affcf(0x1a3)]({'cmd':_0x523f32[_0x5affcf(0x3c5)],'routeKey':_0x523f32[_0x5affcf(0x39f)],'joinReq':_0x523f32['data']});case _0x570e03[_0x5affcf(0x40a)]:return JSON['stringify']({'cmd':_0x523f32[_0x5affcf(0x3c5)],'routeKey':_0x523f32[_0x5affcf(0x39f)],'leaveReq':_0x523f32[_0x5affcf(0x4a8)]});default:throw new Error(_0x5affcf(0x4a5));}}var _0x3d8e0e=Object[_0x46b6b2(0x313)],_0x13373a=(_0x35512c,_0x13c06a,_0x247e34,_0x2f7c90)=>{var _0x5ee260=_0x46b6b2;for(var _0x498007=_0x2f7c90>0x1?void 0x0:_0x2f7c90?_0x3d8e0e(_0x13c06a,_0x247e34):_0x13c06a,_0x2bfadd=_0x35512c[_0x5ee260(0x3b7)]-0x1,_0x3306da;_0x2bfadd>=0x0;_0x2bfadd--)(_0x3306da=_0x35512c[_0x2bfadd])&&(_0x498007=_0x3306da(_0x498007)||_0x498007);return _0x498007;},_0x338368=(_0x5d1e4c,_0x4ab152)=>(_0x432a50,_0x3a27da)=>_0x4ab152(_0x432a50,_0x3a27da,_0x5d1e4c);const _0x1b1987=_0x2c51de[_0x46b6b2(0x2b9)](_0x46b6b2(0x482));function _0x3a42fa(_0x41f703,_0xa96264,_0x433527){var _0x392522=_0x46b6b2;return _0x41f703+'/'+_0xa96264+'/unit/'+_0x433527+_0x392522(0x1a2);}_0x8e59c3[_0x46b6b2(0x285)]=class extends _0x2c51de['Disposable']{constructor(_0x38ce23,_0x51ab34,_0x17c420,_0x24a0ad,_0x3d3cc1){var _0x370a67=_0x46b6b2;super(),this['_injector']=_0x38ce23,this[_0x370a67(0x1c7)]=_0x51ab34,this['_configService']=_0x17c420,this['_logService']=_0x24a0ad,this[_0x370a67(0x229)]=_0x3d3cc1;}[_0x46b6b2(0x358)](_0x24ec85){var _0x23db54=_0x46b6b2;const _0x4600a3=this['_injector'][_0x23db54(0x1b6)](_0x28078a['ISocketService']);if(!_0x4600a3)throw new Error(_0x23db54(0x449));const _0x243eae=_0x4600a3[_0x23db54(0x346)](_0x24ec85);if(!_0x243eae)throw new Error(_0x23db54(0x3db));const _0x18f82d=new _0x2c51de[(_0x23db54(0x339))](),_0x30ca8c=new _0x338c92[(_0x23db54(0x462))]();_0x18f82d[_0x23db54(0x337)](_0x243eae[_0x23db54(0x25a)][_0x23db54(0x307)](_0x15599e=>_0x30ca8c[_0x23db54(0x352)](_0x15599e))),_0x18f82d['add'](_0x2c51de[_0x23db54(0x3e9)](()=>_0x30ca8c[_0x23db54(0x208)]()));const _0x1d7c49=new _0x338c92[(_0x23db54(0x462))]();_0x18f82d[_0x23db54(0x337)](_0x243eae['error$'][_0x23db54(0x307)](_0x4dbf19=>_0x1d7c49['next'](_0x4dbf19))),_0x18f82d[_0x23db54(0x337)](_0x2c51de[_0x23db54(0x3e9)](()=>_0x1d7c49[_0x23db54(0x208)]()));const _0x2ab7a4=new _0x338c92[(_0x23db54(0x462))]();_0x18f82d['add'](_0x243eae[_0x23db54(0x351)][_0x23db54(0x307)](_0x436816=>{var _0x2fff3a=_0x23db54;const _0x347e32=_0x5b71d4(_0x436816);_0x2ab7a4[_0x2fff3a(0x352)](_0x347e32);})),_0x18f82d[_0x23db54(0x337)](_0x2c51de[_0x23db54(0x3e9)](()=>_0x2ab7a4[_0x23db54(0x208)]()));let _0x2c6f7c;const _0x195c62=()=>{var _0x4e8fd3=_0x23db54;_0x1d7c49[_0x4e8fd3(0x352)](new Event(_0x4e8fd3(0x3cb))),_0x30ca8c[_0x4e8fd3(0x352)](new Event(_0x4e8fd3(0x3cb))),_0x2c6f7c[_0x4e8fd3(0x179)]();};return _0x2c6f7c={'memberID':'','close$':_0x30ca8c[_0x23db54(0x280)](),'error$':_0x1d7c49[_0x23db54(0x280)](),'open$':_0x243eae[_0x23db54(0x4ad)],'message$':_0x2ab7a4[_0x23db54(0x280)](),'send':_0x52e99c=>{var _0x2ac6fd=_0x23db54;if(_0x52e99c[_0x2ac6fd(0x3c5)]===_0x570e03[_0x2ac6fd(0x2af)]){if(_0x52e99c['data'][_0x2ac6fd(0x1c2)]===_0x32b62f[_0x2ac6fd(0x498)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x2c6f7c,_0x52e99c[_0x2ac6fd(0x4a8)])[_0x2ac6fd(0x1c6)](_0x19abf7=>{var _0x2ffaed=_0x2ac6fd;this[_0x2ffaed(0x2de)][_0x2ffaed(0x275)](_0x19abf7),_0x195c62();});return;}if(_0x52e99c[_0x2ac6fd(0x4a8)][_0x2ac6fd(0x1c2)]===_0x32b62f[_0x2ac6fd(0x498)][_0x2ac6fd(0x2c0)]){const _0x5a9bf2=_0x52e99c['data'];this['_fetchMissChangesets'](_0x5a9bf2)['then'](_0x7423b1=>{var _0x34b69d=_0x2ac6fd;_0x2ab7a4[_0x34b69d(0x352)]({'cmd':_0x570e03[_0x34b69d(0x410)],'code':_0x5c4f8b['OK'],'routeKey':_0x5a9bf2[_0x34b69d(0x4a8)][_0x34b69d(0x3c2)],'routeType':'','data':{'eventID':_0x32b62f[_0x34b69d(0x498)][_0x34b69d(0x4b1)],'data':{'changesets':_0x7423b1}}});})['catch'](_0x1cb5bd=>{var _0x4878f9=_0x2ac6fd;this[_0x4878f9(0x2de)]['error'](_0x1cb5bd),_0x195c62();});return;}}_0x243eae[_0x2ac6fd(0x306)](_0x2f8051(_0x52e99c));},'close':()=>{var _0x2358d9=_0x23db54;_0x243eae[_0x2358d9(0x179)](),_0x18f82d[_0x2358d9(0x18d)]();}},_0x2c6f7c;}async[_0x46b6b2(0x474)](_0x147150,_0x1ba39c){var _0x32a3d7=_0x46b6b2,_0x5d1ff5,_0x503e47;const {unitType:_0x4abf1b,unitID:_0x4ca479,changeset:_0x2d5004}=_0x1ba39c[_0x32a3d7(0x4a8)],_0x3a38ab={'unitID':_0x4ca479,'memberID':_0x147150['memberID'],'type':_0x4abf1b,'changeset':_0x32b62f[_0x32a3d7(0x243)](_0x2d5004)},_0xc2cc9c=this[_0x32a3d7(0x457)][_0x32a3d7(0x236)](_0x2ce1d3),_0xc66cf0=this[_0x32a3d7(0x457)]['getConfig'](_0x2706a6),_0xa7f2c7=_0x3a42fa((_0x503e47=(_0x5d1ff5=_0xc66cf0==null?void 0x0:_0xc66cf0[_0x32a3d7(0x325)])!=null?_0x5d1ff5:_0xc2cc9c)!=null?_0x503e47:_0x27e27e,_0x4abf1b,_0x4ca479);try{await this[_0x32a3d7(0x1c7)][_0x32a3d7(0x439)](_0xa7f2c7,{'body':_0x3a38ab});}catch(_0x300393){throw this['_logService'][_0x32a3d7(0x275)](_0x32a3d7(0x1ba),_0x32a3d7(0x220)),_0x300393;}}async['_fetchMissChangesets'](_0x59023a){var _0x356419=_0x46b6b2;const {unitID:_0x49c742,from:_0x4e0374,to:_0x45deac,unitType:_0xd3f0e6}=_0x59023a[_0x356419(0x4a8)];return(await this[_0x356419(0x229)][_0x356419(0x231)]({'metadata':void 0x0},{'unitID':_0x49c742,'type':_0xd3f0e6,'from':_0x4e0374,'to':_0x45deac}))['changesets'];}},_0x8e59c3[_0x46b6b2(0x285)]=_0x13373a([_0x338368(0x0,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x263)])),_0x338368(0x1,_0x2c51de[_0x46b6b2(0x281)](_0x28078a['HTTPService'])),_0x338368(0x2,_0x2c51de[_0x46b6b2(0x480)]),_0x338368(0x3,_0x2c51de[_0x46b6b2(0x160)]),_0x338368(0x4,_0x32b62f[_0x46b6b2(0x20e)])],_0x8e59c3[_0x46b6b2(0x285)]);const _0x485981=_0x46b6b2(0x26c);function _0x4e1c91(_0x5465c8){var _0x4c557b=_0x46b6b2;return JSON['stringify'](_0x5465c8)[_0x4c557b(0x3b7)];}class _0x4e2814{constructor(){var _0x25b999=_0x46b6b2;_0x433d55(this,_0x25b999(0x148),new _0x338c92[(_0x25b999(0x462))]()),_0x433d55(this,_0x25b999(0x4c3),this[_0x25b999(0x148)][_0x25b999(0x280)]());}[_0x46b6b2(0x3ee)](_0x1038bf){var _0x9ae1e=_0x46b6b2;this[_0x9ae1e(0x148)][_0x9ae1e(0x352)](_0x1038bf);}}var _0x411003=Object[_0x46b6b2(0x313)],_0x55a0bb=(_0x115c1f,_0x121cb8,_0x46ef4c,_0x4cab4e)=>{var _0x5c7a83=_0x46b6b2;for(var _0x432f16=_0x4cab4e>0x1?void 0x0:_0x4cab4e?_0x411003(_0x121cb8,_0x46ef4c):_0x121cb8,_0x155758=_0x115c1f[_0x5c7a83(0x3b7)]-0x1,_0x17c809;_0x155758>=0x0;_0x155758--)(_0x17c809=_0x115c1f[_0x155758])&&(_0x432f16=_0x17c809(_0x432f16)||_0x432f16);return _0x432f16;},_0x20c555=(_0x120b0d,_0x43ee12)=>(_0x4bd91c,_0x3b22b4)=>_0x43ee12(_0x4bd91c,_0x3b22b4,_0x120b0d);_0x8e59c3['MemberService']=class extends _0x2c51de[_0x46b6b2(0x311)]{constructor(_0x2db9cd,_0x2d90df){var _0xbf4343=_0x46b6b2;super(),_0x433d55(this,_0xbf4343(0x468),new Map()),_0x433d55(this,'_roomCreated$',new _0x338c92['Subject']()),(this[_0xbf4343(0x3eb)]=_0x2db9cd,this[_0xbf4343(0x405)]=_0x2d90df,this[_0xbf4343(0x42e)](_0x338c92[_0xbf4343(0x37b)](this[_0xbf4343(0x3eb)]['getTypeOfUnitDisposed$'](_0x2c51de['UniverInstanceType'][_0xbf4343(0x29b)])[_0xbf4343(0x1c0)](_0x37eeae[_0xbf4343(0x3a4)](_0x2cd7ce=>_0x2cd7ce[_0xbf4343(0x276)]())),this[_0xbf4343(0x3eb)]['getTypeOfUnitDisposed$'](_0x2c51de[_0xbf4343(0x2ed)][_0xbf4343(0x2d0)])[_0xbf4343(0x1c0)](_0x37eeae['map'](_0x29f874=>_0x29f874['getUnitId']())),this[_0xbf4343(0x3eb)][_0xbf4343(0x4cc)](_0x2c51de[_0xbf4343(0x2ed)][_0xbf4343(0x25f)])[_0xbf4343(0x1c0)](_0x37eeae[_0xbf4343(0x3a4)](_0x27877c=>_0x27877c['getUnitId']())))[_0xbf4343(0x307)](_0x2106d3=>this[_0xbf4343(0x3ba)](_0x2106d3))));}[_0x46b6b2(0x204)](_0x248500){var _0x589602=_0x46b6b2;return this[_0x589602(0x468)]['has'](_0x248500)?_0x338c92['of'](this[_0x589602(0x468)]['get'](_0x248500)):this[_0x589602(0x180)][_0x589602(0x1c0)](_0x37eeae[_0x589602(0x3a4)](_0x4c2933=>{var _0x261401=_0x589602;if(_0x4c2933===_0x248500)return this['_roomMembers'][_0x261401(0x1b6)](_0x4c2933);}));}[_0x46b6b2(0x1f5)](_0x1a7c22){var _0x1b2ef1=_0x46b6b2;this[_0x1b2ef1(0x405)][_0x1b2ef1(0x1f5)](_0x1a7c22);}[_0x46b6b2(0x342)](){var _0x48a00b=_0x46b6b2;return this[_0x48a00b(0x405)]['getCurrentUser']();}[_0x46b6b2(0x2c4)](_0x56ffba,_0xbeeed2){var _0x3fac57=_0x46b6b2;let _0x1ed5ca=this[_0x3fac57(0x468)][_0x3fac57(0x1b6)](_0x56ffba);_0x1ed5ca||(_0x1ed5ca=new _0x17f161(),this['_roomMembers'][_0x3fac57(0x216)](_0x56ffba,_0x1ed5ca),this[_0x3fac57(0x180)]['next'](_0x56ffba)),_0x1ed5ca['updateMember'](_0xbeeed2);}['removeMember'](_0x2ebcde,_0x4dd578){var _0x3058e9=_0x46b6b2;const _0xb81f24=this[_0x3058e9(0x468)][_0x3058e9(0x1b6)](_0x2ebcde);_0xb81f24&&_0xb81f24[_0x3058e9(0x3bc)](_0x4dd578);}[_0x46b6b2(0x1b2)](_0x201f5a){var _0x2d764c=_0x46b6b2;return this[_0x2d764c(0x468)][_0x2d764c(0x1b6)](_0x201f5a);}[_0x46b6b2(0x2b8)](_0x4a30cb,_0x270a3a){var _0x2f96e7=_0x46b6b2;const _0x14eaaa=this[_0x2f96e7(0x468)][_0x2f96e7(0x1b6)](_0x4a30cb);if(_0x14eaaa)return _0x14eaaa['getMember'](_0x270a3a);}[_0x46b6b2(0x3ba)](_0x16ace0){var _0x5592cb=_0x46b6b2;const _0xad359e=this[_0x5592cb(0x468)][_0x5592cb(0x1b6)](_0x16ace0);_0xad359e&&(_0xad359e['dispose'](),this[_0x5592cb(0x468)][_0x5592cb(0x3f8)](_0x16ace0));}[_0x46b6b2(0x18d)](){var _0x43fbe1=_0x46b6b2;this['_roomMembers'][_0x43fbe1(0x16a)](_0x43bb49=>_0x43bb49[_0x43fbe1(0x18d)]()),this[_0x43fbe1(0x468)]['clear'](),this['_roomCreated$'][_0x43fbe1(0x208)]();}},_0x8e59c3[_0x46b6b2(0x176)]=_0x55a0bb([_0x20c555(0x0,_0x2c51de[_0x46b6b2(0x2fb)]),_0x20c555(0x1,_0x2c51de['Inject'](_0x2c51de['UserManagerService']))],_0x8e59c3[_0x46b6b2(0x176)]);class _0x17f161 extends _0x2c51de[_0x46b6b2(0x311)]{constructor(){var _0x564664=_0x46b6b2;super(...arguments),_0x433d55(this,_0x564664(0x2f8),new Map()),_0x433d55(this,_0x564664(0x3c6),new _0x338c92[(_0x564664(0x2b2))](this[_0x564664(0x2f8)])),_0x433d55(this,_0x564664(0x1e9),this[_0x564664(0x3c6)][_0x564664(0x280)]());}[_0x46b6b2(0x18d)](){var _0x39e11a=_0x46b6b2;this[_0x39e11a(0x2f8)]['clear']();}[_0x46b6b2(0x2c4)](_0x52d04d){var _0x14bb62=_0x46b6b2;this[_0x14bb62(0x2f8)][_0x14bb62(0x216)](_0x52d04d['memberID'],_0x52d04d),this['_emitMembers']();}[_0x46b6b2(0x3bc)](_0xdd3dd5){var _0x127a1f=_0x46b6b2;this[_0x127a1f(0x2f8)][_0x127a1f(0x3f8)](_0xdd3dd5);}[_0x46b6b2(0x2b8)](_0x435213){var _0x37894f=_0x46b6b2;return this[_0x37894f(0x2f8)][_0x37894f(0x1b6)](_0x435213);}[_0x46b6b2(0x295)](){var _0x45334c=_0x46b6b2;return Array['from'](this[_0x45334c(0x2f8)][_0x45334c(0x1be)]());}['_emitMembers'](){var _0x1d1b31=_0x46b6b2;this[_0x1d1b31(0x3c6)][_0x1d1b31(0x352)](this[_0x1d1b31(0x2f8)]);}}var _0xf2929=Object[_0x46b6b2(0x313)],_0x193db3=(_0x57884f,_0x1c457a,_0x31b529,_0x50e73b)=>{var _0x49d389=_0x46b6b2;for(var _0x4645e4=_0x50e73b>0x1?void 0x0:_0x50e73b?_0xf2929(_0x1c457a,_0x31b529):_0x1c457a,_0x2223e0=_0x57884f[_0x49d389(0x3b7)]-0x1,_0x4b3937;_0x2223e0>=0x0;_0x2223e0--)(_0x4b3937=_0x57884f[_0x2223e0])&&(_0x4645e4=_0x4b3937(_0x4645e4)||_0x4645e4);return _0x4645e4;},_0xf9a33=(_0x1e4a9b,_0x494b4a)=>(_0x59a1e8,_0x20734a)=>_0x494b4a(_0x59a1e8,_0x20734a,_0x1e4a9b),_0x406ec9=(_0xc91a8b=>(_0xc91a8b[_0xc91a8b[_0x46b6b2(0x235)]=0x0]='IDLE',_0xc91a8b[_0xc91a8b[_0x46b6b2(0x353)]=0x1]=_0x46b6b2(0x353),_0xc91a8b[_0xc91a8b['OFFLINE']=0x2]=_0x46b6b2(0x2d8),_0xc91a8b[_0xc91a8b[_0x46b6b2(0x35a)]=0x3]=_0x46b6b2(0x35a),_0xc91a8b))(_0x406ec9||{});const _0x51b106={[_0x5c4f8b[_0x46b6b2(0x4b5)]]:_0x46b6b2(0x211),[_0x5c4f8b[_0x46b6b2(0x2c7)]]:_0x46b6b2(0x399),[_0x5c4f8b[_0x46b6b2(0x271)]]:'session.room-not-exists',[_0x5c4f8b[_0x46b6b2(0x2b6)]]:_0x46b6b2(0x3a7),[_0x5c4f8b[_0x46b6b2(0x198)]]:'session.room-cnt-exceeds'};_0x8e59c3[_0x46b6b2(0x30b)]=class extends _0x2c51de[_0x46b6b2(0x1a8)]{constructor(_0x42b602,_0x668144,_0xda45e2,_0xc0f4f4,_0x555d32,_0x3a7b5e,_0x35e950,_0x4f171b,_0x2b838f){var _0x13279d=_0x46b6b2;super(),_0x433d55(this,_0x13279d(0x400),new _0x338c92[(_0x13279d(0x2b2))](0x0)),_0x433d55(this,_0x13279d(0x479),this['_sessionStatus$']['asObservable']()),_0x433d55(this,_0x13279d(0x43b),new _0x338c92['Subject']()),_0x433d55(this,_0x13279d(0x2c2),this[_0x13279d(0x43b)][_0x13279d(0x280)]()),_0x433d55(this,_0x13279d(0x1e6)),_0x433d55(this,_0x13279d(0x453)),_0x433d55(this,_0x13279d(0x1fe)),_0x433d55(this,_0x13279d(0x4bb),!0x1),_0x433d55(this,_0x13279d(0x1e7),null),(this['_unitID']=_0x42b602,this['_logService']=_0xda45e2,this[_0x13279d(0x457)]=_0xc0f4f4,this[_0x13279d(0x2c3)]=_0x555d32,this[_0x13279d(0x34c)]=_0x3a7b5e,this[_0x13279d(0x242)]=_0x35e950,this[_0x13279d(0x33b)]=_0x4f171b,this[_0x13279d(0x4b6)]=_0x2b838f,this[_0x13279d(0x4bb)]=!!this[_0x13279d(0x4b6)],_0x668144['pipe'](_0x338c92[_0x13279d(0x1b9)](this[_0x13279d(0x491)]))[_0x13279d(0x307)](_0x1c85f3=>{var _0x2903e9=_0x13279d,_0xa1bfdd;typeof _0x1c85f3>'u'||(this[_0x2903e9(0x1e6)]=_0x1c85f3,_0x1c85f3?(this['_joinRoom'](_0x1c85f3),this[_0x2903e9(0x453)]=_0x1c85f3[_0x2903e9(0x351)][_0x2903e9(0x307)](_0x5c8d1b=>{var _0x51ef0f=_0x2903e9;_0x5c8d1b[_0x51ef0f(0x39f)]===this['_unitID']&&this['_onCombEvent'](_0x5c8d1b);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$']['next'](0x2),(_0xa1bfdd=this[_0x2903e9(0x453)])==null||_0xa1bfdd[_0x2903e9(0x224)](),this[_0x2903e9(0x453)]=null));}));}get[_0x46b6b2(0x379)](){var _0x4818e6=_0x46b6b2;return this[_0x4818e6(0x400)][_0x4818e6(0x3e4)]();}[_0x46b6b2(0x158)](){var _0x349c57=_0x46b6b2,_0x3cfece,_0x52f765;return(_0x52f765=(_0x3cfece=this[_0x349c57(0x1e6)])==null?void 0x0:_0x3cfece[_0x349c57(0x207)])!=null?_0x52f765:null;}[_0x46b6b2(0x18d)](){var _0xbcb366=_0x46b6b2;super[_0xbcb366(0x18d)](),this[_0xbcb366(0x491)][_0xbcb366(0x352)](),this[_0xbcb366(0x491)]['complete']();}[_0x46b6b2(0x179)](){var _0x3dc94e=_0x46b6b2,_0x53bfa0,_0x2b50c0;this[_0x3dc94e(0x378)](),(_0x53bfa0=this[_0x3dc94e(0x1e6)])==null||_0x53bfa0[_0x3dc94e(0x306)]({'cmd':_0x570e03[_0x3dc94e(0x40a)],'data':{'roomID':this['_unitID']}}),(_0x2b50c0=this[_0x3dc94e(0x1e6)])==null||_0x2b50c0[_0x3dc94e(0x179)](),this[_0x3dc94e(0x43b)][_0x3dc94e(0x208)](),this[_0x3dc94e(0x400)]['complete'](),this[_0x3dc94e(0x18d)]();}[_0x46b6b2(0x41c)](_0x28e4da){var _0x49510d=_0x46b6b2;_0x28e4da['cmd']===_0x570e03[_0x49510d(0x2f5)]?this['_onJoinRoomEvent'](_0x28e4da):_0x28e4da['cmd']===_0x570e03['RECV']&&this['_onRecvEvent'](_0x28e4da);}[_0x46b6b2(0x3a3)](_0x307303){var _0x1ceb73=_0x46b6b2;this[_0x1ceb73(0x400)][_0x1ceb73(0x352)](0x1),_0x307303['send']({'cmd':_0x570e03['JOIN'],'routeKey':this[_0x1ceb73(0x1df)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1ceb73(0x1df)]}]}});}[_0x46b6b2(0x282)](_0x1c96d5){var _0xa93a90=_0x46b6b2,_0x5f480e;if(_0x1c96d5['code']in _0x51b106){this[_0xa93a90(0x33b)][_0xa93a90(0x22e)]({'id':_0x56f493[_0xa93a90(0x2e5)],'data':_0x51b106[_0x1c96d5['code']]}),this['_sessionStatus$'][_0xa93a90(0x352)](0x2);return;}this[_0xa93a90(0x400)][_0xa93a90(0x352)](0x3);const _0x4d9f09=(_0x5f480e=_0x1c96d5['data']['roomInfos'][this[_0xa93a90(0x1df)]])==null?void 0x0:_0x5f480e[_0xa93a90(0x273)];_0x4d9f09&&_0x4d9f09[_0xa93a90(0x16a)](_0x3f803a=>this[_0xa93a90(0x34c)][_0xa93a90(0x2c4)](this[_0xa93a90(0x1df)],_0x3f803a));}[_0x46b6b2(0x251)](_0x4554c2){var _0x2e63a6=_0x46b6b2;try{const _0x249fa6=_0x4554c2[_0x2e63a6(0x4a8)];switch(_0x249fa6[_0x2e63a6(0x1c2)]){case _0x32b62f[_0x2e63a6(0x498)][_0x2e63a6(0x39b)]:this[_0x2e63a6(0x1fb)](_0x249fa6),this[_0x2e63a6(0x43b)][_0x2e63a6(0x352)](_0x249fa6);break;case _0x32b62f[_0x2e63a6(0x498)][_0x2e63a6(0x1a9)]:this[_0x2e63a6(0x431)](_0x249fa6),this[_0x2e63a6(0x43b)]['next'](_0x249fa6);break;case _0x32b62f[_0x2e63a6(0x498)][_0x2e63a6(0x497)]:case _0x32b62f[_0x2e63a6(0x498)][_0x2e63a6(0x36a)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x2e63a6(0x249)](),this[_0x2e63a6(0x43b)][_0x2e63a6(0x352)](_0x249fa6);break;case _0x32b62f['CollaborationEvent'][_0x2e63a6(0x213)]:this[_0x2e63a6(0x2de)][_0x2e63a6(0x275)](_0x2e63a6(0x44a)+JSON[_0x2e63a6(0x1a3)](_0x249fa6)),this[_0x2e63a6(0x43b)][_0x2e63a6(0x352)](_0x249fa6);break;case _0x32b62f['CollaborationEvent'][_0x2e63a6(0x18a)]:this[_0x2e63a6(0x242)]['onCommentUpdate'](_0x249fa6[_0x2e63a6(0x4a8)]),this[_0x2e63a6(0x43b)][_0x2e63a6(0x352)](_0x249fa6);break;default:this[_0x2e63a6(0x43b)]['next'](_0x249fa6);}}catch(_0x2e86d9){this[_0x2e63a6(0x2de)][_0x2e63a6(0x275)](_0x2e86d9,_0x4554c2);}}[_0x46b6b2(0x1fb)](_0x477911){var _0x361859=_0x46b6b2;this['_memberService'][_0x361859(0x2c4)](this[_0x361859(0x1df)],_0x477911[_0x361859(0x4a8)]);}[_0x46b6b2(0x431)](_0x3f414c){var _0xa9c475=_0x46b6b2;this[_0xa9c475(0x34c)][_0xa9c475(0x3bc)](this[_0xa9c475(0x1df)],_0x3f414c[_0xa9c475(0x4a8)][_0xa9c475(0x207)]);}async[_0x46b6b2(0x306)](_0x27d24b,_0x4f5191){var _0x3c548a=_0x46b6b2;if(this[_0x3c548a(0x379)]!==0x3||!this[_0x3c548a(0x1e6)])throw new Error(_0x3c548a(0x165));try{_0x27d24b[_0x3c548a(0x1c2)]===_0x32b62f['CollaborationEvent'][_0x3c548a(0x157)]&&(this[_0x3c548a(0x2a3)](),this[_0x3c548a(0x464)](_0x27d24b)),this[_0x3c548a(0x1e6)][_0x3c548a(0x306)]({'cmd':_0x570e03['INGEST'],'routeKey':_0x4f5191,'routeType':'','data':_0x27d24b});}catch(_0x5a4354){this['_logService'][_0x3c548a(0x275)](_0x5a4354);}}[_0x46b6b2(0x2a3)](){var _0x3d3c31=_0x46b6b2,_0x49b592;this[_0x3d3c31(0x1fe)]=setTimeout(()=>{var _0xb02a5a=_0x3d3c31;this[_0xb02a5a(0x1fe)]=null,this[_0xb02a5a(0x33b)][_0xb02a5a(0x22e)]({'id':_0x56f493[_0xb02a5a(0x258)]});},(_0x49b592=this['_configService'][_0x3d3c31(0x236)](_0x3ea6df))!=null?_0x49b592:0x4e20);}[_0x46b6b2(0x249)](){var _0x16354e=_0x46b6b2;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x16354e(0x1fe)]),this['_collaborationTimeoutTimer']=null);}[_0x46b6b2(0x464)](_0x71ab26){if(!this['_shouldReportTelemetry'])return;const {data:_0x246e27}=_0x71ab26,{unitID:_0x3c94a2,changeset:_0x1412da}=_0x246e27,{mutations:_0xc5043d,type:_0x5baca7}=_0x1412da;this['_telemetryInfo']={'unitId':_0x3c94a2,'type':_0x5baca7,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x4e1c91(_0xc5043d)};}[_0x46b6b2(0x209)](){var _0x13a98b=_0x46b6b2;if(this['_shouldReportTelemetry']){if(!this[_0x13a98b(0x1e7)]){this[_0x13a98b(0x2de)][_0x13a98b(0x275)](_0x13a98b(0x1ba),_0x13a98b(0x406));return;}this[_0x13a98b(0x1e7)][_0x13a98b(0x493)]=performance[_0x13a98b(0x188)](),this[_0x13a98b(0x1e7)]['duration']=this[_0x13a98b(0x1e7)]['stopTime']-this[_0x13a98b(0x1e7)][_0x13a98b(0x17a)],this['_telemetryService'][_0x13a98b(0x2a2)](_0x485981,this[_0x13a98b(0x1e7)]),this['_telemetryInfo']=null;}}[_0x46b6b2(0x378)](){var _0xddb188=_0x46b6b2;this[_0xddb188(0x1e7)]=null;}},_0x8e59c3[_0x46b6b2(0x30b)]=_0x193db3([_0xf9a33(0x2,_0x2c51de[_0x46b6b2(0x160)]),_0xf9a33(0x3,_0x2c51de['IConfigService']),_0xf9a33(0x4,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x2e4)])),_0xf9a33(0x5,_0x2c51de[_0x46b6b2(0x281)](_0x8e59c3[_0x46b6b2(0x176)])),_0xf9a33(0x6,_0x2c51de['Inject'](_0x4e2814)),_0xf9a33(0x7,_0x2c51de[_0x46b6b2(0x281)](_0x4d9ca6)),_0xf9a33(0x8,_0x2c51de['Optional'](_0x590d8d[_0x46b6b2(0x2df)]))],_0x8e59c3[_0x46b6b2(0x30b)]);var _0x2e80df=Object[_0x46b6b2(0x313)],_0x4c13ed=(_0x428b2e,_0x64df57,_0x59b288,_0x50b5d6)=>{for(var _0x3ba5e1=_0x50b5d6>0x1?void 0x0:_0x50b5d6?_0x2e80df(_0x64df57,_0x59b288):_0x64df57,_0x3d3c41=_0x428b2e['length']-0x1,_0x521ad4;_0x3d3c41>=0x0;_0x3d3c41--)(_0x521ad4=_0x428b2e[_0x3d3c41])&&(_0x3ba5e1=_0x521ad4(_0x3ba5e1)||_0x3ba5e1);return _0x3ba5e1;},_0x5d05ab=(_0x1deeee,_0x37b625)=>(_0x3ba508,_0x209413)=>_0x37b625(_0x3ba508,_0x209413,_0x1deeee);_0x8e59c3[_0x46b6b2(0x2fa)]=class extends _0x2c51de[_0x46b6b2(0x311)]{constructor(_0x5a8cf4,_0x254ff8,_0x49ca98,_0x232236,_0x240476,_0x3a58e6){var _0x55f599=_0x46b6b2;super(),_0x433d55(this,'_socket$',new _0x338c92[(_0x55f599(0x2b2))](void 0x0)),_0x433d55(this,'socket$',this['_socket$']['asObservable']()),_0x433d55(this,'_candidateSocket',null),_0x433d55(this,_0x55f599(0x279),new Map()),_0x433d55(this,_0x55f599(0x2da),new _0x338c92[(_0x55f599(0x2b2))](_0x406ec9[_0x55f599(0x235)])),_0x433d55(this,_0x55f599(0x360),this[_0x55f599(0x2da)][_0x55f599(0x280)]()),_0x433d55(this,_0x55f599(0x4a1),!0x1),_0x433d55(this,'_retryConnectingTimer'),_0x433d55(this,'_retryCount',0x0),_0x433d55(this,_0x55f599(0x3a6)),_0x433d55(this,_0x55f599(0x2ea)),(this[_0x55f599(0x181)]=_0x5a8cf4,this[_0x55f599(0x2de)]=_0x254ff8,this[_0x55f599(0x457)]=_0x49ca98,this[_0x55f599(0x4c5)]=_0x232236,this['_collaborationUIEventService']=_0x240476,this[_0x55f599(0x486)]=_0x3a58e6,this[_0x55f599(0x37e)]());}get[_0x46b6b2(0x1e6)](){var _0x538156=_0x46b6b2;return this[_0x538156(0x150)][_0x538156(0x3e4)]();}[_0x46b6b2(0x37e)](){var _0x205c5e=_0x46b6b2;this[_0x205c5e(0x486)]&&this['disposeWithMe'](this[_0x205c5e(0x486)]['online$'][_0x205c5e(0x307)](_0x4919cc=>{var _0x47b1ad=_0x205c5e;_0x4919cc&&!this['_socket']&&this[_0x47b1ad(0x30f)](),_0x4919cc||this[_0x47b1ad(0x315)]();}));}[_0x46b6b2(0x18d)](){var _0x2b4d4a=_0x46b6b2;super[_0x2b4d4a(0x18d)](),this[_0x2b4d4a(0x3b3)](),this[_0x2b4d4a(0x267)](),this['_clearHeartbeatTimer'](),this[_0x2b4d4a(0x279)]['forEach'](_0x319f42=>_0x319f42['dispose']()),this['_sessions'][_0x2b4d4a(0x1ef)](),this[_0x2b4d4a(0x2da)][_0x2b4d4a(0x208)]();}async[_0x46b6b2(0x330)](_0x589672){var _0x242d08=_0x46b6b2;if(this[_0x242d08(0x279)][_0x242d08(0x47f)](_0x589672))return this[_0x242d08(0x279)][_0x242d08(0x1b6)](_0x589672);this[_0x242d08(0x262)]();const _0x58acee=this[_0x242d08(0x181)][_0x242d08(0x444)](_0x8e59c3['CollaborationSession'],_0x589672,this[_0x242d08(0x150)][_0x242d08(0x280)]());return this[_0x242d08(0x279)][_0x242d08(0x216)](_0x589672,_0x58acee),_0x58acee;}['closeSession'](_0x57ad30){var _0x16f8eb=_0x46b6b2,_0x10934b;const _0x2eefa7=this[_0x16f8eb(0x279)]['get'](_0x57ad30);_0x2eefa7&&(this[_0x16f8eb(0x279)][_0x16f8eb(0x3f8)](_0x57ad30),_0x2eefa7[_0x16f8eb(0x179)]()),this['_sessions']['size']||(_0x10934b=this[_0x16f8eb(0x1e6)])==null||_0x10934b['close']();}['reconnect'](){this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x46b6b2(0x3b3)](){this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x46b6b2(0x2ef)](){var _0x5dc306=_0x46b6b2,_0x2abdf0,_0x37e13a;const _0x3b8d1a=this[_0x5dc306(0x457)]['getConfig'](_0x3fad91),_0x5c3470=this['_configService'][_0x5dc306(0x236)](_0x2706a6),_0x49909b=(_0x37e13a=(_0x2abdf0=_0x5c3470==null?void 0x0:_0x5c3470['collabWebSocketUrl'])!=null?_0x2abdf0:_0x3b8d1a)!=null?_0x37e13a:_0x58873e,_0x27b015=await this[_0x5dc306(0x4c5)][_0x5dc306(0x346)](_0x49909b);return this['_candidateSocket']=_0x27b015,_0x27b015;}async[_0x46b6b2(0x262)](){var _0x3b8592=_0x46b6b2,_0xf1ed9e,_0x465f79;try{const _0x23bcb6=(_0x465f79=(_0xf1ed9e=this[_0x3b8592(0x1e6)])!=null?_0xf1ed9e:this[_0x3b8592(0x451)])!=null?_0x465f79:await this[_0x3b8592(0x2ef)]();if(_0x23bcb6){const _0x39390d=_0x23bcb6['send'];_0x23bcb6[_0x3b8592(0x306)]=_0x4a9d25=>(this[_0x3b8592(0x1ae)](),_0x39390d[_0x3b8592(0x1bf)](_0x23bcb6,[_0x4a9d25])),_0x23bcb6[_0x3b8592(0x351)][_0x3b8592(0x307)](_0x337617=>this['_onMessage'](_0x23bcb6,_0x337617)),_0x23bcb6[_0x3b8592(0x354)]['pipe'](_0x37eeae[_0x3b8592(0x1cc)](0x1))['subscribe'](_0x4c5ee4=>this[_0x3b8592(0x2de)][_0x3b8592(0x275)]('[CollaborationSessionService]:\x20socket\x20error',_0x4c5ee4)),_0x23bcb6['open$'][_0x3b8592(0x1c0)](_0x37eeae[_0x3b8592(0x1cc)](0x1))['subscribe'](()=>{var _0x20c891=_0x3b8592;this[_0x20c891(0x345)](_0x23bcb6);}),_0x23bcb6[_0x3b8592(0x25a)][_0x3b8592(0x1c0)](_0x37eeae[_0x3b8592(0x1cc)](0x1))[_0x3b8592(0x307)](_0x3f26bd=>{var _0xd04822=_0x3b8592;this['_logService'][_0xd04822(0x39c)](_0xd04822(0x217),_0xd04822(0x187),_0x3f26bd),this[_0xd04822(0x460)]();});}}catch(_0x3ff15d){this[_0x3b8592(0x2de)][_0x3b8592(0x275)](_0x3ff15d),this[_0x3b8592(0x460)]();}}[_0x46b6b2(0x345)](_0x5d4d99){var _0x1ac834=_0x46b6b2;this[_0x1ac834(0x2de)]['debug']('[CollaborationSessionService]',_0x1ac834(0x290)),_0x5d4d99['send']({'cmd':_0x570e03[_0x1ac834(0x43f)]}),this[_0x1ac834(0x1ae)]();}[_0x46b6b2(0x315)](){var _0x52f5cf=_0x46b6b2;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x52f5cf(0x352)](_0x406ec9['OFFLINE']),this[_0x52f5cf(0x150)][_0x52f5cf(0x352)](null),this[_0x52f5cf(0x267)](),this[_0x52f5cf(0x32d)]();}[_0x46b6b2(0x460)](){var _0x1fa5d7=_0x46b6b2,_0x2c339a;this['_onOffline'](),this[_0x1fa5d7(0x227)]<((_0x2c339a=this[_0x1fa5d7(0x457)][_0x1fa5d7(0x236)](_0x16707e))!=null?_0x2c339a:0x3)?(this[_0x1fa5d7(0x33b)][_0x1fa5d7(0x22e)]({'id':_0x56f493['SOCKET_FAILED_RETRY']}),this[_0x1fa5d7(0x272)]()):this[_0x1fa5d7(0x33b)]['emitEvent']({'id':_0x56f493[_0x1fa5d7(0x1f6)]});}['_tryReconnect'](){var _0x36baae=_0x46b6b2,_0x248fe1;const _0x17a989=this[_0x36baae(0x227)],_0x52e8eb=this[_0x36baae(0x457)][_0x36baae(0x236)](_0x2706a6),_0x14911d=_0x17a989===0x0?0x0:((_0x248fe1=_0x52e8eb==null?void 0x0:_0x52e8eb[_0x36baae(0x1ee)])!=null?_0x248fe1:0x4e20)*0x2**_0x17a989;this[_0x36baae(0x1e8)]=setTimeout(()=>{var _0x179f22=_0x36baae;clearTimeout(this[_0x179f22(0x1e8)]),this[_0x179f22(0x1e8)]=null,this[_0x179f22(0x262)]();},_0x14911d),this[_0x36baae(0x227)]+=0x1;}[_0x46b6b2(0x1bc)](_0x4c6249,_0x2d8a70){var _0x2cd336=_0x46b6b2;const {cmd:_0x4a86e5}=_0x2d8a70;_0x4a86e5===_0x570e03[_0x2cd336(0x43f)]&&!this[_0x2cd336(0x4a1)]&&(_0x4c6249['memberID']=_0x2d8a70[_0x2cd336(0x4a8)][_0x2cd336(0x207)],this[_0x2cd336(0x150)]['next'](_0x4c6249),this['_status$'][_0x2cd336(0x352)](_0x406ec9['ONLINE']),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x4a86e5===_0x570e03[_0x2cd336(0x2d1)]&&this['_clearTimeoutTimer'](),this[_0x2cd336(0x1ae)]();}[_0x46b6b2(0x1ae)](){var _0x55bfe5=_0x46b6b2,_0x3abe08;this[_0x55bfe5(0x32d)](),this[_0x55bfe5(0x3a6)]=setTimeout(()=>this[_0x55bfe5(0x440)](),(_0x3abe08=this['_configService'][_0x55bfe5(0x236)](_0x3a5106))!=null?_0x3abe08:0x7530);}[_0x46b6b2(0x440)](){var _0x1e4b9e=_0x46b6b2;this['_socket']['send']({'cmd':_0x570e03[_0x1e4b9e(0x2d1)]}),this[_0x1e4b9e(0x219)]();}[_0x46b6b2(0x219)](){var _0x4f7a3c=_0x46b6b2,_0x80991c;this[_0x4f7a3c(0x2ea)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x80991c=this[_0x4f7a3c(0x457)][_0x4f7a3c(0x236)](_0x3ea6df))!=null?_0x80991c:0x4e20);}[_0x46b6b2(0x32d)](){var _0x307540=_0x46b6b2;this[_0x307540(0x3a6)]!=null&&(clearTimeout(this[_0x307540(0x3a6)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x2bd9e7=_0x46b6b2;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x2bd9e7(0x2ea)]),this[_0x2bd9e7(0x2ea)]=null);}},_0x8e59c3['CollaborationSessionService']=_0x4c13ed([_0x5d05ab(0x0,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x263)])),_0x5d05ab(0x1,_0x2c51de[_0x46b6b2(0x160)]),_0x5d05ab(0x2,_0x2c51de[_0x46b6b2(0x480)]),_0x5d05ab(0x3,_0x1b1987),_0x5d05ab(0x4,_0x2c51de[_0x46b6b2(0x281)](_0x4d9ca6)),_0x5d05ab(0x5,_0x2c51de['Optional'](_0x6f7a99))],_0x8e59c3[_0x46b6b2(0x2fa)]);const _0x3a9769=_0x2c51de[_0x46b6b2(0x2b9)](_0x46b6b2(0x466));function _0x5752e1(_0x5f3fd1){var _0x2c5641=_0x46b6b2;return _0x2c5641(0x4b2)+_0x5f3fd1;}var _0x575711=Object[_0x46b6b2(0x313)],_0x4947ca=(_0x31cae7,_0x7422c2,_0x13841d,_0x34e1e0)=>{var _0x2ee971=_0x46b6b2;for(var _0x49887d=_0x34e1e0>0x1?void 0x0:_0x34e1e0?_0x575711(_0x7422c2,_0x13841d):_0x7422c2,_0x5180bf=_0x31cae7[_0x2ee971(0x3b7)]-0x1,_0x1009b3;_0x5180bf>=0x0;_0x5180bf--)(_0x1009b3=_0x31cae7[_0x5180bf])&&(_0x49887d=_0x1009b3(_0x49887d)||_0x49887d);return _0x49887d;},_0x3021c2=(_0x4f8eb9,_0x4d67e0)=>(_0x30d64d,_0x34b0ee)=>_0x4d67e0(_0x30d64d,_0x34b0ee,_0x4f8eb9);function _0x148b6f(_0x27889e){var _0x271e06=_0x46b6b2;const {unitID:_0x501c0f,mutations:_0x3ff6ac}=_0x27889e;return{'unitId':_0x501c0f,'subUnitId':_0x3ff6ac[0x0][_0x271e06(0x48f)]['subUnitId']};}_0x8e59c3[_0x46b6b2(0x141)]=class{constructor(_0x36593d,_0x2725fc,_0x35ead3){var _0xb133d9=_0x46b6b2;this['_injector']=_0x36593d,this['_transformService']=_0x2725fc,this[_0xb133d9(0x2fc)]=_0x35ead3;}[_0x46b6b2(0x448)](_0x56e63f){var _0x13d9e7=_0x46b6b2,_0x43cee5,_0x559617,_0x43b433,_0x373f50;const _0x5ba373=this[_0x13d9e7(0x181)][_0x13d9e7(0x1b6)](_0x136204[_0x13d9e7(0x36e)]),{unitId:_0x2dd9a0,subUnitId:_0x34581d}=_0x148b6f(_0x56e63f),_0x2db88e=_0x5ba373==null?void 0x0:_0x5ba373[_0x13d9e7(0x4a7)](_0x2dd9a0)[_0x13d9e7(0x14e)](),_0x1bc25d=(_0x559617=(_0x43cee5=this[_0x13d9e7(0x2fc)][_0x13d9e7(0x19e)](_0x2dd9a0))==null?void 0x0:_0x43cee5[_0x13d9e7(0x49d)]())==null?void 0x0:_0x559617['getSheetId']();if(_0x2db88e[_0x13d9e7(0x3b7)]===0x0||!_0x2dd9a0||!_0x34581d)return;const _0x378b41=[{'id':_0x136204[_0x13d9e7(0x2dd)]['id'],'params':{'unitId':_0x2dd9a0,'subUnitId':_0x1bc25d,'selections':_0x2c51de[_0x13d9e7(0x45d)][_0x13d9e7(0x23f)](_0x2db88e)}}],_0x2e0f9d=this[_0x13d9e7(0x385)][_0x13d9e7(0x3e0)](_0x56e63f,_0x378b41);if(!_0x32b62f[_0x13d9e7(0x310)](_0x2e0f9d))throw _0x2e0f9d['error'];const _0x2db95e=(_0x373f50=(_0x43b433=_0x2e0f9d[_0x13d9e7(0x435)][0x0])==null?void 0x0:_0x43b433['params'])==null?void 0x0:_0x373f50[_0x13d9e7(0x20c)];if(Array['isArray'](_0x2db95e)&&_0x2db95e[_0x13d9e7(0x3b7)]){if(_0x2db95e[_0x13d9e7(0x3b7)]===_0x378b41[0x0][_0x13d9e7(0x48f)]['selections'][_0x13d9e7(0x3b7)]&&_0x2db95e['every']((_0x1c2005,_0x433566)=>_0x2c51de[_0x13d9e7(0x4ae)]['equals'](_0x1c2005[_0x13d9e7(0x183)],_0x378b41[0x0][_0x13d9e7(0x48f)][_0x13d9e7(0x20c)][_0x433566]['range'])))return;this['_injector']['get'](_0x2c51de[_0x13d9e7(0x283)])[_0x13d9e7(0x3c1)](_0x136204[_0x13d9e7(0x2dd)]['id'],{'unitId':_0x2dd9a0,'subUnitId':_0x1bc25d,'selections':_0x2db95e});}}},_0x8e59c3[_0x46b6b2(0x141)]=_0x4947ca([_0x3021c2(0x0,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x263)])),_0x3021c2(0x1,_0x32b62f['ITransformService']),_0x3021c2(0x2,_0x2c51de[_0x46b6b2(0x2fb)])],_0x8e59c3['SheetTransformSelectionsService']);const _0x4e9081=_0x2c51de['createIdentifier'](_0x46b6b2(0x3b8));var _0x477d97=(_0x241c19=>(_0x241c19[_0x241c19[_0x46b6b2(0x255)]=0x0]=_0x46b6b2(0x255),_0x241c19[_0x241c19[_0x46b6b2(0x347)]=0x1]=_0x46b6b2(0x347),_0x241c19))(_0x477d97||{});const _0x1f3953=new Set([_0x136204[_0x46b6b2(0x192)]['id']]);function _0x1ec1c0(_0x1d0d1e,_0x866d0c,_0x1b301b,_0x189a37,_0x78e6a8){var _0x15dcc9=_0x46b6b2,_0x12c208,_0x48b085,_0x332a0d,_0x127d5d;const _0x4c61e1=[];for(const _0x1dff83 of _0x1d0d1e)if(_0x1f3953[_0x15dcc9(0x47f)](_0x1dff83['id'])){if(_0x4c61e1[_0x15dcc9(0x3b7)]>0x0)break;_0x4c61e1[_0x15dcc9(0x1a4)](_0x1dff83);break;}else _0x4c61e1[_0x15dcc9(0x1a4)](_0x1dff83);const _0x73819f=(_0x48b085=(_0x12c208=_0x78e6a8['getCurrentUser']())==null?void 0x0:_0x12c208[_0x15dcc9(0x322)])!=null?_0x48b085:_0x15dcc9(0x27a),_0x5201d9=(_0x127d5d=(_0x332a0d=_0x78e6a8[_0x15dcc9(0x342)]())==null?void 0x0:_0x332a0d['memberID'])!=null?_0x127d5d:_0x15dcc9(0x27a);return{'changeset':{'unitID':_0x866d0c,'type':_0x32b62f[_0x15dcc9(0x29d)](_0x1b301b[_0x15dcc9(0x3bb)](_0x866d0c)),'baseRev':_0x189a37['getCurrentRevOfUnit'](_0x866d0c),'revision':0x0,'userID':_0x73819f,'memberID':_0x5201d9,'mutations':_0x4c61e1},'pendingMutations':_0x1d0d1e['slice'](_0x4c61e1[_0x15dcc9(0x3b7)])};}function _0x41831d(_0x3f0fb6,_0x58928b,_0x24eda0,_0x5f506c,_0x6d056){var _0xb591e1=_0x46b6b2,_0x512fea,_0x911135,_0x2fd52d,_0x20818b;const _0x31d5fe=[_0x3f0fb6['reduce']((_0x166bf0,_0x1faf41)=>{var _0x5d51df=_0xaf58,_0x232dfb;const {id:_0x57222c}=_0x166bf0,{id:_0x350806,type:_0x52bb67}=_0x1faf41,_0x586310=(_0x232dfb=_0x166bf0[_0x5d51df(0x48f)])!=null?_0x232dfb:{'actions':null},_0x2e03d3=_0x1faf41[_0x5d51df(0x48f)];if(_0x57222c&&_0x57222c!==_0x350806)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x57222c+_0x5d51df(0x1ec)+_0x350806+'.');return{..._0x166bf0,'id':_0x350806,'type':_0x52bb67,'params':{'unitId':_0x2e03d3[_0x5d51df(0x4c9)],'textRanges':_0x2e03d3['textRanges'],'actions':_0x2c51de[_0x5d51df(0x359)][_0x5d51df(0x1d2)](_0x586310[_0x5d51df(0x2a5)],_0x2e03d3[_0x5d51df(0x2a5)])}};},{})],_0x5ac258=(_0x911135=(_0x512fea=_0x6d056['getCurrentUser']())==null?void 0x0:_0x512fea[_0xb591e1(0x322)])!=null?_0x911135:_0xb591e1(0x27a),_0x1e9c5b=(_0x20818b=(_0x2fd52d=_0x6d056['getCurrentUser']())==null?void 0x0:_0x2fd52d['memberID'])!=null?_0x20818b:_0xb591e1(0x27a);return{'changeset':{'unitID':_0x58928b,'type':_0x32b62f[_0xb591e1(0x29d)](_0x24eda0[_0xb591e1(0x3bb)](_0x58928b)),'baseRev':_0x5f506c[_0xb591e1(0x394)](_0x58928b),'revision':0x0,'userID':_0x5ac258,'memberID':_0x1e9c5b,'mutations':_0x31d5fe},'pendingMutations':[]};}function _0x3d18b5(_0x21bd38,_0x2ca015){var _0x36414b=_0x46b6b2;const _0x4fd0eb=new _0x338c92[(_0x36414b(0x456))](0x1);return setTimeout(()=>_0x4fd0eb[_0x36414b(0x352)](_0x2ca015),_0x21bd38),_0x4fd0eb[_0x36414b(0x280)]()[_0x36414b(0x1c0)](_0x338c92['take'](0x1));}const _0x529e27={'id':_0x136204[_0x46b6b2(0x196)]['id'],'type':_0x2c51de['CommandType']['MUTATION'],'params':{}};var _0x510104=Object['getOwnPropertyDescriptor'],_0x2086f4=(_0x3fd7b9,_0x4fb009,_0x5f1a38,_0x1b957f)=>{var _0x17db1a=_0x46b6b2;for(var _0x56f68f=_0x1b957f>0x1?void 0x0:_0x1b957f?_0x510104(_0x4fb009,_0x5f1a38):_0x4fb009,_0x15e33a=_0x3fd7b9[_0x17db1a(0x3b7)]-0x1,_0x31bd61;_0x15e33a>=0x0;_0x15e33a--)(_0x31bd61=_0x3fd7b9[_0x15e33a])&&(_0x56f68f=_0x31bd61(_0x56f68f)||_0x56f68f);return _0x56f68f;},_0x367452=(_0x33fa52,_0x4a55b4)=>(_0x3783a6,_0x34a52c)=>_0x4a55b4(_0x3783a6,_0x34a52c,_0x33fa52),_0x496fbd=(_0x403080=>(_0x403080[_0x46b6b2(0x206)]=_0x46b6b2(0x372),_0x403080['SYNCED']='synced',_0x403080['PENDING']=_0x46b6b2(0x343),_0x403080[_0x46b6b2(0x33f)]=_0x46b6b2(0x3cf),_0x403080[_0x46b6b2(0x29f)]=_0x46b6b2(0x2ff),_0x403080['FETCH_MISS']='fetch_missing',_0x403080[_0x46b6b2(0x2dc)]=_0x46b6b2(0x33d),_0x403080[_0x46b6b2(0x2d8)]='offline',_0x403080))(_0x496fbd||{});const _0x482728=0xea60;class _0x263dcc{constructor(_0xdd9293,_0x167b08,_0x4a0221,_0x1731e2,_0x434bcc,_0x2ab20f,_0x386d4a,_0x2c11fd,_0x11fe4c){var _0x32e8fe=_0x46b6b2;_0x433d55(this,_0x32e8fe(0x19f),null),_0x433d55(this,_0x32e8fe(0x1cb),[]),(this[_0x32e8fe(0x3c2)]=_0xdd9293,this[_0x32e8fe(0x320)]=_0x167b08,this[_0x32e8fe(0x3d1)]=_0x434bcc,this[_0x32e8fe(0x17e)]=_0x2ab20f,this[_0x32e8fe(0x3cd)]=_0x386d4a,this[_0x32e8fe(0x1e5)]=_0x2c11fd,this[_0x32e8fe(0x481)]=_0x11fe4c,this[_0x32e8fe(0x19f)]=_0x4a0221,this[_0x32e8fe(0x1cb)]=_0x1731e2);}['_checkMissing'](_0x1e5f1f){var _0x30f2a5=_0x46b6b2;const _0x4428bc=this[_0x30f2a5(0x1e5)][_0x30f2a5(0x394)](this[_0x30f2a5(0x3c2)]);return _0x1e5f1f[_0x30f2a5(0x4c0)]>_0x4428bc+0x1?(this[_0x30f2a5(0x3d1)]['onMissingChangesets']({'from':_0x4428bc,'to':_0x1e5f1f[_0x30f2a5(0x4c0)]-0x1}),!0x0):!0x1;}[_0x46b6b2(0x1ce)](_0x2b8036){var _0x347352=_0x46b6b2;this[_0x347352(0x3cd)][_0x347352(0x191)](this[_0x347352(0x3c2)],_0x2b8036);}[_0x46b6b2(0x386)](_0x10acad){var _0x3eef2a=_0x46b6b2,_0x413363,_0xf0d9cd;(_0xf0d9cd=(_0x413363=this[_0x3eef2a(0x3d1)])[_0x3eef2a(0x4cb)])==null||_0xf0d9cd['call'](_0x413363,_0x10acad);}['_transformIMECache'](_0x2001d4){var _0x5c8fb6=_0x46b6b2,_0x31fe9c,_0xeeb955;return(_0xeeb955=(_0x31fe9c=this[_0x5c8fb6(0x3d1)])['onTransformIME'])==null?void 0x0:_0xeeb955[_0x5c8fb6(0x39a)](_0x31fe9c,_0x2001d4);}[_0x46b6b2(0x370)](_0x866b33){var _0x249dc6=_0x46b6b2,_0x223107,_0x1afde7;return(_0x1afde7=(_0x223107=this['_handler'])[_0x249dc6(0x321)])==null?void 0x0:_0x1afde7[_0x249dc6(0x39a)](_0x223107,_0x866b33);}[_0x46b6b2(0x1b0)](_0xda7ff1){var _0x36d695=_0x46b6b2,_0x58bb8c,_0x52cade,_0x7a75e1;return(_0x7a75e1=(_0x52cade=(_0x58bb8c=this[_0x36d695(0x3d1)])[_0x36d695(0x367)])==null?void 0x0:_0x52cade[_0x36d695(0x39a)](_0x58bb8c,_0xda7ff1))!=null?_0x7a75e1:_0xda7ff1;}[_0x46b6b2(0x34e)](_0x47b841){var _0x491534=_0x46b6b2,_0x51be73,_0x52be41,_0x537df8;return(_0x537df8=(_0x52be41=(_0x51be73=this['_handler'])[_0x491534(0x420)])==null?void 0x0:_0x52be41[_0x491534(0x39a)](_0x51be73,_0x47b841))!=null?_0x537df8:_0x47b841;}[_0x46b6b2(0x319)](_0x27bea6){var _0x910cf9=_0x46b6b2,_0x183a10,_0x19be76;if(this[_0x910cf9(0x320)]===_0x284dcc['UNIVER_DOC']){const {unitID:_0x25530c,mutations:_0x427110,memberID:_0x34abc6}=_0x27bea6,_0x134b36=_0x427110[0x0][_0x910cf9(0x48f)]['textRanges'];Array[_0x910cf9(0x418)](_0x134b36)&&_0x134b36['length']>0x0&&((_0x19be76=(_0x183a10=this[_0x910cf9(0x3d1)])['onSyncEditingCollabCursor'])==null||_0x19be76[_0x910cf9(0x39a)](_0x183a10,{'unitID':_0x25530c,'memberID':_0x34abc6,'textRanges':_0x134b36}));}}['_updateLocalCache'](){var _0x510280=_0x46b6b2,_0x56e79f;(_0x56e79f=this[_0x510280(0x481)])==null||_0x56e79f['updateOfflineData'](this[_0x510280(0x3c2)],this['type'],this[_0x510280(0x19f)],this[_0x510280(0x1cb)]);}[_0x46b6b2(0x1ff)](){var _0x68effc=_0x46b6b2;return this[_0x68effc(0x1e5)]['getCurrentRevOfUnit'](this['unitID']);}[_0x46b6b2(0x145)](){var _0x1a3a3a=_0x46b6b2;this[_0x1a3a3a(0x1e5)][_0x1a3a3a(0x1b5)](this[_0x1a3a3a(0x3c2)]);}['_executeRemoteChangeset'](_0x32fb1d){var _0x57991a=_0x46b6b2,_0x5f02eb;let _0x440bdf=this['_transformRemoteChangesetByIMECache'](_0x32fb1d);_0x440bdf=this['_transformRemoteChangesetByStateCache'](_0x440bdf);const _0x5a5778=_0x2c51de[_0x57991a(0x2e1)](_0x440bdf[_0x57991a(0x31c)],this[_0x57991a(0x17e)],{'fromCollab':!0x0});if(!_0x5a5778[_0x57991a(0x40d)])throw _0x5a5778[_0x57991a(0x275)]instanceof Error?_0x5a5778[_0x57991a(0x275)]:new Error((_0x5f02eb=_0x5a5778['error'])!=null?_0x5f02eb:_0x57991a(0x2f2));this[_0x57991a(0x368)](_0x440bdf),this[_0x57991a(0x370)](_0x440bdf),this[_0x57991a(0x1ce)](_0x32fb1d),this['_transformSelections'](_0x440bdf),this[_0x57991a(0x319)](_0x440bdf),this[_0x57991a(0x145)]();}}_0x8e59c3[_0x46b6b2(0x4bf)]=class extends _0x263dcc{constructor(_0x50cd37,_0x1e7198,_0x38dee2,_0x212139,_0x4412fc,_0x20a0b4,_0x22f5b4,_0x1916f1,_0x3cb8f8,_0x546950){var _0x250925=_0x46b6b2;super(_0x50cd37,_0x1e7198,null,[],_0x38dee2,_0x22f5b4,_0x20a0b4,_0x212139,_0x546950),_0x433d55(this,_0x250925(0x38d),'synced'),(this[_0x250925(0x181)]=_0x4412fc,this[_0x250925(0x2de)]=_0x1916f1,this[_0x250925(0x385)]=_0x3cb8f8,this[_0x250925(0x361)]=_0x546950);}['appendMutation'](_0x2746bb){var _0x6b41f5=_0x46b6b2;const _0x55345f=this[_0x6b41f5(0x181)][_0x6b41f5(0x444)](_0x8e59c3['PendingState'],this['unitID'],this[_0x6b41f5(0x320)],[_0x2746bb],this['_handler']);return _0x55345f[_0x6b41f5(0x3de)](),_0x55345f[_0x6b41f5(0x45c)](),_0x55345f;}[_0x46b6b2(0x38f)](_0x2e6349){var _0x21ccc0=_0x46b6b2;if(this[_0x21ccc0(0x3a9)](_0x2e6349))return this[_0x21ccc0(0x181)]['createInstance'](_0x8e59c3['FetchingMissState'],this[_0x21ccc0(0x3c2)],this[_0x21ccc0(0x320)],null,[],null,[_0x2e6349],this[_0x21ccc0(0x3d1)]);try{const _0x5a2c5d=this[_0x21ccc0(0x385)][_0x21ccc0(0x3e0)](_0x2e6349,[_0x529e27]);if(_0x32b62f[_0x21ccc0(0x310)](_0x5a2c5d)){const {c1Prime:_0x5cadf5}=_0x5a2c5d;return this[_0x21ccc0(0x1c5)](_0x5cadf5),this;}throw _0x5a2c5d[_0x21ccc0(0x275)];}catch(_0x111896){return this[_0x21ccc0(0x2de)][_0x21ccc0(0x275)](_0x111896),this[_0x21ccc0(0x349)](!0x1);}}[_0x46b6b2(0x349)](_0x47fcb0){var _0x32de9e=_0x46b6b2;return this['_injector'][_0x32de9e(0x444)](_0x8e59c3[_0x32de9e(0x172)],this[_0x32de9e(0x3c2)],this[_0x32de9e(0x320)],null,[],this[_0x32de9e(0x3d1)],_0x47fcb0);}[_0x46b6b2(0x314)](){var _0x3645a8=_0x46b6b2;throw new Error(_0x3645a8(0x3ab));}['onRemoteRej'](){var _0x297bda=_0x46b6b2;throw new Error(_0x297bda(0x4ba));}[_0x46b6b2(0x363)](){return this;}['toggleOffline'](){var _0xa6c38f=_0x46b6b2;return this[_0xa6c38f(0x181)][_0xa6c38f(0x444)](_0x8e59c3[_0xa6c38f(0x31e)],this[_0xa6c38f(0x3c2)],this[_0xa6c38f(0x320)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x46b6b2(0x356)](){var _0x50222f=_0x46b6b2;throw new Error(_0x50222f(0x212));}[_0x46b6b2(0x333)](){var _0x6ab68f=_0x46b6b2;const _0x30f9e8=this['_revisionService'][_0x6ab68f(0x394)](this[_0x6ab68f(0x3c2)]);return this[_0x6ab68f(0x3d1)]['onMissingChangesets']({'from':_0x30f9e8,'to':0x0}),this[_0x6ab68f(0x181)]['createInstance'](_0x8e59c3['FetchingMissState'],this[_0x6ab68f(0x3c2)],this[_0x6ab68f(0x320)],null,[],null,[],this[_0x6ab68f(0x3d1)]);}},_0x8e59c3[_0x46b6b2(0x4bf)]=_0x2086f4([_0x367452(0x3,_0x2c51de[_0x46b6b2(0x281)](_0x32b62f[_0x46b6b2(0x3a8)])),_0x367452(0x4,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x263)])),_0x367452(0x5,_0x2c51de[_0x46b6b2(0x195)]),_0x367452(0x6,_0x2c51de['ICommandService']),_0x367452(0x7,_0x2c51de[_0x46b6b2(0x160)]),_0x367452(0x8,_0x32b62f[_0x46b6b2(0x1a0)]),_0x367452(0x9,_0x2c51de[_0x46b6b2(0x1b4)](_0x3a9769))],_0x8e59c3[_0x46b6b2(0x4bf)]),_0x8e59c3[_0x46b6b2(0x23e)]=class extends _0x263dcc{constructor(_0x4281c3,_0x52e8a8,_0x2f4542,_0x4836d2,_0x23f64c,_0x4d0023,_0x502fb9,_0x325360,_0x26fcee,_0x273037,_0x18b371,_0x59dff3,_0x26b455,_0x30b9d4){var _0x47e358=_0x46b6b2;super(_0x4281c3,_0x52e8a8,null,_0x2f4542,_0x4836d2,_0x26fcee,_0x26b455,_0x4d0023,_0x30b9d4),_0x433d55(this,_0x47e358(0x38d),'pending'),_0x433d55(this,_0x47e358(0x328),null),_0x433d55(this,'_sendingTimer',null),(this['_injector']=_0x23f64c,this[_0x47e358(0x34c)]=_0x502fb9,this[_0x47e358(0x2de)]=_0x325360,this['_configService']=_0x273037,this[_0x47e358(0x385)]=_0x18b371,this[_0x47e358(0x3eb)]=_0x59dff3);}[_0x46b6b2(0x270)](_0x25215b){var _0x12bae0=_0x46b6b2;return this[_0x12bae0(0x1cb)][_0x12bae0(0x1a4)](_0x25215b),this['_updateLocalCache'](),this;}[_0x46b6b2(0x38f)](_0x3acf85){var _0xc71785=_0x46b6b2;if(this[_0xc71785(0x3a9)](_0x3acf85))return this['_clearScheduledTask'](),this[_0xc71785(0x181)]['createInstance'](_0x8e59c3['FetchingMissState'],this[_0xc71785(0x3c2)],this[_0xc71785(0x320)],null,this[_0xc71785(0x1cb)],null,[_0x3acf85],this[_0xc71785(0x3d1)]);try{const _0x5f1018=this['_transformService']['transformMutationsWithChangeset'](_0x3acf85,this[_0xc71785(0x1cb)]);if(_0x32b62f[_0xc71785(0x310)](_0x5f1018)){const {c1Prime:_0x536049,m2Prime:_0x61c416}=_0x5f1018;this[_0xc71785(0x1c5)](_0x536049);const _0x3ca92a=this['_injector'][_0xc71785(0x444)](_0x8e59c3['PendingState'],this[_0xc71785(0x3c2)],this['type'],_0x61c416,this['_handler']);this[_0xc71785(0x30e)]();const _0x144dd1=new Date()[_0xc71785(0x2d4)](),_0x5a1813=this[_0xc71785(0x328)]?Math['max'](this[_0xc71785(0x328)]-_0x144dd1,0x0):this[_0xc71785(0x14b)]();return _0x3ca92a[_0xc71785(0x3de)](_0x5a1813),_0x3ca92a;}throw _0x5f1018['error'];}catch(_0x31e627){return this[_0xc71785(0x2de)][_0xc71785(0x275)](_0x31e627),this[_0xc71785(0x349)](!0x1);}}[_0x46b6b2(0x314)](){var _0x56031e=_0x46b6b2;throw new Error(_0x56031e(0x4a4));}[_0x46b6b2(0x3fc)](){var _0x88dded=_0x46b6b2;throw new Error(_0x88dded(0x3aa));}[_0x46b6b2(0x363)](){return this;}[_0x46b6b2(0x39d)](){var _0x441e87=_0x46b6b2;return this[_0x441e87(0x30e)](),this[_0x441e87(0x181)][_0x441e87(0x444)](_0x8e59c3[_0x441e87(0x31e)],this[_0x441e87(0x3c2)],this[_0x441e87(0x320)],null,this[_0x441e87(0x1cb)],this[_0x441e87(0x3d1)]);}[_0x46b6b2(0x1f2)](){return this;}[_0x46b6b2(0x3de)](_0x4b365d){var _0x4ff7ce=_0x46b6b2;const _0x52503a=_0x4b365d!=null?_0x4b365d:this[_0x4ff7ce(0x14b)]();this[_0x4ff7ce(0x328)]=new Date()['getTime']()+_0x52503a,this[_0x4ff7ce(0x472)]=setTimeout(()=>{var _0x4a480d=_0x4ff7ce;this[_0x4a480d(0x30e)]();let _0x1506c7=null;switch(this['type']){case _0x284dcc[_0x4a480d(0x29b)]:{_0x1506c7=_0x1ec1c0(this[_0x4a480d(0x1cb)],this[_0x4a480d(0x3c2)],this[_0x4a480d(0x3eb)],this[_0x4a480d(0x1e5)],this[_0x4a480d(0x34c)]);break;}case _0x284dcc[_0x4a480d(0x2d0)]:{this[_0x4a480d(0x1cb)][_0x4a480d(0x47d)](_0x2d430b=>_0x2d430b['id']===_0x451245['RichTextEditingMutation']['id'])?_0x1506c7=_0x41831d(this[_0x4a480d(0x1cb)],this[_0x4a480d(0x3c2)],this[_0x4a480d(0x3eb)],this[_0x4a480d(0x1e5)],this[_0x4a480d(0x34c)]):_0x1506c7=_0x1ec1c0(this[_0x4a480d(0x1cb)],this['unitID'],this['_univerInstanceService'],this[_0x4a480d(0x1e5)],this[_0x4a480d(0x34c)]);break;}default:throw new Error(_0x4a480d(0x2d5)+this['type']+_0x4a480d(0x2f0));}const {changeset:_0x119a45,pendingMutations:_0x2254c}=_0x1506c7;this[_0x4a480d(0x3d1)][_0x4a480d(0x490)](_0x119a45);const _0x387511=_0x2254c[_0x4a480d(0x3b7)]?this[_0x4a480d(0x181)][_0x4a480d(0x444)](_0x8e59c3[_0x4a480d(0x30d)],this[_0x4a480d(0x3c2)],this['type'],_0x119a45,_0x2254c,this[_0x4a480d(0x3d1)],void 0x0):this[_0x4a480d(0x181)][_0x4a480d(0x444)](_0x8e59c3[_0x4a480d(0x42b)],this[_0x4a480d(0x3c2)],this[_0x4a480d(0x320)],_0x119a45,this[_0x4a480d(0x3d1)]);_0x387511['_updateLocalCache'](),this[_0x4a480d(0x3d1)]['onStateChange'](this,_0x387511);},_0x52503a);}[_0x46b6b2(0x14b)](){var _0x2e826e=_0x46b6b2,_0x1f2664;const _0x13910a=this[_0x2e826e(0x457)][_0x2e826e(0x236)](_0x2706a6);return(_0x1f2664=_0x13910a==null?void 0x0:_0x13910a[_0x2e826e(0x473)])!=null?_0x1f2664:0x7d0;}[_0x46b6b2(0x356)](){var _0x419aab=_0x46b6b2;throw new Error(_0x419aab(0x197));}[_0x46b6b2(0x30e)](){var _0x56ebc7=_0x46b6b2;this[_0x56ebc7(0x472)]!=null&&(clearTimeout(this[_0x56ebc7(0x472)]),this[_0x56ebc7(0x472)]=null);}[_0x46b6b2(0x349)](_0x413dc4){var _0x57ac61=_0x46b6b2;return this[_0x57ac61(0x30e)](),this[_0x57ac61(0x181)][_0x57ac61(0x444)](_0x8e59c3[_0x57ac61(0x172)],this[_0x57ac61(0x3c2)],this[_0x57ac61(0x320)],null,this[_0x57ac61(0x1cb)],this[_0x57ac61(0x3d1)],_0x413dc4);}},_0x8e59c3[_0x46b6b2(0x23e)]=_0x2086f4([_0x367452(0x4,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x263)])),_0x367452(0x5,_0x2c51de[_0x46b6b2(0x281)](_0x32b62f[_0x46b6b2(0x3a8)])),_0x367452(0x6,_0x2c51de['Inject'](_0x8e59c3[_0x46b6b2(0x176)])),_0x367452(0x7,_0x2c51de[_0x46b6b2(0x160)]),_0x367452(0x8,_0x2c51de['ICommandService']),_0x367452(0x9,_0x2c51de[_0x46b6b2(0x480)]),_0x367452(0xa,_0x32b62f[_0x46b6b2(0x1a0)]),_0x367452(0xb,_0x2c51de[_0x46b6b2(0x2fb)]),_0x367452(0xc,_0x2c51de[_0x46b6b2(0x195)]),_0x367452(0xd,_0x2c51de['Optional'](_0x3a9769))],_0x8e59c3[_0x46b6b2(0x23e)]),_0x8e59c3[_0x46b6b2(0x42b)]=class extends _0x263dcc{constructor(_0x53e17f,_0x366458,_0x41aa29,_0x308ef9,_0x42fb04,_0x1e2116,_0x549eab,_0x2d9bf5,_0x152b8a,_0x217016,_0x25d69e){var _0x253299=_0x46b6b2;super(_0x53e17f,_0x366458,_0x41aa29,[],_0x308ef9,_0x549eab,_0x217016,_0x1e2116,_0x25d69e),_0x433d55(this,_0x253299(0x38d),_0x253299(0x3cf)),_0x433d55(this,_0x253299(0x1db),0x0),_0x433d55(this,'_resendTimer'),_0x433d55(this,_0x253299(0x3ad)),(this['_injector']=_0x42fb04,this['_logService']=_0x2d9bf5,this[_0x253299(0x385)]=_0x152b8a);}['appendMutation'](_0x1431b0){var _0x4f867c=_0x46b6b2;this['_clearScheduledTask']();const _0x24bbe5=this[_0x4f867c(0x181)][_0x4f867c(0x444)](_0x8e59c3[_0x4f867c(0x30d)],this[_0x4f867c(0x3c2)],this['type'],this[_0x4f867c(0x19f)],[_0x1431b0],this[_0x4f867c(0x3d1)],this['_resendTimer']);return _0x24bbe5[_0x4f867c(0x45c)](),_0x24bbe5;}[_0x46b6b2(0x38f)](_0x598110){var _0x366bfb=_0x46b6b2;if(this[_0x366bfb(0x3a9)](_0x598110))return this[_0x366bfb(0x30e)](),this['_injector']['createInstance'](_0x8e59c3[_0x366bfb(0x42a)],this[_0x366bfb(0x3c2)],this[_0x366bfb(0x320)],this[_0x366bfb(0x19f)],[],null,[_0x598110],this[_0x366bfb(0x3d1)]);try{const _0x1b5159=this[_0x366bfb(0x385)][_0x366bfb(0x214)]([_0x598110],[this[_0x366bfb(0x19f)]],!0x1);if(_0x32b62f[_0x366bfb(0x393)](_0x1b5159)){const {c1Prime:_0x16dc85,c2Prime:_0x1a5fcb}=_0x1b5159;this[_0x366bfb(0x1c5)](_0x16dc85[0x0]),_0x1a5fcb[0x0][_0x366bfb(0x184)]=this[_0x366bfb(0x1ff)](),this[_0x366bfb(0x30e)]();const _0x320e7d=this[_0x366bfb(0x181)][_0x366bfb(0x444)](_0x8e59c3['AwaitingState'],this['unitID'],this['type'],_0x1a5fcb[0x0],this[_0x366bfb(0x3d1)]);return _0x320e7d[_0x366bfb(0x45c)](),_0x320e7d;}return this['_onConflict'](!0x1);}catch(_0x41ffec){return this[_0x366bfb(0x2de)][_0x366bfb(0x275)](_0x41ffec),this[_0x366bfb(0x349)](!0x1);}}['onRemoteAck'](_0x191e20){var _0x51f202=_0x46b6b2;this[_0x51f202(0x30e)]();const _0x4598d6=this[_0x51f202(0x1e5)][_0x51f202(0x394)](this[_0x51f202(0x3c2)]);if(_0x191e20[_0x51f202(0x4c0)]<_0x4598d6-0x1)return this;if(this[_0x51f202(0x3a9)](_0x191e20))return this[_0x51f202(0x181)]['createInstance'](_0x8e59c3[_0x51f202(0x42a)],this['unitID'],this[_0x51f202(0x320)],null,[],this[_0x51f202(0x19f)],[],this[_0x51f202(0x3d1)]);this[_0x51f202(0x145)]();const _0x582430=this[_0x51f202(0x181)][_0x51f202(0x444)](_0x8e59c3[_0x51f202(0x4bf)],this['unitID'],this[_0x51f202(0x320)],this[_0x51f202(0x3d1)]);return _0x582430[_0x51f202(0x45c)](),_0x582430;}[_0x46b6b2(0x3fc)](_0x56f5f1){var _0x4a3a41=_0x46b6b2;return this[_0x4a3a41(0x349)](!!(_0x56f5f1!=null&&_0x56f5f1['isPermissionRej']));}[_0x46b6b2(0x363)](_0x274018){var _0x32c537=_0x46b6b2;return this[_0x32c537(0x1db)]>_0x482728?this[_0x32c537(0x39d)]():(this[_0x32c537(0x286)]=_0x3d18b5(this[_0x32c537(0x1db)],{'timeout':this['_resendTimeout'],'reqId':_0x274018[_0x32c537(0x2b0)]}),this['_sender']=this[_0x32c537(0x286)][_0x32c537(0x307)](({reqId:_0xa15d01,timeout:_0x5350da})=>{var _0x6c6844=_0x32c537;this[_0x6c6844(0x18b)](_0xa15d01,_0x5350da);}),this);}[_0x46b6b2(0x39d)](){var _0x2e0dbc=_0x46b6b2;return this[_0x2e0dbc(0x30e)](),this[_0x2e0dbc(0x181)][_0x2e0dbc(0x444)](_0x8e59c3[_0x2e0dbc(0x31e)],this['unitID'],this[_0x2e0dbc(0x320)],this['_awaitingChangeset'],[],this[_0x2e0dbc(0x3d1)]);}[_0x46b6b2(0x1f2)](){return this;}[_0x46b6b2(0x356)](){var _0x44a822=_0x46b6b2;this[_0x44a822(0x3d1)][_0x44a822(0x490)](this[_0x44a822(0x19f)]);}[_0x46b6b2(0x349)](_0x14b72c){var _0x7560e6=_0x46b6b2;return this[_0x7560e6(0x30e)](),this[_0x7560e6(0x181)][_0x7560e6(0x444)](_0x8e59c3[_0x7560e6(0x172)],this['unitID'],this[_0x7560e6(0x320)],this[_0x7560e6(0x19f)],[],this[_0x7560e6(0x3d1)],_0x14b72c);}[_0x46b6b2(0x18b)](_0x2fe85b,_0x23acc5){var _0x33e60e=_0x46b6b2,_0x2b5b7e;_0x2fe85b===((_0x2b5b7e=this['_awaitingChangeset'])==null?void 0x0:_0x2b5b7e['reqId'])&&(this[_0x33e60e(0x356)](),this[_0x33e60e(0x1db)]=_0x23acc5===0x0?0x3e8:_0x23acc5*0x2);}[_0x46b6b2(0x30e)](){var _0x533e7a=_0x46b6b2,_0x366fc1;(_0x366fc1=this[_0x533e7a(0x3ad)])==null||_0x366fc1[_0x533e7a(0x224)](),this['_resendTimeout']=0x0;}},_0x8e59c3[_0x46b6b2(0x42b)]=_0x2086f4([_0x367452(0x4,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x263)])),_0x367452(0x5,_0x2c51de['Inject'](_0x32b62f[_0x46b6b2(0x3a8)])),_0x367452(0x6,_0x2c51de[_0x46b6b2(0x283)]),_0x367452(0x7,_0x2c51de[_0x46b6b2(0x160)]),_0x367452(0x8,_0x32b62f[_0x46b6b2(0x1a0)]),_0x367452(0x9,_0x2c51de[_0x46b6b2(0x195)]),_0x367452(0xa,_0x2c51de[_0x46b6b2(0x1b4)](_0x3a9769))],_0x8e59c3[_0x46b6b2(0x42b)]),_0x8e59c3['AwaitingWithPendingState']=class extends _0x263dcc{constructor(_0x1194d5,_0x4a8950,_0x4bfae8,_0x30ec88,_0x2a8b3d,_0x596511,_0x4a1f52,_0x416c5a,_0x4fdba8,_0x25d6b9,_0x38abf3,_0x3bd5b0,_0xe2adca){var _0x2496d5=_0x46b6b2;super(_0x1194d5,_0x4a8950,_0x4bfae8,_0x30ec88,_0x2a8b3d,_0x4fdba8,_0x3bd5b0,_0x416c5a,_0xe2adca),_0x433d55(this,_0x2496d5(0x38d),'awaiting_with_pending'),_0x433d55(this,_0x2496d5(0x1db),0x0),_0x433d55(this,_0x2496d5(0x286)),_0x433d55(this,_0x2496d5(0x3ad)),(this[_0x2496d5(0x181)]=_0x4a1f52,this[_0x2496d5(0x2de)]=_0x25d6b9,this[_0x2496d5(0x385)]=_0x38abf3,this[_0x2496d5(0x361)]=_0xe2adca,_0x596511&&(this['_resendTimer']=_0x596511,this[_0x2496d5(0x3ad)]=this[_0x2496d5(0x286)]['subscribe'](({reqId:_0x2ef8c2,timeout:_0xef0446})=>{this['_resendWithTimeout'](_0x2ef8c2,_0xef0446);})));}[_0x46b6b2(0x270)](_0x27cc1c){var _0x5f119a=_0x46b6b2;return this[_0x5f119a(0x1cb)][_0x5f119a(0x1a4)](_0x27cc1c),this;}['onRemoteChangeset'](_0xcc487e){var _0x205954=_0x46b6b2;if(this[_0x205954(0x3a9)](_0xcc487e))return this[_0x205954(0x30e)](),this['_injector'][_0x205954(0x444)](_0x8e59c3['FetchingMissState'],this[_0x205954(0x3c2)],this[_0x205954(0x320)],this['_awaitingChangeset'],this[_0x205954(0x1cb)],null,[_0xcc487e],this[_0x205954(0x3d1)]);try{const _0x129c67=this[_0x205954(0x385)][_0x205954(0x214)]([_0xcc487e],[this['_awaitingChangeset']],!0x1);if(_0x32b62f['isTransformChangesetsSuccess'](_0x129c67)){const {c1Prime:_0x3ae293,c2Prime:_0x17df20}=_0x129c67,_0x2a4560=this[_0x205954(0x385)][_0x205954(0x3e0)](_0x3ae293[0x0],this['_pendingMutations']);if(_0x32b62f['isTransformMutationsWithChangesetSuccess'](_0x2a4560)){const {c1Prime:_0x487324,m2Prime:_0x536f97}=_0x2a4560;return this[_0x205954(0x1c5)](_0x487324),_0x17df20[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x205954(0x181)][_0x205954(0x444)](_0x8e59c3[_0x205954(0x30d)],this[_0x205954(0x3c2)],this[_0x205954(0x320)],_0x17df20[0x0],_0x536f97,this[_0x205954(0x3d1)],void 0x0);}throw _0x2a4560[_0x205954(0x275)];}throw _0x129c67[_0x205954(0x275)];}catch(_0x6336a7){return this[_0x205954(0x2de)][_0x205954(0x275)](_0x6336a7),this[_0x205954(0x349)](!0x1);}}[_0x46b6b2(0x314)](_0x620333){var _0x2194e5=_0x46b6b2;if(this['_clearScheduledTask'](),this[_0x2194e5(0x3a9)](_0x620333))return this[_0x2194e5(0x181)]['createInstance'](_0x8e59c3['FetchingMissState'],this['unitID'],this[_0x2194e5(0x320)],null,this['_pendingMutations'],this[_0x2194e5(0x19f)],[],this['_handler']);this[_0x2194e5(0x145)]();const _0x3c5bc9=this[_0x2194e5(0x181)][_0x2194e5(0x444)](_0x8e59c3['PendingState'],this[_0x2194e5(0x3c2)],this[_0x2194e5(0x320)],this['_pendingMutations'],this[_0x2194e5(0x3d1)]);return _0x3c5bc9['_schedule'](),_0x3c5bc9[_0x2194e5(0x45c)](),_0x3c5bc9;}[_0x46b6b2(0x3fc)](_0x1f9c38){var _0x48e4f0=_0x46b6b2;return this[_0x48e4f0(0x349)](!!(_0x1f9c38!=null&&_0x1f9c38['isPermissionRej']));}['onRemoteRetry'](_0x39846e){var _0x23bca0=_0x46b6b2;return this[_0x23bca0(0x1db)]>_0x482728?this['toggleOffline']():(this[_0x23bca0(0x286)]=_0x3d18b5(this[_0x23bca0(0x1db)],{'timeout':this[_0x23bca0(0x1db)],'reqId':_0x39846e[_0x23bca0(0x2b0)]}),this[_0x23bca0(0x3ad)]=this[_0x23bca0(0x286)]['subscribe'](({reqId:_0x4e102b,timeout:_0x67ea17})=>{var _0x4e2e40=_0x23bca0;this[_0x4e2e40(0x18b)](_0x4e102b,_0x67ea17);}),this);}[_0x46b6b2(0x39d)](){var _0x4adf4a=_0x46b6b2;return this['_clearScheduledTask'](),this['_injector'][_0x4adf4a(0x444)](_0x8e59c3['OfflineState'],this['unitID'],this[_0x4adf4a(0x320)],this[_0x4adf4a(0x19f)],this[_0x4adf4a(0x1cb)],this[_0x4adf4a(0x3d1)]);}[_0x46b6b2(0x1f2)](){return this;}[_0x46b6b2(0x356)](){var _0x4a5bfd=_0x46b6b2;this[_0x4a5bfd(0x3d1)][_0x4a5bfd(0x490)](this[_0x4a5bfd(0x19f)]);}[_0x46b6b2(0x349)](_0x465159){var _0x192957=_0x46b6b2;return this[_0x192957(0x30e)](),this[_0x192957(0x181)][_0x192957(0x444)](_0x8e59c3[_0x192957(0x172)],this[_0x192957(0x3c2)],this[_0x192957(0x320)],null,this[_0x192957(0x1cb)],this[_0x192957(0x3d1)],_0x465159);}[_0x46b6b2(0x18b)](_0x3b02dd,_0xff529e){var _0x7eff7a=_0x46b6b2,_0x27f73b;_0x3b02dd===((_0x27f73b=this['_awaitingChangeset'])==null?void 0x0:_0x27f73b[_0x7eff7a(0x2b0)])&&(this[_0x7eff7a(0x356)](),this[_0x7eff7a(0x1db)]=_0xff529e===0x0?0x3e8:_0xff529e*0x2);}['_clearScheduledTask'](){var _0x26d6d1=_0x46b6b2,_0x3c7f88;(_0x3c7f88=this[_0x26d6d1(0x3ad)])==null||_0x3c7f88[_0x26d6d1(0x224)](),this[_0x26d6d1(0x1db)]=0x0;}},_0x8e59c3[_0x46b6b2(0x30d)]=_0x2086f4([_0x367452(0x6,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de['Injector'])),_0x367452(0x7,_0x2c51de[_0x46b6b2(0x281)](_0x32b62f[_0x46b6b2(0x3a8)])),_0x367452(0x8,_0x2c51de['ICommandService']),_0x367452(0x9,_0x2c51de[_0x46b6b2(0x160)]),_0x367452(0xa,_0x32b62f[_0x46b6b2(0x1a0)]),_0x367452(0xb,_0x2c51de[_0x46b6b2(0x195)]),_0x367452(0xc,_0x2c51de[_0x46b6b2(0x1b4)](_0x3a9769))],_0x8e59c3[_0x46b6b2(0x30d)]),_0x8e59c3[_0x46b6b2(0x172)]=class extends _0x263dcc{constructor(_0x9e6db3,_0xf3753c,_0x5ea30c,_0x2252cf,_0x433d60,_0x40f0e0=!0x1,_0x58fbe2,_0x9882a9,_0xac965b,_0x3a3929,_0x4868a4,_0x320aa0,_0xb55f29){var _0x45ff92=_0x46b6b2;super(_0x9e6db3,_0xf3753c,_0x5ea30c,_0x2252cf,_0x433d60,_0x9882a9,_0xac965b,_0x3a3929,_0xb55f29),_0x433d55(this,_0x45ff92(0x38d),_0x45ff92(0x33d)),(this[_0x45ff92(0x14c)]=_0x40f0e0,this[_0x45ff92(0x45a)]=_0x58fbe2,this['_localeService']=_0x4868a4,this['_collaborationUIEventService']=_0x320aa0,this[_0x45ff92(0x361)]=_0xb55f29,this[_0x45ff92(0x144)](),this[_0x45ff92(0x477)](),this['_disableEditing']());}[_0x46b6b2(0x270)](){return this;}[_0x46b6b2(0x38f)](){return this;}[_0x46b6b2(0x314)](){return this;}[_0x46b6b2(0x3fc)](){return this;}['onRemoteRetry'](){return this;}[_0x46b6b2(0x39d)](){return this;}[_0x46b6b2(0x1f2)](){return this;}['resend'](){var _0x33f83d=_0x46b6b2;throw new Error(_0x33f83d(0x37a));}[_0x46b6b2(0x477)](){var _0x2fc614=_0x46b6b2,_0x41b270;(_0x41b270=this[_0x2fc614(0x481)])==null||_0x41b270[_0x2fc614(0x153)](this[_0x2fc614(0x3c2)],this['type'],null,[]);}[_0x46b6b2(0x144)](){var _0x51b2ee=_0x46b6b2;this[_0x51b2ee(0x14c)]?this['_collaborationUIEventService'][_0x51b2ee(0x22e)]({'id':_0x56f493[_0x51b2ee(0x156)]}):this[_0x51b2ee(0x33b)]['emitEvent']({'id':_0x56f493[_0x51b2ee(0x2dc)]});}[_0x46b6b2(0x376)](){var _0x136e83=_0x46b6b2;this[_0x136e83(0x45a)][_0x136e83(0x357)](new _0x136204[(_0x136e83(0x37d))](this[_0x136e83(0x3c2)])['id'],!0x1);}},_0x8e59c3[_0x46b6b2(0x172)]=_0x2086f4([_0x367452(0x6,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x4aa)])),_0x367452(0x7,_0x2c51de['ICommandService']),_0x367452(0x8,_0x2c51de[_0x46b6b2(0x195)]),_0x367452(0x9,_0x2c51de[_0x46b6b2(0x281)](_0x32b62f['RevisionService'])),_0x367452(0xa,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x2e4)])),_0x367452(0xb,_0x2c51de[_0x46b6b2(0x281)](_0x4d9ca6)),_0x367452(0xc,_0x2c51de[_0x46b6b2(0x1b4)](_0x3a9769))],_0x8e59c3['ConflictState']),_0x8e59c3[_0x46b6b2(0x31e)]=class extends _0x263dcc{constructor(_0x4ccb7c,_0xac077c,_0x1c18a1,_0x4edccd,_0x42e56b,_0x12c16b,_0x11983b,_0x285c11,_0x3fab88,_0xadb19f){var _0x4f9ce9=_0x46b6b2;super(_0x4ccb7c,_0xac077c,_0x1c18a1,_0x4edccd,_0x42e56b,_0x285c11,_0x3fab88,_0x11983b,_0xadb19f),_0x433d55(this,'status',_0x4f9ce9(0x17d)),this[_0x4f9ce9(0x181)]=_0x12c16b;}[_0x46b6b2(0x270)](_0x34b867){var _0x8490d6=_0x46b6b2;return this[_0x8490d6(0x1cb)]['push'](_0x34b867),this['_updateLocalCache'](),this;}[_0x46b6b2(0x38f)](_0x2b7d30){var _0x322e10=_0x46b6b2;throw new Error(_0x322e10(0x170));}[_0x46b6b2(0x314)](){var _0x2d12a9=_0x46b6b2;throw new Error(_0x2d12a9(0x1bb));}[_0x46b6b2(0x3fc)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x46b6b2(0x363)](){return this;}[_0x46b6b2(0x39d)](){return this;}['toggleOnline'](){var _0x57068c=_0x46b6b2;const {_injector:_0x5d77b4,_pendingMutations:_0x4f82e6,_awaitingChangeset:_0x45c6e4,unitID:_0x56521a,_handler:_0x341ce9,type:_0x62c565}=this,_0x4ad895=_0x10af6f(_0x5d77b4,_0x56521a,_0x62c565,_0x45c6e4,_0x4f82e6,_0x341ce9);return _0x4ad895 instanceof _0x8e59c3[_0x57068c(0x23e)]?_0x4ad895[_0x57068c(0x3de)]():(_0x4ad895 instanceof _0x8e59c3[_0x57068c(0x30d)]||_0x4ad895 instanceof _0x8e59c3['AwaitingState'])&&_0x4ad895[_0x57068c(0x356)](),_0x4ad895;}[_0x46b6b2(0x356)](){var _0xf76b39=_0x46b6b2;throw new Error(_0xf76b39(0x26d));}},_0x8e59c3['OfflineState']=_0x2086f4([_0x367452(0x5,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x263)])),_0x367452(0x6,_0x2c51de[_0x46b6b2(0x281)](_0x32b62f[_0x46b6b2(0x3a8)])),_0x367452(0x7,_0x2c51de[_0x46b6b2(0x283)]),_0x367452(0x8,_0x2c51de['IUndoRedoService']),_0x367452(0x9,_0x2c51de['Optional'](_0x3a9769))],_0x8e59c3[_0x46b6b2(0x31e)]),_0x8e59c3[_0x46b6b2(0x42a)]=class extends _0x263dcc{constructor(_0x28f77b,_0x5e9a05,_0x462342,_0xaa2a1b,_0x43835a,_0x5b66bb,_0x1b9cdb,_0x1170a5,_0x20199b,_0x1be536,_0x507aa9,_0x38575a,_0x5bfd5d,_0x5352ce){var _0x37b21e=_0x46b6b2;super(_0x28f77b,_0x5e9a05,_0x462342,_0xaa2a1b,_0x1b9cdb,_0x507aa9,_0x38575a,_0x20199b,_0x5352ce),_0x433d55(this,_0x37b21e(0x38d),_0x37b21e(0x300)),(this['_acknowledgedAwaitingChangeset']=_0x43835a,this[_0x37b21e(0x445)]=_0x5b66bb,this[_0x37b21e(0x181)]=_0x1170a5,this['_logService']=_0x1be536,this[_0x37b21e(0x385)]=_0x5bfd5d,this[_0x37b21e(0x361)]=_0x5352ce);}[_0x46b6b2(0x4c4)](_0x2a8f50){var _0x2a15ae=_0x46b6b2;try{const _0x36e29d=[..._0x2a8f50,...this[_0x2a15ae(0x445)]],_0x4b6831=[this[_0x2a15ae(0x19f)]||this[_0x2a15ae(0x199)]][_0x2a15ae(0x494)](_0x23feb5=>!!_0x23feb5);let _0x29c9e6,_0x2b02d0;if(_0x4b6831[_0x2a15ae(0x3b7)]){const _0x251292=this['_transformService'][_0x2a15ae(0x214)](_0x36e29d,_0x4b6831,!0x1);if(!_0x32b62f['isTransformChangesetsSuccess'](_0x251292))throw _0x251292[_0x2a15ae(0x275)];_0x29c9e6=_0x251292[_0x2a15ae(0x484)],_0x2b02d0=_0x251292[_0x2a15ae(0x476)];}else _0x29c9e6=_0x36e29d,_0x2b02d0=[];let _0x3022ed=this['_pendingMutations'];_0x29c9e6['forEach'](_0x3e5634=>{var _0x40d473=_0x2a15ae;let _0x1c5d40;if(_0x3022ed['length']){const _0x80a338=this['_transformService'][_0x40d473(0x3e0)](_0x3e5634,_0x3022ed);if(!_0x32b62f['isTransformMutationsWithChangesetSuccess'](_0x80a338))throw _0x80a338[_0x40d473(0x275)];_0x1c5d40=_0x80a338['c1Prime'],_0x3022ed=_0x80a338[_0x40d473(0x435)];}else _0x1c5d40=_0x3e5634;this[_0x40d473(0x1c5)](_0x1c5d40);}),this[_0x2a15ae(0x199)]&&this[_0x2a15ae(0x145)](),this[_0x2a15ae(0x19f)]&&_0x2b02d0[_0x2a15ae(0x3b7)]&&(_0x2b02d0[0x0][_0x2a15ae(0x184)]=this['_getCurrentRevision']());let _0x3c3e51;if(this[_0x2a15ae(0x19f)]&&_0x3022ed[_0x2a15ae(0x3b7)]!==0x0)_0x3c3e51=this[_0x2a15ae(0x181)][_0x2a15ae(0x444)](_0x8e59c3['AwaitingWithPendingState'],this['unitID'],this['type'],_0x2b02d0[0x0],_0x3022ed,this[_0x2a15ae(0x3d1)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3022ed[_0x2a15ae(0x3b7)]===0x0)_0x2b02d0[0x0]['baseRev']=this[_0x2a15ae(0x1ff)](),_0x3c3e51=this['_injector'][_0x2a15ae(0x444)](_0x8e59c3[_0x2a15ae(0x42b)],this[_0x2a15ae(0x3c2)],this[_0x2a15ae(0x320)],_0x2b02d0[0x0],this[_0x2a15ae(0x3d1)]);else{if(_0x3022ed['length']!==0x0){const _0x124600=this['_injector']['createInstance'](_0x8e59c3[_0x2a15ae(0x23e)],this[_0x2a15ae(0x3c2)],this['type'],_0x3022ed,this[_0x2a15ae(0x3d1)]);_0x124600[_0x2a15ae(0x3de)](),_0x3c3e51=_0x124600;}else _0x3c3e51=this[_0x2a15ae(0x181)][_0x2a15ae(0x444)](_0x8e59c3['SyncedState'],this[_0x2a15ae(0x3c2)],this[_0x2a15ae(0x320)],this['_handler']);}}return _0x3c3e51[_0x2a15ae(0x45c)](),_0x3c3e51;}catch(_0x42ce14){return this['_logService']['error']('[FetchMissState]',_0x2a15ae(0x14d),_0x42ce14),this[_0x2a15ae(0x181)][_0x2a15ae(0x444)](_0x8e59c3[_0x2a15ae(0x172)],this[_0x2a15ae(0x3c2)],this[_0x2a15ae(0x320)],this['_awaitingChangeset'],this[_0x2a15ae(0x1cb)],this['_handler'],!0x1);}}[_0x46b6b2(0x356)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x46b6b2(0x270)](_0x26a66b){var _0x3a6d4b=_0x46b6b2;return this[_0x3a6d4b(0x1cb)][_0x3a6d4b(0x1a4)](_0x26a66b),this;}[_0x46b6b2(0x38f)](_0x43c55b){var _0x110657=_0x46b6b2;return this[_0x110657(0x445)][_0x110657(0x1a4)](_0x43c55b),this;}[_0x46b6b2(0x314)](_0x10c9fa){var _0x1b5e67=_0x46b6b2;if(this[_0x1b5e67(0x19f)])return this[_0x1b5e67(0x199)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x1b5e67(0x46e));}[_0x46b6b2(0x3fc)](_0x236bc0){var _0xd6b5db=_0x46b6b2;return this['_onConflict'](!!(_0x236bc0!=null&&_0x236bc0[_0xd6b5db(0x1aa)]));}[_0x46b6b2(0x363)](){return this;}[_0x46b6b2(0x39d)](){var _0x458528=_0x46b6b2;return this[_0x458528(0x181)]['createInstance'](_0x8e59c3['OfflineState'],this[_0x458528(0x3c2)],this[_0x458528(0x320)],this[_0x458528(0x19f)],this[_0x458528(0x1cb)],this[_0x458528(0x3d1)]);}[_0x46b6b2(0x1f2)](){return this;}[_0x46b6b2(0x349)](_0x181a39){var _0x53567e=_0x46b6b2;return this['_injector'][_0x53567e(0x444)](_0x8e59c3[_0x53567e(0x172)],this[_0x53567e(0x3c2)],this[_0x53567e(0x320)],this[_0x53567e(0x19f)],this[_0x53567e(0x1cb)],this[_0x53567e(0x3d1)],_0x181a39);}},_0x8e59c3[_0x46b6b2(0x42a)]=_0x2086f4([_0x367452(0x7,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x263)])),_0x367452(0x8,_0x2c51de[_0x46b6b2(0x281)](_0x32b62f[_0x46b6b2(0x3a8)])),_0x367452(0x9,_0x2c51de[_0x46b6b2(0x160)]),_0x367452(0xa,_0x2c51de[_0x46b6b2(0x283)]),_0x367452(0xb,_0x2c51de['IUndoRedoService']),_0x367452(0xc,_0x32b62f['ITransformService']),_0x367452(0xd,_0x2c51de[_0x46b6b2(0x1b4)](_0x3a9769))],_0x8e59c3[_0x46b6b2(0x42a)]);function _0x10af6f(_0x336a80,_0x3acd09,_0x29071b,_0x2bacb8,_0x2557a1,_0x5acf54){var _0x17b454=_0x46b6b2;return _0x2bacb8&&_0x2557a1[_0x17b454(0x3b7)]?_0x336a80[_0x17b454(0x444)](_0x8e59c3[_0x17b454(0x30d)],_0x3acd09,_0x29071b,_0x2bacb8,_0x2557a1,_0x5acf54,void 0x0):_0x2bacb8?_0x336a80[_0x17b454(0x444)](_0x8e59c3[_0x17b454(0x42b)],_0x3acd09,_0x29071b,_0x2bacb8,_0x5acf54):_0x2557a1['length']?_0x336a80[_0x17b454(0x444)](_0x8e59c3[_0x17b454(0x23e)],_0x3acd09,_0x29071b,_0x2557a1,_0x5acf54):_0x336a80[_0x17b454(0x444)](_0x8e59c3[_0x17b454(0x4bf)],_0x3acd09,_0x29071b,_0x5acf54);}var _0xa34398=Object[_0x46b6b2(0x313)],_0xb4e9c0=(_0x4ece19,_0x48c8dd,_0xf80da1,_0x1225e8)=>{var _0x4baa91=_0x46b6b2;for(var _0x39632a=_0x1225e8>0x1?void 0x0:_0x1225e8?_0xa34398(_0x48c8dd,_0xf80da1):_0x48c8dd,_0x18dfa1=_0x4ece19[_0x4baa91(0x3b7)]-0x1,_0x3a36c4;_0x18dfa1>=0x0;_0x18dfa1--)(_0x3a36c4=_0x4ece19[_0x18dfa1])&&(_0x39632a=_0x3a36c4(_0x39632a)||_0x39632a);return _0x39632a;},_0x53430d=(_0x965d50,_0x59607c)=>(_0x43e853,_0x57076f)=>_0x59607c(_0x43e853,_0x57076f,_0x965d50);_0x8e59c3['CollaborationEntity']=class extends _0x2c51de[_0x46b6b2(0x1a8)]{constructor(_0x16bfff,_0x4dd7e9,_0xd6e3b0,_0x59b2ec,_0x39287c,_0x4d00c4,_0x16cddf,_0x4fd1f8,_0x21f002,_0x4e2bf2,_0x25e3d9,_0x2c733e,_0x5f2c1f){var _0x168c1a=_0x46b6b2;super(),_0x433d55(this,'_state$',new _0x338c92['BehaviorSubject'](null)),_0x433d55(this,'state$',this['_state$'][_0x168c1a(0x280)]()),_0x433d55(this,'_state'),_0x433d55(this,_0x168c1a(0x465),!0x1),_0x433d55(this,_0x168c1a(0x1f8),''),_0x433d55(this,_0x168c1a(0x2d6),0x0),_0x433d55(this,'status$',this['state$'][_0x168c1a(0x1c0)](_0x338c92[_0x168c1a(0x3a4)](_0x2279c6=>_0x2279c6?_0x2279c6[_0x168c1a(0x38d)]:_0x496fbd[_0x168c1a(0x2d8)]),_0x338c92[_0x168c1a(0x2f7)](0x1))),_0x433d55(this,'_transitionLocked',!0x1),_0x433d55(this,'_remoteChangesetQueue',[]),(this[_0x168c1a(0x3c2)]=_0x16bfff,this[_0x168c1a(0x1b8)]=_0x4dd7e9,this[_0x168c1a(0x2e6)]=_0xd6e3b0,this['_injector']=_0x59b2ec,this[_0x168c1a(0x269)]=_0x39287c,this[_0x168c1a(0x2c3)]=_0x4d00c4,this[_0x168c1a(0x1e5)]=_0x16cddf,this['_eventService']=_0x4fd1f8,this[_0x168c1a(0x2de)]=_0x21f002,this[_0x168c1a(0x17e)]=_0x4e2bf2,this[_0x168c1a(0x45a)]=_0x25e3d9,this[_0x168c1a(0x47b)]=_0x2c733e,this[_0x168c1a(0x481)]=_0x5f2c1f);}get[_0x46b6b2(0x3ac)](){return this['_state'];}async[_0x46b6b2(0x2f1)](){var _0x208130=_0x46b6b2;if(this[_0x208130(0x3ac)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x46b6b2(0x1f9)](){var _0x40fc1e=_0x46b6b2;return this[_0x40fc1e(0x465)]=!0x0,_0x2c51de['toDisposable'](()=>{var _0x64d840=_0x40fc1e;this[_0x64d840(0x465)]=!0x1,this[_0x64d840(0x1f3)]();});}[_0x46b6b2(0x48e)](_0x1da77c){var _0x2b1d81=_0x46b6b2;this[_0x2b1d81(0x32a)](_0x1da77c);}[_0x46b6b2(0x1d0)](_0x631a10){var _0x331683=_0x46b6b2;this['_state']=_0x631a10,this[_0x331683(0x16d)][_0x331683(0x352)](_0x631a10);}async['_init'](){var _0x4add94=_0x46b6b2,_0x76b6af;this['_updateState'](await this[_0x4add94(0x455)]()),this[_0x4add94(0x47b)]&&((_0x76b6af=this['_singleActiveUnitService'])==null||_0x76b6af['editingUnit'](this[_0x4add94(0x3c2)]),this[_0x4add94(0x42e)](this['_singleActiveUnitService'][_0x4add94(0x2ce)](this[_0x4add94(0x3c2)])[_0x4add94(0x307)](_0x2698f3=>{var _0x4d4c24=_0x4add94;this['_logService'][_0x4d4c24(0x39c)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x2698f3),_0x2698f3===_0x477d97[_0x4d4c24(0x347)]?(this[_0x4d4c24(0x3af)][_0x4d4c24(0x22e)]({'id':_0x56f493[_0x4d4c24(0x383)]}),this[_0x4d4c24(0x45a)]['updatePermissionPoint'](new _0x136204[(_0x4d4c24(0x37d))](this['unitID'])['id'],!0x1),this[_0x4d4c24(0x45a)][_0x4d4c24(0x38a)](!0x1)):(this[_0x4d4c24(0x45a)]['updatePermissionPoint'](new _0x136204[(_0x4d4c24(0x37d))](this[_0x4d4c24(0x3c2)])['id'],!0x0),this[_0x4d4c24(0x45a)][_0x4d4c24(0x38a)](!0x0));})));let _0x3b04a0=!0x1;return this[_0x4add94(0x42e)](this[_0x4add94(0x1b8)]['sessionStatus$'][_0x4add94(0x307)](_0x571fd8=>{var _0x48861e=_0x4add94;_0x571fd8===_0x406ec9['ONLINE']?this[_0x48861e(0x223)](_0x3b04a0):_0x571fd8===_0x406ec9[_0x48861e(0x2d8)]&&(_0x3b04a0=!0x0,this['_toggleOffline']());})),this[_0x4add94(0x42e)](this[_0x4add94(0x1b8)]['event$']['subscribe'](_0xffe5c7=>{var _0x448960=_0x4add94;try{switch(_0xffe5c7[_0x448960(0x1c2)]){case _0x32b62f[_0x448960(0x498)]['NEW_CHANGESETS']:{this[_0x448960(0x34a)](_0x32b62f['parseProtocolChangeset'](_0xffe5c7[_0x448960(0x4a8)]));break;}case _0x32b62f[_0x448960(0x498)][_0x448960(0x497)]:{this['_onRemoteACK'](_0xffe5c7[_0x448960(0x4a8)]);break;}case _0x32b62f['CollaborationEvent'][_0x448960(0x3d6)]:{this[_0x448960(0x2f6)]();break;}case _0x32b62f['CollaborationEvent'][_0x448960(0x36a)]:{this['_onRemoteRetry'](_0xffe5c7[_0x448960(0x4a8)]);break;}case _0x32b62f[_0x448960(0x498)][_0x448960(0x4b1)]:{this['_onFetchMissResult'](_0xffe5c7[_0x448960(0x4a8)][_0x448960(0x174)]['map'](_0x550338=>_0x32b62f[_0x448960(0x428)](_0x550338)));break;}case _0x32b62f[_0x448960(0x498)]['PERMISSION_REJ']:{this[_0x448960(0x2f6)]({'isPermissionRej':!0x0});break;}case _0x32b62f[_0x448960(0x498)]['UNISCRIPT_RUN']:break;}}catch(_0x2f7135){throw console[_0x448960(0x275)](_0x448960(0x3f7),_0x2f7135),_0x2f7135;}})),this['_state'];}[_0x46b6b2(0x496)](){var _0x3a372d=_0x46b6b2;this[_0x3a372d(0x1c4)]=!0x1;}['_lockTransition'](){var _0x1be425=_0x46b6b2;if(this['_transitionLocked'])throw new Error(_0x1be425(0x218));this[_0x1be425(0x1c4)]=!0x0;}[_0x46b6b2(0x32a)](_0x2a81c3){var _0x1bd9c0=_0x46b6b2;this[_0x1bd9c0(0x26e)](),this['_updateState'](this[_0x1bd9c0(0x2c1)][_0x1bd9c0(0x270)](_0x2a81c3)),this['_unlockTransition']();}[_0x46b6b2(0x34a)](_0x95a237){var _0x393fa9=_0x46b6b2;if(!(_0x95a237['revision']<=this[_0x393fa9(0x1e5)]['getCurrentRevOfUnit'](this[_0x393fa9(0x3c2)]))){if(this[_0x393fa9(0x465)]){this[_0x393fa9(0x261)]['push'](_0x95a237);return;}this[_0x393fa9(0x373)](_0x95a237);}}[_0x46b6b2(0x1f3)](){var _0x371b3c=_0x46b6b2;this[_0x371b3c(0x261)][_0x371b3c(0x16a)](_0x14517a=>this[_0x371b3c(0x373)](_0x14517a)),this['_remoteChangesetQueue']=[];}[_0x46b6b2(0x373)](_0x5ed9e8){var _0x25aa44=_0x46b6b2;const _0x1be2e1=this[_0x25aa44(0x269)][_0x25aa44(0x292)][_0x25aa44(0x266)](this[_0x25aa44(0x269)][_0x25aa44(0x292)][_0x25aa44(0x398)]()['COMPRESS_MUTATION_APPLY'])(_0x5ed9e8['mutations'],null)||_0x5ed9e8[_0x25aa44(0x31c)],_0x384cad={..._0x5ed9e8,'mutations':_0x1be2e1};this['_lockTransition'](),this[_0x25aa44(0x1d0)](this[_0x25aa44(0x2c1)][_0x25aa44(0x38f)](_0x384cad)),this[_0x25aa44(0x496)]();}[_0x46b6b2(0x402)](_0x388cda){var _0x2bdd93=_0x46b6b2;this[_0x2bdd93(0x26e)](),this['_updateState'](this[_0x2bdd93(0x2c1)][_0x2bdd93(0x314)](_0x388cda)),this[_0x2bdd93(0x496)]();}[_0x46b6b2(0x2f6)](_0x5a38d4){var _0x590d3c=_0x46b6b2;this['_lockTransition'](),this[_0x590d3c(0x1d0)](this[_0x590d3c(0x2c1)][_0x590d3c(0x3fc)](_0x5a38d4)),this[_0x590d3c(0x496)]();}[_0x46b6b2(0x1d6)](_0x14ca3c){var _0x3f7c0f=_0x46b6b2;this[_0x3f7c0f(0x26e)](),this[_0x3f7c0f(0x1d0)](this[_0x3f7c0f(0x2c1)]['onRemoteRetry'](_0x14ca3c)),this[_0x3f7c0f(0x496)]();}[_0x46b6b2(0x1fc)](_0x23d06a){var _0x2bbe24=_0x46b6b2;if(!(this[_0x2bbe24(0x2c1)]instanceof _0x8e59c3[_0x2bbe24(0x42a)]))throw new TypeError(_0x2bbe24(0x43c));const _0x126655=_0x23d06a['map'](_0x316975=>{var _0x4d331d=_0x2bbe24;const _0x514e84=this['_compressMutationService'][_0x4d331d(0x292)][_0x4d331d(0x266)](this[_0x4d331d(0x269)][_0x4d331d(0x292)][_0x4d331d(0x398)]()['COMPRESS_MUTATION_APPLY'])(_0x316975[_0x4d331d(0x31c)],null)||_0x316975[_0x4d331d(0x31c)];return{..._0x316975,'mutations':_0x514e84};});this[_0x2bbe24(0x26e)](),this['_updateState'](this[_0x2bbe24(0x2c1)][_0x2bbe24(0x4c4)](_0x126655)),this[_0x2bbe24(0x496)]();}[_0x46b6b2(0x185)](){var _0x408c35=_0x46b6b2;this['_lockTransition'](),this['_updateState'](this[_0x408c35(0x2c1)][_0x408c35(0x39d)]()),this['_unlockTransition']();}[_0x46b6b2(0x223)](_0x35714c=!0x1){var _0x40c222=_0x46b6b2;this[_0x40c222(0x26e)](),this[_0x40c222(0x1d0)](this[_0x40c222(0x2c1)][_0x40c222(0x1f2)]()),this[_0x40c222(0x496)]();const _0x9a2bc=this['_state'];_0x35714c&&_0x9a2bc instanceof _0x8e59c3[_0x40c222(0x4bf)]&&(this[_0x40c222(0x26e)](),this[_0x40c222(0x1d0)](_0x9a2bc[_0x40c222(0x333)]()),this['_unlockTransition']());}async[_0x46b6b2(0x455)](){return new Promise(_0x4cdad6=>{var _0x171209=_0xaf58;this['session'][_0x171209(0x479)][_0x171209(0x1c0)](_0x338c92[_0x171209(0x1cc)](0x1))[_0x171209(0x307)](async _0x5d628a=>{var _0x51a760=_0x171209;_0x4cdad6(await this[_0x51a760(0x38b)](_0x5d628a===_0x406ec9[_0x51a760(0x35a)]));});});}[_0x46b6b2(0x15b)](){var _0x3b137c=_0x46b6b2;const _0x5936b7=this[_0x3b137c(0x3c2)];return{'onStateChange':(_0x51c8f2,_0xc34445)=>{var _0x4a9e87=_0x3b137c;if(_0x51c8f2!==this[_0x4a9e87(0x2c1)])throw new Error(_0x4a9e87(0x316)+_0x51c8f2[_0x4a9e87(0x38d)]+_0x4a9e87(0x419)+_0xc34445[_0x4a9e87(0x38d)]+'\x0aCurrent:\x20'+this[_0x4a9e87(0x2c1)]['status']);this[_0x4a9e87(0x1d0)](_0xc34445);},'onSendChangeset':_0x52816e=>{var _0x4e0330=_0x3b137c;_0x52816e[_0x4e0330(0x37c)]||(_0x52816e[_0x4e0330(0x37c)]=this[_0x4e0330(0x1f8)],_0x52816e[_0x4e0330(0x2b0)]=++this[_0x4e0330(0x2d6)]);const _0x16f744={'eventID':_0x32b62f['CollaborationEvent'][_0x4e0330(0x157)],'data':{'unitID':_0x52816e[_0x4e0330(0x3c2)],'unitType':this['_type'],'changeset':_0x52816e,'memberID':this['session'][_0x4e0330(0x158)]()}};this[_0x4e0330(0x1b8)][_0x4e0330(0x306)](_0x16f744,this[_0x4e0330(0x3c2)]);},'onMissingChangesets':({from:_0x32704f,to:_0x163ae2})=>{var _0x12ca73=_0x3b137c;this[_0x12ca73(0x2de)]['debug'](_0x12ca73(0x3b4),_0x12ca73(0x1ea)+_0x32704f+'\x20to\x20'+_0x163ae2);const _0xb0fee5={'eventID':_0x32b62f[_0x12ca73(0x498)]['FETCH_MISSING'],'data':{'unitID':_0x5936b7,'unitType':this['_type'],'from':_0x32704f,'to':_0x163ae2}};this[_0x12ca73(0x1b8)][_0x12ca73(0x306)](_0xb0fee5,this[_0x12ca73(0x3c2)]);}};}async[_0x46b6b2(0x38b)](_0x78c816){var _0x1aee2c=_0x46b6b2,_0x3015d4,_0x170b3c,_0xa34fc2;const _0x5754d2=await((_0x3015d4=this['_localCacheService'])==null?void 0x0:_0x3015d4[_0x1aee2c(0x20d)](this['unitID'])),_0x4d5d5b=(_0x170b3c=_0x5754d2==null?void 0x0:_0x5754d2[_0x1aee2c(0x31c)])!=null?_0x170b3c:[],_0xfb9934=(_0xa34fc2=_0x5754d2==null?void 0x0:_0x5754d2[_0x1aee2c(0x43a)])!=null?_0xa34fc2:null,_0x56f305=!!(_0xfb9934!=null&&_0xfb9934['sid'])&&!!(_0xfb9934!=null&&_0xfb9934[_0x1aee2c(0x2b0)]);this[_0x1aee2c(0x1f8)]=_0x56f305?_0xfb9934['sid']:_0x32b62f[_0x1aee2c(0x1c9)](),this[_0x1aee2c(0x2d6)]=_0x56f305?_0xfb9934[_0x1aee2c(0x2b0)]:0x0;const _0x12418d=this[_0x1aee2c(0x3c2)];try{this[_0x1aee2c(0x424)](_0xfb9934,_0x4d5d5b);}catch(_0x50d380){this[_0x1aee2c(0x2de)][_0x1aee2c(0x275)](_0x50d380);}const _0x499946=this[_0x1aee2c(0x15b)]();if(_0x78c816){const _0x1c9975=_0x10af6f(this[_0x1aee2c(0x181)],_0x12418d,this[_0x1aee2c(0x2e6)],_0xfb9934,_0x4d5d5b,_0x499946);return _0x1c9975 instanceof _0x8e59c3[_0x1aee2c(0x23e)]?_0x1c9975['_schedule']():(_0x1c9975 instanceof _0x8e59c3[_0x1aee2c(0x30d)]||_0x1c9975 instanceof _0x8e59c3[_0x1aee2c(0x42b)])&&_0x1c9975[_0x1aee2c(0x356)](),_0x1c9975;}return this[_0x1aee2c(0x181)][_0x1aee2c(0x444)](_0x8e59c3[_0x1aee2c(0x31e)],_0x12418d,this[_0x1aee2c(0x2e6)],_0xfb9934,_0x4d5d5b,_0x499946);}[_0x46b6b2(0x424)](_0x549cf2,_0xf1991a){var _0x166c5d=_0x46b6b2,_0x278bcd,_0x222e21;const _0x9710d0=this[_0x166c5d(0x269)][_0x166c5d(0x292)]['fetchThroughInterceptors'](this[_0x166c5d(0x269)][_0x166c5d(0x292)][_0x166c5d(0x398)]()[_0x166c5d(0x154)]);(_0x278bcd=_0x9710d0((_0x549cf2==null?void 0x0:_0x549cf2[_0x166c5d(0x31c)])||[],null))==null||_0x278bcd[_0x166c5d(0x16a)](_0x5a5b9b=>this['_commandService'][_0x166c5d(0x3c1)](_0x5a5b9b['id'],_0x5a5b9b[_0x166c5d(0x48f)])),(_0x222e21=_0x9710d0(_0xf1991a||[],null))==null||_0x222e21[_0x166c5d(0x16a)](_0x2e4c76=>this[_0x166c5d(0x17e)][_0x166c5d(0x3c1)](_0x2e4c76['id'],_0x2e4c76['params']));}},_0x8e59c3[_0x46b6b2(0x284)]=_0xb4e9c0([_0x53430d(0x3,_0x2c51de['Inject'](_0x2c51de['Injector'])),_0x53430d(0x4,_0x2c51de[_0x46b6b2(0x281)](_0x32b62f[_0x46b6b2(0x202)])),_0x53430d(0x5,_0x2c51de['Inject'](_0x2c51de['LocaleService'])),_0x53430d(0x6,_0x2c51de[_0x46b6b2(0x281)](_0x32b62f[_0x46b6b2(0x3a8)])),_0x53430d(0x7,_0x2c51de['Inject'](_0x4d9ca6)),_0x53430d(0x8,_0x2c51de[_0x46b6b2(0x160)]),_0x53430d(0x9,_0x2c51de[_0x46b6b2(0x283)]),_0x53430d(0xa,_0x2c51de[_0x46b6b2(0x4aa)]),_0x53430d(0xb,_0x2c51de[_0x46b6b2(0x1b4)](_0x4e9081)),_0x53430d(0xc,_0x2c51de[_0x46b6b2(0x1b4)](_0x3a9769))],_0x8e59c3[_0x46b6b2(0x284)]),_0x8e59c3[_0x46b6b2(0x303)]=class extends _0x8e59c3[_0x46b6b2(0x284)]{constructor(_0x332456,_0x3e0655,_0x138b7b,_0x44a8f8,_0x30da21,_0x142b42,_0x5809b3,_0x55d7a2,_0xc671d8,_0x1634b0,_0x4e4d69,_0x50c60a,_0x1b1794){var _0xf77537=_0x46b6b2;super(_0x332456,_0x138b7b,_0x3e0655,_0x44a8f8,_0x30da21,_0x142b42,_0x5809b3,_0x55d7a2,_0xc671d8,_0x1634b0,_0x4e4d69,_0x50c60a,_0x1b1794),_0x433d55(this,'_handlerCallback',null),(this[_0xf77537(0x3c2)]=_0x332456,this['type']=_0x3e0655);}['addHandlerCallback'](_0x17ba0a){this['_handlerCallback']=_0x17ba0a;}[_0x46b6b2(0x18d)](){var _0x4ed6c6=_0x46b6b2;this[_0x4ed6c6(0x1c8)]=null,super[_0x4ed6c6(0x18d)]();}[_0x46b6b2(0x15b)](){var _0x4e6dd3=_0x46b6b2;const _0x2663fd=super[_0x4e6dd3(0x15b)]();return _0x2663fd[_0x4e6dd3(0x2b7)]=_0x276a9f=>{var _0x388309=_0x4e6dd3,_0x126042,_0x8a08ae;return(_0x8a08ae=(_0x126042=this[_0x388309(0x1c8)])==null?void 0x0:_0x126042[_0x388309(0x2b7)])==null?void 0x0:_0x8a08ae['call'](_0x126042,_0x276a9f);},_0x2663fd[_0x4e6dd3(0x321)]=_0xf2c1d8=>{var _0x3c8b3b=_0x4e6dd3,_0xb356fd,_0x554ddb;return(_0x554ddb=(_0xb356fd=this[_0x3c8b3b(0x1c8)])==null?void 0x0:_0xb356fd['onTransformState'])==null?void 0x0:_0x554ddb[_0x3c8b3b(0x39a)](_0xb356fd,_0xf2c1d8);},_0x2663fd[_0x4e6dd3(0x4cb)]=_0x5cebef=>{var _0x285078=_0x4e6dd3,_0x58c939,_0x706245;return(_0x706245=(_0x58c939=this[_0x285078(0x1c8)])==null?void 0x0:_0x58c939['onTransformSelections'])==null?void 0x0:_0x706245[_0x285078(0x39a)](_0x58c939,_0x5cebef);},_0x2663fd[_0x4e6dd3(0x3e3)]=_0x4e4dc5=>{var _0x382ffd=_0x4e6dd3,_0x46e0bf,_0x2774bc;return(_0x2774bc=(_0x46e0bf=this[_0x382ffd(0x1c8)])==null?void 0x0:_0x46e0bf[_0x382ffd(0x3e3)])==null?void 0x0:_0x2774bc[_0x382ffd(0x39a)](_0x46e0bf,_0x4e4dc5);},_0x2663fd[_0x4e6dd3(0x367)]=_0xc6345=>{var _0x36b970=_0x4e6dd3,_0x75fc2a,_0x216fce,_0x59af81;if(!((_0x75fc2a=this['_handlerCallback'])!=null&&_0x75fc2a[_0x36b970(0x367)]))throw new Error(_0x36b970(0x210));return(_0x59af81=(_0x216fce=this[_0x36b970(0x1c8)])==null?void 0x0:_0x216fce['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x59af81['call'](_0x216fce,_0xc6345);},_0x2663fd['onTransformRemoteChangesetByStateCache']=_0x2cb7ce=>{var _0x47afcf=_0x4e6dd3,_0xf2c40b,_0x4a3822,_0x494f70;if(!((_0xf2c40b=this[_0x47afcf(0x1c8)])!=null&&_0xf2c40b[_0x47afcf(0x420)]))throw new Error(_0x47afcf(0x3f4));return(_0x494f70=(_0x4a3822=this['_handlerCallback'])==null?void 0x0:_0x4a3822[_0x47afcf(0x420)])==null?void 0x0:_0x494f70[_0x47afcf(0x39a)](_0x4a3822,_0x2cb7ce);},_0x2663fd;}async['_init'](){var _0x10c31e=_0x46b6b2;const _0x35902c=await super['_init']();return this[_0x10c31e(0x42e)](this[_0x10c31e(0x17e)][_0x10c31e(0x32b)]((_0x11ba40,_0x3358c2)=>{var _0x16b848=_0x10c31e;if(_0x11ba40[_0x16b848(0x320)]!==_0x2c51de[_0x16b848(0x3c8)]['MUTATION']||_0x3358c2!=null&&_0x3358c2[_0x16b848(0x1da)]||_0x3358c2!=null&&_0x3358c2[_0x16b848(0x403)]||_0x11ba40['id']===_0x451245[_0x16b848(0x371)]['id'])return;const _0x26fc44=_0x11ba40[_0x16b848(0x48f)];if((_0x26fc44==null?void 0x0:_0x26fc44[_0x16b848(0x4c9)])!==this[_0x16b848(0x3c2)])return;const _0x3166f4=_0x11ba40,_0x5cdcb2=this[_0x16b848(0x269)][_0x16b848(0x292)][_0x16b848(0x266)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x16b848(0x2d2)])([_0x3166f4],null)||[_0x3166f4];this[_0x16b848(0x32a)](_0x5cdcb2[0x0]);})),_0x35902c;}},_0x8e59c3['DocCollaborationEntity']=_0xb4e9c0([_0x53430d(0x3,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x263)])),_0x53430d(0x4,_0x2c51de[_0x46b6b2(0x281)](_0x32b62f[_0x46b6b2(0x202)])),_0x53430d(0x5,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x2e4)])),_0x53430d(0x6,_0x2c51de['Inject'](_0x32b62f[_0x46b6b2(0x3a8)])),_0x53430d(0x7,_0x2c51de[_0x46b6b2(0x281)](_0x4d9ca6)),_0x53430d(0x8,_0x2c51de['ILogService']),_0x53430d(0x9,_0x2c51de['ICommandService']),_0x53430d(0xa,_0x2c51de['IPermissionService']),_0x53430d(0xb,_0x2c51de['Optional'](_0x4e9081)),_0x53430d(0xc,_0x2c51de[_0x46b6b2(0x1b4)](_0x3a9769))],_0x8e59c3[_0x46b6b2(0x303)]),_0x8e59c3[_0x46b6b2(0x1f0)]=class extends _0x8e59c3[_0x46b6b2(0x284)]{constructor(_0x3e0748,_0x19f103,_0x445ece,_0x17c0aa,_0x5b9cf5,_0xd5bbbc,_0x5a4a0d,_0x3c581d,_0x52946b,_0x317165,_0x5a673d,_0x53c7d3,_0x4053da,_0x1d3236){var _0x515dcd=_0x46b6b2;super(_0x3e0748,_0x445ece,_0x19f103,_0x17c0aa,_0x5b9cf5,_0xd5bbbc,_0x5a4a0d,_0x52946b,_0x317165,_0x5a673d,_0x53c7d3,_0x4053da,_0x1d3236),this[_0x515dcd(0x3c2)]=_0x3e0748,this[_0x515dcd(0x320)]=_0x19f103,this[_0x515dcd(0x388)]=_0x3c581d;}['_createHandler'](){var _0x279049=_0x46b6b2;const _0xd7d106=super[_0x279049(0x15b)]();return _0xd7d106[_0x279049(0x4cb)]=_0x596ae4=>this[_0x279049(0x388)][_0x279049(0x448)](_0x596ae4),_0xd7d106;}async['_init'](){var _0x5966b0=_0x46b6b2;const _0xad39b2=await super[_0x5966b0(0x1d7)]();return this['disposeWithMe'](this[_0x5966b0(0x17e)]['onCommandExecuted']((_0x5b4c7a,_0x1089b0)=>{var _0xb7a9bf=_0x5966b0;if(_0x5b4c7a[_0xb7a9bf(0x320)]!==_0x2c51de['CommandType'][_0xb7a9bf(0x194)]||_0x1089b0!=null&&_0x1089b0['fromCollab']||_0x1089b0!=null&&_0x1089b0[_0xb7a9bf(0x403)])return;const _0x400c60=_0x5b4c7a['params'];if((_0x400c60==null?void 0x0:_0x400c60[_0xb7a9bf(0x4c9)])!==this[_0xb7a9bf(0x3c2)])return;const _0x6fecec=_0x5b4c7a,_0x405aaa=this['_compressMutationService'][_0xb7a9bf(0x292)][_0xb7a9bf(0x266)](this[_0xb7a9bf(0x269)][_0xb7a9bf(0x292)][_0xb7a9bf(0x398)]()[_0xb7a9bf(0x2d2)])([_0x6fecec],null)||[_0x6fecec];this['_onLocalMutation'](_0x405aaa[0x0]);})),_0xad39b2;}},_0x8e59c3[_0x46b6b2(0x1f0)]=_0xb4e9c0([_0x53430d(0x3,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x263)])),_0x53430d(0x4,_0x2c51de[_0x46b6b2(0x281)](_0x32b62f[_0x46b6b2(0x202)])),_0x53430d(0x5,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x2e4)])),_0x53430d(0x6,_0x2c51de[_0x46b6b2(0x281)](_0x32b62f[_0x46b6b2(0x3a8)])),_0x53430d(0x7,_0x2c51de[_0x46b6b2(0x281)](_0x8e59c3['SheetTransformSelectionsService'])),_0x53430d(0x8,_0x2c51de['Inject'](_0x4d9ca6)),_0x53430d(0x9,_0x2c51de[_0x46b6b2(0x160)]),_0x53430d(0xa,_0x2c51de[_0x46b6b2(0x283)]),_0x53430d(0xb,_0x2c51de['IPermissionService']),_0x53430d(0xc,_0x2c51de[_0x46b6b2(0x1b4)](_0x4e9081)),_0x53430d(0xd,_0x2c51de[_0x46b6b2(0x1b4)](_0x3a9769))],_0x8e59c3[_0x46b6b2(0x1f0)]);var _0xd905e1=Object[_0x46b6b2(0x313)],_0x545b56=(_0x37d453,_0x3c9181,_0x45bf4e,_0x5b2436)=>{var _0x580178=_0x46b6b2;for(var _0x53afea=_0x5b2436>0x1?void 0x0:_0x5b2436?_0xd905e1(_0x3c9181,_0x45bf4e):_0x3c9181,_0x4141c0=_0x37d453[_0x580178(0x3b7)]-0x1,_0x35b104;_0x4141c0>=0x0;_0x4141c0--)(_0x35b104=_0x37d453[_0x4141c0])&&(_0x53afea=_0x35b104(_0x53afea)||_0x53afea);return _0x53afea;},_0x43ad7b=(_0x3cae04,_0x30b072)=>(_0x54b5d3,_0x434a4b)=>_0x30b072(_0x54b5d3,_0x434a4b,_0x3cae04);_0x8e59c3['CollaborationController']=class extends _0x2c51de['RxDisposable']{constructor(_0x2a3b27,_0x33d7c4,_0x975bda,_0x1f8314){var _0x1daa38=_0x46b6b2,_0x3a43fc;super(),_0x433d55(this,'_entities',new Map()),_0x433d55(this,_0x1daa38(0x297),new _0x338c92['Subject']()),_0x433d55(this,'entityInit$',this['_entityInit$'][_0x1daa38(0x280)]()),(this[_0x1daa38(0x181)]=_0x2a3b27,this[_0x1daa38(0x446)]=_0x33d7c4,this[_0x1daa38(0x457)]=_0x975bda,this[_0x1daa38(0x3eb)]=_0x1f8314,((_0x3a43fc=this[_0x1daa38(0x457)][_0x1daa38(0x236)](_0x2706a6))==null?void 0x0:_0x3a43fc[_0x1daa38(0x155)])!==!0x1&&this[_0x1daa38(0x1d7)]());}[_0x46b6b2(0x18d)](){var _0xb19268=_0x46b6b2;super[_0xb19268(0x18d)](),this[_0xb19268(0x305)][_0xb19268(0x16a)](_0x40e265=>_0x40e265[_0xb19268(0x18d)]()),this[_0xb19268(0x305)][_0xb19268(0x1ef)]();}[_0x46b6b2(0x24d)](_0xd9e7d3){var _0x5e546c=_0x46b6b2,_0x37ec6a;return(_0x37ec6a=this[_0x5e546c(0x305)][_0x5e546c(0x1b6)](_0xd9e7d3))!=null?_0x37ec6a:null;}[_0x46b6b2(0x4a2)](_0x215ae0){var _0x4b5e9f=_0x46b6b2;const _0x106716=this[_0x4b5e9f(0x24d)](_0x215ae0);return _0x106716?_0x338c92['of'](_0x106716):this[_0x4b5e9f(0x297)][_0x4b5e9f(0x1c0)](_0x37eeae[_0x4b5e9f(0x494)](_0x4711d1=>_0x4711d1[_0x4b5e9f(0x3c2)]===_0x215ae0));}['readyForCollab'](_0x2de1f3){var _0x313a42=_0x46b6b2;return _0x338c92[_0x313a42(0x20f)](this[_0x313a42(0x4a2)](_0x2de1f3)['pipe'](_0x37eeae[_0x313a42(0x3a4)](()=>{})));}[_0x46b6b2(0x1d7)](){var _0x2e10d7=_0x46b6b2;this[_0x2e10d7(0x3eb)]['getTypeOfUnitAdded$'](_0x2c51de[_0x2e10d7(0x2ed)][_0x2e10d7(0x29b)])[_0x2e10d7(0x1c0)](_0x338c92['takeUntil'](this['dispose$']),_0x37eeae[_0x2e10d7(0x30a)](0x10))[_0x2e10d7(0x307)](async _0x2ca3f3=>{var _0x3c8704=_0x2e10d7;const _0x1f5560=_0x2ca3f3['getUnitId'](),_0x10e6ae=await this['_startCollaboration'](_0x1f5560,_0x284dcc[_0x3c8704(0x29b)]);this['_entities'][_0x3c8704(0x216)](_0x1f5560,_0x10e6ae);}),this[_0x2e10d7(0x3eb)]['getTypeOfUnitAdded$'](_0x2c51de[_0x2e10d7(0x2ed)]['UNIVER_DOC'])[_0x2e10d7(0x1c0)](_0x338c92[_0x2e10d7(0x1b9)](this[_0x2e10d7(0x491)]),_0x37eeae[_0x2e10d7(0x30a)](0x10))['pipe'](_0x37eeae[_0x2e10d7(0x494)](_0x49845e=>!_0x49845e[_0x2e10d7(0x276)]()[_0x2e10d7(0x17f)]('__')))[_0x2e10d7(0x307)](async _0x175a6c=>{var _0xa0975d=_0x2e10d7;const _0x5e892f=_0x175a6c['getUnitId'](),_0x24bfdf=await this[_0xa0975d(0x338)](_0x5e892f,_0x284dcc['UNIVER_DOC']);this[_0xa0975d(0x305)][_0xa0975d(0x216)](_0x5e892f,_0x24bfdf);}),_0x338c92[_0x2e10d7(0x37b)](this['_univerInstanceService'][_0x2e10d7(0x4cc)](_0x2c51de[_0x2e10d7(0x2ed)][_0x2e10d7(0x29b)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2c51de[_0x2e10d7(0x2ed)][_0x2e10d7(0x2d0)]))['pipe'](_0x338c92[_0x2e10d7(0x1b9)](this[_0x2e10d7(0x491)]))[_0x2e10d7(0x307)](_0x2e30bb=>{var _0x2ee9be=_0x2e10d7;const _0x2835b2=_0x2e30bb['getUnitId'](),_0x3cfa1c=this['_entities']['get'](_0x2835b2);_0x3cfa1c&&(_0x3cfa1c[_0x2ee9be(0x18d)](),this[_0x2ee9be(0x305)]['delete'](_0x2835b2));});}async['_startCollaboration'](_0x4fa7c2,_0x1395f5){var _0x4a77ec=_0x46b6b2;const _0x48d20c=await this[_0x4a77ec(0x446)][_0x4a77ec(0x330)](_0x4fa7c2),_0x2b654c=this[_0x4a77ec(0x181)]['createInstance'](this['_getCtorByUniverType'](_0x1395f5),_0x4fa7c2,_0x1395f5,_0x48d20c);return await _0x2b654c[_0x4a77ec(0x2f1)](),this[_0x4a77ec(0x297)][_0x4a77ec(0x352)](_0x2b654c),_0x2b654c;}['_getCtorByUniverType'](_0x8d6431){var _0x4bdc83=_0x46b6b2;switch(_0x8d6431){case _0x284dcc[_0x4bdc83(0x2d0)]:return _0x8e59c3[_0x4bdc83(0x303)];case _0x284dcc[_0x4bdc83(0x29b)]:return _0x8e59c3[_0x4bdc83(0x1f0)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x8d6431);}}},_0x8e59c3[_0x46b6b2(0x397)]=_0x545b56([_0x43ad7b(0x0,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x263)])),_0x43ad7b(0x1,_0x2c51de[_0x46b6b2(0x281)](_0x8e59c3['CollaborationSessionService'])),_0x43ad7b(0x2,_0x2c51de[_0x46b6b2(0x480)]),_0x43ad7b(0x3,_0x2c51de['IUniverInstanceService'])],_0x8e59c3['CollaborationController']);var _0x1887ac=Object[_0x46b6b2(0x313)],_0x5966f3=(_0x2d104a,_0x340d76,_0xbef8d0,_0x165183)=>{var _0x567c9d=_0x46b6b2;for(var _0x2c84bc=_0x165183>0x1?void 0x0:_0x165183?_0x1887ac(_0x340d76,_0xbef8d0):_0x340d76,_0x1dc5b8=_0x2d104a[_0x567c9d(0x3b7)]-0x1,_0x5c5bb9;_0x1dc5b8>=0x0;_0x1dc5b8--)(_0x5c5bb9=_0x2d104a[_0x1dc5b8])&&(_0x2c84bc=_0x5c5bb9(_0x2c84bc)||_0x2c84bc);return _0x2c84bc;},_0x324c75=(_0x272d8a,_0xa3b072)=>(_0xd9d755,_0x34f073)=>_0xa3b072(_0xd9d755,_0x34f073,_0x272d8a);const _0x1df5d7=_0x46b6b2(0x348),_0x14ac5c=_0x46b6b2(0x1f4);let _0x31403e=class extends _0x2c51de[_0x46b6b2(0x311)]{constructor(_0x371218,_0x47592d){var _0x554734=_0x46b6b2;super(),this[_0x554734(0x3eb)]=_0x371218,this[_0x554734(0x457)]=_0x47592d,this[_0x554734(0x1d7)]();}[_0x46b6b2(0x1d7)](){var _0x14f2cb=_0x46b6b2;this['disposeWithMe'](this[_0x14f2cb(0x3eb)][_0x14f2cb(0x437)]['subscribe'](()=>{var _0x5e8a7d=_0x14f2cb,_0x106b04;const _0x17375b=this[_0x5e8a7d(0x3eb)]['getFocusedUnit']();let _0x1fd87e=(_0x106b04=this[_0x5e8a7d(0x457)]['getConfig'](_0x1df5d7))!=null?_0x106b04:_0x14ac5c;_0x17375b instanceof _0x2c51de[_0x5e8a7d(0x48c)]&&(_0x1fd87e=_0x17375b[_0x5e8a7d(0x3ae)]),document[_0x5e8a7d(0x329)]=_0x1fd87e;}));}};_0x31403e=_0x5966f3([_0x324c75(0x0,_0x2c51de[_0x46b6b2(0x2fb)]),_0x324c75(0x1,_0x2c51de[_0x46b6b2(0x480)])],_0x31403e);var _0x2bf52c=Object['getOwnPropertyDescriptor'],_0x4a7bf3=(_0x3df3b5,_0x3b97d5,_0x3bc7f4,_0x2e69e7)=>{var _0xddb79f=_0x46b6b2;for(var _0x49ce44=_0x2e69e7>0x1?void 0x0:_0x2e69e7?_0x2bf52c(_0x3b97d5,_0x3bc7f4):_0x3b97d5,_0x3860c5=_0x3df3b5[_0xddb79f(0x3b7)]-0x1,_0x4e3a27;_0x3860c5>=0x0;_0x3860c5--)(_0x4e3a27=_0x3df3b5[_0x3860c5])&&(_0x49ce44=_0x4e3a27(_0x49ce44)||_0x49ce44);return _0x49ce44;},_0x5e2a67=(_0x565ec4,_0x39d66b)=>(_0xd76763,_0x232f37)=>_0x39d66b(_0xd76763,_0x232f37,_0x565ec4);let _0x3ad855=class{constructor(_0x5850f2,_0x7f4280,_0x53079b){var _0x1c7028=_0x46b6b2;this[_0x1c7028(0x457)]=_0x5850f2,this[_0x1c7028(0x1c7)]=_0x7f4280,this['localeService']=_0x53079b,this[_0x1c7028(0x2f1)]();}['init'](){var _0x38c05b=_0x46b6b2;this['_httpService'][_0x38c05b(0x2a6)]({'priority':0x1,'interceptor':(_0x469fe0,_0x40937d)=>_0x40937d(_0x469fe0)[_0x38c05b(0x1c0)](_0x338c92['concatMap'](async _0x50878d=>{var _0x2dd6c2=_0x38c05b;const _0x2fdbf2=_0x50878d;if(_0x2fdbf2[_0x2dd6c2(0x38d)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x2dd6c2(0x25c)](this[_0x2dd6c2(0x350)]['t'](_0x2dd6c2(0x28a)))){const _0x1b83af=window[_0x2dd6c2(0x425)](window['location'][_0x2dd6c2(0x3e7)]);window[_0x2dd6c2(0x3f3)]['href']=this[_0x2dd6c2(0x3fa)]()+_0x2dd6c2(0x44c)+_0x1b83af;}}return _0x2fdbf2;}))});}[_0x46b6b2(0x3fa)](){var _0x4daa3=_0x46b6b2,_0x4f0670,_0x4c40b3;const _0x4f96ed=this[_0x4daa3(0x457)]['getConfig'](_0x11765e),_0x5a2b6d=this[_0x4daa3(0x457)][_0x4daa3(0x236)](_0x2706a6);return(_0x4c40b3=(_0x4f0670=_0x5a2b6d==null?void 0x0:_0x5a2b6d[_0x4daa3(0x434)])!=null?_0x4f0670:_0x4f96ed)!=null?_0x4c40b3:_0x9c06b2;}};_0x3ad855=_0x4a7bf3([_0x5e2a67(0x0,_0x2c51de[_0x46b6b2(0x480)]),_0x5e2a67(0x1,_0x2c51de[_0x46b6b2(0x281)](_0x28078a[_0x46b6b2(0x3c7)])),_0x5e2a67(0x2,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de['LocaleService']))],_0x3ad855);var _0x25d613=Object['getOwnPropertyDescriptor'],_0x4f0da1=(_0x2562cb,_0x251f7d,_0x451705,_0x21e8de)=>{var _0x1d9bab=_0x46b6b2;for(var _0xb9b5ee=_0x21e8de>0x1?void 0x0:_0x21e8de?_0x25d613(_0x251f7d,_0x451705):_0x251f7d,_0x5b1b76=_0x2562cb[_0x1d9bab(0x3b7)]-0x1,_0x1963ff;_0x5b1b76>=0x0;_0x5b1b76--)(_0x1963ff=_0x2562cb[_0x5b1b76])&&(_0xb9b5ee=_0x1963ff(_0xb9b5ee)||_0xb9b5ee);return _0xb9b5ee;},_0x25c551=(_0x53c5d3,_0x366bfc)=>(_0x5bee88,_0x1f11fd)=>_0x366bfc(_0x5bee88,_0x1f11fd,_0x53c5d3);const _0x2b6780=_0x46b6b2(0x161),_0x1ee58c=_0x46b6b2(0x1e4);_0x8e59c3[_0x46b6b2(0x31a)]=class extends _0x2c51de[_0x46b6b2(0x311)]{constructor(_0x42568f,_0x192629){var _0x33881e=_0x46b6b2;super(),this[_0x33881e(0x344)]=_0x42568f,this['_configService']=_0x192629,this['_initMergeInterceptor']();}[_0x46b6b2(0x43d)](){var _0x3ae9c9=_0x46b6b2;const _0x3a9479=this;this[_0x3ae9c9(0x42e)](this[_0x3ae9c9(0x344)][_0x3ae9c9(0x2a6)]({'priority':0x3e7,'interceptor':_0x28078a[_0x3ae9c9(0x169)]({'isMatch'(_0x34d779){var _0x264954=_0x3ae9c9,_0x32a47e;if(_0x34d779[_0x264954(0x27b)]===_0x264954(0x2ba)&&((_0x32a47e=_0x34d779[_0x264954(0x222)])!=null&&_0x32a47e[_0x264954(0x221)])){const {objectID:_0x5d2625,objectType:_0x37b45f}=_0x34d779[_0x264954(0x222)][_0x264954(0x221)]||{};if(!_0x5d2625||_0x37b45f===void 0x0)return!0x1;const _0x1db328=_0x3a9479[_0x264954(0x2d7)]()+'/'+_0x37b45f+_0x264954(0x190)+_0x5d2625+_0x264954(0x240);if(_0x34d779[_0x264954(0x308)]===_0x1db328)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x59588e){var _0x598151=_0x3ae9c9,_0xe9c1c9;return(_0xe9c1c9=_0x59588e['requestParams'])==null?void 0x0:_0xe9c1c9[_0x598151(0x221)];},'mergeParamsToRequest'(_0xd28b6b,_0x148bfc){var _0x453be5=_0x3ae9c9;const _0x17ba6c=_0x3a9479[_0x453be5(0x2d7)]()+_0x453be5(0x15f),_0x2efb82=_0xd28b6b[_0x453be5(0x2be)]((_0x137285,_0x47ed29)=>{var _0x396aab=_0x453be5;const {unitID:_0x1f4837,objectID:_0x3a8972,objectType:_0x17adef,actions:_0x57e838}=_0x47ed29;return _0x137285[_0x1f4837]||(_0x137285[_0x1f4837]={}),_0x137285[_0x1f4837][_0x3a8972]||(_0x137285[_0x1f4837][_0x3a8972]={'objectID':_0x3a8972,'objectType':_0x17adef,'actions':[]}),_0x137285[_0x1f4837][_0x3a8972]['actions'][_0x396aab(0x1a4)](..._0x57e838),_0x137285;},{}),_0x43e2ab=[];for(const _0x4a4592 in _0x2efb82)for(const _0x5053dc in _0x2efb82[_0x4a4592]){const {actions:_0x2a2ba8,objectType:_0x319772}=_0x2efb82[_0x4a4592][_0x5053dc],_0x280b6b=[...new Set(_0x2a2ba8)];_0x43e2ab[_0x453be5(0x1a4)]({'unitID':_0x4a4592,'objectID':_0x5053dc,'objectType':_0x319772,'actions':_0x280b6b});}return new _0x28078a['HTTPRequest'](_0x453be5(0x2ba),_0x17ba6c,{'headers':_0x148bfc[_0x453be5(0x168)],'withCredentials':_0x148bfc[_0x453be5(0x46a)],'responseType':_0x148bfc[_0x453be5(0x248)],'body':{'requests':_0x43e2ab}});}},{'distributeResult'(_0x27dad9,_0x1ca412){var _0x2c1966=_0x3ae9c9;const {objectActions:_0x755089}=_0x27dad9;return _0x1ca412[_0x2c1966(0x3a4)](_0x2b34b9=>{var _0x5343c6=_0x2c1966;const {unitID:_0xd3f268,objectID:_0x10d0d1,actions:_0x4959b9}=_0x2b34b9,_0x33ed15=_0x755089['find'](_0x20bc17=>_0x20bc17['unitID']===_0xd3f268&&_0x20bc17[_0x5343c6(0x2b4)]===_0x10d0d1),_0x560366=_0x4959b9[_0x5343c6(0x3a4)](_0x3f99d2=>_0x33ed15==null?void 0x0:_0x33ed15['actions'][_0x5343c6(0x391)](_0x50b05f=>_0x50b05f[_0x5343c6(0x380)]===_0x3f99d2))[_0x5343c6(0x494)](_0x3bc571=>!!_0x3bc571);return{'config':_0x2b34b9,'result':{'actions':_0x560366,'error':_0x27dad9[_0x5343c6(0x275)]}};});}})}));}['_getAPIPrefixPath'](){var _0x1e8343=_0x46b6b2,_0x31b740,_0x24f30b;const _0x5a22a7=this['_configService'][_0x1e8343(0x236)](_0x2b6780),_0x1cace6=this[_0x1e8343(0x457)][_0x1e8343(0x236)](_0x2706a6);return(_0x24f30b=(_0x31b740=_0x1cace6==null?void 0x0:_0x1cace6[_0x1e8343(0x454)])!=null?_0x31b740:_0x5a22a7)!=null?_0x24f30b:_0x1ee58c;}async[_0x46b6b2(0x49f)](_0xdddec8){var _0xad0264=_0x46b6b2;const _0x43fc17=this[_0xad0264(0x2d7)]()+'/'+_0xdddec8[_0xad0264(0x167)]+_0xad0264(0x324);return(await this[_0xad0264(0x344)][_0xad0264(0x439)](_0x43fc17,{'body':_0xdddec8}))[_0xad0264(0x221)]['objectID']||'';}async[_0x46b6b2(0x175)](_0x3cf51c){var _0x4e9012=_0x46b6b2;const _0x3704a4=this[_0x4e9012(0x2d7)]()+_0x4e9012(0x245);return(await this[_0x4e9012(0x344)][_0x4e9012(0x439)](_0x3704a4,{'body':_0x3cf51c}))[_0x4e9012(0x221)][_0x4e9012(0x298)];}async[_0x46b6b2(0x3c3)](_0x17aa4a){var _0x3f1672=_0x46b6b2,_0x30914e,_0x22adfe;const _0x18adc0=this[_0x3f1672(0x2d7)]()+'/'+_0x17aa4a[_0x3f1672(0x167)]+_0x3f1672(0x190)+_0x17aa4a[_0x3f1672(0x2b4)],_0x3ac003=await this[_0x3f1672(0x344)][_0x3f1672(0x42f)](_0x18adc0,{'body':_0x17aa4a});if(((_0x22adfe=(_0x30914e=_0x3ac003==null?void 0x0:_0x3ac003[_0x3f1672(0x221)])==null?void 0x0:_0x30914e[_0x3f1672(0x275)])==null?void 0x0:_0x22adfe[_0x3f1672(0x3b1)])!==0x1)throw new Error(_0x3f1672(0x142));}async['allowed'](_0x511d8e){var _0x2fd104=_0x46b6b2;const _0x3862de=this[_0x2fd104(0x2d7)]()+'/'+_0x511d8e[_0x2fd104(0x167)]+_0x2fd104(0x190)+_0x511d8e[_0x2fd104(0x2b4)]+_0x2fd104(0x240);return(await this[_0x2fd104(0x344)][_0x2fd104(0x439)](_0x3862de,{'body':_0x511d8e}))[_0x2fd104(0x221)][_0x2fd104(0x2a5)];}async[_0x46b6b2(0x4bc)](_0x21faff){var _0x3da86b=_0x46b6b2;const _0x5cd171=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x3da86b(0x344)]['post'](_0x5cd171,{'body':{'requests':_0x21faff}}))[_0x3da86b(0x221)][_0x3da86b(0x366)];}async[_0x46b6b2(0x260)](_0x17e82c){var _0x200188=_0x46b6b2;const _0x539087=this[_0x200188(0x2d7)]()+'/'+_0x17e82c[_0x200188(0x167)]+_0x200188(0x365),_0x82c775=await this['_HTTPService'][_0x200188(0x439)](_0x539087,{'body':_0x17e82c});return{'roles':_0x82c775['body'][_0x200188(0x3ef)],'actions':_0x82c775[_0x200188(0x221)][_0x200188(0x2a5)]};}async[_0x46b6b2(0x246)](_0xa1e95b){var _0x45a4d6=_0x46b6b2;const _0x1745ad=this[_0x45a4d6(0x2d7)]()+_0x45a4d6(0x19d);await this['_HTTPService'][_0x45a4d6(0x3f8)](_0x1745ad,{'params':{'collaboratorID':_0xa1e95b[_0x45a4d6(0x2cf)],'objectID':_0xa1e95b['objectID'],'unitID':_0xa1e95b[_0x45a4d6(0x3c2)]}});}async[_0x46b6b2(0x3bd)](_0x1f2cd7){var _0x1884e4=_0x46b6b2;const _0x4ca7c2=this[_0x1884e4(0x2d7)]()+_0x1884e4(0x19d);await this[_0x1884e4(0x344)][_0x1884e4(0x341)](_0x4ca7c2,{'body':_0x1f2cd7});}async[_0x46b6b2(0x228)](_0x224cc3){var _0x1bf0e4=_0x46b6b2;const _0x15acc5=this[_0x1bf0e4(0x2d7)]()+'/collaborator';await this[_0x1bf0e4(0x344)][_0x1bf0e4(0x439)](_0x15acc5,{'body':_0x224cc3});}async[_0x46b6b2(0x392)](_0x346660){var _0x3c275b=_0x46b6b2;const _0x5798b7=this[_0x3c275b(0x2d7)]()+'/collaborator';return(await this[_0x3c275b(0x344)]['get'](_0x5798b7,{'params':{'objectID':_0x346660[_0x3c275b(0x2b4)],'unitID':_0x346660[_0x3c275b(0x3c2)]}}))['body'][_0x3c275b(0x178)];}async[_0x46b6b2(0x2f9)](_0x2a8d51){var _0x509556=_0x46b6b2;const _0x373b14=this[_0x509556(0x2d7)]()+_0x509556(0x19d);await this[_0x509556(0x344)][_0x509556(0x42f)](_0x373b14,{'body':_0x2a8d51});}},_0x8e59c3[_0x46b6b2(0x31a)]=_0x4f0da1([_0x25c551(0x0,_0x2c51de['Inject'](_0x28078a[_0x46b6b2(0x3c7)])),_0x25c551(0x1,_0x2c51de['Inject'](_0x2c51de['IConfigService']))],_0x8e59c3[_0x46b6b2(0x31a)]);var _0x35e253=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x475945(_0x5f4bc0){var _0x2e6ae5=_0x46b6b2;return _0x5f4bc0&&_0x5f4bc0[_0x2e6ae5(0x3f0)]&&Object[_0x2e6ae5(0x499)][_0x2e6ae5(0x3ce)][_0x2e6ae5(0x39a)](_0x5f4bc0,'default')?_0x5f4bc0[_0x2e6ae5(0x408)]:_0x5f4bc0;}var _0x337280={'exports':{}};function _0x24bcaa(_0x178888){var _0x133625=_0x46b6b2;throw new Error(_0x133625(0x412)+_0x178888+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x1bf9cc={'exports':{}},_0x74a3a5=_0x1bf9cc['exports'],_0x47eb54;function _0x1ec29c(){return _0x47eb54||(_0x47eb54=0x1,function(_0x26e429,_0x18b8af){(function(_0x16f3a2,_0x9c7bcd){var _0x46a2ad=_0xaf58;_0x26e429[_0x46a2ad(0x3ec)]=_0x9c7bcd();}(_0x74a3a5,function(){var _0x1fc61c=_0x1fc61c||function(_0x5b007c,_0x16631e){var _0x32c55d=_0xaf58,_0x1fbc74;if(typeof window<'u'&&window['crypto']&&(_0x1fbc74=window[_0x32c55d(0x417)]),typeof self<'u'&&self['crypto']&&(_0x1fbc74=self['crypto']),typeof globalThis<'u'&&globalThis[_0x32c55d(0x417)]&&(_0x1fbc74=globalThis['crypto']),!_0x1fbc74&&typeof window<'u'&&window[_0x32c55d(0x2c5)]&&(_0x1fbc74=window[_0x32c55d(0x2c5)]),!_0x1fbc74&&typeof _0x35e253<'u'&&_0x35e253['crypto']&&(_0x1fbc74=_0x35e253[_0x32c55d(0x417)]),!_0x1fbc74&&typeof _0x24bcaa=='function')try{_0x1fbc74=require(_0x32c55d(0x417));}catch{}var _0xe7bd0c=function(){var _0x2faf17=_0x32c55d;if(_0x1fbc74){if(typeof _0x1fbc74[_0x2faf17(0x278)]==_0x2faf17(0x407))try{return _0x1fbc74['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1fbc74[_0x2faf17(0x1eb)]=='function')try{return _0x1fbc74[_0x2faf17(0x1eb)](0x4)[_0x2faf17(0x1ad)]();}catch{}}throw new Error(_0x2faf17(0x48d));},_0x10f304=Object[_0x32c55d(0x49f)]||(function(){function _0x3d6904(){}return function(_0x143841){var _0x3043ac=_0xaf58,_0x1f92bc;return _0x3d6904[_0x3043ac(0x499)]=_0x143841,_0x1f92bc=new _0x3d6904(),_0x3d6904[_0x3043ac(0x499)]=null,_0x1f92bc;};}()),_0x28405a={},_0xda33eb=_0x28405a['lib']={},_0x3afdc2=_0xda33eb[_0x32c55d(0x3dc)]=(function(){return{'extend':function(_0x18a725){var _0x577aed=_0xaf58,_0x1398f0=_0x10f304(this);return _0x18a725&&_0x1398f0[_0x577aed(0x4ce)](_0x18a725),(!_0x1398f0[_0x577aed(0x3ce)](_0x577aed(0x2f1))||this[_0x577aed(0x2f1)]===_0x1398f0[_0x577aed(0x2f1)])&&(_0x1398f0['init']=function(){var _0x2e7ccc=_0x577aed;_0x1398f0[_0x2e7ccc(0x2e8)][_0x2e7ccc(0x2f1)][_0x2e7ccc(0x1bf)](this,arguments);}),_0x1398f0[_0x577aed(0x2f1)][_0x577aed(0x499)]=_0x1398f0,_0x1398f0[_0x577aed(0x2e8)]=this,_0x1398f0;},'create':function(){var _0x49fdff=_0xaf58,_0x3fd8e6=this[_0x49fdff(0x163)]();return _0x3fd8e6[_0x49fdff(0x2f1)]['apply'](_0x3fd8e6,arguments),_0x3fd8e6;},'init':function(){},'mixIn':function(_0x210286){var _0x507e03=_0xaf58;for(var _0x609e62 in _0x210286)_0x210286['hasOwnProperty'](_0x609e62)&&(this[_0x609e62]=_0x210286[_0x609e62]);_0x210286['hasOwnProperty'](_0x507e03(0x2fe))&&(this[_0x507e03(0x2fe)]=_0x210286[_0x507e03(0x2fe)]);},'clone':function(){var _0x304fe4=_0xaf58;return this[_0x304fe4(0x2f1)][_0x304fe4(0x499)][_0x304fe4(0x163)](this);}};}()),_0x49f025=_0xda33eb[_0x32c55d(0x3e1)]=_0x3afdc2[_0x32c55d(0x163)]({'init':function(_0xbc767b,_0x3652b7){var _0x2db6f3=_0x32c55d;_0xbc767b=this[_0x2db6f3(0x4ab)]=_0xbc767b||[],_0x3652b7!=_0x16631e?this[_0x2db6f3(0x288)]=_0x3652b7:this['sigBytes']=_0xbc767b[_0x2db6f3(0x3b7)]*0x4;},'toString':function(_0x4df6e5){var _0xad240c=_0x32c55d;return(_0x4df6e5||_0x545216)[_0xad240c(0x1a3)](this);},'concat':function(_0x2d0355){var _0x5478c3=_0x32c55d,_0x35e729=this[_0x5478c3(0x4ab)],_0xcc3dbb=_0x2d0355['words'],_0x4bce1f=this[_0x5478c3(0x288)],_0x3ab57d=_0x2d0355[_0x5478c3(0x288)];if(this[_0x5478c3(0x1b7)](),_0x4bce1f%0x4)for(var _0x1ea860=0x0;_0x1ea860<_0x3ab57d;_0x1ea860++){var _0x528bc3=_0xcc3dbb[_0x1ea860>>>0x2]>>>0x18-_0x1ea860%0x4*0x8&0xff;_0x35e729[_0x4bce1f+_0x1ea860>>>0x2]|=_0x528bc3<<0x18-(_0x4bce1f+_0x1ea860)%0x4*0x8;}else{for(var _0x12073c=0x0;_0x12073c<_0x3ab57d;_0x12073c+=0x4)_0x35e729[_0x4bce1f+_0x12073c>>>0x2]=_0xcc3dbb[_0x12073c>>>0x2];}return this[_0x5478c3(0x288)]+=_0x3ab57d,this;},'clamp':function(){var _0x20e5e3=_0x32c55d,_0x379ebd=this[_0x20e5e3(0x4ab)],_0x4cd936=this[_0x20e5e3(0x288)];_0x379ebd[_0x4cd936>>>0x2]&=0xffffffff<<0x20-_0x4cd936%0x4*0x8,_0x379ebd[_0x20e5e3(0x3b7)]=_0x5b007c[_0x20e5e3(0x35f)](_0x4cd936/0x4);},'clone':function(){var _0x1588da=_0x32c55d,_0x46312f=_0x3afdc2[_0x1588da(0x413)][_0x1588da(0x39a)](this);return _0x46312f[_0x1588da(0x4ab)]=this[_0x1588da(0x4ab)][_0x1588da(0x22f)](0x0),_0x46312f;},'random':function(_0x4dc050){var _0x3a0bbb=_0x32c55d;for(var _0x1a5fb2=[],_0x4b7d25=0x0;_0x4b7d25<_0x4dc050;_0x4b7d25+=0x4)_0x1a5fb2[_0x3a0bbb(0x1a4)](_0xe7bd0c());return new _0x49f025['init'](_0x1a5fb2,_0x4dc050);}}),_0x42b79b=_0x28405a[_0x32c55d(0x189)]={},_0x545216=_0x42b79b[_0x32c55d(0x45e)]={'stringify':function(_0x49223f){var _0x385ce6=_0x32c55d;for(var _0x192203=_0x49223f[_0x385ce6(0x4ab)],_0x3d5454=_0x49223f[_0x385ce6(0x288)],_0x54759d=[],_0x143f0d=0x0;_0x143f0d<_0x3d5454;_0x143f0d++){var _0x37a5a2=_0x192203[_0x143f0d>>>0x2]>>>0x18-_0x143f0d%0x4*0x8&0xff;_0x54759d[_0x385ce6(0x1a4)]((_0x37a5a2>>>0x4)[_0x385ce6(0x2fe)](0x10)),_0x54759d[_0x385ce6(0x1a4)]((_0x37a5a2&0xf)[_0x385ce6(0x2fe)](0x10));}return _0x54759d[_0x385ce6(0x152)]('');},'parse':function(_0x419fe2){var _0x2057d7=_0x32c55d;for(var _0x4d8b93=_0x419fe2[_0x2057d7(0x3b7)],_0x3104cc=[],_0x1dcd6f=0x0;_0x1dcd6f<_0x4d8b93;_0x1dcd6f+=0x2)_0x3104cc[_0x1dcd6f>>>0x3]|=parseInt(_0x419fe2['substr'](_0x1dcd6f,0x2),0x10)<<0x18-_0x1dcd6f%0x8*0x4;return new _0x49f025[(_0x2057d7(0x2f1))](_0x3104cc,_0x4d8b93/0x2);}},_0x412aad=_0x42b79b[_0x32c55d(0x3c4)]={'stringify':function(_0x468052){var _0x3ed9fc=_0x32c55d;for(var _0x521f05=_0x468052['words'],_0x22b0b2=_0x468052[_0x3ed9fc(0x288)],_0x42491c=[],_0x3a1f47=0x0;_0x3a1f47<_0x22b0b2;_0x3a1f47++){var _0x5bfe14=_0x521f05[_0x3a1f47>>>0x2]>>>0x18-_0x3a1f47%0x4*0x8&0xff;_0x42491c[_0x3ed9fc(0x1a4)](String[_0x3ed9fc(0x2ae)](_0x5bfe14));}return _0x42491c[_0x3ed9fc(0x152)]('');},'parse':function(_0x1640f9){var _0x315dc9=_0x32c55d;for(var _0x78f006=_0x1640f9[_0x315dc9(0x3b7)],_0x342fcf=[],_0x2730e8=0x0;_0x2730e8<_0x78f006;_0x2730e8++)_0x342fcf[_0x2730e8>>>0x2]|=(_0x1640f9['charCodeAt'](_0x2730e8)&0xff)<<0x18-_0x2730e8%0x4*0x8;return new _0x49f025['init'](_0x342fcf,_0x78f006);}},_0x225831=_0x42b79b[_0x32c55d(0x441)]={'stringify':function(_0x3486be){var _0x1e488c=_0x32c55d;try{return decodeURIComponent(escape(_0x412aad['stringify'](_0x3486be)));}catch{throw new Error(_0x1e488c(0x47a));}},'parse':function(_0x3772c5){var _0x526cbc=_0x32c55d;return _0x412aad[_0x526cbc(0x24f)](unescape(encodeURIComponent(_0x3772c5)));}},_0xa8efbd=_0xda33eb['BufferedBlockAlgorithm']=_0x3afdc2[_0x32c55d(0x163)]({'reset':function(){var _0xa5aec6=_0x32c55d;this['_data']=new _0x49f025[(_0xa5aec6(0x2f1))](),this[_0xa5aec6(0x177)]=0x0;},'_append':function(_0x1f9655){var _0x56dacc=_0x32c55d;typeof _0x1f9655==_0x56dacc(0x2c9)&&(_0x1f9655=_0x225831[_0x56dacc(0x24f)](_0x1f9655)),this[_0x56dacc(0x146)][_0x56dacc(0x409)](_0x1f9655),this['_nDataBytes']+=_0x1f9655[_0x56dacc(0x288)];},'_process':function(_0x595d89){var _0x2915c3=_0x32c55d,_0x3b6eeb,_0x562ef4=this['_data'],_0x574eed=_0x562ef4['words'],_0x40ff24=_0x562ef4[_0x2915c3(0x288)],_0x337803=this[_0x2915c3(0x4ac)],_0x247de1=_0x337803*0x4,_0x5ad3e5=_0x40ff24/_0x247de1;_0x595d89?_0x5ad3e5=_0x5b007c[_0x2915c3(0x35f)](_0x5ad3e5):_0x5ad3e5=_0x5b007c[_0x2915c3(0x3cc)]((_0x5ad3e5|0x0)-this[_0x2915c3(0x203)],0x0);var _0x37565b=_0x5ad3e5*_0x337803,_0x292be2=_0x5b007c['min'](_0x37565b*0x4,_0x40ff24);if(_0x37565b){for(var _0x2980ec=0x0;_0x2980ec<_0x37565b;_0x2980ec+=_0x337803)this[_0x2915c3(0x1ca)](_0x574eed,_0x2980ec);_0x3b6eeb=_0x574eed[_0x2915c3(0x1e1)](0x0,_0x37565b),_0x562ef4['sigBytes']-=_0x292be2;}return new _0x49f025[(_0x2915c3(0x2f1))](_0x3b6eeb,_0x292be2);},'clone':function(){var _0xb38969=_0x32c55d,_0x2bd045=_0x3afdc2['clone'][_0xb38969(0x39a)](this);return _0x2bd045[_0xb38969(0x146)]=this[_0xb38969(0x146)][_0xb38969(0x413)](),_0x2bd045;},'_minBufferSize':0x0});_0xda33eb[_0x32c55d(0x26a)]=_0xa8efbd[_0x32c55d(0x163)]({'cfg':_0x3afdc2[_0x32c55d(0x163)](),'init':function(_0x389d17){var _0x2b52d4=_0x32c55d;this[_0x2b52d4(0x2b3)]=this[_0x2b52d4(0x2b3)]['extend'](_0x389d17),this[_0x2b52d4(0x4a3)]();},'reset':function(){var _0x285cfc=_0x32c55d;_0xa8efbd[_0x285cfc(0x4a3)][_0x285cfc(0x39a)](this),this[_0x285cfc(0x3be)]();},'update':function(_0x1af0d6){var _0x345cef=_0x32c55d;return this[_0x345cef(0x389)](_0x1af0d6),this['_process'](),this;},'finalize':function(_0x5208c9){var _0x476765=_0x32c55d;_0x5208c9&&this[_0x476765(0x389)](_0x5208c9);var _0x2c9758=this[_0x476765(0x2cc)]();return _0x2c9758;},'blockSize':0x10,'_createHelper':function(_0x21d290){return function(_0x24b0f7,_0x5149b7){var _0x3b0da6=_0xaf58;return new _0x21d290[(_0x3b0da6(0x2f1))](_0x5149b7)[_0x3b0da6(0x447)](_0x24b0f7);};},'_createHmacHelper':function(_0x286b8e){return function(_0x1fe13d,_0x2d2cf7){var _0x2133ab=_0xaf58;return new _0x371b5c[(_0x2133ab(0x250))][(_0x2133ab(0x2f1))](_0x286b8e,_0x2d2cf7)[_0x2133ab(0x447)](_0x1fe13d);};}});var _0x371b5c=_0x28405a[_0x32c55d(0x45f)]={};return _0x28405a;}(Math);return _0x1fc61c;}));}(_0x1bf9cc)),_0x1bf9cc['exports'];}var _0x465d5d={'exports':{}},_0x16c89b=_0x465d5d['exports'],_0x38031d;function _0x36c391(){return _0x38031d||(_0x38031d=0x1,function(_0x4d52de,_0x5d2296){(function(_0x40041e,_0xfc3656){var _0xec6d02=_0xaf58;_0x4d52de[_0xec6d02(0x3ec)]=_0xfc3656(_0x1ec29c());}(_0x16c89b,function(_0xa13268){var _0x327b9d=_0xaf58;return(function(){var _0x5a77cd=_0xaf58,_0x156f2b=_0xa13268,_0x3a8211=_0x156f2b[_0x5a77cd(0x2b5)],_0x33912c=_0x3a8211[_0x5a77cd(0x3e1)],_0x535a6e=_0x156f2b[_0x5a77cd(0x189)];_0x535a6e['Base64']={'stringify':function(_0x4a81ae){var _0x5caed7=_0x5a77cd,_0x71e28b=_0x4a81ae[_0x5caed7(0x4ab)],_0x48dc76=_0x4a81ae[_0x5caed7(0x288)],_0x537154=this[_0x5caed7(0x430)];_0x4a81ae['clamp']();for(var _0x37c341=[],_0x1c5612=0x0;_0x1c5612<_0x48dc76;_0x1c5612+=0x3)for(var _0x8eda6f=_0x71e28b[_0x1c5612>>>0x2]>>>0x18-_0x1c5612%0x4*0x8&0xff,_0x300afe=_0x71e28b[_0x1c5612+0x1>>>0x2]>>>0x18-(_0x1c5612+0x1)%0x4*0x8&0xff,_0x6c32ea=_0x71e28b[_0x1c5612+0x2>>>0x2]>>>0x18-(_0x1c5612+0x2)%0x4*0x8&0xff,_0x1d7fef=_0x8eda6f<<0x10|_0x300afe<<0x8|_0x6c32ea,_0x501c94=0x0;_0x501c94<0x4&&_0x1c5612+_0x501c94*0.75<_0x48dc76;_0x501c94++)_0x37c341[_0x5caed7(0x1a4)](_0x537154[_0x5caed7(0x1cd)](_0x1d7fef>>>0x6*(0x3-_0x501c94)&0x3f));var _0x3691ef=_0x537154[_0x5caed7(0x1cd)](0x40);if(_0x3691ef){for(;_0x37c341[_0x5caed7(0x3b7)]%0x4;)_0x37c341['push'](_0x3691ef);}return _0x37c341[_0x5caed7(0x152)]('');},'parse':function(_0x667764){var _0x3b8992=_0x5a77cd,_0xde1ca=_0x667764[_0x3b8992(0x3b7)],_0x2879a7=this[_0x3b8992(0x430)],_0x1df6f2=this[_0x3b8992(0x48a)];if(!_0x1df6f2){_0x1df6f2=this[_0x3b8992(0x48a)]=[];for(var _0x12a1e2=0x0;_0x12a1e2<_0x2879a7[_0x3b8992(0x3b7)];_0x12a1e2++)_0x1df6f2[_0x2879a7['charCodeAt'](_0x12a1e2)]=_0x12a1e2;}var _0x2d2dfb=_0x2879a7[_0x3b8992(0x1cd)](0x40);if(_0x2d2dfb){var _0x19a016=_0x667764['indexOf'](_0x2d2dfb);_0x19a016!==-0x1&&(_0xde1ca=_0x19a016);}return _0x2dfd89(_0x667764,_0xde1ca,_0x1df6f2);},'_map':_0x5a77cd(0x1b3)};function _0x2dfd89(_0x56584d,_0x47341a,_0x110e71){var _0x4377b1=_0x5a77cd;for(var _0x389020=[],_0x4150fd=0x0,_0x2e0305=0x0;_0x2e0305<_0x47341a;_0x2e0305++)if(_0x2e0305%0x4){var _0x11afbd=_0x110e71[_0x56584d[_0x4377b1(0x495)](_0x2e0305-0x1)]<<_0x2e0305%0x4*0x2,_0x484057=_0x110e71[_0x56584d[_0x4377b1(0x495)](_0x2e0305)]>>>0x6-_0x2e0305%0x4*0x2,_0xd3851f=_0x11afbd|_0x484057;_0x389020[_0x4150fd>>>0x2]|=_0xd3851f<<0x18-_0x4150fd%0x4*0x8,_0x4150fd++;}return _0x33912c[_0x4377b1(0x49f)](_0x389020,_0x4150fd);}}()),_0xa13268['enc'][_0x327b9d(0x41d)];}));}(_0x465d5d)),_0x465d5d['exports'];}var _0x352a3c={'exports':{}},_0x588530=_0x352a3c[_0x46b6b2(0x3ec)],_0x398f93;function _0x1a54c9(){var _0x1d3ca7=_0x46b6b2;return _0x398f93||(_0x398f93=0x1,function(_0x132157,_0x45ca39){(function(_0x5200af,_0x5bd36b){var _0x15238d=_0xaf58;_0x132157[_0x15238d(0x3ec)]=_0x5bd36b(_0x1ec29c());}(_0x588530,function(_0x5ad595){var _0x5b62a7=_0xaf58;return function(_0x14399c){var _0x194da4=_0xaf58,_0x1df7b1=_0x5ad595,_0x142ac6=_0x1df7b1['lib'],_0x39c8d8=_0x142ac6[_0x194da4(0x3e1)],_0x599802=_0x142ac6[_0x194da4(0x26a)],_0xf7f410=_0x1df7b1[_0x194da4(0x45f)],_0x20a7de=[];(function(){var _0x32dd1d=_0x194da4;for(var _0x480d66=0x0;_0x480d66<0x40;_0x480d66++)_0x20a7de[_0x480d66]=_0x14399c[_0x32dd1d(0x4c6)](_0x14399c[_0x32dd1d(0x364)](_0x480d66+0x1))*0x100000000|0x0;}());var _0x52a01d=_0xf7f410['MD5']=_0x599802[_0x194da4(0x163)]({'_doReset':function(){var _0x11f9bc=_0x194da4;this[_0x11f9bc(0x23b)]=new _0x39c8d8[(_0x11f9bc(0x2f1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5c61a3,_0xfdd870){var _0x112ebb=_0x194da4;for(var _0x15ff8c=0x0;_0x15ff8c<0x10;_0x15ff8c++){var _0x517a12=_0xfdd870+_0x15ff8c,_0x12dfa4=_0x5c61a3[_0x517a12];_0x5c61a3[_0x517a12]=(_0x12dfa4<<0x8|_0x12dfa4>>>0x18)&0xff00ff|(_0x12dfa4<<0x18|_0x12dfa4>>>0x8)&0xff00ff00;}var _0x35d43f=this[_0x112ebb(0x23b)][_0x112ebb(0x4ab)],_0x538f7a=_0x5c61a3[_0xfdd870+0x0],_0x9a42eb=_0x5c61a3[_0xfdd870+0x1],_0x5a8749=_0x5c61a3[_0xfdd870+0x2],_0x3412e7=_0x5c61a3[_0xfdd870+0x3],_0x1fd5ad=_0x5c61a3[_0xfdd870+0x4],_0x372f35=_0x5c61a3[_0xfdd870+0x5],_0x355366=_0x5c61a3[_0xfdd870+0x6],_0x67229c=_0x5c61a3[_0xfdd870+0x7],_0x36e947=_0x5c61a3[_0xfdd870+0x8],_0x2bcf65=_0x5c61a3[_0xfdd870+0x9],_0x192907=_0x5c61a3[_0xfdd870+0xa],_0x53aef9=_0x5c61a3[_0xfdd870+0xb],_0x3fb8cf=_0x5c61a3[_0xfdd870+0xc],_0x2865d4=_0x5c61a3[_0xfdd870+0xd],_0x48055d=_0x5c61a3[_0xfdd870+0xe],_0x358da5=_0x5c61a3[_0xfdd870+0xf],_0x565658=_0x35d43f[0x0],_0x4543b6=_0x35d43f[0x1],_0x12eab6=_0x35d43f[0x2],_0x9f4d29=_0x35d43f[0x3];_0x565658=_0x2a405b(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x538f7a,0x7,_0x20a7de[0x0]),_0x9f4d29=_0x2a405b(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x9a42eb,0xc,_0x20a7de[0x1]),_0x12eab6=_0x2a405b(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x5a8749,0x11,_0x20a7de[0x2]),_0x4543b6=_0x2a405b(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x3412e7,0x16,_0x20a7de[0x3]),_0x565658=_0x2a405b(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x1fd5ad,0x7,_0x20a7de[0x4]),_0x9f4d29=_0x2a405b(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x372f35,0xc,_0x20a7de[0x5]),_0x12eab6=_0x2a405b(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x355366,0x11,_0x20a7de[0x6]),_0x4543b6=_0x2a405b(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x67229c,0x16,_0x20a7de[0x7]),_0x565658=_0x2a405b(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x36e947,0x7,_0x20a7de[0x8]),_0x9f4d29=_0x2a405b(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x2bcf65,0xc,_0x20a7de[0x9]),_0x12eab6=_0x2a405b(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x192907,0x11,_0x20a7de[0xa]),_0x4543b6=_0x2a405b(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x53aef9,0x16,_0x20a7de[0xb]),_0x565658=_0x2a405b(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x3fb8cf,0x7,_0x20a7de[0xc]),_0x9f4d29=_0x2a405b(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x2865d4,0xc,_0x20a7de[0xd]),_0x12eab6=_0x2a405b(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x48055d,0x11,_0x20a7de[0xe]),_0x4543b6=_0x2a405b(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x358da5,0x16,_0x20a7de[0xf]),_0x565658=_0x34d3d3(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x9a42eb,0x5,_0x20a7de[0x10]),_0x9f4d29=_0x34d3d3(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x355366,0x9,_0x20a7de[0x11]),_0x12eab6=_0x34d3d3(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x53aef9,0xe,_0x20a7de[0x12]),_0x4543b6=_0x34d3d3(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x538f7a,0x14,_0x20a7de[0x13]),_0x565658=_0x34d3d3(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x372f35,0x5,_0x20a7de[0x14]),_0x9f4d29=_0x34d3d3(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x192907,0x9,_0x20a7de[0x15]),_0x12eab6=_0x34d3d3(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x358da5,0xe,_0x20a7de[0x16]),_0x4543b6=_0x34d3d3(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x1fd5ad,0x14,_0x20a7de[0x17]),_0x565658=_0x34d3d3(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x2bcf65,0x5,_0x20a7de[0x18]),_0x9f4d29=_0x34d3d3(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x48055d,0x9,_0x20a7de[0x19]),_0x12eab6=_0x34d3d3(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x3412e7,0xe,_0x20a7de[0x1a]),_0x4543b6=_0x34d3d3(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x36e947,0x14,_0x20a7de[0x1b]),_0x565658=_0x34d3d3(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x2865d4,0x5,_0x20a7de[0x1c]),_0x9f4d29=_0x34d3d3(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x5a8749,0x9,_0x20a7de[0x1d]),_0x12eab6=_0x34d3d3(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x67229c,0xe,_0x20a7de[0x1e]),_0x4543b6=_0x34d3d3(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x3fb8cf,0x14,_0x20a7de[0x1f]),_0x565658=_0x4fb9b0(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x372f35,0x4,_0x20a7de[0x20]),_0x9f4d29=_0x4fb9b0(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x36e947,0xb,_0x20a7de[0x21]),_0x12eab6=_0x4fb9b0(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x53aef9,0x10,_0x20a7de[0x22]),_0x4543b6=_0x4fb9b0(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x48055d,0x17,_0x20a7de[0x23]),_0x565658=_0x4fb9b0(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x9a42eb,0x4,_0x20a7de[0x24]),_0x9f4d29=_0x4fb9b0(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x1fd5ad,0xb,_0x20a7de[0x25]),_0x12eab6=_0x4fb9b0(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x67229c,0x10,_0x20a7de[0x26]),_0x4543b6=_0x4fb9b0(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x192907,0x17,_0x20a7de[0x27]),_0x565658=_0x4fb9b0(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x2865d4,0x4,_0x20a7de[0x28]),_0x9f4d29=_0x4fb9b0(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x538f7a,0xb,_0x20a7de[0x29]),_0x12eab6=_0x4fb9b0(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x3412e7,0x10,_0x20a7de[0x2a]),_0x4543b6=_0x4fb9b0(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x355366,0x17,_0x20a7de[0x2b]),_0x565658=_0x4fb9b0(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x2bcf65,0x4,_0x20a7de[0x2c]),_0x9f4d29=_0x4fb9b0(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x3fb8cf,0xb,_0x20a7de[0x2d]),_0x12eab6=_0x4fb9b0(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x358da5,0x10,_0x20a7de[0x2e]),_0x4543b6=_0x4fb9b0(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x5a8749,0x17,_0x20a7de[0x2f]),_0x565658=_0x1bbc7c(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x538f7a,0x6,_0x20a7de[0x30]),_0x9f4d29=_0x1bbc7c(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x67229c,0xa,_0x20a7de[0x31]),_0x12eab6=_0x1bbc7c(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x48055d,0xf,_0x20a7de[0x32]),_0x4543b6=_0x1bbc7c(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x372f35,0x15,_0x20a7de[0x33]),_0x565658=_0x1bbc7c(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x3fb8cf,0x6,_0x20a7de[0x34]),_0x9f4d29=_0x1bbc7c(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x3412e7,0xa,_0x20a7de[0x35]),_0x12eab6=_0x1bbc7c(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x192907,0xf,_0x20a7de[0x36]),_0x4543b6=_0x1bbc7c(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x9a42eb,0x15,_0x20a7de[0x37]),_0x565658=_0x1bbc7c(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x36e947,0x6,_0x20a7de[0x38]),_0x9f4d29=_0x1bbc7c(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x358da5,0xa,_0x20a7de[0x39]),_0x12eab6=_0x1bbc7c(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x355366,0xf,_0x20a7de[0x3a]),_0x4543b6=_0x1bbc7c(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x2865d4,0x15,_0x20a7de[0x3b]),_0x565658=_0x1bbc7c(_0x565658,_0x4543b6,_0x12eab6,_0x9f4d29,_0x1fd5ad,0x6,_0x20a7de[0x3c]),_0x9f4d29=_0x1bbc7c(_0x9f4d29,_0x565658,_0x4543b6,_0x12eab6,_0x53aef9,0xa,_0x20a7de[0x3d]),_0x12eab6=_0x1bbc7c(_0x12eab6,_0x9f4d29,_0x565658,_0x4543b6,_0x5a8749,0xf,_0x20a7de[0x3e]),_0x4543b6=_0x1bbc7c(_0x4543b6,_0x12eab6,_0x9f4d29,_0x565658,_0x2bcf65,0x15,_0x20a7de[0x3f]),_0x35d43f[0x0]=_0x35d43f[0x0]+_0x565658|0x0,_0x35d43f[0x1]=_0x35d43f[0x1]+_0x4543b6|0x0,_0x35d43f[0x2]=_0x35d43f[0x2]+_0x12eab6|0x0,_0x35d43f[0x3]=_0x35d43f[0x3]+_0x9f4d29|0x0;},'_doFinalize':function(){var _0x263e2e=_0x194da4,_0x1c402d=this[_0x263e2e(0x146)],_0x158f47=_0x1c402d['words'],_0x5384b5=this[_0x263e2e(0x177)]*0x8,_0x329d0d=_0x1c402d['sigBytes']*0x8;_0x158f47[_0x329d0d>>>0x5]|=0x80<<0x18-_0x329d0d%0x20;var _0xc21922=_0x14399c[_0x263e2e(0x1c3)](_0x5384b5/0x100000000),_0x49ee54=_0x5384b5;_0x158f47[(_0x329d0d+0x40>>>0x9<<0x4)+0xf]=(_0xc21922<<0x8|_0xc21922>>>0x18)&0xff00ff|(_0xc21922<<0x18|_0xc21922>>>0x8)&0xff00ff00,_0x158f47[(_0x329d0d+0x40>>>0x9<<0x4)+0xe]=(_0x49ee54<<0x8|_0x49ee54>>>0x18)&0xff00ff|(_0x49ee54<<0x18|_0x49ee54>>>0x8)&0xff00ff00,_0x1c402d['sigBytes']=(_0x158f47[_0x263e2e(0x3b7)]+0x1)*0x4,this[_0x263e2e(0x2f4)]();for(var _0x190a3f=this['_hash'],_0x42cb8a=_0x190a3f[_0x263e2e(0x4ab)],_0x2d7d31=0x0;_0x2d7d31<0x4;_0x2d7d31++){var _0x20d701=_0x42cb8a[_0x2d7d31];_0x42cb8a[_0x2d7d31]=(_0x20d701<<0x8|_0x20d701>>>0x18)&0xff00ff|(_0x20d701<<0x18|_0x20d701>>>0x8)&0xff00ff00;}return _0x190a3f;},'clone':function(){var _0x213c34=_0x194da4,_0x27e3b1=_0x599802[_0x213c34(0x413)]['call'](this);return _0x27e3b1[_0x213c34(0x23b)]=this[_0x213c34(0x23b)][_0x213c34(0x413)](),_0x27e3b1;}});function _0x2a405b(_0x2ea7c5,_0x498bfe,_0x40f0d5,_0x1930aa,_0x2203c8,_0x5b596f,_0x404aae){var _0x516730=_0x2ea7c5+(_0x498bfe&_0x40f0d5|~_0x498bfe&_0x1930aa)+_0x2203c8+_0x404aae;return(_0x516730<<_0x5b596f|_0x516730>>>0x20-_0x5b596f)+_0x498bfe;}function _0x34d3d3(_0x3c4383,_0x21af3c,_0x5675b1,_0x58bd2b,_0x2750ed,_0x428979,_0x2e5983){var _0x5afeb7=_0x3c4383+(_0x21af3c&_0x58bd2b|_0x5675b1&~_0x58bd2b)+_0x2750ed+_0x2e5983;return(_0x5afeb7<<_0x428979|_0x5afeb7>>>0x20-_0x428979)+_0x21af3c;}function _0x4fb9b0(_0xce4ada,_0x4ddcd6,_0x108b46,_0x5dc890,_0xaac26c,_0x168a78,_0x27a19e){var _0x28922d=_0xce4ada+(_0x4ddcd6^_0x108b46^_0x5dc890)+_0xaac26c+_0x27a19e;return(_0x28922d<<_0x168a78|_0x28922d>>>0x20-_0x168a78)+_0x4ddcd6;}function _0x1bbc7c(_0x50cc6a,_0x286748,_0x43cd79,_0x61d67e,_0x2bbc80,_0x16d92e,_0x3ce11a){var _0x5915ee=_0x50cc6a+(_0x43cd79^(_0x286748|~_0x61d67e))+_0x2bbc80+_0x3ce11a;return(_0x5915ee<<_0x16d92e|_0x5915ee>>>0x20-_0x16d92e)+_0x286748;}_0x1df7b1[_0x194da4(0x3ed)]=_0x599802['_createHelper'](_0x52a01d),_0x1df7b1[_0x194da4(0x3a0)]=_0x599802['_createHmacHelper'](_0x52a01d);}(Math),_0x5ad595[_0x5b62a7(0x3ed)];}));}(_0x352a3c)),_0x352a3c[_0x1d3ca7(0x3ec)];}var _0x150e03={'exports':{}},_0x1891a6={'exports':{}},_0x49cfc5=_0x1891a6[_0x46b6b2(0x3ec)],_0x10bab2;function _0x151d6b(){var _0x1ad2df=_0x46b6b2;return _0x10bab2||(_0x10bab2=0x1,function(_0x3c202a,_0xe1bbfd){(function(_0x2f8caa,_0x48ab53){var _0x425240=_0xaf58;_0x3c202a[_0x425240(0x3ec)]=_0x48ab53(_0x1ec29c());}(_0x49cfc5,function(_0x52e118){return(function(){var _0x68466c=_0xaf58,_0x3752ad=_0x52e118,_0x5de3f1=_0x3752ad[_0x68466c(0x2b5)],_0x125546=_0x5de3f1[_0x68466c(0x3e1)],_0x481403=_0x5de3f1[_0x68466c(0x26a)],_0x4aa184=_0x3752ad['algo'],_0x55b531=[],_0x4dcb8e=_0x4aa184[_0x68466c(0x296)]=_0x481403[_0x68466c(0x163)]({'_doReset':function(){var _0x2ce93d=_0x68466c;this[_0x2ce93d(0x23b)]=new _0x125546[(_0x2ce93d(0x2f1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x23b07d,_0x75dfe5){var _0x5e5007=_0x68466c;for(var _0xbd0fb7=this['_hash'][_0x5e5007(0x4ab)],_0x3f0af1=_0xbd0fb7[0x0],_0x1f6cab=_0xbd0fb7[0x1],_0x590fe1=_0xbd0fb7[0x2],_0x5d180a=_0xbd0fb7[0x3],_0x2c105a=_0xbd0fb7[0x4],_0xa53c24=0x0;_0xa53c24<0x50;_0xa53c24++){if(_0xa53c24<0x10)_0x55b531[_0xa53c24]=_0x23b07d[_0x75dfe5+_0xa53c24]|0x0;else{var _0x54ef8c=_0x55b531[_0xa53c24-0x3]^_0x55b531[_0xa53c24-0x8]^_0x55b531[_0xa53c24-0xe]^_0x55b531[_0xa53c24-0x10];_0x55b531[_0xa53c24]=_0x54ef8c<<0x1|_0x54ef8c>>>0x1f;}var _0x2ca4bd=(_0x3f0af1<<0x5|_0x3f0af1>>>0x1b)+_0x2c105a+_0x55b531[_0xa53c24];_0xa53c24<0x14?_0x2ca4bd+=(_0x1f6cab&_0x590fe1|~_0x1f6cab&_0x5d180a)+0x5a827999:_0xa53c24<0x28?_0x2ca4bd+=(_0x1f6cab^_0x590fe1^_0x5d180a)+0x6ed9eba1:_0xa53c24<0x3c?_0x2ca4bd+=(_0x1f6cab&_0x590fe1|_0x1f6cab&_0x5d180a|_0x590fe1&_0x5d180a)-0x70e44324:_0x2ca4bd+=(_0x1f6cab^_0x590fe1^_0x5d180a)-0x359d3e2a,_0x2c105a=_0x5d180a,_0x5d180a=_0x590fe1,_0x590fe1=_0x1f6cab<<0x1e|_0x1f6cab>>>0x2,_0x1f6cab=_0x3f0af1,_0x3f0af1=_0x2ca4bd;}_0xbd0fb7[0x0]=_0xbd0fb7[0x0]+_0x3f0af1|0x0,_0xbd0fb7[0x1]=_0xbd0fb7[0x1]+_0x1f6cab|0x0,_0xbd0fb7[0x2]=_0xbd0fb7[0x2]+_0x590fe1|0x0,_0xbd0fb7[0x3]=_0xbd0fb7[0x3]+_0x5d180a|0x0,_0xbd0fb7[0x4]=_0xbd0fb7[0x4]+_0x2c105a|0x0;},'_doFinalize':function(){var _0xbfda6c=_0x68466c,_0x2f538f=this[_0xbfda6c(0x146)],_0x4dedab=_0x2f538f['words'],_0x57417a=this['_nDataBytes']*0x8,_0xdaecf9=_0x2f538f[_0xbfda6c(0x288)]*0x8;return _0x4dedab[_0xdaecf9>>>0x5]|=0x80<<0x18-_0xdaecf9%0x20,_0x4dedab[(_0xdaecf9+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x57417a/0x100000000),_0x4dedab[(_0xdaecf9+0x40>>>0x9<<0x4)+0xf]=_0x57417a,_0x2f538f['sigBytes']=_0x4dedab[_0xbfda6c(0x3b7)]*0x4,this[_0xbfda6c(0x2f4)](),this[_0xbfda6c(0x23b)];},'clone':function(){var _0x4fd9f8=_0x68466c,_0x5de2f1=_0x481403[_0x4fd9f8(0x413)][_0x4fd9f8(0x39a)](this);return _0x5de2f1['_hash']=this['_hash']['clone'](),_0x5de2f1;}});_0x3752ad[_0x68466c(0x296)]=_0x481403[_0x68466c(0x488)](_0x4dcb8e),_0x3752ad[_0x68466c(0x4b3)]=_0x481403['_createHmacHelper'](_0x4dcb8e);}()),_0x52e118['SHA1'];}));}(_0x1891a6)),_0x1891a6[_0x1ad2df(0x3ec)];}var _0x310a34={'exports':{}},_0x168a3f=_0x310a34[_0x46b6b2(0x3ec)],_0x10e0af;function _0x2dd088(){var _0x4dfe56=_0x46b6b2;return _0x10e0af||(_0x10e0af=0x1,function(_0x3ec00b,_0x1869fa){(function(_0x5eefcd,_0x274e8b){var _0x5e1fba=_0xaf58;_0x3ec00b[_0x5e1fba(0x3ec)]=_0x274e8b(_0x1ec29c());}(_0x168a3f,function(_0x147209){(function(){var _0x4b7d58=_0xaf58,_0x507c12=_0x147209,_0x43edfd=_0x507c12[_0x4b7d58(0x2b5)],_0x4863c1=_0x43edfd['Base'],_0xb67ae1=_0x507c12[_0x4b7d58(0x189)],_0x325bbf=_0xb67ae1[_0x4b7d58(0x441)],_0x32fa2e=_0x507c12[_0x4b7d58(0x45f)];_0x32fa2e['HMAC']=_0x4863c1[_0x4b7d58(0x163)]({'init':function(_0x4c2226,_0x129e6f){var _0x5b34ea=_0x4b7d58;_0x4c2226=this[_0x5b34ea(0x247)]=new _0x4c2226[(_0x5b34ea(0x2f1))](),typeof _0x129e6f==_0x5b34ea(0x2c9)&&(_0x129e6f=_0x325bbf['parse'](_0x129e6f));var _0x470508=_0x4c2226[_0x5b34ea(0x4ac)],_0x2003c1=_0x470508*0x4;_0x129e6f[_0x5b34ea(0x288)]>_0x2003c1&&(_0x129e6f=_0x4c2226['finalize'](_0x129e6f)),_0x129e6f[_0x5b34ea(0x1b7)]();for(var _0x16acf8=this[_0x5b34ea(0x19b)]=_0x129e6f['clone'](),_0x5a0012=this[_0x5b34ea(0x33e)]=_0x129e6f[_0x5b34ea(0x413)](),_0x2bffc3=_0x16acf8[_0x5b34ea(0x4ab)],_0x2817ee=_0x5a0012[_0x5b34ea(0x4ab)],_0xa5bc72=0x0;_0xa5bc72<_0x470508;_0xa5bc72++)_0x2bffc3[_0xa5bc72]^=0x5c5c5c5c,_0x2817ee[_0xa5bc72]^=0x36363636;_0x16acf8[_0x5b34ea(0x288)]=_0x5a0012['sigBytes']=_0x2003c1,this['reset']();},'reset':function(){var _0x15eadb=_0x4b7d58,_0x5353fe=this[_0x15eadb(0x247)];_0x5353fe[_0x15eadb(0x4a3)](),_0x5353fe[_0x15eadb(0x3c3)](this[_0x15eadb(0x33e)]);},'update':function(_0x247992){var _0x56d48d=_0x4b7d58;return this[_0x56d48d(0x247)]['update'](_0x247992),this;},'finalize':function(_0x48459b){var _0x378d52=_0x4b7d58,_0x391263=this[_0x378d52(0x247)],_0x348f2c=_0x391263[_0x378d52(0x447)](_0x48459b);_0x391263['reset']();var _0x51d614=_0x391263[_0x378d52(0x447)](this['_oKey']['clone']()['concat'](_0x348f2c));return _0x51d614;}});}());}));}(_0x310a34)),_0x310a34[_0x4dfe56(0x3ec)];}var _0x4d793c=_0x150e03[_0x46b6b2(0x3ec)],_0x37d7d8;function _0xbd3fb0(){return _0x37d7d8||(_0x37d7d8=0x1,function(_0x3f5fbc,_0x48af72){(function(_0xeb6acb,_0x5b5799,_0x2fd3b5){var _0x5ff7b1=_0xaf58;_0x3f5fbc[_0x5ff7b1(0x3ec)]=_0x5b5799(_0x1ec29c(),_0x151d6b(),_0x2dd088());}(_0x4d793c,function(_0x32b46f){var _0x1e2e52=_0xaf58;return(function(){var _0xa9d30e=_0xaf58,_0x100e9a=_0x32b46f,_0x5a54a8=_0x100e9a[_0xa9d30e(0x2b5)],_0x597754=_0x5a54a8[_0xa9d30e(0x3dc)],_0x5ccc8f=_0x5a54a8[_0xa9d30e(0x3e1)],_0x298c17=_0x100e9a[_0xa9d30e(0x45f)],_0x4d4d2a=_0x298c17['MD5'],_0x190937=_0x298c17[_0xa9d30e(0x395)]=_0x597754[_0xa9d30e(0x163)]({'cfg':_0x597754[_0xa9d30e(0x163)]({'keySize':0x80/0x20,'hasher':_0x4d4d2a,'iterations':0x1}),'init':function(_0x5c72f5){var _0xa7afa4=_0xa9d30e;this[_0xa7afa4(0x2b3)]=this[_0xa7afa4(0x2b3)][_0xa7afa4(0x163)](_0x5c72f5);},'compute':function(_0x4e9361,_0x494bf3){var _0xfe9762=_0xa9d30e;for(var _0x587f45,_0x49189d=this[_0xfe9762(0x2b3)],_0x311816=_0x49189d[_0xfe9762(0x2ee)][_0xfe9762(0x49f)](),_0x2090d7=_0x5ccc8f[_0xfe9762(0x49f)](),_0x38cf37=_0x2090d7[_0xfe9762(0x4ab)],_0x2a3eec=_0x49189d[_0xfe9762(0x323)],_0x388be6=_0x49189d['iterations'];_0x38cf37[_0xfe9762(0x3b7)]<_0x2a3eec;){_0x587f45&&_0x311816[_0xfe9762(0x3c3)](_0x587f45),_0x587f45=_0x311816[_0xfe9762(0x3c3)](_0x4e9361)[_0xfe9762(0x447)](_0x494bf3),_0x311816[_0xfe9762(0x4a3)]();for(var _0x4f313e=0x1;_0x4f313e<_0x388be6;_0x4f313e++)_0x587f45=_0x311816[_0xfe9762(0x447)](_0x587f45),_0x311816[_0xfe9762(0x4a3)]();_0x2090d7[_0xfe9762(0x409)](_0x587f45);}return _0x2090d7['sigBytes']=_0x2a3eec*0x4,_0x2090d7;}});_0x100e9a[_0xa9d30e(0x395)]=function(_0x53caaf,_0x32d989,_0x4e218a){var _0x157c78=_0xa9d30e;return _0x190937['create'](_0x4e218a)[_0x157c78(0x384)](_0x53caaf,_0x32d989);};}()),_0x32b46f[_0x1e2e52(0x395)];}));}(_0x150e03)),_0x150e03['exports'];}var _0x4101a3={'exports':{}},_0xfcd41c=_0x4101a3['exports'],_0x503507;function _0x42a3c4(){return _0x503507||(_0x503507=0x1,function(_0x1cfcc4,_0x890fd7){(function(_0x59f980,_0x56e1ca,_0x5ccacc){var _0x3e8be6=_0xaf58;_0x1cfcc4[_0x3e8be6(0x3ec)]=_0x56e1ca(_0x1ec29c(),_0xbd3fb0());}(_0xfcd41c,function(_0x4d13bb){var _0x2a6f57=_0xaf58;_0x4d13bb[_0x2a6f57(0x2b5)][_0x2a6f57(0x423)]||function(_0x3c6ee0){var _0x1710dc=_0x2a6f57,_0x4fe7db=_0x4d13bb,_0x554e91=_0x4fe7db[_0x1710dc(0x2b5)],_0x5a2f70=_0x554e91['Base'],_0x44c793=_0x554e91[_0x1710dc(0x3e1)],_0x84984d=_0x554e91[_0x1710dc(0x335)],_0x32e420=_0x4fe7db[_0x1710dc(0x189)];_0x32e420['Utf8'];var _0x27ec84=_0x32e420['Base64'],_0x1c5eb6=_0x4fe7db['algo'],_0x48cb92=_0x1c5eb6['EvpKDF'],_0x191daa=_0x554e91[_0x1710dc(0x423)]=_0x84984d[_0x1710dc(0x163)]({'cfg':_0x5a2f70[_0x1710dc(0x163)](),'createEncryptor':function(_0x32f282,_0xb10361){var _0x3462c5=_0x1710dc;return this[_0x3462c5(0x49f)](this[_0x3462c5(0x4c8)],_0x32f282,_0xb10361);},'createDecryptor':function(_0x479868,_0x898308){var _0x332dc4=_0x1710dc;return this[_0x332dc4(0x49f)](this[_0x332dc4(0x44f)],_0x479868,_0x898308);},'init':function(_0x14c402,_0x46b128,_0x55f4f6){var _0x164444=_0x1710dc;this[_0x164444(0x2b3)]=this['cfg'][_0x164444(0x163)](_0x55f4f6),this['_xformMode']=_0x14c402,this[_0x164444(0x1f7)]=_0x46b128,this['reset']();},'reset':function(){var _0x1f3ef6=_0x1710dc;_0x84984d['reset'][_0x1f3ef6(0x39a)](this),this[_0x1f3ef6(0x3be)]();},'process':function(_0x1c904f){var _0x5657fb=_0x1710dc;return this[_0x5657fb(0x389)](_0x1c904f),this['_process']();},'finalize':function(_0x4df028){var _0x22cbe4=_0x1710dc;_0x4df028&&this[_0x22cbe4(0x389)](_0x4df028);var _0x4abd66=this['_doFinalize']();return _0x4abd66;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x491ee1(_0x3d687f){return typeof _0x3d687f=='string'?_0x1a0f62:_0x9f6b26;}return function(_0x439dad){return{'encrypt':function(_0x57c806,_0x42ce0e,_0x4823c8){var _0xea4627=_0xaf58;return _0x491ee1(_0x42ce0e)[_0xea4627(0x1dd)](_0x439dad,_0x57c806,_0x42ce0e,_0x4823c8);},'decrypt':function(_0x4e1af0,_0x3420b4,_0x57495c){var _0x6d82de=_0xaf58;return _0x491ee1(_0x3420b4)[_0x6d82de(0x2e3)](_0x439dad,_0x4e1af0,_0x3420b4,_0x57495c);}};};}())});_0x554e91['StreamCipher']=_0x191daa[_0x1710dc(0x163)]({'_doFinalize':function(){var _0x17704a=_0x1710dc,_0x1f9191=this[_0x17704a(0x2f4)](!0x0);return _0x1f9191;},'blockSize':0x1});var _0x1a2f29=_0x4fe7db[_0x1710dc(0x4b8)]={},_0x374f68=_0x554e91[_0x1710dc(0x253)]=_0x5a2f70[_0x1710dc(0x163)]({'createEncryptor':function(_0x4293e3,_0x30bf86){var _0x3664b6=_0x1710dc;return this[_0x3664b6(0x1a6)]['create'](_0x4293e3,_0x30bf86);},'createDecryptor':function(_0x3dbe1f,_0x3b7e98){var _0x348b59=_0x1710dc;return this[_0x348b59(0x201)]['create'](_0x3dbe1f,_0x3b7e98);},'init':function(_0x3fd1cb,_0x13a9e8){var _0x1b7898=_0x1710dc;this['_cipher']=_0x3fd1cb,this[_0x1b7898(0x42d)]=_0x13a9e8;}}),_0x404ce1=_0x1a2f29['CBC']=(function(){var _0x409faa=_0x1710dc,_0x1c1459=_0x374f68[_0x409faa(0x163)]();_0x1c1459[_0x409faa(0x1a6)]=_0x1c1459[_0x409faa(0x163)]({'processBlock':function(_0x51b552,_0x2f933c){var _0x434f75=_0x409faa,_0x242cf5=this[_0x434f75(0x35d)],_0x2a4d61=_0x242cf5[_0x434f75(0x4ac)];_0x327400['call'](this,_0x51b552,_0x2f933c,_0x2a4d61),_0x242cf5[_0x434f75(0x26b)](_0x51b552,_0x2f933c),this[_0x434f75(0x3ff)]=_0x51b552[_0x434f75(0x22f)](_0x2f933c,_0x2f933c+_0x2a4d61);}}),_0x1c1459['Decryptor']=_0x1c1459[_0x409faa(0x163)]({'processBlock':function(_0x530804,_0x25da03){var _0x524784=_0x409faa,_0xb05a4e=this[_0x524784(0x35d)],_0x3dde71=_0xb05a4e['blockSize'],_0x37c870=_0x530804[_0x524784(0x22f)](_0x25da03,_0x25da03+_0x3dde71);_0xb05a4e[_0x524784(0x3d7)](_0x530804,_0x25da03),_0x327400[_0x524784(0x39a)](this,_0x530804,_0x25da03,_0x3dde71),this[_0x524784(0x3ff)]=_0x37c870;}});function _0x327400(_0x3c8e49,_0xe96781,_0x22b1e5){var _0x40b804,_0xf15812=this['_iv'];_0xf15812?(_0x40b804=_0xf15812,this['_iv']=_0x3c6ee0):_0x40b804=this['_prevBlock'];for(var _0x58b847=0x0;_0x58b847<_0x22b1e5;_0x58b847++)_0x3c8e49[_0xe96781+_0x58b847]^=_0x40b804[_0x58b847];}return _0x1c1459;}()),_0x97a79c=_0x4fe7db[_0x1710dc(0x21e)]={},_0x8d40d2=_0x97a79c[_0x1710dc(0x182)]={'pad':function(_0x286bc6,_0x5f4d31){var _0x3384b0=_0x1710dc;for(var _0x3bb5c1=_0x5f4d31*0x4,_0x21b6ea=_0x3bb5c1-_0x286bc6[_0x3384b0(0x288)]%_0x3bb5c1,_0x41d8da=_0x21b6ea<<0x18|_0x21b6ea<<0x10|_0x21b6ea<<0x8|_0x21b6ea,_0x4d3373=[],_0x5f0eea=0x0;_0x5f0eea<_0x21b6ea;_0x5f0eea+=0x4)_0x4d3373[_0x3384b0(0x1a4)](_0x41d8da);var _0x57b807=_0x44c793[_0x3384b0(0x49f)](_0x4d3373,_0x21b6ea);_0x286bc6[_0x3384b0(0x409)](_0x57b807);},'unpad':function(_0x479329){var _0x3755a5=_0x1710dc,_0x21820e=_0x479329[_0x3755a5(0x4ab)][_0x479329[_0x3755a5(0x288)]-0x1>>>0x2]&0xff;_0x479329['sigBytes']-=_0x21820e;}};_0x554e91[_0x1710dc(0x387)]=_0x191daa[_0x1710dc(0x163)]({'cfg':_0x191daa[_0x1710dc(0x2b3)][_0x1710dc(0x163)]({'mode':_0x404ce1,'padding':_0x8d40d2}),'reset':function(){var _0x27edf4=_0x1710dc,_0x1b3987;_0x191daa[_0x27edf4(0x4a3)][_0x27edf4(0x39a)](this);var _0x47706b=this[_0x27edf4(0x2b3)],_0x598cc3=_0x47706b['iv'],_0x11f1c2=_0x47706b[_0x27edf4(0x4b8)];this[_0x27edf4(0x3a1)]==this[_0x27edf4(0x4c8)]?_0x1b3987=_0x11f1c2[_0x27edf4(0x46c)]:(_0x1b3987=_0x11f1c2['createDecryptor'],this[_0x27edf4(0x203)]=0x1),this[_0x27edf4(0x22d)]&&this[_0x27edf4(0x22d)]['__creator']==_0x1b3987?this[_0x27edf4(0x22d)][_0x27edf4(0x2f1)](this,_0x598cc3&&_0x598cc3[_0x27edf4(0x4ab)]):(this[_0x27edf4(0x22d)]=_0x1b3987[_0x27edf4(0x39a)](_0x11f1c2,this,_0x598cc3&&_0x598cc3[_0x27edf4(0x4ab)]),this[_0x27edf4(0x22d)]['__creator']=_0x1b3987);},'_doProcessBlock':function(_0x58eb9c,_0x24214a){var _0x5a1c09=_0x1710dc;this[_0x5a1c09(0x22d)][_0x5a1c09(0x205)](_0x58eb9c,_0x24214a);},'_doFinalize':function(){var _0x2a5c48=_0x1710dc,_0x119247,_0x2bdd0e=this[_0x2a5c48(0x2b3)][_0x2a5c48(0x41f)];return this[_0x2a5c48(0x3a1)]==this[_0x2a5c48(0x4c8)]?(_0x2bdd0e['pad'](this[_0x2a5c48(0x146)],this[_0x2a5c48(0x4ac)]),_0x119247=this[_0x2a5c48(0x2f4)](!0x0)):(_0x119247=this[_0x2a5c48(0x2f4)](!0x0),_0x2bdd0e[_0x2a5c48(0x21b)](_0x119247)),_0x119247;},'blockSize':0x80/0x20});var _0xe003df=_0x554e91[_0x1710dc(0x415)]=_0x5a2f70[_0x1710dc(0x163)]({'init':function(_0x1d91b5){var _0xd4291a=_0x1710dc;this[_0xd4291a(0x4ce)](_0x1d91b5);},'toString':function(_0x416c18){var _0x269c2d=_0x1710dc;return(_0x416c18||this[_0x269c2d(0x3c9)])[_0x269c2d(0x1a3)](this);}}),_0xe3f55=_0x4fe7db[_0x1710dc(0x44d)]={},_0x5d077e=_0xe3f55['OpenSSL']={'stringify':function(_0x504a8e){var _0x2ee56e=_0x1710dc,_0x15ab49,_0x46598b=_0x504a8e['ciphertext'],_0x3ddcd5=_0x504a8e[_0x2ee56e(0x27c)];return _0x3ddcd5?_0x15ab49=_0x44c793[_0x2ee56e(0x49f)]([0x53616c74,0x65645f5f])[_0x2ee56e(0x409)](_0x3ddcd5)['concat'](_0x46598b):_0x15ab49=_0x46598b,_0x15ab49[_0x2ee56e(0x2fe)](_0x27ec84);},'parse':function(_0x2f12f0){var _0x2d3e82=_0x1710dc,_0x529ec3,_0x381c51=_0x27ec84[_0x2d3e82(0x24f)](_0x2f12f0),_0x54fc7a=_0x381c51[_0x2d3e82(0x4ab)];return _0x54fc7a[0x0]==0x53616c74&&_0x54fc7a[0x1]==0x65645f5f&&(_0x529ec3=_0x44c793[_0x2d3e82(0x49f)](_0x54fc7a[_0x2d3e82(0x22f)](0x2,0x4)),_0x54fc7a['splice'](0x0,0x4),_0x381c51[_0x2d3e82(0x288)]-=0x10),_0xe003df[_0x2d3e82(0x49f)]({'ciphertext':_0x381c51,'salt':_0x529ec3});}},_0x9f6b26=_0x554e91[_0x1710dc(0x3b5)]=_0x5a2f70[_0x1710dc(0x163)]({'cfg':_0x5a2f70[_0x1710dc(0x163)]({'format':_0x5d077e}),'encrypt':function(_0x20a110,_0x10d424,_0x2e492a,_0x45949f){var _0x5905bc=_0x1710dc;_0x45949f=this[_0x5905bc(0x2b3)]['extend'](_0x45949f);var _0xad9ff3=_0x20a110[_0x5905bc(0x46c)](_0x2e492a,_0x45949f),_0x3f6407=_0xad9ff3[_0x5905bc(0x447)](_0x10d424),_0x174e3f=_0xad9ff3['cfg'];return _0xe003df[_0x5905bc(0x49f)]({'ciphertext':_0x3f6407,'key':_0x2e492a,'iv':_0x174e3f['iv'],'algorithm':_0x20a110,'mode':_0x174e3f['mode'],'padding':_0x174e3f[_0x5905bc(0x41f)],'blockSize':_0x20a110[_0x5905bc(0x4ac)],'formatter':_0x45949f[_0x5905bc(0x44d)]});},'decrypt':function(_0x4cc5df,_0x5926fb,_0x2b7072,_0xad8592){var _0x57a5f7=_0x1710dc;_0xad8592=this[_0x57a5f7(0x2b3)][_0x57a5f7(0x163)](_0xad8592),_0x5926fb=this['_parse'](_0x5926fb,_0xad8592['format']);var _0x4c1d09=_0x4cc5df[_0x57a5f7(0x429)](_0x2b7072,_0xad8592)['finalize'](_0x5926fb['ciphertext']);return _0x4c1d09;},'_parse':function(_0x54cea8,_0x561cfc){var _0x2b9af1=_0x1710dc;return typeof _0x54cea8==_0x2b9af1(0x2c9)?_0x561cfc[_0x2b9af1(0x24f)](_0x54cea8,this):_0x54cea8;}}),_0x890269=_0x4fe7db['kdf']={},_0x360943=_0x890269[_0x1710dc(0x2a4)]={'execute':function(_0x11632e,_0x356443,_0x434c98,_0x1f05c0,_0x248b58){var _0x38efb8=_0x1710dc;if(_0x1f05c0||(_0x1f05c0=_0x44c793[_0x38efb8(0x147)](0x40/0x8)),_0x248b58)var _0x6cd2a8=_0x48cb92[_0x38efb8(0x49f)]({'keySize':_0x356443+_0x434c98,'hasher':_0x248b58})[_0x38efb8(0x384)](_0x11632e,_0x1f05c0);else var _0x6cd2a8=_0x48cb92[_0x38efb8(0x49f)]({'keySize':_0x356443+_0x434c98})[_0x38efb8(0x384)](_0x11632e,_0x1f05c0);var _0x4f4273=_0x44c793[_0x38efb8(0x49f)](_0x6cd2a8[_0x38efb8(0x4ab)][_0x38efb8(0x22f)](_0x356443),_0x434c98*0x4);return _0x6cd2a8[_0x38efb8(0x288)]=_0x356443*0x4,_0xe003df[_0x38efb8(0x49f)]({'key':_0x6cd2a8,'iv':_0x4f4273,'salt':_0x1f05c0});}},_0x1a0f62=_0x554e91[_0x1710dc(0x233)]=_0x9f6b26[_0x1710dc(0x163)]({'cfg':_0x9f6b26['cfg'][_0x1710dc(0x163)]({'kdf':_0x360943}),'encrypt':function(_0x568f9c,_0x4276a5,_0x2ca36f,_0x56d7bf){var _0x353ecc=_0x1710dc;_0x56d7bf=this[_0x353ecc(0x2b3)][_0x353ecc(0x163)](_0x56d7bf);var _0x399e60=_0x56d7bf[_0x353ecc(0x21a)][_0x353ecc(0x16b)](_0x2ca36f,_0x568f9c[_0x353ecc(0x323)],_0x568f9c[_0x353ecc(0x3ca)],_0x56d7bf[_0x353ecc(0x27c)],_0x56d7bf[_0x353ecc(0x2ee)]);_0x56d7bf['iv']=_0x399e60['iv'];var _0x4d7886=_0x9f6b26['encrypt'][_0x353ecc(0x39a)](this,_0x568f9c,_0x4276a5,_0x399e60[_0x353ecc(0x226)],_0x56d7bf);return _0x4d7886[_0x353ecc(0x4ce)](_0x399e60),_0x4d7886;},'decrypt':function(_0x69edcc,_0x1c6e51,_0x1fb55e,_0x147642){var _0x40fef8=_0x1710dc;_0x147642=this['cfg'][_0x40fef8(0x163)](_0x147642),_0x1c6e51=this[_0x40fef8(0x29e)](_0x1c6e51,_0x147642[_0x40fef8(0x44d)]);var _0x2937d8=_0x147642[_0x40fef8(0x21a)]['execute'](_0x1fb55e,_0x69edcc[_0x40fef8(0x323)],_0x69edcc[_0x40fef8(0x3ca)],_0x1c6e51[_0x40fef8(0x27c)],_0x147642[_0x40fef8(0x2ee)]);_0x147642['iv']=_0x2937d8['iv'];var _0x51cd32=_0x9f6b26[_0x40fef8(0x2e3)]['call'](this,_0x69edcc,_0x1c6e51,_0x2937d8[_0x40fef8(0x226)],_0x147642);return _0x51cd32;}});}();}));}(_0x4101a3)),_0x4101a3['exports'];}var _0x367877=_0x337280['exports'],_0x32f568;function _0x2605ce(){return _0x32f568||(_0x32f568=0x1,function(_0x463477,_0x19c9d6){(function(_0x4b5dc9,_0x14750a,_0x23a13c){var _0x2cb004=_0xaf58;_0x463477[_0x2cb004(0x3ec)]=_0x14750a(_0x1ec29c(),_0x36c391(),_0x1a54c9(),_0xbd3fb0(),_0x42a3c4());}(_0x367877,function(_0xf9e3b){var _0x2c82c3=_0xaf58;return(function(){var _0x22497c=_0xaf58,_0x4cf7ba=_0xf9e3b,_0x4d47cb=_0x4cf7ba[_0x22497c(0x2b5)],_0x18ebbe=_0x4d47cb['BlockCipher'],_0x4b7ef4=_0x4cf7ba[_0x22497c(0x45f)],_0x3a25df=[],_0x5ec0ac=[],_0x4a8856=[],_0x41b748=[],_0x224db4=[],_0x29a7ec=[],_0x4b4aa9=[],_0x274781=[],_0x1501f3=[],_0x4c4560=[];(function(){for(var _0x45f2de=[],_0x48fd22=0x0;_0x48fd22<0x100;_0x48fd22++)_0x48fd22<0x80?_0x45f2de[_0x48fd22]=_0x48fd22<<0x1:_0x45f2de[_0x48fd22]=_0x48fd22<<0x1^0x11b;for(var _0x141c90=0x0,_0xd1ded=0x0,_0x48fd22=0x0;_0x48fd22<0x100;_0x48fd22++){var _0x282617=_0xd1ded^_0xd1ded<<0x1^_0xd1ded<<0x2^_0xd1ded<<0x3^_0xd1ded<<0x4;_0x282617=_0x282617>>>0x8^_0x282617&0xff^0x63,_0x3a25df[_0x141c90]=_0x282617,_0x5ec0ac[_0x282617]=_0x141c90;var _0x1bf5e8=_0x45f2de[_0x141c90],_0x2695bf=_0x45f2de[_0x1bf5e8],_0x479629=_0x45f2de[_0x2695bf],_0x4fa77c=_0x45f2de[_0x282617]*0x101^_0x282617*0x1010100;_0x4a8856[_0x141c90]=_0x4fa77c<<0x18|_0x4fa77c>>>0x8,_0x41b748[_0x141c90]=_0x4fa77c<<0x10|_0x4fa77c>>>0x10,_0x224db4[_0x141c90]=_0x4fa77c<<0x8|_0x4fa77c>>>0x18,_0x29a7ec[_0x141c90]=_0x4fa77c;var _0x4fa77c=_0x479629*0x1010101^_0x2695bf*0x10001^_0x1bf5e8*0x101^_0x141c90*0x1010100;_0x4b4aa9[_0x282617]=_0x4fa77c<<0x18|_0x4fa77c>>>0x8,_0x274781[_0x282617]=_0x4fa77c<<0x10|_0x4fa77c>>>0x10,_0x1501f3[_0x282617]=_0x4fa77c<<0x8|_0x4fa77c>>>0x18,_0x4c4560[_0x282617]=_0x4fa77c,_0x141c90?(_0x141c90=_0x1bf5e8^_0x45f2de[_0x45f2de[_0x45f2de[_0x479629^_0x1bf5e8]]],_0xd1ded^=_0x45f2de[_0x45f2de[_0xd1ded]]):_0x141c90=_0xd1ded=0x1;}}());var _0x3be14e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x209b89=_0x4b7ef4[_0x22497c(0x237)]=_0x18ebbe[_0x22497c(0x163)]({'_doReset':function(){var _0x627ce0=_0x22497c,_0x2e597e;if(!(this[_0x627ce0(0x277)]&&this[_0x627ce0(0x450)]===this[_0x627ce0(0x1f7)])){for(var _0x2f32f6=this[_0x627ce0(0x450)]=this[_0x627ce0(0x1f7)],_0x41949f=_0x2f32f6[_0x627ce0(0x4ab)],_0xc78a07=_0x2f32f6[_0x627ce0(0x288)]/0x4,_0x224fb3=this[_0x627ce0(0x277)]=_0xc78a07+0x6,_0x5ef8ca=(_0x224fb3+0x1)*0x4,_0x1935fe=this[_0x627ce0(0x287)]=[],_0x2c3109=0x0;_0x2c3109<_0x5ef8ca;_0x2c3109++)_0x2c3109<_0xc78a07?_0x1935fe[_0x2c3109]=_0x41949f[_0x2c3109]:(_0x2e597e=_0x1935fe[_0x2c3109-0x1],_0x2c3109%_0xc78a07?_0xc78a07>0x6&&_0x2c3109%_0xc78a07==0x4&&(_0x2e597e=_0x3a25df[_0x2e597e>>>0x18]<<0x18|_0x3a25df[_0x2e597e>>>0x10&0xff]<<0x10|_0x3a25df[_0x2e597e>>>0x8&0xff]<<0x8|_0x3a25df[_0x2e597e&0xff]):(_0x2e597e=_0x2e597e<<0x8|_0x2e597e>>>0x18,_0x2e597e=_0x3a25df[_0x2e597e>>>0x18]<<0x18|_0x3a25df[_0x2e597e>>>0x10&0xff]<<0x10|_0x3a25df[_0x2e597e>>>0x8&0xff]<<0x8|_0x3a25df[_0x2e597e&0xff],_0x2e597e^=_0x3be14e[_0x2c3109/_0xc78a07|0x0]<<0x18),_0x1935fe[_0x2c3109]=_0x1935fe[_0x2c3109-_0xc78a07]^_0x2e597e);for(var _0x3d82bf=this['_invKeySchedule']=[],_0x2c2927=0x0;_0x2c2927<_0x5ef8ca;_0x2c2927++){var _0x2c3109=_0x5ef8ca-_0x2c2927;if(_0x2c2927%0x4)var _0x2e597e=_0x1935fe[_0x2c3109];else var _0x2e597e=_0x1935fe[_0x2c3109-0x4];_0x2c2927<0x4||_0x2c3109<=0x4?_0x3d82bf[_0x2c2927]=_0x2e597e:_0x3d82bf[_0x2c2927]=_0x4b4aa9[_0x3a25df[_0x2e597e>>>0x18]]^_0x274781[_0x3a25df[_0x2e597e>>>0x10&0xff]]^_0x1501f3[_0x3a25df[_0x2e597e>>>0x8&0xff]]^_0x4c4560[_0x3a25df[_0x2e597e&0xff]];}}},'encryptBlock':function(_0x334b70,_0x334220){var _0x1ddd06=_0x22497c;this[_0x1ddd06(0x362)](_0x334b70,_0x334220,this[_0x1ddd06(0x287)],_0x4a8856,_0x41b748,_0x224db4,_0x29a7ec,_0x3a25df);},'decryptBlock':function(_0x2671d3,_0x17b9ec){var _0x13094d=_0x22497c,_0x5beb18=_0x2671d3[_0x17b9ec+0x1];_0x2671d3[_0x17b9ec+0x1]=_0x2671d3[_0x17b9ec+0x3],_0x2671d3[_0x17b9ec+0x3]=_0x5beb18,this['_doCryptBlock'](_0x2671d3,_0x17b9ec,this[_0x13094d(0x2bc)],_0x4b4aa9,_0x274781,_0x1501f3,_0x4c4560,_0x5ec0ac);var _0x5beb18=_0x2671d3[_0x17b9ec+0x1];_0x2671d3[_0x17b9ec+0x1]=_0x2671d3[_0x17b9ec+0x3],_0x2671d3[_0x17b9ec+0x3]=_0x5beb18;},'_doCryptBlock':function(_0x1d0ddc,_0x139dc7,_0x44bed0,_0x2ca581,_0x1c2e2d,_0x94bfa6,_0x29e1a0,_0x5293c1){var _0x260c49=_0x22497c;for(var _0x22d1a1=this[_0x260c49(0x277)],_0x3e196c=_0x1d0ddc[_0x139dc7]^_0x44bed0[0x0],_0x22afc0=_0x1d0ddc[_0x139dc7+0x1]^_0x44bed0[0x1],_0x34b05e=_0x1d0ddc[_0x139dc7+0x2]^_0x44bed0[0x2],_0x1f0b15=_0x1d0ddc[_0x139dc7+0x3]^_0x44bed0[0x3],_0x27978a=0x4,_0x5a76cf=0x1;_0x5a76cf<_0x22d1a1;_0x5a76cf++){var _0x204b5c=_0x2ca581[_0x3e196c>>>0x18]^_0x1c2e2d[_0x22afc0>>>0x10&0xff]^_0x94bfa6[_0x34b05e>>>0x8&0xff]^_0x29e1a0[_0x1f0b15&0xff]^_0x44bed0[_0x27978a++],_0x5d4545=_0x2ca581[_0x22afc0>>>0x18]^_0x1c2e2d[_0x34b05e>>>0x10&0xff]^_0x94bfa6[_0x1f0b15>>>0x8&0xff]^_0x29e1a0[_0x3e196c&0xff]^_0x44bed0[_0x27978a++],_0x519e1f=_0x2ca581[_0x34b05e>>>0x18]^_0x1c2e2d[_0x1f0b15>>>0x10&0xff]^_0x94bfa6[_0x3e196c>>>0x8&0xff]^_0x29e1a0[_0x22afc0&0xff]^_0x44bed0[_0x27978a++],_0x550aa9=_0x2ca581[_0x1f0b15>>>0x18]^_0x1c2e2d[_0x3e196c>>>0x10&0xff]^_0x94bfa6[_0x22afc0>>>0x8&0xff]^_0x29e1a0[_0x34b05e&0xff]^_0x44bed0[_0x27978a++];_0x3e196c=_0x204b5c,_0x22afc0=_0x5d4545,_0x34b05e=_0x519e1f,_0x1f0b15=_0x550aa9;}var _0x204b5c=(_0x5293c1[_0x3e196c>>>0x18]<<0x18|_0x5293c1[_0x22afc0>>>0x10&0xff]<<0x10|_0x5293c1[_0x34b05e>>>0x8&0xff]<<0x8|_0x5293c1[_0x1f0b15&0xff])^_0x44bed0[_0x27978a++],_0x5d4545=(_0x5293c1[_0x22afc0>>>0x18]<<0x18|_0x5293c1[_0x34b05e>>>0x10&0xff]<<0x10|_0x5293c1[_0x1f0b15>>>0x8&0xff]<<0x8|_0x5293c1[_0x3e196c&0xff])^_0x44bed0[_0x27978a++],_0x519e1f=(_0x5293c1[_0x34b05e>>>0x18]<<0x18|_0x5293c1[_0x1f0b15>>>0x10&0xff]<<0x10|_0x5293c1[_0x3e196c>>>0x8&0xff]<<0x8|_0x5293c1[_0x22afc0&0xff])^_0x44bed0[_0x27978a++],_0x550aa9=(_0x5293c1[_0x1f0b15>>>0x18]<<0x18|_0x5293c1[_0x3e196c>>>0x10&0xff]<<0x10|_0x5293c1[_0x22afc0>>>0x8&0xff]<<0x8|_0x5293c1[_0x34b05e&0xff])^_0x44bed0[_0x27978a++];_0x1d0ddc[_0x139dc7]=_0x204b5c,_0x1d0ddc[_0x139dc7+0x1]=_0x5d4545,_0x1d0ddc[_0x139dc7+0x2]=_0x519e1f,_0x1d0ddc[_0x139dc7+0x3]=_0x550aa9;},'keySize':0x100/0x20});_0x4cf7ba[_0x22497c(0x237)]=_0x18ebbe[_0x22497c(0x488)](_0x209b89);}()),_0xf9e3b[_0x2c82c3(0x237)];}));}(_0x337280)),_0x337280['exports'];}var _0x29d788=_0x2605ce();const _0x57281e=_0x475945(_0x29d788);var _0x5f0c26=_0x36c391();const _0x4bc9f6=_0x475945(_0x5f0c26);var _0x29a33d={'exports':{}},_0x29ce64=_0x29a33d[_0x46b6b2(0x3ec)],_0x5c0f85;function _0x2bac3f(){var _0x59fe52=_0x46b6b2;return _0x5c0f85||(_0x5c0f85=0x1,function(_0x2587f8,_0x2e7999){(function(_0x4cebcf,_0x45f751){_0x2587f8['exports']=_0x45f751(_0x1ec29c());}(_0x29ce64,function(_0x366a13){var _0x59915b=_0xaf58;return _0x366a13['enc'][_0x59915b(0x441)];}));}(_0x29a33d)),_0x29a33d[_0x59fe52(0x3ec)];}var _0x218b29=_0x2bac3f();const _0x38fd55=_0x475945(_0x218b29);var _0x4236cc={'exports':{}},_0x10c1dc=_0x4236cc[_0x46b6b2(0x3ec)],_0x57d716;function _0x391c0f(){var _0x28616e=_0x46b6b2;return _0x57d716||(_0x57d716=0x1,function(_0x39eece,_0x1d0c49){(function(_0x10d063,_0x563bbf){_0x39eece['exports']=_0x563bbf(_0x1ec29c());}(_0x10c1dc,function(_0x47af45){var _0x385a28=_0xaf58;return(function(){var _0x49ed1c=_0xaf58;if(typeof ArrayBuffer==_0x49ed1c(0x407)){var _0x1f1fca=_0x47af45,_0x5d9ac1=_0x1f1fca[_0x49ed1c(0x2b5)],_0x4f6629=_0x5d9ac1['WordArray'],_0x511568=_0x4f6629['init'],_0x5ecbba=_0x4f6629[_0x49ed1c(0x2f1)]=function(_0x5b49c2){var _0x4702bb=_0x49ed1c;if(_0x5b49c2 instanceof ArrayBuffer&&(_0x5b49c2=new Uint8Array(_0x5b49c2)),(_0x5b49c2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5b49c2 instanceof Uint8ClampedArray||_0x5b49c2 instanceof Int16Array||_0x5b49c2 instanceof Uint16Array||_0x5b49c2 instanceof Int32Array||_0x5b49c2 instanceof Uint32Array||_0x5b49c2 instanceof Float32Array||_0x5b49c2 instanceof Float64Array)&&(_0x5b49c2=new Uint8Array(_0x5b49c2[_0x4702bb(0x452)],_0x5b49c2['byteOffset'],_0x5b49c2[_0x4702bb(0x294)])),_0x5b49c2 instanceof Uint8Array){for(var _0x542335=_0x5b49c2['byteLength'],_0x5ea34e=[],_0x5e778a=0x0;_0x5e778a<_0x542335;_0x5e778a++)_0x5ea34e[_0x5e778a>>>0x2]|=_0x5b49c2[_0x5e778a]<<0x18-_0x5e778a%0x4*0x8;_0x511568[_0x4702bb(0x39a)](this,_0x5ea34e,_0x542335);}else _0x511568[_0x4702bb(0x1bf)](this,arguments);};_0x5ecbba['prototype']=_0x4f6629;}}()),_0x47af45[_0x385a28(0x2b5)]['WordArray'];}));}(_0x4236cc)),_0x4236cc[_0x28616e(0x3ec)];}var _0xc3d536=_0x391c0f();const _0x22580b=_0x475945(_0xc3d536);var _0x352b89={'exports':{}},_0x7cd5b5=_0x352b89[_0x46b6b2(0x3ec)],_0x1bd969;function _0x5db0c5(){return _0x1bd969||(_0x1bd969=0x1,function(_0x43c3ad,_0x37a708){(function(_0x11e7f9,_0x28106f,_0x5d4dc7){var _0x68b799=_0xaf58;_0x43c3ad[_0x68b799(0x3ec)]=_0x28106f(_0x1ec29c(),_0x42a3c4());}(_0x7cd5b5,function(_0x2ca282){var _0x6b1f95=_0xaf58;return _0x2ca282[_0x6b1f95(0x21e)][_0x6b1f95(0x355)]={'pad':function(){},'unpad':function(){}},_0x2ca282[_0x6b1f95(0x21e)]['NoPadding'];}));}(_0x352b89)),_0x352b89['exports'];}var _0x120230=_0x5db0c5();const _0x566120=_0x475945(_0x120230);function _0x35d3cc(_0x1dc695,_0x3a4ac8){var _0x4c0e71=_0x46b6b2;const _0x474648=_0x3a4ac8-_0x1dc695[_0x4c0e71(0x3b7)]%_0x3a4ac8,_0x4fd1f6=String[_0x4c0e71(0x2ae)](_0x474648)[_0x4c0e71(0x25b)](_0x474648);return _0x1dc695+_0x4fd1f6;}function _0x552504(_0xb279f,_0x2225ab){var _0x3bacf7=_0x46b6b2;const _0x48778a=_0x22580b[_0x3bacf7(0x147)](0x10),_0x1d3da6=_0x35d3cc(_0xb279f,0x10),_0x3817b0=_0x57281e['encrypt'](_0x38fd55[_0x3bacf7(0x24f)](_0x1d3da6),_0x4bc9f6[_0x3bacf7(0x24f)](_0x2225ab),{'iv':_0x48778a,'padding':_0x566120});return _0x48778a[_0x3bacf7(0x409)](_0x3817b0[_0x3bacf7(0x475)])[_0x3bacf7(0x2fe)](_0x4bc9f6);}function _0x2224da(){var _0x89378f=_0x46b6b2;const _0x55a529=_0x3865ad[_0x89378f(0x225)]()[_0x89378f(0x3a5)];if(_0x55a529){const _0x155d1d={'time':Math[_0x89378f(0x1c3)](Date['now']()/0x3e8),'domain':location['hostname']};return _0x552504(JSON[_0x89378f(0x1a3)](_0x155d1d),_0x55a529);}}var _0x10eded=Object[_0x46b6b2(0x313)],_0x30fb35=(_0x59748c,_0x247021,_0x29f064,_0x18b4ac)=>{var _0xceb7d3=_0x46b6b2;for(var _0x29cb02=_0x18b4ac>0x1?void 0x0:_0x18b4ac?_0x10eded(_0x247021,_0x29f064):_0x247021,_0x5844a7=_0x59748c[_0xceb7d3(0x3b7)]-0x1,_0x1b3ce7;_0x5844a7>=0x0;_0x5844a7--)(_0x1b3ce7=_0x59748c[_0x5844a7])&&(_0x29cb02=_0x1b3ce7(_0x29cb02)||_0x29cb02);return _0x29cb02;},_0x391195=(_0x2c79f9,_0x4d15bd)=>(_0x34ab4f,_0x24d7c9)=>_0x4d15bd(_0x34ab4f,_0x24d7c9,_0x2c79f9);let _0x3778f5=class{constructor(_0x1662a0){var _0x187411=_0x46b6b2;this[_0x187411(0x1c7)]=_0x1662a0,this[_0x187411(0x3b0)]();}[_0x46b6b2(0x3b0)](){var _0x198108=_0x46b6b2;this[_0x198108(0x1c7)][_0x198108(0x2a6)]({'interceptor':(_0x2569cb,_0x132243)=>{var _0x5bd30d=_0x198108;const _0x3df14b=_0x2569cb['headers'],_0x9e6e20=_0x2224da();return _0x9e6e20&&_0x3df14b[_0x5bd30d(0x216)](_0x5bd30d(0x24a),_0x9e6e20),_0x132243(_0x2569cb);}});}};_0x3778f5=_0x30fb35([_0x391195(0x0,_0x2c51de['Inject'](_0x28078a[_0x46b6b2(0x3c7)]))],_0x3778f5);var _0x1c6468=Object[_0x46b6b2(0x313)],_0x2b5db5=(_0x507891,_0x30585d,_0x20ba15,_0x511ad5)=>{var _0x54e08a=_0x46b6b2;for(var _0x1880d5=_0x511ad5>0x1?void 0x0:_0x511ad5?_0x1c6468(_0x30585d,_0x20ba15):_0x30585d,_0xc438d9=_0x507891[_0x54e08a(0x3b7)]-0x1,_0x268877;_0xc438d9>=0x0;_0xc438d9--)(_0x268877=_0x507891[_0xc438d9])&&(_0x1880d5=_0x268877(_0x1880d5)||_0x1880d5);return _0x1880d5;},_0x1d0991=(_0x13b703,_0x3e2313)=>(_0x18e050,_0x4accb4)=>_0x3e2313(_0x18e050,_0x4accb4,_0x13b703);_0x8e59c3['DataLoaderService']=class extends _0x2c51de[_0x46b6b2(0x1a8)]{constructor(_0x409d49,_0x4443f4,_0x5f56ec){var _0x51020e=_0x46b6b2;super(),_0x433d55(this,_0x51020e(0x2eb),new _0x338c92[(_0x51020e(0x2b2))](null)),_0x433d55(this,_0x51020e(0x3b9),this[_0x51020e(0x2eb)][_0x51020e(0x280)]()),(this[_0x51020e(0x2de)]=_0x409d49,this[_0x51020e(0x46f)]=_0x4443f4,this[_0x51020e(0x481)]=_0x5f56ec);}async[_0x46b6b2(0x3d3)](_0x3cac9a,_0x548771,_0xa67da7){var _0x4ae381=_0x46b6b2;this[_0x4ae381(0x2eb)][_0x4ae381(0x352)]({'unitId':_0x3cac9a,'type':_0x548771});let _0x3ac477=null;switch(_0x548771){case _0x284dcc[_0x4ae381(0x29b)]:{_0x3ac477=await this[_0x4ae381(0x46f)][_0x4ae381(0x171)](_0x3cac9a,_0xa67da7);break;}case _0x284dcc[_0x4ae381(0x2d0)]:{_0x3ac477=await this[_0x4ae381(0x46f)][_0x4ae381(0x2c6)](_0x3cac9a,_0xa67da7);break;}default:{this['_logService'][_0x4ae381(0x275)](_0x4ae381(0x2f3),_0x4ae381(0x1c1));break;}}return _0x3ac477;}async[_0x46b6b2(0x23c)](_0x34924b,_0x52db04,_0xa891c2){var _0x41206b=_0x46b6b2,_0x1c5c77;this['_unitInfo$']['next']({'unitId':_0x34924b,'type':_0x52db04,'subUnitId':_0xa891c2});let _0x2b815d=0x0;const _0x358424=await((_0x1c5c77=this['_localCacheService'])==null?void 0x0:_0x1c5c77[_0x41206b(0x20d)](_0x34924b));return _0x358424&&(_0x358424[_0x41206b(0x43a)]||_0x358424['mutations'][_0x41206b(0x3b7)]!==0x0)&&(_0x2b815d=_0x358424[_0x41206b(0x3f6)]),_0x2b815d===0x0&&this[_0x41206b(0x2de)][_0x41206b(0x39c)]('[DataLoaderService]',_0x41206b(0x31b)),this[_0x41206b(0x3d3)](_0x34924b,_0x52db04,_0x2b815d);}},_0x8e59c3['DataLoaderService']=_0x2b5db5([_0x1d0991(0x0,_0x2c51de['ILogService']),_0x1d0991(0x1,_0x2c51de[_0x46b6b2(0x281)](_0x32b62f['SnapshotService'])),_0x1d0991(0x2,_0x2c51de[_0x46b6b2(0x1b4)](_0x3a9769))],_0x8e59c3[_0x46b6b2(0x2e9)]);var _0x27d12b=Object[_0x46b6b2(0x313)],_0x277efd=(_0x126ab9,_0x5814b0,_0x184d0a,_0x3db3c7)=>{for(var _0x214921=_0x3db3c7>0x1?void 0x0:_0x3db3c7?_0x27d12b(_0x5814b0,_0x184d0a):_0x5814b0,_0x303f3b=_0x126ab9['length']-0x1,_0x463f60;_0x303f3b>=0x0;_0x303f3b--)(_0x463f60=_0x126ab9[_0x303f3b])&&(_0x214921=_0x463f60(_0x214921)||_0x214921);return _0x214921;},_0x5e0bee=(_0xaa6c67,_0x2cc8e4)=>(_0x539523,_0x5632b2)=>_0x2cc8e4(_0x539523,_0x5632b2,_0xaa6c67);const _0x5c99b3=[_0x46b6b2(0x2a9),_0x46b6b2(0x45b),_0x46b6b2(0x326),_0x46b6b2(0x252),_0x46b6b2(0x44e)],_0x9b9cf5=0x5*0x400*0x400,_0x11c2ee=_0x46b6b2(0x438),_0xe8b67f=_0x46b6b2(0x340),_0x5a1255=_0x46b6b2(0x21d),_0x596079='/universer-api/file/{fileID}/sign-url';_0x8e59c3['CollaborationImageIoService']=class{constructor(_0x343c5d,_0x32e554,_0x492e47){var _0x2cff53=_0x46b6b2;_0x433d55(this,'_waitCount',0x0),_0x433d55(this,_0x2cff53(0x2bf),new _0x338c92['Subject']()),_0x433d55(this,_0x2cff53(0x3fd),this[_0x2cff53(0x2bf)]),_0x433d55(this,'_imageSourceCache',new Map()),(this[_0x2cff53(0x1c7)]=_0x343c5d,this[_0x2cff53(0x457)]=_0x32e554,this[_0x2cff53(0x3eb)]=_0x492e47);}[_0x46b6b2(0x299)](_0x3196e5){var _0xa16be6=_0x46b6b2;this[_0xa16be6(0x35e)]=_0x3196e5,this[_0xa16be6(0x2bf)][_0xa16be6(0x352)](_0x3196e5);}[_0x46b6b2(0x334)](_0x3dc881,_0x4c5e16){var _0x3736c1=_0x46b6b2;if(_0x4c5e16===_0x2431e1[_0x3736c1(0x3df)][_0x3736c1(0x31d)]){const _0x16cf3e=new Image();return _0x16cf3e['src']=_0x3dc881,_0x16cf3e;}return this[_0x3736c1(0x4af)]['get'](_0x3dc881);}['addImageSourceCache'](_0x4ead2d,_0x3100ad,_0xa4113d){var _0x34acde=_0x46b6b2;_0x3100ad===_0x2431e1[_0x34acde(0x3df)][_0x34acde(0x31d)]||_0xa4113d==null||this[_0x34acde(0x4af)][_0x34acde(0x216)](_0x4ead2d,_0xa4113d);}async['getImage'](_0x2f2f13){var _0x5a3ae1=_0x46b6b2;try{const _0x10e42b=this['_replaceFileID'](this[_0x5a3ae1(0x4cd)](),''+_0x2f2f13),_0x2f0c45=(await this[_0x5a3ae1(0x1c7)][_0x5a3ae1(0x1b6)](_0x10e42b))[_0x5a3ae1(0x221)];if(_0x2f0c45[_0x5a3ae1(0x275)]&&_0x2f0c45[_0x5a3ae1(0x275)][_0x5a3ae1(0x3b1)]===_0x1c5be1['OK']){const _0x5918cd=new URL(_0x2f0c45[_0x5a3ae1(0x308)],this[_0x5a3ae1(0x15a)]())[_0x5a3ae1(0x2fe)]();return Promise[_0x5a3ae1(0x485)](_0x5918cd);}return Promise[_0x5a3ae1(0x483)](_0x2f0c45[_0x5a3ae1(0x275)]);}catch(_0x5c276b){return Promise[_0x5a3ae1(0x483)](_0x5c276b);}}async['saveImage'](_0x3057c0){var _0x5c4fa3=_0x46b6b2;let _0x1d6a5a='';if(!_0x5c99b3[_0x5c4fa3(0x458)](_0x3057c0[_0x5c4fa3(0x320)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x2431e1[_0x5c4fa3(0x3dd)][_0x5c4fa3(0x2a8)]));if(_0x3057c0[_0x5c4fa3(0x2ad)]>_0x9b9cf5)return this[_0x5c4fa3(0x34b)](),Promise['reject'](new Error(_0x2431e1['ImageUploadStatusType'][_0x5c4fa3(0x1a7)]));try{const _0x427cf0=new FormData();_0x427cf0[_0x5c4fa3(0x396)](_0x5c4fa3(0x1d5),_0x3057c0);const _0x2a54b8=this['_univerInstanceService']['getFocusedUnit'](),_0x1fb641=_0x2a54b8==null?void 0x0:_0x2a54b8['getUnitId']();if(!_0x1fb641)throw new Error(_0x5c4fa3(0x49c));const _0x5a3fa7=this['_getUploadFileURL']()+_0x5c4fa3(0x15c)+_0x3057c0[_0x5c4fa3(0x2ad)][_0x5c4fa3(0x2fe)]()+_0x5c4fa3(0x1e3)+_0x3062e5[_0x5c4fa3(0x151)]+_0x5c4fa3(0x1d4)+encodeURIComponent(_0x1fb641),_0x440338={'body':_0x427cf0},_0x22f12a=(await this[_0x5c4fa3(0x1c7)]['post'](_0x5a3fa7,_0x440338))['body'];if(typeof _0x22f12a['FileId']!=_0x5c4fa3(0x2c9))return this[_0x5c4fa3(0x34b)](),Promise[_0x5c4fa3(0x483)](new Error(_0x2431e1[_0x5c4fa3(0x3dd)][_0x5c4fa3(0x2d9)]));_0x1d6a5a=_0x22f12a[_0x5c4fa3(0x35b)];}catch{return this[_0x5c4fa3(0x34b)](),Promise[_0x5c4fa3(0x483)](new Error(_0x2431e1['ImageUploadStatusType'][_0x5c4fa3(0x2d9)]));}return new Promise((_0x37d3ff,_0x1e3cb0)=>{var _0x16e907=_0x5c4fa3;const _0x5e7ee6=new FileReader();_0x5e7ee6['readAsDataURL'](_0x3057c0),_0x5e7ee6[_0x16e907(0x215)]=_0x42ba6a=>{var _0x220279=_0x16e907,_0xcfbc32;const _0x10bc0a=(_0xcfbc32=_0x42ba6a['target'])==null?void 0x0:_0xcfbc32[_0x220279(0x40d)];if(_0x10bc0a==null){this[_0x220279(0x34b)](),_0x1e3cb0(new Error(_0x2431e1['ImageUploadStatusType'][_0x220279(0x2d9)]));return;}const _0x422a87=_0x2c51de['Tools'][_0x220279(0x467)](0x6);_0x37d3ff({'imageId':_0x422a87,'imageSourceType':_0x2431e1['ImageSourceType'][_0x220279(0x265)],'source':_0x1d6a5a,'base64Cache':_0x10bc0a,'status':_0x2431e1['ImageUploadStatusType']['SUCCUSS']}),this[_0x220279(0x34b)]();};});}[_0x46b6b2(0x257)](){var _0x2f4fea=_0x46b6b2,_0x534018,_0x5ed16d;const _0x40eba4=this['_configService'][_0x2f4fea(0x236)](_0x11c2ee),_0x2511b7=this[_0x2f4fea(0x457)][_0x2f4fea(0x236)](_0x2706a6);return(_0x5ed16d=(_0x534018=_0x2511b7==null?void 0x0:_0x2511b7[_0x2f4fea(0x186)])!=null?_0x534018:_0x40eba4)!=null?_0x5ed16d:_0xe8b67f;}[_0x46b6b2(0x4cd)](){var _0x3ba0be=_0x46b6b2,_0x18fbd7,_0x34ef98;const _0x5509d0=this[_0x3ba0be(0x457)][_0x3ba0be(0x236)](_0x5a1255),_0x43e0a3=this[_0x3ba0be(0x457)][_0x3ba0be(0x236)](_0x2706a6);return(_0x34ef98=(_0x18fbd7=_0x43e0a3==null?void 0x0:_0x43e0a3[_0x3ba0be(0x332)])!=null?_0x18fbd7:_0x5509d0)!=null?_0x34ef98:_0x596079;}[_0x46b6b2(0x15a)](){var _0x4c4c6c=_0x46b6b2,_0x295fb8;const _0x4009ac=this['_configService'][_0x4c4c6c(0x236)](_0x2706a6);return(_0x295fb8=_0x4009ac==null?void 0x0:_0x4009ac[_0x4c4c6c(0x149)])!=null?_0x295fb8:location[_0x4c4c6c(0x1e0)];}[_0x46b6b2(0x327)](_0x3ec045,_0x3d202e){var _0x5ed4e1=_0x46b6b2;return _0x3ec045['replace'](_0x5ed4e1(0x416),_0x3d202e);}[_0x46b6b2(0x34b)](){var _0x3e67ec=_0x46b6b2;this[_0x3e67ec(0x35e)]-=0x1,this[_0x3e67ec(0x2bf)][_0x3e67ec(0x352)](this[_0x3e67ec(0x35e)]);}},_0x8e59c3[_0x46b6b2(0x3e8)]=_0x277efd([_0x5e0bee(0x0,_0x2c51de['Inject'](_0x28078a['HTTPService'])),_0x5e0bee(0x1,_0x2c51de[_0x46b6b2(0x480)]),_0x5e0bee(0x2,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de['IUniverInstanceService']))],_0x8e59c3[_0x46b6b2(0x3e8)]);var _0x41027b=Object[_0x46b6b2(0x313)],_0x4f44f3=(_0x37637a,_0x7970d,_0x2ca6ce,_0x26f116)=>{var _0x31396f=_0x46b6b2;for(var _0x1267a8=_0x26f116>0x1?void 0x0:_0x26f116?_0x41027b(_0x7970d,_0x2ca6ce):_0x7970d,_0x10277d=_0x37637a[_0x31396f(0x3b7)]-0x1,_0xd3fb93;_0x10277d>=0x0;_0x10277d--)(_0xd3fb93=_0x37637a[_0x10277d])&&(_0x1267a8=_0xd3fb93(_0x1267a8)||_0x1267a8);return _0x1267a8;},_0x4b3779=(_0x138f01,_0x3f671c)=>(_0x47043d,_0x32b33b)=>_0x3f671c(_0x47043d,_0x32b33b,_0x138f01);const _0x39e4f9=_0x46b6b2(0x1e4);_0x8e59c3['MentionIoHttpService']=class{constructor(_0x1e1b8d,_0x129e3d){var _0x7ec905=_0x46b6b2;this[_0x7ec905(0x457)]=_0x1e1b8d,this[_0x7ec905(0x344)]=_0x129e3d;}[_0x46b6b2(0x2d7)](){var _0x51ec02=_0x46b6b2,_0x1a1cdb,_0x2c2b4a;const _0x21c3e2=this[_0x51ec02(0x457)][_0x51ec02(0x236)](_0x2b6780),_0x3e9f25=this[_0x51ec02(0x457)][_0x51ec02(0x236)](_0x2706a6);return(_0x2c2b4a=(_0x1a1cdb=_0x3e9f25==null?void 0x0:_0x3e9f25['authzUrl'])!=null?_0x1a1cdb:_0x21c3e2)!=null?_0x2c2b4a:_0x39e4f9;}async[_0x46b6b2(0x175)](_0x4bc9be){var _0x7bb792=_0x46b6b2;const _0x163617=this[_0x7bb792(0x2d7)]()+'/collaborator';return{'list':[{'title':_0x7bb792(0x318),'mentions':(await this[_0x7bb792(0x344)]['get'](_0x163617,{'params':{'objectID':_0x4bc9be[_0x7bb792(0x4c9)],'unitID':_0x4bc9be[_0x7bb792(0x4c9)]}}))[_0x7bb792(0x221)]['collaborators'][_0x7bb792(0x3a4)](_0x1ce5ab=>({'objectId':_0x1ce5ab['id'],'name':_0x1ce5ab['subject'][_0x7bb792(0x3ae)],'metadata':{'icon':_0x1ce5ab[_0x7bb792(0x27d)][_0x7bb792(0x238)]},'label':_0x1ce5ab[_0x7bb792(0x27d)][_0x7bb792(0x3ae)],'objectType':_0x2c51de[_0x7bb792(0x2e0)][_0x7bb792(0x369)]})),'metadata':{},'type':_0x2c51de[_0x7bb792(0x2e0)]['PERSON']}]};}},_0x8e59c3['MentionIoHttpService']=_0x4f44f3([_0x4b3779(0x0,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x480)])),_0x4b3779(0x1,_0x2c51de[_0x46b6b2(0x281)](_0x28078a[_0x46b6b2(0x3c7)]))],_0x8e59c3['MentionIoHttpService']);var _0x278558=Object[_0x46b6b2(0x313)],_0x30e4a3=(_0x1ae65d,_0x9e6768,_0x559a45,_0x1a2d88)=>{var _0x306f5d=_0x46b6b2;for(var _0x475359=_0x1a2d88>0x1?void 0x0:_0x1a2d88?_0x278558(_0x9e6768,_0x559a45):_0x9e6768,_0x10bd44=_0x1ae65d[_0x306f5d(0x3b7)]-0x1,_0x53feda;_0x10bd44>=0x0;_0x10bd44--)(_0x53feda=_0x1ae65d[_0x10bd44])&&(_0x475359=_0x53feda(_0x475359)||_0x475359);return _0x475359;},_0x57a3f6=(_0x52be13,_0x5bf60e)=>(_0x8bf598,_0x498dfc)=>_0x5bf60e(_0x8bf598,_0x498dfc,_0x52be13);let _0xb6f336=class extends _0x2c51de[_0x46b6b2(0x1a8)]{constructor(_0x4350c6,_0x36ba7f,_0x3d9191,_0x22f8aa,_0x2fc73a){var _0x5d6f6f=_0x46b6b2;super(),this[_0x5d6f6f(0x181)]=_0x4350c6,this[_0x5d6f6f(0x3eb)]=_0x36ba7f,this[_0x5d6f6f(0x45a)]=_0x3d9191,this['_collaborationSessionService']=_0x22f8aa,this[_0x5d6f6f(0x33b)]=_0x2fc73a,this[_0x5d6f6f(0x381)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x4140df=_0x46b6b2;const _0x4fbd3c=async _0x4dfcf0=>{var _0x4db29a=_0xaf58;(await this[_0x4db29a(0x487)][_0x4db29a(0x330)](_0x4dfcf0))[_0x4db29a(0x2c2)][_0x4db29a(0x1c0)](_0x37eeae[_0x4db29a(0x494)](_0x5746f6=>_0x5746f6['eventID']===_0x32b62f[_0x4db29a(0x498)][_0x4db29a(0x20b)]),_0x37eeae[_0x4db29a(0x1b9)](this[_0x4db29a(0x491)]))[_0x4db29a(0x307)](_0x1717cd=>{var _0x2784c1=_0x4db29a;const _0x3df84e=_0x1717cd,{reason:_0x384d5f}=_0x3df84e[_0x2784c1(0x4a8)];this['_collaborationUIEventService']['emitEvent']({'id':_0x56f493[_0x2784c1(0x1f1)],'data':_0x384d5f}),this['_permissionService'][_0x2784c1(0x357)](new _0x136204[(_0x2784c1(0x37d))](_0x4dfcf0)['id'],!0x1),this[_0x2784c1(0x487)][_0x2784c1(0x14f)](_0x4dfcf0);});};_0x338c92[_0x4140df(0x37b)](this[_0x4140df(0x3eb)][_0x4140df(0x24c)](_0x2c51de[_0x4140df(0x2ed)][_0x4140df(0x29b)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2c51de[_0x4140df(0x2ed)][_0x4140df(0x2d0)]))[_0x4140df(0x1c0)](_0x37eeae[_0x4140df(0x3a4)](_0x17c932=>_0x17c932[_0x4140df(0x276)]()),_0x37eeae[_0x4140df(0x494)](_0xc70651=>!_0x2c51de[_0x4140df(0x23a)](_0xc70651)),_0x37eeae['takeUntil'](this[_0x4140df(0x491)]))[_0x4140df(0x307)](_0x24c5e0=>{_0x4fbd3c(_0x24c5e0);});}[_0x46b6b2(0x381)](){var _0x5cb660=_0x46b6b2;const _0x78896f=async _0x719134=>{var _0x3396d9=_0xaf58;const _0x1cd867=await this[_0x3396d9(0x487)][_0x3396d9(0x330)](_0x719134),_0x4f6fe9=this['_injector']['get'](_0x136204[_0x3396d9(0x32c)]);_0x1cd867[_0x3396d9(0x2c2)][_0x3396d9(0x1c0)](_0x37eeae[_0x3396d9(0x494)](_0x2647bc=>_0x2647bc['eventID']===_0x32b62f[_0x3396d9(0x498)][_0x3396d9(0x28b)]),_0x37eeae[_0x3396d9(0x1b9)](this[_0x3396d9(0x491)]))[_0x3396d9(0x307)](_0x1e0f93=>{var _0x20c54b=_0x3396d9;const _0x360d9a=_0x1e0f93,{objectId:_0x5a5248}=_0x360d9a['data'];_0x5a5248===_0x719134?_0x4f6fe9[_0x20c54b(0x2cb)](_0x719134):_0x4f6fe9['refreshPermission'](_0x719134,_0x5a5248);});};_0x338c92[_0x5cb660(0x37b)](this[_0x5cb660(0x3eb)][_0x5cb660(0x24c)](_0x2c51de[_0x5cb660(0x2ed)][_0x5cb660(0x29b)]))[_0x5cb660(0x1c0)](_0x37eeae[_0x5cb660(0x3a4)](_0xe39341=>_0xe39341['getUnitId']()),_0x37eeae[_0x5cb660(0x494)](_0x4ea531=>!_0x2c51de[_0x5cb660(0x23a)](_0x4ea531)),_0x37eeae['takeUntil'](this[_0x5cb660(0x491)]))[_0x5cb660(0x307)](_0x3bb96b=>{_0x78896f(_0x3bb96b);});}};_0xb6f336=_0x30e4a3([_0x57a3f6(0x0,_0x2c51de['Inject'](_0x2c51de[_0x46b6b2(0x263)])),_0x57a3f6(0x1,_0x2c51de['IUniverInstanceService']),_0x57a3f6(0x2,_0x2c51de['IPermissionService']),_0x57a3f6(0x3,_0x2c51de[_0x46b6b2(0x281)](_0x8e59c3[_0x46b6b2(0x2fa)])),_0x57a3f6(0x4,_0x2c51de['Inject'](_0x4d9ca6))],_0xb6f336);var _0x45a694=Object[_0x46b6b2(0x313)],_0x399db4=(_0x419963,_0x22fc6d,_0x52b8b9,_0x4043de)=>{for(var _0x289e9c=_0x4043de>0x1?void 0x0:_0x4043de?_0x45a694(_0x22fc6d,_0x52b8b9):_0x22fc6d,_0x7200eb=_0x419963['length']-0x1,_0x43d930;_0x7200eb>=0x0;_0x7200eb--)(_0x43d930=_0x419963[_0x7200eb])&&(_0x289e9c=_0x43d930(_0x289e9c)||_0x289e9c);return _0x289e9c;},_0x376e93=(_0x1b3375,_0x33abb1)=>(_0x51d795,_0x41e8d9)=>_0x33abb1(_0x51d795,_0x41e8d9,_0x1b3375);_0x8e59c3[_0x46b6b2(0x414)]=class{constructor(_0x183912,_0x37cf86){this['_configService']=_0x183912,this['_httpService']=_0x37cf86;}async['getUnitOnRev'](_0x86b250,_0x45bdb7){var _0x8fa6e6=_0x46b6b2,_0xd020b1;const {unitID:_0x18c69b,type:_0x3a9f1f,revision:_0x2da3e9=0x0}=_0x45bdb7,_0x32c24c=this['getSnapshotAPIPath']()+'/'+_0x3a9f1f+_0x8fa6e6(0x21c)+_0x18c69b+_0x8fa6e6(0x143)+_0x2da3e9,_0xc18df2=(await this[_0x8fa6e6(0x1c7)][_0x8fa6e6(0x1b6)](_0x32c24c))['body'],_0x4a2e6a=(_0xd020b1=_0xc18df2[_0x8fa6e6(0x30c)])==null?void 0x0:_0xd020b1['workbook'];if(_0x4a2e6a){const _0x30a7ed=_0x4a2e6a==null?void 0x0:_0x4a2e6a[_0x8fa6e6(0x22c)],_0x2b0db1=_0x32b62f[_0x8fa6e6(0x36f)][_0x8fa6e6(0x36c)](_0x32b62f['b64DecodeUnicode'](_0x30a7ed));_0x4a2e6a[_0x8fa6e6(0x22c)]=_0x2b0db1,Object[_0x8fa6e6(0x4c2)](_0x4a2e6a['sheets'])['forEach'](([,_0x1565aa])=>{var _0x43e0ed=_0x8fa6e6;const _0x5a1db2=_0x1565aa[_0x43e0ed(0x22c)],_0x2a1227=_0x32b62f['textEncoder'][_0x43e0ed(0x36c)](_0x32b62f[_0x43e0ed(0x2fd)](_0x5a1db2));_0x1565aa[_0x43e0ed(0x22c)]=_0x2a1227;});}return _0xc18df2;}async[_0x46b6b2(0x33a)](_0x92383e,_0x282eab){var _0x3fa0d4=_0x46b6b2;const {unitID:_0x2c206b,type:_0x3d63fa,blockID:_0x37bad8}=_0x282eab,_0x3afe94=this['_getAPIPrefix']()+'/'+_0x3d63fa+'/unit/'+_0x2c206b+_0x3fa0d4(0x49a)+_0x37bad8;return(await this[_0x3fa0d4(0x1c7)][_0x3fa0d4(0x1b6)](_0x3afe94))[_0x3fa0d4(0x221)];}async[_0x46b6b2(0x244)](_0x34b22c,_0x38dcbb){var _0x525752=_0x46b6b2;const {unitID:_0x46520d,type:_0x4528d5,blockID:_0x59ee9c}=_0x38dcbb,_0x23f5b5=this[_0x525752(0x48b)]()+'/block/'+_0x4528d5+'/unit/'+_0x46520d+_0x525752(0x49a)+_0x59ee9c;return(await this['_httpService'][_0x525752(0x1b6)](_0x23f5b5))[_0x525752(0x221)];}async[_0x46b6b2(0x231)](_0x257e8a,_0x8f93c2){var _0x2abd87=_0x46b6b2;const {unitID:_0x43eef8,type:_0x2df819,from:_0x24746e,to:_0x2c546e}=_0x8f93c2,_0x405af9=this[_0x2abd87(0x48b)]()+'/'+_0x2df819+_0x2abd87(0x21c)+_0x43eef8+_0x2abd87(0x34f)+_0x24746e+_0x2abd87(0x3b2)+_0x2c546e;return(await this['_httpService'][_0x2abd87(0x1b6)](_0x405af9))[_0x2abd87(0x221)];}[_0x46b6b2(0x4b0)](){var _0x355885=_0x46b6b2,_0x18733f;return(_0x18733f=this[_0x355885(0x457)][_0x355885(0x236)](_0x1604fc))!=null?_0x18733f:this[_0x355885(0x48b)]();}[_0x46b6b2(0x48b)](){var _0x14ce47=_0x46b6b2,_0x24e8c2,_0x4ab212;const _0x5832fe=this[_0x14ce47(0x457)][_0x14ce47(0x236)](_0x1b4a25),_0xf7af16=this['_configService'][_0x14ce47(0x236)](_0x2706a6);return(_0x4ab212=(_0x24e8c2=_0xf7af16==null?void 0x0:_0xf7af16[_0x14ce47(0x27f)])!=null?_0x24e8c2:_0x5832fe)!=null?_0x4ab212:_0x369361;}async[_0x46b6b2(0x3d4)](_0x33f459,_0x3b1850){var _0x37a4fe=_0x46b6b2;const _0x175772=_0x37a4fe(0x200)+_0x3b1850[_0x37a4fe(0x320)]+'/unit/'+_0x3b1850[_0x37a4fe(0x3c2)]+'/resources';return(await this[_0x37a4fe(0x1c7)][_0x37a4fe(0x1b6)](_0x175772,{'params':{'resourceId':JSON[_0x37a4fe(0x1a3)](_0x3b1850[_0x37a4fe(0x3f2)])}}))['body'];}[_0x46b6b2(0x28f)](){var _0x401595=_0x46b6b2;throw new Error(_0x401595(0x31f));}[_0x46b6b2(0x377)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x46b6b2(0x1d8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x46b6b2(0x259)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x46b6b2(0x2aa)](){var _0x482558=_0x46b6b2;throw new Error(_0x482558(0x31f));}['getLatestCsReqIdBySid'](){var _0x5832c8=_0x46b6b2;throw new Error(_0x5832c8(0x31f));}},_0x8e59c3[_0x46b6b2(0x414)]=_0x399db4([_0x376e93(0x0,_0x2c51de['IConfigService']),_0x376e93(0x1,_0x2c51de['Inject'](_0x28078a[_0x46b6b2(0x3c7)]))],_0x8e59c3[_0x46b6b2(0x414)]);var _0xa5dd68=Object[_0x46b6b2(0x313)],_0x19bcc8=(_0x2936a4,_0x2377d0,_0x3d7d24,_0x5b273d)=>{var _0x356ef2=_0x46b6b2;for(var _0x17df97=_0x5b273d>0x1?void 0x0:_0x5b273d?_0xa5dd68(_0x2377d0,_0x3d7d24):_0x2377d0,_0x21b363=_0x2936a4[_0x356ef2(0x3b7)]-0x1,_0x169d33;_0x21b363>=0x0;_0x21b363--)(_0x169d33=_0x2936a4[_0x21b363])&&(_0x17df97=_0x169d33(_0x17df97)||_0x17df97);return _0x17df97;},_0x387ae9=(_0x5a921a,_0x57ade5)=>(_0x412d8b,_0x454aa9)=>_0x57ade5(_0x412d8b,_0x454aa9,_0x5a921a);_0x8e59c3[_0x46b6b2(0x1af)]=class extends _0x2c51de[_0x46b6b2(0x36d)]{constructor(_0x1a1451,_0x5afd00,_0xa51b10,_0x395011,_0x16378e){var _0x356517=_0x46b6b2;super(_0x1a1451,_0x5afd00,_0xa51b10),this[_0x356517(0x385)]=_0x395011,this[_0x356517(0x2de)]=_0x16378e;}['transformUndoRedo'](_0x322926,_0x213b11){var _0x29c270=_0x46b6b2;const _0x5e721d=this[_0x29c270(0x21f)](_0x322926);if(_0x5e721d)try{const _0x48c082=this[_0x29c270(0x241)](_0x5e721d,_0x213b11);this[_0x29c270(0x1a5)](_0x322926,_0x48c082);}catch(_0x3639b6){this[_0x29c270(0x2de)][_0x29c270(0x275)](_0x29c270(0x459),_0x3639b6),this[_0x29c270(0x29a)](_0x322926);}const _0x56078e=this[_0x29c270(0x4b9)](_0x322926);if(_0x56078e)try{const _0x57dd64=this[_0x29c270(0x241)](_0x56078e,_0x213b11);this[_0x29c270(0x1dc)](_0x322926,_0x57dd64);}catch(_0x327d23){this[_0x29c270(0x2de)][_0x29c270(0x275)](_0x327d23),this[_0x29c270(0x18e)](_0x322926);}}[_0x46b6b2(0x29a)](_0x4afaf1){var _0x341135=_0x46b6b2;const _0x341130=this[_0x341135(0x21f)](_0x4afaf1);_0x341130&&(_0x341130[_0x341135(0x3b7)]=0x0,this[_0x341135(0x2ca)]());}[_0x46b6b2(0x18e)](_0x351a02){var _0xc8c225=_0x46b6b2;const _0x2b8f9a=this[_0xc8c225(0x4b9)](_0x351a02);_0x2b8f9a&&(_0x2b8f9a[_0xc8c225(0x3b7)]=0x0,this[_0xc8c225(0x2ca)]());}[_0x46b6b2(0x1a5)](_0x5df420,_0x237aec){var _0x54300f=_0x46b6b2;this[_0x54300f(0x426)]['set'](_0x5df420,_0x237aec),this[_0x54300f(0x2ca)]();}[_0x46b6b2(0x1dc)](_0x3a3337,_0x4eb257){this['_redoStacks']['set'](_0x3a3337,_0x4eb257),this['_updateStatus']();}[_0x46b6b2(0x241)](_0xf9e09b,_0x34648e){var _0x436da1=_0x46b6b2;const _0x2fd9f3=[];let _0x49d265=_0x34648e,_0x8070dc=_0x34648e;for(let _0x16f2e1=_0xf9e09b[_0x436da1(0x3b7)]-0x1;_0x16f2e1>=0x0;_0x16f2e1--){const {unitID:_0xba35,undoMutations:_0x59ad61,redoMutations:_0x56de99}=_0xf9e09b[_0x16f2e1],_0x671f1e=this[_0x436da1(0x385)]['transformMutationsWithChangeset'](_0x49d265,_0x59ad61),_0x5a3afa=this[_0x436da1(0x385)][_0x436da1(0x3e0)](_0x8070dc,_0x56de99);if(_0x32b62f[_0x436da1(0x25d)](_0x671f1e)||_0x32b62f['isTransformMutationsWithChangesetFailure'](_0x5a3afa)){this['_logService']['error'](_0x436da1(0x459),_0x436da1(0x2bd),_0x671f1e,_0x5a3afa);break;}_0x49d265=_0x671f1e[_0x436da1(0x484)],_0x8070dc=_0x5a3afa[_0x436da1(0x484)],_0x2fd9f3[_0x436da1(0x1a4)]({'unitID':_0xba35,'undoMutations':_0x671f1e['m2Prime'],'redoMutations':_0x5a3afa[_0x436da1(0x435)]});}return _0x2fd9f3[_0x436da1(0x3e6)]();}},_0x8e59c3[_0x46b6b2(0x1af)]=_0x19bcc8([_0x387ae9(0x0,_0x2c51de['IUniverInstanceService']),_0x387ae9(0x1,_0x2c51de[_0x46b6b2(0x283)]),_0x387ae9(0x2,_0x2c51de[_0x46b6b2(0x40e)]),_0x387ae9(0x3,_0x32b62f[_0x46b6b2(0x1a0)]),_0x387ae9(0x4,_0x2c51de[_0x46b6b2(0x160)])],_0x8e59c3['CollaborativeUndoRedoService']);var _0x45de02=Object[_0x46b6b2(0x1ac)],_0x46a48d=Object['getOwnPropertyDescriptor'],_0x5de231=(_0x4c1d11,_0x193235,_0x5bbd12)=>_0x193235 in _0x4c1d11?_0x45de02(_0x4c1d11,_0x193235,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bbd12}):_0x4c1d11[_0x193235]=_0x5bbd12,_0x600b60=(_0x1202fe,_0xc253f1,_0x475ed1,_0x1bb3f8)=>{var _0x422594=_0x46b6b2;for(var _0x2d0f40=_0x1bb3f8>0x1?void 0x0:_0x1bb3f8?_0x46a48d(_0xc253f1,_0x475ed1):_0xc253f1,_0x513224=_0x1202fe[_0x422594(0x3b7)]-0x1,_0x27a31f;_0x513224>=0x0;_0x513224--)(_0x27a31f=_0x1202fe[_0x513224])&&(_0x2d0f40=_0x27a31f(_0x2d0f40)||_0x2d0f40);return _0x2d0f40;},_0x3d92ad=(_0x242642,_0x81d5fe)=>(_0x2f1f21,_0x511364)=>_0x81d5fe(_0x2f1f21,_0x511364,_0x242642),_0x16ed6c=(_0x1effae,_0x40f3b2,_0x3217df)=>_0x5de231(_0x1effae,_0x40f3b2+'',_0x3217df);const _0x3f776a=_0x46b6b2(0x2ec);_0x8e59c3[_0x46b6b2(0x2d3)]=class extends _0x2c51de[_0x46b6b2(0x230)]{constructor(_0x332297,_0x59e6f9,_0x44ecc2,_0x35b52c){var _0x340aa3=_0x46b6b2;super(),_0x433d55(this,'_config'),(this['_logService']=_0x59e6f9,this[_0x340aa3(0x181)]=_0x44ecc2,this[_0x340aa3(0x457)]=_0x35b52c);const {..._0x1ca7da}=_0x2c51de[_0x340aa3(0x37b)]({},_0x5d5ab3,_0x332297);if(!_0x1ca7da['socketService'])throw new Error(_0x340aa3(0x37f));this[_0x340aa3(0x25e)]=_0x1ca7da,this[_0x340aa3(0x457)][_0x340aa3(0x3f9)](_0x2706a6,_0x1ca7da);}[_0x46b6b2(0x47c)](){var _0x3ef0b4=_0x46b6b2;this[_0x3ef0b4(0x3fb)](),this[_0x3ef0b4(0x2e2)]();}[_0x46b6b2(0x3fb)](){var _0x4aadc0=_0x46b6b2,_0x49b696,_0x84ad34;this[_0x4aadc0(0x181)]['has'](_0x2c51de['IUndoRedoService'])&&this[_0x4aadc0(0x2de)][_0x4aadc0(0x275)]('[UniverCollaborationClientPlugin]',_0x4aadc0(0x4ca));const _0x5ebf91=_0x2c51de['mergeOverrideWithDependencies']([[_0x2c51de[_0x4aadc0(0x195)],{'useClass':_0x8e59c3['CollaborativeUndoRedoService']}],[_0x8e59c3[_0x4aadc0(0x2fa)]],[_0x8e59c3[_0x4aadc0(0x176)]],[_0x8e59c3[_0x4aadc0(0x141)]],[_0x3ad855],[_0x3778f5],[_0x4e2814],[_0xb6f336],[_0x4d9ca6],[_0x8e59c3[_0x4aadc0(0x2e9)]],[_0x1b1987,{'useClass':this[_0x4aadc0(0x25e)]['socketService']}],[_0x32b62f[_0x4aadc0(0x20e)],{'useClass':_0x8e59c3['SnapshotServerOverHTTPService']}],[_0x2c51de[_0x4aadc0(0x302)],{'useClass':_0x8e59c3['AuthzIoHttpService']}],[_0x2431e1['IImageIoService'],{'useClass':_0x8e59c3[_0x4aadc0(0x3e8)]}],[_0x2c51de[_0x4aadc0(0x166)],{'useClass':_0x8e59c3['MentionIoHttpService']}],[_0x8e59c3[_0x4aadc0(0x397)]],[_0x31403e]],(_0x49b696=this[_0x4aadc0(0x25e)])==null?void 0x0:_0x49b696['override']);if(!((_0x84ad34=this[_0x4aadc0(0x25e)])!=null&&_0x84ad34[_0x4aadc0(0x461)])){const _0x2b67bd=_0x5ebf91[_0x4aadc0(0x3ea)](([_0x37e541])=>_0x37e541===_0x4e9081);_0x2b67bd!==-0x1&&_0x5ebf91[_0x4aadc0(0x1e1)](_0x2b67bd,0x1);}_0x2c51de['registerDependencies'](this[_0x4aadc0(0x181)],_0x5ebf91);}[_0x46b6b2(0x2e2)](){var _0x5acc3f=_0x46b6b2,_0x5a8989,_0xae98c9,_0x76b346;this['_injector'][_0x5acc3f(0x1b6)](_0x28078a[_0x5acc3f(0x3c7)])[_0x5acc3f(0x2a6)]({'priority':0x14,'interceptor':_0x28078a[_0x5acc3f(0x2db)]({'maxParallel':0x6})}),(_0x5a8989=this['_config'])!=null&&_0x5a8989[_0x5acc3f(0x4a6)]||(_0xae98c9=this[_0x5acc3f(0x181)][_0x5acc3f(0x1b6)](_0x3a9769,_0x2c51de[_0x5acc3f(0x18c)][_0x5acc3f(0x28c)]))==null||_0xae98c9[_0x5acc3f(0x44b)](),(_0x76b346=this['_config'])!=null&&_0x76b346[_0x5acc3f(0x193)]&&_0x2c51de[_0x5acc3f(0x15e)](this[_0x5acc3f(0x181)],[[_0x3ad855]]),_0x2c51de[_0x5acc3f(0x15e)](this[_0x5acc3f(0x181)],[[_0x3778f5],[_0x8e59c3[_0x5acc3f(0x397)]],[_0xb6f336]]);}},_0x16ed6c(_0x8e59c3[_0x46b6b2(0x2d3)],_0x46b6b2(0x22a),_0x3f776a),_0x8e59c3[_0x46b6b2(0x2d3)]=_0x600b60([_0x2c51de[_0x46b6b2(0x4a9)](_0x32b62f[_0x46b6b2(0x1fa)],_0x28078a[_0x46b6b2(0x463)]),_0x3d92ad(0x1,_0x2c51de['ILogService']),_0x3d92ad(0x2,_0x2c51de[_0x46b6b2(0x281)](_0x2c51de[_0x46b6b2(0x263)])),_0x3d92ad(0x3,_0x2c51de[_0x46b6b2(0x480)])],_0x8e59c3[_0x46b6b2(0x2d3)]),_0x8e59c3[_0x46b6b2(0x161)]=_0x2b6780,_0x8e59c3[_0x46b6b2(0x49e)]=_0x2706a6,_0x8e59c3[_0x46b6b2(0x162)]=_0x2ce1d3,_0x8e59c3[_0x46b6b2(0x274)]=_0x3fad91,_0x8e59c3['CollaborationStatus']=_0x496fbd,_0x8e59c3['CollaborationUIEventId']=_0x56f493,_0x8e59c3['CollaborationUIEventService']=_0x4d9ca6,_0x8e59c3[_0x46b6b2(0x2ac)]=_0x4e2814,_0x8e59c3['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x58873e,_0x8e59c3['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x22ed21,_0x8e59c3['DEFAULT_WS_SESSION_TICKET_URL']=_0x58aff4,_0x8e59c3['HEARTBEAT_INTERVAL_KEY']=_0x3a5106,_0x8e59c3[_0x46b6b2(0x1cf)]=_0x3ea6df,_0x8e59c3[_0x46b6b2(0x3d8)]=_0x1b1987,_0x8e59c3[_0x46b6b2(0x478)]=_0x3a9769,_0x8e59c3[_0x46b6b2(0x24e)]=_0x6f7a99,_0x8e59c3[_0x46b6b2(0x28d)]=_0x4e9081,_0x8e59c3['LOCAL_CACHE_INTERVAL']=0x3e8,_0x8e59c3[_0x46b6b2(0x22b)]=_0x19d726,_0x8e59c3[_0x46b6b2(0x41e)]=_0x11765e,_0x8e59c3[_0x46b6b2(0x36b)]=_0x2ac6f5,_0x8e59c3[_0x46b6b2(0x159)]=_0x16707e,_0x8e59c3[_0x46b6b2(0x26f)]=_0x1fa2cd,_0x8e59c3[_0x46b6b2(0x41b)]=_0x1b4a25,_0x8e59c3[_0x46b6b2(0x4bd)]=_0x1604fc,_0x8e59c3['SessionStatus']=_0x406ec9,_0x8e59c3[_0x46b6b2(0x4c1)]=_0x477d97,_0x8e59c3[_0x46b6b2(0x38c)]=_0x5b71d4,_0x8e59c3[_0x46b6b2(0x390)]=_0x5752e1,_0x8e59c3['serializeCombRequest']=_0x2f8051,Object[_0x46b6b2(0x1ac)](_0x8e59c3,Symbol[_0x46b6b2(0x19a)],{'value':_0x46b6b2(0x46b)});}));
|