@univerjs-pro/collaboration-client 0.6.10-experimental.20250427-89a0949 → 0.6.10-experimental.20250427-825ae55

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 _0x51ae(){var _0x3a2909=['MentionType','_commentService','_clearRedo','lib','_candidateSocket','_getAPIPrefix','ReplaySubject','ICommandService','_onRecvEvent','patch','_replaceFileID','objectType','readyForCollab','addImageSourceCache','now','sessionStatus$','_retryConnectingTimer','data','onRemoteAck','deepClone','&source=','_startTelemetryCollaborationNewChangeset','post','_telemetryInfo','ivSize','rev','_doCryptBlock','editing\x20status\x20changed\x20to','_rescheduleHeartbeat','FileId','UniverDrawing','UNKNOWN_CMD','reqId','[SyncedState]:\x20received\x20rejection.','ws://127.0.0.1:8000/universer-api/comb/connect','UniverNetwork','_updateState','HTTPRequest','COMPRESS_MUTATION_APPLY','_univerInstanceService','cmd','/universer-api/snapshot','getImage','YUUMI_ASYNCIO_CANCELLED','_initUnitPermissionChange','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Subject','_clearScheduledTask','event$','take','Injector','collaboration-client.local-cache-service','removeMember','appendMutation','uniscriptRunEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','\x0aCurrent:\x20','_xformMode','_clearLocalCache','getRandomValues','RETRY_CONNECTING_MAX_COUNT','Could\x20not\x20dynamically\x20require\x20\x22','UPDATE_CURSOR','_collabSessionService','_isPermissionRej','BlockCipherMode','requireSession','_changesetSessionId','Workbook','defineProperty','_timeoutTimer','telemetry\x20info\x20is\x20not\x20initialized','join','_queuedRemoteChangesets','/universer-api/snapshot/','getImageSourceCache','_transformService','isTransformMutationsWithChangesetFailure','selections','FetchingMissState','_collaborationPaused','ImageSourceType','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','UniverCore','fromCollab','_resendWithTimeout','OTHER_CLIENTS_EDITING','_init','_loadDoc','CollaborativeUndoRedoService','concat','loadDoc','delay','/-/object/-/batch_allowed','_createInitialStateImpl','_singleActiveUnitService','pluginName','_awaitingChangeset','917632OMymjL','__esModule','conflict','\x20to\x20','avatar','default','OFFLINE','random','title','Hex','_sendHeartbeatTimer','blockSize','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','collaboratorID','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ConflictState','setConfig','listCollaborators','UniverTelemetry','/universer-api/authz','TOO_MANY_REQUESTS','\x20in\x20_schedule.','authzUrl','image/gif','INVALID_INVITE_CODE','_socketMessageSubscription','object','BehaviorSubject','get','catch','sigBytes','setWaitCount','isArray','startTime','_status$','cfg','csAckEvent','getUnit','takeUntil','COMPRESS_MUTATION_SEND','capture','parseChangesetToProtocol','?size=','INVALID_ARGUMENT','Base64','onSyncEditingCollabCursor','55821rGHDAq','emitEvent','UniverCollaborationPlugin','PERMISSION_DENIED','_userManagerService','AwaitingWithPendingState','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','amd','roomInfos','hostname','isTransformMutationsWithChangesetSuccess','CollaborationStatus','_oKey','_onFetchMissResult','_doReset','PSEUDO_FETCH_MISSING_RESULT','_removeRoom','pending','_handlerCallback','_createInitialState','Hasher','APPLY_REJECT','offline','reject','BufferedBlockAlgorithm','getValue','_retryCount','ILogService','_data','_schedule','SNAPSHOT_URL_KEY','UNDEFINED','APPLY_DUPLICATED','HmacSHA1','transformUndoRedo','SheetCollaborationEntity','InsertSheetMutation','href','dispose','routeKey','mergeOverrideWithDependencies','fromCharCode','filter','createSocket','&to=','_transformRemoteChangesetByStateCache','NEW_CHANGESETS','_hash','GLOBAL_ROOMS_CNT_EXCEEDS','_transformStack','_applyRemoteChangeset','CLOSE_ROOM','getActiveSheet','/universer-api/comb','_toggleOffline','MSG_FOR_ERROR','pauseCollaboration','_transformRemoteChangesetByIMECache','ISnapshotServerService','m2Prime','ERROR_IMAGE','getCollabEntity$','file','IUniverInstanceService','getUnitId','range','getGlobalObject','unitInfo$','newCsEvent','HttpExport','UnitSnapshot','getAllMembers','_networkConditionService','getMemberID','_loadSheet','target','_clearUndo','findIndex','changesets','_throwTelemetryCollaborationNewChangeset','_transformIMECache','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getRoom','Tools','disposeWithMe','toggleOnline','putCollaborators','origin','byteLength','open$','_resendTimer','length','LocaleService','_sendingTimer','_commentUpdate$','list','onlyLocal','onRemoteChangeset','_stopTelemetryCollaborationNewChangeset','init','EmptyMutation','commentUpdate$','c1Prime','transformChangesets','objectActions','createCollaborator','Malformed\x20UTF-8\x20data','univer-pro.collaboration-client-socket-service','UniverInstanceType','_key','allowed','localCacheService','getOwnPropertyDescriptor','_sessionStatus$','incrementRevOfUnit','closeSession','COMPLETION_FINISHED','/unit/','_cipher','fetchThroughInterceptors','abs','UniverCollaborationClientPlugin','LIVESHARE_NEW_HOST','UserManagerService','unpad','UnitEmbedded','/object/','state$','processBlock','_onConnectionFailed','_transitionLocked','8411058nSYoEd','RECV','AWAITING_WITH_PENDING','stopTime','_config','ISocketService','[DataLoaderService]','members','snapshotServerUrl','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','connection\x20error','onTransformRemoteChangesetByIMECache','OfflineState','getFocusedUnit','indexOf','_sender','LOGIN_FAILED','sendChangesetTimeout','IConfigService','_onRemoteACK','transformSelections','SUBMIT_CHANGESET_TIMEOUT','_resendTimeout','updatePermissionPoint','awaiting','[FetchMissState]','[CollaborationUndoRedoService]','getTypeOfUnitAdded$','includes','@univerjs/core','collabWebSocketUrl','CollaborationUIEventService','saveImage','UserProfileImg','unitId','parseProtocolChangeset','/collaborator','unsubscribe','UNAUTHENTICATED','SUCCUSS','function','SYNCED','JOIN_ROOM_FULL','onSendChangeset','socket\x20close','_tryReconnect','_httpService','body','ceil','COLLAB_SUBMIT_CHANGESET_URL_KEY','enableOfflineEditing','_scheduleCollaborationTimeoutTimer','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/resources','UNIVER_DOC','PERMISSION_REJ','COLLAB_SUBMIT_CHANGESET_URL','CollaborationEntity','session.join-failed','Cipher','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','[OfflineState]:\x20received\x20rejection.','getTypeOfUnitDisposed$','image/bmp','textEncoder','@univerjs/network','SUBMIT_CHANGESET','INetworkConditionService','HttpImport','@univerjs-pro/license','close$','DataLoaderService','session.room-cnt-exceeds','PY_RUNTIME_SCRIPT_ERROR','CHANGESET_REVISION_CONFILICT','_onCombEvent','collaborators','CipherParams','isInternalEditorID','HEARTBEAT_TIMEOUT','transformMutationsWithChangeset','DEFAULT_FILE_NAME','LICENSE_IMPORT_SIZE_EXCEEDED','_members$','next','ALREADY_EXISTS','unitId\x20is\x20not\x20found','SnapshotServerOverHTTPService','IMentionIOService','[OfflineState]:\x20received\x20acknowledgement.','{fileID}','onCommandExecuted','CONFLICT','UniverProCollaboration','rxjs','session.room-full','_socket$','message$','b64DecodeUnicode','_configService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','replace','mixIn','/object','_roomCreated$','getCollabEntity','onTransformSelections','onTransformRemoteChangesetByStateCache','FETCH_MISSING','csShouldRetryEvent','INGEST','fetchMiss','collaMsg','2023880IzrUSS','toLowerCase','YUUMI_RATE_OVER_LIMIT','clone','PERSON','snapshot','revision','pipe','bind','UNKNOWN_CODE','_nRounds','location','LocalUndoRedoService','_entityInit$','_updateStatus','loadOfflineData','Utf8','readAsDataURL','UNIVER_PROJECT','_collaborationSessionService','getWorkbookSelections','4270764jZppMi','registerDependencies','@univerjs/sheets','call','decrypt','_imageSourceCache','_clearCollaborationTimeoutTimer','FAIL','prototype','json','mode','serializeCombRequest','_snapshotService','encrypt','randomUUID','set','_unitID','UNRECOGNIZED','error','subscribe','downloadEndpointUrl','SheetsSelectionsService','RevisionService','_onLocalMutation','onRemoteRetry','mutations','failed\x20to\x20apply\x20missed\x20changesets!','_members','parse','[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.','_getSignURL','map','_memberService','send','reset','transformStack\x20failed!','getSnapshotAPIPath','_changesetReqId','onMissingChangesets','sin','UniverDocs','MentionIoHttpService','padding','save\x20fail\x20reason\x20is\x20','_sendHeartbeat','RETRY_CONNECTING_MAX_COUNT_KEY','BlockCipher','find','updatePermissionObjEvent','28UpeRsi','$super','_reverseMap','baseRev','originalMeta','execute','confirm','_state$','words','_process','Undefined','getCurrentRevOfUnit','LICENSE_EXPORT_SIZE_EXCEEDED','image/jpg','getUnitType','sid','CollaborationSession','getCurrentSelections','CollaborationSocketService','from','/universer-api/stream/file/upload','_clearRetryConnectingTimer','SetSelectionsOperation','_change$','msCrypto','NO_OTHER_CLIENTS_EDITING','charAt','NOT_COLLAB','UNIVER_SHEET','APPLY_NON_SEQUENTIAL_REVISION','MOBILE_HAS_BEEN_BOUND','_unlockTransition','shareReplay','Pkcs7','CollaborationImageIoService','IPermissionService','Quantity','kdf','SyncedState','waitForRoom$','debug','_getAPIPrefixPath','HmacMD5','getInterceptPoints','_invKeySchedule','[PendingState]:\x20received\x20rejection.','_syncEditingCollabCursor','awaitingChangeset','_event$','ciphertext','_tryEnsureSocket','_redoStacks','update','pad','BASE64','name','loadSheet','People','ISingleActiveUnitService','[SyncedState]:\x20received\x20acknowledgement.','csRejEvent','_acknowledgedAwaitingChangeset','_socket','every','create','SNAPSHOT_HAS_BEEN_REMOVED','_doFinalize','refreshPermission','IUndoRedoService','unitID','_createHelper','_incrementRevisionNumber','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','MemberService','loadUnit','SnapshotService','registerHTTPInterceptor','submit\x20changeset\x20error!','substr','resend','/allowed','AwaitingState','_submitChangeset','clamp','_onRemoteRetry','_onRemoteRejected','UNIVER_COLLABORATION_CLIENT_PLUGIN','_waitForHeartbeatResponse','rxjs/operators','USERS_ENTER','UnitStatus','Module','firstValueFrom','IImageIoService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','YUUMI_NO_CUBOID_FOR_QUESTION','_onOffline','_remoteChangesetQueue','CHANGESET_SHOULD_RETRY','responseType','StreamCipher','createDecryptor','onRemoteRej','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_initRequestHeader','charCodeAt','LIVESHARE_OPERATION','PENDING','_initCloseConn','online$','AWAITING','_getCurrentRevision','HTTPService','createIdentifier','_sessions','slice','createEncryptor','AuthzIoHttpService','_transformUndoredo','session','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','AUTHZ_URL_KEY','CommandType','JOIN_ROOM_NOT_EXISTS','CBC','_prevBlock','USERS_LEAVE','SOCKET_FAILED','_instanceService','fetch_missing','auth.needGotoLoginAlert','min','crypto','toggleOffline','INVITE_CODE_REQUIRED','finalize','[CollaborationSession]','_hasher','_onRemoteChangeset','LICENSE_DISTRO_REJECTED','override','\x0aAfter:\x20','getConfig','splice','getDeserializedSheetBlock','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','type','workbook','editingUnit','Plugin','toDisposable','_snapshotServerService','ERROR_IMAGE_TYPE','UNISCRIPT_RUN','_initMergeInterceptor','NoPadding','CollaborationSessionService','CHANGESET_ACK','ONLINE','_doCreateSocket','[CollaborationSessionService]:\x20socket\x20error','_minBufferSize','_compressMutationService','_initDependencies','_doProcessBlock','apply','has','delete','deleteCollaborator','_state','EvpKDF','WorkbookEditablePermission','withCredentials','_append','concatMap','onload','MergeInterceptorFactory','IDLE','_getRedoStack','mapDocumentTypeToUniverType','_socketReady','OTHER_CLIENT_EDITING','synced','add','IContextService','asObservable','leaveEvent','_scheduleCompleteTimestamp','_getCtorByUniverType','interceptor','setCurrentUser','getSheetId','UUID','getLocalCacheKey','socketService','salt','subject','CollaborationController','APPLY_REVISION_CONFILICT','_lockTransition','_HTTPService','src','infoRsp','getTime','Disposable','_onConnectionOpen','@univerjs-pro/collaboration','_onMessage','_disableEditing','compose','[CollaborationSessionService]','_revisionService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_logService','YUUMI_URL_COL_OUT_OF_RANGE','/new_changes','onTransformState','_substituteRedoStack','PasswordBasedCipher','floor','AES','_checkMissing','?url=','_localCacheService','_map','toStringTag','sheets','params','HEARTBEAT','UNIVER_UNKNOWN','APPLY_PERMISSION_DENIED','OpenSSL','82htBuaB','size','append','PendingState','JOINING','method','CONNECTOR_DATA_TOO_LARGE','subUnitId','code','_createHandler','getLatestCsReqIdBySid','@univerjs/telemetry','_iv','univer-pro.collaboration-client.single-active-unit-service','updateMember','ThresholdInterceptorFactory','onTransformIME','isPermissionRej','_updateLocalCache','clear','startsWith','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','textRanges','disableLocalCache','enc','_onConflict','DEFAULT_COLLAB_WEB_SOCKET_URL','_showConflictNotification','keySize','key','__creator','ERROR_EXCEED_SIZE','_handler','unit-cache-','exports','userID','url','SheetTransformSelectionsService','USER_NOT_INVITED_CODE','ENSURE_SNAPSHOT_EXECUTION','Optional','_replayCachedMutations','requestParams','_type','_commandService','_entities','_pendingMutations','_roomMembers','updateOfflineData','SessionStatus','resourceIDs','Encryptor','[OfflineState]:\x20received\x20changeset.','addHandlerCallback','fetchMissingChangesets','_unitInfo$','_undoStacks','generateRandomId','_iKey','/universer-api/file/{fileID}/sign-url','commentUpdateEvent','__Key__','state','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Failed\x20to\x20update\x20permission\x20point','reconnect','_startCollaboration','_shouldReportTelemetry','_registerDependencies','byteOffset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','executeCommand','_getLoginPath','_telemetryService','randomBytes','INVITE_CODE_ALREADY_BOUND','put','CollaborationEvent','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','34320726YkHsAJ','_collaborationUIEventService','touchDependencies','COMMENT_UPDATE','_sheetTransformSelectionsService','enableSingleActiveInstanceLock','@univerjs/docs','toString','&assign=','createInstance','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getMember','getUnitStatus$','unknown','algo','stringify','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','retryConnectingInterval','hasOwnProperty','getResourcesRequest','objectID','complete','localeService','_keyPriorReset','SNAPSHOT_SERVER_URL_KEY','encryptBlock','NOT_FOUND','WECHAT_HAS_BEEN_BOUND','LEAVE','_onUserJoin','Base','MUTATION','_decreaseWaiting','_getUploadFileURL','status','MD5','copyFileMeta','format','Decryptor','COLLAB_WEB_SOCKET_URL','_onUserLeave','_socketService','_onJoinRoomEvent','_fetchMissChangesets','merge','headers','error$','session.room-permission-denied','_clearHeartbeatTimer','change$','YUUMI_SUBSCRIPTION_NOT_FOUND','shouldCloseConn','onCommentUpdate','collabSubmitChangesetUrl','RichTextEditingMutation','status$','result','iterations','_collaborationTimeoutTimer','JOIN_ROOM_PERMISSION_DENIED','loginUrlKey','forEach','/rev/','memberID','onMissedChangesetFetched','/role','CompressMutationService','\x20-\x20','/block/','saveChangeset','CollaborationUIEventId','_waitCount','LOGIN_URL_KEY','action','_getDownloadEndpointURL','SHOULD_CLOSE_CONN','extend','session.room-not-exists','LIVESHARE_FETCH_OPERATIONS','ITransformService','UNIVER_SLIDE','_injector','UPDATE_PERMISSION_OBJ','push','@univerjs/drawing','sessionStatus','hasher','FETCH_MISS','WordArray','rng','getCurrentUser','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','isTransformChangesetsSuccess','_listenToNetworkCondition','JOIN','INVITE_CODE_HAS_BEEN_UES','_transformSelections','liveShareNewHost','compute','_mode','_undoRedoService','permissionRejEvent','Inject','duration','HELLO','_permissionService','_transformStateCache','initWorkbookPermissionChange','YUUMI_UNABLE_LOAD_URL','POST','/universer-api/user/session-ticket','_nDataBytes','dispose$','collaboration-client.config','eventID','updateCursorEvent','8296065bRhUjv','string','_executeRemoteChangeset','Univer','_localeService','actions','members$','INTERNAL_ERROR','RxDisposable','SEND_CHANGESET_TIMEOUT_KEY','JOIN_ROOM_FAILED','ImageUploadStatusType','_ENC_XFORM_MODE','LIVESHARE_REQUEST_HOST','_createSocket','buffer','_getSendChangesetTimeout','awaiting_with_pending','then','setShowComponents','close','SHA1','_eventService','[CollaborationEntity]'];_0x51ae=function(){return _0x3a2909;};return _0x51ae();}function _0x8cbe(_0x47d00c,_0x414ca6){var _0x51aef0=_0x51ae();return _0x8cbe=function(_0x8cbe1d,_0x275707){_0x8cbe1d=_0x8cbe1d-0x13e;var _0x237f0f=_0x51aef0[_0x8cbe1d];return _0x237f0f;},_0x8cbe(_0x47d00c,_0x414ca6);}(function(_0x405fd9,_0x2217be){var _0x3c1eb5=_0x8cbe,_0x1531ef=_0x405fd9();while(!![]){try{var _0x4c5f16=parseInt(_0x3c1eb5(0x361))/0x1+parseInt(_0x3c1eb5(0x224))/0x2*(parseInt(_0x3c1eb5(0x38f))/0x3)+parseInt(_0x3c1eb5(0x498))/0x4+parseInt(_0x3c1eb5(0x2e7))/0x5+parseInt(_0x3c1eb5(0x412))/0x6+-parseInt(_0x3c1eb5(0x4c9))/0x7*(parseInt(_0x3c1eb5(0x483))/0x8)+-parseInt(_0x3c1eb5(0x273))/0x9;if(_0x4c5f16===_0x2217be)break;else _0x1531ef['push'](_0x1531ef['shift']());}catch(_0x51e50a){_0x1531ef['push'](_0x1531ef['shift']());}}}(_0x51ae,0xf0368),function(_0xebf4ed,_0x23013d){var _0x5c1abd=_0x8cbe;typeof exports==_0x5c1abd(0x37b)&&typeof module<'u'?_0x23013d(exports,require(_0x5c1abd(0x42f)),require(_0x5c1abd(0x470)),require(_0x5c1abd(0x194)),require(_0x5c1abd(0x20a)),require('@univerjs/network'),require(_0x5c1abd(0x22f)),require(_0x5c1abd(0x279)),require(_0x5c1abd(0x49a)),require(_0x5c1abd(0x2c7)),require(_0x5c1abd(0x457))):typeof define==_0x5c1abd(0x43a)&&define[_0x5c1abd(0x396)]?define([_0x5c1abd(0x246),_0x5c1abd(0x42f),_0x5c1abd(0x470),_0x5c1abd(0x194),_0x5c1abd(0x20a),_0x5c1abd(0x453),_0x5c1abd(0x22f),_0x5c1abd(0x279),_0x5c1abd(0x49a),_0x5c1abd(0x2c7),'@univerjs-pro/license'],_0x23013d):(_0xebf4ed=typeof globalThis<'u'?globalThis:_0xebf4ed||self,_0x23013d(_0xebf4ed['UniverProCollaborationClient']={},_0xebf4ed[_0x5c1abd(0x352)],_0xebf4ed[_0x5c1abd(0x470)],_0xebf4ed['rxjs']['operators'],_0xebf4ed[_0x5c1abd(0x46f)],_0xebf4ed[_0x5c1abd(0x322)],_0xebf4ed[_0x5c1abd(0x373)],_0xebf4ed[_0x5c1abd(0x4c0)],_0xebf4ed['UniverSheets'],_0xebf4ed[_0x5c1abd(0x31d)],_0xebf4ed['UniverProLicense']));}(this,function(_0x1ac966,_0x1580f8,_0xdf3790,_0x2f0ffe,_0x1273bf,_0x2864cd,_0x26f35f,_0x5650a7,_0x3a5b47,_0x156a78,_0x3d8a6a){'use strict';var _0x549351=_0x8cbe;var _0x2d412a=Object[_0x549351(0x344)],_0x5dc2d4=(_0x1549c0,_0x294a52,_0xd40c95)=>_0x294a52 in _0x1549c0?_0x2d412a(_0x1549c0,_0x294a52,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd40c95}):_0x1549c0[_0x294a52]=_0xd40c95,_0x1ad8fe=(_0x556380,_0x44a99a,_0xd15222)=>_0x5dc2d4(_0x556380,typeof _0x44a99a!='symbol'?_0x44a99a+'':_0x44a99a,_0xd15222);const _0x1283aa=_0x549351(0x28b),_0xa37e85=_0x549351(0x328),_0x832350=_0x549351(0x3ad),_0x284764='SEND_CHANGESET_TIMEOUT',_0x50a17e=_0x549351(0x29a),_0x2225bd=_0x549351(0x321),_0x4d6748=_0x549351(0x2e1),_0x134ec5='HEARTBEAT_INTERVAL',_0x5901c0=_0x549351(0x461),_0x86df65=_0x549351(0x33b),_0x34d9ee='LOCAL_CACHE_INTERVAL',_0x472a8f=_0x549351(0x44a),_0x26795f=_0x549351(0x3c4),_0x4fd29a='LOGIN_URL_KEY',_0x167b2c='/universer-api/oidc/authpage',_0x2cd825='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x49be1d='/universer-api/uniscript';var _0x2f6d14=(_0x480936=>(_0x480936[_0x480936[_0x549351(0x3ae)]=0x0]=_0x549351(0x3ae),_0x480936[_0x480936['OK']=0x1]='OK',_0x480936[_0x480936[_0x549351(0x2ee)]=0x2]=_0x549351(0x2ee),_0x480936[_0x480936['PERMISSION_DENIED']=0x3]=_0x549351(0x392),_0x480936[_0x480936[_0x549351(0x28d)]=0x4]=_0x549351(0x28d),_0x480936[_0x480936[_0x549351(0x438)]=0x5]=_0x549351(0x438),_0x480936[_0x480936['ALREADY_EXISTS']=0x6]=_0x549351(0x467),_0x480936[_0x480936[_0x549351(0x38c)]=0x7]=_0x549351(0x38c),_0x480936[_0x480936[_0x549351(0x375)]=0x8]=_0x549351(0x375),_0x480936[_0x480936['COMPLETION_FINISHED']=0x9]=_0x549351(0x403),_0x480936[_0x480936[_0x549351(0x422)]=0xa]=_0x549351(0x422),_0x480936[_0x480936[_0x549351(0x45c)]=0x1389]=_0x549351(0x45c),_0x480936[_0x480936['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x480936[_0x480936['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x549351(0x17d),_0x480936[_0x480936[_0x549351(0x24b)]=0x1773]=_0x549351(0x24b),_0x480936[_0x480936[_0x549351(0x3a4)]=0x1b59]=_0x549351(0x3a4),_0x480936[_0x480936[_0x549351(0x159)]=0x1b5a]=_0x549351(0x159),_0x480936[_0x480936['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x549351(0x202),_0x480936[_0x480936[_0x549351(0x222)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x480936[_0x480936[_0x549351(0x3af)]=0x1b5d]=_0x549351(0x3af),_0x480936[_0x480936[_0x549351(0x22a)]=0x1f41]=_0x549351(0x22a),_0x480936[_0x480936['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x480936[_0x480936[_0x549351(0x41b)]=0x232a]=_0x549351(0x41b),_0x480936[_0x480936[_0x549351(0x464)]=0x232b]=_0x549351(0x464),_0x480936[_0x480936[_0x549351(0x148)]=0x232c]=_0x549351(0x148),_0x480936[_0x480936['LICENSE_DISTRO_REJECTED']=0x232d]=_0x549351(0x1c7),_0x480936[_0x480936[_0x549351(0x2df)]=0x2711]=_0x549351(0x2df),_0x480936[_0x480936[_0x549351(0x212)]=0x2712]=_0x549351(0x212),_0x480936[_0x480936[_0x549351(0x485)]=0x2713]=_0x549351(0x485),_0x480936[_0x480936[_0x549351(0x2a5)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x480936[_0x480936['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x549351(0x19b),_0x480936[_0x480936[_0x549351(0x32a)]=0x271b]=_0x549351(0x32a),_0x480936[_0x480936[_0x549351(0x45b)]=0x2af9]=_0x549351(0x45b),_0x480936[_0x480936[_0x549351(0x2d2)]=0x2ee1]=_0x549351(0x2d2),_0x480936[_0x480936[_0x549351(0x379)]=0x2ee2]=_0x549351(0x379),_0x480936[_0x480936['INVITE_CODE_REQUIRED']=0x2ee3]=_0x549351(0x1c2),_0x480936[_0x480936[_0x549351(0x24a)]=0x2ee4]=_0x549351(0x24a),_0x480936[_0x480936[_0x549351(0x26f)]=0x2ee5]=_0x549351(0x26f),_0x480936[_0x480936[_0x549351(0x28e)]=0x32c9]=_0x549351(0x28e),_0x480936[_0x480936[_0x549351(0x15a)]=0x32ca]=_0x549351(0x15a),_0x480936[_0x480936['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x480936[_0x480936[_0x549351(0x4a9)]=-0x1]=_0x549351(0x4a9),_0x480936))(_0x2f6d14||{}),_0xe53b2e=(_0x9e0f64=>(_0x9e0f64[_0x9e0f64[_0x549351(0x221)]=0x0]=_0x549351(0x221),_0x9e0f64[_0x9e0f64[_0x549351(0x448)]=0x1]=_0x549351(0x448),_0x9e0f64[_0x9e0f64[_0x549351(0x158)]=0x2]=_0x549351(0x158),_0x9e0f64[_0x9e0f64['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x9e0f64[_0x9e0f64[_0x549351(0x495)]=0x4]='UNIVER_PROJECT',_0x9e0f64[_0x9e0f64['UNRECOGNIZED']=-0x1]=_0x549351(0x4a9),_0x9e0f64))(_0xe53b2e||{}),_0x360e3f=(_0x4c14ea=>(_0x4c14ea[_0x4c14ea[_0x549351(0x31e)]=0x0]=_0x549351(0x31e),_0x4c14ea[_0x4c14ea[_0x549351(0x2db)]=0x1]=_0x549351(0x2db),_0x4c14ea[_0x4c14ea[_0x549351(0x2d1)]=0x2]=_0x549351(0x2d1),_0x4c14ea[_0x4c14ea[_0x549351(0x28f)]=0x3]=_0x549351(0x28f),_0x4c14ea[_0x4c14ea[_0x549351(0x480)]=0x4]=_0x549351(0x480),_0x4c14ea[_0x4c14ea[_0x549351(0x220)]=0x5]=_0x549351(0x220),_0x4c14ea[_0x4c14ea['RECV']=0x6]=_0x549351(0x413),_0x4c14ea[_0x4c14ea[_0x549351(0x4a9)]=-0x1]=_0x549351(0x4a9),_0x4c14ea))(_0x360e3f||{}),_0x39adf9=(_0x3eb818=>(_0x3eb818[_0x3eb818['UNKNOWN_CODE']=0x0]=_0x549351(0x48c),_0x3eb818[_0x3eb818['OK']=0x1]='OK',_0x3eb818[_0x3eb818[_0x549351(0x49f)]=0x2]='FAIL',_0x3eb818[_0x3eb818[_0x549351(0x43c)]=0x3e9]='JOIN_ROOM_FULL',_0x3eb818[_0x3eb818[_0x549351(0x1b7)]=0x3ea]=_0x549351(0x1b7),_0x3eb818[_0x3eb818[_0x549351(0x2ae)]=0x3eb]=_0x549351(0x2ae),_0x3eb818[_0x3eb818[_0x549351(0x3bf)]=0x3ec]=_0x549351(0x3bf),_0x3eb818[_0x3eb818[_0x549351(0x4a9)]=-0x1]=_0x549351(0x4a9),_0x3eb818))(_0x39adf9||{}),_0x5b60ca=(_0x2bc19d=>(_0x2bc19d[_0x2bc19d[_0x549351(0x146)]=0x0]=_0x549351(0x146),_0x2bc19d[_0x2bc19d[_0x549351(0x456)]=0x1]=_0x549351(0x456),_0x2bc19d[_0x2bc19d['HttpExport']=0x2]=_0x549351(0x3d4),_0x2bc19d[_0x2bc19d['UnitEmbedded']=0x3]=_0x549351(0x40c),_0x2bc19d[_0x2bc19d[_0x549351(0x3d5)]=0x4]=_0x549351(0x3d5),_0x2bc19d[_0x2bc19d[_0x549351(0x433)]=0x5]=_0x549351(0x433),_0x2bc19d[_0x2bc19d[_0x549351(0x4a9)]=-0x1]=_0x549351(0x4a9),_0x2bc19d))(_0x5b60ca||{});const _0x1db2ed=_0x549351(0x2e4),_0x8159a3={};var _0x2bf599=(_0x531bc8=>(_0x531bc8[_0x549351(0x1f1)]=_0x549351(0x1f1),_0x531bc8[_0x549351(0x392)]=_0x549351(0x392),_0x531bc8[_0x549351(0x46e)]=_0x549351(0x46e),_0x531bc8[_0x549351(0x3c2)]='CLOSE_ROOM',_0x531bc8[_0x549351(0x2f1)]=_0x549351(0x2f1),_0x531bc8['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x531bc8[_0x549351(0x1bb)]=_0x549351(0x1bb),_0x531bc8[_0x549351(0x427)]=_0x549351(0x427),_0x531bc8))(_0x2bf599||{});class _0x1667ed{constructor(){var _0x46d0a6=_0x549351;_0x1ad8fe(this,'_event$',new _0xdf3790[(_0x46d0a6(0x32d))]()),_0x1ad8fe(this,'event$',this[_0x46d0a6(0x16c)][_0x46d0a6(0x1f5)]());}[_0x549351(0x390)](_0x4d6c96){var _0x2fc810=_0x549351;this[_0x2fc810(0x16c)][_0x2fc810(0x466)](_0x4d6c96);}}const _0x1587bd=_0x1580f8['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function _0x25897d(_0x517096){var _0x3eeb0a=_0x549351,_0x5f35ce,_0x4cb248,_0x5b5b0e,_0x39d50a,_0x24a164;const _0x115597=_0x517096[_0x3eeb0a(0x310)],_0x2df10c=JSON[_0x3eeb0a(0x4b4)](_0x115597);switch(_0x2df10c[_0x3eeb0a(0x327)]){case _0x360e3f[_0x3eeb0a(0x220)]:case _0x360e3f[_0x3eeb0a(0x2db)]:{const _0x4a7c88=_0x2df10c[_0x3eeb0a(0x206)];return{..._0x2df10c,'data':_0x4a7c88,'cmd':_0x2df10c[_0x3eeb0a(0x327)]};}case _0x360e3f[_0x3eeb0a(0x2d1)]:{const _0x13ca01=_0x2df10c['joinRsp'];return{..._0x2df10c,'data':_0x13ca01,'cmd':_0x2df10c[_0x3eeb0a(0x327)]};}case _0x360e3f['RECV']:{const _0x49cb43=_0x2df10c[_0x3eeb0a(0x482)];switch(_0x49cb43[_0x3eeb0a(0x2e5)]){case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x449)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':(_0x5f35ce=_0x49cb43[_0x3eeb0a(0x2d8)])==null?void 0x0:_0x5f35ce['cs']},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x1d9)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':(_0x4cb248=_0x49cb43[_0x3eeb0a(0x385)])==null?void 0x0:_0x4cb248['cs']},'cmd':_0x2df10c['cmd']};case _0x1273bf['CollaborationEvent'][_0x3eeb0a(0x3bd)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':(_0x5b5b0e=_0x49cb43[_0x3eeb0a(0x3d3)])==null?void 0x0:_0x5b5b0e['cs']},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)]['CHANGESET_REJ']:return{..._0x2df10c,'data':{..._0x49cb43,'data':(_0x39d50a=_0x49cb43[_0x3eeb0a(0x178)])==null?void 0x0:_0x39d50a['cs']},'cmd':_0x2df10c['cmd']};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x19e)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':(_0x24a164=_0x49cb43[_0x3eeb0a(0x47f)])==null?void 0x0:_0x24a164['cs']},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x33d)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x2e6)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)]['USERS_ENTER']:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43['joinEvent']},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)]['USERS_LEAVE']:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x1f6)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x409)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x2d4)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x2c1)]:case _0x1273bf[_0x3eeb0a(0x271)]['LIVESHARE_OPERATION']:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43['liveShareOperation']},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x2d4)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x3c6)]:return{..._0x2df10c,'data':_0x49cb43,'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf['CollaborationEvent'][_0x3eeb0a(0x276)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x260)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)]['UPDATE_PERMISSION_OBJ']:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x4c8)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x2be)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x2a6)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf['CollaborationEvent'][_0x3eeb0a(0x1d5)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x335)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};default:return _0x2df10c;}}default:return _0x2df10c;}}function _0x5ca2af(_0x455d81){var _0x4c839e=_0x549351;switch(_0x455d81['cmd']){case _0x360e3f[_0x4c839e(0x220)]:case _0x360e3f['HELLO']:return JSON[_0x4c839e(0x282)]({'cmd':_0x455d81[_0x4c839e(0x327)],'routeKey':_0x455d81[_0x4c839e(0x3b6)]});case _0x360e3f[_0x4c839e(0x480)]:{let _0x30936e;switch(_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x2e5)]){case _0x1273bf['CollaborationEvent'][_0x4c839e(0x33d)]:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x33d)],'updateCursorEvent':_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x310)]};break;}case _0x1273bf['CollaborationEvent'][_0x4c839e(0x1ba)]:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x1ba)],'leaveEvent':_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x310)]};break;}case _0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x195)]:{_0x30936e={'eventID':_0x1273bf['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x455d81['data'][_0x4c839e(0x310)]};break;}case _0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x409)]:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x409)],'liveShareNewHost':_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x310)]};break;}case _0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x1a6)]:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x1a6)],'liveShareOperation':_0x455d81['data']['data']};break;}case _0x1273bf['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x310)]};break;}case _0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x2f4)]:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x2f4)],'liveShareRequestHost':_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x310)]};break;}case _0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x2c1)]:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x30936e={'eventID':_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x2e5)]};}return JSON['stringify']({'cmd':_0x455d81[_0x4c839e(0x327)],'routeKey':_0x455d81[_0x4c839e(0x3b6)],'collaMsg':_0x30936e});}case _0x360e3f[_0x4c839e(0x2d1)]:return JSON[_0x4c839e(0x282)]({'cmd':_0x455d81[_0x4c839e(0x327)],'routeKey':_0x455d81[_0x4c839e(0x3b6)],'joinReq':_0x455d81[_0x4c839e(0x310)]});case _0x360e3f[_0x4c839e(0x28f)]:return JSON[_0x4c839e(0x282)]({'cmd':_0x455d81[_0x4c839e(0x327)],'routeKey':_0x455d81[_0x4c839e(0x3b6)],'leaveReq':_0x455d81[_0x4c839e(0x310)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x4b6025=Object[_0x549351(0x3ff)],_0x211f60=(_0x20a858,_0x387258,_0x142732,_0xfb88f5)=>{for(var _0x4a8a25=_0xfb88f5>0x1?void 0x0:_0xfb88f5?_0x4b6025(_0x387258,_0x142732):_0x387258,_0x1562cd=_0x20a858['length']-0x1,_0x247a7d;_0x1562cd>=0x0;_0x1562cd--)(_0x247a7d=_0x20a858[_0x1562cd])&&(_0x4a8a25=_0x247a7d(_0x4a8a25)||_0x4a8a25);return _0x4a8a25;},_0x12afd1=(_0xe63a5a,_0x3c6612)=>(_0x322992,_0x20ecad)=>_0x3c6612(_0x322992,_0x20ecad,_0xe63a5a);const _0x205f9c=_0x1580f8['createIdentifier'](_0x549351(0x3fa));function _0x3db062(_0x144cec,_0x5c5b28,_0x1cc4d2){var _0x4beab6=_0x549351;return _0x144cec+'/'+_0x5c5b28+_0x4beab6(0x404)+_0x1cc4d2+_0x4beab6(0x213);}_0x1ac966[_0x549351(0x14e)]=class extends _0x1580f8[_0x549351(0x208)]{constructor(_0x105740,_0x43b373,_0x360acb,_0x1922d3,_0x480f8e){var _0x527ec9=_0x549351;super(),this[_0x527ec9(0x2c4)]=_0x105740,this[_0x527ec9(0x440)]=_0x43b373,this[_0x527ec9(0x475)]=_0x360acb,this[_0x527ec9(0x211)]=_0x1922d3,this[_0x527ec9(0x1d3)]=_0x480f8e;}[_0x549351(0x1db)](_0x269174){var _0x263423=_0x549351;const _0x3949ab=this[_0x263423(0x2c4)][_0x263423(0x37d)](_0x2864cd[_0x263423(0x417)]);if(!_0x3949ab)throw new Error(_0x263423(0x184));const _0x545bbc=_0x3949ab[_0x263423(0x3ba)](_0x269174);if(!_0x545bbc)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0xe0e35a=new _0x1580f8['DisposableCollection'](),_0x1bbc0b=new _0xdf3790[(_0x263423(0x32d))]();_0xe0e35a[_0x263423(0x1f3)](_0x545bbc[_0x263423(0x458)][_0x263423(0x4ab)](_0x48f470=>_0x1bbc0b[_0x263423(0x466)](_0x48f470))),_0xe0e35a['add'](_0x1580f8['toDisposable'](()=>_0x1bbc0b[_0x263423(0x288)]()));const _0x40d000=new _0xdf3790[(_0x263423(0x32d))]();_0xe0e35a[_0x263423(0x1f3)](_0x545bbc[_0x263423(0x2a1)]['subscribe'](_0x1eacb4=>_0x40d000[_0x263423(0x466)](_0x1eacb4))),_0xe0e35a[_0x263423(0x1f3)](_0x1580f8['toDisposable'](()=>_0x40d000[_0x263423(0x288)]()));const _0x57ba17=new _0xdf3790['Subject']();_0xe0e35a['add'](_0x545bbc[_0x263423(0x473)][_0x263423(0x4ab)](_0x3085b8=>{var _0x56d96d=_0x263423;const _0x5d3c82=_0x25897d(_0x3085b8);_0x57ba17[_0x56d96d(0x466)](_0x5d3c82);})),_0xe0e35a['add'](_0x1580f8[_0x263423(0x1d2)](()=>_0x57ba17[_0x263423(0x288)]()));let _0xbd8ce2;const _0x53efe3=()=>{var _0xb0c454=_0x263423;_0x40d000[_0xb0c454(0x466)](new Event(_0xb0c454(0x41c))),_0x1bbc0b[_0xb0c454(0x466)](new Event(_0xb0c454(0x41c))),_0xbd8ce2[_0xb0c454(0x2fb)]();};return _0xbd8ce2={'memberID':'','close$':_0x1bbc0b['asObservable'](),'error$':_0x40d000[_0x263423(0x1f5)](),'open$':_0x545bbc[_0x263423(0x3e8)],'message$':_0x57ba17[_0x263423(0x1f5)](),'send':_0x28e8fb=>{var _0x1df2f6=_0x263423;if(_0x28e8fb['cmd']===_0x360e3f[_0x1df2f6(0x480)]){if(_0x28e8fb['data'][_0x1df2f6(0x2e5)]===_0x1273bf[_0x1df2f6(0x271)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0xbd8ce2,_0x28e8fb[_0x1df2f6(0x310)])[_0x1df2f6(0x37e)](_0xa90e5d=>{var _0x4c946b=_0x1df2f6;this[_0x4c946b(0x211)][_0x4c946b(0x4aa)](_0xa90e5d),_0x53efe3();});return;}if(_0x28e8fb[_0x1df2f6(0x310)][_0x1df2f6(0x2e5)]===_0x1273bf[_0x1df2f6(0x271)][_0x1df2f6(0x47e)]){const _0x38e8a8=_0x28e8fb[_0x1df2f6(0x310)];this[_0x1df2f6(0x29e)](_0x38e8a8)[_0x1df2f6(0x2f9)](_0x498380=>{var _0x4d31ab=_0x1df2f6;_0x57ba17['next']({'cmd':_0x360e3f[_0x4d31ab(0x413)],'code':_0x39adf9['OK'],'routeKey':_0x38e8a8[_0x4d31ab(0x310)]['unitID'],'routeType':'','data':{'eventID':_0x1273bf[_0x4d31ab(0x271)][_0x4d31ab(0x39e)],'data':{'changesets':_0x498380}}});})[_0x1df2f6(0x37e)](_0x44a50b=>{var _0xb77a9f=_0x1df2f6;this[_0xb77a9f(0x211)][_0xb77a9f(0x4aa)](_0x44a50b),_0x53efe3();});return;}}_0x545bbc[_0x1df2f6(0x4b9)](_0x5ca2af(_0x28e8fb));},'close':()=>{var _0x36408d=_0x263423;_0x545bbc['close'](),_0xe0e35a[_0x36408d(0x3b5)]();}},_0xbd8ce2;}async[_0x549351(0x18e)](_0x226797,_0x54e9f4){var _0xd93851=_0x549351,_0x52327c,_0x2b30ae;const {unitType:_0x36309b,unitID:_0x551c95,changeset:_0x3f5fb4}=_0x54e9f4['data'],_0x31b3c6={'unitID':_0x551c95,'memberID':_0x226797['memberID'],'type':_0x36309b,'changeset':_0x1273bf[_0xd93851(0x38a)](_0x3f5fb4)},_0x31e914=this[_0xd93851(0x475)]['getConfig'](_0x472a8f),_0x393098=this[_0xd93851(0x475)][_0xd93851(0x1ca)](_0x1db2ed),_0x2a8d54=_0x3db062((_0x2b30ae=(_0x52327c=_0x393098==null?void 0x0:_0x393098[_0xd93851(0x2a8)])!=null?_0x52327c:_0x31e914)!=null?_0x2b30ae:_0x26795f,_0x36309b,_0x551c95);try{await this[_0xd93851(0x440)]['post'](_0x2a8d54,{'body':_0x31b3c6});}catch(_0x37dcce){throw this['_logService'][_0xd93851(0x4aa)](_0xd93851(0x1c4),_0xd93851(0x189)),_0x37dcce;}}async['_fetchMissChangesets'](_0x3926fd){var _0x584074=_0x549351;const {unitID:_0x536cf2,from:_0x2a3478,to:_0x42989d,unitType:_0x5b30b3}=_0x3926fd[_0x584074(0x310)];return(await this[_0x584074(0x1d3)][_0x584074(0x25a)]({'metadata':void 0x0},{'unitID':_0x536cf2,'type':_0x5b30b3,'from':_0x2a3478,'to':_0x42989d}))[_0x584074(0x3dd)];}},_0x1ac966[_0x549351(0x14e)]=_0x211f60([_0x12afd1(0x0,_0x1580f8['Inject'](_0x1580f8['Injector'])),_0x12afd1(0x1,_0x1580f8[_0x549351(0x2d9)](_0x2864cd[_0x549351(0x1ac)])),_0x12afd1(0x2,_0x1580f8['IConfigService']),_0x12afd1(0x3,_0x1580f8[_0x549351(0x3aa)]),_0x12afd1(0x4,_0x1273bf[_0x549351(0x3c9)])],_0x1ac966[_0x549351(0x14e)]);const _0x171cff='collaboration_new_changeset';function _0x586440(_0x24ded7){var _0x1b835a=_0x549351;return JSON['stringify'](_0x24ded7)[_0x1b835a(0x3ea)];}class _0x5e520d{constructor(){var _0x5ce9e1=_0x549351;_0x1ad8fe(this,'_commentUpdate$',new _0xdf3790['Subject']()),_0x1ad8fe(this,_0x5ce9e1(0x3f4),this[_0x5ce9e1(0x3ed)]['asObservable']());}[_0x549351(0x2a7)](_0x18412d){var _0x380854=_0x549351;this[_0x380854(0x3ed)][_0x380854(0x466)](_0x18412d);}}var _0x16f2f6=Object['getOwnPropertyDescriptor'],_0x3a8a50=(_0x1d0408,_0x317145,_0x3b5cae,_0x66154b)=>{for(var _0x59506d=_0x66154b>0x1?void 0x0:_0x66154b?_0x16f2f6(_0x317145,_0x3b5cae):_0x317145,_0x231cb3=_0x1d0408['length']-0x1,_0xd6c1cf;_0x231cb3>=0x0;_0x231cb3--)(_0xd6c1cf=_0x1d0408[_0x231cb3])&&(_0x59506d=_0xd6c1cf(_0x59506d)||_0x59506d);return _0x59506d;},_0x2ae131=(_0x12d2e9,_0x217991)=>(_0x1767de,_0x15cb45)=>_0x217991(_0x1767de,_0x15cb45,_0x12d2e9);_0x1ac966[_0x549351(0x185)]=class extends _0x1580f8['Disposable']{constructor(_0x67be59,_0x47d53e){var _0x4d42b4=_0x549351;super(),_0x1ad8fe(this,_0x4d42b4(0x253),new Map()),_0x1ad8fe(this,_0x4d42b4(0x47a),new _0xdf3790[(_0x4d42b4(0x32d))]()),(this['_univerInstanceService']=_0x67be59,this['_userManagerService']=_0x47d53e,this[_0x4d42b4(0x3e3)](_0xdf3790[_0x4d42b4(0x29f)](this[_0x4d42b4(0x326)]['getTypeOfUnitDisposed$'](_0x1580f8['UniverInstanceType'][_0x4d42b4(0x158)])[_0x4d42b4(0x48a)](_0x2f0ffe[_0x4d42b4(0x4b7)](_0x422603=>_0x422603['getUnitId']())),this[_0x4d42b4(0x326)][_0x4d42b4(0x450)](_0x1580f8[_0x4d42b4(0x3fb)][_0x4d42b4(0x448)])[_0x4d42b4(0x48a)](_0x2f0ffe[_0x4d42b4(0x4b7)](_0xb699a8=>_0xb699a8[_0x4d42b4(0x3cf)]())),this['_univerInstanceService'][_0x4d42b4(0x450)](_0x1580f8[_0x4d42b4(0x3fb)][_0x4d42b4(0x2c3)])['pipe'](_0x2f0ffe['map'](_0x352be4=>_0x352be4[_0x4d42b4(0x3cf)]())))[_0x4d42b4(0x4ab)](_0x125406=>this[_0x4d42b4(0x39f)](_0x125406))));}[_0x549351(0x163)](_0x27dfa4){var _0x3bbf28=_0x549351;return this[_0x3bbf28(0x253)]['has'](_0x27dfa4)?_0xdf3790['of'](this[_0x3bbf28(0x253)][_0x3bbf28(0x37d)](_0x27dfa4)):this[_0x3bbf28(0x47a)][_0x3bbf28(0x48a)](_0x2f0ffe['map'](_0x142bc9=>{var _0x3dc374=_0x3bbf28;if(_0x142bc9===_0x27dfa4)return this[_0x3dc374(0x253)][_0x3dc374(0x37d)](_0x142bc9);}));}[_0x549351(0x1fa)](_0x431a59){this['_userManagerService']['setCurrentUser'](_0x431a59);}['getCurrentUser'](){var _0x3f2387=_0x549351;return this[_0x3f2387(0x393)][_0x3f2387(0x2cd)]();}[_0x549351(0x232)](_0x5d7a01,_0x5318ad){var _0x270448=_0x549351;let _0x5bfe28=this[_0x270448(0x253)][_0x270448(0x37d)](_0x5d7a01);_0x5bfe28||(_0x5bfe28=new _0x2c1c25(),this['_roomMembers'][_0x270448(0x4a7)](_0x5d7a01,_0x5bfe28),this[_0x270448(0x47a)][_0x270448(0x466)](_0x5d7a01)),_0x5bfe28[_0x270448(0x232)](_0x5318ad);}[_0x549351(0x333)](_0x1f09d3,_0x751277){var _0x188c33=_0x549351;const _0x4d0a7f=this[_0x188c33(0x253)][_0x188c33(0x37d)](_0x1f09d3);_0x4d0a7f&&_0x4d0a7f['removeMember'](_0x751277);}[_0x549351(0x3e1)](_0x57f6ad){var _0x3184f8=_0x549351;return this['_roomMembers'][_0x3184f8(0x37d)](_0x57f6ad);}[_0x549351(0x27e)](_0x3f41d2,_0x74c054){var _0x58e259=_0x549351;const _0x371b67=this['_roomMembers'][_0x58e259(0x37d)](_0x3f41d2);if(_0x371b67)return _0x371b67[_0x58e259(0x27e)](_0x74c054);}['_removeRoom'](_0x584dd5){var _0x127180=_0x549351;const _0x470eae=this[_0x127180(0x253)][_0x127180(0x37d)](_0x584dd5);_0x470eae&&(_0x470eae[_0x127180(0x3b5)](),this[_0x127180(0x253)][_0x127180(0x1e3)](_0x584dd5));}[_0x549351(0x3b5)](){var _0x5bdf1a=_0x549351;this[_0x5bdf1a(0x253)]['forEach'](_0xfd8e4=>_0xfd8e4[_0x5bdf1a(0x3b5)]()),this[_0x5bdf1a(0x253)][_0x5bdf1a(0x237)](),this[_0x5bdf1a(0x47a)]['complete']();}},_0x1ac966[_0x549351(0x185)]=_0x3a8a50([_0x2ae131(0x0,_0x1580f8[_0x549351(0x3ce)]),_0x2ae131(0x1,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x40a)]))],_0x1ac966[_0x549351(0x185)]);class _0x2c1c25 extends _0x1580f8[_0x549351(0x208)]{constructor(){var _0x9d9bc2=_0x549351;super(...arguments),_0x1ad8fe(this,_0x9d9bc2(0x4b3),new Map()),_0x1ad8fe(this,_0x9d9bc2(0x465),new _0xdf3790[(_0x9d9bc2(0x37c))](this[_0x9d9bc2(0x4b3)])),_0x1ad8fe(this,_0x9d9bc2(0x2ed),this[_0x9d9bc2(0x465)][_0x9d9bc2(0x1f5)]());}[_0x549351(0x3b5)](){var _0x501d99=_0x549351;this[_0x501d99(0x4b3)][_0x501d99(0x237)]();}[_0x549351(0x232)](_0x883114){var _0x57b1f9=_0x549351;this[_0x57b1f9(0x4b3)][_0x57b1f9(0x4a7)](_0x883114[_0x57b1f9(0x2b2)],_0x883114),this['_emitMembers']();}[_0x549351(0x333)](_0xccc475){var _0x3056ff=_0x549351;this['_members'][_0x3056ff(0x1e3)](_0xccc475);}[_0x549351(0x27e)](_0x3b6ab9){var _0x4fe86e=_0x549351;return this['_members'][_0x4fe86e(0x37d)](_0x3b6ab9);}[_0x549351(0x3d6)](){var _0x101b2a=_0x549351;return Array[_0x101b2a(0x14f)](this['_members']['values']());}['_emitMembers'](){var _0x5f0252=_0x549351;this[_0x5f0252(0x465)]['next'](this[_0x5f0252(0x4b3)]);}}var _0x3721b=Object['getOwnPropertyDescriptor'],_0x125fa0=(_0x4e5519,_0x505247,_0x1a4056,_0xee84ca)=>{var _0x2577e8=_0x549351;for(var _0x4bf311=_0xee84ca>0x1?void 0x0:_0xee84ca?_0x3721b(_0x505247,_0x1a4056):_0x505247,_0x2a6657=_0x4e5519[_0x2577e8(0x3ea)]-0x1,_0x257cf4;_0x2a6657>=0x0;_0x2a6657--)(_0x257cf4=_0x4e5519[_0x2a6657])&&(_0x4bf311=_0x257cf4(_0x4bf311)||_0x4bf311);return _0x4bf311;},_0xc38ddc=(_0x502243,_0x550f20)=>(_0x11516c,_0x570143)=>_0x550f20(_0x11516c,_0x570143,_0x502243),_0x5ad294=(_0xef58b=>(_0xef58b[_0xef58b[_0x549351(0x1ed)]=0x0]=_0x549351(0x1ed),_0xef58b[_0xef58b[_0x549351(0x228)]=0x1]=_0x549351(0x228),_0xef58b[_0xef58b[_0x549351(0x367)]=0x2]=_0x549351(0x367),_0xef58b[_0xef58b['ONLINE']=0x3]=_0x549351(0x1da),_0xef58b))(_0x5ad294||{});const _0x273adf={[_0x39adf9[_0x549351(0x49f)]]:_0x549351(0x44c),[_0x39adf9[_0x549351(0x43c)]]:_0x549351(0x471),[_0x39adf9['JOIN_ROOM_NOT_EXISTS']]:_0x549351(0x2c0),[_0x39adf9[_0x549351(0x2ae)]]:_0x549351(0x2a2),[_0x39adf9[_0x549351(0x3bf)]]:_0x549351(0x45a)};_0x1ac966[_0x549351(0x14c)]=class extends _0x1580f8[_0x549351(0x2ef)]{constructor(_0x531339,_0x1e9869,_0x5a7532,_0x1208ed,_0x51e533,_0x42d504,_0x2d6b56,_0x5b8c34,_0x460707){var _0x847d80=_0x549351;super(),_0x1ad8fe(this,'_sessionStatus$',new _0xdf3790[(_0x847d80(0x37c))](0x0)),_0x1ad8fe(this,_0x847d80(0x30e),this['_sessionStatus$'][_0x847d80(0x1f5)]()),_0x1ad8fe(this,_0x847d80(0x16c),new _0xdf3790[(_0x847d80(0x32d))]()),_0x1ad8fe(this,_0x847d80(0x32f),this[_0x847d80(0x16c)]['asObservable']()),_0x1ad8fe(this,_0x847d80(0x17a)),_0x1ad8fe(this,_0x847d80(0x37a)),_0x1ad8fe(this,_0x847d80(0x2ad)),_0x1ad8fe(this,_0x847d80(0x267),!0x1),_0x1ad8fe(this,_0x847d80(0x316),null),(this['_unitID']=_0x531339,this['_logService']=_0x5a7532,this[_0x847d80(0x475)]=_0x1208ed,this[_0x847d80(0x2eb)]=_0x51e533,this[_0x847d80(0x4b8)]=_0x42d504,this['_commentService']=_0x2d6b56,this['_collaborationUIEventService']=_0x5b8c34,this['_telemetryService']=_0x460707,this[_0x847d80(0x267)]=!!this['_telemetryService'],_0x1e9869['pipe'](_0xdf3790['takeUntil'](this[_0x847d80(0x2e3)]))['subscribe'](_0x574f17=>{var _0xd89b20=_0x847d80,_0x25bddd;typeof _0x574f17>'u'||(this[_0xd89b20(0x17a)]=_0x574f17,_0x574f17?(this['_joinRoom'](_0x574f17),this[_0xd89b20(0x37a)]=_0x574f17[_0xd89b20(0x473)]['subscribe'](_0x4d2c61=>{var _0x573a6c=_0xd89b20;_0x4d2c61['routeKey']===this[_0x573a6c(0x4a8)]&&this['_onCombEvent'](_0x4d2c61);})):(this[_0xd89b20(0x3de)](),this[_0xd89b20(0x400)][_0xd89b20(0x466)](0x2),(_0x25bddd=this[_0xd89b20(0x37a)])==null||_0x25bddd[_0xd89b20(0x437)](),this[_0xd89b20(0x37a)]=null));}));}get[_0x549351(0x2c8)](){var _0x4e7f29=_0x549351;return this[_0x4e7f29(0x400)][_0x4e7f29(0x3a8)]();}[_0x549351(0x3d8)](){var _0x538951=_0x549351,_0x5492d6,_0x1f26a5;return(_0x1f26a5=(_0x5492d6=this[_0x538951(0x17a)])==null?void 0x0:_0x5492d6['memberID'])!=null?_0x1f26a5:null;}['dispose'](){var _0x167857=_0x549351;super[_0x167857(0x3b5)](),this[_0x167857(0x2e3)]['next'](),this[_0x167857(0x2e3)][_0x167857(0x288)]();}[_0x549351(0x2fb)](){var _0x58b1ce=_0x549351,_0x62d026,_0x40cc71;this[_0x58b1ce(0x3de)](),(_0x62d026=this[_0x58b1ce(0x17a)])==null||_0x62d026[_0x58b1ce(0x4b9)]({'cmd':_0x360e3f['LEAVE'],'data':{'roomID':this[_0x58b1ce(0x4a8)]}}),(_0x40cc71=this[_0x58b1ce(0x17a)])==null||_0x40cc71['close'](),this[_0x58b1ce(0x16c)][_0x58b1ce(0x288)](),this[_0x58b1ce(0x400)][_0x58b1ce(0x288)](),this[_0x58b1ce(0x3b5)]();}[_0x549351(0x45d)](_0x12808e){var _0x29aa55=_0x549351;_0x12808e[_0x29aa55(0x327)]===_0x360e3f[_0x29aa55(0x2d1)]?this[_0x29aa55(0x29d)](_0x12808e):_0x12808e[_0x29aa55(0x327)]===_0x360e3f[_0x29aa55(0x413)]&&this[_0x29aa55(0x307)](_0x12808e);}['_joinRoom'](_0x9ca249){var _0x334903=_0x549351;this['_sessionStatus$']['next'](0x1),_0x9ca249['send']({'cmd':_0x360e3f['JOIN'],'routeKey':this[_0x334903(0x4a8)],'routeType':'','data':{'rooms':[{'roomID':this[_0x334903(0x4a8)]}]}});}['_onJoinRoomEvent'](_0x4c47b1){var _0x1bed43=_0x549351,_0x10cd10;if(_0x4c47b1['code']in _0x273adf){this[_0x1bed43(0x274)][_0x1bed43(0x390)]({'id':_0x2bf599['JOIN_ROOM_FAILED'],'data':_0x273adf[_0x4c47b1['code']]}),this[_0x1bed43(0x400)][_0x1bed43(0x466)](0x2);return;}this[_0x1bed43(0x400)][_0x1bed43(0x466)](0x3);const _0x2c1ebe=(_0x10cd10=_0x4c47b1[_0x1bed43(0x310)][_0x1bed43(0x397)][this[_0x1bed43(0x4a8)]])==null?void 0x0:_0x10cd10[_0x1bed43(0x419)];_0x2c1ebe&&_0x2c1ebe[_0x1bed43(0x2b0)](_0x5134b1=>this[_0x1bed43(0x4b8)][_0x1bed43(0x232)](this[_0x1bed43(0x4a8)],_0x5134b1));}[_0x549351(0x307)](_0x5d2b13){var _0x2b731c=_0x549351;try{const _0x128a85=_0x5d2b13['data'];switch(_0x128a85['eventID']){case _0x1273bf[_0x2b731c(0x271)][_0x2b731c(0x195)]:this[_0x2b731c(0x290)](_0x128a85),this[_0x2b731c(0x16c)][_0x2b731c(0x466)](_0x128a85);break;case _0x1273bf[_0x2b731c(0x271)][_0x2b731c(0x1ba)]:this[_0x2b731c(0x29b)](_0x128a85),this[_0x2b731c(0x16c)]['next'](_0x128a85);break;case _0x1273bf[_0x2b731c(0x271)][_0x2b731c(0x1d9)]:case _0x1273bf[_0x2b731c(0x271)][_0x2b731c(0x19e)]:this[_0x2b731c(0x3f1)](),this[_0x2b731c(0x49e)](),this[_0x2b731c(0x16c)][_0x2b731c(0x466)](_0x128a85);break;case _0x1273bf[_0x2b731c(0x271)][_0x2b731c(0x3c6)]:this[_0x2b731c(0x211)]['error'](_0x2b731c(0x4c3)+JSON['stringify'](_0x128a85)),this[_0x2b731c(0x16c)][_0x2b731c(0x466)](_0x128a85);break;case _0x1273bf['CollaborationEvent'][_0x2b731c(0x276)]:this[_0x2b731c(0x300)]['onCommentUpdate'](_0x128a85[_0x2b731c(0x310)]),this[_0x2b731c(0x16c)][_0x2b731c(0x466)](_0x128a85);break;default:this[_0x2b731c(0x16c)][_0x2b731c(0x466)](_0x128a85);}}catch(_0xb22790){this[_0x2b731c(0x211)][_0x2b731c(0x4aa)](_0xb22790,_0x5d2b13);}}[_0x549351(0x290)](_0x3a203e){var _0x44121d=_0x549351;this[_0x44121d(0x4b8)][_0x44121d(0x232)](this['_unitID'],_0x3a203e[_0x44121d(0x310)]);}[_0x549351(0x29b)](_0x450be8){var _0x429f3b=_0x549351;this['_memberService'][_0x429f3b(0x333)](this[_0x429f3b(0x4a8)],_0x450be8['data'][_0x429f3b(0x2b2)]);}async[_0x549351(0x4b9)](_0x2705fd,_0x2f2dfd){var _0x5f343e=_0x549351;if(this[_0x5f343e(0x2c8)]!==0x3||!this[_0x5f343e(0x17a)])throw new Error(_0x5f343e(0x476));try{_0x2705fd[_0x5f343e(0x2e5)]===_0x1273bf[_0x5f343e(0x271)][_0x5f343e(0x454)]&&(this[_0x5f343e(0x445)](),this[_0x5f343e(0x314)](_0x2705fd)),this[_0x5f343e(0x17a)][_0x5f343e(0x4b9)]({'cmd':_0x360e3f[_0x5f343e(0x480)],'routeKey':_0x2f2dfd,'routeType':'','data':_0x2705fd});}catch(_0x3bc20d){this[_0x5f343e(0x211)][_0x5f343e(0x4aa)](_0x3bc20d);}}[_0x549351(0x445)](){var _0x476a45=_0x549351,_0x36ef4a;this[_0x476a45(0x2ad)]=setTimeout(()=>{var _0x450ef9=_0x476a45;this[_0x450ef9(0x2ad)]=null,this[_0x450ef9(0x274)][_0x450ef9(0x390)]({'id':_0x2bf599[_0x450ef9(0x427)]});},(_0x36ef4a=this[_0x476a45(0x475)][_0x476a45(0x1ca)](_0x5901c0))!=null?_0x36ef4a:0x4e20);}[_0x549351(0x49e)](){var _0x3f06ea=_0x549351;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x3f06ea(0x2ad)]),this[_0x3f06ea(0x2ad)]=null);}[_0x549351(0x314)](_0x2150f1){var _0x1b586d=_0x549351;if(!this['_shouldReportTelemetry'])return;const {data:_0x201fa4}=_0x2150f1,{unitID:_0x3a7ad8,changeset:_0x559dd0}=_0x201fa4,{mutations:_0x4d6d18,type:_0x2d027c}=_0x559dd0;this[_0x1b586d(0x316)]={'unitId':_0x3a7ad8,'type':_0x2d027c,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x586440(_0x4d6d18)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x4bceef=_0x549351;if(this[_0x4bceef(0x267)]){if(!this[_0x4bceef(0x316)]){this[_0x4bceef(0x211)][_0x4bceef(0x4aa)](_0x4bceef(0x1c4),_0x4bceef(0x346));return;}this[_0x4bceef(0x316)][_0x4bceef(0x415)]=performance[_0x4bceef(0x30d)](),this[_0x4bceef(0x316)][_0x4bceef(0x2da)]=this[_0x4bceef(0x316)][_0x4bceef(0x415)]-this['_telemetryInfo'][_0x4bceef(0x382)],this[_0x4bceef(0x26d)][_0x4bceef(0x389)](_0x171cff,this[_0x4bceef(0x316)]),this[_0x4bceef(0x316)]=null;}}[_0x549351(0x3de)](){var _0x2440ad=_0x549351;this[_0x2440ad(0x316)]=null;}},_0x1ac966['CollaborationSession']=_0x125fa0([_0xc38ddc(0x2,_0x1580f8[_0x549351(0x3aa)]),_0xc38ddc(0x3,_0x1580f8[_0x549351(0x424)]),_0xc38ddc(0x4,_0x1580f8['Inject'](_0x1580f8[_0x549351(0x3eb)])),_0xc38ddc(0x5,_0x1580f8[_0x549351(0x2d9)](_0x1ac966[_0x549351(0x185)])),_0xc38ddc(0x6,_0x1580f8[_0x549351(0x2d9)](_0x5e520d)),_0xc38ddc(0x7,_0x1580f8[_0x549351(0x2d9)](_0x1667ed)),_0xc38ddc(0x8,_0x1580f8[_0x549351(0x24c)](_0x26f35f['ITelemetryService']))],_0x1ac966['CollaborationSession']);var _0x22c545=Object[_0x549351(0x3ff)],_0x4a3bbd=(_0x4dffdc,_0x7f7092,_0x5cc84b,_0x5eb6d3)=>{var _0x16a93c=_0x549351;for(var _0x318d84=_0x5eb6d3>0x1?void 0x0:_0x5eb6d3?_0x22c545(_0x7f7092,_0x5cc84b):_0x7f7092,_0x15f27d=_0x4dffdc[_0x16a93c(0x3ea)]-0x1,_0x511155;_0x15f27d>=0x0;_0x15f27d--)(_0x511155=_0x4dffdc[_0x15f27d])&&(_0x318d84=_0x511155(_0x318d84)||_0x318d84);return _0x318d84;},_0xf31199=(_0x1e7a57,_0x49cdad)=>(_0x46cfb0,_0x4312dc)=>_0x49cdad(_0x46cfb0,_0x4312dc,_0x1e7a57);_0x1ac966[_0x549351(0x1d8)]=class extends _0x1580f8[_0x549351(0x208)]{constructor(_0x1da520,_0x59bd2c,_0x2d7278,_0x414779,_0x2ab199,_0x5912f0){var _0x34f082=_0x549351;super(),_0x1ad8fe(this,_0x34f082(0x472),new _0xdf3790[(_0x34f082(0x37c))](void 0x0)),_0x1ad8fe(this,'socket$',this['_socket$']['asObservable']()),_0x1ad8fe(this,_0x34f082(0x303),null),_0x1ad8fe(this,_0x34f082(0x1ae),new Map()),_0x1ad8fe(this,_0x34f082(0x383),new _0xdf3790[(_0x34f082(0x37c))](_0x5ad294[_0x34f082(0x1ed)])),_0x1ad8fe(this,'status$',this[_0x34f082(0x383)][_0x34f082(0x1f5)]()),_0x1ad8fe(this,'_socketReady',!0x1),_0x1ad8fe(this,'_retryConnectingTimer'),_0x1ad8fe(this,_0x34f082(0x3a9),0x0),_0x1ad8fe(this,_0x34f082(0x36b)),_0x1ad8fe(this,_0x34f082(0x345)),(this[_0x34f082(0x2c4)]=_0x1da520,this[_0x34f082(0x211)]=_0x59bd2c,this['_configService']=_0x2d7278,this[_0x34f082(0x29c)]=_0x414779,this[_0x34f082(0x274)]=_0x2ab199,this[_0x34f082(0x3d7)]=_0x5912f0,this[_0x34f082(0x2d0)]());}get[_0x549351(0x17a)](){var _0x6b6a0c=_0x549351;return this[_0x6b6a0c(0x472)]['getValue']();}[_0x549351(0x2d0)](){var _0x26bace=_0x549351;this[_0x26bace(0x3d7)]&&this['disposeWithMe'](this['_networkConditionService'][_0x26bace(0x1a9)]['subscribe'](_0x3977e5=>{var _0x4e9310=_0x26bace;_0x3977e5&&!this[_0x4e9310(0x17a)]&&this[_0x4e9310(0x265)](),_0x3977e5||this[_0x4e9310(0x19c)]();}));}[_0x549351(0x3b5)](){var _0x4ff4fb=_0x549351;super['dispose'](),this[_0x4ff4fb(0x151)](),this['_clearTimeoutTimer'](),this[_0x4ff4fb(0x2a3)](),this['_sessions']['forEach'](_0x3a44e1=>_0x3a44e1[_0x4ff4fb(0x3b5)]()),this[_0x4ff4fb(0x1ae)][_0x4ff4fb(0x237)](),this[_0x4ff4fb(0x383)][_0x4ff4fb(0x288)]();}async[_0x549351(0x341)](_0xb35716){var _0x2c97f0=_0x549351;if(this[_0x2c97f0(0x1ae)]['has'](_0xb35716))return this['_sessions'][_0x2c97f0(0x37d)](_0xb35716);this[_0x2c97f0(0x16e)]();const _0x4bb8b2=this['_injector'][_0x2c97f0(0x27c)](_0x1ac966[_0x2c97f0(0x14c)],_0xb35716,this[_0x2c97f0(0x472)][_0x2c97f0(0x1f5)]());return this[_0x2c97f0(0x1ae)]['set'](_0xb35716,_0x4bb8b2),_0x4bb8b2;}[_0x549351(0x402)](_0x3fe180){var _0x339dc2=_0x549351,_0x3a700c;const _0x7cef27=this[_0x339dc2(0x1ae)][_0x339dc2(0x37d)](_0x3fe180);_0x7cef27&&(this[_0x339dc2(0x1ae)]['delete'](_0x3fe180),_0x7cef27['close']()),this[_0x339dc2(0x1ae)]['size']||(_0x3a700c=this[_0x339dc2(0x17a)])==null||_0x3a700c[_0x339dc2(0x2fb)]();}['reconnect'](){var _0x559a03=_0x549351;this['_retryCount']=0x0,this[_0x559a03(0x151)](),this[_0x559a03(0x43f)]();}[_0x549351(0x151)](){var _0x2df03f=_0x549351;this[_0x2df03f(0x30f)]!=null&&(clearTimeout(this[_0x2df03f(0x30f)]),this[_0x2df03f(0x30f)]=null);}async[_0x549351(0x2f5)](){var _0x53d2c4=_0x549351,_0x4c0104,_0x38cb96;const _0x421338=this['_configService'][_0x53d2c4(0x1ca)](_0x50a17e),_0x353fb4=this[_0x53d2c4(0x475)][_0x53d2c4(0x1ca)](_0x1db2ed),_0x411d45=(_0x38cb96=(_0x4c0104=_0x353fb4==null?void 0x0:_0x353fb4[_0x53d2c4(0x430)])!=null?_0x4c0104:_0x421338)!=null?_0x38cb96:_0x2225bd,_0x26a59f=await this['_socketService'][_0x53d2c4(0x3ba)](_0x411d45);return this['_candidateSocket']=_0x26a59f,_0x26a59f;}async[_0x549351(0x16e)](){var _0x8cc443=_0x549351,_0x2e8eb0,_0x5d8d5c;try{const _0x353f0f=(_0x5d8d5c=(_0x2e8eb0=this[_0x8cc443(0x17a)])!=null?_0x2e8eb0:this[_0x8cc443(0x303)])!=null?_0x5d8d5c:await this['_createSocket']();if(_0x353f0f){const _0x219f5e=_0x353f0f[_0x8cc443(0x4b9)];_0x353f0f['send']=_0x393d8c=>(this[_0x8cc443(0x31b)](),_0x219f5e[_0x8cc443(0x1e1)](_0x353f0f,[_0x393d8c])),_0x353f0f[_0x8cc443(0x473)]['subscribe'](_0x1c9d0a=>this[_0x8cc443(0x20b)](_0x353f0f,_0x1c9d0a)),_0x353f0f[_0x8cc443(0x2a1)][_0x8cc443(0x48a)](_0x2f0ffe[_0x8cc443(0x330)](0x1))['subscribe'](_0x300fd6=>this[_0x8cc443(0x211)][_0x8cc443(0x4aa)](_0x8cc443(0x1dc),_0x300fd6)),_0x353f0f[_0x8cc443(0x3e8)]['pipe'](_0x2f0ffe[_0x8cc443(0x330)](0x1))[_0x8cc443(0x4ab)](()=>{var _0x5f2037=_0x8cc443;this[_0x5f2037(0x209)](_0x353f0f);}),_0x353f0f[_0x8cc443(0x458)][_0x8cc443(0x48a)](_0x2f0ffe[_0x8cc443(0x330)](0x1))['subscribe'](_0x8102a4=>{var _0x4c2185=_0x8cc443;this[_0x4c2185(0x211)]['debug']('[CollaborationSessionService]',_0x4c2185(0x43e),_0x8102a4),this['_onConnectionFailed']();});}}catch(_0x5b2986){this[_0x8cc443(0x211)][_0x8cc443(0x4aa)](_0x5b2986),this[_0x8cc443(0x410)]();}}['_onConnectionOpen'](_0x200541){var _0x3c811f=_0x549351;this[_0x3c811f(0x211)][_0x3c811f(0x164)](_0x3c811f(0x20e),'socket\x20open.'),_0x200541['send']({'cmd':_0x360e3f['HELLO']}),this[_0x3c811f(0x31b)]();}[_0x549351(0x19c)](){var _0x4cd48d=_0x549351;this[_0x4cd48d(0x1f0)]=!0x1,this[_0x4cd48d(0x303)]=null,this[_0x4cd48d(0x383)]['next'](_0x5ad294[_0x4cd48d(0x367)]),this['_socket$'][_0x4cd48d(0x466)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x549351(0x410)](){var _0x28a798=_0x549351,_0x4ece03;this[_0x28a798(0x19c)](),this[_0x28a798(0x3a9)]<((_0x4ece03=this['_configService'][_0x28a798(0x1ca)](_0x86df65))!=null?_0x4ece03:0x3)?(this[_0x28a798(0x274)][_0x28a798(0x390)]({'id':_0x2bf599['SOCKET_FAILED_RETRY']}),this[_0x28a798(0x43f)]()):this['_collaborationUIEventService'][_0x28a798(0x390)]({'id':_0x2bf599['SOCKET_FAILED']});}[_0x549351(0x43f)](){var _0x5a0cd8=_0x549351,_0x3c04b4;const _0x5e7f26=this[_0x5a0cd8(0x3a9)],_0x56c2a8=this[_0x5a0cd8(0x475)][_0x5a0cd8(0x1ca)](_0x1db2ed),_0x3a67d0=_0x5e7f26===0x0?0x0:((_0x3c04b4=_0x56c2a8==null?void 0x0:_0x56c2a8[_0x5a0cd8(0x284)])!=null?_0x3c04b4:0x4e20)*0x2**_0x5e7f26;this[_0x5a0cd8(0x30f)]=setTimeout(()=>{var _0x520cdd=_0x5a0cd8;clearTimeout(this[_0x520cdd(0x30f)]),this[_0x520cdd(0x30f)]=null,this[_0x520cdd(0x16e)]();},_0x3a67d0),this['_retryCount']+=0x1;}[_0x549351(0x20b)](_0x1db073,_0xff9ff5){var _0x35b53f=_0x549351;const {cmd:_0x2c76fa}=_0xff9ff5;_0x2c76fa===_0x360e3f['HELLO']&&!this[_0x35b53f(0x1f0)]&&(_0x1db073[_0x35b53f(0x2b2)]=_0xff9ff5[_0x35b53f(0x310)][_0x35b53f(0x2b2)],this[_0x35b53f(0x472)]['next'](_0x1db073),this['_status$'][_0x35b53f(0x466)](_0x5ad294[_0x35b53f(0x1da)]),this[_0x35b53f(0x1f0)]=!0x0,this[_0x35b53f(0x303)]=null),_0x2c76fa===_0x360e3f[_0x35b53f(0x220)]&&this['_clearTimeoutTimer'](),this[_0x35b53f(0x31b)]();}['_rescheduleHeartbeat'](){var _0x1d6bd1=_0x549351,_0x3db812;this[_0x1d6bd1(0x2a3)](),this[_0x1d6bd1(0x36b)]=setTimeout(()=>this[_0x1d6bd1(0x4c4)](),(_0x3db812=this['_configService'][_0x1d6bd1(0x1ca)](_0x134ec5))!=null?_0x3db812:0x7530);}[_0x549351(0x4c4)](){var _0x42ab9b=_0x549351;this['_socket'][_0x42ab9b(0x4b9)]({'cmd':_0x360e3f[_0x42ab9b(0x220)]}),this[_0x42ab9b(0x193)]();}[_0x549351(0x193)](){var _0x37d501=_0x549351,_0x2961f9;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x2961f9=this[_0x37d501(0x475)][_0x37d501(0x1ca)](_0x5901c0))!=null?_0x2961f9:0x4e20);}['_clearHeartbeatTimer'](){var _0x27d13b=_0x549351;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x27d13b(0x36b)]=null);}['_clearTimeoutTimer'](){var _0x5bfa9f=_0x549351;this[_0x5bfa9f(0x345)]!=null&&(clearTimeout(this[_0x5bfa9f(0x345)]),this[_0x5bfa9f(0x345)]=null);}},_0x1ac966[_0x549351(0x1d8)]=_0x4a3bbd([_0xf31199(0x0,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0xf31199(0x1,_0x1580f8[_0x549351(0x3aa)]),_0xf31199(0x2,_0x1580f8['IConfigService']),_0xf31199(0x3,_0x205f9c),_0xf31199(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1667ed)),_0xf31199(0x5,_0x1580f8['Optional'](_0x1587bd))],_0x1ac966[_0x549351(0x1d8)]);const _0x24d385=[];for(let _0x394cab=0x0;_0x394cab<0x100;++_0x394cab)_0x24d385[_0x549351(0x2c6)]((_0x394cab+0x100)[_0x549351(0x27a)](0x10)[_0x549351(0x1af)](0x1));function _0x281440(_0x5f1d5b,_0x8ba694=0x0){var _0x3c41a9=_0x549351;return(_0x24d385[_0x5f1d5b[_0x8ba694+0x0]]+_0x24d385[_0x5f1d5b[_0x8ba694+0x1]]+_0x24d385[_0x5f1d5b[_0x8ba694+0x2]]+_0x24d385[_0x5f1d5b[_0x8ba694+0x3]]+'-'+_0x24d385[_0x5f1d5b[_0x8ba694+0x4]]+_0x24d385[_0x5f1d5b[_0x8ba694+0x5]]+'-'+_0x24d385[_0x5f1d5b[_0x8ba694+0x6]]+_0x24d385[_0x5f1d5b[_0x8ba694+0x7]]+'-'+_0x24d385[_0x5f1d5b[_0x8ba694+0x8]]+_0x24d385[_0x5f1d5b[_0x8ba694+0x9]]+'-'+_0x24d385[_0x5f1d5b[_0x8ba694+0xa]]+_0x24d385[_0x5f1d5b[_0x8ba694+0xb]]+_0x24d385[_0x5f1d5b[_0x8ba694+0xc]]+_0x24d385[_0x5f1d5b[_0x8ba694+0xd]]+_0x24d385[_0x5f1d5b[_0x8ba694+0xe]]+_0x24d385[_0x5f1d5b[_0x8ba694+0xf]])[_0x3c41a9(0x484)]();}let _0x24d2c3;const _0x2765cd=new Uint8Array(0x10);function _0x2e2f5a(){var _0x48ea06=_0x549351;if(!_0x24d2c3){if(typeof crypto>'u'||!crypto[_0x48ea06(0x33a)])throw new Error(_0x48ea06(0x26a));_0x24d2c3=crypto[_0x48ea06(0x33a)][_0x48ea06(0x48b)](crypto);}return _0x24d2c3(_0x2765cd);}const _0x561ca4={'randomUUID':typeof crypto<'u'&&crypto[_0x549351(0x4a6)]&&crypto[_0x549351(0x4a6)]['bind'](crypto)};function _0x48ac0e(_0x7f95e1,_0x2072a6,_0x52eed1){var _0xb69228=_0x549351,_0x40c682,_0x2f2caf,_0xbd4654;if(_0x561ca4[_0xb69228(0x4a6)]&&!_0x7f95e1)return _0x561ca4[_0xb69228(0x4a6)]();_0x7f95e1=_0x7f95e1||{};const _0x4f7c80=(_0xbd4654=(_0x2f2caf=_0x7f95e1[_0xb69228(0x368)])!=null?_0x2f2caf:(_0x40c682=_0x7f95e1[_0xb69228(0x2cc)])==null?void 0x0:_0x40c682[_0xb69228(0x49b)](_0x7f95e1))!=null?_0xbd4654:_0x2e2f5a();if(_0x4f7c80[_0xb69228(0x3ea)]<0x10)throw new Error(_0xb69228(0x44e));return _0x4f7c80[0x6]=_0x4f7c80[0x6]&0xf|0x40,_0x4f7c80[0x8]=_0x4f7c80[0x8]&0x3f|0x80,_0x281440(_0x4f7c80);}const _0x2e9c48=_0x1580f8[_0x549351(0x1ad)](_0x549351(0x332));function _0x35b57d(_0x2201e0){var _0x2cf36d=_0x549351;return _0x2cf36d(0x245)+_0x2201e0;}var _0x718f84=Object[_0x549351(0x3ff)],_0x3e9311=(_0x318535,_0x5b2bd7,_0x216eda,_0x18f8c2)=>{var _0x416f62=_0x549351;for(var _0x5e74aa=_0x18f8c2>0x1?void 0x0:_0x18f8c2?_0x718f84(_0x5b2bd7,_0x216eda):_0x5b2bd7,_0x1585c9=_0x318535[_0x416f62(0x3ea)]-0x1,_0x228205;_0x1585c9>=0x0;_0x1585c9--)(_0x228205=_0x318535[_0x1585c9])&&(_0x5e74aa=_0x228205(_0x5e74aa)||_0x5e74aa);return _0x5e74aa;},_0x110121=(_0x52480d,_0x34b50c)=>(_0x52e44b,_0x925378)=>_0x34b50c(_0x52e44b,_0x925378,_0x52480d);function _0x1f487f(_0x4b506b){var _0x5a6b56=_0x549351;const {unitID:_0x442647,mutations:_0x100417}=_0x4b506b;return{'unitId':_0x442647,'subUnitId':_0x100417[0x0][_0x5a6b56(0x21f)][_0x5a6b56(0x22b)]};}_0x1ac966[_0x549351(0x249)]=class{constructor(_0x120094,_0x375e1c,_0x1c2c54){var _0x574655=_0x549351;this[_0x574655(0x2c4)]=_0x120094,this[_0x574655(0x34b)]=_0x375e1c,this[_0x574655(0x1bc)]=_0x1c2c54;}[_0x549351(0x426)](_0x42cf57){var _0x1b2c22=_0x549351,_0x58d0d0,_0x9de96e,_0x20fdee,_0x1f6c09;const _0x3bf8cf=this[_0x1b2c22(0x2c4)]['get'](_0x3a5b47[_0x1b2c22(0x4ad)]),{unitId:_0x15e3d0,subUnitId:_0x50901c}=_0x1f487f(_0x42cf57),_0x2e0ff2=_0x3bf8cf==null?void 0x0:_0x3bf8cf[_0x1b2c22(0x497)](_0x15e3d0)[_0x1b2c22(0x14d)](),_0x13cf48=(_0x9de96e=(_0x58d0d0=this[_0x1b2c22(0x1bc)][_0x1b2c22(0x386)](_0x15e3d0))==null?void 0x0:_0x58d0d0[_0x1b2c22(0x3c3)]())==null?void 0x0:_0x9de96e[_0x1b2c22(0x1fb)]();if(_0x2e0ff2['length']===0x0||!_0x15e3d0||!_0x50901c)return;const _0x164865=[{'id':_0x3a5b47[_0x1b2c22(0x152)]['id'],'params':{'unitId':_0x15e3d0,'subUnitId':_0x13cf48,'selections':_0x1580f8[_0x1b2c22(0x3e2)][_0x1b2c22(0x312)](_0x2e0ff2)}}],_0x27f238=this[_0x1b2c22(0x34b)]['transformMutationsWithChangeset'](_0x42cf57,_0x164865);if(!_0x1273bf[_0x1b2c22(0x399)](_0x27f238))throw _0x27f238['error'];const _0x56ecb5=(_0x1f6c09=(_0x20fdee=_0x27f238[_0x1b2c22(0x3ca)][0x0])==null?void 0x0:_0x20fdee['params'])==null?void 0x0:_0x1f6c09['selections'];if(Array[_0x1b2c22(0x381)](_0x56ecb5)&&_0x56ecb5[_0x1b2c22(0x3ea)]){if(_0x56ecb5[_0x1b2c22(0x3ea)]===_0x164865[0x0][_0x1b2c22(0x21f)][_0x1b2c22(0x34d)][_0x1b2c22(0x3ea)]&&_0x56ecb5[_0x1b2c22(0x17b)]((_0x3ba59a,_0x202f7c)=>_0x1580f8['Rectangle']['equals'](_0x3ba59a[_0x1b2c22(0x3d0)],_0x164865[0x0]['params'][_0x1b2c22(0x34d)][_0x202f7c][_0x1b2c22(0x3d0)])))return;this['_injector'][_0x1b2c22(0x37d)](_0x1580f8[_0x1b2c22(0x306)])['executeCommand'](_0x3a5b47[_0x1b2c22(0x152)]['id'],{'unitId':_0x15e3d0,'subUnitId':_0x13cf48,'selections':_0x56ecb5});}}},_0x1ac966[_0x549351(0x249)]=_0x3e9311([_0x110121(0x0,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x110121(0x1,_0x1273bf[_0x549351(0x2c2)]),_0x110121(0x2,_0x1580f8['IUniverInstanceService'])],_0x1ac966[_0x549351(0x249)]);const _0x431ecc=_0x1580f8[_0x549351(0x1ad)](_0x549351(0x231));var _0x2322d5=(_0x155aca=>(_0x155aca[_0x155aca[_0x549351(0x155)]=0x0]=_0x549351(0x155),_0x155aca[_0x155aca[_0x549351(0x355)]=0x1]=_0x549351(0x355),_0x155aca))(_0x2322d5||{});const _0x1e8fd2=new Set([_0x3a5b47[_0x549351(0x3b3)]['id']]);function _0x21d446(_0x222099,_0x8e6830,_0x5c7f06,_0x4df499,_0x5330b2){var _0x819514=_0x549351,_0x170e19,_0x5e7550,_0x1f02da,_0x217327;const _0xde6321=[];for(const _0x5bcf57 of _0x222099)if(_0x1e8fd2[_0x819514(0x1e2)](_0x5bcf57['id'])){if(_0xde6321[_0x819514(0x3ea)]>0x0)break;_0xde6321[_0x819514(0x2c6)](_0x5bcf57);break;}else _0xde6321[_0x819514(0x2c6)](_0x5bcf57);const _0x1dbbae=(_0x5e7550=(_0x170e19=_0x5330b2[_0x819514(0x2cd)]())==null?void 0x0:_0x170e19[_0x819514(0x247)])!=null?_0x5e7550:_0x819514(0x280),_0xd0ab2e=(_0x217327=(_0x1f02da=_0x5330b2[_0x819514(0x2cd)]())==null?void 0x0:_0x1f02da[_0x819514(0x2b2)])!=null?_0x217327:_0x819514(0x280);return{'changeset':{'unitID':_0x8e6830,'type':_0x1273bf[_0x819514(0x1ef)](_0x5c7f06[_0x819514(0x14a)](_0x8e6830)),'baseRev':_0x4df499['getCurrentRevOfUnit'](_0x8e6830),'revision':0x0,'userID':_0x1dbbae,'memberID':_0xd0ab2e,'mutations':_0xde6321},'pendingMutations':_0x222099[_0x819514(0x1af)](_0xde6321['length'])};}function _0x5e78f1(_0x426f54,_0x2fdc68,_0x4549da,_0x3d19f2,_0x3d6703){var _0x5e763e=_0x549351,_0x45dd9f,_0x19a6ff,_0x422831,_0x13ea6e;const _0x23ff19=[_0x426f54['reduce']((_0x28ba12,_0x14c305)=>{var _0x770863=_0x8cbe,_0x6b60b9;const {id:_0x348dba}=_0x28ba12,{id:_0x460b2f,type:_0x4aa791}=_0x14c305,_0x181cb4=(_0x6b60b9=_0x28ba12['params'])!=null?_0x6b60b9:{'actions':null},_0x18ed34=_0x14c305[_0x770863(0x21f)];if(_0x348dba&&_0x348dba!==_0x460b2f)throw new Error(_0x770863(0x263)+_0x348dba+_0x770863(0x2b6)+_0x460b2f+'.');return{..._0x28ba12,'id':_0x460b2f,'type':_0x4aa791,'params':{'unitId':_0x18ed34['unitId'],'textRanges':_0x18ed34[_0x770863(0x23a)],'actions':_0x1580f8['JSONX'][_0x770863(0x20d)](_0x181cb4[_0x770863(0x2ec)],_0x18ed34[_0x770863(0x2ec)])}};},{})],_0x2413e5=(_0x19a6ff=(_0x45dd9f=_0x3d6703[_0x5e763e(0x2cd)]())==null?void 0x0:_0x45dd9f[_0x5e763e(0x247)])!=null?_0x19a6ff:_0x5e763e(0x280),_0x548002=(_0x13ea6e=(_0x422831=_0x3d6703['getCurrentUser']())==null?void 0x0:_0x422831[_0x5e763e(0x2b2)])!=null?_0x13ea6e:'unknown';return{'changeset':{'unitID':_0x2fdc68,'type':_0x1273bf[_0x5e763e(0x1ef)](_0x4549da[_0x5e763e(0x14a)](_0x2fdc68)),'baseRev':_0x3d19f2[_0x5e763e(0x147)](_0x2fdc68),'revision':0x0,'userID':_0x2413e5,'memberID':_0x548002,'mutations':_0x23ff19},'pendingMutations':[]};}function _0x3cb3fe(_0x17342d,_0xb9ed90){var _0x26a92b=_0x549351;const _0x261c9a=new _0xdf3790[(_0x26a92b(0x305))](0x1);return setTimeout(()=>_0x261c9a[_0x26a92b(0x466)](_0xb9ed90),_0x17342d),_0x261c9a[_0x26a92b(0x1f5)]()[_0x26a92b(0x48a)](_0xdf3790['take'](0x1));}const _0x7a4268={'id':_0x3a5b47[_0x549351(0x3f3)]['id'],'type':_0x1580f8[_0x549351(0x1b6)][_0x549351(0x292)],'params':{}};var _0x4551ad=Object[_0x549351(0x3ff)],_0xb1c5d5=(_0x3c22d0,_0x2878c7,_0x55fe02,_0x5f0f43)=>{var _0x481a6b=_0x549351;for(var _0xe38de5=_0x5f0f43>0x1?void 0x0:_0x5f0f43?_0x4551ad(_0x2878c7,_0x55fe02):_0x2878c7,_0x39a1cd=_0x3c22d0[_0x481a6b(0x3ea)]-0x1,_0x28d1f6;_0x39a1cd>=0x0;_0x39a1cd--)(_0x28d1f6=_0x3c22d0[_0x39a1cd])&&(_0xe38de5=_0x28d1f6(_0xe38de5)||_0xe38de5);return _0xe38de5;},_0x5c2fc5=(_0xb4a47,_0x2a5fe6)=>(_0x482214,_0x5ffd87)=>_0x2a5fe6(_0x482214,_0x5ffd87,_0xb4a47),_0x3ebfe3=(_0x26695e=>(_0x26695e[_0x549351(0x157)]='not_collab',_0x26695e[_0x549351(0x43b)]=_0x549351(0x1f2),_0x26695e[_0x549351(0x1a7)]='pending',_0x26695e[_0x549351(0x1aa)]=_0x549351(0x42a),_0x26695e[_0x549351(0x414)]='awaiting_with_pending',_0x26695e[_0x549351(0x2ca)]='fetch_missing',_0x26695e[_0x549351(0x46e)]=_0x549351(0x363),_0x26695e[_0x549351(0x367)]='offline',_0x26695e))(_0x3ebfe3||{});const _0x160276=0xea60;class _0x28f8a6{constructor(_0x42e963,_0x36d1c2,_0x235c14,_0x40c88a,_0x29c456,_0x260720,_0x17e75e,_0x2e6a1a,_0x49f0a5){var _0xd858af=_0x549351;_0x1ad8fe(this,'_awaitingChangeset',null),_0x1ad8fe(this,'_pendingMutations',[]),(this[_0xd858af(0x181)]=_0x42e963,this[_0xd858af(0x1ce)]=_0x36d1c2,this['_handler']=_0x29c456,this[_0xd858af(0x250)]=_0x260720,this[_0xd858af(0x2d7)]=_0x17e75e,this[_0xd858af(0x20f)]=_0x2e6a1a,this[_0xd858af(0x21b)]=_0x49f0a5,this[_0xd858af(0x360)]=_0x235c14,this[_0xd858af(0x252)]=_0x40c88a);}['_checkMissing'](_0x48ec3f){var _0x4cc1ff=_0x549351;const _0x5bf7ac=this[_0x4cc1ff(0x20f)][_0x4cc1ff(0x147)](this[_0x4cc1ff(0x181)]);return _0x48ec3f['revision']>_0x5bf7ac+0x1?(this['_handler']['onMissingChangesets']({'from':_0x5bf7ac,'to':_0x48ec3f[_0x4cc1ff(0x489)]-0x1}),!0x0):!0x1;}[_0x549351(0x1b2)](_0x85d602){var _0x1aca60=_0x549351;this[_0x1aca60(0x2d7)]['transformUndoRedo'](this[_0x1aca60(0x181)],_0x85d602);}[_0x549351(0x2d3)](_0x43e86f){var _0x5699a8=_0x549351,_0x482154,_0x46087a;(_0x46087a=(_0x482154=this[_0x5699a8(0x244)])['onTransformSelections'])==null||_0x46087a['call'](_0x482154,_0x43e86f);}[_0x549351(0x3df)](_0xcbeb45){var _0x18d452=_0x549351,_0x2185bb,_0x55b889;return(_0x55b889=(_0x2185bb=this[_0x18d452(0x244)])[_0x18d452(0x234)])==null?void 0x0:_0x55b889[_0x18d452(0x49b)](_0x2185bb,_0xcbeb45);}['_transformStateCache'](_0x891a6d){var _0x447597=_0x549351,_0x37d9c8,_0x2d1771;return(_0x2d1771=(_0x37d9c8=this[_0x447597(0x244)])['onTransformState'])==null?void 0x0:_0x2d1771['call'](_0x37d9c8,_0x891a6d);}['_transformRemoteChangesetByIMECache'](_0x3d1856){var _0x23f816=_0x549351,_0x5acf87,_0x2f6efe,_0x436095;return(_0x436095=(_0x2f6efe=(_0x5acf87=this[_0x23f816(0x244)])[_0x23f816(0x41d)])==null?void 0x0:_0x2f6efe[_0x23f816(0x49b)](_0x5acf87,_0x3d1856))!=null?_0x436095:_0x3d1856;}[_0x549351(0x3bc)](_0x58ff82){var _0x3eacd5=_0x549351,_0x45a743,_0x202126,_0x3bceb5;return(_0x3bceb5=(_0x202126=(_0x45a743=this[_0x3eacd5(0x244)])[_0x3eacd5(0x47d)])==null?void 0x0:_0x202126[_0x3eacd5(0x49b)](_0x45a743,_0x58ff82))!=null?_0x3bceb5:_0x58ff82;}[_0x549351(0x16a)](_0x121d30){var _0x2adb25=_0x549351,_0x531dbc,_0x15026e;if(this[_0x2adb25(0x1ce)]===_0xe53b2e['UNIVER_DOC']){const {unitID:_0x437981,mutations:_0x2d0179,memberID:_0x33d80d}=_0x121d30,_0x4d33d2=_0x2d0179[0x0]['params'][_0x2adb25(0x23a)];Array[_0x2adb25(0x381)](_0x4d33d2)&&_0x4d33d2[_0x2adb25(0x3ea)]>0x0&&((_0x15026e=(_0x531dbc=this[_0x2adb25(0x244)])[_0x2adb25(0x38e)])==null||_0x15026e[_0x2adb25(0x49b)](_0x531dbc,{'unitID':_0x437981,'memberID':_0x33d80d,'textRanges':_0x4d33d2}));}}[_0x549351(0x236)](){var _0x4827e8=_0x549351,_0x46e79e;(_0x46e79e=this[_0x4827e8(0x21b)])==null||_0x46e79e[_0x4827e8(0x254)](this['unitID'],this[_0x4827e8(0x1ce)],this[_0x4827e8(0x360)],this[_0x4827e8(0x252)]);}[_0x549351(0x1ab)](){var _0x2f0851=_0x549351;return this[_0x2f0851(0x20f)]['getCurrentRevOfUnit'](this[_0x2f0851(0x181)]);}[_0x549351(0x183)](){var _0x8f7d08=_0x549351;this['_revisionService'][_0x8f7d08(0x401)](this[_0x8f7d08(0x181)]);}[_0x549351(0x2e9)](_0xe933f1){var _0x5957c2=_0x549351,_0x2afec4;let _0x562466=this[_0x5957c2(0x3c8)](_0xe933f1);_0x562466=this['_transformRemoteChangesetByStateCache'](_0x562466);const _0x2c31f9=_0x1580f8['sequenceExecute'](_0x562466[_0x5957c2(0x4b1)],this[_0x5957c2(0x250)],{'fromCollab':!0x0});if(!_0x2c31f9['result'])throw _0x2c31f9[_0x5957c2(0x4aa)]instanceof Error?_0x2c31f9['error']:new Error((_0x2afec4=_0x2c31f9[_0x5957c2(0x4aa)])!=null?_0x2afec4:'[CollaborationState]:\x20apply\x20error!');this[_0x5957c2(0x3df)](_0x562466),this[_0x5957c2(0x2dd)](_0x562466),this[_0x5957c2(0x1b2)](_0xe933f1),this[_0x5957c2(0x2d3)](_0x562466),this[_0x5957c2(0x16a)](_0x562466),this[_0x5957c2(0x183)]();}}_0x1ac966[_0x549351(0x162)]=class extends _0x28f8a6{constructor(_0x5d484d,_0x503bd3,_0x542741,_0x10f145,_0x147b06,_0x4249c3,_0x5798c,_0x23bebe,_0x1c39fc,_0x1eb32c){var _0x1dc64a=_0x549351;super(_0x5d484d,_0x503bd3,null,[],_0x542741,_0x5798c,_0x4249c3,_0x10f145,_0x1eb32c),_0x1ad8fe(this,_0x1dc64a(0x295),'synced'),(this[_0x1dc64a(0x2c4)]=_0x147b06,this[_0x1dc64a(0x211)]=_0x23bebe,this[_0x1dc64a(0x34b)]=_0x1c39fc,this[_0x1dc64a(0x3fe)]=_0x1eb32c);}[_0x549351(0x334)](_0x1eaf4a){var _0x5e18f9=_0x549351;const _0x110b43=this[_0x5e18f9(0x2c4)][_0x5e18f9(0x27c)](_0x1ac966[_0x5e18f9(0x227)],this[_0x5e18f9(0x181)],this['type'],[_0x1eaf4a],this[_0x5e18f9(0x244)]);return _0x110b43['_schedule'](),_0x110b43[_0x5e18f9(0x236)](),_0x110b43;}['onRemoteChangeset'](_0x426a8f){var _0x56e7b0=_0x549351;if(this['_checkMissing'](_0x426a8f))return this[_0x56e7b0(0x2c4)][_0x56e7b0(0x27c)](_0x1ac966['FetchingMissState'],this[_0x56e7b0(0x181)],this[_0x56e7b0(0x1ce)],null,[],null,[_0x426a8f],this[_0x56e7b0(0x244)]);try{const _0x3b9b19=this[_0x56e7b0(0x34b)][_0x56e7b0(0x462)](_0x426a8f,[_0x7a4268]);if(_0x1273bf[_0x56e7b0(0x399)](_0x3b9b19)){const {c1Prime:_0x2cd368}=_0x3b9b19;return this['_executeRemoteChangeset'](_0x2cd368),this;}throw _0x3b9b19[_0x56e7b0(0x4aa)];}catch(_0x553261){return this[_0x56e7b0(0x211)]['error'](_0x553261),this['_onConflict'](!0x1);}}[_0x549351(0x23d)](_0x26a65e){var _0x4da276=_0x549351;return this['_injector'][_0x4da276(0x27c)](_0x1ac966[_0x4da276(0x370)],this['unitID'],this['type'],null,[],this[_0x4da276(0x244)],_0x26a65e);}[_0x549351(0x311)](){var _0x3f827a=_0x549351;throw new Error(_0x3f827a(0x177));}[_0x549351(0x1a2)](){var _0x36226f=_0x549351;throw new Error(_0x36226f(0x320));}['onRemoteRetry'](){return this;}[_0x549351(0x1c1)](){var _0x5ef847=_0x549351;return this[_0x5ef847(0x2c4)][_0x5ef847(0x27c)](_0x1ac966['OfflineState'],this[_0x5ef847(0x181)],this[_0x5ef847(0x1ce)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x549351(0x18b)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x549351(0x481)](){var _0x267d09=_0x549351;const _0x29fc89=this['_revisionService'][_0x267d09(0x147)](this[_0x267d09(0x181)]);return this[_0x267d09(0x244)][_0x267d09(0x4be)]({'from':_0x29fc89,'to':0x0}),this[_0x267d09(0x2c4)][_0x267d09(0x27c)](_0x1ac966[_0x267d09(0x34e)],this[_0x267d09(0x181)],this[_0x267d09(0x1ce)],null,[],null,[],this[_0x267d09(0x244)]);}},_0x1ac966[_0x549351(0x162)]=_0xb1c5d5([_0x5c2fc5(0x3,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x5c2fc5(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1580f8['Injector'])),_0x5c2fc5(0x5,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0x6,_0x1580f8['ICommandService']),_0x5c2fc5(0x7,_0x1580f8[_0x549351(0x3aa)]),_0x5c2fc5(0x8,_0x1273bf[_0x549351(0x2c2)]),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966[_0x549351(0x162)]),_0x1ac966['PendingState']=class extends _0x28f8a6{constructor(_0x10a3f6,_0x506bad,_0x44acab,_0x283d7a,_0x53cc71,_0x1b9179,_0xfde977,_0x12c80e,_0x1817b8,_0x2789a0,_0x4f1d58,_0x239090,_0x5107f0,_0x24f121){var _0x2080d0=_0x549351;super(_0x10a3f6,_0x506bad,null,_0x44acab,_0x283d7a,_0x1817b8,_0x5107f0,_0x1b9179,_0x24f121),_0x1ad8fe(this,_0x2080d0(0x295),_0x2080d0(0x3a0)),_0x1ad8fe(this,_0x2080d0(0x1f7),null),_0x1ad8fe(this,_0x2080d0(0x3ec),null),(this[_0x2080d0(0x2c4)]=_0x53cc71,this[_0x2080d0(0x4b8)]=_0xfde977,this[_0x2080d0(0x211)]=_0x12c80e,this[_0x2080d0(0x475)]=_0x2789a0,this[_0x2080d0(0x34b)]=_0x4f1d58,this[_0x2080d0(0x326)]=_0x239090);}['appendMutation'](_0x19cfd4){var _0x226fc4=_0x549351;return this['_pendingMutations'][_0x226fc4(0x2c6)](_0x19cfd4),this[_0x226fc4(0x236)](),this;}[_0x549351(0x3f0)](_0x54ed2a){var _0xead724=_0x549351;if(this[_0xead724(0x219)](_0x54ed2a))return this['_clearScheduledTask'](),this[_0xead724(0x2c4)][_0xead724(0x27c)](_0x1ac966['FetchingMissState'],this[_0xead724(0x181)],this[_0xead724(0x1ce)],null,this['_pendingMutations'],null,[_0x54ed2a],this[_0xead724(0x244)]);try{const _0x354205=this['_transformService']['transformMutationsWithChangeset'](_0x54ed2a,this[_0xead724(0x252)]);if(_0x1273bf[_0xead724(0x399)](_0x354205)){const {c1Prime:_0x10357e,m2Prime:_0x5902f4}=_0x354205;this[_0xead724(0x2e9)](_0x10357e);const _0x27b451=this[_0xead724(0x2c4)][_0xead724(0x27c)](_0x1ac966[_0xead724(0x227)],this[_0xead724(0x181)],this[_0xead724(0x1ce)],_0x5902f4,this[_0xead724(0x244)]);this['_clearScheduledTask']();const _0x3e48bf=new Date()[_0xead724(0x207)](),_0x9dead2=this[_0xead724(0x1f7)]?Math['max'](this[_0xead724(0x1f7)]-_0x3e48bf,0x0):this[_0xead724(0x2f7)]();return _0x27b451[_0xead724(0x3ac)](_0x9dead2),_0x27b451;}throw _0x354205[_0xead724(0x4aa)];}catch(_0x13394d){return this[_0xead724(0x211)][_0xead724(0x4aa)](_0x13394d),this[_0xead724(0x23d)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x549351(0x1a2)](){var _0x41b20e=_0x549351;throw new Error(_0x41b20e(0x169));}[_0x549351(0x4b0)](){return this;}[_0x549351(0x1c1)](){var _0x204a04=_0x549351;return this['_clearScheduledTask'](),this[_0x204a04(0x2c4)][_0x204a04(0x27c)](_0x1ac966['OfflineState'],this[_0x204a04(0x181)],this['type'],null,this['_pendingMutations'],this[_0x204a04(0x244)]);}[_0x549351(0x3e4)](){return this;}['_schedule'](_0x13183c){var _0x332038=_0x549351;const _0x13b1e7=_0x13183c!=null?_0x13183c:this['_getSendChangesetTimeout']();this[_0x332038(0x1f7)]=new Date()[_0x332038(0x207)]()+_0x13b1e7,this[_0x332038(0x3ec)]=setTimeout(()=>{var _0x35b3fd=_0x332038;this[_0x35b3fd(0x32e)]();let _0x3e232e=null;switch(this[_0x35b3fd(0x1ce)]){case _0xe53b2e[_0x35b3fd(0x158)]:{_0x3e232e=_0x21d446(this[_0x35b3fd(0x252)],this['unitID'],this[_0x35b3fd(0x326)],this[_0x35b3fd(0x20f)],this[_0x35b3fd(0x4b8)]);break;}case _0xe53b2e[_0x35b3fd(0x448)]:{this[_0x35b3fd(0x252)][_0x35b3fd(0x17b)](_0xbda198=>_0xbda198['id']===_0x5650a7[_0x35b3fd(0x2a9)]['id'])?_0x3e232e=_0x5e78f1(this['_pendingMutations'],this[_0x35b3fd(0x181)],this[_0x35b3fd(0x326)],this[_0x35b3fd(0x20f)],this['_memberService']):_0x3e232e=_0x21d446(this[_0x35b3fd(0x252)],this[_0x35b3fd(0x181)],this[_0x35b3fd(0x326)],this['_revisionService'],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x35b3fd(0x376));}const {changeset:_0x2b2020,pendingMutations:_0x5a142c}=_0x3e232e;this[_0x35b3fd(0x244)]['onSendChangeset'](_0x2b2020);const _0xb31f3d=_0x5a142c['length']?this[_0x35b3fd(0x2c4)][_0x35b3fd(0x27c)](_0x1ac966[_0x35b3fd(0x394)],this['unitID'],this['type'],_0x2b2020,_0x5a142c,this[_0x35b3fd(0x244)],void 0x0):this[_0x35b3fd(0x2c4)]['createInstance'](_0x1ac966['AwaitingState'],this['unitID'],this[_0x35b3fd(0x1ce)],_0x2b2020,this[_0x35b3fd(0x244)]);_0xb31f3d[_0x35b3fd(0x236)](),this[_0x35b3fd(0x244)]['onStateChange'](this,_0xb31f3d);},_0x13b1e7);}[_0x549351(0x2f7)](){var _0x2220dc=_0x549351,_0x242568;const _0x51e55d=this['_configService']['getConfig'](_0x1db2ed);return(_0x242568=_0x51e55d==null?void 0x0:_0x51e55d[_0x2220dc(0x423)])!=null?_0x242568:0x7d0;}[_0x549351(0x18b)](){var _0x53a456=_0x549351;throw new Error(_0x53a456(0x19a));}['_clearScheduledTask'](){var _0xf5b090=_0x549351;this[_0xf5b090(0x3ec)]!=null&&(clearTimeout(this[_0xf5b090(0x3ec)]),this[_0xf5b090(0x3ec)]=null);}['_onConflict'](_0xac3819){var _0x3e94f0=_0x549351;return this[_0x3e94f0(0x32e)](),this['_injector'][_0x3e94f0(0x27c)](_0x1ac966['ConflictState'],this[_0x3e94f0(0x181)],this['type'],null,this['_pendingMutations'],this[_0x3e94f0(0x244)],_0xac3819);}},_0x1ac966['PendingState']=_0xb1c5d5([_0x5c2fc5(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x5c2fc5(0x5,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x5c2fc5(0x6,_0x1580f8[_0x549351(0x2d9)](_0x1ac966['MemberService'])),_0x5c2fc5(0x7,_0x1580f8[_0x549351(0x3aa)]),_0x5c2fc5(0x8,_0x1580f8[_0x549351(0x306)]),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x424)]),_0x5c2fc5(0xa,_0x1273bf[_0x549351(0x2c2)]),_0x5c2fc5(0xb,_0x1580f8['IUniverInstanceService']),_0x5c2fc5(0xc,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0xd,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966['PendingState']),_0x1ac966[_0x549351(0x18d)]=class extends _0x28f8a6{constructor(_0x3c4715,_0xf2deee,_0x168688,_0x72fb38,_0x5a28f6,_0x5bafb3,_0x3ce1cc,_0x3d9b15,_0x27c14e,_0x886d5d,_0x2cd23c){var _0x4c7b3f=_0x549351;super(_0x3c4715,_0xf2deee,_0x168688,[],_0x72fb38,_0x3ce1cc,_0x886d5d,_0x5bafb3,_0x2cd23c),_0x1ad8fe(this,_0x4c7b3f(0x295),_0x4c7b3f(0x42a)),_0x1ad8fe(this,_0x4c7b3f(0x428),0x0),_0x1ad8fe(this,_0x4c7b3f(0x3e9)),_0x1ad8fe(this,'_sender'),(this[_0x4c7b3f(0x2c4)]=_0x5a28f6,this[_0x4c7b3f(0x211)]=_0x3d9b15,this[_0x4c7b3f(0x34b)]=_0x27c14e);}[_0x549351(0x334)](_0x56148c){var _0x3b399c=_0x549351;this[_0x3b399c(0x32e)]();const _0x1eded8=this[_0x3b399c(0x2c4)]['createInstance'](_0x1ac966[_0x3b399c(0x394)],this[_0x3b399c(0x181)],this['type'],this[_0x3b399c(0x360)],[_0x56148c],this['_handler'],this['_resendTimer']);return _0x1eded8['_updateLocalCache'](),_0x1eded8;}[_0x549351(0x3f0)](_0x23ae7d){var _0x516538=_0x549351;if(this[_0x516538(0x219)](_0x23ae7d))return this[_0x516538(0x32e)](),this[_0x516538(0x2c4)][_0x516538(0x27c)](_0x1ac966[_0x516538(0x34e)],this[_0x516538(0x181)],this[_0x516538(0x1ce)],this[_0x516538(0x360)],[],null,[_0x23ae7d],this[_0x516538(0x244)]);try{const _0x114f83=this[_0x516538(0x34b)][_0x516538(0x3f6)]([_0x23ae7d],[this[_0x516538(0x360)]],!0x1);if(_0x1273bf[_0x516538(0x2cf)](_0x114f83)){const {c1Prime:_0x7a3408,c2Prime:_0x55b59e}=_0x114f83;this['_executeRemoteChangeset'](_0x7a3408[0x0]),_0x55b59e[0x0][_0x516538(0x13f)]=this['_getCurrentRevision'](),this[_0x516538(0x32e)]();const _0x4b5424=this['_injector'][_0x516538(0x27c)](_0x1ac966[_0x516538(0x18d)],this['unitID'],this['type'],_0x55b59e[0x0],this[_0x516538(0x244)]);return _0x4b5424[_0x516538(0x236)](),_0x4b5424;}return this[_0x516538(0x23d)](!0x1);}catch(_0x525585){return this[_0x516538(0x211)][_0x516538(0x4aa)](_0x525585),this[_0x516538(0x23d)](!0x1);}}[_0x549351(0x311)](_0x39f610){var _0x2cd6fb=_0x549351;this[_0x2cd6fb(0x32e)]();const _0x3d7022=this[_0x2cd6fb(0x20f)]['getCurrentRevOfUnit'](this[_0x2cd6fb(0x181)]);if(_0x39f610[_0x2cd6fb(0x489)]<_0x3d7022-0x1)return this;if(this[_0x2cd6fb(0x219)](_0x39f610))return this[_0x2cd6fb(0x2c4)][_0x2cd6fb(0x27c)](_0x1ac966[_0x2cd6fb(0x34e)],this[_0x2cd6fb(0x181)],this[_0x2cd6fb(0x1ce)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x2cd6fb(0x183)]();const _0x1b04ce=this[_0x2cd6fb(0x2c4)][_0x2cd6fb(0x27c)](_0x1ac966[_0x2cd6fb(0x162)],this['unitID'],this[_0x2cd6fb(0x1ce)],this[_0x2cd6fb(0x244)]);return _0x1b04ce[_0x2cd6fb(0x236)](),_0x1b04ce;}['onRemoteRej'](_0x23f410){var _0x2bf3d3=_0x549351;return this['_onConflict'](!!(_0x23f410!=null&&_0x23f410[_0x2bf3d3(0x235)]));}['onRemoteRetry'](_0x167b06){var _0x1c6a0a=_0x549351;return this['_resendTimeout']>_0x160276?this[_0x1c6a0a(0x1c1)]():(this['_resendTimer']=_0x3cb3fe(this[_0x1c6a0a(0x428)],{'timeout':this[_0x1c6a0a(0x428)],'reqId':_0x167b06[_0x1c6a0a(0x31f)]}),this['_sender']=this[_0x1c6a0a(0x3e9)]['subscribe'](({reqId:_0x5bc120,timeout:_0xceae4e})=>{var _0x29e89b=_0x1c6a0a;this[_0x29e89b(0x354)](_0x5bc120,_0xceae4e);}),this);}[_0x549351(0x1c1)](){var _0x24acf0=_0x549351;return this[_0x24acf0(0x32e)](),this[_0x24acf0(0x2c4)][_0x24acf0(0x27c)](_0x1ac966[_0x24acf0(0x41e)],this[_0x24acf0(0x181)],this[_0x24acf0(0x1ce)],this['_awaitingChangeset'],[],this['_handler']);}[_0x549351(0x3e4)](){return this;}[_0x549351(0x18b)](){var _0x4d4594=_0x549351;this[_0x4d4594(0x244)][_0x4d4594(0x43d)](this['_awaitingChangeset']);}[_0x549351(0x23d)](_0x267357){var _0x3093cb=_0x549351;return this[_0x3093cb(0x32e)](),this['_injector'][_0x3093cb(0x27c)](_0x1ac966['ConflictState'],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x3093cb(0x244)],_0x267357);}['_resendWithTimeout'](_0x4ad293,_0x4300e2){var _0x243c5e=_0x549351,_0x4b0e24;_0x4ad293===((_0x4b0e24=this[_0x243c5e(0x360)])==null?void 0x0:_0x4b0e24['reqId'])&&(this[_0x243c5e(0x18b)](),this[_0x243c5e(0x428)]=_0x4300e2===0x0?0x3e8:_0x4300e2*0x2);}[_0x549351(0x32e)](){var _0x523ece=_0x549351,_0x371be2;(_0x371be2=this['_sender'])==null||_0x371be2[_0x523ece(0x437)](),this['_resendTimeout']=0x0;}},_0x1ac966[_0x549351(0x18d)]=_0xb1c5d5([_0x5c2fc5(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x5c2fc5(0x5,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x5c2fc5(0x6,_0x1580f8[_0x549351(0x306)]),_0x5c2fc5(0x7,_0x1580f8['ILogService']),_0x5c2fc5(0x8,_0x1273bf[_0x549351(0x2c2)]),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0xa,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966['AwaitingState']),_0x1ac966[_0x549351(0x394)]=class extends _0x28f8a6{constructor(_0xe7e2c1,_0x51f535,_0x4a0188,_0x21bb6c,_0x33b673,_0x15418a,_0x4f598f,_0x4e5dd1,_0x3591fc,_0x2f1111,_0x51a18d,_0x490aa9,_0x112982){var _0x18bbe4=_0x549351;super(_0xe7e2c1,_0x51f535,_0x4a0188,_0x21bb6c,_0x33b673,_0x3591fc,_0x490aa9,_0x4e5dd1,_0x112982),_0x1ad8fe(this,'status',_0x18bbe4(0x2f8)),_0x1ad8fe(this,_0x18bbe4(0x428),0x0),_0x1ad8fe(this,_0x18bbe4(0x3e9)),_0x1ad8fe(this,_0x18bbe4(0x421)),(this[_0x18bbe4(0x2c4)]=_0x4f598f,this[_0x18bbe4(0x211)]=_0x2f1111,this[_0x18bbe4(0x34b)]=_0x51a18d,this['localCacheService']=_0x112982,_0x15418a&&(this[_0x18bbe4(0x3e9)]=_0x15418a,this[_0x18bbe4(0x421)]=this[_0x18bbe4(0x3e9)][_0x18bbe4(0x4ab)](({reqId:_0x37a5f0,timeout:_0x5327e1})=>{var _0x588d2b=_0x18bbe4;this[_0x588d2b(0x354)](_0x37a5f0,_0x5327e1);})));}[_0x549351(0x334)](_0x2e431d){return this['_pendingMutations']['push'](_0x2e431d),this;}[_0x549351(0x3f0)](_0x55860c){var _0x2897c4=_0x549351;if(this[_0x2897c4(0x219)](_0x55860c))return this[_0x2897c4(0x32e)](),this[_0x2897c4(0x2c4)][_0x2897c4(0x27c)](_0x1ac966[_0x2897c4(0x34e)],this['unitID'],this['type'],this[_0x2897c4(0x360)],this[_0x2897c4(0x252)],null,[_0x55860c],this[_0x2897c4(0x244)]);try{const _0x56ae27=this['_transformService'][_0x2897c4(0x3f6)]([_0x55860c],[this['_awaitingChangeset']],!0x1);if(_0x1273bf[_0x2897c4(0x2cf)](_0x56ae27)){const {c1Prime:_0x27aec2,c2Prime:_0x15779c}=_0x56ae27,_0x4698a6=this['_transformService'][_0x2897c4(0x462)](_0x27aec2[0x0],this[_0x2897c4(0x252)]);if(_0x1273bf['isTransformMutationsWithChangesetSuccess'](_0x4698a6)){const {c1Prime:_0x4d6dc1,m2Prime:_0x15c8da}=_0x4698a6;return this['_executeRemoteChangeset'](_0x4d6dc1),_0x15779c[0x0][_0x2897c4(0x13f)]=this[_0x2897c4(0x1ab)](),this[_0x2897c4(0x32e)](),this[_0x2897c4(0x2c4)]['createInstance'](_0x1ac966[_0x2897c4(0x394)],this[_0x2897c4(0x181)],this[_0x2897c4(0x1ce)],_0x15779c[0x0],_0x15c8da,this[_0x2897c4(0x244)],void 0x0);}throw _0x4698a6['error'];}throw _0x56ae27[_0x2897c4(0x4aa)];}catch(_0x1c57b6){return this[_0x2897c4(0x211)][_0x2897c4(0x4aa)](_0x1c57b6),this[_0x2897c4(0x23d)](!0x1);}}[_0x549351(0x311)](_0x1a5a1d){var _0xde1318=_0x549351;if(this[_0xde1318(0x32e)](),this[_0xde1318(0x219)](_0x1a5a1d))return this[_0xde1318(0x2c4)][_0xde1318(0x27c)](_0x1ac966[_0xde1318(0x34e)],this[_0xde1318(0x181)],this['type'],null,this[_0xde1318(0x252)],this[_0xde1318(0x360)],[],this['_handler']);this[_0xde1318(0x183)]();const _0x2a4f98=this[_0xde1318(0x2c4)][_0xde1318(0x27c)](_0x1ac966['PendingState'],this[_0xde1318(0x181)],this[_0xde1318(0x1ce)],this[_0xde1318(0x252)],this['_handler']);return _0x2a4f98[_0xde1318(0x3ac)](),_0x2a4f98[_0xde1318(0x236)](),_0x2a4f98;}[_0x549351(0x1a2)](_0x5c801e){var _0x45bf96=_0x549351;return this['_onConflict'](!!(_0x5c801e!=null&&_0x5c801e[_0x45bf96(0x235)]));}['onRemoteRetry'](_0x372df6){var _0x2c5aec=_0x549351;return this[_0x2c5aec(0x428)]>_0x160276?this[_0x2c5aec(0x1c1)]():(this[_0x2c5aec(0x3e9)]=_0x3cb3fe(this['_resendTimeout'],{'timeout':this[_0x2c5aec(0x428)],'reqId':_0x372df6[_0x2c5aec(0x31f)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0xfd90ab,timeout:_0x1ff6ab})=>{var _0x222a77=_0x2c5aec;this[_0x222a77(0x354)](_0xfd90ab,_0x1ff6ab);}),this);}['toggleOffline'](){var _0x337d3a=_0x549351;return this[_0x337d3a(0x32e)](),this[_0x337d3a(0x2c4)][_0x337d3a(0x27c)](_0x1ac966[_0x337d3a(0x41e)],this[_0x337d3a(0x181)],this[_0x337d3a(0x1ce)],this['_awaitingChangeset'],this[_0x337d3a(0x252)],this['_handler']);}[_0x549351(0x3e4)](){return this;}['resend'](){var _0x2d5522=_0x549351;this['_handler'][_0x2d5522(0x43d)](this[_0x2d5522(0x360)]);}['_onConflict'](_0x4c71c1){var _0x3a92a1=_0x549351;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x1ac966[_0x3a92a1(0x370)],this['unitID'],this[_0x3a92a1(0x1ce)],null,this[_0x3a92a1(0x252)],this[_0x3a92a1(0x244)],_0x4c71c1);}[_0x549351(0x354)](_0x2c02e4,_0x8e5923){var _0x4113d5=_0x549351,_0x5ba92b;_0x2c02e4===((_0x5ba92b=this[_0x4113d5(0x360)])==null?void 0x0:_0x5ba92b[_0x4113d5(0x31f)])&&(this[_0x4113d5(0x18b)](),this[_0x4113d5(0x428)]=_0x8e5923===0x0?0x3e8:_0x8e5923*0x2);}[_0x549351(0x32e)](){var _0x5de864=_0x549351,_0x1fea92;(_0x1fea92=this['_sender'])==null||_0x1fea92['unsubscribe'](),this[_0x5de864(0x428)]=0x0;}},_0x1ac966[_0x549351(0x394)]=_0xb1c5d5([_0x5c2fc5(0x6,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x5c2fc5(0x7,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x5c2fc5(0x8,_0x1580f8[_0x549351(0x306)]),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x3aa)]),_0x5c2fc5(0xa,_0x1273bf['ITransformService']),_0x5c2fc5(0xb,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0xc,_0x1580f8['Optional'](_0x2e9c48))],_0x1ac966[_0x549351(0x394)]),_0x1ac966[_0x549351(0x370)]=class extends _0x28f8a6{constructor(_0x1d3694,_0x13b90e,_0x12dd96,_0x2bfbd7,_0x4f1d37,_0x391d73=!0x1,_0x1370a7,_0x217ef3,_0x68fba0,_0x1918b6,_0x3a7039,_0x5480b1,_0x3417ac){var _0x3db9f0=_0x549351;super(_0x1d3694,_0x13b90e,_0x12dd96,_0x2bfbd7,_0x4f1d37,_0x217ef3,_0x68fba0,_0x1918b6,_0x3417ac),_0x1ad8fe(this,_0x3db9f0(0x295),_0x3db9f0(0x363)),(this[_0x3db9f0(0x33f)]=_0x391d73,this['_permissionService']=_0x1370a7,this['_localeService']=_0x3a7039,this[_0x3db9f0(0x274)]=_0x5480b1,this[_0x3db9f0(0x3fe)]=_0x3417ac,this[_0x3db9f0(0x23f)](),this[_0x3db9f0(0x339)](),this[_0x3db9f0(0x20c)]());}[_0x549351(0x334)](){return this;}[_0x549351(0x3f0)](){return this;}[_0x549351(0x311)](){return this;}[_0x549351(0x1a2)](){return this;}[_0x549351(0x4b0)](){return this;}[_0x549351(0x1c1)](){return this;}['toggleOnline'](){return this;}[_0x549351(0x18b)](){var _0x78d8cb=_0x549351;throw new Error(_0x78d8cb(0x210));}[_0x549351(0x339)](){var _0x14f2f2=_0x549351,_0x70a098;(_0x70a098=this[_0x14f2f2(0x21b)])==null||_0x70a098['updateOfflineData'](this[_0x14f2f2(0x181)],this[_0x14f2f2(0x1ce)],null,[]);}[_0x549351(0x23f)](){var _0x1056d4=_0x549351;this[_0x1056d4(0x33f)]?this['_collaborationUIEventService'][_0x1056d4(0x390)]({'id':_0x2bf599[_0x1056d4(0x392)]}):this[_0x1056d4(0x274)][_0x1056d4(0x390)]({'id':_0x2bf599[_0x1056d4(0x46e)]});}[_0x549351(0x20c)](){var _0x425fc9=_0x549351;this[_0x425fc9(0x2dc)]['updatePermissionPoint'](new _0x3a5b47[(_0x425fc9(0x1e7))](this[_0x425fc9(0x181)])['id'],!0x1);}},_0x1ac966[_0x549351(0x370)]=_0xb1c5d5([_0x5c2fc5(0x6,_0x1580f8['Inject'](_0x1580f8[_0x549351(0x15f)])),_0x5c2fc5(0x7,_0x1580f8[_0x549351(0x306)]),_0x5c2fc5(0x8,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x5c2fc5(0xa,_0x1580f8['Inject'](_0x1580f8[_0x549351(0x3eb)])),_0x5c2fc5(0xb,_0x1580f8[_0x549351(0x2d9)](_0x1667ed)),_0x5c2fc5(0xc,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966['ConflictState']),_0x1ac966[_0x549351(0x41e)]=class extends _0x28f8a6{constructor(_0x1c5f7f,_0x35b7fe,_0x58c9a3,_0xf318be,_0x17fd21,_0x1c3cf8,_0x96875f,_0x127d60,_0x2dcef5,_0x1f9f3b){var _0x3bf20c=_0x549351;super(_0x1c5f7f,_0x35b7fe,_0x58c9a3,_0xf318be,_0x17fd21,_0x127d60,_0x2dcef5,_0x96875f,_0x1f9f3b),_0x1ad8fe(this,_0x3bf20c(0x295),_0x3bf20c(0x3a5)),this['_injector']=_0x1c3cf8;}['appendMutation'](_0x497558){var _0x46d70c=_0x549351;return this[_0x46d70c(0x252)][_0x46d70c(0x2c6)](_0x497558),this[_0x46d70c(0x236)](),this;}[_0x549351(0x3f0)](_0x47b06d){var _0x37d83a=_0x549351;throw new Error(_0x37d83a(0x258));}['onRemoteAck'](){var _0x1e5aa5=_0x549351;throw new Error(_0x1e5aa5(0x46b));}[_0x549351(0x1a2)](){var _0x35003d=_0x549351;throw new Error(_0x35003d(0x44f));}[_0x549351(0x4b0)](){return this;}[_0x549351(0x1c1)](){return this;}[_0x549351(0x3e4)](){var _0x3b333=_0x549351;const {_injector:_0xb92bc7,_pendingMutations:_0x5c8506,_awaitingChangeset:_0x2668c5,unitID:_0x514552,_handler:_0x26b783,type:_0x32a112}=this,_0x4c1c3f=_0xa7a677(_0xb92bc7,_0x514552,_0x32a112,_0x2668c5,_0x5c8506,_0x26b783);return _0x4c1c3f instanceof _0x1ac966['PendingState']?_0x4c1c3f[_0x3b333(0x3ac)]():(_0x4c1c3f instanceof _0x1ac966[_0x3b333(0x394)]||_0x4c1c3f instanceof _0x1ac966[_0x3b333(0x18d)])&&_0x4c1c3f[_0x3b333(0x18b)](),_0x4c1c3f;}['resend'](){var _0x2b6731=_0x549351;throw new Error(_0x2b6731(0x1b4));}},_0x1ac966[_0x549351(0x41e)]=_0xb1c5d5([_0x5c2fc5(0x5,_0x1580f8[_0x549351(0x2d9)](_0x1580f8['Injector'])),_0x5c2fc5(0x6,_0x1580f8[_0x549351(0x2d9)](_0x1273bf['RevisionService'])),_0x5c2fc5(0x7,_0x1580f8[_0x549351(0x306)]),_0x5c2fc5(0x8,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966['OfflineState']),_0x1ac966['FetchingMissState']=class extends _0x28f8a6{constructor(_0x625031,_0xaed4b6,_0x563d5d,_0x442606,_0x279695,_0x2875b0,_0x3e1483,_0x204b0b,_0x2c04ea,_0x20bb21,_0x548ff4,_0x4f4567,_0x5c9165,_0x4d76b8){var _0x3cc74b=_0x549351;super(_0x625031,_0xaed4b6,_0x563d5d,_0x442606,_0x3e1483,_0x548ff4,_0x4f4567,_0x2c04ea,_0x4d76b8),_0x1ad8fe(this,_0x3cc74b(0x295),_0x3cc74b(0x1bd)),(this[_0x3cc74b(0x179)]=_0x279695,this['_queuedRemoteChangesets']=_0x2875b0,this[_0x3cc74b(0x2c4)]=_0x204b0b,this['_logService']=_0x20bb21,this[_0x3cc74b(0x34b)]=_0x5c9165,this[_0x3cc74b(0x3fe)]=_0x4d76b8);}[_0x549351(0x2b3)](_0x5b771a){var _0x19d341=_0x549351;try{const _0x2db6e0=[..._0x5b771a,...this['_queuedRemoteChangesets']],_0x34df65=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x2e035a=>!!_0x2e035a);let _0x4ee185,_0x270df8;if(_0x34df65[_0x19d341(0x3ea)]){const _0xd3bebf=this[_0x19d341(0x34b)][_0x19d341(0x3f6)](_0x2db6e0,_0x34df65,!0x1);if(!_0x1273bf[_0x19d341(0x2cf)](_0xd3bebf))throw _0xd3bebf[_0x19d341(0x4aa)];_0x4ee185=_0xd3bebf[_0x19d341(0x3f5)],_0x270df8=_0xd3bebf['c2Prime'];}else _0x4ee185=_0x2db6e0,_0x270df8=[];let _0x378ab8=this['_pendingMutations'];_0x4ee185['forEach'](_0x5e1511=>{var _0x3c31b8=_0x19d341;let _0x5db8c9;if(_0x378ab8[_0x3c31b8(0x3ea)]){const _0xb546e0=this[_0x3c31b8(0x34b)][_0x3c31b8(0x462)](_0x5e1511,_0x378ab8);if(!_0x1273bf[_0x3c31b8(0x399)](_0xb546e0))throw _0xb546e0['error'];_0x5db8c9=_0xb546e0['c1Prime'],_0x378ab8=_0xb546e0['m2Prime'];}else _0x5db8c9=_0x5e1511;this[_0x3c31b8(0x2e9)](_0x5db8c9);}),this[_0x19d341(0x179)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x270df8[_0x19d341(0x3ea)]&&(_0x270df8[0x0][_0x19d341(0x13f)]=this[_0x19d341(0x1ab)]());let _0x2607be;if(this[_0x19d341(0x360)]&&_0x378ab8[_0x19d341(0x3ea)]!==0x0)_0x2607be=this[_0x19d341(0x2c4)][_0x19d341(0x27c)](_0x1ac966['AwaitingWithPendingState'],this[_0x19d341(0x181)],this[_0x19d341(0x1ce)],_0x270df8[0x0],_0x378ab8,this[_0x19d341(0x244)],void 0x0);else{if(this[_0x19d341(0x360)]&&_0x378ab8[_0x19d341(0x3ea)]===0x0)_0x270df8[0x0][_0x19d341(0x13f)]=this[_0x19d341(0x1ab)](),_0x2607be=this[_0x19d341(0x2c4)]['createInstance'](_0x1ac966['AwaitingState'],this[_0x19d341(0x181)],this[_0x19d341(0x1ce)],_0x270df8[0x0],this['_handler']);else{if(_0x378ab8[_0x19d341(0x3ea)]!==0x0){const _0x328544=this[_0x19d341(0x2c4)][_0x19d341(0x27c)](_0x1ac966[_0x19d341(0x227)],this[_0x19d341(0x181)],this['type'],_0x378ab8,this['_handler']);_0x328544[_0x19d341(0x3ac)](),_0x2607be=_0x328544;}else _0x2607be=this[_0x19d341(0x2c4)]['createInstance'](_0x1ac966[_0x19d341(0x162)],this['unitID'],this[_0x19d341(0x1ce)],this['_handler']);}}return _0x2607be[_0x19d341(0x236)](),_0x2607be;}catch(_0x2665fe){return this['_logService'][_0x19d341(0x4aa)](_0x19d341(0x42b),_0x19d341(0x4b2),_0x2665fe),this[_0x19d341(0x2c4)][_0x19d341(0x27c)](_0x1ac966[_0x19d341(0x370)],this[_0x19d341(0x181)],this[_0x19d341(0x1ce)],this[_0x19d341(0x360)],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x549351(0x334)](_0x33b763){var _0x4543f1=_0x549351;return this[_0x4543f1(0x252)][_0x4543f1(0x2c6)](_0x33b763),this;}[_0x549351(0x3f0)](_0x229ae1){var _0x5611cc=_0x549351;return this[_0x5611cc(0x348)][_0x5611cc(0x2c6)](_0x229ae1),this;}['onRemoteAck'](_0x2ec476){var _0x812c01=_0x549351;if(this[_0x812c01(0x360)])return this[_0x812c01(0x179)]=this[_0x812c01(0x360)],this[_0x812c01(0x360)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x1e768e){var _0xef7577=_0x549351;return this[_0xef7577(0x23d)](!!(_0x1e768e!=null&&_0x1e768e[_0xef7577(0x235)]));}['onRemoteRetry'](){return this;}[_0x549351(0x1c1)](){var _0x24a782=_0x549351;return this[_0x24a782(0x2c4)][_0x24a782(0x27c)](_0x1ac966['OfflineState'],this[_0x24a782(0x181)],this['type'],this[_0x24a782(0x360)],this['_pendingMutations'],this[_0x24a782(0x244)]);}[_0x549351(0x3e4)](){return this;}[_0x549351(0x23d)](_0x72f97c){var _0x343627=_0x549351;return this[_0x343627(0x2c4)][_0x343627(0x27c)](_0x1ac966[_0x343627(0x370)],this[_0x343627(0x181)],this[_0x343627(0x1ce)],this['_awaitingChangeset'],this[_0x343627(0x252)],this[_0x343627(0x244)],_0x72f97c);}},_0x1ac966[_0x549351(0x34e)]=_0xb1c5d5([_0x5c2fc5(0x7,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x5c2fc5(0x8,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x3aa)]),_0x5c2fc5(0xa,_0x1580f8[_0x549351(0x306)]),_0x5c2fc5(0xb,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0xc,_0x1273bf[_0x549351(0x2c2)]),_0x5c2fc5(0xd,_0x1580f8['Optional'](_0x2e9c48))],_0x1ac966['FetchingMissState']);function _0xa7a677(_0x2e0a89,_0x3d89b2,_0x74f4d4,_0x569d0c,_0x5d0b27,_0x56410){var _0x380a12=_0x549351;return _0x569d0c&&_0x5d0b27[_0x380a12(0x3ea)]?_0x2e0a89[_0x380a12(0x27c)](_0x1ac966[_0x380a12(0x394)],_0x3d89b2,_0x74f4d4,_0x569d0c,_0x5d0b27,_0x56410,void 0x0):_0x569d0c?_0x2e0a89[_0x380a12(0x27c)](_0x1ac966[_0x380a12(0x18d)],_0x3d89b2,_0x74f4d4,_0x569d0c,_0x56410):_0x5d0b27['length']?_0x2e0a89[_0x380a12(0x27c)](_0x1ac966[_0x380a12(0x227)],_0x3d89b2,_0x74f4d4,_0x5d0b27,_0x56410):_0x2e0a89['createInstance'](_0x1ac966['SyncedState'],_0x3d89b2,_0x74f4d4,_0x56410);}var _0x3d4a77=Object[_0x549351(0x3ff)],_0x945426=(_0x53aec4,_0x347073,_0x59208e,_0x3a536b)=>{for(var _0x4c97d7=_0x3a536b>0x1?void 0x0:_0x3a536b?_0x3d4a77(_0x347073,_0x59208e):_0x347073,_0x22a504=_0x53aec4['length']-0x1,_0x5d9f7b;_0x22a504>=0x0;_0x22a504--)(_0x5d9f7b=_0x53aec4[_0x22a504])&&(_0x4c97d7=_0x5d9f7b(_0x4c97d7)||_0x4c97d7);return _0x4c97d7;},_0x3e315c=(_0xbb6145,_0x282ddd)=>(_0x2ed875,_0xf974a6)=>_0x282ddd(_0x2ed875,_0xf974a6,_0xbb6145);_0x1ac966[_0x549351(0x44b)]=class extends _0x1580f8[_0x549351(0x2ef)]{constructor(_0x51c13d,_0x1b6f24,_0x1e8f5c,_0x1a832f,_0x3e0275,_0x52cf1d,_0x2e19b9,_0x5668b4,_0x304153,_0x5c665a,_0x48bd86,_0x1858c9,_0x31291a){var _0x19e1b5=_0x549351;super(),_0x1ad8fe(this,_0x19e1b5(0x143),new _0xdf3790['BehaviorSubject'](null)),_0x1ad8fe(this,_0x19e1b5(0x40e),this[_0x19e1b5(0x143)]['asObservable']()),_0x1ad8fe(this,_0x19e1b5(0x1e5)),_0x1ad8fe(this,_0x19e1b5(0x34f),!0x1),_0x1ad8fe(this,_0x19e1b5(0x342),''),_0x1ad8fe(this,_0x19e1b5(0x4bd),0x0),_0x1ad8fe(this,_0x19e1b5(0x2aa),this[_0x19e1b5(0x40e)][_0x19e1b5(0x48a)](_0xdf3790[_0x19e1b5(0x4b7)](_0x4d5164=>_0x4d5164?_0x4d5164['status']:_0x3ebfe3[_0x19e1b5(0x367)]),_0xdf3790[_0x19e1b5(0x15c)](0x1))),_0x1ad8fe(this,_0x19e1b5(0x411),!0x1),_0x1ad8fe(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x51c13d,this[_0x19e1b5(0x1b3)]=_0x1b6f24,this[_0x19e1b5(0x24f)]=_0x1e8f5c,this[_0x19e1b5(0x2c4)]=_0x1a832f,this[_0x19e1b5(0x1de)]=_0x3e0275,this['_localeService']=_0x52cf1d,this[_0x19e1b5(0x20f)]=_0x2e19b9,this['_eventService']=_0x5668b4,this['_logService']=_0x304153,this[_0x19e1b5(0x250)]=_0x5c665a,this[_0x19e1b5(0x2dc)]=_0x48bd86,this[_0x19e1b5(0x35e)]=_0x1858c9,this[_0x19e1b5(0x21b)]=_0x31291a);}get[_0x549351(0x262)](){var _0x975452=_0x549351;return this[_0x975452(0x1e5)];}async[_0x549351(0x3f2)](){var _0x3827a2=_0x549351;if(this[_0x3827a2(0x262)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x549351(0x3c7)](){var _0x40db19=_0x549351;return this[_0x40db19(0x34f)]=!0x0,_0x1580f8[_0x40db19(0x1d2)](()=>{var _0x5d13df=_0x40db19;this[_0x5d13df(0x34f)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x4f7953){this['_onLocalMutation'](_0x4f7953);}[_0x549351(0x323)](_0x4cbf61){var _0x438c54=_0x549351;this[_0x438c54(0x1e5)]=_0x4cbf61,this['_state$'][_0x438c54(0x466)](_0x4cbf61);}async['_init'](){var _0x12bea1=_0x549351,_0x507b73;this['_updateState'](await this[_0x12bea1(0x3a2)]()),this[_0x12bea1(0x35e)]&&((_0x507b73=this[_0x12bea1(0x35e)])==null||_0x507b73[_0x12bea1(0x1d0)](this['unitID']),this[_0x12bea1(0x3e3)](this[_0x12bea1(0x35e)][_0x12bea1(0x27f)](this[_0x12bea1(0x181)])[_0x12bea1(0x4ab)](_0x45f513=>{var _0x344502=_0x12bea1;this['_logService']['debug'](_0x344502(0x2fe),_0x344502(0x31a),_0x45f513),_0x45f513===_0x2322d5[_0x344502(0x355)]?(this[_0x344502(0x2fd)][_0x344502(0x390)]({'id':_0x2bf599[_0x344502(0x1f1)]}),this['_permissionService'][_0x344502(0x429)](new _0x3a5b47[(_0x344502(0x1e7))](this['unitID'])['id'],!0x1),this[_0x344502(0x2dc)][_0x344502(0x2fa)](!0x1)):(this[_0x344502(0x2dc)][_0x344502(0x429)](new _0x3a5b47['WorkbookEditablePermission'](this[_0x344502(0x181)])['id'],!0x0),this[_0x344502(0x2dc)][_0x344502(0x2fa)](!0x0));})));let _0x125caa=!0x1;return this[_0x12bea1(0x3e3)](this[_0x12bea1(0x1b3)][_0x12bea1(0x30e)][_0x12bea1(0x4ab)](_0x27de89=>{var _0x55cde8=_0x12bea1;_0x27de89===_0x5ad294[_0x55cde8(0x1da)]?this['_toggleOnline'](_0x125caa):_0x27de89===_0x5ad294['OFFLINE']&&(_0x125caa=!0x0,this[_0x55cde8(0x3c5)]());})),this['disposeWithMe'](this[_0x12bea1(0x1b3)][_0x12bea1(0x32f)][_0x12bea1(0x4ab)](_0x598c14=>{var _0x260507=_0x12bea1;try{switch(_0x598c14[_0x260507(0x2e5)]){case _0x1273bf[_0x260507(0x271)][_0x260507(0x3bd)]:{this[_0x260507(0x1c6)](_0x1273bf[_0x260507(0x435)](_0x598c14[_0x260507(0x310)]));break;}case _0x1273bf[_0x260507(0x271)][_0x260507(0x1d9)]:{this['_onRemoteACK'](_0x598c14[_0x260507(0x310)]);break;}case _0x1273bf[_0x260507(0x271)]['CHANGESET_REJ']:{this[_0x260507(0x191)]();break;}case _0x1273bf['CollaborationEvent'][_0x260507(0x19e)]:{this[_0x260507(0x190)](_0x598c14[_0x260507(0x310)]);break;}case _0x1273bf[_0x260507(0x271)][_0x260507(0x39e)]:{this[_0x260507(0x39c)](_0x598c14['data'][_0x260507(0x3dd)][_0x260507(0x4b7)](_0x5025af=>_0x1273bf['parseProtocolChangeset'](_0x5025af)));break;}case _0x1273bf['CollaborationEvent'][_0x260507(0x449)]:{this[_0x260507(0x191)]({'isPermissionRej':!0x0});break;}case _0x1273bf[_0x260507(0x271)][_0x260507(0x1d5)]:break;}}catch(_0xa3d61b){throw console[_0x260507(0x4aa)]('Error\x20on\x20receiving\x20event',_0xa3d61b),_0xa3d61b;}})),this[_0x12bea1(0x1e5)];}['_unlockTransition'](){var _0x2155e0=_0x549351;this[_0x2155e0(0x411)]=!0x1;}[_0x549351(0x203)](){var _0x263533=_0x549351;if(this[_0x263533(0x411)])throw new Error(_0x263533(0x4b5));this[_0x263533(0x411)]=!0x0;}['_onLocalMutation'](_0x430917){var _0x349795=_0x549351;this[_0x349795(0x203)](),this[_0x349795(0x323)](this['_state'][_0x349795(0x334)](_0x430917)),this[_0x349795(0x15b)]();}[_0x549351(0x1c6)](_0x3ba4c3){var _0x2c5912=_0x549351;if(!(_0x3ba4c3['revision']<=this[_0x2c5912(0x20f)][_0x2c5912(0x147)](this[_0x2c5912(0x181)]))){if(this[_0x2c5912(0x34f)]){this[_0x2c5912(0x19d)][_0x2c5912(0x2c6)](_0x3ba4c3);return;}this[_0x2c5912(0x3c1)](_0x3ba4c3);}}['_exhaustRemoteChangesetQueue'](){var _0x4899ef=_0x549351;this['_remoteChangesetQueue']['forEach'](_0x4c23fb=>this[_0x4899ef(0x3c1)](_0x4c23fb)),this[_0x4899ef(0x19d)]=[];}[_0x549351(0x3c1)](_0x26a278){var _0x30a704=_0x549351;const _0x50f34c=this['_compressMutationService']['interceptor'][_0x30a704(0x406)](this[_0x30a704(0x1de)][_0x30a704(0x1f9)][_0x30a704(0x167)]()[_0x30a704(0x325)])(_0x26a278[_0x30a704(0x4b1)],null)||_0x26a278[_0x30a704(0x4b1)],_0x31bfe6={..._0x26a278,'mutations':_0x50f34c};this[_0x30a704(0x203)](),this[_0x30a704(0x323)](this[_0x30a704(0x1e5)][_0x30a704(0x3f0)](_0x31bfe6)),this[_0x30a704(0x15b)]();}[_0x549351(0x425)](_0x10a5c5){var _0x3ccb1a=_0x549351;this[_0x3ccb1a(0x203)](),this[_0x3ccb1a(0x323)](this[_0x3ccb1a(0x1e5)]['onRemoteAck'](_0x10a5c5)),this['_unlockTransition']();}[_0x549351(0x191)](_0x14429b){var _0x288408=_0x549351;this['_lockTransition'](),this[_0x288408(0x323)](this[_0x288408(0x1e5)][_0x288408(0x1a2)](_0x14429b)),this[_0x288408(0x15b)]();}[_0x549351(0x190)](_0x1d43f2){var _0x27b853=_0x549351;this[_0x27b853(0x203)](),this[_0x27b853(0x323)](this[_0x27b853(0x1e5)][_0x27b853(0x4b0)](_0x1d43f2)),this[_0x27b853(0x15b)]();}[_0x549351(0x39c)](_0x1909d4){var _0x144c33=_0x549351;if(!(this[_0x144c33(0x1e5)]instanceof _0x1ac966[_0x144c33(0x34e)]))throw new TypeError(_0x144c33(0x395));const _0x1e8768=_0x1909d4[_0x144c33(0x4b7)](_0x5b12a8=>{var _0x469c58=_0x144c33;const _0x417123=this['_compressMutationService'][_0x469c58(0x1f9)]['fetchThroughInterceptors'](this[_0x469c58(0x1de)]['interceptor'][_0x469c58(0x167)]()['COMPRESS_MUTATION_APPLY'])(_0x5b12a8['mutations'],null)||_0x5b12a8[_0x469c58(0x4b1)];return{..._0x5b12a8,'mutations':_0x417123};});this['_lockTransition'](),this[_0x144c33(0x323)](this[_0x144c33(0x1e5)][_0x144c33(0x2b3)](_0x1e8768)),this[_0x144c33(0x15b)]();}[_0x549351(0x3c5)](){var _0x5a2140=_0x549351;this['_lockTransition'](),this[_0x5a2140(0x323)](this[_0x5a2140(0x1e5)]['toggleOffline']()),this['_unlockTransition']();}['_toggleOnline'](_0x4b7d9d=!0x1){var _0x1aa574=_0x549351;this[_0x1aa574(0x203)](),this[_0x1aa574(0x323)](this[_0x1aa574(0x1e5)][_0x1aa574(0x3e4)]()),this[_0x1aa574(0x15b)]();const _0x199199=this['_state'];_0x4b7d9d&&_0x199199 instanceof _0x1ac966[_0x1aa574(0x162)]&&(this[_0x1aa574(0x203)](),this[_0x1aa574(0x323)](_0x199199['fetchMiss']()),this['_unlockTransition']());}async[_0x549351(0x3a2)](){return new Promise(_0x4424b8=>{var _0x72f88=_0x8cbe;this[_0x72f88(0x1b3)][_0x72f88(0x30e)][_0x72f88(0x48a)](_0xdf3790[_0x72f88(0x330)](0x1))[_0x72f88(0x4ab)](async _0x20f217=>{var _0x1f8606=_0x72f88;_0x4424b8(await this[_0x1f8606(0x35d)](_0x20f217===_0x5ad294[_0x1f8606(0x1da)]));});});}['_createHandler'](){var _0x15c267=_0x549351;const _0x120a79=this[_0x15c267(0x181)];return{'onStateChange':(_0x564cfe,_0x4ee663)=>{var _0x537b89=_0x15c267;if(_0x564cfe!==this['_state'])throw new Error(_0x537b89(0x1a3)+_0x564cfe['status']+_0x537b89(0x1c9)+_0x4ee663[_0x537b89(0x295)]+_0x537b89(0x337)+this[_0x537b89(0x1e5)]['status']);this[_0x537b89(0x323)](_0x4ee663);},'onSendChangeset':_0x2aac67=>{var _0x46cdcb=_0x15c267;_0x2aac67[_0x46cdcb(0x14b)]||(_0x2aac67[_0x46cdcb(0x14b)]=this[_0x46cdcb(0x342)],_0x2aac67[_0x46cdcb(0x31f)]=++this[_0x46cdcb(0x4bd)]);const _0x14340b={'eventID':_0x1273bf['CollaborationEvent'][_0x46cdcb(0x454)],'data':{'unitID':_0x2aac67[_0x46cdcb(0x181)],'unitType':this[_0x46cdcb(0x24f)],'changeset':_0x2aac67,'memberID':this[_0x46cdcb(0x1b3)][_0x46cdcb(0x3d8)]()}};this[_0x46cdcb(0x1b3)][_0x46cdcb(0x4b9)](_0x14340b,this['unitID']);},'onMissingChangesets':({from:_0x4b7bd8,to:_0x460ebc})=>{var _0x54c3cc=_0x15c267;this[_0x54c3cc(0x211)]['debug']('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x4b7bd8+_0x54c3cc(0x364)+_0x460ebc);const _0x23151e={'eventID':_0x1273bf[_0x54c3cc(0x271)][_0x54c3cc(0x47e)],'data':{'unitID':_0x120a79,'unitType':this[_0x54c3cc(0x24f)],'from':_0x4b7bd8,'to':_0x460ebc}};this[_0x54c3cc(0x1b3)][_0x54c3cc(0x4b9)](_0x23151e,this[_0x54c3cc(0x181)]);}};}async['_createInitialStateImpl'](_0x32f0a2){var _0x286989=_0x549351,_0x21dc14,_0x370b12,_0x5b25c7;const _0x1290fe=await((_0x21dc14=this[_0x286989(0x21b)])==null?void 0x0:_0x21dc14[_0x286989(0x492)](this[_0x286989(0x181)])),_0x173ddc=(_0x370b12=_0x1290fe==null?void 0x0:_0x1290fe[_0x286989(0x4b1)])!=null?_0x370b12:[],_0x874be1=(_0x5b25c7=_0x1290fe==null?void 0x0:_0x1290fe[_0x286989(0x16b)])!=null?_0x5b25c7:null,_0x27a19a=!!(_0x874be1!=null&&_0x874be1[_0x286989(0x14b)])&&!!(_0x874be1!=null&&_0x874be1['reqId']);this[_0x286989(0x342)]=_0x27a19a?_0x874be1[_0x286989(0x14b)]:_0x48ac0e(),this[_0x286989(0x4bd)]=_0x27a19a?_0x874be1[_0x286989(0x31f)]:0x0;const _0x4aacb5=this[_0x286989(0x181)];try{this[_0x286989(0x24d)](_0x874be1,_0x173ddc);}catch(_0x9f4f79){this[_0x286989(0x211)]['error'](_0x9f4f79);}const _0x3927ff=this[_0x286989(0x22d)]();if(_0x32f0a2){const _0x367884=_0xa7a677(this[_0x286989(0x2c4)],_0x4aacb5,this['_type'],_0x874be1,_0x173ddc,_0x3927ff);return _0x367884 instanceof _0x1ac966[_0x286989(0x227)]?_0x367884[_0x286989(0x3ac)]():(_0x367884 instanceof _0x1ac966[_0x286989(0x394)]||_0x367884 instanceof _0x1ac966[_0x286989(0x18d)])&&_0x367884[_0x286989(0x18b)](),_0x367884;}return this[_0x286989(0x2c4)][_0x286989(0x27c)](_0x1ac966[_0x286989(0x41e)],_0x4aacb5,this[_0x286989(0x24f)],_0x874be1,_0x173ddc,_0x3927ff);}['_replayCachedMutations'](_0x28fcf2,_0x5e8038){var _0x2aadc9=_0x549351,_0x316456,_0x531314;const _0x167094=this[_0x2aadc9(0x1de)][_0x2aadc9(0x1f9)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x2aadc9(0x167)]()[_0x2aadc9(0x325)]);(_0x316456=_0x167094((_0x28fcf2==null?void 0x0:_0x28fcf2[_0x2aadc9(0x4b1)])||[],null))==null||_0x316456[_0x2aadc9(0x2b0)](_0x50e2e7=>this[_0x2aadc9(0x250)][_0x2aadc9(0x26b)](_0x50e2e7['id'],_0x50e2e7[_0x2aadc9(0x21f)])),(_0x531314=_0x167094(_0x5e8038||[],null))==null||_0x531314[_0x2aadc9(0x2b0)](_0xcbeb22=>this[_0x2aadc9(0x250)]['executeCommand'](_0xcbeb22['id'],_0xcbeb22[_0x2aadc9(0x21f)]));}},_0x1ac966[_0x549351(0x44b)]=_0x945426([_0x3e315c(0x3,_0x1580f8[_0x549351(0x2d9)](_0x1580f8['Injector'])),_0x3e315c(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x2b5)])),_0x3e315c(0x5,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x3eb)])),_0x3e315c(0x6,_0x1580f8[_0x549351(0x2d9)](_0x1273bf['RevisionService'])),_0x3e315c(0x7,_0x1580f8[_0x549351(0x2d9)](_0x1667ed)),_0x3e315c(0x8,_0x1580f8[_0x549351(0x3aa)]),_0x3e315c(0x9,_0x1580f8[_0x549351(0x306)]),_0x3e315c(0xa,_0x1580f8['IPermissionService']),_0x3e315c(0xb,_0x1580f8['Optional'](_0x431ecc)),_0x3e315c(0xc,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966[_0x549351(0x44b)]),_0x1ac966['DocCollaborationEntity']=class extends _0x1ac966[_0x549351(0x44b)]{constructor(_0x2358ed,_0x157ddd,_0x4d9fe2,_0x58516a,_0x36e1bd,_0x44291c,_0x1c7422,_0xb1fa91,_0x2aca56,_0x276265,_0x11b651,_0x2e2084,_0x11e5f6){var _0x8ae507=_0x549351;super(_0x2358ed,_0x4d9fe2,_0x157ddd,_0x58516a,_0x36e1bd,_0x44291c,_0x1c7422,_0xb1fa91,_0x2aca56,_0x276265,_0x11b651,_0x2e2084,_0x11e5f6),_0x1ad8fe(this,_0x8ae507(0x3a1),null),(this['unitID']=_0x2358ed,this[_0x8ae507(0x1ce)]=_0x157ddd);}[_0x549351(0x259)](_0x340e03){this['_handlerCallback']=_0x340e03;}[_0x549351(0x3b5)](){var _0x4a312b=_0x549351;this[_0x4a312b(0x3a1)]=null,super['dispose']();}[_0x549351(0x22d)](){var _0xbe1c8c=_0x549351;const _0x7a29a8=super[_0xbe1c8c(0x22d)]();return _0x7a29a8[_0xbe1c8c(0x234)]=_0x283a48=>{var _0xe02d3f=_0xbe1c8c,_0x528b48,_0x2d7d94;return(_0x2d7d94=(_0x528b48=this[_0xe02d3f(0x3a1)])==null?void 0x0:_0x528b48[_0xe02d3f(0x234)])==null?void 0x0:_0x2d7d94[_0xe02d3f(0x49b)](_0x528b48,_0x283a48);},_0x7a29a8[_0xbe1c8c(0x214)]=_0x3e3710=>{var _0x2f7c49=_0xbe1c8c,_0x13277c,_0x30f7ef;return(_0x30f7ef=(_0x13277c=this[_0x2f7c49(0x3a1)])==null?void 0x0:_0x13277c[_0x2f7c49(0x214)])==null?void 0x0:_0x30f7ef[_0x2f7c49(0x49b)](_0x13277c,_0x3e3710);},_0x7a29a8[_0xbe1c8c(0x47c)]=_0x2db2b4=>{var _0x11709c=_0xbe1c8c,_0x22e5e0,_0x2b947e;return(_0x2b947e=(_0x22e5e0=this[_0x11709c(0x3a1)])==null?void 0x0:_0x22e5e0[_0x11709c(0x47c)])==null?void 0x0:_0x2b947e[_0x11709c(0x49b)](_0x22e5e0,_0x2db2b4);},_0x7a29a8[_0xbe1c8c(0x38e)]=_0x319ca1=>{var _0x119980=_0xbe1c8c,_0x48faaf,_0x112347;return(_0x112347=(_0x48faaf=this[_0x119980(0x3a1)])==null?void 0x0:_0x48faaf[_0x119980(0x38e)])==null?void 0x0:_0x112347['call'](_0x48faaf,_0x319ca1);},_0x7a29a8[_0xbe1c8c(0x41d)]=_0x5ed006=>{var _0x561220=_0xbe1c8c,_0x56489a,_0x19af6b,_0x47a6f1;if(!((_0x56489a=this[_0x561220(0x3a1)])!=null&&_0x56489a[_0x561220(0x41d)]))throw new Error(_0x561220(0x272));return(_0x47a6f1=(_0x19af6b=this[_0x561220(0x3a1)])==null?void 0x0:_0x19af6b[_0x561220(0x41d)])==null?void 0x0:_0x47a6f1['call'](_0x19af6b,_0x5ed006);},_0x7a29a8[_0xbe1c8c(0x47d)]=_0x625d77=>{var _0x5a1cc5=_0xbe1c8c,_0x35cbef,_0x39d6d4,_0x5b965b;if(!((_0x35cbef=this[_0x5a1cc5(0x3a1)])!=null&&_0x35cbef['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5b965b=(_0x39d6d4=this['_handlerCallback'])==null?void 0x0:_0x39d6d4[_0x5a1cc5(0x47d)])==null?void 0x0:_0x5b965b['call'](_0x39d6d4,_0x625d77);},_0x7a29a8;}async[_0x549351(0x356)](){var _0x2c614c=_0x549351;const _0x1b2447=await super['_init']();return this[_0x2c614c(0x3e3)](this['_commandService'][_0x2c614c(0x46d)]((_0xae473c,_0x59a2e2)=>{var _0x1a2ebb=_0x2c614c;if(_0xae473c[_0x1a2ebb(0x1ce)]!==_0x1580f8[_0x1a2ebb(0x1b6)][_0x1a2ebb(0x292)]||_0x59a2e2!=null&&_0x59a2e2[_0x1a2ebb(0x353)]||_0x59a2e2!=null&&_0x59a2e2[_0x1a2ebb(0x3ef)]||_0xae473c['id']===_0x5650a7['RichTextEditingMutation']['id'])return;const _0x2b6281=_0xae473c[_0x1a2ebb(0x21f)];if((_0x2b6281==null?void 0x0:_0x2b6281[_0x1a2ebb(0x434)])!==this[_0x1a2ebb(0x181)])return;const _0x417a94=_0xae473c,_0x41e0be=this['_compressMutationService'][_0x1a2ebb(0x1f9)]['fetchThroughInterceptors'](this[_0x1a2ebb(0x1de)][_0x1a2ebb(0x1f9)]['getInterceptPoints']()[_0x1a2ebb(0x388)])([_0x417a94],null)||[_0x417a94];this[_0x1a2ebb(0x4af)](_0x41e0be[0x0]);})),_0x1b2447;}},_0x1ac966['DocCollaborationEntity']=_0x945426([_0x3e315c(0x3,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x3e315c(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x2b5)])),_0x3e315c(0x5,_0x1580f8['Inject'](_0x1580f8['LocaleService'])),_0x3e315c(0x6,_0x1580f8[_0x549351(0x2d9)](_0x1273bf['RevisionService'])),_0x3e315c(0x7,_0x1580f8[_0x549351(0x2d9)](_0x1667ed)),_0x3e315c(0x8,_0x1580f8[_0x549351(0x3aa)]),_0x3e315c(0x9,_0x1580f8[_0x549351(0x306)]),_0x3e315c(0xa,_0x1580f8['IPermissionService']),_0x3e315c(0xb,_0x1580f8['Optional'](_0x431ecc)),_0x3e315c(0xc,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966['DocCollaborationEntity']),_0x1ac966[_0x549351(0x3b2)]=class extends _0x1ac966[_0x549351(0x44b)]{constructor(_0x2f8dd0,_0x38bd75,_0x38f543,_0x27fd3a,_0x51afba,_0x49feb5,_0x3ab9c7,_0x402ede,_0x1aaace,_0xa54fb7,_0x371359,_0x4586db,_0x37c124,_0x2cced5){var _0x27ab1a=_0x549351;super(_0x2f8dd0,_0x38f543,_0x38bd75,_0x27fd3a,_0x51afba,_0x49feb5,_0x3ab9c7,_0x1aaace,_0xa54fb7,_0x371359,_0x4586db,_0x37c124,_0x2cced5),this[_0x27ab1a(0x181)]=_0x2f8dd0,this[_0x27ab1a(0x1ce)]=_0x38bd75,this[_0x27ab1a(0x277)]=_0x402ede;}[_0x549351(0x22d)](){var _0x106105=_0x549351;const _0x4871dd=super[_0x106105(0x22d)]();return _0x4871dd[_0x106105(0x47c)]=_0x571600=>this['_sheetTransformSelectionsService'][_0x106105(0x426)](_0x571600),_0x4871dd;}async[_0x549351(0x356)](){var _0x3b4eda=_0x549351;const _0x20f137=await super[_0x3b4eda(0x356)]();return this[_0x3b4eda(0x3e3)](this[_0x3b4eda(0x250)]['onCommandExecuted']((_0x358cca,_0x1b631f)=>{var _0x37887a=_0x3b4eda;if(_0x358cca['type']!==_0x1580f8['CommandType'][_0x37887a(0x292)]||_0x1b631f!=null&&_0x1b631f[_0x37887a(0x353)]||_0x1b631f!=null&&_0x1b631f[_0x37887a(0x3ef)])return;const _0x2ba32b=_0x358cca[_0x37887a(0x21f)];if((_0x2ba32b==null?void 0x0:_0x2ba32b[_0x37887a(0x434)])!==this[_0x37887a(0x181)])return;const _0x4d2be8=_0x358cca,_0x8f6c05=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x37887a(0x1de)]['interceptor']['getInterceptPoints']()[_0x37887a(0x388)])([_0x4d2be8],null)||[_0x4d2be8];this['_onLocalMutation'](_0x8f6c05[0x0]);})),_0x20f137;}},_0x1ac966[_0x549351(0x3b2)]=_0x945426([_0x3e315c(0x3,_0x1580f8['Inject'](_0x1580f8['Injector'])),_0x3e315c(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x2b5)])),_0x3e315c(0x5,_0x1580f8[_0x549351(0x2d9)](_0x1580f8['LocaleService'])),_0x3e315c(0x6,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x3e315c(0x7,_0x1580f8[_0x549351(0x2d9)](_0x1ac966[_0x549351(0x249)])),_0x3e315c(0x8,_0x1580f8[_0x549351(0x2d9)](_0x1667ed)),_0x3e315c(0x9,_0x1580f8[_0x549351(0x3aa)]),_0x3e315c(0xa,_0x1580f8[_0x549351(0x306)]),_0x3e315c(0xb,_0x1580f8[_0x549351(0x15f)]),_0x3e315c(0xc,_0x1580f8[_0x549351(0x24c)](_0x431ecc)),_0x3e315c(0xd,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966[_0x549351(0x3b2)]);var _0x185756=Object[_0x549351(0x3ff)],_0x1cfbfc=(_0x5c8980,_0xb0ba37,_0x2ef1ef,_0x3ff169)=>{var _0x395f8e=_0x549351;for(var _0x46f181=_0x3ff169>0x1?void 0x0:_0x3ff169?_0x185756(_0xb0ba37,_0x2ef1ef):_0xb0ba37,_0x163687=_0x5c8980[_0x395f8e(0x3ea)]-0x1,_0x26aa18;_0x163687>=0x0;_0x163687--)(_0x26aa18=_0x5c8980[_0x163687])&&(_0x46f181=_0x26aa18(_0x46f181)||_0x46f181);return _0x46f181;},_0xd51b25=(_0x2acab7,_0x2414b7)=>(_0x3374ab,_0x40a0ec)=>_0x2414b7(_0x3374ab,_0x40a0ec,_0x2acab7);_0x1ac966[_0x549351(0x201)]=class extends _0x1580f8['RxDisposable']{constructor(_0x1f4ed7,_0x4c51d4,_0x406ea6){var _0x5527cd=_0x549351;super(),_0x1ad8fe(this,_0x5527cd(0x251),new Map()),_0x1ad8fe(this,_0x5527cd(0x490),new _0xdf3790[(_0x5527cd(0x32d))]()),_0x1ad8fe(this,'entityInit$',this[_0x5527cd(0x490)][_0x5527cd(0x1f5)]()),(this[_0x5527cd(0x2c4)]=_0x1f4ed7,this[_0x5527cd(0x33e)]=_0x4c51d4,this[_0x5527cd(0x326)]=_0x406ea6,this['_init']());}[_0x549351(0x3b5)](){var _0x4add94=_0x549351;super[_0x4add94(0x3b5)](),this[_0x4add94(0x251)][_0x4add94(0x2b0)](_0x18e262=>_0x18e262[_0x4add94(0x3b5)]()),this[_0x4add94(0x251)]['clear']();}[_0x549351(0x47b)](_0x521ede){var _0x7c731b=_0x549351,_0x50a07c;return(_0x50a07c=this[_0x7c731b(0x251)][_0x7c731b(0x37d)](_0x521ede))!=null?_0x50a07c:null;}[_0x549351(0x3cc)](_0x325d2e){var _0x3e199d=_0x549351;const _0x42068f=this[_0x3e199d(0x47b)](_0x325d2e);return _0x42068f?_0xdf3790['of'](_0x42068f):this[_0x3e199d(0x490)][_0x3e199d(0x48a)](_0x2f0ffe[_0x3e199d(0x3b9)](_0x453681=>_0x453681[_0x3e199d(0x181)]===_0x325d2e));}[_0x549351(0x30b)](_0x1cd1e9){var _0x2f6f13=_0x549351;return _0xdf3790[_0x2f6f13(0x198)](this[_0x2f6f13(0x3cc)](_0x1cd1e9)[_0x2f6f13(0x48a)](_0x2f0ffe[_0x2f6f13(0x4b7)](()=>{})));}['_init'](){var _0x9abbb0=_0x549351;this[_0x9abbb0(0x326)][_0x9abbb0(0x42d)](_0x1580f8['UniverInstanceType'][_0x9abbb0(0x158)])[_0x9abbb0(0x48a)](_0xdf3790['takeUntil'](this[_0x9abbb0(0x2e3)]),_0x2f0ffe[_0x9abbb0(0x35b)](0x10))['subscribe'](async _0x5b2122=>{var _0x5637a5=_0x9abbb0;const _0x153620=_0x5b2122['getUnitId'](),_0x2e8fbe=await this['_startCollaboration'](_0x153620,_0xe53b2e[_0x5637a5(0x158)]);this['_entities'][_0x5637a5(0x4a7)](_0x153620,_0x2e8fbe);}),this[_0x9abbb0(0x326)][_0x9abbb0(0x42d)](_0x1580f8[_0x9abbb0(0x3fb)]['UNIVER_DOC'])['pipe'](_0xdf3790[_0x9abbb0(0x387)](this[_0x9abbb0(0x2e3)]),_0x2f0ffe[_0x9abbb0(0x35b)](0x10))['pipe'](_0x2f0ffe[_0x9abbb0(0x3b9)](_0x428535=>!_0x428535[_0x9abbb0(0x3cf)]()[_0x9abbb0(0x238)]('__')))['subscribe'](async _0xebc118=>{var _0x139aea=_0x9abbb0;const _0x320e2d=_0xebc118[_0x139aea(0x3cf)](),_0x3e2f6f=await this[_0x139aea(0x266)](_0x320e2d,_0xe53b2e['UNIVER_DOC']);this[_0x139aea(0x251)][_0x139aea(0x4a7)](_0x320e2d,_0x3e2f6f);}),_0xdf3790[_0x9abbb0(0x29f)](this[_0x9abbb0(0x326)][_0x9abbb0(0x450)](_0x1580f8[_0x9abbb0(0x3fb)][_0x9abbb0(0x158)]),this[_0x9abbb0(0x326)][_0x9abbb0(0x450)](_0x1580f8[_0x9abbb0(0x3fb)][_0x9abbb0(0x448)]))[_0x9abbb0(0x48a)](_0xdf3790['takeUntil'](this[_0x9abbb0(0x2e3)]))[_0x9abbb0(0x4ab)](_0x18568a=>{var _0x5c5cac=_0x9abbb0;const _0x3f1a42=_0x18568a['getUnitId'](),_0x4dc41c=this[_0x5c5cac(0x251)]['get'](_0x3f1a42);_0x4dc41c&&(_0x4dc41c[_0x5c5cac(0x3b5)](),this[_0x5c5cac(0x251)][_0x5c5cac(0x1e3)](_0x3f1a42));});}async[_0x549351(0x266)](_0x4a6dc4,_0x55b62a){var _0x72c6ed=_0x549351;const _0x5e6b8f=await this['_collabSessionService'][_0x72c6ed(0x341)](_0x4a6dc4),_0x1f679c=this['_injector']['createInstance'](this['_getCtorByUniverType'](_0x55b62a),_0x4a6dc4,_0x55b62a,_0x5e6b8f);return await _0x1f679c['init'](),this[_0x72c6ed(0x490)]['next'](_0x1f679c),_0x1f679c;}[_0x549351(0x1f8)](_0x513c8e){var _0x3523f7=_0x549351;switch(_0x513c8e){case _0xe53b2e[_0x3523f7(0x448)]:return _0x1ac966['DocCollaborationEntity'];case _0xe53b2e['UNIVER_SHEET']:return _0x1ac966[_0x3523f7(0x3b2)];default:throw new Error(_0x3523f7(0x36d)+_0x513c8e);}}},_0x1ac966[_0x549351(0x201)]=_0x1cfbfc([_0xd51b25(0x0,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0xd51b25(0x1,_0x1580f8[_0x549351(0x2d9)](_0x1ac966['CollaborationSessionService'])),_0xd51b25(0x2,_0x1580f8['IUniverInstanceService'])],_0x1ac966['CollaborationController']);var _0x12def3=Object[_0x549351(0x3ff)],_0x285ba3=(_0x2bfdc4,_0x5b0120,_0x4ac295,_0x39d938)=>{var _0x3ab5bb=_0x549351;for(var _0x42ed9c=_0x39d938>0x1?void 0x0:_0x39d938?_0x12def3(_0x5b0120,_0x4ac295):_0x5b0120,_0x59ce74=_0x2bfdc4[_0x3ab5bb(0x3ea)]-0x1,_0x253df1;_0x59ce74>=0x0;_0x59ce74--)(_0x253df1=_0x2bfdc4[_0x59ce74])&&(_0x42ed9c=_0x253df1(_0x42ed9c)||_0x42ed9c);return _0x42ed9c;},_0x5d5d73=(_0xded8ec,_0x597881)=>(_0x16f394,_0x82d2c8)=>_0x597881(_0x16f394,_0x82d2c8,_0xded8ec);const _0x154c58=_0x549351(0x463),_0x5a079c=_0x549351(0x2ea);let _0x405f9d=class extends _0x1580f8[_0x549351(0x208)]{constructor(_0x25a7ee,_0x48e97d){var _0x321029=_0x549351;super(),this[_0x321029(0x326)]=_0x25a7ee,this[_0x321029(0x475)]=_0x48e97d,this[_0x321029(0x356)]();}[_0x549351(0x356)](){var _0x36795f=_0x549351;this[_0x36795f(0x3e3)](this[_0x36795f(0x326)]['focused$'][_0x36795f(0x4ab)](()=>{var _0x52c0bb=_0x36795f,_0x108cd6;const _0x25ce33=this[_0x52c0bb(0x326)][_0x52c0bb(0x41f)]();let _0x4cf1fd=(_0x108cd6=this[_0x52c0bb(0x475)][_0x52c0bb(0x1ca)](_0x154c58))!=null?_0x108cd6:_0x5a079c;_0x25ce33 instanceof _0x1580f8[_0x52c0bb(0x343)]&&(_0x4cf1fd=_0x25ce33['name']),document[_0x52c0bb(0x369)]=_0x4cf1fd;}));}};_0x405f9d=_0x285ba3([_0x5d5d73(0x0,_0x1580f8[_0x549351(0x3ce)]),_0x5d5d73(0x1,_0x1580f8[_0x549351(0x424)])],_0x405f9d);var _0x263f2c=Object['getOwnPropertyDescriptor'],_0x662bc8=(_0x32a026,_0x5ced5a,_0x3992f7,_0x42b11f)=>{var _0x4003ab=_0x549351;for(var _0x457a81=_0x42b11f>0x1?void 0x0:_0x42b11f?_0x263f2c(_0x5ced5a,_0x3992f7):_0x5ced5a,_0x42efd9=_0x32a026[_0x4003ab(0x3ea)]-0x1,_0x1e440d;_0x42efd9>=0x0;_0x42efd9--)(_0x1e440d=_0x32a026[_0x42efd9])&&(_0x457a81=_0x1e440d(_0x457a81)||_0x457a81);return _0x457a81;},_0x2b8740=(_0x3581a5,_0x521acf)=>(_0x5df9df,_0x2d4af9)=>_0x521acf(_0x5df9df,_0x2d4af9,_0x3581a5);let _0x368e2f=class{constructor(_0x4c87d0,_0x7afcbb,_0x3dedb9){var _0x3c3953=_0x549351;this[_0x3c3953(0x475)]=_0x4c87d0,this[_0x3c3953(0x440)]=_0x7afcbb,this[_0x3c3953(0x289)]=_0x3dedb9,this[_0x3c3953(0x3f2)]();}[_0x549351(0x3f2)](){var _0x38c2d5=_0x549351;this[_0x38c2d5(0x440)][_0x38c2d5(0x188)]({'priority':0x1,'interceptor':(_0x14519a,_0x985709)=>_0x985709(_0x14519a)[_0x38c2d5(0x48a)](_0xdf3790[_0x38c2d5(0x1ea)](async _0x2769b4=>{var _0x5172bb=_0x38c2d5;const _0x29feeb=_0x2769b4;if(_0x29feeb['status']===0x191){if(typeof window>'u')throw new Error(_0x5172bb(0x351));if(window[_0x5172bb(0x142)](this[_0x5172bb(0x289)]['t'](_0x5172bb(0x1be)))){const _0x290352=window['encodeURIComponent'](window[_0x5172bb(0x48e)][_0x5172bb(0x3b4)]);window[_0x5172bb(0x48e)]['href']=this[_0x5172bb(0x26c)]()+_0x5172bb(0x21a)+_0x290352;}}return _0x29feeb;}))});}[_0x549351(0x26c)](){var _0x5d02f5=_0x549351,_0x3d7165,_0x325623;const _0x365d13=this['_configService'][_0x5d02f5(0x1ca)](_0x4fd29a),_0x44c242=this[_0x5d02f5(0x475)][_0x5d02f5(0x1ca)](_0x1db2ed);return(_0x325623=(_0x3d7165=_0x44c242==null?void 0x0:_0x44c242[_0x5d02f5(0x2af)])!=null?_0x3d7165:_0x365d13)!=null?_0x325623:_0x167b2c;}};_0x368e2f=_0x662bc8([_0x2b8740(0x0,_0x1580f8[_0x549351(0x424)]),_0x2b8740(0x1,_0x1580f8[_0x549351(0x2d9)](_0x2864cd[_0x549351(0x1ac)])),_0x2b8740(0x2,_0x1580f8['Inject'](_0x1580f8[_0x549351(0x3eb)]))],_0x368e2f);var _0x445958=Object[_0x549351(0x3ff)],_0x115b00=(_0x143285,_0x434c92,_0xb36fa5,_0x13cc8a)=>{var _0x12e3e1=_0x549351;for(var _0x1988ea=_0x13cc8a>0x1?void 0x0:_0x13cc8a?_0x445958(_0x434c92,_0xb36fa5):_0x434c92,_0x59ca44=_0x143285[_0x12e3e1(0x3ea)]-0x1,_0x237b70;_0x59ca44>=0x0;_0x59ca44--)(_0x237b70=_0x143285[_0x59ca44])&&(_0x1988ea=_0x237b70(_0x1988ea)||_0x1988ea);return _0x1988ea;},_0x4cb907=(_0x1330a9,_0x17d1e1)=>(_0x13aea4,_0x515199)=>_0x17d1e1(_0x13aea4,_0x515199,_0x1330a9);const _0x2d05be=_0x549351(0x1b5),_0x24a350=_0x549351(0x374);_0x1ac966[_0x549351(0x1b1)]=class extends _0x1580f8[_0x549351(0x208)]{constructor(_0x58d189,_0xa262ec){var _0x2e014a=_0x549351;super(),this['_HTTPService']=_0x58d189,this['_configService']=_0xa262ec,this[_0x2e014a(0x1d6)]();}['_initMergeInterceptor'](){var _0x5df4e6=_0x549351;const _0xe795b0=this;this[_0x5df4e6(0x3e3)](this[_0x5df4e6(0x204)][_0x5df4e6(0x188)]({'priority':0x3e7,'interceptor':_0x2864cd[_0x5df4e6(0x1ec)]({'isMatch'(_0x11f48a){var _0x459adc=_0x5df4e6,_0x4786a4;if(_0x11f48a[_0x459adc(0x229)]==='POST'&&((_0x4786a4=_0x11f48a[_0x459adc(0x24e)])!=null&&_0x4786a4[_0x459adc(0x441)])){const {objectID:_0x3ccee7,objectType:_0x40c480}=_0x11f48a[_0x459adc(0x24e)][_0x459adc(0x441)]||{};if(!_0x3ccee7||_0x40c480===void 0x0)return!0x1;const _0x547161=_0xe795b0[_0x459adc(0x165)]()+'/'+_0x40c480+_0x459adc(0x40d)+_0x3ccee7+_0x459adc(0x18c);if(_0x11f48a[_0x459adc(0x248)]===_0x547161)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4212c4){var _0x47b08f=_0x5df4e6,_0x8cf01;return(_0x8cf01=_0x4212c4[_0x47b08f(0x24e)])==null?void 0x0:_0x8cf01['body'];},'mergeParamsToRequest'(_0x4c11ad,_0x26c5d7){var _0x945f2d=_0x5df4e6;const _0x43687b=_0xe795b0[_0x945f2d(0x165)]()+_0x945f2d(0x35c),_0x7cdc9=_0x4c11ad['reduce']((_0xbfdcdc,_0x33c352)=>{var _0x3af32a=_0x945f2d;const {unitID:_0x236910,objectID:_0x3f21b5,objectType:_0x584a48,actions:_0x2477f3}=_0x33c352;return _0xbfdcdc[_0x236910]||(_0xbfdcdc[_0x236910]={}),_0xbfdcdc[_0x236910][_0x3f21b5]||(_0xbfdcdc[_0x236910][_0x3f21b5]={'objectID':_0x3f21b5,'objectType':_0x584a48,'actions':[]}),_0xbfdcdc[_0x236910][_0x3f21b5][_0x3af32a(0x2ec)][_0x3af32a(0x2c6)](..._0x2477f3),_0xbfdcdc;},{}),_0x1ada7c=[];for(const _0x27dd5c in _0x7cdc9)for(const _0x2f5baf in _0x7cdc9[_0x27dd5c]){const {actions:_0x32c9bb,objectType:_0x3a4e4c}=_0x7cdc9[_0x27dd5c][_0x2f5baf],_0xc42f55=[...new Set(_0x32c9bb)];_0x1ada7c['push']({'unitID':_0x27dd5c,'objectID':_0x2f5baf,'objectType':_0x3a4e4c,'actions':_0xc42f55});}return new _0x2864cd[(_0x945f2d(0x324))](_0x945f2d(0x2e0),_0x43687b,{'headers':_0x26c5d7[_0x945f2d(0x2a0)],'withCredentials':_0x26c5d7[_0x945f2d(0x1e8)],'responseType':_0x26c5d7[_0x945f2d(0x19f)],'body':{'requests':_0x1ada7c}});}},{'distributeResult'(_0x107ce7,_0x10b89e){const {objectActions:_0x5880f8}=_0x107ce7;return _0x10b89e['map'](_0x4e6ab8=>{var _0x4f60a9=_0x8cbe;const {unitID:_0x241230,objectID:_0x3776e6,actions:_0x509f58}=_0x4e6ab8,_0x40dbf2=_0x5880f8[_0x4f60a9(0x4c7)](_0x15f0f1=>_0x15f0f1[_0x4f60a9(0x181)]===_0x241230&&_0x15f0f1[_0x4f60a9(0x287)]===_0x3776e6),_0x4000f5=_0x509f58[_0x4f60a9(0x4b7)](_0x439d59=>_0x40dbf2==null?void 0x0:_0x40dbf2['actions'][_0x4f60a9(0x4c7)](_0xf54059=>_0xf54059[_0x4f60a9(0x2bc)]===_0x439d59))[_0x4f60a9(0x3b9)](_0x4117d3=>!!_0x4117d3);return{'config':_0x4e6ab8,'result':{'actions':_0x4000f5,'error':_0x107ce7[_0x4f60a9(0x4aa)]}};});}})}));}[_0x549351(0x165)](){var _0x159749=_0x549351,_0x36d37a,_0x3173a9;const _0x17b683=this['_configService'][_0x159749(0x1ca)](_0x2d05be),_0x45284f=this[_0x159749(0x475)][_0x159749(0x1ca)](_0x1db2ed);return(_0x3173a9=(_0x36d37a=_0x45284f==null?void 0x0:_0x45284f[_0x159749(0x377)])!=null?_0x36d37a:_0x17b683)!=null?_0x3173a9:_0x24a350;}async[_0x549351(0x17c)](_0x101d88){var _0x19f902=_0x549351;const _0x431428=this[_0x19f902(0x165)]()+'/'+_0x101d88[_0x19f902(0x30a)]+_0x19f902(0x479);return(await this['_HTTPService'][_0x19f902(0x315)](_0x431428,{'body':_0x101d88}))[_0x19f902(0x441)][_0x19f902(0x287)]||'';}async['list'](_0x35b46e){var _0x2100da=_0x549351;const _0x7edc8d=this[_0x2100da(0x165)]()+'/-/object/list';return(await this[_0x2100da(0x204)][_0x2100da(0x315)](_0x7edc8d,{'body':_0x35b46e}))[_0x2100da(0x441)]['objects'];}async[_0x549351(0x170)](_0x5ae54f){var _0x409856=_0x549351,_0x52ebde,_0x109ccf;const _0x420c44=this['_getAPIPrefixPath']()+'/'+_0x5ae54f[_0x409856(0x30a)]+_0x409856(0x40d)+_0x5ae54f['objectID'],_0x5740d0=await this[_0x409856(0x204)][_0x409856(0x270)](_0x420c44,{'body':_0x5ae54f});if(((_0x109ccf=(_0x52ebde=_0x5740d0==null?void 0x0:_0x5740d0['body'])==null?void 0x0:_0x52ebde[_0x409856(0x4aa)])==null?void 0x0:_0x109ccf[_0x409856(0x22c)])!==0x1)throw new Error(_0x409856(0x264));}async[_0x549351(0x3fd)](_0x1202ee){var _0x1368d8=_0x549351;const _0x43a49f=this[_0x1368d8(0x165)]()+'/'+_0x1202ee[_0x1368d8(0x30a)]+_0x1368d8(0x40d)+_0x1202ee['objectID']+_0x1368d8(0x18c);return(await this['_HTTPService'][_0x1368d8(0x315)](_0x43a49f,{'body':_0x1202ee}))['body']['actions'];}async['batchAllowed'](_0x2610c7){var _0x13cf0e=_0x549351;const _0xacefcb=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x13cf0e(0x204)][_0x13cf0e(0x315)](_0xacefcb,{'body':{'requests':_0x2610c7}}))[_0x13cf0e(0x441)][_0x13cf0e(0x3f7)];}async['listRoles'](_0x39beba){var _0xf2c8b8=_0x549351;const _0x1e40f2=this[_0xf2c8b8(0x165)]()+'/'+_0x39beba[_0xf2c8b8(0x30a)]+_0xf2c8b8(0x2b4),_0x3b0287=await this[_0xf2c8b8(0x204)][_0xf2c8b8(0x315)](_0x1e40f2,{'body':_0x39beba});return{'roles':_0x3b0287[_0xf2c8b8(0x441)]['roles'],'actions':_0x3b0287[_0xf2c8b8(0x441)][_0xf2c8b8(0x2ec)]};}async[_0x549351(0x1e4)](_0x176456){var _0x1694df=_0x549351;const _0x5dfca7=this[_0x1694df(0x165)]()+'/collaborator';await this['_HTTPService'][_0x1694df(0x1e3)](_0x5dfca7,{'params':{'collaboratorID':_0x176456[_0x1694df(0x36e)],'objectID':_0x176456[_0x1694df(0x287)],'unitID':_0x176456[_0x1694df(0x181)]}});}async['updateCollaborator'](_0x4d3bf4){var _0x865585=_0x549351;const _0x4a64df=this['_getAPIPrefixPath']()+_0x865585(0x436);await this[_0x865585(0x204)][_0x865585(0x308)](_0x4a64df,{'body':_0x4d3bf4});}async[_0x549351(0x3f8)](_0x3d0118){var _0x57c384=_0x549351;const _0x25c641=this[_0x57c384(0x165)]()+_0x57c384(0x436);await this[_0x57c384(0x204)]['post'](_0x25c641,{'body':_0x3d0118});}async[_0x549351(0x372)](_0x1d2520){var _0xe722f7=_0x549351;const _0x5a3286=this['_getAPIPrefixPath']()+_0xe722f7(0x436);return(await this[_0xe722f7(0x204)][_0xe722f7(0x37d)](_0x5a3286,{'params':{'objectID':_0x1d2520[_0xe722f7(0x287)],'unitID':_0x1d2520[_0xe722f7(0x181)]}}))[_0xe722f7(0x441)]['collaborators'];}async[_0x549351(0x3e5)](_0x5debe5){var _0xbfe54=_0x549351;const _0xe08e6e=this['_getAPIPrefixPath']()+_0xbfe54(0x436);await this[_0xbfe54(0x204)][_0xbfe54(0x270)](_0xe08e6e,{'body':_0x5debe5});}},_0x1ac966[_0x549351(0x1b1)]=_0x115b00([_0x4cb907(0x0,_0x1580f8[_0x549351(0x2d9)](_0x2864cd[_0x549351(0x1ac)])),_0x4cb907(0x1,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x424)]))],_0x1ac966[_0x549351(0x1b1)]);var _0x5ad26d=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x48874a(_0x451d42){var _0x38260c=_0x549351;return _0x451d42&&_0x451d42[_0x38260c(0x362)]&&Object[_0x38260c(0x4a0)][_0x38260c(0x285)][_0x38260c(0x49b)](_0x451d42,_0x38260c(0x366))?_0x451d42[_0x38260c(0x366)]:_0x451d42;}var _0x29552e={'exports':{}};function _0x2b219f(_0x172e8b){var _0x3cf249=_0x549351;throw new Error(_0x3cf249(0x33c)+_0x172e8b+_0x3cf249(0x27d));}var _0x127833={'exports':{}},_0x2c4a8f=_0x127833['exports'],_0x4bde3f;function _0x390438(){var _0x371cea=_0x549351;return _0x4bde3f||(_0x4bde3f=0x1,function(_0x14b55e,_0x5d63bc){(function(_0x199eea,_0x5db8ab){var _0x38f811=_0x8cbe;_0x14b55e[_0x38f811(0x246)]=_0x5db8ab();}(_0x2c4a8f,function(){var _0x2b1c35=_0x2b1c35||function(_0x35a810,_0x376fe4){var _0x4b3a77=_0x8cbe,_0x7a67f4;if(typeof window<'u'&&window[_0x4b3a77(0x1c0)]&&(_0x7a67f4=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x7a67f4=self[_0x4b3a77(0x1c0)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x7a67f4=globalThis['crypto']),!_0x7a67f4&&typeof window<'u'&&window['msCrypto']&&(_0x7a67f4=window[_0x4b3a77(0x154)]),!_0x7a67f4&&typeof _0x5ad26d<'u'&&_0x5ad26d[_0x4b3a77(0x1c0)]&&(_0x7a67f4=_0x5ad26d[_0x4b3a77(0x1c0)]),!_0x7a67f4&&typeof _0x2b219f==_0x4b3a77(0x43a))try{_0x7a67f4=require(_0x4b3a77(0x1c0));}catch{}var _0xe44674=function(){var _0x522d0b=_0x4b3a77;if(_0x7a67f4){if(typeof _0x7a67f4[_0x522d0b(0x33a)]==_0x522d0b(0x43a))try{return _0x7a67f4['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x7a67f4['randomBytes']==_0x522d0b(0x43a))try{return _0x7a67f4[_0x522d0b(0x26e)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x522d0b(0x446));},_0xcecbe7=Object['create']||(function(){function _0x517e8b(){}return function(_0x256f36){var _0x75ca29=_0x8cbe,_0x255da6;return _0x517e8b[_0x75ca29(0x4a0)]=_0x256f36,_0x255da6=new _0x517e8b(),_0x517e8b[_0x75ca29(0x4a0)]=null,_0x255da6;};}()),_0x552d03={},_0x33f24b=_0x552d03['lib']={},_0x57edfc=_0x33f24b[_0x4b3a77(0x291)]=(function(){return{'extend':function(_0x24ab41){var _0x1659eb=_0x8cbe,_0x4e7deb=_0xcecbe7(this);return _0x24ab41&&_0x4e7deb[_0x1659eb(0x478)](_0x24ab41),(!_0x4e7deb[_0x1659eb(0x285)](_0x1659eb(0x3f2))||this[_0x1659eb(0x3f2)]===_0x4e7deb[_0x1659eb(0x3f2)])&&(_0x4e7deb[_0x1659eb(0x3f2)]=function(){var _0x3a029c=_0x1659eb;_0x4e7deb['$super'][_0x3a029c(0x3f2)]['apply'](this,arguments);}),_0x4e7deb[_0x1659eb(0x3f2)][_0x1659eb(0x4a0)]=_0x4e7deb,_0x4e7deb[_0x1659eb(0x4ca)]=this,_0x4e7deb;},'create':function(){var _0x1c2187=_0x8cbe,_0xf8dd38=this[_0x1c2187(0x2bf)]();return _0xf8dd38[_0x1c2187(0x3f2)][_0x1c2187(0x1e1)](_0xf8dd38,arguments),_0xf8dd38;},'init':function(){},'mixIn':function(_0x65dcc7){var _0xf0b1d1=_0x8cbe;for(var _0x22d371 in _0x65dcc7)_0x65dcc7[_0xf0b1d1(0x285)](_0x22d371)&&(this[_0x22d371]=_0x65dcc7[_0x22d371]);_0x65dcc7[_0xf0b1d1(0x285)](_0xf0b1d1(0x27a))&&(this['toString']=_0x65dcc7[_0xf0b1d1(0x27a)]);},'clone':function(){var _0x4f971d=_0x8cbe;return this['init'][_0x4f971d(0x4a0)][_0x4f971d(0x2bf)](this);}};}()),_0x4a3969=_0x33f24b['WordArray']=_0x57edfc[_0x4b3a77(0x2bf)]({'init':function(_0x1f38e0,_0x4d6a25){var _0x52880c=_0x4b3a77;_0x1f38e0=this[_0x52880c(0x144)]=_0x1f38e0||[],_0x4d6a25!=_0x376fe4?this[_0x52880c(0x37f)]=_0x4d6a25:this[_0x52880c(0x37f)]=_0x1f38e0[_0x52880c(0x3ea)]*0x4;},'toString':function(_0x4014a1){return(_0x4014a1||_0x1679de)['stringify'](this);},'concat':function(_0x329380){var _0x42343a=_0x4b3a77,_0x109bbb=this[_0x42343a(0x144)],_0x48e420=_0x329380['words'],_0x16ab55=this[_0x42343a(0x37f)],_0x584b8c=_0x329380['sigBytes'];if(this[_0x42343a(0x18f)](),_0x16ab55%0x4)for(var _0xe29d98=0x0;_0xe29d98<_0x584b8c;_0xe29d98++){var _0x51d400=_0x48e420[_0xe29d98>>>0x2]>>>0x18-_0xe29d98%0x4*0x8&0xff;_0x109bbb[_0x16ab55+_0xe29d98>>>0x2]|=_0x51d400<<0x18-(_0x16ab55+_0xe29d98)%0x4*0x8;}else{for(var _0x904092=0x0;_0x904092<_0x584b8c;_0x904092+=0x4)_0x109bbb[_0x16ab55+_0x904092>>>0x2]=_0x48e420[_0x904092>>>0x2];}return this[_0x42343a(0x37f)]+=_0x584b8c,this;},'clamp':function(){var _0xbfacc4=_0x4b3a77,_0x18405=this[_0xbfacc4(0x144)],_0x1d71a9=this[_0xbfacc4(0x37f)];_0x18405[_0x1d71a9>>>0x2]&=0xffffffff<<0x20-_0x1d71a9%0x4*0x8,_0x18405[_0xbfacc4(0x3ea)]=_0x35a810[_0xbfacc4(0x442)](_0x1d71a9/0x4);},'clone':function(){var _0x43527b=_0x4b3a77,_0x43009c=_0x57edfc[_0x43527b(0x486)]['call'](this);return _0x43009c[_0x43527b(0x144)]=this[_0x43527b(0x144)][_0x43527b(0x1af)](0x0),_0x43009c;},'random':function(_0x234bb8){var _0x1e054c=_0x4b3a77;for(var _0xd351ba=[],_0x480665=0x0;_0x480665<_0x234bb8;_0x480665+=0x4)_0xd351ba['push'](_0xe44674());return new _0x4a3969[(_0x1e054c(0x3f2))](_0xd351ba,_0x234bb8);}}),_0x1c3fa8=_0x552d03['enc']={},_0x1679de=_0x1c3fa8[_0x4b3a77(0x36a)]={'stringify':function(_0x2da5fe){var _0xb8c149=_0x4b3a77;for(var _0x5a5d38=_0x2da5fe['words'],_0x457165=_0x2da5fe['sigBytes'],_0x1c0d98=[],_0x12834a=0x0;_0x12834a<_0x457165;_0x12834a++){var _0x44ddc8=_0x5a5d38[_0x12834a>>>0x2]>>>0x18-_0x12834a%0x4*0x8&0xff;_0x1c0d98[_0xb8c149(0x2c6)]((_0x44ddc8>>>0x4)[_0xb8c149(0x27a)](0x10)),_0x1c0d98[_0xb8c149(0x2c6)]((_0x44ddc8&0xf)[_0xb8c149(0x27a)](0x10));}return _0x1c0d98[_0xb8c149(0x347)]('');},'parse':function(_0x367efb){var _0xae73a4=_0x4b3a77;for(var _0x273e1d=_0x367efb[_0xae73a4(0x3ea)],_0x3c00a5=[],_0x4b0b7d=0x0;_0x4b0b7d<_0x273e1d;_0x4b0b7d+=0x2)_0x3c00a5[_0x4b0b7d>>>0x3]|=parseInt(_0x367efb[_0xae73a4(0x18a)](_0x4b0b7d,0x2),0x10)<<0x18-_0x4b0b7d%0x8*0x4;return new _0x4a3969[(_0xae73a4(0x3f2))](_0x3c00a5,_0x273e1d/0x2);}},_0x3d9a23=_0x1c3fa8['Latin1']={'stringify':function(_0x166558){var _0x49b129=_0x4b3a77;for(var _0x3952d2=_0x166558[_0x49b129(0x144)],_0x4757d5=_0x166558[_0x49b129(0x37f)],_0x587e60=[],_0x435cdb=0x0;_0x435cdb<_0x4757d5;_0x435cdb++){var _0x51ab3e=_0x3952d2[_0x435cdb>>>0x2]>>>0x18-_0x435cdb%0x4*0x8&0xff;_0x587e60['push'](String[_0x49b129(0x3b8)](_0x51ab3e));}return _0x587e60[_0x49b129(0x347)]('');},'parse':function(_0x593f74){var _0xfc2de0=_0x4b3a77;for(var _0x264b12=_0x593f74[_0xfc2de0(0x3ea)],_0x3297ec=[],_0x39e170=0x0;_0x39e170<_0x264b12;_0x39e170++)_0x3297ec[_0x39e170>>>0x2]|=(_0x593f74[_0xfc2de0(0x1a5)](_0x39e170)&0xff)<<0x18-_0x39e170%0x4*0x8;return new _0x4a3969[(_0xfc2de0(0x3f2))](_0x3297ec,_0x264b12);}},_0x3000ac=_0x1c3fa8[_0x4b3a77(0x493)]={'stringify':function(_0x230965){var _0x5099e4=_0x4b3a77;try{return decodeURIComponent(escape(_0x3d9a23[_0x5099e4(0x282)](_0x230965)));}catch{throw new Error(_0x5099e4(0x3f9));}},'parse':function(_0xf8d39e){return _0x3d9a23['parse'](unescape(encodeURIComponent(_0xf8d39e)));}},_0x48927b=_0x33f24b['BufferedBlockAlgorithm']=_0x57edfc[_0x4b3a77(0x2bf)]({'reset':function(){var _0x1de64b=_0x4b3a77;this[_0x1de64b(0x3ab)]=new _0x4a3969['init'](),this['_nDataBytes']=0x0;},'_append':function(_0xaf58a1){var _0x299588=_0x4b3a77;typeof _0xaf58a1==_0x299588(0x2e8)&&(_0xaf58a1=_0x3000ac[_0x299588(0x4b4)](_0xaf58a1)),this[_0x299588(0x3ab)]['concat'](_0xaf58a1),this[_0x299588(0x2e2)]+=_0xaf58a1[_0x299588(0x37f)];},'_process':function(_0xc62acd){var _0x16fa31=_0x4b3a77,_0x11faef,_0x149cfb=this[_0x16fa31(0x3ab)],_0x41950b=_0x149cfb[_0x16fa31(0x144)],_0x30ef62=_0x149cfb[_0x16fa31(0x37f)],_0x5450b9=this[_0x16fa31(0x36c)],_0x2579e5=_0x5450b9*0x4,_0x557ea0=_0x30ef62/_0x2579e5;_0xc62acd?_0x557ea0=_0x35a810[_0x16fa31(0x442)](_0x557ea0):_0x557ea0=_0x35a810['max']((_0x557ea0|0x0)-this[_0x16fa31(0x1dd)],0x0);var _0x180a8d=_0x557ea0*_0x5450b9,_0x37ddf6=_0x35a810[_0x16fa31(0x1bf)](_0x180a8d*0x4,_0x30ef62);if(_0x180a8d){for(var _0x764a0=0x0;_0x764a0<_0x180a8d;_0x764a0+=_0x5450b9)this[_0x16fa31(0x1e0)](_0x41950b,_0x764a0);_0x11faef=_0x41950b[_0x16fa31(0x1cb)](0x0,_0x180a8d),_0x149cfb[_0x16fa31(0x37f)]-=_0x37ddf6;}return new _0x4a3969['init'](_0x11faef,_0x37ddf6);},'clone':function(){var _0x1c99db=_0x4b3a77,_0xc9af4e=_0x57edfc[_0x1c99db(0x486)][_0x1c99db(0x49b)](this);return _0xc9af4e[_0x1c99db(0x3ab)]=this[_0x1c99db(0x3ab)]['clone'](),_0xc9af4e;},'_minBufferSize':0x0});_0x33f24b[_0x4b3a77(0x3a3)]=_0x48927b[_0x4b3a77(0x2bf)]({'cfg':_0x57edfc[_0x4b3a77(0x2bf)](),'init':function(_0x48dc07){var _0x15f4e9=_0x4b3a77;this[_0x15f4e9(0x384)]=this[_0x15f4e9(0x384)][_0x15f4e9(0x2bf)](_0x48dc07),this['reset']();},'reset':function(){var _0x395ba5=_0x4b3a77;_0x48927b[_0x395ba5(0x4ba)][_0x395ba5(0x49b)](this),this[_0x395ba5(0x39d)]();},'update':function(_0x2968a2){var _0x48270b=_0x4b3a77;return this[_0x48270b(0x1e9)](_0x2968a2),this[_0x48270b(0x145)](),this;},'finalize':function(_0x5df78c){var _0x5737d1=_0x4b3a77;_0x5df78c&&this['_append'](_0x5df78c);var _0x1cba7d=this[_0x5737d1(0x17e)]();return _0x1cba7d;},'blockSize':0x10,'_createHelper':function(_0x493be3){return function(_0x5b42a3,_0x5bfb16){var _0x4e6e7d=_0x8cbe;return new _0x493be3[(_0x4e6e7d(0x3f2))](_0x5bfb16)[_0x4e6e7d(0x1c3)](_0x5b42a3);};},'_createHmacHelper':function(_0xb60257){return function(_0x1d28d1,_0x4f9ffd){return new _0xa88efc['HMAC']['init'](_0xb60257,_0x4f9ffd)['finalize'](_0x1d28d1);};}});var _0xa88efc=_0x552d03['algo']={};return _0x552d03;}(Math);return _0x2b1c35;}));}(_0x127833)),_0x127833[_0x371cea(0x246)];}var _0x5257a2={'exports':{}},_0x4bed87=_0x5257a2[_0x549351(0x246)],_0x20e93d;function _0xcb036b(){var _0x5ad02f=_0x549351;return _0x20e93d||(_0x20e93d=0x1,function(_0x5a9f50,_0x465069){(function(_0x576ad5,_0x2a799f){var _0x3019c7=_0x8cbe;_0x5a9f50[_0x3019c7(0x246)]=_0x2a799f(_0x390438());}(_0x4bed87,function(_0x26c85f){var _0x4c381f=_0x8cbe;return(function(){var _0x5ecbfd=_0x8cbe,_0x1f449c=_0x26c85f,_0x56fcc6=_0x1f449c['lib'],_0x347516=_0x56fcc6[_0x5ecbfd(0x2cb)],_0x5af538=_0x1f449c[_0x5ecbfd(0x23c)];_0x5af538['Base64']={'stringify':function(_0x3fb909){var _0x3acfa6=_0x5ecbfd,_0x16cc4e=_0x3fb909[_0x3acfa6(0x144)],_0x426c41=_0x3fb909['sigBytes'],_0xd42dd6=this['_map'];_0x3fb909['clamp']();for(var _0x350f70=[],_0x320489=0x0;_0x320489<_0x426c41;_0x320489+=0x3)for(var _0x344b35=_0x16cc4e[_0x320489>>>0x2]>>>0x18-_0x320489%0x4*0x8&0xff,_0x8b761f=_0x16cc4e[_0x320489+0x1>>>0x2]>>>0x18-(_0x320489+0x1)%0x4*0x8&0xff,_0x48a3a7=_0x16cc4e[_0x320489+0x2>>>0x2]>>>0x18-(_0x320489+0x2)%0x4*0x8&0xff,_0x4d4dce=_0x344b35<<0x10|_0x8b761f<<0x8|_0x48a3a7,_0x57caa6=0x0;_0x57caa6<0x4&&_0x320489+_0x57caa6*0.75<_0x426c41;_0x57caa6++)_0x350f70['push'](_0xd42dd6[_0x3acfa6(0x156)](_0x4d4dce>>>0x6*(0x3-_0x57caa6)&0x3f));var _0x1f4bb4=_0xd42dd6[_0x3acfa6(0x156)](0x40);if(_0x1f4bb4){for(;_0x350f70['length']%0x4;)_0x350f70[_0x3acfa6(0x2c6)](_0x1f4bb4);}return _0x350f70[_0x3acfa6(0x347)]('');},'parse':function(_0x365300){var _0x5cae79=_0x5ecbfd,_0x2c2492=_0x365300['length'],_0x4ea637=this[_0x5cae79(0x21c)],_0x2bf16b=this[_0x5cae79(0x13e)];if(!_0x2bf16b){_0x2bf16b=this[_0x5cae79(0x13e)]=[];for(var _0x3a3e26=0x0;_0x3a3e26<_0x4ea637[_0x5cae79(0x3ea)];_0x3a3e26++)_0x2bf16b[_0x4ea637[_0x5cae79(0x1a5)](_0x3a3e26)]=_0x3a3e26;}var _0x1edbe5=_0x4ea637[_0x5cae79(0x156)](0x40);if(_0x1edbe5){var _0x5bdaa0=_0x365300[_0x5cae79(0x420)](_0x1edbe5);_0x5bdaa0!==-0x1&&(_0x2c2492=_0x5bdaa0);}return _0x5f3f3e(_0x365300,_0x2c2492,_0x2bf16b);},'_map':_0x5ecbfd(0x336)};function _0x5f3f3e(_0x324432,_0x38ee14,_0x2de7dc){var _0x222b2f=_0x5ecbfd;for(var _0x1149b0=[],_0x14bb4d=0x0,_0x5c4c83=0x0;_0x5c4c83<_0x38ee14;_0x5c4c83++)if(_0x5c4c83%0x4){var _0x3f6eea=_0x2de7dc[_0x324432['charCodeAt'](_0x5c4c83-0x1)]<<_0x5c4c83%0x4*0x2,_0x2e902e=_0x2de7dc[_0x324432[_0x222b2f(0x1a5)](_0x5c4c83)]>>>0x6-_0x5c4c83%0x4*0x2,_0x5005c3=_0x3f6eea|_0x2e902e;_0x1149b0[_0x14bb4d>>>0x2]|=_0x5005c3<<0x18-_0x14bb4d%0x4*0x8,_0x14bb4d++;}return _0x347516[_0x222b2f(0x17c)](_0x1149b0,_0x14bb4d);}}()),_0x26c85f['enc'][_0x4c381f(0x38d)];}));}(_0x5257a2)),_0x5257a2[_0x5ad02f(0x246)];}var _0x2bb04c={'exports':{}},_0x33d512=_0x2bb04c[_0x549351(0x246)],_0x21f9db;function _0x5436a9(){var _0x17869b=_0x549351;return _0x21f9db||(_0x21f9db=0x1,function(_0x58cddb,_0x5772bd){(function(_0xfa9e94,_0x2f9a8b){var _0x34b4d2=_0x8cbe;_0x58cddb[_0x34b4d2(0x246)]=_0x2f9a8b(_0x390438());}(_0x33d512,function(_0x341164){return function(_0x4dd61b){var _0x465eed=_0x8cbe,_0x24e0da=_0x341164,_0x45744b=_0x24e0da[_0x465eed(0x302)],_0x1167d8=_0x45744b['WordArray'],_0x37fd39=_0x45744b['Hasher'],_0x715c58=_0x24e0da['algo'],_0x5c9699=[];(function(){var _0x4949d2=_0x465eed;for(var _0x5ed6f6=0x0;_0x5ed6f6<0x40;_0x5ed6f6++)_0x5c9699[_0x5ed6f6]=_0x4dd61b[_0x4949d2(0x407)](_0x4dd61b[_0x4949d2(0x4bf)](_0x5ed6f6+0x1))*0x100000000|0x0;}());var _0x671b0e=_0x715c58[_0x465eed(0x296)]=_0x37fd39[_0x465eed(0x2bf)]({'_doReset':function(){var _0x469c66=_0x465eed;this[_0x469c66(0x3be)]=new _0x1167d8[(_0x469c66(0x3f2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xc4bc48,_0x17eb39){var _0x34fbf9=_0x465eed;for(var _0x1e2b9f=0x0;_0x1e2b9f<0x10;_0x1e2b9f++){var _0x5644c9=_0x17eb39+_0x1e2b9f,_0x17267e=_0xc4bc48[_0x5644c9];_0xc4bc48[_0x5644c9]=(_0x17267e<<0x8|_0x17267e>>>0x18)&0xff00ff|(_0x17267e<<0x18|_0x17267e>>>0x8)&0xff00ff00;}var _0x2419c3=this[_0x34fbf9(0x3be)]['words'],_0x1b7c22=_0xc4bc48[_0x17eb39+0x0],_0xac0590=_0xc4bc48[_0x17eb39+0x1],_0x2d1392=_0xc4bc48[_0x17eb39+0x2],_0x498827=_0xc4bc48[_0x17eb39+0x3],_0x496b9f=_0xc4bc48[_0x17eb39+0x4],_0xab316d=_0xc4bc48[_0x17eb39+0x5],_0x5e12f7=_0xc4bc48[_0x17eb39+0x6],_0x2a2e16=_0xc4bc48[_0x17eb39+0x7],_0x1a6432=_0xc4bc48[_0x17eb39+0x8],_0x562054=_0xc4bc48[_0x17eb39+0x9],_0x2b9c62=_0xc4bc48[_0x17eb39+0xa],_0x153ec5=_0xc4bc48[_0x17eb39+0xb],_0x2d30e3=_0xc4bc48[_0x17eb39+0xc],_0x37e287=_0xc4bc48[_0x17eb39+0xd],_0x3e828f=_0xc4bc48[_0x17eb39+0xe],_0x3a5d82=_0xc4bc48[_0x17eb39+0xf],_0x18ba2b=_0x2419c3[0x0],_0x3b9e82=_0x2419c3[0x1],_0x481e3f=_0x2419c3[0x2],_0x46269a=_0x2419c3[0x3];_0x18ba2b=_0x4b702b(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x1b7c22,0x7,_0x5c9699[0x0]),_0x46269a=_0x4b702b(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0xac0590,0xc,_0x5c9699[0x1]),_0x481e3f=_0x4b702b(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x2d1392,0x11,_0x5c9699[0x2]),_0x3b9e82=_0x4b702b(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x498827,0x16,_0x5c9699[0x3]),_0x18ba2b=_0x4b702b(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x496b9f,0x7,_0x5c9699[0x4]),_0x46269a=_0x4b702b(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0xab316d,0xc,_0x5c9699[0x5]),_0x481e3f=_0x4b702b(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x5e12f7,0x11,_0x5c9699[0x6]),_0x3b9e82=_0x4b702b(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x2a2e16,0x16,_0x5c9699[0x7]),_0x18ba2b=_0x4b702b(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x1a6432,0x7,_0x5c9699[0x8]),_0x46269a=_0x4b702b(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x562054,0xc,_0x5c9699[0x9]),_0x481e3f=_0x4b702b(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x2b9c62,0x11,_0x5c9699[0xa]),_0x3b9e82=_0x4b702b(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x153ec5,0x16,_0x5c9699[0xb]),_0x18ba2b=_0x4b702b(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x2d30e3,0x7,_0x5c9699[0xc]),_0x46269a=_0x4b702b(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x37e287,0xc,_0x5c9699[0xd]),_0x481e3f=_0x4b702b(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x3e828f,0x11,_0x5c9699[0xe]),_0x3b9e82=_0x4b702b(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x3a5d82,0x16,_0x5c9699[0xf]),_0x18ba2b=_0x1759ce(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0xac0590,0x5,_0x5c9699[0x10]),_0x46269a=_0x1759ce(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x5e12f7,0x9,_0x5c9699[0x11]),_0x481e3f=_0x1759ce(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x153ec5,0xe,_0x5c9699[0x12]),_0x3b9e82=_0x1759ce(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x1b7c22,0x14,_0x5c9699[0x13]),_0x18ba2b=_0x1759ce(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0xab316d,0x5,_0x5c9699[0x14]),_0x46269a=_0x1759ce(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x2b9c62,0x9,_0x5c9699[0x15]),_0x481e3f=_0x1759ce(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x3a5d82,0xe,_0x5c9699[0x16]),_0x3b9e82=_0x1759ce(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x496b9f,0x14,_0x5c9699[0x17]),_0x18ba2b=_0x1759ce(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x562054,0x5,_0x5c9699[0x18]),_0x46269a=_0x1759ce(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x3e828f,0x9,_0x5c9699[0x19]),_0x481e3f=_0x1759ce(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x498827,0xe,_0x5c9699[0x1a]),_0x3b9e82=_0x1759ce(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x1a6432,0x14,_0x5c9699[0x1b]),_0x18ba2b=_0x1759ce(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x37e287,0x5,_0x5c9699[0x1c]),_0x46269a=_0x1759ce(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x2d1392,0x9,_0x5c9699[0x1d]),_0x481e3f=_0x1759ce(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x2a2e16,0xe,_0x5c9699[0x1e]),_0x3b9e82=_0x1759ce(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x2d30e3,0x14,_0x5c9699[0x1f]),_0x18ba2b=_0x1a2aa8(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0xab316d,0x4,_0x5c9699[0x20]),_0x46269a=_0x1a2aa8(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x1a6432,0xb,_0x5c9699[0x21]),_0x481e3f=_0x1a2aa8(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x153ec5,0x10,_0x5c9699[0x22]),_0x3b9e82=_0x1a2aa8(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x3e828f,0x17,_0x5c9699[0x23]),_0x18ba2b=_0x1a2aa8(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0xac0590,0x4,_0x5c9699[0x24]),_0x46269a=_0x1a2aa8(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x496b9f,0xb,_0x5c9699[0x25]),_0x481e3f=_0x1a2aa8(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x2a2e16,0x10,_0x5c9699[0x26]),_0x3b9e82=_0x1a2aa8(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x2b9c62,0x17,_0x5c9699[0x27]),_0x18ba2b=_0x1a2aa8(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x37e287,0x4,_0x5c9699[0x28]),_0x46269a=_0x1a2aa8(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x1b7c22,0xb,_0x5c9699[0x29]),_0x481e3f=_0x1a2aa8(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x498827,0x10,_0x5c9699[0x2a]),_0x3b9e82=_0x1a2aa8(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x5e12f7,0x17,_0x5c9699[0x2b]),_0x18ba2b=_0x1a2aa8(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x562054,0x4,_0x5c9699[0x2c]),_0x46269a=_0x1a2aa8(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x2d30e3,0xb,_0x5c9699[0x2d]),_0x481e3f=_0x1a2aa8(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x3a5d82,0x10,_0x5c9699[0x2e]),_0x3b9e82=_0x1a2aa8(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x2d1392,0x17,_0x5c9699[0x2f]),_0x18ba2b=_0x5e636f(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x1b7c22,0x6,_0x5c9699[0x30]),_0x46269a=_0x5e636f(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x2a2e16,0xa,_0x5c9699[0x31]),_0x481e3f=_0x5e636f(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x3e828f,0xf,_0x5c9699[0x32]),_0x3b9e82=_0x5e636f(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0xab316d,0x15,_0x5c9699[0x33]),_0x18ba2b=_0x5e636f(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x2d30e3,0x6,_0x5c9699[0x34]),_0x46269a=_0x5e636f(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x498827,0xa,_0x5c9699[0x35]),_0x481e3f=_0x5e636f(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x2b9c62,0xf,_0x5c9699[0x36]),_0x3b9e82=_0x5e636f(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0xac0590,0x15,_0x5c9699[0x37]),_0x18ba2b=_0x5e636f(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x1a6432,0x6,_0x5c9699[0x38]),_0x46269a=_0x5e636f(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x3a5d82,0xa,_0x5c9699[0x39]),_0x481e3f=_0x5e636f(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x5e12f7,0xf,_0x5c9699[0x3a]),_0x3b9e82=_0x5e636f(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x37e287,0x15,_0x5c9699[0x3b]),_0x18ba2b=_0x5e636f(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x496b9f,0x6,_0x5c9699[0x3c]),_0x46269a=_0x5e636f(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x153ec5,0xa,_0x5c9699[0x3d]),_0x481e3f=_0x5e636f(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x2d1392,0xf,_0x5c9699[0x3e]),_0x3b9e82=_0x5e636f(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x562054,0x15,_0x5c9699[0x3f]),_0x2419c3[0x0]=_0x2419c3[0x0]+_0x18ba2b|0x0,_0x2419c3[0x1]=_0x2419c3[0x1]+_0x3b9e82|0x0,_0x2419c3[0x2]=_0x2419c3[0x2]+_0x481e3f|0x0,_0x2419c3[0x3]=_0x2419c3[0x3]+_0x46269a|0x0;},'_doFinalize':function(){var _0x3a6756=_0x465eed,_0x3af8d7=this[_0x3a6756(0x3ab)],_0x56721e=_0x3af8d7['words'],_0x1d4dd5=this[_0x3a6756(0x2e2)]*0x8,_0xb4efcd=_0x3af8d7['sigBytes']*0x8;_0x56721e[_0xb4efcd>>>0x5]|=0x80<<0x18-_0xb4efcd%0x20;var _0xf7897e=_0x4dd61b['floor'](_0x1d4dd5/0x100000000),_0x58930b=_0x1d4dd5;_0x56721e[(_0xb4efcd+0x40>>>0x9<<0x4)+0xf]=(_0xf7897e<<0x8|_0xf7897e>>>0x18)&0xff00ff|(_0xf7897e<<0x18|_0xf7897e>>>0x8)&0xff00ff00,_0x56721e[(_0xb4efcd+0x40>>>0x9<<0x4)+0xe]=(_0x58930b<<0x8|_0x58930b>>>0x18)&0xff00ff|(_0x58930b<<0x18|_0x58930b>>>0x8)&0xff00ff00,_0x3af8d7['sigBytes']=(_0x56721e['length']+0x1)*0x4,this['_process']();for(var _0x5d3f78=this[_0x3a6756(0x3be)],_0x1143b0=_0x5d3f78[_0x3a6756(0x144)],_0x1870cc=0x0;_0x1870cc<0x4;_0x1870cc++){var _0x4e5347=_0x1143b0[_0x1870cc];_0x1143b0[_0x1870cc]=(_0x4e5347<<0x8|_0x4e5347>>>0x18)&0xff00ff|(_0x4e5347<<0x18|_0x4e5347>>>0x8)&0xff00ff00;}return _0x5d3f78;},'clone':function(){var _0x20bd2e=_0x465eed,_0x3afa5e=_0x37fd39[_0x20bd2e(0x486)][_0x20bd2e(0x49b)](this);return _0x3afa5e[_0x20bd2e(0x3be)]=this[_0x20bd2e(0x3be)][_0x20bd2e(0x486)](),_0x3afa5e;}});function _0x4b702b(_0x12a619,_0x5657c3,_0x270d61,_0x126057,_0x1b674f,_0x974d35,_0x148f4b){var _0x2f4f61=_0x12a619+(_0x5657c3&_0x270d61|~_0x5657c3&_0x126057)+_0x1b674f+_0x148f4b;return(_0x2f4f61<<_0x974d35|_0x2f4f61>>>0x20-_0x974d35)+_0x5657c3;}function _0x1759ce(_0x5d3dc1,_0x47a588,_0x23a732,_0x8f62b2,_0x3a2060,_0x3dce51,_0x431e57){var _0x31302f=_0x5d3dc1+(_0x47a588&_0x8f62b2|_0x23a732&~_0x8f62b2)+_0x3a2060+_0x431e57;return(_0x31302f<<_0x3dce51|_0x31302f>>>0x20-_0x3dce51)+_0x47a588;}function _0x1a2aa8(_0x49b40e,_0x2d21a2,_0x239d37,_0x2ea896,_0x305b4d,_0x3d516b,_0x3d6c95){var _0x3686b3=_0x49b40e+(_0x2d21a2^_0x239d37^_0x2ea896)+_0x305b4d+_0x3d6c95;return(_0x3686b3<<_0x3d516b|_0x3686b3>>>0x20-_0x3d516b)+_0x2d21a2;}function _0x5e636f(_0x58f671,_0x2d355d,_0x16caf5,_0x64499a,_0x372187,_0x7a634d,_0xe9be48){var _0x4c7b67=_0x58f671+(_0x16caf5^(_0x2d355d|~_0x64499a))+_0x372187+_0xe9be48;return(_0x4c7b67<<_0x7a634d|_0x4c7b67>>>0x20-_0x7a634d)+_0x2d355d;}_0x24e0da[_0x465eed(0x296)]=_0x37fd39['_createHelper'](_0x671b0e),_0x24e0da[_0x465eed(0x166)]=_0x37fd39['_createHmacHelper'](_0x671b0e);}(Math),_0x341164['MD5'];}));}(_0x2bb04c)),_0x2bb04c[_0x17869b(0x246)];}var _0x37a252={'exports':{}},_0x4e1ff3={'exports':{}},_0x5607cb=_0x4e1ff3[_0x549351(0x246)],_0x4b2f22;function _0x5c4e36(){var _0x2651af=_0x549351;return _0x4b2f22||(_0x4b2f22=0x1,function(_0x51a063,_0xf1dc47){(function(_0x4142e6,_0x1ea210){var _0x1d6b68=_0x8cbe;_0x51a063[_0x1d6b68(0x246)]=_0x1ea210(_0x390438());}(_0x5607cb,function(_0x4af929){var _0x280c27=_0x8cbe;return(function(){var _0x46436b=_0x8cbe,_0x1dfc08=_0x4af929,_0x2f0bc4=_0x1dfc08[_0x46436b(0x302)],_0x56d5b7=_0x2f0bc4['WordArray'],_0x37a354=_0x2f0bc4[_0x46436b(0x3a3)],_0x974fe2=_0x1dfc08[_0x46436b(0x281)],_0x36a07a=[],_0x14fed5=_0x974fe2[_0x46436b(0x2fc)]=_0x37a354['extend']({'_doReset':function(){var _0x300900=_0x46436b;this[_0x300900(0x3be)]=new _0x56d5b7['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2c8406,_0x355171){var _0x56d889=_0x46436b;for(var _0x5c0bc7=this[_0x56d889(0x3be)][_0x56d889(0x144)],_0x2ff810=_0x5c0bc7[0x0],_0x826964=_0x5c0bc7[0x1],_0x1c963f=_0x5c0bc7[0x2],_0x45f8a4=_0x5c0bc7[0x3],_0x468ec6=_0x5c0bc7[0x4],_0x5a8811=0x0;_0x5a8811<0x50;_0x5a8811++){if(_0x5a8811<0x10)_0x36a07a[_0x5a8811]=_0x2c8406[_0x355171+_0x5a8811]|0x0;else{var _0x397d11=_0x36a07a[_0x5a8811-0x3]^_0x36a07a[_0x5a8811-0x8]^_0x36a07a[_0x5a8811-0xe]^_0x36a07a[_0x5a8811-0x10];_0x36a07a[_0x5a8811]=_0x397d11<<0x1|_0x397d11>>>0x1f;}var _0x192bd9=(_0x2ff810<<0x5|_0x2ff810>>>0x1b)+_0x468ec6+_0x36a07a[_0x5a8811];_0x5a8811<0x14?_0x192bd9+=(_0x826964&_0x1c963f|~_0x826964&_0x45f8a4)+0x5a827999:_0x5a8811<0x28?_0x192bd9+=(_0x826964^_0x1c963f^_0x45f8a4)+0x6ed9eba1:_0x5a8811<0x3c?_0x192bd9+=(_0x826964&_0x1c963f|_0x826964&_0x45f8a4|_0x1c963f&_0x45f8a4)-0x70e44324:_0x192bd9+=(_0x826964^_0x1c963f^_0x45f8a4)-0x359d3e2a,_0x468ec6=_0x45f8a4,_0x45f8a4=_0x1c963f,_0x1c963f=_0x826964<<0x1e|_0x826964>>>0x2,_0x826964=_0x2ff810,_0x2ff810=_0x192bd9;}_0x5c0bc7[0x0]=_0x5c0bc7[0x0]+_0x2ff810|0x0,_0x5c0bc7[0x1]=_0x5c0bc7[0x1]+_0x826964|0x0,_0x5c0bc7[0x2]=_0x5c0bc7[0x2]+_0x1c963f|0x0,_0x5c0bc7[0x3]=_0x5c0bc7[0x3]+_0x45f8a4|0x0,_0x5c0bc7[0x4]=_0x5c0bc7[0x4]+_0x468ec6|0x0;},'_doFinalize':function(){var _0x23de96=_0x46436b,_0x12d45c=this[_0x23de96(0x3ab)],_0x5f5504=_0x12d45c[_0x23de96(0x144)],_0x54154b=this[_0x23de96(0x2e2)]*0x8,_0x4eb87c=_0x12d45c[_0x23de96(0x37f)]*0x8;return _0x5f5504[_0x4eb87c>>>0x5]|=0x80<<0x18-_0x4eb87c%0x20,_0x5f5504[(_0x4eb87c+0x40>>>0x9<<0x4)+0xe]=Math[_0x23de96(0x217)](_0x54154b/0x100000000),_0x5f5504[(_0x4eb87c+0x40>>>0x9<<0x4)+0xf]=_0x54154b,_0x12d45c[_0x23de96(0x37f)]=_0x5f5504[_0x23de96(0x3ea)]*0x4,this[_0x23de96(0x145)](),this[_0x23de96(0x3be)];},'clone':function(){var _0x25c3cb=_0x46436b,_0x9b3f6a=_0x37a354[_0x25c3cb(0x486)][_0x25c3cb(0x49b)](this);return _0x9b3f6a[_0x25c3cb(0x3be)]=this[_0x25c3cb(0x3be)][_0x25c3cb(0x486)](),_0x9b3f6a;}});_0x1dfc08[_0x46436b(0x2fc)]=_0x37a354[_0x46436b(0x182)](_0x14fed5),_0x1dfc08[_0x46436b(0x3b0)]=_0x37a354['_createHmacHelper'](_0x14fed5);}()),_0x4af929[_0x280c27(0x2fc)];}));}(_0x4e1ff3)),_0x4e1ff3[_0x2651af(0x246)];}var _0x3d37e8={'exports':{}},_0x20eb02=_0x3d37e8[_0x549351(0x246)],_0x98300;function _0xeba878(){return _0x98300||(_0x98300=0x1,function(_0x2fbbfd,_0x35d81a){(function(_0xd14d90,_0x2c7c80){_0x2fbbfd['exports']=_0x2c7c80(_0x390438());}(_0x20eb02,function(_0xeef385){(function(){var _0x4e713f=_0x8cbe,_0x23cb7f=_0xeef385,_0x53949b=_0x23cb7f[_0x4e713f(0x302)],_0x2f10a4=_0x53949b['Base'],_0x9f918a=_0x23cb7f['enc'],_0x4f6670=_0x9f918a[_0x4e713f(0x493)],_0x1ed391=_0x23cb7f[_0x4e713f(0x281)];_0x1ed391['HMAC']=_0x2f10a4['extend']({'init':function(_0x1046fa,_0x56a11c){var _0x3e8283=_0x4e713f;_0x1046fa=this['_hasher']=new _0x1046fa['init'](),typeof _0x56a11c==_0x3e8283(0x2e8)&&(_0x56a11c=_0x4f6670['parse'](_0x56a11c));var _0x52c782=_0x1046fa['blockSize'],_0x2888e0=_0x52c782*0x4;_0x56a11c[_0x3e8283(0x37f)]>_0x2888e0&&(_0x56a11c=_0x1046fa[_0x3e8283(0x1c3)](_0x56a11c)),_0x56a11c[_0x3e8283(0x18f)]();for(var _0x11f730=this[_0x3e8283(0x39b)]=_0x56a11c[_0x3e8283(0x486)](),_0x5b9515=this[_0x3e8283(0x25e)]=_0x56a11c[_0x3e8283(0x486)](),_0x49714=_0x11f730[_0x3e8283(0x144)],_0x30d952=_0x5b9515[_0x3e8283(0x144)],_0x370a1c=0x0;_0x370a1c<_0x52c782;_0x370a1c++)_0x49714[_0x370a1c]^=0x5c5c5c5c,_0x30d952[_0x370a1c]^=0x36363636;_0x11f730['sigBytes']=_0x5b9515[_0x3e8283(0x37f)]=_0x2888e0,this['reset']();},'reset':function(){var _0x299be6=_0x4e713f,_0x46eb23=this[_0x299be6(0x1c5)];_0x46eb23[_0x299be6(0x4ba)](),_0x46eb23['update'](this[_0x299be6(0x25e)]);},'update':function(_0x1687a2){var _0x41bf34=_0x4e713f;return this[_0x41bf34(0x1c5)][_0x41bf34(0x170)](_0x1687a2),this;},'finalize':function(_0x3579af){var _0x49ef66=_0x4e713f,_0x137be2=this[_0x49ef66(0x1c5)],_0xb29d1d=_0x137be2['finalize'](_0x3579af);_0x137be2[_0x49ef66(0x4ba)]();var _0x33efe2=_0x137be2[_0x49ef66(0x1c3)](this[_0x49ef66(0x39b)][_0x49ef66(0x486)]()[_0x49ef66(0x359)](_0xb29d1d));return _0x33efe2;}});}());}));}(_0x3d37e8)),_0x3d37e8['exports'];}var _0x422632=_0x37a252[_0x549351(0x246)],_0x5514d7;function _0x169948(){var _0x465730=_0x549351;return _0x5514d7||(_0x5514d7=0x1,function(_0xfc614d,_0x3152be){(function(_0x92648e,_0x33178c,_0x9a3f65){var _0x4efe48=_0x8cbe;_0xfc614d[_0x4efe48(0x246)]=_0x33178c(_0x390438(),_0x5c4e36(),_0xeba878());}(_0x422632,function(_0x5e1912){var _0x5b9caa=_0x8cbe;return(function(){var _0x5ce743=_0x8cbe,_0x499bdb=_0x5e1912,_0x417794=_0x499bdb[_0x5ce743(0x302)],_0x160864=_0x417794[_0x5ce743(0x291)],_0x19989d=_0x417794[_0x5ce743(0x2cb)],_0x40f7ef=_0x499bdb['algo'],_0x35ee45=_0x40f7ef[_0x5ce743(0x296)],_0xfed6d9=_0x40f7ef[_0x5ce743(0x1e6)]=_0x160864[_0x5ce743(0x2bf)]({'cfg':_0x160864[_0x5ce743(0x2bf)]({'keySize':0x80/0x20,'hasher':_0x35ee45,'iterations':0x1}),'init':function(_0x18588c){var _0x11992d=_0x5ce743;this[_0x11992d(0x384)]=this[_0x11992d(0x384)][_0x11992d(0x2bf)](_0x18588c);},'compute':function(_0xaa359a,_0x3e63c6){var _0xe47bb6=_0x5ce743;for(var _0x5854d0,_0x3aafbe=this[_0xe47bb6(0x384)],_0x4e58dd=_0x3aafbe[_0xe47bb6(0x2c9)][_0xe47bb6(0x17c)](),_0x5276f7=_0x19989d[_0xe47bb6(0x17c)](),_0x4771de=_0x5276f7['words'],_0x1c1e98=_0x3aafbe[_0xe47bb6(0x240)],_0x4b91d8=_0x3aafbe[_0xe47bb6(0x2ac)];_0x4771de[_0xe47bb6(0x3ea)]<_0x1c1e98;){_0x5854d0&&_0x4e58dd['update'](_0x5854d0),_0x5854d0=_0x4e58dd[_0xe47bb6(0x170)](_0xaa359a)['finalize'](_0x3e63c6),_0x4e58dd['reset']();for(var _0x532d8a=0x1;_0x532d8a<_0x4b91d8;_0x532d8a++)_0x5854d0=_0x4e58dd[_0xe47bb6(0x1c3)](_0x5854d0),_0x4e58dd[_0xe47bb6(0x4ba)]();_0x5276f7[_0xe47bb6(0x359)](_0x5854d0);}return _0x5276f7[_0xe47bb6(0x37f)]=_0x1c1e98*0x4,_0x5276f7;}});_0x499bdb[_0x5ce743(0x1e6)]=function(_0x4ebd91,_0x96ef88,_0x5e74c2){var _0x20fdea=_0x5ce743;return _0xfed6d9[_0x20fdea(0x17c)](_0x5e74c2)[_0x20fdea(0x2d5)](_0x4ebd91,_0x96ef88);};}()),_0x5e1912[_0x5b9caa(0x1e6)];}));}(_0x37a252)),_0x37a252[_0x465730(0x246)];}var _0x43d7a7={'exports':{}},_0x2482f8=_0x43d7a7[_0x549351(0x246)],_0x396cc6;function _0x91357f(){var _0x3c940a=_0x549351;return _0x396cc6||(_0x396cc6=0x1,function(_0x155afa,_0x439578){(function(_0x528dbf,_0x298a78,_0x59a661){_0x155afa['exports']=_0x298a78(_0x390438(),_0x169948());}(_0x2482f8,function(_0x350f17){var _0x4e2cb8=_0x8cbe;_0x350f17[_0x4e2cb8(0x302)][_0x4e2cb8(0x44d)]||function(_0x391d3d){var _0x1c1b4a=_0x4e2cb8,_0xf980ac=_0x350f17,_0x21f11a=_0xf980ac[_0x1c1b4a(0x302)],_0x401fc3=_0x21f11a[_0x1c1b4a(0x291)],_0x1cb214=_0x21f11a[_0x1c1b4a(0x2cb)],_0x25fe32=_0x21f11a[_0x1c1b4a(0x3a7)],_0x5bd9fe=_0xf980ac[_0x1c1b4a(0x23c)];_0x5bd9fe[_0x1c1b4a(0x493)];var _0x3c0637=_0x5bd9fe[_0x1c1b4a(0x38d)],_0x386c1b=_0xf980ac[_0x1c1b4a(0x281)],_0x2fb2d3=_0x386c1b['EvpKDF'],_0x89d766=_0x21f11a[_0x1c1b4a(0x44d)]=_0x25fe32[_0x1c1b4a(0x2bf)]({'cfg':_0x401fc3[_0x1c1b4a(0x2bf)](),'createEncryptor':function(_0x498010,_0x47d148){var _0x26787f=_0x1c1b4a;return this[_0x26787f(0x17c)](this['_ENC_XFORM_MODE'],_0x498010,_0x47d148);},'createDecryptor':function(_0x10aa31,_0x5a8fa9){var _0x5ce770=_0x1c1b4a;return this[_0x5ce770(0x17c)](this['_DEC_XFORM_MODE'],_0x10aa31,_0x5a8fa9);},'init':function(_0x5d9b65,_0x21a4e8,_0x5a629e){var _0x20d388=_0x1c1b4a;this[_0x20d388(0x384)]=this['cfg']['extend'](_0x5a629e),this[_0x20d388(0x338)]=_0x5d9b65,this[_0x20d388(0x3fc)]=_0x21a4e8,this[_0x20d388(0x4ba)]();},'reset':function(){var _0x1b0fa7=_0x1c1b4a;_0x25fe32['reset'][_0x1b0fa7(0x49b)](this),this[_0x1b0fa7(0x39d)]();},'process':function(_0x52b29b){var _0x3d105a=_0x1c1b4a;return this[_0x3d105a(0x1e9)](_0x52b29b),this[_0x3d105a(0x145)]();},'finalize':function(_0x4dd5f0){var _0x3f2cfc=_0x1c1b4a;_0x4dd5f0&&this['_append'](_0x4dd5f0);var _0x4cfa5b=this[_0x3f2cfc(0x17e)]();return _0x4cfa5b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xb42de8(_0x22ac8b){var _0x48409c=_0x8cbe;return typeof _0x22ac8b==_0x48409c(0x2e8)?_0x39555b:_0x32e284;}return function(_0x502499){return{'encrypt':function(_0xd642c1,_0xbb1c64,_0x4bf3f1){var _0x2fb33b=_0x8cbe;return _0xb42de8(_0xbb1c64)[_0x2fb33b(0x4a5)](_0x502499,_0xd642c1,_0xbb1c64,_0x4bf3f1);},'decrypt':function(_0x277b36,_0x24dc39,_0x3f8b6c){var _0x15a11a=_0x8cbe;return _0xb42de8(_0x24dc39)[_0x15a11a(0x49c)](_0x502499,_0x277b36,_0x24dc39,_0x3f8b6c);}};};}())});_0x21f11a[_0x1c1b4a(0x1a0)]=_0x89d766['extend']({'_doFinalize':function(){var _0x4abc36=_0x1c1b4a,_0x5615a8=this[_0x4abc36(0x145)](!0x0);return _0x5615a8;},'blockSize':0x1});var _0x54609d=_0xf980ac[_0x1c1b4a(0x4a2)]={},_0x3cfb26=_0x21f11a[_0x1c1b4a(0x340)]=_0x401fc3[_0x1c1b4a(0x2bf)]({'createEncryptor':function(_0x56fbf7,_0x116b2b){var _0x4d676c=_0x1c1b4a;return this[_0x4d676c(0x257)][_0x4d676c(0x17c)](_0x56fbf7,_0x116b2b);},'createDecryptor':function(_0x3bbe07,_0x370d09){var _0x31023a=_0x1c1b4a;return this[_0x31023a(0x299)][_0x31023a(0x17c)](_0x3bbe07,_0x370d09);},'init':function(_0x45185e,_0x4197e0){var _0x349faf=_0x1c1b4a;this[_0x349faf(0x405)]=_0x45185e,this[_0x349faf(0x230)]=_0x4197e0;}}),_0x4664b9=_0x54609d[_0x1c1b4a(0x1b8)]=(function(){var _0x38fb4b=_0x1c1b4a,_0x2787c6=_0x3cfb26[_0x38fb4b(0x2bf)]();_0x2787c6[_0x38fb4b(0x257)]=_0x2787c6[_0x38fb4b(0x2bf)]({'processBlock':function(_0x4d90d0,_0xfbaf81){var _0x1b5d9e=_0x38fb4b,_0x1c6753=this[_0x1b5d9e(0x405)],_0x383aae=_0x1c6753[_0x1b5d9e(0x36c)];_0x5a5e6a[_0x1b5d9e(0x49b)](this,_0x4d90d0,_0xfbaf81,_0x383aae),_0x1c6753[_0x1b5d9e(0x28c)](_0x4d90d0,_0xfbaf81),this[_0x1b5d9e(0x1b9)]=_0x4d90d0[_0x1b5d9e(0x1af)](_0xfbaf81,_0xfbaf81+_0x383aae);}}),_0x2787c6[_0x38fb4b(0x299)]=_0x2787c6[_0x38fb4b(0x2bf)]({'processBlock':function(_0x166dc6,_0x54a39e){var _0x43310a=_0x38fb4b,_0x4441a8=this[_0x43310a(0x405)],_0x266439=_0x4441a8[_0x43310a(0x36c)],_0x76305b=_0x166dc6[_0x43310a(0x1af)](_0x54a39e,_0x54a39e+_0x266439);_0x4441a8['decryptBlock'](_0x166dc6,_0x54a39e),_0x5a5e6a[_0x43310a(0x49b)](this,_0x166dc6,_0x54a39e,_0x266439),this['_prevBlock']=_0x76305b;}});function _0x5a5e6a(_0x5f171c,_0x3bd9a5,_0x4ea9e4){var _0xd05940=_0x38fb4b,_0x13446b,_0x295250=this['_iv'];_0x295250?(_0x13446b=_0x295250,this[_0xd05940(0x230)]=_0x391d3d):_0x13446b=this[_0xd05940(0x1b9)];for(var _0x3fdf27=0x0;_0x3fdf27<_0x4ea9e4;_0x3fdf27++)_0x5f171c[_0x3bd9a5+_0x3fdf27]^=_0x13446b[_0x3fdf27];}return _0x2787c6;}()),_0x27e9ad=_0xf980ac[_0x1c1b4a(0x171)]={},_0x588841=_0x27e9ad[_0x1c1b4a(0x15d)]={'pad':function(_0x21eed4,_0x9587d9){var _0x5d42e1=_0x1c1b4a;for(var _0x4114ad=_0x9587d9*0x4,_0x217b87=_0x4114ad-_0x21eed4[_0x5d42e1(0x37f)]%_0x4114ad,_0x743afe=_0x217b87<<0x18|_0x217b87<<0x10|_0x217b87<<0x8|_0x217b87,_0x536dfb=[],_0x4d783e=0x0;_0x4d783e<_0x217b87;_0x4d783e+=0x4)_0x536dfb[_0x5d42e1(0x2c6)](_0x743afe);var _0x34cfe5=_0x1cb214['create'](_0x536dfb,_0x217b87);_0x21eed4[_0x5d42e1(0x359)](_0x34cfe5);},'unpad':function(_0xd5cfa8){var _0x141f21=_0x1c1b4a,_0xabaf48=_0xd5cfa8['words'][_0xd5cfa8['sigBytes']-0x1>>>0x2]&0xff;_0xd5cfa8[_0x141f21(0x37f)]-=_0xabaf48;}};_0x21f11a['BlockCipher']=_0x89d766[_0x1c1b4a(0x2bf)]({'cfg':_0x89d766[_0x1c1b4a(0x384)][_0x1c1b4a(0x2bf)]({'mode':_0x4664b9,'padding':_0x588841}),'reset':function(){var _0x1fcbac=_0x1c1b4a,_0x402565;_0x89d766[_0x1fcbac(0x4ba)][_0x1fcbac(0x49b)](this);var _0x594ba7=this[_0x1fcbac(0x384)],_0x344975=_0x594ba7['iv'],_0xc3d559=_0x594ba7[_0x1fcbac(0x4a2)];this[_0x1fcbac(0x338)]==this[_0x1fcbac(0x2f3)]?_0x402565=_0xc3d559['createEncryptor']:(_0x402565=_0xc3d559[_0x1fcbac(0x1a1)],this['_minBufferSize']=0x1),this[_0x1fcbac(0x2d6)]&&this[_0x1fcbac(0x2d6)][_0x1fcbac(0x242)]==_0x402565?this['_mode'][_0x1fcbac(0x3f2)](this,_0x344975&&_0x344975['words']):(this[_0x1fcbac(0x2d6)]=_0x402565[_0x1fcbac(0x49b)](_0xc3d559,this,_0x344975&&_0x344975['words']),this[_0x1fcbac(0x2d6)][_0x1fcbac(0x242)]=_0x402565);},'_doProcessBlock':function(_0x2e2490,_0x281b73){var _0x387d60=_0x1c1b4a;this[_0x387d60(0x2d6)][_0x387d60(0x40f)](_0x2e2490,_0x281b73);},'_doFinalize':function(){var _0x487b10=_0x1c1b4a,_0x32057a,_0x2145d3=this[_0x487b10(0x384)][_0x487b10(0x4c2)];return this[_0x487b10(0x338)]==this[_0x487b10(0x2f3)]?(_0x2145d3[_0x487b10(0x171)](this['_data'],this[_0x487b10(0x36c)]),_0x32057a=this[_0x487b10(0x145)](!0x0)):(_0x32057a=this[_0x487b10(0x145)](!0x0),_0x2145d3[_0x487b10(0x40b)](_0x32057a)),_0x32057a;},'blockSize':0x80/0x20});var _0x14eb84=_0x21f11a[_0x1c1b4a(0x45f)]=_0x401fc3[_0x1c1b4a(0x2bf)]({'init':function(_0x106e10){var _0x22cca1=_0x1c1b4a;this[_0x22cca1(0x478)](_0x106e10);},'toString':function(_0x12550c){var _0x4d1f79=_0x1c1b4a;return(_0x12550c||this['formatter'])[_0x4d1f79(0x282)](this);}}),_0x314067=_0xf980ac['format']={},_0xb068ff=_0x314067[_0x1c1b4a(0x223)]={'stringify':function(_0xbe0ce2){var _0x22ddb9=_0x1c1b4a,_0x2e8665,_0x3428a8=_0xbe0ce2[_0x22ddb9(0x16d)],_0x45b119=_0xbe0ce2[_0x22ddb9(0x1ff)];return _0x45b119?_0x2e8665=_0x1cb214[_0x22ddb9(0x17c)]([0x53616c74,0x65645f5f])[_0x22ddb9(0x359)](_0x45b119)['concat'](_0x3428a8):_0x2e8665=_0x3428a8,_0x2e8665[_0x22ddb9(0x27a)](_0x3c0637);},'parse':function(_0x550253){var _0x10dcd5=_0x1c1b4a,_0x238a36,_0x8e737f=_0x3c0637['parse'](_0x550253),_0x4fa80c=_0x8e737f['words'];return _0x4fa80c[0x0]==0x53616c74&&_0x4fa80c[0x1]==0x65645f5f&&(_0x238a36=_0x1cb214[_0x10dcd5(0x17c)](_0x4fa80c[_0x10dcd5(0x1af)](0x2,0x4)),_0x4fa80c[_0x10dcd5(0x1cb)](0x0,0x4),_0x8e737f[_0x10dcd5(0x37f)]-=0x10),_0x14eb84[_0x10dcd5(0x17c)]({'ciphertext':_0x8e737f,'salt':_0x238a36});}},_0x32e284=_0x21f11a['SerializableCipher']=_0x401fc3[_0x1c1b4a(0x2bf)]({'cfg':_0x401fc3['extend']({'format':_0xb068ff}),'encrypt':function(_0x1f6c30,_0x23e98d,_0x50e180,_0x2855ec){var _0x1a07f7=_0x1c1b4a;_0x2855ec=this['cfg'][_0x1a07f7(0x2bf)](_0x2855ec);var _0x2637d7=_0x1f6c30[_0x1a07f7(0x1b0)](_0x50e180,_0x2855ec),_0x2ab245=_0x2637d7[_0x1a07f7(0x1c3)](_0x23e98d),_0x4bcee8=_0x2637d7[_0x1a07f7(0x384)];return _0x14eb84[_0x1a07f7(0x17c)]({'ciphertext':_0x2ab245,'key':_0x50e180,'iv':_0x4bcee8['iv'],'algorithm':_0x1f6c30,'mode':_0x4bcee8[_0x1a07f7(0x4a2)],'padding':_0x4bcee8[_0x1a07f7(0x4c2)],'blockSize':_0x1f6c30[_0x1a07f7(0x36c)],'formatter':_0x2855ec[_0x1a07f7(0x298)]});},'decrypt':function(_0x170afc,_0x585be7,_0x4a1f0a,_0x1eed30){var _0x376bc6=_0x1c1b4a;_0x1eed30=this[_0x376bc6(0x384)][_0x376bc6(0x2bf)](_0x1eed30),_0x585be7=this['_parse'](_0x585be7,_0x1eed30[_0x376bc6(0x298)]);var _0x579ece=_0x170afc[_0x376bc6(0x1a1)](_0x4a1f0a,_0x1eed30)[_0x376bc6(0x1c3)](_0x585be7[_0x376bc6(0x16d)]);return _0x579ece;},'_parse':function(_0x7f6bc5,_0x3a2d8a){var _0x5ecf26=_0x1c1b4a;return typeof _0x7f6bc5==_0x5ecf26(0x2e8)?_0x3a2d8a[_0x5ecf26(0x4b4)](_0x7f6bc5,this):_0x7f6bc5;}}),_0x15edea=_0xf980ac[_0x1c1b4a(0x161)]={},_0x114b76=_0x15edea[_0x1c1b4a(0x223)]={'execute':function(_0x27515d,_0x26d055,_0x238478,_0x51078a,_0x398e14){var _0x2e5963=_0x1c1b4a;if(_0x51078a||(_0x51078a=_0x1cb214[_0x2e5963(0x368)](0x40/0x8)),_0x398e14)var _0x48e73e=_0x2fb2d3[_0x2e5963(0x17c)]({'keySize':_0x26d055+_0x238478,'hasher':_0x398e14})[_0x2e5963(0x2d5)](_0x27515d,_0x51078a);else var _0x48e73e=_0x2fb2d3[_0x2e5963(0x17c)]({'keySize':_0x26d055+_0x238478})['compute'](_0x27515d,_0x51078a);var _0x51d0a6=_0x1cb214['create'](_0x48e73e[_0x2e5963(0x144)][_0x2e5963(0x1af)](_0x26d055),_0x238478*0x4);return _0x48e73e[_0x2e5963(0x37f)]=_0x26d055*0x4,_0x14eb84['create']({'key':_0x48e73e,'iv':_0x51d0a6,'salt':_0x51078a});}},_0x39555b=_0x21f11a[_0x1c1b4a(0x216)]=_0x32e284[_0x1c1b4a(0x2bf)]({'cfg':_0x32e284[_0x1c1b4a(0x384)][_0x1c1b4a(0x2bf)]({'kdf':_0x114b76}),'encrypt':function(_0x46f6e2,_0x24b6ff,_0x2339e7,_0x3f6655){var _0x45c0d4=_0x1c1b4a;_0x3f6655=this[_0x45c0d4(0x384)][_0x45c0d4(0x2bf)](_0x3f6655);var _0x29cc20=_0x3f6655[_0x45c0d4(0x161)][_0x45c0d4(0x141)](_0x2339e7,_0x46f6e2[_0x45c0d4(0x240)],_0x46f6e2['ivSize'],_0x3f6655['salt'],_0x3f6655[_0x45c0d4(0x2c9)]);_0x3f6655['iv']=_0x29cc20['iv'];var _0x1babac=_0x32e284[_0x45c0d4(0x4a5)]['call'](this,_0x46f6e2,_0x24b6ff,_0x29cc20[_0x45c0d4(0x241)],_0x3f6655);return _0x1babac[_0x45c0d4(0x478)](_0x29cc20),_0x1babac;},'decrypt':function(_0x2a533e,_0xb9768,_0xc315d8,_0x5210c9){var _0x13702f=_0x1c1b4a;_0x5210c9=this[_0x13702f(0x384)][_0x13702f(0x2bf)](_0x5210c9),_0xb9768=this['_parse'](_0xb9768,_0x5210c9['format']);var _0x211425=_0x5210c9[_0x13702f(0x161)][_0x13702f(0x141)](_0xc315d8,_0x2a533e['keySize'],_0x2a533e[_0x13702f(0x317)],_0xb9768['salt'],_0x5210c9[_0x13702f(0x2c9)]);_0x5210c9['iv']=_0x211425['iv'];var _0x5db219=_0x32e284[_0x13702f(0x49c)][_0x13702f(0x49b)](this,_0x2a533e,_0xb9768,_0x211425[_0x13702f(0x241)],_0x5210c9);return _0x5db219;}});}();}));}(_0x43d7a7)),_0x43d7a7[_0x3c940a(0x246)];}var _0x401389=_0x29552e[_0x549351(0x246)],_0x9e9b98;function _0x293380(){return _0x9e9b98||(_0x9e9b98=0x1,function(_0x49cfe6,_0x3a03f7){(function(_0x19a1fa,_0x4039cb,_0x2ade1b){var _0x4ee0a2=_0x8cbe;_0x49cfe6[_0x4ee0a2(0x246)]=_0x4039cb(_0x390438(),_0xcb036b(),_0x5436a9(),_0x169948(),_0x91357f());}(_0x401389,function(_0x4b781b){var _0x1b87a1=_0x8cbe;return(function(){var _0x3ec092=_0x8cbe,_0x461735=_0x4b781b,_0x420aab=_0x461735[_0x3ec092(0x302)],_0x2f54cc=_0x420aab[_0x3ec092(0x4c6)],_0xa00e39=_0x461735[_0x3ec092(0x281)],_0x4c9385=[],_0x1714f3=[],_0x12ed4f=[],_0x59f6c4=[],_0x16f54e=[],_0x30db0d=[],_0x2a6a1a=[],_0x5049e4=[],_0x55a4e5=[],_0x22846c=[];(function(){for(var _0xa49ae8=[],_0x4d46d4=0x0;_0x4d46d4<0x100;_0x4d46d4++)_0x4d46d4<0x80?_0xa49ae8[_0x4d46d4]=_0x4d46d4<<0x1:_0xa49ae8[_0x4d46d4]=_0x4d46d4<<0x1^0x11b;for(var _0x50b294=0x0,_0x15c4be=0x0,_0x4d46d4=0x0;_0x4d46d4<0x100;_0x4d46d4++){var _0x4e378a=_0x15c4be^_0x15c4be<<0x1^_0x15c4be<<0x2^_0x15c4be<<0x3^_0x15c4be<<0x4;_0x4e378a=_0x4e378a>>>0x8^_0x4e378a&0xff^0x63,_0x4c9385[_0x50b294]=_0x4e378a,_0x1714f3[_0x4e378a]=_0x50b294;var _0x4f60de=_0xa49ae8[_0x50b294],_0x3aef73=_0xa49ae8[_0x4f60de],_0x33de8c=_0xa49ae8[_0x3aef73],_0x238122=_0xa49ae8[_0x4e378a]*0x101^_0x4e378a*0x1010100;_0x12ed4f[_0x50b294]=_0x238122<<0x18|_0x238122>>>0x8,_0x59f6c4[_0x50b294]=_0x238122<<0x10|_0x238122>>>0x10,_0x16f54e[_0x50b294]=_0x238122<<0x8|_0x238122>>>0x18,_0x30db0d[_0x50b294]=_0x238122;var _0x238122=_0x33de8c*0x1010101^_0x3aef73*0x10001^_0x4f60de*0x101^_0x50b294*0x1010100;_0x2a6a1a[_0x4e378a]=_0x238122<<0x18|_0x238122>>>0x8,_0x5049e4[_0x4e378a]=_0x238122<<0x10|_0x238122>>>0x10,_0x55a4e5[_0x4e378a]=_0x238122<<0x8|_0x238122>>>0x18,_0x22846c[_0x4e378a]=_0x238122,_0x50b294?(_0x50b294=_0x4f60de^_0xa49ae8[_0xa49ae8[_0xa49ae8[_0x33de8c^_0x4f60de]]],_0x15c4be^=_0xa49ae8[_0xa49ae8[_0x15c4be]]):_0x50b294=_0x15c4be=0x1;}}());var _0x1afe41=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x32f116=_0xa00e39[_0x3ec092(0x218)]=_0x2f54cc[_0x3ec092(0x2bf)]({'_doReset':function(){var _0xddfbda=_0x3ec092,_0x219c33;if(!(this[_0xddfbda(0x48d)]&&this['_keyPriorReset']===this[_0xddfbda(0x3fc)])){for(var _0x5b05b0=this[_0xddfbda(0x28a)]=this['_key'],_0x4ecbc5=_0x5b05b0['words'],_0x52a7e9=_0x5b05b0[_0xddfbda(0x37f)]/0x4,_0x2add42=this[_0xddfbda(0x48d)]=_0x52a7e9+0x6,_0x266190=(_0x2add42+0x1)*0x4,_0x47fe3f=this['_keySchedule']=[],_0x2e8c04=0x0;_0x2e8c04<_0x266190;_0x2e8c04++)_0x2e8c04<_0x52a7e9?_0x47fe3f[_0x2e8c04]=_0x4ecbc5[_0x2e8c04]:(_0x219c33=_0x47fe3f[_0x2e8c04-0x1],_0x2e8c04%_0x52a7e9?_0x52a7e9>0x6&&_0x2e8c04%_0x52a7e9==0x4&&(_0x219c33=_0x4c9385[_0x219c33>>>0x18]<<0x18|_0x4c9385[_0x219c33>>>0x10&0xff]<<0x10|_0x4c9385[_0x219c33>>>0x8&0xff]<<0x8|_0x4c9385[_0x219c33&0xff]):(_0x219c33=_0x219c33<<0x8|_0x219c33>>>0x18,_0x219c33=_0x4c9385[_0x219c33>>>0x18]<<0x18|_0x4c9385[_0x219c33>>>0x10&0xff]<<0x10|_0x4c9385[_0x219c33>>>0x8&0xff]<<0x8|_0x4c9385[_0x219c33&0xff],_0x219c33^=_0x1afe41[_0x2e8c04/_0x52a7e9|0x0]<<0x18),_0x47fe3f[_0x2e8c04]=_0x47fe3f[_0x2e8c04-_0x52a7e9]^_0x219c33);for(var _0x33cb63=this['_invKeySchedule']=[],_0x1e0d31=0x0;_0x1e0d31<_0x266190;_0x1e0d31++){var _0x2e8c04=_0x266190-_0x1e0d31;if(_0x1e0d31%0x4)var _0x219c33=_0x47fe3f[_0x2e8c04];else var _0x219c33=_0x47fe3f[_0x2e8c04-0x4];_0x1e0d31<0x4||_0x2e8c04<=0x4?_0x33cb63[_0x1e0d31]=_0x219c33:_0x33cb63[_0x1e0d31]=_0x2a6a1a[_0x4c9385[_0x219c33>>>0x18]]^_0x5049e4[_0x4c9385[_0x219c33>>>0x10&0xff]]^_0x55a4e5[_0x4c9385[_0x219c33>>>0x8&0xff]]^_0x22846c[_0x4c9385[_0x219c33&0xff]];}}},'encryptBlock':function(_0x1f9818,_0x1f0b5e){var _0x5513d9=_0x3ec092;this[_0x5513d9(0x319)](_0x1f9818,_0x1f0b5e,this['_keySchedule'],_0x12ed4f,_0x59f6c4,_0x16f54e,_0x30db0d,_0x4c9385);},'decryptBlock':function(_0x5a7cec,_0x24afc0){var _0x48fa27=_0x3ec092,_0x491ffe=_0x5a7cec[_0x24afc0+0x1];_0x5a7cec[_0x24afc0+0x1]=_0x5a7cec[_0x24afc0+0x3],_0x5a7cec[_0x24afc0+0x3]=_0x491ffe,this[_0x48fa27(0x319)](_0x5a7cec,_0x24afc0,this[_0x48fa27(0x168)],_0x2a6a1a,_0x5049e4,_0x55a4e5,_0x22846c,_0x1714f3);var _0x491ffe=_0x5a7cec[_0x24afc0+0x1];_0x5a7cec[_0x24afc0+0x1]=_0x5a7cec[_0x24afc0+0x3],_0x5a7cec[_0x24afc0+0x3]=_0x491ffe;},'_doCryptBlock':function(_0x1435ab,_0x3e9c5e,_0x2ed349,_0x22576b,_0x2e4a5c,_0x2080e6,_0x29207d,_0x13b534){var _0x1885f3=_0x3ec092;for(var _0x1625d0=this[_0x1885f3(0x48d)],_0x2a166e=_0x1435ab[_0x3e9c5e]^_0x2ed349[0x0],_0x3b11b8=_0x1435ab[_0x3e9c5e+0x1]^_0x2ed349[0x1],_0x3d4ce2=_0x1435ab[_0x3e9c5e+0x2]^_0x2ed349[0x2],_0x465ef6=_0x1435ab[_0x3e9c5e+0x3]^_0x2ed349[0x3],_0x4f4b72=0x4,_0x5378b4=0x1;_0x5378b4<_0x1625d0;_0x5378b4++){var _0x1afcc0=_0x22576b[_0x2a166e>>>0x18]^_0x2e4a5c[_0x3b11b8>>>0x10&0xff]^_0x2080e6[_0x3d4ce2>>>0x8&0xff]^_0x29207d[_0x465ef6&0xff]^_0x2ed349[_0x4f4b72++],_0x285d46=_0x22576b[_0x3b11b8>>>0x18]^_0x2e4a5c[_0x3d4ce2>>>0x10&0xff]^_0x2080e6[_0x465ef6>>>0x8&0xff]^_0x29207d[_0x2a166e&0xff]^_0x2ed349[_0x4f4b72++],_0x10f06a=_0x22576b[_0x3d4ce2>>>0x18]^_0x2e4a5c[_0x465ef6>>>0x10&0xff]^_0x2080e6[_0x2a166e>>>0x8&0xff]^_0x29207d[_0x3b11b8&0xff]^_0x2ed349[_0x4f4b72++],_0x58e975=_0x22576b[_0x465ef6>>>0x18]^_0x2e4a5c[_0x2a166e>>>0x10&0xff]^_0x2080e6[_0x3b11b8>>>0x8&0xff]^_0x29207d[_0x3d4ce2&0xff]^_0x2ed349[_0x4f4b72++];_0x2a166e=_0x1afcc0,_0x3b11b8=_0x285d46,_0x3d4ce2=_0x10f06a,_0x465ef6=_0x58e975;}var _0x1afcc0=(_0x13b534[_0x2a166e>>>0x18]<<0x18|_0x13b534[_0x3b11b8>>>0x10&0xff]<<0x10|_0x13b534[_0x3d4ce2>>>0x8&0xff]<<0x8|_0x13b534[_0x465ef6&0xff])^_0x2ed349[_0x4f4b72++],_0x285d46=(_0x13b534[_0x3b11b8>>>0x18]<<0x18|_0x13b534[_0x3d4ce2>>>0x10&0xff]<<0x10|_0x13b534[_0x465ef6>>>0x8&0xff]<<0x8|_0x13b534[_0x2a166e&0xff])^_0x2ed349[_0x4f4b72++],_0x10f06a=(_0x13b534[_0x3d4ce2>>>0x18]<<0x18|_0x13b534[_0x465ef6>>>0x10&0xff]<<0x10|_0x13b534[_0x2a166e>>>0x8&0xff]<<0x8|_0x13b534[_0x3b11b8&0xff])^_0x2ed349[_0x4f4b72++],_0x58e975=(_0x13b534[_0x465ef6>>>0x18]<<0x18|_0x13b534[_0x2a166e>>>0x10&0xff]<<0x10|_0x13b534[_0x3b11b8>>>0x8&0xff]<<0x8|_0x13b534[_0x3d4ce2&0xff])^_0x2ed349[_0x4f4b72++];_0x1435ab[_0x3e9c5e]=_0x1afcc0,_0x1435ab[_0x3e9c5e+0x1]=_0x285d46,_0x1435ab[_0x3e9c5e+0x2]=_0x10f06a,_0x1435ab[_0x3e9c5e+0x3]=_0x58e975;},'keySize':0x100/0x20});_0x461735[_0x3ec092(0x218)]=_0x2f54cc[_0x3ec092(0x182)](_0x32f116);}()),_0x4b781b[_0x1b87a1(0x218)];}));}(_0x29552e)),_0x29552e['exports'];}var _0xd45976=_0x293380();const _0x393fce=_0x48874a(_0xd45976);var _0x49b1cd=_0xcb036b();const _0x2ff5c0=_0x48874a(_0x49b1cd);var _0x35a3c3={'exports':{}},_0x510864=_0x35a3c3[_0x549351(0x246)],_0xe8b834;function _0x106987(){return _0xe8b834||(_0xe8b834=0x1,function(_0x163685,_0x5e885b){(function(_0x289e64,_0x1b4246){var _0x2365b6=_0x8cbe;_0x163685[_0x2365b6(0x246)]=_0x1b4246(_0x390438());}(_0x510864,function(_0xdd6c){var _0x27e0e6=_0x8cbe;return _0xdd6c[_0x27e0e6(0x23c)]['Utf8'];}));}(_0x35a3c3)),_0x35a3c3['exports'];}var _0x23e326=_0x106987();const _0x3b0112=_0x48874a(_0x23e326);var _0x16b9a1={'exports':{}},_0x19dc3f=_0x16b9a1[_0x549351(0x246)],_0x3df9fc;function _0xb851b0(){var _0x105ecc=_0x549351;return _0x3df9fc||(_0x3df9fc=0x1,function(_0x1e7a1b,_0x4ab7e4){(function(_0x1f8553,_0x5ea4f6){var _0x3ae2ae=_0x8cbe;_0x1e7a1b[_0x3ae2ae(0x246)]=_0x5ea4f6(_0x390438());}(_0x19dc3f,function(_0x3992e){var _0x2633c3=_0x8cbe;return(function(){var _0x5abe08=_0x8cbe;if(typeof ArrayBuffer=='function'){var _0x2ce00c=_0x3992e,_0x37b6dc=_0x2ce00c[_0x5abe08(0x302)],_0x5eaa6c=_0x37b6dc['WordArray'],_0x1ac539=_0x5eaa6c[_0x5abe08(0x3f2)],_0x5dfd57=_0x5eaa6c[_0x5abe08(0x3f2)]=function(_0x35c7e6){var _0x3e282f=_0x5abe08;if(_0x35c7e6 instanceof ArrayBuffer&&(_0x35c7e6=new Uint8Array(_0x35c7e6)),(_0x35c7e6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x35c7e6 instanceof Uint8ClampedArray||_0x35c7e6 instanceof Int16Array||_0x35c7e6 instanceof Uint16Array||_0x35c7e6 instanceof Int32Array||_0x35c7e6 instanceof Uint32Array||_0x35c7e6 instanceof Float32Array||_0x35c7e6 instanceof Float64Array)&&(_0x35c7e6=new Uint8Array(_0x35c7e6[_0x3e282f(0x2f6)],_0x35c7e6[_0x3e282f(0x269)],_0x35c7e6['byteLength'])),_0x35c7e6 instanceof Uint8Array){for(var _0x40e1e6=_0x35c7e6[_0x3e282f(0x3e7)],_0x5e4ea4=[],_0x4fe03f=0x0;_0x4fe03f<_0x40e1e6;_0x4fe03f++)_0x5e4ea4[_0x4fe03f>>>0x2]|=_0x35c7e6[_0x4fe03f]<<0x18-_0x4fe03f%0x4*0x8;_0x1ac539[_0x3e282f(0x49b)](this,_0x5e4ea4,_0x40e1e6);}else _0x1ac539[_0x3e282f(0x1e1)](this,arguments);};_0x5dfd57[_0x5abe08(0x4a0)]=_0x5eaa6c;}}()),_0x3992e[_0x2633c3(0x302)]['WordArray'];}));}(_0x16b9a1)),_0x16b9a1[_0x105ecc(0x246)];}var _0x2d198f=_0xb851b0();const _0x5c325b=_0x48874a(_0x2d198f);var _0x41485e={'exports':{}},_0x5c3304=_0x41485e[_0x549351(0x246)],_0x112163;function _0x5273ed(){var _0x416dba=_0x549351;return _0x112163||(_0x112163=0x1,function(_0x2de185,_0x4fbdd2){(function(_0x423332,_0x49d9d6,_0x3cac67){_0x2de185['exports']=_0x49d9d6(_0x390438(),_0x91357f());}(_0x5c3304,function(_0x28def8){var _0x1a5b33=_0x8cbe;return _0x28def8[_0x1a5b33(0x171)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x28def8[_0x1a5b33(0x171)][_0x1a5b33(0x1d7)];}));}(_0x41485e)),_0x41485e[_0x416dba(0x246)];}var _0x154ea4=_0x5273ed();const _0x3233bc=_0x48874a(_0x154ea4);function _0x2244ce(_0xb9adf9,_0x477345){var _0x42a7c4=_0x549351;const _0x4d01b6=_0x477345-_0xb9adf9[_0x42a7c4(0x3ea)]%_0x477345,_0xbc3e85=String[_0x42a7c4(0x3b8)](_0x4d01b6)['repeat'](_0x4d01b6);return _0xb9adf9+_0xbc3e85;}function _0x54cbfc(_0x356a6e,_0x282b95){var _0xd6811a=_0x549351;const _0x4c2261=_0x5c325b['random'](0x10),_0x30d393=_0x2244ce(_0x356a6e,0x10),_0x4a0abc=_0x393fce[_0xd6811a(0x4a5)](_0x3b0112[_0xd6811a(0x4b4)](_0x30d393),_0x2ff5c0[_0xd6811a(0x4b4)](_0x282b95),{'iv':_0x4c2261,'padding':_0x3233bc});return _0x4c2261[_0xd6811a(0x359)](_0x4a0abc['ciphertext'])[_0xd6811a(0x27a)](_0x2ff5c0);}function _0x1c6999(){var _0x69cc7e=_0x549351;const _0x38a5e0=_0x3d8a6a[_0x69cc7e(0x3d1)]()[_0x69cc7e(0x261)];if(_0x38a5e0){const _0x5e89e8={'time':Math[_0x69cc7e(0x217)](Date['now']()/0x3e8),'domain':location[_0x69cc7e(0x398)]};return _0x54cbfc(JSON['stringify'](_0x5e89e8),_0x38a5e0);}}var _0x59fd9f=Object[_0x549351(0x3ff)],_0xbd43b3=(_0x3fd49b,_0xffd10,_0x5634b0,_0x5f3dd8)=>{var _0x537537=_0x549351;for(var _0x327bbd=_0x5f3dd8>0x1?void 0x0:_0x5f3dd8?_0x59fd9f(_0xffd10,_0x5634b0):_0xffd10,_0x167a1d=_0x3fd49b[_0x537537(0x3ea)]-0x1,_0x3c0fd1;_0x167a1d>=0x0;_0x167a1d--)(_0x3c0fd1=_0x3fd49b[_0x167a1d])&&(_0x327bbd=_0x3c0fd1(_0x327bbd)||_0x327bbd);return _0x327bbd;},_0x8ed5a=(_0x1d2366,_0x28937a)=>(_0x4630cd,_0x300ae7)=>_0x28937a(_0x4630cd,_0x300ae7,_0x1d2366);let _0x4cce46=class{constructor(_0x1e2b58){var _0x1a6a01=_0x549351;this[_0x1a6a01(0x440)]=_0x1e2b58,this[_0x1a6a01(0x1a4)]();}['_initRequestHeader'](){var _0x48eb76=_0x549351;this[_0x48eb76(0x440)][_0x48eb76(0x188)]({'interceptor':(_0x5cb96e,_0x4591c1)=>{var _0x2959ec=_0x48eb76;const _0x252b54=_0x5cb96e[_0x2959ec(0x2a0)],_0x5b80b8=_0x1c6999();return _0x5b80b8&&_0x252b54[_0x2959ec(0x4a7)]('x-univer-host',_0x5b80b8),_0x4591c1(_0x5cb96e);}});}};_0x4cce46=_0xbd43b3([_0x8ed5a(0x0,_0x1580f8[_0x549351(0x2d9)](_0x2864cd['HTTPService']))],_0x4cce46);var _0x42dc6b=Object[_0x549351(0x3ff)],_0x3dcee9=(_0x4ee40f,_0x47f1e1,_0xe34f91,_0x3f2c75)=>{for(var _0x37bff8=_0x3f2c75>0x1?void 0x0:_0x3f2c75?_0x42dc6b(_0x47f1e1,_0xe34f91):_0x47f1e1,_0x8efe50=_0x4ee40f['length']-0x1,_0x37b4ca;_0x8efe50>=0x0;_0x8efe50--)(_0x37b4ca=_0x4ee40f[_0x8efe50])&&(_0x37bff8=_0x37b4ca(_0x37bff8)||_0x37bff8);return _0x37bff8;},_0x4394cd=(_0x115dab,_0x4b0c3c)=>(_0x4e7ed7,_0x5a2785)=>_0x4b0c3c(_0x4e7ed7,_0x5a2785,_0x115dab);_0x1ac966[_0x549351(0x459)]=class extends _0x1580f8[_0x549351(0x2ef)]{constructor(_0x5bd472,_0xbee574,_0x538263){var _0x1d62d2=_0x549351;super(),_0x1ad8fe(this,_0x1d62d2(0x25b),new _0xdf3790[(_0x1d62d2(0x37c))](null)),_0x1ad8fe(this,_0x1d62d2(0x3d2),this['_unitInfo$']['asObservable']()),(this[_0x1d62d2(0x211)]=_0x5bd472,this['_snapshotService']=_0xbee574,this[_0x1d62d2(0x21b)]=_0x538263);}async[_0x549351(0x186)](_0x9c2e77,_0x1469eb,_0x2de52c){var _0xf6efaf=_0x549351;this[_0xf6efaf(0x25b)][_0xf6efaf(0x466)]({'unitId':_0x9c2e77,'type':_0x1469eb,'subUnitId':_0x2de52c});let _0x8b4bae=null;switch(_0x1469eb){case _0xe53b2e[_0xf6efaf(0x158)]:{_0x8b4bae=await this[_0xf6efaf(0x3d9)](_0x9c2e77);break;}case _0xe53b2e['UNIVER_DOC']:{_0x8b4bae=await this[_0xf6efaf(0x357)](_0x9c2e77);break;}default:{this[_0xf6efaf(0x211)][_0xf6efaf(0x4aa)](_0xf6efaf(0x418),_0xf6efaf(0x1cd));break;}}return _0x8b4bae;}async[_0x549351(0x3d9)](_0x87e1d9){var _0x216e5f=_0x549351,_0x36ef8a;let _0x50d542=0x0;const _0x77b51f=await((_0x36ef8a=this[_0x216e5f(0x21b)])==null?void 0x0:_0x36ef8a['loadOfflineData'](_0x87e1d9));return _0x77b51f&&(_0x77b51f[_0x216e5f(0x16b)]||_0x77b51f[_0x216e5f(0x4b1)][_0x216e5f(0x3ea)]!==0x0)&&(_0x50d542=_0x77b51f[_0x216e5f(0x318)]),_0x50d542===0x0&&this[_0x216e5f(0x211)][_0x216e5f(0x164)](_0x216e5f(0x418),_0x216e5f(0x2ce)),this[_0x216e5f(0x4a4)][_0x216e5f(0x174)](_0x87e1d9,_0x50d542);}async['_loadDoc'](_0x1bbb62){var _0x7cb93e=_0x549351,_0x494767;let _0x16961b=0x0;const _0x3d7788=await((_0x494767=this['_localCacheService'])==null?void 0x0:_0x494767['loadOfflineData'](_0x1bbb62));return _0x3d7788&&(_0x3d7788[_0x7cb93e(0x16b)]||_0x3d7788[_0x7cb93e(0x4b1)][_0x7cb93e(0x3ea)]!==0x0)&&(_0x16961b=_0x3d7788[_0x7cb93e(0x318)]),_0x16961b===0x0&&this[_0x7cb93e(0x211)]['debug'](_0x7cb93e(0x418),_0x7cb93e(0x2ce)),this['_snapshotService'][_0x7cb93e(0x35a)](_0x1bbb62,_0x16961b);}},_0x1ac966['DataLoaderService']=_0x3dcee9([_0x4394cd(0x0,_0x1580f8[_0x549351(0x3aa)]),_0x4394cd(0x1,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x187)])),_0x4394cd(0x2,_0x1580f8['Optional'](_0x2e9c48))],_0x1ac966[_0x549351(0x459)]);var _0x4644c3=Object[_0x549351(0x3ff)],_0x290fa0=(_0x995bfa,_0x5c128f,_0x1e9eda,_0x40ea68)=>{for(var _0x2a80f4=_0x40ea68>0x1?void 0x0:_0x40ea68?_0x4644c3(_0x5c128f,_0x1e9eda):_0x5c128f,_0x28110c=_0x995bfa['length']-0x1,_0x5a6ac5;_0x28110c>=0x0;_0x28110c--)(_0x5a6ac5=_0x995bfa[_0x28110c])&&(_0x2a80f4=_0x5a6ac5(_0x2a80f4)||_0x2a80f4);return _0x2a80f4;},_0x160db5=(_0x4f86a7,_0x2f0b8d)=>(_0x58c0b1,_0x4b156b)=>_0x2f0b8d(_0x58c0b1,_0x4b156b,_0x4f86a7);const _0x3432a4=['image/png','image/jpeg',_0x549351(0x149),_0x549351(0x378),_0x549351(0x451)],_0x28603b=0x5*0x400*0x400,_0x3b2c46=_0x549351(0x239),_0x4a74cf=_0x549351(0x150),_0x225fd9='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x346d1d=_0x549351(0x25f);_0x1ac966[_0x549351(0x15e)]=class{constructor(_0x2a102f,_0x459444,_0x19104f){var _0x5282ae=_0x549351;_0x1ad8fe(this,'_waitCount',0x0),_0x1ad8fe(this,_0x5282ae(0x153),new _0xdf3790[(_0x5282ae(0x32d))]()),_0x1ad8fe(this,_0x5282ae(0x2a4),this[_0x5282ae(0x153)]),_0x1ad8fe(this,_0x5282ae(0x49d),new Map()),(this[_0x5282ae(0x440)]=_0x2a102f,this['_configService']=_0x459444,this[_0x5282ae(0x326)]=_0x19104f);}[_0x549351(0x380)](_0x9fc24b){var _0x5066f2=_0x549351;this[_0x5066f2(0x2ba)]=_0x9fc24b,this[_0x5066f2(0x153)]['next'](_0x9fc24b);}[_0x549351(0x34a)](_0xb83683,_0x1ec5d0){var _0x3ee5fc=_0x549351;if(_0x1ec5d0===_0x156a78[_0x3ee5fc(0x350)][_0x3ee5fc(0x172)]){const _0x5604cc=new Image();return _0x5604cc[_0x3ee5fc(0x205)]=_0xb83683,_0x5604cc;}return this[_0x3ee5fc(0x49d)][_0x3ee5fc(0x37d)](_0xb83683);}[_0x549351(0x30c)](_0x48a52b,_0xdf5f7,_0x22cabb){var _0x34a0bf=_0x549351;_0xdf5f7===_0x156a78['ImageSourceType']['BASE64']||_0x22cabb==null||this[_0x34a0bf(0x49d)][_0x34a0bf(0x4a7)](_0x48a52b,_0x22cabb);}async[_0x549351(0x329)](_0x33cd9a){var _0x3ac358=_0x549351;try{const _0x201c03=this[_0x3ac358(0x309)](this[_0x3ac358(0x4b6)](),''+_0x33cd9a),_0x3be719=(await this[_0x3ac358(0x440)][_0x3ac358(0x37d)](_0x201c03))[_0x3ac358(0x441)];if(_0x3be719['error']&&_0x3be719['error']['code']===_0x2f6d14['OK']){const _0x1bc1c9=new URL(_0x3be719[_0x3ac358(0x248)],this[_0x3ac358(0x2bd)]())[_0x3ac358(0x27a)]();return Promise['resolve'](_0x1bc1c9);}return Promise[_0x3ac358(0x3a6)](_0x3be719[_0x3ac358(0x4aa)]);}catch(_0x5d999b){return Promise[_0x3ac358(0x3a6)](_0x5d999b);}}async[_0x549351(0x432)](_0x26623c){var _0x2ee12f=_0x549351;let _0x2df28e='';if(!_0x3432a4[_0x2ee12f(0x42e)](_0x26623c['type']))return this['_decreaseWaiting'](),Promise[_0x2ee12f(0x3a6)](new Error(_0x156a78['ImageUploadStatusType'][_0x2ee12f(0x1d4)]));if(_0x26623c[_0x2ee12f(0x225)]>_0x28603b)return this[_0x2ee12f(0x293)](),Promise[_0x2ee12f(0x3a6)](new Error(_0x156a78[_0x2ee12f(0x2f2)][_0x2ee12f(0x243)]));try{const _0x416287=new FormData();_0x416287[_0x2ee12f(0x226)](_0x2ee12f(0x3cd),_0x26623c);const _0x1ef06e=this['_univerInstanceService']['getFocusedUnit'](),_0x4f3c45=_0x1ef06e==null?void 0x0:_0x1ef06e[_0x2ee12f(0x3cf)]();if(!_0x4f3c45)throw new Error(_0x2ee12f(0x468));const _0x10c184=this[_0x2ee12f(0x294)]()+_0x2ee12f(0x38b)+_0x26623c['size'][_0x2ee12f(0x27a)]()+_0x2ee12f(0x313)+_0x5b60ca['UnitEmbedded']+_0x2ee12f(0x27b)+encodeURIComponent(_0x4f3c45),_0x3c6b45=await(await fetch(_0x10c184,{'method':_0x2ee12f(0x2e0),'body':_0x416287}))[_0x2ee12f(0x4a1)]();if(typeof _0x3c6b45['FileId']!=_0x2ee12f(0x2e8))return this[_0x2ee12f(0x293)](),Promise[_0x2ee12f(0x3a6)](new Error(_0x156a78[_0x2ee12f(0x2f2)][_0x2ee12f(0x3cb)]));_0x2df28e=_0x3c6b45[_0x2ee12f(0x31c)];}catch{return this['_decreaseWaiting'](),Promise[_0x2ee12f(0x3a6)](new Error(_0x156a78[_0x2ee12f(0x2f2)]['ERROR_IMAGE']));}return new Promise((_0xb177de,_0x165b48)=>{var _0x5b0407=_0x2ee12f;const _0x5b1775=new FileReader();_0x5b1775[_0x5b0407(0x494)](_0x26623c),_0x5b1775[_0x5b0407(0x1eb)]=_0x40a101=>{var _0xebc5f1=_0x5b0407,_0x30278f;const _0x1ad9de=(_0x30278f=_0x40a101[_0xebc5f1(0x3da)])==null?void 0x0:_0x30278f[_0xebc5f1(0x2ab)];if(_0x1ad9de==null){this[_0xebc5f1(0x293)](),_0x165b48(new Error(_0x156a78[_0xebc5f1(0x2f2)][_0xebc5f1(0x3cb)]));return;}const _0x508a80=_0x1580f8['Tools'][_0xebc5f1(0x25d)](0x6);_0xb177de({'imageId':_0x508a80,'imageSourceType':_0x156a78[_0xebc5f1(0x350)][_0xebc5f1(0x1fc)],'source':_0x2df28e,'base64Cache':_0x1ad9de,'status':_0x156a78['ImageUploadStatusType'][_0xebc5f1(0x439)]}),this[_0xebc5f1(0x293)]();};});}[_0x549351(0x294)](){var _0x5c61a7=_0x549351,_0x31c5c5,_0x552c3f;const _0x1c5377=this[_0x5c61a7(0x475)][_0x5c61a7(0x1ca)](_0x3b2c46),_0xb5efa8=this['_configService']['getConfig'](_0x1db2ed);return(_0x552c3f=(_0x31c5c5=_0xb5efa8==null?void 0x0:_0xb5efa8['uploadFileServerUrl'])!=null?_0x31c5c5:_0x1c5377)!=null?_0x552c3f:_0x4a74cf;}[_0x549351(0x4b6)](){var _0x42c305=_0x549351,_0x5c2592,_0x5a89c4;const _0x4c4903=this[_0x42c305(0x475)]['getConfig'](_0x225fd9),_0x1520f2=this[_0x42c305(0x475)][_0x42c305(0x1ca)](_0x1db2ed);return(_0x5a89c4=(_0x5c2592=_0x1520f2==null?void 0x0:_0x1520f2['signUrlServerUrl'])!=null?_0x5c2592:_0x4c4903)!=null?_0x5a89c4:_0x346d1d;}[_0x549351(0x2bd)](){var _0x42eebe=_0x549351,_0x4caf2c;const _0x2a1c50=this[_0x42eebe(0x475)][_0x42eebe(0x1ca)](_0x1db2ed);return(_0x4caf2c=_0x2a1c50==null?void 0x0:_0x2a1c50[_0x42eebe(0x4ac)])!=null?_0x4caf2c:location[_0x42eebe(0x3e6)];}['_replaceFileID'](_0x25134f,_0x2380c3){var _0x30c92b=_0x549351;return _0x25134f[_0x30c92b(0x477)](_0x30c92b(0x46c),_0x2380c3);}[_0x549351(0x293)](){this['_waitCount']-=0x1,this['_change$']['next'](this['_waitCount']);}},_0x1ac966[_0x549351(0x15e)]=_0x290fa0([_0x160db5(0x0,_0x1580f8['Inject'](_0x2864cd[_0x549351(0x1ac)])),_0x160db5(0x1,_0x1580f8[_0x549351(0x424)]),_0x160db5(0x2,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x3ce)]))],_0x1ac966['CollaborationImageIoService']);var _0x748ff1=Object[_0x549351(0x3ff)],_0x3c9155=(_0x137c12,_0x14595f,_0x1fffa2,_0x19198d)=>{var _0x5634ae=_0x549351;for(var _0x21c603=_0x19198d>0x1?void 0x0:_0x19198d?_0x748ff1(_0x14595f,_0x1fffa2):_0x14595f,_0x4d409c=_0x137c12[_0x5634ae(0x3ea)]-0x1,_0x3587a0;_0x4d409c>=0x0;_0x4d409c--)(_0x3587a0=_0x137c12[_0x4d409c])&&(_0x21c603=_0x3587a0(_0x21c603)||_0x21c603);return _0x21c603;},_0x57f9a7=(_0x47fc08,_0x1eee8e)=>(_0x1fbc48,_0x361cbf)=>_0x1eee8e(_0x1fbc48,_0x361cbf,_0x47fc08);const _0x407299=_0x549351(0x374);_0x1ac966[_0x549351(0x4c1)]=class{constructor(_0x218173,_0x2fc2b3){var _0x1f39d5=_0x549351;this[_0x1f39d5(0x475)]=_0x218173,this[_0x1f39d5(0x204)]=_0x2fc2b3;}[_0x549351(0x165)](){var _0xa84128=_0x549351,_0x390caa,_0x23d5db;const _0x31c245=this['_configService']['getConfig'](_0x2d05be),_0x46541b=this[_0xa84128(0x475)][_0xa84128(0x1ca)](_0x1db2ed);return(_0x23d5db=(_0x390caa=_0x46541b==null?void 0x0:_0x46541b['authzUrl'])!=null?_0x390caa:_0x31c245)!=null?_0x23d5db:_0x407299;}async[_0x549351(0x3ee)](_0x3944aa){var _0x2932eb=_0x549351;const _0x2a58b6=this[_0x2932eb(0x165)]()+_0x2932eb(0x436);return{'list':[{'title':_0x2932eb(0x175),'mentions':(await this[_0x2932eb(0x204)][_0x2932eb(0x37d)](_0x2a58b6,{'params':{'objectID':_0x3944aa[_0x2932eb(0x434)],'unitID':_0x3944aa[_0x2932eb(0x434)]}}))['body'][_0x2932eb(0x45e)][_0x2932eb(0x4b7)](_0x1e820a=>({'objectId':_0x1e820a['id'],'name':_0x1e820a['subject'][_0x2932eb(0x173)],'metadata':{'icon':_0x1e820a[_0x2932eb(0x200)][_0x2932eb(0x365)]},'label':_0x1e820a[_0x2932eb(0x200)][_0x2932eb(0x173)],'objectType':_0x1580f8[_0x2932eb(0x2ff)][_0x2932eb(0x487)]})),'metadata':{},'type':_0x1580f8['MentionType']['PERSON']}]};}},_0x1ac966['MentionIoHttpService']=_0x3c9155([_0x57f9a7(0x0,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x424)])),_0x57f9a7(0x1,_0x1580f8[_0x549351(0x2d9)](_0x2864cd[_0x549351(0x1ac)]))],_0x1ac966['MentionIoHttpService']);var _0x425c67=Object[_0x549351(0x3ff)],_0x376dc8=(_0x52bc69,_0x13c9c6,_0x54c231,_0x328eec)=>{var _0x3b73ce=_0x549351;for(var _0xa8d15e=_0x328eec>0x1?void 0x0:_0x328eec?_0x425c67(_0x13c9c6,_0x54c231):_0x13c9c6,_0x35160d=_0x52bc69[_0x3b73ce(0x3ea)]-0x1,_0x2200f4;_0x35160d>=0x0;_0x35160d--)(_0x2200f4=_0x52bc69[_0x35160d])&&(_0xa8d15e=_0x2200f4(_0xa8d15e)||_0xa8d15e);return _0xa8d15e;},_0x17c1db=(_0x1078ef,_0x2b6936)=>(_0x2b3e7e,_0xc43ca0)=>_0x2b6936(_0x2b3e7e,_0xc43ca0,_0x1078ef);let _0x52e584=class extends _0x1580f8[_0x549351(0x2ef)]{constructor(_0x206e2c,_0x5d36d8,_0x2f1c0e,_0x58cb0b,_0x503ba8){var _0x21ea57=_0x549351;super(),this[_0x21ea57(0x2c4)]=_0x206e2c,this[_0x21ea57(0x326)]=_0x5d36d8,this[_0x21ea57(0x2dc)]=_0x2f1c0e,this[_0x21ea57(0x496)]=_0x58cb0b,this['_collaborationUIEventService']=_0x503ba8,this['_initUnitPermissionChange'](),this[_0x21ea57(0x1a8)]();}['_initCloseConn'](){var _0x2f47ea=_0x549351;const _0x1886a1=async _0x7a97f1=>{var _0x1855a1=_0x8cbe;(await this[_0x1855a1(0x496)]['requireSession'](_0x7a97f1))[_0x1855a1(0x32f)][_0x1855a1(0x48a)](_0x2f0ffe[_0x1855a1(0x3b9)](_0x23c51e=>_0x23c51e[_0x1855a1(0x2e5)]===_0x1273bf[_0x1855a1(0x271)][_0x1855a1(0x2be)]),_0x2f0ffe[_0x1855a1(0x387)](this[_0x1855a1(0x2e3)]))['subscribe'](_0x3b7247=>{var _0x891184=_0x1855a1;const _0x1294be=_0x3b7247,{reason:_0x9507fd}=_0x1294be[_0x891184(0x310)];this[_0x891184(0x274)][_0x891184(0x390)]({'id':_0x2bf599[_0x891184(0x3c2)],'data':_0x9507fd}),this[_0x891184(0x2dc)][_0x891184(0x429)](new _0x3a5b47['WorkbookEditablePermission'](_0x7a97f1)['id'],!0x1),this[_0x891184(0x496)][_0x891184(0x402)](_0x7a97f1);});};_0xdf3790[_0x2f47ea(0x29f)](this[_0x2f47ea(0x326)][_0x2f47ea(0x42d)](_0x1580f8[_0x2f47ea(0x3fb)][_0x2f47ea(0x158)]),this[_0x2f47ea(0x326)][_0x2f47ea(0x42d)](_0x1580f8[_0x2f47ea(0x3fb)][_0x2f47ea(0x448)]))[_0x2f47ea(0x48a)](_0x2f0ffe[_0x2f47ea(0x4b7)](_0x1c3a5e=>_0x1c3a5e['getUnitId']()),_0x2f0ffe[_0x2f47ea(0x3b9)](_0xb6b56e=>!_0x1580f8[_0x2f47ea(0x460)](_0xb6b56e)),_0x2f0ffe[_0x2f47ea(0x387)](this[_0x2f47ea(0x2e3)]))[_0x2f47ea(0x4ab)](_0x5c7015=>{_0x1886a1(_0x5c7015);});}[_0x549351(0x32b)](){var _0x26d587=_0x549351;const _0x4fc666=async _0x200936=>{var _0xcba788=_0x8cbe;const _0x1f052a=await this[_0xcba788(0x496)]['requireSession'](_0x200936),_0x42d110=this['_injector'][_0xcba788(0x37d)](_0x3a5b47['SheetPermissionInitController']);_0x1f052a['event$'][_0xcba788(0x48a)](_0x2f0ffe[_0xcba788(0x3b9)](_0x174572=>_0x174572['eventID']===_0x1273bf[_0xcba788(0x271)][_0xcba788(0x2c5)]),_0x2f0ffe[_0xcba788(0x387)](this['dispose$']))[_0xcba788(0x4ab)](_0x48eba9=>{var _0x4b4efa=_0xcba788;const _0x540284=_0x48eba9,{objectId:_0x5d54c1}=_0x540284[_0x4b4efa(0x310)];_0x5d54c1===_0x200936?_0x42d110[_0x4b4efa(0x2de)](_0x200936):_0x42d110[_0x4b4efa(0x17f)](_0x200936,_0x5d54c1);});};_0xdf3790[_0x26d587(0x29f)](this[_0x26d587(0x326)][_0x26d587(0x42d)](_0x1580f8[_0x26d587(0x3fb)][_0x26d587(0x158)]))[_0x26d587(0x48a)](_0x2f0ffe[_0x26d587(0x4b7)](_0x4780cf=>_0x4780cf['getUnitId']()),_0x2f0ffe[_0x26d587(0x3b9)](_0xeab201=>!_0x1580f8['isInternalEditorID'](_0xeab201)),_0x2f0ffe['takeUntil'](this['dispose$']))['subscribe'](_0x33720f=>{_0x4fc666(_0x33720f);});}};_0x52e584=_0x376dc8([_0x17c1db(0x0,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x17c1db(0x1,_0x1580f8[_0x549351(0x3ce)]),_0x17c1db(0x2,_0x1580f8[_0x549351(0x15f)]),_0x17c1db(0x3,_0x1580f8['Inject'](_0x1ac966[_0x549351(0x1d8)])),_0x17c1db(0x4,_0x1580f8['Inject'](_0x1667ed))],_0x52e584);var _0x8dcea7=Object[_0x549351(0x3ff)],_0x25faf6=(_0x5b365b,_0x5d6560,_0x3ed033,_0x1b1fce)=>{for(var _0x18d18f=_0x1b1fce>0x1?void 0x0:_0x1b1fce?_0x8dcea7(_0x5d6560,_0x3ed033):_0x5d6560,_0x347a41=_0x5b365b['length']-0x1,_0x654594;_0x347a41>=0x0;_0x347a41--)(_0x654594=_0x5b365b[_0x347a41])&&(_0x18d18f=_0x654594(_0x18d18f)||_0x18d18f);return _0x18d18f;},_0x524121=(_0xfaad20,_0x333c87)=>(_0x55dcc3,_0x561120)=>_0x333c87(_0x55dcc3,_0x561120,_0xfaad20);_0x1ac966[_0x549351(0x469)]=class{constructor(_0x461659,_0x3ec713){var _0x483845=_0x549351;this[_0x483845(0x475)]=_0x461659,this['_httpService']=_0x3ec713;}async['getUnitOnRev'](_0x52ae31,_0x409e3c){var _0x3d6008=_0x549351,_0x5d3a9e;const {unitID:_0x4ca813,type:_0xca7270,revision:_0x43dbdd=0x0}=_0x409e3c,_0x25d04a=this[_0x3d6008(0x4bc)]()+'/'+_0xca7270+'/unit/'+_0x4ca813+_0x3d6008(0x2b1)+_0x43dbdd,_0x3029ca=(await this[_0x3d6008(0x440)]['get'](_0x25d04a))[_0x3d6008(0x441)],_0x32b532=(_0x5d3a9e=_0x3029ca[_0x3d6008(0x488)])==null?void 0x0:_0x5d3a9e[_0x3d6008(0x1cf)];if(_0x32b532){const _0x1242fc=_0x32b532==null?void 0x0:_0x32b532[_0x3d6008(0x140)],_0x37afe5=_0x1273bf[_0x3d6008(0x452)]['encode'](_0x1273bf[_0x3d6008(0x474)](_0x1242fc));_0x32b532['originalMeta']=_0x37afe5,Object['entries'](_0x32b532[_0x3d6008(0x21e)])[_0x3d6008(0x2b0)](([,_0x419a9f])=>{var _0x35b721=_0x3d6008;const _0x398448=_0x419a9f[_0x35b721(0x140)],_0x2467ec=_0x1273bf['textEncoder']['encode'](_0x1273bf['b64DecodeUnicode'](_0x398448));_0x419a9f[_0x35b721(0x140)]=_0x2467ec;});}return _0x3029ca;}async['getSheetBlock'](_0x14d37e,_0x2a139f){var _0x235c62=_0x549351;const {unitID:_0x1b0a35,type:_0xb80d87,blockID:_0x291aeb}=_0x2a139f,_0x5d3d79=this[_0x235c62(0x304)]()+'/'+_0xb80d87+'/unit/'+_0x1b0a35+'/block/'+_0x291aeb;return(await this[_0x235c62(0x440)][_0x235c62(0x37d)](_0x5d3d79))[_0x235c62(0x441)];}async[_0x549351(0x1cc)](_0x3177ff,_0x41df4e){var _0x4d7902=_0x549351;const {unitID:_0x5e5d99,type:_0x272e8a,blockID:_0x2c7c5e}=_0x41df4e,_0x4ac592=this['_getAPIPrefix']()+'/block/'+_0x272e8a+_0x4d7902(0x404)+_0x5e5d99+_0x4d7902(0x2b7)+_0x2c7c5e;return(await this[_0x4d7902(0x440)]['get'](_0x4ac592))['body'];}async[_0x549351(0x25a)](_0x211324,_0x36c262){var _0x4821a9=_0x549351;const {unitID:_0xccc96f,type:_0x581a6e,from:_0x51561d,to:_0x138d1e}=_0x36c262,_0x2825c7=this[_0x4821a9(0x304)]()+'/'+_0x581a6e+_0x4821a9(0x404)+_0xccc96f+'/fetchmissing?from='+_0x51561d+_0x4821a9(0x3bb)+_0x138d1e;return(await this[_0x4821a9(0x440)][_0x4821a9(0x37d)](_0x2825c7))['body'];}['getSnapshotAPIPath'](){var _0x224ca4=_0x549351,_0x50c157;return(_0x50c157=this[_0x224ca4(0x475)][_0x224ca4(0x1ca)](_0x832350))!=null?_0x50c157:this[_0x224ca4(0x304)]();}['_getAPIPrefix'](){var _0x49c29a=_0x549351,_0x1dc49f,_0x18ef90;const _0x55c017=this[_0x49c29a(0x475)]['getConfig'](_0x1283aa),_0x5a442d=this[_0x49c29a(0x475)][_0x49c29a(0x1ca)](_0x1db2ed);return(_0x18ef90=(_0x1dc49f=_0x5a442d==null?void 0x0:_0x5a442d[_0x49c29a(0x41a)])!=null?_0x1dc49f:_0x55c017)!=null?_0x18ef90:_0xa37e85;}async[_0x549351(0x286)](_0x368f39,_0x415345){var _0x50bc7d=_0x549351;const _0x4eca20=_0x50bc7d(0x349)+_0x415345[_0x50bc7d(0x1ce)]+_0x50bc7d(0x404)+_0x415345[_0x50bc7d(0x181)]+_0x50bc7d(0x447);return(await this[_0x50bc7d(0x440)]['get'](_0x4eca20,{'params':{'resourceId':JSON[_0x50bc7d(0x282)](_0x415345[_0x50bc7d(0x256)])}}))[_0x50bc7d(0x441)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x4b67d8=_0x549351;throw new Error(_0x4b67d8(0x3e0));}[_0x549351(0x2b8)](){var _0x2bbe63=_0x549351;throw new Error(_0x2bbe63(0x3e0));}[_0x549351(0x297)](){var _0x5f46d5=_0x549351;throw new Error(_0x5f46d5(0x3e0));}[_0x549351(0x22e)](){var _0x45abf9=_0x549351;throw new Error(_0x45abf9(0x3e0));}},_0x1ac966[_0x549351(0x469)]=_0x25faf6([_0x524121(0x0,_0x1580f8[_0x549351(0x424)]),_0x524121(0x1,_0x1580f8['Inject'](_0x2864cd[_0x549351(0x1ac)]))],_0x1ac966[_0x549351(0x469)]);var _0x4e93c7=Object[_0x549351(0x3ff)],_0x3cf327=(_0x9a8a,_0x298ad1,_0x328753,_0x57fe83)=>{var _0x42021d=_0x549351;for(var _0x31a603=_0x57fe83>0x1?void 0x0:_0x57fe83?_0x4e93c7(_0x298ad1,_0x328753):_0x298ad1,_0x360141=_0x9a8a[_0x42021d(0x3ea)]-0x1,_0x4fb0d2;_0x360141>=0x0;_0x360141--)(_0x4fb0d2=_0x9a8a[_0x360141])&&(_0x31a603=_0x4fb0d2(_0x31a603)||_0x31a603);return _0x31a603;},_0x854576=(_0x3c499b,_0x43995a)=>(_0x2b53e6,_0x79ac42)=>_0x43995a(_0x2b53e6,_0x79ac42,_0x3c499b);_0x1ac966[_0x549351(0x358)]=class extends _0x1580f8[_0x549351(0x48f)]{constructor(_0x4e360f,_0x4cf609,_0x2ad3db,_0x563df1,_0xda3d09){var _0x1c90dd=_0x549351;super(_0x4e360f,_0x4cf609,_0x2ad3db),this['_transformService']=_0x563df1,this[_0x1c90dd(0x211)]=_0xda3d09;}[_0x549351(0x3b1)](_0x2f5a2b,_0x525456){var _0x19d701=_0x549351;const _0x5daedf=this['_getUndoStack'](_0x2f5a2b);if(_0x5daedf)try{const _0x460221=this['_transformStack'](_0x5daedf,_0x525456);this['_substituteUndoStack'](_0x2f5a2b,_0x460221);}catch(_0x3c1447){this[_0x19d701(0x211)][_0x19d701(0x4aa)](_0x19d701(0x42c),_0x3c1447),this[_0x19d701(0x3db)](_0x2f5a2b);}const _0x4d1fe9=this['_getRedoStack'](_0x2f5a2b);if(_0x4d1fe9)try{const _0x527779=this[_0x19d701(0x3c0)](_0x4d1fe9,_0x525456);this[_0x19d701(0x215)](_0x2f5a2b,_0x527779);}catch(_0x40a5e8){this[_0x19d701(0x211)][_0x19d701(0x4aa)](_0x40a5e8),this[_0x19d701(0x301)](_0x2f5a2b);}}[_0x549351(0x3db)](_0x309e0a){var _0x5b691a=_0x549351;const _0x4fdf99=this['_getUndoStack'](_0x309e0a);_0x4fdf99&&(_0x4fdf99[_0x5b691a(0x3ea)]=0x0,this[_0x5b691a(0x491)]());}[_0x549351(0x301)](_0xd33956){var _0x4d290d=_0x549351;const _0xb7183f=this[_0x4d290d(0x1ee)](_0xd33956);_0xb7183f&&(_0xb7183f[_0x4d290d(0x3ea)]=0x0,this[_0x4d290d(0x491)]());}['_substituteUndoStack'](_0x38b183,_0x4d0c1d){var _0x23144f=_0x549351;this[_0x23144f(0x25c)][_0x23144f(0x4a7)](_0x38b183,_0x4d0c1d),this['_updateStatus']();}['_substituteRedoStack'](_0x23a4b9,_0x38f0aa){var _0x17288c=_0x549351;this[_0x17288c(0x16f)]['set'](_0x23a4b9,_0x38f0aa),this[_0x17288c(0x491)]();}['_transformStack'](_0x5db240,_0x56fcda){var _0x2ee51d=_0x549351;const _0x3d9d9a=[];let _0x1dbdab=_0x56fcda,_0x260dab=_0x56fcda;for(let _0x253d52=_0x5db240[_0x2ee51d(0x3ea)]-0x1;_0x253d52>=0x0;_0x253d52--){const {unitID:_0x511c41,undoMutations:_0x262065,redoMutations:_0x5be9c9}=_0x5db240[_0x253d52],_0x45508e=this[_0x2ee51d(0x34b)][_0x2ee51d(0x462)](_0x1dbdab,_0x262065),_0x1969c6=this[_0x2ee51d(0x34b)]['transformMutationsWithChangeset'](_0x260dab,_0x5be9c9);if(_0x1273bf['isTransformMutationsWithChangesetFailure'](_0x45508e)||_0x1273bf[_0x2ee51d(0x34c)](_0x1969c6)){this[_0x2ee51d(0x211)][_0x2ee51d(0x4aa)](_0x2ee51d(0x42c),_0x2ee51d(0x4bb),_0x45508e,_0x1969c6);break;}_0x1dbdab=_0x45508e['c1Prime'],_0x260dab=_0x1969c6['c1Prime'],_0x3d9d9a[_0x2ee51d(0x2c6)]({'unitID':_0x511c41,'undoMutations':_0x45508e['m2Prime'],'redoMutations':_0x1969c6['m2Prime']});}return _0x3d9d9a['reverse']();}},_0x1ac966[_0x549351(0x358)]=_0x3cf327([_0x854576(0x0,_0x1580f8[_0x549351(0x3ce)]),_0x854576(0x1,_0x1580f8['ICommandService']),_0x854576(0x2,_0x1580f8[_0x549351(0x1f4)]),_0x854576(0x3,_0x1273bf['ITransformService']),_0x854576(0x4,_0x1580f8[_0x549351(0x3aa)])],_0x1ac966[_0x549351(0x358)]);var _0x40b57a=Object['defineProperty'],_0x3f87e6=Object[_0x549351(0x3ff)],_0x51ed86=(_0x4ed34c,_0x3ff6d3,_0x15b03c)=>_0x3ff6d3 in _0x4ed34c?_0x40b57a(_0x4ed34c,_0x3ff6d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15b03c}):_0x4ed34c[_0x3ff6d3]=_0x15b03c,_0xee2237=(_0x27d4fe,_0x50568d,_0x24fb1d,_0x4b78fa)=>{var _0x98c369=_0x549351;for(var _0x5c41c=_0x4b78fa>0x1?void 0x0:_0x4b78fa?_0x3f87e6(_0x50568d,_0x24fb1d):_0x50568d,_0x25500a=_0x27d4fe[_0x98c369(0x3ea)]-0x1,_0x1b6d48;_0x25500a>=0x0;_0x25500a--)(_0x1b6d48=_0x27d4fe[_0x25500a])&&(_0x5c41c=_0x1b6d48(_0x5c41c)||_0x5c41c);return _0x5c41c;},_0xef21fb=(_0x28df9d,_0x3f6d85)=>(_0x46f092,_0xf7e03)=>_0x3f6d85(_0x46f092,_0xf7e03,_0x28df9d),_0x4a940a=(_0x1d1395,_0x2814a2,_0x2d7ede)=>_0x51ed86(_0x1d1395,_0x2814a2+'',_0x2d7ede);const _0x2d83e9=_0x549351(0x192);_0x1ac966[_0x549351(0x408)]=class extends _0x1580f8[_0x549351(0x1d1)]{constructor(_0x29bbf4,_0x4bf6db,_0x2dfcc3,_0x2765b3){var _0x5dea28=_0x549351;super(),_0x1ad8fe(this,'_config'),(this['_logService']=_0x4bf6db,this['_injector']=_0x2dfcc3,this['_configService']=_0x2765b3);const {..._0x2e7a46}=_0x1580f8[_0x5dea28(0x29f)]({},_0x8159a3,_0x29bbf4);if(!_0x2e7a46['socketService'])throw new Error(_0x5dea28(0x283));this[_0x5dea28(0x416)]=_0x2e7a46,this[_0x5dea28(0x475)][_0x5dea28(0x371)](_0x1db2ed,_0x2e7a46);}['onStarting'](){var _0x120e5b=_0x549351;this[_0x120e5b(0x268)](),this[_0x120e5b(0x1df)]();}[_0x549351(0x268)](){var _0x2bc774=_0x549351,_0x2256c0,_0x48ff94;this[_0x2bc774(0x2c4)][_0x2bc774(0x1e2)](_0x1580f8[_0x2bc774(0x180)])&&this['_logService'][_0x2bc774(0x4aa)]('[UniverCollaborationClientPlugin]',_0x2bc774(0x36f));const _0x568547=_0x1580f8[_0x2bc774(0x3b7)]([[_0x1580f8['IUndoRedoService'],{'useClass':_0x1ac966[_0x2bc774(0x358)]}],[_0x1ac966[_0x2bc774(0x1d8)]],[_0x1ac966['MemberService']],[_0x1ac966[_0x2bc774(0x249)]],[_0x368e2f],[_0x4cce46],[_0x5e520d],[_0x52e584],[_0x1667ed],[_0x1ac966[_0x2bc774(0x459)]],[_0x205f9c,{'useClass':this[_0x2bc774(0x416)][_0x2bc774(0x1fe)]}],[_0x1273bf[_0x2bc774(0x3c9)],{'useClass':_0x1ac966[_0x2bc774(0x469)]}],[_0x1580f8['IAuthzIoService'],{'useClass':_0x1ac966['AuthzIoHttpService']}],[_0x156a78[_0x2bc774(0x199)],{'useClass':_0x1ac966['CollaborationImageIoService']}],[_0x1580f8[_0x2bc774(0x46a)],{'useClass':_0x1ac966[_0x2bc774(0x4c1)]}],[_0x1ac966['CollaborationController']],[_0x405f9d]],(_0x2256c0=this['_config'])==null?void 0x0:_0x2256c0[_0x2bc774(0x1c8)]);if(!((_0x48ff94=this[_0x2bc774(0x416)])!=null&&_0x48ff94[_0x2bc774(0x278)])){const _0x7ec0f6=_0x568547[_0x2bc774(0x3dc)](([_0x1fb364])=>_0x1fb364===_0x431ecc);_0x7ec0f6!==-0x1&&_0x568547[_0x2bc774(0x1cb)](_0x7ec0f6,0x1);}_0x1580f8[_0x2bc774(0x499)](this[_0x2bc774(0x2c4)],_0x568547);}[_0x549351(0x1df)](){var _0x2ff2c6=_0x549351,_0x329c71,_0x2e84c7,_0x100f71;this['_injector'][_0x2ff2c6(0x37d)](_0x2864cd[_0x2ff2c6(0x1ac)])[_0x2ff2c6(0x188)]({'priority':0x14,'interceptor':_0x2864cd[_0x2ff2c6(0x233)]({'maxParallel':0x6})}),(_0x329c71=this[_0x2ff2c6(0x416)])!=null&&_0x329c71[_0x2ff2c6(0x444)]||(_0x2e84c7=this[_0x2ff2c6(0x2c4)]['get'](_0x2e9c48,_0x1580f8[_0x2ff2c6(0x160)]['OPTIONAL']))==null||_0x2e84c7[_0x2ff2c6(0x23b)](),(_0x100f71=this[_0x2ff2c6(0x416)])!=null&&_0x100f71['enableAuthServer']&&_0x1580f8[_0x2ff2c6(0x275)](this[_0x2ff2c6(0x2c4)],[[_0x368e2f]]),_0x1580f8[_0x2ff2c6(0x275)](this[_0x2ff2c6(0x2c4)],[[_0x4cce46],[_0x1ac966[_0x2ff2c6(0x201)]],[_0x52e584]]);}},_0x4a940a(_0x1ac966[_0x549351(0x408)],_0x549351(0x35f),_0x2d83e9),_0x1ac966[_0x549351(0x408)]=_0xee2237([_0x1580f8['DependentOn'](_0x1273bf[_0x549351(0x391)],_0x2864cd['UniverNetworkPlugin']),_0xef21fb(0x1,_0x1580f8[_0x549351(0x3aa)]),_0xef21fb(0x2,_0x1580f8['Inject'](_0x1580f8['Injector'])),_0xef21fb(0x3,_0x1580f8['IConfigService'])],_0x1ac966[_0x549351(0x408)]),_0x1ac966[_0x549351(0x1b5)]=_0x2d05be,_0x1ac966[_0x549351(0x32c)]=_0x1db2ed,_0x1ac966[_0x549351(0x443)]=_0x472a8f,_0x1ac966['COLLAB_WEB_SOCKET_URL_KEY']=_0x50a17e,_0x1ac966[_0x549351(0x39a)]=_0x3ebfe3,_0x1ac966[_0x549351(0x2b9)]=_0x2bf599,_0x1ac966[_0x549351(0x431)]=_0x1667ed,_0x1ac966['CommentService']=_0x5e520d,_0x1ac966[_0x549351(0x23e)]=_0x2225bd,_0x1ac966['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x49be1d,_0x1ac966['DEFAULT_WS_SESSION_TICKET_URL']=_0x4d6748,_0x1ac966['HEARTBEAT_INTERVAL_KEY']=_0x134ec5,_0x1ac966['HEARTBEAT_TIMEOUT_KEY']=_0x5901c0,_0x1ac966['ICollaborationSocketService']=_0x205f9c,_0x1ac966['ILocalCacheService']=_0x2e9c48,_0x1ac966[_0x549351(0x455)]=_0x1587bd,_0x1ac966[_0x549351(0x176)]=_0x431ecc,_0x1ac966['LOCAL_CACHE_INTERVAL']=0x3e8,_0x1ac966['LOCAL_CACHE_INTERVAL_KEY']=_0x34d9ee,_0x1ac966[_0x549351(0x2bb)]=_0x4fd29a,_0x1ac966['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x2cd825,_0x1ac966[_0x549351(0x4c5)]=_0x86df65,_0x1ac966[_0x549351(0x2f0)]=_0x284764,_0x1ac966[_0x549351(0x28b)]=_0x1283aa,_0x1ac966['SNAPSHOT_URL_KEY']=_0x832350,_0x1ac966[_0x549351(0x255)]=_0x5ad294,_0x1ac966[_0x549351(0x196)]=_0x2322d5,_0x1ac966['deserializeToCombResponse']=_0x25897d,_0x1ac966[_0x549351(0x1fd)]=_0x35b57d,_0x1ac966[_0x549351(0x4a3)]=_0x5ca2af,Object[_0x549351(0x344)](_0x1ac966,Symbol[_0x549351(0x21d)],{'value':_0x549351(0x197)});}));
1
+ function _0x5719(_0x214cb8,_0x2b7b67){var _0x5ee467=_0x5ee4();return _0x5719=function(_0x57194a,_0x51d37d){_0x57194a=_0x57194a-0x1bf;var _0x47807e=_0x5ee467[_0x57194a];return _0x47807e;},_0x5719(_0x214cb8,_0x2b7b67);}function _0x5ee4(){var _0x4236b7=['url','type','_createHmacHelper','emitEvent','join','unsubscribe','MOBILE_HAS_BEEN_BOUND','_iv','_commentUpdate$','CollaborationEntity','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_httpService','collaboration-client.config','ICommandService','_socketService','firstValueFrom','getSnapshotAPIPath','getTime','deleteCollaborator','_updateState','updatePermissionObjEvent','669801uuhhbj','CHANGESET_ACK','_sendHeartbeatTimer','_onOffline','toDisposable','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','memberID','_onCombEvent','\x20to\x20','state','_getRedoStack','status$','[PendingState]:\x20received\x20acknowledgement.','UNISCRIPT_RUN','reject','UPDATE_PERMISSION_OBJ','getUnit','OpenSSL','BlockCipherMode','IAuthzIoService','leaveEvent','session.room-permission-denied','kdf','_telemetryService','isArray','encode','_onUserJoin','ciphertext','fetchThroughInterceptors','isTransformMutationsWithChangesetSuccess','transformChangesets','onTransformRemoteChangesetByIMECache','_getCurrentRevision','mixIn','eventID','message$','SHA1','concat','_loadDoc','roles','equals','charCodeAt','&assign=','onSendChangeset','_collaborationTimeoutTimer','clear','userID','sessionStatus$','_onRemoteRejected','NoPadding','getImage','objects','ERROR_IMAGE','_collaborationSessionService','name','_changesetSessionId','selections','commentUpdate$','OFFLINE','_transitionLocked','_clearCollaborationTimeoutTimer','_redoStacks','_onConnectionFailed','resend','CollaborativeUndoRedoService','createCollaborator','_onRecvEvent','createSocket','take','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_minBufferSize','_sendingTimer','_telemetryInfo','c1Prime','unpad','_getUploadFileURL','IMentionIOService','onStateChange','USERS_LEAVE','enc','APPLY_REJECT','entries','CollaborationImageIoService','[OfflineState]:\x20received\x20changeset.','_socket$','mutations','_initMergeInterceptor','infoRsp','ws://127.0.0.1:8000/universer-api/comb/connect','getTypeOfUnitAdded$','CollaborationSessionService','CLOSE_ROOM','update','FETCH_MISS','updatePermissionPoint','_onMessage','dispose$','slice','CollaborationEvent','_invKeySchedule','_showConflictNotification','awaiting','requestParams','crypto','Base','_keySchedule','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','processBlock','_unitInfo$','CollaborationUIEventId','isTransformMutationsWithChangesetFailure','filter','@univerjs/network','ThresholdInterceptorFactory','transformUndoRedo','CHANGESET_REVISION_CONFILICT','USERS_ENTER','batchAllowed','unitID','unitId\x20is\x20not\x20found','set','EMAIL_HAS_BEEN_BOUND','transformSelections','UniverCollaborationClientPlugin','PERMISSION_DENIED','getSheetId','sigBytes','awaitingChangeset','&to=','createDecryptor','encodeURIComponent','readyForCollab','file','collabSubmitChangesetUrl','/unit/','resolve','method','COLLAB_SUBMIT_CHANGESET_URL_KEY','__creator','EmptyMutation','getSheetBlock','SUBMIT_CHANGESET','_key','SessionStatus','actions','salt','_HTTPService','_collabSessionService','now','csAckEvent','Latin1','_tryEnsureSocket','ENSURE_SNAPSHOT_EXECUTION','changesets','_reverseMap','csRejEvent','_sheetTransformSelectionsService','members','toggleOnline','textEncoder','APPLY_REVISION_CONFILICT','call','_handler','IPermissionService','code','_startTelemetryCollaborationNewChangeset','/-/object/-/batch_allowed','joinEvent','JOIN','_initUnitPermissionChange','UniverProCollaborationClient','UNIVER_PROJECT','LEAVE','AWAITING_WITH_PENDING','put','getUnitType','origin','parse','fetching\x20missing\x20changesets\x20from\x20','/new_changes','deserializeToCombResponse','_singleActiveUnitService','_type','stopTime','BufferedBlockAlgorithm','dispose','ISnapshotServerService','_onRemoteACK','[SyncedState]:\x20received\x20rejection.','find','LICENSE_IMPORT_SIZE_EXCEEDED','transformMutationsWithChangeset','UniverCore','COMMENT_UPDATE','_timeoutTimer','_isPermissionRej','_oKey','_transformRemoteChangesetByStateCache','INVITE_CODE_ALREADY_BOUND','/object/','_waitCount','requireSession','size','@univerjs-pro/collaboration','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_socket','_stopTelemetryCollaborationNewChangeset','143dzYgxA','_syncEditingCollabCursor','signUrlServerUrl','padding','key','serializeCombRequest','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','IDLE','PY_RUNTIME_SCRIPT_ERROR','_eventService','_sessions','updateCursorEvent','localeService','range','session.join-failed','_init','getInterceptPoints','sessionStatus','_removeRoom','getCurrentRevOfUnit','avatar','onRemoteChangeset','href','LICENSE_DISTRO_REJECTED','421455PPgKWv','target','WECHAT_HAS_BEEN_BOUND','then','_shouldReportTelemetry','DEFAULT_FILE_NAME','reconnect','auth.needGotoLoginAlert','authzUrl','fetchMiss','HEARTBEAT','session.room-not-exists','pipe','conflict','SNAPSHOT_HAS_BEEN_REMOVED','ERROR_EXCEED_SIZE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','members$','HEARTBEAT_TIMEOUT','PendingState','_onUserLeave','complete','YUUMI_SUBSCRIPTION_NOT_FOUND','image/bmp','socketService','map','SUBMIT_CHANGESET_TIMEOUT','INGEST','saveImage','_onConflict','getAllMembers','YUUMI_URL_COL_OUT_OF_RANGE','saveChangeset','_getDownloadEndpointURL','toString','LocalUndoRedoService','Could\x20not\x20dynamically\x20require\x20\x22','IConfigService','clone','touchDependencies','reduce','merge','_getSendChangesetTimeout','apply','reset','fromCharCode','default','_onLocalMutation','UNIVER_DOC','_replayCachedMutations','getRandomValues','IImageIoService','disposeWithMe','length','encrypt','transformStack\x20failed!','SheetTransformSelectionsService','execute','SOCKET_FAILED_RETRY','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_networkConditionService','substr','getCollabEntity$','NO_OTHER_CLIENTS_EDITING','10rHtapU','b64DecodeUnicode','socket$','[FetchMissState]','InsertSheetMutation','CBC','onCommentUpdate','_initCloseConn','isInternalEditorID','_transformUndoredo','NOT_COLLAB','add','focused$','addHandlerCallback','clamp','\x20in\x20_schedule.','_socketMessageSubscription','onMissingChangesets','MentionType','prototype','NOT_FOUND','getOwnPropertyDescriptor','init','UnitStatus','UserManagerService','title','_memberService','Cipher','revision','copyFileMeta','getFocusedUnit','startTime','max','uniscriptRunEvent','override','_rescheduleHeartbeat','catch','routeKey','data','c2Prime','ceil','x-univer-host','closeSession','@univerjs/sheets','_change$','UNIVER_UNKNOWN','getActiveSheet','_transformService','OTHER_CLIENTS_EDITING','reqId','HMAC','objectType','offline','session.room-cnt-exceeds','_createSocket','ILogService','_sender','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','LIVESHARE_FETCH_OPERATIONS','HTTPService','UniverInstanceType','symbol','algo','_xformMode','_commandService','confirm','onTransformSelections','generateRandomId','CollaborationSession','ConflictState','PSEUDO_FETCH_MISSING_RESULT','ISingleActiveUnitService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','snapshot','liveShareOperation','onStarting','/resources','_submitChangeset','permissionRejEvent','JOIN_ROOM_PERMISSION_DENIED','rev','YUUMI_RATE_OVER_LIMIT','Optional','_updateLocalCache','capture','parseProtocolChangeset','_nDataBytes','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_univerInstanceService','floor','OfflineState','ITransformService','IUniverInstanceService','_getSignURL','@univerjs/docs','close$','ICollaborationSocketService','_entityInit$','YUUMI_NO_CUBOID_FOR_QUESTION','enableAuthServer','fetchMissingChangesets','LOCAL_CACHE_INTERVAL_KEY','_executeRemoteChangeset','_onRemoteChangeset','_onFetchMissResult','626067qkSznu','_decreaseWaiting','_commentService','error$','textRanges','DataLoaderService','putCollaborators','rxjs/operators','SNAPSHOT_SERVER_URL_KEY','JOIN_ROOM_FAILED','pending','Injector','ONLINE','onTransformRemoteChangesetByStateCache','UniverProLicense','_resendTimer','WordArray','SYNCED','object','HttpImport','enableOfflineEditing','AES','INVALID_ARGUMENT','append','result','LICENSE_MAX_UNITS_EXCEEDED','COMPRESS_MUTATION_APPLY','_transformStack','get','UNAUTHENTICATED','univer-pro.collaboration-client.single-active-unit-service','updateOfflineData','UNKNOWN_CMD','JOINING','retryConnectingInterval','_instanceService','_doFinalize','findIndex','LIVESHARE_REQUEST_HOST','state$','json','_updateStatus','_checkMissing','_imageSourceCache','SNAPSHOT_INVALID_SNAPSHOT','save\x20fail\x20reason\x20is\x20','_clearScheduledTask','UNRECOGNIZED','Pkcs7','Inject','ALREADY_EXISTS','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','WorkbookEditablePermission','[CollaborationEntity]','LIVESHARE_NEW_HOST','_applyRemoteChangeset','UUID','_scheduleCollaborationTimeoutTimer','_onConnectionOpen','MUTATION','deepClone','_clearLocalCache','_lockTransition','/universer-api/authz','delay','loadOfflineData','isPermissionRej','allowed','createEncryptor','debug','[CollaborationUndoRedoService]','_resendWithTimeout','_createInitialStateImpl','RxDisposable','refreshPermission','subject','DEFAULT_COLLAB_WEB_SOCKET_URL','hasher','onCommandExecuted','updateMember','_mode','_clearRedo','sheets','snapshotServerUrl','_process','src','RECV','_hash','?size=','5276370niXdTm','_members','setCurrentUser','UNKNOWN_CODE','COLLAB_SUBMIT_CHANGESET_URL','[DataLoaderService]','CollaborationSocketService','SnapshotService','ivSize','onTransformState','fetch_missing','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','INVITE_CODE_REQUIRED','HELLO','resourceIDs','DisposableCollection','mode','SOCKET_FAILED','APPLY_DUPLICATED','saveSheetBlock','_emitMembers','EvpKDF','_config','collaboratorID','defineProperty','finalize','/object','_collaborationPaused','TOO_MANY_REQUESTS','entityInit$','list','setShowComponents','_onRemoteRetry','LICENSE_EXPORT_SIZE_EXCEEDED','CollaborationStatus','interceptor','AUTHZ_URL_KEY','_transformStateCache','_joinRoom','29076UwBCyU','operators','\x20-\x20','_clearRetryConnectingTimer','_getAPIPrefixPath','DEFAULT_WS_SESSION_TICKET_URL','open$','_incrementRevisionNumber','sid','SEND_CHANGESET_TIMEOUT_KEY','create','INVITE_CODE_HAS_BEEN_UES','randomUUID','_changesetReqId','shareReplay','pad','DocCollaborationEntity','COMPLETION_FINISHED','_registerDependencies','_state$','_unitID','onlyLocal','getValue','Utf8','body','_loadSheet','[CollaborationSession]','/role','cmd','_entities','createInstance','disableLocalCache','_resendTimeout','LOCAL_CACHE_INTERVAL','takeUntil','_clearHeartbeatTimer','@univerjs-pro/license','format','abs','forEach','random','CommentService','splice','COMPRESS_MUTATION_SEND','getCollabEntity','_getLoginPath','COLLAB_WEB_SOCKET_URL_KEY','send','SNAPSHOT_URL_KEY','compute','mergeOverrideWithDependencies','getLatestCsReqIdBySid','_status$','SyncedState','sin','_keyPriorReset','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','appendMutation','@univerjs/core','collabWebSocketUrl','words','_iKey','CommandType','Univer','createIdentifier','HmacMD5','GLOBAL_ROOMS_CNT_EXCEEDS','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','CollaborationController','SerializableCipher','_getCtorByUniverType','loadSheet','onRemoteRetry','FAIL','ISocketService','change$','Malformed\x20UTF-8\x20data','_nRounds','image/jpeg','_awaitingChangeset','decryptBlock','fromCollab','AwaitingState','Undefined','_snapshotServerService','CHANGESET_SHOULD_RETRY','failed\x20to\x20apply\x20missed\x20changesets!','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','every','_map','_roomMembers','_snapshotService','pauseCollaboration','SnapshotServerOverHTTPService','from','JSONX','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','subscribe','INTERNAL_ERROR','INetworkConditionService','next','FETCH_MISSING','isTransformChangesetsSuccess','compose','ReplaySubject','_replaceFileID','MentionIoHttpService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','function','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','rxjs','session','loadDoc','encryptBlock','not_collab','_retryCount','has','collaboration_new_changeset','HEARTBEAT_INTERVAL_KEY','parseChangesetToProtocol','duration','getConfig','decrypt','onSyncEditingCollabCursor','BlockCipher','_startCollaboration','_cipher','_scheduleCompleteTimestamp','254CSKwSM','startsWith','StreamCipher','_handlerCallback','bind','_retryConnectingTimer','getResourcesRequest','asObservable','_localeService','AuthzIoHttpService','/fetchmissing?from=','_event$','post','__esModule','onRemoteAck','NEW_CHANGESETS','_initRequestHeader','socket\x20close','_userManagerService','CONNECTOR_DATA_TOO_LARGE','4myNkRc','USER_NOT_INVITED_CODE','hostname','LIVESHARE_TERMINATE','_clearUndo','168jmrSNz','_remoteChangesetQueue','UPDATE_CURSOR','updateCollaborator','_logService','originalMeta','UniverNetwork','onLocalMutation','JOIN_ROOM_NOT_EXISTS','BehaviorSubject','_permissionService','_append','_schedule','_listenToNetworkCondition','HmacSHA1','ImageSourceType','_revisionService','CipherParams','[OfflineState]:\x20received\x20rejection.','DependentOn','JOIN_ROOM_FULL','CompressMutationService','awaiting_with_pending','MD5','status','unknown','LOGIN_FAILED','removeMember','_queuedRemoteChangesets','BASE64','push','SetSelectionsOperation','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/rev/','hasOwnProperty','extend','editingUnit','Error\x20on\x20receiving\x20event','/universer-api/oidc/authpage','unitInfo$','collaMsg','RichTextEditingMutation','_unlockTransition','incrementRevOfUnit','image/jpg','_acknowledgedAwaitingChangeset','_socketReady','_collaborationUIEventService','headers','POST','_injector','_toggleOnline','_createHandler','univer-pro.collaboration-client.network-condition.service','PERMISSION_REJ','MSG_FOR_ERROR','_transformSelections','Subject','_clearTimeoutTimer','LOGIN_URL_KEY','PENDING','cfg','APPLY_NON_SEQUENTIAL_REVISION','Failed\x20to\x20update\x20permission\x20point','965288PgVxEJ','toLowerCase','unitId','_createHelper','_getAPIPrefix','OTHER_CLIENT_EDITING','?url=','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','IUndoRedoService','_disableEditing','[CollaborationSessionService]','objectID','getUnitOnRev','Hasher','registerHTTPInterceptor','collaborators','[PendingState]:\x20received\x20rejection.','_pendingMutations','_members$','blockSize','_compressMutationService','collaboration-client.local-cache-service','onTransformIME','UniverTelemetry','APPLY_PERMISSION_DENIED','/universer-api/stream/file/upload','@univerjs/drawing','UNDEFINED','formatter','@univerjs/telemetry','_doReset','LIVESHARE_OPERATION','randomBytes','loginUrlKey','_substituteRedoStack','Quantity','_prevBlock','_onJoinRoomEvent','SHOULD_CLOSE_CONN','RETRY_CONNECTING_MAX_COUNT_KEY','getTypeOfUnitDisposed$','unit-cache-','[OfflineState]:\x20received\x20acknowledgement.','INVALID_INVITE_CODE','HttpExport','synced','CONFLICT','_substituteUndoStack','exports','_state','YUUMI_UNABLE_LOAD_URL','pluginName','UnitSnapshot','UNIVER_SHEET','_sendHeartbeat','_ENC_XFORM_MODE','lib','RevisionService','SheetCollaborationEntity','_hasher','delete','liveShareNewHost','getCurrentUser','workbook','_createInitialState','values','FetchingMissState','getUnitId','initWorkbookPermissionChange','editing\x20status\x20changed\x20to','_sessionStatus$','YUUMI_ASYNCIO_CANCELLED','/block/','close','msCrypto','\x0aCurrent:\x20','HEARTBEAT_TIMEOUT_KEY','params','saveSnapshot','_DEC_XFORM_MODE','event$','[UniverCollaborationClientPlugin]','CHANGESET_REJ','Base64','SheetsSelectionsService','AwaitingWithPendingState','UserProfileImg','_transformRemoteChangesetByIMECache','_localCacheService','registerDependencies','MemberService','UnitEmbedded','UniverProCollaboration','joinRsp','charAt','/collaborator','error','_undoRedoService','_data','getLocalCacheKey','univer-pro.collaboration-client-socket-service','PERSON','&source=','_configService','FileId','_roomCreated$','_throwTelemetryCollaborationNewChangeset','withCredentials','executeCommand','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_tryReconnect','localCacheService','m2Prime','toggleOffline','ImageUploadStatusType','_getUndoStack','_candidateSocket','_parse','stringify','_doCreateSocket','/allowed','UNIVER_SLIDE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onRemoteRej','string','baseRev','LocaleService','Disposable','getMember','keySize'];_0x5ee4=function(){return _0x4236b7;};return _0x5ee4();}(function(_0x578831,_0xa6f77c){var _0x1bfa01=_0x5719,_0x5f2da6=_0x578831();while(!![]){try{var _0x466395=-parseInt(_0x1bfa01(0x538))/0x1*(-parseInt(_0x1bfa01(0x379))/0x2)+-parseInt(_0x1bfa01(0x469))/0x3+-parseInt(_0x1bfa01(0x38d))/0x4*(parseInt(_0x1bfa01(0x1d0))/0x5)+parseInt(_0x1bfa01(0x2f9))/0x6*(parseInt(_0x1bfa01(0x392))/0x7)+-parseInt(_0x1bfa01(0x3d2))/0x8+-parseInt(_0x1bfa01(0x279))/0x9*(parseInt(_0x1bfa01(0x210))/0xa)+parseInt(_0x1bfa01(0x2d2))/0xb;if(_0x466395===_0xa6f77c)break;else _0x5f2da6['push'](_0x5f2da6['shift']());}catch(_0x229f1d){_0x5f2da6['push'](_0x5f2da6['shift']());}}}(_0x5ee4,0x1c681),function(_0x3d5812,_0x3be384){var _0x26f7b6=_0x5719;typeof exports==_0x26f7b6(0x28b)&&typeof module<'u'?_0x3be384(exports,require('@univerjs/core'),require(_0x26f7b6(0x367)),require(_0x26f7b6(0x280)),require(_0x26f7b6(0x534)),require(_0x26f7b6(0x4d9)),require('@univerjs/telemetry'),require(_0x26f7b6(0x26e)),require(_0x26f7b6(0x23b)),require(_0x26f7b6(0x3ec)),require(_0x26f7b6(0x31d))):typeof define==_0x26f7b6(0x365)&&define['amd']?define(['exports',_0x26f7b6(0x333),_0x26f7b6(0x367),_0x26f7b6(0x280),'@univerjs-pro/collaboration',_0x26f7b6(0x4d9),_0x26f7b6(0x3ef),_0x26f7b6(0x26e),_0x26f7b6(0x23b),_0x26f7b6(0x3ec),_0x26f7b6(0x31d)],_0x3be384):(_0x3d5812=typeof globalThis<'u'?globalThis:_0x3d5812||self,_0x3be384(_0x3d5812[_0x26f7b6(0x513)]={},_0x3d5812[_0x26f7b6(0x529)],_0x3d5812[_0x26f7b6(0x367)],_0x3d5812['rxjs'][_0x26f7b6(0x2fa)],_0x3d5812[_0x26f7b6(0x42e)],_0x3d5812[_0x26f7b6(0x398)],_0x3d5812[_0x26f7b6(0x3e9)],_0x3d5812['UniverDocs'],_0x3d5812['UniverSheets'],_0x3d5812['UniverDrawing'],_0x3d5812[_0x26f7b6(0x287)]));}(this,function(_0x29391d,_0x1553b4,_0x430a82,_0x40cff2,_0x489078,_0x552ab4,_0x38cb59,_0x36f6f8,_0x23f2ac,_0x131e1b,_0x1c72b0){'use strict';var _0x210b79=_0x5719;var _0x4f2b16=Object[_0x210b79(0x2ea)],_0x50f325=(_0x38bad7,_0x120bac,_0x13de7e)=>_0x120bac in _0x38bad7?_0x4f2b16(_0x38bad7,_0x120bac,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13de7e}):_0x38bad7[_0x120bac]=_0x13de7e,_0x3c9fd4=(_0x2a1d3b,_0x5c3dbe,_0x3cbc73)=>_0x50f325(_0x2a1d3b,typeof _0x5c3dbe!=_0x210b79(0x24d)?_0x5c3dbe+'':_0x5c3dbe,_0x3cbc73);const _0x5cd098=_0x210b79(0x281),_0x36ee3d='/universer-api/snapshot',_0x3fa2ac=_0x210b79(0x329),_0x512661='SEND_CHANGESET_TIMEOUT',_0x54aa30='COLLAB_WEB_SOCKET_URL',_0x3f7a1f=_0x210b79(0x4c1),_0x221276='/universer-api/user/session-ticket',_0x3264b7='HEARTBEAT_INTERVAL',_0x1bc3b7=_0x210b79(0x1e2),_0x1af80d='RETRY_CONNECTING_MAX_COUNT',_0xa78240=_0x210b79(0x31a),_0x495272=_0x210b79(0x2d6),_0x19f580='/universer-api/comb',_0x34ffb2=_0x210b79(0x3cd),_0x261f35=_0x210b79(0x3b8),_0x356191=_0x210b79(0x44c),_0x2a8e75='/universer-api/uniscript';var _0x312a2a=(_0x17da53=>(_0x17da53[_0x17da53[_0x210b79(0x3ed)]=0x0]='UNDEFINED',_0x17da53[_0x17da53['OK']=0x1]='OK',_0x17da53[_0x17da53[_0x210b79(0x35b)]=0x2]='INTERNAL_ERROR',_0x17da53[_0x17da53[_0x210b79(0x4e5)]=0x3]=_0x210b79(0x4e5),_0x17da53[_0x17da53[_0x210b79(0x224)]=0x4]=_0x210b79(0x224),_0x17da53[_0x17da53['UNAUTHENTICATED']=0x5]=_0x210b79(0x296),_0x17da53[_0x17da53[_0x210b79(0x2ab)]=0x6]=_0x210b79(0x2ab),_0x17da53[_0x17da53[_0x210b79(0x28f)]=0x7]=_0x210b79(0x28f),_0x17da53[_0x17da53[_0x210b79(0x2ee)]=0x8]=_0x210b79(0x2ee),_0x17da53[_0x17da53[_0x210b79(0x30a)]=0x9]=_0x210b79(0x30a),_0x17da53[_0x17da53[_0x210b79(0x3ac)]=0xa]='LOGIN_FAILED',_0x17da53[_0x17da53[_0x210b79(0x4dc)]=0x1389]=_0x210b79(0x4dc),_0x17da53[_0x17da53[_0x210b79(0x2a5)]=0x1771]=_0x210b79(0x2a5),_0x17da53[_0x17da53[_0x210b79(0x1de)]=0x1772]=_0x210b79(0x1de),_0x17da53[_0x17da53[_0x210b79(0x501)]=0x1773]=_0x210b79(0x501),_0x17da53[_0x17da53[_0x210b79(0x4b9)]=0x1b59]='APPLY_REJECT',_0x17da53[_0x17da53[_0x210b79(0x3d0)]=0x1b5a]=_0x210b79(0x3d0),_0x17da53[_0x17da53[_0x210b79(0x509)]=0x1b5b]=_0x210b79(0x509),_0x17da53[_0x17da53[_0x210b79(0x3ea)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x17da53[_0x17da53[_0x210b79(0x2e4)]=0x1b5d]=_0x210b79(0x2e4),_0x17da53[_0x17da53[_0x210b79(0x38c)]=0x1f41]=_0x210b79(0x38c),_0x17da53[_0x17da53[_0x210b79(0x292)]=0x2329]=_0x210b79(0x292),_0x17da53[_0x17da53[_0x210b79(0x258)]=0x232a]=_0x210b79(0x258),_0x17da53[_0x17da53[_0x210b79(0x527)]=0x232b]=_0x210b79(0x527),_0x17da53[_0x17da53[_0x210b79(0x2f3)]=0x232c]=_0x210b79(0x2f3),_0x17da53[_0x17da53[_0x210b79(0x1cf)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x17da53[_0x17da53[_0x210b79(0x404)]=0x2711]=_0x210b79(0x404),_0x17da53[_0x17da53[_0x210b79(0x1ef)]=0x2712]=_0x210b79(0x1ef),_0x17da53[_0x17da53[_0x210b79(0x261)]=0x2713]=_0x210b79(0x261),_0x17da53[_0x17da53[_0x210b79(0x1e6)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x17da53[_0x17da53['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x210b79(0x272),_0x17da53[_0x17da53[_0x210b79(0x419)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x17da53[_0x17da53['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x210b79(0x1c0),_0x17da53[_0x17da53[_0x210b79(0x304)]=0x2ee1]=_0x210b79(0x304),_0x17da53[_0x17da53[_0x210b79(0x3fd)]=0x2ee2]='INVALID_INVITE_CODE',_0x17da53[_0x17da53['INVITE_CODE_REQUIRED']=0x2ee3]=_0x210b79(0x2de),_0x17da53[_0x17da53[_0x210b79(0x38e)]=0x2ee4]=_0x210b79(0x38e),_0x17da53[_0x17da53['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x210b79(0x52f),_0x17da53[_0x17da53[_0x210b79(0x1d2)]=0x32c9]=_0x210b79(0x1d2),_0x17da53[_0x17da53[_0x210b79(0x45a)]=0x32ca]=_0x210b79(0x45a),_0x17da53[_0x17da53[_0x210b79(0x4e2)]=0x32cb]=_0x210b79(0x4e2),_0x17da53[_0x17da53[_0x210b79(0x2a8)]=-0x1]=_0x210b79(0x2a8),_0x17da53))(_0x312a2a||{}),_0x4c7778=(_0x3402f6=>(_0x3402f6[_0x3402f6[_0x210b79(0x23d)]=0x0]=_0x210b79(0x23d),_0x3402f6[_0x3402f6['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x3402f6[_0x3402f6[_0x210b79(0x407)]=0x2]=_0x210b79(0x407),_0x3402f6[_0x3402f6[_0x210b79(0x44b)]=0x3]='UNIVER_SLIDE',_0x3402f6[_0x3402f6[_0x210b79(0x514)]=0x4]=_0x210b79(0x514),_0x3402f6[_0x3402f6['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3402f6))(_0x4c7778||{}),_0x351542=(_0x2aa6d5=>(_0x2aa6d5[_0x2aa6d5[_0x210b79(0x299)]=0x0]=_0x210b79(0x299),_0x2aa6d5[_0x2aa6d5['HELLO']=0x1]='HELLO',_0x2aa6d5[_0x2aa6d5[_0x210b79(0x511)]=0x2]=_0x210b79(0x511),_0x2aa6d5[_0x2aa6d5[_0x210b79(0x515)]=0x3]='LEAVE',_0x2aa6d5[_0x2aa6d5['INGEST']=0x4]=_0x210b79(0x1eb),_0x2aa6d5[_0x2aa6d5[_0x210b79(0x1da)]=0x5]=_0x210b79(0x1da),_0x2aa6d5[_0x2aa6d5[_0x210b79(0x2cf)]=0x6]=_0x210b79(0x2cf),_0x2aa6d5[_0x2aa6d5[_0x210b79(0x2a8)]=-0x1]=_0x210b79(0x2a8),_0x2aa6d5))(_0x351542||{}),_0x1b819b=(_0x445bbe=>(_0x445bbe[_0x445bbe[_0x210b79(0x2d5)]=0x0]='UNKNOWN_CODE',_0x445bbe[_0x445bbe['OK']=0x1]='OK',_0x445bbe[_0x445bbe[_0x210b79(0x342)]=0x2]=_0x210b79(0x342),_0x445bbe[_0x445bbe[_0x210b79(0x3a6)]=0x3e9]=_0x210b79(0x3a6),_0x445bbe[_0x445bbe[_0x210b79(0x39a)]=0x3ea]=_0x210b79(0x39a),_0x445bbe[_0x445bbe[_0x210b79(0x25f)]=0x3eb]=_0x210b79(0x25f),_0x445bbe[_0x445bbe[_0x210b79(0x33b)]=0x3ec]=_0x210b79(0x33b),_0x445bbe[_0x445bbe[_0x210b79(0x2a8)]=-0x1]='UNRECOGNIZED',_0x445bbe))(_0x1b819b||{}),_0x316aba=(_0x7c1855=>(_0x7c1855[_0x7c1855[_0x210b79(0x34c)]=0x0]='Undefined',_0x7c1855[_0x7c1855[_0x210b79(0x28c)]=0x1]=_0x210b79(0x28c),_0x7c1855[_0x7c1855[_0x210b79(0x3fe)]=0x2]=_0x210b79(0x3fe),_0x7c1855[_0x7c1855['UnitEmbedded']=0x3]=_0x210b79(0x42d),_0x7c1855[_0x7c1855[_0x210b79(0x406)]=0x4]=_0x210b79(0x406),_0x7c1855[_0x7c1855[_0x210b79(0x428)]=0x5]='UserProfileImg',_0x7c1855[_0x7c1855['UNRECOGNIZED']=-0x1]=_0x210b79(0x2a8),_0x7c1855))(_0x316aba||{});const _0x3d6319=_0x210b79(0x460),_0x2de2fa={};var _0x5ee67c=(_0x550df7=>(_0x550df7['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x550df7['PERMISSION_DENIED']='PERMISSION_DENIED',_0x550df7['CONFLICT']='CONFLICT',_0x550df7[_0x210b79(0x4c4)]=_0x210b79(0x4c4),_0x550df7[_0x210b79(0x282)]=_0x210b79(0x282),_0x550df7[_0x210b79(0x20a)]=_0x210b79(0x20a),_0x550df7[_0x210b79(0x2e3)]=_0x210b79(0x2e3),_0x550df7[_0x210b79(0x1ea)]=_0x210b79(0x1ea),_0x550df7))(_0x5ee67c||{});class _0xf12017{constructor(){var _0x1d3014=_0x210b79;_0x3c9fd4(this,_0x1d3014(0x384),new _0x430a82[(_0x1d3014(0x3cb))]()),_0x3c9fd4(this,_0x1d3014(0x422),this[_0x1d3014(0x384)][_0x1d3014(0x380)]());}[_0x210b79(0x457)](_0x23bb71){var _0x4f9c78=_0x210b79;this[_0x4f9c78(0x384)][_0x4f9c78(0x35d)](_0x23bb71);}}const _0x3d3223=_0x1553b4['createIdentifier'](_0x210b79(0x3c7));function _0x5875f7(_0x2336b7){var _0x4a5d76=_0x210b79,_0x3e8a85,_0x5721cb,_0x346ffc,_0x16551e,_0x246176;const _0x4a792b=_0x2336b7[_0x4a5d76(0x236)],_0x12a034=JSON[_0x4a5d76(0x51a)](_0x4a792b);switch(_0x12a034[_0x4a5d76(0x315)]){case _0x351542['HEARTBEAT']:case _0x351542[_0x4a5d76(0x2df)]:{const _0x1fe6b4=_0x12a034[_0x4a5d76(0x4c0)];return{..._0x12a034,'data':_0x1fe6b4,'cmd':_0x12a034[_0x4a5d76(0x315)]};}case _0x351542[_0x4a5d76(0x511)]:{const _0x348e06=_0x12a034[_0x4a5d76(0x42f)];return{..._0x12a034,'data':_0x348e06,'cmd':_0x12a034[_0x4a5d76(0x315)]};}case _0x351542['RECV']:{const _0x98abf2=_0x12a034[_0x4a5d76(0x3ba)];switch(_0x98abf2[_0x4a5d76(0x48b)]){case _0x489078[_0x4a5d76(0x4cb)]['PERMISSION_REJ']:return{..._0x12a034,'data':{..._0x98abf2,'data':(_0x3e8a85=_0x98abf2[_0x4a5d76(0x25e)])==null?void 0x0:_0x3e8a85['cs']},'cmd':_0x12a034[_0x4a5d76(0x315)]};case _0x489078[_0x4a5d76(0x4cb)][_0x4a5d76(0x46a)]:return{..._0x12a034,'data':{..._0x98abf2,'data':(_0x5721cb=_0x98abf2[_0x4a5d76(0x4fe)])==null?void 0x0:_0x5721cb['cs']},'cmd':_0x12a034[_0x4a5d76(0x315)]};case _0x489078[_0x4a5d76(0x4cb)]['NEW_CHANGESETS']:return{..._0x12a034,'data':{..._0x98abf2,'data':(_0x346ffc=_0x98abf2['newCsEvent'])==null?void 0x0:_0x346ffc['cs']},'cmd':_0x12a034['cmd']};case _0x489078['CollaborationEvent']['CHANGESET_REJ']:return{..._0x12a034,'data':{..._0x98abf2,'data':(_0x16551e=_0x98abf2[_0x4a5d76(0x504)])==null?void 0x0:_0x16551e['cs']},'cmd':_0x12a034['cmd']};case _0x489078[_0x4a5d76(0x4cb)]['CHANGESET_SHOULD_RETRY']:return{..._0x12a034,'data':{..._0x98abf2,'data':(_0x246176=_0x98abf2['csShouldRetryEvent'])==null?void 0x0:_0x246176['cs']},'cmd':_0x12a034['cmd']};case _0x489078[_0x4a5d76(0x4cb)][_0x4a5d76(0x394)]:return{..._0x12a034,'data':{..._0x98abf2,'data':_0x98abf2[_0x4a5d76(0x1c3)]},'cmd':_0x12a034[_0x4a5d76(0x315)]};case _0x489078['CollaborationEvent'][_0x4a5d76(0x4dd)]:return{..._0x12a034,'data':{..._0x98abf2,'data':_0x98abf2[_0x4a5d76(0x510)]},'cmd':_0x12a034[_0x4a5d76(0x315)]};case _0x489078['CollaborationEvent'][_0x4a5d76(0x4b7)]:return{..._0x12a034,'data':{..._0x98abf2,'data':_0x98abf2[_0x4a5d76(0x47d)]},'cmd':_0x12a034[_0x4a5d76(0x315)]};case _0x489078[_0x4a5d76(0x4cb)]['LIVESHARE_NEW_HOST']:return{..._0x12a034,'data':{..._0x98abf2,'data':_0x98abf2[_0x4a5d76(0x40f)]},'cmd':_0x12a034[_0x4a5d76(0x315)]};case _0x489078[_0x4a5d76(0x4cb)][_0x4a5d76(0x24a)]:case _0x489078[_0x4a5d76(0x4cb)][_0x4a5d76(0x3f1)]:return{..._0x12a034,'data':{..._0x98abf2,'data':_0x98abf2[_0x4a5d76(0x25a)]},'cmd':_0x12a034[_0x4a5d76(0x315)]};case _0x489078[_0x4a5d76(0x4cb)][_0x4a5d76(0x390)]:return{..._0x12a034,'data':{..._0x98abf2,'data':_0x98abf2[_0x4a5d76(0x40f)]},'cmd':_0x12a034[_0x4a5d76(0x315)]};case _0x489078[_0x4a5d76(0x4cb)]['MSG_FOR_ERROR']:return{..._0x12a034,'data':_0x98abf2,'cmd':_0x12a034[_0x4a5d76(0x315)]};case _0x489078[_0x4a5d76(0x4cb)][_0x4a5d76(0x52a)]:return{..._0x12a034,'data':{..._0x98abf2,'data':_0x98abf2['commentUpdateEvent']},'cmd':_0x12a034[_0x4a5d76(0x315)]};case _0x489078[_0x4a5d76(0x4cb)]['UPDATE_PERMISSION_OBJ']:return{..._0x12a034,'data':{..._0x98abf2,'data':_0x98abf2[_0x4a5d76(0x468)]},'cmd':_0x12a034[_0x4a5d76(0x315)]};case _0x489078['CollaborationEvent'][_0x4a5d76(0x3f8)]:return{..._0x12a034,'data':{..._0x98abf2,'data':_0x98abf2['shouldCloseConn']},'cmd':_0x12a034['cmd']};case _0x489078[_0x4a5d76(0x4cb)][_0x4a5d76(0x476)]:return{..._0x12a034,'data':{..._0x98abf2,'data':_0x98abf2[_0x4a5d76(0x231)]},'cmd':_0x12a034[_0x4a5d76(0x315)]};default:return _0x12a034;}}default:return _0x12a034;}}function _0x2d1c2d(_0xd1d1c6){var _0x3b7f4d=_0x210b79;switch(_0xd1d1c6[_0x3b7f4d(0x315)]){case _0x351542[_0x3b7f4d(0x1da)]:case _0x351542[_0x3b7f4d(0x2df)]:return JSON[_0x3b7f4d(0x448)]({'cmd':_0xd1d1c6[_0x3b7f4d(0x315)],'routeKey':_0xd1d1c6[_0x3b7f4d(0x235)]});case _0x351542[_0x3b7f4d(0x1eb)]:{let _0x51a5ec;switch(_0xd1d1c6['data'][_0x3b7f4d(0x48b)]){case _0x489078[_0x3b7f4d(0x4cb)]['UPDATE_CURSOR']:{_0x51a5ec={'eventID':_0x489078[_0x3b7f4d(0x4cb)][_0x3b7f4d(0x394)],'updateCursorEvent':_0xd1d1c6[_0x3b7f4d(0x236)][_0x3b7f4d(0x236)]};break;}case _0x489078[_0x3b7f4d(0x4cb)][_0x3b7f4d(0x4b7)]:{_0x51a5ec={'eventID':_0x489078[_0x3b7f4d(0x4cb)]['USERS_LEAVE'],'leaveEvent':_0xd1d1c6['data']['data']};break;}case _0x489078[_0x3b7f4d(0x4cb)][_0x3b7f4d(0x4dd)]:{_0x51a5ec={'eventID':_0x489078[_0x3b7f4d(0x4cb)][_0x3b7f4d(0x4dd)],'joinEvent':_0xd1d1c6[_0x3b7f4d(0x236)][_0x3b7f4d(0x236)]};break;}case _0x489078[_0x3b7f4d(0x4cb)][_0x3b7f4d(0x2af)]:{_0x51a5ec={'eventID':_0x489078[_0x3b7f4d(0x4cb)][_0x3b7f4d(0x2af)],'liveShareNewHost':_0xd1d1c6[_0x3b7f4d(0x236)][_0x3b7f4d(0x236)]};break;}case _0x489078[_0x3b7f4d(0x4cb)]['LIVESHARE_OPERATION']:{_0x51a5ec={'eventID':_0x489078[_0x3b7f4d(0x4cb)][_0x3b7f4d(0x3f1)],'liveShareOperation':_0xd1d1c6[_0x3b7f4d(0x236)][_0x3b7f4d(0x236)]};break;}case _0x489078['CollaborationEvent'][_0x3b7f4d(0x390)]:{_0x51a5ec={'eventID':_0x489078['CollaborationEvent'][_0x3b7f4d(0x390)],'liveShareTerminate':_0xd1d1c6[_0x3b7f4d(0x236)][_0x3b7f4d(0x236)]};break;}case _0x489078[_0x3b7f4d(0x4cb)]['LIVESHARE_REQUEST_HOST']:{_0x51a5ec={'eventID':_0x489078[_0x3b7f4d(0x4cb)][_0x3b7f4d(0x29f)],'liveShareRequestHost':_0xd1d1c6[_0x3b7f4d(0x236)][_0x3b7f4d(0x236)]};break;}case _0x489078[_0x3b7f4d(0x4cb)][_0x3b7f4d(0x24a)]:{_0x51a5ec={'eventID':_0x489078[_0x3b7f4d(0x4cb)][_0x3b7f4d(0x24a)]};break;}default:_0x51a5ec={'eventID':_0xd1d1c6[_0x3b7f4d(0x236)][_0x3b7f4d(0x48b)]};}return JSON[_0x3b7f4d(0x448)]({'cmd':_0xd1d1c6[_0x3b7f4d(0x315)],'routeKey':_0xd1d1c6['routeKey'],'collaMsg':_0x51a5ec});}case _0x351542[_0x3b7f4d(0x511)]:return JSON[_0x3b7f4d(0x448)]({'cmd':_0xd1d1c6[_0x3b7f4d(0x315)],'routeKey':_0xd1d1c6[_0x3b7f4d(0x235)],'joinReq':_0xd1d1c6[_0x3b7f4d(0x236)]});case _0x351542['LEAVE']:return JSON['stringify']({'cmd':_0xd1d1c6[_0x3b7f4d(0x315)],'routeKey':_0xd1d1c6[_0x3b7f4d(0x235)],'leaveReq':_0xd1d1c6['data']});default:throw new Error(_0x3b7f4d(0x20b));}}var _0x35172f=Object[_0x210b79(0x225)],_0x25d1bc=(_0x15ff1e,_0x3fbf29,_0x2c1868,_0x143ed0)=>{for(var _0x328674=_0x143ed0>0x1?void 0x0:_0x143ed0?_0x35172f(_0x3fbf29,_0x2c1868):_0x3fbf29,_0x28468a=_0x15ff1e['length']-0x1,_0x2c1da2;_0x28468a>=0x0;_0x28468a--)(_0x2c1da2=_0x15ff1e[_0x28468a])&&(_0x328674=_0x2c1da2(_0x328674)||_0x328674);return _0x328674;},_0x25b2c5=(_0x2b215f,_0x6e0ce5)=>(_0x5f3ffc,_0x422821)=>_0x6e0ce5(_0x5f3ffc,_0x422821,_0x2b215f);const _0x196ccb=_0x1553b4['createIdentifier'](_0x210b79(0x436));function _0x370990(_0x2d466d,_0x44a7a6,_0x1e00a7){var _0x5af79c=_0x210b79;return _0x2d466d+'/'+_0x44a7a6+'/unit/'+_0x1e00a7+_0x5af79c(0x51c);}_0x29391d[_0x210b79(0x2d8)]=class extends _0x1553b4[_0x210b79(0x451)]{constructor(_0x1da98e,_0x22c532,_0x42d84c,_0x2df72a,_0x232f56){var _0x162889=_0x210b79;super(),this['_injector']=_0x1da98e,this[_0x162889(0x45f)]=_0x22c532,this[_0x162889(0x439)]=_0x42d84c,this[_0x162889(0x396)]=_0x2df72a,this[_0x162889(0x34d)]=_0x232f56;}[_0x210b79(0x449)](_0x4c44b2){var _0x4b2439=_0x210b79;const _0x260f7c=this[_0x4b2439(0x3c4)][_0x4b2439(0x295)](_0x552ab4[_0x4b2439(0x343)]);if(!_0x260f7c)throw new Error(_0x4b2439(0x2dd));const _0x5bcdbe=_0x260f7c[_0x4b2439(0x4ac)](_0x4c44b2);if(!_0x5bcdbe)throw new Error(_0x4b2439(0x53e));const _0x277077=new _0x1553b4[(_0x4b2439(0x2e1))](),_0x2aaa17=new _0x430a82[(_0x4b2439(0x3cb))]();_0x277077['add'](_0x5bcdbe[_0x4b2439(0x26f)][_0x4b2439(0x35a)](_0x572bbc=>_0x2aaa17[_0x4b2439(0x35d)](_0x572bbc))),_0x277077[_0x4b2439(0x21b)](_0x1553b4[_0x4b2439(0x46d)](()=>_0x2aaa17[_0x4b2439(0x1e5)]()));const _0x309dde=new _0x430a82[(_0x4b2439(0x3cb))]();_0x277077[_0x4b2439(0x21b)](_0x5bcdbe[_0x4b2439(0x27c)][_0x4b2439(0x35a)](_0x26194d=>_0x309dde[_0x4b2439(0x35d)](_0x26194d))),_0x277077[_0x4b2439(0x21b)](_0x1553b4[_0x4b2439(0x46d)](()=>_0x309dde[_0x4b2439(0x1e5)]()));const _0x1b1c1a=new _0x430a82[(_0x4b2439(0x3cb))]();_0x277077['add'](_0x5bcdbe['message$'][_0x4b2439(0x35a)](_0x259c65=>{var _0x305c2e=_0x4b2439;const _0x17fc0f=_0x5875f7(_0x259c65);_0x1b1c1a[_0x305c2e(0x35d)](_0x17fc0f);})),_0x277077[_0x4b2439(0x21b)](_0x1553b4[_0x4b2439(0x46d)](()=>_0x1b1c1a['complete']()));let _0x133981;const _0x2f166c=()=>{var _0x2de70d=_0x4b2439;_0x309dde[_0x2de70d(0x35d)](new Event('connection\x20error')),_0x2aaa17[_0x2de70d(0x35d)](new Event('connection\x20error')),_0x133981[_0x2de70d(0x41b)]();};return _0x133981={'memberID':'','close$':_0x2aaa17[_0x4b2439(0x380)](),'error$':_0x309dde[_0x4b2439(0x380)](),'open$':_0x5bcdbe[_0x4b2439(0x2ff)],'message$':_0x1b1c1a[_0x4b2439(0x380)](),'send':_0x72e1f6=>{var _0x39ed19=_0x4b2439;if(_0x72e1f6[_0x39ed19(0x315)]===_0x351542[_0x39ed19(0x1eb)]){if(_0x72e1f6[_0x39ed19(0x236)][_0x39ed19(0x48b)]===_0x489078['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x39ed19(0x25d)](_0x133981,_0x72e1f6['data'])['catch'](_0x53af4c=>{var _0x4dc209=_0x39ed19;this[_0x4dc209(0x396)]['error'](_0x53af4c),_0x2f166c();});return;}if(_0x72e1f6[_0x39ed19(0x236)][_0x39ed19(0x48b)]===_0x489078[_0x39ed19(0x4cb)][_0x39ed19(0x35e)]){const _0x2a6b88=_0x72e1f6[_0x39ed19(0x236)];this['_fetchMissChangesets'](_0x2a6b88)[_0x39ed19(0x1d3)](_0x2cb822=>{var _0x346bac=_0x39ed19;_0x1b1c1a[_0x346bac(0x35d)]({'cmd':_0x351542['RECV'],'code':_0x1b819b['OK'],'routeKey':_0x2a6b88[_0x346bac(0x236)][_0x346bac(0x4df)],'routeType':'','data':{'eventID':_0x489078[_0x346bac(0x4cb)][_0x346bac(0x256)],'data':{'changesets':_0x2cb822}}});})[_0x39ed19(0x234)](_0x4cd685=>{var _0x576598=_0x39ed19;this['_logService'][_0x576598(0x432)](_0x4cd685),_0x2f166c();});return;}}_0x5bcdbe['send'](_0x2d1c2d(_0x72e1f6));},'close':()=>{var _0x4bd914=_0x4b2439;_0x5bcdbe['close'](),_0x277077[_0x4bd914(0x522)]();}},_0x133981;}async[_0x210b79(0x25d)](_0x4049d8,_0x2f73e0){var _0x3884cf=_0x210b79,_0x42b758,_0x70f2d1;const {unitType:_0x2be557,unitID:_0x75e52b,changeset:_0x3f722c}=_0x2f73e0[_0x3884cf(0x236)],_0x1ab2a2={'unitID':_0x75e52b,'memberID':_0x4049d8[_0x3884cf(0x46f)],'type':_0x2be557,'changeset':_0x489078[_0x3884cf(0x370)](_0x3f722c)},_0x1818e1=this[_0x3884cf(0x439)][_0x3884cf(0x372)](_0x495272),_0x111206=this[_0x3884cf(0x439)]['getConfig'](_0x3d6319),_0x50d7b2=_0x370990((_0x70f2d1=(_0x42b758=_0x111206==null?void 0x0:_0x111206[_0x3884cf(0x4ee)])!=null?_0x42b758:_0x1818e1)!=null?_0x70f2d1:_0x19f580,_0x2be557,_0x75e52b);try{await this['_httpService'][_0x3884cf(0x385)](_0x50d7b2,{'body':_0x1ab2a2});}catch(_0x672581){throw this[_0x3884cf(0x396)]['error'](_0x3884cf(0x313),'submit\x20changeset\x20error!'),_0x672581;}}async['_fetchMissChangesets'](_0xc624b3){var _0x18578f=_0x210b79;const {unitID:_0x3cfedc,from:_0x268da9,to:_0x3b7f4f,unitType:_0x2000da}=_0xc624b3[_0x18578f(0x236)];return(await this[_0x18578f(0x34d)][_0x18578f(0x274)]({'metadata':void 0x0},{'unitID':_0x3cfedc,'type':_0x2000da,'from':_0x268da9,'to':_0x3b7f4f}))[_0x18578f(0x502)];}},_0x29391d[_0x210b79(0x2d8)]=_0x25d1bc([_0x25b2c5(0x0,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4[_0x210b79(0x284)])),_0x25b2c5(0x1,_0x1553b4[_0x210b79(0x2aa)](_0x552ab4[_0x210b79(0x24b)])),_0x25b2c5(0x2,_0x1553b4[_0x210b79(0x1f5)]),_0x25b2c5(0x3,_0x1553b4[_0x210b79(0x247)]),_0x25b2c5(0x4,_0x489078['ISnapshotServerService'])],_0x29391d[_0x210b79(0x2d8)]);const _0x4b2a7b=_0x210b79(0x36e);function _0x3d8dc2(_0x4de86e){var _0x2288af=_0x210b79;return JSON[_0x2288af(0x448)](_0x4de86e)['length'];}class _0x5dbfc{constructor(){var _0x31fee2=_0x210b79;_0x3c9fd4(this,'_commentUpdate$',new _0x430a82['Subject']()),_0x3c9fd4(this,_0x31fee2(0x4a2),this[_0x31fee2(0x45c)][_0x31fee2(0x380)]());}[_0x210b79(0x216)](_0x3637ac){var _0x6f63d5=_0x210b79;this['_commentUpdate$'][_0x6f63d5(0x35d)](_0x3637ac);}}var _0x8a216=Object[_0x210b79(0x225)],_0xe8d3f4=(_0x84f2c5,_0xc66b13,_0x2a98a8,_0x23190d)=>{for(var _0x32a4c0=_0x23190d>0x1?void 0x0:_0x23190d?_0x8a216(_0xc66b13,_0x2a98a8):_0xc66b13,_0x1950c1=_0x84f2c5['length']-0x1,_0x1914a9;_0x1950c1>=0x0;_0x1950c1--)(_0x1914a9=_0x84f2c5[_0x1950c1])&&(_0x32a4c0=_0x1914a9(_0x32a4c0)||_0x32a4c0);return _0x32a4c0;},_0x22ed19=(_0x4fbec7,_0x3d41c8)=>(_0x521d7d,_0x31efe6)=>_0x3d41c8(_0x521d7d,_0x31efe6,_0x4fbec7);_0x29391d[_0x210b79(0x42c)]=class extends _0x1553b4['Disposable']{constructor(_0x3f1a6c,_0x3280a8){var _0x31a2e4=_0x210b79;super(),_0x3c9fd4(this,'_roomMembers',new Map()),_0x3c9fd4(this,_0x31a2e4(0x43b),new _0x430a82['Subject']()),(this[_0x31a2e4(0x268)]=_0x3f1a6c,this['_userManagerService']=_0x3280a8,this[_0x31a2e4(0x204)](_0x430a82[_0x31a2e4(0x1f9)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1553b4['UniverInstanceType'][_0x31a2e4(0x407)])[_0x31a2e4(0x1dc)](_0x40cff2[_0x31a2e4(0x1e9)](_0x40429d=>_0x40429d[_0x31a2e4(0x415)]())),this[_0x31a2e4(0x268)][_0x31a2e4(0x3fa)](_0x1553b4[_0x31a2e4(0x24c)][_0x31a2e4(0x200)])['pipe'](_0x40cff2['map'](_0x2715f6=>_0x2715f6[_0x31a2e4(0x415)]())),this[_0x31a2e4(0x268)][_0x31a2e4(0x3fa)](_0x1553b4[_0x31a2e4(0x24c)][_0x31a2e4(0x44b)])[_0x31a2e4(0x1dc)](_0x40cff2[_0x31a2e4(0x1e9)](_0x466530=>_0x466530[_0x31a2e4(0x415)]())))[_0x31a2e4(0x35a)](_0x54476b=>this['_removeRoom'](_0x54476b))));}['waitForRoom$'](_0x39e8b8){var _0x19990d=_0x210b79;return this[_0x19990d(0x353)][_0x19990d(0x36d)](_0x39e8b8)?_0x430a82['of'](this[_0x19990d(0x353)][_0x19990d(0x295)](_0x39e8b8)):this[_0x19990d(0x43b)][_0x19990d(0x1dc)](_0x40cff2[_0x19990d(0x1e9)](_0x5ce1a8=>{var _0x588e3d=_0x19990d;if(_0x5ce1a8===_0x39e8b8)return this[_0x588e3d(0x353)][_0x588e3d(0x295)](_0x5ce1a8);}));}[_0x210b79(0x2d4)](_0x876924){var _0x3d14c0=_0x210b79;this['_userManagerService'][_0x3d14c0(0x2d4)](_0x876924);}['getCurrentUser'](){var _0x4eea53=_0x210b79;return this[_0x4eea53(0x38b)][_0x4eea53(0x410)]();}[_0x210b79(0x2c8)](_0x53e931,_0x35c7f8){var _0x4e8499=_0x210b79;let _0x475d37=this['_roomMembers'][_0x4e8499(0x295)](_0x53e931);_0x475d37||(_0x475d37=new _0xb62929(),this[_0x4e8499(0x353)][_0x4e8499(0x4e1)](_0x53e931,_0x475d37),this[_0x4e8499(0x43b)][_0x4e8499(0x35d)](_0x53e931)),_0x475d37[_0x4e8499(0x2c8)](_0x35c7f8);}['removeMember'](_0x5465af,_0x15db75){var _0x403399=_0x210b79;const _0x5b681b=this[_0x403399(0x353)][_0x403399(0x295)](_0x5465af);_0x5b681b&&_0x5b681b['removeMember'](_0x15db75);}['getRoom'](_0x346ba8){var _0x3a2315=_0x210b79;return this[_0x3a2315(0x353)]['get'](_0x346ba8);}[_0x210b79(0x452)](_0x78b6e1,_0x3601bd){var _0x4f2328=_0x210b79;const _0x2e3f7a=this[_0x4f2328(0x353)][_0x4f2328(0x295)](_0x78b6e1);if(_0x2e3f7a)return _0x2e3f7a['getMember'](_0x3601bd);}[_0x210b79(0x1ca)](_0x4c8cf5){var _0x1d6523=_0x210b79;const _0xae586d=this['_roomMembers']['get'](_0x4c8cf5);_0xae586d&&(_0xae586d[_0x1d6523(0x522)](),this['_roomMembers'][_0x1d6523(0x40e)](_0x4c8cf5));}[_0x210b79(0x522)](){var _0x2f7cb7=_0x210b79;this['_roomMembers'][_0x2f7cb7(0x320)](_0x196a78=>_0x196a78[_0x2f7cb7(0x522)]()),this['_roomMembers'][_0x2f7cb7(0x496)](),this['_roomCreated$'][_0x2f7cb7(0x1e5)]();}},_0x29391d[_0x210b79(0x42c)]=_0xe8d3f4([_0x22ed19(0x0,_0x1553b4[_0x210b79(0x26c)]),_0x22ed19(0x1,_0x1553b4['Inject'](_0x1553b4[_0x210b79(0x228)]))],_0x29391d[_0x210b79(0x42c)]);class _0xb62929 extends _0x1553b4[_0x210b79(0x451)]{constructor(){var _0xc94cde=_0x210b79;super(...arguments),_0x3c9fd4(this,_0xc94cde(0x2d3),new Map()),_0x3c9fd4(this,_0xc94cde(0x3e4),new _0x430a82['BehaviorSubject'](this[_0xc94cde(0x2d3)])),_0x3c9fd4(this,_0xc94cde(0x1e1),this[_0xc94cde(0x3e4)][_0xc94cde(0x380)]());}[_0x210b79(0x522)](){var _0x57154d=_0x210b79;this[_0x57154d(0x2d3)][_0x57154d(0x496)]();}[_0x210b79(0x2c8)](_0x1095ac){var _0x1c3b83=_0x210b79;this[_0x1c3b83(0x2d3)]['set'](_0x1095ac[_0x1c3b83(0x46f)],_0x1095ac),this[_0x1c3b83(0x2e6)]();}[_0x210b79(0x3ad)](_0x254295){var _0x366966=_0x210b79;this[_0x366966(0x2d3)][_0x366966(0x40e)](_0x254295);}[_0x210b79(0x452)](_0x228492){var _0x8d688c=_0x210b79;return this[_0x8d688c(0x2d3)][_0x8d688c(0x295)](_0x228492);}[_0x210b79(0x1ee)](){var _0x15a7d7=_0x210b79;return Array[_0x15a7d7(0x357)](this[_0x15a7d7(0x2d3)][_0x15a7d7(0x413)]());}['_emitMembers'](){var _0xa19865=_0x210b79;this['_members$'][_0xa19865(0x35d)](this[_0xa19865(0x2d3)]);}}var _0x150cc9=Object[_0x210b79(0x225)],_0x274e9f=(_0x57a1d2,_0x5b2ed4,_0x5f3dd2,_0x3d87cc)=>{var _0x34d5ac=_0x210b79;for(var _0x3060dc=_0x3d87cc>0x1?void 0x0:_0x3d87cc?_0x150cc9(_0x5b2ed4,_0x5f3dd2):_0x5b2ed4,_0x4eff37=_0x57a1d2[_0x34d5ac(0x205)]-0x1,_0x33f564;_0x4eff37>=0x0;_0x4eff37--)(_0x33f564=_0x57a1d2[_0x4eff37])&&(_0x3060dc=_0x33f564(_0x3060dc)||_0x3060dc);return _0x3060dc;},_0x1859de=(_0xbf2150,_0xdb4b60)=>(_0x2c8d3f,_0x33bb9d)=>_0xdb4b60(_0x2c8d3f,_0x33bb9d,_0xbf2150),_0x543e60=(_0xaf21e=>(_0xaf21e[_0xaf21e[_0x210b79(0x1bf)]=0x0]='IDLE',_0xaf21e[_0xaf21e[_0x210b79(0x29a)]=0x1]=_0x210b79(0x29a),_0xaf21e[_0xaf21e[_0x210b79(0x4a3)]=0x2]=_0x210b79(0x4a3),_0xaf21e[_0xaf21e[_0x210b79(0x285)]=0x3]='ONLINE',_0xaf21e))(_0x543e60||{});const _0x5c9485={[_0x1b819b[_0x210b79(0x342)]]:_0x210b79(0x1c6),[_0x1b819b['JOIN_ROOM_FULL']]:'session.room-full',[_0x1b819b[_0x210b79(0x39a)]]:_0x210b79(0x1db),[_0x1b819b['JOIN_ROOM_PERMISSION_DENIED']]:_0x210b79(0x47e),[_0x1b819b['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x210b79(0x245)};_0x29391d[_0x210b79(0x254)]=class extends _0x1553b4[_0x210b79(0x2c2)]{constructor(_0x1e5afc,_0x2ea704,_0x3960e3,_0x55b8a4,_0x315855,_0x26b100,_0x14b894,_0x1fba8e,_0x463701){var _0x5b5d48=_0x210b79;super(),_0x3c9fd4(this,'_sessionStatus$',new _0x430a82['BehaviorSubject'](0x0)),_0x3c9fd4(this,_0x5b5d48(0x498),this[_0x5b5d48(0x418)][_0x5b5d48(0x380)]()),_0x3c9fd4(this,_0x5b5d48(0x384),new _0x430a82[(_0x5b5d48(0x3cb))]()),_0x3c9fd4(this,'event$',this[_0x5b5d48(0x384)][_0x5b5d48(0x380)]()),_0x3c9fd4(this,_0x5b5d48(0x536)),_0x3c9fd4(this,_0x5b5d48(0x220)),_0x3c9fd4(this,'_collaborationTimeoutTimer'),_0x3c9fd4(this,_0x5b5d48(0x1d4),!0x1),_0x3c9fd4(this,_0x5b5d48(0x4b1),null),(this[_0x5b5d48(0x30d)]=_0x1e5afc,this[_0x5b5d48(0x396)]=_0x3960e3,this[_0x5b5d48(0x439)]=_0x55b8a4,this[_0x5b5d48(0x381)]=_0x315855,this['_memberService']=_0x26b100,this[_0x5b5d48(0x27b)]=_0x14b894,this[_0x5b5d48(0x3c1)]=_0x1fba8e,this[_0x5b5d48(0x480)]=_0x463701,this['_shouldReportTelemetry']=!!this[_0x5b5d48(0x480)],_0x2ea704[_0x5b5d48(0x1dc)](_0x430a82[_0x5b5d48(0x31b)](this[_0x5b5d48(0x4c9)]))[_0x5b5d48(0x35a)](_0x121c61=>{var _0x586613=_0x5b5d48,_0x88eaea;typeof _0x121c61>'u'||(this[_0x586613(0x536)]=_0x121c61,_0x121c61?(this[_0x586613(0x2f8)](_0x121c61),this[_0x586613(0x220)]=_0x121c61[_0x586613(0x48c)][_0x586613(0x35a)](_0x3aef76=>{var _0x2459a9=_0x586613;_0x3aef76['routeKey']===this[_0x2459a9(0x30d)]&&this['_onCombEvent'](_0x3aef76);})):(this[_0x586613(0x43c)](),this[_0x586613(0x418)]['next'](0x2),(_0x88eaea=this[_0x586613(0x220)])==null||_0x88eaea['unsubscribe'](),this[_0x586613(0x220)]=null));}));}get[_0x210b79(0x1c9)](){var _0x13b90a=_0x210b79;return this['_sessionStatus$'][_0x13b90a(0x30f)]();}['getMemberID'](){var _0x495ef3=_0x210b79,_0x365705,_0x166887;return(_0x166887=(_0x365705=this[_0x495ef3(0x536)])==null?void 0x0:_0x365705['memberID'])!=null?_0x166887:null;}[_0x210b79(0x522)](){var _0x591844=_0x210b79;super[_0x591844(0x522)](),this[_0x591844(0x4c9)][_0x591844(0x35d)](),this[_0x591844(0x4c9)][_0x591844(0x1e5)]();}[_0x210b79(0x41b)](){var _0x262abb=_0x210b79,_0x264e17,_0x53f9d3;this[_0x262abb(0x43c)](),(_0x264e17=this['_socket'])==null||_0x264e17[_0x262abb(0x328)]({'cmd':_0x351542[_0x262abb(0x515)],'data':{'roomID':this['_unitID']}}),(_0x53f9d3=this[_0x262abb(0x536)])==null||_0x53f9d3[_0x262abb(0x41b)](),this[_0x262abb(0x384)][_0x262abb(0x1e5)](),this[_0x262abb(0x418)][_0x262abb(0x1e5)](),this[_0x262abb(0x522)]();}[_0x210b79(0x470)](_0x195d27){var _0x3e9c63=_0x210b79;_0x195d27[_0x3e9c63(0x315)]===_0x351542['JOIN']?this['_onJoinRoomEvent'](_0x195d27):_0x195d27[_0x3e9c63(0x315)]===_0x351542['RECV']&&this['_onRecvEvent'](_0x195d27);}[_0x210b79(0x2f8)](_0x6268be){var _0x2be850=_0x210b79;this[_0x2be850(0x418)][_0x2be850(0x35d)](0x1),_0x6268be[_0x2be850(0x328)]({'cmd':_0x351542[_0x2be850(0x511)],'routeKey':this[_0x2be850(0x30d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2be850(0x30d)]}]}});}[_0x210b79(0x3f7)](_0x1eedf){var _0x2ab644=_0x210b79,_0x38cb08;if(_0x1eedf[_0x2ab644(0x50d)]in _0x5c9485){this[_0x2ab644(0x3c1)][_0x2ab644(0x457)]({'id':_0x5ee67c[_0x2ab644(0x282)],'data':_0x5c9485[_0x1eedf[_0x2ab644(0x50d)]]}),this[_0x2ab644(0x418)]['next'](0x2);return;}this[_0x2ab644(0x418)]['next'](0x3);const _0x1b4913=(_0x38cb08=_0x1eedf[_0x2ab644(0x236)]['roomInfos'][this[_0x2ab644(0x30d)]])==null?void 0x0:_0x38cb08[_0x2ab644(0x506)];_0x1b4913&&_0x1b4913[_0x2ab644(0x320)](_0x53aeae=>this[_0x2ab644(0x22a)][_0x2ab644(0x2c8)](this[_0x2ab644(0x30d)],_0x53aeae));}[_0x210b79(0x4ab)](_0x485c53){var _0x122cf9=_0x210b79;try{const _0xde79b2=_0x485c53[_0x122cf9(0x236)];switch(_0xde79b2[_0x122cf9(0x48b)]){case _0x489078[_0x122cf9(0x4cb)]['USERS_ENTER']:this['_onUserJoin'](_0xde79b2),this['_event$'][_0x122cf9(0x35d)](_0xde79b2);break;case _0x489078[_0x122cf9(0x4cb)][_0x122cf9(0x4b7)]:this[_0x122cf9(0x1e4)](_0xde79b2),this[_0x122cf9(0x384)][_0x122cf9(0x35d)](_0xde79b2);break;case _0x489078[_0x122cf9(0x4cb)]['CHANGESET_ACK']:case _0x489078[_0x122cf9(0x4cb)][_0x122cf9(0x34e)]:this[_0x122cf9(0x537)](),this[_0x122cf9(0x4a5)](),this['_event$']['next'](_0xde79b2);break;case _0x489078[_0x122cf9(0x4cb)][_0x122cf9(0x3c9)]:this['_logService']['error'](_0x122cf9(0x2a6)+JSON[_0x122cf9(0x448)](_0xde79b2)),this[_0x122cf9(0x384)][_0x122cf9(0x35d)](_0xde79b2);break;case _0x489078[_0x122cf9(0x4cb)][_0x122cf9(0x52a)]:this[_0x122cf9(0x27b)]['onCommentUpdate'](_0xde79b2[_0x122cf9(0x236)]),this['_event$'][_0x122cf9(0x35d)](_0xde79b2);break;default:this[_0x122cf9(0x384)][_0x122cf9(0x35d)](_0xde79b2);}}catch(_0x593fc8){this['_logService'][_0x122cf9(0x432)](_0x593fc8,_0x485c53);}}[_0x210b79(0x483)](_0x498371){var _0x2c7cf1=_0x210b79;this[_0x2c7cf1(0x22a)][_0x2c7cf1(0x2c8)](this[_0x2c7cf1(0x30d)],_0x498371['data']);}['_onUserLeave'](_0x24020c){var _0x57f0e0=_0x210b79;this[_0x57f0e0(0x22a)][_0x57f0e0(0x3ad)](this[_0x57f0e0(0x30d)],_0x24020c[_0x57f0e0(0x236)][_0x57f0e0(0x46f)]);}async[_0x210b79(0x328)](_0x5aba0d,_0x1049e0){var _0x229bde=_0x210b79;if(this[_0x229bde(0x1c9)]!==0x3||!this['_socket'])throw new Error(_0x229bde(0x267));try{_0x5aba0d[_0x229bde(0x48b)]===_0x489078[_0x229bde(0x4cb)]['SUBMIT_CHANGESET']&&(this[_0x229bde(0x2b2)](),this[_0x229bde(0x50e)](_0x5aba0d)),this[_0x229bde(0x536)][_0x229bde(0x328)]({'cmd':_0x351542['INGEST'],'routeKey':_0x1049e0,'routeType':'','data':_0x5aba0d});}catch(_0x4c368d){this[_0x229bde(0x396)][_0x229bde(0x432)](_0x4c368d);}}[_0x210b79(0x2b2)](){var _0xbec39c=_0x210b79,_0x180894;this[_0xbec39c(0x495)]=setTimeout(()=>{var _0x16a84e=_0xbec39c;this[_0x16a84e(0x495)]=null,this['_collaborationUIEventService'][_0x16a84e(0x457)]({'id':_0x5ee67c[_0x16a84e(0x1ea)]});},(_0x180894=this['_configService'][_0xbec39c(0x372)](_0x1bc3b7))!=null?_0x180894:0x4e20);}[_0x210b79(0x4a5)](){var _0xb7276f=_0x210b79;this[_0xb7276f(0x495)]&&(clearTimeout(this[_0xb7276f(0x495)]),this[_0xb7276f(0x495)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x34e0dc){var _0x3407da=_0x210b79;if(!this['_shouldReportTelemetry'])return;const {data:_0x3df063}=_0x34e0dc,{unitID:_0x1ad292,changeset:_0x4ce1eb}=_0x3df063,{mutations:_0x34a25f,type:_0x36813e}=_0x4ce1eb;this[_0x3407da(0x4b1)]={'unitId':_0x1ad292,'type':_0x36813e,'startTime':performance[_0x3407da(0x4fd)](),'stopTime':0x0,'duration':0x0,'size':_0x3d8dc2(_0x34a25f)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x48e0bd=_0x210b79;if(this['_shouldReportTelemetry']){if(!this[_0x48e0bd(0x4b1)]){this[_0x48e0bd(0x396)]['error'](_0x48e0bd(0x313),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x48e0bd(0x4b1)][_0x48e0bd(0x520)]=performance[_0x48e0bd(0x4fd)](),this['_telemetryInfo'][_0x48e0bd(0x371)]=this['_telemetryInfo']['stopTime']-this['_telemetryInfo'][_0x48e0bd(0x22f)],this[_0x48e0bd(0x480)][_0x48e0bd(0x264)](_0x4b2a7b,this[_0x48e0bd(0x4b1)]),this['_telemetryInfo']=null;}}[_0x210b79(0x43c)](){var _0x58218e=_0x210b79;this[_0x58218e(0x4b1)]=null;}},_0x29391d[_0x210b79(0x254)]=_0x274e9f([_0x1859de(0x2,_0x1553b4[_0x210b79(0x247)]),_0x1859de(0x3,_0x1553b4[_0x210b79(0x1f5)]),_0x1859de(0x4,_0x1553b4['Inject'](_0x1553b4[_0x210b79(0x450)])),_0x1859de(0x5,_0x1553b4['Inject'](_0x29391d[_0x210b79(0x42c)])),_0x1859de(0x6,_0x1553b4['Inject'](_0x5dbfc)),_0x1859de(0x7,_0x1553b4[_0x210b79(0x2aa)](_0xf12017)),_0x1859de(0x8,_0x1553b4[_0x210b79(0x262)](_0x38cb59['ITelemetryService']))],_0x29391d[_0x210b79(0x254)]);var _0x5b06e9=Object['getOwnPropertyDescriptor'],_0x273978=(_0x1e4130,_0x3f9b2e,_0x24d354,_0x5e7a76)=>{for(var _0x5f1b13=_0x5e7a76>0x1?void 0x0:_0x5e7a76?_0x5b06e9(_0x3f9b2e,_0x24d354):_0x3f9b2e,_0x368fa8=_0x1e4130['length']-0x1,_0xae8fb0;_0x368fa8>=0x0;_0x368fa8--)(_0xae8fb0=_0x1e4130[_0x368fa8])&&(_0x5f1b13=_0xae8fb0(_0x5f1b13)||_0x5f1b13);return _0x5f1b13;},_0x2c5b79=(_0x543448,_0x39cbbb)=>(_0x470622,_0x4134f9)=>_0x39cbbb(_0x470622,_0x4134f9,_0x543448);_0x29391d[_0x210b79(0x4c3)]=class extends _0x1553b4[_0x210b79(0x451)]{constructor(_0x2fde13,_0x37b97e,_0x570462,_0x9977ea,_0x2006fa,_0x35c094){var _0x293126=_0x210b79;super(),_0x3c9fd4(this,_0x293126(0x4bd),new _0x430a82[(_0x293126(0x39b))](void 0x0)),_0x3c9fd4(this,_0x293126(0x212),this['_socket$'][_0x293126(0x380)]()),_0x3c9fd4(this,_0x293126(0x446),null),_0x3c9fd4(this,_0x293126(0x1c2),new Map()),_0x3c9fd4(this,_0x293126(0x32d),new _0x430a82[(_0x293126(0x39b))](_0x543e60[_0x293126(0x1bf)])),_0x3c9fd4(this,_0x293126(0x474),this[_0x293126(0x32d)][_0x293126(0x380)]()),_0x3c9fd4(this,_0x293126(0x3c0),!0x1),_0x3c9fd4(this,'_retryConnectingTimer'),_0x3c9fd4(this,_0x293126(0x36c),0x0),_0x3c9fd4(this,_0x293126(0x46b)),_0x3c9fd4(this,_0x293126(0x52b)),(this[_0x293126(0x3c4)]=_0x2fde13,this['_logService']=_0x37b97e,this['_configService']=_0x570462,this[_0x293126(0x462)]=_0x9977ea,this[_0x293126(0x3c1)]=_0x2006fa,this[_0x293126(0x20c)]=_0x35c094,this[_0x293126(0x39f)]());}get[_0x210b79(0x536)](){var _0x38190e=_0x210b79;return this[_0x38190e(0x4bd)]['getValue']();}['_listenToNetworkCondition'](){var _0x306035=_0x210b79;this['_networkConditionService']&&this['disposeWithMe'](this[_0x306035(0x20c)]['online$']['subscribe'](_0x1dbbd4=>{var _0x5efba6=_0x306035;_0x1dbbd4&&!this[_0x5efba6(0x536)]&&this[_0x5efba6(0x1d6)](),_0x1dbbd4||this[_0x5efba6(0x46c)]();}));}['dispose'](){var _0x4f9965=_0x210b79;super[_0x4f9965(0x522)](),this[_0x4f9965(0x2fc)](),this[_0x4f9965(0x3cc)](),this[_0x4f9965(0x31c)](),this[_0x4f9965(0x1c2)]['forEach'](_0x2a732f=>_0x2a732f[_0x4f9965(0x522)]()),this[_0x4f9965(0x1c2)]['clear'](),this['_status$'][_0x4f9965(0x1e5)]();}async['requireSession'](_0x32860b){var _0x1c5e45=_0x210b79;if(this[_0x1c5e45(0x1c2)][_0x1c5e45(0x36d)](_0x32860b))return this[_0x1c5e45(0x1c2)][_0x1c5e45(0x295)](_0x32860b);this['_tryEnsureSocket']();const _0x5a563c=this[_0x1c5e45(0x3c4)][_0x1c5e45(0x317)](_0x29391d[_0x1c5e45(0x254)],_0x32860b,this[_0x1c5e45(0x4bd)][_0x1c5e45(0x380)]());return this[_0x1c5e45(0x1c2)][_0x1c5e45(0x4e1)](_0x32860b,_0x5a563c),_0x5a563c;}[_0x210b79(0x23a)](_0x5f19c1){var _0x2482d3=_0x210b79,_0x5270a6;const _0x43a189=this[_0x2482d3(0x1c2)][_0x2482d3(0x295)](_0x5f19c1);_0x43a189&&(this['_sessions'][_0x2482d3(0x40e)](_0x5f19c1),_0x43a189[_0x2482d3(0x41b)]()),this['_sessions'][_0x2482d3(0x533)]||(_0x5270a6=this['_socket'])==null||_0x5270a6[_0x2482d3(0x41b)]();}[_0x210b79(0x1d6)](){var _0x27a219=_0x210b79;this[_0x27a219(0x36c)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x27a219(0x440)]();}[_0x210b79(0x2fc)](){var _0x80dac7=_0x210b79;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x80dac7(0x37e)]),this[_0x80dac7(0x37e)]=null);}async['_createSocket'](){var _0x176df7=_0x210b79,_0x19ff5a,_0x4440fb;const _0x4b8667=this[_0x176df7(0x439)][_0x176df7(0x372)](_0x54aa30),_0x217712=this[_0x176df7(0x439)][_0x176df7(0x372)](_0x3d6319),_0x29edb7=(_0x4440fb=(_0x19ff5a=_0x217712==null?void 0x0:_0x217712[_0x176df7(0x334)])!=null?_0x19ff5a:_0x4b8667)!=null?_0x4440fb:_0x3f7a1f,_0x1670db=await this[_0x176df7(0x462)][_0x176df7(0x4ac)](_0x29edb7);return this[_0x176df7(0x446)]=_0x1670db,_0x1670db;}async[_0x210b79(0x500)](){var _0xef17db=_0x210b79,_0x1f3a03,_0x5d0994;try{const _0x1ae078=(_0x5d0994=(_0x1f3a03=this[_0xef17db(0x536)])!=null?_0x1f3a03:this[_0xef17db(0x446)])!=null?_0x5d0994:await this[_0xef17db(0x246)]();if(_0x1ae078){const _0xf2f234=_0x1ae078[_0xef17db(0x328)];_0x1ae078['send']=_0x3c328b=>(this[_0xef17db(0x233)](),_0xf2f234[_0xef17db(0x1fb)](_0x1ae078,[_0x3c328b])),_0x1ae078[_0xef17db(0x48c)][_0xef17db(0x35a)](_0x127ff8=>this['_onMessage'](_0x1ae078,_0x127ff8)),_0x1ae078[_0xef17db(0x27c)]['pipe'](_0x40cff2[_0xef17db(0x4ad)](0x1))[_0xef17db(0x35a)](_0x285be1=>this['_logService'][_0xef17db(0x432)]('[CollaborationSessionService]:\x20socket\x20error',_0x285be1)),_0x1ae078[_0xef17db(0x2ff)]['pipe'](_0x40cff2['take'](0x1))[_0xef17db(0x35a)](()=>{this['_onConnectionOpen'](_0x1ae078);}),_0x1ae078['close$'][_0xef17db(0x1dc)](_0x40cff2[_0xef17db(0x4ad)](0x1))[_0xef17db(0x35a)](_0x290cc1=>{var _0x34b84b=_0xef17db;this[_0x34b84b(0x396)]['debug'](_0x34b84b(0x3dc),_0x34b84b(0x38a),_0x290cc1),this[_0x34b84b(0x4a7)]();});}}catch(_0x2244ba){this[_0xef17db(0x396)]['error'](_0x2244ba),this['_onConnectionFailed']();}}[_0x210b79(0x2b3)](_0x3e0ba1){var _0x3be46f=_0x210b79;this['_logService']['debug'](_0x3be46f(0x3dc),'socket\x20open.'),_0x3e0ba1[_0x3be46f(0x328)]({'cmd':_0x351542['HELLO']}),this['_rescheduleHeartbeat']();}[_0x210b79(0x46c)](){var _0x3d1561=_0x210b79;this[_0x3d1561(0x3c0)]=!0x1,this[_0x3d1561(0x446)]=null,this['_status$']['next'](_0x543e60[_0x3d1561(0x4a3)]),this['_socket$'][_0x3d1561(0x35d)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x210b79(0x4a7)](){var _0x5aa7c2=_0x210b79,_0x4eb2f4;this['_onOffline'](),this[_0x5aa7c2(0x36c)]<((_0x4eb2f4=this['_configService'][_0x5aa7c2(0x372)](_0x1af80d))!=null?_0x4eb2f4:0x3)?(this[_0x5aa7c2(0x3c1)][_0x5aa7c2(0x457)]({'id':_0x5ee67c[_0x5aa7c2(0x20a)]}),this[_0x5aa7c2(0x440)]()):this[_0x5aa7c2(0x3c1)][_0x5aa7c2(0x457)]({'id':_0x5ee67c[_0x5aa7c2(0x2e3)]});}[_0x210b79(0x440)](){var _0x582e7f=_0x210b79,_0x3cd33f;const _0x430878=this['_retryCount'],_0x2f23e2=this[_0x582e7f(0x439)][_0x582e7f(0x372)](_0x3d6319),_0x5a061a=_0x430878===0x0?0x0:((_0x3cd33f=_0x2f23e2==null?void 0x0:_0x2f23e2[_0x582e7f(0x29b)])!=null?_0x3cd33f:0x4e20)*0x2**_0x430878;this['_retryConnectingTimer']=setTimeout(()=>{var _0x3f6e7a=_0x582e7f;clearTimeout(this[_0x3f6e7a(0x37e)]),this[_0x3f6e7a(0x37e)]=null,this['_tryEnsureSocket']();},_0x5a061a),this[_0x582e7f(0x36c)]+=0x1;}[_0x210b79(0x4c8)](_0x3ec0d0,_0x413069){var _0x51035e=_0x210b79;const {cmd:_0x1bf26b}=_0x413069;_0x1bf26b===_0x351542[_0x51035e(0x2df)]&&!this[_0x51035e(0x3c0)]&&(_0x3ec0d0[_0x51035e(0x46f)]=_0x413069[_0x51035e(0x236)]['memberID'],this[_0x51035e(0x4bd)]['next'](_0x3ec0d0),this[_0x51035e(0x32d)]['next'](_0x543e60[_0x51035e(0x285)]),this[_0x51035e(0x3c0)]=!0x0,this[_0x51035e(0x446)]=null),_0x1bf26b===_0x351542[_0x51035e(0x1da)]&&this[_0x51035e(0x3cc)](),this['_rescheduleHeartbeat']();}[_0x210b79(0x233)](){var _0x2d413b=_0x210b79,_0x407a08;this[_0x2d413b(0x31c)](),this[_0x2d413b(0x46b)]=setTimeout(()=>this[_0x2d413b(0x408)](),(_0x407a08=this[_0x2d413b(0x439)]['getConfig'](_0x3264b7))!=null?_0x407a08:0x7530);}[_0x210b79(0x408)](){var _0x7905bb=_0x210b79;this['_socket'][_0x7905bb(0x328)]({'cmd':_0x351542['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x5762e8=_0x210b79,_0x2835b1;this[_0x5762e8(0x52b)]=setTimeout(()=>this[_0x5762e8(0x4a7)](),(_0x2835b1=this['_configService']['getConfig'](_0x1bc3b7))!=null?_0x2835b1:0x4e20);}[_0x210b79(0x31c)](){var _0x24e473=_0x210b79;this[_0x24e473(0x46b)]!=null&&(clearTimeout(this[_0x24e473(0x46b)]),this[_0x24e473(0x46b)]=null);}[_0x210b79(0x3cc)](){var _0x4167f5=_0x210b79;this[_0x4167f5(0x52b)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4167f5(0x52b)]=null);}},_0x29391d['CollaborationSessionService']=_0x273978([_0x2c5b79(0x0,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4[_0x210b79(0x284)])),_0x2c5b79(0x1,_0x1553b4[_0x210b79(0x247)]),_0x2c5b79(0x2,_0x1553b4[_0x210b79(0x1f5)]),_0x2c5b79(0x3,_0x196ccb),_0x2c5b79(0x4,_0x1553b4[_0x210b79(0x2aa)](_0xf12017)),_0x2c5b79(0x5,_0x1553b4[_0x210b79(0x262)](_0x3d3223))],_0x29391d[_0x210b79(0x4c3)]);const _0x2fef10=[];for(let _0x292380=0x0;_0x292380<0x100;++_0x292380)_0x2fef10[_0x210b79(0x3b0)]((_0x292380+0x100)['toString'](0x10)[_0x210b79(0x4ca)](0x1));function _0x4fdac1(_0x4c1801,_0x43af57=0x0){var _0x5c2c0f=_0x210b79;return(_0x2fef10[_0x4c1801[_0x43af57+0x0]]+_0x2fef10[_0x4c1801[_0x43af57+0x1]]+_0x2fef10[_0x4c1801[_0x43af57+0x2]]+_0x2fef10[_0x4c1801[_0x43af57+0x3]]+'-'+_0x2fef10[_0x4c1801[_0x43af57+0x4]]+_0x2fef10[_0x4c1801[_0x43af57+0x5]]+'-'+_0x2fef10[_0x4c1801[_0x43af57+0x6]]+_0x2fef10[_0x4c1801[_0x43af57+0x7]]+'-'+_0x2fef10[_0x4c1801[_0x43af57+0x8]]+_0x2fef10[_0x4c1801[_0x43af57+0x9]]+'-'+_0x2fef10[_0x4c1801[_0x43af57+0xa]]+_0x2fef10[_0x4c1801[_0x43af57+0xb]]+_0x2fef10[_0x4c1801[_0x43af57+0xc]]+_0x2fef10[_0x4c1801[_0x43af57+0xd]]+_0x2fef10[_0x4c1801[_0x43af57+0xe]]+_0x2fef10[_0x4c1801[_0x43af57+0xf]])[_0x5c2c0f(0x3d3)]();}let _0x2bab1b;const _0x14de13=new Uint8Array(0x10);function _0x44ef89(){var _0x4a34ef=_0x210b79;if(!_0x2bab1b){if(typeof crypto>'u'||!crypto[_0x4a34ef(0x202)])throw new Error(_0x4a34ef(0x43f));_0x2bab1b=crypto[_0x4a34ef(0x202)][_0x4a34ef(0x37d)](crypto);}return _0x2bab1b(_0x14de13);}const _0x59b4cb={'randomUUID':typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x210b79(0x37d)](crypto)};function _0x565777(_0x24dffe,_0x1f0bcd,_0x286685){var _0x2ba700=_0x210b79,_0xd06458,_0x55c1d9,_0x5c1735;if(_0x59b4cb['randomUUID']&&!_0x24dffe)return _0x59b4cb[_0x2ba700(0x305)]();_0x24dffe=_0x24dffe||{};const _0x18317e=(_0x5c1735=(_0x55c1d9=_0x24dffe[_0x2ba700(0x321)])!=null?_0x55c1d9:(_0xd06458=_0x24dffe['rng'])==null?void 0x0:_0xd06458[_0x2ba700(0x50a)](_0x24dffe))!=null?_0x5c1735:_0x44ef89();if(_0x18317e['length']<0x10)throw new Error(_0x2ba700(0x249));return _0x18317e[0x6]=_0x18317e[0x6]&0xf|0x40,_0x18317e[0x8]=_0x18317e[0x8]&0x3f|0x80,_0x4fdac1(_0x18317e);}const _0x4200a1=_0x1553b4[_0x210b79(0x339)](_0x210b79(0x3e7));function _0x3109ca(_0x2a2dd8){var _0x307f7c=_0x210b79;return _0x307f7c(0x3fb)+_0x2a2dd8;}var _0x5db12f=Object[_0x210b79(0x225)],_0x588f6f=(_0x137371,_0x5b44b9,_0x5cfa8d,_0x4031b3)=>{var _0x270c2b=_0x210b79;for(var _0x82d189=_0x4031b3>0x1?void 0x0:_0x4031b3?_0x5db12f(_0x5b44b9,_0x5cfa8d):_0x5b44b9,_0x108280=_0x137371[_0x270c2b(0x205)]-0x1,_0x2281f8;_0x108280>=0x0;_0x108280--)(_0x2281f8=_0x137371[_0x108280])&&(_0x82d189=_0x2281f8(_0x82d189)||_0x82d189);return _0x82d189;},_0x297792=(_0x472d75,_0x701899)=>(_0xcd459,_0x3180a8)=>_0x701899(_0xcd459,_0x3180a8,_0x472d75);function _0x49b6a9(_0x4eb81c){var _0x48507c=_0x210b79;const {unitID:_0x2129fb,mutations:_0x3ba9be}=_0x4eb81c;return{'unitId':_0x2129fb,'subUnitId':_0x3ba9be[0x0][_0x48507c(0x41f)]['subUnitId']};}_0x29391d[_0x210b79(0x208)]=class{constructor(_0x32c8b5,_0x47c972,_0x276050){var _0x15d811=_0x210b79;this[_0x15d811(0x3c4)]=_0x32c8b5,this[_0x15d811(0x23f)]=_0x47c972,this['_instanceService']=_0x276050;}['transformSelections'](_0x4b1a7f){var _0x5c4a6f=_0x210b79,_0xe4e4a9,_0xe90f92,_0x5557a1,_0xf3128f;const _0x479f18=this['_injector'][_0x5c4a6f(0x295)](_0x23f2ac[_0x5c4a6f(0x426)]),{unitId:_0x350fa0,subUnitId:_0x27a177}=_0x49b6a9(_0x4b1a7f),_0x1de57a=_0x479f18==null?void 0x0:_0x479f18['getWorkbookSelections'](_0x350fa0)['getCurrentSelections'](),_0x296bdb=(_0xe90f92=(_0xe4e4a9=this[_0x5c4a6f(0x29c)][_0x5c4a6f(0x479)](_0x350fa0))==null?void 0x0:_0xe4e4a9[_0x5c4a6f(0x23e)]())==null?void 0x0:_0xe90f92[_0x5c4a6f(0x4e6)]();if(_0x1de57a[_0x5c4a6f(0x205)]===0x0||!_0x350fa0||!_0x27a177)return;const _0x3eee25=[{'id':_0x23f2ac[_0x5c4a6f(0x3b1)]['id'],'params':{'unitId':_0x350fa0,'subUnitId':_0x296bdb,'selections':_0x1553b4['Tools'][_0x5c4a6f(0x2b5)](_0x1de57a)}}],_0x38e0c2=this[_0x5c4a6f(0x23f)][_0x5c4a6f(0x528)](_0x4b1a7f,_0x3eee25);if(!_0x489078['isTransformMutationsWithChangesetSuccess'](_0x38e0c2))throw _0x38e0c2[_0x5c4a6f(0x432)];const _0x2fd4c0=(_0xf3128f=(_0x5557a1=_0x38e0c2[_0x5c4a6f(0x442)][0x0])==null?void 0x0:_0x5557a1[_0x5c4a6f(0x41f)])==null?void 0x0:_0xf3128f[_0x5c4a6f(0x4a1)];if(Array['isArray'](_0x2fd4c0)&&_0x2fd4c0[_0x5c4a6f(0x205)]){if(_0x2fd4c0[_0x5c4a6f(0x205)]===_0x3eee25[0x0][_0x5c4a6f(0x41f)][_0x5c4a6f(0x4a1)]['length']&&_0x2fd4c0[_0x5c4a6f(0x351)]((_0x1bc14a,_0x9fee41)=>_0x1553b4['Rectangle'][_0x5c4a6f(0x491)](_0x1bc14a['range'],_0x3eee25[0x0][_0x5c4a6f(0x41f)]['selections'][_0x9fee41][_0x5c4a6f(0x1c5)])))return;this['_injector'][_0x5c4a6f(0x295)](_0x1553b4[_0x5c4a6f(0x461)])['executeCommand'](_0x23f2ac['SetSelectionsOperation']['id'],{'unitId':_0x350fa0,'subUnitId':_0x296bdb,'selections':_0x2fd4c0});}}},_0x29391d[_0x210b79(0x208)]=_0x588f6f([_0x297792(0x0,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4['Injector'])),_0x297792(0x1,_0x489078[_0x210b79(0x26b)]),_0x297792(0x2,_0x1553b4[_0x210b79(0x26c)])],_0x29391d[_0x210b79(0x208)]);const _0x4d61f4=_0x1553b4['createIdentifier'](_0x210b79(0x297));var _0x56f2ce=(_0x3de657=>(_0x3de657[_0x3de657[_0x210b79(0x20f)]=0x0]=_0x210b79(0x20f),_0x3de657[_0x3de657['OTHER_CLIENTS_EDITING']=0x1]=_0x210b79(0x240),_0x3de657))(_0x56f2ce||{});const _0x2d6777=new Set([_0x23f2ac[_0x210b79(0x214)]['id']]);function _0x37effd(_0x4da65a,_0x31aaa7,_0x38a33b,_0x1e9f5c,_0x801a1f){var _0x49392b=_0x210b79,_0x3040f2,_0x3c2b3a,_0x4672b4,_0x1d8cec;const _0x32ecc0=[];for(const _0x1d15e7 of _0x4da65a)if(_0x2d6777[_0x49392b(0x36d)](_0x1d15e7['id'])){if(_0x32ecc0[_0x49392b(0x205)]>0x0)break;_0x32ecc0[_0x49392b(0x3b0)](_0x1d15e7);break;}else _0x32ecc0['push'](_0x1d15e7);const _0x4a891e=(_0x3c2b3a=(_0x3040f2=_0x801a1f[_0x49392b(0x410)]())==null?void 0x0:_0x3040f2['userID'])!=null?_0x3c2b3a:'unknown',_0x162872=(_0x1d8cec=(_0x4672b4=_0x801a1f['getCurrentUser']())==null?void 0x0:_0x4672b4[_0x49392b(0x46f)])!=null?_0x1d8cec:'unknown';return{'changeset':{'unitID':_0x31aaa7,'type':_0x489078['mapDocumentTypeToUniverType'](_0x38a33b[_0x49392b(0x518)](_0x31aaa7)),'baseRev':_0x1e9f5c[_0x49392b(0x1cb)](_0x31aaa7),'revision':0x0,'userID':_0x4a891e,'memberID':_0x162872,'mutations':_0x32ecc0},'pendingMutations':_0x4da65a[_0x49392b(0x4ca)](_0x32ecc0[_0x49392b(0x205)])};}function _0x43e96d(_0xc3d192,_0x19b900,_0x4ba849,_0x2a2603,_0x44322c){var _0x299541=_0x210b79,_0x3691fa,_0x26e299,_0x5d6858,_0x19b382;const _0x383d10=[_0xc3d192['reduce']((_0x3d2e1d,_0x257e42)=>{var _0x496d95=_0x5719,_0x4b954e;const {id:_0x2d8294}=_0x3d2e1d,{id:_0x1a0c6d,type:_0x498f16}=_0x257e42,_0x4cf56e=(_0x4b954e=_0x3d2e1d[_0x496d95(0x41f)])!=null?_0x4b954e:{'actions':null},_0x3f601d=_0x257e42[_0x496d95(0x41f)];if(_0x2d8294&&_0x2d8294!==_0x1a0c6d)throw new Error(_0x496d95(0x46e)+_0x2d8294+_0x496d95(0x2fb)+_0x1a0c6d+'.');return{..._0x3d2e1d,'id':_0x1a0c6d,'type':_0x498f16,'params':{'unitId':_0x3f601d[_0x496d95(0x3d4)],'textRanges':_0x3f601d[_0x496d95(0x27d)],'actions':_0x1553b4[_0x496d95(0x358)][_0x496d95(0x360)](_0x4cf56e['actions'],_0x3f601d[_0x496d95(0x4f9)])}};},{})],_0x2bb1d5=(_0x26e299=(_0x3691fa=_0x44322c['getCurrentUser']())==null?void 0x0:_0x3691fa[_0x299541(0x497)])!=null?_0x26e299:'unknown',_0x4f71c9=(_0x19b382=(_0x5d6858=_0x44322c['getCurrentUser']())==null?void 0x0:_0x5d6858[_0x299541(0x46f)])!=null?_0x19b382:_0x299541(0x3ab);return{'changeset':{'unitID':_0x19b900,'type':_0x489078['mapDocumentTypeToUniverType'](_0x4ba849[_0x299541(0x518)](_0x19b900)),'baseRev':_0x2a2603[_0x299541(0x1cb)](_0x19b900),'revision':0x0,'userID':_0x2bb1d5,'memberID':_0x4f71c9,'mutations':_0x383d10},'pendingMutations':[]};}function _0x3d030e(_0x2e4060,_0x6e6cb5){var _0x274f07=_0x210b79;const _0x1b9544=new _0x430a82[(_0x274f07(0x361))](0x1);return setTimeout(()=>_0x1b9544[_0x274f07(0x35d)](_0x6e6cb5),_0x2e4060),_0x1b9544[_0x274f07(0x380)]()[_0x274f07(0x1dc)](_0x430a82[_0x274f07(0x4ad)](0x1));}const _0x2f2b6e={'id':_0x23f2ac[_0x210b79(0x4f4)]['id'],'type':_0x1553b4[_0x210b79(0x337)][_0x210b79(0x2b4)],'params':{}};var _0x5b6d46=Object[_0x210b79(0x225)],_0x20c3c8=(_0x1b6d5c,_0x1a6e23,_0x2a8c6c,_0xeb2e91)=>{for(var _0x40b35f=_0xeb2e91>0x1?void 0x0:_0xeb2e91?_0x5b6d46(_0x1a6e23,_0x2a8c6c):_0x1a6e23,_0x33dffc=_0x1b6d5c['length']-0x1,_0x4b77fc;_0x33dffc>=0x0;_0x33dffc--)(_0x4b77fc=_0x1b6d5c[_0x33dffc])&&(_0x40b35f=_0x4b77fc(_0x40b35f)||_0x40b35f);return _0x40b35f;},_0x1929f0=(_0x1623b7,_0x2e91e5)=>(_0x1b461c,_0x1acc3b)=>_0x2e91e5(_0x1b461c,_0x1acc3b,_0x1623b7),_0x27628f=(_0x2e69ce=>(_0x2e69ce[_0x210b79(0x21a)]=_0x210b79(0x36b),_0x2e69ce[_0x210b79(0x28a)]='synced',_0x2e69ce[_0x210b79(0x3ce)]=_0x210b79(0x283),_0x2e69ce['AWAITING']='awaiting',_0x2e69ce[_0x210b79(0x516)]=_0x210b79(0x3a8),_0x2e69ce[_0x210b79(0x4c6)]=_0x210b79(0x2dc),_0x2e69ce['CONFLICT']=_0x210b79(0x1dd),_0x2e69ce['OFFLINE']=_0x210b79(0x244),_0x2e69ce))(_0x27628f||{});const _0x53001b=0xea60;class _0x28cd65{constructor(_0xdce9aa,_0x493fb3,_0x5cf404,_0x42d7b1,_0x287f57,_0x3c5e36,_0x4eecea,_0x4a87f1,_0x345429){var _0x194cc5=_0x210b79;_0x3c9fd4(this,_0x194cc5(0x348),null),_0x3c9fd4(this,_0x194cc5(0x3e3),[]),(this[_0x194cc5(0x4df)]=_0xdce9aa,this[_0x194cc5(0x455)]=_0x493fb3,this[_0x194cc5(0x50b)]=_0x287f57,this[_0x194cc5(0x250)]=_0x3c5e36,this[_0x194cc5(0x433)]=_0x4eecea,this[_0x194cc5(0x3a2)]=_0x4a87f1,this['_localCacheService']=_0x345429,this[_0x194cc5(0x348)]=_0x5cf404,this[_0x194cc5(0x3e3)]=_0x42d7b1);}['_checkMissing'](_0xd2a61e){var _0x1e7d1d=_0x210b79;const _0x2b666e=this[_0x1e7d1d(0x3a2)][_0x1e7d1d(0x1cb)](this[_0x1e7d1d(0x4df)]);return _0xd2a61e['revision']>_0x2b666e+0x1?(this['_handler'][_0x1e7d1d(0x221)]({'from':_0x2b666e,'to':_0xd2a61e[_0x1e7d1d(0x22c)]-0x1}),!0x0):!0x1;}[_0x210b79(0x219)](_0x536b2b){var _0x3f5bf3=_0x210b79;this[_0x3f5bf3(0x433)][_0x3f5bf3(0x4db)](this['unitID'],_0x536b2b);}[_0x210b79(0x3ca)](_0x563fdb){var _0x242237=_0x210b79,_0x2ca119,_0x320518;(_0x320518=(_0x2ca119=this['_handler'])[_0x242237(0x252)])==null||_0x320518[_0x242237(0x50a)](_0x2ca119,_0x563fdb);}['_transformIMECache'](_0x130ad4){var _0x28a71e=_0x210b79,_0x5c664b,_0x1ebb04;return(_0x1ebb04=(_0x5c664b=this[_0x28a71e(0x50b)])[_0x28a71e(0x3e8)])==null?void 0x0:_0x1ebb04[_0x28a71e(0x50a)](_0x5c664b,_0x130ad4);}['_transformStateCache'](_0x4e4603){var _0x3c8075=_0x210b79,_0x4d6c28,_0xb843c9;return(_0xb843c9=(_0x4d6c28=this['_handler'])[_0x3c8075(0x2db)])==null?void 0x0:_0xb843c9['call'](_0x4d6c28,_0x4e4603);}[_0x210b79(0x429)](_0x14d934){var _0x238f58=_0x210b79,_0x26e9d0,_0x53022b,_0x1b42f1;return(_0x1b42f1=(_0x53022b=(_0x26e9d0=this[_0x238f58(0x50b)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x53022b[_0x238f58(0x50a)](_0x26e9d0,_0x14d934))!=null?_0x1b42f1:_0x14d934;}[_0x210b79(0x52e)](_0x44f91e){var _0x184b2a=_0x210b79,_0x170214,_0x153550,_0x3b0da1;return(_0x3b0da1=(_0x153550=(_0x170214=this[_0x184b2a(0x50b)])[_0x184b2a(0x286)])==null?void 0x0:_0x153550[_0x184b2a(0x50a)](_0x170214,_0x44f91e))!=null?_0x3b0da1:_0x44f91e;}[_0x210b79(0x539)](_0x33249c){var _0x462927=_0x210b79,_0x3de846,_0x2695fc;if(this[_0x462927(0x455)]===_0x4c7778[_0x462927(0x200)]){const {unitID:_0x1a393a,mutations:_0x466b32,memberID:_0x436f76}=_0x33249c,_0x4d17f3=_0x466b32[0x0][_0x462927(0x41f)][_0x462927(0x27d)];Array[_0x462927(0x481)](_0x4d17f3)&&_0x4d17f3[_0x462927(0x205)]>0x0&&((_0x2695fc=(_0x3de846=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x2695fc[_0x462927(0x50a)](_0x3de846,{'unitID':_0x1a393a,'memberID':_0x436f76,'textRanges':_0x4d17f3}));}}[_0x210b79(0x263)](){var _0x33ccdb=_0x210b79,_0x1e3d4d;(_0x1e3d4d=this[_0x33ccdb(0x42a)])==null||_0x1e3d4d[_0x33ccdb(0x298)](this[_0x33ccdb(0x4df)],this[_0x33ccdb(0x455)],this[_0x33ccdb(0x348)],this['_pendingMutations']);}[_0x210b79(0x489)](){var _0x4daa4f=_0x210b79;return this['_revisionService'][_0x4daa4f(0x1cb)](this[_0x4daa4f(0x4df)]);}['_incrementRevisionNumber'](){var _0x6b3882=_0x210b79;this[_0x6b3882(0x3a2)][_0x6b3882(0x3bd)](this[_0x6b3882(0x4df)]);}[_0x210b79(0x276)](_0xf1d0de){var _0x135d0f=_0x210b79,_0x41c36f;let _0x634f65=this['_transformRemoteChangesetByIMECache'](_0xf1d0de);_0x634f65=this[_0x135d0f(0x52e)](_0x634f65);const _0x5f624b=_0x1553b4['sequenceExecute'](_0x634f65[_0x135d0f(0x4be)],this[_0x135d0f(0x250)],{'fromCollab':!0x0});if(!_0x5f624b[_0x135d0f(0x291)])throw _0x5f624b[_0x135d0f(0x432)]instanceof Error?_0x5f624b[_0x135d0f(0x432)]:new Error((_0x41c36f=_0x5f624b[_0x135d0f(0x432)])!=null?_0x41c36f:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x634f65),this[_0x135d0f(0x2f7)](_0x634f65),this[_0x135d0f(0x219)](_0xf1d0de),this['_transformSelections'](_0x634f65),this[_0x135d0f(0x539)](_0x634f65),this[_0x135d0f(0x300)]();}}_0x29391d[_0x210b79(0x32e)]=class extends _0x28cd65{constructor(_0x9768f,_0x3ea214,_0x452331,_0x583c87,_0x1f7df3,_0x3ca11d,_0x325613,_0x48dcb8,_0x13bc66,_0x20d39b){var _0x2945c5=_0x210b79;super(_0x9768f,_0x3ea214,null,[],_0x452331,_0x325613,_0x3ca11d,_0x583c87,_0x20d39b),_0x3c9fd4(this,_0x2945c5(0x3aa),_0x2945c5(0x3ff)),(this[_0x2945c5(0x3c4)]=_0x1f7df3,this[_0x2945c5(0x396)]=_0x48dcb8,this[_0x2945c5(0x23f)]=_0x13bc66,this['localCacheService']=_0x20d39b);}['appendMutation'](_0x250054){var _0x2daa03=_0x210b79;const _0xa1ba87=this[_0x2daa03(0x3c4)][_0x2daa03(0x317)](_0x29391d[_0x2daa03(0x1e3)],this[_0x2daa03(0x4df)],this['type'],[_0x250054],this['_handler']);return _0xa1ba87[_0x2daa03(0x39e)](),_0xa1ba87['_updateLocalCache'](),_0xa1ba87;}['onRemoteChangeset'](_0x4f5877){var _0x592e85=_0x210b79;if(this[_0x592e85(0x2a3)](_0x4f5877))return this[_0x592e85(0x3c4)]['createInstance'](_0x29391d['FetchingMissState'],this['unitID'],this[_0x592e85(0x455)],null,[],null,[_0x4f5877],this[_0x592e85(0x50b)]);try{const _0x44f480=this[_0x592e85(0x23f)][_0x592e85(0x528)](_0x4f5877,[_0x2f2b6e]);if(_0x489078[_0x592e85(0x486)](_0x44f480)){const {c1Prime:_0x209782}=_0x44f480;return this['_executeRemoteChangeset'](_0x209782),this;}throw _0x44f480[_0x592e85(0x432)];}catch(_0x3d25bc){return this[_0x592e85(0x396)][_0x592e85(0x432)](_0x3d25bc),this[_0x592e85(0x1ed)](!0x1);}}[_0x210b79(0x1ed)](_0xa9959d){var _0x47b0d6=_0x210b79;return this[_0x47b0d6(0x3c4)]['createInstance'](_0x29391d['ConflictState'],this[_0x47b0d6(0x4df)],this[_0x47b0d6(0x455)],null,[],this[_0x47b0d6(0x50b)],_0xa9959d);}[_0x210b79(0x387)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x210b79(0x44d)](){var _0xc55646=_0x210b79;throw new Error(_0xc55646(0x525));}[_0x210b79(0x341)](){return this;}[_0x210b79(0x443)](){var _0x42c80b=_0x210b79;return this[_0x42c80b(0x3c4)]['createInstance'](_0x29391d[_0x42c80b(0x26a)],this[_0x42c80b(0x4df)],this[_0x42c80b(0x455)],null,[],this[_0x42c80b(0x50b)]);}[_0x210b79(0x507)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x210b79(0x1d9)](){var _0x4245f7=_0x210b79;const _0x49e601=this[_0x4245f7(0x3a2)][_0x4245f7(0x1cb)](this['unitID']);return this[_0x4245f7(0x50b)][_0x4245f7(0x221)]({'from':_0x49e601,'to':0x0}),this[_0x4245f7(0x3c4)]['createInstance'](_0x29391d['FetchingMissState'],this['unitID'],this[_0x4245f7(0x455)],null,[],null,[],this[_0x4245f7(0x50b)]);}},_0x29391d[_0x210b79(0x32e)]=_0x20c3c8([_0x1929f0(0x3,_0x1553b4[_0x210b79(0x2aa)](_0x489078[_0x210b79(0x40b)])),_0x1929f0(0x4,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4['Injector'])),_0x1929f0(0x5,_0x1553b4[_0x210b79(0x3da)]),_0x1929f0(0x6,_0x1553b4['ICommandService']),_0x1929f0(0x7,_0x1553b4[_0x210b79(0x247)]),_0x1929f0(0x8,_0x489078[_0x210b79(0x26b)]),_0x1929f0(0x9,_0x1553b4[_0x210b79(0x262)](_0x4200a1))],_0x29391d[_0x210b79(0x32e)]),_0x29391d['PendingState']=class extends _0x28cd65{constructor(_0x43caec,_0x5db960,_0x3862e6,_0x451792,_0x3100cd,_0x1b83c8,_0x2e301b,_0x31a604,_0x256f4b,_0x3df288,_0x3e218b,_0x4af4ba,_0xabd60f,_0xa2bcb9){var _0x3ad798=_0x210b79;super(_0x43caec,_0x5db960,null,_0x3862e6,_0x451792,_0x256f4b,_0xabd60f,_0x1b83c8,_0xa2bcb9),_0x3c9fd4(this,_0x3ad798(0x3aa),'pending'),_0x3c9fd4(this,'_scheduleCompleteTimestamp',null),_0x3c9fd4(this,_0x3ad798(0x4b0),null),(this[_0x3ad798(0x3c4)]=_0x3100cd,this['_memberService']=_0x2e301b,this[_0x3ad798(0x396)]=_0x31a604,this[_0x3ad798(0x439)]=_0x3df288,this[_0x3ad798(0x23f)]=_0x3e218b,this[_0x3ad798(0x268)]=_0x4af4ba);}[_0x210b79(0x332)](_0x53e264){var _0x52c5e5=_0x210b79;return this['_pendingMutations'][_0x52c5e5(0x3b0)](_0x53e264),this[_0x52c5e5(0x263)](),this;}['onRemoteChangeset'](_0x2c99f9){var _0x50427b=_0x210b79;if(this[_0x50427b(0x2a3)](_0x2c99f9))return this[_0x50427b(0x2a7)](),this[_0x50427b(0x3c4)][_0x50427b(0x317)](_0x29391d['FetchingMissState'],this[_0x50427b(0x4df)],this[_0x50427b(0x455)],null,this[_0x50427b(0x3e3)],null,[_0x2c99f9],this[_0x50427b(0x50b)]);try{const _0x363c49=this['_transformService'][_0x50427b(0x528)](_0x2c99f9,this[_0x50427b(0x3e3)]);if(_0x489078[_0x50427b(0x486)](_0x363c49)){const {c1Prime:_0x1d0b0e,m2Prime:_0x5d43a8}=_0x363c49;this[_0x50427b(0x276)](_0x1d0b0e);const _0x3e8ba5=this[_0x50427b(0x3c4)]['createInstance'](_0x29391d['PendingState'],this[_0x50427b(0x4df)],this['type'],_0x5d43a8,this[_0x50427b(0x50b)]);this[_0x50427b(0x2a7)]();const _0x542f93=new Date()[_0x50427b(0x465)](),_0x32be95=this[_0x50427b(0x378)]?Math[_0x50427b(0x230)](this[_0x50427b(0x378)]-_0x542f93,0x0):this[_0x50427b(0x1fa)]();return _0x3e8ba5['_schedule'](_0x32be95),_0x3e8ba5;}throw _0x363c49[_0x50427b(0x432)];}catch(_0x4ef4d2){return this[_0x50427b(0x396)][_0x50427b(0x432)](_0x4ef4d2),this[_0x50427b(0x1ed)](!0x1);}}[_0x210b79(0x387)](){var _0x2dd862=_0x210b79;throw new Error(_0x2dd862(0x475));}[_0x210b79(0x44d)](){var _0x598d7f=_0x210b79;throw new Error(_0x598d7f(0x3e2));}[_0x210b79(0x341)](){return this;}[_0x210b79(0x443)](){var _0x4c3f5c=_0x210b79;return this[_0x4c3f5c(0x2a7)](),this[_0x4c3f5c(0x3c4)]['createInstance'](_0x29391d[_0x4c3f5c(0x26a)],this['unitID'],this[_0x4c3f5c(0x455)],null,this[_0x4c3f5c(0x3e3)],this[_0x4c3f5c(0x50b)]);}[_0x210b79(0x507)](){return this;}[_0x210b79(0x39e)](_0x4fe183){var _0x24f734=_0x210b79;const _0x71f6b8=_0x4fe183!=null?_0x4fe183:this[_0x24f734(0x1fa)]();this[_0x24f734(0x378)]=new Date()[_0x24f734(0x465)]()+_0x71f6b8,this[_0x24f734(0x4b0)]=setTimeout(()=>{var _0x111332=_0x24f734;this[_0x111332(0x2a7)]();let _0x5c9e25=null;switch(this['type']){case _0x4c7778[_0x111332(0x407)]:{_0x5c9e25=_0x37effd(this[_0x111332(0x3e3)],this[_0x111332(0x4df)],this[_0x111332(0x268)],this[_0x111332(0x3a2)],this[_0x111332(0x22a)]);break;}case _0x4c7778[_0x111332(0x200)]:{this[_0x111332(0x3e3)][_0x111332(0x351)](_0x3f00ba=>_0x3f00ba['id']===_0x36f6f8[_0x111332(0x3bb)]['id'])?_0x5c9e25=_0x43e96d(this['_pendingMutations'],this[_0x111332(0x4df)],this[_0x111332(0x268)],this[_0x111332(0x3a2)],this[_0x111332(0x22a)]):_0x5c9e25=_0x37effd(this[_0x111332(0x3e3)],this[_0x111332(0x4df)],this['_univerInstanceService'],this[_0x111332(0x3a2)],this[_0x111332(0x22a)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x111332(0x455)]+_0x111332(0x21f));}const {changeset:_0x13d0bf,pendingMutations:_0xa8288b}=_0x5c9e25;this[_0x111332(0x50b)][_0x111332(0x494)](_0x13d0bf);const _0x3d96c8=_0xa8288b[_0x111332(0x205)]?this[_0x111332(0x3c4)][_0x111332(0x317)](_0x29391d['AwaitingWithPendingState'],this[_0x111332(0x4df)],this[_0x111332(0x455)],_0x13d0bf,_0xa8288b,this[_0x111332(0x50b)],void 0x0):this[_0x111332(0x3c4)][_0x111332(0x317)](_0x29391d[_0x111332(0x34b)],this[_0x111332(0x4df)],this[_0x111332(0x455)],_0x13d0bf,this[_0x111332(0x50b)]);_0x3d96c8[_0x111332(0x263)](),this['_handler'][_0x111332(0x4b6)](this,_0x3d96c8);},_0x71f6b8);}[_0x210b79(0x1fa)](){var _0xde5a49=_0x210b79,_0x30d5cd;const _0x292c85=this[_0xde5a49(0x439)][_0xde5a49(0x372)](_0x3d6319);return(_0x30d5cd=_0x292c85==null?void 0x0:_0x292c85['sendChangesetTimeout'])!=null?_0x30d5cd:0x7d0;}['resend'](){var _0x5c4f83=_0x210b79;throw new Error(_0x5c4f83(0x3d9));}[_0x210b79(0x2a7)](){var _0x1fbe6a=_0x210b79;this[_0x1fbe6a(0x4b0)]!=null&&(clearTimeout(this[_0x1fbe6a(0x4b0)]),this[_0x1fbe6a(0x4b0)]=null);}[_0x210b79(0x1ed)](_0x2e0ad0){var _0x16a2aa=_0x210b79;return this[_0x16a2aa(0x2a7)](),this[_0x16a2aa(0x3c4)][_0x16a2aa(0x317)](_0x29391d[_0x16a2aa(0x255)],this[_0x16a2aa(0x4df)],this['type'],null,this[_0x16a2aa(0x3e3)],this[_0x16a2aa(0x50b)],_0x2e0ad0);}},_0x29391d[_0x210b79(0x1e3)]=_0x20c3c8([_0x1929f0(0x4,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4[_0x210b79(0x284)])),_0x1929f0(0x5,_0x1553b4[_0x210b79(0x2aa)](_0x489078[_0x210b79(0x40b)])),_0x1929f0(0x6,_0x1553b4[_0x210b79(0x2aa)](_0x29391d[_0x210b79(0x42c)])),_0x1929f0(0x7,_0x1553b4['ILogService']),_0x1929f0(0x8,_0x1553b4['ICommandService']),_0x1929f0(0x9,_0x1553b4[_0x210b79(0x1f5)]),_0x1929f0(0xa,_0x489078[_0x210b79(0x26b)]),_0x1929f0(0xb,_0x1553b4[_0x210b79(0x26c)]),_0x1929f0(0xc,_0x1553b4[_0x210b79(0x3da)]),_0x1929f0(0xd,_0x1553b4['Optional'](_0x4200a1))],_0x29391d[_0x210b79(0x1e3)]),_0x29391d['AwaitingState']=class extends _0x28cd65{constructor(_0x1c7edf,_0x315650,_0x52490d,_0x39bfd4,_0xd9da61,_0x16f72d,_0x3c2f9c,_0x265e71,_0x480d3b,_0x22a38e,_0x5b94bc){var _0x73536d=_0x210b79;super(_0x1c7edf,_0x315650,_0x52490d,[],_0x39bfd4,_0x3c2f9c,_0x22a38e,_0x16f72d,_0x5b94bc),_0x3c9fd4(this,'status',_0x73536d(0x4ce)),_0x3c9fd4(this,_0x73536d(0x319),0x0),_0x3c9fd4(this,_0x73536d(0x288)),_0x3c9fd4(this,'_sender'),(this[_0x73536d(0x3c4)]=_0xd9da61,this[_0x73536d(0x396)]=_0x265e71,this['_transformService']=_0x480d3b);}[_0x210b79(0x332)](_0x59f1de){var _0xd17e4f=_0x210b79;this[_0xd17e4f(0x2a7)]();const _0x150411=this['_injector'][_0xd17e4f(0x317)](_0x29391d[_0xd17e4f(0x427)],this['unitID'],this[_0xd17e4f(0x455)],this[_0xd17e4f(0x348)],[_0x59f1de],this[_0xd17e4f(0x50b)],this['_resendTimer']);return _0x150411[_0xd17e4f(0x263)](),_0x150411;}[_0x210b79(0x1cd)](_0x55d98d){var _0x34a493=_0x210b79;if(this[_0x34a493(0x2a3)](_0x55d98d))return this['_clearScheduledTask'](),this[_0x34a493(0x3c4)][_0x34a493(0x317)](_0x29391d[_0x34a493(0x414)],this[_0x34a493(0x4df)],this[_0x34a493(0x455)],this[_0x34a493(0x348)],[],null,[_0x55d98d],this[_0x34a493(0x50b)]);try{const _0x3abd0c=this[_0x34a493(0x23f)][_0x34a493(0x487)]([_0x55d98d],[this[_0x34a493(0x348)]],!0x1);if(_0x489078['isTransformChangesetsSuccess'](_0x3abd0c)){const {c1Prime:_0x29d764,c2Prime:_0x33defb}=_0x3abd0c;this[_0x34a493(0x276)](_0x29d764[0x0]),_0x33defb[0x0][_0x34a493(0x44f)]=this[_0x34a493(0x489)](),this['_clearScheduledTask']();const _0x56186b=this[_0x34a493(0x3c4)][_0x34a493(0x317)](_0x29391d[_0x34a493(0x34b)],this[_0x34a493(0x4df)],this[_0x34a493(0x455)],_0x33defb[0x0],this[_0x34a493(0x50b)]);return _0x56186b[_0x34a493(0x263)](),_0x56186b;}return this['_onConflict'](!0x1);}catch(_0x56238e){return this[_0x34a493(0x396)][_0x34a493(0x432)](_0x56238e),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1ac8f9){var _0x2663a2=_0x210b79;this['_clearScheduledTask']();const _0x56b6e4=this[_0x2663a2(0x3a2)][_0x2663a2(0x1cb)](this[_0x2663a2(0x4df)]);if(_0x1ac8f9[_0x2663a2(0x22c)]<_0x56b6e4-0x1)return this;if(this[_0x2663a2(0x2a3)](_0x1ac8f9))return this[_0x2663a2(0x3c4)]['createInstance'](_0x29391d['FetchingMissState'],this[_0x2663a2(0x4df)],this[_0x2663a2(0x455)],null,[],this[_0x2663a2(0x348)],[],this[_0x2663a2(0x50b)]);this[_0x2663a2(0x300)]();const _0x4e70d9=this['_injector'][_0x2663a2(0x317)](_0x29391d[_0x2663a2(0x32e)],this[_0x2663a2(0x4df)],this['type'],this[_0x2663a2(0x50b)]);return _0x4e70d9['_updateLocalCache'](),_0x4e70d9;}['onRemoteRej'](_0x5e0e8f){var _0x375116=_0x210b79;return this['_onConflict'](!!(_0x5e0e8f!=null&&_0x5e0e8f[_0x375116(0x2bb)]));}[_0x210b79(0x341)](_0x517b5b){var _0x153b1d=_0x210b79;return this[_0x153b1d(0x319)]>_0x53001b?this[_0x153b1d(0x443)]():(this['_resendTimer']=_0x3d030e(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x517b5b[_0x153b1d(0x241)]}),this[_0x153b1d(0x248)]=this[_0x153b1d(0x288)][_0x153b1d(0x35a)](({reqId:_0x5cd6ad,timeout:_0x118fe0})=>{var _0x49abe3=_0x153b1d;this[_0x49abe3(0x2c0)](_0x5cd6ad,_0x118fe0);}),this);}[_0x210b79(0x443)](){var _0x331c49=_0x210b79;return this[_0x331c49(0x2a7)](),this[_0x331c49(0x3c4)][_0x331c49(0x317)](_0x29391d[_0x331c49(0x26a)],this['unitID'],this[_0x331c49(0x455)],this['_awaitingChangeset'],[],this[_0x331c49(0x50b)]);}['toggleOnline'](){return this;}[_0x210b79(0x4a8)](){var _0x2d38cc=_0x210b79;this[_0x2d38cc(0x50b)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x210b79(0x1ed)](_0x40a84c){var _0x453990=_0x210b79;return this[_0x453990(0x2a7)](),this[_0x453990(0x3c4)][_0x453990(0x317)](_0x29391d[_0x453990(0x255)],this['unitID'],this[_0x453990(0x455)],this['_awaitingChangeset'],[],this[_0x453990(0x50b)],_0x40a84c);}[_0x210b79(0x2c0)](_0x73e547,_0x168791){var _0x50dbda=_0x210b79,_0x8b7bce;_0x73e547===((_0x8b7bce=this[_0x50dbda(0x348)])==null?void 0x0:_0x8b7bce['reqId'])&&(this[_0x50dbda(0x4a8)](),this[_0x50dbda(0x319)]=_0x168791===0x0?0x3e8:_0x168791*0x2);}[_0x210b79(0x2a7)](){var _0x1d911b=_0x210b79,_0xfbea20;(_0xfbea20=this['_sender'])==null||_0xfbea20[_0x1d911b(0x459)](),this[_0x1d911b(0x319)]=0x0;}},_0x29391d[_0x210b79(0x34b)]=_0x20c3c8([_0x1929f0(0x4,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4[_0x210b79(0x284)])),_0x1929f0(0x5,_0x1553b4['Inject'](_0x489078[_0x210b79(0x40b)])),_0x1929f0(0x6,_0x1553b4['ICommandService']),_0x1929f0(0x7,_0x1553b4[_0x210b79(0x247)]),_0x1929f0(0x8,_0x489078[_0x210b79(0x26b)]),_0x1929f0(0x9,_0x1553b4['IUndoRedoService']),_0x1929f0(0xa,_0x1553b4['Optional'](_0x4200a1))],_0x29391d[_0x210b79(0x34b)]),_0x29391d['AwaitingWithPendingState']=class extends _0x28cd65{constructor(_0x22d1e9,_0x277ee4,_0x39bf29,_0x292e73,_0x517daf,_0x890f7,_0x3dcb22,_0x93e97e,_0x185127,_0x4b5c55,_0x4c5c22,_0x6fa20b,_0x5877c6){var _0x130734=_0x210b79;super(_0x22d1e9,_0x277ee4,_0x39bf29,_0x292e73,_0x517daf,_0x185127,_0x6fa20b,_0x93e97e,_0x5877c6),_0x3c9fd4(this,_0x130734(0x3aa),_0x130734(0x3a8)),_0x3c9fd4(this,_0x130734(0x319),0x0),_0x3c9fd4(this,'_resendTimer'),_0x3c9fd4(this,_0x130734(0x248)),(this[_0x130734(0x3c4)]=_0x3dcb22,this['_logService']=_0x4b5c55,this[_0x130734(0x23f)]=_0x4c5c22,this[_0x130734(0x441)]=_0x5877c6,_0x890f7&&(this[_0x130734(0x288)]=_0x890f7,this[_0x130734(0x248)]=this[_0x130734(0x288)][_0x130734(0x35a)](({reqId:_0x9516a2,timeout:_0x52ed93})=>{var _0x11ca53=_0x130734;this[_0x11ca53(0x2c0)](_0x9516a2,_0x52ed93);})));}[_0x210b79(0x332)](_0x32eb47){var _0x3f5f6e=_0x210b79;return this[_0x3f5f6e(0x3e3)][_0x3f5f6e(0x3b0)](_0x32eb47),this;}[_0x210b79(0x1cd)](_0x13e0da){var _0x2ec540=_0x210b79;if(this[_0x2ec540(0x2a3)](_0x13e0da))return this[_0x2ec540(0x2a7)](),this[_0x2ec540(0x3c4)]['createInstance'](_0x29391d['FetchingMissState'],this[_0x2ec540(0x4df)],this['type'],this['_awaitingChangeset'],this[_0x2ec540(0x3e3)],null,[_0x13e0da],this['_handler']);try{const _0x40c665=this[_0x2ec540(0x23f)][_0x2ec540(0x487)]([_0x13e0da],[this['_awaitingChangeset']],!0x1);if(_0x489078['isTransformChangesetsSuccess'](_0x40c665)){const {c1Prime:_0x574e29,c2Prime:_0x183d24}=_0x40c665,_0x3743b4=this[_0x2ec540(0x23f)][_0x2ec540(0x528)](_0x574e29[0x0],this[_0x2ec540(0x3e3)]);if(_0x489078[_0x2ec540(0x486)](_0x3743b4)){const {c1Prime:_0x4d3f54,m2Prime:_0x1e983e}=_0x3743b4;return this[_0x2ec540(0x276)](_0x4d3f54),_0x183d24[0x0][_0x2ec540(0x44f)]=this[_0x2ec540(0x489)](),this[_0x2ec540(0x2a7)](),this[_0x2ec540(0x3c4)][_0x2ec540(0x317)](_0x29391d[_0x2ec540(0x427)],this['unitID'],this[_0x2ec540(0x455)],_0x183d24[0x0],_0x1e983e,this['_handler'],void 0x0);}throw _0x3743b4[_0x2ec540(0x432)];}throw _0x40c665[_0x2ec540(0x432)];}catch(_0x2427f9){return this[_0x2ec540(0x396)][_0x2ec540(0x432)](_0x2427f9),this[_0x2ec540(0x1ed)](!0x1);}}[_0x210b79(0x387)](_0x207ed6){var _0x395b10=_0x210b79;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x207ed6))return this[_0x395b10(0x3c4)]['createInstance'](_0x29391d[_0x395b10(0x414)],this[_0x395b10(0x4df)],this['type'],null,this[_0x395b10(0x3e3)],this[_0x395b10(0x348)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x5815e6=this[_0x395b10(0x3c4)][_0x395b10(0x317)](_0x29391d[_0x395b10(0x1e3)],this[_0x395b10(0x4df)],this[_0x395b10(0x455)],this['_pendingMutations'],this[_0x395b10(0x50b)]);return _0x5815e6[_0x395b10(0x39e)](),_0x5815e6[_0x395b10(0x263)](),_0x5815e6;}[_0x210b79(0x44d)](_0x673488){return this['_onConflict'](!!(_0x673488!=null&&_0x673488['isPermissionRej']));}[_0x210b79(0x341)](_0x555091){var _0x318f8a=_0x210b79;return this[_0x318f8a(0x319)]>_0x53001b?this[_0x318f8a(0x443)]():(this[_0x318f8a(0x288)]=_0x3d030e(this['_resendTimeout'],{'timeout':this[_0x318f8a(0x319)],'reqId':_0x555091['reqId']}),this[_0x318f8a(0x248)]=this['_resendTimer'][_0x318f8a(0x35a)](({reqId:_0x109b5f,timeout:_0x1aaf9a})=>{var _0x49293d=_0x318f8a;this[_0x49293d(0x2c0)](_0x109b5f,_0x1aaf9a);}),this);}[_0x210b79(0x443)](){var _0x39024d=_0x210b79;return this[_0x39024d(0x2a7)](),this['_injector']['createInstance'](_0x29391d[_0x39024d(0x26a)],this[_0x39024d(0x4df)],this[_0x39024d(0x455)],this[_0x39024d(0x348)],this[_0x39024d(0x3e3)],this[_0x39024d(0x50b)]);}[_0x210b79(0x507)](){return this;}['resend'](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x210b79(0x1ed)](_0x2f0f14){var _0x1b555f=_0x210b79;return this[_0x1b555f(0x2a7)](),this[_0x1b555f(0x3c4)][_0x1b555f(0x317)](_0x29391d[_0x1b555f(0x255)],this[_0x1b555f(0x4df)],this[_0x1b555f(0x455)],null,this[_0x1b555f(0x3e3)],this['_handler'],_0x2f0f14);}[_0x210b79(0x2c0)](_0x2993a8,_0x2c8a8f){var _0x3f89ef=_0x210b79,_0x1f9307;_0x2993a8===((_0x1f9307=this['_awaitingChangeset'])==null?void 0x0:_0x1f9307[_0x3f89ef(0x241)])&&(this['resend'](),this['_resendTimeout']=_0x2c8a8f===0x0?0x3e8:_0x2c8a8f*0x2);}[_0x210b79(0x2a7)](){var _0x2be700=_0x210b79,_0x234acd;(_0x234acd=this['_sender'])==null||_0x234acd[_0x2be700(0x459)](),this[_0x2be700(0x319)]=0x0;}},_0x29391d[_0x210b79(0x427)]=_0x20c3c8([_0x1929f0(0x6,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4['Injector'])),_0x1929f0(0x7,_0x1553b4[_0x210b79(0x2aa)](_0x489078[_0x210b79(0x40b)])),_0x1929f0(0x8,_0x1553b4[_0x210b79(0x461)]),_0x1929f0(0x9,_0x1553b4[_0x210b79(0x247)]),_0x1929f0(0xa,_0x489078['ITransformService']),_0x1929f0(0xb,_0x1553b4[_0x210b79(0x3da)]),_0x1929f0(0xc,_0x1553b4['Optional'](_0x4200a1))],_0x29391d[_0x210b79(0x427)]),_0x29391d[_0x210b79(0x255)]=class extends _0x28cd65{constructor(_0x26d162,_0x39d685,_0x471427,_0x38d1f8,_0x4667f4,_0x1ad649=!0x1,_0xbd0653,_0x2b8190,_0x20ed20,_0x9c24d7,_0x33268a,_0x3251b9,_0x4a2e90){var _0x3ecc35=_0x210b79;super(_0x26d162,_0x39d685,_0x471427,_0x38d1f8,_0x4667f4,_0x2b8190,_0x20ed20,_0x9c24d7,_0x4a2e90),_0x3c9fd4(this,_0x3ecc35(0x3aa),_0x3ecc35(0x1dd)),(this[_0x3ecc35(0x52c)]=_0x1ad649,this[_0x3ecc35(0x39c)]=_0xbd0653,this[_0x3ecc35(0x381)]=_0x33268a,this[_0x3ecc35(0x3c1)]=_0x3251b9,this[_0x3ecc35(0x441)]=_0x4a2e90,this[_0x3ecc35(0x4cd)](),this[_0x3ecc35(0x2b6)](),this[_0x3ecc35(0x3db)]());}['appendMutation'](){return this;}[_0x210b79(0x1cd)](){return this;}[_0x210b79(0x387)](){return this;}[_0x210b79(0x44d)](){return this;}[_0x210b79(0x341)](){return this;}[_0x210b79(0x443)](){return this;}[_0x210b79(0x507)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x174bba=_0x210b79,_0x9670cf;(_0x9670cf=this[_0x174bba(0x42a)])==null||_0x9670cf[_0x174bba(0x298)](this['unitID'],this[_0x174bba(0x455)],null,[]);}[_0x210b79(0x4cd)](){var _0x1482e6=_0x210b79;this['_isPermissionRej']?this[_0x1482e6(0x3c1)][_0x1482e6(0x457)]({'id':_0x5ee67c[_0x1482e6(0x4e5)]}):this[_0x1482e6(0x3c1)][_0x1482e6(0x457)]({'id':_0x5ee67c[_0x1482e6(0x400)]});}['_disableEditing'](){var _0x7a9de5=_0x210b79;this[_0x7a9de5(0x39c)][_0x7a9de5(0x4c7)](new _0x23f2ac[(_0x7a9de5(0x2ad))](this[_0x7a9de5(0x4df)])['id'],!0x1);}},_0x29391d[_0x210b79(0x255)]=_0x20c3c8([_0x1929f0(0x6,_0x1553b4['Inject'](_0x1553b4[_0x210b79(0x50c)])),_0x1929f0(0x7,_0x1553b4['ICommandService']),_0x1929f0(0x8,_0x1553b4[_0x210b79(0x3da)]),_0x1929f0(0x9,_0x1553b4[_0x210b79(0x2aa)](_0x489078[_0x210b79(0x40b)])),_0x1929f0(0xa,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4[_0x210b79(0x450)])),_0x1929f0(0xb,_0x1553b4[_0x210b79(0x2aa)](_0xf12017)),_0x1929f0(0xc,_0x1553b4[_0x210b79(0x262)](_0x4200a1))],_0x29391d[_0x210b79(0x255)]),_0x29391d[_0x210b79(0x26a)]=class extends _0x28cd65{constructor(_0xdc7c7a,_0x5ecca2,_0x21cfef,_0x3ef29e,_0x4d94c4,_0x179483,_0x27e7ee,_0x229ff2,_0x3ab518,_0x519932){var _0x4dc151=_0x210b79;super(_0xdc7c7a,_0x5ecca2,_0x21cfef,_0x3ef29e,_0x4d94c4,_0x229ff2,_0x3ab518,_0x27e7ee,_0x519932),_0x3c9fd4(this,_0x4dc151(0x3aa),_0x4dc151(0x244)),this[_0x4dc151(0x3c4)]=_0x179483;}[_0x210b79(0x332)](_0x510dab){var _0x4c785d=_0x210b79;return this[_0x4c785d(0x3e3)][_0x4c785d(0x3b0)](_0x510dab),this[_0x4c785d(0x263)](),this;}[_0x210b79(0x1cd)](_0x496bb8){var _0x3f624a=_0x210b79;throw new Error(_0x3f624a(0x4bc));}[_0x210b79(0x387)](){var _0x30462b=_0x210b79;throw new Error(_0x30462b(0x3fc));}['onRemoteRej'](){var _0x6dba7f=_0x210b79;throw new Error(_0x6dba7f(0x3a4));}[_0x210b79(0x341)](){return this;}['toggleOffline'](){return this;}[_0x210b79(0x507)](){var _0x5908d9=_0x210b79;const {_injector:_0x4c07ba,_pendingMutations:_0x5eb9e9,_awaitingChangeset:_0x4bebb5,unitID:_0x5b8b55,_handler:_0xe5a802,type:_0x569d54}=this,_0x25f062=_0x56f4f8(_0x4c07ba,_0x5b8b55,_0x569d54,_0x4bebb5,_0x5eb9e9,_0xe5a802);return _0x25f062 instanceof _0x29391d['PendingState']?_0x25f062[_0x5908d9(0x39e)]():(_0x25f062 instanceof _0x29391d[_0x5908d9(0x427)]||_0x25f062 instanceof _0x29391d[_0x5908d9(0x34b)])&&_0x25f062[_0x5908d9(0x4a8)](),_0x25f062;}[_0x210b79(0x4a8)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x29391d[_0x210b79(0x26a)]=_0x20c3c8([_0x1929f0(0x5,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4[_0x210b79(0x284)])),_0x1929f0(0x6,_0x1553b4[_0x210b79(0x2aa)](_0x489078[_0x210b79(0x40b)])),_0x1929f0(0x7,_0x1553b4[_0x210b79(0x461)]),_0x1929f0(0x8,_0x1553b4[_0x210b79(0x3da)]),_0x1929f0(0x9,_0x1553b4[_0x210b79(0x262)](_0x4200a1))],_0x29391d[_0x210b79(0x26a)]),_0x29391d[_0x210b79(0x414)]=class extends _0x28cd65{constructor(_0x24cc5d,_0x185398,_0x405d26,_0x4f6ddb,_0x19423a,_0x31ce5b,_0x4f7cc9,_0x2f515f,_0x2d567a,_0x4f5fb9,_0x4d9a21,_0x1c7bfd,_0x5d5852,_0x15546b){var _0x207035=_0x210b79;super(_0x24cc5d,_0x185398,_0x405d26,_0x4f6ddb,_0x4f7cc9,_0x4d9a21,_0x1c7bfd,_0x2d567a,_0x15546b),_0x3c9fd4(this,_0x207035(0x3aa),_0x207035(0x2dc)),(this[_0x207035(0x3bf)]=_0x19423a,this[_0x207035(0x3ae)]=_0x31ce5b,this[_0x207035(0x3c4)]=_0x2f515f,this[_0x207035(0x396)]=_0x4f5fb9,this['_transformService']=_0x5d5852,this['localCacheService']=_0x15546b);}['onMissedChangesetFetched'](_0x2f0a9a){var _0x432522=_0x210b79;try{const _0x1f08e2=[..._0x2f0a9a,...this[_0x432522(0x3ae)]],_0x393295=[this[_0x432522(0x348)]||this[_0x432522(0x3bf)]]['filter'](_0x3eceba=>!!_0x3eceba);let _0xd7b2fe,_0x34ade;if(_0x393295[_0x432522(0x205)]){const _0x18ef9e=this[_0x432522(0x23f)]['transformChangesets'](_0x1f08e2,_0x393295,!0x1);if(!_0x489078[_0x432522(0x35f)](_0x18ef9e))throw _0x18ef9e[_0x432522(0x432)];_0xd7b2fe=_0x18ef9e[_0x432522(0x4b2)],_0x34ade=_0x18ef9e[_0x432522(0x237)];}else _0xd7b2fe=_0x1f08e2,_0x34ade=[];let _0x159420=this[_0x432522(0x3e3)];_0xd7b2fe[_0x432522(0x320)](_0x28a3e8=>{var _0x1c9dd3=_0x432522;let _0x55f6b9;if(_0x159420[_0x1c9dd3(0x205)]){const _0x2124ee=this['_transformService'][_0x1c9dd3(0x528)](_0x28a3e8,_0x159420);if(!_0x489078[_0x1c9dd3(0x486)](_0x2124ee))throw _0x2124ee[_0x1c9dd3(0x432)];_0x55f6b9=_0x2124ee[_0x1c9dd3(0x4b2)],_0x159420=_0x2124ee[_0x1c9dd3(0x442)];}else _0x55f6b9=_0x28a3e8;this[_0x1c9dd3(0x276)](_0x55f6b9);}),this[_0x432522(0x3bf)]&&this['_incrementRevisionNumber'](),this[_0x432522(0x348)]&&_0x34ade[_0x432522(0x205)]&&(_0x34ade[0x0][_0x432522(0x44f)]=this[_0x432522(0x489)]());let _0x2ec691;if(this[_0x432522(0x348)]&&_0x159420['length']!==0x0)_0x2ec691=this[_0x432522(0x3c4)][_0x432522(0x317)](_0x29391d[_0x432522(0x427)],this[_0x432522(0x4df)],this[_0x432522(0x455)],_0x34ade[0x0],_0x159420,this[_0x432522(0x50b)],void 0x0);else{if(this[_0x432522(0x348)]&&_0x159420[_0x432522(0x205)]===0x0)_0x34ade[0x0][_0x432522(0x44f)]=this[_0x432522(0x489)](),_0x2ec691=this[_0x432522(0x3c4)][_0x432522(0x317)](_0x29391d[_0x432522(0x34b)],this[_0x432522(0x4df)],this[_0x432522(0x455)],_0x34ade[0x0],this[_0x432522(0x50b)]);else{if(_0x159420[_0x432522(0x205)]!==0x0){const _0x42d30b=this[_0x432522(0x3c4)][_0x432522(0x317)](_0x29391d[_0x432522(0x1e3)],this[_0x432522(0x4df)],this[_0x432522(0x455)],_0x159420,this['_handler']);_0x42d30b[_0x432522(0x39e)](),_0x2ec691=_0x42d30b;}else _0x2ec691=this['_injector'][_0x432522(0x317)](_0x29391d[_0x432522(0x32e)],this['unitID'],this['type'],this[_0x432522(0x50b)]);}}return _0x2ec691[_0x432522(0x263)](),_0x2ec691;}catch(_0xa1c2d7){return this[_0x432522(0x396)][_0x432522(0x432)](_0x432522(0x213),_0x432522(0x34f),_0xa1c2d7),this['_injector'][_0x432522(0x317)](_0x29391d[_0x432522(0x255)],this[_0x432522(0x4df)],this['type'],this[_0x432522(0x348)],this[_0x432522(0x3e3)],this[_0x432522(0x50b)],!0x1);}}[_0x210b79(0x4a8)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x5995ca){var _0x3f8bb3=_0x210b79;return this[_0x3f8bb3(0x3e3)][_0x3f8bb3(0x3b0)](_0x5995ca),this;}['onRemoteChangeset'](_0x20dcec){var _0x5f0d58=_0x210b79;return this[_0x5f0d58(0x3ae)][_0x5f0d58(0x3b0)](_0x20dcec),this;}[_0x210b79(0x387)](_0x5bac73){var _0x39f327=_0x210b79;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x39f327(0x348)],this['_awaitingChangeset']=null,this;throw new Error(_0x39f327(0x33c));}[_0x210b79(0x44d)](_0x23dfe0){var _0x37f517=_0x210b79;return this['_onConflict'](!!(_0x23dfe0!=null&&_0x23dfe0[_0x37f517(0x2bb)]));}[_0x210b79(0x341)](){return this;}[_0x210b79(0x443)](){var _0x42b170=_0x210b79;return this[_0x42b170(0x3c4)][_0x42b170(0x317)](_0x29391d[_0x42b170(0x26a)],this[_0x42b170(0x4df)],this[_0x42b170(0x455)],this[_0x42b170(0x348)],this[_0x42b170(0x3e3)],this[_0x42b170(0x50b)]);}[_0x210b79(0x507)](){return this;}[_0x210b79(0x1ed)](_0x10b890){var _0x3b5636=_0x210b79;return this[_0x3b5636(0x3c4)]['createInstance'](_0x29391d[_0x3b5636(0x255)],this['unitID'],this[_0x3b5636(0x455)],this[_0x3b5636(0x348)],this['_pendingMutations'],this[_0x3b5636(0x50b)],_0x10b890);}},_0x29391d[_0x210b79(0x414)]=_0x20c3c8([_0x1929f0(0x7,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4[_0x210b79(0x284)])),_0x1929f0(0x8,_0x1553b4[_0x210b79(0x2aa)](_0x489078[_0x210b79(0x40b)])),_0x1929f0(0x9,_0x1553b4[_0x210b79(0x247)]),_0x1929f0(0xa,_0x1553b4[_0x210b79(0x461)]),_0x1929f0(0xb,_0x1553b4[_0x210b79(0x3da)]),_0x1929f0(0xc,_0x489078[_0x210b79(0x26b)]),_0x1929f0(0xd,_0x1553b4[_0x210b79(0x262)](_0x4200a1))],_0x29391d[_0x210b79(0x414)]);function _0x56f4f8(_0x4788b8,_0x206daa,_0x112573,_0x1ff8f7,_0x441523,_0x1db8c5){var _0xd20008=_0x210b79;return _0x1ff8f7&&_0x441523[_0xd20008(0x205)]?_0x4788b8[_0xd20008(0x317)](_0x29391d[_0xd20008(0x427)],_0x206daa,_0x112573,_0x1ff8f7,_0x441523,_0x1db8c5,void 0x0):_0x1ff8f7?_0x4788b8[_0xd20008(0x317)](_0x29391d[_0xd20008(0x34b)],_0x206daa,_0x112573,_0x1ff8f7,_0x1db8c5):_0x441523[_0xd20008(0x205)]?_0x4788b8[_0xd20008(0x317)](_0x29391d[_0xd20008(0x1e3)],_0x206daa,_0x112573,_0x441523,_0x1db8c5):_0x4788b8[_0xd20008(0x317)](_0x29391d[_0xd20008(0x32e)],_0x206daa,_0x112573,_0x1db8c5);}var _0x5a7e32=Object[_0x210b79(0x225)],_0x32f637=(_0xed8c9c,_0xfb94d3,_0x40d5d5,_0x1b8a40)=>{for(var _0x23e02e=_0x1b8a40>0x1?void 0x0:_0x1b8a40?_0x5a7e32(_0xfb94d3,_0x40d5d5):_0xfb94d3,_0x2524cd=_0xed8c9c['length']-0x1,_0x504f23;_0x2524cd>=0x0;_0x2524cd--)(_0x504f23=_0xed8c9c[_0x2524cd])&&(_0x23e02e=_0x504f23(_0x23e02e)||_0x23e02e);return _0x23e02e;},_0x310113=(_0xd32f14,_0x1f9c52)=>(_0x25f770,_0x461cfa)=>_0x1f9c52(_0x25f770,_0x461cfa,_0xd32f14);_0x29391d[_0x210b79(0x45d)]=class extends _0x1553b4['RxDisposable']{constructor(_0x59afb9,_0x1dcec0,_0x2104e9,_0x2ca116,_0x5e7877,_0x5663f5,_0x2269a2,_0x144e50,_0x390a57,_0x2736f5,_0x527d01,_0x378f9f,_0x36385a){var _0x16d83e=_0x210b79;super(),_0x3c9fd4(this,_0x16d83e(0x30c),new _0x430a82[(_0x16d83e(0x39b))](null)),_0x3c9fd4(this,_0x16d83e(0x2a0),this[_0x16d83e(0x30c)]['asObservable']()),_0x3c9fd4(this,'_state'),_0x3c9fd4(this,_0x16d83e(0x2ed),!0x1),_0x3c9fd4(this,'_changesetSessionId',''),_0x3c9fd4(this,'_changesetReqId',0x0),_0x3c9fd4(this,_0x16d83e(0x474),this[_0x16d83e(0x2a0)]['pipe'](_0x430a82[_0x16d83e(0x1e9)](_0x589b87=>_0x589b87?_0x589b87[_0x16d83e(0x3aa)]:_0x27628f['OFFLINE']),_0x430a82[_0x16d83e(0x307)](0x1))),_0x3c9fd4(this,'_transitionLocked',!0x1),_0x3c9fd4(this,'_remoteChangesetQueue',[]),(this[_0x16d83e(0x4df)]=_0x59afb9,this[_0x16d83e(0x368)]=_0x1dcec0,this[_0x16d83e(0x51f)]=_0x2104e9,this[_0x16d83e(0x3c4)]=_0x2ca116,this[_0x16d83e(0x3e6)]=_0x5e7877,this[_0x16d83e(0x381)]=_0x5663f5,this['_revisionService']=_0x2269a2,this[_0x16d83e(0x1c1)]=_0x144e50,this[_0x16d83e(0x396)]=_0x390a57,this[_0x16d83e(0x250)]=_0x2736f5,this[_0x16d83e(0x39c)]=_0x527d01,this[_0x16d83e(0x51e)]=_0x378f9f,this[_0x16d83e(0x42a)]=_0x36385a);}get[_0x210b79(0x472)](){var _0x4a98da=_0x210b79;return this[_0x4a98da(0x403)];}async[_0x210b79(0x226)](){var _0x21f9e0=_0x210b79;if(this[_0x21f9e0(0x472)])throw new Error(_0x21f9e0(0x3b2));await this[_0x21f9e0(0x1c7)]();}[_0x210b79(0x355)](){var _0xa1f819=_0x210b79;return this[_0xa1f819(0x2ed)]=!0x0,_0x1553b4[_0xa1f819(0x46d)](()=>{var _0x70a9e0=_0xa1f819;this[_0x70a9e0(0x2ed)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x210b79(0x399)](_0x46a1fe){var _0x1d533c=_0x210b79;this[_0x1d533c(0x1ff)](_0x46a1fe);}[_0x210b79(0x467)](_0x3bc08e){var _0x3b91ec=_0x210b79;this[_0x3b91ec(0x403)]=_0x3bc08e,this['_state$'][_0x3b91ec(0x35d)](_0x3bc08e);}async[_0x210b79(0x1c7)](){var _0x223193=_0x210b79,_0x40c11a;this['_updateState'](await this[_0x223193(0x412)]()),this[_0x223193(0x51e)]&&((_0x40c11a=this[_0x223193(0x51e)])==null||_0x40c11a[_0x223193(0x3b6)](this['unitID']),this[_0x223193(0x204)](this[_0x223193(0x51e)]['getUnitStatus$'](this[_0x223193(0x4df)])[_0x223193(0x35a)](_0xeb1b84=>{var _0x2ab8f5=_0x223193;this[_0x2ab8f5(0x396)][_0x2ab8f5(0x2be)](_0x2ab8f5(0x2ae),_0x2ab8f5(0x417),_0xeb1b84),_0xeb1b84===_0x56f2ce[_0x2ab8f5(0x240)]?(this[_0x2ab8f5(0x1c1)][_0x2ab8f5(0x457)]({'id':_0x5ee67c[_0x2ab8f5(0x3d7)]}),this[_0x2ab8f5(0x39c)][_0x2ab8f5(0x4c7)](new _0x23f2ac[(_0x2ab8f5(0x2ad))](this[_0x2ab8f5(0x4df)])['id'],!0x1),this[_0x2ab8f5(0x39c)][_0x2ab8f5(0x2f1)](!0x1)):(this[_0x2ab8f5(0x39c)]['updatePermissionPoint'](new _0x23f2ac[(_0x2ab8f5(0x2ad))](this[_0x2ab8f5(0x4df)])['id'],!0x0),this[_0x2ab8f5(0x39c)][_0x2ab8f5(0x2f1)](!0x0));})));let _0x41a853=!0x1;return this[_0x223193(0x204)](this[_0x223193(0x368)][_0x223193(0x498)][_0x223193(0x35a)](_0x340191=>{var _0xcf7d57=_0x223193;_0x340191===_0x543e60['ONLINE']?this[_0xcf7d57(0x3c5)](_0x41a853):_0x340191===_0x543e60[_0xcf7d57(0x4a3)]&&(_0x41a853=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x223193(0x368)][_0x223193(0x422)][_0x223193(0x35a)](_0x2b603d=>{var _0x137f03=_0x223193;try{switch(_0x2b603d[_0x137f03(0x48b)]){case _0x489078[_0x137f03(0x4cb)][_0x137f03(0x388)]:{this[_0x137f03(0x277)](_0x489078[_0x137f03(0x265)](_0x2b603d['data']));break;}case _0x489078[_0x137f03(0x4cb)][_0x137f03(0x46a)]:{this[_0x137f03(0x524)](_0x2b603d[_0x137f03(0x236)]);break;}case _0x489078[_0x137f03(0x4cb)][_0x137f03(0x424)]:{this[_0x137f03(0x499)]();break;}case _0x489078[_0x137f03(0x4cb)][_0x137f03(0x34e)]:{this[_0x137f03(0x2f2)](_0x2b603d['data']);break;}case _0x489078[_0x137f03(0x4cb)][_0x137f03(0x256)]:{this[_0x137f03(0x278)](_0x2b603d[_0x137f03(0x236)]['changesets'][_0x137f03(0x1e9)](_0x52319b=>_0x489078['parseProtocolChangeset'](_0x52319b)));break;}case _0x489078['CollaborationEvent'][_0x137f03(0x3c8)]:{this[_0x137f03(0x499)]({'isPermissionRej':!0x0});break;}case _0x489078[_0x137f03(0x4cb)][_0x137f03(0x476)]:break;}}catch(_0x19f476){throw console[_0x137f03(0x432)](_0x137f03(0x3b7),_0x19f476),_0x19f476;}})),this[_0x223193(0x403)];}[_0x210b79(0x3bc)](){var _0x2ddc3d=_0x210b79;this[_0x2ddc3d(0x4a4)]=!0x1;}[_0x210b79(0x2b7)](){var _0x3187f4=_0x210b79;if(this[_0x3187f4(0x4a4)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x3187f4(0x4a4)]=!0x0;}[_0x210b79(0x1ff)](_0x405e9d){var _0x24de2f=_0x210b79;this[_0x24de2f(0x2b7)](),this[_0x24de2f(0x467)](this['_state']['appendMutation'](_0x405e9d)),this[_0x24de2f(0x3bc)]();}[_0x210b79(0x277)](_0x5ac545){var _0x5e794e=_0x210b79;if(!(_0x5ac545[_0x5e794e(0x22c)]<=this[_0x5e794e(0x3a2)][_0x5e794e(0x1cb)](this[_0x5e794e(0x4df)]))){if(this[_0x5e794e(0x2ed)]){this[_0x5e794e(0x393)]['push'](_0x5ac545);return;}this[_0x5e794e(0x2b0)](_0x5ac545);}}['_exhaustRemoteChangesetQueue'](){var _0x228e83=_0x210b79;this[_0x228e83(0x393)][_0x228e83(0x320)](_0x3ad424=>this[_0x228e83(0x2b0)](_0x3ad424)),this[_0x228e83(0x393)]=[];}[_0x210b79(0x2b0)](_0x383fc6){var _0x491cc6=_0x210b79;const _0x4f659d=this[_0x491cc6(0x3e6)]['interceptor'][_0x491cc6(0x485)](this[_0x491cc6(0x3e6)][_0x491cc6(0x2f5)][_0x491cc6(0x1c8)]()['COMPRESS_MUTATION_APPLY'])(_0x383fc6['mutations'],null)||_0x383fc6[_0x491cc6(0x4be)],_0x570d9f={..._0x383fc6,'mutations':_0x4f659d};this[_0x491cc6(0x2b7)](),this[_0x491cc6(0x467)](this[_0x491cc6(0x403)][_0x491cc6(0x1cd)](_0x570d9f)),this[_0x491cc6(0x3bc)]();}[_0x210b79(0x524)](_0x4141a2){var _0x594b75=_0x210b79;this[_0x594b75(0x2b7)](),this[_0x594b75(0x467)](this[_0x594b75(0x403)][_0x594b75(0x387)](_0x4141a2)),this['_unlockTransition']();}[_0x210b79(0x499)](_0x406c4e){var _0x17eed6=_0x210b79;this[_0x17eed6(0x2b7)](),this[_0x17eed6(0x467)](this[_0x17eed6(0x403)][_0x17eed6(0x44d)](_0x406c4e)),this[_0x17eed6(0x3bc)]();}['_onRemoteRetry'](_0x71e79c){var _0x1fdca1=_0x210b79;this[_0x1fdca1(0x2b7)](),this['_updateState'](this['_state'][_0x1fdca1(0x341)](_0x71e79c)),this['_unlockTransition']();}['_onFetchMissResult'](_0x420b74){var _0xa2a388=_0x210b79;if(!(this[_0xa2a388(0x403)]instanceof _0x29391d[_0xa2a388(0x414)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3cf806=_0x420b74[_0xa2a388(0x1e9)](_0x37eb81=>{var _0x27374f=_0xa2a388;const _0x5cadec=this[_0x27374f(0x3e6)]['interceptor'][_0x27374f(0x485)](this[_0x27374f(0x3e6)][_0x27374f(0x2f5)]['getInterceptPoints']()[_0x27374f(0x293)])(_0x37eb81[_0x27374f(0x4be)],null)||_0x37eb81[_0x27374f(0x4be)];return{..._0x37eb81,'mutations':_0x5cadec};});this[_0xa2a388(0x2b7)](),this['_updateState'](this[_0xa2a388(0x403)]['onMissedChangesetFetched'](_0x3cf806)),this['_unlockTransition']();}['_toggleOffline'](){var _0xa3d991=_0x210b79;this['_lockTransition'](),this['_updateState'](this[_0xa3d991(0x403)][_0xa3d991(0x443)]()),this[_0xa3d991(0x3bc)]();}[_0x210b79(0x3c5)](_0x5c4bbc=!0x1){var _0xf5ce71=_0x210b79;this[_0xf5ce71(0x2b7)](),this[_0xf5ce71(0x467)](this['_state'][_0xf5ce71(0x507)]()),this['_unlockTransition']();const _0x20a892=this[_0xf5ce71(0x403)];_0x5c4bbc&&_0x20a892 instanceof _0x29391d[_0xf5ce71(0x32e)]&&(this[_0xf5ce71(0x2b7)](),this[_0xf5ce71(0x467)](_0x20a892[_0xf5ce71(0x1d9)]()),this[_0xf5ce71(0x3bc)]());}async[_0x210b79(0x412)](){return new Promise(_0x10c155=>{var _0x3d3041=_0x5719;this[_0x3d3041(0x368)]['sessionStatus$'][_0x3d3041(0x1dc)](_0x430a82[_0x3d3041(0x4ad)](0x1))[_0x3d3041(0x35a)](async _0x2a79a2=>{var _0xe26c63=_0x3d3041;_0x10c155(await this[_0xe26c63(0x2c1)](_0x2a79a2===_0x543e60[_0xe26c63(0x285)]));});});}[_0x210b79(0x3c6)](){var _0x53386a=_0x210b79;const _0x3cfde4=this[_0x53386a(0x4df)];return{'onStateChange':(_0x318cd5,_0xe5d164)=>{var _0x8f4555=_0x53386a;if(_0x318cd5!==this[_0x8f4555(0x403)])throw new Error(_0x8f4555(0x331)+_0x318cd5[_0x8f4555(0x3aa)]+'\x0aAfter:\x20'+_0xe5d164[_0x8f4555(0x3aa)]+_0x8f4555(0x41d)+this[_0x8f4555(0x403)][_0x8f4555(0x3aa)]);this[_0x8f4555(0x467)](_0xe5d164);},'onSendChangeset':_0x3423e2=>{var _0x5c6777=_0x53386a;_0x3423e2[_0x5c6777(0x301)]||(_0x3423e2['sid']=this['_changesetSessionId'],_0x3423e2['reqId']=++this[_0x5c6777(0x306)]);const _0x277cf3={'eventID':_0x489078['CollaborationEvent'][_0x5c6777(0x4f6)],'data':{'unitID':_0x3423e2[_0x5c6777(0x4df)],'unitType':this['_type'],'changeset':_0x3423e2,'memberID':this[_0x5c6777(0x368)]['getMemberID']()}};this[_0x5c6777(0x368)][_0x5c6777(0x328)](_0x277cf3,this[_0x5c6777(0x4df)]);},'onMissingChangesets':({from:_0x59bea4,to:_0x16e169})=>{var _0x4db527=_0x53386a;this[_0x4db527(0x396)][_0x4db527(0x2be)](_0x4db527(0x2ae),_0x4db527(0x51b)+_0x59bea4+_0x4db527(0x471)+_0x16e169);const _0x17a19c={'eventID':_0x489078['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x3cfde4,'unitType':this[_0x4db527(0x51f)],'from':_0x59bea4,'to':_0x16e169}};this[_0x4db527(0x368)][_0x4db527(0x328)](_0x17a19c,this[_0x4db527(0x4df)]);}};}async[_0x210b79(0x2c1)](_0x143eb5){var _0x80217e=_0x210b79,_0x48a83d,_0x1648f1,_0x49fb6c;const _0x5b2437=await((_0x48a83d=this[_0x80217e(0x42a)])==null?void 0x0:_0x48a83d[_0x80217e(0x2ba)](this[_0x80217e(0x4df)])),_0x3a572c=(_0x1648f1=_0x5b2437==null?void 0x0:_0x5b2437[_0x80217e(0x4be)])!=null?_0x1648f1:[],_0x107aaa=(_0x49fb6c=_0x5b2437==null?void 0x0:_0x5b2437[_0x80217e(0x4e8)])!=null?_0x49fb6c:null,_0x477e48=!!(_0x107aaa!=null&&_0x107aaa[_0x80217e(0x301)])&&!!(_0x107aaa!=null&&_0x107aaa[_0x80217e(0x241)]);this[_0x80217e(0x4a0)]=_0x477e48?_0x107aaa[_0x80217e(0x301)]:_0x565777(),this[_0x80217e(0x306)]=_0x477e48?_0x107aaa[_0x80217e(0x241)]:0x0;const _0x2d9037=this[_0x80217e(0x4df)];try{this[_0x80217e(0x201)](_0x107aaa,_0x3a572c);}catch(_0x4b2682){this[_0x80217e(0x396)][_0x80217e(0x432)](_0x4b2682);}const _0x276dae=this[_0x80217e(0x3c6)]();if(_0x143eb5){const _0xf4485d=_0x56f4f8(this['_injector'],_0x2d9037,this['_type'],_0x107aaa,_0x3a572c,_0x276dae);return _0xf4485d instanceof _0x29391d[_0x80217e(0x1e3)]?_0xf4485d[_0x80217e(0x39e)]():(_0xf4485d instanceof _0x29391d[_0x80217e(0x427)]||_0xf4485d instanceof _0x29391d[_0x80217e(0x34b)])&&_0xf4485d[_0x80217e(0x4a8)](),_0xf4485d;}return this[_0x80217e(0x3c4)][_0x80217e(0x317)](_0x29391d['OfflineState'],_0x2d9037,this[_0x80217e(0x51f)],_0x107aaa,_0x3a572c,_0x276dae);}[_0x210b79(0x201)](_0x46d8af,_0x2a5301){var _0x3b7f97=_0x210b79,_0x26599e,_0x39939f;const _0x51f042=this[_0x3b7f97(0x3e6)]['interceptor'][_0x3b7f97(0x485)](this[_0x3b7f97(0x3e6)][_0x3b7f97(0x2f5)]['getInterceptPoints']()[_0x3b7f97(0x293)]);(_0x26599e=_0x51f042((_0x46d8af==null?void 0x0:_0x46d8af[_0x3b7f97(0x4be)])||[],null))==null||_0x26599e[_0x3b7f97(0x320)](_0x4d344c=>this[_0x3b7f97(0x250)]['executeCommand'](_0x4d344c['id'],_0x4d344c['params'])),(_0x39939f=_0x51f042(_0x2a5301||[],null))==null||_0x39939f[_0x3b7f97(0x320)](_0x1a2794=>this[_0x3b7f97(0x250)][_0x3b7f97(0x43e)](_0x1a2794['id'],_0x1a2794[_0x3b7f97(0x41f)]));}},_0x29391d[_0x210b79(0x45d)]=_0x32f637([_0x310113(0x3,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4[_0x210b79(0x284)])),_0x310113(0x4,_0x1553b4[_0x210b79(0x2aa)](_0x489078[_0x210b79(0x3a7)])),_0x310113(0x5,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4[_0x210b79(0x450)])),_0x310113(0x6,_0x1553b4['Inject'](_0x489078['RevisionService'])),_0x310113(0x7,_0x1553b4[_0x210b79(0x2aa)](_0xf12017)),_0x310113(0x8,_0x1553b4[_0x210b79(0x247)]),_0x310113(0x9,_0x1553b4[_0x210b79(0x461)]),_0x310113(0xa,_0x1553b4[_0x210b79(0x50c)]),_0x310113(0xb,_0x1553b4[_0x210b79(0x262)](_0x4d61f4)),_0x310113(0xc,_0x1553b4[_0x210b79(0x262)](_0x4200a1))],_0x29391d[_0x210b79(0x45d)]),_0x29391d[_0x210b79(0x309)]=class extends _0x29391d[_0x210b79(0x45d)]{constructor(_0x49f60f,_0x8c6dc7,_0xcd2b3,_0x1dbe80,_0x20cdd8,_0x2f6d27,_0x3d58d6,_0x40f883,_0x4d175a,_0x210b87,_0x280e4e,_0x381ae2,_0x49f656){var _0x2a8ec4=_0x210b79;super(_0x49f60f,_0xcd2b3,_0x8c6dc7,_0x1dbe80,_0x20cdd8,_0x2f6d27,_0x3d58d6,_0x40f883,_0x4d175a,_0x210b87,_0x280e4e,_0x381ae2,_0x49f656),_0x3c9fd4(this,_0x2a8ec4(0x37c),null),(this['unitID']=_0x49f60f,this['type']=_0x8c6dc7);}[_0x210b79(0x21d)](_0x3a60cd){var _0x290b44=_0x210b79;this[_0x290b44(0x37c)]=_0x3a60cd;}['dispose'](){var _0x20bd25=_0x210b79;this[_0x20bd25(0x37c)]=null,super['dispose']();}['_createHandler'](){var _0x238894=_0x210b79;const _0x5279b0=super[_0x238894(0x3c6)]();return _0x5279b0['onTransformIME']=_0xe80338=>{var _0x59ab6b=_0x238894,_0x281db0,_0x334266;return(_0x334266=(_0x281db0=this[_0x59ab6b(0x37c)])==null?void 0x0:_0x281db0[_0x59ab6b(0x3e8)])==null?void 0x0:_0x334266[_0x59ab6b(0x50a)](_0x281db0,_0xe80338);},_0x5279b0[_0x238894(0x2db)]=_0x4ed33c=>{var _0x42e211=_0x238894,_0x555eb1,_0x33529c;return(_0x33529c=(_0x555eb1=this[_0x42e211(0x37c)])==null?void 0x0:_0x555eb1[_0x42e211(0x2db)])==null?void 0x0:_0x33529c[_0x42e211(0x50a)](_0x555eb1,_0x4ed33c);},_0x5279b0[_0x238894(0x252)]=_0x2281f5=>{var _0x1e12b7=_0x238894,_0x4ff543,_0x305034;return(_0x305034=(_0x4ff543=this[_0x1e12b7(0x37c)])==null?void 0x0:_0x4ff543[_0x1e12b7(0x252)])==null?void 0x0:_0x305034[_0x1e12b7(0x50a)](_0x4ff543,_0x2281f5);},_0x5279b0['onSyncEditingCollabCursor']=_0x315068=>{var _0x5033b1=_0x238894,_0xc903c9,_0x3b971b;return(_0x3b971b=(_0xc903c9=this[_0x5033b1(0x37c)])==null?void 0x0:_0xc903c9[_0x5033b1(0x374)])==null?void 0x0:_0x3b971b['call'](_0xc903c9,_0x315068);},_0x5279b0[_0x238894(0x488)]=_0x5c9b89=>{var _0x31c4f9=_0x238894,_0x5a3e2a,_0x4e7436,_0x33f256;if(!((_0x5a3e2a=this['_handlerCallback'])!=null&&_0x5a3e2a[_0x31c4f9(0x488)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x33f256=(_0x4e7436=this['_handlerCallback'])==null?void 0x0:_0x4e7436['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x33f256[_0x31c4f9(0x50a)](_0x4e7436,_0x5c9b89);},_0x5279b0['onTransformRemoteChangesetByStateCache']=_0x1e27f1=>{var _0x3f2225=_0x238894,_0x28e9dd,_0x127a40,_0x46dfcf;if(!((_0x28e9dd=this['_handlerCallback'])!=null&&_0x28e9dd[_0x3f2225(0x286)]))throw new Error(_0x3f2225(0x366));return(_0x46dfcf=(_0x127a40=this[_0x3f2225(0x37c)])==null?void 0x0:_0x127a40['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x46dfcf[_0x3f2225(0x50a)](_0x127a40,_0x1e27f1);},_0x5279b0;}async['_init'](){var _0xf1f31a=_0x210b79;const _0x4c8d2b=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0xf1f31a(0x2c7)]((_0x7a4eff,_0x2a5c85)=>{var _0x3f7177=_0xf1f31a;if(_0x7a4eff[_0x3f7177(0x455)]!==_0x1553b4[_0x3f7177(0x337)][_0x3f7177(0x2b4)]||_0x2a5c85!=null&&_0x2a5c85[_0x3f7177(0x34a)]||_0x2a5c85!=null&&_0x2a5c85['onlyLocal']||_0x7a4eff['id']===_0x36f6f8[_0x3f7177(0x3bb)]['id'])return;const _0x314679=_0x7a4eff['params'];if((_0x314679==null?void 0x0:_0x314679[_0x3f7177(0x3d4)])!==this[_0x3f7177(0x4df)])return;const _0x17a884=_0x7a4eff,_0x3c8a0f=this[_0x3f7177(0x3e6)][_0x3f7177(0x2f5)][_0x3f7177(0x485)](this[_0x3f7177(0x3e6)][_0x3f7177(0x2f5)][_0x3f7177(0x1c8)]()[_0x3f7177(0x324)])([_0x17a884],null)||[_0x17a884];this[_0x3f7177(0x1ff)](_0x3c8a0f[0x0]);})),_0x4c8d2b;}},_0x29391d[_0x210b79(0x309)]=_0x32f637([_0x310113(0x3,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4[_0x210b79(0x284)])),_0x310113(0x4,_0x1553b4[_0x210b79(0x2aa)](_0x489078[_0x210b79(0x3a7)])),_0x310113(0x5,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4['LocaleService'])),_0x310113(0x6,_0x1553b4[_0x210b79(0x2aa)](_0x489078[_0x210b79(0x40b)])),_0x310113(0x7,_0x1553b4[_0x210b79(0x2aa)](_0xf12017)),_0x310113(0x8,_0x1553b4[_0x210b79(0x247)]),_0x310113(0x9,_0x1553b4[_0x210b79(0x461)]),_0x310113(0xa,_0x1553b4[_0x210b79(0x50c)]),_0x310113(0xb,_0x1553b4[_0x210b79(0x262)](_0x4d61f4)),_0x310113(0xc,_0x1553b4[_0x210b79(0x262)](_0x4200a1))],_0x29391d[_0x210b79(0x309)]),_0x29391d[_0x210b79(0x40c)]=class extends _0x29391d[_0x210b79(0x45d)]{constructor(_0x592fa2,_0x5f3bc1,_0x40acf7,_0x39e256,_0x238392,_0x15717c,_0x5bbad6,_0x453787,_0x4c6f24,_0x79544c,_0x53a655,_0x4e83bb,_0x17ed53,_0x2a1fe1){var _0x4c331a=_0x210b79;super(_0x592fa2,_0x40acf7,_0x5f3bc1,_0x39e256,_0x238392,_0x15717c,_0x5bbad6,_0x4c6f24,_0x79544c,_0x53a655,_0x4e83bb,_0x17ed53,_0x2a1fe1),this[_0x4c331a(0x4df)]=_0x592fa2,this[_0x4c331a(0x455)]=_0x5f3bc1,this['_sheetTransformSelectionsService']=_0x453787;}[_0x210b79(0x3c6)](){var _0x512aaf=_0x210b79;const _0x58f49a=super[_0x512aaf(0x3c6)]();return _0x58f49a[_0x512aaf(0x252)]=_0x68def6=>this[_0x512aaf(0x505)][_0x512aaf(0x4e3)](_0x68def6),_0x58f49a;}async[_0x210b79(0x1c7)](){var _0x2c9103=_0x210b79;const _0x56c73a=await super[_0x2c9103(0x1c7)]();return this[_0x2c9103(0x204)](this[_0x2c9103(0x250)][_0x2c9103(0x2c7)]((_0x3cf3dc,_0x5dd918)=>{var _0x192a9a=_0x2c9103;if(_0x3cf3dc[_0x192a9a(0x455)]!==_0x1553b4[_0x192a9a(0x337)][_0x192a9a(0x2b4)]||_0x5dd918!=null&&_0x5dd918[_0x192a9a(0x34a)]||_0x5dd918!=null&&_0x5dd918[_0x192a9a(0x30e)])return;const _0x3d4a29=_0x3cf3dc['params'];if((_0x3d4a29==null?void 0x0:_0x3d4a29['unitId'])!==this[_0x192a9a(0x4df)])return;const _0x17df50=_0x3cf3dc,_0x1136c9=this[_0x192a9a(0x3e6)][_0x192a9a(0x2f5)][_0x192a9a(0x485)](this[_0x192a9a(0x3e6)][_0x192a9a(0x2f5)]['getInterceptPoints']()[_0x192a9a(0x324)])([_0x17df50],null)||[_0x17df50];this[_0x192a9a(0x1ff)](_0x1136c9[0x0]);})),_0x56c73a;}},_0x29391d[_0x210b79(0x40c)]=_0x32f637([_0x310113(0x3,_0x1553b4['Inject'](_0x1553b4[_0x210b79(0x284)])),_0x310113(0x4,_0x1553b4[_0x210b79(0x2aa)](_0x489078[_0x210b79(0x3a7)])),_0x310113(0x5,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4['LocaleService'])),_0x310113(0x6,_0x1553b4['Inject'](_0x489078[_0x210b79(0x40b)])),_0x310113(0x7,_0x1553b4['Inject'](_0x29391d[_0x210b79(0x208)])),_0x310113(0x8,_0x1553b4[_0x210b79(0x2aa)](_0xf12017)),_0x310113(0x9,_0x1553b4[_0x210b79(0x247)]),_0x310113(0xa,_0x1553b4[_0x210b79(0x461)]),_0x310113(0xb,_0x1553b4[_0x210b79(0x50c)]),_0x310113(0xc,_0x1553b4[_0x210b79(0x262)](_0x4d61f4)),_0x310113(0xd,_0x1553b4['Optional'](_0x4200a1))],_0x29391d[_0x210b79(0x40c)]);var _0xcf419d=Object[_0x210b79(0x225)],_0x3588db=(_0x8479e0,_0xbc593,_0x55a52f,_0x3a1c20)=>{var _0x5ae5f8=_0x210b79;for(var _0x388e28=_0x3a1c20>0x1?void 0x0:_0x3a1c20?_0xcf419d(_0xbc593,_0x55a52f):_0xbc593,_0x5999ba=_0x8479e0[_0x5ae5f8(0x205)]-0x1,_0x411900;_0x5999ba>=0x0;_0x5999ba--)(_0x411900=_0x8479e0[_0x5999ba])&&(_0x388e28=_0x411900(_0x388e28)||_0x388e28);return _0x388e28;},_0xb5a731=(_0x5bbcdd,_0x4979d0)=>(_0x455505,_0x4c9503)=>_0x4979d0(_0x455505,_0x4c9503,_0x5bbcdd);_0x29391d['CollaborationController']=class extends _0x1553b4['RxDisposable']{constructor(_0x8f4dd0,_0x3b23ab,_0x526421){var _0x213ab7=_0x210b79;super(),_0x3c9fd4(this,_0x213ab7(0x316),new Map()),_0x3c9fd4(this,_0x213ab7(0x271),new _0x430a82[(_0x213ab7(0x3cb))]()),_0x3c9fd4(this,_0x213ab7(0x2ef),this['_entityInit$'][_0x213ab7(0x380)]()),(this[_0x213ab7(0x3c4)]=_0x8f4dd0,this[_0x213ab7(0x4fc)]=_0x3b23ab,this['_univerInstanceService']=_0x526421,this[_0x213ab7(0x1c7)]());}[_0x210b79(0x522)](){var _0x5b3b57=_0x210b79;super[_0x5b3b57(0x522)](),this[_0x5b3b57(0x316)][_0x5b3b57(0x320)](_0x498dc2=>_0x498dc2[_0x5b3b57(0x522)]()),this[_0x5b3b57(0x316)][_0x5b3b57(0x496)]();}[_0x210b79(0x325)](_0x3097a9){var _0x463f22=_0x210b79,_0x3e799b;return(_0x3e799b=this[_0x463f22(0x316)][_0x463f22(0x295)](_0x3097a9))!=null?_0x3e799b:null;}[_0x210b79(0x20e)](_0x126af1){var _0x5bbcbb=_0x210b79;const _0x3f3bc1=this[_0x5bbcbb(0x325)](_0x126af1);return _0x3f3bc1?_0x430a82['of'](_0x3f3bc1):this[_0x5bbcbb(0x271)]['pipe'](_0x40cff2[_0x5bbcbb(0x4d8)](_0x2ad3dd=>_0x2ad3dd['unitID']===_0x126af1));}[_0x210b79(0x4ec)](_0xb7105e){var _0x363972=_0x210b79;return _0x430a82[_0x363972(0x463)](this[_0x363972(0x20e)](_0xb7105e)['pipe'](_0x40cff2[_0x363972(0x1e9)](()=>{})));}[_0x210b79(0x1c7)](){var _0x2f64a3=_0x210b79;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1553b4['UniverInstanceType'][_0x2f64a3(0x407)])[_0x2f64a3(0x1dc)](_0x430a82['takeUntil'](this[_0x2f64a3(0x4c9)]),_0x40cff2[_0x2f64a3(0x2b9)](0x10))[_0x2f64a3(0x35a)](async _0x5f46b8=>{var _0x235dee=_0x2f64a3;const _0x39947f=_0x5f46b8[_0x235dee(0x415)](),_0x145392=await this['_startCollaboration'](_0x39947f,_0x4c7778[_0x235dee(0x407)]);this[_0x235dee(0x316)][_0x235dee(0x4e1)](_0x39947f,_0x145392);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1553b4[_0x2f64a3(0x24c)][_0x2f64a3(0x200)])['pipe'](_0x430a82['takeUntil'](this[_0x2f64a3(0x4c9)]),_0x40cff2['delay'](0x10))[_0x2f64a3(0x1dc)](_0x40cff2[_0x2f64a3(0x4d8)](_0x261c63=>!_0x261c63[_0x2f64a3(0x415)]()[_0x2f64a3(0x37a)]('__')))['subscribe'](async _0x4560b5=>{var _0x2ba016=_0x2f64a3;const _0x9991ae=_0x4560b5[_0x2ba016(0x415)](),_0x4f2238=await this['_startCollaboration'](_0x9991ae,_0x4c7778[_0x2ba016(0x200)]);this[_0x2ba016(0x316)][_0x2ba016(0x4e1)](_0x9991ae,_0x4f2238);}),_0x430a82['merge'](this['_univerInstanceService'][_0x2f64a3(0x3fa)](_0x1553b4[_0x2f64a3(0x24c)][_0x2f64a3(0x407)]),this[_0x2f64a3(0x268)][_0x2f64a3(0x3fa)](_0x1553b4[_0x2f64a3(0x24c)][_0x2f64a3(0x200)]))[_0x2f64a3(0x1dc)](_0x430a82[_0x2f64a3(0x31b)](this[_0x2f64a3(0x4c9)]))[_0x2f64a3(0x35a)](_0xf5eb3b=>{var _0x408823=_0x2f64a3;const _0x5c1611=_0xf5eb3b[_0x408823(0x415)](),_0x51ee17=this[_0x408823(0x316)][_0x408823(0x295)](_0x5c1611);_0x51ee17&&(_0x51ee17['dispose'](),this[_0x408823(0x316)][_0x408823(0x40e)](_0x5c1611));});}async[_0x210b79(0x376)](_0xbaac52,_0x315f8b){var _0x262612=_0x210b79;const _0x6e7776=await this[_0x262612(0x4fc)]['requireSession'](_0xbaac52),_0x6cc25=this[_0x262612(0x3c4)][_0x262612(0x317)](this[_0x262612(0x33f)](_0x315f8b),_0xbaac52,_0x315f8b,_0x6e7776);return await _0x6cc25[_0x262612(0x226)](),this[_0x262612(0x271)]['next'](_0x6cc25),_0x6cc25;}['_getCtorByUniverType'](_0xbf6aa9){var _0x12f82f=_0x210b79;switch(_0xbf6aa9){case _0x4c7778[_0x12f82f(0x200)]:return _0x29391d[_0x12f82f(0x309)];case _0x4c7778[_0x12f82f(0x407)]:return _0x29391d[_0x12f82f(0x40c)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0xbf6aa9);}}},_0x29391d[_0x210b79(0x33d)]=_0x3588db([_0xb5a731(0x0,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4[_0x210b79(0x284)])),_0xb5a731(0x1,_0x1553b4[_0x210b79(0x2aa)](_0x29391d['CollaborationSessionService'])),_0xb5a731(0x2,_0x1553b4[_0x210b79(0x26c)])],_0x29391d['CollaborationController']);var _0x59df9f=Object[_0x210b79(0x225)],_0x30bddd=(_0x3dad1a,_0x180c31,_0x461a98,_0x45493d)=>{for(var _0x223ad1=_0x45493d>0x1?void 0x0:_0x45493d?_0x59df9f(_0x180c31,_0x461a98):_0x180c31,_0x43be59=_0x3dad1a['length']-0x1,_0x332b9a;_0x43be59>=0x0;_0x43be59--)(_0x332b9a=_0x3dad1a[_0x43be59])&&(_0x223ad1=_0x332b9a(_0x223ad1)||_0x223ad1);return _0x223ad1;},_0x38de81=(_0x15fba2,_0x46637d)=>(_0x20abea,_0x5e4b97)=>_0x46637d(_0x20abea,_0x5e4b97,_0x15fba2);const _0x13373e=_0x210b79(0x1d5),_0x2998de=_0x210b79(0x338);let _0x296907=class extends _0x1553b4[_0x210b79(0x451)]{constructor(_0x4367f9,_0x3f74c1){var _0x4cb6b1=_0x210b79;super(),this[_0x4cb6b1(0x268)]=_0x4367f9,this[_0x4cb6b1(0x439)]=_0x3f74c1,this['_init']();}[_0x210b79(0x1c7)](){var _0x488b23=_0x210b79;this[_0x488b23(0x204)](this['_univerInstanceService'][_0x488b23(0x21c)][_0x488b23(0x35a)](()=>{var _0x1b13de=_0x488b23,_0x5e3558;const _0x55ba6d=this['_univerInstanceService'][_0x1b13de(0x22e)]();let _0x1c9df9=(_0x5e3558=this[_0x1b13de(0x439)][_0x1b13de(0x372)](_0x13373e))!=null?_0x5e3558:_0x2998de;_0x55ba6d instanceof _0x1553b4['Workbook']&&(_0x1c9df9=_0x55ba6d[_0x1b13de(0x49f)]),document[_0x1b13de(0x229)]=_0x1c9df9;}));}};_0x296907=_0x30bddd([_0x38de81(0x0,_0x1553b4[_0x210b79(0x26c)]),_0x38de81(0x1,_0x1553b4['IConfigService'])],_0x296907);var _0x5e4ac4=Object['getOwnPropertyDescriptor'],_0x517196=(_0x3bf1ab,_0x4af6e7,_0x580784,_0x1b67fd)=>{var _0x4288da=_0x210b79;for(var _0x547871=_0x1b67fd>0x1?void 0x0:_0x1b67fd?_0x5e4ac4(_0x4af6e7,_0x580784):_0x4af6e7,_0x3860a1=_0x3bf1ab[_0x4288da(0x205)]-0x1,_0x300dc8;_0x3860a1>=0x0;_0x3860a1--)(_0x300dc8=_0x3bf1ab[_0x3860a1])&&(_0x547871=_0x300dc8(_0x547871)||_0x547871);return _0x547871;},_0x19e5c6=(_0x2b7e6f,_0x5c4522)=>(_0x32ac14,_0x23523c)=>_0x5c4522(_0x32ac14,_0x23523c,_0x2b7e6f);let _0xe801e2=class{constructor(_0xb7185d,_0x2fa7c1,_0x511a15){var _0x5a09af=_0x210b79;this[_0x5a09af(0x439)]=_0xb7185d,this[_0x5a09af(0x45f)]=_0x2fa7c1,this[_0x5a09af(0x1c4)]=_0x511a15,this['init']();}[_0x210b79(0x226)](){var _0x1944a0=_0x210b79;this[_0x1944a0(0x45f)][_0x1944a0(0x3e0)]({'priority':0x1,'interceptor':(_0x5d1eb9,_0x14fd89)=>_0x14fd89(_0x5d1eb9)['pipe'](_0x430a82['concatMap'](async _0x1cf115=>{var _0x572085=_0x1944a0;const _0x1abf2f=_0x1cf115;if(_0x1abf2f[_0x572085(0x3aa)]===0x191){if(typeof window>'u')throw new Error(_0x572085(0x364));if(window[_0x572085(0x251)](this['localeService']['t'](_0x572085(0x1d7)))){const _0x2404f3=window[_0x572085(0x4eb)](window['location'][_0x572085(0x1ce)]);window['location'][_0x572085(0x1ce)]=this['_getLoginPath']()+_0x572085(0x3d8)+_0x2404f3;}}return _0x1abf2f;}))});}[_0x210b79(0x326)](){var _0x89e4dd=_0x210b79,_0x47d38e,_0x74ab62;const _0x33cc08=this[_0x89e4dd(0x439)][_0x89e4dd(0x372)](_0x34ffb2),_0x1e042d=this[_0x89e4dd(0x439)]['getConfig'](_0x3d6319);return(_0x74ab62=(_0x47d38e=_0x1e042d==null?void 0x0:_0x1e042d[_0x89e4dd(0x3f3)])!=null?_0x47d38e:_0x33cc08)!=null?_0x74ab62:_0x261f35;}};_0xe801e2=_0x517196([_0x19e5c6(0x0,_0x1553b4[_0x210b79(0x1f5)]),_0x19e5c6(0x1,_0x1553b4[_0x210b79(0x2aa)](_0x552ab4[_0x210b79(0x24b)])),_0x19e5c6(0x2,_0x1553b4['Inject'](_0x1553b4[_0x210b79(0x450)]))],_0xe801e2);var _0x7601ba=Object[_0x210b79(0x225)],_0x4b7716=(_0x53d1eb,_0x30e062,_0x4ad47a,_0x2f5147)=>{var _0x2caa73=_0x210b79;for(var _0x38b453=_0x2f5147>0x1?void 0x0:_0x2f5147?_0x7601ba(_0x30e062,_0x4ad47a):_0x30e062,_0x358eac=_0x53d1eb[_0x2caa73(0x205)]-0x1,_0x298bb3;_0x358eac>=0x0;_0x358eac--)(_0x298bb3=_0x53d1eb[_0x358eac])&&(_0x38b453=_0x298bb3(_0x38b453)||_0x38b453);return _0x38b453;},_0x190494=(_0x3a666b,_0x5f38a0)=>(_0x8510e0,_0x540b52)=>_0x5f38a0(_0x8510e0,_0x540b52,_0x3a666b);const _0x577cc9=_0x210b79(0x2f6),_0x5121b0=_0x210b79(0x2b8);_0x29391d[_0x210b79(0x382)]=class extends _0x1553b4[_0x210b79(0x451)]{constructor(_0x187ad4,_0x44f47e){var _0x2c7306=_0x210b79;super(),this[_0x2c7306(0x4fb)]=_0x187ad4,this[_0x2c7306(0x439)]=_0x44f47e,this[_0x2c7306(0x4bf)]();}['_initMergeInterceptor'](){var _0x18a87f=_0x210b79;const _0x2e3c87=this;this[_0x18a87f(0x204)](this['_HTTPService'][_0x18a87f(0x3e0)]({'priority':0x3e7,'interceptor':_0x552ab4['MergeInterceptorFactory']({'isMatch'(_0x886042){var _0x116b84=_0x18a87f,_0x1ff0d1;if(_0x886042[_0x116b84(0x4f1)]===_0x116b84(0x3c3)&&((_0x1ff0d1=_0x886042[_0x116b84(0x4cf)])!=null&&_0x1ff0d1[_0x116b84(0x311)])){const {objectID:_0x32d008,objectType:_0x1675da}=_0x886042[_0x116b84(0x4cf)][_0x116b84(0x311)]||{};if(!_0x32d008||_0x1675da===void 0x0)return!0x1;const _0x16f807=_0x2e3c87['_getAPIPrefixPath']()+'/'+_0x1675da+_0x116b84(0x530)+_0x32d008+_0x116b84(0x44a);if(_0x886042['url']===_0x16f807)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x39f1d2){var _0x36c6f4;return(_0x36c6f4=_0x39f1d2['requestParams'])==null?void 0x0:_0x36c6f4['body'];},'mergeParamsToRequest'(_0x5b400f,_0xa958bc){var _0x16d1d5=_0x18a87f;const _0x427c92=_0x2e3c87[_0x16d1d5(0x2fd)]()+'/-/object/-/batch_allowed',_0x3bbc1c=_0x5b400f[_0x16d1d5(0x1f8)]((_0x317f59,_0x5c6564)=>{var _0x4b604b=_0x16d1d5;const {unitID:_0x13d25e,objectID:_0x3fb774,objectType:_0x2a2ae8,actions:_0x1b6b20}=_0x5c6564;return _0x317f59[_0x13d25e]||(_0x317f59[_0x13d25e]={}),_0x317f59[_0x13d25e][_0x3fb774]||(_0x317f59[_0x13d25e][_0x3fb774]={'objectID':_0x3fb774,'objectType':_0x2a2ae8,'actions':[]}),_0x317f59[_0x13d25e][_0x3fb774]['actions'][_0x4b604b(0x3b0)](..._0x1b6b20),_0x317f59;},{}),_0x1ea244=[];for(const _0x3cd196 in _0x3bbc1c)for(const _0x310a88 in _0x3bbc1c[_0x3cd196]){const {actions:_0x505cc6,objectType:_0x52c2b3}=_0x3bbc1c[_0x3cd196][_0x310a88],_0x2a5f09=[...new Set(_0x505cc6)];_0x1ea244['push']({'unitID':_0x3cd196,'objectID':_0x310a88,'objectType':_0x52c2b3,'actions':_0x2a5f09});}return new _0x552ab4['HTTPRequest']('POST',_0x427c92,{'headers':_0xa958bc[_0x16d1d5(0x3c2)],'withCredentials':_0xa958bc[_0x16d1d5(0x43d)],'responseType':_0xa958bc['responseType'],'body':{'requests':_0x1ea244}});}},{'distributeResult'(_0x57ade2,_0x34ae91){var _0x5ec6a0=_0x18a87f;const {objectActions:_0x558c24}=_0x57ade2;return _0x34ae91[_0x5ec6a0(0x1e9)](_0x588019=>{var _0x52264d=_0x5ec6a0;const {unitID:_0x324605,objectID:_0x47c48a,actions:_0x394df9}=_0x588019,_0x52dab9=_0x558c24[_0x52264d(0x526)](_0x3e75bd=>_0x3e75bd[_0x52264d(0x4df)]===_0x324605&&_0x3e75bd['objectID']===_0x47c48a),_0x561477=_0x394df9[_0x52264d(0x1e9)](_0x212b26=>_0x52dab9==null?void 0x0:_0x52dab9[_0x52264d(0x4f9)][_0x52264d(0x526)](_0x2261b0=>_0x2261b0['action']===_0x212b26))[_0x52264d(0x4d8)](_0xfa5210=>!!_0xfa5210);return{'config':_0x588019,'result':{'actions':_0x561477,'error':_0x57ade2[_0x52264d(0x432)]}};});}})}));}['_getAPIPrefixPath'](){var _0x2d1b76=_0x210b79,_0x4984fe,_0x2208a6;const _0x2aaab7=this[_0x2d1b76(0x439)][_0x2d1b76(0x372)](_0x577cc9),_0x23c412=this[_0x2d1b76(0x439)]['getConfig'](_0x3d6319);return(_0x2208a6=(_0x4984fe=_0x23c412==null?void 0x0:_0x23c412[_0x2d1b76(0x1d8)])!=null?_0x4984fe:_0x2aaab7)!=null?_0x2208a6:_0x5121b0;}async[_0x210b79(0x303)](_0x1e6ff3){var _0x1ae15c=_0x210b79;const _0x32f70a=this[_0x1ae15c(0x2fd)]()+'/'+_0x1e6ff3[_0x1ae15c(0x243)]+_0x1ae15c(0x2ec);return(await this['_HTTPService'][_0x1ae15c(0x385)](_0x32f70a,{'body':_0x1e6ff3}))[_0x1ae15c(0x311)][_0x1ae15c(0x3dd)]||'';}async[_0x210b79(0x2f0)](_0x5649d3){var _0x27e715=_0x210b79;const _0x25f46a=this[_0x27e715(0x2fd)]()+'/-/object/list';return(await this[_0x27e715(0x4fb)]['post'](_0x25f46a,{'body':_0x5649d3}))[_0x27e715(0x311)][_0x27e715(0x49c)];}async['update'](_0x151142){var _0x2fbedf=_0x210b79,_0x415990,_0x1971a7;const _0x67b54d=this[_0x2fbedf(0x2fd)]()+'/'+_0x151142[_0x2fbedf(0x243)]+_0x2fbedf(0x530)+_0x151142[_0x2fbedf(0x3dd)],_0x44e09b=await this[_0x2fbedf(0x4fb)][_0x2fbedf(0x517)](_0x67b54d,{'body':_0x151142});if(((_0x1971a7=(_0x415990=_0x44e09b==null?void 0x0:_0x44e09b[_0x2fbedf(0x311)])==null?void 0x0:_0x415990[_0x2fbedf(0x432)])==null?void 0x0:_0x1971a7[_0x2fbedf(0x50d)])!==0x1)throw new Error(_0x2fbedf(0x3d1));}async[_0x210b79(0x2bc)](_0x3aa4d5){var _0x26ded6=_0x210b79;const _0x229678=this[_0x26ded6(0x2fd)]()+'/'+_0x3aa4d5[_0x26ded6(0x243)]+'/object/'+_0x3aa4d5[_0x26ded6(0x3dd)]+'/allowed';return(await this[_0x26ded6(0x4fb)][_0x26ded6(0x385)](_0x229678,{'body':_0x3aa4d5}))[_0x26ded6(0x311)]['actions'];}async[_0x210b79(0x4de)](_0x4e9e90){var _0xb165f5=_0x210b79;const _0x5f22bd=this[_0xb165f5(0x2fd)]()+_0xb165f5(0x50f);return(await this['_HTTPService'][_0xb165f5(0x385)](_0x5f22bd,{'body':{'requests':_0x4e9e90}}))[_0xb165f5(0x311)]['objectActions'];}async['listRoles'](_0x3883c1){var _0x46e1d1=_0x210b79;const _0x2bd914=this[_0x46e1d1(0x2fd)]()+'/'+_0x3883c1[_0x46e1d1(0x243)]+_0x46e1d1(0x314),_0x2ca92c=await this[_0x46e1d1(0x4fb)][_0x46e1d1(0x385)](_0x2bd914,{'body':_0x3883c1});return{'roles':_0x2ca92c[_0x46e1d1(0x311)][_0x46e1d1(0x490)],'actions':_0x2ca92c[_0x46e1d1(0x311)]['actions']};}async[_0x210b79(0x466)](_0x575402){var _0x17260e=_0x210b79;const _0x2f905c=this[_0x17260e(0x2fd)]()+_0x17260e(0x431);await this[_0x17260e(0x4fb)][_0x17260e(0x40e)](_0x2f905c,{'params':{'collaboratorID':_0x575402[_0x17260e(0x2e9)],'objectID':_0x575402[_0x17260e(0x3dd)],'unitID':_0x575402[_0x17260e(0x4df)]}});}async[_0x210b79(0x395)](_0xc50b73){var _0xded886=_0x210b79;const _0xd8e4f2=this[_0xded886(0x2fd)]()+_0xded886(0x431);await this[_0xded886(0x4fb)]['patch'](_0xd8e4f2,{'body':_0xc50b73});}async[_0x210b79(0x4aa)](_0x54bd9f){var _0x26a82d=_0x210b79;const _0x70172a=this['_getAPIPrefixPath']()+_0x26a82d(0x431);await this[_0x26a82d(0x4fb)]['post'](_0x70172a,{'body':_0x54bd9f});}async['listCollaborators'](_0x8a3002){var _0x13e8f2=_0x210b79;const _0x3347f7=this[_0x13e8f2(0x2fd)]()+_0x13e8f2(0x431);return(await this[_0x13e8f2(0x4fb)][_0x13e8f2(0x295)](_0x3347f7,{'params':{'objectID':_0x8a3002['objectID'],'unitID':_0x8a3002[_0x13e8f2(0x4df)]}}))[_0x13e8f2(0x311)][_0x13e8f2(0x3e1)];}async[_0x210b79(0x27f)](_0x39fc51){var _0x35d46e=_0x210b79;const _0xe71d36=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x35d46e(0x4fb)][_0x35d46e(0x517)](_0xe71d36,{'body':_0x39fc51});}},_0x29391d[_0x210b79(0x382)]=_0x4b7716([_0x190494(0x0,_0x1553b4['Inject'](_0x552ab4[_0x210b79(0x24b)])),_0x190494(0x1,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4['IConfigService']))],_0x29391d['AuthzIoHttpService']);var _0x4ee6be=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x2d1819(_0x318fea){var _0x47f274=_0x210b79;return _0x318fea&&_0x318fea[_0x47f274(0x386)]&&Object[_0x47f274(0x223)]['hasOwnProperty']['call'](_0x318fea,'default')?_0x318fea[_0x47f274(0x1fe)]:_0x318fea;}var _0x4f4949={'exports':{}};function _0x137b5d(_0x5c5d51){var _0x21d143=_0x210b79;throw new Error(_0x21d143(0x1f4)+_0x5c5d51+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x4c1dab={'exports':{}},_0x7b68e7=_0x4c1dab['exports'],_0x227880;function _0x1d78bf(){return _0x227880||(_0x227880=0x1,function(_0x4454f2,_0x42e05c){(function(_0x37ad4e,_0x347384){var _0x3a94fe=_0x5719;_0x4454f2[_0x3a94fe(0x402)]=_0x347384();}(_0x7b68e7,function(){var _0x5f56aa=_0x5f56aa||function(_0x316d54,_0x326388){var _0x424d42=_0x5719,_0x2b6232;if(typeof window<'u'&&window['crypto']&&(_0x2b6232=window[_0x424d42(0x4d0)]),typeof self<'u'&&self[_0x424d42(0x4d0)]&&(_0x2b6232=self[_0x424d42(0x4d0)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2b6232=globalThis[_0x424d42(0x4d0)]),!_0x2b6232&&typeof window<'u'&&window[_0x424d42(0x41c)]&&(_0x2b6232=window[_0x424d42(0x41c)]),!_0x2b6232&&typeof _0x4ee6be<'u'&&_0x4ee6be['crypto']&&(_0x2b6232=_0x4ee6be['crypto']),!_0x2b6232&&typeof _0x137b5d==_0x424d42(0x365))try{_0x2b6232=require(_0x424d42(0x4d0));}catch{}var _0x1d88dc=function(){var _0x59e07d=_0x424d42;if(_0x2b6232){if(typeof _0x2b6232['getRandomValues']=='function')try{return _0x2b6232[_0x59e07d(0x202)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b6232[_0x59e07d(0x3f2)]=='function')try{return _0x2b6232[_0x59e07d(0x3f2)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x59e07d(0x4ae));},_0x4a7256=Object[_0x424d42(0x303)]||(function(){function _0x3d914f(){}return function(_0x123d84){var _0x1dd952;return _0x3d914f['prototype']=_0x123d84,_0x1dd952=new _0x3d914f(),_0x3d914f['prototype']=null,_0x1dd952;};}()),_0x44f808={},_0x18ed88=_0x44f808['lib']={},_0x2dfcab=_0x18ed88[_0x424d42(0x4d1)]=(function(){return{'extend':function(_0x5ddeb5){var _0x114307=_0x5719,_0x5d705a=_0x4a7256(this);return _0x5ddeb5&&_0x5d705a[_0x114307(0x48a)](_0x5ddeb5),(!_0x5d705a['hasOwnProperty']('init')||this['init']===_0x5d705a[_0x114307(0x226)])&&(_0x5d705a[_0x114307(0x226)]=function(){var _0x5d2c70=_0x114307;_0x5d705a['$super'][_0x5d2c70(0x226)][_0x5d2c70(0x1fb)](this,arguments);}),_0x5d705a['init']['prototype']=_0x5d705a,_0x5d705a['$super']=this,_0x5d705a;},'create':function(){var _0x230346=this['extend']();return _0x230346['init']['apply'](_0x230346,arguments),_0x230346;},'init':function(){},'mixIn':function(_0x242908){var _0x1e1be3=_0x5719;for(var _0x4a1037 in _0x242908)_0x242908[_0x1e1be3(0x3b4)](_0x4a1037)&&(this[_0x4a1037]=_0x242908[_0x4a1037]);_0x242908[_0x1e1be3(0x3b4)]('toString')&&(this[_0x1e1be3(0x1f2)]=_0x242908[_0x1e1be3(0x1f2)]);},'clone':function(){var _0x2c6de8=_0x5719;return this[_0x2c6de8(0x226)][_0x2c6de8(0x223)][_0x2c6de8(0x3b5)](this);}};}()),_0x40fad1=_0x18ed88[_0x424d42(0x289)]=_0x2dfcab['extend']({'init':function(_0x1ffb62,_0x2c4da3){var _0x1f9dee=_0x424d42;_0x1ffb62=this[_0x1f9dee(0x335)]=_0x1ffb62||[],_0x2c4da3!=_0x326388?this[_0x1f9dee(0x4e7)]=_0x2c4da3:this[_0x1f9dee(0x4e7)]=_0x1ffb62[_0x1f9dee(0x205)]*0x4;},'toString':function(_0x56e6ae){return(_0x56e6ae||_0x502dc5)['stringify'](this);},'concat':function(_0xb8d4){var _0x55a71a=_0x424d42,_0x6852ff=this['words'],_0x48c8da=_0xb8d4[_0x55a71a(0x335)],_0x3ee8ee=this['sigBytes'],_0x3d467c=_0xb8d4[_0x55a71a(0x4e7)];if(this[_0x55a71a(0x21e)](),_0x3ee8ee%0x4)for(var _0x56a8ac=0x0;_0x56a8ac<_0x3d467c;_0x56a8ac++){var _0x4cfa1d=_0x48c8da[_0x56a8ac>>>0x2]>>>0x18-_0x56a8ac%0x4*0x8&0xff;_0x6852ff[_0x3ee8ee+_0x56a8ac>>>0x2]|=_0x4cfa1d<<0x18-(_0x3ee8ee+_0x56a8ac)%0x4*0x8;}else{for(var _0x5519a7=0x0;_0x5519a7<_0x3d467c;_0x5519a7+=0x4)_0x6852ff[_0x3ee8ee+_0x5519a7>>>0x2]=_0x48c8da[_0x5519a7>>>0x2];}return this[_0x55a71a(0x4e7)]+=_0x3d467c,this;},'clamp':function(){var _0x42211e=_0x424d42,_0x6d5f51=this[_0x42211e(0x335)],_0x18b99d=this[_0x42211e(0x4e7)];_0x6d5f51[_0x18b99d>>>0x2]&=0xffffffff<<0x20-_0x18b99d%0x4*0x8,_0x6d5f51[_0x42211e(0x205)]=_0x316d54[_0x42211e(0x238)](_0x18b99d/0x4);},'clone':function(){var _0x51302b=_0x424d42,_0x3b6b43=_0x2dfcab[_0x51302b(0x1f6)]['call'](this);return _0x3b6b43[_0x51302b(0x335)]=this['words'][_0x51302b(0x4ca)](0x0),_0x3b6b43;},'random':function(_0x4d70cc){var _0x5c234f=_0x424d42;for(var _0x51d401=[],_0x27fd79=0x0;_0x27fd79<_0x4d70cc;_0x27fd79+=0x4)_0x51d401[_0x5c234f(0x3b0)](_0x1d88dc());return new _0x40fad1[(_0x5c234f(0x226))](_0x51d401,_0x4d70cc);}}),_0x11586b=_0x44f808[_0x424d42(0x4b8)]={},_0x502dc5=_0x11586b['Hex']={'stringify':function(_0x5d2542){var _0x2c3953=_0x424d42;for(var _0x40502b=_0x5d2542[_0x2c3953(0x335)],_0x4a186=_0x5d2542[_0x2c3953(0x4e7)],_0xe0e711=[],_0x29e5e7=0x0;_0x29e5e7<_0x4a186;_0x29e5e7++){var _0x36fe65=_0x40502b[_0x29e5e7>>>0x2]>>>0x18-_0x29e5e7%0x4*0x8&0xff;_0xe0e711[_0x2c3953(0x3b0)]((_0x36fe65>>>0x4)['toString'](0x10)),_0xe0e711['push']((_0x36fe65&0xf)[_0x2c3953(0x1f2)](0x10));}return _0xe0e711[_0x2c3953(0x458)]('');},'parse':function(_0x2b3683){var _0x514e0f=_0x424d42;for(var _0x327f7f=_0x2b3683[_0x514e0f(0x205)],_0x175fca=[],_0x3449c5=0x0;_0x3449c5<_0x327f7f;_0x3449c5+=0x2)_0x175fca[_0x3449c5>>>0x3]|=parseInt(_0x2b3683[_0x514e0f(0x20d)](_0x3449c5,0x2),0x10)<<0x18-_0x3449c5%0x8*0x4;return new _0x40fad1['init'](_0x175fca,_0x327f7f/0x2);}},_0xf7fa46=_0x11586b[_0x424d42(0x4ff)]={'stringify':function(_0x30e1be){var _0x4e2de2=_0x424d42;for(var _0x553f13=_0x30e1be[_0x4e2de2(0x335)],_0x2ff1ba=_0x30e1be[_0x4e2de2(0x4e7)],_0x2ec720=[],_0x8180d2=0x0;_0x8180d2<_0x2ff1ba;_0x8180d2++){var _0x42df58=_0x553f13[_0x8180d2>>>0x2]>>>0x18-_0x8180d2%0x4*0x8&0xff;_0x2ec720[_0x4e2de2(0x3b0)](String[_0x4e2de2(0x1fd)](_0x42df58));}return _0x2ec720[_0x4e2de2(0x458)]('');},'parse':function(_0x5d4ffa){var _0x27528c=_0x424d42;for(var _0x4402fc=_0x5d4ffa[_0x27528c(0x205)],_0x46d2ff=[],_0xe6531f=0x0;_0xe6531f<_0x4402fc;_0xe6531f++)_0x46d2ff[_0xe6531f>>>0x2]|=(_0x5d4ffa[_0x27528c(0x492)](_0xe6531f)&0xff)<<0x18-_0xe6531f%0x4*0x8;return new _0x40fad1['init'](_0x46d2ff,_0x4402fc);}},_0x1c9bdf=_0x11586b[_0x424d42(0x310)]={'stringify':function(_0x5cd512){var _0xc8c1cb=_0x424d42;try{return decodeURIComponent(escape(_0xf7fa46[_0xc8c1cb(0x448)](_0x5cd512)));}catch{throw new Error(_0xc8c1cb(0x345));}},'parse':function(_0x201c92){return _0xf7fa46['parse'](unescape(encodeURIComponent(_0x201c92)));}},_0x5aaa4f=_0x18ed88[_0x424d42(0x521)]=_0x2dfcab[_0x424d42(0x3b5)]({'reset':function(){var _0x188289=_0x424d42;this[_0x188289(0x434)]=new _0x40fad1[(_0x188289(0x226))](),this[_0x188289(0x266)]=0x0;},'_append':function(_0x590ac3){var _0xf4c665=_0x424d42;typeof _0x590ac3=='string'&&(_0x590ac3=_0x1c9bdf[_0xf4c665(0x51a)](_0x590ac3)),this[_0xf4c665(0x434)][_0xf4c665(0x48e)](_0x590ac3),this[_0xf4c665(0x266)]+=_0x590ac3[_0xf4c665(0x4e7)];},'_process':function(_0x4ecd72){var _0x221fd0=_0x424d42,_0x5f2217,_0x3628c8=this[_0x221fd0(0x434)],_0x3a10b5=_0x3628c8['words'],_0x2ab0e5=_0x3628c8[_0x221fd0(0x4e7)],_0x299e72=this[_0x221fd0(0x3e5)],_0x1fb2ff=_0x299e72*0x4,_0xede676=_0x2ab0e5/_0x1fb2ff;_0x4ecd72?_0xede676=_0x316d54[_0x221fd0(0x238)](_0xede676):_0xede676=_0x316d54[_0x221fd0(0x230)]((_0xede676|0x0)-this[_0x221fd0(0x4af)],0x0);var _0x2934fc=_0xede676*_0x299e72,_0x5957ae=_0x316d54['min'](_0x2934fc*0x4,_0x2ab0e5);if(_0x2934fc){for(var _0x1c66c3=0x0;_0x1c66c3<_0x2934fc;_0x1c66c3+=_0x299e72)this['_doProcessBlock'](_0x3a10b5,_0x1c66c3);_0x5f2217=_0x3a10b5[_0x221fd0(0x323)](0x0,_0x2934fc),_0x3628c8[_0x221fd0(0x4e7)]-=_0x5957ae;}return new _0x40fad1['init'](_0x5f2217,_0x5957ae);},'clone':function(){var _0x525d81=_0x424d42,_0x4de8e8=_0x2dfcab[_0x525d81(0x1f6)][_0x525d81(0x50a)](this);return _0x4de8e8[_0x525d81(0x434)]=this[_0x525d81(0x434)][_0x525d81(0x1f6)](),_0x4de8e8;},'_minBufferSize':0x0});_0x18ed88[_0x424d42(0x3df)]=_0x5aaa4f[_0x424d42(0x3b5)]({'cfg':_0x2dfcab[_0x424d42(0x3b5)](),'init':function(_0x2bb168){var _0x26f4cb=_0x424d42;this['cfg']=this['cfg'][_0x26f4cb(0x3b5)](_0x2bb168),this['reset']();},'reset':function(){var _0x1e428b=_0x424d42;_0x5aaa4f[_0x1e428b(0x1fc)]['call'](this),this[_0x1e428b(0x3f0)]();},'update':function(_0x106f0f){var _0x4b4877=_0x424d42;return this[_0x4b4877(0x39d)](_0x106f0f),this['_process'](),this;},'finalize':function(_0x4b7737){var _0x1f675c=_0x424d42;_0x4b7737&&this[_0x1f675c(0x39d)](_0x4b7737);var _0x423ae9=this['_doFinalize']();return _0x423ae9;},'blockSize':0x10,'_createHelper':function(_0x362559){return function(_0xdc4331,_0x398ca9){var _0x1c1904=_0x5719;return new _0x362559[(_0x1c1904(0x226))](_0x398ca9)[_0x1c1904(0x2eb)](_0xdc4331);};},'_createHmacHelper':function(_0x436b1d){return function(_0x834834,_0xffdf52){var _0x1b3f3e=_0x5719;return new _0x3d94cb[(_0x1b3f3e(0x242))][(_0x1b3f3e(0x226))](_0x436b1d,_0xffdf52)[_0x1b3f3e(0x2eb)](_0x834834);};}});var _0x3d94cb=_0x44f808[_0x424d42(0x24e)]={};return _0x44f808;}(Math);return _0x5f56aa;}));}(_0x4c1dab)),_0x4c1dab['exports'];}var _0x8be58d={'exports':{}},_0x2308db=_0x8be58d[_0x210b79(0x402)],_0x3d62a0;function _0x2242f5(){var _0xd56704=_0x210b79;return _0x3d62a0||(_0x3d62a0=0x1,function(_0x5a4314,_0x28313d){(function(_0x49743e,_0x286f79){var _0xdfa4b0=_0x5719;_0x5a4314[_0xdfa4b0(0x402)]=_0x286f79(_0x1d78bf());}(_0x2308db,function(_0xb0ef0d){var _0x38b562=_0x5719;return(function(){var _0x7ab67f=_0x5719,_0x208ff0=_0xb0ef0d,_0x5b86b6=_0x208ff0['lib'],_0x301b07=_0x5b86b6['WordArray'],_0x2ca6d7=_0x208ff0['enc'];_0x2ca6d7[_0x7ab67f(0x425)]={'stringify':function(_0x46000d){var _0x58700d=_0x7ab67f,_0x5bf721=_0x46000d['words'],_0x2b6e37=_0x46000d['sigBytes'],_0x4fdf28=this['_map'];_0x46000d[_0x58700d(0x21e)]();for(var _0x2b9dc7=[],_0x38c50c=0x0;_0x38c50c<_0x2b6e37;_0x38c50c+=0x3)for(var _0x24d921=_0x5bf721[_0x38c50c>>>0x2]>>>0x18-_0x38c50c%0x4*0x8&0xff,_0x5471ae=_0x5bf721[_0x38c50c+0x1>>>0x2]>>>0x18-(_0x38c50c+0x1)%0x4*0x8&0xff,_0x4a3a27=_0x5bf721[_0x38c50c+0x2>>>0x2]>>>0x18-(_0x38c50c+0x2)%0x4*0x8&0xff,_0x2e4f91=_0x24d921<<0x10|_0x5471ae<<0x8|_0x4a3a27,_0x7ca605=0x0;_0x7ca605<0x4&&_0x38c50c+_0x7ca605*0.75<_0x2b6e37;_0x7ca605++)_0x2b9dc7['push'](_0x4fdf28[_0x58700d(0x430)](_0x2e4f91>>>0x6*(0x3-_0x7ca605)&0x3f));var _0x473792=_0x4fdf28['charAt'](0x40);if(_0x473792){for(;_0x2b9dc7[_0x58700d(0x205)]%0x4;)_0x2b9dc7[_0x58700d(0x3b0)](_0x473792);}return _0x2b9dc7[_0x58700d(0x458)]('');},'parse':function(_0xbd347c){var _0x67331d=_0x7ab67f,_0x28b752=_0xbd347c[_0x67331d(0x205)],_0x2748f9=this[_0x67331d(0x352)],_0x38d2ec=this[_0x67331d(0x503)];if(!_0x38d2ec){_0x38d2ec=this[_0x67331d(0x503)]=[];for(var _0x573efe=0x0;_0x573efe<_0x2748f9['length'];_0x573efe++)_0x38d2ec[_0x2748f9[_0x67331d(0x492)](_0x573efe)]=_0x573efe;}var _0x3ffcae=_0x2748f9[_0x67331d(0x430)](0x40);if(_0x3ffcae){var _0x28622f=_0xbd347c['indexOf'](_0x3ffcae);_0x28622f!==-0x1&&(_0x28b752=_0x28622f);}return _0x3942bd(_0xbd347c,_0x28b752,_0x38d2ec);},'_map':_0x7ab67f(0x45e)};function _0x3942bd(_0x481277,_0x10476b,_0x2858bb){var _0xfb056d=_0x7ab67f;for(var _0x11e3fa=[],_0xda2216=0x0,_0x45b872=0x0;_0x45b872<_0x10476b;_0x45b872++)if(_0x45b872%0x4){var _0xb9fbc9=_0x2858bb[_0x481277[_0xfb056d(0x492)](_0x45b872-0x1)]<<_0x45b872%0x4*0x2,_0x1f3e1e=_0x2858bb[_0x481277[_0xfb056d(0x492)](_0x45b872)]>>>0x6-_0x45b872%0x4*0x2,_0x319219=_0xb9fbc9|_0x1f3e1e;_0x11e3fa[_0xda2216>>>0x2]|=_0x319219<<0x18-_0xda2216%0x4*0x8,_0xda2216++;}return _0x301b07[_0xfb056d(0x303)](_0x11e3fa,_0xda2216);}}()),_0xb0ef0d[_0x38b562(0x4b8)][_0x38b562(0x425)];}));}(_0x8be58d)),_0x8be58d[_0xd56704(0x402)];}var _0xec993f={'exports':{}},_0x57fcd9=_0xec993f[_0x210b79(0x402)],_0x219897;function _0x190255(){var _0x2c0667=_0x210b79;return _0x219897||(_0x219897=0x1,function(_0x3ee1e6,_0x11afda){(function(_0x1d4411,_0x2b6de0){var _0x2c8996=_0x5719;_0x3ee1e6[_0x2c8996(0x402)]=_0x2b6de0(_0x1d78bf());}(_0x57fcd9,function(_0x594917){return function(_0x10b63c){var _0x3be124=_0x5719,_0x195d78=_0x594917,_0x1167df=_0x195d78[_0x3be124(0x40a)],_0x423354=_0x1167df[_0x3be124(0x289)],_0x50706b=_0x1167df[_0x3be124(0x3df)],_0xee9fb=_0x195d78[_0x3be124(0x24e)],_0x37280e=[];(function(){var _0x30c287=_0x3be124;for(var _0x38b1cb=0x0;_0x38b1cb<0x40;_0x38b1cb++)_0x37280e[_0x38b1cb]=_0x10b63c[_0x30c287(0x31f)](_0x10b63c[_0x30c287(0x32f)](_0x38b1cb+0x1))*0x100000000|0x0;}());var _0x46ea88=_0xee9fb[_0x3be124(0x3a9)]=_0x50706b[_0x3be124(0x3b5)]({'_doReset':function(){var _0x56ddcf=_0x3be124;this[_0x56ddcf(0x2d0)]=new _0x423354['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x16ea1e,_0x7ccb88){var _0x39a87d=_0x3be124;for(var _0x44afbf=0x0;_0x44afbf<0x10;_0x44afbf++){var _0x1c66bb=_0x7ccb88+_0x44afbf,_0x25cdf3=_0x16ea1e[_0x1c66bb];_0x16ea1e[_0x1c66bb]=(_0x25cdf3<<0x8|_0x25cdf3>>>0x18)&0xff00ff|(_0x25cdf3<<0x18|_0x25cdf3>>>0x8)&0xff00ff00;}var _0x35f722=this[_0x39a87d(0x2d0)][_0x39a87d(0x335)],_0x1f3ff6=_0x16ea1e[_0x7ccb88+0x0],_0x5db96b=_0x16ea1e[_0x7ccb88+0x1],_0x546876=_0x16ea1e[_0x7ccb88+0x2],_0x482985=_0x16ea1e[_0x7ccb88+0x3],_0x5ae7ea=_0x16ea1e[_0x7ccb88+0x4],_0x579a01=_0x16ea1e[_0x7ccb88+0x5],_0x584823=_0x16ea1e[_0x7ccb88+0x6],_0x333e14=_0x16ea1e[_0x7ccb88+0x7],_0xbd64be=_0x16ea1e[_0x7ccb88+0x8],_0x2656c9=_0x16ea1e[_0x7ccb88+0x9],_0x28a30d=_0x16ea1e[_0x7ccb88+0xa],_0x588655=_0x16ea1e[_0x7ccb88+0xb],_0x52819d=_0x16ea1e[_0x7ccb88+0xc],_0x3a210b=_0x16ea1e[_0x7ccb88+0xd],_0x9470eb=_0x16ea1e[_0x7ccb88+0xe],_0xcc303b=_0x16ea1e[_0x7ccb88+0xf],_0x4137ea=_0x35f722[0x0],_0x594198=_0x35f722[0x1],_0x1324a8=_0x35f722[0x2],_0x4748c6=_0x35f722[0x3];_0x4137ea=_0x44b313(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x1f3ff6,0x7,_0x37280e[0x0]),_0x4748c6=_0x44b313(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x5db96b,0xc,_0x37280e[0x1]),_0x1324a8=_0x44b313(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x546876,0x11,_0x37280e[0x2]),_0x594198=_0x44b313(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x482985,0x16,_0x37280e[0x3]),_0x4137ea=_0x44b313(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x5ae7ea,0x7,_0x37280e[0x4]),_0x4748c6=_0x44b313(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x579a01,0xc,_0x37280e[0x5]),_0x1324a8=_0x44b313(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x584823,0x11,_0x37280e[0x6]),_0x594198=_0x44b313(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x333e14,0x16,_0x37280e[0x7]),_0x4137ea=_0x44b313(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0xbd64be,0x7,_0x37280e[0x8]),_0x4748c6=_0x44b313(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x2656c9,0xc,_0x37280e[0x9]),_0x1324a8=_0x44b313(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x28a30d,0x11,_0x37280e[0xa]),_0x594198=_0x44b313(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x588655,0x16,_0x37280e[0xb]),_0x4137ea=_0x44b313(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x52819d,0x7,_0x37280e[0xc]),_0x4748c6=_0x44b313(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x3a210b,0xc,_0x37280e[0xd]),_0x1324a8=_0x44b313(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x9470eb,0x11,_0x37280e[0xe]),_0x594198=_0x44b313(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0xcc303b,0x16,_0x37280e[0xf]),_0x4137ea=_0x434dff(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x5db96b,0x5,_0x37280e[0x10]),_0x4748c6=_0x434dff(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x584823,0x9,_0x37280e[0x11]),_0x1324a8=_0x434dff(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x588655,0xe,_0x37280e[0x12]),_0x594198=_0x434dff(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x1f3ff6,0x14,_0x37280e[0x13]),_0x4137ea=_0x434dff(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x579a01,0x5,_0x37280e[0x14]),_0x4748c6=_0x434dff(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x28a30d,0x9,_0x37280e[0x15]),_0x1324a8=_0x434dff(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0xcc303b,0xe,_0x37280e[0x16]),_0x594198=_0x434dff(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x5ae7ea,0x14,_0x37280e[0x17]),_0x4137ea=_0x434dff(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x2656c9,0x5,_0x37280e[0x18]),_0x4748c6=_0x434dff(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x9470eb,0x9,_0x37280e[0x19]),_0x1324a8=_0x434dff(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x482985,0xe,_0x37280e[0x1a]),_0x594198=_0x434dff(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0xbd64be,0x14,_0x37280e[0x1b]),_0x4137ea=_0x434dff(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x3a210b,0x5,_0x37280e[0x1c]),_0x4748c6=_0x434dff(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x546876,0x9,_0x37280e[0x1d]),_0x1324a8=_0x434dff(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x333e14,0xe,_0x37280e[0x1e]),_0x594198=_0x434dff(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x52819d,0x14,_0x37280e[0x1f]),_0x4137ea=_0x1a2823(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x579a01,0x4,_0x37280e[0x20]),_0x4748c6=_0x1a2823(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0xbd64be,0xb,_0x37280e[0x21]),_0x1324a8=_0x1a2823(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x588655,0x10,_0x37280e[0x22]),_0x594198=_0x1a2823(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x9470eb,0x17,_0x37280e[0x23]),_0x4137ea=_0x1a2823(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x5db96b,0x4,_0x37280e[0x24]),_0x4748c6=_0x1a2823(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x5ae7ea,0xb,_0x37280e[0x25]),_0x1324a8=_0x1a2823(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x333e14,0x10,_0x37280e[0x26]),_0x594198=_0x1a2823(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x28a30d,0x17,_0x37280e[0x27]),_0x4137ea=_0x1a2823(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x3a210b,0x4,_0x37280e[0x28]),_0x4748c6=_0x1a2823(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x1f3ff6,0xb,_0x37280e[0x29]),_0x1324a8=_0x1a2823(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x482985,0x10,_0x37280e[0x2a]),_0x594198=_0x1a2823(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x584823,0x17,_0x37280e[0x2b]),_0x4137ea=_0x1a2823(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x2656c9,0x4,_0x37280e[0x2c]),_0x4748c6=_0x1a2823(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x52819d,0xb,_0x37280e[0x2d]),_0x1324a8=_0x1a2823(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0xcc303b,0x10,_0x37280e[0x2e]),_0x594198=_0x1a2823(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x546876,0x17,_0x37280e[0x2f]),_0x4137ea=_0x3d2a9c(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x1f3ff6,0x6,_0x37280e[0x30]),_0x4748c6=_0x3d2a9c(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x333e14,0xa,_0x37280e[0x31]),_0x1324a8=_0x3d2a9c(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x9470eb,0xf,_0x37280e[0x32]),_0x594198=_0x3d2a9c(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x579a01,0x15,_0x37280e[0x33]),_0x4137ea=_0x3d2a9c(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x52819d,0x6,_0x37280e[0x34]),_0x4748c6=_0x3d2a9c(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x482985,0xa,_0x37280e[0x35]),_0x1324a8=_0x3d2a9c(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x28a30d,0xf,_0x37280e[0x36]),_0x594198=_0x3d2a9c(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x5db96b,0x15,_0x37280e[0x37]),_0x4137ea=_0x3d2a9c(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0xbd64be,0x6,_0x37280e[0x38]),_0x4748c6=_0x3d2a9c(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0xcc303b,0xa,_0x37280e[0x39]),_0x1324a8=_0x3d2a9c(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x584823,0xf,_0x37280e[0x3a]),_0x594198=_0x3d2a9c(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x3a210b,0x15,_0x37280e[0x3b]),_0x4137ea=_0x3d2a9c(_0x4137ea,_0x594198,_0x1324a8,_0x4748c6,_0x5ae7ea,0x6,_0x37280e[0x3c]),_0x4748c6=_0x3d2a9c(_0x4748c6,_0x4137ea,_0x594198,_0x1324a8,_0x588655,0xa,_0x37280e[0x3d]),_0x1324a8=_0x3d2a9c(_0x1324a8,_0x4748c6,_0x4137ea,_0x594198,_0x546876,0xf,_0x37280e[0x3e]),_0x594198=_0x3d2a9c(_0x594198,_0x1324a8,_0x4748c6,_0x4137ea,_0x2656c9,0x15,_0x37280e[0x3f]),_0x35f722[0x0]=_0x35f722[0x0]+_0x4137ea|0x0,_0x35f722[0x1]=_0x35f722[0x1]+_0x594198|0x0,_0x35f722[0x2]=_0x35f722[0x2]+_0x1324a8|0x0,_0x35f722[0x3]=_0x35f722[0x3]+_0x4748c6|0x0;},'_doFinalize':function(){var _0x2c81da=_0x3be124,_0x475d09=this[_0x2c81da(0x434)],_0x51854a=_0x475d09[_0x2c81da(0x335)],_0x153116=this[_0x2c81da(0x266)]*0x8,_0x42d322=_0x475d09[_0x2c81da(0x4e7)]*0x8;_0x51854a[_0x42d322>>>0x5]|=0x80<<0x18-_0x42d322%0x20;var _0x2a3257=_0x10b63c['floor'](_0x153116/0x100000000),_0x296f4b=_0x153116;_0x51854a[(_0x42d322+0x40>>>0x9<<0x4)+0xf]=(_0x2a3257<<0x8|_0x2a3257>>>0x18)&0xff00ff|(_0x2a3257<<0x18|_0x2a3257>>>0x8)&0xff00ff00,_0x51854a[(_0x42d322+0x40>>>0x9<<0x4)+0xe]=(_0x296f4b<<0x8|_0x296f4b>>>0x18)&0xff00ff|(_0x296f4b<<0x18|_0x296f4b>>>0x8)&0xff00ff00,_0x475d09['sigBytes']=(_0x51854a[_0x2c81da(0x205)]+0x1)*0x4,this[_0x2c81da(0x2cd)]();for(var _0x3d6ed8=this['_hash'],_0x511166=_0x3d6ed8[_0x2c81da(0x335)],_0x4ebc8b=0x0;_0x4ebc8b<0x4;_0x4ebc8b++){var _0x3e8fc6=_0x511166[_0x4ebc8b];_0x511166[_0x4ebc8b]=(_0x3e8fc6<<0x8|_0x3e8fc6>>>0x18)&0xff00ff|(_0x3e8fc6<<0x18|_0x3e8fc6>>>0x8)&0xff00ff00;}return _0x3d6ed8;},'clone':function(){var _0x300ff0=_0x3be124,_0x22a8b1=_0x50706b['clone'][_0x300ff0(0x50a)](this);return _0x22a8b1[_0x300ff0(0x2d0)]=this[_0x300ff0(0x2d0)][_0x300ff0(0x1f6)](),_0x22a8b1;}});function _0x44b313(_0x1d866b,_0x3a5f70,_0x167c99,_0x3cac86,_0x4f3893,_0x3c40ce,_0x4bc1f4){var _0x48769b=_0x1d866b+(_0x3a5f70&_0x167c99|~_0x3a5f70&_0x3cac86)+_0x4f3893+_0x4bc1f4;return(_0x48769b<<_0x3c40ce|_0x48769b>>>0x20-_0x3c40ce)+_0x3a5f70;}function _0x434dff(_0x449a2f,_0x290fa7,_0x14290b,_0x51a383,_0x11a1d1,_0x338a02,_0x48a06d){var _0x6fbe98=_0x449a2f+(_0x290fa7&_0x51a383|_0x14290b&~_0x51a383)+_0x11a1d1+_0x48a06d;return(_0x6fbe98<<_0x338a02|_0x6fbe98>>>0x20-_0x338a02)+_0x290fa7;}function _0x1a2823(_0x2edc98,_0x460cf7,_0x24f166,_0x464edf,_0x43916f,_0x5235ca,_0x38facc){var _0x44115c=_0x2edc98+(_0x460cf7^_0x24f166^_0x464edf)+_0x43916f+_0x38facc;return(_0x44115c<<_0x5235ca|_0x44115c>>>0x20-_0x5235ca)+_0x460cf7;}function _0x3d2a9c(_0x545460,_0x5a82c8,_0xaec578,_0x5dc23f,_0x3059c8,_0x112e1e,_0x4bb23e){var _0x555f90=_0x545460+(_0xaec578^(_0x5a82c8|~_0x5dc23f))+_0x3059c8+_0x4bb23e;return(_0x555f90<<_0x112e1e|_0x555f90>>>0x20-_0x112e1e)+_0x5a82c8;}_0x195d78[_0x3be124(0x3a9)]=_0x50706b[_0x3be124(0x3d5)](_0x46ea88),_0x195d78[_0x3be124(0x33a)]=_0x50706b[_0x3be124(0x456)](_0x46ea88);}(Math),_0x594917['MD5'];}));}(_0xec993f)),_0xec993f[_0x2c0667(0x402)];}var _0x23f38f={'exports':{}},_0x2dfe28={'exports':{}},_0x27fd98=_0x2dfe28[_0x210b79(0x402)],_0x487500;function _0x126760(){var _0x947ac2=_0x210b79;return _0x487500||(_0x487500=0x1,function(_0x534df4,_0x4b01e9){(function(_0x30566d,_0x278306){var _0x1c9498=_0x5719;_0x534df4[_0x1c9498(0x402)]=_0x278306(_0x1d78bf());}(_0x27fd98,function(_0x3ca9ef){var _0x4c937a=_0x5719;return(function(){var _0x576cee=_0x5719,_0x537b3a=_0x3ca9ef,_0x35b432=_0x537b3a['lib'],_0x7d27ad=_0x35b432['WordArray'],_0x135f04=_0x35b432[_0x576cee(0x3df)],_0x563790=_0x537b3a[_0x576cee(0x24e)],_0x3a4177=[],_0x5adf25=_0x563790[_0x576cee(0x48d)]=_0x135f04[_0x576cee(0x3b5)]({'_doReset':function(){var _0x1707c0=_0x576cee;this['_hash']=new _0x7d27ad[(_0x1707c0(0x226))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x436ddc,_0x3750c5){var _0x2d5645=_0x576cee;for(var _0xae9488=this[_0x2d5645(0x2d0)][_0x2d5645(0x335)],_0x40315a=_0xae9488[0x0],_0x140ed9=_0xae9488[0x1],_0x486cee=_0xae9488[0x2],_0x2b635b=_0xae9488[0x3],_0x28ac63=_0xae9488[0x4],_0xaedef1=0x0;_0xaedef1<0x50;_0xaedef1++){if(_0xaedef1<0x10)_0x3a4177[_0xaedef1]=_0x436ddc[_0x3750c5+_0xaedef1]|0x0;else{var _0x2d0f87=_0x3a4177[_0xaedef1-0x3]^_0x3a4177[_0xaedef1-0x8]^_0x3a4177[_0xaedef1-0xe]^_0x3a4177[_0xaedef1-0x10];_0x3a4177[_0xaedef1]=_0x2d0f87<<0x1|_0x2d0f87>>>0x1f;}var _0x2cfff2=(_0x40315a<<0x5|_0x40315a>>>0x1b)+_0x28ac63+_0x3a4177[_0xaedef1];_0xaedef1<0x14?_0x2cfff2+=(_0x140ed9&_0x486cee|~_0x140ed9&_0x2b635b)+0x5a827999:_0xaedef1<0x28?_0x2cfff2+=(_0x140ed9^_0x486cee^_0x2b635b)+0x6ed9eba1:_0xaedef1<0x3c?_0x2cfff2+=(_0x140ed9&_0x486cee|_0x140ed9&_0x2b635b|_0x486cee&_0x2b635b)-0x70e44324:_0x2cfff2+=(_0x140ed9^_0x486cee^_0x2b635b)-0x359d3e2a,_0x28ac63=_0x2b635b,_0x2b635b=_0x486cee,_0x486cee=_0x140ed9<<0x1e|_0x140ed9>>>0x2,_0x140ed9=_0x40315a,_0x40315a=_0x2cfff2;}_0xae9488[0x0]=_0xae9488[0x0]+_0x40315a|0x0,_0xae9488[0x1]=_0xae9488[0x1]+_0x140ed9|0x0,_0xae9488[0x2]=_0xae9488[0x2]+_0x486cee|0x0,_0xae9488[0x3]=_0xae9488[0x3]+_0x2b635b|0x0,_0xae9488[0x4]=_0xae9488[0x4]+_0x28ac63|0x0;},'_doFinalize':function(){var _0xeccbf2=_0x576cee,_0x14f430=this[_0xeccbf2(0x434)],_0x4febb3=_0x14f430[_0xeccbf2(0x335)],_0x51afc5=this[_0xeccbf2(0x266)]*0x8,_0x186cf3=_0x14f430[_0xeccbf2(0x4e7)]*0x8;return _0x4febb3[_0x186cf3>>>0x5]|=0x80<<0x18-_0x186cf3%0x20,_0x4febb3[(_0x186cf3+0x40>>>0x9<<0x4)+0xe]=Math[_0xeccbf2(0x269)](_0x51afc5/0x100000000),_0x4febb3[(_0x186cf3+0x40>>>0x9<<0x4)+0xf]=_0x51afc5,_0x14f430[_0xeccbf2(0x4e7)]=_0x4febb3['length']*0x4,this['_process'](),this[_0xeccbf2(0x2d0)];},'clone':function(){var _0x2c4a7b=_0x576cee,_0x4b1c18=_0x135f04[_0x2c4a7b(0x1f6)]['call'](this);return _0x4b1c18['_hash']=this[_0x2c4a7b(0x2d0)][_0x2c4a7b(0x1f6)](),_0x4b1c18;}});_0x537b3a[_0x576cee(0x48d)]=_0x135f04['_createHelper'](_0x5adf25),_0x537b3a[_0x576cee(0x3a0)]=_0x135f04[_0x576cee(0x456)](_0x5adf25);}()),_0x3ca9ef[_0x4c937a(0x48d)];}));}(_0x2dfe28)),_0x2dfe28[_0x947ac2(0x402)];}var _0x44b8cf={'exports':{}},_0x1460cb=_0x44b8cf[_0x210b79(0x402)],_0x40ec94;function _0x1e1550(){var _0x2804d1=_0x210b79;return _0x40ec94||(_0x40ec94=0x1,function(_0x5945ce,_0x1a7489){(function(_0xf2342d,_0x31893f){var _0x2c7ca2=_0x5719;_0x5945ce[_0x2c7ca2(0x402)]=_0x31893f(_0x1d78bf());}(_0x1460cb,function(_0x2ae657){(function(){var _0x2c6a2f=_0x5719,_0x477f15=_0x2ae657,_0x6f78e7=_0x477f15[_0x2c6a2f(0x40a)],_0x423bde=_0x6f78e7[_0x2c6a2f(0x4d1)],_0x28ea66=_0x477f15[_0x2c6a2f(0x4b8)],_0x2e1edc=_0x28ea66['Utf8'],_0x3fa180=_0x477f15['algo'];_0x3fa180['HMAC']=_0x423bde[_0x2c6a2f(0x3b5)]({'init':function(_0xa70e5,_0x133f3c){var _0x3fb550=_0x2c6a2f;_0xa70e5=this[_0x3fb550(0x40d)]=new _0xa70e5[(_0x3fb550(0x226))](),typeof _0x133f3c==_0x3fb550(0x44e)&&(_0x133f3c=_0x2e1edc['parse'](_0x133f3c));var _0x149199=_0xa70e5[_0x3fb550(0x3e5)],_0x59aa15=_0x149199*0x4;_0x133f3c['sigBytes']>_0x59aa15&&(_0x133f3c=_0xa70e5[_0x3fb550(0x2eb)](_0x133f3c)),_0x133f3c[_0x3fb550(0x21e)]();for(var _0xe62b08=this[_0x3fb550(0x52d)]=_0x133f3c[_0x3fb550(0x1f6)](),_0x3d0487=this[_0x3fb550(0x336)]=_0x133f3c[_0x3fb550(0x1f6)](),_0x3584ba=_0xe62b08[_0x3fb550(0x335)],_0x396416=_0x3d0487['words'],_0x11a60b=0x0;_0x11a60b<_0x149199;_0x11a60b++)_0x3584ba[_0x11a60b]^=0x5c5c5c5c,_0x396416[_0x11a60b]^=0x36363636;_0xe62b08[_0x3fb550(0x4e7)]=_0x3d0487[_0x3fb550(0x4e7)]=_0x59aa15,this[_0x3fb550(0x1fc)]();},'reset':function(){var _0x571779=_0x2c6a2f,_0x24c420=this['_hasher'];_0x24c420[_0x571779(0x1fc)](),_0x24c420['update'](this[_0x571779(0x336)]);},'update':function(_0x465ae2){var _0x279b47=_0x2c6a2f;return this[_0x279b47(0x40d)][_0x279b47(0x4c5)](_0x465ae2),this;},'finalize':function(_0x3380ac){var _0x2c2cd4=_0x2c6a2f,_0x5a71fa=this['_hasher'],_0x262532=_0x5a71fa['finalize'](_0x3380ac);_0x5a71fa['reset']();var _0x45d06a=_0x5a71fa['finalize'](this['_oKey'][_0x2c2cd4(0x1f6)]()[_0x2c2cd4(0x48e)](_0x262532));return _0x45d06a;}});}());}));}(_0x44b8cf)),_0x44b8cf[_0x2804d1(0x402)];}var _0x2fe32d=_0x23f38f[_0x210b79(0x402)],_0x17c92a;function _0x1b2c78(){var _0x3eab2d=_0x210b79;return _0x17c92a||(_0x17c92a=0x1,function(_0x29a4c4,_0x13f55f){(function(_0x34e30c,_0x1e3a62,_0x318789){var _0x2b2f77=_0x5719;_0x29a4c4[_0x2b2f77(0x402)]=_0x1e3a62(_0x1d78bf(),_0x126760(),_0x1e1550());}(_0x2fe32d,function(_0x49f6a8){var _0x4ffeaa=_0x5719;return(function(){var _0x6e4024=_0x5719,_0x9e895a=_0x49f6a8,_0x3022c6=_0x9e895a[_0x6e4024(0x40a)],_0xafaefa=_0x3022c6[_0x6e4024(0x4d1)],_0x37d5d4=_0x3022c6['WordArray'],_0x5d5c2c=_0x9e895a[_0x6e4024(0x24e)],_0x1b7381=_0x5d5c2c[_0x6e4024(0x3a9)],_0x4e853d=_0x5d5c2c['EvpKDF']=_0xafaefa[_0x6e4024(0x3b5)]({'cfg':_0xafaefa[_0x6e4024(0x3b5)]({'keySize':0x80/0x20,'hasher':_0x1b7381,'iterations':0x1}),'init':function(_0x23a0d8){var _0x3907e3=_0x6e4024;this['cfg']=this[_0x3907e3(0x3cf)][_0x3907e3(0x3b5)](_0x23a0d8);},'compute':function(_0x5e8759,_0x5ec98c){var _0x47ad3f=_0x6e4024;for(var _0x253eb7,_0x223a67=this[_0x47ad3f(0x3cf)],_0x1f1212=_0x223a67[_0x47ad3f(0x2c6)][_0x47ad3f(0x303)](),_0x45d0f5=_0x37d5d4['create'](),_0xd603ae=_0x45d0f5['words'],_0x118353=_0x223a67[_0x47ad3f(0x453)],_0x473469=_0x223a67['iterations'];_0xd603ae[_0x47ad3f(0x205)]<_0x118353;){_0x253eb7&&_0x1f1212[_0x47ad3f(0x4c5)](_0x253eb7),_0x253eb7=_0x1f1212[_0x47ad3f(0x4c5)](_0x5e8759)[_0x47ad3f(0x2eb)](_0x5ec98c),_0x1f1212[_0x47ad3f(0x1fc)]();for(var _0xc9c5d1=0x1;_0xc9c5d1<_0x473469;_0xc9c5d1++)_0x253eb7=_0x1f1212[_0x47ad3f(0x2eb)](_0x253eb7),_0x1f1212[_0x47ad3f(0x1fc)]();_0x45d0f5['concat'](_0x253eb7);}return _0x45d0f5[_0x47ad3f(0x4e7)]=_0x118353*0x4,_0x45d0f5;}});_0x9e895a['EvpKDF']=function(_0x3db3c1,_0x43ecf3,_0xc9d03e){var _0x263ce7=_0x6e4024;return _0x4e853d[_0x263ce7(0x303)](_0xc9d03e)['compute'](_0x3db3c1,_0x43ecf3);};}()),_0x49f6a8[_0x4ffeaa(0x2e7)];}));}(_0x23f38f)),_0x23f38f[_0x3eab2d(0x402)];}var _0x5d1f36={'exports':{}},_0x5b0857=_0x5d1f36[_0x210b79(0x402)],_0x35e19b;function _0x4d6669(){var _0x41ff7c=_0x210b79;return _0x35e19b||(_0x35e19b=0x1,function(_0x8d3e11,_0xfa49c4){(function(_0x3d9a3a,_0x35fe3b,_0x255028){var _0x5a4b17=_0x5719;_0x8d3e11[_0x5a4b17(0x402)]=_0x35fe3b(_0x1d78bf(),_0x1b2c78());}(_0x5b0857,function(_0x4bf91c){var _0x573aa1=_0x5719;_0x4bf91c[_0x573aa1(0x40a)][_0x573aa1(0x22b)]||function(_0x3e4d91){var _0x1e4353=_0x573aa1,_0x19d4c8=_0x4bf91c,_0x3ea048=_0x19d4c8['lib'],_0x5e6ff8=_0x3ea048[_0x1e4353(0x4d1)],_0x48f506=_0x3ea048[_0x1e4353(0x289)],_0x185d15=_0x3ea048[_0x1e4353(0x521)],_0x16b439=_0x19d4c8[_0x1e4353(0x4b8)];_0x16b439[_0x1e4353(0x310)];var _0x596b1e=_0x16b439[_0x1e4353(0x425)],_0x2b3dc8=_0x19d4c8[_0x1e4353(0x24e)],_0x4bdc91=_0x2b3dc8[_0x1e4353(0x2e7)],_0xd6c526=_0x3ea048[_0x1e4353(0x22b)]=_0x185d15[_0x1e4353(0x3b5)]({'cfg':_0x5e6ff8['extend'](),'createEncryptor':function(_0x3cc2d4,_0x4ea281){var _0xd0699f=_0x1e4353;return this[_0xd0699f(0x303)](this['_ENC_XFORM_MODE'],_0x3cc2d4,_0x4ea281);},'createDecryptor':function(_0x1466f4,_0x3b8d98){var _0xfad67d=_0x1e4353;return this[_0xfad67d(0x303)](this[_0xfad67d(0x421)],_0x1466f4,_0x3b8d98);},'init':function(_0x4c0e87,_0x275eb8,_0x41b204){var _0x4d946d=_0x1e4353;this[_0x4d946d(0x3cf)]=this[_0x4d946d(0x3cf)]['extend'](_0x41b204),this[_0x4d946d(0x24f)]=_0x4c0e87,this['_key']=_0x275eb8,this[_0x4d946d(0x1fc)]();},'reset':function(){var _0x26b059=_0x1e4353;_0x185d15[_0x26b059(0x1fc)][_0x26b059(0x50a)](this),this['_doReset']();},'process':function(_0x3c522b){var _0x31c454=_0x1e4353;return this[_0x31c454(0x39d)](_0x3c522b),this[_0x31c454(0x2cd)]();},'finalize':function(_0x149443){var _0x25b94c=_0x1e4353;_0x149443&&this[_0x25b94c(0x39d)](_0x149443);var _0x29c728=this[_0x25b94c(0x29d)]();return _0x29c728;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x37b3e1(_0x19ba64){var _0x286706=_0x5719;return typeof _0x19ba64==_0x286706(0x44e)?_0x3ea6aa:_0x5333c4;}return function(_0x91a4b){return{'encrypt':function(_0x3d82c2,_0x117eab,_0x27825d){var _0x1e6a4f=_0x5719;return _0x37b3e1(_0x117eab)[_0x1e6a4f(0x206)](_0x91a4b,_0x3d82c2,_0x117eab,_0x27825d);},'decrypt':function(_0x20acf7,_0x46e7ef,_0x3a90c1){var _0x28bf83=_0x5719;return _0x37b3e1(_0x46e7ef)[_0x28bf83(0x373)](_0x91a4b,_0x20acf7,_0x46e7ef,_0x3a90c1);}};};}())});_0x3ea048[_0x1e4353(0x37b)]=_0xd6c526['extend']({'_doFinalize':function(){var _0x288da5=_0x1e4353,_0x63b151=this[_0x288da5(0x2cd)](!0x0);return _0x63b151;},'blockSize':0x1});var _0x18ed4b=_0x19d4c8[_0x1e4353(0x2e2)]={},_0x51536a=_0x3ea048[_0x1e4353(0x47b)]=_0x5e6ff8[_0x1e4353(0x3b5)]({'createEncryptor':function(_0x5cb2dc,_0xc6224f){var _0x213b87=_0x1e4353;return this['Encryptor'][_0x213b87(0x303)](_0x5cb2dc,_0xc6224f);},'createDecryptor':function(_0x1261ba,_0x37dd58){var _0x51fc68=_0x1e4353;return this['Decryptor'][_0x51fc68(0x303)](_0x1261ba,_0x37dd58);},'init':function(_0x2a74df,_0x22e590){var _0x2a686e=_0x1e4353;this[_0x2a686e(0x377)]=_0x2a74df,this[_0x2a686e(0x45b)]=_0x22e590;}}),_0x5ab1b8=_0x18ed4b[_0x1e4353(0x215)]=(function(){var _0x20b82b=_0x1e4353,_0x172f21=_0x51536a[_0x20b82b(0x3b5)]();_0x172f21['Encryptor']=_0x172f21[_0x20b82b(0x3b5)]({'processBlock':function(_0xe8d844,_0x416f1f){var _0x4be424=_0x20b82b,_0x205547=this[_0x4be424(0x377)],_0x1e5239=_0x205547[_0x4be424(0x3e5)];_0x1db7c8[_0x4be424(0x50a)](this,_0xe8d844,_0x416f1f,_0x1e5239),_0x205547[_0x4be424(0x36a)](_0xe8d844,_0x416f1f),this[_0x4be424(0x3f6)]=_0xe8d844[_0x4be424(0x4ca)](_0x416f1f,_0x416f1f+_0x1e5239);}}),_0x172f21['Decryptor']=_0x172f21[_0x20b82b(0x3b5)]({'processBlock':function(_0x46aabf,_0xfab3d){var _0x2e94f1=_0x20b82b,_0x183e33=this[_0x2e94f1(0x377)],_0x35c2dc=_0x183e33[_0x2e94f1(0x3e5)],_0x3e44b1=_0x46aabf[_0x2e94f1(0x4ca)](_0xfab3d,_0xfab3d+_0x35c2dc);_0x183e33[_0x2e94f1(0x349)](_0x46aabf,_0xfab3d),_0x1db7c8[_0x2e94f1(0x50a)](this,_0x46aabf,_0xfab3d,_0x35c2dc),this[_0x2e94f1(0x3f6)]=_0x3e44b1;}});function _0x1db7c8(_0x4aebd4,_0x3fbae1,_0x1d010b){var _0x2fc29e=_0x20b82b,_0x1abfa8,_0x37f757=this[_0x2fc29e(0x45b)];_0x37f757?(_0x1abfa8=_0x37f757,this[_0x2fc29e(0x45b)]=_0x3e4d91):_0x1abfa8=this[_0x2fc29e(0x3f6)];for(var _0x5c09d7=0x0;_0x5c09d7<_0x1d010b;_0x5c09d7++)_0x4aebd4[_0x3fbae1+_0x5c09d7]^=_0x1abfa8[_0x5c09d7];}return _0x172f21;}()),_0x4077a2=_0x19d4c8[_0x1e4353(0x308)]={},_0x6ced2c=_0x4077a2[_0x1e4353(0x2a9)]={'pad':function(_0x9d61fb,_0x24e959){var _0xf17e03=_0x1e4353;for(var _0x4367ad=_0x24e959*0x4,_0x1ae8f6=_0x4367ad-_0x9d61fb[_0xf17e03(0x4e7)]%_0x4367ad,_0x4d8988=_0x1ae8f6<<0x18|_0x1ae8f6<<0x10|_0x1ae8f6<<0x8|_0x1ae8f6,_0x58d275=[],_0xec13c4=0x0;_0xec13c4<_0x1ae8f6;_0xec13c4+=0x4)_0x58d275['push'](_0x4d8988);var _0x365709=_0x48f506[_0xf17e03(0x303)](_0x58d275,_0x1ae8f6);_0x9d61fb[_0xf17e03(0x48e)](_0x365709);},'unpad':function(_0x51a92a){var _0x241185=_0x1e4353,_0x14256a=_0x51a92a[_0x241185(0x335)][_0x51a92a[_0x241185(0x4e7)]-0x1>>>0x2]&0xff;_0x51a92a[_0x241185(0x4e7)]-=_0x14256a;}};_0x3ea048[_0x1e4353(0x375)]=_0xd6c526[_0x1e4353(0x3b5)]({'cfg':_0xd6c526[_0x1e4353(0x3cf)][_0x1e4353(0x3b5)]({'mode':_0x5ab1b8,'padding':_0x6ced2c}),'reset':function(){var _0x157ff2=_0x1e4353,_0x598a13;_0xd6c526[_0x157ff2(0x1fc)][_0x157ff2(0x50a)](this);var _0x38920e=this[_0x157ff2(0x3cf)],_0x1bd5a5=_0x38920e['iv'],_0x5c8c02=_0x38920e['mode'];this[_0x157ff2(0x24f)]==this[_0x157ff2(0x409)]?_0x598a13=_0x5c8c02[_0x157ff2(0x2bd)]:(_0x598a13=_0x5c8c02['createDecryptor'],this[_0x157ff2(0x4af)]=0x1),this['_mode']&&this[_0x157ff2(0x2c9)][_0x157ff2(0x4f3)]==_0x598a13?this[_0x157ff2(0x2c9)]['init'](this,_0x1bd5a5&&_0x1bd5a5[_0x157ff2(0x335)]):(this[_0x157ff2(0x2c9)]=_0x598a13[_0x157ff2(0x50a)](_0x5c8c02,this,_0x1bd5a5&&_0x1bd5a5[_0x157ff2(0x335)]),this['_mode'][_0x157ff2(0x4f3)]=_0x598a13);},'_doProcessBlock':function(_0x49c062,_0x39010b){var _0x290539=_0x1e4353;this[_0x290539(0x2c9)][_0x290539(0x4d4)](_0x49c062,_0x39010b);},'_doFinalize':function(){var _0x1e5814=_0x1e4353,_0x24b3bb,_0x226ae9=this[_0x1e5814(0x3cf)][_0x1e5814(0x53b)];return this[_0x1e5814(0x24f)]==this['_ENC_XFORM_MODE']?(_0x226ae9[_0x1e5814(0x308)](this[_0x1e5814(0x434)],this[_0x1e5814(0x3e5)]),_0x24b3bb=this[_0x1e5814(0x2cd)](!0x0)):(_0x24b3bb=this['_process'](!0x0),_0x226ae9[_0x1e5814(0x4b3)](_0x24b3bb)),_0x24b3bb;},'blockSize':0x80/0x20});var _0x52358b=_0x3ea048[_0x1e4353(0x3a3)]=_0x5e6ff8[_0x1e4353(0x3b5)]({'init':function(_0x3f668a){var _0x4936fe=_0x1e4353;this[_0x4936fe(0x48a)](_0x3f668a);},'toString':function(_0x38ef11){var _0x108e2d=_0x1e4353;return(_0x38ef11||this[_0x108e2d(0x3ee)])[_0x108e2d(0x448)](this);}}),_0x991e36=_0x19d4c8[_0x1e4353(0x31e)]={},_0x1fc722=_0x991e36[_0x1e4353(0x47a)]={'stringify':function(_0x3e5300){var _0x145d4f=_0x1e4353,_0x61f1ab,_0x415b7=_0x3e5300[_0x145d4f(0x484)],_0x5deb7d=_0x3e5300[_0x145d4f(0x4fa)];return _0x5deb7d?_0x61f1ab=_0x48f506[_0x145d4f(0x303)]([0x53616c74,0x65645f5f])[_0x145d4f(0x48e)](_0x5deb7d)[_0x145d4f(0x48e)](_0x415b7):_0x61f1ab=_0x415b7,_0x61f1ab[_0x145d4f(0x1f2)](_0x596b1e);},'parse':function(_0x1089af){var _0x23f378=_0x1e4353,_0x2d0763,_0x3f882c=_0x596b1e[_0x23f378(0x51a)](_0x1089af),_0x3d457a=_0x3f882c[_0x23f378(0x335)];return _0x3d457a[0x0]==0x53616c74&&_0x3d457a[0x1]==0x65645f5f&&(_0x2d0763=_0x48f506[_0x23f378(0x303)](_0x3d457a[_0x23f378(0x4ca)](0x2,0x4)),_0x3d457a[_0x23f378(0x323)](0x0,0x4),_0x3f882c[_0x23f378(0x4e7)]-=0x10),_0x52358b['create']({'ciphertext':_0x3f882c,'salt':_0x2d0763});}},_0x5333c4=_0x3ea048[_0x1e4353(0x33e)]=_0x5e6ff8[_0x1e4353(0x3b5)]({'cfg':_0x5e6ff8[_0x1e4353(0x3b5)]({'format':_0x1fc722}),'encrypt':function(_0x4dd231,_0x55455f,_0x11bcca,_0xd98d4f){var _0x2ce708=_0x1e4353;_0xd98d4f=this[_0x2ce708(0x3cf)][_0x2ce708(0x3b5)](_0xd98d4f);var _0x37f93a=_0x4dd231[_0x2ce708(0x2bd)](_0x11bcca,_0xd98d4f),_0x595412=_0x37f93a[_0x2ce708(0x2eb)](_0x55455f),_0x2b851a=_0x37f93a[_0x2ce708(0x3cf)];return _0x52358b[_0x2ce708(0x303)]({'ciphertext':_0x595412,'key':_0x11bcca,'iv':_0x2b851a['iv'],'algorithm':_0x4dd231,'mode':_0x2b851a[_0x2ce708(0x2e2)],'padding':_0x2b851a[_0x2ce708(0x53b)],'blockSize':_0x4dd231[_0x2ce708(0x3e5)],'formatter':_0xd98d4f['format']});},'decrypt':function(_0x1b5bf7,_0x1101a7,_0x3a676c,_0x55399f){var _0xa4a40a=_0x1e4353;_0x55399f=this[_0xa4a40a(0x3cf)]['extend'](_0x55399f),_0x1101a7=this[_0xa4a40a(0x447)](_0x1101a7,_0x55399f['format']);var _0x493445=_0x1b5bf7[_0xa4a40a(0x4ea)](_0x3a676c,_0x55399f)['finalize'](_0x1101a7['ciphertext']);return _0x493445;},'_parse':function(_0x34d0ee,_0x44862b){var _0x47f01=_0x1e4353;return typeof _0x34d0ee==_0x47f01(0x44e)?_0x44862b[_0x47f01(0x51a)](_0x34d0ee,this):_0x34d0ee;}}),_0x3de12b=_0x19d4c8['kdf']={},_0x12ecdc=_0x3de12b[_0x1e4353(0x47a)]={'execute':function(_0x19a072,_0x52f2b9,_0x33b167,_0x19f5ba,_0x121a2a){var _0x3a8739=_0x1e4353;if(_0x19f5ba||(_0x19f5ba=_0x48f506[_0x3a8739(0x321)](0x40/0x8)),_0x121a2a)var _0x4ae0e6=_0x4bdc91[_0x3a8739(0x303)]({'keySize':_0x52f2b9+_0x33b167,'hasher':_0x121a2a})[_0x3a8739(0x32a)](_0x19a072,_0x19f5ba);else var _0x4ae0e6=_0x4bdc91[_0x3a8739(0x303)]({'keySize':_0x52f2b9+_0x33b167})['compute'](_0x19a072,_0x19f5ba);var _0x4f872b=_0x48f506[_0x3a8739(0x303)](_0x4ae0e6[_0x3a8739(0x335)]['slice'](_0x52f2b9),_0x33b167*0x4);return _0x4ae0e6['sigBytes']=_0x52f2b9*0x4,_0x52358b[_0x3a8739(0x303)]({'key':_0x4ae0e6,'iv':_0x4f872b,'salt':_0x19f5ba});}},_0x3ea6aa=_0x3ea048['PasswordBasedCipher']=_0x5333c4[_0x1e4353(0x3b5)]({'cfg':_0x5333c4[_0x1e4353(0x3cf)][_0x1e4353(0x3b5)]({'kdf':_0x12ecdc}),'encrypt':function(_0x578a1a,_0x131f9e,_0x4838e9,_0x154845){var _0x3e248c=_0x1e4353;_0x154845=this['cfg'][_0x3e248c(0x3b5)](_0x154845);var _0x4e61f7=_0x154845[_0x3e248c(0x47f)][_0x3e248c(0x209)](_0x4838e9,_0x578a1a[_0x3e248c(0x453)],_0x578a1a[_0x3e248c(0x2da)],_0x154845['salt'],_0x154845['hasher']);_0x154845['iv']=_0x4e61f7['iv'];var _0x59f1d3=_0x5333c4['encrypt'][_0x3e248c(0x50a)](this,_0x578a1a,_0x131f9e,_0x4e61f7[_0x3e248c(0x53c)],_0x154845);return _0x59f1d3[_0x3e248c(0x48a)](_0x4e61f7),_0x59f1d3;},'decrypt':function(_0x7809d7,_0x3685a5,_0x191209,_0x245ab7){var _0x3f50a5=_0x1e4353;_0x245ab7=this['cfg'][_0x3f50a5(0x3b5)](_0x245ab7),_0x3685a5=this[_0x3f50a5(0x447)](_0x3685a5,_0x245ab7[_0x3f50a5(0x31e)]);var _0x480bf0=_0x245ab7['kdf'][_0x3f50a5(0x209)](_0x191209,_0x7809d7['keySize'],_0x7809d7[_0x3f50a5(0x2da)],_0x3685a5['salt'],_0x245ab7[_0x3f50a5(0x2c6)]);_0x245ab7['iv']=_0x480bf0['iv'];var _0x10cd71=_0x5333c4[_0x3f50a5(0x373)]['call'](this,_0x7809d7,_0x3685a5,_0x480bf0[_0x3f50a5(0x53c)],_0x245ab7);return _0x10cd71;}});}();}));}(_0x5d1f36)),_0x5d1f36[_0x41ff7c(0x402)];}var _0x3e23ce=_0x4f4949['exports'],_0x1809c2;function _0x478f1c(){var _0x314b6f=_0x210b79;return _0x1809c2||(_0x1809c2=0x1,function(_0x1b3f50,_0x1e665b){(function(_0x5074fb,_0xae1c7b,_0x1f1979){var _0x927051=_0x5719;_0x1b3f50[_0x927051(0x402)]=_0xae1c7b(_0x1d78bf(),_0x2242f5(),_0x190255(),_0x1b2c78(),_0x4d6669());}(_0x3e23ce,function(_0xd2ca64){return(function(){var _0x1cf7f3=_0x5719,_0x7cb28=_0xd2ca64,_0xab82e4=_0x7cb28[_0x1cf7f3(0x40a)],_0x4f33fa=_0xab82e4[_0x1cf7f3(0x375)],_0x114f05=_0x7cb28[_0x1cf7f3(0x24e)],_0x1fce79=[],_0x4cd38d=[],_0x5b8243=[],_0x87eeb5=[],_0x123228=[],_0x3d8a85=[],_0x4abab3=[],_0x1dd61b=[],_0x5205db=[],_0x18c0e9=[];(function(){for(var _0x1698aa=[],_0x4048ed=0x0;_0x4048ed<0x100;_0x4048ed++)_0x4048ed<0x80?_0x1698aa[_0x4048ed]=_0x4048ed<<0x1:_0x1698aa[_0x4048ed]=_0x4048ed<<0x1^0x11b;for(var _0x547f01=0x0,_0x3dc409=0x0,_0x4048ed=0x0;_0x4048ed<0x100;_0x4048ed++){var _0x3a3abc=_0x3dc409^_0x3dc409<<0x1^_0x3dc409<<0x2^_0x3dc409<<0x3^_0x3dc409<<0x4;_0x3a3abc=_0x3a3abc>>>0x8^_0x3a3abc&0xff^0x63,_0x1fce79[_0x547f01]=_0x3a3abc,_0x4cd38d[_0x3a3abc]=_0x547f01;var _0x239b3d=_0x1698aa[_0x547f01],_0x3bfe77=_0x1698aa[_0x239b3d],_0x29590e=_0x1698aa[_0x3bfe77],_0x31c27c=_0x1698aa[_0x3a3abc]*0x101^_0x3a3abc*0x1010100;_0x5b8243[_0x547f01]=_0x31c27c<<0x18|_0x31c27c>>>0x8,_0x87eeb5[_0x547f01]=_0x31c27c<<0x10|_0x31c27c>>>0x10,_0x123228[_0x547f01]=_0x31c27c<<0x8|_0x31c27c>>>0x18,_0x3d8a85[_0x547f01]=_0x31c27c;var _0x31c27c=_0x29590e*0x1010101^_0x3bfe77*0x10001^_0x239b3d*0x101^_0x547f01*0x1010100;_0x4abab3[_0x3a3abc]=_0x31c27c<<0x18|_0x31c27c>>>0x8,_0x1dd61b[_0x3a3abc]=_0x31c27c<<0x10|_0x31c27c>>>0x10,_0x5205db[_0x3a3abc]=_0x31c27c<<0x8|_0x31c27c>>>0x18,_0x18c0e9[_0x3a3abc]=_0x31c27c,_0x547f01?(_0x547f01=_0x239b3d^_0x1698aa[_0x1698aa[_0x1698aa[_0x29590e^_0x239b3d]]],_0x3dc409^=_0x1698aa[_0x1698aa[_0x3dc409]]):_0x547f01=_0x3dc409=0x1;}}());var _0x5175ca=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1a7c4e=_0x114f05[_0x1cf7f3(0x28e)]=_0x4f33fa[_0x1cf7f3(0x3b5)]({'_doReset':function(){var _0x26b4f2=_0x1cf7f3,_0xd8193e;if(!(this[_0x26b4f2(0x346)]&&this[_0x26b4f2(0x330)]===this[_0x26b4f2(0x4f7)])){for(var _0x40b70a=this[_0x26b4f2(0x330)]=this[_0x26b4f2(0x4f7)],_0x4b3e20=_0x40b70a[_0x26b4f2(0x335)],_0x567556=_0x40b70a[_0x26b4f2(0x4e7)]/0x4,_0x120d41=this[_0x26b4f2(0x346)]=_0x567556+0x6,_0x4d9f2c=(_0x120d41+0x1)*0x4,_0x38119b=this['_keySchedule']=[],_0x512d05=0x0;_0x512d05<_0x4d9f2c;_0x512d05++)_0x512d05<_0x567556?_0x38119b[_0x512d05]=_0x4b3e20[_0x512d05]:(_0xd8193e=_0x38119b[_0x512d05-0x1],_0x512d05%_0x567556?_0x567556>0x6&&_0x512d05%_0x567556==0x4&&(_0xd8193e=_0x1fce79[_0xd8193e>>>0x18]<<0x18|_0x1fce79[_0xd8193e>>>0x10&0xff]<<0x10|_0x1fce79[_0xd8193e>>>0x8&0xff]<<0x8|_0x1fce79[_0xd8193e&0xff]):(_0xd8193e=_0xd8193e<<0x8|_0xd8193e>>>0x18,_0xd8193e=_0x1fce79[_0xd8193e>>>0x18]<<0x18|_0x1fce79[_0xd8193e>>>0x10&0xff]<<0x10|_0x1fce79[_0xd8193e>>>0x8&0xff]<<0x8|_0x1fce79[_0xd8193e&0xff],_0xd8193e^=_0x5175ca[_0x512d05/_0x567556|0x0]<<0x18),_0x38119b[_0x512d05]=_0x38119b[_0x512d05-_0x567556]^_0xd8193e);for(var _0x2d1b71=this[_0x26b4f2(0x4cc)]=[],_0x16dd8a=0x0;_0x16dd8a<_0x4d9f2c;_0x16dd8a++){var _0x512d05=_0x4d9f2c-_0x16dd8a;if(_0x16dd8a%0x4)var _0xd8193e=_0x38119b[_0x512d05];else var _0xd8193e=_0x38119b[_0x512d05-0x4];_0x16dd8a<0x4||_0x512d05<=0x4?_0x2d1b71[_0x16dd8a]=_0xd8193e:_0x2d1b71[_0x16dd8a]=_0x4abab3[_0x1fce79[_0xd8193e>>>0x18]]^_0x1dd61b[_0x1fce79[_0xd8193e>>>0x10&0xff]]^_0x5205db[_0x1fce79[_0xd8193e>>>0x8&0xff]]^_0x18c0e9[_0x1fce79[_0xd8193e&0xff]];}}},'encryptBlock':function(_0x5d6151,_0x41bc9c){var _0x18d0e1=_0x1cf7f3;this['_doCryptBlock'](_0x5d6151,_0x41bc9c,this[_0x18d0e1(0x4d2)],_0x5b8243,_0x87eeb5,_0x123228,_0x3d8a85,_0x1fce79);},'decryptBlock':function(_0x25ff69,_0x1d28d1){var _0x46e693=_0x1cf7f3,_0x3c2519=_0x25ff69[_0x1d28d1+0x1];_0x25ff69[_0x1d28d1+0x1]=_0x25ff69[_0x1d28d1+0x3],_0x25ff69[_0x1d28d1+0x3]=_0x3c2519,this['_doCryptBlock'](_0x25ff69,_0x1d28d1,this[_0x46e693(0x4cc)],_0x4abab3,_0x1dd61b,_0x5205db,_0x18c0e9,_0x4cd38d);var _0x3c2519=_0x25ff69[_0x1d28d1+0x1];_0x25ff69[_0x1d28d1+0x1]=_0x25ff69[_0x1d28d1+0x3],_0x25ff69[_0x1d28d1+0x3]=_0x3c2519;},'_doCryptBlock':function(_0x733187,_0x530b47,_0x41a2b8,_0x20999b,_0x4b90e6,_0xf74111,_0x24941e,_0x4ebc74){var _0x462264=_0x1cf7f3;for(var _0x3d32a6=this[_0x462264(0x346)],_0x4eb501=_0x733187[_0x530b47]^_0x41a2b8[0x0],_0x5607ea=_0x733187[_0x530b47+0x1]^_0x41a2b8[0x1],_0x37003f=_0x733187[_0x530b47+0x2]^_0x41a2b8[0x2],_0x1e3903=_0x733187[_0x530b47+0x3]^_0x41a2b8[0x3],_0x4521ca=0x4,_0xbb35f9=0x1;_0xbb35f9<_0x3d32a6;_0xbb35f9++){var _0x4c5c71=_0x20999b[_0x4eb501>>>0x18]^_0x4b90e6[_0x5607ea>>>0x10&0xff]^_0xf74111[_0x37003f>>>0x8&0xff]^_0x24941e[_0x1e3903&0xff]^_0x41a2b8[_0x4521ca++],_0x5a5f2a=_0x20999b[_0x5607ea>>>0x18]^_0x4b90e6[_0x37003f>>>0x10&0xff]^_0xf74111[_0x1e3903>>>0x8&0xff]^_0x24941e[_0x4eb501&0xff]^_0x41a2b8[_0x4521ca++],_0x455c4c=_0x20999b[_0x37003f>>>0x18]^_0x4b90e6[_0x1e3903>>>0x10&0xff]^_0xf74111[_0x4eb501>>>0x8&0xff]^_0x24941e[_0x5607ea&0xff]^_0x41a2b8[_0x4521ca++],_0x54b63d=_0x20999b[_0x1e3903>>>0x18]^_0x4b90e6[_0x4eb501>>>0x10&0xff]^_0xf74111[_0x5607ea>>>0x8&0xff]^_0x24941e[_0x37003f&0xff]^_0x41a2b8[_0x4521ca++];_0x4eb501=_0x4c5c71,_0x5607ea=_0x5a5f2a,_0x37003f=_0x455c4c,_0x1e3903=_0x54b63d;}var _0x4c5c71=(_0x4ebc74[_0x4eb501>>>0x18]<<0x18|_0x4ebc74[_0x5607ea>>>0x10&0xff]<<0x10|_0x4ebc74[_0x37003f>>>0x8&0xff]<<0x8|_0x4ebc74[_0x1e3903&0xff])^_0x41a2b8[_0x4521ca++],_0x5a5f2a=(_0x4ebc74[_0x5607ea>>>0x18]<<0x18|_0x4ebc74[_0x37003f>>>0x10&0xff]<<0x10|_0x4ebc74[_0x1e3903>>>0x8&0xff]<<0x8|_0x4ebc74[_0x4eb501&0xff])^_0x41a2b8[_0x4521ca++],_0x455c4c=(_0x4ebc74[_0x37003f>>>0x18]<<0x18|_0x4ebc74[_0x1e3903>>>0x10&0xff]<<0x10|_0x4ebc74[_0x4eb501>>>0x8&0xff]<<0x8|_0x4ebc74[_0x5607ea&0xff])^_0x41a2b8[_0x4521ca++],_0x54b63d=(_0x4ebc74[_0x1e3903>>>0x18]<<0x18|_0x4ebc74[_0x4eb501>>>0x10&0xff]<<0x10|_0x4ebc74[_0x5607ea>>>0x8&0xff]<<0x8|_0x4ebc74[_0x37003f&0xff])^_0x41a2b8[_0x4521ca++];_0x733187[_0x530b47]=_0x4c5c71,_0x733187[_0x530b47+0x1]=_0x5a5f2a,_0x733187[_0x530b47+0x2]=_0x455c4c,_0x733187[_0x530b47+0x3]=_0x54b63d;},'keySize':0x100/0x20});_0x7cb28[_0x1cf7f3(0x28e)]=_0x4f33fa[_0x1cf7f3(0x3d5)](_0x1a7c4e);}()),_0xd2ca64['AES'];}));}(_0x4f4949)),_0x4f4949[_0x314b6f(0x402)];}var _0x3a9563=_0x478f1c();const _0x1df95d=_0x2d1819(_0x3a9563);var _0x262378=_0x2242f5();const _0xcaea61=_0x2d1819(_0x262378);var _0x2a7206={'exports':{}},_0xa4a366=_0x2a7206[_0x210b79(0x402)],_0x2b9be2;function _0x1d5d73(){var _0x334c2b=_0x210b79;return _0x2b9be2||(_0x2b9be2=0x1,function(_0x413790,_0x5062a4){(function(_0x294bf9,_0x16e7c7){var _0x5619e5=_0x5719;_0x413790[_0x5619e5(0x402)]=_0x16e7c7(_0x1d78bf());}(_0xa4a366,function(_0x27884c){var _0x2eecbd=_0x5719;return _0x27884c[_0x2eecbd(0x4b8)][_0x2eecbd(0x310)];}));}(_0x2a7206)),_0x2a7206[_0x334c2b(0x402)];}var _0x42cf2e=_0x1d5d73();const _0x10a795=_0x2d1819(_0x42cf2e);var _0x1bdb43={'exports':{}},_0x77a200=_0x1bdb43[_0x210b79(0x402)],_0x274977;function _0x227139(){return _0x274977||(_0x274977=0x1,function(_0x4476e0,_0x3c3d7b){(function(_0x2c4061,_0x407030){var _0xa89ea1=_0x5719;_0x4476e0[_0xa89ea1(0x402)]=_0x407030(_0x1d78bf());}(_0x77a200,function(_0x59bada){var _0x39e5eb=_0x5719;return(function(){var _0x1ee0c7=_0x5719;if(typeof ArrayBuffer=='function'){var _0x32b5fa=_0x59bada,_0x4a9734=_0x32b5fa[_0x1ee0c7(0x40a)],_0x569d8f=_0x4a9734[_0x1ee0c7(0x289)],_0x5b4e63=_0x569d8f[_0x1ee0c7(0x226)],_0x3669df=_0x569d8f[_0x1ee0c7(0x226)]=function(_0x12507e){var _0x3d914a=_0x1ee0c7;if(_0x12507e instanceof ArrayBuffer&&(_0x12507e=new Uint8Array(_0x12507e)),(_0x12507e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x12507e instanceof Uint8ClampedArray||_0x12507e instanceof Int16Array||_0x12507e instanceof Uint16Array||_0x12507e instanceof Int32Array||_0x12507e instanceof Uint32Array||_0x12507e instanceof Float32Array||_0x12507e instanceof Float64Array)&&(_0x12507e=new Uint8Array(_0x12507e['buffer'],_0x12507e['byteOffset'],_0x12507e['byteLength'])),_0x12507e instanceof Uint8Array){for(var _0x46b621=_0x12507e['byteLength'],_0x4ffab2=[],_0x23a655=0x0;_0x23a655<_0x46b621;_0x23a655++)_0x4ffab2[_0x23a655>>>0x2]|=_0x12507e[_0x23a655]<<0x18-_0x23a655%0x4*0x8;_0x5b4e63[_0x3d914a(0x50a)](this,_0x4ffab2,_0x46b621);}else _0x5b4e63['apply'](this,arguments);};_0x3669df['prototype']=_0x569d8f;}}()),_0x59bada[_0x39e5eb(0x40a)][_0x39e5eb(0x289)];}));}(_0x1bdb43)),_0x1bdb43['exports'];}var _0x5af1a0=_0x227139();const _0x49afae=_0x2d1819(_0x5af1a0);var _0x8550d5={'exports':{}},_0x11d17c=_0x8550d5[_0x210b79(0x402)],_0x2c2f4b;function _0x3e83fc(){var _0x305a31=_0x210b79;return _0x2c2f4b||(_0x2c2f4b=0x1,function(_0x2e5d91,_0x17ac90){(function(_0x1a86ec,_0x4022d2,_0x786f9f){var _0x2cacfc=_0x5719;_0x2e5d91[_0x2cacfc(0x402)]=_0x4022d2(_0x1d78bf(),_0x4d6669());}(_0x11d17c,function(_0x3e340d){var _0x1b7729=_0x5719;return _0x3e340d[_0x1b7729(0x308)][_0x1b7729(0x49a)]={'pad':function(){},'unpad':function(){}},_0x3e340d[_0x1b7729(0x308)][_0x1b7729(0x49a)];}));}(_0x8550d5)),_0x8550d5[_0x305a31(0x402)];}var _0x5e4689=_0x3e83fc();const _0x598e83=_0x2d1819(_0x5e4689);function _0x3e1b21(_0x2c3e4f,_0x17419b){var _0x24b284=_0x210b79;const _0x4ce780=_0x17419b-_0x2c3e4f[_0x24b284(0x205)]%_0x17419b,_0x236565=String[_0x24b284(0x1fd)](_0x4ce780)['repeat'](_0x4ce780);return _0x2c3e4f+_0x236565;}function _0x23fb99(_0x541324,_0x31b0f3){var _0x134c03=_0x210b79;const _0x133869=_0x49afae[_0x134c03(0x321)](0x10),_0x1c3f7b=_0x3e1b21(_0x541324,0x10),_0x4cf0a0=_0x1df95d[_0x134c03(0x206)](_0x10a795['parse'](_0x1c3f7b),_0xcaea61[_0x134c03(0x51a)](_0x31b0f3),{'iv':_0x133869,'padding':_0x598e83});return _0x133869[_0x134c03(0x48e)](_0x4cf0a0[_0x134c03(0x484)])[_0x134c03(0x1f2)](_0xcaea61);}function _0x19f911(){var _0x2ab404=_0x210b79;const _0x29bd4c=_0x1c72b0['getGlobalObject']()['__Key__'];if(_0x29bd4c){const _0x3d3789={'time':Math['floor'](Date[_0x2ab404(0x4fd)]()/0x3e8),'domain':location[_0x2ab404(0x38f)]};return _0x23fb99(JSON['stringify'](_0x3d3789),_0x29bd4c);}}var _0x54e638=Object[_0x210b79(0x225)],_0x36bbea=(_0x449c6e,_0x4bf9fd,_0xc3519f,_0x14f4be)=>{var _0x298a97=_0x210b79;for(var _0x16a78b=_0x14f4be>0x1?void 0x0:_0x14f4be?_0x54e638(_0x4bf9fd,_0xc3519f):_0x4bf9fd,_0x50aac0=_0x449c6e[_0x298a97(0x205)]-0x1,_0x11e1a4;_0x50aac0>=0x0;_0x50aac0--)(_0x11e1a4=_0x449c6e[_0x50aac0])&&(_0x16a78b=_0x11e1a4(_0x16a78b)||_0x16a78b);return _0x16a78b;},_0x3f24a7=(_0xeb2ede,_0x3a9999)=>(_0x1f4e74,_0xe26566)=>_0x3a9999(_0x1f4e74,_0xe26566,_0xeb2ede);let _0x3c05dd=class{constructor(_0x2ba0f4){var _0x125015=_0x210b79;this[_0x125015(0x45f)]=_0x2ba0f4,this[_0x125015(0x389)]();}[_0x210b79(0x389)](){var _0x264424=_0x210b79;this[_0x264424(0x45f)][_0x264424(0x3e0)]({'interceptor':(_0x293854,_0x4838a5)=>{var _0x3dcac6=_0x264424;const _0x3d6aa9=_0x293854[_0x3dcac6(0x3c2)],_0x484031=_0x19f911();return _0x484031&&_0x3d6aa9[_0x3dcac6(0x4e1)](_0x3dcac6(0x239),_0x484031),_0x4838a5(_0x293854);}});}};_0x3c05dd=_0x36bbea([_0x3f24a7(0x0,_0x1553b4[_0x210b79(0x2aa)](_0x552ab4[_0x210b79(0x24b)]))],_0x3c05dd);var _0x4bd49b=Object[_0x210b79(0x225)],_0x43fa8b=(_0x5adfd3,_0x14e5f7,_0x461c45,_0xd48dbc)=>{for(var _0x8bf5cd=_0xd48dbc>0x1?void 0x0:_0xd48dbc?_0x4bd49b(_0x14e5f7,_0x461c45):_0x14e5f7,_0x4020b4=_0x5adfd3['length']-0x1,_0x48c2be;_0x4020b4>=0x0;_0x4020b4--)(_0x48c2be=_0x5adfd3[_0x4020b4])&&(_0x8bf5cd=_0x48c2be(_0x8bf5cd)||_0x8bf5cd);return _0x8bf5cd;},_0x390a3f=(_0x5643ec,_0x1a44d6)=>(_0x549b09,_0x3d8bbc)=>_0x1a44d6(_0x549b09,_0x3d8bbc,_0x5643ec);_0x29391d['DataLoaderService']=class extends _0x1553b4['RxDisposable']{constructor(_0x4c95ad,_0x1dee4b,_0x29298c){var _0x2f6445=_0x210b79;super(),_0x3c9fd4(this,_0x2f6445(0x4d5),new _0x430a82[(_0x2f6445(0x39b))](null)),_0x3c9fd4(this,_0x2f6445(0x3b9),this['_unitInfo$'][_0x2f6445(0x380)]()),(this[_0x2f6445(0x396)]=_0x4c95ad,this[_0x2f6445(0x354)]=_0x1dee4b,this[_0x2f6445(0x42a)]=_0x29298c);}async['loadUnit'](_0x23b260,_0x34e392,_0x501908){var _0x4f7cc4=_0x210b79;this[_0x4f7cc4(0x4d5)][_0x4f7cc4(0x35d)]({'unitId':_0x23b260,'type':_0x34e392,'subUnitId':_0x501908});let _0x4583f0=null;switch(_0x34e392){case _0x4c7778[_0x4f7cc4(0x407)]:{_0x4583f0=await this[_0x4f7cc4(0x312)](_0x23b260);break;}case _0x4c7778[_0x4f7cc4(0x200)]:{_0x4583f0=await this[_0x4f7cc4(0x48f)](_0x23b260);break;}default:{this['_logService']['error'](_0x4f7cc4(0x2d7),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x4583f0;}async[_0x210b79(0x312)](_0x304f68){var _0x374924=_0x210b79,_0x528be0;let _0x302dc8=0x0;const _0x2493bb=await((_0x528be0=this[_0x374924(0x42a)])==null?void 0x0:_0x528be0[_0x374924(0x2ba)](_0x304f68));return _0x2493bb&&(_0x2493bb[_0x374924(0x4e8)]||_0x2493bb[_0x374924(0x4be)][_0x374924(0x205)]!==0x0)&&(_0x302dc8=_0x2493bb['rev']),_0x302dc8===0x0&&this[_0x374924(0x396)][_0x374924(0x2be)](_0x374924(0x2d7),_0x374924(0x2ac)),this['_snapshotService'][_0x374924(0x340)](_0x304f68,_0x302dc8);}async[_0x210b79(0x48f)](_0x32b300){var _0x2308d7=_0x210b79,_0x7f6430;let _0x4a8a0c=0x0;const _0x5e8fa4=await((_0x7f6430=this[_0x2308d7(0x42a)])==null?void 0x0:_0x7f6430[_0x2308d7(0x2ba)](_0x32b300));return _0x5e8fa4&&(_0x5e8fa4[_0x2308d7(0x4e8)]||_0x5e8fa4[_0x2308d7(0x4be)][_0x2308d7(0x205)]!==0x0)&&(_0x4a8a0c=_0x5e8fa4[_0x2308d7(0x260)]),_0x4a8a0c===0x0&&this[_0x2308d7(0x396)][_0x2308d7(0x2be)](_0x2308d7(0x2d7),_0x2308d7(0x2ac)),this[_0x2308d7(0x354)][_0x2308d7(0x369)](_0x32b300,_0x4a8a0c);}},_0x29391d[_0x210b79(0x27e)]=_0x43fa8b([_0x390a3f(0x0,_0x1553b4[_0x210b79(0x247)]),_0x390a3f(0x1,_0x1553b4[_0x210b79(0x2aa)](_0x489078[_0x210b79(0x2d9)])),_0x390a3f(0x2,_0x1553b4[_0x210b79(0x262)](_0x4200a1))],_0x29391d[_0x210b79(0x27e)]);var _0x461b4b=Object['getOwnPropertyDescriptor'],_0x218161=(_0x2d6dab,_0x30d839,_0x448e17,_0x2e64ac)=>{for(var _0x566c8b=_0x2e64ac>0x1?void 0x0:_0x2e64ac?_0x461b4b(_0x30d839,_0x448e17):_0x30d839,_0x9a1348=_0x2d6dab['length']-0x1,_0xcebbb7;_0x9a1348>=0x0;_0x9a1348--)(_0xcebbb7=_0x2d6dab[_0x9a1348])&&(_0x566c8b=_0xcebbb7(_0x566c8b)||_0x566c8b);return _0x566c8b;},_0x2def27=(_0xe5b848,_0x307f8c)=>(_0x4db8df,_0x2fdf30)=>_0x307f8c(_0x4db8df,_0x2fdf30,_0xe5b848);const _0xbd4a8=['image/png',_0x210b79(0x347),_0x210b79(0x3be),'image/gif',_0x210b79(0x1e7)],_0x33eab3=0x5*0x400*0x400,_0x1b4a92=_0x210b79(0x359),_0x197785=_0x210b79(0x3eb),_0x4f5d61='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x418344='/universer-api/file/{fileID}/sign-url';_0x29391d[_0x210b79(0x4bb)]=class{constructor(_0x5a1817,_0xee9e97,_0xcf7a3d){var _0x5e9454=_0x210b79;_0x3c9fd4(this,_0x5e9454(0x531),0x0),_0x3c9fd4(this,'_change$',new _0x430a82[(_0x5e9454(0x3cb))]()),_0x3c9fd4(this,_0x5e9454(0x344),this[_0x5e9454(0x23c)]),_0x3c9fd4(this,_0x5e9454(0x2a4),new Map()),(this[_0x5e9454(0x45f)]=_0x5a1817,this[_0x5e9454(0x439)]=_0xee9e97,this[_0x5e9454(0x268)]=_0xcf7a3d);}['setWaitCount'](_0x12d462){var _0x1ff39a=_0x210b79;this[_0x1ff39a(0x531)]=_0x12d462,this[_0x1ff39a(0x23c)][_0x1ff39a(0x35d)](_0x12d462);}['getImageSourceCache'](_0x2400a8,_0x1b2b1b){var _0x59d226=_0x210b79;if(_0x1b2b1b===_0x131e1b[_0x59d226(0x3a1)][_0x59d226(0x3af)]){const _0x19c180=new Image();return _0x19c180[_0x59d226(0x2ce)]=_0x2400a8,_0x19c180;}return this[_0x59d226(0x2a4)][_0x59d226(0x295)](_0x2400a8);}['addImageSourceCache'](_0x1c86b8,_0x2f6f15,_0x1e5ce8){var _0x451479=_0x210b79;_0x2f6f15===_0x131e1b[_0x451479(0x3a1)][_0x451479(0x3af)]||_0x1e5ce8==null||this[_0x451479(0x2a4)][_0x451479(0x4e1)](_0x1c86b8,_0x1e5ce8);}async[_0x210b79(0x49b)](_0x3965de){var _0x678f30=_0x210b79;try{const _0x54a81b=this['_replaceFileID'](this[_0x678f30(0x26d)](),''+_0x3965de),_0x32e6ec=(await this[_0x678f30(0x45f)][_0x678f30(0x295)](_0x54a81b))[_0x678f30(0x311)];if(_0x32e6ec[_0x678f30(0x432)]&&_0x32e6ec[_0x678f30(0x432)][_0x678f30(0x50d)]===_0x312a2a['OK']){const _0x1f9045=new URL(_0x32e6ec[_0x678f30(0x454)],this[_0x678f30(0x1f1)]())['toString']();return Promise[_0x678f30(0x4f0)](_0x1f9045);}return Promise[_0x678f30(0x477)](_0x32e6ec[_0x678f30(0x432)]);}catch(_0x143157){return Promise[_0x678f30(0x477)](_0x143157);}}async[_0x210b79(0x1ec)](_0x2eef56){var _0x49ce21=_0x210b79;let _0x43defb='';if(!_0xbd4a8['includes'](_0x2eef56[_0x49ce21(0x455)]))return this['_decreaseWaiting'](),Promise[_0x49ce21(0x477)](new Error(_0x131e1b['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x2eef56[_0x49ce21(0x533)]>_0x33eab3)return this['_decreaseWaiting'](),Promise[_0x49ce21(0x477)](new Error(_0x131e1b[_0x49ce21(0x444)][_0x49ce21(0x1df)]));try{const _0x3b721e=new FormData();_0x3b721e[_0x49ce21(0x290)](_0x49ce21(0x4ed),_0x2eef56);const _0x17ed3a=this['_univerInstanceService'][_0x49ce21(0x22e)](),_0x5580ea=_0x17ed3a==null?void 0x0:_0x17ed3a[_0x49ce21(0x415)]();if(!_0x5580ea)throw new Error(_0x49ce21(0x4e0));const _0x37d8ce=this[_0x49ce21(0x4b4)]()+_0x49ce21(0x2d1)+_0x2eef56[_0x49ce21(0x533)][_0x49ce21(0x1f2)]()+_0x49ce21(0x438)+_0x316aba['UnitEmbedded']+_0x49ce21(0x493)+encodeURIComponent(_0x5580ea),_0x38026d=await(await fetch(_0x37d8ce,{'method':'POST','body':_0x3b721e}))[_0x49ce21(0x2a1)]();if(typeof _0x38026d[_0x49ce21(0x43a)]!=_0x49ce21(0x44e))return this[_0x49ce21(0x27a)](),Promise[_0x49ce21(0x477)](new Error(_0x131e1b[_0x49ce21(0x444)][_0x49ce21(0x49d)]));_0x43defb=_0x38026d['FileId'];}catch{return this[_0x49ce21(0x27a)](),Promise[_0x49ce21(0x477)](new Error(_0x131e1b[_0x49ce21(0x444)][_0x49ce21(0x49d)]));}return new Promise((_0x4eaad8,_0x2ef54b)=>{const _0x2bb606=new FileReader();_0x2bb606['readAsDataURL'](_0x2eef56),_0x2bb606['onload']=_0x2c5dc6=>{var _0x7d55a6=_0x5719,_0x4f5dae;const _0x2e063b=(_0x4f5dae=_0x2c5dc6[_0x7d55a6(0x1d1)])==null?void 0x0:_0x4f5dae['result'];if(_0x2e063b==null){this['_decreaseWaiting'](),_0x2ef54b(new Error(_0x131e1b[_0x7d55a6(0x444)]['ERROR_IMAGE']));return;}const _0x561c73=_0x1553b4['Tools'][_0x7d55a6(0x253)](0x6);_0x4eaad8({'imageId':_0x561c73,'imageSourceType':_0x131e1b['ImageSourceType'][_0x7d55a6(0x2b1)],'source':_0x43defb,'base64Cache':_0x2e063b,'status':_0x131e1b[_0x7d55a6(0x444)]['SUCCUSS']}),this[_0x7d55a6(0x27a)]();};});}[_0x210b79(0x4b4)](){var _0x3ff78f=_0x210b79,_0x478128,_0x4a885d;const _0xed9e2=this[_0x3ff78f(0x439)][_0x3ff78f(0x372)](_0x1b4a92),_0x4bb913=this[_0x3ff78f(0x439)][_0x3ff78f(0x372)](_0x3d6319);return(_0x4a885d=(_0x478128=_0x4bb913==null?void 0x0:_0x4bb913['uploadFileServerUrl'])!=null?_0x478128:_0xed9e2)!=null?_0x4a885d:_0x197785;}[_0x210b79(0x26d)](){var _0x5f2f39=_0x210b79,_0x32a0b7,_0x172402;const _0x45342f=this[_0x5f2f39(0x439)]['getConfig'](_0x4f5d61),_0x2ff8ac=this[_0x5f2f39(0x439)][_0x5f2f39(0x372)](_0x3d6319);return(_0x172402=(_0x32a0b7=_0x2ff8ac==null?void 0x0:_0x2ff8ac[_0x5f2f39(0x53a)])!=null?_0x32a0b7:_0x45342f)!=null?_0x172402:_0x418344;}[_0x210b79(0x1f1)](){var _0x5e1c78=_0x210b79,_0x211b33;const _0x585142=this[_0x5e1c78(0x439)][_0x5e1c78(0x372)](_0x3d6319);return(_0x211b33=_0x585142==null?void 0x0:_0x585142['downloadEndpointUrl'])!=null?_0x211b33:location[_0x5e1c78(0x519)];}[_0x210b79(0x362)](_0x370d9,_0x2cbf2f){return _0x370d9['replace']('{fileID}',_0x2cbf2f);}[_0x210b79(0x27a)](){var _0x260494=_0x210b79;this[_0x260494(0x531)]-=0x1,this[_0x260494(0x23c)][_0x260494(0x35d)](this[_0x260494(0x531)]);}},_0x29391d[_0x210b79(0x4bb)]=_0x218161([_0x2def27(0x0,_0x1553b4['Inject'](_0x552ab4[_0x210b79(0x24b)])),_0x2def27(0x1,_0x1553b4[_0x210b79(0x1f5)]),_0x2def27(0x2,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4[_0x210b79(0x26c)]))],_0x29391d['CollaborationImageIoService']);var _0x13f054=Object[_0x210b79(0x225)],_0x15388f=(_0x2c3283,_0x4f9f2b,_0x3a9093,_0x374ae2)=>{for(var _0x386c2c=_0x374ae2>0x1?void 0x0:_0x374ae2?_0x13f054(_0x4f9f2b,_0x3a9093):_0x4f9f2b,_0x37aaad=_0x2c3283['length']-0x1,_0x2e7019;_0x37aaad>=0x0;_0x37aaad--)(_0x2e7019=_0x2c3283[_0x37aaad])&&(_0x386c2c=_0x2e7019(_0x386c2c)||_0x386c2c);return _0x386c2c;},_0x102a27=(_0x2064e0,_0x2dd946)=>(_0x5b2cd1,_0x3a8fa9)=>_0x2dd946(_0x5b2cd1,_0x3a8fa9,_0x2064e0);const _0x280ef7=_0x210b79(0x2b8);_0x29391d[_0x210b79(0x363)]=class{constructor(_0x382063,_0x43ba80){var _0x27eb0d=_0x210b79;this[_0x27eb0d(0x439)]=_0x382063,this[_0x27eb0d(0x4fb)]=_0x43ba80;}[_0x210b79(0x2fd)](){var _0x52bd8a=_0x210b79,_0x562c1b,_0x2f9615;const _0xd37e7b=this[_0x52bd8a(0x439)][_0x52bd8a(0x372)](_0x577cc9),_0x57136c=this[_0x52bd8a(0x439)][_0x52bd8a(0x372)](_0x3d6319);return(_0x2f9615=(_0x562c1b=_0x57136c==null?void 0x0:_0x57136c['authzUrl'])!=null?_0x562c1b:_0xd37e7b)!=null?_0x2f9615:_0x280ef7;}async['list'](_0x5d7e27){var _0x3dff52=_0x210b79;const _0x104093=this[_0x3dff52(0x2fd)]()+_0x3dff52(0x431);return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x104093,{'params':{'objectID':_0x5d7e27[_0x3dff52(0x3d4)],'unitID':_0x5d7e27[_0x3dff52(0x3d4)]}}))[_0x3dff52(0x311)][_0x3dff52(0x3e1)][_0x3dff52(0x1e9)](_0x134aea=>({'objectId':_0x134aea['id'],'name':_0x134aea[_0x3dff52(0x2c4)]['name'],'metadata':{'icon':_0x134aea[_0x3dff52(0x2c4)][_0x3dff52(0x1cc)]},'label':_0x134aea['subject'][_0x3dff52(0x49f)],'objectType':_0x1553b4[_0x3dff52(0x222)]['PERSON']})),'metadata':{},'type':_0x1553b4['MentionType'][_0x3dff52(0x437)]}]};}},_0x29391d[_0x210b79(0x363)]=_0x15388f([_0x102a27(0x0,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4['IConfigService'])),_0x102a27(0x1,_0x1553b4['Inject'](_0x552ab4[_0x210b79(0x24b)]))],_0x29391d[_0x210b79(0x363)]);var _0x7f991=Object[_0x210b79(0x225)],_0x541918=(_0x555bd9,_0x3baed0,_0x4d550c,_0x1a7eee)=>{var _0x3f8c63=_0x210b79;for(var _0x5c3f18=_0x1a7eee>0x1?void 0x0:_0x1a7eee?_0x7f991(_0x3baed0,_0x4d550c):_0x3baed0,_0x32aedf=_0x555bd9[_0x3f8c63(0x205)]-0x1,_0x51bcb1;_0x32aedf>=0x0;_0x32aedf--)(_0x51bcb1=_0x555bd9[_0x32aedf])&&(_0x5c3f18=_0x51bcb1(_0x5c3f18)||_0x5c3f18);return _0x5c3f18;},_0x1c0186=(_0x4bec44,_0x367a83)=>(_0x4194d4,_0x18daaf)=>_0x367a83(_0x4194d4,_0x18daaf,_0x4bec44);let _0x18e7d2=class extends _0x1553b4[_0x210b79(0x2c2)]{constructor(_0x123ff9,_0x21dd0b,_0x1966db,_0x4b33da,_0x4fc827){var _0x14df9a=_0x210b79;super(),this['_injector']=_0x123ff9,this[_0x14df9a(0x268)]=_0x21dd0b,this[_0x14df9a(0x39c)]=_0x1966db,this[_0x14df9a(0x49e)]=_0x4b33da,this[_0x14df9a(0x3c1)]=_0x4fc827,this[_0x14df9a(0x512)](),this[_0x14df9a(0x217)]();}[_0x210b79(0x217)](){var _0x2d086c=_0x210b79;const _0x2f604c=async _0x21f0f2=>{var _0x506740=_0x5719;(await this[_0x506740(0x49e)][_0x506740(0x532)](_0x21f0f2))['event$'][_0x506740(0x1dc)](_0x40cff2['filter'](_0x1dfd58=>_0x1dfd58[_0x506740(0x48b)]===_0x489078['CollaborationEvent'][_0x506740(0x3f8)]),_0x40cff2[_0x506740(0x31b)](this[_0x506740(0x4c9)]))[_0x506740(0x35a)](_0x513fb6=>{var _0x54850e=_0x506740;const _0x1c8543=_0x513fb6,{reason:_0x50ae3f}=_0x1c8543[_0x54850e(0x236)];this[_0x54850e(0x3c1)]['emitEvent']({'id':_0x5ee67c[_0x54850e(0x4c4)],'data':_0x50ae3f}),this[_0x54850e(0x39c)][_0x54850e(0x4c7)](new _0x23f2ac[(_0x54850e(0x2ad))](_0x21f0f2)['id'],!0x1),this[_0x54850e(0x49e)][_0x54850e(0x23a)](_0x21f0f2);});};_0x430a82[_0x2d086c(0x1f9)](this[_0x2d086c(0x268)][_0x2d086c(0x4c2)](_0x1553b4[_0x2d086c(0x24c)][_0x2d086c(0x407)]),this[_0x2d086c(0x268)][_0x2d086c(0x4c2)](_0x1553b4[_0x2d086c(0x24c)][_0x2d086c(0x200)]))[_0x2d086c(0x1dc)](_0x40cff2['map'](_0x4d7fa1=>_0x4d7fa1['getUnitId']()),_0x40cff2[_0x2d086c(0x4d8)](_0x798aa7=>!_0x1553b4['isInternalEditorID'](_0x798aa7)),_0x40cff2[_0x2d086c(0x31b)](this[_0x2d086c(0x4c9)]))['subscribe'](_0x4a890e=>{_0x2f604c(_0x4a890e);});}[_0x210b79(0x512)](){var _0x57d317=_0x210b79;const _0x27fa84=async _0x696bee=>{var _0x3ceb79=_0x5719;const _0x49e9cc=await this[_0x3ceb79(0x49e)][_0x3ceb79(0x532)](_0x696bee),_0xc26f64=this[_0x3ceb79(0x3c4)]['get'](_0x23f2ac['SheetPermissionInitController']);_0x49e9cc[_0x3ceb79(0x422)][_0x3ceb79(0x1dc)](_0x40cff2[_0x3ceb79(0x4d8)](_0x55d9c1=>_0x55d9c1['eventID']===_0x489078[_0x3ceb79(0x4cb)][_0x3ceb79(0x478)]),_0x40cff2['takeUntil'](this[_0x3ceb79(0x4c9)]))['subscribe'](_0x5c39c3=>{var _0x3429ac=_0x3ceb79;const _0x9d3336=_0x5c39c3,{objectId:_0x566424}=_0x9d3336[_0x3429ac(0x236)];_0x566424===_0x696bee?_0xc26f64[_0x3429ac(0x416)](_0x696bee):_0xc26f64[_0x3429ac(0x2c3)](_0x696bee,_0x566424);});};_0x430a82[_0x57d317(0x1f9)](this[_0x57d317(0x268)]['getTypeOfUnitAdded$'](_0x1553b4[_0x57d317(0x24c)][_0x57d317(0x407)]))['pipe'](_0x40cff2[_0x57d317(0x1e9)](_0x1df48f=>_0x1df48f[_0x57d317(0x415)]()),_0x40cff2[_0x57d317(0x4d8)](_0x58459c=>!_0x1553b4[_0x57d317(0x218)](_0x58459c)),_0x40cff2[_0x57d317(0x31b)](this['dispose$']))[_0x57d317(0x35a)](_0x534dca=>{_0x27fa84(_0x534dca);});}};_0x18e7d2=_0x541918([_0x1c0186(0x0,_0x1553b4['Inject'](_0x1553b4[_0x210b79(0x284)])),_0x1c0186(0x1,_0x1553b4['IUniverInstanceService']),_0x1c0186(0x2,_0x1553b4[_0x210b79(0x50c)]),_0x1c0186(0x3,_0x1553b4[_0x210b79(0x2aa)](_0x29391d[_0x210b79(0x4c3)])),_0x1c0186(0x4,_0x1553b4[_0x210b79(0x2aa)](_0xf12017))],_0x18e7d2);var _0x445f2a=Object[_0x210b79(0x225)],_0x252db6=(_0xa3d140,_0x594b8e,_0x10cb5b,_0x23651e)=>{var _0x3dceb5=_0x210b79;for(var _0x5cde91=_0x23651e>0x1?void 0x0:_0x23651e?_0x445f2a(_0x594b8e,_0x10cb5b):_0x594b8e,_0x546779=_0xa3d140[_0x3dceb5(0x205)]-0x1,_0x30e623;_0x546779>=0x0;_0x546779--)(_0x30e623=_0xa3d140[_0x546779])&&(_0x5cde91=_0x30e623(_0x5cde91)||_0x5cde91);return _0x5cde91;},_0x3fbbc6=(_0x1fe983,_0x35ad2e)=>(_0xf86c70,_0xfa995f)=>_0x35ad2e(_0xf86c70,_0xfa995f,_0x1fe983);_0x29391d[_0x210b79(0x356)]=class{constructor(_0x54cb23,_0x2e8466){var _0x5970c3=_0x210b79;this[_0x5970c3(0x439)]=_0x54cb23,this[_0x5970c3(0x45f)]=_0x2e8466;}async[_0x210b79(0x3de)](_0xf35bb6,_0x2ff48a){var _0x26f17e=_0x210b79,_0x3a9add;const {unitID:_0x162c55,type:_0x5c6648,revision:_0x382c81=0x0}=_0x2ff48a,_0x32078a=this[_0x26f17e(0x464)]()+'/'+_0x5c6648+_0x26f17e(0x4ef)+_0x162c55+_0x26f17e(0x3b3)+_0x382c81,_0x3ff49b=(await this[_0x26f17e(0x45f)][_0x26f17e(0x295)](_0x32078a))[_0x26f17e(0x311)],_0x112242=(_0x3a9add=_0x3ff49b[_0x26f17e(0x259)])==null?void 0x0:_0x3a9add[_0x26f17e(0x411)];if(_0x112242){const _0x29272c=_0x112242==null?void 0x0:_0x112242[_0x26f17e(0x397)],_0x29a254=_0x489078[_0x26f17e(0x508)]['encode'](_0x489078[_0x26f17e(0x211)](_0x29272c));_0x112242[_0x26f17e(0x397)]=_0x29a254,Object[_0x26f17e(0x4ba)](_0x112242[_0x26f17e(0x2cb)])['forEach'](([,_0x209bb1])=>{var _0x15a5d5=_0x26f17e;const _0x142ddd=_0x209bb1[_0x15a5d5(0x397)],_0x48c5f3=_0x489078[_0x15a5d5(0x508)][_0x15a5d5(0x482)](_0x489078[_0x15a5d5(0x211)](_0x142ddd));_0x209bb1['originalMeta']=_0x48c5f3;});}return _0x3ff49b;}async[_0x210b79(0x4f5)](_0x2bac5e,_0x158d7c){var _0x4be4f6=_0x210b79;const {unitID:_0x78acf,type:_0x18ca55,blockID:_0x588830}=_0x158d7c,_0x4c6021=this['_getAPIPrefix']()+'/'+_0x18ca55+_0x4be4f6(0x4ef)+_0x78acf+'/block/'+_0x588830;return(await this[_0x4be4f6(0x45f)][_0x4be4f6(0x295)](_0x4c6021))['body'];}async['getDeserializedSheetBlock'](_0x1deedc,_0x5959f8){var _0x23cadf=_0x210b79;const {unitID:_0x59d23e,type:_0x23feda,blockID:_0x305588}=_0x5959f8,_0xfe926d=this[_0x23cadf(0x3d6)]()+_0x23cadf(0x41a)+_0x23feda+_0x23cadf(0x4ef)+_0x59d23e+_0x23cadf(0x41a)+_0x305588;return(await this[_0x23cadf(0x45f)][_0x23cadf(0x295)](_0xfe926d))[_0x23cadf(0x311)];}async[_0x210b79(0x274)](_0x185498,_0x42ff3a){var _0x44ee74=_0x210b79;const {unitID:_0x599faa,type:_0x530fed,from:_0x2e9179,to:_0x34b231}=_0x42ff3a,_0x56eb66=this[_0x44ee74(0x3d6)]()+'/'+_0x530fed+'/unit/'+_0x599faa+_0x44ee74(0x383)+_0x2e9179+_0x44ee74(0x4e9)+_0x34b231;return(await this[_0x44ee74(0x45f)][_0x44ee74(0x295)](_0x56eb66))[_0x44ee74(0x311)];}[_0x210b79(0x464)](){var _0x2f1a27=_0x210b79,_0x50486c;return(_0x50486c=this[_0x2f1a27(0x439)][_0x2f1a27(0x372)](_0x3fa2ac))!=null?_0x50486c:this[_0x2f1a27(0x3d6)]();}[_0x210b79(0x3d6)](){var _0x1a36fd=_0x210b79,_0x50577a,_0x480454;const _0x35c190=this[_0x1a36fd(0x439)][_0x1a36fd(0x372)](_0x5cd098),_0x8ebefb=this['_configService'][_0x1a36fd(0x372)](_0x3d6319);return(_0x480454=(_0x50577a=_0x8ebefb==null?void 0x0:_0x8ebefb[_0x1a36fd(0x2cc)])!=null?_0x50577a:_0x35c190)!=null?_0x480454:_0x36ee3d;}async[_0x210b79(0x37f)](_0x5e5164,_0x5e895d){var _0x2acc6d=_0x210b79;const _0x77fe6e='/universer-api/snapshot/'+_0x5e895d[_0x2acc6d(0x455)]+'/unit/'+_0x5e895d[_0x2acc6d(0x4df)]+_0x2acc6d(0x25c);return(await this[_0x2acc6d(0x45f)]['get'](_0x77fe6e,{'params':{'resourceId':JSON[_0x2acc6d(0x448)](_0x5e895d[_0x2acc6d(0x2e0)])}}))[_0x2acc6d(0x311)];}[_0x210b79(0x420)](){var _0x2db22f=_0x210b79;throw new Error(_0x2db22f(0x1e0));}[_0x210b79(0x2e5)](){var _0xd4a36e=_0x210b79;throw new Error(_0xd4a36e(0x1e0));}[_0x210b79(0x1f0)](){var _0x102fe1=_0x210b79;throw new Error(_0x102fe1(0x1e0));}[_0x210b79(0x22d)](){var _0x2faced=_0x210b79;throw new Error(_0x2faced(0x1e0));}[_0x210b79(0x32c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x29391d['SnapshotServerOverHTTPService']=_0x252db6([_0x3fbbc6(0x0,_0x1553b4[_0x210b79(0x1f5)]),_0x3fbbc6(0x1,_0x1553b4[_0x210b79(0x2aa)](_0x552ab4[_0x210b79(0x24b)]))],_0x29391d[_0x210b79(0x356)]);var _0x4d0541=Object[_0x210b79(0x225)],_0x32174d=(_0x2fad12,_0x4447ef,_0x75e9e2,_0x5098b9)=>{var _0x579273=_0x210b79;for(var _0x49944e=_0x5098b9>0x1?void 0x0:_0x5098b9?_0x4d0541(_0x4447ef,_0x75e9e2):_0x4447ef,_0x54e8ca=_0x2fad12[_0x579273(0x205)]-0x1,_0x25c666;_0x54e8ca>=0x0;_0x54e8ca--)(_0x25c666=_0x2fad12[_0x54e8ca])&&(_0x49944e=_0x25c666(_0x49944e)||_0x49944e);return _0x49944e;},_0xa1cd3e=(_0x17bd00,_0x1337e1)=>(_0x3dbe46,_0x5887e9)=>_0x1337e1(_0x3dbe46,_0x5887e9,_0x17bd00);_0x29391d[_0x210b79(0x4a9)]=class extends _0x1553b4[_0x210b79(0x1f3)]{constructor(_0x2ed416,_0x3c03ee,_0x1008af,_0xcf71ed,_0x4b0eda){var _0x21ca32=_0x210b79;super(_0x2ed416,_0x3c03ee,_0x1008af),this['_transformService']=_0xcf71ed,this[_0x21ca32(0x396)]=_0x4b0eda;}[_0x210b79(0x4db)](_0x3c98d0,_0x4f5437){var _0xbd7f23=_0x210b79;const _0x249471=this[_0xbd7f23(0x445)](_0x3c98d0);if(_0x249471)try{const _0x17628e=this['_transformStack'](_0x249471,_0x4f5437);this[_0xbd7f23(0x401)](_0x3c98d0,_0x17628e);}catch(_0xf154e7){this[_0xbd7f23(0x396)][_0xbd7f23(0x432)](_0xbd7f23(0x2bf),_0xf154e7),this[_0xbd7f23(0x391)](_0x3c98d0);}const _0x14f432=this[_0xbd7f23(0x473)](_0x3c98d0);if(_0x14f432)try{const _0x12b289=this['_transformStack'](_0x14f432,_0x4f5437);this[_0xbd7f23(0x3f4)](_0x3c98d0,_0x12b289);}catch(_0x50431f){this[_0xbd7f23(0x396)][_0xbd7f23(0x432)](_0x50431f),this[_0xbd7f23(0x2ca)](_0x3c98d0);}}[_0x210b79(0x391)](_0x291a4b){var _0x437dc6=_0x210b79;const _0x68eade=this[_0x437dc6(0x445)](_0x291a4b);_0x68eade&&(_0x68eade[_0x437dc6(0x205)]=0x0,this[_0x437dc6(0x2a2)]());}[_0x210b79(0x2ca)](_0x2ba58a){var _0x2f69f1=_0x210b79;const _0x29fd72=this[_0x2f69f1(0x473)](_0x2ba58a);_0x29fd72&&(_0x29fd72[_0x2f69f1(0x205)]=0x0,this[_0x2f69f1(0x2a2)]());}[_0x210b79(0x401)](_0x257693,_0x2f115d){var _0x138d0b=_0x210b79;this['_undoStacks'][_0x138d0b(0x4e1)](_0x257693,_0x2f115d),this[_0x138d0b(0x2a2)]();}[_0x210b79(0x3f4)](_0x232df4,_0x1c6183){var _0x5e1646=_0x210b79;this[_0x5e1646(0x4a6)][_0x5e1646(0x4e1)](_0x232df4,_0x1c6183),this['_updateStatus']();}[_0x210b79(0x294)](_0x209cfe,_0x37d31b){var _0x5a38bb=_0x210b79;const _0x2d39ad=[];let _0x423cc8=_0x37d31b,_0x1dbbed=_0x37d31b;for(let _0x3d0252=_0x209cfe[_0x5a38bb(0x205)]-0x1;_0x3d0252>=0x0;_0x3d0252--){const {unitID:_0x131dab,undoMutations:_0x241e80,redoMutations:_0x4197bd}=_0x209cfe[_0x3d0252],_0x234b1b=this[_0x5a38bb(0x23f)][_0x5a38bb(0x528)](_0x423cc8,_0x241e80),_0x164915=this[_0x5a38bb(0x23f)][_0x5a38bb(0x528)](_0x1dbbed,_0x4197bd);if(_0x489078[_0x5a38bb(0x4d7)](_0x234b1b)||_0x489078[_0x5a38bb(0x4d7)](_0x164915)){this[_0x5a38bb(0x396)][_0x5a38bb(0x432)](_0x5a38bb(0x2bf),_0x5a38bb(0x207),_0x234b1b,_0x164915);break;}_0x423cc8=_0x234b1b[_0x5a38bb(0x4b2)],_0x1dbbed=_0x164915[_0x5a38bb(0x4b2)],_0x2d39ad[_0x5a38bb(0x3b0)]({'unitID':_0x131dab,'undoMutations':_0x234b1b[_0x5a38bb(0x442)],'redoMutations':_0x164915[_0x5a38bb(0x442)]});}return _0x2d39ad['reverse']();}},_0x29391d[_0x210b79(0x4a9)]=_0x32174d([_0xa1cd3e(0x0,_0x1553b4[_0x210b79(0x26c)]),_0xa1cd3e(0x1,_0x1553b4[_0x210b79(0x461)]),_0xa1cd3e(0x2,_0x1553b4['IContextService']),_0xa1cd3e(0x3,_0x489078[_0x210b79(0x26b)]),_0xa1cd3e(0x4,_0x1553b4[_0x210b79(0x247)])],_0x29391d[_0x210b79(0x4a9)]);var _0x5c27f3=Object[_0x210b79(0x2ea)],_0x120dd4=Object[_0x210b79(0x225)],_0x528675=(_0x173305,_0x35fdfd,_0x4b2be8)=>_0x35fdfd in _0x173305?_0x5c27f3(_0x173305,_0x35fdfd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b2be8}):_0x173305[_0x35fdfd]=_0x4b2be8,_0x473c6e=(_0x21c565,_0x38c4e9,_0x4fadf6,_0x57ceff)=>{var _0x1c3e25=_0x210b79;for(var _0x3c1b3e=_0x57ceff>0x1?void 0x0:_0x57ceff?_0x120dd4(_0x38c4e9,_0x4fadf6):_0x38c4e9,_0xee15d3=_0x21c565[_0x1c3e25(0x205)]-0x1,_0x52fe8b;_0xee15d3>=0x0;_0xee15d3--)(_0x52fe8b=_0x21c565[_0xee15d3])&&(_0x3c1b3e=_0x52fe8b(_0x3c1b3e)||_0x3c1b3e);return _0x3c1b3e;},_0x112ec3=(_0x271b94,_0xb3ccb9)=>(_0x1a8cd7,_0x4b781a)=>_0xb3ccb9(_0x1a8cd7,_0x4b781a,_0x271b94),_0x40b359=(_0x37519b,_0x1cf74b,_0x112e39)=>_0x528675(_0x37519b,_0x1cf74b+'',_0x112e39);const _0x4a9122='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x29391d[_0x210b79(0x4e4)]=class extends _0x1553b4['Plugin']{constructor(_0x518195,_0x547c19,_0x503b2e,_0xf31447){var _0x1f81b1=_0x210b79;super(),_0x3c9fd4(this,_0x1f81b1(0x2e8)),(this[_0x1f81b1(0x396)]=_0x547c19,this[_0x1f81b1(0x3c4)]=_0x503b2e,this['_configService']=_0xf31447);const {..._0x537aa0}=_0x1553b4[_0x1f81b1(0x1f9)]({},_0x2de2fa,_0x518195);if(!_0x537aa0['socketService'])throw new Error(_0x1f81b1(0x4d3));this[_0x1f81b1(0x2e8)]=_0x537aa0,this[_0x1f81b1(0x439)]['setConfig'](_0x3d6319,_0x537aa0);}[_0x210b79(0x25b)](){var _0x4c350a=_0x210b79;this[_0x4c350a(0x30b)](),this['_initDependencies']();}[_0x210b79(0x30b)](){var _0x47b7e4=_0x210b79,_0x5dbb92,_0x3a8aad;this[_0x47b7e4(0x3c4)][_0x47b7e4(0x36d)](_0x1553b4[_0x47b7e4(0x3da)])&&this['_logService']['error'](_0x47b7e4(0x423),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5bffe9=_0x1553b4[_0x47b7e4(0x32b)]([[_0x1553b4['IUndoRedoService'],{'useClass':_0x29391d[_0x47b7e4(0x4a9)]}],[_0x29391d['CollaborationSessionService']],[_0x29391d[_0x47b7e4(0x42c)]],[_0x29391d['SheetTransformSelectionsService']],[_0xe801e2],[_0x3c05dd],[_0x5dbfc],[_0x18e7d2],[_0xf12017],[_0x29391d['DataLoaderService']],[_0x196ccb,{'useClass':this[_0x47b7e4(0x2e8)][_0x47b7e4(0x1e8)]}],[_0x489078[_0x47b7e4(0x523)],{'useClass':_0x29391d[_0x47b7e4(0x356)]}],[_0x1553b4[_0x47b7e4(0x47c)],{'useClass':_0x29391d[_0x47b7e4(0x382)]}],[_0x131e1b[_0x47b7e4(0x203)],{'useClass':_0x29391d['CollaborationImageIoService']}],[_0x1553b4[_0x47b7e4(0x4b5)],{'useClass':_0x29391d[_0x47b7e4(0x363)]}],[_0x29391d['CollaborationController']],[_0x296907]],(_0x5dbb92=this[_0x47b7e4(0x2e8)])==null?void 0x0:_0x5dbb92[_0x47b7e4(0x232)]);if(!((_0x3a8aad=this[_0x47b7e4(0x2e8)])!=null&&_0x3a8aad['enableSingleActiveInstanceLock'])){const _0x41a20f=_0x5bffe9[_0x47b7e4(0x29e)](([_0x30117e])=>_0x30117e===_0x4d61f4);_0x41a20f!==-0x1&&_0x5bffe9['splice'](_0x41a20f,0x1);}_0x1553b4[_0x47b7e4(0x42b)](this[_0x47b7e4(0x3c4)],_0x5bffe9);}['_initDependencies'](){var _0x1a770a=_0x210b79,_0x24676f,_0x4df0b6,_0x2c1e7d;this[_0x1a770a(0x3c4)]['get'](_0x552ab4[_0x1a770a(0x24b)])[_0x1a770a(0x3e0)]({'priority':0x14,'interceptor':_0x552ab4[_0x1a770a(0x4da)]({'maxParallel':0x6})}),(_0x24676f=this[_0x1a770a(0x2e8)])!=null&&_0x24676f[_0x1a770a(0x28d)]||(_0x4df0b6=this['_injector'][_0x1a770a(0x295)](_0x4200a1,_0x1553b4[_0x1a770a(0x3f5)]['OPTIONAL']))==null||_0x4df0b6[_0x1a770a(0x318)](),(_0x2c1e7d=this[_0x1a770a(0x2e8)])!=null&&_0x2c1e7d[_0x1a770a(0x273)]&&_0x1553b4[_0x1a770a(0x1f7)](this['_injector'],[[_0xe801e2]]),_0x1553b4[_0x1a770a(0x1f7)](this['_injector'],[[_0x3c05dd],[_0x29391d[_0x1a770a(0x33d)]],[_0x18e7d2]]);}},_0x40b359(_0x29391d[_0x210b79(0x4e4)],_0x210b79(0x405),_0x4a9122),_0x29391d[_0x210b79(0x4e4)]=_0x473c6e([_0x1553b4[_0x210b79(0x3a5)](_0x489078['UniverCollaborationPlugin'],_0x552ab4['UniverNetworkPlugin']),_0x112ec3(0x1,_0x1553b4[_0x210b79(0x247)]),_0x112ec3(0x2,_0x1553b4[_0x210b79(0x2aa)](_0x1553b4[_0x210b79(0x284)])),_0x112ec3(0x3,_0x1553b4['IConfigService'])],_0x29391d[_0x210b79(0x4e4)]),_0x29391d[_0x210b79(0x2f6)]=_0x577cc9,_0x29391d[_0x210b79(0x535)]=_0x3d6319,_0x29391d[_0x210b79(0x4f2)]=_0x495272,_0x29391d[_0x210b79(0x327)]=_0x54aa30,_0x29391d[_0x210b79(0x2f4)]=_0x27628f,_0x29391d[_0x210b79(0x4d6)]=_0x5ee67c,_0x29391d['CollaborationUIEventService']=_0xf12017,_0x29391d[_0x210b79(0x322)]=_0x5dbfc,_0x29391d[_0x210b79(0x2c5)]=_0x3f7a1f,_0x29391d['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x2a8e75,_0x29391d[_0x210b79(0x2fe)]=_0x221276,_0x29391d[_0x210b79(0x36f)]=_0x3264b7,_0x29391d[_0x210b79(0x41e)]=_0x1bc3b7,_0x29391d[_0x210b79(0x270)]=_0x196ccb,_0x29391d['ILocalCacheService']=_0x4200a1,_0x29391d[_0x210b79(0x35c)]=_0x3d3223,_0x29391d[_0x210b79(0x257)]=_0x4d61f4,_0x29391d[_0x210b79(0x31a)]=0x3e8,_0x29391d[_0x210b79(0x275)]=_0xa78240,_0x29391d[_0x210b79(0x3cd)]=_0x34ffb2,_0x29391d[_0x210b79(0x350)]=_0x356191,_0x29391d[_0x210b79(0x3f9)]=_0x1af80d,_0x29391d[_0x210b79(0x302)]=_0x512661,_0x29391d[_0x210b79(0x281)]=_0x5cd098,_0x29391d['SNAPSHOT_URL_KEY']=_0x3fa2ac,_0x29391d[_0x210b79(0x4f8)]=_0x543e60,_0x29391d[_0x210b79(0x227)]=_0x56f2ce,_0x29391d[_0x210b79(0x51d)]=_0x5875f7,_0x29391d[_0x210b79(0x435)]=_0x3109ca,_0x29391d[_0x210b79(0x53d)]=_0x2d1c2d,Object[_0x210b79(0x2ea)](_0x29391d,Symbol['toStringTag'],{'value':'Module'});}));