@univerjs-pro/collaboration-client 0.6.0-alpha.0 → 0.6.0-experimental.20250212-dbe9830

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 _0x4759(_0x3f28ab,_0x2ff8d6){var _0x5df8e0=_0x5df8();return _0x4759=function(_0x4759c2,_0x56c3bc){_0x4759c2=_0x4759c2-0x16f;var _0x3af616=_0x5df8e0[_0x4759c2];return _0x3af616;},_0x4759(_0x3f28ab,_0x2ff8d6);}function _0x5df8(){var _0x2d7d63=['_hasher','MSG_FOR_ERROR','AUTHZ_URL_KEY','getConfig','JOIN_ROOM_NOT_EXISTS','wsSessionTicketUrl','fetchThroughInterceptors','_showConflictNotification','getInterceptPoints','_onUserLeave','_onJoinRoomEvent','LOGIN_URL_KEY','result','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','transformUndoRedo','LICENSE_DISTRO_REJECTED','Inject','/universer-api/user/session-ticket','requestParams','[OfflineState]:\x20received\x20changeset.','clear','getFocusedUnit','_sendHeartbeat','[CollaborationSession]','snapshot','4184UhmlTe','__creator','CollaborationSessionService','_process','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getSheetId','subUnitId','_socket','getUnitOnRev','push','c2Prime','list','_clearTimeoutTimer','IUniverInstanceService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','fromCharCode','UnitEmbedded','registerDependencies','onStateChange','onTransformIME','_clearScheduledTask','revision','Malformed\x20UTF-8\x20data','updateCollaborator','ONLINE','HEARTBEAT','onRemoteRetry','getTypeOfUnitDisposed$','sessionStatus$','_collaborationTimeoutTimer','UNKNOWN_CODE','_entities','Base64','toggleOnline','session.room-not-exists','Injector','Rectangle','pad','getTime','LIVESHARE_TERMINATE','resend','SnapshotServerOverHTTPService','userID','SnapshotService','CHANGESET_REJ','WordArray','isTransformChangesetsSuccess','_resendWithTimeout','_handler','amd','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','People','type','822600EbydXy','subscribe','_socketMessageSubscription','editing\x20status\x20changed\x20to','processBlock','_executeRemoteChangeset','collabWebSocketUrl','code','_logService','CONFLICT','duration','\x0aCurrent:\x20','complete','_createHelper','_networkConditionService','encrypt','_disableEditing','executeCommand','key','fromCollab','/universer-api/snapshot/','href','values','_syncEditingCollabCursor','createInstance','APPLY_DUPLICATED','image/jpg','connection\x20error','/fetchmissing?from=','conflict','takeUntil','PasswordBasedCipher','unitID','RichTextEditingMutation','_queuedRemoteChangesets','isInternalEditorID','updatePermissionObjEvent','_unitID','_clearCollaborationTimeoutTimer','_createSocketURL','USERS_ENTER','onTransformSelections','awaiting_with_pending','_doCryptBlock','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_entityInit$','/universer-api/uniscript','filter','csShouldRetryEvent','/universer-api/stream/file/upload','sessionTicket','_injector','_snapshotService','TOO_MANY_REQUESTS','abs','Optional','awaiting','Plugin','_initDependencies','RETRY_CONNECTING_MAX_COUNT','objectType','2100Mggeeu','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','send','UNDEFINED','univer-pro.collaboration-client.network-condition.service','update','UnitStatus','substr','synced','Utf8','_getAPIPrefix','clamp','post','OFFLINE','LIVESHARE_OPERATION','CONNECTOR_DATA_TOO_LARGE','runId','toString','Error\x20on\x20receiving\x20event','getSnapshotAPIPath','_initRequestHeader','IMentionIOService','CommandType','_timeoutTimer','SUBMIT_CHANGESET_TIMEOUT','file','@univerjs-pro/license','OfflineState','emitEvent','searchParams','fetching\x20missing\x20changesets\x20from\x20','ITelemetryService','dispose$','onRemoteAck','method','[UniverCollaborationClientPlugin]','_getAPIPrefixPath','every','delay','ILogService','next','Disposable','getLatestCsReqIdBySid','onLocalMutation','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','isArray','_getLoginPath','getMemberID','unitInfo$','operators','_scheduleCompleteTimestamp','downloadEndpointUrl','unknown','infoRsp','unit-cache-','StreamCipher','LocaleService','workbook','pluginName','CollaborationStatus','Pkcs7','NO_OTHER_CLIENTS_EDITING','hasher','UniverProLicense','SetSelectionsOperation','enableAuthServer','initWorkbookPermissionChange','HEARTBEAT_TIMEOUT','collaboration-client.local-cache-service','collaboration_new_changeset','onCommentUpdate','loadUnit','getWorkbookSelections','Undefined','/block/','online$','_onRemoteRetry','_applyRemoteChangeset','_createHandler','salt','YUUMI_URL_COL_OUT_OF_RANGE','hasOwnProperty','UniverTelemetry','readAsDataURL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','onTransformRemoteChangesetByIMECache','_createSocket','/universer-api/oidc/authpage','getCollabEntity','\x20in\x20_schedule.','getTypeOfUnitAdded$','collaboration-client.config','_doProcessBlock','startTime','compute','DisposableCollection','122272iyfThA','_onFetchMissResult','@univerjs/sheets','getUnit','/rev/','SyncedState','randomBytes','_fetchMissChangesets','UniverCollaborationClientPlugin','transformChangesets','LocalUndoRedoService','_getSignURL','_transformService','updateCursorEvent','$super','_change$','change$','_getSendChangesetTimeout','_nDataBytes','UNIVER_COLLABORATION_CLIENT_PLUGIN','SheetsSelectionsService','_sessions','UniverCollaborationPlugin','sin','[DataLoaderService]','onTransformRemoteChangesetByStateCache','_parse','encode','selections','state$','message$','capture','UNAUTHENTICATED','createDecryptor','FileId','closeSession','textRanges','createCollaborator','execute','parse','CommentService','replace','YUUMI_UNABLE_LOAD_URL','mapDocumentTypeToUniverType','_getUploadFileURL','[PendingState]:\x20received\x20rejection.','UniverSheetsPlugin','range','PERMISSION_DENIED','/-/object/-/batch_allowed','_unlockTransition','enableSingleActiveInstanceLock','_acknowledgedAwaitingChangeset','getValue','AES','/new_changes','UNRECOGNIZED','touchDependencies','_listenToNetworkCondition','confirm','hostname','updateMember','_getSessionTicket','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IPermissionService','JOINING','onRemoteRej','Tools','_rescheduleHeartbeat','finalize','getRandomValues','location','UNIVER_UNKNOWN','awaitingChangeset','_pendingMutations','CHANGESET_REVISION_CONFILICT','fetchMissingChangesets','_getCtorByUniverType','appendMutation','/universer-api/snapshot','_submitChangeset','_emitMembers','_toggleOnline','Decryptor','HEARTBEAT_TIMEOUT_KEY','_socketService','LICENSE_MAX_UNITS_EXCEEDED','PERMISSION_REJ','_handlerCallback','decrypt','padding','@univerjs/drawing','_data','_onCombEvent','_substituteUndoStack','parseChangesetToProtocol','msCrypto','ERROR_EXCEED_SIZE','_commentUpdate$','keySize','NoPadding','_transformSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','allowed','\x20to\x20','getRoom','_map','removeMember','bind','image/bmp','_collabSessionService','/unit/','error','entityInit$','reduce','_clearUndo','extend','DependentOn','_onConflict','mixIn','_members','objects','@univerjs/core','_getRedoStack','USERS_LEAVE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','create','search','UniverInstanceType','x-univer-host','UNISCRIPT_RUN','map','saveChangeset','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_unitInfo$','getUnitType','AwaitingState','SheetCollaborationEntity','shouldCloseConn','Univer','updatePermissionPoint','&to=','lib','_key','ws://127.0.0.1:8000/universer-api/comb/connect','INGEST','eventID','rev','uploadFileServerUrl','ERROR_IMAGE_TYPE','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_schedule','_onRemoteChangeset','IConfigService','UnitSnapshot','OPTIONAL','_substituteRedoStack','override','cfg','Hasher','onTransformState','JOIN_ROOM_PERMISSION_DENIED','SNAPSHOT_URL_KEY','open$','isPermissionRej','fetchMiss','COLLAB_WEB_SOCKET_URL','_tryReconnect','/collaborator','slice','getDeserializedSheetBlock','@univerjs/telemetry','disableLocalCache','equals','CollaborationController','CollaborationEvent','deleteCollaborator','_collaborationSessionService','IContextService','algo','_iv','url','FAIL','iterations','_sheetTransformSelectionsService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_hash','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','body','getCollabEntity$','APPLY_REVISION_CONFILICT','InsertSheetMutation','_joinRoom','/object/','&assign=','setConfig','ICollaborationSocketService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNKNOWN_CMD','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','WorkbookEditablePermission','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','baseRev','transformSelections','find','ICommandService','ConflictState','SOCKET_FAILED','FetchingMissState','[CollaborationEntity]','8328lYzbVu','_httpService','not_collab','onMissedChangesetFetched','_decreaseWaiting','__Key__','_doFinalize','_univerInstanceService','_transformIMECache','_onRecvEvent','LIVESHARE_NEW_HOST','UPDATE_CURSOR','unitId\x20is\x20not\x20found','APPLY_REJECT','UNIVER_PROJECT','[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.','saveSheetBlock','origin','routeKey','SheetTransformSelectionsService','ImageUploadStatusType','MemberService','getResourcesRequest','_getUndoStack','createIdentifier','image/gif','createEncryptor','delete','_status$','name','waitForRoom$','session.room-permission-denied','memberID','CollaborativeUndoRedoService','refreshPermission','COLLAB_SUBMIT_CHANGESET_URL_KEY','_members$','_HTTPService','@univerjs/docs','catch','JOIN','objectActions','LIVESHARE_REQUEST_HOST','toLowerCase','HttpExport','_localeService','_roomCreated$','_compressMutationService','includes','format','debug','addHandlerCallback','_invKeySchedule','_changesetReqId','PendingState','POST','SUBMIT_CHANGESET','JOIN_ROOM_FULL','apply','putCollaborators','COMPRESS_MUTATION_APPLY','unpad','_updateState','words','_prevBlock','COMPRESS_MUTATION_SEND','_DEC_XFORM_MODE','byteLength','findIndex','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','onSyncEditingCollabCursor','rxjs/operators','cmd','authzUrl','_exhaustRemoteChangesetQueue','image/jpeg','close','m2Prime','length','sequenceExecute','_commentService','_sendHeartbeatTimer','newCsEvent','BehaviorSubject','CLOSE_ROOM','AwaitingWithPendingState','getMember','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','OTHER_CLIENT_EDITING','CHANGESET_SHOULD_RETRY','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_sender','PERSON','_loadDoc','HEARTBEAT_INTERVAL_KEY','_xformMode','collaboratorID','_transformRemoteChangesetByStateCache','_sendingTimer','_mode','SEND_CHANGESET_TIMEOUT','JOIN_ROOM_FAILED','get','SUCCUSS','FETCH_MISSING','changesets','[PendingState]:\x20received\x20acknowledgement.','YUUMI_SUBSCRIPTION_NOT_FOUND','_imageSourceCache','NEW_CHANGESETS','LICENSE_IMPORT_SIZE_EXCEEDED','sigBytes','5rndTzS','params','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_doReset','getSheetBlock','Subject','_localCacheService','_startTelemetryCollaborationNewChangeset','[OfflineState]:\x20received\x20acknowledgement.','AuthzIoHttpService','listRoles','SHOULD_CLOSE_CONN','size','_state$','ISnapshotServerService','saveSnapshot','MD5','_socket$','_state','_loadSheet','APPLY_PERMISSION_DENIED','socket\x20close','_lockTransition','_singleActiveUnitService','isTransformMutationsWithChangesetSuccess','EvpKDF','_collaborationPaused','_init','_clearLocalCache','_replaceFileID','reset','socket$','close$','ceil','_throwTelemetryCollaborationNewChangeset','add','_initCloseConn','exports','HMAC','_revisionService','action','SNAPSHOT_SERVER_URL_KEY','INTERNAL_ERROR','_candidateSocket','Base','withCredentials','setCurrentUser','HTTPService','_keyPriorReset','_createHmacHelper','MentionType','_waitForHeartbeatResponse','MentionIoHttpService','registerHTTPInterceptor','toDisposable','DEFAULT_COLLAB_WEB_SOCKET_URL','take','_configService','SHA1','/allowed','CHANGESET_ACK','join','getAllMembers','_onUserJoin','incrementRevOfUnit','_onLocalMutation','requireSession','@univerjs/network','AWAITING','SNAPSHOT_HAS_BEEN_REMOVED','splice','call','_createInitialStateImpl','csRejEvent','ERROR_IMAGE','_updateLocalCache','c1Prime','[CollaborationUndoRedoService]','SYNCED','ALREADY_EXISTS','_userManagerService','_updateStatus','OTHER_CLIENTS_EDITING','_minBufferSize','localCacheService','onload','application/json','UNIVER_SLIDE','onCommandExecuted','_changesetSessionId','pauseCollaboration','HttpImport','forEach','ENSURE_SNAPSHOT_EXECUTION','commentUpdateEvent','_http','LOCAL_CACHE_INTERVAL','_socketReady','readInt32LE','has','[CollaborationState]:\x20apply\x20error!','BufferedBlockAlgorithm','\x0aAfter:\x20','state','APPLY_NON_SEQUENTIAL_REVISION','put','encryptBlock','getImage','_roomMembers','function','_incrementRevisionNumber','RECV','/-/object/list','_event$','collaborators','telemetry\x20info\x20is\x20not\x20initialized','CollaborationSession','Latin1','_transformUndoredo','IDLE','concatMap','event$','getActiveSheet','rxjs','createSocket','1ifLtHa','_eventService','status','charAt','dispose','socket\x20open.','mutations','COMMENT_UPDATE','concat','b64DecodeUnicode','CollaborationEntity','FETCH_MISS','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[OfflineState]:\x20received\x20rejection.','_onRemoteACK','stringify','_ENC_XFORM_MODE','_clearRedo','COLLAB_WEB_SOCKET_URL_KEY','1927122EXrzwq','mergeOverrideWithDependencies','17490XLDzzX','defineProperty','reqId','liveShareNewHost','_transformStack','getOwnPropertyDescriptor','getImageSourceCache','kdf','data','onlyLocal','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','subject','[SyncedState]:\x20received\x20acknowledgement.','HELLO','_append','getUnitId','toggleOffline','sendChangesetTimeout','_initMergeInterceptor','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','toStringTag','CollaborationSocketService','prototype','loadOfflineData','_onOffline','randomUUID','objectID','asObservable','[FetchMissState]','SheetPermissionInitController','merge','stopTime','readyForCollab','onRemoteChangeset','_instanceService','originalMeta','{fileID}','_awaitingChangeset','disposeWithMe','uniscriptRunEvent','Workbook','parseProtocolChangeset','ticket','9Oqipwq','_toggleOffline','encodeURIComponent','UniverSheets','[CollaborationSessionService]','JSONX','localeService','json','MUTATION','_telemetryService','_snapshotServerService','responseType','SOCKET_FAILED_RETRY','Encryptor','_tryEnsureSocket','target','submit\x20changeset\x20error!','members$','byteOffset','CompressMutationService','editingUnit','1868664kfhATh','rng','ciphertext','_transformRemoteChangesetByIMECache','_retryCount','@univerjs-pro/collaboration','updateOfflineData','string','avatar','LICENSE_EXPORT_SIZE_EXCEEDED','mode','reject','PSEUDO_FETCH_MISSING_RESULT','UniverCore','error$','_config','SerializableCipher','sheets','roomInfos','getCurrentSelections','transformMutationsWithChangeset','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','GLOBAL_ROOMS_CNT_EXCEEDS','_commandService','sid','SNAPSHOT_INVALID_SNAPSHOT','resolve','PY_RUNTIME_SCRIPT_ERROR','_iKey','Cipher','OpenSSL','ITransformService','onSendChangeset','sessionStatus','IUndoRedoService','status$','UNIVER_SHEET','getCurrentUser','AWAITING_WITH_PENDING','getCurrentRevOfUnit','_onConnectionFailed','_resendTimer','ThresholdInterceptorFactory','ImageSourceType','random','set','blockSize','LIVESHARE_FETCH_OPERATIONS','_createInitialState','SessionStatus','LEAVE','LOCAL_CACHE_INTERVAL_KEY','src','compose','_waitCount','unitId','IAuthzIoService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','joinRsp','pending','commentUpdate$','_oKey','getLocalCacheKey','_getCurrentRevision','session','shareReplay','_scheduleCollaborationTimeoutTimer','DataLoaderService','_resendTimeout','/object','?size=','_memberService','collaMsg','_onRemoteRejected','socketService','image/png','pipe','enc','ivSize','BASE64','_shouldReportTelemetry','?url=','UniverDocs','_retryConnectingTimer','ReplaySubject','_type','RevisionService','_initUnitPermissionChange','init','_keySchedule','_startCollaboration','clone','_transitionLocked','session.join-failed','serializeCombRequest','CollaborationImageIoService','UniverNetwork','_isPermissionRej','now','DocCollaborationEntity','copyFileMeta','7148008QQbqOl','_telemetryInfo','/role','_cipher','interceptor','IImageIoService','CipherParams','_sessionStatus$','_collaborationUIEventService','univer-pro.collaboration-client-socket-service','_removeRoom','actions','loadSheet','unsubscribe','failed\x20to\x20apply\x20missed\x20changesets!','max','setShowComponents','_checkMissing','_remoteChangesetQueue','UniverProCollaborationClient','_undoRedoService','default','UniverNetworkPlugin','offline','charCodeAt','UNIVER_DOC','append','_permissionService','onMissingChangesets','RxDisposable','crypto','COMPLETION_FINISHED','Could\x20not\x20dynamically\x20require\x20\x22','loginUrlKey','/universer-api/authz'];_0x5df8=function(){return _0x2d7d63;};return _0x5df8();}(function(_0x35f20a,_0x4cac20){var _0x4aad38=_0x4759,_0x21e1e2=_0x35f20a();while(!![]){try{var _0x305966=-parseInt(_0x4aad38(0x27e))/0x1*(-parseInt(_0x4aad38(0x446))/0x2)+parseInt(_0x4aad38(0x3e6))/0x3*(parseInt(_0x4aad38(0x374))/0x4)+-parseInt(_0x4aad38(0x201))/0x5*(parseInt(_0x4aad38(0x291))/0x6)+parseInt(_0x4aad38(0x2d3))/0x7+parseInt(_0x4aad38(0x338))/0x8*(parseInt(_0x4aad38(0x2be))/0x9)+-parseInt(_0x4aad38(0x3a9))/0xa+parseInt(_0x4aad38(0x293))/0xb*(-parseInt(_0x4aad38(0x191))/0xc);if(_0x305966===_0x4cac20)break;else _0x21e1e2['push'](_0x21e1e2['shift']());}catch(_0x2a1cd3){_0x21e1e2['push'](_0x21e1e2['shift']());}}}(_0x5df8,0x6d1a2),function(_0x9ab889,_0x3fa445){var _0xf1b049=_0x4759;typeof exports=='object'&&typeof module<'u'?_0x3fa445(exports,require(_0xf1b049(0x4c1)),require(_0xf1b049(0x27c)),require(_0xf1b049(0x1d8)),require(_0xf1b049(0x244)),require('@univerjs-pro/collaboration'),require(_0xf1b049(0x4f2)),require(_0xf1b049(0x1b7)),require(_0xf1b049(0x448)),require(_0xf1b049(0x4a2)),require(_0xf1b049(0x400))):typeof define==_0xf1b049(0x26e)&&define[_0xf1b049(0x3a5)]?define([_0xf1b049(0x226),_0xf1b049(0x4c1),'rxjs','rxjs/operators','@univerjs/network',_0xf1b049(0x2d8),'@univerjs/telemetry',_0xf1b049(0x1b7),'@univerjs/sheets',_0xf1b049(0x4a2),'@univerjs-pro/license'],_0x3fa445):(_0x9ab889=typeof globalThis<'u'?globalThis:_0x9ab889||self,_0x3fa445(_0x9ab889[_0xf1b049(0x34b)]={},_0x9ab889[_0xf1b049(0x2e0)],_0x9ab889[_0xf1b049(0x27c)],_0x9ab889[_0xf1b049(0x27c)][_0xf1b049(0x417)],_0x9ab889[_0xf1b049(0x333)],_0x9ab889['UniverProCollaboration'],_0x9ab889[_0xf1b049(0x438)],_0x9ab889[_0xf1b049(0x325)],_0x9ab889[_0xf1b049(0x2c1)],_0x9ab889['UniverDrawing'],_0x9ab889[_0xf1b049(0x425)]));}(this,function(_0x267f17,_0x1b0b97,_0x427172,_0xeec3f8,_0x52daec,_0x4f5b98,_0x53dbb9,_0x313987,_0x42a1f3,_0xc45ff0,_0x561aa0){'use strict';var _0x57b479=_0x4759;var _0x42ddea=Object[_0x57b479(0x294)],_0x287a47=(_0x34bcce,_0x5c4a94,_0x43b993)=>_0x5c4a94 in _0x34bcce?_0x42ddea(_0x34bcce,_0x5c4a94,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43b993}):_0x34bcce[_0x5c4a94]=_0x43b993,_0x584dc2=(_0x1e5588,_0x237ec9,_0x286fb1)=>_0x287a47(_0x1e5588,typeof _0x237ec9!='symbol'?_0x237ec9+'':_0x237ec9,_0x286fb1);const _0x4c9657=_0x57b479(0x22a),_0x124903=_0x57b479(0x496),_0x25f125=_0x57b479(0x4e9),_0x1bc310=_0x57b479(0x1f5),_0x24045a=_0x57b479(0x4ed),_0x19d529=_0x57b479(0x4d7),_0x4c7e37=_0x57b479(0x36c),_0xf4cc1e='HEARTBEAT_INTERVAL',_0xc96db6=_0x57b479(0x429),_0xe4b788=_0x57b479(0x3e4),_0xcbbb08=_0x57b479(0x261),_0x29b858='COLLAB_SUBMIT_CHANGESET_URL',_0x311aae='/universer-api/comb',_0x5e952c=_0x57b479(0x366),_0x1336e1=_0x57b479(0x43d),_0x2a9d55=_0x57b479(0x17a),_0xb4681a=_0x57b479(0x3d7);var _0x493455=(_0x3789b6=>(_0x3789b6[_0x3789b6[_0x57b479(0x3e9)]=0x0]='UNDEFINED',_0x3789b6[_0x3789b6['OK']=0x1]='OK',_0x3789b6[_0x3789b6[_0x57b479(0x22b)]=0x2]=_0x57b479(0x22b),_0x3789b6[_0x3789b6[_0x57b479(0x476)]=0x3]=_0x57b479(0x476),_0x3789b6[_0x3789b6['NOT_FOUND']=0x4]='NOT_FOUND',_0x3789b6[_0x3789b6[_0x57b479(0x466)]=0x5]=_0x57b479(0x466),_0x3789b6[_0x3789b6[_0x57b479(0x250)]=0x6]=_0x57b479(0x250),_0x3789b6[_0x3789b6['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x3789b6[_0x3789b6[_0x57b479(0x3de)]=0x8]=_0x57b479(0x3de),_0x3789b6[_0x3789b6[_0x57b479(0x357)]=0x9]=_0x57b479(0x357),_0x3789b6[_0x3789b6[_0x57b479(0x492)]=0x1389]=_0x57b479(0x492),_0x3789b6[_0x3789b6[_0x57b479(0x2ec)]=0x1771]=_0x57b479(0x2ec),_0x3789b6[_0x3789b6[_0x57b479(0x246)]=0x1772]=_0x57b479(0x246),_0x3789b6[_0x3789b6['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x57b479(0x25e),_0x3789b6[_0x3789b6[_0x57b479(0x19e)]=0x1b59]=_0x57b479(0x19e),_0x3789b6[_0x3789b6[_0x57b479(0x269)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3789b6[_0x3789b6['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x57b479(0x17d),_0x3789b6[_0x3789b6[_0x57b479(0x215)]=0x1b5c]=_0x57b479(0x215),_0x3789b6[_0x3789b6[_0x57b479(0x3c2)]=0x1b5d]=_0x57b479(0x3c2),_0x3789b6[_0x3789b6[_0x57b479(0x3f5)]=0x1f41]=_0x57b479(0x3f5),_0x3789b6[_0x3789b6[_0x57b479(0x49d)]=0x2329]=_0x57b479(0x49d),_0x3789b6[_0x3789b6[_0x57b479(0x4ad)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3789b6[_0x3789b6[_0x57b479(0x1ff)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3789b6[_0x3789b6[_0x57b479(0x2dc)]=0x232c]=_0x57b479(0x2dc),_0x3789b6[_0x3789b6[_0x57b479(0x36a)]=0x232d]=_0x57b479(0x36a),_0x3789b6[_0x3789b6[_0x57b479(0x470)]=0x2711]=_0x57b479(0x470),_0x3789b6[_0x3789b6[_0x57b479(0x436)]=0x2712]=_0x57b479(0x436),_0x3789b6[_0x3789b6['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3789b6[_0x3789b6['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x57b479(0x1fc),_0x3789b6[_0x3789b6[_0x57b479(0x2ee)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3789b6[_0x3789b6[_0x57b479(0x47e)]=-0x1]='UNRECOGNIZED',_0x3789b6))(_0x493455||{}),_0x45c17c=(_0x143bdd=>(_0x143bdd[_0x143bdd['UNIVER_UNKNOWN']=0x0]=_0x57b479(0x48f),_0x143bdd[_0x143bdd[_0x57b479(0x351)]=0x1]=_0x57b479(0x351),_0x143bdd[_0x143bdd[_0x57b479(0x2f7)]=0x2]='UNIVER_SHEET',_0x143bdd[_0x143bdd[_0x57b479(0x258)]=0x3]=_0x57b479(0x258),_0x143bdd[_0x143bdd['UNIVER_PROJECT']=0x4]=_0x57b479(0x19f),_0x143bdd[_0x143bdd[_0x57b479(0x47e)]=-0x1]=_0x57b479(0x47e),_0x143bdd))(_0x45c17c||{}),_0x2c690a=(_0x20c448=>(_0x20c448[_0x20c448[_0x57b479(0x185)]=0x0]=_0x57b479(0x185),_0x20c448[_0x20c448[_0x57b479(0x2a0)]=0x1]=_0x57b479(0x2a0),_0x20c448[_0x20c448['JOIN']=0x2]='JOIN',_0x20c448[_0x20c448[_0x57b479(0x305)]=0x3]=_0x57b479(0x305),_0x20c448[_0x20c448[_0x57b479(0x4d8)]=0x4]=_0x57b479(0x4d8),_0x20c448[_0x20c448[_0x57b479(0x38d)]=0x5]=_0x57b479(0x38d),_0x20c448[_0x20c448[_0x57b479(0x270)]=0x6]=_0x57b479(0x270),_0x20c448[_0x20c448[_0x57b479(0x47e)]=-0x1]=_0x57b479(0x47e),_0x20c448))(_0x2c690a||{}),_0x287c06=(_0x36f376=>(_0x36f376[_0x36f376[_0x57b479(0x392)]=0x0]=_0x57b479(0x392),_0x36f376[_0x36f376['OK']=0x1]='OK',_0x36f376[_0x36f376['FAIL']=0x2]='FAIL',_0x36f376[_0x36f376[_0x57b479(0x1ca)]=0x3e9]=_0x57b479(0x1ca),_0x36f376[_0x36f376[_0x57b479(0x35f)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x36f376[_0x36f376[_0x57b479(0x4e8)]=0x3eb]=_0x57b479(0x4e8),_0x36f376[_0x36f376[_0x57b479(0x2e9)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x36f376[_0x36f376[_0x57b479(0x47e)]=-0x1]='UNRECOGNIZED',_0x36f376))(_0x287c06||{}),_0xe55bc3=(_0x537363=>(_0x537363[_0x537363[_0x57b479(0x42f)]=0x0]='Undefined',_0x537363[_0x537363[_0x57b479(0x25c)]=0x1]=_0x57b479(0x25c),_0x537363[_0x537363[_0x57b479(0x1bd)]=0x2]='HttpExport',_0x537363[_0x537363[_0x57b479(0x384)]=0x3]=_0x57b479(0x384),_0x537363[_0x537363[_0x57b479(0x4e1)]=0x4]=_0x57b479(0x4e1),_0x537363[_0x537363[_0x57b479(0x47e)]=-0x1]=_0x57b479(0x47e),_0x537363))(_0xe55bc3||{});const _0x4bdd65=_0x57b479(0x441),_0x32f9ab={};var _0x864ea4=(_0x1b56cc=>(_0x1b56cc[_0x57b479(0x1e9)]=_0x57b479(0x1e9),_0x1b56cc[_0x57b479(0x476)]=_0x57b479(0x476),_0x1b56cc[_0x57b479(0x3b2)]=_0x57b479(0x3b2),_0x1b56cc[_0x57b479(0x1e5)]=_0x57b479(0x1e5),_0x1b56cc['JOIN_ROOM_FAILED']=_0x57b479(0x1f6),_0x1b56cc[_0x57b479(0x2ca)]='SOCKET_FAILED_RETRY',_0x1b56cc[_0x57b479(0x18e)]=_0x57b479(0x18e),_0x1b56cc[_0x57b479(0x3fe)]='SUBMIT_CHANGESET_TIMEOUT',_0x1b56cc))(_0x864ea4||{});class _0x442b4a{constructor(){var _0x8b0866=_0x57b479;_0x584dc2(this,'_event$',new _0x427172[(_0x8b0866(0x206))]()),_0x584dc2(this,'event$',this['_event$'][_0x8b0866(0x2ae)]());}[_0x57b479(0x402)](_0x231db5){var _0xec8ed1=_0x57b479;this[_0xec8ed1(0x272)][_0xec8ed1(0x40e)](_0x231db5);}}const _0x5f40d3=_0x1b0b97[_0x57b479(0x1a9)](_0x57b479(0x3ea));function _0x7eb481(_0xb54dce){var _0x1ada66=_0x57b479,_0x39c51b,_0x56a937,_0x530b64,_0x230d3e,_0xf76a3c;const _0x215fde=_0xb54dce[_0x1ada66(0x29b)],_0x49ec56=JSON[_0x1ada66(0x46d)](_0x215fde);switch(_0x49ec56[_0x1ada66(0x1d9)]){case _0x2c690a[_0x1ada66(0x38d)]:case _0x2c690a[_0x1ada66(0x2a0)]:{const _0x2e046a=_0x49ec56[_0x1ada66(0x41b)];return{..._0x49ec56,'data':_0x2e046a,'cmd':_0x49ec56[_0x1ada66(0x1d9)]};}case _0x2c690a[_0x1ada66(0x1b9)]:{const _0x4551f6=_0x49ec56[_0x1ada66(0x30d)];return{..._0x49ec56,'data':_0x4551f6,'cmd':_0x49ec56[_0x1ada66(0x1d9)]};}case _0x2c690a[_0x1ada66(0x270)]:{const _0x3b1b0a=_0x49ec56[_0x1ada66(0x31b)];switch(_0x3b1b0a[_0x1ada66(0x4d9)]){case _0x4f5b98[_0x1ada66(0x4f6)][_0x1ada66(0x49e)]:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':(_0x39c51b=_0x3b1b0a['permissionRejEvent'])==null?void 0x0:_0x39c51b['cs']},'cmd':_0x49ec56[_0x1ada66(0x1d9)]};case _0x4f5b98[_0x1ada66(0x4f6)]['CHANGESET_ACK']:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':(_0x56a937=_0x3b1b0a['csAckEvent'])==null?void 0x0:_0x56a937['cs']},'cmd':_0x49ec56['cmd']};case _0x4f5b98[_0x1ada66(0x4f6)][_0x1ada66(0x1fe)]:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':(_0x530b64=_0x3b1b0a[_0x1ada66(0x1e3)])==null?void 0x0:_0x530b64['cs']},'cmd':_0x49ec56[_0x1ada66(0x1d9)]};case _0x4f5b98[_0x1ada66(0x4f6)][_0x1ada66(0x3a0)]:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':(_0x230d3e=_0x3b1b0a[_0x1ada66(0x24a)])==null?void 0x0:_0x230d3e['cs']},'cmd':_0x49ec56[_0x1ada66(0x1d9)]};case _0x4f5b98['CollaborationEvent'][_0x1ada66(0x1ea)]:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':(_0xf76a3c=_0x3b1b0a[_0x1ada66(0x3d9)])==null?void 0x0:_0xf76a3c['cs']},'cmd':_0x49ec56[_0x1ada66(0x1d9)]};case _0x4f5b98[_0x1ada66(0x4f6)][_0x1ada66(0x19c)]:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':_0x3b1b0a[_0x1ada66(0x453)]},'cmd':_0x49ec56[_0x1ada66(0x1d9)]};case _0x4f5b98[_0x1ada66(0x4f6)][_0x1ada66(0x3d1)]:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':_0x3b1b0a['joinEvent']},'cmd':_0x49ec56[_0x1ada66(0x1d9)]};case _0x4f5b98[_0x1ada66(0x4f6)][_0x1ada66(0x4c3)]:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':_0x3b1b0a['leaveEvent']},'cmd':_0x49ec56[_0x1ada66(0x1d9)]};case _0x4f5b98[_0x1ada66(0x4f6)][_0x1ada66(0x19b)]:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':_0x3b1b0a[_0x1ada66(0x296)]},'cmd':_0x49ec56[_0x1ada66(0x1d9)]};case _0x4f5b98[_0x1ada66(0x4f6)][_0x1ada66(0x302)]:case _0x4f5b98[_0x1ada66(0x4f6)][_0x1ada66(0x3f4)]:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':_0x3b1b0a['liveShareOperation']},'cmd':_0x49ec56[_0x1ada66(0x1d9)]};case _0x4f5b98[_0x1ada66(0x4f6)][_0x1ada66(0x39b)]:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':_0x3b1b0a[_0x1ada66(0x296)]},'cmd':_0x49ec56[_0x1ada66(0x1d9)]};case _0x4f5b98[_0x1ada66(0x4f6)][_0x1ada66(0x35c)]:return{..._0x49ec56,'data':_0x3b1b0a,'cmd':_0x49ec56['cmd']};case _0x4f5b98[_0x1ada66(0x4f6)][_0x1ada66(0x285)]:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':_0x3b1b0a[_0x1ada66(0x25f)]},'cmd':_0x49ec56[_0x1ada66(0x1d9)]};case _0x4f5b98[_0x1ada66(0x4f6)]['UPDATE_PERMISSION_OBJ']:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':_0x3b1b0a[_0x1ada66(0x3cd)]},'cmd':_0x49ec56['cmd']};case _0x4f5b98['CollaborationEvent'][_0x1ada66(0x20c)]:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':_0x3b1b0a[_0x1ada66(0x4d1)]},'cmd':_0x49ec56[_0x1ada66(0x1d9)]};case _0x4f5b98[_0x1ada66(0x4f6)][_0x1ada66(0x4c9)]:return{..._0x49ec56,'data':{..._0x3b1b0a,'data':_0x3b1b0a[_0x1ada66(0x2ba)]},'cmd':_0x49ec56['cmd']};default:return _0x49ec56;}}default:return _0x49ec56;}}function _0x42688e(_0x389c2f){var _0x327eae=_0x57b479;switch(_0x389c2f[_0x327eae(0x1d9)]){case _0x2c690a[_0x327eae(0x38d)]:case _0x2c690a[_0x327eae(0x2a0)]:return JSON['stringify']({'cmd':_0x389c2f['cmd'],'routeKey':_0x389c2f['routeKey']});case _0x2c690a[_0x327eae(0x4d8)]:{let _0x329e11;switch(_0x389c2f[_0x327eae(0x29b)]['eventID']){case _0x4f5b98[_0x327eae(0x4f6)][_0x327eae(0x19c)]:{_0x329e11={'eventID':_0x4f5b98[_0x327eae(0x4f6)][_0x327eae(0x19c)],'updateCursorEvent':_0x389c2f[_0x327eae(0x29b)][_0x327eae(0x29b)]};break;}case _0x4f5b98[_0x327eae(0x4f6)][_0x327eae(0x4c3)]:{_0x329e11={'eventID':_0x4f5b98[_0x327eae(0x4f6)][_0x327eae(0x4c3)],'leaveEvent':_0x389c2f[_0x327eae(0x29b)]['data']};break;}case _0x4f5b98['CollaborationEvent'][_0x327eae(0x3d1)]:{_0x329e11={'eventID':_0x4f5b98['CollaborationEvent'][_0x327eae(0x3d1)],'joinEvent':_0x389c2f['data']['data']};break;}case _0x4f5b98['CollaborationEvent'][_0x327eae(0x19b)]:{_0x329e11={'eventID':_0x4f5b98[_0x327eae(0x4f6)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x389c2f[_0x327eae(0x29b)][_0x327eae(0x29b)]};break;}case _0x4f5b98[_0x327eae(0x4f6)][_0x327eae(0x3f4)]:{_0x329e11={'eventID':_0x4f5b98[_0x327eae(0x4f6)][_0x327eae(0x3f4)],'liveShareOperation':_0x389c2f['data'][_0x327eae(0x29b)]};break;}case _0x4f5b98[_0x327eae(0x4f6)][_0x327eae(0x39b)]:{_0x329e11={'eventID':_0x4f5b98[_0x327eae(0x4f6)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x389c2f[_0x327eae(0x29b)][_0x327eae(0x29b)]};break;}case _0x4f5b98[_0x327eae(0x4f6)][_0x327eae(0x1bb)]:{_0x329e11={'eventID':_0x4f5b98[_0x327eae(0x4f6)][_0x327eae(0x1bb)],'liveShareRequestHost':_0x389c2f[_0x327eae(0x29b)][_0x327eae(0x29b)]};break;}case _0x4f5b98[_0x327eae(0x4f6)]['LIVESHARE_FETCH_OPERATIONS']:{_0x329e11={'eventID':_0x4f5b98['CollaborationEvent'][_0x327eae(0x302)]};break;}default:_0x329e11={'eventID':_0x389c2f[_0x327eae(0x29b)][_0x327eae(0x4d9)]};}return JSON[_0x327eae(0x28d)]({'cmd':_0x389c2f[_0x327eae(0x1d9)],'routeKey':_0x389c2f[_0x327eae(0x1a3)],'collaMsg':_0x329e11});}case _0x2c690a[_0x327eae(0x1b9)]:return JSON[_0x327eae(0x28d)]({'cmd':_0x389c2f[_0x327eae(0x1d9)],'routeKey':_0x389c2f[_0x327eae(0x1a3)],'joinReq':_0x389c2f[_0x327eae(0x29b)]});case _0x2c690a[_0x327eae(0x305)]:return JSON[_0x327eae(0x28d)]({'cmd':_0x389c2f[_0x327eae(0x1d9)],'routeKey':_0x389c2f[_0x327eae(0x1a3)],'leaveReq':_0x389c2f['data']});default:throw new Error(_0x327eae(0x28a));}}var _0x150486=Object['defineProperty'],_0xbfd64c=Object[_0x57b479(0x298)],_0x53c2db=(_0xb65e71,_0x577b54,_0x148012,_0xc7a022)=>{for(var _0x59cd46=_0xc7a022>0x1?void 0x0:_0xc7a022?_0xbfd64c(_0x577b54,_0x148012):_0x577b54,_0x44542f=_0xb65e71['length']-0x1,_0x5b3fad;_0x44542f>=0x0;_0x44542f--)(_0x5b3fad=_0xb65e71[_0x44542f])&&(_0x59cd46=(_0xc7a022?_0x5b3fad(_0x577b54,_0x148012,_0x59cd46):_0x5b3fad(_0x59cd46))||_0x59cd46);return _0xc7a022&&_0x59cd46&&_0x150486(_0x577b54,_0x148012,_0x59cd46),_0x59cd46;},_0x14bfe0=(_0x384b21,_0x5d01aa)=>(_0x55c899,_0x3932f2)=>_0x5d01aa(_0x55c899,_0x3932f2,_0x384b21);const _0x362c52=_0x1b0b97[_0x57b479(0x1a9)](_0x57b479(0x341));function _0x5af867(_0x3a8579,_0x497b67,_0x2191fa){var _0x4a147a=_0x57b479;return _0x3a8579+'/'+_0x497b67+_0x4a147a(0x4b6)+_0x2191fa+_0x4a147a(0x47d);}_0x267f17[_0x57b479(0x2a8)]=class extends _0x1b0b97[_0x57b479(0x40f)]{constructor(_0x39c21c,_0x367535,_0x972f64,_0x15b4ed,_0x48e980){var _0x49227=_0x57b479;super(),this[_0x49227(0x3dc)]=_0x39c21c,this['_http']=_0x367535,this['_configService']=_0x972f64,this[_0x49227(0x3b1)]=_0x15b4ed,this[_0x49227(0x2c8)]=_0x48e980;}[_0x57b479(0x27d)](_0x21543c){var _0xd11f2a=_0x57b479;const _0x4e4d20=this[_0xd11f2a(0x3dc)]['get'](_0x52daec['ISocketService']);if(!_0x4e4d20)throw new Error(_0xd11f2a(0x382));const _0x11f3ea=_0x4e4d20[_0xd11f2a(0x27d)](_0x21543c);if(!_0x11f3ea)throw new Error(_0xd11f2a(0x184));const _0x15cd73=new _0x1b0b97[(_0xd11f2a(0x445))](),_0x277137=new _0x427172[(_0xd11f2a(0x206))]();_0x15cd73['add'](_0x11f3ea[_0xd11f2a(0x221)][_0xd11f2a(0x3aa)](_0x128d47=>_0x277137[_0xd11f2a(0x40e)](_0x128d47))),_0x15cd73[_0xd11f2a(0x224)](_0x1b0b97[_0xd11f2a(0x237)](()=>_0x277137['complete']()));const _0x2180d6=new _0x427172[(_0xd11f2a(0x206))]();_0x15cd73['add'](_0x11f3ea['error$']['subscribe'](_0x332cc8=>_0x2180d6[_0xd11f2a(0x40e)](_0x332cc8))),_0x15cd73[_0xd11f2a(0x224)](_0x1b0b97[_0xd11f2a(0x237)](()=>_0x2180d6[_0xd11f2a(0x3b5)]()));const _0x39e0a8=new _0x427172['Subject']();_0x15cd73[_0xd11f2a(0x224)](_0x11f3ea[_0xd11f2a(0x464)][_0xd11f2a(0x3aa)](_0x2e8b58=>{var _0x2b463b=_0xd11f2a;const _0x1ee2cd=_0x7eb481(_0x2e8b58);_0x39e0a8[_0x2b463b(0x40e)](_0x1ee2cd);})),_0x15cd73['add'](_0x1b0b97[_0xd11f2a(0x237)](()=>_0x39e0a8['complete']()));let _0x16f03a;const _0x49a653=()=>{var _0x112223=_0xd11f2a;_0x2180d6[_0x112223(0x40e)](new Event(_0x112223(0x3c4))),_0x277137[_0x112223(0x40e)](new CloseEvent(_0x112223(0x3c4))),_0x16f03a[_0x112223(0x1dd)]();};return _0x16f03a={'memberID':'','close$':_0x277137[_0xd11f2a(0x2ae)](),'error$':_0x2180d6[_0xd11f2a(0x2ae)](),'open$':_0x11f3ea['open$'],'message$':_0x39e0a8['asObservable'](),'send':_0x49aec0=>{var _0x1a04ce=_0xd11f2a;if(_0x49aec0[_0x1a04ce(0x1d9)]===_0x2c690a[_0x1a04ce(0x4d8)]){if(_0x49aec0[_0x1a04ce(0x29b)][_0x1a04ce(0x4d9)]===_0x4f5b98[_0x1a04ce(0x4f6)][_0x1a04ce(0x1c9)]){this[_0x1a04ce(0x497)](_0x16f03a,_0x49aec0[_0x1a04ce(0x29b)])[_0x1a04ce(0x1b8)](_0x52e320=>{var _0x48bb75=_0x1a04ce;this[_0x48bb75(0x3b1)][_0x48bb75(0x4b7)](_0x52e320),_0x49a653();});return;}if(_0x49aec0[_0x1a04ce(0x29b)]['eventID']===_0x4f5b98[_0x1a04ce(0x4f6)]['FETCH_MISSING']){const _0x21ce39=_0x49aec0['data'];this['_fetchMissChangesets'](_0x21ce39)['then'](_0x2c1698=>{var _0x32f2cb=_0x1a04ce;_0x39e0a8[_0x32f2cb(0x40e)]({'cmd':_0x2c690a[_0x32f2cb(0x270)],'code':_0x287c06['OK'],'routeKey':_0x21ce39[_0x32f2cb(0x29b)]['unitID'],'routeType':'','data':{'eventID':_0x4f5b98['CollaborationEvent'][_0x32f2cb(0x2df)],'data':{'changesets':_0x2c1698}}});})[_0x1a04ce(0x1b8)](_0x6fc042=>{var _0x183f5f=_0x1a04ce;this[_0x183f5f(0x3b1)][_0x183f5f(0x4b7)](_0x6fc042),_0x49a653();});return;}}_0x11f3ea[_0x1a04ce(0x3e8)](_0x42688e(_0x49aec0));},'close':()=>{var _0x1396b1=_0xd11f2a;_0x11f3ea[_0x1396b1(0x1dd)](),_0x15cd73['dispose']();}},_0x16f03a;}async[_0x57b479(0x497)](_0x19069c,_0x4b9ce9){var _0x136254=_0x57b479,_0x397097,_0xe66e1;const {unitType:_0x45c0cb,unitID:_0x5003f5,changeset:_0x30c6a5}=_0x4b9ce9['data'],_0x54710c={'unitID':_0x5003f5,'memberID':_0x19069c[_0x136254(0x1b1)],'type':_0x45c0cb,'changeset':_0x4f5b98[_0x136254(0x4a6)](_0x30c6a5)},_0xec2b42=this[_0x136254(0x23a)][_0x136254(0x35e)](_0x29b858),_0x49e2d9=this[_0x136254(0x23a)]['getConfig'](_0x4bdd65),_0x34f579=_0x5af867((_0xe66e1=(_0x397097=_0x49e2d9==null?void 0x0:_0x49e2d9['collabSubmitChangesetUrl'])!=null?_0x397097:_0xec2b42)!=null?_0xe66e1:_0x311aae,_0x45c0cb,_0x5003f5);try{await this[_0x136254(0x260)][_0x136254(0x3f2)](_0x34f579,{'body':_0x54710c});}catch(_0x17d048){throw this['_logService'][_0x136254(0x4b7)](_0x136254(0x372),_0x136254(0x2ce)),_0x17d048;}}async[_0x57b479(0x44d)](_0x512164){var _0x2fe864=_0x57b479;const {unitID:_0x138f6d,from:_0x5d302d,to:_0x559499,unitType:_0x56edc0}=_0x512164['data'];return(await this[_0x2fe864(0x2c8)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x138f6d,'type':_0x56edc0,'from':_0x5d302d,'to':_0x559499}))[_0x2fe864(0x1fa)];}},_0x267f17['CollaborationSocketService']=_0x53c2db([_0x14bfe0(0x0,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97[_0x57b479(0x397)])),_0x14bfe0(0x1,_0x1b0b97['Inject'](_0x52daec[_0x57b479(0x230)])),_0x14bfe0(0x2,_0x1b0b97[_0x57b479(0x4e0)]),_0x14bfe0(0x3,_0x1b0b97[_0x57b479(0x40d)]),_0x14bfe0(0x4,_0x4f5b98[_0x57b479(0x20f)])],_0x267f17[_0x57b479(0x2a8)]);const _0x2e08a8=_0x57b479(0x42b);function _0x15bc81(_0x3eb4bd){var _0xbe4610=_0x57b479;return JSON[_0xbe4610(0x28d)](_0x3eb4bd)['length'];}class _0x3ac859{constructor(){var _0x4cccad=_0x57b479;_0x584dc2(this,'_commentUpdate$',new _0x427172[(_0x4cccad(0x206))]()),_0x584dc2(this,_0x4cccad(0x30f),this['_commentUpdate$'][_0x4cccad(0x2ae)]());}['onCommentUpdate'](_0x3fe9c6){var _0x5445b3=_0x57b479;this[_0x5445b3(0x4a9)][_0x5445b3(0x40e)](_0x3fe9c6);}}var _0x723747=Object['defineProperty'],_0x2c1ada=Object['getOwnPropertyDescriptor'],_0x19b76=(_0x3ce386,_0x26b63f,_0x370791,_0x2e5fc9)=>{for(var _0x18e832=_0x2e5fc9>0x1?void 0x0:_0x2e5fc9?_0x2c1ada(_0x26b63f,_0x370791):_0x26b63f,_0x4878e7=_0x3ce386['length']-0x1,_0x4c216b;_0x4878e7>=0x0;_0x4878e7--)(_0x4c216b=_0x3ce386[_0x4878e7])&&(_0x18e832=(_0x2e5fc9?_0x4c216b(_0x26b63f,_0x370791,_0x18e832):_0x4c216b(_0x18e832))||_0x18e832);return _0x2e5fc9&&_0x18e832&&_0x723747(_0x26b63f,_0x370791,_0x18e832),_0x18e832;},_0x2b811c=(_0x3e70d0,_0x541e7a)=>(_0x466eed,_0x6a551a)=>_0x541e7a(_0x466eed,_0x6a551a,_0x3e70d0);_0x267f17[_0x57b479(0x1a6)]=class extends _0x1b0b97[_0x57b479(0x40f)]{constructor(_0x42c8ea,_0x3f8508){var _0x5c0103=_0x57b479;super(),_0x584dc2(this,_0x5c0103(0x26d),new Map()),_0x584dc2(this,_0x5c0103(0x1bf),new _0x427172[(_0x5c0103(0x206))]()),(this[_0x5c0103(0x198)]=_0x42c8ea,this[_0x5c0103(0x251)]=_0x3f8508,this['disposeWithMe'](_0x427172['merge'](this[_0x5c0103(0x198)][_0x5c0103(0x38f)](_0x1b0b97['UniverInstanceType'][_0x5c0103(0x2f7)])['pipe'](_0xeec3f8['map'](_0x4e7f54=>_0x4e7f54[_0x5c0103(0x2a2)]())),this[_0x5c0103(0x198)]['getTypeOfUnitDisposed$'](_0x1b0b97[_0x5c0103(0x4c7)][_0x5c0103(0x351)])[_0x5c0103(0x31f)](_0xeec3f8['map'](_0x31f042=>_0x31f042[_0x5c0103(0x2a2)]())),this[_0x5c0103(0x198)][_0x5c0103(0x38f)](_0x1b0b97['UniverInstanceType']['UNIVER_SLIDE'])['pipe'](_0xeec3f8[_0x5c0103(0x4ca)](_0x9942da=>_0x9942da[_0x5c0103(0x2a2)]())))['subscribe'](_0x52635e=>this[_0x5c0103(0x342)](_0x52635e))));}[_0x57b479(0x1af)](_0x409ce3){var _0xeffe9a=_0x57b479;return this['_roomMembers'][_0xeffe9a(0x264)](_0x409ce3)?_0x427172['of'](this[_0xeffe9a(0x26d)][_0xeffe9a(0x1f7)](_0x409ce3)):this[_0xeffe9a(0x1bf)][_0xeffe9a(0x31f)](_0xeec3f8[_0xeffe9a(0x4ca)](_0x3cc257=>{var _0x5bdbd0=_0xeffe9a;if(_0x3cc257===_0x409ce3)return this[_0x5bdbd0(0x26d)]['get'](_0x3cc257);}));}[_0x57b479(0x22f)](_0xe38974){var _0x8c0164=_0x57b479;this['_userManagerService'][_0x8c0164(0x22f)](_0xe38974);}[_0x57b479(0x2f8)](){var _0x449b43=_0x57b479;return this['_userManagerService'][_0x449b43(0x2f8)]();}['updateMember'](_0x5e6878,_0x3ef4d8){var _0x308fe9=_0x57b479;let _0x5c18fa=this[_0x308fe9(0x26d)]['get'](_0x5e6878);_0x5c18fa||(_0x5c18fa=new _0x106912(),this[_0x308fe9(0x26d)][_0x308fe9(0x300)](_0x5e6878,_0x5c18fa),this[_0x308fe9(0x1bf)]['next'](_0x5e6878)),_0x5c18fa[_0x308fe9(0x483)](_0x3ef4d8);}[_0x57b479(0x4b2)](_0x3cff90,_0x311fbf){var _0x4804a7=_0x57b479;const _0x17ad80=this['_roomMembers'][_0x4804a7(0x1f7)](_0x3cff90);_0x17ad80&&_0x17ad80['removeMember'](_0x311fbf);}[_0x57b479(0x4b0)](_0x17917c){var _0xf476a7=_0x57b479;return this['_roomMembers'][_0xf476a7(0x1f7)](_0x17917c);}['getMember'](_0x37c42a,_0x485890){var _0x5b3994=_0x57b479;const _0x53aba9=this['_roomMembers'][_0x5b3994(0x1f7)](_0x37c42a);if(_0x53aba9)return _0x53aba9[_0x5b3994(0x1e7)](_0x485890);}[_0x57b479(0x342)](_0x20d5d7){var _0x50f0ed=_0x57b479;const _0xff41ae=this['_roomMembers']['get'](_0x20d5d7);_0xff41ae&&(_0xff41ae['dispose'](),this['_roomMembers'][_0x50f0ed(0x1ac)](_0x20d5d7));}[_0x57b479(0x282)](){var _0x1c95fe=_0x57b479;this[_0x1c95fe(0x26d)][_0x1c95fe(0x25d)](_0x5944b3=>_0x5944b3[_0x1c95fe(0x282)]()),this[_0x1c95fe(0x26d)][_0x1c95fe(0x36f)](),this[_0x1c95fe(0x1bf)][_0x1c95fe(0x3b5)]();}},_0x267f17['MemberService']=_0x19b76([_0x2b811c(0x0,_0x1b0b97[_0x57b479(0x381)]),_0x2b811c(0x1,_0x1b0b97['Inject'](_0x1b0b97['UserManagerService']))],_0x267f17[_0x57b479(0x1a6)]);class _0x106912 extends _0x1b0b97[_0x57b479(0x40f)]{constructor(){var _0x140225=_0x57b479;super(...arguments),_0x584dc2(this,_0x140225(0x4bf),new Map()),_0x584dc2(this,_0x140225(0x1b5),new _0x427172[(_0x140225(0x1e4))](this[_0x140225(0x4bf)])),_0x584dc2(this,_0x140225(0x2cf),this[_0x140225(0x1b5)]['asObservable']());}[_0x57b479(0x282)](){var _0x5326de=_0x57b479;this[_0x5326de(0x4bf)][_0x5326de(0x36f)]();}['updateMember'](_0x46265e){var _0x324ca6=_0x57b479;this['_members'][_0x324ca6(0x300)](_0x46265e['memberID'],_0x46265e),this[_0x324ca6(0x498)]();}[_0x57b479(0x4b2)](_0x22851b){var _0x125ea9=_0x57b479;this[_0x125ea9(0x4bf)][_0x125ea9(0x1ac)](_0x22851b);}[_0x57b479(0x1e7)](_0x36d652){var _0x5027fe=_0x57b479;return this[_0x5027fe(0x4bf)][_0x5027fe(0x1f7)](_0x36d652);}[_0x57b479(0x23f)](){var _0x269207=_0x57b479;return Array['from'](this[_0x269207(0x4bf)][_0x269207(0x3bf)]());}[_0x57b479(0x498)](){var _0x5ef2fb=_0x57b479;this[_0x5ef2fb(0x1b5)]['next'](this[_0x5ef2fb(0x4bf)]);}}var _0x46e352=Object['defineProperty'],_0x37fdbe=Object['getOwnPropertyDescriptor'],_0x58f76e=(_0x597d72,_0x49bc5d,_0x18a594,_0x415f4b)=>{var _0x51ac73=_0x57b479;for(var _0x3444f2=_0x415f4b>0x1?void 0x0:_0x415f4b?_0x37fdbe(_0x49bc5d,_0x18a594):_0x49bc5d,_0x234ed2=_0x597d72[_0x51ac73(0x1df)]-0x1,_0x2a2db2;_0x234ed2>=0x0;_0x234ed2--)(_0x2a2db2=_0x597d72[_0x234ed2])&&(_0x3444f2=(_0x415f4b?_0x2a2db2(_0x49bc5d,_0x18a594,_0x3444f2):_0x2a2db2(_0x3444f2))||_0x3444f2);return _0x415f4b&&_0x3444f2&&_0x46e352(_0x49bc5d,_0x18a594,_0x3444f2),_0x3444f2;},_0x2daca6=(_0x1042e9,_0x18ad57)=>(_0x140e5b,_0x30a65f)=>_0x18ad57(_0x140e5b,_0x30a65f,_0x1042e9),_0x397593=(_0x28b367=>(_0x28b367[_0x28b367['IDLE']=0x0]=_0x57b479(0x278),_0x28b367[_0x28b367['JOINING']=0x1]=_0x57b479(0x488),_0x28b367[_0x28b367[_0x57b479(0x3f3)]=0x2]='OFFLINE',_0x28b367[_0x28b367[_0x57b479(0x38c)]=0x3]=_0x57b479(0x38c),_0x28b367))(_0x397593||{});const _0x19f3f0={[_0x287c06[_0x57b479(0x175)]]:_0x57b479(0x330),[_0x287c06[_0x57b479(0x1ca)]]:'session.room-full',[_0x287c06[_0x57b479(0x35f)]]:_0x57b479(0x396),[_0x287c06[_0x57b479(0x4e8)]]:_0x57b479(0x1b0),[_0x287c06['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};_0x267f17[_0x57b479(0x275)]=class extends _0x1b0b97[_0x57b479(0x355)]{constructor(_0x1b1332,_0x60d1ce,_0xd33133,_0xaaa51f,_0x2a6ab4,_0x2fcc4b,_0x4cab8d,_0x243176,_0x3c3c66){var _0x116500=_0x57b479;super(),_0x584dc2(this,_0x116500(0x33f),new _0x427172['BehaviorSubject'](0x0)),_0x584dc2(this,_0x116500(0x390),this[_0x116500(0x33f)][_0x116500(0x2ae)]()),_0x584dc2(this,_0x116500(0x272),new _0x427172[(_0x116500(0x206))]()),_0x584dc2(this,_0x116500(0x27a),this[_0x116500(0x272)]['asObservable']()),_0x584dc2(this,_0x116500(0x37b)),_0x584dc2(this,_0x116500(0x3ab)),_0x584dc2(this,_0x116500(0x391)),_0x584dc2(this,_0x116500(0x323),!0x1),_0x584dc2(this,'_telemetryInfo',null),(this[_0x116500(0x3ce)]=_0x1b1332,this['_logService']=_0xd33133,this[_0x116500(0x23a)]=_0xaaa51f,this[_0x116500(0x1be)]=_0x2a6ab4,this[_0x116500(0x31a)]=_0x2fcc4b,this[_0x116500(0x1e1)]=_0x4cab8d,this['_collaborationUIEventService']=_0x243176,this[_0x116500(0x2c7)]=_0x3c3c66,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x60d1ce[_0x116500(0x31f)](_0x427172[_0x116500(0x3c7)](this['dispose$']))[_0x116500(0x3aa)](_0x1aa95e=>{var _0x478f67=_0x116500,_0xb1090f;typeof _0x1aa95e>'u'||(this[_0x478f67(0x37b)]=_0x1aa95e,_0x1aa95e?(this[_0x478f67(0x17f)](_0x1aa95e),this[_0x478f67(0x3ab)]=_0x1aa95e[_0x478f67(0x464)]['subscribe'](_0x360fc1=>{_0x360fc1['routeKey']===this['_unitID']&&this['_onCombEvent'](_0x360fc1);})):(this[_0x478f67(0x223)](),this[_0x478f67(0x33f)][_0x478f67(0x40e)](0x2),(_0xb1090f=this['_socketMessageSubscription'])==null||_0xb1090f[_0x478f67(0x345)](),this[_0x478f67(0x3ab)]=null));}));}get[_0x57b479(0x2f4)](){var _0x5f4abb=_0x57b479;return this['_sessionStatus$'][_0x5f4abb(0x47b)]();}[_0x57b479(0x415)](){var _0x24e88d=_0x57b479,_0x40b70c,_0x3d36a2;return(_0x3d36a2=(_0x40b70c=this[_0x24e88d(0x37b)])==null?void 0x0:_0x40b70c[_0x24e88d(0x1b1)])!=null?_0x3d36a2:null;}['dispose'](){var _0x17fb50=_0x57b479;super[_0x17fb50(0x282)](),this[_0x17fb50(0x406)][_0x17fb50(0x40e)](),this[_0x17fb50(0x406)]['complete']();}[_0x57b479(0x1dd)](){var _0x12dca2=_0x57b479,_0x3807ac,_0xde84ad;this[_0x12dca2(0x223)](),(_0x3807ac=this['_socket'])==null||_0x3807ac['send']({'cmd':_0x2c690a['LEAVE'],'data':{'roomID':this[_0x12dca2(0x3ce)]}}),(_0xde84ad=this[_0x12dca2(0x37b)])==null||_0xde84ad['close'](),this[_0x12dca2(0x272)][_0x12dca2(0x3b5)](),this[_0x12dca2(0x33f)]['complete'](),this[_0x12dca2(0x282)]();}[_0x57b479(0x4a4)](_0x46755f){var _0x21c02d=_0x57b479;_0x46755f[_0x21c02d(0x1d9)]===_0x2c690a['JOIN']?this[_0x21c02d(0x365)](_0x46755f):_0x46755f[_0x21c02d(0x1d9)]===_0x2c690a[_0x21c02d(0x270)]&&this[_0x21c02d(0x19a)](_0x46755f);}[_0x57b479(0x17f)](_0x239611){var _0x5c070f=_0x57b479;this[_0x5c070f(0x33f)][_0x5c070f(0x40e)](0x1),_0x239611[_0x5c070f(0x3e8)]({'cmd':_0x2c690a[_0x5c070f(0x1b9)],'routeKey':this[_0x5c070f(0x3ce)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5c070f(0x3ce)]}]}});}[_0x57b479(0x365)](_0x494bf7){var _0x247a4f=_0x57b479,_0x3de421;if(_0x494bf7['code']in _0x19f3f0){this[_0x247a4f(0x340)][_0x247a4f(0x402)]({'id':_0x864ea4[_0x247a4f(0x1f6)],'data':_0x19f3f0[_0x494bf7[_0x247a4f(0x3b0)]]}),this[_0x247a4f(0x33f)]['next'](0x2);return;}this['_sessionStatus$'][_0x247a4f(0x40e)](0x3);const _0x13c7f1=(_0x3de421=_0x494bf7['data'][_0x247a4f(0x2e5)][this[_0x247a4f(0x3ce)]])==null?void 0x0:_0x3de421['members'];_0x13c7f1&&_0x13c7f1[_0x247a4f(0x25d)](_0x386714=>this[_0x247a4f(0x31a)][_0x247a4f(0x483)](this[_0x247a4f(0x3ce)],_0x386714));}['_onRecvEvent'](_0x59ed2a){var _0xc459c=_0x57b479;try{const _0x331c9c=_0x59ed2a[_0xc459c(0x29b)];switch(_0x331c9c[_0xc459c(0x4d9)]){case _0x4f5b98[_0xc459c(0x4f6)]['USERS_ENTER']:this[_0xc459c(0x240)](_0x331c9c),this['_event$'][_0xc459c(0x40e)](_0x331c9c);break;case _0x4f5b98['CollaborationEvent'][_0xc459c(0x4c3)]:this[_0xc459c(0x364)](_0x331c9c),this[_0xc459c(0x272)]['next'](_0x331c9c);break;case _0x4f5b98['CollaborationEvent'][_0xc459c(0x23d)]:case _0x4f5b98['CollaborationEvent'][_0xc459c(0x1ea)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0xc459c(0x40e)](_0x331c9c);break;case _0x4f5b98[_0xc459c(0x4f6)][_0xc459c(0x35c)]:this[_0xc459c(0x3b1)][_0xc459c(0x4b7)]('save\x20fail\x20reason\x20is\x20'+JSON[_0xc459c(0x28d)](_0x331c9c)),this['_event$'][_0xc459c(0x40e)](_0x331c9c);break;case _0x4f5b98[_0xc459c(0x4f6)][_0xc459c(0x285)]:this[_0xc459c(0x1e1)][_0xc459c(0x42c)](_0x331c9c['data']),this[_0xc459c(0x272)][_0xc459c(0x40e)](_0x331c9c);break;default:this[_0xc459c(0x272)][_0xc459c(0x40e)](_0x331c9c);}}catch(_0x417d74){this[_0xc459c(0x3b1)][_0xc459c(0x4b7)](_0x417d74,_0x59ed2a);}}[_0x57b479(0x240)](_0x1f422f){var _0x3c5ec0=_0x57b479;this[_0x3c5ec0(0x31a)][_0x3c5ec0(0x483)](this[_0x3c5ec0(0x3ce)],_0x1f422f[_0x3c5ec0(0x29b)]);}[_0x57b479(0x364)](_0x443a01){var _0x206517=_0x57b479;this[_0x206517(0x31a)][_0x206517(0x4b2)](this['_unitID'],_0x443a01[_0x206517(0x29b)][_0x206517(0x1b1)]);}async[_0x57b479(0x3e8)](_0x43190c,_0x151818){var _0x553774=_0x57b479;if(this[_0x553774(0x2f4)]!==0x3||!this[_0x553774(0x37b)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x43190c[_0x553774(0x4d9)]===_0x4f5b98[_0x553774(0x4f6)][_0x553774(0x1c9)]&&(this[_0x553774(0x315)](),this[_0x553774(0x208)](_0x43190c)),this[_0x553774(0x37b)][_0x553774(0x3e8)]({'cmd':_0x2c690a[_0x553774(0x4d8)],'routeKey':_0x151818,'routeType':'','data':_0x43190c});}catch(_0x37cc86){this[_0x553774(0x3b1)]['error'](_0x37cc86);}}[_0x57b479(0x315)](){var _0x58b635=_0x57b479,_0xa618b5;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4d66dc=_0x4759;this[_0x4d66dc(0x391)]=null,this[_0x4d66dc(0x340)][_0x4d66dc(0x402)]({'id':_0x864ea4[_0x4d66dc(0x3fe)]});},(_0xa618b5=this[_0x58b635(0x23a)][_0x58b635(0x35e)](_0xc96db6))!=null?_0xa618b5:0x4e20);}[_0x57b479(0x3cf)](){var _0x22fbc4=_0x57b479;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x22fbc4(0x391)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x58c64d){var _0x1ea203=_0x57b479;if(!this[_0x1ea203(0x323)])return;const {data:_0x2c744e}=_0x58c64d,{unitID:_0x278e3f,changeset:_0x4ca55d}=_0x2c744e,{mutations:_0x242eef,type:_0x1c79c8}=_0x4ca55d;this['_telemetryInfo']={'unitId':_0x278e3f,'type':_0x1c79c8,'startTime':performance[_0x1ea203(0x335)](),'stopTime':0x0,'duration':0x0,'size':_0x15bc81(_0x242eef)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x52ccce=_0x57b479;if(this['_shouldReportTelemetry']){if(!this[_0x52ccce(0x339)]){this['_logService']['error'](_0x52ccce(0x372),_0x52ccce(0x274));return;}this[_0x52ccce(0x339)][_0x52ccce(0x2b2)]=performance[_0x52ccce(0x335)](),this['_telemetryInfo'][_0x52ccce(0x3b3)]=this['_telemetryInfo'][_0x52ccce(0x2b2)]-this[_0x52ccce(0x339)][_0x52ccce(0x443)],this['_telemetryService'][_0x52ccce(0x465)](_0x2e08a8,this[_0x52ccce(0x339)]),this[_0x52ccce(0x339)]=null;}}[_0x57b479(0x223)](){var _0x4b4766=_0x57b479;this[_0x4b4766(0x339)]=null;}},_0x267f17[_0x57b479(0x275)]=_0x58f76e([_0x2daca6(0x2,_0x1b0b97[_0x57b479(0x40d)]),_0x2daca6(0x3,_0x1b0b97[_0x57b479(0x4e0)]),_0x2daca6(0x4,_0x1b0b97['Inject'](_0x1b0b97[_0x57b479(0x41e)])),_0x2daca6(0x5,_0x1b0b97[_0x57b479(0x36b)](_0x267f17['MemberService'])),_0x2daca6(0x6,_0x1b0b97['Inject'](_0x3ac859)),_0x2daca6(0x7,_0x1b0b97['Inject'](_0x442b4a)),_0x2daca6(0x8,_0x1b0b97['Optional'](_0x53dbb9[_0x57b479(0x405)]))],_0x267f17['CollaborationSession']);var _0x44f1c0=Object['defineProperty'],_0x28c1ec=Object[_0x57b479(0x298)],_0x5cbf18=(_0xf0439e,_0x53f4fd,_0x2603cf,_0x2c960f)=>{var _0x2e7dd4=_0x57b479;for(var _0x345f98=_0x2c960f>0x1?void 0x0:_0x2c960f?_0x28c1ec(_0x53f4fd,_0x2603cf):_0x53f4fd,_0x5b9481=_0xf0439e[_0x2e7dd4(0x1df)]-0x1,_0x37741c;_0x5b9481>=0x0;_0x5b9481--)(_0x37741c=_0xf0439e[_0x5b9481])&&(_0x345f98=(_0x2c960f?_0x37741c(_0x53f4fd,_0x2603cf,_0x345f98):_0x37741c(_0x345f98))||_0x345f98);return _0x2c960f&&_0x345f98&&_0x44f1c0(_0x53f4fd,_0x2603cf,_0x345f98),_0x345f98;},_0x375521=(_0x5b9027,_0x3cb2d8)=>(_0x29c3a8,_0x33dbdd)=>_0x3cb2d8(_0x29c3a8,_0x33dbdd,_0x5b9027);_0x267f17[_0x57b479(0x376)]=class extends _0x1b0b97['Disposable']{constructor(_0x6e9e7a,_0x1b9773,_0x501d17,_0x1d20d3,_0x5a14b8,_0x3b59dd,_0x4117cd){var _0x472a06=_0x57b479;super(),_0x584dc2(this,'_socket$',new _0x427172[(_0x472a06(0x1e4))](void 0x0)),_0x584dc2(this,_0x472a06(0x220),this[_0x472a06(0x212)]['asObservable']()),_0x584dc2(this,_0x472a06(0x22c),null),_0x584dc2(this,_0x472a06(0x45b),new Map()),_0x584dc2(this,_0x472a06(0x1ad),new _0x427172[(_0x472a06(0x1e4))](_0x397593['IDLE'])),_0x584dc2(this,_0x472a06(0x2f6),this[_0x472a06(0x1ad)]['asObservable']()),_0x584dc2(this,_0x472a06(0x262),!0x1),_0x584dc2(this,'_retryConnectingTimer'),_0x584dc2(this,_0x472a06(0x2d7),0x0),_0x584dc2(this,_0x472a06(0x1e2)),_0x584dc2(this,'_timeoutTimer'),(this[_0x472a06(0x3dc)]=_0x6e9e7a,this[_0x472a06(0x3b1)]=_0x1b9773,this['_configService']=_0x501d17,this[_0x472a06(0x49c)]=_0x1d20d3,this[_0x472a06(0x192)]=_0x5a14b8,this[_0x472a06(0x340)]=_0x3b59dd,this[_0x472a06(0x3b7)]=_0x4117cd,this[_0x472a06(0x480)]());}get[_0x57b479(0x37b)](){var _0x3eeb54=_0x57b479;return this['_socket$'][_0x3eeb54(0x47b)]();}['_listenToNetworkCondition'](){var _0x4a3cc1=_0x57b479;this['_networkConditionService']&&this[_0x4a3cc1(0x2b9)](this[_0x4a3cc1(0x3b7)][_0x4a3cc1(0x431)][_0x4a3cc1(0x3aa)](_0x5f53a4=>{var _0x5bfb75=_0x4a3cc1;_0x5f53a4&&!this[_0x5bfb75(0x37b)]&&this['reconnect'](),_0x5f53a4||this[_0x5bfb75(0x2ab)]();}));}[_0x57b479(0x282)](){var _0x3656be=_0x57b479;super[_0x3656be(0x282)](),this['_sessions']['forEach'](_0x3b7525=>_0x3b7525[_0x3656be(0x282)]()),this[_0x3656be(0x45b)]['clear'](),this[_0x3656be(0x1ad)][_0x3656be(0x3b5)]();}async[_0x57b479(0x243)](_0x3683a7){var _0x58b49f=_0x57b479;if(this[_0x58b49f(0x45b)]['has'](_0x3683a7))return this[_0x58b49f(0x45b)][_0x58b49f(0x1f7)](_0x3683a7);this[_0x58b49f(0x2cc)]();const _0x5aec2c=this[_0x58b49f(0x3dc)]['createInstance'](_0x267f17[_0x58b49f(0x275)],_0x3683a7,this['_socket$'][_0x58b49f(0x2ae)]());return this[_0x58b49f(0x45b)][_0x58b49f(0x300)](_0x3683a7,_0x5aec2c),_0x5aec2c;}['closeSession'](_0x3dd29b){var _0x1f4a98=_0x57b479,_0x3f6da5;const _0x602721=this['_sessions'][_0x1f4a98(0x1f7)](_0x3dd29b);_0x602721&&(this['_sessions'][_0x1f4a98(0x1ac)](_0x3dd29b),_0x602721['close']()),this[_0x1f4a98(0x45b)][_0x1f4a98(0x20d)]||(_0x3f6da5=this['_socket'])==null||_0x3f6da5[_0x1f4a98(0x1dd)]();}['reconnect'](){var _0x26cf4e=_0x57b479;this['_retryCount']=0x0,this[_0x26cf4e(0x326)]!=null&&(clearTimeout(this[_0x26cf4e(0x326)]),this[_0x26cf4e(0x326)]=null),this['_tryReconnect']();}async['_getSessionTicket'](){var _0x351ec4=_0x57b479,_0x4e3d2a,_0x2048f7,_0xc7d9f3;const _0x642dca=this[_0x351ec4(0x23a)][_0x351ec4(0x35e)](_0x4bdd65),_0x13cd4b=(_0x4e3d2a=_0x642dca==null?void 0x0:_0x642dca[_0x351ec4(0x360)])!=null?_0x4e3d2a:_0x4c7e37;return(_0xc7d9f3=(_0x2048f7=(await this[_0x351ec4(0x192)][_0x351ec4(0x1f7)](_0x13cd4b,{'headers':{'Content-Type':_0x351ec4(0x257)}}))[_0x351ec4(0x17b)])==null?void 0x0:_0x2048f7[_0x351ec4(0x2bd)])!=null?_0xc7d9f3:'';}[_0x57b479(0x3d0)](_0x21cedc){var _0x37318d=_0x57b479,_0x57acac,_0x3b539c;const _0x22f10d=this['_configService'][_0x37318d(0x35e)](_0x24045a),_0x5f3480=this[_0x37318d(0x23a)][_0x37318d(0x35e)](_0x4bdd65),_0x59fbdd=(_0x3b539c=(_0x57acac=_0x5f3480==null?void 0x0:_0x5f3480[_0x37318d(0x3af)])!=null?_0x57acac:_0x22f10d)!=null?_0x3b539c:_0x19d529,_0x2a12e8=typeof window>'u'?new URL(_0x59fbdd):new URL(_0x59fbdd,window[_0x37318d(0x48e)][_0x37318d(0x1a2)]);_0x2a12e8[_0x37318d(0x403)][_0x37318d(0x300)](_0x37318d(0x3db),_0x21cedc);const _0x194f70=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x37318d(0x48e)][_0x37318d(0x4c6)]);return _0x194f70[_0x37318d(0x1f7)](_0x37318d(0x3f6))&&_0x2a12e8[_0x37318d(0x403)][_0x37318d(0x300)](_0x37318d(0x3f6),_0x194f70[_0x37318d(0x1f7)](_0x37318d(0x3f6))),_0x2a12e8[_0x37318d(0x3f7)]();}async[_0x57b479(0x43c)](){var _0x58432f=_0x57b479;const _0x2bdcd0=await this[_0x58432f(0x484)](),_0x214b73=this[_0x58432f(0x3d0)](_0x2bdcd0),_0xe638d8=this[_0x58432f(0x49c)][_0x58432f(0x27d)](_0x214b73);return this[_0x58432f(0x22c)]=_0xe638d8,_0xe638d8;}async[_0x57b479(0x2cc)](){var _0x108bb3=_0x57b479,_0x15d1d,_0x594931;try{const _0x1399c9=(_0x594931=(_0x15d1d=this['_socket'])!=null?_0x15d1d:this['_candidateSocket'])!=null?_0x594931:await this[_0x108bb3(0x43c)]();if(_0x1399c9){const _0x4ae6e9=_0x1399c9['send'];_0x1399c9[_0x108bb3(0x3e8)]=_0x157768=>(this['_rescheduleHeartbeat'](),_0x4ae6e9[_0x108bb3(0x1cb)](_0x1399c9,[_0x157768])),_0x1399c9[_0x108bb3(0x464)][_0x108bb3(0x3aa)](_0x2656b9=>this['_onMessage'](_0x1399c9,_0x2656b9)),_0x1399c9[_0x108bb3(0x2e1)][_0x108bb3(0x31f)](_0xeec3f8[_0x108bb3(0x239)](0x1))[_0x108bb3(0x3aa)](_0x21e766=>this[_0x108bb3(0x3b1)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x21e766)),_0x1399c9[_0x108bb3(0x4ea)]['pipe'](_0xeec3f8[_0x108bb3(0x239)](0x1))[_0x108bb3(0x3aa)](()=>{this['_onConnectionOpen'](_0x1399c9);}),_0x1399c9['close$'][_0x108bb3(0x31f)](_0xeec3f8[_0x108bb3(0x239)](0x1))['subscribe'](_0x3f034d=>{var _0x2cc85c=_0x108bb3;this[_0x2cc85c(0x3b1)][_0x2cc85c(0x1c3)](_0x2cc85c(0x2c2),_0x2cc85c(0x216),_0x3f034d),this[_0x2cc85c(0x2fb)]();});}}catch(_0x1dc36d){this[_0x108bb3(0x3b1)][_0x108bb3(0x4b7)](_0x1dc36d),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x21a521){var _0x48bd27=_0x57b479;this[_0x48bd27(0x3b1)][_0x48bd27(0x1c3)](_0x48bd27(0x2c2),_0x48bd27(0x283)),_0x21a521[_0x48bd27(0x3e8)]({'cmd':_0x2c690a[_0x48bd27(0x2a0)]}),this[_0x48bd27(0x48b)]();}['_onOffline'](){var _0x28efe3=_0x57b479;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x28efe3(0x1ad)][_0x28efe3(0x40e)](_0x397593['OFFLINE']),this[_0x28efe3(0x212)][_0x28efe3(0x40e)](null),this[_0x28efe3(0x380)](),this['_clearHeartbeatTimer']();}[_0x57b479(0x2fb)](){var _0x33d1ab=_0x57b479,_0x6e2010;this['_onOffline'](),this[_0x33d1ab(0x2d7)]<((_0x6e2010=this[_0x33d1ab(0x23a)][_0x33d1ab(0x35e)](_0xe4b788))!=null?_0x6e2010:0x3)?(this['_collaborationUIEventService'][_0x33d1ab(0x402)]({'id':_0x864ea4[_0x33d1ab(0x2ca)]}),this['_tryReconnect']()):this['_collaborationUIEventService']['emitEvent']({'id':_0x864ea4[_0x33d1ab(0x18e)]});}[_0x57b479(0x4ee)](){var _0x41597b=_0x57b479,_0x4a00c5;const _0x18401e=this[_0x41597b(0x2d7)],_0x269f42=this[_0x41597b(0x23a)][_0x41597b(0x35e)](_0x4bdd65),_0x4b8bdf=_0x18401e===0x0?0x0:((_0x4a00c5=_0x269f42==null?void 0x0:_0x269f42['retryConnectingInterval'])!=null?_0x4a00c5:0x4e20)*0x2**_0x18401e;this[_0x41597b(0x326)]=setTimeout(()=>{var _0x3be7f3=_0x41597b;clearTimeout(this[_0x3be7f3(0x326)]),this[_0x3be7f3(0x326)]=null,this[_0x3be7f3(0x2cc)]();},_0x4b8bdf),this['_retryCount']+=0x1;}['_onMessage'](_0x48b661,_0x2b55c6){var _0x35631f=_0x57b479;const {cmd:_0x3bc95a}=_0x2b55c6;_0x3bc95a===_0x2c690a[_0x35631f(0x2a0)]&&!this[_0x35631f(0x262)]&&(_0x48b661['memberID']=_0x2b55c6['data']['memberID'],this[_0x35631f(0x212)][_0x35631f(0x40e)](_0x48b661),this[_0x35631f(0x1ad)][_0x35631f(0x40e)](_0x397593[_0x35631f(0x38c)]),this[_0x35631f(0x262)]=!0x0,this[_0x35631f(0x22c)]=null),_0x3bc95a===_0x2c690a['HEARTBEAT']&&this[_0x35631f(0x380)](),this[_0x35631f(0x48b)]();}[_0x57b479(0x48b)](){var _0x30a2da=_0x57b479,_0x3e6438;this['_clearHeartbeatTimer'](),this[_0x30a2da(0x1e2)]=setTimeout(()=>this[_0x30a2da(0x371)](),(_0x3e6438=this[_0x30a2da(0x23a)]['getConfig'](_0xf4cc1e))!=null?_0x3e6438:0x7530);}[_0x57b479(0x371)](){var _0x4f7eb6=_0x57b479;this['_socket'][_0x4f7eb6(0x3e8)]({'cmd':_0x2c690a[_0x4f7eb6(0x38d)]}),this[_0x4f7eb6(0x234)]();}[_0x57b479(0x234)](){var _0x1e10e3=_0x57b479,_0x50059a;this[_0x1e10e3(0x3fd)]=setTimeout(()=>this[_0x1e10e3(0x2fb)](),(_0x50059a=this[_0x1e10e3(0x23a)][_0x1e10e3(0x35e)](_0xc96db6))!=null?_0x50059a:0x4e20);}['_clearHeartbeatTimer'](){var _0xfd21b=_0x57b479;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0xfd21b(0x1e2)]),this[_0xfd21b(0x1e2)]=null);}[_0x57b479(0x380)](){var _0x23e6e6=_0x57b479;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x23e6e6(0x3fd)]),this['_timeoutTimer']=null);}},_0x267f17[_0x57b479(0x376)]=_0x5cbf18([_0x375521(0x0,_0x1b0b97['Inject'](_0x1b0b97[_0x57b479(0x397)])),_0x375521(0x1,_0x1b0b97[_0x57b479(0x40d)]),_0x375521(0x2,_0x1b0b97['IConfigService']),_0x375521(0x3,_0x362c52),_0x375521(0x4,_0x1b0b97[_0x57b479(0x36b)](_0x52daec[_0x57b479(0x230)])),_0x375521(0x5,_0x1b0b97[_0x57b479(0x36b)](_0x442b4a)),_0x375521(0x6,_0x1b0b97['Optional'](_0x5f40d3))],_0x267f17['CollaborationSessionService']);const _0x5b13ce=[];for(let _0xfff52f=0x0;_0xfff52f<0x100;++_0xfff52f)_0x5b13ce[_0x57b479(0x37d)]((_0xfff52f+0x100)['toString'](0x10)[_0x57b479(0x4f0)](0x1));function _0x26f054(_0x6c9294,_0x4352e4=0x0){var _0x2067d7=_0x57b479;return(_0x5b13ce[_0x6c9294[_0x4352e4+0x0]]+_0x5b13ce[_0x6c9294[_0x4352e4+0x1]]+_0x5b13ce[_0x6c9294[_0x4352e4+0x2]]+_0x5b13ce[_0x6c9294[_0x4352e4+0x3]]+'-'+_0x5b13ce[_0x6c9294[_0x4352e4+0x4]]+_0x5b13ce[_0x6c9294[_0x4352e4+0x5]]+'-'+_0x5b13ce[_0x6c9294[_0x4352e4+0x6]]+_0x5b13ce[_0x6c9294[_0x4352e4+0x7]]+'-'+_0x5b13ce[_0x6c9294[_0x4352e4+0x8]]+_0x5b13ce[_0x6c9294[_0x4352e4+0x9]]+'-'+_0x5b13ce[_0x6c9294[_0x4352e4+0xa]]+_0x5b13ce[_0x6c9294[_0x4352e4+0xb]]+_0x5b13ce[_0x6c9294[_0x4352e4+0xc]]+_0x5b13ce[_0x6c9294[_0x4352e4+0xd]]+_0x5b13ce[_0x6c9294[_0x4352e4+0xe]]+_0x5b13ce[_0x6c9294[_0x4352e4+0xf]])[_0x2067d7(0x1bc)]();}let _0x44014f;const _0x2ef4af=new Uint8Array(0x10);function _0x35c3a1(){var _0x404ef1=_0x57b479;if(!_0x44014f){if(typeof crypto>'u'||!crypto[_0x404ef1(0x48d)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x44014f=crypto[_0x404ef1(0x48d)][_0x404ef1(0x4b3)](crypto);}return _0x44014f(_0x2ef4af);}const _0x537073={'randomUUID':typeof crypto<'u'&&crypto[_0x57b479(0x2ac)]&&crypto['randomUUID'][_0x57b479(0x4b3)](crypto)};function _0x6b385a(_0x4356aa,_0x362e06,_0xa13538){var _0x5839ca=_0x57b479,_0x5420b8,_0x16fa0a,_0x44a01a;if(_0x537073[_0x5839ca(0x2ac)]&&!_0x4356aa)return _0x537073[_0x5839ca(0x2ac)]();_0x4356aa=_0x4356aa||{};const _0x52a895=(_0x44a01a=(_0x16fa0a=_0x4356aa[_0x5839ca(0x2ff)])!=null?_0x16fa0a:(_0x5420b8=_0x4356aa[_0x5839ca(0x2d4)])==null?void 0x0:_0x5420b8[_0x5839ca(0x248)](_0x4356aa))!=null?_0x44a01a:_0x35c3a1();if(_0x52a895[_0x5839ca(0x1df)]<0x10)throw new Error(_0x5839ca(0x178));return _0x52a895[0x6]=_0x52a895[0x6]&0xf|0x40,_0x52a895[0x8]=_0x52a895[0x8]&0x3f|0x80,_0x26f054(_0x52a895);}const _0x6dcf6=_0x1b0b97['createIdentifier'](_0x57b479(0x42a));function _0x1cc1cf(_0x4460fd){var _0x5a60de=_0x57b479;return _0x5a60de(0x41c)+_0x4460fd;}var _0x3dad74=Object[_0x57b479(0x294)],_0x41b56e=Object['getOwnPropertyDescriptor'],_0x475634=(_0x5a3c1b,_0x4bb20d,_0x5f53ac,_0x5a5daf)=>{var _0x806d39=_0x57b479;for(var _0x45a562=_0x5a5daf>0x1?void 0x0:_0x5a5daf?_0x41b56e(_0x4bb20d,_0x5f53ac):_0x4bb20d,_0x5e97cd=_0x5a3c1b[_0x806d39(0x1df)]-0x1,_0x1a1e0a;_0x5e97cd>=0x0;_0x5e97cd--)(_0x1a1e0a=_0x5a3c1b[_0x5e97cd])&&(_0x45a562=(_0x5a5daf?_0x1a1e0a(_0x4bb20d,_0x5f53ac,_0x45a562):_0x1a1e0a(_0x45a562))||_0x45a562);return _0x5a5daf&&_0x45a562&&_0x3dad74(_0x4bb20d,_0x5f53ac,_0x45a562),_0x45a562;},_0x17527d=(_0xdcb196,_0x35224b)=>(_0x36840e,_0x44864c)=>_0x35224b(_0x36840e,_0x44864c,_0xdcb196);function _0x8909a3(_0xfd5920){var _0xd2bd2e=_0x57b479;const {unitID:_0x1783fb,mutations:_0x16284d}=_0xfd5920;return{'unitId':_0x1783fb,'subUnitId':_0x16284d[0x0][_0xd2bd2e(0x202)][_0xd2bd2e(0x37a)]};}_0x267f17[_0x57b479(0x1a4)]=class{constructor(_0x49644b,_0x267fb6,_0x43263e){var _0x50b6c1=_0x57b479;this[_0x50b6c1(0x3dc)]=_0x49644b,this['_transformService']=_0x267fb6,this[_0x50b6c1(0x2b5)]=_0x43263e;}['transformSelections'](_0x202985){var _0x392e53=_0x57b479,_0x15327d,_0x2ba876,_0x1e1cb4,_0x4ceb67;const _0x316965=this[_0x392e53(0x3dc)][_0x392e53(0x1f7)](_0x42a1f3[_0x392e53(0x45a)]),{unitId:_0x4ee0f6,subUnitId:_0x51c3c5}=_0x8909a3(_0x202985),_0x2fc8fc=_0x316965==null?void 0x0:_0x316965[_0x392e53(0x42e)](_0x4ee0f6)[_0x392e53(0x2e6)](),_0x5908b6=(_0x2ba876=(_0x15327d=this[_0x392e53(0x2b5)][_0x392e53(0x449)](_0x4ee0f6))==null?void 0x0:_0x15327d[_0x392e53(0x27b)]())==null?void 0x0:_0x2ba876[_0x392e53(0x379)]();if(_0x2fc8fc[_0x392e53(0x1df)]===0x0||!_0x4ee0f6||!_0x51c3c5)return;const _0x81ab41=[{'id':_0x42a1f3[_0x392e53(0x426)]['id'],'params':{'unitId':_0x4ee0f6,'subUnitId':_0x5908b6,'selections':_0x1b0b97[_0x392e53(0x48a)]['deepClone'](_0x2fc8fc)}}],_0x1a0558=this[_0x392e53(0x452)][_0x392e53(0x2e7)](_0x202985,_0x81ab41);if(!_0x4f5b98['isTransformMutationsWithChangesetSuccess'](_0x1a0558))throw _0x1a0558[_0x392e53(0x4b7)];const _0x2eca8e=(_0x4ceb67=(_0x1e1cb4=_0x1a0558[_0x392e53(0x1de)][0x0])==null?void 0x0:_0x1e1cb4[_0x392e53(0x202)])==null?void 0x0:_0x4ceb67[_0x392e53(0x462)];if(Array[_0x392e53(0x413)](_0x2eca8e)&&_0x2eca8e['length']){if(_0x2eca8e['length']===_0x81ab41[0x0][_0x392e53(0x202)][_0x392e53(0x462)][_0x392e53(0x1df)]&&_0x2eca8e[_0x392e53(0x40b)]((_0x1da1c6,_0x1236b2)=>_0x1b0b97[_0x392e53(0x398)][_0x392e53(0x4f4)](_0x1da1c6[_0x392e53(0x475)],_0x81ab41[0x0]['params'][_0x392e53(0x462)][_0x1236b2][_0x392e53(0x475)])))return;this[_0x392e53(0x3dc)][_0x392e53(0x1f7)](_0x1b0b97[_0x392e53(0x18c)])['executeCommand'](_0x42a1f3[_0x392e53(0x426)]['id'],{'unitId':_0x4ee0f6,'subUnitId':_0x5908b6,'selections':_0x2eca8e});}}},_0x267f17[_0x57b479(0x1a4)]=_0x475634([_0x17527d(0x0,_0x1b0b97['Inject'](_0x1b0b97[_0x57b479(0x397)])),_0x17527d(0x1,_0x4f5b98['ITransformService']),_0x17527d(0x2,_0x1b0b97[_0x57b479(0x381)])],_0x267f17['SheetTransformSelectionsService']);const _0x14279a=_0x1b0b97[_0x57b479(0x1a9)]('univer-pro.collaboration-client.single-active-unit-service');var _0x1518e4=(_0x10a3ec=>(_0x10a3ec[_0x10a3ec[_0x57b479(0x423)]=0x0]=_0x57b479(0x423),_0x10a3ec[_0x10a3ec[_0x57b479(0x253)]=0x1]=_0x57b479(0x253),_0x10a3ec))(_0x1518e4||{});const _0x534a3f=new Set([_0x42a1f3[_0x57b479(0x17e)]['id']]);function _0x1d692f(_0x25104e,_0x5c2c26,_0x2b9370,_0x356ab0,_0x5c531e){var _0xadf02=_0x57b479,_0x47efbf,_0x315a78,_0xe07dcd,_0x1ad8c6;const _0x515dff=[];for(const _0x431c15 of _0x25104e)if(_0x534a3f[_0xadf02(0x264)](_0x431c15['id'])){if(_0x515dff[_0xadf02(0x1df)]>0x0)break;_0x515dff[_0xadf02(0x37d)](_0x431c15);break;}else _0x515dff[_0xadf02(0x37d)](_0x431c15);const _0x2e3b44=(_0x315a78=(_0x47efbf=_0x5c531e['getCurrentUser']())==null?void 0x0:_0x47efbf[_0xadf02(0x39e)])!=null?_0x315a78:'unknown',_0x4baa68=(_0x1ad8c6=(_0xe07dcd=_0x5c531e[_0xadf02(0x2f8)]())==null?void 0x0:_0xe07dcd['memberID'])!=null?_0x1ad8c6:'unknown';return{'changeset':{'unitID':_0x5c2c26,'type':_0x4f5b98[_0xadf02(0x471)](_0x2b9370[_0xadf02(0x4ce)](_0x5c2c26)),'baseRev':_0x356ab0[_0xadf02(0x2fa)](_0x5c2c26),'revision':0x0,'userID':_0x2e3b44,'memberID':_0x4baa68,'mutations':_0x515dff},'pendingMutations':_0x25104e[_0xadf02(0x4f0)](_0x515dff[_0xadf02(0x1df)])};}function _0x22eaa2(_0x5068f0,_0x48b550,_0x5ba07b,_0x4e25fd,_0x3e4967){var _0x56dc17=_0x57b479,_0x32da90,_0x3694fa,_0xddf100,_0x47bdf9;const _0x422087=[_0x5068f0[_0x56dc17(0x4b9)]((_0x6703d4,_0x7626a9)=>{var _0xa3f285=_0x56dc17,_0x404266;const {id:_0x8891b7}=_0x6703d4,{id:_0x15aee4,type:_0x22ed46}=_0x7626a9,_0xfd8116=(_0x404266=_0x6703d4[_0xa3f285(0x202)])!=null?_0x404266:{'actions':null},_0x1ee258=_0x7626a9['params'];if(_0x8891b7&&_0x8891b7!==_0x15aee4)throw new Error(_0xa3f285(0x3d5)+_0x8891b7+'\x20-\x20'+_0x15aee4+'.');return{..._0x6703d4,'id':_0x15aee4,'type':_0x22ed46,'params':{'unitId':_0x1ee258[_0xa3f285(0x30a)],'textRanges':_0x1ee258['textRanges'],'actions':_0x1b0b97[_0xa3f285(0x2c3)][_0xa3f285(0x308)](_0xfd8116['actions'],_0x1ee258[_0xa3f285(0x343)])}};},{})],_0x11e3d8=(_0x3694fa=(_0x32da90=_0x3e4967['getCurrentUser']())==null?void 0x0:_0x32da90[_0x56dc17(0x39e)])!=null?_0x3694fa:_0x56dc17(0x41a),_0x54285a=(_0x47bdf9=(_0xddf100=_0x3e4967[_0x56dc17(0x2f8)]())==null?void 0x0:_0xddf100['memberID'])!=null?_0x47bdf9:_0x56dc17(0x41a);return{'changeset':{'unitID':_0x48b550,'type':_0x4f5b98[_0x56dc17(0x471)](_0x5ba07b['getUnitType'](_0x48b550)),'baseRev':_0x4e25fd[_0x56dc17(0x2fa)](_0x48b550),'revision':0x0,'userID':_0x11e3d8,'memberID':_0x54285a,'mutations':_0x422087},'pendingMutations':[]};}function _0x102f7b(_0x1c32db,_0x5171ba){var _0x209cdc=_0x57b479;const _0x317bb4=new _0x427172[(_0x209cdc(0x327))](0x1);return setTimeout(()=>_0x317bb4[_0x209cdc(0x40e)](_0x5171ba),_0x1c32db),_0x317bb4[_0x209cdc(0x2ae)]()['pipe'](_0x427172['take'](0x1));}const _0x2a53c0={'id':_0x42a1f3['EmptyMutation']['id'],'type':_0x1b0b97['CommandType'][_0x57b479(0x2c6)],'params':{}};var _0x5e4287=Object['defineProperty'],_0x5e4cc6=Object['getOwnPropertyDescriptor'],_0x49b7d3=(_0x3bb299,_0x18eb70,_0x4d1f8d,_0x4cf269)=>{var _0x43a589=_0x57b479;for(var _0x67ced2=_0x4cf269>0x1?void 0x0:_0x4cf269?_0x5e4cc6(_0x18eb70,_0x4d1f8d):_0x18eb70,_0xc87cb5=_0x3bb299[_0x43a589(0x1df)]-0x1,_0x2ac06a;_0xc87cb5>=0x0;_0xc87cb5--)(_0x2ac06a=_0x3bb299[_0xc87cb5])&&(_0x67ced2=(_0x4cf269?_0x2ac06a(_0x18eb70,_0x4d1f8d,_0x67ced2):_0x2ac06a(_0x67ced2))||_0x67ced2);return _0x4cf269&&_0x67ced2&&_0x5e4287(_0x18eb70,_0x4d1f8d,_0x67ced2),_0x67ced2;},_0x30b22e=(_0x4d6e44,_0x1613ba)=>(_0x229df8,_0x28d903)=>_0x1613ba(_0x229df8,_0x28d903,_0x4d6e44),_0x14a99c=(_0x56fd10=>(_0x56fd10['NOT_COLLAB']=_0x57b479(0x193),_0x56fd10[_0x57b479(0x24f)]=_0x57b479(0x3ee),_0x56fd10['PENDING']=_0x57b479(0x30e),_0x56fd10[_0x57b479(0x245)]='awaiting',_0x56fd10[_0x57b479(0x2f9)]='awaiting_with_pending',_0x56fd10[_0x57b479(0x289)]='fetch_missing',_0x56fd10[_0x57b479(0x3b2)]=_0x57b479(0x3c6),_0x56fd10[_0x57b479(0x3f3)]=_0x57b479(0x34f),_0x56fd10))(_0x14a99c||{});const _0x33c199=0xea60;class _0x47f178{constructor(_0x26dea5,_0xa628a8,_0x58357d,_0x5c8eb9,_0x5b5d78,_0x2d97e1,_0x19d835,_0x1461d3,_0x5120e5){var _0x5d1859=_0x57b479;_0x584dc2(this,'_awaitingChangeset',null),_0x584dc2(this,'_pendingMutations',[]),(this[_0x5d1859(0x3c9)]=_0x26dea5,this[_0x5d1859(0x3a8)]=_0xa628a8,this[_0x5d1859(0x3a4)]=_0x5b5d78,this[_0x5d1859(0x2ea)]=_0x2d97e1,this[_0x5d1859(0x34c)]=_0x19d835,this[_0x5d1859(0x228)]=_0x1461d3,this[_0x5d1859(0x207)]=_0x5120e5,this[_0x5d1859(0x2b8)]=_0x58357d,this[_0x5d1859(0x491)]=_0x5c8eb9);}[_0x57b479(0x349)](_0x21d7c0){var _0x4c98e6=_0x57b479;const _0x161758=this[_0x4c98e6(0x228)][_0x4c98e6(0x2fa)](this[_0x4c98e6(0x3c9)]);return _0x21d7c0[_0x4c98e6(0x389)]>_0x161758+0x1?(this['_handler'][_0x4c98e6(0x354)]({'from':_0x161758,'to':_0x21d7c0[_0x4c98e6(0x389)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4b149f){var _0x4bbc0a=_0x57b479;this[_0x4bbc0a(0x34c)][_0x4bbc0a(0x369)](this['unitID'],_0x4b149f);}[_0x57b479(0x4ac)](_0x387aed){var _0x568691=_0x57b479,_0x47fb5a,_0x722cf6;(_0x722cf6=(_0x47fb5a=this[_0x568691(0x3a4)])[_0x568691(0x3d2)])==null||_0x722cf6[_0x568691(0x248)](_0x47fb5a,_0x387aed);}[_0x57b479(0x199)](_0x426dd9){var _0x5b07bc=_0x57b479,_0x38b4c3,_0x170395;return(_0x170395=(_0x38b4c3=this['_handler'])[_0x5b07bc(0x387)])==null?void 0x0:_0x170395[_0x5b07bc(0x248)](_0x38b4c3,_0x426dd9);}['_transformStateCache'](_0x3569d9){var _0x157eac=_0x57b479,_0x22765c,_0x1a6bb9;return(_0x1a6bb9=(_0x22765c=this[_0x157eac(0x3a4)])[_0x157eac(0x4e7)])==null?void 0x0:_0x1a6bb9[_0x157eac(0x248)](_0x22765c,_0x3569d9);}[_0x57b479(0x2d6)](_0x390fa7){var _0x15cb82=_0x57b479,_0x2de17d,_0x45f8fc,_0x345f25;return(_0x345f25=(_0x45f8fc=(_0x2de17d=this[_0x15cb82(0x3a4)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x45f8fc[_0x15cb82(0x248)](_0x2de17d,_0x390fa7))!=null?_0x345f25:_0x390fa7;}[_0x57b479(0x1f2)](_0x3f8e05){var _0x1f00a7=_0x57b479,_0x53288c,_0x2f96b8,_0x307242;return(_0x307242=(_0x2f96b8=(_0x53288c=this[_0x1f00a7(0x3a4)])[_0x1f00a7(0x45f)])==null?void 0x0:_0x2f96b8[_0x1f00a7(0x248)](_0x53288c,_0x3f8e05))!=null?_0x307242:_0x3f8e05;}[_0x57b479(0x3c0)](_0x150a6f){var _0x350e35=_0x57b479,_0x375e75,_0x439d82;if(this[_0x350e35(0x3a8)]===_0x45c17c[_0x350e35(0x351)]){const {unitID:_0x213dea,mutations:_0x1f40e4,memberID:_0x162a42}=_0x150a6f,_0x127572=_0x1f40e4[0x0][_0x350e35(0x202)][_0x350e35(0x46a)];Array['isArray'](_0x127572)&&_0x127572['length']>0x0&&((_0x439d82=(_0x375e75=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x439d82[_0x350e35(0x248)](_0x375e75,{'unitID':_0x213dea,'memberID':_0x162a42,'textRanges':_0x127572}));}}[_0x57b479(0x24c)](){var _0x5e2eed=_0x57b479,_0x555f4b;(_0x555f4b=this[_0x5e2eed(0x207)])==null||_0x555f4b[_0x5e2eed(0x2d9)](this[_0x5e2eed(0x3c9)],this[_0x5e2eed(0x3a8)],this[_0x5e2eed(0x2b8)],this[_0x5e2eed(0x491)]);}[_0x57b479(0x312)](){var _0x1bdbe4=_0x57b479;return this[_0x1bdbe4(0x228)][_0x1bdbe4(0x2fa)](this[_0x1bdbe4(0x3c9)]);}['_incrementRevisionNumber'](){var _0x4d4df1=_0x57b479;this[_0x4d4df1(0x228)][_0x4d4df1(0x241)](this[_0x4d4df1(0x3c9)]);}['_executeRemoteChangeset'](_0x12c3b6){var _0x21e02c=_0x57b479,_0x4309a2;let _0x36e0fc=this['_transformRemoteChangesetByIMECache'](_0x12c3b6);_0x36e0fc=this[_0x21e02c(0x1f2)](_0x36e0fc);const _0x2388b2=_0x1b0b97[_0x21e02c(0x1e0)](_0x36e0fc['mutations'],this[_0x21e02c(0x2ea)],{'fromCollab':!0x0});if(!_0x2388b2[_0x21e02c(0x367)])throw _0x2388b2['error']instanceof Error?_0x2388b2[_0x21e02c(0x4b7)]:new Error((_0x4309a2=_0x2388b2[_0x21e02c(0x4b7)])!=null?_0x4309a2:_0x21e02c(0x265));this[_0x21e02c(0x199)](_0x36e0fc),this['_transformStateCache'](_0x36e0fc),this[_0x21e02c(0x277)](_0x12c3b6),this[_0x21e02c(0x4ac)](_0x36e0fc),this[_0x21e02c(0x3c0)](_0x36e0fc),this[_0x21e02c(0x26f)]();}}_0x267f17[_0x57b479(0x44b)]=class extends _0x47f178{constructor(_0x4b1652,_0x7dae6a,_0xaa5515,_0x12dc7d,_0x2936aa,_0x48df52,_0x38226d,_0x1615c3,_0x19d709,_0x476432){var _0x342646=_0x57b479;super(_0x4b1652,_0x7dae6a,null,[],_0xaa5515,_0x38226d,_0x48df52,_0x12dc7d,_0x476432),_0x584dc2(this,_0x342646(0x280),_0x342646(0x3ee)),(this[_0x342646(0x3dc)]=_0x2936aa,this[_0x342646(0x3b1)]=_0x1615c3,this[_0x342646(0x452)]=_0x19d709,this[_0x342646(0x255)]=_0x476432);}[_0x57b479(0x495)](_0x44cc3b){var _0x518918=_0x57b479;const _0x478ba3=this[_0x518918(0x3dc)][_0x518918(0x3c1)](_0x267f17[_0x518918(0x1c7)],this[_0x518918(0x3c9)],this[_0x518918(0x3a8)],[_0x44cc3b],this[_0x518918(0x3a4)]);return _0x478ba3[_0x518918(0x4de)](),_0x478ba3[_0x518918(0x24c)](),_0x478ba3;}[_0x57b479(0x2b4)](_0x26b330){var _0x59a526=_0x57b479;if(this['_checkMissing'](_0x26b330))return this[_0x59a526(0x3dc)]['createInstance'](_0x267f17['FetchingMissState'],this['unitID'],this[_0x59a526(0x3a8)],null,[],null,[_0x26b330],this[_0x59a526(0x3a4)]);try{const _0xe09632=this[_0x59a526(0x452)][_0x59a526(0x2e7)](_0x26b330,[_0x2a53c0]);if(_0x4f5b98[_0x59a526(0x219)](_0xe09632)){const {c1Prime:_0x669bc3}=_0xe09632;return this[_0x59a526(0x3ae)](_0x669bc3),this;}throw _0xe09632[_0x59a526(0x4b7)];}catch(_0x23e6d6){return this['_logService'][_0x59a526(0x4b7)](_0x23e6d6),this[_0x59a526(0x4bd)](!0x1);}}[_0x57b479(0x4bd)](_0x51ae16){var _0x2caea4=_0x57b479;return this[_0x2caea4(0x3dc)][_0x2caea4(0x3c1)](_0x267f17['ConflictState'],this[_0x2caea4(0x3c9)],this[_0x2caea4(0x3a8)],null,[],this[_0x2caea4(0x3a4)],_0x51ae16);}[_0x57b479(0x407)](){var _0x5e533f=_0x57b479;throw new Error(_0x5e533f(0x29f));}[_0x57b479(0x489)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x57b479(0x38e)](){return this;}[_0x57b479(0x2a3)](){var _0xc8b462=_0x57b479;return this['_injector']['createInstance'](_0x267f17[_0xc8b462(0x401)],this[_0xc8b462(0x3c9)],this[_0xc8b462(0x3a8)],null,[],this[_0xc8b462(0x3a4)]);}[_0x57b479(0x395)](){return this;}[_0x57b479(0x39c)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x57b479(0x4ec)](){var _0x271335=_0x57b479;const _0x262f89=this[_0x271335(0x228)][_0x271335(0x2fa)](this['unitID']);return this['_handler'][_0x271335(0x354)]({'from':_0x262f89,'to':0x0}),this[_0x271335(0x3dc)][_0x271335(0x3c1)](_0x267f17[_0x271335(0x18f)],this[_0x271335(0x3c9)],this[_0x271335(0x3a8)],null,[],null,[],this[_0x271335(0x3a4)]);}},_0x267f17['SyncedState']=_0x49b7d3([_0x30b22e(0x3,_0x1b0b97[_0x57b479(0x36b)](_0x4f5b98[_0x57b479(0x329)])),_0x30b22e(0x4,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97['Injector'])),_0x30b22e(0x5,_0x1b0b97[_0x57b479(0x2f5)]),_0x30b22e(0x6,_0x1b0b97[_0x57b479(0x18c)]),_0x30b22e(0x7,_0x1b0b97[_0x57b479(0x40d)]),_0x30b22e(0x8,_0x4f5b98[_0x57b479(0x2f2)]),_0x30b22e(0x9,_0x1b0b97['Optional'](_0x6dcf6))],_0x267f17[_0x57b479(0x44b)]),_0x267f17[_0x57b479(0x1c7)]=class extends _0x47f178{constructor(_0x372ab3,_0x498ea8,_0x2c64bf,_0x515457,_0x2e9e93,_0x63a5d9,_0x284bd6,_0x5c0a43,_0x43f0f3,_0x408a95,_0x2a61b2,_0x532d3c,_0x4e0f90,_0x5697d9){var _0x4f97ce=_0x57b479;super(_0x372ab3,_0x498ea8,null,_0x2c64bf,_0x515457,_0x43f0f3,_0x4e0f90,_0x63a5d9,_0x5697d9),_0x584dc2(this,_0x4f97ce(0x280),_0x4f97ce(0x30e)),_0x584dc2(this,_0x4f97ce(0x418),null),_0x584dc2(this,_0x4f97ce(0x1f3),null),(this[_0x4f97ce(0x3dc)]=_0x2e9e93,this[_0x4f97ce(0x31a)]=_0x284bd6,this['_logService']=_0x5c0a43,this[_0x4f97ce(0x23a)]=_0x408a95,this[_0x4f97ce(0x452)]=_0x2a61b2,this['_univerInstanceService']=_0x532d3c);}[_0x57b479(0x495)](_0x4d6200){var _0x17cd35=_0x57b479;return this[_0x17cd35(0x491)][_0x17cd35(0x37d)](_0x4d6200),this['_updateLocalCache'](),this;}[_0x57b479(0x2b4)](_0x4f5c55){var _0x561004=_0x57b479;if(this[_0x561004(0x349)](_0x4f5c55))return this[_0x561004(0x388)](),this['_injector'][_0x561004(0x3c1)](_0x267f17[_0x561004(0x18f)],this['unitID'],this[_0x561004(0x3a8)],null,this[_0x561004(0x491)],null,[_0x4f5c55],this[_0x561004(0x3a4)]);try{const _0xa2acaf=this[_0x561004(0x452)][_0x561004(0x2e7)](_0x4f5c55,this[_0x561004(0x491)]);if(_0x4f5b98[_0x561004(0x219)](_0xa2acaf)){const {c1Prime:_0x2c3aeb,m2Prime:_0x3ad5bb}=_0xa2acaf;this['_executeRemoteChangeset'](_0x2c3aeb);const _0x4ee808=this[_0x561004(0x3dc)]['createInstance'](_0x267f17[_0x561004(0x1c7)],this[_0x561004(0x3c9)],this[_0x561004(0x3a8)],_0x3ad5bb,this[_0x561004(0x3a4)]);this[_0x561004(0x388)]();const _0xbd00ad=new Date()[_0x561004(0x39a)](),_0x1d12c8=this[_0x561004(0x418)]?Math[_0x561004(0x347)](this[_0x561004(0x418)]-_0xbd00ad,0x0):this[_0x561004(0x457)]();return _0x4ee808[_0x561004(0x4de)](_0x1d12c8),_0x4ee808;}throw _0xa2acaf[_0x561004(0x4b7)];}catch(_0x3b4be0){return this[_0x561004(0x3b1)][_0x561004(0x4b7)](_0x3b4be0),this[_0x561004(0x4bd)](!0x1);}}[_0x57b479(0x407)](){var _0x1b307c=_0x57b479;throw new Error(_0x1b307c(0x1fb));}[_0x57b479(0x489)](){var _0x239d98=_0x57b479;throw new Error(_0x239d98(0x473));}[_0x57b479(0x38e)](){return this;}[_0x57b479(0x2a3)](){var _0x56c54e=_0x57b479;return this[_0x56c54e(0x388)](),this[_0x56c54e(0x3dc)][_0x56c54e(0x3c1)](_0x267f17[_0x56c54e(0x401)],this['unitID'],this[_0x56c54e(0x3a8)],null,this[_0x56c54e(0x491)],this[_0x56c54e(0x3a4)]);}['toggleOnline'](){return this;}[_0x57b479(0x4de)](_0x38c06d){var _0x28aad1=_0x57b479;const _0x41282a=_0x38c06d!=null?_0x38c06d:this[_0x28aad1(0x457)]();this[_0x28aad1(0x418)]=new Date()['getTime']()+_0x41282a,this[_0x28aad1(0x1f3)]=setTimeout(()=>{var _0x1ecc90=_0x28aad1;this['_clearScheduledTask']();let _0x2be8b9=null;switch(this[_0x1ecc90(0x3a8)]){case _0x45c17c[_0x1ecc90(0x2f7)]:{_0x2be8b9=_0x1d692f(this[_0x1ecc90(0x491)],this['unitID'],this[_0x1ecc90(0x198)],this[_0x1ecc90(0x228)],this['_memberService']);break;}case _0x45c17c[_0x1ecc90(0x351)]:{this['_pendingMutations']['every'](_0x5b1058=>_0x5b1058['id']===_0x313987[_0x1ecc90(0x3ca)]['id'])?_0x2be8b9=_0x22eaa2(this[_0x1ecc90(0x491)],this['unitID'],this[_0x1ecc90(0x198)],this[_0x1ecc90(0x228)],this['_memberService']):_0x2be8b9=_0x1d692f(this['_pendingMutations'],this[_0x1ecc90(0x3c9)],this[_0x1ecc90(0x198)],this[_0x1ecc90(0x228)],this[_0x1ecc90(0x31a)]);break;}default:throw new Error(_0x1ecc90(0x485)+this[_0x1ecc90(0x3a8)]+_0x1ecc90(0x43f));}const {changeset:_0xfd62c9,pendingMutations:_0x52a612}=_0x2be8b9;this[_0x1ecc90(0x3a4)]['onSendChangeset'](_0xfd62c9);const _0x264244=_0x52a612[_0x1ecc90(0x1df)]?this['_injector'][_0x1ecc90(0x3c1)](_0x267f17[_0x1ecc90(0x1e6)],this['unitID'],this[_0x1ecc90(0x3a8)],_0xfd62c9,_0x52a612,this[_0x1ecc90(0x3a4)],void 0x0):this[_0x1ecc90(0x3dc)]['createInstance'](_0x267f17[_0x1ecc90(0x4cf)],this[_0x1ecc90(0x3c9)],this[_0x1ecc90(0x3a8)],_0xfd62c9,this[_0x1ecc90(0x3a4)]);_0x264244['_updateLocalCache'](),this[_0x1ecc90(0x3a4)][_0x1ecc90(0x386)](this,_0x264244);},_0x41282a);}['_getSendChangesetTimeout'](){var _0x3de21a=_0x57b479,_0x7c48c1;const _0x471cec=this[_0x3de21a(0x23a)][_0x3de21a(0x35e)](_0x4bdd65);return(_0x7c48c1=_0x471cec==null?void 0x0:_0x471cec[_0x3de21a(0x2a4)])!=null?_0x7c48c1:0x7d0;}[_0x57b479(0x39c)](){var _0x4a5a24=_0x57b479;throw new Error(_0x4a5a24(0x203));}[_0x57b479(0x388)](){var _0x85171a=_0x57b479;this[_0x85171a(0x1f3)]!=null&&(clearTimeout(this[_0x85171a(0x1f3)]),this[_0x85171a(0x1f3)]=null);}['_onConflict'](_0x4e2266){var _0x3bbb7c=_0x57b479;return this[_0x3bbb7c(0x388)](),this[_0x3bbb7c(0x3dc)][_0x3bbb7c(0x3c1)](_0x267f17[_0x3bbb7c(0x18d)],this[_0x3bbb7c(0x3c9)],this[_0x3bbb7c(0x3a8)],null,this[_0x3bbb7c(0x491)],this[_0x3bbb7c(0x3a4)],_0x4e2266);}},_0x267f17[_0x57b479(0x1c7)]=_0x49b7d3([_0x30b22e(0x4,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97[_0x57b479(0x397)])),_0x30b22e(0x5,_0x1b0b97[_0x57b479(0x36b)](_0x4f5b98['RevisionService'])),_0x30b22e(0x6,_0x1b0b97[_0x57b479(0x36b)](_0x267f17[_0x57b479(0x1a6)])),_0x30b22e(0x7,_0x1b0b97[_0x57b479(0x40d)]),_0x30b22e(0x8,_0x1b0b97[_0x57b479(0x18c)]),_0x30b22e(0x9,_0x1b0b97[_0x57b479(0x4e0)]),_0x30b22e(0xa,_0x4f5b98[_0x57b479(0x2f2)]),_0x30b22e(0xb,_0x1b0b97[_0x57b479(0x381)]),_0x30b22e(0xc,_0x1b0b97['IUndoRedoService']),_0x30b22e(0xd,_0x1b0b97[_0x57b479(0x3e0)](_0x6dcf6))],_0x267f17['PendingState']),_0x267f17['AwaitingState']=class extends _0x47f178{constructor(_0x2b1a69,_0x42b615,_0x2e8891,_0x22d42b,_0x13576c,_0x3f8782,_0x300f83,_0xcb471b,_0x2b1f24,_0x5ea39b,_0x285382){var _0x2e4ee2=_0x57b479;super(_0x2b1a69,_0x42b615,_0x2e8891,[],_0x22d42b,_0x300f83,_0x5ea39b,_0x3f8782,_0x285382),_0x584dc2(this,_0x2e4ee2(0x280),_0x2e4ee2(0x3e1)),_0x584dc2(this,_0x2e4ee2(0x317),0x0),_0x584dc2(this,'_resendTimer'),_0x584dc2(this,_0x2e4ee2(0x1ec)),(this[_0x2e4ee2(0x3dc)]=_0x13576c,this[_0x2e4ee2(0x3b1)]=_0xcb471b,this[_0x2e4ee2(0x452)]=_0x2b1f24);}[_0x57b479(0x495)](_0x22c905){var _0x4f8f73=_0x57b479;this[_0x4f8f73(0x388)]();const _0x1e50f2=this[_0x4f8f73(0x3dc)][_0x4f8f73(0x3c1)](_0x267f17[_0x4f8f73(0x1e6)],this[_0x4f8f73(0x3c9)],this['type'],this[_0x4f8f73(0x2b8)],[_0x22c905],this[_0x4f8f73(0x3a4)],this[_0x4f8f73(0x2fc)]);return _0x1e50f2[_0x4f8f73(0x24c)](),_0x1e50f2;}['onRemoteChangeset'](_0x52695f){var _0x28d6c8=_0x57b479;if(this['_checkMissing'](_0x52695f))return this[_0x28d6c8(0x388)](),this[_0x28d6c8(0x3dc)]['createInstance'](_0x267f17[_0x28d6c8(0x18f)],this[_0x28d6c8(0x3c9)],this[_0x28d6c8(0x3a8)],this[_0x28d6c8(0x2b8)],[],null,[_0x52695f],this[_0x28d6c8(0x3a4)]);try{const _0x795112=this['_transformService']['transformChangesets']([_0x52695f],[this[_0x28d6c8(0x2b8)]],!0x1);if(_0x4f5b98['isTransformChangesetsSuccess'](_0x795112)){const {c1Prime:_0x2ccc57,c2Prime:_0x14eea7}=_0x795112;this[_0x28d6c8(0x3ae)](_0x2ccc57[0x0]),_0x14eea7[0x0]['baseRev']=this[_0x28d6c8(0x312)](),this[_0x28d6c8(0x388)]();const _0x481660=this['_injector']['createInstance'](_0x267f17[_0x28d6c8(0x4cf)],this[_0x28d6c8(0x3c9)],this[_0x28d6c8(0x3a8)],_0x14eea7[0x0],this['_handler']);return _0x481660[_0x28d6c8(0x24c)](),_0x481660;}return this[_0x28d6c8(0x4bd)](!0x1);}catch(_0x31f335){return this[_0x28d6c8(0x3b1)][_0x28d6c8(0x4b7)](_0x31f335),this[_0x28d6c8(0x4bd)](!0x1);}}[_0x57b479(0x407)](_0x351e2c){var _0x6c6f5c=_0x57b479;this[_0x6c6f5c(0x388)]();const _0x34ad18=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x351e2c[_0x6c6f5c(0x389)]<_0x34ad18-0x1)return this;if(this[_0x6c6f5c(0x349)](_0x351e2c))return this[_0x6c6f5c(0x3dc)][_0x6c6f5c(0x3c1)](_0x267f17[_0x6c6f5c(0x18f)],this[_0x6c6f5c(0x3c9)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x6c6f5c(0x3a4)]);this[_0x6c6f5c(0x26f)]();const _0x3042db=this['_injector'][_0x6c6f5c(0x3c1)](_0x267f17[_0x6c6f5c(0x44b)],this[_0x6c6f5c(0x3c9)],this[_0x6c6f5c(0x3a8)],this[_0x6c6f5c(0x3a4)]);return _0x3042db[_0x6c6f5c(0x24c)](),_0x3042db;}[_0x57b479(0x489)](_0xdd647f){var _0x1e2082=_0x57b479;return this['_onConflict'](!!(_0xdd647f!=null&&_0xdd647f[_0x1e2082(0x4eb)]));}[_0x57b479(0x38e)](_0x180fbd){var _0x5b6cdf=_0x57b479;return this['_resendTimeout']>_0x33c199?this[_0x5b6cdf(0x2a3)]():(this[_0x5b6cdf(0x2fc)]=_0x102f7b(this[_0x5b6cdf(0x317)],{'timeout':this['_resendTimeout'],'reqId':_0x180fbd[_0x5b6cdf(0x295)]}),this['_sender']=this[_0x5b6cdf(0x2fc)][_0x5b6cdf(0x3aa)](({reqId:_0x4bacdc,timeout:_0x1969a9})=>{var _0x3797be=_0x5b6cdf;this[_0x3797be(0x3a3)](_0x4bacdc,_0x1969a9);}),this);}[_0x57b479(0x2a3)](){var _0x864ba3=_0x57b479;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x267f17[_0x864ba3(0x401)],this[_0x864ba3(0x3c9)],this[_0x864ba3(0x3a8)],this[_0x864ba3(0x2b8)],[],this[_0x864ba3(0x3a4)]);}[_0x57b479(0x395)](){return this;}['resend'](){var _0xfcb8f7=_0x57b479;this[_0xfcb8f7(0x3a4)][_0xfcb8f7(0x2f3)](this[_0xfcb8f7(0x2b8)]);}['_onConflict'](_0x284393){var _0x1e59dc=_0x57b479;return this[_0x1e59dc(0x388)](),this[_0x1e59dc(0x3dc)][_0x1e59dc(0x3c1)](_0x267f17['ConflictState'],this[_0x1e59dc(0x3c9)],this[_0x1e59dc(0x3a8)],this[_0x1e59dc(0x2b8)],[],this[_0x1e59dc(0x3a4)],_0x284393);}[_0x57b479(0x3a3)](_0x4c3f27,_0x24d980){var _0x801f67=_0x57b479,_0x45aa7b;_0x4c3f27===((_0x45aa7b=this['_awaitingChangeset'])==null?void 0x0:_0x45aa7b[_0x801f67(0x295)])&&(this['resend'](),this[_0x801f67(0x317)]=_0x24d980===0x0?0x3e8:_0x24d980*0x2);}['_clearScheduledTask'](){var _0x14bf82=_0x57b479,_0x4cac52;(_0x4cac52=this[_0x14bf82(0x1ec)])==null||_0x4cac52[_0x14bf82(0x345)](),this['_resendTimeout']=0x0;}},_0x267f17[_0x57b479(0x4cf)]=_0x49b7d3([_0x30b22e(0x4,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97['Injector'])),_0x30b22e(0x5,_0x1b0b97['Inject'](_0x4f5b98[_0x57b479(0x329)])),_0x30b22e(0x6,_0x1b0b97[_0x57b479(0x18c)]),_0x30b22e(0x7,_0x1b0b97['ILogService']),_0x30b22e(0x8,_0x4f5b98[_0x57b479(0x2f2)]),_0x30b22e(0x9,_0x1b0b97[_0x57b479(0x2f5)]),_0x30b22e(0xa,_0x1b0b97[_0x57b479(0x3e0)](_0x6dcf6))],_0x267f17[_0x57b479(0x4cf)]),_0x267f17[_0x57b479(0x1e6)]=class extends _0x47f178{constructor(_0x2525c7,_0x560e60,_0x30b069,_0x4df6f5,_0x26aba0,_0x409147,_0x92000f,_0x78b29d,_0x377a5e,_0x47cc9c,_0x47e342,_0x1b265e,_0x3c6dba){var _0x295fa9=_0x57b479;super(_0x2525c7,_0x560e60,_0x30b069,_0x4df6f5,_0x26aba0,_0x377a5e,_0x1b265e,_0x78b29d,_0x3c6dba),_0x584dc2(this,_0x295fa9(0x280),_0x295fa9(0x3d3)),_0x584dc2(this,_0x295fa9(0x317),0x0),_0x584dc2(this,'_resendTimer'),_0x584dc2(this,'_sender'),(this[_0x295fa9(0x3dc)]=_0x92000f,this[_0x295fa9(0x3b1)]=_0x47cc9c,this[_0x295fa9(0x452)]=_0x47e342,this[_0x295fa9(0x255)]=_0x3c6dba,_0x409147&&(this['_resendTimer']=_0x409147,this[_0x295fa9(0x1ec)]=this['_resendTimer'][_0x295fa9(0x3aa)](({reqId:_0x3701c5,timeout:_0x592ea4})=>{var _0x26e60f=_0x295fa9;this[_0x26e60f(0x3a3)](_0x3701c5,_0x592ea4);})));}[_0x57b479(0x495)](_0x3845a7){var _0xacfd3d=_0x57b479;return this[_0xacfd3d(0x491)][_0xacfd3d(0x37d)](_0x3845a7),this;}[_0x57b479(0x2b4)](_0x13e219){var _0x22df45=_0x57b479;if(this[_0x22df45(0x349)](_0x13e219))return this[_0x22df45(0x388)](),this[_0x22df45(0x3dc)][_0x22df45(0x3c1)](_0x267f17[_0x22df45(0x18f)],this[_0x22df45(0x3c9)],this[_0x22df45(0x3a8)],this['_awaitingChangeset'],this[_0x22df45(0x491)],null,[_0x13e219],this[_0x22df45(0x3a4)]);try{const _0x1c96dd=this[_0x22df45(0x452)][_0x22df45(0x44f)]([_0x13e219],[this[_0x22df45(0x2b8)]],!0x1);if(_0x4f5b98[_0x22df45(0x3a2)](_0x1c96dd)){const {c1Prime:_0x2549d5,c2Prime:_0x57d2b3}=_0x1c96dd,_0x4748d7=this['_transformService'][_0x22df45(0x2e7)](_0x2549d5[0x0],this[_0x22df45(0x491)]);if(_0x4f5b98['isTransformMutationsWithChangesetSuccess'](_0x4748d7)){const {c1Prime:_0x53c8a1,m2Prime:_0x5940ec}=_0x4748d7;return this['_executeRemoteChangeset'](_0x53c8a1),_0x57d2b3[0x0][_0x22df45(0x189)]=this[_0x22df45(0x312)](),this[_0x22df45(0x388)](),this[_0x22df45(0x3dc)][_0x22df45(0x3c1)](_0x267f17[_0x22df45(0x1e6)],this[_0x22df45(0x3c9)],this[_0x22df45(0x3a8)],_0x57d2b3[0x0],_0x5940ec,this[_0x22df45(0x3a4)],void 0x0);}throw _0x4748d7[_0x22df45(0x4b7)];}throw _0x1c96dd[_0x22df45(0x4b7)];}catch(_0x2b738c){return this['_logService'][_0x22df45(0x4b7)](_0x2b738c),this[_0x22df45(0x4bd)](!0x1);}}[_0x57b479(0x407)](_0x5bb01e){var _0x55fd41=_0x57b479;if(this[_0x55fd41(0x388)](),this[_0x55fd41(0x349)](_0x5bb01e))return this[_0x55fd41(0x3dc)][_0x55fd41(0x3c1)](_0x267f17[_0x55fd41(0x18f)],this[_0x55fd41(0x3c9)],this[_0x55fd41(0x3a8)],null,this[_0x55fd41(0x491)],this[_0x55fd41(0x2b8)],[],this[_0x55fd41(0x3a4)]);this[_0x55fd41(0x26f)]();const _0x5ac4cb=this[_0x55fd41(0x3dc)][_0x55fd41(0x3c1)](_0x267f17['PendingState'],this[_0x55fd41(0x3c9)],this[_0x55fd41(0x3a8)],this['_pendingMutations'],this[_0x55fd41(0x3a4)]);return _0x5ac4cb[_0x55fd41(0x4de)](),_0x5ac4cb['_updateLocalCache'](),_0x5ac4cb;}['onRemoteRej'](_0xac1eda){var _0x54e78f=_0x57b479;return this[_0x54e78f(0x4bd)](!!(_0xac1eda!=null&&_0xac1eda[_0x54e78f(0x4eb)]));}[_0x57b479(0x38e)](_0x1440b9){var _0x4fab7e=_0x57b479;return this['_resendTimeout']>_0x33c199?this[_0x4fab7e(0x2a3)]():(this[_0x4fab7e(0x2fc)]=_0x102f7b(this['_resendTimeout'],{'timeout':this[_0x4fab7e(0x317)],'reqId':_0x1440b9['reqId']}),this[_0x4fab7e(0x1ec)]=this[_0x4fab7e(0x2fc)][_0x4fab7e(0x3aa)](({reqId:_0x27dfdd,timeout:_0x56335b})=>{var _0x2af65a=_0x4fab7e;this[_0x2af65a(0x3a3)](_0x27dfdd,_0x56335b);}),this);}[_0x57b479(0x2a3)](){var _0x5e9d18=_0x57b479;return this[_0x5e9d18(0x388)](),this[_0x5e9d18(0x3dc)][_0x5e9d18(0x3c1)](_0x267f17['OfflineState'],this[_0x5e9d18(0x3c9)],this[_0x5e9d18(0x3a8)],this[_0x5e9d18(0x2b8)],this['_pendingMutations'],this[_0x5e9d18(0x3a4)]);}[_0x57b479(0x395)](){return this;}[_0x57b479(0x39c)](){var _0x11d8ac=_0x57b479;this[_0x11d8ac(0x3a4)][_0x11d8ac(0x2f3)](this['_awaitingChangeset']);}[_0x57b479(0x4bd)](_0x2c6ea3){var _0x72c308=_0x57b479;return this[_0x72c308(0x388)](),this[_0x72c308(0x3dc)][_0x72c308(0x3c1)](_0x267f17[_0x72c308(0x18d)],this[_0x72c308(0x3c9)],this[_0x72c308(0x3a8)],null,this[_0x72c308(0x491)],this[_0x72c308(0x3a4)],_0x2c6ea3);}['_resendWithTimeout'](_0x21654f,_0x70359e){var _0x41ed7f=_0x57b479,_0x104809;_0x21654f===((_0x104809=this['_awaitingChangeset'])==null?void 0x0:_0x104809['reqId'])&&(this[_0x41ed7f(0x39c)](),this[_0x41ed7f(0x317)]=_0x70359e===0x0?0x3e8:_0x70359e*0x2);}[_0x57b479(0x388)](){var _0x234a52=_0x57b479,_0x3d57c3;(_0x3d57c3=this[_0x234a52(0x1ec)])==null||_0x3d57c3[_0x234a52(0x345)](),this[_0x234a52(0x317)]=0x0;}},_0x267f17[_0x57b479(0x1e6)]=_0x49b7d3([_0x30b22e(0x6,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97[_0x57b479(0x397)])),_0x30b22e(0x7,_0x1b0b97[_0x57b479(0x36b)](_0x4f5b98[_0x57b479(0x329)])),_0x30b22e(0x8,_0x1b0b97['ICommandService']),_0x30b22e(0x9,_0x1b0b97[_0x57b479(0x40d)]),_0x30b22e(0xa,_0x4f5b98['ITransformService']),_0x30b22e(0xb,_0x1b0b97['IUndoRedoService']),_0x30b22e(0xc,_0x1b0b97['Optional'](_0x6dcf6))],_0x267f17[_0x57b479(0x1e6)]),_0x267f17[_0x57b479(0x18d)]=class extends _0x47f178{constructor(_0x1a7dca,_0x16551c,_0x371a03,_0x1b2cfa,_0x1615c4,_0x18bcbf=!0x1,_0x5680cd,_0x20cfa2,_0x3d6d6c,_0x353d2c,_0x40bc12,_0x5c9e45,_0x5db61d){var _0x440c22=_0x57b479;super(_0x1a7dca,_0x16551c,_0x371a03,_0x1b2cfa,_0x1615c4,_0x20cfa2,_0x3d6d6c,_0x353d2c,_0x5db61d),_0x584dc2(this,_0x440c22(0x280),_0x440c22(0x3c6)),(this[_0x440c22(0x334)]=_0x18bcbf,this['_permissionService']=_0x5680cd,this[_0x440c22(0x1be)]=_0x40bc12,this[_0x440c22(0x340)]=_0x5c9e45,this['localCacheService']=_0x5db61d,this[_0x440c22(0x362)](),this['_clearLocalCache'](),this[_0x440c22(0x3b9)]());}[_0x57b479(0x495)](){return this;}[_0x57b479(0x2b4)](){return this;}[_0x57b479(0x407)](){return this;}[_0x57b479(0x489)](){return this;}['onRemoteRetry'](){return this;}[_0x57b479(0x2a3)](){return this;}[_0x57b479(0x395)](){return this;}[_0x57b479(0x39c)](){var _0x8dc7b9=_0x57b479;throw new Error(_0x8dc7b9(0x188));}[_0x57b479(0x21d)](){var _0x371d27=_0x57b479,_0x1620da;(_0x1620da=this[_0x371d27(0x207)])==null||_0x1620da[_0x371d27(0x2d9)](this['unitID'],this[_0x371d27(0x3a8)],null,[]);}[_0x57b479(0x362)](){var _0x2dedf7=_0x57b479;this['_isPermissionRej']?this[_0x2dedf7(0x340)][_0x2dedf7(0x402)]({'id':_0x864ea4[_0x2dedf7(0x476)]}):this[_0x2dedf7(0x340)][_0x2dedf7(0x402)]({'id':_0x864ea4[_0x2dedf7(0x3b2)]});}[_0x57b479(0x3b9)](){var _0x331a8a=_0x57b479;this['_permissionService']['updatePermissionPoint'](new _0x42a1f3[(_0x331a8a(0x187))](this['unitID'])['id'],!0x1);}},_0x267f17[_0x57b479(0x18d)]=_0x49b7d3([_0x30b22e(0x6,_0x1b0b97['Inject'](_0x1b0b97[_0x57b479(0x487)])),_0x30b22e(0x7,_0x1b0b97[_0x57b479(0x18c)]),_0x30b22e(0x8,_0x1b0b97[_0x57b479(0x2f5)]),_0x30b22e(0x9,_0x1b0b97[_0x57b479(0x36b)](_0x4f5b98[_0x57b479(0x329)])),_0x30b22e(0xa,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97[_0x57b479(0x41e)])),_0x30b22e(0xb,_0x1b0b97[_0x57b479(0x36b)](_0x442b4a)),_0x30b22e(0xc,_0x1b0b97[_0x57b479(0x3e0)](_0x6dcf6))],_0x267f17[_0x57b479(0x18d)]),_0x267f17[_0x57b479(0x401)]=class extends _0x47f178{constructor(_0x3ee318,_0x59d6ab,_0x38467f,_0x19960c,_0x1732d3,_0x3b02b0,_0x3272df,_0x50dd35,_0x13fd4b,_0xeff9fe){var _0x380f8=_0x57b479;super(_0x3ee318,_0x59d6ab,_0x38467f,_0x19960c,_0x1732d3,_0x50dd35,_0x13fd4b,_0x3272df,_0xeff9fe),_0x584dc2(this,_0x380f8(0x280),_0x380f8(0x34f)),this[_0x380f8(0x3dc)]=_0x3b02b0;}[_0x57b479(0x495)](_0x3bc182){var _0x2d1940=_0x57b479;return this[_0x2d1940(0x491)][_0x2d1940(0x37d)](_0x3bc182),this[_0x2d1940(0x24c)](),this;}[_0x57b479(0x2b4)](_0x485a80){var _0x1c060e=_0x57b479;throw new Error(_0x1c060e(0x36e));}['onRemoteAck'](){var _0x332e08=_0x57b479;throw new Error(_0x332e08(0x209));}['onRemoteRej'](){var _0x41ea9e=_0x57b479;throw new Error(_0x41ea9e(0x28b));}['onRemoteRetry'](){return this;}[_0x57b479(0x2a3)](){return this;}[_0x57b479(0x395)](){var _0x589467=_0x57b479;const {_injector:_0x4c3cb2,_pendingMutations:_0x4e9147,_awaitingChangeset:_0x2da6ed,unitID:_0x1546fe,_handler:_0x111dcf,type:_0x47e387}=this,_0x90a786=_0x41510e(_0x4c3cb2,_0x1546fe,_0x47e387,_0x2da6ed,_0x4e9147,_0x111dcf);return _0x90a786 instanceof _0x267f17[_0x589467(0x1c7)]?_0x90a786[_0x589467(0x4de)]():(_0x90a786 instanceof _0x267f17['AwaitingWithPendingState']||_0x90a786 instanceof _0x267f17[_0x589467(0x4cf)])&&_0x90a786[_0x589467(0x39c)](),_0x90a786;}[_0x57b479(0x39c)](){var _0x5d81db=_0x57b479;throw new Error(_0x5d81db(0x368));}},_0x267f17[_0x57b479(0x401)]=_0x49b7d3([_0x30b22e(0x5,_0x1b0b97['Inject'](_0x1b0b97[_0x57b479(0x397)])),_0x30b22e(0x6,_0x1b0b97[_0x57b479(0x36b)](_0x4f5b98['RevisionService'])),_0x30b22e(0x7,_0x1b0b97[_0x57b479(0x18c)]),_0x30b22e(0x8,_0x1b0b97[_0x57b479(0x2f5)]),_0x30b22e(0x9,_0x1b0b97[_0x57b479(0x3e0)](_0x6dcf6))],_0x267f17[_0x57b479(0x401)]),_0x267f17[_0x57b479(0x18f)]=class extends _0x47f178{constructor(_0x6c0546,_0xa314c,_0x56da6f,_0x1cd849,_0x17513e,_0x2742f4,_0x3a4d3f,_0x3bd8d3,_0x50d3f9,_0xf963ed,_0x5e4fea,_0x31dc74,_0x25a429,_0x3d4da5){var _0xd456f8=_0x57b479;super(_0x6c0546,_0xa314c,_0x56da6f,_0x1cd849,_0x3a4d3f,_0x5e4fea,_0x31dc74,_0x50d3f9,_0x3d4da5),_0x584dc2(this,_0xd456f8(0x280),'fetch_missing'),(this[_0xd456f8(0x47a)]=_0x17513e,this[_0xd456f8(0x3cb)]=_0x2742f4,this[_0xd456f8(0x3dc)]=_0x3bd8d3,this[_0xd456f8(0x3b1)]=_0xf963ed,this['_transformService']=_0x25a429,this[_0xd456f8(0x255)]=_0x3d4da5);}[_0x57b479(0x194)](_0x27c0f2){var _0x546a7b=_0x57b479;try{const _0x1773bd=[..._0x27c0f2,...this['_queuedRemoteChangesets']],_0x583e61=[this[_0x546a7b(0x2b8)]||this['_acknowledgedAwaitingChangeset']][_0x546a7b(0x3d8)](_0x5d5d39=>!!_0x5d5d39);let _0x2264dd,_0x4ae863;if(_0x583e61[_0x546a7b(0x1df)]){const _0x45e0fd=this[_0x546a7b(0x452)][_0x546a7b(0x44f)](_0x1773bd,_0x583e61,!0x1);if(!_0x4f5b98[_0x546a7b(0x3a2)](_0x45e0fd))throw _0x45e0fd[_0x546a7b(0x4b7)];_0x2264dd=_0x45e0fd[_0x546a7b(0x24d)],_0x4ae863=_0x45e0fd[_0x546a7b(0x37e)];}else _0x2264dd=_0x1773bd,_0x4ae863=[];let _0xd7587b=this[_0x546a7b(0x491)];_0x2264dd['forEach'](_0x23e321=>{var _0x5c5a55=_0x546a7b;let _0x385dc2;if(_0xd7587b[_0x5c5a55(0x1df)]){const _0x3ac7d5=this[_0x5c5a55(0x452)][_0x5c5a55(0x2e7)](_0x23e321,_0xd7587b);if(!_0x4f5b98['isTransformMutationsWithChangesetSuccess'](_0x3ac7d5))throw _0x3ac7d5['error'];_0x385dc2=_0x3ac7d5[_0x5c5a55(0x24d)],_0xd7587b=_0x3ac7d5[_0x5c5a55(0x1de)];}else _0x385dc2=_0x23e321;this['_executeRemoteChangeset'](_0x385dc2);}),this[_0x546a7b(0x47a)]&&this[_0x546a7b(0x26f)](),this[_0x546a7b(0x2b8)]&&_0x4ae863[_0x546a7b(0x1df)]&&(_0x4ae863[0x0]['baseRev']=this[_0x546a7b(0x312)]());let _0x41e44c;if(this['_awaitingChangeset']&&_0xd7587b[_0x546a7b(0x1df)]!==0x0)_0x41e44c=this[_0x546a7b(0x3dc)][_0x546a7b(0x3c1)](_0x267f17[_0x546a7b(0x1e6)],this[_0x546a7b(0x3c9)],this[_0x546a7b(0x3a8)],_0x4ae863[0x0],_0xd7587b,this[_0x546a7b(0x3a4)],void 0x0);else{if(this[_0x546a7b(0x2b8)]&&_0xd7587b['length']===0x0)_0x4ae863[0x0][_0x546a7b(0x189)]=this['_getCurrentRevision'](),_0x41e44c=this['_injector']['createInstance'](_0x267f17[_0x546a7b(0x4cf)],this[_0x546a7b(0x3c9)],this[_0x546a7b(0x3a8)],_0x4ae863[0x0],this[_0x546a7b(0x3a4)]);else{if(_0xd7587b[_0x546a7b(0x1df)]!==0x0){const _0x1158e2=this[_0x546a7b(0x3dc)][_0x546a7b(0x3c1)](_0x267f17[_0x546a7b(0x1c7)],this['unitID'],this[_0x546a7b(0x3a8)],_0xd7587b,this['_handler']);_0x1158e2['_schedule'](),_0x41e44c=_0x1158e2;}else _0x41e44c=this[_0x546a7b(0x3dc)][_0x546a7b(0x3c1)](_0x267f17['SyncedState'],this['unitID'],this[_0x546a7b(0x3a8)],this[_0x546a7b(0x3a4)]);}}return _0x41e44c[_0x546a7b(0x24c)](),_0x41e44c;}catch(_0x173f21){return this[_0x546a7b(0x3b1)][_0x546a7b(0x4b7)](_0x546a7b(0x2af),_0x546a7b(0x346),_0x173f21),this[_0x546a7b(0x3dc)][_0x546a7b(0x3c1)](_0x267f17[_0x546a7b(0x18d)],this[_0x546a7b(0x3c9)],this[_0x546a7b(0x3a8)],this[_0x546a7b(0x2b8)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x57b479(0x39c)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x1741c5){var _0x4e499e=_0x57b479;return this[_0x4e499e(0x491)][_0x4e499e(0x37d)](_0x1741c5),this;}['onRemoteChangeset'](_0x1d79bb){var _0x438ffd=_0x57b479;return this['_queuedRemoteChangesets'][_0x438ffd(0x37d)](_0x1d79bb),this;}[_0x57b479(0x407)](_0x11bfdf){var _0x3746f4=_0x57b479;if(this[_0x3746f4(0x2b8)])return this[_0x3746f4(0x47a)]=this[_0x3746f4(0x2b8)],this[_0x3746f4(0x2b8)]=null,this;throw new Error(_0x3746f4(0x4dd));}['onRemoteRej'](_0x4dcace){var _0x3c278a=_0x57b479;return this[_0x3c278a(0x4bd)](!!(_0x4dcace!=null&&_0x4dcace[_0x3c278a(0x4eb)]));}[_0x57b479(0x38e)](){return this;}[_0x57b479(0x2a3)](){var _0x482ff1=_0x57b479;return this['_injector'][_0x482ff1(0x3c1)](_0x267f17[_0x482ff1(0x401)],this[_0x482ff1(0x3c9)],this[_0x482ff1(0x3a8)],this[_0x482ff1(0x2b8)],this[_0x482ff1(0x491)],this[_0x482ff1(0x3a4)]);}['toggleOnline'](){return this;}[_0x57b479(0x4bd)](_0x18a96d){var _0x2a3f58=_0x57b479;return this['_injector'][_0x2a3f58(0x3c1)](_0x267f17[_0x2a3f58(0x18d)],this['unitID'],this['type'],this[_0x2a3f58(0x2b8)],this[_0x2a3f58(0x491)],this[_0x2a3f58(0x3a4)],_0x18a96d);}},_0x267f17[_0x57b479(0x18f)]=_0x49b7d3([_0x30b22e(0x7,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97[_0x57b479(0x397)])),_0x30b22e(0x8,_0x1b0b97[_0x57b479(0x36b)](_0x4f5b98[_0x57b479(0x329)])),_0x30b22e(0x9,_0x1b0b97['ILogService']),_0x30b22e(0xa,_0x1b0b97['ICommandService']),_0x30b22e(0xb,_0x1b0b97['IUndoRedoService']),_0x30b22e(0xc,_0x4f5b98[_0x57b479(0x2f2)]),_0x30b22e(0xd,_0x1b0b97['Optional'](_0x6dcf6))],_0x267f17['FetchingMissState']);function _0x41510e(_0x125c1b,_0x2a5bc4,_0xb07671,_0x15ed71,_0x687d14,_0x8f3262){var _0x3ffeb7=_0x57b479;return _0x15ed71&&_0x687d14[_0x3ffeb7(0x1df)]?_0x125c1b[_0x3ffeb7(0x3c1)](_0x267f17[_0x3ffeb7(0x1e6)],_0x2a5bc4,_0xb07671,_0x15ed71,_0x687d14,_0x8f3262,void 0x0):_0x15ed71?_0x125c1b[_0x3ffeb7(0x3c1)](_0x267f17[_0x3ffeb7(0x4cf)],_0x2a5bc4,_0xb07671,_0x15ed71,_0x8f3262):_0x687d14[_0x3ffeb7(0x1df)]?_0x125c1b['createInstance'](_0x267f17[_0x3ffeb7(0x1c7)],_0x2a5bc4,_0xb07671,_0x687d14,_0x8f3262):_0x125c1b[_0x3ffeb7(0x3c1)](_0x267f17[_0x3ffeb7(0x44b)],_0x2a5bc4,_0xb07671,_0x8f3262);}var _0x4e2e44=Object[_0x57b479(0x294)],_0x4cce9d=Object[_0x57b479(0x298)],_0xa21710=(_0x4aa829,_0x4da48d,_0x17f395,_0x47ef1e)=>{var _0x1c3661=_0x57b479;for(var _0x1722da=_0x47ef1e>0x1?void 0x0:_0x47ef1e?_0x4cce9d(_0x4da48d,_0x17f395):_0x4da48d,_0x439b11=_0x4aa829[_0x1c3661(0x1df)]-0x1,_0x42a695;_0x439b11>=0x0;_0x439b11--)(_0x42a695=_0x4aa829[_0x439b11])&&(_0x1722da=(_0x47ef1e?_0x42a695(_0x4da48d,_0x17f395,_0x1722da):_0x42a695(_0x1722da))||_0x1722da);return _0x47ef1e&&_0x1722da&&_0x4e2e44(_0x4da48d,_0x17f395,_0x1722da),_0x1722da;},_0x23ed26=(_0x458dc5,_0x1183cc)=>(_0x5edb02,_0x5f0607)=>_0x1183cc(_0x5edb02,_0x5f0607,_0x458dc5);_0x267f17[_0x57b479(0x288)]=class extends _0x1b0b97[_0x57b479(0x355)]{constructor(_0x521bbd,_0x1dc338,_0x104407,_0x13fa30,_0x5cec80,_0x54ac81,_0x2e10f3,_0x30c83a,_0x3f63ac,_0x2ef356,_0xd5d913,_0x400d54,_0x42b924){var _0x581e37=_0x57b479;super(),_0x584dc2(this,_0x581e37(0x20e),new _0x427172[(_0x581e37(0x1e4))](null)),_0x584dc2(this,_0x581e37(0x463),this[_0x581e37(0x20e)]['asObservable']()),_0x584dc2(this,_0x581e37(0x213)),_0x584dc2(this,'_collaborationPaused',!0x1),_0x584dc2(this,_0x581e37(0x25a),''),_0x584dc2(this,_0x581e37(0x1c6),0x0),_0x584dc2(this,_0x581e37(0x2f6),this[_0x581e37(0x463)]['pipe'](_0x427172[_0x581e37(0x4ca)](_0x2ef19c=>_0x2ef19c?_0x2ef19c[_0x581e37(0x280)]:_0x14a99c[_0x581e37(0x3f3)]),_0x427172[_0x581e37(0x314)](0x1))),_0x584dc2(this,_0x581e37(0x32f),!0x1),_0x584dc2(this,_0x581e37(0x34a),[]),(this['unitID']=_0x521bbd,this[_0x581e37(0x313)]=_0x1dc338,this[_0x581e37(0x328)]=_0x104407,this[_0x581e37(0x3dc)]=_0x13fa30,this[_0x581e37(0x1c0)]=_0x5cec80,this[_0x581e37(0x1be)]=_0x54ac81,this[_0x581e37(0x228)]=_0x2e10f3,this[_0x581e37(0x27f)]=_0x30c83a,this[_0x581e37(0x3b1)]=_0x3f63ac,this['_commandService']=_0x2ef356,this[_0x581e37(0x353)]=_0xd5d913,this['_singleActiveUnitService']=_0x400d54,this[_0x581e37(0x207)]=_0x42b924);}get[_0x57b479(0x268)](){var _0x2c95a8=_0x57b479;return this[_0x2c95a8(0x213)];}async[_0x57b479(0x32b)](){var _0x5871df=_0x57b479;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5871df(0x21c)]();}[_0x57b479(0x25b)](){var _0x3f9db4=_0x57b479;return this[_0x3f9db4(0x21b)]=!0x0,_0x1b0b97[_0x3f9db4(0x237)](()=>{var _0x56e865=_0x3f9db4;this[_0x56e865(0x21b)]=!0x1,this[_0x56e865(0x1db)]();});}[_0x57b479(0x411)](_0x4aadfd){var _0x1ce81e=_0x57b479;this[_0x1ce81e(0x242)](_0x4aadfd);}['_updateState'](_0x57358a){var _0x162435=_0x57b479;this[_0x162435(0x213)]=_0x57358a,this['_state$'][_0x162435(0x40e)](_0x57358a);}async[_0x57b479(0x21c)](){var _0x3b969e=_0x57b479,_0x2ef86f;this[_0x3b969e(0x1cf)](await this[_0x3b969e(0x303)]()),this['_singleActiveUnitService']&&((_0x2ef86f=this[_0x3b969e(0x218)])==null||_0x2ef86f[_0x3b969e(0x2d2)](this['unitID']),this[_0x3b969e(0x2b9)](this[_0x3b969e(0x218)]['getUnitStatus$'](this[_0x3b969e(0x3c9)])[_0x3b969e(0x3aa)](_0x206cb2=>{var _0x5e926b=_0x3b969e;this[_0x5e926b(0x3b1)][_0x5e926b(0x1c3)](_0x5e926b(0x190),_0x5e926b(0x3ac),_0x206cb2),_0x206cb2===_0x1518e4['OTHER_CLIENTS_EDITING']?(this[_0x5e926b(0x27f)][_0x5e926b(0x402)]({'id':_0x864ea4[_0x5e926b(0x1e9)]}),this['_permissionService'][_0x5e926b(0x4d3)](new _0x42a1f3[(_0x5e926b(0x187))](this[_0x5e926b(0x3c9)])['id'],!0x1),this[_0x5e926b(0x353)]['setShowComponents'](!0x1)):(this[_0x5e926b(0x353)][_0x5e926b(0x4d3)](new _0x42a1f3['WorkbookEditablePermission'](this[_0x5e926b(0x3c9)])['id'],!0x0),this[_0x5e926b(0x353)][_0x5e926b(0x348)](!0x0));})));let _0x4d060c=!0x1;return this[_0x3b969e(0x2b9)](this[_0x3b969e(0x313)][_0x3b969e(0x390)][_0x3b969e(0x3aa)](_0x5563e1=>{var _0x5595c5=_0x3b969e;_0x5563e1===_0x397593[_0x5595c5(0x38c)]?this[_0x5595c5(0x499)](_0x4d060c):_0x5563e1===_0x397593[_0x5595c5(0x3f3)]&&(_0x4d060c=!0x0,this[_0x5595c5(0x2bf)]());})),this[_0x3b969e(0x2b9)](this[_0x3b969e(0x313)][_0x3b969e(0x27a)][_0x3b969e(0x3aa)](_0x41cd3c=>{var _0x5664b1=_0x3b969e;try{switch(_0x41cd3c[_0x5664b1(0x4d9)]){case _0x4f5b98[_0x5664b1(0x4f6)][_0x5664b1(0x1fe)]:{this[_0x5664b1(0x4df)](_0x4f5b98[_0x5664b1(0x2bc)](_0x41cd3c[_0x5664b1(0x29b)]));break;}case _0x4f5b98['CollaborationEvent'][_0x5664b1(0x23d)]:{this[_0x5664b1(0x28c)](_0x41cd3c[_0x5664b1(0x29b)]);break;}case _0x4f5b98[_0x5664b1(0x4f6)][_0x5664b1(0x3a0)]:{this[_0x5664b1(0x31c)]();break;}case _0x4f5b98[_0x5664b1(0x4f6)][_0x5664b1(0x1ea)]:{this[_0x5664b1(0x432)](_0x41cd3c[_0x5664b1(0x29b)]);break;}case _0x4f5b98[_0x5664b1(0x4f6)][_0x5664b1(0x2df)]:{this[_0x5664b1(0x447)](_0x41cd3c[_0x5664b1(0x29b)][_0x5664b1(0x1fa)][_0x5664b1(0x4ca)](_0x594cc7=>_0x4f5b98[_0x5664b1(0x2bc)](_0x594cc7)));break;}case _0x4f5b98[_0x5664b1(0x4f6)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x4f5b98[_0x5664b1(0x4f6)][_0x5664b1(0x4c9)]:break;}}catch(_0x40ad28){throw console[_0x5664b1(0x4b7)](_0x5664b1(0x3f8),_0x40ad28),_0x40ad28;}})),this[_0x3b969e(0x213)];}[_0x57b479(0x478)](){var _0xc88ba9=_0x57b479;this[_0xc88ba9(0x32f)]=!0x1;}[_0x57b479(0x217)](){var _0x40d8ff=_0x57b479;if(this['_transitionLocked'])throw new Error(_0x40d8ff(0x1a0));this[_0x40d8ff(0x32f)]=!0x0;}['_onLocalMutation'](_0x42cc64){var _0x3195ca=_0x57b479;this[_0x3195ca(0x217)](),this[_0x3195ca(0x1cf)](this[_0x3195ca(0x213)][_0x3195ca(0x495)](_0x42cc64)),this[_0x3195ca(0x478)]();}[_0x57b479(0x4df)](_0x425e2a){var _0x170b08=_0x57b479;if(!(_0x425e2a[_0x170b08(0x389)]<=this[_0x170b08(0x228)][_0x170b08(0x2fa)](this[_0x170b08(0x3c9)]))){if(this[_0x170b08(0x21b)]){this[_0x170b08(0x34a)][_0x170b08(0x37d)](_0x425e2a);return;}this['_applyRemoteChangeset'](_0x425e2a);}}['_exhaustRemoteChangesetQueue'](){var _0x2b3bbe=_0x57b479;this['_remoteChangesetQueue'][_0x2b3bbe(0x25d)](_0x2115bd=>this[_0x2b3bbe(0x433)](_0x2115bd)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x116f3f){var _0x214ab7=_0x57b479;const _0x1bc896=this[_0x214ab7(0x1c0)][_0x214ab7(0x33c)][_0x214ab7(0x361)](this[_0x214ab7(0x1c0)][_0x214ab7(0x33c)][_0x214ab7(0x363)]()[_0x214ab7(0x1cd)])(_0x116f3f[_0x214ab7(0x284)],null)||_0x116f3f[_0x214ab7(0x284)],_0x3c43b6={..._0x116f3f,'mutations':_0x1bc896};this[_0x214ab7(0x217)](),this['_updateState'](this[_0x214ab7(0x213)]['onRemoteChangeset'](_0x3c43b6)),this[_0x214ab7(0x478)]();}[_0x57b479(0x28c)](_0xd8aa7c){var _0x3910b6=_0x57b479;this['_lockTransition'](),this[_0x3910b6(0x1cf)](this[_0x3910b6(0x213)]['onRemoteAck'](_0xd8aa7c)),this['_unlockTransition']();}[_0x57b479(0x31c)](_0x4d8ab1){var _0x4b70bc=_0x57b479;this[_0x4b70bc(0x217)](),this[_0x4b70bc(0x1cf)](this['_state'][_0x4b70bc(0x489)](_0x4d8ab1)),this[_0x4b70bc(0x478)]();}['_onRemoteRetry'](_0x5638fd){var _0x56ad3e=_0x57b479;this[_0x56ad3e(0x217)](),this[_0x56ad3e(0x1cf)](this[_0x56ad3e(0x213)][_0x56ad3e(0x38e)](_0x5638fd)),this['_unlockTransition']();}[_0x57b479(0x447)](_0x1dd87d){var _0x24afac=_0x57b479;if(!(this[_0x24afac(0x213)]instanceof _0x267f17[_0x24afac(0x18f)]))throw new TypeError(_0x24afac(0x4c4));const _0x5b1020=_0x1dd87d[_0x24afac(0x4ca)](_0x31a8a2=>{var _0x159c8c=_0x24afac;const _0x175c6d=this['_compressMutationService'][_0x159c8c(0x33c)][_0x159c8c(0x361)](this[_0x159c8c(0x1c0)]['interceptor'][_0x159c8c(0x363)]()['COMPRESS_MUTATION_APPLY'])(_0x31a8a2['mutations'],null)||_0x31a8a2['mutations'];return{..._0x31a8a2,'mutations':_0x175c6d};});this[_0x24afac(0x217)](),this['_updateState'](this[_0x24afac(0x213)][_0x24afac(0x194)](_0x5b1020)),this[_0x24afac(0x478)]();}[_0x57b479(0x2bf)](){var _0x144cfb=_0x57b479;this[_0x144cfb(0x217)](),this[_0x144cfb(0x1cf)](this[_0x144cfb(0x213)]['toggleOffline']()),this[_0x144cfb(0x478)]();}[_0x57b479(0x499)](_0xe3e8b2=!0x1){var _0x31f1cc=_0x57b479;this[_0x31f1cc(0x217)](),this[_0x31f1cc(0x1cf)](this[_0x31f1cc(0x213)][_0x31f1cc(0x395)]()),this['_unlockTransition']();const _0x2a83fd=this[_0x31f1cc(0x213)];_0xe3e8b2&&_0x2a83fd instanceof _0x267f17['SyncedState']&&(this[_0x31f1cc(0x217)](),this[_0x31f1cc(0x1cf)](_0x2a83fd['fetchMiss']()),this[_0x31f1cc(0x478)]());}async[_0x57b479(0x303)](){return new Promise(_0x47096d=>{var _0x315555=_0x4759;this[_0x315555(0x313)][_0x315555(0x390)][_0x315555(0x31f)](_0x427172[_0x315555(0x239)](0x1))[_0x315555(0x3aa)](async _0x243d4e=>{var _0x555012=_0x315555;_0x47096d(await this[_0x555012(0x249)](_0x243d4e===_0x397593[_0x555012(0x38c)]));});});}[_0x57b479(0x434)](){var _0xf2c8c0=_0x57b479;const _0xa17573=this[_0xf2c8c0(0x3c9)];return{'onStateChange':(_0x926cd7,_0x16a4f9)=>{var _0x506fb1=_0xf2c8c0;if(_0x926cd7!==this[_0x506fb1(0x213)])throw new Error(_0x506fb1(0x4cc)+_0x926cd7[_0x506fb1(0x280)]+_0x506fb1(0x267)+_0x16a4f9[_0x506fb1(0x280)]+_0x506fb1(0x3b4)+this[_0x506fb1(0x213)][_0x506fb1(0x280)]);this[_0x506fb1(0x1cf)](_0x16a4f9);},'onSendChangeset':_0x47f885=>{var _0x28107c=_0xf2c8c0;_0x47f885['sid']||(_0x47f885['sid']=this[_0x28107c(0x25a)],_0x47f885[_0x28107c(0x295)]=++this[_0x28107c(0x1c6)]);const _0x4621c4={'eventID':_0x4f5b98[_0x28107c(0x4f6)][_0x28107c(0x1c9)],'data':{'unitID':_0x47f885[_0x28107c(0x3c9)],'unitType':this[_0x28107c(0x328)],'changeset':_0x47f885,'memberID':this[_0x28107c(0x313)]['getMemberID']()}};this[_0x28107c(0x313)][_0x28107c(0x3e8)](_0x4621c4,this[_0x28107c(0x3c9)]);},'onMissingChangesets':({from:_0x3158e9,to:_0x417854})=>{var _0x4fbef1=_0xf2c8c0;this['_logService'][_0x4fbef1(0x1c3)]('[CollaborationEntity]',_0x4fbef1(0x404)+_0x3158e9+_0x4fbef1(0x4af)+_0x417854);const _0x4af7f7={'eventID':_0x4f5b98[_0x4fbef1(0x4f6)][_0x4fbef1(0x1f9)],'data':{'unitID':_0xa17573,'unitType':this[_0x4fbef1(0x328)],'from':_0x3158e9,'to':_0x417854}};this[_0x4fbef1(0x313)]['send'](_0x4af7f7,this['unitID']);}};}async['_createInitialStateImpl'](_0x24e1c2){var _0x3b566b=_0x57b479,_0x37476f,_0x490b53,_0x43262c;const _0x4caa83=await((_0x37476f=this[_0x3b566b(0x207)])==null?void 0x0:_0x37476f[_0x3b566b(0x2aa)](this[_0x3b566b(0x3c9)])),_0x4b6ab5=(_0x490b53=_0x4caa83==null?void 0x0:_0x4caa83[_0x3b566b(0x284)])!=null?_0x490b53:[],_0x317654=(_0x43262c=_0x4caa83==null?void 0x0:_0x4caa83[_0x3b566b(0x490)])!=null?_0x43262c:null,_0x2dde88=!!(_0x317654!=null&&_0x317654[_0x3b566b(0x2eb)])&&!!(_0x317654!=null&&_0x317654[_0x3b566b(0x295)]);this[_0x3b566b(0x25a)]=_0x2dde88?_0x317654[_0x3b566b(0x2eb)]:_0x6b385a(),this[_0x3b566b(0x1c6)]=_0x2dde88?_0x317654[_0x3b566b(0x295)]:0x0;const _0x1721fd=this[_0x3b566b(0x3c9)];try{this['_replayCachedMutations'](_0x317654,_0x4b6ab5);}catch(_0x3b55f1){this[_0x3b566b(0x3b1)][_0x3b566b(0x4b7)](_0x3b55f1);}const _0x4d0894=this[_0x3b566b(0x434)]();if(_0x24e1c2){const _0x4b42f8=_0x41510e(this['_injector'],_0x1721fd,this[_0x3b566b(0x328)],_0x317654,_0x4b6ab5,_0x4d0894);return _0x4b42f8 instanceof _0x267f17[_0x3b566b(0x1c7)]?_0x4b42f8[_0x3b566b(0x4de)]():(_0x4b42f8 instanceof _0x267f17[_0x3b566b(0x1e6)]||_0x4b42f8 instanceof _0x267f17[_0x3b566b(0x4cf)])&&_0x4b42f8['resend'](),_0x4b42f8;}return this[_0x3b566b(0x3dc)]['createInstance'](_0x267f17[_0x3b566b(0x401)],_0x1721fd,this[_0x3b566b(0x328)],_0x317654,_0x4b6ab5,_0x4d0894);}['_replayCachedMutations'](_0x33b21b,_0x45dc82){var _0x39d96a=_0x57b479,_0x40b295,_0x14012d;const _0x242913=this[_0x39d96a(0x1c0)][_0x39d96a(0x33c)][_0x39d96a(0x361)](this[_0x39d96a(0x1c0)]['interceptor'][_0x39d96a(0x363)]()[_0x39d96a(0x1cd)]);(_0x40b295=_0x242913((_0x33b21b==null?void 0x0:_0x33b21b['mutations'])||[],null))==null||_0x40b295[_0x39d96a(0x25d)](_0x53608b=>this[_0x39d96a(0x2ea)][_0x39d96a(0x3ba)](_0x53608b['id'],_0x53608b['params'])),(_0x14012d=_0x242913(_0x45dc82||[],null))==null||_0x14012d[_0x39d96a(0x25d)](_0x3ee9b9=>this['_commandService'][_0x39d96a(0x3ba)](_0x3ee9b9['id'],_0x3ee9b9[_0x39d96a(0x202)]));}},_0x267f17[_0x57b479(0x288)]=_0xa21710([_0x23ed26(0x3,_0x1b0b97['Inject'](_0x1b0b97[_0x57b479(0x397)])),_0x23ed26(0x4,_0x1b0b97[_0x57b479(0x36b)](_0x4f5b98['CompressMutationService'])),_0x23ed26(0x5,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97['LocaleService'])),_0x23ed26(0x6,_0x1b0b97[_0x57b479(0x36b)](_0x4f5b98[_0x57b479(0x329)])),_0x23ed26(0x7,_0x1b0b97[_0x57b479(0x36b)](_0x442b4a)),_0x23ed26(0x8,_0x1b0b97[_0x57b479(0x40d)]),_0x23ed26(0x9,_0x1b0b97[_0x57b479(0x18c)]),_0x23ed26(0xa,_0x1b0b97[_0x57b479(0x487)]),_0x23ed26(0xb,_0x1b0b97[_0x57b479(0x3e0)](_0x14279a)),_0x23ed26(0xc,_0x1b0b97['Optional'](_0x6dcf6))],_0x267f17[_0x57b479(0x288)]),_0x267f17[_0x57b479(0x336)]=class extends _0x267f17[_0x57b479(0x288)]{constructor(_0x28fd41,_0x4d185c,_0x4d526c,_0x58dcaa,_0xabb031,_0x8e069b,_0x8198ba,_0x2b2ab2,_0x243e17,_0x13dc95,_0x245996,_0x491fb8,_0x514480){var _0x3f1d76=_0x57b479;super(_0x28fd41,_0x4d526c,_0x4d185c,_0x58dcaa,_0xabb031,_0x8e069b,_0x8198ba,_0x2b2ab2,_0x243e17,_0x13dc95,_0x245996,_0x491fb8,_0x514480),_0x584dc2(this,_0x3f1d76(0x49f),null),(this[_0x3f1d76(0x3c9)]=_0x28fd41,this[_0x3f1d76(0x3a8)]=_0x4d185c);}[_0x57b479(0x1c4)](_0x1366c3){var _0x2bd479=_0x57b479;this[_0x2bd479(0x49f)]=_0x1366c3;}['dispose'](){var _0x342818=_0x57b479;this[_0x342818(0x49f)]=null,super[_0x342818(0x282)]();}['_createHandler'](){var _0x3385ce=_0x57b479;const _0x493395=super[_0x3385ce(0x434)]();return _0x493395['onTransformIME']=_0xc31992=>{var _0xda44f2=_0x3385ce,_0x59286d,_0x33f75d;return(_0x33f75d=(_0x59286d=this[_0xda44f2(0x49f)])==null?void 0x0:_0x59286d[_0xda44f2(0x387)])==null?void 0x0:_0x33f75d[_0xda44f2(0x248)](_0x59286d,_0xc31992);},_0x493395[_0x3385ce(0x4e7)]=_0x53c74f=>{var _0x10ef57=_0x3385ce,_0xb0964c,_0x1b3bb2;return(_0x1b3bb2=(_0xb0964c=this[_0x10ef57(0x49f)])==null?void 0x0:_0xb0964c[_0x10ef57(0x4e7)])==null?void 0x0:_0x1b3bb2[_0x10ef57(0x248)](_0xb0964c,_0x53c74f);},_0x493395[_0x3385ce(0x3d2)]=_0x34cf0f=>{var _0x203c14=_0x3385ce,_0x3c0a5e,_0x21ee4d;return(_0x21ee4d=(_0x3c0a5e=this[_0x203c14(0x49f)])==null?void 0x0:_0x3c0a5e['onTransformSelections'])==null?void 0x0:_0x21ee4d[_0x203c14(0x248)](_0x3c0a5e,_0x34cf0f);},_0x493395[_0x3385ce(0x1d7)]=_0x3b23b3=>{var _0x3fb1d1=_0x3385ce,_0xa58fbf,_0x59bf37;return(_0x59bf37=(_0xa58fbf=this['_handlerCallback'])==null?void 0x0:_0xa58fbf[_0x3fb1d1(0x1d7)])==null?void 0x0:_0x59bf37[_0x3fb1d1(0x248)](_0xa58fbf,_0x3b23b3);},_0x493395[_0x3385ce(0x43b)]=_0xcf3036=>{var _0x444f9c=_0x3385ce,_0xb414fb,_0x249a02,_0x5cbd53;if(!((_0xb414fb=this[_0x444f9c(0x49f)])!=null&&_0xb414fb[_0x444f9c(0x43b)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5cbd53=(_0x249a02=this[_0x444f9c(0x49f)])==null?void 0x0:_0x249a02['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5cbd53['call'](_0x249a02,_0xcf3036);},_0x493395[_0x3385ce(0x45f)]=_0x49c286=>{var _0x5cc00c=_0x3385ce,_0x58c96e,_0x4c1825,_0x86674;if(!((_0x58c96e=this['_handlerCallback'])!=null&&_0x58c96e['onTransformRemoteChangesetByStateCache']))throw new Error(_0x5cc00c(0x1d6));return(_0x86674=(_0x4c1825=this[_0x5cc00c(0x49f)])==null?void 0x0:_0x4c1825[_0x5cc00c(0x45f)])==null?void 0x0:_0x86674[_0x5cc00c(0x248)](_0x4c1825,_0x49c286);},_0x493395;}async[_0x57b479(0x21c)](){var _0x1af564=_0x57b479;const _0x5d7996=await super[_0x1af564(0x21c)]();return this['disposeWithMe'](this[_0x1af564(0x2ea)]['onCommandExecuted']((_0x534038,_0x3f6894)=>{var _0x3b1841=_0x1af564;if(_0x534038[_0x3b1841(0x3a8)]!==_0x1b0b97[_0x3b1841(0x3fc)][_0x3b1841(0x2c6)]||_0x3f6894!=null&&_0x3f6894[_0x3b1841(0x3bc)]||_0x3f6894!=null&&_0x3f6894['onlyLocal']||_0x534038['id']===_0x313987['RichTextEditingMutation']['id'])return;const _0x3b5545=_0x534038[_0x3b1841(0x202)];if((_0x3b5545==null?void 0x0:_0x3b5545[_0x3b1841(0x30a)])!==this[_0x3b1841(0x3c9)])return;const _0x3a2786=_0x534038,_0x1c0ca6=this[_0x3b1841(0x1c0)][_0x3b1841(0x33c)][_0x3b1841(0x361)](this[_0x3b1841(0x1c0)][_0x3b1841(0x33c)][_0x3b1841(0x363)]()[_0x3b1841(0x1d2)])([_0x3a2786],null)||[_0x3a2786];this[_0x3b1841(0x242)](_0x1c0ca6[0x0]);})),_0x5d7996;}},_0x267f17[_0x57b479(0x336)]=_0xa21710([_0x23ed26(0x3,_0x1b0b97['Inject'](_0x1b0b97[_0x57b479(0x397)])),_0x23ed26(0x4,_0x1b0b97['Inject'](_0x4f5b98[_0x57b479(0x2d1)])),_0x23ed26(0x5,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97[_0x57b479(0x41e)])),_0x23ed26(0x6,_0x1b0b97['Inject'](_0x4f5b98['RevisionService'])),_0x23ed26(0x7,_0x1b0b97[_0x57b479(0x36b)](_0x442b4a)),_0x23ed26(0x8,_0x1b0b97[_0x57b479(0x40d)]),_0x23ed26(0x9,_0x1b0b97[_0x57b479(0x18c)]),_0x23ed26(0xa,_0x1b0b97[_0x57b479(0x487)]),_0x23ed26(0xb,_0x1b0b97[_0x57b479(0x3e0)](_0x14279a)),_0x23ed26(0xc,_0x1b0b97['Optional'](_0x6dcf6))],_0x267f17['DocCollaborationEntity']),_0x267f17[_0x57b479(0x4d0)]=class extends _0x267f17[_0x57b479(0x288)]{constructor(_0xd67a87,_0x2caa30,_0x3ce0a1,_0x3443e5,_0x5982ca,_0x4a8cad,_0x2ae26e,_0x273896,_0x1c9331,_0x3b055b,_0x55b5e5,_0x578256,_0x1ad08a,_0x44a145){var _0x1094b5=_0x57b479;super(_0xd67a87,_0x3ce0a1,_0x2caa30,_0x3443e5,_0x5982ca,_0x4a8cad,_0x2ae26e,_0x1c9331,_0x3b055b,_0x55b5e5,_0x578256,_0x1ad08a,_0x44a145),this['unitID']=_0xd67a87,this[_0x1094b5(0x3a8)]=_0x2caa30,this[_0x1094b5(0x177)]=_0x273896;}[_0x57b479(0x434)](){var _0x56c064=_0x57b479;const _0x53b92c=super[_0x56c064(0x434)]();return _0x53b92c[_0x56c064(0x3d2)]=_0x14c0c4=>this[_0x56c064(0x177)][_0x56c064(0x18a)](_0x14c0c4),_0x53b92c;}async[_0x57b479(0x21c)](){var _0x18e959=_0x57b479;const _0x306fa0=await super[_0x18e959(0x21c)]();return this[_0x18e959(0x2b9)](this[_0x18e959(0x2ea)][_0x18e959(0x259)]((_0x44f8a5,_0x281a10)=>{var _0xa62c45=_0x18e959;if(_0x44f8a5[_0xa62c45(0x3a8)]!==_0x1b0b97[_0xa62c45(0x3fc)][_0xa62c45(0x2c6)]||_0x281a10!=null&&_0x281a10[_0xa62c45(0x3bc)]||_0x281a10!=null&&_0x281a10[_0xa62c45(0x29c)])return;const _0x34fe58=_0x44f8a5[_0xa62c45(0x202)];if((_0x34fe58==null?void 0x0:_0x34fe58[_0xa62c45(0x30a)])!==this[_0xa62c45(0x3c9)])return;const _0x10621e=_0x44f8a5,_0x153822=this['_compressMutationService'][_0xa62c45(0x33c)][_0xa62c45(0x361)](this[_0xa62c45(0x1c0)][_0xa62c45(0x33c)][_0xa62c45(0x363)]()[_0xa62c45(0x1d2)])([_0x10621e],null)||[_0x10621e];this['_onLocalMutation'](_0x153822[0x0]);})),_0x306fa0;}},_0x267f17[_0x57b479(0x4d0)]=_0xa21710([_0x23ed26(0x3,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97[_0x57b479(0x397)])),_0x23ed26(0x4,_0x1b0b97['Inject'](_0x4f5b98[_0x57b479(0x2d1)])),_0x23ed26(0x5,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97[_0x57b479(0x41e)])),_0x23ed26(0x6,_0x1b0b97[_0x57b479(0x36b)](_0x4f5b98[_0x57b479(0x329)])),_0x23ed26(0x7,_0x1b0b97['Inject'](_0x267f17[_0x57b479(0x1a4)])),_0x23ed26(0x8,_0x1b0b97[_0x57b479(0x36b)](_0x442b4a)),_0x23ed26(0x9,_0x1b0b97[_0x57b479(0x40d)]),_0x23ed26(0xa,_0x1b0b97['ICommandService']),_0x23ed26(0xb,_0x1b0b97[_0x57b479(0x487)]),_0x23ed26(0xc,_0x1b0b97[_0x57b479(0x3e0)](_0x14279a)),_0x23ed26(0xd,_0x1b0b97[_0x57b479(0x3e0)](_0x6dcf6))],_0x267f17[_0x57b479(0x4d0)]);var _0x3002de=Object[_0x57b479(0x294)],_0x34f319=Object[_0x57b479(0x298)],_0x4c3002=(_0x5570d4,_0x697c24,_0xcb5912,_0x39817a)=>{var _0x35e352=_0x57b479;for(var _0x48fe56=_0x39817a>0x1?void 0x0:_0x39817a?_0x34f319(_0x697c24,_0xcb5912):_0x697c24,_0x1a0888=_0x5570d4[_0x35e352(0x1df)]-0x1,_0x42a9ea;_0x1a0888>=0x0;_0x1a0888--)(_0x42a9ea=_0x5570d4[_0x1a0888])&&(_0x48fe56=(_0x39817a?_0x42a9ea(_0x697c24,_0xcb5912,_0x48fe56):_0x42a9ea(_0x48fe56))||_0x48fe56);return _0x39817a&&_0x48fe56&&_0x3002de(_0x697c24,_0xcb5912,_0x48fe56),_0x48fe56;},_0x12cb89=(_0x188911,_0x5f21b7)=>(_0x5df0fc,_0x5447a2)=>_0x5f21b7(_0x5df0fc,_0x5447a2,_0x188911);_0x267f17[_0x57b479(0x4f5)]=class extends _0x1b0b97[_0x57b479(0x355)]{constructor(_0x2d5876,_0x53bed5,_0x139bb0){var _0x5549a4=_0x57b479;super(),_0x584dc2(this,_0x5549a4(0x393),new Map()),_0x584dc2(this,_0x5549a4(0x3d6),new _0x427172[(_0x5549a4(0x206))]()),_0x584dc2(this,_0x5549a4(0x4b8),this[_0x5549a4(0x3d6)][_0x5549a4(0x2ae)]()),(this[_0x5549a4(0x3dc)]=_0x2d5876,this[_0x5549a4(0x4b5)]=_0x53bed5,this[_0x5549a4(0x198)]=_0x139bb0,this[_0x5549a4(0x21c)]());}[_0x57b479(0x282)](){var _0xc4f980=_0x57b479;super['dispose'](),this[_0xc4f980(0x393)]['forEach'](_0x1e1c2f=>_0x1e1c2f[_0xc4f980(0x282)]()),this[_0xc4f980(0x393)][_0xc4f980(0x36f)]();}[_0x57b479(0x43e)](_0x45e75c){var _0x5099c1=_0x57b479,_0x575301;return(_0x575301=this[_0x5099c1(0x393)]['get'](_0x45e75c))!=null?_0x575301:null;}[_0x57b479(0x17c)](_0xcefb02){var _0x5d1635=_0x57b479;const _0x1a5b8a=this[_0x5d1635(0x43e)](_0xcefb02);return _0x1a5b8a?_0x427172['of'](_0x1a5b8a):this[_0x5d1635(0x3d6)]['pipe'](_0xeec3f8['filter'](_0x3723e1=>_0x3723e1[_0x5d1635(0x3c9)]===_0xcefb02));}[_0x57b479(0x2b3)](_0x1e27e6){var _0x22eaad=_0x57b479;return _0x427172['firstValueFrom'](this[_0x22eaad(0x17c)](_0x1e27e6)[_0x22eaad(0x31f)](_0xeec3f8['map'](()=>{})));}['_init'](){var _0x4f3f08=_0x57b479;this['_univerInstanceService'][_0x4f3f08(0x440)](_0x1b0b97[_0x4f3f08(0x4c7)][_0x4f3f08(0x2f7)])[_0x4f3f08(0x31f)](_0x427172[_0x4f3f08(0x3c7)](this['dispose$']),_0xeec3f8[_0x4f3f08(0x40c)](0x10))['subscribe'](async _0x456beb=>{var _0x513e9b=_0x4f3f08;const _0x63cdad=_0x456beb['getUnitId'](),_0x52c974=await this[_0x513e9b(0x32d)](_0x63cdad,_0x45c17c[_0x513e9b(0x2f7)]);this[_0x513e9b(0x393)]['set'](_0x63cdad,_0x52c974);}),this[_0x4f3f08(0x198)][_0x4f3f08(0x440)](_0x1b0b97[_0x4f3f08(0x4c7)][_0x4f3f08(0x351)])[_0x4f3f08(0x31f)](_0x427172[_0x4f3f08(0x3c7)](this[_0x4f3f08(0x406)]),_0xeec3f8[_0x4f3f08(0x40c)](0x10))['pipe'](_0xeec3f8[_0x4f3f08(0x3d8)](_0x522d4f=>!_0x522d4f[_0x4f3f08(0x2a2)]()['startsWith']('__')))[_0x4f3f08(0x3aa)](async _0x2dc316=>{var _0x4e5680=_0x4f3f08;const _0x3c6f67=_0x2dc316[_0x4e5680(0x2a2)](),_0x5610b0=await this[_0x4e5680(0x32d)](_0x3c6f67,_0x45c17c[_0x4e5680(0x351)]);this[_0x4e5680(0x393)][_0x4e5680(0x300)](_0x3c6f67,_0x5610b0);}),_0x427172['merge'](this[_0x4f3f08(0x198)][_0x4f3f08(0x38f)](_0x1b0b97[_0x4f3f08(0x4c7)][_0x4f3f08(0x2f7)]),this[_0x4f3f08(0x198)]['getTypeOfUnitDisposed$'](_0x1b0b97[_0x4f3f08(0x4c7)][_0x4f3f08(0x351)]))[_0x4f3f08(0x31f)](_0x427172['takeUntil'](this[_0x4f3f08(0x406)]))[_0x4f3f08(0x3aa)](_0x32d30f=>{var _0x1cdd82=_0x4f3f08;const _0x1fb85c=_0x32d30f[_0x1cdd82(0x2a2)](),_0x3c096b=this[_0x1cdd82(0x393)]['get'](_0x1fb85c);_0x3c096b&&(_0x3c096b[_0x1cdd82(0x282)](),this[_0x1cdd82(0x393)]['delete'](_0x1fb85c));});}async['_startCollaboration'](_0x9decf7,_0x5997e6){var _0x6d412f=_0x57b479;const _0x383572=await this[_0x6d412f(0x4b5)][_0x6d412f(0x243)](_0x9decf7),_0x26d957=this[_0x6d412f(0x3dc)][_0x6d412f(0x3c1)](this[_0x6d412f(0x494)](_0x5997e6),_0x9decf7,_0x5997e6,_0x383572);return await _0x26d957[_0x6d412f(0x32b)](),this[_0x6d412f(0x3d6)][_0x6d412f(0x40e)](_0x26d957),_0x26d957;}['_getCtorByUniverType'](_0x129252){var _0x3e6fd7=_0x57b479;switch(_0x129252){case _0x45c17c['UNIVER_DOC']:return _0x267f17[_0x3e6fd7(0x336)];case _0x45c17c[_0x3e6fd7(0x2f7)]:return _0x267f17['SheetCollaborationEntity'];default:throw new Error(_0x3e6fd7(0x2a6)+_0x129252);}}},_0x267f17[_0x57b479(0x4f5)]=_0x4c3002([_0x12cb89(0x0,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97[_0x57b479(0x397)])),_0x12cb89(0x1,_0x1b0b97[_0x57b479(0x36b)](_0x267f17[_0x57b479(0x376)])),_0x12cb89(0x2,_0x1b0b97[_0x57b479(0x381)])],_0x267f17[_0x57b479(0x4f5)]);var _0x5aa0a2=Object[_0x57b479(0x294)],_0x11e4a6=Object[_0x57b479(0x298)],_0x5e29b6=(_0x1c1559,_0x1ed1a1,_0x30325f,_0x5302db)=>{var _0x104128=_0x57b479;for(var _0x384444=_0x5302db>0x1?void 0x0:_0x5302db?_0x11e4a6(_0x1ed1a1,_0x30325f):_0x1ed1a1,_0x3faf47=_0x1c1559[_0x104128(0x1df)]-0x1,_0x1fffa2;_0x3faf47>=0x0;_0x3faf47--)(_0x1fffa2=_0x1c1559[_0x3faf47])&&(_0x384444=(_0x5302db?_0x1fffa2(_0x1ed1a1,_0x30325f,_0x384444):_0x1fffa2(_0x384444))||_0x384444);return _0x5302db&&_0x384444&&_0x5aa0a2(_0x1ed1a1,_0x30325f,_0x384444),_0x384444;},_0x237077=(_0x5bf367,_0x107a68)=>(_0x5803d6,_0x1f058c)=>_0x107a68(_0x5803d6,_0x1f058c,_0x5bf367);const _0x1a0261='DEFAULT_FILE_NAME',_0xdc0295=_0x57b479(0x4d2);let _0xceea24=class extends _0x1b0b97[_0x57b479(0x40f)]{constructor(_0x5225da,_0x347ca4){var _0x47f47=_0x57b479;super(),this[_0x47f47(0x198)]=_0x5225da,this[_0x47f47(0x23a)]=_0x347ca4,this[_0x47f47(0x21c)]();}['_init'](){var _0x35469d=_0x57b479;this[_0x35469d(0x2b9)](this[_0x35469d(0x198)]['focused$'][_0x35469d(0x3aa)](()=>{var _0x5e4a33=_0x35469d,_0x20d635;const _0x1c07aa=this[_0x5e4a33(0x198)][_0x5e4a33(0x370)]();let _0x409384=(_0x20d635=this[_0x5e4a33(0x23a)][_0x5e4a33(0x35e)](_0x1a0261))!=null?_0x20d635:_0xdc0295;_0x1c07aa instanceof _0x1b0b97[_0x5e4a33(0x2bb)]&&(_0x409384=_0x1c07aa[_0x5e4a33(0x1ae)]),document['title']=_0x409384;}));}};_0xceea24=_0x5e29b6([_0x237077(0x0,_0x1b0b97[_0x57b479(0x381)]),_0x237077(0x1,_0x1b0b97[_0x57b479(0x4e0)])],_0xceea24);var _0x4d2903=Object['defineProperty'],_0x488f3f=Object[_0x57b479(0x298)],_0x1073db=(_0x3f387a,_0x2bd584,_0x5af785,_0x232525)=>{for(var _0x2a7737=_0x232525>0x1?void 0x0:_0x232525?_0x488f3f(_0x2bd584,_0x5af785):_0x2bd584,_0x471ea8=_0x3f387a['length']-0x1,_0x3ad870;_0x471ea8>=0x0;_0x471ea8--)(_0x3ad870=_0x3f387a[_0x471ea8])&&(_0x2a7737=(_0x232525?_0x3ad870(_0x2bd584,_0x5af785,_0x2a7737):_0x3ad870(_0x2a7737))||_0x2a7737);return _0x232525&&_0x2a7737&&_0x4d2903(_0x2bd584,_0x5af785,_0x2a7737),_0x2a7737;},_0x3ebc2a=(_0x16b750,_0x35d0a0)=>(_0x19dd66,_0xd54249)=>_0x35d0a0(_0x19dd66,_0xd54249,_0x16b750);let _0x3e3aee=class{constructor(_0x2b23df,_0x169ea4,_0x162095){var _0x4849aa=_0x57b479;this[_0x4849aa(0x23a)]=_0x2b23df,this[_0x4849aa(0x192)]=_0x169ea4,this[_0x4849aa(0x2c4)]=_0x162095,this[_0x4849aa(0x32b)]();}[_0x57b479(0x32b)](){var _0x1c63e7=_0x57b479;this[_0x1c63e7(0x192)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1dd14a,_0x38d5cc)=>_0x38d5cc(_0x1dd14a)[_0x1c63e7(0x31f)](_0x427172[_0x1c63e7(0x279)](async _0x5c880e=>{var _0x1fbb66=_0x1c63e7;const _0x1e5466=_0x5c880e;if(_0x1e5466[_0x1fbb66(0x280)]===0x191){if(typeof window>'u')throw new Error(_0x1fbb66(0x1e8));if(window[_0x1fbb66(0x481)](this[_0x1fbb66(0x2c4)]['t']('auth.needGotoLoginAlert'))){const _0x260f5=window[_0x1fbb66(0x2c0)](window[_0x1fbb66(0x48e)][_0x1fbb66(0x3be)]);window[_0x1fbb66(0x48e)][_0x1fbb66(0x3be)]=this[_0x1fbb66(0x414)]()+_0x1fbb66(0x324)+_0x260f5;}}return _0x1e5466;}))});}[_0x57b479(0x414)](){var _0x215a01=_0x57b479,_0x2e67eb,_0x45e9bf;const _0x3bcd68=this[_0x215a01(0x23a)][_0x215a01(0x35e)](_0x5e952c),_0x3c35ec=this[_0x215a01(0x23a)]['getConfig'](_0x4bdd65);return(_0x45e9bf=(_0x2e67eb=_0x3c35ec==null?void 0x0:_0x3c35ec[_0x215a01(0x359)])!=null?_0x2e67eb:_0x3bcd68)!=null?_0x45e9bf:_0x1336e1;}};_0x3e3aee=_0x1073db([_0x3ebc2a(0x0,_0x1b0b97['IConfigService']),_0x3ebc2a(0x1,_0x1b0b97['Inject'](_0x52daec['HTTPService'])),_0x3ebc2a(0x2,_0x1b0b97['Inject'](_0x1b0b97[_0x57b479(0x41e)]))],_0x3e3aee);var _0x5c833c=Object[_0x57b479(0x294)],_0x3135cb=Object[_0x57b479(0x298)],_0x1daa9a=(_0xaa549a,_0x25fcfd,_0x174e99,_0x22d95b)=>{for(var _0x2b6380=_0x22d95b>0x1?void 0x0:_0x22d95b?_0x3135cb(_0x25fcfd,_0x174e99):_0x25fcfd,_0x697115=_0xaa549a['length']-0x1,_0x5be0a0;_0x697115>=0x0;_0x697115--)(_0x5be0a0=_0xaa549a[_0x697115])&&(_0x2b6380=(_0x22d95b?_0x5be0a0(_0x25fcfd,_0x174e99,_0x2b6380):_0x5be0a0(_0x2b6380))||_0x2b6380);return _0x22d95b&&_0x2b6380&&_0x5c833c(_0x25fcfd,_0x174e99,_0x2b6380),_0x2b6380;},_0x4024e9=(_0x3fd527,_0x9d06a7)=>(_0x47b736,_0x4e8214)=>_0x9d06a7(_0x47b736,_0x4e8214,_0x3fd527);const _0x7b2f54=_0x57b479(0x35d),_0x372ec5='/universer-api/authz';_0x267f17[_0x57b479(0x20a)]=class extends _0x1b0b97[_0x57b479(0x40f)]{constructor(_0xad58bd,_0x4eabf9){var _0xe83e84=_0x57b479;super(),this[_0xe83e84(0x1b6)]=_0xad58bd,this[_0xe83e84(0x23a)]=_0x4eabf9,this[_0xe83e84(0x2a5)]();}['_initMergeInterceptor'](){var _0x53fbb1=_0x57b479;const _0x1e2f1f=this;this[_0x53fbb1(0x2b9)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x52daec['MergeInterceptorFactory']({'isMatch'(_0x829b96){var _0x475d3a=_0x53fbb1,_0x2d9e8e;if(_0x829b96[_0x475d3a(0x408)]===_0x475d3a(0x1c8)&&((_0x2d9e8e=_0x829b96[_0x475d3a(0x36d)])!=null&&_0x2d9e8e[_0x475d3a(0x17b)])){const {objectID:_0x3d804c,objectType:_0x5dfd20}=_0x829b96['requestParams']['body']||{};if(!_0x3d804c||_0x5dfd20===void 0x0)return!0x1;const _0x20f414=_0x1e2f1f[_0x475d3a(0x40a)]()+'/'+_0x5dfd20+_0x475d3a(0x180)+_0x3d804c+_0x475d3a(0x23c);if(_0x829b96['url']===_0x20f414)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1b5959){var _0x156803=_0x53fbb1,_0x557220;return(_0x557220=_0x1b5959[_0x156803(0x36d)])==null?void 0x0:_0x557220[_0x156803(0x17b)];},'mergeParamsToRequest'(_0x4ed93e,_0x1db357){var _0x21aae2=_0x53fbb1;const _0x4fb742=_0x1e2f1f['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x1fc1ee=_0x4ed93e[_0x21aae2(0x4b9)]((_0x57f828,_0x58746d)=>{var _0x4bae4b=_0x21aae2;const {unitID:_0xa5d85e,objectID:_0x5161ce,objectType:_0x80afa6,actions:_0x473c8b}=_0x58746d;return _0x57f828[_0xa5d85e]||(_0x57f828[_0xa5d85e]={}),_0x57f828[_0xa5d85e][_0x5161ce]||(_0x57f828[_0xa5d85e][_0x5161ce]={'objectID':_0x5161ce,'objectType':_0x80afa6,'actions':[]}),_0x57f828[_0xa5d85e][_0x5161ce][_0x4bae4b(0x343)][_0x4bae4b(0x37d)](..._0x473c8b),_0x57f828;},{}),_0x2184f7=[];for(const _0x312037 in _0x1fc1ee)for(const _0x594d97 in _0x1fc1ee[_0x312037]){const {actions:_0x7eedce,objectType:_0xd9b4bc}=_0x1fc1ee[_0x312037][_0x594d97],_0x275776=[...new Set(_0x7eedce)];_0x2184f7[_0x21aae2(0x37d)]({'unitID':_0x312037,'objectID':_0x594d97,'objectType':_0xd9b4bc,'actions':_0x275776});}return new _0x52daec['HTTPRequest'](_0x21aae2(0x1c8),_0x4fb742,{'headers':_0x1db357['headers'],'withCredentials':_0x1db357[_0x21aae2(0x22e)],'responseType':_0x1db357[_0x21aae2(0x2c9)],'body':{'requests':_0x2184f7}});}},{'distributeResult'(_0x13862d,_0x515366){var _0x594e70=_0x53fbb1;const {objectActions:_0x2b76a8}=_0x13862d;return _0x515366[_0x594e70(0x4ca)](_0x2fd4c0=>{var _0x57f2e7=_0x594e70;const {unitID:_0x5de94a,objectID:_0x156075,actions:_0x479090}=_0x2fd4c0,_0x152d2b=_0x2b76a8[_0x57f2e7(0x18b)](_0x4db773=>_0x4db773[_0x57f2e7(0x3c9)]===_0x5de94a&&_0x4db773[_0x57f2e7(0x2ad)]===_0x156075),_0x6ce641=_0x479090[_0x57f2e7(0x4ca)](_0x519729=>_0x152d2b==null?void 0x0:_0x152d2b[_0x57f2e7(0x343)][_0x57f2e7(0x18b)](_0x1fb175=>_0x1fb175[_0x57f2e7(0x229)]===_0x519729))['filter'](_0x38a71f=>!!_0x38a71f);return{'config':_0x2fd4c0,'result':{'actions':_0x6ce641,'error':_0x13862d['error']}};});}})}));}[_0x57b479(0x40a)](){var _0x5e96b0=_0x57b479,_0x776e70,_0x29ed84;const _0x54831a=this[_0x5e96b0(0x23a)]['getConfig'](_0x7b2f54),_0x44138a=this[_0x5e96b0(0x23a)]['getConfig'](_0x4bdd65);return(_0x29ed84=(_0x776e70=_0x44138a==null?void 0x0:_0x44138a[_0x5e96b0(0x1da)])!=null?_0x776e70:_0x54831a)!=null?_0x29ed84:_0x372ec5;}async[_0x57b479(0x4c5)](_0x294641){var _0xcffde7=_0x57b479;const _0x255bfa=this[_0xcffde7(0x40a)]()+'/'+_0x294641[_0xcffde7(0x3e5)]+_0xcffde7(0x318);return(await this[_0xcffde7(0x1b6)]['post'](_0x255bfa,{'body':_0x294641}))['body'][_0xcffde7(0x2ad)]||'';}async[_0x57b479(0x37f)](_0xf58a44){var _0x88eec9=_0x57b479;const _0x399551=this[_0x88eec9(0x40a)]()+_0x88eec9(0x271);return(await this[_0x88eec9(0x1b6)][_0x88eec9(0x3f2)](_0x399551,{'body':_0xf58a44}))[_0x88eec9(0x17b)][_0x88eec9(0x4c0)];}async[_0x57b479(0x3eb)](_0x2861b3){var _0x261519=_0x57b479;const _0x1fccc9=this['_getAPIPrefixPath']()+'/'+_0x2861b3[_0x261519(0x3e5)]+_0x261519(0x180)+_0x2861b3['objectID'];await this['_HTTPService'][_0x261519(0x26a)](_0x1fccc9,{'body':_0x2861b3});}async[_0x57b479(0x4ae)](_0x4889de){var _0x4510d3=_0x57b479;const _0x8ff3ba=this['_getAPIPrefixPath']()+'/'+_0x4889de[_0x4510d3(0x3e5)]+'/object/'+_0x4889de[_0x4510d3(0x2ad)]+_0x4510d3(0x23c);return(await this[_0x4510d3(0x1b6)][_0x4510d3(0x3f2)](_0x8ff3ba,{'body':_0x4889de}))[_0x4510d3(0x17b)][_0x4510d3(0x343)];}async['batchAllowed'](_0x101a1f){var _0x152d73=_0x57b479;const _0xbd5cc4=this[_0x152d73(0x40a)]()+_0x152d73(0x477);return(await this['_HTTPService'][_0x152d73(0x3f2)](_0xbd5cc4,{'body':{'requests':_0x101a1f}}))[_0x152d73(0x17b)][_0x152d73(0x1ba)];}async[_0x57b479(0x20b)](_0x33572b){var _0x4af88a=_0x57b479;const _0x2f0d26=this[_0x4af88a(0x40a)]()+'/'+_0x33572b[_0x4af88a(0x3e5)]+_0x4af88a(0x33a),_0x4b21d8=await this[_0x4af88a(0x1b6)][_0x4af88a(0x3f2)](_0x2f0d26,{'body':_0x33572b});return{'roles':_0x4b21d8['body']['roles'],'actions':_0x4b21d8[_0x4af88a(0x17b)][_0x4af88a(0x343)]};}async[_0x57b479(0x16f)](_0x3707be){var _0xf07415=_0x57b479;const _0x2fc852=this[_0xf07415(0x40a)]()+'/collaborator';await this[_0xf07415(0x1b6)][_0xf07415(0x1ac)](_0x2fc852,{'params':{'collaboratorID':_0x3707be[_0xf07415(0x1f1)],'objectID':_0x3707be[_0xf07415(0x2ad)],'unitID':_0x3707be[_0xf07415(0x3c9)]}});}async[_0x57b479(0x38b)](_0x57051e){var _0x3e73d0=_0x57b479;const _0xcbde13=this[_0x3e73d0(0x40a)]()+_0x3e73d0(0x4ef);await this[_0x3e73d0(0x1b6)]['patch'](_0xcbde13,{'body':_0x57051e});}async[_0x57b479(0x46b)](_0x113d83){var _0x35ec98=_0x57b479;const _0x20c602=this['_getAPIPrefixPath']()+_0x35ec98(0x4ef);await this[_0x35ec98(0x1b6)][_0x35ec98(0x3f2)](_0x20c602,{'body':_0x113d83});}async['listCollaborators'](_0x3c36e0){var _0x5724d0=_0x57b479;const _0x58e8a4=this[_0x5724d0(0x40a)]()+_0x5724d0(0x4ef);return(await this[_0x5724d0(0x1b6)][_0x5724d0(0x1f7)](_0x58e8a4,{'params':{'objectID':_0x3c36e0['objectID'],'unitID':_0x3c36e0[_0x5724d0(0x3c9)]}}))[_0x5724d0(0x17b)][_0x5724d0(0x273)];}async[_0x57b479(0x1cc)](_0x4ae3ee){var _0x572078=_0x57b479;const _0x153ca0=this[_0x572078(0x40a)]()+_0x572078(0x4ef);await this[_0x572078(0x1b6)][_0x572078(0x26a)](_0x153ca0,{'body':_0x4ae3ee});}},_0x267f17[_0x57b479(0x20a)]=_0x1daa9a([_0x4024e9(0x0,_0x1b0b97['Inject'](_0x52daec['HTTPService'])),_0x4024e9(0x1,_0x1b0b97['Inject'](_0x1b0b97['IConfigService']))],_0x267f17['AuthzIoHttpService']);var _0x10e1eb=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x3c1cac(_0x2a9295){var _0x58c53c=_0x57b479;return _0x2a9295&&_0x2a9295['__esModule']&&Object['prototype'][_0x58c53c(0x437)][_0x58c53c(0x248)](_0x2a9295,_0x58c53c(0x34d))?_0x2a9295[_0x58c53c(0x34d)]:_0x2a9295;}var _0x25b6df={'exports':{}};function _0xe7ef11(_0x24bab1){var _0x5468ac=_0x57b479;throw new Error(_0x5468ac(0x358)+_0x24bab1+_0x5468ac(0x29d));}var _0x4d090c={'exports':{}},_0xfdb9a8=_0x4d090c[_0x57b479(0x226)],_0x36a493;function _0xc8dc11(){var _0x57dfdf=_0x57b479;return _0x36a493||(_0x36a493=0x1,function(_0xf2f8ef,_0x139ee4){(function(_0x9991fc,_0x3aec6b){var _0x219498=_0x4759;_0xf2f8ef[_0x219498(0x226)]=_0x3aec6b();}(_0xfdb9a8,function(){var _0x415221=_0x415221||function(_0x20ff23,_0x35e8fb){var _0x1b5d59=_0x4759,_0x14b8e5;if(typeof window<'u'&&window[_0x1b5d59(0x356)]&&(_0x14b8e5=window['crypto']),typeof self<'u'&&self[_0x1b5d59(0x356)]&&(_0x14b8e5=self['crypto']),typeof globalThis<'u'&&globalThis[_0x1b5d59(0x356)]&&(_0x14b8e5=globalThis[_0x1b5d59(0x356)]),!_0x14b8e5&&typeof window<'u'&&window[_0x1b5d59(0x4a7)]&&(_0x14b8e5=window[_0x1b5d59(0x4a7)]),!_0x14b8e5&&typeof _0x10e1eb<'u'&&_0x10e1eb['crypto']&&(_0x14b8e5=_0x10e1eb[_0x1b5d59(0x356)]),!_0x14b8e5&&typeof _0xe7ef11==_0x1b5d59(0x26e))try{_0x14b8e5=require(_0x1b5d59(0x356));}catch{}var _0x58127e=function(){var _0x3ada01=_0x1b5d59;if(_0x14b8e5){if(typeof _0x14b8e5[_0x3ada01(0x48d)]==_0x3ada01(0x26e))try{return _0x14b8e5[_0x3ada01(0x48d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x14b8e5[_0x3ada01(0x44c)]==_0x3ada01(0x26e))try{return _0x14b8e5[_0x3ada01(0x44c)](0x4)[_0x3ada01(0x263)]();}catch{}}throw new Error(_0x3ada01(0x3a6));},_0x510d4d=Object[_0x1b5d59(0x4c5)]||(function(){function _0x47c5fa(){}return function(_0x5e9724){var _0x25d3c0=_0x4759,_0x54e59c;return _0x47c5fa['prototype']=_0x5e9724,_0x54e59c=new _0x47c5fa(),_0x47c5fa[_0x25d3c0(0x2a9)]=null,_0x54e59c;};}()),_0x569c64={},_0xcf7e41=_0x569c64[_0x1b5d59(0x4d5)]={},_0x57bf84=_0xcf7e41['Base']=(function(){return{'extend':function(_0x3c54f4){var _0x36199d=_0x4759,_0x1381ff=_0x510d4d(this);return _0x3c54f4&&_0x1381ff[_0x36199d(0x4be)](_0x3c54f4),(!_0x1381ff['hasOwnProperty']('init')||this[_0x36199d(0x32b)]===_0x1381ff[_0x36199d(0x32b)])&&(_0x1381ff['init']=function(){var _0xa368c0=_0x36199d;_0x1381ff[_0xa368c0(0x454)][_0xa368c0(0x32b)][_0xa368c0(0x1cb)](this,arguments);}),_0x1381ff['init'][_0x36199d(0x2a9)]=_0x1381ff,_0x1381ff[_0x36199d(0x454)]=this,_0x1381ff;},'create':function(){var _0x41e376=_0x4759,_0x46b94d=this['extend']();return _0x46b94d[_0x41e376(0x32b)][_0x41e376(0x1cb)](_0x46b94d,arguments),_0x46b94d;},'init':function(){},'mixIn':function(_0x590cd2){var _0x1f3277=_0x4759;for(var _0x2276bf in _0x590cd2)_0x590cd2['hasOwnProperty'](_0x2276bf)&&(this[_0x2276bf]=_0x590cd2[_0x2276bf]);_0x590cd2[_0x1f3277(0x437)](_0x1f3277(0x3f7))&&(this[_0x1f3277(0x3f7)]=_0x590cd2[_0x1f3277(0x3f7)]);},'clone':function(){var _0x4d2be4=_0x4759;return this['init'][_0x4d2be4(0x2a9)][_0x4d2be4(0x4bb)](this);}};}()),_0x27e375=_0xcf7e41[_0x1b5d59(0x3a1)]=_0x57bf84[_0x1b5d59(0x4bb)]({'init':function(_0x2e63a5,_0x54f937){var _0x522c50=_0x1b5d59;_0x2e63a5=this[_0x522c50(0x1d0)]=_0x2e63a5||[],_0x54f937!=_0x35e8fb?this[_0x522c50(0x200)]=_0x54f937:this[_0x522c50(0x200)]=_0x2e63a5[_0x522c50(0x1df)]*0x4;},'toString':function(_0x1c165f){var _0x3aacda=_0x1b5d59;return(_0x1c165f||_0x1e1b71)[_0x3aacda(0x28d)](this);},'concat':function(_0xe3df45){var _0xccd192=_0x1b5d59,_0x2f8a02=this[_0xccd192(0x1d0)],_0x30b7a8=_0xe3df45[_0xccd192(0x1d0)],_0x5d6db7=this['sigBytes'],_0x417b4e=_0xe3df45['sigBytes'];if(this[_0xccd192(0x3f1)](),_0x5d6db7%0x4)for(var _0x12ddb0=0x0;_0x12ddb0<_0x417b4e;_0x12ddb0++){var _0x3d8524=_0x30b7a8[_0x12ddb0>>>0x2]>>>0x18-_0x12ddb0%0x4*0x8&0xff;_0x2f8a02[_0x5d6db7+_0x12ddb0>>>0x2]|=_0x3d8524<<0x18-(_0x5d6db7+_0x12ddb0)%0x4*0x8;}else{for(var _0x2cf0d3=0x0;_0x2cf0d3<_0x417b4e;_0x2cf0d3+=0x4)_0x2f8a02[_0x5d6db7+_0x2cf0d3>>>0x2]=_0x30b7a8[_0x2cf0d3>>>0x2];}return this[_0xccd192(0x200)]+=_0x417b4e,this;},'clamp':function(){var _0x54740a=_0x1b5d59,_0xd0f696=this[_0x54740a(0x1d0)],_0x5efc34=this[_0x54740a(0x200)];_0xd0f696[_0x5efc34>>>0x2]&=0xffffffff<<0x20-_0x5efc34%0x4*0x8,_0xd0f696[_0x54740a(0x1df)]=_0x20ff23[_0x54740a(0x222)](_0x5efc34/0x4);},'clone':function(){var _0x339525=_0x1b5d59,_0x2abd96=_0x57bf84[_0x339525(0x32e)][_0x339525(0x248)](this);return _0x2abd96[_0x339525(0x1d0)]=this[_0x339525(0x1d0)]['slice'](0x0),_0x2abd96;},'random':function(_0x922985){var _0xa06432=_0x1b5d59;for(var _0x212393=[],_0x20a9ff=0x0;_0x20a9ff<_0x922985;_0x20a9ff+=0x4)_0x212393[_0xa06432(0x37d)](_0x58127e());return new _0x27e375[(_0xa06432(0x32b))](_0x212393,_0x922985);}}),_0xc7a0fe=_0x569c64[_0x1b5d59(0x320)]={},_0x1e1b71=_0xc7a0fe['Hex']={'stringify':function(_0x8efef9){var _0x2673db=_0x1b5d59;for(var _0x1527b9=_0x8efef9[_0x2673db(0x1d0)],_0xf3d025=_0x8efef9[_0x2673db(0x200)],_0x19e70e=[],_0x2f2f48=0x0;_0x2f2f48<_0xf3d025;_0x2f2f48++){var _0x516ff9=_0x1527b9[_0x2f2f48>>>0x2]>>>0x18-_0x2f2f48%0x4*0x8&0xff;_0x19e70e[_0x2673db(0x37d)]((_0x516ff9>>>0x4)[_0x2673db(0x3f7)](0x10)),_0x19e70e[_0x2673db(0x37d)]((_0x516ff9&0xf)[_0x2673db(0x3f7)](0x10));}return _0x19e70e[_0x2673db(0x23e)]('');},'parse':function(_0x1c3175){var _0x4a07be=_0x1b5d59;for(var _0x5311c5=_0x1c3175[_0x4a07be(0x1df)],_0x9c5103=[],_0x49c90e=0x0;_0x49c90e<_0x5311c5;_0x49c90e+=0x2)_0x9c5103[_0x49c90e>>>0x3]|=parseInt(_0x1c3175[_0x4a07be(0x3ed)](_0x49c90e,0x2),0x10)<<0x18-_0x49c90e%0x8*0x4;return new _0x27e375[(_0x4a07be(0x32b))](_0x9c5103,_0x5311c5/0x2);}},_0x2131fa=_0xc7a0fe[_0x1b5d59(0x276)]={'stringify':function(_0x310d69){var _0x42ba63=_0x1b5d59;for(var _0x48a62a=_0x310d69[_0x42ba63(0x1d0)],_0x19a332=_0x310d69[_0x42ba63(0x200)],_0x55e95e=[],_0xf4402=0x0;_0xf4402<_0x19a332;_0xf4402++){var _0x2adc3a=_0x48a62a[_0xf4402>>>0x2]>>>0x18-_0xf4402%0x4*0x8&0xff;_0x55e95e[_0x42ba63(0x37d)](String[_0x42ba63(0x383)](_0x2adc3a));}return _0x55e95e[_0x42ba63(0x23e)]('');},'parse':function(_0x4dd95f){var _0x5b8430=_0x1b5d59;for(var _0xf6cea1=_0x4dd95f[_0x5b8430(0x1df)],_0x364c70=[],_0x52deb0=0x0;_0x52deb0<_0xf6cea1;_0x52deb0++)_0x364c70[_0x52deb0>>>0x2]|=(_0x4dd95f[_0x5b8430(0x350)](_0x52deb0)&0xff)<<0x18-_0x52deb0%0x4*0x8;return new _0x27e375[(_0x5b8430(0x32b))](_0x364c70,_0xf6cea1);}},_0x18675c=_0xc7a0fe['Utf8']={'stringify':function(_0x3b1c16){var _0xff0f82=_0x1b5d59;try{return decodeURIComponent(escape(_0x2131fa[_0xff0f82(0x28d)](_0x3b1c16)));}catch{throw new Error(_0xff0f82(0x38a));}},'parse':function(_0x5a8ab3){var _0x3745f1=_0x1b5d59;return _0x2131fa[_0x3745f1(0x46d)](unescape(encodeURIComponent(_0x5a8ab3)));}},_0x17f0e3=_0xcf7e41['BufferedBlockAlgorithm']=_0x57bf84[_0x1b5d59(0x4bb)]({'reset':function(){var _0xda8599=_0x1b5d59;this[_0xda8599(0x4a3)]=new _0x27e375[(_0xda8599(0x32b))](),this[_0xda8599(0x458)]=0x0;},'_append':function(_0x3d68aa){var _0x1bb9b0=_0x1b5d59;typeof _0x3d68aa=='string'&&(_0x3d68aa=_0x18675c[_0x1bb9b0(0x46d)](_0x3d68aa)),this[_0x1bb9b0(0x4a3)][_0x1bb9b0(0x286)](_0x3d68aa),this['_nDataBytes']+=_0x3d68aa[_0x1bb9b0(0x200)];},'_process':function(_0x3b2efe){var _0x31f144=_0x1b5d59,_0x2769f5,_0x2fae7d=this[_0x31f144(0x4a3)],_0x5f0003=_0x2fae7d[_0x31f144(0x1d0)],_0x2b089d=_0x2fae7d[_0x31f144(0x200)],_0x57ae2e=this[_0x31f144(0x301)],_0x5d12de=_0x57ae2e*0x4,_0x5dfdbb=_0x2b089d/_0x5d12de;_0x3b2efe?_0x5dfdbb=_0x20ff23['ceil'](_0x5dfdbb):_0x5dfdbb=_0x20ff23[_0x31f144(0x347)]((_0x5dfdbb|0x0)-this[_0x31f144(0x254)],0x0);var _0xe39f42=_0x5dfdbb*_0x57ae2e,_0x312a79=_0x20ff23['min'](_0xe39f42*0x4,_0x2b089d);if(_0xe39f42){for(var _0x433165=0x0;_0x433165<_0xe39f42;_0x433165+=_0x57ae2e)this[_0x31f144(0x442)](_0x5f0003,_0x433165);_0x2769f5=_0x5f0003[_0x31f144(0x247)](0x0,_0xe39f42),_0x2fae7d[_0x31f144(0x200)]-=_0x312a79;}return new _0x27e375[(_0x31f144(0x32b))](_0x2769f5,_0x312a79);},'clone':function(){var _0x17a494=_0x1b5d59,_0x1e67d8=_0x57bf84[_0x17a494(0x32e)][_0x17a494(0x248)](this);return _0x1e67d8[_0x17a494(0x4a3)]=this['_data'][_0x17a494(0x32e)](),_0x1e67d8;},'_minBufferSize':0x0});_0xcf7e41[_0x1b5d59(0x4e6)]=_0x17f0e3[_0x1b5d59(0x4bb)]({'cfg':_0x57bf84[_0x1b5d59(0x4bb)](),'init':function(_0x432fb7){var _0x91619f=_0x1b5d59;this[_0x91619f(0x4e5)]=this['cfg'][_0x91619f(0x4bb)](_0x432fb7),this[_0x91619f(0x21f)]();},'reset':function(){var _0xbe426=_0x1b5d59;_0x17f0e3[_0xbe426(0x21f)][_0xbe426(0x248)](this),this[_0xbe426(0x204)]();},'update':function(_0x5913eb){var _0x4eee46=_0x1b5d59;return this[_0x4eee46(0x2a1)](_0x5913eb),this[_0x4eee46(0x377)](),this;},'finalize':function(_0x2f30da){var _0x4cac14=_0x1b5d59;_0x2f30da&&this[_0x4cac14(0x2a1)](_0x2f30da);var _0x1927f3=this[_0x4cac14(0x197)]();return _0x1927f3;},'blockSize':0x10,'_createHelper':function(_0x1a6d50){return function(_0x37aaf0,_0x3447dc){var _0x2b3c62=_0x4759;return new _0x1a6d50[(_0x2b3c62(0x32b))](_0x3447dc)[_0x2b3c62(0x48c)](_0x37aaf0);};},'_createHmacHelper':function(_0x77aa81){return function(_0x48f534,_0x112bc3){var _0x5ee1a4=_0x4759;return new _0x4cef99[(_0x5ee1a4(0x227))]['init'](_0x77aa81,_0x112bc3)[_0x5ee1a4(0x48c)](_0x48f534);};}});var _0x4cef99=_0x569c64[_0x1b5d59(0x172)]={};return _0x569c64;}(Math);return _0x415221;}));}(_0x4d090c)),_0x4d090c[_0x57dfdf(0x226)];}var _0x167eed={'exports':{}},_0x3bca9e=_0x167eed[_0x57b479(0x226)],_0x140ce2;function _0x40a729(){return _0x140ce2||(_0x140ce2=0x1,function(_0x37d2d1,_0x1f9a0a){(function(_0x422cc0,_0x2028d5){_0x37d2d1['exports']=_0x2028d5(_0xc8dc11());}(_0x3bca9e,function(_0x407b55){var _0x4115af=_0x4759;return(function(){var _0x588884=_0x4759,_0x53cd45=_0x407b55,_0x3c65cc=_0x53cd45[_0x588884(0x4d5)],_0x5c65d8=_0x3c65cc[_0x588884(0x3a1)],_0x1855aa=_0x53cd45['enc'];_0x1855aa[_0x588884(0x394)]={'stringify':function(_0x722265){var _0x3a57a8=_0x588884,_0x3b661e=_0x722265[_0x3a57a8(0x1d0)],_0x30216a=_0x722265[_0x3a57a8(0x200)],_0x1a77a8=this[_0x3a57a8(0x4b1)];_0x722265[_0x3a57a8(0x3f1)]();for(var _0x42cd14=[],_0x1455a3=0x0;_0x1455a3<_0x30216a;_0x1455a3+=0x3)for(var _0x338c36=_0x3b661e[_0x1455a3>>>0x2]>>>0x18-_0x1455a3%0x4*0x8&0xff,_0x1b48b6=_0x3b661e[_0x1455a3+0x1>>>0x2]>>>0x18-(_0x1455a3+0x1)%0x4*0x8&0xff,_0x1872a1=_0x3b661e[_0x1455a3+0x2>>>0x2]>>>0x18-(_0x1455a3+0x2)%0x4*0x8&0xff,_0x2b6348=_0x338c36<<0x10|_0x1b48b6<<0x8|_0x1872a1,_0x259578=0x0;_0x259578<0x4&&_0x1455a3+_0x259578*0.75<_0x30216a;_0x259578++)_0x42cd14[_0x3a57a8(0x37d)](_0x1a77a8[_0x3a57a8(0x281)](_0x2b6348>>>0x6*(0x3-_0x259578)&0x3f));var _0x1d30b4=_0x1a77a8[_0x3a57a8(0x281)](0x40);if(_0x1d30b4){for(;_0x42cd14[_0x3a57a8(0x1df)]%0x4;)_0x42cd14[_0x3a57a8(0x37d)](_0x1d30b4);}return _0x42cd14[_0x3a57a8(0x23e)]('');},'parse':function(_0x30ef20){var _0xe11f32=_0x588884,_0x6e6361=_0x30ef20[_0xe11f32(0x1df)],_0x50da11=this[_0xe11f32(0x4b1)],_0x39837a=this['_reverseMap'];if(!_0x39837a){_0x39837a=this['_reverseMap']=[];for(var _0x4f755b=0x0;_0x4f755b<_0x50da11['length'];_0x4f755b++)_0x39837a[_0x50da11[_0xe11f32(0x350)](_0x4f755b)]=_0x4f755b;}var _0x288b29=_0x50da11[_0xe11f32(0x281)](0x40);if(_0x288b29){var _0x53c853=_0x30ef20['indexOf'](_0x288b29);_0x53c853!==-0x1&&(_0x6e6361=_0x53c853);}return _0xcacfc4(_0x30ef20,_0x6e6361,_0x39837a);},'_map':_0x588884(0x30c)};function _0xcacfc4(_0x1522c9,_0x1322fc,_0x315ce9){var _0x9e2648=_0x588884;for(var _0x5ec407=[],_0xed438=0x0,_0x20518a=0x0;_0x20518a<_0x1322fc;_0x20518a++)if(_0x20518a%0x4){var _0x6db9fd=_0x315ce9[_0x1522c9['charCodeAt'](_0x20518a-0x1)]<<_0x20518a%0x4*0x2,_0x108ffa=_0x315ce9[_0x1522c9[_0x9e2648(0x350)](_0x20518a)]>>>0x6-_0x20518a%0x4*0x2,_0x11bf7a=_0x6db9fd|_0x108ffa;_0x5ec407[_0xed438>>>0x2]|=_0x11bf7a<<0x18-_0xed438%0x4*0x8,_0xed438++;}return _0x5c65d8[_0x9e2648(0x4c5)](_0x5ec407,_0xed438);}}()),_0x407b55['enc'][_0x4115af(0x394)];}));}(_0x167eed)),_0x167eed['exports'];}var _0x39c1c0={'exports':{}},_0x4c4853=_0x39c1c0[_0x57b479(0x226)],_0x58aee5;function _0x23f3e2(){return _0x58aee5||(_0x58aee5=0x1,function(_0x56fc1d,_0x3854ee){(function(_0xebfe1a,_0x166db2){var _0x435780=_0x4759;_0x56fc1d[_0x435780(0x226)]=_0x166db2(_0xc8dc11());}(_0x4c4853,function(_0x27b232){var _0x17736b=_0x4759;return function(_0xbda46d){var _0x37bad7=_0x4759,_0x396b00=_0x27b232,_0x445039=_0x396b00[_0x37bad7(0x4d5)],_0x20b4b6=_0x445039['WordArray'],_0x38197=_0x445039[_0x37bad7(0x4e6)],_0x38c445=_0x396b00['algo'],_0x4c447f=[];(function(){var _0x2a0bc6=_0x37bad7;for(var _0x4df38d=0x0;_0x4df38d<0x40;_0x4df38d++)_0x4c447f[_0x4df38d]=_0xbda46d[_0x2a0bc6(0x3df)](_0xbda46d[_0x2a0bc6(0x45d)](_0x4df38d+0x1))*0x100000000|0x0;}());var _0x17b1bf=_0x38c445[_0x37bad7(0x211)]=_0x38197[_0x37bad7(0x4bb)]({'_doReset':function(){var _0xc67592=_0x37bad7;this[_0xc67592(0x179)]=new _0x20b4b6[(_0xc67592(0x32b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2ad2e4,_0x5bb028){var _0x247c07=_0x37bad7;for(var _0x4fd166=0x0;_0x4fd166<0x10;_0x4fd166++){var _0x42f40b=_0x5bb028+_0x4fd166,_0x551afd=_0x2ad2e4[_0x42f40b];_0x2ad2e4[_0x42f40b]=(_0x551afd<<0x8|_0x551afd>>>0x18)&0xff00ff|(_0x551afd<<0x18|_0x551afd>>>0x8)&0xff00ff00;}var _0x50644f=this['_hash'][_0x247c07(0x1d0)],_0xd8f94e=_0x2ad2e4[_0x5bb028+0x0],_0x7e253e=_0x2ad2e4[_0x5bb028+0x1],_0x1fe11d=_0x2ad2e4[_0x5bb028+0x2],_0x1ef229=_0x2ad2e4[_0x5bb028+0x3],_0x1e3cce=_0x2ad2e4[_0x5bb028+0x4],_0x3a72a4=_0x2ad2e4[_0x5bb028+0x5],_0x573151=_0x2ad2e4[_0x5bb028+0x6],_0x266f13=_0x2ad2e4[_0x5bb028+0x7],_0xdcb48d=_0x2ad2e4[_0x5bb028+0x8],_0x44fd7f=_0x2ad2e4[_0x5bb028+0x9],_0x2f87a7=_0x2ad2e4[_0x5bb028+0xa],_0x4e5bde=_0x2ad2e4[_0x5bb028+0xb],_0x4b8ee1=_0x2ad2e4[_0x5bb028+0xc],_0x3e71b4=_0x2ad2e4[_0x5bb028+0xd],_0x55ac3b=_0x2ad2e4[_0x5bb028+0xe],_0x4ad8a1=_0x2ad2e4[_0x5bb028+0xf],_0x360259=_0x50644f[0x0],_0x1669fc=_0x50644f[0x1],_0x6bee94=_0x50644f[0x2],_0x5be6ba=_0x50644f[0x3];_0x360259=_0x17ccfb(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0xd8f94e,0x7,_0x4c447f[0x0]),_0x5be6ba=_0x17ccfb(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x7e253e,0xc,_0x4c447f[0x1]),_0x6bee94=_0x17ccfb(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x1fe11d,0x11,_0x4c447f[0x2]),_0x1669fc=_0x17ccfb(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x1ef229,0x16,_0x4c447f[0x3]),_0x360259=_0x17ccfb(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0x1e3cce,0x7,_0x4c447f[0x4]),_0x5be6ba=_0x17ccfb(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x3a72a4,0xc,_0x4c447f[0x5]),_0x6bee94=_0x17ccfb(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x573151,0x11,_0x4c447f[0x6]),_0x1669fc=_0x17ccfb(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x266f13,0x16,_0x4c447f[0x7]),_0x360259=_0x17ccfb(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0xdcb48d,0x7,_0x4c447f[0x8]),_0x5be6ba=_0x17ccfb(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x44fd7f,0xc,_0x4c447f[0x9]),_0x6bee94=_0x17ccfb(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x2f87a7,0x11,_0x4c447f[0xa]),_0x1669fc=_0x17ccfb(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x4e5bde,0x16,_0x4c447f[0xb]),_0x360259=_0x17ccfb(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0x4b8ee1,0x7,_0x4c447f[0xc]),_0x5be6ba=_0x17ccfb(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x3e71b4,0xc,_0x4c447f[0xd]),_0x6bee94=_0x17ccfb(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x55ac3b,0x11,_0x4c447f[0xe]),_0x1669fc=_0x17ccfb(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x4ad8a1,0x16,_0x4c447f[0xf]),_0x360259=_0x580ffb(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0x7e253e,0x5,_0x4c447f[0x10]),_0x5be6ba=_0x580ffb(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x573151,0x9,_0x4c447f[0x11]),_0x6bee94=_0x580ffb(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x4e5bde,0xe,_0x4c447f[0x12]),_0x1669fc=_0x580ffb(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0xd8f94e,0x14,_0x4c447f[0x13]),_0x360259=_0x580ffb(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0x3a72a4,0x5,_0x4c447f[0x14]),_0x5be6ba=_0x580ffb(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x2f87a7,0x9,_0x4c447f[0x15]),_0x6bee94=_0x580ffb(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x4ad8a1,0xe,_0x4c447f[0x16]),_0x1669fc=_0x580ffb(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x1e3cce,0x14,_0x4c447f[0x17]),_0x360259=_0x580ffb(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0x44fd7f,0x5,_0x4c447f[0x18]),_0x5be6ba=_0x580ffb(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x55ac3b,0x9,_0x4c447f[0x19]),_0x6bee94=_0x580ffb(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x1ef229,0xe,_0x4c447f[0x1a]),_0x1669fc=_0x580ffb(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0xdcb48d,0x14,_0x4c447f[0x1b]),_0x360259=_0x580ffb(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0x3e71b4,0x5,_0x4c447f[0x1c]),_0x5be6ba=_0x580ffb(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x1fe11d,0x9,_0x4c447f[0x1d]),_0x6bee94=_0x580ffb(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x266f13,0xe,_0x4c447f[0x1e]),_0x1669fc=_0x580ffb(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x4b8ee1,0x14,_0x4c447f[0x1f]),_0x360259=_0x113fbc(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0x3a72a4,0x4,_0x4c447f[0x20]),_0x5be6ba=_0x113fbc(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0xdcb48d,0xb,_0x4c447f[0x21]),_0x6bee94=_0x113fbc(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x4e5bde,0x10,_0x4c447f[0x22]),_0x1669fc=_0x113fbc(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x55ac3b,0x17,_0x4c447f[0x23]),_0x360259=_0x113fbc(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0x7e253e,0x4,_0x4c447f[0x24]),_0x5be6ba=_0x113fbc(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x1e3cce,0xb,_0x4c447f[0x25]),_0x6bee94=_0x113fbc(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x266f13,0x10,_0x4c447f[0x26]),_0x1669fc=_0x113fbc(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x2f87a7,0x17,_0x4c447f[0x27]),_0x360259=_0x113fbc(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0x3e71b4,0x4,_0x4c447f[0x28]),_0x5be6ba=_0x113fbc(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0xd8f94e,0xb,_0x4c447f[0x29]),_0x6bee94=_0x113fbc(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x1ef229,0x10,_0x4c447f[0x2a]),_0x1669fc=_0x113fbc(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x573151,0x17,_0x4c447f[0x2b]),_0x360259=_0x113fbc(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0x44fd7f,0x4,_0x4c447f[0x2c]),_0x5be6ba=_0x113fbc(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x4b8ee1,0xb,_0x4c447f[0x2d]),_0x6bee94=_0x113fbc(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x4ad8a1,0x10,_0x4c447f[0x2e]),_0x1669fc=_0x113fbc(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x1fe11d,0x17,_0x4c447f[0x2f]),_0x360259=_0x42a03b(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0xd8f94e,0x6,_0x4c447f[0x30]),_0x5be6ba=_0x42a03b(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x266f13,0xa,_0x4c447f[0x31]),_0x6bee94=_0x42a03b(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x55ac3b,0xf,_0x4c447f[0x32]),_0x1669fc=_0x42a03b(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x3a72a4,0x15,_0x4c447f[0x33]),_0x360259=_0x42a03b(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0x4b8ee1,0x6,_0x4c447f[0x34]),_0x5be6ba=_0x42a03b(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x1ef229,0xa,_0x4c447f[0x35]),_0x6bee94=_0x42a03b(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x2f87a7,0xf,_0x4c447f[0x36]),_0x1669fc=_0x42a03b(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x7e253e,0x15,_0x4c447f[0x37]),_0x360259=_0x42a03b(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0xdcb48d,0x6,_0x4c447f[0x38]),_0x5be6ba=_0x42a03b(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x4ad8a1,0xa,_0x4c447f[0x39]),_0x6bee94=_0x42a03b(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x573151,0xf,_0x4c447f[0x3a]),_0x1669fc=_0x42a03b(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x3e71b4,0x15,_0x4c447f[0x3b]),_0x360259=_0x42a03b(_0x360259,_0x1669fc,_0x6bee94,_0x5be6ba,_0x1e3cce,0x6,_0x4c447f[0x3c]),_0x5be6ba=_0x42a03b(_0x5be6ba,_0x360259,_0x1669fc,_0x6bee94,_0x4e5bde,0xa,_0x4c447f[0x3d]),_0x6bee94=_0x42a03b(_0x6bee94,_0x5be6ba,_0x360259,_0x1669fc,_0x1fe11d,0xf,_0x4c447f[0x3e]),_0x1669fc=_0x42a03b(_0x1669fc,_0x6bee94,_0x5be6ba,_0x360259,_0x44fd7f,0x15,_0x4c447f[0x3f]),_0x50644f[0x0]=_0x50644f[0x0]+_0x360259|0x0,_0x50644f[0x1]=_0x50644f[0x1]+_0x1669fc|0x0,_0x50644f[0x2]=_0x50644f[0x2]+_0x6bee94|0x0,_0x50644f[0x3]=_0x50644f[0x3]+_0x5be6ba|0x0;},'_doFinalize':function(){var _0x11b067=_0x37bad7,_0x35cff1=this['_data'],_0x6e28f4=_0x35cff1[_0x11b067(0x1d0)],_0x526c90=this[_0x11b067(0x458)]*0x8,_0x5420b3=_0x35cff1[_0x11b067(0x200)]*0x8;_0x6e28f4[_0x5420b3>>>0x5]|=0x80<<0x18-_0x5420b3%0x20;var _0x860821=_0xbda46d['floor'](_0x526c90/0x100000000),_0x4827c9=_0x526c90;_0x6e28f4[(_0x5420b3+0x40>>>0x9<<0x4)+0xf]=(_0x860821<<0x8|_0x860821>>>0x18)&0xff00ff|(_0x860821<<0x18|_0x860821>>>0x8)&0xff00ff00,_0x6e28f4[(_0x5420b3+0x40>>>0x9<<0x4)+0xe]=(_0x4827c9<<0x8|_0x4827c9>>>0x18)&0xff00ff|(_0x4827c9<<0x18|_0x4827c9>>>0x8)&0xff00ff00,_0x35cff1[_0x11b067(0x200)]=(_0x6e28f4[_0x11b067(0x1df)]+0x1)*0x4,this[_0x11b067(0x377)]();for(var _0x29029e=this[_0x11b067(0x179)],_0x204389=_0x29029e[_0x11b067(0x1d0)],_0xa06866=0x0;_0xa06866<0x4;_0xa06866++){var _0x217a7e=_0x204389[_0xa06866];_0x204389[_0xa06866]=(_0x217a7e<<0x8|_0x217a7e>>>0x18)&0xff00ff|(_0x217a7e<<0x18|_0x217a7e>>>0x8)&0xff00ff00;}return _0x29029e;},'clone':function(){var _0x2d3053=_0x37bad7,_0x1e367d=_0x38197[_0x2d3053(0x32e)][_0x2d3053(0x248)](this);return _0x1e367d[_0x2d3053(0x179)]=this[_0x2d3053(0x179)][_0x2d3053(0x32e)](),_0x1e367d;}});function _0x17ccfb(_0x21e44b,_0xe7bd92,_0x46a7d5,_0x4f4db2,_0x23d1f0,_0x309aec,_0x42c6df){var _0x1dc6bf=_0x21e44b+(_0xe7bd92&_0x46a7d5|~_0xe7bd92&_0x4f4db2)+_0x23d1f0+_0x42c6df;return(_0x1dc6bf<<_0x309aec|_0x1dc6bf>>>0x20-_0x309aec)+_0xe7bd92;}function _0x580ffb(_0x3dedf8,_0x1ed8d9,_0x27016d,_0x1e0c8e,_0x201e55,_0x3ecf0f,_0x1f5f50){var _0x191a1a=_0x3dedf8+(_0x1ed8d9&_0x1e0c8e|_0x27016d&~_0x1e0c8e)+_0x201e55+_0x1f5f50;return(_0x191a1a<<_0x3ecf0f|_0x191a1a>>>0x20-_0x3ecf0f)+_0x1ed8d9;}function _0x113fbc(_0x1ac124,_0x5f4807,_0x5e4f20,_0x213713,_0x4d1957,_0xee7355,_0x17de49){var _0x332260=_0x1ac124+(_0x5f4807^_0x5e4f20^_0x213713)+_0x4d1957+_0x17de49;return(_0x332260<<_0xee7355|_0x332260>>>0x20-_0xee7355)+_0x5f4807;}function _0x42a03b(_0x115243,_0x5c6a2c,_0x4f5a0f,_0x411f47,_0x5a494b,_0x4f6e80,_0x215ba5){var _0x48318c=_0x115243+(_0x4f5a0f^(_0x5c6a2c|~_0x411f47))+_0x5a494b+_0x215ba5;return(_0x48318c<<_0x4f6e80|_0x48318c>>>0x20-_0x4f6e80)+_0x5c6a2c;}_0x396b00['MD5']=_0x38197['_createHelper'](_0x17b1bf),_0x396b00['HmacMD5']=_0x38197[_0x37bad7(0x232)](_0x17b1bf);}(Math),_0x27b232[_0x17736b(0x211)];}));}(_0x39c1c0)),_0x39c1c0['exports'];}var _0x5dff3e={'exports':{}},_0x40374a={'exports':{}},_0x413290=_0x40374a[_0x57b479(0x226)],_0x3d5986;function _0x4ac3f0(){var _0x215401=_0x57b479;return _0x3d5986||(_0x3d5986=0x1,function(_0x190801,_0x15b0e0){(function(_0x2f791a,_0x524ea7){var _0x2d8ca8=_0x4759;_0x190801[_0x2d8ca8(0x226)]=_0x524ea7(_0xc8dc11());}(_0x413290,function(_0x88f040){var _0x1c81f6=_0x4759;return(function(){var _0x4bbb6c=_0x4759,_0x31b00f=_0x88f040,_0x112c2f=_0x31b00f[_0x4bbb6c(0x4d5)],_0x3cdd48=_0x112c2f[_0x4bbb6c(0x3a1)],_0x23e69d=_0x112c2f[_0x4bbb6c(0x4e6)],_0x25a8db=_0x31b00f['algo'],_0x52dc72=[],_0x4a03a8=_0x25a8db[_0x4bbb6c(0x23b)]=_0x23e69d['extend']({'_doReset':function(){var _0x1bc49e=_0x4bbb6c;this[_0x1bc49e(0x179)]=new _0x3cdd48[(_0x1bc49e(0x32b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1afbf5,_0x13034c){var _0x2bd952=_0x4bbb6c;for(var _0x283493=this[_0x2bd952(0x179)][_0x2bd952(0x1d0)],_0x439f83=_0x283493[0x0],_0x9a4192=_0x283493[0x1],_0x5527c0=_0x283493[0x2],_0x698963=_0x283493[0x3],_0x59ddf8=_0x283493[0x4],_0x3c07ba=0x0;_0x3c07ba<0x50;_0x3c07ba++){if(_0x3c07ba<0x10)_0x52dc72[_0x3c07ba]=_0x1afbf5[_0x13034c+_0x3c07ba]|0x0;else{var _0x202768=_0x52dc72[_0x3c07ba-0x3]^_0x52dc72[_0x3c07ba-0x8]^_0x52dc72[_0x3c07ba-0xe]^_0x52dc72[_0x3c07ba-0x10];_0x52dc72[_0x3c07ba]=_0x202768<<0x1|_0x202768>>>0x1f;}var _0x3f899a=(_0x439f83<<0x5|_0x439f83>>>0x1b)+_0x59ddf8+_0x52dc72[_0x3c07ba];_0x3c07ba<0x14?_0x3f899a+=(_0x9a4192&_0x5527c0|~_0x9a4192&_0x698963)+0x5a827999:_0x3c07ba<0x28?_0x3f899a+=(_0x9a4192^_0x5527c0^_0x698963)+0x6ed9eba1:_0x3c07ba<0x3c?_0x3f899a+=(_0x9a4192&_0x5527c0|_0x9a4192&_0x698963|_0x5527c0&_0x698963)-0x70e44324:_0x3f899a+=(_0x9a4192^_0x5527c0^_0x698963)-0x359d3e2a,_0x59ddf8=_0x698963,_0x698963=_0x5527c0,_0x5527c0=_0x9a4192<<0x1e|_0x9a4192>>>0x2,_0x9a4192=_0x439f83,_0x439f83=_0x3f899a;}_0x283493[0x0]=_0x283493[0x0]+_0x439f83|0x0,_0x283493[0x1]=_0x283493[0x1]+_0x9a4192|0x0,_0x283493[0x2]=_0x283493[0x2]+_0x5527c0|0x0,_0x283493[0x3]=_0x283493[0x3]+_0x698963|0x0,_0x283493[0x4]=_0x283493[0x4]+_0x59ddf8|0x0;},'_doFinalize':function(){var _0x5b6ff4=_0x4bbb6c,_0x10161c=this[_0x5b6ff4(0x4a3)],_0x46acdf=_0x10161c['words'],_0x25eafa=this[_0x5b6ff4(0x458)]*0x8,_0x1880c0=_0x10161c[_0x5b6ff4(0x200)]*0x8;return _0x46acdf[_0x1880c0>>>0x5]|=0x80<<0x18-_0x1880c0%0x20,_0x46acdf[(_0x1880c0+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x25eafa/0x100000000),_0x46acdf[(_0x1880c0+0x40>>>0x9<<0x4)+0xf]=_0x25eafa,_0x10161c[_0x5b6ff4(0x200)]=_0x46acdf[_0x5b6ff4(0x1df)]*0x4,this['_process'](),this[_0x5b6ff4(0x179)];},'clone':function(){var _0x1e22ac=_0x4bbb6c,_0x199a0f=_0x23e69d[_0x1e22ac(0x32e)][_0x1e22ac(0x248)](this);return _0x199a0f[_0x1e22ac(0x179)]=this[_0x1e22ac(0x179)][_0x1e22ac(0x32e)](),_0x199a0f;}});_0x31b00f[_0x4bbb6c(0x23b)]=_0x23e69d[_0x4bbb6c(0x3b6)](_0x4a03a8),_0x31b00f['HmacSHA1']=_0x23e69d[_0x4bbb6c(0x232)](_0x4a03a8);}()),_0x88f040[_0x1c81f6(0x23b)];}));}(_0x40374a)),_0x40374a[_0x215401(0x226)];}var _0x338f30={'exports':{}},_0x42154b=_0x338f30['exports'],_0x1084f9;function _0x33b4e5(){var _0x1aaa32=_0x57b479;return _0x1084f9||(_0x1084f9=0x1,function(_0x3e2d84,_0x1bdbf5){(function(_0x42574b,_0xcbc121){var _0xd7055f=_0x4759;_0x3e2d84[_0xd7055f(0x226)]=_0xcbc121(_0xc8dc11());}(_0x42154b,function(_0x2f7fb0){(function(){var _0x516989=_0x4759,_0x5be0d2=_0x2f7fb0,_0x4c82a2=_0x5be0d2[_0x516989(0x4d5)],_0x319b47=_0x4c82a2[_0x516989(0x22d)],_0x256ea0=_0x5be0d2['enc'],_0x2eef61=_0x256ea0[_0x516989(0x3ef)],_0x54240b=_0x5be0d2[_0x516989(0x172)];_0x54240b[_0x516989(0x227)]=_0x319b47[_0x516989(0x4bb)]({'init':function(_0x3390c4,_0x1e6f07){var _0x82bcaf=_0x516989;_0x3390c4=this['_hasher']=new _0x3390c4[(_0x82bcaf(0x32b))](),typeof _0x1e6f07==_0x82bcaf(0x2da)&&(_0x1e6f07=_0x2eef61[_0x82bcaf(0x46d)](_0x1e6f07));var _0x3c6597=_0x3390c4['blockSize'],_0x225390=_0x3c6597*0x4;_0x1e6f07[_0x82bcaf(0x200)]>_0x225390&&(_0x1e6f07=_0x3390c4[_0x82bcaf(0x48c)](_0x1e6f07)),_0x1e6f07[_0x82bcaf(0x3f1)]();for(var _0xd53af2=this[_0x82bcaf(0x310)]=_0x1e6f07[_0x82bcaf(0x32e)](),_0x4bab05=this[_0x82bcaf(0x2ef)]=_0x1e6f07['clone'](),_0x5ccc72=_0xd53af2['words'],_0x4ae35b=_0x4bab05['words'],_0x29ca23=0x0;_0x29ca23<_0x3c6597;_0x29ca23++)_0x5ccc72[_0x29ca23]^=0x5c5c5c5c,_0x4ae35b[_0x29ca23]^=0x36363636;_0xd53af2['sigBytes']=_0x4bab05[_0x82bcaf(0x200)]=_0x225390,this[_0x82bcaf(0x21f)]();},'reset':function(){var _0x23b887=_0x516989,_0xbbbae=this[_0x23b887(0x35b)];_0xbbbae['reset'](),_0xbbbae['update'](this[_0x23b887(0x2ef)]);},'update':function(_0x1dcad2){var _0xb1d5c2=_0x516989;return this[_0xb1d5c2(0x35b)][_0xb1d5c2(0x3eb)](_0x1dcad2),this;},'finalize':function(_0x35ab0c){var _0x5b0dde=_0x516989,_0x547f18=this['_hasher'],_0x4b5a85=_0x547f18[_0x5b0dde(0x48c)](_0x35ab0c);_0x547f18[_0x5b0dde(0x21f)]();var _0x522c6c=_0x547f18[_0x5b0dde(0x48c)](this['_oKey']['clone']()[_0x5b0dde(0x286)](_0x4b5a85));return _0x522c6c;}});}());}));}(_0x338f30)),_0x338f30[_0x1aaa32(0x226)];}var _0x3fe420=_0x5dff3e[_0x57b479(0x226)],_0x458466;function _0x13ff74(){return _0x458466||(_0x458466=0x1,function(_0x5ddad9,_0x526daf){(function(_0x3ca603,_0x3ec7ad,_0x16d1e3){var _0x1653d1=_0x4759;_0x5ddad9[_0x1653d1(0x226)]=_0x3ec7ad(_0xc8dc11(),_0x4ac3f0(),_0x33b4e5());}(_0x3fe420,function(_0xcc4692){var _0x500db4=_0x4759;return(function(){var _0x1aff52=_0x4759,_0x524c48=_0xcc4692,_0x53afb2=_0x524c48[_0x1aff52(0x4d5)],_0x27bbc7=_0x53afb2[_0x1aff52(0x22d)],_0x4ca12d=_0x53afb2[_0x1aff52(0x3a1)],_0x280e1e=_0x524c48[_0x1aff52(0x172)],_0x57ecd0=_0x280e1e['MD5'],_0x178ecb=_0x280e1e['EvpKDF']=_0x27bbc7[_0x1aff52(0x4bb)]({'cfg':_0x27bbc7[_0x1aff52(0x4bb)]({'keySize':0x80/0x20,'hasher':_0x57ecd0,'iterations':0x1}),'init':function(_0x5f0a3b){this['cfg']=this['cfg']['extend'](_0x5f0a3b);},'compute':function(_0x25edce,_0x7d719f){var _0x83b390=_0x1aff52;for(var _0x3caf92,_0x5c18c5=this[_0x83b390(0x4e5)],_0x5db5d9=_0x5c18c5[_0x83b390(0x424)]['create'](),_0x261dcc=_0x4ca12d[_0x83b390(0x4c5)](),_0x23e19b=_0x261dcc[_0x83b390(0x1d0)],_0x3507a8=_0x5c18c5[_0x83b390(0x4aa)],_0x37dd95=_0x5c18c5[_0x83b390(0x176)];_0x23e19b[_0x83b390(0x1df)]<_0x3507a8;){_0x3caf92&&_0x5db5d9['update'](_0x3caf92),_0x3caf92=_0x5db5d9[_0x83b390(0x3eb)](_0x25edce)[_0x83b390(0x48c)](_0x7d719f),_0x5db5d9[_0x83b390(0x21f)]();for(var _0x3f89f6=0x1;_0x3f89f6<_0x37dd95;_0x3f89f6++)_0x3caf92=_0x5db5d9[_0x83b390(0x48c)](_0x3caf92),_0x5db5d9[_0x83b390(0x21f)]();_0x261dcc[_0x83b390(0x286)](_0x3caf92);}return _0x261dcc[_0x83b390(0x200)]=_0x3507a8*0x4,_0x261dcc;}});_0x524c48[_0x1aff52(0x21a)]=function(_0x465548,_0x36a896,_0x412025){var _0x4b2966=_0x1aff52;return _0x178ecb[_0x4b2966(0x4c5)](_0x412025)[_0x4b2966(0x444)](_0x465548,_0x36a896);};}()),_0xcc4692[_0x500db4(0x21a)];}));}(_0x5dff3e)),_0x5dff3e['exports'];}var _0x516217={'exports':{}},_0x3ac730=_0x516217[_0x57b479(0x226)],_0x42237c;function _0x4e17df(){var _0x35a09f=_0x57b479;return _0x42237c||(_0x42237c=0x1,function(_0x152784,_0x43036f){(function(_0x3bd1de,_0x2d8284,_0x127fdb){var _0x28595c=_0x4759;_0x152784[_0x28595c(0x226)]=_0x2d8284(_0xc8dc11(),_0x13ff74());}(_0x3ac730,function(_0x4d0cb6){var _0x5b6c8f=_0x4759;_0x4d0cb6['lib'][_0x5b6c8f(0x2f0)]||function(_0x27c463){var _0xd6b523=_0x5b6c8f,_0x554597=_0x4d0cb6,_0xdc9fc0=_0x554597[_0xd6b523(0x4d5)],_0x5dbc4c=_0xdc9fc0[_0xd6b523(0x22d)],_0x4a4b42=_0xdc9fc0[_0xd6b523(0x3a1)],_0x78dfdb=_0xdc9fc0[_0xd6b523(0x266)],_0x3627ad=_0x554597[_0xd6b523(0x320)];_0x3627ad[_0xd6b523(0x3ef)];var _0x25fdc5=_0x3627ad[_0xd6b523(0x394)],_0xbcf6d9=_0x554597[_0xd6b523(0x172)],_0x4fe80d=_0xbcf6d9[_0xd6b523(0x21a)],_0x3a09a6=_0xdc9fc0[_0xd6b523(0x2f0)]=_0x78dfdb[_0xd6b523(0x4bb)]({'cfg':_0x5dbc4c[_0xd6b523(0x4bb)](),'createEncryptor':function(_0x4f739f,_0x5f0cfc){var _0x2adb90=_0xd6b523;return this['create'](this[_0x2adb90(0x28e)],_0x4f739f,_0x5f0cfc);},'createDecryptor':function(_0xfc4be4,_0x150ee8){var _0x4e75e3=_0xd6b523;return this[_0x4e75e3(0x4c5)](this[_0x4e75e3(0x1d3)],_0xfc4be4,_0x150ee8);},'init':function(_0x3fffd7,_0x5b6b41,_0xf561e7){var _0x462ac8=_0xd6b523;this[_0x462ac8(0x4e5)]=this[_0x462ac8(0x4e5)]['extend'](_0xf561e7),this[_0x462ac8(0x1f0)]=_0x3fffd7,this[_0x462ac8(0x4d6)]=_0x5b6b41,this[_0x462ac8(0x21f)]();},'reset':function(){var _0x55cea9=_0xd6b523;_0x78dfdb['reset'][_0x55cea9(0x248)](this),this[_0x55cea9(0x204)]();},'process':function(_0x4ee83b){var _0x54c4ca=_0xd6b523;return this['_append'](_0x4ee83b),this[_0x54c4ca(0x377)]();},'finalize':function(_0x5a480b){var _0x3e1b14=_0xd6b523;_0x5a480b&&this[_0x3e1b14(0x2a1)](_0x5a480b);var _0x22dd3a=this[_0x3e1b14(0x197)]();return _0x22dd3a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x116ea7(_0x62fcf1){return typeof _0x62fcf1=='string'?_0xbb6283:_0x3b68ec;}return function(_0x5f3404){return{'encrypt':function(_0x4e2ee2,_0x554d7f,_0x350c15){var _0x58e91=_0x4759;return _0x116ea7(_0x554d7f)[_0x58e91(0x3b8)](_0x5f3404,_0x4e2ee2,_0x554d7f,_0x350c15);},'decrypt':function(_0x2a415e,_0x36bd77,_0x54e54a){return _0x116ea7(_0x36bd77)['decrypt'](_0x5f3404,_0x2a415e,_0x36bd77,_0x54e54a);}};};}())});_0xdc9fc0[_0xd6b523(0x41d)]=_0x3a09a6[_0xd6b523(0x4bb)]({'_doFinalize':function(){var _0x5ebd52=_0xd6b523,_0x256efc=this[_0x5ebd52(0x377)](!0x0);return _0x256efc;},'blockSize':0x1});var _0x62cdf2=_0x554597[_0xd6b523(0x2dd)]={},_0x79611d=_0xdc9fc0['BlockCipherMode']=_0x5dbc4c['extend']({'createEncryptor':function(_0x44b120,_0x2b5a7f){var _0x4d375d=_0xd6b523;return this[_0x4d375d(0x2cb)][_0x4d375d(0x4c5)](_0x44b120,_0x2b5a7f);},'createDecryptor':function(_0x46f7fc,_0x2da34c){var _0x28d08c=_0xd6b523;return this['Decryptor'][_0x28d08c(0x4c5)](_0x46f7fc,_0x2da34c);},'init':function(_0x70fa00,_0x107240){var _0x25fc4b=_0xd6b523;this['_cipher']=_0x70fa00,this[_0x25fc4b(0x173)]=_0x107240;}}),_0xbbd9ba=_0x62cdf2['CBC']=(function(){var _0x3ffd8f=_0xd6b523,_0x3f2c3e=_0x79611d['extend']();_0x3f2c3e[_0x3ffd8f(0x2cb)]=_0x3f2c3e['extend']({'processBlock':function(_0x30aaf2,_0x183525){var _0x1a712d=_0x3ffd8f,_0x1ddec3=this[_0x1a712d(0x33b)],_0x4a76b5=_0x1ddec3[_0x1a712d(0x301)];_0x43690c[_0x1a712d(0x248)](this,_0x30aaf2,_0x183525,_0x4a76b5),_0x1ddec3[_0x1a712d(0x26b)](_0x30aaf2,_0x183525),this[_0x1a712d(0x1d1)]=_0x30aaf2[_0x1a712d(0x4f0)](_0x183525,_0x183525+_0x4a76b5);}}),_0x3f2c3e[_0x3ffd8f(0x49a)]=_0x3f2c3e[_0x3ffd8f(0x4bb)]({'processBlock':function(_0x3f9ff0,_0x33183e){var _0x4e05f8=_0x3ffd8f,_0x20c819=this['_cipher'],_0x5834c1=_0x20c819[_0x4e05f8(0x301)],_0x216444=_0x3f9ff0[_0x4e05f8(0x4f0)](_0x33183e,_0x33183e+_0x5834c1);_0x20c819['decryptBlock'](_0x3f9ff0,_0x33183e),_0x43690c[_0x4e05f8(0x248)](this,_0x3f9ff0,_0x33183e,_0x5834c1),this[_0x4e05f8(0x1d1)]=_0x216444;}});function _0x43690c(_0x576fa,_0xc0a95d,_0xcf5607){var _0x2a334e=_0x3ffd8f,_0x622872,_0x1398bc=this[_0x2a334e(0x173)];_0x1398bc?(_0x622872=_0x1398bc,this[_0x2a334e(0x173)]=_0x27c463):_0x622872=this[_0x2a334e(0x1d1)];for(var _0x14bb1e=0x0;_0x14bb1e<_0xcf5607;_0x14bb1e++)_0x576fa[_0xc0a95d+_0x14bb1e]^=_0x622872[_0x14bb1e];}return _0x3f2c3e;}()),_0x2ab538=_0x554597[_0xd6b523(0x399)]={},_0x3b5598=_0x2ab538[_0xd6b523(0x422)]={'pad':function(_0xac4a45,_0x3f7704){var _0x463dab=_0xd6b523;for(var _0x545fd4=_0x3f7704*0x4,_0x89dc38=_0x545fd4-_0xac4a45['sigBytes']%_0x545fd4,_0x3f585b=_0x89dc38<<0x18|_0x89dc38<<0x10|_0x89dc38<<0x8|_0x89dc38,_0x2320b3=[],_0x23d6b1=0x0;_0x23d6b1<_0x89dc38;_0x23d6b1+=0x4)_0x2320b3[_0x463dab(0x37d)](_0x3f585b);var _0x5efe38=_0x4a4b42[_0x463dab(0x4c5)](_0x2320b3,_0x89dc38);_0xac4a45[_0x463dab(0x286)](_0x5efe38);},'unpad':function(_0x4bdcfc){var _0xa5b016=_0xd6b523,_0x273a80=_0x4bdcfc[_0xa5b016(0x1d0)][_0x4bdcfc[_0xa5b016(0x200)]-0x1>>>0x2]&0xff;_0x4bdcfc[_0xa5b016(0x200)]-=_0x273a80;}};_0xdc9fc0['BlockCipher']=_0x3a09a6[_0xd6b523(0x4bb)]({'cfg':_0x3a09a6['cfg'][_0xd6b523(0x4bb)]({'mode':_0xbbd9ba,'padding':_0x3b5598}),'reset':function(){var _0x38097a=_0xd6b523,_0x45a0c3;_0x3a09a6['reset']['call'](this);var _0x192df7=this[_0x38097a(0x4e5)],_0x4084a4=_0x192df7['iv'],_0x446df8=_0x192df7[_0x38097a(0x2dd)];this[_0x38097a(0x1f0)]==this[_0x38097a(0x28e)]?_0x45a0c3=_0x446df8[_0x38097a(0x1ab)]:(_0x45a0c3=_0x446df8[_0x38097a(0x467)],this[_0x38097a(0x254)]=0x1),this[_0x38097a(0x1f4)]&&this['_mode'][_0x38097a(0x375)]==_0x45a0c3?this[_0x38097a(0x1f4)][_0x38097a(0x32b)](this,_0x4084a4&&_0x4084a4[_0x38097a(0x1d0)]):(this['_mode']=_0x45a0c3[_0x38097a(0x248)](_0x446df8,this,_0x4084a4&&_0x4084a4[_0x38097a(0x1d0)]),this[_0x38097a(0x1f4)]['__creator']=_0x45a0c3);},'_doProcessBlock':function(_0x2a1112,_0x33c7db){var _0x413c3a=_0xd6b523;this['_mode'][_0x413c3a(0x3ad)](_0x2a1112,_0x33c7db);},'_doFinalize':function(){var _0x53dd4b=_0xd6b523,_0x1a2937,_0x12acc9=this[_0x53dd4b(0x4e5)][_0x53dd4b(0x4a1)];return this[_0x53dd4b(0x1f0)]==this[_0x53dd4b(0x28e)]?(_0x12acc9[_0x53dd4b(0x399)](this[_0x53dd4b(0x4a3)],this[_0x53dd4b(0x301)]),_0x1a2937=this[_0x53dd4b(0x377)](!0x0)):(_0x1a2937=this['_process'](!0x0),_0x12acc9[_0x53dd4b(0x1ce)](_0x1a2937)),_0x1a2937;},'blockSize':0x80/0x20});var _0x2f98e9=_0xdc9fc0[_0xd6b523(0x33e)]=_0x5dbc4c['extend']({'init':function(_0x133a34){var _0x2733a4=_0xd6b523;this[_0x2733a4(0x4be)](_0x133a34);},'toString':function(_0x582496){return(_0x582496||this['formatter'])['stringify'](this);}}),_0x4a5aed=_0x554597[_0xd6b523(0x1c2)]={},_0x182b57=_0x4a5aed[_0xd6b523(0x2f1)]={'stringify':function(_0x4247a0){var _0x48c12c=_0xd6b523,_0x3a84ca,_0x25a7f1=_0x4247a0[_0x48c12c(0x2d5)],_0x3f98f0=_0x4247a0[_0x48c12c(0x435)];return _0x3f98f0?_0x3a84ca=_0x4a4b42[_0x48c12c(0x4c5)]([0x53616c74,0x65645f5f])['concat'](_0x3f98f0)[_0x48c12c(0x286)](_0x25a7f1):_0x3a84ca=_0x25a7f1,_0x3a84ca[_0x48c12c(0x3f7)](_0x25fdc5);},'parse':function(_0x1fa55d){var _0x366f06=_0xd6b523,_0x39185c,_0x57a92b=_0x25fdc5['parse'](_0x1fa55d),_0x196a2e=_0x57a92b[_0x366f06(0x1d0)];return _0x196a2e[0x0]==0x53616c74&&_0x196a2e[0x1]==0x65645f5f&&(_0x39185c=_0x4a4b42[_0x366f06(0x4c5)](_0x196a2e[_0x366f06(0x4f0)](0x2,0x4)),_0x196a2e[_0x366f06(0x247)](0x0,0x4),_0x57a92b[_0x366f06(0x200)]-=0x10),_0x2f98e9[_0x366f06(0x4c5)]({'ciphertext':_0x57a92b,'salt':_0x39185c});}},_0x3b68ec=_0xdc9fc0[_0xd6b523(0x2e3)]=_0x5dbc4c[_0xd6b523(0x4bb)]({'cfg':_0x5dbc4c[_0xd6b523(0x4bb)]({'format':_0x182b57}),'encrypt':function(_0x3b78bd,_0x2a19e5,_0x47ef09,_0x22ec37){var _0x67ff1d=_0xd6b523;_0x22ec37=this['cfg'][_0x67ff1d(0x4bb)](_0x22ec37);var _0x3dd410=_0x3b78bd['createEncryptor'](_0x47ef09,_0x22ec37),_0x520207=_0x3dd410[_0x67ff1d(0x48c)](_0x2a19e5),_0x44391b=_0x3dd410[_0x67ff1d(0x4e5)];return _0x2f98e9[_0x67ff1d(0x4c5)]({'ciphertext':_0x520207,'key':_0x47ef09,'iv':_0x44391b['iv'],'algorithm':_0x3b78bd,'mode':_0x44391b[_0x67ff1d(0x2dd)],'padding':_0x44391b['padding'],'blockSize':_0x3b78bd[_0x67ff1d(0x301)],'formatter':_0x22ec37[_0x67ff1d(0x1c2)]});},'decrypt':function(_0x32655e,_0xb96788,_0x146540,_0x2f1e97){var _0x1abda9=_0xd6b523;_0x2f1e97=this[_0x1abda9(0x4e5)]['extend'](_0x2f1e97),_0xb96788=this[_0x1abda9(0x460)](_0xb96788,_0x2f1e97[_0x1abda9(0x1c2)]);var _0x4757ef=_0x32655e['createDecryptor'](_0x146540,_0x2f1e97)['finalize'](_0xb96788[_0x1abda9(0x2d5)]);return _0x4757ef;},'_parse':function(_0x13ebbe,_0x558e2e){return typeof _0x13ebbe=='string'?_0x558e2e['parse'](_0x13ebbe,this):_0x13ebbe;}}),_0x113f18=_0x554597['kdf']={},_0x550276=_0x113f18[_0xd6b523(0x2f1)]={'execute':function(_0x2b3a1c,_0x58b9af,_0x91fbaf,_0x4bc65a,_0x2238ba){var _0x2bdfd9=_0xd6b523;if(_0x4bc65a||(_0x4bc65a=_0x4a4b42[_0x2bdfd9(0x2ff)](0x40/0x8)),_0x2238ba)var _0x58d805=_0x4fe80d[_0x2bdfd9(0x4c5)]({'keySize':_0x58b9af+_0x91fbaf,'hasher':_0x2238ba})[_0x2bdfd9(0x444)](_0x2b3a1c,_0x4bc65a);else var _0x58d805=_0x4fe80d[_0x2bdfd9(0x4c5)]({'keySize':_0x58b9af+_0x91fbaf})['compute'](_0x2b3a1c,_0x4bc65a);var _0xb86f7c=_0x4a4b42[_0x2bdfd9(0x4c5)](_0x58d805[_0x2bdfd9(0x1d0)][_0x2bdfd9(0x4f0)](_0x58b9af),_0x91fbaf*0x4);return _0x58d805[_0x2bdfd9(0x200)]=_0x58b9af*0x4,_0x2f98e9['create']({'key':_0x58d805,'iv':_0xb86f7c,'salt':_0x4bc65a});}},_0xbb6283=_0xdc9fc0[_0xd6b523(0x3c8)]=_0x3b68ec[_0xd6b523(0x4bb)]({'cfg':_0x3b68ec[_0xd6b523(0x4e5)][_0xd6b523(0x4bb)]({'kdf':_0x550276}),'encrypt':function(_0x59ecc1,_0x26ff29,_0x532b26,_0x17d2d0){var _0x169e73=_0xd6b523;_0x17d2d0=this[_0x169e73(0x4e5)]['extend'](_0x17d2d0);var _0x300a00=_0x17d2d0[_0x169e73(0x29a)][_0x169e73(0x46c)](_0x532b26,_0x59ecc1['keySize'],_0x59ecc1[_0x169e73(0x321)],_0x17d2d0[_0x169e73(0x435)],_0x17d2d0['hasher']);_0x17d2d0['iv']=_0x300a00['iv'];var _0x2dcea4=_0x3b68ec[_0x169e73(0x3b8)][_0x169e73(0x248)](this,_0x59ecc1,_0x26ff29,_0x300a00[_0x169e73(0x3bb)],_0x17d2d0);return _0x2dcea4[_0x169e73(0x4be)](_0x300a00),_0x2dcea4;},'decrypt':function(_0xda300c,_0x15e26d,_0x21ce4c,_0x5dd3d9){var _0xf5dfd4=_0xd6b523;_0x5dd3d9=this['cfg'][_0xf5dfd4(0x4bb)](_0x5dd3d9),_0x15e26d=this['_parse'](_0x15e26d,_0x5dd3d9[_0xf5dfd4(0x1c2)]);var _0x239704=_0x5dd3d9[_0xf5dfd4(0x29a)]['execute'](_0x21ce4c,_0xda300c['keySize'],_0xda300c[_0xf5dfd4(0x321)],_0x15e26d['salt'],_0x5dd3d9[_0xf5dfd4(0x424)]);_0x5dd3d9['iv']=_0x239704['iv'];var _0x2ca2d6=_0x3b68ec[_0xf5dfd4(0x4a0)][_0xf5dfd4(0x248)](this,_0xda300c,_0x15e26d,_0x239704['key'],_0x5dd3d9);return _0x2ca2d6;}});}();}));}(_0x516217)),_0x516217[_0x35a09f(0x226)];}var _0x55cacc=_0x25b6df[_0x57b479(0x226)],_0x20bf0e;function _0xc90ff9(){var _0x1ae8c7=_0x57b479;return _0x20bf0e||(_0x20bf0e=0x1,function(_0x516e8d,_0x4ed4be){(function(_0x149793,_0x332e74,_0x4a1079){var _0x52006a=_0x4759;_0x516e8d[_0x52006a(0x226)]=_0x332e74(_0xc8dc11(),_0x40a729(),_0x23f3e2(),_0x13ff74(),_0x4e17df());}(_0x55cacc,function(_0xecaf93){var _0x524463=_0x4759;return(function(){var _0x1e6216=_0x4759,_0x198053=_0xecaf93,_0x443234=_0x198053[_0x1e6216(0x4d5)],_0x24faba=_0x443234['BlockCipher'],_0x4e335b=_0x198053[_0x1e6216(0x172)],_0xaba15f=[],_0x48f852=[],_0x1a1d8b=[],_0x429625=[],_0x2a5292=[],_0x1210e3=[],_0x191c9b=[],_0x23a1e9=[],_0x2f6cfc=[],_0x9e24eb=[];(function(){for(var _0x178c9a=[],_0x1ba5ff=0x0;_0x1ba5ff<0x100;_0x1ba5ff++)_0x1ba5ff<0x80?_0x178c9a[_0x1ba5ff]=_0x1ba5ff<<0x1:_0x178c9a[_0x1ba5ff]=_0x1ba5ff<<0x1^0x11b;for(var _0x489f1d=0x0,_0xd9683=0x0,_0x1ba5ff=0x0;_0x1ba5ff<0x100;_0x1ba5ff++){var _0x253c8d=_0xd9683^_0xd9683<<0x1^_0xd9683<<0x2^_0xd9683<<0x3^_0xd9683<<0x4;_0x253c8d=_0x253c8d>>>0x8^_0x253c8d&0xff^0x63,_0xaba15f[_0x489f1d]=_0x253c8d,_0x48f852[_0x253c8d]=_0x489f1d;var _0x995382=_0x178c9a[_0x489f1d],_0x1f709a=_0x178c9a[_0x995382],_0x61bca7=_0x178c9a[_0x1f709a],_0x4272ea=_0x178c9a[_0x253c8d]*0x101^_0x253c8d*0x1010100;_0x1a1d8b[_0x489f1d]=_0x4272ea<<0x18|_0x4272ea>>>0x8,_0x429625[_0x489f1d]=_0x4272ea<<0x10|_0x4272ea>>>0x10,_0x2a5292[_0x489f1d]=_0x4272ea<<0x8|_0x4272ea>>>0x18,_0x1210e3[_0x489f1d]=_0x4272ea;var _0x4272ea=_0x61bca7*0x1010101^_0x1f709a*0x10001^_0x995382*0x101^_0x489f1d*0x1010100;_0x191c9b[_0x253c8d]=_0x4272ea<<0x18|_0x4272ea>>>0x8,_0x23a1e9[_0x253c8d]=_0x4272ea<<0x10|_0x4272ea>>>0x10,_0x2f6cfc[_0x253c8d]=_0x4272ea<<0x8|_0x4272ea>>>0x18,_0x9e24eb[_0x253c8d]=_0x4272ea,_0x489f1d?(_0x489f1d=_0x995382^_0x178c9a[_0x178c9a[_0x178c9a[_0x61bca7^_0x995382]]],_0xd9683^=_0x178c9a[_0x178c9a[_0xd9683]]):_0x489f1d=_0xd9683=0x1;}}());var _0x10b009=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x298c47=_0x4e335b[_0x1e6216(0x47c)]=_0x24faba[_0x1e6216(0x4bb)]({'_doReset':function(){var _0x107e0f=_0x1e6216,_0x489508;if(!(this['_nRounds']&&this[_0x107e0f(0x231)]===this[_0x107e0f(0x4d6)])){for(var _0x330546=this[_0x107e0f(0x231)]=this[_0x107e0f(0x4d6)],_0x1a07da=_0x330546['words'],_0x36951a=_0x330546['sigBytes']/0x4,_0x56d4e1=this['_nRounds']=_0x36951a+0x6,_0x32fe27=(_0x56d4e1+0x1)*0x4,_0x56b982=this[_0x107e0f(0x32c)]=[],_0x13c6f7=0x0;_0x13c6f7<_0x32fe27;_0x13c6f7++)_0x13c6f7<_0x36951a?_0x56b982[_0x13c6f7]=_0x1a07da[_0x13c6f7]:(_0x489508=_0x56b982[_0x13c6f7-0x1],_0x13c6f7%_0x36951a?_0x36951a>0x6&&_0x13c6f7%_0x36951a==0x4&&(_0x489508=_0xaba15f[_0x489508>>>0x18]<<0x18|_0xaba15f[_0x489508>>>0x10&0xff]<<0x10|_0xaba15f[_0x489508>>>0x8&0xff]<<0x8|_0xaba15f[_0x489508&0xff]):(_0x489508=_0x489508<<0x8|_0x489508>>>0x18,_0x489508=_0xaba15f[_0x489508>>>0x18]<<0x18|_0xaba15f[_0x489508>>>0x10&0xff]<<0x10|_0xaba15f[_0x489508>>>0x8&0xff]<<0x8|_0xaba15f[_0x489508&0xff],_0x489508^=_0x10b009[_0x13c6f7/_0x36951a|0x0]<<0x18),_0x56b982[_0x13c6f7]=_0x56b982[_0x13c6f7-_0x36951a]^_0x489508);for(var _0x219b18=this[_0x107e0f(0x1c5)]=[],_0x24f23e=0x0;_0x24f23e<_0x32fe27;_0x24f23e++){var _0x13c6f7=_0x32fe27-_0x24f23e;if(_0x24f23e%0x4)var _0x489508=_0x56b982[_0x13c6f7];else var _0x489508=_0x56b982[_0x13c6f7-0x4];_0x24f23e<0x4||_0x13c6f7<=0x4?_0x219b18[_0x24f23e]=_0x489508:_0x219b18[_0x24f23e]=_0x191c9b[_0xaba15f[_0x489508>>>0x18]]^_0x23a1e9[_0xaba15f[_0x489508>>>0x10&0xff]]^_0x2f6cfc[_0xaba15f[_0x489508>>>0x8&0xff]]^_0x9e24eb[_0xaba15f[_0x489508&0xff]];}}},'encryptBlock':function(_0xda8e2d,_0x18bdeb){var _0x286d80=_0x1e6216;this[_0x286d80(0x3d4)](_0xda8e2d,_0x18bdeb,this[_0x286d80(0x32c)],_0x1a1d8b,_0x429625,_0x2a5292,_0x1210e3,_0xaba15f);},'decryptBlock':function(_0x48c09a,_0x3c3517){var _0x57953d=_0x1e6216,_0x70b74c=_0x48c09a[_0x3c3517+0x1];_0x48c09a[_0x3c3517+0x1]=_0x48c09a[_0x3c3517+0x3],_0x48c09a[_0x3c3517+0x3]=_0x70b74c,this[_0x57953d(0x3d4)](_0x48c09a,_0x3c3517,this[_0x57953d(0x1c5)],_0x191c9b,_0x23a1e9,_0x2f6cfc,_0x9e24eb,_0x48f852);var _0x70b74c=_0x48c09a[_0x3c3517+0x1];_0x48c09a[_0x3c3517+0x1]=_0x48c09a[_0x3c3517+0x3],_0x48c09a[_0x3c3517+0x3]=_0x70b74c;},'_doCryptBlock':function(_0xa9ee42,_0x666a1b,_0x49e834,_0x38b2d3,_0x4d4f9f,_0x294df0,_0x5de0f0,_0x567fba){for(var _0x17b667=this['_nRounds'],_0x1db729=_0xa9ee42[_0x666a1b]^_0x49e834[0x0],_0x31afb1=_0xa9ee42[_0x666a1b+0x1]^_0x49e834[0x1],_0xc83e9f=_0xa9ee42[_0x666a1b+0x2]^_0x49e834[0x2],_0x4a4d62=_0xa9ee42[_0x666a1b+0x3]^_0x49e834[0x3],_0x25db69=0x4,_0x16630c=0x1;_0x16630c<_0x17b667;_0x16630c++){var _0x221fb0=_0x38b2d3[_0x1db729>>>0x18]^_0x4d4f9f[_0x31afb1>>>0x10&0xff]^_0x294df0[_0xc83e9f>>>0x8&0xff]^_0x5de0f0[_0x4a4d62&0xff]^_0x49e834[_0x25db69++],_0x545dd4=_0x38b2d3[_0x31afb1>>>0x18]^_0x4d4f9f[_0xc83e9f>>>0x10&0xff]^_0x294df0[_0x4a4d62>>>0x8&0xff]^_0x5de0f0[_0x1db729&0xff]^_0x49e834[_0x25db69++],_0x5d6361=_0x38b2d3[_0xc83e9f>>>0x18]^_0x4d4f9f[_0x4a4d62>>>0x10&0xff]^_0x294df0[_0x1db729>>>0x8&0xff]^_0x5de0f0[_0x31afb1&0xff]^_0x49e834[_0x25db69++],_0x4fbb71=_0x38b2d3[_0x4a4d62>>>0x18]^_0x4d4f9f[_0x1db729>>>0x10&0xff]^_0x294df0[_0x31afb1>>>0x8&0xff]^_0x5de0f0[_0xc83e9f&0xff]^_0x49e834[_0x25db69++];_0x1db729=_0x221fb0,_0x31afb1=_0x545dd4,_0xc83e9f=_0x5d6361,_0x4a4d62=_0x4fbb71;}var _0x221fb0=(_0x567fba[_0x1db729>>>0x18]<<0x18|_0x567fba[_0x31afb1>>>0x10&0xff]<<0x10|_0x567fba[_0xc83e9f>>>0x8&0xff]<<0x8|_0x567fba[_0x4a4d62&0xff])^_0x49e834[_0x25db69++],_0x545dd4=(_0x567fba[_0x31afb1>>>0x18]<<0x18|_0x567fba[_0xc83e9f>>>0x10&0xff]<<0x10|_0x567fba[_0x4a4d62>>>0x8&0xff]<<0x8|_0x567fba[_0x1db729&0xff])^_0x49e834[_0x25db69++],_0x5d6361=(_0x567fba[_0xc83e9f>>>0x18]<<0x18|_0x567fba[_0x4a4d62>>>0x10&0xff]<<0x10|_0x567fba[_0x1db729>>>0x8&0xff]<<0x8|_0x567fba[_0x31afb1&0xff])^_0x49e834[_0x25db69++],_0x4fbb71=(_0x567fba[_0x4a4d62>>>0x18]<<0x18|_0x567fba[_0x1db729>>>0x10&0xff]<<0x10|_0x567fba[_0x31afb1>>>0x8&0xff]<<0x8|_0x567fba[_0xc83e9f&0xff])^_0x49e834[_0x25db69++];_0xa9ee42[_0x666a1b]=_0x221fb0,_0xa9ee42[_0x666a1b+0x1]=_0x545dd4,_0xa9ee42[_0x666a1b+0x2]=_0x5d6361,_0xa9ee42[_0x666a1b+0x3]=_0x4fbb71;},'keySize':0x100/0x20});_0x198053[_0x1e6216(0x47c)]=_0x24faba[_0x1e6216(0x3b6)](_0x298c47);}()),_0xecaf93[_0x524463(0x47c)];}));}(_0x25b6df)),_0x25b6df[_0x1ae8c7(0x226)];}var _0x2b34b5=_0xc90ff9();const _0x4f4e6f=_0x3c1cac(_0x2b34b5);var _0x5a21b9=_0x40a729();const _0x380ab6=_0x3c1cac(_0x5a21b9);var _0x3e23e8={'exports':{}},_0x1e0dc3=_0x3e23e8[_0x57b479(0x226)],_0x408192;function _0x46d6ff(){var _0x4326a7=_0x57b479;return _0x408192||(_0x408192=0x1,function(_0x3200ff,_0x1057ce){(function(_0x47eb9a,_0x3a0c70){var _0x998598=_0x4759;_0x3200ff[_0x998598(0x226)]=_0x3a0c70(_0xc8dc11());}(_0x1e0dc3,function(_0x497161){var _0x33322f=_0x4759;return _0x497161[_0x33322f(0x320)][_0x33322f(0x3ef)];}));}(_0x3e23e8)),_0x3e23e8[_0x4326a7(0x226)];}var _0x44e893=_0x46d6ff();const _0x364a18=_0x3c1cac(_0x44e893);var _0x2e00e6={'exports':{}},_0x122698=_0x2e00e6[_0x57b479(0x226)],_0x138293;function _0x367233(){return _0x138293||(_0x138293=0x1,function(_0x41b065,_0x168b22){(function(_0x3868dc,_0x15deb5){_0x41b065['exports']=_0x15deb5(_0xc8dc11());}(_0x122698,function(_0x2f9802){return(function(){var _0x471da4=_0x4759;if(typeof ArrayBuffer==_0x471da4(0x26e)){var _0x3a4693=_0x2f9802,_0x18181a=_0x3a4693['lib'],_0x302e76=_0x18181a[_0x471da4(0x3a1)],_0x14a76a=_0x302e76[_0x471da4(0x32b)],_0x12d658=_0x302e76[_0x471da4(0x32b)]=function(_0x42e9ea){var _0x2282d2=_0x471da4;if(_0x42e9ea instanceof ArrayBuffer&&(_0x42e9ea=new Uint8Array(_0x42e9ea)),(_0x42e9ea instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x42e9ea instanceof Uint8ClampedArray||_0x42e9ea instanceof Int16Array||_0x42e9ea instanceof Uint16Array||_0x42e9ea instanceof Int32Array||_0x42e9ea instanceof Uint32Array||_0x42e9ea instanceof Float32Array||_0x42e9ea instanceof Float64Array)&&(_0x42e9ea=new Uint8Array(_0x42e9ea['buffer'],_0x42e9ea[_0x2282d2(0x2d0)],_0x42e9ea[_0x2282d2(0x1d4)])),_0x42e9ea instanceof Uint8Array){for(var _0xbfb36b=_0x42e9ea['byteLength'],_0x4cdcd7=[],_0x14a46d=0x0;_0x14a46d<_0xbfb36b;_0x14a46d++)_0x4cdcd7[_0x14a46d>>>0x2]|=_0x42e9ea[_0x14a46d]<<0x18-_0x14a46d%0x4*0x8;_0x14a76a[_0x2282d2(0x248)](this,_0x4cdcd7,_0xbfb36b);}else _0x14a76a[_0x2282d2(0x1cb)](this,arguments);};_0x12d658[_0x471da4(0x2a9)]=_0x302e76;}}()),_0x2f9802['lib']['WordArray'];}));}(_0x2e00e6)),_0x2e00e6['exports'];}var _0x3e04c2=_0x367233();const _0x137d2c=_0x3c1cac(_0x3e04c2);var _0x24e7df={'exports':{}},_0x5a8268=_0x24e7df[_0x57b479(0x226)],_0x24a417;function _0x162235(){return _0x24a417||(_0x24a417=0x1,function(_0x239cac,_0xaf70c8){(function(_0x181e76,_0x104e1e,_0x5db618){var _0x42e9cf=_0x4759;_0x239cac[_0x42e9cf(0x226)]=_0x104e1e(_0xc8dc11(),_0x4e17df());}(_0x5a8268,function(_0x22ee2e){var _0x45bd16=_0x4759;return _0x22ee2e[_0x45bd16(0x399)][_0x45bd16(0x4ab)]={'pad':function(){},'unpad':function(){}},_0x22ee2e['pad'][_0x45bd16(0x4ab)];}));}(_0x24e7df)),_0x24e7df['exports'];}var _0x3f6b3d=_0x162235();const _0x4fedf6=_0x3c1cac(_0x3f6b3d);function _0x4538fe(_0x130670,_0x44b683){var _0x4bbe6a=_0x57b479;const _0x39b720=_0x44b683-_0x130670[_0x4bbe6a(0x1df)]%_0x44b683,_0x463d17=String[_0x4bbe6a(0x383)](_0x39b720)['repeat'](_0x39b720);return _0x130670+_0x463d17;}function _0x356c29(_0x19ef49,_0x31d577){var _0x16a664=_0x57b479;const _0x1ef0c0=_0x137d2c[_0x16a664(0x2ff)](0x10),_0x55bae5=_0x4538fe(_0x19ef49,0x10),_0x482ec2=_0x4f4e6f[_0x16a664(0x3b8)](_0x364a18['parse'](_0x55bae5),_0x380ab6[_0x16a664(0x46d)](_0x31d577),{'iv':_0x1ef0c0,'padding':_0x4fedf6});return _0x1ef0c0['concat'](_0x482ec2[_0x16a664(0x2d5)])[_0x16a664(0x3f7)](_0x380ab6);}function _0x53884f(){var _0x1cc2bf=_0x57b479;const _0x411a46=_0x561aa0['getGlobalObject']()[_0x1cc2bf(0x196)];if(_0x411a46){const _0xc702ce={'time':Math['floor'](Date[_0x1cc2bf(0x335)]()/0x3e8),'domain':location[_0x1cc2bf(0x482)]};return _0x356c29(JSON[_0x1cc2bf(0x28d)](_0xc702ce),_0x411a46);}}var _0x4882b0=Object[_0x57b479(0x294)],_0xf6a493=Object[_0x57b479(0x298)],_0xc3ed15=(_0x2e65cb,_0x45388b,_0x247329,_0x144992)=>{var _0x27afe=_0x57b479;for(var _0xf412bb=_0x144992>0x1?void 0x0:_0x144992?_0xf6a493(_0x45388b,_0x247329):_0x45388b,_0x410f33=_0x2e65cb[_0x27afe(0x1df)]-0x1,_0x51d49c;_0x410f33>=0x0;_0x410f33--)(_0x51d49c=_0x2e65cb[_0x410f33])&&(_0xf412bb=(_0x144992?_0x51d49c(_0x45388b,_0x247329,_0xf412bb):_0x51d49c(_0xf412bb))||_0xf412bb);return _0x144992&&_0xf412bb&&_0x4882b0(_0x45388b,_0x247329,_0xf412bb),_0xf412bb;},_0x370835=(_0x37e531,_0xb520c)=>(_0x510b32,_0x4e300c)=>_0xb520c(_0x510b32,_0x4e300c,_0x37e531);let _0x4b58ef=class{constructor(_0x40b7cf){var _0x22f15c=_0x57b479;this[_0x22f15c(0x192)]=_0x40b7cf,this[_0x22f15c(0x3fa)]();}[_0x57b479(0x3fa)](){var _0x4766bd=_0x57b479;this[_0x4766bd(0x192)][_0x4766bd(0x236)]({'interceptor':(_0x44fc45,_0x55ba94)=>{var _0x2291ba=_0x4766bd;const _0x2d9264=_0x44fc45['headers'],_0x21c9f9=_0x53884f();return _0x21c9f9&&_0x2d9264[_0x2291ba(0x300)](_0x2291ba(0x4c8),_0x21c9f9),_0x55ba94(_0x44fc45);}});}};_0x4b58ef=_0xc3ed15([_0x370835(0x0,_0x1b0b97['Inject'](_0x52daec['HTTPService']))],_0x4b58ef);var _0x5252e5=Object[_0x57b479(0x294)],_0x1fab23=Object['getOwnPropertyDescriptor'],_0x4a423c=(_0x1d72ff,_0x5c6d6b,_0x581608,_0x382759)=>{var _0x75916e=_0x57b479;for(var _0x3d3f64=_0x382759>0x1?void 0x0:_0x382759?_0x1fab23(_0x5c6d6b,_0x581608):_0x5c6d6b,_0x2f5a2d=_0x1d72ff[_0x75916e(0x1df)]-0x1,_0x2b2cb9;_0x2f5a2d>=0x0;_0x2f5a2d--)(_0x2b2cb9=_0x1d72ff[_0x2f5a2d])&&(_0x3d3f64=(_0x382759?_0x2b2cb9(_0x5c6d6b,_0x581608,_0x3d3f64):_0x2b2cb9(_0x3d3f64))||_0x3d3f64);return _0x382759&&_0x3d3f64&&_0x5252e5(_0x5c6d6b,_0x581608,_0x3d3f64),_0x3d3f64;},_0x1d8f29=(_0x5e09d0,_0x2496e4)=>(_0x2768f6,_0x54fc17)=>_0x2496e4(_0x2768f6,_0x54fc17,_0x5e09d0);_0x267f17[_0x57b479(0x316)]=class extends _0x1b0b97[_0x57b479(0x355)]{constructor(_0x43b244,_0x1d6939,_0x4ce9dd){var _0x2f2cee=_0x57b479;super(),_0x584dc2(this,_0x2f2cee(0x4cd),new _0x427172[(_0x2f2cee(0x1e4))](null)),_0x584dc2(this,_0x2f2cee(0x416),this['_unitInfo$'][_0x2f2cee(0x2ae)]()),(this['_logService']=_0x43b244,this[_0x2f2cee(0x3dd)]=_0x1d6939,this['_localCacheService']=_0x4ce9dd);}async[_0x57b479(0x42d)](_0x2d630a,_0x20f91a,_0x2bd2ef){var _0x3c5147=_0x57b479;this['_unitInfo$'][_0x3c5147(0x40e)]({'unitId':_0x2d630a,'type':_0x20f91a,'subUnitId':_0x2bd2ef});let _0x1d922f=null;switch(_0x20f91a){case _0x45c17c[_0x3c5147(0x2f7)]:{_0x1d922f=await this[_0x3c5147(0x214)](_0x2d630a);break;}case _0x45c17c['UNIVER_DOC']:{_0x1d922f=await this[_0x3c5147(0x1ee)](_0x2d630a);break;}default:{this[_0x3c5147(0x3b1)][_0x3c5147(0x4b7)](_0x3c5147(0x45e),_0x3c5147(0x486));break;}}return _0x1d922f;}async[_0x57b479(0x214)](_0x46db0a){var _0x1d28d7=_0x57b479,_0x56116d;let _0x4b8707=0x0;const _0xe3c77e=await((_0x56116d=this['_localCacheService'])==null?void 0x0:_0x56116d['loadOfflineData'](_0x46db0a));return _0xe3c77e&&(_0xe3c77e[_0x1d28d7(0x490)]||_0xe3c77e[_0x1d28d7(0x284)][_0x1d28d7(0x1df)]!==0x0)&&(_0x4b8707=_0xe3c77e[_0x1d28d7(0x4da)]),_0x4b8707===0x0&&this[_0x1d28d7(0x3b1)][_0x1d28d7(0x1c3)]('[DataLoaderService]',_0x1d28d7(0x412)),this['_snapshotService'][_0x1d28d7(0x344)](_0x46db0a,_0x4b8707);}async['_loadDoc'](_0x13dcb1){var _0x187bad=_0x57b479,_0x32bb84;let _0x292f40=0x0;const _0x3b3338=await((_0x32bb84=this[_0x187bad(0x207)])==null?void 0x0:_0x32bb84[_0x187bad(0x2aa)](_0x13dcb1));return _0x3b3338&&(_0x3b3338[_0x187bad(0x490)]||_0x3b3338[_0x187bad(0x284)]['length']!==0x0)&&(_0x292f40=_0x3b3338[_0x187bad(0x4da)]),_0x292f40===0x0&&this['_logService']['debug'](_0x187bad(0x45e),_0x187bad(0x412)),this['_snapshotService']['loadDoc'](_0x13dcb1,_0x292f40);}},_0x267f17['DataLoaderService']=_0x4a423c([_0x1d8f29(0x0,_0x1b0b97['ILogService']),_0x1d8f29(0x1,_0x1b0b97[_0x57b479(0x36b)](_0x4f5b98[_0x57b479(0x39f)])),_0x1d8f29(0x2,_0x1b0b97[_0x57b479(0x3e0)](_0x6dcf6))],_0x267f17[_0x57b479(0x316)]);var _0x999365=Object[_0x57b479(0x294)],_0x43255e=Object[_0x57b479(0x298)],_0x1c18a1=(_0x161b6c,_0x2a8f94,_0x5af0ca,_0x3d6cfa)=>{for(var _0x3f481f=_0x3d6cfa>0x1?void 0x0:_0x3d6cfa?_0x43255e(_0x2a8f94,_0x5af0ca):_0x2a8f94,_0x1bb14b=_0x161b6c['length']-0x1,_0x565cf4;_0x1bb14b>=0x0;_0x1bb14b--)(_0x565cf4=_0x161b6c[_0x1bb14b])&&(_0x3f481f=(_0x3d6cfa?_0x565cf4(_0x2a8f94,_0x5af0ca,_0x3f481f):_0x565cf4(_0x3f481f))||_0x3f481f);return _0x3d6cfa&&_0x3f481f&&_0x999365(_0x2a8f94,_0x5af0ca,_0x3f481f),_0x3f481f;},_0x3ae562=(_0x1ff5fe,_0x5cd843)=>(_0x57b65e,_0x313f15)=>_0x5cd843(_0x57b65e,_0x313f15,_0x1ff5fe);const _0x47aee7=[_0x57b479(0x31e),_0x57b479(0x1dc),_0x57b479(0x3c3),_0x57b479(0x1aa),_0x57b479(0x4b4)],_0x3698a7=0x5*0x400*0x400,_0x34bbe9=_0x57b479(0x186),_0x10abb5=_0x57b479(0x3da),_0x211a99='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x12e1b8='/universer-api/file/{fileID}/sign-url';_0x267f17['CollaborationImageIoService']=class{constructor(_0x32a0b8,_0xbe48d0,_0x6dba68){var _0x1e0cc3=_0x57b479;_0x584dc2(this,_0x1e0cc3(0x309),0x0),_0x584dc2(this,_0x1e0cc3(0x455),new _0x427172[(_0x1e0cc3(0x206))]()),_0x584dc2(this,_0x1e0cc3(0x456),this[_0x1e0cc3(0x455)]),_0x584dc2(this,_0x1e0cc3(0x1fd),new Map()),(this[_0x1e0cc3(0x192)]=_0x32a0b8,this['_configService']=_0xbe48d0,this['_univerInstanceService']=_0x6dba68);}['setWaitCount'](_0x2cd397){var _0xb1179a=_0x57b479;this[_0xb1179a(0x309)]=_0x2cd397,this['_change$'][_0xb1179a(0x40e)](_0x2cd397);}[_0x57b479(0x299)](_0x1ee128,_0x49a48f){var _0x558e40=_0x57b479;if(_0x49a48f===_0xc45ff0[_0x558e40(0x2fe)][_0x558e40(0x322)]){const _0x551484=new Image();return _0x551484[_0x558e40(0x307)]=_0x1ee128,_0x551484;}return this[_0x558e40(0x1fd)][_0x558e40(0x1f7)](_0x1ee128);}['addImageSourceCache'](_0x12b90b,_0x3a7a59,_0x20f965){var _0x308c28=_0x57b479;_0x3a7a59===_0xc45ff0[_0x308c28(0x2fe)][_0x308c28(0x322)]||_0x20f965==null||this[_0x308c28(0x1fd)][_0x308c28(0x300)](_0x12b90b,_0x20f965);}async[_0x57b479(0x26c)](_0x2cf0ac){var _0xca2f3e=_0x57b479;try{const _0x5ba6f9=this[_0xca2f3e(0x21e)](this[_0xca2f3e(0x451)](),''+_0x2cf0ac),_0x4a0347=(await this[_0xca2f3e(0x192)][_0xca2f3e(0x1f7)](_0x5ba6f9))[_0xca2f3e(0x17b)];if(_0x4a0347[_0xca2f3e(0x4b7)]&&_0x4a0347[_0xca2f3e(0x4b7)]['code']===_0x493455['OK']){const _0x4ad738=new URL(_0x4a0347[_0xca2f3e(0x174)],this['_getDownloadEndpointURL']())[_0xca2f3e(0x3f7)]();return Promise[_0xca2f3e(0x2ed)](_0x4ad738);}return Promise[_0xca2f3e(0x2de)](_0x4a0347[_0xca2f3e(0x4b7)]);}catch(_0x4d587e){return Promise['reject'](_0x4d587e);}}async['saveImage'](_0x13a2ef){var _0x23f916=_0x57b479;let _0x2d367d='';if(!_0x47aee7[_0x23f916(0x1c1)](_0x13a2ef[_0x23f916(0x3a8)]))return this['_decreaseWaiting'](),Promise[_0x23f916(0x2de)](new Error(_0xc45ff0[_0x23f916(0x1a5)][_0x23f916(0x4dc)]));if(_0x13a2ef[_0x23f916(0x20d)]>_0x3698a7)return this[_0x23f916(0x195)](),Promise[_0x23f916(0x2de)](new Error(_0xc45ff0[_0x23f916(0x1a5)][_0x23f916(0x4a8)]));try{const _0x3fb775=new FormData();_0x3fb775[_0x23f916(0x352)](_0x23f916(0x3ff),_0x13a2ef);const _0x3b87f6=this[_0x23f916(0x198)]['getFocusedUnit'](),_0x9e02c4=_0x3b87f6==null?void 0x0:_0x3b87f6[_0x23f916(0x2a2)]();if(!_0x9e02c4)throw new Error(_0x23f916(0x19d));const _0x5b904d=this[_0x23f916(0x472)]()+_0x23f916(0x319)+_0x13a2ef['size'][_0x23f916(0x3f7)]()+'&source='+_0xe55bc3[_0x23f916(0x384)]+_0x23f916(0x181)+encodeURIComponent(_0x9e02c4),_0xd19268=await(await fetch(_0x5b904d,{'method':_0x23f916(0x1c8),'body':_0x3fb775}))[_0x23f916(0x2c5)]();if(typeof _0xd19268[_0x23f916(0x468)]!=_0x23f916(0x2da))return this[_0x23f916(0x195)](),Promise[_0x23f916(0x2de)](new Error(_0xc45ff0[_0x23f916(0x1a5)][_0x23f916(0x24b)]));_0x2d367d=_0xd19268[_0x23f916(0x468)];}catch{return this[_0x23f916(0x195)](),Promise[_0x23f916(0x2de)](new Error(_0xc45ff0[_0x23f916(0x1a5)][_0x23f916(0x24b)]));}return new Promise((_0x25d6a1,_0x539087)=>{var _0x32835c=_0x23f916;const _0x45bf35=new FileReader();_0x45bf35[_0x32835c(0x439)](_0x13a2ef),_0x45bf35[_0x32835c(0x256)]=_0x33e5df=>{var _0x21f71e=_0x32835c,_0x5ac590;const _0x14175e=(_0x5ac590=_0x33e5df[_0x21f71e(0x2cd)])==null?void 0x0:_0x5ac590[_0x21f71e(0x367)];if(_0x14175e==null){this[_0x21f71e(0x195)](),_0x539087(new Error(_0xc45ff0[_0x21f71e(0x1a5)][_0x21f71e(0x24b)]));return;}const _0x4abb15=_0x1b0b97['Tools']['generateRandomId'](0x6);_0x25d6a1({'imageId':_0x4abb15,'imageSourceType':_0xc45ff0[_0x21f71e(0x2fe)]['UUID'],'source':_0x2d367d,'base64Cache':_0x14175e,'status':_0xc45ff0[_0x21f71e(0x1a5)][_0x21f71e(0x1f8)]}),this['_decreaseWaiting']();};});}[_0x57b479(0x472)](){var _0x4d1690=_0x57b479,_0xbbf2cf,_0x4f0e4c;const _0x2620e8=this[_0x4d1690(0x23a)][_0x4d1690(0x35e)](_0x34bbe9),_0x5138d7=this[_0x4d1690(0x23a)][_0x4d1690(0x35e)](_0x4bdd65);return(_0x4f0e4c=(_0xbbf2cf=_0x5138d7==null?void 0x0:_0x5138d7[_0x4d1690(0x4db)])!=null?_0xbbf2cf:_0x2620e8)!=null?_0x4f0e4c:_0x10abb5;}[_0x57b479(0x451)](){var _0x5ac73d=_0x57b479,_0x40e0e1,_0x1a4dd2;const _0x39b5f7=this[_0x5ac73d(0x23a)][_0x5ac73d(0x35e)](_0x211a99),_0x52c086=this[_0x5ac73d(0x23a)][_0x5ac73d(0x35e)](_0x4bdd65);return(_0x1a4dd2=(_0x40e0e1=_0x52c086==null?void 0x0:_0x52c086['signUrlServerUrl'])!=null?_0x40e0e1:_0x39b5f7)!=null?_0x1a4dd2:_0x12e1b8;}['_getDownloadEndpointURL'](){var _0x52301b=_0x57b479,_0x4c6eba;const _0x5a30b0=this[_0x52301b(0x23a)][_0x52301b(0x35e)](_0x4bdd65);return(_0x4c6eba=_0x5a30b0==null?void 0x0:_0x5a30b0[_0x52301b(0x419)])!=null?_0x4c6eba:location[_0x52301b(0x1a2)];}[_0x57b479(0x21e)](_0x8e1141,_0x592f16){var _0x4ec155=_0x57b479;return _0x8e1141[_0x4ec155(0x46f)](_0x4ec155(0x2b7),_0x592f16);}[_0x57b479(0x195)](){var _0x3df051=_0x57b479;this[_0x3df051(0x309)]-=0x1,this[_0x3df051(0x455)][_0x3df051(0x40e)](this['_waitCount']);}},_0x267f17['CollaborationImageIoService']=_0x1c18a1([_0x3ae562(0x0,_0x1b0b97[_0x57b479(0x36b)](_0x52daec[_0x57b479(0x230)])),_0x3ae562(0x1,_0x1b0b97[_0x57b479(0x4e0)]),_0x3ae562(0x2,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97[_0x57b479(0x381)]))],_0x267f17[_0x57b479(0x332)]);var _0xac02c8=Object[_0x57b479(0x294)],_0x3279b7=Object[_0x57b479(0x298)],_0x34a82d=(_0xbabe88,_0x39e21f,_0x1ad891,_0x2024f8)=>{for(var _0x12a186=_0x2024f8>0x1?void 0x0:_0x2024f8?_0x3279b7(_0x39e21f,_0x1ad891):_0x39e21f,_0x253ba5=_0xbabe88['length']-0x1,_0x25ef4f;_0x253ba5>=0x0;_0x253ba5--)(_0x25ef4f=_0xbabe88[_0x253ba5])&&(_0x12a186=(_0x2024f8?_0x25ef4f(_0x39e21f,_0x1ad891,_0x12a186):_0x25ef4f(_0x12a186))||_0x12a186);return _0x2024f8&&_0x12a186&&_0xac02c8(_0x39e21f,_0x1ad891,_0x12a186),_0x12a186;},_0x378f9e=(_0x5da911,_0x35e7db)=>(_0x7d35be,_0x367b26)=>_0x35e7db(_0x7d35be,_0x367b26,_0x5da911);const _0xd827bd=_0x57b479(0x35a);_0x267f17[_0x57b479(0x235)]=class{constructor(_0xf03285,_0x2c1ff1){var _0x2a712a=_0x57b479;this[_0x2a712a(0x23a)]=_0xf03285,this[_0x2a712a(0x1b6)]=_0x2c1ff1;}[_0x57b479(0x40a)](){var _0x186d47=_0x57b479,_0x3bf8d0,_0x19245f;const _0x3d2601=this[_0x186d47(0x23a)][_0x186d47(0x35e)](_0x7b2f54),_0x4643b2=this[_0x186d47(0x23a)][_0x186d47(0x35e)](_0x4bdd65);return(_0x19245f=(_0x3bf8d0=_0x4643b2==null?void 0x0:_0x4643b2[_0x186d47(0x1da)])!=null?_0x3bf8d0:_0x3d2601)!=null?_0x19245f:_0xd827bd;}async[_0x57b479(0x37f)](_0x1ee1e3){var _0x12f554=_0x57b479;const _0x3448df=this['_getAPIPrefixPath']()+_0x12f554(0x4ef);return{'list':[{'title':_0x12f554(0x3a7),'mentions':(await this[_0x12f554(0x1b6)][_0x12f554(0x1f7)](_0x3448df,{'params':{'objectID':_0x1ee1e3[_0x12f554(0x30a)],'unitID':_0x1ee1e3[_0x12f554(0x30a)]}}))[_0x12f554(0x17b)]['collaborators'][_0x12f554(0x4ca)](_0x39b154=>({'objectId':_0x39b154['id'],'name':_0x39b154[_0x12f554(0x29e)][_0x12f554(0x1ae)],'metadata':{'icon':_0x39b154[_0x12f554(0x29e)][_0x12f554(0x2db)]},'label':_0x39b154[_0x12f554(0x29e)]['name'],'objectType':_0x1b0b97[_0x12f554(0x233)]['PERSON']})),'metadata':{},'type':_0x1b0b97['MentionType'][_0x12f554(0x1ed)]}]};}},_0x267f17[_0x57b479(0x235)]=_0x34a82d([_0x378f9e(0x0,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97['IConfigService'])),_0x378f9e(0x1,_0x1b0b97[_0x57b479(0x36b)](_0x52daec[_0x57b479(0x230)]))],_0x267f17[_0x57b479(0x235)]);var _0x2f319d=Object[_0x57b479(0x294)],_0x31d724=Object[_0x57b479(0x298)],_0x3ab963=(_0x40b8fa,_0x2face4,_0x300680,_0x442724)=>{for(var _0x4644a9=_0x442724>0x1?void 0x0:_0x442724?_0x31d724(_0x2face4,_0x300680):_0x2face4,_0x264e8a=_0x40b8fa['length']-0x1,_0x2b2aa2;_0x264e8a>=0x0;_0x264e8a--)(_0x2b2aa2=_0x40b8fa[_0x264e8a])&&(_0x4644a9=(_0x442724?_0x2b2aa2(_0x2face4,_0x300680,_0x4644a9):_0x2b2aa2(_0x4644a9))||_0x4644a9);return _0x442724&&_0x4644a9&&_0x2f319d(_0x2face4,_0x300680,_0x4644a9),_0x4644a9;},_0x424d2e=(_0x3cee93,_0x282b7c)=>(_0x345003,_0x6f1947)=>_0x282b7c(_0x345003,_0x6f1947,_0x3cee93);let _0x500ec7=class extends _0x1b0b97[_0x57b479(0x355)]{constructor(_0x2ffd13,_0x59713b,_0x4b9149,_0x202f89,_0x16215b,_0x4f1a52,_0x12b393){var _0x6feed2=_0x57b479;super(),this['_injector']=_0x2ffd13,this[_0x6feed2(0x198)]=_0x59713b,this[_0x6feed2(0x353)]=_0x4b9149,this[_0x6feed2(0x170)]=_0x202f89,this['_collaborationUIEventService']=_0x16215b,this['_authzIoService']=_0x4f1a52,this[_0x6feed2(0x34c)]=_0x12b393,this[_0x6feed2(0x32a)](),this[_0x6feed2(0x225)]();}[_0x57b479(0x225)](){var _0x510713=_0x57b479;const _0xc76369=async _0x55c4b1=>{var _0x21a41f=_0x4759;(await this['_collaborationSessionService'][_0x21a41f(0x243)](_0x55c4b1))[_0x21a41f(0x27a)][_0x21a41f(0x31f)](_0xeec3f8['filter'](_0x17b88b=>_0x17b88b[_0x21a41f(0x4d9)]===_0x4f5b98['CollaborationEvent']['SHOULD_CLOSE_CONN']),_0xeec3f8[_0x21a41f(0x3c7)](this[_0x21a41f(0x406)]))['subscribe'](_0x518d21=>{var _0x17419a=_0x21a41f;const _0x31be71=_0x518d21,{reason:_0x31ae82}=_0x31be71[_0x17419a(0x29b)];this['_collaborationUIEventService'][_0x17419a(0x402)]({'id':_0x864ea4[_0x17419a(0x1e5)],'data':_0x31ae82}),this[_0x17419a(0x353)]['updatePermissionPoint'](new _0x42a1f3[(_0x17419a(0x187))](_0x55c4b1)['id'],!0x1),this[_0x17419a(0x170)][_0x17419a(0x469)](_0x55c4b1);});};_0x427172[_0x510713(0x2b1)](this[_0x510713(0x198)]['getTypeOfUnitAdded$'](_0x1b0b97[_0x510713(0x4c7)][_0x510713(0x2f7)]),this[_0x510713(0x198)][_0x510713(0x440)](_0x1b0b97[_0x510713(0x4c7)]['UNIVER_DOC']))[_0x510713(0x31f)](_0xeec3f8[_0x510713(0x4ca)](_0x42e87d=>_0x42e87d[_0x510713(0x2a2)]()),_0xeec3f8[_0x510713(0x3d8)](_0x586f36=>!_0x1b0b97[_0x510713(0x3cc)](_0x586f36)),_0xeec3f8['takeUntil'](this[_0x510713(0x406)]))[_0x510713(0x3aa)](_0x39153c=>{_0xc76369(_0x39153c);});}['_initUnitPermissionChange'](){var _0x4fe1e7=_0x57b479;const _0x54fdf2=async _0x6f1b7a=>{var _0x5d311e=_0x4759;const _0x458e6b=await this[_0x5d311e(0x170)][_0x5d311e(0x243)](_0x6f1b7a),_0x37fc97=this[_0x5d311e(0x3dc)][_0x5d311e(0x1f7)](_0x42a1f3[_0x5d311e(0x2b0)]);_0x458e6b[_0x5d311e(0x27a)]['pipe'](_0xeec3f8[_0x5d311e(0x3d8)](_0x4652d9=>_0x4652d9[_0x5d311e(0x4d9)]===_0x4f5b98[_0x5d311e(0x4f6)]['UPDATE_PERMISSION_OBJ']),_0xeec3f8[_0x5d311e(0x3c7)](this[_0x5d311e(0x406)]))['subscribe'](_0x30cb20=>{var _0x36a3a9=_0x5d311e;const _0x5c4cdf=_0x30cb20,{objectId:_0x2d6203}=_0x5c4cdf[_0x36a3a9(0x29b)];_0x2d6203===_0x6f1b7a?_0x37fc97[_0x36a3a9(0x428)](_0x6f1b7a):_0x37fc97[_0x36a3a9(0x1b3)](_0x6f1b7a,_0x2d6203);});};_0x427172[_0x4fe1e7(0x2b1)](this[_0x4fe1e7(0x198)][_0x4fe1e7(0x440)](_0x1b0b97[_0x4fe1e7(0x4c7)][_0x4fe1e7(0x2f7)]),this[_0x4fe1e7(0x198)][_0x4fe1e7(0x440)](_0x1b0b97[_0x4fe1e7(0x4c7)][_0x4fe1e7(0x351)]))[_0x4fe1e7(0x31f)](_0xeec3f8[_0x4fe1e7(0x4ca)](_0x1dfc94=>_0x1dfc94['getUnitId']()),_0xeec3f8[_0x4fe1e7(0x3d8)](_0x5af89a=>!_0x1b0b97[_0x4fe1e7(0x3cc)](_0x5af89a)),_0xeec3f8[_0x4fe1e7(0x3c7)](this[_0x4fe1e7(0x406)]))['subscribe'](_0x496e4d=>{_0x54fdf2(_0x496e4d);});}};_0x500ec7=_0x3ab963([_0x424d2e(0x0,_0x1b0b97[_0x57b479(0x36b)](_0x1b0b97[_0x57b479(0x397)])),_0x424d2e(0x1,_0x1b0b97[_0x57b479(0x381)]),_0x424d2e(0x2,_0x1b0b97['IPermissionService']),_0x424d2e(0x3,_0x1b0b97[_0x57b479(0x36b)](_0x267f17['CollaborationSessionService'])),_0x424d2e(0x4,_0x1b0b97[_0x57b479(0x36b)](_0x442b4a)),_0x424d2e(0x5,_0x1b0b97[_0x57b479(0x30b)]),_0x424d2e(0x6,_0x1b0b97['IUndoRedoService'])],_0x500ec7);var _0x4ed76e=Object[_0x57b479(0x294)],_0x236e45=Object['getOwnPropertyDescriptor'],_0x91da7e=(_0x8a1aa6,_0xf89b37,_0x2fc19e,_0x299b9d)=>{for(var _0x24d1a1=_0x299b9d>0x1?void 0x0:_0x299b9d?_0x236e45(_0xf89b37,_0x2fc19e):_0xf89b37,_0x19723d=_0x8a1aa6['length']-0x1,_0x48f8d3;_0x19723d>=0x0;_0x19723d--)(_0x48f8d3=_0x8a1aa6[_0x19723d])&&(_0x24d1a1=(_0x299b9d?_0x48f8d3(_0xf89b37,_0x2fc19e,_0x24d1a1):_0x48f8d3(_0x24d1a1))||_0x24d1a1);return _0x299b9d&&_0x24d1a1&&_0x4ed76e(_0xf89b37,_0x2fc19e,_0x24d1a1),_0x24d1a1;},_0x39ba9a=(_0xcb9538,_0x154972)=>(_0x5bde4b,_0x11940e)=>_0x154972(_0x5bde4b,_0x11940e,_0xcb9538);_0x267f17[_0x57b479(0x39d)]=class{constructor(_0x40008e,_0x5b9bce){var _0x225eb6=_0x57b479;this['_configService']=_0x40008e,this[_0x225eb6(0x192)]=_0x5b9bce;}async[_0x57b479(0x37c)](_0x43cfa3,_0x6abbc3){var _0x1b9d0a=_0x57b479,_0x5fd32;const {unitID:_0x2fad17,type:_0x2071ea,revision:_0x346727=0x0}=_0x6abbc3,_0xe5ae1e=this[_0x1b9d0a(0x3f9)]()+'/'+_0x2071ea+_0x1b9d0a(0x4b6)+_0x2fad17+_0x1b9d0a(0x44a)+_0x346727,_0x209980=(await this[_0x1b9d0a(0x192)][_0x1b9d0a(0x1f7)](_0xe5ae1e))['body'],_0x1af94c=(_0x5fd32=_0x209980[_0x1b9d0a(0x373)])==null?void 0x0:_0x5fd32[_0x1b9d0a(0x41f)];if(_0x1af94c){const _0x5b7ce4=_0x1af94c==null?void 0x0:_0x1af94c[_0x1b9d0a(0x2b6)],_0x4b908d=_0x4f5b98['textEncoder']['encode'](_0x4f5b98[_0x1b9d0a(0x287)](_0x5b7ce4));_0x1af94c[_0x1b9d0a(0x2b6)]=_0x4b908d,Object['entries'](_0x1af94c[_0x1b9d0a(0x2e4)])[_0x1b9d0a(0x25d)](([,_0x14461e])=>{var _0x4d7bff=_0x1b9d0a;const _0x414eaa=_0x14461e[_0x4d7bff(0x2b6)],_0x575c6e=_0x4f5b98['textEncoder'][_0x4d7bff(0x461)](_0x4f5b98[_0x4d7bff(0x287)](_0x414eaa));_0x14461e[_0x4d7bff(0x2b6)]=_0x575c6e;});}return _0x209980;}async[_0x57b479(0x205)](_0x2f49b0,_0x5887ac){var _0x3adacd=_0x57b479;const {unitID:_0x26f174,type:_0x3e81d9,blockID:_0x171687}=_0x5887ac,_0x1a0482=this[_0x3adacd(0x3f0)]()+'/'+_0x3e81d9+'/unit/'+_0x26f174+_0x3adacd(0x430)+_0x171687;return(await this[_0x3adacd(0x192)][_0x3adacd(0x1f7)](_0x1a0482))[_0x3adacd(0x17b)];}async[_0x57b479(0x4f1)](_0x4b904a,_0x4edc66){var _0x6371a3=_0x57b479;const {unitID:_0x4eeffa,type:_0x4e5672,blockID:_0x4b7f18}=_0x4edc66,_0x1964fc=this['_getAPIPrefix']()+_0x6371a3(0x430)+_0x4e5672+_0x6371a3(0x4b6)+_0x4eeffa+_0x6371a3(0x430)+_0x4b7f18;return(await this[_0x6371a3(0x192)]['get'](_0x1964fc))[_0x6371a3(0x17b)];}async[_0x57b479(0x493)](_0x26d36b,_0x289312){var _0x4c8d11=_0x57b479;const {unitID:_0x4d1f87,type:_0x349cd2,from:_0x19903c,to:_0x197197}=_0x289312,_0x248947=this[_0x4c8d11(0x3f0)]()+'/'+_0x349cd2+'/unit/'+_0x4d1f87+_0x4c8d11(0x3c5)+_0x19903c+_0x4c8d11(0x4d4)+_0x197197;return(await this[_0x4c8d11(0x192)][_0x4c8d11(0x1f7)](_0x248947))['body'];}[_0x57b479(0x3f9)](){var _0x9762e=_0x57b479,_0x2596df;return(_0x2596df=this[_0x9762e(0x23a)][_0x9762e(0x35e)](_0x25f125))!=null?_0x2596df:this[_0x9762e(0x3f0)]();}[_0x57b479(0x3f0)](){var _0xf8254a=_0x57b479,_0xdc7a85,_0x3f005a;const _0x3895ad=this[_0xf8254a(0x23a)]['getConfig'](_0x4c9657),_0x1387c6=this[_0xf8254a(0x23a)]['getConfig'](_0x4bdd65);return(_0x3f005a=(_0xdc7a85=_0x1387c6==null?void 0x0:_0x1387c6['snapshotServerUrl'])!=null?_0xdc7a85:_0x3895ad)!=null?_0x3f005a:_0x124903;}async[_0x57b479(0x1a7)](_0x481f25,_0x37ed99){var _0x11603a=_0x57b479;const _0x4a2844=_0x11603a(0x3bd)+_0x37ed99[_0x11603a(0x3a8)]+'/unit/'+_0x37ed99[_0x11603a(0x3c9)]+'/resources';return(await this[_0x11603a(0x192)][_0x11603a(0x1f7)](_0x4a2844,{'params':{'resourceId':JSON[_0x11603a(0x28d)](_0x37ed99['resourceIDs'])}}))[_0x11603a(0x17b)];}[_0x57b479(0x210)](){var _0x536c4b=_0x57b479;throw new Error(_0x536c4b(0x378));}[_0x57b479(0x1a1)](){var _0x40169b=_0x57b479;throw new Error(_0x40169b(0x378));}[_0x57b479(0x4cb)](){var _0x558de4=_0x57b479;throw new Error(_0x558de4(0x378));}[_0x57b479(0x337)](){var _0x2a90f4=_0x57b479;throw new Error(_0x2a90f4(0x378));}[_0x57b479(0x410)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x267f17[_0x57b479(0x39d)]=_0x91da7e([_0x39ba9a(0x0,_0x1b0b97[_0x57b479(0x4e0)]),_0x39ba9a(0x1,_0x1b0b97[_0x57b479(0x36b)](_0x52daec[_0x57b479(0x230)]))],_0x267f17['SnapshotServerOverHTTPService']);var _0x54a1c3=Object['defineProperty'],_0x216b03=Object['getOwnPropertyDescriptor'],_0x145881=(_0x10753f,_0x406587,_0x2dcc95,_0x495011)=>{var _0x35a823=_0x57b479;for(var _0x59f2f1=_0x495011>0x1?void 0x0:_0x495011?_0x216b03(_0x406587,_0x2dcc95):_0x406587,_0x390cc0=_0x10753f[_0x35a823(0x1df)]-0x1,_0x5c6a00;_0x390cc0>=0x0;_0x390cc0--)(_0x5c6a00=_0x10753f[_0x390cc0])&&(_0x59f2f1=(_0x495011?_0x5c6a00(_0x406587,_0x2dcc95,_0x59f2f1):_0x5c6a00(_0x59f2f1))||_0x59f2f1);return _0x495011&&_0x59f2f1&&_0x54a1c3(_0x406587,_0x2dcc95,_0x59f2f1),_0x59f2f1;},_0x5d22c0=(_0x3099fe,_0x45041f)=>(_0x521e66,_0x12f65d)=>_0x45041f(_0x521e66,_0x12f65d,_0x3099fe);_0x267f17[_0x57b479(0x1b2)]=class extends _0x1b0b97[_0x57b479(0x450)]{constructor(_0x52c1b8,_0x2b8e9e,_0x2650f3,_0x1bd4f2,_0x7852a5){var _0x4b8ae5=_0x57b479;super(_0x52c1b8,_0x2b8e9e,_0x2650f3),this[_0x4b8ae5(0x452)]=_0x1bd4f2,this[_0x4b8ae5(0x3b1)]=_0x7852a5;}[_0x57b479(0x369)](_0x40ce2d,_0x3f07a9){var _0x4bbf2c=_0x57b479;const _0x568c8f=this['_getUndoStack'](_0x40ce2d);if(_0x568c8f)try{const _0x1f920a=this[_0x4bbf2c(0x297)](_0x568c8f,_0x3f07a9);this[_0x4bbf2c(0x4a5)](_0x40ce2d,_0x1f920a);}catch(_0x2c2cbc){this[_0x4bbf2c(0x3b1)][_0x4bbf2c(0x4b7)](_0x4bbf2c(0x24e),_0x2c2cbc),this[_0x4bbf2c(0x4ba)](_0x40ce2d);}const _0x32e017=this[_0x4bbf2c(0x4c2)](_0x40ce2d);if(_0x32e017)try{const _0x50af5b=this[_0x4bbf2c(0x297)](_0x32e017,_0x3f07a9);this[_0x4bbf2c(0x4e3)](_0x40ce2d,_0x50af5b);}catch(_0x5ca2d7){this['_logService']['error'](_0x5ca2d7),this[_0x4bbf2c(0x28f)](_0x40ce2d);}}[_0x57b479(0x4ba)](_0xf13d7b){var _0x68d81b=_0x57b479;const _0x4a3ec5=this[_0x68d81b(0x1a8)](_0xf13d7b);_0x4a3ec5&&(_0x4a3ec5[_0x68d81b(0x1df)]=0x0,this[_0x68d81b(0x252)]());}['_clearRedo'](_0x24d42c){var _0x2001a6=_0x57b479;const _0x1f1760=this[_0x2001a6(0x4c2)](_0x24d42c);_0x1f1760&&(_0x1f1760[_0x2001a6(0x1df)]=0x0,this[_0x2001a6(0x252)]());}[_0x57b479(0x4a5)](_0x5b078c,_0x4635d3){var _0x2afb42=_0x57b479;this['_undoStacks']['set'](_0x5b078c,_0x4635d3),this[_0x2afb42(0x252)]();}[_0x57b479(0x4e3)](_0x16a340,_0x18451c){var _0x242d79=_0x57b479;this['_redoStacks'][_0x242d79(0x300)](_0x16a340,_0x18451c),this[_0x242d79(0x252)]();}[_0x57b479(0x297)](_0x4507c3,_0x234e83){var _0x201e69=_0x57b479;const _0x1604b5=[];let _0x667e56=_0x234e83,_0x130220=_0x234e83;for(let _0x710a85=_0x4507c3['length']-0x1;_0x710a85>=0x0;_0x710a85--){const {unitID:_0x2d1d43,undoMutations:_0x5bc570,redoMutations:_0x120282}=_0x4507c3[_0x710a85],_0x44378f=this[_0x201e69(0x452)][_0x201e69(0x2e7)](_0x667e56,_0x5bc570),_0x4a2db2=this[_0x201e69(0x452)][_0x201e69(0x2e7)](_0x130220,_0x120282);if(_0x4f5b98['isTransformMutationsWithChangesetFailure'](_0x44378f)||_0x4f5b98['isTransformMutationsWithChangesetFailure'](_0x4a2db2)){this[_0x201e69(0x3b1)]['error'](_0x201e69(0x24e),'transformStack\x20failed!',_0x44378f,_0x4a2db2);break;}_0x667e56=_0x44378f[_0x201e69(0x24d)],_0x130220=_0x4a2db2[_0x201e69(0x24d)],_0x1604b5['push']({'unitID':_0x2d1d43,'undoMutations':_0x44378f[_0x201e69(0x1de)],'redoMutations':_0x4a2db2[_0x201e69(0x1de)]});}return _0x1604b5['reverse']();}},_0x267f17[_0x57b479(0x1b2)]=_0x145881([_0x5d22c0(0x0,_0x1b0b97[_0x57b479(0x381)]),_0x5d22c0(0x1,_0x1b0b97[_0x57b479(0x18c)]),_0x5d22c0(0x2,_0x1b0b97[_0x57b479(0x171)]),_0x5d22c0(0x3,_0x4f5b98[_0x57b479(0x2f2)]),_0x5d22c0(0x4,_0x1b0b97['ILogService'])],_0x267f17['CollaborativeUndoRedoService']);var _0x48074d=Object[_0x57b479(0x294)],_0x4ea8da=Object[_0x57b479(0x298)],_0x1776cc=(_0x1c6bc0,_0x16a586,_0x3107b8)=>_0x16a586 in _0x1c6bc0?_0x48074d(_0x1c6bc0,_0x16a586,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3107b8}):_0x1c6bc0[_0x16a586]=_0x3107b8,_0x5d4e32=(_0x4e30ee,_0x457fbd,_0x39c612,_0x97985)=>{var _0x278a28=_0x57b479;for(var _0x49f5c1=_0x97985>0x1?void 0x0:_0x97985?_0x4ea8da(_0x457fbd,_0x39c612):_0x457fbd,_0x4b93a2=_0x4e30ee[_0x278a28(0x1df)]-0x1,_0x1ff9c9;_0x4b93a2>=0x0;_0x4b93a2--)(_0x1ff9c9=_0x4e30ee[_0x4b93a2])&&(_0x49f5c1=(_0x97985?_0x1ff9c9(_0x457fbd,_0x39c612,_0x49f5c1):_0x1ff9c9(_0x49f5c1))||_0x49f5c1);return _0x97985&&_0x49f5c1&&_0x48074d(_0x457fbd,_0x39c612,_0x49f5c1),_0x49f5c1;},_0x9ff97f=(_0x5dd77d,_0x564390)=>(_0xf0623,_0x83dba6)=>_0x564390(_0xf0623,_0x83dba6,_0x5dd77d),_0xdd82bb=(_0x442164,_0x3f3214,_0x1bf02f)=>_0x1776cc(_0x442164,_0x3f3214+'',_0x1bf02f);const _0x23cd33=_0x57b479(0x459);_0x267f17['UniverCollaborationClientPlugin']=class extends _0x1b0b97[_0x57b479(0x3e2)]{constructor(_0x43f59a=_0x32f9ab,_0x35ec58,_0x2e3667,_0x371f3e){var _0x4ddad1=_0x57b479;super(),this[_0x4ddad1(0x2e2)]=_0x43f59a,this[_0x4ddad1(0x3b1)]=_0x35ec58,this[_0x4ddad1(0x3dc)]=_0x2e3667,this['_configService']=_0x371f3e;const {..._0x41e2e4}=_0x1b0b97[_0x4ddad1(0x2b1)]({},_0x32f9ab,this['_config']);this[_0x4ddad1(0x23a)][_0x4ddad1(0x182)](_0x4bdd65,_0x41e2e4);}['onStarting'](){var _0x42b976=_0x57b479;this['_registerDependencies'](),this[_0x42b976(0x3e3)]();}['_registerDependencies'](){var _0x33f657=_0x57b479,_0x6649fb,_0x224de5,_0x1a3a66,_0x541a57;this[_0x33f657(0x3dc)][_0x33f657(0x264)](_0x1b0b97['IUndoRedoService'])&&this['_logService'][_0x33f657(0x4b7)](_0x33f657(0x409),_0x33f657(0x43a));const _0x59e70f=_0x1b0b97[_0x33f657(0x292)]([[_0x1b0b97[_0x33f657(0x2f5)],{'useClass':_0x267f17[_0x33f657(0x1b2)]}],[_0x267f17['CollaborationSessionService']],[_0x267f17[_0x33f657(0x1a6)]],[_0x267f17['SheetTransformSelectionsService']],[_0x3e3aee],[_0x4b58ef],[_0x3ac859],[_0x500ec7],[_0x442b4a],[_0x267f17['DataLoaderService']],[_0x362c52,{'useClass':(_0x224de5=(_0x6649fb=this[_0x33f657(0x2e2)])==null?void 0x0:_0x6649fb[_0x33f657(0x31d)])!=null?_0x224de5:_0x267f17['CollaborationSocketService']}],[_0x4f5b98['ISnapshotServerService'],{'useClass':_0x267f17[_0x33f657(0x39d)]}],[_0x1b0b97[_0x33f657(0x30b)],{'useClass':_0x267f17[_0x33f657(0x20a)]}],[_0xc45ff0[_0x33f657(0x33d)],{'useClass':_0x267f17[_0x33f657(0x332)]}],[_0x1b0b97[_0x33f657(0x3fb)],{'useClass':_0x267f17[_0x33f657(0x235)]}],[_0x267f17[_0x33f657(0x4f5)]],[_0xceea24]],(_0x1a3a66=this[_0x33f657(0x2e2)])==null?void 0x0:_0x1a3a66[_0x33f657(0x4e4)]);if(!((_0x541a57=this[_0x33f657(0x2e2)])!=null&&_0x541a57[_0x33f657(0x479)])){const _0x315663=_0x59e70f[_0x33f657(0x1d5)](([_0x1e834b])=>_0x1e834b===_0x14279a);_0x315663!==-0x1&&_0x59e70f[_0x33f657(0x247)](_0x315663,0x1);}_0x1b0b97[_0x33f657(0x385)](this[_0x33f657(0x3dc)],_0x59e70f);}[_0x57b479(0x3e3)](){var _0x18b36a=_0x57b479,_0x260539,_0x4d7c85,_0x21f090;this[_0x18b36a(0x3dc)][_0x18b36a(0x1f7)](_0x52daec[_0x18b36a(0x230)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x52daec[_0x18b36a(0x2fd)]({'maxParallel':0x6})}),(_0x260539=this[_0x18b36a(0x2e2)])!=null&&_0x260539['enableOfflineEditing']||(_0x4d7c85=this[_0x18b36a(0x3dc)][_0x18b36a(0x1f7)](_0x6dcf6,_0x1b0b97['Quantity'][_0x18b36a(0x4e2)]))==null||_0x4d7c85[_0x18b36a(0x4f3)](),(_0x21f090=this['_config'])!=null&&_0x21f090[_0x18b36a(0x427)]&&_0x1b0b97['touchDependencies'](this[_0x18b36a(0x3dc)],[[_0x3e3aee]]),_0x1b0b97[_0x18b36a(0x47f)](this[_0x18b36a(0x3dc)],[[_0x4b58ef],[_0x267f17['CollaborationController']],[_0x500ec7]]);}},_0xdd82bb(_0x267f17[_0x57b479(0x44e)],_0x57b479(0x420),_0x23cd33),_0x267f17[_0x57b479(0x44e)]=_0x5d4e32([_0x1b0b97[_0x57b479(0x4bc)](_0x4f5b98[_0x57b479(0x45c)],_0x42a1f3[_0x57b479(0x474)],_0x52daec[_0x57b479(0x34e)]),_0x9ff97f(0x1,_0x1b0b97['ILogService']),_0x9ff97f(0x2,_0x1b0b97['Inject'](_0x1b0b97['Injector'])),_0x9ff97f(0x3,_0x1b0b97[_0x57b479(0x4e0)])],_0x267f17[_0x57b479(0x44e)]),_0x267f17[_0x57b479(0x35d)]=_0x7b2f54,_0x267f17[_0x57b479(0x3e7)]=_0x4bdd65,_0x267f17[_0x57b479(0x1b4)]=_0x29b858,_0x267f17[_0x57b479(0x290)]=_0x24045a,_0x267f17[_0x57b479(0x421)]=_0x14a99c,_0x267f17['CollaborationUIEventId']=_0x864ea4,_0x267f17['CollaborationUIEventService']=_0x442b4a,_0x267f17[_0x57b479(0x46e)]=_0x3ac859,_0x267f17[_0x57b479(0x238)]=_0x19d529,_0x267f17[_0x57b479(0x2e8)]=_0xb4681a,_0x267f17[_0x57b479(0x1ef)]=_0xf4cc1e,_0x267f17[_0x57b479(0x49b)]=_0xc96db6,_0x267f17[_0x57b479(0x183)]=_0x362c52,_0x267f17['ILocalCacheService']=_0x6dcf6,_0x267f17['INetworkConditionService']=_0x5f40d3,_0x267f17['ISingleActiveUnitService']=_0x14279a,_0x267f17[_0x57b479(0x261)]=0x3e8,_0x267f17[_0x57b479(0x306)]=_0xcbbb08,_0x267f17[_0x57b479(0x366)]=_0x5e952c,_0x267f17[_0x57b479(0x1eb)]=_0x2a9d55,_0x267f17['RETRY_CONNECTING_MAX_COUNT_KEY']=_0xe4b788,_0x267f17['SEND_CHANGESET_TIMEOUT_KEY']=_0x1bc310,_0x267f17[_0x57b479(0x22a)]=_0x4c9657,_0x267f17[_0x57b479(0x4e9)]=_0x25f125,_0x267f17[_0x57b479(0x304)]=_0x397593,_0x267f17[_0x57b479(0x3ec)]=_0x1518e4,_0x267f17['deserializeToCombResponse']=_0x7eb481,_0x267f17[_0x57b479(0x311)]=_0x1cc1cf,_0x267f17[_0x57b479(0x331)]=_0x42688e,Object['defineProperty'](_0x267f17,Symbol[_0x57b479(0x2a7)],{'value':'Module'});}));
1
+ function _0x337f(_0x56693d,_0xde348a){var _0x1650ae=_0x1650();return _0x337f=function(_0x337f13,_0x4464ae){_0x337f13=_0x337f13-0x6c;var _0x4ae7d9=_0x1650ae[_0x337f13];return _0x4ae7d9;},_0x337f(_0x56693d,_0xde348a);}function _0x1650(){var _0x30b393=['JOIN_ROOM_FULL','_parse','collaborators','ILocalCacheService','ceil','textRanges','_onUserJoin','readInt32LE','NEW_CHANGESETS','createSocket','CHANGESET_REVISION_CONFILICT','onload','ITelemetryService','EvpKDF','698612KazYXV','updatePermissionObjEvent','_telemetryService','refreshPermission','_sender','infoRsp','CollaborationUIEventId','_HTTPService','onRemoteRetry','encode','HmacSHA1','_acknowledgedAwaitingChangeset','revision','onTransformRemoteChangesetByIMECache','LocalUndoRedoService','/universer-api/snapshot','ITransformService','SOCKET_FAILED_RETRY','_append','_injector','/universer-api/snapshot/','UniverCollaborationPlugin','push','ALREADY_EXISTS','transformSelections','rev','every','executeCommand','extend','CONFLICT','_onOffline','2166958TiQGgZ','rxjs','headers','open$','_entities','_socketMessageSubscription','copyFileMeta','CONNECTOR_DATA_TOO_LARGE','getInterceptPoints','AWAITING_WITH_PENDING','_decreaseWaiting','_getCtorByUniverType','socket\x20open.','JOIN_ROOM_FAILED','UNAUTHENTICATED','_resendWithTimeout','AuthzIoHttpService','localCacheService','Pkcs7','getUnitOnRev','_onFetchMissResult','csRejEvent','set','@univerjs/docs','_undoStacks','batchAllowed','ISingleActiveUnitService','MemberService','INVALID_ARGUMENT','uniscriptRunEvent','JOINING','_hasher','2838nCOCue','_mode','5426456LSXLeX','session.room-permission-denied','_config','lib','WorkbookEditablePermission','_toggleOffline','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','editing\x20status\x20changed\x20to','getValue','salt','toStringTag','_onJoinRoomEvent','UniverSheetsPlugin','onTransformSelections','default','APPLY_PERMISSION_DENIED','signUrlServerUrl','reqId','BASE64','create','isArray','ImageUploadStatusType','delete','_initUnitPermissionChange','@univerjs/sheets','UniverDrawing','_oKey','__creator','reject','iterations','YUUMI_UNABLE_LOAD_URL','/-/object/-/batch_allowed','getCollabEntity$','formatter','_remoteChangesetQueue','transformMutationsWithChangeset','/universer-api/uniscript','auth.needGotoLoginAlert','_clearScheduledTask','href','indexOf','_clearUndo','ENSURE_SNAPSHOT_EXECUTION','stringify','enc','11980370IEQrkh','sequenceExecute','ivSize','$super','exports','list','_updateState','_sendHeartbeatTimer','JOIN','\x20-\x20','_createInitialStateImpl','isInternalEditorID','HEARTBEAT','_prevBlock','joinRsp','_members$','SNAPSHOT_SERVER_URL_KEY','_stopTelemetryCollaborationNewChangeset','SUBMIT_CHANGESET_TIMEOUT','_keySchedule','getWorkbookSelections','_queuedRemoteChangesets','_startCollaboration','PERMISSION_REJ','_joinRoom','Module','LIVESHARE_FETCH_OPERATIONS','_userManagerService','padding','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','onCommentUpdate','finalize','PendingState','[CollaborationState]:\x20apply\x20error!','[PendingState]:\x20received\x20acknowledgement.','_collaborationPaused','9hSPKRU','IConfigService','SNAPSHOT_INVALID_SNAPSHOT','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onStateChange','resourceIDs','responseType','localeService','SnapshotServerOverHTTPService','CommentService','MD5','randomUUID','_loadSheet','unpad','UNKNOWN_CODE','processBlock','call','createDecryptor','/unit/','getTime','collaboration_new_changeset','merge','BehaviorSubject','/universer-api/file/{fileID}/sign-url','ILogService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','symbol','setConfig','commentUpdateEvent','Could\x20not\x20dynamically\x20require\x20\x22','DataLoaderService','APPLY_DUPLICATED','BufferedBlockAlgorithm','_undoRedoService','onRemoteRej','SUBMIT_CHANGESET','takeUntil','fetchThroughInterceptors','_data','update','_iKey','parseProtocolChangeset','COLLAB_WEB_SOCKET_URL','msCrypto','HmacMD5','getGlobalObject','isPermissionRej','editingUnit','clone','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','range','PERSON','LEAVE','complete','UnitSnapshot','_toggleOnline','_unitID','encrypt','equals','UnitEmbedded','objectID','getRandomValues','_createInitialState','UNIVER_DOC','LIVESHARE_OPERATION','status','pad','_handler','/object','getOwnPropertyDescriptor','objectType','compute','LICENSE_DISTRO_REJECTED','_onRemoteRejected','isTransformChangesetsSuccess','CipherParams','_http','HELLO','leaveEvent','1nykGRw','/universer-api/oidc/authpage','Encryptor','CHANGESET_ACK','_shouldReportTelemetry','resolve','onRemoteAck','getResourcesRequest','_ENC_XFORM_MODE','univer-pro.collaboration-client-socket-service','_getUndoStack','startTime','setCurrentUser','_doFinalize','getSheetId','_members','online$','execute','appendMutation','reset','/-/object/list','synced','_onConflict','ONLINE','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','rxjs/operators','_roomMembers','runId','UnitStatus','image/jpg','LICENSE_EXPORT_SIZE_EXCEEDED','RevisionService','serializeCombRequest','textEncoder','INetworkConditionService','getCurrentUser','listCollaborators','SheetTransformSelectionsService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','function','words','getImageSourceCache','_unitInfo$','session.room-cnt-exceeds','[SyncedState]:\x20received\x20rejection.','_changesetReqId','UNRECOGNIZED','enableOfflineEditing','subject','/fetchmissing?from=','_compressMutationService','_schedule','registerHTTPInterceptor','onRemoteChangeset','getSnapshotAPIPath','_collaborationTimeoutTimer','_clearLocalCache','/role','UniverProLicense','/resources','IPermissionService','/universer-api/stream/file/upload','snapshotServerUrl','format','changesets','send','_minBufferSize','CompressMutationService','shouldCloseConn','62495MKVYXz','addImageSourceCache','object','length','_timeoutTimer','_removeRoom','SHOULD_CLOSE_CONN','_DEC_XFORM_MODE','LIVESHARE_TERMINATE','univer-pro.collaboration-client.network-condition.service','CollaborationSocketService','univer-pro.collaboration-client.single-active-unit-service','_createHandler','_instanceService','params','getUnitId','loadSheet','COMPLETION_FINISHED','Base','onCommandExecuted','csAckEvent','UserManagerService','event$','_nDataBytes','CollaborationEvent','_replaceFileID','UniverSheets','_map','[DataLoaderService]','onSyncEditingCollabCursor','_permissionService','transformStack\x20failed!','onlyLocal','DisposableCollection','ISocketService','_disableEditing','_type','originalMeta','firstValueFrom','INGEST','algo','_createSocket','onMissedChangesetFetched','_substituteUndoStack','_executeRemoteChangeset','setShowComponents','_onConnectionFailed','baseRev','cmd','OTHER_CLIENTS_EDITING','UNISCRIPT_RUN','loadDoc','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','Disposable','BlockCipher','connection\x20error','sid','stopTime','NOT_FOUND','size','_keyPriorReset','Quantity','name','APPLY_NON_SEQUENTIAL_REVISION','CollaborativeUndoRedoService','c1Prime','deepClone','waitForRoom$','concatMap','UNIVER_PROJECT','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_pendingMutations','_networkConditionService','_event$','byteOffset','_waitCount','collaboration-client.config','_exhaustRemoteChangesetQueue','CollaborationSessionService','getTypeOfUnitAdded$','toDisposable','charCodeAt','reduce','splice','saveSheetBlock','_initRequestHeader','@univerjs/drawing','/collaborator','search','loadUnit','unknown','clamp','HMAC','message$','[CollaborationSessionService]','MentionType','hasher','_collaborationSessionService','_process','title','enableAuthServer','socket\x20close','routeKey','_snapshotService','_eventService','_univerInstanceService','_commandService','IUniverInstanceService','createInstance','_throwTelemetryCollaborationNewChangeset','type','_clearCollaborationTimeoutTimer','random','incrementRevOfUnit','_lockTransition','JOIN_ROOM_PERMISSION_DENIED','CollaborationSession','SYNCED','_registerDependencies','putCollaborators','_initCloseConn','_onCombEvent','_getSendChangesetTimeout','_handlerCallback','_hash','JSONX','_isPermissionRej','_onRemoteACK','&source=','roomInfos','sendChangesetTimeout','LIVESHARE_REQUEST_HOST','_rescheduleHeartbeat','apply','updateOfflineData','unitId\x20is\x20not\x20found','HEARTBEAT_TIMEOUT','CHANGESET_REJ','_transformIMECache','_onRemoteChangeset','UniverNetworkPlugin','members$','COLLAB_WEB_SOCKET_URL_KEY','mergeOverrideWithDependencies','INTERNAL_ERROR','_collabSessionService','state$','/new_changes','FETCH_MISSING','loginUrlKey','transformChangesets','People','ERROR_IMAGE_TYPE','getActiveSheet','loadOfflineData','Tools','/allowed','@univerjs/core','[CollaborationEntity]','memberID','then','status$','joinEvent','_onLocalMutation','asObservable','ICommandService','OTHER_CLIENT_EDITING','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Undefined','[CollaborationSession]','pipe','awaitingChangeset','FileId','error','disposeWithMe','TOO_MANY_REQUESTS','isTransformMutationsWithChangesetFailure','_checkMissing','_socketReady','getCurrentSelections','image/bmp','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','toggleOffline','fetchMissingChangesets','_socket','[PendingState]:\x20received\x20rejection.','_sendHeartbeat','JOIN_ROOM_NOT_EXISTS','IImageIoService','UniverProCollaborationClient','_clearTimeoutTimer','PERMISSION_DENIED','_scheduleCollaborationTimeoutTimer','_onMessage','_onRecvEvent','image/gif','_doReset','onSendChangeset','YUUMI_URL_COL_OUT_OF_RANGE','SheetCollaborationEntity','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','target','unitInfo$','resend','LICENSE_IMPORT_SIZE_EXCEEDED','sheets','MUTATION','@univerjs-pro/collaboration','parse','PasswordBasedCipher','_cipher','_init','getAllMembers','ImageSourceType','SUCCUSS','Hasher','FetchingMissState','_memberService','_sessions','onTransformIME','_createHelper','repeat','post','@univerjs/network','SheetPermissionInitController','CollaborationStatus','SerializableCipher','byteLength','EmptyMutation','OpenSSL','LOGIN_URL_KEY','_createSocketURL','[UniverCollaborationClientPlugin]','COMPRESS_MUTATION_APPLY','_substituteRedoStack','_socket$','getCollabEntity','_getSignURL','_onUserLeave','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_incrementRevisionNumber','OFFLINE','slice','clear','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','keySize','Univer','_doProcessBlock','authzUrl','updatePermissionPoint','getMemberID','@univerjs-pro/license','offline','MentionIoHttpService','kdf','_transformUndoredo','key','/object/','LIVESHARE_NEW_HOST','OfflineState','_sessionStatus$','error$','ciphertext','UNIVER_UNKNOWN','removeMember','_collaborationUIEventService','_scheduleCompleteTimestamp','_clearRedo','sessionStatus$','_getAPIPrefixPath','init','_transformRemoteChangesetByIMECache','snapshot','_commentUpdate$','SOCKET_FAILED','_transformStack','updateCursorEvent','transformUndoRedo','_transformService','mutations','_listenToNetworkCondition','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverDocs','concat','next','_imageSourceCache','_waitForHeartbeatResponse','GLOBAL_ROOMS_CNT_EXCEEDS','_updateLocalCache','selections','PSEUDO_FETCH_MISSING_RESULT','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','origin','hostname','_unlockTransition','[CollaborationUndoRedoService]','toggleOnline','APPLY_REJECT','fetching\x20missing\x20changesets\x20from\x20','RichTextEditingMutation','_getCurrentRevision','session','roles','map','_telemetryInfo','_revisionService','YUUMI_SUBSCRIPTION_NOT_FOUND','permissionRejEvent','_redoStacks','_clearHeartbeatTimer','getUnitType','charAt','_transformSelections','CollaborationEntity','_invKeySchedule','disableLocalCache','filter','CLOSE_ROOM','UNIVER_SHEET','string','HEARTBEAT_TIMEOUT_KEY','append','OPTIONAL','LocaleService','?url=','_awaitingChangeset','initWorkbookPermissionChange','USERS_ENTER','image/png','_onRemoteRetry','compose','MSG_FOR_ERROR','Injector','max','CommandType','toString','close','_getSessionTicket','DependentOn','[CollaborationSessionService]:\x20socket\x20error','add','ConflictState','body','fetch_missing','forEach','readAsDataURL','ISnapshotServerService','{fileID}','_status$','onTransformState','_doCryptBlock','_resendTimer','_change$','@univerjs/telemetry','_startTelemetryCollaborationNewChangeset','submit\x20changeset\x20error!','[OfflineState]:\x20received\x20rejection.','_retryConnectingTimer','x-univer-host','_xformMode','min','SNAPSHOT_HAS_BEEN_REMOVED','FAIL','HttpExport','_createHmacHelper','session.room-full','requestParams','prototype','_resendTimeout','__Key__','pauseCollaboration','collabWebSocketUrl','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','AES','includes','bind','getImage','COMPRESS_MUTATION_SEND','POST','_localCacheService','\x20to\x20','sin','RETRY_CONNECTING_MAX_COUNT','onStarting','getLatestCsReqIdBySid','_tryReconnect','APPLY_REVISION_CONFILICT','join','NoPadding','CollaborationController','SheetsSelectionsService','decrypt','getFocusedUnit','collabSubmitChangesetUrl','SyncedState','__esModule','capture','_getUploadFileURL','\x0aAfter:\x20','isTransformMutationsWithChangesetSuccess','_showConflictNotification','fromCollab','url','_syncEditingCollabCursor','Malformed\x20UTF-8\x20data','requireSession','sessionTicket','RxDisposable','closeSession','ERROR_IMAGE','_getDownloadEndpointURL','CollaborationImageIoService','HEARTBEAT_INTERVAL','uploadFileServerUrl','cfg','CHANGESET_SHOULD_RETRY','/block/','_configService','_initDependencies','LOCAL_CACHE_INTERVAL_KEY','newCsEvent','Decryptor','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','mixIn','AwaitingWithPendingState','replace','IUndoRedoService','operators','_logService','amd','actions','StreamCipher','AwaitingState','_singleActiveUnitService','UPDATE_CURSOR','eventID','LOCAL_CACHE_INTERVAL','Optional','UPDATE_PERMISSION_OBJ','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_reverseMap','debug','_replayCachedMutations','_retryCount','DocCollaborationEntity','mode','_updateStatus','has','Inject','now','substr','dispose','catch','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_state','_getRedoStack','_localeService','values','getTypeOfUnitDisposed$','onLocalMutation','12ThwbpP','_transformRemoteChangesetByStateCache','subUnitId','put','findIndex','WordArray','AWAITING','updateMember','unitId','_iv','\x20in\x20_schedule.','UNIVER_SLIDE','updateCollaborator','IAuthzIoService','_candidateSocket','UniverTelemetry','_changesetSessionId','liveShareOperation','_snapshotServerService','_entityInit$','112524hXZabj','get','conflict','patch','CollaborationUIEventService','c2Prime','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','RECV','_sendingTimer','getLocalCacheKey','delay','ticket','onTransformRemoteChangesetByStateCache','interceptor','getSheetBlock','/universer-api/comb','csShouldRetryEvent','collaMsg','defineProperty','fromCharCode','find','getMember','LICENSE_MAX_UNITS_EXCEEDED','session.room-not-exists','_key','Hex','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','IDLE','getConfig','SnapshotService','reverse','ws://127.0.0.1:8000/universer-api/comb/connect','?size=','_onConnectionOpen','take','deserializeToCombResponse','telemetry\x20info\x20is\x20not\x20initialized','dispose$','_authzIoService','_sheetTransformSelectionsService','state','UniverCollaborationClientPlugin','encryptBlock','getCurrentRevOfUnit','HTTPService','SEND_CHANGESET_TIMEOUT_KEY','unsubscribe','_httpService','unitID','Base64','createEncryptor','_transitionLocked','sigBytes','result','UniverNetwork','encodeURIComponent','USERS_LEAVE','save\x20fail\x20reason\x20is\x20','NO_OTHER_CLIENTS_EDITING','_tryEnsureSocket','abs','emitEvent','_submitChangeset','SHA1','_state$','blockSize','workbook','/universer-api/authz','DEFAULT_FILE_NAME','_getAPIPrefix','createIdentifier','userID','createCollaborator','awaiting','MergeInterceptorFactory','UniverInstanceType','objectActions','_loadDoc','mapDocumentTypeToUniverType','&assign=','[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.','shareReplay','startsWith','fetchMiss','_getLoginPath','_initMergeInterceptor','YUUMI_RATE_OVER_LIMIT','crypto','_transformStateCache','2252073ZLMFdR','location','socketService','code','allowed','hasOwnProperty','_roomCreated$','floor','_fetchMissChangesets','Utf8','subscribe','data','Subject','COMMENT_UPDATE','16RysBnx','Cipher','m2Prime','sessionStatus','_applyRemoteChangeset','PY_RUNTIME_SCRIPT_ERROR','_nRounds','Latin1','FETCH_MISS'];_0x1650=function(){return _0x30b393;};return _0x1650();}(function(_0x2c7223,_0x38c66c){var _0x4a2b3a=_0x337f,_0x5c5f85=_0x2c7223();while(!![]){try{var _0x21d8dc=parseInt(_0x4a2b3a(0x382))/0x1*(parseInt(_0x4a2b3a(0x2c0))/0x2)+-parseInt(_0x4a2b3a(0x27c))/0x3+parseInt(_0x4a2b3a(0x2a1))/0x4+-parseInt(_0x4a2b3a(0x3c7))/0x5*(-parseInt(_0x4a2b3a(0x20f))/0x6)+-parseInt(_0x4a2b3a(0x2e2))/0x7*(-parseInt(_0x4a2b3a(0x28a))/0x8)+-parseInt(_0x4a2b3a(0x333))/0x9*(-parseInt(_0x4a2b3a(0x30f))/0xa)+parseInt(_0x4a2b3a(0x2e0))/0xb*(-parseInt(_0x4a2b3a(0x223))/0xc);if(_0x21d8dc===_0x38c66c)break;else _0x5c5f85['push'](_0x5c5f85['shift']());}catch(_0x2f31ff){_0x5c5f85['push'](_0x5c5f85['shift']());}}}(_0x1650,0xd25ba),function(_0x256716,_0x319806){var _0x54c1c5=_0x337f;typeof exports==_0x54c1c5(0x3c9)&&typeof module<'u'?_0x319806(exports,require(_0x54c1c5(0xdf)),require('rxjs'),require(_0x54c1c5(0x39b)),require(_0x54c1c5(0x121)),require(_0x54c1c5(0x111)),require(_0x54c1c5(0x1a3)),require('@univerjs/docs'),require(_0x54c1c5(0x2fa)),require(_0x54c1c5(0x98)),require(_0x54c1c5(0x13d))):typeof define==_0x54c1c5(0x3a9)&&define[_0x54c1c5(0x1f0)]?define([_0x54c1c5(0x313),_0x54c1c5(0xdf),_0x54c1c5(0x2c1),'rxjs/operators',_0x54c1c5(0x121),_0x54c1c5(0x111),'@univerjs/telemetry',_0x54c1c5(0x2d7),_0x54c1c5(0x2fa),_0x54c1c5(0x98),_0x54c1c5(0x13d)],_0x319806):(_0x256716=typeof globalThis<'u'?globalThis:_0x256716||self,_0x319806(_0x256716[_0x54c1c5(0xff)]={},_0x256716['UniverCore'],_0x256716[_0x54c1c5(0x2c1)],_0x256716[_0x54c1c5(0x2c1)][_0x54c1c5(0x1ee)],_0x256716[_0x54c1c5(0x259)],_0x256716['UniverProCollaboration'],_0x256716[_0x54c1c5(0x21e)],_0x256716[_0x54c1c5(0x15c)],_0x256716[_0x54c1c5(0x3e1)],_0x256716[_0x54c1c5(0x2fb)],_0x256716[_0x54c1c5(0x3bc)]));}(this,function(_0x4357d9,_0xd1c211,_0x2bac45,_0x25c94f,_0x266048,_0x4f4dae,_0x18357f,_0x4b3765,_0x4caa0,_0x3cad30,_0x5ad68d){'use strict';var _0x50553d=_0x337f;var _0x55fe2a=Object[_0x50553d(0x235)],_0x2cf64d=(_0x4107e0,_0x4549ae,_0x1a2398)=>_0x4549ae in _0x4107e0?_0x55fe2a(_0x4107e0,_0x4549ae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a2398}):_0x4107e0[_0x4549ae]=_0x1a2398,_0x14235c=(_0x3a2300,_0x46f74e,_0x4ddb68)=>_0x2cf64d(_0x3a2300,typeof _0x46f74e!=_0x50553d(0x34d)?_0x46f74e+'':_0x46f74e,_0x4ddb68);const _0x4d855b=_0x50553d(0x31f),_0x297674=_0x50553d(0x2b0),_0x14443e='SNAPSHOT_URL_KEY',_0x101557='SEND_CHANGESET_TIMEOUT',_0x34c209=_0x50553d(0x35d),_0xf914b1=_0x50553d(0x242),_0xbcefba='/universer-api/user/session-ticket',_0x4856d6=_0x50553d(0x1df),_0x586f81=_0x50553d(0xca),_0x34ff9b=_0x50553d(0x1c1),_0x217df0=_0x50553d(0x1f7),_0x531bc6='COLLAB_SUBMIT_CHANGESET_URL',_0x40c192=_0x50553d(0x232),_0x210229='LOGIN_URL_KEY',_0x30016f=_0x50553d(0x383),_0x358a9e='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0xd6610c=_0x50553d(0x306);var _0xbe379c=(_0x3a49ba=>(_0x3a49ba[_0x3a49ba['UNDEFINED']=0x0]='UNDEFINED',_0x3a49ba[_0x3a49ba['OK']=0x1]='OK',_0x3a49ba[_0x3a49ba[_0x50553d(0xd2)]=0x2]=_0x50553d(0xd2),_0x3a49ba[_0x3a49ba[_0x50553d(0x101)]=0x3]=_0x50553d(0x101),_0x3a49ba[_0x3a49ba[_0x50553d(0x7c)]=0x4]=_0x50553d(0x7c),_0x3a49ba[_0x3a49ba['UNAUTHENTICATED']=0x5]=_0x50553d(0x2ce),_0x3a49ba[_0x3a49ba[_0x50553d(0x2b8)]=0x6]=_0x50553d(0x2b8),_0x3a49ba[_0x3a49ba[_0x50553d(0x2dc)]=0x7]=_0x50553d(0x2dc),_0x3a49ba[_0x3a49ba[_0x50553d(0xf1)]=0x8]=_0x50553d(0xf1),_0x3a49ba[_0x3a49ba['COMPLETION_FINISHED']=0x9]=_0x50553d(0x3d8),_0x3a49ba[_0x3a49ba[_0x50553d(0x29d)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3a49ba[_0x3a49ba[_0x50553d(0x335)]=0x1771]=_0x50553d(0x335),_0x3a49ba[_0x3a49ba[_0x50553d(0x1ab)]=0x1772]=_0x50553d(0x1ab),_0x3a49ba[_0x3a49ba[_0x50553d(0x30c)]=0x1773]=_0x50553d(0x30c),_0x3a49ba[_0x3a49ba[_0x50553d(0x16b)]=0x1b59]=_0x50553d(0x16b),_0x3a49ba[_0x3a49ba[_0x50553d(0x81)]=0x1b5a]=_0x50553d(0x81),_0x3a49ba[_0x3a49ba[_0x50553d(0x1c5)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3a49ba[_0x3a49ba[_0x50553d(0x2f1)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3a49ba[_0x3a49ba[_0x50553d(0x352)]=0x1b5d]=_0x50553d(0x352),_0x3a49ba[_0x3a49ba[_0x50553d(0x2c7)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3a49ba[_0x3a49ba[_0x50553d(0x239)]=0x2329]=_0x50553d(0x239),_0x3a49ba[_0x3a49ba[_0x50553d(0x1b7)]=0x232a]=_0x50553d(0x1b7),_0x3a49ba[_0x3a49ba['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x50553d(0x10e),_0x3a49ba[_0x3a49ba[_0x50553d(0x3a0)]=0x232c]=_0x50553d(0x3a0),_0x3a49ba[_0x3a49ba[_0x50553d(0x37b)]=0x232d]=_0x50553d(0x37b),_0x3a49ba[_0x3a49ba[_0x50553d(0x300)]=0x2711]=_0x50553d(0x300),_0x3a49ba[_0x3a49ba[_0x50553d(0x108)]=0x2712]=_0x50553d(0x108),_0x3a49ba[_0x3a49ba[_0x50553d(0x279)]=0x2713]=_0x50553d(0x279),_0x3a49ba[_0x3a49ba['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x50553d(0x174),_0x3a49ba[_0x3a49ba[_0x50553d(0x28f)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3a49ba[_0x3a49ba[_0x50553d(0x3b0)]=-0x1]=_0x50553d(0x3b0),_0x3a49ba))(_0xbe379c||{}),_0x1dcecf=(_0x838c55=>(_0x838c55[_0x838c55[_0x50553d(0x149)]=0x0]=_0x50553d(0x149),_0x838c55[_0x838c55['UNIVER_DOC']=0x1]=_0x50553d(0x372),_0x838c55[_0x838c55['UNIVER_SHEET']=0x2]=_0x50553d(0x180),_0x838c55[_0x838c55[_0x50553d(0x21a)]=0x3]='UNIVER_SLIDE',_0x838c55[_0x838c55[_0x50553d(0x87)]=0x4]='UNIVER_PROJECT',_0x838c55[_0x838c55[_0x50553d(0x3b0)]=-0x1]=_0x50553d(0x3b0),_0x838c55))(_0x1dcecf||{}),_0x38488f=(_0x3bd749=>(_0x3bd749[_0x3bd749['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x3bd749[_0x3bd749[_0x50553d(0x380)]=0x1]=_0x50553d(0x380),_0x3bd749[_0x3bd749[_0x50553d(0x317)]=0x2]=_0x50553d(0x317),_0x3bd749[_0x3bd749[_0x50553d(0x367)]=0x3]=_0x50553d(0x367),_0x3bd749[_0x3bd749[_0x50553d(0x3ee)]=0x4]=_0x50553d(0x3ee),_0x3bd749[_0x3bd749[_0x50553d(0x31b)]=0x5]=_0x50553d(0x31b),_0x3bd749[_0x3bd749[_0x50553d(0x22a)]=0x6]=_0x50553d(0x22a),_0x3bd749[_0x3bd749[_0x50553d(0x3b0)]=-0x1]='UNRECOGNIZED',_0x3bd749))(_0x38488f||{}),_0xfca9f1=(_0x537c2f=>(_0x537c2f[_0x537c2f[_0x50553d(0x341)]=0x0]='UNKNOWN_CODE',_0x537c2f[_0x537c2f['OK']=0x1]='OK',_0x537c2f[_0x537c2f[_0x50553d(0x1ac)]=0x2]=_0x50553d(0x1ac),_0x537c2f[_0x537c2f[_0x50553d(0x293)]=0x3e9]=_0x50553d(0x293),_0x537c2f[_0x537c2f[_0x50553d(0xfd)]=0x3ea]=_0x50553d(0xfd),_0x537c2f[_0x537c2f['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x50553d(0xb5),_0x537c2f[_0x537c2f[_0x50553d(0x161)]=0x3ec]=_0x50553d(0x161),_0x537c2f[_0x537c2f[_0x50553d(0x3b0)]=-0x1]='UNRECOGNIZED',_0x537c2f))(_0xfca9f1||{}),_0x4dbc78=(_0x5bfc76=>(_0x5bfc76[_0x5bfc76[_0x50553d(0xea)]=0x0]=_0x50553d(0xea),_0x5bfc76[_0x5bfc76['HttpImport']=0x1]='HttpImport',_0x5bfc76[_0x5bfc76[_0x50553d(0x1ad)]=0x2]=_0x50553d(0x1ad),_0x5bfc76[_0x5bfc76['UnitEmbedded']=0x3]=_0x50553d(0x36e),_0x5bfc76[_0x5bfc76[_0x50553d(0x369)]=0x4]=_0x50553d(0x369),_0x5bfc76[_0x5bfc76[_0x50553d(0x3b0)]=-0x1]=_0x50553d(0x3b0),_0x5bfc76))(_0x4dbc78||{});const _0x47a3ce=_0x50553d(0x8e),_0x1e1281={};var _0x4b9b27=(_0xb42836=>(_0xb42836[_0x50553d(0xe8)]=_0x50553d(0xe8),_0xb42836[_0x50553d(0x101)]=_0x50553d(0x101),_0xb42836[_0x50553d(0x2be)]=_0x50553d(0x2be),_0xb42836[_0x50553d(0x17f)]=_0x50553d(0x17f),_0xb42836['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0xb42836[_0x50553d(0x2b2)]=_0x50553d(0x2b2),_0xb42836[_0x50553d(0x154)]=_0x50553d(0x154),_0xb42836[_0x50553d(0x321)]='SUBMIT_CHANGESET_TIMEOUT',_0xb42836))(_0x4b9b27||{});class _0x5114c1{constructor(){var _0x34cc2f=_0x50553d;_0x14235c(this,_0x34cc2f(0x8b),new _0x2bac45['Subject']()),_0x14235c(this,_0x34cc2f(0x3dd),this[_0x34cc2f(0x8b)]['asObservable']());}['emitEvent'](_0xa861dc){var _0x89e1bc=_0x50553d;this[_0x89e1bc(0x8b)][_0x89e1bc(0x15e)](_0xa861dc);}}const _0x5bc066=_0xd1c211[_0x50553d(0x269)](_0x50553d(0x3d0));function _0xd927ab(_0x204d32){var _0xd5e4f2=_0x50553d,_0x4a0125,_0x105d76,_0x21ea8f,_0x42b002,_0x20bdab;const _0x12c215=_0x204d32[_0xd5e4f2(0x287)],_0x18a9f0=JSON[_0xd5e4f2(0x112)](_0x12c215);switch(_0x18a9f0[_0xd5e4f2(0x72)]){case _0x38488f[_0xd5e4f2(0x31b)]:case _0x38488f[_0xd5e4f2(0x380)]:{const _0x2926eb=_0x18a9f0[_0xd5e4f2(0x2a6)];return{..._0x18a9f0,'data':_0x2926eb,'cmd':_0x18a9f0[_0xd5e4f2(0x72)]};}case _0x38488f['JOIN']:{const _0x855bd0=_0x18a9f0[_0xd5e4f2(0x31d)];return{..._0x18a9f0,'data':_0x855bd0,'cmd':_0x18a9f0[_0xd5e4f2(0x72)]};}case _0x38488f[_0xd5e4f2(0x22a)]:{const _0x1684be=_0x18a9f0[_0xd5e4f2(0x234)];switch(_0x1684be['eventID']){case _0x4f4dae['CollaborationEvent'][_0xd5e4f2(0x326)]:return{..._0x18a9f0,'data':{..._0x1684be,'data':(_0x4a0125=_0x1684be[_0xd5e4f2(0x175)])==null?void 0x0:_0x4a0125['cs']},'cmd':_0x18a9f0[_0xd5e4f2(0x72)]};case _0x4f4dae[_0xd5e4f2(0x3df)][_0xd5e4f2(0x385)]:return{..._0x18a9f0,'data':{..._0x1684be,'data':(_0x105d76=_0x1684be[_0xd5e4f2(0x3db)])==null?void 0x0:_0x105d76['cs']},'cmd':_0x18a9f0[_0xd5e4f2(0x72)]};case _0x4f4dae['CollaborationEvent'][_0xd5e4f2(0x29b)]:return{..._0x18a9f0,'data':{..._0x1684be,'data':(_0x21ea8f=_0x1684be[_0xd5e4f2(0x1e7)])==null?void 0x0:_0x21ea8f['cs']},'cmd':_0x18a9f0[_0xd5e4f2(0x72)]};case _0x4f4dae['CollaborationEvent'][_0xd5e4f2(0xcb)]:return{..._0x18a9f0,'data':{..._0x1684be,'data':(_0x42b002=_0x1684be[_0xd5e4f2(0x2d5)])==null?void 0x0:_0x42b002['cs']},'cmd':_0x18a9f0[_0xd5e4f2(0x72)]};case _0x4f4dae[_0xd5e4f2(0x3df)][_0xd5e4f2(0x1e2)]:return{..._0x18a9f0,'data':{..._0x1684be,'data':(_0x20bdab=_0x1684be[_0xd5e4f2(0x233)])==null?void 0x0:_0x20bdab['cs']},'cmd':_0x18a9f0[_0xd5e4f2(0x72)]};case _0x4f4dae[_0xd5e4f2(0x3df)]['UPDATE_CURSOR']:return{..._0x18a9f0,'data':{..._0x1684be,'data':_0x1684be[_0xd5e4f2(0x156)]},'cmd':_0x18a9f0['cmd']};case _0x4f4dae[_0xd5e4f2(0x3df)][_0xd5e4f2(0x189)]:return{..._0x18a9f0,'data':{..._0x1684be,'data':_0x1684be[_0xd5e4f2(0xe4)]},'cmd':_0x18a9f0['cmd']};case _0x4f4dae[_0xd5e4f2(0x3df)]['USERS_LEAVE']:return{..._0x18a9f0,'data':{..._0x1684be,'data':_0x1684be[_0xd5e4f2(0x381)]},'cmd':_0x18a9f0[_0xd5e4f2(0x72)]};case _0x4f4dae[_0xd5e4f2(0x3df)]['LIVESHARE_NEW_HOST']:return{..._0x18a9f0,'data':{..._0x1684be,'data':_0x1684be['liveShareNewHost']},'cmd':_0x18a9f0[_0xd5e4f2(0x72)]};case _0x4f4dae[_0xd5e4f2(0x3df)][_0xd5e4f2(0x329)]:case _0x4f4dae['CollaborationEvent'][_0xd5e4f2(0x373)]:return{..._0x18a9f0,'data':{..._0x1684be,'data':_0x1684be[_0xd5e4f2(0x220)]},'cmd':_0x18a9f0['cmd']};case _0x4f4dae[_0xd5e4f2(0x3df)]['LIVESHARE_TERMINATE']:return{..._0x18a9f0,'data':{..._0x1684be,'data':_0x1684be['liveShareNewHost']},'cmd':_0x18a9f0['cmd']};case _0x4f4dae[_0xd5e4f2(0x3df)][_0xd5e4f2(0x18d)]:return{..._0x18a9f0,'data':_0x1684be,'cmd':_0x18a9f0[_0xd5e4f2(0x72)]};case _0x4f4dae[_0xd5e4f2(0x3df)]['COMMENT_UPDATE']:return{..._0x18a9f0,'data':{..._0x1684be,'data':_0x1684be[_0xd5e4f2(0x34f)]},'cmd':_0x18a9f0[_0xd5e4f2(0x72)]};case _0x4f4dae['CollaborationEvent'][_0xd5e4f2(0x1f9)]:return{..._0x18a9f0,'data':{..._0x1684be,'data':_0x1684be[_0xd5e4f2(0x2a2)]},'cmd':_0x18a9f0[_0xd5e4f2(0x72)]};case _0x4f4dae[_0xd5e4f2(0x3df)][_0xd5e4f2(0x3cd)]:return{..._0x18a9f0,'data':{..._0x1684be,'data':_0x1684be[_0xd5e4f2(0x3c6)]},'cmd':_0x18a9f0['cmd']};case _0x4f4dae['CollaborationEvent'][_0xd5e4f2(0x74)]:return{..._0x18a9f0,'data':{..._0x1684be,'data':_0x1684be[_0xd5e4f2(0x2dd)]},'cmd':_0x18a9f0[_0xd5e4f2(0x72)]};default:return _0x18a9f0;}}default:return _0x18a9f0;}}function _0x456931(_0x5ce28f){var _0x1a3f6e=_0x50553d;switch(_0x5ce28f[_0x1a3f6e(0x72)]){case _0x38488f[_0x1a3f6e(0x31b)]:case _0x38488f['HELLO']:return JSON['stringify']({'cmd':_0x5ce28f[_0x1a3f6e(0x72)],'routeKey':_0x5ce28f[_0x1a3f6e(0xa8)]});case _0x38488f[_0x1a3f6e(0x3ee)]:{let _0x5992a1;switch(_0x5ce28f[_0x1a3f6e(0x287)][_0x1a3f6e(0x1f6)]){case _0x4f4dae[_0x1a3f6e(0x3df)]['UPDATE_CURSOR']:{_0x5992a1={'eventID':_0x4f4dae[_0x1a3f6e(0x3df)][_0x1a3f6e(0x1f5)],'updateCursorEvent':_0x5ce28f[_0x1a3f6e(0x287)]['data']};break;}case _0x4f4dae[_0x1a3f6e(0x3df)]['USERS_LEAVE']:{_0x5992a1={'eventID':_0x4f4dae[_0x1a3f6e(0x3df)][_0x1a3f6e(0x25b)],'leaveEvent':_0x5ce28f['data'][_0x1a3f6e(0x287)]};break;}case _0x4f4dae[_0x1a3f6e(0x3df)][_0x1a3f6e(0x189)]:{_0x5992a1={'eventID':_0x4f4dae[_0x1a3f6e(0x3df)]['USERS_ENTER'],'joinEvent':_0x5ce28f[_0x1a3f6e(0x287)][_0x1a3f6e(0x287)]};break;}case _0x4f4dae[_0x1a3f6e(0x3df)][_0x1a3f6e(0x144)]:{_0x5992a1={'eventID':_0x4f4dae[_0x1a3f6e(0x3df)][_0x1a3f6e(0x144)],'liveShareNewHost':_0x5ce28f[_0x1a3f6e(0x287)][_0x1a3f6e(0x287)]};break;}case _0x4f4dae[_0x1a3f6e(0x3df)][_0x1a3f6e(0x373)]:{_0x5992a1={'eventID':_0x4f4dae['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x5ce28f[_0x1a3f6e(0x287)]['data']};break;}case _0x4f4dae[_0x1a3f6e(0x3df)][_0x1a3f6e(0x3cf)]:{_0x5992a1={'eventID':_0x4f4dae[_0x1a3f6e(0x3df)][_0x1a3f6e(0x3cf)],'liveShareTerminate':_0x5ce28f[_0x1a3f6e(0x287)][_0x1a3f6e(0x287)]};break;}case _0x4f4dae['CollaborationEvent'][_0x1a3f6e(0xc5)]:{_0x5992a1={'eventID':_0x4f4dae['CollaborationEvent'][_0x1a3f6e(0xc5)],'liveShareRequestHost':_0x5ce28f[_0x1a3f6e(0x287)][_0x1a3f6e(0x287)]};break;}case _0x4f4dae['CollaborationEvent'][_0x1a3f6e(0x329)]:{_0x5992a1={'eventID':_0x4f4dae[_0x1a3f6e(0x3df)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5992a1={'eventID':_0x5ce28f[_0x1a3f6e(0x287)][_0x1a3f6e(0x1f6)]};}return JSON['stringify']({'cmd':_0x5ce28f[_0x1a3f6e(0x72)],'routeKey':_0x5ce28f['routeKey'],'collaMsg':_0x5992a1});}case _0x38488f[_0x1a3f6e(0x317)]:return JSON[_0x1a3f6e(0x30d)]({'cmd':_0x5ce28f[_0x1a3f6e(0x72)],'routeKey':_0x5ce28f[_0x1a3f6e(0xa8)],'joinReq':_0x5ce28f[_0x1a3f6e(0x287)]});case _0x38488f[_0x1a3f6e(0x367)]:return JSON['stringify']({'cmd':_0x5ce28f[_0x1a3f6e(0x72)],'routeKey':_0x5ce28f['routeKey'],'leaveReq':_0x5ce28f[_0x1a3f6e(0x287)]});default:throw new Error(_0x1a3f6e(0x3a8));}}var _0xdbbd6e=Object[_0x50553d(0x235)],_0x37750a=Object[_0x50553d(0x378)],_0x47f459=(_0x347220,_0x43d9db,_0x5c6378,_0x475818)=>{for(var _0x2640d2=_0x475818>0x1?void 0x0:_0x475818?_0x37750a(_0x43d9db,_0x5c6378):_0x43d9db,_0x559979=_0x347220['length']-0x1,_0x22652d;_0x559979>=0x0;_0x559979--)(_0x22652d=_0x347220[_0x559979])&&(_0x2640d2=(_0x475818?_0x22652d(_0x43d9db,_0x5c6378,_0x2640d2):_0x22652d(_0x2640d2))||_0x2640d2);return _0x475818&&_0x2640d2&&_0xdbbd6e(_0x43d9db,_0x5c6378,_0x2640d2),_0x2640d2;},_0x25c6be=(_0x2dfb45,_0x1e1f3b)=>(_0x50a61d,_0x37d017)=>_0x1e1f3b(_0x50a61d,_0x37d017,_0x2dfb45);const _0x17b7f1=_0xd1c211[_0x50553d(0x269)](_0x50553d(0x38b));function _0x2b529e(_0x2c46a7,_0x4fb2ba,_0x33891a){var _0x2c2a7a=_0x50553d;return _0x2c46a7+'/'+_0x4fb2ba+_0x2c2a7a(0x345)+_0x33891a+_0x2c2a7a(0xd5);}_0x4357d9['CollaborationSocketService']=class extends _0xd1c211[_0x50553d(0x77)]{constructor(_0x1e3a82,_0x3978c3,_0x4a2e33,_0x11db8d,_0xdde8ec){var _0x238591=_0x50553d;super(),this[_0x238591(0x2b4)]=_0x1e3a82,this[_0x238591(0x37f)]=_0x3978c3,this[_0x238591(0x1e4)]=_0x4a2e33,this['_logService']=_0x11db8d,this['_snapshotServerService']=_0xdde8ec;}[_0x50553d(0x29c)](_0x1aca20){var _0x2d2166=_0x50553d;const _0x5ba1d5=this[_0x2d2166(0x2b4)][_0x2d2166(0x224)](_0x266048[_0x2d2166(0x3e9)]);if(!_0x5ba1d5)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x41256e=_0x5ba1d5[_0x2d2166(0x29c)](_0x1aca20);if(!_0x41256e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x55e3e6=new _0xd1c211[(_0x2d2166(0x3e8))](),_0x1d2974=new _0x2bac45[(_0x2d2166(0x288))]();_0x55e3e6[_0x2d2166(0x196)](_0x41256e['close$'][_0x2d2166(0x286)](_0x520055=>_0x1d2974[_0x2d2166(0x15e)](_0x520055))),_0x55e3e6['add'](_0xd1c211['toDisposable'](()=>_0x1d2974[_0x2d2166(0x368)]()));const _0x595373=new _0x2bac45[(_0x2d2166(0x288))]();_0x55e3e6[_0x2d2166(0x196)](_0x41256e['error$'][_0x2d2166(0x286)](_0x3d4f43=>_0x595373[_0x2d2166(0x15e)](_0x3d4f43))),_0x55e3e6[_0x2d2166(0x196)](_0xd1c211[_0x2d2166(0x92)](()=>_0x595373['complete']()));const _0x5c534a=new _0x2bac45['Subject']();_0x55e3e6[_0x2d2166(0x196)](_0x41256e[_0x2d2166(0x9f)]['subscribe'](_0x251849=>{var _0x77b16b=_0x2d2166;const _0x4873bd=_0xd927ab(_0x251849);_0x5c534a[_0x77b16b(0x15e)](_0x4873bd);})),_0x55e3e6[_0x2d2166(0x196)](_0xd1c211[_0x2d2166(0x92)](()=>_0x5c534a[_0x2d2166(0x368)]()));let _0x50cabc;const _0xc0702c=()=>{var _0x1b81d9=_0x2d2166;_0x595373[_0x1b81d9(0x15e)](new Event(_0x1b81d9(0x79))),_0x1d2974['next'](new CloseEvent(_0x1b81d9(0x79))),_0x50cabc[_0x1b81d9(0x192)]();};return _0x50cabc={'memberID':'','close$':_0x1d2974[_0x2d2166(0xe6)](),'error$':_0x595373[_0x2d2166(0xe6)](),'open$':_0x41256e['open$'],'message$':_0x5c534a['asObservable'](),'send':_0x12e5ee=>{var _0x58d08f=_0x2d2166;if(_0x12e5ee[_0x58d08f(0x72)]===_0x38488f[_0x58d08f(0x3ee)]){if(_0x12e5ee[_0x58d08f(0x287)][_0x58d08f(0x1f6)]===_0x4f4dae[_0x58d08f(0x3df)][_0x58d08f(0x356)]){this[_0x58d08f(0x261)](_0x50cabc,_0x12e5ee[_0x58d08f(0x287)])[_0x58d08f(0x207)](_0x5cdc30=>{var _0x426473=_0x58d08f;this[_0x426473(0x1ef)][_0x426473(0xef)](_0x5cdc30),_0xc0702c();});return;}if(_0x12e5ee['data']['eventID']===_0x4f4dae['CollaborationEvent'][_0x58d08f(0xd6)]){const _0x190f9b=_0x12e5ee[_0x58d08f(0x287)];this[_0x58d08f(0x284)](_0x190f9b)[_0x58d08f(0xe2)](_0x3290d5=>{var _0x3aa156=_0x58d08f;_0x5c534a[_0x3aa156(0x15e)]({'cmd':_0x38488f[_0x3aa156(0x22a)],'code':_0xfca9f1['OK'],'routeKey':_0x190f9b[_0x3aa156(0x287)][_0x3aa156(0x253)],'routeType':'','data':{'eventID':_0x4f4dae[_0x3aa156(0x3df)][_0x3aa156(0x164)],'data':{'changesets':_0x3290d5}}});})[_0x58d08f(0x207)](_0x22e2fc=>{var _0x31fe1c=_0x58d08f;this[_0x31fe1c(0x1ef)]['error'](_0x22e2fc),_0xc0702c();});return;}}_0x41256e[_0x58d08f(0x3c3)](_0x456931(_0x12e5ee));},'close':()=>{var _0x53f6bd=_0x2d2166;_0x41256e[_0x53f6bd(0x192)](),_0x55e3e6['dispose']();}},_0x50cabc;}async[_0x50553d(0x261)](_0x477178,_0x12a0e5){var _0x515b44=_0x50553d,_0x4048c3,_0x187033;const {unitType:_0x42011d,unitID:_0x11d678,changeset:_0x110f1a}=_0x12a0e5[_0x515b44(0x287)],_0x37f87c={'unitID':_0x11d678,'memberID':_0x477178['memberID'],'type':_0x42011d,'changeset':_0x4f4dae['parseChangesetToProtocol'](_0x110f1a)},_0x335f1a=this[_0x515b44(0x1e4)]['getConfig'](_0x531bc6),_0x4ed0fd=this[_0x515b44(0x1e4)][_0x515b44(0x23f)](_0x47a3ce),_0x1e60f1=_0x2b529e((_0x187033=(_0x4048c3=_0x4ed0fd==null?void 0x0:_0x4ed0fd[_0x515b44(0x1cc)])!=null?_0x4048c3:_0x335f1a)!=null?_0x187033:_0x40c192,_0x42011d,_0x11d678);try{await this[_0x515b44(0x37f)][_0x515b44(0x120)](_0x1e60f1,{'body':_0x37f87c});}catch(_0x6db9f4){throw this['_logService']['error'](_0x515b44(0xeb),_0x515b44(0x1a5)),_0x6db9f4;}}async['_fetchMissChangesets'](_0x1e90fc){var _0xa571a1=_0x50553d;const {unitID:_0x23da4e,from:_0x5695d3,to:_0x14575b,unitType:_0x237c7e}=_0x1e90fc[_0xa571a1(0x287)];return(await this[_0xa571a1(0x221)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x23da4e,'type':_0x237c7e,'from':_0x5695d3,'to':_0x14575b}))[_0xa571a1(0x3c2)];}},_0x4357d9['CollaborationSocketService']=_0x47f459([_0x25c6be(0x0,_0xd1c211[_0x50553d(0x203)](_0xd1c211['Injector'])),_0x25c6be(0x1,_0xd1c211['Inject'](_0x266048['HTTPService'])),_0x25c6be(0x2,_0xd1c211[_0x50553d(0x334)]),_0x25c6be(0x3,_0xd1c211[_0x50553d(0x34b)]),_0x25c6be(0x4,_0x4f4dae[_0x50553d(0x19c)])],_0x4357d9['CollaborationSocketService']);const _0x2128d3=_0x50553d(0x347);function _0x555dc4(_0x1f8b85){var _0x501dd6=_0x50553d;return JSON[_0x501dd6(0x30d)](_0x1f8b85)[_0x501dd6(0x3ca)];}class _0x1e1c7e{constructor(){var _0x18b6bd=_0x50553d;_0x14235c(this,_0x18b6bd(0x153),new _0x2bac45[(_0x18b6bd(0x288))]()),_0x14235c(this,'commentUpdate$',this[_0x18b6bd(0x153)][_0x18b6bd(0xe6)]());}[_0x50553d(0x32d)](_0x4bdbe9){var _0x2c89ee=_0x50553d;this['_commentUpdate$'][_0x2c89ee(0x15e)](_0x4bdbe9);}}var _0x3d13f1=Object[_0x50553d(0x235)],_0x1d3dba=Object[_0x50553d(0x378)],_0x180ae0=(_0x404d7c,_0x45c7fe,_0x54a9b8,_0x15327a)=>{var _0x2a2143=_0x50553d;for(var _0x278b37=_0x15327a>0x1?void 0x0:_0x15327a?_0x1d3dba(_0x45c7fe,_0x54a9b8):_0x45c7fe,_0x5e7486=_0x404d7c[_0x2a2143(0x3ca)]-0x1,_0x45b6e5;_0x5e7486>=0x0;_0x5e7486--)(_0x45b6e5=_0x404d7c[_0x5e7486])&&(_0x278b37=(_0x15327a?_0x45b6e5(_0x45c7fe,_0x54a9b8,_0x278b37):_0x45b6e5(_0x278b37))||_0x278b37);return _0x15327a&&_0x278b37&&_0x3d13f1(_0x45c7fe,_0x54a9b8,_0x278b37),_0x278b37;},_0x4469ee=(_0x1dfc46,_0x1aee8b)=>(_0x5bb61d,_0x1a468c)=>_0x1aee8b(_0x5bb61d,_0x1a468c,_0x1dfc46);_0x4357d9[_0x50553d(0x2db)]=class extends _0xd1c211[_0x50553d(0x77)]{constructor(_0x2938d9,_0x49c508){var _0x5a4905=_0x50553d;super(),_0x14235c(this,_0x5a4905(0x39c),new Map()),_0x14235c(this,_0x5a4905(0x282),new _0x2bac45[(_0x5a4905(0x288))]()),(this['_univerInstanceService']=_0x2938d9,this[_0x5a4905(0x32a)]=_0x49c508,this[_0x5a4905(0xf0)](_0x2bac45['merge'](this['_univerInstanceService'][_0x5a4905(0x20d)](_0xd1c211[_0x5a4905(0x26e)][_0x5a4905(0x180)])[_0x5a4905(0xec)](_0x25c94f[_0x5a4905(0x171)](_0x2d5993=>_0x2d5993[_0x5a4905(0x3d6)]())),this[_0x5a4905(0xab)][_0x5a4905(0x20d)](_0xd1c211['UniverInstanceType'][_0x5a4905(0x372)])['pipe'](_0x25c94f[_0x5a4905(0x171)](_0x5977b1=>_0x5977b1['getUnitId']())),this['_univerInstanceService'][_0x5a4905(0x20d)](_0xd1c211[_0x5a4905(0x26e)][_0x5a4905(0x21a)])[_0x5a4905(0xec)](_0x25c94f['map'](_0xf1017=>_0xf1017['getUnitId']())))[_0x5a4905(0x286)](_0x59bf09=>this[_0x5a4905(0x3cc)](_0x59bf09))));}[_0x50553d(0x85)](_0x34647e){var _0x22c7f5=_0x50553d;return this['_roomMembers'][_0x22c7f5(0x202)](_0x34647e)?_0x2bac45['of'](this['_roomMembers'][_0x22c7f5(0x224)](_0x34647e)):this['_roomCreated$'][_0x22c7f5(0xec)](_0x25c94f['map'](_0x40d133=>{var _0xa8d23=_0x22c7f5;if(_0x40d133===_0x34647e)return this[_0xa8d23(0x39c)][_0xa8d23(0x224)](_0x40d133);}));}['setCurrentUser'](_0x343076){var _0x3594e5=_0x50553d;this['_userManagerService'][_0x3594e5(0x38e)](_0x343076);}[_0x50553d(0x3a5)](){var _0x39adfb=_0x50553d;return this['_userManagerService'][_0x39adfb(0x3a5)]();}[_0x50553d(0x216)](_0x413fcc,_0x47523e){var _0x29d087=_0x50553d;let _0x52986a=this[_0x29d087(0x39c)][_0x29d087(0x224)](_0x413fcc);_0x52986a||(_0x52986a=new _0x5675c5(),this[_0x29d087(0x39c)][_0x29d087(0x2d6)](_0x413fcc,_0x52986a),this[_0x29d087(0x282)]['next'](_0x413fcc)),_0x52986a[_0x29d087(0x216)](_0x47523e);}[_0x50553d(0x14a)](_0x2a231e,_0x5b06bf){var _0x1c1e9a=_0x50553d;const _0x1e5bf1=this[_0x1c1e9a(0x39c)][_0x1c1e9a(0x224)](_0x2a231e);_0x1e5bf1&&_0x1e5bf1[_0x1c1e9a(0x14a)](_0x5b06bf);}['getRoom'](_0x2c4159){return this['_roomMembers']['get'](_0x2c4159);}[_0x50553d(0x238)](_0x4a9e42,_0x33f86c){var _0x2d6953=_0x50553d;const _0x3d2377=this[_0x2d6953(0x39c)][_0x2d6953(0x224)](_0x4a9e42);if(_0x3d2377)return _0x3d2377[_0x2d6953(0x238)](_0x33f86c);}[_0x50553d(0x3cc)](_0x1f7ddf){var _0x15c45c=_0x50553d;const _0x2d308b=this[_0x15c45c(0x39c)][_0x15c45c(0x224)](_0x1f7ddf);_0x2d308b&&(_0x2d308b[_0x15c45c(0x206)](),this[_0x15c45c(0x39c)]['delete'](_0x1f7ddf));}[_0x50553d(0x206)](){var _0x4a8ee3=_0x50553d;this['_roomMembers']['forEach'](_0x4f977b=>_0x4f977b[_0x4a8ee3(0x206)]()),this['_roomMembers'][_0x4a8ee3(0x135)](),this[_0x4a8ee3(0x282)]['complete']();}},_0x4357d9[_0x50553d(0x2db)]=_0x180ae0([_0x4469ee(0x0,_0xd1c211[_0x50553d(0xad)]),_0x4469ee(0x1,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x3dc)]))],_0x4357d9['MemberService']);class _0x5675c5 extends _0xd1c211[_0x50553d(0x77)]{constructor(){var _0x12d6d9=_0x50553d;super(...arguments),_0x14235c(this,_0x12d6d9(0x391),new Map()),_0x14235c(this,_0x12d6d9(0x31e),new _0x2bac45[(_0x12d6d9(0x349))](this[_0x12d6d9(0x391)])),_0x14235c(this,_0x12d6d9(0xcf),this[_0x12d6d9(0x31e)][_0x12d6d9(0xe6)]());}['dispose'](){var _0xa668c4=_0x50553d;this[_0xa668c4(0x391)][_0xa668c4(0x135)]();}['updateMember'](_0x295bf5){var _0x3f2d5d=_0x50553d;this[_0x3f2d5d(0x391)][_0x3f2d5d(0x2d6)](_0x295bf5[_0x3f2d5d(0xe1)],_0x295bf5),this['_emitMembers']();}[_0x50553d(0x14a)](_0x2cec2d){var _0x2d1868=_0x50553d;this[_0x2d1868(0x391)][_0x2d1868(0x2f8)](_0x2cec2d);}[_0x50553d(0x238)](_0x1072c1){var _0x361a36=_0x50553d;return this['_members'][_0x361a36(0x224)](_0x1072c1);}[_0x50553d(0x116)](){var _0x244fe9=_0x50553d;return Array['from'](this['_members'][_0x244fe9(0x20c)]());}['_emitMembers'](){var _0x529fdf=_0x50553d;this['_members$'][_0x529fdf(0x15e)](this[_0x529fdf(0x391)]);}}var _0x7f495f=Object[_0x50553d(0x235)],_0xc9ce2d=Object[_0x50553d(0x378)],_0x5f1196=(_0x3cee03,_0xc33196,_0x123192,_0x2ba8ea)=>{for(var _0x2ca3b2=_0x2ba8ea>0x1?void 0x0:_0x2ba8ea?_0xc9ce2d(_0xc33196,_0x123192):_0xc33196,_0xf018ea=_0x3cee03['length']-0x1,_0x28bfbe;_0xf018ea>=0x0;_0xf018ea--)(_0x28bfbe=_0x3cee03[_0xf018ea])&&(_0x2ca3b2=(_0x2ba8ea?_0x28bfbe(_0xc33196,_0x123192,_0x2ca3b2):_0x28bfbe(_0x2ca3b2))||_0x2ca3b2);return _0x2ba8ea&&_0x2ca3b2&&_0x7f495f(_0xc33196,_0x123192,_0x2ca3b2),_0x2ca3b2;},_0x107085=(_0x234265,_0x1701b9)=>(_0x4d785e,_0xbfcdb9)=>_0x1701b9(_0x4d785e,_0xbfcdb9,_0x234265),_0x313f34=(_0x216447=>(_0x216447[_0x216447[_0x50553d(0x23e)]=0x0]=_0x50553d(0x23e),_0x216447[_0x216447[_0x50553d(0x2de)]=0x1]=_0x50553d(0x2de),_0x216447[_0x216447[_0x50553d(0x133)]=0x2]='OFFLINE',_0x216447[_0x216447['ONLINE']=0x3]='ONLINE',_0x216447))(_0x313f34||{});const _0x3bdd11={[_0xfca9f1[_0x50553d(0x1ac)]]:'session.join-failed',[_0xfca9f1[_0x50553d(0x293)]]:_0x50553d(0x1af),[_0xfca9f1['JOIN_ROOM_NOT_EXISTS']]:_0x50553d(0x23a),[_0xfca9f1['JOIN_ROOM_PERMISSION_DENIED']]:_0x50553d(0x2e3),[_0xfca9f1[_0x50553d(0x161)]]:_0x50553d(0x3ad)};_0x4357d9[_0x50553d(0xb6)]=class extends _0xd1c211['RxDisposable']{constructor(_0x239115,_0x34d2ef,_0x53ba07,_0x3766a7,_0x3b58f1,_0x115225,_0x4040f9,_0x145132,_0x509b78){var _0x1e4eaa=_0x50553d;super(),_0x14235c(this,_0x1e4eaa(0x146),new _0x2bac45[(_0x1e4eaa(0x349))](0x0)),_0x14235c(this,_0x1e4eaa(0x14e),this['_sessionStatus$']['asObservable']()),_0x14235c(this,_0x1e4eaa(0x8b),new _0x2bac45[(_0x1e4eaa(0x288))]()),_0x14235c(this,_0x1e4eaa(0x3dd),this['_event$'][_0x1e4eaa(0xe6)]()),_0x14235c(this,_0x1e4eaa(0xfa)),_0x14235c(this,'_socketMessageSubscription'),_0x14235c(this,_0x1e4eaa(0x3b9)),_0x14235c(this,_0x1e4eaa(0x386),!0x1),_0x14235c(this,_0x1e4eaa(0x172),null),(this['_unitID']=_0x239115,this[_0x1e4eaa(0x1ef)]=_0x53ba07,this[_0x1e4eaa(0x1e4)]=_0x3766a7,this[_0x1e4eaa(0x20b)]=_0x3b58f1,this[_0x1e4eaa(0x11b)]=_0x115225,this['_commentService']=_0x4040f9,this[_0x1e4eaa(0x14b)]=_0x145132,this[_0x1e4eaa(0x2a3)]=_0x509b78,this[_0x1e4eaa(0x386)]=!!this[_0x1e4eaa(0x2a3)],_0x34d2ef['pipe'](_0x2bac45[_0x1e4eaa(0x357)](this[_0x1e4eaa(0x248)]))['subscribe'](_0x1e578d=>{var _0x4fb956=_0x1e4eaa,_0x50a40f;typeof _0x1e578d>'u'||(this[_0x4fb956(0xfa)]=_0x1e578d,_0x1e578d?(this['_joinRoom'](_0x1e578d),this[_0x4fb956(0x2c5)]=_0x1e578d['message$']['subscribe'](_0x3918c6=>{var _0x3ab7c9=_0x4fb956;_0x3918c6[_0x3ab7c9(0xa8)]===this[_0x3ab7c9(0x36b)]&&this[_0x3ab7c9(0xbb)](_0x3918c6);})):(this[_0x4fb956(0xaf)](),this['_sessionStatus$'][_0x4fb956(0x15e)](0x2),(_0x50a40f=this[_0x4fb956(0x2c5)])==null||_0x50a40f[_0x4fb956(0x251)](),this[_0x4fb956(0x2c5)]=null));}));}get[_0x50553d(0x28d)](){return this['_sessionStatus$']['getValue']();}[_0x50553d(0x13c)](){var _0x404564=_0x50553d,_0x2b504a,_0x599aa9;return(_0x599aa9=(_0x2b504a=this[_0x404564(0xfa)])==null?void 0x0:_0x2b504a[_0x404564(0xe1)])!=null?_0x599aa9:null;}[_0x50553d(0x206)](){var _0x3ba3ef=_0x50553d;super['dispose'](),this[_0x3ba3ef(0x248)][_0x3ba3ef(0x15e)](),this[_0x3ba3ef(0x248)][_0x3ba3ef(0x368)]();}[_0x50553d(0x192)](){var _0x248095=_0x50553d,_0x21dd0b,_0x354bd7;this['_throwTelemetryCollaborationNewChangeset'](),(_0x21dd0b=this[_0x248095(0xfa)])==null||_0x21dd0b[_0x248095(0x3c3)]({'cmd':_0x38488f[_0x248095(0x367)],'data':{'roomID':this[_0x248095(0x36b)]}}),(_0x354bd7=this[_0x248095(0xfa)])==null||_0x354bd7['close'](),this[_0x248095(0x8b)][_0x248095(0x368)](),this[_0x248095(0x146)]['complete'](),this[_0x248095(0x206)]();}[_0x50553d(0xbb)](_0x327d35){var _0x3fa67c=_0x50553d;_0x327d35[_0x3fa67c(0x72)]===_0x38488f[_0x3fa67c(0x317)]?this[_0x3fa67c(0x2ed)](_0x327d35):_0x327d35['cmd']===_0x38488f[_0x3fa67c(0x22a)]&&this[_0x3fa67c(0x104)](_0x327d35);}[_0x50553d(0x327)](_0x2d1286){var _0x464960=_0x50553d;this[_0x464960(0x146)][_0x464960(0x15e)](0x1),_0x2d1286['send']({'cmd':_0x38488f['JOIN'],'routeKey':this[_0x464960(0x36b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x464960(0x36b)]}]}});}[_0x50553d(0x2ed)](_0x2d43cd){var _0x5eb71e=_0x50553d,_0x5776c4;if(_0x2d43cd['code']in _0x3bdd11){this[_0x5eb71e(0x14b)][_0x5eb71e(0x260)]({'id':_0x4b9b27[_0x5eb71e(0x2cd)],'data':_0x3bdd11[_0x2d43cd['code']]}),this['_sessionStatus$'][_0x5eb71e(0x15e)](0x2);return;}this[_0x5eb71e(0x146)][_0x5eb71e(0x15e)](0x3);const _0x590c3a=(_0x5776c4=_0x2d43cd[_0x5eb71e(0x287)][_0x5eb71e(0xc3)][this[_0x5eb71e(0x36b)]])==null?void 0x0:_0x5776c4['members'];_0x590c3a&&_0x590c3a[_0x5eb71e(0x19a)](_0x49a2a9=>this['_memberService']['updateMember'](this['_unitID'],_0x49a2a9));}[_0x50553d(0x104)](_0x2dd3fe){var _0x2b5cd4=_0x50553d;try{const _0x48ed95=_0x2dd3fe[_0x2b5cd4(0x287)];switch(_0x48ed95[_0x2b5cd4(0x1f6)]){case _0x4f4dae[_0x2b5cd4(0x3df)][_0x2b5cd4(0x189)]:this[_0x2b5cd4(0x299)](_0x48ed95),this['_event$'][_0x2b5cd4(0x15e)](_0x48ed95);break;case _0x4f4dae[_0x2b5cd4(0x3df)][_0x2b5cd4(0x25b)]:this[_0x2b5cd4(0x130)](_0x48ed95),this[_0x2b5cd4(0x8b)][_0x2b5cd4(0x15e)](_0x48ed95);break;case _0x4f4dae[_0x2b5cd4(0x3df)][_0x2b5cd4(0x385)]:case _0x4f4dae[_0x2b5cd4(0x3df)]['CHANGESET_SHOULD_RETRY']:this[_0x2b5cd4(0x320)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2b5cd4(0x8b)]['next'](_0x48ed95);break;case _0x4f4dae[_0x2b5cd4(0x3df)][_0x2b5cd4(0x18d)]:this[_0x2b5cd4(0x1ef)][_0x2b5cd4(0xef)](_0x2b5cd4(0x25c)+JSON[_0x2b5cd4(0x30d)](_0x48ed95)),this[_0x2b5cd4(0x8b)][_0x2b5cd4(0x15e)](_0x48ed95);break;case _0x4f4dae['CollaborationEvent'][_0x2b5cd4(0x289)]:this['_commentService'][_0x2b5cd4(0x32d)](_0x48ed95['data']),this[_0x2b5cd4(0x8b)][_0x2b5cd4(0x15e)](_0x48ed95);break;default:this[_0x2b5cd4(0x8b)]['next'](_0x48ed95);}}catch(_0x210325){this['_logService'][_0x2b5cd4(0xef)](_0x210325,_0x2dd3fe);}}[_0x50553d(0x299)](_0x1dc520){var _0x22505a=_0x50553d;this[_0x22505a(0x11b)][_0x22505a(0x216)](this[_0x22505a(0x36b)],_0x1dc520['data']);}[_0x50553d(0x130)](_0x2118c4){var _0x3ec63f=_0x50553d;this[_0x3ec63f(0x11b)]['removeMember'](this[_0x3ec63f(0x36b)],_0x2118c4[_0x3ec63f(0x287)][_0x3ec63f(0xe1)]);}async[_0x50553d(0x3c3)](_0x2317d9,_0x57febd){var _0x5260a1=_0x50553d;if(this[_0x5260a1(0x28d)]!==0x3||!this[_0x5260a1(0xfa)])throw new Error(_0x5260a1(0xf7));try{_0x2317d9[_0x5260a1(0x1f6)]===_0x4f4dae[_0x5260a1(0x3df)][_0x5260a1(0x356)]&&(this[_0x5260a1(0x102)](),this[_0x5260a1(0x1a4)](_0x2317d9)),this['_socket'][_0x5260a1(0x3c3)]({'cmd':_0x38488f[_0x5260a1(0x3ee)],'routeKey':_0x57febd,'routeType':'','data':_0x2317d9});}catch(_0x1aa2f0){this['_logService'][_0x5260a1(0xef)](_0x1aa2f0);}}[_0x50553d(0x102)](){var _0x733451=_0x50553d,_0x3f64bd;this[_0x733451(0x3b9)]=setTimeout(()=>{var _0xf9a093=_0x733451;this[_0xf9a093(0x3b9)]=null,this[_0xf9a093(0x14b)][_0xf9a093(0x260)]({'id':_0x4b9b27[_0xf9a093(0x321)]});},(_0x3f64bd=this[_0x733451(0x1e4)][_0x733451(0x23f)](_0x586f81))!=null?_0x3f64bd:0x4e20);}[_0x50553d(0xb1)](){var _0x402774=_0x50553d;this[_0x402774(0x3b9)]&&(clearTimeout(this[_0x402774(0x3b9)]),this['_collaborationTimeoutTimer']=null);}[_0x50553d(0x1a4)](_0x218bbe){var _0x4cdbd9=_0x50553d;if(!this[_0x4cdbd9(0x386)])return;const {data:_0x86c71e}=_0x218bbe,{unitID:_0x5e8a96,changeset:_0x39f145}=_0x86c71e,{mutations:_0x5a31f1,type:_0x20bcb9}=_0x39f145;this['_telemetryInfo']={'unitId':_0x5e8a96,'type':_0x20bcb9,'startTime':performance[_0x4cdbd9(0x204)](),'stopTime':0x0,'duration':0x0,'size':_0x555dc4(_0x5a31f1)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x15d064=_0x50553d;if(this[_0x15d064(0x386)]){if(!this['_telemetryInfo']){this['_logService']['error'](_0x15d064(0xeb),_0x15d064(0x247));return;}this[_0x15d064(0x172)][_0x15d064(0x7b)]=performance[_0x15d064(0x204)](),this[_0x15d064(0x172)]['duration']=this[_0x15d064(0x172)]['stopTime']-this[_0x15d064(0x172)][_0x15d064(0x38d)],this[_0x15d064(0x2a3)][_0x15d064(0x1cf)](_0x2128d3,this[_0x15d064(0x172)]),this[_0x15d064(0x172)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x179241=_0x50553d;this[_0x179241(0x172)]=null;}},_0x4357d9[_0x50553d(0xb6)]=_0x5f1196([_0x107085(0x2,_0xd1c211['ILogService']),_0x107085(0x3,_0xd1c211['IConfigService']),_0x107085(0x4,_0xd1c211[_0x50553d(0x203)](_0xd1c211['LocaleService'])),_0x107085(0x5,_0xd1c211['Inject'](_0x4357d9['MemberService'])),_0x107085(0x6,_0xd1c211['Inject'](_0x1e1c7e)),_0x107085(0x7,_0xd1c211[_0x50553d(0x203)](_0x5114c1)),_0x107085(0x8,_0xd1c211['Optional'](_0x18357f[_0x50553d(0x29f)]))],_0x4357d9[_0x50553d(0xb6)]);var _0x341345=Object[_0x50553d(0x235)],_0x412bbb=Object[_0x50553d(0x378)],_0x1aec68=(_0x1db018,_0x1d1b62,_0x318115,_0x50bfc3)=>{var _0x4dac0d=_0x50553d;for(var _0x776b0d=_0x50bfc3>0x1?void 0x0:_0x50bfc3?_0x412bbb(_0x1d1b62,_0x318115):_0x1d1b62,_0x468069=_0x1db018[_0x4dac0d(0x3ca)]-0x1,_0x1245c5;_0x468069>=0x0;_0x468069--)(_0x1245c5=_0x1db018[_0x468069])&&(_0x776b0d=(_0x50bfc3?_0x1245c5(_0x1d1b62,_0x318115,_0x776b0d):_0x1245c5(_0x776b0d))||_0x776b0d);return _0x50bfc3&&_0x776b0d&&_0x341345(_0x1d1b62,_0x318115,_0x776b0d),_0x776b0d;},_0x3112a4=(_0x22bfb9,_0x455c21)=>(_0x3bd829,_0xa3745)=>_0x455c21(_0x3bd829,_0xa3745,_0x22bfb9);_0x4357d9[_0x50553d(0x90)]=class extends _0xd1c211[_0x50553d(0x77)]{constructor(_0x9af9b4,_0x28c4c9,_0x5ccef8,_0x364e66,_0x44df75,_0x114615,_0x5c4afe){var _0x3e77b4=_0x50553d;super(),_0x14235c(this,_0x3e77b4(0x12d),new _0x2bac45[(_0x3e77b4(0x349))](void 0x0)),_0x14235c(this,'socket$',this[_0x3e77b4(0x12d)][_0x3e77b4(0xe6)]()),_0x14235c(this,_0x3e77b4(0x21d),null),_0x14235c(this,_0x3e77b4(0x11c),new Map()),_0x14235c(this,_0x3e77b4(0x19e),new _0x2bac45[(_0x3e77b4(0x349))](_0x313f34[_0x3e77b4(0x23e)])),_0x14235c(this,'status$',this['_status$'][_0x3e77b4(0xe6)]()),_0x14235c(this,_0x3e77b4(0xf4),!0x1),_0x14235c(this,'_retryConnectingTimer'),_0x14235c(this,_0x3e77b4(0x1fe),0x0),_0x14235c(this,_0x3e77b4(0x316)),_0x14235c(this,'_timeoutTimer'),(this[_0x3e77b4(0x2b4)]=_0x9af9b4,this[_0x3e77b4(0x1ef)]=_0x28c4c9,this['_configService']=_0x5ccef8,this['_socketService']=_0x364e66,this[_0x3e77b4(0x252)]=_0x44df75,this[_0x3e77b4(0x14b)]=_0x114615,this[_0x3e77b4(0x8a)]=_0x5c4afe,this[_0x3e77b4(0x15a)]());}get[_0x50553d(0xfa)](){var _0x9ddf8d=_0x50553d;return this[_0x9ddf8d(0x12d)][_0x9ddf8d(0x2ea)]();}[_0x50553d(0x15a)](){var _0x5e29ad=_0x50553d;this[_0x5e29ad(0x8a)]&&this[_0x5e29ad(0xf0)](this[_0x5e29ad(0x8a)][_0x5e29ad(0x392)][_0x5e29ad(0x286)](_0x902c7e=>{var _0x25f34b=_0x5e29ad;_0x902c7e&&!this[_0x25f34b(0xfa)]&&this['reconnect'](),_0x902c7e||this[_0x25f34b(0x2bf)]();}));}[_0x50553d(0x206)](){var _0x376a51=_0x50553d;super[_0x376a51(0x206)](),this['_sessions'][_0x376a51(0x19a)](_0x194437=>_0x194437[_0x376a51(0x206)]()),this[_0x376a51(0x11c)][_0x376a51(0x135)](),this[_0x376a51(0x19e)]['complete']();}async['requireSession'](_0x4d937b){var _0x542ebf=_0x50553d;if(this['_sessions'][_0x542ebf(0x202)](_0x4d937b))return this['_sessions'][_0x542ebf(0x224)](_0x4d937b);this[_0x542ebf(0x25e)]();const _0x1493a4=this[_0x542ebf(0x2b4)][_0x542ebf(0xae)](_0x4357d9['CollaborationSession'],_0x4d937b,this[_0x542ebf(0x12d)][_0x542ebf(0xe6)]());return this['_sessions'][_0x542ebf(0x2d6)](_0x4d937b,_0x1493a4),_0x1493a4;}[_0x50553d(0x1db)](_0x31da6f){var _0x189372=_0x50553d,_0x25ab66;const _0x545bda=this[_0x189372(0x11c)][_0x189372(0x224)](_0x31da6f);_0x545bda&&(this[_0x189372(0x11c)][_0x189372(0x2f8)](_0x31da6f),_0x545bda['close']()),this[_0x189372(0x11c)][_0x189372(0x7d)]||(_0x25ab66=this[_0x189372(0xfa)])==null||_0x25ab66[_0x189372(0x192)]();}['reconnect'](){var _0x72af20=_0x50553d;this['_retryCount']=0x0,this[_0x72af20(0x1a7)]!=null&&(clearTimeout(this[_0x72af20(0x1a7)]),this[_0x72af20(0x1a7)]=null),this['_tryReconnect']();}async[_0x50553d(0x193)](){var _0x5c5926=_0x50553d,_0x5c5587,_0x4db170,_0x43b0c4;const _0xad6b86=this['_configService'][_0x5c5926(0x23f)](_0x47a3ce),_0x500bac=(_0x5c5587=_0xad6b86==null?void 0x0:_0xad6b86['wsSessionTicketUrl'])!=null?_0x5c5587:_0xbcefba;return(_0x43b0c4=(_0x4db170=(await this[_0x5c5926(0x252)]['get'](_0x500bac,{'headers':{'Content-Type':'application/json'}}))[_0x5c5926(0x198)])==null?void 0x0:_0x4db170[_0x5c5926(0x22e)])!=null?_0x43b0c4:'';}[_0x50553d(0x129)](_0x3127f7){var _0x397010=_0x50553d,_0x4faec1,_0x33d69c;const _0x2c8be9=this[_0x397010(0x1e4)][_0x397010(0x23f)](_0x34c209),_0x29604b=this[_0x397010(0x1e4)]['getConfig'](_0x47a3ce),_0x6b39b3=(_0x33d69c=(_0x4faec1=_0x29604b==null?void 0x0:_0x29604b[_0x397010(0x1b5)])!=null?_0x4faec1:_0x2c8be9)!=null?_0x33d69c:_0xf914b1,_0x14f288=typeof window>'u'?new URL(_0x6b39b3):new URL(_0x6b39b3,window[_0x397010(0x27d)][_0x397010(0x166)]);_0x14f288['searchParams'][_0x397010(0x2d6)](_0x397010(0x1d9),_0x3127f7);const _0x4fd24c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x397010(0x27d)][_0x397010(0x9a)]);return _0x4fd24c[_0x397010(0x224)](_0x397010(0x39d))&&_0x14f288['searchParams']['set'](_0x397010(0x39d),_0x4fd24c[_0x397010(0x224)]('runId')),_0x14f288['toString']();}async[_0x50553d(0x3f0)](){var _0x1f1d48=_0x50553d;const _0x2ac34e=await this[_0x1f1d48(0x193)](),_0x59fda3=this[_0x1f1d48(0x129)](_0x2ac34e),_0x4d6ce8=this['_socketService'][_0x1f1d48(0x29c)](_0x59fda3);return this[_0x1f1d48(0x21d)]=_0x4d6ce8,_0x4d6ce8;}async['_tryEnsureSocket'](){var _0x40aa0c=_0x50553d,_0x1fb982,_0xb5c4af;try{const _0x9e9efe=(_0xb5c4af=(_0x1fb982=this[_0x40aa0c(0xfa)])!=null?_0x1fb982:this['_candidateSocket'])!=null?_0xb5c4af:await this[_0x40aa0c(0x3f0)]();if(_0x9e9efe){const _0x89479d=_0x9e9efe[_0x40aa0c(0x3c3)];_0x9e9efe[_0x40aa0c(0x3c3)]=_0x2b902c=>(this[_0x40aa0c(0xc6)](),_0x89479d[_0x40aa0c(0xc7)](_0x9e9efe,[_0x2b902c])),_0x9e9efe[_0x40aa0c(0x9f)][_0x40aa0c(0x286)](_0x9b10cf=>this['_onMessage'](_0x9e9efe,_0x9b10cf)),_0x9e9efe[_0x40aa0c(0x147)][_0x40aa0c(0xec)](_0x25c94f[_0x40aa0c(0x245)](0x1))['subscribe'](_0x602b99=>this[_0x40aa0c(0x1ef)][_0x40aa0c(0xef)](_0x40aa0c(0x195),_0x602b99)),_0x9e9efe[_0x40aa0c(0x2c3)][_0x40aa0c(0xec)](_0x25c94f[_0x40aa0c(0x245)](0x1))[_0x40aa0c(0x286)](()=>{var _0x58fd52=_0x40aa0c;this[_0x58fd52(0x244)](_0x9e9efe);}),_0x9e9efe['close$']['pipe'](_0x25c94f['take'](0x1))[_0x40aa0c(0x286)](_0x3d7d06=>{var _0x1596f1=_0x40aa0c;this[_0x1596f1(0x1ef)][_0x1596f1(0x1fc)](_0x1596f1(0xa0),_0x1596f1(0xa7),_0x3d7d06),this['_onConnectionFailed']();});}}catch(_0x21238f){this[_0x40aa0c(0x1ef)][_0x40aa0c(0xef)](_0x21238f),this[_0x40aa0c(0x70)]();}}[_0x50553d(0x244)](_0x2ac025){var _0x287be9=_0x50553d;this['_logService']['debug'](_0x287be9(0xa0),_0x287be9(0x2cc)),_0x2ac025[_0x287be9(0x3c3)]({'cmd':_0x38488f[_0x287be9(0x380)]}),this[_0x287be9(0xc6)]();}[_0x50553d(0x2bf)](){var _0x56f659=_0x50553d;this[_0x56f659(0xf4)]=!0x1,this[_0x56f659(0x21d)]=null,this[_0x56f659(0x19e)]['next'](_0x313f34[_0x56f659(0x133)]),this[_0x56f659(0x12d)][_0x56f659(0x15e)](null),this[_0x56f659(0x100)](),this[_0x56f659(0x177)]();}[_0x50553d(0x70)](){var _0x59a865=_0x50553d,_0x55e92f;this[_0x59a865(0x2bf)](),this[_0x59a865(0x1fe)]<((_0x55e92f=this[_0x59a865(0x1e4)][_0x59a865(0x23f)](_0x34ff9b))!=null?_0x55e92f:0x3)?(this[_0x59a865(0x14b)][_0x59a865(0x260)]({'id':_0x4b9b27[_0x59a865(0x2b2)]}),this['_tryReconnect']()):this[_0x59a865(0x14b)][_0x59a865(0x260)]({'id':_0x4b9b27[_0x59a865(0x154)]});}[_0x50553d(0x1c4)](){var _0x36f90c=_0x50553d,_0x47e1d2;const _0x288af2=this['_retryCount'],_0x3e7088=this[_0x36f90c(0x1e4)][_0x36f90c(0x23f)](_0x47a3ce),_0x4f5e09=_0x288af2===0x0?0x0:((_0x47e1d2=_0x3e7088==null?void 0x0:_0x3e7088['retryConnectingInterval'])!=null?_0x47e1d2:0x4e20)*0x2**_0x288af2;this[_0x36f90c(0x1a7)]=setTimeout(()=>{var _0x107086=_0x36f90c;clearTimeout(this[_0x107086(0x1a7)]),this['_retryConnectingTimer']=null,this[_0x107086(0x25e)]();},_0x4f5e09),this[_0x36f90c(0x1fe)]+=0x1;}[_0x50553d(0x103)](_0x3fb24d,_0x5c3c01){var _0x367492=_0x50553d;const {cmd:_0x296e38}=_0x5c3c01;_0x296e38===_0x38488f[_0x367492(0x380)]&&!this[_0x367492(0xf4)]&&(_0x3fb24d[_0x367492(0xe1)]=_0x5c3c01['data'][_0x367492(0xe1)],this[_0x367492(0x12d)]['next'](_0x3fb24d),this[_0x367492(0x19e)][_0x367492(0x15e)](_0x313f34[_0x367492(0x399)]),this[_0x367492(0xf4)]=!0x0,this['_candidateSocket']=null),_0x296e38===_0x38488f[_0x367492(0x31b)]&&this['_clearTimeoutTimer'](),this[_0x367492(0xc6)]();}[_0x50553d(0xc6)](){var _0x516986=_0x50553d,_0x3cc901;this[_0x516986(0x177)](),this[_0x516986(0x316)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x3cc901=this['_configService']['getConfig'](_0x4856d6))!=null?_0x3cc901:0x7530);}[_0x50553d(0xfc)](){var _0x2fb9d6=_0x50553d;this[_0x2fb9d6(0xfa)]['send']({'cmd':_0x38488f['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x50553d(0x160)](){var _0x551e7e=_0x50553d,_0xd264fd;this[_0x551e7e(0x3cb)]=setTimeout(()=>this[_0x551e7e(0x70)](),(_0xd264fd=this[_0x551e7e(0x1e4)][_0x551e7e(0x23f)](_0x586f81))!=null?_0xd264fd:0x4e20);}[_0x50553d(0x177)](){var _0x41df6e=_0x50553d;this[_0x41df6e(0x316)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x1526ed=_0x50553d;this[_0x1526ed(0x3cb)]!=null&&(clearTimeout(this[_0x1526ed(0x3cb)]),this[_0x1526ed(0x3cb)]=null);}},_0x4357d9['CollaborationSessionService']=_0x1aec68([_0x3112a4(0x0,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x18e)])),_0x3112a4(0x1,_0xd1c211[_0x50553d(0x34b)]),_0x3112a4(0x2,_0xd1c211[_0x50553d(0x334)]),_0x3112a4(0x3,_0x17b7f1),_0x3112a4(0x4,_0xd1c211[_0x50553d(0x203)](_0x266048[_0x50553d(0x24f)])),_0x3112a4(0x5,_0xd1c211['Inject'](_0x5114c1)),_0x3112a4(0x6,_0xd1c211[_0x50553d(0x1f8)](_0x5bc066))],_0x4357d9[_0x50553d(0x90)]);const _0x4d5695=[];for(let _0x2f3258=0x0;_0x2f3258<0x100;++_0x2f3258)_0x4d5695['push']((_0x2f3258+0x100)[_0x50553d(0x191)](0x10)[_0x50553d(0x134)](0x1));function _0x2786d0(_0x1359d0,_0x4739ba=0x0){return(_0x4d5695[_0x1359d0[_0x4739ba+0x0]]+_0x4d5695[_0x1359d0[_0x4739ba+0x1]]+_0x4d5695[_0x1359d0[_0x4739ba+0x2]]+_0x4d5695[_0x1359d0[_0x4739ba+0x3]]+'-'+_0x4d5695[_0x1359d0[_0x4739ba+0x4]]+_0x4d5695[_0x1359d0[_0x4739ba+0x5]]+'-'+_0x4d5695[_0x1359d0[_0x4739ba+0x6]]+_0x4d5695[_0x1359d0[_0x4739ba+0x7]]+'-'+_0x4d5695[_0x1359d0[_0x4739ba+0x8]]+_0x4d5695[_0x1359d0[_0x4739ba+0x9]]+'-'+_0x4d5695[_0x1359d0[_0x4739ba+0xa]]+_0x4d5695[_0x1359d0[_0x4739ba+0xb]]+_0x4d5695[_0x1359d0[_0x4739ba+0xc]]+_0x4d5695[_0x1359d0[_0x4739ba+0xd]]+_0x4d5695[_0x1359d0[_0x4739ba+0xe]]+_0x4d5695[_0x1359d0[_0x4739ba+0xf]])['toLowerCase']();}let _0x164bcc;const _0x47e547=new Uint8Array(0x10);function _0x51e59e(){var _0xfa7bd5=_0x50553d;if(!_0x164bcc){if(typeof crypto>'u'||!crypto[_0xfa7bd5(0x370)])throw new Error(_0xfa7bd5(0x208));_0x164bcc=crypto[_0xfa7bd5(0x370)][_0xfa7bd5(0x1ba)](crypto);}return _0x164bcc(_0x47e547);}const _0x34225f={'randomUUID':typeof crypto<'u'&&crypto[_0x50553d(0x33e)]&&crypto['randomUUID'][_0x50553d(0x1ba)](crypto)};function _0x1a98eb(_0x121b91,_0x768258,_0x1be119){var _0x35beea=_0x50553d,_0x565696,_0x41107f,_0x210c0c;if(_0x34225f[_0x35beea(0x33e)]&&!_0x121b91)return _0x34225f[_0x35beea(0x33e)]();_0x121b91=_0x121b91||{};const _0x320d10=(_0x210c0c=(_0x41107f=_0x121b91[_0x35beea(0xb2)])!=null?_0x41107f:(_0x565696=_0x121b91['rng'])==null?void 0x0:_0x565696['call'](_0x121b91))!=null?_0x210c0c:_0x51e59e();if(_0x320d10[_0x35beea(0x3ca)]<0x10)throw new Error(_0x35beea(0x32c));return _0x320d10[0x6]=_0x320d10[0x6]&0xf|0x40,_0x320d10[0x8]=_0x320d10[0x8]&0x3f|0x80,_0x2786d0(_0x320d10);}const _0x5ce95d=_0xd1c211[_0x50553d(0x269)]('collaboration-client.local-cache-service');function _0x4d14ae(_0x322ac0){return'unit-cache-'+_0x322ac0;}var _0x9c3337=Object['defineProperty'],_0x1b64da=Object[_0x50553d(0x378)],_0x547e0d=(_0x45a257,_0x5a58ee,_0x462575,_0x42899e)=>{for(var _0x92d851=_0x42899e>0x1?void 0x0:_0x42899e?_0x1b64da(_0x5a58ee,_0x462575):_0x5a58ee,_0x258433=_0x45a257['length']-0x1,_0x3a3a2f;_0x258433>=0x0;_0x258433--)(_0x3a3a2f=_0x45a257[_0x258433])&&(_0x92d851=(_0x42899e?_0x3a3a2f(_0x5a58ee,_0x462575,_0x92d851):_0x3a3a2f(_0x92d851))||_0x92d851);return _0x42899e&&_0x92d851&&_0x9c3337(_0x5a58ee,_0x462575,_0x92d851),_0x92d851;},_0x3b9588=(_0x3f07f5,_0x34e7d8)=>(_0x193b48,_0x590be4)=>_0x34e7d8(_0x193b48,_0x590be4,_0x3f07f5);function _0x38f8a0(_0x3d689c){var _0x24300d=_0x50553d;const {unitID:_0x40318a,mutations:_0x2d3676}=_0x3d689c;return{'unitId':_0x40318a,'subUnitId':_0x2d3676[0x0][_0x24300d(0x3d5)][_0x24300d(0x211)]};}_0x4357d9[_0x50553d(0x3a7)]=class{constructor(_0x4680ff,_0x3049c2,_0x2437e0){var _0x1e981d=_0x50553d;this[_0x1e981d(0x2b4)]=_0x4680ff,this[_0x1e981d(0x158)]=_0x3049c2,this[_0x1e981d(0x3d4)]=_0x2437e0;}[_0x50553d(0x2b9)](_0x176c02){var _0x306178=_0x50553d,_0x33a60b,_0x3b821d,_0xa67d8,_0x46d8cc;const _0x20e005=this[_0x306178(0x2b4)][_0x306178(0x224)](_0x4caa0[_0x306178(0x1c9)]),{unitId:_0x1839a0,subUnitId:_0x1a8970}=_0x38f8a0(_0x176c02),_0x1dc30a=_0x20e005==null?void 0x0:_0x20e005[_0x306178(0x323)](_0x1839a0)[_0x306178(0xf5)](),_0x464b6f=(_0x3b821d=(_0x33a60b=this[_0x306178(0x3d4)]['getUnit'](_0x1839a0))==null?void 0x0:_0x33a60b[_0x306178(0xdb)]())==null?void 0x0:_0x3b821d[_0x306178(0x390)]();if(_0x1dc30a[_0x306178(0x3ca)]===0x0||!_0x1839a0||!_0x1a8970)return;const _0x3a2346=[{'id':_0x4caa0['SetSelectionsOperation']['id'],'params':{'unitId':_0x1839a0,'subUnitId':_0x464b6f,'selections':_0xd1c211[_0x306178(0xdd)][_0x306178(0x84)](_0x1dc30a)}}],_0x40158e=this[_0x306178(0x158)][_0x306178(0x305)](_0x176c02,_0x3a2346);if(!_0x4f4dae['isTransformMutationsWithChangesetSuccess'](_0x40158e))throw _0x40158e[_0x306178(0xef)];const _0x1fdbf3=(_0x46d8cc=(_0xa67d8=_0x40158e[_0x306178(0x28c)][0x0])==null?void 0x0:_0xa67d8[_0x306178(0x3d5)])==null?void 0x0:_0x46d8cc[_0x306178(0x163)];if(Array[_0x306178(0x2f6)](_0x1fdbf3)&&_0x1fdbf3[_0x306178(0x3ca)]){if(_0x1fdbf3[_0x306178(0x3ca)]===_0x3a2346[0x0][_0x306178(0x3d5)][_0x306178(0x163)][_0x306178(0x3ca)]&&_0x1fdbf3[_0x306178(0x2bb)]((_0x3aa55e,_0x33074c)=>_0xd1c211['Rectangle'][_0x306178(0x36d)](_0x3aa55e[_0x306178(0x365)],_0x3a2346[0x0][_0x306178(0x3d5)][_0x306178(0x163)][_0x33074c]['range'])))return;this['_injector'][_0x306178(0x224)](_0xd1c211[_0x306178(0xe7)])[_0x306178(0x2bc)](_0x4caa0['SetSelectionsOperation']['id'],{'unitId':_0x1839a0,'subUnitId':_0x464b6f,'selections':_0x1fdbf3});}}},_0x4357d9[_0x50553d(0x3a7)]=_0x547e0d([_0x3b9588(0x0,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x18e)])),_0x3b9588(0x1,_0x4f4dae[_0x50553d(0x2b1)]),_0x3b9588(0x2,_0xd1c211[_0x50553d(0xad)])],_0x4357d9[_0x50553d(0x3a7)]);const _0x3dd7cd=_0xd1c211['createIdentifier'](_0x50553d(0x3d2));var _0x11b26c=(_0x515db9=>(_0x515db9[_0x515db9[_0x50553d(0x25d)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x515db9[_0x515db9[_0x50553d(0x73)]=0x1]=_0x50553d(0x73),_0x515db9))(_0x11b26c||{});const _0x478343=new Set([_0x4caa0['InsertSheetMutation']['id']]);function _0x5bc9c0(_0x43eca7,_0x14bad3,_0x4849b9,_0x3ccf6c,_0x58ce94){var _0x34701e=_0x50553d,_0x34d920,_0x46b6a8,_0x368453,_0x3a9a85;const _0x424509=[];for(const _0x598579 of _0x43eca7)if(_0x478343[_0x34701e(0x202)](_0x598579['id'])){if(_0x424509[_0x34701e(0x3ca)]>0x0)break;_0x424509[_0x34701e(0x2b7)](_0x598579);break;}else _0x424509[_0x34701e(0x2b7)](_0x598579);const _0x4c5331=(_0x46b6a8=(_0x34d920=_0x58ce94[_0x34701e(0x3a5)]())==null?void 0x0:_0x34d920['userID'])!=null?_0x46b6a8:_0x34701e(0x9c),_0x47ab68=(_0x3a9a85=(_0x368453=_0x58ce94[_0x34701e(0x3a5)]())==null?void 0x0:_0x368453[_0x34701e(0xe1)])!=null?_0x3a9a85:_0x34701e(0x9c);return{'changeset':{'unitID':_0x14bad3,'type':_0x4f4dae[_0x34701e(0x271)](_0x4849b9[_0x34701e(0x178)](_0x14bad3)),'baseRev':_0x3ccf6c[_0x34701e(0x24e)](_0x14bad3),'revision':0x0,'userID':_0x4c5331,'memberID':_0x47ab68,'mutations':_0x424509},'pendingMutations':_0x43eca7[_0x34701e(0x134)](_0x424509[_0x34701e(0x3ca)])};}function _0x57efe7(_0x3151ca,_0x1b5bb6,_0xc27daa,_0x2c9b4b,_0x4f346a){var _0x3f8d30=_0x50553d,_0x11e44d,_0x34cade,_0x259c6b,_0x49dc19;const _0x42fd06=[_0x3151ca[_0x3f8d30(0x94)]((_0x3c3b2a,_0x542b4c)=>{var _0x39154a=_0x3f8d30,_0x1e4a57;const {id:_0xffa989}=_0x3c3b2a,{id:_0x1dcd2d,type:_0x38c876}=_0x542b4c,_0x52d7dc=(_0x1e4a57=_0x3c3b2a['params'])!=null?_0x1e4a57:{'actions':null},_0x3d957d=_0x542b4c['params'];if(_0xffa989&&_0xffa989!==_0x1dcd2d)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0xffa989+_0x39154a(0x318)+_0x1dcd2d+'.');return{..._0x3c3b2a,'id':_0x1dcd2d,'type':_0x38c876,'params':{'unitId':_0x3d957d['unitId'],'textRanges':_0x3d957d[_0x39154a(0x298)],'actions':_0xd1c211[_0x39154a(0xbf)][_0x39154a(0x18c)](_0x52d7dc[_0x39154a(0x1f1)],_0x3d957d['actions'])}};},{})],_0x50f5dd=(_0x34cade=(_0x11e44d=_0x4f346a[_0x3f8d30(0x3a5)]())==null?void 0x0:_0x11e44d[_0x3f8d30(0x26a)])!=null?_0x34cade:_0x3f8d30(0x9c),_0x44f209=(_0x49dc19=(_0x259c6b=_0x4f346a['getCurrentUser']())==null?void 0x0:_0x259c6b[_0x3f8d30(0xe1)])!=null?_0x49dc19:_0x3f8d30(0x9c);return{'changeset':{'unitID':_0x1b5bb6,'type':_0x4f4dae[_0x3f8d30(0x271)](_0xc27daa[_0x3f8d30(0x178)](_0x1b5bb6)),'baseRev':_0x2c9b4b[_0x3f8d30(0x24e)](_0x1b5bb6),'revision':0x0,'userID':_0x50f5dd,'memberID':_0x44f209,'mutations':_0x42fd06},'pendingMutations':[]};}function _0xaca1bd(_0x216fe1,_0x3b2baf){var _0x4dee82=_0x50553d;const _0xf93b10=new _0x2bac45['ReplaySubject'](0x1);return setTimeout(()=>_0xf93b10['next'](_0x3b2baf),_0x216fe1),_0xf93b10['asObservable']()['pipe'](_0x2bac45[_0x4dee82(0x245)](0x1));}const _0x332a58={'id':_0x4caa0[_0x50553d(0x126)]['id'],'type':_0xd1c211[_0x50553d(0x190)][_0x50553d(0x110)],'params':{}};var _0x349cff=Object[_0x50553d(0x235)],_0x46acaa=Object[_0x50553d(0x378)],_0x5c336c=(_0x375b26,_0x14d2d7,_0x3500d7,_0x12a676)=>{var _0x11fb78=_0x50553d;for(var _0x572665=_0x12a676>0x1?void 0x0:_0x12a676?_0x46acaa(_0x14d2d7,_0x3500d7):_0x14d2d7,_0x2868d0=_0x375b26[_0x11fb78(0x3ca)]-0x1,_0x58c97e;_0x2868d0>=0x0;_0x2868d0--)(_0x58c97e=_0x375b26[_0x2868d0])&&(_0x572665=(_0x12a676?_0x58c97e(_0x14d2d7,_0x3500d7,_0x572665):_0x58c97e(_0x572665))||_0x572665);return _0x12a676&&_0x572665&&_0x349cff(_0x14d2d7,_0x3500d7,_0x572665),_0x572665;},_0x52da48=(_0xf65275,_0x1e52cb)=>(_0xcbfbbe,_0x1a61b2)=>_0x1e52cb(_0xcbfbbe,_0x1a61b2,_0xf65275),_0xad4d37=(_0x35d993=>(_0x35d993['NOT_COLLAB']='not_collab',_0x35d993[_0x50553d(0xb7)]=_0x50553d(0x397),_0x35d993['PENDING']='pending',_0x35d993[_0x50553d(0x215)]=_0x50553d(0x26c),_0x35d993[_0x50553d(0x2c9)]='awaiting_with_pending',_0x35d993[_0x50553d(0x292)]='fetch_missing',_0x35d993[_0x50553d(0x2be)]=_0x50553d(0x225),_0x35d993[_0x50553d(0x133)]=_0x50553d(0x13e),_0x35d993))(_0xad4d37||{});const _0x418219=0xea60;class _0x48d9ca{constructor(_0x53e3fc,_0x344563,_0x469b1e,_0x51808f,_0x2182f8,_0x172817,_0x7c5eea,_0x29e89d,_0x557d23){var _0x28d477=_0x50553d;_0x14235c(this,_0x28d477(0x187),null),_0x14235c(this,_0x28d477(0x89),[]),(this[_0x28d477(0x253)]=_0x53e3fc,this[_0x28d477(0xb0)]=_0x344563,this[_0x28d477(0x376)]=_0x2182f8,this[_0x28d477(0xac)]=_0x172817,this[_0x28d477(0x354)]=_0x7c5eea,this['_revisionService']=_0x29e89d,this['_localCacheService']=_0x557d23,this[_0x28d477(0x187)]=_0x469b1e,this[_0x28d477(0x89)]=_0x51808f);}[_0x50553d(0xf3)](_0x82a6ae){var _0x212d98=_0x50553d;const _0x281c68=this[_0x212d98(0x173)]['getCurrentRevOfUnit'](this['unitID']);return _0x82a6ae[_0x212d98(0x2ad)]>_0x281c68+0x1?(this[_0x212d98(0x376)]['onMissingChangesets']({'from':_0x281c68,'to':_0x82a6ae[_0x212d98(0x2ad)]-0x1}),!0x0):!0x1;}[_0x50553d(0x141)](_0x263d6c){var _0x4c3dd5=_0x50553d;this[_0x4c3dd5(0x354)][_0x4c3dd5(0x157)](this['unitID'],_0x263d6c);}[_0x50553d(0x17a)](_0x576664){var _0xb8e41e=_0x50553d,_0x59e450,_0xdac229;(_0xdac229=(_0x59e450=this[_0xb8e41e(0x376)])[_0xb8e41e(0x2ef)])==null||_0xdac229['call'](_0x59e450,_0x576664);}['_transformIMECache'](_0xb80542){var _0x18399c=_0x50553d,_0x3dea51,_0x5d2f95;return(_0x5d2f95=(_0x3dea51=this[_0x18399c(0x376)])['onTransformIME'])==null?void 0x0:_0x5d2f95['call'](_0x3dea51,_0xb80542);}[_0x50553d(0x27b)](_0x4ddf77){var _0x44d397=_0x50553d,_0x2bbaf7,_0x4d8609;return(_0x4d8609=(_0x2bbaf7=this[_0x44d397(0x376)])['onTransformState'])==null?void 0x0:_0x4d8609['call'](_0x2bbaf7,_0x4ddf77);}[_0x50553d(0x151)](_0x5c6b63){var _0x5f0ce7=_0x50553d,_0x25ffac,_0x5bfa0b,_0x24728e;return(_0x24728e=(_0x5bfa0b=(_0x25ffac=this[_0x5f0ce7(0x376)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5bfa0b[_0x5f0ce7(0x343)](_0x25ffac,_0x5c6b63))!=null?_0x24728e:_0x5c6b63;}[_0x50553d(0x210)](_0x2ab9b0){var _0x260ffd=_0x50553d,_0x279e10,_0x53c79e,_0x72eea5;return(_0x72eea5=(_0x53c79e=(_0x279e10=this['_handler'])[_0x260ffd(0x22f)])==null?void 0x0:_0x53c79e[_0x260ffd(0x343)](_0x279e10,_0x2ab9b0))!=null?_0x72eea5:_0x2ab9b0;}[_0x50553d(0x1d6)](_0xdb5a30){var _0x4f52f1=_0x50553d,_0x5f1d4a,_0x4c2d7e;if(this['type']===_0x1dcecf[_0x4f52f1(0x372)]){const {unitID:_0x42ea0f,mutations:_0x13486f,memberID:_0x2afc70}=_0xdb5a30,_0x2dc6f2=_0x13486f[0x0][_0x4f52f1(0x3d5)][_0x4f52f1(0x298)];Array[_0x4f52f1(0x2f6)](_0x2dc6f2)&&_0x2dc6f2[_0x4f52f1(0x3ca)]>0x0&&((_0x4c2d7e=(_0x5f1d4a=this['_handler'])[_0x4f52f1(0x3e4)])==null||_0x4c2d7e[_0x4f52f1(0x343)](_0x5f1d4a,{'unitID':_0x42ea0f,'memberID':_0x2afc70,'textRanges':_0x2dc6f2}));}}['_updateLocalCache'](){var _0x48c839=_0x50553d,_0x56dd53;(_0x56dd53=this[_0x48c839(0x1be)])==null||_0x56dd53[_0x48c839(0xc8)](this[_0x48c839(0x253)],this[_0x48c839(0xb0)],this[_0x48c839(0x187)],this['_pendingMutations']);}[_0x50553d(0x16e)](){var _0x4b2b24=_0x50553d;return this['_revisionService'][_0x4b2b24(0x24e)](this[_0x4b2b24(0x253)]);}[_0x50553d(0x132)](){var _0x214b0d=_0x50553d;this[_0x214b0d(0x173)][_0x214b0d(0xb3)](this[_0x214b0d(0x253)]);}[_0x50553d(0x6e)](_0x3e583a){var _0x187827=_0x50553d,_0x3c8cc5;let _0x8dd803=this[_0x187827(0x151)](_0x3e583a);_0x8dd803=this[_0x187827(0x210)](_0x8dd803);const _0x2765ee=_0xd1c211[_0x187827(0x310)](_0x8dd803['mutations'],this[_0x187827(0xac)],{'fromCollab':!0x0});if(!_0x2765ee['result'])throw _0x2765ee[_0x187827(0xef)]instanceof Error?_0x2765ee[_0x187827(0xef)]:new Error((_0x3c8cc5=_0x2765ee[_0x187827(0xef)])!=null?_0x3c8cc5:_0x187827(0x330));this[_0x187827(0xcc)](_0x8dd803),this[_0x187827(0x27b)](_0x8dd803),this[_0x187827(0x141)](_0x3e583a),this[_0x187827(0x17a)](_0x8dd803),this[_0x187827(0x1d6)](_0x8dd803),this['_incrementRevisionNumber']();}}_0x4357d9[_0x50553d(0x1cd)]=class extends _0x48d9ca{constructor(_0x3b5b49,_0x160714,_0x43e1a2,_0xa4f4b2,_0x2a3b60,_0x35f00c,_0x280bf9,_0x7bcf2a,_0x355417,_0x2ad59a){var _0x2b401c=_0x50553d;super(_0x3b5b49,_0x160714,null,[],_0x43e1a2,_0x280bf9,_0x35f00c,_0xa4f4b2,_0x2ad59a),_0x14235c(this,_0x2b401c(0x374),_0x2b401c(0x397)),(this[_0x2b401c(0x2b4)]=_0x2a3b60,this[_0x2b401c(0x1ef)]=_0x7bcf2a,this[_0x2b401c(0x158)]=_0x355417,this[_0x2b401c(0x2d1)]=_0x2ad59a);}['appendMutation'](_0x29e679){var _0x38ed88=_0x50553d;const _0x501f5e=this[_0x38ed88(0x2b4)][_0x38ed88(0xae)](_0x4357d9[_0x38ed88(0x32f)],this[_0x38ed88(0x253)],this[_0x38ed88(0xb0)],[_0x29e679],this[_0x38ed88(0x376)]);return _0x501f5e[_0x38ed88(0x3b5)](),_0x501f5e[_0x38ed88(0x162)](),_0x501f5e;}[_0x50553d(0x3b7)](_0x3b74e9){var _0x753aa=_0x50553d;if(this[_0x753aa(0xf3)](_0x3b74e9))return this['_injector'][_0x753aa(0xae)](_0x4357d9[_0x753aa(0x11a)],this[_0x753aa(0x253)],this[_0x753aa(0xb0)],null,[],null,[_0x3b74e9],this['_handler']);try{const _0x176b4e=this[_0x753aa(0x158)][_0x753aa(0x305)](_0x3b74e9,[_0x332a58]);if(_0x4f4dae[_0x753aa(0x1d2)](_0x176b4e)){const {c1Prime:_0x53a97f}=_0x176b4e;return this[_0x753aa(0x6e)](_0x53a97f),this;}throw _0x176b4e[_0x753aa(0xef)];}catch(_0x545eee){return this[_0x753aa(0x1ef)]['error'](_0x545eee),this[_0x753aa(0x398)](!0x1);}}[_0x50553d(0x398)](_0x93603){var _0x2ba95b=_0x50553d;return this[_0x2ba95b(0x2b4)][_0x2ba95b(0xae)](_0x4357d9[_0x2ba95b(0x197)],this['unitID'],this[_0x2ba95b(0xb0)],null,[],this['_handler'],_0x93603);}[_0x50553d(0x388)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x50553d(0x355)](){var _0xb47594=_0x50553d;throw new Error(_0xb47594(0x3ae));}[_0x50553d(0x2a9)](){return this;}['toggleOffline'](){var _0x59337e=_0x50553d;return this[_0x59337e(0x2b4)][_0x59337e(0xae)](_0x4357d9[_0x59337e(0x145)],this[_0x59337e(0x253)],this[_0x59337e(0xb0)],null,[],this[_0x59337e(0x376)]);}[_0x50553d(0x16a)](){return this;}[_0x50553d(0x10d)](){var _0x311a86=_0x50553d;throw new Error(_0x311a86(0x1e9));}[_0x50553d(0x276)](){var _0x314072=_0x50553d;const _0x1d9422=this['_revisionService'][_0x314072(0x24e)](this[_0x314072(0x253)]);return this[_0x314072(0x376)]['onMissingChangesets']({'from':_0x1d9422,'to':0x0}),this[_0x314072(0x2b4)][_0x314072(0xae)](_0x4357d9['FetchingMissState'],this['unitID'],this['type'],null,[],null,[],this[_0x314072(0x376)]);}},_0x4357d9[_0x50553d(0x1cd)]=_0x5c336c([_0x52da48(0x3,_0xd1c211[_0x50553d(0x203)](_0x4f4dae[_0x50553d(0x3a1)])),_0x52da48(0x4,_0xd1c211[_0x50553d(0x203)](_0xd1c211['Injector'])),_0x52da48(0x5,_0xd1c211['IUndoRedoService']),_0x52da48(0x6,_0xd1c211['ICommandService']),_0x52da48(0x7,_0xd1c211[_0x50553d(0x34b)]),_0x52da48(0x8,_0x4f4dae[_0x50553d(0x2b1)]),_0x52da48(0x9,_0xd1c211[_0x50553d(0x1f8)](_0x5ce95d))],_0x4357d9[_0x50553d(0x1cd)]),_0x4357d9['PendingState']=class extends _0x48d9ca{constructor(_0x4ffa4d,_0x3398ee,_0x635732,_0x4a14ca,_0x135e5d,_0xd1b135,_0x5991ac,_0x4bdbb1,_0x90cd46,_0x17d24f,_0x28e614,_0x2d60c1,_0x20e388,_0x389c90){var _0x154ca8=_0x50553d;super(_0x4ffa4d,_0x3398ee,null,_0x635732,_0x4a14ca,_0x90cd46,_0x20e388,_0xd1b135,_0x389c90),_0x14235c(this,'status','pending'),_0x14235c(this,_0x154ca8(0x14c),null),_0x14235c(this,_0x154ca8(0x22b),null),(this[_0x154ca8(0x2b4)]=_0x135e5d,this[_0x154ca8(0x11b)]=_0x5991ac,this[_0x154ca8(0x1ef)]=_0x4bdbb1,this[_0x154ca8(0x1e4)]=_0x17d24f,this[_0x154ca8(0x158)]=_0x28e614,this[_0x154ca8(0xab)]=_0x2d60c1);}[_0x50553d(0x394)](_0x43d032){var _0x239768=_0x50553d;return this[_0x239768(0x89)][_0x239768(0x2b7)](_0x43d032),this[_0x239768(0x162)](),this;}[_0x50553d(0x3b7)](_0x3dd356){var _0x5758bf=_0x50553d;if(this[_0x5758bf(0xf3)](_0x3dd356))return this[_0x5758bf(0x308)](),this['_injector']['createInstance'](_0x4357d9[_0x5758bf(0x11a)],this[_0x5758bf(0x253)],this[_0x5758bf(0xb0)],null,this[_0x5758bf(0x89)],null,[_0x3dd356],this[_0x5758bf(0x376)]);try{const _0x5f51b7=this[_0x5758bf(0x158)]['transformMutationsWithChangeset'](_0x3dd356,this['_pendingMutations']);if(_0x4f4dae['isTransformMutationsWithChangesetSuccess'](_0x5f51b7)){const {c1Prime:_0x25f42c,m2Prime:_0x2299bf}=_0x5f51b7;this[_0x5758bf(0x6e)](_0x25f42c);const _0x234c06=this['_injector'][_0x5758bf(0xae)](_0x4357d9[_0x5758bf(0x32f)],this[_0x5758bf(0x253)],this[_0x5758bf(0xb0)],_0x2299bf,this[_0x5758bf(0x376)]);this[_0x5758bf(0x308)]();const _0x32360d=new Date()[_0x5758bf(0x346)](),_0x49792a=this[_0x5758bf(0x14c)]?Math[_0x5758bf(0x18f)](this['_scheduleCompleteTimestamp']-_0x32360d,0x0):this['_getSendChangesetTimeout']();return _0x234c06[_0x5758bf(0x3b5)](_0x49792a),_0x234c06;}throw _0x5f51b7[_0x5758bf(0xef)];}catch(_0x3cde13){return this[_0x5758bf(0x1ef)][_0x5758bf(0xef)](_0x3cde13),this[_0x5758bf(0x398)](!0x1);}}[_0x50553d(0x388)](){var _0x1a9195=_0x50553d;throw new Error(_0x1a9195(0x331));}['onRemoteRej'](){var _0x5152cf=_0x50553d;throw new Error(_0x5152cf(0xfb));}[_0x50553d(0x2a9)](){return this;}[_0x50553d(0xf8)](){var _0x538f5a=_0x50553d;return this[_0x538f5a(0x308)](),this[_0x538f5a(0x2b4)]['createInstance'](_0x4357d9[_0x538f5a(0x145)],this['unitID'],this[_0x538f5a(0xb0)],null,this[_0x538f5a(0x89)],this[_0x538f5a(0x376)]);}[_0x50553d(0x16a)](){return this;}[_0x50553d(0x3b5)](_0x10b3d4){var _0x23b6ba=_0x50553d;const _0x47a723=_0x10b3d4!=null?_0x10b3d4:this[_0x23b6ba(0xbc)]();this[_0x23b6ba(0x14c)]=new Date()['getTime']()+_0x47a723,this['_sendingTimer']=setTimeout(()=>{var _0x924b4b=_0x23b6ba;this[_0x924b4b(0x308)]();let _0x2b0822=null;switch(this['type']){case _0x1dcecf[_0x924b4b(0x180)]:{_0x2b0822=_0x5bc9c0(this[_0x924b4b(0x89)],this[_0x924b4b(0x253)],this['_univerInstanceService'],this[_0x924b4b(0x173)],this['_memberService']);break;}case _0x1dcecf[_0x924b4b(0x372)]:{this[_0x924b4b(0x89)][_0x924b4b(0x2bb)](_0x1ecebb=>_0x1ecebb['id']===_0x4b3765[_0x924b4b(0x16d)]['id'])?_0x2b0822=_0x57efe7(this[_0x924b4b(0x89)],this['unitID'],this[_0x924b4b(0xab)],this['_revisionService'],this['_memberService']):_0x2b0822=_0x5bc9c0(this[_0x924b4b(0x89)],this[_0x924b4b(0x253)],this[_0x924b4b(0xab)],this[_0x924b4b(0x173)],this[_0x924b4b(0x11b)]);break;}default:throw new Error(_0x924b4b(0x131)+this['type']+_0x924b4b(0x219));}const {changeset:_0x2bdca8,pendingMutations:_0x1fc7b1}=_0x2b0822;this[_0x924b4b(0x376)]['onSendChangeset'](_0x2bdca8);const _0x24cc32=_0x1fc7b1[_0x924b4b(0x3ca)]?this[_0x924b4b(0x2b4)]['createInstance'](_0x4357d9[_0x924b4b(0x1eb)],this['unitID'],this[_0x924b4b(0xb0)],_0x2bdca8,_0x1fc7b1,this[_0x924b4b(0x376)],void 0x0):this[_0x924b4b(0x2b4)][_0x924b4b(0xae)](_0x4357d9['AwaitingState'],this[_0x924b4b(0x253)],this['type'],_0x2bdca8,this[_0x924b4b(0x376)]);_0x24cc32[_0x924b4b(0x162)](),this[_0x924b4b(0x376)][_0x924b4b(0x337)](this,_0x24cc32);},_0x47a723);}[_0x50553d(0xbc)](){var _0x5e1598=_0x50553d,_0x5c214f;const _0x727a4d=this[_0x5e1598(0x1e4)][_0x5e1598(0x23f)](_0x47a3ce);return(_0x5c214f=_0x727a4d==null?void 0x0:_0x727a4d[_0x5e1598(0xc4)])!=null?_0x5c214f:0x7d0;}[_0x50553d(0x10d)](){var _0x235b0c=_0x50553d;throw new Error(_0x235b0c(0x136));}[_0x50553d(0x308)](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x50553d(0x398)](_0x32390e){var _0x5a5e04=_0x50553d;return this[_0x5a5e04(0x308)](),this[_0x5a5e04(0x2b4)][_0x5a5e04(0xae)](_0x4357d9[_0x5a5e04(0x197)],this[_0x5a5e04(0x253)],this[_0x5a5e04(0xb0)],null,this[_0x5a5e04(0x89)],this['_handler'],_0x32390e);}},_0x4357d9[_0x50553d(0x32f)]=_0x5c336c([_0x52da48(0x4,_0xd1c211['Inject'](_0xd1c211[_0x50553d(0x18e)])),_0x52da48(0x5,_0xd1c211[_0x50553d(0x203)](_0x4f4dae[_0x50553d(0x3a1)])),_0x52da48(0x6,_0xd1c211['Inject'](_0x4357d9[_0x50553d(0x2db)])),_0x52da48(0x7,_0xd1c211['ILogService']),_0x52da48(0x8,_0xd1c211[_0x50553d(0xe7)]),_0x52da48(0x9,_0xd1c211[_0x50553d(0x334)]),_0x52da48(0xa,_0x4f4dae[_0x50553d(0x2b1)]),_0x52da48(0xb,_0xd1c211[_0x50553d(0xad)]),_0x52da48(0xc,_0xd1c211[_0x50553d(0x1ed)]),_0x52da48(0xd,_0xd1c211[_0x50553d(0x1f8)](_0x5ce95d))],_0x4357d9[_0x50553d(0x32f)]),_0x4357d9[_0x50553d(0x1f3)]=class extends _0x48d9ca{constructor(_0x27f0db,_0x1f5774,_0x2add47,_0x112bd1,_0x31f7ea,_0x2943a2,_0x5c39e9,_0x4b8d,_0x124af1,_0x218d02,_0x3d636c){var _0x516904=_0x50553d;super(_0x27f0db,_0x1f5774,_0x2add47,[],_0x112bd1,_0x5c39e9,_0x218d02,_0x2943a2,_0x3d636c),_0x14235c(this,_0x516904(0x374),_0x516904(0x26c)),_0x14235c(this,_0x516904(0x1b2),0x0),_0x14235c(this,'_resendTimer'),_0x14235c(this,_0x516904(0x2a5)),(this['_injector']=_0x31f7ea,this[_0x516904(0x1ef)]=_0x4b8d,this['_transformService']=_0x124af1);}['appendMutation'](_0x2408e5){var _0x1c33fe=_0x50553d;this[_0x1c33fe(0x308)]();const _0x5350c8=this[_0x1c33fe(0x2b4)][_0x1c33fe(0xae)](_0x4357d9[_0x1c33fe(0x1eb)],this[_0x1c33fe(0x253)],this[_0x1c33fe(0xb0)],this[_0x1c33fe(0x187)],[_0x2408e5],this[_0x1c33fe(0x376)],this[_0x1c33fe(0x1a1)]);return _0x5350c8[_0x1c33fe(0x162)](),_0x5350c8;}[_0x50553d(0x3b7)](_0x1d9626){var _0x40a128=_0x50553d;if(this[_0x40a128(0xf3)](_0x1d9626))return this[_0x40a128(0x308)](),this[_0x40a128(0x2b4)]['createInstance'](_0x4357d9[_0x40a128(0x11a)],this['unitID'],this[_0x40a128(0xb0)],this[_0x40a128(0x187)],[],null,[_0x1d9626],this[_0x40a128(0x376)]);try{const _0x32a1bd=this[_0x40a128(0x158)]['transformChangesets']([_0x1d9626],[this[_0x40a128(0x187)]],!0x1);if(_0x4f4dae[_0x40a128(0x37d)](_0x32a1bd)){const {c1Prime:_0x56d82b,c2Prime:_0x36a171}=_0x32a1bd;this[_0x40a128(0x6e)](_0x56d82b[0x0]),_0x36a171[0x0][_0x40a128(0x71)]=this[_0x40a128(0x16e)](),this[_0x40a128(0x308)]();const _0x24eac3=this[_0x40a128(0x2b4)][_0x40a128(0xae)](_0x4357d9[_0x40a128(0x1f3)],this[_0x40a128(0x253)],this[_0x40a128(0xb0)],_0x36a171[0x0],this[_0x40a128(0x376)]);return _0x24eac3[_0x40a128(0x162)](),_0x24eac3;}return this['_onConflict'](!0x1);}catch(_0x5450c3){return this[_0x40a128(0x1ef)]['error'](_0x5450c3),this[_0x40a128(0x398)](!0x1);}}[_0x50553d(0x388)](_0x21bd25){var _0x14f09e=_0x50553d;this['_clearScheduledTask']();const _0x1396dc=this[_0x14f09e(0x173)][_0x14f09e(0x24e)](this['unitID']);if(_0x21bd25['revision']<_0x1396dc-0x1)return this;if(this[_0x14f09e(0xf3)](_0x21bd25))return this['_injector'][_0x14f09e(0xae)](_0x4357d9[_0x14f09e(0x11a)],this[_0x14f09e(0x253)],this[_0x14f09e(0xb0)],null,[],this[_0x14f09e(0x187)],[],this[_0x14f09e(0x376)]);this[_0x14f09e(0x132)]();const _0x3d34cd=this[_0x14f09e(0x2b4)][_0x14f09e(0xae)](_0x4357d9[_0x14f09e(0x1cd)],this[_0x14f09e(0x253)],this[_0x14f09e(0xb0)],this[_0x14f09e(0x376)]);return _0x3d34cd[_0x14f09e(0x162)](),_0x3d34cd;}[_0x50553d(0x355)](_0x1889da){var _0x47f084=_0x50553d;return this[_0x47f084(0x398)](!!(_0x1889da!=null&&_0x1889da[_0x47f084(0x361)]));}[_0x50553d(0x2a9)](_0x3ca064){var _0x1d5791=_0x50553d;return this[_0x1d5791(0x1b2)]>_0x418219?this[_0x1d5791(0xf8)]():(this[_0x1d5791(0x1a1)]=_0xaca1bd(this[_0x1d5791(0x1b2)],{'timeout':this[_0x1d5791(0x1b2)],'reqId':_0x3ca064[_0x1d5791(0x2f3)]}),this[_0x1d5791(0x2a5)]=this[_0x1d5791(0x1a1)][_0x1d5791(0x286)](({reqId:_0x359fe3,timeout:_0x27d591})=>{var _0x561b84=_0x1d5791;this[_0x561b84(0x2cf)](_0x359fe3,_0x27d591);}),this);}['toggleOffline'](){var _0x41c258=_0x50553d;return this[_0x41c258(0x308)](),this['_injector']['createInstance'](_0x4357d9[_0x41c258(0x145)],this[_0x41c258(0x253)],this[_0x41c258(0xb0)],this[_0x41c258(0x187)],[],this[_0x41c258(0x376)]);}[_0x50553d(0x16a)](){return this;}[_0x50553d(0x10d)](){var _0x51a344=_0x50553d;this[_0x51a344(0x376)][_0x51a344(0x107)](this['_awaitingChangeset']);}[_0x50553d(0x398)](_0x112acf){var _0x182368=_0x50553d;return this[_0x182368(0x308)](),this['_injector'][_0x182368(0xae)](_0x4357d9[_0x182368(0x197)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x182368(0x376)],_0x112acf);}[_0x50553d(0x2cf)](_0x54a06d,_0x121ccb){var _0x224967=_0x50553d,_0x16cc6e;_0x54a06d===((_0x16cc6e=this[_0x224967(0x187)])==null?void 0x0:_0x16cc6e['reqId'])&&(this[_0x224967(0x10d)](),this['_resendTimeout']=_0x121ccb===0x0?0x3e8:_0x121ccb*0x2);}[_0x50553d(0x308)](){var _0x591e52;(_0x591e52=this['_sender'])==null||_0x591e52['unsubscribe'](),this['_resendTimeout']=0x0;}},_0x4357d9[_0x50553d(0x1f3)]=_0x5c336c([_0x52da48(0x4,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x18e)])),_0x52da48(0x5,_0xd1c211[_0x50553d(0x203)](_0x4f4dae[_0x50553d(0x3a1)])),_0x52da48(0x6,_0xd1c211[_0x50553d(0xe7)]),_0x52da48(0x7,_0xd1c211['ILogService']),_0x52da48(0x8,_0x4f4dae['ITransformService']),_0x52da48(0x9,_0xd1c211[_0x50553d(0x1ed)]),_0x52da48(0xa,_0xd1c211['Optional'](_0x5ce95d))],_0x4357d9['AwaitingState']),_0x4357d9[_0x50553d(0x1eb)]=class extends _0x48d9ca{constructor(_0x1c893a,_0x518e12,_0x1259dc,_0xd83ee4,_0x1d9ad9,_0x531d2e,_0xf25f8e,_0x4ec9de,_0x4107b8,_0x49f664,_0x49012c,_0x404f38,_0x1e4a83){var _0x15691c=_0x50553d;super(_0x1c893a,_0x518e12,_0x1259dc,_0xd83ee4,_0x1d9ad9,_0x4107b8,_0x404f38,_0x4ec9de,_0x1e4a83),_0x14235c(this,_0x15691c(0x374),'awaiting_with_pending'),_0x14235c(this,_0x15691c(0x1b2),0x0),_0x14235c(this,_0x15691c(0x1a1)),_0x14235c(this,_0x15691c(0x2a5)),(this[_0x15691c(0x2b4)]=_0xf25f8e,this[_0x15691c(0x1ef)]=_0x49f664,this[_0x15691c(0x158)]=_0x49012c,this['localCacheService']=_0x1e4a83,_0x531d2e&&(this[_0x15691c(0x1a1)]=_0x531d2e,this[_0x15691c(0x2a5)]=this[_0x15691c(0x1a1)]['subscribe'](({reqId:_0x399e13,timeout:_0x4d56c6})=>{var _0x57cd26=_0x15691c;this[_0x57cd26(0x2cf)](_0x399e13,_0x4d56c6);})));}[_0x50553d(0x394)](_0x48de51){var _0x27ec17=_0x50553d;return this['_pendingMutations'][_0x27ec17(0x2b7)](_0x48de51),this;}[_0x50553d(0x3b7)](_0xc197f8){var _0x8f3899=_0x50553d;if(this[_0x8f3899(0xf3)](_0xc197f8))return this[_0x8f3899(0x308)](),this[_0x8f3899(0x2b4)][_0x8f3899(0xae)](_0x4357d9[_0x8f3899(0x11a)],this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x8f3899(0x89)],null,[_0xc197f8],this['_handler']);try{const _0x11386d=this['_transformService'][_0x8f3899(0xd8)]([_0xc197f8],[this['_awaitingChangeset']],!0x1);if(_0x4f4dae[_0x8f3899(0x37d)](_0x11386d)){const {c1Prime:_0x4cd220,c2Prime:_0x56d232}=_0x11386d,_0x4b03c5=this[_0x8f3899(0x158)]['transformMutationsWithChangeset'](_0x4cd220[0x0],this['_pendingMutations']);if(_0x4f4dae[_0x8f3899(0x1d2)](_0x4b03c5)){const {c1Prime:_0x415ba7,m2Prime:_0x1d5e22}=_0x4b03c5;return this[_0x8f3899(0x6e)](_0x415ba7),_0x56d232[0x0][_0x8f3899(0x71)]=this['_getCurrentRevision'](),this[_0x8f3899(0x308)](),this['_injector']['createInstance'](_0x4357d9[_0x8f3899(0x1eb)],this[_0x8f3899(0x253)],this['type'],_0x56d232[0x0],_0x1d5e22,this[_0x8f3899(0x376)],void 0x0);}throw _0x4b03c5['error'];}throw _0x11386d[_0x8f3899(0xef)];}catch(_0x421a8c){return this['_logService'][_0x8f3899(0xef)](_0x421a8c),this[_0x8f3899(0x398)](!0x1);}}[_0x50553d(0x388)](_0x11e151){var _0x1613e8=_0x50553d;if(this[_0x1613e8(0x308)](),this[_0x1613e8(0xf3)](_0x11e151))return this[_0x1613e8(0x2b4)][_0x1613e8(0xae)](_0x4357d9[_0x1613e8(0x11a)],this[_0x1613e8(0x253)],this[_0x1613e8(0xb0)],null,this['_pendingMutations'],this[_0x1613e8(0x187)],[],this['_handler']);this[_0x1613e8(0x132)]();const _0x8ead0c=this[_0x1613e8(0x2b4)][_0x1613e8(0xae)](_0x4357d9[_0x1613e8(0x32f)],this[_0x1613e8(0x253)],this['type'],this['_pendingMutations'],this[_0x1613e8(0x376)]);return _0x8ead0c[_0x1613e8(0x3b5)](),_0x8ead0c[_0x1613e8(0x162)](),_0x8ead0c;}[_0x50553d(0x355)](_0x3a3f17){var _0xdb7f04=_0x50553d;return this[_0xdb7f04(0x398)](!!(_0x3a3f17!=null&&_0x3a3f17[_0xdb7f04(0x361)]));}['onRemoteRetry'](_0x1e1024){var _0x431449=_0x50553d;return this[_0x431449(0x1b2)]>_0x418219?this[_0x431449(0xf8)]():(this[_0x431449(0x1a1)]=_0xaca1bd(this[_0x431449(0x1b2)],{'timeout':this['_resendTimeout'],'reqId':_0x1e1024[_0x431449(0x2f3)]}),this[_0x431449(0x2a5)]=this[_0x431449(0x1a1)]['subscribe'](({reqId:_0x38d776,timeout:_0xdd67})=>{var _0x32e398=_0x431449;this[_0x32e398(0x2cf)](_0x38d776,_0xdd67);}),this);}[_0x50553d(0xf8)](){var _0x3c70b0=_0x50553d;return this['_clearScheduledTask'](),this[_0x3c70b0(0x2b4)][_0x3c70b0(0xae)](_0x4357d9[_0x3c70b0(0x145)],this[_0x3c70b0(0x253)],this[_0x3c70b0(0xb0)],this[_0x3c70b0(0x187)],this['_pendingMutations'],this[_0x3c70b0(0x376)]);}[_0x50553d(0x16a)](){return this;}['resend'](){var _0x46e304=_0x50553d;this['_handler']['onSendChangeset'](this[_0x46e304(0x187)]);}[_0x50553d(0x398)](_0x51e07a){var _0x263567=_0x50553d;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x4357d9[_0x263567(0x197)],this['unitID'],this['type'],null,this[_0x263567(0x89)],this[_0x263567(0x376)],_0x51e07a);}[_0x50553d(0x2cf)](_0x5f156e,_0x5d1c42){var _0x1ee823=_0x50553d,_0x25b336;_0x5f156e===((_0x25b336=this[_0x1ee823(0x187)])==null?void 0x0:_0x25b336[_0x1ee823(0x2f3)])&&(this['resend'](),this[_0x1ee823(0x1b2)]=_0x5d1c42===0x0?0x3e8:_0x5d1c42*0x2);}[_0x50553d(0x308)](){var _0x4e8442=_0x50553d,_0x1a9b97;(_0x1a9b97=this['_sender'])==null||_0x1a9b97[_0x4e8442(0x251)](),this['_resendTimeout']=0x0;}},_0x4357d9[_0x50553d(0x1eb)]=_0x5c336c([_0x52da48(0x6,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x18e)])),_0x52da48(0x7,_0xd1c211[_0x50553d(0x203)](_0x4f4dae[_0x50553d(0x3a1)])),_0x52da48(0x8,_0xd1c211[_0x50553d(0xe7)]),_0x52da48(0x9,_0xd1c211[_0x50553d(0x34b)]),_0x52da48(0xa,_0x4f4dae[_0x50553d(0x2b1)]),_0x52da48(0xb,_0xd1c211['IUndoRedoService']),_0x52da48(0xc,_0xd1c211[_0x50553d(0x1f8)](_0x5ce95d))],_0x4357d9['AwaitingWithPendingState']),_0x4357d9['ConflictState']=class extends _0x48d9ca{constructor(_0x257265,_0x393493,_0x37b3c8,_0x34ede6,_0xe734a5,_0xdf1448=!0x1,_0x32aa5b,_0x4d7e04,_0x287748,_0x5025d3,_0x286283,_0x46b84b,_0x20ba8a){var _0x21ddd9=_0x50553d;super(_0x257265,_0x393493,_0x37b3c8,_0x34ede6,_0xe734a5,_0x4d7e04,_0x287748,_0x5025d3,_0x20ba8a),_0x14235c(this,_0x21ddd9(0x374),_0x21ddd9(0x225)),(this[_0x21ddd9(0xc0)]=_0xdf1448,this[_0x21ddd9(0x3e5)]=_0x32aa5b,this[_0x21ddd9(0x20b)]=_0x286283,this['_collaborationUIEventService']=_0x46b84b,this['localCacheService']=_0x20ba8a,this[_0x21ddd9(0x1d3)](),this[_0x21ddd9(0x3ba)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x50553d(0x3b7)](){return this;}[_0x50553d(0x388)](){return this;}['onRemoteRej'](){return this;}[_0x50553d(0x2a9)](){return this;}[_0x50553d(0xf8)](){return this;}[_0x50553d(0x16a)](){return this;}[_0x50553d(0x10d)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x50553d(0x3ba)](){var _0x4abb93=_0x50553d,_0x51a77f;(_0x51a77f=this['_localCacheService'])==null||_0x51a77f[_0x4abb93(0xc8)](this['unitID'],this[_0x4abb93(0xb0)],null,[]);}['_showConflictNotification'](){var _0x22bda3=_0x50553d;this[_0x22bda3(0xc0)]?this['_collaborationUIEventService'][_0x22bda3(0x260)]({'id':_0x4b9b27[_0x22bda3(0x101)]}):this[_0x22bda3(0x14b)]['emitEvent']({'id':_0x4b9b27[_0x22bda3(0x2be)]});}[_0x50553d(0x3ea)](){var _0x3722d8=_0x50553d;this['_permissionService'][_0x3722d8(0x13b)](new _0x4caa0[(_0x3722d8(0x2e6))](this[_0x3722d8(0x253)])['id'],!0x1);}},_0x4357d9[_0x50553d(0x197)]=_0x5c336c([_0x52da48(0x6,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x3be)])),_0x52da48(0x7,_0xd1c211[_0x50553d(0xe7)]),_0x52da48(0x8,_0xd1c211[_0x50553d(0x1ed)]),_0x52da48(0x9,_0xd1c211[_0x50553d(0x203)](_0x4f4dae[_0x50553d(0x3a1)])),_0x52da48(0xa,_0xd1c211['Inject'](_0xd1c211[_0x50553d(0x185)])),_0x52da48(0xb,_0xd1c211[_0x50553d(0x203)](_0x5114c1)),_0x52da48(0xc,_0xd1c211[_0x50553d(0x1f8)](_0x5ce95d))],_0x4357d9[_0x50553d(0x197)]),_0x4357d9['OfflineState']=class extends _0x48d9ca{constructor(_0x1d888b,_0xd5fb0d,_0xf0ee23,_0x45113a,_0xcc2ac4,_0x358f9e,_0x268a8e,_0x55f42f,_0x2cd029,_0x5d7a34){var _0x58889a=_0x50553d;super(_0x1d888b,_0xd5fb0d,_0xf0ee23,_0x45113a,_0xcc2ac4,_0x55f42f,_0x2cd029,_0x268a8e,_0x5d7a34),_0x14235c(this,_0x58889a(0x374),_0x58889a(0x13e)),this[_0x58889a(0x2b4)]=_0x358f9e;}['appendMutation'](_0x1e88f9){var _0x58eebd=_0x50553d;return this['_pendingMutations'][_0x58eebd(0x2b7)](_0x1e88f9),this[_0x58eebd(0x162)](),this;}[_0x50553d(0x3b7)](_0x39e2b6){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x50553d(0x388)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x50553d(0x355)](){var _0x260604=_0x50553d;throw new Error(_0x260604(0x1a6));}[_0x50553d(0x2a9)](){return this;}[_0x50553d(0xf8)](){return this;}['toggleOnline'](){var _0x576f1f=_0x50553d;const {_injector:_0x9d1f97,_pendingMutations:_0x4682f5,_awaitingChangeset:_0x31092f,unitID:_0x30cc35,_handler:_0x3cd391,type:_0x1f58d0}=this,_0x31c1d3=_0xa749f2(_0x9d1f97,_0x30cc35,_0x1f58d0,_0x31092f,_0x4682f5,_0x3cd391);return _0x31c1d3 instanceof _0x4357d9[_0x576f1f(0x32f)]?_0x31c1d3[_0x576f1f(0x3b5)]():(_0x31c1d3 instanceof _0x4357d9['AwaitingWithPendingState']||_0x31c1d3 instanceof _0x4357d9[_0x576f1f(0x1f3)])&&_0x31c1d3[_0x576f1f(0x10d)](),_0x31c1d3;}[_0x50553d(0x10d)](){var _0x506818=_0x50553d;throw new Error(_0x506818(0x34c));}},_0x4357d9[_0x50553d(0x145)]=_0x5c336c([_0x52da48(0x5,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x18e)])),_0x52da48(0x6,_0xd1c211[_0x50553d(0x203)](_0x4f4dae[_0x50553d(0x3a1)])),_0x52da48(0x7,_0xd1c211[_0x50553d(0xe7)]),_0x52da48(0x8,_0xd1c211[_0x50553d(0x1ed)]),_0x52da48(0x9,_0xd1c211[_0x50553d(0x1f8)](_0x5ce95d))],_0x4357d9['OfflineState']),_0x4357d9[_0x50553d(0x11a)]=class extends _0x48d9ca{constructor(_0x229f3e,_0x3a1592,_0x373425,_0x53dd8a,_0x5a63d4,_0x18ebea,_0x298855,_0x526709,_0x4d2e0f,_0x138cc7,_0x1d695c,_0x189862,_0x3e3d00,_0x2cbb94){var _0xecc6d1=_0x50553d;super(_0x229f3e,_0x3a1592,_0x373425,_0x53dd8a,_0x298855,_0x1d695c,_0x189862,_0x4d2e0f,_0x2cbb94),_0x14235c(this,'status',_0xecc6d1(0x199)),(this[_0xecc6d1(0x2ac)]=_0x5a63d4,this['_queuedRemoteChangesets']=_0x18ebea,this[_0xecc6d1(0x2b4)]=_0x526709,this['_logService']=_0x138cc7,this[_0xecc6d1(0x158)]=_0x3e3d00,this[_0xecc6d1(0x2d1)]=_0x2cbb94);}[_0x50553d(0x6c)](_0x5946b8){var _0x3757f3=_0x50553d;try{const _0x186d53=[..._0x5946b8,...this[_0x3757f3(0x324)]],_0x265976=[this[_0x3757f3(0x187)]||this[_0x3757f3(0x2ac)]][_0x3757f3(0x17e)](_0x733fde=>!!_0x733fde);let _0x301ed2,_0x38a5b2;if(_0x265976[_0x3757f3(0x3ca)]){const _0x4f663e=this[_0x3757f3(0x158)]['transformChangesets'](_0x186d53,_0x265976,!0x1);if(!_0x4f4dae[_0x3757f3(0x37d)](_0x4f663e))throw _0x4f663e['error'];_0x301ed2=_0x4f663e[_0x3757f3(0x83)],_0x38a5b2=_0x4f663e[_0x3757f3(0x228)];}else _0x301ed2=_0x186d53,_0x38a5b2=[];let _0x4af24f=this[_0x3757f3(0x89)];_0x301ed2['forEach'](_0x41e695=>{var _0x2aa59a=_0x3757f3;let _0x513523;if(_0x4af24f[_0x2aa59a(0x3ca)]){const _0x30d7de=this[_0x2aa59a(0x158)][_0x2aa59a(0x305)](_0x41e695,_0x4af24f);if(!_0x4f4dae[_0x2aa59a(0x1d2)](_0x30d7de))throw _0x30d7de[_0x2aa59a(0xef)];_0x513523=_0x30d7de['c1Prime'],_0x4af24f=_0x30d7de['m2Prime'];}else _0x513523=_0x41e695;this[_0x2aa59a(0x6e)](_0x513523);}),this[_0x3757f3(0x2ac)]&&this['_incrementRevisionNumber'](),this[_0x3757f3(0x187)]&&_0x38a5b2[_0x3757f3(0x3ca)]&&(_0x38a5b2[0x0][_0x3757f3(0x71)]=this[_0x3757f3(0x16e)]());let _0x148c72;if(this[_0x3757f3(0x187)]&&_0x4af24f[_0x3757f3(0x3ca)]!==0x0)_0x148c72=this['_injector'][_0x3757f3(0xae)](_0x4357d9[_0x3757f3(0x1eb)],this[_0x3757f3(0x253)],this[_0x3757f3(0xb0)],_0x38a5b2[0x0],_0x4af24f,this[_0x3757f3(0x376)],void 0x0);else{if(this['_awaitingChangeset']&&_0x4af24f[_0x3757f3(0x3ca)]===0x0)_0x38a5b2[0x0][_0x3757f3(0x71)]=this[_0x3757f3(0x16e)](),_0x148c72=this['_injector'][_0x3757f3(0xae)](_0x4357d9['AwaitingState'],this['unitID'],this['type'],_0x38a5b2[0x0],this[_0x3757f3(0x376)]);else{if(_0x4af24f['length']!==0x0){const _0x3d7aaf=this[_0x3757f3(0x2b4)][_0x3757f3(0xae)](_0x4357d9[_0x3757f3(0x32f)],this[_0x3757f3(0x253)],this[_0x3757f3(0xb0)],_0x4af24f,this[_0x3757f3(0x376)]);_0x3d7aaf[_0x3757f3(0x3b5)](),_0x148c72=_0x3d7aaf;}else _0x148c72=this[_0x3757f3(0x2b4)][_0x3757f3(0xae)](_0x4357d9[_0x3757f3(0x1cd)],this[_0x3757f3(0x253)],this[_0x3757f3(0xb0)],this['_handler']);}}return _0x148c72['_updateLocalCache'](),_0x148c72;}catch(_0x279165){return this[_0x3757f3(0x1ef)][_0x3757f3(0xef)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x279165),this[_0x3757f3(0x2b4)][_0x3757f3(0xae)](_0x4357d9[_0x3757f3(0x197)],this[_0x3757f3(0x253)],this['type'],this[_0x3757f3(0x187)],this['_pendingMutations'],this[_0x3757f3(0x376)],!0x1);}}['resend'](){var _0x45a06f=_0x50553d;throw new Error(_0x45a06f(0x76));}[_0x50553d(0x394)](_0x165727){var _0x31ba92=_0x50553d;return this[_0x31ba92(0x89)][_0x31ba92(0x2b7)](_0x165727),this;}[_0x50553d(0x3b7)](_0x285ab9){return this['_queuedRemoteChangesets']['push'](_0x285ab9),this;}[_0x50553d(0x388)](_0x4ae788){var _0x4934e6=_0x50553d;if(this[_0x4934e6(0x187)])return this[_0x4934e6(0x2ac)]=this[_0x4934e6(0x187)],this[_0x4934e6(0x187)]=null,this;throw new Error(_0x4934e6(0x1b6));}[_0x50553d(0x355)](_0x3fbca6){var _0x273525=_0x50553d;return this[_0x273525(0x398)](!!(_0x3fbca6!=null&&_0x3fbca6[_0x273525(0x361)]));}[_0x50553d(0x2a9)](){return this;}[_0x50553d(0xf8)](){var _0x1b77fb=_0x50553d;return this[_0x1b77fb(0x2b4)][_0x1b77fb(0xae)](_0x4357d9['OfflineState'],this[_0x1b77fb(0x253)],this[_0x1b77fb(0xb0)],this[_0x1b77fb(0x187)],this[_0x1b77fb(0x89)],this[_0x1b77fb(0x376)]);}[_0x50553d(0x16a)](){return this;}['_onConflict'](_0x4b2f58){var _0x2437a8=_0x50553d;return this[_0x2437a8(0x2b4)][_0x2437a8(0xae)](_0x4357d9[_0x2437a8(0x197)],this[_0x2437a8(0x253)],this[_0x2437a8(0xb0)],this[_0x2437a8(0x187)],this[_0x2437a8(0x89)],this[_0x2437a8(0x376)],_0x4b2f58);}},_0x4357d9[_0x50553d(0x11a)]=_0x5c336c([_0x52da48(0x7,_0xd1c211['Inject'](_0xd1c211[_0x50553d(0x18e)])),_0x52da48(0x8,_0xd1c211['Inject'](_0x4f4dae['RevisionService'])),_0x52da48(0x9,_0xd1c211[_0x50553d(0x34b)]),_0x52da48(0xa,_0xd1c211[_0x50553d(0xe7)]),_0x52da48(0xb,_0xd1c211[_0x50553d(0x1ed)]),_0x52da48(0xc,_0x4f4dae[_0x50553d(0x2b1)]),_0x52da48(0xd,_0xd1c211['Optional'](_0x5ce95d))],_0x4357d9[_0x50553d(0x11a)]);function _0xa749f2(_0x9177bf,_0x982218,_0x1d043f,_0x19ffc1,_0x2c35cb,_0x466966){var _0x5dc993=_0x50553d;return _0x19ffc1&&_0x2c35cb[_0x5dc993(0x3ca)]?_0x9177bf['createInstance'](_0x4357d9[_0x5dc993(0x1eb)],_0x982218,_0x1d043f,_0x19ffc1,_0x2c35cb,_0x466966,void 0x0):_0x19ffc1?_0x9177bf[_0x5dc993(0xae)](_0x4357d9['AwaitingState'],_0x982218,_0x1d043f,_0x19ffc1,_0x466966):_0x2c35cb[_0x5dc993(0x3ca)]?_0x9177bf[_0x5dc993(0xae)](_0x4357d9[_0x5dc993(0x32f)],_0x982218,_0x1d043f,_0x2c35cb,_0x466966):_0x9177bf[_0x5dc993(0xae)](_0x4357d9[_0x5dc993(0x1cd)],_0x982218,_0x1d043f,_0x466966);}var _0x12179a=Object[_0x50553d(0x235)],_0x5d3fbe=Object[_0x50553d(0x378)],_0x143640=(_0x3a329c,_0x1d070f,_0x1b2288,_0x531fe2)=>{var _0x2abfd7=_0x50553d;for(var _0x45c4e3=_0x531fe2>0x1?void 0x0:_0x531fe2?_0x5d3fbe(_0x1d070f,_0x1b2288):_0x1d070f,_0x5130d4=_0x3a329c[_0x2abfd7(0x3ca)]-0x1,_0x2d14fc;_0x5130d4>=0x0;_0x5130d4--)(_0x2d14fc=_0x3a329c[_0x5130d4])&&(_0x45c4e3=(_0x531fe2?_0x2d14fc(_0x1d070f,_0x1b2288,_0x45c4e3):_0x2d14fc(_0x45c4e3))||_0x45c4e3);return _0x531fe2&&_0x45c4e3&&_0x12179a(_0x1d070f,_0x1b2288,_0x45c4e3),_0x45c4e3;},_0x3c8ad1=(_0x526511,_0x28f626)=>(_0x345c41,_0x477ec7)=>_0x28f626(_0x345c41,_0x477ec7,_0x526511);_0x4357d9[_0x50553d(0x17b)]=class extends _0xd1c211[_0x50553d(0x1da)]{constructor(_0x4e3177,_0x148888,_0x5f2f79,_0x470390,_0xdf4b1d,_0x3695f1,_0x3fd659,_0x5558ae,_0x58913c,_0xeb6a3b,_0x257be5,_0x50ecd0,_0x5dbbae){var _0x5cfe0f=_0x50553d;super(),_0x14235c(this,'_state$',new _0x2bac45[(_0x5cfe0f(0x349))](null)),_0x14235c(this,_0x5cfe0f(0xd4),this[_0x5cfe0f(0x263)][_0x5cfe0f(0xe6)]()),_0x14235c(this,'_state'),_0x14235c(this,_0x5cfe0f(0x332),!0x1),_0x14235c(this,_0x5cfe0f(0x21f),''),_0x14235c(this,_0x5cfe0f(0x3af),0x0),_0x14235c(this,_0x5cfe0f(0xe3),this[_0x5cfe0f(0xd4)][_0x5cfe0f(0xec)](_0x2bac45[_0x5cfe0f(0x171)](_0x3a55cc=>_0x3a55cc?_0x3a55cc['status']:_0xad4d37[_0x5cfe0f(0x133)]),_0x2bac45[_0x5cfe0f(0x274)](0x1))),_0x14235c(this,_0x5cfe0f(0x256),!0x1),_0x14235c(this,_0x5cfe0f(0x304),[]),(this['unitID']=_0x4e3177,this[_0x5cfe0f(0x16f)]=_0x148888,this[_0x5cfe0f(0x3eb)]=_0x5f2f79,this['_injector']=_0x470390,this[_0x5cfe0f(0x3b4)]=_0xdf4b1d,this[_0x5cfe0f(0x20b)]=_0x3695f1,this['_revisionService']=_0x3fd659,this['_eventService']=_0x5558ae,this[_0x5cfe0f(0x1ef)]=_0x58913c,this[_0x5cfe0f(0xac)]=_0xeb6a3b,this[_0x5cfe0f(0x3e5)]=_0x257be5,this['_singleActiveUnitService']=_0x50ecd0,this[_0x5cfe0f(0x1be)]=_0x5dbbae);}get[_0x50553d(0x24b)](){var _0x156352=_0x50553d;return this[_0x156352(0x209)];}async[_0x50553d(0x150)](){var _0x15cf62=_0x50553d;if(this[_0x15cf62(0x24b)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x15cf62(0x115)]();}[_0x50553d(0x1b4)](){var _0x5bf354=_0x50553d;return this[_0x5bf354(0x332)]=!0x0,_0xd1c211['toDisposable'](()=>{var _0x1ecbcf=_0x5bf354;this[_0x1ecbcf(0x332)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x50553d(0x20e)](_0x2f4991){var _0xb56ea8=_0x50553d;this[_0xb56ea8(0xe5)](_0x2f4991);}[_0x50553d(0x315)](_0x3b2253){var _0x146e0d=_0x50553d;this[_0x146e0d(0x209)]=_0x3b2253,this['_state$'][_0x146e0d(0x15e)](_0x3b2253);}async[_0x50553d(0x115)](){var _0x3d725a=_0x50553d,_0x1f2760;this[_0x3d725a(0x315)](await this[_0x3d725a(0x371)]()),this[_0x3d725a(0x1f4)]&&((_0x1f2760=this['_singleActiveUnitService'])==null||_0x1f2760[_0x3d725a(0x362)](this['unitID']),this[_0x3d725a(0xf0)](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x3d725a(0x286)](_0x4c9822=>{var _0x3e1bf7=_0x3d725a;this[_0x3e1bf7(0x1ef)][_0x3e1bf7(0x1fc)](_0x3e1bf7(0xe0),_0x3e1bf7(0x2e9),_0x4c9822),_0x4c9822===_0x11b26c[_0x3e1bf7(0x73)]?(this[_0x3e1bf7(0xaa)][_0x3e1bf7(0x260)]({'id':_0x4b9b27[_0x3e1bf7(0xe8)]}),this[_0x3e1bf7(0x3e5)]['updatePermissionPoint'](new _0x4caa0['WorkbookEditablePermission'](this[_0x3e1bf7(0x253)])['id'],!0x1),this[_0x3e1bf7(0x3e5)][_0x3e1bf7(0x6f)](!0x1)):(this[_0x3e1bf7(0x3e5)][_0x3e1bf7(0x13b)](new _0x4caa0[(_0x3e1bf7(0x2e6))](this[_0x3e1bf7(0x253)])['id'],!0x0),this[_0x3e1bf7(0x3e5)][_0x3e1bf7(0x6f)](!0x0));})));let _0x4ded12=!0x1;return this[_0x3d725a(0xf0)](this[_0x3d725a(0x16f)]['sessionStatus$'][_0x3d725a(0x286)](_0x1c3e9a=>{var _0x5b6b7d=_0x3d725a;_0x1c3e9a===_0x313f34[_0x5b6b7d(0x399)]?this[_0x5b6b7d(0x36a)](_0x4ded12):_0x1c3e9a===_0x313f34['OFFLINE']&&(_0x4ded12=!0x0,this[_0x5b6b7d(0x2e7)]());})),this[_0x3d725a(0xf0)](this[_0x3d725a(0x16f)]['event$']['subscribe'](_0x56bdf3=>{var _0xc5f83c=_0x3d725a;try{switch(_0x56bdf3['eventID']){case _0x4f4dae['CollaborationEvent'][_0xc5f83c(0x29b)]:{this[_0xc5f83c(0xcd)](_0x4f4dae['parseProtocolChangeset'](_0x56bdf3[_0xc5f83c(0x287)]));break;}case _0x4f4dae[_0xc5f83c(0x3df)][_0xc5f83c(0x385)]:{this[_0xc5f83c(0xc1)](_0x56bdf3[_0xc5f83c(0x287)]);break;}case _0x4f4dae[_0xc5f83c(0x3df)][_0xc5f83c(0xcb)]:{this[_0xc5f83c(0x37c)]();break;}case _0x4f4dae['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x56bdf3['data']);break;}case _0x4f4dae[_0xc5f83c(0x3df)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xc5f83c(0x2d4)](_0x56bdf3['data'][_0xc5f83c(0x3c2)][_0xc5f83c(0x171)](_0xa4c6c4=>_0x4f4dae[_0xc5f83c(0x35c)](_0xa4c6c4)));break;}case _0x4f4dae[_0xc5f83c(0x3df)][_0xc5f83c(0x326)]:{this[_0xc5f83c(0x37c)]({'isPermissionRej':!0x0});break;}case _0x4f4dae[_0xc5f83c(0x3df)][_0xc5f83c(0x74)]:break;}}catch(_0x5c868f){throw console[_0xc5f83c(0xef)]('Error\x20on\x20receiving\x20event',_0x5c868f),_0x5c868f;}})),this[_0x3d725a(0x209)];}[_0x50553d(0x168)](){var _0x3cf062=_0x50553d;this[_0x3cf062(0x256)]=!0x1;}['_lockTransition'](){var _0x1351d7=_0x50553d;if(this['_transitionLocked'])throw new Error(_0x1351d7(0x273));this['_transitionLocked']=!0x0;}[_0x50553d(0xe5)](_0x365c77){var _0x258259=_0x50553d;this[_0x258259(0xb4)](),this[_0x258259(0x315)](this[_0x258259(0x209)][_0x258259(0x394)](_0x365c77)),this['_unlockTransition']();}[_0x50553d(0xcd)](_0x2cd547){var _0x352110=_0x50553d;if(!(_0x2cd547[_0x352110(0x2ad)]<=this[_0x352110(0x173)][_0x352110(0x24e)](this['unitID']))){if(this[_0x352110(0x332)]){this[_0x352110(0x304)]['push'](_0x2cd547);return;}this[_0x352110(0x28e)](_0x2cd547);}}[_0x50553d(0x8f)](){var _0x5c08c3=_0x50553d;this['_remoteChangesetQueue']['forEach'](_0x85ef9a=>this[_0x5c08c3(0x28e)](_0x85ef9a)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0xbecc10){var _0x27d717=_0x50553d;const _0x6b0ffa=this[_0x27d717(0x3b4)][_0x27d717(0x230)]['fetchThroughInterceptors'](this[_0x27d717(0x3b4)]['interceptor'][_0x27d717(0x2c8)]()[_0x27d717(0x12b)])(_0xbecc10[_0x27d717(0x159)],null)||_0xbecc10[_0x27d717(0x159)],_0x5ee0af={..._0xbecc10,'mutations':_0x6b0ffa};this[_0x27d717(0xb4)](),this[_0x27d717(0x315)](this[_0x27d717(0x209)][_0x27d717(0x3b7)](_0x5ee0af)),this[_0x27d717(0x168)]();}[_0x50553d(0xc1)](_0x3c7635){var _0xbed388=_0x50553d;this['_lockTransition'](),this[_0xbed388(0x315)](this['_state'][_0xbed388(0x388)](_0x3c7635)),this[_0xbed388(0x168)]();}[_0x50553d(0x37c)](_0x31e7d5){var _0x2ba6ec=_0x50553d;this[_0x2ba6ec(0xb4)](),this[_0x2ba6ec(0x315)](this[_0x2ba6ec(0x209)]['onRemoteRej'](_0x31e7d5)),this[_0x2ba6ec(0x168)]();}[_0x50553d(0x18b)](_0x14c90a){var _0x1eef16=_0x50553d;this[_0x1eef16(0xb4)](),this[_0x1eef16(0x315)](this['_state'][_0x1eef16(0x2a9)](_0x14c90a)),this['_unlockTransition']();}[_0x50553d(0x2d4)](_0x177f49){var _0x296cdf=_0x50553d;if(!(this[_0x296cdf(0x209)]instanceof _0x4357d9[_0x296cdf(0x11a)]))throw new TypeError(_0x296cdf(0x229));const _0x463c10=_0x177f49[_0x296cdf(0x171)](_0xb45a5d=>{var _0x35e1ef=_0x296cdf;const _0x24f4a1=this['_compressMutationService']['interceptor'][_0x35e1ef(0x358)](this[_0x35e1ef(0x3b4)][_0x35e1ef(0x230)][_0x35e1ef(0x2c8)]()[_0x35e1ef(0x12b)])(_0xb45a5d[_0x35e1ef(0x159)],null)||_0xb45a5d[_0x35e1ef(0x159)];return{..._0xb45a5d,'mutations':_0x24f4a1};});this[_0x296cdf(0xb4)](),this[_0x296cdf(0x315)](this[_0x296cdf(0x209)][_0x296cdf(0x6c)](_0x463c10)),this[_0x296cdf(0x168)]();}[_0x50553d(0x2e7)](){var _0x3c3ae1=_0x50553d;this[_0x3c3ae1(0xb4)](),this[_0x3c3ae1(0x315)](this[_0x3c3ae1(0x209)][_0x3c3ae1(0xf8)]()),this[_0x3c3ae1(0x168)]();}['_toggleOnline'](_0x5aec29=!0x1){var _0x5e75c1=_0x50553d;this[_0x5e75c1(0xb4)](),this[_0x5e75c1(0x315)](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0x14725c=this[_0x5e75c1(0x209)];_0x5aec29&&_0x14725c instanceof _0x4357d9[_0x5e75c1(0x1cd)]&&(this['_lockTransition'](),this[_0x5e75c1(0x315)](_0x14725c['fetchMiss']()),this[_0x5e75c1(0x168)]());}async['_createInitialState'](){return new Promise(_0x29f1f8=>{var _0x76ab6d=_0x337f;this[_0x76ab6d(0x16f)][_0x76ab6d(0x14e)]['pipe'](_0x2bac45['take'](0x1))[_0x76ab6d(0x286)](async _0xc720ac=>{var _0x5d95c9=_0x76ab6d;_0x29f1f8(await this[_0x5d95c9(0x319)](_0xc720ac===_0x313f34[_0x5d95c9(0x399)]));});});}[_0x50553d(0x3d3)](){const _0x324db1=this['unitID'];return{'onStateChange':(_0x5a5e94,_0x4f9d86)=>{var _0x1d8dcf=_0x337f;if(_0x5a5e94!==this['_state'])throw new Error(_0x1d8dcf(0x336)+_0x5a5e94[_0x1d8dcf(0x374)]+_0x1d8dcf(0x1d1)+_0x4f9d86[_0x1d8dcf(0x374)]+'\x0aCurrent:\x20'+this[_0x1d8dcf(0x209)][_0x1d8dcf(0x374)]);this[_0x1d8dcf(0x315)](_0x4f9d86);},'onSendChangeset':_0x449742=>{var _0x3ff25a=_0x337f;_0x449742[_0x3ff25a(0x7a)]||(_0x449742['sid']=this['_changesetSessionId'],_0x449742['reqId']=++this['_changesetReqId']);const _0x4496db={'eventID':_0x4f4dae[_0x3ff25a(0x3df)][_0x3ff25a(0x356)],'data':{'unitID':_0x449742[_0x3ff25a(0x253)],'unitType':this[_0x3ff25a(0x3eb)],'changeset':_0x449742,'memberID':this[_0x3ff25a(0x16f)][_0x3ff25a(0x13c)]()}};this[_0x3ff25a(0x16f)][_0x3ff25a(0x3c3)](_0x4496db,this[_0x3ff25a(0x253)]);},'onMissingChangesets':({from:_0x4ddfef,to:_0x1f32f7})=>{var _0x32ce05=_0x337f;this[_0x32ce05(0x1ef)][_0x32ce05(0x1fc)](_0x32ce05(0xe0),_0x32ce05(0x16c)+_0x4ddfef+_0x32ce05(0x1bf)+_0x1f32f7);const _0x26bd3d={'eventID':_0x4f4dae[_0x32ce05(0x3df)][_0x32ce05(0xd6)],'data':{'unitID':_0x324db1,'unitType':this[_0x32ce05(0x3eb)],'from':_0x4ddfef,'to':_0x1f32f7}};this[_0x32ce05(0x16f)][_0x32ce05(0x3c3)](_0x26bd3d,this[_0x32ce05(0x253)]);}};}async[_0x50553d(0x319)](_0x23b565){var _0x2b4c9b=_0x50553d,_0x12a872,_0x506fae,_0x2fbbf0;const _0x342f71=await((_0x12a872=this[_0x2b4c9b(0x1be)])==null?void 0x0:_0x12a872[_0x2b4c9b(0xdc)](this['unitID'])),_0x37c346=(_0x506fae=_0x342f71==null?void 0x0:_0x342f71[_0x2b4c9b(0x159)])!=null?_0x506fae:[],_0x2b9f1f=(_0x2fbbf0=_0x342f71==null?void 0x0:_0x342f71[_0x2b4c9b(0xed)])!=null?_0x2fbbf0:null,_0x607889=!!(_0x2b9f1f!=null&&_0x2b9f1f['sid'])&&!!(_0x2b9f1f!=null&&_0x2b9f1f[_0x2b4c9b(0x2f3)]);this[_0x2b4c9b(0x21f)]=_0x607889?_0x2b9f1f[_0x2b4c9b(0x7a)]:_0x1a98eb(),this[_0x2b4c9b(0x3af)]=_0x607889?_0x2b9f1f[_0x2b4c9b(0x2f3)]:0x0;const _0x28df66=this['unitID'];try{this[_0x2b4c9b(0x1fd)](_0x2b9f1f,_0x37c346);}catch(_0x4caf96){this['_logService'][_0x2b4c9b(0xef)](_0x4caf96);}const _0x563ce0=this['_createHandler']();if(_0x23b565){const _0x30338a=_0xa749f2(this['_injector'],_0x28df66,this[_0x2b4c9b(0x3eb)],_0x2b9f1f,_0x37c346,_0x563ce0);return _0x30338a instanceof _0x4357d9[_0x2b4c9b(0x32f)]?_0x30338a[_0x2b4c9b(0x3b5)]():(_0x30338a instanceof _0x4357d9[_0x2b4c9b(0x1eb)]||_0x30338a instanceof _0x4357d9[_0x2b4c9b(0x1f3)])&&_0x30338a[_0x2b4c9b(0x10d)](),_0x30338a;}return this[_0x2b4c9b(0x2b4)][_0x2b4c9b(0xae)](_0x4357d9['OfflineState'],_0x28df66,this['_type'],_0x2b9f1f,_0x37c346,_0x563ce0);}['_replayCachedMutations'](_0x26af4a,_0x4c9227){var _0x51f42d=_0x50553d,_0x408d0e,_0x581404;const _0x4ef0cd=this['_compressMutationService'][_0x51f42d(0x230)][_0x51f42d(0x358)](this[_0x51f42d(0x3b4)][_0x51f42d(0x230)]['getInterceptPoints']()[_0x51f42d(0x12b)]);(_0x408d0e=_0x4ef0cd((_0x26af4a==null?void 0x0:_0x26af4a['mutations'])||[],null))==null||_0x408d0e[_0x51f42d(0x19a)](_0x203f4a=>this[_0x51f42d(0xac)][_0x51f42d(0x2bc)](_0x203f4a['id'],_0x203f4a[_0x51f42d(0x3d5)])),(_0x581404=_0x4ef0cd(_0x4c9227||[],null))==null||_0x581404[_0x51f42d(0x19a)](_0x2608ed=>this[_0x51f42d(0xac)]['executeCommand'](_0x2608ed['id'],_0x2608ed[_0x51f42d(0x3d5)]));}},_0x4357d9[_0x50553d(0x17b)]=_0x143640([_0x3c8ad1(0x3,_0xd1c211['Inject'](_0xd1c211[_0x50553d(0x18e)])),_0x3c8ad1(0x4,_0xd1c211[_0x50553d(0x203)](_0x4f4dae['CompressMutationService'])),_0x3c8ad1(0x5,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x185)])),_0x3c8ad1(0x6,_0xd1c211[_0x50553d(0x203)](_0x4f4dae[_0x50553d(0x3a1)])),_0x3c8ad1(0x7,_0xd1c211[_0x50553d(0x203)](_0x5114c1)),_0x3c8ad1(0x8,_0xd1c211[_0x50553d(0x34b)]),_0x3c8ad1(0x9,_0xd1c211[_0x50553d(0xe7)]),_0x3c8ad1(0xa,_0xd1c211[_0x50553d(0x3be)]),_0x3c8ad1(0xb,_0xd1c211[_0x50553d(0x1f8)](_0x3dd7cd)),_0x3c8ad1(0xc,_0xd1c211[_0x50553d(0x1f8)](_0x5ce95d))],_0x4357d9[_0x50553d(0x17b)]),_0x4357d9[_0x50553d(0x1ff)]=class extends _0x4357d9[_0x50553d(0x17b)]{constructor(_0x37c8d0,_0x961382,_0x40bc86,_0x227dc0,_0x481981,_0x5d07aa,_0x5a1607,_0x4cde5d,_0x31629c,_0x464d55,_0x2dc685,_0x5bc14d,_0x34a39b){var _0x15b9b2=_0x50553d;super(_0x37c8d0,_0x40bc86,_0x961382,_0x227dc0,_0x481981,_0x5d07aa,_0x5a1607,_0x4cde5d,_0x31629c,_0x464d55,_0x2dc685,_0x5bc14d,_0x34a39b),_0x14235c(this,'_handlerCallback',null),(this[_0x15b9b2(0x253)]=_0x37c8d0,this[_0x15b9b2(0xb0)]=_0x961382);}['addHandlerCallback'](_0x378e50){var _0x72409f=_0x50553d;this[_0x72409f(0xbd)]=_0x378e50;}[_0x50553d(0x206)](){var _0x3a9b9f=_0x50553d;this[_0x3a9b9f(0xbd)]=null,super[_0x3a9b9f(0x206)]();}[_0x50553d(0x3d3)](){var _0x46921d=_0x50553d;const _0x2d6d9d=super[_0x46921d(0x3d3)]();return _0x2d6d9d[_0x46921d(0x11d)]=_0x443199=>{var _0x2d234b=_0x46921d,_0x9fa33d,_0x47c2a7;return(_0x47c2a7=(_0x9fa33d=this[_0x2d234b(0xbd)])==null?void 0x0:_0x9fa33d[_0x2d234b(0x11d)])==null?void 0x0:_0x47c2a7[_0x2d234b(0x343)](_0x9fa33d,_0x443199);},_0x2d6d9d['onTransformState']=_0x2d9997=>{var _0x5b0958=_0x46921d,_0x303cc0,_0x350db7;return(_0x350db7=(_0x303cc0=this[_0x5b0958(0xbd)])==null?void 0x0:_0x303cc0[_0x5b0958(0x19f)])==null?void 0x0:_0x350db7[_0x5b0958(0x343)](_0x303cc0,_0x2d9997);},_0x2d6d9d['onTransformSelections']=_0x55af29=>{var _0x5c47b1=_0x46921d,_0x2f30b7,_0x30b986;return(_0x30b986=(_0x2f30b7=this[_0x5c47b1(0xbd)])==null?void 0x0:_0x2f30b7[_0x5c47b1(0x2ef)])==null?void 0x0:_0x30b986['call'](_0x2f30b7,_0x55af29);},_0x2d6d9d[_0x46921d(0x3e4)]=_0x2c7eaa=>{var _0x21358e=_0x46921d,_0x5f3afe,_0x15e4ad;return(_0x15e4ad=(_0x5f3afe=this[_0x21358e(0xbd)])==null?void 0x0:_0x5f3afe['onSyncEditingCollabCursor'])==null?void 0x0:_0x15e4ad['call'](_0x5f3afe,_0x2c7eaa);},_0x2d6d9d[_0x46921d(0x2ae)]=_0x12ffaa=>{var _0x191a5a=_0x46921d,_0x4caac3,_0x18a419,_0x2ab521;if(!((_0x4caac3=this[_0x191a5a(0xbd)])!=null&&_0x4caac3[_0x191a5a(0x2ae)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2ab521=(_0x18a419=this['_handlerCallback'])==null?void 0x0:_0x18a419['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2ab521[_0x191a5a(0x343)](_0x18a419,_0x12ffaa);},_0x2d6d9d[_0x46921d(0x22f)]=_0x4a324e=>{var _0x4f6511=_0x46921d,_0xaba51,_0x95d64d,_0x22c574;if(!((_0xaba51=this[_0x4f6511(0xbd)])!=null&&_0xaba51['onTransformRemoteChangesetByStateCache']))throw new Error(_0x4f6511(0x23d));return(_0x22c574=(_0x95d64d=this[_0x4f6511(0xbd)])==null?void 0x0:_0x95d64d['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x22c574[_0x4f6511(0x343)](_0x95d64d,_0x4a324e);},_0x2d6d9d;}async[_0x50553d(0x115)](){var _0xdd6764=_0x50553d;const _0x2883eb=await super[_0xdd6764(0x115)]();return this[_0xdd6764(0xf0)](this['_commandService'][_0xdd6764(0x3da)]((_0x5928d8,_0x1839ad)=>{var _0x1d0b6c=_0xdd6764;if(_0x5928d8['type']!==_0xd1c211[_0x1d0b6c(0x190)]['MUTATION']||_0x1839ad!=null&&_0x1839ad[_0x1d0b6c(0x1d4)]||_0x1839ad!=null&&_0x1839ad[_0x1d0b6c(0x3e7)]||_0x5928d8['id']===_0x4b3765[_0x1d0b6c(0x16d)]['id'])return;const _0x419493=_0x5928d8['params'];if((_0x419493==null?void 0x0:_0x419493[_0x1d0b6c(0x217)])!==this['unitID'])return;const _0x251cc1=_0x5928d8,_0x179389=this[_0x1d0b6c(0x3b4)][_0x1d0b6c(0x230)]['fetchThroughInterceptors'](this[_0x1d0b6c(0x3b4)][_0x1d0b6c(0x230)][_0x1d0b6c(0x2c8)]()['COMPRESS_MUTATION_SEND'])([_0x251cc1],null)||[_0x251cc1];this[_0x1d0b6c(0xe5)](_0x179389[0x0]);})),_0x2883eb;}},_0x4357d9[_0x50553d(0x1ff)]=_0x143640([_0x3c8ad1(0x3,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x18e)])),_0x3c8ad1(0x4,_0xd1c211[_0x50553d(0x203)](_0x4f4dae[_0x50553d(0x3c5)])),_0x3c8ad1(0x5,_0xd1c211[_0x50553d(0x203)](_0xd1c211['LocaleService'])),_0x3c8ad1(0x6,_0xd1c211[_0x50553d(0x203)](_0x4f4dae[_0x50553d(0x3a1)])),_0x3c8ad1(0x7,_0xd1c211[_0x50553d(0x203)](_0x5114c1)),_0x3c8ad1(0x8,_0xd1c211[_0x50553d(0x34b)]),_0x3c8ad1(0x9,_0xd1c211[_0x50553d(0xe7)]),_0x3c8ad1(0xa,_0xd1c211[_0x50553d(0x3be)]),_0x3c8ad1(0xb,_0xd1c211['Optional'](_0x3dd7cd)),_0x3c8ad1(0xc,_0xd1c211[_0x50553d(0x1f8)](_0x5ce95d))],_0x4357d9[_0x50553d(0x1ff)]),_0x4357d9[_0x50553d(0x109)]=class extends _0x4357d9[_0x50553d(0x17b)]{constructor(_0xce4fc3,_0x24d035,_0x59eb9c,_0x7c4eaa,_0x1ac044,_0x2ccb58,_0x14c3c2,_0x309ce6,_0x1f8150,_0x53e8cd,_0x205643,_0x196c69,_0x417f51,_0x3dc726){var _0x558a58=_0x50553d;super(_0xce4fc3,_0x59eb9c,_0x24d035,_0x7c4eaa,_0x1ac044,_0x2ccb58,_0x14c3c2,_0x1f8150,_0x53e8cd,_0x205643,_0x196c69,_0x417f51,_0x3dc726),this[_0x558a58(0x253)]=_0xce4fc3,this[_0x558a58(0xb0)]=_0x24d035,this[_0x558a58(0x24a)]=_0x309ce6;}['_createHandler'](){var _0x3f33c0=_0x50553d;const _0x57a453=super['_createHandler']();return _0x57a453[_0x3f33c0(0x2ef)]=_0x4ef61e=>this[_0x3f33c0(0x24a)][_0x3f33c0(0x2b9)](_0x4ef61e),_0x57a453;}async['_init'](){var _0x5acbaf=_0x50553d;const _0x11cf0e=await super[_0x5acbaf(0x115)]();return this['disposeWithMe'](this[_0x5acbaf(0xac)][_0x5acbaf(0x3da)]((_0x21221e,_0x5e5be5)=>{var _0x3ef95d=_0x5acbaf;if(_0x21221e[_0x3ef95d(0xb0)]!==_0xd1c211[_0x3ef95d(0x190)][_0x3ef95d(0x110)]||_0x5e5be5!=null&&_0x5e5be5['fromCollab']||_0x5e5be5!=null&&_0x5e5be5[_0x3ef95d(0x3e7)])return;const _0xff1d74=_0x21221e[_0x3ef95d(0x3d5)];if((_0xff1d74==null?void 0x0:_0xff1d74[_0x3ef95d(0x217)])!==this['unitID'])return;const _0x49d2ce=_0x21221e,_0x52b4d5=this['_compressMutationService'][_0x3ef95d(0x230)][_0x3ef95d(0x358)](this[_0x3ef95d(0x3b4)]['interceptor'][_0x3ef95d(0x2c8)]()[_0x3ef95d(0x1bc)])([_0x49d2ce],null)||[_0x49d2ce];this[_0x3ef95d(0xe5)](_0x52b4d5[0x0]);})),_0x11cf0e;}},_0x4357d9['SheetCollaborationEntity']=_0x143640([_0x3c8ad1(0x3,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x18e)])),_0x3c8ad1(0x4,_0xd1c211[_0x50553d(0x203)](_0x4f4dae[_0x50553d(0x3c5)])),_0x3c8ad1(0x5,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x185)])),_0x3c8ad1(0x6,_0xd1c211['Inject'](_0x4f4dae[_0x50553d(0x3a1)])),_0x3c8ad1(0x7,_0xd1c211[_0x50553d(0x203)](_0x4357d9['SheetTransformSelectionsService'])),_0x3c8ad1(0x8,_0xd1c211[_0x50553d(0x203)](_0x5114c1)),_0x3c8ad1(0x9,_0xd1c211[_0x50553d(0x34b)]),_0x3c8ad1(0xa,_0xd1c211[_0x50553d(0xe7)]),_0x3c8ad1(0xb,_0xd1c211['IPermissionService']),_0x3c8ad1(0xc,_0xd1c211['Optional'](_0x3dd7cd)),_0x3c8ad1(0xd,_0xd1c211[_0x50553d(0x1f8)](_0x5ce95d))],_0x4357d9[_0x50553d(0x109)]);var _0xfe671d=Object[_0x50553d(0x235)],_0x4480e6=Object[_0x50553d(0x378)],_0x43a283=(_0x1ff92c,_0x497d66,_0x32af57,_0x3d1345)=>{var _0x542d72=_0x50553d;for(var _0x55ba79=_0x3d1345>0x1?void 0x0:_0x3d1345?_0x4480e6(_0x497d66,_0x32af57):_0x497d66,_0x68b056=_0x1ff92c[_0x542d72(0x3ca)]-0x1,_0x2a342c;_0x68b056>=0x0;_0x68b056--)(_0x2a342c=_0x1ff92c[_0x68b056])&&(_0x55ba79=(_0x3d1345?_0x2a342c(_0x497d66,_0x32af57,_0x55ba79):_0x2a342c(_0x55ba79))||_0x55ba79);return _0x3d1345&&_0x55ba79&&_0xfe671d(_0x497d66,_0x32af57,_0x55ba79),_0x55ba79;},_0x1b3f16=(_0x3a1cb0,_0x917ea4)=>(_0xde67a,_0x58bcd3)=>_0x917ea4(_0xde67a,_0x58bcd3,_0x3a1cb0);_0x4357d9[_0x50553d(0x1c8)]=class extends _0xd1c211[_0x50553d(0x1da)]{constructor(_0x24c74d,_0x3d116f,_0x2eb357){var _0x29561b=_0x50553d;super(),_0x14235c(this,_0x29561b(0x2c4),new Map()),_0x14235c(this,_0x29561b(0x222),new _0x2bac45[(_0x29561b(0x288))]()),_0x14235c(this,'entityInit$',this['_entityInit$']['asObservable']()),(this[_0x29561b(0x2b4)]=_0x24c74d,this[_0x29561b(0xd3)]=_0x3d116f,this[_0x29561b(0xab)]=_0x2eb357,this['_init']());}[_0x50553d(0x206)](){var _0x731859=_0x50553d;super[_0x731859(0x206)](),this['_entities'][_0x731859(0x19a)](_0x523ceb=>_0x523ceb['dispose']()),this[_0x731859(0x2c4)]['clear']();}[_0x50553d(0x12e)](_0x1c42ce){var _0x5daab0=_0x50553d,_0xaac34e;return(_0xaac34e=this[_0x5daab0(0x2c4)][_0x5daab0(0x224)](_0x1c42ce))!=null?_0xaac34e:null;}[_0x50553d(0x302)](_0x1ca91f){var _0x24daf6=_0x50553d;const _0x146d03=this[_0x24daf6(0x12e)](_0x1ca91f);return _0x146d03?_0x2bac45['of'](_0x146d03):this[_0x24daf6(0x222)]['pipe'](_0x25c94f[_0x24daf6(0x17e)](_0x33ab08=>_0x33ab08[_0x24daf6(0x253)]===_0x1ca91f));}['readyForCollab'](_0x25597d){var _0x1cce3c=_0x50553d;return _0x2bac45[_0x1cce3c(0x3ed)](this[_0x1cce3c(0x302)](_0x25597d)[_0x1cce3c(0xec)](_0x25c94f[_0x1cce3c(0x171)](()=>{})));}[_0x50553d(0x115)](){var _0x316be5=_0x50553d;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xd1c211[_0x316be5(0x26e)][_0x316be5(0x180)])[_0x316be5(0xec)](_0x2bac45['takeUntil'](this['dispose$']),_0x25c94f[_0x316be5(0x22d)](0x10))[_0x316be5(0x286)](async _0x57092e=>{var _0x4f0fe6=_0x316be5;const _0x102fd3=_0x57092e[_0x4f0fe6(0x3d6)](),_0x32e466=await this[_0x4f0fe6(0x325)](_0x102fd3,_0x1dcecf[_0x4f0fe6(0x180)]);this['_entities']['set'](_0x102fd3,_0x32e466);}),this[_0x316be5(0xab)]['getTypeOfUnitAdded$'](_0xd1c211[_0x316be5(0x26e)][_0x316be5(0x372)])[_0x316be5(0xec)](_0x2bac45[_0x316be5(0x357)](this['dispose$']),_0x25c94f['delay'](0x10))[_0x316be5(0xec)](_0x25c94f[_0x316be5(0x17e)](_0x53170e=>!_0x53170e[_0x316be5(0x3d6)]()[_0x316be5(0x275)]('__')))[_0x316be5(0x286)](async _0x16f6b4=>{var _0x2fc04d=_0x316be5;const _0x5215ab=_0x16f6b4['getUnitId'](),_0x5730e9=await this[_0x2fc04d(0x325)](_0x5215ab,_0x1dcecf['UNIVER_DOC']);this[_0x2fc04d(0x2c4)][_0x2fc04d(0x2d6)](_0x5215ab,_0x5730e9);}),_0x2bac45['merge'](this['_univerInstanceService'][_0x316be5(0x20d)](_0xd1c211[_0x316be5(0x26e)][_0x316be5(0x180)]),this[_0x316be5(0xab)][_0x316be5(0x20d)](_0xd1c211[_0x316be5(0x26e)][_0x316be5(0x372)]))[_0x316be5(0xec)](_0x2bac45[_0x316be5(0x357)](this[_0x316be5(0x248)]))[_0x316be5(0x286)](_0x25c7e7=>{var _0x1485ff=_0x316be5;const _0x52767d=_0x25c7e7[_0x1485ff(0x3d6)](),_0x3d311a=this['_entities'][_0x1485ff(0x224)](_0x52767d);_0x3d311a&&(_0x3d311a[_0x1485ff(0x206)](),this[_0x1485ff(0x2c4)][_0x1485ff(0x2f8)](_0x52767d));});}async[_0x50553d(0x325)](_0x3b2af0,_0x289224){var _0x38ad03=_0x50553d;const _0x3ab53f=await this[_0x38ad03(0xd3)][_0x38ad03(0x1d8)](_0x3b2af0),_0x4327ff=this[_0x38ad03(0x2b4)][_0x38ad03(0xae)](this[_0x38ad03(0x2cb)](_0x289224),_0x3b2af0,_0x289224,_0x3ab53f);return await _0x4327ff[_0x38ad03(0x150)](),this[_0x38ad03(0x222)][_0x38ad03(0x15e)](_0x4327ff),_0x4327ff;}[_0x50553d(0x2cb)](_0x3254fb){var _0x3498db=_0x50553d;switch(_0x3254fb){case _0x1dcecf[_0x3498db(0x372)]:return _0x4357d9[_0x3498db(0x1ff)];case _0x1dcecf[_0x3498db(0x180)]:return _0x4357d9[_0x3498db(0x109)];default:throw new Error(_0x3498db(0xe9)+_0x3254fb);}}},_0x4357d9[_0x50553d(0x1c8)]=_0x43a283([_0x1b3f16(0x0,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x18e)])),_0x1b3f16(0x1,_0xd1c211[_0x50553d(0x203)](_0x4357d9['CollaborationSessionService'])),_0x1b3f16(0x2,_0xd1c211[_0x50553d(0xad)])],_0x4357d9['CollaborationController']);var _0x19de42=Object[_0x50553d(0x235)],_0x3b5d15=Object['getOwnPropertyDescriptor'],_0x4dca13=(_0x36c707,_0x1e4e2f,_0x1ce47d,_0x23789d)=>{var _0x50b797=_0x50553d;for(var _0x5b4f71=_0x23789d>0x1?void 0x0:_0x23789d?_0x3b5d15(_0x1e4e2f,_0x1ce47d):_0x1e4e2f,_0x2a29b1=_0x36c707[_0x50b797(0x3ca)]-0x1,_0x8b3aa8;_0x2a29b1>=0x0;_0x2a29b1--)(_0x8b3aa8=_0x36c707[_0x2a29b1])&&(_0x5b4f71=(_0x23789d?_0x8b3aa8(_0x1e4e2f,_0x1ce47d,_0x5b4f71):_0x8b3aa8(_0x5b4f71))||_0x5b4f71);return _0x23789d&&_0x5b4f71&&_0x19de42(_0x1e4e2f,_0x1ce47d,_0x5b4f71),_0x5b4f71;},_0x1d19a2=(_0x252178,_0x1f6833)=>(_0xe0b172,_0x1519b0)=>_0x1f6833(_0xe0b172,_0x1519b0,_0x252178);const _0x766b56=_0x50553d(0x267),_0x3e35a2=_0x50553d(0x138);let _0x2351e8=class extends _0xd1c211[_0x50553d(0x77)]{constructor(_0x27d4c3,_0xc7c9ec){var _0xa50ec9=_0x50553d;super(),this[_0xa50ec9(0xab)]=_0x27d4c3,this[_0xa50ec9(0x1e4)]=_0xc7c9ec,this[_0xa50ec9(0x115)]();}['_init'](){var _0x1fa9c9=_0x50553d;this[_0x1fa9c9(0xf0)](this[_0x1fa9c9(0xab)]['focused$'][_0x1fa9c9(0x286)](()=>{var _0x423052=_0x1fa9c9,_0x5eb4bb;const _0x3dba70=this[_0x423052(0xab)][_0x423052(0x1cb)]();let _0x1c6dfb=(_0x5eb4bb=this[_0x423052(0x1e4)][_0x423052(0x23f)](_0x766b56))!=null?_0x5eb4bb:_0x3e35a2;_0x3dba70 instanceof _0xd1c211['Workbook']&&(_0x1c6dfb=_0x3dba70[_0x423052(0x80)]),document[_0x423052(0xa5)]=_0x1c6dfb;}));}};_0x2351e8=_0x4dca13([_0x1d19a2(0x0,_0xd1c211[_0x50553d(0xad)]),_0x1d19a2(0x1,_0xd1c211[_0x50553d(0x334)])],_0x2351e8);var _0x155555=Object[_0x50553d(0x235)],_0x45f5d3=Object[_0x50553d(0x378)],_0x5e3e24=(_0x2e4535,_0xe09b6d,_0x282f40,_0x4392a6)=>{for(var _0x5eac8a=_0x4392a6>0x1?void 0x0:_0x4392a6?_0x45f5d3(_0xe09b6d,_0x282f40):_0xe09b6d,_0x477671=_0x2e4535['length']-0x1,_0x1daed5;_0x477671>=0x0;_0x477671--)(_0x1daed5=_0x2e4535[_0x477671])&&(_0x5eac8a=(_0x4392a6?_0x1daed5(_0xe09b6d,_0x282f40,_0x5eac8a):_0x1daed5(_0x5eac8a))||_0x5eac8a);return _0x4392a6&&_0x5eac8a&&_0x155555(_0xe09b6d,_0x282f40,_0x5eac8a),_0x5eac8a;},_0x4bcd6e=(_0x4055d1,_0x39a969)=>(_0x454241,_0x29d013)=>_0x39a969(_0x454241,_0x29d013,_0x4055d1);let _0x563de2=class{constructor(_0x40d1ca,_0x37e212,_0x729050){var _0x47860d=_0x50553d;this[_0x47860d(0x1e4)]=_0x40d1ca,this['_httpService']=_0x37e212,this['localeService']=_0x729050,this[_0x47860d(0x150)]();}[_0x50553d(0x150)](){var _0x5220b1=_0x50553d;this[_0x5220b1(0x252)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4343e8,_0x9af089)=>_0x9af089(_0x4343e8)[_0x5220b1(0xec)](_0x2bac45[_0x5220b1(0x86)](async _0x48d6d3=>{var _0x56667e=_0x5220b1;const _0x428b78=_0x48d6d3;if(_0x428b78['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x56667e(0x33a)]['t'](_0x56667e(0x307)))){const _0x4056e3=window[_0x56667e(0x25a)](window[_0x56667e(0x27d)]['href']);window[_0x56667e(0x27d)][_0x56667e(0x309)]=this[_0x56667e(0x277)]()+_0x56667e(0x186)+_0x4056e3;}}return _0x428b78;}))});}[_0x50553d(0x277)](){var _0x56ee7b=_0x50553d,_0x1aee25,_0x3272ef;const _0x251c0e=this[_0x56ee7b(0x1e4)][_0x56ee7b(0x23f)](_0x210229),_0x3ba7f0=this[_0x56ee7b(0x1e4)][_0x56ee7b(0x23f)](_0x47a3ce);return(_0x3272ef=(_0x1aee25=_0x3ba7f0==null?void 0x0:_0x3ba7f0[_0x56ee7b(0xd7)])!=null?_0x1aee25:_0x251c0e)!=null?_0x3272ef:_0x30016f;}};_0x563de2=_0x5e3e24([_0x4bcd6e(0x0,_0xd1c211['IConfigService']),_0x4bcd6e(0x1,_0xd1c211[_0x50553d(0x203)](_0x266048[_0x50553d(0x24f)])),_0x4bcd6e(0x2,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x185)]))],_0x563de2);var _0x1870c4=Object[_0x50553d(0x235)],_0x45852f=Object[_0x50553d(0x378)],_0x384a62=(_0x262f76,_0x132a51,_0x573330,_0xd18753)=>{var _0x49b424=_0x50553d;for(var _0x21ee5b=_0xd18753>0x1?void 0x0:_0xd18753?_0x45852f(_0x132a51,_0x573330):_0x132a51,_0x49c85a=_0x262f76[_0x49b424(0x3ca)]-0x1,_0x5bd02c;_0x49c85a>=0x0;_0x49c85a--)(_0x5bd02c=_0x262f76[_0x49c85a])&&(_0x21ee5b=(_0xd18753?_0x5bd02c(_0x132a51,_0x573330,_0x21ee5b):_0x5bd02c(_0x21ee5b))||_0x21ee5b);return _0xd18753&&_0x21ee5b&&_0x1870c4(_0x132a51,_0x573330,_0x21ee5b),_0x21ee5b;},_0x48027b=(_0x5cfd51,_0x14a269)=>(_0x31d453,_0x2b2def)=>_0x14a269(_0x31d453,_0x2b2def,_0x5cfd51);const _0x37ea70='AUTHZ_URL_KEY',_0x7886e2=_0x50553d(0x266);_0x4357d9['AuthzIoHttpService']=class extends _0xd1c211['Disposable']{constructor(_0x230d3e,_0x37cc4a){var _0x519f46=_0x50553d;super(),this[_0x519f46(0x2a8)]=_0x230d3e,this['_configService']=_0x37cc4a,this[_0x519f46(0x278)]();}['_initMergeInterceptor'](){var _0x4a46c7=_0x50553d;const _0x573c0d=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x266048[_0x4a46c7(0x26d)]({'isMatch'(_0x110c57){var _0x2c47b0=_0x4a46c7,_0xf3adf9;if(_0x110c57['method']===_0x2c47b0(0x1bd)&&((_0xf3adf9=_0x110c57[_0x2c47b0(0x1b0)])!=null&&_0xf3adf9[_0x2c47b0(0x198)])){const {objectID:_0x16ca6e,objectType:_0x2004df}=_0x110c57[_0x2c47b0(0x1b0)][_0x2c47b0(0x198)]||{};if(!_0x16ca6e||_0x2004df===void 0x0)return!0x1;const _0x46ccb2=_0x573c0d[_0x2c47b0(0x14f)]()+'/'+_0x2004df+_0x2c47b0(0x143)+_0x16ca6e+_0x2c47b0(0xde);if(_0x110c57[_0x2c47b0(0x1d5)]===_0x46ccb2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xb4510d){var _0x1372d8=_0x4a46c7,_0x29f468;return(_0x29f468=_0xb4510d['requestParams'])==null?void 0x0:_0x29f468[_0x1372d8(0x198)];},'mergeParamsToRequest'(_0x5cdf7a,_0x27d436){var _0x1498b5=_0x4a46c7;const _0x159a3a=_0x573c0d[_0x1498b5(0x14f)]()+_0x1498b5(0x301),_0x4bd50a=_0x5cdf7a[_0x1498b5(0x94)]((_0x57e5c1,_0x5c061e)=>{var _0xc8b6d4=_0x1498b5;const {unitID:_0x556239,objectID:_0x141022,objectType:_0x4cdb14,actions:_0x2a3a91}=_0x5c061e;return _0x57e5c1[_0x556239]||(_0x57e5c1[_0x556239]={}),_0x57e5c1[_0x556239][_0x141022]||(_0x57e5c1[_0x556239][_0x141022]={'objectID':_0x141022,'objectType':_0x4cdb14,'actions':[]}),_0x57e5c1[_0x556239][_0x141022][_0xc8b6d4(0x1f1)][_0xc8b6d4(0x2b7)](..._0x2a3a91),_0x57e5c1;},{}),_0x2aa259=[];for(const _0x1e1c51 in _0x4bd50a)for(const _0x201483 in _0x4bd50a[_0x1e1c51]){const {actions:_0x6307ba,objectType:_0x44c7fd}=_0x4bd50a[_0x1e1c51][_0x201483],_0x35d3f7=[...new Set(_0x6307ba)];_0x2aa259['push']({'unitID':_0x1e1c51,'objectID':_0x201483,'objectType':_0x44c7fd,'actions':_0x35d3f7});}return new _0x266048['HTTPRequest']('POST',_0x159a3a,{'headers':_0x27d436['headers'],'withCredentials':_0x27d436['withCredentials'],'responseType':_0x27d436[_0x1498b5(0x339)],'body':{'requests':_0x2aa259}});}},{'distributeResult'(_0x49ffc5,_0x14c710){var _0x35cc0a=_0x4a46c7;const {objectActions:_0x2c3a17}=_0x49ffc5;return _0x14c710[_0x35cc0a(0x171)](_0x301b51=>{var _0x537942=_0x35cc0a;const {unitID:_0x291521,objectID:_0x155af2,actions:_0x523081}=_0x301b51,_0x18a081=_0x2c3a17[_0x537942(0x237)](_0x34f810=>_0x34f810[_0x537942(0x253)]===_0x291521&&_0x34f810[_0x537942(0x36f)]===_0x155af2),_0x440a8a=_0x523081[_0x537942(0x171)](_0x3fedfd=>_0x18a081==null?void 0x0:_0x18a081[_0x537942(0x1f1)][_0x537942(0x237)](_0x1870aa=>_0x1870aa['action']===_0x3fedfd))['filter'](_0x48f952=>!!_0x48f952);return{'config':_0x301b51,'result':{'actions':_0x440a8a,'error':_0x49ffc5['error']}};});}})}));}[_0x50553d(0x14f)](){var _0x2ecce2=_0x50553d,_0x2a7080,_0x12080b;const _0xca022c=this[_0x2ecce2(0x1e4)][_0x2ecce2(0x23f)](_0x37ea70),_0x79fc69=this[_0x2ecce2(0x1e4)]['getConfig'](_0x47a3ce);return(_0x12080b=(_0x2a7080=_0x79fc69==null?void 0x0:_0x79fc69['authzUrl'])!=null?_0x2a7080:_0xca022c)!=null?_0x12080b:_0x7886e2;}async[_0x50553d(0x2f5)](_0x1464d2){var _0x4eb0e9=_0x50553d;const _0x2914eb=this[_0x4eb0e9(0x14f)]()+'/'+_0x1464d2[_0x4eb0e9(0x379)]+_0x4eb0e9(0x377);return(await this['_HTTPService'][_0x4eb0e9(0x120)](_0x2914eb,{'body':_0x1464d2}))[_0x4eb0e9(0x198)][_0x4eb0e9(0x36f)]||'';}async[_0x50553d(0x314)](_0x28ed59){var _0x112ac9=_0x50553d;const _0x55ade8=this[_0x112ac9(0x14f)]()+_0x112ac9(0x396);return(await this[_0x112ac9(0x2a8)][_0x112ac9(0x120)](_0x55ade8,{'body':_0x28ed59}))['body']['objects'];}async[_0x50553d(0x35a)](_0x4005b9){var _0x20998c=_0x50553d;const _0x24a48f=this[_0x20998c(0x14f)]()+'/'+_0x4005b9[_0x20998c(0x379)]+'/object/'+_0x4005b9[_0x20998c(0x36f)];await this[_0x20998c(0x2a8)][_0x20998c(0x212)](_0x24a48f,{'body':_0x4005b9});}async[_0x50553d(0x280)](_0x208ed7){var _0x1be3e9=_0x50553d;const _0x418ae2=this[_0x1be3e9(0x14f)]()+'/'+_0x208ed7[_0x1be3e9(0x379)]+_0x1be3e9(0x143)+_0x208ed7['objectID']+'/allowed';return(await this[_0x1be3e9(0x2a8)]['post'](_0x418ae2,{'body':_0x208ed7}))['body'][_0x1be3e9(0x1f1)];}async[_0x50553d(0x2d9)](_0x14330d){var _0x4d3943=_0x50553d;const _0x29a04e=this['_getAPIPrefixPath']()+_0x4d3943(0x301);return(await this[_0x4d3943(0x2a8)][_0x4d3943(0x120)](_0x29a04e,{'body':{'requests':_0x14330d}}))[_0x4d3943(0x198)][_0x4d3943(0x26f)];}async['listRoles'](_0x50511e){var _0x266794=_0x50553d;const _0x2b3162=this[_0x266794(0x14f)]()+'/'+_0x50511e[_0x266794(0x379)]+_0x266794(0x3bb),_0x9a8cf4=await this[_0x266794(0x2a8)][_0x266794(0x120)](_0x2b3162,{'body':_0x50511e});return{'roles':_0x9a8cf4['body'][_0x266794(0x170)],'actions':_0x9a8cf4[_0x266794(0x198)][_0x266794(0x1f1)]};}async['deleteCollaborator'](_0x40c907){var _0x1faea2=_0x50553d;const _0x8d620a=this[_0x1faea2(0x14f)]()+_0x1faea2(0x99);await this[_0x1faea2(0x2a8)][_0x1faea2(0x2f8)](_0x8d620a,{'params':{'collaboratorID':_0x40c907['collaboratorID'],'objectID':_0x40c907[_0x1faea2(0x36f)],'unitID':_0x40c907['unitID']}});}async[_0x50553d(0x21b)](_0x260467){var _0x360128=_0x50553d;const _0x331428=this[_0x360128(0x14f)]()+_0x360128(0x99);await this[_0x360128(0x2a8)][_0x360128(0x226)](_0x331428,{'body':_0x260467});}async[_0x50553d(0x26b)](_0x3d10e1){var _0x501cfc=_0x50553d;const _0x356a7f=this['_getAPIPrefixPath']()+_0x501cfc(0x99);await this[_0x501cfc(0x2a8)]['post'](_0x356a7f,{'body':_0x3d10e1});}async[_0x50553d(0x3a6)](_0x2b7964){var _0x41b720=_0x50553d;const _0x3fdf23=this[_0x41b720(0x14f)]()+_0x41b720(0x99);return(await this[_0x41b720(0x2a8)][_0x41b720(0x224)](_0x3fdf23,{'params':{'objectID':_0x2b7964[_0x41b720(0x36f)],'unitID':_0x2b7964[_0x41b720(0x253)]}}))[_0x41b720(0x198)][_0x41b720(0x295)];}async[_0x50553d(0xb9)](_0x2c2230){var _0x2e0dc3=_0x50553d;const _0x39c006=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x2e0dc3(0x2a8)][_0x2e0dc3(0x212)](_0x39c006,{'body':_0x2c2230});}},_0x4357d9['AuthzIoHttpService']=_0x384a62([_0x48027b(0x0,_0xd1c211[_0x50553d(0x203)](_0x266048[_0x50553d(0x24f)])),_0x48027b(0x1,_0xd1c211['Inject'](_0xd1c211[_0x50553d(0x334)]))],_0x4357d9[_0x50553d(0x2d0)]);var _0x473dde=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x5f06fc(_0x26ce7d){var _0x48dfe1=_0x50553d;return _0x26ce7d&&_0x26ce7d[_0x48dfe1(0x1ce)]&&Object[_0x48dfe1(0x1b1)][_0x48dfe1(0x281)]['call'](_0x26ce7d,_0x48dfe1(0x2f0))?_0x26ce7d['default']:_0x26ce7d;}var _0xa30145={'exports':{}};function _0x4fa1a0(_0x69b3f){var _0x388852=_0x50553d;throw new Error(_0x388852(0x350)+_0x69b3f+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x17adc5={'exports':{}},_0x1dca15=_0x17adc5['exports'],_0x3de96f;function _0x17e9a3(){var _0x555ac7=_0x50553d;return _0x3de96f||(_0x3de96f=0x1,function(_0x31f3df,_0x511c1a){(function(_0xe465c8,_0x44a1ab){var _0x397ed7=_0x337f;_0x31f3df[_0x397ed7(0x313)]=_0x44a1ab();}(_0x1dca15,function(){var _0x4d9b9d=_0x4d9b9d||function(_0x4e683e,_0x10c758){var _0x49b8ff=_0x337f,_0x4df06c;if(typeof window<'u'&&window[_0x49b8ff(0x27a)]&&(_0x4df06c=window['crypto']),typeof self<'u'&&self[_0x49b8ff(0x27a)]&&(_0x4df06c=self[_0x49b8ff(0x27a)]),typeof globalThis<'u'&&globalThis[_0x49b8ff(0x27a)]&&(_0x4df06c=globalThis['crypto']),!_0x4df06c&&typeof window<'u'&&window['msCrypto']&&(_0x4df06c=window[_0x49b8ff(0x35e)]),!_0x4df06c&&typeof _0x473dde<'u'&&_0x473dde['crypto']&&(_0x4df06c=_0x473dde[_0x49b8ff(0x27a)]),!_0x4df06c&&typeof _0x4fa1a0==_0x49b8ff(0x3a9))try{_0x4df06c=require('crypto');}catch{}var _0xca350c=function(){var _0x2e7ced=_0x49b8ff;if(_0x4df06c){if(typeof _0x4df06c[_0x2e7ced(0x370)]==_0x2e7ced(0x3a9))try{return _0x4df06c[_0x2e7ced(0x370)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4df06c['randomBytes']==_0x2e7ced(0x3a9))try{return _0x4df06c['randomBytes'](0x4)[_0x2e7ced(0x29a)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x50c42d=Object[_0x49b8ff(0x2f5)]||(function(){function _0x2e1379(){}return function(_0x11ceda){var _0x32c125=_0x337f,_0x9af2a6;return _0x2e1379[_0x32c125(0x1b1)]=_0x11ceda,_0x9af2a6=new _0x2e1379(),_0x2e1379[_0x32c125(0x1b1)]=null,_0x9af2a6;};}()),_0x5e6018={},_0x4eacf4=_0x5e6018[_0x49b8ff(0x2e5)]={},_0x4c98f6=_0x4eacf4[_0x49b8ff(0x3d9)]=(function(){return{'extend':function(_0x4a61c4){var _0x1793d0=_0x337f,_0x46d5ad=_0x50c42d(this);return _0x4a61c4&&_0x46d5ad['mixIn'](_0x4a61c4),(!_0x46d5ad[_0x1793d0(0x281)](_0x1793d0(0x150))||this['init']===_0x46d5ad[_0x1793d0(0x150)])&&(_0x46d5ad[_0x1793d0(0x150)]=function(){var _0x4ef6ca=_0x1793d0;_0x46d5ad[_0x4ef6ca(0x312)][_0x4ef6ca(0x150)]['apply'](this,arguments);}),_0x46d5ad['init']['prototype']=_0x46d5ad,_0x46d5ad[_0x1793d0(0x312)]=this,_0x46d5ad;},'create':function(){var _0x3ef086=_0x337f,_0x5c37f7=this[_0x3ef086(0x2bd)]();return _0x5c37f7[_0x3ef086(0x150)]['apply'](_0x5c37f7,arguments),_0x5c37f7;},'init':function(){},'mixIn':function(_0x42fb58){var _0x306913=_0x337f;for(var _0x14962d in _0x42fb58)_0x42fb58[_0x306913(0x281)](_0x14962d)&&(this[_0x14962d]=_0x42fb58[_0x14962d]);_0x42fb58[_0x306913(0x281)](_0x306913(0x191))&&(this[_0x306913(0x191)]=_0x42fb58[_0x306913(0x191)]);},'clone':function(){var _0x3fa02e=_0x337f;return this['init'][_0x3fa02e(0x1b1)][_0x3fa02e(0x2bd)](this);}};}()),_0x467336=_0x4eacf4['WordArray']=_0x4c98f6[_0x49b8ff(0x2bd)]({'init':function(_0x7f611,_0x2e032c){var _0x172946=_0x49b8ff;_0x7f611=this[_0x172946(0x3aa)]=_0x7f611||[],_0x2e032c!=_0x10c758?this[_0x172946(0x257)]=_0x2e032c:this[_0x172946(0x257)]=_0x7f611[_0x172946(0x3ca)]*0x4;},'toString':function(_0xb0c69a){return(_0xb0c69a||_0x2a5930)['stringify'](this);},'concat':function(_0x52a1c2){var _0x5cf006=_0x49b8ff,_0x3fd47f=this[_0x5cf006(0x3aa)],_0x51f4a1=_0x52a1c2[_0x5cf006(0x3aa)],_0xd7b9db=this[_0x5cf006(0x257)],_0x1efb44=_0x52a1c2[_0x5cf006(0x257)];if(this[_0x5cf006(0x9d)](),_0xd7b9db%0x4)for(var _0x2b0872=0x0;_0x2b0872<_0x1efb44;_0x2b0872++){var _0xf1b98=_0x51f4a1[_0x2b0872>>>0x2]>>>0x18-_0x2b0872%0x4*0x8&0xff;_0x3fd47f[_0xd7b9db+_0x2b0872>>>0x2]|=_0xf1b98<<0x18-(_0xd7b9db+_0x2b0872)%0x4*0x8;}else{for(var _0x4ef37c=0x0;_0x4ef37c<_0x1efb44;_0x4ef37c+=0x4)_0x3fd47f[_0xd7b9db+_0x4ef37c>>>0x2]=_0x51f4a1[_0x4ef37c>>>0x2];}return this[_0x5cf006(0x257)]+=_0x1efb44,this;},'clamp':function(){var _0x9da1bd=_0x49b8ff,_0x563aec=this['words'],_0x162062=this['sigBytes'];_0x563aec[_0x162062>>>0x2]&=0xffffffff<<0x20-_0x162062%0x4*0x8,_0x563aec[_0x9da1bd(0x3ca)]=_0x4e683e[_0x9da1bd(0x297)](_0x162062/0x4);},'clone':function(){var _0x3e63c8=_0x49b8ff,_0x3149e0=_0x4c98f6['clone'][_0x3e63c8(0x343)](this);return _0x3149e0['words']=this[_0x3e63c8(0x3aa)][_0x3e63c8(0x134)](0x0),_0x3149e0;},'random':function(_0x2be573){var _0xf4451c=_0x49b8ff;for(var _0x4ed98f=[],_0x57f9b8=0x0;_0x57f9b8<_0x2be573;_0x57f9b8+=0x4)_0x4ed98f[_0xf4451c(0x2b7)](_0xca350c());return new _0x467336[(_0xf4451c(0x150))](_0x4ed98f,_0x2be573);}}),_0x162702=_0x5e6018[_0x49b8ff(0x30e)]={},_0x2a5930=_0x162702[_0x49b8ff(0x23c)]={'stringify':function(_0x179920){var _0x3eb990=_0x49b8ff;for(var _0x5e9d83=_0x179920[_0x3eb990(0x3aa)],_0x91599a=_0x179920[_0x3eb990(0x257)],_0x5401ee=[],_0x3b7edb=0x0;_0x3b7edb<_0x91599a;_0x3b7edb++){var _0x406781=_0x5e9d83[_0x3b7edb>>>0x2]>>>0x18-_0x3b7edb%0x4*0x8&0xff;_0x5401ee[_0x3eb990(0x2b7)]((_0x406781>>>0x4)['toString'](0x10)),_0x5401ee[_0x3eb990(0x2b7)]((_0x406781&0xf)['toString'](0x10));}return _0x5401ee[_0x3eb990(0x1c6)]('');},'parse':function(_0x2b838e){var _0xce85b1=_0x49b8ff;for(var _0x2b738f=_0x2b838e[_0xce85b1(0x3ca)],_0x5355c7=[],_0x120cbf=0x0;_0x120cbf<_0x2b738f;_0x120cbf+=0x2)_0x5355c7[_0x120cbf>>>0x3]|=parseInt(_0x2b838e[_0xce85b1(0x205)](_0x120cbf,0x2),0x10)<<0x18-_0x120cbf%0x8*0x4;return new _0x467336[(_0xce85b1(0x150))](_0x5355c7,_0x2b738f/0x2);}},_0x52e0db=_0x162702[_0x49b8ff(0x291)]={'stringify':function(_0x2e8b27){var _0x1d3b89=_0x49b8ff;for(var _0xe4f0f1=_0x2e8b27[_0x1d3b89(0x3aa)],_0xfb4536=_0x2e8b27[_0x1d3b89(0x257)],_0x17794d=[],_0x387edf=0x0;_0x387edf<_0xfb4536;_0x387edf++){var _0x1e51d6=_0xe4f0f1[_0x387edf>>>0x2]>>>0x18-_0x387edf%0x4*0x8&0xff;_0x17794d[_0x1d3b89(0x2b7)](String[_0x1d3b89(0x236)](_0x1e51d6));}return _0x17794d[_0x1d3b89(0x1c6)]('');},'parse':function(_0xe34190){var _0x179711=_0x49b8ff;for(var _0x2320d5=_0xe34190[_0x179711(0x3ca)],_0x29da0e=[],_0x4c0cf7=0x0;_0x4c0cf7<_0x2320d5;_0x4c0cf7++)_0x29da0e[_0x4c0cf7>>>0x2]|=(_0xe34190['charCodeAt'](_0x4c0cf7)&0xff)<<0x18-_0x4c0cf7%0x4*0x8;return new _0x467336[(_0x179711(0x150))](_0x29da0e,_0x2320d5);}},_0x431ae1=_0x162702['Utf8']={'stringify':function(_0x155ad4){var _0x16976f=_0x49b8ff;try{return decodeURIComponent(escape(_0x52e0db[_0x16976f(0x30d)](_0x155ad4)));}catch{throw new Error(_0x16976f(0x1d7));}},'parse':function(_0x3ceef4){var _0x33c4af=_0x49b8ff;return _0x52e0db[_0x33c4af(0x112)](unescape(encodeURIComponent(_0x3ceef4)));}},_0x3d297a=_0x4eacf4['BufferedBlockAlgorithm']=_0x4c98f6[_0x49b8ff(0x2bd)]({'reset':function(){var _0x1cbd60=_0x49b8ff;this[_0x1cbd60(0x359)]=new _0x467336['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x107a2f){var _0x20ea86=_0x49b8ff;typeof _0x107a2f==_0x20ea86(0x181)&&(_0x107a2f=_0x431ae1[_0x20ea86(0x112)](_0x107a2f)),this['_data'][_0x20ea86(0x15d)](_0x107a2f),this['_nDataBytes']+=_0x107a2f[_0x20ea86(0x257)];},'_process':function(_0x44d7f3){var _0x7a15d8=_0x49b8ff,_0x3c1ff3,_0x567fad=this[_0x7a15d8(0x359)],_0x2e9c60=_0x567fad[_0x7a15d8(0x3aa)],_0x182abf=_0x567fad['sigBytes'],_0x5b3247=this[_0x7a15d8(0x264)],_0x3a34ba=_0x5b3247*0x4,_0x1e065f=_0x182abf/_0x3a34ba;_0x44d7f3?_0x1e065f=_0x4e683e[_0x7a15d8(0x297)](_0x1e065f):_0x1e065f=_0x4e683e['max']((_0x1e065f|0x0)-this[_0x7a15d8(0x3c4)],0x0);var _0x2cd5f0=_0x1e065f*_0x5b3247,_0x572e2d=_0x4e683e[_0x7a15d8(0x1aa)](_0x2cd5f0*0x4,_0x182abf);if(_0x2cd5f0){for(var _0x2f5ded=0x0;_0x2f5ded<_0x2cd5f0;_0x2f5ded+=_0x5b3247)this[_0x7a15d8(0x139)](_0x2e9c60,_0x2f5ded);_0x3c1ff3=_0x2e9c60['splice'](0x0,_0x2cd5f0),_0x567fad[_0x7a15d8(0x257)]-=_0x572e2d;}return new _0x467336['init'](_0x3c1ff3,_0x572e2d);},'clone':function(){var _0xd29db3=_0x49b8ff,_0x4ca73c=_0x4c98f6[_0xd29db3(0x363)][_0xd29db3(0x343)](this);return _0x4ca73c[_0xd29db3(0x359)]=this[_0xd29db3(0x359)][_0xd29db3(0x363)](),_0x4ca73c;},'_minBufferSize':0x0});_0x4eacf4[_0x49b8ff(0x119)]=_0x3d297a[_0x49b8ff(0x2bd)]({'cfg':_0x4c98f6[_0x49b8ff(0x2bd)](),'init':function(_0x28aeb2){var _0x34d21c=_0x49b8ff;this['cfg']=this[_0x34d21c(0x1e1)][_0x34d21c(0x2bd)](_0x28aeb2),this[_0x34d21c(0x395)]();},'reset':function(){var _0x2c87f4=_0x49b8ff;_0x3d297a[_0x2c87f4(0x395)][_0x2c87f4(0x343)](this),this['_doReset']();},'update':function(_0x17026a){var _0x2ff3f8=_0x49b8ff;return this[_0x2ff3f8(0x2b3)](_0x17026a),this['_process'](),this;},'finalize':function(_0x369e29){var _0x440c50=_0x49b8ff;_0x369e29&&this['_append'](_0x369e29);var _0x5ea487=this[_0x440c50(0x38f)]();return _0x5ea487;},'blockSize':0x10,'_createHelper':function(_0x16333e){return function(_0x46397c,_0x1adffc){var _0x1ddb37=_0x337f;return new _0x16333e[(_0x1ddb37(0x150))](_0x1adffc)[_0x1ddb37(0x32e)](_0x46397c);};},'_createHmacHelper':function(_0x39bc82){return function(_0x30fd1b,_0x2749b0){var _0xfce7ce=_0x337f;return new _0xd2937f[(_0xfce7ce(0x9e))]['init'](_0x39bc82,_0x2749b0)[_0xfce7ce(0x32e)](_0x30fd1b);};}});var _0xd2937f=_0x5e6018[_0x49b8ff(0x3ef)]={};return _0x5e6018;}(Math);return _0x4d9b9d;}));}(_0x17adc5)),_0x17adc5[_0x555ac7(0x313)];}var _0x24d4fe={'exports':{}},_0x453f83=_0x24d4fe['exports'],_0x126a5c;function _0x3a38b2(){return _0x126a5c||(_0x126a5c=0x1,function(_0x3b1b43,_0x386c7b){(function(_0x55ddaa,_0x56f215){var _0x440126=_0x337f;_0x3b1b43[_0x440126(0x313)]=_0x56f215(_0x17e9a3());}(_0x453f83,function(_0xa21079){var _0x2bee2e=_0x337f;return(function(){var _0x1f4e49=_0x337f,_0x4f3524=_0xa21079,_0x50a885=_0x4f3524[_0x1f4e49(0x2e5)],_0xc153eb=_0x50a885[_0x1f4e49(0x214)],_0x291046=_0x4f3524[_0x1f4e49(0x30e)];_0x291046[_0x1f4e49(0x254)]={'stringify':function(_0x1f1130){var _0x455aac=_0x1f4e49,_0x217ca0=_0x1f1130[_0x455aac(0x3aa)],_0x8286b7=_0x1f1130[_0x455aac(0x257)],_0x59e517=this['_map'];_0x1f1130[_0x455aac(0x9d)]();for(var _0x405975=[],_0x135a73=0x0;_0x135a73<_0x8286b7;_0x135a73+=0x3)for(var _0x48b2a3=_0x217ca0[_0x135a73>>>0x2]>>>0x18-_0x135a73%0x4*0x8&0xff,_0x391880=_0x217ca0[_0x135a73+0x1>>>0x2]>>>0x18-(_0x135a73+0x1)%0x4*0x8&0xff,_0x30dc2a=_0x217ca0[_0x135a73+0x2>>>0x2]>>>0x18-(_0x135a73+0x2)%0x4*0x8&0xff,_0xa469d4=_0x48b2a3<<0x10|_0x391880<<0x8|_0x30dc2a,_0x4f5681=0x0;_0x4f5681<0x4&&_0x135a73+_0x4f5681*0.75<_0x8286b7;_0x4f5681++)_0x405975['push'](_0x59e517[_0x455aac(0x179)](_0xa469d4>>>0x6*(0x3-_0x4f5681)&0x3f));var _0x529826=_0x59e517[_0x455aac(0x179)](0x40);if(_0x529826){for(;_0x405975[_0x455aac(0x3ca)]%0x4;)_0x405975[_0x455aac(0x2b7)](_0x529826);}return _0x405975[_0x455aac(0x1c6)]('');},'parse':function(_0x1ef34c){var _0x54b305=_0x1f4e49,_0x426b77=_0x1ef34c[_0x54b305(0x3ca)],_0x3d56fa=this[_0x54b305(0x3e2)],_0x3c2982=this[_0x54b305(0x1fb)];if(!_0x3c2982){_0x3c2982=this[_0x54b305(0x1fb)]=[];for(var _0x17a0c5=0x0;_0x17a0c5<_0x3d56fa[_0x54b305(0x3ca)];_0x17a0c5++)_0x3c2982[_0x3d56fa[_0x54b305(0x93)](_0x17a0c5)]=_0x17a0c5;}var _0x41669e=_0x3d56fa[_0x54b305(0x179)](0x40);if(_0x41669e){var _0x5467d9=_0x1ef34c[_0x54b305(0x30a)](_0x41669e);_0x5467d9!==-0x1&&(_0x426b77=_0x5467d9);}return _0x3e501c(_0x1ef34c,_0x426b77,_0x3c2982);},'_map':_0x1f4e49(0x88)};function _0x3e501c(_0x1a00a3,_0xe3d027,_0x2af16d){var _0x1f1151=_0x1f4e49;for(var _0x295aa8=[],_0x1716d0=0x0,_0xf7d71b=0x0;_0xf7d71b<_0xe3d027;_0xf7d71b++)if(_0xf7d71b%0x4){var _0x16a891=_0x2af16d[_0x1a00a3[_0x1f1151(0x93)](_0xf7d71b-0x1)]<<_0xf7d71b%0x4*0x2,_0x174017=_0x2af16d[_0x1a00a3['charCodeAt'](_0xf7d71b)]>>>0x6-_0xf7d71b%0x4*0x2,_0x3246c3=_0x16a891|_0x174017;_0x295aa8[_0x1716d0>>>0x2]|=_0x3246c3<<0x18-_0x1716d0%0x4*0x8,_0x1716d0++;}return _0xc153eb['create'](_0x295aa8,_0x1716d0);}}()),_0xa21079['enc'][_0x2bee2e(0x254)];}));}(_0x24d4fe)),_0x24d4fe['exports'];}var _0x45299e={'exports':{}},_0xe7a324=_0x45299e['exports'],_0x2cca7f;function _0x4b6d37(){var _0x4ea90a=_0x50553d;return _0x2cca7f||(_0x2cca7f=0x1,function(_0x51a09c,_0x203740){(function(_0x3229a1,_0x168da2){var _0x2a94c2=_0x337f;_0x51a09c[_0x2a94c2(0x313)]=_0x168da2(_0x17e9a3());}(_0xe7a324,function(_0x126ca7){var _0x3f29c3=_0x337f;return function(_0xf38132){var _0x1618e5=_0x337f,_0x1d8d5f=_0x126ca7,_0x4483f1=_0x1d8d5f[_0x1618e5(0x2e5)],_0x18b3a3=_0x4483f1[_0x1618e5(0x214)],_0x23a154=_0x4483f1['Hasher'],_0x4a4387=_0x1d8d5f['algo'],_0x279cb0=[];(function(){var _0x1f40f8=_0x1618e5;for(var _0x1f0de9=0x0;_0x1f0de9<0x40;_0x1f0de9++)_0x279cb0[_0x1f0de9]=_0xf38132[_0x1f40f8(0x25f)](_0xf38132[_0x1f40f8(0x1c0)](_0x1f0de9+0x1))*0x100000000|0x0;}());var _0x487e8e=_0x4a4387[_0x1618e5(0x33d)]=_0x23a154[_0x1618e5(0x2bd)]({'_doReset':function(){this['_hash']=new _0x18b3a3['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2555c7,_0xb9e3b0){var _0x229d98=_0x1618e5;for(var _0x1cf384=0x0;_0x1cf384<0x10;_0x1cf384++){var _0x136c6e=_0xb9e3b0+_0x1cf384,_0x3331d4=_0x2555c7[_0x136c6e];_0x2555c7[_0x136c6e]=(_0x3331d4<<0x8|_0x3331d4>>>0x18)&0xff00ff|(_0x3331d4<<0x18|_0x3331d4>>>0x8)&0xff00ff00;}var _0x258f4a=this[_0x229d98(0xbe)][_0x229d98(0x3aa)],_0x52d47c=_0x2555c7[_0xb9e3b0+0x0],_0x4f3f62=_0x2555c7[_0xb9e3b0+0x1],_0x3d01b3=_0x2555c7[_0xb9e3b0+0x2],_0x1cfc8f=_0x2555c7[_0xb9e3b0+0x3],_0x4b378c=_0x2555c7[_0xb9e3b0+0x4],_0xd38356=_0x2555c7[_0xb9e3b0+0x5],_0x56f768=_0x2555c7[_0xb9e3b0+0x6],_0x34ff3c=_0x2555c7[_0xb9e3b0+0x7],_0x3644f0=_0x2555c7[_0xb9e3b0+0x8],_0xc04b7e=_0x2555c7[_0xb9e3b0+0x9],_0x4a4a93=_0x2555c7[_0xb9e3b0+0xa],_0x4e55ad=_0x2555c7[_0xb9e3b0+0xb],_0x25702c=_0x2555c7[_0xb9e3b0+0xc],_0x4274ec=_0x2555c7[_0xb9e3b0+0xd],_0x444612=_0x2555c7[_0xb9e3b0+0xe],_0x4d092d=_0x2555c7[_0xb9e3b0+0xf],_0x22f12f=_0x258f4a[0x0],_0x5946f4=_0x258f4a[0x1],_0x2f5fd6=_0x258f4a[0x2],_0x2b3d85=_0x258f4a[0x3];_0x22f12f=_0x4e0389(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x52d47c,0x7,_0x279cb0[0x0]),_0x2b3d85=_0x4e0389(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x4f3f62,0xc,_0x279cb0[0x1]),_0x2f5fd6=_0x4e0389(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x3d01b3,0x11,_0x279cb0[0x2]),_0x5946f4=_0x4e0389(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x1cfc8f,0x16,_0x279cb0[0x3]),_0x22f12f=_0x4e0389(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x4b378c,0x7,_0x279cb0[0x4]),_0x2b3d85=_0x4e0389(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0xd38356,0xc,_0x279cb0[0x5]),_0x2f5fd6=_0x4e0389(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x56f768,0x11,_0x279cb0[0x6]),_0x5946f4=_0x4e0389(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x34ff3c,0x16,_0x279cb0[0x7]),_0x22f12f=_0x4e0389(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x3644f0,0x7,_0x279cb0[0x8]),_0x2b3d85=_0x4e0389(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0xc04b7e,0xc,_0x279cb0[0x9]),_0x2f5fd6=_0x4e0389(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x4a4a93,0x11,_0x279cb0[0xa]),_0x5946f4=_0x4e0389(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x4e55ad,0x16,_0x279cb0[0xb]),_0x22f12f=_0x4e0389(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x25702c,0x7,_0x279cb0[0xc]),_0x2b3d85=_0x4e0389(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x4274ec,0xc,_0x279cb0[0xd]),_0x2f5fd6=_0x4e0389(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x444612,0x11,_0x279cb0[0xe]),_0x5946f4=_0x4e0389(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x4d092d,0x16,_0x279cb0[0xf]),_0x22f12f=_0x2e2455(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x4f3f62,0x5,_0x279cb0[0x10]),_0x2b3d85=_0x2e2455(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x56f768,0x9,_0x279cb0[0x11]),_0x2f5fd6=_0x2e2455(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x4e55ad,0xe,_0x279cb0[0x12]),_0x5946f4=_0x2e2455(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x52d47c,0x14,_0x279cb0[0x13]),_0x22f12f=_0x2e2455(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0xd38356,0x5,_0x279cb0[0x14]),_0x2b3d85=_0x2e2455(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x4a4a93,0x9,_0x279cb0[0x15]),_0x2f5fd6=_0x2e2455(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x4d092d,0xe,_0x279cb0[0x16]),_0x5946f4=_0x2e2455(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x4b378c,0x14,_0x279cb0[0x17]),_0x22f12f=_0x2e2455(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0xc04b7e,0x5,_0x279cb0[0x18]),_0x2b3d85=_0x2e2455(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x444612,0x9,_0x279cb0[0x19]),_0x2f5fd6=_0x2e2455(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x1cfc8f,0xe,_0x279cb0[0x1a]),_0x5946f4=_0x2e2455(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x3644f0,0x14,_0x279cb0[0x1b]),_0x22f12f=_0x2e2455(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x4274ec,0x5,_0x279cb0[0x1c]),_0x2b3d85=_0x2e2455(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x3d01b3,0x9,_0x279cb0[0x1d]),_0x2f5fd6=_0x2e2455(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x34ff3c,0xe,_0x279cb0[0x1e]),_0x5946f4=_0x2e2455(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x25702c,0x14,_0x279cb0[0x1f]),_0x22f12f=_0x3b8ba9(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0xd38356,0x4,_0x279cb0[0x20]),_0x2b3d85=_0x3b8ba9(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x3644f0,0xb,_0x279cb0[0x21]),_0x2f5fd6=_0x3b8ba9(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x4e55ad,0x10,_0x279cb0[0x22]),_0x5946f4=_0x3b8ba9(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x444612,0x17,_0x279cb0[0x23]),_0x22f12f=_0x3b8ba9(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x4f3f62,0x4,_0x279cb0[0x24]),_0x2b3d85=_0x3b8ba9(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x4b378c,0xb,_0x279cb0[0x25]),_0x2f5fd6=_0x3b8ba9(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x34ff3c,0x10,_0x279cb0[0x26]),_0x5946f4=_0x3b8ba9(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x4a4a93,0x17,_0x279cb0[0x27]),_0x22f12f=_0x3b8ba9(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x4274ec,0x4,_0x279cb0[0x28]),_0x2b3d85=_0x3b8ba9(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x52d47c,0xb,_0x279cb0[0x29]),_0x2f5fd6=_0x3b8ba9(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x1cfc8f,0x10,_0x279cb0[0x2a]),_0x5946f4=_0x3b8ba9(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x56f768,0x17,_0x279cb0[0x2b]),_0x22f12f=_0x3b8ba9(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0xc04b7e,0x4,_0x279cb0[0x2c]),_0x2b3d85=_0x3b8ba9(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x25702c,0xb,_0x279cb0[0x2d]),_0x2f5fd6=_0x3b8ba9(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x4d092d,0x10,_0x279cb0[0x2e]),_0x5946f4=_0x3b8ba9(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x3d01b3,0x17,_0x279cb0[0x2f]),_0x22f12f=_0x345678(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x52d47c,0x6,_0x279cb0[0x30]),_0x2b3d85=_0x345678(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x34ff3c,0xa,_0x279cb0[0x31]),_0x2f5fd6=_0x345678(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x444612,0xf,_0x279cb0[0x32]),_0x5946f4=_0x345678(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0xd38356,0x15,_0x279cb0[0x33]),_0x22f12f=_0x345678(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x25702c,0x6,_0x279cb0[0x34]),_0x2b3d85=_0x345678(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x1cfc8f,0xa,_0x279cb0[0x35]),_0x2f5fd6=_0x345678(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x4a4a93,0xf,_0x279cb0[0x36]),_0x5946f4=_0x345678(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x4f3f62,0x15,_0x279cb0[0x37]),_0x22f12f=_0x345678(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x3644f0,0x6,_0x279cb0[0x38]),_0x2b3d85=_0x345678(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x4d092d,0xa,_0x279cb0[0x39]),_0x2f5fd6=_0x345678(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x56f768,0xf,_0x279cb0[0x3a]),_0x5946f4=_0x345678(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x4274ec,0x15,_0x279cb0[0x3b]),_0x22f12f=_0x345678(_0x22f12f,_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x4b378c,0x6,_0x279cb0[0x3c]),_0x2b3d85=_0x345678(_0x2b3d85,_0x22f12f,_0x5946f4,_0x2f5fd6,_0x4e55ad,0xa,_0x279cb0[0x3d]),_0x2f5fd6=_0x345678(_0x2f5fd6,_0x2b3d85,_0x22f12f,_0x5946f4,_0x3d01b3,0xf,_0x279cb0[0x3e]),_0x5946f4=_0x345678(_0x5946f4,_0x2f5fd6,_0x2b3d85,_0x22f12f,_0xc04b7e,0x15,_0x279cb0[0x3f]),_0x258f4a[0x0]=_0x258f4a[0x0]+_0x22f12f|0x0,_0x258f4a[0x1]=_0x258f4a[0x1]+_0x5946f4|0x0,_0x258f4a[0x2]=_0x258f4a[0x2]+_0x2f5fd6|0x0,_0x258f4a[0x3]=_0x258f4a[0x3]+_0x2b3d85|0x0;},'_doFinalize':function(){var _0x485a35=_0x1618e5,_0x4f21fb=this[_0x485a35(0x359)],_0x4772ab=_0x4f21fb[_0x485a35(0x3aa)],_0x2b0de7=this['_nDataBytes']*0x8,_0x24bee4=_0x4f21fb['sigBytes']*0x8;_0x4772ab[_0x24bee4>>>0x5]|=0x80<<0x18-_0x24bee4%0x20;var _0x4963bc=_0xf38132['floor'](_0x2b0de7/0x100000000),_0x3599ae=_0x2b0de7;_0x4772ab[(_0x24bee4+0x40>>>0x9<<0x4)+0xf]=(_0x4963bc<<0x8|_0x4963bc>>>0x18)&0xff00ff|(_0x4963bc<<0x18|_0x4963bc>>>0x8)&0xff00ff00,_0x4772ab[(_0x24bee4+0x40>>>0x9<<0x4)+0xe]=(_0x3599ae<<0x8|_0x3599ae>>>0x18)&0xff00ff|(_0x3599ae<<0x18|_0x3599ae>>>0x8)&0xff00ff00,_0x4f21fb['sigBytes']=(_0x4772ab[_0x485a35(0x3ca)]+0x1)*0x4,this[_0x485a35(0xa4)]();for(var _0x2558ae=this[_0x485a35(0xbe)],_0x33646b=_0x2558ae[_0x485a35(0x3aa)],_0x468d6d=0x0;_0x468d6d<0x4;_0x468d6d++){var _0x147433=_0x33646b[_0x468d6d];_0x33646b[_0x468d6d]=(_0x147433<<0x8|_0x147433>>>0x18)&0xff00ff|(_0x147433<<0x18|_0x147433>>>0x8)&0xff00ff00;}return _0x2558ae;},'clone':function(){var _0x542f6e=_0x1618e5,_0x1d5223=_0x23a154[_0x542f6e(0x363)][_0x542f6e(0x343)](this);return _0x1d5223[_0x542f6e(0xbe)]=this[_0x542f6e(0xbe)][_0x542f6e(0x363)](),_0x1d5223;}});function _0x4e0389(_0x2705be,_0x32d67e,_0x3c7ac8,_0x4b8350,_0x3f9626,_0x5585bf,_0x1428a7){var _0x55d921=_0x2705be+(_0x32d67e&_0x3c7ac8|~_0x32d67e&_0x4b8350)+_0x3f9626+_0x1428a7;return(_0x55d921<<_0x5585bf|_0x55d921>>>0x20-_0x5585bf)+_0x32d67e;}function _0x2e2455(_0x6357aa,_0x36aaec,_0x289c2d,_0x548ffe,_0x5ede5c,_0x517890,_0x114f33){var _0x50e627=_0x6357aa+(_0x36aaec&_0x548ffe|_0x289c2d&~_0x548ffe)+_0x5ede5c+_0x114f33;return(_0x50e627<<_0x517890|_0x50e627>>>0x20-_0x517890)+_0x36aaec;}function _0x3b8ba9(_0x18b5bb,_0x2540a4,_0x15c6d3,_0x5e29bb,_0x52a041,_0x56597e,_0xc4a8ef){var _0x4f9333=_0x18b5bb+(_0x2540a4^_0x15c6d3^_0x5e29bb)+_0x52a041+_0xc4a8ef;return(_0x4f9333<<_0x56597e|_0x4f9333>>>0x20-_0x56597e)+_0x2540a4;}function _0x345678(_0x139c0d,_0x3c1105,_0x4b1fa5,_0x39f9ca,_0x47684f,_0x5c6497,_0x24494d){var _0x36e9d9=_0x139c0d+(_0x4b1fa5^(_0x3c1105|~_0x39f9ca))+_0x47684f+_0x24494d;return(_0x36e9d9<<_0x5c6497|_0x36e9d9>>>0x20-_0x5c6497)+_0x3c1105;}_0x1d8d5f['MD5']=_0x23a154[_0x1618e5(0x11e)](_0x487e8e),_0x1d8d5f[_0x1618e5(0x35f)]=_0x23a154[_0x1618e5(0x1ae)](_0x487e8e);}(Math),_0x126ca7[_0x3f29c3(0x33d)];}));}(_0x45299e)),_0x45299e[_0x4ea90a(0x313)];}var _0x29df31={'exports':{}},_0x15daac={'exports':{}},_0xaceb56=_0x15daac[_0x50553d(0x313)],_0x5ef777;function _0x21e23a(){return _0x5ef777||(_0x5ef777=0x1,function(_0x369d6a,_0x65142a){(function(_0x209166,_0x924a8f){var _0x2604fc=_0x337f;_0x369d6a[_0x2604fc(0x313)]=_0x924a8f(_0x17e9a3());}(_0xaceb56,function(_0x3436ba){var _0x110ff8=_0x337f;return(function(){var _0x4de30b=_0x337f,_0x433674=_0x3436ba,_0x14e99e=_0x433674[_0x4de30b(0x2e5)],_0x18a2eb=_0x14e99e['WordArray'],_0x296d5e=_0x14e99e[_0x4de30b(0x119)],_0x1804ac=_0x433674['algo'],_0x4fe4d3=[],_0x49161a=_0x1804ac['SHA1']=_0x296d5e[_0x4de30b(0x2bd)]({'_doReset':function(){var _0xb1fd4f=_0x4de30b;this[_0xb1fd4f(0xbe)]=new _0x18a2eb[(_0xb1fd4f(0x150))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xaf3a1d,_0x41bb1e){var _0x49655e=_0x4de30b;for(var _0x35162d=this['_hash'][_0x49655e(0x3aa)],_0x411565=_0x35162d[0x0],_0x136346=_0x35162d[0x1],_0x4a8445=_0x35162d[0x2],_0x2c5ae3=_0x35162d[0x3],_0x147de3=_0x35162d[0x4],_0x39ac0b=0x0;_0x39ac0b<0x50;_0x39ac0b++){if(_0x39ac0b<0x10)_0x4fe4d3[_0x39ac0b]=_0xaf3a1d[_0x41bb1e+_0x39ac0b]|0x0;else{var _0xd2edc2=_0x4fe4d3[_0x39ac0b-0x3]^_0x4fe4d3[_0x39ac0b-0x8]^_0x4fe4d3[_0x39ac0b-0xe]^_0x4fe4d3[_0x39ac0b-0x10];_0x4fe4d3[_0x39ac0b]=_0xd2edc2<<0x1|_0xd2edc2>>>0x1f;}var _0x5a2179=(_0x411565<<0x5|_0x411565>>>0x1b)+_0x147de3+_0x4fe4d3[_0x39ac0b];_0x39ac0b<0x14?_0x5a2179+=(_0x136346&_0x4a8445|~_0x136346&_0x2c5ae3)+0x5a827999:_0x39ac0b<0x28?_0x5a2179+=(_0x136346^_0x4a8445^_0x2c5ae3)+0x6ed9eba1:_0x39ac0b<0x3c?_0x5a2179+=(_0x136346&_0x4a8445|_0x136346&_0x2c5ae3|_0x4a8445&_0x2c5ae3)-0x70e44324:_0x5a2179+=(_0x136346^_0x4a8445^_0x2c5ae3)-0x359d3e2a,_0x147de3=_0x2c5ae3,_0x2c5ae3=_0x4a8445,_0x4a8445=_0x136346<<0x1e|_0x136346>>>0x2,_0x136346=_0x411565,_0x411565=_0x5a2179;}_0x35162d[0x0]=_0x35162d[0x0]+_0x411565|0x0,_0x35162d[0x1]=_0x35162d[0x1]+_0x136346|0x0,_0x35162d[0x2]=_0x35162d[0x2]+_0x4a8445|0x0,_0x35162d[0x3]=_0x35162d[0x3]+_0x2c5ae3|0x0,_0x35162d[0x4]=_0x35162d[0x4]+_0x147de3|0x0;},'_doFinalize':function(){var _0x43631b=_0x4de30b,_0x1c3427=this[_0x43631b(0x359)],_0x4280e5=_0x1c3427[_0x43631b(0x3aa)],_0x39b92a=this[_0x43631b(0x3de)]*0x8,_0x58b2fc=_0x1c3427[_0x43631b(0x257)]*0x8;return _0x4280e5[_0x58b2fc>>>0x5]|=0x80<<0x18-_0x58b2fc%0x20,_0x4280e5[(_0x58b2fc+0x40>>>0x9<<0x4)+0xe]=Math[_0x43631b(0x283)](_0x39b92a/0x100000000),_0x4280e5[(_0x58b2fc+0x40>>>0x9<<0x4)+0xf]=_0x39b92a,_0x1c3427[_0x43631b(0x257)]=_0x4280e5['length']*0x4,this[_0x43631b(0xa4)](),this[_0x43631b(0xbe)];},'clone':function(){var _0x7ae15=_0x4de30b,_0x51efb2=_0x296d5e[_0x7ae15(0x363)][_0x7ae15(0x343)](this);return _0x51efb2[_0x7ae15(0xbe)]=this[_0x7ae15(0xbe)][_0x7ae15(0x363)](),_0x51efb2;}});_0x433674[_0x4de30b(0x262)]=_0x296d5e[_0x4de30b(0x11e)](_0x49161a),_0x433674[_0x4de30b(0x2ab)]=_0x296d5e[_0x4de30b(0x1ae)](_0x49161a);}()),_0x3436ba[_0x110ff8(0x262)];}));}(_0x15daac)),_0x15daac['exports'];}var _0x21c7bb={'exports':{}},_0x538bd3=_0x21c7bb['exports'],_0x1b86f4;function _0x4b264c(){return _0x1b86f4||(_0x1b86f4=0x1,function(_0xe6a9cf,_0x5b2d1c){(function(_0x3658f4,_0x51417b){var _0x2783d8=_0x337f;_0xe6a9cf[_0x2783d8(0x313)]=_0x51417b(_0x17e9a3());}(_0x538bd3,function(_0x2b18fd){(function(){var _0x21bf43=_0x337f,_0x4ef2c5=_0x2b18fd,_0x353a9b=_0x4ef2c5['lib'],_0x1a1e7e=_0x353a9b[_0x21bf43(0x3d9)],_0x2fd04e=_0x4ef2c5[_0x21bf43(0x30e)],_0x4e638d=_0x2fd04e['Utf8'],_0x35f2cf=_0x4ef2c5['algo'];_0x35f2cf[_0x21bf43(0x9e)]=_0x1a1e7e['extend']({'init':function(_0x52fc80,_0x28b893){var _0x473f5e=_0x21bf43;_0x52fc80=this[_0x473f5e(0x2df)]=new _0x52fc80[(_0x473f5e(0x150))](),typeof _0x28b893==_0x473f5e(0x181)&&(_0x28b893=_0x4e638d[_0x473f5e(0x112)](_0x28b893));var _0x2355b2=_0x52fc80[_0x473f5e(0x264)],_0x3a0574=_0x2355b2*0x4;_0x28b893[_0x473f5e(0x257)]>_0x3a0574&&(_0x28b893=_0x52fc80['finalize'](_0x28b893)),_0x28b893[_0x473f5e(0x9d)]();for(var _0x349444=this[_0x473f5e(0x2fc)]=_0x28b893[_0x473f5e(0x363)](),_0x3205cf=this[_0x473f5e(0x35b)]=_0x28b893['clone'](),_0x5b0524=_0x349444[_0x473f5e(0x3aa)],_0x16c51a=_0x3205cf[_0x473f5e(0x3aa)],_0x8572ce=0x0;_0x8572ce<_0x2355b2;_0x8572ce++)_0x5b0524[_0x8572ce]^=0x5c5c5c5c,_0x16c51a[_0x8572ce]^=0x36363636;_0x349444['sigBytes']=_0x3205cf['sigBytes']=_0x3a0574,this[_0x473f5e(0x395)]();},'reset':function(){var _0x3c0aac=_0x21bf43,_0x58d753=this[_0x3c0aac(0x2df)];_0x58d753[_0x3c0aac(0x395)](),_0x58d753[_0x3c0aac(0x35a)](this[_0x3c0aac(0x35b)]);},'update':function(_0x2cedbb){var _0x21fdb9=_0x21bf43;return this[_0x21fdb9(0x2df)][_0x21fdb9(0x35a)](_0x2cedbb),this;},'finalize':function(_0x5907e1){var _0x5846ac=_0x21bf43,_0x5ec214=this[_0x5846ac(0x2df)],_0xdf3efe=_0x5ec214['finalize'](_0x5907e1);_0x5ec214[_0x5846ac(0x395)]();var _0x2a3738=_0x5ec214[_0x5846ac(0x32e)](this['_oKey']['clone']()['concat'](_0xdf3efe));return _0x2a3738;}});}());}));}(_0x21c7bb)),_0x21c7bb['exports'];}var _0x43ab3f=_0x29df31[_0x50553d(0x313)],_0x5eabee;function _0x2119a8(){var _0x5c9b20=_0x50553d;return _0x5eabee||(_0x5eabee=0x1,function(_0x5caa5b,_0x1252d8){(function(_0xa56b4,_0x1c575e,_0x27555e){var _0x4289d0=_0x337f;_0x5caa5b[_0x4289d0(0x313)]=_0x1c575e(_0x17e9a3(),_0x21e23a(),_0x4b264c());}(_0x43ab3f,function(_0x44393c){var _0x12aa08=_0x337f;return(function(){var _0x6584a5=_0x337f,_0xce3073=_0x44393c,_0x25c9d6=_0xce3073['lib'],_0x1c1e46=_0x25c9d6[_0x6584a5(0x3d9)],_0x264339=_0x25c9d6[_0x6584a5(0x214)],_0x11229a=_0xce3073['algo'],_0x1b02bd=_0x11229a[_0x6584a5(0x33d)],_0x2196a3=_0x11229a[_0x6584a5(0x2a0)]=_0x1c1e46[_0x6584a5(0x2bd)]({'cfg':_0x1c1e46[_0x6584a5(0x2bd)]({'keySize':0x80/0x20,'hasher':_0x1b02bd,'iterations':0x1}),'init':function(_0x40ff31){var _0xe3fd6d=_0x6584a5;this[_0xe3fd6d(0x1e1)]=this[_0xe3fd6d(0x1e1)][_0xe3fd6d(0x2bd)](_0x40ff31);},'compute':function(_0x7a58e0,_0x694084){var _0x3ab6d7=_0x6584a5;for(var _0x17ac3b,_0x5505b8=this[_0x3ab6d7(0x1e1)],_0x3354db=_0x5505b8[_0x3ab6d7(0xa2)][_0x3ab6d7(0x2f5)](),_0x59b7ae=_0x264339[_0x3ab6d7(0x2f5)](),_0x21b87b=_0x59b7ae['words'],_0x56a7ea=_0x5505b8[_0x3ab6d7(0x137)],_0x120377=_0x5505b8[_0x3ab6d7(0x2ff)];_0x21b87b[_0x3ab6d7(0x3ca)]<_0x56a7ea;){_0x17ac3b&&_0x3354db['update'](_0x17ac3b),_0x17ac3b=_0x3354db['update'](_0x7a58e0)[_0x3ab6d7(0x32e)](_0x694084),_0x3354db[_0x3ab6d7(0x395)]();for(var _0x392a0b=0x1;_0x392a0b<_0x120377;_0x392a0b++)_0x17ac3b=_0x3354db['finalize'](_0x17ac3b),_0x3354db[_0x3ab6d7(0x395)]();_0x59b7ae[_0x3ab6d7(0x15d)](_0x17ac3b);}return _0x59b7ae['sigBytes']=_0x56a7ea*0x4,_0x59b7ae;}});_0xce3073[_0x6584a5(0x2a0)]=function(_0x32fa6a,_0x5ef4a1,_0x512b4e){return _0x2196a3['create'](_0x512b4e)['compute'](_0x32fa6a,_0x5ef4a1);};}()),_0x44393c[_0x12aa08(0x2a0)];}));}(_0x29df31)),_0x29df31[_0x5c9b20(0x313)];}var _0x535860={'exports':{}},_0x45cb12=_0x535860[_0x50553d(0x313)],_0x3c9d7a;function _0x1cf230(){var _0x1d4d55=_0x50553d;return _0x3c9d7a||(_0x3c9d7a=0x1,function(_0x5093ce,_0x5ccd66){(function(_0x28d53f,_0x264ea8,_0xca48aa){_0x5093ce['exports']=_0x264ea8(_0x17e9a3(),_0x2119a8());}(_0x45cb12,function(_0x31349a){var _0x2dc244=_0x337f;_0x31349a[_0x2dc244(0x2e5)]['Cipher']||function(_0x55cded){var _0x18eb1e=_0x2dc244,_0x3c457a=_0x31349a,_0x2fd2a4=_0x3c457a[_0x18eb1e(0x2e5)],_0x1e09c1=_0x2fd2a4[_0x18eb1e(0x3d9)],_0x5225c1=_0x2fd2a4[_0x18eb1e(0x214)],_0x1f0bc6=_0x2fd2a4[_0x18eb1e(0x353)],_0x12e9b7=_0x3c457a['enc'];_0x12e9b7[_0x18eb1e(0x285)];var _0x33d945=_0x12e9b7[_0x18eb1e(0x254)],_0xe9d3b5=_0x3c457a[_0x18eb1e(0x3ef)],_0x4271c6=_0xe9d3b5[_0x18eb1e(0x2a0)],_0x36d21a=_0x2fd2a4[_0x18eb1e(0x28b)]=_0x1f0bc6[_0x18eb1e(0x2bd)]({'cfg':_0x1e09c1['extend'](),'createEncryptor':function(_0x200f91,_0x555740){var _0x1bee01=_0x18eb1e;return this[_0x1bee01(0x2f5)](this[_0x1bee01(0x38a)],_0x200f91,_0x555740);},'createDecryptor':function(_0x2f6879,_0x3fbbfa){var _0x1f8206=_0x18eb1e;return this['create'](this[_0x1f8206(0x3ce)],_0x2f6879,_0x3fbbfa);},'init':function(_0x5beb1e,_0x197dae,_0x34b9d2){var _0x2ca4f4=_0x18eb1e;this['cfg']=this['cfg'][_0x2ca4f4(0x2bd)](_0x34b9d2),this[_0x2ca4f4(0x1a9)]=_0x5beb1e,this[_0x2ca4f4(0x23b)]=_0x197dae,this[_0x2ca4f4(0x395)]();},'reset':function(){var _0x36b14b=_0x18eb1e;_0x1f0bc6[_0x36b14b(0x395)][_0x36b14b(0x343)](this),this[_0x36b14b(0x106)]();},'process':function(_0x5e4f64){var _0x4e13f5=_0x18eb1e;return this['_append'](_0x5e4f64),this[_0x4e13f5(0xa4)]();},'finalize':function(_0x1b3b91){var _0x4b8562=_0x18eb1e;_0x1b3b91&&this[_0x4b8562(0x2b3)](_0x1b3b91);var _0x465ce7=this['_doFinalize']();return _0x465ce7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1c1837(_0x150c41){return typeof _0x150c41=='string'?_0x5512d9:_0x338537;}return function(_0x504a07){return{'encrypt':function(_0x13e974,_0x42c5a2,_0x4757f4){var _0x55560e=_0x337f;return _0x1c1837(_0x42c5a2)[_0x55560e(0x36c)](_0x504a07,_0x13e974,_0x42c5a2,_0x4757f4);},'decrypt':function(_0x3d4ff7,_0x5af7c5,_0x3b73ec){var _0x5d3634=_0x337f;return _0x1c1837(_0x5af7c5)[_0x5d3634(0x1ca)](_0x504a07,_0x3d4ff7,_0x5af7c5,_0x3b73ec);}};};}())});_0x2fd2a4[_0x18eb1e(0x1f2)]=_0x36d21a[_0x18eb1e(0x2bd)]({'_doFinalize':function(){var _0x1c9beb=_0x18eb1e,_0x42a456=this[_0x1c9beb(0xa4)](!0x0);return _0x42a456;},'blockSize':0x1});var _0x4b2228=_0x3c457a[_0x18eb1e(0x200)]={},_0x58ecc7=_0x2fd2a4['BlockCipherMode']=_0x1e09c1['extend']({'createEncryptor':function(_0x4796de,_0x24bd2e){var _0x442f81=_0x18eb1e;return this[_0x442f81(0x384)][_0x442f81(0x2f5)](_0x4796de,_0x24bd2e);},'createDecryptor':function(_0x40209c,_0x4e010b){var _0x47da5a=_0x18eb1e;return this[_0x47da5a(0x1e8)][_0x47da5a(0x2f5)](_0x40209c,_0x4e010b);},'init':function(_0x45db92,_0xffd60e){var _0x54ab26=_0x18eb1e;this[_0x54ab26(0x114)]=_0x45db92,this[_0x54ab26(0x218)]=_0xffd60e;}}),_0x1fbe21=_0x4b2228['CBC']=(function(){var _0x3895f5=_0x18eb1e,_0x41f72c=_0x58ecc7['extend']();_0x41f72c[_0x3895f5(0x384)]=_0x41f72c[_0x3895f5(0x2bd)]({'processBlock':function(_0x4d5e6a,_0x2e385c){var _0x1fdde2=_0x3895f5,_0x2b9c4b=this['_cipher'],_0x2ec7da=_0x2b9c4b[_0x1fdde2(0x264)];_0x15863e[_0x1fdde2(0x343)](this,_0x4d5e6a,_0x2e385c,_0x2ec7da),_0x2b9c4b[_0x1fdde2(0x24d)](_0x4d5e6a,_0x2e385c),this['_prevBlock']=_0x4d5e6a[_0x1fdde2(0x134)](_0x2e385c,_0x2e385c+_0x2ec7da);}}),_0x41f72c[_0x3895f5(0x1e8)]=_0x41f72c[_0x3895f5(0x2bd)]({'processBlock':function(_0x17fd17,_0x3ede70){var _0x26fa54=_0x3895f5,_0x2c992a=this[_0x26fa54(0x114)],_0x2612cb=_0x2c992a['blockSize'],_0x24c443=_0x17fd17[_0x26fa54(0x134)](_0x3ede70,_0x3ede70+_0x2612cb);_0x2c992a['decryptBlock'](_0x17fd17,_0x3ede70),_0x15863e[_0x26fa54(0x343)](this,_0x17fd17,_0x3ede70,_0x2612cb),this[_0x26fa54(0x31c)]=_0x24c443;}});function _0x15863e(_0x1f03ef,_0x4dc5a4,_0xe36af1){var _0x54a251=_0x3895f5,_0x26f07d,_0x300293=this[_0x54a251(0x218)];_0x300293?(_0x26f07d=_0x300293,this[_0x54a251(0x218)]=_0x55cded):_0x26f07d=this[_0x54a251(0x31c)];for(var _0x4ac832=0x0;_0x4ac832<_0xe36af1;_0x4ac832++)_0x1f03ef[_0x4dc5a4+_0x4ac832]^=_0x26f07d[_0x4ac832];}return _0x41f72c;}()),_0x440d6a=_0x3c457a[_0x18eb1e(0x375)]={},_0x3a2c21=_0x440d6a[_0x18eb1e(0x2d2)]={'pad':function(_0x4a745b,_0x286282){var _0x2e62f6=_0x18eb1e;for(var _0x5f2d48=_0x286282*0x4,_0x4e2e2b=_0x5f2d48-_0x4a745b[_0x2e62f6(0x257)]%_0x5f2d48,_0x436e70=_0x4e2e2b<<0x18|_0x4e2e2b<<0x10|_0x4e2e2b<<0x8|_0x4e2e2b,_0x25ffc9=[],_0x48eaf0=0x0;_0x48eaf0<_0x4e2e2b;_0x48eaf0+=0x4)_0x25ffc9[_0x2e62f6(0x2b7)](_0x436e70);var _0x3c06a4=_0x5225c1[_0x2e62f6(0x2f5)](_0x25ffc9,_0x4e2e2b);_0x4a745b[_0x2e62f6(0x15d)](_0x3c06a4);},'unpad':function(_0x3ecbc9){var _0x3dacb7=_0x18eb1e,_0x3c7ac0=_0x3ecbc9['words'][_0x3ecbc9[_0x3dacb7(0x257)]-0x1>>>0x2]&0xff;_0x3ecbc9[_0x3dacb7(0x257)]-=_0x3c7ac0;}};_0x2fd2a4[_0x18eb1e(0x78)]=_0x36d21a[_0x18eb1e(0x2bd)]({'cfg':_0x36d21a['cfg']['extend']({'mode':_0x1fbe21,'padding':_0x3a2c21}),'reset':function(){var _0x57e82e=_0x18eb1e,_0x29b22b;_0x36d21a[_0x57e82e(0x395)][_0x57e82e(0x343)](this);var _0x70983b=this['cfg'],_0x3c1726=_0x70983b['iv'],_0x4210cb=_0x70983b['mode'];this[_0x57e82e(0x1a9)]==this[_0x57e82e(0x38a)]?_0x29b22b=_0x4210cb[_0x57e82e(0x255)]:(_0x29b22b=_0x4210cb['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this[_0x57e82e(0x2e1)][_0x57e82e(0x2fd)]==_0x29b22b?this[_0x57e82e(0x2e1)][_0x57e82e(0x150)](this,_0x3c1726&&_0x3c1726['words']):(this['_mode']=_0x29b22b[_0x57e82e(0x343)](_0x4210cb,this,_0x3c1726&&_0x3c1726[_0x57e82e(0x3aa)]),this['_mode']['__creator']=_0x29b22b);},'_doProcessBlock':function(_0x453219,_0x5f3d45){var _0x56c402=_0x18eb1e;this[_0x56c402(0x2e1)][_0x56c402(0x342)](_0x453219,_0x5f3d45);},'_doFinalize':function(){var _0x4602e5=_0x18eb1e,_0x459d19,_0x3e3791=this['cfg'][_0x4602e5(0x32b)];return this[_0x4602e5(0x1a9)]==this[_0x4602e5(0x38a)]?(_0x3e3791[_0x4602e5(0x375)](this[_0x4602e5(0x359)],this[_0x4602e5(0x264)]),_0x459d19=this[_0x4602e5(0xa4)](!0x0)):(_0x459d19=this[_0x4602e5(0xa4)](!0x0),_0x3e3791[_0x4602e5(0x340)](_0x459d19)),_0x459d19;},'blockSize':0x80/0x20});var _0x2cab98=_0x2fd2a4[_0x18eb1e(0x37e)]=_0x1e09c1[_0x18eb1e(0x2bd)]({'init':function(_0x3c0dd4){var _0x59c403=_0x18eb1e;this[_0x59c403(0x1ea)](_0x3c0dd4);},'toString':function(_0x2964f2){var _0x51d612=_0x18eb1e;return(_0x2964f2||this[_0x51d612(0x303)])['stringify'](this);}}),_0x5dde02=_0x3c457a['format']={},_0x7681bf=_0x5dde02[_0x18eb1e(0x127)]={'stringify':function(_0x1153f1){var _0x7496b0=_0x18eb1e,_0x1eb630,_0x5b27ab=_0x1153f1[_0x7496b0(0x148)],_0xc0361c=_0x1153f1[_0x7496b0(0x2eb)];return _0xc0361c?_0x1eb630=_0x5225c1['create']([0x53616c74,0x65645f5f])[_0x7496b0(0x15d)](_0xc0361c)['concat'](_0x5b27ab):_0x1eb630=_0x5b27ab,_0x1eb630[_0x7496b0(0x191)](_0x33d945);},'parse':function(_0x288744){var _0x62b910=_0x18eb1e,_0x3e8005,_0xc4e6e3=_0x33d945[_0x62b910(0x112)](_0x288744),_0x3acef4=_0xc4e6e3['words'];return _0x3acef4[0x0]==0x53616c74&&_0x3acef4[0x1]==0x65645f5f&&(_0x3e8005=_0x5225c1['create'](_0x3acef4['slice'](0x2,0x4)),_0x3acef4[_0x62b910(0x95)](0x0,0x4),_0xc4e6e3[_0x62b910(0x257)]-=0x10),_0x2cab98[_0x62b910(0x2f5)]({'ciphertext':_0xc4e6e3,'salt':_0x3e8005});}},_0x338537=_0x2fd2a4[_0x18eb1e(0x124)]=_0x1e09c1[_0x18eb1e(0x2bd)]({'cfg':_0x1e09c1[_0x18eb1e(0x2bd)]({'format':_0x7681bf}),'encrypt':function(_0x365ef5,_0x4fd78c,_0x22b219,_0x1edbba){var _0x244dcb=_0x18eb1e;_0x1edbba=this[_0x244dcb(0x1e1)]['extend'](_0x1edbba);var _0x3225e1=_0x365ef5[_0x244dcb(0x255)](_0x22b219,_0x1edbba),_0x42b94c=_0x3225e1['finalize'](_0x4fd78c),_0x57ee4d=_0x3225e1[_0x244dcb(0x1e1)];return _0x2cab98[_0x244dcb(0x2f5)]({'ciphertext':_0x42b94c,'key':_0x22b219,'iv':_0x57ee4d['iv'],'algorithm':_0x365ef5,'mode':_0x57ee4d['mode'],'padding':_0x57ee4d[_0x244dcb(0x32b)],'blockSize':_0x365ef5['blockSize'],'formatter':_0x1edbba[_0x244dcb(0x3c1)]});},'decrypt':function(_0x3ad598,_0x2ab03d,_0x48d867,_0x499e03){var _0x1b8dc3=_0x18eb1e;_0x499e03=this[_0x1b8dc3(0x1e1)]['extend'](_0x499e03),_0x2ab03d=this[_0x1b8dc3(0x294)](_0x2ab03d,_0x499e03[_0x1b8dc3(0x3c1)]);var _0x181a06=_0x3ad598[_0x1b8dc3(0x344)](_0x48d867,_0x499e03)[_0x1b8dc3(0x32e)](_0x2ab03d[_0x1b8dc3(0x148)]);return _0x181a06;},'_parse':function(_0x517ee2,_0x4b6c4b){var _0x55d7b6=_0x18eb1e;return typeof _0x517ee2=='string'?_0x4b6c4b[_0x55d7b6(0x112)](_0x517ee2,this):_0x517ee2;}}),_0x15d3c0=_0x3c457a['kdf']={},_0x198d48=_0x15d3c0[_0x18eb1e(0x127)]={'execute':function(_0x42af8d,_0x344317,_0x11a65d,_0x5dcfe7,_0x2fa851){var _0x2079f6=_0x18eb1e;if(_0x5dcfe7||(_0x5dcfe7=_0x5225c1[_0x2079f6(0xb2)](0x40/0x8)),_0x2fa851)var _0x3207d=_0x4271c6['create']({'keySize':_0x344317+_0x11a65d,'hasher':_0x2fa851})['compute'](_0x42af8d,_0x5dcfe7);else var _0x3207d=_0x4271c6[_0x2079f6(0x2f5)]({'keySize':_0x344317+_0x11a65d})[_0x2079f6(0x37a)](_0x42af8d,_0x5dcfe7);var _0x42e250=_0x5225c1['create'](_0x3207d[_0x2079f6(0x3aa)][_0x2079f6(0x134)](_0x344317),_0x11a65d*0x4);return _0x3207d[_0x2079f6(0x257)]=_0x344317*0x4,_0x2cab98[_0x2079f6(0x2f5)]({'key':_0x3207d,'iv':_0x42e250,'salt':_0x5dcfe7});}},_0x5512d9=_0x2fd2a4[_0x18eb1e(0x113)]=_0x338537[_0x18eb1e(0x2bd)]({'cfg':_0x338537[_0x18eb1e(0x1e1)]['extend']({'kdf':_0x198d48}),'encrypt':function(_0x13a32c,_0x3dbf97,_0x53adee,_0x5db3bc){var _0x3b91e5=_0x18eb1e;_0x5db3bc=this[_0x3b91e5(0x1e1)][_0x3b91e5(0x2bd)](_0x5db3bc);var _0x4e34cb=_0x5db3bc[_0x3b91e5(0x140)]['execute'](_0x53adee,_0x13a32c[_0x3b91e5(0x137)],_0x13a32c['ivSize'],_0x5db3bc[_0x3b91e5(0x2eb)],_0x5db3bc[_0x3b91e5(0xa2)]);_0x5db3bc['iv']=_0x4e34cb['iv'];var _0x31c3b3=_0x338537[_0x3b91e5(0x36c)][_0x3b91e5(0x343)](this,_0x13a32c,_0x3dbf97,_0x4e34cb[_0x3b91e5(0x142)],_0x5db3bc);return _0x31c3b3[_0x3b91e5(0x1ea)](_0x4e34cb),_0x31c3b3;},'decrypt':function(_0x115852,_0x4c87be,_0x2871da,_0x6b1c0e){var _0x1cf612=_0x18eb1e;_0x6b1c0e=this[_0x1cf612(0x1e1)][_0x1cf612(0x2bd)](_0x6b1c0e),_0x4c87be=this[_0x1cf612(0x294)](_0x4c87be,_0x6b1c0e[_0x1cf612(0x3c1)]);var _0x179648=_0x6b1c0e['kdf'][_0x1cf612(0x393)](_0x2871da,_0x115852[_0x1cf612(0x137)],_0x115852[_0x1cf612(0x311)],_0x4c87be[_0x1cf612(0x2eb)],_0x6b1c0e[_0x1cf612(0xa2)]);_0x6b1c0e['iv']=_0x179648['iv'];var _0x5d350d=_0x338537[_0x1cf612(0x1ca)][_0x1cf612(0x343)](this,_0x115852,_0x4c87be,_0x179648[_0x1cf612(0x142)],_0x6b1c0e);return _0x5d350d;}});}();}));}(_0x535860)),_0x535860[_0x1d4d55(0x313)];}var _0x1771ed=_0xa30145[_0x50553d(0x313)],_0x52d1c7;function _0x2459ce(){var _0xce179c=_0x50553d;return _0x52d1c7||(_0x52d1c7=0x1,function(_0x388ec5,_0x1b758a){(function(_0x339dfc,_0x30c375,_0x57db37){var _0xf2785f=_0x337f;_0x388ec5[_0xf2785f(0x313)]=_0x30c375(_0x17e9a3(),_0x3a38b2(),_0x4b6d37(),_0x2119a8(),_0x1cf230());}(_0x1771ed,function(_0x29053a){var _0x55c711=_0x337f;return(function(){var _0xca8c53=_0x337f,_0x2d9ed8=_0x29053a,_0x3f1d62=_0x2d9ed8['lib'],_0x385f81=_0x3f1d62[_0xca8c53(0x78)],_0x1540ae=_0x2d9ed8[_0xca8c53(0x3ef)],_0x2065d3=[],_0x3a0e0c=[],_0x214e04=[],_0x44127d=[],_0x4a09c8=[],_0x37319c=[],_0x49248e=[],_0x37eec9=[],_0x15e091=[],_0x1b142b=[];(function(){for(var _0x38efa7=[],_0x3f0b81=0x0;_0x3f0b81<0x100;_0x3f0b81++)_0x3f0b81<0x80?_0x38efa7[_0x3f0b81]=_0x3f0b81<<0x1:_0x38efa7[_0x3f0b81]=_0x3f0b81<<0x1^0x11b;for(var _0x4d3b18=0x0,_0xbafa94=0x0,_0x3f0b81=0x0;_0x3f0b81<0x100;_0x3f0b81++){var _0x5269cb=_0xbafa94^_0xbafa94<<0x1^_0xbafa94<<0x2^_0xbafa94<<0x3^_0xbafa94<<0x4;_0x5269cb=_0x5269cb>>>0x8^_0x5269cb&0xff^0x63,_0x2065d3[_0x4d3b18]=_0x5269cb,_0x3a0e0c[_0x5269cb]=_0x4d3b18;var _0x3194bf=_0x38efa7[_0x4d3b18],_0x14df6c=_0x38efa7[_0x3194bf],_0x882267=_0x38efa7[_0x14df6c],_0x32f18b=_0x38efa7[_0x5269cb]*0x101^_0x5269cb*0x1010100;_0x214e04[_0x4d3b18]=_0x32f18b<<0x18|_0x32f18b>>>0x8,_0x44127d[_0x4d3b18]=_0x32f18b<<0x10|_0x32f18b>>>0x10,_0x4a09c8[_0x4d3b18]=_0x32f18b<<0x8|_0x32f18b>>>0x18,_0x37319c[_0x4d3b18]=_0x32f18b;var _0x32f18b=_0x882267*0x1010101^_0x14df6c*0x10001^_0x3194bf*0x101^_0x4d3b18*0x1010100;_0x49248e[_0x5269cb]=_0x32f18b<<0x18|_0x32f18b>>>0x8,_0x37eec9[_0x5269cb]=_0x32f18b<<0x10|_0x32f18b>>>0x10,_0x15e091[_0x5269cb]=_0x32f18b<<0x8|_0x32f18b>>>0x18,_0x1b142b[_0x5269cb]=_0x32f18b,_0x4d3b18?(_0x4d3b18=_0x3194bf^_0x38efa7[_0x38efa7[_0x38efa7[_0x882267^_0x3194bf]]],_0xbafa94^=_0x38efa7[_0x38efa7[_0xbafa94]]):_0x4d3b18=_0xbafa94=0x1;}}());var _0x3b4071=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x38d34a=_0x1540ae[_0xca8c53(0x1b8)]=_0x385f81[_0xca8c53(0x2bd)]({'_doReset':function(){var _0x39f714=_0xca8c53,_0x415012;if(!(this[_0x39f714(0x290)]&&this[_0x39f714(0x7e)]===this[_0x39f714(0x23b)])){for(var _0x7b83cb=this[_0x39f714(0x7e)]=this[_0x39f714(0x23b)],_0x3a045e=_0x7b83cb[_0x39f714(0x3aa)],_0x58fdaa=_0x7b83cb['sigBytes']/0x4,_0x5754ff=this['_nRounds']=_0x58fdaa+0x6,_0x11d556=(_0x5754ff+0x1)*0x4,_0x5291fc=this[_0x39f714(0x322)]=[],_0xb41b3b=0x0;_0xb41b3b<_0x11d556;_0xb41b3b++)_0xb41b3b<_0x58fdaa?_0x5291fc[_0xb41b3b]=_0x3a045e[_0xb41b3b]:(_0x415012=_0x5291fc[_0xb41b3b-0x1],_0xb41b3b%_0x58fdaa?_0x58fdaa>0x6&&_0xb41b3b%_0x58fdaa==0x4&&(_0x415012=_0x2065d3[_0x415012>>>0x18]<<0x18|_0x2065d3[_0x415012>>>0x10&0xff]<<0x10|_0x2065d3[_0x415012>>>0x8&0xff]<<0x8|_0x2065d3[_0x415012&0xff]):(_0x415012=_0x415012<<0x8|_0x415012>>>0x18,_0x415012=_0x2065d3[_0x415012>>>0x18]<<0x18|_0x2065d3[_0x415012>>>0x10&0xff]<<0x10|_0x2065d3[_0x415012>>>0x8&0xff]<<0x8|_0x2065d3[_0x415012&0xff],_0x415012^=_0x3b4071[_0xb41b3b/_0x58fdaa|0x0]<<0x18),_0x5291fc[_0xb41b3b]=_0x5291fc[_0xb41b3b-_0x58fdaa]^_0x415012);for(var _0x127a86=this[_0x39f714(0x17c)]=[],_0x42dd68=0x0;_0x42dd68<_0x11d556;_0x42dd68++){var _0xb41b3b=_0x11d556-_0x42dd68;if(_0x42dd68%0x4)var _0x415012=_0x5291fc[_0xb41b3b];else var _0x415012=_0x5291fc[_0xb41b3b-0x4];_0x42dd68<0x4||_0xb41b3b<=0x4?_0x127a86[_0x42dd68]=_0x415012:_0x127a86[_0x42dd68]=_0x49248e[_0x2065d3[_0x415012>>>0x18]]^_0x37eec9[_0x2065d3[_0x415012>>>0x10&0xff]]^_0x15e091[_0x2065d3[_0x415012>>>0x8&0xff]]^_0x1b142b[_0x2065d3[_0x415012&0xff]];}}},'encryptBlock':function(_0x172bc5,_0x11d42c){var _0x2a56c1=_0xca8c53;this[_0x2a56c1(0x1a0)](_0x172bc5,_0x11d42c,this[_0x2a56c1(0x322)],_0x214e04,_0x44127d,_0x4a09c8,_0x37319c,_0x2065d3);},'decryptBlock':function(_0x5bb18b,_0xef4216){var _0x2e0beb=_0xca8c53,_0x565ffa=_0x5bb18b[_0xef4216+0x1];_0x5bb18b[_0xef4216+0x1]=_0x5bb18b[_0xef4216+0x3],_0x5bb18b[_0xef4216+0x3]=_0x565ffa,this[_0x2e0beb(0x1a0)](_0x5bb18b,_0xef4216,this['_invKeySchedule'],_0x49248e,_0x37eec9,_0x15e091,_0x1b142b,_0x3a0e0c);var _0x565ffa=_0x5bb18b[_0xef4216+0x1];_0x5bb18b[_0xef4216+0x1]=_0x5bb18b[_0xef4216+0x3],_0x5bb18b[_0xef4216+0x3]=_0x565ffa;},'_doCryptBlock':function(_0x1c1a95,_0x3698da,_0x1aa0e2,_0xbf3b7a,_0x38cfee,_0xdb4e99,_0x44335d,_0x18d707){var _0x4943ee=_0xca8c53;for(var _0xaf2216=this[_0x4943ee(0x290)],_0x3c8f62=_0x1c1a95[_0x3698da]^_0x1aa0e2[0x0],_0x48c00d=_0x1c1a95[_0x3698da+0x1]^_0x1aa0e2[0x1],_0x57005a=_0x1c1a95[_0x3698da+0x2]^_0x1aa0e2[0x2],_0xbc3630=_0x1c1a95[_0x3698da+0x3]^_0x1aa0e2[0x3],_0x4cbab3=0x4,_0x416f65=0x1;_0x416f65<_0xaf2216;_0x416f65++){var _0xa9d658=_0xbf3b7a[_0x3c8f62>>>0x18]^_0x38cfee[_0x48c00d>>>0x10&0xff]^_0xdb4e99[_0x57005a>>>0x8&0xff]^_0x44335d[_0xbc3630&0xff]^_0x1aa0e2[_0x4cbab3++],_0x40e8ac=_0xbf3b7a[_0x48c00d>>>0x18]^_0x38cfee[_0x57005a>>>0x10&0xff]^_0xdb4e99[_0xbc3630>>>0x8&0xff]^_0x44335d[_0x3c8f62&0xff]^_0x1aa0e2[_0x4cbab3++],_0x36787b=_0xbf3b7a[_0x57005a>>>0x18]^_0x38cfee[_0xbc3630>>>0x10&0xff]^_0xdb4e99[_0x3c8f62>>>0x8&0xff]^_0x44335d[_0x48c00d&0xff]^_0x1aa0e2[_0x4cbab3++],_0x192484=_0xbf3b7a[_0xbc3630>>>0x18]^_0x38cfee[_0x3c8f62>>>0x10&0xff]^_0xdb4e99[_0x48c00d>>>0x8&0xff]^_0x44335d[_0x57005a&0xff]^_0x1aa0e2[_0x4cbab3++];_0x3c8f62=_0xa9d658,_0x48c00d=_0x40e8ac,_0x57005a=_0x36787b,_0xbc3630=_0x192484;}var _0xa9d658=(_0x18d707[_0x3c8f62>>>0x18]<<0x18|_0x18d707[_0x48c00d>>>0x10&0xff]<<0x10|_0x18d707[_0x57005a>>>0x8&0xff]<<0x8|_0x18d707[_0xbc3630&0xff])^_0x1aa0e2[_0x4cbab3++],_0x40e8ac=(_0x18d707[_0x48c00d>>>0x18]<<0x18|_0x18d707[_0x57005a>>>0x10&0xff]<<0x10|_0x18d707[_0xbc3630>>>0x8&0xff]<<0x8|_0x18d707[_0x3c8f62&0xff])^_0x1aa0e2[_0x4cbab3++],_0x36787b=(_0x18d707[_0x57005a>>>0x18]<<0x18|_0x18d707[_0xbc3630>>>0x10&0xff]<<0x10|_0x18d707[_0x3c8f62>>>0x8&0xff]<<0x8|_0x18d707[_0x48c00d&0xff])^_0x1aa0e2[_0x4cbab3++],_0x192484=(_0x18d707[_0xbc3630>>>0x18]<<0x18|_0x18d707[_0x3c8f62>>>0x10&0xff]<<0x10|_0x18d707[_0x48c00d>>>0x8&0xff]<<0x8|_0x18d707[_0x57005a&0xff])^_0x1aa0e2[_0x4cbab3++];_0x1c1a95[_0x3698da]=_0xa9d658,_0x1c1a95[_0x3698da+0x1]=_0x40e8ac,_0x1c1a95[_0x3698da+0x2]=_0x36787b,_0x1c1a95[_0x3698da+0x3]=_0x192484;},'keySize':0x100/0x20});_0x2d9ed8[_0xca8c53(0x1b8)]=_0x385f81[_0xca8c53(0x11e)](_0x38d34a);}()),_0x29053a[_0x55c711(0x1b8)];}));}(_0xa30145)),_0xa30145[_0xce179c(0x313)];}var _0x4d6267=_0x2459ce();const _0x4da180=_0x5f06fc(_0x4d6267);var _0x498ebb=_0x3a38b2();const _0x59ef5a=_0x5f06fc(_0x498ebb);var _0x19f91a={'exports':{}},_0x11cda0=_0x19f91a[_0x50553d(0x313)],_0x2a1770;function _0x111126(){var _0x44d356=_0x50553d;return _0x2a1770||(_0x2a1770=0x1,function(_0x4e3d9d,_0x207738){(function(_0x5e3bea,_0x9f83ae){var _0x24e513=_0x337f;_0x4e3d9d[_0x24e513(0x313)]=_0x9f83ae(_0x17e9a3());}(_0x11cda0,function(_0x4e636a){var _0x26a313=_0x337f;return _0x4e636a[_0x26a313(0x30e)][_0x26a313(0x285)];}));}(_0x19f91a)),_0x19f91a[_0x44d356(0x313)];}var _0x4b827c=_0x111126();const _0x17c333=_0x5f06fc(_0x4b827c);var _0xbad750={'exports':{}},_0x38d92e=_0xbad750[_0x50553d(0x313)],_0x39380f;function _0x4cd71c(){var _0x514963=_0x50553d;return _0x39380f||(_0x39380f=0x1,function(_0x5ad539,_0xba3374){(function(_0x111210,_0x302047){_0x5ad539['exports']=_0x302047(_0x17e9a3());}(_0x38d92e,function(_0xb6287b){var _0x19d694=_0x337f;return(function(){var _0x2d5075=_0x337f;if(typeof ArrayBuffer==_0x2d5075(0x3a9)){var _0x19f29f=_0xb6287b,_0x5dc0a5=_0x19f29f[_0x2d5075(0x2e5)],_0xe2457e=_0x5dc0a5[_0x2d5075(0x214)],_0x5d9a92=_0xe2457e['init'],_0x2b2120=_0xe2457e[_0x2d5075(0x150)]=function(_0x43735d){var _0x170659=_0x2d5075;if(_0x43735d instanceof ArrayBuffer&&(_0x43735d=new Uint8Array(_0x43735d)),(_0x43735d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x43735d instanceof Uint8ClampedArray||_0x43735d instanceof Int16Array||_0x43735d instanceof Uint16Array||_0x43735d instanceof Int32Array||_0x43735d instanceof Uint32Array||_0x43735d instanceof Float32Array||_0x43735d instanceof Float64Array)&&(_0x43735d=new Uint8Array(_0x43735d['buffer'],_0x43735d[_0x170659(0x8c)],_0x43735d[_0x170659(0x125)])),_0x43735d instanceof Uint8Array){for(var _0xb430dd=_0x43735d[_0x170659(0x125)],_0x526107=[],_0x2643ff=0x0;_0x2643ff<_0xb430dd;_0x2643ff++)_0x526107[_0x2643ff>>>0x2]|=_0x43735d[_0x2643ff]<<0x18-_0x2643ff%0x4*0x8;_0x5d9a92[_0x170659(0x343)](this,_0x526107,_0xb430dd);}else _0x5d9a92[_0x170659(0xc7)](this,arguments);};_0x2b2120[_0x2d5075(0x1b1)]=_0xe2457e;}}()),_0xb6287b[_0x19d694(0x2e5)]['WordArray'];}));}(_0xbad750)),_0xbad750[_0x514963(0x313)];}var _0x296d9c=_0x4cd71c();const _0x503138=_0x5f06fc(_0x296d9c);var _0x5e1c5e={'exports':{}},_0x2d977b=_0x5e1c5e['exports'],_0x51729f;function _0x52266c(){return _0x51729f||(_0x51729f=0x1,function(_0x379d1e,_0x2eb499){(function(_0x1e69e1,_0x233f2d,_0x46a114){var _0x371696=_0x337f;_0x379d1e[_0x371696(0x313)]=_0x233f2d(_0x17e9a3(),_0x1cf230());}(_0x2d977b,function(_0x3f83c0){var _0x4884e9=_0x337f;return _0x3f83c0['pad'][_0x4884e9(0x1c7)]={'pad':function(){},'unpad':function(){}},_0x3f83c0[_0x4884e9(0x375)]['NoPadding'];}));}(_0x5e1c5e)),_0x5e1c5e['exports'];}var _0xe58c88=_0x52266c();const _0x551ad0=_0x5f06fc(_0xe58c88);function _0x574a3d(_0x2c6790,_0x56f123){var _0x187b89=_0x50553d;const _0xf1d595=_0x56f123-_0x2c6790['length']%_0x56f123,_0x198a40=String[_0x187b89(0x236)](_0xf1d595)[_0x187b89(0x11f)](_0xf1d595);return _0x2c6790+_0x198a40;}function _0x5350ac(_0x5512bc,_0x45c37f){var _0x579679=_0x50553d;const _0x1eb7d2=_0x503138['random'](0x10),_0x74cc4e=_0x574a3d(_0x5512bc,0x10),_0x517e89=_0x4da180['encrypt'](_0x17c333[_0x579679(0x112)](_0x74cc4e),_0x59ef5a['parse'](_0x45c37f),{'iv':_0x1eb7d2,'padding':_0x551ad0});return _0x1eb7d2[_0x579679(0x15d)](_0x517e89['ciphertext'])['toString'](_0x59ef5a);}function _0x354c55(){var _0x3e0db9=_0x50553d;const _0x2843a4=_0x5ad68d[_0x3e0db9(0x360)]()[_0x3e0db9(0x1b3)];if(_0x2843a4){const _0x14f30f={'time':Math['floor'](Date[_0x3e0db9(0x204)]()/0x3e8),'domain':location[_0x3e0db9(0x167)]};return _0x5350ac(JSON[_0x3e0db9(0x30d)](_0x14f30f),_0x2843a4);}}var _0x5c8d33=Object[_0x50553d(0x235)],_0x3ccbff=Object['getOwnPropertyDescriptor'],_0x2f85c8=(_0x26e114,_0x4e9937,_0x5e9464,_0x546e54)=>{var _0x1d5cdc=_0x50553d;for(var _0x1e7b5d=_0x546e54>0x1?void 0x0:_0x546e54?_0x3ccbff(_0x4e9937,_0x5e9464):_0x4e9937,_0x534c0d=_0x26e114[_0x1d5cdc(0x3ca)]-0x1,_0x44e0e4;_0x534c0d>=0x0;_0x534c0d--)(_0x44e0e4=_0x26e114[_0x534c0d])&&(_0x1e7b5d=(_0x546e54?_0x44e0e4(_0x4e9937,_0x5e9464,_0x1e7b5d):_0x44e0e4(_0x1e7b5d))||_0x1e7b5d);return _0x546e54&&_0x1e7b5d&&_0x5c8d33(_0x4e9937,_0x5e9464,_0x1e7b5d),_0x1e7b5d;},_0x10038a=(_0x399921,_0x2c9198)=>(_0x27cb31,_0x101be8)=>_0x2c9198(_0x27cb31,_0x101be8,_0x399921);let _0x281e23=class{constructor(_0x56ffa1){var _0x48cbe5=_0x50553d;this[_0x48cbe5(0x252)]=_0x56ffa1,this['_initRequestHeader']();}[_0x50553d(0x97)](){var _0x436278=_0x50553d;this[_0x436278(0x252)][_0x436278(0x3b6)]({'interceptor':(_0x332e4c,_0x514494)=>{var _0x15f6ea=_0x436278;const _0x4a6cad=_0x332e4c[_0x15f6ea(0x2c2)],_0x3c294a=_0x354c55();return _0x3c294a&&_0x4a6cad[_0x15f6ea(0x2d6)](_0x15f6ea(0x1a8),_0x3c294a),_0x514494(_0x332e4c);}});}};_0x281e23=_0x2f85c8([_0x10038a(0x0,_0xd1c211['Inject'](_0x266048[_0x50553d(0x24f)]))],_0x281e23);var _0x19c9d9=Object[_0x50553d(0x235)],_0xb3c60c=Object[_0x50553d(0x378)],_0x16cb17=(_0x1bc363,_0x22a8fb,_0x4650f5,_0x4dd1b6)=>{for(var _0x4c4c13=_0x4dd1b6>0x1?void 0x0:_0x4dd1b6?_0xb3c60c(_0x22a8fb,_0x4650f5):_0x22a8fb,_0x4297a8=_0x1bc363['length']-0x1,_0x58e004;_0x4297a8>=0x0;_0x4297a8--)(_0x58e004=_0x1bc363[_0x4297a8])&&(_0x4c4c13=(_0x4dd1b6?_0x58e004(_0x22a8fb,_0x4650f5,_0x4c4c13):_0x58e004(_0x4c4c13))||_0x4c4c13);return _0x4dd1b6&&_0x4c4c13&&_0x19c9d9(_0x22a8fb,_0x4650f5,_0x4c4c13),_0x4c4c13;},_0x3b3286=(_0x10743f,_0x5eccdc)=>(_0x2aad42,_0x46d234)=>_0x5eccdc(_0x2aad42,_0x46d234,_0x10743f);_0x4357d9[_0x50553d(0x351)]=class extends _0xd1c211['RxDisposable']{constructor(_0xde2c8f,_0x158cf3,_0x35b84d){var _0x4324ce=_0x50553d;super(),_0x14235c(this,_0x4324ce(0x3ac),new _0x2bac45[(_0x4324ce(0x349))](null)),_0x14235c(this,_0x4324ce(0x10c),this[_0x4324ce(0x3ac)][_0x4324ce(0xe6)]()),(this[_0x4324ce(0x1ef)]=_0xde2c8f,this[_0x4324ce(0xa9)]=_0x158cf3,this[_0x4324ce(0x1be)]=_0x35b84d);}async[_0x50553d(0x9b)](_0x450a20,_0xc66217,_0x392e60){var _0x232eef=_0x50553d;this[_0x232eef(0x3ac)][_0x232eef(0x15e)]({'unitId':_0x450a20,'type':_0xc66217,'subUnitId':_0x392e60});let _0x2febd2=null;switch(_0xc66217){case _0x1dcecf['UNIVER_SHEET']:{_0x2febd2=await this[_0x232eef(0x33f)](_0x450a20);break;}case _0x1dcecf[_0x232eef(0x372)]:{_0x2febd2=await this[_0x232eef(0x270)](_0x450a20);break;}default:{this[_0x232eef(0x1ef)][_0x232eef(0xef)](_0x232eef(0x3e3),_0x232eef(0x39a));break;}}return _0x2febd2;}async[_0x50553d(0x33f)](_0x4d960d){var _0x429e3b=_0x50553d,_0x44254f;let _0x5be385=0x0;const _0x289b40=await((_0x44254f=this[_0x429e3b(0x1be)])==null?void 0x0:_0x44254f[_0x429e3b(0xdc)](_0x4d960d));return _0x289b40&&(_0x289b40[_0x429e3b(0xed)]||_0x289b40[_0x429e3b(0x159)][_0x429e3b(0x3ca)]!==0x0)&&(_0x5be385=_0x289b40[_0x429e3b(0x2ba)]),_0x5be385===0x0&&this[_0x429e3b(0x1ef)][_0x429e3b(0x1fc)]('[DataLoaderService]',_0x429e3b(0x10a)),this[_0x429e3b(0xa9)][_0x429e3b(0x3d7)](_0x4d960d,_0x5be385);}async[_0x50553d(0x270)](_0x4182b0){var _0x1b6337=_0x50553d,_0x5b04ea;let _0x1e8800=0x0;const _0x469db6=await((_0x5b04ea=this[_0x1b6337(0x1be)])==null?void 0x0:_0x5b04ea[_0x1b6337(0xdc)](_0x4182b0));return _0x469db6&&(_0x469db6[_0x1b6337(0xed)]||_0x469db6['mutations'][_0x1b6337(0x3ca)]!==0x0)&&(_0x1e8800=_0x469db6['rev']),_0x1e8800===0x0&&this[_0x1b6337(0x1ef)][_0x1b6337(0x1fc)](_0x1b6337(0x3e3),_0x1b6337(0x10a)),this[_0x1b6337(0xa9)][_0x1b6337(0x75)](_0x4182b0,_0x1e8800);}},_0x4357d9[_0x50553d(0x351)]=_0x16cb17([_0x3b3286(0x0,_0xd1c211[_0x50553d(0x34b)]),_0x3b3286(0x1,_0xd1c211['Inject'](_0x4f4dae[_0x50553d(0x240)])),_0x3b3286(0x2,_0xd1c211[_0x50553d(0x1f8)](_0x5ce95d))],_0x4357d9['DataLoaderService']);var _0x2e668f=Object['defineProperty'],_0x3df400=Object['getOwnPropertyDescriptor'],_0x4d0b62=(_0x81a1ff,_0x516953,_0x47c71f,_0x3939e2)=>{for(var _0x5bb6b2=_0x3939e2>0x1?void 0x0:_0x3939e2?_0x3df400(_0x516953,_0x47c71f):_0x516953,_0x268293=_0x81a1ff['length']-0x1,_0x3b712b;_0x268293>=0x0;_0x268293--)(_0x3b712b=_0x81a1ff[_0x268293])&&(_0x5bb6b2=(_0x3939e2?_0x3b712b(_0x516953,_0x47c71f,_0x5bb6b2):_0x3b712b(_0x5bb6b2))||_0x5bb6b2);return _0x3939e2&&_0x5bb6b2&&_0x2e668f(_0x516953,_0x47c71f,_0x5bb6b2),_0x5bb6b2;},_0x4efa7b=(_0x7c6755,_0x162aad)=>(_0x24927f,_0x122221)=>_0x162aad(_0x24927f,_0x122221,_0x7c6755);const _0x63c622=[_0x50553d(0x18a),'image/jpeg',_0x50553d(0x39f),_0x50553d(0x105),_0x50553d(0xf6)],_0x1dde38=0x5*0x400*0x400,_0x1f6e53=_0x50553d(0x364),_0x32cbe0=_0x50553d(0x3bf),_0x11917e=_0x50553d(0x1fa),_0x53364f=_0x50553d(0x34a);_0x4357d9[_0x50553d(0x1de)]=class{constructor(_0x17b1c1,_0x245a02,_0xd3e38f){var _0xfe6791=_0x50553d;_0x14235c(this,_0xfe6791(0x8d),0x0),_0x14235c(this,'_change$',new _0x2bac45[(_0xfe6791(0x288))]()),_0x14235c(this,'change$',this['_change$']),_0x14235c(this,'_imageSourceCache',new Map()),(this[_0xfe6791(0x252)]=_0x17b1c1,this['_configService']=_0x245a02,this['_univerInstanceService']=_0xd3e38f);}['setWaitCount'](_0x40d19a){var _0x46d725=_0x50553d;this['_waitCount']=_0x40d19a,this[_0x46d725(0x1a2)]['next'](_0x40d19a);}[_0x50553d(0x3ab)](_0x3a8621,_0x539117){var _0x126acc=_0x50553d;if(_0x539117===_0x3cad30[_0x126acc(0x117)][_0x126acc(0x2f4)]){const _0x5b2313=new Image();return _0x5b2313['src']=_0x3a8621,_0x5b2313;}return this[_0x126acc(0x15f)][_0x126acc(0x224)](_0x3a8621);}[_0x50553d(0x3c8)](_0x107447,_0xb97ad6,_0x593669){var _0x5b3a7c=_0x50553d;_0xb97ad6===_0x3cad30[_0x5b3a7c(0x117)]['BASE64']||_0x593669==null||this[_0x5b3a7c(0x15f)]['set'](_0x107447,_0x593669);}async[_0x50553d(0x1bb)](_0x503c5c){var _0x44cdc4=_0x50553d;try{const _0x36c28a=this['_replaceFileID'](this[_0x44cdc4(0x12f)](),''+_0x503c5c),_0x471204=(await this['_httpService'][_0x44cdc4(0x224)](_0x36c28a))['body'];if(_0x471204[_0x44cdc4(0xef)]&&_0x471204['error'][_0x44cdc4(0x27f)]===_0xbe379c['OK']){const _0x185f97=new URL(_0x471204[_0x44cdc4(0x1d5)],this[_0x44cdc4(0x1dd)]())[_0x44cdc4(0x191)]();return Promise[_0x44cdc4(0x387)](_0x185f97);}return Promise[_0x44cdc4(0x2fe)](_0x471204[_0x44cdc4(0xef)]);}catch(_0x307186){return Promise['reject'](_0x307186);}}async['saveImage'](_0x1ff677){var _0x5956e6=_0x50553d;let _0x1570a8='';if(!_0x63c622[_0x5956e6(0x1b9)](_0x1ff677[_0x5956e6(0xb0)]))return this['_decreaseWaiting'](),Promise[_0x5956e6(0x2fe)](new Error(_0x3cad30['ImageUploadStatusType'][_0x5956e6(0xda)]));if(_0x1ff677['size']>_0x1dde38)return this[_0x5956e6(0x2ca)](),Promise[_0x5956e6(0x2fe)](new Error(_0x3cad30[_0x5956e6(0x2f7)]['ERROR_EXCEED_SIZE']));try{const _0x39f41b=new FormData();_0x39f41b[_0x5956e6(0x183)]('file',_0x1ff677);const _0x4668db=this['_univerInstanceService']['getFocusedUnit'](),_0x37e404=_0x4668db==null?void 0x0:_0x4668db['getUnitId']();if(!_0x37e404)throw new Error(_0x5956e6(0xc9));const _0x333a65=this[_0x5956e6(0x1d0)]()+_0x5956e6(0x243)+_0x1ff677[_0x5956e6(0x7d)][_0x5956e6(0x191)]()+_0x5956e6(0xc2)+_0x4dbc78[_0x5956e6(0x36e)]+_0x5956e6(0x272)+encodeURIComponent(_0x37e404),_0x666f5c=await(await fetch(_0x333a65,{'method':'POST','body':_0x39f41b}))['json']();if(typeof _0x666f5c[_0x5956e6(0xee)]!='string')return this[_0x5956e6(0x2ca)](),Promise['reject'](new Error(_0x3cad30[_0x5956e6(0x2f7)][_0x5956e6(0x1dc)]));_0x1570a8=_0x666f5c[_0x5956e6(0xee)];}catch{return this['_decreaseWaiting'](),Promise[_0x5956e6(0x2fe)](new Error(_0x3cad30[_0x5956e6(0x2f7)][_0x5956e6(0x1dc)]));}return new Promise((_0x44dca1,_0x34dd6c)=>{var _0x1cde6d=_0x5956e6;const _0x3fdeda=new FileReader();_0x3fdeda[_0x1cde6d(0x19b)](_0x1ff677),_0x3fdeda[_0x1cde6d(0x29e)]=_0x1c07b3=>{var _0x22524f=_0x1cde6d,_0x212308;const _0x551cbe=(_0x212308=_0x1c07b3[_0x22524f(0x10b)])==null?void 0x0:_0x212308[_0x22524f(0x258)];if(_0x551cbe==null){this[_0x22524f(0x2ca)](),_0x34dd6c(new Error(_0x3cad30[_0x22524f(0x2f7)][_0x22524f(0x1dc)]));return;}const _0x10be27=_0xd1c211[_0x22524f(0xdd)]['generateRandomId'](0x6);_0x44dca1({'imageId':_0x10be27,'imageSourceType':_0x3cad30[_0x22524f(0x117)]['UUID'],'source':_0x1570a8,'base64Cache':_0x551cbe,'status':_0x3cad30['ImageUploadStatusType'][_0x22524f(0x118)]}),this[_0x22524f(0x2ca)]();};});}['_getUploadFileURL'](){var _0x39d4fb=_0x50553d,_0x1244d0,_0x4b66f8;const _0x1d8e6d=this[_0x39d4fb(0x1e4)][_0x39d4fb(0x23f)](_0x1f6e53),_0x19e0b3=this[_0x39d4fb(0x1e4)][_0x39d4fb(0x23f)](_0x47a3ce);return(_0x4b66f8=(_0x1244d0=_0x19e0b3==null?void 0x0:_0x19e0b3[_0x39d4fb(0x1e0)])!=null?_0x1244d0:_0x1d8e6d)!=null?_0x4b66f8:_0x32cbe0;}[_0x50553d(0x12f)](){var _0x1c5d8b=_0x50553d,_0x4f6e24,_0x5bcdfe;const _0x4478fc=this[_0x1c5d8b(0x1e4)]['getConfig'](_0x11917e),_0x4cc174=this[_0x1c5d8b(0x1e4)][_0x1c5d8b(0x23f)](_0x47a3ce);return(_0x5bcdfe=(_0x4f6e24=_0x4cc174==null?void 0x0:_0x4cc174[_0x1c5d8b(0x2f2)])!=null?_0x4f6e24:_0x4478fc)!=null?_0x5bcdfe:_0x53364f;}['_getDownloadEndpointURL'](){var _0x519431=_0x50553d,_0x5e3778;const _0x308808=this[_0x519431(0x1e4)][_0x519431(0x23f)](_0x47a3ce);return(_0x5e3778=_0x308808==null?void 0x0:_0x308808['downloadEndpointUrl'])!=null?_0x5e3778:location[_0x519431(0x166)];}[_0x50553d(0x3e0)](_0x38e3ae,_0x2e2f76){var _0xbfaf7c=_0x50553d;return _0x38e3ae[_0xbfaf7c(0x1ec)](_0xbfaf7c(0x19d),_0x2e2f76);}[_0x50553d(0x2ca)](){var _0xfb0ee5=_0x50553d;this[_0xfb0ee5(0x8d)]-=0x1,this[_0xfb0ee5(0x1a2)][_0xfb0ee5(0x15e)](this['_waitCount']);}},_0x4357d9['CollaborationImageIoService']=_0x4d0b62([_0x4efa7b(0x0,_0xd1c211['Inject'](_0x266048[_0x50553d(0x24f)])),_0x4efa7b(0x1,_0xd1c211[_0x50553d(0x334)]),_0x4efa7b(0x2,_0xd1c211[_0x50553d(0x203)](_0xd1c211['IUniverInstanceService']))],_0x4357d9[_0x50553d(0x1de)]);var _0x2fab93=Object['defineProperty'],_0x10f073=Object[_0x50553d(0x378)],_0x574957=(_0x4adc2a,_0x24fe25,_0x2329e3,_0x2b538e)=>{var _0x5a9970=_0x50553d;for(var _0x5791a3=_0x2b538e>0x1?void 0x0:_0x2b538e?_0x10f073(_0x24fe25,_0x2329e3):_0x24fe25,_0x841325=_0x4adc2a[_0x5a9970(0x3ca)]-0x1,_0x54032d;_0x841325>=0x0;_0x841325--)(_0x54032d=_0x4adc2a[_0x841325])&&(_0x5791a3=(_0x2b538e?_0x54032d(_0x24fe25,_0x2329e3,_0x5791a3):_0x54032d(_0x5791a3))||_0x5791a3);return _0x2b538e&&_0x5791a3&&_0x2fab93(_0x24fe25,_0x2329e3,_0x5791a3),_0x5791a3;},_0x2dd028=(_0x2bd8e5,_0x4f3809)=>(_0xfaf76b,_0x2900d7)=>_0x4f3809(_0xfaf76b,_0x2900d7,_0x2bd8e5);const _0x2b9be5=_0x50553d(0x266);_0x4357d9[_0x50553d(0x13f)]=class{constructor(_0x310614,_0x3f135c){var _0x371198=_0x50553d;this[_0x371198(0x1e4)]=_0x310614,this['_HTTPService']=_0x3f135c;}[_0x50553d(0x14f)](){var _0x59f493=_0x50553d,_0x4f538a,_0x9a394e;const _0x424c19=this[_0x59f493(0x1e4)][_0x59f493(0x23f)](_0x37ea70),_0x403195=this[_0x59f493(0x1e4)][_0x59f493(0x23f)](_0x47a3ce);return(_0x9a394e=(_0x4f538a=_0x403195==null?void 0x0:_0x403195[_0x59f493(0x13a)])!=null?_0x4f538a:_0x424c19)!=null?_0x9a394e:_0x2b9be5;}async['list'](_0x2ef73d){var _0x54e081=_0x50553d;const _0x15618d=this[_0x54e081(0x14f)]()+_0x54e081(0x99);return{'list':[{'title':_0x54e081(0xd9),'mentions':(await this['_HTTPService'][_0x54e081(0x224)](_0x15618d,{'params':{'objectID':_0x2ef73d['unitId'],'unitID':_0x2ef73d['unitId']}}))[_0x54e081(0x198)]['collaborators']['map'](_0x3038aa=>({'objectId':_0x3038aa['id'],'name':_0x3038aa['subject'][_0x54e081(0x80)],'metadata':{'icon':_0x3038aa[_0x54e081(0x3b2)]['avatar']},'label':_0x3038aa[_0x54e081(0x3b2)][_0x54e081(0x80)],'objectType':_0xd1c211['MentionType'][_0x54e081(0x366)]})),'metadata':{},'type':_0xd1c211[_0x54e081(0xa1)][_0x54e081(0x366)]}]};}},_0x4357d9[_0x50553d(0x13f)]=_0x574957([_0x2dd028(0x0,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x334)])),_0x2dd028(0x1,_0xd1c211[_0x50553d(0x203)](_0x266048[_0x50553d(0x24f)]))],_0x4357d9[_0x50553d(0x13f)]);var _0x1b0ace=Object[_0x50553d(0x235)],_0x4cd9a6=Object['getOwnPropertyDescriptor'],_0x104252=(_0x14ee66,_0x444c01,_0x17b834,_0x223e2b)=>{var _0xe45f55=_0x50553d;for(var _0x10697f=_0x223e2b>0x1?void 0x0:_0x223e2b?_0x4cd9a6(_0x444c01,_0x17b834):_0x444c01,_0x224b04=_0x14ee66[_0xe45f55(0x3ca)]-0x1,_0x1a03af;_0x224b04>=0x0;_0x224b04--)(_0x1a03af=_0x14ee66[_0x224b04])&&(_0x10697f=(_0x223e2b?_0x1a03af(_0x444c01,_0x17b834,_0x10697f):_0x1a03af(_0x10697f))||_0x10697f);return _0x223e2b&&_0x10697f&&_0x1b0ace(_0x444c01,_0x17b834,_0x10697f),_0x10697f;},_0x153e7f=(_0x4ed68c,_0x206628)=>(_0xe86cb6,_0x560e81)=>_0x206628(_0xe86cb6,_0x560e81,_0x4ed68c);let _0x396a69=class extends _0xd1c211[_0x50553d(0x1da)]{constructor(_0x1b9848,_0x4ed9a8,_0x41e5a6,_0x3309d1,_0x46c1e9,_0x1bdd10,_0xa2753){var _0x149da4=_0x50553d;super(),this[_0x149da4(0x2b4)]=_0x1b9848,this['_univerInstanceService']=_0x4ed9a8,this[_0x149da4(0x3e5)]=_0x41e5a6,this[_0x149da4(0xa3)]=_0x3309d1,this[_0x149da4(0x14b)]=_0x46c1e9,this[_0x149da4(0x249)]=_0x1bdd10,this[_0x149da4(0x354)]=_0xa2753,this[_0x149da4(0x2f9)](),this[_0x149da4(0xba)]();}[_0x50553d(0xba)](){var _0xa72d05=_0x50553d;const _0x171f95=async _0x155b64=>{var _0x2ba722=_0x337f;(await this[_0x2ba722(0xa3)][_0x2ba722(0x1d8)](_0x155b64))[_0x2ba722(0x3dd)]['pipe'](_0x25c94f[_0x2ba722(0x17e)](_0x1c2d50=>_0x1c2d50[_0x2ba722(0x1f6)]===_0x4f4dae['CollaborationEvent'][_0x2ba722(0x3cd)]),_0x25c94f[_0x2ba722(0x357)](this[_0x2ba722(0x248)]))[_0x2ba722(0x286)](_0x249add=>{var _0x13fad2=_0x2ba722;const _0x18ef27=_0x249add,{reason:_0x15bf6d}=_0x18ef27[_0x13fad2(0x287)];this['_collaborationUIEventService'][_0x13fad2(0x260)]({'id':_0x4b9b27[_0x13fad2(0x17f)],'data':_0x15bf6d}),this[_0x13fad2(0x3e5)][_0x13fad2(0x13b)](new _0x4caa0[(_0x13fad2(0x2e6))](_0x155b64)['id'],!0x1),this['_collaborationSessionService'][_0x13fad2(0x1db)](_0x155b64);});};_0x2bac45[_0xa72d05(0x348)](this[_0xa72d05(0xab)][_0xa72d05(0x91)](_0xd1c211[_0xa72d05(0x26e)][_0xa72d05(0x180)]),this[_0xa72d05(0xab)][_0xa72d05(0x91)](_0xd1c211['UniverInstanceType'][_0xa72d05(0x372)]))[_0xa72d05(0xec)](_0x25c94f[_0xa72d05(0x171)](_0x31d3c7=>_0x31d3c7['getUnitId']()),_0x25c94f[_0xa72d05(0x17e)](_0x3a671c=>!_0xd1c211['isInternalEditorID'](_0x3a671c)),_0x25c94f[_0xa72d05(0x357)](this[_0xa72d05(0x248)]))[_0xa72d05(0x286)](_0x437ffb=>{_0x171f95(_0x437ffb);});}[_0x50553d(0x2f9)](){var _0x3aa32b=_0x50553d;const _0x1ac8ba=async _0x128812=>{var _0x590d46=_0x337f;const _0x1f4eb2=await this[_0x590d46(0xa3)][_0x590d46(0x1d8)](_0x128812),_0x2cce52=this[_0x590d46(0x2b4)][_0x590d46(0x224)](_0x4caa0[_0x590d46(0x122)]);_0x1f4eb2['event$'][_0x590d46(0xec)](_0x25c94f[_0x590d46(0x17e)](_0xc12d16=>_0xc12d16[_0x590d46(0x1f6)]===_0x4f4dae['CollaborationEvent'][_0x590d46(0x1f9)]),_0x25c94f[_0x590d46(0x357)](this[_0x590d46(0x248)]))[_0x590d46(0x286)](_0x503f69=>{var _0x2d5f42=_0x590d46;const _0x55b644=_0x503f69,{objectId:_0x4097b9}=_0x55b644[_0x2d5f42(0x287)];_0x4097b9===_0x128812?_0x2cce52[_0x2d5f42(0x188)](_0x128812):_0x2cce52[_0x2d5f42(0x2a4)](_0x128812,_0x4097b9);});};_0x2bac45['merge'](this[_0x3aa32b(0xab)][_0x3aa32b(0x91)](_0xd1c211[_0x3aa32b(0x26e)][_0x3aa32b(0x180)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xd1c211[_0x3aa32b(0x26e)][_0x3aa32b(0x372)]))[_0x3aa32b(0xec)](_0x25c94f[_0x3aa32b(0x171)](_0xa00661=>_0xa00661['getUnitId']()),_0x25c94f['filter'](_0x260d9a=>!_0xd1c211[_0x3aa32b(0x31a)](_0x260d9a)),_0x25c94f['takeUntil'](this['dispose$']))[_0x3aa32b(0x286)](_0x2864f4=>{_0x1ac8ba(_0x2864f4);});}};_0x396a69=_0x104252([_0x153e7f(0x0,_0xd1c211[_0x50553d(0x203)](_0xd1c211['Injector'])),_0x153e7f(0x1,_0xd1c211[_0x50553d(0xad)]),_0x153e7f(0x2,_0xd1c211['IPermissionService']),_0x153e7f(0x3,_0xd1c211[_0x50553d(0x203)](_0x4357d9[_0x50553d(0x90)])),_0x153e7f(0x4,_0xd1c211['Inject'](_0x5114c1)),_0x153e7f(0x5,_0xd1c211[_0x50553d(0x21c)]),_0x153e7f(0x6,_0xd1c211[_0x50553d(0x1ed)])],_0x396a69);var _0x540f49=Object[_0x50553d(0x235)],_0xaea18f=Object[_0x50553d(0x378)],_0x29904b=(_0x9cb037,_0x9a2d04,_0x588451,_0x1803fa)=>{var _0x1bf84b=_0x50553d;for(var _0x19d65d=_0x1803fa>0x1?void 0x0:_0x1803fa?_0xaea18f(_0x9a2d04,_0x588451):_0x9a2d04,_0x243540=_0x9cb037[_0x1bf84b(0x3ca)]-0x1,_0x1103c;_0x243540>=0x0;_0x243540--)(_0x1103c=_0x9cb037[_0x243540])&&(_0x19d65d=(_0x1803fa?_0x1103c(_0x9a2d04,_0x588451,_0x19d65d):_0x1103c(_0x19d65d))||_0x19d65d);return _0x1803fa&&_0x19d65d&&_0x540f49(_0x9a2d04,_0x588451,_0x19d65d),_0x19d65d;},_0x1d067f=(_0x51e8f1,_0xd15f23)=>(_0x18e8a2,_0x473751)=>_0xd15f23(_0x18e8a2,_0x473751,_0x51e8f1);_0x4357d9[_0x50553d(0x33b)]=class{constructor(_0x459790,_0x418c18){var _0x19d32e=_0x50553d;this[_0x19d32e(0x1e4)]=_0x459790,this[_0x19d32e(0x252)]=_0x418c18;}async[_0x50553d(0x2d3)](_0x35d21a,_0x510efe){var _0x42f4c3=_0x50553d,_0x1c9eab;const {unitID:_0x6eb467,type:_0x13247b,revision:_0x2d3f56=0x0}=_0x510efe,_0x2c3235=this['getSnapshotAPIPath']()+'/'+_0x13247b+'/unit/'+_0x6eb467+'/rev/'+_0x2d3f56,_0x233df2=(await this[_0x42f4c3(0x252)]['get'](_0x2c3235))['body'],_0x564f3b=(_0x1c9eab=_0x233df2[_0x42f4c3(0x152)])==null?void 0x0:_0x1c9eab[_0x42f4c3(0x265)];if(_0x564f3b){const _0x18b775=_0x564f3b==null?void 0x0:_0x564f3b['originalMeta'],_0x358e19=_0x4f4dae[_0x42f4c3(0x3a3)][_0x42f4c3(0x2aa)](_0x4f4dae['b64DecodeUnicode'](_0x18b775));_0x564f3b['originalMeta']=_0x358e19,Object['entries'](_0x564f3b[_0x42f4c3(0x10f)])['forEach'](([,_0x516cf1])=>{var _0xc385a5=_0x42f4c3;const _0x3a55f6=_0x516cf1[_0xc385a5(0x3ec)],_0x37b608=_0x4f4dae[_0xc385a5(0x3a3)][_0xc385a5(0x2aa)](_0x4f4dae['b64DecodeUnicode'](_0x3a55f6));_0x516cf1['originalMeta']=_0x37b608;});}return _0x233df2;}async[_0x50553d(0x231)](_0x14a933,_0x14f75d){var _0x7be31=_0x50553d;const {unitID:_0x3f6a23,type:_0x5af6af,blockID:_0x4d39b6}=_0x14f75d,_0x1237cd=this['_getAPIPrefix']()+'/'+_0x5af6af+_0x7be31(0x345)+_0x3f6a23+_0x7be31(0x1e3)+_0x4d39b6;return(await this[_0x7be31(0x252)][_0x7be31(0x224)](_0x1237cd))['body'];}async['getDeserializedSheetBlock'](_0x3cc841,_0x4d62d5){var _0x13e7ce=_0x50553d;const {unitID:_0x5e1a63,type:_0x4f1be7,blockID:_0x31fdcc}=_0x4d62d5,_0x245865=this[_0x13e7ce(0x268)]()+_0x13e7ce(0x1e3)+_0x4f1be7+_0x13e7ce(0x345)+_0x5e1a63+_0x13e7ce(0x1e3)+_0x31fdcc;return(await this['_httpService'][_0x13e7ce(0x224)](_0x245865))[_0x13e7ce(0x198)];}async[_0x50553d(0xf9)](_0x2f0626,_0x30a2d0){var _0x55f682=_0x50553d;const {unitID:_0x21b10f,type:_0x2bc013,from:_0x17bb12,to:_0x36048a}=_0x30a2d0,_0x58d7fa=this[_0x55f682(0x268)]()+'/'+_0x2bc013+_0x55f682(0x345)+_0x21b10f+_0x55f682(0x3b3)+_0x17bb12+'&to='+_0x36048a;return(await this[_0x55f682(0x252)][_0x55f682(0x224)](_0x58d7fa))[_0x55f682(0x198)];}[_0x50553d(0x3b8)](){var _0x3576e0=_0x50553d,_0x1c7ee9;return(_0x1c7ee9=this[_0x3576e0(0x1e4)][_0x3576e0(0x23f)](_0x14443e))!=null?_0x1c7ee9:this[_0x3576e0(0x268)]();}['_getAPIPrefix'](){var _0xe95b92=_0x50553d,_0x1b5e8e,_0x41953e;const _0x4c83ab=this[_0xe95b92(0x1e4)]['getConfig'](_0x4d855b),_0x45ecf6=this[_0xe95b92(0x1e4)][_0xe95b92(0x23f)](_0x47a3ce);return(_0x41953e=(_0x1b5e8e=_0x45ecf6==null?void 0x0:_0x45ecf6[_0xe95b92(0x3c0)])!=null?_0x1b5e8e:_0x4c83ab)!=null?_0x41953e:_0x297674;}async[_0x50553d(0x389)](_0x2c2485,_0x19a622){var _0x45d9b3=_0x50553d;const _0x1f3821=_0x45d9b3(0x2b5)+_0x19a622[_0x45d9b3(0xb0)]+_0x45d9b3(0x345)+_0x19a622['unitID']+_0x45d9b3(0x3bd);return(await this[_0x45d9b3(0x252)][_0x45d9b3(0x224)](_0x1f3821,{'params':{'resourceId':JSON[_0x45d9b3(0x30d)](_0x19a622[_0x45d9b3(0x338)])}}))[_0x45d9b3(0x198)];}['saveSnapshot'](){var _0x4cfa9d=_0x50553d;throw new Error(_0x4cfa9d(0x165));}[_0x50553d(0x96)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x38c8cd=_0x50553d;throw new Error(_0x38c8cd(0x165));}[_0x50553d(0x2c6)](){var _0x208ab3=_0x50553d;throw new Error(_0x208ab3(0x165));}[_0x50553d(0x1c3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x4357d9['SnapshotServerOverHTTPService']=_0x29904b([_0x1d067f(0x0,_0xd1c211[_0x50553d(0x334)]),_0x1d067f(0x1,_0xd1c211[_0x50553d(0x203)](_0x266048['HTTPService']))],_0x4357d9['SnapshotServerOverHTTPService']);var _0xf44490=Object[_0x50553d(0x235)],_0x84c288=Object['getOwnPropertyDescriptor'],_0x5eb96d=(_0x5e3bd7,_0x367b03,_0x25cd94,_0x3cb4cd)=>{var _0x11cab1=_0x50553d;for(var _0x443275=_0x3cb4cd>0x1?void 0x0:_0x3cb4cd?_0x84c288(_0x367b03,_0x25cd94):_0x367b03,_0x382cd0=_0x5e3bd7[_0x11cab1(0x3ca)]-0x1,_0x424740;_0x382cd0>=0x0;_0x382cd0--)(_0x424740=_0x5e3bd7[_0x382cd0])&&(_0x443275=(_0x3cb4cd?_0x424740(_0x367b03,_0x25cd94,_0x443275):_0x424740(_0x443275))||_0x443275);return _0x3cb4cd&&_0x443275&&_0xf44490(_0x367b03,_0x25cd94,_0x443275),_0x443275;},_0x56c57e=(_0x3939d3,_0x3d7486)=>(_0x302a27,_0x17c416)=>_0x3d7486(_0x302a27,_0x17c416,_0x3939d3);_0x4357d9[_0x50553d(0x82)]=class extends _0xd1c211[_0x50553d(0x2af)]{constructor(_0xb3c0ad,_0x5f2600,_0x130107,_0x3f514c,_0x289e4c){var _0x42aa75=_0x50553d;super(_0xb3c0ad,_0x5f2600,_0x130107),this[_0x42aa75(0x158)]=_0x3f514c,this[_0x42aa75(0x1ef)]=_0x289e4c;}[_0x50553d(0x157)](_0x4ce974,_0x3f8470){var _0x2b0a9d=_0x50553d;const _0x363f00=this[_0x2b0a9d(0x38c)](_0x4ce974);if(_0x363f00)try{const _0x55788e=this['_transformStack'](_0x363f00,_0x3f8470);this[_0x2b0a9d(0x6d)](_0x4ce974,_0x55788e);}catch(_0x73496f){this[_0x2b0a9d(0x1ef)]['error'](_0x2b0a9d(0x169),_0x73496f),this['_clearUndo'](_0x4ce974);}const _0x20ae99=this[_0x2b0a9d(0x20a)](_0x4ce974);if(_0x20ae99)try{const _0x5a7f99=this[_0x2b0a9d(0x155)](_0x20ae99,_0x3f8470);this['_substituteRedoStack'](_0x4ce974,_0x5a7f99);}catch(_0x1fa1e9){this[_0x2b0a9d(0x1ef)][_0x2b0a9d(0xef)](_0x1fa1e9),this['_clearRedo'](_0x4ce974);}}[_0x50553d(0x30b)](_0x489796){var _0xa892e7=_0x50553d;const _0x487ae2=this['_getUndoStack'](_0x489796);_0x487ae2&&(_0x487ae2[_0xa892e7(0x3ca)]=0x0,this[_0xa892e7(0x201)]());}[_0x50553d(0x14d)](_0x248db7){var _0x2b06d2=_0x50553d;const _0x2f4b09=this[_0x2b06d2(0x20a)](_0x248db7);_0x2f4b09&&(_0x2f4b09[_0x2b06d2(0x3ca)]=0x0,this[_0x2b06d2(0x201)]());}[_0x50553d(0x6d)](_0x27255e,_0x22b677){var _0x3ed7e9=_0x50553d;this[_0x3ed7e9(0x2d8)][_0x3ed7e9(0x2d6)](_0x27255e,_0x22b677),this[_0x3ed7e9(0x201)]();}[_0x50553d(0x12c)](_0x3878d0,_0x546999){var _0x32aedf=_0x50553d;this[_0x32aedf(0x176)][_0x32aedf(0x2d6)](_0x3878d0,_0x546999),this['_updateStatus']();}[_0x50553d(0x155)](_0x1732a1,_0x323d30){var _0x3f5df1=_0x50553d;const _0x57a9fd=[];let _0x5e3a7f=_0x323d30,_0x4eb1ef=_0x323d30;for(let _0x24ab9d=_0x1732a1[_0x3f5df1(0x3ca)]-0x1;_0x24ab9d>=0x0;_0x24ab9d--){const {unitID:_0x194a32,undoMutations:_0x37d647,redoMutations:_0x4eafb9}=_0x1732a1[_0x24ab9d],_0x2610b3=this['_transformService'][_0x3f5df1(0x305)](_0x5e3a7f,_0x37d647),_0x57b394=this['_transformService'][_0x3f5df1(0x305)](_0x4eb1ef,_0x4eafb9);if(_0x4f4dae[_0x3f5df1(0xf2)](_0x2610b3)||_0x4f4dae[_0x3f5df1(0xf2)](_0x57b394)){this['_logService'][_0x3f5df1(0xef)](_0x3f5df1(0x169),_0x3f5df1(0x3e6),_0x2610b3,_0x57b394);break;}_0x5e3a7f=_0x2610b3['c1Prime'],_0x4eb1ef=_0x57b394['c1Prime'],_0x57a9fd[_0x3f5df1(0x2b7)]({'unitID':_0x194a32,'undoMutations':_0x2610b3[_0x3f5df1(0x28c)],'redoMutations':_0x57b394[_0x3f5df1(0x28c)]});}return _0x57a9fd[_0x3f5df1(0x241)]();}},_0x4357d9[_0x50553d(0x82)]=_0x5eb96d([_0x56c57e(0x0,_0xd1c211[_0x50553d(0xad)]),_0x56c57e(0x1,_0xd1c211[_0x50553d(0xe7)]),_0x56c57e(0x2,_0xd1c211['IContextService']),_0x56c57e(0x3,_0x4f4dae[_0x50553d(0x2b1)]),_0x56c57e(0x4,_0xd1c211[_0x50553d(0x34b)])],_0x4357d9[_0x50553d(0x82)]);var _0x4c5021=Object[_0x50553d(0x235)],_0x43e33f=Object['getOwnPropertyDescriptor'],_0x4eed7e=(_0x1e3e1e,_0x2f9e25,_0x273d4f)=>_0x2f9e25 in _0x1e3e1e?_0x4c5021(_0x1e3e1e,_0x2f9e25,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x273d4f}):_0x1e3e1e[_0x2f9e25]=_0x273d4f,_0xb55bc1=(_0x22d233,_0x303ef3,_0x500a90,_0x3f3998)=>{for(var _0xe37a64=_0x3f3998>0x1?void 0x0:_0x3f3998?_0x43e33f(_0x303ef3,_0x500a90):_0x303ef3,_0x413b3b=_0x22d233['length']-0x1,_0xc97447;_0x413b3b>=0x0;_0x413b3b--)(_0xc97447=_0x22d233[_0x413b3b])&&(_0xe37a64=(_0x3f3998?_0xc97447(_0x303ef3,_0x500a90,_0xe37a64):_0xc97447(_0xe37a64))||_0xe37a64);return _0x3f3998&&_0xe37a64&&_0x4c5021(_0x303ef3,_0x500a90,_0xe37a64),_0xe37a64;},_0x392f22=(_0x5cb17a,_0x4c797f)=>(_0x4b058d,_0x22b9d6)=>_0x4c797f(_0x4b058d,_0x22b9d6,_0x5cb17a),_0xb58783=(_0x3d0b4a,_0x31ec7e,_0x173e1b)=>_0x4eed7e(_0x3d0b4a,_0x31ec7e+'',_0x173e1b);const _0xd3dbed='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x4357d9['UniverCollaborationClientPlugin']=class extends _0xd1c211['Plugin']{constructor(_0x2cbf4a=_0x1e1281,_0x5895fb,_0x1e8f9e,_0x2c779a){var _0x5407ef=_0x50553d;super(),this['_config']=_0x2cbf4a,this['_logService']=_0x5895fb,this[_0x5407ef(0x2b4)]=_0x1e8f9e,this[_0x5407ef(0x1e4)]=_0x2c779a;const {..._0x199a81}=_0xd1c211[_0x5407ef(0x348)]({},_0x1e1281,this['_config']);this[_0x5407ef(0x1e4)][_0x5407ef(0x34e)](_0x47a3ce,_0x199a81);}[_0x50553d(0x1c2)](){var _0x2ee824=_0x50553d;this[_0x2ee824(0xb8)](),this[_0x2ee824(0x1e5)]();}[_0x50553d(0xb8)](){var _0x188b87=_0x50553d,_0x25869d,_0x1c2e59,_0x59c9c8,_0x323e5a;this['_injector'][_0x188b87(0x202)](_0xd1c211[_0x188b87(0x1ed)])&&this[_0x188b87(0x1ef)][_0x188b87(0xef)](_0x188b87(0x12a),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2b9939=_0xd1c211[_0x188b87(0xd1)]([[_0xd1c211[_0x188b87(0x1ed)],{'useClass':_0x4357d9[_0x188b87(0x82)]}],[_0x4357d9[_0x188b87(0x90)]],[_0x4357d9[_0x188b87(0x2db)]],[_0x4357d9['SheetTransformSelectionsService']],[_0x563de2],[_0x281e23],[_0x1e1c7e],[_0x396a69],[_0x5114c1],[_0x4357d9[_0x188b87(0x351)]],[_0x17b7f1,{'useClass':(_0x1c2e59=(_0x25869d=this[_0x188b87(0x2e4)])==null?void 0x0:_0x25869d[_0x188b87(0x27e)])!=null?_0x1c2e59:_0x4357d9[_0x188b87(0x3d1)]}],[_0x4f4dae[_0x188b87(0x19c)],{'useClass':_0x4357d9[_0x188b87(0x33b)]}],[_0xd1c211[_0x188b87(0x21c)],{'useClass':_0x4357d9[_0x188b87(0x2d0)]}],[_0x3cad30[_0x188b87(0xfe)],{'useClass':_0x4357d9[_0x188b87(0x1de)]}],[_0xd1c211['IMentionIOService'],{'useClass':_0x4357d9[_0x188b87(0x13f)]}],[_0x4357d9['CollaborationController']],[_0x2351e8]],(_0x59c9c8=this['_config'])==null?void 0x0:_0x59c9c8['override']);if(!((_0x323e5a=this[_0x188b87(0x2e4)])!=null&&_0x323e5a['enableSingleActiveInstanceLock'])){const _0x5dec71=_0x2b9939[_0x188b87(0x213)](([_0x56a2d6])=>_0x56a2d6===_0x3dd7cd);_0x5dec71!==-0x1&&_0x2b9939[_0x188b87(0x95)](_0x5dec71,0x1);}_0xd1c211['registerDependencies'](this[_0x188b87(0x2b4)],_0x2b9939);}[_0x50553d(0x1e5)](){var _0x18c693=_0x50553d,_0x22b108,_0x2c4b53,_0x27e741;this[_0x18c693(0x2b4)][_0x18c693(0x224)](_0x266048[_0x18c693(0x24f)])[_0x18c693(0x3b6)]({'priority':0x14,'interceptor':_0x266048['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x22b108=this[_0x18c693(0x2e4)])!=null&&_0x22b108[_0x18c693(0x3b1)]||(_0x2c4b53=this['_injector']['get'](_0x5ce95d,_0xd1c211[_0x18c693(0x7f)][_0x18c693(0x184)]))==null||_0x2c4b53[_0x18c693(0x17d)](),(_0x27e741=this[_0x18c693(0x2e4)])!=null&&_0x27e741[_0x18c693(0xa6)]&&_0xd1c211['touchDependencies'](this[_0x18c693(0x2b4)],[[_0x563de2]]),_0xd1c211['touchDependencies'](this['_injector'],[[_0x281e23],[_0x4357d9[_0x18c693(0x1c8)]],[_0x396a69]]);}},_0xb58783(_0x4357d9[_0x50553d(0x24c)],'pluginName',_0xd3dbed),_0x4357d9[_0x50553d(0x24c)]=_0xb55bc1([_0xd1c211[_0x50553d(0x194)](_0x4f4dae[_0x50553d(0x2b6)],_0x4caa0[_0x50553d(0x2ee)],_0x266048[_0x50553d(0xce)]),_0x392f22(0x1,_0xd1c211['ILogService']),_0x392f22(0x2,_0xd1c211[_0x50553d(0x203)](_0xd1c211[_0x50553d(0x18e)])),_0x392f22(0x3,_0xd1c211[_0x50553d(0x334)])],_0x4357d9[_0x50553d(0x24c)]),_0x4357d9['AUTHZ_URL_KEY']=_0x37ea70,_0x4357d9[_0x50553d(0x15b)]=_0x47a3ce,_0x4357d9['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x531bc6,_0x4357d9[_0x50553d(0xd0)]=_0x34c209,_0x4357d9[_0x50553d(0x123)]=_0xad4d37,_0x4357d9[_0x50553d(0x2a7)]=_0x4b9b27,_0x4357d9[_0x50553d(0x227)]=_0x5114c1,_0x4357d9[_0x50553d(0x33c)]=_0x1e1c7e,_0x4357d9['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0xf914b1,_0x4357d9[_0x50553d(0x2e8)]=_0xd6610c,_0x4357d9['HEARTBEAT_INTERVAL_KEY']=_0x4856d6,_0x4357d9[_0x50553d(0x182)]=_0x586f81,_0x4357d9['ICollaborationSocketService']=_0x17b7f1,_0x4357d9[_0x50553d(0x296)]=_0x5ce95d,_0x4357d9[_0x50553d(0x3a4)]=_0x5bc066,_0x4357d9[_0x50553d(0x2da)]=_0x3dd7cd,_0x4357d9[_0x50553d(0x1f7)]=0x3e8,_0x4357d9[_0x50553d(0x1e6)]=_0x217df0,_0x4357d9[_0x50553d(0x128)]=_0x210229,_0x4357d9['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x358a9e,_0x4357d9['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x34ff9b,_0x4357d9[_0x50553d(0x250)]=_0x101557,_0x4357d9[_0x50553d(0x31f)]=_0x4d855b,_0x4357d9['SNAPSHOT_URL_KEY']=_0x14443e,_0x4357d9['SessionStatus']=_0x313f34,_0x4357d9[_0x50553d(0x39e)]=_0x11b26c,_0x4357d9[_0x50553d(0x246)]=_0xd927ab,_0x4357d9[_0x50553d(0x22c)]=_0x4d14ae,_0x4357d9[_0x50553d(0x3a2)]=_0x456931,Object['defineProperty'](_0x4357d9,Symbol[_0x50553d(0x2ec)],{'value':_0x50553d(0x328)});}));