@univerjs-pro/collaboration-client 0.5.1-nightly.202412161606 → 0.5.1-nightly.202412171234

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x39c0(){var _0x47ae7d=['fetchThroughInterceptors','toStringTag','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_exhaustRemoteChangesetQueue','_cipher','concat','@univerjs-pro/collaboration','PERSON','location','_toggleOffline','\x0aAfter:\x20','LocaleService','image/bmp','getLocalCacheKey','collabWebSocketUrl','SOCKET_FAILED','_oKey','fetch_missing','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','CollaborationSessionService','connection\x20error','getUnitId','now','requireSession','_loadDoc','dispose$','Hex','unpad','CommentService','UserManagerService','Hasher','userID','_reverseMap','Tools','appendMutation','requestParams','_initUnitPermissionChange','SUBMIT_CHANGESET','getLatestCsReqIdBySid','FETCH_MISSING','reqId','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_state','StreamCipher','entityInit$','randomUUID','substr','/role','COLLAB_SUBMIT_CHANGESET_URL_KEY','onLocalMutation','snapshotServerUrl','compute','listRoles','unitId','Base','SOCKET_FAILED_RETRY','/universer-api/uniscript','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ILocalCacheService','_changesetSessionId','wsSessionTicketUrl','_checkMissing','execute','univer-pro.collaboration-client-socket-service','_handler','onRemoteAck','message$','c1Prime','_sender','ISocketService','onCommandExecuted','href','FAIL','next','onTransformRemoteChangesetByIMECache','_clearHeartbeatTimer','map','x-univer-host','_transformStack','RECV','reject','_undoRedoService','ISingleActiveUnitService','/rev/','finalize','textEncoder','_transformService','getTime','unitId\x20is\x20not\x20found','ivSize','_listenToNetworkCondition','_socket','UniverCollaborationClientPlugin','encode','saveSnapshot','755HocgUn','permissionRejEvent','disposeWithMe','LIVESHARE_FETCH_OPERATIONS','UniverProCollaboration','_type','RETRY_CONNECTING_MAX_COUNT_KEY','getCollabEntity','_createSocketURL','[FetchMissState]','JOIN_ROOM_FULL','merge','signUrlServerUrl','getAllWorksheetPermissionPointByPointPanel','formatter','MergeInterceptorFactory','LOGIN_URL_KEY','UnitSnapshot','ERROR_IMAGE_TYPE','setWaitCount','/unit/','APPLY_PERMISSION_DENIED','PSEUDO_FETCH_MISSING_RESULT','WordArray','onRemoteChangeset','OTHER_CLIENT_EDITING','getSheetId','@univerjs/telemetry','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_onUserJoin','_hash','HEARTBEAT_TIMEOUT_KEY','SNAPSHOT_SERVER_URL_KEY','title','_status$','_timeoutTimer','_roomMembers','[CollaborationSessionService]','LICENSE_MAX_UNITS_EXCEEDED','localeService','complete','IUndoRedoService','_socket$','_transformRemoteChangesetByStateCache','close','prototype','_imageSourceCache','_clearCollaborationTimeoutTimer','_doCryptBlock','ciphertext','fromCollab','NEW_CHANGESETS','IConfigService','INGEST','HEARTBEAT_INTERVAL','ALREADY_EXISTS','cfg','_updateStatus','6134860fbwlMv','_onConnectionFailed','Quantity','reduce','submit\x20changeset\x20error!','PENDING','Optional','@univerjs/docs','/collaborator','words','Disposable','_collaborationTimeoutTimer','BASE64','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','INVALID_ARGUMENT','src','awaitingChangeset','getCurrentUnitForType','COLLAB_WEB_SOCKET_URL','[UniverCollaborationClientPlugin]','authzUrl','send','_createInitialStateImpl','_xformMode','NOT_FOUND','SheetTransformSelectionsService','LOCAL_CACHE_INTERVAL_KEY','_schedule','resolve','_removeRoom','_submitChangeset','pipe','open$','COMMENT_UPDATE','loadSheet','getCurrentSelections','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','find','allowed','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','localCacheService','334VguKnC','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','call','/universer-api/oidc/authpage','registerDependencies','updateMember','@univerjs-pro/license','_initRequestHeader','NOT_COLLAB','DEFAULT_COLLAB_WEB_SOCKET_URL','waitForRoom$','byteLength','rev','searchParams','Encryptor','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','includes','post','unitInfo$','NoPadding','377199KYXeLV','sessionStatus','@univerjs/drawing','create','SetSelectionsOperation','LICENSE_DISTRO_REJECTED','getInterceptPoints','action','PERMISSION_DENIED','resend','YUUMI_UNABLE_LOAD_URL','UNIVER_UNKNOWN','UnitObject','HmacMD5','_replaceFileID','_sendingTimer','_onLocalMutation','function','_transitionLocked','transformChangesets','onRemoteRej','Rectangle','indexOf','HmacSHA1','updatePermissionObjEvent','LOCAL_CACHE_INTERVAL','_syncEditingCollabCursor','encodeURIComponent','snapshot','toString','POST','_stopTelemetryCollaborationNewChangeset','Base64','pending','_singleActiveUnitService','ILogService','code','onSendChangeset','IUniverInstanceService','deepClone','pauseCollaboration','extend','UniverDrawing','_changesetReqId','sigBytes','confirm','/universer-api/file/{fileID}/sign-url','APPLY_REVISION_CONFILICT','repeat','data','_transformIMECache','_nRounds','fetching\x20missing\x20changesets\x20from\x20','file','getPermissionPoint','/block/','_substituteRedoStack','UNIVER_DOC','unsubscribe','_permissionService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','ReplaySubject','SheetCollaborationEntity','SerializableCipher','abs','hostname','_onRemoteACK','_http','ENSURE_SNAPSHOT_EXECUTION','_getSignURL','catch','error','_configService','init','format','NO_OTHER_CLIENTS_EDITING','/new_changes','MentionType','USERS_LEAVE','$super','defineProperty','104lbdxzI','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationEntity','APPLY_DUPLICATED','Undefined','/allowed','synced','COMPRESS_MUTATION_APPLY','subUnitId','concatMap','CHANGESET_SHOULD_RETRY','hasher','workbook','initWorkbookPermissionChange','serializeCombRequest','CompressMutationService','[CollaborationState]:\x20apply\x20error!','_throwTelemetryCollaborationNewChangeset','DocCollaborationEntity','executeCommand','registerHTTPInterceptor','APPLY_NON_SEQUENTIAL_REVISION','encrypt','transformMutationsWithChangeset','refreshPermission','YUUMI_SUBSCRIPTION_NOT_FOUND','csShouldRetryEvent','forEach','_doReset','_nDataBytes','SNAPSHOT_INVALID_SNAPSHOT','&source=','setCurrentUser','_keyPriorReset','commentUpdate$','_telemetryInfo','session.join-failed','state$','cmd','SyncedState','getConfig','_resendWithTimeout','AwaitingWithPendingState','unknown','algo','_onMessage','_clearLocalCache','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','liveShareNewHost','loadOfflineData','startTime','debug','clamp','_clearRedo','[SyncedState]:\x20received\x20acknowledgement.','reset','_entities','OpenSSL','CHANGESET_ACK','_userManagerService','newCsEvent','LIVESHARE_REQUEST_HOST','CHANGESET_REJ','updateCursorEvent','FileId','downloadEndpointUrl','UniverCore','INetworkConditionService','editingUnit','disableLocalCache','then','_showConflictNotification','FETCH_MISS','RichTextEditingMutation','TOO_MANY_REQUESTS','interceptor','collaborators','_key','2036419AEiJDn','defaultWorksheetPermissionPoint','_HTTPService','BehaviorSubject','getMemberID','HEARTBEAT_INTERVAL_KEY','salt','socket\x20open.','_waitCount','ImageUploadStatusType','UPDATE_CURSOR','MentionIoHttpService','[DataLoaderService]','EXCHANGE_SIGN_URL_SERVER_URL_KEY','resourceIDs','_applyRemoteChangeset','_localCacheService','_shouldReportTelemetry','APPLY_REJECT','roomInfos','conflict','loadUnit','SessionStatus','503484tUGlKn','state','_waitForHeartbeatResponse','reverse','onTransformState','onRemoteRetry','UNIVER_SLIDE','SelectRange','createSocket','_tryReconnect','_scheduleCollaborationTimeoutTimer','copyFileMeta','getOwnPropertyDescriptor','blockSize','fetchMissingChangesets','AUTHZ_URL_KEY','saveImage','ERROR_IMAGE','USERS_ENTER','revision','parseProtocolChangeset','string','SUBMIT_CHANGESET_TIMEOUT','\x20to\x20','_substituteUndoStack','rxjs','createInstance','_commentUpdate$','_retryConnectingTimer','DisposableCollection','/universer-api/snapshot','_rescheduleHeartbeat','floor','_iv','failed\x20to\x20apply\x20missed\x20changesets!','UniverProLicense','error$','LICENSE_IMPORT_SIZE_EXCEEDED','onTransformRemoteChangesetByStateCache','subType','_joinRoom','_commandService','from','iterations','YUUMI_URL_COL_OUT_OF_RANGE','_onOffline','JOIN','UNAUTHENTICATED','size','WorkbookEditablePermission','csAckEvent','onMissingChangesets','_getSendChangesetTimeout','_createHmacHelper','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','mapDocumentTypeToUniverType','_transformStateCache','SEND_CHANGESET_TIMEOUT','_pendingMutations','slice','_mode','onTransformIME','BufferedBlockAlgorithm','ceil','_init','556UgJZhZ','equals','getSnapshotAPIPath','transformUndoRedo','actions','onMissedChangesetFetched','auth.needGotoLoginAlert','isTransformMutationsWithChangesetFailure','@univerjs/sheets','mode','UniverProCollaborationClient','RETRY_CONNECTING_MAX_COUNT','members','_univerInstanceService','_entityInit$','isInternalEditorID','Pkcs7','status$','_initMergeInterceptor','_revisionService','UniverNetwork','CollaborationController','updateCollaborator','isTransformMutationsWithChangesetSuccess','CBC','[CollaborationUndoRedoService]','_socketService','_getAPIPrefixPath','SYNCED','univer-pro.collaboration-client.network-condition.service','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','baseProtectionActions','IDLE','/-/object/list','WorksheetProtectionRuleModel','ThresholdInterceptorFactory','json','UNIVER_PROJECT','CollaborationSocketService','_disableEditing','_commentService','keySize','HTTPRequest','capture','_compressMutationService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','textRanges','_onRemoteChangeset','&assign=','has','length','UNISCRIPT_RUN','delay','toggleOnline','HELLO','_eventService','ITransformService','findIndex','univer-pro.collaboration-client.single-active-unit-service','lib','_networkConditionService','UNRECOGNIZED','ISnapshotServerService','shareReplay','ICollaborationSocketService','RevisionService','filter','search','HttpExport','random','hasOwnProperty','/universer-api/user/session-ticket','key','[OfflineState]:\x20received\x20acknowledgement.','_emitMembers','listCollaborators','UniverInstanceType','CollaborationUIEventService','deleteCollaborator','_onCombEvent','_toggleOnline','_updateLocalCache','_event$','_startTelemetryCollaborationNewChangeset','?size=','unitID','result','onCommentUpdate','image/jpg','HMAC','params','_getAPIPrefix','eventID','routeKey','UnitEmbedded','_decreaseWaiting','_getSessionTicket','_localeService','COMPRESS_MUTATION_SEND','_registerDependencies','startsWith','_undoStacks','_initDependencies','_hasher','takeUntil','decrypt','_socketMessageSubscription','_replayCachedMutations','take','_map','_executeRemoteChangeset','_state$','_retryCount','/-/object/-/batch_allowed','socket\x20close','online$','type','_transformRemoteChangesetByIMECache','_getUploadFileURL','LocalUndoRedoService','_roomCreated$','bind','sequenceExecute','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','onlyLocal','_collaborationUIEventService','readInt32LE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getImage','_logService','_unitInfo$','_doFinalize','Malformed\x20UTF-8\x20data','_collaborationPaused','HttpImport','mixIn','_fetchMissChangesets','sid','[CollaborationSession]','SheetsSelectionsService','/object/','_incrementRevisionNumber','_injector','add','JOIN_ROOM_NOT_EXISTS','/universer-api/authz','liveShareOperation','sheets','Cipher','[CollaborationEntity]','__Key__','SUCCUSS','HEARTBEAT_TIMEOUT','UNKNOWN_CMD','isPermissionRej','firstValueFrom','offline','PERMISSION_REJ','_iKey','getAllWorkbookPermissionPoint','parse','getTargetByPermissionId','headers','clone','_resendTimer','collaboration_new_changeset','AwaitingState','\x0aCurrent:\x20','JSONX','crypto','enc','_transformSelections','asObservable','originalMeta','_clearTimeoutTimer','operators','transformStack\x20failed!','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','kdf','_getCurrentRevision','IImageIoService','[PendingState]:\x20received\x20rejection.','_resendTimeout','UNIVER_SHEET','Plugin','update','touchDependencies','COMPLETION_FINISHED','selections','UPDATE_PERMISSION_OBJ','getUnitOnRev','_getUndoStack','exports','SHOULD_CLOSE_CONN','awaiting','3772yzHxrp','joinRsp','_lockTransition','getResourcesRequest','pad','getFocusedUnit','LEAVE','_onRemoteRetry','Module','JOINING','getAllWorksheetPermissionPoint','set','Subject','_tryEnsureSocket','FetchingMissState','awaiting_with_pending','objectID','InsertSheetMutation','session.room-full','clearUndoRedo','OTHER_CLIENTS_EDITING','EvpKDF','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','defaultWorkbookPermissionPoints','_doProcessBlock','m2Prime','_telemetryService','MSG_FOR_ERROR','Latin1','getMember','charCodeAt','_sendHeartbeat','_acknowledgedAwaitingChangeset','_change$','session.room-cnt-exceeds','getValue','_scheduleTimestamp','getUnitType','CHANGESET_REVISION_CONFILICT','getRandomValues','baseRev','dispose','UniverDocs','OfflineState','getTypeOfUnitAdded$','url','CONFLICT','transformSelections','CollaborationUIEventId','getTypeOfUnitDisposed$','CollaborationEvent','_getLoginPath','MUTATION','encryptBlock','runId','collaboratorID','SNAPSHOT_URL_KEY','CollaborativeUndoRedoService','_onFetchMissResult','infoRsp','getAllRangePermissionPoint','withCredentials','charAt','_config','getCollabEntity$','_minBufferSize','_prevBlock','EmptyMutation','__creator','getAllMembers','CLOSE_ROOM','Error\x20on\x20receiving\x20event','GLOBAL_ROOMS_CNT_EXCEEDS','sendChangesetTimeout','UniverTelemetry','origin','_socketReady','_clearScheduledTask','INTERNAL_ERROR','__esModule','_queuedRemoteChangesets','@univerjs/core','1131924vjfTNB','_append','buffer','_sessionStatus$','_loadSheet','c2Prime','csRejEvent','ICommandService','ITelemetryService','_createSocket','IPermissionService','responseType','delete','clear','compose','createDecryptor','ImageSourceType','reconnect','MemberService','DataLoaderService','HTTPService','_parse','joinEvent','loginUrlKey','DEFAULT_FILE_NAME','onTransformSelections','byteOffset','MD5','replace','override','parseChangesetToProtocol','_getCtorByUniverType','save\x20fail\x20reason\x20is\x20','LIVESHARE_NEW_HOST','AuthzIoHttpService','BlockCipherMode','push','_snapshotService','_sendHeartbeatTimer','status','CollaborationImageIoService','getCurrentRevOfUnit','shouldCloseConn','min','isArray','SEND_CHANGESET_TIMEOUT_KEY','toggleOffline','value','_memberService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','LICENSE_EXPORT_SIZE_EXCEEDED','generateRandomId','createEncryptor','name','/universer-api/comb','_clearUndo','_startCollaboration','createIdentifier','_unitID','_onConflict','put','apply','Utf8','SnapshotService','[OfflineState]:\x20received\x20changeset.','_remoteChangesetQueue','ruleRefresh','COLLAB_WEB_SOCKET_URL_KEY','_snapshotServerService','ONLINE','_invKeySchedule','_onJoinRoomEvent','toDisposable','_members','every','object','HEARTBEAT','Decryptor','LIVESHARE_OPERATION','loadDoc','ConflictState','CONNECTOR_DATA_TOO_LARGE','_onRemoteRejected','max','CommandType','fetchMiss','b64DecodeUnicode','UNIVER_COLLABORATION_CLIENT_PLUGIN','editing\x20status\x20changed\x20to','JOIN_ROOM_PERMISSION_DENIED','_candidateSocket','mutations','values','onSyncEditingCollabCursor','Workbook','event$','padding','OFFLINE','addHandlerCallback','_onRecvEvent','Injector','RangeProtectionRuleModel','_createHelper','RxDisposable','batchAllowed','[OfflineState]:\x20received\x20rejection.','SnapshotServerOverHTTPService','emitEvent','msCrypto','_transformUndoredo','UnitStatus','range','_process','getUnit','default','rng','[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.','_sheetTransformSelectionsService','SHA1','enableAuthServer','method','_initCloseConn','list','subject','JOIN_ROOM_FAILED','_authzIoService','rxjs/operators','Inject','updateOfflineData','_getDownloadEndpointURL','IMentionIOService','_httpService','PendingState','join','stringify','memberID','subscribe','readyForCollab','body','objectType','_awaitingChangeset','/resources','Worksheet','_createHandler','removeMember','closeSession','ws://127.0.0.1:8000/universer-api/comb/connect','collabSubmitChangesetUrl','onload','_ENC_XFORM_MODE','_redoStacks','readAsDataURL','getGlobalObject','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','BlockCipher','getCurrentUser','IAuthzIoService','_unlockTransition','_onUserLeave','session','_data','get','enableSingleActiveInstanceLock','_handlerCallback','AES','_collaborationSessionService','_instanceService','SNAPSHOT_HAS_BEEN_REMOVED','sessionStatus$','UNKNOWN_CODE','fromCharCode','getWorkbookSelections','deserializeToCombResponse','changesets','LIVESHARE_TERMINATE','updatePermissionPoint','_updateState','CipherParams','_keySchedule','_sessions','isTransformChangesetsSuccess','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','saveSheetBlock'];_0x39c0=function(){return _0x47ae7d;};return _0x39c0();}function _0x23b0(_0x2d1344,_0x32dad9){var _0x39c0eb=_0x39c0();return _0x23b0=function(_0x23b01b,_0x2a54c4){_0x23b01b=_0x23b01b-0xdc;var _0x41d4d0=_0x39c0eb[_0x23b01b];return _0x41d4d0;},_0x23b0(_0x2d1344,_0x32dad9);}(function(_0x41a2fb,_0x43710d){var _0x4014a4=_0x23b0,_0x1a5b25=_0x41a2fb();while(!![]){try{var _0x4132dc=-parseInt(_0x4014a4(0x11f))/0x1*(-parseInt(_0x4014a4(0x3ad))/0x2)+parseInt(_0x4014a4(0x234))/0x3+parseInt(_0x4014a4(0x1e2))/0x4*(parseInt(_0x4014a4(0x34a))/0x5)+-parseInt(_0x4014a4(0xde))/0x6+-parseInt(_0x4014a4(0x460))/0x7+-parseInt(_0x4014a4(0x412))/0x8*(parseInt(_0x4014a4(0x3c1))/0x9)+parseInt(_0x4014a4(0x384))/0xa;if(_0x4132dc===_0x43710d)break;else _0x1a5b25['push'](_0x1a5b25['shift']());}catch(_0x10f886){_0x1a5b25['push'](_0x1a5b25['shift']());}}}(_0x39c0,0x4acbd),function(_0x139021,_0x165a41){var _0x32cbf7=_0x23b0;typeof exports==_0x32cbf7(0x27f)&&typeof module<'u'?_0x165a41(exports,require(_0x32cbf7(0x233)),require(_0x32cbf7(0xf7)),require(_0x32cbf7(0x2b2)),require('@univerjs/network'),require(_0x32cbf7(0x2f1)),require('@univerjs/telemetry'),require(_0x32cbf7(0x38b)),require('@univerjs/sheets'),require(_0x32cbf7(0x3c3)),require('@univerjs-pro/license')):typeof define==_0x32cbf7(0x3d2)&&define['amd']?define(['exports',_0x32cbf7(0x233),_0x32cbf7(0xf7),_0x32cbf7(0x2b2),'@univerjs/network',_0x32cbf7(0x2f1),_0x32cbf7(0x365),_0x32cbf7(0x38b),_0x32cbf7(0x127),_0x32cbf7(0x3c3),_0x32cbf7(0x3b3)],_0x165a41):(_0x139021=typeof globalThis<'u'?globalThis:_0x139021||self,_0x165a41(_0x139021[_0x32cbf7(0x129)]={},_0x139021[_0x32cbf7(0x454)],_0x139021[_0x32cbf7(0xf7)],_0x139021[_0x32cbf7(0xf7)][_0x32cbf7(0x1ce)],_0x139021[_0x32cbf7(0x133)],_0x139021[_0x32cbf7(0x34e)],_0x139021[_0x32cbf7(0x22c)],_0x139021[_0x32cbf7(0x20c)],_0x139021['UniverSheets'],_0x139021[_0x32cbf7(0x3eb)],_0x139021[_0x32cbf7(0x101)]));}(this,function(_0x31903a,_0x38c92c,_0x30238b,_0x190d1f,_0x3bdd40,_0x427fbe,_0x1605ec,_0x1a786a,_0x3eb888,_0x286436,_0x243b36){'use strict';var _0x148bdb=_0x23b0;var _0x149024=Object[_0x148bdb(0x411)],_0x5364c1=(_0x332da1,_0x54e489,_0x552a30)=>_0x54e489 in _0x332da1?_0x149024(_0x332da1,_0x54e489,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x552a30}):_0x332da1[_0x54e489]=_0x552a30,_0x3f7bc0=(_0x5bb9df,_0x1b925c,_0x12417a)=>_0x5364c1(_0x5bb9df,typeof _0x1b925c!='symbol'?_0x1b925c+'':_0x1b925c,_0x12417a);const _0xa5388='SNAPSHOT_SERVER_URL_KEY',_0x23d79e=_0x148bdb(0xfc),_0x1d8b6b=_0x148bdb(0x21a),_0x4cc532=_0x148bdb(0x117),_0x45c16a=_0x148bdb(0x396),_0x4a5e3a=_0x148bdb(0x2c6),_0x5d7fd8=_0x148bdb(0x166),_0x3ad4e9=_0x148bdb(0x380),_0x5ea91e=_0x148bdb(0x1b7),_0x137d79=_0x148bdb(0x12a),_0x4415d6=_0x148bdb(0x3da),_0x5158b1='COLLAB_SUBMIT_CHANGESET_URL',_0x5acae7=_0x148bdb(0x26a),_0x2782da=_0x148bdb(0x35a),_0x4d40b3=_0x148bdb(0x3b0),_0x168f79=_0x148bdb(0x13d),_0x56c7fa=_0x148bdb(0x323);var _0x1c6789=(_0x4a2ad1=>(_0x4a2ad1[_0x4a2ad1['UNDEFINED']=0x0]='UNDEFINED',_0x4a2ad1[_0x4a2ad1['OK']=0x1]='OK',_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x230)]=0x2]='INTERNAL_ERROR',_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x3c9)]=0x3]='PERMISSION_DENIED',_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x39c)]=0x4]=_0x148bdb(0x39c),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x10d)]=0x5]=_0x148bdb(0x10d),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x381)]=0x6]='ALREADY_EXISTS',_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x392)]=0x7]=_0x148bdb(0x392),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x45c)]=0x8]='TOO_MANY_REQUESTS',_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x1da)]=0x9]=_0x148bdb(0x1da),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x208)]=0x1389]=_0x148bdb(0x208),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x430)]=0x1771]=_0x148bdb(0x430),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x2db)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x405)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x472)]=0x1b59]='APPLY_REJECT',_0x4a2ad1[_0x4a2ad1['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x148bdb(0x427),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x3f0)]=0x1b5b]=_0x148bdb(0x3f0),_0x4a2ad1[_0x4a2ad1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x148bdb(0x35f),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x415)]=0x1b5d]='APPLY_DUPLICATED',_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x285)]=0x1f41]=_0x148bdb(0x285),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x370)]=0x2329]=_0x148bdb(0x370),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x413)]=0x232a]=_0x148bdb(0x413),_0x4a2ad1[_0x4a2ad1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x148bdb(0x103),_0x4a2ad1[_0x4a2ad1['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x148bdb(0x266),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x3c6)]=0x232d]=_0x148bdb(0x3c6),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x3cb)]=0x2711]=_0x148bdb(0x3cb),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x10a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4a2ad1[_0x4a2ad1['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x42b)]=0x2714]=_0x148bdb(0x42b),_0x4a2ad1[_0x4a2ad1[_0x148bdb(0x15c)]=-0x1]=_0x148bdb(0x15c),_0x4a2ad1))(_0x1c6789||{}),_0x46c79d=(_0x405801=>(_0x405801[_0x405801[_0x148bdb(0x3cc)]=0x0]=_0x148bdb(0x3cc),_0x405801[_0x405801[_0x148bdb(0x3fa)]=0x1]=_0x148bdb(0x3fa),_0x405801[_0x405801[_0x148bdb(0x1d6)]=0x2]='UNIVER_SHEET',_0x405801[_0x405801['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x405801[_0x405801[_0x148bdb(0x144)]=0x4]=_0x148bdb(0x144),_0x405801[_0x405801['UNRECOGNIZED']=-0x1]=_0x148bdb(0x15c),_0x405801))(_0x46c79d||{}),_0x5cd60b=(_0x55a219=>(_0x55a219[_0x55a219[_0x148bdb(0x1b8)]=0x0]='UNKNOWN_CMD',_0x55a219[_0x55a219[_0x148bdb(0x155)]=0x1]=_0x148bdb(0x155),_0x55a219[_0x55a219['JOIN']=0x2]='JOIN',_0x55a219[_0x55a219['LEAVE']=0x3]=_0x148bdb(0x1e8),_0x55a219[_0x55a219[_0x148bdb(0x37f)]=0x4]=_0x148bdb(0x37f),_0x55a219[_0x55a219[_0x148bdb(0x280)]=0x5]='HEARTBEAT',_0x55a219[_0x55a219[_0x148bdb(0x33a)]=0x6]=_0x148bdb(0x33a),_0x55a219[_0x55a219[_0x148bdb(0x15c)]=-0x1]=_0x148bdb(0x15c),_0x55a219))(_0x5cd60b||{}),_0x1b908e=(_0x5a07d2=>(_0x5a07d2[_0x5a07d2[_0x148bdb(0x2dd)]=0x0]='UNKNOWN_CODE',_0x5a07d2[_0x5a07d2['OK']=0x1]='OK',_0x5a07d2[_0x5a07d2[_0x148bdb(0x333)]=0x2]='FAIL',_0x5a07d2[_0x5a07d2[_0x148bdb(0x354)]=0x3e9]=_0x148bdb(0x354),_0x5a07d2[_0x5a07d2['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x148bdb(0x1af),_0x5a07d2[_0x5a07d2[_0x148bdb(0x28d)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5a07d2[_0x5a07d2[_0x148bdb(0x22a)]=0x3ec]=_0x148bdb(0x22a),_0x5a07d2[_0x5a07d2[_0x148bdb(0x15c)]=-0x1]='UNRECOGNIZED',_0x5a07d2))(_0x1b908e||{}),_0x17ed54=(_0x495fc4=>(_0x495fc4[_0x495fc4[_0x148bdb(0x416)]=0x0]=_0x148bdb(0x416),_0x495fc4[_0x495fc4[_0x148bdb(0x1a5)]=0x1]='HttpImport',_0x495fc4[_0x495fc4[_0x148bdb(0x163)]=0x2]=_0x148bdb(0x163),_0x495fc4[_0x495fc4[_0x148bdb(0x17d)]=0x3]=_0x148bdb(0x17d),_0x495fc4[_0x495fc4[_0x148bdb(0x35b)]=0x4]=_0x148bdb(0x35b),_0x495fc4[_0x495fc4[_0x148bdb(0x15c)]=-0x1]='UNRECOGNIZED',_0x495fc4))(_0x17ed54||{});const _0x1f5f1c='collaboration-client.config',_0x244bf0={};var _0x22314e=(_0x374a7e=>(_0x374a7e[_0x148bdb(0x363)]=_0x148bdb(0x363),_0x374a7e['PERMISSION_DENIED']=_0x148bdb(0x3c9),_0x374a7e[_0x148bdb(0x210)]='CONFLICT',_0x374a7e[_0x148bdb(0x228)]=_0x148bdb(0x228),_0x374a7e[_0x148bdb(0x2b0)]=_0x148bdb(0x2b0),_0x374a7e[_0x148bdb(0x322)]=_0x148bdb(0x322),_0x374a7e['SOCKET_FAILED']=_0x148bdb(0x2fa),_0x374a7e[_0x148bdb(0xf4)]='SUBMIT_CHANGESET_TIMEOUT',_0x374a7e))(_0x22314e||{});class _0x387561{constructor(){var _0x51a8e3=_0x148bdb;_0x3f7bc0(this,_0x51a8e3(0x171),new _0x30238b[(_0x51a8e3(0x1ee))]()),_0x3f7bc0(this,_0x51a8e3(0x293),this[_0x51a8e3(0x171)][_0x51a8e3(0x1cb)]());}[_0x148bdb(0x29f)](_0x5ab116){var _0x1680b2=_0x148bdb;this['_event$'][_0x1680b2(0x334)](_0x5ab116);}}const _0x321568=_0x38c92c[_0x148bdb(0x26d)](_0x148bdb(0x13c));function _0x2ec2af(_0x27b8ca){var _0x398f74=_0x148bdb,_0x7033ff,_0x1c2c1e,_0x4a5a14,_0x1cff0f,_0x4ef0cc;const _0x32214c=_0x27b8ca[_0x398f74(0x3f2)],_0x57a091=JSON[_0x398f74(0x1bf)](_0x32214c);switch(_0x57a091[_0x398f74(0x438)]){case _0x5cd60b[_0x398f74(0x280)]:case _0x5cd60b[_0x398f74(0x155)]:{const _0x59953f=_0x57a091[_0x398f74(0x21d)];return{..._0x57a091,'data':_0x59953f,'cmd':_0x57a091['cmd']};}case _0x5cd60b['JOIN']:{const _0x384577=_0x57a091[_0x398f74(0x1e3)];return{..._0x57a091,'data':_0x384577,'cmd':_0x57a091[_0x398f74(0x438)]};}case _0x5cd60b[_0x398f74(0x33a)]:{const _0x56db98=_0x57a091['collaMsg'];switch(_0x56db98[_0x398f74(0x17b)]){case _0x427fbe[_0x398f74(0x214)][_0x398f74(0x1bc)]:return{..._0x57a091,'data':{..._0x56db98,'data':(_0x7033ff=_0x56db98[_0x398f74(0x34b)])==null?void 0x0:_0x7033ff['cs']},'cmd':_0x57a091['cmd']};case _0x427fbe[_0x398f74(0x214)][_0x398f74(0x44c)]:return{..._0x57a091,'data':{..._0x56db98,'data':(_0x1c2c1e=_0x56db98[_0x398f74(0x110)])==null?void 0x0:_0x1c2c1e['cs']},'cmd':_0x57a091['cmd']};case _0x427fbe[_0x398f74(0x214)]['NEW_CHANGESETS']:return{..._0x57a091,'data':{..._0x56db98,'data':(_0x4a5a14=_0x56db98[_0x398f74(0x44e)])==null?void 0x0:_0x4a5a14['cs']},'cmd':_0x57a091['cmd']};case _0x427fbe[_0x398f74(0x214)][_0x398f74(0x450)]:return{..._0x57a091,'data':{..._0x56db98,'data':(_0x1cff0f=_0x56db98[_0x398f74(0x23a)])==null?void 0x0:_0x1cff0f['cs']},'cmd':_0x57a091['cmd']};case _0x427fbe[_0x398f74(0x214)][_0x398f74(0x41c)]:return{..._0x57a091,'data':{..._0x56db98,'data':(_0x4ef0cc=_0x56db98[_0x398f74(0x42c)])==null?void 0x0:_0x4ef0cc['cs']},'cmd':_0x57a091[_0x398f74(0x438)]};case _0x427fbe[_0x398f74(0x214)][_0x398f74(0x46a)]:return{..._0x57a091,'data':{..._0x56db98,'data':_0x56db98[_0x398f74(0x451)]},'cmd':_0x57a091[_0x398f74(0x438)]};case _0x427fbe[_0x398f74(0x214)][_0x398f74(0xf0)]:return{..._0x57a091,'data':{..._0x56db98,'data':_0x56db98[_0x398f74(0x24a)]},'cmd':_0x57a091['cmd']};case _0x427fbe['CollaborationEvent'][_0x398f74(0x40f)]:return{..._0x57a091,'data':{..._0x56db98,'data':_0x56db98['leaveEvent']},'cmd':_0x57a091[_0x398f74(0x438)]};case _0x427fbe[_0x398f74(0x214)][_0x398f74(0x255)]:return{..._0x57a091,'data':{..._0x56db98,'data':_0x56db98['liveShareNewHost']},'cmd':_0x57a091[_0x398f74(0x438)]};case _0x427fbe[_0x398f74(0x214)][_0x398f74(0x34d)]:case _0x427fbe[_0x398f74(0x214)][_0x398f74(0x282)]:return{..._0x57a091,'data':{..._0x56db98,'data':_0x56db98[_0x398f74(0x1b1)]},'cmd':_0x57a091[_0x398f74(0x438)]};case _0x427fbe[_0x398f74(0x214)]['LIVESHARE_TERMINATE']:return{..._0x57a091,'data':{..._0x56db98,'data':_0x56db98[_0x398f74(0x442)]},'cmd':_0x57a091[_0x398f74(0x438)]};case _0x427fbe['CollaborationEvent'][_0x398f74(0x1fd)]:return{..._0x57a091,'data':_0x56db98,'cmd':_0x57a091[_0x398f74(0x438)]};case _0x427fbe[_0x398f74(0x214)][_0x398f74(0x3a5)]:return{..._0x57a091,'data':{..._0x56db98,'data':_0x56db98['commentUpdateEvent']},'cmd':_0x57a091[_0x398f74(0x438)]};case _0x427fbe[_0x398f74(0x214)][_0x398f74(0x1dc)]:return{..._0x57a091,'data':{..._0x56db98,'data':_0x56db98[_0x398f74(0x3d9)]},'cmd':_0x57a091[_0x398f74(0x438)]};case _0x427fbe['CollaborationEvent'][_0x398f74(0x1e0)]:return{..._0x57a091,'data':{..._0x56db98,'data':_0x56db98[_0x398f74(0x25e)]},'cmd':_0x57a091[_0x398f74(0x438)]};case _0x427fbe[_0x398f74(0x214)][_0x398f74(0x152)]:return{..._0x57a091,'data':{..._0x56db98,'data':_0x56db98['uniscriptRunEvent']},'cmd':_0x57a091[_0x398f74(0x438)]};default:return _0x57a091;}}default:return _0x57a091;}}function _0x503032(_0x56f5fb){var _0x1573d3=_0x148bdb;switch(_0x56f5fb[_0x1573d3(0x438)]){case _0x5cd60b['HEARTBEAT']:case _0x5cd60b[_0x1573d3(0x155)]:return JSON[_0x1573d3(0x2ba)]({'cmd':_0x56f5fb[_0x1573d3(0x438)],'routeKey':_0x56f5fb['routeKey']});case _0x5cd60b[_0x1573d3(0x37f)]:{let _0x5035ae;switch(_0x56f5fb[_0x1573d3(0x3f2)][_0x1573d3(0x17b)]){case _0x427fbe[_0x1573d3(0x214)][_0x1573d3(0x46a)]:{_0x5035ae={'eventID':_0x427fbe['CollaborationEvent'][_0x1573d3(0x46a)],'updateCursorEvent':_0x56f5fb[_0x1573d3(0x3f2)]['data']};break;}case _0x427fbe[_0x1573d3(0x214)][_0x1573d3(0x40f)]:{_0x5035ae={'eventID':_0x427fbe['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x56f5fb['data'][_0x1573d3(0x3f2)]};break;}case _0x427fbe['CollaborationEvent']['USERS_ENTER']:{_0x5035ae={'eventID':_0x427fbe[_0x1573d3(0x214)][_0x1573d3(0xf0)],'joinEvent':_0x56f5fb[_0x1573d3(0x3f2)][_0x1573d3(0x3f2)]};break;}case _0x427fbe[_0x1573d3(0x214)]['LIVESHARE_NEW_HOST']:{_0x5035ae={'eventID':_0x427fbe[_0x1573d3(0x214)][_0x1573d3(0x255)],'liveShareNewHost':_0x56f5fb[_0x1573d3(0x3f2)][_0x1573d3(0x3f2)]};break;}case _0x427fbe[_0x1573d3(0x214)][_0x1573d3(0x282)]:{_0x5035ae={'eventID':_0x427fbe[_0x1573d3(0x214)][_0x1573d3(0x282)],'liveShareOperation':_0x56f5fb[_0x1573d3(0x3f2)]['data']};break;}case _0x427fbe[_0x1573d3(0x214)][_0x1573d3(0x2e2)]:{_0x5035ae={'eventID':_0x427fbe[_0x1573d3(0x214)][_0x1573d3(0x2e2)],'liveShareTerminate':_0x56f5fb[_0x1573d3(0x3f2)]['data']};break;}case _0x427fbe[_0x1573d3(0x214)][_0x1573d3(0x44f)]:{_0x5035ae={'eventID':_0x427fbe[_0x1573d3(0x214)][_0x1573d3(0x44f)],'liveShareRequestHost':_0x56f5fb[_0x1573d3(0x3f2)][_0x1573d3(0x3f2)]};break;}case _0x427fbe['CollaborationEvent'][_0x1573d3(0x34d)]:{_0x5035ae={'eventID':_0x427fbe['CollaborationEvent'][_0x1573d3(0x34d)]};break;}default:_0x5035ae={'eventID':_0x56f5fb[_0x1573d3(0x3f2)][_0x1573d3(0x17b)]};}return JSON[_0x1573d3(0x2ba)]({'cmd':_0x56f5fb['cmd'],'routeKey':_0x56f5fb[_0x1573d3(0x17c)],'collaMsg':_0x5035ae});}case _0x5cd60b['JOIN']:return JSON['stringify']({'cmd':_0x56f5fb['cmd'],'routeKey':_0x56f5fb[_0x1573d3(0x17c)],'joinReq':_0x56f5fb[_0x1573d3(0x3f2)]});case _0x5cd60b[_0x1573d3(0x1e8)]:return JSON['stringify']({'cmd':_0x56f5fb['cmd'],'routeKey':_0x56f5fb[_0x1573d3(0x17c)],'leaveReq':_0x56f5fb[_0x1573d3(0x3f2)]});default:throw new Error(_0x1573d3(0x391));}}var _0x1163f9=Object[_0x148bdb(0x411)],_0x297efe=Object[_0x148bdb(0xea)],_0x1179a0=(_0x202f6e,_0x189252,_0x573419,_0x59aab0)=>{var _0x57e4ed=_0x148bdb;for(var _0x4eed2d=_0x59aab0>0x1?void 0x0:_0x59aab0?_0x297efe(_0x189252,_0x573419):_0x189252,_0x4021a1=_0x202f6e[_0x57e4ed(0x151)]-0x1,_0x2ebbb7;_0x4021a1>=0x0;_0x4021a1--)(_0x2ebbb7=_0x202f6e[_0x4021a1])&&(_0x4eed2d=(_0x59aab0?_0x2ebbb7(_0x189252,_0x573419,_0x4eed2d):_0x2ebbb7(_0x4eed2d))||_0x4eed2d);return _0x59aab0&&_0x4eed2d&&_0x1163f9(_0x189252,_0x573419,_0x4eed2d),_0x4eed2d;},_0x44a12f=(_0x5f1ec5,_0x236fa0)=>(_0x21ac0c,_0xd3a045)=>_0x236fa0(_0x21ac0c,_0xd3a045,_0x5f1ec5);const _0x5bf4d7=_0x38c92c[_0x148bdb(0x26d)](_0x148bdb(0x32a));function _0x379279(_0x49c3ee,_0xf00fe2,_0x5600d5){var _0x1776a4=_0x148bdb;return _0x49c3ee+'/'+_0xf00fe2+_0x1776a4(0x35e)+_0x5600d5+_0x1776a4(0x40d);}_0x31903a[_0x148bdb(0x145)]=class extends _0x38c92c[_0x148bdb(0x38e)]{constructor(_0x3ffcf7,_0xac2965,_0x8f7ba9,_0x472979,_0x175092){var _0x596eec=_0x148bdb;super(),this[_0x596eec(0x1ad)]=_0x3ffcf7,this[_0x596eec(0x404)]=_0xac2965,this[_0x596eec(0x409)]=_0x8f7ba9,this[_0x596eec(0x1a0)]=_0x472979,this[_0x596eec(0x278)]=_0x175092;}[_0x148bdb(0xe6)](_0x2ab772){var _0x471407=_0x148bdb;const _0x18f461=this[_0x471407(0x1ad)][_0x471407(0x2d5)](_0x3bdd40[_0x471407(0x330)]);if(!_0x18f461)throw new Error(_0x471407(0x19a));const _0x2f451a=_0x18f461['createSocket'](_0x2ab772);if(!_0x2f451a)throw new Error(_0x471407(0x1d0));const _0x5b1bc7=new _0x38c92c[(_0x471407(0xfb))](),_0x39ea03=new _0x30238b[(_0x471407(0x1ee))]();_0x5b1bc7[_0x471407(0x1ae)](_0x2f451a['close$']['subscribe'](_0x24eafa=>_0x39ea03['next'](_0x24eafa))),_0x5b1bc7['add'](_0x38c92c[_0x471407(0x27c)](()=>_0x39ea03[_0x471407(0x372)]()));const _0x3641eb=new _0x30238b[(_0x471407(0x1ee))]();_0x5b1bc7['add'](_0x2f451a['error$'][_0x471407(0x2bc)](_0x47d432=>_0x3641eb['next'](_0x47d432))),_0x5b1bc7['add'](_0x38c92c[_0x471407(0x27c)](()=>_0x3641eb[_0x471407(0x372)]()));const _0x4f5763=new _0x30238b[(_0x471407(0x1ee))]();_0x5b1bc7[_0x471407(0x1ae)](_0x2f451a[_0x471407(0x32d)][_0x471407(0x2bc)](_0x2fd2cd=>{var _0x153bae=_0x471407;const _0x15df33=_0x2ec2af(_0x2fd2cd);_0x4f5763[_0x153bae(0x334)](_0x15df33);})),_0x5b1bc7[_0x471407(0x1ae)](_0x38c92c[_0x471407(0x27c)](()=>_0x4f5763['complete']()));let _0x391698;const _0x368d01=()=>{var _0x23400e=_0x471407;_0x3641eb['next'](new Event(_0x23400e(0x2ff))),_0x39ea03['next'](new CloseEvent('connection\x20error')),_0x391698[_0x23400e(0x376)]();};return _0x391698={'memberID':'','close$':_0x39ea03[_0x471407(0x1cb)](),'error$':_0x3641eb['asObservable'](),'open$':_0x2f451a['open$'],'message$':_0x4f5763[_0x471407(0x1cb)](),'send':_0x56f0c6=>{var _0x4c2c12=_0x471407;if(_0x56f0c6[_0x4c2c12(0x438)]===_0x5cd60b[_0x4c2c12(0x37f)]){if(_0x56f0c6['data']['eventID']===_0x427fbe[_0x4c2c12(0x214)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x391698,_0x56f0c6[_0x4c2c12(0x3f2)])[_0x4c2c12(0x407)](_0x30e3ae=>{var _0x31c6d9=_0x4c2c12;this['_logService'][_0x31c6d9(0x408)](_0x30e3ae),_0x368d01();});return;}if(_0x56f0c6[_0x4c2c12(0x3f2)][_0x4c2c12(0x17b)]===_0x427fbe[_0x4c2c12(0x214)][_0x4c2c12(0x312)]){const _0x5a9bf4=_0x56f0c6[_0x4c2c12(0x3f2)];this['_fetchMissChangesets'](_0x5a9bf4)[_0x4c2c12(0x458)](_0x231a26=>{var _0x1237f1=_0x4c2c12;_0x4f5763[_0x1237f1(0x334)]({'cmd':_0x5cd60b['RECV'],'code':_0x1b908e['OK'],'routeKey':_0x5a9bf4[_0x1237f1(0x3f2)]['unitID'],'routeType':'','data':{'eventID':_0x427fbe[_0x1237f1(0x214)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x231a26}}});})[_0x4c2c12(0x407)](_0x2b9c90=>{var _0x5bd2ed=_0x4c2c12;this['_logService'][_0x5bd2ed(0x408)](_0x2b9c90),_0x368d01();});return;}}_0x2f451a['send'](_0x503032(_0x56f0c6));},'close':()=>{var _0x3e44db=_0x471407;_0x2f451a[_0x3e44db(0x376)](),_0x5b1bc7[_0x3e44db(0x20b)]();}},_0x391698;}async[_0x148bdb(0x3a2)](_0x2bdf41,_0x276129){var _0x2cb4a7=_0x148bdb,_0x3ac383,_0x580631;const {unitType:_0x9ed96,unitID:_0x1a8f8e,changeset:_0x241822}=_0x276129['data'],_0xbfb9ff={'unitID':_0x1a8f8e,'memberID':_0x2bdf41[_0x2cb4a7(0x2bb)],'type':_0x9ed96,'changeset':_0x427fbe[_0x2cb4a7(0x252)](_0x241822)},_0x126843=this[_0x2cb4a7(0x409)][_0x2cb4a7(0x43a)](_0x5158b1),_0x541ef8=this['_configService']['getConfig'](_0x1f5f1c),_0x61a2=_0x379279((_0x580631=(_0x3ac383=_0x541ef8==null?void 0x0:_0x541ef8[_0x2cb4a7(0x2c7)])!=null?_0x3ac383:_0x126843)!=null?_0x580631:_0x5acae7,_0x9ed96,_0x1a8f8e);try{await this['_http'][_0x2cb4a7(0x3be)](_0x61a2,{'body':_0xbfb9ff});}catch(_0x33e394){throw this['_logService']['error'](_0x2cb4a7(0x1a9),_0x2cb4a7(0x388)),_0x33e394;}}async[_0x148bdb(0x1a7)](_0x2b5688){var _0x63c332=_0x148bdb;const {unitID:_0x1c823a,from:_0x1bd59a,to:_0x395d80,unitType:_0x701304}=_0x2b5688[_0x63c332(0x3f2)];return(await this[_0x63c332(0x278)][_0x63c332(0xec)]({'metadata':void 0x0},{'unitID':_0x1c823a,'type':_0x701304,'from':_0x1bd59a,'to':_0x395d80}))[_0x63c332(0x2e1)];}},_0x31903a[_0x148bdb(0x145)]=_0x1179a0([_0x44a12f(0x0,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c[_0x148bdb(0x298)])),_0x44a12f(0x1,_0x38c92c[_0x148bdb(0x2b3)](_0x3bdd40[_0x148bdb(0x248)])),_0x44a12f(0x2,_0x38c92c[_0x148bdb(0x37e)]),_0x44a12f(0x3,_0x38c92c[_0x148bdb(0x3e4)]),_0x44a12f(0x4,_0x427fbe[_0x148bdb(0x15d)])],_0x31903a[_0x148bdb(0x145)]);const _0x334e15=_0x148bdb(0x1c4);function _0x111926(_0x438c14){var _0x4684fa=_0x148bdb;return JSON[_0x4684fa(0x2ba)](_0x438c14)[_0x4684fa(0x151)];}class _0x36a4b2{constructor(){var _0x223b7c=_0x148bdb;_0x3f7bc0(this,'_commentUpdate$',new _0x30238b[(_0x223b7c(0x1ee))]()),_0x3f7bc0(this,_0x223b7c(0x434),this[_0x223b7c(0xf9)][_0x223b7c(0x1cb)]());}['onCommentUpdate'](_0x56bace){var _0x5922f8=_0x148bdb;this[_0x5922f8(0xf9)][_0x5922f8(0x334)](_0x56bace);}}var _0x553e80=Object[_0x148bdb(0x411)],_0x1fe7b8=Object[_0x148bdb(0xea)],_0x57bd0c=(_0x2678b6,_0x2e5d1d,_0x2d6aba,_0x285989)=>{var _0x5e28fb=_0x148bdb;for(var _0xaae4ad=_0x285989>0x1?void 0x0:_0x285989?_0x1fe7b8(_0x2e5d1d,_0x2d6aba):_0x2e5d1d,_0x46a399=_0x2678b6[_0x5e28fb(0x151)]-0x1,_0x334a8b;_0x46a399>=0x0;_0x46a399--)(_0x334a8b=_0x2678b6[_0x46a399])&&(_0xaae4ad=(_0x285989?_0x334a8b(_0x2e5d1d,_0x2d6aba,_0xaae4ad):_0x334a8b(_0xaae4ad))||_0xaae4ad);return _0x285989&&_0xaae4ad&&_0x553e80(_0x2e5d1d,_0x2d6aba,_0xaae4ad),_0xaae4ad;},_0x33269d=(_0x361962,_0x558233)=>(_0x1264b2,_0x7031db)=>_0x558233(_0x1264b2,_0x7031db,_0x361962);_0x31903a[_0x148bdb(0x246)]=class extends _0x38c92c[_0x148bdb(0x38e)]{constructor(_0xa15763,_0x44eb15){var _0x5c8509=_0x148bdb;super(),_0x3f7bc0(this,_0x5c8509(0x36e),new Map()),_0x3f7bc0(this,_0x5c8509(0x197),new _0x30238b[(_0x5c8509(0x1ee))]()),(this['_univerInstanceService']=_0xa15763,this[_0x5c8509(0x44d)]=_0x44eb15,this[_0x5c8509(0x34c)](_0x30238b[_0x5c8509(0x355)](this['_univerInstanceService'][_0x5c8509(0x213)](_0x38c92c[_0x5c8509(0x16b)]['UNIVER_SHEET'])['pipe'](_0x190d1f[_0x5c8509(0x337)](_0x108a47=>_0x108a47[_0x5c8509(0x300)]())),this[_0x5c8509(0x12c)]['getTypeOfUnitDisposed$'](_0x38c92c[_0x5c8509(0x16b)][_0x5c8509(0x3fa)])[_0x5c8509(0x3a3)](_0x190d1f[_0x5c8509(0x337)](_0x1d4865=>_0x1d4865[_0x5c8509(0x300)]())),this[_0x5c8509(0x12c)][_0x5c8509(0x213)](_0x38c92c[_0x5c8509(0x16b)][_0x5c8509(0xe4)])[_0x5c8509(0x3a3)](_0x190d1f['map'](_0x508a93=>_0x508a93['getUnitId']())))['subscribe'](_0x1a85a1=>this[_0x5c8509(0x3a1)](_0x1a85a1))));}[_0x148bdb(0x3b7)](_0x3bdb57){var _0x39c4dc=_0x148bdb;return this[_0x39c4dc(0x36e)][_0x39c4dc(0x150)](_0x3bdb57)?_0x30238b['of'](this[_0x39c4dc(0x36e)][_0x39c4dc(0x2d5)](_0x3bdb57)):this[_0x39c4dc(0x197)][_0x39c4dc(0x3a3)](_0x190d1f[_0x39c4dc(0x337)](_0x20d3f4=>{var _0x130eb6=_0x39c4dc;if(_0x20d3f4===_0x3bdb57)return this[_0x130eb6(0x36e)][_0x130eb6(0x2d5)](_0x20d3f4);}));}[_0x148bdb(0x432)](_0x3dea2c){var _0x8b3a7e=_0x148bdb;this[_0x8b3a7e(0x44d)][_0x8b3a7e(0x432)](_0x3dea2c);}[_0x148bdb(0x2cf)](){var _0x7c672=_0x148bdb;return this[_0x7c672(0x44d)][_0x7c672(0x2cf)]();}['updateMember'](_0x12c27,_0x560301){var _0x2669e8=_0x148bdb;let _0x491d07=this[_0x2669e8(0x36e)][_0x2669e8(0x2d5)](_0x12c27);_0x491d07||(_0x491d07=new _0x30f17c(),this[_0x2669e8(0x36e)]['set'](_0x12c27,_0x491d07),this['_roomCreated$'][_0x2669e8(0x334)](_0x12c27)),_0x491d07[_0x2669e8(0x3b2)](_0x560301);}[_0x148bdb(0x2c4)](_0x3f468f,_0x5b4a9d){var _0x46e464=_0x148bdb;const _0x4fca4c=this[_0x46e464(0x36e)][_0x46e464(0x2d5)](_0x3f468f);_0x4fca4c&&_0x4fca4c[_0x46e464(0x2c4)](_0x5b4a9d);}['getRoom'](_0x1e5634){var _0x2af602=_0x148bdb;return this[_0x2af602(0x36e)]['get'](_0x1e5634);}[_0x148bdb(0x1ff)](_0x2ad100,_0x1f431e){var _0x1b1405=_0x148bdb;const _0x41252d=this[_0x1b1405(0x36e)][_0x1b1405(0x2d5)](_0x2ad100);if(_0x41252d)return _0x41252d[_0x1b1405(0x1ff)](_0x1f431e);}[_0x148bdb(0x3a1)](_0x4bdf){var _0x4a848e=_0x148bdb;const _0x5b237c=this[_0x4a848e(0x36e)][_0x4a848e(0x2d5)](_0x4bdf);_0x5b237c&&(_0x5b237c['dispose'](),this[_0x4a848e(0x36e)][_0x4a848e(0x240)](_0x4bdf));}[_0x148bdb(0x20b)](){var _0x459b33=_0x148bdb;this[_0x459b33(0x36e)][_0x459b33(0x42d)](_0x451b60=>_0x451b60['dispose']()),this[_0x459b33(0x36e)][_0x459b33(0x241)](),this[_0x459b33(0x197)][_0x459b33(0x372)]();}},_0x31903a[_0x148bdb(0x246)]=_0x57bd0c([_0x33269d(0x0,_0x38c92c['IUniverInstanceService']),_0x33269d(0x1,_0x38c92c['Inject'](_0x38c92c[_0x148bdb(0x308)]))],_0x31903a[_0x148bdb(0x246)]);class _0x30f17c extends _0x38c92c[_0x148bdb(0x38e)]{constructor(){var _0x8e96f4=_0x148bdb;super(...arguments),_0x3f7bc0(this,'_members',new Map()),_0x3f7bc0(this,'_members$',new _0x30238b['BehaviorSubject'](this[_0x8e96f4(0x27d)])),_0x3f7bc0(this,'members$',this['_members$'][_0x8e96f4(0x1cb)]());}['dispose'](){var _0x4c615a=_0x148bdb;this[_0x4c615a(0x27d)]['clear']();}[_0x148bdb(0x3b2)](_0xad942e){var _0x50d4b7=_0x148bdb;this[_0x50d4b7(0x27d)]['set'](_0xad942e[_0x50d4b7(0x2bb)],_0xad942e),this[_0x50d4b7(0x169)]();}[_0x148bdb(0x2c4)](_0x86cad4){var _0x14faf2=_0x148bdb;this['_members'][_0x14faf2(0x240)](_0x86cad4);}[_0x148bdb(0x1ff)](_0x2aca28){var _0x2550d8=_0x148bdb;return this[_0x2550d8(0x27d)][_0x2550d8(0x2d5)](_0x2aca28);}[_0x148bdb(0x227)](){var _0x194cae=_0x148bdb;return Array[_0x194cae(0x108)](this[_0x194cae(0x27d)][_0x194cae(0x290)]());}[_0x148bdb(0x169)](){var _0x3b02cd=_0x148bdb;this['_members$']['next'](this[_0x3b02cd(0x27d)]);}}var _0x4ea039=Object[_0x148bdb(0x411)],_0x2e743c=Object[_0x148bdb(0xea)],_0x6235a5=(_0x120d5a,_0x49bdc6,_0x8b7e01,_0x324ecf)=>{var _0x530a8c=_0x148bdb;for(var _0x193274=_0x324ecf>0x1?void 0x0:_0x324ecf?_0x2e743c(_0x49bdc6,_0x8b7e01):_0x49bdc6,_0x450cca=_0x120d5a[_0x530a8c(0x151)]-0x1,_0x2add27;_0x450cca>=0x0;_0x450cca--)(_0x2add27=_0x120d5a[_0x450cca])&&(_0x193274=(_0x324ecf?_0x2add27(_0x49bdc6,_0x8b7e01,_0x193274):_0x2add27(_0x193274))||_0x193274);return _0x324ecf&&_0x193274&&_0x4ea039(_0x49bdc6,_0x8b7e01,_0x193274),_0x193274;},_0x4ef77c=(_0x59bc63,_0x2579fb)=>(_0xe20a75,_0x20f599)=>_0x2579fb(_0xe20a75,_0x20f599,_0x59bc63),_0x3febe1=(_0x2fa735=>(_0x2fa735[_0x2fa735[_0x148bdb(0x13f)]=0x0]=_0x148bdb(0x13f),_0x2fa735[_0x2fa735[_0x148bdb(0x1eb)]=0x1]=_0x148bdb(0x1eb),_0x2fa735[_0x2fa735[_0x148bdb(0x295)]=0x2]=_0x148bdb(0x295),_0x2fa735[_0x2fa735['ONLINE']=0x3]='ONLINE',_0x2fa735))(_0x3febe1||{});const _0x41bcc1={[_0x1b908e[_0x148bdb(0x333)]]:_0x148bdb(0x436),[_0x1b908e[_0x148bdb(0x354)]]:_0x148bdb(0x1f4),[_0x1b908e['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[_0x1b908e['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[_0x1b908e['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x148bdb(0x204)};_0x31903a['CollaborationSession']=class extends _0x38c92c[_0x148bdb(0x29b)]{constructor(_0x2b5c66,_0xcb6ff2,_0x2f1efc,_0x2ead98,_0x50057b,_0x161976,_0x525845,_0x375056,_0xf598e6){var _0x3728f8=_0x148bdb;super(),_0x3f7bc0(this,'_sessionStatus$',new _0x30238b[(_0x3728f8(0x463))](0x0)),_0x3f7bc0(this,_0x3728f8(0x2dc),this[_0x3728f8(0x237)][_0x3728f8(0x1cb)]()),_0x3f7bc0(this,_0x3728f8(0x171),new _0x30238b[(_0x3728f8(0x1ee))]()),_0x3f7bc0(this,_0x3728f8(0x293),this['_event$'][_0x3728f8(0x1cb)]()),_0x3f7bc0(this,_0x3728f8(0x346)),_0x3f7bc0(this,_0x3728f8(0x189)),_0x3f7bc0(this,'_collaborationTimeoutTimer'),_0x3f7bc0(this,_0x3728f8(0x471),!0x1),_0x3f7bc0(this,_0x3728f8(0x435),null),(this[_0x3728f8(0x26e)]=_0x2b5c66,this[_0x3728f8(0x1a0)]=_0x2f1efc,this[_0x3728f8(0x409)]=_0x2ead98,this[_0x3728f8(0x180)]=_0x50057b,this[_0x3728f8(0x264)]=_0x161976,this[_0x3728f8(0x147)]=_0x525845,this[_0x3728f8(0x19c)]=_0x375056,this[_0x3728f8(0x1fc)]=_0xf598e6,this[_0x3728f8(0x471)]=!!this['_telemetryService'],_0xcb6ff2[_0x3728f8(0x3a3)](_0x30238b['takeUntil'](this[_0x3728f8(0x304)]))['subscribe'](_0x43430e=>{var _0x48f3fd=_0x3728f8,_0x44f411;typeof _0x43430e>'u'||(this[_0x48f3fd(0x346)]=_0x43430e,_0x43430e?(this[_0x48f3fd(0x106)](_0x43430e),this[_0x48f3fd(0x189)]=_0x43430e['message$'][_0x48f3fd(0x2bc)](_0x4356d=>{var _0x3730f4=_0x48f3fd;_0x4356d[_0x3730f4(0x17c)]===this['_unitID']&&this[_0x3730f4(0x16e)](_0x4356d);})):(this[_0x48f3fd(0x423)](),this[_0x48f3fd(0x237)][_0x48f3fd(0x334)](0x2),(_0x44f411=this[_0x48f3fd(0x189)])==null||_0x44f411['unsubscribe'](),this[_0x48f3fd(0x189)]=null));}));}get[_0x148bdb(0x3c2)](){var _0x27ce21=_0x148bdb;return this[_0x27ce21(0x237)]['getValue']();}['getMemberID'](){var _0x2572f5=_0x148bdb,_0x198273,_0x8eebd0;return(_0x8eebd0=(_0x198273=this[_0x2572f5(0x346)])==null?void 0x0:_0x198273[_0x2572f5(0x2bb)])!=null?_0x8eebd0:null;}['dispose'](){var _0x2544a4=_0x148bdb;super[_0x2544a4(0x20b)](),this['dispose$'][_0x2544a4(0x334)](),this[_0x2544a4(0x304)]['complete']();}[_0x148bdb(0x376)](){var _0x145009=_0x148bdb,_0x29b3db,_0x320336;this[_0x145009(0x423)](),(_0x29b3db=this['_socket'])==null||_0x29b3db[_0x145009(0x399)]({'cmd':_0x5cd60b[_0x145009(0x1e8)],'data':{'roomID':this[_0x145009(0x26e)]}}),(_0x320336=this[_0x145009(0x346)])==null||_0x320336[_0x145009(0x376)](),this[_0x145009(0x171)]['complete'](),this[_0x145009(0x237)]['complete'](),this[_0x145009(0x20b)]();}[_0x148bdb(0x16e)](_0x3e9b3a){var _0x30c602=_0x148bdb;_0x3e9b3a[_0x30c602(0x438)]===_0x5cd60b['JOIN']?this[_0x30c602(0x27b)](_0x3e9b3a):_0x3e9b3a['cmd']===_0x5cd60b['RECV']&&this['_onRecvEvent'](_0x3e9b3a);}[_0x148bdb(0x106)](_0x1b8b4d){var _0x1a651b=_0x148bdb;this[_0x1a651b(0x237)][_0x1a651b(0x334)](0x1),_0x1b8b4d[_0x1a651b(0x399)]({'cmd':_0x5cd60b[_0x1a651b(0x10c)],'routeKey':this[_0x1a651b(0x26e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1a651b(0x26e)]}]}});}[_0x148bdb(0x27b)](_0x3f7835){var _0x4d6073=_0x148bdb,_0xc294ea;if(_0x3f7835[_0x4d6073(0x3e5)]in _0x41bcc1){this[_0x4d6073(0x19c)][_0x4d6073(0x29f)]({'id':_0x22314e[_0x4d6073(0x2b0)],'data':_0x41bcc1[_0x3f7835['code']]}),this[_0x4d6073(0x237)][_0x4d6073(0x334)](0x2);return;}this[_0x4d6073(0x237)][_0x4d6073(0x334)](0x3);const _0x564905=(_0xc294ea=_0x3f7835[_0x4d6073(0x3f2)][_0x4d6073(0x473)][this[_0x4d6073(0x26e)]])==null?void 0x0:_0xc294ea[_0x4d6073(0x12b)];_0x564905&&_0x564905[_0x4d6073(0x42d)](_0x36cf6d=>this[_0x4d6073(0x264)][_0x4d6073(0x3b2)](this['_unitID'],_0x36cf6d));}[_0x148bdb(0x297)](_0x3c27db){var _0x584ae0=_0x148bdb;try{const _0x4fdc8b=_0x3c27db[_0x584ae0(0x3f2)];switch(_0x4fdc8b[_0x584ae0(0x17b)]){case _0x427fbe[_0x584ae0(0x214)]['USERS_ENTER']:this[_0x584ae0(0x367)](_0x4fdc8b),this[_0x584ae0(0x171)][_0x584ae0(0x334)](_0x4fdc8b);break;case _0x427fbe[_0x584ae0(0x214)][_0x584ae0(0x40f)]:this[_0x584ae0(0x2d2)](_0x4fdc8b),this[_0x584ae0(0x171)][_0x584ae0(0x334)](_0x4fdc8b);break;case _0x427fbe[_0x584ae0(0x214)]['CHANGESET_ACK']:case _0x427fbe[_0x584ae0(0x214)][_0x584ae0(0x41c)]:this[_0x584ae0(0x3e0)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x584ae0(0x334)](_0x4fdc8b);break;case _0x427fbe['CollaborationEvent'][_0x584ae0(0x1fd)]:this['_logService'][_0x584ae0(0x408)](_0x584ae0(0x254)+JSON['stringify'](_0x4fdc8b)),this['_event$'][_0x584ae0(0x334)](_0x4fdc8b);break;case _0x427fbe[_0x584ae0(0x214)][_0x584ae0(0x3a5)]:this[_0x584ae0(0x147)][_0x584ae0(0x176)](_0x4fdc8b[_0x584ae0(0x3f2)]),this[_0x584ae0(0x171)][_0x584ae0(0x334)](_0x4fdc8b);break;default:this[_0x584ae0(0x171)][_0x584ae0(0x334)](_0x4fdc8b);}}catch(_0x585d0e){this[_0x584ae0(0x1a0)]['error'](_0x585d0e,_0x3c27db);}}[_0x148bdb(0x367)](_0x44ae72){var _0x2a0d4c=_0x148bdb;this[_0x2a0d4c(0x264)]['updateMember'](this[_0x2a0d4c(0x26e)],_0x44ae72[_0x2a0d4c(0x3f2)]);}[_0x148bdb(0x2d2)](_0x19cdad){var _0x15fb79=_0x148bdb;this[_0x15fb79(0x264)]['removeMember'](this[_0x15fb79(0x26e)],_0x19cdad[_0x15fb79(0x3f2)]['memberID']);}async[_0x148bdb(0x399)](_0x41d04a,_0x54ea64){var _0x26d8f4=_0x148bdb;if(this[_0x26d8f4(0x3c2)]!==0x3||!this['_socket'])throw new Error(_0x26d8f4(0x1f8));try{_0x41d04a[_0x26d8f4(0x17b)]===_0x427fbe[_0x26d8f4(0x214)][_0x26d8f4(0x310)]&&(this[_0x26d8f4(0xe8)](),this[_0x26d8f4(0x172)](_0x41d04a)),this['_socket'][_0x26d8f4(0x399)]({'cmd':_0x5cd60b['INGEST'],'routeKey':_0x54ea64,'routeType':'','data':_0x41d04a});}catch(_0xcd92ef){this[_0x26d8f4(0x1a0)][_0x26d8f4(0x408)](_0xcd92ef);}}[_0x148bdb(0xe8)](){var _0x305236=_0x148bdb,_0x2a0c33;this[_0x305236(0x38f)]=setTimeout(()=>{var _0x2fdfea=_0x305236;this[_0x2fdfea(0x38f)]=null,this[_0x2fdfea(0x19c)][_0x2fdfea(0x29f)]({'id':_0x22314e[_0x2fdfea(0xf4)]});},(_0x2a0c33=this['_configService'][_0x305236(0x43a)](_0x5ea91e))!=null?_0x2a0c33:0x4e20);}[_0x148bdb(0x379)](){var _0x542a91=_0x148bdb;this[_0x542a91(0x38f)]&&(clearTimeout(this[_0x542a91(0x38f)]),this['_collaborationTimeoutTimer']=null);}[_0x148bdb(0x172)](_0x220f6f){var _0x240178=_0x148bdb;if(!this[_0x240178(0x471)])return;const {data:_0xe19ac7}=_0x220f6f,{unitID:_0x9edddf,changeset:_0x13757c}=_0xe19ac7,{mutations:_0x39e787,type:_0x4d813d}=_0x13757c;this[_0x240178(0x435)]={'unitId':_0x9edddf,'type':_0x4d813d,'startTime':performance[_0x240178(0x301)](),'stopTime':0x0,'duration':0x0,'size':_0x111926(_0x39e787)};}[_0x148bdb(0x3e0)](){var _0xa95b3=_0x148bdb;if(this[_0xa95b3(0x471)]){if(!this['_telemetryInfo']){this[_0xa95b3(0x1a0)][_0xa95b3(0x408)](_0xa95b3(0x1a9),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xa95b3(0x435)]['stopTime']=performance[_0xa95b3(0x301)](),this[_0xa95b3(0x435)]['duration']=this[_0xa95b3(0x435)]['stopTime']-this[_0xa95b3(0x435)][_0xa95b3(0x444)],this[_0xa95b3(0x1fc)][_0xa95b3(0x14a)](_0x334e15,this[_0xa95b3(0x435)]),this['_telemetryInfo']=null;}}[_0x148bdb(0x423)](){var _0xf6f0a1=_0x148bdb;this[_0xf6f0a1(0x435)]=null;}},_0x31903a['CollaborationSession']=_0x6235a5([_0x4ef77c(0x2,_0x38c92c[_0x148bdb(0x3e4)]),_0x4ef77c(0x3,_0x38c92c[_0x148bdb(0x37e)]),_0x4ef77c(0x4,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c['LocaleService'])),_0x4ef77c(0x5,_0x38c92c[_0x148bdb(0x2b3)](_0x31903a[_0x148bdb(0x246)])),_0x4ef77c(0x6,_0x38c92c['Inject'](_0x36a4b2)),_0x4ef77c(0x7,_0x38c92c[_0x148bdb(0x2b3)](_0x387561)),_0x4ef77c(0x8,_0x38c92c[_0x148bdb(0x38a)](_0x1605ec[_0x148bdb(0x23c)]))],_0x31903a['CollaborationSession']);var _0x31fd08=Object[_0x148bdb(0x411)],_0xbcc4b8=Object[_0x148bdb(0xea)],_0x2b8520=(_0x59a0c4,_0x3ce57e,_0x22bd2a,_0x208e76)=>{for(var _0x3d61b5=_0x208e76>0x1?void 0x0:_0x208e76?_0xbcc4b8(_0x3ce57e,_0x22bd2a):_0x3ce57e,_0x189bda=_0x59a0c4['length']-0x1,_0x22a369;_0x189bda>=0x0;_0x189bda--)(_0x22a369=_0x59a0c4[_0x189bda])&&(_0x3d61b5=(_0x208e76?_0x22a369(_0x3ce57e,_0x22bd2a,_0x3d61b5):_0x22a369(_0x3d61b5))||_0x3d61b5);return _0x208e76&&_0x3d61b5&&_0x31fd08(_0x3ce57e,_0x22bd2a,_0x3d61b5),_0x3d61b5;},_0x21c8a2=(_0x2000df,_0x344e1d)=>(_0x4ab9d7,_0x112b3e)=>_0x344e1d(_0x4ab9d7,_0x112b3e,_0x2000df);_0x31903a[_0x148bdb(0x2fe)]=class extends _0x38c92c[_0x148bdb(0x38e)]{constructor(_0x453d47,_0x45ac91,_0x5339b3,_0x4743f9,_0x5ee3d8,_0x250da5,_0xee4e34){var _0x5d9e88=_0x148bdb;super(),_0x3f7bc0(this,'_socket$',new _0x30238b['BehaviorSubject'](void 0x0)),_0x3f7bc0(this,'socket$',this[_0x5d9e88(0x374)][_0x5d9e88(0x1cb)]()),_0x3f7bc0(this,'_candidateSocket',null),_0x3f7bc0(this,_0x5d9e88(0x2e7),new Map()),_0x3f7bc0(this,_0x5d9e88(0x36c),new _0x30238b[(_0x5d9e88(0x463))](_0x3febe1[_0x5d9e88(0x13f)])),_0x3f7bc0(this,_0x5d9e88(0x130),this['_status$'][_0x5d9e88(0x1cb)]()),_0x3f7bc0(this,_0x5d9e88(0x22e),!0x1),_0x3f7bc0(this,'_retryConnectingTimer'),_0x3f7bc0(this,_0x5d9e88(0x18f),0x0),_0x3f7bc0(this,_0x5d9e88(0x25a)),_0x3f7bc0(this,'_timeoutTimer'),(this['_injector']=_0x453d47,this[_0x5d9e88(0x1a0)]=_0x45ac91,this[_0x5d9e88(0x409)]=_0x5339b3,this[_0x5d9e88(0x139)]=_0x4743f9,this[_0x5d9e88(0x2b7)]=_0x5ee3d8,this[_0x5d9e88(0x19c)]=_0x250da5,this[_0x5d9e88(0x15b)]=_0xee4e34,this['_listenToNetworkCondition']());}get['_socket'](){var _0x3e95f6=_0x148bdb;return this[_0x3e95f6(0x374)][_0x3e95f6(0x205)]();}[_0x148bdb(0x345)](){var _0x141ffe=_0x148bdb;this[_0x141ffe(0x15b)]&&this[_0x141ffe(0x34c)](this[_0x141ffe(0x15b)][_0x141ffe(0x192)]['subscribe'](_0x2bd144=>{var _0x2156b8=_0x141ffe;_0x2bd144&&!this['_socket']&&this[_0x2156b8(0x245)](),_0x2bd144||this[_0x2156b8(0x10b)]();}));}[_0x148bdb(0x20b)](){var _0x22c8bb=_0x148bdb;super[_0x22c8bb(0x20b)](),this[_0x22c8bb(0x2e7)][_0x22c8bb(0x42d)](_0x1f943b=>_0x1f943b[_0x22c8bb(0x20b)]()),this['_sessions'][_0x22c8bb(0x241)](),this[_0x22c8bb(0x36c)][_0x22c8bb(0x372)]();}async[_0x148bdb(0x302)](_0x4f79ef){var _0x3e00b5=_0x148bdb;if(this['_sessions'][_0x3e00b5(0x150)](_0x4f79ef))return this[_0x3e00b5(0x2e7)][_0x3e00b5(0x2d5)](_0x4f79ef);this[_0x3e00b5(0x1ef)]();const _0x52404a=this[_0x3e00b5(0x1ad)][_0x3e00b5(0xf8)](_0x31903a['CollaborationSession'],_0x4f79ef,this['_socket$'][_0x3e00b5(0x1cb)]());return this[_0x3e00b5(0x2e7)]['set'](_0x4f79ef,_0x52404a),_0x52404a;}[_0x148bdb(0x2c5)](_0x13041f){var _0x4cddf1=_0x148bdb,_0x2d6212;const _0x485e1a=this[_0x4cddf1(0x2e7)][_0x4cddf1(0x2d5)](_0x13041f);_0x485e1a&&(this['_sessions'][_0x4cddf1(0x240)](_0x13041f),_0x485e1a[_0x4cddf1(0x376)]()),this[_0x4cddf1(0x2e7)][_0x4cddf1(0x10e)]||(_0x2d6212=this[_0x4cddf1(0x346)])==null||_0x2d6212[_0x4cddf1(0x376)]();}[_0x148bdb(0x245)](){var _0x19de8c=_0x148bdb;this[_0x19de8c(0x18f)]=0x0,this[_0x19de8c(0xfa)]!=null&&(clearTimeout(this[_0x19de8c(0xfa)]),this['_retryConnectingTimer']=null),this[_0x19de8c(0xe7)]();}async['_getSessionTicket'](){var _0x27badf=_0x148bdb,_0x317a15,_0x4fb33e,_0x49a40f;const _0x1bb418=this[_0x27badf(0x409)][_0x27badf(0x43a)](_0x1f5f1c),_0x5f06e9=(_0x317a15=_0x1bb418==null?void 0x0:_0x1bb418[_0x27badf(0x327)])!=null?_0x317a15:_0x5d7fd8;return(_0x49a40f=(_0x4fb33e=(await this[_0x27badf(0x2b7)][_0x27badf(0x2d5)](_0x5f06e9,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x4fb33e['ticket'])!=null?_0x49a40f:'';}['_createSocketURL'](_0x3e36c2){var _0x4ed3d9=_0x148bdb,_0x2aa94e,_0x259f87;const _0x21c81b=this[_0x4ed3d9(0x409)][_0x4ed3d9(0x43a)](_0x45c16a),_0x5f58d2=this[_0x4ed3d9(0x409)][_0x4ed3d9(0x43a)](_0x1f5f1c),_0x33b119=(_0x259f87=(_0x2aa94e=_0x5f58d2==null?void 0x0:_0x5f58d2[_0x4ed3d9(0x2f9)])!=null?_0x2aa94e:_0x21c81b)!=null?_0x259f87:_0x4a5e3a,_0xb981ee=typeof window>'u'?new URL(_0x33b119):new URL(_0x33b119,window[_0x4ed3d9(0x2f3)][_0x4ed3d9(0x22d)]);_0xb981ee[_0x4ed3d9(0x3ba)][_0x4ed3d9(0x1ed)]('sessionTicket',_0x3e36c2);const _0x5d2b60=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4ed3d9(0x162)]);return _0x5d2b60[_0x4ed3d9(0x2d5)](_0x4ed3d9(0x218))&&_0xb981ee[_0x4ed3d9(0x3ba)][_0x4ed3d9(0x1ed)](_0x4ed3d9(0x218),_0x5d2b60[_0x4ed3d9(0x2d5)](_0x4ed3d9(0x218))),_0xb981ee[_0x4ed3d9(0x3de)]();}async[_0x148bdb(0x23d)](){var _0x536da3=_0x148bdb;const _0x5f164f=await this[_0x536da3(0x17f)](),_0x133deb=this[_0x536da3(0x352)](_0x5f164f),_0x2cfb5e=this[_0x536da3(0x139)]['createSocket'](_0x133deb);return this[_0x536da3(0x28e)]=_0x2cfb5e,_0x2cfb5e;}async[_0x148bdb(0x1ef)](){var _0x1cac00=_0x148bdb,_0x141dfe,_0x441234;try{const _0x45db71=(_0x441234=(_0x141dfe=this[_0x1cac00(0x346)])!=null?_0x141dfe:this[_0x1cac00(0x28e)])!=null?_0x441234:await this[_0x1cac00(0x23d)]();if(_0x45db71){const _0x26cc01=_0x45db71[_0x1cac00(0x399)];_0x45db71[_0x1cac00(0x399)]=_0x4d951f=>(this[_0x1cac00(0xfd)](),_0x26cc01[_0x1cac00(0x271)](_0x45db71,[_0x4d951f])),_0x45db71[_0x1cac00(0x32d)][_0x1cac00(0x2bc)](_0x2b402d=>this[_0x1cac00(0x43f)](_0x45db71,_0x2b402d)),_0x45db71[_0x1cac00(0x102)][_0x1cac00(0x3a3)](_0x190d1f[_0x1cac00(0x18b)](0x1))[_0x1cac00(0x2bc)](_0x37ff70=>this['_logService'][_0x1cac00(0x408)]('[CollaborationSessionService]:\x20socket\x20error',_0x37ff70)),_0x45db71[_0x1cac00(0x3a4)][_0x1cac00(0x3a3)](_0x190d1f[_0x1cac00(0x18b)](0x1))[_0x1cac00(0x2bc)](()=>{this['_onConnectionOpen'](_0x45db71);}),_0x45db71['close$'][_0x1cac00(0x3a3)](_0x190d1f[_0x1cac00(0x18b)](0x1))[_0x1cac00(0x2bc)](_0x2d8093=>{var _0x94de1d=_0x1cac00;this[_0x94de1d(0x1a0)]['debug'](_0x94de1d(0x36f),_0x94de1d(0x191),_0x2d8093),this[_0x94de1d(0x385)]();});}}catch(_0x596764){this[_0x1cac00(0x1a0)][_0x1cac00(0x408)](_0x596764),this[_0x1cac00(0x385)]();}}['_onConnectionOpen'](_0x335e4f){var _0x4e1d7e=_0x148bdb;this[_0x4e1d7e(0x1a0)][_0x4e1d7e(0x445)]('[CollaborationSessionService]',_0x4e1d7e(0x467)),_0x335e4f['send']({'cmd':_0x5cd60b[_0x4e1d7e(0x155)]}),this['_rescheduleHeartbeat']();}[_0x148bdb(0x10b)](){var _0x544059=_0x148bdb;this['_socketReady']=!0x1,this[_0x544059(0x28e)]=null,this[_0x544059(0x36c)]['next'](_0x3febe1[_0x544059(0x295)]),this[_0x544059(0x374)]['next'](null),this['_clearTimeoutTimer'](),this[_0x544059(0x336)]();}[_0x148bdb(0x385)](){var _0x4d858f=_0x148bdb,_0x5658e6;this[_0x4d858f(0x10b)](),this[_0x4d858f(0x18f)]<((_0x5658e6=this['_configService']['getConfig'](_0x137d79))!=null?_0x5658e6:0x3)?(this['_collaborationUIEventService'][_0x4d858f(0x29f)]({'id':_0x22314e[_0x4d858f(0x322)]}),this[_0x4d858f(0xe7)]()):this[_0x4d858f(0x19c)][_0x4d858f(0x29f)]({'id':_0x22314e[_0x4d858f(0x2fa)]});}[_0x148bdb(0xe7)](){var _0x55c3df=_0x148bdb,_0x122d82;const _0x106db6=this[_0x55c3df(0x18f)],_0x37b791=this['_configService'][_0x55c3df(0x43a)](_0x1f5f1c),_0x759427=_0x106db6===0x0?0x0:((_0x122d82=_0x37b791==null?void 0x0:_0x37b791['retryConnectingInterval'])!=null?_0x122d82:0x4e20)*0x2**_0x106db6;this[_0x55c3df(0xfa)]=setTimeout(()=>{var _0x1ea6c3=_0x55c3df;clearTimeout(this[_0x1ea6c3(0xfa)]),this[_0x1ea6c3(0xfa)]=null,this['_tryEnsureSocket']();},_0x759427),this[_0x55c3df(0x18f)]+=0x1;}[_0x148bdb(0x43f)](_0x40a475,_0x2c5dd0){var _0x48d6e0=_0x148bdb;const {cmd:_0x5d51fb}=_0x2c5dd0;_0x5d51fb===_0x5cd60b[_0x48d6e0(0x155)]&&!this['_socketReady']&&(_0x40a475[_0x48d6e0(0x2bb)]=_0x2c5dd0[_0x48d6e0(0x3f2)]['memberID'],this[_0x48d6e0(0x374)]['next'](_0x40a475),this[_0x48d6e0(0x36c)][_0x48d6e0(0x334)](_0x3febe1[_0x48d6e0(0x279)]),this['_socketReady']=!0x0,this[_0x48d6e0(0x28e)]=null),_0x5d51fb===_0x5cd60b[_0x48d6e0(0x280)]&&this[_0x48d6e0(0x1cd)](),this[_0x48d6e0(0xfd)]();}[_0x148bdb(0xfd)](){var _0xaae65=_0x148bdb,_0x19db9d;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0xaae65(0x201)](),(_0x19db9d=this['_configService'][_0xaae65(0x43a)](_0x3ad4e9))!=null?_0x19db9d:0x7530);}[_0x148bdb(0x201)](){var _0x2c645a=_0x148bdb;this[_0x2c645a(0x346)][_0x2c645a(0x399)]({'cmd':_0x5cd60b[_0x2c645a(0x280)]}),this[_0x2c645a(0xe0)]();}['_waitForHeartbeatResponse'](){var _0x483089=_0x148bdb,_0x13c413;this[_0x483089(0x36d)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x13c413=this[_0x483089(0x409)][_0x483089(0x43a)](_0x5ea91e))!=null?_0x13c413:0x4e20);}[_0x148bdb(0x336)](){var _0x54b4e5=_0x148bdb;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x54b4e5(0x25a)]),this[_0x54b4e5(0x25a)]=null);}[_0x148bdb(0x1cd)](){var _0x110ab7=_0x148bdb;this[_0x110ab7(0x36d)]!=null&&(clearTimeout(this[_0x110ab7(0x36d)]),this[_0x110ab7(0x36d)]=null);}},_0x31903a[_0x148bdb(0x2fe)]=_0x2b8520([_0x21c8a2(0x0,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c['Injector'])),_0x21c8a2(0x1,_0x38c92c[_0x148bdb(0x3e4)]),_0x21c8a2(0x2,_0x38c92c[_0x148bdb(0x37e)]),_0x21c8a2(0x3,_0x5bf4d7),_0x21c8a2(0x4,_0x38c92c['Inject'](_0x3bdd40[_0x148bdb(0x248)])),_0x21c8a2(0x5,_0x38c92c['Inject'](_0x387561)),_0x21c8a2(0x6,_0x38c92c[_0x148bdb(0x38a)](_0x321568))],_0x31903a[_0x148bdb(0x2fe)]);const _0xf591d4=[];for(let _0x328222=0x0;_0x328222<0x100;++_0x328222)_0xf591d4[_0x148bdb(0x258)]((_0x328222+0x100)[_0x148bdb(0x3de)](0x10)[_0x148bdb(0x119)](0x1));function _0x413c8f(_0x2bef52,_0x1be75a=0x0){return(_0xf591d4[_0x2bef52[_0x1be75a+0x0]]+_0xf591d4[_0x2bef52[_0x1be75a+0x1]]+_0xf591d4[_0x2bef52[_0x1be75a+0x2]]+_0xf591d4[_0x2bef52[_0x1be75a+0x3]]+'-'+_0xf591d4[_0x2bef52[_0x1be75a+0x4]]+_0xf591d4[_0x2bef52[_0x1be75a+0x5]]+'-'+_0xf591d4[_0x2bef52[_0x1be75a+0x6]]+_0xf591d4[_0x2bef52[_0x1be75a+0x7]]+'-'+_0xf591d4[_0x2bef52[_0x1be75a+0x8]]+_0xf591d4[_0x2bef52[_0x1be75a+0x9]]+'-'+_0xf591d4[_0x2bef52[_0x1be75a+0xa]]+_0xf591d4[_0x2bef52[_0x1be75a+0xb]]+_0xf591d4[_0x2bef52[_0x1be75a+0xc]]+_0xf591d4[_0x2bef52[_0x1be75a+0xd]]+_0xf591d4[_0x2bef52[_0x1be75a+0xe]]+_0xf591d4[_0x2bef52[_0x1be75a+0xf]])['toLowerCase']();}let _0x5dcd2f;const _0x48e316=new Uint8Array(0x10);function _0x2969e9(){var _0x490d94=_0x148bdb;if(!_0x5dcd2f){if(typeof crypto>'u'||!crypto[_0x490d94(0x209)])throw new Error(_0x490d94(0x2cd));_0x5dcd2f=crypto['getRandomValues'][_0x490d94(0x198)](crypto);}return _0x5dcd2f(_0x48e316);}const _0x206a68={'randomUUID':typeof crypto<'u'&&crypto[_0x148bdb(0x318)]&&crypto[_0x148bdb(0x318)][_0x148bdb(0x198)](crypto)};function _0x26c550(_0x4e9669,_0x454d5c,_0x3e4898){var _0x26fdd2=_0x148bdb;if(_0x206a68[_0x26fdd2(0x318)]&&!_0x454d5c&&!_0x4e9669)return _0x206a68[_0x26fdd2(0x318)]();_0x4e9669=_0x4e9669||{};const _0x17cf76=_0x4e9669[_0x26fdd2(0x164)]||(_0x4e9669[_0x26fdd2(0x2a7)]||_0x2969e9)();return _0x17cf76[0x6]=_0x17cf76[0x6]&0xf|0x40,_0x17cf76[0x8]=_0x17cf76[0x8]&0x3f|0x80,_0x413c8f(_0x17cf76);}const _0x74bfb=_0x38c92c[_0x148bdb(0x26d)]('collaboration-client.local-cache-service');function _0x19d320(_0x5a5579){return'unit-cache-'+_0x5a5579;}var _0x53af74=Object['defineProperty'],_0x5b5688=Object['getOwnPropertyDescriptor'],_0x205b64=(_0x264f84,_0x5bc3d4,_0xbc56f3,_0x4316ec)=>{var _0x1354b6=_0x148bdb;for(var _0x34c1c1=_0x4316ec>0x1?void 0x0:_0x4316ec?_0x5b5688(_0x5bc3d4,_0xbc56f3):_0x5bc3d4,_0xa38f2c=_0x264f84[_0x1354b6(0x151)]-0x1,_0x2af526;_0xa38f2c>=0x0;_0xa38f2c--)(_0x2af526=_0x264f84[_0xa38f2c])&&(_0x34c1c1=(_0x4316ec?_0x2af526(_0x5bc3d4,_0xbc56f3,_0x34c1c1):_0x2af526(_0x34c1c1))||_0x34c1c1);return _0x4316ec&&_0x34c1c1&&_0x53af74(_0x5bc3d4,_0xbc56f3,_0x34c1c1),_0x34c1c1;},_0x3a6486=(_0x25d392,_0x312624)=>(_0x2b86b0,_0x4f8a2e)=>_0x312624(_0x2b86b0,_0x4f8a2e,_0x25d392);function _0x15069d(_0x5d6e2d){var _0x5e5e1c=_0x148bdb;const {unitID:_0x148683,mutations:_0x1052f3}=_0x5d6e2d;return{'unitId':_0x148683,'subUnitId':_0x1052f3[0x0]['params'][_0x5e5e1c(0x41a)]};}_0x31903a['SheetTransformSelectionsService']=class{constructor(_0x281e32,_0x4f7b8f,_0x59bf1e){var _0x558e05=_0x148bdb;this[_0x558e05(0x1ad)]=_0x281e32,this[_0x558e05(0x341)]=_0x4f7b8f,this[_0x558e05(0x2da)]=_0x59bf1e;}[_0x148bdb(0x211)](_0x197b8f){var _0x1201e4=_0x148bdb,_0x585973,_0x3a789c,_0x280a77,_0x41bb4f;const _0x312f4a=this['_injector'][_0x1201e4(0x2d5)](_0x3eb888[_0x1201e4(0x1aa)]),{unitId:_0xfd6c8d,subUnitId:_0xb5ecae}=_0x15069d(_0x197b8f),_0x3634df=_0x312f4a==null?void 0x0:_0x312f4a[_0x1201e4(0x2df)](_0xfd6c8d)[_0x1201e4(0x3a7)](),_0x1a91c3=(_0x3a789c=(_0x585973=this[_0x1201e4(0x2da)][_0x1201e4(0x2a5)](_0xfd6c8d))==null?void 0x0:_0x585973['getActiveSheet']())==null?void 0x0:_0x3a789c[_0x1201e4(0x364)]();if(_0x3634df['length']===0x0||!_0xfd6c8d||!_0xb5ecae)return;const _0x2a91d1=[{'id':_0x3eb888['SetSelectionsOperation']['id'],'params':{'unitId':_0xfd6c8d,'subUnitId':_0x1a91c3,'selections':_0x38c92c[_0x1201e4(0x30c)][_0x1201e4(0x3e8)](_0x3634df)}}],_0x4afb7a=this[_0x1201e4(0x341)][_0x1201e4(0x429)](_0x197b8f,_0x2a91d1);if(!_0x427fbe['isTransformMutationsWithChangesetSuccess'](_0x4afb7a))throw _0x4afb7a[_0x1201e4(0x408)];const _0x4c0df9=(_0x41bb4f=(_0x280a77=_0x4afb7a[_0x1201e4(0x1fb)][0x0])==null?void 0x0:_0x280a77[_0x1201e4(0x179)])==null?void 0x0:_0x41bb4f['selections'];if(Array['isArray'](_0x4c0df9)&&_0x4c0df9['length']){if(_0x4c0df9['length']===_0x2a91d1[0x0][_0x1201e4(0x179)][_0x1201e4(0x1db)][_0x1201e4(0x151)]&&_0x4c0df9[_0x1201e4(0x27e)]((_0x21fec1,_0x2a9329)=>_0x38c92c[_0x1201e4(0x3d6)][_0x1201e4(0x120)](_0x21fec1[_0x1201e4(0x2a3)],_0x2a91d1[0x0][_0x1201e4(0x179)][_0x1201e4(0x1db)][_0x2a9329][_0x1201e4(0x2a3)])))return;this[_0x1201e4(0x1ad)][_0x1201e4(0x2d5)](_0x38c92c['ICommandService'])[_0x1201e4(0x425)](_0x3eb888[_0x1201e4(0x3c5)]['id'],{'unitId':_0xfd6c8d,'subUnitId':_0x1a91c3,'selections':_0x4c0df9});}}},_0x31903a[_0x148bdb(0x39d)]=_0x205b64([_0x3a6486(0x0,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c[_0x148bdb(0x298)])),_0x3a6486(0x1,_0x427fbe[_0x148bdb(0x157)]),_0x3a6486(0x2,_0x38c92c['IUniverInstanceService'])],_0x31903a[_0x148bdb(0x39d)]);const _0x3fcef3=_0x38c92c['createIdentifier'](_0x148bdb(0x159));var _0x1bda56=(_0x126d0e=>(_0x126d0e[_0x126d0e[_0x148bdb(0x40c)]=0x0]=_0x148bdb(0x40c),_0x126d0e[_0x126d0e[_0x148bdb(0x1f6)]=0x1]='OTHER_CLIENTS_EDITING',_0x126d0e))(_0x1bda56||{});const _0x4b07dd=new Set([_0x3eb888[_0x148bdb(0x1f3)]['id']]);function _0x4d14db(_0x5c3ddf,_0x5abc87,_0x36b89b,_0x5f52e8,_0x55cacf){var _0x10b5a4=_0x148bdb,_0x1ca330,_0x2b82c0,_0x3e7103,_0xcd0e9f;const _0x5d8df3=[];for(const _0x35d1d3 of _0x5c3ddf)if(_0x4b07dd['has'](_0x35d1d3['id'])){if(_0x5d8df3[_0x10b5a4(0x151)]>0x0)break;_0x5d8df3['push'](_0x35d1d3);break;}else _0x5d8df3[_0x10b5a4(0x258)](_0x35d1d3);const _0x5dc5c1=(_0x2b82c0=(_0x1ca330=_0x55cacf[_0x10b5a4(0x2cf)]())==null?void 0x0:_0x1ca330[_0x10b5a4(0x30a)])!=null?_0x2b82c0:_0x10b5a4(0x43d),_0x341f2f=(_0xcd0e9f=(_0x3e7103=_0x55cacf[_0x10b5a4(0x2cf)]())==null?void 0x0:_0x3e7103[_0x10b5a4(0x2bb)])!=null?_0xcd0e9f:'unknown';return{'changeset':{'unitID':_0x5abc87,'type':_0x427fbe['mapDocumentTypeToUniverType'](_0x36b89b[_0x10b5a4(0x207)](_0x5abc87)),'baseRev':_0x5f52e8[_0x10b5a4(0x25d)](_0x5abc87),'revision':0x0,'userID':_0x5dc5c1,'memberID':_0x341f2f,'mutations':_0x5d8df3},'pendingMutations':_0x5c3ddf[_0x10b5a4(0x119)](_0x5d8df3[_0x10b5a4(0x151)])};}function _0x27e888(_0x866fac,_0x4a1f51,_0x1a27ee,_0x302dbd,_0x4c0bd3){var _0x38f740=_0x148bdb,_0x1d7773,_0x4e4123,_0x4785d5,_0x1fef6d;const _0xc7d16f=[_0x866fac[_0x38f740(0x387)]((_0x1c3d7a,_0x445053)=>{var _0x27f28e=_0x38f740,_0x58ce11;const {id:_0x1cc057}=_0x1c3d7a,{id:_0x2e53c5,type:_0x61b3e3}=_0x445053,_0x259d45=(_0x58ce11=_0x1c3d7a[_0x27f28e(0x179)])!=null?_0x58ce11:{'actions':null},_0x2c9167=_0x445053['params'];if(_0x1cc057&&_0x1cc057!==_0x2e53c5)throw new Error(_0x27f28e(0x114)+_0x1cc057+'\x20-\x20'+_0x2e53c5+'.');return{..._0x1c3d7a,'id':_0x2e53c5,'type':_0x61b3e3,'params':{'unitId':_0x2c9167['unitId'],'textRanges':_0x2c9167[_0x27f28e(0x14d)],'actions':_0x38c92c[_0x27f28e(0x1c7)][_0x27f28e(0x242)](_0x259d45[_0x27f28e(0x123)],_0x2c9167[_0x27f28e(0x123)])}};},{})],_0x1cd5af=(_0x4e4123=(_0x1d7773=_0x4c0bd3['getCurrentUser']())==null?void 0x0:_0x1d7773[_0x38f740(0x30a)])!=null?_0x4e4123:'unknown',_0x200bb2=(_0x1fef6d=(_0x4785d5=_0x4c0bd3[_0x38f740(0x2cf)]())==null?void 0x0:_0x4785d5[_0x38f740(0x2bb)])!=null?_0x1fef6d:_0x38f740(0x43d);return{'changeset':{'unitID':_0x4a1f51,'type':_0x427fbe[_0x38f740(0x115)](_0x1a27ee[_0x38f740(0x207)](_0x4a1f51)),'baseRev':_0x302dbd['getCurrentRevOfUnit'](_0x4a1f51),'revision':0x0,'userID':_0x1cd5af,'memberID':_0x200bb2,'mutations':_0xc7d16f},'pendingMutations':[]};}function _0x28b896(_0x43b536,_0xb2a083){var _0x2fd9b2=_0x148bdb;const _0xbf1fe4=new _0x30238b[(_0x2fd9b2(0x3fe))](0x1);return setTimeout(()=>_0xbf1fe4[_0x2fd9b2(0x334)](_0xb2a083),_0x43b536),_0xbf1fe4[_0x2fd9b2(0x1cb)]()[_0x2fd9b2(0x3a3)](_0x30238b[_0x2fd9b2(0x18b)](0x1));}const _0x2a2fa2={'id':_0x3eb888[_0x148bdb(0x225)]['id'],'type':_0x38c92c['CommandType'][_0x148bdb(0x216)],'params':{}};var _0x40821d=Object[_0x148bdb(0x411)],_0x4efd20=Object[_0x148bdb(0xea)],_0x24ac2d=(_0xd75456,_0x4a3302,_0x15a9c1,_0x268126)=>{for(var _0x4c1311=_0x268126>0x1?void 0x0:_0x268126?_0x4efd20(_0x4a3302,_0x15a9c1):_0x4a3302,_0x1ca68b=_0xd75456['length']-0x1,_0xa5d10f;_0x1ca68b>=0x0;_0x1ca68b--)(_0xa5d10f=_0xd75456[_0x1ca68b])&&(_0x4c1311=(_0x268126?_0xa5d10f(_0x4a3302,_0x15a9c1,_0x4c1311):_0xa5d10f(_0x4c1311))||_0x4c1311);return _0x268126&&_0x4c1311&&_0x40821d(_0x4a3302,_0x15a9c1,_0x4c1311),_0x4c1311;},_0x291b44=(_0x522d9f,_0x57c625)=>(_0x5dd2cd,_0x4e62d3)=>_0x57c625(_0x5dd2cd,_0x4e62d3,_0x522d9f),_0x173892=(_0x2cdb77=>(_0x2cdb77[_0x148bdb(0x3b5)]='not_collab',_0x2cdb77[_0x148bdb(0x13b)]='synced',_0x2cdb77[_0x148bdb(0x389)]=_0x148bdb(0x3e2),_0x2cdb77['AWAITING']='awaiting',_0x2cdb77['AWAITING_WITH_PENDING']=_0x148bdb(0x1f1),_0x2cdb77[_0x148bdb(0x45a)]=_0x148bdb(0x2fc),_0x2cdb77[_0x148bdb(0x210)]=_0x148bdb(0x474),_0x2cdb77[_0x148bdb(0x295)]='offline',_0x2cdb77))(_0x173892||{});const _0x236c54=0xea60;class _0x1b867f{constructor(_0x55d853,_0x40e803,_0x5a57d3,_0x92f11e,_0x5f4247,_0x2de34f,_0x45c321,_0xeec52b,_0x10d50e){var _0x30d93f=_0x148bdb;_0x3f7bc0(this,_0x30d93f(0x2c0),null),_0x3f7bc0(this,_0x30d93f(0x118),[]),(this['unitID']=_0x55d853,this['type']=_0x40e803,this[_0x30d93f(0x32b)]=_0x5f4247,this[_0x30d93f(0x107)]=_0x2de34f,this[_0x30d93f(0x33c)]=_0x45c321,this[_0x30d93f(0x132)]=_0xeec52b,this[_0x30d93f(0x470)]=_0x10d50e,this[_0x30d93f(0x2c0)]=_0x5a57d3,this[_0x30d93f(0x118)]=_0x92f11e);}[_0x148bdb(0x328)](_0xf7598c){var _0x592d47=_0x148bdb;const _0xf71ab2=this[_0x592d47(0x132)][_0x592d47(0x25d)](this[_0x592d47(0x174)]);return _0xf7598c[_0x592d47(0xf1)]>_0xf71ab2+0x1?(this[_0x592d47(0x32b)][_0x592d47(0x111)]({'from':_0xf71ab2,'to':_0xf7598c[_0x592d47(0xf1)]-0x1}),!0x0):!0x1;}[_0x148bdb(0x2a1)](_0x4c146b){var _0x763197=_0x148bdb;this[_0x763197(0x33c)][_0x763197(0x122)](this[_0x763197(0x174)],_0x4c146b);}[_0x148bdb(0x1ca)](_0xead596){var _0x2fac6e=_0x148bdb,_0x1209a0,_0xaafcbc;(_0xaafcbc=(_0x1209a0=this[_0x2fac6e(0x32b)])[_0x2fac6e(0x24d)])==null||_0xaafcbc['call'](_0x1209a0,_0xead596);}[_0x148bdb(0x3f3)](_0xf035f2){var _0x3ff140=_0x148bdb,_0x393561,_0x11526e;return(_0x11526e=(_0x393561=this[_0x3ff140(0x32b)])[_0x3ff140(0x11b)])==null?void 0x0:_0x11526e[_0x3ff140(0x3af)](_0x393561,_0xf035f2);}[_0x148bdb(0x116)](_0x28b20f){var _0x230d7d=_0x148bdb,_0x534bf6,_0x258142;return(_0x258142=(_0x534bf6=this[_0x230d7d(0x32b)])[_0x230d7d(0xe2)])==null?void 0x0:_0x258142['call'](_0x534bf6,_0x28b20f);}[_0x148bdb(0x194)](_0x31c14a){var _0xfa5edb=_0x148bdb,_0x101bb9,_0x4a9c5d,_0x585705;return(_0x585705=(_0x4a9c5d=(_0x101bb9=this[_0xfa5edb(0x32b)])[_0xfa5edb(0x335)])==null?void 0x0:_0x4a9c5d['call'](_0x101bb9,_0x31c14a))!=null?_0x585705:_0x31c14a;}[_0x148bdb(0x375)](_0x20721a){var _0x4e6102=_0x148bdb,_0x4656c4,_0x14d539,_0x2fe2af;return(_0x2fe2af=(_0x14d539=(_0x4656c4=this[_0x4e6102(0x32b)])[_0x4e6102(0x104)])==null?void 0x0:_0x14d539[_0x4e6102(0x3af)](_0x4656c4,_0x20721a))!=null?_0x2fe2af:_0x20721a;}[_0x148bdb(0x3db)](_0x6a3598){var _0x2ac8a3=_0x148bdb,_0x23fc8,_0x47953e;if(this[_0x2ac8a3(0x193)]===_0x46c79d[_0x2ac8a3(0x3fa)]){const {unitID:_0xb30bd2,mutations:_0x535f87,memberID:_0x2960da}=_0x6a3598,_0x5b2c51=_0x535f87[0x0][_0x2ac8a3(0x179)]['textRanges'];Array[_0x2ac8a3(0x260)](_0x5b2c51)&&_0x5b2c51[_0x2ac8a3(0x151)]>0x0&&((_0x47953e=(_0x23fc8=this[_0x2ac8a3(0x32b)])[_0x2ac8a3(0x291)])==null||_0x47953e[_0x2ac8a3(0x3af)](_0x23fc8,{'unitID':_0xb30bd2,'memberID':_0x2960da,'textRanges':_0x5b2c51}));}}[_0x148bdb(0x170)](){var _0x41cca9=_0x148bdb,_0x564c25;(_0x564c25=this[_0x41cca9(0x470)])==null||_0x564c25[_0x41cca9(0x2b4)](this[_0x41cca9(0x174)],this[_0x41cca9(0x193)],this[_0x41cca9(0x2c0)],this[_0x41cca9(0x118)]);}[_0x148bdb(0x1d2)](){var _0x361db7=_0x148bdb;return this[_0x361db7(0x132)]['getCurrentRevOfUnit'](this[_0x361db7(0x174)]);}['_incrementRevisionNumber'](){var _0x1f8cf3=_0x148bdb;this[_0x1f8cf3(0x132)]['incrementRevOfUnit'](this[_0x1f8cf3(0x174)]);}['_executeRemoteChangeset'](_0x343117){var _0xb75d8b=_0x148bdb,_0x46c53e;let _0x50fcd2=this[_0xb75d8b(0x194)](_0x343117);_0x50fcd2=this[_0xb75d8b(0x375)](_0x50fcd2);const _0x2d788a=_0x38c92c[_0xb75d8b(0x199)](_0x50fcd2[_0xb75d8b(0x28f)],this['_commandService'],{'fromCollab':!0x0});if(!_0x2d788a[_0xb75d8b(0x175)])throw _0x2d788a['error']instanceof Error?_0x2d788a['error']:new Error((_0x46c53e=_0x2d788a[_0xb75d8b(0x408)])!=null?_0x46c53e:_0xb75d8b(0x422));this[_0xb75d8b(0x3f3)](_0x50fcd2),this[_0xb75d8b(0x116)](_0x50fcd2),this[_0xb75d8b(0x2a1)](_0x343117),this[_0xb75d8b(0x1ca)](_0x50fcd2),this[_0xb75d8b(0x3db)](_0x50fcd2),this[_0xb75d8b(0x1ac)]();}}_0x31903a['SyncedState']=class extends _0x1b867f{constructor(_0x3c59bd,_0x760374,_0x34931f,_0x20e017,_0x4d040b,_0x1acbf7,_0x3a31c5,_0x2c21fa,_0x597b26,_0x2ca5a8){var _0x50a344=_0x148bdb;super(_0x3c59bd,_0x760374,null,[],_0x34931f,_0x3a31c5,_0x1acbf7,_0x20e017,_0x2ca5a8),_0x3f7bc0(this,_0x50a344(0x25b),_0x50a344(0x418)),(this[_0x50a344(0x1ad)]=_0x4d040b,this[_0x50a344(0x1a0)]=_0x2c21fa,this['_transformService']=_0x597b26,this[_0x50a344(0x3ac)]=_0x2ca5a8);}[_0x148bdb(0x30d)](_0x352e10){var _0x2bba2e=_0x148bdb;const _0x58193c=this['_injector']['createInstance'](_0x31903a[_0x2bba2e(0x2b8)],this[_0x2bba2e(0x174)],this[_0x2bba2e(0x193)],[_0x352e10],this['_handler']);return _0x58193c[_0x2bba2e(0x39f)](),_0x58193c[_0x2bba2e(0x170)](),_0x58193c;}[_0x148bdb(0x362)](_0x558a61){var _0x29ec48=_0x148bdb;if(this[_0x29ec48(0x328)](_0x558a61))return this[_0x29ec48(0x1ad)][_0x29ec48(0xf8)](_0x31903a[_0x29ec48(0x1f0)],this[_0x29ec48(0x174)],this[_0x29ec48(0x193)],null,[],null,[_0x558a61],this[_0x29ec48(0x32b)]);try{const _0x1dc628=this[_0x29ec48(0x341)]['transformMutationsWithChangeset'](_0x558a61,[_0x2a2fa2]);if(_0x427fbe['isTransformMutationsWithChangesetSuccess'](_0x1dc628)){const {c1Prime:_0x18d145}=_0x1dc628;return this['_executeRemoteChangeset'](_0x18d145),this;}throw _0x1dc628[_0x29ec48(0x408)];}catch(_0x437202){return this['_logService'][_0x29ec48(0x408)](_0x437202),this['_onConflict'](!0x1);}}[_0x148bdb(0x26f)](_0x49a9c6){var _0x48c45c=_0x148bdb;return this[_0x48c45c(0x1ad)]['createInstance'](_0x31903a[_0x48c45c(0x284)],this[_0x48c45c(0x174)],this[_0x48c45c(0x193)],null,[],this[_0x48c45c(0x32b)],_0x49a9c6);}['onRemoteAck'](){var _0x3be6b5=_0x148bdb;throw new Error(_0x3be6b5(0x448));}[_0x148bdb(0x3d5)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x148bdb(0xe3)](){return this;}[_0x148bdb(0x262)](){var _0x6f0273=_0x148bdb;return this[_0x6f0273(0x1ad)][_0x6f0273(0xf8)](_0x31903a['OfflineState'],this['unitID'],this[_0x6f0273(0x193)],null,[],this[_0x6f0273(0x32b)]);}['toggleOnline'](){return this;}[_0x148bdb(0x3ca)](){var _0x1b4b14=_0x148bdb;throw new Error(_0x1b4b14(0x3ae));}[_0x148bdb(0x289)](){var _0x5a02bd=_0x148bdb;const _0x101b4d=this[_0x5a02bd(0x132)][_0x5a02bd(0x25d)](this['unitID']);return this[_0x5a02bd(0x32b)][_0x5a02bd(0x111)]({'from':_0x101b4d,'to':0x0}),this['_injector'][_0x5a02bd(0xf8)](_0x31903a[_0x5a02bd(0x1f0)],this[_0x5a02bd(0x174)],this[_0x5a02bd(0x193)],null,[],null,[],this['_handler']);}},_0x31903a['SyncedState']=_0x24ac2d([_0x291b44(0x3,_0x38c92c[_0x148bdb(0x2b3)](_0x427fbe[_0x148bdb(0x160)])),_0x291b44(0x4,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c['Injector'])),_0x291b44(0x5,_0x38c92c[_0x148bdb(0x373)]),_0x291b44(0x6,_0x38c92c[_0x148bdb(0x23b)]),_0x291b44(0x7,_0x38c92c[_0x148bdb(0x3e4)]),_0x291b44(0x8,_0x427fbe['ITransformService']),_0x291b44(0x9,_0x38c92c[_0x148bdb(0x38a)](_0x74bfb))],_0x31903a[_0x148bdb(0x439)]),_0x31903a[_0x148bdb(0x2b8)]=class extends _0x1b867f{constructor(_0x8a0221,_0x3e971e,_0x40c9a5,_0x4257ba,_0x1342b0,_0x18691c,_0x5cc694,_0x5522ee,_0x19a1a4,_0x321c66,_0x3b5d10,_0xc579d5,_0x1529ab,_0x50fc41){var _0x3f3ff9=_0x148bdb;super(_0x8a0221,_0x3e971e,null,_0x40c9a5,_0x4257ba,_0x19a1a4,_0x1529ab,_0x18691c,_0x50fc41),_0x3f7bc0(this,_0x3f3ff9(0x25b),_0x3f3ff9(0x3e2)),_0x3f7bc0(this,_0x3f3ff9(0x206),null),_0x3f7bc0(this,_0x3f3ff9(0x3d0),null),(this['_injector']=_0x1342b0,this[_0x3f3ff9(0x264)]=_0x5cc694,this[_0x3f3ff9(0x1a0)]=_0x5522ee,this[_0x3f3ff9(0x409)]=_0x321c66,this[_0x3f3ff9(0x341)]=_0x3b5d10,this[_0x3f3ff9(0x12c)]=_0xc579d5);}[_0x148bdb(0x30d)](_0x205924){var _0x4baeff=_0x148bdb;return this['_pendingMutations'][_0x4baeff(0x258)](_0x205924),this[_0x4baeff(0x170)](),this;}[_0x148bdb(0x362)](_0x57d25c){var _0x3a8c9c=_0x148bdb;if(this[_0x3a8c9c(0x328)](_0x57d25c))return this[_0x3a8c9c(0x22f)](),this[_0x3a8c9c(0x1ad)]['createInstance'](_0x31903a['FetchingMissState'],this['unitID'],this[_0x3a8c9c(0x193)],null,this[_0x3a8c9c(0x118)],null,[_0x57d25c],this[_0x3a8c9c(0x32b)]);try{const _0x2819d3=this[_0x3a8c9c(0x341)][_0x3a8c9c(0x429)](_0x57d25c,this[_0x3a8c9c(0x118)]);if(_0x427fbe[_0x3a8c9c(0x136)](_0x2819d3)){const {c1Prime:_0x4bee50,m2Prime:_0x3112dc}=_0x2819d3;this[_0x3a8c9c(0x18d)](_0x4bee50);const _0xfc95dc=this[_0x3a8c9c(0x1ad)][_0x3a8c9c(0xf8)](_0x31903a[_0x3a8c9c(0x2b8)],this[_0x3a8c9c(0x174)],this[_0x3a8c9c(0x193)],_0x3112dc,this[_0x3a8c9c(0x32b)]);return this[_0x3a8c9c(0x22f)](),_0xfc95dc[_0x3a8c9c(0x39f)](this['_scheduleTimestamp']?Math[_0x3a8c9c(0x287)](0x0,new Date()['getTime']()-this[_0x3a8c9c(0x206)]):this[_0x3a8c9c(0x112)]()),_0xfc95dc;}throw _0x2819d3[_0x3a8c9c(0x408)];}catch(_0x1e6976){return this[_0x3a8c9c(0x1a0)]['error'](_0x1e6976),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x148bdb(0x3d5)](){var _0x37fa7d=_0x148bdb;throw new Error(_0x37fa7d(0x1d4));}[_0x148bdb(0xe3)](){return this;}['toggleOffline'](){var _0x3101dd=_0x148bdb;return this[_0x3101dd(0x22f)](),this[_0x3101dd(0x1ad)][_0x3101dd(0xf8)](_0x31903a['OfflineState'],this[_0x3101dd(0x174)],this[_0x3101dd(0x193)],null,this['_pendingMutations'],this[_0x3101dd(0x32b)]);}['toggleOnline'](){return this;}['_schedule'](_0x291bc6){var _0x2a7f25=_0x148bdb;const _0x3b8b8a=_0x291bc6!=null?_0x291bc6:this[_0x2a7f25(0x112)]();this[_0x2a7f25(0x206)]=new Date()[_0x2a7f25(0x342)](),this[_0x2a7f25(0x3d0)]=setTimeout(()=>{var _0x3a4b52=_0x2a7f25;this['_clearScheduledTask']();let _0xc403=null;switch(this[_0x3a4b52(0x193)]){case _0x46c79d[_0x3a4b52(0x1d6)]:{_0xc403=_0x4d14db(this[_0x3a4b52(0x118)],this[_0x3a4b52(0x174)],this[_0x3a4b52(0x12c)],this[_0x3a4b52(0x132)],this[_0x3a4b52(0x264)]);break;}case _0x46c79d[_0x3a4b52(0x3fa)]:{this[_0x3a4b52(0x118)][_0x3a4b52(0x27e)](_0x17b933=>_0x17b933['id']===_0x1a786a['RichTextEditingMutation']['id'])?_0xc403=_0x27e888(this[_0x3a4b52(0x118)],this['unitID'],this[_0x3a4b52(0x12c)],this[_0x3a4b52(0x132)],this['_memberService']):_0xc403=_0x4d14db(this[_0x3a4b52(0x118)],this[_0x3a4b52(0x174)],this[_0x3a4b52(0x12c)],this['_revisionService'],this[_0x3a4b52(0x264)]);break;}default:throw new Error(_0x3a4b52(0x19e)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x478aa0,pendingMutations:_0x53f838}=_0xc403;this[_0x3a4b52(0x32b)][_0x3a4b52(0x3e6)](_0x478aa0);const _0x5a452d=_0x53f838[_0x3a4b52(0x151)]?this[_0x3a4b52(0x1ad)][_0x3a4b52(0xf8)](_0x31903a[_0x3a4b52(0x43c)],this[_0x3a4b52(0x174)],this[_0x3a4b52(0x193)],_0x478aa0,_0x53f838,this[_0x3a4b52(0x32b)],void 0x0):this[_0x3a4b52(0x1ad)]['createInstance'](_0x31903a[_0x3a4b52(0x1c5)],this[_0x3a4b52(0x174)],this['type'],_0x478aa0,this[_0x3a4b52(0x32b)]);_0x5a452d[_0x3a4b52(0x170)](),this[_0x3a4b52(0x32b)]['onStateChange'](this,_0x5a452d);},_0x3b8b8a);}[_0x148bdb(0x112)](){var _0x31c3f6=_0x148bdb,_0x1d845a;const _0x4bf6ac=this[_0x31c3f6(0x409)][_0x31c3f6(0x43a)](_0x1f5f1c);return(_0x1d845a=_0x4bf6ac==null?void 0x0:_0x4bf6ac[_0x31c3f6(0x22b)])!=null?_0x1d845a:0x7d0;}[_0x148bdb(0x3ca)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x148bdb(0x22f)](){var _0x4366ce=_0x148bdb;this[_0x4366ce(0x3d0)]!=null&&(clearTimeout(this[_0x4366ce(0x3d0)]),this[_0x4366ce(0x3d0)]=null);}['_onConflict'](_0x5e6f02){var _0x191665=_0x148bdb;return this[_0x191665(0x22f)](),this[_0x191665(0x1ad)][_0x191665(0xf8)](_0x31903a[_0x191665(0x284)],this[_0x191665(0x174)],this[_0x191665(0x193)],null,this[_0x191665(0x118)],this['_handler'],_0x5e6f02);}},_0x31903a[_0x148bdb(0x2b8)]=_0x24ac2d([_0x291b44(0x4,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c['Injector'])),_0x291b44(0x5,_0x38c92c[_0x148bdb(0x2b3)](_0x427fbe['RevisionService'])),_0x291b44(0x6,_0x38c92c[_0x148bdb(0x2b3)](_0x31903a['MemberService'])),_0x291b44(0x7,_0x38c92c['ILogService']),_0x291b44(0x8,_0x38c92c[_0x148bdb(0x23b)]),_0x291b44(0x9,_0x38c92c['IConfigService']),_0x291b44(0xa,_0x427fbe[_0x148bdb(0x157)]),_0x291b44(0xb,_0x38c92c[_0x148bdb(0x3e7)]),_0x291b44(0xc,_0x38c92c['IUndoRedoService']),_0x291b44(0xd,_0x38c92c[_0x148bdb(0x38a)](_0x74bfb))],_0x31903a[_0x148bdb(0x2b8)]),_0x31903a[_0x148bdb(0x1c5)]=class extends _0x1b867f{constructor(_0x5f51c4,_0x367902,_0x2caa2b,_0x31f4a5,_0x3ce155,_0x3f6abe,_0x50ce83,_0x1071de,_0x237775,_0xf10a87,_0x3042d9){var _0x43c32a=_0x148bdb;super(_0x5f51c4,_0x367902,_0x2caa2b,[],_0x31f4a5,_0x50ce83,_0xf10a87,_0x3f6abe,_0x3042d9),_0x3f7bc0(this,_0x43c32a(0x25b),_0x43c32a(0x1e1)),_0x3f7bc0(this,_0x43c32a(0x1d5),0x0),_0x3f7bc0(this,_0x43c32a(0x1c3)),_0x3f7bc0(this,'_sender'),(this[_0x43c32a(0x1ad)]=_0x3ce155,this[_0x43c32a(0x1a0)]=_0x1071de,this['_transformService']=_0x237775);}[_0x148bdb(0x30d)](_0x17013d){var _0x31dcea=_0x148bdb;this[_0x31dcea(0x22f)]();const _0x2aa629=this[_0x31dcea(0x1ad)]['createInstance'](_0x31903a['AwaitingWithPendingState'],this[_0x31dcea(0x174)],this[_0x31dcea(0x193)],this[_0x31dcea(0x2c0)],[_0x17013d],this[_0x31dcea(0x32b)],this['_resendTimer']);return _0x2aa629[_0x31dcea(0x170)](),_0x2aa629;}[_0x148bdb(0x362)](_0x2897ff){var _0x40c979=_0x148bdb;if(this[_0x40c979(0x328)](_0x2897ff))return this[_0x40c979(0x22f)](),this['_injector']['createInstance'](_0x31903a['FetchingMissState'],this[_0x40c979(0x174)],this[_0x40c979(0x193)],this[_0x40c979(0x2c0)],[],null,[_0x2897ff],this[_0x40c979(0x32b)]);try{const _0x240e05=this[_0x40c979(0x341)]['transformChangesets']([_0x2897ff],[this[_0x40c979(0x2c0)]],!0x1);if(_0x427fbe[_0x40c979(0x2e8)](_0x240e05)){const {c1Prime:_0x5afbf4,c2Prime:_0x1f71b5}=_0x240e05;this[_0x40c979(0x18d)](_0x5afbf4[0x0]),_0x1f71b5[0x0][_0x40c979(0x20a)]=this[_0x40c979(0x1d2)](),this[_0x40c979(0x22f)]();const _0x51533e=this[_0x40c979(0x1ad)][_0x40c979(0xf8)](_0x31903a[_0x40c979(0x1c5)],this['unitID'],this[_0x40c979(0x193)],_0x1f71b5[0x0],this[_0x40c979(0x32b)]);return _0x51533e[_0x40c979(0x170)](),_0x51533e;}return this[_0x40c979(0x26f)](!0x1);}catch(_0xefc0dd){return this[_0x40c979(0x1a0)][_0x40c979(0x408)](_0xefc0dd),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x27c99e){var _0x4957c7=_0x148bdb;this['_clearScheduledTask']();const _0x2ec8b4=this[_0x4957c7(0x132)][_0x4957c7(0x25d)](this[_0x4957c7(0x174)]);if(_0x27c99e[_0x4957c7(0xf1)]<_0x2ec8b4-0x1)return this;if(this[_0x4957c7(0x328)](_0x27c99e))return this[_0x4957c7(0x1ad)][_0x4957c7(0xf8)](_0x31903a['FetchingMissState'],this[_0x4957c7(0x174)],this[_0x4957c7(0x193)],null,[],this['_awaitingChangeset'],[],this[_0x4957c7(0x32b)]);this['_incrementRevisionNumber']();const _0x19a26c=this[_0x4957c7(0x1ad)][_0x4957c7(0xf8)](_0x31903a['SyncedState'],this[_0x4957c7(0x174)],this[_0x4957c7(0x193)],this[_0x4957c7(0x32b)]);return _0x19a26c[_0x4957c7(0x170)](),_0x19a26c;}[_0x148bdb(0x3d5)](_0x36982b){var _0x2fc91c=_0x148bdb;return this[_0x2fc91c(0x26f)](!!(_0x36982b!=null&&_0x36982b['isPermissionRej']));}[_0x148bdb(0xe3)](_0x24e39f){var _0x4f140a=_0x148bdb;return this[_0x4f140a(0x1d5)]>_0x236c54?this[_0x4f140a(0x262)]():(this[_0x4f140a(0x1c3)]=_0x28b896(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x24e39f[_0x4f140a(0x313)]}),this[_0x4f140a(0x32f)]=this[_0x4f140a(0x1c3)][_0x4f140a(0x2bc)](({reqId:_0x5881ac,timeout:_0x28102b})=>{var _0x3a5eba=_0x4f140a;this[_0x3a5eba(0x43b)](_0x5881ac,_0x28102b);}),this);}[_0x148bdb(0x262)](){var _0x217f6d=_0x148bdb;return this['_clearScheduledTask'](),this[_0x217f6d(0x1ad)]['createInstance'](_0x31903a[_0x217f6d(0x20d)],this[_0x217f6d(0x174)],this['type'],this[_0x217f6d(0x2c0)],[],this[_0x217f6d(0x32b)]);}['toggleOnline'](){return this;}[_0x148bdb(0x3ca)](){var _0x3133fc=_0x148bdb;this[_0x3133fc(0x32b)][_0x3133fc(0x3e6)](this[_0x3133fc(0x2c0)]);}['_onConflict'](_0x946927){var _0x502ba2=_0x148bdb;return this[_0x502ba2(0x22f)](),this[_0x502ba2(0x1ad)][_0x502ba2(0xf8)](_0x31903a[_0x502ba2(0x284)],this[_0x502ba2(0x174)],this['type'],this[_0x502ba2(0x2c0)],[],this['_handler'],_0x946927);}[_0x148bdb(0x43b)](_0x700db5,_0x5ac1e7){var _0x2ed203=_0x148bdb,_0xfc0152;_0x700db5===((_0xfc0152=this[_0x2ed203(0x2c0)])==null?void 0x0:_0xfc0152[_0x2ed203(0x313)])&&(this[_0x2ed203(0x3ca)](),this['_resendTimeout']=_0x5ac1e7===0x0?0x3e8:_0x5ac1e7*0x2);}[_0x148bdb(0x22f)](){var _0x5101e9=_0x148bdb,_0x7964c3;(_0x7964c3=this[_0x5101e9(0x32f)])==null||_0x7964c3['unsubscribe'](),this['_resendTimeout']=0x0;}},_0x31903a[_0x148bdb(0x1c5)]=_0x24ac2d([_0x291b44(0x4,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c[_0x148bdb(0x298)])),_0x291b44(0x5,_0x38c92c[_0x148bdb(0x2b3)](_0x427fbe[_0x148bdb(0x160)])),_0x291b44(0x6,_0x38c92c[_0x148bdb(0x23b)]),_0x291b44(0x7,_0x38c92c['ILogService']),_0x291b44(0x8,_0x427fbe[_0x148bdb(0x157)]),_0x291b44(0x9,_0x38c92c['IUndoRedoService']),_0x291b44(0xa,_0x38c92c[_0x148bdb(0x38a)](_0x74bfb))],_0x31903a[_0x148bdb(0x1c5)]),_0x31903a[_0x148bdb(0x43c)]=class extends _0x1b867f{constructor(_0x25629b,_0x460804,_0x500499,_0x472ad9,_0x2f098c,_0x268bd2,_0x11bbea,_0x58d0d8,_0x3328fd,_0x4e36ef,_0x2f5272,_0x29f2cf,_0x232842){var _0x470783=_0x148bdb;super(_0x25629b,_0x460804,_0x500499,_0x472ad9,_0x2f098c,_0x3328fd,_0x29f2cf,_0x58d0d8,_0x232842),_0x3f7bc0(this,_0x470783(0x25b),_0x470783(0x1f1)),_0x3f7bc0(this,'_resendTimeout',0x0),_0x3f7bc0(this,'_resendTimer'),_0x3f7bc0(this,_0x470783(0x32f)),(this[_0x470783(0x1ad)]=_0x11bbea,this[_0x470783(0x1a0)]=_0x4e36ef,this['_transformService']=_0x2f5272,this[_0x470783(0x3ac)]=_0x232842,_0x268bd2&&(this[_0x470783(0x1c3)]=_0x268bd2,this[_0x470783(0x32f)]=this[_0x470783(0x1c3)][_0x470783(0x2bc)](({reqId:_0x596f8f,timeout:_0x186b40})=>{var _0x225096=_0x470783;this[_0x225096(0x43b)](_0x596f8f,_0x186b40);})));}[_0x148bdb(0x30d)](_0x463ce3){var _0x2fbdce=_0x148bdb;return this[_0x2fbdce(0x118)]['push'](_0x463ce3),this;}['onRemoteChangeset'](_0xd19362){var _0x324532=_0x148bdb;if(this['_checkMissing'](_0xd19362))return this['_clearScheduledTask'](),this[_0x324532(0x1ad)][_0x324532(0xf8)](_0x31903a['FetchingMissState'],this['unitID'],this[_0x324532(0x193)],this[_0x324532(0x2c0)],this[_0x324532(0x118)],null,[_0xd19362],this[_0x324532(0x32b)]);try{const _0x251ec0=this[_0x324532(0x341)]['transformChangesets']([_0xd19362],[this[_0x324532(0x2c0)]],!0x1);if(_0x427fbe['isTransformChangesetsSuccess'](_0x251ec0)){const {c1Prime:_0x174ed2,c2Prime:_0x4238fa}=_0x251ec0,_0x46d498=this[_0x324532(0x341)]['transformMutationsWithChangeset'](_0x174ed2[0x0],this[_0x324532(0x118)]);if(_0x427fbe[_0x324532(0x136)](_0x46d498)){const {c1Prime:_0x5b62b8,m2Prime:_0xa7d677}=_0x46d498;return this[_0x324532(0x18d)](_0x5b62b8),_0x4238fa[0x0][_0x324532(0x20a)]=this[_0x324532(0x1d2)](),this[_0x324532(0x22f)](),this['_injector']['createInstance'](_0x31903a[_0x324532(0x43c)],this[_0x324532(0x174)],this[_0x324532(0x193)],_0x4238fa[0x0],_0xa7d677,this['_handler'],void 0x0);}throw _0x46d498[_0x324532(0x408)];}throw _0x251ec0['error'];}catch(_0x4e4df4){return this[_0x324532(0x1a0)][_0x324532(0x408)](_0x4e4df4),this[_0x324532(0x26f)](!0x1);}}[_0x148bdb(0x32c)](_0xb5faf2){var _0x1f5c3f=_0x148bdb;if(this[_0x1f5c3f(0x22f)](),this[_0x1f5c3f(0x328)](_0xb5faf2))return this[_0x1f5c3f(0x1ad)][_0x1f5c3f(0xf8)](_0x31903a[_0x1f5c3f(0x1f0)],this[_0x1f5c3f(0x174)],this['type'],null,this[_0x1f5c3f(0x118)],this[_0x1f5c3f(0x2c0)],[],this[_0x1f5c3f(0x32b)]);this[_0x1f5c3f(0x1ac)]();const _0x2656f4=this[_0x1f5c3f(0x1ad)]['createInstance'](_0x31903a[_0x1f5c3f(0x2b8)],this['unitID'],this[_0x1f5c3f(0x193)],this[_0x1f5c3f(0x118)],this[_0x1f5c3f(0x32b)]);return _0x2656f4[_0x1f5c3f(0x39f)](),_0x2656f4[_0x1f5c3f(0x170)](),_0x2656f4;}[_0x148bdb(0x3d5)](_0x152e2b){var _0x2993fc=_0x148bdb;return this[_0x2993fc(0x26f)](!!(_0x152e2b!=null&&_0x152e2b[_0x2993fc(0x1b9)]));}[_0x148bdb(0xe3)](_0x158a71){var _0x44de16=_0x148bdb;return this[_0x44de16(0x1d5)]>_0x236c54?this['toggleOffline']():(this[_0x44de16(0x1c3)]=_0x28b896(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x158a71[_0x44de16(0x313)]}),this[_0x44de16(0x32f)]=this[_0x44de16(0x1c3)][_0x44de16(0x2bc)](({reqId:_0x13d255,timeout:_0x230f4a})=>{var _0x331f48=_0x44de16;this[_0x331f48(0x43b)](_0x13d255,_0x230f4a);}),this);}[_0x148bdb(0x262)](){var _0x183a9b=_0x148bdb;return this[_0x183a9b(0x22f)](),this[_0x183a9b(0x1ad)][_0x183a9b(0xf8)](_0x31903a['OfflineState'],this['unitID'],this[_0x183a9b(0x193)],this[_0x183a9b(0x2c0)],this['_pendingMutations'],this['_handler']);}[_0x148bdb(0x154)](){return this;}[_0x148bdb(0x3ca)](){var _0x421526=_0x148bdb;this['_handler'][_0x421526(0x3e6)](this[_0x421526(0x2c0)]);}['_onConflict'](_0x380728){var _0x729257=_0x148bdb;return this[_0x729257(0x22f)](),this[_0x729257(0x1ad)][_0x729257(0xf8)](_0x31903a[_0x729257(0x284)],this[_0x729257(0x174)],this[_0x729257(0x193)],null,this['_pendingMutations'],this[_0x729257(0x32b)],_0x380728);}[_0x148bdb(0x43b)](_0x481334,_0x419517){var _0x2ce464=_0x148bdb,_0x1231cd;_0x481334===((_0x1231cd=this['_awaitingChangeset'])==null?void 0x0:_0x1231cd[_0x2ce464(0x313)])&&(this[_0x2ce464(0x3ca)](),this[_0x2ce464(0x1d5)]=_0x419517===0x0?0x3e8:_0x419517*0x2);}[_0x148bdb(0x22f)](){var _0x41a6ef=_0x148bdb,_0x294c0a;(_0x294c0a=this['_sender'])==null||_0x294c0a[_0x41a6ef(0x3fb)](),this[_0x41a6ef(0x1d5)]=0x0;}},_0x31903a[_0x148bdb(0x43c)]=_0x24ac2d([_0x291b44(0x6,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c['Injector'])),_0x291b44(0x7,_0x38c92c[_0x148bdb(0x2b3)](_0x427fbe['RevisionService'])),_0x291b44(0x8,_0x38c92c[_0x148bdb(0x23b)]),_0x291b44(0x9,_0x38c92c[_0x148bdb(0x3e4)]),_0x291b44(0xa,_0x427fbe['ITransformService']),_0x291b44(0xb,_0x38c92c[_0x148bdb(0x373)]),_0x291b44(0xc,_0x38c92c[_0x148bdb(0x38a)](_0x74bfb))],_0x31903a[_0x148bdb(0x43c)]),_0x31903a[_0x148bdb(0x284)]=class extends _0x1b867f{constructor(_0x18ccb7,_0x5a7888,_0x27d8e9,_0x3b2120,_0x5e34fd,_0xab517e=!0x1,_0x83fdd6,_0x15c705,_0x1b1746,_0x50d461,_0x31fbf9,_0x40da1b,_0x300b90){var _0x284c1b=_0x148bdb;super(_0x18ccb7,_0x5a7888,_0x27d8e9,_0x3b2120,_0x5e34fd,_0x15c705,_0x1b1746,_0x50d461,_0x300b90),_0x3f7bc0(this,_0x284c1b(0x25b),_0x284c1b(0x474)),(this['_isPermissionRej']=_0xab517e,this[_0x284c1b(0x3fc)]=_0x83fdd6,this[_0x284c1b(0x180)]=_0x31fbf9,this[_0x284c1b(0x19c)]=_0x40da1b,this[_0x284c1b(0x3ac)]=_0x300b90,this[_0x284c1b(0x459)](),this[_0x284c1b(0x440)](),this[_0x284c1b(0x146)]());}[_0x148bdb(0x30d)](){return this;}[_0x148bdb(0x362)](){return this;}[_0x148bdb(0x32c)](){return this;}[_0x148bdb(0x3d5)](){return this;}[_0x148bdb(0xe3)](){return this;}[_0x148bdb(0x262)](){return this;}[_0x148bdb(0x154)](){return this;}[_0x148bdb(0x3ca)](){var _0x3df14a=_0x148bdb;throw new Error(_0x3df14a(0x265));}[_0x148bdb(0x440)](){var _0x23682f=_0x148bdb,_0x5d862d;(_0x5d862d=this[_0x23682f(0x470)])==null||_0x5d862d[_0x23682f(0x2b4)](this[_0x23682f(0x174)],this[_0x23682f(0x193)],null,[]);}[_0x148bdb(0x459)](){var _0x5c7fad=_0x148bdb;this['_isPermissionRej']?this[_0x5c7fad(0x19c)][_0x5c7fad(0x29f)]({'id':_0x22314e[_0x5c7fad(0x3c9)]}):this[_0x5c7fad(0x19c)][_0x5c7fad(0x29f)]({'id':_0x22314e['CONFLICT']});}[_0x148bdb(0x146)](){var _0x306744=_0x148bdb;this[_0x306744(0x3fc)]['updatePermissionPoint'](new _0x3eb888['WorkbookEditablePermission'](this[_0x306744(0x174)])['id'],!0x1);}},_0x31903a[_0x148bdb(0x284)]=_0x24ac2d([_0x291b44(0x6,_0x38c92c['Inject'](_0x38c92c[_0x148bdb(0x23e)])),_0x291b44(0x7,_0x38c92c[_0x148bdb(0x23b)]),_0x291b44(0x8,_0x38c92c[_0x148bdb(0x373)]),_0x291b44(0x9,_0x38c92c['Inject'](_0x427fbe[_0x148bdb(0x160)])),_0x291b44(0xa,_0x38c92c['Inject'](_0x38c92c['LocaleService'])),_0x291b44(0xb,_0x38c92c[_0x148bdb(0x2b3)](_0x387561)),_0x291b44(0xc,_0x38c92c['Optional'](_0x74bfb))],_0x31903a[_0x148bdb(0x284)]),_0x31903a['OfflineState']=class extends _0x1b867f{constructor(_0x153bed,_0x140c7b,_0x72c7c9,_0x396ce5,_0x2c9d80,_0x5e9c3b,_0x105527,_0x38fe13,_0x537294,_0x5e0100){var _0xba813c=_0x148bdb;super(_0x153bed,_0x140c7b,_0x72c7c9,_0x396ce5,_0x2c9d80,_0x38fe13,_0x537294,_0x105527,_0x5e0100),_0x3f7bc0(this,_0xba813c(0x25b),_0xba813c(0x1bb)),this[_0xba813c(0x1ad)]=_0x5e9c3b;}[_0x148bdb(0x30d)](_0xb19ed7){var _0x326990=_0x148bdb;return this[_0x326990(0x118)][_0x326990(0x258)](_0xb19ed7),this['_updateLocalCache'](),this;}[_0x148bdb(0x362)](_0x5dbc70){var _0xd958b9=_0x148bdb;throw new Error(_0xd958b9(0x274));}[_0x148bdb(0x32c)](){var _0x583d64=_0x148bdb;throw new Error(_0x583d64(0x168));}[_0x148bdb(0x3d5)](){var _0x47e175=_0x148bdb;throw new Error(_0x47e175(0x29d));}['onRemoteRetry'](){return this;}[_0x148bdb(0x262)](){return this;}['toggleOnline'](){var _0x5a56a9=_0x148bdb;const {_injector:_0xb8e229,_pendingMutations:_0x322a37,_awaitingChangeset:_0x49c4c2,unitID:_0x44aea8,_handler:_0x406d35,type:_0x5a4fe2}=this,_0x2df59c=_0x1e0ba6(_0xb8e229,_0x44aea8,_0x5a4fe2,_0x49c4c2,_0x322a37,_0x406d35);return _0x2df59c instanceof _0x31903a['PendingState']?_0x2df59c['_schedule']():(_0x2df59c instanceof _0x31903a[_0x5a56a9(0x43c)]||_0x2df59c instanceof _0x31903a['AwaitingState'])&&_0x2df59c[_0x5a56a9(0x3ca)](),_0x2df59c;}[_0x148bdb(0x3ca)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x31903a['OfflineState']=_0x24ac2d([_0x291b44(0x5,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c[_0x148bdb(0x298)])),_0x291b44(0x6,_0x38c92c[_0x148bdb(0x2b3)](_0x427fbe[_0x148bdb(0x160)])),_0x291b44(0x7,_0x38c92c[_0x148bdb(0x23b)]),_0x291b44(0x8,_0x38c92c['IUndoRedoService']),_0x291b44(0x9,_0x38c92c[_0x148bdb(0x38a)](_0x74bfb))],_0x31903a[_0x148bdb(0x20d)]),_0x31903a[_0x148bdb(0x1f0)]=class extends _0x1b867f{constructor(_0x1e71cc,_0x51b647,_0x322442,_0x4e848b,_0x5ce9d9,_0xcb6aad,_0x58c2e6,_0xbd7baf,_0x437db3,_0x43a720,_0x48352f,_0x16f198,_0x520658,_0x4fa1a1){var _0x1d1cfc=_0x148bdb;super(_0x1e71cc,_0x51b647,_0x322442,_0x4e848b,_0x58c2e6,_0x48352f,_0x16f198,_0x437db3,_0x4fa1a1),_0x3f7bc0(this,_0x1d1cfc(0x25b),'fetch_missing'),(this[_0x1d1cfc(0x202)]=_0x5ce9d9,this[_0x1d1cfc(0x232)]=_0xcb6aad,this[_0x1d1cfc(0x1ad)]=_0xbd7baf,this[_0x1d1cfc(0x1a0)]=_0x43a720,this[_0x1d1cfc(0x341)]=_0x520658,this[_0x1d1cfc(0x3ac)]=_0x4fa1a1);}[_0x148bdb(0x124)](_0x800ab9){var _0x25e9c8=_0x148bdb;try{const _0x4939ec=[..._0x800ab9,...this[_0x25e9c8(0x232)]],_0x3b7066=[this['_awaitingChangeset']||this[_0x25e9c8(0x202)]][_0x25e9c8(0x161)](_0x34ae18=>!!_0x34ae18);let _0xecd9ad,_0x2eda62;if(_0x3b7066[_0x25e9c8(0x151)]){const _0x3cb0ab=this[_0x25e9c8(0x341)][_0x25e9c8(0x3d4)](_0x4939ec,_0x3b7066,!0x1);if(!_0x427fbe['isTransformChangesetsSuccess'](_0x3cb0ab))throw _0x3cb0ab['error'];_0xecd9ad=_0x3cb0ab['c1Prime'],_0x2eda62=_0x3cb0ab[_0x25e9c8(0x239)];}else _0xecd9ad=_0x4939ec,_0x2eda62=[];let _0x5c92ca=this[_0x25e9c8(0x118)];_0xecd9ad[_0x25e9c8(0x42d)](_0x58c688=>{var _0x3c29c5=_0x25e9c8;let _0xcbc520;if(_0x5c92ca[_0x3c29c5(0x151)]){const _0x481cae=this[_0x3c29c5(0x341)][_0x3c29c5(0x429)](_0x58c688,_0x5c92ca);if(!_0x427fbe['isTransformMutationsWithChangesetSuccess'](_0x481cae))throw _0x481cae[_0x3c29c5(0x408)];_0xcbc520=_0x481cae[_0x3c29c5(0x32e)],_0x5c92ca=_0x481cae[_0x3c29c5(0x1fb)];}else _0xcbc520=_0x58c688;this[_0x3c29c5(0x18d)](_0xcbc520);}),this[_0x25e9c8(0x202)]&&this[_0x25e9c8(0x1ac)](),this[_0x25e9c8(0x2c0)]&&_0x2eda62[_0x25e9c8(0x151)]&&(_0x2eda62[0x0][_0x25e9c8(0x20a)]=this[_0x25e9c8(0x1d2)]());let _0x4e3098;if(this['_awaitingChangeset']&&_0x5c92ca[_0x25e9c8(0x151)]!==0x0)_0x4e3098=this[_0x25e9c8(0x1ad)][_0x25e9c8(0xf8)](_0x31903a[_0x25e9c8(0x43c)],this[_0x25e9c8(0x174)],this[_0x25e9c8(0x193)],_0x2eda62[0x0],_0x5c92ca,this['_handler'],void 0x0);else{if(this[_0x25e9c8(0x2c0)]&&_0x5c92ca[_0x25e9c8(0x151)]===0x0)_0x2eda62[0x0][_0x25e9c8(0x20a)]=this['_getCurrentRevision'](),_0x4e3098=this['_injector'][_0x25e9c8(0xf8)](_0x31903a[_0x25e9c8(0x1c5)],this['unitID'],this['type'],_0x2eda62[0x0],this[_0x25e9c8(0x32b)]);else{if(_0x5c92ca['length']!==0x0){const _0x53855a=this[_0x25e9c8(0x1ad)]['createInstance'](_0x31903a['PendingState'],this[_0x25e9c8(0x174)],this[_0x25e9c8(0x193)],_0x5c92ca,this[_0x25e9c8(0x32b)]);_0x53855a[_0x25e9c8(0x39f)](),_0x4e3098=_0x53855a;}else _0x4e3098=this['_injector'][_0x25e9c8(0xf8)](_0x31903a[_0x25e9c8(0x439)],this[_0x25e9c8(0x174)],this['type'],this[_0x25e9c8(0x32b)]);}}return _0x4e3098['_updateLocalCache'](),_0x4e3098;}catch(_0x5a7ae1){return this['_logService'][_0x25e9c8(0x408)](_0x25e9c8(0x353),_0x25e9c8(0x100),_0x5a7ae1),this['_injector'][_0x25e9c8(0xf8)](_0x31903a[_0x25e9c8(0x284)],this[_0x25e9c8(0x174)],this[_0x25e9c8(0x193)],this[_0x25e9c8(0x2c0)],this['_pendingMutations'],this[_0x25e9c8(0x32b)],!0x1);}}[_0x148bdb(0x3ca)](){var _0x331568=_0x148bdb;throw new Error(_0x331568(0x2e9));}[_0x148bdb(0x30d)](_0x3a6f6d){var _0x30db53=_0x148bdb;return this['_pendingMutations'][_0x30db53(0x258)](_0x3a6f6d),this;}['onRemoteChangeset'](_0x352247){var _0xdaa402=_0x148bdb;return this[_0xdaa402(0x232)]['push'](_0x352247),this;}[_0x148bdb(0x32c)](_0x43ae57){var _0x417fc5=_0x148bdb;if(this['_awaitingChangeset'])return this[_0x417fc5(0x202)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x417fc5(0x324));}['onRemoteRej'](_0x1d2101){var _0x3f9c1f=_0x148bdb;return this[_0x3f9c1f(0x26f)](!!(_0x1d2101!=null&&_0x1d2101[_0x3f9c1f(0x1b9)]));}['onRemoteRetry'](){return this;}[_0x148bdb(0x262)](){var _0x156622=_0x148bdb;return this[_0x156622(0x1ad)][_0x156622(0xf8)](_0x31903a['OfflineState'],this[_0x156622(0x174)],this[_0x156622(0x193)],this[_0x156622(0x2c0)],this[_0x156622(0x118)],this[_0x156622(0x32b)]);}['toggleOnline'](){return this;}[_0x148bdb(0x26f)](_0x352326){var _0x23bdd5=_0x148bdb;return this[_0x23bdd5(0x1ad)][_0x23bdd5(0xf8)](_0x31903a[_0x23bdd5(0x284)],this[_0x23bdd5(0x174)],this['type'],this[_0x23bdd5(0x2c0)],this[_0x23bdd5(0x118)],this['_handler'],_0x352326);}},_0x31903a[_0x148bdb(0x1f0)]=_0x24ac2d([_0x291b44(0x7,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c['Injector'])),_0x291b44(0x8,_0x38c92c['Inject'](_0x427fbe['RevisionService'])),_0x291b44(0x9,_0x38c92c[_0x148bdb(0x3e4)]),_0x291b44(0xa,_0x38c92c[_0x148bdb(0x23b)]),_0x291b44(0xb,_0x38c92c[_0x148bdb(0x373)]),_0x291b44(0xc,_0x427fbe['ITransformService']),_0x291b44(0xd,_0x38c92c[_0x148bdb(0x38a)](_0x74bfb))],_0x31903a['FetchingMissState']);function _0x1e0ba6(_0x529517,_0x5e6446,_0x13678a,_0x4caf48,_0x3dbb7e,_0x73cbbf){var _0x25e2dc=_0x148bdb;return _0x4caf48&&_0x3dbb7e[_0x25e2dc(0x151)]?_0x529517[_0x25e2dc(0xf8)](_0x31903a[_0x25e2dc(0x43c)],_0x5e6446,_0x13678a,_0x4caf48,_0x3dbb7e,_0x73cbbf,void 0x0):_0x4caf48?_0x529517['createInstance'](_0x31903a[_0x25e2dc(0x1c5)],_0x5e6446,_0x13678a,_0x4caf48,_0x73cbbf):_0x3dbb7e[_0x25e2dc(0x151)]?_0x529517['createInstance'](_0x31903a[_0x25e2dc(0x2b8)],_0x5e6446,_0x13678a,_0x3dbb7e,_0x73cbbf):_0x529517[_0x25e2dc(0xf8)](_0x31903a[_0x25e2dc(0x439)],_0x5e6446,_0x13678a,_0x73cbbf);}var _0x282b73=Object['defineProperty'],_0x394583=Object['getOwnPropertyDescriptor'],_0x39f5db=(_0x34ee03,_0x2f9817,_0xb97227,_0x38be33)=>{for(var _0x1014ef=_0x38be33>0x1?void 0x0:_0x38be33?_0x394583(_0x2f9817,_0xb97227):_0x2f9817,_0x27af64=_0x34ee03['length']-0x1,_0x459bd3;_0x27af64>=0x0;_0x27af64--)(_0x459bd3=_0x34ee03[_0x27af64])&&(_0x1014ef=(_0x38be33?_0x459bd3(_0x2f9817,_0xb97227,_0x1014ef):_0x459bd3(_0x1014ef))||_0x1014ef);return _0x38be33&&_0x1014ef&&_0x282b73(_0x2f9817,_0xb97227,_0x1014ef),_0x1014ef;},_0x13b9df=(_0x1e79ea,_0x28f7fc)=>(_0x3efb39,_0x13f143)=>_0x28f7fc(_0x3efb39,_0x13f143,_0x1e79ea);_0x31903a['CollaborationEntity']=class extends _0x38c92c['RxDisposable']{constructor(_0x32bc4a,_0x1ce756,_0x289d16,_0x4e700d,_0x127d5e,_0x483d67,_0x1183d9,_0x18bf64,_0x5d213f,_0x2c0563,_0x14d5fe,_0x2bb41f,_0x56c7ec){var _0x139121=_0x148bdb;super(),_0x3f7bc0(this,_0x139121(0x18e),new _0x30238b[(_0x139121(0x463))](null)),_0x3f7bc0(this,_0x139121(0x437),this['_state$'][_0x139121(0x1cb)]()),_0x3f7bc0(this,_0x139121(0x315)),_0x3f7bc0(this,_0x139121(0x1a4),!0x1),_0x3f7bc0(this,_0x139121(0x326),''),_0x3f7bc0(this,'_changesetReqId',0x0),_0x3f7bc0(this,_0x139121(0x130),this[_0x139121(0x437)][_0x139121(0x3a3)](_0x30238b['map'](_0x17d3c9=>_0x17d3c9?_0x17d3c9[_0x139121(0x25b)]:_0x173892[_0x139121(0x295)]),_0x30238b[_0x139121(0x15e)](0x1))),_0x3f7bc0(this,_0x139121(0x3d3),!0x1),_0x3f7bc0(this,_0x139121(0x275),[]),(this[_0x139121(0x174)]=_0x32bc4a,this[_0x139121(0x2d3)]=_0x1ce756,this['_type']=_0x289d16,this[_0x139121(0x1ad)]=_0x4e700d,this[_0x139121(0x14b)]=_0x127d5e,this[_0x139121(0x180)]=_0x483d67,this['_revisionService']=_0x1183d9,this[_0x139121(0x156)]=_0x18bf64,this[_0x139121(0x1a0)]=_0x5d213f,this[_0x139121(0x107)]=_0x2c0563,this[_0x139121(0x3fc)]=_0x14d5fe,this[_0x139121(0x3e3)]=_0x2bb41f,this[_0x139121(0x470)]=_0x56c7ec);}get[_0x148bdb(0xdf)](){var _0x135b6f=_0x148bdb;return this[_0x135b6f(0x315)];}async[_0x148bdb(0x40a)](){var _0x5e4ac0=_0x148bdb;if(this[_0x5e4ac0(0xdf)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x148bdb(0x3e9)](){var _0x136042=_0x148bdb;return this[_0x136042(0x1a4)]=!0x0,_0x38c92c[_0x136042(0x27c)](()=>{var _0x164050=_0x136042;this[_0x164050(0x1a4)]=!0x1,this[_0x164050(0x2ee)]();});}[_0x148bdb(0x31c)](_0x267b8b){var _0x560d09=_0x148bdb;this[_0x560d09(0x3d1)](_0x267b8b);}[_0x148bdb(0x2e4)](_0x4d9710){var _0x44c6b4=_0x148bdb;this['_state']=_0x4d9710,this[_0x44c6b4(0x18e)]['next'](_0x4d9710);}async[_0x148bdb(0x11e)](){var _0x59bf76=_0x148bdb,_0x3dd66d;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x3dd66d=this[_0x59bf76(0x3e3)])==null||_0x3dd66d[_0x59bf76(0x456)](this[_0x59bf76(0x174)]),this[_0x59bf76(0x34c)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x59bf76(0x174)])[_0x59bf76(0x2bc)](_0x3e92b5=>{var _0xd6c186=_0x59bf76;this['_logService']['debug'](_0xd6c186(0x1b4),_0xd6c186(0x28c),_0x3e92b5),_0x3e92b5===_0x1bda56['OTHER_CLIENTS_EDITING']?(this[_0xd6c186(0x156)][_0xd6c186(0x29f)]({'id':_0x22314e['OTHER_CLIENT_EDITING']}),this[_0xd6c186(0x3fc)][_0xd6c186(0x2e3)](new _0x3eb888['WorkbookEditablePermission'](this[_0xd6c186(0x174)])['id'],!0x1),this[_0xd6c186(0x3fc)]['setShowComponents'](!0x1)):(this[_0xd6c186(0x3fc)][_0xd6c186(0x2e3)](new _0x3eb888[(_0xd6c186(0x10f))](this[_0xd6c186(0x174)])['id'],!0x0),this[_0xd6c186(0x3fc)]['setShowComponents'](!0x0));})));let _0x516b1=!0x1;return this[_0x59bf76(0x34c)](this[_0x59bf76(0x2d3)][_0x59bf76(0x2dc)][_0x59bf76(0x2bc)](_0x497542=>{var _0x479048=_0x59bf76;_0x497542===_0x3febe1[_0x479048(0x279)]?this[_0x479048(0x16f)](_0x516b1):_0x497542===_0x3febe1['OFFLINE']&&(_0x516b1=!0x0,this[_0x479048(0x2f4)]());})),this['disposeWithMe'](this[_0x59bf76(0x2d3)][_0x59bf76(0x293)][_0x59bf76(0x2bc)](_0x491461=>{var _0x2fb0d0=_0x59bf76;try{switch(_0x491461['eventID']){case _0x427fbe['CollaborationEvent'][_0x2fb0d0(0x37d)]:{this[_0x2fb0d0(0x14e)](_0x427fbe[_0x2fb0d0(0xf2)](_0x491461['data']));break;}case _0x427fbe[_0x2fb0d0(0x214)]['CHANGESET_ACK']:{this[_0x2fb0d0(0x403)](_0x491461['data']);break;}case _0x427fbe[_0x2fb0d0(0x214)]['CHANGESET_REJ']:{this[_0x2fb0d0(0x286)]();break;}case _0x427fbe['CollaborationEvent'][_0x2fb0d0(0x41c)]:{this[_0x2fb0d0(0x1e9)](_0x491461['data']);break;}case _0x427fbe[_0x2fb0d0(0x214)][_0x2fb0d0(0x360)]:{this[_0x2fb0d0(0x21c)](_0x491461[_0x2fb0d0(0x3f2)][_0x2fb0d0(0x2e1)][_0x2fb0d0(0x337)](_0xb69bb=>_0x427fbe[_0x2fb0d0(0xf2)](_0xb69bb)));break;}case _0x427fbe['CollaborationEvent'][_0x2fb0d0(0x1bc)]:{this[_0x2fb0d0(0x286)]({'isPermissionRej':!0x0});break;}case _0x427fbe[_0x2fb0d0(0x214)]['UNISCRIPT_RUN']:break;}}catch(_0x306ee1){throw console[_0x2fb0d0(0x408)](_0x2fb0d0(0x229),_0x306ee1),_0x306ee1;}})),this[_0x59bf76(0x315)];}[_0x148bdb(0x2d1)](){var _0x142009=_0x148bdb;this[_0x142009(0x3d3)]=!0x1;}['_lockTransition'](){var _0x159c3a=_0x148bdb;if(this['_transitionLocked'])throw new Error(_0x159c3a(0x2a8));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x57c3aa){var _0x5b08c9=_0x148bdb;this[_0x5b08c9(0x1e4)](),this[_0x5b08c9(0x2e4)](this[_0x5b08c9(0x315)]['appendMutation'](_0x57c3aa)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x54e3e1){var _0x253f5b=_0x148bdb;if(!(_0x54e3e1[_0x253f5b(0xf1)]<=this[_0x253f5b(0x132)]['getCurrentRevOfUnit'](this[_0x253f5b(0x174)]))){if(this['_collaborationPaused']){this[_0x253f5b(0x275)]['push'](_0x54e3e1);return;}this[_0x253f5b(0x46f)](_0x54e3e1);}}['_exhaustRemoteChangesetQueue'](){var _0x1eb049=_0x148bdb;this[_0x1eb049(0x275)][_0x1eb049(0x42d)](_0x505508=>this[_0x1eb049(0x46f)](_0x505508)),this[_0x1eb049(0x275)]=[];}[_0x148bdb(0x46f)](_0x21aed3){var _0xa9a2f1=_0x148bdb;const _0x25ff17=this[_0xa9a2f1(0x14b)][_0xa9a2f1(0x45d)]['fetchThroughInterceptors'](this[_0xa9a2f1(0x14b)][_0xa9a2f1(0x45d)][_0xa9a2f1(0x3c7)]()[_0xa9a2f1(0x419)])(_0x21aed3[_0xa9a2f1(0x28f)],null)||_0x21aed3[_0xa9a2f1(0x28f)],_0x129593={..._0x21aed3,'mutations':_0x25ff17};this[_0xa9a2f1(0x1e4)](),this[_0xa9a2f1(0x2e4)](this[_0xa9a2f1(0x315)][_0xa9a2f1(0x362)](_0x129593)),this['_unlockTransition']();}[_0x148bdb(0x403)](_0x14976a){var _0x2c7e46=_0x148bdb;this[_0x2c7e46(0x1e4)](),this[_0x2c7e46(0x2e4)](this[_0x2c7e46(0x315)][_0x2c7e46(0x32c)](_0x14976a)),this[_0x2c7e46(0x2d1)]();}[_0x148bdb(0x286)](_0x5a0aec){var _0x2ea552=_0x148bdb;this[_0x2ea552(0x1e4)](),this[_0x2ea552(0x2e4)](this[_0x2ea552(0x315)][_0x2ea552(0x3d5)](_0x5a0aec)),this[_0x2ea552(0x2d1)]();}['_onRemoteRetry'](_0x95f660){var _0x54c38f=_0x148bdb;this[_0x54c38f(0x1e4)](),this[_0x54c38f(0x2e4)](this[_0x54c38f(0x315)][_0x54c38f(0xe3)](_0x95f660)),this[_0x54c38f(0x2d1)]();}[_0x148bdb(0x21c)](_0x15c9b6){var _0xd6bc86=_0x148bdb;if(!(this[_0xd6bc86(0x315)]instanceof _0x31903a[_0xd6bc86(0x1f0)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x4a2d56=_0x15c9b6[_0xd6bc86(0x337)](_0x3c2ce6=>{var _0x5e35d8=_0xd6bc86;const _0x53d70b=this[_0x5e35d8(0x14b)][_0x5e35d8(0x45d)][_0x5e35d8(0x2eb)](this['_compressMutationService'][_0x5e35d8(0x45d)][_0x5e35d8(0x3c7)]()[_0x5e35d8(0x419)])(_0x3c2ce6[_0x5e35d8(0x28f)],null)||_0x3c2ce6[_0x5e35d8(0x28f)];return{..._0x3c2ce6,'mutations':_0x53d70b};});this[_0xd6bc86(0x1e4)](),this[_0xd6bc86(0x2e4)](this[_0xd6bc86(0x315)][_0xd6bc86(0x124)](_0x4a2d56)),this[_0xd6bc86(0x2d1)]();}[_0x148bdb(0x2f4)](){var _0x5c08d7=_0x148bdb;this[_0x5c08d7(0x1e4)](),this[_0x5c08d7(0x2e4)](this[_0x5c08d7(0x315)][_0x5c08d7(0x262)]()),this[_0x5c08d7(0x2d1)]();}[_0x148bdb(0x16f)](_0x4f0910=!0x1){var _0x442206=_0x148bdb;this['_lockTransition'](),this['_updateState'](this[_0x442206(0x315)][_0x442206(0x154)]()),this[_0x442206(0x2d1)]();const _0x51d71c=this['_state'];_0x4f0910&&_0x51d71c instanceof _0x31903a['SyncedState']&&(this['_lockTransition'](),this[_0x442206(0x2e4)](_0x51d71c[_0x442206(0x289)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x6a437e=>{var _0x19f2ea=_0x23b0;this['session'][_0x19f2ea(0x2dc)]['pipe'](_0x30238b[_0x19f2ea(0x18b)](0x1))[_0x19f2ea(0x2bc)](async _0x399f6d=>{var _0x38b0cf=_0x19f2ea;_0x6a437e(await this[_0x38b0cf(0x39a)](_0x399f6d===_0x3febe1[_0x38b0cf(0x279)]));});});}[_0x148bdb(0x2c3)](){var _0x4074cc=_0x148bdb;const _0x38e45=this[_0x4074cc(0x174)];return{'onStateChange':(_0x22e5e1,_0x163600)=>{var _0x13c050=_0x4074cc;if(_0x22e5e1!==this[_0x13c050(0x315)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x22e5e1['status']+_0x13c050(0x2f5)+_0x163600[_0x13c050(0x25b)]+_0x13c050(0x1c6)+this['_state'][_0x13c050(0x25b)]);this[_0x13c050(0x2e4)](_0x163600);},'onSendChangeset':_0x666c62=>{var _0x4c6d69=_0x4074cc;_0x666c62[_0x4c6d69(0x1a8)]||(_0x666c62['sid']=this['_changesetSessionId'],_0x666c62[_0x4c6d69(0x313)]=++this[_0x4c6d69(0x3ec)]);const _0xe530e7={'eventID':_0x427fbe[_0x4c6d69(0x214)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x666c62[_0x4c6d69(0x174)],'unitType':this[_0x4c6d69(0x34f)],'changeset':_0x666c62,'memberID':this[_0x4c6d69(0x2d3)][_0x4c6d69(0x464)]()}};this[_0x4c6d69(0x2d3)][_0x4c6d69(0x399)](_0xe530e7,this[_0x4c6d69(0x174)]);},'onMissingChangesets':({from:_0x32645d,to:_0x2fe7ad})=>{var _0xa99650=_0x4074cc;this[_0xa99650(0x1a0)][_0xa99650(0x445)]('[CollaborationEntity]',_0xa99650(0x3f5)+_0x32645d+_0xa99650(0xf5)+_0x2fe7ad);const _0x49b635={'eventID':_0x427fbe[_0xa99650(0x214)][_0xa99650(0x312)],'data':{'unitID':_0x38e45,'unitType':this[_0xa99650(0x34f)],'from':_0x32645d,'to':_0x2fe7ad}};this[_0xa99650(0x2d3)][_0xa99650(0x399)](_0x49b635,this[_0xa99650(0x174)]);}};}async[_0x148bdb(0x39a)](_0x369c85){var _0x1dc6cd=_0x148bdb,_0x1bdccd,_0x21ec15,_0x4deab4;const _0x2ec1c7=await((_0x1bdccd=this[_0x1dc6cd(0x470)])==null?void 0x0:_0x1bdccd['loadOfflineData'](this[_0x1dc6cd(0x174)])),_0x2d2442=(_0x21ec15=_0x2ec1c7==null?void 0x0:_0x2ec1c7[_0x1dc6cd(0x28f)])!=null?_0x21ec15:[],_0x141dc6=(_0x4deab4=_0x2ec1c7==null?void 0x0:_0x2ec1c7[_0x1dc6cd(0x394)])!=null?_0x4deab4:null,_0x2afd78=!!(_0x141dc6!=null&&_0x141dc6['sid'])&&!!(_0x141dc6!=null&&_0x141dc6[_0x1dc6cd(0x313)]);this[_0x1dc6cd(0x326)]=_0x2afd78?_0x141dc6['sid']:_0x26c550(),this['_changesetReqId']=_0x2afd78?_0x141dc6[_0x1dc6cd(0x313)]:0x0;const _0x241a75=this[_0x1dc6cd(0x174)];try{this['_replayCachedMutations'](_0x141dc6,_0x2d2442);}catch(_0x55cb1f){this['_logService']['error'](_0x55cb1f);}const _0x335f2=this['_createHandler']();if(_0x369c85){const _0x382906=_0x1e0ba6(this[_0x1dc6cd(0x1ad)],_0x241a75,this[_0x1dc6cd(0x34f)],_0x141dc6,_0x2d2442,_0x335f2);return _0x382906 instanceof _0x31903a[_0x1dc6cd(0x2b8)]?_0x382906[_0x1dc6cd(0x39f)]():(_0x382906 instanceof _0x31903a[_0x1dc6cd(0x43c)]||_0x382906 instanceof _0x31903a[_0x1dc6cd(0x1c5)])&&_0x382906['resend'](),_0x382906;}return this[_0x1dc6cd(0x1ad)][_0x1dc6cd(0xf8)](_0x31903a['OfflineState'],_0x241a75,this['_type'],_0x141dc6,_0x2d2442,_0x335f2);}[_0x148bdb(0x18a)](_0x377999,_0x3256b4){var _0x3ec942=_0x148bdb,_0x4f5ee8,_0x1c9a34;const _0x5f36b5=this[_0x3ec942(0x14b)]['interceptor'][_0x3ec942(0x2eb)](this[_0x3ec942(0x14b)][_0x3ec942(0x45d)]['getInterceptPoints']()[_0x3ec942(0x419)]);(_0x4f5ee8=_0x5f36b5((_0x377999==null?void 0x0:_0x377999[_0x3ec942(0x28f)])||[],null))==null||_0x4f5ee8[_0x3ec942(0x42d)](_0x35d4e1=>this[_0x3ec942(0x107)][_0x3ec942(0x425)](_0x35d4e1['id'],_0x35d4e1[_0x3ec942(0x179)])),(_0x1c9a34=_0x5f36b5(_0x3256b4||[],null))==null||_0x1c9a34[_0x3ec942(0x42d)](_0x8c4fdb=>this[_0x3ec942(0x107)][_0x3ec942(0x425)](_0x8c4fdb['id'],_0x8c4fdb[_0x3ec942(0x179)]));}},_0x31903a['CollaborationEntity']=_0x39f5db([_0x13b9df(0x3,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c[_0x148bdb(0x298)])),_0x13b9df(0x4,_0x38c92c[_0x148bdb(0x2b3)](_0x427fbe[_0x148bdb(0x421)])),_0x13b9df(0x5,_0x38c92c['Inject'](_0x38c92c['LocaleService'])),_0x13b9df(0x6,_0x38c92c['Inject'](_0x427fbe[_0x148bdb(0x160)])),_0x13b9df(0x7,_0x38c92c[_0x148bdb(0x2b3)](_0x387561)),_0x13b9df(0x8,_0x38c92c['ILogService']),_0x13b9df(0x9,_0x38c92c[_0x148bdb(0x23b)]),_0x13b9df(0xa,_0x38c92c[_0x148bdb(0x23e)]),_0x13b9df(0xb,_0x38c92c[_0x148bdb(0x38a)](_0x3fcef3)),_0x13b9df(0xc,_0x38c92c['Optional'](_0x74bfb))],_0x31903a[_0x148bdb(0x414)]),_0x31903a[_0x148bdb(0x424)]=class extends _0x31903a['CollaborationEntity']{constructor(_0x3d2c63,_0x17c7ea,_0x357380,_0x4fcbdf,_0x5a2ecd,_0x8d48f,_0x50c482,_0x5b6c37,_0xc55962,_0x34f166,_0x1e21b1,_0x8cb859,_0x4ecbcd){var _0xb9a79e=_0x148bdb;super(_0x3d2c63,_0x357380,_0x17c7ea,_0x4fcbdf,_0x5a2ecd,_0x8d48f,_0x50c482,_0x5b6c37,_0xc55962,_0x34f166,_0x1e21b1,_0x8cb859,_0x4ecbcd),_0x3f7bc0(this,_0xb9a79e(0x2d7),null),(this[_0xb9a79e(0x174)]=_0x3d2c63,this[_0xb9a79e(0x193)]=_0x17c7ea);}[_0x148bdb(0x296)](_0x3074a0){this['_handlerCallback']=_0x3074a0;}[_0x148bdb(0x20b)](){var _0x3e869e=_0x148bdb;this[_0x3e869e(0x2d7)]=null,super['dispose']();}[_0x148bdb(0x2c3)](){var _0x852033=_0x148bdb;const _0x2b490c=super['_createHandler']();return _0x2b490c[_0x852033(0x11b)]=_0x3566d7=>{var _0x33c4a7=_0x852033,_0x37f001,_0x487c9e;return(_0x487c9e=(_0x37f001=this[_0x33c4a7(0x2d7)])==null?void 0x0:_0x37f001['onTransformIME'])==null?void 0x0:_0x487c9e[_0x33c4a7(0x3af)](_0x37f001,_0x3566d7);},_0x2b490c[_0x852033(0xe2)]=_0x5b8328=>{var _0x3764c0=_0x852033,_0x597176,_0x3549de;return(_0x3549de=(_0x597176=this['_handlerCallback'])==null?void 0x0:_0x597176['onTransformState'])==null?void 0x0:_0x3549de[_0x3764c0(0x3af)](_0x597176,_0x5b8328);},_0x2b490c['onTransformSelections']=_0x2906dc=>{var _0x422c9e=_0x852033,_0x458323,_0x18e4fa;return(_0x18e4fa=(_0x458323=this[_0x422c9e(0x2d7)])==null?void 0x0:_0x458323[_0x422c9e(0x24d)])==null?void 0x0:_0x18e4fa['call'](_0x458323,_0x2906dc);},_0x2b490c['onSyncEditingCollabCursor']=_0x4c9b97=>{var _0x46a576=_0x852033,_0x38107d,_0xc9105a;return(_0xc9105a=(_0x38107d=this[_0x46a576(0x2d7)])==null?void 0x0:_0x38107d[_0x46a576(0x291)])==null?void 0x0:_0xc9105a[_0x46a576(0x3af)](_0x38107d,_0x4c9b97);},_0x2b490c[_0x852033(0x335)]=_0xbdb8e4=>{var _0x5cba7c=_0x852033,_0x3e8fa4,_0x503f1,_0xf0ebea;if(!((_0x3e8fa4=this[_0x5cba7c(0x2d7)])!=null&&_0x3e8fa4[_0x5cba7c(0x335)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xf0ebea=(_0x503f1=this[_0x5cba7c(0x2d7)])==null?void 0x0:_0x503f1[_0x5cba7c(0x335)])==null?void 0x0:_0xf0ebea[_0x5cba7c(0x3af)](_0x503f1,_0xbdb8e4);},_0x2b490c['onTransformRemoteChangesetByStateCache']=_0x4c1a3d=>{var _0x58a3c3=_0x852033,_0x19029d,_0x2b2fca,_0xec0ffc;if(!((_0x19029d=this[_0x58a3c3(0x2d7)])!=null&&_0x19029d[_0x58a3c3(0x104)]))throw new Error(_0x58a3c3(0x3fd));return(_0xec0ffc=(_0x2b2fca=this[_0x58a3c3(0x2d7)])==null?void 0x0:_0x2b2fca[_0x58a3c3(0x104)])==null?void 0x0:_0xec0ffc['call'](_0x2b2fca,_0x4c1a3d);},_0x2b490c;}async['_init'](){var _0x3f12f0=_0x148bdb;const _0x3a8f4a=await super[_0x3f12f0(0x11e)]();return this['disposeWithMe'](this['_commandService'][_0x3f12f0(0x331)]((_0x19815f,_0x1dc6cf)=>{var _0x514b91=_0x3f12f0;if(_0x19815f[_0x514b91(0x193)]!==_0x38c92c[_0x514b91(0x288)][_0x514b91(0x216)]||_0x1dc6cf!=null&&_0x1dc6cf[_0x514b91(0x37c)]||_0x1dc6cf!=null&&_0x1dc6cf[_0x514b91(0x19b)]||_0x19815f['id']===_0x1a786a[_0x514b91(0x45b)]['id'])return;const _0x88c403=_0x19815f['params'];if((_0x88c403==null?void 0x0:_0x88c403['unitId'])!==this[_0x514b91(0x174)])return;const _0x3f55d4=_0x19815f,_0x448812=this['_compressMutationService'][_0x514b91(0x45d)]['fetchThroughInterceptors'](this[_0x514b91(0x14b)][_0x514b91(0x45d)][_0x514b91(0x3c7)]()[_0x514b91(0x181)])([_0x3f55d4],null)||[_0x3f55d4];this[_0x514b91(0x3d1)](_0x448812[0x0]);})),_0x3a8f4a;}},_0x31903a[_0x148bdb(0x424)]=_0x39f5db([_0x13b9df(0x3,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c[_0x148bdb(0x298)])),_0x13b9df(0x4,_0x38c92c[_0x148bdb(0x2b3)](_0x427fbe[_0x148bdb(0x421)])),_0x13b9df(0x5,_0x38c92c['Inject'](_0x38c92c[_0x148bdb(0x2f6)])),_0x13b9df(0x6,_0x38c92c[_0x148bdb(0x2b3)](_0x427fbe[_0x148bdb(0x160)])),_0x13b9df(0x7,_0x38c92c[_0x148bdb(0x2b3)](_0x387561)),_0x13b9df(0x8,_0x38c92c['ILogService']),_0x13b9df(0x9,_0x38c92c[_0x148bdb(0x23b)]),_0x13b9df(0xa,_0x38c92c[_0x148bdb(0x23e)]),_0x13b9df(0xb,_0x38c92c[_0x148bdb(0x38a)](_0x3fcef3)),_0x13b9df(0xc,_0x38c92c['Optional'](_0x74bfb))],_0x31903a[_0x148bdb(0x424)]),_0x31903a[_0x148bdb(0x3ff)]=class extends _0x31903a[_0x148bdb(0x414)]{constructor(_0x3e3036,_0x5e5aaf,_0x3cb9e1,_0x33f910,_0x3b1d49,_0x132e85,_0x3cec9f,_0x12eaca,_0x590940,_0xbcdef4,_0x280b35,_0x39517e,_0x49643d,_0x5f5ad8){var _0x4f1134=_0x148bdb;super(_0x3e3036,_0x3cb9e1,_0x5e5aaf,_0x33f910,_0x3b1d49,_0x132e85,_0x3cec9f,_0x590940,_0xbcdef4,_0x280b35,_0x39517e,_0x49643d,_0x5f5ad8),this[_0x4f1134(0x174)]=_0x3e3036,this[_0x4f1134(0x193)]=_0x5e5aaf,this[_0x4f1134(0x2a9)]=_0x12eaca;}[_0x148bdb(0x2c3)](){var _0xf7dfae=_0x148bdb;const _0x30b34c=super[_0xf7dfae(0x2c3)]();return _0x30b34c[_0xf7dfae(0x24d)]=_0x440c5d=>this[_0xf7dfae(0x2a9)][_0xf7dfae(0x211)](_0x440c5d),_0x30b34c;}async[_0x148bdb(0x11e)](){var _0x41c242=_0x148bdb;const _0x42cfb9=await super[_0x41c242(0x11e)]();return this[_0x41c242(0x34c)](this[_0x41c242(0x107)][_0x41c242(0x331)]((_0x18f51d,_0x2b2e4c)=>{var _0x4db2e8=_0x41c242;if(_0x18f51d[_0x4db2e8(0x193)]!==_0x38c92c['CommandType'][_0x4db2e8(0x216)]||_0x2b2e4c!=null&&_0x2b2e4c[_0x4db2e8(0x37c)]||_0x2b2e4c!=null&&_0x2b2e4c[_0x4db2e8(0x19b)])return;const _0x3ab35d=_0x18f51d[_0x4db2e8(0x179)];if((_0x3ab35d==null?void 0x0:_0x3ab35d[_0x4db2e8(0x320)])!==this[_0x4db2e8(0x174)])return;const _0x2ea6fd=_0x18f51d,_0xeb12cc=this[_0x4db2e8(0x14b)][_0x4db2e8(0x45d)][_0x4db2e8(0x2eb)](this[_0x4db2e8(0x14b)][_0x4db2e8(0x45d)][_0x4db2e8(0x3c7)]()['COMPRESS_MUTATION_SEND'])([_0x2ea6fd],null)||[_0x2ea6fd];this[_0x4db2e8(0x3d1)](_0xeb12cc[0x0]);})),_0x42cfb9;}},_0x31903a[_0x148bdb(0x3ff)]=_0x39f5db([_0x13b9df(0x3,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c[_0x148bdb(0x298)])),_0x13b9df(0x4,_0x38c92c[_0x148bdb(0x2b3)](_0x427fbe['CompressMutationService'])),_0x13b9df(0x5,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c[_0x148bdb(0x2f6)])),_0x13b9df(0x6,_0x38c92c[_0x148bdb(0x2b3)](_0x427fbe[_0x148bdb(0x160)])),_0x13b9df(0x7,_0x38c92c[_0x148bdb(0x2b3)](_0x31903a['SheetTransformSelectionsService'])),_0x13b9df(0x8,_0x38c92c[_0x148bdb(0x2b3)](_0x387561)),_0x13b9df(0x9,_0x38c92c[_0x148bdb(0x3e4)]),_0x13b9df(0xa,_0x38c92c['ICommandService']),_0x13b9df(0xb,_0x38c92c['IPermissionService']),_0x13b9df(0xc,_0x38c92c[_0x148bdb(0x38a)](_0x3fcef3)),_0x13b9df(0xd,_0x38c92c[_0x148bdb(0x38a)](_0x74bfb))],_0x31903a['SheetCollaborationEntity']);var _0x51805e=Object[_0x148bdb(0x411)],_0x2d5de5=Object[_0x148bdb(0xea)],_0x128f06=(_0x4b7245,_0x26eb8a,_0x462dc8,_0x742428)=>{for(var _0x23e03a=_0x742428>0x1?void 0x0:_0x742428?_0x2d5de5(_0x26eb8a,_0x462dc8):_0x26eb8a,_0x53aebb=_0x4b7245['length']-0x1,_0x175fc8;_0x53aebb>=0x0;_0x53aebb--)(_0x175fc8=_0x4b7245[_0x53aebb])&&(_0x23e03a=(_0x742428?_0x175fc8(_0x26eb8a,_0x462dc8,_0x23e03a):_0x175fc8(_0x23e03a))||_0x23e03a);return _0x742428&&_0x23e03a&&_0x51805e(_0x26eb8a,_0x462dc8,_0x23e03a),_0x23e03a;},_0x57c5b1=(_0x3c8682,_0x4b2fd9)=>(_0x285dee,_0x1e2439)=>_0x4b2fd9(_0x285dee,_0x1e2439,_0x3c8682);_0x31903a[_0x148bdb(0x134)]=class extends _0x38c92c[_0x148bdb(0x29b)]{constructor(_0xdf67ec,_0x80321f,_0x4487b1){var _0x25cdae=_0x148bdb;super(),_0x3f7bc0(this,_0x25cdae(0x44a),new Map()),_0x3f7bc0(this,_0x25cdae(0x12d),new _0x30238b['Subject']()),_0x3f7bc0(this,_0x25cdae(0x317),this['_entityInit$'][_0x25cdae(0x1cb)]()),(this[_0x25cdae(0x1ad)]=_0xdf67ec,this['_collabSessionService']=_0x80321f,this['_univerInstanceService']=_0x4487b1,this[_0x25cdae(0x11e)]());}[_0x148bdb(0x20b)](){var _0x4dcf27=_0x148bdb;super[_0x4dcf27(0x20b)](),this[_0x4dcf27(0x44a)][_0x4dcf27(0x42d)](_0x282461=>_0x282461[_0x4dcf27(0x20b)]()),this[_0x4dcf27(0x44a)][_0x4dcf27(0x241)]();}['getCollabEntity'](_0x1b46b2){var _0x32f43a=_0x148bdb,_0x52dbb0;return(_0x52dbb0=this['_entities'][_0x32f43a(0x2d5)](_0x1b46b2))!=null?_0x52dbb0:null;}[_0x148bdb(0x222)](_0x329842){var _0x50f28e=_0x148bdb;const _0xb7dcb8=this[_0x50f28e(0x351)](_0x329842);return _0xb7dcb8?_0x30238b['of'](_0xb7dcb8):this[_0x50f28e(0x12d)]['pipe'](_0x190d1f[_0x50f28e(0x161)](_0x21fc5d=>_0x21fc5d[_0x50f28e(0x174)]===_0x329842));}[_0x148bdb(0x2bd)](_0x26f6ed){var _0x368100=_0x148bdb;return _0x30238b[_0x368100(0x1ba)](this[_0x368100(0x222)](_0x26f6ed)['pipe'](_0x190d1f[_0x368100(0x337)](()=>{})));}[_0x148bdb(0x11e)](){var _0x46991b=_0x148bdb;this['_univerInstanceService'][_0x46991b(0x20e)](_0x38c92c[_0x46991b(0x16b)][_0x46991b(0x1d6)])[_0x46991b(0x3a3)](_0x30238b[_0x46991b(0x187)](this['dispose$']),_0x190d1f[_0x46991b(0x153)](0x10))['subscribe'](async _0x1b0276=>{var _0x3bb822=_0x46991b;const _0x1f2407=_0x1b0276[_0x3bb822(0x300)](),_0x5d25d8=await this[_0x3bb822(0x26c)](_0x1f2407,_0x46c79d['UNIVER_SHEET']);this['_entities'][_0x3bb822(0x1ed)](_0x1f2407,_0x5d25d8);}),this[_0x46991b(0x12c)][_0x46991b(0x20e)](_0x38c92c[_0x46991b(0x16b)][_0x46991b(0x3fa)])[_0x46991b(0x3a3)](_0x30238b['takeUntil'](this[_0x46991b(0x304)]),_0x190d1f[_0x46991b(0x153)](0x10))[_0x46991b(0x3a3)](_0x190d1f[_0x46991b(0x161)](_0x53a405=>!_0x53a405[_0x46991b(0x300)]()[_0x46991b(0x183)]('__')))[_0x46991b(0x2bc)](async _0x406c85=>{var _0x4ca11f=_0x46991b;const _0x285354=_0x406c85[_0x4ca11f(0x300)](),_0x279989=await this[_0x4ca11f(0x26c)](_0x285354,_0x46c79d[_0x4ca11f(0x3fa)]);this[_0x4ca11f(0x44a)]['set'](_0x285354,_0x279989);}),_0x30238b['merge'](this[_0x46991b(0x12c)]['getTypeOfUnitDisposed$'](_0x38c92c['UniverInstanceType'][_0x46991b(0x1d6)]),this[_0x46991b(0x12c)][_0x46991b(0x213)](_0x38c92c[_0x46991b(0x16b)][_0x46991b(0x3fa)]))[_0x46991b(0x3a3)](_0x30238b[_0x46991b(0x187)](this[_0x46991b(0x304)]))[_0x46991b(0x2bc)](_0x34fd5b=>{var _0x4f9b6d=_0x46991b;const _0x2c1830=_0x34fd5b[_0x4f9b6d(0x300)](),_0x3b5c80=this['_entities'][_0x4f9b6d(0x2d5)](_0x2c1830);_0x3b5c80&&(_0x3b5c80['dispose'](),this['_entities'][_0x4f9b6d(0x240)](_0x2c1830));});}async[_0x148bdb(0x26c)](_0x37899d,_0x2a5194){var _0x3ea5a7=_0x148bdb;const _0x3ffd15=await this['_collabSessionService'][_0x3ea5a7(0x302)](_0x37899d),_0x5a836c=this['_injector'][_0x3ea5a7(0xf8)](this[_0x3ea5a7(0x253)](_0x2a5194),_0x37899d,_0x2a5194,_0x3ffd15);return await _0x5a836c['init'](),this[_0x3ea5a7(0x12d)][_0x3ea5a7(0x334)](_0x5a836c),_0x5a836c;}['_getCtorByUniverType'](_0x3d7486){var _0x529c00=_0x148bdb;switch(_0x3d7486){case _0x46c79d[_0x529c00(0x3fa)]:return _0x31903a[_0x529c00(0x424)];case _0x46c79d['UNIVER_SHEET']:return _0x31903a[_0x529c00(0x3ff)];default:throw new Error(_0x529c00(0x3bc)+_0x3d7486);}}},_0x31903a[_0x148bdb(0x134)]=_0x128f06([_0x57c5b1(0x0,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c[_0x148bdb(0x298)])),_0x57c5b1(0x1,_0x38c92c['Inject'](_0x31903a[_0x148bdb(0x2fe)])),_0x57c5b1(0x2,_0x38c92c['IUniverInstanceService'])],_0x31903a['CollaborationController']);var _0x11e48c=Object[_0x148bdb(0x411)],_0x487fe9=Object[_0x148bdb(0xea)],_0x37b2c9=(_0x2ea013,_0x114031,_0x20d1ad,_0x1db84a)=>{var _0x356e38=_0x148bdb;for(var _0x3f1b9e=_0x1db84a>0x1?void 0x0:_0x1db84a?_0x487fe9(_0x114031,_0x20d1ad):_0x114031,_0x55e117=_0x2ea013[_0x356e38(0x151)]-0x1,_0x3ba2ac;_0x55e117>=0x0;_0x55e117--)(_0x3ba2ac=_0x2ea013[_0x55e117])&&(_0x3f1b9e=(_0x1db84a?_0x3ba2ac(_0x114031,_0x20d1ad,_0x3f1b9e):_0x3ba2ac(_0x3f1b9e))||_0x3f1b9e);return _0x1db84a&&_0x3f1b9e&&_0x11e48c(_0x114031,_0x20d1ad,_0x3f1b9e),_0x3f1b9e;},_0x709749=(_0x1e996d,_0x3ec911)=>(_0x445e64,_0x1ffc0c)=>_0x3ec911(_0x445e64,_0x1ffc0c,_0x1e996d);const _0x1a95fa=_0x148bdb(0x24c),_0xa553a7='Univer';let _0x4d0cc9=class extends _0x38c92c[_0x148bdb(0x38e)]{constructor(_0x5dc606,_0x2ffc4b){var _0x853c95=_0x148bdb;super(),this[_0x853c95(0x12c)]=_0x5dc606,this['_configService']=_0x2ffc4b,this['_init']();}[_0x148bdb(0x11e)](){var _0x5413e3=_0x148bdb;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x5413e3(0x2bc)](()=>{var _0xdaf656=_0x5413e3,_0x36f4a7;const _0xc2aa7e=this[_0xdaf656(0x12c)][_0xdaf656(0x1e7)]();let _0x52fbd8=(_0x36f4a7=this[_0xdaf656(0x409)][_0xdaf656(0x43a)](_0x1a95fa))!=null?_0x36f4a7:_0xa553a7;_0xc2aa7e instanceof _0x38c92c[_0xdaf656(0x292)]&&(_0x52fbd8=_0xc2aa7e[_0xdaf656(0x269)]),document[_0xdaf656(0x36b)]=_0x52fbd8;}));}};_0x4d0cc9=_0x37b2c9([_0x709749(0x0,_0x38c92c[_0x148bdb(0x3e7)]),_0x709749(0x1,_0x38c92c[_0x148bdb(0x37e)])],_0x4d0cc9);var _0x4a98eb=Object[_0x148bdb(0x411)],_0x1920d2=Object[_0x148bdb(0xea)],_0x3c8ae0=(_0xbf7a6f,_0x3688b4,_0x366d68,_0x284ae6)=>{var _0xf60067=_0x148bdb;for(var _0x5e4aea=_0x284ae6>0x1?void 0x0:_0x284ae6?_0x1920d2(_0x3688b4,_0x366d68):_0x3688b4,_0x2df87d=_0xbf7a6f[_0xf60067(0x151)]-0x1,_0x302515;_0x2df87d>=0x0;_0x2df87d--)(_0x302515=_0xbf7a6f[_0x2df87d])&&(_0x5e4aea=(_0x284ae6?_0x302515(_0x3688b4,_0x366d68,_0x5e4aea):_0x302515(_0x5e4aea))||_0x5e4aea);return _0x284ae6&&_0x5e4aea&&_0x4a98eb(_0x3688b4,_0x366d68,_0x5e4aea),_0x5e4aea;},_0x5e9199=(_0x186d81,_0x5477fe)=>(_0x1a1528,_0x1078f5)=>_0x5477fe(_0x1a1528,_0x1078f5,_0x186d81);let _0x149f6f=class{constructor(_0x582b81,_0x54b5dc,_0xfec0a5){var _0x4d79c6=_0x148bdb;this['_configService']=_0x582b81,this[_0x4d79c6(0x2b7)]=_0x54b5dc,this[_0x4d79c6(0x371)]=_0xfec0a5,this['init']();}[_0x148bdb(0x40a)](){var _0x33602a=_0x148bdb;this['_httpService'][_0x33602a(0x426)]({'priority':0x1,'interceptor':(_0x377537,_0x13f0b7)=>_0x13f0b7(_0x377537)[_0x33602a(0x3a3)](_0x30238b[_0x33602a(0x41b)](async _0x5353d1=>{var _0x37db22=_0x33602a;const _0xcef0c8=_0x5353d1;if(_0xcef0c8['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x37db22(0x3ee)](this[_0x37db22(0x371)]['t'](_0x37db22(0x125)))){const _0xb8d8da=window[_0x37db22(0x3dc)](window['location'][_0x37db22(0x332)]);window[_0x37db22(0x2f3)][_0x37db22(0x332)]=this[_0x37db22(0x215)]()+'?url='+_0xb8d8da;}}return _0xcef0c8;}))});}[_0x148bdb(0x215)](){var _0xded80b=_0x148bdb,_0x5c8e1b,_0x1a32d0;const _0x5d8afc=this['_configService']['getConfig'](_0x2782da),_0x4ee997=this[_0xded80b(0x409)][_0xded80b(0x43a)](_0x1f5f1c);return(_0x1a32d0=(_0x5c8e1b=_0x4ee997==null?void 0x0:_0x4ee997[_0xded80b(0x24b)])!=null?_0x5c8e1b:_0x5d8afc)!=null?_0x1a32d0:_0x4d40b3;}};_0x149f6f=_0x3c8ae0([_0x5e9199(0x0,_0x38c92c['IConfigService']),_0x5e9199(0x1,_0x38c92c['Inject'](_0x3bdd40['HTTPService'])),_0x5e9199(0x2,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c[_0x148bdb(0x2f6)]))],_0x149f6f);var _0x1e9c01=Object[_0x148bdb(0x411)],_0x13c872=Object['getOwnPropertyDescriptor'],_0x2dadb9=(_0x5c1ff5,_0x103b90,_0x2d7771,_0x5ed43d)=>{var _0x575de6=_0x148bdb;for(var _0x2f63d6=_0x5ed43d>0x1?void 0x0:_0x5ed43d?_0x13c872(_0x103b90,_0x2d7771):_0x103b90,_0xc74052=_0x5c1ff5[_0x575de6(0x151)]-0x1,_0xb92ce3;_0xc74052>=0x0;_0xc74052--)(_0xb92ce3=_0x5c1ff5[_0xc74052])&&(_0x2f63d6=(_0x5ed43d?_0xb92ce3(_0x103b90,_0x2d7771,_0x2f63d6):_0xb92ce3(_0x2f63d6))||_0x2f63d6);return _0x5ed43d&&_0x2f63d6&&_0x1e9c01(_0x103b90,_0x2d7771,_0x2f63d6),_0x2f63d6;},_0x401d0a=(_0x4de6ef,_0x54b52c)=>(_0xe1ddf4,_0x2ddf01)=>_0x54b52c(_0xe1ddf4,_0x2ddf01,_0x4de6ef);const _0x1f3d9f='AUTHZ_URL_KEY',_0x4f84b2=_0x148bdb(0x1b0);_0x31903a[_0x148bdb(0x256)]=class extends _0x38c92c[_0x148bdb(0x38e)]{constructor(_0x2b9abf,_0x1ddb41){var _0x382cbf=_0x148bdb;super(),this[_0x382cbf(0x462)]=_0x2b9abf,this[_0x382cbf(0x409)]=_0x1ddb41,this[_0x382cbf(0x131)]();}[_0x148bdb(0x131)](){var _0x2844b9=_0x148bdb;const _0x4cb0eb=this;this['disposeWithMe'](this[_0x2844b9(0x462)][_0x2844b9(0x426)]({'priority':0x3e7,'interceptor':_0x3bdd40[_0x2844b9(0x359)]({'isMatch'(_0x1f16ac){var _0x2db9b6=_0x2844b9,_0x5a84ec;if(_0x1f16ac[_0x2db9b6(0x2ac)]===_0x2db9b6(0x3df)&&((_0x5a84ec=_0x1f16ac[_0x2db9b6(0x30e)])!=null&&_0x5a84ec[_0x2db9b6(0x2be)])){const {objectID:_0x11ba32,objectType:_0x4aa5e7}=_0x1f16ac[_0x2db9b6(0x30e)][_0x2db9b6(0x2be)]||{};if(!_0x11ba32||_0x4aa5e7===void 0x0)return!0x1;const _0x30b401=_0x4cb0eb[_0x2db9b6(0x13a)]()+'/'+_0x4aa5e7+_0x2db9b6(0x1ab)+_0x11ba32+_0x2db9b6(0x417);if(_0x1f16ac[_0x2db9b6(0x20f)]===_0x30b401)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x58f587){var _0x1e9fec=_0x2844b9,_0x475bf9;return(_0x475bf9=_0x58f587[_0x1e9fec(0x30e)])==null?void 0x0:_0x475bf9[_0x1e9fec(0x2be)];},'mergeParamsToRequest'(_0x3fe70f,_0x3e7d3f){var _0x2d1e7c=_0x2844b9;const _0x3489df=_0x4cb0eb[_0x2d1e7c(0x13a)]()+_0x2d1e7c(0x190),_0x54908e=_0x3fe70f[_0x2d1e7c(0x387)]((_0x52444f,_0x4b8b58)=>{var _0x135a4c=_0x2d1e7c;const {unitID:_0x4035a6,objectID:_0x118acd,objectType:_0x410f70,actions:_0x3e47c1}=_0x4b8b58;return _0x52444f[_0x4035a6]||(_0x52444f[_0x4035a6]={}),_0x52444f[_0x4035a6][_0x118acd]||(_0x52444f[_0x4035a6][_0x118acd]={'objectID':_0x118acd,'objectType':_0x410f70,'actions':[]}),_0x52444f[_0x4035a6][_0x118acd][_0x135a4c(0x123)][_0x135a4c(0x258)](..._0x3e47c1),_0x52444f;},{}),_0x304156=[];for(const _0x2c7877 in _0x54908e)for(const _0x556665 in _0x54908e[_0x2c7877]){const {actions:_0x190580,objectType:_0x56c225}=_0x54908e[_0x2c7877][_0x556665],_0x44345b=[...new Set(_0x190580)];_0x304156[_0x2d1e7c(0x258)]({'unitID':_0x2c7877,'objectID':_0x556665,'objectType':_0x56c225,'actions':_0x44345b});}return new _0x3bdd40[(_0x2d1e7c(0x149))](_0x2d1e7c(0x3df),_0x3489df,{'headers':_0x3e7d3f[_0x2d1e7c(0x1c1)],'withCredentials':_0x3e7d3f[_0x2d1e7c(0x21f)],'responseType':_0x3e7d3f[_0x2d1e7c(0x23f)],'body':{'requests':_0x304156}});}},{'distributeResult'(_0x581362,_0x2843d9){var _0x1679fe=_0x2844b9;const {objectActions:_0x4bdd88}=_0x581362;return _0x2843d9[_0x1679fe(0x337)](_0x2c9a34=>{var _0x2d652a=_0x1679fe;const {unitID:_0x124bab,objectID:_0x4cf084,actions:_0x393476}=_0x2c9a34,_0xe69350=_0x4bdd88[_0x2d652a(0x3a9)](_0x12dd3e=>_0x12dd3e[_0x2d652a(0x174)]===_0x124bab&&_0x12dd3e[_0x2d652a(0x1f2)]===_0x4cf084),_0x1e2d1b=_0x393476[_0x2d652a(0x337)](_0x2e5673=>_0xe69350==null?void 0x0:_0xe69350[_0x2d652a(0x123)][_0x2d652a(0x3a9)](_0x164041=>_0x164041[_0x2d652a(0x3c8)]===_0x2e5673))[_0x2d652a(0x161)](_0x56bd3e=>!!_0x56bd3e);return{'config':_0x2c9a34,'result':{'actions':_0x1e2d1b,'error':_0x581362[_0x2d652a(0x408)]}};});}})}));}[_0x148bdb(0x13a)](){var _0x3413a7=_0x148bdb,_0xa69812,_0x5095f7;const _0x3ebc58=this[_0x3413a7(0x409)][_0x3413a7(0x43a)](_0x1f3d9f),_0x4c3c72=this['_configService'][_0x3413a7(0x43a)](_0x1f5f1c);return(_0x5095f7=(_0xa69812=_0x4c3c72==null?void 0x0:_0x4c3c72[_0x3413a7(0x398)])!=null?_0xa69812:_0x3ebc58)!=null?_0x5095f7:_0x4f84b2;}async[_0x148bdb(0x3c4)](_0x4d27c3){var _0x22479a=_0x148bdb;const _0x28d5a8=this[_0x22479a(0x13a)]()+'/'+_0x4d27c3['objectType']+'/object';return(await this[_0x22479a(0x462)]['post'](_0x28d5a8,{'body':_0x4d27c3}))[_0x22479a(0x2be)][_0x22479a(0x1f2)]||'';}async[_0x148bdb(0x2ae)](_0x3df877){var _0x15ba70=_0x148bdb;const _0x1fbbd8=this[_0x15ba70(0x13a)]()+_0x15ba70(0x140);return(await this[_0x15ba70(0x462)][_0x15ba70(0x3be)](_0x1fbbd8,{'body':_0x3df877}))[_0x15ba70(0x2be)]['objects'];}async[_0x148bdb(0x1d8)](_0x1c75c3){var _0x2c3615=_0x148bdb;const _0x32e4be=this[_0x2c3615(0x13a)]()+'/'+_0x1c75c3[_0x2c3615(0x2bf)]+_0x2c3615(0x1ab)+_0x1c75c3[_0x2c3615(0x1f2)];await this[_0x2c3615(0x462)][_0x2c3615(0x270)](_0x32e4be,{'body':_0x1c75c3});}async[_0x148bdb(0x3aa)](_0x356b5d){var _0x3565f5=_0x148bdb;const _0x5911b3=this['_getAPIPrefixPath']()+'/'+_0x356b5d[_0x3565f5(0x2bf)]+'/object/'+_0x356b5d['objectID']+_0x3565f5(0x417);return(await this[_0x3565f5(0x462)][_0x3565f5(0x3be)](_0x5911b3,{'body':_0x356b5d}))[_0x3565f5(0x2be)][_0x3565f5(0x123)];}async[_0x148bdb(0x29c)](_0x171daf){var _0x15633d=_0x148bdb;const _0xa6b7f5=this[_0x15633d(0x13a)]()+'/-/object/-/batch_allowed';return(await this[_0x15633d(0x462)][_0x15633d(0x3be)](_0xa6b7f5,{'body':{'requests':_0x171daf}}))['body']['objectActions'];}async[_0x148bdb(0x31f)](_0x1a5974){var _0xda5ee7=_0x148bdb;const _0x44427a=this['_getAPIPrefixPath']()+'/'+_0x1a5974[_0xda5ee7(0x2bf)]+_0xda5ee7(0x31a),_0x36a287=await this[_0xda5ee7(0x462)][_0xda5ee7(0x3be)](_0x44427a,{'body':_0x1a5974});return{'roles':_0x36a287['body']['roles'],'actions':_0x36a287['body'][_0xda5ee7(0x123)]};}async[_0x148bdb(0x16d)](_0x50a6f9){var _0x83408e=_0x148bdb;const _0x3e8d9e=this['_getAPIPrefixPath']()+_0x83408e(0x38c);await this['_HTTPService'][_0x83408e(0x240)](_0x3e8d9e,{'params':{'collaboratorID':_0x50a6f9[_0x83408e(0x219)],'objectID':_0x50a6f9[_0x83408e(0x1f2)],'unitID':_0x50a6f9[_0x83408e(0x174)]}});}async[_0x148bdb(0x135)](_0x47b286){var _0x14ef83=_0x148bdb;const _0x117273=this[_0x14ef83(0x13a)]()+_0x14ef83(0x38c);await this[_0x14ef83(0x462)]['patch'](_0x117273,{'body':_0x47b286});}async['createCollaborator'](_0x248cbb){var _0x2d652d=_0x148bdb;const _0x4bafbf=this[_0x2d652d(0x13a)]()+_0x2d652d(0x38c);await this[_0x2d652d(0x462)]['post'](_0x4bafbf,{'body':_0x248cbb});}async[_0x148bdb(0x16a)](_0x4d4d44){var _0x21f60b=_0x148bdb;const _0x417145=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x21f60b(0x462)][_0x21f60b(0x2d5)](_0x417145,{'params':{'objectID':_0x4d4d44['objectID'],'unitID':_0x4d4d44[_0x21f60b(0x174)]}}))[_0x21f60b(0x2be)][_0x21f60b(0x45e)];}async['putCollaborators'](_0x5a4093){var _0x12cddf=_0x148bdb;const _0x2e349e=this[_0x12cddf(0x13a)]()+_0x12cddf(0x38c);await this[_0x12cddf(0x462)][_0x12cddf(0x270)](_0x2e349e,{'body':_0x5a4093});}},_0x31903a[_0x148bdb(0x256)]=_0x2dadb9([_0x401d0a(0x0,_0x38c92c[_0x148bdb(0x2b3)](_0x3bdd40['HTTPService'])),_0x401d0a(0x1,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c['IConfigService']))],_0x31903a[_0x148bdb(0x256)]);var _0x3734a9=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0xe49ff(_0x22f196){var _0x5e7b67=_0x148bdb;return _0x22f196&&_0x22f196[_0x5e7b67(0x231)]&&Object[_0x5e7b67(0x377)][_0x5e7b67(0x165)][_0x5e7b67(0x3af)](_0x22f196,_0x5e7b67(0x2a6))?_0x22f196['default']:_0x22f196;}var _0x2ca97d={'exports':{}};function _0x4d06d6(_0x14975b){var _0x539f97=_0x148bdb;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x14975b+_0x539f97(0x2ed));}var _0x1cb175={'exports':{}},_0x201895=_0x1cb175[_0x148bdb(0x1df)],_0x5b4024;function _0x18eaee(){var _0x57640b=_0x148bdb;return _0x5b4024||(_0x5b4024=0x1,function(_0x100ca7,_0x40d1fa){(function(_0x28fa26,_0x508e6f){var _0x1acc58=_0x23b0;_0x100ca7[_0x1acc58(0x1df)]=_0x508e6f();}(_0x201895,function(){var _0x2f17a7=_0x2f17a7||function(_0x1b0b10,_0x1f940d){var _0x3ddb47=_0x23b0,_0x51edc9;if(typeof window<'u'&&window['crypto']&&(_0x51edc9=window[_0x3ddb47(0x1c8)]),typeof self<'u'&&self[_0x3ddb47(0x1c8)]&&(_0x51edc9=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x51edc9=globalThis[_0x3ddb47(0x1c8)]),!_0x51edc9&&typeof window<'u'&&window[_0x3ddb47(0x2a0)]&&(_0x51edc9=window[_0x3ddb47(0x2a0)]),!_0x51edc9&&typeof _0x3734a9<'u'&&_0x3734a9[_0x3ddb47(0x1c8)]&&(_0x51edc9=_0x3734a9[_0x3ddb47(0x1c8)]),!_0x51edc9&&typeof _0x4d06d6==_0x3ddb47(0x3d2))try{_0x51edc9=require('crypto');}catch{}var _0x277212=function(){var _0x63fd5=_0x3ddb47;if(_0x51edc9){if(typeof _0x51edc9[_0x63fd5(0x209)]==_0x63fd5(0x3d2))try{return _0x51edc9['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x51edc9['randomBytes']==_0x63fd5(0x3d2))try{return _0x51edc9['randomBytes'](0x4)[_0x63fd5(0x19d)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1ad2a6=Object[_0x3ddb47(0x3c4)]||(function(){function _0x2afa4e(){}return function(_0x4c8ea9){var _0x12c02d=_0x23b0,_0x5c162b;return _0x2afa4e[_0x12c02d(0x377)]=_0x4c8ea9,_0x5c162b=new _0x2afa4e(),_0x2afa4e['prototype']=null,_0x5c162b;};}()),_0x5625dd={},_0xda40c7=_0x5625dd[_0x3ddb47(0x15a)]={},_0x1a7bc0=_0xda40c7[_0x3ddb47(0x321)]=(function(){return{'extend':function(_0x2b77cb){var _0x460d15=_0x23b0,_0x5c557c=_0x1ad2a6(this);return _0x2b77cb&&_0x5c557c[_0x460d15(0x1a6)](_0x2b77cb),(!_0x5c557c['hasOwnProperty'](_0x460d15(0x40a))||this[_0x460d15(0x40a)]===_0x5c557c[_0x460d15(0x40a)])&&(_0x5c557c[_0x460d15(0x40a)]=function(){var _0x4d82e2=_0x460d15;_0x5c557c['$super']['init'][_0x4d82e2(0x271)](this,arguments);}),_0x5c557c[_0x460d15(0x40a)]['prototype']=_0x5c557c,_0x5c557c[_0x460d15(0x410)]=this,_0x5c557c;},'create':function(){var _0x127a02=_0x23b0,_0x243aa0=this['extend']();return _0x243aa0[_0x127a02(0x40a)]['apply'](_0x243aa0,arguments),_0x243aa0;},'init':function(){},'mixIn':function(_0x3d2766){var _0x812f95=_0x23b0;for(var _0x1c25b5 in _0x3d2766)_0x3d2766[_0x812f95(0x165)](_0x1c25b5)&&(this[_0x1c25b5]=_0x3d2766[_0x1c25b5]);_0x3d2766[_0x812f95(0x165)](_0x812f95(0x3de))&&(this[_0x812f95(0x3de)]=_0x3d2766[_0x812f95(0x3de)]);},'clone':function(){var _0x566294=_0x23b0;return this['init']['prototype'][_0x566294(0x3ea)](this);}};}()),_0x5bd2cb=_0xda40c7[_0x3ddb47(0x361)]=_0x1a7bc0[_0x3ddb47(0x3ea)]({'init':function(_0x445e71,_0x596e47){var _0x442d4a=_0x3ddb47;_0x445e71=this[_0x442d4a(0x38d)]=_0x445e71||[],_0x596e47!=_0x1f940d?this['sigBytes']=_0x596e47:this[_0x442d4a(0x3ed)]=_0x445e71[_0x442d4a(0x151)]*0x4;},'toString':function(_0x2dc1b3){return(_0x2dc1b3||_0x30884e)['stringify'](this);},'concat':function(_0x5f2b47){var _0xc99fc0=_0x3ddb47,_0x4cef9d=this[_0xc99fc0(0x38d)],_0x454c64=_0x5f2b47[_0xc99fc0(0x38d)],_0x13973f=this[_0xc99fc0(0x3ed)],_0x1f8936=_0x5f2b47[_0xc99fc0(0x3ed)];if(this[_0xc99fc0(0x446)](),_0x13973f%0x4)for(var _0x24ac7c=0x0;_0x24ac7c<_0x1f8936;_0x24ac7c++){var _0x27c125=_0x454c64[_0x24ac7c>>>0x2]>>>0x18-_0x24ac7c%0x4*0x8&0xff;_0x4cef9d[_0x13973f+_0x24ac7c>>>0x2]|=_0x27c125<<0x18-(_0x13973f+_0x24ac7c)%0x4*0x8;}else{for(var _0x3ecd80=0x0;_0x3ecd80<_0x1f8936;_0x3ecd80+=0x4)_0x4cef9d[_0x13973f+_0x3ecd80>>>0x2]=_0x454c64[_0x3ecd80>>>0x2];}return this[_0xc99fc0(0x3ed)]+=_0x1f8936,this;},'clamp':function(){var _0x310be1=_0x3ddb47,_0x59819e=this[_0x310be1(0x38d)],_0x56ebc1=this[_0x310be1(0x3ed)];_0x59819e[_0x56ebc1>>>0x2]&=0xffffffff<<0x20-_0x56ebc1%0x4*0x8,_0x59819e['length']=_0x1b0b10[_0x310be1(0x11d)](_0x56ebc1/0x4);},'clone':function(){var _0x348f41=_0x3ddb47,_0x2f4864=_0x1a7bc0[_0x348f41(0x1c2)][_0x348f41(0x3af)](this);return _0x2f4864['words']=this['words'][_0x348f41(0x119)](0x0),_0x2f4864;},'random':function(_0x181cff){var _0xe49fd4=_0x3ddb47;for(var _0x30b1ad=[],_0x117d5f=0x0;_0x117d5f<_0x181cff;_0x117d5f+=0x4)_0x30b1ad['push'](_0x277212());return new _0x5bd2cb[(_0xe49fd4(0x40a))](_0x30b1ad,_0x181cff);}}),_0x5abcf6=_0x5625dd['enc']={},_0x30884e=_0x5abcf6[_0x3ddb47(0x305)]={'stringify':function(_0x1208f4){var _0x3cff4f=_0x3ddb47;for(var _0x1f1ae1=_0x1208f4[_0x3cff4f(0x38d)],_0x4a2d28=_0x1208f4[_0x3cff4f(0x3ed)],_0x2282db=[],_0x1c2d74=0x0;_0x1c2d74<_0x4a2d28;_0x1c2d74++){var _0x6c0ef0=_0x1f1ae1[_0x1c2d74>>>0x2]>>>0x18-_0x1c2d74%0x4*0x8&0xff;_0x2282db['push']((_0x6c0ef0>>>0x4)[_0x3cff4f(0x3de)](0x10)),_0x2282db[_0x3cff4f(0x258)]((_0x6c0ef0&0xf)['toString'](0x10));}return _0x2282db[_0x3cff4f(0x2b9)]('');},'parse':function(_0x3d586c){var _0x155f3d=_0x3ddb47;for(var _0x1e4133=_0x3d586c[_0x155f3d(0x151)],_0x177496=[],_0x34cb5a=0x0;_0x34cb5a<_0x1e4133;_0x34cb5a+=0x2)_0x177496[_0x34cb5a>>>0x3]|=parseInt(_0x3d586c[_0x155f3d(0x319)](_0x34cb5a,0x2),0x10)<<0x18-_0x34cb5a%0x8*0x4;return new _0x5bd2cb[(_0x155f3d(0x40a))](_0x177496,_0x1e4133/0x2);}},_0x2fa052=_0x5abcf6[_0x3ddb47(0x1fe)]={'stringify':function(_0x261c91){var _0x2dab49=_0x3ddb47;for(var _0x53324a=_0x261c91[_0x2dab49(0x38d)],_0x5b703a=_0x261c91['sigBytes'],_0x2a36a0=[],_0x2862bf=0x0;_0x2862bf<_0x5b703a;_0x2862bf++){var _0x1677a6=_0x53324a[_0x2862bf>>>0x2]>>>0x18-_0x2862bf%0x4*0x8&0xff;_0x2a36a0[_0x2dab49(0x258)](String[_0x2dab49(0x2de)](_0x1677a6));}return _0x2a36a0[_0x2dab49(0x2b9)]('');},'parse':function(_0x4a653c){var _0xc08127=_0x3ddb47;for(var _0xe78160=_0x4a653c['length'],_0x48a874=[],_0x2d8849=0x0;_0x2d8849<_0xe78160;_0x2d8849++)_0x48a874[_0x2d8849>>>0x2]|=(_0x4a653c[_0xc08127(0x200)](_0x2d8849)&0xff)<<0x18-_0x2d8849%0x4*0x8;return new _0x5bd2cb['init'](_0x48a874,_0xe78160);}},_0x5d7758=_0x5abcf6[_0x3ddb47(0x272)]={'stringify':function(_0x16e6bf){var _0xa39c1f=_0x3ddb47;try{return decodeURIComponent(escape(_0x2fa052[_0xa39c1f(0x2ba)](_0x16e6bf)));}catch{throw new Error(_0xa39c1f(0x1a3));}},'parse':function(_0x1f384b){return _0x2fa052['parse'](unescape(encodeURIComponent(_0x1f384b)));}},_0x1bd303=_0xda40c7[_0x3ddb47(0x11c)]=_0x1a7bc0[_0x3ddb47(0x3ea)]({'reset':function(){var _0x33a4be=_0x3ddb47;this[_0x33a4be(0x2d4)]=new _0x5bd2cb[(_0x33a4be(0x40a))](),this[_0x33a4be(0x42f)]=0x0;},'_append':function(_0x4bf6ea){var _0x59880c=_0x3ddb47;typeof _0x4bf6ea==_0x59880c(0xf3)&&(_0x4bf6ea=_0x5d7758[_0x59880c(0x1bf)](_0x4bf6ea)),this['_data'][_0x59880c(0x2f0)](_0x4bf6ea),this[_0x59880c(0x42f)]+=_0x4bf6ea['sigBytes'];},'_process':function(_0x5a832d){var _0x13a3ae=_0x3ddb47,_0x5a664f,_0x419539=this[_0x13a3ae(0x2d4)],_0x20063a=_0x419539[_0x13a3ae(0x38d)],_0x5ed1f2=_0x419539[_0x13a3ae(0x3ed)],_0x40bb9d=this[_0x13a3ae(0xeb)],_0x58d264=_0x40bb9d*0x4,_0x50576f=_0x5ed1f2/_0x58d264;_0x5a832d?_0x50576f=_0x1b0b10[_0x13a3ae(0x11d)](_0x50576f):_0x50576f=_0x1b0b10[_0x13a3ae(0x287)]((_0x50576f|0x0)-this['_minBufferSize'],0x0);var _0x47f90d=_0x50576f*_0x40bb9d,_0x29da6e=_0x1b0b10[_0x13a3ae(0x25f)](_0x47f90d*0x4,_0x5ed1f2);if(_0x47f90d){for(var _0x2b78f=0x0;_0x2b78f<_0x47f90d;_0x2b78f+=_0x40bb9d)this[_0x13a3ae(0x1fa)](_0x20063a,_0x2b78f);_0x5a664f=_0x20063a['splice'](0x0,_0x47f90d),_0x419539[_0x13a3ae(0x3ed)]-=_0x29da6e;}return new _0x5bd2cb[(_0x13a3ae(0x40a))](_0x5a664f,_0x29da6e);},'clone':function(){var _0x2e10cc=_0x3ddb47,_0x350387=_0x1a7bc0[_0x2e10cc(0x1c2)]['call'](this);return _0x350387['_data']=this[_0x2e10cc(0x2d4)][_0x2e10cc(0x1c2)](),_0x350387;},'_minBufferSize':0x0});_0xda40c7[_0x3ddb47(0x309)]=_0x1bd303[_0x3ddb47(0x3ea)]({'cfg':_0x1a7bc0['extend'](),'init':function(_0x375cc5){var _0x282d84=_0x3ddb47;this[_0x282d84(0x382)]=this[_0x282d84(0x382)][_0x282d84(0x3ea)](_0x375cc5),this['reset']();},'reset':function(){var _0x2c6ab3=_0x3ddb47;_0x1bd303[_0x2c6ab3(0x449)][_0x2c6ab3(0x3af)](this),this[_0x2c6ab3(0x42e)]();},'update':function(_0x32980e){var _0x1cec5d=_0x3ddb47;return this[_0x1cec5d(0x235)](_0x32980e),this[_0x1cec5d(0x2a4)](),this;},'finalize':function(_0x4551f4){var _0x2d64fd=_0x3ddb47;_0x4551f4&&this['_append'](_0x4551f4);var _0x3ee6ee=this[_0x2d64fd(0x1a2)]();return _0x3ee6ee;},'blockSize':0x10,'_createHelper':function(_0x13dcd6){return function(_0x505ce,_0x5714fc){var _0x3093d9=_0x23b0;return new _0x13dcd6[(_0x3093d9(0x40a))](_0x5714fc)[_0x3093d9(0x33f)](_0x505ce);};},'_createHmacHelper':function(_0x1e3e95){return function(_0x370e98,_0x14ee25){var _0x2c1f54=_0x23b0;return new _0x3ea41a[(_0x2c1f54(0x178))]['init'](_0x1e3e95,_0x14ee25)[_0x2c1f54(0x33f)](_0x370e98);};}});var _0x3ea41a=_0x5625dd['algo']={};return _0x5625dd;}(Math);return _0x2f17a7;}));}(_0x1cb175)),_0x1cb175[_0x57640b(0x1df)];}var _0x4cb477={'exports':{}},_0x438da7=_0x4cb477[_0x148bdb(0x1df)],_0x26d5ff;function _0x395561(){var _0x41d0c5=_0x148bdb;return _0x26d5ff||(_0x26d5ff=0x1,function(_0xc59ac8,_0x1dc554){(function(_0x43b4ba,_0x299d39){var _0x1c9238=_0x23b0;_0xc59ac8[_0x1c9238(0x1df)]=_0x299d39(_0x18eaee());}(_0x438da7,function(_0x5632dc){var _0x1360b5=_0x23b0;return(function(){var _0x4bea3f=_0x23b0,_0x3716dd=_0x5632dc,_0x550a1c=_0x3716dd['lib'],_0x5bc450=_0x550a1c[_0x4bea3f(0x361)],_0x431aff=_0x3716dd['enc'];_0x431aff[_0x4bea3f(0x3e1)]={'stringify':function(_0x280233){var _0x299210=_0x4bea3f,_0x5264df=_0x280233[_0x299210(0x38d)],_0x5da23b=_0x280233[_0x299210(0x3ed)],_0x5a21da=this[_0x299210(0x18c)];_0x280233[_0x299210(0x446)]();for(var _0x1f9a99=[],_0x5f0b60=0x0;_0x5f0b60<_0x5da23b;_0x5f0b60+=0x3)for(var _0x102cc9=_0x5264df[_0x5f0b60>>>0x2]>>>0x18-_0x5f0b60%0x4*0x8&0xff,_0x55fc17=_0x5264df[_0x5f0b60+0x1>>>0x2]>>>0x18-(_0x5f0b60+0x1)%0x4*0x8&0xff,_0x3099c8=_0x5264df[_0x5f0b60+0x2>>>0x2]>>>0x18-(_0x5f0b60+0x2)%0x4*0x8&0xff,_0x1b42e7=_0x102cc9<<0x10|_0x55fc17<<0x8|_0x3099c8,_0x24fd32=0x0;_0x24fd32<0x4&&_0x5f0b60+_0x24fd32*0.75<_0x5da23b;_0x24fd32++)_0x1f9a99['push'](_0x5a21da[_0x299210(0x220)](_0x1b42e7>>>0x6*(0x3-_0x24fd32)&0x3f));var _0x1dae57=_0x5a21da[_0x299210(0x220)](0x40);if(_0x1dae57){for(;_0x1f9a99[_0x299210(0x151)]%0x4;)_0x1f9a99[_0x299210(0x258)](_0x1dae57);}return _0x1f9a99[_0x299210(0x2b9)]('');},'parse':function(_0x1ebc8a){var _0xbe6479=_0x4bea3f,_0x4ea636=_0x1ebc8a['length'],_0xfeacc5=this[_0xbe6479(0x18c)],_0x23bd25=this[_0xbe6479(0x30b)];if(!_0x23bd25){_0x23bd25=this[_0xbe6479(0x30b)]=[];for(var _0x16b3b1=0x0;_0x16b3b1<_0xfeacc5[_0xbe6479(0x151)];_0x16b3b1++)_0x23bd25[_0xfeacc5[_0xbe6479(0x200)](_0x16b3b1)]=_0x16b3b1;}var _0x5871fb=_0xfeacc5[_0xbe6479(0x220)](0x40);if(_0x5871fb){var _0x440ba9=_0x1ebc8a[_0xbe6479(0x3d7)](_0x5871fb);_0x440ba9!==-0x1&&(_0x4ea636=_0x440ba9);}return _0x25f0e0(_0x1ebc8a,_0x4ea636,_0x23bd25);},'_map':_0x4bea3f(0x314)};function _0x25f0e0(_0x589639,_0x582f3f,_0x328500){var _0x5d959a=_0x4bea3f;for(var _0x40ea8f=[],_0x2cdd49=0x0,_0x2b8930=0x0;_0x2b8930<_0x582f3f;_0x2b8930++)if(_0x2b8930%0x4){var _0x4bcf44=_0x328500[_0x589639[_0x5d959a(0x200)](_0x2b8930-0x1)]<<_0x2b8930%0x4*0x2,_0x44dcf2=_0x328500[_0x589639['charCodeAt'](_0x2b8930)]>>>0x6-_0x2b8930%0x4*0x2,_0x453626=_0x4bcf44|_0x44dcf2;_0x40ea8f[_0x2cdd49>>>0x2]|=_0x453626<<0x18-_0x2cdd49%0x4*0x8,_0x2cdd49++;}return _0x5bc450['create'](_0x40ea8f,_0x2cdd49);}}()),_0x5632dc[_0x1360b5(0x1c9)][_0x1360b5(0x3e1)];}));}(_0x4cb477)),_0x4cb477[_0x41d0c5(0x1df)];}var _0x59900e={'exports':{}},_0x38b53c=_0x59900e[_0x148bdb(0x1df)],_0x300ae0;function _0x292697(){return _0x300ae0||(_0x300ae0=0x1,function(_0x17d8db,_0x4287b7){(function(_0x542437,_0x2df9fd){var _0x32e856=_0x23b0;_0x17d8db[_0x32e856(0x1df)]=_0x2df9fd(_0x18eaee());}(_0x38b53c,function(_0x2368f2){var _0x5df699=_0x23b0;return function(_0x998f2e){var _0x257073=_0x23b0,_0x39ed9d=_0x2368f2,_0x5150a8=_0x39ed9d[_0x257073(0x15a)],_0x144789=_0x5150a8[_0x257073(0x361)],_0x33ddec=_0x5150a8[_0x257073(0x309)],_0x3ae902=_0x39ed9d[_0x257073(0x43e)],_0x52190d=[];(function(){var _0x4e8fdf=_0x257073;for(var _0x454f91=0x0;_0x454f91<0x40;_0x454f91++)_0x52190d[_0x454f91]=_0x998f2e[_0x4e8fdf(0x401)](_0x998f2e['sin'](_0x454f91+0x1))*0x100000000|0x0;}());var _0x4a4fc1=_0x3ae902[_0x257073(0x24f)]=_0x33ddec['extend']({'_doReset':function(){var _0x461cff=_0x257073;this[_0x461cff(0x368)]=new _0x144789[(_0x461cff(0x40a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x56eb68,_0x5683c2){var _0x570a90=_0x257073;for(var _0x2569c8=0x0;_0x2569c8<0x10;_0x2569c8++){var _0x471361=_0x5683c2+_0x2569c8,_0x4433ef=_0x56eb68[_0x471361];_0x56eb68[_0x471361]=(_0x4433ef<<0x8|_0x4433ef>>>0x18)&0xff00ff|(_0x4433ef<<0x18|_0x4433ef>>>0x8)&0xff00ff00;}var _0x23faf3=this[_0x570a90(0x368)]['words'],_0x15d2d7=_0x56eb68[_0x5683c2+0x0],_0x460477=_0x56eb68[_0x5683c2+0x1],_0x99da8a=_0x56eb68[_0x5683c2+0x2],_0x193bdd=_0x56eb68[_0x5683c2+0x3],_0x41dd2c=_0x56eb68[_0x5683c2+0x4],_0x1bb3d3=_0x56eb68[_0x5683c2+0x5],_0x5bcb0c=_0x56eb68[_0x5683c2+0x6],_0x28e48f=_0x56eb68[_0x5683c2+0x7],_0xa47c3e=_0x56eb68[_0x5683c2+0x8],_0x1cfd2d=_0x56eb68[_0x5683c2+0x9],_0x4b3ed1=_0x56eb68[_0x5683c2+0xa],_0x58164f=_0x56eb68[_0x5683c2+0xb],_0x524112=_0x56eb68[_0x5683c2+0xc],_0x1c3848=_0x56eb68[_0x5683c2+0xd],_0x8a876e=_0x56eb68[_0x5683c2+0xe],_0x23d799=_0x56eb68[_0x5683c2+0xf],_0x43de50=_0x23faf3[0x0],_0x2455f1=_0x23faf3[0x1],_0x1e8dad=_0x23faf3[0x2],_0x147df5=_0x23faf3[0x3];_0x43de50=_0x553148(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x15d2d7,0x7,_0x52190d[0x0]),_0x147df5=_0x553148(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x460477,0xc,_0x52190d[0x1]),_0x1e8dad=_0x553148(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x99da8a,0x11,_0x52190d[0x2]),_0x2455f1=_0x553148(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x193bdd,0x16,_0x52190d[0x3]),_0x43de50=_0x553148(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x41dd2c,0x7,_0x52190d[0x4]),_0x147df5=_0x553148(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x1bb3d3,0xc,_0x52190d[0x5]),_0x1e8dad=_0x553148(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x5bcb0c,0x11,_0x52190d[0x6]),_0x2455f1=_0x553148(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x28e48f,0x16,_0x52190d[0x7]),_0x43de50=_0x553148(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0xa47c3e,0x7,_0x52190d[0x8]),_0x147df5=_0x553148(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x1cfd2d,0xc,_0x52190d[0x9]),_0x1e8dad=_0x553148(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x4b3ed1,0x11,_0x52190d[0xa]),_0x2455f1=_0x553148(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x58164f,0x16,_0x52190d[0xb]),_0x43de50=_0x553148(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x524112,0x7,_0x52190d[0xc]),_0x147df5=_0x553148(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x1c3848,0xc,_0x52190d[0xd]),_0x1e8dad=_0x553148(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x8a876e,0x11,_0x52190d[0xe]),_0x2455f1=_0x553148(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x23d799,0x16,_0x52190d[0xf]),_0x43de50=_0x53aded(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x460477,0x5,_0x52190d[0x10]),_0x147df5=_0x53aded(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x5bcb0c,0x9,_0x52190d[0x11]),_0x1e8dad=_0x53aded(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x58164f,0xe,_0x52190d[0x12]),_0x2455f1=_0x53aded(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x15d2d7,0x14,_0x52190d[0x13]),_0x43de50=_0x53aded(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x1bb3d3,0x5,_0x52190d[0x14]),_0x147df5=_0x53aded(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x4b3ed1,0x9,_0x52190d[0x15]),_0x1e8dad=_0x53aded(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x23d799,0xe,_0x52190d[0x16]),_0x2455f1=_0x53aded(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x41dd2c,0x14,_0x52190d[0x17]),_0x43de50=_0x53aded(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x1cfd2d,0x5,_0x52190d[0x18]),_0x147df5=_0x53aded(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x8a876e,0x9,_0x52190d[0x19]),_0x1e8dad=_0x53aded(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x193bdd,0xe,_0x52190d[0x1a]),_0x2455f1=_0x53aded(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0xa47c3e,0x14,_0x52190d[0x1b]),_0x43de50=_0x53aded(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x1c3848,0x5,_0x52190d[0x1c]),_0x147df5=_0x53aded(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x99da8a,0x9,_0x52190d[0x1d]),_0x1e8dad=_0x53aded(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x28e48f,0xe,_0x52190d[0x1e]),_0x2455f1=_0x53aded(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x524112,0x14,_0x52190d[0x1f]),_0x43de50=_0x57544a(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x1bb3d3,0x4,_0x52190d[0x20]),_0x147df5=_0x57544a(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0xa47c3e,0xb,_0x52190d[0x21]),_0x1e8dad=_0x57544a(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x58164f,0x10,_0x52190d[0x22]),_0x2455f1=_0x57544a(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x8a876e,0x17,_0x52190d[0x23]),_0x43de50=_0x57544a(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x460477,0x4,_0x52190d[0x24]),_0x147df5=_0x57544a(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x41dd2c,0xb,_0x52190d[0x25]),_0x1e8dad=_0x57544a(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x28e48f,0x10,_0x52190d[0x26]),_0x2455f1=_0x57544a(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x4b3ed1,0x17,_0x52190d[0x27]),_0x43de50=_0x57544a(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x1c3848,0x4,_0x52190d[0x28]),_0x147df5=_0x57544a(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x15d2d7,0xb,_0x52190d[0x29]),_0x1e8dad=_0x57544a(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x193bdd,0x10,_0x52190d[0x2a]),_0x2455f1=_0x57544a(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x5bcb0c,0x17,_0x52190d[0x2b]),_0x43de50=_0x57544a(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x1cfd2d,0x4,_0x52190d[0x2c]),_0x147df5=_0x57544a(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x524112,0xb,_0x52190d[0x2d]),_0x1e8dad=_0x57544a(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x23d799,0x10,_0x52190d[0x2e]),_0x2455f1=_0x57544a(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x99da8a,0x17,_0x52190d[0x2f]),_0x43de50=_0x3b1f0c(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x15d2d7,0x6,_0x52190d[0x30]),_0x147df5=_0x3b1f0c(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x28e48f,0xa,_0x52190d[0x31]),_0x1e8dad=_0x3b1f0c(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x8a876e,0xf,_0x52190d[0x32]),_0x2455f1=_0x3b1f0c(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x1bb3d3,0x15,_0x52190d[0x33]),_0x43de50=_0x3b1f0c(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x524112,0x6,_0x52190d[0x34]),_0x147df5=_0x3b1f0c(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x193bdd,0xa,_0x52190d[0x35]),_0x1e8dad=_0x3b1f0c(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x4b3ed1,0xf,_0x52190d[0x36]),_0x2455f1=_0x3b1f0c(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x460477,0x15,_0x52190d[0x37]),_0x43de50=_0x3b1f0c(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0xa47c3e,0x6,_0x52190d[0x38]),_0x147df5=_0x3b1f0c(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x23d799,0xa,_0x52190d[0x39]),_0x1e8dad=_0x3b1f0c(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x5bcb0c,0xf,_0x52190d[0x3a]),_0x2455f1=_0x3b1f0c(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x1c3848,0x15,_0x52190d[0x3b]),_0x43de50=_0x3b1f0c(_0x43de50,_0x2455f1,_0x1e8dad,_0x147df5,_0x41dd2c,0x6,_0x52190d[0x3c]),_0x147df5=_0x3b1f0c(_0x147df5,_0x43de50,_0x2455f1,_0x1e8dad,_0x58164f,0xa,_0x52190d[0x3d]),_0x1e8dad=_0x3b1f0c(_0x1e8dad,_0x147df5,_0x43de50,_0x2455f1,_0x99da8a,0xf,_0x52190d[0x3e]),_0x2455f1=_0x3b1f0c(_0x2455f1,_0x1e8dad,_0x147df5,_0x43de50,_0x1cfd2d,0x15,_0x52190d[0x3f]),_0x23faf3[0x0]=_0x23faf3[0x0]+_0x43de50|0x0,_0x23faf3[0x1]=_0x23faf3[0x1]+_0x2455f1|0x0,_0x23faf3[0x2]=_0x23faf3[0x2]+_0x1e8dad|0x0,_0x23faf3[0x3]=_0x23faf3[0x3]+_0x147df5|0x0;},'_doFinalize':function(){var _0x66c021=_0x257073,_0x555ca8=this[_0x66c021(0x2d4)],_0x55c4e8=_0x555ca8[_0x66c021(0x38d)],_0x4191bc=this[_0x66c021(0x42f)]*0x8,_0x38cedf=_0x555ca8[_0x66c021(0x3ed)]*0x8;_0x55c4e8[_0x38cedf>>>0x5]|=0x80<<0x18-_0x38cedf%0x20;var _0x148362=_0x998f2e[_0x66c021(0xfe)](_0x4191bc/0x100000000),_0x48260a=_0x4191bc;_0x55c4e8[(_0x38cedf+0x40>>>0x9<<0x4)+0xf]=(_0x148362<<0x8|_0x148362>>>0x18)&0xff00ff|(_0x148362<<0x18|_0x148362>>>0x8)&0xff00ff00,_0x55c4e8[(_0x38cedf+0x40>>>0x9<<0x4)+0xe]=(_0x48260a<<0x8|_0x48260a>>>0x18)&0xff00ff|(_0x48260a<<0x18|_0x48260a>>>0x8)&0xff00ff00,_0x555ca8[_0x66c021(0x3ed)]=(_0x55c4e8[_0x66c021(0x151)]+0x1)*0x4,this[_0x66c021(0x2a4)]();for(var _0xfe35ab=this[_0x66c021(0x368)],_0x359cf4=_0xfe35ab['words'],_0x2d0473=0x0;_0x2d0473<0x4;_0x2d0473++){var _0x52b18b=_0x359cf4[_0x2d0473];_0x359cf4[_0x2d0473]=(_0x52b18b<<0x8|_0x52b18b>>>0x18)&0xff00ff|(_0x52b18b<<0x18|_0x52b18b>>>0x8)&0xff00ff00;}return _0xfe35ab;},'clone':function(){var _0x2c0cf7=_0x257073,_0x8fcd31=_0x33ddec[_0x2c0cf7(0x1c2)]['call'](this);return _0x8fcd31[_0x2c0cf7(0x368)]=this[_0x2c0cf7(0x368)][_0x2c0cf7(0x1c2)](),_0x8fcd31;}});function _0x553148(_0x1abde1,_0x148308,_0x59b749,_0x3b7fa2,_0x7f6b72,_0x1a2228,_0x2541b4){var _0x33ca22=_0x1abde1+(_0x148308&_0x59b749|~_0x148308&_0x3b7fa2)+_0x7f6b72+_0x2541b4;return(_0x33ca22<<_0x1a2228|_0x33ca22>>>0x20-_0x1a2228)+_0x148308;}function _0x53aded(_0x5c8b92,_0x287943,_0x24e1fc,_0x3f9fd3,_0x1ce43d,_0x1f52fa,_0x9024b1){var _0x3ec607=_0x5c8b92+(_0x287943&_0x3f9fd3|_0x24e1fc&~_0x3f9fd3)+_0x1ce43d+_0x9024b1;return(_0x3ec607<<_0x1f52fa|_0x3ec607>>>0x20-_0x1f52fa)+_0x287943;}function _0x57544a(_0x3f7fea,_0x2e9d05,_0xd39a72,_0x200245,_0xa87340,_0x284b6b,_0x45f00e){var _0x5b5c7a=_0x3f7fea+(_0x2e9d05^_0xd39a72^_0x200245)+_0xa87340+_0x45f00e;return(_0x5b5c7a<<_0x284b6b|_0x5b5c7a>>>0x20-_0x284b6b)+_0x2e9d05;}function _0x3b1f0c(_0x38cef1,_0x133f9a,_0xa8f396,_0x36ffea,_0xe599cf,_0x546792,_0x16fbc5){var _0x4d987b=_0x38cef1+(_0xa8f396^(_0x133f9a|~_0x36ffea))+_0xe599cf+_0x16fbc5;return(_0x4d987b<<_0x546792|_0x4d987b>>>0x20-_0x546792)+_0x133f9a;}_0x39ed9d['MD5']=_0x33ddec['_createHelper'](_0x4a4fc1),_0x39ed9d[_0x257073(0x3ce)]=_0x33ddec[_0x257073(0x113)](_0x4a4fc1);}(Math),_0x2368f2[_0x5df699(0x24f)];}));}(_0x59900e)),_0x59900e['exports'];}var _0xda8900={'exports':{}},_0x2737c5={'exports':{}},_0x383621=_0x2737c5[_0x148bdb(0x1df)],_0x4abaee;function _0x402cd5(){var _0x2527f6=_0x148bdb;return _0x4abaee||(_0x4abaee=0x1,function(_0x536571,_0x2a7458){(function(_0x4eb371,_0x3dc747){var _0x156ced=_0x23b0;_0x536571[_0x156ced(0x1df)]=_0x3dc747(_0x18eaee());}(_0x383621,function(_0x3de0d9){var _0x1fadb2=_0x23b0;return(function(){var _0x34974b=_0x23b0,_0x4f1124=_0x3de0d9,_0x28ccd5=_0x4f1124['lib'],_0x1bfad1=_0x28ccd5[_0x34974b(0x361)],_0xef9227=_0x28ccd5[_0x34974b(0x309)],_0x301f44=_0x4f1124[_0x34974b(0x43e)],_0x597a59=[],_0x5e7d15=_0x301f44[_0x34974b(0x2aa)]=_0xef9227['extend']({'_doReset':function(){var _0x1e1d4c=_0x34974b;this[_0x1e1d4c(0x368)]=new _0x1bfad1[(_0x1e1d4c(0x40a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x27b3bb,_0xc0ab57){var _0x46633b=_0x34974b;for(var _0x357aab=this[_0x46633b(0x368)][_0x46633b(0x38d)],_0x1eea5e=_0x357aab[0x0],_0x232aee=_0x357aab[0x1],_0x302519=_0x357aab[0x2],_0x4d5926=_0x357aab[0x3],_0x1e9617=_0x357aab[0x4],_0x3d5b32=0x0;_0x3d5b32<0x50;_0x3d5b32++){if(_0x3d5b32<0x10)_0x597a59[_0x3d5b32]=_0x27b3bb[_0xc0ab57+_0x3d5b32]|0x0;else{var _0x15d0ad=_0x597a59[_0x3d5b32-0x3]^_0x597a59[_0x3d5b32-0x8]^_0x597a59[_0x3d5b32-0xe]^_0x597a59[_0x3d5b32-0x10];_0x597a59[_0x3d5b32]=_0x15d0ad<<0x1|_0x15d0ad>>>0x1f;}var _0x28e8aa=(_0x1eea5e<<0x5|_0x1eea5e>>>0x1b)+_0x1e9617+_0x597a59[_0x3d5b32];_0x3d5b32<0x14?_0x28e8aa+=(_0x232aee&_0x302519|~_0x232aee&_0x4d5926)+0x5a827999:_0x3d5b32<0x28?_0x28e8aa+=(_0x232aee^_0x302519^_0x4d5926)+0x6ed9eba1:_0x3d5b32<0x3c?_0x28e8aa+=(_0x232aee&_0x302519|_0x232aee&_0x4d5926|_0x302519&_0x4d5926)-0x70e44324:_0x28e8aa+=(_0x232aee^_0x302519^_0x4d5926)-0x359d3e2a,_0x1e9617=_0x4d5926,_0x4d5926=_0x302519,_0x302519=_0x232aee<<0x1e|_0x232aee>>>0x2,_0x232aee=_0x1eea5e,_0x1eea5e=_0x28e8aa;}_0x357aab[0x0]=_0x357aab[0x0]+_0x1eea5e|0x0,_0x357aab[0x1]=_0x357aab[0x1]+_0x232aee|0x0,_0x357aab[0x2]=_0x357aab[0x2]+_0x302519|0x0,_0x357aab[0x3]=_0x357aab[0x3]+_0x4d5926|0x0,_0x357aab[0x4]=_0x357aab[0x4]+_0x1e9617|0x0;},'_doFinalize':function(){var _0x53d1f6=_0x34974b,_0x41359c=this[_0x53d1f6(0x2d4)],_0x571fa0=_0x41359c[_0x53d1f6(0x38d)],_0x4638d=this[_0x53d1f6(0x42f)]*0x8,_0x2daea9=_0x41359c[_0x53d1f6(0x3ed)]*0x8;return _0x571fa0[_0x2daea9>>>0x5]|=0x80<<0x18-_0x2daea9%0x20,_0x571fa0[(_0x2daea9+0x40>>>0x9<<0x4)+0xe]=Math[_0x53d1f6(0xfe)](_0x4638d/0x100000000),_0x571fa0[(_0x2daea9+0x40>>>0x9<<0x4)+0xf]=_0x4638d,_0x41359c[_0x53d1f6(0x3ed)]=_0x571fa0['length']*0x4,this[_0x53d1f6(0x2a4)](),this[_0x53d1f6(0x368)];},'clone':function(){var _0x58dab8=_0x34974b,_0x4be5de=_0xef9227['clone'][_0x58dab8(0x3af)](this);return _0x4be5de[_0x58dab8(0x368)]=this[_0x58dab8(0x368)][_0x58dab8(0x1c2)](),_0x4be5de;}});_0x4f1124[_0x34974b(0x2aa)]=_0xef9227[_0x34974b(0x29a)](_0x5e7d15),_0x4f1124[_0x34974b(0x3d8)]=_0xef9227['_createHmacHelper'](_0x5e7d15);}()),_0x3de0d9[_0x1fadb2(0x2aa)];}));}(_0x2737c5)),_0x2737c5[_0x2527f6(0x1df)];}var _0x780cb5={'exports':{}},_0x1b8080=_0x780cb5[_0x148bdb(0x1df)],_0x1e3936;function _0x10c680(){var _0x57b6f7=_0x148bdb;return _0x1e3936||(_0x1e3936=0x1,function(_0x4e0845,_0xcc663a){(function(_0x5ea6b9,_0x59e217){_0x4e0845['exports']=_0x59e217(_0x18eaee());}(_0x1b8080,function(_0x2d4039){(function(){var _0x2cc71e=_0x23b0,_0x53c6ed=_0x2d4039,_0x5264e0=_0x53c6ed[_0x2cc71e(0x15a)],_0x1a1734=_0x5264e0['Base'],_0x48ec89=_0x53c6ed[_0x2cc71e(0x1c9)],_0x2759f9=_0x48ec89[_0x2cc71e(0x272)],_0x1682e4=_0x53c6ed['algo'];_0x1682e4['HMAC']=_0x1a1734[_0x2cc71e(0x3ea)]({'init':function(_0x1837ef,_0x525008){var _0x3ce3eb=_0x2cc71e;_0x1837ef=this[_0x3ce3eb(0x186)]=new _0x1837ef[(_0x3ce3eb(0x40a))](),typeof _0x525008==_0x3ce3eb(0xf3)&&(_0x525008=_0x2759f9[_0x3ce3eb(0x1bf)](_0x525008));var _0x2f5147=_0x1837ef[_0x3ce3eb(0xeb)],_0x2b1cb=_0x2f5147*0x4;_0x525008[_0x3ce3eb(0x3ed)]>_0x2b1cb&&(_0x525008=_0x1837ef[_0x3ce3eb(0x33f)](_0x525008)),_0x525008[_0x3ce3eb(0x446)]();for(var _0x1954a0=this['_oKey']=_0x525008[_0x3ce3eb(0x1c2)](),_0x28531f=this[_0x3ce3eb(0x1bd)]=_0x525008['clone'](),_0x231340=_0x1954a0[_0x3ce3eb(0x38d)],_0x22d585=_0x28531f[_0x3ce3eb(0x38d)],_0x20d902=0x0;_0x20d902<_0x2f5147;_0x20d902++)_0x231340[_0x20d902]^=0x5c5c5c5c,_0x22d585[_0x20d902]^=0x36363636;_0x1954a0['sigBytes']=_0x28531f['sigBytes']=_0x2b1cb,this[_0x3ce3eb(0x449)]();},'reset':function(){var _0x3298c3=_0x2cc71e,_0x1b7fa3=this[_0x3298c3(0x186)];_0x1b7fa3[_0x3298c3(0x449)](),_0x1b7fa3[_0x3298c3(0x1d8)](this[_0x3298c3(0x1bd)]);},'update':function(_0x79ff78){var _0x6f16d1=_0x2cc71e;return this[_0x6f16d1(0x186)][_0x6f16d1(0x1d8)](_0x79ff78),this;},'finalize':function(_0x2a0946){var _0x29477f=_0x2cc71e,_0x2668c4=this[_0x29477f(0x186)],_0x5aad44=_0x2668c4['finalize'](_0x2a0946);_0x2668c4[_0x29477f(0x449)]();var _0x148e73=_0x2668c4[_0x29477f(0x33f)](this[_0x29477f(0x2fb)][_0x29477f(0x1c2)]()['concat'](_0x5aad44));return _0x148e73;}});}());}));}(_0x780cb5)),_0x780cb5[_0x57b6f7(0x1df)];}var _0x2cb7de=_0xda8900[_0x148bdb(0x1df)],_0x468601;function _0xdb4fd1(){var _0x4c2dc9=_0x148bdb;return _0x468601||(_0x468601=0x1,function(_0x20fb12,_0x51ca4f){(function(_0x211bfe,_0x3e4495,_0x22e431){var _0x31ecf9=_0x23b0;_0x20fb12[_0x31ecf9(0x1df)]=_0x3e4495(_0x18eaee(),_0x402cd5(),_0x10c680());}(_0x2cb7de,function(_0x3fa226){return(function(){var _0x48337e=_0x23b0,_0x2b6d04=_0x3fa226,_0x2c935b=_0x2b6d04[_0x48337e(0x15a)],_0x6b4304=_0x2c935b[_0x48337e(0x321)],_0x1ff4ef=_0x2c935b[_0x48337e(0x361)],_0x1815d3=_0x2b6d04[_0x48337e(0x43e)],_0x3393f4=_0x1815d3[_0x48337e(0x24f)],_0x464fde=_0x1815d3['EvpKDF']=_0x6b4304[_0x48337e(0x3ea)]({'cfg':_0x6b4304[_0x48337e(0x3ea)]({'keySize':0x80/0x20,'hasher':_0x3393f4,'iterations':0x1}),'init':function(_0x5456e1){var _0x3d8ae8=_0x48337e;this[_0x3d8ae8(0x382)]=this[_0x3d8ae8(0x382)][_0x3d8ae8(0x3ea)](_0x5456e1);},'compute':function(_0x4a7442,_0x1c3f2a){var _0x1d9b72=_0x48337e;for(var _0x4665f4,_0x433a7d=this[_0x1d9b72(0x382)],_0x355446=_0x433a7d['hasher'][_0x1d9b72(0x3c4)](),_0x4ee696=_0x1ff4ef[_0x1d9b72(0x3c4)](),_0x31aa17=_0x4ee696[_0x1d9b72(0x38d)],_0x91f87f=_0x433a7d[_0x1d9b72(0x148)],_0x31a9f5=_0x433a7d[_0x1d9b72(0x109)];_0x31aa17[_0x1d9b72(0x151)]<_0x91f87f;){_0x4665f4&&_0x355446['update'](_0x4665f4),_0x4665f4=_0x355446['update'](_0x4a7442)['finalize'](_0x1c3f2a),_0x355446[_0x1d9b72(0x449)]();for(var _0x30e2cf=0x1;_0x30e2cf<_0x31a9f5;_0x30e2cf++)_0x4665f4=_0x355446[_0x1d9b72(0x33f)](_0x4665f4),_0x355446['reset']();_0x4ee696[_0x1d9b72(0x2f0)](_0x4665f4);}return _0x4ee696[_0x1d9b72(0x3ed)]=_0x91f87f*0x4,_0x4ee696;}});_0x2b6d04[_0x48337e(0x1f7)]=function(_0x497ac6,_0x1cb84d,_0x2f72c1){var _0xde6c93=_0x48337e;return _0x464fde[_0xde6c93(0x3c4)](_0x2f72c1)[_0xde6c93(0x31e)](_0x497ac6,_0x1cb84d);};}()),_0x3fa226['EvpKDF'];}));}(_0xda8900)),_0xda8900[_0x4c2dc9(0x1df)];}var _0x2f7d7a={'exports':{}},_0x1a3190=_0x2f7d7a[_0x148bdb(0x1df)],_0x401456;function _0x469df1(){var _0x2f8cb6=_0x148bdb;return _0x401456||(_0x401456=0x1,function(_0x45544b,_0x26272e){(function(_0x4ec542,_0x14562f,_0x3f7a38){var _0x28d878=_0x23b0;_0x45544b[_0x28d878(0x1df)]=_0x14562f(_0x18eaee(),_0xdb4fd1());}(_0x1a3190,function(_0x46d137){var _0x12643b=_0x23b0;_0x46d137[_0x12643b(0x15a)]['Cipher']||function(_0xf9baf6){var _0x178a8a=_0x12643b,_0x4ebb50=_0x46d137,_0x2c320e=_0x4ebb50[_0x178a8a(0x15a)],_0x2e49c0=_0x2c320e[_0x178a8a(0x321)],_0x44e99f=_0x2c320e[_0x178a8a(0x361)],_0x141c59=_0x2c320e[_0x178a8a(0x11c)],_0x28d196=_0x4ebb50[_0x178a8a(0x1c9)];_0x28d196[_0x178a8a(0x272)];var _0x441532=_0x28d196[_0x178a8a(0x3e1)],_0x13d0f3=_0x4ebb50[_0x178a8a(0x43e)],_0x25a1fa=_0x13d0f3[_0x178a8a(0x1f7)],_0x4cc7c=_0x2c320e[_0x178a8a(0x1b3)]=_0x141c59[_0x178a8a(0x3ea)]({'cfg':_0x2e49c0[_0x178a8a(0x3ea)](),'createEncryptor':function(_0xcee918,_0x4d92d9){var _0x17c3db=_0x178a8a;return this[_0x17c3db(0x3c4)](this[_0x17c3db(0x2c9)],_0xcee918,_0x4d92d9);},'createDecryptor':function(_0xabe210,_0x13a2d5){var _0x2d204=_0x178a8a;return this[_0x2d204(0x3c4)](this['_DEC_XFORM_MODE'],_0xabe210,_0x13a2d5);},'init':function(_0x516e7b,_0x384baf,_0x5c60ae){var _0x246e60=_0x178a8a;this[_0x246e60(0x382)]=this[_0x246e60(0x382)]['extend'](_0x5c60ae),this[_0x246e60(0x39b)]=_0x516e7b,this[_0x246e60(0x45f)]=_0x384baf,this['reset']();},'reset':function(){var _0x3e1279=_0x178a8a;_0x141c59[_0x3e1279(0x449)][_0x3e1279(0x3af)](this),this[_0x3e1279(0x42e)]();},'process':function(_0xd2510f){var _0x5aa311=_0x178a8a;return this[_0x5aa311(0x235)](_0xd2510f),this[_0x5aa311(0x2a4)]();},'finalize':function(_0x28bc7a){_0x28bc7a&&this['_append'](_0x28bc7a);var _0xb80c63=this['_doFinalize']();return _0xb80c63;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x31cbc7(_0x251f86){var _0x4505e6=_0x23b0;return typeof _0x251f86==_0x4505e6(0xf3)?_0x44c316:_0x4af562;}return function(_0x815e72){return{'encrypt':function(_0x27aec8,_0x1bc243,_0x99fc21){var _0x152910=_0x23b0;return _0x31cbc7(_0x1bc243)[_0x152910(0x428)](_0x815e72,_0x27aec8,_0x1bc243,_0x99fc21);},'decrypt':function(_0x278fe2,_0x8ff5f,_0x1afbf1){return _0x31cbc7(_0x8ff5f)['decrypt'](_0x815e72,_0x278fe2,_0x8ff5f,_0x1afbf1);}};};}())});_0x2c320e[_0x178a8a(0x316)]=_0x4cc7c[_0x178a8a(0x3ea)]({'_doFinalize':function(){var _0x359709=_0x178a8a,_0x1ba56b=this[_0x359709(0x2a4)](!0x0);return _0x1ba56b;},'blockSize':0x1});var _0x42f3b1=_0x4ebb50[_0x178a8a(0x128)]={},_0x4cfb81=_0x2c320e[_0x178a8a(0x257)]=_0x2e49c0[_0x178a8a(0x3ea)]({'createEncryptor':function(_0x4ac99b,_0x17db11){var _0x1b58a4=_0x178a8a;return this['Encryptor'][_0x1b58a4(0x3c4)](_0x4ac99b,_0x17db11);},'createDecryptor':function(_0x4f12d7,_0x5850b7){var _0x57c5c5=_0x178a8a;return this[_0x57c5c5(0x281)][_0x57c5c5(0x3c4)](_0x4f12d7,_0x5850b7);},'init':function(_0x1292f2,_0x6b24b6){var _0x140150=_0x178a8a;this['_cipher']=_0x1292f2,this[_0x140150(0xff)]=_0x6b24b6;}}),_0x56e3f3=_0x42f3b1[_0x178a8a(0x137)]=(function(){var _0x56fdba=_0x178a8a,_0x90811c=_0x4cfb81[_0x56fdba(0x3ea)]();_0x90811c[_0x56fdba(0x3bb)]=_0x90811c[_0x56fdba(0x3ea)]({'processBlock':function(_0x170d81,_0x55b83e){var _0x21f251=_0x56fdba,_0x1cffc5=this[_0x21f251(0x2ef)],_0x3b26de=_0x1cffc5[_0x21f251(0xeb)];_0x7f1297[_0x21f251(0x3af)](this,_0x170d81,_0x55b83e,_0x3b26de),_0x1cffc5[_0x21f251(0x217)](_0x170d81,_0x55b83e),this[_0x21f251(0x224)]=_0x170d81[_0x21f251(0x119)](_0x55b83e,_0x55b83e+_0x3b26de);}}),_0x90811c[_0x56fdba(0x281)]=_0x90811c[_0x56fdba(0x3ea)]({'processBlock':function(_0x55af24,_0x4c9644){var _0x16190d=_0x56fdba,_0x59c91e=this[_0x16190d(0x2ef)],_0x41b5be=_0x59c91e[_0x16190d(0xeb)],_0x6a3844=_0x55af24[_0x16190d(0x119)](_0x4c9644,_0x4c9644+_0x41b5be);_0x59c91e['decryptBlock'](_0x55af24,_0x4c9644),_0x7f1297[_0x16190d(0x3af)](this,_0x55af24,_0x4c9644,_0x41b5be),this[_0x16190d(0x224)]=_0x6a3844;}});function _0x7f1297(_0xb881d6,_0x533a26,_0x2ed209){var _0x24f7f6=_0x56fdba,_0x139256,_0x4368cb=this[_0x24f7f6(0xff)];_0x4368cb?(_0x139256=_0x4368cb,this['_iv']=_0xf9baf6):_0x139256=this['_prevBlock'];for(var _0x54ad68=0x0;_0x54ad68<_0x2ed209;_0x54ad68++)_0xb881d6[_0x533a26+_0x54ad68]^=_0x139256[_0x54ad68];}return _0x90811c;}()),_0x462776=_0x4ebb50[_0x178a8a(0x1e6)]={},_0x1defd4=_0x462776[_0x178a8a(0x12f)]={'pad':function(_0xaf73f1,_0x451874){var _0x1e5ee6=_0x178a8a;for(var _0x115cf0=_0x451874*0x4,_0xdac432=_0x115cf0-_0xaf73f1[_0x1e5ee6(0x3ed)]%_0x115cf0,_0x3762e4=_0xdac432<<0x18|_0xdac432<<0x10|_0xdac432<<0x8|_0xdac432,_0x3a69=[],_0x3755c6=0x0;_0x3755c6<_0xdac432;_0x3755c6+=0x4)_0x3a69['push'](_0x3762e4);var _0x36c1d2=_0x44e99f[_0x1e5ee6(0x3c4)](_0x3a69,_0xdac432);_0xaf73f1['concat'](_0x36c1d2);},'unpad':function(_0x236426){var _0x45820a=_0x178a8a,_0x17cae3=_0x236426['words'][_0x236426[_0x45820a(0x3ed)]-0x1>>>0x2]&0xff;_0x236426[_0x45820a(0x3ed)]-=_0x17cae3;}};_0x2c320e['BlockCipher']=_0x4cc7c['extend']({'cfg':_0x4cc7c[_0x178a8a(0x382)]['extend']({'mode':_0x56e3f3,'padding':_0x1defd4}),'reset':function(){var _0x1c498b=_0x178a8a,_0x153bc5;_0x4cc7c[_0x1c498b(0x449)][_0x1c498b(0x3af)](this);var _0x33769a=this['cfg'],_0x4d9fed=_0x33769a['iv'],_0x3a26b8=_0x33769a['mode'];this[_0x1c498b(0x39b)]==this['_ENC_XFORM_MODE']?_0x153bc5=_0x3a26b8[_0x1c498b(0x268)]:(_0x153bc5=_0x3a26b8[_0x1c498b(0x243)],this[_0x1c498b(0x223)]=0x1),this[_0x1c498b(0x11a)]&&this[_0x1c498b(0x11a)]['__creator']==_0x153bc5?this['_mode'][_0x1c498b(0x40a)](this,_0x4d9fed&&_0x4d9fed['words']):(this['_mode']=_0x153bc5['call'](_0x3a26b8,this,_0x4d9fed&&_0x4d9fed[_0x1c498b(0x38d)]),this['_mode'][_0x1c498b(0x226)]=_0x153bc5);},'_doProcessBlock':function(_0x58b73f,_0x47e870){var _0x5924b5=_0x178a8a;this[_0x5924b5(0x11a)]['processBlock'](_0x58b73f,_0x47e870);},'_doFinalize':function(){var _0x1b565c=_0x178a8a,_0x34c78f,_0x2fb490=this['cfg'][_0x1b565c(0x294)];return this['_xformMode']==this[_0x1b565c(0x2c9)]?(_0x2fb490['pad'](this[_0x1b565c(0x2d4)],this['blockSize']),_0x34c78f=this['_process'](!0x0)):(_0x34c78f=this[_0x1b565c(0x2a4)](!0x0),_0x2fb490[_0x1b565c(0x306)](_0x34c78f)),_0x34c78f;},'blockSize':0x80/0x20});var _0x437754=_0x2c320e[_0x178a8a(0x2e5)]=_0x2e49c0[_0x178a8a(0x3ea)]({'init':function(_0x27fdaa){var _0x990923=_0x178a8a;this[_0x990923(0x1a6)](_0x27fdaa);},'toString':function(_0x10c689){var _0x18c132=_0x178a8a;return(_0x10c689||this[_0x18c132(0x358)])['stringify'](this);}}),_0x3662ad=_0x4ebb50[_0x178a8a(0x40b)]={},_0x1f6611=_0x3662ad[_0x178a8a(0x44b)]={'stringify':function(_0x3f0339){var _0x3380a5=_0x178a8a,_0x595ee2,_0x335870=_0x3f0339[_0x3380a5(0x37b)],_0x52f583=_0x3f0339['salt'];return _0x52f583?_0x595ee2=_0x44e99f[_0x3380a5(0x3c4)]([0x53616c74,0x65645f5f])[_0x3380a5(0x2f0)](_0x52f583)[_0x3380a5(0x2f0)](_0x335870):_0x595ee2=_0x335870,_0x595ee2[_0x3380a5(0x3de)](_0x441532);},'parse':function(_0x4ebd5e){var _0x2d4db2=_0x178a8a,_0x2ce7d4,_0x3756b5=_0x441532[_0x2d4db2(0x1bf)](_0x4ebd5e),_0x18a411=_0x3756b5[_0x2d4db2(0x38d)];return _0x18a411[0x0]==0x53616c74&&_0x18a411[0x1]==0x65645f5f&&(_0x2ce7d4=_0x44e99f[_0x2d4db2(0x3c4)](_0x18a411[_0x2d4db2(0x119)](0x2,0x4)),_0x18a411['splice'](0x0,0x4),_0x3756b5[_0x2d4db2(0x3ed)]-=0x10),_0x437754['create']({'ciphertext':_0x3756b5,'salt':_0x2ce7d4});}},_0x4af562=_0x2c320e[_0x178a8a(0x400)]=_0x2e49c0[_0x178a8a(0x3ea)]({'cfg':_0x2e49c0['extend']({'format':_0x1f6611}),'encrypt':function(_0x426c21,_0x568cd2,_0x10b03c,_0x4c97ee){var _0x23de01=_0x178a8a;_0x4c97ee=this['cfg'][_0x23de01(0x3ea)](_0x4c97ee);var _0xd3c5a1=_0x426c21[_0x23de01(0x268)](_0x10b03c,_0x4c97ee),_0x142944=_0xd3c5a1[_0x23de01(0x33f)](_0x568cd2),_0x4304c3=_0xd3c5a1[_0x23de01(0x382)];return _0x437754['create']({'ciphertext':_0x142944,'key':_0x10b03c,'iv':_0x4304c3['iv'],'algorithm':_0x426c21,'mode':_0x4304c3[_0x23de01(0x128)],'padding':_0x4304c3[_0x23de01(0x294)],'blockSize':_0x426c21[_0x23de01(0xeb)],'formatter':_0x4c97ee[_0x23de01(0x40b)]});},'decrypt':function(_0x2afb41,_0xe2d445,_0x373ab1,_0x340092){var _0x3aae3a=_0x178a8a;_0x340092=this['cfg']['extend'](_0x340092),_0xe2d445=this['_parse'](_0xe2d445,_0x340092['format']);var _0x352bce=_0x2afb41['createDecryptor'](_0x373ab1,_0x340092)[_0x3aae3a(0x33f)](_0xe2d445[_0x3aae3a(0x37b)]);return _0x352bce;},'_parse':function(_0x3a64ba,_0x23a244){var _0x455426=_0x178a8a;return typeof _0x3a64ba==_0x455426(0xf3)?_0x23a244[_0x455426(0x1bf)](_0x3a64ba,this):_0x3a64ba;}}),_0x31eed7=_0x4ebb50[_0x178a8a(0x1d1)]={},_0x360c59=_0x31eed7[_0x178a8a(0x44b)]={'execute':function(_0x1f8654,_0x11373f,_0x1759f8,_0x507535,_0x10fb51){var _0xf1fd4e=_0x178a8a;if(_0x507535||(_0x507535=_0x44e99f[_0xf1fd4e(0x164)](0x40/0x8)),_0x10fb51)var _0xcec3f0=_0x25a1fa[_0xf1fd4e(0x3c4)]({'keySize':_0x11373f+_0x1759f8,'hasher':_0x10fb51})[_0xf1fd4e(0x31e)](_0x1f8654,_0x507535);else var _0xcec3f0=_0x25a1fa[_0xf1fd4e(0x3c4)]({'keySize':_0x11373f+_0x1759f8})[_0xf1fd4e(0x31e)](_0x1f8654,_0x507535);var _0xf3ff7f=_0x44e99f['create'](_0xcec3f0[_0xf1fd4e(0x38d)][_0xf1fd4e(0x119)](_0x11373f),_0x1759f8*0x4);return _0xcec3f0[_0xf1fd4e(0x3ed)]=_0x11373f*0x4,_0x437754['create']({'key':_0xcec3f0,'iv':_0xf3ff7f,'salt':_0x507535});}},_0x44c316=_0x2c320e['PasswordBasedCipher']=_0x4af562[_0x178a8a(0x3ea)]({'cfg':_0x4af562[_0x178a8a(0x382)][_0x178a8a(0x3ea)]({'kdf':_0x360c59}),'encrypt':function(_0x1532bd,_0x2a85ba,_0x27ae4e,_0x5cc564){var _0x30c8b4=_0x178a8a;_0x5cc564=this[_0x30c8b4(0x382)]['extend'](_0x5cc564);var _0x197951=_0x5cc564[_0x30c8b4(0x1d1)][_0x30c8b4(0x329)](_0x27ae4e,_0x1532bd[_0x30c8b4(0x148)],_0x1532bd[_0x30c8b4(0x344)],_0x5cc564[_0x30c8b4(0x466)],_0x5cc564[_0x30c8b4(0x41d)]);_0x5cc564['iv']=_0x197951['iv'];var _0x4e4c99=_0x4af562[_0x30c8b4(0x428)][_0x30c8b4(0x3af)](this,_0x1532bd,_0x2a85ba,_0x197951[_0x30c8b4(0x167)],_0x5cc564);return _0x4e4c99[_0x30c8b4(0x1a6)](_0x197951),_0x4e4c99;},'decrypt':function(_0x1d3174,_0x3b2c1b,_0x1711a4,_0x2eaaf5){var _0x5f3a2a=_0x178a8a;_0x2eaaf5=this[_0x5f3a2a(0x382)][_0x5f3a2a(0x3ea)](_0x2eaaf5),_0x3b2c1b=this[_0x5f3a2a(0x249)](_0x3b2c1b,_0x2eaaf5[_0x5f3a2a(0x40b)]);var _0xc96fcf=_0x2eaaf5[_0x5f3a2a(0x1d1)]['execute'](_0x1711a4,_0x1d3174[_0x5f3a2a(0x148)],_0x1d3174[_0x5f3a2a(0x344)],_0x3b2c1b['salt'],_0x2eaaf5[_0x5f3a2a(0x41d)]);_0x2eaaf5['iv']=_0xc96fcf['iv'];var _0x564ff6=_0x4af562[_0x5f3a2a(0x188)]['call'](this,_0x1d3174,_0x3b2c1b,_0xc96fcf[_0x5f3a2a(0x167)],_0x2eaaf5);return _0x564ff6;}});}();}));}(_0x2f7d7a)),_0x2f7d7a[_0x2f8cb6(0x1df)];}var _0x5577a1=_0x2ca97d[_0x148bdb(0x1df)],_0x40f8a4;function _0x14c2b4(){var _0x3e2732=_0x148bdb;return _0x40f8a4||(_0x40f8a4=0x1,function(_0x2da3f8,_0x4ed539){(function(_0x4258f9,_0x5f4416,_0x7fee5e){var _0x4809f8=_0x23b0;_0x2da3f8[_0x4809f8(0x1df)]=_0x5f4416(_0x18eaee(),_0x395561(),_0x292697(),_0xdb4fd1(),_0x469df1());}(_0x5577a1,function(_0x30d9f0){var _0x110d26=_0x23b0;return(function(){var _0x441ebd=_0x23b0,_0x4e9b90=_0x30d9f0,_0x388be4=_0x4e9b90['lib'],_0x56c975=_0x388be4[_0x441ebd(0x2ce)],_0x272c5d=_0x4e9b90[_0x441ebd(0x43e)],_0x5c27b9=[],_0x166c8d=[],_0x3fd851=[],_0x299f65=[],_0x4944e0=[],_0x24cc9f=[],_0x532b60=[],_0x5ddb89=[],_0x1b4155=[],_0x1f6f64=[];(function(){for(var _0x3e3b61=[],_0x6b1b2a=0x0;_0x6b1b2a<0x100;_0x6b1b2a++)_0x6b1b2a<0x80?_0x3e3b61[_0x6b1b2a]=_0x6b1b2a<<0x1:_0x3e3b61[_0x6b1b2a]=_0x6b1b2a<<0x1^0x11b;for(var _0x988495=0x0,_0x37a687=0x0,_0x6b1b2a=0x0;_0x6b1b2a<0x100;_0x6b1b2a++){var _0xed16a0=_0x37a687^_0x37a687<<0x1^_0x37a687<<0x2^_0x37a687<<0x3^_0x37a687<<0x4;_0xed16a0=_0xed16a0>>>0x8^_0xed16a0&0xff^0x63,_0x5c27b9[_0x988495]=_0xed16a0,_0x166c8d[_0xed16a0]=_0x988495;var _0x155bc8=_0x3e3b61[_0x988495],_0x4fe040=_0x3e3b61[_0x155bc8],_0x410271=_0x3e3b61[_0x4fe040],_0x10c399=_0x3e3b61[_0xed16a0]*0x101^_0xed16a0*0x1010100;_0x3fd851[_0x988495]=_0x10c399<<0x18|_0x10c399>>>0x8,_0x299f65[_0x988495]=_0x10c399<<0x10|_0x10c399>>>0x10,_0x4944e0[_0x988495]=_0x10c399<<0x8|_0x10c399>>>0x18,_0x24cc9f[_0x988495]=_0x10c399;var _0x10c399=_0x410271*0x1010101^_0x4fe040*0x10001^_0x155bc8*0x101^_0x988495*0x1010100;_0x532b60[_0xed16a0]=_0x10c399<<0x18|_0x10c399>>>0x8,_0x5ddb89[_0xed16a0]=_0x10c399<<0x10|_0x10c399>>>0x10,_0x1b4155[_0xed16a0]=_0x10c399<<0x8|_0x10c399>>>0x18,_0x1f6f64[_0xed16a0]=_0x10c399,_0x988495?(_0x988495=_0x155bc8^_0x3e3b61[_0x3e3b61[_0x3e3b61[_0x410271^_0x155bc8]]],_0x37a687^=_0x3e3b61[_0x3e3b61[_0x37a687]]):_0x988495=_0x37a687=0x1;}}());var _0x1aeb67=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3378e6=_0x272c5d[_0x441ebd(0x2d8)]=_0x56c975[_0x441ebd(0x3ea)]({'_doReset':function(){var _0xfbdd50=_0x441ebd,_0x49a9e7;if(!(this[_0xfbdd50(0x3f4)]&&this[_0xfbdd50(0x433)]===this[_0xfbdd50(0x45f)])){for(var _0x416c60=this[_0xfbdd50(0x433)]=this[_0xfbdd50(0x45f)],_0x4dedbb=_0x416c60[_0xfbdd50(0x38d)],_0x1ddc6a=_0x416c60['sigBytes']/0x4,_0x2244e3=this[_0xfbdd50(0x3f4)]=_0x1ddc6a+0x6,_0xd3288=(_0x2244e3+0x1)*0x4,_0x5b9db2=this['_keySchedule']=[],_0x3840e1=0x0;_0x3840e1<_0xd3288;_0x3840e1++)_0x3840e1<_0x1ddc6a?_0x5b9db2[_0x3840e1]=_0x4dedbb[_0x3840e1]:(_0x49a9e7=_0x5b9db2[_0x3840e1-0x1],_0x3840e1%_0x1ddc6a?_0x1ddc6a>0x6&&_0x3840e1%_0x1ddc6a==0x4&&(_0x49a9e7=_0x5c27b9[_0x49a9e7>>>0x18]<<0x18|_0x5c27b9[_0x49a9e7>>>0x10&0xff]<<0x10|_0x5c27b9[_0x49a9e7>>>0x8&0xff]<<0x8|_0x5c27b9[_0x49a9e7&0xff]):(_0x49a9e7=_0x49a9e7<<0x8|_0x49a9e7>>>0x18,_0x49a9e7=_0x5c27b9[_0x49a9e7>>>0x18]<<0x18|_0x5c27b9[_0x49a9e7>>>0x10&0xff]<<0x10|_0x5c27b9[_0x49a9e7>>>0x8&0xff]<<0x8|_0x5c27b9[_0x49a9e7&0xff],_0x49a9e7^=_0x1aeb67[_0x3840e1/_0x1ddc6a|0x0]<<0x18),_0x5b9db2[_0x3840e1]=_0x5b9db2[_0x3840e1-_0x1ddc6a]^_0x49a9e7);for(var _0x25cada=this[_0xfbdd50(0x27a)]=[],_0x37d11e=0x0;_0x37d11e<_0xd3288;_0x37d11e++){var _0x3840e1=_0xd3288-_0x37d11e;if(_0x37d11e%0x4)var _0x49a9e7=_0x5b9db2[_0x3840e1];else var _0x49a9e7=_0x5b9db2[_0x3840e1-0x4];_0x37d11e<0x4||_0x3840e1<=0x4?_0x25cada[_0x37d11e]=_0x49a9e7:_0x25cada[_0x37d11e]=_0x532b60[_0x5c27b9[_0x49a9e7>>>0x18]]^_0x5ddb89[_0x5c27b9[_0x49a9e7>>>0x10&0xff]]^_0x1b4155[_0x5c27b9[_0x49a9e7>>>0x8&0xff]]^_0x1f6f64[_0x5c27b9[_0x49a9e7&0xff]];}}},'encryptBlock':function(_0x17373f,_0x540d2d){var _0x5776be=_0x441ebd;this[_0x5776be(0x37a)](_0x17373f,_0x540d2d,this[_0x5776be(0x2e6)],_0x3fd851,_0x299f65,_0x4944e0,_0x24cc9f,_0x5c27b9);},'decryptBlock':function(_0x150989,_0x2ed228){var _0x4b4fc3=_0x441ebd,_0x2a0c0f=_0x150989[_0x2ed228+0x1];_0x150989[_0x2ed228+0x1]=_0x150989[_0x2ed228+0x3],_0x150989[_0x2ed228+0x3]=_0x2a0c0f,this[_0x4b4fc3(0x37a)](_0x150989,_0x2ed228,this[_0x4b4fc3(0x27a)],_0x532b60,_0x5ddb89,_0x1b4155,_0x1f6f64,_0x166c8d);var _0x2a0c0f=_0x150989[_0x2ed228+0x1];_0x150989[_0x2ed228+0x1]=_0x150989[_0x2ed228+0x3],_0x150989[_0x2ed228+0x3]=_0x2a0c0f;},'_doCryptBlock':function(_0x148eda,_0x52376d,_0x2d0a76,_0x1e27cb,_0x3eb1b0,_0x506f9d,_0x30746e,_0x1aa666){var _0x480b2b=_0x441ebd;for(var _0x35e715=this[_0x480b2b(0x3f4)],_0x170928=_0x148eda[_0x52376d]^_0x2d0a76[0x0],_0xdfe074=_0x148eda[_0x52376d+0x1]^_0x2d0a76[0x1],_0x2241bf=_0x148eda[_0x52376d+0x2]^_0x2d0a76[0x2],_0x231ed0=_0x148eda[_0x52376d+0x3]^_0x2d0a76[0x3],_0x53bf21=0x4,_0x83b92=0x1;_0x83b92<_0x35e715;_0x83b92++){var _0x360fbe=_0x1e27cb[_0x170928>>>0x18]^_0x3eb1b0[_0xdfe074>>>0x10&0xff]^_0x506f9d[_0x2241bf>>>0x8&0xff]^_0x30746e[_0x231ed0&0xff]^_0x2d0a76[_0x53bf21++],_0xf9225b=_0x1e27cb[_0xdfe074>>>0x18]^_0x3eb1b0[_0x2241bf>>>0x10&0xff]^_0x506f9d[_0x231ed0>>>0x8&0xff]^_0x30746e[_0x170928&0xff]^_0x2d0a76[_0x53bf21++],_0x4328cf=_0x1e27cb[_0x2241bf>>>0x18]^_0x3eb1b0[_0x231ed0>>>0x10&0xff]^_0x506f9d[_0x170928>>>0x8&0xff]^_0x30746e[_0xdfe074&0xff]^_0x2d0a76[_0x53bf21++],_0x4dc9cc=_0x1e27cb[_0x231ed0>>>0x18]^_0x3eb1b0[_0x170928>>>0x10&0xff]^_0x506f9d[_0xdfe074>>>0x8&0xff]^_0x30746e[_0x2241bf&0xff]^_0x2d0a76[_0x53bf21++];_0x170928=_0x360fbe,_0xdfe074=_0xf9225b,_0x2241bf=_0x4328cf,_0x231ed0=_0x4dc9cc;}var _0x360fbe=(_0x1aa666[_0x170928>>>0x18]<<0x18|_0x1aa666[_0xdfe074>>>0x10&0xff]<<0x10|_0x1aa666[_0x2241bf>>>0x8&0xff]<<0x8|_0x1aa666[_0x231ed0&0xff])^_0x2d0a76[_0x53bf21++],_0xf9225b=(_0x1aa666[_0xdfe074>>>0x18]<<0x18|_0x1aa666[_0x2241bf>>>0x10&0xff]<<0x10|_0x1aa666[_0x231ed0>>>0x8&0xff]<<0x8|_0x1aa666[_0x170928&0xff])^_0x2d0a76[_0x53bf21++],_0x4328cf=(_0x1aa666[_0x2241bf>>>0x18]<<0x18|_0x1aa666[_0x231ed0>>>0x10&0xff]<<0x10|_0x1aa666[_0x170928>>>0x8&0xff]<<0x8|_0x1aa666[_0xdfe074&0xff])^_0x2d0a76[_0x53bf21++],_0x4dc9cc=(_0x1aa666[_0x231ed0>>>0x18]<<0x18|_0x1aa666[_0x170928>>>0x10&0xff]<<0x10|_0x1aa666[_0xdfe074>>>0x8&0xff]<<0x8|_0x1aa666[_0x2241bf&0xff])^_0x2d0a76[_0x53bf21++];_0x148eda[_0x52376d]=_0x360fbe,_0x148eda[_0x52376d+0x1]=_0xf9225b,_0x148eda[_0x52376d+0x2]=_0x4328cf,_0x148eda[_0x52376d+0x3]=_0x4dc9cc;},'keySize':0x100/0x20});_0x4e9b90[_0x441ebd(0x2d8)]=_0x56c975[_0x441ebd(0x29a)](_0x3378e6);}()),_0x30d9f0[_0x110d26(0x2d8)];}));}(_0x2ca97d)),_0x2ca97d[_0x3e2732(0x1df)];}var _0x11e6fe=_0x14c2b4();const _0x25d5ba=_0xe49ff(_0x11e6fe);var _0x53c254=_0x395561();const _0x3d3b28=_0xe49ff(_0x53c254);var _0x25b86d={'exports':{}},_0x3cb474=_0x25b86d['exports'],_0x503f9a;function _0x13cf74(){var _0x5b9835=_0x148bdb;return _0x503f9a||(_0x503f9a=0x1,function(_0x11783e,_0x104363){(function(_0x4c8fe5,_0x1d79e0){var _0x132b47=_0x23b0;_0x11783e[_0x132b47(0x1df)]=_0x1d79e0(_0x18eaee());}(_0x3cb474,function(_0x6bf436){var _0x53de68=_0x23b0;return _0x6bf436[_0x53de68(0x1c9)]['Utf8'];}));}(_0x25b86d)),_0x25b86d[_0x5b9835(0x1df)];}var _0x42c9df=_0x13cf74();const _0x139f6d=_0xe49ff(_0x42c9df);var _0x3a4d9f={'exports':{}},_0x1df192=_0x3a4d9f[_0x148bdb(0x1df)],_0x2aa386;function _0x2cccad(){var _0x3ed485=_0x148bdb;return _0x2aa386||(_0x2aa386=0x1,function(_0x3df365,_0x4a8adb){(function(_0x3a56e4,_0x122f66){var _0x5eb25c=_0x23b0;_0x3df365[_0x5eb25c(0x1df)]=_0x122f66(_0x18eaee());}(_0x1df192,function(_0x1d3f74){var _0x10584c=_0x23b0;return(function(){var _0x4b0dad=_0x23b0;if(typeof ArrayBuffer==_0x4b0dad(0x3d2)){var _0x38861f=_0x1d3f74,_0xd9c8dd=_0x38861f[_0x4b0dad(0x15a)],_0x3cdcda=_0xd9c8dd[_0x4b0dad(0x361)],_0x542207=_0x3cdcda[_0x4b0dad(0x40a)],_0x11978b=_0x3cdcda[_0x4b0dad(0x40a)]=function(_0x30bf6d){var _0x2e9727=_0x4b0dad;if(_0x30bf6d instanceof ArrayBuffer&&(_0x30bf6d=new Uint8Array(_0x30bf6d)),(_0x30bf6d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x30bf6d instanceof Uint8ClampedArray||_0x30bf6d instanceof Int16Array||_0x30bf6d instanceof Uint16Array||_0x30bf6d instanceof Int32Array||_0x30bf6d instanceof Uint32Array||_0x30bf6d instanceof Float32Array||_0x30bf6d instanceof Float64Array)&&(_0x30bf6d=new Uint8Array(_0x30bf6d[_0x2e9727(0x236)],_0x30bf6d[_0x2e9727(0x24e)],_0x30bf6d[_0x2e9727(0x3b8)])),_0x30bf6d instanceof Uint8Array){for(var _0x539a54=_0x30bf6d[_0x2e9727(0x3b8)],_0x69a33=[],_0x414acf=0x0;_0x414acf<_0x539a54;_0x414acf++)_0x69a33[_0x414acf>>>0x2]|=_0x30bf6d[_0x414acf]<<0x18-_0x414acf%0x4*0x8;_0x542207['call'](this,_0x69a33,_0x539a54);}else _0x542207['apply'](this,arguments);};_0x11978b['prototype']=_0x3cdcda;}}()),_0x1d3f74[_0x10584c(0x15a)][_0x10584c(0x361)];}));}(_0x3a4d9f)),_0x3a4d9f[_0x3ed485(0x1df)];}var _0x2ae128=_0x2cccad();const _0x5756b7=_0xe49ff(_0x2ae128);var _0x4ea926={'exports':{}},_0x82583b=_0x4ea926['exports'],_0x248f4c;function _0x3e9d75(){var _0x5a90cc=_0x148bdb;return _0x248f4c||(_0x248f4c=0x1,function(_0x1c5fdf,_0x341171){(function(_0x4edbb9,_0xa50cc9,_0x3fd166){_0x1c5fdf['exports']=_0xa50cc9(_0x18eaee(),_0x469df1());}(_0x82583b,function(_0x37db12){var _0x4211a2=_0x23b0;return _0x37db12[_0x4211a2(0x1e6)][_0x4211a2(0x3c0)]={'pad':function(){},'unpad':function(){}},_0x37db12[_0x4211a2(0x1e6)][_0x4211a2(0x3c0)];}));}(_0x4ea926)),_0x4ea926[_0x5a90cc(0x1df)];}var _0xc77ea2=_0x3e9d75();const _0x55ca76=_0xe49ff(_0xc77ea2);function _0x35b6a5(_0x459fa2,_0x1e39dc){var _0x3b6cfe=_0x148bdb;const _0x3b888a=_0x1e39dc-_0x459fa2[_0x3b6cfe(0x151)]%_0x1e39dc,_0x2722a6=String[_0x3b6cfe(0x2de)](_0x3b888a)[_0x3b6cfe(0x3f1)](_0x3b888a);return _0x459fa2+_0x2722a6;}function _0x2920b4(_0x48da2a,_0x227062){var _0x51e1f7=_0x148bdb;const _0x4a3a75=_0x5756b7[_0x51e1f7(0x164)](0x10),_0x3abaff=_0x35b6a5(_0x48da2a,0x10),_0x4e2341=_0x25d5ba[_0x51e1f7(0x428)](_0x139f6d['parse'](_0x3abaff),_0x3d3b28['parse'](_0x227062),{'iv':_0x4a3a75,'padding':_0x55ca76});return _0x4a3a75[_0x51e1f7(0x2f0)](_0x4e2341[_0x51e1f7(0x37b)])[_0x51e1f7(0x3de)](_0x3d3b28);}function _0x56c885(){var _0x46f1e8=_0x148bdb;const _0x17a03b=_0x243b36[_0x46f1e8(0x2cc)]()[_0x46f1e8(0x1b5)];if(_0x17a03b){const _0x355fa9={'time':Math[_0x46f1e8(0xfe)](Date[_0x46f1e8(0x301)]()/0x3e8),'domain':location[_0x46f1e8(0x402)]};return _0x2920b4(JSON['stringify'](_0x355fa9),_0x17a03b);}}var _0xc3de08=Object[_0x148bdb(0x411)],_0x203baf=Object[_0x148bdb(0xea)],_0x410751=(_0x1ea9cf,_0x192ce4,_0xdc508e,_0x24030f)=>{var _0x203ca6=_0x148bdb;for(var _0x4a15fb=_0x24030f>0x1?void 0x0:_0x24030f?_0x203baf(_0x192ce4,_0xdc508e):_0x192ce4,_0x10f7c3=_0x1ea9cf[_0x203ca6(0x151)]-0x1,_0x135ca9;_0x10f7c3>=0x0;_0x10f7c3--)(_0x135ca9=_0x1ea9cf[_0x10f7c3])&&(_0x4a15fb=(_0x24030f?_0x135ca9(_0x192ce4,_0xdc508e,_0x4a15fb):_0x135ca9(_0x4a15fb))||_0x4a15fb);return _0x24030f&&_0x4a15fb&&_0xc3de08(_0x192ce4,_0xdc508e,_0x4a15fb),_0x4a15fb;},_0x1c0565=(_0x5f0c23,_0x567a68)=>(_0x784b0d,_0x4ba24e)=>_0x567a68(_0x784b0d,_0x4ba24e,_0x5f0c23);let _0x518363=class{constructor(_0x16ed5c){var _0x2cb5b7=_0x148bdb;this[_0x2cb5b7(0x2b7)]=_0x16ed5c,this['_initRequestHeader']();}[_0x148bdb(0x3b4)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x4a63b0,_0x39600b)=>{var _0x25e451=_0x23b0;const _0x427228=_0x4a63b0['headers'],_0x4f23d0=_0x56c885();return _0x4f23d0&&_0x427228[_0x25e451(0x1ed)](_0x25e451(0x338),_0x4f23d0),_0x39600b(_0x4a63b0);}});}};_0x518363=_0x410751([_0x1c0565(0x0,_0x38c92c['Inject'](_0x3bdd40['HTTPService']))],_0x518363);var _0x1980ae=Object[_0x148bdb(0x411)],_0x523dbe=Object[_0x148bdb(0xea)],_0x5d0289=(_0x3a4c2b,_0x38cb60,_0x3b2ea6,_0x141193)=>{for(var _0x449de4=_0x141193>0x1?void 0x0:_0x141193?_0x523dbe(_0x38cb60,_0x3b2ea6):_0x38cb60,_0x5d8466=_0x3a4c2b['length']-0x1,_0x1f841e;_0x5d8466>=0x0;_0x5d8466--)(_0x1f841e=_0x3a4c2b[_0x5d8466])&&(_0x449de4=(_0x141193?_0x1f841e(_0x38cb60,_0x3b2ea6,_0x449de4):_0x1f841e(_0x449de4))||_0x449de4);return _0x141193&&_0x449de4&&_0x1980ae(_0x38cb60,_0x3b2ea6,_0x449de4),_0x449de4;},_0xbb9bb8=(_0x5e4e88,_0x3de56c)=>(_0x173beb,_0x459f40)=>_0x3de56c(_0x173beb,_0x459f40,_0x5e4e88);_0x31903a[_0x148bdb(0x247)]=class extends _0x38c92c[_0x148bdb(0x29b)]{constructor(_0x231e7f,_0x158ba7,_0xeb8cbe){var _0x884073=_0x148bdb;super(),_0x3f7bc0(this,_0x884073(0x1a1),new _0x30238b[(_0x884073(0x463))](null)),_0x3f7bc0(this,_0x884073(0x3bf),this[_0x884073(0x1a1)]['asObservable']()),(this[_0x884073(0x1a0)]=_0x231e7f,this[_0x884073(0x259)]=_0x158ba7,this[_0x884073(0x470)]=_0xeb8cbe);}async[_0x148bdb(0xdc)](_0x249f21,_0x1461f4,_0x1c799b){var _0x44c6a4=_0x148bdb;this[_0x44c6a4(0x1a1)][_0x44c6a4(0x334)]({'unitId':_0x249f21,'type':_0x1461f4,'subUnitId':_0x1c799b});let _0x53d461=null;switch(_0x1461f4){case _0x46c79d[_0x44c6a4(0x1d6)]:{_0x53d461=await this[_0x44c6a4(0x238)](_0x249f21);break;}case _0x46c79d[_0x44c6a4(0x3fa)]:{_0x53d461=await this[_0x44c6a4(0x303)](_0x249f21);break;}default:{this[_0x44c6a4(0x1a0)][_0x44c6a4(0x408)](_0x44c6a4(0x46c),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x53d461;}async[_0x148bdb(0x238)](_0x5588a5){var _0x184535=_0x148bdb,_0x26f62e;let _0x2a5cb4=0x0;const _0xf643a5=await((_0x26f62e=this[_0x184535(0x470)])==null?void 0x0:_0x26f62e[_0x184535(0x443)](_0x5588a5));return _0xf643a5&&(_0xf643a5['awaitingChangeset']||_0xf643a5[_0x184535(0x28f)][_0x184535(0x151)]!==0x0)&&(_0x2a5cb4=_0xf643a5[_0x184535(0x3b9)]),_0x2a5cb4===0x0&&this[_0x184535(0x1a0)]['debug'](_0x184535(0x46c),_0x184535(0x14c)),this[_0x184535(0x259)][_0x184535(0x3a6)](_0x5588a5,_0x2a5cb4);}async['_loadDoc'](_0x38ea86){var _0x21a80c=_0x148bdb,_0x2b1c77;let _0x5b8d75=0x0;const _0x402fd3=await((_0x2b1c77=this[_0x21a80c(0x470)])==null?void 0x0:_0x2b1c77[_0x21a80c(0x443)](_0x38ea86));return _0x402fd3&&(_0x402fd3[_0x21a80c(0x394)]||_0x402fd3[_0x21a80c(0x28f)][_0x21a80c(0x151)]!==0x0)&&(_0x5b8d75=_0x402fd3[_0x21a80c(0x3b9)]),_0x5b8d75===0x0&&this[_0x21a80c(0x1a0)][_0x21a80c(0x445)](_0x21a80c(0x46c),_0x21a80c(0x14c)),this[_0x21a80c(0x259)][_0x21a80c(0x283)](_0x38ea86,_0x5b8d75);}},_0x31903a['DataLoaderService']=_0x5d0289([_0xbb9bb8(0x0,_0x38c92c[_0x148bdb(0x3e4)]),_0xbb9bb8(0x1,_0x38c92c['Inject'](_0x427fbe[_0x148bdb(0x273)])),_0xbb9bb8(0x2,_0x38c92c[_0x148bdb(0x38a)](_0x74bfb))],_0x31903a[_0x148bdb(0x247)]);var _0xffce08=Object[_0x148bdb(0x411)],_0x22929c=Object[_0x148bdb(0xea)],_0x495635=(_0x38b6d8,_0x229d62,_0x3f26ce,_0x3709cb)=>{var _0x1c6881=_0x148bdb;for(var _0x2d0a7d=_0x3709cb>0x1?void 0x0:_0x3709cb?_0x22929c(_0x229d62,_0x3f26ce):_0x229d62,_0x19d108=_0x38b6d8[_0x1c6881(0x151)]-0x1,_0x3960d8;_0x19d108>=0x0;_0x19d108--)(_0x3960d8=_0x38b6d8[_0x19d108])&&(_0x2d0a7d=(_0x3709cb?_0x3960d8(_0x229d62,_0x3f26ce,_0x2d0a7d):_0x3960d8(_0x2d0a7d))||_0x2d0a7d);return _0x3709cb&&_0x2d0a7d&&_0xffce08(_0x229d62,_0x3f26ce,_0x2d0a7d),_0x2d0a7d;},_0x5bcad8=(_0x122b8b,_0xd402c1)=>(_0x52725c,_0x35be43)=>_0xd402c1(_0x52725c,_0x35be43,_0x122b8b);const _0x5b26e9=['image/png','image/jpeg',_0x148bdb(0x177),'image/gif',_0x148bdb(0x2f7)],_0x429475=0x5*0x400*0x400,_0x2a3d0c=_0x148bdb(0x366),_0x411c07='/universer-api/stream/file/upload',_0x2594c5=_0x148bdb(0x46d),_0x57209c=_0x148bdb(0x3ef);_0x31903a[_0x148bdb(0x25c)]=class{constructor(_0x47fc3d,_0x1a465d,_0x5ddc3b){var _0x492179=_0x148bdb;_0x3f7bc0(this,'_waitCount',0x0),_0x3f7bc0(this,_0x492179(0x203),new _0x30238b[(_0x492179(0x1ee))]()),_0x3f7bc0(this,'change$',this['_change$']),_0x3f7bc0(this,_0x492179(0x378),new Map()),(this[_0x492179(0x2b7)]=_0x47fc3d,this[_0x492179(0x409)]=_0x1a465d,this[_0x492179(0x12c)]=_0x5ddc3b);}[_0x148bdb(0x35d)](_0x19bfcd){var _0x4e45f8=_0x148bdb;this[_0x4e45f8(0x468)]=_0x19bfcd,this[_0x4e45f8(0x203)][_0x4e45f8(0x334)](_0x19bfcd);}['getImageSourceCache'](_0x5e1250,_0x474d22){var _0x6cb578=_0x148bdb;if(_0x474d22===_0x286436[_0x6cb578(0x244)]['BASE64']){const _0x31ab98=new Image();return _0x31ab98[_0x6cb578(0x393)]=_0x5e1250,_0x31ab98;}return this[_0x6cb578(0x378)]['get'](_0x5e1250);}['addImageSourceCache'](_0x55a92f,_0x2ff76c,_0x3864de){var _0x28f67d=_0x148bdb;_0x2ff76c===_0x286436[_0x28f67d(0x244)][_0x28f67d(0x390)]||_0x3864de==null||this[_0x28f67d(0x378)]['set'](_0x55a92f,_0x3864de);}async[_0x148bdb(0x19f)](_0x432fb3){var _0x4bc439=_0x148bdb;try{const _0x59f64f=this[_0x4bc439(0x3cf)](this[_0x4bc439(0x406)](),''+_0x432fb3),_0x5393dc=(await this[_0x4bc439(0x2b7)][_0x4bc439(0x2d5)](_0x59f64f))[_0x4bc439(0x2be)];if(_0x5393dc['error']&&_0x5393dc['error'][_0x4bc439(0x3e5)]===_0x1c6789['OK']){const _0x1490fc=new URL(_0x5393dc[_0x4bc439(0x20f)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x4bc439(0x3a0)](_0x1490fc);}return Promise['reject'](_0x5393dc[_0x4bc439(0x408)]);}catch(_0x1925b9){return Promise[_0x4bc439(0x33b)](_0x1925b9);}}async[_0x148bdb(0xee)](_0x5c0795){var _0x4e9dc0=_0x148bdb;let _0x207fcf='';if(!_0x5b26e9[_0x4e9dc0(0x3bd)](_0x5c0795['type']))return this[_0x4e9dc0(0x17e)](),Promise['reject'](new Error(_0x286436[_0x4e9dc0(0x469)][_0x4e9dc0(0x35c)]));if(_0x5c0795[_0x4e9dc0(0x10e)]>_0x429475)return this[_0x4e9dc0(0x17e)](),Promise[_0x4e9dc0(0x33b)](new Error(_0x286436['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x2d205f=new FormData();_0x2d205f['append'](_0x4e9dc0(0x3f6),_0x5c0795);const _0x2742bc=this['_univerInstanceService'][_0x4e9dc0(0x1e7)](),_0x1b1dee=_0x2742bc==null?void 0x0:_0x2742bc['getUnitId']();if(!_0x1b1dee)throw new Error(_0x4e9dc0(0x343));const _0xbd1613=this[_0x4e9dc0(0x195)]()+_0x4e9dc0(0x173)+_0x5c0795[_0x4e9dc0(0x10e)][_0x4e9dc0(0x3de)]()+_0x4e9dc0(0x431)+_0x17ed54[_0x4e9dc0(0x17d)]+_0x4e9dc0(0x14f)+encodeURIComponent(_0x1b1dee),_0x26ef53=await(await fetch(_0xbd1613,{'method':'POST','body':_0x2d205f}))[_0x4e9dc0(0x143)]();if(typeof _0x26ef53[_0x4e9dc0(0x452)]!=_0x4e9dc0(0xf3))return this[_0x4e9dc0(0x17e)](),Promise[_0x4e9dc0(0x33b)](new Error(_0x286436['ImageUploadStatusType'][_0x4e9dc0(0xef)]));_0x207fcf=_0x26ef53[_0x4e9dc0(0x452)];}catch{return this[_0x4e9dc0(0x17e)](),Promise['reject'](new Error(_0x286436[_0x4e9dc0(0x469)][_0x4e9dc0(0xef)]));}return new Promise((_0x3cc7f2,_0x22f8a5)=>{var _0x5edde9=_0x4e9dc0;const _0x291715=new FileReader();_0x291715[_0x5edde9(0x2cb)](_0x5c0795),_0x291715[_0x5edde9(0x2c8)]=_0x540155=>{var _0x332ce9=_0x5edde9,_0x785b3;const _0xeb4f34=(_0x785b3=_0x540155['target'])==null?void 0x0:_0x785b3[_0x332ce9(0x175)];if(_0xeb4f34==null){this[_0x332ce9(0x17e)](),_0x22f8a5(new Error(_0x286436[_0x332ce9(0x469)][_0x332ce9(0xef)]));return;}const _0x103b05=_0x38c92c[_0x332ce9(0x30c)][_0x332ce9(0x267)](0x6);_0x3cc7f2({'imageId':_0x103b05,'imageSourceType':_0x286436[_0x332ce9(0x244)]['UUID'],'source':_0x207fcf,'base64Cache':_0xeb4f34,'status':_0x286436[_0x332ce9(0x469)][_0x332ce9(0x1b6)]}),this[_0x332ce9(0x17e)]();};});}[_0x148bdb(0x195)](){var _0x572c1d=_0x148bdb,_0x182cb1,_0x5d7c8e;const _0x1e153e=this[_0x572c1d(0x409)][_0x572c1d(0x43a)](_0x2a3d0c),_0x2a9387=this[_0x572c1d(0x409)]['getConfig'](_0x1f5f1c);return(_0x5d7c8e=(_0x182cb1=_0x2a9387==null?void 0x0:_0x2a9387['uploadFileServerUrl'])!=null?_0x182cb1:_0x1e153e)!=null?_0x5d7c8e:_0x411c07;}[_0x148bdb(0x406)](){var _0x4b357a=_0x148bdb,_0xd506ba,_0x3d95b7;const _0x1ccc1c=this[_0x4b357a(0x409)][_0x4b357a(0x43a)](_0x2594c5),_0x4486ed=this['_configService'][_0x4b357a(0x43a)](_0x1f5f1c);return(_0x3d95b7=(_0xd506ba=_0x4486ed==null?void 0x0:_0x4486ed[_0x4b357a(0x356)])!=null?_0xd506ba:_0x1ccc1c)!=null?_0x3d95b7:_0x57209c;}[_0x148bdb(0x2b5)](){var _0x38f12b=_0x148bdb,_0x38e02b;const _0xa7c453=this[_0x38f12b(0x409)]['getConfig'](_0x1f5f1c);return(_0x38e02b=_0xa7c453==null?void 0x0:_0xa7c453[_0x38f12b(0x453)])!=null?_0x38e02b:location['origin'];}[_0x148bdb(0x3cf)](_0x48f5ed,_0x94fd87){var _0x575c5f=_0x148bdb;return _0x48f5ed[_0x575c5f(0x250)]('{fileID}',_0x94fd87);}[_0x148bdb(0x17e)](){var _0x92e6a1=_0x148bdb;this[_0x92e6a1(0x468)]-=0x1,this[_0x92e6a1(0x203)]['next'](this['_waitCount']);}},_0x31903a[_0x148bdb(0x25c)]=_0x495635([_0x5bcad8(0x0,_0x38c92c[_0x148bdb(0x2b3)](_0x3bdd40[_0x148bdb(0x248)])),_0x5bcad8(0x1,_0x38c92c[_0x148bdb(0x37e)]),_0x5bcad8(0x2,_0x38c92c['Inject'](_0x38c92c[_0x148bdb(0x3e7)]))],_0x31903a[_0x148bdb(0x25c)]);var _0x4658ec=Object[_0x148bdb(0x411)],_0x33e0e4=Object[_0x148bdb(0xea)],_0x73d832=(_0x13104e,_0x2f32e6,_0x524d2d,_0x150ef6)=>{for(var _0x59ca49=_0x150ef6>0x1?void 0x0:_0x150ef6?_0x33e0e4(_0x2f32e6,_0x524d2d):_0x2f32e6,_0x3d8cae=_0x13104e['length']-0x1,_0x1f0e1f;_0x3d8cae>=0x0;_0x3d8cae--)(_0x1f0e1f=_0x13104e[_0x3d8cae])&&(_0x59ca49=(_0x150ef6?_0x1f0e1f(_0x2f32e6,_0x524d2d,_0x59ca49):_0x1f0e1f(_0x59ca49))||_0x59ca49);return _0x150ef6&&_0x59ca49&&_0x4658ec(_0x2f32e6,_0x524d2d,_0x59ca49),_0x59ca49;},_0x1f8cf9=(_0x20c6c2,_0x40d574)=>(_0x1217e3,_0x9a3a45)=>_0x40d574(_0x1217e3,_0x9a3a45,_0x20c6c2);const _0x4a06bd=_0x148bdb(0x1b0);_0x31903a[_0x148bdb(0x46b)]=class{constructor(_0x54d5be,_0x5ac753){var _0x22f437=_0x148bdb;this[_0x22f437(0x409)]=_0x54d5be,this['_HTTPService']=_0x5ac753;}[_0x148bdb(0x13a)](){var _0x4e34fc=_0x148bdb,_0x35855e,_0x4d4528;const _0x3e603a=this[_0x4e34fc(0x409)][_0x4e34fc(0x43a)](_0x1f3d9f),_0x3a0072=this['_configService']['getConfig'](_0x1f5f1c);return(_0x4d4528=(_0x35855e=_0x3a0072==null?void 0x0:_0x3a0072[_0x4e34fc(0x398)])!=null?_0x35855e:_0x3e603a)!=null?_0x4d4528:_0x4a06bd;}async[_0x148bdb(0x2ae)](_0x338a9a){var _0x507e8d=_0x148bdb;const _0x4b9b26=this[_0x507e8d(0x13a)]()+_0x507e8d(0x38c);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x507e8d(0x2d5)](_0x4b9b26,{'params':{'objectID':_0x338a9a['unitId'],'unitID':_0x338a9a['unitId']}}))[_0x507e8d(0x2be)][_0x507e8d(0x45e)][_0x507e8d(0x337)](_0x384da4=>({'objectId':_0x384da4['id'],'name':_0x384da4[_0x507e8d(0x2af)][_0x507e8d(0x269)],'metadata':{'icon':_0x384da4['subject']['avatar']},'label':_0x384da4[_0x507e8d(0x2af)][_0x507e8d(0x269)],'objectType':_0x38c92c[_0x507e8d(0x40e)][_0x507e8d(0x2f2)]})),'metadata':{},'type':_0x38c92c['MentionType'][_0x507e8d(0x2f2)]}]};}},_0x31903a[_0x148bdb(0x46b)]=_0x73d832([_0x1f8cf9(0x0,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c['IConfigService'])),_0x1f8cf9(0x1,_0x38c92c[_0x148bdb(0x2b3)](_0x3bdd40['HTTPService']))],_0x31903a[_0x148bdb(0x46b)]);var _0x37e9b1=Object[_0x148bdb(0x411)],_0x56808e=Object['getOwnPropertyDescriptor'],_0xfbbbf7=(_0x540ae9,_0x5665c9,_0x37d4fd,_0x5d32c8)=>{for(var _0x206cef=_0x5d32c8>0x1?void 0x0:_0x5d32c8?_0x56808e(_0x5665c9,_0x37d4fd):_0x5665c9,_0x54fdfa=_0x540ae9['length']-0x1,_0x5d0f15;_0x54fdfa>=0x0;_0x54fdfa--)(_0x5d0f15=_0x540ae9[_0x54fdfa])&&(_0x206cef=(_0x5d32c8?_0x5d0f15(_0x5665c9,_0x37d4fd,_0x206cef):_0x5d0f15(_0x206cef))||_0x206cef);return _0x5d32c8&&_0x206cef&&_0x37e9b1(_0x5665c9,_0x37d4fd,_0x206cef),_0x206cef;},_0x405e0a=(_0x53d750,_0x262590)=>(_0x1f0b2e,_0x2141c2)=>_0x262590(_0x1f0b2e,_0x2141c2,_0x53d750);let _0x2c15ba=class extends _0x38c92c[_0x148bdb(0x29b)]{constructor(_0x180641,_0x7e64fc,_0xc43704,_0x6c414a,_0x55b2a6,_0x4f07a5,_0x3ed8e1){var _0x456db9=_0x148bdb;super(),this[_0x456db9(0x1ad)]=_0x180641,this['_univerInstanceService']=_0x7e64fc,this[_0x456db9(0x3fc)]=_0xc43704,this[_0x456db9(0x2d9)]=_0x6c414a,this[_0x456db9(0x19c)]=_0x55b2a6,this[_0x456db9(0x2b1)]=_0x4f07a5,this[_0x456db9(0x33c)]=_0x3ed8e1,this['_initUnitPermissionChange'](),this[_0x456db9(0x2ad)]();}[_0x148bdb(0x2ad)](){var _0x19f00a=_0x148bdb;const _0x40e18c=async _0x557f36=>{var _0x5f1f6f=_0x23b0;(await this['_collaborationSessionService'][_0x5f1f6f(0x302)](_0x557f36))[_0x5f1f6f(0x293)]['pipe'](_0x190d1f[_0x5f1f6f(0x161)](_0x5d8ad6=>_0x5d8ad6[_0x5f1f6f(0x17b)]===_0x427fbe[_0x5f1f6f(0x214)][_0x5f1f6f(0x1e0)]),_0x190d1f[_0x5f1f6f(0x187)](this[_0x5f1f6f(0x304)]))[_0x5f1f6f(0x2bc)](_0x558378=>{var _0x2a9423=_0x5f1f6f;const _0xdb9850=_0x558378,{reason:_0x7c7645}=_0xdb9850[_0x2a9423(0x3f2)];this[_0x2a9423(0x19c)][_0x2a9423(0x29f)]({'id':_0x22314e['CLOSE_ROOM'],'data':_0x7c7645}),this[_0x2a9423(0x3fc)][_0x2a9423(0x2e3)](new _0x3eb888[(_0x2a9423(0x10f))](_0x557f36)['id'],!0x1),this[_0x2a9423(0x2d9)][_0x2a9423(0x2c5)](_0x557f36);});};_0x30238b[_0x19f00a(0x355)](this['_univerInstanceService'][_0x19f00a(0x20e)](_0x38c92c[_0x19f00a(0x16b)][_0x19f00a(0x1d6)]),this[_0x19f00a(0x12c)][_0x19f00a(0x20e)](_0x38c92c[_0x19f00a(0x16b)][_0x19f00a(0x3fa)]))[_0x19f00a(0x3a3)](_0x190d1f[_0x19f00a(0x337)](_0x32a988=>_0x32a988['getUnitId']()),_0x190d1f['filter'](_0x435cb9=>!_0x38c92c[_0x19f00a(0x12e)](_0x435cb9)),_0x190d1f[_0x19f00a(0x187)](this['dispose$']))['subscribe'](_0x4d9b09=>{_0x40e18c(_0x4d9b09);});}[_0x148bdb(0x30f)](){var _0x682aa9=_0x148bdb;const _0x1f882f=async _0x280339=>{var _0x24da6d=_0x23b0;(await this[_0x24da6d(0x2d9)]['requireSession'](_0x280339))['event$'][_0x24da6d(0x3a3)](_0x190d1f[_0x24da6d(0x161)](_0xa2685a=>_0xa2685a[_0x24da6d(0x17b)]===_0x427fbe[_0x24da6d(0x214)]['UPDATE_PERMISSION_OBJ']),_0x190d1f[_0x24da6d(0x187)](this[_0x24da6d(0x304)]))[_0x24da6d(0x2bc)](_0x1d0f78=>{var _0x35caec=_0x24da6d;const _0x106fba=_0x1d0f78,{objectId:_0x98ec8b}=_0x106fba[_0x35caec(0x3f2)];_0x98ec8b===_0x280339?this[_0x35caec(0x41f)](_0x280339):this[_0x35caec(0x42a)](_0x280339,_0x98ec8b);});};_0x30238b['merge'](this[_0x682aa9(0x12c)][_0x682aa9(0x20e)](_0x38c92c[_0x682aa9(0x16b)][_0x682aa9(0x1d6)]),this[_0x682aa9(0x12c)][_0x682aa9(0x20e)](_0x38c92c[_0x682aa9(0x16b)][_0x682aa9(0x3fa)]))[_0x682aa9(0x3a3)](_0x190d1f[_0x682aa9(0x337)](_0x59f173=>_0x59f173[_0x682aa9(0x300)]()),_0x190d1f[_0x682aa9(0x161)](_0x586387=>!_0x38c92c[_0x682aa9(0x12e)](_0x586387)),_0x190d1f[_0x682aa9(0x187)](this[_0x682aa9(0x304)]))[_0x682aa9(0x2bc)](_0x350888=>{_0x1f882f(_0x350888);});}async[_0x148bdb(0x41f)](_0x2ebab9){var _0x538047=_0x148bdb,_0x3b8e44;const _0x447b10=_0x2ebab9||((_0x3b8e44=this[_0x538047(0x12c)][_0x538047(0x395)](_0x38c92c[_0x538047(0x16b)][_0x538047(0x1d6)]))==null?void 0x0:_0x3b8e44[_0x538047(0x300)]());_0x447b10&&this[_0x538047(0x2b1)]['allowed']({'objectID':_0x447b10,'objectType':_0x3eb888['UnitObject']['Workbook'],'unitID':_0x447b10,'actions':_0x3eb888[_0x538047(0x1f9)]})[_0x538047(0x458)](_0x4f8c0d=>{var _0x19c1b1=_0x538047;_0x3eb888[_0x19c1b1(0x1be)]()[_0x19c1b1(0x42d)](_0x18a9ae=>{var _0x515b3f=_0x19c1b1;const _0x13b76a=new _0x18a9ae(_0x447b10),_0x4e2a1c=_0x13b76a[_0x515b3f(0x105)],_0x2f9ca3=_0x4f8c0d['find'](_0x486985=>_0x486985[_0x515b3f(0x3c8)]===_0x4e2a1c);_0x2f9ca3&&this[_0x515b3f(0x3fc)][_0x515b3f(0x2e3)](_0x13b76a['id'],_0x2f9ca3[_0x515b3f(0x3aa)]);});});}[_0x148bdb(0x42a)](_0x179ebe,_0x379ad8){var _0xf0317a=_0x148bdb;const _0x12b66a=this[_0xf0317a(0x1ad)][_0xf0317a(0x2d5)](_0x3eb888[_0xf0317a(0x141)]),_0xf65664=_0x12b66a[_0xf0317a(0x1c0)](_0x179ebe,_0x379ad8);let _0x17267b=!0x1;if(_0xf65664){const [_0xe8196a,_0x39e20a]=_0xf65664;this[_0xf0317a(0x2b1)][_0xf0317a(0x3aa)]({'objectID':_0x379ad8,'unitID':_0x179ebe,'objectType':_0x3eb888['UnitObject'][_0xf0317a(0x2c2)],'actions':_0x3eb888[_0xf0317a(0x13e)]})[_0xf0317a(0x458)](_0x1f61b=>{var _0x1c5dcf=_0xf0317a;let _0x27f228='';_0x3eb888[_0x1c5dcf(0x1ec)]()[_0x1c5dcf(0x42d)](_0x5c01b7=>{var _0x42ac31=_0x1c5dcf,_0x45c3da;const _0x55ea1f=new _0x5c01b7(_0x179ebe,_0x39e20a),_0x299873=_0x55ea1f[_0x42ac31(0x105)],_0x4d9369=_0x1f61b['find'](_0x378112=>_0x378112[_0x42ac31(0x3c8)]===_0x299873);_0x4d9369&&(((_0x45c3da=this[_0x42ac31(0x3fc)][_0x42ac31(0x3f7)](_0x55ea1f['id']))==null?void 0x0:_0x45c3da[_0x42ac31(0x263)])!==_0x4d9369[_0x42ac31(0x3aa)]&&(_0x17267b=!0x0),this['_permissionService'][_0x42ac31(0x2e3)](_0x55ea1f['id'],_0x4d9369[_0x42ac31(0x3aa)]),_0x27f228+=_0x4d9369[_0x42ac31(0x3c8)]+'_'+_0x4d9369['allowed']);}),_0x12b66a[_0x1c5dcf(0x276)](_0x379ad8+'_'+_0x27f228),_0x17267b&&this['_undoRedoService'][_0x1c5dcf(0x1f5)](_0x179ebe);});}const _0x271322=this[_0xf0317a(0x1ad)][_0xf0317a(0x2d5)](_0x3eb888['WorksheetProtectionPointModel'])[_0xf0317a(0x1c0)](_0x179ebe,_0x379ad8);if(_0x271322){const [_0x6a5345,_0x29f3d3]=_0x271322;this[_0xf0317a(0x2b1)][_0xf0317a(0x3aa)]({'objectID':_0x379ad8,'unitID':_0x179ebe,'objectType':_0x3eb888['UnitObject'][_0xf0317a(0x2c2)],'actions':_0x3eb888[_0xf0317a(0x461)]})[_0xf0317a(0x458)](_0x496849=>{var _0x4a3dbe=_0xf0317a;_0x3eb888[_0x4a3dbe(0x357)]()['forEach'](_0x484466=>{var _0x40b379=_0x4a3dbe,_0xc038b6;const _0x7db1f4=new _0x484466(_0x179ebe,_0x29f3d3),_0x5c162a=_0x7db1f4[_0x40b379(0x105)],_0x1f3914=_0x496849[_0x40b379(0x3a9)](_0x53b2d8=>_0x53b2d8[_0x40b379(0x3c8)]===_0x5c162a);_0x1f3914&&(((_0xc038b6=this[_0x40b379(0x3fc)][_0x40b379(0x3f7)](_0x7db1f4['id']))==null?void 0x0:_0xc038b6[_0x40b379(0x263)])!==_0x1f3914[_0x40b379(0x3aa)]&&(_0x17267b=!0x0),this[_0x40b379(0x3fc)][_0x40b379(0x2e3)](_0x7db1f4['id'],_0x1f3914[_0x40b379(0x3aa)]));}),_0x17267b&&this[_0x4a3dbe(0x33c)][_0x4a3dbe(0x1f5)](_0x179ebe);});}const _0x1e7014=this[_0xf0317a(0x1ad)][_0xf0317a(0x2d5)](_0x3eb888[_0xf0317a(0x299)]),_0x44fef1=_0x1e7014[_0xf0317a(0x1c0)](_0x179ebe,_0x379ad8);if(_0x44fef1){const [_0x4b8b98,_0x56dae4]=_0x44fef1;this[_0xf0317a(0x2b1)]['allowed']({'objectID':_0x379ad8,'unitID':_0x179ebe,'objectType':_0x3eb888[_0xf0317a(0x3cd)][_0xf0317a(0xe5)],'actions':_0x3eb888['baseProtectionActions']})['then'](_0x283dde=>{var _0xd59d2b=_0xf0317a;let _0x20f8bc='';_0x3eb888[_0xd59d2b(0x21e)]()[_0xd59d2b(0x42d)](_0x882cd4=>{var _0x1cca81=_0xd59d2b,_0x21a8c7;const _0x5169f7=new _0x882cd4(_0x179ebe,_0x56dae4,_0x379ad8),_0x790863=_0x5169f7[_0x1cca81(0x105)],_0x38523c=_0x283dde[_0x1cca81(0x3a9)](_0x5a608d=>_0x5a608d[_0x1cca81(0x3c8)]===_0x790863);_0x38523c&&(((_0x21a8c7=this[_0x1cca81(0x3fc)][_0x1cca81(0x3f7)](_0x5169f7['id']))==null?void 0x0:_0x21a8c7['value'])!==_0x38523c[_0x1cca81(0x3aa)]&&(_0x17267b=!0x0),this[_0x1cca81(0x3fc)]['updatePermissionPoint'](_0x5169f7['id'],_0x38523c[_0x1cca81(0x3aa)]),_0x20f8bc+=_0x38523c[_0x1cca81(0x3c8)]+'_'+_0x38523c[_0x1cca81(0x3aa)]);}),_0x1e7014[_0xd59d2b(0x276)](_0x379ad8+'_'+_0x20f8bc),_0x17267b&&this[_0xd59d2b(0x33c)][_0xd59d2b(0x1f5)](_0x179ebe);});}}};_0x2c15ba=_0xfbbbf7([_0x405e0a(0x0,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c[_0x148bdb(0x298)])),_0x405e0a(0x1,_0x38c92c[_0x148bdb(0x3e7)]),_0x405e0a(0x2,_0x38c92c[_0x148bdb(0x23e)]),_0x405e0a(0x3,_0x38c92c['Inject'](_0x31903a[_0x148bdb(0x2fe)])),_0x405e0a(0x4,_0x38c92c['Inject'](_0x387561)),_0x405e0a(0x5,_0x38c92c[_0x148bdb(0x2d0)]),_0x405e0a(0x6,_0x38c92c['IUndoRedoService'])],_0x2c15ba);var _0x4cf19d=Object[_0x148bdb(0x411)],_0x3199a3=Object[_0x148bdb(0xea)],_0x342cbe=(_0xe5c58b,_0x396598,_0x39bbbd,_0x156dfa)=>{var _0x4b0076=_0x148bdb;for(var _0xb585d1=_0x156dfa>0x1?void 0x0:_0x156dfa?_0x3199a3(_0x396598,_0x39bbbd):_0x396598,_0x6df2c6=_0xe5c58b[_0x4b0076(0x151)]-0x1,_0x1cefa5;_0x6df2c6>=0x0;_0x6df2c6--)(_0x1cefa5=_0xe5c58b[_0x6df2c6])&&(_0xb585d1=(_0x156dfa?_0x1cefa5(_0x396598,_0x39bbbd,_0xb585d1):_0x1cefa5(_0xb585d1))||_0xb585d1);return _0x156dfa&&_0xb585d1&&_0x4cf19d(_0x396598,_0x39bbbd,_0xb585d1),_0xb585d1;},_0xc79e7d=(_0x1c5644,_0x388df8)=>(_0x3be153,_0x6b4d30)=>_0x388df8(_0x3be153,_0x6b4d30,_0x1c5644);_0x31903a[_0x148bdb(0x29e)]=class{constructor(_0x20ad4e,_0x2d00bb){var _0x365e50=_0x148bdb;this[_0x365e50(0x409)]=_0x20ad4e,this[_0x365e50(0x2b7)]=_0x2d00bb;}async[_0x148bdb(0x1dd)](_0x470bc2,_0x1c043f){var _0x1df959=_0x148bdb,_0x11a7ef;const {unitID:_0x1a561b,type:_0xa80e18,revision:_0x5e8ee2=0x0}=_0x1c043f,_0x508746=this[_0x1df959(0x121)]()+'/'+_0xa80e18+_0x1df959(0x35e)+_0x1a561b+_0x1df959(0x33e)+_0x5e8ee2,_0x153ef0=(await this[_0x1df959(0x2b7)]['get'](_0x508746))[_0x1df959(0x2be)],_0x458ea1=(_0x11a7ef=_0x153ef0[_0x1df959(0x3dd)])==null?void 0x0:_0x11a7ef[_0x1df959(0x41e)];if(_0x458ea1){const _0x565833=_0x458ea1==null?void 0x0:_0x458ea1['originalMeta'],_0x23aed4=_0x427fbe['textEncoder'][_0x1df959(0x348)](_0x427fbe[_0x1df959(0x28a)](_0x565833));_0x458ea1[_0x1df959(0x1cc)]=_0x23aed4,Object['entries'](_0x458ea1[_0x1df959(0x1b2)])['forEach'](([,_0xaae7bf])=>{var _0x12b593=_0x1df959;const _0x1e9eba=_0xaae7bf[_0x12b593(0x1cc)],_0x35b982=_0x427fbe[_0x12b593(0x340)][_0x12b593(0x348)](_0x427fbe[_0x12b593(0x28a)](_0x1e9eba));_0xaae7bf[_0x12b593(0x1cc)]=_0x35b982;});}return _0x153ef0;}async['getSheetBlock'](_0x50b85c,_0x5d5df2){var _0x4c0600=_0x148bdb;const {unitID:_0x145296,type:_0x4a2d79,blockID:_0x5a8b5d}=_0x5d5df2,_0x514ea2=this[_0x4c0600(0x17a)]()+'/'+_0x4a2d79+_0x4c0600(0x35e)+_0x145296+'/block/'+_0x5a8b5d;return(await this[_0x4c0600(0x2b7)]['get'](_0x514ea2))[_0x4c0600(0x2be)];}async['getDeserializedSheetBlock'](_0x6ccd43,_0x6d1c99){var _0x1426b5=_0x148bdb;const {unitID:_0x5d379c,type:_0x3ab0f7,blockID:_0x1390dc}=_0x6d1c99,_0x5d49e5=this[_0x1426b5(0x17a)]()+_0x1426b5(0x3f8)+_0x3ab0f7+'/unit/'+_0x5d379c+_0x1426b5(0x3f8)+_0x1390dc;return(await this['_httpService'][_0x1426b5(0x2d5)](_0x5d49e5))[_0x1426b5(0x2be)];}async[_0x148bdb(0xec)](_0xf5f4,_0x51da0a){var _0x3a53ea=_0x148bdb;const {unitID:_0x12256b,type:_0x298b63,from:_0x2a3283,to:_0x2a791b}=_0x51da0a,_0x349b8f=this[_0x3a53ea(0x17a)]()+'/'+_0x298b63+_0x3a53ea(0x35e)+_0x12256b+'/fetchmissing?from='+_0x2a3283+'&to='+_0x2a791b;return(await this['_httpService'][_0x3a53ea(0x2d5)](_0x349b8f))[_0x3a53ea(0x2be)];}[_0x148bdb(0x121)](){var _0x1b2345=_0x148bdb,_0x1ae90a;return(_0x1ae90a=this[_0x1b2345(0x409)][_0x1b2345(0x43a)](_0x1d8b6b))!=null?_0x1ae90a:this[_0x1b2345(0x17a)]();}[_0x148bdb(0x17a)](){var _0x46c7fb=_0x148bdb,_0x54631c,_0x1c4e70;const _0x3a807d=this['_configService'][_0x46c7fb(0x43a)](_0xa5388),_0x5a615a=this[_0x46c7fb(0x409)]['getConfig'](_0x1f5f1c);return(_0x1c4e70=(_0x54631c=_0x5a615a==null?void 0x0:_0x5a615a[_0x46c7fb(0x31d)])!=null?_0x54631c:_0x3a807d)!=null?_0x1c4e70:_0x23d79e;}async[_0x148bdb(0x1e5)](_0xe908ff,_0x20ee4d){var _0x2c08cf=_0x148bdb;const _0x2ad190='/universer-api/snapshot/'+_0x20ee4d[_0x2c08cf(0x193)]+'/unit/'+_0x20ee4d[_0x2c08cf(0x174)]+_0x2c08cf(0x2c1);return(await this[_0x2c08cf(0x2b7)][_0x2c08cf(0x2d5)](_0x2ad190,{'params':{'resourceId':JSON[_0x2c08cf(0x2ba)](_0x20ee4d[_0x2c08cf(0x46e)])}}))[_0x2c08cf(0x2be)];}[_0x148bdb(0x349)](){var _0x46f5c2=_0x148bdb;throw new Error(_0x46f5c2(0x3ab));}[_0x148bdb(0x2ea)](){var _0x14c2e6=_0x148bdb;throw new Error(_0x14c2e6(0x3ab));}['saveChangeset'](){var _0x121136=_0x148bdb;throw new Error(_0x121136(0x3ab));}[_0x148bdb(0xe9)](){var _0x2e2b15=_0x148bdb;throw new Error(_0x2e2b15(0x3ab));}[_0x148bdb(0x311)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x31903a[_0x148bdb(0x29e)]=_0x342cbe([_0xc79e7d(0x0,_0x38c92c[_0x148bdb(0x37e)]),_0xc79e7d(0x1,_0x38c92c[_0x148bdb(0x2b3)](_0x3bdd40[_0x148bdb(0x248)]))],_0x31903a[_0x148bdb(0x29e)]);var _0x2e1d3d=Object[_0x148bdb(0x411)],_0x437df6=Object[_0x148bdb(0xea)],_0x3c8b2a=(_0x452af4,_0x21d30c,_0x37d615,_0x37f55e)=>{var _0x423755=_0x148bdb;for(var _0x3538ad=_0x37f55e>0x1?void 0x0:_0x37f55e?_0x437df6(_0x21d30c,_0x37d615):_0x21d30c,_0x346fef=_0x452af4[_0x423755(0x151)]-0x1,_0x35e89b;_0x346fef>=0x0;_0x346fef--)(_0x35e89b=_0x452af4[_0x346fef])&&(_0x3538ad=(_0x37f55e?_0x35e89b(_0x21d30c,_0x37d615,_0x3538ad):_0x35e89b(_0x3538ad))||_0x3538ad);return _0x37f55e&&_0x3538ad&&_0x2e1d3d(_0x21d30c,_0x37d615,_0x3538ad),_0x3538ad;},_0x38fb51=(_0x49818a,_0x4a4d3b)=>(_0x3c8901,_0x2b31b4)=>_0x4a4d3b(_0x3c8901,_0x2b31b4,_0x49818a);_0x31903a[_0x148bdb(0x21b)]=class extends _0x38c92c[_0x148bdb(0x196)]{constructor(_0x4581ad,_0x8c2126,_0x209818,_0x1b5530,_0x55a935){var _0x526afd=_0x148bdb;super(_0x4581ad,_0x8c2126,_0x209818),this[_0x526afd(0x341)]=_0x1b5530,this[_0x526afd(0x1a0)]=_0x55a935;}[_0x148bdb(0x122)](_0xbd1fa,_0x11e92b){var _0x26f645=_0x148bdb;const _0x5e12ac=this[_0x26f645(0x1de)](_0xbd1fa);if(_0x5e12ac)try{const _0x263d5f=this[_0x26f645(0x339)](_0x5e12ac,_0x11e92b);this['_substituteUndoStack'](_0xbd1fa,_0x263d5f);}catch(_0x2bd1ec){this[_0x26f645(0x1a0)][_0x26f645(0x408)](_0x26f645(0x138),_0x2bd1ec),this[_0x26f645(0x26b)](_0xbd1fa);}const _0x4d11a2=this['_getRedoStack'](_0xbd1fa);if(_0x4d11a2)try{const _0x3d292e=this[_0x26f645(0x339)](_0x4d11a2,_0x11e92b);this[_0x26f645(0x3f9)](_0xbd1fa,_0x3d292e);}catch(_0x33ba76){this[_0x26f645(0x1a0)][_0x26f645(0x408)](_0x33ba76),this[_0x26f645(0x447)](_0xbd1fa);}}[_0x148bdb(0x26b)](_0x4c9f24){var _0x17716c=_0x148bdb;const _0x545902=this['_getUndoStack'](_0x4c9f24);_0x545902&&(_0x545902[_0x17716c(0x151)]=0x0,this[_0x17716c(0x383)]());}[_0x148bdb(0x447)](_0x54ddb6){var _0x22cc5=_0x148bdb;const _0x436187=this['_getRedoStack'](_0x54ddb6);_0x436187&&(_0x436187[_0x22cc5(0x151)]=0x0,this[_0x22cc5(0x383)]());}[_0x148bdb(0xf6)](_0x52d6a8,_0x2050fe){var _0x2e1738=_0x148bdb;this[_0x2e1738(0x184)][_0x2e1738(0x1ed)](_0x52d6a8,_0x2050fe),this[_0x2e1738(0x383)]();}[_0x148bdb(0x3f9)](_0x5229eb,_0xb41fbd){var _0x1670b9=_0x148bdb;this[_0x1670b9(0x2ca)][_0x1670b9(0x1ed)](_0x5229eb,_0xb41fbd),this[_0x1670b9(0x383)]();}['_transformStack'](_0x157ccc,_0x3ae2d6){var _0x41bb1b=_0x148bdb;const _0x2c3e9f=[];let _0x52c136=_0x3ae2d6,_0x1a7b68=_0x3ae2d6;for(let _0x42ee87=_0x157ccc[_0x41bb1b(0x151)]-0x1;_0x42ee87>=0x0;_0x42ee87--){const {unitID:_0x148d3b,undoMutations:_0x2017f8,redoMutations:_0x480e6d}=_0x157ccc[_0x42ee87],_0x5ba65c=this[_0x41bb1b(0x341)]['transformMutationsWithChangeset'](_0x52c136,_0x2017f8),_0x5ee1d5=this[_0x41bb1b(0x341)][_0x41bb1b(0x429)](_0x1a7b68,_0x480e6d);if(_0x427fbe[_0x41bb1b(0x126)](_0x5ba65c)||_0x427fbe[_0x41bb1b(0x126)](_0x5ee1d5)){this[_0x41bb1b(0x1a0)]['error']('[CollaborationUndoRedoService]',_0x41bb1b(0x1cf),_0x5ba65c,_0x5ee1d5);break;}_0x52c136=_0x5ba65c[_0x41bb1b(0x32e)],_0x1a7b68=_0x5ee1d5[_0x41bb1b(0x32e)],_0x2c3e9f[_0x41bb1b(0x258)]({'unitID':_0x148d3b,'undoMutations':_0x5ba65c[_0x41bb1b(0x1fb)],'redoMutations':_0x5ee1d5[_0x41bb1b(0x1fb)]});}return _0x2c3e9f[_0x41bb1b(0xe1)]();}},_0x31903a[_0x148bdb(0x21b)]=_0x3c8b2a([_0x38fb51(0x0,_0x38c92c[_0x148bdb(0x3e7)]),_0x38fb51(0x1,_0x38c92c[_0x148bdb(0x23b)]),_0x38fb51(0x2,_0x38c92c['IContextService']),_0x38fb51(0x3,_0x427fbe[_0x148bdb(0x157)]),_0x38fb51(0x4,_0x38c92c[_0x148bdb(0x3e4)])],_0x31903a['CollaborativeUndoRedoService']);var _0x4604dd=Object[_0x148bdb(0x411)],_0x1a4981=Object[_0x148bdb(0xea)],_0x2431b5=(_0x841a4d,_0x40e11b,_0x1c2b68)=>_0x40e11b in _0x841a4d?_0x4604dd(_0x841a4d,_0x40e11b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c2b68}):_0x841a4d[_0x40e11b]=_0x1c2b68,_0x16cee7=(_0x23cf40,_0x4e68d1,_0x36bf6e,_0x1da133)=>{var _0x3a0881=_0x148bdb;for(var _0x48222c=_0x1da133>0x1?void 0x0:_0x1da133?_0x1a4981(_0x4e68d1,_0x36bf6e):_0x4e68d1,_0x1a197e=_0x23cf40[_0x3a0881(0x151)]-0x1,_0x122ae6;_0x1a197e>=0x0;_0x1a197e--)(_0x122ae6=_0x23cf40[_0x1a197e])&&(_0x48222c=(_0x1da133?_0x122ae6(_0x4e68d1,_0x36bf6e,_0x48222c):_0x122ae6(_0x48222c))||_0x48222c);return _0x1da133&&_0x48222c&&_0x4604dd(_0x4e68d1,_0x36bf6e,_0x48222c),_0x48222c;},_0xc727ce=(_0x497d1a,_0x3c6eb7)=>(_0x47d10e,_0x4cb129)=>_0x3c6eb7(_0x47d10e,_0x4cb129,_0x497d1a),_0x52c66e=(_0x506b5e,_0x1057dd,_0x36eb43)=>_0x2431b5(_0x506b5e,_0x1057dd+'',_0x36eb43);const _0x491c79=_0x148bdb(0x28b);_0x31903a[_0x148bdb(0x347)]=class extends _0x38c92c[_0x148bdb(0x1d7)]{constructor(_0x3b1f60=_0x244bf0,_0x113b5d,_0x7250df,_0x39c40a){var _0x33e2c9=_0x148bdb;super(),this[_0x33e2c9(0x221)]=_0x3b1f60,this[_0x33e2c9(0x1a0)]=_0x113b5d,this['_injector']=_0x7250df,this['_configService']=_0x39c40a;const {..._0x457f7e}=this[_0x33e2c9(0x221)];this[_0x33e2c9(0x409)]['setConfig'](_0x1f5f1c,_0x457f7e);}['onStarting'](){var _0x67fad6=_0x148bdb;this[_0x67fad6(0x182)](),this[_0x67fad6(0x185)]();}['_registerDependencies'](){var _0x45bf0b=_0x148bdb,_0x58a9de,_0x32b945,_0x25cb43,_0x4ea1fe;this[_0x45bf0b(0x1ad)][_0x45bf0b(0x150)](_0x38c92c[_0x45bf0b(0x373)])&&this['_logService'][_0x45bf0b(0x408)](_0x45bf0b(0x397),_0x45bf0b(0x441));const _0x3c90dc=_0x38c92c['mergeOverrideWithDependencies']([[_0x38c92c['IUndoRedoService'],{'useClass':_0x31903a['CollaborativeUndoRedoService']}],[_0x31903a[_0x45bf0b(0x2fe)]],[_0x31903a[_0x45bf0b(0x246)]],[_0x31903a[_0x45bf0b(0x39d)]],[_0x149f6f],[_0x518363],[_0x36a4b2],[_0x2c15ba],[_0x387561],[_0x31903a[_0x45bf0b(0x247)]],[_0x5bf4d7,{'useClass':(_0x32b945=(_0x58a9de=this[_0x45bf0b(0x221)])==null?void 0x0:_0x58a9de['socketService'])!=null?_0x32b945:_0x31903a[_0x45bf0b(0x145)]}],[_0x427fbe[_0x45bf0b(0x15d)],{'useClass':_0x31903a[_0x45bf0b(0x29e)]}],[_0x38c92c[_0x45bf0b(0x2d0)],{'useClass':_0x31903a['AuthzIoHttpService']}],[_0x286436[_0x45bf0b(0x1d3)],{'useClass':_0x31903a['CollaborationImageIoService']}],[_0x38c92c[_0x45bf0b(0x2b6)],{'useClass':_0x31903a[_0x45bf0b(0x46b)]}],[_0x31903a[_0x45bf0b(0x134)]],[_0x4d0cc9]],(_0x25cb43=this[_0x45bf0b(0x221)])==null?void 0x0:_0x25cb43[_0x45bf0b(0x251)]);if(!((_0x4ea1fe=this['_config'])!=null&&_0x4ea1fe[_0x45bf0b(0x2d6)])){const _0x59d191=_0x3c90dc[_0x45bf0b(0x158)](([_0x46ce4a])=>_0x46ce4a===_0x3fcef3);_0x59d191!==-0x1&&_0x3c90dc['splice'](_0x59d191,0x1);}_0x38c92c[_0x45bf0b(0x3b1)](this[_0x45bf0b(0x1ad)],_0x3c90dc);}['_initDependencies'](){var _0x4f5c3e=_0x148bdb,_0xe354be,_0x35447b,_0x58978e;this[_0x4f5c3e(0x1ad)][_0x4f5c3e(0x2d5)](_0x3bdd40[_0x4f5c3e(0x248)])[_0x4f5c3e(0x426)]({'priority':0x14,'interceptor':_0x3bdd40[_0x4f5c3e(0x142)]({'maxParallel':0x6})}),(_0xe354be=this[_0x4f5c3e(0x221)])!=null&&_0xe354be['enableOfflineEditing']||(_0x35447b=this['_injector'][_0x4f5c3e(0x2d5)](_0x74bfb,_0x38c92c[_0x4f5c3e(0x386)]['OPTIONAL']))==null||_0x35447b[_0x4f5c3e(0x457)](),(_0x58978e=this[_0x4f5c3e(0x221)])!=null&&_0x58978e[_0x4f5c3e(0x2ab)]&&_0x38c92c[_0x4f5c3e(0x1d9)](this[_0x4f5c3e(0x1ad)],[[_0x149f6f]]),_0x38c92c[_0x4f5c3e(0x1d9)](this['_injector'],[[_0x518363],[_0x31903a[_0x4f5c3e(0x134)]],[_0x2c15ba]]);}},_0x52c66e(_0x31903a['UniverCollaborationClientPlugin'],'pluginName',_0x491c79),_0x31903a[_0x148bdb(0x347)]=_0x16cee7([_0x38c92c['DependentOn'](_0x427fbe['UniverCollaborationPlugin'],_0x3eb888['UniverSheetsPlugin'],_0x3bdd40['UniverNetworkPlugin']),_0xc727ce(0x1,_0x38c92c[_0x148bdb(0x3e4)]),_0xc727ce(0x2,_0x38c92c[_0x148bdb(0x2b3)](_0x38c92c['Injector'])),_0xc727ce(0x3,_0x38c92c[_0x148bdb(0x37e)])],_0x31903a[_0x148bdb(0x347)]),_0x31903a[_0x148bdb(0xed)]=_0x1f3d9f,_0x31903a[_0x148bdb(0x2fd)]=_0x1f5f1c,_0x31903a[_0x148bdb(0x31b)]=_0x5158b1,_0x31903a[_0x148bdb(0x277)]=_0x45c16a,_0x31903a['CollaborationStatus']=_0x173892,_0x31903a[_0x148bdb(0x212)]=_0x22314e,_0x31903a[_0x148bdb(0x16c)]=_0x387561,_0x31903a[_0x148bdb(0x307)]=_0x36a4b2,_0x31903a[_0x148bdb(0x3b6)]=_0x4a5e3a,_0x31903a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x56c7fa,_0x31903a[_0x148bdb(0x465)]=_0x3ad4e9,_0x31903a[_0x148bdb(0x369)]=_0x5ea91e,_0x31903a[_0x148bdb(0x15f)]=_0x5bf4d7,_0x31903a[_0x148bdb(0x325)]=_0x74bfb,_0x31903a[_0x148bdb(0x455)]=_0x321568,_0x31903a[_0x148bdb(0x33d)]=_0x3fcef3,_0x31903a[_0x148bdb(0x3da)]=0x3e8,_0x31903a[_0x148bdb(0x39e)]=_0x4415d6,_0x31903a['LOGIN_URL_KEY']=_0x2782da,_0x31903a[_0x148bdb(0x3a8)]=_0x168f79,_0x31903a[_0x148bdb(0x350)]=_0x137d79,_0x31903a[_0x148bdb(0x261)]=_0x4cc532,_0x31903a[_0x148bdb(0x36a)]=_0xa5388,_0x31903a[_0x148bdb(0x21a)]=_0x1d8b6b,_0x31903a[_0x148bdb(0xdd)]=_0x3febe1,_0x31903a[_0x148bdb(0x2a2)]=_0x1bda56,_0x31903a[_0x148bdb(0x2e0)]=_0x2ec2af,_0x31903a[_0x148bdb(0x2f8)]=_0x19d320,_0x31903a[_0x148bdb(0x420)]=_0x503032,Object[_0x148bdb(0x411)](_0x31903a,Symbol[_0x148bdb(0x2ec)],{'value':_0x148bdb(0x1ea)});}));
1
+ function _0x1865(){var _0x406f9d=['[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_socketReady','MemberService','offline','_getCurrentRevision','infoRsp','_HTTPService','_incrementRevisionNumber','CHANGESET_REJ','sessionTicket','/collaborator','sid','SOCKET_FAILED','_executeRemoteChangeset','_clearRedo','processBlock','type','reverse','_getRedoStack','toggleOnline','[CollaborationSession]','b64DecodeUnicode','awaiting_with_pending','/new_changes','takeUntil','[CollaborationEntity]','updateOfflineData','delete','SetSelectionsOperation','5528976hyKzKn','_handler','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','COLLAB_SUBMIT_CHANGESET_URL','onRemoteAck','location','ReplaySubject','userID','Encryptor','/block/','_entityInit$','exports','Error\x20on\x20receiving\x20event','amd','_schedule','onStarting','get','CONFLICT','_type','x-univer-host','loadSheet','roles','UNKNOWN_CMD','_shouldReportTelemetry','/allowed','_onOffline','_state$','UNDEFINED','/object','reset','random','_xformMode','CompressMutationService','append','_localeService','_prevBlock','getCurrentUnitForType','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','json','@univerjs-pro/license','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','clamp','asObservable','slice','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','LIVESHARE_TERMINATE','RECV','_initCloseConn','emitEvent','_collaborationSessionService','InsertSheetMutation','INVALID_ARGUMENT','_transformStack','_joinRoom','isInternalEditorID','_map','toggleOffline','HEARTBEAT_INTERVAL_KEY','ENSURE_SNAPSHOT_EXECUTION','saveSheetBlock','_invKeySchedule','SyncedState','subType','_replayCachedMutations','_localCacheService','WordArray','CollaborationUIEventService','charCodeAt','words','routeKey','_members','/object/','JOIN_ROOM_FAILED','headers','editingUnit','_showConflictNotification','CollaborationSession','getCollabEntity','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','WorksheetProtectionRuleModel','interceptor','_entities','Utf8','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','UnitStatus','[CollaborationState]:\x20apply\x20error!','repeat','AES','_resendTimeout','_data','_transformService','message$','setCurrentUser','EvpKDF','_unlockTransition','collaMsg','image/gif','[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.','UniverDrawing','_initDependencies','collaborators','finalize','_rescheduleHeartbeat','createInstance','PendingState','LIVESHARE_NEW_HOST','then','_substituteUndoStack','IDLE','CollaborationSocketService','_createInitialStateImpl','_roomMembers','HEARTBEAT','getTime','_acknowledgedAwaitingChangeset','disposeWithMe','FAIL','stopTime','getTypeOfUnitDisposed$','selections','1843623GLWIPW','CHANGESET_ACK','encode','COLLAB_WEB_SOCKET_URL','NEW_CHANGESETS','INGEST','randomUUID','_resendTimer','c2Prime','event$','loginUrlKey','DisposableCollection','subscribe','refreshPermission','IPermissionService','_revisionService','COMPRESS_MUTATION_APPLY','_instanceService','_univerInstanceService','FileId','UniverProLicense','deepClone','_sessions','getUnitStatus$','RETRY_CONNECTING_MAX_COUNT_KEY','SUBMIT_CHANGESET_TIMEOUT','1095117EoTKkr','_socketMessageSubscription','_retryConnectingTimer','init','src','UniverSheets','randomBytes','extend','algo','JOIN_ROOM_NOT_EXISTS','[FetchMissState]','_createHmacHelper','HEARTBEAT_TIMEOUT_KEY','BlockCipher','subUnitId','@univerjs/docs','MSG_FOR_ERROR','ERROR_EXCEED_SIZE','_emitMembers','_getSendChangesetTimeout','compute','fromCollab','ILocalCacheService','baseProtectionActions','session.room-not-exists','SHA1','updateCursorEvent','UserManagerService','SUCCUSS','_submitChangeset','_keyPriorReset','filter','_awaitingChangeset','UniverSheetsPlugin','Inject','execute','SYNCED','joinRsp','?size=','getTargetByPermissionId','csShouldRetryEvent','__Key__','waitForRoom$','liveShareOperation','@univerjs/core','onLocalMutation','byteOffset','key','resourceIDs','Subject','_doFinalize','FETCH_MISSING','LOCAL_CACHE_INTERVAL','getFocusedUnit','LEAVE','_undoRedoService','/universer-api/user/session-ticket','_changesetReqId','unit-cache-','complete','readInt32LE','_userManagerService','newCsEvent','SessionStatus','value','_hasher','IContextService','_clearScheduledTask','state','fetching\x20missing\x20changesets\x20from\x20','getSheetId','UPDATE_CURSOR','awaiting','localeService','UniverCollaborationPlugin','_retryCount','_status$','@univerjs/sheets','HTTPService','AWAITING','mixIn','_hash','OpenSSL','LICENSE_DISTRO_REJECTED','/resources','update','_roomCreated$','enableAuthServer','onSendChangeset','_key','_onJoinRoomEvent','updatePermissionPoint','isTransformMutationsWithChangesetFailure','disableLocalCache','createSocket','ALREADY_EXISTS','IImageIoService','batchAllowed','fetch_missing','_append','_getCtorByUniverType','setWaitCount','univer-pro.collaboration-client-socket-service','/role','members','UniverNetwork','collaboration-client.config','unknown','_tryEnsureSocket','_commentUpdate$','PENDING','patch','_onRemoteRejected','_decreaseWaiting','rev','clone','getSnapshotAPIPath','_transformRemoteChangesetByStateCache','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','COLLAB_SUBMIT_CHANGESET_URL_KEY','_clearCollaborationTimeoutTimer','CollaborationEvent','univer-pro.collaboration-client.network-condition.service','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','INetworkConditionService','take','transformSelections','SHOULD_CLOSE_CONN','requireSession','isArray','has','removeMember','MentionIoHttpService','getInterceptPoints','_telemetryInfo','firstValueFrom','addHandlerCallback','UnitEmbedded','_fetchMissChangesets','Could\x20not\x20dynamically\x20require\x20\x22','_getSessionTicket','onTransformSelections','_http','20370kHbmIs','@univerjs/telemetry','executeCommand','unitId','entityInit$','size','IMentionIOService','_socket$','onMissingChangesets','_transformRemoteChangesetByIMECache','_iv','3257400AJdsLa','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','data','error','UniverProCollaborationClient','error$','UnitSnapshot','saveChangeset','_clearHeartbeatTimer','_createSocket','onMissedChangesetFetched','appendMutation','SUBMIT_CHANGESET','_doProcessBlock','getValue','target','_onLocalMutation','_onRemoteRetry','_transformIMECache','ISingleActiveUnitService','_compressMutationService','objectType','blockSize','LICENSE_IMPORT_SIZE_EXCEEDED','searchParams','[CollaborationUndoRedoService]','_sendingTimer','UNKNOWN_CODE','HEARTBEAT_INTERVAL','/universer-api/stream/file/upload','getAllWorksheetPermissionPoint','UniverDocs','fetchThroughInterceptors','getUnitOnRev','pad','_doReset','ICollaborationSocketService','close','_permissionService','getImageSourceCache','ImageUploadStatusType','[OfflineState]:\x20received\x20acknowledgement.','LocaleService','/universer-api/uniscript','[DataLoaderService]','collaboration-client.local-cache-service','sendChangesetTimeout','catch','_changesetSessionId','leaveEvent','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_injector','touchDependencies','getDeserializedSheetBlock','substr','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','AUTHZ_URL_KEY','cmd','stringify','ImageSourceType','_onConflict','OTHER_CLIENT_EDITING','_authzIoService','registerHTTPInterceptor','ITransformService','[CollaborationSessionService]:\x20socket\x20error','runId','_resendWithTimeout','snapshot','ciphertext','_applyRemoteChangeset','_toggleOffline','pending','_disableEditing','_commentService','_updateLocalCache','socketService','socket$','&to=','entries','getCurrentUser','conflict','socket\x20close','liveShareNewHost','Module','enableSingleActiveInstanceLock','[CollaborationSessionService]','closeSession','@univerjs/drawing','_updateState','add','_tryReconnect','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','COMPLETION_FINISHED','HTTPRequest','pluginName','wsSessionTicketUrl','_onRemoteACK','OfflineState','session','_state','Base64','title','encodeURIComponent','ceil','_replaceFileID','OTHER_CLIENTS_EDITING','downloadEndpointUrl','@univerjs-pro/collaboration','telemetry\x20info\x20is\x20not\x20initialized','_checkMissing','NOT_COLLAB','__creator','onStateChange','_collaborationPaused','_onUserLeave','capture','[PendingState]:\x20received\x20rejection.','push','open$','concatMap','name','MentionType','StreamCipher','connection\x20error','IUndoRedoService','SheetTransformSelectionsService','next','Decryptor','deleteCollaborator','state$','onload','objectID','YUUMI_SUBSCRIPTION_NOT_FOUND','UnitObject','POST','_nDataBytes','ConflictState','JOIN_ROOM_PERMISSION_DENIED','_initRequestHeader','_change$','indexOf','_loadDoc','\x20to\x20','_logService','getAllWorkbookPermissionPoint','SnapshotService','fetchMiss','rng','baseRev','_candidateSocket','generateRandomId','JOIN','parseProtocolChangeset','list','_scheduleCollaborationTimeoutTimer','univer-pro.collaboration-client.single-active-unit-service','kdf','body','_event$','allowed','IUniverInstanceService','collaboration_new_changeset','onTransformState','toLowerCase','signUrlServerUrl','default','map','BehaviorSubject','RevisionService','auth.needGotoLoginAlert','/universer-api/authz','save\x20fail\x20reason\x20is\x20','join','hasher','_updateStatus','CollaborationImageIoService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','close$','range','/universer-api/comb','defineProperty','length','_memberService','_iKey','WorkbookEditablePermission','getRandomValues','_onMessage','_ENC_XFORM_MODE','_unitInfo$','LIVESHARE_FETCH_OPERATIONS','unitId\x20is\x20not\x20found','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/rev/','_redoStacks','iterations','PERMISSION_REJ','serializeCombRequest','SNAPSHOT_URL_KEY','_config','_parse','[SyncedState]:\x20received\x20rejection.','now','MUTATION','byteLength','_singleActiveUnitService','session.join-failed','UNRECOGNIZED','initWorkbookPermissionChange','reduce','PasswordBasedCipher','_httpService','origin','status$','LOGIN_URL_KEY','CollaborativeUndoRedoService','_nRounds','socket\x20open.','decrypt','IAuthzIoService','resend','_mode','override','DataLoaderService','USERS_ENTER','onTransformRemoteChangesetByIMECache','msCrypto','_networkConditionService','editing\x20status\x20changed\x20to','splice','set','_queuedRemoteChangesets','_sender','_clearTimeoutTimer','_remoteChangesetQueue','operators','INTERNAL_ERROR','rxjs','onSyncEditingCollabCursor','FetchingMissState','YUUMI_RATE_OVER_LIMIT','HttpImport','UPDATE_PERMISSION_OBJ','_toggleOnline','_sendHeartbeatTimer','_onRemoteChangeset','session.room-cnt-exceeds','CollaborationSessionService','CBC','JOIN_ROOM_FULL','getOwnPropertyDescriptor','onTransformRemoteChangesetByStateCache','RETRY_CONNECTING_MAX_COUNT','createIdentifier','COLLAB_WEB_SOCKET_URL_KEY','_oKey','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_cipher','NOT_FOUND','_substituteRedoStack','Tools','18yzTJyb','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getResourcesRequest','delay','equals','\x20-\x20','decryptBlock','requestParams','_createHelper','LIVESHARE_OPERATION','[OfflineState]:\x20received\x20rejection.','defaultWorkbookPermissionPoints','JSONX','getWorkbookSelections','&assign=','getConfig','APPLY_DUPLICATED','from','/-/object/-/batch_allowed','ticket','getSheetBlock','getRoom','unsubscribe','MD5','updateMember','Latin1','mutations','AwaitingWithPendingState','_snapshotService','getMember','onRemoteRej','textRanges','_pendingMutations','setShowComponents','enableOfflineEditing','getImage','_onRecvEvent','UNIVER_DOC','/fetchmissing?from=','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','Base','m2Prime','APPLY_REJECT','resolve','subject','_lockTransition','_undoStacks','UNIVER_PROJECT','_onCombEvent','loadOfflineData','textEncoder','_collaborationUIEventService','collabSubmitChangesetUrl','parse','_minBufferSize','post','YUUMI_URL_COL_OUT_OF_RANGE','create','_getUndoStack','ERROR_IMAGE_TYPE','ivSize','onTransformIME','DocCollaborationEntity','UNAUTHENTICATED','reqId','concat','Hasher','_telemetryService','transformMutationsWithChangeset','UniverInstanceType','includes','_imageSourceCache','_eventService','CONNECTOR_DATA_TOO_LARGE','PERSON','ISocketService','onRemoteRetry','AuthzIoHttpService','APPLY_PERMISSION_DENIED','/unit/','avatar','AwaitingState','getAllWorksheetPermissionPointByPointPanel','status','_sessionStatus$','compose','ILogService','toString','action','getUnitId','BASE64','_waitForHeartbeatResponse','DEFAULT_FILE_NAME','toStringTag','_listenToNetworkCondition','_syncEditingCollabCursor','not_collab','actions','UniverCollaborationClientPlugin','csRejEvent','padding','\x20in\x20_schedule.','SheetsSelectionsService','clear','2432171chkjlD','CollaborationEntity','_process','awaitingChangeset','_stopTelemetryCollaborationNewChangeset','_initUnitPermissionChange','Univer','CollaborationUIEventId','_transformUndoredo','Disposable','CollaborationStatus','_onFetchMissResult','UUID','startsWith','prototype','uniscriptRunEvent','FETCH_MISS','getCollabEntity$','_scheduleTimestamp','UNIVER_SHEET','_getUploadFileURL','memberID','members$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','readyForCollab','DEFAULT_COLLAB_WEB_SOCKET_URL','_getDownloadEndpointURL','sessionStatus$','_createHandler','[SyncedState]:\x20received\x20acknowledgement.','href','objectActions','getGlobalObject','Undefined','snapshotServerUrl','max','registerDependencies','getTypeOfUnitAdded$','_configService','COMMENT_UPDATE','getCurrentSelections','_clearUndo','file','_sheetTransformSelectionsService','_transitionLocked','bind','_exhaustRemoteChangesetQueue','RxDisposable','SOCKET_FAILED_RETRY','OFFLINE','CommandType','uploadFileServerUrl','eventID','ONLINE','format','getPermissionPoint','sin','_getAPIPrefix','_collaborationTimeoutTimer','unitInfo$','_doCryptBlock','\x0aCurrent:\x20','responseType','salt','_socketService','rxjs/operators','reconnect','ERROR_IMAGE','dispose$','startTime','fromCharCode','_createSocketURL','encrypt','apply','params','Pkcs7','130anZNCk','UNIVER_COLLABORATION_CLIENT_PLUGIN','UNISCRIPT_RUN','authzUrl','getCurrentRevOfUnit','csAckEvent','onlyLocal','LOCAL_CACHE_INTERVAL_KEY','getMemberID','createEncryptor','crypto','Worksheet','Workbook','isPermissionRej','{fileID}','IConfigService','YUUMI_UNABLE_LOAD_URL','RichTextEditingMutation','hostname','_isPermissionRej','put','onRemoteChangeset','USERS_LEAVE','toDisposable','_onConnectionFailed','_startCollaboration','getAllMembers','transformChangesets','isTransformMutationsWithChangesetSuccess','HmacMD5','PSEUDO_FETCH_MISSING_RESULT','getUnit','_socket','_collabSessionService','_transformSelections','CHANGESET_REVISION_CONFILICT','formatter','sigBytes','Plugin','_startTelemetryCollaborationNewChangeset','_keySchedule','Injector','url','originalMeta','floor','LICENSE_EXPORT_SIZE_EXCEEDED','_removeRoom','SNAPSHOT_SERVER_URL_KEY','image/bmp','_waitCount','defaultWorksheetPermissionPoint','_timeoutTimer','sessionStatus','SNAPSHOT_HAS_BEEN_REMOVED','_commandService','_unitID','CipherParams','changesets','dispose','_createInitialState','shareReplay','pipe','reject','revision','getUnitType','Optional','PERMISSION_DENIED','updatePermissionObjEvent','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','cfg','DependentOn','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_transformStateCache','localCacheService','JOINING','SnapshotServerOverHTTPService','forEach','send','charAt','ruleRefresh','@univerjs/network','_sendHeartbeat','HttpExport','merge','/universer-api/snapshot','SNAPSHOT_INVALID_SNAPSHOT','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','SheetCollaborationEntity','putCollaborators','_loadSheet','enc','synced','364lkOyXu','_snapshotServerService','debug','_initMergeInterceptor','lib','buffer','LocalUndoRedoService','c1Prime','listRoles','function','online$','commentUpdate$','_onConnectionOpen','NoPadding','Malformed\x20UTF-8\x20data','hasOwnProperty','ISnapshotServerService','call','_getAPIPrefixPath','incrementRevOfUnit','UNIVER_SLIDE','LICENSE_MAX_UNITS_EXCEEDED','5568960DuYyzD','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','collabWebSocketUrl','ICommandService','HELLO','_clearLocalCache','BlockCipherMode','min','\x0aAfter:\x20','image/jpg','Hex','fetchMissingChangesets','ITelemetryService','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','isTransformChangesetsSuccess','unitID','HMAC','mode','CHANGESET_SHOULD_RETRY','string','application/json','RangeProtectionRuleModel','_reverseMap','SerializableCipher','_getSignURL','_DEC_XFORM_MODE','_registerDependencies','_members$','result','CollaborationController','find','code','encryptBlock','NO_OTHER_CLIENTS_EDITING','_init','SelectRange','_handlerCallback','CLOSE_ROOM','OPTIONAL','clearUndoRedo','$super','/universer-api/file/{fileID}/sign-url'];_0x1865=function(){return _0x406f9d;};return _0x1865();}function _0xfa75(_0x3bfefd,_0x3d86fd){var _0x1865bb=_0x1865();return _0xfa75=function(_0xfa750a,_0x524548){_0xfa750a=_0xfa750a-0x152;var _0x3b38af=_0x1865bb[_0xfa750a];return _0x3b38af;},_0xfa75(_0x3bfefd,_0x3d86fd);}(function(_0x1e99a6,_0x39f302){var _0x17db59=_0xfa75,_0x3e9df3=_0x1e99a6();while(!![]){try{var _0x7fd05a=parseInt(_0x17db59(0x195))/0x1+-parseInt(_0x17db59(0x22f))/0x2+parseInt(_0x17db59(0x224))/0x3*(-parseInt(_0x17db59(0x444))/0x4)+parseInt(_0x17db59(0x45a))/0x5+parseInt(_0x17db59(0x334))/0x6*(-parseInt(_0x17db59(0x39c))/0x7)+-parseInt(_0x17db59(0x4a1))/0x8+-parseInt(_0x17db59(0x17b))/0x9*(-parseInt(_0x17db59(0x3e8))/0xa);if(_0x7fd05a===_0x39f302)break;else _0x3e9df3['push'](_0x3e9df3['shift']());}catch(_0x15a90b){_0x3e9df3['push'](_0x3e9df3['shift']());}}}(_0x1865,0xd9bc9),function(_0x267442,_0x4fdc98){var _0x2374a9=_0xfa75;typeof exports=='object'&&typeof module<'u'?_0x4fdc98(exports,require(_0x2374a9(0x1c1)),require(_0x2374a9(0x31c)),require('rxjs/operators'),require(_0x2374a9(0x438)),require(_0x2374a9(0x29b)),require('@univerjs/telemetry'),require('@univerjs/docs'),require(_0x2374a9(0x1e2)),require(_0x2374a9(0x287)),require(_0x2374a9(0x4c8))):typeof define=='function'&&define[_0x2374a9(0x4ae)]?define([_0x2374a9(0x4ac),_0x2374a9(0x1c1),_0x2374a9(0x31c),_0x2374a9(0x3dd),_0x2374a9(0x438),'@univerjs-pro/collaboration',_0x2374a9(0x225),_0x2374a9(0x1a4),_0x2374a9(0x1e2),_0x2374a9(0x287),_0x2374a9(0x4c8)],_0x4fdc98):(_0x267442=typeof globalThis<'u'?globalThis:_0x267442||self,_0x4fdc98(_0x267442[_0x2374a9(0x233)]={},_0x267442['UniverCore'],_0x267442[_0x2374a9(0x31c)],_0x267442[_0x2374a9(0x31c)][_0x2374a9(0x31a)],_0x267442[_0x2374a9(0x1fe)],_0x267442['UniverProCollaboration'],_0x267442['UniverTelemetry'],_0x267442[_0x2374a9(0x24e)],_0x267442[_0x2374a9(0x19a)],_0x267442[_0x2374a9(0x165)],_0x267442[_0x2374a9(0x18f)]));}(this,function(_0x3ec4d8,_0x26dfb1,_0x2f7ab3,_0x14cac3,_0x2df72f,_0x44b24e,_0x5d2fbe,_0x42843b,_0x213744,_0x4c68de,_0xddb934){'use strict';var _0x40a6d6=_0xfa75;var _0xa82c7e=Object[_0x40a6d6(0x2e4)],_0x4d2fcc=(_0x4e4c28,_0x2ce6da,_0x395473)=>_0x2ce6da in _0x4e4c28?_0xa82c7e(_0x4e4c28,_0x2ce6da,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x395473}):_0x4e4c28[_0x2ce6da]=_0x395473,_0x3afa5d=(_0x10e85f,_0x262270,_0xebe560)=>_0x4d2fcc(_0x10e85f,typeof _0x262270!='symbol'?_0x262270+'':_0x262270,_0xebe560);const _0xcd7554=_0x40a6d6(0x417),_0x1c15f7=_0x40a6d6(0x43c),_0x1e4364=_0x40a6d6(0x2f5),_0x33f28b='SEND_CHANGESET_TIMEOUT',_0x382a1d=_0x40a6d6(0x17e),_0x14af8a='ws://127.0.0.1:8000/universer-api/comb/connect',_0x40baa3=_0x40a6d6(0x1cd),_0xb81b58=_0x40a6d6(0x24b),_0x2426c9='HEARTBEAT_TIMEOUT',_0xb622f3=_0x40a6d6(0x32b),_0x1feda2=_0x40a6d6(0x1c9),_0x4924c3=_0x40a6d6(0x4a4),_0x33d64d=_0x40a6d6(0x2e3),_0x15394a=_0x40a6d6(0x305),_0x3207d8='/universer-api/oidc/authpage',_0x52e4db=_0x40a6d6(0x266),_0x41101a=_0x40a6d6(0x25a);var _0x171a69=(_0x27ed3d=>(_0x27ed3d[_0x27ed3d[_0x40a6d6(0x4bc)]=0x0]=_0x40a6d6(0x4bc),_0x27ed3d[_0x27ed3d['OK']=0x1]='OK',_0x27ed3d[_0x27ed3d[_0x40a6d6(0x31b)]=0x2]='INTERNAL_ERROR',_0x27ed3d[_0x27ed3d['PERMISSION_DENIED']=0x3]=_0x40a6d6(0x42a),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x331)]=0x4]=_0x40a6d6(0x331),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x373)]=0x5]=_0x40a6d6(0x373),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x1f4)]=0x6]=_0x40a6d6(0x1f4),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x4d4)]=0x7]='INVALID_ARGUMENT',_0x27ed3d[_0x27ed3d['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x27ed3d[_0x27ed3d[_0x40a6d6(0x28c)]=0x9]=_0x40a6d6(0x28c),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x40b)]=0x1389]=_0x40a6d6(0x40b),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x43d)]=0x1771]=_0x40a6d6(0x43d),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x41d)]=0x1772]=_0x40a6d6(0x41d),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x4db)]=0x1773]=_0x40a6d6(0x4db),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x35e)]=0x1b59]=_0x40a6d6(0x35e),_0x27ed3d[_0x27ed3d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x27ed3d[_0x27ed3d['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x27ed3d[_0x27ed3d[_0x40a6d6(0x382)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x27ed3d[_0x27ed3d[_0x40a6d6(0x344)]=0x1b5d]=_0x40a6d6(0x344),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x37d)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x27ed3d[_0x27ed3d[_0x40a6d6(0x459)]=0x2329]=_0x40a6d6(0x459),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x28b)]=0x232a]=_0x40a6d6(0x28b),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x246)]=0x232b]=_0x40a6d6(0x246),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x415)]=0x232c]=_0x40a6d6(0x415),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x1e8)]=0x232d]=_0x40a6d6(0x1e8),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x3f8)]=0x2711]=_0x40a6d6(0x3f8),_0x27ed3d[_0x27ed3d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x40a6d6(0x36c),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x31f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x27ed3d[_0x27ed3d[_0x40a6d6(0x2b4)]=0x2714]=_0x40a6d6(0x2b4),_0x27ed3d[_0x27ed3d[_0x40a6d6(0x2fe)]=-0x1]=_0x40a6d6(0x2fe),_0x27ed3d))(_0x171a69||{}),_0x20e0b3=(_0x2711ef=>(_0x2711ef[_0x2711ef['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x2711ef[_0x2711ef['UNIVER_DOC']=0x1]=_0x40a6d6(0x359),_0x2711ef[_0x2711ef[_0x40a6d6(0x3af)]=0x2]=_0x40a6d6(0x3af),_0x2711ef[_0x2711ef[_0x40a6d6(0x458)]=0x3]='UNIVER_SLIDE',_0x2711ef[_0x2711ef[_0x40a6d6(0x363)]=0x4]=_0x40a6d6(0x363),_0x2711ef[_0x2711ef[_0x40a6d6(0x2fe)]=-0x1]=_0x40a6d6(0x2fe),_0x2711ef))(_0x20e0b3||{}),_0x2a6b15=(_0x184536=>(_0x184536[_0x184536[_0x40a6d6(0x4b7)]=0x0]=_0x40a6d6(0x4b7),_0x184536[_0x184536[_0x40a6d6(0x45e)]=0x1]=_0x40a6d6(0x45e),_0x184536[_0x184536[_0x40a6d6(0x2c7)]=0x2]=_0x40a6d6(0x2c7),_0x184536[_0x184536['LEAVE']=0x3]='LEAVE',_0x184536[_0x184536[_0x40a6d6(0x180)]=0x4]=_0x40a6d6(0x180),_0x184536[_0x184536[_0x40a6d6(0x173)]=0x5]=_0x40a6d6(0x173),_0x184536[_0x184536[_0x40a6d6(0x4cf)]=0x6]=_0x40a6d6(0x4cf),_0x184536[_0x184536['UNRECOGNIZED']=-0x1]=_0x40a6d6(0x2fe),_0x184536))(_0x2a6b15||{}),_0x20ec0a=(_0x523c86=>(_0x523c86[_0x523c86['UNKNOWN_CODE']=0x0]=_0x40a6d6(0x24a),_0x523c86[_0x523c86['OK']=0x1]='OK',_0x523c86[_0x523c86[_0x40a6d6(0x177)]=0x2]=_0x40a6d6(0x177),_0x523c86[_0x523c86[_0x40a6d6(0x328)]=0x3e9]=_0x40a6d6(0x328),_0x523c86[_0x523c86[_0x40a6d6(0x19e)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x523c86[_0x523c86['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x40a6d6(0x2b9),_0x523c86[_0x523c86['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x523c86[_0x523c86[_0x40a6d6(0x2fe)]=-0x1]=_0x40a6d6(0x2fe),_0x523c86))(_0x20ec0a||{}),_0x1494bd=(_0x8e83a=>(_0x8e83a[_0x8e83a['Undefined']=0x0]=_0x40a6d6(0x3bd),_0x8e83a[_0x8e83a[_0x40a6d6(0x320)]=0x1]='HttpImport',_0x8e83a[_0x8e83a[_0x40a6d6(0x43a)]=0x2]=_0x40a6d6(0x43a),_0x8e83a[_0x8e83a[_0x40a6d6(0x21e)]=0x3]=_0x40a6d6(0x21e),_0x8e83a[_0x8e83a[_0x40a6d6(0x235)]=0x4]=_0x40a6d6(0x235),_0x8e83a[_0x8e83a[_0x40a6d6(0x2fe)]=-0x1]='UNRECOGNIZED',_0x8e83a))(_0x1494bd||{});const _0x364030=_0x40a6d6(0x1ff),_0x546c6d={};var _0x104956=(_0x22ac91=>(_0x22ac91[_0x40a6d6(0x26c)]=_0x40a6d6(0x26c),_0x22ac91[_0x40a6d6(0x42a)]='PERMISSION_DENIED',_0x22ac91[_0x40a6d6(0x4b2)]='CONFLICT',_0x22ac91[_0x40a6d6(0x47f)]=_0x40a6d6(0x47f),_0x22ac91[_0x40a6d6(0x4e9)]=_0x40a6d6(0x4e9),_0x22ac91['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x22ac91[_0x40a6d6(0x490)]='SOCKET_FAILED',_0x22ac91['SUBMIT_CHANGESET_TIMEOUT']=_0x40a6d6(0x194),_0x22ac91))(_0x104956||{});class _0x548944{constructor(){var _0x5d0d7e=_0x40a6d6;_0x3afa5d(this,_0x5d0d7e(0x2ce),new _0x2f7ab3[(_0x5d0d7e(0x1c6))]()),_0x3afa5d(this,_0x5d0d7e(0x184),this[_0x5d0d7e(0x2ce)]['asObservable']());}[_0x40a6d6(0x4d1)](_0x2b6a8f){var _0x20e78c=_0x40a6d6;this[_0x20e78c(0x2ce)]['next'](_0x2b6a8f);}}const _0x2d2ede=_0x26dfb1[_0x40a6d6(0x32c)](_0x40a6d6(0x20f));function _0x2c5db8(_0x2e5d54){var _0x583169=_0x40a6d6,_0x3f58a9,_0x3e8a5a,_0x7e21b5,_0x3c0115,_0x2596cb;const _0x4a5249=_0x2e5d54[_0x583169(0x231)],_0x4871b2=JSON[_0x583169(0x369)](_0x4a5249);switch(_0x4871b2[_0x583169(0x268)]){case _0x2a6b15[_0x583169(0x173)]:case _0x2a6b15['HELLO']:{const _0x59df5e=_0x4871b2[_0x583169(0x489)];return{..._0x4871b2,'data':_0x59df5e,'cmd':_0x4871b2[_0x583169(0x268)]};}case _0x2a6b15[_0x583169(0x2c7)]:{const _0x1bc462=_0x4871b2[_0x583169(0x1ba)];return{..._0x4871b2,'data':_0x1bc462,'cmd':_0x4871b2[_0x583169(0x268)]};}case _0x2a6b15[_0x583169(0x4cf)]:{const _0xde5376=_0x4871b2[_0x583169(0x162)];switch(_0xde5376[_0x583169(0x3d0)]){case _0x44b24e[_0x583169(0x20e)][_0x583169(0x2f3)]:return{..._0x4871b2,'data':{..._0xde5376,'data':(_0x3f58a9=_0xde5376['permissionRejEvent'])==null?void 0x0:_0x3f58a9['cs']},'cmd':_0x4871b2['cmd']};case _0x44b24e['CollaborationEvent'][_0x583169(0x17c)]:return{..._0x4871b2,'data':{..._0xde5376,'data':(_0x3e8a5a=_0xde5376[_0x583169(0x3ed)])==null?void 0x0:_0x3e8a5a['cs']},'cmd':_0x4871b2[_0x583169(0x268)]};case _0x44b24e[_0x583169(0x20e)][_0x583169(0x17f)]:return{..._0x4871b2,'data':{..._0xde5376,'data':(_0x7e21b5=_0xde5376[_0x583169(0x1d3)])==null?void 0x0:_0x7e21b5['cs']},'cmd':_0x4871b2[_0x583169(0x268)]};case _0x44b24e[_0x583169(0x20e)][_0x583169(0x48c)]:return{..._0x4871b2,'data':{..._0xde5376,'data':(_0x3c0115=_0xde5376[_0x583169(0x397)])==null?void 0x0:_0x3c0115['cs']},'cmd':_0x4871b2[_0x583169(0x268)]};case _0x44b24e['CollaborationEvent'][_0x583169(0x46c)]:return{..._0x4871b2,'data':{..._0xde5376,'data':(_0x2596cb=_0xde5376[_0x583169(0x1bd)])==null?void 0x0:_0x2596cb['cs']},'cmd':_0x4871b2[_0x583169(0x268)]};case _0x44b24e[_0x583169(0x20e)]['UPDATE_CURSOR']:return{..._0x4871b2,'data':{..._0xde5376,'data':_0xde5376[_0x583169(0x1af)]},'cmd':_0x4871b2[_0x583169(0x268)]};case _0x44b24e[_0x583169(0x20e)][_0x583169(0x30f)]:return{..._0x4871b2,'data':{..._0xde5376,'data':_0xde5376['joinEvent']},'cmd':_0x4871b2['cmd']};case _0x44b24e[_0x583169(0x20e)][_0x583169(0x3fe)]:return{..._0x4871b2,'data':{..._0xde5376,'data':_0xde5376[_0x583169(0x260)]},'cmd':_0x4871b2[_0x583169(0x268)]};case _0x44b24e[_0x583169(0x20e)][_0x583169(0x16c)]:return{..._0x4871b2,'data':{..._0xde5376,'data':_0xde5376['liveShareNewHost']},'cmd':_0x4871b2[_0x583169(0x268)]};case _0x44b24e[_0x583169(0x20e)]['LIVESHARE_FETCH_OPERATIONS']:case _0x44b24e[_0x583169(0x20e)][_0x583169(0x33d)]:return{..._0x4871b2,'data':{..._0xde5376,'data':_0xde5376[_0x583169(0x1c0)]},'cmd':_0x4871b2[_0x583169(0x268)]};case _0x44b24e[_0x583169(0x20e)][_0x583169(0x4ce)]:return{..._0x4871b2,'data':{..._0xde5376,'data':_0xde5376[_0x583169(0x282)]},'cmd':_0x4871b2[_0x583169(0x268)]};case _0x44b24e[_0x583169(0x20e)][_0x583169(0x1a5)]:return{..._0x4871b2,'data':_0xde5376,'cmd':_0x4871b2[_0x583169(0x268)]};case _0x44b24e[_0x583169(0x20e)][_0x583169(0x3c3)]:return{..._0x4871b2,'data':{..._0xde5376,'data':_0xde5376['commentUpdateEvent']},'cmd':_0x4871b2[_0x583169(0x268)]};case _0x44b24e[_0x583169(0x20e)]['UPDATE_PERMISSION_OBJ']:return{..._0x4871b2,'data':{..._0xde5376,'data':_0xde5376[_0x583169(0x42b)]},'cmd':_0x4871b2[_0x583169(0x268)]};case _0x44b24e[_0x583169(0x20e)][_0x583169(0x214)]:return{..._0x4871b2,'data':{..._0xde5376,'data':_0xde5376['shouldCloseConn']},'cmd':_0x4871b2[_0x583169(0x268)]};case _0x44b24e[_0x583169(0x20e)]['UNISCRIPT_RUN']:return{..._0x4871b2,'data':{..._0xde5376,'data':_0xde5376[_0x583169(0x3ab)]},'cmd':_0x4871b2[_0x583169(0x268)]};default:return _0x4871b2;}}default:return _0x4871b2;}}function _0x340138(_0x246635){var _0x1593e6=_0x40a6d6;switch(_0x246635['cmd']){case _0x2a6b15[_0x1593e6(0x173)]:case _0x2a6b15[_0x1593e6(0x45e)]:return JSON[_0x1593e6(0x269)]({'cmd':_0x246635[_0x1593e6(0x268)],'routeKey':_0x246635[_0x1593e6(0x4e6)]});case _0x2a6b15[_0x1593e6(0x180)]:{let _0x2748fa;switch(_0x246635[_0x1593e6(0x231)]['eventID']){case _0x44b24e[_0x1593e6(0x20e)][_0x1593e6(0x1dc)]:{_0x2748fa={'eventID':_0x44b24e[_0x1593e6(0x20e)][_0x1593e6(0x1dc)],'updateCursorEvent':_0x246635[_0x1593e6(0x231)]['data']};break;}case _0x44b24e['CollaborationEvent']['USERS_LEAVE']:{_0x2748fa={'eventID':_0x44b24e[_0x1593e6(0x20e)]['USERS_LEAVE'],'leaveEvent':_0x246635[_0x1593e6(0x231)][_0x1593e6(0x231)]};break;}case _0x44b24e[_0x1593e6(0x20e)]['USERS_ENTER']:{_0x2748fa={'eventID':_0x44b24e[_0x1593e6(0x20e)][_0x1593e6(0x30f)],'joinEvent':_0x246635[_0x1593e6(0x231)]['data']};break;}case _0x44b24e[_0x1593e6(0x20e)][_0x1593e6(0x16c)]:{_0x2748fa={'eventID':_0x44b24e[_0x1593e6(0x20e)][_0x1593e6(0x16c)],'liveShareNewHost':_0x246635[_0x1593e6(0x231)][_0x1593e6(0x231)]};break;}case _0x44b24e[_0x1593e6(0x20e)][_0x1593e6(0x33d)]:{_0x2748fa={'eventID':_0x44b24e[_0x1593e6(0x20e)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x246635[_0x1593e6(0x231)]['data']};break;}case _0x44b24e[_0x1593e6(0x20e)][_0x1593e6(0x4ce)]:{_0x2748fa={'eventID':_0x44b24e[_0x1593e6(0x20e)][_0x1593e6(0x4ce)],'liveShareTerminate':_0x246635['data'][_0x1593e6(0x231)]};break;}case _0x44b24e[_0x1593e6(0x20e)]['LIVESHARE_REQUEST_HOST']:{_0x2748fa={'eventID':_0x44b24e['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x246635['data'][_0x1593e6(0x231)]};break;}case _0x44b24e[_0x1593e6(0x20e)][_0x1593e6(0x2ed)]:{_0x2748fa={'eventID':_0x44b24e[_0x1593e6(0x20e)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2748fa={'eventID':_0x246635[_0x1593e6(0x231)]['eventID']};}return JSON[_0x1593e6(0x269)]({'cmd':_0x246635[_0x1593e6(0x268)],'routeKey':_0x246635[_0x1593e6(0x4e6)],'collaMsg':_0x2748fa});}case _0x2a6b15['JOIN']:return JSON[_0x1593e6(0x269)]({'cmd':_0x246635[_0x1593e6(0x268)],'routeKey':_0x246635[_0x1593e6(0x4e6)],'joinReq':_0x246635[_0x1593e6(0x231)]});case _0x2a6b15[_0x1593e6(0x1cb)]:return JSON[_0x1593e6(0x269)]({'cmd':_0x246635[_0x1593e6(0x268)],'routeKey':_0x246635['routeKey'],'leaveReq':_0x246635[_0x1593e6(0x231)]});default:throw new Error(_0x1593e6(0x2e0));}}var _0x10d11e=Object[_0x40a6d6(0x2e4)],_0x5f317a=Object[_0x40a6d6(0x329)],_0x4d4793=(_0x3a5d6e,_0x21a648,_0x39586e,_0x662370)=>{for(var _0x32bf37=_0x662370>0x1?void 0x0:_0x662370?_0x5f317a(_0x21a648,_0x39586e):_0x21a648,_0x464018=_0x3a5d6e['length']-0x1,_0x167a4f;_0x464018>=0x0;_0x464018--)(_0x167a4f=_0x3a5d6e[_0x464018])&&(_0x32bf37=(_0x662370?_0x167a4f(_0x21a648,_0x39586e,_0x32bf37):_0x167a4f(_0x32bf37))||_0x32bf37);return _0x662370&&_0x32bf37&&_0x10d11e(_0x21a648,_0x39586e,_0x32bf37),_0x32bf37;},_0x181957=(_0x33153a,_0x228a98)=>(_0x5276e6,_0x5cad21)=>_0x228a98(_0x5276e6,_0x5cad21,_0x33153a);const _0x4edb37=_0x26dfb1['createIdentifier'](_0x40a6d6(0x1fb));function _0x2ea507(_0x16b8d4,_0x4a3360,_0x13b0dd){var _0x50a580=_0x40a6d6;return _0x16b8d4+'/'+_0x4a3360+'/unit/'+_0x13b0dd+_0x50a580(0x49b);}_0x3ec4d8[_0x40a6d6(0x170)]=class extends _0x26dfb1[_0x40a6d6(0x3a5)]{constructor(_0x5e2bda,_0xbefd9e,_0xcd23b2,_0x3cffbd,_0x196748){var _0x240f75=_0x40a6d6;super(),this[_0x240f75(0x262)]=_0x5e2bda,this['_http']=_0xbefd9e,this[_0x240f75(0x3c2)]=_0xcd23b2,this[_0x240f75(0x2bf)]=_0x3cffbd,this[_0x240f75(0x445)]=_0x196748;}[_0x40a6d6(0x1f3)](_0x1b658b){var _0x1e4383=_0x40a6d6;const _0x1c4c51=this['_injector'][_0x1e4383(0x4b1)](_0x2df72f[_0x1e4383(0x37f)]);if(!_0x1c4c51)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x293328=_0x1c4c51[_0x1e4383(0x1f3)](_0x1b658b);if(!_0x293328)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2b6608=new _0x26dfb1[(_0x1e4383(0x186))](),_0x5a09ec=new _0x2f7ab3[(_0x1e4383(0x1c6))]();_0x2b6608['add'](_0x293328['close$'][_0x1e4383(0x187)](_0x180da9=>_0x5a09ec['next'](_0x180da9))),_0x2b6608[_0x1e4383(0x289)](_0x26dfb1[_0x1e4383(0x3ff)](()=>_0x5a09ec[_0x1e4383(0x1d0)]()));const _0x1db731=new _0x2f7ab3[(_0x1e4383(0x1c6))]();_0x2b6608['add'](_0x293328['error$'][_0x1e4383(0x187)](_0x4bd3da=>_0x1db731[_0x1e4383(0x2ae)](_0x4bd3da))),_0x2b6608['add'](_0x26dfb1[_0x1e4383(0x3ff)](()=>_0x1db731['complete']()));const _0x478648=new _0x2f7ab3['Subject']();_0x2b6608['add'](_0x293328[_0x1e4383(0x15e)][_0x1e4383(0x187)](_0x2939da=>{var _0x181bc7=_0x1e4383;const _0x1149b5=_0x2c5db8(_0x2939da);_0x478648[_0x181bc7(0x2ae)](_0x1149b5);})),_0x2b6608[_0x1e4383(0x289)](_0x26dfb1[_0x1e4383(0x3ff)](()=>_0x478648[_0x1e4383(0x1d0)]()));let _0x12100d;const _0x34ad70=()=>{var _0x1bd6a4=_0x1e4383;_0x1db731['next'](new Event(_0x1bd6a4(0x2ab))),_0x5a09ec[_0x1bd6a4(0x2ae)](new CloseEvent('connection\x20error')),_0x12100d['close']();};return _0x12100d={'memberID':'','close$':_0x5a09ec[_0x1e4383(0x4cb)](),'error$':_0x1db731['asObservable'](),'open$':_0x293328[_0x1e4383(0x2a6)],'message$':_0x478648[_0x1e4383(0x4cb)](),'send':_0x1d4fcb=>{var _0x54a69a=_0x1e4383;if(_0x1d4fcb[_0x54a69a(0x268)]===_0x2a6b15[_0x54a69a(0x180)]){if(_0x1d4fcb[_0x54a69a(0x231)]['eventID']===_0x44b24e['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x54a69a(0x1b2)](_0x12100d,_0x1d4fcb['data'])[_0x54a69a(0x25e)](_0x24525a=>{var _0x1cfb42=_0x54a69a;this[_0x1cfb42(0x2bf)][_0x1cfb42(0x232)](_0x24525a),_0x34ad70();});return;}if(_0x1d4fcb[_0x54a69a(0x231)]['eventID']===_0x44b24e[_0x54a69a(0x20e)][_0x54a69a(0x1c8)]){const _0x5a015d=_0x1d4fcb['data'];this[_0x54a69a(0x21f)](_0x5a015d)[_0x54a69a(0x16d)](_0x302be0=>{var _0x1dfbbe=_0x54a69a;_0x478648[_0x1dfbbe(0x2ae)]({'cmd':_0x2a6b15[_0x1dfbbe(0x4cf)],'code':_0x20ec0a['OK'],'routeKey':_0x5a015d[_0x1dfbbe(0x231)][_0x1dfbbe(0x469)],'routeType':'','data':{'eventID':_0x44b24e[_0x1dfbbe(0x20e)][_0x1dfbbe(0x406)],'data':{'changesets':_0x302be0}}});})[_0x54a69a(0x25e)](_0x2ecb9d=>{var _0x53c750=_0x54a69a;this[_0x53c750(0x2bf)][_0x53c750(0x232)](_0x2ecb9d),_0x34ad70();});return;}}_0x293328[_0x54a69a(0x435)](_0x340138(_0x1d4fcb));},'close':()=>{var _0x277b6c=_0x1e4383;_0x293328[_0x277b6c(0x254)](),_0x2b6608['dispose']();}},_0x12100d;}async['_submitChangeset'](_0x1be6e5,_0x48d615){var _0x452624=_0x40a6d6,_0x23a00a,_0x822e8e;const {unitType:_0x4bdc04,unitID:_0x211a64,changeset:_0x3e0945}=_0x48d615[_0x452624(0x231)],_0x17188d={'unitID':_0x211a64,'memberID':_0x1be6e5[_0x452624(0x3b1)],'type':_0x4bdc04,'changeset':_0x44b24e['parseChangesetToProtocol'](_0x3e0945)},_0x11f156=this[_0x452624(0x3c2)][_0x452624(0x343)](_0x4924c3),_0x43de18=this[_0x452624(0x3c2)][_0x452624(0x343)](_0x364030),_0x5b2c82=_0x2ea507((_0x822e8e=(_0x23a00a=_0x43de18==null?void 0x0:_0x43de18[_0x452624(0x368)])!=null?_0x23a00a:_0x11f156)!=null?_0x822e8e:_0x33d64d,_0x4bdc04,_0x211a64);try{await this[_0x452624(0x223)]['post'](_0x5b2c82,{'body':_0x17188d});}catch(_0x5c3a2b){throw this['_logService'][_0x452624(0x232)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x5c3a2b;}}async[_0x40a6d6(0x21f)](_0x1f7ff7){var _0x739c7d=_0x40a6d6;const {unitID:_0x1ce995,from:_0x5880ee,to:_0x50fa9c,unitType:_0x12b466}=_0x1f7ff7['data'];return(await this['_snapshotServerService'][_0x739c7d(0x465)]({'metadata':void 0x0},{'unitID':_0x1ce995,'type':_0x12b466,'from':_0x5880ee,'to':_0x50fa9c}))[_0x739c7d(0x421)];}},_0x3ec4d8['CollaborationSocketService']=_0x4d4793([_0x181957(0x0,_0x26dfb1['Inject'](_0x26dfb1['Injector'])),_0x181957(0x1,_0x26dfb1[_0x40a6d6(0x1b7)](_0x2df72f['HTTPService'])),_0x181957(0x2,_0x26dfb1['IConfigService']),_0x181957(0x3,_0x26dfb1[_0x40a6d6(0x38a)]),_0x181957(0x4,_0x44b24e[_0x40a6d6(0x454)])],_0x3ec4d8['CollaborationSocketService']);const _0x3e1f35=_0x40a6d6(0x2d1);function _0x474990(_0x19d159){var _0x3b9cc3=_0x40a6d6;return JSON[_0x3b9cc3(0x269)](_0x19d159)[_0x3b9cc3(0x2e5)];}class _0x3c09bd{constructor(){var _0x396cd6=_0x40a6d6;_0x3afa5d(this,_0x396cd6(0x202),new _0x2f7ab3[(_0x396cd6(0x1c6))]()),_0x3afa5d(this,_0x396cd6(0x44f),this['_commentUpdate$'][_0x396cd6(0x4cb)]());}['onCommentUpdate'](_0xf37fd0){var _0x5c63b9=_0x40a6d6;this[_0x5c63b9(0x202)][_0x5c63b9(0x2ae)](_0xf37fd0);}}var _0x10798e=Object[_0x40a6d6(0x2e4)],_0x19d6e7=Object[_0x40a6d6(0x329)],_0x37442a=(_0x22091f,_0x34d1f1,_0x2bfcfa,_0x17c424)=>{for(var _0x50c96c=_0x17c424>0x1?void 0x0:_0x17c424?_0x19d6e7(_0x34d1f1,_0x2bfcfa):_0x34d1f1,_0x3ca25=_0x22091f['length']-0x1,_0x3dea15;_0x3ca25>=0x0;_0x3ca25--)(_0x3dea15=_0x22091f[_0x3ca25])&&(_0x50c96c=(_0x17c424?_0x3dea15(_0x34d1f1,_0x2bfcfa,_0x50c96c):_0x3dea15(_0x50c96c))||_0x50c96c);return _0x17c424&&_0x50c96c&&_0x10798e(_0x34d1f1,_0x2bfcfa,_0x50c96c),_0x50c96c;},_0x2e7db2=(_0x2fde99,_0x21c233)=>(_0x7610de,_0x47dbfa)=>_0x21c233(_0x7610de,_0x47dbfa,_0x2fde99);_0x3ec4d8['MemberService']=class extends _0x26dfb1[_0x40a6d6(0x3a5)]{constructor(_0x4c0ddc,_0x359d1b){var _0x92fb53=_0x40a6d6;super(),_0x3afa5d(this,_0x92fb53(0x172),new Map()),_0x3afa5d(this,_0x92fb53(0x1eb),new _0x2f7ab3[(_0x92fb53(0x1c6))]()),(this[_0x92fb53(0x18d)]=_0x4c0ddc,this[_0x92fb53(0x1d2)]=_0x359d1b,this[_0x92fb53(0x176)](_0x2f7ab3[_0x92fb53(0x43b)](this[_0x92fb53(0x18d)][_0x92fb53(0x179)](_0x26dfb1['UniverInstanceType'][_0x92fb53(0x3af)])[_0x92fb53(0x425)](_0x14cac3[_0x92fb53(0x2d6)](_0x5889f0=>_0x5889f0[_0x92fb53(0x38d)]())),this['_univerInstanceService'][_0x92fb53(0x179)](_0x26dfb1['UniverInstanceType'][_0x92fb53(0x359)])[_0x92fb53(0x425)](_0x14cac3[_0x92fb53(0x2d6)](_0xb99efd=>_0xb99efd['getUnitId']())),this[_0x92fb53(0x18d)][_0x92fb53(0x179)](_0x26dfb1[_0x92fb53(0x379)][_0x92fb53(0x458)])[_0x92fb53(0x425)](_0x14cac3['map'](_0x178494=>_0x178494['getUnitId']())))[_0x92fb53(0x187)](_0x22c51a=>this[_0x92fb53(0x416)](_0x22c51a))));}[_0x40a6d6(0x1bf)](_0x233c74){var _0x1d79bc=_0x40a6d6;return this[_0x1d79bc(0x172)]['has'](_0x233c74)?_0x2f7ab3['of'](this[_0x1d79bc(0x172)]['get'](_0x233c74)):this['_roomCreated$']['pipe'](_0x14cac3['map'](_0x2c39f4=>{var _0x31a542=_0x1d79bc;if(_0x2c39f4===_0x233c74)return this['_roomMembers'][_0x31a542(0x4b1)](_0x2c39f4);}));}[_0x40a6d6(0x15f)](_0xf9abc4){this['_userManagerService']['setCurrentUser'](_0xf9abc4);}[_0x40a6d6(0x27f)](){var _0x4975e6=_0x40a6d6;return this[_0x4975e6(0x1d2)][_0x4975e6(0x27f)]();}[_0x40a6d6(0x34c)](_0x30a671,_0x2c0395){var _0x477af9=_0x40a6d6;let _0x1cce62=this[_0x477af9(0x172)][_0x477af9(0x4b1)](_0x30a671);_0x1cce62||(_0x1cce62=new _0x1b6399(),this[_0x477af9(0x172)][_0x477af9(0x315)](_0x30a671,_0x1cce62),this[_0x477af9(0x1eb)][_0x477af9(0x2ae)](_0x30a671)),_0x1cce62[_0x477af9(0x34c)](_0x2c0395);}[_0x40a6d6(0x218)](_0x39522a,_0x2e4fa8){var _0x141f96=_0x40a6d6;const _0xeb5363=this[_0x141f96(0x172)][_0x141f96(0x4b1)](_0x39522a);_0xeb5363&&_0xeb5363[_0x141f96(0x218)](_0x2e4fa8);}[_0x40a6d6(0x349)](_0x43415a){var _0x4faae0=_0x40a6d6;return this[_0x4faae0(0x172)][_0x4faae0(0x4b1)](_0x43415a);}[_0x40a6d6(0x351)](_0x458dcc,_0x14d109){var _0xb5d46a=_0x40a6d6;const _0x14b556=this['_roomMembers'][_0xb5d46a(0x4b1)](_0x458dcc);if(_0x14b556)return _0x14b556['getMember'](_0x14d109);}['_removeRoom'](_0x3c01b4){var _0x12020c=_0x40a6d6;const _0x4019c9=this[_0x12020c(0x172)][_0x12020c(0x4b1)](_0x3c01b4);_0x4019c9&&(_0x4019c9['dispose'](),this[_0x12020c(0x172)]['delete'](_0x3c01b4));}[_0x40a6d6(0x422)](){var _0x65eba8=_0x40a6d6;this[_0x65eba8(0x172)]['forEach'](_0x5064dd=>_0x5064dd[_0x65eba8(0x422)]()),this[_0x65eba8(0x172)][_0x65eba8(0x39b)](),this[_0x65eba8(0x1eb)][_0x65eba8(0x1d0)]();}},_0x3ec4d8[_0x40a6d6(0x486)]=_0x37442a([_0x2e7db2(0x0,_0x26dfb1[_0x40a6d6(0x2d0)]),_0x2e7db2(0x1,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x1b0)]))],_0x3ec4d8[_0x40a6d6(0x486)]);class _0x1b6399 extends _0x26dfb1['Disposable']{constructor(){var _0x24bf1f=_0x40a6d6;super(...arguments),_0x3afa5d(this,_0x24bf1f(0x4e7),new Map()),_0x3afa5d(this,_0x24bf1f(0x475),new _0x2f7ab3[(_0x24bf1f(0x2d7))](this['_members'])),_0x3afa5d(this,_0x24bf1f(0x3b2),this[_0x24bf1f(0x475)][_0x24bf1f(0x4cb)]());}[_0x40a6d6(0x422)](){var _0x74ea0a=_0x40a6d6;this[_0x74ea0a(0x4e7)]['clear']();}['updateMember'](_0x5913cf){var _0x13dbf5=_0x40a6d6;this[_0x13dbf5(0x4e7)][_0x13dbf5(0x315)](_0x5913cf['memberID'],_0x5913cf),this[_0x13dbf5(0x1a7)]();}[_0x40a6d6(0x218)](_0x288ed7){var _0x6f2aa4=_0x40a6d6;this[_0x6f2aa4(0x4e7)][_0x6f2aa4(0x49f)](_0x288ed7);}[_0x40a6d6(0x351)](_0x572bbc){var _0x3e089b=_0x40a6d6;return this[_0x3e089b(0x4e7)][_0x3e089b(0x4b1)](_0x572bbc);}[_0x40a6d6(0x402)](){var _0x1f2661=_0x40a6d6;return Array[_0x1f2661(0x345)](this[_0x1f2661(0x4e7)]['values']());}[_0x40a6d6(0x1a7)](){var _0x1b7d6b=_0x40a6d6;this[_0x1b7d6b(0x475)][_0x1b7d6b(0x2ae)](this[_0x1b7d6b(0x4e7)]);}}var _0x5c6d6b=Object[_0x40a6d6(0x2e4)],_0x461bed=Object[_0x40a6d6(0x329)],_0x286437=(_0x5e70a4,_0x2e51cc,_0x169ab1,_0xb1caed)=>{var _0x3c381f=_0x40a6d6;for(var _0x4f899c=_0xb1caed>0x1?void 0x0:_0xb1caed?_0x461bed(_0x2e51cc,_0x169ab1):_0x2e51cc,_0x3caea6=_0x5e70a4[_0x3c381f(0x2e5)]-0x1,_0x13f0c2;_0x3caea6>=0x0;_0x3caea6--)(_0x13f0c2=_0x5e70a4[_0x3caea6])&&(_0x4f899c=(_0xb1caed?_0x13f0c2(_0x2e51cc,_0x169ab1,_0x4f899c):_0x13f0c2(_0x4f899c))||_0x4f899c);return _0xb1caed&&_0x4f899c&&_0x5c6d6b(_0x2e51cc,_0x169ab1,_0x4f899c),_0x4f899c;},_0x31a352=(_0x1ce5f8,_0x441e9f)=>(_0x50a323,_0x51dc50)=>_0x441e9f(_0x50a323,_0x51dc50,_0x1ce5f8),_0x4e157e=(_0x292d29=>(_0x292d29[_0x292d29[_0x40a6d6(0x16f)]=0x0]=_0x40a6d6(0x16f),_0x292d29[_0x292d29[_0x40a6d6(0x432)]=0x1]=_0x40a6d6(0x432),_0x292d29[_0x292d29[_0x40a6d6(0x3cd)]=0x2]=_0x40a6d6(0x3cd),_0x292d29[_0x292d29[_0x40a6d6(0x3d1)]=0x3]='ONLINE',_0x292d29))(_0x4e157e||{});const _0x20f502={[_0x20ec0a['FAIL']]:_0x40a6d6(0x2fd),[_0x20ec0a[_0x40a6d6(0x328)]]:'session.room-full',[_0x20ec0a[_0x40a6d6(0x19e)]]:_0x40a6d6(0x1ad),[_0x20ec0a['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[_0x20ec0a['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x40a6d6(0x325)};_0x3ec4d8[_0x40a6d6(0x4ed)]=class extends _0x26dfb1['RxDisposable']{constructor(_0x113a5d,_0xf29c89,_0x3dbb52,_0x3d9822,_0x59522c,_0x32950a,_0x3529cf,_0x79014b,_0x54b313){var _0x32c825=_0x40a6d6;super(),_0x3afa5d(this,'_sessionStatus$',new _0x2f7ab3[(_0x32c825(0x2d7))](0x0)),_0x3afa5d(this,_0x32c825(0x3b7),this['_sessionStatus$']['asObservable']()),_0x3afa5d(this,'_event$',new _0x2f7ab3[(_0x32c825(0x1c6))]()),_0x3afa5d(this,_0x32c825(0x184),this['_event$'][_0x32c825(0x4cb)]()),_0x3afa5d(this,'_socket'),_0x3afa5d(this,_0x32c825(0x196)),_0x3afa5d(this,_0x32c825(0x3d6)),_0x3afa5d(this,_0x32c825(0x4b8),!0x1),_0x3afa5d(this,_0x32c825(0x21b),null),(this[_0x32c825(0x41f)]=_0x113a5d,this[_0x32c825(0x2bf)]=_0x3dbb52,this['_configService']=_0x3d9822,this['_localeService']=_0x59522c,this[_0x32c825(0x2e6)]=_0x32950a,this[_0x32c825(0x279)]=_0x3529cf,this[_0x32c825(0x367)]=_0x79014b,this[_0x32c825(0x377)]=_0x54b313,this['_shouldReportTelemetry']=!!this[_0x32c825(0x377)],_0xf29c89[_0x32c825(0x425)](_0x2f7ab3[_0x32c825(0x49c)](this[_0x32c825(0x3e0)]))[_0x32c825(0x187)](_0x3de363=>{var _0x4e4ac2=_0x32c825,_0x95a8d1;typeof _0x3de363>'u'||(this[_0x4e4ac2(0x408)]=_0x3de363,_0x3de363?(this['_joinRoom'](_0x3de363),this[_0x4e4ac2(0x196)]=_0x3de363[_0x4e4ac2(0x15e)][_0x4e4ac2(0x187)](_0x37b3b3=>{var _0x4ebc35=_0x4e4ac2;_0x37b3b3[_0x4ebc35(0x4e6)]===this['_unitID']&&this['_onCombEvent'](_0x37b3b3);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4e4ac2(0x388)][_0x4e4ac2(0x2ae)](0x2),(_0x95a8d1=this[_0x4e4ac2(0x196)])==null||_0x95a8d1[_0x4e4ac2(0x34a)](),this[_0x4e4ac2(0x196)]=null));}));}get['sessionStatus'](){var _0xf25d8b=_0x40a6d6;return this[_0xf25d8b(0x388)][_0xf25d8b(0x23d)]();}[_0x40a6d6(0x3f0)](){var _0x17baf7=_0x40a6d6,_0x491971,_0x1ff3cd;return(_0x1ff3cd=(_0x491971=this[_0x17baf7(0x408)])==null?void 0x0:_0x491971[_0x17baf7(0x3b1)])!=null?_0x1ff3cd:null;}[_0x40a6d6(0x422)](){var _0x63b653=_0x40a6d6;super[_0x63b653(0x422)](),this[_0x63b653(0x3e0)][_0x63b653(0x2ae)](),this['dispose$']['complete']();}[_0x40a6d6(0x254)](){var _0x49e5ed=_0x40a6d6,_0x50fdd5,_0x24b486;this['_throwTelemetryCollaborationNewChangeset'](),(_0x50fdd5=this['_socket'])==null||_0x50fdd5[_0x49e5ed(0x435)]({'cmd':_0x2a6b15['LEAVE'],'data':{'roomID':this[_0x49e5ed(0x41f)]}}),(_0x24b486=this['_socket'])==null||_0x24b486['close'](),this[_0x49e5ed(0x2ce)][_0x49e5ed(0x1d0)](),this[_0x49e5ed(0x388)][_0x49e5ed(0x1d0)](),this[_0x49e5ed(0x422)]();}[_0x40a6d6(0x364)](_0x1f3dc3){var _0x1ae338=_0x40a6d6;_0x1f3dc3['cmd']===_0x2a6b15[_0x1ae338(0x2c7)]?this['_onJoinRoomEvent'](_0x1f3dc3):_0x1f3dc3[_0x1ae338(0x268)]===_0x2a6b15[_0x1ae338(0x4cf)]&&this['_onRecvEvent'](_0x1f3dc3);}[_0x40a6d6(0x4d6)](_0x31d0dd){var _0x58b594=_0x40a6d6;this['_sessionStatus$'][_0x58b594(0x2ae)](0x1),_0x31d0dd[_0x58b594(0x435)]({'cmd':_0x2a6b15['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x58b594(0x41f)]}]}});}[_0x40a6d6(0x1ef)](_0xbb44d2){var _0x36a2ec=_0x40a6d6,_0x4bdc9e;if(_0xbb44d2[_0x36a2ec(0x479)]in _0x20f502){this[_0x36a2ec(0x367)][_0x36a2ec(0x4d1)]({'id':_0x104956['JOIN_ROOM_FAILED'],'data':_0x20f502[_0xbb44d2['code']]}),this['_sessionStatus$'][_0x36a2ec(0x2ae)](0x2);return;}this[_0x36a2ec(0x388)][_0x36a2ec(0x2ae)](0x3);const _0x2b72d7=(_0x4bdc9e=_0xbb44d2[_0x36a2ec(0x231)]['roomInfos'][this[_0x36a2ec(0x41f)]])==null?void 0x0:_0x4bdc9e[_0x36a2ec(0x1fd)];_0x2b72d7&&_0x2b72d7['forEach'](_0x59d5f6=>this['_memberService']['updateMember'](this[_0x36a2ec(0x41f)],_0x59d5f6));}[_0x40a6d6(0x358)](_0x566c86){var _0x195112=_0x40a6d6;try{const _0x4621ce=_0x566c86[_0x195112(0x231)];switch(_0x4621ce[_0x195112(0x3d0)]){case _0x44b24e[_0x195112(0x20e)][_0x195112(0x30f)]:this['_onUserJoin'](_0x4621ce),this[_0x195112(0x2ce)]['next'](_0x4621ce);break;case _0x44b24e[_0x195112(0x20e)][_0x195112(0x3fe)]:this['_onUserLeave'](_0x4621ce),this[_0x195112(0x2ce)][_0x195112(0x2ae)](_0x4621ce);break;case _0x44b24e[_0x195112(0x20e)][_0x195112(0x17c)]:case _0x44b24e['CollaborationEvent'][_0x195112(0x46c)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x195112(0x20d)](),this[_0x195112(0x2ce)][_0x195112(0x2ae)](_0x4621ce);break;case _0x44b24e[_0x195112(0x20e)][_0x195112(0x1a5)]:this[_0x195112(0x2bf)][_0x195112(0x232)](_0x195112(0x2db)+JSON[_0x195112(0x269)](_0x4621ce)),this[_0x195112(0x2ce)][_0x195112(0x2ae)](_0x4621ce);break;case _0x44b24e[_0x195112(0x20e)]['COMMENT_UPDATE']:this[_0x195112(0x279)]['onCommentUpdate'](_0x4621ce[_0x195112(0x231)]),this[_0x195112(0x2ce)][_0x195112(0x2ae)](_0x4621ce);break;default:this[_0x195112(0x2ce)][_0x195112(0x2ae)](_0x4621ce);}}catch(_0x38a223){this['_logService']['error'](_0x38a223,_0x566c86);}}['_onUserJoin'](_0x1684e8){var _0x329833=_0x40a6d6;this[_0x329833(0x2e6)][_0x329833(0x34c)](this[_0x329833(0x41f)],_0x1684e8[_0x329833(0x231)]);}[_0x40a6d6(0x2a2)](_0x471806){var _0x1839c7=_0x40a6d6;this[_0x1839c7(0x2e6)]['removeMember'](this[_0x1839c7(0x41f)],_0x471806[_0x1839c7(0x231)][_0x1839c7(0x3b1)]);}async[_0x40a6d6(0x435)](_0x39f485,_0x737958){var _0x4db308=_0x40a6d6;if(this[_0x4db308(0x41c)]!==0x3||!this[_0x4db308(0x408)])throw new Error(_0x4db308(0x4c9));try{_0x39f485['eventID']===_0x44b24e[_0x4db308(0x20e)][_0x4db308(0x23b)]&&(this[_0x4db308(0x2ca)](),this[_0x4db308(0x40f)](_0x39f485)),this[_0x4db308(0x408)]['send']({'cmd':_0x2a6b15['INGEST'],'routeKey':_0x737958,'routeType':'','data':_0x39f485});}catch(_0xa6c414){this[_0x4db308(0x2bf)][_0x4db308(0x232)](_0xa6c414);}}[_0x40a6d6(0x2ca)](){var _0xbeb4fb=_0x40a6d6,_0x3cf9dc;this[_0xbeb4fb(0x3d6)]=setTimeout(()=>{var _0x60cb35=_0xbeb4fb;this['_collaborationTimeoutTimer']=null,this[_0x60cb35(0x367)][_0x60cb35(0x4d1)]({'id':_0x104956[_0x60cb35(0x194)]});},(_0x3cf9dc=this[_0xbeb4fb(0x3c2)]['getConfig'](_0x2426c9))!=null?_0x3cf9dc:0x4e20);}[_0x40a6d6(0x20d)](){var _0x372247=_0x40a6d6;this[_0x372247(0x3d6)]&&(clearTimeout(this[_0x372247(0x3d6)]),this['_collaborationTimeoutTimer']=null);}[_0x40a6d6(0x40f)](_0x46dc18){var _0x2f8d2b=_0x40a6d6;if(!this[_0x2f8d2b(0x4b8)])return;const {data:_0x1b0ea7}=_0x46dc18,{unitID:_0x42cab4,changeset:_0x3f1350}=_0x1b0ea7,{mutations:_0x527613,type:_0xd71d2c}=_0x3f1350;this[_0x2f8d2b(0x21b)]={'unitId':_0x42cab4,'type':_0xd71d2c,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x474990(_0x527613)};}[_0x40a6d6(0x3a0)](){var _0x3c09da=_0x40a6d6;if(this[_0x3c09da(0x4b8)]){if(!this['_telemetryInfo']){this[_0x3c09da(0x2bf)]['error'](_0x3c09da(0x498),_0x3c09da(0x29c));return;}this[_0x3c09da(0x21b)][_0x3c09da(0x178)]=performance['now'](),this['_telemetryInfo']['duration']=this[_0x3c09da(0x21b)][_0x3c09da(0x178)]-this[_0x3c09da(0x21b)][_0x3c09da(0x3e1)],this['_telemetryService'][_0x3c09da(0x2a3)](_0x3e1f35,this[_0x3c09da(0x21b)]),this[_0x3c09da(0x21b)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x59ddb3=_0x40a6d6;this[_0x59ddb3(0x21b)]=null;}},_0x3ec4d8['CollaborationSession']=_0x286437([_0x31a352(0x2,_0x26dfb1[_0x40a6d6(0x38a)]),_0x31a352(0x3,_0x26dfb1['IConfigService']),_0x31a352(0x4,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x259)])),_0x31a352(0x5,_0x26dfb1[_0x40a6d6(0x1b7)](_0x3ec4d8[_0x40a6d6(0x486)])),_0x31a352(0x6,_0x26dfb1[_0x40a6d6(0x1b7)](_0x3c09bd)),_0x31a352(0x7,_0x26dfb1[_0x40a6d6(0x1b7)](_0x548944)),_0x31a352(0x8,_0x26dfb1[_0x40a6d6(0x429)](_0x5d2fbe[_0x40a6d6(0x466)]))],_0x3ec4d8[_0x40a6d6(0x4ed)]);var _0x3466d8=Object[_0x40a6d6(0x2e4)],_0x2a5cdf=Object[_0x40a6d6(0x329)],_0x121c7b=(_0x3c1321,_0x324e67,_0x26257f,_0xc6d2ed)=>{var _0x18f5f6=_0x40a6d6;for(var _0x47389e=_0xc6d2ed>0x1?void 0x0:_0xc6d2ed?_0x2a5cdf(_0x324e67,_0x26257f):_0x324e67,_0x52c49e=_0x3c1321[_0x18f5f6(0x2e5)]-0x1,_0x177ed3;_0x52c49e>=0x0;_0x52c49e--)(_0x177ed3=_0x3c1321[_0x52c49e])&&(_0x47389e=(_0xc6d2ed?_0x177ed3(_0x324e67,_0x26257f,_0x47389e):_0x177ed3(_0x47389e))||_0x47389e);return _0xc6d2ed&&_0x47389e&&_0x3466d8(_0x324e67,_0x26257f,_0x47389e),_0x47389e;},_0x982798=(_0x395404,_0x3302d8)=>(_0x4d0132,_0x34ce30)=>_0x3302d8(_0x4d0132,_0x34ce30,_0x395404);_0x3ec4d8[_0x40a6d6(0x326)]=class extends _0x26dfb1['Disposable']{constructor(_0x48ea84,_0x45b444,_0xceac88,_0x1c82c7,_0x1656c8,_0x1f94ed,_0x1376cf){var _0x214f6c=_0x40a6d6;super(),_0x3afa5d(this,'_socket$',new _0x2f7ab3['BehaviorSubject'](void 0x0)),_0x3afa5d(this,_0x214f6c(0x27c),this[_0x214f6c(0x22b)][_0x214f6c(0x4cb)]()),_0x3afa5d(this,_0x214f6c(0x2c5),null),_0x3afa5d(this,_0x214f6c(0x191),new Map()),_0x3afa5d(this,'_status$',new _0x2f7ab3[(_0x214f6c(0x2d7))](_0x4e157e['IDLE'])),_0x3afa5d(this,_0x214f6c(0x304),this['_status$'][_0x214f6c(0x4cb)]()),_0x3afa5d(this,'_socketReady',!0x1),_0x3afa5d(this,_0x214f6c(0x197)),_0x3afa5d(this,_0x214f6c(0x1e0),0x0),_0x3afa5d(this,_0x214f6c(0x323)),_0x3afa5d(this,_0x214f6c(0x41b)),(this[_0x214f6c(0x262)]=_0x48ea84,this[_0x214f6c(0x2bf)]=_0x45b444,this[_0x214f6c(0x3c2)]=_0xceac88,this['_socketService']=_0x1c82c7,this[_0x214f6c(0x302)]=_0x1656c8,this[_0x214f6c(0x367)]=_0x1f94ed,this[_0x214f6c(0x312)]=_0x1376cf,this[_0x214f6c(0x392)]());}get['_socket'](){var _0x42e9ea=_0x40a6d6;return this[_0x42e9ea(0x22b)][_0x42e9ea(0x23d)]();}[_0x40a6d6(0x392)](){var _0x506fdc=_0x40a6d6;this[_0x506fdc(0x312)]&&this[_0x506fdc(0x176)](this[_0x506fdc(0x312)][_0x506fdc(0x44e)]['subscribe'](_0x2e640d=>{var _0x293fa8=_0x506fdc;_0x2e640d&&!this[_0x293fa8(0x408)]&&this[_0x293fa8(0x3de)](),_0x2e640d||this[_0x293fa8(0x4ba)]();}));}[_0x40a6d6(0x422)](){var _0x6c9607=_0x40a6d6;super[_0x6c9607(0x422)](),this[_0x6c9607(0x191)]['forEach'](_0x5a2f39=>_0x5a2f39[_0x6c9607(0x422)]()),this['_sessions'][_0x6c9607(0x39b)](),this[_0x6c9607(0x1e1)][_0x6c9607(0x1d0)]();}async['requireSession'](_0xbaf0ba){var _0x104e03=_0x40a6d6;if(this[_0x104e03(0x191)][_0x104e03(0x217)](_0xbaf0ba))return this[_0x104e03(0x191)][_0x104e03(0x4b1)](_0xbaf0ba);this['_tryEnsureSocket']();const _0x1e79a6=this[_0x104e03(0x262)][_0x104e03(0x16a)](_0x3ec4d8[_0x104e03(0x4ed)],_0xbaf0ba,this[_0x104e03(0x22b)][_0x104e03(0x4cb)]());return this['_sessions'][_0x104e03(0x315)](_0xbaf0ba,_0x1e79a6),_0x1e79a6;}[_0x40a6d6(0x286)](_0x833d50){var _0x53eefe=_0x40a6d6,_0x11944c;const _0x49a458=this['_sessions'][_0x53eefe(0x4b1)](_0x833d50);_0x49a458&&(this['_sessions']['delete'](_0x833d50),_0x49a458[_0x53eefe(0x254)]()),this[_0x53eefe(0x191)][_0x53eefe(0x229)]||(_0x11944c=this[_0x53eefe(0x408)])==null||_0x11944c['close']();}[_0x40a6d6(0x3de)](){var _0x292ca1=_0x40a6d6;this[_0x292ca1(0x1e0)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x292ca1(0x197)]=null),this[_0x292ca1(0x28a)]();}async['_getSessionTicket'](){var _0x36b143=_0x40a6d6,_0x5df8e4,_0x2de1ad,_0x3fcb0c;const _0x2d4187=this[_0x36b143(0x3c2)][_0x36b143(0x343)](_0x364030),_0x2fb2cb=(_0x5df8e4=_0x2d4187==null?void 0x0:_0x2d4187[_0x36b143(0x28f)])!=null?_0x5df8e4:_0x40baa3;return(_0x3fcb0c=(_0x2de1ad=(await this[_0x36b143(0x302)][_0x36b143(0x4b1)](_0x2fb2cb,{'headers':{'Content-Type':_0x36b143(0x46e)}}))[_0x36b143(0x2cd)])==null?void 0x0:_0x2de1ad[_0x36b143(0x347)])!=null?_0x3fcb0c:'';}['_createSocketURL'](_0x3874bc){var _0x6b5e6=_0x40a6d6,_0x4302f6,_0x6db264;const _0x32855f=this[_0x6b5e6(0x3c2)][_0x6b5e6(0x343)](_0x382a1d),_0x35a5fa=this[_0x6b5e6(0x3c2)][_0x6b5e6(0x343)](_0x364030),_0x33e9bc=(_0x6db264=(_0x4302f6=_0x35a5fa==null?void 0x0:_0x35a5fa[_0x6b5e6(0x45c)])!=null?_0x4302f6:_0x32855f)!=null?_0x6db264:_0x14af8a,_0x443f88=typeof window>'u'?new URL(_0x33e9bc):new URL(_0x33e9bc,window[_0x6b5e6(0x4a6)][_0x6b5e6(0x303)]);_0x443f88['searchParams']['set'](_0x6b5e6(0x48d),_0x3874bc);const _0xe3dbd2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x6b5e6(0x4a6)]['search']);return _0xe3dbd2['get'](_0x6b5e6(0x271))&&_0x443f88[_0x6b5e6(0x247)][_0x6b5e6(0x315)]('runId',_0xe3dbd2[_0x6b5e6(0x4b1)](_0x6b5e6(0x271))),_0x443f88[_0x6b5e6(0x38b)]();}async[_0x40a6d6(0x238)](){var _0x230320=_0x40a6d6;const _0xa1941c=await this[_0x230320(0x221)](),_0x161d62=this[_0x230320(0x3e3)](_0xa1941c),_0x1ec299=this[_0x230320(0x3dc)][_0x230320(0x1f3)](_0x161d62);return this['_candidateSocket']=_0x1ec299,_0x1ec299;}async['_tryEnsureSocket'](){var _0x1ccede=_0x40a6d6,_0x3dcb01,_0x51f412;try{const _0x2b8f12=(_0x51f412=(_0x3dcb01=this[_0x1ccede(0x408)])!=null?_0x3dcb01:this['_candidateSocket'])!=null?_0x51f412:await this[_0x1ccede(0x238)]();if(_0x2b8f12){const _0x53c779=_0x2b8f12[_0x1ccede(0x435)];_0x2b8f12[_0x1ccede(0x435)]=_0x5efd71=>(this[_0x1ccede(0x169)](),_0x53c779['apply'](_0x2b8f12,[_0x5efd71])),_0x2b8f12[_0x1ccede(0x15e)][_0x1ccede(0x187)](_0x188188=>this['_onMessage'](_0x2b8f12,_0x188188)),_0x2b8f12[_0x1ccede(0x234)][_0x1ccede(0x425)](_0x14cac3[_0x1ccede(0x212)](0x1))[_0x1ccede(0x187)](_0x25bc8e=>this[_0x1ccede(0x2bf)]['error'](_0x1ccede(0x270),_0x25bc8e)),_0x2b8f12[_0x1ccede(0x2a6)][_0x1ccede(0x425)](_0x14cac3[_0x1ccede(0x212)](0x1))[_0x1ccede(0x187)](()=>{var _0x1f004c=_0x1ccede;this[_0x1f004c(0x450)](_0x2b8f12);}),_0x2b8f12[_0x1ccede(0x2e1)][_0x1ccede(0x425)](_0x14cac3[_0x1ccede(0x212)](0x1))[_0x1ccede(0x187)](_0xbf7355=>{var _0x7a1a85=_0x1ccede;this['_logService']['debug'](_0x7a1a85(0x285),_0x7a1a85(0x281),_0xbf7355),this[_0x7a1a85(0x400)]();});}}catch(_0x3c28a8){this[_0x1ccede(0x2bf)][_0x1ccede(0x232)](_0x3c28a8),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x6d10b9){var _0x4f1f7c=_0x40a6d6;this[_0x4f1f7c(0x2bf)][_0x4f1f7c(0x446)]('[CollaborationSessionService]',_0x4f1f7c(0x308)),_0x6d10b9['send']({'cmd':_0x2a6b15[_0x4f1f7c(0x45e)]}),this[_0x4f1f7c(0x169)]();}[_0x40a6d6(0x4ba)](){var _0x194eb2=_0x40a6d6;this[_0x194eb2(0x485)]=!0x1,this[_0x194eb2(0x2c5)]=null,this[_0x194eb2(0x1e1)][_0x194eb2(0x2ae)](_0x4e157e[_0x194eb2(0x3cd)]),this[_0x194eb2(0x22b)][_0x194eb2(0x2ae)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x27eac4=_0x40a6d6,_0x46bb23;this[_0x27eac4(0x4ba)](),this[_0x27eac4(0x1e0)]<((_0x46bb23=this[_0x27eac4(0x3c2)][_0x27eac4(0x343)](_0xb622f3))!=null?_0x46bb23:0x3)?(this[_0x27eac4(0x367)][_0x27eac4(0x4d1)]({'id':_0x104956[_0x27eac4(0x3cc)]}),this['_tryReconnect']()):this[_0x27eac4(0x367)][_0x27eac4(0x4d1)]({'id':_0x104956[_0x27eac4(0x490)]});}[_0x40a6d6(0x28a)](){var _0x3ab985=_0x40a6d6,_0x35e055;const _0x5d7e94=this[_0x3ab985(0x1e0)],_0x5b0805=this[_0x3ab985(0x3c2)]['getConfig'](_0x364030),_0xe8a253=_0x5d7e94===0x0?0x0:((_0x35e055=_0x5b0805==null?void 0x0:_0x5b0805['retryConnectingInterval'])!=null?_0x35e055:0x4e20)*0x2**_0x5d7e94;this[_0x3ab985(0x197)]=setTimeout(()=>{var _0x1e384e=_0x3ab985;clearTimeout(this[_0x1e384e(0x197)]),this[_0x1e384e(0x197)]=null,this[_0x1e384e(0x201)]();},_0xe8a253),this[_0x3ab985(0x1e0)]+=0x1;}[_0x40a6d6(0x2ea)](_0x5e3847,_0x359c99){var _0x5b091f=_0x40a6d6;const {cmd:_0xc4f9e0}=_0x359c99;_0xc4f9e0===_0x2a6b15[_0x5b091f(0x45e)]&&!this[_0x5b091f(0x485)]&&(_0x5e3847[_0x5b091f(0x3b1)]=_0x359c99[_0x5b091f(0x231)][_0x5b091f(0x3b1)],this[_0x5b091f(0x22b)][_0x5b091f(0x2ae)](_0x5e3847),this[_0x5b091f(0x1e1)][_0x5b091f(0x2ae)](_0x4e157e['ONLINE']),this[_0x5b091f(0x485)]=!0x0,this[_0x5b091f(0x2c5)]=null),_0xc4f9e0===_0x2a6b15[_0x5b091f(0x173)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x40a6d6(0x169)](){var _0x30443a=_0x40a6d6,_0x6e3b64;this[_0x30443a(0x237)](),this[_0x30443a(0x323)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x6e3b64=this[_0x30443a(0x3c2)]['getConfig'](_0xb81b58))!=null?_0x6e3b64:0x7530);}[_0x40a6d6(0x439)](){var _0x171258=_0x40a6d6;this[_0x171258(0x408)][_0x171258(0x435)]({'cmd':_0x2a6b15[_0x171258(0x173)]}),this['_waitForHeartbeatResponse']();}[_0x40a6d6(0x38f)](){var _0x1b9502=_0x40a6d6,_0x232eb5;this[_0x1b9502(0x41b)]=setTimeout(()=>this[_0x1b9502(0x400)](),(_0x232eb5=this[_0x1b9502(0x3c2)][_0x1b9502(0x343)](_0x2426c9))!=null?_0x232eb5:0x4e20);}[_0x40a6d6(0x237)](){var _0x438a17=_0x40a6d6;this[_0x438a17(0x323)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x438a17(0x323)]=null);}[_0x40a6d6(0x318)](){var _0x467e34=_0x40a6d6;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x467e34(0x41b)]),this[_0x467e34(0x41b)]=null);}},_0x3ec4d8[_0x40a6d6(0x326)]=_0x121c7b([_0x982798(0x0,_0x26dfb1['Inject'](_0x26dfb1[_0x40a6d6(0x411)])),_0x982798(0x1,_0x26dfb1[_0x40a6d6(0x38a)]),_0x982798(0x2,_0x26dfb1['IConfigService']),_0x982798(0x3,_0x4edb37),_0x982798(0x4,_0x26dfb1[_0x40a6d6(0x1b7)](_0x2df72f[_0x40a6d6(0x1e3)])),_0x982798(0x5,_0x26dfb1[_0x40a6d6(0x1b7)](_0x548944)),_0x982798(0x6,_0x26dfb1[_0x40a6d6(0x429)](_0x2d2ede))],_0x3ec4d8['CollaborationSessionService']);const _0x22432d=[];for(let _0xd82e9c=0x0;_0xd82e9c<0x100;++_0xd82e9c)_0x22432d['push']((_0xd82e9c+0x100)[_0x40a6d6(0x38b)](0x10)[_0x40a6d6(0x4cc)](0x1));function _0x585d1a(_0x162f8a,_0x3edcf0=0x0){var _0x384231=_0x40a6d6;return(_0x22432d[_0x162f8a[_0x3edcf0+0x0]]+_0x22432d[_0x162f8a[_0x3edcf0+0x1]]+_0x22432d[_0x162f8a[_0x3edcf0+0x2]]+_0x22432d[_0x162f8a[_0x3edcf0+0x3]]+'-'+_0x22432d[_0x162f8a[_0x3edcf0+0x4]]+_0x22432d[_0x162f8a[_0x3edcf0+0x5]]+'-'+_0x22432d[_0x162f8a[_0x3edcf0+0x6]]+_0x22432d[_0x162f8a[_0x3edcf0+0x7]]+'-'+_0x22432d[_0x162f8a[_0x3edcf0+0x8]]+_0x22432d[_0x162f8a[_0x3edcf0+0x9]]+'-'+_0x22432d[_0x162f8a[_0x3edcf0+0xa]]+_0x22432d[_0x162f8a[_0x3edcf0+0xb]]+_0x22432d[_0x162f8a[_0x3edcf0+0xc]]+_0x22432d[_0x162f8a[_0x3edcf0+0xd]]+_0x22432d[_0x162f8a[_0x3edcf0+0xe]]+_0x22432d[_0x162f8a[_0x3edcf0+0xf]])[_0x384231(0x2d3)]();}let _0x18b9ce;const _0x5cbe85=new Uint8Array(0x10);function _0x686d97(){var _0x1f562e=_0x40a6d6;if(!_0x18b9ce){if(typeof crypto>'u'||!crypto[_0x1f562e(0x2e9)])throw new Error(_0x1f562e(0x335));_0x18b9ce=crypto[_0x1f562e(0x2e9)][_0x1f562e(0x3c9)](crypto);}return _0x18b9ce(_0x5cbe85);}const _0x240fd6={'randomUUID':typeof crypto<'u'&&crypto[_0x40a6d6(0x181)]&&crypto[_0x40a6d6(0x181)][_0x40a6d6(0x3c9)](crypto)};function _0x1e0ef(_0x11324e,_0x27c2f9,_0x5e1074){var _0x4f76ad=_0x40a6d6;if(_0x240fd6[_0x4f76ad(0x181)]&&!_0x27c2f9&&!_0x11324e)return _0x240fd6[_0x4f76ad(0x181)]();_0x11324e=_0x11324e||{};const _0x152e8c=_0x11324e[_0x4f76ad(0x4bf)]||(_0x11324e[_0x4f76ad(0x2c3)]||_0x686d97)();return _0x152e8c[0x6]=_0x152e8c[0x6]&0xf|0x40,_0x152e8c[0x8]=_0x152e8c[0x8]&0x3f|0x80,_0x585d1a(_0x152e8c);}const _0x56036f=_0x26dfb1[_0x40a6d6(0x32c)](_0x40a6d6(0x25c));function _0x466e94(_0x8fb993){var _0x811271=_0x40a6d6;return _0x811271(0x1cf)+_0x8fb993;}var _0x5ddfb1=Object['defineProperty'],_0x1bb630=Object[_0x40a6d6(0x329)],_0x464241=(_0x24e1dd,_0x1e0697,_0x5ad524,_0x2694d1)=>{for(var _0x54baf3=_0x2694d1>0x1?void 0x0:_0x2694d1?_0x1bb630(_0x1e0697,_0x5ad524):_0x1e0697,_0x3c6d38=_0x24e1dd['length']-0x1,_0x2ec8dd;_0x3c6d38>=0x0;_0x3c6d38--)(_0x2ec8dd=_0x24e1dd[_0x3c6d38])&&(_0x54baf3=(_0x2694d1?_0x2ec8dd(_0x1e0697,_0x5ad524,_0x54baf3):_0x2ec8dd(_0x54baf3))||_0x54baf3);return _0x2694d1&&_0x54baf3&&_0x5ddfb1(_0x1e0697,_0x5ad524,_0x54baf3),_0x54baf3;},_0x19438b=(_0xb2dc99,_0x2c6188)=>(_0x45ac13,_0x7cd1d2)=>_0x2c6188(_0x45ac13,_0x7cd1d2,_0xb2dc99);function _0x3352c0(_0x30d8c9){var _0x128e67=_0x40a6d6;const {unitID:_0x4beea8,mutations:_0x25d8c4}=_0x30d8c9;return{'unitId':_0x4beea8,'subUnitId':_0x25d8c4[0x0]['params'][_0x128e67(0x1a3)]};}_0x3ec4d8[_0x40a6d6(0x2ad)]=class{constructor(_0x14c69e,_0x489c1d,_0x913738){var _0x312bab=_0x40a6d6;this[_0x312bab(0x262)]=_0x14c69e,this['_transformService']=_0x489c1d,this[_0x312bab(0x18c)]=_0x913738;}['transformSelections'](_0x49482c){var _0x319b6c=_0x40a6d6,_0x386d60,_0x135238,_0x2f90d7,_0x235487;const _0x50674c=this[_0x319b6c(0x262)][_0x319b6c(0x4b1)](_0x213744[_0x319b6c(0x39a)]),{unitId:_0x4a4c42,subUnitId:_0x226dfc}=_0x3352c0(_0x49482c),_0x42fe3d=_0x50674c==null?void 0x0:_0x50674c[_0x319b6c(0x341)](_0x4a4c42)[_0x319b6c(0x3c4)](),_0x247c97=(_0x135238=(_0x386d60=this['_instanceService'][_0x319b6c(0x407)](_0x4a4c42))==null?void 0x0:_0x386d60['getActiveSheet']())==null?void 0x0:_0x135238[_0x319b6c(0x1db)]();if(_0x42fe3d[_0x319b6c(0x2e5)]===0x0||!_0x4a4c42||!_0x226dfc)return;const _0x4ed138=[{'id':_0x213744[_0x319b6c(0x4a0)]['id'],'params':{'unitId':_0x4a4c42,'subUnitId':_0x247c97,'selections':_0x26dfb1['Tools'][_0x319b6c(0x190)](_0x42fe3d)}}],_0x2efbe2=this[_0x319b6c(0x15d)][_0x319b6c(0x378)](_0x49482c,_0x4ed138);if(!_0x44b24e[_0x319b6c(0x404)](_0x2efbe2))throw _0x2efbe2['error'];const _0x50d897=(_0x235487=(_0x2f90d7=_0x2efbe2[_0x319b6c(0x35d)][0x0])==null?void 0x0:_0x2f90d7[_0x319b6c(0x3e6)])==null?void 0x0:_0x235487['selections'];if(Array[_0x319b6c(0x216)](_0x50d897)&&_0x50d897[_0x319b6c(0x2e5)]){if(_0x50d897[_0x319b6c(0x2e5)]===_0x4ed138[0x0][_0x319b6c(0x3e6)][_0x319b6c(0x17a)][_0x319b6c(0x2e5)]&&_0x50d897['every']((_0x4af850,_0x240cf0)=>_0x26dfb1['Rectangle'][_0x319b6c(0x338)](_0x4af850[_0x319b6c(0x2e2)],_0x4ed138[0x0][_0x319b6c(0x3e6)]['selections'][_0x240cf0]['range'])))return;this[_0x319b6c(0x262)][_0x319b6c(0x4b1)](_0x26dfb1[_0x319b6c(0x45d)])[_0x319b6c(0x226)](_0x213744[_0x319b6c(0x4a0)]['id'],{'unitId':_0x4a4c42,'subUnitId':_0x247c97,'selections':_0x50d897});}}},_0x3ec4d8[_0x40a6d6(0x2ad)]=_0x464241([_0x19438b(0x0,_0x26dfb1['Inject'](_0x26dfb1['Injector'])),_0x19438b(0x1,_0x44b24e['ITransformService']),_0x19438b(0x2,_0x26dfb1['IUniverInstanceService'])],_0x3ec4d8[_0x40a6d6(0x2ad)]);const _0x4480a0=_0x26dfb1['createIdentifier'](_0x40a6d6(0x2cb));var _0x16a6a2=(_0x461bc2=>(_0x461bc2[_0x461bc2['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x40a6d6(0x47b),_0x461bc2[_0x461bc2[_0x40a6d6(0x299)]=0x1]='OTHER_CLIENTS_EDITING',_0x461bc2))(_0x16a6a2||{});const _0x11c250=new Set([_0x213744[_0x40a6d6(0x4d3)]['id']]);function _0x3d0e88(_0x1c52e3,_0x3d447b,_0x9db8d1,_0x50b4e2,_0x3c1fef){var _0x68f736=_0x40a6d6,_0x2af30d,_0xec3183,_0x590bda,_0x140e72;const _0x2a71fd=[];for(const _0x444c2f of _0x1c52e3)if(_0x11c250[_0x68f736(0x217)](_0x444c2f['id'])){if(_0x2a71fd[_0x68f736(0x2e5)]>0x0)break;_0x2a71fd[_0x68f736(0x2a5)](_0x444c2f);break;}else _0x2a71fd[_0x68f736(0x2a5)](_0x444c2f);const _0x57f5cc=(_0xec3183=(_0x2af30d=_0x3c1fef[_0x68f736(0x27f)]())==null?void 0x0:_0x2af30d[_0x68f736(0x4a8)])!=null?_0xec3183:'unknown',_0x2aa119=(_0x140e72=(_0x590bda=_0x3c1fef['getCurrentUser']())==null?void 0x0:_0x590bda[_0x68f736(0x3b1)])!=null?_0x140e72:_0x68f736(0x200);return{'changeset':{'unitID':_0x3d447b,'type':_0x44b24e['mapDocumentTypeToUniverType'](_0x9db8d1['getUnitType'](_0x3d447b)),'baseRev':_0x50b4e2[_0x68f736(0x3ec)](_0x3d447b),'revision':0x0,'userID':_0x57f5cc,'memberID':_0x2aa119,'mutations':_0x2a71fd},'pendingMutations':_0x1c52e3[_0x68f736(0x4cc)](_0x2a71fd['length'])};}function _0xdadc20(_0x296f33,_0xa6783f,_0x1f7871,_0x3b9638,_0x5e3e13){var _0x1feb15=_0x40a6d6,_0x3ef0d7,_0x216c47,_0x503679,_0x5407bd;const _0x150cf7=[_0x296f33[_0x1feb15(0x300)]((_0x59b446,_0x201873)=>{var _0x416548=_0x1feb15,_0x436c89;const {id:_0x592c72}=_0x59b446,{id:_0x5dec9e,type:_0x578ff5}=_0x201873,_0x3aac06=(_0x436c89=_0x59b446[_0x416548(0x3e6)])!=null?_0x436c89:{'actions':null},_0x2e4b3c=_0x201873[_0x416548(0x3e6)];if(_0x592c72&&_0x592c72!==_0x5dec9e)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x592c72+_0x416548(0x339)+_0x5dec9e+'.');return{..._0x59b446,'id':_0x5dec9e,'type':_0x578ff5,'params':{'unitId':_0x2e4b3c['unitId'],'textRanges':_0x2e4b3c[_0x416548(0x353)],'actions':_0x26dfb1[_0x416548(0x340)][_0x416548(0x389)](_0x3aac06[_0x416548(0x395)],_0x2e4b3c[_0x416548(0x395)])}};},{})],_0x2ce198=(_0x216c47=(_0x3ef0d7=_0x5e3e13['getCurrentUser']())==null?void 0x0:_0x3ef0d7['userID'])!=null?_0x216c47:'unknown',_0x369c84=(_0x5407bd=(_0x503679=_0x5e3e13[_0x1feb15(0x27f)]())==null?void 0x0:_0x503679['memberID'])!=null?_0x5407bd:_0x1feb15(0x200);return{'changeset':{'unitID':_0xa6783f,'type':_0x44b24e['mapDocumentTypeToUniverType'](_0x1f7871[_0x1feb15(0x428)](_0xa6783f)),'baseRev':_0x3b9638[_0x1feb15(0x3ec)](_0xa6783f),'revision':0x0,'userID':_0x2ce198,'memberID':_0x369c84,'mutations':_0x150cf7},'pendingMutations':[]};}function _0xfcfcfd(_0x2e6a33,_0x2071f0){var _0x5b4353=_0x40a6d6;const _0x18f5d8=new _0x2f7ab3[(_0x5b4353(0x4a7))](0x1);return setTimeout(()=>_0x18f5d8[_0x5b4353(0x2ae)](_0x2071f0),_0x2e6a33),_0x18f5d8['asObservable']()['pipe'](_0x2f7ab3[_0x5b4353(0x212)](0x1));}const _0x28fc73={'id':_0x213744['EmptyMutation']['id'],'type':_0x26dfb1[_0x40a6d6(0x3ce)][_0x40a6d6(0x2fa)],'params':{}};var _0x49b966=Object[_0x40a6d6(0x2e4)],_0x23e063=Object[_0x40a6d6(0x329)],_0x104d80=(_0x3d0cfc,_0x34f226,_0x47091c,_0x3aaf32)=>{var _0x5a5cef=_0x40a6d6;for(var _0x1fb06c=_0x3aaf32>0x1?void 0x0:_0x3aaf32?_0x23e063(_0x34f226,_0x47091c):_0x34f226,_0x14ab88=_0x3d0cfc[_0x5a5cef(0x2e5)]-0x1,_0x1fee9c;_0x14ab88>=0x0;_0x14ab88--)(_0x1fee9c=_0x3d0cfc[_0x14ab88])&&(_0x1fb06c=(_0x3aaf32?_0x1fee9c(_0x34f226,_0x47091c,_0x1fb06c):_0x1fee9c(_0x1fb06c))||_0x1fb06c);return _0x3aaf32&&_0x1fb06c&&_0x49b966(_0x34f226,_0x47091c,_0x1fb06c),_0x1fb06c;},_0x24d800=(_0x10e83f,_0x324cc6)=>(_0x4cfaff,_0x232e2e)=>_0x324cc6(_0x4cfaff,_0x232e2e,_0x10e83f),_0x386e83=(_0x394f7f=>(_0x394f7f[_0x40a6d6(0x29e)]=_0x40a6d6(0x394),_0x394f7f[_0x40a6d6(0x1b9)]='synced',_0x394f7f[_0x40a6d6(0x203)]=_0x40a6d6(0x277),_0x394f7f[_0x40a6d6(0x1e4)]=_0x40a6d6(0x1dd),_0x394f7f['AWAITING_WITH_PENDING']=_0x40a6d6(0x49a),_0x394f7f[_0x40a6d6(0x3ac)]=_0x40a6d6(0x1f7),_0x394f7f[_0x40a6d6(0x4b2)]=_0x40a6d6(0x280),_0x394f7f[_0x40a6d6(0x3cd)]=_0x40a6d6(0x487),_0x394f7f))(_0x386e83||{});const _0x3c3086=0xea60;class _0x2ba482{constructor(_0x2960cf,_0x3d0867,_0x4e52c9,_0x3ed64f,_0x468de2,_0x56c405,_0x867386,_0x34f9f1,_0x3fd9ea){var _0x5154d1=_0x40a6d6;_0x3afa5d(this,_0x5154d1(0x1b5),null),_0x3afa5d(this,_0x5154d1(0x354),[]),(this[_0x5154d1(0x469)]=_0x2960cf,this[_0x5154d1(0x494)]=_0x3d0867,this[_0x5154d1(0x4a2)]=_0x468de2,this[_0x5154d1(0x41e)]=_0x56c405,this[_0x5154d1(0x1cc)]=_0x867386,this['_revisionService']=_0x34f9f1,this[_0x5154d1(0x4e1)]=_0x3fd9ea,this[_0x5154d1(0x1b5)]=_0x4e52c9,this['_pendingMutations']=_0x3ed64f);}[_0x40a6d6(0x29d)](_0x2d1932){var _0x5cc6ee=_0x40a6d6;const _0x525718=this[_0x5cc6ee(0x18a)][_0x5cc6ee(0x3ec)](this[_0x5cc6ee(0x469)]);return _0x2d1932[_0x5cc6ee(0x427)]>_0x525718+0x1?(this[_0x5cc6ee(0x4a2)][_0x5cc6ee(0x22c)]({'from':_0x525718,'to':_0x2d1932['revision']-0x1}),!0x0):!0x1;}[_0x40a6d6(0x3a4)](_0x2672ec){var _0x28d0f6=_0x40a6d6;this[_0x28d0f6(0x1cc)]['transformUndoRedo'](this[_0x28d0f6(0x469)],_0x2672ec);}[_0x40a6d6(0x40a)](_0x4ab703){var _0xe748ff=_0x40a6d6,_0x2b020f,_0x3f0350;(_0x3f0350=(_0x2b020f=this[_0xe748ff(0x4a2)])[_0xe748ff(0x222)])==null||_0x3f0350[_0xe748ff(0x455)](_0x2b020f,_0x4ab703);}['_transformIMECache'](_0x5e7a8d){var _0xeab5fd=_0x40a6d6,_0x43d59b,_0x51d8d2;return(_0x51d8d2=(_0x43d59b=this[_0xeab5fd(0x4a2)])[_0xeab5fd(0x371)])==null?void 0x0:_0x51d8d2[_0xeab5fd(0x455)](_0x43d59b,_0x5e7a8d);}[_0x40a6d6(0x430)](_0x2e4160){var _0x413d36=_0x40a6d6,_0x106394,_0x20e15f;return(_0x20e15f=(_0x106394=this[_0x413d36(0x4a2)])[_0x413d36(0x2d2)])==null?void 0x0:_0x20e15f[_0x413d36(0x455)](_0x106394,_0x2e4160);}[_0x40a6d6(0x22d)](_0x4b817a){var _0x28e607=_0x40a6d6,_0x3cd9dc,_0x58b163,_0x19d890;return(_0x19d890=(_0x58b163=(_0x3cd9dc=this[_0x28e607(0x4a2)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x58b163['call'](_0x3cd9dc,_0x4b817a))!=null?_0x19d890:_0x4b817a;}[_0x40a6d6(0x20a)](_0x7e7790){var _0x5b9663=_0x40a6d6,_0x34c6ba,_0x5644fe,_0x53b893;return(_0x53b893=(_0x5644fe=(_0x34c6ba=this[_0x5b9663(0x4a2)])[_0x5b9663(0x32a)])==null?void 0x0:_0x5644fe[_0x5b9663(0x455)](_0x34c6ba,_0x7e7790))!=null?_0x53b893:_0x7e7790;}['_syncEditingCollabCursor'](_0x50fde6){var _0x1cb1dc=_0x40a6d6,_0x12b82d,_0x5d59a7;if(this[_0x1cb1dc(0x494)]===_0x20e0b3[_0x1cb1dc(0x359)]){const {unitID:_0x286f9b,mutations:_0x42c511,memberID:_0x49f396}=_0x50fde6,_0x1f4835=_0x42c511[0x0][_0x1cb1dc(0x3e6)][_0x1cb1dc(0x353)];Array[_0x1cb1dc(0x216)](_0x1f4835)&&_0x1f4835[_0x1cb1dc(0x2e5)]>0x0&&((_0x5d59a7=(_0x12b82d=this[_0x1cb1dc(0x4a2)])[_0x1cb1dc(0x31d)])==null||_0x5d59a7[_0x1cb1dc(0x455)](_0x12b82d,{'unitID':_0x286f9b,'memberID':_0x49f396,'textRanges':_0x1f4835}));}}[_0x40a6d6(0x27a)](){var _0x5ab6de=_0x40a6d6,_0x104306;(_0x104306=this[_0x5ab6de(0x4e1)])==null||_0x104306[_0x5ab6de(0x49e)](this[_0x5ab6de(0x469)],this[_0x5ab6de(0x494)],this[_0x5ab6de(0x1b5)],this[_0x5ab6de(0x354)]);}['_getCurrentRevision'](){var _0x1f6318=_0x40a6d6;return this[_0x1f6318(0x18a)][_0x1f6318(0x3ec)](this[_0x1f6318(0x469)]);}[_0x40a6d6(0x48b)](){var _0x227935=_0x40a6d6;this[_0x227935(0x18a)][_0x227935(0x457)](this['unitID']);}[_0x40a6d6(0x491)](_0x4f72f5){var _0x792d88=_0x40a6d6,_0x51bac9;let _0x3a9e0c=this['_transformRemoteChangesetByIMECache'](_0x4f72f5);_0x3a9e0c=this[_0x792d88(0x20a)](_0x3a9e0c);const _0x3f80e7=_0x26dfb1['sequenceExecute'](_0x3a9e0c[_0x792d88(0x34e)],this[_0x792d88(0x41e)],{'fromCollab':!0x0});if(!_0x3f80e7[_0x792d88(0x476)])throw _0x3f80e7[_0x792d88(0x232)]instanceof Error?_0x3f80e7[_0x792d88(0x232)]:new Error((_0x51bac9=_0x3f80e7[_0x792d88(0x232)])!=null?_0x51bac9:_0x792d88(0x158));this[_0x792d88(0x241)](_0x3a9e0c),this[_0x792d88(0x430)](_0x3a9e0c),this[_0x792d88(0x3a4)](_0x4f72f5),this[_0x792d88(0x40a)](_0x3a9e0c),this[_0x792d88(0x393)](_0x3a9e0c),this[_0x792d88(0x48b)]();}}_0x3ec4d8[_0x40a6d6(0x4de)]=class extends _0x2ba482{constructor(_0x270ed8,_0x16c728,_0x5480af,_0x380854,_0x360c3e,_0x7421b6,_0x27c194,_0xe0964b,_0x582235,_0xf487ab){var _0x22e337=_0x40a6d6;super(_0x270ed8,_0x16c728,null,[],_0x5480af,_0x27c194,_0x7421b6,_0x380854,_0xf487ab),_0x3afa5d(this,'status',_0x22e337(0x443)),(this[_0x22e337(0x262)]=_0x360c3e,this[_0x22e337(0x2bf)]=_0xe0964b,this['_transformService']=_0x582235,this[_0x22e337(0x431)]=_0xf487ab);}[_0x40a6d6(0x23a)](_0x50a80a){var _0x2cb6ca=_0x40a6d6;const _0x598b0c=this[_0x2cb6ca(0x262)][_0x2cb6ca(0x16a)](_0x3ec4d8['PendingState'],this[_0x2cb6ca(0x469)],this[_0x2cb6ca(0x494)],[_0x50a80a],this[_0x2cb6ca(0x4a2)]);return _0x598b0c['_schedule'](),_0x598b0c[_0x2cb6ca(0x27a)](),_0x598b0c;}['onRemoteChangeset'](_0x31e03a){var _0x740230=_0x40a6d6;if(this[_0x740230(0x29d)](_0x31e03a))return this['_injector'][_0x740230(0x16a)](_0x3ec4d8[_0x740230(0x31e)],this[_0x740230(0x469)],this['type'],null,[],null,[_0x31e03a],this[_0x740230(0x4a2)]);try{const _0x21dfad=this[_0x740230(0x15d)][_0x740230(0x378)](_0x31e03a,[_0x28fc73]);if(_0x44b24e[_0x740230(0x404)](_0x21dfad)){const {c1Prime:_0x3fa7d3}=_0x21dfad;return this[_0x740230(0x491)](_0x3fa7d3),this;}throw _0x21dfad[_0x740230(0x232)];}catch(_0x9c3fa1){return this[_0x740230(0x2bf)][_0x740230(0x232)](_0x9c3fa1),this['_onConflict'](!0x1);}}[_0x40a6d6(0x26b)](_0x2b27f6){var _0x22b60b=_0x40a6d6;return this[_0x22b60b(0x262)][_0x22b60b(0x16a)](_0x3ec4d8[_0x22b60b(0x2b8)],this['unitID'],this['type'],null,[],this[_0x22b60b(0x4a2)],_0x2b27f6);}['onRemoteAck'](){var _0x1c69f0=_0x40a6d6;throw new Error(_0x1c69f0(0x3b9));}[_0x40a6d6(0x352)](){var _0x59725c=_0x40a6d6;throw new Error(_0x59725c(0x2f8));}['onRemoteRetry'](){return this;}[_0x40a6d6(0x4d9)](){var _0x8cb8a9=_0x40a6d6;return this[_0x8cb8a9(0x262)]['createInstance'](_0x3ec4d8[_0x8cb8a9(0x291)],this[_0x8cb8a9(0x469)],this[_0x8cb8a9(0x494)],null,[],this[_0x8cb8a9(0x4a2)]);}[_0x40a6d6(0x497)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x40a6d6(0x2c2)](){var _0x235083=_0x40a6d6;const _0x53495f=this['_revisionService'][_0x235083(0x3ec)](this[_0x235083(0x469)]);return this['_handler'][_0x235083(0x22c)]({'from':_0x53495f,'to':0x0}),this[_0x235083(0x262)][_0x235083(0x16a)](_0x3ec4d8[_0x235083(0x31e)],this['unitID'],this[_0x235083(0x494)],null,[],null,[],this[_0x235083(0x4a2)]);}},_0x3ec4d8[_0x40a6d6(0x4de)]=_0x104d80([_0x24d800(0x3,_0x26dfb1['Inject'](_0x44b24e[_0x40a6d6(0x2d8)])),_0x24d800(0x4,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x411)])),_0x24d800(0x5,_0x26dfb1['IUndoRedoService']),_0x24d800(0x6,_0x26dfb1[_0x40a6d6(0x45d)]),_0x24d800(0x7,_0x26dfb1[_0x40a6d6(0x38a)]),_0x24d800(0x8,_0x44b24e[_0x40a6d6(0x26f)]),_0x24d800(0x9,_0x26dfb1['Optional'](_0x56036f))],_0x3ec4d8[_0x40a6d6(0x4de)]),_0x3ec4d8['PendingState']=class extends _0x2ba482{constructor(_0x37e71b,_0x5a4084,_0x1d6a0a,_0x9475,_0x2c3781,_0x51f26c,_0x4ad1e9,_0x289710,_0x4202eb,_0x30f85f,_0x30541b,_0x3c116c,_0x3c9708,_0x2aa796){var _0x42432f=_0x40a6d6;super(_0x37e71b,_0x5a4084,null,_0x1d6a0a,_0x9475,_0x4202eb,_0x3c9708,_0x51f26c,_0x2aa796),_0x3afa5d(this,'status',_0x42432f(0x277)),_0x3afa5d(this,_0x42432f(0x3ae),null),_0x3afa5d(this,_0x42432f(0x249),null),(this[_0x42432f(0x262)]=_0x2c3781,this[_0x42432f(0x2e6)]=_0x4ad1e9,this[_0x42432f(0x2bf)]=_0x289710,this[_0x42432f(0x3c2)]=_0x30f85f,this[_0x42432f(0x15d)]=_0x30541b,this['_univerInstanceService']=_0x3c116c);}['appendMutation'](_0x21db28){var _0x519145=_0x40a6d6;return this[_0x519145(0x354)]['push'](_0x21db28),this['_updateLocalCache'](),this;}[_0x40a6d6(0x3fd)](_0x212417){var _0x79d849=_0x40a6d6;if(this[_0x79d849(0x29d)](_0x212417))return this['_clearScheduledTask'](),this[_0x79d849(0x262)][_0x79d849(0x16a)](_0x3ec4d8[_0x79d849(0x31e)],this[_0x79d849(0x469)],this[_0x79d849(0x494)],null,this['_pendingMutations'],null,[_0x212417],this[_0x79d849(0x4a2)]);try{const _0x3c4f9e=this[_0x79d849(0x15d)]['transformMutationsWithChangeset'](_0x212417,this[_0x79d849(0x354)]);if(_0x44b24e['isTransformMutationsWithChangesetSuccess'](_0x3c4f9e)){const {c1Prime:_0x2d921a,m2Prime:_0xdeb305}=_0x3c4f9e;this[_0x79d849(0x491)](_0x2d921a);const _0x448c67=this[_0x79d849(0x262)][_0x79d849(0x16a)](_0x3ec4d8[_0x79d849(0x16b)],this['unitID'],this[_0x79d849(0x494)],_0xdeb305,this[_0x79d849(0x4a2)]);return this['_clearScheduledTask'](),_0x448c67['_schedule'](this[_0x79d849(0x3ae)]?Math[_0x79d849(0x3bf)](0x0,new Date()[_0x79d849(0x174)]()-this[_0x79d849(0x3ae)]):this[_0x79d849(0x1a8)]()),_0x448c67;}throw _0x3c4f9e[_0x79d849(0x232)];}catch(_0x200938){return this[_0x79d849(0x2bf)][_0x79d849(0x232)](_0x200938),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x40a6d6(0x352)](){var _0xc55c2e=_0x40a6d6;throw new Error(_0xc55c2e(0x2a4));}[_0x40a6d6(0x380)](){return this;}[_0x40a6d6(0x4d9)](){var _0x5ac350=_0x40a6d6;return this['_clearScheduledTask'](),this[_0x5ac350(0x262)][_0x5ac350(0x16a)](_0x3ec4d8[_0x5ac350(0x291)],this[_0x5ac350(0x469)],this[_0x5ac350(0x494)],null,this['_pendingMutations'],this[_0x5ac350(0x4a2)]);}[_0x40a6d6(0x497)](){return this;}[_0x40a6d6(0x4af)](_0x352059){var _0x46926a=_0x40a6d6;const _0x4084bb=_0x352059!=null?_0x352059:this[_0x46926a(0x1a8)]();this[_0x46926a(0x3ae)]=new Date()[_0x46926a(0x174)](),this['_sendingTimer']=setTimeout(()=>{var _0x3989e6=_0x46926a;this[_0x3989e6(0x1d8)]();let _0x317f00=null;switch(this['type']){case _0x20e0b3['UNIVER_SHEET']:{_0x317f00=_0x3d0e88(this[_0x3989e6(0x354)],this[_0x3989e6(0x469)],this[_0x3989e6(0x18d)],this[_0x3989e6(0x18a)],this[_0x3989e6(0x2e6)]);break;}case _0x20e0b3[_0x3989e6(0x359)]:{this['_pendingMutations']['every'](_0x1704a8=>_0x1704a8['id']===_0x42843b['RichTextEditingMutation']['id'])?_0x317f00=_0xdadc20(this['_pendingMutations'],this[_0x3989e6(0x469)],this[_0x3989e6(0x18d)],this[_0x3989e6(0x18a)],this[_0x3989e6(0x2e6)]):_0x317f00=_0x3d0e88(this['_pendingMutations'],this[_0x3989e6(0x469)],this[_0x3989e6(0x18d)],this[_0x3989e6(0x18a)],this[_0x3989e6(0x2e6)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x3989e6(0x494)]+_0x3989e6(0x399));}const {changeset:_0xc0db16,pendingMutations:_0x455dc1}=_0x317f00;this[_0x3989e6(0x4a2)]['onSendChangeset'](_0xc0db16);const _0x21bafe=_0x455dc1[_0x3989e6(0x2e5)]?this['_injector'][_0x3989e6(0x16a)](_0x3ec4d8[_0x3989e6(0x34f)],this['unitID'],this[_0x3989e6(0x494)],_0xc0db16,_0x455dc1,this['_handler'],void 0x0):this[_0x3989e6(0x262)][_0x3989e6(0x16a)](_0x3ec4d8[_0x3989e6(0x385)],this[_0x3989e6(0x469)],this[_0x3989e6(0x494)],_0xc0db16,this['_handler']);_0x21bafe['_updateLocalCache'](),this['_handler'][_0x3989e6(0x2a0)](this,_0x21bafe);},_0x4084bb);}[_0x40a6d6(0x1a8)](){var _0x2212c5=_0x40a6d6,_0x5df8da;const _0x52dcb2=this[_0x2212c5(0x3c2)][_0x2212c5(0x343)](_0x364030);return(_0x5df8da=_0x52dcb2==null?void 0x0:_0x52dcb2[_0x2212c5(0x25d)])!=null?_0x5df8da:0x7d0;}['resend'](){var _0x21f099=_0x40a6d6;throw new Error(_0x21f099(0x32f));}[_0x40a6d6(0x1d8)](){var _0x48789d=_0x40a6d6;this[_0x48789d(0x249)]!=null&&(clearTimeout(this[_0x48789d(0x249)]),this[_0x48789d(0x249)]=null);}[_0x40a6d6(0x26b)](_0x4315aa){var _0x17e910=_0x40a6d6;return this[_0x17e910(0x1d8)](),this[_0x17e910(0x262)][_0x17e910(0x16a)](_0x3ec4d8[_0x17e910(0x2b8)],this[_0x17e910(0x469)],this['type'],null,this[_0x17e910(0x354)],this[_0x17e910(0x4a2)],_0x4315aa);}},_0x3ec4d8['PendingState']=_0x104d80([_0x24d800(0x4,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x411)])),_0x24d800(0x5,_0x26dfb1['Inject'](_0x44b24e[_0x40a6d6(0x2d8)])),_0x24d800(0x6,_0x26dfb1[_0x40a6d6(0x1b7)](_0x3ec4d8['MemberService'])),_0x24d800(0x7,_0x26dfb1[_0x40a6d6(0x38a)]),_0x24d800(0x8,_0x26dfb1[_0x40a6d6(0x45d)]),_0x24d800(0x9,_0x26dfb1[_0x40a6d6(0x3f7)]),_0x24d800(0xa,_0x44b24e[_0x40a6d6(0x26f)]),_0x24d800(0xb,_0x26dfb1[_0x40a6d6(0x2d0)]),_0x24d800(0xc,_0x26dfb1[_0x40a6d6(0x2ac)]),_0x24d800(0xd,_0x26dfb1[_0x40a6d6(0x429)](_0x56036f))],_0x3ec4d8[_0x40a6d6(0x16b)]),_0x3ec4d8[_0x40a6d6(0x385)]=class extends _0x2ba482{constructor(_0x291fad,_0xa65066,_0x1bb269,_0x2a2291,_0x28850b,_0xaf09a0,_0x263b4a,_0x3840e8,_0x4586a4,_0x3e80cb,_0x991d10){var _0x46801b=_0x40a6d6;super(_0x291fad,_0xa65066,_0x1bb269,[],_0x2a2291,_0x263b4a,_0x3e80cb,_0xaf09a0,_0x991d10),_0x3afa5d(this,_0x46801b(0x387),_0x46801b(0x1dd)),_0x3afa5d(this,'_resendTimeout',0x0),_0x3afa5d(this,'_resendTimer'),_0x3afa5d(this,_0x46801b(0x317)),(this[_0x46801b(0x262)]=_0x28850b,this[_0x46801b(0x2bf)]=_0x3840e8,this['_transformService']=_0x4586a4);}['appendMutation'](_0x4990e7){var _0x13b30a=_0x40a6d6;this[_0x13b30a(0x1d8)]();const _0x3e6c2a=this[_0x13b30a(0x262)][_0x13b30a(0x16a)](_0x3ec4d8[_0x13b30a(0x34f)],this['unitID'],this['type'],this[_0x13b30a(0x1b5)],[_0x4990e7],this['_handler'],this[_0x13b30a(0x182)]);return _0x3e6c2a[_0x13b30a(0x27a)](),_0x3e6c2a;}[_0x40a6d6(0x3fd)](_0x48015a){var _0x17a023=_0x40a6d6;if(this[_0x17a023(0x29d)](_0x48015a))return this['_clearScheduledTask'](),this[_0x17a023(0x262)][_0x17a023(0x16a)](_0x3ec4d8[_0x17a023(0x31e)],this[_0x17a023(0x469)],this['type'],this['_awaitingChangeset'],[],null,[_0x48015a],this[_0x17a023(0x4a2)]);try{const _0x16382f=this[_0x17a023(0x15d)]['transformChangesets']([_0x48015a],[this[_0x17a023(0x1b5)]],!0x1);if(_0x44b24e[_0x17a023(0x468)](_0x16382f)){const {c1Prime:_0x3f5529,c2Prime:_0x23b816}=_0x16382f;this[_0x17a023(0x491)](_0x3f5529[0x0]),_0x23b816[0x0][_0x17a023(0x2c4)]=this[_0x17a023(0x488)](),this[_0x17a023(0x1d8)]();const _0x2a458b=this[_0x17a023(0x262)][_0x17a023(0x16a)](_0x3ec4d8[_0x17a023(0x385)],this[_0x17a023(0x469)],this[_0x17a023(0x494)],_0x23b816[0x0],this[_0x17a023(0x4a2)]);return _0x2a458b[_0x17a023(0x27a)](),_0x2a458b;}return this['_onConflict'](!0x1);}catch(_0x18d688){return this[_0x17a023(0x2bf)][_0x17a023(0x232)](_0x18d688),this[_0x17a023(0x26b)](!0x1);}}[_0x40a6d6(0x4a5)](_0x541557){var _0x3864b1=_0x40a6d6;this['_clearScheduledTask']();const _0x76766f=this['_revisionService'][_0x3864b1(0x3ec)](this[_0x3864b1(0x469)]);if(_0x541557['revision']<_0x76766f-0x1)return this;if(this[_0x3864b1(0x29d)](_0x541557))return this[_0x3864b1(0x262)][_0x3864b1(0x16a)](_0x3ec4d8['FetchingMissState'],this[_0x3864b1(0x469)],this[_0x3864b1(0x494)],null,[],this[_0x3864b1(0x1b5)],[],this[_0x3864b1(0x4a2)]);this['_incrementRevisionNumber']();const _0x1ceb23=this[_0x3864b1(0x262)][_0x3864b1(0x16a)](_0x3ec4d8[_0x3864b1(0x4de)],this[_0x3864b1(0x469)],this[_0x3864b1(0x494)],this['_handler']);return _0x1ceb23[_0x3864b1(0x27a)](),_0x1ceb23;}[_0x40a6d6(0x352)](_0x549991){var _0x19aa99=_0x40a6d6;return this[_0x19aa99(0x26b)](!!(_0x549991!=null&&_0x549991[_0x19aa99(0x3f5)]));}[_0x40a6d6(0x380)](_0xfec1fb){var _0x5eac34=_0x40a6d6;return this[_0x5eac34(0x15b)]>_0x3c3086?this['toggleOffline']():(this[_0x5eac34(0x182)]=_0xfcfcfd(this[_0x5eac34(0x15b)],{'timeout':this[_0x5eac34(0x15b)],'reqId':_0xfec1fb['reqId']}),this[_0x5eac34(0x317)]=this['_resendTimer']['subscribe'](({reqId:_0x2f3404,timeout:_0xbcd5a})=>{var _0x658d02=_0x5eac34;this[_0x658d02(0x272)](_0x2f3404,_0xbcd5a);}),this);}[_0x40a6d6(0x4d9)](){var _0x5ba044=_0x40a6d6;return this[_0x5ba044(0x1d8)](),this[_0x5ba044(0x262)][_0x5ba044(0x16a)](_0x3ec4d8[_0x5ba044(0x291)],this[_0x5ba044(0x469)],this['type'],this[_0x5ba044(0x1b5)],[],this[_0x5ba044(0x4a2)]);}['toggleOnline'](){return this;}[_0x40a6d6(0x30b)](){var _0x540b60=_0x40a6d6;this[_0x540b60(0x4a2)]['onSendChangeset'](this[_0x540b60(0x1b5)]);}['_onConflict'](_0x4cac9e){var _0x3596cf=_0x40a6d6;return this[_0x3596cf(0x1d8)](),this[_0x3596cf(0x262)][_0x3596cf(0x16a)](_0x3ec4d8[_0x3596cf(0x2b8)],this[_0x3596cf(0x469)],this['type'],this['_awaitingChangeset'],[],this[_0x3596cf(0x4a2)],_0x4cac9e);}['_resendWithTimeout'](_0x4bd163,_0x34f464){var _0x281e2c=_0x40a6d6,_0x5f0d7b;_0x4bd163===((_0x5f0d7b=this[_0x281e2c(0x1b5)])==null?void 0x0:_0x5f0d7b[_0x281e2c(0x374)])&&(this[_0x281e2c(0x30b)](),this[_0x281e2c(0x15b)]=_0x34f464===0x0?0x3e8:_0x34f464*0x2);}['_clearScheduledTask'](){var _0xf757e4=_0x40a6d6,_0x30afc2;(_0x30afc2=this[_0xf757e4(0x317)])==null||_0x30afc2['unsubscribe'](),this[_0xf757e4(0x15b)]=0x0;}},_0x3ec4d8['AwaitingState']=_0x104d80([_0x24d800(0x4,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x411)])),_0x24d800(0x5,_0x26dfb1[_0x40a6d6(0x1b7)](_0x44b24e[_0x40a6d6(0x2d8)])),_0x24d800(0x6,_0x26dfb1[_0x40a6d6(0x45d)]),_0x24d800(0x7,_0x26dfb1['ILogService']),_0x24d800(0x8,_0x44b24e[_0x40a6d6(0x26f)]),_0x24d800(0x9,_0x26dfb1[_0x40a6d6(0x2ac)]),_0x24d800(0xa,_0x26dfb1[_0x40a6d6(0x429)](_0x56036f))],_0x3ec4d8['AwaitingState']),_0x3ec4d8[_0x40a6d6(0x34f)]=class extends _0x2ba482{constructor(_0x11d3c1,_0x47542f,_0x941b09,_0x145daa,_0x4f3aee,_0x3f6e61,_0x3d904f,_0x3b9ea5,_0x18b043,_0x5ee3b9,_0x409987,_0x4a3a93,_0x1e8bc6){var _0x584e61=_0x40a6d6;super(_0x11d3c1,_0x47542f,_0x941b09,_0x145daa,_0x4f3aee,_0x18b043,_0x4a3a93,_0x3b9ea5,_0x1e8bc6),_0x3afa5d(this,_0x584e61(0x387),_0x584e61(0x49a)),_0x3afa5d(this,_0x584e61(0x15b),0x0),_0x3afa5d(this,_0x584e61(0x182)),_0x3afa5d(this,_0x584e61(0x317)),(this[_0x584e61(0x262)]=_0x3d904f,this[_0x584e61(0x2bf)]=_0x5ee3b9,this['_transformService']=_0x409987,this['localCacheService']=_0x1e8bc6,_0x3f6e61&&(this[_0x584e61(0x182)]=_0x3f6e61,this[_0x584e61(0x317)]=this[_0x584e61(0x182)][_0x584e61(0x187)](({reqId:_0x1e6df5,timeout:_0x2fd459})=>{var _0x54d4c8=_0x584e61;this[_0x54d4c8(0x272)](_0x1e6df5,_0x2fd459);})));}[_0x40a6d6(0x23a)](_0x14223a){return this['_pendingMutations']['push'](_0x14223a),this;}[_0x40a6d6(0x3fd)](_0x299045){var _0x49e063=_0x40a6d6;if(this[_0x49e063(0x29d)](_0x299045))return this['_clearScheduledTask'](),this[_0x49e063(0x262)]['createInstance'](_0x3ec4d8['FetchingMissState'],this[_0x49e063(0x469)],this[_0x49e063(0x494)],this['_awaitingChangeset'],this[_0x49e063(0x354)],null,[_0x299045],this[_0x49e063(0x4a2)]);try{const _0x2ee4b4=this['_transformService'][_0x49e063(0x403)]([_0x299045],[this[_0x49e063(0x1b5)]],!0x1);if(_0x44b24e['isTransformChangesetsSuccess'](_0x2ee4b4)){const {c1Prime:_0x385f3a,c2Prime:_0x235892}=_0x2ee4b4,_0x22c816=this[_0x49e063(0x15d)][_0x49e063(0x378)](_0x385f3a[0x0],this[_0x49e063(0x354)]);if(_0x44b24e['isTransformMutationsWithChangesetSuccess'](_0x22c816)){const {c1Prime:_0x47182c,m2Prime:_0x535181}=_0x22c816;return this['_executeRemoteChangeset'](_0x47182c),_0x235892[0x0][_0x49e063(0x2c4)]=this['_getCurrentRevision'](),this[_0x49e063(0x1d8)](),this[_0x49e063(0x262)][_0x49e063(0x16a)](_0x3ec4d8[_0x49e063(0x34f)],this[_0x49e063(0x469)],this[_0x49e063(0x494)],_0x235892[0x0],_0x535181,this[_0x49e063(0x4a2)],void 0x0);}throw _0x22c816[_0x49e063(0x232)];}throw _0x2ee4b4[_0x49e063(0x232)];}catch(_0x1f4221){return this['_logService'][_0x49e063(0x232)](_0x1f4221),this[_0x49e063(0x26b)](!0x1);}}[_0x40a6d6(0x4a5)](_0x286146){var _0x4948c1=_0x40a6d6;if(this['_clearScheduledTask'](),this[_0x4948c1(0x29d)](_0x286146))return this[_0x4948c1(0x262)]['createInstance'](_0x3ec4d8['FetchingMissState'],this['unitID'],this[_0x4948c1(0x494)],null,this[_0x4948c1(0x354)],this[_0x4948c1(0x1b5)],[],this['_handler']);this[_0x4948c1(0x48b)]();const _0xf9b581=this['_injector'][_0x4948c1(0x16a)](_0x3ec4d8['PendingState'],this[_0x4948c1(0x469)],this[_0x4948c1(0x494)],this[_0x4948c1(0x354)],this['_handler']);return _0xf9b581[_0x4948c1(0x4af)](),_0xf9b581[_0x4948c1(0x27a)](),_0xf9b581;}[_0x40a6d6(0x352)](_0x17930f){return this['_onConflict'](!!(_0x17930f!=null&&_0x17930f['isPermissionRej']));}['onRemoteRetry'](_0x3eb9e2){var _0x141cf6=_0x40a6d6;return this['_resendTimeout']>_0x3c3086?this[_0x141cf6(0x4d9)]():(this[_0x141cf6(0x182)]=_0xfcfcfd(this[_0x141cf6(0x15b)],{'timeout':this[_0x141cf6(0x15b)],'reqId':_0x3eb9e2['reqId']}),this['_sender']=this[_0x141cf6(0x182)]['subscribe'](({reqId:_0x30dd9d,timeout:_0xd52669})=>{var _0x202238=_0x141cf6;this[_0x202238(0x272)](_0x30dd9d,_0xd52669);}),this);}[_0x40a6d6(0x4d9)](){var _0x1f9fc7=_0x40a6d6;return this[_0x1f9fc7(0x1d8)](),this[_0x1f9fc7(0x262)][_0x1f9fc7(0x16a)](_0x3ec4d8[_0x1f9fc7(0x291)],this[_0x1f9fc7(0x469)],this['type'],this[_0x1f9fc7(0x1b5)],this['_pendingMutations'],this[_0x1f9fc7(0x4a2)]);}[_0x40a6d6(0x497)](){return this;}[_0x40a6d6(0x30b)](){var _0x131834=_0x40a6d6;this[_0x131834(0x4a2)][_0x131834(0x1ed)](this[_0x131834(0x1b5)]);}['_onConflict'](_0x3378a1){var _0x1cde18=_0x40a6d6;return this[_0x1cde18(0x1d8)](),this[_0x1cde18(0x262)][_0x1cde18(0x16a)](_0x3ec4d8[_0x1cde18(0x2b8)],this[_0x1cde18(0x469)],this[_0x1cde18(0x494)],null,this[_0x1cde18(0x354)],this['_handler'],_0x3378a1);}[_0x40a6d6(0x272)](_0x51935a,_0x5cf63a){var _0x4a9f91=_0x40a6d6,_0x3cdd04;_0x51935a===((_0x3cdd04=this[_0x4a9f91(0x1b5)])==null?void 0x0:_0x3cdd04['reqId'])&&(this[_0x4a9f91(0x30b)](),this[_0x4a9f91(0x15b)]=_0x5cf63a===0x0?0x3e8:_0x5cf63a*0x2);}[_0x40a6d6(0x1d8)](){var _0x2ff425=_0x40a6d6,_0x5e95d0;(_0x5e95d0=this[_0x2ff425(0x317)])==null||_0x5e95d0[_0x2ff425(0x34a)](),this[_0x2ff425(0x15b)]=0x0;}},_0x3ec4d8[_0x40a6d6(0x34f)]=_0x104d80([_0x24d800(0x6,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1['Injector'])),_0x24d800(0x7,_0x26dfb1[_0x40a6d6(0x1b7)](_0x44b24e[_0x40a6d6(0x2d8)])),_0x24d800(0x8,_0x26dfb1[_0x40a6d6(0x45d)]),_0x24d800(0x9,_0x26dfb1[_0x40a6d6(0x38a)]),_0x24d800(0xa,_0x44b24e[_0x40a6d6(0x26f)]),_0x24d800(0xb,_0x26dfb1[_0x40a6d6(0x2ac)]),_0x24d800(0xc,_0x26dfb1['Optional'](_0x56036f))],_0x3ec4d8[_0x40a6d6(0x34f)]),_0x3ec4d8[_0x40a6d6(0x2b8)]=class extends _0x2ba482{constructor(_0x3939d4,_0x3297bb,_0x3e4d5e,_0x147f3e,_0x22a45c,_0x274597=!0x1,_0xdf0bc8,_0x156897,_0x29e4b9,_0x50978f,_0x57a30f,_0x3dbeda,_0x3d1c37){var _0x234649=_0x40a6d6;super(_0x3939d4,_0x3297bb,_0x3e4d5e,_0x147f3e,_0x22a45c,_0x156897,_0x29e4b9,_0x50978f,_0x3d1c37),_0x3afa5d(this,_0x234649(0x387),'conflict'),(this[_0x234649(0x3fb)]=_0x274597,this['_permissionService']=_0xdf0bc8,this[_0x234649(0x4c3)]=_0x57a30f,this[_0x234649(0x367)]=_0x3dbeda,this['localCacheService']=_0x3d1c37,this[_0x234649(0x4ec)](),this[_0x234649(0x45f)](),this[_0x234649(0x278)]());}[_0x40a6d6(0x23a)](){return this;}[_0x40a6d6(0x3fd)](){return this;}[_0x40a6d6(0x4a5)](){return this;}[_0x40a6d6(0x352)](){return this;}[_0x40a6d6(0x380)](){return this;}['toggleOffline'](){return this;}[_0x40a6d6(0x497)](){return this;}[_0x40a6d6(0x30b)](){var _0x2f7f5a=_0x40a6d6;throw new Error(_0x2f7f5a(0x4c6));}['_clearLocalCache'](){var _0x48740a=_0x40a6d6,_0xec6ae;(_0xec6ae=this['_localCacheService'])==null||_0xec6ae[_0x48740a(0x49e)](this[_0x48740a(0x469)],this[_0x48740a(0x494)],null,[]);}[_0x40a6d6(0x4ec)](){var _0x5765a6=_0x40a6d6;this[_0x5765a6(0x3fb)]?this[_0x5765a6(0x367)]['emitEvent']({'id':_0x104956[_0x5765a6(0x42a)]}):this[_0x5765a6(0x367)][_0x5765a6(0x4d1)]({'id':_0x104956[_0x5765a6(0x4b2)]});}['_disableEditing'](){var _0x3bae72=_0x40a6d6;this['_permissionService'][_0x3bae72(0x1f0)](new _0x213744[(_0x3bae72(0x2e8))](this[_0x3bae72(0x469)])['id'],!0x1);}},_0x3ec4d8[_0x40a6d6(0x2b8)]=_0x104d80([_0x24d800(0x6,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x189)])),_0x24d800(0x7,_0x26dfb1[_0x40a6d6(0x45d)]),_0x24d800(0x8,_0x26dfb1['IUndoRedoService']),_0x24d800(0x9,_0x26dfb1[_0x40a6d6(0x1b7)](_0x44b24e[_0x40a6d6(0x2d8)])),_0x24d800(0xa,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x259)])),_0x24d800(0xb,_0x26dfb1[_0x40a6d6(0x1b7)](_0x548944)),_0x24d800(0xc,_0x26dfb1[_0x40a6d6(0x429)](_0x56036f))],_0x3ec4d8[_0x40a6d6(0x2b8)]),_0x3ec4d8[_0x40a6d6(0x291)]=class extends _0x2ba482{constructor(_0xfba4ef,_0x55ce2e,_0x3b5f1b,_0x3f3f3d,_0x286aa1,_0x381369,_0xacdb89,_0x38cbbf,_0x2991b2,_0x52d548){var _0x1b7af8=_0x40a6d6;super(_0xfba4ef,_0x55ce2e,_0x3b5f1b,_0x3f3f3d,_0x286aa1,_0x38cbbf,_0x2991b2,_0xacdb89,_0x52d548),_0x3afa5d(this,_0x1b7af8(0x387),_0x1b7af8(0x487)),this[_0x1b7af8(0x262)]=_0x381369;}[_0x40a6d6(0x23a)](_0x562236){var _0x1f1fa9=_0x40a6d6;return this['_pendingMutations'][_0x1f1fa9(0x2a5)](_0x562236),this['_updateLocalCache'](),this;}[_0x40a6d6(0x3fd)](_0x58378d){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x40a6d6(0x4a5)](){var _0x374bfe=_0x40a6d6;throw new Error(_0x374bfe(0x258));}['onRemoteRej'](){var _0x45dc8b=_0x40a6d6;throw new Error(_0x45dc8b(0x33e));}[_0x40a6d6(0x380)](){return this;}[_0x40a6d6(0x4d9)](){return this;}['toggleOnline'](){var _0x579534=_0x40a6d6;const {_injector:_0x4b6642,_pendingMutations:_0x2e0e98,_awaitingChangeset:_0xe14f25,unitID:_0x346afd,_handler:_0x11fc01,type:_0x11c0b9}=this,_0x41e754=_0x34f75d(_0x4b6642,_0x346afd,_0x11c0b9,_0xe14f25,_0x2e0e98,_0x11fc01);return _0x41e754 instanceof _0x3ec4d8[_0x579534(0x16b)]?_0x41e754[_0x579534(0x4af)]():(_0x41e754 instanceof _0x3ec4d8[_0x579534(0x34f)]||_0x41e754 instanceof _0x3ec4d8[_0x579534(0x385)])&&_0x41e754[_0x579534(0x30b)](),_0x41e754;}['resend'](){var _0x20bc25=_0x40a6d6;throw new Error(_0x20bc25(0x156));}},_0x3ec4d8[_0x40a6d6(0x291)]=_0x104d80([_0x24d800(0x5,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x411)])),_0x24d800(0x6,_0x26dfb1[_0x40a6d6(0x1b7)](_0x44b24e['RevisionService'])),_0x24d800(0x7,_0x26dfb1[_0x40a6d6(0x45d)]),_0x24d800(0x8,_0x26dfb1[_0x40a6d6(0x2ac)]),_0x24d800(0x9,_0x26dfb1[_0x40a6d6(0x429)](_0x56036f))],_0x3ec4d8[_0x40a6d6(0x291)]),_0x3ec4d8[_0x40a6d6(0x31e)]=class extends _0x2ba482{constructor(_0x5d63be,_0x1e5812,_0x5c9fe1,_0xc4faea,_0x42686d,_0xb0f8f,_0x14786d,_0x277de4,_0xa81bca,_0x424ed0,_0x3c5a09,_0x190f00,_0x500035,_0x4ee70c){var _0x339c12=_0x40a6d6;super(_0x5d63be,_0x1e5812,_0x5c9fe1,_0xc4faea,_0x14786d,_0x3c5a09,_0x190f00,_0xa81bca,_0x4ee70c),_0x3afa5d(this,_0x339c12(0x387),_0x339c12(0x1f7)),(this[_0x339c12(0x175)]=_0x42686d,this[_0x339c12(0x316)]=_0xb0f8f,this[_0x339c12(0x262)]=_0x277de4,this[_0x339c12(0x2bf)]=_0x424ed0,this['_transformService']=_0x500035,this['localCacheService']=_0x4ee70c);}[_0x40a6d6(0x239)](_0x584615){var _0xde57a9=_0x40a6d6;try{const _0x356706=[..._0x584615,...this[_0xde57a9(0x316)]],_0x150255=[this[_0xde57a9(0x1b5)]||this['_acknowledgedAwaitingChangeset']][_0xde57a9(0x1b4)](_0x2e1ab6=>!!_0x2e1ab6);let _0x4f846f,_0x89bd55;if(_0x150255[_0xde57a9(0x2e5)]){const _0x5b0cfa=this['_transformService'][_0xde57a9(0x403)](_0x356706,_0x150255,!0x1);if(!_0x44b24e[_0xde57a9(0x468)](_0x5b0cfa))throw _0x5b0cfa[_0xde57a9(0x232)];_0x4f846f=_0x5b0cfa['c1Prime'],_0x89bd55=_0x5b0cfa[_0xde57a9(0x183)];}else _0x4f846f=_0x356706,_0x89bd55=[];let _0x2f95ca=this[_0xde57a9(0x354)];_0x4f846f[_0xde57a9(0x434)](_0x3bc428=>{var _0xe57f21=_0xde57a9;let _0x4c539;if(_0x2f95ca[_0xe57f21(0x2e5)]){const _0x1215da=this[_0xe57f21(0x15d)]['transformMutationsWithChangeset'](_0x3bc428,_0x2f95ca);if(!_0x44b24e[_0xe57f21(0x404)](_0x1215da))throw _0x1215da['error'];_0x4c539=_0x1215da[_0xe57f21(0x44b)],_0x2f95ca=_0x1215da[_0xe57f21(0x35d)];}else _0x4c539=_0x3bc428;this[_0xe57f21(0x491)](_0x4c539);}),this['_acknowledgedAwaitingChangeset']&&this[_0xde57a9(0x48b)](),this[_0xde57a9(0x1b5)]&&_0x89bd55[_0xde57a9(0x2e5)]&&(_0x89bd55[0x0][_0xde57a9(0x2c4)]=this['_getCurrentRevision']());let _0x1aabce;if(this[_0xde57a9(0x1b5)]&&_0x2f95ca[_0xde57a9(0x2e5)]!==0x0)_0x1aabce=this[_0xde57a9(0x262)][_0xde57a9(0x16a)](_0x3ec4d8[_0xde57a9(0x34f)],this['unitID'],this[_0xde57a9(0x494)],_0x89bd55[0x0],_0x2f95ca,this['_handler'],void 0x0);else{if(this[_0xde57a9(0x1b5)]&&_0x2f95ca[_0xde57a9(0x2e5)]===0x0)_0x89bd55[0x0][_0xde57a9(0x2c4)]=this['_getCurrentRevision'](),_0x1aabce=this[_0xde57a9(0x262)][_0xde57a9(0x16a)](_0x3ec4d8[_0xde57a9(0x385)],this[_0xde57a9(0x469)],this[_0xde57a9(0x494)],_0x89bd55[0x0],this['_handler']);else{if(_0x2f95ca[_0xde57a9(0x2e5)]!==0x0){const _0x3f8eeb=this[_0xde57a9(0x262)]['createInstance'](_0x3ec4d8[_0xde57a9(0x16b)],this[_0xde57a9(0x469)],this[_0xde57a9(0x494)],_0x2f95ca,this['_handler']);_0x3f8eeb['_schedule'](),_0x1aabce=_0x3f8eeb;}else _0x1aabce=this[_0xde57a9(0x262)][_0xde57a9(0x16a)](_0x3ec4d8[_0xde57a9(0x4de)],this[_0xde57a9(0x469)],this[_0xde57a9(0x494)],this['_handler']);}}return _0x1aabce[_0xde57a9(0x27a)](),_0x1aabce;}catch(_0x255347){return this['_logService'][_0xde57a9(0x232)](_0xde57a9(0x19f),'failed\x20to\x20apply\x20missed\x20changesets!',_0x255347),this[_0xde57a9(0x262)][_0xde57a9(0x16a)](_0x3ec4d8[_0xde57a9(0x2b8)],this[_0xde57a9(0x469)],this[_0xde57a9(0x494)],this[_0xde57a9(0x1b5)],this['_pendingMutations'],this[_0xde57a9(0x4a2)],!0x1);}}[_0x40a6d6(0x30b)](){var _0x50af6e=_0x40a6d6;throw new Error(_0x50af6e(0x20b));}[_0x40a6d6(0x23a)](_0x3bad76){var _0x5e8731=_0x40a6d6;return this['_pendingMutations'][_0x5e8731(0x2a5)](_0x3bad76),this;}[_0x40a6d6(0x3fd)](_0x29345a){var _0x3aa534=_0x40a6d6;return this['_queuedRemoteChangesets'][_0x3aa534(0x2a5)](_0x29345a),this;}[_0x40a6d6(0x4a5)](_0x2761f7){var _0x2f4ee1=_0x40a6d6;if(this[_0x2f4ee1(0x1b5)])return this[_0x2f4ee1(0x175)]=this[_0x2f4ee1(0x1b5)],this[_0x2f4ee1(0x1b5)]=null,this;throw new Error(_0x2f4ee1(0x42c));}[_0x40a6d6(0x352)](_0x37e4f1){var _0x1e0b9f=_0x40a6d6;return this[_0x1e0b9f(0x26b)](!!(_0x37e4f1!=null&&_0x37e4f1[_0x1e0b9f(0x3f5)]));}[_0x40a6d6(0x380)](){return this;}[_0x40a6d6(0x4d9)](){var _0x2a74a4=_0x40a6d6;return this[_0x2a74a4(0x262)]['createInstance'](_0x3ec4d8[_0x2a74a4(0x291)],this[_0x2a74a4(0x469)],this[_0x2a74a4(0x494)],this[_0x2a74a4(0x1b5)],this[_0x2a74a4(0x354)],this['_handler']);}[_0x40a6d6(0x497)](){return this;}[_0x40a6d6(0x26b)](_0x45ade1){var _0x44f7f2=_0x40a6d6;return this['_injector'][_0x44f7f2(0x16a)](_0x3ec4d8['ConflictState'],this['unitID'],this[_0x44f7f2(0x494)],this['_awaitingChangeset'],this[_0x44f7f2(0x354)],this[_0x44f7f2(0x4a2)],_0x45ade1);}},_0x3ec4d8[_0x40a6d6(0x31e)]=_0x104d80([_0x24d800(0x7,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1['Injector'])),_0x24d800(0x8,_0x26dfb1[_0x40a6d6(0x1b7)](_0x44b24e[_0x40a6d6(0x2d8)])),_0x24d800(0x9,_0x26dfb1['ILogService']),_0x24d800(0xa,_0x26dfb1[_0x40a6d6(0x45d)]),_0x24d800(0xb,_0x26dfb1['IUndoRedoService']),_0x24d800(0xc,_0x44b24e[_0x40a6d6(0x26f)]),_0x24d800(0xd,_0x26dfb1[_0x40a6d6(0x429)](_0x56036f))],_0x3ec4d8[_0x40a6d6(0x31e)]);function _0x34f75d(_0x4415d9,_0x572b97,_0x1ce8aa,_0x579dce,_0x4dd88f,_0x29d463){var _0x4dd2ef=_0x40a6d6;return _0x579dce&&_0x4dd88f[_0x4dd2ef(0x2e5)]?_0x4415d9[_0x4dd2ef(0x16a)](_0x3ec4d8['AwaitingWithPendingState'],_0x572b97,_0x1ce8aa,_0x579dce,_0x4dd88f,_0x29d463,void 0x0):_0x579dce?_0x4415d9[_0x4dd2ef(0x16a)](_0x3ec4d8[_0x4dd2ef(0x385)],_0x572b97,_0x1ce8aa,_0x579dce,_0x29d463):_0x4dd88f[_0x4dd2ef(0x2e5)]?_0x4415d9[_0x4dd2ef(0x16a)](_0x3ec4d8[_0x4dd2ef(0x16b)],_0x572b97,_0x1ce8aa,_0x4dd88f,_0x29d463):_0x4415d9['createInstance'](_0x3ec4d8[_0x4dd2ef(0x4de)],_0x572b97,_0x1ce8aa,_0x29d463);}var _0x51efb3=Object[_0x40a6d6(0x2e4)],_0x4dba1b=Object[_0x40a6d6(0x329)],_0x45d42f=(_0x1a7c79,_0x22ed88,_0x135b7f,_0x3216ce)=>{var _0x2ba5c4=_0x40a6d6;for(var _0x3dd284=_0x3216ce>0x1?void 0x0:_0x3216ce?_0x4dba1b(_0x22ed88,_0x135b7f):_0x22ed88,_0x2989e8=_0x1a7c79[_0x2ba5c4(0x2e5)]-0x1,_0x5e29bd;_0x2989e8>=0x0;_0x2989e8--)(_0x5e29bd=_0x1a7c79[_0x2989e8])&&(_0x3dd284=(_0x3216ce?_0x5e29bd(_0x22ed88,_0x135b7f,_0x3dd284):_0x5e29bd(_0x3dd284))||_0x3dd284);return _0x3216ce&&_0x3dd284&&_0x51efb3(_0x22ed88,_0x135b7f,_0x3dd284),_0x3dd284;},_0x121285=(_0x4aabfa,_0x5f48e6)=>(_0x4ff9b2,_0x4176e9)=>_0x5f48e6(_0x4ff9b2,_0x4176e9,_0x4aabfa);_0x3ec4d8[_0x40a6d6(0x39d)]=class extends _0x26dfb1[_0x40a6d6(0x3cb)]{constructor(_0x2668ed,_0x3b31c3,_0x10040d,_0x330f27,_0x1d35c6,_0x85784b,_0x461ae8,_0x40fa74,_0x2685f3,_0x1d5464,_0x85a5ef,_0x459e7b,_0x43c21a){var _0x166d73=_0x40a6d6;super(),_0x3afa5d(this,'_state$',new _0x2f7ab3['BehaviorSubject'](null)),_0x3afa5d(this,_0x166d73(0x2b1),this['_state$'][_0x166d73(0x4cb)]()),_0x3afa5d(this,'_state'),_0x3afa5d(this,_0x166d73(0x2a1),!0x1),_0x3afa5d(this,_0x166d73(0x25f),''),_0x3afa5d(this,_0x166d73(0x1ce),0x0),_0x3afa5d(this,_0x166d73(0x304),this[_0x166d73(0x2b1)][_0x166d73(0x425)](_0x2f7ab3[_0x166d73(0x2d6)](_0x3e2f3b=>_0x3e2f3b?_0x3e2f3b['status']:_0x386e83[_0x166d73(0x3cd)]),_0x2f7ab3[_0x166d73(0x424)](0x1))),_0x3afa5d(this,_0x166d73(0x3c8),!0x1),_0x3afa5d(this,_0x166d73(0x319),[]),(this['unitID']=_0x2668ed,this[_0x166d73(0x292)]=_0x3b31c3,this[_0x166d73(0x4b3)]=_0x10040d,this[_0x166d73(0x262)]=_0x330f27,this[_0x166d73(0x243)]=_0x1d35c6,this[_0x166d73(0x4c3)]=_0x85784b,this['_revisionService']=_0x461ae8,this[_0x166d73(0x37c)]=_0x40fa74,this[_0x166d73(0x2bf)]=_0x2685f3,this[_0x166d73(0x41e)]=_0x1d5464,this['_permissionService']=_0x85a5ef,this['_singleActiveUnitService']=_0x459e7b,this['_localCacheService']=_0x43c21a);}get[_0x40a6d6(0x1d9)](){var _0x2e7fb9=_0x40a6d6;return this[_0x2e7fb9(0x293)];}async['init'](){var _0x3f7259=_0x40a6d6;if(this['state'])throw new Error(_0x3f7259(0x45b));await this[_0x3f7259(0x47c)]();}['pauseCollaboration'](){var _0x4b5bc5=_0x40a6d6;return this['_collaborationPaused']=!0x0,_0x26dfb1[_0x4b5bc5(0x3ff)](()=>{var _0x440f8f=_0x4b5bc5;this['_collaborationPaused']=!0x1,this[_0x440f8f(0x3ca)]();});}[_0x40a6d6(0x1c2)](_0x45c84e){this['_onLocalMutation'](_0x45c84e);}[_0x40a6d6(0x288)](_0x13667c){var _0x2a6194=_0x40a6d6;this['_state']=_0x13667c,this[_0x2a6194(0x4bb)][_0x2a6194(0x2ae)](_0x13667c);}async[_0x40a6d6(0x47c)](){var _0x334ffe=_0x40a6d6,_0x225151;this[_0x334ffe(0x288)](await this['_createInitialState']()),this[_0x334ffe(0x2fc)]&&((_0x225151=this[_0x334ffe(0x2fc)])==null||_0x225151[_0x334ffe(0x4eb)](this[_0x334ffe(0x469)]),this[_0x334ffe(0x176)](this[_0x334ffe(0x2fc)][_0x334ffe(0x192)](this['unitID'])[_0x334ffe(0x187)](_0x460809=>{var _0x4b26b6=_0x334ffe;this[_0x4b26b6(0x2bf)][_0x4b26b6(0x446)](_0x4b26b6(0x49d),_0x4b26b6(0x313),_0x460809),_0x460809===_0x16a6a2[_0x4b26b6(0x299)]?(this[_0x4b26b6(0x37c)][_0x4b26b6(0x4d1)]({'id':_0x104956[_0x4b26b6(0x26c)]}),this['_permissionService'][_0x4b26b6(0x1f0)](new _0x213744[(_0x4b26b6(0x2e8))](this[_0x4b26b6(0x469)])['id'],!0x1),this[_0x4b26b6(0x255)][_0x4b26b6(0x355)](!0x1)):(this['_permissionService'][_0x4b26b6(0x1f0)](new _0x213744[(_0x4b26b6(0x2e8))](this[_0x4b26b6(0x469)])['id'],!0x0),this[_0x4b26b6(0x255)][_0x4b26b6(0x355)](!0x0));})));let _0x4a7aca=!0x1;return this[_0x334ffe(0x176)](this[_0x334ffe(0x292)]['sessionStatus$'][_0x334ffe(0x187)](_0x5a6b72=>{var _0x4cabfe=_0x334ffe;_0x5a6b72===_0x4e157e[_0x4cabfe(0x3d1)]?this[_0x4cabfe(0x322)](_0x4a7aca):_0x5a6b72===_0x4e157e[_0x4cabfe(0x3cd)]&&(_0x4a7aca=!0x0,this['_toggleOffline']());})),this[_0x334ffe(0x176)](this[_0x334ffe(0x292)][_0x334ffe(0x184)][_0x334ffe(0x187)](_0x43e36b=>{var _0x1160c6=_0x334ffe;try{switch(_0x43e36b[_0x1160c6(0x3d0)]){case _0x44b24e['CollaborationEvent'][_0x1160c6(0x17f)]:{this[_0x1160c6(0x324)](_0x44b24e[_0x1160c6(0x2c8)](_0x43e36b[_0x1160c6(0x231)]));break;}case _0x44b24e[_0x1160c6(0x20e)][_0x1160c6(0x17c)]:{this[_0x1160c6(0x290)](_0x43e36b[_0x1160c6(0x231)]);break;}case _0x44b24e[_0x1160c6(0x20e)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x44b24e[_0x1160c6(0x20e)][_0x1160c6(0x46c)]:{this[_0x1160c6(0x240)](_0x43e36b[_0x1160c6(0x231)]);break;}case _0x44b24e[_0x1160c6(0x20e)][_0x1160c6(0x406)]:{this[_0x1160c6(0x3a7)](_0x43e36b[_0x1160c6(0x231)][_0x1160c6(0x421)][_0x1160c6(0x2d6)](_0x1f9c0c=>_0x44b24e[_0x1160c6(0x2c8)](_0x1f9c0c)));break;}case _0x44b24e[_0x1160c6(0x20e)][_0x1160c6(0x2f3)]:{this[_0x1160c6(0x205)]({'isPermissionRej':!0x0});break;}case _0x44b24e[_0x1160c6(0x20e)][_0x1160c6(0x3ea)]:break;}}catch(_0x3e842a){throw console[_0x1160c6(0x232)](_0x1160c6(0x4ad),_0x3e842a),_0x3e842a;}})),this[_0x334ffe(0x293)];}[_0x40a6d6(0x161)](){var _0x3d4e9a=_0x40a6d6;this[_0x3d4e9a(0x3c8)]=!0x1;}['_lockTransition'](){var _0x2385a8=_0x40a6d6;if(this[_0x2385a8(0x3c8)])throw new Error(_0x2385a8(0x164));this['_transitionLocked']=!0x0;}[_0x40a6d6(0x23f)](_0x16110b){var _0xb0c543=_0x40a6d6;this['_lockTransition'](),this[_0xb0c543(0x288)](this['_state'][_0xb0c543(0x23a)](_0x16110b)),this[_0xb0c543(0x161)]();}[_0x40a6d6(0x324)](_0x2892f4){var _0x4d2d62=_0x40a6d6;if(!(_0x2892f4[_0x4d2d62(0x427)]<=this[_0x4d2d62(0x18a)]['getCurrentRevOfUnit'](this[_0x4d2d62(0x469)]))){if(this[_0x4d2d62(0x2a1)]){this[_0x4d2d62(0x319)]['push'](_0x2892f4);return;}this[_0x4d2d62(0x275)](_0x2892f4);}}[_0x40a6d6(0x3ca)](){var _0x1edd6d=_0x40a6d6;this[_0x1edd6d(0x319)][_0x1edd6d(0x434)](_0x14a24c=>this[_0x1edd6d(0x275)](_0x14a24c)),this['_remoteChangesetQueue']=[];}[_0x40a6d6(0x275)](_0x296b00){var _0x2d18ef=_0x40a6d6;const _0x306f55=this['_compressMutationService'][_0x2d18ef(0x153)]['fetchThroughInterceptors'](this[_0x2d18ef(0x243)][_0x2d18ef(0x153)][_0x2d18ef(0x21a)]()['COMPRESS_MUTATION_APPLY'])(_0x296b00[_0x2d18ef(0x34e)],null)||_0x296b00[_0x2d18ef(0x34e)],_0x360ae2={..._0x296b00,'mutations':_0x306f55};this['_lockTransition'](),this[_0x2d18ef(0x288)](this[_0x2d18ef(0x293)][_0x2d18ef(0x3fd)](_0x360ae2)),this[_0x2d18ef(0x161)]();}[_0x40a6d6(0x290)](_0x308ba7){var _0x31b52a=_0x40a6d6;this[_0x31b52a(0x361)](),this[_0x31b52a(0x288)](this[_0x31b52a(0x293)][_0x31b52a(0x4a5)](_0x308ba7)),this['_unlockTransition']();}['_onRemoteRejected'](_0x3c3ca0){var _0x51a2aa=_0x40a6d6;this[_0x51a2aa(0x361)](),this[_0x51a2aa(0x288)](this[_0x51a2aa(0x293)]['onRemoteRej'](_0x3c3ca0)),this['_unlockTransition']();}[_0x40a6d6(0x240)](_0x343178){var _0xd063c5=_0x40a6d6;this[_0xd063c5(0x361)](),this['_updateState'](this['_state'][_0xd063c5(0x380)](_0x343178)),this[_0xd063c5(0x161)]();}['_onFetchMissResult'](_0x34e02f){var _0xf91b7a=_0x40a6d6;if(!(this[_0xf91b7a(0x293)]instanceof _0x3ec4d8[_0xf91b7a(0x31e)]))throw new TypeError(_0xf91b7a(0x3b3));const _0x4b4bcb=_0x34e02f[_0xf91b7a(0x2d6)](_0x35ba9a=>{var _0x2fbb3c=_0xf91b7a;const _0x3c6c8a=this[_0x2fbb3c(0x243)][_0x2fbb3c(0x153)][_0x2fbb3c(0x24f)](this['_compressMutationService']['interceptor'][_0x2fbb3c(0x21a)]()[_0x2fbb3c(0x18b)])(_0x35ba9a[_0x2fbb3c(0x34e)],null)||_0x35ba9a[_0x2fbb3c(0x34e)];return{..._0x35ba9a,'mutations':_0x3c6c8a};});this[_0xf91b7a(0x361)](),this['_updateState'](this[_0xf91b7a(0x293)][_0xf91b7a(0x239)](_0x4b4bcb)),this['_unlockTransition']();}[_0x40a6d6(0x276)](){var _0x262988=_0x40a6d6;this['_lockTransition'](),this[_0x262988(0x288)](this[_0x262988(0x293)][_0x262988(0x4d9)]()),this[_0x262988(0x161)]();}[_0x40a6d6(0x322)](_0x39be28=!0x1){var _0x161fb2=_0x40a6d6;this[_0x161fb2(0x361)](),this['_updateState'](this[_0x161fb2(0x293)]['toggleOnline']()),this[_0x161fb2(0x161)]();const _0xcb709a=this[_0x161fb2(0x293)];_0x39be28&&_0xcb709a instanceof _0x3ec4d8[_0x161fb2(0x4de)]&&(this['_lockTransition'](),this[_0x161fb2(0x288)](_0xcb709a['fetchMiss']()),this[_0x161fb2(0x161)]());}async[_0x40a6d6(0x423)](){return new Promise(_0x53cb2d=>{var _0x243bcb=_0xfa75;this[_0x243bcb(0x292)][_0x243bcb(0x3b7)]['pipe'](_0x2f7ab3[_0x243bcb(0x212)](0x1))[_0x243bcb(0x187)](async _0x8fec54=>{var _0x27bb26=_0x243bcb;_0x53cb2d(await this[_0x27bb26(0x171)](_0x8fec54===_0x4e157e[_0x27bb26(0x3d1)]));});});}[_0x40a6d6(0x3b8)](){var _0x1f062a=_0x40a6d6;const _0x352017=this[_0x1f062a(0x469)];return{'onStateChange':(_0x2808bf,_0x318f29)=>{var _0x101e29=_0x1f062a;if(_0x2808bf!==this[_0x101e29(0x293)])throw new Error(_0x101e29(0x35b)+_0x2808bf[_0x101e29(0x387)]+_0x101e29(0x462)+_0x318f29[_0x101e29(0x387)]+_0x101e29(0x3d9)+this[_0x101e29(0x293)][_0x101e29(0x387)]);this[_0x101e29(0x288)](_0x318f29);},'onSendChangeset':_0x1f9a7d=>{var _0x5f403f=_0x1f062a;_0x1f9a7d['sid']||(_0x1f9a7d[_0x5f403f(0x48f)]=this[_0x5f403f(0x25f)],_0x1f9a7d[_0x5f403f(0x374)]=++this[_0x5f403f(0x1ce)]);const _0x25b3f7={'eventID':_0x44b24e['CollaborationEvent'][_0x5f403f(0x23b)],'data':{'unitID':_0x1f9a7d[_0x5f403f(0x469)],'unitType':this[_0x5f403f(0x4b3)],'changeset':_0x1f9a7d,'memberID':this[_0x5f403f(0x292)][_0x5f403f(0x3f0)]()}};this[_0x5f403f(0x292)][_0x5f403f(0x435)](_0x25b3f7,this['unitID']);},'onMissingChangesets':({from:_0xc344b1,to:_0x188422})=>{var _0x2078a8=_0x1f062a;this['_logService'][_0x2078a8(0x446)]('[CollaborationEntity]',_0x2078a8(0x1da)+_0xc344b1+_0x2078a8(0x2be)+_0x188422);const _0x2ab86a={'eventID':_0x44b24e['CollaborationEvent'][_0x2078a8(0x1c8)],'data':{'unitID':_0x352017,'unitType':this[_0x2078a8(0x4b3)],'from':_0xc344b1,'to':_0x188422}};this['session'][_0x2078a8(0x435)](_0x2ab86a,this['unitID']);}};}async['_createInitialStateImpl'](_0x93a7f7){var _0x28841b=_0x40a6d6,_0x3ee14e,_0x1f8142,_0x8c3428;const _0x2dfa02=await((_0x3ee14e=this[_0x28841b(0x4e1)])==null?void 0x0:_0x3ee14e[_0x28841b(0x365)](this[_0x28841b(0x469)])),_0x2c8c9c=(_0x1f8142=_0x2dfa02==null?void 0x0:_0x2dfa02[_0x28841b(0x34e)])!=null?_0x1f8142:[],_0x25783d=(_0x8c3428=_0x2dfa02==null?void 0x0:_0x2dfa02[_0x28841b(0x39f)])!=null?_0x8c3428:null,_0x210817=!!(_0x25783d!=null&&_0x25783d[_0x28841b(0x48f)])&&!!(_0x25783d!=null&&_0x25783d['reqId']);this[_0x28841b(0x25f)]=_0x210817?_0x25783d['sid']:_0x1e0ef(),this['_changesetReqId']=_0x210817?_0x25783d['reqId']:0x0;const _0x2f1d51=this['unitID'];try{this[_0x28841b(0x4e0)](_0x25783d,_0x2c8c9c);}catch(_0x49b75a){this[_0x28841b(0x2bf)][_0x28841b(0x232)](_0x49b75a);}const _0x2d413b=this[_0x28841b(0x3b8)]();if(_0x93a7f7){const _0xb98015=_0x34f75d(this[_0x28841b(0x262)],_0x2f1d51,this[_0x28841b(0x4b3)],_0x25783d,_0x2c8c9c,_0x2d413b);return _0xb98015 instanceof _0x3ec4d8[_0x28841b(0x16b)]?_0xb98015[_0x28841b(0x4af)]():(_0xb98015 instanceof _0x3ec4d8[_0x28841b(0x34f)]||_0xb98015 instanceof _0x3ec4d8[_0x28841b(0x385)])&&_0xb98015['resend'](),_0xb98015;}return this[_0x28841b(0x262)][_0x28841b(0x16a)](_0x3ec4d8['OfflineState'],_0x2f1d51,this['_type'],_0x25783d,_0x2c8c9c,_0x2d413b);}[_0x40a6d6(0x4e0)](_0xace6dc,_0x25aff6){var _0x38780f=_0x40a6d6,_0x5d4d02,_0x42ac54;const _0x328188=this[_0x38780f(0x243)][_0x38780f(0x153)][_0x38780f(0x24f)](this[_0x38780f(0x243)][_0x38780f(0x153)][_0x38780f(0x21a)]()[_0x38780f(0x18b)]);(_0x5d4d02=_0x328188((_0xace6dc==null?void 0x0:_0xace6dc['mutations'])||[],null))==null||_0x5d4d02[_0x38780f(0x434)](_0x449153=>this['_commandService'][_0x38780f(0x226)](_0x449153['id'],_0x449153['params'])),(_0x42ac54=_0x328188(_0x25aff6||[],null))==null||_0x42ac54[_0x38780f(0x434)](_0x471d2d=>this[_0x38780f(0x41e)][_0x38780f(0x226)](_0x471d2d['id'],_0x471d2d[_0x38780f(0x3e6)]));}},_0x3ec4d8[_0x40a6d6(0x39d)]=_0x45d42f([_0x121285(0x3,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x411)])),_0x121285(0x4,_0x26dfb1[_0x40a6d6(0x1b7)](_0x44b24e[_0x40a6d6(0x4c1)])),_0x121285(0x5,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x259)])),_0x121285(0x6,_0x26dfb1[_0x40a6d6(0x1b7)](_0x44b24e[_0x40a6d6(0x2d8)])),_0x121285(0x7,_0x26dfb1['Inject'](_0x548944)),_0x121285(0x8,_0x26dfb1['ILogService']),_0x121285(0x9,_0x26dfb1['ICommandService']),_0x121285(0xa,_0x26dfb1['IPermissionService']),_0x121285(0xb,_0x26dfb1['Optional'](_0x4480a0)),_0x121285(0xc,_0x26dfb1[_0x40a6d6(0x429)](_0x56036f))],_0x3ec4d8[_0x40a6d6(0x39d)]),_0x3ec4d8['DocCollaborationEntity']=class extends _0x3ec4d8['CollaborationEntity']{constructor(_0x32ccc2,_0x4c1a90,_0x2a0043,_0x291c8e,_0x362a4a,_0x5119a8,_0x51d8ea,_0x280169,_0x2cd938,_0x59b2ff,_0x34eb3f,_0x157751,_0x5b4419){var _0x2bab34=_0x40a6d6;super(_0x32ccc2,_0x2a0043,_0x4c1a90,_0x291c8e,_0x362a4a,_0x5119a8,_0x51d8ea,_0x280169,_0x2cd938,_0x59b2ff,_0x34eb3f,_0x157751,_0x5b4419),_0x3afa5d(this,'_handlerCallback',null),(this[_0x2bab34(0x469)]=_0x32ccc2,this['type']=_0x4c1a90);}[_0x40a6d6(0x21d)](_0x1f9ec7){this['_handlerCallback']=_0x1f9ec7;}[_0x40a6d6(0x422)](){var _0xcaea7e=_0x40a6d6;this['_handlerCallback']=null,super[_0xcaea7e(0x422)]();}[_0x40a6d6(0x3b8)](){var _0x4471ad=_0x40a6d6;const _0x53c8d3=super[_0x4471ad(0x3b8)]();return _0x53c8d3[_0x4471ad(0x371)]=_0x2159b1=>{var _0x3bf844=_0x4471ad,_0x485f17,_0x4bd884;return(_0x4bd884=(_0x485f17=this['_handlerCallback'])==null?void 0x0:_0x485f17[_0x3bf844(0x371)])==null?void 0x0:_0x4bd884['call'](_0x485f17,_0x2159b1);},_0x53c8d3[_0x4471ad(0x2d2)]=_0xc189e8=>{var _0x1c150c=_0x4471ad,_0x4a5310,_0x16e7cf;return(_0x16e7cf=(_0x4a5310=this[_0x1c150c(0x47e)])==null?void 0x0:_0x4a5310[_0x1c150c(0x2d2)])==null?void 0x0:_0x16e7cf[_0x1c150c(0x455)](_0x4a5310,_0xc189e8);},_0x53c8d3[_0x4471ad(0x222)]=_0x38e79c=>{var _0x57688e=_0x4471ad,_0x312559,_0xb46c88;return(_0xb46c88=(_0x312559=this[_0x57688e(0x47e)])==null?void 0x0:_0x312559['onTransformSelections'])==null?void 0x0:_0xb46c88[_0x57688e(0x455)](_0x312559,_0x38e79c);},_0x53c8d3[_0x4471ad(0x31d)]=_0x101d8d=>{var _0x1a6e41=_0x4471ad,_0x52a5a5,_0x214c82;return(_0x214c82=(_0x52a5a5=this[_0x1a6e41(0x47e)])==null?void 0x0:_0x52a5a5['onSyncEditingCollabCursor'])==null?void 0x0:_0x214c82['call'](_0x52a5a5,_0x101d8d);},_0x53c8d3[_0x4471ad(0x310)]=_0x2daf33=>{var _0x2f187c=_0x4471ad,_0x5c55e8,_0x2f3e50,_0x28434a;if(!((_0x5c55e8=this['_handlerCallback'])!=null&&_0x5c55e8[_0x2f187c(0x310)]))throw new Error(_0x2f187c(0x4a3));return(_0x28434a=(_0x2f3e50=this['_handlerCallback'])==null?void 0x0:_0x2f3e50[_0x2f187c(0x310)])==null?void 0x0:_0x28434a[_0x2f187c(0x455)](_0x2f3e50,_0x2daf33);},_0x53c8d3[_0x4471ad(0x32a)]=_0x4455a2=>{var _0x3c090c=_0x4471ad,_0x2028c3,_0x3d4c6a,_0x119311;if(!((_0x2028c3=this[_0x3c090c(0x47e)])!=null&&_0x2028c3[_0x3c090c(0x32a)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x119311=(_0x3d4c6a=this[_0x3c090c(0x47e)])==null?void 0x0:_0x3d4c6a[_0x3c090c(0x32a)])==null?void 0x0:_0x119311[_0x3c090c(0x455)](_0x3d4c6a,_0x4455a2);},_0x53c8d3;}async['_init'](){var _0x582cfc=_0x40a6d6;const _0x458f12=await super[_0x582cfc(0x47c)]();return this[_0x582cfc(0x176)](this['_commandService']['onCommandExecuted']((_0x224679,_0xa76b89)=>{var _0x27dbeb=_0x582cfc;if(_0x224679[_0x27dbeb(0x494)]!==_0x26dfb1[_0x27dbeb(0x3ce)][_0x27dbeb(0x2fa)]||_0xa76b89!=null&&_0xa76b89[_0x27dbeb(0x1aa)]||_0xa76b89!=null&&_0xa76b89[_0x27dbeb(0x3ee)]||_0x224679['id']===_0x42843b[_0x27dbeb(0x3f9)]['id'])return;const _0x57cc33=_0x224679['params'];if((_0x57cc33==null?void 0x0:_0x57cc33[_0x27dbeb(0x227)])!==this[_0x27dbeb(0x469)])return;const _0x46bac3=_0x224679,_0x4c9709=this[_0x27dbeb(0x243)][_0x27dbeb(0x153)][_0x27dbeb(0x24f)](this['_compressMutationService'][_0x27dbeb(0x153)][_0x27dbeb(0x21a)]()['COMPRESS_MUTATION_SEND'])([_0x46bac3],null)||[_0x46bac3];this[_0x27dbeb(0x23f)](_0x4c9709[0x0]);})),_0x458f12;}},_0x3ec4d8['DocCollaborationEntity']=_0x45d42f([_0x121285(0x3,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1['Injector'])),_0x121285(0x4,_0x26dfb1[_0x40a6d6(0x1b7)](_0x44b24e[_0x40a6d6(0x4c1)])),_0x121285(0x5,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x259)])),_0x121285(0x6,_0x26dfb1[_0x40a6d6(0x1b7)](_0x44b24e[_0x40a6d6(0x2d8)])),_0x121285(0x7,_0x26dfb1[_0x40a6d6(0x1b7)](_0x548944)),_0x121285(0x8,_0x26dfb1[_0x40a6d6(0x38a)]),_0x121285(0x9,_0x26dfb1[_0x40a6d6(0x45d)]),_0x121285(0xa,_0x26dfb1['IPermissionService']),_0x121285(0xb,_0x26dfb1[_0x40a6d6(0x429)](_0x4480a0)),_0x121285(0xc,_0x26dfb1[_0x40a6d6(0x429)](_0x56036f))],_0x3ec4d8[_0x40a6d6(0x372)]),_0x3ec4d8['SheetCollaborationEntity']=class extends _0x3ec4d8[_0x40a6d6(0x39d)]{constructor(_0x3a2e94,_0x2918b7,_0xa0ad1f,_0x421403,_0x3adad4,_0x5640e9,_0x4a7e24,_0xf9c08b,_0x21bc25,_0x12d6ba,_0x449d8c,_0x11480e,_0xfd4cd1,_0x5602ca){var _0x24f46f=_0x40a6d6;super(_0x3a2e94,_0xa0ad1f,_0x2918b7,_0x421403,_0x3adad4,_0x5640e9,_0x4a7e24,_0x21bc25,_0x12d6ba,_0x449d8c,_0x11480e,_0xfd4cd1,_0x5602ca),this[_0x24f46f(0x469)]=_0x3a2e94,this[_0x24f46f(0x494)]=_0x2918b7,this[_0x24f46f(0x3c7)]=_0xf9c08b;}['_createHandler'](){var _0x227cc4=_0x40a6d6;const _0x4a7590=super[_0x227cc4(0x3b8)]();return _0x4a7590[_0x227cc4(0x222)]=_0x153046=>this[_0x227cc4(0x3c7)][_0x227cc4(0x213)](_0x153046),_0x4a7590;}async[_0x40a6d6(0x47c)](){var _0x131ed7=_0x40a6d6;const _0x3b42ae=await super[_0x131ed7(0x47c)]();return this[_0x131ed7(0x176)](this[_0x131ed7(0x41e)]['onCommandExecuted']((_0x491f8c,_0x6a44fb)=>{var _0x343844=_0x131ed7;if(_0x491f8c['type']!==_0x26dfb1[_0x343844(0x3ce)][_0x343844(0x2fa)]||_0x6a44fb!=null&&_0x6a44fb['fromCollab']||_0x6a44fb!=null&&_0x6a44fb[_0x343844(0x3ee)])return;const _0x2b471f=_0x491f8c[_0x343844(0x3e6)];if((_0x2b471f==null?void 0x0:_0x2b471f[_0x343844(0x227)])!==this[_0x343844(0x469)])return;const _0x34a681=_0x491f8c,_0x1a923e=this[_0x343844(0x243)][_0x343844(0x153)][_0x343844(0x24f)](this['_compressMutationService']['interceptor'][_0x343844(0x21a)]()['COMPRESS_MUTATION_SEND'])([_0x34a681],null)||[_0x34a681];this[_0x343844(0x23f)](_0x1a923e[0x0]);})),_0x3b42ae;}},_0x3ec4d8[_0x40a6d6(0x43f)]=_0x45d42f([_0x121285(0x3,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x411)])),_0x121285(0x4,_0x26dfb1['Inject'](_0x44b24e[_0x40a6d6(0x4c1)])),_0x121285(0x5,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x259)])),_0x121285(0x6,_0x26dfb1[_0x40a6d6(0x1b7)](_0x44b24e[_0x40a6d6(0x2d8)])),_0x121285(0x7,_0x26dfb1[_0x40a6d6(0x1b7)](_0x3ec4d8[_0x40a6d6(0x2ad)])),_0x121285(0x8,_0x26dfb1[_0x40a6d6(0x1b7)](_0x548944)),_0x121285(0x9,_0x26dfb1[_0x40a6d6(0x38a)]),_0x121285(0xa,_0x26dfb1[_0x40a6d6(0x45d)]),_0x121285(0xb,_0x26dfb1['IPermissionService']),_0x121285(0xc,_0x26dfb1[_0x40a6d6(0x429)](_0x4480a0)),_0x121285(0xd,_0x26dfb1[_0x40a6d6(0x429)](_0x56036f))],_0x3ec4d8[_0x40a6d6(0x43f)]);var _0x1555b4=Object[_0x40a6d6(0x2e4)],_0x186620=Object[_0x40a6d6(0x329)],_0x9545ca=(_0x30a9dc,_0x1e8df8,_0x148782,_0x326c36)=>{for(var _0x491df5=_0x326c36>0x1?void 0x0:_0x326c36?_0x186620(_0x1e8df8,_0x148782):_0x1e8df8,_0x14b938=_0x30a9dc['length']-0x1,_0x19532f;_0x14b938>=0x0;_0x14b938--)(_0x19532f=_0x30a9dc[_0x14b938])&&(_0x491df5=(_0x326c36?_0x19532f(_0x1e8df8,_0x148782,_0x491df5):_0x19532f(_0x491df5))||_0x491df5);return _0x326c36&&_0x491df5&&_0x1555b4(_0x1e8df8,_0x148782,_0x491df5),_0x491df5;},_0xb9d7e2=(_0xe62999,_0x47f6c3)=>(_0x3f2236,_0x13fcf7)=>_0x47f6c3(_0x3f2236,_0x13fcf7,_0xe62999);_0x3ec4d8['CollaborationController']=class extends _0x26dfb1[_0x40a6d6(0x3cb)]{constructor(_0x2ce4bd,_0x8d32b9,_0x5c634d){var _0x4c2b40=_0x40a6d6;super(),_0x3afa5d(this,'_entities',new Map()),_0x3afa5d(this,_0x4c2b40(0x4ab),new _0x2f7ab3[(_0x4c2b40(0x1c6))]()),_0x3afa5d(this,_0x4c2b40(0x228),this[_0x4c2b40(0x4ab)][_0x4c2b40(0x4cb)]()),(this[_0x4c2b40(0x262)]=_0x2ce4bd,this[_0x4c2b40(0x409)]=_0x8d32b9,this[_0x4c2b40(0x18d)]=_0x5c634d,this['_init']());}[_0x40a6d6(0x422)](){var _0x173f9c=_0x40a6d6;super[_0x173f9c(0x422)](),this['_entities'][_0x173f9c(0x434)](_0x5f1ed7=>_0x5f1ed7[_0x173f9c(0x422)]()),this[_0x173f9c(0x154)][_0x173f9c(0x39b)]();}[_0x40a6d6(0x4ee)](_0x370e9b){var _0x76f3a5=_0x40a6d6,_0x996068;return(_0x996068=this['_entities'][_0x76f3a5(0x4b1)](_0x370e9b))!=null?_0x996068:null;}[_0x40a6d6(0x3ad)](_0x119f85){var _0x246249=_0x40a6d6;const _0x3002de=this['getCollabEntity'](_0x119f85);return _0x3002de?_0x2f7ab3['of'](_0x3002de):this[_0x246249(0x4ab)][_0x246249(0x425)](_0x14cac3[_0x246249(0x1b4)](_0x37b3ed=>_0x37b3ed[_0x246249(0x469)]===_0x119f85));}[_0x40a6d6(0x3b4)](_0x4d97bb){var _0x45e93d=_0x40a6d6;return _0x2f7ab3[_0x45e93d(0x21c)](this['getCollabEntity$'](_0x4d97bb)[_0x45e93d(0x425)](_0x14cac3['map'](()=>{})));}[_0x40a6d6(0x47c)](){var _0x5ec75a=_0x40a6d6;this[_0x5ec75a(0x18d)][_0x5ec75a(0x3c1)](_0x26dfb1['UniverInstanceType'][_0x5ec75a(0x3af)])[_0x5ec75a(0x425)](_0x2f7ab3[_0x5ec75a(0x49c)](this[_0x5ec75a(0x3e0)]),_0x14cac3[_0x5ec75a(0x337)](0x10))[_0x5ec75a(0x187)](async _0x336348=>{var _0x42e688=_0x5ec75a;const _0x3144a5=_0x336348['getUnitId'](),_0x90d16=await this[_0x42e688(0x401)](_0x3144a5,_0x20e0b3[_0x42e688(0x3af)]);this[_0x42e688(0x154)][_0x42e688(0x315)](_0x3144a5,_0x90d16);}),this[_0x5ec75a(0x18d)][_0x5ec75a(0x3c1)](_0x26dfb1[_0x5ec75a(0x379)][_0x5ec75a(0x359)])[_0x5ec75a(0x425)](_0x2f7ab3[_0x5ec75a(0x49c)](this[_0x5ec75a(0x3e0)]),_0x14cac3[_0x5ec75a(0x337)](0x10))['pipe'](_0x14cac3['filter'](_0x3e09a1=>!_0x3e09a1[_0x5ec75a(0x38d)]()[_0x5ec75a(0x3a9)]('__')))[_0x5ec75a(0x187)](async _0x153664=>{var _0xec6d1b=_0x5ec75a;const _0x38963a=_0x153664[_0xec6d1b(0x38d)](),_0x33e62f=await this[_0xec6d1b(0x401)](_0x38963a,_0x20e0b3[_0xec6d1b(0x359)]);this[_0xec6d1b(0x154)]['set'](_0x38963a,_0x33e62f);}),_0x2f7ab3[_0x5ec75a(0x43b)](this[_0x5ec75a(0x18d)][_0x5ec75a(0x179)](_0x26dfb1[_0x5ec75a(0x379)][_0x5ec75a(0x3af)]),this[_0x5ec75a(0x18d)][_0x5ec75a(0x179)](_0x26dfb1[_0x5ec75a(0x379)][_0x5ec75a(0x359)]))[_0x5ec75a(0x425)](_0x2f7ab3[_0x5ec75a(0x49c)](this[_0x5ec75a(0x3e0)]))[_0x5ec75a(0x187)](_0x48635a=>{var _0x801dce=_0x5ec75a;const _0xdaf4=_0x48635a[_0x801dce(0x38d)](),_0x47b1f2=this['_entities'][_0x801dce(0x4b1)](_0xdaf4);_0x47b1f2&&(_0x47b1f2[_0x801dce(0x422)](),this[_0x801dce(0x154)]['delete'](_0xdaf4));});}async[_0x40a6d6(0x401)](_0x508d8c,_0x3933f1){var _0x18c0ef=_0x40a6d6;const _0x29c1f6=await this[_0x18c0ef(0x409)][_0x18c0ef(0x215)](_0x508d8c),_0xec9507=this[_0x18c0ef(0x262)][_0x18c0ef(0x16a)](this[_0x18c0ef(0x1f9)](_0x3933f1),_0x508d8c,_0x3933f1,_0x29c1f6);return await _0xec9507[_0x18c0ef(0x198)](),this['_entityInit$'][_0x18c0ef(0x2ae)](_0xec9507),_0xec9507;}['_getCtorByUniverType'](_0x164c87){var _0x4bad03=_0x40a6d6;switch(_0x164c87){case _0x20e0b3[_0x4bad03(0x359)]:return _0x3ec4d8[_0x4bad03(0x372)];case _0x20e0b3[_0x4bad03(0x3af)]:return _0x3ec4d8[_0x4bad03(0x43f)];default:throw new Error(_0x4bad03(0x484)+_0x164c87);}}},_0x3ec4d8[_0x40a6d6(0x477)]=_0x9545ca([_0xb9d7e2(0x0,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1['Injector'])),_0xb9d7e2(0x1,_0x26dfb1[_0x40a6d6(0x1b7)](_0x3ec4d8['CollaborationSessionService'])),_0xb9d7e2(0x2,_0x26dfb1['IUniverInstanceService'])],_0x3ec4d8['CollaborationController']);var _0x53808b=Object['defineProperty'],_0x21f526=Object['getOwnPropertyDescriptor'],_0x4acecb=(_0x13b769,_0x404c64,_0x1604a3,_0xa22459)=>{var _0x2c07d8=_0x40a6d6;for(var _0x2c21ac=_0xa22459>0x1?void 0x0:_0xa22459?_0x21f526(_0x404c64,_0x1604a3):_0x404c64,_0x314f37=_0x13b769[_0x2c07d8(0x2e5)]-0x1,_0x869161;_0x314f37>=0x0;_0x314f37--)(_0x869161=_0x13b769[_0x314f37])&&(_0x2c21ac=(_0xa22459?_0x869161(_0x404c64,_0x1604a3,_0x2c21ac):_0x869161(_0x2c21ac))||_0x2c21ac);return _0xa22459&&_0x2c21ac&&_0x53808b(_0x404c64,_0x1604a3,_0x2c21ac),_0x2c21ac;},_0x4dbca8=(_0xb465d4,_0x10e0cd)=>(_0x3b93fb,_0x459794)=>_0x10e0cd(_0x3b93fb,_0x459794,_0xb465d4);const _0x1d1a9a=_0x40a6d6(0x390),_0xd18ae4=_0x40a6d6(0x3a2);let _0x53bc3f=class extends _0x26dfb1[_0x40a6d6(0x3a5)]{constructor(_0x5aba4e,_0x4f5e5b){var _0x19a49=_0x40a6d6;super(),this[_0x19a49(0x18d)]=_0x5aba4e,this[_0x19a49(0x3c2)]=_0x4f5e5b,this['_init']();}[_0x40a6d6(0x47c)](){var _0xe7a389=_0x40a6d6;this[_0xe7a389(0x176)](this[_0xe7a389(0x18d)]['focused$'][_0xe7a389(0x187)](()=>{var _0x323788=_0xe7a389,_0x5e5e6b;const _0x613fb1=this[_0x323788(0x18d)]['getFocusedUnit']();let _0xfd2674=(_0x5e5e6b=this['_configService'][_0x323788(0x343)](_0x1d1a9a))!=null?_0x5e5e6b:_0xd18ae4;_0x613fb1 instanceof _0x26dfb1['Workbook']&&(_0xfd2674=_0x613fb1[_0x323788(0x2a8)]),document[_0x323788(0x295)]=_0xfd2674;}));}};_0x53bc3f=_0x4acecb([_0x4dbca8(0x0,_0x26dfb1[_0x40a6d6(0x2d0)]),_0x4dbca8(0x1,_0x26dfb1['IConfigService'])],_0x53bc3f);var _0x26ed74=Object[_0x40a6d6(0x2e4)],_0x3dcc50=Object[_0x40a6d6(0x329)],_0x4e727=(_0x180a16,_0x1e8c8f,_0x406dc7,_0x36f473)=>{var _0x33085a=_0x40a6d6;for(var _0x34399c=_0x36f473>0x1?void 0x0:_0x36f473?_0x3dcc50(_0x1e8c8f,_0x406dc7):_0x1e8c8f,_0x4a4291=_0x180a16[_0x33085a(0x2e5)]-0x1,_0x4a1a75;_0x4a4291>=0x0;_0x4a4291--)(_0x4a1a75=_0x180a16[_0x4a4291])&&(_0x34399c=(_0x36f473?_0x4a1a75(_0x1e8c8f,_0x406dc7,_0x34399c):_0x4a1a75(_0x34399c))||_0x34399c);return _0x36f473&&_0x34399c&&_0x26ed74(_0x1e8c8f,_0x406dc7,_0x34399c),_0x34399c;},_0x4d155b=(_0x419b3c,_0x368fab)=>(_0x1c48ad,_0x1c3506)=>_0x368fab(_0x1c48ad,_0x1c3506,_0x419b3c);let _0x6585c0=class{constructor(_0x5b7553,_0x4acf84,_0x589d21){var _0x1f36f5=_0x40a6d6;this['_configService']=_0x5b7553,this['_httpService']=_0x4acf84,this[_0x1f36f5(0x1de)]=_0x589d21,this[_0x1f36f5(0x198)]();}['init'](){var _0x5540d4=_0x40a6d6;this[_0x5540d4(0x302)][_0x5540d4(0x26e)]({'priority':0x1,'interceptor':(_0x2f0af0,_0x34941f)=>_0x34941f(_0x2f0af0)[_0x5540d4(0x425)](_0x2f7ab3[_0x5540d4(0x2a7)](async _0x3b76d3=>{var _0x6d4c5a=_0x5540d4;const _0x30c9f9=_0x3b76d3;if(_0x30c9f9[_0x6d4c5a(0x387)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x6d4c5a(0x1de)]['t'](_0x6d4c5a(0x2d9)))){const _0x449790=window[_0x6d4c5a(0x296)](window[_0x6d4c5a(0x4a6)][_0x6d4c5a(0x3ba)]);window[_0x6d4c5a(0x4a6)]['href']=this['_getLoginPath']()+'?url='+_0x449790;}}return _0x30c9f9;}))});}['_getLoginPath'](){var _0x5815d6=_0x40a6d6,_0x3b627e,_0x3f365f;const _0x1e2770=this['_configService']['getConfig'](_0x15394a),_0x259ce8=this['_configService'][_0x5815d6(0x343)](_0x364030);return(_0x3f365f=(_0x3b627e=_0x259ce8==null?void 0x0:_0x259ce8[_0x5815d6(0x185)])!=null?_0x3b627e:_0x1e2770)!=null?_0x3f365f:_0x3207d8;}};_0x6585c0=_0x4e727([_0x4d155b(0x0,_0x26dfb1[_0x40a6d6(0x3f7)]),_0x4d155b(0x1,_0x26dfb1[_0x40a6d6(0x1b7)](_0x2df72f[_0x40a6d6(0x1e3)])),_0x4d155b(0x2,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x259)]))],_0x6585c0);var _0x2722c3=Object['defineProperty'],_0x4f2d62=Object['getOwnPropertyDescriptor'],_0x227074=(_0x54af09,_0x488eae,_0x5e83bd,_0x271f2b)=>{for(var _0x5eb571=_0x271f2b>0x1?void 0x0:_0x271f2b?_0x4f2d62(_0x488eae,_0x5e83bd):_0x488eae,_0x5e5f44=_0x54af09['length']-0x1,_0x253d59;_0x5e5f44>=0x0;_0x5e5f44--)(_0x253d59=_0x54af09[_0x5e5f44])&&(_0x5eb571=(_0x271f2b?_0x253d59(_0x488eae,_0x5e83bd,_0x5eb571):_0x253d59(_0x5eb571))||_0x5eb571);return _0x271f2b&&_0x5eb571&&_0x2722c3(_0x488eae,_0x5e83bd,_0x5eb571),_0x5eb571;},_0x272929=(_0x42be4b,_0x325ae3)=>(_0x422e5c,_0x50beba)=>_0x325ae3(_0x422e5c,_0x50beba,_0x42be4b);const _0x4f0e93=_0x40a6d6(0x267),_0x524a09='/universer-api/authz';_0x3ec4d8[_0x40a6d6(0x381)]=class extends _0x26dfb1[_0x40a6d6(0x3a5)]{constructor(_0x5e7bed,_0x56a23b){var _0x35db9e=_0x40a6d6;super(),this[_0x35db9e(0x48a)]=_0x5e7bed,this[_0x35db9e(0x3c2)]=_0x56a23b,this[_0x35db9e(0x447)]();}[_0x40a6d6(0x447)](){var _0x25a245=_0x40a6d6;const _0x42aa64=this;this['disposeWithMe'](this[_0x25a245(0x48a)][_0x25a245(0x26e)]({'priority':0x3e7,'interceptor':_0x2df72f['MergeInterceptorFactory']({'isMatch'(_0x387c0a){var _0x2fb8a3=_0x25a245,_0x30531f;if(_0x387c0a['method']===_0x2fb8a3(0x2b6)&&((_0x30531f=_0x387c0a[_0x2fb8a3(0x33b)])!=null&&_0x30531f[_0x2fb8a3(0x2cd)])){const {objectID:_0x17757e,objectType:_0x289142}=_0x387c0a[_0x2fb8a3(0x33b)][_0x2fb8a3(0x2cd)]||{};if(!_0x17757e||_0x289142===void 0x0)return!0x1;const _0x14c629=_0x42aa64[_0x2fb8a3(0x456)]()+'/'+_0x289142+_0x2fb8a3(0x4e8)+_0x17757e+_0x2fb8a3(0x4b9);if(_0x387c0a[_0x2fb8a3(0x412)]===_0x14c629)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3c094d){var _0x349f81=_0x25a245,_0x1a07af;return(_0x1a07af=_0x3c094d[_0x349f81(0x33b)])==null?void 0x0:_0x1a07af[_0x349f81(0x2cd)];},'mergeParamsToRequest'(_0x5677c6,_0x4c604b){var _0x9c030a=_0x25a245;const _0x213e45=_0x42aa64[_0x9c030a(0x456)]()+'/-/object/-/batch_allowed',_0x1ed9bb=_0x5677c6['reduce']((_0x2006a6,_0x4f9d8f)=>{var _0x3a087f=_0x9c030a;const {unitID:_0x3bfe4f,objectID:_0x233fb4,objectType:_0x4d0e67,actions:_0x510eb4}=_0x4f9d8f;return _0x2006a6[_0x3bfe4f]||(_0x2006a6[_0x3bfe4f]={}),_0x2006a6[_0x3bfe4f][_0x233fb4]||(_0x2006a6[_0x3bfe4f][_0x233fb4]={'objectID':_0x233fb4,'objectType':_0x4d0e67,'actions':[]}),_0x2006a6[_0x3bfe4f][_0x233fb4][_0x3a087f(0x395)][_0x3a087f(0x2a5)](..._0x510eb4),_0x2006a6;},{}),_0x4cd6a4=[];for(const _0x1229da in _0x1ed9bb)for(const _0x4e5a6d in _0x1ed9bb[_0x1229da]){const {actions:_0x1133e7,objectType:_0x19d89f}=_0x1ed9bb[_0x1229da][_0x4e5a6d],_0x281ffc=[...new Set(_0x1133e7)];_0x4cd6a4[_0x9c030a(0x2a5)]({'unitID':_0x1229da,'objectID':_0x4e5a6d,'objectType':_0x19d89f,'actions':_0x281ffc});}return new _0x2df72f[(_0x9c030a(0x28d))](_0x9c030a(0x2b6),_0x213e45,{'headers':_0x4c604b['headers'],'withCredentials':_0x4c604b['withCredentials'],'responseType':_0x4c604b[_0x9c030a(0x3da)],'body':{'requests':_0x4cd6a4}});}},{'distributeResult'(_0x4cced2,_0xb80c37){var _0x101604=_0x25a245;const {objectActions:_0x15cb48}=_0x4cced2;return _0xb80c37[_0x101604(0x2d6)](_0x2f6dcf=>{var _0x17c923=_0x101604;const {unitID:_0x114b0d,objectID:_0x25c4b8,actions:_0xa6b1c5}=_0x2f6dcf,_0x521908=_0x15cb48[_0x17c923(0x478)](_0x338e9d=>_0x338e9d[_0x17c923(0x469)]===_0x114b0d&&_0x338e9d[_0x17c923(0x2b3)]===_0x25c4b8),_0xdcf153=_0xa6b1c5[_0x17c923(0x2d6)](_0x9ae3b6=>_0x521908==null?void 0x0:_0x521908[_0x17c923(0x395)][_0x17c923(0x478)](_0x18225f=>_0x18225f[_0x17c923(0x38c)]===_0x9ae3b6))[_0x17c923(0x1b4)](_0xab24b=>!!_0xab24b);return{'config':_0x2f6dcf,'result':{'actions':_0xdcf153,'error':_0x4cced2[_0x17c923(0x232)]}};});}})}));}[_0x40a6d6(0x456)](){var _0x1bf68b=_0x40a6d6,_0x340c59,_0x5f1abb;const _0x270b26=this[_0x1bf68b(0x3c2)][_0x1bf68b(0x343)](_0x4f0e93),_0x4e4751=this[_0x1bf68b(0x3c2)][_0x1bf68b(0x343)](_0x364030);return(_0x5f1abb=(_0x340c59=_0x4e4751==null?void 0x0:_0x4e4751[_0x1bf68b(0x3eb)])!=null?_0x340c59:_0x270b26)!=null?_0x5f1abb:_0x524a09;}async['create'](_0xa6780b){var _0x461fe8=_0x40a6d6;const _0x1ef130=this[_0x461fe8(0x456)]()+'/'+_0xa6780b[_0x461fe8(0x244)]+_0x461fe8(0x4bd);return(await this[_0x461fe8(0x48a)]['post'](_0x1ef130,{'body':_0xa6780b}))[_0x461fe8(0x2cd)][_0x461fe8(0x2b3)]||'';}async[_0x40a6d6(0x2c9)](_0x277c2f){var _0x13f5cf=_0x40a6d6;const _0x390a4f=this[_0x13f5cf(0x456)]()+'/-/object/list';return(await this[_0x13f5cf(0x48a)][_0x13f5cf(0x36b)](_0x390a4f,{'body':_0x277c2f}))[_0x13f5cf(0x2cd)]['objects'];}async[_0x40a6d6(0x1ea)](_0x223107){var _0xd99b4b=_0x40a6d6;const _0x4f41ff=this[_0xd99b4b(0x456)]()+'/'+_0x223107[_0xd99b4b(0x244)]+_0xd99b4b(0x4e8)+_0x223107[_0xd99b4b(0x2b3)];await this[_0xd99b4b(0x48a)][_0xd99b4b(0x3fc)](_0x4f41ff,{'body':_0x223107});}async[_0x40a6d6(0x2cf)](_0x27de63){var _0x49b161=_0x40a6d6;const _0x45851d=this['_getAPIPrefixPath']()+'/'+_0x27de63[_0x49b161(0x244)]+_0x49b161(0x4e8)+_0x27de63['objectID']+'/allowed';return(await this[_0x49b161(0x48a)][_0x49b161(0x36b)](_0x45851d,{'body':_0x27de63}))['body'][_0x49b161(0x395)];}async[_0x40a6d6(0x1f6)](_0x2ae676){var _0x5381e0=_0x40a6d6;const _0x37c96c=this[_0x5381e0(0x456)]()+_0x5381e0(0x346);return(await this[_0x5381e0(0x48a)][_0x5381e0(0x36b)](_0x37c96c,{'body':{'requests':_0x2ae676}}))[_0x5381e0(0x2cd)][_0x5381e0(0x3bb)];}async[_0x40a6d6(0x44c)](_0x218cc7){var _0x4adc05=_0x40a6d6;const _0x65649=this['_getAPIPrefixPath']()+'/'+_0x218cc7[_0x4adc05(0x244)]+_0x4adc05(0x1fc),_0x5d7005=await this['_HTTPService']['post'](_0x65649,{'body':_0x218cc7});return{'roles':_0x5d7005[_0x4adc05(0x2cd)][_0x4adc05(0x4b6)],'actions':_0x5d7005[_0x4adc05(0x2cd)]['actions']};}async[_0x40a6d6(0x2b0)](_0x34bb41){var _0x589740=_0x40a6d6;const _0x492a7c=this[_0x589740(0x456)]()+_0x589740(0x48e);await this[_0x589740(0x48a)][_0x589740(0x49f)](_0x492a7c,{'params':{'collaboratorID':_0x34bb41['collaboratorID'],'objectID':_0x34bb41[_0x589740(0x2b3)],'unitID':_0x34bb41[_0x589740(0x469)]}});}async['updateCollaborator'](_0x594141){var _0x3cd82d=_0x40a6d6;const _0x44de90=this[_0x3cd82d(0x456)]()+_0x3cd82d(0x48e);await this[_0x3cd82d(0x48a)][_0x3cd82d(0x204)](_0x44de90,{'body':_0x594141});}async['createCollaborator'](_0x412a61){var _0xddf170=_0x40a6d6;const _0x4b3ce9=this[_0xddf170(0x456)]()+_0xddf170(0x48e);await this[_0xddf170(0x48a)]['post'](_0x4b3ce9,{'body':_0x412a61});}async['listCollaborators'](_0x3fbe97){var _0x480f65=_0x40a6d6;const _0x45724c=this[_0x480f65(0x456)]()+'/collaborator';return(await this[_0x480f65(0x48a)][_0x480f65(0x4b1)](_0x45724c,{'params':{'objectID':_0x3fbe97[_0x480f65(0x2b3)],'unitID':_0x3fbe97['unitID']}}))[_0x480f65(0x2cd)][_0x480f65(0x167)];}async[_0x40a6d6(0x440)](_0xe5de34){var _0x37af2f=_0x40a6d6;const _0x14494e=this[_0x37af2f(0x456)]()+_0x37af2f(0x48e);await this[_0x37af2f(0x48a)][_0x37af2f(0x3fc)](_0x14494e,{'body':_0xe5de34});}},_0x3ec4d8[_0x40a6d6(0x381)]=_0x227074([_0x272929(0x0,_0x26dfb1['Inject'](_0x2df72f[_0x40a6d6(0x1e3)])),_0x272929(0x1,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x3f7)]))],_0x3ec4d8['AuthzIoHttpService']);var _0x13f6ed=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x4dcede(_0x54ebf5){var _0x1c53ca=_0x40a6d6;return _0x54ebf5&&_0x54ebf5['__esModule']&&Object[_0x1c53ca(0x3aa)][_0x1c53ca(0x453)][_0x1c53ca(0x455)](_0x54ebf5,'default')?_0x54ebf5[_0x1c53ca(0x2d5)]:_0x54ebf5;}var _0x3e158f={'exports':{}};function _0x2c4d90(_0xc8cb18){var _0x31e2d4=_0x40a6d6;throw new Error(_0x31e2d4(0x220)+_0xc8cb18+_0x31e2d4(0x43e));}var _0xe5a0c4={'exports':{}},_0x641f40=_0xe5a0c4[_0x40a6d6(0x4ac)],_0x454793;function _0x48bcf4(){var _0x2f5609=_0x40a6d6;return _0x454793||(_0x454793=0x1,function(_0x2f4d56,_0x3fbadf){(function(_0x1e6218,_0x72bc2b){var _0xe90add=_0xfa75;_0x2f4d56[_0xe90add(0x4ac)]=_0x72bc2b();}(_0x641f40,function(){var _0x5e2416=_0x5e2416||function(_0x14bd5c,_0x642d1f){var _0xebe37=_0xfa75,_0x23ea58;if(typeof window<'u'&&window[_0xebe37(0x3f2)]&&(_0x23ea58=window['crypto']),typeof self<'u'&&self[_0xebe37(0x3f2)]&&(_0x23ea58=self[_0xebe37(0x3f2)]),typeof globalThis<'u'&&globalThis[_0xebe37(0x3f2)]&&(_0x23ea58=globalThis[_0xebe37(0x3f2)]),!_0x23ea58&&typeof window<'u'&&window['msCrypto']&&(_0x23ea58=window[_0xebe37(0x311)]),!_0x23ea58&&typeof _0x13f6ed<'u'&&_0x13f6ed[_0xebe37(0x3f2)]&&(_0x23ea58=_0x13f6ed[_0xebe37(0x3f2)]),!_0x23ea58&&typeof _0x2c4d90==_0xebe37(0x44d))try{_0x23ea58=require(_0xebe37(0x3f2));}catch{}var _0x19c90a=function(){var _0x14c8a1=_0xebe37;if(_0x23ea58){if(typeof _0x23ea58[_0x14c8a1(0x2e9)]==_0x14c8a1(0x44d))try{return _0x23ea58[_0x14c8a1(0x2e9)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x23ea58[_0x14c8a1(0x19b)]=='function')try{return _0x23ea58['randomBytes'](0x4)[_0x14c8a1(0x1d1)]();}catch{}}throw new Error(_0x14c8a1(0x42f));},_0x2c11cb=Object[_0xebe37(0x36d)]||(function(){function _0x3a3591(){}return function(_0x40d23c){var _0x3a5aee=_0xfa75,_0x443457;return _0x3a3591[_0x3a5aee(0x3aa)]=_0x40d23c,_0x443457=new _0x3a3591(),_0x3a3591[_0x3a5aee(0x3aa)]=null,_0x443457;};}()),_0x4daffb={},_0x3d250a=_0x4daffb[_0xebe37(0x448)]={},_0x87bae5=_0x3d250a[_0xebe37(0x35c)]=(function(){return{'extend':function(_0x56bf23){var _0x16c115=_0xfa75,_0x35a83a=_0x2c11cb(this);return _0x56bf23&&_0x35a83a['mixIn'](_0x56bf23),(!_0x35a83a[_0x16c115(0x453)](_0x16c115(0x198))||this['init']===_0x35a83a['init'])&&(_0x35a83a[_0x16c115(0x198)]=function(){var _0x64d88a=_0x16c115;_0x35a83a[_0x64d88a(0x482)]['init'][_0x64d88a(0x3e5)](this,arguments);}),_0x35a83a[_0x16c115(0x198)][_0x16c115(0x3aa)]=_0x35a83a,_0x35a83a[_0x16c115(0x482)]=this,_0x35a83a;},'create':function(){var _0x1a9663=_0xfa75,_0x2b9367=this[_0x1a9663(0x19c)]();return _0x2b9367[_0x1a9663(0x198)]['apply'](_0x2b9367,arguments),_0x2b9367;},'init':function(){},'mixIn':function(_0x3d5ce9){var _0x4c6524=_0xfa75;for(var _0x42d9c9 in _0x3d5ce9)_0x3d5ce9[_0x4c6524(0x453)](_0x42d9c9)&&(this[_0x42d9c9]=_0x3d5ce9[_0x42d9c9]);_0x3d5ce9[_0x4c6524(0x453)]('toString')&&(this['toString']=_0x3d5ce9['toString']);},'clone':function(){var _0x1d1010=_0xfa75;return this[_0x1d1010(0x198)]['prototype'][_0x1d1010(0x19c)](this);}};}()),_0x18d07b=_0x3d250a[_0xebe37(0x4e2)]=_0x87bae5[_0xebe37(0x19c)]({'init':function(_0x2c66f7,_0x411998){var _0x4c48ae=_0xebe37;_0x2c66f7=this[_0x4c48ae(0x4e5)]=_0x2c66f7||[],_0x411998!=_0x642d1f?this[_0x4c48ae(0x40d)]=_0x411998:this['sigBytes']=_0x2c66f7[_0x4c48ae(0x2e5)]*0x4;},'toString':function(_0x1d9ab6){var _0x23c90a=_0xebe37;return(_0x1d9ab6||_0xd6776d)[_0x23c90a(0x269)](this);},'concat':function(_0x405059){var _0x56f7d7=_0xebe37,_0x2a6b1f=this[_0x56f7d7(0x4e5)],_0xf3b8de=_0x405059[_0x56f7d7(0x4e5)],_0x30e35b=this['sigBytes'],_0x8d8247=_0x405059[_0x56f7d7(0x40d)];if(this[_0x56f7d7(0x4ca)](),_0x30e35b%0x4)for(var _0x1bda93=0x0;_0x1bda93<_0x8d8247;_0x1bda93++){var _0x5b49b1=_0xf3b8de[_0x1bda93>>>0x2]>>>0x18-_0x1bda93%0x4*0x8&0xff;_0x2a6b1f[_0x30e35b+_0x1bda93>>>0x2]|=_0x5b49b1<<0x18-(_0x30e35b+_0x1bda93)%0x4*0x8;}else{for(var _0x507034=0x0;_0x507034<_0x8d8247;_0x507034+=0x4)_0x2a6b1f[_0x30e35b+_0x507034>>>0x2]=_0xf3b8de[_0x507034>>>0x2];}return this[_0x56f7d7(0x40d)]+=_0x8d8247,this;},'clamp':function(){var _0x30a7ee=_0xebe37,_0x57a95c=this[_0x30a7ee(0x4e5)],_0x96757e=this[_0x30a7ee(0x40d)];_0x57a95c[_0x96757e>>>0x2]&=0xffffffff<<0x20-_0x96757e%0x4*0x8,_0x57a95c[_0x30a7ee(0x2e5)]=_0x14bd5c[_0x30a7ee(0x297)](_0x96757e/0x4);},'clone':function(){var _0x4851e1=_0xebe37,_0x2baeb2=_0x87bae5[_0x4851e1(0x208)][_0x4851e1(0x455)](this);return _0x2baeb2['words']=this[_0x4851e1(0x4e5)][_0x4851e1(0x4cc)](0x0),_0x2baeb2;},'random':function(_0x45ec9e){for(var _0x394626=[],_0x29feef=0x0;_0x29feef<_0x45ec9e;_0x29feef+=0x4)_0x394626['push'](_0x19c90a());return new _0x18d07b['init'](_0x394626,_0x45ec9e);}}),_0x5e2878=_0x4daffb['enc']={},_0xd6776d=_0x5e2878[_0xebe37(0x464)]={'stringify':function(_0x2a264e){var _0x1e0c13=_0xebe37;for(var _0x365f6a=_0x2a264e['words'],_0x40244b=_0x2a264e[_0x1e0c13(0x40d)],_0x5eaedf=[],_0x55b0e6=0x0;_0x55b0e6<_0x40244b;_0x55b0e6++){var _0xc1538a=_0x365f6a[_0x55b0e6>>>0x2]>>>0x18-_0x55b0e6%0x4*0x8&0xff;_0x5eaedf[_0x1e0c13(0x2a5)]((_0xc1538a>>>0x4)[_0x1e0c13(0x38b)](0x10)),_0x5eaedf['push']((_0xc1538a&0xf)['toString'](0x10));}return _0x5eaedf['join']('');},'parse':function(_0x549629){var _0xc52453=_0xebe37;for(var _0x38d155=_0x549629[_0xc52453(0x2e5)],_0x3ec1bc=[],_0xf0d2a5=0x0;_0xf0d2a5<_0x38d155;_0xf0d2a5+=0x2)_0x3ec1bc[_0xf0d2a5>>>0x3]|=parseInt(_0x549629[_0xc52453(0x265)](_0xf0d2a5,0x2),0x10)<<0x18-_0xf0d2a5%0x8*0x4;return new _0x18d07b[(_0xc52453(0x198))](_0x3ec1bc,_0x38d155/0x2);}},_0x54a49d=_0x5e2878[_0xebe37(0x34d)]={'stringify':function(_0x28e6fd){var _0x9a3c6a=_0xebe37;for(var _0x3ff816=_0x28e6fd[_0x9a3c6a(0x4e5)],_0x2c1862=_0x28e6fd[_0x9a3c6a(0x40d)],_0x3a979e=[],_0xa82670=0x0;_0xa82670<_0x2c1862;_0xa82670++){var _0x1a84ee=_0x3ff816[_0xa82670>>>0x2]>>>0x18-_0xa82670%0x4*0x8&0xff;_0x3a979e[_0x9a3c6a(0x2a5)](String[_0x9a3c6a(0x3e2)](_0x1a84ee));}return _0x3a979e[_0x9a3c6a(0x2dc)]('');},'parse':function(_0x281925){var _0x26c60c=_0xebe37;for(var _0x209aca=_0x281925[_0x26c60c(0x2e5)],_0x2d2d48=[],_0x298899=0x0;_0x298899<_0x209aca;_0x298899++)_0x2d2d48[_0x298899>>>0x2]|=(_0x281925[_0x26c60c(0x4e4)](_0x298899)&0xff)<<0x18-_0x298899%0x4*0x8;return new _0x18d07b[(_0x26c60c(0x198))](_0x2d2d48,_0x209aca);}},_0x2139cf=_0x5e2878['Utf8']={'stringify':function(_0x4552fb){var _0x1145a3=_0xebe37;try{return decodeURIComponent(escape(_0x54a49d['stringify'](_0x4552fb)));}catch{throw new Error(_0x1145a3(0x452));}},'parse':function(_0x14f400){return _0x54a49d['parse'](unescape(encodeURIComponent(_0x14f400)));}},_0x3230ba=_0x3d250a['BufferedBlockAlgorithm']=_0x87bae5[_0xebe37(0x19c)]({'reset':function(){var _0x4c54c8=_0xebe37;this['_data']=new _0x18d07b[(_0x4c54c8(0x198))](),this[_0x4c54c8(0x2b7)]=0x0;},'_append':function(_0x217cbb){var _0x2aee91=_0xebe37;typeof _0x217cbb==_0x2aee91(0x46d)&&(_0x217cbb=_0x2139cf[_0x2aee91(0x369)](_0x217cbb)),this[_0x2aee91(0x15c)][_0x2aee91(0x375)](_0x217cbb),this[_0x2aee91(0x2b7)]+=_0x217cbb[_0x2aee91(0x40d)];},'_process':function(_0xcb35fc){var _0x5a0f32=_0xebe37,_0x584980,_0x2b1be8=this[_0x5a0f32(0x15c)],_0x45626e=_0x2b1be8[_0x5a0f32(0x4e5)],_0xc9a9ce=_0x2b1be8['sigBytes'],_0x30c437=this[_0x5a0f32(0x245)],_0x127dc5=_0x30c437*0x4,_0x37d564=_0xc9a9ce/_0x127dc5;_0xcb35fc?_0x37d564=_0x14bd5c[_0x5a0f32(0x297)](_0x37d564):_0x37d564=_0x14bd5c[_0x5a0f32(0x3bf)]((_0x37d564|0x0)-this['_minBufferSize'],0x0);var _0x4cf2b0=_0x37d564*_0x30c437,_0x1bd3a0=_0x14bd5c[_0x5a0f32(0x461)](_0x4cf2b0*0x4,_0xc9a9ce);if(_0x4cf2b0){for(var _0x4cb459=0x0;_0x4cb459<_0x4cf2b0;_0x4cb459+=_0x30c437)this[_0x5a0f32(0x23c)](_0x45626e,_0x4cb459);_0x584980=_0x45626e['splice'](0x0,_0x4cf2b0),_0x2b1be8['sigBytes']-=_0x1bd3a0;}return new _0x18d07b[(_0x5a0f32(0x198))](_0x584980,_0x1bd3a0);},'clone':function(){var _0x4cca18=_0xebe37,_0xd2f91=_0x87bae5[_0x4cca18(0x208)][_0x4cca18(0x455)](this);return _0xd2f91[_0x4cca18(0x15c)]=this[_0x4cca18(0x15c)][_0x4cca18(0x208)](),_0xd2f91;},'_minBufferSize':0x0});_0x3d250a[_0xebe37(0x376)]=_0x3230ba[_0xebe37(0x19c)]({'cfg':_0x87bae5[_0xebe37(0x19c)](),'init':function(_0xe26298){var _0x323bdc=_0xebe37;this[_0x323bdc(0x42d)]=this['cfg'][_0x323bdc(0x19c)](_0xe26298),this[_0x323bdc(0x4be)]();},'reset':function(){var _0x24852e=_0xebe37;_0x3230ba[_0x24852e(0x4be)][_0x24852e(0x455)](this),this[_0x24852e(0x252)]();},'update':function(_0x262435){var _0x4e7ad3=_0xebe37;return this[_0x4e7ad3(0x1f8)](_0x262435),this[_0x4e7ad3(0x39e)](),this;},'finalize':function(_0x393b41){var _0x6dd77c=_0xebe37;_0x393b41&&this[_0x6dd77c(0x1f8)](_0x393b41);var _0x30e192=this[_0x6dd77c(0x1c7)]();return _0x30e192;},'blockSize':0x10,'_createHelper':function(_0x4063b3){return function(_0x4d69fc,_0x503967){var _0x177ddf=_0xfa75;return new _0x4063b3[(_0x177ddf(0x198))](_0x503967)[_0x177ddf(0x168)](_0x4d69fc);};},'_createHmacHelper':function(_0x2b09c3){return function(_0x2a52dc,_0x268999){var _0x41e6da=_0xfa75;return new _0x163249['HMAC'][(_0x41e6da(0x198))](_0x2b09c3,_0x268999)[_0x41e6da(0x168)](_0x2a52dc);};}});var _0x163249=_0x4daffb[_0xebe37(0x19d)]={};return _0x4daffb;}(Math);return _0x5e2416;}));}(_0xe5a0c4)),_0xe5a0c4[_0x2f5609(0x4ac)];}var _0x17aa79={'exports':{}},_0xf1a1bf=_0x17aa79[_0x40a6d6(0x4ac)],_0x44f5b6;function _0x56039a(){var _0x53d263=_0x40a6d6;return _0x44f5b6||(_0x44f5b6=0x1,function(_0x37e71e,_0x38d84e){(function(_0x4ef64c,_0x5757ab){var _0x58af51=_0xfa75;_0x37e71e[_0x58af51(0x4ac)]=_0x5757ab(_0x48bcf4());}(_0xf1a1bf,function(_0x16296e){var _0x44440f=_0xfa75;return(function(){var _0x22b8e5=_0xfa75,_0x414333=_0x16296e,_0x3b0145=_0x414333[_0x22b8e5(0x448)],_0x52fa7c=_0x3b0145[_0x22b8e5(0x4e2)],_0x54664b=_0x414333[_0x22b8e5(0x442)];_0x54664b['Base64']={'stringify':function(_0xfdfb63){var _0x565dfb=_0x22b8e5,_0xd7aeb6=_0xfdfb63[_0x565dfb(0x4e5)],_0x4d43cc=_0xfdfb63[_0x565dfb(0x40d)],_0x288568=this[_0x565dfb(0x4d8)];_0xfdfb63[_0x565dfb(0x4ca)]();for(var _0x2cce9d=[],_0x291a28=0x0;_0x291a28<_0x4d43cc;_0x291a28+=0x3)for(var _0x2840ab=_0xd7aeb6[_0x291a28>>>0x2]>>>0x18-_0x291a28%0x4*0x8&0xff,_0x15a5f6=_0xd7aeb6[_0x291a28+0x1>>>0x2]>>>0x18-(_0x291a28+0x1)%0x4*0x8&0xff,_0x17a21d=_0xd7aeb6[_0x291a28+0x2>>>0x2]>>>0x18-(_0x291a28+0x2)%0x4*0x8&0xff,_0x5708f1=_0x2840ab<<0x10|_0x15a5f6<<0x8|_0x17a21d,_0x1322d0=0x0;_0x1322d0<0x4&&_0x291a28+_0x1322d0*0.75<_0x4d43cc;_0x1322d0++)_0x2cce9d[_0x565dfb(0x2a5)](_0x288568['charAt'](_0x5708f1>>>0x6*(0x3-_0x1322d0)&0x3f));var _0x5d2bca=_0x288568[_0x565dfb(0x436)](0x40);if(_0x5d2bca){for(;_0x2cce9d['length']%0x4;)_0x2cce9d[_0x565dfb(0x2a5)](_0x5d2bca);}return _0x2cce9d[_0x565dfb(0x2dc)]('');},'parse':function(_0x64928a){var _0x1b80ff=_0x22b8e5,_0x40b963=_0x64928a[_0x1b80ff(0x2e5)],_0x202841=this['_map'],_0x5f1227=this[_0x1b80ff(0x470)];if(!_0x5f1227){_0x5f1227=this['_reverseMap']=[];for(var _0x2259f9=0x0;_0x2259f9<_0x202841[_0x1b80ff(0x2e5)];_0x2259f9++)_0x5f1227[_0x202841[_0x1b80ff(0x4e4)](_0x2259f9)]=_0x2259f9;}var _0xa3bef5=_0x202841['charAt'](0x40);if(_0xa3bef5){var _0x650253=_0x64928a[_0x1b80ff(0x2bc)](_0xa3bef5);_0x650253!==-0x1&&(_0x40b963=_0x650253);}return _0x349bdd(_0x64928a,_0x40b963,_0x5f1227);},'_map':_0x22b8e5(0x230)};function _0x349bdd(_0x5a203f,_0x2016d3,_0x303957){var _0x52a42c=_0x22b8e5;for(var _0x39326f=[],_0x15cc15=0x0,_0x3d49f5=0x0;_0x3d49f5<_0x2016d3;_0x3d49f5++)if(_0x3d49f5%0x4){var _0x3d024a=_0x303957[_0x5a203f[_0x52a42c(0x4e4)](_0x3d49f5-0x1)]<<_0x3d49f5%0x4*0x2,_0x20209e=_0x303957[_0x5a203f['charCodeAt'](_0x3d49f5)]>>>0x6-_0x3d49f5%0x4*0x2,_0x3094dc=_0x3d024a|_0x20209e;_0x39326f[_0x15cc15>>>0x2]|=_0x3094dc<<0x18-_0x15cc15%0x4*0x8,_0x15cc15++;}return _0x52fa7c['create'](_0x39326f,_0x15cc15);}}()),_0x16296e[_0x44440f(0x442)][_0x44440f(0x294)];}));}(_0x17aa79)),_0x17aa79[_0x53d263(0x4ac)];}var _0xefdd92={'exports':{}},_0x3c7a51=_0xefdd92[_0x40a6d6(0x4ac)],_0x3759d4;function _0x271a07(){return _0x3759d4||(_0x3759d4=0x1,function(_0x15cc8b,_0x3bf2d6){(function(_0x54b748,_0x189f70){_0x15cc8b['exports']=_0x189f70(_0x48bcf4());}(_0x3c7a51,function(_0x55d8cf){var _0x353b61=_0xfa75;return function(_0x5f2655){var _0x1e1a52=_0xfa75,_0x3d850d=_0x55d8cf,_0x564b12=_0x3d850d[_0x1e1a52(0x448)],_0x23f20f=_0x564b12[_0x1e1a52(0x4e2)],_0x8d9f73=_0x564b12[_0x1e1a52(0x376)],_0x222564=_0x3d850d['algo'],_0x523a31=[];(function(){var _0x14a886=_0x1e1a52;for(var _0x48cf2c=0x0;_0x48cf2c<0x40;_0x48cf2c++)_0x523a31[_0x48cf2c]=_0x5f2655['abs'](_0x5f2655[_0x14a886(0x3d4)](_0x48cf2c+0x1))*0x100000000|0x0;}());var _0x5a1443=_0x222564[_0x1e1a52(0x34b)]=_0x8d9f73[_0x1e1a52(0x19c)]({'_doReset':function(){var _0x31fd9e=_0x1e1a52;this[_0x31fd9e(0x1e6)]=new _0x23f20f[(_0x31fd9e(0x198))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x25498e,_0x19beaf){var _0xce151f=_0x1e1a52;for(var _0x2d5201=0x0;_0x2d5201<0x10;_0x2d5201++){var _0x2de9ac=_0x19beaf+_0x2d5201,_0x142183=_0x25498e[_0x2de9ac];_0x25498e[_0x2de9ac]=(_0x142183<<0x8|_0x142183>>>0x18)&0xff00ff|(_0x142183<<0x18|_0x142183>>>0x8)&0xff00ff00;}var _0x3e4846=this[_0xce151f(0x1e6)][_0xce151f(0x4e5)],_0x26d75d=_0x25498e[_0x19beaf+0x0],_0x1e1d87=_0x25498e[_0x19beaf+0x1],_0x1f52bb=_0x25498e[_0x19beaf+0x2],_0x32516e=_0x25498e[_0x19beaf+0x3],_0xc74914=_0x25498e[_0x19beaf+0x4],_0x27f0f6=_0x25498e[_0x19beaf+0x5],_0xf3c077=_0x25498e[_0x19beaf+0x6],_0x3a2ff9=_0x25498e[_0x19beaf+0x7],_0x3e0b9c=_0x25498e[_0x19beaf+0x8],_0x45a411=_0x25498e[_0x19beaf+0x9],_0x516cb4=_0x25498e[_0x19beaf+0xa],_0x2d615b=_0x25498e[_0x19beaf+0xb],_0x51ade2=_0x25498e[_0x19beaf+0xc],_0x222071=_0x25498e[_0x19beaf+0xd],_0x3ce415=_0x25498e[_0x19beaf+0xe],_0x1d3ee2=_0x25498e[_0x19beaf+0xf],_0x299746=_0x3e4846[0x0],_0x3be035=_0x3e4846[0x1],_0x20f2aa=_0x3e4846[0x2],_0x1e0f88=_0x3e4846[0x3];_0x299746=_0x37d20f(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x26d75d,0x7,_0x523a31[0x0]),_0x1e0f88=_0x37d20f(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x1e1d87,0xc,_0x523a31[0x1]),_0x20f2aa=_0x37d20f(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x1f52bb,0x11,_0x523a31[0x2]),_0x3be035=_0x37d20f(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x32516e,0x16,_0x523a31[0x3]),_0x299746=_0x37d20f(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0xc74914,0x7,_0x523a31[0x4]),_0x1e0f88=_0x37d20f(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x27f0f6,0xc,_0x523a31[0x5]),_0x20f2aa=_0x37d20f(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0xf3c077,0x11,_0x523a31[0x6]),_0x3be035=_0x37d20f(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x3a2ff9,0x16,_0x523a31[0x7]),_0x299746=_0x37d20f(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x3e0b9c,0x7,_0x523a31[0x8]),_0x1e0f88=_0x37d20f(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x45a411,0xc,_0x523a31[0x9]),_0x20f2aa=_0x37d20f(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x516cb4,0x11,_0x523a31[0xa]),_0x3be035=_0x37d20f(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x2d615b,0x16,_0x523a31[0xb]),_0x299746=_0x37d20f(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x51ade2,0x7,_0x523a31[0xc]),_0x1e0f88=_0x37d20f(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x222071,0xc,_0x523a31[0xd]),_0x20f2aa=_0x37d20f(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x3ce415,0x11,_0x523a31[0xe]),_0x3be035=_0x37d20f(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x1d3ee2,0x16,_0x523a31[0xf]),_0x299746=_0x536cd7(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x1e1d87,0x5,_0x523a31[0x10]),_0x1e0f88=_0x536cd7(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0xf3c077,0x9,_0x523a31[0x11]),_0x20f2aa=_0x536cd7(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x2d615b,0xe,_0x523a31[0x12]),_0x3be035=_0x536cd7(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x26d75d,0x14,_0x523a31[0x13]),_0x299746=_0x536cd7(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x27f0f6,0x5,_0x523a31[0x14]),_0x1e0f88=_0x536cd7(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x516cb4,0x9,_0x523a31[0x15]),_0x20f2aa=_0x536cd7(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x1d3ee2,0xe,_0x523a31[0x16]),_0x3be035=_0x536cd7(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0xc74914,0x14,_0x523a31[0x17]),_0x299746=_0x536cd7(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x45a411,0x5,_0x523a31[0x18]),_0x1e0f88=_0x536cd7(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x3ce415,0x9,_0x523a31[0x19]),_0x20f2aa=_0x536cd7(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x32516e,0xe,_0x523a31[0x1a]),_0x3be035=_0x536cd7(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x3e0b9c,0x14,_0x523a31[0x1b]),_0x299746=_0x536cd7(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x222071,0x5,_0x523a31[0x1c]),_0x1e0f88=_0x536cd7(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x1f52bb,0x9,_0x523a31[0x1d]),_0x20f2aa=_0x536cd7(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x3a2ff9,0xe,_0x523a31[0x1e]),_0x3be035=_0x536cd7(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x51ade2,0x14,_0x523a31[0x1f]),_0x299746=_0x1c0f47(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x27f0f6,0x4,_0x523a31[0x20]),_0x1e0f88=_0x1c0f47(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x3e0b9c,0xb,_0x523a31[0x21]),_0x20f2aa=_0x1c0f47(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x2d615b,0x10,_0x523a31[0x22]),_0x3be035=_0x1c0f47(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x3ce415,0x17,_0x523a31[0x23]),_0x299746=_0x1c0f47(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x1e1d87,0x4,_0x523a31[0x24]),_0x1e0f88=_0x1c0f47(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0xc74914,0xb,_0x523a31[0x25]),_0x20f2aa=_0x1c0f47(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x3a2ff9,0x10,_0x523a31[0x26]),_0x3be035=_0x1c0f47(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x516cb4,0x17,_0x523a31[0x27]),_0x299746=_0x1c0f47(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x222071,0x4,_0x523a31[0x28]),_0x1e0f88=_0x1c0f47(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x26d75d,0xb,_0x523a31[0x29]),_0x20f2aa=_0x1c0f47(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x32516e,0x10,_0x523a31[0x2a]),_0x3be035=_0x1c0f47(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0xf3c077,0x17,_0x523a31[0x2b]),_0x299746=_0x1c0f47(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x45a411,0x4,_0x523a31[0x2c]),_0x1e0f88=_0x1c0f47(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x51ade2,0xb,_0x523a31[0x2d]),_0x20f2aa=_0x1c0f47(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x1d3ee2,0x10,_0x523a31[0x2e]),_0x3be035=_0x1c0f47(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x1f52bb,0x17,_0x523a31[0x2f]),_0x299746=_0x5cd28c(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x26d75d,0x6,_0x523a31[0x30]),_0x1e0f88=_0x5cd28c(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x3a2ff9,0xa,_0x523a31[0x31]),_0x20f2aa=_0x5cd28c(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x3ce415,0xf,_0x523a31[0x32]),_0x3be035=_0x5cd28c(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x27f0f6,0x15,_0x523a31[0x33]),_0x299746=_0x5cd28c(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x51ade2,0x6,_0x523a31[0x34]),_0x1e0f88=_0x5cd28c(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x32516e,0xa,_0x523a31[0x35]),_0x20f2aa=_0x5cd28c(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x516cb4,0xf,_0x523a31[0x36]),_0x3be035=_0x5cd28c(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x1e1d87,0x15,_0x523a31[0x37]),_0x299746=_0x5cd28c(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0x3e0b9c,0x6,_0x523a31[0x38]),_0x1e0f88=_0x5cd28c(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x1d3ee2,0xa,_0x523a31[0x39]),_0x20f2aa=_0x5cd28c(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0xf3c077,0xf,_0x523a31[0x3a]),_0x3be035=_0x5cd28c(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x222071,0x15,_0x523a31[0x3b]),_0x299746=_0x5cd28c(_0x299746,_0x3be035,_0x20f2aa,_0x1e0f88,_0xc74914,0x6,_0x523a31[0x3c]),_0x1e0f88=_0x5cd28c(_0x1e0f88,_0x299746,_0x3be035,_0x20f2aa,_0x2d615b,0xa,_0x523a31[0x3d]),_0x20f2aa=_0x5cd28c(_0x20f2aa,_0x1e0f88,_0x299746,_0x3be035,_0x1f52bb,0xf,_0x523a31[0x3e]),_0x3be035=_0x5cd28c(_0x3be035,_0x20f2aa,_0x1e0f88,_0x299746,_0x45a411,0x15,_0x523a31[0x3f]),_0x3e4846[0x0]=_0x3e4846[0x0]+_0x299746|0x0,_0x3e4846[0x1]=_0x3e4846[0x1]+_0x3be035|0x0,_0x3e4846[0x2]=_0x3e4846[0x2]+_0x20f2aa|0x0,_0x3e4846[0x3]=_0x3e4846[0x3]+_0x1e0f88|0x0;},'_doFinalize':function(){var _0x46ff99=_0x1e1a52,_0x392b20=this['_data'],_0x1ef3a5=_0x392b20[_0x46ff99(0x4e5)],_0x40fb8c=this['_nDataBytes']*0x8,_0x14ca44=_0x392b20[_0x46ff99(0x40d)]*0x8;_0x1ef3a5[_0x14ca44>>>0x5]|=0x80<<0x18-_0x14ca44%0x20;var _0x1ff384=_0x5f2655[_0x46ff99(0x414)](_0x40fb8c/0x100000000),_0x9e6a43=_0x40fb8c;_0x1ef3a5[(_0x14ca44+0x40>>>0x9<<0x4)+0xf]=(_0x1ff384<<0x8|_0x1ff384>>>0x18)&0xff00ff|(_0x1ff384<<0x18|_0x1ff384>>>0x8)&0xff00ff00,_0x1ef3a5[(_0x14ca44+0x40>>>0x9<<0x4)+0xe]=(_0x9e6a43<<0x8|_0x9e6a43>>>0x18)&0xff00ff|(_0x9e6a43<<0x18|_0x9e6a43>>>0x8)&0xff00ff00,_0x392b20[_0x46ff99(0x40d)]=(_0x1ef3a5[_0x46ff99(0x2e5)]+0x1)*0x4,this['_process']();for(var _0x3590d9=this[_0x46ff99(0x1e6)],_0x3a283c=_0x3590d9[_0x46ff99(0x4e5)],_0x471478=0x0;_0x471478<0x4;_0x471478++){var _0xfbedcb=_0x3a283c[_0x471478];_0x3a283c[_0x471478]=(_0xfbedcb<<0x8|_0xfbedcb>>>0x18)&0xff00ff|(_0xfbedcb<<0x18|_0xfbedcb>>>0x8)&0xff00ff00;}return _0x3590d9;},'clone':function(){var _0x47de67=_0x1e1a52,_0x2ae3b0=_0x8d9f73['clone'][_0x47de67(0x455)](this);return _0x2ae3b0[_0x47de67(0x1e6)]=this['_hash']['clone'](),_0x2ae3b0;}});function _0x37d20f(_0x241eec,_0x575169,_0xb04d90,_0x303276,_0x4a9188,_0x2f202f,_0x32fef6){var _0x243d24=_0x241eec+(_0x575169&_0xb04d90|~_0x575169&_0x303276)+_0x4a9188+_0x32fef6;return(_0x243d24<<_0x2f202f|_0x243d24>>>0x20-_0x2f202f)+_0x575169;}function _0x536cd7(_0xd39e43,_0x45ec23,_0x4dc50f,_0x4c4433,_0x46fb3e,_0x220a20,_0x5e8678){var _0x16b617=_0xd39e43+(_0x45ec23&_0x4c4433|_0x4dc50f&~_0x4c4433)+_0x46fb3e+_0x5e8678;return(_0x16b617<<_0x220a20|_0x16b617>>>0x20-_0x220a20)+_0x45ec23;}function _0x1c0f47(_0x37b04a,_0x1c8fca,_0x45669b,_0x32e8e2,_0x3e3b68,_0x47e624,_0x54e1f0){var _0x4ad055=_0x37b04a+(_0x1c8fca^_0x45669b^_0x32e8e2)+_0x3e3b68+_0x54e1f0;return(_0x4ad055<<_0x47e624|_0x4ad055>>>0x20-_0x47e624)+_0x1c8fca;}function _0x5cd28c(_0x21fef2,_0x3a3da2,_0x2357ab,_0x1b59f8,_0x18dea4,_0x3fe554,_0x44b1e4){var _0x5cfea7=_0x21fef2+(_0x2357ab^(_0x3a3da2|~_0x1b59f8))+_0x18dea4+_0x44b1e4;return(_0x5cfea7<<_0x3fe554|_0x5cfea7>>>0x20-_0x3fe554)+_0x3a3da2;}_0x3d850d['MD5']=_0x8d9f73[_0x1e1a52(0x33c)](_0x5a1443),_0x3d850d[_0x1e1a52(0x405)]=_0x8d9f73['_createHmacHelper'](_0x5a1443);}(Math),_0x55d8cf[_0x353b61(0x34b)];}));}(_0xefdd92)),_0xefdd92['exports'];}var _0x322411={'exports':{}},_0x5c7657={'exports':{}},_0xcbda75=_0x5c7657[_0x40a6d6(0x4ac)],_0x81ab04;function _0x4f1a58(){var _0x2f01b1=_0x40a6d6;return _0x81ab04||(_0x81ab04=0x1,function(_0xefc034,_0x38126b){(function(_0x3a1529,_0x4fb644){_0xefc034['exports']=_0x4fb644(_0x48bcf4());}(_0xcbda75,function(_0x11e1da){var _0xf8f964=_0xfa75;return(function(){var _0x923750=_0xfa75,_0x1fcb54=_0x11e1da,_0x16c6b9=_0x1fcb54['lib'],_0x238146=_0x16c6b9[_0x923750(0x4e2)],_0x25fa44=_0x16c6b9[_0x923750(0x376)],_0x332afc=_0x1fcb54[_0x923750(0x19d)],_0x2d0c82=[],_0x4fbedd=_0x332afc[_0x923750(0x1ae)]=_0x25fa44[_0x923750(0x19c)]({'_doReset':function(){var _0x3694dd=_0x923750;this[_0x3694dd(0x1e6)]=new _0x238146[(_0x3694dd(0x198))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5e2e61,_0x15cb01){var _0x1e3721=_0x923750;for(var _0x352d8d=this[_0x1e3721(0x1e6)][_0x1e3721(0x4e5)],_0x4ef5f3=_0x352d8d[0x0],_0x218bf4=_0x352d8d[0x1],_0x422037=_0x352d8d[0x2],_0x1ac812=_0x352d8d[0x3],_0x39a265=_0x352d8d[0x4],_0x210dd3=0x0;_0x210dd3<0x50;_0x210dd3++){if(_0x210dd3<0x10)_0x2d0c82[_0x210dd3]=_0x5e2e61[_0x15cb01+_0x210dd3]|0x0;else{var _0x10699f=_0x2d0c82[_0x210dd3-0x3]^_0x2d0c82[_0x210dd3-0x8]^_0x2d0c82[_0x210dd3-0xe]^_0x2d0c82[_0x210dd3-0x10];_0x2d0c82[_0x210dd3]=_0x10699f<<0x1|_0x10699f>>>0x1f;}var _0x4a65b7=(_0x4ef5f3<<0x5|_0x4ef5f3>>>0x1b)+_0x39a265+_0x2d0c82[_0x210dd3];_0x210dd3<0x14?_0x4a65b7+=(_0x218bf4&_0x422037|~_0x218bf4&_0x1ac812)+0x5a827999:_0x210dd3<0x28?_0x4a65b7+=(_0x218bf4^_0x422037^_0x1ac812)+0x6ed9eba1:_0x210dd3<0x3c?_0x4a65b7+=(_0x218bf4&_0x422037|_0x218bf4&_0x1ac812|_0x422037&_0x1ac812)-0x70e44324:_0x4a65b7+=(_0x218bf4^_0x422037^_0x1ac812)-0x359d3e2a,_0x39a265=_0x1ac812,_0x1ac812=_0x422037,_0x422037=_0x218bf4<<0x1e|_0x218bf4>>>0x2,_0x218bf4=_0x4ef5f3,_0x4ef5f3=_0x4a65b7;}_0x352d8d[0x0]=_0x352d8d[0x0]+_0x4ef5f3|0x0,_0x352d8d[0x1]=_0x352d8d[0x1]+_0x218bf4|0x0,_0x352d8d[0x2]=_0x352d8d[0x2]+_0x422037|0x0,_0x352d8d[0x3]=_0x352d8d[0x3]+_0x1ac812|0x0,_0x352d8d[0x4]=_0x352d8d[0x4]+_0x39a265|0x0;},'_doFinalize':function(){var _0x2d10e6=_0x923750,_0x556839=this['_data'],_0xad92a=_0x556839[_0x2d10e6(0x4e5)],_0x1c709a=this['_nDataBytes']*0x8,_0x7c4d6=_0x556839['sigBytes']*0x8;return _0xad92a[_0x7c4d6>>>0x5]|=0x80<<0x18-_0x7c4d6%0x20,_0xad92a[(_0x7c4d6+0x40>>>0x9<<0x4)+0xe]=Math[_0x2d10e6(0x414)](_0x1c709a/0x100000000),_0xad92a[(_0x7c4d6+0x40>>>0x9<<0x4)+0xf]=_0x1c709a,_0x556839[_0x2d10e6(0x40d)]=_0xad92a[_0x2d10e6(0x2e5)]*0x4,this[_0x2d10e6(0x39e)](),this[_0x2d10e6(0x1e6)];},'clone':function(){var _0x2dd7ca=_0x923750,_0xe68b30=_0x25fa44['clone'][_0x2dd7ca(0x455)](this);return _0xe68b30[_0x2dd7ca(0x1e6)]=this['_hash']['clone'](),_0xe68b30;}});_0x1fcb54['SHA1']=_0x25fa44[_0x923750(0x33c)](_0x4fbedd),_0x1fcb54['HmacSHA1']=_0x25fa44[_0x923750(0x1a0)](_0x4fbedd);}()),_0x11e1da[_0xf8f964(0x1ae)];}));}(_0x5c7657)),_0x5c7657[_0x2f01b1(0x4ac)];}var _0x4eb06d={'exports':{}},_0x2e4c0c=_0x4eb06d['exports'],_0x491105;function _0x50b7a6(){var _0x596056=_0x40a6d6;return _0x491105||(_0x491105=0x1,function(_0x19ff5e,_0x299093){(function(_0xa9b84b,_0x3ba0ce){var _0x1b1c0c=_0xfa75;_0x19ff5e[_0x1b1c0c(0x4ac)]=_0x3ba0ce(_0x48bcf4());}(_0x2e4c0c,function(_0xf9fbc1){(function(){var _0x28fb38=_0xfa75,_0x5e4cf4=_0xf9fbc1,_0x51c5b5=_0x5e4cf4['lib'],_0x48ce3a=_0x51c5b5['Base'],_0x1ee2a9=_0x5e4cf4['enc'],_0xa90464=_0x1ee2a9['Utf8'],_0x41b5b7=_0x5e4cf4[_0x28fb38(0x19d)];_0x41b5b7[_0x28fb38(0x46a)]=_0x48ce3a[_0x28fb38(0x19c)]({'init':function(_0x520394,_0x2c9057){var _0x152c43=_0x28fb38;_0x520394=this[_0x152c43(0x1d6)]=new _0x520394[(_0x152c43(0x198))](),typeof _0x2c9057==_0x152c43(0x46d)&&(_0x2c9057=_0xa90464['parse'](_0x2c9057));var _0x3e01cf=_0x520394[_0x152c43(0x245)],_0x4c1541=_0x3e01cf*0x4;_0x2c9057[_0x152c43(0x40d)]>_0x4c1541&&(_0x2c9057=_0x520394[_0x152c43(0x168)](_0x2c9057)),_0x2c9057['clamp']();for(var _0x3b5778=this[_0x152c43(0x32e)]=_0x2c9057[_0x152c43(0x208)](),_0x4c75b3=this[_0x152c43(0x2e7)]=_0x2c9057[_0x152c43(0x208)](),_0x9809c9=_0x3b5778[_0x152c43(0x4e5)],_0x180428=_0x4c75b3[_0x152c43(0x4e5)],_0x30d82c=0x0;_0x30d82c<_0x3e01cf;_0x30d82c++)_0x9809c9[_0x30d82c]^=0x5c5c5c5c,_0x180428[_0x30d82c]^=0x36363636;_0x3b5778[_0x152c43(0x40d)]=_0x4c75b3['sigBytes']=_0x4c1541,this[_0x152c43(0x4be)]();},'reset':function(){var _0x330b54=_0x28fb38,_0x39d722=this[_0x330b54(0x1d6)];_0x39d722['reset'](),_0x39d722[_0x330b54(0x1ea)](this[_0x330b54(0x2e7)]);},'update':function(_0x4fb756){var _0x1f40a4=_0x28fb38;return this[_0x1f40a4(0x1d6)][_0x1f40a4(0x1ea)](_0x4fb756),this;},'finalize':function(_0x5594b3){var _0x17f98f=_0x28fb38,_0x397f7d=this[_0x17f98f(0x1d6)],_0x120691=_0x397f7d[_0x17f98f(0x168)](_0x5594b3);_0x397f7d[_0x17f98f(0x4be)]();var _0x289ac2=_0x397f7d[_0x17f98f(0x168)](this[_0x17f98f(0x32e)][_0x17f98f(0x208)]()[_0x17f98f(0x375)](_0x120691));return _0x289ac2;}});}());}));}(_0x4eb06d)),_0x4eb06d[_0x596056(0x4ac)];}var _0x132901=_0x322411[_0x40a6d6(0x4ac)],_0x4dc6ec;function _0x1a324b(){return _0x4dc6ec||(_0x4dc6ec=0x1,function(_0x655df3,_0x1c7191){(function(_0x3e6de4,_0x544c40,_0x3f2b4a){var _0x463c7a=_0xfa75;_0x655df3[_0x463c7a(0x4ac)]=_0x544c40(_0x48bcf4(),_0x4f1a58(),_0x50b7a6());}(_0x132901,function(_0x44ed51){var _0x3ee08c=_0xfa75;return(function(){var _0x4ba9fb=_0xfa75,_0x202a1c=_0x44ed51,_0x6dc2f9=_0x202a1c['lib'],_0x4f6b8a=_0x6dc2f9['Base'],_0xe815a6=_0x6dc2f9[_0x4ba9fb(0x4e2)],_0x2302fb=_0x202a1c[_0x4ba9fb(0x19d)],_0x256b29=_0x2302fb[_0x4ba9fb(0x34b)],_0x132e67=_0x2302fb[_0x4ba9fb(0x160)]=_0x4f6b8a[_0x4ba9fb(0x19c)]({'cfg':_0x4f6b8a[_0x4ba9fb(0x19c)]({'keySize':0x80/0x20,'hasher':_0x256b29,'iterations':0x1}),'init':function(_0x45e48b){var _0x2b6036=_0x4ba9fb;this['cfg']=this['cfg'][_0x2b6036(0x19c)](_0x45e48b);},'compute':function(_0x4c4d70,_0x5f5d88){var _0x352802=_0x4ba9fb;for(var _0x10f56d,_0x2e65a0=this[_0x352802(0x42d)],_0x281471=_0x2e65a0[_0x352802(0x2dd)][_0x352802(0x36d)](),_0x4f0cbd=_0xe815a6['create'](),_0x4742d5=_0x4f0cbd[_0x352802(0x4e5)],_0x23b9d4=_0x2e65a0['keySize'],_0x558a3c=_0x2e65a0[_0x352802(0x2f2)];_0x4742d5['length']<_0x23b9d4;){_0x10f56d&&_0x281471['update'](_0x10f56d),_0x10f56d=_0x281471[_0x352802(0x1ea)](_0x4c4d70)['finalize'](_0x5f5d88),_0x281471[_0x352802(0x4be)]();for(var _0x22e83c=0x1;_0x22e83c<_0x558a3c;_0x22e83c++)_0x10f56d=_0x281471[_0x352802(0x168)](_0x10f56d),_0x281471[_0x352802(0x4be)]();_0x4f0cbd['concat'](_0x10f56d);}return _0x4f0cbd['sigBytes']=_0x23b9d4*0x4,_0x4f0cbd;}});_0x202a1c[_0x4ba9fb(0x160)]=function(_0x553a89,_0xe150ce,_0x7fddfe){var _0x147180=_0x4ba9fb;return _0x132e67[_0x147180(0x36d)](_0x7fddfe)['compute'](_0x553a89,_0xe150ce);};}()),_0x44ed51[_0x3ee08c(0x160)];}));}(_0x322411)),_0x322411['exports'];}var _0x216d01={'exports':{}},_0x55f4d2=_0x216d01[_0x40a6d6(0x4ac)],_0x20a82c;function _0x1e8592(){var _0x5c00bd=_0x40a6d6;return _0x20a82c||(_0x20a82c=0x1,function(_0x39d06c,_0x45eee9){(function(_0x29bcdb,_0xecbadd,_0x265368){var _0x109993=_0xfa75;_0x39d06c[_0x109993(0x4ac)]=_0xecbadd(_0x48bcf4(),_0x1a324b());}(_0x55f4d2,function(_0x50347f){var _0x11af19=_0xfa75;_0x50347f[_0x11af19(0x448)]['Cipher']||function(_0x2353f0){var _0x74cbb8=_0x11af19,_0x3e3de3=_0x50347f,_0x1c6963=_0x3e3de3[_0x74cbb8(0x448)],_0x483196=_0x1c6963['Base'],_0x24cb5f=_0x1c6963[_0x74cbb8(0x4e2)],_0x17b1e=_0x1c6963['BufferedBlockAlgorithm'],_0x414c38=_0x3e3de3[_0x74cbb8(0x442)];_0x414c38[_0x74cbb8(0x155)];var _0x200c33=_0x414c38[_0x74cbb8(0x294)],_0x3379a2=_0x3e3de3['algo'],_0x2dd48b=_0x3379a2[_0x74cbb8(0x160)],_0x16741d=_0x1c6963['Cipher']=_0x17b1e[_0x74cbb8(0x19c)]({'cfg':_0x483196[_0x74cbb8(0x19c)](),'createEncryptor':function(_0x1b80af,_0x54f5b0){var _0x2e75ce=_0x74cbb8;return this[_0x2e75ce(0x36d)](this['_ENC_XFORM_MODE'],_0x1b80af,_0x54f5b0);},'createDecryptor':function(_0x1baa53,_0x2f9552){var _0x12f329=_0x74cbb8;return this[_0x12f329(0x36d)](this[_0x12f329(0x473)],_0x1baa53,_0x2f9552);},'init':function(_0x28ff21,_0x1a4c5a,_0x5a48af){var _0x1e98cf=_0x74cbb8;this[_0x1e98cf(0x42d)]=this[_0x1e98cf(0x42d)][_0x1e98cf(0x19c)](_0x5a48af),this[_0x1e98cf(0x4c0)]=_0x28ff21,this[_0x1e98cf(0x1ee)]=_0x1a4c5a,this[_0x1e98cf(0x4be)]();},'reset':function(){var _0x34a6fc=_0x74cbb8;_0x17b1e['reset'][_0x34a6fc(0x455)](this),this[_0x34a6fc(0x252)]();},'process':function(_0x13afdb){var _0x9cd2a3=_0x74cbb8;return this['_append'](_0x13afdb),this[_0x9cd2a3(0x39e)]();},'finalize':function(_0x3bd6bc){var _0xc887fb=_0x74cbb8;_0x3bd6bc&&this[_0xc887fb(0x1f8)](_0x3bd6bc);var _0x408352=this[_0xc887fb(0x1c7)]();return _0x408352;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4a28b2(_0x838379){var _0x2bc98d=_0xfa75;return typeof _0x838379==_0x2bc98d(0x46d)?_0x404443:_0x4c8ec2;}return function(_0x1f0085){return{'encrypt':function(_0xeb6a10,_0x2048e6,_0x365d51){return _0x4a28b2(_0x2048e6)['encrypt'](_0x1f0085,_0xeb6a10,_0x2048e6,_0x365d51);},'decrypt':function(_0x82dad1,_0xc90113,_0x931a02){var _0x5ddc20=_0xfa75;return _0x4a28b2(_0xc90113)[_0x5ddc20(0x309)](_0x1f0085,_0x82dad1,_0xc90113,_0x931a02);}};};}())});_0x1c6963[_0x74cbb8(0x2aa)]=_0x16741d[_0x74cbb8(0x19c)]({'_doFinalize':function(){var _0x3e64ef=_0x74cbb8,_0x14083d=this[_0x3e64ef(0x39e)](!0x0);return _0x14083d;},'blockSize':0x1});var _0xe50881=_0x3e3de3[_0x74cbb8(0x46b)]={},_0x1495af=_0x1c6963[_0x74cbb8(0x460)]=_0x483196[_0x74cbb8(0x19c)]({'createEncryptor':function(_0x26e865,_0x468b05){var _0x145707=_0x74cbb8;return this[_0x145707(0x4a9)][_0x145707(0x36d)](_0x26e865,_0x468b05);},'createDecryptor':function(_0x46cd55,_0x29fa68){var _0x35ff34=_0x74cbb8;return this[_0x35ff34(0x2af)][_0x35ff34(0x36d)](_0x46cd55,_0x29fa68);},'init':function(_0x1d467c,_0x1681e6){var _0x246ada=_0x74cbb8;this[_0x246ada(0x330)]=_0x1d467c,this[_0x246ada(0x22e)]=_0x1681e6;}}),_0x479dd0=_0xe50881[_0x74cbb8(0x327)]=(function(){var _0x30d941=_0x74cbb8,_0xf00c7=_0x1495af['extend']();_0xf00c7[_0x30d941(0x4a9)]=_0xf00c7[_0x30d941(0x19c)]({'processBlock':function(_0x1206dd,_0x42434e){var _0x31dcf2=_0x30d941,_0x294001=this[_0x31dcf2(0x330)],_0x54e628=_0x294001[_0x31dcf2(0x245)];_0x328adf[_0x31dcf2(0x455)](this,_0x1206dd,_0x42434e,_0x54e628),_0x294001[_0x31dcf2(0x47a)](_0x1206dd,_0x42434e),this[_0x31dcf2(0x4c4)]=_0x1206dd['slice'](_0x42434e,_0x42434e+_0x54e628);}}),_0xf00c7[_0x30d941(0x2af)]=_0xf00c7[_0x30d941(0x19c)]({'processBlock':function(_0x4aef85,_0x6baf2a){var _0x107e52=_0x30d941,_0x4f866d=this[_0x107e52(0x330)],_0x5198b4=_0x4f866d[_0x107e52(0x245)],_0x5c2726=_0x4aef85[_0x107e52(0x4cc)](_0x6baf2a,_0x6baf2a+_0x5198b4);_0x4f866d[_0x107e52(0x33a)](_0x4aef85,_0x6baf2a),_0x328adf[_0x107e52(0x455)](this,_0x4aef85,_0x6baf2a,_0x5198b4),this[_0x107e52(0x4c4)]=_0x5c2726;}});function _0x328adf(_0x4d52e4,_0xe7e122,_0x41ed5b){var _0x9a3089=_0x30d941,_0x393257,_0x1d9e77=this[_0x9a3089(0x22e)];_0x1d9e77?(_0x393257=_0x1d9e77,this[_0x9a3089(0x22e)]=_0x2353f0):_0x393257=this[_0x9a3089(0x4c4)];for(var _0x1f16f2=0x0;_0x1f16f2<_0x41ed5b;_0x1f16f2++)_0x4d52e4[_0xe7e122+_0x1f16f2]^=_0x393257[_0x1f16f2];}return _0xf00c7;}()),_0x2e476c=_0x3e3de3[_0x74cbb8(0x251)]={},_0x2825af=_0x2e476c[_0x74cbb8(0x3e7)]={'pad':function(_0x5b5703,_0x42fa18){var _0x454ac0=_0x74cbb8;for(var _0x1a4ee8=_0x42fa18*0x4,_0x3d6240=_0x1a4ee8-_0x5b5703[_0x454ac0(0x40d)]%_0x1a4ee8,_0x1e2140=_0x3d6240<<0x18|_0x3d6240<<0x10|_0x3d6240<<0x8|_0x3d6240,_0x5c295d=[],_0x4a8b95=0x0;_0x4a8b95<_0x3d6240;_0x4a8b95+=0x4)_0x5c295d['push'](_0x1e2140);var _0x27c8c7=_0x24cb5f[_0x454ac0(0x36d)](_0x5c295d,_0x3d6240);_0x5b5703['concat'](_0x27c8c7);},'unpad':function(_0x34a176){var _0x56d2bc=_0x74cbb8,_0x52c173=_0x34a176[_0x56d2bc(0x4e5)][_0x34a176['sigBytes']-0x1>>>0x2]&0xff;_0x34a176['sigBytes']-=_0x52c173;}};_0x1c6963[_0x74cbb8(0x1a2)]=_0x16741d[_0x74cbb8(0x19c)]({'cfg':_0x16741d[_0x74cbb8(0x42d)][_0x74cbb8(0x19c)]({'mode':_0x479dd0,'padding':_0x2825af}),'reset':function(){var _0x46c136=_0x74cbb8,_0x526d18;_0x16741d['reset'][_0x46c136(0x455)](this);var _0x4d63fe=this[_0x46c136(0x42d)],_0x3e5ad3=_0x4d63fe['iv'],_0x220797=_0x4d63fe[_0x46c136(0x46b)];this[_0x46c136(0x4c0)]==this[_0x46c136(0x2eb)]?_0x526d18=_0x220797[_0x46c136(0x3f1)]:(_0x526d18=_0x220797['createDecryptor'],this[_0x46c136(0x36a)]=0x1),this[_0x46c136(0x30c)]&&this[_0x46c136(0x30c)][_0x46c136(0x29f)]==_0x526d18?this[_0x46c136(0x30c)][_0x46c136(0x198)](this,_0x3e5ad3&&_0x3e5ad3[_0x46c136(0x4e5)]):(this[_0x46c136(0x30c)]=_0x526d18[_0x46c136(0x455)](_0x220797,this,_0x3e5ad3&&_0x3e5ad3[_0x46c136(0x4e5)]),this[_0x46c136(0x30c)][_0x46c136(0x29f)]=_0x526d18);},'_doProcessBlock':function(_0x16df0d,_0x36907a){var _0x2872bb=_0x74cbb8;this[_0x2872bb(0x30c)][_0x2872bb(0x493)](_0x16df0d,_0x36907a);},'_doFinalize':function(){var _0x12c60d=_0x74cbb8,_0x5ece36,_0x30d17a=this[_0x12c60d(0x42d)][_0x12c60d(0x398)];return this[_0x12c60d(0x4c0)]==this['_ENC_XFORM_MODE']?(_0x30d17a[_0x12c60d(0x251)](this[_0x12c60d(0x15c)],this[_0x12c60d(0x245)]),_0x5ece36=this[_0x12c60d(0x39e)](!0x0)):(_0x5ece36=this[_0x12c60d(0x39e)](!0x0),_0x30d17a['unpad'](_0x5ece36)),_0x5ece36;},'blockSize':0x80/0x20});var _0x4511a7=_0x1c6963[_0x74cbb8(0x420)]=_0x483196[_0x74cbb8(0x19c)]({'init':function(_0x451998){var _0x2a8277=_0x74cbb8;this[_0x2a8277(0x1e5)](_0x451998);},'toString':function(_0xf07b83){var _0x505529=_0x74cbb8;return(_0xf07b83||this[_0x505529(0x40c)])[_0x505529(0x269)](this);}}),_0x17715a=_0x3e3de3['format']={},_0x511ec3=_0x17715a[_0x74cbb8(0x1e7)]={'stringify':function(_0x5a07e6){var _0x5be253=_0x74cbb8,_0x576428,_0x54aecf=_0x5a07e6[_0x5be253(0x274)],_0x32d8af=_0x5a07e6[_0x5be253(0x3db)];return _0x32d8af?_0x576428=_0x24cb5f[_0x5be253(0x36d)]([0x53616c74,0x65645f5f])['concat'](_0x32d8af)[_0x5be253(0x375)](_0x54aecf):_0x576428=_0x54aecf,_0x576428[_0x5be253(0x38b)](_0x200c33);},'parse':function(_0xe4758f){var _0x337755=_0x74cbb8,_0x16e294,_0x2f5d99=_0x200c33['parse'](_0xe4758f),_0x46e270=_0x2f5d99['words'];return _0x46e270[0x0]==0x53616c74&&_0x46e270[0x1]==0x65645f5f&&(_0x16e294=_0x24cb5f[_0x337755(0x36d)](_0x46e270[_0x337755(0x4cc)](0x2,0x4)),_0x46e270[_0x337755(0x314)](0x0,0x4),_0x2f5d99['sigBytes']-=0x10),_0x4511a7[_0x337755(0x36d)]({'ciphertext':_0x2f5d99,'salt':_0x16e294});}},_0x4c8ec2=_0x1c6963[_0x74cbb8(0x471)]=_0x483196[_0x74cbb8(0x19c)]({'cfg':_0x483196[_0x74cbb8(0x19c)]({'format':_0x511ec3}),'encrypt':function(_0x33a7df,_0x50a347,_0x4a9364,_0x1a9a7a){var _0x5d4f69=_0x74cbb8;_0x1a9a7a=this[_0x5d4f69(0x42d)][_0x5d4f69(0x19c)](_0x1a9a7a);var _0x9f46bc=_0x33a7df['createEncryptor'](_0x4a9364,_0x1a9a7a),_0x314c36=_0x9f46bc[_0x5d4f69(0x168)](_0x50a347),_0x52bdac=_0x9f46bc[_0x5d4f69(0x42d)];return _0x4511a7[_0x5d4f69(0x36d)]({'ciphertext':_0x314c36,'key':_0x4a9364,'iv':_0x52bdac['iv'],'algorithm':_0x33a7df,'mode':_0x52bdac[_0x5d4f69(0x46b)],'padding':_0x52bdac[_0x5d4f69(0x398)],'blockSize':_0x33a7df[_0x5d4f69(0x245)],'formatter':_0x1a9a7a[_0x5d4f69(0x3d2)]});},'decrypt':function(_0x449fbc,_0x33088b,_0x35b450,_0x9f7bf9){var _0x93ef8f=_0x74cbb8;_0x9f7bf9=this['cfg'][_0x93ef8f(0x19c)](_0x9f7bf9),_0x33088b=this[_0x93ef8f(0x2f7)](_0x33088b,_0x9f7bf9['format']);var _0x521f30=_0x449fbc['createDecryptor'](_0x35b450,_0x9f7bf9)[_0x93ef8f(0x168)](_0x33088b[_0x93ef8f(0x274)]);return _0x521f30;},'_parse':function(_0x5bd4e0,_0x42d834){var _0x13872e=_0x74cbb8;return typeof _0x5bd4e0==_0x13872e(0x46d)?_0x42d834[_0x13872e(0x369)](_0x5bd4e0,this):_0x5bd4e0;}}),_0x114aad=_0x3e3de3[_0x74cbb8(0x2cc)]={},_0x469cd1=_0x114aad[_0x74cbb8(0x1e7)]={'execute':function(_0x37756e,_0x1b8b24,_0xbd4123,_0xa4f30c,_0x1b55c5){var _0x2498e0=_0x74cbb8;if(_0xa4f30c||(_0xa4f30c=_0x24cb5f[_0x2498e0(0x4bf)](0x40/0x8)),_0x1b55c5)var _0x4db386=_0x2dd48b[_0x2498e0(0x36d)]({'keySize':_0x1b8b24+_0xbd4123,'hasher':_0x1b55c5})[_0x2498e0(0x1a9)](_0x37756e,_0xa4f30c);else var _0x4db386=_0x2dd48b[_0x2498e0(0x36d)]({'keySize':_0x1b8b24+_0xbd4123})[_0x2498e0(0x1a9)](_0x37756e,_0xa4f30c);var _0x4df1c9=_0x24cb5f[_0x2498e0(0x36d)](_0x4db386[_0x2498e0(0x4e5)][_0x2498e0(0x4cc)](_0x1b8b24),_0xbd4123*0x4);return _0x4db386[_0x2498e0(0x40d)]=_0x1b8b24*0x4,_0x4511a7[_0x2498e0(0x36d)]({'key':_0x4db386,'iv':_0x4df1c9,'salt':_0xa4f30c});}},_0x404443=_0x1c6963[_0x74cbb8(0x301)]=_0x4c8ec2[_0x74cbb8(0x19c)]({'cfg':_0x4c8ec2[_0x74cbb8(0x42d)][_0x74cbb8(0x19c)]({'kdf':_0x469cd1}),'encrypt':function(_0x3cc200,_0x3dd72d,_0x4beefe,_0x1c60f2){var _0x19991f=_0x74cbb8;_0x1c60f2=this[_0x19991f(0x42d)]['extend'](_0x1c60f2);var _0x15a8ed=_0x1c60f2['kdf'][_0x19991f(0x1b8)](_0x4beefe,_0x3cc200['keySize'],_0x3cc200[_0x19991f(0x370)],_0x1c60f2[_0x19991f(0x3db)],_0x1c60f2[_0x19991f(0x2dd)]);_0x1c60f2['iv']=_0x15a8ed['iv'];var _0x5e3262=_0x4c8ec2[_0x19991f(0x3e4)][_0x19991f(0x455)](this,_0x3cc200,_0x3dd72d,_0x15a8ed['key'],_0x1c60f2);return _0x5e3262[_0x19991f(0x1e5)](_0x15a8ed),_0x5e3262;},'decrypt':function(_0x5b1229,_0x259a79,_0x209c3d,_0x5e87e2){var _0x35f9f4=_0x74cbb8;_0x5e87e2=this['cfg'][_0x35f9f4(0x19c)](_0x5e87e2),_0x259a79=this[_0x35f9f4(0x2f7)](_0x259a79,_0x5e87e2['format']);var _0x530587=_0x5e87e2[_0x35f9f4(0x2cc)][_0x35f9f4(0x1b8)](_0x209c3d,_0x5b1229['keySize'],_0x5b1229['ivSize'],_0x259a79[_0x35f9f4(0x3db)],_0x5e87e2['hasher']);_0x5e87e2['iv']=_0x530587['iv'];var _0x2ca796=_0x4c8ec2[_0x35f9f4(0x309)][_0x35f9f4(0x455)](this,_0x5b1229,_0x259a79,_0x530587[_0x35f9f4(0x1c4)],_0x5e87e2);return _0x2ca796;}});}();}));}(_0x216d01)),_0x216d01[_0x5c00bd(0x4ac)];}var _0x2f0bdc=_0x3e158f['exports'],_0x4023ed;function _0x31037a(){var _0x14086f=_0x40a6d6;return _0x4023ed||(_0x4023ed=0x1,function(_0x2f1d35,_0x458046){(function(_0x5a2623,_0xbbd148,_0xb40675){var _0x1f1e45=_0xfa75;_0x2f1d35[_0x1f1e45(0x4ac)]=_0xbbd148(_0x48bcf4(),_0x56039a(),_0x271a07(),_0x1a324b(),_0x1e8592());}(_0x2f0bdc,function(_0x45b177){return(function(){var _0x25638b=_0xfa75,_0x2e41cb=_0x45b177,_0x304fb0=_0x2e41cb['lib'],_0x620c6b=_0x304fb0['BlockCipher'],_0x4b60fb=_0x2e41cb[_0x25638b(0x19d)],_0x25e0c5=[],_0x3b8a23=[],_0xd8e683=[],_0x3e7f82=[],_0x33017f=[],_0x3d7aea=[],_0x22007c=[],_0x258153=[],_0x1e411d=[],_0x2811bf=[];(function(){for(var _0x33d06e=[],_0x432573=0x0;_0x432573<0x100;_0x432573++)_0x432573<0x80?_0x33d06e[_0x432573]=_0x432573<<0x1:_0x33d06e[_0x432573]=_0x432573<<0x1^0x11b;for(var _0x333d82=0x0,_0x3f19bf=0x0,_0x432573=0x0;_0x432573<0x100;_0x432573++){var _0x507b9a=_0x3f19bf^_0x3f19bf<<0x1^_0x3f19bf<<0x2^_0x3f19bf<<0x3^_0x3f19bf<<0x4;_0x507b9a=_0x507b9a>>>0x8^_0x507b9a&0xff^0x63,_0x25e0c5[_0x333d82]=_0x507b9a,_0x3b8a23[_0x507b9a]=_0x333d82;var _0x308996=_0x33d06e[_0x333d82],_0x726c6f=_0x33d06e[_0x308996],_0x4347b3=_0x33d06e[_0x726c6f],_0xd6d747=_0x33d06e[_0x507b9a]*0x101^_0x507b9a*0x1010100;_0xd8e683[_0x333d82]=_0xd6d747<<0x18|_0xd6d747>>>0x8,_0x3e7f82[_0x333d82]=_0xd6d747<<0x10|_0xd6d747>>>0x10,_0x33017f[_0x333d82]=_0xd6d747<<0x8|_0xd6d747>>>0x18,_0x3d7aea[_0x333d82]=_0xd6d747;var _0xd6d747=_0x4347b3*0x1010101^_0x726c6f*0x10001^_0x308996*0x101^_0x333d82*0x1010100;_0x22007c[_0x507b9a]=_0xd6d747<<0x18|_0xd6d747>>>0x8,_0x258153[_0x507b9a]=_0xd6d747<<0x10|_0xd6d747>>>0x10,_0x1e411d[_0x507b9a]=_0xd6d747<<0x8|_0xd6d747>>>0x18,_0x2811bf[_0x507b9a]=_0xd6d747,_0x333d82?(_0x333d82=_0x308996^_0x33d06e[_0x33d06e[_0x33d06e[_0x4347b3^_0x308996]]],_0x3f19bf^=_0x33d06e[_0x33d06e[_0x3f19bf]]):_0x333d82=_0x3f19bf=0x1;}}());var _0x325189=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x13d74a=_0x4b60fb[_0x25638b(0x15a)]=_0x620c6b[_0x25638b(0x19c)]({'_doReset':function(){var _0x2c71e7=_0x25638b,_0x296e9f;if(!(this[_0x2c71e7(0x307)]&&this[_0x2c71e7(0x1b3)]===this[_0x2c71e7(0x1ee)])){for(var _0x18a6d9=this[_0x2c71e7(0x1b3)]=this[_0x2c71e7(0x1ee)],_0x23e0a1=_0x18a6d9[_0x2c71e7(0x4e5)],_0x5d5f37=_0x18a6d9[_0x2c71e7(0x40d)]/0x4,_0x52bf70=this[_0x2c71e7(0x307)]=_0x5d5f37+0x6,_0x31d3f5=(_0x52bf70+0x1)*0x4,_0x200cad=this[_0x2c71e7(0x410)]=[],_0x33a60d=0x0;_0x33a60d<_0x31d3f5;_0x33a60d++)_0x33a60d<_0x5d5f37?_0x200cad[_0x33a60d]=_0x23e0a1[_0x33a60d]:(_0x296e9f=_0x200cad[_0x33a60d-0x1],_0x33a60d%_0x5d5f37?_0x5d5f37>0x6&&_0x33a60d%_0x5d5f37==0x4&&(_0x296e9f=_0x25e0c5[_0x296e9f>>>0x18]<<0x18|_0x25e0c5[_0x296e9f>>>0x10&0xff]<<0x10|_0x25e0c5[_0x296e9f>>>0x8&0xff]<<0x8|_0x25e0c5[_0x296e9f&0xff]):(_0x296e9f=_0x296e9f<<0x8|_0x296e9f>>>0x18,_0x296e9f=_0x25e0c5[_0x296e9f>>>0x18]<<0x18|_0x25e0c5[_0x296e9f>>>0x10&0xff]<<0x10|_0x25e0c5[_0x296e9f>>>0x8&0xff]<<0x8|_0x25e0c5[_0x296e9f&0xff],_0x296e9f^=_0x325189[_0x33a60d/_0x5d5f37|0x0]<<0x18),_0x200cad[_0x33a60d]=_0x200cad[_0x33a60d-_0x5d5f37]^_0x296e9f);for(var _0x53ee65=this[_0x2c71e7(0x4dd)]=[],_0x29dd2d=0x0;_0x29dd2d<_0x31d3f5;_0x29dd2d++){var _0x33a60d=_0x31d3f5-_0x29dd2d;if(_0x29dd2d%0x4)var _0x296e9f=_0x200cad[_0x33a60d];else var _0x296e9f=_0x200cad[_0x33a60d-0x4];_0x29dd2d<0x4||_0x33a60d<=0x4?_0x53ee65[_0x29dd2d]=_0x296e9f:_0x53ee65[_0x29dd2d]=_0x22007c[_0x25e0c5[_0x296e9f>>>0x18]]^_0x258153[_0x25e0c5[_0x296e9f>>>0x10&0xff]]^_0x1e411d[_0x25e0c5[_0x296e9f>>>0x8&0xff]]^_0x2811bf[_0x25e0c5[_0x296e9f&0xff]];}}},'encryptBlock':function(_0x4cc2c2,_0x6b229e){var _0x18f021=_0x25638b;this[_0x18f021(0x3d8)](_0x4cc2c2,_0x6b229e,this[_0x18f021(0x410)],_0xd8e683,_0x3e7f82,_0x33017f,_0x3d7aea,_0x25e0c5);},'decryptBlock':function(_0x478f42,_0x39321d){var _0x37eaee=_0x25638b,_0x3042dd=_0x478f42[_0x39321d+0x1];_0x478f42[_0x39321d+0x1]=_0x478f42[_0x39321d+0x3],_0x478f42[_0x39321d+0x3]=_0x3042dd,this[_0x37eaee(0x3d8)](_0x478f42,_0x39321d,this[_0x37eaee(0x4dd)],_0x22007c,_0x258153,_0x1e411d,_0x2811bf,_0x3b8a23);var _0x3042dd=_0x478f42[_0x39321d+0x1];_0x478f42[_0x39321d+0x1]=_0x478f42[_0x39321d+0x3],_0x478f42[_0x39321d+0x3]=_0x3042dd;},'_doCryptBlock':function(_0x21e0b5,_0x2fefec,_0x3c3967,_0x4cf2dd,_0x2e792d,_0x290476,_0xb9105a,_0xea2758){for(var _0x58f270=this['_nRounds'],_0x79de8b=_0x21e0b5[_0x2fefec]^_0x3c3967[0x0],_0x5371e7=_0x21e0b5[_0x2fefec+0x1]^_0x3c3967[0x1],_0xa29cc7=_0x21e0b5[_0x2fefec+0x2]^_0x3c3967[0x2],_0x3b60c8=_0x21e0b5[_0x2fefec+0x3]^_0x3c3967[0x3],_0xd392e2=0x4,_0x5339a2=0x1;_0x5339a2<_0x58f270;_0x5339a2++){var _0x19cf79=_0x4cf2dd[_0x79de8b>>>0x18]^_0x2e792d[_0x5371e7>>>0x10&0xff]^_0x290476[_0xa29cc7>>>0x8&0xff]^_0xb9105a[_0x3b60c8&0xff]^_0x3c3967[_0xd392e2++],_0xbb4fd3=_0x4cf2dd[_0x5371e7>>>0x18]^_0x2e792d[_0xa29cc7>>>0x10&0xff]^_0x290476[_0x3b60c8>>>0x8&0xff]^_0xb9105a[_0x79de8b&0xff]^_0x3c3967[_0xd392e2++],_0x478bf7=_0x4cf2dd[_0xa29cc7>>>0x18]^_0x2e792d[_0x3b60c8>>>0x10&0xff]^_0x290476[_0x79de8b>>>0x8&0xff]^_0xb9105a[_0x5371e7&0xff]^_0x3c3967[_0xd392e2++],_0x2fd717=_0x4cf2dd[_0x3b60c8>>>0x18]^_0x2e792d[_0x79de8b>>>0x10&0xff]^_0x290476[_0x5371e7>>>0x8&0xff]^_0xb9105a[_0xa29cc7&0xff]^_0x3c3967[_0xd392e2++];_0x79de8b=_0x19cf79,_0x5371e7=_0xbb4fd3,_0xa29cc7=_0x478bf7,_0x3b60c8=_0x2fd717;}var _0x19cf79=(_0xea2758[_0x79de8b>>>0x18]<<0x18|_0xea2758[_0x5371e7>>>0x10&0xff]<<0x10|_0xea2758[_0xa29cc7>>>0x8&0xff]<<0x8|_0xea2758[_0x3b60c8&0xff])^_0x3c3967[_0xd392e2++],_0xbb4fd3=(_0xea2758[_0x5371e7>>>0x18]<<0x18|_0xea2758[_0xa29cc7>>>0x10&0xff]<<0x10|_0xea2758[_0x3b60c8>>>0x8&0xff]<<0x8|_0xea2758[_0x79de8b&0xff])^_0x3c3967[_0xd392e2++],_0x478bf7=(_0xea2758[_0xa29cc7>>>0x18]<<0x18|_0xea2758[_0x3b60c8>>>0x10&0xff]<<0x10|_0xea2758[_0x79de8b>>>0x8&0xff]<<0x8|_0xea2758[_0x5371e7&0xff])^_0x3c3967[_0xd392e2++],_0x2fd717=(_0xea2758[_0x3b60c8>>>0x18]<<0x18|_0xea2758[_0x79de8b>>>0x10&0xff]<<0x10|_0xea2758[_0x5371e7>>>0x8&0xff]<<0x8|_0xea2758[_0xa29cc7&0xff])^_0x3c3967[_0xd392e2++];_0x21e0b5[_0x2fefec]=_0x19cf79,_0x21e0b5[_0x2fefec+0x1]=_0xbb4fd3,_0x21e0b5[_0x2fefec+0x2]=_0x478bf7,_0x21e0b5[_0x2fefec+0x3]=_0x2fd717;},'keySize':0x100/0x20});_0x2e41cb[_0x25638b(0x15a)]=_0x620c6b[_0x25638b(0x33c)](_0x13d74a);}()),_0x45b177['AES'];}));}(_0x3e158f)),_0x3e158f[_0x14086f(0x4ac)];}var _0x5b9b55=_0x31037a();const _0x152cdd=_0x4dcede(_0x5b9b55);var _0x5a0551=_0x56039a();const _0x57b5e2=_0x4dcede(_0x5a0551);var _0x5ac1b5={'exports':{}},_0x13f6c3=_0x5ac1b5['exports'],_0x59c982;function _0x164e52(){var _0x5a300f=_0x40a6d6;return _0x59c982||(_0x59c982=0x1,function(_0x50c4de,_0xdbd1b7){(function(_0x53b058,_0x3cc8f4){var _0x57b17e=_0xfa75;_0x50c4de[_0x57b17e(0x4ac)]=_0x3cc8f4(_0x48bcf4());}(_0x13f6c3,function(_0xa7e10d){var _0x2d014a=_0xfa75;return _0xa7e10d[_0x2d014a(0x442)][_0x2d014a(0x155)];}));}(_0x5ac1b5)),_0x5ac1b5[_0x5a300f(0x4ac)];}var _0x1b625d=_0x164e52();const _0x2da2b1=_0x4dcede(_0x1b625d);var _0x563982={'exports':{}},_0x4d31b1=_0x563982['exports'],_0xc7c293;function _0x1e16c5(){var _0x3f2a71=_0x40a6d6;return _0xc7c293||(_0xc7c293=0x1,function(_0x50324c,_0x2f3016){(function(_0x32361a,_0x4a58cf){_0x50324c['exports']=_0x4a58cf(_0x48bcf4());}(_0x4d31b1,function(_0x1bd325){var _0x1ea4e0=_0xfa75;return(function(){var _0x206db4=_0xfa75;if(typeof ArrayBuffer=='function'){var _0x306374=_0x1bd325,_0x97e4ea=_0x306374[_0x206db4(0x448)],_0x15b476=_0x97e4ea[_0x206db4(0x4e2)],_0x5b5af5=_0x15b476['init'],_0x1c8dfa=_0x15b476[_0x206db4(0x198)]=function(_0x467198){var _0x50a8d8=_0x206db4;if(_0x467198 instanceof ArrayBuffer&&(_0x467198=new Uint8Array(_0x467198)),(_0x467198 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x467198 instanceof Uint8ClampedArray||_0x467198 instanceof Int16Array||_0x467198 instanceof Uint16Array||_0x467198 instanceof Int32Array||_0x467198 instanceof Uint32Array||_0x467198 instanceof Float32Array||_0x467198 instanceof Float64Array)&&(_0x467198=new Uint8Array(_0x467198[_0x50a8d8(0x449)],_0x467198[_0x50a8d8(0x1c3)],_0x467198['byteLength'])),_0x467198 instanceof Uint8Array){for(var _0x1df7c8=_0x467198[_0x50a8d8(0x2fb)],_0x2ec491=[],_0x4860fe=0x0;_0x4860fe<_0x1df7c8;_0x4860fe++)_0x2ec491[_0x4860fe>>>0x2]|=_0x467198[_0x4860fe]<<0x18-_0x4860fe%0x4*0x8;_0x5b5af5['call'](this,_0x2ec491,_0x1df7c8);}else _0x5b5af5[_0x50a8d8(0x3e5)](this,arguments);};_0x1c8dfa[_0x206db4(0x3aa)]=_0x15b476;}}()),_0x1bd325[_0x1ea4e0(0x448)]['WordArray'];}));}(_0x563982)),_0x563982[_0x3f2a71(0x4ac)];}var _0x5851ec=_0x1e16c5();const _0x1896bd=_0x4dcede(_0x5851ec);var _0x4ee7a8={'exports':{}},_0x519c4c=_0x4ee7a8[_0x40a6d6(0x4ac)],_0x3a9cfc;function _0x549d52(){var _0x12481c=_0x40a6d6;return _0x3a9cfc||(_0x3a9cfc=0x1,function(_0x1fd39e,_0x16a629){(function(_0x12945c,_0x4fb1d3,_0xe7454a){var _0x3ecb4a=_0xfa75;_0x1fd39e[_0x3ecb4a(0x4ac)]=_0x4fb1d3(_0x48bcf4(),_0x1e8592());}(_0x519c4c,function(_0x37666e){var _0x3e066f=_0xfa75;return _0x37666e[_0x3e066f(0x251)][_0x3e066f(0x451)]={'pad':function(){},'unpad':function(){}},_0x37666e[_0x3e066f(0x251)][_0x3e066f(0x451)];}));}(_0x4ee7a8)),_0x4ee7a8[_0x12481c(0x4ac)];}var _0x1d196f=_0x549d52();const _0x4d3361=_0x4dcede(_0x1d196f);function _0x2f930d(_0x5700b8,_0x1f955d){var _0x6531cb=_0x40a6d6;const _0x423c8=_0x1f955d-_0x5700b8[_0x6531cb(0x2e5)]%_0x1f955d,_0x30ebfa=String[_0x6531cb(0x3e2)](_0x423c8)[_0x6531cb(0x159)](_0x423c8);return _0x5700b8+_0x30ebfa;}function _0x1e6441(_0x4db38e,_0x39fc13){var _0x2b1843=_0x40a6d6;const _0x2ed77d=_0x1896bd[_0x2b1843(0x4bf)](0x10),_0x1cd355=_0x2f930d(_0x4db38e,0x10),_0x5d893b=_0x152cdd[_0x2b1843(0x3e4)](_0x2da2b1[_0x2b1843(0x369)](_0x1cd355),_0x57b5e2[_0x2b1843(0x369)](_0x39fc13),{'iv':_0x2ed77d,'padding':_0x4d3361});return _0x2ed77d['concat'](_0x5d893b[_0x2b1843(0x274)])[_0x2b1843(0x38b)](_0x57b5e2);}function _0x1ab732(){var _0x9e6746=_0x40a6d6;const _0x5321b9=_0xddb934[_0x9e6746(0x3bc)]()[_0x9e6746(0x1be)];if(_0x5321b9){const _0x9c49d5={'time':Math['floor'](Date[_0x9e6746(0x2f9)]()/0x3e8),'domain':location[_0x9e6746(0x3fa)]};return _0x1e6441(JSON[_0x9e6746(0x269)](_0x9c49d5),_0x5321b9);}}var _0x1495a8=Object[_0x40a6d6(0x2e4)],_0x322694=Object['getOwnPropertyDescriptor'],_0x59e53e=(_0x4f6966,_0x5415dd,_0x2ae9d3,_0xd9e150)=>{var _0x1daf27=_0x40a6d6;for(var _0x2fdadc=_0xd9e150>0x1?void 0x0:_0xd9e150?_0x322694(_0x5415dd,_0x2ae9d3):_0x5415dd,_0x241003=_0x4f6966[_0x1daf27(0x2e5)]-0x1,_0x439bc1;_0x241003>=0x0;_0x241003--)(_0x439bc1=_0x4f6966[_0x241003])&&(_0x2fdadc=(_0xd9e150?_0x439bc1(_0x5415dd,_0x2ae9d3,_0x2fdadc):_0x439bc1(_0x2fdadc))||_0x2fdadc);return _0xd9e150&&_0x2fdadc&&_0x1495a8(_0x5415dd,_0x2ae9d3,_0x2fdadc),_0x2fdadc;},_0x2a112c=(_0x4e5ff1,_0x11e1e0)=>(_0x3b9e1a,_0x189945)=>_0x11e1e0(_0x3b9e1a,_0x189945,_0x4e5ff1);let _0x407f3a=class{constructor(_0x5df3e5){this['_httpService']=_0x5df3e5,this['_initRequestHeader']();}[_0x40a6d6(0x2ba)](){var _0xc5bb0c=_0x40a6d6;this['_httpService'][_0xc5bb0c(0x26e)]({'interceptor':(_0x40009a,_0x214850)=>{var _0xe664a2=_0xc5bb0c;const _0x4738e2=_0x40009a[_0xe664a2(0x4ea)],_0x59489d=_0x1ab732();return _0x59489d&&_0x4738e2[_0xe664a2(0x315)](_0xe664a2(0x4b4),_0x59489d),_0x214850(_0x40009a);}});}};_0x407f3a=_0x59e53e([_0x2a112c(0x0,_0x26dfb1[_0x40a6d6(0x1b7)](_0x2df72f[_0x40a6d6(0x1e3)]))],_0x407f3a);var _0x31f5bf=Object['defineProperty'],_0x2ab01a=Object[_0x40a6d6(0x329)],_0x14270d=(_0x47c294,_0x3eef3a,_0x38ccf9,_0x195f91)=>{var _0x1a9e3b=_0x40a6d6;for(var _0x5f3d9a=_0x195f91>0x1?void 0x0:_0x195f91?_0x2ab01a(_0x3eef3a,_0x38ccf9):_0x3eef3a,_0x38e156=_0x47c294[_0x1a9e3b(0x2e5)]-0x1,_0x4231d7;_0x38e156>=0x0;_0x38e156--)(_0x4231d7=_0x47c294[_0x38e156])&&(_0x5f3d9a=(_0x195f91?_0x4231d7(_0x3eef3a,_0x38ccf9,_0x5f3d9a):_0x4231d7(_0x5f3d9a))||_0x5f3d9a);return _0x195f91&&_0x5f3d9a&&_0x31f5bf(_0x3eef3a,_0x38ccf9,_0x5f3d9a),_0x5f3d9a;},_0x4631b4=(_0x4db92b,_0x11bde4)=>(_0x3b5ba1,_0x537c16)=>_0x11bde4(_0x3b5ba1,_0x537c16,_0x4db92b);_0x3ec4d8[_0x40a6d6(0x30e)]=class extends _0x26dfb1[_0x40a6d6(0x3cb)]{constructor(_0xb5911e,_0x57d23f,_0x3bd1f9){var _0x1fac98=_0x40a6d6;super(),_0x3afa5d(this,_0x1fac98(0x2ec),new _0x2f7ab3[(_0x1fac98(0x2d7))](null)),_0x3afa5d(this,_0x1fac98(0x3d7),this['_unitInfo$']['asObservable']()),(this['_logService']=_0xb5911e,this[_0x1fac98(0x350)]=_0x57d23f,this[_0x1fac98(0x4e1)]=_0x3bd1f9);}async['loadUnit'](_0x2a5c9a,_0x4c7b2b,_0x3c449c){var _0x2e4b31=_0x40a6d6;this[_0x2e4b31(0x2ec)][_0x2e4b31(0x2ae)]({'unitId':_0x2a5c9a,'type':_0x4c7b2b,'subUnitId':_0x3c449c});let _0x24bddf=null;switch(_0x4c7b2b){case _0x20e0b3[_0x2e4b31(0x3af)]:{_0x24bddf=await this['_loadSheet'](_0x2a5c9a);break;}case _0x20e0b3['UNIVER_DOC']:{_0x24bddf=await this[_0x2e4b31(0x2bd)](_0x2a5c9a);break;}default:{this['_logService'][_0x2e4b31(0x232)](_0x2e4b31(0x25b),_0x2e4b31(0x467));break;}}return _0x24bddf;}async[_0x40a6d6(0x441)](_0x4d72b9){var _0x1097ad=_0x40a6d6,_0x3bdd3b;let _0x1e8f8d=0x0;const _0x4fe81e=await((_0x3bdd3b=this['_localCacheService'])==null?void 0x0:_0x3bdd3b[_0x1097ad(0x365)](_0x4d72b9));return _0x4fe81e&&(_0x4fe81e[_0x1097ad(0x39f)]||_0x4fe81e[_0x1097ad(0x34e)]['length']!==0x0)&&(_0x1e8f8d=_0x4fe81e['rev']),_0x1e8f8d===0x0&&this[_0x1097ad(0x2bf)]['debug']('[DataLoaderService]',_0x1097ad(0x4cd)),this['_snapshotService'][_0x1097ad(0x4b5)](_0x4d72b9,_0x1e8f8d);}async['_loadDoc'](_0x4a5eb2){var _0x257317=_0x40a6d6,_0x50d8ac;let _0x488cb3=0x0;const _0x30ff0a=await((_0x50d8ac=this['_localCacheService'])==null?void 0x0:_0x50d8ac[_0x257317(0x365)](_0x4a5eb2));return _0x30ff0a&&(_0x30ff0a['awaitingChangeset']||_0x30ff0a['mutations']['length']!==0x0)&&(_0x488cb3=_0x30ff0a[_0x257317(0x207)]),_0x488cb3===0x0&&this[_0x257317(0x2bf)][_0x257317(0x446)](_0x257317(0x25b),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x257317(0x350)]['loadDoc'](_0x4a5eb2,_0x488cb3);}},_0x3ec4d8[_0x40a6d6(0x30e)]=_0x14270d([_0x4631b4(0x0,_0x26dfb1[_0x40a6d6(0x38a)]),_0x4631b4(0x1,_0x26dfb1[_0x40a6d6(0x1b7)](_0x44b24e[_0x40a6d6(0x2c1)])),_0x4631b4(0x2,_0x26dfb1[_0x40a6d6(0x429)](_0x56036f))],_0x3ec4d8[_0x40a6d6(0x30e)]);var _0x557fc3=Object[_0x40a6d6(0x2e4)],_0x2040da=Object[_0x40a6d6(0x329)],_0x210382=(_0x4e8a4b,_0xd3a5df,_0x220464,_0x1bcaf9)=>{var _0x3e407e=_0x40a6d6;for(var _0x3dc5c0=_0x1bcaf9>0x1?void 0x0:_0x1bcaf9?_0x2040da(_0xd3a5df,_0x220464):_0xd3a5df,_0x10a2d9=_0x4e8a4b[_0x3e407e(0x2e5)]-0x1,_0x870615;_0x10a2d9>=0x0;_0x10a2d9--)(_0x870615=_0x4e8a4b[_0x10a2d9])&&(_0x3dc5c0=(_0x1bcaf9?_0x870615(_0xd3a5df,_0x220464,_0x3dc5c0):_0x870615(_0x3dc5c0))||_0x3dc5c0);return _0x1bcaf9&&_0x3dc5c0&&_0x557fc3(_0xd3a5df,_0x220464,_0x3dc5c0),_0x3dc5c0;},_0x3f299e=(_0x302fc6,_0x4e7f82)=>(_0xe16295,_0x899373)=>_0x4e7f82(_0xe16295,_0x899373,_0x302fc6);const _0x73cd4f=['image/png','image/jpeg',_0x40a6d6(0x463),_0x40a6d6(0x163),_0x40a6d6(0x418)],_0x5736f6=0x5*0x400*0x400,_0x42f3d2=_0x40a6d6(0x210),_0x22e2a3=_0x40a6d6(0x24c),_0x34bba1='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x405c96=_0x40a6d6(0x483);_0x3ec4d8['CollaborationImageIoService']=class{constructor(_0x3e5b91,_0xc44545,_0x393923){var _0x3fb10e=_0x40a6d6;_0x3afa5d(this,'_waitCount',0x0),_0x3afa5d(this,_0x3fb10e(0x2bb),new _0x2f7ab3[(_0x3fb10e(0x1c6))]()),_0x3afa5d(this,'change$',this[_0x3fb10e(0x2bb)]),_0x3afa5d(this,_0x3fb10e(0x37b),new Map()),(this[_0x3fb10e(0x302)]=_0x3e5b91,this[_0x3fb10e(0x3c2)]=_0xc44545,this[_0x3fb10e(0x18d)]=_0x393923);}[_0x40a6d6(0x1fa)](_0x47ffe2){var _0x4f00dd=_0x40a6d6;this[_0x4f00dd(0x419)]=_0x47ffe2,this[_0x4f00dd(0x2bb)]['next'](_0x47ffe2);}[_0x40a6d6(0x256)](_0x110de3,_0x412818){var _0x341043=_0x40a6d6;if(_0x412818===_0x4c68de[_0x341043(0x26a)]['BASE64']){const _0x34103b=new Image();return _0x34103b[_0x341043(0x199)]=_0x110de3,_0x34103b;}return this[_0x341043(0x37b)][_0x341043(0x4b1)](_0x110de3);}['addImageSourceCache'](_0x3b5f3a,_0x4daad0,_0x3c3c71){var _0x15d470=_0x40a6d6;_0x4daad0===_0x4c68de['ImageSourceType'][_0x15d470(0x38e)]||_0x3c3c71==null||this[_0x15d470(0x37b)][_0x15d470(0x315)](_0x3b5f3a,_0x3c3c71);}async[_0x40a6d6(0x357)](_0x26e1fb){var _0x163779=_0x40a6d6;try{const _0x782d6c=this[_0x163779(0x298)](this[_0x163779(0x472)](),''+_0x26e1fb),_0x5972dc=(await this[_0x163779(0x302)][_0x163779(0x4b1)](_0x782d6c))[_0x163779(0x2cd)];if(_0x5972dc[_0x163779(0x232)]&&_0x5972dc[_0x163779(0x232)][_0x163779(0x479)]===_0x171a69['OK']){const _0x33ab26=new URL(_0x5972dc['url'],this[_0x163779(0x3b6)]())['toString']();return Promise[_0x163779(0x35f)](_0x33ab26);}return Promise[_0x163779(0x426)](_0x5972dc[_0x163779(0x232)]);}catch(_0x1b6780){return Promise[_0x163779(0x426)](_0x1b6780);}}async['saveImage'](_0x1c6580){var _0x464bd5=_0x40a6d6;let _0xf09b26='';if(!_0x73cd4f[_0x464bd5(0x37a)](_0x1c6580[_0x464bd5(0x494)]))return this['_decreaseWaiting'](),Promise[_0x464bd5(0x426)](new Error(_0x4c68de[_0x464bd5(0x257)][_0x464bd5(0x36f)]));if(_0x1c6580[_0x464bd5(0x229)]>_0x5736f6)return this[_0x464bd5(0x206)](),Promise[_0x464bd5(0x426)](new Error(_0x4c68de[_0x464bd5(0x257)][_0x464bd5(0x1a6)]));try{const _0x18a8b7=new FormData();_0x18a8b7[_0x464bd5(0x4c2)](_0x464bd5(0x3c6),_0x1c6580);const _0x5d5bf8=this[_0x464bd5(0x18d)][_0x464bd5(0x1ca)](),_0x2c0695=_0x5d5bf8==null?void 0x0:_0x5d5bf8[_0x464bd5(0x38d)]();if(!_0x2c0695)throw new Error(_0x464bd5(0x2ee));const _0x2690be=this[_0x464bd5(0x3b0)]()+_0x464bd5(0x1bb)+_0x1c6580[_0x464bd5(0x229)][_0x464bd5(0x38b)]()+'&source='+_0x1494bd['UnitEmbedded']+_0x464bd5(0x342)+encodeURIComponent(_0x2c0695),_0x50ffd0=await(await fetch(_0x2690be,{'method':'POST','body':_0x18a8b7}))[_0x464bd5(0x4c7)]();if(typeof _0x50ffd0[_0x464bd5(0x18e)]!=_0x464bd5(0x46d))return this[_0x464bd5(0x206)](),Promise[_0x464bd5(0x426)](new Error(_0x4c68de[_0x464bd5(0x257)][_0x464bd5(0x3df)]));_0xf09b26=_0x50ffd0[_0x464bd5(0x18e)];}catch{return this[_0x464bd5(0x206)](),Promise[_0x464bd5(0x426)](new Error(_0x4c68de[_0x464bd5(0x257)][_0x464bd5(0x3df)]));}return new Promise((_0x523842,_0x41ff95)=>{var _0x17ff23=_0x464bd5;const _0x439d14=new FileReader();_0x439d14['readAsDataURL'](_0x1c6580),_0x439d14[_0x17ff23(0x2b2)]=_0x127248=>{var _0x25e74d=_0x17ff23,_0x473610;const _0x42e9ff=(_0x473610=_0x127248[_0x25e74d(0x23e)])==null?void 0x0:_0x473610[_0x25e74d(0x476)];if(_0x42e9ff==null){this[_0x25e74d(0x206)](),_0x41ff95(new Error(_0x4c68de[_0x25e74d(0x257)][_0x25e74d(0x3df)]));return;}const _0x234d05=_0x26dfb1[_0x25e74d(0x333)][_0x25e74d(0x2c6)](0x6);_0x523842({'imageId':_0x234d05,'imageSourceType':_0x4c68de[_0x25e74d(0x26a)][_0x25e74d(0x3a8)],'source':_0xf09b26,'base64Cache':_0x42e9ff,'status':_0x4c68de[_0x25e74d(0x257)][_0x25e74d(0x1b1)]}),this[_0x25e74d(0x206)]();};});}[_0x40a6d6(0x3b0)](){var _0x27fa1e=_0x40a6d6,_0x1eabe2,_0x4490a9;const _0x3827a3=this['_configService'][_0x27fa1e(0x343)](_0x42f3d2),_0x96266e=this['_configService']['getConfig'](_0x364030);return(_0x4490a9=(_0x1eabe2=_0x96266e==null?void 0x0:_0x96266e[_0x27fa1e(0x3cf)])!=null?_0x1eabe2:_0x3827a3)!=null?_0x4490a9:_0x22e2a3;}[_0x40a6d6(0x472)](){var _0x3128e9=_0x40a6d6,_0x25b514,_0x375343;const _0x240cb4=this[_0x3128e9(0x3c2)][_0x3128e9(0x343)](_0x34bba1),_0x1cf30a=this[_0x3128e9(0x3c2)][_0x3128e9(0x343)](_0x364030);return(_0x375343=(_0x25b514=_0x1cf30a==null?void 0x0:_0x1cf30a[_0x3128e9(0x2d4)])!=null?_0x25b514:_0x240cb4)!=null?_0x375343:_0x405c96;}[_0x40a6d6(0x3b6)](){var _0x5cda59=_0x40a6d6,_0x14fd66;const _0x4be064=this[_0x5cda59(0x3c2)][_0x5cda59(0x343)](_0x364030);return(_0x14fd66=_0x4be064==null?void 0x0:_0x4be064[_0x5cda59(0x29a)])!=null?_0x14fd66:location['origin'];}[_0x40a6d6(0x298)](_0x27b89e,_0xb83971){var _0x49dafc=_0x40a6d6;return _0x27b89e['replace'](_0x49dafc(0x3f6),_0xb83971);}[_0x40a6d6(0x206)](){var _0x2f0d80=_0x40a6d6;this[_0x2f0d80(0x419)]-=0x1,this[_0x2f0d80(0x2bb)][_0x2f0d80(0x2ae)](this[_0x2f0d80(0x419)]);}},_0x3ec4d8[_0x40a6d6(0x2df)]=_0x210382([_0x3f299e(0x0,_0x26dfb1[_0x40a6d6(0x1b7)](_0x2df72f['HTTPService'])),_0x3f299e(0x1,_0x26dfb1[_0x40a6d6(0x3f7)]),_0x3f299e(0x2,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1['IUniverInstanceService']))],_0x3ec4d8['CollaborationImageIoService']);var _0x2ceebb=Object[_0x40a6d6(0x2e4)],_0x44c8c3=Object['getOwnPropertyDescriptor'],_0x576cad=(_0x1d9d34,_0x5a1429,_0x1102e5,_0x53ef5e)=>{var _0x2fad5e=_0x40a6d6;for(var _0x4a975c=_0x53ef5e>0x1?void 0x0:_0x53ef5e?_0x44c8c3(_0x5a1429,_0x1102e5):_0x5a1429,_0x52e7fa=_0x1d9d34[_0x2fad5e(0x2e5)]-0x1,_0x153f00;_0x52e7fa>=0x0;_0x52e7fa--)(_0x153f00=_0x1d9d34[_0x52e7fa])&&(_0x4a975c=(_0x53ef5e?_0x153f00(_0x5a1429,_0x1102e5,_0x4a975c):_0x153f00(_0x4a975c))||_0x4a975c);return _0x53ef5e&&_0x4a975c&&_0x2ceebb(_0x5a1429,_0x1102e5,_0x4a975c),_0x4a975c;},_0x49d70f=(_0x11c72a,_0x530c78)=>(_0x29d84e,_0x204c1f)=>_0x530c78(_0x29d84e,_0x204c1f,_0x11c72a);const _0x3628f0=_0x40a6d6(0x2da);_0x3ec4d8[_0x40a6d6(0x219)]=class{constructor(_0x36bf3c,_0x142483){this['_configService']=_0x36bf3c,this['_HTTPService']=_0x142483;}[_0x40a6d6(0x456)](){var _0x16c8a7=_0x40a6d6,_0xc6391f,_0x3a25b0;const _0x3a4bc3=this[_0x16c8a7(0x3c2)][_0x16c8a7(0x343)](_0x4f0e93),_0x4e9bb0=this['_configService'][_0x16c8a7(0x343)](_0x364030);return(_0x3a25b0=(_0xc6391f=_0x4e9bb0==null?void 0x0:_0x4e9bb0[_0x16c8a7(0x3eb)])!=null?_0xc6391f:_0x3a4bc3)!=null?_0x3a25b0:_0x3628f0;}async[_0x40a6d6(0x2c9)](_0x4b06cf){var _0x379617=_0x40a6d6;const _0x1565c9=this[_0x379617(0x456)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x379617(0x48a)][_0x379617(0x4b1)](_0x1565c9,{'params':{'objectID':_0x4b06cf[_0x379617(0x227)],'unitID':_0x4b06cf[_0x379617(0x227)]}}))[_0x379617(0x2cd)][_0x379617(0x167)][_0x379617(0x2d6)](_0x39003a=>({'objectId':_0x39003a['id'],'name':_0x39003a[_0x379617(0x360)]['name'],'metadata':{'icon':_0x39003a[_0x379617(0x360)][_0x379617(0x384)]},'label':_0x39003a[_0x379617(0x360)][_0x379617(0x2a8)],'objectType':_0x26dfb1['MentionType'][_0x379617(0x37e)]})),'metadata':{},'type':_0x26dfb1[_0x379617(0x2a9)]['PERSON']}]};}},_0x3ec4d8[_0x40a6d6(0x219)]=_0x576cad([_0x49d70f(0x0,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x3f7)])),_0x49d70f(0x1,_0x26dfb1[_0x40a6d6(0x1b7)](_0x2df72f[_0x40a6d6(0x1e3)]))],_0x3ec4d8['MentionIoHttpService']);var _0x2a7879=Object[_0x40a6d6(0x2e4)],_0x27a836=Object[_0x40a6d6(0x329)],_0x4741a9=(_0x56acc8,_0x34a276,_0x3b7cfc,_0x26442d)=>{var _0x48f571=_0x40a6d6;for(var _0x583f46=_0x26442d>0x1?void 0x0:_0x26442d?_0x27a836(_0x34a276,_0x3b7cfc):_0x34a276,_0x4ca7cf=_0x56acc8[_0x48f571(0x2e5)]-0x1,_0x171e89;_0x4ca7cf>=0x0;_0x4ca7cf--)(_0x171e89=_0x56acc8[_0x4ca7cf])&&(_0x583f46=(_0x26442d?_0x171e89(_0x34a276,_0x3b7cfc,_0x583f46):_0x171e89(_0x583f46))||_0x583f46);return _0x26442d&&_0x583f46&&_0x2a7879(_0x34a276,_0x3b7cfc,_0x583f46),_0x583f46;},_0x3f27ca=(_0x192472,_0x561caa)=>(_0x3f2715,_0xf70fad)=>_0x561caa(_0x3f2715,_0xf70fad,_0x192472);let _0x9c9c46=class extends _0x26dfb1['RxDisposable']{constructor(_0x5df0de,_0x321e1b,_0x59b47d,_0x1ac497,_0x426647,_0x8d1ad4,_0x17c5a3){var _0x408d5a=_0x40a6d6;super(),this['_injector']=_0x5df0de,this[_0x408d5a(0x18d)]=_0x321e1b,this[_0x408d5a(0x255)]=_0x59b47d,this[_0x408d5a(0x4d2)]=_0x1ac497,this[_0x408d5a(0x367)]=_0x426647,this['_authzIoService']=_0x8d1ad4,this[_0x408d5a(0x1cc)]=_0x17c5a3,this[_0x408d5a(0x3a1)](),this[_0x408d5a(0x4d0)]();}[_0x40a6d6(0x4d0)](){var _0x35bb96=_0x40a6d6;const _0x25617a=async _0x483cc4=>{var _0x5d41c1=_0xfa75;(await this[_0x5d41c1(0x4d2)][_0x5d41c1(0x215)](_0x483cc4))[_0x5d41c1(0x184)][_0x5d41c1(0x425)](_0x14cac3[_0x5d41c1(0x1b4)](_0x5601be=>_0x5601be[_0x5d41c1(0x3d0)]===_0x44b24e[_0x5d41c1(0x20e)]['SHOULD_CLOSE_CONN']),_0x14cac3[_0x5d41c1(0x49c)](this[_0x5d41c1(0x3e0)]))[_0x5d41c1(0x187)](_0x4e7404=>{var _0x4d207c=_0x5d41c1;const _0xd0eec0=_0x4e7404,{reason:_0x343f0a}=_0xd0eec0[_0x4d207c(0x231)];this[_0x4d207c(0x367)][_0x4d207c(0x4d1)]({'id':_0x104956[_0x4d207c(0x47f)],'data':_0x343f0a}),this['_permissionService']['updatePermissionPoint'](new _0x213744['WorkbookEditablePermission'](_0x483cc4)['id'],!0x1),this[_0x4d207c(0x4d2)]['closeSession'](_0x483cc4);});};_0x2f7ab3['merge'](this[_0x35bb96(0x18d)][_0x35bb96(0x3c1)](_0x26dfb1[_0x35bb96(0x379)][_0x35bb96(0x3af)]),this[_0x35bb96(0x18d)][_0x35bb96(0x3c1)](_0x26dfb1[_0x35bb96(0x379)]['UNIVER_DOC']))[_0x35bb96(0x425)](_0x14cac3[_0x35bb96(0x2d6)](_0xb94ecc=>_0xb94ecc[_0x35bb96(0x38d)]()),_0x14cac3[_0x35bb96(0x1b4)](_0x5788b9=>!_0x26dfb1['isInternalEditorID'](_0x5788b9)),_0x14cac3[_0x35bb96(0x49c)](this['dispose$']))[_0x35bb96(0x187)](_0x377d09=>{_0x25617a(_0x377d09);});}[_0x40a6d6(0x3a1)](){var _0x3cd6b4=_0x40a6d6;const _0x597ead=async _0x40b4df=>{var _0x1ea455=_0xfa75;(await this['_collaborationSessionService']['requireSession'](_0x40b4df))['event$']['pipe'](_0x14cac3[_0x1ea455(0x1b4)](_0x5478a9=>_0x5478a9[_0x1ea455(0x3d0)]===_0x44b24e[_0x1ea455(0x20e)][_0x1ea455(0x321)]),_0x14cac3[_0x1ea455(0x49c)](this[_0x1ea455(0x3e0)]))['subscribe'](_0x49a020=>{var _0x4dc174=_0x1ea455;const _0x5967a1=_0x49a020,{objectId:_0x4e02ee}=_0x5967a1['data'];_0x4e02ee===_0x40b4df?this[_0x4dc174(0x2ff)](_0x40b4df):this['refreshPermission'](_0x40b4df,_0x4e02ee);});};_0x2f7ab3[_0x3cd6b4(0x43b)](this[_0x3cd6b4(0x18d)][_0x3cd6b4(0x3c1)](_0x26dfb1[_0x3cd6b4(0x379)]['UNIVER_SHEET']),this[_0x3cd6b4(0x18d)][_0x3cd6b4(0x3c1)](_0x26dfb1['UniverInstanceType']['UNIVER_DOC']))['pipe'](_0x14cac3[_0x3cd6b4(0x2d6)](_0x43de6e=>_0x43de6e[_0x3cd6b4(0x38d)]()),_0x14cac3[_0x3cd6b4(0x1b4)](_0x3e8ed8=>!_0x26dfb1[_0x3cd6b4(0x4d7)](_0x3e8ed8)),_0x14cac3['takeUntil'](this[_0x3cd6b4(0x3e0)]))[_0x3cd6b4(0x187)](_0x239032=>{_0x597ead(_0x239032);});}async[_0x40a6d6(0x2ff)](_0x4c9f7d){var _0x3db059=_0x40a6d6,_0x4ae639;const _0x33d5a9=_0x4c9f7d||((_0x4ae639=this[_0x3db059(0x18d)][_0x3db059(0x4c5)](_0x26dfb1['UniverInstanceType']['UNIVER_SHEET']))==null?void 0x0:_0x4ae639['getUnitId']());_0x33d5a9&&this['_authzIoService'][_0x3db059(0x2cf)]({'objectID':_0x33d5a9,'objectType':_0x213744['UnitObject'][_0x3db059(0x3f4)],'unitID':_0x33d5a9,'actions':_0x213744[_0x3db059(0x33f)]})[_0x3db059(0x16d)](_0x572c81=>{var _0x590f88=_0x3db059;_0x213744[_0x590f88(0x2c0)]()[_0x590f88(0x434)](_0x46f81c=>{var _0x4b81c2=_0x590f88;const _0x4fb293=new _0x46f81c(_0x33d5a9),_0x3d6c96=_0x4fb293[_0x4b81c2(0x4df)],_0x51797e=_0x572c81[_0x4b81c2(0x478)](_0x109d4a=>_0x109d4a[_0x4b81c2(0x38c)]===_0x3d6c96);_0x51797e&&this[_0x4b81c2(0x255)][_0x4b81c2(0x1f0)](_0x4fb293['id'],_0x51797e[_0x4b81c2(0x2cf)]);});});}[_0x40a6d6(0x188)](_0x1b867e,_0x1021f7){var _0x5205b7=_0x40a6d6;const _0x12c038=this[_0x5205b7(0x262)][_0x5205b7(0x4b1)](_0x213744[_0x5205b7(0x152)]),_0x388476=_0x12c038[_0x5205b7(0x1bc)](_0x1b867e,_0x1021f7);let _0x5c89f5=!0x1;if(_0x388476){const [_0x1044a8,_0x57ad0a]=_0x388476;this['_authzIoService'][_0x5205b7(0x2cf)]({'objectID':_0x1021f7,'unitID':_0x1b867e,'objectType':_0x213744[_0x5205b7(0x2b5)][_0x5205b7(0x3f3)],'actions':_0x213744[_0x5205b7(0x1ac)]})[_0x5205b7(0x16d)](_0x117ef3=>{var _0x1bc835=_0x5205b7;let _0x1f46c7='';_0x213744[_0x1bc835(0x24d)]()['forEach'](_0x16d5d1=>{var _0x284aef=_0x1bc835,_0x56638d;const _0x89ed95=new _0x16d5d1(_0x1b867e,_0x57ad0a),_0x2a615c=_0x89ed95[_0x284aef(0x4df)],_0x36ca26=_0x117ef3[_0x284aef(0x478)](_0x2955f6=>_0x2955f6[_0x284aef(0x38c)]===_0x2a615c);_0x36ca26&&(((_0x56638d=this['_permissionService'][_0x284aef(0x3d3)](_0x89ed95['id']))==null?void 0x0:_0x56638d[_0x284aef(0x1d5)])!==_0x36ca26[_0x284aef(0x2cf)]&&(_0x5c89f5=!0x0),this[_0x284aef(0x255)]['updatePermissionPoint'](_0x89ed95['id'],_0x36ca26[_0x284aef(0x2cf)]),_0x1f46c7+=_0x36ca26[_0x284aef(0x38c)]+'_'+_0x36ca26[_0x284aef(0x2cf)]);}),_0x12c038['ruleRefresh'](_0x1021f7+'_'+_0x1f46c7),_0x5c89f5&&this[_0x1bc835(0x1cc)][_0x1bc835(0x481)](_0x1b867e);});}const _0xe8dbbb=this[_0x5205b7(0x262)][_0x5205b7(0x4b1)](_0x213744['WorksheetProtectionPointModel'])[_0x5205b7(0x1bc)](_0x1b867e,_0x1021f7);if(_0xe8dbbb){const [_0x1ae9b8,_0x7c9356]=_0xe8dbbb;this[_0x5205b7(0x26d)][_0x5205b7(0x2cf)]({'objectID':_0x1021f7,'unitID':_0x1b867e,'objectType':_0x213744['UnitObject']['Worksheet'],'actions':_0x213744[_0x5205b7(0x41a)]})['then'](_0x29c27b=>{var _0x19ca79=_0x5205b7;_0x213744[_0x19ca79(0x386)]()[_0x19ca79(0x434)](_0x369fc1=>{var _0x42fb38=_0x19ca79,_0x158940;const _0x2f83b9=new _0x369fc1(_0x1b867e,_0x7c9356),_0x3d9c01=_0x2f83b9['subType'],_0x51648a=_0x29c27b[_0x42fb38(0x478)](_0x24ebdc=>_0x24ebdc[_0x42fb38(0x38c)]===_0x3d9c01);_0x51648a&&(((_0x158940=this['_permissionService'][_0x42fb38(0x3d3)](_0x2f83b9['id']))==null?void 0x0:_0x158940[_0x42fb38(0x1d5)])!==_0x51648a[_0x42fb38(0x2cf)]&&(_0x5c89f5=!0x0),this[_0x42fb38(0x255)][_0x42fb38(0x1f0)](_0x2f83b9['id'],_0x51648a[_0x42fb38(0x2cf)]));}),_0x5c89f5&&this[_0x19ca79(0x1cc)][_0x19ca79(0x481)](_0x1b867e);});}const _0x1bb1c3=this['_injector'][_0x5205b7(0x4b1)](_0x213744[_0x5205b7(0x46f)]),_0x2fdedb=_0x1bb1c3[_0x5205b7(0x1bc)](_0x1b867e,_0x1021f7);if(_0x2fdedb){const [_0x4b8730,_0x42b6df]=_0x2fdedb;this[_0x5205b7(0x26d)][_0x5205b7(0x2cf)]({'objectID':_0x1021f7,'unitID':_0x1b867e,'objectType':_0x213744[_0x5205b7(0x2b5)][_0x5205b7(0x47d)],'actions':_0x213744['baseProtectionActions']})[_0x5205b7(0x16d)](_0x1934d0=>{var _0x8d1e73=_0x5205b7;let _0x325e27='';_0x213744['getAllRangePermissionPoint']()[_0x8d1e73(0x434)](_0x5dd34a=>{var _0xb13323=_0x8d1e73,_0x2c47c4;const _0x4ed964=new _0x5dd34a(_0x1b867e,_0x42b6df,_0x1021f7),_0x39ae9b=_0x4ed964[_0xb13323(0x4df)],_0x267849=_0x1934d0['find'](_0x232775=>_0x232775[_0xb13323(0x38c)]===_0x39ae9b);_0x267849&&(((_0x2c47c4=this[_0xb13323(0x255)][_0xb13323(0x3d3)](_0x4ed964['id']))==null?void 0x0:_0x2c47c4['value'])!==_0x267849[_0xb13323(0x2cf)]&&(_0x5c89f5=!0x0),this['_permissionService'][_0xb13323(0x1f0)](_0x4ed964['id'],_0x267849[_0xb13323(0x2cf)]),_0x325e27+=_0x267849[_0xb13323(0x38c)]+'_'+_0x267849[_0xb13323(0x2cf)]);}),_0x1bb1c3[_0x8d1e73(0x437)](_0x1021f7+'_'+_0x325e27),_0x5c89f5&&this[_0x8d1e73(0x1cc)][_0x8d1e73(0x481)](_0x1b867e);});}}};_0x9c9c46=_0x4741a9([_0x3f27ca(0x0,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1[_0x40a6d6(0x411)])),_0x3f27ca(0x1,_0x26dfb1[_0x40a6d6(0x2d0)]),_0x3f27ca(0x2,_0x26dfb1[_0x40a6d6(0x189)]),_0x3f27ca(0x3,_0x26dfb1[_0x40a6d6(0x1b7)](_0x3ec4d8[_0x40a6d6(0x326)])),_0x3f27ca(0x4,_0x26dfb1[_0x40a6d6(0x1b7)](_0x548944)),_0x3f27ca(0x5,_0x26dfb1[_0x40a6d6(0x30a)]),_0x3f27ca(0x6,_0x26dfb1[_0x40a6d6(0x2ac)])],_0x9c9c46);var _0x30491d=Object[_0x40a6d6(0x2e4)],_0x3ec9a4=Object['getOwnPropertyDescriptor'],_0x30a00f=(_0x45ff1d,_0x166ea6,_0x49ec84,_0x257136)=>{var _0x277317=_0x40a6d6;for(var _0x39bcb0=_0x257136>0x1?void 0x0:_0x257136?_0x3ec9a4(_0x166ea6,_0x49ec84):_0x166ea6,_0x582899=_0x45ff1d[_0x277317(0x2e5)]-0x1,_0x573b74;_0x582899>=0x0;_0x582899--)(_0x573b74=_0x45ff1d[_0x582899])&&(_0x39bcb0=(_0x257136?_0x573b74(_0x166ea6,_0x49ec84,_0x39bcb0):_0x573b74(_0x39bcb0))||_0x39bcb0);return _0x257136&&_0x39bcb0&&_0x30491d(_0x166ea6,_0x49ec84,_0x39bcb0),_0x39bcb0;},_0x4abb3f=(_0x1b51b0,_0x38f975)=>(_0x12498d,_0x1aabd5)=>_0x38f975(_0x12498d,_0x1aabd5,_0x1b51b0);_0x3ec4d8[_0x40a6d6(0x433)]=class{constructor(_0x2dfa06,_0x49c15f){var _0x42eaa3=_0x40a6d6;this[_0x42eaa3(0x3c2)]=_0x2dfa06,this[_0x42eaa3(0x302)]=_0x49c15f;}async[_0x40a6d6(0x250)](_0xb7d7b,_0x1ec502){var _0x5605ca=_0x40a6d6,_0x37d58b;const {unitID:_0x9c6050,type:_0x27391b,revision:_0x326c8f=0x0}=_0x1ec502,_0x1dc2a1=this[_0x5605ca(0x209)]()+'/'+_0x27391b+_0x5605ca(0x383)+_0x9c6050+_0x5605ca(0x2f0)+_0x326c8f,_0x1dce4f=(await this['_httpService'][_0x5605ca(0x4b1)](_0x1dc2a1))[_0x5605ca(0x2cd)],_0x1bd5cd=(_0x37d58b=_0x1dce4f[_0x5605ca(0x273)])==null?void 0x0:_0x37d58b['workbook'];if(_0x1bd5cd){const _0x56e1c1=_0x1bd5cd==null?void 0x0:_0x1bd5cd[_0x5605ca(0x413)],_0x327d96=_0x44b24e[_0x5605ca(0x366)][_0x5605ca(0x17d)](_0x44b24e[_0x5605ca(0x499)](_0x56e1c1));_0x1bd5cd['originalMeta']=_0x327d96,Object[_0x5605ca(0x27e)](_0x1bd5cd['sheets'])[_0x5605ca(0x434)](([,_0x26925f])=>{var _0xd69be3=_0x5605ca;const _0x482b7b=_0x26925f[_0xd69be3(0x413)],_0x261e19=_0x44b24e[_0xd69be3(0x366)]['encode'](_0x44b24e['b64DecodeUnicode'](_0x482b7b));_0x26925f[_0xd69be3(0x413)]=_0x261e19;});}return _0x1dce4f;}async[_0x40a6d6(0x348)](_0x1cdf33,_0x3b089e){var _0x16f7d4=_0x40a6d6;const {unitID:_0x551586,type:_0x135057,blockID:_0x4bd36c}=_0x3b089e,_0x2acbdb=this[_0x16f7d4(0x3d5)]()+'/'+_0x135057+_0x16f7d4(0x383)+_0x551586+'/block/'+_0x4bd36c;return(await this[_0x16f7d4(0x302)][_0x16f7d4(0x4b1)](_0x2acbdb))[_0x16f7d4(0x2cd)];}async[_0x40a6d6(0x264)](_0x2a54c5,_0x286971){var _0x2e2bed=_0x40a6d6;const {unitID:_0x3b2568,type:_0x3947e4,blockID:_0xf9047f}=_0x286971,_0x122218=this['_getAPIPrefix']()+_0x2e2bed(0x4aa)+_0x3947e4+_0x2e2bed(0x383)+_0x3b2568+'/block/'+_0xf9047f;return(await this['_httpService'][_0x2e2bed(0x4b1)](_0x122218))['body'];}async['fetchMissingChangesets'](_0x27d877,_0x4e3c5d){var _0x5d9276=_0x40a6d6;const {unitID:_0x47d35a,type:_0xee9ee8,from:_0x22ce3c,to:_0xf95138}=_0x4e3c5d,_0x1a5fe3=this[_0x5d9276(0x3d5)]()+'/'+_0xee9ee8+_0x5d9276(0x383)+_0x47d35a+_0x5d9276(0x35a)+_0x22ce3c+_0x5d9276(0x27d)+_0xf95138;return(await this[_0x5d9276(0x302)][_0x5d9276(0x4b1)](_0x1a5fe3))['body'];}['getSnapshotAPIPath'](){var _0x120407=_0x40a6d6,_0x26d8f7;return(_0x26d8f7=this[_0x120407(0x3c2)][_0x120407(0x343)](_0x1e4364))!=null?_0x26d8f7:this[_0x120407(0x3d5)]();}[_0x40a6d6(0x3d5)](){var _0xefafa6=_0x40a6d6,_0x3b3b29,_0x23d8a0;const _0x16c31f=this[_0xefafa6(0x3c2)][_0xefafa6(0x343)](_0xcd7554),_0x50c219=this[_0xefafa6(0x3c2)][_0xefafa6(0x343)](_0x364030);return(_0x23d8a0=(_0x3b3b29=_0x50c219==null?void 0x0:_0x50c219[_0xefafa6(0x3be)])!=null?_0x3b3b29:_0x16c31f)!=null?_0x23d8a0:_0x1c15f7;}async[_0x40a6d6(0x336)](_0x21bbee,_0x33e0b5){var _0x2f1772=_0x40a6d6;const _0x5f0bd6='/universer-api/snapshot/'+_0x33e0b5[_0x2f1772(0x494)]+_0x2f1772(0x383)+_0x33e0b5[_0x2f1772(0x469)]+_0x2f1772(0x1e9);return(await this[_0x2f1772(0x302)][_0x2f1772(0x4b1)](_0x5f0bd6,{'params':{'resourceId':JSON[_0x2f1772(0x269)](_0x33e0b5[_0x2f1772(0x1c5)])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x40a6d6(0x4dc)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x40a6d6(0x236)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x3fc1b7=_0x40a6d6;throw new Error(_0x3fc1b7(0x261));}},_0x3ec4d8[_0x40a6d6(0x433)]=_0x30a00f([_0x4abb3f(0x0,_0x26dfb1[_0x40a6d6(0x3f7)]),_0x4abb3f(0x1,_0x26dfb1['Inject'](_0x2df72f[_0x40a6d6(0x1e3)]))],_0x3ec4d8[_0x40a6d6(0x433)]);var _0x1e335d=Object[_0x40a6d6(0x2e4)],_0x539d7c=Object[_0x40a6d6(0x329)],_0x2da70a=(_0x31bcad,_0x36d47e,_0x3d414c,_0xafb649)=>{for(var _0x47401c=_0xafb649>0x1?void 0x0:_0xafb649?_0x539d7c(_0x36d47e,_0x3d414c):_0x36d47e,_0x179583=_0x31bcad['length']-0x1,_0x55459d;_0x179583>=0x0;_0x179583--)(_0x55459d=_0x31bcad[_0x179583])&&(_0x47401c=(_0xafb649?_0x55459d(_0x36d47e,_0x3d414c,_0x47401c):_0x55459d(_0x47401c))||_0x47401c);return _0xafb649&&_0x47401c&&_0x1e335d(_0x36d47e,_0x3d414c,_0x47401c),_0x47401c;},_0xe206d9=(_0x43b536,_0x57617d)=>(_0x92c2b7,_0x10565b)=>_0x57617d(_0x92c2b7,_0x10565b,_0x43b536);_0x3ec4d8['CollaborativeUndoRedoService']=class extends _0x26dfb1[_0x40a6d6(0x44a)]{constructor(_0x15fcfa,_0x411428,_0x3d74ab,_0x2aa8e7,_0x3df620){super(_0x15fcfa,_0x411428,_0x3d74ab),this['_transformService']=_0x2aa8e7,this['_logService']=_0x3df620;}['transformUndoRedo'](_0x2b420a,_0x319566){var _0x3071ac=_0x40a6d6;const _0x374f71=this[_0x3071ac(0x36e)](_0x2b420a);if(_0x374f71)try{const _0x3856d1=this[_0x3071ac(0x4d5)](_0x374f71,_0x319566);this[_0x3071ac(0x16e)](_0x2b420a,_0x3856d1);}catch(_0x139555){this[_0x3071ac(0x2bf)][_0x3071ac(0x232)](_0x3071ac(0x248),_0x139555),this['_clearUndo'](_0x2b420a);}const _0x10dac0=this[_0x3071ac(0x496)](_0x2b420a);if(_0x10dac0)try{const _0x5b5376=this[_0x3071ac(0x4d5)](_0x10dac0,_0x319566);this[_0x3071ac(0x332)](_0x2b420a,_0x5b5376);}catch(_0x1adffd){this[_0x3071ac(0x2bf)][_0x3071ac(0x232)](_0x1adffd),this[_0x3071ac(0x492)](_0x2b420a);}}[_0x40a6d6(0x3c5)](_0x32ec1b){var _0x42c793=_0x40a6d6;const _0x4c9432=this[_0x42c793(0x36e)](_0x32ec1b);_0x4c9432&&(_0x4c9432[_0x42c793(0x2e5)]=0x0,this['_updateStatus']());}[_0x40a6d6(0x492)](_0x2e58d){var _0x5236a6=_0x40a6d6;const _0x10da60=this['_getRedoStack'](_0x2e58d);_0x10da60&&(_0x10da60[_0x5236a6(0x2e5)]=0x0,this['_updateStatus']());}[_0x40a6d6(0x16e)](_0x10601b,_0x276e15){var _0x5f1b47=_0x40a6d6;this[_0x5f1b47(0x362)][_0x5f1b47(0x315)](_0x10601b,_0x276e15),this[_0x5f1b47(0x2de)]();}[_0x40a6d6(0x332)](_0x4235bd,_0x3b7ac3){var _0x283c4a=_0x40a6d6;this[_0x283c4a(0x2f1)][_0x283c4a(0x315)](_0x4235bd,_0x3b7ac3),this[_0x283c4a(0x2de)]();}[_0x40a6d6(0x4d5)](_0x4adac6,_0x3940d1){var _0x537740=_0x40a6d6;const _0xd3a8a5=[];let _0x4d6a27=_0x3940d1,_0x5daccb=_0x3940d1;for(let _0x28b793=_0x4adac6[_0x537740(0x2e5)]-0x1;_0x28b793>=0x0;_0x28b793--){const {unitID:_0x3e4086,undoMutations:_0xff90ee,redoMutations:_0x104d24}=_0x4adac6[_0x28b793],_0x3a4a3d=this[_0x537740(0x15d)][_0x537740(0x378)](_0x4d6a27,_0xff90ee),_0xace3ab=this['_transformService'][_0x537740(0x378)](_0x5daccb,_0x104d24);if(_0x44b24e[_0x537740(0x1f1)](_0x3a4a3d)||_0x44b24e[_0x537740(0x1f1)](_0xace3ab)){this[_0x537740(0x2bf)][_0x537740(0x232)](_0x537740(0x248),'transformStack\x20failed!',_0x3a4a3d,_0xace3ab);break;}_0x4d6a27=_0x3a4a3d[_0x537740(0x44b)],_0x5daccb=_0xace3ab[_0x537740(0x44b)],_0xd3a8a5[_0x537740(0x2a5)]({'unitID':_0x3e4086,'undoMutations':_0x3a4a3d['m2Prime'],'redoMutations':_0xace3ab['m2Prime']});}return _0xd3a8a5[_0x537740(0x495)]();}},_0x3ec4d8['CollaborativeUndoRedoService']=_0x2da70a([_0xe206d9(0x0,_0x26dfb1[_0x40a6d6(0x2d0)]),_0xe206d9(0x1,_0x26dfb1[_0x40a6d6(0x45d)]),_0xe206d9(0x2,_0x26dfb1[_0x40a6d6(0x1d7)]),_0xe206d9(0x3,_0x44b24e['ITransformService']),_0xe206d9(0x4,_0x26dfb1[_0x40a6d6(0x38a)])],_0x3ec4d8[_0x40a6d6(0x306)]);var _0x317bbb=Object['defineProperty'],_0x5b4282=Object['getOwnPropertyDescriptor'],_0x22dcc4=(_0x3b967c,_0x1669ed,_0x2496dc)=>_0x1669ed in _0x3b967c?_0x317bbb(_0x3b967c,_0x1669ed,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2496dc}):_0x3b967c[_0x1669ed]=_0x2496dc,_0x5b2b8d=(_0x43bf38,_0x4b86d7,_0x42f4a4,_0x42f505)=>{for(var _0x33b88d=_0x42f505>0x1?void 0x0:_0x42f505?_0x5b4282(_0x4b86d7,_0x42f4a4):_0x4b86d7,_0x281d7a=_0x43bf38['length']-0x1,_0x3db9b0;_0x281d7a>=0x0;_0x281d7a--)(_0x3db9b0=_0x43bf38[_0x281d7a])&&(_0x33b88d=(_0x42f505?_0x3db9b0(_0x4b86d7,_0x42f4a4,_0x33b88d):_0x3db9b0(_0x33b88d))||_0x33b88d);return _0x42f505&&_0x33b88d&&_0x317bbb(_0x4b86d7,_0x42f4a4,_0x33b88d),_0x33b88d;},_0xb30bfc=(_0x235554,_0xad0013)=>(_0x417f75,_0x4a315b)=>_0xad0013(_0x417f75,_0x4a315b,_0x235554),_0x1e59b3=(_0x77b16f,_0x4b87e8,_0x22fa07)=>_0x22dcc4(_0x77b16f,_0x4b87e8+'',_0x22fa07);const _0x3a8e0f=_0x40a6d6(0x3e9);_0x3ec4d8[_0x40a6d6(0x396)]=class extends _0x26dfb1[_0x40a6d6(0x40e)]{constructor(_0x2d4f35=_0x546c6d,_0x9122c4,_0x106994,_0x12be7f){var _0x6398dc=_0x40a6d6;super(),this['_config']=_0x2d4f35,this['_logService']=_0x9122c4,this[_0x6398dc(0x262)]=_0x106994,this[_0x6398dc(0x3c2)]=_0x12be7f;const {..._0x2bcb36}=this[_0x6398dc(0x2f6)];this[_0x6398dc(0x3c2)]['setConfig'](_0x364030,_0x2bcb36);}[_0x40a6d6(0x4b0)](){var _0x305015=_0x40a6d6;this['_registerDependencies'](),this[_0x305015(0x166)]();}[_0x40a6d6(0x474)](){var _0x21b121=_0x40a6d6,_0x3928bb,_0x12476b,_0x43f593,_0x4103b0;this[_0x21b121(0x262)][_0x21b121(0x217)](_0x26dfb1[_0x21b121(0x2ac)])&&this[_0x21b121(0x2bf)][_0x21b121(0x232)]('[UniverCollaborationClientPlugin]',_0x21b121(0x2ef));const _0x1480f2=_0x26dfb1['mergeOverrideWithDependencies']([[_0x26dfb1['IUndoRedoService'],{'useClass':_0x3ec4d8[_0x21b121(0x306)]}],[_0x3ec4d8[_0x21b121(0x326)]],[_0x3ec4d8[_0x21b121(0x486)]],[_0x3ec4d8['SheetTransformSelectionsService']],[_0x6585c0],[_0x407f3a],[_0x3c09bd],[_0x9c9c46],[_0x548944],[_0x3ec4d8[_0x21b121(0x30e)]],[_0x4edb37,{'useClass':(_0x12476b=(_0x3928bb=this['_config'])==null?void 0x0:_0x3928bb[_0x21b121(0x27b)])!=null?_0x12476b:_0x3ec4d8['CollaborationSocketService']}],[_0x44b24e[_0x21b121(0x454)],{'useClass':_0x3ec4d8['SnapshotServerOverHTTPService']}],[_0x26dfb1['IAuthzIoService'],{'useClass':_0x3ec4d8[_0x21b121(0x381)]}],[_0x4c68de[_0x21b121(0x1f5)],{'useClass':_0x3ec4d8[_0x21b121(0x2df)]}],[_0x26dfb1[_0x21b121(0x22a)],{'useClass':_0x3ec4d8[_0x21b121(0x219)]}],[_0x3ec4d8[_0x21b121(0x477)]],[_0x53bc3f]],(_0x43f593=this['_config'])==null?void 0x0:_0x43f593[_0x21b121(0x30d)]);if(!((_0x4103b0=this[_0x21b121(0x2f6)])!=null&&_0x4103b0[_0x21b121(0x284)])){const _0x28efe3=_0x1480f2['findIndex'](([_0x35318e])=>_0x35318e===_0x4480a0);_0x28efe3!==-0x1&&_0x1480f2[_0x21b121(0x314)](_0x28efe3,0x1);}_0x26dfb1[_0x21b121(0x3c0)](this[_0x21b121(0x262)],_0x1480f2);}[_0x40a6d6(0x166)](){var _0x544c08=_0x40a6d6,_0x4a5987,_0x3e4133,_0x50ad03;this[_0x544c08(0x262)][_0x544c08(0x4b1)](_0x2df72f[_0x544c08(0x1e3)])[_0x544c08(0x26e)]({'priority':0x14,'interceptor':_0x2df72f['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x4a5987=this[_0x544c08(0x2f6)])!=null&&_0x4a5987[_0x544c08(0x356)]||(_0x3e4133=this[_0x544c08(0x262)][_0x544c08(0x4b1)](_0x56036f,_0x26dfb1['Quantity'][_0x544c08(0x480)]))==null||_0x3e4133[_0x544c08(0x1f2)](),(_0x50ad03=this['_config'])!=null&&_0x50ad03[_0x544c08(0x1ec)]&&_0x26dfb1[_0x544c08(0x263)](this[_0x544c08(0x262)],[[_0x6585c0]]),_0x26dfb1[_0x544c08(0x263)](this[_0x544c08(0x262)],[[_0x407f3a],[_0x3ec4d8['CollaborationController']],[_0x9c9c46]]);}},_0x1e59b3(_0x3ec4d8[_0x40a6d6(0x396)],_0x40a6d6(0x28e),_0x3a8e0f),_0x3ec4d8[_0x40a6d6(0x396)]=_0x5b2b8d([_0x26dfb1[_0x40a6d6(0x42e)](_0x44b24e[_0x40a6d6(0x1df)],_0x213744[_0x40a6d6(0x1b6)],_0x2df72f['UniverNetworkPlugin']),_0xb30bfc(0x1,_0x26dfb1[_0x40a6d6(0x38a)]),_0xb30bfc(0x2,_0x26dfb1[_0x40a6d6(0x1b7)](_0x26dfb1['Injector'])),_0xb30bfc(0x3,_0x26dfb1[_0x40a6d6(0x3f7)])],_0x3ec4d8[_0x40a6d6(0x396)]),_0x3ec4d8['AUTHZ_URL_KEY']=_0x4f0e93,_0x3ec4d8['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x364030,_0x3ec4d8[_0x40a6d6(0x20c)]=_0x4924c3,_0x3ec4d8[_0x40a6d6(0x32d)]=_0x382a1d,_0x3ec4d8[_0x40a6d6(0x3a6)]=_0x386e83,_0x3ec4d8[_0x40a6d6(0x3a3)]=_0x104956,_0x3ec4d8[_0x40a6d6(0x4e3)]=_0x548944,_0x3ec4d8['CommentService']=_0x3c09bd,_0x3ec4d8[_0x40a6d6(0x3b5)]=_0x14af8a,_0x3ec4d8['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x41101a,_0x3ec4d8[_0x40a6d6(0x4da)]=_0xb81b58,_0x3ec4d8[_0x40a6d6(0x1a1)]=_0x2426c9,_0x3ec4d8[_0x40a6d6(0x253)]=_0x4edb37,_0x3ec4d8[_0x40a6d6(0x1ab)]=_0x56036f,_0x3ec4d8[_0x40a6d6(0x211)]=_0x2d2ede,_0x3ec4d8[_0x40a6d6(0x242)]=_0x4480a0,_0x3ec4d8[_0x40a6d6(0x1c9)]=0x3e8,_0x3ec4d8[_0x40a6d6(0x3ef)]=_0x1feda2,_0x3ec4d8['LOGIN_URL_KEY']=_0x15394a,_0x3ec4d8[_0x40a6d6(0x4ef)]=_0x52e4db,_0x3ec4d8[_0x40a6d6(0x193)]=_0xb622f3,_0x3ec4d8['SEND_CHANGESET_TIMEOUT_KEY']=_0x33f28b,_0x3ec4d8[_0x40a6d6(0x417)]=_0xcd7554,_0x3ec4d8['SNAPSHOT_URL_KEY']=_0x1e4364,_0x3ec4d8[_0x40a6d6(0x1d4)]=_0x4e157e,_0x3ec4d8[_0x40a6d6(0x157)]=_0x16a6a2,_0x3ec4d8['deserializeToCombResponse']=_0x2c5db8,_0x3ec4d8['getLocalCacheKey']=_0x466e94,_0x3ec4d8[_0x40a6d6(0x2f4)]=_0x340138,Object[_0x40a6d6(0x2e4)](_0x3ec4d8,Symbol[_0x40a6d6(0x391)],{'value':_0x40a6d6(0x283)});}));