@univerjs-pro/collaboration-client 0.7.0-nightly.202505231607 → 0.7.0-nightly.202505251606
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(_0x298fbd,_0x3276c4){var _0x109b1c=_0x47b6,_0x3acda0=_0x298fbd();while(!![]){try{var _0x3ace4b=parseInt(_0x109b1c(0x4c9))/0x1+-parseInt(_0x109b1c(0x2e0))/0x2+-parseInt(_0x109b1c(0x43f))/0x3+parseInt(_0x109b1c(0x213))/0x4+-parseInt(_0x109b1c(0x1eb))/0x5+parseInt(_0x109b1c(0x1ef))/0x6*(parseInt(_0x109b1c(0x3c6))/0x7)+parseInt(_0x109b1c(0x2b7))/0x8*(parseInt(_0x109b1c(0x2b5))/0x9);if(_0x3ace4b===_0x3276c4)break;else _0x3acda0['push'](_0x3acda0['shift']());}catch(_0x10bb30){_0x3acda0['push'](_0x3acda0['shift']());}}}(_0x19d7,0xe57d1),function(_0x5336a6,_0x198ca6){var _0xb425bf=_0x47b6;typeof exports==_0xb425bf(0x217)&&typeof module<'u'?_0x198ca6(exports,require(_0xb425bf(0x252)),require(_0xb425bf(0x3cd)),require('rxjs/operators'),require(_0xb425bf(0x2a6)),require(_0xb425bf(0x4ba)),require(_0xb425bf(0x20b)),require(_0xb425bf(0x3e0)),require('@univerjs/sheets'),require(_0xb425bf(0x20a)),require('@univerjs-pro/license')):typeof define==_0xb425bf(0x45c)&&define['amd']?define([_0xb425bf(0x219),'@univerjs/core',_0xb425bf(0x3cd),_0xb425bf(0x1fc),_0xb425bf(0x2a6),'@univerjs/network',_0xb425bf(0x20b),_0xb425bf(0x3e0),_0xb425bf(0x4f4),_0xb425bf(0x20a),_0xb425bf(0x3a6)],_0x198ca6):(_0x5336a6=typeof globalThis<'u'?globalThis:_0x5336a6||self,_0x198ca6(_0x5336a6[_0xb425bf(0x481)]={},_0x5336a6['UniverCore'],_0x5336a6['rxjs'],_0x5336a6[_0xb425bf(0x3cd)][_0xb425bf(0x23e)],_0x5336a6['UniverProCollaboration'],_0x5336a6['UniverNetwork'],_0x5336a6['UniverTelemetry'],_0x5336a6[_0xb425bf(0x2b9)],_0x5336a6[_0xb425bf(0x466)],_0x5336a6['UniverDrawing'],_0x5336a6[_0xb425bf(0x2ab)]));}(this,function(_0x54f6d5,_0x542f26,_0x157716,_0x5fc46a,_0x3e6c27,_0x2686d0,_0x42c045,_0x379fe6,_0xcd20b2,_0x412b9e,_0x407267){'use strict';var _0x4344df=_0x47b6;var _0x583042=Object['defineProperty'],_0x28dd9b=(_0x41c092,_0x1e7de4,_0x102a43)=>_0x1e7de4 in _0x41c092?_0x583042(_0x41c092,_0x1e7de4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x102a43}):_0x41c092[_0x1e7de4]=_0x102a43,_0x6d89e8=(_0x375277,_0x32b6b5,_0x193c59)=>_0x28dd9b(_0x375277,typeof _0x32b6b5!='symbol'?_0x32b6b5+'':_0x32b6b5,_0x193c59);const _0x1e95d2=_0x4344df(0x25f),_0x2a055f='/universer-api/snapshot',_0x3e4c96=_0x4344df(0x3b4),_0x2c30d2=_0x4344df(0x235),_0xeabd6c=_0x4344df(0x2c6),_0x50b001='ws://127.0.0.1:8000/universer-api/comb/connect',_0x29faea='/universer-api/user/session-ticket',_0x5c19be=_0x4344df(0x50f),_0x34a1b3=_0x4344df(0x2a0),_0x13dd0e=_0x4344df(0x49d),_0x40eb98=_0x4344df(0x4f5),_0x344bb1=_0x4344df(0x377),_0x1e9354='/universer-api/comb',_0x3a7a55=_0x4344df(0x251),_0x26a7b9=_0x4344df(0x49c),_0x492511=_0x4344df(0x473),_0x1573c6='/universer-api/uniscript';var _0x17d760=(_0x561aab=>(_0x561aab[_0x561aab['UNDEFINED']=0x0]=_0x4344df(0x223),_0x561aab[_0x561aab['OK']=0x1]='OK',_0x561aab[_0x561aab['INTERNAL_ERROR']=0x2]=_0x4344df(0x23b),_0x561aab[_0x561aab[_0x4344df(0x2ef)]=0x3]=_0x4344df(0x2ef),_0x561aab[_0x561aab[_0x4344df(0x337)]=0x4]=_0x4344df(0x337),_0x561aab[_0x561aab[_0x4344df(0x422)]=0x5]=_0x4344df(0x422),_0x561aab[_0x561aab['ALREADY_EXISTS']=0x6]=_0x4344df(0x2bf),_0x561aab[_0x561aab['INVALID_ARGUMENT']=0x7]=_0x4344df(0x27e),_0x561aab[_0x561aab[_0x4344df(0x448)]=0x8]=_0x4344df(0x448),_0x561aab[_0x561aab[_0x4344df(0x440)]=0x9]=_0x4344df(0x440),_0x561aab[_0x561aab[_0x4344df(0x402)]=0xa]=_0x4344df(0x402),_0x561aab[_0x561aab[_0x4344df(0x453)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x561aab[_0x561aab[_0x4344df(0x300)]=0x1771]=_0x4344df(0x300),_0x561aab[_0x561aab[_0x4344df(0x319)]=0x1772]=_0x4344df(0x319),_0x561aab[_0x561aab['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4344df(0x308),_0x561aab[_0x561aab[_0x4344df(0x506)]=0x1b59]=_0x4344df(0x506),_0x561aab[_0x561aab[_0x4344df(0x43d)]=0x1b5a]=_0x4344df(0x43d),_0x561aab[_0x561aab[_0x4344df(0x4d8)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x561aab[_0x561aab['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4344df(0x4bd),_0x561aab[_0x561aab['APPLY_DUPLICATED']=0x1b5d]=_0x4344df(0x53a),_0x561aab[_0x561aab[_0x4344df(0x325)]=0x1f41]=_0x4344df(0x325),_0x561aab[_0x561aab[_0x4344df(0x2db)]=0x2329]=_0x4344df(0x2db),_0x561aab[_0x561aab[_0x4344df(0x266)]=0x232a]=_0x4344df(0x266),_0x561aab[_0x561aab['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4344df(0x2f8),_0x561aab[_0x561aab['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4344df(0x260),_0x561aab[_0x561aab[_0x4344df(0x232)]=0x232d]=_0x4344df(0x232),_0x561aab[_0x561aab['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4344df(0x42f),_0x561aab[_0x561aab[_0x4344df(0x35d)]=0x2712]=_0x4344df(0x35d),_0x561aab[_0x561aab[_0x4344df(0x46b)]=0x2713]=_0x4344df(0x46b),_0x561aab[_0x561aab[_0x4344df(0x386)]=0x2714]=_0x4344df(0x386),_0x561aab[_0x561aab[_0x4344df(0x44c)]=0x271a]=_0x4344df(0x44c),_0x561aab[_0x561aab[_0x4344df(0x30f)]=0x271b]=_0x4344df(0x30f),_0x561aab[_0x561aab[_0x4344df(0x2a5)]=0x271c]=_0x4344df(0x2a5),_0x561aab[_0x561aab['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x561aab[_0x561aab['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x561aab[_0x561aab['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4344df(0x261),_0x561aab[_0x561aab['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4344df(0x2da),_0x561aab[_0x561aab['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4344df(0x479),_0x561aab[_0x561aab['INVALID_INVITE_CODE']=0x2ee2]=_0x4344df(0x562),_0x561aab[_0x561aab[_0x4344df(0x566)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x561aab[_0x561aab[_0x4344df(0x54d)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x561aab[_0x561aab['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4344df(0x508),_0x561aab[_0x561aab[_0x4344df(0x478)]=0x32c9]=_0x4344df(0x478),_0x561aab[_0x561aab[_0x4344df(0x3ff)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x561aab[_0x561aab[_0x4344df(0x560)]=0x32cb]=_0x4344df(0x560),_0x561aab[_0x561aab[_0x4344df(0x200)]=-0x1]=_0x4344df(0x200),_0x561aab))(_0x17d760||{}),_0x59d87f=(_0x12bcbe=>(_0x12bcbe[_0x12bcbe[_0x4344df(0x425)]=0x0]=_0x4344df(0x425),_0x12bcbe[_0x12bcbe[_0x4344df(0x210)]=0x1]=_0x4344df(0x210),_0x12bcbe[_0x12bcbe[_0x4344df(0x285)]=0x2]=_0x4344df(0x285),_0x12bcbe[_0x12bcbe[_0x4344df(0x47c)]=0x3]=_0x4344df(0x47c),_0x12bcbe[_0x12bcbe[_0x4344df(0x416)]=0x4]=_0x4344df(0x416),_0x12bcbe[_0x12bcbe[_0x4344df(0x200)]=-0x1]=_0x4344df(0x200),_0x12bcbe))(_0x59d87f||{}),_0x217bab=(_0x3ef4c5=>(_0x3ef4c5[_0x3ef4c5[_0x4344df(0x3fc)]=0x0]='UNKNOWN_CMD',_0x3ef4c5[_0x3ef4c5[_0x4344df(0x36d)]=0x1]=_0x4344df(0x36d),_0x3ef4c5[_0x3ef4c5[_0x4344df(0x4b0)]=0x2]=_0x4344df(0x4b0),_0x3ef4c5[_0x3ef4c5[_0x4344df(0x4c3)]=0x3]=_0x4344df(0x4c3),_0x3ef4c5[_0x3ef4c5[_0x4344df(0x535)]=0x4]='INGEST',_0x3ef4c5[_0x3ef4c5[_0x4344df(0x550)]=0x5]='HEARTBEAT',_0x3ef4c5[_0x3ef4c5[_0x4344df(0x4d6)]=0x6]='RECV',_0x3ef4c5[_0x3ef4c5[_0x4344df(0x200)]=-0x1]='UNRECOGNIZED',_0x3ef4c5))(_0x217bab||{}),_0x11e034=(_0x90fbc4=>(_0x90fbc4[_0x90fbc4[_0x4344df(0x4c2)]=0x0]=_0x4344df(0x4c2),_0x90fbc4[_0x90fbc4['OK']=0x1]='OK',_0x90fbc4[_0x90fbc4[_0x4344df(0x483)]=0x2]='FAIL',_0x90fbc4[_0x90fbc4['JOIN_ROOM_FULL']=0x3e9]=_0x4344df(0x46f),_0x90fbc4[_0x90fbc4[_0x4344df(0x370)]=0x3ea]=_0x4344df(0x370),_0x90fbc4[_0x90fbc4['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x4344df(0x41e),_0x90fbc4[_0x90fbc4['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x4344df(0x3bd),_0x90fbc4[_0x90fbc4['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x90fbc4))(_0x11e034||{}),_0x2780e6=(_0x394f98=>(_0x394f98[_0x394f98['Undefined']=0x0]=_0x4344df(0x32d),_0x394f98[_0x394f98[_0x4344df(0x323)]=0x1]=_0x4344df(0x323),_0x394f98[_0x394f98[_0x4344df(0x546)]=0x2]=_0x4344df(0x546),_0x394f98[_0x394f98[_0x4344df(0x548)]=0x3]=_0x4344df(0x548),_0x394f98[_0x394f98[_0x4344df(0x4c8)]=0x4]='UnitSnapshot',_0x394f98[_0x394f98[_0x4344df(0x238)]=0x5]=_0x4344df(0x238),_0x394f98[_0x394f98['UNRECOGNIZED']=-0x1]=_0x4344df(0x200),_0x394f98))(_0x2780e6||{});const _0x2fadd8=_0x4344df(0x40e),_0xf36a8e={};var _0x219b80=(_0x480413=>(_0x480413['OTHER_CLIENT_EDITING']=_0x4344df(0x3be),_0x480413[_0x4344df(0x2ef)]=_0x4344df(0x2ef),_0x480413[_0x4344df(0x49b)]=_0x4344df(0x49b),_0x480413['CLOSE_ROOM']=_0x4344df(0x265),_0x480413[_0x4344df(0x3a9)]=_0x4344df(0x3a9),_0x480413[_0x4344df(0x33f)]=_0x4344df(0x33f),_0x480413['SOCKET_FAILED']='SOCKET_FAILED',_0x480413[_0x4344df(0x40f)]=_0x4344df(0x40f),_0x480413))(_0x219b80||{});class _0x50af23{constructor(){var _0x5b7484=_0x4344df;_0x6d89e8(this,_0x5b7484(0x206),new _0x157716[(_0x5b7484(0x2d2))]()),_0x6d89e8(this,_0x5b7484(0x4b7),this[_0x5b7484(0x206)][_0x5b7484(0x284)]());}['emitEvent'](_0x39d470){var _0x5b87ca=_0x4344df;this['_event$'][_0x5b87ca(0x34c)](_0x39d470);}}const _0x1b233a=_0x542f26[_0x4344df(0x2b2)](_0x4344df(0x44e));function _0x8bf658(_0x234ee6){var _0x3ad618=_0x4344df,_0x143223,_0xab9552,_0x1cbea2,_0x3343e5,_0x326aa9;const _0x349796=_0x234ee6[_0x3ad618(0x3c5)],_0x20df92=JSON[_0x3ad618(0x1e3)](_0x349796);switch(_0x20df92[_0x3ad618(0x3f2)]){case _0x217bab['HEARTBEAT']:case _0x217bab[_0x3ad618(0x36d)]:{const _0x5a04c1=_0x20df92[_0x3ad618(0x22a)];return{..._0x20df92,'data':_0x5a04c1,'cmd':_0x20df92['cmd']};}case _0x217bab[_0x3ad618(0x4b0)]:{const _0xfcd100=_0x20df92[_0x3ad618(0x256)];return{..._0x20df92,'data':_0xfcd100,'cmd':_0x20df92[_0x3ad618(0x3f2)]};}case _0x217bab[_0x3ad618(0x4d6)]:{const _0x3f7d0a=_0x20df92[_0x3ad618(0x1d7)];switch(_0x3f7d0a[_0x3ad618(0x37c)]){case _0x3e6c27[_0x3ad618(0x524)][_0x3ad618(0x27c)]:return{..._0x20df92,'data':{..._0x3f7d0a,'data':(_0x143223=_0x3f7d0a[_0x3ad618(0x522)])==null?void 0x0:_0x143223['cs']},'cmd':_0x20df92[_0x3ad618(0x3f2)]};case _0x3e6c27[_0x3ad618(0x524)][_0x3ad618(0x489)]:return{..._0x20df92,'data':{..._0x3f7d0a,'data':(_0xab9552=_0x3f7d0a[_0x3ad618(0x2c1)])==null?void 0x0:_0xab9552['cs']},'cmd':_0x20df92[_0x3ad618(0x3f2)]};case _0x3e6c27['CollaborationEvent'][_0x3ad618(0x3e4)]:return{..._0x20df92,'data':{..._0x3f7d0a,'data':(_0x1cbea2=_0x3f7d0a[_0x3ad618(0x1e6)])==null?void 0x0:_0x1cbea2['cs']},'cmd':_0x20df92[_0x3ad618(0x3f2)]};case _0x3e6c27['CollaborationEvent'][_0x3ad618(0x367)]:return{..._0x20df92,'data':{..._0x3f7d0a,'data':(_0x3343e5=_0x3f7d0a[_0x3ad618(0x47b)])==null?void 0x0:_0x3343e5['cs']},'cmd':_0x20df92['cmd']};case _0x3e6c27[_0x3ad618(0x524)][_0x3ad618(0x451)]:return{..._0x20df92,'data':{..._0x3f7d0a,'data':(_0x326aa9=_0x3f7d0a['csShouldRetryEvent'])==null?void 0x0:_0x326aa9['cs']},'cmd':_0x20df92[_0x3ad618(0x3f2)]};case _0x3e6c27['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x20df92,'data':{..._0x3f7d0a,'data':_0x3f7d0a[_0x3ad618(0x4ac)]},'cmd':_0x20df92[_0x3ad618(0x3f2)]};case _0x3e6c27[_0x3ad618(0x524)][_0x3ad618(0x459)]:return{..._0x20df92,'data':{..._0x3f7d0a,'data':_0x3f7d0a[_0x3ad618(0x538)]},'cmd':_0x20df92[_0x3ad618(0x3f2)]};case _0x3e6c27['CollaborationEvent']['USERS_LEAVE']:return{..._0x20df92,'data':{..._0x3f7d0a,'data':_0x3f7d0a[_0x3ad618(0x233)]},'cmd':_0x20df92[_0x3ad618(0x3f2)]};case _0x3e6c27['CollaborationEvent'][_0x3ad618(0x4d1)]:return{..._0x20df92,'data':{..._0x3f7d0a,'data':_0x3f7d0a[_0x3ad618(0x1fd)]},'cmd':_0x20df92['cmd']};case _0x3e6c27[_0x3ad618(0x524)]['LIVESHARE_FETCH_OPERATIONS']:case _0x3e6c27[_0x3ad618(0x524)][_0x3ad618(0x49a)]:return{..._0x20df92,'data':{..._0x3f7d0a,'data':_0x3f7d0a[_0x3ad618(0x426)]},'cmd':_0x20df92[_0x3ad618(0x3f2)]};case _0x3e6c27[_0x3ad618(0x524)][_0x3ad618(0x1f9)]:return{..._0x20df92,'data':{..._0x3f7d0a,'data':_0x3f7d0a[_0x3ad618(0x1fd)]},'cmd':_0x20df92[_0x3ad618(0x3f2)]};case _0x3e6c27[_0x3ad618(0x524)][_0x3ad618(0x429)]:return{..._0x20df92,'data':_0x3f7d0a,'cmd':_0x20df92['cmd']};case _0x3e6c27['CollaborationEvent']['COMMENT_UPDATE']:return{..._0x20df92,'data':{..._0x3f7d0a,'data':_0x3f7d0a[_0x3ad618(0x244)]},'cmd':_0x20df92['cmd']};case _0x3e6c27[_0x3ad618(0x524)][_0x3ad618(0x271)]:return{..._0x20df92,'data':{..._0x3f7d0a,'data':_0x3f7d0a[_0x3ad618(0x27b)]},'cmd':_0x20df92[_0x3ad618(0x3f2)]};case _0x3e6c27[_0x3ad618(0x524)][_0x3ad618(0x509)]:return{..._0x20df92,'data':{..._0x3f7d0a,'data':_0x3f7d0a['shouldCloseConn']},'cmd':_0x20df92['cmd']};case _0x3e6c27[_0x3ad618(0x524)][_0x3ad618(0x358)]:return{..._0x20df92,'data':{..._0x3f7d0a,'data':_0x3f7d0a[_0x3ad618(0x2a8)]},'cmd':_0x20df92[_0x3ad618(0x3f2)]};default:return _0x20df92;}}default:return _0x20df92;}}function _0x57646a(_0x16b34c){var _0xdf1c6=_0x4344df;switch(_0x16b34c[_0xdf1c6(0x3f2)]){case _0x217bab['HEARTBEAT']:case _0x217bab[_0xdf1c6(0x36d)]:return JSON[_0xdf1c6(0x52d)]({'cmd':_0x16b34c[_0xdf1c6(0x3f2)],'routeKey':_0x16b34c[_0xdf1c6(0x4ff)]});case _0x217bab[_0xdf1c6(0x535)]:{let _0xdbeb86;switch(_0x16b34c[_0xdf1c6(0x3c5)][_0xdf1c6(0x37c)]){case _0x3e6c27[_0xdf1c6(0x524)]['UPDATE_CURSOR']:{_0xdbeb86={'eventID':_0x3e6c27[_0xdf1c6(0x524)][_0xdf1c6(0x53b)],'updateCursorEvent':_0x16b34c[_0xdf1c6(0x3c5)]['data']};break;}case _0x3e6c27[_0xdf1c6(0x524)][_0xdf1c6(0x282)]:{_0xdbeb86={'eventID':_0x3e6c27['CollaborationEvent'][_0xdf1c6(0x282)],'leaveEvent':_0x16b34c[_0xdf1c6(0x3c5)][_0xdf1c6(0x3c5)]};break;}case _0x3e6c27[_0xdf1c6(0x524)][_0xdf1c6(0x459)]:{_0xdbeb86={'eventID':_0x3e6c27[_0xdf1c6(0x524)]['USERS_ENTER'],'joinEvent':_0x16b34c[_0xdf1c6(0x3c5)]['data']};break;}case _0x3e6c27[_0xdf1c6(0x524)]['LIVESHARE_NEW_HOST']:{_0xdbeb86={'eventID':_0x3e6c27['CollaborationEvent'][_0xdf1c6(0x4d1)],'liveShareNewHost':_0x16b34c[_0xdf1c6(0x3c5)][_0xdf1c6(0x3c5)]};break;}case _0x3e6c27[_0xdf1c6(0x524)][_0xdf1c6(0x49a)]:{_0xdbeb86={'eventID':_0x3e6c27[_0xdf1c6(0x524)][_0xdf1c6(0x49a)],'liveShareOperation':_0x16b34c[_0xdf1c6(0x3c5)][_0xdf1c6(0x3c5)]};break;}case _0x3e6c27['CollaborationEvent'][_0xdf1c6(0x1f9)]:{_0xdbeb86={'eventID':_0x3e6c27[_0xdf1c6(0x524)][_0xdf1c6(0x1f9)],'liveShareTerminate':_0x16b34c[_0xdf1c6(0x3c5)][_0xdf1c6(0x3c5)]};break;}case _0x3e6c27[_0xdf1c6(0x524)][_0xdf1c6(0x277)]:{_0xdbeb86={'eventID':_0x3e6c27[_0xdf1c6(0x524)][_0xdf1c6(0x277)],'liveShareRequestHost':_0x16b34c[_0xdf1c6(0x3c5)][_0xdf1c6(0x3c5)]};break;}case _0x3e6c27['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0xdbeb86={'eventID':_0x3e6c27['CollaborationEvent'][_0xdf1c6(0x44b)]};break;}default:_0xdbeb86={'eventID':_0x16b34c[_0xdf1c6(0x3c5)][_0xdf1c6(0x37c)]};}return JSON[_0xdf1c6(0x52d)]({'cmd':_0x16b34c['cmd'],'routeKey':_0x16b34c[_0xdf1c6(0x4ff)],'collaMsg':_0xdbeb86});}case _0x217bab[_0xdf1c6(0x4b0)]:return JSON[_0xdf1c6(0x52d)]({'cmd':_0x16b34c[_0xdf1c6(0x3f2)],'routeKey':_0x16b34c[_0xdf1c6(0x4ff)],'joinReq':_0x16b34c['data']});case _0x217bab[_0xdf1c6(0x4c3)]:return JSON[_0xdf1c6(0x52d)]({'cmd':_0x16b34c[_0xdf1c6(0x3f2)],'routeKey':_0x16b34c[_0xdf1c6(0x4ff)],'leaveReq':_0x16b34c['data']});default:throw new Error(_0xdf1c6(0x534));}}var _0xcd8065=Object[_0x4344df(0x3b9)],_0x54c637=(_0x303fe7,_0x385842,_0x18e6cf,_0x3be846)=>{for(var _0x298787=_0x3be846>0x1?void 0x0:_0x3be846?_0xcd8065(_0x385842,_0x18e6cf):_0x385842,_0x4be19d=_0x303fe7['length']-0x1,_0x4a17b9;_0x4be19d>=0x0;_0x4be19d--)(_0x4a17b9=_0x303fe7[_0x4be19d])&&(_0x298787=_0x4a17b9(_0x298787)||_0x298787);return _0x298787;},_0xd2c957=(_0x456106,_0x5d068e)=>(_0x196ab1,_0x4af8d5)=>_0x5d068e(_0x196ab1,_0x4af8d5,_0x456106);const _0x61f379=_0x542f26[_0x4344df(0x2b2)](_0x4344df(0x301));function _0xc7a479(_0x58287a,_0x48e348,_0x481ba6){var _0x3a6c3f=_0x4344df;return _0x58287a+'/'+_0x48e348+_0x3a6c3f(0x3b2)+_0x481ba6+_0x3a6c3f(0x4a8);}_0x54f6d5['CollaborationSocketService']=class extends _0x542f26[_0x4344df(0x2d8)]{constructor(_0x3998d0,_0x2bee99,_0x276619,_0x580b10,_0x1b752d){var _0x565abd=_0x4344df;super(),this[_0x565abd(0x3f7)]=_0x3998d0,this[_0x565abd(0x1f8)]=_0x2bee99,this[_0x565abd(0x339)]=_0x276619,this[_0x565abd(0x23f)]=_0x580b10,this[_0x565abd(0x208)]=_0x1b752d;}[_0x4344df(0x1f6)](_0x4c9915){var _0x2234b3=_0x4344df;const _0x39c3d8=this['_injector']['get'](_0x2686d0[_0x2234b3(0x3c4)]);if(!_0x39c3d8)throw new Error(_0x2234b3(0x3f4));const _0x389906=_0x39c3d8[_0x2234b3(0x419)](_0x4c9915);if(!_0x389906)throw new Error(_0x2234b3(0x2c3));const _0x1c0544=new _0x542f26[(_0x2234b3(0x49e))](),_0x4272f6=new _0x157716['Subject']();_0x1c0544[_0x2234b3(0x500)](_0x389906[_0x2234b3(0x290)][_0x2234b3(0x465)](_0xd47ad9=>_0x4272f6[_0x2234b3(0x34c)](_0xd47ad9))),_0x1c0544[_0x2234b3(0x500)](_0x542f26[_0x2234b3(0x324)](()=>_0x4272f6[_0x2234b3(0x28c)]()));const _0x856b87=new _0x157716[(_0x2234b3(0x2d2))]();_0x1c0544[_0x2234b3(0x500)](_0x389906[_0x2234b3(0x433)]['subscribe'](_0x5aaffb=>_0x856b87['next'](_0x5aaffb))),_0x1c0544[_0x2234b3(0x500)](_0x542f26[_0x2234b3(0x324)](()=>_0x856b87[_0x2234b3(0x28c)]()));const _0x495875=new _0x157716[(_0x2234b3(0x2d2))]();_0x1c0544[_0x2234b3(0x500)](_0x389906[_0x2234b3(0x287)][_0x2234b3(0x465)](_0xd9e5d8=>{var _0x25957f=_0x2234b3;const _0x40378f=_0x8bf658(_0xd9e5d8);_0x495875[_0x25957f(0x34c)](_0x40378f);})),_0x1c0544[_0x2234b3(0x500)](_0x542f26[_0x2234b3(0x324)](()=>_0x495875[_0x2234b3(0x28c)]()));let _0x1d6bcb;const _0x1267f9=()=>{var _0x28244c=_0x2234b3;_0x856b87['next'](new Event(_0x28244c(0x401))),_0x4272f6[_0x28244c(0x34c)](new Event(_0x28244c(0x401))),_0x1d6bcb['close']();};return _0x1d6bcb={'memberID':'','close$':_0x4272f6[_0x2234b3(0x284)](),'error$':_0x856b87[_0x2234b3(0x284)](),'open$':_0x389906[_0x2234b3(0x527)],'message$':_0x495875[_0x2234b3(0x284)](),'send':_0x45781d=>{var _0x4b2de0=_0x2234b3;if(_0x45781d[_0x4b2de0(0x3f2)]===_0x217bab[_0x4b2de0(0x535)]){if(_0x45781d['data']['eventID']===_0x3e6c27[_0x4b2de0(0x524)][_0x4b2de0(0x21c)]){this[_0x4b2de0(0x381)](_0x1d6bcb,_0x45781d[_0x4b2de0(0x3c5)])[_0x4b2de0(0x221)](_0x1463d0=>{var _0x45ca82=_0x4b2de0;this[_0x45ca82(0x23f)][_0x45ca82(0x455)](_0x1463d0),_0x1267f9();});return;}if(_0x45781d[_0x4b2de0(0x3c5)][_0x4b2de0(0x37c)]===_0x3e6c27['CollaborationEvent']['FETCH_MISSING']){const _0x4034e9=_0x45781d['data'];this[_0x4b2de0(0x4bf)](_0x4034e9)[_0x4b2de0(0x2f5)](_0x5f1b9a=>{var _0x2bfa77=_0x4b2de0;_0x495875[_0x2bfa77(0x34c)]({'cmd':_0x217bab['RECV'],'code':_0x11e034['OK'],'routeKey':_0x4034e9['data'][_0x2bfa77(0x3dd)],'routeType':'','data':{'eventID':_0x3e6c27['CollaborationEvent'][_0x2bfa77(0x202)],'data':{'changesets':_0x5f1b9a}}});})[_0x4b2de0(0x221)](_0x3f4da4=>{var _0x3909d4=_0x4b2de0;this[_0x3909d4(0x23f)]['error'](_0x3f4da4),_0x1267f9();});return;}}_0x389906['send'](_0x57646a(_0x45781d));},'close':()=>{var _0x4acd80=_0x2234b3;_0x389906[_0x4acd80(0x441)](),_0x1c0544['dispose']();}},_0x1d6bcb;}async[_0x4344df(0x381)](_0x3f0d7a,_0x48b1a1){var _0xa4f5da=_0x4344df,_0x40e3df,_0x181474;const {unitType:_0xf1559d,unitID:_0x48317e,changeset:_0x51956c}=_0x48b1a1['data'],_0x50a886={'unitID':_0x48317e,'memberID':_0x3f0d7a['memberID'],'type':_0xf1559d,'changeset':_0x3e6c27[_0xa4f5da(0x407)](_0x51956c)},_0x977c06=this[_0xa4f5da(0x339)]['getConfig'](_0x344bb1),_0x77025=this[_0xa4f5da(0x339)][_0xa4f5da(0x54e)](_0x2fadd8),_0x16eca0=_0xc7a479((_0x181474=(_0x40e3df=_0x77025==null?void 0x0:_0x77025[_0xa4f5da(0x519)])!=null?_0x40e3df:_0x977c06)!=null?_0x181474:_0x1e9354,_0xf1559d,_0x48317e);try{await this['_httpService'][_0xa4f5da(0x335)](_0x16eca0,{'body':_0x50a886});}catch(_0x2b7fc9){throw this['_logService'][_0xa4f5da(0x455)](_0xa4f5da(0x41b),_0xa4f5da(0x21e)),_0x2b7fc9;}}async[_0x4344df(0x4bf)](_0x2ca268){var _0x3b7c6e=_0x4344df;const {unitID:_0x4317ab,from:_0x2fc4f5,to:_0x2b82f6,unitType:_0x85eee9}=_0x2ca268[_0x3b7c6e(0x3c5)];return(await this['_snapshotServerService'][_0x3b7c6e(0x34a)]({'metadata':void 0x0},{'unitID':_0x4317ab,'type':_0x85eee9,'from':_0x2fc4f5,'to':_0x2b82f6}))[_0x3b7c6e(0x2f6)];}},_0x54f6d5[_0x4344df(0x513)]=_0x54c637([_0xd2c957(0x0,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x511)])),_0xd2c957(0x1,_0x542f26['Inject'](_0x2686d0[_0x4344df(0x220)])),_0xd2c957(0x2,_0x542f26['IConfigService']),_0xd2c957(0x3,_0x542f26[_0x4344df(0x2e8)]),_0xd2c957(0x4,_0x3e6c27[_0x4344df(0x240)])],_0x54f6d5['CollaborationSocketService']);const _0x5811c9='collaboration_new_changeset';function _0x54c875(_0x2663de){var _0x109722=_0x4344df;return JSON['stringify'](_0x2663de)[_0x109722(0x373)];}class _0x255a97{constructor(){var _0x22ed2c=_0x4344df;_0x6d89e8(this,_0x22ed2c(0x4f9),new _0x157716[(_0x22ed2c(0x2d2))]()),_0x6d89e8(this,_0x22ed2c(0x490),this[_0x22ed2c(0x4f9)][_0x22ed2c(0x284)]());}[_0x4344df(0x204)](_0x2408a8){var _0x348c35=_0x4344df;this[_0x348c35(0x4f9)][_0x348c35(0x34c)](_0x2408a8);}}var _0x345c3d=Object[_0x4344df(0x3b9)],_0x2242e0=(_0x211543,_0x5c4848,_0x36d3d9,_0x3c5e58)=>{var _0x5ccd5b=_0x4344df;for(var _0x2b0755=_0x3c5e58>0x1?void 0x0:_0x3c5e58?_0x345c3d(_0x5c4848,_0x36d3d9):_0x5c4848,_0x21ba79=_0x211543[_0x5ccd5b(0x373)]-0x1,_0x18c88e;_0x21ba79>=0x0;_0x21ba79--)(_0x18c88e=_0x211543[_0x21ba79])&&(_0x2b0755=_0x18c88e(_0x2b0755)||_0x2b0755);return _0x2b0755;},_0x3ec846=(_0x29d154,_0xff6223)=>(_0xf4d2dd,_0x37bbab)=>_0xff6223(_0xf4d2dd,_0x37bbab,_0x29d154);_0x54f6d5[_0x4344df(0x32f)]=class extends _0x542f26[_0x4344df(0x2d8)]{constructor(_0x36451f,_0x476b28){var _0x19ad85=_0x4344df;super(),_0x6d89e8(this,'_roomMembers',new Map()),_0x6d89e8(this,'_roomCreated$',new _0x157716[(_0x19ad85(0x2d2))]()),(this[_0x19ad85(0x3e6)]=_0x36451f,this[_0x19ad85(0x531)]=_0x476b28,this[_0x19ad85(0x4c0)](_0x157716['merge'](this[_0x19ad85(0x3e6)]['getTypeOfUnitDisposed$'](_0x542f26['UniverInstanceType'][_0x19ad85(0x285)])['pipe'](_0x5fc46a[_0x19ad85(0x443)](_0x5b38c9=>_0x5b38c9['getUnitId']())),this['_univerInstanceService'][_0x19ad85(0x2d3)](_0x542f26[_0x19ad85(0x3a8)][_0x19ad85(0x210)])[_0x19ad85(0x4e7)](_0x5fc46a[_0x19ad85(0x443)](_0x3a1158=>_0x3a1158['getUnitId']())),this['_univerInstanceService'][_0x19ad85(0x2d3)](_0x542f26[_0x19ad85(0x3a8)][_0x19ad85(0x47c)])[_0x19ad85(0x4e7)](_0x5fc46a[_0x19ad85(0x443)](_0x397075=>_0x397075['getUnitId']())))['subscribe'](_0x178f91=>this[_0x19ad85(0x1e2)](_0x178f91))));}['waitForRoom$'](_0x25b551){var _0x4949a9=_0x4344df;return this['_roomMembers'][_0x4949a9(0x329)](_0x25b551)?_0x157716['of'](this['_roomMembers'][_0x4949a9(0x421)](_0x25b551)):this[_0x4949a9(0x499)][_0x4949a9(0x4e7)](_0x5fc46a[_0x4949a9(0x443)](_0x40aab3=>{var _0xaa12bb=_0x4949a9;if(_0x40aab3===_0x25b551)return this[_0xaa12bb(0x281)][_0xaa12bb(0x421)](_0x40aab3);}));}[_0x4344df(0x428)](_0x4cae8e){var _0x3c739c=_0x4344df;this[_0x3c739c(0x531)][_0x3c739c(0x428)](_0x4cae8e);}[_0x4344df(0x222)](){var _0x40518b=_0x4344df;return this[_0x40518b(0x531)]['getCurrentUser']();}[_0x4344df(0x311)](_0x176b36,_0x366e9a){var _0x20f3a9=_0x4344df;let _0x190bc3=this[_0x20f3a9(0x281)][_0x20f3a9(0x421)](_0x176b36);_0x190bc3||(_0x190bc3=new _0x2733f1(),this[_0x20f3a9(0x281)][_0x20f3a9(0x3a7)](_0x176b36,_0x190bc3),this[_0x20f3a9(0x499)][_0x20f3a9(0x34c)](_0x176b36)),_0x190bc3[_0x20f3a9(0x311)](_0x366e9a);}[_0x4344df(0x32a)](_0x52f9a4,_0x3d769d){var _0x2e1ec6=_0x4344df;const _0x4b6c03=this[_0x2e1ec6(0x281)]['get'](_0x52f9a4);_0x4b6c03&&_0x4b6c03[_0x2e1ec6(0x32a)](_0x3d769d);}[_0x4344df(0x3b8)](_0x34821f){var _0x45320f=_0x4344df;return this[_0x45320f(0x281)][_0x45320f(0x421)](_0x34821f);}[_0x4344df(0x27f)](_0x510c47,_0x4c2838){var _0x537266=_0x4344df;const _0x27b18a=this[_0x537266(0x281)][_0x537266(0x421)](_0x510c47);if(_0x27b18a)return _0x27b18a['getMember'](_0x4c2838);}[_0x4344df(0x1e2)](_0x4af21c){var _0x101e0e=_0x4344df;const _0x66ab3=this[_0x101e0e(0x281)][_0x101e0e(0x421)](_0x4af21c);_0x66ab3&&(_0x66ab3['dispose'](),this['_roomMembers'][_0x101e0e(0x1dc)](_0x4af21c));}['dispose'](){var _0x2994fb=_0x4344df;this['_roomMembers'][_0x2994fb(0x4e3)](_0xbe16b9=>_0xbe16b9[_0x2994fb(0x299)]()),this[_0x2994fb(0x281)]['clear'](),this[_0x2994fb(0x499)][_0x2994fb(0x28c)]();}},_0x54f6d5[_0x4344df(0x32f)]=_0x2242e0([_0x3ec846(0x0,_0x542f26[_0x4344df(0x43b)]),_0x3ec846(0x1,_0x542f26['Inject'](_0x542f26['UserManagerService']))],_0x54f6d5['MemberService']);class _0x2733f1 extends _0x542f26[_0x4344df(0x2d8)]{constructor(){var _0x35b1bd=_0x4344df;super(...arguments),_0x6d89e8(this,_0x35b1bd(0x4ad),new Map()),_0x6d89e8(this,_0x35b1bd(0x491),new _0x157716[(_0x35b1bd(0x2d0))](this[_0x35b1bd(0x4ad)])),_0x6d89e8(this,_0x35b1bd(0x493),this[_0x35b1bd(0x491)]['asObservable']());}[_0x4344df(0x299)](){var _0x43a8d3=_0x4344df;this[_0x43a8d3(0x4ad)][_0x43a8d3(0x42e)]();}[_0x4344df(0x311)](_0x171651){var _0x2a4098=_0x4344df;this[_0x2a4098(0x4ad)][_0x2a4098(0x3a7)](_0x171651[_0x2a4098(0x4f0)],_0x171651),this[_0x2a4098(0x41d)]();}[_0x4344df(0x32a)](_0x454db9){var _0x157f5c=_0x4344df;this['_members'][_0x157f5c(0x1dc)](_0x454db9);}[_0x4344df(0x27f)](_0x155b46){var _0x4a5c44=_0x4344df;return this[_0x4a5c44(0x4ad)][_0x4a5c44(0x421)](_0x155b46);}['getAllMembers'](){var _0x318e75=_0x4344df;return Array[_0x318e75(0x39d)](this[_0x318e75(0x4ad)][_0x318e75(0x255)]());}[_0x4344df(0x41d)](){var _0x49dc6a=_0x4344df;this[_0x49dc6a(0x491)]['next'](this[_0x49dc6a(0x4ad)]);}}var _0xec05e1=Object[_0x4344df(0x3b9)],_0x197a64=(_0x1f5b5c,_0x56e129,_0x2e63a5,_0x1d4f30)=>{var _0x382717=_0x4344df;for(var _0x805b0e=_0x1d4f30>0x1?void 0x0:_0x1d4f30?_0xec05e1(_0x56e129,_0x2e63a5):_0x56e129,_0x46b109=_0x1f5b5c[_0x382717(0x373)]-0x1,_0x53c8f1;_0x46b109>=0x0;_0x46b109--)(_0x53c8f1=_0x1f5b5c[_0x46b109])&&(_0x805b0e=_0x53c8f1(_0x805b0e)||_0x805b0e);return _0x805b0e;},_0x792291=(_0x233f7e,_0x99dd79)=>(_0x2f5cce,_0x32d98a)=>_0x99dd79(_0x2f5cce,_0x32d98a,_0x233f7e),_0x57d029=(_0x5873e4=>(_0x5873e4[_0x5873e4['IDLE']=0x0]='IDLE',_0x5873e4[_0x5873e4[_0x4344df(0x4c6)]=0x1]=_0x4344df(0x4c6),_0x5873e4[_0x5873e4[_0x4344df(0x380)]=0x2]=_0x4344df(0x380),_0x5873e4[_0x5873e4[_0x4344df(0x348)]=0x3]=_0x4344df(0x348),_0x5873e4))(_0x57d029||{});const _0x126bcd={[_0x11e034[_0x4344df(0x483)]]:_0x4344df(0x2a9),[_0x11e034[_0x4344df(0x46f)]]:'session.room-full',[_0x11e034[_0x4344df(0x370)]]:_0x4344df(0x4d4),[_0x11e034[_0x4344df(0x41e)]]:'session.room-permission-denied',[_0x11e034[_0x4344df(0x3bd)]]:'session.room-cnt-exceeds'};_0x54f6d5[_0x4344df(0x532)]=class extends _0x542f26['RxDisposable']{constructor(_0x5c3bc4,_0x1973d9,_0x58f56e,_0x1e7058,_0x4a5226,_0x185039,_0x37a5c5,_0x3b20c2,_0x2425fe){var _0x39813d=_0x4344df;super(),_0x6d89e8(this,_0x39813d(0x37a),new _0x157716[(_0x39813d(0x2d0))](0x0)),_0x6d89e8(this,_0x39813d(0x241),this[_0x39813d(0x37a)][_0x39813d(0x284)]()),_0x6d89e8(this,_0x39813d(0x206),new _0x157716['Subject']()),_0x6d89e8(this,_0x39813d(0x4b7),this['_event$'][_0x39813d(0x284)]()),_0x6d89e8(this,_0x39813d(0x471)),_0x6d89e8(this,_0x39813d(0x1da)),_0x6d89e8(this,_0x39813d(0x51a)),_0x6d89e8(this,_0x39813d(0x3d8),!0x1),_0x6d89e8(this,_0x39813d(0x272),null),(this[_0x39813d(0x39b)]=_0x5c3bc4,this['_logService']=_0x58f56e,this[_0x39813d(0x339)]=_0x1e7058,this[_0x39813d(0x3c7)]=_0x4a5226,this[_0x39813d(0x545)]=_0x185039,this[_0x39813d(0x230)]=_0x37a5c5,this[_0x39813d(0x539)]=_0x3b20c2,this[_0x39813d(0x391)]=_0x2425fe,this[_0x39813d(0x3d8)]=!!this['_telemetryService'],_0x1973d9[_0x39813d(0x4e7)](_0x157716[_0x39813d(0x21f)](this[_0x39813d(0x1ec)]))[_0x39813d(0x465)](_0x26e255=>{var _0x3a4a92=_0x39813d,_0x539cf0;typeof _0x26e255>'u'||(this['_socket']=_0x26e255,_0x26e255?(this[_0x3a4a92(0x388)](_0x26e255),this[_0x3a4a92(0x1da)]=_0x26e255[_0x3a4a92(0x287)][_0x3a4a92(0x465)](_0x25d558=>{var _0x3ff33=_0x3a4a92;_0x25d558['routeKey']===this['_unitID']&&this[_0x3ff33(0x4af)](_0x25d558);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3a4a92(0x37a)]['next'](0x2),(_0x539cf0=this[_0x3a4a92(0x1da)])==null||_0x539cf0[_0x3a4a92(0x30b)](),this[_0x3a4a92(0x1da)]=null));}));}get[_0x4344df(0x446)](){var _0x5a7d90=_0x4344df;return this['_sessionStatus$'][_0x5a7d90(0x214)]();}['getMemberID'](){var _0x44e1aa=_0x4344df,_0x356d7c,_0x11b8b8;return(_0x11b8b8=(_0x356d7c=this['_socket'])==null?void 0x0:_0x356d7c[_0x44e1aa(0x4f0)])!=null?_0x11b8b8:null;}[_0x4344df(0x299)](){var _0x566be9=_0x4344df;super['dispose'](),this['dispose$'][_0x566be9(0x34c)](),this[_0x566be9(0x1ec)][_0x566be9(0x28c)]();}[_0x4344df(0x441)](){var _0x4db6d7=_0x4344df,_0x54bf32,_0x4c51e2;this['_throwTelemetryCollaborationNewChangeset'](),(_0x54bf32=this['_socket'])==null||_0x54bf32[_0x4db6d7(0x49f)]({'cmd':_0x217bab['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x4c51e2=this[_0x4db6d7(0x471)])==null||_0x4c51e2[_0x4db6d7(0x441)](),this[_0x4db6d7(0x206)][_0x4db6d7(0x28c)](),this[_0x4db6d7(0x37a)][_0x4db6d7(0x28c)](),this['dispose']();}[_0x4344df(0x4af)](_0x1862cf){var _0x1106d8=_0x4344df;_0x1862cf['cmd']===_0x217bab['JOIN']?this[_0x1106d8(0x55c)](_0x1862cf):_0x1862cf['cmd']===_0x217bab['RECV']&&this[_0x1106d8(0x2c9)](_0x1862cf);}[_0x4344df(0x388)](_0x39abaa){var _0x23278=_0x4344df;this[_0x23278(0x37a)][_0x23278(0x34c)](0x1),_0x39abaa[_0x23278(0x49f)]({'cmd':_0x217bab['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x23278(0x39b)]}]}});}[_0x4344df(0x55c)](_0x1701dc){var _0x2b3d18=_0x4344df,_0x3b8166;if(_0x1701dc[_0x2b3d18(0x3d9)]in _0x126bcd){this['_collaborationUIEventService'][_0x2b3d18(0x2df)]({'id':_0x219b80[_0x2b3d18(0x3a9)],'data':_0x126bcd[_0x1701dc['code']]}),this[_0x2b3d18(0x37a)][_0x2b3d18(0x34c)](0x2);return;}this[_0x2b3d18(0x37a)][_0x2b3d18(0x34c)](0x3);const _0x54a55e=(_0x3b8166=_0x1701dc[_0x2b3d18(0x3c5)][_0x2b3d18(0x515)][this[_0x2b3d18(0x39b)]])==null?void 0x0:_0x3b8166[_0x2b3d18(0x484)];_0x54a55e&&_0x54a55e[_0x2b3d18(0x4e3)](_0x380d81=>this[_0x2b3d18(0x545)][_0x2b3d18(0x311)](this[_0x2b3d18(0x39b)],_0x380d81));}[_0x4344df(0x2c9)](_0x924a8f){var _0x1f5cfe=_0x4344df;try{const _0x28ee83=_0x924a8f[_0x1f5cfe(0x3c5)];switch(_0x28ee83[_0x1f5cfe(0x37c)]){case _0x3e6c27['CollaborationEvent'][_0x1f5cfe(0x459)]:this[_0x1f5cfe(0x2a3)](_0x28ee83),this['_event$'][_0x1f5cfe(0x34c)](_0x28ee83);break;case _0x3e6c27[_0x1f5cfe(0x524)][_0x1f5cfe(0x282)]:this[_0x1f5cfe(0x2a1)](_0x28ee83),this['_event$']['next'](_0x28ee83);break;case _0x3e6c27[_0x1f5cfe(0x524)][_0x1f5cfe(0x489)]:case _0x3e6c27[_0x1f5cfe(0x524)][_0x1f5cfe(0x451)]:this[_0x1f5cfe(0x55f)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x1f5cfe(0x34c)](_0x28ee83);break;case _0x3e6c27[_0x1f5cfe(0x524)][_0x1f5cfe(0x429)]:this[_0x1f5cfe(0x23f)][_0x1f5cfe(0x455)](_0x1f5cfe(0x26a)+JSON['stringify'](_0x28ee83)),this['_event$'][_0x1f5cfe(0x34c)](_0x28ee83);break;case _0x3e6c27['CollaborationEvent'][_0x1f5cfe(0x26d)]:this[_0x1f5cfe(0x230)][_0x1f5cfe(0x204)](_0x28ee83[_0x1f5cfe(0x3c5)]),this[_0x1f5cfe(0x206)][_0x1f5cfe(0x34c)](_0x28ee83);break;default:this['_event$'][_0x1f5cfe(0x34c)](_0x28ee83);}}catch(_0x4531c3){this[_0x1f5cfe(0x23f)]['error'](_0x4531c3,_0x924a8f);}}[_0x4344df(0x2a3)](_0x2f9e91){var _0xcb6d9e=_0x4344df;this[_0xcb6d9e(0x545)]['updateMember'](this['_unitID'],_0x2f9e91[_0xcb6d9e(0x3c5)]);}[_0x4344df(0x2a1)](_0x57a30a){var _0x55ae76=_0x4344df;this['_memberService'][_0x55ae76(0x32a)](this[_0x55ae76(0x39b)],_0x57a30a[_0x55ae76(0x3c5)][_0x55ae76(0x4f0)]);}async[_0x4344df(0x49f)](_0x51d0c7,_0x34d269){var _0x2154c1=_0x4344df;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x2154c1(0x4dd));try{_0x51d0c7[_0x2154c1(0x37c)]===_0x3e6c27[_0x2154c1(0x524)][_0x2154c1(0x21c)]&&(this[_0x2154c1(0x436)](),this[_0x2154c1(0x389)](_0x51d0c7)),this[_0x2154c1(0x471)][_0x2154c1(0x49f)]({'cmd':_0x217bab[_0x2154c1(0x535)],'routeKey':_0x34d269,'routeType':'','data':_0x51d0c7});}catch(_0x57c080){this[_0x2154c1(0x23f)]['error'](_0x57c080);}}[_0x4344df(0x436)](){var _0x1d2de5=_0x4344df,_0x137008;this[_0x1d2de5(0x51a)]=setTimeout(()=>{var _0x274dcc=_0x1d2de5;this[_0x274dcc(0x51a)]=null,this[_0x274dcc(0x539)][_0x274dcc(0x2df)]({'id':_0x219b80[_0x274dcc(0x40f)]});},(_0x137008=this['_configService'][_0x1d2de5(0x54e)](_0x34a1b3))!=null?_0x137008:0x4e20);}[_0x4344df(0x430)](){var _0x48cbe5=_0x4344df;this[_0x48cbe5(0x51a)]&&(clearTimeout(this[_0x48cbe5(0x51a)]),this[_0x48cbe5(0x51a)]=null);}[_0x4344df(0x389)](_0x19b5d9){if(!this['_shouldReportTelemetry'])return;const {data:_0x70c7c8}=_0x19b5d9,{unitID:_0x1b5ce8,changeset:_0x3b8bdb}=_0x70c7c8,{mutations:_0x1f644b,type:_0x2033d7}=_0x3b8bdb;this['_telemetryInfo']={'unitId':_0x1b5ce8,'type':_0x2033d7,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x54c875(_0x1f644b)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x4ef572=_0x4344df;if(this[_0x4ef572(0x3d8)]){if(!this[_0x4ef572(0x272)]){this[_0x4ef572(0x23f)][_0x4ef572(0x455)](_0x4ef572(0x41b),_0x4ef572(0x29b));return;}this[_0x4ef572(0x272)]['stopTime']=performance[_0x4ef572(0x3fa)](),this[_0x4ef572(0x272)][_0x4ef572(0x4e0)]=this[_0x4ef572(0x272)][_0x4ef572(0x528)]-this['_telemetryInfo']['startTime'],this[_0x4ef572(0x391)][_0x4ef572(0x2cb)](_0x5811c9,this['_telemetryInfo']),this[_0x4ef572(0x272)]=null;}}[_0x4344df(0x55d)](){var _0x213e6d=_0x4344df;this[_0x213e6d(0x272)]=null;}},_0x54f6d5[_0x4344df(0x532)]=_0x197a64([_0x792291(0x2,_0x542f26['ILogService']),_0x792291(0x3,_0x542f26[_0x4344df(0x4c1)]),_0x792291(0x4,_0x542f26[_0x4344df(0x4e2)](_0x542f26['LocaleService'])),_0x792291(0x5,_0x542f26[_0x4344df(0x4e2)](_0x54f6d5['MemberService'])),_0x792291(0x6,_0x542f26[_0x4344df(0x4e2)](_0x255a97)),_0x792291(0x7,_0x542f26['Inject'](_0x50af23)),_0x792291(0x8,_0x542f26[_0x4344df(0x40a)](_0x42c045[_0x4344df(0x435)]))],_0x54f6d5['CollaborationSession']);var _0x20baa4=Object[_0x4344df(0x3b9)],_0x4af3b4=(_0x4e3f9d,_0x487e61,_0x103e74,_0x4c223f)=>{var _0x544171=_0x4344df;for(var _0x10a8b8=_0x4c223f>0x1?void 0x0:_0x4c223f?_0x20baa4(_0x487e61,_0x103e74):_0x487e61,_0x1a56ef=_0x4e3f9d[_0x544171(0x373)]-0x1,_0x3c7a51;_0x1a56ef>=0x0;_0x1a56ef--)(_0x3c7a51=_0x4e3f9d[_0x1a56ef])&&(_0x10a8b8=_0x3c7a51(_0x10a8b8)||_0x10a8b8);return _0x10a8b8;},_0x51fe20=(_0x2ea654,_0x4494b9)=>(_0x357c91,_0x211879)=>_0x4494b9(_0x357c91,_0x211879,_0x2ea654);_0x54f6d5[_0x4344df(0x2b0)]=class extends _0x542f26[_0x4344df(0x2d8)]{constructor(_0x282341,_0x30d83b,_0x5dacab,_0x324ac7,_0x207053,_0x1f3835){var _0x417ca8=_0x4344df;super(),_0x6d89e8(this,_0x417ca8(0x283),new _0x157716['BehaviorSubject'](void 0x0)),_0x6d89e8(this,'socket$',this['_socket$']['asObservable']()),_0x6d89e8(this,_0x417ca8(0x36a),null),_0x6d89e8(this,_0x417ca8(0x3a5),new Map()),_0x6d89e8(this,_0x417ca8(0x2e6),new _0x157716['BehaviorSubject'](_0x57d029[_0x417ca8(0x294)])),_0x6d89e8(this,'status$',this['_status$']['asObservable']()),_0x6d89e8(this,_0x417ca8(0x262),!0x1),_0x6d89e8(this,_0x417ca8(0x228)),_0x6d89e8(this,_0x417ca8(0x4a9),0x0),_0x6d89e8(this,_0x417ca8(0x4ea)),_0x6d89e8(this,_0x417ca8(0x3d4)),(this[_0x417ca8(0x3f7)]=_0x282341,this[_0x417ca8(0x23f)]=_0x30d83b,this['_configService']=_0x5dacab,this[_0x417ca8(0x258)]=_0x324ac7,this[_0x417ca8(0x539)]=_0x207053,this[_0x417ca8(0x4e4)]=_0x1f3835,this[_0x417ca8(0x25a)]());}get[_0x4344df(0x471)](){var _0x5e6fb0=_0x4344df;return this[_0x5e6fb0(0x283)]['getValue']();}[_0x4344df(0x25a)](){var _0x2171ff=_0x4344df;this[_0x2171ff(0x4e4)]&&this[_0x2171ff(0x4c0)](this[_0x2171ff(0x4e4)]['online$'][_0x2171ff(0x465)](_0x21fb03=>{var _0x1e97d1=_0x2171ff;_0x21fb03&&!this[_0x1e97d1(0x471)]&&this['reconnect'](),_0x21fb03||this[_0x1e97d1(0x2fd)]();}));}['dispose'](){var _0x22fd24=_0x4344df;super[_0x22fd24(0x299)](),this[_0x22fd24(0x543)](),this[_0x22fd24(0x3ad)](),this['_clearHeartbeatTimer'](),this[_0x22fd24(0x3a5)][_0x22fd24(0x4e3)](_0x431f6e=>_0x431f6e[_0x22fd24(0x299)]()),this[_0x22fd24(0x3a5)][_0x22fd24(0x42e)](),this['_status$'][_0x22fd24(0x28c)]();}async[_0x4344df(0x372)](_0x5bc560){var _0x3e6fd0=_0x4344df;if(this['_sessions'][_0x3e6fd0(0x329)](_0x5bc560))return this[_0x3e6fd0(0x3a5)][_0x3e6fd0(0x421)](_0x5bc560);this['_tryEnsureSocket']();const _0x503dd3=this[_0x3e6fd0(0x3f7)][_0x3e6fd0(0x43e)](_0x54f6d5['CollaborationSession'],_0x5bc560,this['_socket$']['asObservable']());return this['_sessions'][_0x3e6fd0(0x3a7)](_0x5bc560,_0x503dd3),_0x503dd3;}[_0x4344df(0x1df)](_0x487c13){var _0x29a46c=_0x4344df,_0x20089b;const _0x22762e=this[_0x29a46c(0x3a5)][_0x29a46c(0x421)](_0x487c13);_0x22762e&&(this[_0x29a46c(0x3a5)][_0x29a46c(0x1dc)](_0x487c13),_0x22762e['close']()),this['_sessions'][_0x29a46c(0x259)]||(_0x20089b=this['_socket'])==null||_0x20089b['close']();}[_0x4344df(0x420)](){var _0x21137d=_0x4344df;this[_0x21137d(0x4a9)]=0x0,this[_0x21137d(0x543)](),this[_0x21137d(0x209)]();}[_0x4344df(0x543)](){var _0x5cb6e4=_0x4344df;this[_0x5cb6e4(0x228)]!=null&&(clearTimeout(this[_0x5cb6e4(0x228)]),this['_retryConnectingTimer']=null);}async[_0x4344df(0x227)](){var _0x318552=_0x4344df,_0x4fa32a,_0x308d2c;const _0x367f51=this[_0x318552(0x339)]['getConfig'](_0xeabd6c),_0x39d9f7=this['_configService']['getConfig'](_0x2fadd8),_0x2e52d8=(_0x308d2c=(_0x4fa32a=_0x39d9f7==null?void 0x0:_0x39d9f7[_0x318552(0x350)])!=null?_0x4fa32a:_0x367f51)!=null?_0x308d2c:_0x50b001,_0x395885=await this[_0x318552(0x258)][_0x318552(0x419)](_0x2e52d8);return this[_0x318552(0x36a)]=_0x395885,_0x395885;}async[_0x4344df(0x47f)](){var _0xd28036=_0x4344df,_0x3c2e97,_0xf7f994;try{const _0xb19c27=(_0xf7f994=(_0x3c2e97=this[_0xd28036(0x471)])!=null?_0x3c2e97:this['_candidateSocket'])!=null?_0xf7f994:await this[_0xd28036(0x227)]();if(_0xb19c27){const _0x26ede7=_0xb19c27[_0xd28036(0x49f)];_0xb19c27[_0xd28036(0x49f)]=_0x4eeef4=>(this[_0xd28036(0x541)](),_0x26ede7[_0xd28036(0x345)](_0xb19c27,[_0x4eeef4])),_0xb19c27['message$'][_0xd28036(0x465)](_0x5222c9=>this[_0xd28036(0x501)](_0xb19c27,_0x5222c9)),_0xb19c27[_0xd28036(0x433)][_0xd28036(0x4e7)](_0x5fc46a[_0xd28036(0x3c9)](0x1))[_0xd28036(0x465)](_0x391731=>this[_0xd28036(0x23f)][_0xd28036(0x455)](_0xd28036(0x482),_0x391731)),_0xb19c27[_0xd28036(0x527)][_0xd28036(0x4e7)](_0x5fc46a['take'](0x1))[_0xd28036(0x465)](()=>{var _0x313a99=_0xd28036;this[_0x313a99(0x417)](_0xb19c27);}),_0xb19c27['close$'][_0xd28036(0x4e7)](_0x5fc46a[_0xd28036(0x3c9)](0x1))[_0xd28036(0x465)](_0xa18f60=>{var _0xaa1459=_0xd28036;this['_logService'][_0xaa1459(0x2c2)](_0xaa1459(0x38c),'socket\x20close',_0xa18f60),this['_onConnectionFailed']();});}}catch(_0x1e81ae){this[_0xd28036(0x23f)][_0xd28036(0x455)](_0x1e81ae),this[_0xd28036(0x54a)]();}}['_onConnectionOpen'](_0x5ca0fe){var _0x5ee663=_0x4344df;this[_0x5ee663(0x23f)][_0x5ee663(0x2c2)]('[CollaborationSessionService]',_0x5ee663(0x4a0)),_0x5ca0fe[_0x5ee663(0x49f)]({'cmd':_0x217bab[_0x5ee663(0x36d)]}),this[_0x5ee663(0x541)]();}[_0x4344df(0x2fd)](){var _0x37d80a=_0x4344df;this[_0x37d80a(0x262)]=!0x1,this[_0x37d80a(0x36a)]=null,this[_0x37d80a(0x2e6)]['next'](_0x57d029['OFFLINE']),this[_0x37d80a(0x283)][_0x37d80a(0x34c)](null),this[_0x37d80a(0x3ad)](),this[_0x37d80a(0x4e9)]();}[_0x4344df(0x54a)](){var _0x29015e=_0x4344df,_0x549a8b;this[_0x29015e(0x2fd)](),this[_0x29015e(0x4a9)]<((_0x549a8b=this[_0x29015e(0x339)]['getConfig'](_0x13dd0e))!=null?_0x549a8b:0x3)?(this[_0x29015e(0x539)][_0x29015e(0x2df)]({'id':_0x219b80[_0x29015e(0x33f)]}),this['_tryReconnect']()):this[_0x29015e(0x539)][_0x29015e(0x2df)]({'id':_0x219b80['SOCKET_FAILED']});}[_0x4344df(0x209)](){var _0x3344d4=_0x4344df,_0x2e3aa8;const _0x3acfb6=this[_0x3344d4(0x4a9)],_0x3e5396=this[_0x3344d4(0x339)][_0x3344d4(0x54e)](_0x2fadd8),_0x2aca59=_0x3acfb6===0x0?0x0:((_0x2e3aa8=_0x3e5396==null?void 0x0:_0x3e5396[_0x3344d4(0x3aa)])!=null?_0x2e3aa8:0x4e20)*0x2**_0x3acfb6;this[_0x3344d4(0x228)]=setTimeout(()=>{var _0x39946b=_0x3344d4;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x39946b(0x47f)]();},_0x2aca59),this['_retryCount']+=0x1;}[_0x4344df(0x501)](_0x70e06,_0x3e667c){var _0x5ede6b=_0x4344df;const {cmd:_0x27b945}=_0x3e667c;_0x27b945===_0x217bab[_0x5ede6b(0x36d)]&&!this[_0x5ede6b(0x262)]&&(_0x70e06[_0x5ede6b(0x4f0)]=_0x3e667c[_0x5ede6b(0x3c5)][_0x5ede6b(0x4f0)],this[_0x5ede6b(0x283)][_0x5ede6b(0x34c)](_0x70e06),this[_0x5ede6b(0x2e6)][_0x5ede6b(0x34c)](_0x57d029['ONLINE']),this['_socketReady']=!0x0,this[_0x5ede6b(0x36a)]=null),_0x27b945===_0x217bab[_0x5ede6b(0x550)]&&this['_clearTimeoutTimer'](),this[_0x5ede6b(0x541)]();}[_0x4344df(0x541)](){var _0x51bf50=_0x4344df,_0x54ee7d;this[_0x51bf50(0x4e9)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x51bf50(0x406)](),(_0x54ee7d=this[_0x51bf50(0x339)][_0x51bf50(0x54e)](_0x5c19be))!=null?_0x54ee7d:0x7530);}['_sendHeartbeat'](){var _0x4ed970=_0x4344df;this[_0x4ed970(0x471)][_0x4ed970(0x49f)]({'cmd':_0x217bab[_0x4ed970(0x550)]}),this[_0x4ed970(0x207)]();}['_waitForHeartbeatResponse'](){var _0x16152e=_0x4344df,_0x2793b5;this['_timeoutTimer']=setTimeout(()=>this[_0x16152e(0x54a)](),(_0x2793b5=this[_0x16152e(0x339)][_0x16152e(0x54e)](_0x34a1b3))!=null?_0x2793b5:0x4e20);}[_0x4344df(0x4e9)](){var _0x180bd1=_0x4344df;this[_0x180bd1(0x4ea)]!=null&&(clearTimeout(this[_0x180bd1(0x4ea)]),this[_0x180bd1(0x4ea)]=null);}['_clearTimeoutTimer'](){var _0xcafd00=_0x4344df;this[_0xcafd00(0x3d4)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xcafd00(0x3d4)]=null);}},_0x54f6d5['CollaborationSessionService']=_0x4af3b4([_0x51fe20(0x0,_0x542f26[_0x4344df(0x4e2)](_0x542f26['Injector'])),_0x51fe20(0x1,_0x542f26['ILogService']),_0x51fe20(0x2,_0x542f26['IConfigService']),_0x51fe20(0x3,_0x61f379),_0x51fe20(0x4,_0x542f26[_0x4344df(0x4e2)](_0x50af23)),_0x51fe20(0x5,_0x542f26[_0x4344df(0x40a)](_0x1b233a))],_0x54f6d5[_0x4344df(0x2b0)]);const _0xbbdfbe=_0x542f26[_0x4344df(0x2b2)](_0x4344df(0x1fa));function _0x2fb637(_0x1ba03b){var _0x292644=_0x4344df;return _0x292644(0x2e4)+_0x1ba03b;}var _0x153575=Object[_0x4344df(0x3b9)],_0x5a4eca=(_0x1f3e3a,_0x16bc4b,_0x606b1c,_0x7c1a2e)=>{for(var _0x448441=_0x7c1a2e>0x1?void 0x0:_0x7c1a2e?_0x153575(_0x16bc4b,_0x606b1c):_0x16bc4b,_0x4a87aa=_0x1f3e3a['length']-0x1,_0x540616;_0x4a87aa>=0x0;_0x4a87aa--)(_0x540616=_0x1f3e3a[_0x4a87aa])&&(_0x448441=_0x540616(_0x448441)||_0x448441);return _0x448441;},_0x4399db=(_0x4a9148,_0x4241e9)=>(_0x489afb,_0x35c296)=>_0x4241e9(_0x489afb,_0x35c296,_0x4a9148);function _0x583e4c(_0x7ac649){var _0x2a13e3=_0x4344df;const {unitID:_0x151356,mutations:_0x1aa802}=_0x7ac649;return{'unitId':_0x151356,'subUnitId':_0x1aa802[0x0][_0x2a13e3(0x316)]['subUnitId']};}_0x54f6d5[_0x4344df(0x542)]=class{constructor(_0x181510,_0x655485,_0x16caa4){var _0x2069ae=_0x4344df;this[_0x2069ae(0x3f7)]=_0x181510,this[_0x2069ae(0x42c)]=_0x655485,this['_instanceService']=_0x16caa4;}['transformSelections'](_0x55c309){var _0x2bafe1=_0x4344df,_0x19d94c,_0x5cc972,_0x58f16f,_0x1b6a43;const _0x1ae13f=this[_0x2bafe1(0x3f7)]['get'](_0xcd20b2['SheetsSelectionsService']),{unitId:_0xb0d2b7,subUnitId:_0x50402b}=_0x583e4c(_0x55c309),_0x33ced5=_0x1ae13f==null?void 0x0:_0x1ae13f[_0x2bafe1(0x289)](_0xb0d2b7)[_0x2bafe1(0x2b6)](),_0x21bd0a=(_0x5cc972=(_0x19d94c=this[_0x2bafe1(0x2b1)][_0x2bafe1(0x28d)](_0xb0d2b7))==null?void 0x0:_0x19d94c[_0x2bafe1(0x23c)]())==null?void 0x0:_0x5cc972[_0x2bafe1(0x2fa)]();if(_0x33ced5[_0x2bafe1(0x373)]===0x0||!_0xb0d2b7||!_0x50402b)return;const _0x518821=[{'id':_0xcd20b2[_0x2bafe1(0x306)]['id'],'params':{'unitId':_0xb0d2b7,'subUnitId':_0x21bd0a,'selections':_0x542f26['Tools']['deepClone'](_0x33ced5)}}],_0x52b497=this['_transformService']['transformMutationsWithChangeset'](_0x55c309,_0x518821);if(!_0x3e6c27['isTransformMutationsWithChangesetSuccess'](_0x52b497))throw _0x52b497['error'];const _0x1e8239=(_0x1b6a43=(_0x58f16f=_0x52b497[_0x2bafe1(0x267)][0x0])==null?void 0x0:_0x58f16f[_0x2bafe1(0x316)])==null?void 0x0:_0x1b6a43[_0x2bafe1(0x4a6)];if(Array[_0x2bafe1(0x1f2)](_0x1e8239)&&_0x1e8239[_0x2bafe1(0x373)]){if(_0x1e8239[_0x2bafe1(0x373)]===_0x518821[0x0][_0x2bafe1(0x316)]['selections']['length']&&_0x1e8239['every']((_0x54f1a5,_0x229a25)=>_0x542f26[_0x2bafe1(0x51c)][_0x2bafe1(0x218)](_0x54f1a5[_0x2bafe1(0x556)],_0x518821[0x0]['params'][_0x2bafe1(0x4a6)][_0x229a25][_0x2bafe1(0x556)])))return;this[_0x2bafe1(0x3f7)][_0x2bafe1(0x421)](_0x542f26[_0x2bafe1(0x28a)])['executeCommand'](_0xcd20b2[_0x2bafe1(0x306)]['id'],{'unitId':_0xb0d2b7,'subUnitId':_0x21bd0a,'selections':_0x1e8239});}}},_0x54f6d5[_0x4344df(0x542)]=_0x5a4eca([_0x4399db(0x0,_0x542f26['Inject'](_0x542f26[_0x4344df(0x511)])),_0x4399db(0x1,_0x3e6c27['ITransformService']),_0x4399db(0x2,_0x542f26[_0x4344df(0x43b)])],_0x54f6d5['SheetTransformSelectionsService']);const _0x2ebaf9=_0x542f26['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x3f1f37=(_0x2130e7=>(_0x2130e7[_0x2130e7[_0x4344df(0x351)]=0x0]=_0x4344df(0x351),_0x2130e7[_0x2130e7[_0x4344df(0x2e9)]=0x1]=_0x4344df(0x2e9),_0x2130e7))(_0x3f1f37||{});const _0x13ec41=new Set([_0xcd20b2[_0x4344df(0x2c4)]['id']]);function _0x175f08(_0x422ec4,_0x1d2cac,_0xe228fc,_0x5b0ff7,_0x297ac0){var _0x2f9495=_0x4344df,_0x14dc9e,_0x194a9a,_0x15e4f8,_0x50b989;const _0x4a63ed=[];for(const _0x52e095 of _0x422ec4)if(_0x13ec41[_0x2f9495(0x329)](_0x52e095['id'])){if(_0x4a63ed[_0x2f9495(0x373)]>0x0)break;_0x4a63ed[_0x2f9495(0x21b)](_0x52e095);break;}else _0x4a63ed[_0x2f9495(0x21b)](_0x52e095);const _0x452064=(_0x194a9a=(_0x14dc9e=_0x297ac0[_0x2f9495(0x222)]())==null?void 0x0:_0x14dc9e['userID'])!=null?_0x194a9a:'unknown',_0x25060e=(_0x50b989=(_0x15e4f8=_0x297ac0['getCurrentUser']())==null?void 0x0:_0x15e4f8['memberID'])!=null?_0x50b989:_0x2f9495(0x565);return{'changeset':{'unitID':_0x1d2cac,'type':_0x3e6c27[_0x2f9495(0x318)](_0xe228fc[_0x2f9495(0x293)](_0x1d2cac)),'baseRev':_0x5b0ff7[_0x2f9495(0x1ee)](_0x1d2cac),'revision':0x0,'userID':_0x452064,'memberID':_0x25060e,'mutations':_0x4a63ed},'pendingMutations':_0x422ec4[_0x2f9495(0x295)](_0x4a63ed[_0x2f9495(0x373)])};}function _0x38488e(_0x214deb,_0x4e5e88,_0xa20240,_0x469aa0,_0x8478aa){var _0x50ed87=_0x4344df,_0x2893f9,_0x5d7469,_0xfcaf10,_0x3e0739;const _0x4631f2=[_0x214deb[_0x50ed87(0x4e8)]((_0x55c53d,_0x191926)=>{var _0x45676c=_0x50ed87,_0x2de296;const {id:_0x4b5dac}=_0x55c53d,{id:_0x4d60ac,type:_0x3a3a22}=_0x191926,_0x4b6026=(_0x2de296=_0x55c53d['params'])!=null?_0x2de296:{'actions':null},_0x20aba2=_0x191926['params'];if(_0x4b5dac&&_0x4b5dac!==_0x4d60ac)throw new Error(_0x45676c(0x378)+_0x4b5dac+_0x45676c(0x3f6)+_0x4d60ac+'.');return{..._0x55c53d,'id':_0x4d60ac,'type':_0x3a3a22,'params':{'unitId':_0x20aba2['unitId'],'textRanges':_0x20aba2['textRanges'],'actions':_0x542f26[_0x45676c(0x2de)]['compose'](_0x4b6026[_0x45676c(0x4cc)],_0x20aba2[_0x45676c(0x4cc)])}};},{})],_0x437697=(_0x5d7469=(_0x2893f9=_0x8478aa[_0x50ed87(0x222)]())==null?void 0x0:_0x2893f9[_0x50ed87(0x4ca)])!=null?_0x5d7469:_0x50ed87(0x565),_0xaf3664=(_0x3e0739=(_0xfcaf10=_0x8478aa[_0x50ed87(0x222)]())==null?void 0x0:_0xfcaf10[_0x50ed87(0x4f0)])!=null?_0x3e0739:_0x50ed87(0x565);return{'changeset':{'unitID':_0x4e5e88,'type':_0x3e6c27['mapDocumentTypeToUniverType'](_0xa20240['getUnitType'](_0x4e5e88)),'baseRev':_0x469aa0[_0x50ed87(0x1ee)](_0x4e5e88),'revision':0x0,'userID':_0x437697,'memberID':_0xaf3664,'mutations':_0x4631f2},'pendingMutations':[]};}function _0x4df20f(_0x249881,_0x312fb6){var _0x247136=_0x4344df;const _0x1629b2=new _0x157716['ReplaySubject'](0x1);return setTimeout(()=>_0x1629b2['next'](_0x312fb6),_0x249881),_0x1629b2['asObservable']()[_0x247136(0x4e7)](_0x157716[_0x247136(0x3c9)](0x1));}const _0x1d4168={'id':_0xcd20b2[_0x4344df(0x44f)]['id'],'type':_0x542f26[_0x4344df(0x292)][_0x4344df(0x432)],'params':{}};var _0x1f4e03=Object['getOwnPropertyDescriptor'],_0x4dcfa2=(_0x454027,_0x260f31,_0x22f62c,_0x1b83ca)=>{var _0x43ec06=_0x4344df;for(var _0x2e3c8a=_0x1b83ca>0x1?void 0x0:_0x1b83ca?_0x1f4e03(_0x260f31,_0x22f62c):_0x260f31,_0x1e9f72=_0x454027[_0x43ec06(0x373)]-0x1,_0x703c6;_0x1e9f72>=0x0;_0x1e9f72--)(_0x703c6=_0x454027[_0x1e9f72])&&(_0x2e3c8a=_0x703c6(_0x2e3c8a)||_0x2e3c8a);return _0x2e3c8a;},_0x2fe223=(_0x96bc1d,_0x5c98a5)=>(_0x5e6200,_0x1cbd88)=>_0x5c98a5(_0x5e6200,_0x1cbd88,_0x96bc1d),_0x2e0119=(_0x258247=>(_0x258247[_0x4344df(0x568)]=_0x4344df(0x37e),_0x258247[_0x4344df(0x37f)]=_0x4344df(0x20f),_0x258247[_0x4344df(0x224)]='pending',_0x258247[_0x4344df(0x398)]=_0x4344df(0x2ca),_0x258247[_0x4344df(0x3e2)]='awaiting_with_pending',_0x258247[_0x4344df(0x475)]=_0x4344df(0x44a),_0x258247[_0x4344df(0x49b)]=_0x4344df(0x4d3),_0x258247[_0x4344df(0x380)]=_0x4344df(0x3af),_0x258247))(_0x2e0119||{});const _0x545339=0xea60;class _0x11afa6{constructor(_0x488eaf,_0x181667,_0x4cdc88,_0x697fc,_0x3288b6,_0x3e8c5d,_0x1c8e4d,_0x39084b,_0xc51b00){var _0x932ed7=_0x4344df;_0x6d89e8(this,'_awaitingChangeset',null),_0x6d89e8(this,_0x932ed7(0x50b),[]),(this[_0x932ed7(0x3dd)]=_0x488eaf,this[_0x932ed7(0x529)]=_0x181667,this['_handler']=_0x3288b6,this[_0x932ed7(0x27d)]=_0x3e8c5d,this['_undoRedoService']=_0x1c8e4d,this['_revisionService']=_0x39084b,this[_0x932ed7(0x22c)]=_0xc51b00,this[_0x932ed7(0x567)]=_0x4cdc88,this[_0x932ed7(0x50b)]=_0x697fc);}[_0x4344df(0x4d0)](_0x4825f5){var _0x2ebbfa=_0x4344df;const _0x1bf6a4=this['_revisionService'][_0x2ebbfa(0x1ee)](this['unitID']);return _0x4825f5[_0x2ebbfa(0x320)]>_0x1bf6a4+0x1?(this[_0x2ebbfa(0x477)]['onMissingChangesets']({'from':_0x1bf6a4,'to':_0x4825f5[_0x2ebbfa(0x320)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x48c5f7){var _0x58b6ce=_0x4344df;this[_0x58b6ce(0x504)][_0x58b6ce(0x45a)](this['unitID'],_0x48c5f7);}['_transformSelections'](_0x56ab94){var _0x5c240a=_0x4344df,_0x36453f,_0x245388;(_0x245388=(_0x36453f=this[_0x5c240a(0x477)])[_0x5c240a(0x270)])==null||_0x245388[_0x5c240a(0x3d0)](_0x36453f,_0x56ab94);}['_transformIMECache'](_0x2e4ede){var _0xe5b685=_0x4344df,_0x55fcf7,_0x2b1e89;return(_0x2b1e89=(_0x55fcf7=this[_0xe5b685(0x477)])[_0xe5b685(0x23d)])==null?void 0x0:_0x2b1e89['call'](_0x55fcf7,_0x2e4ede);}[_0x4344df(0x414)](_0xa3f5b1){var _0x4a6798=_0x4344df,_0x37bd65,_0x365edf;return(_0x365edf=(_0x37bd65=this[_0x4a6798(0x477)])['onTransformState'])==null?void 0x0:_0x365edf['call'](_0x37bd65,_0xa3f5b1);}[_0x4344df(0x286)](_0x28ed93){var _0x3dfea2=_0x4344df,_0xaa9467,_0x87366d,_0xb40426;return(_0xb40426=(_0x87366d=(_0xaa9467=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x87366d[_0x3dfea2(0x3d0)](_0xaa9467,_0x28ed93))!=null?_0xb40426:_0x28ed93;}[_0x4344df(0x54b)](_0x5a8a09){var _0x5373c6=_0x4344df,_0x4e6cc2,_0x2e686a,_0x50e589;return(_0x50e589=(_0x2e686a=(_0x4e6cc2=this['_handler'])[_0x5373c6(0x514)])==null?void 0x0:_0x2e686a['call'](_0x4e6cc2,_0x5a8a09))!=null?_0x50e589:_0x5a8a09;}[_0x4344df(0x559)](_0x2bec24){var _0x5574aa=_0x4344df,_0x5bf3f3,_0x23a2df;if(this[_0x5574aa(0x529)]===_0x59d87f[_0x5574aa(0x210)]){const {unitID:_0x1605c6,mutations:_0x2b4e6a,memberID:_0x1968de}=_0x2bec24,_0x4b048e=_0x2b4e6a[0x0][_0x5574aa(0x316)][_0x5574aa(0x22b)];Array[_0x5574aa(0x1f2)](_0x4b048e)&&_0x4b048e['length']>0x0&&((_0x23a2df=(_0x5bf3f3=this['_handler'])[_0x5574aa(0x359)])==null||_0x23a2df[_0x5574aa(0x3d0)](_0x5bf3f3,{'unitID':_0x1605c6,'memberID':_0x1968de,'textRanges':_0x4b048e}));}}[_0x4344df(0x333)](){var _0x5f1be3=_0x4344df,_0x482636;(_0x482636=this[_0x5f1be3(0x22c)])==null||_0x482636['updateOfflineData'](this[_0x5f1be3(0x3dd)],this['type'],this['_awaitingChangeset'],this[_0x5f1be3(0x50b)]);}[_0x4344df(0x35e)](){var _0x264524=_0x4344df;return this[_0x264524(0x242)][_0x264524(0x1ee)](this['unitID']);}[_0x4344df(0x3b0)](){var _0x1cc8fd=_0x4344df;this['_revisionService'][_0x1cc8fd(0x517)](this[_0x1cc8fd(0x3dd)]);}[_0x4344df(0x42a)](_0x535c0a){var _0x3cfa6d=_0x4344df,_0x163941;let _0x47a329=this[_0x3cfa6d(0x286)](_0x535c0a);_0x47a329=this[_0x3cfa6d(0x54b)](_0x47a329);const _0x165bac=_0x542f26[_0x3cfa6d(0x3a1)](_0x47a329[_0x3cfa6d(0x2d4)],this[_0x3cfa6d(0x27d)],{'fromCollab':!0x0});if(!_0x165bac[_0x3cfa6d(0x41a)])throw _0x165bac[_0x3cfa6d(0x455)]instanceof Error?_0x165bac['error']:new Error((_0x163941=_0x165bac[_0x3cfa6d(0x455)])!=null?_0x163941:_0x3cfa6d(0x399));this['_transformIMECache'](_0x47a329),this[_0x3cfa6d(0x414)](_0x47a329),this[_0x3cfa6d(0x2e7)](_0x535c0a),this[_0x3cfa6d(0x4ed)](_0x47a329),this[_0x3cfa6d(0x559)](_0x47a329),this['_incrementRevisionNumber']();}}_0x54f6d5[_0x4344df(0x54c)]=class extends _0x11afa6{constructor(_0x4e667f,_0x6ee6be,_0x151c25,_0x125349,_0x55400c,_0x4cc0cb,_0x2680ca,_0x432550,_0x15abf1,_0x14c8ef){var _0x1944e0=_0x4344df;super(_0x4e667f,_0x6ee6be,null,[],_0x151c25,_0x2680ca,_0x4cc0cb,_0x125349,_0x14c8ef),_0x6d89e8(this,_0x1944e0(0x42b),_0x1944e0(0x20f)),(this[_0x1944e0(0x3f7)]=_0x55400c,this[_0x1944e0(0x23f)]=_0x432550,this[_0x1944e0(0x42c)]=_0x15abf1,this[_0x1944e0(0x39e)]=_0x14c8ef);}[_0x4344df(0x498)](_0x442df7){var _0x2b06f4=_0x4344df;const _0x136de2=this[_0x2b06f4(0x3f7)]['createInstance'](_0x54f6d5[_0x2b06f4(0x3e5)],this[_0x2b06f4(0x3dd)],this[_0x2b06f4(0x529)],[_0x442df7],this[_0x2b06f4(0x477)]);return _0x136de2[_0x2b06f4(0x413)](),_0x136de2[_0x2b06f4(0x333)](),_0x136de2;}[_0x4344df(0x332)](_0x52b220){var _0x544dc9=_0x4344df;if(this[_0x544dc9(0x4d0)](_0x52b220))return this[_0x544dc9(0x3f7)][_0x544dc9(0x43e)](_0x54f6d5['FetchingMissState'],this[_0x544dc9(0x3dd)],this[_0x544dc9(0x529)],null,[],null,[_0x52b220],this[_0x544dc9(0x477)]);try{const _0x51a0fa=this[_0x544dc9(0x42c)][_0x544dc9(0x52a)](_0x52b220,[_0x1d4168]);if(_0x3e6c27[_0x544dc9(0x279)](_0x51a0fa)){const {c1Prime:_0x2202e7}=_0x51a0fa;return this['_executeRemoteChangeset'](_0x2202e7),this;}throw _0x51a0fa[_0x544dc9(0x455)];}catch(_0x19948b){return this['_logService']['error'](_0x19948b),this[_0x544dc9(0x2ce)](!0x1);}}[_0x4344df(0x2ce)](_0x32fe62){var _0x4c0fe6=_0x4344df;return this[_0x4c0fe6(0x3f7)][_0x4c0fe6(0x43e)](_0x54f6d5[_0x4c0fe6(0x442)],this['unitID'],this[_0x4c0fe6(0x529)],null,[],this[_0x4c0fe6(0x477)],_0x32fe62);}[_0x4344df(0x42d)](){var _0x223a0b=_0x4344df;throw new Error(_0x223a0b(0x38d));}['onRemoteRej'](){var _0x3ccbd0=_0x4344df;throw new Error(_0x3ccbd0(0x298));}[_0x4344df(0x25b)](){return this;}[_0x4344df(0x4f8)](){var _0x8b8ce9=_0x4344df;return this[_0x8b8ce9(0x3f7)][_0x8b8ce9(0x43e)](_0x54f6d5['OfflineState'],this[_0x8b8ce9(0x3dd)],this[_0x8b8ce9(0x529)],null,[],this[_0x8b8ce9(0x477)]);}[_0x4344df(0x51e)](){return this;}[_0x4344df(0x336)](){var _0x55ecb7=_0x4344df;throw new Error(_0x55ecb7(0x4f6));}[_0x4344df(0x462)](){var _0x53a799=_0x4344df;const _0x57d64e=this[_0x53a799(0x242)][_0x53a799(0x1ee)](this['unitID']);return this[_0x53a799(0x477)][_0x53a799(0x21d)]({'from':_0x57d64e,'to':0x0}),this[_0x53a799(0x3f7)][_0x53a799(0x43e)](_0x54f6d5['FetchingMissState'],this[_0x53a799(0x3dd)],this[_0x53a799(0x529)],null,[],null,[],this[_0x53a799(0x477)]);}},_0x54f6d5[_0x4344df(0x54c)]=_0x4dcfa2([_0x2fe223(0x3,_0x542f26['Inject'](_0x3e6c27[_0x4344df(0x540)])),_0x2fe223(0x4,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x511)])),_0x2fe223(0x5,_0x542f26[_0x4344df(0x1ed)]),_0x2fe223(0x6,_0x542f26['ICommandService']),_0x2fe223(0x7,_0x542f26['ILogService']),_0x2fe223(0x8,_0x3e6c27[_0x4344df(0x3c0)]),_0x2fe223(0x9,_0x542f26[_0x4344df(0x40a)](_0xbbdfbe))],_0x54f6d5[_0x4344df(0x54c)]),_0x54f6d5[_0x4344df(0x3e5)]=class extends _0x11afa6{constructor(_0x2ebad8,_0x4c3d36,_0x46ff1b,_0x54da24,_0x3c87a0,_0x449c08,_0x10f5d2,_0x5007f9,_0x45161a,_0x311bad,_0xc4ed45,_0x2ed760,_0x53bd27,_0x231665){var _0x8c7de1=_0x4344df;super(_0x2ebad8,_0x4c3d36,null,_0x46ff1b,_0x54da24,_0x45161a,_0x53bd27,_0x449c08,_0x231665),_0x6d89e8(this,_0x8c7de1(0x42b),'pending'),_0x6d89e8(this,_0x8c7de1(0x3e9),null),_0x6d89e8(this,'_sendingTimer',null),(this[_0x8c7de1(0x3f7)]=_0x3c87a0,this[_0x8c7de1(0x545)]=_0x10f5d2,this['_logService']=_0x5007f9,this[_0x8c7de1(0x339)]=_0x311bad,this[_0x8c7de1(0x42c)]=_0xc4ed45,this[_0x8c7de1(0x3e6)]=_0x2ed760);}[_0x4344df(0x498)](_0x3599d8){var _0x3fee38=_0x4344df;return this[_0x3fee38(0x50b)]['push'](_0x3599d8),this[_0x3fee38(0x333)](),this;}[_0x4344df(0x332)](_0x20a446){var _0x5c0fe7=_0x4344df;if(this[_0x5c0fe7(0x4d0)](_0x20a446))return this[_0x5c0fe7(0x39a)](),this[_0x5c0fe7(0x3f7)]['createInstance'](_0x54f6d5[_0x5c0fe7(0x2c0)],this[_0x5c0fe7(0x3dd)],this[_0x5c0fe7(0x529)],null,this[_0x5c0fe7(0x50b)],null,[_0x20a446],this[_0x5c0fe7(0x477)]);try{const _0x567ea4=this['_transformService'][_0x5c0fe7(0x52a)](_0x20a446,this[_0x5c0fe7(0x50b)]);if(_0x3e6c27[_0x5c0fe7(0x279)](_0x567ea4)){const {c1Prime:_0x49f7b6,m2Prime:_0xfe2446}=_0x567ea4;this[_0x5c0fe7(0x42a)](_0x49f7b6);const _0x1ad705=this['_injector'][_0x5c0fe7(0x43e)](_0x54f6d5['PendingState'],this[_0x5c0fe7(0x3dd)],this[_0x5c0fe7(0x529)],_0xfe2446,this['_handler']);this['_clearScheduledTask']();const _0x555a51=new Date()['getTime'](),_0x5c4ea2=this[_0x5c0fe7(0x3e9)]?Math[_0x5c0fe7(0x1e8)](this['_scheduleCompleteTimestamp']-_0x555a51,0x0):this[_0x5c0fe7(0x505)]();return _0x1ad705['_schedule'](_0x5c4ea2),_0x1ad705;}throw _0x567ea4[_0x5c0fe7(0x455)];}catch(_0x1ca8a1){return this['_logService'][_0x5c0fe7(0x455)](_0x1ca8a1),this['_onConflict'](!0x1);}}[_0x4344df(0x42d)](){var _0x548553=_0x4344df;throw new Error(_0x548553(0x3bb));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x4344df(0x25b)](){return this;}[_0x4344df(0x4f8)](){var _0x7dca4f=_0x4344df;return this['_clearScheduledTask'](),this[_0x7dca4f(0x3f7)][_0x7dca4f(0x43e)](_0x54f6d5['OfflineState'],this[_0x7dca4f(0x3dd)],this[_0x7dca4f(0x529)],null,this[_0x7dca4f(0x50b)],this[_0x7dca4f(0x477)]);}[_0x4344df(0x51e)](){return this;}['_schedule'](_0x11322b){var _0x57dbcd=_0x4344df;const _0x2232c6=_0x11322b!=null?_0x11322b:this[_0x57dbcd(0x505)]();this[_0x57dbcd(0x3e9)]=new Date()['getTime']()+_0x2232c6,this['_sendingTimer']=setTimeout(()=>{var _0x43675d=_0x57dbcd;this[_0x43675d(0x39a)]();let _0x3d745f=null;switch(this[_0x43675d(0x529)]){case _0x59d87f['UNIVER_SHEET']:{_0x3d745f=_0x175f08(this[_0x43675d(0x50b)],this[_0x43675d(0x3dd)],this[_0x43675d(0x3e6)],this['_revisionService'],this[_0x43675d(0x545)]);break;}case _0x59d87f[_0x43675d(0x210)]:{this['_pendingMutations'][_0x43675d(0x352)](_0x14e659=>_0x14e659['id']===_0x379fe6[_0x43675d(0x4ef)]['id'])?_0x3d745f=_0x38488e(this[_0x43675d(0x50b)],this[_0x43675d(0x3dd)],this[_0x43675d(0x3e6)],this[_0x43675d(0x242)],this[_0x43675d(0x545)]):_0x3d745f=_0x175f08(this[_0x43675d(0x50b)],this[_0x43675d(0x3dd)],this['_univerInstanceService'],this[_0x43675d(0x242)],this[_0x43675d(0x545)]);break;}default:throw new Error(_0x43675d(0x463)+this[_0x43675d(0x529)]+_0x43675d(0x2f3));}const {changeset:_0x315929,pendingMutations:_0x36293f}=_0x3d745f;this[_0x43675d(0x477)][_0x43675d(0x2b4)](_0x315929);const _0x1d59ba=_0x36293f['length']?this['_injector'][_0x43675d(0x43e)](_0x54f6d5['AwaitingWithPendingState'],this[_0x43675d(0x3dd)],this[_0x43675d(0x529)],_0x315929,_0x36293f,this[_0x43675d(0x477)],void 0x0):this[_0x43675d(0x3f7)][_0x43675d(0x43e)](_0x54f6d5[_0x43675d(0x38e)],this[_0x43675d(0x3dd)],this[_0x43675d(0x529)],_0x315929,this[_0x43675d(0x477)]);_0x1d59ba[_0x43675d(0x333)](),this[_0x43675d(0x477)][_0x43675d(0x2d7)](this,_0x1d59ba);},_0x2232c6);}[_0x4344df(0x505)](){var _0x253ee5=_0x4344df,_0x29f984;const _0x35e714=this['_configService'][_0x253ee5(0x54e)](_0x2fadd8);return(_0x29f984=_0x35e714==null?void 0x0:_0x35e714[_0x253ee5(0x557)])!=null?_0x29f984:0x7d0;}[_0x4344df(0x336)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x96cfa=_0x4344df;this[_0x96cfa(0x467)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x96cfa(0x467)]=null);}[_0x4344df(0x2ce)](_0x296ed6){var _0x4efbf3=_0x4344df;return this[_0x4efbf3(0x39a)](),this[_0x4efbf3(0x3f7)][_0x4efbf3(0x43e)](_0x54f6d5[_0x4efbf3(0x442)],this['unitID'],this[_0x4efbf3(0x529)],null,this['_pendingMutations'],this['_handler'],_0x296ed6);}},_0x54f6d5['PendingState']=_0x4dcfa2([_0x2fe223(0x4,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x511)])),_0x2fe223(0x5,_0x542f26[_0x4344df(0x4e2)](_0x3e6c27[_0x4344df(0x540)])),_0x2fe223(0x6,_0x542f26[_0x4344df(0x4e2)](_0x54f6d5[_0x4344df(0x32f)])),_0x2fe223(0x7,_0x542f26[_0x4344df(0x2e8)]),_0x2fe223(0x8,_0x542f26['ICommandService']),_0x2fe223(0x9,_0x542f26['IConfigService']),_0x2fe223(0xa,_0x3e6c27[_0x4344df(0x3c0)]),_0x2fe223(0xb,_0x542f26[_0x4344df(0x43b)]),_0x2fe223(0xc,_0x542f26[_0x4344df(0x1ed)]),_0x2fe223(0xd,_0x542f26[_0x4344df(0x40a)](_0xbbdfbe))],_0x54f6d5[_0x4344df(0x3e5)]),_0x54f6d5[_0x4344df(0x38e)]=class extends _0x11afa6{constructor(_0x36b890,_0x17ba39,_0x3451b7,_0x405542,_0x2872be,_0x21d6df,_0x1aab3d,_0x329864,_0x3171a5,_0x40e3cb,_0xab1538){var _0x3bd08c=_0x4344df;super(_0x36b890,_0x17ba39,_0x3451b7,[],_0x405542,_0x1aab3d,_0x40e3cb,_0x21d6df,_0xab1538),_0x6d89e8(this,_0x3bd08c(0x42b),_0x3bd08c(0x2ca)),_0x6d89e8(this,_0x3bd08c(0x480),0x0),_0x6d89e8(this,_0x3bd08c(0x2cc)),_0x6d89e8(this,_0x3bd08c(0x216)),(this['_injector']=_0x2872be,this['_logService']=_0x329864,this[_0x3bd08c(0x42c)]=_0x3171a5);}['appendMutation'](_0x1127ee){var _0x318b42=_0x4344df;this[_0x318b42(0x39a)]();const _0xd5c28b=this[_0x318b42(0x3f7)][_0x318b42(0x43e)](_0x54f6d5[_0x318b42(0x35a)],this[_0x318b42(0x3dd)],this[_0x318b42(0x529)],this[_0x318b42(0x567)],[_0x1127ee],this['_handler'],this[_0x318b42(0x2cc)]);return _0xd5c28b[_0x318b42(0x333)](),_0xd5c28b;}[_0x4344df(0x332)](_0xdae63){var _0x3a6e49=_0x4344df;if(this['_checkMissing'](_0xdae63))return this[_0x3a6e49(0x39a)](),this[_0x3a6e49(0x3f7)]['createInstance'](_0x54f6d5[_0x3a6e49(0x2c0)],this[_0x3a6e49(0x3dd)],this[_0x3a6e49(0x529)],this[_0x3a6e49(0x567)],[],null,[_0xdae63],this[_0x3a6e49(0x477)]);try{const _0x4836ad=this['_transformService'][_0x3a6e49(0x53c)]([_0xdae63],[this[_0x3a6e49(0x567)]],!0x1);if(_0x3e6c27[_0x3a6e49(0x418)](_0x4836ad)){const {c1Prime:_0x440905,c2Prime:_0x266616}=_0x4836ad;this[_0x3a6e49(0x42a)](_0x440905[0x0]),_0x266616[0x0][_0x3a6e49(0x434)]=this[_0x3a6e49(0x35e)](),this[_0x3a6e49(0x39a)]();const _0x2dfec4=this[_0x3a6e49(0x3f7)][_0x3a6e49(0x43e)](_0x54f6d5['AwaitingState'],this[_0x3a6e49(0x3dd)],this['type'],_0x266616[0x0],this[_0x3a6e49(0x477)]);return _0x2dfec4[_0x3a6e49(0x333)](),_0x2dfec4;}return this['_onConflict'](!0x1);}catch(_0x47e697){return this[_0x3a6e49(0x23f)]['error'](_0x47e697),this[_0x3a6e49(0x2ce)](!0x1);}}[_0x4344df(0x42d)](_0x5d2df7){var _0x65bfd9=_0x4344df;this[_0x65bfd9(0x39a)]();const _0x22242f=this[_0x65bfd9(0x242)][_0x65bfd9(0x1ee)](this[_0x65bfd9(0x3dd)]);if(_0x5d2df7[_0x65bfd9(0x320)]<_0x22242f-0x1)return this;if(this[_0x65bfd9(0x4d0)](_0x5d2df7))return this[_0x65bfd9(0x3f7)]['createInstance'](_0x54f6d5[_0x65bfd9(0x2c0)],this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x65bfd9(0x477)]);this['_incrementRevisionNumber']();const _0x2d1f56=this[_0x65bfd9(0x3f7)][_0x65bfd9(0x43e)](_0x54f6d5[_0x65bfd9(0x54c)],this[_0x65bfd9(0x3dd)],this[_0x65bfd9(0x529)],this[_0x65bfd9(0x477)]);return _0x2d1f56[_0x65bfd9(0x333)](),_0x2d1f56;}[_0x4344df(0x364)](_0xe2835c){var _0x567a20=_0x4344df;return this[_0x567a20(0x2ce)](!!(_0xe2835c!=null&&_0xe2835c['isPermissionRej']));}['onRemoteRetry'](_0x5f1ef2){var _0x3094eb=_0x4344df;return this[_0x3094eb(0x480)]>_0x545339?this[_0x3094eb(0x4f8)]():(this[_0x3094eb(0x2cc)]=_0x4df20f(this[_0x3094eb(0x480)],{'timeout':this[_0x3094eb(0x480)],'reqId':_0x5f1ef2[_0x3094eb(0x31b)]}),this[_0x3094eb(0x216)]=this[_0x3094eb(0x2cc)]['subscribe'](({reqId:_0x410cac,timeout:_0x2ab130})=>{var _0x3cd35d=_0x3094eb;this[_0x3cd35d(0x384)](_0x410cac,_0x2ab130);}),this);}[_0x4344df(0x4f8)](){var _0x1f0658=_0x4344df;return this[_0x1f0658(0x39a)](),this[_0x1f0658(0x3f7)]['createInstance'](_0x54f6d5[_0x1f0658(0x2aa)],this[_0x1f0658(0x3dd)],this[_0x1f0658(0x529)],this[_0x1f0658(0x567)],[],this[_0x1f0658(0x477)]);}[_0x4344df(0x51e)](){return this;}[_0x4344df(0x336)](){var _0x2306c6=_0x4344df;this[_0x2306c6(0x477)][_0x2306c6(0x2b4)](this[_0x2306c6(0x567)]);}['_onConflict'](_0xa0cff1){var _0x4340eb=_0x4344df;return this[_0x4340eb(0x39a)](),this['_injector'][_0x4340eb(0x43e)](_0x54f6d5[_0x4340eb(0x442)],this['unitID'],this[_0x4340eb(0x529)],this['_awaitingChangeset'],[],this[_0x4340eb(0x477)],_0xa0cff1);}[_0x4344df(0x384)](_0x490ee9,_0x19185a){var _0x445b7f=_0x4344df,_0x11b41b;_0x490ee9===((_0x11b41b=this['_awaitingChangeset'])==null?void 0x0:_0x11b41b[_0x445b7f(0x31b)])&&(this[_0x445b7f(0x336)](),this[_0x445b7f(0x480)]=_0x19185a===0x0?0x3e8:_0x19185a*0x2);}['_clearScheduledTask'](){var _0x5bea96=_0x4344df,_0x3c7588;(_0x3c7588=this[_0x5bea96(0x216)])==null||_0x3c7588[_0x5bea96(0x30b)](),this[_0x5bea96(0x480)]=0x0;}},_0x54f6d5[_0x4344df(0x38e)]=_0x4dcfa2([_0x2fe223(0x4,_0x542f26[_0x4344df(0x4e2)](_0x542f26['Injector'])),_0x2fe223(0x5,_0x542f26['Inject'](_0x3e6c27[_0x4344df(0x540)])),_0x2fe223(0x6,_0x542f26[_0x4344df(0x28a)]),_0x2fe223(0x7,_0x542f26['ILogService']),_0x2fe223(0x8,_0x3e6c27[_0x4344df(0x3c0)]),_0x2fe223(0x9,_0x542f26[_0x4344df(0x1ed)]),_0x2fe223(0xa,_0x542f26['Optional'](_0xbbdfbe))],_0x54f6d5[_0x4344df(0x38e)]),_0x54f6d5[_0x4344df(0x35a)]=class extends _0x11afa6{constructor(_0x8b3d39,_0x59f7d4,_0x3f5be4,_0x4227e9,_0x56f6be,_0x5e4be9,_0x4dd909,_0x425f10,_0x529a06,_0x2e6194,_0x277e34,_0x2d7695,_0x351106){var _0x27c2f3=_0x4344df;super(_0x8b3d39,_0x59f7d4,_0x3f5be4,_0x4227e9,_0x56f6be,_0x529a06,_0x2d7695,_0x425f10,_0x351106),_0x6d89e8(this,'status','awaiting_with_pending'),_0x6d89e8(this,_0x27c2f3(0x480),0x0),_0x6d89e8(this,_0x27c2f3(0x2cc)),_0x6d89e8(this,'_sender'),(this[_0x27c2f3(0x3f7)]=_0x4dd909,this[_0x27c2f3(0x23f)]=_0x2e6194,this['_transformService']=_0x277e34,this[_0x27c2f3(0x39e)]=_0x351106,_0x5e4be9&&(this[_0x27c2f3(0x2cc)]=_0x5e4be9,this['_sender']=this[_0x27c2f3(0x2cc)][_0x27c2f3(0x465)](({reqId:_0x39581d,timeout:_0x69f09d})=>{this['_resendWithTimeout'](_0x39581d,_0x69f09d);})));}[_0x4344df(0x498)](_0x40fb00){var _0x29f134=_0x4344df;return this[_0x29f134(0x50b)][_0x29f134(0x21b)](_0x40fb00),this;}[_0x4344df(0x332)](_0x5ebc6a){var _0x14be10=_0x4344df;if(this[_0x14be10(0x4d0)](_0x5ebc6a))return this['_clearScheduledTask'](),this[_0x14be10(0x3f7)][_0x14be10(0x43e)](_0x54f6d5[_0x14be10(0x2c0)],this['unitID'],this[_0x14be10(0x529)],this[_0x14be10(0x567)],this[_0x14be10(0x50b)],null,[_0x5ebc6a],this[_0x14be10(0x477)]);try{const _0x1dab85=this[_0x14be10(0x42c)][_0x14be10(0x53c)]([_0x5ebc6a],[this[_0x14be10(0x567)]],!0x1);if(_0x3e6c27[_0x14be10(0x418)](_0x1dab85)){const {c1Prime:_0x52c2d8,c2Prime:_0x419fde}=_0x1dab85,_0x36a85f=this[_0x14be10(0x42c)][_0x14be10(0x52a)](_0x52c2d8[0x0],this[_0x14be10(0x50b)]);if(_0x3e6c27[_0x14be10(0x279)](_0x36a85f)){const {c1Prime:_0x5d3747,m2Prime:_0x311760}=_0x36a85f;return this[_0x14be10(0x42a)](_0x5d3747),_0x419fde[0x0][_0x14be10(0x434)]=this['_getCurrentRevision'](),this[_0x14be10(0x39a)](),this[_0x14be10(0x3f7)]['createInstance'](_0x54f6d5[_0x14be10(0x35a)],this[_0x14be10(0x3dd)],this[_0x14be10(0x529)],_0x419fde[0x0],_0x311760,this[_0x14be10(0x477)],void 0x0);}throw _0x36a85f[_0x14be10(0x455)];}throw _0x1dab85[_0x14be10(0x455)];}catch(_0x43e0c6){return this[_0x14be10(0x23f)]['error'](_0x43e0c6),this[_0x14be10(0x2ce)](!0x1);}}['onRemoteAck'](_0x1abd5f){var _0x11ce23=_0x4344df;if(this[_0x11ce23(0x39a)](),this[_0x11ce23(0x4d0)](_0x1abd5f))return this[_0x11ce23(0x3f7)][_0x11ce23(0x43e)](_0x54f6d5['FetchingMissState'],this[_0x11ce23(0x3dd)],this[_0x11ce23(0x529)],null,this[_0x11ce23(0x50b)],this[_0x11ce23(0x567)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x2f067a=this['_injector']['createInstance'](_0x54f6d5['PendingState'],this[_0x11ce23(0x3dd)],this[_0x11ce23(0x529)],this[_0x11ce23(0x50b)],this['_handler']);return _0x2f067a[_0x11ce23(0x413)](),_0x2f067a['_updateLocalCache'](),_0x2f067a;}[_0x4344df(0x364)](_0x3e7fd6){var _0xf38529=_0x4344df;return this[_0xf38529(0x2ce)](!!(_0x3e7fd6!=null&&_0x3e7fd6[_0xf38529(0x327)]));}['onRemoteRetry'](_0x1528b5){var _0x376034=_0x4344df;return this[_0x376034(0x480)]>_0x545339?this[_0x376034(0x4f8)]():(this[_0x376034(0x2cc)]=_0x4df20f(this[_0x376034(0x480)],{'timeout':this[_0x376034(0x480)],'reqId':_0x1528b5[_0x376034(0x31b)]}),this[_0x376034(0x216)]=this['_resendTimer'][_0x376034(0x465)](({reqId:_0x3f6011,timeout:_0x1b927c})=>{var _0x4dc349=_0x376034;this[_0x4dc349(0x384)](_0x3f6011,_0x1b927c);}),this);}['toggleOffline'](){var _0x3d577f=_0x4344df;return this[_0x3d577f(0x39a)](),this['_injector']['createInstance'](_0x54f6d5[_0x3d577f(0x2aa)],this['unitID'],this[_0x3d577f(0x529)],this[_0x3d577f(0x567)],this[_0x3d577f(0x50b)],this[_0x3d577f(0x477)]);}['toggleOnline'](){return this;}['resend'](){var _0x56ae4a=_0x4344df;this[_0x56ae4a(0x477)][_0x56ae4a(0x2b4)](this[_0x56ae4a(0x567)]);}[_0x4344df(0x2ce)](_0x4c8cb0){var _0x1d20b1=_0x4344df;return this[_0x1d20b1(0x39a)](),this[_0x1d20b1(0x3f7)][_0x1d20b1(0x43e)](_0x54f6d5[_0x1d20b1(0x442)],this[_0x1d20b1(0x3dd)],this['type'],null,this[_0x1d20b1(0x50b)],this['_handler'],_0x4c8cb0);}[_0x4344df(0x384)](_0x1db411,_0x104a8f){var _0x549c65=_0x4344df,_0x252726;_0x1db411===((_0x252726=this[_0x549c65(0x567)])==null?void 0x0:_0x252726[_0x549c65(0x31b)])&&(this[_0x549c65(0x336)](),this[_0x549c65(0x480)]=_0x104a8f===0x0?0x3e8:_0x104a8f*0x2);}[_0x4344df(0x39a)](){var _0x455ec3=_0x4344df,_0x36e3b2;(_0x36e3b2=this[_0x455ec3(0x216)])==null||_0x36e3b2[_0x455ec3(0x30b)](),this[_0x455ec3(0x480)]=0x0;}},_0x54f6d5[_0x4344df(0x35a)]=_0x4dcfa2([_0x2fe223(0x6,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x511)])),_0x2fe223(0x7,_0x542f26[_0x4344df(0x4e2)](_0x3e6c27[_0x4344df(0x540)])),_0x2fe223(0x8,_0x542f26[_0x4344df(0x28a)]),_0x2fe223(0x9,_0x542f26[_0x4344df(0x2e8)]),_0x2fe223(0xa,_0x3e6c27[_0x4344df(0x3c0)]),_0x2fe223(0xb,_0x542f26[_0x4344df(0x1ed)]),_0x2fe223(0xc,_0x542f26[_0x4344df(0x40a)](_0xbbdfbe))],_0x54f6d5[_0x4344df(0x35a)]),_0x54f6d5[_0x4344df(0x442)]=class extends _0x11afa6{constructor(_0x50c196,_0x475cc1,_0x44cac3,_0x27cf45,_0x54b737,_0x24d80d=!0x1,_0x4b39f5,_0x17c0e0,_0x37d74c,_0x353477,_0x3e0166,_0x442a8d,_0x174c77){var _0x487c24=_0x4344df;super(_0x50c196,_0x475cc1,_0x44cac3,_0x27cf45,_0x54b737,_0x17c0e0,_0x37d74c,_0x353477,_0x174c77),_0x6d89e8(this,_0x487c24(0x42b),_0x487c24(0x4d3)),(this[_0x487c24(0x456)]=_0x24d80d,this[_0x487c24(0x342)]=_0x4b39f5,this[_0x487c24(0x3c7)]=_0x3e0166,this[_0x487c24(0x539)]=_0x442a8d,this['localCacheService']=_0x174c77,this[_0x487c24(0x469)](),this[_0x487c24(0x247)](),this[_0x487c24(0x393)]());}['appendMutation'](){return this;}[_0x4344df(0x332)](){return this;}[_0x4344df(0x42d)](){return this;}[_0x4344df(0x364)](){return this;}[_0x4344df(0x25b)](){return this;}['toggleOffline'](){return this;}[_0x4344df(0x51e)](){return this;}[_0x4344df(0x336)](){var _0x274409=_0x4344df;throw new Error(_0x274409(0x305));}[_0x4344df(0x247)](){var _0x3669ae=_0x4344df,_0x47c730;(_0x47c730=this[_0x3669ae(0x22c)])==null||_0x47c730[_0x3669ae(0x502)](this[_0x3669ae(0x3dd)],this[_0x3669ae(0x529)],null,[]);}[_0x4344df(0x469)](){var _0x440722=_0x4344df;this[_0x440722(0x456)]?this['_collaborationUIEventService'][_0x440722(0x2df)]({'id':_0x219b80[_0x440722(0x2ef)]}):this['_collaborationUIEventService'][_0x440722(0x2df)]({'id':_0x219b80[_0x440722(0x49b)]});}[_0x4344df(0x393)](){var _0x16f7ae=_0x4344df;this['_permissionService'][_0x16f7ae(0x375)](new _0xcd20b2[(_0x16f7ae(0x4fd))](this[_0x16f7ae(0x3dd)])['id'],!0x1);}},_0x54f6d5[_0x4344df(0x442)]=_0x4dcfa2([_0x2fe223(0x6,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x46e)])),_0x2fe223(0x7,_0x542f26['ICommandService']),_0x2fe223(0x8,_0x542f26[_0x4344df(0x1ed)]),_0x2fe223(0x9,_0x542f26[_0x4344df(0x4e2)](_0x3e6c27[_0x4344df(0x540)])),_0x2fe223(0xa,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x225)])),_0x2fe223(0xb,_0x542f26[_0x4344df(0x4e2)](_0x50af23)),_0x2fe223(0xc,_0x542f26[_0x4344df(0x40a)](_0xbbdfbe))],_0x54f6d5[_0x4344df(0x442)]),_0x54f6d5[_0x4344df(0x2aa)]=class extends _0x11afa6{constructor(_0x3f63f1,_0x7467fd,_0x4a6771,_0x46c753,_0x4e1e34,_0x2de092,_0x197edb,_0x4a6f10,_0xa2c060,_0x43f194){var _0x28af4d=_0x4344df;super(_0x3f63f1,_0x7467fd,_0x4a6771,_0x46c753,_0x4e1e34,_0x4a6f10,_0xa2c060,_0x197edb,_0x43f194),_0x6d89e8(this,'status',_0x28af4d(0x3af)),this[_0x28af4d(0x3f7)]=_0x2de092;}[_0x4344df(0x498)](_0x230f8d){var _0x4571f6=_0x4344df;return this[_0x4571f6(0x50b)]['push'](_0x230f8d),this[_0x4571f6(0x333)](),this;}[_0x4344df(0x332)](_0x85efe6){var _0x5b7278=_0x4344df;throw new Error(_0x5b7278(0x552));}[_0x4344df(0x42d)](){var _0x132324=_0x4344df;throw new Error(_0x132324(0x408));}[_0x4344df(0x364)](){var _0x280102=_0x4344df;throw new Error(_0x280102(0x385));}[_0x4344df(0x25b)](){return this;}[_0x4344df(0x4f8)](){return this;}['toggleOnline'](){var _0x2afc7b=_0x4344df;const {_injector:_0x4f4407,_pendingMutations:_0x1115c0,_awaitingChangeset:_0x25f45a,unitID:_0x3ccb5d,_handler:_0x14b751,type:_0x3c2093}=this,_0x437dab=_0x1202a9(_0x4f4407,_0x3ccb5d,_0x3c2093,_0x25f45a,_0x1115c0,_0x14b751);return _0x437dab instanceof _0x54f6d5[_0x2afc7b(0x3e5)]?_0x437dab[_0x2afc7b(0x413)]():(_0x437dab instanceof _0x54f6d5[_0x2afc7b(0x35a)]||_0x437dab instanceof _0x54f6d5['AwaitingState'])&&_0x437dab['resend'](),_0x437dab;}[_0x4344df(0x336)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x54f6d5['OfflineState']=_0x4dcfa2([_0x2fe223(0x5,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x511)])),_0x2fe223(0x6,_0x542f26[_0x4344df(0x4e2)](_0x3e6c27['RevisionService'])),_0x2fe223(0x7,_0x542f26['ICommandService']),_0x2fe223(0x8,_0x542f26[_0x4344df(0x1ed)]),_0x2fe223(0x9,_0x542f26[_0x4344df(0x40a)](_0xbbdfbe))],_0x54f6d5[_0x4344df(0x2aa)]),_0x54f6d5[_0x4344df(0x2c0)]=class extends _0x11afa6{constructor(_0x27df74,_0x368477,_0x19666a,_0x58e473,_0xf1c557,_0x34e407,_0x3c10ea,_0x3cd782,_0x27f4ed,_0x2e04d0,_0x56de27,_0x2caa95,_0x219431,_0x1bac76){var _0x3f92d8=_0x4344df;super(_0x27df74,_0x368477,_0x19666a,_0x58e473,_0x3c10ea,_0x56de27,_0x2caa95,_0x27f4ed,_0x1bac76),_0x6d89e8(this,'status',_0x3f92d8(0x44a)),(this['_acknowledgedAwaitingChangeset']=_0xf1c557,this['_queuedRemoteChangesets']=_0x34e407,this[_0x3f92d8(0x3f7)]=_0x3cd782,this[_0x3f92d8(0x23f)]=_0x2e04d0,this[_0x3f92d8(0x42c)]=_0x219431,this['localCacheService']=_0x1bac76);}[_0x4344df(0x2ff)](_0x2dd47e){var _0x259293=_0x4344df;try{const _0x3bb63b=[..._0x2dd47e,...this[_0x259293(0x3ed)]],_0xe89559=[this['_awaitingChangeset']||this[_0x259293(0x31d)]]['filter'](_0x3973e7=>!!_0x3973e7);let _0x2f95b4,_0x14920f;if(_0xe89559[_0x259293(0x373)]){const _0x2c280d=this['_transformService'][_0x259293(0x53c)](_0x3bb63b,_0xe89559,!0x1);if(!_0x3e6c27['isTransformChangesetsSuccess'](_0x2c280d))throw _0x2c280d[_0x259293(0x455)];_0x2f95b4=_0x2c280d[_0x259293(0x1e7)],_0x14920f=_0x2c280d[_0x259293(0x2d6)];}else _0x2f95b4=_0x3bb63b,_0x14920f=[];let _0x15faf0=this[_0x259293(0x50b)];_0x2f95b4[_0x259293(0x4e3)](_0x246429=>{var _0x399a3b=_0x259293;let _0xee3663;if(_0x15faf0[_0x399a3b(0x373)]){const _0x209974=this[_0x399a3b(0x42c)][_0x399a3b(0x52a)](_0x246429,_0x15faf0);if(!_0x3e6c27['isTransformMutationsWithChangesetSuccess'](_0x209974))throw _0x209974[_0x399a3b(0x455)];_0xee3663=_0x209974[_0x399a3b(0x1e7)],_0x15faf0=_0x209974['m2Prime'];}else _0xee3663=_0x246429;this['_executeRemoteChangeset'](_0xee3663);}),this[_0x259293(0x31d)]&&this[_0x259293(0x3b0)](),this[_0x259293(0x567)]&&_0x14920f[_0x259293(0x373)]&&(_0x14920f[0x0][_0x259293(0x434)]=this['_getCurrentRevision']());let _0x51135f;if(this[_0x259293(0x567)]&&_0x15faf0[_0x259293(0x373)]!==0x0)_0x51135f=this[_0x259293(0x3f7)][_0x259293(0x43e)](_0x54f6d5['AwaitingWithPendingState'],this[_0x259293(0x3dd)],this['type'],_0x14920f[0x0],_0x15faf0,this[_0x259293(0x477)],void 0x0);else{if(this[_0x259293(0x567)]&&_0x15faf0[_0x259293(0x373)]===0x0)_0x14920f[0x0][_0x259293(0x434)]=this[_0x259293(0x35e)](),_0x51135f=this['_injector'][_0x259293(0x43e)](_0x54f6d5[_0x259293(0x38e)],this[_0x259293(0x3dd)],this[_0x259293(0x529)],_0x14920f[0x0],this[_0x259293(0x477)]);else{if(_0x15faf0[_0x259293(0x373)]!==0x0){const _0x2ab76e=this[_0x259293(0x3f7)]['createInstance'](_0x54f6d5[_0x259293(0x3e5)],this[_0x259293(0x3dd)],this[_0x259293(0x529)],_0x15faf0,this['_handler']);_0x2ab76e[_0x259293(0x413)](),_0x51135f=_0x2ab76e;}else _0x51135f=this[_0x259293(0x3f7)][_0x259293(0x43e)](_0x54f6d5[_0x259293(0x54c)],this[_0x259293(0x3dd)],this[_0x259293(0x529)],this['_handler']);}}return _0x51135f['_updateLocalCache'](),_0x51135f;}catch(_0x316a27){return this['_logService']['error'](_0x259293(0x3b3),_0x259293(0x203),_0x316a27),this[_0x259293(0x3f7)][_0x259293(0x43e)](_0x54f6d5[_0x259293(0x442)],this['unitID'],this['type'],this[_0x259293(0x567)],this[_0x259293(0x50b)],this[_0x259293(0x477)],!0x1);}}[_0x4344df(0x336)](){var _0x31dc66=_0x4344df;throw new Error(_0x31dc66(0x1e1));}[_0x4344df(0x498)](_0x55149f){var _0x526f43=_0x4344df;return this[_0x526f43(0x50b)][_0x526f43(0x21b)](_0x55149f),this;}['onRemoteChangeset'](_0x49aba0){var _0x542bc4=_0x4344df;return this[_0x542bc4(0x3ed)][_0x542bc4(0x21b)](_0x49aba0),this;}[_0x4344df(0x42d)](_0x4fc9a4){var _0x17484b=_0x4344df;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x17484b(0x567)],this[_0x17484b(0x567)]=null,this;throw new Error(_0x17484b(0x2c5));}[_0x4344df(0x364)](_0x2672f0){var _0x3dd30e=_0x4344df;return this[_0x3dd30e(0x2ce)](!!(_0x2672f0!=null&&_0x2672f0[_0x3dd30e(0x327)]));}[_0x4344df(0x25b)](){return this;}[_0x4344df(0x4f8)](){var _0x1059bf=_0x4344df;return this['_injector']['createInstance'](_0x54f6d5[_0x1059bf(0x2aa)],this[_0x1059bf(0x3dd)],this[_0x1059bf(0x529)],this[_0x1059bf(0x567)],this[_0x1059bf(0x50b)],this[_0x1059bf(0x477)]);}[_0x4344df(0x51e)](){return this;}[_0x4344df(0x2ce)](_0x277e22){var _0x22d5e6=_0x4344df;return this[_0x22d5e6(0x3f7)][_0x22d5e6(0x43e)](_0x54f6d5[_0x22d5e6(0x442)],this[_0x22d5e6(0x3dd)],this['type'],this[_0x22d5e6(0x567)],this[_0x22d5e6(0x50b)],this[_0x22d5e6(0x477)],_0x277e22);}},_0x54f6d5[_0x4344df(0x2c0)]=_0x4dcfa2([_0x2fe223(0x7,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x511)])),_0x2fe223(0x8,_0x542f26[_0x4344df(0x4e2)](_0x3e6c27[_0x4344df(0x540)])),_0x2fe223(0x9,_0x542f26[_0x4344df(0x2e8)]),_0x2fe223(0xa,_0x542f26[_0x4344df(0x28a)]),_0x2fe223(0xb,_0x542f26['IUndoRedoService']),_0x2fe223(0xc,_0x3e6c27[_0x4344df(0x3c0)]),_0x2fe223(0xd,_0x542f26[_0x4344df(0x40a)](_0xbbdfbe))],_0x54f6d5['FetchingMissState']);function _0x1202a9(_0x387d32,_0x29d8cd,_0x32a665,_0x1e3b16,_0xc7befc,_0x46ab23){var _0x533fa0=_0x4344df;return _0x1e3b16&&_0xc7befc[_0x533fa0(0x373)]?_0x387d32['createInstance'](_0x54f6d5[_0x533fa0(0x35a)],_0x29d8cd,_0x32a665,_0x1e3b16,_0xc7befc,_0x46ab23,void 0x0):_0x1e3b16?_0x387d32[_0x533fa0(0x43e)](_0x54f6d5[_0x533fa0(0x38e)],_0x29d8cd,_0x32a665,_0x1e3b16,_0x46ab23):_0xc7befc[_0x533fa0(0x373)]?_0x387d32[_0x533fa0(0x43e)](_0x54f6d5[_0x533fa0(0x3e5)],_0x29d8cd,_0x32a665,_0xc7befc,_0x46ab23):_0x387d32[_0x533fa0(0x43e)](_0x54f6d5[_0x533fa0(0x54c)],_0x29d8cd,_0x32a665,_0x46ab23);}var _0x24405b=Object[_0x4344df(0x3b9)],_0x9e7117=(_0x4d2671,_0x196f76,_0x3774a8,_0x230545)=>{var _0x2d460e=_0x4344df;for(var _0x4a4638=_0x230545>0x1?void 0x0:_0x230545?_0x24405b(_0x196f76,_0x3774a8):_0x196f76,_0x408c81=_0x4d2671[_0x2d460e(0x373)]-0x1,_0x3086aa;_0x408c81>=0x0;_0x408c81--)(_0x3086aa=_0x4d2671[_0x408c81])&&(_0x4a4638=_0x3086aa(_0x4a4638)||_0x4a4638);return _0x4a4638;},_0x1714d6=(_0x437899,_0xf26cf0)=>(_0x2d1fd0,_0xc8deb2)=>_0xf26cf0(_0x2d1fd0,_0xc8deb2,_0x437899);_0x54f6d5[_0x4344df(0x3b7)]=class extends _0x542f26[_0x4344df(0x2ba)]{constructor(_0x2432e1,_0x358ce9,_0x232cee,_0x49a60d,_0x1e2e59,_0x452525,_0x49da00,_0x307658,_0x24fffa,_0x36bad7,_0x3ee23e,_0x1e2029,_0x44b6af){var _0x29775d=_0x4344df;super(),_0x6d89e8(this,_0x29775d(0x2d1),new _0x157716[(_0x29775d(0x2d0))](null)),_0x6d89e8(this,_0x29775d(0x353),this[_0x29775d(0x2d1)]['asObservable']()),_0x6d89e8(this,_0x29775d(0x382)),_0x6d89e8(this,_0x29775d(0x26b),!0x1),_0x6d89e8(this,_0x29775d(0x41c),''),_0x6d89e8(this,_0x29775d(0x3a0),0x0),_0x6d89e8(this,_0x29775d(0x29e),this[_0x29775d(0x353)]['pipe'](_0x157716[_0x29775d(0x443)](_0x1e92d3=>_0x1e92d3?_0x1e92d3['status']:_0x2e0119[_0x29775d(0x380)]),_0x157716[_0x29775d(0x561)](0x1))),_0x6d89e8(this,'_transitionLocked',!0x1),_0x6d89e8(this,_0x29775d(0x24b),[]),(this[_0x29775d(0x3dd)]=_0x2432e1,this['session']=_0x358ce9,this['_type']=_0x232cee,this[_0x29775d(0x3f7)]=_0x49a60d,this[_0x29775d(0x29f)]=_0x1e2e59,this['_localeService']=_0x452525,this[_0x29775d(0x242)]=_0x49da00,this[_0x29775d(0x2e2)]=_0x307658,this['_logService']=_0x24fffa,this[_0x29775d(0x27d)]=_0x36bad7,this[_0x29775d(0x342)]=_0x3ee23e,this[_0x29775d(0x32c)]=_0x1e2029,this[_0x29775d(0x22c)]=_0x44b6af);}get['state'](){var _0x5a4a3d=_0x4344df;return this[_0x5a4a3d(0x382)];}async[_0x4344df(0x4f3)](){var _0x34d4d4=_0x4344df;if(this[_0x34d4d4(0x340)])throw new Error(_0x34d4d4(0x2ae));await this[_0x34d4d4(0x4a7)]();}[_0x4344df(0x2ee)](){var _0x546121=_0x4344df;return this[_0x546121(0x26b)]=!0x0,_0x542f26[_0x546121(0x324)](()=>{var _0x45914b=_0x546121;this[_0x45914b(0x26b)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0xc13846){var _0x19ee75=_0x4344df;this[_0x19ee75(0x368)](_0xc13846);}[_0x4344df(0x36c)](_0x49abc9){var _0x351638=_0x4344df;this['_state']=_0x49abc9,this[_0x351638(0x2d1)][_0x351638(0x34c)](_0x49abc9);}async[_0x4344df(0x4a7)](){var _0x5c7a47=_0x4344df,_0x3393fe;this[_0x5c7a47(0x36c)](await this[_0x5c7a47(0x315)]()),this[_0x5c7a47(0x32c)]&&((_0x3393fe=this[_0x5c7a47(0x32c)])==null||_0x3393fe[_0x5c7a47(0x291)](this[_0x5c7a47(0x3dd)]),this[_0x5c7a47(0x4c0)](this['_singleActiveUnitService'][_0x5c7a47(0x412)](this[_0x5c7a47(0x3dd)])[_0x5c7a47(0x465)](_0x26fa15=>{var _0x22bff9=_0x5c7a47;this[_0x22bff9(0x23f)][_0x22bff9(0x2c2)](_0x22bff9(0x4ce),_0x22bff9(0x254),_0x26fa15),_0x26fa15===_0x3f1f37[_0x22bff9(0x2e9)]?(this[_0x22bff9(0x2e2)][_0x22bff9(0x2df)]({'id':_0x219b80[_0x22bff9(0x3be)]}),this[_0x22bff9(0x342)][_0x22bff9(0x375)](new _0xcd20b2[(_0x22bff9(0x4fd))](this[_0x22bff9(0x3dd)])['id'],!0x1),this[_0x22bff9(0x342)][_0x22bff9(0x554)](!0x1)):(this[_0x22bff9(0x342)]['updatePermissionPoint'](new _0xcd20b2['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x22bff9(0x342)][_0x22bff9(0x554)](!0x0));})));let _0x2bfa55=!0x1;return this[_0x5c7a47(0x4c0)](this[_0x5c7a47(0x302)][_0x5c7a47(0x241)][_0x5c7a47(0x465)](_0xd126d3=>{var _0xad88ec=_0x5c7a47;_0xd126d3===_0x57d029[_0xad88ec(0x348)]?this[_0xad88ec(0x44d)](_0x2bfa55):_0xd126d3===_0x57d029[_0xad88ec(0x380)]&&(_0x2bfa55=!0x0,this[_0xad88ec(0x3f9)]());})),this['disposeWithMe'](this[_0x5c7a47(0x302)][_0x5c7a47(0x4b7)][_0x5c7a47(0x465)](_0x4ed733=>{var _0x158421=_0x5c7a47;try{switch(_0x4ed733[_0x158421(0x37c)]){case _0x3e6c27[_0x158421(0x524)][_0x158421(0x3e4)]:{this['_onRemoteChangeset'](_0x3e6c27[_0x158421(0x309)](_0x4ed733[_0x158421(0x3c5)]));break;}case _0x3e6c27[_0x158421(0x524)][_0x158421(0x489)]:{this[_0x158421(0x31e)](_0x4ed733['data']);break;}case _0x3e6c27[_0x158421(0x524)][_0x158421(0x367)]:{this[_0x158421(0x334)]();break;}case _0x3e6c27[_0x158421(0x524)]['CHANGESET_SHOULD_RETRY']:{this[_0x158421(0x520)](_0x4ed733['data']);break;}case _0x3e6c27[_0x158421(0x524)][_0x158421(0x202)]:{this['_onFetchMissResult'](_0x4ed733[_0x158421(0x3c5)][_0x158421(0x2f6)]['map'](_0x298d8a=>_0x3e6c27[_0x158421(0x309)](_0x298d8a)));break;}case _0x3e6c27['CollaborationEvent']['PERMISSION_REJ']:{this[_0x158421(0x334)]({'isPermissionRej':!0x0});break;}case _0x3e6c27[_0x158421(0x524)][_0x158421(0x358)]:break;}}catch(_0x635ffb){throw console[_0x158421(0x455)](_0x158421(0x50a),_0x635ffb),_0x635ffb;}})),this['_state'];}[_0x4344df(0x312)](){this['_transitionLocked']=!0x1;}[_0x4344df(0x503)](){var _0x5075bc=_0x4344df;if(this['_transitionLocked'])throw new Error(_0x5075bc(0x363));this[_0x5075bc(0x33d)]=!0x0;}[_0x4344df(0x368)](_0x11cff5){var _0x39455f=_0x4344df;this[_0x39455f(0x503)](),this[_0x39455f(0x36c)](this['_state'][_0x39455f(0x498)](_0x11cff5)),this[_0x39455f(0x312)]();}[_0x4344df(0x439)](_0x28cbe7){var _0xc17d42=_0x4344df;if(!(_0x28cbe7[_0xc17d42(0x320)]<=this['_revisionService'][_0xc17d42(0x1ee)](this[_0xc17d42(0x3dd)]))){if(this['_collaborationPaused']){this[_0xc17d42(0x24b)][_0xc17d42(0x21b)](_0x28cbe7);return;}this[_0xc17d42(0x3ae)](_0x28cbe7);}}[_0x4344df(0x41f)](){var _0x374e17=_0x4344df;this[_0x374e17(0x24b)]['forEach'](_0x381e4f=>this[_0x374e17(0x3ae)](_0x381e4f)),this[_0x374e17(0x24b)]=[];}[_0x4344df(0x3ae)](_0x3246b9){var _0x29eb2f=_0x4344df;const _0x39b7f3=this['_compressMutationService'][_0x29eb2f(0x1e4)][_0x29eb2f(0x4b6)](this['_compressMutationService'][_0x29eb2f(0x1e4)][_0x29eb2f(0x383)]()[_0x29eb2f(0x344)])(_0x3246b9[_0x29eb2f(0x2d4)],null)||_0x3246b9[_0x29eb2f(0x2d4)],_0x32459c={..._0x3246b9,'mutations':_0x39b7f3};this[_0x29eb2f(0x503)](),this[_0x29eb2f(0x36c)](this[_0x29eb2f(0x382)]['onRemoteChangeset'](_0x32459c)),this[_0x29eb2f(0x312)]();}[_0x4344df(0x31e)](_0xed9bc8){var _0xb15304=_0x4344df;this[_0xb15304(0x503)](),this[_0xb15304(0x36c)](this[_0xb15304(0x382)][_0xb15304(0x42d)](_0xed9bc8)),this[_0xb15304(0x312)]();}[_0x4344df(0x334)](_0x35ea5b){var _0x4fa171=_0x4344df;this['_lockTransition'](),this['_updateState'](this[_0x4fa171(0x382)][_0x4fa171(0x364)](_0x35ea5b)),this[_0x4fa171(0x312)]();}[_0x4344df(0x520)](_0x5bfbf8){var _0x24bf3e=_0x4344df;this[_0x24bf3e(0x503)](),this[_0x24bf3e(0x36c)](this[_0x24bf3e(0x382)][_0x24bf3e(0x25b)](_0x5bfbf8)),this[_0x24bf3e(0x312)]();}[_0x4344df(0x4e5)](_0x31e0f9){var _0x5104b5=_0x4344df;if(!(this[_0x5104b5(0x382)]instanceof _0x54f6d5['FetchingMissState']))throw new TypeError(_0x5104b5(0x22e));const _0x534be6=_0x31e0f9[_0x5104b5(0x443)](_0x18e2a4=>{var _0x1f4011=_0x5104b5;const _0x35c1a7=this[_0x1f4011(0x29f)]['interceptor'][_0x1f4011(0x4b6)](this[_0x1f4011(0x29f)][_0x1f4011(0x1e4)]['getInterceptPoints']()[_0x1f4011(0x344)])(_0x18e2a4[_0x1f4011(0x2d4)],null)||_0x18e2a4[_0x1f4011(0x2d4)];return{..._0x18e2a4,'mutations':_0x35c1a7};});this[_0x5104b5(0x503)](),this['_updateState'](this[_0x5104b5(0x382)][_0x5104b5(0x2ff)](_0x534be6)),this['_unlockTransition']();}[_0x4344df(0x3f9)](){var _0x5100e8=_0x4344df;this['_lockTransition'](),this[_0x5100e8(0x36c)](this[_0x5100e8(0x382)][_0x5100e8(0x4f8)]()),this[_0x5100e8(0x312)]();}[_0x4344df(0x44d)](_0x38c932=!0x1){var _0x481893=_0x4344df;this[_0x481893(0x503)](),this[_0x481893(0x36c)](this[_0x481893(0x382)][_0x481893(0x51e)]()),this[_0x481893(0x312)]();const _0x4cbf33=this[_0x481893(0x382)];_0x38c932&&_0x4cbf33 instanceof _0x54f6d5[_0x481893(0x54c)]&&(this[_0x481893(0x503)](),this['_updateState'](_0x4cbf33[_0x481893(0x462)]()),this[_0x481893(0x312)]());}async[_0x4344df(0x315)](){return new Promise(_0x3a8d66=>{var _0x190bbe=_0x47b6;this[_0x190bbe(0x302)][_0x190bbe(0x241)][_0x190bbe(0x4e7)](_0x157716[_0x190bbe(0x3c9)](0x1))[_0x190bbe(0x465)](async _0x3f2116=>{var _0x1ba6b3=_0x190bbe;_0x3a8d66(await this['_createInitialStateImpl'](_0x3f2116===_0x57d029[_0x1ba6b3(0x348)]));});});}[_0x4344df(0x31c)](){var _0x293d95=_0x4344df;const _0x4ff1e9=this[_0x293d95(0x3dd)];return{'onStateChange':(_0x17cebb,_0x188142)=>{var _0x2d3d23=_0x293d95;if(_0x17cebb!==this['_state'])throw new Error(_0x2d3d23(0x1d5)+_0x17cebb[_0x2d3d23(0x42b)]+_0x2d3d23(0x53d)+_0x188142[_0x2d3d23(0x42b)]+_0x2d3d23(0x48a)+this[_0x2d3d23(0x382)]['status']);this[_0x2d3d23(0x36c)](_0x188142);},'onSendChangeset':_0x1b11e0=>{var _0x3db9d2=_0x293d95;_0x1b11e0[_0x3db9d2(0x52c)]||(_0x1b11e0[_0x3db9d2(0x52c)]=this[_0x3db9d2(0x41c)],_0x1b11e0[_0x3db9d2(0x31b)]=++this[_0x3db9d2(0x3a0)]);const _0x47c819={'eventID':_0x3e6c27[_0x3db9d2(0x524)][_0x3db9d2(0x21c)],'data':{'unitID':_0x1b11e0[_0x3db9d2(0x3dd)],'unitType':this['_type'],'changeset':_0x1b11e0,'memberID':this[_0x3db9d2(0x302)][_0x3db9d2(0x38b)]()}};this[_0x3db9d2(0x302)][_0x3db9d2(0x49f)](_0x47c819,this[_0x3db9d2(0x3dd)]);},'onMissingChangesets':({from:_0x538295,to:_0x5d83f1})=>{var _0xe5dbe6=_0x293d95;this[_0xe5dbe6(0x23f)][_0xe5dbe6(0x2c2)]('[CollaborationEntity]',_0xe5dbe6(0x28b)+_0x538295+_0xe5dbe6(0x24c)+_0x5d83f1);const _0x14c0e8={'eventID':_0x3e6c27['CollaborationEvent'][_0xe5dbe6(0x40d)],'data':{'unitID':_0x4ff1e9,'unitType':this['_type'],'from':_0x538295,'to':_0x5d83f1}};this['session']['send'](_0x14c0e8,this[_0xe5dbe6(0x3dd)]);}};}async[_0x4344df(0x2e1)](_0x1cd751){var _0x5329b5=_0x4344df,_0x4f73cf,_0x46b8f3,_0x2d2a1f;const _0xaea229=await((_0x4f73cf=this[_0x5329b5(0x22c)])==null?void 0x0:_0x4f73cf[_0x5329b5(0x48d)](this[_0x5329b5(0x3dd)])),_0x2c04ba=(_0x46b8f3=_0xaea229==null?void 0x0:_0xaea229[_0x5329b5(0x2d4)])!=null?_0x46b8f3:[],_0xf500ea=(_0x2d2a1f=_0xaea229==null?void 0x0:_0xaea229[_0x5329b5(0x268)])!=null?_0x2d2a1f:null,_0x564297=!!(_0xf500ea!=null&&_0xf500ea[_0x5329b5(0x52c)])&&!!(_0xf500ea!=null&&_0xf500ea['reqId']);this[_0x5329b5(0x41c)]=_0x564297?_0xf500ea[_0x5329b5(0x52c)]:_0x3e6c27['uuidv4'](),this['_changesetReqId']=_0x564297?_0xf500ea[_0x5329b5(0x31b)]:0x0;const _0x5c2acf=this[_0x5329b5(0x3dd)];try{this[_0x5329b5(0x249)](_0xf500ea,_0x2c04ba);}catch(_0x41da06){this[_0x5329b5(0x23f)][_0x5329b5(0x455)](_0x41da06);}const _0x537e63=this[_0x5329b5(0x31c)]();if(_0x1cd751){const _0x50a035=_0x1202a9(this['_injector'],_0x5c2acf,this['_type'],_0xf500ea,_0x2c04ba,_0x537e63);return _0x50a035 instanceof _0x54f6d5[_0x5329b5(0x3e5)]?_0x50a035['_schedule']():(_0x50a035 instanceof _0x54f6d5[_0x5329b5(0x35a)]||_0x50a035 instanceof _0x54f6d5[_0x5329b5(0x38e)])&&_0x50a035[_0x5329b5(0x336)](),_0x50a035;}return this[_0x5329b5(0x3f7)][_0x5329b5(0x43e)](_0x54f6d5[_0x5329b5(0x2aa)],_0x5c2acf,this[_0x5329b5(0x31a)],_0xf500ea,_0x2c04ba,_0x537e63);}[_0x4344df(0x249)](_0x2b438f,_0x1d2a62){var _0x1681c9=_0x4344df,_0x11ad32,_0x2474f2;const _0x304baa=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x1681c9(0x29f)]['interceptor'][_0x1681c9(0x383)]()[_0x1681c9(0x344)]);(_0x11ad32=_0x304baa((_0x2b438f==null?void 0x0:_0x2b438f[_0x1681c9(0x2d4)])||[],null))==null||_0x11ad32[_0x1681c9(0x4e3)](_0x481372=>this[_0x1681c9(0x27d)][_0x1681c9(0x2d5)](_0x481372['id'],_0x481372[_0x1681c9(0x316)])),(_0x2474f2=_0x304baa(_0x1d2a62||[],null))==null||_0x2474f2[_0x1681c9(0x4e3)](_0x5139de=>this[_0x1681c9(0x27d)][_0x1681c9(0x2d5)](_0x5139de['id'],_0x5139de[_0x1681c9(0x316)]));}},_0x54f6d5[_0x4344df(0x3b7)]=_0x9e7117([_0x1714d6(0x3,_0x542f26['Inject'](_0x542f26[_0x4344df(0x511)])),_0x1714d6(0x4,_0x542f26[_0x4344df(0x4e2)](_0x3e6c27[_0x4344df(0x4de)])),_0x1714d6(0x5,_0x542f26['Inject'](_0x542f26[_0x4344df(0x225)])),_0x1714d6(0x6,_0x542f26['Inject'](_0x3e6c27[_0x4344df(0x540)])),_0x1714d6(0x7,_0x542f26[_0x4344df(0x4e2)](_0x50af23)),_0x1714d6(0x8,_0x542f26['ILogService']),_0x1714d6(0x9,_0x542f26[_0x4344df(0x28a)]),_0x1714d6(0xa,_0x542f26[_0x4344df(0x46e)]),_0x1714d6(0xb,_0x542f26[_0x4344df(0x40a)](_0x2ebaf9)),_0x1714d6(0xc,_0x542f26[_0x4344df(0x40a)](_0xbbdfbe))],_0x54f6d5[_0x4344df(0x3b7)]),_0x54f6d5[_0x4344df(0x458)]=class extends _0x54f6d5[_0x4344df(0x3b7)]{constructor(_0x1cf559,_0x83e73f,_0x5a6491,_0x5d94cf,_0x450777,_0x24b83d,_0x1e0539,_0x2c7d01,_0x415ea7,_0x3f0d8e,_0x15d5e2,_0x1a3ad3,_0x536e46){var _0x3e6e46=_0x4344df;super(_0x1cf559,_0x5a6491,_0x83e73f,_0x5d94cf,_0x450777,_0x24b83d,_0x1e0539,_0x2c7d01,_0x415ea7,_0x3f0d8e,_0x15d5e2,_0x1a3ad3,_0x536e46),_0x6d89e8(this,'_handlerCallback',null),(this[_0x3e6e46(0x3dd)]=_0x1cf559,this['type']=_0x83e73f);}['addHandlerCallback'](_0x46ca8a){this['_handlerCallback']=_0x46ca8a;}[_0x4344df(0x299)](){var _0x336c4d=_0x4344df;this[_0x336c4d(0x1d9)]=null,super[_0x336c4d(0x299)]();}[_0x4344df(0x31c)](){var _0x439530=_0x4344df;const _0x7a8174=super[_0x439530(0x31c)]();return _0x7a8174['onTransformIME']=_0x244899=>{var _0x1ff6a5=_0x439530,_0x3f29d4,_0x390982;return(_0x390982=(_0x3f29d4=this[_0x1ff6a5(0x1d9)])==null?void 0x0:_0x3f29d4[_0x1ff6a5(0x23d)])==null?void 0x0:_0x390982[_0x1ff6a5(0x3d0)](_0x3f29d4,_0x244899);},_0x7a8174[_0x439530(0x4d9)]=_0x4fa5b5=>{var _0x4cec0e=_0x439530,_0x34a343,_0x17f2e7;return(_0x17f2e7=(_0x34a343=this[_0x4cec0e(0x1d9)])==null?void 0x0:_0x34a343['onTransformState'])==null?void 0x0:_0x17f2e7[_0x4cec0e(0x3d0)](_0x34a343,_0x4fa5b5);},_0x7a8174['onTransformSelections']=_0x119f47=>{var _0x4e3be1=_0x439530,_0xc5c896,_0x72f01a;return(_0x72f01a=(_0xc5c896=this[_0x4e3be1(0x1d9)])==null?void 0x0:_0xc5c896[_0x4e3be1(0x270)])==null?void 0x0:_0x72f01a['call'](_0xc5c896,_0x119f47);},_0x7a8174['onSyncEditingCollabCursor']=_0x3d4a31=>{var _0x5a2940=_0x439530,_0x3f8f5d,_0x5d0271;return(_0x5d0271=(_0x3f8f5d=this[_0x5a2940(0x1d9)])==null?void 0x0:_0x3f8f5d[_0x5a2940(0x359)])==null?void 0x0:_0x5d0271[_0x5a2940(0x3d0)](_0x3f8f5d,_0x3d4a31);},_0x7a8174['onTransformRemoteChangesetByIMECache']=_0x3b5de1=>{var _0x4dc80b=_0x439530,_0x15fe18,_0x6cba9,_0xe24902;if(!((_0x15fe18=this[_0x4dc80b(0x1d9)])!=null&&_0x15fe18['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4dc80b(0x3da));return(_0xe24902=(_0x6cba9=this['_handlerCallback'])==null?void 0x0:_0x6cba9[_0x4dc80b(0x30a)])==null?void 0x0:_0xe24902[_0x4dc80b(0x3d0)](_0x6cba9,_0x3b5de1);},_0x7a8174['onTransformRemoteChangesetByStateCache']=_0x48e413=>{var _0x15b5b5=_0x439530,_0x2ffe31,_0x19b78d,_0x2cc147;if(!((_0x2ffe31=this['_handlerCallback'])!=null&&_0x2ffe31[_0x15b5b5(0x514)]))throw new Error(_0x15b5b5(0x22f));return(_0x2cc147=(_0x19b78d=this[_0x15b5b5(0x1d9)])==null?void 0x0:_0x19b78d[_0x15b5b5(0x514)])==null?void 0x0:_0x2cc147[_0x15b5b5(0x3d0)](_0x19b78d,_0x48e413);},_0x7a8174;}async['_init'](){var _0x5f2953=_0x4344df;const _0x3e1114=await super[_0x5f2953(0x4a7)]();return this['disposeWithMe'](this[_0x5f2953(0x27d)][_0x5f2953(0x3c2)]((_0x444606,_0x355277)=>{var _0x13ef9a=_0x5f2953;if(_0x444606[_0x13ef9a(0x529)]!==_0x542f26[_0x13ef9a(0x292)][_0x13ef9a(0x432)]||_0x355277!=null&&_0x355277['fromCollab']||_0x355277!=null&&_0x355277[_0x13ef9a(0x516)]||_0x444606['id']===_0x379fe6[_0x13ef9a(0x4ef)]['id'])return;const _0x5a070e=_0x444606['params'];if((_0x5a070e==null?void 0x0:_0x5a070e[_0x13ef9a(0x496)])!==this[_0x13ef9a(0x3dd)])return;const _0x107929=_0x444606,_0x575950=this[_0x13ef9a(0x29f)][_0x13ef9a(0x1e4)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x13ef9a(0x1e4)][_0x13ef9a(0x383)]()[_0x13ef9a(0x229)])([_0x107929],null)||[_0x107929];this[_0x13ef9a(0x368)](_0x575950[0x0]);})),_0x3e1114;}},_0x54f6d5[_0x4344df(0x458)]=_0x9e7117([_0x1714d6(0x3,_0x542f26[_0x4344df(0x4e2)](_0x542f26['Injector'])),_0x1714d6(0x4,_0x542f26[_0x4344df(0x4e2)](_0x3e6c27[_0x4344df(0x4de)])),_0x1714d6(0x5,_0x542f26[_0x4344df(0x4e2)](_0x542f26['LocaleService'])),_0x1714d6(0x6,_0x542f26['Inject'](_0x3e6c27[_0x4344df(0x540)])),_0x1714d6(0x7,_0x542f26['Inject'](_0x50af23)),_0x1714d6(0x8,_0x542f26['ILogService']),_0x1714d6(0x9,_0x542f26['ICommandService']),_0x1714d6(0xa,_0x542f26[_0x4344df(0x46e)]),_0x1714d6(0xb,_0x542f26[_0x4344df(0x40a)](_0x2ebaf9)),_0x1714d6(0xc,_0x542f26[_0x4344df(0x40a)](_0xbbdfbe))],_0x54f6d5[_0x4344df(0x458)]),_0x54f6d5[_0x4344df(0x45f)]=class extends _0x54f6d5[_0x4344df(0x3b7)]{constructor(_0x3e3e19,_0x2c1978,_0x2a0c47,_0x548cc0,_0x44b10b,_0x58ca2e,_0x4e1083,_0x56604e,_0x37eac2,_0x6bc827,_0xe54a53,_0x4e738d,_0x580ffb,_0x5a5211){var _0x5c22be=_0x4344df;super(_0x3e3e19,_0x2a0c47,_0x2c1978,_0x548cc0,_0x44b10b,_0x58ca2e,_0x4e1083,_0x37eac2,_0x6bc827,_0xe54a53,_0x4e738d,_0x580ffb,_0x5a5211),this[_0x5c22be(0x3dd)]=_0x3e3e19,this['type']=_0x2c1978,this[_0x5c22be(0x361)]=_0x56604e;}[_0x4344df(0x31c)](){var _0xf5a4b2=_0x4344df;const _0x35d9cc=super[_0xf5a4b2(0x31c)]();return _0x35d9cc[_0xf5a4b2(0x270)]=_0x33ea9c=>this[_0xf5a4b2(0x361)][_0xf5a4b2(0x30e)](_0x33ea9c),_0x35d9cc;}async[_0x4344df(0x4a7)](){var _0x3b90ea=_0x4344df;const _0x5b4ad9=await super[_0x3b90ea(0x4a7)]();return this[_0x3b90ea(0x4c0)](this[_0x3b90ea(0x27d)][_0x3b90ea(0x3c2)]((_0x577278,_0x2f73c5)=>{var _0x319fe4=_0x3b90ea;if(_0x577278[_0x319fe4(0x529)]!==_0x542f26[_0x319fe4(0x292)][_0x319fe4(0x432)]||_0x2f73c5!=null&&_0x2f73c5['fromCollab']||_0x2f73c5!=null&&_0x2f73c5[_0x319fe4(0x516)])return;const _0xdb92ea=_0x577278[_0x319fe4(0x316)];if((_0xdb92ea==null?void 0x0:_0xdb92ea[_0x319fe4(0x496)])!==this[_0x319fe4(0x3dd)])return;const _0x92dd2a=_0x577278,_0x2d3909=this[_0x319fe4(0x29f)][_0x319fe4(0x1e4)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x319fe4(0x1e4)][_0x319fe4(0x383)]()['COMPRESS_MUTATION_SEND'])([_0x92dd2a],null)||[_0x92dd2a];this[_0x319fe4(0x368)](_0x2d3909[0x0]);})),_0x5b4ad9;}},_0x54f6d5[_0x4344df(0x45f)]=_0x9e7117([_0x1714d6(0x3,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x511)])),_0x1714d6(0x4,_0x542f26[_0x4344df(0x4e2)](_0x3e6c27['CompressMutationService'])),_0x1714d6(0x5,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x225)])),_0x1714d6(0x6,_0x542f26[_0x4344df(0x4e2)](_0x3e6c27[_0x4344df(0x540)])),_0x1714d6(0x7,_0x542f26[_0x4344df(0x4e2)](_0x54f6d5[_0x4344df(0x542)])),_0x1714d6(0x8,_0x542f26[_0x4344df(0x4e2)](_0x50af23)),_0x1714d6(0x9,_0x542f26[_0x4344df(0x2e8)]),_0x1714d6(0xa,_0x542f26[_0x4344df(0x28a)]),_0x1714d6(0xb,_0x542f26[_0x4344df(0x46e)]),_0x1714d6(0xc,_0x542f26['Optional'](_0x2ebaf9)),_0x1714d6(0xd,_0x542f26[_0x4344df(0x40a)](_0xbbdfbe))],_0x54f6d5[_0x4344df(0x45f)]);var _0x321914=Object[_0x4344df(0x3b9)],_0x565c3a=(_0x150cf9,_0x2c9518,_0x32a821,_0x2c8044)=>{var _0x5e3676=_0x4344df;for(var _0x27bb9a=_0x2c8044>0x1?void 0x0:_0x2c8044?_0x321914(_0x2c9518,_0x32a821):_0x2c9518,_0x4d8b03=_0x150cf9[_0x5e3676(0x373)]-0x1,_0x521e96;_0x4d8b03>=0x0;_0x4d8b03--)(_0x521e96=_0x150cf9[_0x4d8b03])&&(_0x27bb9a=_0x521e96(_0x27bb9a)||_0x27bb9a);return _0x27bb9a;},_0x16da09=(_0x533653,_0x297e60)=>(_0x423daa,_0x28d6c1)=>_0x297e60(_0x423daa,_0x28d6c1,_0x533653);_0x54f6d5[_0x4344df(0x3db)]=class extends _0x542f26[_0x4344df(0x2ba)]{constructor(_0x2a138c,_0x125c51,_0x39019,_0xd40432){var _0x584df3=_0x4344df,_0x274043;super(),_0x6d89e8(this,'_entities',new Map()),_0x6d89e8(this,_0x584df3(0x404),new _0x157716['Subject']()),_0x6d89e8(this,_0x584df3(0x52f),this[_0x584df3(0x404)][_0x584df3(0x284)]()),(this[_0x584df3(0x3f7)]=_0x2a138c,this[_0x584df3(0x1ea)]=_0x125c51,this[_0x584df3(0x339)]=_0x39019,this[_0x584df3(0x3e6)]=_0xd40432,((_0x274043=this['_configService']['getConfig'](_0x2fadd8))==null?void 0x0:_0x274043[_0x584df3(0x1ff)])!==!0x1&&this['_init']());}[_0x4344df(0x299)](){var _0x429f2f=_0x4344df;super[_0x429f2f(0x299)](),this['_entities'][_0x429f2f(0x4e3)](_0x21a012=>_0x21a012[_0x429f2f(0x299)]()),this[_0x429f2f(0x32e)][_0x429f2f(0x42e)]();}['getCollabEntity'](_0x38211f){var _0x523bdd=_0x4344df,_0x18cbee;return(_0x18cbee=this['_entities'][_0x523bdd(0x421)](_0x38211f))!=null?_0x18cbee:null;}[_0x4344df(0x243)](_0x2c6dd0){var _0x44d501=_0x4344df;const _0x40ad89=this[_0x44d501(0x4bc)](_0x2c6dd0);return _0x40ad89?_0x157716['of'](_0x40ad89):this[_0x44d501(0x404)][_0x44d501(0x4e7)](_0x5fc46a[_0x44d501(0x48c)](_0x557535=>_0x557535[_0x44d501(0x3dd)]===_0x2c6dd0));}['readyForCollab'](_0x48f92f){var _0x234980=_0x4344df;return _0x157716[_0x234980(0x2ac)](this[_0x234980(0x243)](_0x48f92f)[_0x234980(0x4e7)](_0x5fc46a['map'](()=>{})));}['_init'](){var _0x366f24=_0x4344df;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x542f26[_0x366f24(0x3a8)]['UNIVER_SHEET'])[_0x366f24(0x4e7)](_0x157716[_0x366f24(0x21f)](this[_0x366f24(0x1ec)]),_0x5fc46a[_0x366f24(0x438)](0x10))['subscribe'](async _0x5616c3=>{var _0x189f68=_0x366f24;const _0xc80e13=_0x5616c3[_0x189f68(0x201)](),_0x443f8e=await this[_0x189f68(0x3ef)](_0xc80e13,_0x59d87f[_0x189f68(0x285)]);this[_0x189f68(0x32e)][_0x189f68(0x3a7)](_0xc80e13,_0x443f8e);}),this[_0x366f24(0x3e6)][_0x366f24(0x2a2)](_0x542f26['UniverInstanceType'][_0x366f24(0x210)])[_0x366f24(0x4e7)](_0x157716['takeUntil'](this['dispose$']),_0x5fc46a['delay'](0x10))[_0x366f24(0x4e7)](_0x5fc46a[_0x366f24(0x48c)](_0x1866c9=>!_0x1866c9['getUnitId']()[_0x366f24(0x55e)]('__')))[_0x366f24(0x465)](async _0x1a2b38=>{var _0x206de6=_0x366f24;const _0x6fbbc5=_0x1a2b38['getUnitId'](),_0x202c83=await this[_0x206de6(0x3ef)](_0x6fbbc5,_0x59d87f[_0x206de6(0x210)]);this[_0x206de6(0x32e)][_0x206de6(0x3a7)](_0x6fbbc5,_0x202c83);}),_0x157716['merge'](this[_0x366f24(0x3e6)][_0x366f24(0x2d3)](_0x542f26[_0x366f24(0x3a8)][_0x366f24(0x285)]),this[_0x366f24(0x3e6)][_0x366f24(0x2d3)](_0x542f26['UniverInstanceType'][_0x366f24(0x210)]))['pipe'](_0x157716['takeUntil'](this[_0x366f24(0x1ec)]))[_0x366f24(0x465)](_0x2f8adb=>{var _0x247991=_0x366f24;const _0x1ff10a=_0x2f8adb[_0x247991(0x201)](),_0x19cd3b=this['_entities'][_0x247991(0x421)](_0x1ff10a);_0x19cd3b&&(_0x19cd3b[_0x247991(0x299)](),this[_0x247991(0x32e)][_0x247991(0x1dc)](_0x1ff10a));});}async[_0x4344df(0x3ef)](_0x370eba,_0x3fa367){var _0x156bea=_0x4344df;const _0x12d29e=await this[_0x156bea(0x1ea)][_0x156bea(0x372)](_0x370eba),_0x23efdc=this[_0x156bea(0x3f7)][_0x156bea(0x43e)](this[_0x156bea(0x376)](_0x3fa367),_0x370eba,_0x3fa367,_0x12d29e);return await _0x23efdc[_0x156bea(0x4f3)](),this[_0x156bea(0x404)]['next'](_0x23efdc),_0x23efdc;}[_0x4344df(0x376)](_0x42b974){var _0x30d492=_0x4344df;switch(_0x42b974){case _0x59d87f[_0x30d492(0x210)]:return _0x54f6d5[_0x30d492(0x458)];case _0x59d87f[_0x30d492(0x285)]:return _0x54f6d5[_0x30d492(0x45f)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x42b974);}}},_0x54f6d5[_0x4344df(0x3db)]=_0x565c3a([_0x16da09(0x0,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x511)])),_0x16da09(0x1,_0x542f26[_0x4344df(0x4e2)](_0x54f6d5[_0x4344df(0x2b0)])),_0x16da09(0x2,_0x542f26[_0x4344df(0x4c1)]),_0x16da09(0x3,_0x542f26[_0x4344df(0x43b)])],_0x54f6d5[_0x4344df(0x3db)]);var _0x541975=Object['getOwnPropertyDescriptor'],_0x2aabce=(_0x184120,_0x40b13c,_0x222009,_0x29e802)=>{var _0x4064a6=_0x4344df;for(var _0x3efb49=_0x29e802>0x1?void 0x0:_0x29e802?_0x541975(_0x40b13c,_0x222009):_0x40b13c,_0x207222=_0x184120[_0x4064a6(0x373)]-0x1,_0xb2bcbd;_0x207222>=0x0;_0x207222--)(_0xb2bcbd=_0x184120[_0x207222])&&(_0x3efb49=_0xb2bcbd(_0x3efb49)||_0x3efb49);return _0x3efb49;},_0x3de40b=(_0x1b99a2,_0x5d9314)=>(_0x443faa,_0xf3a06d)=>_0x5d9314(_0x443faa,_0xf3a06d,_0x1b99a2);const _0x5b0ac2=_0x4344df(0x486),_0x4089e0=_0x4344df(0x46d);let _0x10e4cc=class extends _0x542f26['Disposable']{constructor(_0x462b70,_0x4d56a2){var _0x886239=_0x4344df;super(),this[_0x886239(0x3e6)]=_0x462b70,this[_0x886239(0x339)]=_0x4d56a2,this[_0x886239(0x4a7)]();}[_0x4344df(0x4a7)](){var _0x29ca2a=_0x4344df;this[_0x29ca2a(0x4c0)](this['_univerInstanceService']['focused$'][_0x29ca2a(0x465)](()=>{var _0x7132d6=_0x29ca2a,_0x793577;const _0x40b234=this[_0x7132d6(0x3e6)][_0x7132d6(0x4a3)]();let _0x55086c=(_0x793577=this[_0x7132d6(0x339)][_0x7132d6(0x54e)](_0x5b0ac2))!=null?_0x793577:_0x4089e0;_0x40b234 instanceof _0x542f26[_0x7132d6(0x346)]&&(_0x55086c=_0x40b234[_0x7132d6(0x51b)]),document[_0x7132d6(0x485)]=_0x55086c;}));}};_0x10e4cc=_0x2aabce([_0x3de40b(0x0,_0x542f26[_0x4344df(0x43b)]),_0x3de40b(0x1,_0x542f26[_0x4344df(0x4c1)])],_0x10e4cc);var _0x3b9d37=Object[_0x4344df(0x3b9)],_0x13c9b9=(_0x30ac99,_0xdaf68d,_0x52ca06,_0x3b04d7)=>{var _0x4928a8=_0x4344df;for(var _0x11abc1=_0x3b04d7>0x1?void 0x0:_0x3b04d7?_0x3b9d37(_0xdaf68d,_0x52ca06):_0xdaf68d,_0x1bbdda=_0x30ac99[_0x4928a8(0x373)]-0x1,_0x32cb20;_0x1bbdda>=0x0;_0x1bbdda--)(_0x32cb20=_0x30ac99[_0x1bbdda])&&(_0x11abc1=_0x32cb20(_0x11abc1)||_0x11abc1);return _0x11abc1;},_0x57dd72=(_0x5bcbea,_0x332cdd)=>(_0x49ff0b,_0x240cc8)=>_0x332cdd(_0x49ff0b,_0x240cc8,_0x5bcbea);let _0x30b0c5=class{constructor(_0x3f66fc,_0x53f2c0,_0x510fa0){var _0x3f3096=_0x4344df;this[_0x3f3096(0x339)]=_0x3f66fc,this[_0x3f3096(0x1f8)]=_0x53f2c0,this['localeService']=_0x510fa0,this['init']();}[_0x4344df(0x4f3)](){var _0x267d56=_0x4344df;this[_0x267d56(0x1f8)][_0x267d56(0x2d9)]({'priority':0x1,'interceptor':(_0x420b08,_0x45a803)=>_0x45a803(_0x420b08)[_0x267d56(0x4e7)](_0x157716[_0x267d56(0x523)](async _0x5477bb=>{var _0x4dede6=_0x267d56;const _0x364798=_0x5477bb;if(_0x364798[_0x4dede6(0x42b)]===0x191){if(typeof window>'u')throw new Error(_0x4dede6(0x474));if(window[_0x4dede6(0x331)](this[_0x4dede6(0x278)]['t'](_0x4dede6(0x3fe)))){const _0x29f56c=window[_0x4dede6(0x394)](window['location'][_0x4dede6(0x43a)]);window['location'][_0x4dede6(0x43a)]=this[_0x4dede6(0x400)]()+_0x4dede6(0x387)+_0x29f56c;}}return _0x364798;}))});}[_0x4344df(0x400)](){var _0x415c8f=_0x4344df,_0x42f681,_0x286946;const _0x42ce2a=this[_0x415c8f(0x339)][_0x415c8f(0x54e)](_0x3a7a55),_0x454640=this[_0x415c8f(0x339)][_0x415c8f(0x54e)](_0x2fadd8);return(_0x286946=(_0x42f681=_0x454640==null?void 0x0:_0x454640[_0x415c8f(0x3ca)])!=null?_0x42f681:_0x42ce2a)!=null?_0x286946:_0x26a7b9;}};_0x30b0c5=_0x13c9b9([_0x57dd72(0x0,_0x542f26[_0x4344df(0x4c1)]),_0x57dd72(0x1,_0x542f26['Inject'](_0x2686d0[_0x4344df(0x220)])),_0x57dd72(0x2,_0x542f26['Inject'](_0x542f26['LocaleService']))],_0x30b0c5);var _0x50c202=Object['getOwnPropertyDescriptor'],_0x26686b=(_0x558e86,_0x669a8b,_0x5a66c6,_0x4152df)=>{var _0x148fa4=_0x4344df;for(var _0x30ee7d=_0x4152df>0x1?void 0x0:_0x4152df?_0x50c202(_0x669a8b,_0x5a66c6):_0x669a8b,_0x564ce3=_0x558e86[_0x148fa4(0x373)]-0x1,_0x76df0;_0x564ce3>=0x0;_0x564ce3--)(_0x76df0=_0x558e86[_0x564ce3])&&(_0x30ee7d=_0x76df0(_0x30ee7d)||_0x30ee7d);return _0x30ee7d;},_0x470b19=(_0x2beb8f,_0x591351)=>(_0x5ee531,_0x2b3d82)=>_0x591351(_0x5ee531,_0x2b3d82,_0x2beb8f);const _0x224b13='AUTHZ_URL_KEY',_0x21ec9a='/universer-api/authz';_0x54f6d5[_0x4344df(0x47d)]=class extends _0x542f26[_0x4344df(0x2d8)]{constructor(_0x48bfd4,_0x462f77){var _0x42650f=_0x4344df;super(),this[_0x42650f(0x403)]=_0x48bfd4,this[_0x42650f(0x339)]=_0x462f77,this[_0x42650f(0x555)]();}[_0x4344df(0x555)](){var _0x458408=_0x4344df;const _0x4b837b=this;this[_0x458408(0x4c0)](this[_0x458408(0x403)][_0x458408(0x2d9)]({'priority':0x3e7,'interceptor':_0x2686d0[_0x458408(0x4bb)]({'isMatch'(_0x34283f){var _0x51b24f=_0x458408,_0x46594f;if(_0x34283f[_0x51b24f(0x2c8)]==='POST'&&((_0x46594f=_0x34283f['requestParams'])!=null&&_0x46594f[_0x51b24f(0x36e)])){const {objectID:_0x169d03,objectType:_0x46c99a}=_0x34283f[_0x51b24f(0x3fd)][_0x51b24f(0x36e)]||{};if(!_0x169d03||_0x46c99a===void 0x0)return!0x1;const _0x10d712=_0x4b837b[_0x51b24f(0x392)]()+'/'+_0x46c99a+'/object/'+_0x169d03+_0x51b24f(0x1de);if(_0x34283f[_0x51b24f(0x2e3)]===_0x10d712)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2679ee){var _0x552167=_0x458408,_0x4d6cdc;return(_0x4d6cdc=_0x2679ee[_0x552167(0x3fd)])==null?void 0x0:_0x4d6cdc['body'];},'mergeParamsToRequest'(_0x14388e,_0x2a17f8){var _0x11aad5=_0x458408;const _0x19fe6f=_0x4b837b[_0x11aad5(0x392)]()+'/-/object/-/batch_allowed',_0x36b5c4=_0x14388e['reduce']((_0x344c0a,_0x5d1852)=>{var _0x3de9b2=_0x11aad5;const {unitID:_0x296689,objectID:_0x1c4707,objectType:_0x579efa,actions:_0x2531f0}=_0x5d1852;return _0x344c0a[_0x296689]||(_0x344c0a[_0x296689]={}),_0x344c0a[_0x296689][_0x1c4707]||(_0x344c0a[_0x296689][_0x1c4707]={'objectID':_0x1c4707,'objectType':_0x579efa,'actions':[]}),_0x344c0a[_0x296689][_0x1c4707][_0x3de9b2(0x4cc)][_0x3de9b2(0x21b)](..._0x2531f0),_0x344c0a;},{}),_0x599323=[];for(const _0x39110f in _0x36b5c4)for(const _0x544de7 in _0x36b5c4[_0x39110f]){const {actions:_0x17cc01,objectType:_0x36d1e4}=_0x36b5c4[_0x39110f][_0x544de7],_0x59a1ac=[...new Set(_0x17cc01)];_0x599323[_0x11aad5(0x21b)]({'unitID':_0x39110f,'objectID':_0x544de7,'objectType':_0x36d1e4,'actions':_0x59a1ac});}return new _0x2686d0[(_0x11aad5(0x330))](_0x11aad5(0x33c),_0x19fe6f,{'headers':_0x2a17f8[_0x11aad5(0x3ce)],'withCredentials':_0x2a17f8[_0x11aad5(0x4cd)],'responseType':_0x2a17f8['responseType'],'body':{'requests':_0x599323}});}},{'distributeResult'(_0x57f649,_0x216e32){var _0x512b18=_0x458408;const {objectActions:_0x4d24ff}=_0x57f649;return _0x216e32[_0x512b18(0x443)](_0x246c60=>{var _0x14a1e2=_0x512b18;const {unitID:_0x543cb6,objectID:_0x17017b,actions:_0x21c022}=_0x246c60,_0x34d8f2=_0x4d24ff[_0x14a1e2(0x3f1)](_0x1c1aec=>_0x1c1aec[_0x14a1e2(0x3dd)]===_0x543cb6&&_0x1c1aec[_0x14a1e2(0x20c)]===_0x17017b),_0x3f5a3a=_0x21c022[_0x14a1e2(0x443)](_0x9ebaea=>_0x34d8f2==null?void 0x0:_0x34d8f2['actions'][_0x14a1e2(0x3f1)](_0x4ea811=>_0x4ea811[_0x14a1e2(0x447)]===_0x9ebaea))[_0x14a1e2(0x48c)](_0x23a7ce=>!!_0x23a7ce);return{'config':_0x246c60,'result':{'actions':_0x3f5a3a,'error':_0x57f649[_0x14a1e2(0x455)]}};});}})}));}[_0x4344df(0x392)](){var _0x4b8031=_0x4344df,_0x42c0b3,_0x12b65d;const _0x13a3b5=this[_0x4b8031(0x339)]['getConfig'](_0x224b13),_0x2bee15=this[_0x4b8031(0x339)][_0x4b8031(0x54e)](_0x2fadd8);return(_0x12b65d=(_0x42c0b3=_0x2bee15==null?void 0x0:_0x2bee15[_0x4b8031(0x29c)])!=null?_0x42c0b3:_0x13a3b5)!=null?_0x12b65d:_0x21ec9a;}async['create'](_0x5539f6){var _0x12f0a5=_0x4344df;const _0x4718d5=this[_0x12f0a5(0x392)]()+'/'+_0x5539f6['objectType']+'/object';return(await this['_HTTPService'][_0x12f0a5(0x335)](_0x4718d5,{'body':_0x5539f6}))[_0x12f0a5(0x36e)][_0x12f0a5(0x20c)]||'';}async['list'](_0x58b657){var _0x500283=_0x4344df;const _0x177c8d=this[_0x500283(0x392)]()+_0x500283(0x263);return(await this['_HTTPService'][_0x500283(0x335)](_0x177c8d,{'body':_0x58b657}))[_0x500283(0x36e)][_0x500283(0x437)];}async[_0x4344df(0x2ed)](_0x57fa23){var _0x232969=_0x4344df,_0x5d33a2,_0x5e7856;const _0x1143d4=this[_0x232969(0x392)]()+'/'+_0x57fa23[_0x232969(0x488)]+_0x232969(0x461)+_0x57fa23[_0x232969(0x20c)],_0x4ba28f=await this[_0x232969(0x403)][_0x232969(0x3ba)](_0x1143d4,{'body':_0x57fa23});if(((_0x5e7856=(_0x5d33a2=_0x4ba28f==null?void 0x0:_0x4ba28f[_0x232969(0x36e)])==null?void 0x0:_0x5d33a2[_0x232969(0x455)])==null?void 0x0:_0x5e7856['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x4344df(0x3fb)](_0x29a662){var _0xf40a=_0x4344df;const _0x45d3e4=this[_0xf40a(0x392)]()+'/'+_0x29a662['objectType']+'/object/'+_0x29a662[_0xf40a(0x20c)]+_0xf40a(0x1de);return(await this[_0xf40a(0x403)]['post'](_0x45d3e4,{'body':_0x29a662}))['body']['actions'];}async[_0x4344df(0x1e0)](_0x5006fb){var _0x2f414d=_0x4344df;const _0x1461eb=this[_0x2f414d(0x392)]()+'/-/object/-/batch_allowed';return(await this[_0x2f414d(0x403)][_0x2f414d(0x335)](_0x1461eb,{'body':{'requests':_0x5006fb}}))[_0x2f414d(0x36e)][_0x2f414d(0x452)];}async['listRoles'](_0x12ad84){var _0x30cc9b=_0x4344df;const _0x57c238=this[_0x30cc9b(0x392)]()+'/'+_0x12ad84[_0x30cc9b(0x488)]+'/role',_0x20dd67=await this[_0x30cc9b(0x403)]['post'](_0x57c238,{'body':_0x12ad84});return{'roles':_0x20dd67[_0x30cc9b(0x36e)][_0x30cc9b(0x4df)],'actions':_0x20dd67[_0x30cc9b(0x36e)][_0x30cc9b(0x4cc)]};}async['deleteCollaborator'](_0x54c857){var _0x152e8a=_0x4344df;const _0x1bfbca=this[_0x152e8a(0x392)]()+_0x152e8a(0x34f);await this[_0x152e8a(0x403)][_0x152e8a(0x1dc)](_0x1bfbca,{'params':{'collaboratorID':_0x54c857[_0x152e8a(0x51d)],'objectID':_0x54c857[_0x152e8a(0x20c)],'unitID':_0x54c857[_0x152e8a(0x3dd)]}});}async[_0x4344df(0x4d7)](_0x3d7e45){var _0x551f99=_0x4344df;const _0x4e2cde=this[_0x551f99(0x392)]()+_0x551f99(0x34f);await this[_0x551f99(0x403)][_0x551f99(0x4cb)](_0x4e2cde,{'body':_0x3d7e45});}async[_0x4344df(0x296)](_0x2e0b4d){var _0x5c9bbb=_0x4344df;const _0x5f07f1=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x5c9bbb(0x403)]['post'](_0x5f07f1,{'body':_0x2e0b4d});}async[_0x4344df(0x2f9)](_0x1c4fa7){var _0x3d89ba=_0x4344df;const _0x1b3242=this['_getAPIPrefixPath']()+_0x3d89ba(0x34f);return(await this[_0x3d89ba(0x403)][_0x3d89ba(0x421)](_0x1b3242,{'params':{'objectID':_0x1c4fa7[_0x3d89ba(0x20c)],'unitID':_0x1c4fa7[_0x3d89ba(0x3dd)]}}))[_0x3d89ba(0x36e)][_0x3d89ba(0x3d6)];}async[_0x4344df(0x563)](_0x334a43){var _0x14ef2d=_0x4344df;const _0x40db5d=this['_getAPIPrefixPath']()+_0x14ef2d(0x34f);await this['_HTTPService'][_0x14ef2d(0x3ba)](_0x40db5d,{'body':_0x334a43});}},_0x54f6d5['AuthzIoHttpService']=_0x26686b([_0x470b19(0x0,_0x542f26[_0x4344df(0x4e2)](_0x2686d0['HTTPService'])),_0x470b19(0x1,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x4c1)]))],_0x54f6d5[_0x4344df(0x47d)]);var _0x4181db=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x55dcff(_0xe1c8a6){var _0x46afb0=_0x4344df;return _0xe1c8a6&&_0xe1c8a6['__esModule']&&Object['prototype'][_0x46afb0(0x4aa)][_0x46afb0(0x3d0)](_0xe1c8a6,'default')?_0xe1c8a6[_0x46afb0(0x338)]:_0xe1c8a6;}var _0x24fa44={'exports':{}};function _0x1ecc6e(_0x4c06e7){var _0x18fd97=_0x4344df;throw new Error(_0x18fd97(0x34e)+_0x4c06e7+_0x18fd97(0x245));}var _0x46fb03={'exports':{}},_0xda50e0=_0x46fb03[_0x4344df(0x219)],_0x3beeeb;function _0x309548(){var _0x1a17a6=_0x4344df;return _0x3beeeb||(_0x3beeeb=0x1,function(_0x2f02c4,_0x12e239){(function(_0x4f7243,_0x3fe212){var _0x5aba12=_0x47b6;_0x2f02c4[_0x5aba12(0x219)]=_0x3fe212();}(_0xda50e0,function(){var _0x451cb8=_0x451cb8||function(_0x2ffac9,_0x5df984){var _0x31bc36=_0x47b6,_0xd0844d;if(typeof window<'u'&&window['crypto']&&(_0xd0844d=window[_0x31bc36(0x234)]),typeof self<'u'&&self[_0x31bc36(0x234)]&&(_0xd0844d=self[_0x31bc36(0x234)]),typeof globalThis<'u'&&globalThis[_0x31bc36(0x234)]&&(_0xd0844d=globalThis[_0x31bc36(0x234)]),!_0xd0844d&&typeof window<'u'&&window[_0x31bc36(0x371)]&&(_0xd0844d=window['msCrypto']),!_0xd0844d&&typeof _0x4181db<'u'&&_0x4181db[_0x31bc36(0x234)]&&(_0xd0844d=_0x4181db[_0x31bc36(0x234)]),!_0xd0844d&&typeof _0x1ecc6e==_0x31bc36(0x45c))try{_0xd0844d=require(_0x31bc36(0x234));}catch{}var _0x5086c5=function(){var _0x4dbd23=_0x31bc36;if(_0xd0844d){if(typeof _0xd0844d[_0x4dbd23(0x2fc)]==_0x4dbd23(0x45c))try{return _0xd0844d[_0x4dbd23(0x2fc)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xd0844d[_0x4dbd23(0x454)]==_0x4dbd23(0x45c))try{return _0xd0844d[_0x4dbd23(0x454)](0x4)[_0x4dbd23(0x1e9)]();}catch{}}throw new Error(_0x4dbd23(0x1d8));},_0x2e5571=Object['create']||(function(){function _0x532e0f(){}return function(_0x198c0d){var _0x3c8739=_0x47b6,_0x13bf05;return _0x532e0f['prototype']=_0x198c0d,_0x13bf05=new _0x532e0f(),_0x532e0f[_0x3c8739(0x25c)]=null,_0x13bf05;};}()),_0x537e66={},_0x302ac3=_0x537e66['lib']={},_0x3ddede=_0x302ac3['Base']=(function(){return{'extend':function(_0xe131f2){var _0x10838c=_0x47b6,_0xb814e9=_0x2e5571(this);return _0xe131f2&&_0xb814e9['mixIn'](_0xe131f2),(!_0xb814e9['hasOwnProperty']('init')||this['init']===_0xb814e9[_0x10838c(0x4f3)])&&(_0xb814e9['init']=function(){var _0xab36a2=_0x10838c;_0xb814e9[_0xab36a2(0x507)][_0xab36a2(0x4f3)][_0xab36a2(0x345)](this,arguments);}),_0xb814e9[_0x10838c(0x4f3)]['prototype']=_0xb814e9,_0xb814e9[_0x10838c(0x507)]=this,_0xb814e9;},'create':function(){var _0x5f1655=_0x47b6,_0x2dd848=this[_0x5f1655(0x274)]();return _0x2dd848['init'][_0x5f1655(0x345)](_0x2dd848,arguments),_0x2dd848;},'init':function(){},'mixIn':function(_0x1db8c1){var _0x51660a=_0x47b6;for(var _0x4fa9fa in _0x1db8c1)_0x1db8c1[_0x51660a(0x4aa)](_0x4fa9fa)&&(this[_0x4fa9fa]=_0x1db8c1[_0x4fa9fa]);_0x1db8c1['hasOwnProperty']('toString')&&(this[_0x51660a(0x390)]=_0x1db8c1[_0x51660a(0x390)]);},'clone':function(){var _0x18cd30=_0x47b6;return this[_0x18cd30(0x4f3)][_0x18cd30(0x25c)][_0x18cd30(0x274)](this);}};}()),_0x324599=_0x302ac3[_0x31bc36(0x449)]=_0x3ddede[_0x31bc36(0x274)]({'init':function(_0x3b5234,_0x340e11){var _0x8d83ce=_0x31bc36;_0x3b5234=this['words']=_0x3b5234||[],_0x340e11!=_0x5df984?this[_0x8d83ce(0x2bd)]=_0x340e11:this['sigBytes']=_0x3b5234[_0x8d83ce(0x373)]*0x4;},'toString':function(_0x4d0e86){return(_0x4d0e86||_0x8d9352)['stringify'](this);},'concat':function(_0x485fa9){var _0x59334c=_0x31bc36,_0x8d833a=this[_0x59334c(0x2c7)],_0x4f8edc=_0x485fa9[_0x59334c(0x2c7)],_0x927827=this[_0x59334c(0x2bd)],_0x1eb14b=_0x485fa9[_0x59334c(0x2bd)];if(this['clamp'](),_0x927827%0x4)for(var _0x54a07d=0x0;_0x54a07d<_0x1eb14b;_0x54a07d++){var _0x57520e=_0x4f8edc[_0x54a07d>>>0x2]>>>0x18-_0x54a07d%0x4*0x8&0xff;_0x8d833a[_0x927827+_0x54a07d>>>0x2]|=_0x57520e<<0x18-(_0x927827+_0x54a07d)%0x4*0x8;}else{for(var _0x3ce83b=0x0;_0x3ce83b<_0x1eb14b;_0x3ce83b+=0x4)_0x8d833a[_0x927827+_0x3ce83b>>>0x2]=_0x4f8edc[_0x3ce83b>>>0x2];}return this[_0x59334c(0x2bd)]+=_0x1eb14b,this;},'clamp':function(){var _0x2bfa49=_0x31bc36,_0x165a11=this[_0x2bfa49(0x2c7)],_0x28bc08=this[_0x2bfa49(0x2bd)];_0x165a11[_0x28bc08>>>0x2]&=0xffffffff<<0x20-_0x28bc08%0x4*0x8,_0x165a11[_0x2bfa49(0x373)]=_0x2ffac9[_0x2bfa49(0x2a7)](_0x28bc08/0x4);},'clone':function(){var _0x2e1231=_0x31bc36,_0x1783bb=_0x3ddede['clone'][_0x2e1231(0x3d0)](this);return _0x1783bb[_0x2e1231(0x2c7)]=this[_0x2e1231(0x2c7)][_0x2e1231(0x295)](0x0),_0x1783bb;},'random':function(_0x111c41){var _0x5b7a6e=_0x31bc36;for(var _0x30a604=[],_0x4ccebb=0x0;_0x4ccebb<_0x111c41;_0x4ccebb+=0x4)_0x30a604['push'](_0x5086c5());return new _0x324599[(_0x5b7a6e(0x4f3))](_0x30a604,_0x111c41);}}),_0x301164=_0x537e66[_0x31bc36(0x24d)]={},_0x8d9352=_0x301164[_0x31bc36(0x2cd)]={'stringify':function(_0x5d0ae9){var _0x5844b4=_0x31bc36;for(var _0xf4d33e=_0x5d0ae9[_0x5844b4(0x2c7)],_0x79c63=_0x5d0ae9[_0x5844b4(0x2bd)],_0x3a1d62=[],_0x2d1b7=0x0;_0x2d1b7<_0x79c63;_0x2d1b7++){var _0x2164fc=_0xf4d33e[_0x2d1b7>>>0x2]>>>0x18-_0x2d1b7%0x4*0x8&0xff;_0x3a1d62[_0x5844b4(0x21b)]((_0x2164fc>>>0x4)[_0x5844b4(0x390)](0x10)),_0x3a1d62[_0x5844b4(0x21b)]((_0x2164fc&0xf)[_0x5844b4(0x390)](0x10));}return _0x3a1d62[_0x5844b4(0x257)]('');},'parse':function(_0x20806d){var _0x241a44=_0x31bc36;for(var _0x12d520=_0x20806d[_0x241a44(0x373)],_0x10e108=[],_0x53f159=0x0;_0x53f159<_0x12d520;_0x53f159+=0x2)_0x10e108[_0x53f159>>>0x3]|=parseInt(_0x20806d['substr'](_0x53f159,0x2),0x10)<<0x18-_0x53f159%0x8*0x4;return new _0x324599[(_0x241a44(0x4f3))](_0x10e108,_0x12d520/0x2);}},_0x18efa7=_0x301164[_0x31bc36(0x3c8)]={'stringify':function(_0x1fae3a){var _0x378261=_0x31bc36;for(var _0x1dd961=_0x1fae3a[_0x378261(0x2c7)],_0x31c156=_0x1fae3a[_0x378261(0x2bd)],_0x3a652d=[],_0x108904=0x0;_0x108904<_0x31c156;_0x108904++){var _0x1490f1=_0x1dd961[_0x108904>>>0x2]>>>0x18-_0x108904%0x4*0x8&0xff;_0x3a652d[_0x378261(0x21b)](String[_0x378261(0x3eb)](_0x1490f1));}return _0x3a652d['join']('');},'parse':function(_0x5e3753){var _0x4774d7=_0x31bc36;for(var _0x3d6895=_0x5e3753[_0x4774d7(0x373)],_0x55ff8f=[],_0x4c48f9=0x0;_0x4c48f9<_0x3d6895;_0x4c48f9++)_0x55ff8f[_0x4c48f9>>>0x2]|=(_0x5e3753[_0x4774d7(0x2b3)](_0x4c48f9)&0xff)<<0x18-_0x4c48f9%0x4*0x8;return new _0x324599[(_0x4774d7(0x4f3))](_0x55ff8f,_0x3d6895);}},_0x1744c8=_0x301164[_0x31bc36(0x2a4)]={'stringify':function(_0x518449){var _0x115fc3=_0x31bc36;try{return decodeURIComponent(escape(_0x18efa7[_0x115fc3(0x52d)](_0x518449)));}catch{throw new Error(_0x115fc3(0x35c));}},'parse':function(_0x52c380){return _0x18efa7['parse'](unescape(encodeURIComponent(_0x52c380)));}},_0x5d11dc=_0x302ac3[_0x31bc36(0x4c4)]=_0x3ddede['extend']({'reset':function(){var _0x5b33c5=_0x31bc36;this[_0x5b33c5(0x512)]=new _0x324599[(_0x5b33c5(0x4f3))](),this[_0x5b33c5(0x492)]=0x0;},'_append':function(_0x414c6f){var _0x1a7528=_0x31bc36;typeof _0x414c6f==_0x1a7528(0x328)&&(_0x414c6f=_0x1744c8[_0x1a7528(0x1e3)](_0x414c6f)),this[_0x1a7528(0x512)][_0x1a7528(0x35b)](_0x414c6f),this[_0x1a7528(0x492)]+=_0x414c6f['sigBytes'];},'_process':function(_0x49eda){var _0x4defb1=_0x31bc36,_0x4501c8,_0xe18d9f=this[_0x4defb1(0x512)],_0x1a0799=_0xe18d9f['words'],_0x15639d=_0xe18d9f[_0x4defb1(0x2bd)],_0x5486a8=this[_0x4defb1(0x34b)],_0x139131=_0x5486a8*0x4,_0x4d709c=_0x15639d/_0x139131;_0x49eda?_0x4d709c=_0x2ffac9[_0x4defb1(0x2a7)](_0x4d709c):_0x4d709c=_0x2ffac9[_0x4defb1(0x1e8)]((_0x4d709c|0x0)-this['_minBufferSize'],0x0);var _0x5a6923=_0x4d709c*_0x5486a8,_0x5dc8a8=_0x2ffac9[_0x4defb1(0x45d)](_0x5a6923*0x4,_0x15639d);if(_0x5a6923){for(var _0x3019dc=0x0;_0x3019dc<_0x5a6923;_0x3019dc+=_0x5486a8)this[_0x4defb1(0x2be)](_0x1a0799,_0x3019dc);_0x4501c8=_0x1a0799[_0x4defb1(0x2f4)](0x0,_0x5a6923),_0xe18d9f['sigBytes']-=_0x5dc8a8;}return new _0x324599[(_0x4defb1(0x4f3))](_0x4501c8,_0x5dc8a8);},'clone':function(){var _0xadfe71=_0x31bc36,_0x3bed8a=_0x3ddede[_0xadfe71(0x36f)][_0xadfe71(0x3d0)](this);return _0x3bed8a['_data']=this[_0xadfe71(0x512)]['clone'](),_0x3bed8a;},'_minBufferSize':0x0});_0x302ac3[_0x31bc36(0x3d5)]=_0x5d11dc[_0x31bc36(0x274)]({'cfg':_0x3ddede[_0x31bc36(0x274)](),'init':function(_0x4418ed){var _0x187962=_0x31bc36;this['cfg']=this[_0x187962(0x20e)][_0x187962(0x274)](_0x4418ed),this[_0x187962(0x3e1)]();},'reset':function(){var _0x4d5141=_0x31bc36;_0x5d11dc['reset'][_0x4d5141(0x3d0)](this),this[_0x4d5141(0x431)]();},'update':function(_0x2e2e8c){var _0xf217d4=_0x31bc36;return this['_append'](_0x2e2e8c),this[_0xf217d4(0x38f)](),this;},'finalize':function(_0x57ed9f){var _0x239878=_0x31bc36;_0x57ed9f&&this['_append'](_0x57ed9f);var _0x3a82f0=this[_0x239878(0x4ab)]();return _0x3a82f0;},'blockSize':0x10,'_createHelper':function(_0x2ada7a){return function(_0xb7432f,_0x3bdf8d){var _0x4a3e54=_0x47b6;return new _0x2ada7a[(_0x4a3e54(0x4f3))](_0x3bdf8d)[_0x4a3e54(0x45e)](_0xb7432f);};},'_createHmacHelper':function(_0x471ade){return function(_0x1f6200,_0x3bbe1e){var _0x39a0b0=_0x47b6;return new _0x1f0332[(_0x39a0b0(0x280))][(_0x39a0b0(0x4f3))](_0x471ade,_0x3bbe1e)['finalize'](_0x1f6200);};}});var _0x1f0332=_0x537e66['algo']={};return _0x537e66;}(Math);return _0x451cb8;}));}(_0x46fb03)),_0x46fb03[_0x1a17a6(0x219)];}var _0x4f435c={'exports':{}},_0x14d0a3=_0x4f435c['exports'],_0x2552e9;function _0x5a574a(){return _0x2552e9||(_0x2552e9=0x1,function(_0x24e651,_0x2a3aab){(function(_0x44d48f,_0x5603cd){var _0x470de5=_0x47b6;_0x24e651[_0x470de5(0x219)]=_0x5603cd(_0x309548());}(_0x14d0a3,function(_0x1c0cb1){var _0x10c5bf=_0x47b6;return(function(){var _0x205b23=_0x47b6,_0x4f9aea=_0x1c0cb1,_0x2d48a7=_0x4f9aea[_0x205b23(0x313)],_0xbebad4=_0x2d48a7[_0x205b23(0x449)],_0x45d0ad=_0x4f9aea[_0x205b23(0x24d)];_0x45d0ad['Base64']={'stringify':function(_0x1a7a45){var _0x487b83=_0x205b23,_0x44da73=_0x1a7a45[_0x487b83(0x2c7)],_0xbcd353=_0x1a7a45[_0x487b83(0x2bd)],_0x184ab4=this[_0x487b83(0x1e5)];_0x1a7a45[_0x487b83(0x28e)]();for(var _0x43ff04=[],_0x47adaf=0x0;_0x47adaf<_0xbcd353;_0x47adaf+=0x3)for(var _0x557fbe=_0x44da73[_0x47adaf>>>0x2]>>>0x18-_0x47adaf%0x4*0x8&0xff,_0x54c856=_0x44da73[_0x47adaf+0x1>>>0x2]>>>0x18-(_0x47adaf+0x1)%0x4*0x8&0xff,_0x5b8369=_0x44da73[_0x47adaf+0x2>>>0x2]>>>0x18-(_0x47adaf+0x2)%0x4*0x8&0xff,_0x2ddd10=_0x557fbe<<0x10|_0x54c856<<0x8|_0x5b8369,_0x5deddc=0x0;_0x5deddc<0x4&&_0x47adaf+_0x5deddc*0.75<_0xbcd353;_0x5deddc++)_0x43ff04['push'](_0x184ab4[_0x487b83(0x3ac)](_0x2ddd10>>>0x6*(0x3-_0x5deddc)&0x3f));var _0x437025=_0x184ab4['charAt'](0x40);if(_0x437025){for(;_0x43ff04[_0x487b83(0x373)]%0x4;)_0x43ff04['push'](_0x437025);}return _0x43ff04['join']('');},'parse':function(_0x239fa2){var _0x3b4c67=_0x205b23,_0x1d09b5=_0x239fa2[_0x3b4c67(0x373)],_0x426eb8=this['_map'],_0x3cfa09=this[_0x3b4c67(0x51f)];if(!_0x3cfa09){_0x3cfa09=this[_0x3b4c67(0x51f)]=[];for(var _0x171d6c=0x0;_0x171d6c<_0x426eb8[_0x3b4c67(0x373)];_0x171d6c++)_0x3cfa09[_0x426eb8[_0x3b4c67(0x2b3)](_0x171d6c)]=_0x171d6c;}var _0x1fe5bb=_0x426eb8[_0x3b4c67(0x3ac)](0x40);if(_0x1fe5bb){var _0x5b795b=_0x239fa2[_0x3b4c67(0x2af)](_0x1fe5bb);_0x5b795b!==-0x1&&(_0x1d09b5=_0x5b795b);}return _0x598220(_0x239fa2,_0x1d09b5,_0x3cfa09);},'_map':_0x205b23(0x4a4)};function _0x598220(_0x2c0710,_0xae9326,_0x134b4f){var _0x19aa07=_0x205b23;for(var _0x22d7b2=[],_0x1b069f=0x0,_0x278d73=0x0;_0x278d73<_0xae9326;_0x278d73++)if(_0x278d73%0x4){var _0x581ba8=_0x134b4f[_0x2c0710[_0x19aa07(0x2b3)](_0x278d73-0x1)]<<_0x278d73%0x4*0x2,_0x1ddf26=_0x134b4f[_0x2c0710[_0x19aa07(0x2b3)](_0x278d73)]>>>0x6-_0x278d73%0x4*0x2,_0x3c8599=_0x581ba8|_0x1ddf26;_0x22d7b2[_0x1b069f>>>0x2]|=_0x3c8599<<0x18-_0x1b069f%0x4*0x8,_0x1b069f++;}return _0xbebad4[_0x19aa07(0x427)](_0x22d7b2,_0x1b069f);}}()),_0x1c0cb1['enc'][_0x10c5bf(0x33e)];}));}(_0x4f435c)),_0x4f435c['exports'];}var _0x4c2841={'exports':{}},_0x3444cb=_0x4c2841[_0x4344df(0x219)],_0x24ff04;function _0x273c68(){var _0x500390=_0x4344df;return _0x24ff04||(_0x24ff04=0x1,function(_0x2ce223,_0x308f27){(function(_0x3de293,_0x5964af){var _0x4292de=_0x47b6;_0x2ce223[_0x4292de(0x219)]=_0x5964af(_0x309548());}(_0x3444cb,function(_0x274d45){var _0x54e5d5=_0x47b6;return function(_0xb4be7c){var _0x535c45=_0x47b6,_0x3dcd28=_0x274d45,_0x106a43=_0x3dcd28[_0x535c45(0x313)],_0x3050da=_0x106a43[_0x535c45(0x449)],_0x13052a=_0x106a43['Hasher'],_0x10a2d6=_0x3dcd28[_0x535c45(0x3ea)],_0x4377a5=[];(function(){var _0xc8fd27=_0x535c45;for(var _0x33ed10=0x0;_0x33ed10<0x40;_0x33ed10++)_0x4377a5[_0x33ed10]=_0xb4be7c[_0xc8fd27(0x4be)](_0xb4be7c[_0xc8fd27(0x30c)](_0x33ed10+0x1))*0x100000000|0x0;}());var _0xfcba45=_0x10a2d6[_0x535c45(0x530)]=_0x13052a[_0x535c45(0x274)]({'_doReset':function(){var _0x1289b1=_0x535c45;this[_0x1289b1(0x2bb)]=new _0x3050da[(_0x1289b1(0x4f3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x25c291,_0x55165c){var _0x2de699=_0x535c45;for(var _0x187f68=0x0;_0x187f68<0x10;_0x187f68++){var _0x44aafa=_0x55165c+_0x187f68,_0x679d25=_0x25c291[_0x44aafa];_0x25c291[_0x44aafa]=(_0x679d25<<0x8|_0x679d25>>>0x18)&0xff00ff|(_0x679d25<<0x18|_0x679d25>>>0x8)&0xff00ff00;}var _0x520888=this[_0x2de699(0x2bb)][_0x2de699(0x2c7)],_0xc8982f=_0x25c291[_0x55165c+0x0],_0xada7c2=_0x25c291[_0x55165c+0x1],_0x3846b2=_0x25c291[_0x55165c+0x2],_0x2ea504=_0x25c291[_0x55165c+0x3],_0x44a22f=_0x25c291[_0x55165c+0x4],_0x245349=_0x25c291[_0x55165c+0x5],_0x5baa1b=_0x25c291[_0x55165c+0x6],_0x29d9ba=_0x25c291[_0x55165c+0x7],_0x5af35f=_0x25c291[_0x55165c+0x8],_0x200fa0=_0x25c291[_0x55165c+0x9],_0x25dc49=_0x25c291[_0x55165c+0xa],_0x373fb3=_0x25c291[_0x55165c+0xb],_0x3014fb=_0x25c291[_0x55165c+0xc],_0x54ec38=_0x25c291[_0x55165c+0xd],_0x2577d6=_0x25c291[_0x55165c+0xe],_0x5750b4=_0x25c291[_0x55165c+0xf],_0x53aad6=_0x520888[0x0],_0x2dcf9f=_0x520888[0x1],_0x27f8a0=_0x520888[0x2],_0x471ba9=_0x520888[0x3];_0x53aad6=_0x96e107(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0xc8982f,0x7,_0x4377a5[0x0]),_0x471ba9=_0x96e107(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0xada7c2,0xc,_0x4377a5[0x1]),_0x27f8a0=_0x96e107(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x3846b2,0x11,_0x4377a5[0x2]),_0x2dcf9f=_0x96e107(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x2ea504,0x16,_0x4377a5[0x3]),_0x53aad6=_0x96e107(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x44a22f,0x7,_0x4377a5[0x4]),_0x471ba9=_0x96e107(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x245349,0xc,_0x4377a5[0x5]),_0x27f8a0=_0x96e107(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x5baa1b,0x11,_0x4377a5[0x6]),_0x2dcf9f=_0x96e107(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x29d9ba,0x16,_0x4377a5[0x7]),_0x53aad6=_0x96e107(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x5af35f,0x7,_0x4377a5[0x8]),_0x471ba9=_0x96e107(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x200fa0,0xc,_0x4377a5[0x9]),_0x27f8a0=_0x96e107(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x25dc49,0x11,_0x4377a5[0xa]),_0x2dcf9f=_0x96e107(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x373fb3,0x16,_0x4377a5[0xb]),_0x53aad6=_0x96e107(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x3014fb,0x7,_0x4377a5[0xc]),_0x471ba9=_0x96e107(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x54ec38,0xc,_0x4377a5[0xd]),_0x27f8a0=_0x96e107(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x2577d6,0x11,_0x4377a5[0xe]),_0x2dcf9f=_0x96e107(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x5750b4,0x16,_0x4377a5[0xf]),_0x53aad6=_0x53d137(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0xada7c2,0x5,_0x4377a5[0x10]),_0x471ba9=_0x53d137(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x5baa1b,0x9,_0x4377a5[0x11]),_0x27f8a0=_0x53d137(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x373fb3,0xe,_0x4377a5[0x12]),_0x2dcf9f=_0x53d137(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0xc8982f,0x14,_0x4377a5[0x13]),_0x53aad6=_0x53d137(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x245349,0x5,_0x4377a5[0x14]),_0x471ba9=_0x53d137(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x25dc49,0x9,_0x4377a5[0x15]),_0x27f8a0=_0x53d137(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x5750b4,0xe,_0x4377a5[0x16]),_0x2dcf9f=_0x53d137(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x44a22f,0x14,_0x4377a5[0x17]),_0x53aad6=_0x53d137(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x200fa0,0x5,_0x4377a5[0x18]),_0x471ba9=_0x53d137(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x2577d6,0x9,_0x4377a5[0x19]),_0x27f8a0=_0x53d137(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x2ea504,0xe,_0x4377a5[0x1a]),_0x2dcf9f=_0x53d137(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x5af35f,0x14,_0x4377a5[0x1b]),_0x53aad6=_0x53d137(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x54ec38,0x5,_0x4377a5[0x1c]),_0x471ba9=_0x53d137(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x3846b2,0x9,_0x4377a5[0x1d]),_0x27f8a0=_0x53d137(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x29d9ba,0xe,_0x4377a5[0x1e]),_0x2dcf9f=_0x53d137(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x3014fb,0x14,_0x4377a5[0x1f]),_0x53aad6=_0x5df3bc(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x245349,0x4,_0x4377a5[0x20]),_0x471ba9=_0x5df3bc(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x5af35f,0xb,_0x4377a5[0x21]),_0x27f8a0=_0x5df3bc(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x373fb3,0x10,_0x4377a5[0x22]),_0x2dcf9f=_0x5df3bc(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x2577d6,0x17,_0x4377a5[0x23]),_0x53aad6=_0x5df3bc(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0xada7c2,0x4,_0x4377a5[0x24]),_0x471ba9=_0x5df3bc(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x44a22f,0xb,_0x4377a5[0x25]),_0x27f8a0=_0x5df3bc(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x29d9ba,0x10,_0x4377a5[0x26]),_0x2dcf9f=_0x5df3bc(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x25dc49,0x17,_0x4377a5[0x27]),_0x53aad6=_0x5df3bc(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x54ec38,0x4,_0x4377a5[0x28]),_0x471ba9=_0x5df3bc(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0xc8982f,0xb,_0x4377a5[0x29]),_0x27f8a0=_0x5df3bc(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x2ea504,0x10,_0x4377a5[0x2a]),_0x2dcf9f=_0x5df3bc(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x5baa1b,0x17,_0x4377a5[0x2b]),_0x53aad6=_0x5df3bc(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x200fa0,0x4,_0x4377a5[0x2c]),_0x471ba9=_0x5df3bc(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x3014fb,0xb,_0x4377a5[0x2d]),_0x27f8a0=_0x5df3bc(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x5750b4,0x10,_0x4377a5[0x2e]),_0x2dcf9f=_0x5df3bc(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x3846b2,0x17,_0x4377a5[0x2f]),_0x53aad6=_0x3fa665(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0xc8982f,0x6,_0x4377a5[0x30]),_0x471ba9=_0x3fa665(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x29d9ba,0xa,_0x4377a5[0x31]),_0x27f8a0=_0x3fa665(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x2577d6,0xf,_0x4377a5[0x32]),_0x2dcf9f=_0x3fa665(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x245349,0x15,_0x4377a5[0x33]),_0x53aad6=_0x3fa665(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x3014fb,0x6,_0x4377a5[0x34]),_0x471ba9=_0x3fa665(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x2ea504,0xa,_0x4377a5[0x35]),_0x27f8a0=_0x3fa665(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x25dc49,0xf,_0x4377a5[0x36]),_0x2dcf9f=_0x3fa665(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0xada7c2,0x15,_0x4377a5[0x37]),_0x53aad6=_0x3fa665(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x5af35f,0x6,_0x4377a5[0x38]),_0x471ba9=_0x3fa665(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x5750b4,0xa,_0x4377a5[0x39]),_0x27f8a0=_0x3fa665(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x5baa1b,0xf,_0x4377a5[0x3a]),_0x2dcf9f=_0x3fa665(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x54ec38,0x15,_0x4377a5[0x3b]),_0x53aad6=_0x3fa665(_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x44a22f,0x6,_0x4377a5[0x3c]),_0x471ba9=_0x3fa665(_0x471ba9,_0x53aad6,_0x2dcf9f,_0x27f8a0,_0x373fb3,0xa,_0x4377a5[0x3d]),_0x27f8a0=_0x3fa665(_0x27f8a0,_0x471ba9,_0x53aad6,_0x2dcf9f,_0x3846b2,0xf,_0x4377a5[0x3e]),_0x2dcf9f=_0x3fa665(_0x2dcf9f,_0x27f8a0,_0x471ba9,_0x53aad6,_0x200fa0,0x15,_0x4377a5[0x3f]),_0x520888[0x0]=_0x520888[0x0]+_0x53aad6|0x0,_0x520888[0x1]=_0x520888[0x1]+_0x2dcf9f|0x0,_0x520888[0x2]=_0x520888[0x2]+_0x27f8a0|0x0,_0x520888[0x3]=_0x520888[0x3]+_0x471ba9|0x0;},'_doFinalize':function(){var _0x502429=_0x535c45,_0x377811=this['_data'],_0x2b1da2=_0x377811[_0x502429(0x2c7)],_0x34050d=this[_0x502429(0x492)]*0x8,_0x8d2155=_0x377811[_0x502429(0x2bd)]*0x8;_0x2b1da2[_0x8d2155>>>0x5]|=0x80<<0x18-_0x8d2155%0x20;var _0xe01032=_0xb4be7c[_0x502429(0x26e)](_0x34050d/0x100000000),_0xefa40d=_0x34050d;_0x2b1da2[(_0x8d2155+0x40>>>0x9<<0x4)+0xf]=(_0xe01032<<0x8|_0xe01032>>>0x18)&0xff00ff|(_0xe01032<<0x18|_0xe01032>>>0x8)&0xff00ff00,_0x2b1da2[(_0x8d2155+0x40>>>0x9<<0x4)+0xe]=(_0xefa40d<<0x8|_0xefa40d>>>0x18)&0xff00ff|(_0xefa40d<<0x18|_0xefa40d>>>0x8)&0xff00ff00,_0x377811[_0x502429(0x2bd)]=(_0x2b1da2[_0x502429(0x373)]+0x1)*0x4,this['_process']();for(var _0xea85bb=this[_0x502429(0x2bb)],_0xc4d28d=_0xea85bb[_0x502429(0x2c7)],_0x3a294c=0x0;_0x3a294c<0x4;_0x3a294c++){var _0x541e4b=_0xc4d28d[_0x3a294c];_0xc4d28d[_0x3a294c]=(_0x541e4b<<0x8|_0x541e4b>>>0x18)&0xff00ff|(_0x541e4b<<0x18|_0x541e4b>>>0x8)&0xff00ff00;}return _0xea85bb;},'clone':function(){var _0x51f435=_0x535c45,_0x594f54=_0x13052a[_0x51f435(0x36f)]['call'](this);return _0x594f54[_0x51f435(0x2bb)]=this[_0x51f435(0x2bb)][_0x51f435(0x36f)](),_0x594f54;}});function _0x96e107(_0xae3064,_0x4ef6a2,_0xff4d30,_0x148aaf,_0x35f959,_0x2aefb8,_0x452424){var _0x5351c4=_0xae3064+(_0x4ef6a2&_0xff4d30|~_0x4ef6a2&_0x148aaf)+_0x35f959+_0x452424;return(_0x5351c4<<_0x2aefb8|_0x5351c4>>>0x20-_0x2aefb8)+_0x4ef6a2;}function _0x53d137(_0x27c096,_0x43f44a,_0x34ab0b,_0x481cb0,_0x34c14b,_0x61a4a8,_0x30baf9){var _0x115caf=_0x27c096+(_0x43f44a&_0x481cb0|_0x34ab0b&~_0x481cb0)+_0x34c14b+_0x30baf9;return(_0x115caf<<_0x61a4a8|_0x115caf>>>0x20-_0x61a4a8)+_0x43f44a;}function _0x5df3bc(_0x269514,_0x349927,_0x3361a3,_0x342a2e,_0x120093,_0x310e8b,_0x1e3728){var _0x59305e=_0x269514+(_0x349927^_0x3361a3^_0x342a2e)+_0x120093+_0x1e3728;return(_0x59305e<<_0x310e8b|_0x59305e>>>0x20-_0x310e8b)+_0x349927;}function _0x3fa665(_0x1183b3,_0x1df300,_0x4ba9c7,_0x2058ba,_0x322672,_0x2b3ddd,_0x5981c6){var _0x38fe30=_0x1183b3+(_0x4ba9c7^(_0x1df300|~_0x2058ba))+_0x322672+_0x5981c6;return(_0x38fe30<<_0x2b3ddd|_0x38fe30>>>0x20-_0x2b3ddd)+_0x1df300;}_0x3dcd28[_0x535c45(0x530)]=_0x13052a[_0x535c45(0x29a)](_0xfcba45),_0x3dcd28['HmacMD5']=_0x13052a[_0x535c45(0x297)](_0xfcba45);}(Math),_0x274d45[_0x54e5d5(0x530)];}));}(_0x4c2841)),_0x4c2841[_0x500390(0x219)];}var _0x32d64e={'exports':{}},_0x8a2e21={'exports':{}},_0x56f53b=_0x8a2e21[_0x4344df(0x219)],_0x5635be;function _0x26d300(){var _0x1e74b2=_0x4344df;return _0x5635be||(_0x5635be=0x1,function(_0x3691f3,_0x2de65a){(function(_0x4b1f16,_0xd32787){_0x3691f3['exports']=_0xd32787(_0x309548());}(_0x56f53b,function(_0x5832f4){var _0x3ab620=_0x47b6;return(function(){var _0x3242bc=_0x47b6,_0x4d4c34=_0x5832f4,_0x14a2f7=_0x4d4c34[_0x3242bc(0x313)],_0x313c2d=_0x14a2f7['WordArray'],_0x190470=_0x14a2f7[_0x3242bc(0x3d5)],_0x52ea73=_0x4d4c34['algo'],_0x3e8928=[],_0xc5a454=_0x52ea73['SHA1']=_0x190470[_0x3242bc(0x274)]({'_doReset':function(){var _0x57084e=_0x3242bc;this[_0x57084e(0x2bb)]=new _0x313c2d[(_0x57084e(0x4f3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x91fc11,_0x261965){var _0x3820c5=_0x3242bc;for(var _0x14c40a=this[_0x3820c5(0x2bb)][_0x3820c5(0x2c7)],_0x4e46cb=_0x14c40a[0x0],_0xe34d49=_0x14c40a[0x1],_0x55e1b4=_0x14c40a[0x2],_0x394b9f=_0x14c40a[0x3],_0x324f88=_0x14c40a[0x4],_0x505306=0x0;_0x505306<0x50;_0x505306++){if(_0x505306<0x10)_0x3e8928[_0x505306]=_0x91fc11[_0x261965+_0x505306]|0x0;else{var _0x1e2b13=_0x3e8928[_0x505306-0x3]^_0x3e8928[_0x505306-0x8]^_0x3e8928[_0x505306-0xe]^_0x3e8928[_0x505306-0x10];_0x3e8928[_0x505306]=_0x1e2b13<<0x1|_0x1e2b13>>>0x1f;}var _0x479b02=(_0x4e46cb<<0x5|_0x4e46cb>>>0x1b)+_0x324f88+_0x3e8928[_0x505306];_0x505306<0x14?_0x479b02+=(_0xe34d49&_0x55e1b4|~_0xe34d49&_0x394b9f)+0x5a827999:_0x505306<0x28?_0x479b02+=(_0xe34d49^_0x55e1b4^_0x394b9f)+0x6ed9eba1:_0x505306<0x3c?_0x479b02+=(_0xe34d49&_0x55e1b4|_0xe34d49&_0x394b9f|_0x55e1b4&_0x394b9f)-0x70e44324:_0x479b02+=(_0xe34d49^_0x55e1b4^_0x394b9f)-0x359d3e2a,_0x324f88=_0x394b9f,_0x394b9f=_0x55e1b4,_0x55e1b4=_0xe34d49<<0x1e|_0xe34d49>>>0x2,_0xe34d49=_0x4e46cb,_0x4e46cb=_0x479b02;}_0x14c40a[0x0]=_0x14c40a[0x0]+_0x4e46cb|0x0,_0x14c40a[0x1]=_0x14c40a[0x1]+_0xe34d49|0x0,_0x14c40a[0x2]=_0x14c40a[0x2]+_0x55e1b4|0x0,_0x14c40a[0x3]=_0x14c40a[0x3]+_0x394b9f|0x0,_0x14c40a[0x4]=_0x14c40a[0x4]+_0x324f88|0x0;},'_doFinalize':function(){var _0x509e37=_0x3242bc,_0x3c3558=this[_0x509e37(0x512)],_0x110d36=_0x3c3558[_0x509e37(0x2c7)],_0x4b4252=this[_0x509e37(0x492)]*0x8,_0x5463c6=_0x3c3558[_0x509e37(0x2bd)]*0x8;return _0x110d36[_0x5463c6>>>0x5]|=0x80<<0x18-_0x5463c6%0x20,_0x110d36[(_0x5463c6+0x40>>>0x9<<0x4)+0xe]=Math[_0x509e37(0x26e)](_0x4b4252/0x100000000),_0x110d36[(_0x5463c6+0x40>>>0x9<<0x4)+0xf]=_0x4b4252,_0x3c3558[_0x509e37(0x2bd)]=_0x110d36[_0x509e37(0x373)]*0x4,this['_process'](),this[_0x509e37(0x2bb)];},'clone':function(){var _0x4d1221=_0x3242bc,_0x5a35bc=_0x190470[_0x4d1221(0x36f)][_0x4d1221(0x3d0)](this);return _0x5a35bc['_hash']=this[_0x4d1221(0x2bb)][_0x4d1221(0x36f)](),_0x5a35bc;}});_0x4d4c34[_0x3242bc(0x521)]=_0x190470[_0x3242bc(0x29a)](_0xc5a454),_0x4d4c34[_0x3242bc(0x43c)]=_0x190470['_createHmacHelper'](_0xc5a454);}()),_0x5832f4[_0x3ab620(0x521)];}));}(_0x8a2e21)),_0x8a2e21[_0x1e74b2(0x219)];}var _0x3f1825={'exports':{}},_0x491041=_0x3f1825['exports'],_0x35aea7;function _0x2c12da(){var _0x801a71=_0x4344df;return _0x35aea7||(_0x35aea7=0x1,function(_0x1cd6ed,_0xffb7bd){(function(_0x5d3104,_0xe364be){var _0x981f67=_0x47b6;_0x1cd6ed[_0x981f67(0x219)]=_0xe364be(_0x309548());}(_0x491041,function(_0x4dad9e){(function(){var _0x4581a4=_0x47b6,_0x77853e=_0x4dad9e,_0x3dd3f7=_0x77853e[_0x4581a4(0x313)],_0x5551a9=_0x3dd3f7[_0x4581a4(0x55a)],_0x188711=_0x77853e[_0x4581a4(0x24d)],_0xe67227=_0x188711[_0x4581a4(0x2a4)],_0x4be1f9=_0x77853e['algo'];_0x4be1f9[_0x4581a4(0x280)]=_0x5551a9['extend']({'init':function(_0x2dc626,_0x278536){var _0x5e4271=_0x4581a4;_0x2dc626=this[_0x5e4271(0x1f1)]=new _0x2dc626['init'](),typeof _0x278536==_0x5e4271(0x328)&&(_0x278536=_0xe67227[_0x5e4271(0x1e3)](_0x278536));var _0x476ab6=_0x2dc626[_0x5e4271(0x34b)],_0x54f76d=_0x476ab6*0x4;_0x278536[_0x5e4271(0x2bd)]>_0x54f76d&&(_0x278536=_0x2dc626[_0x5e4271(0x45e)](_0x278536)),_0x278536[_0x5e4271(0x28e)]();for(var _0x13eba2=this[_0x5e4271(0x22d)]=_0x278536[_0x5e4271(0x36f)](),_0x2e15fa=this[_0x5e4271(0x45b)]=_0x278536[_0x5e4271(0x36f)](),_0x25169f=_0x13eba2[_0x5e4271(0x2c7)],_0x1b3788=_0x2e15fa['words'],_0x463d46=0x0;_0x463d46<_0x476ab6;_0x463d46++)_0x25169f[_0x463d46]^=0x5c5c5c5c,_0x1b3788[_0x463d46]^=0x36363636;_0x13eba2['sigBytes']=_0x2e15fa[_0x5e4271(0x2bd)]=_0x54f76d,this[_0x5e4271(0x3e1)]();},'reset':function(){var _0xc9d14c=_0x4581a4,_0x42d6cc=this[_0xc9d14c(0x1f1)];_0x42d6cc[_0xc9d14c(0x3e1)](),_0x42d6cc['update'](this['_iKey']);},'update':function(_0x51cad3){var _0x3b3abc=_0x4581a4;return this[_0x3b3abc(0x1f1)][_0x3b3abc(0x2ed)](_0x51cad3),this;},'finalize':function(_0x33fe7e){var _0x35ace9=_0x4581a4,_0xb87ca3=this[_0x35ace9(0x1f1)],_0x12301b=_0xb87ca3[_0x35ace9(0x45e)](_0x33fe7e);_0xb87ca3[_0x35ace9(0x3e1)]();var _0x1649a7=_0xb87ca3[_0x35ace9(0x45e)](this[_0x35ace9(0x22d)][_0x35ace9(0x36f)]()[_0x35ace9(0x35b)](_0x12301b));return _0x1649a7;}});}());}));}(_0x3f1825)),_0x3f1825[_0x801a71(0x219)];}var _0x29afc5=_0x32d64e[_0x4344df(0x219)],_0x1519a9;function _0x1e9f39(){var _0xb31974=_0x4344df;return _0x1519a9||(_0x1519a9=0x1,function(_0xbcf864,_0x38df66){(function(_0x260533,_0x5169c1,_0x4152cd){var _0x3c16e4=_0x47b6;_0xbcf864[_0x3c16e4(0x219)]=_0x5169c1(_0x309548(),_0x26d300(),_0x2c12da());}(_0x29afc5,function(_0x7178f3){var _0x4f6613=_0x47b6;return(function(){var _0x3e9ceb=_0x47b6,_0x139c5e=_0x7178f3,_0x59ea1a=_0x139c5e[_0x3e9ceb(0x313)],_0x456e78=_0x59ea1a[_0x3e9ceb(0x55a)],_0x351264=_0x59ea1a[_0x3e9ceb(0x449)],_0x3f0796=_0x139c5e[_0x3e9ceb(0x3ea)],_0x2a0096=_0x3f0796[_0x3e9ceb(0x530)],_0x29817d=_0x3f0796[_0x3e9ceb(0x303)]=_0x456e78[_0x3e9ceb(0x274)]({'cfg':_0x456e78[_0x3e9ceb(0x274)]({'keySize':0x80/0x20,'hasher':_0x2a0096,'iterations':0x1}),'init':function(_0x1e1c83){var _0x3850e2=_0x3e9ceb;this['cfg']=this[_0x3850e2(0x20e)][_0x3850e2(0x274)](_0x1e1c83);},'compute':function(_0x5ef199,_0x4a47a0){var _0x4de751=_0x3e9ceb;for(var _0x4ff6cf,_0x31647c=this[_0x4de751(0x20e)],_0x21ea56=_0x31647c['hasher'][_0x4de751(0x427)](),_0x477790=_0x351264[_0x4de751(0x427)](),_0x19ea74=_0x477790[_0x4de751(0x2c7)],_0x433581=_0x31647c[_0x4de751(0x551)],_0xf60d62=_0x31647c[_0x4de751(0x2b8)];_0x19ea74[_0x4de751(0x373)]<_0x433581;){_0x4ff6cf&&_0x21ea56[_0x4de751(0x2ed)](_0x4ff6cf),_0x4ff6cf=_0x21ea56[_0x4de751(0x2ed)](_0x5ef199)[_0x4de751(0x45e)](_0x4a47a0),_0x21ea56[_0x4de751(0x3e1)]();for(var _0x1698e0=0x1;_0x1698e0<_0xf60d62;_0x1698e0++)_0x4ff6cf=_0x21ea56[_0x4de751(0x45e)](_0x4ff6cf),_0x21ea56[_0x4de751(0x3e1)]();_0x477790[_0x4de751(0x35b)](_0x4ff6cf);}return _0x477790['sigBytes']=_0x433581*0x4,_0x477790;}});_0x139c5e[_0x3e9ceb(0x303)]=function(_0x2cff26,_0x1dd905,_0x36c020){var _0x3d3a37=_0x3e9ceb;return _0x29817d[_0x3d3a37(0x427)](_0x36c020)['compute'](_0x2cff26,_0x1dd905);};}()),_0x7178f3[_0x4f6613(0x303)];}));}(_0x32d64e)),_0x32d64e[_0xb31974(0x219)];}var _0x9a43d5={'exports':{}},_0x344366=_0x9a43d5[_0x4344df(0x219)],_0x3e9b72;function _0x4c5b38(){var _0x2adb39=_0x4344df;return _0x3e9b72||(_0x3e9b72=0x1,function(_0x14e6c6,_0xafc978){(function(_0x5a670d,_0x2be083,_0x5ee543){var _0x4b8c06=_0x47b6;_0x14e6c6[_0x4b8c06(0x219)]=_0x2be083(_0x309548(),_0x1e9f39());}(_0x344366,function(_0x32fe35){var _0x2ad1da=_0x47b6;_0x32fe35[_0x2ad1da(0x313)][_0x2ad1da(0x314)]||function(_0x5a158c){var _0x23dd02=_0x2ad1da,_0x3a0b50=_0x32fe35,_0x4b796d=_0x3a0b50[_0x23dd02(0x313)],_0x2d8411=_0x4b796d[_0x23dd02(0x55a)],_0x291980=_0x4b796d[_0x23dd02(0x449)],_0x48ece2=_0x4b796d[_0x23dd02(0x4c4)],_0x4df30f=_0x3a0b50['enc'];_0x4df30f[_0x23dd02(0x2a4)];var _0x5390bf=_0x4df30f[_0x23dd02(0x33e)],_0x3b956a=_0x3a0b50[_0x23dd02(0x3ea)],_0xc3f38a=_0x3b956a[_0x23dd02(0x303)],_0x21c5f6=_0x4b796d[_0x23dd02(0x314)]=_0x48ece2[_0x23dd02(0x274)]({'cfg':_0x2d8411[_0x23dd02(0x274)](),'createEncryptor':function(_0x51ef9d,_0x518c09){var _0x156157=_0x23dd02;return this['create'](this[_0x156157(0x2f2)],_0x51ef9d,_0x518c09);},'createDecryptor':function(_0x101396,_0x3d15f8){var _0x31718e=_0x23dd02;return this[_0x31718e(0x427)](this[_0x31718e(0x4b1)],_0x101396,_0x3d15f8);},'init':function(_0x5bdc4e,_0x3ed843,_0x3627b7){var _0x2b0870=_0x23dd02;this[_0x2b0870(0x20e)]=this['cfg']['extend'](_0x3627b7),this[_0x2b0870(0x2fe)]=_0x5bdc4e,this[_0x2b0870(0x3f3)]=_0x3ed843,this[_0x2b0870(0x3e1)]();},'reset':function(){var _0x4f830b=_0x23dd02;_0x48ece2[_0x4f830b(0x3e1)][_0x4f830b(0x3d0)](this),this['_doReset']();},'process':function(_0x196203){var _0x4598f3=_0x23dd02;return this[_0x4598f3(0x52e)](_0x196203),this['_process']();},'finalize':function(_0x50d6c5){var _0x2f6c05=_0x23dd02;_0x50d6c5&&this[_0x2f6c05(0x52e)](_0x50d6c5);var _0x51989a=this[_0x2f6c05(0x4ab)]();return _0x51989a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x33aa47(_0x1c16c0){var _0x35868e=_0x47b6;return typeof _0x1c16c0==_0x35868e(0x328)?_0x59a3e1:_0x454867;}return function(_0x1d3954){return{'encrypt':function(_0xc180f1,_0x534653,_0x650ec9){var _0x458bd8=_0x47b6;return _0x33aa47(_0x534653)[_0x458bd8(0x2ea)](_0x1d3954,_0xc180f1,_0x534653,_0x650ec9);},'decrypt':function(_0x54fbb0,_0x39ecd3,_0x2a74b8){return _0x33aa47(_0x39ecd3)['decrypt'](_0x1d3954,_0x54fbb0,_0x39ecd3,_0x2a74b8);}};};}())});_0x4b796d[_0x23dd02(0x533)]=_0x21c5f6[_0x23dd02(0x274)]({'_doFinalize':function(){var _0x35302e=this['_process'](!0x0);return _0x35302e;},'blockSize':0x1});var _0x56477e=_0x3a0b50[_0x23dd02(0x4dc)]={},_0x4d6dc9=_0x4b796d[_0x23dd02(0x4cf)]=_0x2d8411[_0x23dd02(0x274)]({'createEncryptor':function(_0x42ce2b,_0x5edaf6){var _0x3c47aa=_0x23dd02;return this[_0x3c47aa(0x2bc)][_0x3c47aa(0x427)](_0x42ce2b,_0x5edaf6);},'createDecryptor':function(_0x16e6d3,_0x5215ef){var _0x4cb06e=_0x23dd02;return this['Decryptor'][_0x4cb06e(0x427)](_0x16e6d3,_0x5215ef);},'init':function(_0x3c98e3,_0x2c42e2){var _0x4474f1=_0x23dd02;this['_cipher']=_0x3c98e3,this[_0x4474f1(0x341)]=_0x2c42e2;}}),_0x4f0fb7=_0x56477e[_0x23dd02(0x2fb)]=(function(){var _0x5c1628=_0x23dd02,_0x5795a3=_0x4d6dc9[_0x5c1628(0x274)]();_0x5795a3['Encryptor']=_0x5795a3['extend']({'processBlock':function(_0x7ee87,_0x319620){var _0x44f338=_0x5c1628,_0x24e7ac=this[_0x44f338(0x39c)],_0xdbe74d=_0x24e7ac['blockSize'];_0xf89a9f[_0x44f338(0x3d0)](this,_0x7ee87,_0x319620,_0xdbe74d),_0x24e7ac[_0x44f338(0x48b)](_0x7ee87,_0x319620),this[_0x44f338(0x4fe)]=_0x7ee87['slice'](_0x319620,_0x319620+_0xdbe74d);}}),_0x5795a3[_0x5c1628(0x1f3)]=_0x5795a3[_0x5c1628(0x274)]({'processBlock':function(_0x453a75,_0x3f0373){var _0xc41847=_0x5c1628,_0x3c6e5e=this['_cipher'],_0x18b31f=_0x3c6e5e[_0xc41847(0x34b)],_0x30d322=_0x453a75[_0xc41847(0x295)](_0x3f0373,_0x3f0373+_0x18b31f);_0x3c6e5e[_0xc41847(0x537)](_0x453a75,_0x3f0373),_0xf89a9f[_0xc41847(0x3d0)](this,_0x453a75,_0x3f0373,_0x18b31f),this['_prevBlock']=_0x30d322;}});function _0xf89a9f(_0x355014,_0x3cc001,_0x39bae7){var _0xba261b=_0x5c1628,_0x40d188,_0x4fe554=this[_0xba261b(0x341)];_0x4fe554?(_0x40d188=_0x4fe554,this[_0xba261b(0x341)]=_0x5a158c):_0x40d188=this['_prevBlock'];for(var _0x3bcf05=0x0;_0x3bcf05<_0x39bae7;_0x3bcf05++)_0x355014[_0x3cc001+_0x3bcf05]^=_0x40d188[_0x3bcf05];}return _0x5795a3;}()),_0x2194d5=_0x3a0b50[_0x23dd02(0x215)]={},_0x49a585=_0x2194d5[_0x23dd02(0x472)]={'pad':function(_0x1b0a00,_0x37d797){var _0x4ffb89=_0x23dd02;for(var _0x52d03a=_0x37d797*0x4,_0x375b27=_0x52d03a-_0x1b0a00[_0x4ffb89(0x2bd)]%_0x52d03a,_0x42e0cd=_0x375b27<<0x18|_0x375b27<<0x10|_0x375b27<<0x8|_0x375b27,_0x182999=[],_0x58dda2=0x0;_0x58dda2<_0x375b27;_0x58dda2+=0x4)_0x182999[_0x4ffb89(0x21b)](_0x42e0cd);var _0x1dd613=_0x291980['create'](_0x182999,_0x375b27);_0x1b0a00['concat'](_0x1dd613);},'unpad':function(_0x393644){var _0x3cf161=_0x23dd02,_0x487a8e=_0x393644[_0x3cf161(0x2c7)][_0x393644['sigBytes']-0x1>>>0x2]&0xff;_0x393644[_0x3cf161(0x2bd)]-=_0x487a8e;}};_0x4b796d[_0x23dd02(0x3ab)]=_0x21c5f6[_0x23dd02(0x274)]({'cfg':_0x21c5f6['cfg'][_0x23dd02(0x274)]({'mode':_0x4f0fb7,'padding':_0x49a585}),'reset':function(){var _0xc675fc=_0x23dd02,_0x241bf5;_0x21c5f6[_0xc675fc(0x3e1)][_0xc675fc(0x3d0)](this);var _0x1da51d=this[_0xc675fc(0x20e)],_0x510bec=_0x1da51d['iv'],_0x281373=_0x1da51d['mode'];this[_0xc675fc(0x2fe)]==this[_0xc675fc(0x2f2)]?_0x241bf5=_0x281373['createEncryptor']:(_0x241bf5=_0x281373[_0xc675fc(0x276)],this[_0xc675fc(0x1d2)]=0x1),this[_0xc675fc(0x4c7)]&&this[_0xc675fc(0x4c7)]['__creator']==_0x241bf5?this[_0xc675fc(0x4c7)][_0xc675fc(0x4f3)](this,_0x510bec&&_0x510bec[_0xc675fc(0x2c7)]):(this[_0xc675fc(0x4c7)]=_0x241bf5['call'](_0x281373,this,_0x510bec&&_0x510bec[_0xc675fc(0x2c7)]),this[_0xc675fc(0x4c7)][_0xc675fc(0x4eb)]=_0x241bf5);},'_doProcessBlock':function(_0x4bab81,_0x3dc671){var _0x402b25=_0x23dd02;this['_mode'][_0x402b25(0x33b)](_0x4bab81,_0x3dc671);},'_doFinalize':function(){var _0x37c986=_0x23dd02,_0x1ff6c3,_0x52a4d5=this[_0x37c986(0x20e)][_0x37c986(0x2f0)];return this[_0x37c986(0x2fe)]==this['_ENC_XFORM_MODE']?(_0x52a4d5[_0x37c986(0x215)](this[_0x37c986(0x512)],this[_0x37c986(0x34b)]),_0x1ff6c3=this[_0x37c986(0x38f)](!0x0)):(_0x1ff6c3=this['_process'](!0x0),_0x52a4d5[_0x37c986(0x3b1)](_0x1ff6c3)),_0x1ff6c3;},'blockSize':0x80/0x20});var _0x3df34d=_0x4b796d[_0x23dd02(0x50e)]=_0x2d8411[_0x23dd02(0x274)]({'init':function(_0xb869c8){this['mixIn'](_0xb869c8);},'toString':function(_0x2a70be){var _0x24e6c3=_0x23dd02;return(_0x2a70be||this[_0x24e6c3(0x497)])['stringify'](this);}}),_0x347a4c=_0x3a0b50[_0x23dd02(0x1f0)]={},_0x4dd5f1=_0x347a4c[_0x23dd02(0x24a)]={'stringify':function(_0x5d3ba2){var _0x480d24=_0x23dd02,_0x221214,_0x1e766c=_0x5d3ba2[_0x480d24(0x357)],_0x28f780=_0x5d3ba2[_0x480d24(0x3a3)];return _0x28f780?_0x221214=_0x291980[_0x480d24(0x427)]([0x53616c74,0x65645f5f])['concat'](_0x28f780)[_0x480d24(0x35b)](_0x1e766c):_0x221214=_0x1e766c,_0x221214[_0x480d24(0x390)](_0x5390bf);},'parse':function(_0x5e1e59){var _0x204cd1=_0x23dd02,_0x2dda8b,_0x3cf576=_0x5390bf[_0x204cd1(0x1e3)](_0x5e1e59),_0x3ea02e=_0x3cf576[_0x204cd1(0x2c7)];return _0x3ea02e[0x0]==0x53616c74&&_0x3ea02e[0x1]==0x65645f5f&&(_0x2dda8b=_0x291980[_0x204cd1(0x427)](_0x3ea02e[_0x204cd1(0x295)](0x2,0x4)),_0x3ea02e['splice'](0x0,0x4),_0x3cf576['sigBytes']-=0x10),_0x3df34d[_0x204cd1(0x427)]({'ciphertext':_0x3cf576,'salt':_0x2dda8b});}},_0x454867=_0x4b796d['SerializableCipher']=_0x2d8411['extend']({'cfg':_0x2d8411[_0x23dd02(0x274)]({'format':_0x4dd5f1}),'encrypt':function(_0x14fdd4,_0x479807,_0x19f792,_0x2c21ec){var _0x57eeee=_0x23dd02;_0x2c21ec=this['cfg'][_0x57eeee(0x274)](_0x2c21ec);var _0x2cdceb=_0x14fdd4[_0x57eeee(0x264)](_0x19f792,_0x2c21ec),_0x40bdc5=_0x2cdceb[_0x57eeee(0x45e)](_0x479807),_0x350150=_0x2cdceb['cfg'];return _0x3df34d['create']({'ciphertext':_0x40bdc5,'key':_0x19f792,'iv':_0x350150['iv'],'algorithm':_0x14fdd4,'mode':_0x350150['mode'],'padding':_0x350150['padding'],'blockSize':_0x14fdd4[_0x57eeee(0x34b)],'formatter':_0x2c21ec[_0x57eeee(0x1f0)]});},'decrypt':function(_0x57835c,_0x468cb7,_0x14b5f9,_0x4a6ce3){var _0xf49451=_0x23dd02;_0x4a6ce3=this[_0xf49451(0x20e)]['extend'](_0x4a6ce3),_0x468cb7=this['_parse'](_0x468cb7,_0x4a6ce3[_0xf49451(0x1f0)]);var _0x413415=_0x57835c[_0xf49451(0x276)](_0x14b5f9,_0x4a6ce3)[_0xf49451(0x45e)](_0x468cb7['ciphertext']);return _0x413415;},'_parse':function(_0x1496f3,_0x219764){var _0x2cbda1=_0x23dd02;return typeof _0x1496f3==_0x2cbda1(0x328)?_0x219764[_0x2cbda1(0x1e3)](_0x1496f3,this):_0x1496f3;}}),_0xeb757a=_0x3a0b50['kdf']={},_0x48aa99=_0xeb757a[_0x23dd02(0x24a)]={'execute':function(_0x487bea,_0x4fecfb,_0x1b634e,_0x5ca078,_0xedd2b7){var _0x58af34=_0x23dd02;if(_0x5ca078||(_0x5ca078=_0x291980[_0x58af34(0x48e)](0x40/0x8)),_0xedd2b7)var _0x6e3529=_0xc3f38a[_0x58af34(0x427)]({'keySize':_0x4fecfb+_0x1b634e,'hasher':_0xedd2b7})['compute'](_0x487bea,_0x5ca078);else var _0x6e3529=_0xc3f38a[_0x58af34(0x427)]({'keySize':_0x4fecfb+_0x1b634e})['compute'](_0x487bea,_0x5ca078);var _0x79e24d=_0x291980[_0x58af34(0x427)](_0x6e3529['words'][_0x58af34(0x295)](_0x4fecfb),_0x1b634e*0x4);return _0x6e3529[_0x58af34(0x2bd)]=_0x4fecfb*0x4,_0x3df34d[_0x58af34(0x427)]({'key':_0x6e3529,'iv':_0x79e24d,'salt':_0x5ca078});}},_0x59a3e1=_0x4b796d[_0x23dd02(0x20d)]=_0x454867[_0x23dd02(0x274)]({'cfg':_0x454867[_0x23dd02(0x20e)][_0x23dd02(0x274)]({'kdf':_0x48aa99}),'encrypt':function(_0x451e1c,_0x3f064e,_0x4a1c6b,_0x26ebac){var _0x258b1b=_0x23dd02;_0x26ebac=this[_0x258b1b(0x20e)][_0x258b1b(0x274)](_0x26ebac);var _0x179c25=_0x26ebac['kdf'][_0x258b1b(0x1d3)](_0x4a1c6b,_0x451e1c[_0x258b1b(0x551)],_0x451e1c['ivSize'],_0x26ebac[_0x258b1b(0x3a3)],_0x26ebac['hasher']);_0x26ebac['iv']=_0x179c25['iv'];var _0x1ef7da=_0x454867['encrypt'][_0x258b1b(0x3d0)](this,_0x451e1c,_0x3f064e,_0x179c25[_0x258b1b(0x2e5)],_0x26ebac);return _0x1ef7da[_0x258b1b(0x362)](_0x179c25),_0x1ef7da;},'decrypt':function(_0x423e0c,_0x5b703c,_0x84f85f,_0x36c632){var _0x5bb24c=_0x23dd02;_0x36c632=this[_0x5bb24c(0x20e)][_0x5bb24c(0x274)](_0x36c632),_0x5b703c=this[_0x5bb24c(0x2f7)](_0x5b703c,_0x36c632['format']);var _0xb4131=_0x36c632['kdf'][_0x5bb24c(0x1d3)](_0x84f85f,_0x423e0c[_0x5bb24c(0x551)],_0x423e0c[_0x5bb24c(0x231)],_0x5b703c['salt'],_0x36c632[_0x5bb24c(0x3df)]);_0x36c632['iv']=_0xb4131['iv'];var _0x6aa199=_0x454867[_0x5bb24c(0x38a)][_0x5bb24c(0x3d0)](this,_0x423e0c,_0x5b703c,_0xb4131[_0x5bb24c(0x2e5)],_0x36c632);return _0x6aa199;}});}();}));}(_0x9a43d5)),_0x9a43d5[_0x2adb39(0x219)];}var _0x236e0f=_0x24fa44[_0x4344df(0x219)],_0x1d1d98;function _0x3013cb(){var _0x95c431=_0x4344df;return _0x1d1d98||(_0x1d1d98=0x1,function(_0x566d49,_0x3f17b4){(function(_0x338fcd,_0x4b1cc9,_0x3843e3){var _0x3e1b0e=_0x47b6;_0x566d49[_0x3e1b0e(0x219)]=_0x4b1cc9(_0x309548(),_0x5a574a(),_0x273c68(),_0x1e9f39(),_0x4c5b38());}(_0x236e0f,function(_0x336d70){var _0x4cc30c=_0x47b6;return(function(){var _0x41f894=_0x47b6,_0x3878a0=_0x336d70,_0x301793=_0x3878a0['lib'],_0x33c6f4=_0x301793['BlockCipher'],_0x2ac3b8=_0x3878a0[_0x41f894(0x3ea)],_0x1342c3=[],_0x35e546=[],_0x1d1ea9=[],_0x125a25=[],_0x531107=[],_0xc29ec9=[],_0x5a5c5b=[],_0x2395a3=[],_0x1692a7=[],_0x293596=[];(function(){for(var _0x3478f9=[],_0x2081d4=0x0;_0x2081d4<0x100;_0x2081d4++)_0x2081d4<0x80?_0x3478f9[_0x2081d4]=_0x2081d4<<0x1:_0x3478f9[_0x2081d4]=_0x2081d4<<0x1^0x11b;for(var _0x427497=0x0,_0x5e0a17=0x0,_0x2081d4=0x0;_0x2081d4<0x100;_0x2081d4++){var _0x107d2b=_0x5e0a17^_0x5e0a17<<0x1^_0x5e0a17<<0x2^_0x5e0a17<<0x3^_0x5e0a17<<0x4;_0x107d2b=_0x107d2b>>>0x8^_0x107d2b&0xff^0x63,_0x1342c3[_0x427497]=_0x107d2b,_0x35e546[_0x107d2b]=_0x427497;var _0x474711=_0x3478f9[_0x427497],_0x45d128=_0x3478f9[_0x474711],_0x1e480=_0x3478f9[_0x45d128],_0x1d10c8=_0x3478f9[_0x107d2b]*0x101^_0x107d2b*0x1010100;_0x1d1ea9[_0x427497]=_0x1d10c8<<0x18|_0x1d10c8>>>0x8,_0x125a25[_0x427497]=_0x1d10c8<<0x10|_0x1d10c8>>>0x10,_0x531107[_0x427497]=_0x1d10c8<<0x8|_0x1d10c8>>>0x18,_0xc29ec9[_0x427497]=_0x1d10c8;var _0x1d10c8=_0x1e480*0x1010101^_0x45d128*0x10001^_0x474711*0x101^_0x427497*0x1010100;_0x5a5c5b[_0x107d2b]=_0x1d10c8<<0x18|_0x1d10c8>>>0x8,_0x2395a3[_0x107d2b]=_0x1d10c8<<0x10|_0x1d10c8>>>0x10,_0x1692a7[_0x107d2b]=_0x1d10c8<<0x8|_0x1d10c8>>>0x18,_0x293596[_0x107d2b]=_0x1d10c8,_0x427497?(_0x427497=_0x474711^_0x3478f9[_0x3478f9[_0x3478f9[_0x1e480^_0x474711]]],_0x5e0a17^=_0x3478f9[_0x3478f9[_0x5e0a17]]):_0x427497=_0x5e0a17=0x1;}}());var _0x13169a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1bd854=_0x2ac3b8[_0x41f894(0x37b)]=_0x33c6f4['extend']({'_doReset':function(){var _0x364c1c=_0x41f894,_0x48d545;if(!(this['_nRounds']&&this[_0x364c1c(0x52b)]===this[_0x364c1c(0x3f3)])){for(var _0x7c453b=this[_0x364c1c(0x52b)]=this[_0x364c1c(0x3f3)],_0x4d16f2=_0x7c453b[_0x364c1c(0x2c7)],_0x10e3e1=_0x7c453b['sigBytes']/0x4,_0x31953e=this['_nRounds']=_0x10e3e1+0x6,_0x59eac2=(_0x31953e+0x1)*0x4,_0x347f14=this[_0x364c1c(0x24f)]=[],_0x462be1=0x0;_0x462be1<_0x59eac2;_0x462be1++)_0x462be1<_0x10e3e1?_0x347f14[_0x462be1]=_0x4d16f2[_0x462be1]:(_0x48d545=_0x347f14[_0x462be1-0x1],_0x462be1%_0x10e3e1?_0x10e3e1>0x6&&_0x462be1%_0x10e3e1==0x4&&(_0x48d545=_0x1342c3[_0x48d545>>>0x18]<<0x18|_0x1342c3[_0x48d545>>>0x10&0xff]<<0x10|_0x1342c3[_0x48d545>>>0x8&0xff]<<0x8|_0x1342c3[_0x48d545&0xff]):(_0x48d545=_0x48d545<<0x8|_0x48d545>>>0x18,_0x48d545=_0x1342c3[_0x48d545>>>0x18]<<0x18|_0x1342c3[_0x48d545>>>0x10&0xff]<<0x10|_0x1342c3[_0x48d545>>>0x8&0xff]<<0x8|_0x1342c3[_0x48d545&0xff],_0x48d545^=_0x13169a[_0x462be1/_0x10e3e1|0x0]<<0x18),_0x347f14[_0x462be1]=_0x347f14[_0x462be1-_0x10e3e1]^_0x48d545);for(var _0x391e64=this[_0x364c1c(0x4fc)]=[],_0x3338c7=0x0;_0x3338c7<_0x59eac2;_0x3338c7++){var _0x462be1=_0x59eac2-_0x3338c7;if(_0x3338c7%0x4)var _0x48d545=_0x347f14[_0x462be1];else var _0x48d545=_0x347f14[_0x462be1-0x4];_0x3338c7<0x4||_0x462be1<=0x4?_0x391e64[_0x3338c7]=_0x48d545:_0x391e64[_0x3338c7]=_0x5a5c5b[_0x1342c3[_0x48d545>>>0x18]]^_0x2395a3[_0x1342c3[_0x48d545>>>0x10&0xff]]^_0x1692a7[_0x1342c3[_0x48d545>>>0x8&0xff]]^_0x293596[_0x1342c3[_0x48d545&0xff]];}}},'encryptBlock':function(_0x4707e1,_0x3aada5){var _0x4c5417=_0x41f894;this[_0x4c5417(0x237)](_0x4707e1,_0x3aada5,this['_keySchedule'],_0x1d1ea9,_0x125a25,_0x531107,_0xc29ec9,_0x1342c3);},'decryptBlock':function(_0x6cc0d2,_0x507ebe){var _0x216276=_0x41f894,_0x58f07a=_0x6cc0d2[_0x507ebe+0x1];_0x6cc0d2[_0x507ebe+0x1]=_0x6cc0d2[_0x507ebe+0x3],_0x6cc0d2[_0x507ebe+0x3]=_0x58f07a,this[_0x216276(0x237)](_0x6cc0d2,_0x507ebe,this['_invKeySchedule'],_0x5a5c5b,_0x2395a3,_0x1692a7,_0x293596,_0x35e546);var _0x58f07a=_0x6cc0d2[_0x507ebe+0x1];_0x6cc0d2[_0x507ebe+0x1]=_0x6cc0d2[_0x507ebe+0x3],_0x6cc0d2[_0x507ebe+0x3]=_0x58f07a;},'_doCryptBlock':function(_0x4e3625,_0x33687f,_0x34972a,_0x4d0a2e,_0x4fbd3a,_0x21381b,_0x53095a,_0x11b153){var _0x250e5b=_0x41f894;for(var _0x2753f4=this[_0x250e5b(0x37d)],_0x3c540e=_0x4e3625[_0x33687f]^_0x34972a[0x0],_0x5a1111=_0x4e3625[_0x33687f+0x1]^_0x34972a[0x1],_0x750c39=_0x4e3625[_0x33687f+0x2]^_0x34972a[0x2],_0x19878a=_0x4e3625[_0x33687f+0x3]^_0x34972a[0x3],_0x5d0ae4=0x4,_0x57423c=0x1;_0x57423c<_0x2753f4;_0x57423c++){var _0x4ada0f=_0x4d0a2e[_0x3c540e>>>0x18]^_0x4fbd3a[_0x5a1111>>>0x10&0xff]^_0x21381b[_0x750c39>>>0x8&0xff]^_0x53095a[_0x19878a&0xff]^_0x34972a[_0x5d0ae4++],_0x253b9e=_0x4d0a2e[_0x5a1111>>>0x18]^_0x4fbd3a[_0x750c39>>>0x10&0xff]^_0x21381b[_0x19878a>>>0x8&0xff]^_0x53095a[_0x3c540e&0xff]^_0x34972a[_0x5d0ae4++],_0x435c2e=_0x4d0a2e[_0x750c39>>>0x18]^_0x4fbd3a[_0x19878a>>>0x10&0xff]^_0x21381b[_0x3c540e>>>0x8&0xff]^_0x53095a[_0x5a1111&0xff]^_0x34972a[_0x5d0ae4++],_0x37001d=_0x4d0a2e[_0x19878a>>>0x18]^_0x4fbd3a[_0x3c540e>>>0x10&0xff]^_0x21381b[_0x5a1111>>>0x8&0xff]^_0x53095a[_0x750c39&0xff]^_0x34972a[_0x5d0ae4++];_0x3c540e=_0x4ada0f,_0x5a1111=_0x253b9e,_0x750c39=_0x435c2e,_0x19878a=_0x37001d;}var _0x4ada0f=(_0x11b153[_0x3c540e>>>0x18]<<0x18|_0x11b153[_0x5a1111>>>0x10&0xff]<<0x10|_0x11b153[_0x750c39>>>0x8&0xff]<<0x8|_0x11b153[_0x19878a&0xff])^_0x34972a[_0x5d0ae4++],_0x253b9e=(_0x11b153[_0x5a1111>>>0x18]<<0x18|_0x11b153[_0x750c39>>>0x10&0xff]<<0x10|_0x11b153[_0x19878a>>>0x8&0xff]<<0x8|_0x11b153[_0x3c540e&0xff])^_0x34972a[_0x5d0ae4++],_0x435c2e=(_0x11b153[_0x750c39>>>0x18]<<0x18|_0x11b153[_0x19878a>>>0x10&0xff]<<0x10|_0x11b153[_0x3c540e>>>0x8&0xff]<<0x8|_0x11b153[_0x5a1111&0xff])^_0x34972a[_0x5d0ae4++],_0x37001d=(_0x11b153[_0x19878a>>>0x18]<<0x18|_0x11b153[_0x3c540e>>>0x10&0xff]<<0x10|_0x11b153[_0x5a1111>>>0x8&0xff]<<0x8|_0x11b153[_0x750c39&0xff])^_0x34972a[_0x5d0ae4++];_0x4e3625[_0x33687f]=_0x4ada0f,_0x4e3625[_0x33687f+0x1]=_0x253b9e,_0x4e3625[_0x33687f+0x2]=_0x435c2e,_0x4e3625[_0x33687f+0x3]=_0x37001d;},'keySize':0x100/0x20});_0x3878a0[_0x41f894(0x37b)]=_0x33c6f4[_0x41f894(0x29a)](_0x1bd854);}()),_0x336d70[_0x4cc30c(0x37b)];}));}(_0x24fa44)),_0x24fa44[_0x95c431(0x219)];}var _0x410942=_0x3013cb();const _0x1869a8=_0x55dcff(_0x410942);var _0x25acc5=_0x5a574a();const _0xc9b945=_0x55dcff(_0x25acc5);var _0x5f40e4={'exports':{}},_0x51ee26=_0x5f40e4[_0x4344df(0x219)],_0x286bae;function _0x886a4e(){var _0x760788=_0x4344df;return _0x286bae||(_0x286bae=0x1,function(_0x518161,_0x5e8f89){(function(_0x3c768f,_0x470ae2){var _0x251d37=_0x47b6;_0x518161[_0x251d37(0x219)]=_0x470ae2(_0x309548());}(_0x51ee26,function(_0x2e66fb){var _0x6de50e=_0x47b6;return _0x2e66fb[_0x6de50e(0x24d)][_0x6de50e(0x2a4)];}));}(_0x5f40e4)),_0x5f40e4[_0x760788(0x219)];}var _0x4dd0bb=_0x886a4e();const _0x133ff7=_0x55dcff(_0x4dd0bb);var _0x2e1303={'exports':{}},_0x17be57=_0x2e1303[_0x4344df(0x219)],_0x4db662;function _0x3bd1cb(){var _0x114062=_0x4344df;return _0x4db662||(_0x4db662=0x1,function(_0x18e206,_0x518055){(function(_0x19befa,_0x3adc66){_0x18e206['exports']=_0x3adc66(_0x309548());}(_0x17be57,function(_0x121c1c){var _0x5e2947=_0x47b6;return(function(){var _0x4613da=_0x47b6;if(typeof ArrayBuffer=='function'){var _0x3d4336=_0x121c1c,_0x1c64fe=_0x3d4336['lib'],_0x5249e1=_0x1c64fe[_0x4613da(0x449)],_0x109dd4=_0x5249e1[_0x4613da(0x4f3)],_0x50ad4c=_0x5249e1[_0x4613da(0x4f3)]=function(_0xe12340){var _0x4829f9=_0x4613da;if(_0xe12340 instanceof ArrayBuffer&&(_0xe12340=new Uint8Array(_0xe12340)),(_0xe12340 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xe12340 instanceof Uint8ClampedArray||_0xe12340 instanceof Int16Array||_0xe12340 instanceof Uint16Array||_0xe12340 instanceof Int32Array||_0xe12340 instanceof Uint32Array||_0xe12340 instanceof Float32Array||_0xe12340 instanceof Float64Array)&&(_0xe12340=new Uint8Array(_0xe12340[_0x4829f9(0x355)],_0xe12340[_0x4829f9(0x288)],_0xe12340[_0x4829f9(0x343)])),_0xe12340 instanceof Uint8Array){for(var _0x1b2fae=_0xe12340[_0x4829f9(0x343)],_0x184fa8=[],_0x49695d=0x0;_0x49695d<_0x1b2fae;_0x49695d++)_0x184fa8[_0x49695d>>>0x2]|=_0xe12340[_0x49695d]<<0x18-_0x49695d%0x4*0x8;_0x109dd4[_0x4829f9(0x3d0)](this,_0x184fa8,_0x1b2fae);}else _0x109dd4[_0x4829f9(0x345)](this,arguments);};_0x50ad4c[_0x4613da(0x25c)]=_0x5249e1;}}()),_0x121c1c['lib'][_0x5e2947(0x449)];}));}(_0x2e1303)),_0x2e1303[_0x114062(0x219)];}var _0x23ba48=_0x3bd1cb();const _0x5697c6=_0x55dcff(_0x23ba48);var _0xd730e6={'exports':{}},_0x5bd0e6=_0xd730e6[_0x4344df(0x219)],_0x5bcc60;function _0x5efab2(){var _0x5e5f69=_0x4344df;return _0x5bcc60||(_0x5bcc60=0x1,function(_0x198870,_0x367b25){(function(_0x4f4df0,_0xb2d874,_0x17b687){var _0x26855d=_0x47b6;_0x198870[_0x26855d(0x219)]=_0xb2d874(_0x309548(),_0x4c5b38());}(_0x5bd0e6,function(_0x15d6fa){var _0x15aafb=_0x47b6;return _0x15d6fa[_0x15aafb(0x215)][_0x15aafb(0x476)]={'pad':function(){},'unpad':function(){}},_0x15d6fa[_0x15aafb(0x215)]['NoPadding'];}));}(_0xd730e6)),_0xd730e6[_0x5e5f69(0x219)];}var _0x24a53e=_0x5efab2();const _0x23b3f5=_0x55dcff(_0x24a53e);function _0x1ef70f(_0x15219d,_0x33ee73){var _0x362868=_0x4344df;const _0x3b63ac=_0x33ee73-_0x15219d[_0x362868(0x373)]%_0x33ee73,_0x3d91d0=String[_0x362868(0x3eb)](_0x3b63ac)[_0x362868(0x46c)](_0x3b63ac);return _0x15219d+_0x3d91d0;}function _0x15c09b(_0x16dc42,_0x228835){var _0x346bd9=_0x4344df;const _0x17724a=_0x5697c6['random'](0x10),_0x49565d=_0x1ef70f(_0x16dc42,0x10),_0x1039a2=_0x1869a8['encrypt'](_0x133ff7[_0x346bd9(0x1e3)](_0x49565d),_0xc9b945[_0x346bd9(0x1e3)](_0x228835),{'iv':_0x17724a,'padding':_0x23b3f5});return _0x17724a['concat'](_0x1039a2['ciphertext'])['toString'](_0xc9b945);}function _0x5a880b(){var _0xc587ab=_0x4344df;const _0x2dff9c=_0x407267[_0xc587ab(0x317)]()[_0xc587ab(0x4f1)];if(_0x2dff9c){const _0x50a599={'time':Math[_0xc587ab(0x26e)](Date['now']()/0x3e8),'domain':location[_0xc587ab(0x2ec)]};return _0x15c09b(JSON[_0xc587ab(0x52d)](_0x50a599),_0x2dff9c);}}var _0x242101=Object[_0x4344df(0x3b9)],_0x5833ad=(_0x20892c,_0x1bb97e,_0x859563,_0x1361ed)=>{var _0x5e25ad=_0x4344df;for(var _0x7fbe94=_0x1361ed>0x1?void 0x0:_0x1361ed?_0x242101(_0x1bb97e,_0x859563):_0x1bb97e,_0x1951a3=_0x20892c[_0x5e25ad(0x373)]-0x1,_0xec9e53;_0x1951a3>=0x0;_0x1951a3--)(_0xec9e53=_0x20892c[_0x1951a3])&&(_0x7fbe94=_0xec9e53(_0x7fbe94)||_0x7fbe94);return _0x7fbe94;},_0x44eca9=(_0x584f3f,_0x12f8ea)=>(_0x4ae6d6,_0x3629af)=>_0x12f8ea(_0x4ae6d6,_0x3629af,_0x584f3f);let _0x345e35=class{constructor(_0x35145c){var _0x4addb2=_0x4344df;this['_httpService']=_0x35145c,this[_0x4addb2(0x23a)]();}['_initRequestHeader'](){var _0x57c7c0=_0x4344df;this[_0x57c7c0(0x1f8)][_0x57c7c0(0x2d9)]({'interceptor':(_0x5390ef,_0x90a2f6)=>{var _0x4dacc6=_0x57c7c0;const _0x365db2=_0x5390ef[_0x4dacc6(0x3ce)],_0x1b223c=_0x5a880b();return _0x1b223c&&_0x365db2[_0x4dacc6(0x3a7)]('x-univer-host',_0x1b223c),_0x90a2f6(_0x5390ef);}});}};_0x345e35=_0x5833ad([_0x44eca9(0x0,_0x542f26[_0x4344df(0x4e2)](_0x2686d0[_0x4344df(0x220)]))],_0x345e35);var _0x33b9b9=Object[_0x4344df(0x3b9)],_0x4a356c=(_0x311ae3,_0x58d538,_0x5f2b7a,_0x152cb0)=>{for(var _0x4339f3=_0x152cb0>0x1?void 0x0:_0x152cb0?_0x33b9b9(_0x58d538,_0x5f2b7a):_0x58d538,_0x8e9d54=_0x311ae3['length']-0x1,_0x2a5f1d;_0x8e9d54>=0x0;_0x8e9d54--)(_0x2a5f1d=_0x311ae3[_0x8e9d54])&&(_0x4339f3=_0x2a5f1d(_0x4339f3)||_0x4339f3);return _0x4339f3;},_0x1b9969=(_0x15be9c,_0x1e7bf5)=>(_0x451073,_0x61f476)=>_0x1e7bf5(_0x451073,_0x61f476,_0x15be9c);_0x54f6d5['DataLoaderService']=class extends _0x542f26[_0x4344df(0x2ba)]{constructor(_0x5c7a3f,_0x429818,_0x12349e){var _0x13c8e7=_0x4344df;super(),_0x6d89e8(this,_0x13c8e7(0x470),new _0x157716[(_0x13c8e7(0x2d0))](null)),_0x6d89e8(this,_0x13c8e7(0x46a),this[_0x13c8e7(0x470)][_0x13c8e7(0x284)]()),(this[_0x13c8e7(0x23f)]=_0x5c7a3f,this['_snapshotService']=_0x429818,this['_localCacheService']=_0x12349e);}async[_0x4344df(0x2eb)](_0xfacc84,_0x2fb672,_0x22f522){var _0x393691=_0x4344df;this[_0x393691(0x470)]['next']({'unitId':_0xfacc84,'type':_0x2fb672});let _0x549f28=null;switch(_0x2fb672){case _0x59d87f[_0x393691(0x285)]:{_0x549f28=await this[_0x393691(0x226)]['loadSheet'](_0xfacc84,_0x22f522);break;}case _0x59d87f[_0x393691(0x210)]:{_0x549f28=await this['_snapshotService']['loadDoc'](_0xfacc84,_0x22f522);break;}default:{this['_logService']['error']('[DataLoaderService]',_0x393691(0x248));break;}}return _0x549f28;}async[_0x4344df(0x25d)](_0x3b697d,_0x28ec8d,_0x28398a){var _0x3ada23=_0x4344df,_0x2ec205;this[_0x3ada23(0x470)][_0x3ada23(0x34c)]({'unitId':_0x3b697d,'type':_0x28ec8d,'subUnitId':_0x28398a});let _0x45962e=0x0;const _0x1faae5=await((_0x2ec205=this[_0x3ada23(0x22c)])==null?void 0x0:_0x2ec205[_0x3ada23(0x48d)](_0x3b697d));return _0x1faae5&&(_0x1faae5['awaitingChangeset']||_0x1faae5[_0x3ada23(0x2d4)]['length']!==0x0)&&(_0x45962e=_0x1faae5[_0x3ada23(0x236)]),_0x45962e===0x0&&this['_logService'][_0x3ada23(0x2c2)]('[DataLoaderService]',_0x3ada23(0x53e)),this[_0x3ada23(0x2eb)](_0x3b697d,_0x28ec8d,_0x45962e);}},_0x54f6d5[_0x4344df(0x4f2)]=_0x4a356c([_0x1b9969(0x0,_0x542f26[_0x4344df(0x2e8)]),_0x1b9969(0x1,_0x542f26[_0x4344df(0x4e2)](_0x3e6c27['SnapshotService'])),_0x1b9969(0x2,_0x542f26[_0x4344df(0x40a)](_0xbbdfbe))],_0x54f6d5[_0x4344df(0x4f2)]);var _0x57d049=Object[_0x4344df(0x3b9)],_0x295c35=(_0x4db9b9,_0x4d6277,_0x3d1b63,_0x2759e5)=>{var _0x207219=_0x4344df;for(var _0x48ff3a=_0x2759e5>0x1?void 0x0:_0x2759e5?_0x57d049(_0x4d6277,_0x3d1b63):_0x4d6277,_0x4e2af0=_0x4db9b9[_0x207219(0x373)]-0x1,_0x994dfd;_0x4e2af0>=0x0;_0x4e2af0--)(_0x994dfd=_0x4db9b9[_0x4e2af0])&&(_0x48ff3a=_0x994dfd(_0x48ff3a)||_0x48ff3a);return _0x48ff3a;},_0x4af52f=(_0x57b04d,_0x108238)=>(_0x5de42e,_0x586dc2)=>_0x108238(_0x5de42e,_0x586dc2,_0x57b04d);const _0xf3e666=['image/png','image/jpeg',_0x4344df(0x4ec),_0x4344df(0x4a2),_0x4344df(0x25e)],_0x361c8a=0x5*0x400*0x400,_0x2fbcf7=_0x4344df(0x3cc),_0x2851ff='/universer-api/stream/file/upload',_0x3d6ad8=_0x4344df(0x39f),_0x342952=_0x4344df(0x3bc);_0x54f6d5[_0x4344df(0x1f5)]=class{constructor(_0x92ecd0,_0x5a278d,_0x218a20){var _0x4c894f=_0x4344df;_0x6d89e8(this,'_waitCount',0x0),_0x6d89e8(this,'_change$',new _0x157716[(_0x4c894f(0x2d2))]()),_0x6d89e8(this,_0x4c894f(0x445),this['_change$']),_0x6d89e8(this,_0x4c894f(0x468),new Map()),(this[_0x4c894f(0x1f8)]=_0x92ecd0,this['_configService']=_0x5a278d,this['_univerInstanceService']=_0x218a20);}[_0x4344df(0x211)](_0x1186a1){var _0x1f67e0=_0x4344df;this[_0x1f67e0(0x1d6)]=_0x1186a1,this[_0x1f67e0(0x365)][_0x1f67e0(0x34c)](_0x1186a1);}[_0x4344df(0x40b)](_0x1d412c,_0x264010){var _0x4d7760=_0x4344df;if(_0x264010===_0x412b9e['ImageSourceType']['BASE64']){const _0x463884=new Image();return _0x463884[_0x4d7760(0x3e8)]=_0x1d412c,_0x463884;}return this[_0x4d7760(0x468)]['get'](_0x1d412c);}['addImageSourceCache'](_0x1c6fdb,_0x9a310f,_0x1c5efa){var _0x2fe17c=_0x4344df;_0x9a310f===_0x412b9e[_0x2fe17c(0x3ec)][_0x2fe17c(0x250)]||_0x1c5efa==null||this[_0x2fe17c(0x468)][_0x2fe17c(0x3a7)](_0x1c6fdb,_0x1c5efa);}async[_0x4344df(0x3cb)](_0xec893d){var _0x4cbe85=_0x4344df;try{const _0x21f984=this[_0x4cbe85(0x3c1)](this[_0x4cbe85(0x28f)](),''+_0xec893d),_0x2bab76=(await this[_0x4cbe85(0x1f8)][_0x4cbe85(0x421)](_0x21f984))['body'];if(_0x2bab76[_0x4cbe85(0x455)]&&_0x2bab76[_0x4cbe85(0x455)][_0x4cbe85(0x3d9)]===_0x17d760['OK']){const _0x516cf4=new URL(_0x2bab76['url'],this[_0x4cbe85(0x4e6)]())['toString']();return Promise[_0x4cbe85(0x26f)](_0x516cf4);}return Promise['reject'](_0x2bab76[_0x4cbe85(0x455)]);}catch(_0x4544c8){return Promise[_0x4cbe85(0x4b2)](_0x4544c8);}}async[_0x4344df(0x269)](_0x378653){var _0x27296d=_0x4344df;let _0x3c2d0f='';if(!_0xf3e666[_0x27296d(0x3dc)](_0x378653['type']))return this[_0x27296d(0x2ad)](),Promise['reject'](new Error(_0x412b9e[_0x27296d(0x4b5)][_0x27296d(0x397)]));if(_0x378653[_0x27296d(0x259)]>_0x361c8a)return this[_0x27296d(0x2ad)](),Promise[_0x27296d(0x4b2)](new Error(_0x412b9e[_0x27296d(0x4b5)][_0x27296d(0x4b4)]));try{const _0x4c74e8=new FormData();_0x4c74e8[_0x27296d(0x544)](_0x27296d(0x464),_0x378653);const _0x4fd771=this[_0x27296d(0x3e6)]['getFocusedUnit'](),_0x12d1dc=_0x4fd771==null?void 0x0:_0x4fd771[_0x27296d(0x201)]();if(!_0x12d1dc)throw new Error(_0x27296d(0x1db));const _0x33cb56=this['_getUploadFileURL']()+_0x27296d(0x3b5)+_0x378653[_0x27296d(0x259)][_0x27296d(0x390)]()+'&source='+_0x2780e6[_0x27296d(0x548)]+_0x27296d(0x4fa)+encodeURIComponent(_0x12d1dc),_0x15fb15={'body':_0x4c74e8},_0x1c8f7e=(await this[_0x27296d(0x1f8)][_0x27296d(0x335)](_0x33cb56,_0x15fb15))[_0x27296d(0x36e)];if(typeof _0x1c8f7e[_0x27296d(0x4d5)]!=_0x27296d(0x328))return this[_0x27296d(0x2ad)](),Promise[_0x27296d(0x4b2)](new Error(_0x412b9e[_0x27296d(0x4b5)][_0x27296d(0x55b)]));_0x3c2d0f=_0x1c8f7e[_0x27296d(0x4d5)];}catch{return this[_0x27296d(0x2ad)](),Promise[_0x27296d(0x4b2)](new Error(_0x412b9e[_0x27296d(0x4b5)]['ERROR_IMAGE']));}return new Promise((_0x452862,_0x4c4644)=>{var _0x5c9f86=_0x27296d;const _0xc138a=new FileReader();_0xc138a[_0x5c9f86(0x4b8)](_0x378653),_0xc138a[_0x5c9f86(0x4d2)]=_0x543319=>{var _0x4d0d0f=_0x5c9f86,_0x5c0867;const _0x26d3b1=(_0x5c0867=_0x543319[_0x4d0d0f(0x321)])==null?void 0x0:_0x5c0867[_0x4d0d0f(0x41a)];if(_0x26d3b1==null){this[_0x4d0d0f(0x2ad)](),_0x4c4644(new Error(_0x412b9e[_0x4d0d0f(0x4b5)][_0x4d0d0f(0x55b)]));return;}const _0xef24e7=_0x542f26[_0x4d0d0f(0x2f1)][_0x4d0d0f(0x2cf)](0x6);_0x452862({'imageId':_0xef24e7,'imageSourceType':_0x412b9e[_0x4d0d0f(0x3ec)]['UUID'],'source':_0x3c2d0f,'base64Cache':_0x26d3b1,'status':_0x412b9e[_0x4d0d0f(0x4b5)][_0x4d0d0f(0x396)]}),this[_0x4d0d0f(0x2ad)]();};});}[_0x4344df(0x322)](){var _0x16fabb=_0x4344df,_0x4b10fc,_0x34f154;const _0x5f446b=this['_configService']['getConfig'](_0x2fbcf7),_0x23a3d7=this['_configService'][_0x16fabb(0x54e)](_0x2fadd8);return(_0x34f154=(_0x4b10fc=_0x23a3d7==null?void 0x0:_0x23a3d7[_0x16fabb(0x205)])!=null?_0x4b10fc:_0x5f446b)!=null?_0x34f154:_0x2851ff;}[_0x4344df(0x28f)](){var _0x1addfe=_0x4344df,_0x2e18f6,_0x2400ff;const _0x173a2b=this[_0x1addfe(0x339)][_0x1addfe(0x54e)](_0x3d6ad8),_0x1b0d53=this[_0x1addfe(0x339)][_0x1addfe(0x54e)](_0x2fadd8);return(_0x2400ff=(_0x2e18f6=_0x1b0d53==null?void 0x0:_0x1b0d53[_0x1addfe(0x34d)])!=null?_0x2e18f6:_0x173a2b)!=null?_0x2400ff:_0x342952;}[_0x4344df(0x4e6)](){var _0x41bd8a=_0x4344df,_0x2776ff;const _0x1153e9=this['_configService'][_0x41bd8a(0x54e)](_0x2fadd8);return(_0x2776ff=_0x1153e9==null?void 0x0:_0x1153e9[_0x41bd8a(0x273)])!=null?_0x2776ff:location[_0x41bd8a(0x3b6)];}[_0x4344df(0x3c1)](_0x3a2eb2,_0x2d926b){var _0x399632=_0x4344df;return _0x3a2eb2[_0x399632(0x3e3)](_0x399632(0x53f),_0x2d926b);}['_decreaseWaiting'](){var _0x4cbfaa=_0x4344df;this[_0x4cbfaa(0x1d6)]-=0x1,this[_0x4cbfaa(0x365)]['next'](this[_0x4cbfaa(0x1d6)]);}},_0x54f6d5[_0x4344df(0x1f5)]=_0x295c35([_0x4af52f(0x0,_0x542f26[_0x4344df(0x4e2)](_0x2686d0['HTTPService'])),_0x4af52f(0x1,_0x542f26[_0x4344df(0x4c1)]),_0x4af52f(0x2,_0x542f26[_0x4344df(0x4e2)](_0x542f26['IUniverInstanceService']))],_0x54f6d5[_0x4344df(0x1f5)]);var _0x5c42c2=Object[_0x4344df(0x3b9)],_0xbf5b28=(_0x3b030b,_0x2c1df3,_0x56b4df,_0x1158eb)=>{var _0x58199c=_0x4344df;for(var _0x1efa6b=_0x1158eb>0x1?void 0x0:_0x1158eb?_0x5c42c2(_0x2c1df3,_0x56b4df):_0x2c1df3,_0x1d200a=_0x3b030b[_0x58199c(0x373)]-0x1,_0x5b7f9d;_0x1d200a>=0x0;_0x1d200a--)(_0x5b7f9d=_0x3b030b[_0x1d200a])&&(_0x1efa6b=_0x5b7f9d(_0x1efa6b)||_0x1efa6b);return _0x1efa6b;},_0x37c09d=(_0x464003,_0x5726bf)=>(_0xc22cbb,_0x141152)=>_0x5726bf(_0xc22cbb,_0x141152,_0x464003);const _0x5d730b='/universer-api/authz';_0x54f6d5[_0x4344df(0x526)]=class{constructor(_0x48312c,_0x3bf552){var _0x5f0dfa=_0x4344df;this[_0x5f0dfa(0x339)]=_0x48312c,this['_HTTPService']=_0x3bf552;}[_0x4344df(0x392)](){var _0x17e497=_0x4344df,_0x528d3d,_0x346b96;const _0x555118=this['_configService']['getConfig'](_0x224b13),_0x3a4f33=this['_configService'][_0x17e497(0x54e)](_0x2fadd8);return(_0x346b96=(_0x528d3d=_0x3a4f33==null?void 0x0:_0x3a4f33[_0x17e497(0x29c)])!=null?_0x528d3d:_0x555118)!=null?_0x346b96:_0x5d730b;}async[_0x4344df(0x3d3)](_0x3dcc3b){var _0x4828a9=_0x4344df;const _0x3193a1=this['_getAPIPrefixPath']()+_0x4828a9(0x34f);return{'list':[{'title':_0x4828a9(0x3ee),'mentions':(await this[_0x4828a9(0x403)][_0x4828a9(0x421)](_0x3193a1,{'params':{'objectID':_0x3dcc3b[_0x4828a9(0x496)],'unitID':_0x3dcc3b['unitId']}}))['body'][_0x4828a9(0x3d6)][_0x4828a9(0x443)](_0x4514f6=>({'objectId':_0x4514f6['id'],'name':_0x4514f6[_0x4828a9(0x30d)][_0x4828a9(0x51b)],'metadata':{'icon':_0x4514f6['subject'][_0x4828a9(0x32b)]},'label':_0x4514f6[_0x4828a9(0x30d)]['name'],'objectType':_0x542f26[_0x4828a9(0x54f)][_0x4828a9(0x47a)]})),'metadata':{},'type':_0x542f26[_0x4828a9(0x54f)][_0x4828a9(0x47a)]}]};}},_0x54f6d5[_0x4344df(0x526)]=_0xbf5b28([_0x37c09d(0x0,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x4c1)])),_0x37c09d(0x1,_0x542f26['Inject'](_0x2686d0['HTTPService']))],_0x54f6d5[_0x4344df(0x526)]);var _0x205ff1=Object[_0x4344df(0x3b9)],_0x87f86a=(_0x1e2659,_0x56f255,_0x41f533,_0x4d2290)=>{var _0x30db54=_0x4344df;for(var _0x3e7485=_0x4d2290>0x1?void 0x0:_0x4d2290?_0x205ff1(_0x56f255,_0x41f533):_0x56f255,_0x40d6cb=_0x1e2659[_0x30db54(0x373)]-0x1,_0x29b525;_0x40d6cb>=0x0;_0x40d6cb--)(_0x29b525=_0x1e2659[_0x40d6cb])&&(_0x3e7485=_0x29b525(_0x3e7485)||_0x3e7485);return _0x3e7485;},_0x422344=(_0x2002de,_0x378bef)=>(_0x34edea,_0x10b2a2)=>_0x378bef(_0x34edea,_0x10b2a2,_0x2002de);let _0x4bbdf0=class extends _0x542f26[_0x4344df(0x2ba)]{constructor(_0x2ba6d0,_0x273b2c,_0x49240e,_0x382f48,_0x443218){var _0x6840fe=_0x4344df;super(),this[_0x6840fe(0x3f7)]=_0x2ba6d0,this['_univerInstanceService']=_0x273b2c,this[_0x6840fe(0x342)]=_0x49240e,this[_0x6840fe(0x495)]=_0x382f48,this[_0x6840fe(0x539)]=_0x443218,this[_0x6840fe(0x411)](),this[_0x6840fe(0x457)]();}['_initCloseConn'](){var _0x17d44c=_0x4344df;const _0x5526e9=async _0x565b9a=>{var _0x1b8a99=_0x47b6;(await this[_0x1b8a99(0x495)][_0x1b8a99(0x372)](_0x565b9a))['event$'][_0x1b8a99(0x4e7)](_0x5fc46a[_0x1b8a99(0x48c)](_0x95c36d=>_0x95c36d['eventID']===_0x3e6c27[_0x1b8a99(0x524)][_0x1b8a99(0x509)]),_0x5fc46a['takeUntil'](this[_0x1b8a99(0x1ec)]))[_0x1b8a99(0x465)](_0x2d71cc=>{var _0x3dc558=_0x1b8a99;const _0x57f2ea=_0x2d71cc,{reason:_0x10d1d9}=_0x57f2ea[_0x3dc558(0x3c5)];this[_0x3dc558(0x539)][_0x3dc558(0x2df)]({'id':_0x219b80[_0x3dc558(0x265)],'data':_0x10d1d9}),this[_0x3dc558(0x342)][_0x3dc558(0x375)](new _0xcd20b2[(_0x3dc558(0x4fd))](_0x565b9a)['id'],!0x1),this[_0x3dc558(0x495)][_0x3dc558(0x1df)](_0x565b9a);});};_0x157716[_0x17d44c(0x4c5)](this[_0x17d44c(0x3e6)][_0x17d44c(0x2a2)](_0x542f26[_0x17d44c(0x3a8)][_0x17d44c(0x285)]),this[_0x17d44c(0x3e6)]['getTypeOfUnitAdded$'](_0x542f26[_0x17d44c(0x3a8)]['UNIVER_DOC']))[_0x17d44c(0x4e7)](_0x5fc46a['map'](_0x3a4f32=>_0x3a4f32[_0x17d44c(0x201)]()),_0x5fc46a['filter'](_0x43fe56=>!_0x542f26['isInternalEditorID'](_0x43fe56)),_0x5fc46a[_0x17d44c(0x21f)](this[_0x17d44c(0x1ec)]))[_0x17d44c(0x465)](_0x3aa358=>{_0x5526e9(_0x3aa358);});}[_0x4344df(0x411)](){var _0x9d4e42=_0x4344df;const _0x33bcb6=async _0x344013=>{var _0x167915=_0x47b6;const _0x4d09fa=await this[_0x167915(0x495)][_0x167915(0x372)](_0x344013),_0x16e855=this[_0x167915(0x3f7)][_0x167915(0x421)](_0xcd20b2[_0x167915(0x310)]);_0x4d09fa[_0x167915(0x4b7)]['pipe'](_0x5fc46a[_0x167915(0x48c)](_0x2baadb=>_0x2baadb['eventID']===_0x3e6c27[_0x167915(0x524)][_0x167915(0x271)]),_0x5fc46a['takeUntil'](this[_0x167915(0x1ec)]))['subscribe'](_0x5685db=>{var _0x4eb403=_0x167915;const _0x41e1b3=_0x5685db,{objectId:_0x71b600}=_0x41e1b3['data'];_0x71b600===_0x344013?_0x16e855[_0x4eb403(0x307)](_0x344013):_0x16e855[_0x4eb403(0x29d)](_0x344013,_0x71b600);});};_0x157716[_0x9d4e42(0x4c5)](this[_0x9d4e42(0x3e6)]['getTypeOfUnitAdded$'](_0x542f26[_0x9d4e42(0x3a8)]['UNIVER_SHEET']))[_0x9d4e42(0x4e7)](_0x5fc46a['map'](_0xb5b2b7=>_0xb5b2b7['getUnitId']()),_0x5fc46a[_0x9d4e42(0x48c)](_0x2f22a7=>!_0x542f26['isInternalEditorID'](_0x2f22a7)),_0x5fc46a['takeUntil'](this['dispose$']))['subscribe'](_0x2acc9d=>{_0x33bcb6(_0x2acc9d);});}};_0x4bbdf0=_0x87f86a([_0x422344(0x0,_0x542f26[_0x4344df(0x4e2)](_0x542f26[_0x4344df(0x511)])),_0x422344(0x1,_0x542f26['IUniverInstanceService']),_0x422344(0x2,_0x542f26[_0x4344df(0x46e)]),_0x422344(0x3,_0x542f26[_0x4344df(0x4e2)](_0x54f6d5[_0x4344df(0x2b0)])),_0x422344(0x4,_0x542f26['Inject'](_0x50af23))],_0x4bbdf0);var _0x39ce9e=Object[_0x4344df(0x3b9)],_0x19837d=(_0x201c89,_0x2f6693,_0x3a1c28,_0x5740ae)=>{var _0x40763b=_0x4344df;for(var _0x31a8ca=_0x5740ae>0x1?void 0x0:_0x5740ae?_0x39ce9e(_0x2f6693,_0x3a1c28):_0x2f6693,_0x542963=_0x201c89[_0x40763b(0x373)]-0x1,_0x29de6f;_0x542963>=0x0;_0x542963--)(_0x29de6f=_0x201c89[_0x542963])&&(_0x31a8ca=_0x29de6f(_0x31a8ca)||_0x31a8ca);return _0x31a8ca;},_0x169785=(_0xfd0421,_0x5a1020)=>(_0x91ad5d,_0x16d148)=>_0x5a1020(_0x91ad5d,_0x16d148,_0xfd0421);_0x54f6d5['SnapshotServerOverHTTPService']=class{constructor(_0x134323,_0x586e11){var _0x2e205f=_0x4344df;this[_0x2e205f(0x339)]=_0x134323,this[_0x2e205f(0x1f8)]=_0x586e11;}async[_0x4344df(0x26c)](_0x115c12,_0x4b801b){var _0xd15a62=_0x4344df,_0x3eb25b;const {unitID:_0x5b197b,type:_0x370ddd,revision:_0x2ce689=0x0}=_0x4b801b,_0x1d4c5a=this[_0xd15a62(0x536)]()+'/'+_0x370ddd+_0xd15a62(0x3b2)+_0x5b197b+'/rev/'+_0x2ce689,_0x305584=(await this[_0xd15a62(0x1f8)][_0xd15a62(0x421)](_0x1d4c5a))[_0xd15a62(0x36e)],_0x13a5d9=(_0x3eb25b=_0x305584[_0xd15a62(0x4da)])==null?void 0x0:_0x3eb25b['workbook'];if(_0x13a5d9){const _0x14fdea=_0x13a5d9==null?void 0x0:_0x13a5d9[_0xd15a62(0x3f5)],_0x26441e=_0x3e6c27['textEncoder']['encode'](_0x3e6c27[_0xd15a62(0x1f7)](_0x14fdea));_0x13a5d9['originalMeta']=_0x26441e,Object['entries'](_0x13a5d9[_0xd15a62(0x356)])['forEach'](([,_0x56e33e])=>{var _0x4eb5cb=_0xd15a62;const _0x1164d7=_0x56e33e[_0x4eb5cb(0x3f5)],_0xc91ddb=_0x3e6c27[_0x4eb5cb(0x48f)][_0x4eb5cb(0x27a)](_0x3e6c27[_0x4eb5cb(0x1f7)](_0x1164d7));_0x56e33e['originalMeta']=_0xc91ddb;});}return _0x305584;}async[_0x4344df(0x366)](_0x515885,_0x2f006a){var _0xf92796=_0x4344df;const {unitID:_0x3ace0f,type:_0x14e73c,blockID:_0x2e5620}=_0x2f006a,_0x2b7abf=this[_0xf92796(0x326)]()+'/'+_0x14e73c+_0xf92796(0x3b2)+_0x3ace0f+_0xf92796(0x347)+_0x2e5620;return(await this['_httpService'][_0xf92796(0x421)](_0x2b7abf))[_0xf92796(0x36e)];}async[_0x4344df(0x4f7)](_0x4ce01e,_0x5964a4){var _0x59454b=_0x4344df;const {unitID:_0x52944c,type:_0x5960b7,blockID:_0x4834a7}=_0x5964a4,_0xee1042=this[_0x59454b(0x326)]()+_0x59454b(0x347)+_0x5960b7+_0x59454b(0x3b2)+_0x52944c+_0x59454b(0x347)+_0x4834a7;return(await this[_0x59454b(0x1f8)]['get'](_0xee1042))[_0x59454b(0x36e)];}async['fetchMissingChangesets'](_0x139b59,_0x560d8b){var _0x16e788=_0x4344df;const {unitID:_0x4b0e6f,type:_0x40e9a0,from:_0x5955df,to:_0x44ab7d}=_0x560d8b,_0x34df0a=this[_0x16e788(0x326)]()+'/'+_0x40e9a0+'/unit/'+_0x4b0e6f+'/fetchmissing?from='+_0x5955df+_0x16e788(0x3f8)+_0x44ab7d;return(await this['_httpService'][_0x16e788(0x421)](_0x34df0a))[_0x16e788(0x36e)];}[_0x4344df(0x536)](){var _0x5550ea=_0x4344df,_0x3c3c81;return(_0x3c3c81=this[_0x5550ea(0x339)][_0x5550ea(0x54e)](_0x3e4c96))!=null?_0x3c3c81:this[_0x5550ea(0x326)]();}[_0x4344df(0x326)](){var _0x3bf428=_0x4344df,_0x290bb9,_0x3445de;const _0x401d8a=this['_configService'][_0x3bf428(0x54e)](_0x1e95d2),_0x2a7c15=this[_0x3bf428(0x339)][_0x3bf428(0x54e)](_0x2fadd8);return(_0x3445de=(_0x290bb9=_0x2a7c15==null?void 0x0:_0x2a7c15[_0x3bf428(0x4a5)])!=null?_0x290bb9:_0x401d8a)!=null?_0x3445de:_0x2a055f;}async[_0x4344df(0x1d4)](_0x243331,_0x4b6b0d){var _0x3fc8a2=_0x4344df;const _0x4e5ae2=_0x3fc8a2(0x246)+_0x4b6b0d[_0x3fc8a2(0x529)]+'/unit/'+_0x4b6b0d[_0x3fc8a2(0x3dd)]+'/resources';return(await this[_0x3fc8a2(0x1f8)][_0x3fc8a2(0x421)](_0x4e5ae2,{'params':{'resourceId':JSON[_0x3fc8a2(0x52d)](_0x4b6b0d[_0x3fc8a2(0x460)])}}))[_0x3fc8a2(0x36e)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4344df(0x444)](){var _0x507bb4=_0x4344df;throw new Error(_0x507bb4(0x409));}['saveSheetBlock'](){var _0x8685e8=_0x4344df;throw new Error(_0x8685e8(0x409));}[_0x4344df(0x3d7)](){var _0x95de89=_0x4344df;throw new Error(_0x95de89(0x409));}[_0x4344df(0x3de)](){var _0x5e36cf=_0x4344df;throw new Error(_0x5e36cf(0x409));}[_0x4344df(0x4b9)](){var _0x17794d=_0x4344df;throw new Error(_0x17794d(0x409));}},_0x54f6d5['SnapshotServerOverHTTPService']=_0x19837d([_0x169785(0x0,_0x542f26['IConfigService']),_0x169785(0x1,_0x542f26[_0x4344df(0x4e2)](_0x2686d0[_0x4344df(0x220)]))],_0x54f6d5[_0x4344df(0x212)]);var _0x1d4c96=Object[_0x4344df(0x3b9)],_0xaf698e=(_0x4758a7,_0xda2efc,_0xce6e4e,_0x5ebc00)=>{for(var _0x51648c=_0x5ebc00>0x1?void 0x0:_0x5ebc00?_0x1d4c96(_0xda2efc,_0xce6e4e):_0xda2efc,_0x51646f=_0x4758a7['length']-0x1,_0xf98b16;_0x51646f>=0x0;_0x51646f--)(_0xf98b16=_0x4758a7[_0x51646f])&&(_0x51648c=_0xf98b16(_0x51648c)||_0x51648c);return _0x51648c;},_0x114a3a=(_0x302959,_0x17063d)=>(_0x16825e,_0x1f7e6d)=>_0x17063d(_0x16825e,_0x1f7e6d,_0x302959);_0x54f6d5['CollaborativeUndoRedoService']=class extends _0x542f26[_0x4344df(0x3a4)]{constructor(_0x518f20,_0x1c2826,_0xc806c9,_0x4af424,_0x100bc7){var _0x2a3c18=_0x4344df;super(_0x518f20,_0x1c2826,_0xc806c9),this[_0x2a3c18(0x42c)]=_0x4af424,this[_0x2a3c18(0x23f)]=_0x100bc7;}['transformUndoRedo'](_0x1cf908,_0x3be4e2){var _0x26aab1=_0x4344df;const _0x1af318=this[_0x26aab1(0x558)](_0x1cf908);if(_0x1af318)try{const _0x114263=this[_0x26aab1(0x410)](_0x1af318,_0x3be4e2);this[_0x26aab1(0x4ae)](_0x1cf908,_0x114263);}catch(_0x50a70a){this['_logService'][_0x26aab1(0x455)](_0x26aab1(0x3a2),_0x50a70a),this[_0x26aab1(0x33a)](_0x1cf908);}const _0x54d940=this[_0x26aab1(0x4b3)](_0x1cf908);if(_0x54d940)try{const _0x424367=this[_0x26aab1(0x410)](_0x54d940,_0x3be4e2);this[_0x26aab1(0x3e7)](_0x1cf908,_0x424367);}catch(_0x37f96a){this[_0x26aab1(0x23f)][_0x26aab1(0x455)](_0x37f96a),this['_clearRedo'](_0x1cf908);}}['_clearUndo'](_0x350c58){var _0x57353d=_0x4344df;const _0x59379b=this[_0x57353d(0x558)](_0x350c58);_0x59379b&&(_0x59379b[_0x57353d(0x373)]=0x0,this[_0x57353d(0x354)]());}[_0x4344df(0x395)](_0x45784f){var _0x3cd43e=_0x4344df;const _0x47dfb5=this['_getRedoStack'](_0x45784f);_0x47dfb5&&(_0x47dfb5[_0x3cd43e(0x373)]=0x0,this[_0x3cd43e(0x354)]());}[_0x4344df(0x4ae)](_0xb45ae1,_0x43aa53){var _0x3ac1e6=_0x4344df;this['_undoStacks'][_0x3ac1e6(0x3a7)](_0xb45ae1,_0x43aa53),this[_0x3ac1e6(0x354)]();}['_substituteRedoStack'](_0x304000,_0x2436f1){var _0x515138=_0x4344df;this[_0x515138(0x239)][_0x515138(0x3a7)](_0x304000,_0x2436f1),this[_0x515138(0x354)]();}[_0x4344df(0x410)](_0x5161bd,_0x47d26d){var _0x2d6cd5=_0x4344df;const _0x333a55=[];let _0x45ed38=_0x47d26d,_0x23a417=_0x47d26d;for(let _0x3b2484=_0x5161bd[_0x2d6cd5(0x373)]-0x1;_0x3b2484>=0x0;_0x3b2484--){const {unitID:_0x3cb926,undoMutations:_0x3b4448,redoMutations:_0x398ebd}=_0x5161bd[_0x3b2484],_0x43e50b=this[_0x2d6cd5(0x42c)][_0x2d6cd5(0x52a)](_0x45ed38,_0x3b4448),_0x59b2ca=this[_0x2d6cd5(0x42c)]['transformMutationsWithChangeset'](_0x23a417,_0x398ebd);if(_0x3e6c27[_0x2d6cd5(0x40c)](_0x43e50b)||_0x3e6c27[_0x2d6cd5(0x40c)](_0x59b2ca)){this[_0x2d6cd5(0x23f)][_0x2d6cd5(0x455)](_0x2d6cd5(0x3a2),'transformStack\x20failed!',_0x43e50b,_0x59b2ca);break;}_0x45ed38=_0x43e50b[_0x2d6cd5(0x1e7)],_0x23a417=_0x59b2ca[_0x2d6cd5(0x1e7)],_0x333a55[_0x2d6cd5(0x21b)]({'unitID':_0x3cb926,'undoMutations':_0x43e50b[_0x2d6cd5(0x267)],'redoMutations':_0x59b2ca[_0x2d6cd5(0x267)]});}return _0x333a55[_0x2d6cd5(0x35f)]();}},_0x54f6d5[_0x4344df(0x31f)]=_0xaf698e([_0x114a3a(0x0,_0x542f26[_0x4344df(0x43b)]),_0x114a3a(0x1,_0x542f26[_0x4344df(0x28a)]),_0x114a3a(0x2,_0x542f26['IContextService']),_0x114a3a(0x3,_0x3e6c27[_0x4344df(0x3c0)]),_0x114a3a(0x4,_0x542f26[_0x4344df(0x2e8)])],_0x54f6d5[_0x4344df(0x31f)]);var _0x5e0f54=Object[_0x4344df(0x3bf)],_0x2c8f19=Object[_0x4344df(0x3b9)],_0x5c49bb=(_0x45bf0d,_0x558a69,_0x48907a)=>_0x558a69 in _0x45bf0d?_0x5e0f54(_0x45bf0d,_0x558a69,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48907a}):_0x45bf0d[_0x558a69]=_0x48907a,_0x21054e=(_0x1df122,_0x25d20e,_0x4b874b,_0x599e87)=>{var _0x238774=_0x4344df;for(var _0x59216d=_0x599e87>0x1?void 0x0:_0x599e87?_0x2c8f19(_0x25d20e,_0x4b874b):_0x25d20e,_0x46e5d0=_0x1df122[_0x238774(0x373)]-0x1,_0x511e09;_0x46e5d0>=0x0;_0x46e5d0--)(_0x511e09=_0x1df122[_0x46e5d0])&&(_0x59216d=_0x511e09(_0x59216d)||_0x59216d);return _0x59216d;},_0x3c062c=(_0x34576e,_0x49e95b)=>(_0x366c60,_0x516a92)=>_0x49e95b(_0x366c60,_0x516a92,_0x34576e),_0x1c4eca=(_0x30962f,_0x8cdcb7,_0x1e0d8f)=>_0x5c49bb(_0x30962f,_0x8cdcb7+'',_0x1e0d8f);const _0x10f62a='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x54f6d5[_0x4344df(0x564)]=class extends _0x542f26[_0x4344df(0x525)]{constructor(_0x242102,_0x52490b,_0x42657b,_0x55a7db){var _0x39288e=_0x4344df;super(),_0x6d89e8(this,_0x39288e(0x3d1)),(this[_0x39288e(0x23f)]=_0x52490b,this[_0x39288e(0x3f7)]=_0x42657b,this[_0x39288e(0x339)]=_0x55a7db);const {..._0x40a14d}=_0x542f26[_0x39288e(0x4c5)]({},_0xf36a8e,_0x242102);if(!_0x40a14d[_0x39288e(0x3d2)])throw new Error(_0x39288e(0x4e1));this[_0x39288e(0x3d1)]=_0x40a14d,this['_configService']['setConfig'](_0x2fadd8,_0x40a14d);}[_0x4344df(0x405)](){var _0x190d2f=_0x4344df;this[_0x190d2f(0x4fb)](),this[_0x190d2f(0x415)]();}[_0x4344df(0x4fb)](){var _0x38ee1a=_0x4344df,_0x430aa4,_0xd546dd;this[_0x38ee1a(0x3f7)][_0x38ee1a(0x329)](_0x542f26[_0x38ee1a(0x1ed)])&&this[_0x38ee1a(0x23f)][_0x38ee1a(0x455)](_0x38ee1a(0x510),_0x38ee1a(0x1fe));const _0x505b52=_0x542f26[_0x38ee1a(0x50d)]([[_0x542f26[_0x38ee1a(0x1ed)],{'useClass':_0x54f6d5[_0x38ee1a(0x31f)]}],[_0x54f6d5[_0x38ee1a(0x2b0)]],[_0x54f6d5['MemberService']],[_0x54f6d5[_0x38ee1a(0x542)]],[_0x30b0c5],[_0x345e35],[_0x255a97],[_0x4bbdf0],[_0x50af23],[_0x54f6d5[_0x38ee1a(0x4f2)]],[_0x61f379,{'useClass':this['_config'][_0x38ee1a(0x3d2)]}],[_0x3e6c27[_0x38ee1a(0x240)],{'useClass':_0x54f6d5[_0x38ee1a(0x212)]}],[_0x542f26[_0x38ee1a(0x4ee)],{'useClass':_0x54f6d5[_0x38ee1a(0x47d)]}],[_0x412b9e[_0x38ee1a(0x374)],{'useClass':_0x54f6d5[_0x38ee1a(0x1f5)]}],[_0x542f26['IMentionIOService'],{'useClass':_0x54f6d5[_0x38ee1a(0x526)]}],[_0x54f6d5[_0x38ee1a(0x3db)]],[_0x10e4cc]],(_0x430aa4=this[_0x38ee1a(0x3d1)])==null?void 0x0:_0x430aa4[_0x38ee1a(0x424)]);if(!((_0xd546dd=this[_0x38ee1a(0x3d1)])!=null&&_0xd546dd[_0x38ee1a(0x304)])){const _0x3e0002=_0x505b52[_0x38ee1a(0x518)](([_0x40ceb7])=>_0x40ceb7===_0x2ebaf9);_0x3e0002!==-0x1&&_0x505b52[_0x38ee1a(0x2f4)](_0x3e0002,0x1);}_0x542f26[_0x38ee1a(0x2dd)](this[_0x38ee1a(0x3f7)],_0x505b52);}[_0x4344df(0x415)](){var _0x494137=_0x4344df,_0x4be12c,_0x477ff7,_0x341fa0;this[_0x494137(0x3f7)][_0x494137(0x421)](_0x2686d0[_0x494137(0x220)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2686d0[_0x494137(0x487)]({'maxParallel':0x6})}),(_0x4be12c=this[_0x494137(0x3d1)])!=null&&_0x4be12c[_0x494137(0x423)]||(_0x477ff7=this['_injector'][_0x494137(0x421)](_0xbbdfbe,_0x542f26[_0x494137(0x1dd)]['OPTIONAL']))==null||_0x477ff7[_0x494137(0x1fb)](),(_0x341fa0=this['_config'])!=null&&_0x341fa0['enableAuthServer']&&_0x542f26['touchDependencies'](this[_0x494137(0x3f7)],[[_0x30b0c5]]),_0x542f26['touchDependencies'](this[_0x494137(0x3f7)],[[_0x345e35],[_0x54f6d5[_0x494137(0x3db)]],[_0x4bbdf0]]);}},_0x1c4eca(_0x54f6d5[_0x4344df(0x564)],_0x4344df(0x4a1),_0x10f62a),_0x54f6d5['UniverCollaborationClientPlugin']=_0x21054e([_0x542f26[_0x4344df(0x549)](_0x3e6c27[_0x4344df(0x349)],_0x2686d0[_0x4344df(0x360)]),_0x3c062c(0x1,_0x542f26['ILogService']),_0x3c062c(0x2,_0x542f26['Inject'](_0x542f26[_0x4344df(0x511)])),_0x3c062c(0x3,_0x542f26[_0x4344df(0x4c1)])],_0x54f6d5[_0x4344df(0x564)]),_0x54f6d5[_0x4344df(0x21a)]=_0x224b13,_0x54f6d5['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x2fadd8,_0x54f6d5[_0x4344df(0x379)]=_0x344bb1,_0x54f6d5['COLLAB_WEB_SOCKET_URL_KEY']=_0xeabd6c,_0x54f6d5[_0x4344df(0x494)]=_0x2e0119,_0x54f6d5[_0x4344df(0x275)]=_0x219b80,_0x54f6d5[_0x4344df(0x50c)]=_0x50af23,_0x54f6d5[_0x4344df(0x1f4)]=_0x255a97,_0x54f6d5[_0x4344df(0x253)]=_0x50b001,_0x54f6d5[_0x4344df(0x547)]=_0x1573c6,_0x54f6d5[_0x4344df(0x3c3)]=_0x29faea,_0x54f6d5['HEARTBEAT_INTERVAL_KEY']=_0x5c19be,_0x54f6d5['HEARTBEAT_TIMEOUT_KEY']=_0x34a1b3,_0x54f6d5[_0x4344df(0x47e)]=_0x61f379,_0x54f6d5[_0x4344df(0x3cf)]=_0xbbdfbe,_0x54f6d5['INetworkConditionService']=_0x1b233a,_0x54f6d5['ISingleActiveUnitService']=_0x2ebaf9,_0x54f6d5[_0x4344df(0x4f5)]=0x3e8,_0x54f6d5['LOCAL_CACHE_INTERVAL_KEY']=_0x40eb98,_0x54f6d5[_0x4344df(0x251)]=_0x3a7a55,_0x54f6d5[_0x4344df(0x4db)]=_0x492511,_0x54f6d5[_0x4344df(0x2dc)]=_0x13dd0e,_0x54f6d5[_0x4344df(0x450)]=_0x2c30d2,_0x54f6d5[_0x4344df(0x25f)]=_0x1e95d2,_0x54f6d5[_0x4344df(0x3b4)]=_0x3e4c96,_0x54f6d5[_0x4344df(0x3f0)]=_0x57d029,_0x54f6d5['UnitStatus']=_0x3f1f37,_0x54f6d5[_0x4344df(0x553)]=_0x8bf658,_0x54f6d5['getLocalCacheKey']=_0x2fb637,_0x54f6d5[_0x4344df(0x36b)]=_0x57646a,Object[_0x4344df(0x3bf)](_0x54f6d5,Symbol[_0x4344df(0x369)],{'value':_0x4344df(0x24e)});}));function _0x47b6(_0x1b5aea,_0x405b99){var _0x19d7ec=_0x19d7();return _0x47b6=function(_0x47b629,_0x158080){_0x47b629=_0x47b629-0x1d2;var _0x32334f=_0x19d7ec[_0x47b629];return _0x32334f;},_0x47b6(_0x1b5aea,_0x405b99);}function _0x19d7(){var _0x5481b4=['_onMessage','updateOfflineData','_lockTransition','_undoRedoService','_getSendChangesetTimeout','APPLY_REJECT','$super','INVITE_CODE_ALREADY_BOUND','SHOULD_CLOSE_CONN','Error\x20on\x20receiving\x20event','_pendingMutations','CollaborationUIEventService','mergeOverrideWithDependencies','CipherParams','HEARTBEAT_INTERVAL','[UniverCollaborationClientPlugin]','Injector','_data','CollaborationSocketService','onTransformRemoteChangesetByStateCache','roomInfos','onlyLocal','incrementRevOfUnit','findIndex','collabSubmitChangesetUrl','_collaborationTimeoutTimer','name','Rectangle','collaboratorID','toggleOnline','_reverseMap','_onRemoteRetry','SHA1','permissionRejEvent','concatMap','CollaborationEvent','Plugin','MentionIoHttpService','open$','stopTime','type','transformMutationsWithChangeset','_keyPriorReset','sid','stringify','_append','entityInit$','MD5','_userManagerService','CollaborationSession','StreamCipher','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','INGEST','getSnapshotAPIPath','decryptBlock','joinEvent','_collaborationUIEventService','APPLY_DUPLICATED','UPDATE_CURSOR','transformChangesets','\x0aAfter:\x20','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','{fileID}','RevisionService','_rescheduleHeartbeat','SheetTransformSelectionsService','_clearRetryConnectingTimer','append','_memberService','HttpExport','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UnitEmbedded','DependentOn','_onConnectionFailed','_transformRemoteChangesetByStateCache','SyncedState','USER_NOT_INVITED_CODE','getConfig','MentionType','HEARTBEAT','keySize','[OfflineState]:\x20received\x20changeset.','deserializeToCombResponse','setShowComponents','_initMergeInterceptor','range','sendChangesetTimeout','_getUndoStack','_syncEditingCollabCursor','Base','ERROR_IMAGE','_onJoinRoomEvent','_throwTelemetryCollaborationNewChangeset','startsWith','_stopTelemetryCollaborationNewChangeset','EMAIL_HAS_BEEN_BOUND','shareReplay','INVALID_INVITE_CODE','putCollaborators','UniverCollaborationClientPlugin','unknown','INVITE_CODE_REQUIRED','_awaitingChangeset','NOT_COLLAB','_minBufferSize','execute','getResourcesRequest','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_waitCount','collaMsg','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_handlerCallback','_socketMessageSubscription','unitId\x20is\x20not\x20found','delete','Quantity','/allowed','closeSession','batchAllowed','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_removeRoom','parse','interceptor','_map','newCsEvent','c1Prime','max','readInt32LE','_collabSessionService','8433020gPOiLH','dispose$','IUndoRedoService','getCurrentRevOfUnit','6RXKyfG','format','_hasher','isArray','Decryptor','CommentService','CollaborationImageIoService','_doCreateSocket','b64DecodeUnicode','_httpService','LIVESHARE_TERMINATE','collaboration-client.local-cache-service','disableLocalCache','rxjs/operators','liveShareNewHost','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','enableCollaboration','UNRECOGNIZED','getUnitId','PSEUDO_FETCH_MISSING_RESULT','failed\x20to\x20apply\x20missed\x20changesets!','onCommentUpdate','uploadFileServerUrl','_event$','_waitForHeartbeatResponse','_snapshotServerService','_tryReconnect','@univerjs/drawing','@univerjs/telemetry','objectID','PasswordBasedCipher','cfg','synced','UNIVER_DOC','setWaitCount','SnapshotServerOverHTTPService','2849616Fhmadi','getValue','pad','_sender','object','equals','exports','AUTHZ_URL_KEY','push','SUBMIT_CHANGESET','onMissingChangesets','submit\x20changeset\x20error!','takeUntil','HTTPService','catch','getCurrentUser','UNDEFINED','PENDING','LocaleService','_snapshotService','_createSocket','_retryConnectingTimer','COMPRESS_MUTATION_SEND','infoRsp','textRanges','_localCacheService','_oKey','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_commentService','ivSize','LICENSE_DISTRO_REJECTED','leaveEvent','crypto','SEND_CHANGESET_TIMEOUT','rev','_doCryptBlock','UserProfileImg','_redoStacks','_initRequestHeader','INTERNAL_ERROR','getActiveSheet','onTransformIME','operators','_logService','ISnapshotServerService','sessionStatus$','_revisionService','getCollabEntity$','commentUpdateEvent','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/universer-api/snapshot/','_clearLocalCache','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_replayCachedMutations','OpenSSL','_remoteChangesetQueue','\x20to\x20','enc','Module','_keySchedule','BASE64','LOGIN_URL_KEY','@univerjs/core','DEFAULT_COLLAB_WEB_SOCKET_URL','editing\x20status\x20changed\x20to','values','joinRsp','join','_socketService','size','_listenToNetworkCondition','onRemoteRetry','prototype','loadUnit','image/bmp','SNAPSHOT_SERVER_URL_KEY','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_AI_RUN_FAILED','_socketReady','/-/object/list','createEncryptor','CLOSE_ROOM','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','m2Prime','awaitingChangeset','saveImage','save\x20fail\x20reason\x20is\x20','_collaborationPaused','getUnitOnRev','COMMENT_UPDATE','floor','resolve','onTransformSelections','UPDATE_PERMISSION_OBJ','_telemetryInfo','downloadEndpointUrl','extend','CollaborationUIEventId','createDecryptor','LIVESHARE_REQUEST_HOST','localeService','isTransformMutationsWithChangesetSuccess','encode','updatePermissionObjEvent','PERMISSION_REJ','_commandService','INVALID_ARGUMENT','getMember','HMAC','_roomMembers','USERS_LEAVE','_socket$','asObservable','UNIVER_SHEET','_transformRemoteChangesetByIMECache','message$','byteOffset','getWorkbookSelections','ICommandService','fetching\x20missing\x20changesets\x20from\x20','complete','getUnit','clamp','_getSignURL','close$','editingUnit','CommandType','getUnitType','IDLE','slice','createCollaborator','_createHmacHelper','[SyncedState]:\x20received\x20rejection.','dispose','_createHelper','telemetry\x20info\x20is\x20not\x20initialized','authzUrl','refreshPermission','status$','_compressMutationService','HEARTBEAT_TIMEOUT','_onUserLeave','getTypeOfUnitAdded$','_onUserJoin','Utf8','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs-pro/collaboration','ceil','uniscriptRunEvent','session.join-failed','OfflineState','UniverProLicense','firstValueFrom','_decreaseWaiting','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','indexOf','CollaborationSessionService','_instanceService','createIdentifier','charCodeAt','onSendChangeset','9180243iphvbj','getCurrentSelections','16sBVzHX','iterations','UniverDocs','RxDisposable','_hash','Encryptor','sigBytes','_doProcessBlock','ALREADY_EXISTS','FetchingMissState','csAckEvent','debug','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','InsertSheetMutation','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COLLAB_WEB_SOCKET_URL','words','method','_onRecvEvent','awaiting','capture','_resendTimer','Hex','_onConflict','generateRandomId','BehaviorSubject','_state$','Subject','getTypeOfUnitDisposed$','mutations','executeCommand','c2Prime','onStateChange','Disposable','registerHTTPInterceptor','PY_RUNTIME_SCRIPT_ERROR','LICENSE_MAX_UNITS_EXCEEDED','RETRY_CONNECTING_MAX_COUNT_KEY','registerDependencies','JSONX','emitEvent','963446lmabqn','_createInitialStateImpl','_eventService','url','unit-cache-','key','_status$','_transformUndoredo','ILogService','OTHER_CLIENTS_EDITING','encrypt','loadUnitOfRevision','hostname','update','pauseCollaboration','PERMISSION_DENIED','padding','Tools','_ENC_XFORM_MODE','\x20in\x20_schedule.','splice','then','changesets','_parse','LICENSE_IMPORT_SIZE_EXCEEDED','listCollaborators','getSheetId','CBC','getRandomValues','_onOffline','_xformMode','onMissedChangesetFetched','SNAPSHOT_INVALID_SNAPSHOT','univer-pro.collaboration-client-socket-service','session','EvpKDF','enableSingleActiveInstanceLock','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SetSelectionsOperation','initWorkbookPermissionChange','ENSURE_SNAPSHOT_EXECUTION','parseProtocolChangeset','onTransformRemoteChangesetByIMECache','unsubscribe','sin','subject','transformSelections','YUUMI_ASYNCIO_CANCELLED','SheetPermissionInitController','updateMember','_unlockTransition','lib','Cipher','_createInitialState','params','getGlobalObject','mapDocumentTypeToUniverType','SNAPSHOT_HAS_BEEN_REMOVED','_type','reqId','_createHandler','_acknowledgedAwaitingChangeset','_onRemoteACK','CollaborativeUndoRedoService','revision','target','_getUploadFileURL','HttpImport','toDisposable','CONNECTOR_DATA_TOO_LARGE','_getAPIPrefix','isPermissionRej','string','has','removeMember','avatar','_singleActiveUnitService','Undefined','_entities','MemberService','HTTPRequest','confirm','onRemoteChangeset','_updateLocalCache','_onRemoteRejected','post','resend','NOT_FOUND','default','_configService','_clearUndo','processBlock','POST','_transitionLocked','Base64','SOCKET_FAILED_RETRY','state','_iv','_permissionService','byteLength','COMPRESS_MUTATION_APPLY','apply','Workbook','/block/','ONLINE','UniverCollaborationPlugin','fetchMissingChangesets','blockSize','next','signUrlServerUrl','Could\x20not\x20dynamically\x20require\x20\x22','/collaborator','collabWebSocketUrl','NO_OTHER_CLIENTS_EDITING','every','state$','_updateStatus','buffer','sheets','ciphertext','UNISCRIPT_RUN','onSyncEditingCollabCursor','AwaitingWithPendingState','concat','Malformed\x20UTF-8\x20data','YUUMI_URL_COL_OUT_OF_RANGE','_getCurrentRevision','reverse','UniverNetworkPlugin','_sheetTransformSelectionsService','mixIn','[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.','onRemoteRej','_change$','getSheetBlock','CHANGESET_REJ','_onLocalMutation','toStringTag','_candidateSocket','serializeCombRequest','_updateState','HELLO','body','clone','JOIN_ROOM_NOT_EXISTS','msCrypto','requireSession','length','IImageIoService','updatePermissionPoint','_getCtorByUniverType','COLLAB_SUBMIT_CHANGESET_URL','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','COLLAB_SUBMIT_CHANGESET_URL_KEY','_sessionStatus$','AES','eventID','_nRounds','not_collab','SYNCED','OFFLINE','_submitChangeset','_state','getInterceptPoints','_resendWithTimeout','[OfflineState]:\x20received\x20rejection.','YUUMI_SUBSCRIPTION_NOT_FOUND','?url=','_joinRoom','_startTelemetryCollaborationNewChangeset','decrypt','getMemberID','[CollaborationSessionService]','[SyncedState]:\x20received\x20acknowledgement.','AwaitingState','_process','toString','_telemetryService','_getAPIPrefixPath','_disableEditing','encodeURIComponent','_clearRedo','SUCCUSS','ERROR_IMAGE_TYPE','AWAITING','[CollaborationState]:\x20apply\x20error!','_clearScheduledTask','_unitID','_cipher','from','localCacheService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_changesetReqId','sequenceExecute','[CollaborationUndoRedoService]','salt','LocalUndoRedoService','_sessions','@univerjs-pro/license','set','UniverInstanceType','JOIN_ROOM_FAILED','retryConnectingInterval','BlockCipher','charAt','_clearTimeoutTimer','_applyRemoteChangeset','offline','_incrementRevisionNumber','unpad','/unit/','[FetchMissState]','SNAPSHOT_URL_KEY','?size=','origin','CollaborationEntity','getRoom','getOwnPropertyDescriptor','put','[PendingState]:\x20received\x20acknowledgement.','/universer-api/file/{fileID}/sign-url','GLOBAL_ROOMS_CNT_EXCEEDS','OTHER_CLIENT_EDITING','defineProperty','ITransformService','_replaceFileID','onCommandExecuted','DEFAULT_WS_SESSION_TICKET_URL','ISocketService','data','11548607jLTVcG','_localeService','Latin1','take','loginUrlKey','getImage','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','rxjs','headers','ILocalCacheService','call','_config','socketService','list','_timeoutTimer','Hasher','collaborators','saveChangeset','_shouldReportTelemetry','code','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','CollaborationController','includes','unitID','copyFileMeta','hasher','@univerjs/docs','reset','AWAITING_WITH_PENDING','replace','NEW_CHANGESETS','PendingState','_univerInstanceService','_substituteRedoStack','src','_scheduleCompleteTimestamp','algo','fromCharCode','ImageSourceType','_queuedRemoteChangesets','People','_startCollaboration','SessionStatus','find','cmd','_key','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','originalMeta','\x20-\x20','_injector','&to=','_toggleOffline','now','allowed','UNKNOWN_CMD','requestParams','auth.needGotoLoginAlert','MOBILE_HAS_BEEN_BOUND','_getLoginPath','connection\x20error','LOGIN_FAILED','_HTTPService','_entityInit$','onStarting','_sendHeartbeat','parseChangesetToProtocol','[OfflineState]:\x20received\x20acknowledgement.','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Optional','getImageSourceCache','isTransformMutationsWithChangesetFailure','FETCH_MISSING','collaboration-client.config','SUBMIT_CHANGESET_TIMEOUT','_transformStack','_initUnitPermissionChange','getUnitStatus$','_schedule','_transformStateCache','_initDependencies','UNIVER_PROJECT','_onConnectionOpen','isTransformChangesetsSuccess','createSocket','result','[CollaborationSession]','_changesetSessionId','_emitMembers','JOIN_ROOM_PERMISSION_DENIED','_exhaustRemoteChangesetQueue','reconnect','get','UNAUTHENTICATED','enableOfflineEditing','override','UNIVER_UNKNOWN','liveShareOperation','create','setCurrentUser','MSG_FOR_ERROR','_executeRemoteChangeset','status','_transformService','onRemoteAck','clear','YUUMI_UNABLE_LOAD_URL','_clearCollaborationTimeoutTimer','_doReset','MUTATION','error$','baseRev','ITelemetryService','_scheduleCollaborationTimeoutTimer','objects','delay','_onRemoteChangeset','href','IUniverInstanceService','HmacSHA1','APPLY_NON_SEQUENTIAL_REVISION','createInstance','4680864kSlOgw','COMPLETION_FINISHED','close','ConflictState','map','updateSnapshot','change$','sessionStatus','action','TOO_MANY_REQUESTS','WordArray','fetch_missing','LIVESHARE_FETCH_OPERATIONS','YUUMI_NO_CUBOID_FOR_QUESTION','_toggleOnline','univer-pro.collaboration-client.network-condition.service','EmptyMutation','SEND_CHANGESET_TIMEOUT_KEY','CHANGESET_SHOULD_RETRY','objectActions','CHANGESET_REVISION_CONFILICT','randomBytes','error','_isPermissionRej','_initCloseConn','DocCollaborationEntity','USERS_ENTER','transformUndoRedo','_iKey','function','min','finalize','SheetCollaborationEntity','resourceIDs','/object/','fetchMiss','[PendingState]:\x20unhandled\x20univer\x20type:\x20','file','subscribe','UniverSheets','_sendingTimer','_imageSourceCache','_showConflictNotification','unitInfo$','YUUMI_RATE_OVER_LIMIT','repeat','Univer','IPermissionService','JOIN_ROOM_FULL','_unitInfo$','_socket','Pkcs7','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','FETCH_MISS','NoPadding','_handler','WECHAT_HAS_BEEN_BOUND','INVITE_CODE_HAS_BEEN_UES','PERSON','csRejEvent','UNIVER_SLIDE','AuthzIoHttpService','ICollaborationSocketService','_tryEnsureSocket','_resendTimeout','UniverProCollaborationClient','[CollaborationSessionService]:\x20socket\x20error','FAIL','members','title','DEFAULT_FILE_NAME','ThresholdInterceptorFactory','objectType','CHANGESET_ACK','\x0aCurrent:\x20','encryptBlock','filter','loadOfflineData','random','textEncoder','commentUpdate$','_members$','_nDataBytes','members$','CollaborationStatus','_collaborationSessionService','unitId','formatter','appendMutation','_roomCreated$','LIVESHARE_OPERATION','CONFLICT','/universer-api/oidc/authpage','RETRY_CONNECTING_MAX_COUNT','DisposableCollection','send','socket\x20open.','pluginName','image/gif','getFocusedUnit','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','snapshotServerUrl','selections','_init','/new_changes','_retryCount','hasOwnProperty','_doFinalize','updateCursorEvent','_members','_substituteUndoStack','_onCombEvent','JOIN','_DEC_XFORM_MODE','reject','_getRedoStack','ERROR_EXCEED_SIZE','ImageUploadStatusType','fetchThroughInterceptors','event$','readAsDataURL','getLatestCsReqIdBySid','@univerjs/network','MergeInterceptorFactory','getCollabEntity','APPLY_PERMISSION_DENIED','abs','_fetchMissChangesets','disposeWithMe','IConfigService','UNKNOWN_CODE','LEAVE','BufferedBlockAlgorithm','merge','JOINING','_mode','UnitSnapshot','266341YwHVpM','userID','patch','actions','withCredentials','[CollaborationEntity]','BlockCipherMode','_checkMissing','LIVESHARE_NEW_HOST','onload','conflict','session.room-not-exists','FileId','RECV','updateCollaborator','APPLY_REVISION_CONFILICT','onTransformState','snapshot','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','mode','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CompressMutationService','roles','duration','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','Inject','forEach','_networkConditionService','_onFetchMissResult','_getDownloadEndpointURL','pipe','reduce','_clearHeartbeatTimer','_sendHeartbeatTimer','__creator','image/jpg','_transformSelections','IAuthzIoService','RichTextEditingMutation','memberID','__Key__','DataLoaderService','init','@univerjs/sheets','LOCAL_CACHE_INTERVAL','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getDeserializedSheetBlock','toggleOffline','_commentUpdate$','&assign=','_registerDependencies','_invKeySchedule','WorkbookEditablePermission','_prevBlock','routeKey','add'];_0x19d7=function(){return _0x5481b4;};return _0x19d7();}
|