@univerjs-pro/collaboration-client 0.6.10-experimental.20250427-89a0949 → 0.6.10-experimental.20250428-261c0dd

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 _0x37ea(){var _0x2949b8=['default','SheetsSelectionsService','UniverProLicense','_startCollaboration','subject','exports','IImageIoService','_roomCreated$','IDLE','find','c1Prime','_revisionService','[CollaborationSession]','204762urbcOk','_telemetryInfo','unitId','getValue','resend','awaiting','_createHmacHelper','sid','getWorkbookSelections','save\x20fail\x20reason\x20is\x20','_ENC_XFORM_MODE','?size=','slice','shouldCloseConn','file','MergeInterceptorFactory','_commentService','UPDATE_CURSOR','sigBytes','_fetchMissChangesets','type','pad','onTransformRemoteChangesetByIMECache','encode','_transformStack','loadOfflineData','onRemoteAck','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','UniverSheets','getUnit','IUndoRedoService','_univerInstanceService','reconnect','SetSelectionsOperation','result','\x0aAfter:\x20','reject','capture','_initDependencies','_listenToNetworkCondition','RichTextEditingMutation','INetworkConditionService','url','Univer','complete','getOwnPropertyDescriptor','collaboration-client.config','_checkMissing','userID','_schedule','DisposableCollection','getCollabEntity','/new_changes','IUniverInstanceService','/collaborator','ws://127.0.0.1:8000/universer-api/comb/connect','headers','min','charAt','_getUploadFileURL','padding','HTTPService','workbook','avatar','emitEvent','_substituteUndoStack','HTTPRequest','LICENSE_EXPORT_SIZE_EXCEEDED','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','LICENSE_IMPORT_SIZE_EXCEEDED','close$','CompressMutationService','_keySchedule','_registerDependencies','extend','OfflineState','&to=','getUnitType','_onJoinRoomEvent','_joinRoom','debug','byteLength','editing\x20status\x20changed\x20to','getLatestCsReqIdBySid','SHOULD_CLOSE_CONN','signUrlServerUrl','LICENSE_MAX_UNITS_EXCEEDED','confirm','_transitionLocked','MSG_FOR_ERROR','getInterceptPoints','method','_getCtorByUniverType','HEARTBEAT_INTERVAL_KEY','@univerjs/core','RxDisposable','clamp','/role','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','HmacMD5','_onRemoteACK','take','UniverInstanceType','WorkbookEditablePermission','_getLoginPath','ITransformService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_toggleOnline','_toggleOffline','Subject','onTransformState','equals','LocaleService','unknown','blockSize','_createInitialStateImpl','readInt32LE','ICollaborationSocketService','PendingState','CollaborationSessionService','SheetPermissionInitController','923352WcjQRt','changesets','awaitingChangeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','error$','transformStack\x20failed!','SheetTransformSelectionsService','selections','_unitID','telemetry\x20info\x20is\x20not\x20initialized','pipe','_shouldReportTelemetry','[SyncedState]:\x20received\x20rejection.','getCurrentRevOfUnit','fetchMissingChangesets','UNIVER_COLLABORATION_CLIENT_PLUGIN','Malformed\x20UTF-8\x20data','updateCursorEvent','_doCryptBlock','_onUserLeave','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','rxjs/operators','resourceIDs','_collaborationSessionService','SyncedState','isPermissionRej','SOCKET_FAILED_RETRY','random','_onRemoteChangeset','leaveEvent','ITelemetryService','onTransformSelections','isTransformMutationsWithChangesetSuccess','image/bmp','OTHER_CLIENTS_EDITING','delete','StreamCipher','status$','_doReset','_waitForHeartbeatResponse','Disposable','send','CollaborationController','_initUnitPermissionChange','CONNECTOR_DATA_TOO_LARGE','_clearTimeoutTimer','$super','Base64','_sendingTimer','APPLY_NON_SEQUENTIAL_REVISION','POST','failed\x20to\x20apply\x20missed\x20changesets!','_init','format','_emitMembers','readyForCollab','_entityInit$','APPLY_DUPLICATED','isArray','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_commentUpdate$','onRemoteRej','_replaceFileID','_resendTimeout','AES','_reverseMap','_sendHeartbeatTimer','sequenceExecute','YUUMI_SUBSCRIPTION_NOT_FOUND','asObservable','routeKey','fromCharCode','Optional','getSnapshotAPIPath','_onConnectionOpen','UniverNetworkPlugin','@univerjs/drawing','randomUUID','unit-cache-','from','__Key__','deepClone','/fetchmissing?from=','YUUMI_ASYNCIO_CANCELLED','firstValueFrom','ThresholdInterceptorFactory','_updateState','rev','/universer-api/authz','__esModule','CollaborationEvent','UNAUTHENTICATED','iterations','RECV','href','_process','UniverNetwork','error','_prevBlock','EMAIL_HAS_BEEN_BOUND','IAuthzIoService','_rescheduleHeartbeat','MentionType','max','OPTIONAL','_getAPIPrefix','code','name','startTime','YUUMI_RATE_OVER_LIMIT','SEND_CHANGESET_TIMEOUT','subscribe','_decreaseWaiting','hasOwnProperty','getAllMembers','_removeRoom','[DataLoaderService]','csRejEvent','CHANGESET_REVISION_CONFILICT','_entities','_transformRemoteChangesetByIMECache','onTransformRemoteChangesetByStateCache','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_getSendChangesetTimeout','encrypt','getSheetId','_onRemoteRejected','commentUpdate$','FETCH_MISSING','unitInfo$','unsubscribe','getMemberID','HttpImport','[OfflineState]:\x20received\x20rejection.','?url=','_onOffline','_createSocket','SOCKET_FAILED','_socket','fromCollab','MemberService','_createHelper','copyFileMeta','_createHandler','JOIN_ROOM_FAILED','_replayCachedMutations','registerHTTPInterceptor','DataLoaderService','stopTime','CommentService','_onCombEvent','hasher','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','dispose','listRoles','collaborators','sin','EvpKDF','ConflictState','FAIL','UniverCollaborationPlugin','BlockCipher','LIVESHARE_TERMINATE','_getCurrentRevision','Decryptor','UnitEmbedded','newCsEvent','create','HMAC','_HTTPService','_userManagerService','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_change$','getRandomValues','parse','_minBufferSize','findIndex','parseChangesetToProtocol','YUUMI_NO_CUBOID_FOR_QUESTION','UniverCollaborationClientPlugin','revision','_syncEditingCollabCursor','_roomMembers','socketService','Rectangle','_nRounds','shareReplay','SnapshotServerOverHTTPService','pluginName','_transformRemoteChangesetByStateCache','deleteCollaborator','params','roles','downloadEndpointUrl','forEach','sendChangesetTimeout','onRemoteRetry','Error\x20on\x20receiving\x20event','_resendWithTimeout','[CollaborationEntity]','disposeWithMe','Tools','_loadDoc','COMPLETION_FINISHED','CollaborationStatus','getSheetBlock','parseProtocolChangeset','getUnitOnRev','_members','incrementRevOfUnit','listCollaborators','AwaitingState','filter','_retryCount','_map','DocCollaborationEntity','_incrementRevisionNumber','BehaviorSubject','charCodeAt','loginUrlKey','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','length','sessionStatus','univer-pro.collaboration-client.single-active-unit-service','reset','catch','_resendTimer','memberID','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_transformStateCache','BASE64','allowed','_undoRedoService','baseRev','WordArray','appendMutation','_collaborationTimeoutTimer','add','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_xformMode','INVALID_ARGUMENT','getConfig','reqId','actions','image/png','SNAPSHOT_INVALID_SNAPSHOT','WECHAT_HAS_BEEN_BOUND','offline','floor','session.room-not-exists','[CollaborationSessionService]','_unlockTransition','auth.needGotoLoginAlert','message$','csAckEvent','/unit/','_transformSelections','not_collab','_executeRemoteChangeset','_awaitingChangeset','textEncoder','_initCloseConn','unitID','HEARTBEAT_TIMEOUT','fetch_missing','_clearRetryConnectingTimer','transformMutationsWithChangeset','onMissingChangesets','_lockTransition','range','onSendChangeset','append','collaboratorID','amd','focused$','_status$','registerDependencies','unpad','createIdentifier','updateMember','CommandType','_sender','editingUnit','joinRsp','YUUMI_UNABLE_LOAD_URL','createEncryptor','5LSTbRD','entityInit$','setConfig','replace','RevisionService','_config','target','_sheetTransformSelectionsService','UserManagerService','isInternalEditorID','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_iv','Failed\x20to\x20update\x20permission\x20point','ivSize','_sessionStatus$','HttpExport','PERSON','duration','ceil','_collaborationUIEventService','_hasher','function','Could\x20not\x20dynamically\x20require\x20\x22','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','Module','saveChangeset','collaboration-client.local-cache-service','SEND_CHANGESET_TIMEOUT_KEY','substr','DEFAULT_WS_SESSION_TICKET_URL','permissionRejEvent','COMPRESS_MUTATION_SEND','Latin1','session.room-permission-denied','LIVESHARE_REQUEST_HOST','retryConnectingInterval','JOIN','UNISCRIPT_RUN','IConfigService','InsertSheetMutation','_members$','object','\x20to\x20','getDeserializedSheetBlock','data','_getSignURL','_socket$','onStateChange','SNAPSHOT_URL_KEY','473572IdmYGL','eventID','ILogService','list','mutations','action','_httpService','reverse','_type','_commandService','_onUserJoin','connection\x20error','getActiveSheet','_startTelemetryCollaborationNewChangeset','/object','_isPermissionRej','randomBytes','mergeOverrideWithDependencies','ImageUploadStatusType','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_sendHeartbeat','SheetCollaborationEntity','UNIVER_SLIDE','members$','saveImage','onlyLocal','_doFinalize','pauseCollaboration','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','image/jpg','UNIVER_UNKNOWN','src','USERS_ENTER','localCacheService','RETRY_CONNECTING_MAX_COUNT','_changesetSessionId','uniscriptRunEvent','status','__creator','MentionIoHttpService','sheets','_event$','mapDocumentTypeToUniverType','close','finalize','_imageSourceCache','state$','LIVESHARE_FETCH_OPERATIONS','_socketReady','APPLY_PERMISSION_DENIED','_append','YUUMI_URL_COL_OUT_OF_RANGE','setCurrentUser','Hasher','SUBMIT_CHANGESET','_transformService','NO_OTHER_CLIENTS_EDITING','_onLocalMutation','UNIVER_PROJECT','toggleOffline','NoPadding','getCurrentUser','_socketService','_oKey','SHA1','COLLAB_WEB_SOCKET_URL_KEY','SNAPSHOT_HAS_BEEN_REMOVED','AwaitingWithPendingState','synced','_onFetchMissResult','ONLINE','waitForRoom$','AuthzIoHttpService','/allowed','image/jpeg','values','get','JOIN_ROOM_NOT_EXISTS','INVITE_CODE_ALREADY_BOUND','UNIVER_DOC','3440584HQyAhx','LIVESHARE_NEW_HOST','Utf8','originalMeta','[CollaborationUndoRedoService]','_redoStacks','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','DEFAULT_COLLAB_WEB_SOCKET_URL','getTime','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','set','_clearLocalCache','collaboration_new_changeset','CollaborationImageIoService','clear','pending','_createInitialState','call','Inject','fetchThroughInterceptors','_memberService','closeSession','objectID','transformSelections','serializeCombRequest','_keyPriorReset','join','setShowComponents','cmd','/universer-api/snapshot/','_tryEnsureSocket','every','_retryConnectingTimer','_state$','CLOSE_ROOM','_onRecvEvent','_waitCount','_injector','_initRequestHeader','_applyRemoteChangeset','COMPRESS_MUTATION_APPLY','INVITE_CODE_REQUIRED','now','setWaitCount','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','OFFLINE','_acknowledgedAwaitingChangeset','_exhaustRemoteChangesetQueue','6787377BCngIY','_pendingMutations','_showConflictNotification','decryptBlock','rng','deserializeToCombResponse','_getRedoStack','@univerjs/telemetry','Undefined','_permissionService','Base','enableAuthServer','onStarting','LOCAL_CACHE_INTERVAL_KEY','concat','CONFLICT','defineProperty','encryptBlock','APPLY_REJECT','SNAPSHOT_SERVER_URL_KEY','transformChangesets','members','/object/','LEAVE','isTransformChangesetsSuccess','operators','DependentOn','_clearUndo','image/gif','compute','HEARTBEAT','getResourcesRequest','createInstance','buffer','cfg','ICommandService','JOIN_ROOM_PERMISSION_DENIED','words','_socketMessageSubscription','authzUrl','uploadFileServerUrl','socket$','@univerjs/network','_compressMutationService','clone','mixIn','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_initMergeInterceptor','Cipher','event$','refreshPermission','getTypeOfUnitAdded$','_onMessage','getUnitId','_submitChangeset','sessionStatus$','UNKNOWN_CMD','_collaborationPaused','crypto','delay','_disableEditing','[SyncedState]:\x20received\x20acknowledgement.','/block/','merge','collaMsg','update','@univerjs-pro/collaboration','_transformIMECache','CHANGESET_REJ','ReplaySubject','fetchMiss','then','univer-pro.collaboration-client.network-condition.service','BufferedBlockAlgorithm','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getTypeOfUnitDisposed$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SUBMIT_CHANGESET_TIMEOUT','NOT_COLLAB','LOGIN_URL_KEY','CollaborationSocketService','map','_scheduleCollaborationTimeoutTimer','_handler','formatter','[UniverCollaborationClientPlugin]','lib','UNKNOWN_CODE','_clearHeartbeatTimer','session','_telemetryService','CBC','_scheduleCompleteTimestamp','FileId','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','/universer-api/stream/file/upload','_localeService','&assign=','json','_updateLocalCache','INVALID_INVITE_CODE','PY_RUNTIME_SCRIPT_ERROR','PERMISSION_DENIED','HmacSHA1','session.room-full','symbol','ISocketService','_state','post','_remoteChangesetQueue','toString','_loadSheet','_timeoutTimer','csShouldRetryEvent','disableLocalCache','_updateStatus','UnitStatus','location','_cipher','COLLAB_SUBMIT_CHANGESET_URL_KEY','unitId\x20is\x20not\x20found','FetchingMissState','enc','LocalUndoRedoService','responseType','IPermissionService','ciphertext','_snapshotService','UPDATE_PERMISSION_OBJ','/universer-api/user/session-ticket','put','updateOfflineData','collabSubmitChangesetUrl','ALREADY_EXISTS','_queuedRemoteChangesets','CipherParams','fetching\x20missing\x20changesets\x20from\x20','\x20-\x20','CollaborativeUndoRedoService','getRoom','change$','_configService','_onConflict','CHANGESET_ACK','UNIVER_SHEET','conflict','_singleActiveUnitService','loadUnit','updatePermissionPoint','Workbook','repeat','UniverProCollaboration','/universer-api/file/{fileID}/sign-url','createSocket','onLocalMutation','MD5','m2Prime','ERROR_IMAGE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','has','toLowerCase','_invKeySchedule','Injector','LOCAL_CACHE_INTERVAL','[FetchMissState]','CollaborationUIEventService','collabWebSocketUrl','15154843DAjmMH','_data','PasswordBasedCipher','FETCH_MISS','_networkConditionService','68509rRZbut','splice','body','batchAllowed','onSyncEditingCollabCursor','21fkHiGS','keySize','updateCollaborator','session.join-failed','requestParams','_eventService','USER_NOT_INVITED_CODE','objectType','dispose$','_candidateSocket','algo','onTransformIME','ILocalCacheService','_DEC_XFORM_MODE','ISingleActiveUnitService','_key','snapshotServerUrl','\x0aCurrent:\x20','OpenSSL','toDisposable','NOT_FOUND','_instanceService','push','onMissedChangesetFetched','UserProfileImg','@univerjs/sheets','UNDEFINED','SnapshotService','HELLO','SUCCUSS','isTransformMutationsWithChangesetFailure','UniverTelemetry','RETRY_CONNECTING_MAX_COUNT_KEY','_snapshotServerService','liveShareNewHost','_clearScheduledTask','@univerjs/docs','takeUntil','_hash','_stopTelemetryCollaborationNewChangeset','MUTATION','toggleOnline','GLOBAL_ROOMS_CNT_EXCEEDS','_tryReconnect','initWorkbookPermissionChange','[PendingState]:\x20received\x20rejection.','Encryptor','LIVESHARE_OPERATION','_localCacheService','getGlobalObject','init','_throwTelemetryCollaborationNewChangeset','_onConnectionFailed','_logService','enableOfflineEditing','key','getMember','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_changesetReqId','_sessions','ENSURE_SNAPSHOT_EXECUTION','string','_mode','getCollabEntity$','compose','_iKey','_getUndoStack','_unitInfo$','INTERNAL_ERROR','putCollaborators','{fileID}','APPLY_REVISION_CONFILICT','BlockCipherMode','_nDataBytes','LICENSE_DISTRO_REJECTED','onRemoteChangeset','AUTHZ_URL_KEY','objectActions','prototype','USERS_LEAVE','NEW_CHANGESETS','patch','apply','Quantity','PERMISSION_REJ','MOBILE_HAS_BEEN_BOUND','10UPohpi','OTHER_CLIENT_EDITING','UnitSnapshot','_collabSessionService','interceptor','SerializableCipher','onCommentUpdate','LOGIN_FAILED','UniverDrawing','[CollaborationState]:\x20apply\x20error!','_clearCollaborationTimeoutTimer','requireSession','UUID','stringify','textRanges','bind','objects','transformUndoRedo','readAsDataURL','salt','withCredentials','/-/object/list','subUnitId','size','JOIN_ROOM_FULL','rxjs','INVITE_CODE_HAS_BEEN_UES','CollaborationSession','_getAPIPrefixPath','abs','UNRECOGNIZED','_handlerCallback','localeService','[CollaborationSessionService]:\x20socket\x20error','CHANGESET_SHOULD_RETRY','processBlock','@univerjs-pro/license','INGEST','removeMember','univer-pro.collaboration-client-socket-service','CollaborationEntity','People','next','[PendingState]:\x20received\x20acknowledgement.','getCurrentSelections','open$','b64DecodeUnicode','498jrEKrw','/-/object/-/batch_allowed','TOO_MANY_REQUESTS','ImageSourceType','commentUpdateEvent','execute','[OfflineState]:\x20received\x20changeset.','COMMENT_UPDATE','executeCommand'];_0x37ea=function(){return _0x2949b8;};return _0x37ea();}function _0x2939(_0x37a0a2,_0x42f846){var _0x37ea7e=_0x37ea();return _0x2939=function(_0x293992,_0x42bd4f){_0x293992=_0x293992-0x81;var _0x4928bd=_0x37ea7e[_0x293992];return _0x4928bd;},_0x2939(_0x37a0a2,_0x42f846);}(function(_0x1cdc39,_0x448bc4){var _0x24e9a1=_0x2939,_0x20df82=_0x1cdc39();while(!![]){try{var _0x398d7b=parseInt(_0x24e9a1(0x1d7))/0x1+parseInt(_0x24e9a1(0x3a3))/0x2*(-parseInt(_0x24e9a1(0x308))/0x3)+-parseInt(_0x24e9a1(0x88))/0x4*(parseInt(_0x24e9a1(0x1a6))/0x5)+parseInt(_0x24e9a1(0x38d))/0x6*(parseInt(_0x24e9a1(0x303))/0x7)+-parseInt(_0x24e9a1(0x227))/0x8+-parseInt(_0x24e9a1(0x257))/0x9*(parseInt(_0x24e9a1(0x35e))/0xa)+parseInt(_0x24e9a1(0x2fe))/0xb;if(_0x398d7b===_0x448bc4)break;else _0x20df82['push'](_0x20df82['shift']());}catch(_0x5b74e7){_0x20df82['push'](_0x20df82['shift']());}}}(_0x37ea,0x81da3),function(_0x2b1064,_0x3f9d3a){var _0x29f092=_0x2939;typeof exports==_0x29f092(0x1cf)&&typeof module<'u'?_0x3f9d3a(exports,require(_0x29f092(0x401)),require(_0x29f092(0x377)),require(_0x29f092(0x9d)),require(_0x29f092(0x299)),require(_0x29f092(0x281)),require(_0x29f092(0x25e)),require(_0x29f092(0x32c)),require('@univerjs/sheets'),require(_0x29f092(0xd4)),require(_0x29f092(0x382))):typeof define==_0x29f092(0x1bb)&&define[_0x29f092(0x199)]?define([_0x29f092(0x39b),_0x29f092(0x401),_0x29f092(0x377),_0x29f092(0x9d),'@univerjs-pro/collaboration','@univerjs/network','@univerjs/telemetry',_0x29f092(0x32c),_0x29f092(0x321),'@univerjs/drawing','@univerjs-pro/license'],_0x3f9d3a):(_0x2b1064=typeof globalThis<'u'?globalThis:_0x2b1064||self,_0x3f9d3a(_0x2b1064['UniverProCollaborationClient']={},_0x2b1064['UniverCore'],_0x2b1064[_0x29f092(0x377)],_0x2b1064[_0x29f092(0x377)][_0x29f092(0x270)],_0x2b1064[_0x29f092(0x2ee)],_0x2b1064[_0x29f092(0xe8)],_0x2b1064[_0x29f092(0x327)],_0x2b1064['UniverDocs'],_0x2b1064[_0x29f092(0x3bf)],_0x2b1064[_0x29f092(0x366)],_0x2b1064[_0x29f092(0x398)]));}(this,function(_0x1ee398,_0x55777a,_0x307531,_0x6ef337,_0x283aa4,_0x264129,_0x27b7db,_0x1cb38b,_0x11deaf,_0x2764ae,_0x3d5066){'use strict';var _0xa5a0c5=_0x2939;var _0x40d3f5=Object[_0xa5a0c5(0x267)],_0x34e0e6=(_0x236c0f,_0x3988ea,_0x30441b)=>_0x3988ea in _0x236c0f?_0x40d3f5(_0x236c0f,_0x3988ea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30441b}):_0x236c0f[_0x3988ea]=_0x30441b,_0x27fcc5=(_0x48ab9f,_0x2bb5c0,_0x2269a2)=>_0x34e0e6(_0x48ab9f,typeof _0x2bb5c0!=_0xa5a0c5(0x2c0)?_0x2bb5c0+'':_0x2bb5c0,_0x2269a2);const _0x2f4f38='SNAPSHOT_SERVER_URL_KEY',_0x59bf1b='/universer-api/snapshot',_0x35ffc1=_0xa5a0c5(0x1d6),_0x55e733=_0xa5a0c5(0xf6),_0x55af26='COLLAB_WEB_SOCKET_URL',_0x347a49=_0xa5a0c5(0x3da),_0x20b26d=_0xa5a0c5(0x2d8),_0x32a8ea='HEARTBEAT_INTERVAL',_0x20a87b=_0xa5a0c5(0x18f),_0x1ed21c=_0xa5a0c5(0x1f9),_0x7f2389=_0xa5a0c5(0x2fa),_0x3ab0b7='COLLAB_SUBMIT_CHANGESET_URL',_0x1d9969='/universer-api/comb',_0x24fd25=_0xa5a0c5(0x2a6),_0x447595='/universer-api/oidc/authpage',_0x3f8aa7=_0xa5a0c5(0x9c),_0xbed003='/universer-api/uniscript';var _0x58e51e=(_0x54c027=>(_0x54c027[_0x54c027[_0xa5a0c5(0x322)]=0x0]=_0xa5a0c5(0x322),_0x54c027[_0x54c027['OK']=0x1]='OK',_0x54c027[_0x54c027[_0xa5a0c5(0x34c)]=0x2]=_0xa5a0c5(0x34c),_0x54c027[_0x54c027[_0xa5a0c5(0x2bd)]=0x3]=_0xa5a0c5(0x2bd),_0x54c027[_0x54c027[_0xa5a0c5(0x31c)]=0x4]=_0xa5a0c5(0x31c),_0x54c027[_0x54c027['UNAUTHENTICATED']=0x5]=_0xa5a0c5(0xe3),_0x54c027[_0x54c027[_0xa5a0c5(0x2dc)]=0x6]=_0xa5a0c5(0x2dc),_0x54c027[_0x54c027[_0xa5a0c5(0x178)]=0x7]='INVALID_ARGUMENT',_0x54c027[_0x54c027[_0xa5a0c5(0x38f)]=0x8]=_0xa5a0c5(0x38f),_0x54c027[_0x54c027[_0xa5a0c5(0x153)]=0x9]=_0xa5a0c5(0x153),_0x54c027[_0x54c027[_0xa5a0c5(0x365)]=0xa]=_0xa5a0c5(0x365),_0x54c027[_0x54c027[_0xa5a0c5(0xfe)]=0x1389]=_0xa5a0c5(0xfe),_0x54c027[_0x54c027[_0xa5a0c5(0x17d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x54c027[_0x54c027[_0xa5a0c5(0x219)]=0x1772]=_0xa5a0c5(0x219),_0x54c027[_0x54c027[_0xa5a0c5(0x344)]=0x1773]=_0xa5a0c5(0x344),_0x54c027[_0x54c027[_0xa5a0c5(0x269)]=0x1b59]=_0xa5a0c5(0x269),_0x54c027[_0x54c027[_0xa5a0c5(0xb9)]=0x1b5a]=_0xa5a0c5(0xb9),_0x54c027[_0x54c027[_0xa5a0c5(0x34f)]=0x1b5b]=_0xa5a0c5(0x34f),_0x54c027[_0x54c027['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xa5a0c5(0x208),_0x54c027[_0x54c027[_0xa5a0c5(0xc1)]=0x1b5d]=_0xa5a0c5(0xc1),_0x54c027[_0x54c027[_0xa5a0c5(0xb4)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x54c027[_0x54c027[_0xa5a0c5(0x3f9)]=0x2329]=_0xa5a0c5(0x3f9),_0x54c027[_0x54c027[_0xa5a0c5(0x40d)]=0x232a]=_0xa5a0c5(0x40d),_0x54c027[_0x54c027['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xa5a0c5(0x3e8),_0x54c027[_0x54c027['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xa5a0c5(0x3e6),_0x54c027[_0x54c027[_0xa5a0c5(0x352)]=0x232d]=_0xa5a0c5(0x352),_0x54c027[_0x54c027['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xa5a0c5(0x1a4),_0x54c027[_0x54c027[_0xa5a0c5(0x20a)]=0x2712]=_0xa5a0c5(0x20a),_0x54c027[_0x54c027['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xa5a0c5(0xf5),_0x54c027[_0x54c027[_0xa5a0c5(0xcc)]=0x2714]=_0xa5a0c5(0xcc),_0x54c027[_0x54c027['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xa5a0c5(0x13a),_0x54c027[_0x54c027[_0xa5a0c5(0xdb)]=0x271b]=_0xa5a0c5(0xdb),_0x54c027[_0x54c027[_0xa5a0c5(0x2bc)]=0x2af9]=_0xa5a0c5(0x2bc),_0x54c027[_0x54c027[_0xa5a0c5(0x378)]=0x2ee1]=_0xa5a0c5(0x378),_0x54c027[_0x54c027[_0xa5a0c5(0x2bb)]=0x2ee2]=_0xa5a0c5(0x2bb),_0x54c027[_0x54c027['INVITE_CODE_REQUIRED']=0x2ee3]=_0xa5a0c5(0x250),_0x54c027[_0x54c027[_0xa5a0c5(0x30e)]=0x2ee4]=_0xa5a0c5(0x30e),_0x54c027[_0x54c027[_0xa5a0c5(0x225)]=0x2ee5]=_0xa5a0c5(0x225),_0x54c027[_0x54c027[_0xa5a0c5(0x17e)]=0x32c9]=_0xa5a0c5(0x17e),_0x54c027[_0x54c027[_0xa5a0c5(0x35d)]=0x32ca]=_0xa5a0c5(0x35d),_0x54c027[_0x54c027['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xa5a0c5(0xeb),_0x54c027[_0x54c027[_0xa5a0c5(0x37c)]=-0x1]='UNRECOGNIZED',_0x54c027))(_0x58e51e||{}),_0x14ec27=(_0x265590=>(_0x265590[_0x265590['UNIVER_UNKNOWN']=0x0]=_0xa5a0c5(0x1f5),_0x265590[_0x265590['UNIVER_DOC']=0x1]=_0xa5a0c5(0x226),_0x265590[_0x265590[_0xa5a0c5(0x2e7)]=0x2]=_0xa5a0c5(0x2e7),_0x265590[_0x265590[_0xa5a0c5(0x1ed)]=0x3]=_0xa5a0c5(0x1ed),_0x265590[_0x265590[_0xa5a0c5(0x211)]=0x4]=_0xa5a0c5(0x211),_0x265590[_0x265590[_0xa5a0c5(0x37c)]=-0x1]=_0xa5a0c5(0x37c),_0x265590))(_0x14ec27||{}),_0x40d880=(_0x2f0135=>(_0x2f0135[_0x2f0135[_0xa5a0c5(0x28f)]=0x0]='UNKNOWN_CMD',_0x2f0135[_0x2f0135[_0xa5a0c5(0x324)]=0x1]=_0xa5a0c5(0x324),_0x2f0135[_0x2f0135[_0xa5a0c5(0x1ca)]=0x2]=_0xa5a0c5(0x1ca),_0x2f0135[_0x2f0135[_0xa5a0c5(0x26e)]=0x3]=_0xa5a0c5(0x26e),_0x2f0135[_0x2f0135['INGEST']=0x4]=_0xa5a0c5(0x383),_0x2f0135[_0x2f0135[_0xa5a0c5(0x275)]=0x5]=_0xa5a0c5(0x275),_0x2f0135[_0x2f0135[_0xa5a0c5(0xe5)]=0x6]='RECV',_0x2f0135[_0x2f0135['UNRECOGNIZED']=-0x1]=_0xa5a0c5(0x37c),_0x2f0135))(_0x40d880||{}),_0x5c25db=(_0x4a6fe1=>(_0x4a6fe1[_0x4a6fe1[_0xa5a0c5(0x2ae)]=0x0]=_0xa5a0c5(0x2ae),_0x4a6fe1[_0x4a6fe1['OK']=0x1]='OK',_0x4a6fe1[_0x4a6fe1[_0xa5a0c5(0x127)]=0x2]=_0xa5a0c5(0x127),_0x4a6fe1[_0x4a6fe1[_0xa5a0c5(0x376)]=0x3e9]=_0xa5a0c5(0x376),_0x4a6fe1[_0x4a6fe1[_0xa5a0c5(0x224)]=0x3ea]=_0xa5a0c5(0x224),_0x4a6fe1[_0x4a6fe1[_0xa5a0c5(0x27b)]=0x3eb]=_0xa5a0c5(0x27b),_0x4a6fe1[_0x4a6fe1[_0xa5a0c5(0x332)]=0x3ec]=_0xa5a0c5(0x332),_0x4a6fe1[_0x4a6fe1[_0xa5a0c5(0x37c)]=-0x1]='UNRECOGNIZED',_0x4a6fe1))(_0x5c25db||{}),_0x3666a8=(_0x16f8bb=>(_0x16f8bb[_0x16f8bb[_0xa5a0c5(0x25f)]=0x0]=_0xa5a0c5(0x25f),_0x16f8bb[_0x16f8bb['HttpImport']=0x1]=_0xa5a0c5(0x10c),_0x16f8bb[_0x16f8bb[_0xa5a0c5(0x1b5)]=0x2]='HttpExport',_0x16f8bb[_0x16f8bb[_0xa5a0c5(0x12d)]=0x3]=_0xa5a0c5(0x12d),_0x16f8bb[_0x16f8bb['UnitSnapshot']=0x4]=_0xa5a0c5(0x360),_0x16f8bb[_0x16f8bb[_0xa5a0c5(0x320)]=0x5]='UserProfileImg',_0x16f8bb[_0x16f8bb[_0xa5a0c5(0x37c)]=-0x1]='UNRECOGNIZED',_0x16f8bb))(_0x3666a8||{});const _0xdaa49b=_0xa5a0c5(0x3d1),_0xc56a29={};var _0x23ef2d=(_0x57fef9=>(_0x57fef9[_0xa5a0c5(0x35f)]=_0xa5a0c5(0x35f),_0x57fef9['PERMISSION_DENIED']=_0xa5a0c5(0x2bd),_0x57fef9[_0xa5a0c5(0x266)]=_0xa5a0c5(0x266),_0x57fef9[_0xa5a0c5(0x249)]='CLOSE_ROOM',_0x57fef9[_0xa5a0c5(0x118)]=_0xa5a0c5(0x118),_0x57fef9[_0xa5a0c5(0xa2)]=_0xa5a0c5(0xa2),_0x57fef9[_0xa5a0c5(0x111)]=_0xa5a0c5(0x111),_0x57fef9[_0xa5a0c5(0x2a4)]=_0xa5a0c5(0x2a4),_0x57fef9))(_0x23ef2d||{});class _0x5740f2{constructor(){var _0x1ccc2e=_0xa5a0c5;_0x27fcc5(this,'_event$',new _0x307531['Subject']()),_0x27fcc5(this,'event$',this['_event$'][_0x1ccc2e(0xcd)]());}['emitEvent'](_0x266a90){var _0x5be564=_0xa5a0c5;this['_event$'][_0x5be564(0x388)](_0x266a90);}}const _0x5cbe41=_0x55777a[_0xa5a0c5(0x19e)](_0xa5a0c5(0x29f));function _0x2e1b07(_0x3e8d57){var _0x5b0b0d=_0xa5a0c5,_0x1fc370,_0x578e72,_0x1dac4e,_0x51df9f,_0x4d6ccc;const _0x2bbc01=_0x3e8d57[_0x5b0b0d(0x1d2)],_0xc4376a=JSON['parse'](_0x2bbc01);switch(_0xc4376a[_0x5b0b0d(0x243)]){case _0x40d880[_0x5b0b0d(0x275)]:case _0x40d880[_0x5b0b0d(0x324)]:{const _0xf4c71e=_0xc4376a['infoRsp'];return{..._0xc4376a,'data':_0xf4c71e,'cmd':_0xc4376a[_0x5b0b0d(0x243)]};}case _0x40d880[_0x5b0b0d(0x1ca)]:{const _0x411862=_0xc4376a[_0x5b0b0d(0x1a3)];return{..._0xc4376a,'data':_0x411862,'cmd':_0xc4376a[_0x5b0b0d(0x243)]};}case _0x40d880['RECV']:{const _0x7b9948=_0xc4376a[_0x5b0b0d(0x297)];switch(_0x7b9948[_0x5b0b0d(0x1d8)]){case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x35c)]:return{..._0xc4376a,'data':{..._0x7b9948,'data':(_0x1fc370=_0x7b9948[_0x5b0b0d(0x1c4)])==null?void 0x0:_0x1fc370['cs']},'cmd':_0xc4376a['cmd']};case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x2e6)]:return{..._0xc4376a,'data':{..._0x7b9948,'data':(_0x578e72=_0x7b9948[_0x5b0b0d(0x186)])==null?void 0x0:_0x578e72['cs']},'cmd':_0xc4376a[_0x5b0b0d(0x243)]};case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x358)]:return{..._0xc4376a,'data':{..._0x7b9948,'data':(_0x1dac4e=_0x7b9948[_0x5b0b0d(0x12e)])==null?void 0x0:_0x1dac4e['cs']},'cmd':_0xc4376a[_0x5b0b0d(0x243)]};case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x29b)]:return{..._0xc4376a,'data':{..._0x7b9948,'data':(_0x51df9f=_0x7b9948[_0x5b0b0d(0xfd)])==null?void 0x0:_0x51df9f['cs']},'cmd':_0xc4376a['cmd']};case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x380)]:return{..._0xc4376a,'data':{..._0x7b9948,'data':(_0x4d6ccc=_0x7b9948[_0x5b0b0d(0x2c8)])==null?void 0x0:_0x4d6ccc['cs']},'cmd':_0xc4376a['cmd']};case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x3b4)]:return{..._0xc4376a,'data':{..._0x7b9948,'data':_0x7b9948[_0x5b0b0d(0x99)]},'cmd':_0xc4376a['cmd']};case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x1f7)]:return{..._0xc4376a,'data':{..._0x7b9948,'data':_0x7b9948['joinEvent']},'cmd':_0xc4376a[_0x5b0b0d(0x243)]};case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x357)]:return{..._0xc4376a,'data':{..._0x7b9948,'data':_0x7b9948[_0x5b0b0d(0xa5)]},'cmd':_0xc4376a['cmd']};case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x228)]:return{..._0xc4376a,'data':{..._0x7b9948,'data':_0x7b9948['liveShareNewHost']},'cmd':_0xc4376a[_0x5b0b0d(0x243)]};case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x206)]:case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x337)]:return{..._0xc4376a,'data':{..._0x7b9948,'data':_0x7b9948['liveShareOperation']},'cmd':_0xc4376a[_0x5b0b0d(0x243)]};case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x12a)]:return{..._0xc4376a,'data':{..._0x7b9948,'data':_0x7b9948[_0x5b0b0d(0x32a)]},'cmd':_0xc4376a[_0x5b0b0d(0x243)]};case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x3fc)]:return{..._0xc4376a,'data':_0x7b9948,'cmd':_0xc4376a['cmd']};case _0x283aa4[_0x5b0b0d(0xe2)]['COMMENT_UPDATE']:return{..._0xc4376a,'data':{..._0x7b9948,'data':_0x7b9948[_0x5b0b0d(0x391)]},'cmd':_0xc4376a[_0x5b0b0d(0x243)]};case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x2d7)]:return{..._0xc4376a,'data':{..._0x7b9948,'data':_0x7b9948['updatePermissionObjEvent']},'cmd':_0xc4376a[_0x5b0b0d(0x243)]};case _0x283aa4[_0x5b0b0d(0xe2)]['SHOULD_CLOSE_CONN']:return{..._0xc4376a,'data':{..._0x7b9948,'data':_0x7b9948[_0x5b0b0d(0x3b0)]},'cmd':_0xc4376a['cmd']};case _0x283aa4[_0x5b0b0d(0xe2)][_0x5b0b0d(0x1cb)]:return{..._0xc4376a,'data':{..._0x7b9948,'data':_0x7b9948[_0x5b0b0d(0x1fb)]},'cmd':_0xc4376a[_0x5b0b0d(0x243)]};default:return _0xc4376a;}}default:return _0xc4376a;}}function _0x4ca2d4(_0x1803d3){var _0x398acd=_0xa5a0c5;switch(_0x1803d3['cmd']){case _0x40d880['HEARTBEAT']:case _0x40d880[_0x398acd(0x324)]:return JSON['stringify']({'cmd':_0x1803d3[_0x398acd(0x243)],'routeKey':_0x1803d3[_0x398acd(0xce)]});case _0x40d880[_0x398acd(0x383)]:{let _0x2ba375;switch(_0x1803d3[_0x398acd(0x1d2)][_0x398acd(0x1d8)]){case _0x283aa4[_0x398acd(0xe2)]['UPDATE_CURSOR']:{_0x2ba375={'eventID':_0x283aa4[_0x398acd(0xe2)][_0x398acd(0x3b4)],'updateCursorEvent':_0x1803d3['data']['data']};break;}case _0x283aa4['CollaborationEvent'][_0x398acd(0x357)]:{_0x2ba375={'eventID':_0x283aa4[_0x398acd(0xe2)][_0x398acd(0x357)],'leaveEvent':_0x1803d3[_0x398acd(0x1d2)]['data']};break;}case _0x283aa4[_0x398acd(0xe2)][_0x398acd(0x1f7)]:{_0x2ba375={'eventID':_0x283aa4[_0x398acd(0xe2)]['USERS_ENTER'],'joinEvent':_0x1803d3[_0x398acd(0x1d2)][_0x398acd(0x1d2)]};break;}case _0x283aa4[_0x398acd(0xe2)][_0x398acd(0x228)]:{_0x2ba375={'eventID':_0x283aa4[_0x398acd(0xe2)][_0x398acd(0x228)],'liveShareNewHost':_0x1803d3[_0x398acd(0x1d2)][_0x398acd(0x1d2)]};break;}case _0x283aa4[_0x398acd(0xe2)][_0x398acd(0x337)]:{_0x2ba375={'eventID':_0x283aa4[_0x398acd(0xe2)][_0x398acd(0x337)],'liveShareOperation':_0x1803d3['data'][_0x398acd(0x1d2)]};break;}case _0x283aa4[_0x398acd(0xe2)][_0x398acd(0x12a)]:{_0x2ba375={'eventID':_0x283aa4[_0x398acd(0xe2)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1803d3[_0x398acd(0x1d2)][_0x398acd(0x1d2)]};break;}case _0x283aa4[_0x398acd(0xe2)]['LIVESHARE_REQUEST_HOST']:{_0x2ba375={'eventID':_0x283aa4[_0x398acd(0xe2)][_0x398acd(0x1c8)],'liveShareRequestHost':_0x1803d3['data'][_0x398acd(0x1d2)]};break;}case _0x283aa4[_0x398acd(0xe2)]['LIVESHARE_FETCH_OPERATIONS']:{_0x2ba375={'eventID':_0x283aa4['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2ba375={'eventID':_0x1803d3[_0x398acd(0x1d2)][_0x398acd(0x1d8)]};}return JSON[_0x398acd(0x36b)]({'cmd':_0x1803d3[_0x398acd(0x243)],'routeKey':_0x1803d3[_0x398acd(0xce)],'collaMsg':_0x2ba375});}case _0x40d880['JOIN']:return JSON[_0x398acd(0x36b)]({'cmd':_0x1803d3[_0x398acd(0x243)],'routeKey':_0x1803d3[_0x398acd(0xce)],'joinReq':_0x1803d3['data']});case _0x40d880[_0x398acd(0x26e)]:return JSON['stringify']({'cmd':_0x1803d3[_0x398acd(0x243)],'routeKey':_0x1803d3[_0x398acd(0xce)],'leaveReq':_0x1803d3[_0x398acd(0x1d2)]});default:throw new Error(_0x398acd(0x8b));}}var _0x36da7c=Object['getOwnPropertyDescriptor'],_0x5ec4ae=(_0x4a477b,_0x10202a,_0x4c0094,_0x26dc02)=>{var _0x46d6e1=_0xa5a0c5;for(var _0x14ea96=_0x26dc02>0x1?void 0x0:_0x26dc02?_0x36da7c(_0x10202a,_0x4c0094):_0x10202a,_0x40285a=_0x4a477b[_0x46d6e1(0x165)]-0x1,_0x2e8de2;_0x40285a>=0x0;_0x40285a--)(_0x2e8de2=_0x4a477b[_0x40285a])&&(_0x14ea96=_0x2e8de2(_0x14ea96)||_0x14ea96);return _0x14ea96;},_0x3d4c5e=(_0x3fbbe4,_0xcd77d1)=>(_0x5d5f11,_0x1e46f3)=>_0xcd77d1(_0x5d5f11,_0x1e46f3,_0x3fbbe4);const _0x43bf3f=_0x55777a[_0xa5a0c5(0x19e)](_0xa5a0c5(0x385));function _0xe3d46a(_0x11dc50,_0x406c49,_0x3e193a){var _0x1ad1d2=_0xa5a0c5;return _0x11dc50+'/'+_0x406c49+_0x1ad1d2(0x187)+_0x3e193a+_0x1ad1d2(0x3d7);}_0x1ee398[_0xa5a0c5(0x2a7)]=class extends _0x55777a[_0xa5a0c5(0xb0)]{constructor(_0x8527ab,_0xeef73e,_0xbc3b14,_0x558fe2,_0x540d8e){var _0x5c22f3=_0xa5a0c5;super(),this[_0x5c22f3(0x24c)]=_0x8527ab,this[_0x5c22f3(0x1dd)]=_0xeef73e,this[_0x5c22f3(0x2e4)]=_0xbc3b14,this[_0x5c22f3(0x33d)]=_0x558fe2,this[_0x5c22f3(0x329)]=_0x540d8e;}['_doCreateSocket'](_0x21c1f4){var _0x3dbc00=_0xa5a0c5;const _0x407261=this[_0x3dbc00(0x24c)][_0x3dbc00(0x223)](_0x264129[_0x3dbc00(0x2c1)]);if(!_0x407261)throw new Error(_0x3dbc00(0x405));const _0x314ca2=_0x407261[_0x3dbc00(0x2f0)](_0x21c1f4);if(!_0x314ca2)throw new Error(_0x3dbc00(0x285));const _0x4439c6=new _0x55777a[(_0x3dbc00(0x3d5))](),_0x13d867=new _0x307531[(_0x3dbc00(0x410))]();_0x4439c6[_0x3dbc00(0x175)](_0x314ca2['close$'][_0x3dbc00(0xf7)](_0x38cd07=>_0x13d867[_0x3dbc00(0x388)](_0x38cd07))),_0x4439c6['add'](_0x55777a['toDisposable'](()=>_0x13d867[_0x3dbc00(0x3cf)]()));const _0x4be2b1=new _0x307531[(_0x3dbc00(0x410))]();_0x4439c6[_0x3dbc00(0x175)](_0x314ca2['error$'][_0x3dbc00(0xf7)](_0x48568a=>_0x4be2b1[_0x3dbc00(0x388)](_0x48568a))),_0x4439c6[_0x3dbc00(0x175)](_0x55777a[_0x3dbc00(0x31b)](()=>_0x4be2b1[_0x3dbc00(0x3cf)]()));const _0x1e3331=new _0x307531[(_0x3dbc00(0x410))]();_0x4439c6[_0x3dbc00(0x175)](_0x314ca2[_0x3dbc00(0x185)][_0x3dbc00(0xf7)](_0x2151e5=>{var _0x2929ca=_0x3dbc00;const _0x401daa=_0x2e1b07(_0x2151e5);_0x1e3331[_0x2929ca(0x388)](_0x401daa);})),_0x4439c6[_0x3dbc00(0x175)](_0x55777a[_0x3dbc00(0x31b)](()=>_0x1e3331['complete']()));let _0x42b7b2;const _0x4d9233=()=>{var _0x53af2f=_0x3dbc00;_0x4be2b1[_0x53af2f(0x388)](new Event('connection\x20error')),_0x13d867['next'](new Event(_0x53af2f(0x1e2))),_0x42b7b2[_0x53af2f(0x202)]();};return _0x42b7b2={'memberID':'','close$':_0x13d867[_0x3dbc00(0xcd)](),'error$':_0x4be2b1[_0x3dbc00(0xcd)](),'open$':_0x314ca2[_0x3dbc00(0x38b)],'message$':_0x1e3331['asObservable'](),'send':_0x3f0ffe=>{var _0x3e1a0c=_0x3dbc00;if(_0x3f0ffe[_0x3e1a0c(0x243)]===_0x40d880['INGEST']){if(_0x3f0ffe[_0x3e1a0c(0x1d2)]['eventID']===_0x283aa4[_0x3e1a0c(0xe2)][_0x3e1a0c(0x20d)]){this[_0x3e1a0c(0x28d)](_0x42b7b2,_0x3f0ffe['data'])[_0x3e1a0c(0x169)](_0x305900=>{var _0x1304fb=_0x3e1a0c;this[_0x1304fb(0x33d)][_0x1304fb(0xe9)](_0x305900),_0x4d9233();});return;}if(_0x3f0ffe[_0x3e1a0c(0x1d2)][_0x3e1a0c(0x1d8)]===_0x283aa4[_0x3e1a0c(0xe2)][_0x3e1a0c(0x108)]){const _0x5f5dff=_0x3f0ffe['data'];this[_0x3e1a0c(0x3b6)](_0x5f5dff)[_0x3e1a0c(0x29e)](_0x52abc7=>{var _0x41d208=_0x3e1a0c;_0x1e3331['next']({'cmd':_0x40d880[_0x41d208(0xe5)],'code':_0x5c25db['OK'],'routeKey':_0x5f5dff[_0x41d208(0x1d2)][_0x41d208(0x18e)],'routeType':'','data':{'eventID':_0x283aa4[_0x41d208(0xe2)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x52abc7}}});})[_0x3e1a0c(0x169)](_0x44ff08=>{var _0x10d0b8=_0x3e1a0c;this[_0x10d0b8(0x33d)][_0x10d0b8(0xe9)](_0x44ff08),_0x4d9233();});return;}}_0x314ca2[_0x3e1a0c(0xb1)](_0x4ca2d4(_0x3f0ffe));},'close':()=>{var _0x2d1fe5=_0x3dbc00;_0x314ca2['close'](),_0x4439c6[_0x2d1fe5(0x121)]();}},_0x42b7b2;}async['_submitChangeset'](_0x17b400,_0x4824ee){var _0x1655fa=_0xa5a0c5,_0x5e0dd5,_0x3dd0f0;const {unitType:_0x434f93,unitID:_0x341f97,changeset:_0x17f7f9}=_0x4824ee['data'],_0x1dacfc={'unitID':_0x341f97,'memberID':_0x17b400[_0x1655fa(0x16b)],'type':_0x434f93,'changeset':_0x283aa4[_0x1655fa(0x139)](_0x17f7f9)},_0x13722f=this[_0x1655fa(0x2e4)][_0x1655fa(0x179)](_0x3ab0b7),_0x1aaae4=this['_configService']['getConfig'](_0xdaa49b),_0x603936=_0xe3d46a((_0x3dd0f0=(_0x5e0dd5=_0x1aaae4==null?void 0x0:_0x1aaae4[_0x1655fa(0x2db)])!=null?_0x5e0dd5:_0x13722f)!=null?_0x3dd0f0:_0x1d9969,_0x434f93,_0x341f97);try{await this[_0x1655fa(0x1dd)][_0x1655fa(0x2c3)](_0x603936,{'body':_0x1dacfc});}catch(_0x10a1ef){throw this[_0x1655fa(0x33d)]['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x10a1ef;}}async['_fetchMissChangesets'](_0x4bbda6){var _0x48ac9f=_0xa5a0c5;const {unitID:_0xcdd6b0,from:_0x1c9a76,to:_0x5dec11,unitType:_0x59da4f}=_0x4bbda6['data'];return(await this[_0x48ac9f(0x329)][_0x48ac9f(0x96)]({'metadata':void 0x0},{'unitID':_0xcdd6b0,'type':_0x59da4f,'from':_0x1c9a76,'to':_0x5dec11}))['changesets'];}},_0x1ee398[_0xa5a0c5(0x2a7)]=_0x5ec4ae([_0x3d4c5e(0x0,_0x55777a[_0xa5a0c5(0x239)](_0x55777a[_0xa5a0c5(0x2f9)])),_0x3d4c5e(0x1,_0x55777a[_0xa5a0c5(0x239)](_0x264129[_0xa5a0c5(0x3e0)])),_0x3d4c5e(0x2,_0x55777a[_0xa5a0c5(0x1cc)]),_0x3d4c5e(0x3,_0x55777a['ILogService']),_0x3d4c5e(0x4,_0x283aa4['ISnapshotServerService'])],_0x1ee398[_0xa5a0c5(0x2a7)]);const _0x46d436=_0xa5a0c5(0x233);function _0x76f817(_0x35bf6d){var _0xe16cc8=_0xa5a0c5;return JSON[_0xe16cc8(0x36b)](_0x35bf6d)['length'];}class _0x54517c{constructor(){var _0x37bcdd=_0xa5a0c5;_0x27fcc5(this,_0x37bcdd(0xc4),new _0x307531[(_0x37bcdd(0x410))]()),_0x27fcc5(this,_0x37bcdd(0x107),this[_0x37bcdd(0xc4)][_0x37bcdd(0xcd)]());}['onCommentUpdate'](_0x1789f6){var _0x334b1a=_0xa5a0c5;this['_commentUpdate$'][_0x334b1a(0x388)](_0x1789f6);}}var _0x2c0575=Object['getOwnPropertyDescriptor'],_0x3e43ad=(_0x9c9857,_0xb23b5c,_0x45da1b,_0x26ccfc)=>{var _0x4b2022=_0xa5a0c5;for(var _0x4f8fa0=_0x26ccfc>0x1?void 0x0:_0x26ccfc?_0x2c0575(_0xb23b5c,_0x45da1b):_0xb23b5c,_0x5b7eb4=_0x9c9857[_0x4b2022(0x165)]-0x1,_0x42d8f6;_0x5b7eb4>=0x0;_0x5b7eb4--)(_0x42d8f6=_0x9c9857[_0x5b7eb4])&&(_0x4f8fa0=_0x42d8f6(_0x4f8fa0)||_0x4f8fa0);return _0x4f8fa0;},_0x545393=(_0x189137,_0x1e233f)=>(_0x57df46,_0xddc36b)=>_0x1e233f(_0x57df46,_0xddc36b,_0x189137);_0x1ee398[_0xa5a0c5(0x114)]=class extends _0x55777a['Disposable']{constructor(_0x1e92a4,_0xd4c4ec){var _0x5cbfec=_0xa5a0c5;super(),_0x27fcc5(this,_0x5cbfec(0x13e),new Map()),_0x27fcc5(this,_0x5cbfec(0x39d),new _0x307531['Subject']()),(this[_0x5cbfec(0x3c2)]=_0x1e92a4,this['_userManagerService']=_0xd4c4ec,this[_0x5cbfec(0x150)](_0x307531[_0x5cbfec(0x296)](this[_0x5cbfec(0x3c2)][_0x5cbfec(0x2a2)](_0x55777a[_0x5cbfec(0x409)][_0x5cbfec(0x2e7)])['pipe'](_0x6ef337[_0x5cbfec(0x2a8)](_0x361410=>_0x361410[_0x5cbfec(0x28c)]())),this[_0x5cbfec(0x3c2)][_0x5cbfec(0x2a2)](_0x55777a[_0x5cbfec(0x409)][_0x5cbfec(0x226)])['pipe'](_0x6ef337[_0x5cbfec(0x2a8)](_0x33cc1c=>_0x33cc1c[_0x5cbfec(0x28c)]())),this[_0x5cbfec(0x3c2)]['getTypeOfUnitDisposed$'](_0x55777a[_0x5cbfec(0x409)]['UNIVER_SLIDE'])[_0x5cbfec(0x92)](_0x6ef337[_0x5cbfec(0x2a8)](_0x19bd43=>_0x19bd43['getUnitId']())))[_0x5cbfec(0xf7)](_0x5c777c=>this[_0x5cbfec(0xfb)](_0x5c777c))));}[_0xa5a0c5(0x21e)](_0x59ca1f){var _0x15bc45=_0xa5a0c5;return this[_0x15bc45(0x13e)][_0x15bc45(0x2f6)](_0x59ca1f)?_0x307531['of'](this[_0x15bc45(0x13e)][_0x15bc45(0x223)](_0x59ca1f)):this[_0x15bc45(0x39d)][_0x15bc45(0x92)](_0x6ef337[_0x15bc45(0x2a8)](_0x3d679f=>{var _0x28dfdf=_0x15bc45;if(_0x3d679f===_0x59ca1f)return this[_0x28dfdf(0x13e)]['get'](_0x3d679f);}));}[_0xa5a0c5(0x20b)](_0x2b4dde){var _0x497924=_0xa5a0c5;this['_userManagerService'][_0x497924(0x20b)](_0x2b4dde);}[_0xa5a0c5(0x214)](){var _0x4930ff=_0xa5a0c5;return this[_0x4930ff(0x132)]['getCurrentUser']();}[_0xa5a0c5(0x19f)](_0x460380,_0x43f496){var _0x3826f8=_0xa5a0c5;let _0x461555=this[_0x3826f8(0x13e)]['get'](_0x460380);_0x461555||(_0x461555=new _0x13b35a(),this[_0x3826f8(0x13e)][_0x3826f8(0x231)](_0x460380,_0x461555),this[_0x3826f8(0x39d)][_0x3826f8(0x388)](_0x460380)),_0x461555[_0x3826f8(0x19f)](_0x43f496);}[_0xa5a0c5(0x384)](_0x3fa1eb,_0xea4c7c){var _0x581ebb=_0xa5a0c5;const _0x205c64=this[_0x581ebb(0x13e)][_0x581ebb(0x223)](_0x3fa1eb);_0x205c64&&_0x205c64['removeMember'](_0xea4c7c);}[_0xa5a0c5(0x2e2)](_0x3e27c7){var _0x452e38=_0xa5a0c5;return this[_0x452e38(0x13e)][_0x452e38(0x223)](_0x3e27c7);}[_0xa5a0c5(0x340)](_0x361bf9,_0x5efea5){var _0x2bb116=_0xa5a0c5;const _0x3e0692=this['_roomMembers'][_0x2bb116(0x223)](_0x361bf9);if(_0x3e0692)return _0x3e0692[_0x2bb116(0x340)](_0x5efea5);}[_0xa5a0c5(0xfb)](_0x1f20f4){var _0x55afec=_0xa5a0c5;const _0x15d8d8=this[_0x55afec(0x13e)][_0x55afec(0x223)](_0x1f20f4);_0x15d8d8&&(_0x15d8d8[_0x55afec(0x121)](),this[_0x55afec(0x13e)][_0x55afec(0xab)](_0x1f20f4));}[_0xa5a0c5(0x121)](){var _0x54f05b=_0xa5a0c5;this[_0x54f05b(0x13e)]['forEach'](_0x1b33f2=>_0x1b33f2[_0x54f05b(0x121)]()),this['_roomMembers'][_0x54f05b(0x235)](),this[_0x54f05b(0x39d)][_0x54f05b(0x3cf)]();}},_0x1ee398[_0xa5a0c5(0x114)]=_0x3e43ad([_0x545393(0x0,_0x55777a[_0xa5a0c5(0x3d8)]),_0x545393(0x1,_0x55777a['Inject'](_0x55777a[_0xa5a0c5(0x1ae)]))],_0x1ee398[_0xa5a0c5(0x114)]);class _0x13b35a extends _0x55777a[_0xa5a0c5(0xb0)]{constructor(){var _0x38b250=_0xa5a0c5;super(...arguments),_0x27fcc5(this,'_members',new Map()),_0x27fcc5(this,'_members$',new _0x307531[(_0x38b250(0x161))](this[_0x38b250(0x158)])),_0x27fcc5(this,_0x38b250(0x1ee),this[_0x38b250(0x1ce)][_0x38b250(0xcd)]());}[_0xa5a0c5(0x121)](){var _0x4732ec=_0xa5a0c5;this[_0x4732ec(0x158)][_0x4732ec(0x235)]();}[_0xa5a0c5(0x19f)](_0x7269d1){var _0x49221f=_0xa5a0c5;this[_0x49221f(0x158)][_0x49221f(0x231)](_0x7269d1[_0x49221f(0x16b)],_0x7269d1),this[_0x49221f(0xbe)]();}[_0xa5a0c5(0x384)](_0x98ef90){var _0x11dfe1=_0xa5a0c5;this[_0x11dfe1(0x158)]['delete'](_0x98ef90);}['getMember'](_0x5d5ad5){var _0x2cf5bc=_0xa5a0c5;return this['_members'][_0x2cf5bc(0x223)](_0x5d5ad5);}[_0xa5a0c5(0xfa)](){var _0x2f70a1=_0xa5a0c5;return Array[_0x2f70a1(0xd7)](this[_0x2f70a1(0x158)][_0x2f70a1(0x222)]());}[_0xa5a0c5(0xbe)](){var _0x21c68b=_0xa5a0c5;this[_0x21c68b(0x1ce)][_0x21c68b(0x388)](this[_0x21c68b(0x158)]);}}var _0x4d69eb=Object[_0xa5a0c5(0x3d0)],_0xa441c9=(_0x43696a,_0x4fbaa6,_0x13db89,_0x15ed13)=>{var _0x3210d6=_0xa5a0c5;for(var _0x495953=_0x15ed13>0x1?void 0x0:_0x15ed13?_0x4d69eb(_0x4fbaa6,_0x13db89):_0x4fbaa6,_0x100d0a=_0x43696a[_0x3210d6(0x165)]-0x1,_0x53dd89;_0x100d0a>=0x0;_0x100d0a--)(_0x53dd89=_0x43696a[_0x100d0a])&&(_0x495953=_0x53dd89(_0x495953)||_0x495953);return _0x495953;},_0x3d0899=(_0x383cae,_0x5a0c07)=>(_0x15f77a,_0x8e2493)=>_0x5a0c07(_0x15f77a,_0x8e2493,_0x383cae),_0x37598e=(_0x3b0caf=>(_0x3b0caf[_0x3b0caf[_0xa5a0c5(0x39e)]=0x0]=_0xa5a0c5(0x39e),_0x3b0caf[_0x3b0caf['JOINING']=0x1]='JOINING',_0x3b0caf[_0x3b0caf[_0xa5a0c5(0x254)]=0x2]=_0xa5a0c5(0x254),_0x3b0caf[_0x3b0caf['ONLINE']=0x3]=_0xa5a0c5(0x21d),_0x3b0caf))(_0x37598e||{});const _0x23f4e8={[_0x5c25db[_0xa5a0c5(0x127)]]:_0xa5a0c5(0x30b),[_0x5c25db['JOIN_ROOM_FULL']]:_0xa5a0c5(0x2bf),[_0x5c25db['JOIN_ROOM_NOT_EXISTS']]:_0xa5a0c5(0x181),[_0x5c25db[_0xa5a0c5(0x27b)]]:_0xa5a0c5(0x1c7),[_0x5c25db[_0xa5a0c5(0x332)]]:'session.room-cnt-exceeds'};_0x1ee398[_0xa5a0c5(0x379)]=class extends _0x55777a['RxDisposable']{constructor(_0x26c641,_0x319164,_0x225de9,_0x22c894,_0x2bd172,_0x593fba,_0x5d312b,_0x277141,_0x24e082){var _0x311eaf=_0xa5a0c5;super(),_0x27fcc5(this,_0x311eaf(0x1b4),new _0x307531[(_0x311eaf(0x161))](0x0)),_0x27fcc5(this,'sessionStatus$',this[_0x311eaf(0x1b4)]['asObservable']()),_0x27fcc5(this,'_event$',new _0x307531[(_0x311eaf(0x410))]()),_0x27fcc5(this,_0x311eaf(0x288),this[_0x311eaf(0x200)]['asObservable']()),_0x27fcc5(this,_0x311eaf(0x112)),_0x27fcc5(this,_0x311eaf(0x27d)),_0x27fcc5(this,_0x311eaf(0x174)),_0x27fcc5(this,_0x311eaf(0x93),!0x1),_0x27fcc5(this,_0x311eaf(0x3a4),null),(this[_0x311eaf(0x90)]=_0x26c641,this[_0x311eaf(0x33d)]=_0x225de9,this[_0x311eaf(0x2e4)]=_0x22c894,this['_localeService']=_0x2bd172,this[_0x311eaf(0x23b)]=_0x593fba,this[_0x311eaf(0x3b3)]=_0x5d312b,this[_0x311eaf(0x1b9)]=_0x277141,this[_0x311eaf(0x2b1)]=_0x24e082,this['_shouldReportTelemetry']=!!this[_0x311eaf(0x2b1)],_0x319164[_0x311eaf(0x92)](_0x307531[_0x311eaf(0x32d)](this[_0x311eaf(0x310)]))[_0x311eaf(0xf7)](_0xa3051d=>{var _0x11dbe1=_0x311eaf,_0x1fc0a4;typeof _0xa3051d>'u'||(this[_0x11dbe1(0x112)]=_0xa3051d,_0xa3051d?(this['_joinRoom'](_0xa3051d),this[_0x11dbe1(0x27d)]=_0xa3051d[_0x11dbe1(0x185)][_0x11dbe1(0xf7)](_0x5f1a8c=>{var _0x505475=_0x11dbe1;_0x5f1a8c[_0x505475(0xce)]===this[_0x505475(0x90)]&&this[_0x505475(0x11e)](_0x5f1a8c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$']['next'](0x2),(_0x1fc0a4=this[_0x11dbe1(0x27d)])==null||_0x1fc0a4[_0x11dbe1(0x10a)](),this[_0x11dbe1(0x27d)]=null));}));}get[_0xa5a0c5(0x166)](){var _0xad9ab1=_0xa5a0c5;return this[_0xad9ab1(0x1b4)][_0xad9ab1(0x3a6)]();}[_0xa5a0c5(0x10b)](){var _0x1f1567=_0xa5a0c5,_0x107352,_0x5dd734;return(_0x5dd734=(_0x107352=this[_0x1f1567(0x112)])==null?void 0x0:_0x107352['memberID'])!=null?_0x5dd734:null;}['dispose'](){var _0x1c5af8=_0xa5a0c5;super[_0x1c5af8(0x121)](),this[_0x1c5af8(0x310)][_0x1c5af8(0x388)](),this['dispose$'][_0x1c5af8(0x3cf)]();}[_0xa5a0c5(0x202)](){var _0x7190be=_0xa5a0c5,_0xa83c86,_0x5663a4;this['_throwTelemetryCollaborationNewChangeset'](),(_0xa83c86=this[_0x7190be(0x112)])==null||_0xa83c86['send']({'cmd':_0x40d880[_0x7190be(0x26e)],'data':{'roomID':this[_0x7190be(0x90)]}}),(_0x5663a4=this[_0x7190be(0x112)])==null||_0x5663a4['close'](),this[_0x7190be(0x200)]['complete'](),this[_0x7190be(0x1b4)][_0x7190be(0x3cf)](),this[_0x7190be(0x121)]();}[_0xa5a0c5(0x11e)](_0x50643c){var _0x43799c=_0xa5a0c5;_0x50643c['cmd']===_0x40d880[_0x43799c(0x1ca)]?this[_0x43799c(0x3f1)](_0x50643c):_0x50643c['cmd']===_0x40d880[_0x43799c(0xe5)]&&this[_0x43799c(0x24a)](_0x50643c);}[_0xa5a0c5(0x3f2)](_0x5e3847){var _0x391a10=_0xa5a0c5;this['_sessionStatus$'][_0x391a10(0x388)](0x1),_0x5e3847[_0x391a10(0xb1)]({'cmd':_0x40d880['JOIN'],'routeKey':this[_0x391a10(0x90)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0xa5a0c5(0x3f1)](_0x436685){var _0x4c07e1=_0xa5a0c5,_0x255ed3;if(_0x436685['code']in _0x23f4e8){this[_0x4c07e1(0x1b9)][_0x4c07e1(0x3e3)]({'id':_0x23ef2d[_0x4c07e1(0x118)],'data':_0x23f4e8[_0x436685['code']]}),this[_0x4c07e1(0x1b4)][_0x4c07e1(0x388)](0x2);return;}this[_0x4c07e1(0x1b4)]['next'](0x3);const _0xb541d0=(_0x255ed3=_0x436685[_0x4c07e1(0x1d2)]['roomInfos'][this[_0x4c07e1(0x90)]])==null?void 0x0:_0x255ed3[_0x4c07e1(0x26c)];_0xb541d0&&_0xb541d0[_0x4c07e1(0x14a)](_0x46ef58=>this['_memberService'][_0x4c07e1(0x19f)](this[_0x4c07e1(0x90)],_0x46ef58));}[_0xa5a0c5(0x24a)](_0x19a5ac){var _0x752784=_0xa5a0c5;try{const _0xdd28fa=_0x19a5ac[_0x752784(0x1d2)];switch(_0xdd28fa['eventID']){case _0x283aa4[_0x752784(0xe2)][_0x752784(0x1f7)]:this[_0x752784(0x1e1)](_0xdd28fa),this['_event$']['next'](_0xdd28fa);break;case _0x283aa4[_0x752784(0xe2)][_0x752784(0x357)]:this['_onUserLeave'](_0xdd28fa),this[_0x752784(0x200)]['next'](_0xdd28fa);break;case _0x283aa4[_0x752784(0xe2)][_0x752784(0x2e6)]:case _0x283aa4[_0x752784(0xe2)][_0x752784(0x380)]:this[_0x752784(0x32f)](),this[_0x752784(0x368)](),this[_0x752784(0x200)][_0x752784(0x388)](_0xdd28fa);break;case _0x283aa4[_0x752784(0xe2)][_0x752784(0x3fc)]:this[_0x752784(0x33d)][_0x752784(0xe9)](_0x752784(0x3ac)+JSON[_0x752784(0x36b)](_0xdd28fa)),this['_event$'][_0x752784(0x388)](_0xdd28fa);break;case _0x283aa4[_0x752784(0xe2)][_0x752784(0x394)]:this[_0x752784(0x3b3)][_0x752784(0x364)](_0xdd28fa[_0x752784(0x1d2)]),this[_0x752784(0x200)][_0x752784(0x388)](_0xdd28fa);break;default:this[_0x752784(0x200)]['next'](_0xdd28fa);}}catch(_0x53f5af){this[_0x752784(0x33d)]['error'](_0x53f5af,_0x19a5ac);}}[_0xa5a0c5(0x1e1)](_0x36cfaf){var _0x3e3c3c=_0xa5a0c5;this[_0x3e3c3c(0x23b)][_0x3e3c3c(0x19f)](this[_0x3e3c3c(0x90)],_0x36cfaf[_0x3e3c3c(0x1d2)]);}[_0xa5a0c5(0x9b)](_0xe6c12e){var _0x33c068=_0xa5a0c5;this['_memberService']['removeMember'](this['_unitID'],_0xe6c12e[_0x33c068(0x1d2)][_0x33c068(0x16b)]);}async[_0xa5a0c5(0xb1)](_0x32403c,_0x26d2a1){var _0x42f244=_0xa5a0c5;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x32403c[_0x42f244(0x1d8)]===_0x283aa4[_0x42f244(0xe2)][_0x42f244(0x20d)]&&(this[_0x42f244(0x2a9)](),this[_0x42f244(0x1e4)](_0x32403c)),this['_socket'][_0x42f244(0xb1)]({'cmd':_0x40d880[_0x42f244(0x383)],'routeKey':_0x26d2a1,'routeType':'','data':_0x32403c});}catch(_0xc6079a){this[_0x42f244(0x33d)][_0x42f244(0xe9)](_0xc6079a);}}[_0xa5a0c5(0x2a9)](){var _0x2a7a95=_0xa5a0c5,_0x129701;this[_0x2a7a95(0x174)]=setTimeout(()=>{var _0xd03a04=_0x2a7a95;this[_0xd03a04(0x174)]=null,this['_collaborationUIEventService'][_0xd03a04(0x3e3)]({'id':_0x23ef2d[_0xd03a04(0x2a4)]});},(_0x129701=this[_0x2a7a95(0x2e4)]['getConfig'](_0x20a87b))!=null?_0x129701:0x4e20);}[_0xa5a0c5(0x368)](){var _0x2b71bd=_0xa5a0c5;this[_0x2b71bd(0x174)]&&(clearTimeout(this[_0x2b71bd(0x174)]),this['_collaborationTimeoutTimer']=null);}[_0xa5a0c5(0x1e4)](_0xd41e9a){var _0xe9ebf=_0xa5a0c5;if(!this[_0xe9ebf(0x93)])return;const {data:_0x343231}=_0xd41e9a,{unitID:_0x1c5f14,changeset:_0x491f0c}=_0x343231,{mutations:_0x2cb7ad,type:_0x21a3a5}=_0x491f0c;this[_0xe9ebf(0x3a4)]={'unitId':_0x1c5f14,'type':_0x21a3a5,'startTime':performance[_0xe9ebf(0x251)](),'stopTime':0x0,'duration':0x0,'size':_0x76f817(_0x2cb7ad)};}[_0xa5a0c5(0x32f)](){var _0x4b522b=_0xa5a0c5;if(this[_0x4b522b(0x93)]){if(!this[_0x4b522b(0x3a4)]){this[_0x4b522b(0x33d)][_0x4b522b(0xe9)](_0x4b522b(0x3a2),_0x4b522b(0x91));return;}this[_0x4b522b(0x3a4)][_0x4b522b(0x11c)]=performance['now'](),this['_telemetryInfo'][_0x4b522b(0x1b7)]=this[_0x4b522b(0x3a4)]['stopTime']-this['_telemetryInfo'][_0x4b522b(0xf4)],this[_0x4b522b(0x2b1)][_0x4b522b(0x3c8)](_0x46d436,this[_0x4b522b(0x3a4)]),this['_telemetryInfo']=null;}}[_0xa5a0c5(0x33b)](){var _0x507b8a=_0xa5a0c5;this[_0x507b8a(0x3a4)]=null;}},_0x1ee398['CollaborationSession']=_0xa441c9([_0x3d0899(0x2,_0x55777a[_0xa5a0c5(0x1d9)]),_0x3d0899(0x3,_0x55777a[_0xa5a0c5(0x1cc)]),_0x3d0899(0x4,_0x55777a[_0xa5a0c5(0x239)](_0x55777a['LocaleService'])),_0x3d0899(0x5,_0x55777a['Inject'](_0x1ee398[_0xa5a0c5(0x114)])),_0x3d0899(0x6,_0x55777a[_0xa5a0c5(0x239)](_0x54517c)),_0x3d0899(0x7,_0x55777a['Inject'](_0x5740f2)),_0x3d0899(0x8,_0x55777a[_0xa5a0c5(0xd0)](_0x27b7db[_0xa5a0c5(0xa6)]))],_0x1ee398[_0xa5a0c5(0x379)]);var _0x33dc4e=Object[_0xa5a0c5(0x3d0)],_0x4fc443=(_0x71e2b5,_0x4ad6d4,_0x123c26,_0x348636)=>{for(var _0x359684=_0x348636>0x1?void 0x0:_0x348636?_0x33dc4e(_0x4ad6d4,_0x123c26):_0x4ad6d4,_0x559b9e=_0x71e2b5['length']-0x1,_0x14d645;_0x559b9e>=0x0;_0x559b9e--)(_0x14d645=_0x71e2b5[_0x559b9e])&&(_0x359684=_0x14d645(_0x359684)||_0x359684);return _0x359684;},_0x1fa952=(_0x43716d,_0x585903)=>(_0x2af7b7,_0x12b08b)=>_0x585903(_0x2af7b7,_0x12b08b,_0x43716d);_0x1ee398['CollaborationSessionService']=class extends _0x55777a[_0xa5a0c5(0xb0)]{constructor(_0x2bca2f,_0xce92ea,_0x2b5e8c,_0x3fca23,_0x1033f4,_0x1939cf){var _0x8d52d=_0xa5a0c5;super(),_0x27fcc5(this,_0x8d52d(0x1d4),new _0x307531['BehaviorSubject'](void 0x0)),_0x27fcc5(this,_0x8d52d(0x280),this[_0x8d52d(0x1d4)]['asObservable']()),_0x27fcc5(this,_0x8d52d(0x311),null),_0x27fcc5(this,_0x8d52d(0x343),new Map()),_0x27fcc5(this,_0x8d52d(0x19b),new _0x307531[(_0x8d52d(0x161))](_0x37598e[_0x8d52d(0x39e)])),_0x27fcc5(this,_0x8d52d(0xad),this[_0x8d52d(0x19b)][_0x8d52d(0xcd)]()),_0x27fcc5(this,_0x8d52d(0x207),!0x1),_0x27fcc5(this,_0x8d52d(0x247)),_0x27fcc5(this,'_retryCount',0x0),_0x27fcc5(this,_0x8d52d(0xca)),_0x27fcc5(this,_0x8d52d(0x2c7)),(this['_injector']=_0x2bca2f,this['_logService']=_0xce92ea,this[_0x8d52d(0x2e4)]=_0x2b5e8c,this[_0x8d52d(0x215)]=_0x3fca23,this[_0x8d52d(0x1b9)]=_0x1033f4,this['_networkConditionService']=_0x1939cf,this[_0x8d52d(0x3ca)]());}get[_0xa5a0c5(0x112)](){var _0x56dbce=_0xa5a0c5;return this[_0x56dbce(0x1d4)][_0x56dbce(0x3a6)]();}[_0xa5a0c5(0x3ca)](){var _0x2a7ce=_0xa5a0c5;this[_0x2a7ce(0x302)]&&this['disposeWithMe'](this[_0x2a7ce(0x302)]['online$'][_0x2a7ce(0xf7)](_0x4521e7=>{var _0x4ea42e=_0x2a7ce;_0x4521e7&&!this[_0x4ea42e(0x112)]&&this[_0x4ea42e(0x3c3)](),_0x4521e7||this[_0x4ea42e(0x10f)]();}));}['dispose'](){var _0x3a1dcd=_0xa5a0c5;super[_0x3a1dcd(0x121)](),this[_0x3a1dcd(0x191)](),this[_0x3a1dcd(0xb5)](),this[_0x3a1dcd(0x2af)](),this[_0x3a1dcd(0x343)][_0x3a1dcd(0x14a)](_0x46c667=>_0x46c667[_0x3a1dcd(0x121)]()),this[_0x3a1dcd(0x343)][_0x3a1dcd(0x235)](),this[_0x3a1dcd(0x19b)][_0x3a1dcd(0x3cf)]();}async[_0xa5a0c5(0x369)](_0x384cc1){var _0x35f03e=_0xa5a0c5;if(this['_sessions'][_0x35f03e(0x2f6)](_0x384cc1))return this['_sessions'][_0x35f03e(0x223)](_0x384cc1);this[_0x35f03e(0x245)]();const _0x4f0643=this['_injector']['createInstance'](_0x1ee398[_0x35f03e(0x379)],_0x384cc1,this[_0x35f03e(0x1d4)][_0x35f03e(0xcd)]());return this[_0x35f03e(0x343)]['set'](_0x384cc1,_0x4f0643),_0x4f0643;}['closeSession'](_0x148bdd){var _0x28933b=_0xa5a0c5,_0x543766;const _0x1519b6=this[_0x28933b(0x343)][_0x28933b(0x223)](_0x148bdd);_0x1519b6&&(this[_0x28933b(0x343)][_0x28933b(0xab)](_0x148bdd),_0x1519b6[_0x28933b(0x202)]()),this[_0x28933b(0x343)][_0x28933b(0x375)]||(_0x543766=this[_0x28933b(0x112)])==null||_0x543766[_0x28933b(0x202)]();}[_0xa5a0c5(0x3c3)](){var _0x57cbcb=_0xa5a0c5;this[_0x57cbcb(0x15d)]=0x0,this[_0x57cbcb(0x191)](),this['_tryReconnect']();}[_0xa5a0c5(0x191)](){var _0x18ddfe=_0xa5a0c5;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x18ddfe(0x247)]),this[_0x18ddfe(0x247)]=null);}async[_0xa5a0c5(0x110)](){var _0x5dc78c=_0xa5a0c5,_0x390ee6,_0x55a4f2;const _0x44a965=this[_0x5dc78c(0x2e4)][_0x5dc78c(0x179)](_0x55af26),_0xc58f6b=this[_0x5dc78c(0x2e4)]['getConfig'](_0xdaa49b),_0x2e3530=(_0x55a4f2=(_0x390ee6=_0xc58f6b==null?void 0x0:_0xc58f6b[_0x5dc78c(0x2fd)])!=null?_0x390ee6:_0x44a965)!=null?_0x55a4f2:_0x347a49,_0x44d86a=await this[_0x5dc78c(0x215)][_0x5dc78c(0x2f0)](_0x2e3530);return this['_candidateSocket']=_0x44d86a,_0x44d86a;}async[_0xa5a0c5(0x245)](){var _0x22c00b=_0xa5a0c5,_0x3131e9,_0x22e520;try{const _0x6ff089=(_0x22e520=(_0x3131e9=this[_0x22c00b(0x112)])!=null?_0x3131e9:this[_0x22c00b(0x311)])!=null?_0x22e520:await this[_0x22c00b(0x110)]();if(_0x6ff089){const _0x5f367f=_0x6ff089[_0x22c00b(0xb1)];_0x6ff089[_0x22c00b(0xb1)]=_0x3b61fd=>(this[_0x22c00b(0xed)](),_0x5f367f[_0x22c00b(0x35a)](_0x6ff089,[_0x3b61fd])),_0x6ff089['message$'][_0x22c00b(0xf7)](_0x436f5b=>this['_onMessage'](_0x6ff089,_0x436f5b)),_0x6ff089[_0x22c00b(0x8c)]['pipe'](_0x6ef337['take'](0x1))[_0x22c00b(0xf7)](_0x243d00=>this[_0x22c00b(0x33d)][_0x22c00b(0xe9)](_0x22c00b(0x37f),_0x243d00)),_0x6ff089[_0x22c00b(0x38b)]['pipe'](_0x6ef337[_0x22c00b(0x408)](0x1))[_0x22c00b(0xf7)](()=>{var _0x44616b=_0x22c00b;this[_0x44616b(0xd2)](_0x6ff089);}),_0x6ff089[_0x22c00b(0x3e9)][_0x22c00b(0x92)](_0x6ef337[_0x22c00b(0x408)](0x1))[_0x22c00b(0xf7)](_0x2a876f=>{var _0x2925cf=_0x22c00b;this[_0x2925cf(0x33d)][_0x2925cf(0x3f3)](_0x2925cf(0x182),'socket\x20close',_0x2a876f),this[_0x2925cf(0x33c)]();});}}catch(_0x4ba314){this[_0x22c00b(0x33d)][_0x22c00b(0xe9)](_0x4ba314),this[_0x22c00b(0x33c)]();}}['_onConnectionOpen'](_0x24c27a){var _0x3f2798=_0xa5a0c5;this[_0x3f2798(0x33d)][_0x3f2798(0x3f3)](_0x3f2798(0x182),'socket\x20open.'),_0x24c27a['send']({'cmd':_0x40d880[_0x3f2798(0x324)]}),this['_rescheduleHeartbeat']();}[_0xa5a0c5(0x10f)](){var _0x3a99ee=_0xa5a0c5;this[_0x3a99ee(0x207)]=!0x1,this[_0x3a99ee(0x311)]=null,this[_0x3a99ee(0x19b)][_0x3a99ee(0x388)](_0x37598e[_0x3a99ee(0x254)]),this[_0x3a99ee(0x1d4)]['next'](null),this[_0x3a99ee(0xb5)](),this[_0x3a99ee(0x2af)]();}['_onConnectionFailed'](){var _0x103646=_0xa5a0c5,_0x2e36f7;this[_0x103646(0x10f)](),this['_retryCount']<((_0x2e36f7=this[_0x103646(0x2e4)][_0x103646(0x179)](_0x1ed21c))!=null?_0x2e36f7:0x3)?(this[_0x103646(0x1b9)][_0x103646(0x3e3)]({'id':_0x23ef2d[_0x103646(0xa2)]}),this[_0x103646(0x333)]()):this[_0x103646(0x1b9)][_0x103646(0x3e3)]({'id':_0x23ef2d[_0x103646(0x111)]});}[_0xa5a0c5(0x333)](){var _0x356908=_0xa5a0c5,_0x3f16a1;const _0x34b731=this[_0x356908(0x15d)],_0x3f7589=this['_configService']['getConfig'](_0xdaa49b),_0x3f6db5=_0x34b731===0x0?0x0:((_0x3f16a1=_0x3f7589==null?void 0x0:_0x3f7589[_0x356908(0x1c9)])!=null?_0x3f16a1:0x4e20)*0x2**_0x34b731;this[_0x356908(0x247)]=setTimeout(()=>{var _0x578331=_0x356908;clearTimeout(this[_0x578331(0x247)]),this[_0x578331(0x247)]=null,this[_0x578331(0x245)]();},_0x3f6db5),this[_0x356908(0x15d)]+=0x1;}[_0xa5a0c5(0x28b)](_0xc8860e,_0x114b32){var _0x52b020=_0xa5a0c5;const {cmd:_0x3941a3}=_0x114b32;_0x3941a3===_0x40d880[_0x52b020(0x324)]&&!this[_0x52b020(0x207)]&&(_0xc8860e['memberID']=_0x114b32[_0x52b020(0x1d2)]['memberID'],this['_socket$'][_0x52b020(0x388)](_0xc8860e),this[_0x52b020(0x19b)][_0x52b020(0x388)](_0x37598e[_0x52b020(0x21d)]),this[_0x52b020(0x207)]=!0x0,this[_0x52b020(0x311)]=null),_0x3941a3===_0x40d880[_0x52b020(0x275)]&&this['_clearTimeoutTimer'](),this[_0x52b020(0xed)]();}[_0xa5a0c5(0xed)](){var _0x2e8c7a=_0xa5a0c5,_0x2c5e24;this['_clearHeartbeatTimer'](),this[_0x2e8c7a(0xca)]=setTimeout(()=>this[_0x2e8c7a(0x1eb)](),(_0x2c5e24=this[_0x2e8c7a(0x2e4)]['getConfig'](_0x32a8ea))!=null?_0x2c5e24:0x7530);}[_0xa5a0c5(0x1eb)](){var _0x389da7=_0xa5a0c5;this[_0x389da7(0x112)][_0x389da7(0xb1)]({'cmd':_0x40d880['HEARTBEAT']}),this[_0x389da7(0xaf)]();}[_0xa5a0c5(0xaf)](){var _0x3bd6cf=_0xa5a0c5,_0x2076be;this[_0x3bd6cf(0x2c7)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x2076be=this[_0x3bd6cf(0x2e4)][_0x3bd6cf(0x179)](_0x20a87b))!=null?_0x2076be:0x4e20);}[_0xa5a0c5(0x2af)](){var _0x36f842=_0xa5a0c5;this[_0x36f842(0xca)]!=null&&(clearTimeout(this[_0x36f842(0xca)]),this[_0x36f842(0xca)]=null);}[_0xa5a0c5(0xb5)](){var _0x44d3b9=_0xa5a0c5;this[_0x44d3b9(0x2c7)]!=null&&(clearTimeout(this[_0x44d3b9(0x2c7)]),this[_0x44d3b9(0x2c7)]=null);}},_0x1ee398[_0xa5a0c5(0x86)]=_0x4fc443([_0x1fa952(0x0,_0x55777a['Inject'](_0x55777a[_0xa5a0c5(0x2f9)])),_0x1fa952(0x1,_0x55777a[_0xa5a0c5(0x1d9)]),_0x1fa952(0x2,_0x55777a[_0xa5a0c5(0x1cc)]),_0x1fa952(0x3,_0x43bf3f),_0x1fa952(0x4,_0x55777a['Inject'](_0x5740f2)),_0x1fa952(0x5,_0x55777a[_0xa5a0c5(0xd0)](_0x5cbe41))],_0x1ee398[_0xa5a0c5(0x86)]);const _0x2b50d7=[];for(let _0x19d1d5=0x0;_0x19d1d5<0x100;++_0x19d1d5)_0x2b50d7[_0xa5a0c5(0x31e)]((_0x19d1d5+0x100)[_0xa5a0c5(0x2c5)](0x10)[_0xa5a0c5(0x3af)](0x1));function _0x14c5d3(_0x1fad35,_0x191135=0x0){var _0x46c661=_0xa5a0c5;return(_0x2b50d7[_0x1fad35[_0x191135+0x0]]+_0x2b50d7[_0x1fad35[_0x191135+0x1]]+_0x2b50d7[_0x1fad35[_0x191135+0x2]]+_0x2b50d7[_0x1fad35[_0x191135+0x3]]+'-'+_0x2b50d7[_0x1fad35[_0x191135+0x4]]+_0x2b50d7[_0x1fad35[_0x191135+0x5]]+'-'+_0x2b50d7[_0x1fad35[_0x191135+0x6]]+_0x2b50d7[_0x1fad35[_0x191135+0x7]]+'-'+_0x2b50d7[_0x1fad35[_0x191135+0x8]]+_0x2b50d7[_0x1fad35[_0x191135+0x9]]+'-'+_0x2b50d7[_0x1fad35[_0x191135+0xa]]+_0x2b50d7[_0x1fad35[_0x191135+0xb]]+_0x2b50d7[_0x1fad35[_0x191135+0xc]]+_0x2b50d7[_0x1fad35[_0x191135+0xd]]+_0x2b50d7[_0x1fad35[_0x191135+0xe]]+_0x2b50d7[_0x1fad35[_0x191135+0xf]])[_0x46c661(0x2f7)]();}let _0x1b2484;const _0xfb1235=new Uint8Array(0x10);function _0x13a4c3(){var _0x5f4ab4=_0xa5a0c5;if(!_0x1b2484){if(typeof crypto>'u'||!crypto[_0x5f4ab4(0x135)])throw new Error(_0x5f4ab4(0x3be));_0x1b2484=crypto['getRandomValues'][_0x5f4ab4(0x36d)](crypto);}return _0x1b2484(_0xfb1235);}const _0x27d127={'randomUUID':typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0xa5a0c5(0xd5)]['bind'](crypto)};function _0xeb32dd(_0x73ace,_0x5edbf9,_0x2b47d1){var _0x2bc084=_0xa5a0c5,_0x413406,_0x135096,_0x27d015;if(_0x27d127[_0x2bc084(0xd5)]&&!_0x73ace)return _0x27d127[_0x2bc084(0xd5)]();_0x73ace=_0x73ace||{};const _0x25248a=(_0x27d015=(_0x135096=_0x73ace[_0x2bc084(0xa3)])!=null?_0x135096:(_0x413406=_0x73ace[_0x2bc084(0x25b)])==null?void 0x0:_0x413406['call'](_0x73ace))!=null?_0x27d015:_0x13a4c3();if(_0x25248a['length']<0x10)throw new Error(_0x2bc084(0x102));return _0x25248a[0x6]=_0x25248a[0x6]&0xf|0x40,_0x25248a[0x8]=_0x25248a[0x8]&0x3f|0x80,_0x14c5d3(_0x25248a);}const _0x5a7cb1=_0x55777a[_0xa5a0c5(0x19e)](_0xa5a0c5(0x1c0));function _0x4125ec(_0x3fd90d){var _0x141c6e=_0xa5a0c5;return _0x141c6e(0xd6)+_0x3fd90d;}var _0x341d1c=Object[_0xa5a0c5(0x3d0)],_0x49e544=(_0x2cc280,_0x44bbb9,_0x22651d,_0x220b72)=>{for(var _0x421cc4=_0x220b72>0x1?void 0x0:_0x220b72?_0x341d1c(_0x44bbb9,_0x22651d):_0x44bbb9,_0x4b0c3a=_0x2cc280['length']-0x1,_0x21bcba;_0x4b0c3a>=0x0;_0x4b0c3a--)(_0x21bcba=_0x2cc280[_0x4b0c3a])&&(_0x421cc4=_0x21bcba(_0x421cc4)||_0x421cc4);return _0x421cc4;},_0x5ee834=(_0x1fe9b5,_0x38d085)=>(_0x52b2e3,_0x27768d)=>_0x38d085(_0x52b2e3,_0x27768d,_0x1fe9b5);function _0x2294c3(_0x2f6262){var _0x322748=_0xa5a0c5;const {unitID:_0x3a9c69,mutations:_0x3f7676}=_0x2f6262;return{'unitId':_0x3a9c69,'subUnitId':_0x3f7676[0x0][_0x322748(0x147)][_0x322748(0x374)]};}_0x1ee398[_0xa5a0c5(0x8e)]=class{constructor(_0x1bf3e4,_0x471c99,_0x450d5a){var _0x45155d=_0xa5a0c5;this[_0x45155d(0x24c)]=_0x1bf3e4,this[_0x45155d(0x20e)]=_0x471c99,this[_0x45155d(0x31d)]=_0x450d5a;}[_0xa5a0c5(0x23e)](_0x134551){var _0x408818=_0xa5a0c5,_0x53c52c,_0xf54166,_0x3ee5a1,_0x1bba11;const _0x3b7d20=this[_0x408818(0x24c)][_0x408818(0x223)](_0x11deaf[_0x408818(0x397)]),{unitId:_0xf05c37,subUnitId:_0x295698}=_0x2294c3(_0x134551),_0x1fc732=_0x3b7d20==null?void 0x0:_0x3b7d20[_0x408818(0x3ab)](_0xf05c37)[_0x408818(0x38a)](),_0x1ba367=(_0xf54166=(_0x53c52c=this[_0x408818(0x31d)][_0x408818(0x3c0)](_0xf05c37))==null?void 0x0:_0x53c52c[_0x408818(0x1e3)]())==null?void 0x0:_0xf54166[_0x408818(0x105)]();if(_0x1fc732[_0x408818(0x165)]===0x0||!_0xf05c37||!_0x295698)return;const _0x4c8d2d=[{'id':_0x11deaf[_0x408818(0x3c4)]['id'],'params':{'unitId':_0xf05c37,'subUnitId':_0x1ba367,'selections':_0x55777a[_0x408818(0x151)][_0x408818(0xd9)](_0x1fc732)}}],_0x590eab=this[_0x408818(0x20e)][_0x408818(0x192)](_0x134551,_0x4c8d2d);if(!_0x283aa4[_0x408818(0xa8)](_0x590eab))throw _0x590eab['error'];const _0x2aca73=(_0x1bba11=(_0x3ee5a1=_0x590eab[_0x408818(0x2f3)][0x0])==null?void 0x0:_0x3ee5a1[_0x408818(0x147)])==null?void 0x0:_0x1bba11[_0x408818(0x8f)];if(Array[_0x408818(0xc2)](_0x2aca73)&&_0x2aca73[_0x408818(0x165)]){if(_0x2aca73['length']===_0x4c8d2d[0x0]['params']['selections'][_0x408818(0x165)]&&_0x2aca73[_0x408818(0x246)]((_0x363b72,_0xc8a6bd)=>_0x55777a[_0x408818(0x140)][_0x408818(0x412)](_0x363b72[_0x408818(0x195)],_0x4c8d2d[0x0][_0x408818(0x147)][_0x408818(0x8f)][_0xc8a6bd][_0x408818(0x195)])))return;this[_0x408818(0x24c)]['get'](_0x55777a[_0x408818(0x27a)])[_0x408818(0x395)](_0x11deaf[_0x408818(0x3c4)]['id'],{'unitId':_0xf05c37,'subUnitId':_0x1ba367,'selections':_0x2aca73});}}},_0x1ee398[_0xa5a0c5(0x8e)]=_0x49e544([_0x5ee834(0x0,_0x55777a['Inject'](_0x55777a['Injector'])),_0x5ee834(0x1,_0x283aa4[_0xa5a0c5(0x40c)]),_0x5ee834(0x2,_0x55777a[_0xa5a0c5(0x3d8)])],_0x1ee398[_0xa5a0c5(0x8e)]);const _0x185a2b=_0x55777a['createIdentifier'](_0xa5a0c5(0x167));var _0x2b2ea7=(_0x43006c=>(_0x43006c[_0x43006c[_0xa5a0c5(0x20f)]=0x0]=_0xa5a0c5(0x20f),_0x43006c[_0x43006c[_0xa5a0c5(0xaa)]=0x1]='OTHER_CLIENTS_EDITING',_0x43006c))(_0x2b2ea7||{});const _0x41d21d=new Set([_0x11deaf[_0xa5a0c5(0x1cd)]['id']]);function _0xb93998(_0x4d1d20,_0x2089e5,_0x38773f,_0x428e69,_0x869210){var _0x3f0f49=_0xa5a0c5,_0x1cd686,_0x169d46,_0x426930,_0x165796;const _0x4205c6=[];for(const _0x3cba36 of _0x4d1d20)if(_0x41d21d[_0x3f0f49(0x2f6)](_0x3cba36['id'])){if(_0x4205c6[_0x3f0f49(0x165)]>0x0)break;_0x4205c6[_0x3f0f49(0x31e)](_0x3cba36);break;}else _0x4205c6[_0x3f0f49(0x31e)](_0x3cba36);const _0x3b7ce6=(_0x169d46=(_0x1cd686=_0x869210[_0x3f0f49(0x214)]())==null?void 0x0:_0x1cd686[_0x3f0f49(0x3d3)])!=null?_0x169d46:'unknown',_0x361414=(_0x165796=(_0x426930=_0x869210[_0x3f0f49(0x214)]())==null?void 0x0:_0x426930[_0x3f0f49(0x16b)])!=null?_0x165796:_0x3f0f49(0x414);return{'changeset':{'unitID':_0x2089e5,'type':_0x283aa4[_0x3f0f49(0x201)](_0x38773f[_0x3f0f49(0x3f0)](_0x2089e5)),'baseRev':_0x428e69[_0x3f0f49(0x95)](_0x2089e5),'revision':0x0,'userID':_0x3b7ce6,'memberID':_0x361414,'mutations':_0x4205c6},'pendingMutations':_0x4d1d20[_0x3f0f49(0x3af)](_0x4205c6[_0x3f0f49(0x165)])};}function _0x148feb(_0x2ecfa7,_0x1c310f,_0x265012,_0x3f4539,_0x193d18){var _0x498943=_0xa5a0c5,_0x5aeecf,_0x29eac0,_0x3a552e,_0x38850a;const _0x5c0e4e=[_0x2ecfa7['reduce']((_0x5cfc1d,_0x2063af)=>{var _0x196d64=_0x2939,_0x2d921e;const {id:_0x56d45a}=_0x5cfc1d,{id:_0x1e3311,type:_0x21222f}=_0x2063af,_0x35b835=(_0x2d921e=_0x5cfc1d[_0x196d64(0x147)])!=null?_0x2d921e:{'actions':null},_0x220a29=_0x2063af[_0x196d64(0x147)];if(_0x56d45a&&_0x56d45a!==_0x1e3311)throw new Error(_0x196d64(0x1ea)+_0x56d45a+_0x196d64(0x2e0)+_0x1e3311+'.');return{..._0x5cfc1d,'id':_0x1e3311,'type':_0x21222f,'params':{'unitId':_0x220a29[_0x196d64(0x3a5)],'textRanges':_0x220a29['textRanges'],'actions':_0x55777a['JSONX'][_0x196d64(0x348)](_0x35b835[_0x196d64(0x17b)],_0x220a29[_0x196d64(0x17b)])}};},{})],_0x2b99ba=(_0x29eac0=(_0x5aeecf=_0x193d18[_0x498943(0x214)]())==null?void 0x0:_0x5aeecf['userID'])!=null?_0x29eac0:_0x498943(0x414),_0xb15726=(_0x38850a=(_0x3a552e=_0x193d18[_0x498943(0x214)]())==null?void 0x0:_0x3a552e[_0x498943(0x16b)])!=null?_0x38850a:_0x498943(0x414);return{'changeset':{'unitID':_0x1c310f,'type':_0x283aa4[_0x498943(0x201)](_0x265012['getUnitType'](_0x1c310f)),'baseRev':_0x3f4539[_0x498943(0x95)](_0x1c310f),'revision':0x0,'userID':_0x2b99ba,'memberID':_0xb15726,'mutations':_0x5c0e4e},'pendingMutations':[]};}function _0x125a68(_0xd8f080,_0x4d91f5){var _0x749cc8=_0xa5a0c5;const _0x5e5fc9=new _0x307531[(_0x749cc8(0x29c))](0x1);return setTimeout(()=>_0x5e5fc9['next'](_0x4d91f5),_0xd8f080),_0x5e5fc9[_0x749cc8(0xcd)]()[_0x749cc8(0x92)](_0x307531[_0x749cc8(0x408)](0x1));}const _0x5551bc={'id':_0x11deaf['EmptyMutation']['id'],'type':_0x55777a[_0xa5a0c5(0x1a0)][_0xa5a0c5(0x330)],'params':{}};var _0x4ee31d=Object[_0xa5a0c5(0x3d0)],_0x4d4ed4=(_0x3c8799,_0x57a988,_0x2edbbf,_0x3b3a45)=>{for(var _0x3977a3=_0x3b3a45>0x1?void 0x0:_0x3b3a45?_0x4ee31d(_0x57a988,_0x2edbbf):_0x57a988,_0x5593cf=_0x3c8799['length']-0x1,_0xc177bd;_0x5593cf>=0x0;_0x5593cf--)(_0xc177bd=_0x3c8799[_0x5593cf])&&(_0x3977a3=_0xc177bd(_0x3977a3)||_0x3977a3);return _0x3977a3;},_0x16fa39=(_0x181070,_0x378d72)=>(_0x5c889f,_0x5e6ef5)=>_0x378d72(_0x5c889f,_0x5e6ef5,_0x181070),_0x5ebfb7=(_0x2f491b=>(_0x2f491b[_0xa5a0c5(0x2a5)]=_0xa5a0c5(0x189),_0x2f491b['SYNCED']=_0xa5a0c5(0x21b),_0x2f491b['PENDING']='pending',_0x2f491b['AWAITING']=_0xa5a0c5(0x3a8),_0x2f491b['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x2f491b[_0xa5a0c5(0x301)]=_0xa5a0c5(0x190),_0x2f491b['CONFLICT']='conflict',_0x2f491b[_0xa5a0c5(0x254)]=_0xa5a0c5(0x17f),_0x2f491b))(_0x5ebfb7||{});const _0x335676=0xea60;class _0x17a17a{constructor(_0x42a62e,_0x57b76d,_0x45abd0,_0x5671d7,_0x246d08,_0x28106c,_0xa0430e,_0xd8eb8c,_0x5e432e){var _0x4ee20b=_0xa5a0c5;_0x27fcc5(this,_0x4ee20b(0x18b),null),_0x27fcc5(this,'_pendingMutations',[]),(this[_0x4ee20b(0x18e)]=_0x42a62e,this['type']=_0x57b76d,this[_0x4ee20b(0x2aa)]=_0x246d08,this['_commandService']=_0x28106c,this[_0x4ee20b(0x170)]=_0xa0430e,this['_revisionService']=_0xd8eb8c,this[_0x4ee20b(0x338)]=_0x5e432e,this[_0x4ee20b(0x18b)]=_0x45abd0,this[_0x4ee20b(0x258)]=_0x5671d7);}[_0xa5a0c5(0x3d2)](_0x2857ad){var _0x96d206=_0xa5a0c5;const _0x24b516=this[_0x96d206(0x3a1)]['getCurrentRevOfUnit'](this[_0x96d206(0x18e)]);return _0x2857ad[_0x96d206(0x13c)]>_0x24b516+0x1?(this[_0x96d206(0x2aa)]['onMissingChangesets']({'from':_0x24b516,'to':_0x2857ad[_0x96d206(0x13c)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x8d382c){var _0x4a192e=_0xa5a0c5;this[_0x4a192e(0x170)][_0x4a192e(0x36f)](this['unitID'],_0x8d382c);}[_0xa5a0c5(0x188)](_0xf2847){var _0x55f4f7=_0xa5a0c5,_0x39001b,_0x2cbc7f;(_0x2cbc7f=(_0x39001b=this[_0x55f4f7(0x2aa)])[_0x55f4f7(0xa7)])==null||_0x2cbc7f[_0x55f4f7(0x238)](_0x39001b,_0xf2847);}[_0xa5a0c5(0x29a)](_0x3b7f2f){var _0x5b3a23=_0xa5a0c5,_0x1f6b1a,_0xa050af;return(_0xa050af=(_0x1f6b1a=this[_0x5b3a23(0x2aa)])[_0x5b3a23(0x313)])==null?void 0x0:_0xa050af[_0x5b3a23(0x238)](_0x1f6b1a,_0x3b7f2f);}['_transformStateCache'](_0x3afa38){var _0x5f4350,_0xde96ed;return(_0xde96ed=(_0x5f4350=this['_handler'])['onTransformState'])==null?void 0x0:_0xde96ed['call'](_0x5f4350,_0x3afa38);}[_0xa5a0c5(0x100)](_0x26c2cb){var _0x54e33b=_0xa5a0c5,_0x46a942,_0x26e656,_0xd8bdf6;return(_0xd8bdf6=(_0x26e656=(_0x46a942=this['_handler'])[_0x54e33b(0x3b9)])==null?void 0x0:_0x26e656[_0x54e33b(0x238)](_0x46a942,_0x26c2cb))!=null?_0xd8bdf6:_0x26c2cb;}['_transformRemoteChangesetByStateCache'](_0x4ba87d){var _0x3e4e50=_0xa5a0c5,_0x4d131b,_0x325855,_0x1c9b99;return(_0x1c9b99=(_0x325855=(_0x4d131b=this['_handler'])[_0x3e4e50(0x101)])==null?void 0x0:_0x325855[_0x3e4e50(0x238)](_0x4d131b,_0x4ba87d))!=null?_0x1c9b99:_0x4ba87d;}[_0xa5a0c5(0x13d)](_0x518fc1){var _0x1eef0d=_0xa5a0c5,_0x558bf0,_0x3a6c2e;if(this['type']===_0x14ec27[_0x1eef0d(0x226)]){const {unitID:_0x45e97f,mutations:_0x3139e7,memberID:_0x51aee1}=_0x518fc1,_0x4cb520=_0x3139e7[0x0][_0x1eef0d(0x147)][_0x1eef0d(0x36c)];Array[_0x1eef0d(0xc2)](_0x4cb520)&&_0x4cb520['length']>0x0&&((_0x3a6c2e=(_0x558bf0=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x3a6c2e[_0x1eef0d(0x238)](_0x558bf0,{'unitID':_0x45e97f,'memberID':_0x51aee1,'textRanges':_0x4cb520}));}}[_0xa5a0c5(0x2ba)](){var _0x2b83a8=_0xa5a0c5,_0x150634;(_0x150634=this[_0x2b83a8(0x338)])==null||_0x150634[_0x2b83a8(0x2da)](this[_0x2b83a8(0x18e)],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x108cb7=_0xa5a0c5;return this[_0x108cb7(0x3a1)]['getCurrentRevOfUnit'](this[_0x108cb7(0x18e)]);}[_0xa5a0c5(0x160)](){var _0x11d0a8=_0xa5a0c5;this[_0x11d0a8(0x3a1)][_0x11d0a8(0x159)](this[_0x11d0a8(0x18e)]);}[_0xa5a0c5(0x18a)](_0x22c0b4){var _0xa8df8d=_0xa5a0c5,_0x2e49c8;let _0x446503=this[_0xa8df8d(0x100)](_0x22c0b4);_0x446503=this[_0xa8df8d(0x145)](_0x446503);const _0x1b64c5=_0x55777a[_0xa8df8d(0xcb)](_0x446503[_0xa8df8d(0x1db)],this[_0xa8df8d(0x1e0)],{'fromCollab':!0x0});if(!_0x1b64c5['result'])throw _0x1b64c5[_0xa8df8d(0xe9)]instanceof Error?_0x1b64c5[_0xa8df8d(0xe9)]:new Error((_0x2e49c8=_0x1b64c5['error'])!=null?_0x2e49c8:_0xa8df8d(0x367));this[_0xa8df8d(0x29a)](_0x446503),this[_0xa8df8d(0x16d)](_0x446503),this['_transformUndoredo'](_0x22c0b4),this['_transformSelections'](_0x446503),this['_syncEditingCollabCursor'](_0x446503),this['_incrementRevisionNumber']();}}_0x1ee398[_0xa5a0c5(0xa0)]=class extends _0x17a17a{constructor(_0x287a65,_0x85c4df,_0x4d8762,_0x1cf774,_0xb6e272,_0x468b56,_0x2f8eac,_0x194088,_0x1acb45,_0x2949f6){var _0x321dd0=_0xa5a0c5;super(_0x287a65,_0x85c4df,null,[],_0x4d8762,_0x2f8eac,_0x468b56,_0x1cf774,_0x2949f6),_0x27fcc5(this,_0x321dd0(0x1fc),_0x321dd0(0x21b)),(this['_injector']=_0xb6e272,this[_0x321dd0(0x33d)]=_0x194088,this['_transformService']=_0x1acb45,this[_0x321dd0(0x1f8)]=_0x2949f6);}[_0xa5a0c5(0x173)](_0x1f5bdb){var _0x15bb6e=_0xa5a0c5;const _0xed4909=this[_0x15bb6e(0x24c)][_0x15bb6e(0x277)](_0x1ee398[_0x15bb6e(0x85)],this[_0x15bb6e(0x18e)],this[_0x15bb6e(0x3b7)],[_0x1f5bdb],this[_0x15bb6e(0x2aa)]);return _0xed4909[_0x15bb6e(0x3d4)](),_0xed4909[_0x15bb6e(0x2ba)](),_0xed4909;}[_0xa5a0c5(0x353)](_0x2e31fe){var _0x2defee=_0xa5a0c5;if(this[_0x2defee(0x3d2)](_0x2e31fe))return this[_0x2defee(0x24c)][_0x2defee(0x277)](_0x1ee398[_0x2defee(0x2d0)],this['unitID'],this[_0x2defee(0x3b7)],null,[],null,[_0x2e31fe],this[_0x2defee(0x2aa)]);try{const _0x4cae28=this[_0x2defee(0x20e)][_0x2defee(0x192)](_0x2e31fe,[_0x5551bc]);if(_0x283aa4[_0x2defee(0xa8)](_0x4cae28)){const {c1Prime:_0xebbe4d}=_0x4cae28;return this['_executeRemoteChangeset'](_0xebbe4d),this;}throw _0x4cae28[_0x2defee(0xe9)];}catch(_0x38a78f){return this[_0x2defee(0x33d)][_0x2defee(0xe9)](_0x38a78f),this[_0x2defee(0x2e5)](!0x1);}}[_0xa5a0c5(0x2e5)](_0x4c6c33){var _0x177e7f=_0xa5a0c5;return this[_0x177e7f(0x24c)][_0x177e7f(0x277)](_0x1ee398[_0x177e7f(0x126)],this[_0x177e7f(0x18e)],this['type'],null,[],this[_0x177e7f(0x2aa)],_0x4c6c33);}['onRemoteAck'](){var _0x4fcafd=_0xa5a0c5;throw new Error(_0x4fcafd(0x294));}['onRemoteRej'](){var _0x1c0d89=_0xa5a0c5;throw new Error(_0x1c0d89(0x94));}[_0xa5a0c5(0x14c)](){return this;}[_0xa5a0c5(0x212)](){var _0xe3b126=_0xa5a0c5;return this[_0xe3b126(0x24c)][_0xe3b126(0x277)](_0x1ee398[_0xe3b126(0x3ee)],this['unitID'],this[_0xe3b126(0x3b7)],null,[],this[_0xe3b126(0x2aa)]);}[_0xa5a0c5(0x331)](){return this;}['resend'](){var _0x4a27ce=_0xa5a0c5;throw new Error(_0x4a27ce(0x253));}[_0xa5a0c5(0x29d)](){var _0x1734ec=_0xa5a0c5;const _0x3b7ec5=this[_0x1734ec(0x3a1)][_0x1734ec(0x95)](this['unitID']);return this['_handler'][_0x1734ec(0x193)]({'from':_0x3b7ec5,'to':0x0}),this[_0x1734ec(0x24c)][_0x1734ec(0x277)](_0x1ee398[_0x1734ec(0x2d0)],this['unitID'],this[_0x1734ec(0x3b7)],null,[],null,[],this['_handler']);}},_0x1ee398['SyncedState']=_0x4d4ed4([_0x16fa39(0x3,_0x55777a['Inject'](_0x283aa4['RevisionService'])),_0x16fa39(0x4,_0x55777a[_0xa5a0c5(0x239)](_0x55777a[_0xa5a0c5(0x2f9)])),_0x16fa39(0x5,_0x55777a[_0xa5a0c5(0x3c1)]),_0x16fa39(0x6,_0x55777a['ICommandService']),_0x16fa39(0x7,_0x55777a[_0xa5a0c5(0x1d9)]),_0x16fa39(0x8,_0x283aa4[_0xa5a0c5(0x40c)]),_0x16fa39(0x9,_0x55777a['Optional'](_0x5a7cb1))],_0x1ee398[_0xa5a0c5(0xa0)]),_0x1ee398['PendingState']=class extends _0x17a17a{constructor(_0x312772,_0x1eef96,_0x299c46,_0x45adbf,_0x4c65b0,_0x124721,_0x192667,_0x2e38e5,_0x3ebb55,_0x545319,_0xee9f0c,_0xa8ad9d,_0x3f7d91,_0x240e6d){var _0x373182=_0xa5a0c5;super(_0x312772,_0x1eef96,null,_0x299c46,_0x45adbf,_0x3ebb55,_0x3f7d91,_0x124721,_0x240e6d),_0x27fcc5(this,_0x373182(0x1fc),_0x373182(0x236)),_0x27fcc5(this,'_scheduleCompleteTimestamp',null),_0x27fcc5(this,'_sendingTimer',null),(this[_0x373182(0x24c)]=_0x4c65b0,this[_0x373182(0x23b)]=_0x192667,this['_logService']=_0x2e38e5,this['_configService']=_0x545319,this['_transformService']=_0xee9f0c,this[_0x373182(0x3c2)]=_0xa8ad9d);}[_0xa5a0c5(0x173)](_0xa02ea7){var _0x3845e5=_0xa5a0c5;return this[_0x3845e5(0x258)][_0x3845e5(0x31e)](_0xa02ea7),this[_0x3845e5(0x2ba)](),this;}['onRemoteChangeset'](_0x29ed3a){var _0xd1170b=_0xa5a0c5;if(this[_0xd1170b(0x3d2)](_0x29ed3a))return this[_0xd1170b(0x32b)](),this['_injector']['createInstance'](_0x1ee398['FetchingMissState'],this['unitID'],this[_0xd1170b(0x3b7)],null,this['_pendingMutations'],null,[_0x29ed3a],this[_0xd1170b(0x2aa)]);try{const _0x9ace13=this['_transformService'][_0xd1170b(0x192)](_0x29ed3a,this[_0xd1170b(0x258)]);if(_0x283aa4['isTransformMutationsWithChangesetSuccess'](_0x9ace13)){const {c1Prime:_0xbcb90b,m2Prime:_0x441f03}=_0x9ace13;this['_executeRemoteChangeset'](_0xbcb90b);const _0x500639=this[_0xd1170b(0x24c)][_0xd1170b(0x277)](_0x1ee398[_0xd1170b(0x85)],this[_0xd1170b(0x18e)],this[_0xd1170b(0x3b7)],_0x441f03,this[_0xd1170b(0x2aa)]);this[_0xd1170b(0x32b)]();const _0x116776=new Date()['getTime'](),_0x1dcd3c=this['_scheduleCompleteTimestamp']?Math[_0xd1170b(0xef)](this[_0xd1170b(0x2b3)]-_0x116776,0x0):this['_getSendChangesetTimeout']();return _0x500639[_0xd1170b(0x3d4)](_0x1dcd3c),_0x500639;}throw _0x9ace13[_0xd1170b(0xe9)];}catch(_0x4ff1f5){return this[_0xd1170b(0x33d)]['error'](_0x4ff1f5),this['_onConflict'](!0x1);}}[_0xa5a0c5(0x3bd)](){var _0x55c229=_0xa5a0c5;throw new Error(_0x55c229(0x389));}[_0xa5a0c5(0xc5)](){var _0x347feb=_0xa5a0c5;throw new Error(_0x347feb(0x335));}['onRemoteRetry'](){return this;}[_0xa5a0c5(0x212)](){var _0x51ba76=_0xa5a0c5;return this[_0x51ba76(0x32b)](),this['_injector'][_0x51ba76(0x277)](_0x1ee398[_0x51ba76(0x3ee)],this[_0x51ba76(0x18e)],this[_0x51ba76(0x3b7)],null,this[_0x51ba76(0x258)],this[_0x51ba76(0x2aa)]);}['toggleOnline'](){return this;}[_0xa5a0c5(0x3d4)](_0x43b522){var _0x21533d=_0xa5a0c5;const _0x5ec464=_0x43b522!=null?_0x43b522:this[_0x21533d(0x103)]();this[_0x21533d(0x2b3)]=new Date()[_0x21533d(0x22f)]()+_0x5ec464,this[_0x21533d(0xb8)]=setTimeout(()=>{var _0x4272a8=_0x21533d;this[_0x4272a8(0x32b)]();let _0xd82570=null;switch(this['type']){case _0x14ec27[_0x4272a8(0x2e7)]:{_0xd82570=_0xb93998(this['_pendingMutations'],this[_0x4272a8(0x18e)],this[_0x4272a8(0x3c2)],this[_0x4272a8(0x3a1)],this[_0x4272a8(0x23b)]);break;}case _0x14ec27[_0x4272a8(0x226)]:{this[_0x4272a8(0x258)]['every'](_0x2cd055=>_0x2cd055['id']===_0x1cb38b[_0x4272a8(0x3cb)]['id'])?_0xd82570=_0x148feb(this[_0x4272a8(0x258)],this[_0x4272a8(0x18e)],this[_0x4272a8(0x3c2)],this[_0x4272a8(0x3a1)],this['_memberService']):_0xd82570=_0xb93998(this[_0x4272a8(0x258)],this[_0x4272a8(0x18e)],this[_0x4272a8(0x3c2)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x4272a8(0x2a1)+this[_0x4272a8(0x3b7)]+'\x20in\x20_schedule.');}const {changeset:_0x356cc0,pendingMutations:_0xc7e33a}=_0xd82570;this['_handler'][_0x4272a8(0x196)](_0x356cc0);const _0x28fd47=_0xc7e33a[_0x4272a8(0x165)]?this[_0x4272a8(0x24c)][_0x4272a8(0x277)](_0x1ee398[_0x4272a8(0x21a)],this[_0x4272a8(0x18e)],this['type'],_0x356cc0,_0xc7e33a,this[_0x4272a8(0x2aa)],void 0x0):this['_injector'][_0x4272a8(0x277)](_0x1ee398[_0x4272a8(0x15b)],this[_0x4272a8(0x18e)],this[_0x4272a8(0x3b7)],_0x356cc0,this[_0x4272a8(0x2aa)]);_0x28fd47[_0x4272a8(0x2ba)](),this[_0x4272a8(0x2aa)][_0x4272a8(0x1d5)](this,_0x28fd47);},_0x5ec464);}[_0xa5a0c5(0x103)](){var _0x378ee1=_0xa5a0c5,_0x323b7b;const _0x3fb6f1=this['_configService'][_0x378ee1(0x179)](_0xdaa49b);return(_0x323b7b=_0x3fb6f1==null?void 0x0:_0x3fb6f1[_0x378ee1(0x14b)])!=null?_0x323b7b:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xa5a0c5(0x32b)](){var _0x4d0911=_0xa5a0c5;this[_0x4d0911(0xb8)]!=null&&(clearTimeout(this[_0x4d0911(0xb8)]),this['_sendingTimer']=null);}[_0xa5a0c5(0x2e5)](_0x9cfcb9){var _0x197abe=_0xa5a0c5;return this[_0x197abe(0x32b)](),this[_0x197abe(0x24c)]['createInstance'](_0x1ee398['ConflictState'],this[_0x197abe(0x18e)],this['type'],null,this['_pendingMutations'],this[_0x197abe(0x2aa)],_0x9cfcb9);}},_0x1ee398[_0xa5a0c5(0x85)]=_0x4d4ed4([_0x16fa39(0x4,_0x55777a[_0xa5a0c5(0x239)](_0x55777a[_0xa5a0c5(0x2f9)])),_0x16fa39(0x5,_0x55777a[_0xa5a0c5(0x239)](_0x283aa4[_0xa5a0c5(0x1aa)])),_0x16fa39(0x6,_0x55777a['Inject'](_0x1ee398['MemberService'])),_0x16fa39(0x7,_0x55777a[_0xa5a0c5(0x1d9)]),_0x16fa39(0x8,_0x55777a['ICommandService']),_0x16fa39(0x9,_0x55777a['IConfigService']),_0x16fa39(0xa,_0x283aa4['ITransformService']),_0x16fa39(0xb,_0x55777a[_0xa5a0c5(0x3d8)]),_0x16fa39(0xc,_0x55777a[_0xa5a0c5(0x3c1)]),_0x16fa39(0xd,_0x55777a[_0xa5a0c5(0xd0)](_0x5a7cb1))],_0x1ee398['PendingState']),_0x1ee398[_0xa5a0c5(0x15b)]=class extends _0x17a17a{constructor(_0x25b143,_0x32ce04,_0x885723,_0x8592c7,_0x3d58df,_0x25cac0,_0x3bab06,_0x339cb3,_0x471ec4,_0x4d7636,_0xf35520){var _0x3c0cf6=_0xa5a0c5;super(_0x25b143,_0x32ce04,_0x885723,[],_0x8592c7,_0x3bab06,_0x4d7636,_0x25cac0,_0xf35520),_0x27fcc5(this,_0x3c0cf6(0x1fc),_0x3c0cf6(0x3a8)),_0x27fcc5(this,_0x3c0cf6(0xc7),0x0),_0x27fcc5(this,_0x3c0cf6(0x16a)),_0x27fcc5(this,_0x3c0cf6(0x1a1)),(this[_0x3c0cf6(0x24c)]=_0x3d58df,this[_0x3c0cf6(0x33d)]=_0x339cb3,this['_transformService']=_0x471ec4);}[_0xa5a0c5(0x173)](_0x271e73){var _0x14ecb5=_0xa5a0c5;this['_clearScheduledTask']();const _0x337b11=this[_0x14ecb5(0x24c)][_0x14ecb5(0x277)](_0x1ee398[_0x14ecb5(0x21a)],this[_0x14ecb5(0x18e)],this[_0x14ecb5(0x3b7)],this[_0x14ecb5(0x18b)],[_0x271e73],this['_handler'],this['_resendTimer']);return _0x337b11['_updateLocalCache'](),_0x337b11;}['onRemoteChangeset'](_0x465d59){var _0x51e1c9=_0xa5a0c5;if(this['_checkMissing'](_0x465d59))return this['_clearScheduledTask'](),this[_0x51e1c9(0x24c)][_0x51e1c9(0x277)](_0x1ee398[_0x51e1c9(0x2d0)],this[_0x51e1c9(0x18e)],this[_0x51e1c9(0x3b7)],this[_0x51e1c9(0x18b)],[],null,[_0x465d59],this['_handler']);try{const _0x58ea97=this['_transformService']['transformChangesets']([_0x465d59],[this[_0x51e1c9(0x18b)]],!0x1);if(_0x283aa4['isTransformChangesetsSuccess'](_0x58ea97)){const {c1Prime:_0xf0a339,c2Prime:_0x56e083}=_0x58ea97;this[_0x51e1c9(0x18a)](_0xf0a339[0x0]),_0x56e083[0x0][_0x51e1c9(0x171)]=this[_0x51e1c9(0x12b)](),this[_0x51e1c9(0x32b)]();const _0x1e8229=this[_0x51e1c9(0x24c)][_0x51e1c9(0x277)](_0x1ee398['AwaitingState'],this['unitID'],this[_0x51e1c9(0x3b7)],_0x56e083[0x0],this[_0x51e1c9(0x2aa)]);return _0x1e8229[_0x51e1c9(0x2ba)](),_0x1e8229;}return this[_0x51e1c9(0x2e5)](!0x1);}catch(_0x263b05){return this[_0x51e1c9(0x33d)][_0x51e1c9(0xe9)](_0x263b05),this['_onConflict'](!0x1);}}[_0xa5a0c5(0x3bd)](_0x218f63){var _0x556500=_0xa5a0c5;this[_0x556500(0x32b)]();const _0x402319=this[_0x556500(0x3a1)]['getCurrentRevOfUnit'](this[_0x556500(0x18e)]);if(_0x218f63[_0x556500(0x13c)]<_0x402319-0x1)return this;if(this[_0x556500(0x3d2)](_0x218f63))return this[_0x556500(0x24c)][_0x556500(0x277)](_0x1ee398['FetchingMissState'],this[_0x556500(0x18e)],this[_0x556500(0x3b7)],null,[],this[_0x556500(0x18b)],[],this[_0x556500(0x2aa)]);this[_0x556500(0x160)]();const _0x5b0527=this[_0x556500(0x24c)][_0x556500(0x277)](_0x1ee398[_0x556500(0xa0)],this[_0x556500(0x18e)],this['type'],this[_0x556500(0x2aa)]);return _0x5b0527[_0x556500(0x2ba)](),_0x5b0527;}['onRemoteRej'](_0x12394c){var _0x1575be=_0xa5a0c5;return this[_0x1575be(0x2e5)](!!(_0x12394c!=null&&_0x12394c['isPermissionRej']));}[_0xa5a0c5(0x14c)](_0x539893){var _0x264544=_0xa5a0c5;return this['_resendTimeout']>_0x335676?this[_0x264544(0x212)]():(this[_0x264544(0x16a)]=_0x125a68(this[_0x264544(0xc7)],{'timeout':this[_0x264544(0xc7)],'reqId':_0x539893[_0x264544(0x17a)]}),this[_0x264544(0x1a1)]=this[_0x264544(0x16a)][_0x264544(0xf7)](({reqId:_0x1f3076,timeout:_0x1d7fd1})=>{var _0x567d38=_0x264544;this[_0x567d38(0x14e)](_0x1f3076,_0x1d7fd1);}),this);}[_0xa5a0c5(0x212)](){var _0x4895b1=_0xa5a0c5;return this[_0x4895b1(0x32b)](),this[_0x4895b1(0x24c)]['createInstance'](_0x1ee398[_0x4895b1(0x3ee)],this['unitID'],this[_0x4895b1(0x3b7)],this[_0x4895b1(0x18b)],[],this[_0x4895b1(0x2aa)]);}['toggleOnline'](){return this;}[_0xa5a0c5(0x3a7)](){var _0x3fc01f=_0xa5a0c5;this[_0x3fc01f(0x2aa)][_0x3fc01f(0x196)](this[_0x3fc01f(0x18b)]);}['_onConflict'](_0xdeac83){var _0x215479=_0xa5a0c5;return this[_0x215479(0x32b)](),this[_0x215479(0x24c)][_0x215479(0x277)](_0x1ee398[_0x215479(0x126)],this[_0x215479(0x18e)],this[_0x215479(0x3b7)],this[_0x215479(0x18b)],[],this[_0x215479(0x2aa)],_0xdeac83);}['_resendWithTimeout'](_0x26218b,_0x2d3f3e){var _0x299446=_0xa5a0c5,_0x5c2063;_0x26218b===((_0x5c2063=this[_0x299446(0x18b)])==null?void 0x0:_0x5c2063['reqId'])&&(this[_0x299446(0x3a7)](),this['_resendTimeout']=_0x2d3f3e===0x0?0x3e8:_0x2d3f3e*0x2);}[_0xa5a0c5(0x32b)](){var _0x9f4819=_0xa5a0c5,_0x21f805;(_0x21f805=this['_sender'])==null||_0x21f805[_0x9f4819(0x10a)](),this[_0x9f4819(0xc7)]=0x0;}},_0x1ee398[_0xa5a0c5(0x15b)]=_0x4d4ed4([_0x16fa39(0x4,_0x55777a['Inject'](_0x55777a[_0xa5a0c5(0x2f9)])),_0x16fa39(0x5,_0x55777a['Inject'](_0x283aa4[_0xa5a0c5(0x1aa)])),_0x16fa39(0x6,_0x55777a[_0xa5a0c5(0x27a)]),_0x16fa39(0x7,_0x55777a['ILogService']),_0x16fa39(0x8,_0x283aa4['ITransformService']),_0x16fa39(0x9,_0x55777a[_0xa5a0c5(0x3c1)]),_0x16fa39(0xa,_0x55777a[_0xa5a0c5(0xd0)](_0x5a7cb1))],_0x1ee398[_0xa5a0c5(0x15b)]),_0x1ee398[_0xa5a0c5(0x21a)]=class extends _0x17a17a{constructor(_0x417fe7,_0x246dd3,_0x1bdee1,_0x1226a4,_0x213233,_0x2e229c,_0x18e4fc,_0x2703c8,_0x38ad5d,_0x1d5fbe,_0x1f4efb,_0x4eddd8,_0x16c262){var _0x2865a0=_0xa5a0c5;super(_0x417fe7,_0x246dd3,_0x1bdee1,_0x1226a4,_0x213233,_0x38ad5d,_0x4eddd8,_0x2703c8,_0x16c262),_0x27fcc5(this,_0x2865a0(0x1fc),'awaiting_with_pending'),_0x27fcc5(this,_0x2865a0(0xc7),0x0),_0x27fcc5(this,_0x2865a0(0x16a)),_0x27fcc5(this,_0x2865a0(0x1a1)),(this[_0x2865a0(0x24c)]=_0x18e4fc,this[_0x2865a0(0x33d)]=_0x1d5fbe,this['_transformService']=_0x1f4efb,this['localCacheService']=_0x16c262,_0x2e229c&&(this[_0x2865a0(0x16a)]=_0x2e229c,this[_0x2865a0(0x1a1)]=this['_resendTimer']['subscribe'](({reqId:_0x5ae515,timeout:_0x1ee6b3})=>{this['_resendWithTimeout'](_0x5ae515,_0x1ee6b3);})));}['appendMutation'](_0x1e491a){var _0x39cb46=_0xa5a0c5;return this[_0x39cb46(0x258)][_0x39cb46(0x31e)](_0x1e491a),this;}[_0xa5a0c5(0x353)](_0x2a40b2){var _0x34fbff=_0xa5a0c5;if(this[_0x34fbff(0x3d2)](_0x2a40b2))return this['_clearScheduledTask'](),this[_0x34fbff(0x24c)][_0x34fbff(0x277)](_0x1ee398[_0x34fbff(0x2d0)],this[_0x34fbff(0x18e)],this[_0x34fbff(0x3b7)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x2a40b2],this['_handler']);try{const _0x2226e6=this['_transformService'][_0x34fbff(0x26b)]([_0x2a40b2],[this[_0x34fbff(0x18b)]],!0x1);if(_0x283aa4[_0x34fbff(0x26f)](_0x2226e6)){const {c1Prime:_0x12622c,c2Prime:_0x33818f}=_0x2226e6,_0x6b0941=this[_0x34fbff(0x20e)][_0x34fbff(0x192)](_0x12622c[0x0],this['_pendingMutations']);if(_0x283aa4[_0x34fbff(0xa8)](_0x6b0941)){const {c1Prime:_0x142ab1,m2Prime:_0x459dc8}=_0x6b0941;return this[_0x34fbff(0x18a)](_0x142ab1),_0x33818f[0x0][_0x34fbff(0x171)]=this[_0x34fbff(0x12b)](),this[_0x34fbff(0x32b)](),this[_0x34fbff(0x24c)][_0x34fbff(0x277)](_0x1ee398['AwaitingWithPendingState'],this[_0x34fbff(0x18e)],this[_0x34fbff(0x3b7)],_0x33818f[0x0],_0x459dc8,this['_handler'],void 0x0);}throw _0x6b0941[_0x34fbff(0xe9)];}throw _0x2226e6[_0x34fbff(0xe9)];}catch(_0x1d0925){return this[_0x34fbff(0x33d)][_0x34fbff(0xe9)](_0x1d0925),this[_0x34fbff(0x2e5)](!0x1);}}[_0xa5a0c5(0x3bd)](_0x11a77c){var _0x57d03d=_0xa5a0c5;if(this[_0x57d03d(0x32b)](),this[_0x57d03d(0x3d2)](_0x11a77c))return this[_0x57d03d(0x24c)][_0x57d03d(0x277)](_0x1ee398[_0x57d03d(0x2d0)],this[_0x57d03d(0x18e)],this[_0x57d03d(0x3b7)],null,this[_0x57d03d(0x258)],this[_0x57d03d(0x18b)],[],this[_0x57d03d(0x2aa)]);this[_0x57d03d(0x160)]();const _0x572d28=this[_0x57d03d(0x24c)][_0x57d03d(0x277)](_0x1ee398[_0x57d03d(0x85)],this[_0x57d03d(0x18e)],this[_0x57d03d(0x3b7)],this[_0x57d03d(0x258)],this[_0x57d03d(0x2aa)]);return _0x572d28[_0x57d03d(0x3d4)](),_0x572d28[_0x57d03d(0x2ba)](),_0x572d28;}[_0xa5a0c5(0xc5)](_0xfeebaf){var _0x1ee5aa=_0xa5a0c5;return this[_0x1ee5aa(0x2e5)](!!(_0xfeebaf!=null&&_0xfeebaf[_0x1ee5aa(0xa1)]));}['onRemoteRetry'](_0x2e78cf){var _0x987ac=_0xa5a0c5;return this[_0x987ac(0xc7)]>_0x335676?this[_0x987ac(0x212)]():(this[_0x987ac(0x16a)]=_0x125a68(this[_0x987ac(0xc7)],{'timeout':this[_0x987ac(0xc7)],'reqId':_0x2e78cf[_0x987ac(0x17a)]}),this[_0x987ac(0x1a1)]=this[_0x987ac(0x16a)][_0x987ac(0xf7)](({reqId:_0xec1cb4,timeout:_0x14e84e})=>{this['_resendWithTimeout'](_0xec1cb4,_0x14e84e);}),this);}['toggleOffline'](){var _0x343584=_0xa5a0c5;return this[_0x343584(0x32b)](),this[_0x343584(0x24c)][_0x343584(0x277)](_0x1ee398[_0x343584(0x3ee)],this[_0x343584(0x18e)],this[_0x343584(0x3b7)],this[_0x343584(0x18b)],this[_0x343584(0x258)],this[_0x343584(0x2aa)]);}[_0xa5a0c5(0x331)](){return this;}['resend'](){var _0x45b742=_0xa5a0c5;this[_0x45b742(0x2aa)][_0x45b742(0x196)](this[_0x45b742(0x18b)]);}[_0xa5a0c5(0x2e5)](_0x6c8034){var _0x1e7bda=_0xa5a0c5;return this['_clearScheduledTask'](),this[_0x1e7bda(0x24c)][_0x1e7bda(0x277)](_0x1ee398[_0x1e7bda(0x126)],this[_0x1e7bda(0x18e)],this['type'],null,this[_0x1e7bda(0x258)],this[_0x1e7bda(0x2aa)],_0x6c8034);}[_0xa5a0c5(0x14e)](_0x210605,_0x10cc0a){var _0x1314ce=_0xa5a0c5,_0x16e0d;_0x210605===((_0x16e0d=this[_0x1314ce(0x18b)])==null?void 0x0:_0x16e0d['reqId'])&&(this[_0x1314ce(0x3a7)](),this[_0x1314ce(0xc7)]=_0x10cc0a===0x0?0x3e8:_0x10cc0a*0x2);}[_0xa5a0c5(0x32b)](){var _0x465629=_0xa5a0c5,_0x452d02;(_0x452d02=this[_0x465629(0x1a1)])==null||_0x452d02[_0x465629(0x10a)](),this[_0x465629(0xc7)]=0x0;}},_0x1ee398[_0xa5a0c5(0x21a)]=_0x4d4ed4([_0x16fa39(0x6,_0x55777a[_0xa5a0c5(0x239)](_0x55777a['Injector'])),_0x16fa39(0x7,_0x55777a[_0xa5a0c5(0x239)](_0x283aa4[_0xa5a0c5(0x1aa)])),_0x16fa39(0x8,_0x55777a[_0xa5a0c5(0x27a)]),_0x16fa39(0x9,_0x55777a[_0xa5a0c5(0x1d9)]),_0x16fa39(0xa,_0x283aa4['ITransformService']),_0x16fa39(0xb,_0x55777a['IUndoRedoService']),_0x16fa39(0xc,_0x55777a[_0xa5a0c5(0xd0)](_0x5a7cb1))],_0x1ee398['AwaitingWithPendingState']),_0x1ee398[_0xa5a0c5(0x126)]=class extends _0x17a17a{constructor(_0x441f48,_0x122861,_0x1d9e56,_0x1268a0,_0x267f16,_0x4f3651=!0x1,_0x1bb588,_0x5ecea2,_0x5db7a2,_0xbb2a98,_0x10d7c9,_0x10246b,_0x8a228c){var _0x4bdf78=_0xa5a0c5;super(_0x441f48,_0x122861,_0x1d9e56,_0x1268a0,_0x267f16,_0x5ecea2,_0x5db7a2,_0xbb2a98,_0x8a228c),_0x27fcc5(this,_0x4bdf78(0x1fc),_0x4bdf78(0x2e8)),(this[_0x4bdf78(0x1e6)]=_0x4f3651,this[_0x4bdf78(0x260)]=_0x1bb588,this['_localeService']=_0x10d7c9,this[_0x4bdf78(0x1b9)]=_0x10246b,this[_0x4bdf78(0x1f8)]=_0x8a228c,this['_showConflictNotification'](),this[_0x4bdf78(0x232)](),this[_0x4bdf78(0x293)]());}[_0xa5a0c5(0x173)](){return this;}[_0xa5a0c5(0x353)](){return this;}[_0xa5a0c5(0x3bd)](){return this;}['onRemoteRej'](){return this;}[_0xa5a0c5(0x14c)](){return this;}['toggleOffline'](){return this;}[_0xa5a0c5(0x331)](){return this;}[_0xa5a0c5(0x3a7)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xa5a0c5(0x232)](){var _0x4e5659=_0xa5a0c5,_0x4f4f88;(_0x4f4f88=this['_localCacheService'])==null||_0x4f4f88[_0x4e5659(0x2da)](this[_0x4e5659(0x18e)],this[_0x4e5659(0x3b7)],null,[]);}[_0xa5a0c5(0x259)](){var _0x2c4853=_0xa5a0c5;this['_isPermissionRej']?this[_0x2c4853(0x1b9)][_0x2c4853(0x3e3)]({'id':_0x23ef2d['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x2c4853(0x3e3)]({'id':_0x23ef2d[_0x2c4853(0x266)]});}[_0xa5a0c5(0x293)](){var _0x38a7b3=_0xa5a0c5;this[_0x38a7b3(0x260)][_0x38a7b3(0x2eb)](new _0x11deaf['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}},_0x1ee398[_0xa5a0c5(0x126)]=_0x4d4ed4([_0x16fa39(0x6,_0x55777a[_0xa5a0c5(0x239)](_0x55777a[_0xa5a0c5(0x2d4)])),_0x16fa39(0x7,_0x55777a[_0xa5a0c5(0x27a)]),_0x16fa39(0x8,_0x55777a['IUndoRedoService']),_0x16fa39(0x9,_0x55777a[_0xa5a0c5(0x239)](_0x283aa4[_0xa5a0c5(0x1aa)])),_0x16fa39(0xa,_0x55777a[_0xa5a0c5(0x239)](_0x55777a[_0xa5a0c5(0x413)])),_0x16fa39(0xb,_0x55777a[_0xa5a0c5(0x239)](_0x5740f2)),_0x16fa39(0xc,_0x55777a[_0xa5a0c5(0xd0)](_0x5a7cb1))],_0x1ee398['ConflictState']),_0x1ee398[_0xa5a0c5(0x3ee)]=class extends _0x17a17a{constructor(_0x5265f9,_0x5ce9a1,_0x24a78b,_0x59dbd4,_0x3764ea,_0x4b55f2,_0x5d733,_0x315774,_0x8790b4,_0x5251b2){var _0xc8b8a5=_0xa5a0c5;super(_0x5265f9,_0x5ce9a1,_0x24a78b,_0x59dbd4,_0x3764ea,_0x315774,_0x8790b4,_0x5d733,_0x5251b2),_0x27fcc5(this,_0xc8b8a5(0x1fc),_0xc8b8a5(0x17f)),this[_0xc8b8a5(0x24c)]=_0x4b55f2;}[_0xa5a0c5(0x173)](_0x209141){var _0x637ca6=_0xa5a0c5;return this['_pendingMutations'][_0x637ca6(0x31e)](_0x209141),this[_0x637ca6(0x2ba)](),this;}[_0xa5a0c5(0x353)](_0x1867df){var _0xee4fce=_0xa5a0c5;throw new Error(_0xee4fce(0x393));}[_0xa5a0c5(0x3bd)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xa5a0c5(0xc5)](){var _0x5396f5=_0xa5a0c5;throw new Error(_0x5396f5(0x10d));}[_0xa5a0c5(0x14c)](){return this;}[_0xa5a0c5(0x212)](){return this;}[_0xa5a0c5(0x331)](){var _0x47af13=_0xa5a0c5;const {_injector:_0x503b87,_pendingMutations:_0x5bc15f,_awaitingChangeset:_0x5710ea,unitID:_0x142e1b,_handler:_0x2cb22f,type:_0x44379b}=this,_0x482800=_0x185ea0(_0x503b87,_0x142e1b,_0x44379b,_0x5710ea,_0x5bc15f,_0x2cb22f);return _0x482800 instanceof _0x1ee398[_0x47af13(0x85)]?_0x482800['_schedule']():(_0x482800 instanceof _0x1ee398[_0x47af13(0x21a)]||_0x482800 instanceof _0x1ee398['AwaitingState'])&&_0x482800[_0x47af13(0x3a7)](),_0x482800;}[_0xa5a0c5(0x3a7)](){var _0x4601ba=_0xa5a0c5;throw new Error(_0x4601ba(0x1f3));}},_0x1ee398[_0xa5a0c5(0x3ee)]=_0x4d4ed4([_0x16fa39(0x5,_0x55777a[_0xa5a0c5(0x239)](_0x55777a[_0xa5a0c5(0x2f9)])),_0x16fa39(0x6,_0x55777a[_0xa5a0c5(0x239)](_0x283aa4[_0xa5a0c5(0x1aa)])),_0x16fa39(0x7,_0x55777a[_0xa5a0c5(0x27a)]),_0x16fa39(0x8,_0x55777a[_0xa5a0c5(0x3c1)]),_0x16fa39(0x9,_0x55777a[_0xa5a0c5(0xd0)](_0x5a7cb1))],_0x1ee398[_0xa5a0c5(0x3ee)]),_0x1ee398[_0xa5a0c5(0x2d0)]=class extends _0x17a17a{constructor(_0x25bdb6,_0x397f51,_0x213041,_0x5cad70,_0x17bed1,_0x5e2e6f,_0x5df07f,_0x9919f0,_0x4f2cd2,_0x2b3fa8,_0x2e6949,_0x22051c,_0xea7341,_0x45d3cf){var _0x4cb930=_0xa5a0c5;super(_0x25bdb6,_0x397f51,_0x213041,_0x5cad70,_0x5df07f,_0x2e6949,_0x22051c,_0x4f2cd2,_0x45d3cf),_0x27fcc5(this,'status','fetch_missing'),(this[_0x4cb930(0x255)]=_0x17bed1,this[_0x4cb930(0x2dd)]=_0x5e2e6f,this['_injector']=_0x9919f0,this['_logService']=_0x2b3fa8,this[_0x4cb930(0x20e)]=_0xea7341,this[_0x4cb930(0x1f8)]=_0x45d3cf);}[_0xa5a0c5(0x31f)](_0x341223){var _0x58efcd=_0xa5a0c5;try{const _0x15a777=[..._0x341223,...this[_0x58efcd(0x2dd)]],_0x34c422=[this[_0x58efcd(0x18b)]||this[_0x58efcd(0x255)]][_0x58efcd(0x15c)](_0x503b0e=>!!_0x503b0e);let _0x5a3796,_0x52d84a;if(_0x34c422[_0x58efcd(0x165)]){const _0x261870=this[_0x58efcd(0x20e)][_0x58efcd(0x26b)](_0x15a777,_0x34c422,!0x1);if(!_0x283aa4[_0x58efcd(0x26f)](_0x261870))throw _0x261870[_0x58efcd(0xe9)];_0x5a3796=_0x261870['c1Prime'],_0x52d84a=_0x261870['c2Prime'];}else _0x5a3796=_0x15a777,_0x52d84a=[];let _0x1bb742=this[_0x58efcd(0x258)];_0x5a3796[_0x58efcd(0x14a)](_0x5566e8=>{var _0x29dd31=_0x58efcd;let _0x4dd35e;if(_0x1bb742['length']){const _0x2d320b=this['_transformService']['transformMutationsWithChangeset'](_0x5566e8,_0x1bb742);if(!_0x283aa4[_0x29dd31(0xa8)](_0x2d320b))throw _0x2d320b[_0x29dd31(0xe9)];_0x4dd35e=_0x2d320b['c1Prime'],_0x1bb742=_0x2d320b[_0x29dd31(0x2f3)];}else _0x4dd35e=_0x5566e8;this['_executeRemoteChangeset'](_0x4dd35e);}),this[_0x58efcd(0x255)]&&this[_0x58efcd(0x160)](),this['_awaitingChangeset']&&_0x52d84a[_0x58efcd(0x165)]&&(_0x52d84a[0x0][_0x58efcd(0x171)]=this[_0x58efcd(0x12b)]());let _0x454e7f;if(this[_0x58efcd(0x18b)]&&_0x1bb742[_0x58efcd(0x165)]!==0x0)_0x454e7f=this[_0x58efcd(0x24c)][_0x58efcd(0x277)](_0x1ee398['AwaitingWithPendingState'],this['unitID'],this[_0x58efcd(0x3b7)],_0x52d84a[0x0],_0x1bb742,this[_0x58efcd(0x2aa)],void 0x0);else{if(this['_awaitingChangeset']&&_0x1bb742[_0x58efcd(0x165)]===0x0)_0x52d84a[0x0][_0x58efcd(0x171)]=this[_0x58efcd(0x12b)](),_0x454e7f=this[_0x58efcd(0x24c)][_0x58efcd(0x277)](_0x1ee398[_0x58efcd(0x15b)],this[_0x58efcd(0x18e)],this[_0x58efcd(0x3b7)],_0x52d84a[0x0],this[_0x58efcd(0x2aa)]);else{if(_0x1bb742[_0x58efcd(0x165)]!==0x0){const _0x3b4bb0=this[_0x58efcd(0x24c)]['createInstance'](_0x1ee398[_0x58efcd(0x85)],this[_0x58efcd(0x18e)],this[_0x58efcd(0x3b7)],_0x1bb742,this['_handler']);_0x3b4bb0[_0x58efcd(0x3d4)](),_0x454e7f=_0x3b4bb0;}else _0x454e7f=this[_0x58efcd(0x24c)][_0x58efcd(0x277)](_0x1ee398[_0x58efcd(0xa0)],this[_0x58efcd(0x18e)],this['type'],this[_0x58efcd(0x2aa)]);}}return _0x454e7f[_0x58efcd(0x2ba)](),_0x454e7f;}catch(_0x156373){return this['_logService'][_0x58efcd(0xe9)](_0x58efcd(0x2fb),_0x58efcd(0xbb),_0x156373),this[_0x58efcd(0x24c)]['createInstance'](_0x1ee398[_0x58efcd(0x126)],this['unitID'],this[_0x58efcd(0x3b7)],this['_awaitingChangeset'],this[_0x58efcd(0x258)],this['_handler'],!0x1);}}[_0xa5a0c5(0x3a7)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xa5a0c5(0x173)](_0x2ef8a5){return this['_pendingMutations']['push'](_0x2ef8a5),this;}[_0xa5a0c5(0x353)](_0x3a00b7){var _0x26c7a3=_0xa5a0c5;return this[_0x26c7a3(0x2dd)]['push'](_0x3a00b7),this;}[_0xa5a0c5(0x3bd)](_0x187871){var _0x2ac9b3=_0xa5a0c5;if(this[_0x2ac9b3(0x18b)])return this['_acknowledgedAwaitingChangeset']=this[_0x2ac9b3(0x18b)],this[_0x2ac9b3(0x18b)]=null,this;throw new Error(_0x2ac9b3(0x3e7));}[_0xa5a0c5(0xc5)](_0x319e21){var _0x5ee7d6=_0xa5a0c5;return this['_onConflict'](!!(_0x319e21!=null&&_0x319e21[_0x5ee7d6(0xa1)]));}['onRemoteRetry'](){return this;}[_0xa5a0c5(0x212)](){var _0x112433=_0xa5a0c5;return this[_0x112433(0x24c)][_0x112433(0x277)](_0x1ee398['OfflineState'],this[_0x112433(0x18e)],this[_0x112433(0x3b7)],this[_0x112433(0x18b)],this[_0x112433(0x258)],this[_0x112433(0x2aa)]);}['toggleOnline'](){return this;}[_0xa5a0c5(0x2e5)](_0x5a6d94){var _0x3fcb93=_0xa5a0c5;return this[_0x3fcb93(0x24c)][_0x3fcb93(0x277)](_0x1ee398[_0x3fcb93(0x126)],this[_0x3fcb93(0x18e)],this[_0x3fcb93(0x3b7)],this[_0x3fcb93(0x18b)],this[_0x3fcb93(0x258)],this['_handler'],_0x5a6d94);}},_0x1ee398[_0xa5a0c5(0x2d0)]=_0x4d4ed4([_0x16fa39(0x7,_0x55777a['Inject'](_0x55777a[_0xa5a0c5(0x2f9)])),_0x16fa39(0x8,_0x55777a[_0xa5a0c5(0x239)](_0x283aa4[_0xa5a0c5(0x1aa)])),_0x16fa39(0x9,_0x55777a[_0xa5a0c5(0x1d9)]),_0x16fa39(0xa,_0x55777a[_0xa5a0c5(0x27a)]),_0x16fa39(0xb,_0x55777a['IUndoRedoService']),_0x16fa39(0xc,_0x283aa4[_0xa5a0c5(0x40c)]),_0x16fa39(0xd,_0x55777a[_0xa5a0c5(0xd0)](_0x5a7cb1))],_0x1ee398[_0xa5a0c5(0x2d0)]);function _0x185ea0(_0x57ff9d,_0x5ed518,_0x361e7b,_0x10b0c9,_0x245968,_0x223ed2){var _0x6e19b9=_0xa5a0c5;return _0x10b0c9&&_0x245968[_0x6e19b9(0x165)]?_0x57ff9d['createInstance'](_0x1ee398['AwaitingWithPendingState'],_0x5ed518,_0x361e7b,_0x10b0c9,_0x245968,_0x223ed2,void 0x0):_0x10b0c9?_0x57ff9d['createInstance'](_0x1ee398[_0x6e19b9(0x15b)],_0x5ed518,_0x361e7b,_0x10b0c9,_0x223ed2):_0x245968[_0x6e19b9(0x165)]?_0x57ff9d[_0x6e19b9(0x277)](_0x1ee398['PendingState'],_0x5ed518,_0x361e7b,_0x245968,_0x223ed2):_0x57ff9d['createInstance'](_0x1ee398['SyncedState'],_0x5ed518,_0x361e7b,_0x223ed2);}var _0x539b6f=Object[_0xa5a0c5(0x3d0)],_0x405f71=(_0x3015df,_0x46cf19,_0x21d330,_0x47119d)=>{var _0x2d8075=_0xa5a0c5;for(var _0x1063c6=_0x47119d>0x1?void 0x0:_0x47119d?_0x539b6f(_0x46cf19,_0x21d330):_0x46cf19,_0x1f7d47=_0x3015df[_0x2d8075(0x165)]-0x1,_0x26dc50;_0x1f7d47>=0x0;_0x1f7d47--)(_0x26dc50=_0x3015df[_0x1f7d47])&&(_0x1063c6=_0x26dc50(_0x1063c6)||_0x1063c6);return _0x1063c6;},_0x221f2a=(_0x32a428,_0x4ccc24)=>(_0x3f5de4,_0x52749b)=>_0x4ccc24(_0x3f5de4,_0x52749b,_0x32a428);_0x1ee398[_0xa5a0c5(0x386)]=class extends _0x55777a[_0xa5a0c5(0x402)]{constructor(_0x19cd3b,_0x1f226c,_0x184adc,_0x395af1,_0x576714,_0x5d2f1e,_0x515e0a,_0x3d0f95,_0x38b2d1,_0x345fd7,_0x47cd70,_0xac9ce7,_0x30f640){var _0x38b770=_0xa5a0c5;super(),_0x27fcc5(this,_0x38b770(0x248),new _0x307531['BehaviorSubject'](null)),_0x27fcc5(this,_0x38b770(0x205),this['_state$'][_0x38b770(0xcd)]()),_0x27fcc5(this,'_state'),_0x27fcc5(this,_0x38b770(0x290),!0x1),_0x27fcc5(this,'_changesetSessionId',''),_0x27fcc5(this,_0x38b770(0x342),0x0),_0x27fcc5(this,'status$',this[_0x38b770(0x205)][_0x38b770(0x92)](_0x307531[_0x38b770(0x2a8)](_0x265a8f=>_0x265a8f?_0x265a8f[_0x38b770(0x1fc)]:_0x5ebfb7[_0x38b770(0x254)]),_0x307531[_0x38b770(0x142)](0x1))),_0x27fcc5(this,_0x38b770(0x3fb),!0x1),_0x27fcc5(this,_0x38b770(0x2c4),[]),(this[_0x38b770(0x18e)]=_0x19cd3b,this[_0x38b770(0x2b0)]=_0x1f226c,this['_type']=_0x184adc,this[_0x38b770(0x24c)]=_0x395af1,this[_0x38b770(0x282)]=_0x576714,this[_0x38b770(0x2b7)]=_0x5d2f1e,this[_0x38b770(0x3a1)]=_0x515e0a,this[_0x38b770(0x30d)]=_0x3d0f95,this[_0x38b770(0x33d)]=_0x38b2d1,this['_commandService']=_0x345fd7,this[_0x38b770(0x260)]=_0x47cd70,this[_0x38b770(0x2e9)]=_0xac9ce7,this[_0x38b770(0x338)]=_0x30f640);}get['state'](){var _0x150f80=_0xa5a0c5;return this[_0x150f80(0x2c2)];}async[_0xa5a0c5(0x33a)](){var _0x4f91f4=_0xa5a0c5;if(this['state'])throw new Error(_0x4f91f4(0x230));await this['_init']();}[_0xa5a0c5(0x1f2)](){var _0x4f9f65=_0xa5a0c5;return this['_collaborationPaused']=!0x0,_0x55777a[_0x4f9f65(0x31b)](()=>{var _0x1aac46=_0x4f9f65;this['_collaborationPaused']=!0x1,this[_0x1aac46(0x256)]();});}[_0xa5a0c5(0x2f1)](_0x197760){this['_onLocalMutation'](_0x197760);}['_updateState'](_0x227f9a){var _0x2eb940=_0xa5a0c5;this['_state']=_0x227f9a,this[_0x2eb940(0x248)][_0x2eb940(0x388)](_0x227f9a);}async[_0xa5a0c5(0xbc)](){var _0x56cca9=_0xa5a0c5,_0x5371c2;this['_updateState'](await this[_0x56cca9(0x237)]()),this[_0x56cca9(0x2e9)]&&((_0x5371c2=this[_0x56cca9(0x2e9)])==null||_0x5371c2[_0x56cca9(0x1a2)](this[_0x56cca9(0x18e)]),this[_0x56cca9(0x150)](this[_0x56cca9(0x2e9)]['getUnitStatus$'](this[_0x56cca9(0x18e)])[_0x56cca9(0xf7)](_0xb1ddc4=>{var _0xd1278=_0x56cca9;this[_0xd1278(0x33d)][_0xd1278(0x3f3)](_0xd1278(0x14f),_0xd1278(0x3f5),_0xb1ddc4),_0xb1ddc4===_0x2b2ea7['OTHER_CLIENTS_EDITING']?(this[_0xd1278(0x30d)][_0xd1278(0x3e3)]({'id':_0x23ef2d[_0xd1278(0x35f)]}),this[_0xd1278(0x260)][_0xd1278(0x2eb)](new _0x11deaf['WorkbookEditablePermission'](this['unitID'])['id'],!0x1),this[_0xd1278(0x260)]['setShowComponents'](!0x1)):(this[_0xd1278(0x260)][_0xd1278(0x2eb)](new _0x11deaf[(_0xd1278(0x40a))](this['unitID'])['id'],!0x0),this[_0xd1278(0x260)][_0xd1278(0x242)](!0x0));})));let _0x35fb1c=!0x1;return this[_0x56cca9(0x150)](this['session'][_0x56cca9(0x28e)][_0x56cca9(0xf7)](_0x4d5ccf=>{var _0x4274bb=_0x56cca9;_0x4d5ccf===_0x37598e[_0x4274bb(0x21d)]?this[_0x4274bb(0x40e)](_0x35fb1c):_0x4d5ccf===_0x37598e['OFFLINE']&&(_0x35fb1c=!0x0,this[_0x4274bb(0x40f)]());})),this[_0x56cca9(0x150)](this[_0x56cca9(0x2b0)][_0x56cca9(0x288)][_0x56cca9(0xf7)](_0x3b8b8a=>{var _0x5b85eb=_0x56cca9;try{switch(_0x3b8b8a[_0x5b85eb(0x1d8)]){case _0x283aa4['CollaborationEvent']['NEW_CHANGESETS']:{this[_0x5b85eb(0xa4)](_0x283aa4[_0x5b85eb(0x156)](_0x3b8b8a[_0x5b85eb(0x1d2)]));break;}case _0x283aa4['CollaborationEvent'][_0x5b85eb(0x2e6)]:{this[_0x5b85eb(0x407)](_0x3b8b8a['data']);break;}case _0x283aa4['CollaborationEvent']['CHANGESET_REJ']:{this[_0x5b85eb(0x106)]();break;}case _0x283aa4[_0x5b85eb(0xe2)][_0x5b85eb(0x380)]:{this['_onRemoteRetry'](_0x3b8b8a[_0x5b85eb(0x1d2)]);break;}case _0x283aa4[_0x5b85eb(0xe2)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x5b85eb(0x21c)](_0x3b8b8a[_0x5b85eb(0x1d2)][_0x5b85eb(0x89)][_0x5b85eb(0x2a8)](_0x1a1bd7=>_0x283aa4[_0x5b85eb(0x156)](_0x1a1bd7)));break;}case _0x283aa4[_0x5b85eb(0xe2)][_0x5b85eb(0x35c)]:{this[_0x5b85eb(0x106)]({'isPermissionRej':!0x0});break;}case _0x283aa4[_0x5b85eb(0xe2)][_0x5b85eb(0x1cb)]:break;}}catch(_0x4a3da3){throw console[_0x5b85eb(0xe9)](_0x5b85eb(0x14d),_0x4a3da3),_0x4a3da3;}})),this[_0x56cca9(0x2c2)];}[_0xa5a0c5(0x183)](){var _0x496cb0=_0xa5a0c5;this[_0x496cb0(0x3fb)]=!0x1;}[_0xa5a0c5(0x194)](){var _0x51bddd=_0xa5a0c5;if(this[_0x51bddd(0x3fb)])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[_0x51bddd(0x3fb)]=!0x0;}[_0xa5a0c5(0x210)](_0x4de5c2){var _0x319bfe=_0xa5a0c5;this[_0x319bfe(0x194)](),this[_0x319bfe(0xde)](this['_state'][_0x319bfe(0x173)](_0x4de5c2)),this[_0x319bfe(0x183)]();}[_0xa5a0c5(0xa4)](_0x27b2c9){var _0x3cccf7=_0xa5a0c5;if(!(_0x27b2c9[_0x3cccf7(0x13c)]<=this[_0x3cccf7(0x3a1)][_0x3cccf7(0x95)](this[_0x3cccf7(0x18e)]))){if(this[_0x3cccf7(0x290)]){this[_0x3cccf7(0x2c4)][_0x3cccf7(0x31e)](_0x27b2c9);return;}this[_0x3cccf7(0x24e)](_0x27b2c9);}}['_exhaustRemoteChangesetQueue'](){var _0xb2ea78=_0xa5a0c5;this[_0xb2ea78(0x2c4)][_0xb2ea78(0x14a)](_0x1fe274=>this[_0xb2ea78(0x24e)](_0x1fe274)),this[_0xb2ea78(0x2c4)]=[];}[_0xa5a0c5(0x24e)](_0x38ff31){var _0x52a280=_0xa5a0c5;const _0x3e117d=this[_0x52a280(0x282)][_0x52a280(0x362)]['fetchThroughInterceptors'](this[_0x52a280(0x282)]['interceptor'][_0x52a280(0x3fd)]()['COMPRESS_MUTATION_APPLY'])(_0x38ff31[_0x52a280(0x1db)],null)||_0x38ff31[_0x52a280(0x1db)],_0x343084={..._0x38ff31,'mutations':_0x3e117d};this[_0x52a280(0x194)](),this['_updateState'](this[_0x52a280(0x2c2)]['onRemoteChangeset'](_0x343084)),this['_unlockTransition']();}['_onRemoteACK'](_0x5851dd){var _0x49e7cf=_0xa5a0c5;this[_0x49e7cf(0x194)](),this[_0x49e7cf(0xde)](this[_0x49e7cf(0x2c2)][_0x49e7cf(0x3bd)](_0x5851dd)),this['_unlockTransition']();}[_0xa5a0c5(0x106)](_0x3317c0){var _0x1e6e2e=_0xa5a0c5;this[_0x1e6e2e(0x194)](),this[_0x1e6e2e(0xde)](this['_state']['onRemoteRej'](_0x3317c0)),this['_unlockTransition']();}['_onRemoteRetry'](_0xdbc715){var _0x3d6334=_0xa5a0c5;this[_0x3d6334(0x194)](),this[_0x3d6334(0xde)](this['_state'][_0x3d6334(0x14c)](_0xdbc715)),this[_0x3d6334(0x183)]();}['_onFetchMissResult'](_0x3e8930){var _0xf638f8=_0xa5a0c5;if(!(this[_0xf638f8(0x2c2)]instanceof _0x1ee398['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xf7d114=_0x3e8930[_0xf638f8(0x2a8)](_0x39b4ac=>{var _0x2c3981=_0xf638f8;const _0x26be85=this[_0x2c3981(0x282)]['interceptor'][_0x2c3981(0x23a)](this['_compressMutationService']['interceptor'][_0x2c3981(0x3fd)]()['COMPRESS_MUTATION_APPLY'])(_0x39b4ac[_0x2c3981(0x1db)],null)||_0x39b4ac[_0x2c3981(0x1db)];return{..._0x39b4ac,'mutations':_0x26be85};});this[_0xf638f8(0x194)](),this[_0xf638f8(0xde)](this[_0xf638f8(0x2c2)][_0xf638f8(0x31f)](_0xf7d114)),this[_0xf638f8(0x183)]();}[_0xa5a0c5(0x40f)](){var _0x2e4515=_0xa5a0c5;this[_0x2e4515(0x194)](),this[_0x2e4515(0xde)](this[_0x2e4515(0x2c2)][_0x2e4515(0x212)]()),this[_0x2e4515(0x183)]();}['_toggleOnline'](_0x8b8006=!0x1){var _0x5a451d=_0xa5a0c5;this['_lockTransition'](),this[_0x5a451d(0xde)](this['_state'][_0x5a451d(0x331)]()),this[_0x5a451d(0x183)]();const _0x2186a4=this[_0x5a451d(0x2c2)];_0x8b8006&&_0x2186a4 instanceof _0x1ee398['SyncedState']&&(this['_lockTransition'](),this[_0x5a451d(0xde)](_0x2186a4[_0x5a451d(0x29d)]()),this[_0x5a451d(0x183)]());}async[_0xa5a0c5(0x237)](){return new Promise(_0x1e9e73=>{var _0x5522d=_0x2939;this[_0x5522d(0x2b0)][_0x5522d(0x28e)][_0x5522d(0x92)](_0x307531[_0x5522d(0x408)](0x1))[_0x5522d(0xf7)](async _0x48c1f0=>{var _0x5a1179=_0x5522d;_0x1e9e73(await this[_0x5a1179(0x82)](_0x48c1f0===_0x37598e['ONLINE']));});});}['_createHandler'](){var _0x41bfc7=_0xa5a0c5;const _0x5561b2=this[_0x41bfc7(0x18e)];return{'onStateChange':(_0x5417a6,_0x530249)=>{var _0x20e534=_0x41bfc7;if(_0x5417a6!==this[_0x20e534(0x2c2)])throw new Error(_0x20e534(0x176)+_0x5417a6[_0x20e534(0x1fc)]+_0x20e534(0x3c6)+_0x530249[_0x20e534(0x1fc)]+_0x20e534(0x319)+this[_0x20e534(0x2c2)][_0x20e534(0x1fc)]);this[_0x20e534(0xde)](_0x530249);},'onSendChangeset':_0x2eaf77=>{var _0x36a94a=_0x41bfc7;_0x2eaf77['sid']||(_0x2eaf77[_0x36a94a(0x3aa)]=this[_0x36a94a(0x1fa)],_0x2eaf77[_0x36a94a(0x17a)]=++this[_0x36a94a(0x342)]);const _0x39d613={'eventID':_0x283aa4[_0x36a94a(0xe2)][_0x36a94a(0x20d)],'data':{'unitID':_0x2eaf77[_0x36a94a(0x18e)],'unitType':this[_0x36a94a(0x1df)],'changeset':_0x2eaf77,'memberID':this[_0x36a94a(0x2b0)]['getMemberID']()}};this[_0x36a94a(0x2b0)][_0x36a94a(0xb1)](_0x39d613,this[_0x36a94a(0x18e)]);},'onMissingChangesets':({from:_0x3c7de1,to:_0x4fe806})=>{var _0x2560a0=_0x41bfc7;this[_0x2560a0(0x33d)][_0x2560a0(0x3f3)]('[CollaborationEntity]',_0x2560a0(0x2df)+_0x3c7de1+_0x2560a0(0x1d0)+_0x4fe806);const _0x8a3e5b={'eventID':_0x283aa4[_0x2560a0(0xe2)][_0x2560a0(0x108)],'data':{'unitID':_0x5561b2,'unitType':this[_0x2560a0(0x1df)],'from':_0x3c7de1,'to':_0x4fe806}};this[_0x2560a0(0x2b0)][_0x2560a0(0xb1)](_0x8a3e5b,this['unitID']);}};}async['_createInitialStateImpl'](_0x1e308c){var _0x3e3d37=_0xa5a0c5,_0x174e5c,_0x8e4701,_0x274a48;const _0x540cc6=await((_0x174e5c=this['_localCacheService'])==null?void 0x0:_0x174e5c[_0x3e3d37(0x3bc)](this[_0x3e3d37(0x18e)])),_0x6b0926=(_0x8e4701=_0x540cc6==null?void 0x0:_0x540cc6[_0x3e3d37(0x1db)])!=null?_0x8e4701:[],_0x59e1fb=(_0x274a48=_0x540cc6==null?void 0x0:_0x540cc6[_0x3e3d37(0x8a)])!=null?_0x274a48:null,_0x173720=!!(_0x59e1fb!=null&&_0x59e1fb[_0x3e3d37(0x3aa)])&&!!(_0x59e1fb!=null&&_0x59e1fb[_0x3e3d37(0x17a)]);this[_0x3e3d37(0x1fa)]=_0x173720?_0x59e1fb[_0x3e3d37(0x3aa)]:_0xeb32dd(),this[_0x3e3d37(0x342)]=_0x173720?_0x59e1fb['reqId']:0x0;const _0xbb60ed=this[_0x3e3d37(0x18e)];try{this[_0x3e3d37(0x119)](_0x59e1fb,_0x6b0926);}catch(_0x17a8c0){this['_logService'][_0x3e3d37(0xe9)](_0x17a8c0);}const _0x5de223=this[_0x3e3d37(0x117)]();if(_0x1e308c){const _0x95f680=_0x185ea0(this[_0x3e3d37(0x24c)],_0xbb60ed,this['_type'],_0x59e1fb,_0x6b0926,_0x5de223);return _0x95f680 instanceof _0x1ee398['PendingState']?_0x95f680[_0x3e3d37(0x3d4)]():(_0x95f680 instanceof _0x1ee398['AwaitingWithPendingState']||_0x95f680 instanceof _0x1ee398[_0x3e3d37(0x15b)])&&_0x95f680['resend'](),_0x95f680;}return this[_0x3e3d37(0x24c)][_0x3e3d37(0x277)](_0x1ee398[_0x3e3d37(0x3ee)],_0xbb60ed,this['_type'],_0x59e1fb,_0x6b0926,_0x5de223);}['_replayCachedMutations'](_0x48774e,_0x56ab35){var _0x3f42e2=_0xa5a0c5,_0x2e5d56,_0x4df010;const _0x1ce3ef=this['_compressMutationService']['interceptor'][_0x3f42e2(0x23a)](this[_0x3f42e2(0x282)][_0x3f42e2(0x362)][_0x3f42e2(0x3fd)]()[_0x3f42e2(0x24f)]);(_0x2e5d56=_0x1ce3ef((_0x48774e==null?void 0x0:_0x48774e['mutations'])||[],null))==null||_0x2e5d56[_0x3f42e2(0x14a)](_0x570b89=>this[_0x3f42e2(0x1e0)][_0x3f42e2(0x395)](_0x570b89['id'],_0x570b89[_0x3f42e2(0x147)])),(_0x4df010=_0x1ce3ef(_0x56ab35||[],null))==null||_0x4df010[_0x3f42e2(0x14a)](_0x24c09d=>this[_0x3f42e2(0x1e0)][_0x3f42e2(0x395)](_0x24c09d['id'],_0x24c09d[_0x3f42e2(0x147)]));}},_0x1ee398[_0xa5a0c5(0x386)]=_0x405f71([_0x221f2a(0x3,_0x55777a[_0xa5a0c5(0x239)](_0x55777a[_0xa5a0c5(0x2f9)])),_0x221f2a(0x4,_0x55777a[_0xa5a0c5(0x239)](_0x283aa4[_0xa5a0c5(0x3ea)])),_0x221f2a(0x5,_0x55777a[_0xa5a0c5(0x239)](_0x55777a[_0xa5a0c5(0x413)])),_0x221f2a(0x6,_0x55777a['Inject'](_0x283aa4['RevisionService'])),_0x221f2a(0x7,_0x55777a[_0xa5a0c5(0x239)](_0x5740f2)),_0x221f2a(0x8,_0x55777a[_0xa5a0c5(0x1d9)]),_0x221f2a(0x9,_0x55777a[_0xa5a0c5(0x27a)]),_0x221f2a(0xa,_0x55777a[_0xa5a0c5(0x2d4)]),_0x221f2a(0xb,_0x55777a[_0xa5a0c5(0xd0)](_0x185a2b)),_0x221f2a(0xc,_0x55777a[_0xa5a0c5(0xd0)](_0x5a7cb1))],_0x1ee398[_0xa5a0c5(0x386)]),_0x1ee398[_0xa5a0c5(0x15f)]=class extends _0x1ee398[_0xa5a0c5(0x386)]{constructor(_0x3d4033,_0x51db91,_0x46c94a,_0x2c9d7e,_0x416ac0,_0x5a7e05,_0x3eaaa1,_0x469f73,_0x3cc037,_0xc617c3,_0x3f9993,_0x33596c,_0x10c26b){var _0x451386=_0xa5a0c5;super(_0x3d4033,_0x46c94a,_0x51db91,_0x2c9d7e,_0x416ac0,_0x5a7e05,_0x3eaaa1,_0x469f73,_0x3cc037,_0xc617c3,_0x3f9993,_0x33596c,_0x10c26b),_0x27fcc5(this,_0x451386(0x37d),null),(this[_0x451386(0x18e)]=_0x3d4033,this[_0x451386(0x3b7)]=_0x51db91);}['addHandlerCallback'](_0x341506){var _0x15574b=_0xa5a0c5;this[_0x15574b(0x37d)]=_0x341506;}[_0xa5a0c5(0x121)](){this['_handlerCallback']=null,super['dispose']();}[_0xa5a0c5(0x117)](){var _0x5ba2e1=_0xa5a0c5;const _0x227068=super[_0x5ba2e1(0x117)]();return _0x227068[_0x5ba2e1(0x313)]=_0x3d6814=>{var _0x485a68=_0x5ba2e1,_0x15d929,_0x4db3c1;return(_0x4db3c1=(_0x15d929=this[_0x485a68(0x37d)])==null?void 0x0:_0x15d929[_0x485a68(0x313)])==null?void 0x0:_0x4db3c1[_0x485a68(0x238)](_0x15d929,_0x3d6814);},_0x227068[_0x5ba2e1(0x411)]=_0x4f7465=>{var _0x26ff7e=_0x5ba2e1,_0x46b0c2,_0x40e50c;return(_0x40e50c=(_0x46b0c2=this[_0x26ff7e(0x37d)])==null?void 0x0:_0x46b0c2[_0x26ff7e(0x411)])==null?void 0x0:_0x40e50c['call'](_0x46b0c2,_0x4f7465);},_0x227068[_0x5ba2e1(0xa7)]=_0x2828f0=>{var _0x1d28b2=_0x5ba2e1,_0x2cff61,_0x2d4f3c;return(_0x2d4f3c=(_0x2cff61=this[_0x1d28b2(0x37d)])==null?void 0x0:_0x2cff61['onTransformSelections'])==null?void 0x0:_0x2d4f3c['call'](_0x2cff61,_0x2828f0);},_0x227068[_0x5ba2e1(0x307)]=_0x1db009=>{var _0x3256a7=_0x5ba2e1,_0x44da4a,_0x3368af;return(_0x3368af=(_0x44da4a=this['_handlerCallback'])==null?void 0x0:_0x44da4a[_0x3256a7(0x307)])==null?void 0x0:_0x3368af[_0x3256a7(0x238)](_0x44da4a,_0x1db009);},_0x227068[_0x5ba2e1(0x3b9)]=_0x481234=>{var _0x50d6f8=_0x5ba2e1,_0x115d66,_0xb31047,_0x249dd3;if(!((_0x115d66=this[_0x50d6f8(0x37d)])!=null&&_0x115d66[_0x50d6f8(0x3b9)]))throw new Error(_0x50d6f8(0x164));return(_0x249dd3=(_0xb31047=this['_handlerCallback'])==null?void 0x0:_0xb31047[_0x50d6f8(0x3b9)])==null?void 0x0:_0x249dd3[_0x50d6f8(0x238)](_0xb31047,_0x481234);},_0x227068[_0x5ba2e1(0x101)]=_0x532666=>{var _0x31cd05=_0x5ba2e1,_0x3eae2f,_0x4df4fe,_0xb41035;if(!((_0x3eae2f=this['_handlerCallback'])!=null&&_0x3eae2f[_0x31cd05(0x101)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xb41035=(_0x4df4fe=this['_handlerCallback'])==null?void 0x0:_0x4df4fe[_0x31cd05(0x101)])==null?void 0x0:_0xb41035[_0x31cd05(0x238)](_0x4df4fe,_0x532666);},_0x227068;}async['_init'](){var _0x4831d9=_0xa5a0c5;const _0x2de26a=await super[_0x4831d9(0xbc)]();return this[_0x4831d9(0x150)](this[_0x4831d9(0x1e0)]['onCommandExecuted']((_0x26e4a6,_0x476d9f)=>{var _0x14da9e=_0x4831d9;if(_0x26e4a6[_0x14da9e(0x3b7)]!==_0x55777a[_0x14da9e(0x1a0)][_0x14da9e(0x330)]||_0x476d9f!=null&&_0x476d9f[_0x14da9e(0x113)]||_0x476d9f!=null&&_0x476d9f[_0x14da9e(0x1f0)]||_0x26e4a6['id']===_0x1cb38b[_0x14da9e(0x3cb)]['id'])return;const _0x3183c0=_0x26e4a6[_0x14da9e(0x147)];if((_0x3183c0==null?void 0x0:_0x3183c0[_0x14da9e(0x3a5)])!==this[_0x14da9e(0x18e)])return;const _0x3ced75=_0x26e4a6,_0x46cc6b=this['_compressMutationService'][_0x14da9e(0x362)][_0x14da9e(0x23a)](this[_0x14da9e(0x282)][_0x14da9e(0x362)][_0x14da9e(0x3fd)]()[_0x14da9e(0x1c5)])([_0x3ced75],null)||[_0x3ced75];this[_0x14da9e(0x210)](_0x46cc6b[0x0]);})),_0x2de26a;}},_0x1ee398[_0xa5a0c5(0x15f)]=_0x405f71([_0x221f2a(0x3,_0x55777a[_0xa5a0c5(0x239)](_0x55777a[_0xa5a0c5(0x2f9)])),_0x221f2a(0x4,_0x55777a[_0xa5a0c5(0x239)](_0x283aa4['CompressMutationService'])),_0x221f2a(0x5,_0x55777a['Inject'](_0x55777a[_0xa5a0c5(0x413)])),_0x221f2a(0x6,_0x55777a['Inject'](_0x283aa4[_0xa5a0c5(0x1aa)])),_0x221f2a(0x7,_0x55777a[_0xa5a0c5(0x239)](_0x5740f2)),_0x221f2a(0x8,_0x55777a[_0xa5a0c5(0x1d9)]),_0x221f2a(0x9,_0x55777a[_0xa5a0c5(0x27a)]),_0x221f2a(0xa,_0x55777a['IPermissionService']),_0x221f2a(0xb,_0x55777a['Optional'](_0x185a2b)),_0x221f2a(0xc,_0x55777a[_0xa5a0c5(0xd0)](_0x5a7cb1))],_0x1ee398[_0xa5a0c5(0x15f)]),_0x1ee398[_0xa5a0c5(0x1ec)]=class extends _0x1ee398[_0xa5a0c5(0x386)]{constructor(_0x5ccd44,_0x25631e,_0x2edf0a,_0x1bf1b2,_0x498486,_0x4ca896,_0x154021,_0x423b87,_0x1ed9b7,_0x59d1ea,_0x49d4e5,_0xf565d9,_0x300b01,_0x141be2){var _0x2d469e=_0xa5a0c5;super(_0x5ccd44,_0x2edf0a,_0x25631e,_0x1bf1b2,_0x498486,_0x4ca896,_0x154021,_0x1ed9b7,_0x59d1ea,_0x49d4e5,_0xf565d9,_0x300b01,_0x141be2),this[_0x2d469e(0x18e)]=_0x5ccd44,this[_0x2d469e(0x3b7)]=_0x25631e,this['_sheetTransformSelectionsService']=_0x423b87;}[_0xa5a0c5(0x117)](){var _0x4c8d93=_0xa5a0c5;const _0x1a6f3d=super[_0x4c8d93(0x117)]();return _0x1a6f3d['onTransformSelections']=_0x371da6=>this[_0x4c8d93(0x1ad)][_0x4c8d93(0x23e)](_0x371da6),_0x1a6f3d;}async[_0xa5a0c5(0xbc)](){var _0x56c0cd=_0xa5a0c5;const _0x1e76e2=await super['_init']();return this[_0x56c0cd(0x150)](this[_0x56c0cd(0x1e0)]['onCommandExecuted']((_0x2c2562,_0x468443)=>{var _0x3957c=_0x56c0cd;if(_0x2c2562['type']!==_0x55777a[_0x3957c(0x1a0)][_0x3957c(0x330)]||_0x468443!=null&&_0x468443['fromCollab']||_0x468443!=null&&_0x468443['onlyLocal'])return;const _0x17ef05=_0x2c2562[_0x3957c(0x147)];if((_0x17ef05==null?void 0x0:_0x17ef05['unitId'])!==this[_0x3957c(0x18e)])return;const _0x43269c=_0x2c2562,_0x1b385e=this[_0x3957c(0x282)][_0x3957c(0x362)]['fetchThroughInterceptors'](this[_0x3957c(0x282)]['interceptor'][_0x3957c(0x3fd)]()[_0x3957c(0x1c5)])([_0x43269c],null)||[_0x43269c];this['_onLocalMutation'](_0x1b385e[0x0]);})),_0x1e76e2;}},_0x1ee398[_0xa5a0c5(0x1ec)]=_0x405f71([_0x221f2a(0x3,_0x55777a[_0xa5a0c5(0x239)](_0x55777a[_0xa5a0c5(0x2f9)])),_0x221f2a(0x4,_0x55777a['Inject'](_0x283aa4['CompressMutationService'])),_0x221f2a(0x5,_0x55777a[_0xa5a0c5(0x239)](_0x55777a['LocaleService'])),_0x221f2a(0x6,_0x55777a[_0xa5a0c5(0x239)](_0x283aa4['RevisionService'])),_0x221f2a(0x7,_0x55777a[_0xa5a0c5(0x239)](_0x1ee398['SheetTransformSelectionsService'])),_0x221f2a(0x8,_0x55777a[_0xa5a0c5(0x239)](_0x5740f2)),_0x221f2a(0x9,_0x55777a[_0xa5a0c5(0x1d9)]),_0x221f2a(0xa,_0x55777a['ICommandService']),_0x221f2a(0xb,_0x55777a[_0xa5a0c5(0x2d4)]),_0x221f2a(0xc,_0x55777a[_0xa5a0c5(0xd0)](_0x185a2b)),_0x221f2a(0xd,_0x55777a[_0xa5a0c5(0xd0)](_0x5a7cb1))],_0x1ee398[_0xa5a0c5(0x1ec)]);var _0x5a1add=Object[_0xa5a0c5(0x3d0)],_0x2463b1=(_0x480a3e,_0x5eee0c,_0x4fb7c0,_0x5c7ecb)=>{for(var _0x4a0610=_0x5c7ecb>0x1?void 0x0:_0x5c7ecb?_0x5a1add(_0x5eee0c,_0x4fb7c0):_0x5eee0c,_0x514c14=_0x480a3e['length']-0x1,_0x4732db;_0x514c14>=0x0;_0x514c14--)(_0x4732db=_0x480a3e[_0x514c14])&&(_0x4a0610=_0x4732db(_0x4a0610)||_0x4a0610);return _0x4a0610;},_0x46e8a2=(_0x14d09f,_0x57bcc9)=>(_0x3a802a,_0x287727)=>_0x57bcc9(_0x3a802a,_0x287727,_0x14d09f);_0x1ee398[_0xa5a0c5(0xb2)]=class extends _0x55777a['RxDisposable']{constructor(_0x38d526,_0xd8b866,_0xbff52f){var _0x29a7cf=_0xa5a0c5;super(),_0x27fcc5(this,_0x29a7cf(0xff),new Map()),_0x27fcc5(this,_0x29a7cf(0xc0),new _0x307531[(_0x29a7cf(0x410))]()),_0x27fcc5(this,_0x29a7cf(0x1a7),this[_0x29a7cf(0xc0)][_0x29a7cf(0xcd)]()),(this[_0x29a7cf(0x24c)]=_0x38d526,this[_0x29a7cf(0x361)]=_0xd8b866,this[_0x29a7cf(0x3c2)]=_0xbff52f,this[_0x29a7cf(0xbc)]());}[_0xa5a0c5(0x121)](){var _0x34e80c=_0xa5a0c5;super[_0x34e80c(0x121)](),this[_0x34e80c(0xff)][_0x34e80c(0x14a)](_0x56f68b=>_0x56f68b[_0x34e80c(0x121)]()),this['_entities'][_0x34e80c(0x235)]();}['getCollabEntity'](_0x486ad2){var _0x48cc39=_0xa5a0c5,_0x1827b9;return(_0x1827b9=this['_entities'][_0x48cc39(0x223)](_0x486ad2))!=null?_0x1827b9:null;}['getCollabEntity$'](_0x2dd8db){var _0x1a86f3=_0xa5a0c5;const _0x585e21=this[_0x1a86f3(0x3d6)](_0x2dd8db);return _0x585e21?_0x307531['of'](_0x585e21):this[_0x1a86f3(0xc0)]['pipe'](_0x6ef337[_0x1a86f3(0x15c)](_0x65b1ef=>_0x65b1ef[_0x1a86f3(0x18e)]===_0x2dd8db));}[_0xa5a0c5(0xbf)](_0x4b7ea0){var _0x599fd6=_0xa5a0c5;return _0x307531[_0x599fd6(0xdc)](this[_0x599fd6(0x347)](_0x4b7ea0)[_0x599fd6(0x92)](_0x6ef337[_0x599fd6(0x2a8)](()=>{})));}['_init'](){var _0x497461=_0xa5a0c5;this[_0x497461(0x3c2)][_0x497461(0x28a)](_0x55777a['UniverInstanceType'][_0x497461(0x2e7)])[_0x497461(0x92)](_0x307531[_0x497461(0x32d)](this[_0x497461(0x310)]),_0x6ef337[_0x497461(0x292)](0x10))[_0x497461(0xf7)](async _0x35fdb6=>{var _0x3479b5=_0x497461;const _0x4a6838=_0x35fdb6['getUnitId'](),_0x518e89=await this[_0x3479b5(0x399)](_0x4a6838,_0x14ec27[_0x3479b5(0x2e7)]);this[_0x3479b5(0xff)][_0x3479b5(0x231)](_0x4a6838,_0x518e89);}),this[_0x497461(0x3c2)]['getTypeOfUnitAdded$'](_0x55777a[_0x497461(0x409)]['UNIVER_DOC'])[_0x497461(0x92)](_0x307531[_0x497461(0x32d)](this[_0x497461(0x310)]),_0x6ef337['delay'](0x10))[_0x497461(0x92)](_0x6ef337[_0x497461(0x15c)](_0x16cb28=>!_0x16cb28[_0x497461(0x28c)]()['startsWith']('__')))[_0x497461(0xf7)](async _0x42b4bd=>{var _0x21d380=_0x497461;const _0x52cc6a=_0x42b4bd['getUnitId'](),_0x1a9c54=await this[_0x21d380(0x399)](_0x52cc6a,_0x14ec27[_0x21d380(0x226)]);this[_0x21d380(0xff)][_0x21d380(0x231)](_0x52cc6a,_0x1a9c54);}),_0x307531[_0x497461(0x296)](this['_univerInstanceService'][_0x497461(0x2a2)](_0x55777a[_0x497461(0x409)][_0x497461(0x2e7)]),this['_univerInstanceService'][_0x497461(0x2a2)](_0x55777a[_0x497461(0x409)]['UNIVER_DOC']))[_0x497461(0x92)](_0x307531[_0x497461(0x32d)](this[_0x497461(0x310)]))['subscribe'](_0x195157=>{var _0x4037ff=_0x497461;const _0x4c0aec=_0x195157[_0x4037ff(0x28c)](),_0x3b9dd7=this[_0x4037ff(0xff)][_0x4037ff(0x223)](_0x4c0aec);_0x3b9dd7&&(_0x3b9dd7['dispose'](),this['_entities']['delete'](_0x4c0aec));});}async[_0xa5a0c5(0x399)](_0x17de2c,_0x53b237){var _0x252735=_0xa5a0c5;const _0x36c20a=await this['_collabSessionService']['requireSession'](_0x17de2c),_0x392b26=this['_injector'][_0x252735(0x277)](this[_0x252735(0x3ff)](_0x53b237),_0x17de2c,_0x53b237,_0x36c20a);return await _0x392b26[_0x252735(0x33a)](),this['_entityInit$'][_0x252735(0x388)](_0x392b26),_0x392b26;}[_0xa5a0c5(0x3ff)](_0x5c94db){var _0xb5ab92=_0xa5a0c5;switch(_0x5c94db){case _0x14ec27[_0xb5ab92(0x226)]:return _0x1ee398['DocCollaborationEntity'];case _0x14ec27[_0xb5ab92(0x2e7)]:return _0x1ee398[_0xb5ab92(0x1ec)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5c94db);}}},_0x1ee398[_0xa5a0c5(0xb2)]=_0x2463b1([_0x46e8a2(0x0,_0x55777a[_0xa5a0c5(0x239)](_0x55777a['Injector'])),_0x46e8a2(0x1,_0x55777a['Inject'](_0x1ee398[_0xa5a0c5(0x86)])),_0x46e8a2(0x2,_0x55777a[_0xa5a0c5(0x3d8)])],_0x1ee398[_0xa5a0c5(0xb2)]);var _0xe20058=Object[_0xa5a0c5(0x3d0)],_0x17459b=(_0x12f8d6,_0x32c424,_0x3530e3,_0x1e114d)=>{var _0x22cc8d=_0xa5a0c5;for(var _0x3159d3=_0x1e114d>0x1?void 0x0:_0x1e114d?_0xe20058(_0x32c424,_0x3530e3):_0x32c424,_0xfa1dff=_0x12f8d6[_0x22cc8d(0x165)]-0x1,_0x2c7a4d;_0xfa1dff>=0x0;_0xfa1dff--)(_0x2c7a4d=_0x12f8d6[_0xfa1dff])&&(_0x3159d3=_0x2c7a4d(_0x3159d3)||_0x3159d3);return _0x3159d3;},_0x2cbd04=(_0x1f0630,_0x505501)=>(_0x1b4c00,_0x35408f)=>_0x505501(_0x1b4c00,_0x35408f,_0x1f0630);const _0x350d68='DEFAULT_FILE_NAME',_0x219762=_0xa5a0c5(0x3ce);let _0x2a9730=class extends _0x55777a[_0xa5a0c5(0xb0)]{constructor(_0x99d4e5,_0x3bcd5e){var _0x312114=_0xa5a0c5;super(),this['_univerInstanceService']=_0x99d4e5,this[_0x312114(0x2e4)]=_0x3bcd5e,this[_0x312114(0xbc)]();}[_0xa5a0c5(0xbc)](){var _0x5a4cb6=_0xa5a0c5;this[_0x5a4cb6(0x150)](this[_0x5a4cb6(0x3c2)][_0x5a4cb6(0x19a)][_0x5a4cb6(0xf7)](()=>{var _0x2eabf5=_0x5a4cb6,_0x23cc19;const _0x296684=this['_univerInstanceService']['getFocusedUnit']();let _0x3292a8=(_0x23cc19=this[_0x2eabf5(0x2e4)][_0x2eabf5(0x179)](_0x350d68))!=null?_0x23cc19:_0x219762;_0x296684 instanceof _0x55777a[_0x2eabf5(0x2ec)]&&(_0x3292a8=_0x296684[_0x2eabf5(0xf3)]),document['title']=_0x3292a8;}));}};_0x2a9730=_0x17459b([_0x2cbd04(0x0,_0x55777a[_0xa5a0c5(0x3d8)]),_0x2cbd04(0x1,_0x55777a['IConfigService'])],_0x2a9730);var _0x2cbc9c=Object[_0xa5a0c5(0x3d0)],_0x2e6f4d=(_0x5dc5d0,_0x51beb8,_0x5d07eb,_0x181aae)=>{for(var _0x8f5505=_0x181aae>0x1?void 0x0:_0x181aae?_0x2cbc9c(_0x51beb8,_0x5d07eb):_0x51beb8,_0x25932c=_0x5dc5d0['length']-0x1,_0x50344b;_0x25932c>=0x0;_0x25932c--)(_0x50344b=_0x5dc5d0[_0x25932c])&&(_0x8f5505=_0x50344b(_0x8f5505)||_0x8f5505);return _0x8f5505;},_0x42c96e=(_0x5b3f13,_0xbe383b)=>(_0x19090a,_0x537e21)=>_0xbe383b(_0x19090a,_0x537e21,_0x5b3f13);let _0x557d69=class{constructor(_0x143424,_0x1884b4,_0x261dd4){var _0x2a7e14=_0xa5a0c5;this[_0x2a7e14(0x2e4)]=_0x143424,this[_0x2a7e14(0x1dd)]=_0x1884b4,this[_0x2a7e14(0x37e)]=_0x261dd4,this[_0x2a7e14(0x33a)]();}[_0xa5a0c5(0x33a)](){var _0x4eba30=_0xa5a0c5;this['_httpService'][_0x4eba30(0x11a)]({'priority':0x1,'interceptor':(_0x3287b3,_0x4b95d1)=>_0x4b95d1(_0x3287b3)[_0x4eba30(0x92)](_0x307531['concatMap'](async _0x220bcc=>{var _0x18a004=_0x4eba30;const _0x8d3d3b=_0x220bcc;if(_0x8d3d3b['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x18a004(0x3fa)](this[_0x18a004(0x37e)]['t'](_0x18a004(0x184)))){const _0x3561c5=window['encodeURIComponent'](window[_0x18a004(0x2cc)][_0x18a004(0xe6)]);window[_0x18a004(0x2cc)]['href']=this[_0x18a004(0x40b)]()+_0x18a004(0x10e)+_0x3561c5;}}return _0x8d3d3b;}))});}[_0xa5a0c5(0x40b)](){var _0x535bbb=_0xa5a0c5,_0x4ab42e,_0x2245ae;const _0x1769b7=this['_configService'][_0x535bbb(0x179)](_0x24fd25),_0xc7c932=this['_configService'][_0x535bbb(0x179)](_0xdaa49b);return(_0x2245ae=(_0x4ab42e=_0xc7c932==null?void 0x0:_0xc7c932[_0x535bbb(0x163)])!=null?_0x4ab42e:_0x1769b7)!=null?_0x2245ae:_0x447595;}};_0x557d69=_0x2e6f4d([_0x42c96e(0x0,_0x55777a['IConfigService']),_0x42c96e(0x1,_0x55777a[_0xa5a0c5(0x239)](_0x264129[_0xa5a0c5(0x3e0)])),_0x42c96e(0x2,_0x55777a['Inject'](_0x55777a[_0xa5a0c5(0x413)]))],_0x557d69);var _0xb59624=Object['getOwnPropertyDescriptor'],_0x19cf8d=(_0x44be70,_0x259181,_0x4f561f,_0x7fef5)=>{var _0x5f2395=_0xa5a0c5;for(var _0x40640f=_0x7fef5>0x1?void 0x0:_0x7fef5?_0xb59624(_0x259181,_0x4f561f):_0x259181,_0x5ec4fb=_0x44be70[_0x5f2395(0x165)]-0x1,_0x114817;_0x5ec4fb>=0x0;_0x5ec4fb--)(_0x114817=_0x44be70[_0x5ec4fb])&&(_0x40640f=_0x114817(_0x40640f)||_0x40640f);return _0x40640f;},_0x3720fe=(_0x3beba2,_0x16ba76)=>(_0x2a6c1f,_0x4da79d)=>_0x16ba76(_0x2a6c1f,_0x4da79d,_0x3beba2);const _0x15a27e='AUTHZ_URL_KEY',_0x4175ee='/universer-api/authz';_0x1ee398[_0xa5a0c5(0x21f)]=class extends _0x55777a['Disposable']{constructor(_0x80b02,_0x318557){var _0x54cc3e=_0xa5a0c5;super(),this[_0x54cc3e(0x131)]=_0x80b02,this['_configService']=_0x318557,this[_0x54cc3e(0x286)]();}[_0xa5a0c5(0x286)](){var _0x4c1620=_0xa5a0c5;const _0x1d3520=this;this['disposeWithMe'](this[_0x4c1620(0x131)][_0x4c1620(0x11a)]({'priority':0x3e7,'interceptor':_0x264129[_0x4c1620(0x3b2)]({'isMatch'(_0x481582){var _0x3c1997=_0x4c1620,_0x2322c7;if(_0x481582[_0x3c1997(0x3fe)]==='POST'&&((_0x2322c7=_0x481582[_0x3c1997(0x30c)])!=null&&_0x2322c7[_0x3c1997(0x305)])){const {objectID:_0x6840ce,objectType:_0x5acd52}=_0x481582[_0x3c1997(0x30c)][_0x3c1997(0x305)]||{};if(!_0x6840ce||_0x5acd52===void 0x0)return!0x1;const _0x5191e0=_0x1d3520[_0x3c1997(0x37a)]()+'/'+_0x5acd52+'/object/'+_0x6840ce+'/allowed';if(_0x481582[_0x3c1997(0x3cd)]===_0x5191e0)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x12bcb8){var _0x3e4352=_0x4c1620,_0xc6853d;return(_0xc6853d=_0x12bcb8['requestParams'])==null?void 0x0:_0xc6853d[_0x3e4352(0x305)];},'mergeParamsToRequest'(_0x503517,_0x4c77ff){var _0x38c2a8=_0x4c1620;const _0xc0c2d4=_0x1d3520['_getAPIPrefixPath']()+_0x38c2a8(0x38e),_0x16504f=_0x503517['reduce']((_0x4747e6,_0x2b6f23)=>{var _0x5ef1e5=_0x38c2a8;const {unitID:_0x20ae3f,objectID:_0x443942,objectType:_0x564f66,actions:_0x6d8b42}=_0x2b6f23;return _0x4747e6[_0x20ae3f]||(_0x4747e6[_0x20ae3f]={}),_0x4747e6[_0x20ae3f][_0x443942]||(_0x4747e6[_0x20ae3f][_0x443942]={'objectID':_0x443942,'objectType':_0x564f66,'actions':[]}),_0x4747e6[_0x20ae3f][_0x443942]['actions'][_0x5ef1e5(0x31e)](..._0x6d8b42),_0x4747e6;},{}),_0x5588b3=[];for(const _0x1ae812 in _0x16504f)for(const _0x54a693 in _0x16504f[_0x1ae812]){const {actions:_0x386a9f,objectType:_0x34e435}=_0x16504f[_0x1ae812][_0x54a693],_0x39c7a0=[...new Set(_0x386a9f)];_0x5588b3['push']({'unitID':_0x1ae812,'objectID':_0x54a693,'objectType':_0x34e435,'actions':_0x39c7a0});}return new _0x264129[(_0x38c2a8(0x3e5))](_0x38c2a8(0xba),_0xc0c2d4,{'headers':_0x4c77ff[_0x38c2a8(0x3db)],'withCredentials':_0x4c77ff[_0x38c2a8(0x372)],'responseType':_0x4c77ff[_0x38c2a8(0x2d3)],'body':{'requests':_0x5588b3}});}},{'distributeResult'(_0x43e4f8,_0x35fd5f){const {objectActions:_0x2bc54d}=_0x43e4f8;return _0x35fd5f['map'](_0x2fd6d6=>{var _0x4e37b7=_0x2939;const {unitID:_0x5b0bdd,objectID:_0x89071d,actions:_0x1f1ec0}=_0x2fd6d6,_0x414853=_0x2bc54d['find'](_0x4f85ff=>_0x4f85ff[_0x4e37b7(0x18e)]===_0x5b0bdd&&_0x4f85ff['objectID']===_0x89071d),_0x23022e=_0x1f1ec0[_0x4e37b7(0x2a8)](_0x84e57c=>_0x414853==null?void 0x0:_0x414853[_0x4e37b7(0x17b)][_0x4e37b7(0x39f)](_0x4517e2=>_0x4517e2[_0x4e37b7(0x1dc)]===_0x84e57c))[_0x4e37b7(0x15c)](_0x57f3f8=>!!_0x57f3f8);return{'config':_0x2fd6d6,'result':{'actions':_0x23022e,'error':_0x43e4f8[_0x4e37b7(0xe9)]}};});}})}));}[_0xa5a0c5(0x37a)](){var _0x10e383=_0xa5a0c5,_0x43b6bf,_0x18d9ed;const _0x3051a3=this[_0x10e383(0x2e4)][_0x10e383(0x179)](_0x15a27e),_0x3a61fc=this[_0x10e383(0x2e4)][_0x10e383(0x179)](_0xdaa49b);return(_0x18d9ed=(_0x43b6bf=_0x3a61fc==null?void 0x0:_0x3a61fc[_0x10e383(0x27e)])!=null?_0x43b6bf:_0x3051a3)!=null?_0x18d9ed:_0x4175ee;}async['create'](_0x7fc658){var _0x2d7381=_0xa5a0c5;const _0x49fe2e=this[_0x2d7381(0x37a)]()+'/'+_0x7fc658[_0x2d7381(0x30f)]+_0x2d7381(0x1e5);return(await this[_0x2d7381(0x131)][_0x2d7381(0x2c3)](_0x49fe2e,{'body':_0x7fc658}))[_0x2d7381(0x305)][_0x2d7381(0x23d)]||'';}async[_0xa5a0c5(0x1da)](_0x267d27){var _0x32dac6=_0xa5a0c5;const _0x53b04f=this[_0x32dac6(0x37a)]()+_0x32dac6(0x373);return(await this[_0x32dac6(0x131)]['post'](_0x53b04f,{'body':_0x267d27}))[_0x32dac6(0x305)][_0x32dac6(0x36e)];}async[_0xa5a0c5(0x298)](_0xd50aee){var _0x29d353=_0xa5a0c5,_0x494690,_0x32f6cd;const _0x1251d1=this['_getAPIPrefixPath']()+'/'+_0xd50aee[_0x29d353(0x30f)]+_0x29d353(0x26d)+_0xd50aee[_0x29d353(0x23d)],_0x1a3f7e=await this[_0x29d353(0x131)]['put'](_0x1251d1,{'body':_0xd50aee});if(((_0x32f6cd=(_0x494690=_0x1a3f7e==null?void 0x0:_0x1a3f7e['body'])==null?void 0x0:_0x494690[_0x29d353(0xe9)])==null?void 0x0:_0x32f6cd[_0x29d353(0xf2)])!==0x1)throw new Error(_0x29d353(0x1b2));}async[_0xa5a0c5(0x16f)](_0x8f4e7c){var _0x41a74b=_0xa5a0c5;const _0x11a789=this[_0x41a74b(0x37a)]()+'/'+_0x8f4e7c[_0x41a74b(0x30f)]+_0x41a74b(0x26d)+_0x8f4e7c[_0x41a74b(0x23d)]+_0x41a74b(0x220);return(await this[_0x41a74b(0x131)][_0x41a74b(0x2c3)](_0x11a789,{'body':_0x8f4e7c}))['body'][_0x41a74b(0x17b)];}async[_0xa5a0c5(0x306)](_0x17cd83){var _0x40b953=_0xa5a0c5;const _0x398093=this['_getAPIPrefixPath']()+_0x40b953(0x38e);return(await this['_HTTPService'][_0x40b953(0x2c3)](_0x398093,{'body':{'requests':_0x17cd83}}))[_0x40b953(0x305)][_0x40b953(0x355)];}async[_0xa5a0c5(0x122)](_0x23eca4){var _0x92592e=_0xa5a0c5;const _0x4cb6ec=this[_0x92592e(0x37a)]()+'/'+_0x23eca4[_0x92592e(0x30f)]+_0x92592e(0x404),_0xc883ca=await this[_0x92592e(0x131)]['post'](_0x4cb6ec,{'body':_0x23eca4});return{'roles':_0xc883ca[_0x92592e(0x305)][_0x92592e(0x148)],'actions':_0xc883ca['body'][_0x92592e(0x17b)]};}async[_0xa5a0c5(0x146)](_0x2bf7c8){var _0x367354=_0xa5a0c5;const _0xdaa451=this[_0x367354(0x37a)]()+_0x367354(0x3d9);await this[_0x367354(0x131)][_0x367354(0xab)](_0xdaa451,{'params':{'collaboratorID':_0x2bf7c8[_0x367354(0x198)],'objectID':_0x2bf7c8[_0x367354(0x23d)],'unitID':_0x2bf7c8[_0x367354(0x18e)]}});}async[_0xa5a0c5(0x30a)](_0x2d3c83){var _0x290025=_0xa5a0c5;const _0x1bf932=this[_0x290025(0x37a)]()+_0x290025(0x3d9);await this[_0x290025(0x131)][_0x290025(0x359)](_0x1bf932,{'body':_0x2d3c83});}async['createCollaborator'](_0xbd803a){var _0x3e7c2b=_0xa5a0c5;const _0x325e51=this[_0x3e7c2b(0x37a)]()+_0x3e7c2b(0x3d9);await this[_0x3e7c2b(0x131)][_0x3e7c2b(0x2c3)](_0x325e51,{'body':_0xbd803a});}async[_0xa5a0c5(0x15a)](_0x3ae039){var _0x350926=_0xa5a0c5;const _0x99033=this[_0x350926(0x37a)]()+'/collaborator';return(await this[_0x350926(0x131)][_0x350926(0x223)](_0x99033,{'params':{'objectID':_0x3ae039[_0x350926(0x23d)],'unitID':_0x3ae039[_0x350926(0x18e)]}}))[_0x350926(0x305)][_0x350926(0x123)];}async[_0xa5a0c5(0x34d)](_0x313bc3){var _0x3d372c=_0xa5a0c5;const _0x4a606e=this[_0x3d372c(0x37a)]()+'/collaborator';await this[_0x3d372c(0x131)][_0x3d372c(0x2d9)](_0x4a606e,{'body':_0x313bc3});}},_0x1ee398[_0xa5a0c5(0x21f)]=_0x19cf8d([_0x3720fe(0x0,_0x55777a[_0xa5a0c5(0x239)](_0x264129[_0xa5a0c5(0x3e0)])),_0x3720fe(0x1,_0x55777a[_0xa5a0c5(0x239)](_0x55777a[_0xa5a0c5(0x1cc)]))],_0x1ee398[_0xa5a0c5(0x21f)]);var _0x1c545d=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0xa5f53d(_0x3d7424){var _0x1260ac=_0xa5a0c5;return _0x3d7424&&_0x3d7424[_0x1260ac(0xe1)]&&Object[_0x1260ac(0x356)]['hasOwnProperty']['call'](_0x3d7424,'default')?_0x3d7424[_0x1260ac(0x396)]:_0x3d7424;}var _0x54efb2={'exports':{}};function _0x280970(_0x32a559){var _0x40566f=_0xa5a0c5;throw new Error(_0x40566f(0x1bc)+_0x32a559+_0x40566f(0x22d));}var _0x326a8d={'exports':{}},_0x529c00=_0x326a8d['exports'],_0x14464a;function _0x4f7a16(){var _0xd1a0a0=_0xa5a0c5;return _0x14464a||(_0x14464a=0x1,function(_0x3cb25e,_0x238e24){(function(_0xe87f1c,_0x25179e){var _0x2e90a4=_0x2939;_0x3cb25e[_0x2e90a4(0x39b)]=_0x25179e();}(_0x529c00,function(){var _0x352b82=_0x352b82||function(_0x25c713,_0x456233){var _0x5a1a9b=_0x2939,_0xb36aa3;if(typeof window<'u'&&window[_0x5a1a9b(0x291)]&&(_0xb36aa3=window['crypto']),typeof self<'u'&&self[_0x5a1a9b(0x291)]&&(_0xb36aa3=self[_0x5a1a9b(0x291)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0xb36aa3=globalThis[_0x5a1a9b(0x291)]),!_0xb36aa3&&typeof window<'u'&&window['msCrypto']&&(_0xb36aa3=window['msCrypto']),!_0xb36aa3&&typeof _0x1c545d<'u'&&_0x1c545d[_0x5a1a9b(0x291)]&&(_0xb36aa3=_0x1c545d[_0x5a1a9b(0x291)]),!_0xb36aa3&&typeof _0x280970=='function')try{_0xb36aa3=require(_0x5a1a9b(0x291));}catch{}var _0x3dfc13=function(){var _0x58ea72=_0x5a1a9b;if(_0xb36aa3){if(typeof _0xb36aa3[_0x58ea72(0x135)]==_0x58ea72(0x1bb))try{return _0xb36aa3[_0x58ea72(0x135)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xb36aa3[_0x58ea72(0x1e7)]=='function')try{return _0xb36aa3[_0x58ea72(0x1e7)](0x4)[_0x58ea72(0x83)]();}catch{}}throw new Error(_0x58ea72(0x2f5));},_0x5c641d=Object[_0x5a1a9b(0x12f)]||(function(){function _0x4fd9dd(){}return function(_0x31aa44){var _0x488f10=_0x2939,_0x2519f2;return _0x4fd9dd['prototype']=_0x31aa44,_0x2519f2=new _0x4fd9dd(),_0x4fd9dd[_0x488f10(0x356)]=null,_0x2519f2;};}()),_0x5b38e2={},_0x4659ec=_0x5b38e2['lib']={},_0x3b8677=_0x4659ec['Base']=(function(){return{'extend':function(_0x41e752){var _0x5dcc57=_0x2939,_0x1dbcf8=_0x5c641d(this);return _0x41e752&&_0x1dbcf8[_0x5dcc57(0x284)](_0x41e752),(!_0x1dbcf8[_0x5dcc57(0xf9)](_0x5dcc57(0x33a))||this[_0x5dcc57(0x33a)]===_0x1dbcf8[_0x5dcc57(0x33a)])&&(_0x1dbcf8[_0x5dcc57(0x33a)]=function(){var _0x4f112a=_0x5dcc57;_0x1dbcf8[_0x4f112a(0xb6)][_0x4f112a(0x33a)][_0x4f112a(0x35a)](this,arguments);}),_0x1dbcf8[_0x5dcc57(0x33a)][_0x5dcc57(0x356)]=_0x1dbcf8,_0x1dbcf8[_0x5dcc57(0xb6)]=this,_0x1dbcf8;},'create':function(){var _0x3de501=_0x2939,_0x39f7e9=this[_0x3de501(0x3ed)]();return _0x39f7e9[_0x3de501(0x33a)]['apply'](_0x39f7e9,arguments),_0x39f7e9;},'init':function(){},'mixIn':function(_0x44e619){var _0x23d7a7=_0x2939;for(var _0x11fb47 in _0x44e619)_0x44e619['hasOwnProperty'](_0x11fb47)&&(this[_0x11fb47]=_0x44e619[_0x11fb47]);_0x44e619[_0x23d7a7(0xf9)](_0x23d7a7(0x2c5))&&(this[_0x23d7a7(0x2c5)]=_0x44e619[_0x23d7a7(0x2c5)]);},'clone':function(){var _0x15905c=_0x2939;return this['init'][_0x15905c(0x356)][_0x15905c(0x3ed)](this);}};}()),_0x4c4600=_0x4659ec[_0x5a1a9b(0x172)]=_0x3b8677[_0x5a1a9b(0x3ed)]({'init':function(_0x483de2,_0x5c493b){var _0x543200=_0x5a1a9b;_0x483de2=this[_0x543200(0x27c)]=_0x483de2||[],_0x5c493b!=_0x456233?this[_0x543200(0x3b5)]=_0x5c493b:this[_0x543200(0x3b5)]=_0x483de2[_0x543200(0x165)]*0x4;},'toString':function(_0x35390b){var _0x3b1cb8=_0x5a1a9b;return(_0x35390b||_0xad9928)[_0x3b1cb8(0x36b)](this);},'concat':function(_0x192ed9){var _0x202483=_0x5a1a9b,_0x2b6fc2=this[_0x202483(0x27c)],_0xe6d202=_0x192ed9[_0x202483(0x27c)],_0x4dd339=this[_0x202483(0x3b5)],_0x329a11=_0x192ed9['sigBytes'];if(this[_0x202483(0x403)](),_0x4dd339%0x4)for(var _0x5b7346=0x0;_0x5b7346<_0x329a11;_0x5b7346++){var _0xef5316=_0xe6d202[_0x5b7346>>>0x2]>>>0x18-_0x5b7346%0x4*0x8&0xff;_0x2b6fc2[_0x4dd339+_0x5b7346>>>0x2]|=_0xef5316<<0x18-(_0x4dd339+_0x5b7346)%0x4*0x8;}else{for(var _0x4f9456=0x0;_0x4f9456<_0x329a11;_0x4f9456+=0x4)_0x2b6fc2[_0x4dd339+_0x4f9456>>>0x2]=_0xe6d202[_0x4f9456>>>0x2];}return this[_0x202483(0x3b5)]+=_0x329a11,this;},'clamp':function(){var _0x20a5c1=_0x5a1a9b,_0x2d93d4=this[_0x20a5c1(0x27c)],_0x13db00=this[_0x20a5c1(0x3b5)];_0x2d93d4[_0x13db00>>>0x2]&=0xffffffff<<0x20-_0x13db00%0x4*0x8,_0x2d93d4[_0x20a5c1(0x165)]=_0x25c713['ceil'](_0x13db00/0x4);},'clone':function(){var _0x54db54=_0x5a1a9b,_0x517028=_0x3b8677[_0x54db54(0x283)][_0x54db54(0x238)](this);return _0x517028[_0x54db54(0x27c)]=this[_0x54db54(0x27c)][_0x54db54(0x3af)](0x0),_0x517028;},'random':function(_0x1ad032){var _0x3408ed=_0x5a1a9b;for(var _0x292be2=[],_0x5a0373=0x0;_0x5a0373<_0x1ad032;_0x5a0373+=0x4)_0x292be2[_0x3408ed(0x31e)](_0x3dfc13());return new _0x4c4600[(_0x3408ed(0x33a))](_0x292be2,_0x1ad032);}}),_0x36776f=_0x5b38e2[_0x5a1a9b(0x2d1)]={},_0xad9928=_0x36776f['Hex']={'stringify':function(_0x1a6b0d){var _0x1324c3=_0x5a1a9b;for(var _0x216e22=_0x1a6b0d[_0x1324c3(0x27c)],_0x3d5a2b=_0x1a6b0d[_0x1324c3(0x3b5)],_0x1c5647=[],_0xda4db=0x0;_0xda4db<_0x3d5a2b;_0xda4db++){var _0x5912a2=_0x216e22[_0xda4db>>>0x2]>>>0x18-_0xda4db%0x4*0x8&0xff;_0x1c5647[_0x1324c3(0x31e)]((_0x5912a2>>>0x4)[_0x1324c3(0x2c5)](0x10)),_0x1c5647[_0x1324c3(0x31e)]((_0x5912a2&0xf)[_0x1324c3(0x2c5)](0x10));}return _0x1c5647[_0x1324c3(0x241)]('');},'parse':function(_0x16cd44){var _0x4a229a=_0x5a1a9b;for(var _0x56c331=_0x16cd44[_0x4a229a(0x165)],_0x31823e=[],_0x12630b=0x0;_0x12630b<_0x56c331;_0x12630b+=0x2)_0x31823e[_0x12630b>>>0x3]|=parseInt(_0x16cd44[_0x4a229a(0x1c2)](_0x12630b,0x2),0x10)<<0x18-_0x12630b%0x8*0x4;return new _0x4c4600[(_0x4a229a(0x33a))](_0x31823e,_0x56c331/0x2);}},_0x4e04eb=_0x36776f[_0x5a1a9b(0x1c6)]={'stringify':function(_0x22a8f2){var _0x12760c=_0x5a1a9b;for(var _0x3c8c09=_0x22a8f2[_0x12760c(0x27c)],_0x41948a=_0x22a8f2[_0x12760c(0x3b5)],_0x596502=[],_0x44318b=0x0;_0x44318b<_0x41948a;_0x44318b++){var _0x211765=_0x3c8c09[_0x44318b>>>0x2]>>>0x18-_0x44318b%0x4*0x8&0xff;_0x596502[_0x12760c(0x31e)](String[_0x12760c(0xcf)](_0x211765));}return _0x596502[_0x12760c(0x241)]('');},'parse':function(_0x1c829c){var _0x1341c4=_0x5a1a9b;for(var _0x59500d=_0x1c829c['length'],_0x4c82e5=[],_0x561273=0x0;_0x561273<_0x59500d;_0x561273++)_0x4c82e5[_0x561273>>>0x2]|=(_0x1c829c[_0x1341c4(0x162)](_0x561273)&0xff)<<0x18-_0x561273%0x4*0x8;return new _0x4c4600[(_0x1341c4(0x33a))](_0x4c82e5,_0x59500d);}},_0x4f4408=_0x36776f[_0x5a1a9b(0x229)]={'stringify':function(_0x16a9fc){var _0x3e7628=_0x5a1a9b;try{return decodeURIComponent(escape(_0x4e04eb['stringify'](_0x16a9fc)));}catch{throw new Error(_0x3e7628(0x98));}},'parse':function(_0x16d920){var _0x5c5968=_0x5a1a9b;return _0x4e04eb[_0x5c5968(0x136)](unescape(encodeURIComponent(_0x16d920)));}},_0x2ddf75=_0x4659ec['BufferedBlockAlgorithm']=_0x3b8677['extend']({'reset':function(){var _0x632bd6=_0x5a1a9b;this[_0x632bd6(0x2ff)]=new _0x4c4600[(_0x632bd6(0x33a))](),this[_0x632bd6(0x351)]=0x0;},'_append':function(_0x1031c7){var _0x2e947b=_0x5a1a9b;typeof _0x1031c7=='string'&&(_0x1031c7=_0x4f4408[_0x2e947b(0x136)](_0x1031c7)),this[_0x2e947b(0x2ff)]['concat'](_0x1031c7),this[_0x2e947b(0x351)]+=_0x1031c7[_0x2e947b(0x3b5)];},'_process':function(_0x2f7558){var _0x597f81=_0x5a1a9b,_0x5785f2,_0x39cc8e=this[_0x597f81(0x2ff)],_0x16a55a=_0x39cc8e[_0x597f81(0x27c)],_0x4104f7=_0x39cc8e['sigBytes'],_0x358b2c=this[_0x597f81(0x81)],_0x41df15=_0x358b2c*0x4,_0x18758a=_0x4104f7/_0x41df15;_0x2f7558?_0x18758a=_0x25c713[_0x597f81(0x1b8)](_0x18758a):_0x18758a=_0x25c713['max']((_0x18758a|0x0)-this[_0x597f81(0x137)],0x0);var _0x56ba17=_0x18758a*_0x358b2c,_0x5afc47=_0x25c713[_0x597f81(0x3dc)](_0x56ba17*0x4,_0x4104f7);if(_0x56ba17){for(var _0x1faccd=0x0;_0x1faccd<_0x56ba17;_0x1faccd+=_0x358b2c)this['_doProcessBlock'](_0x16a55a,_0x1faccd);_0x5785f2=_0x16a55a[_0x597f81(0x304)](0x0,_0x56ba17),_0x39cc8e[_0x597f81(0x3b5)]-=_0x5afc47;}return new _0x4c4600[(_0x597f81(0x33a))](_0x5785f2,_0x5afc47);},'clone':function(){var _0x550aab=_0x5a1a9b,_0x433fe7=_0x3b8677[_0x550aab(0x283)][_0x550aab(0x238)](this);return _0x433fe7[_0x550aab(0x2ff)]=this[_0x550aab(0x2ff)][_0x550aab(0x283)](),_0x433fe7;},'_minBufferSize':0x0});_0x4659ec[_0x5a1a9b(0x20c)]=_0x2ddf75[_0x5a1a9b(0x3ed)]({'cfg':_0x3b8677['extend'](),'init':function(_0x41f9ce){var _0x424ce8=_0x5a1a9b;this[_0x424ce8(0x279)]=this[_0x424ce8(0x279)]['extend'](_0x41f9ce),this[_0x424ce8(0x168)]();},'reset':function(){var _0x4632b2=_0x5a1a9b;_0x2ddf75[_0x4632b2(0x168)][_0x4632b2(0x238)](this),this[_0x4632b2(0xae)]();},'update':function(_0x35c64f){var _0x2e4f29=_0x5a1a9b;return this[_0x2e4f29(0x209)](_0x35c64f),this[_0x2e4f29(0xe7)](),this;},'finalize':function(_0x4f9ee6){var _0x4b43cd=_0x5a1a9b;_0x4f9ee6&&this[_0x4b43cd(0x209)](_0x4f9ee6);var _0x1c9fbd=this['_doFinalize']();return _0x1c9fbd;},'blockSize':0x10,'_createHelper':function(_0x277bd6){return function(_0x1996ab,_0x9956c1){var _0x3f0aca=_0x2939;return new _0x277bd6['init'](_0x9956c1)[_0x3f0aca(0x203)](_0x1996ab);};},'_createHmacHelper':function(_0x7eb08c){return function(_0x211ee2,_0x4923db){var _0x4df1b9=_0x2939;return new _0x5eaf4b[(_0x4df1b9(0x130))][(_0x4df1b9(0x33a))](_0x7eb08c,_0x4923db)['finalize'](_0x211ee2);};}});var _0x5eaf4b=_0x5b38e2[_0x5a1a9b(0x312)]={};return _0x5b38e2;}(Math);return _0x352b82;}));}(_0x326a8d)),_0x326a8d[_0xd1a0a0(0x39b)];}var _0x7564ab={'exports':{}},_0x1757ab=_0x7564ab[_0xa5a0c5(0x39b)],_0x585981;function _0xf5b800(){return _0x585981||(_0x585981=0x1,function(_0x4ea244,_0x12d918){(function(_0x4a9c98,_0x41b5e4){var _0x4c8953=_0x2939;_0x4ea244[_0x4c8953(0x39b)]=_0x41b5e4(_0x4f7a16());}(_0x1757ab,function(_0x8dbf3b){var _0x47b75a=_0x2939;return(function(){var _0x33fdfc=_0x2939,_0x4de628=_0x8dbf3b,_0x593652=_0x4de628[_0x33fdfc(0x2ad)],_0x23c613=_0x593652[_0x33fdfc(0x172)],_0x32626e=_0x4de628[_0x33fdfc(0x2d1)];_0x32626e['Base64']={'stringify':function(_0x51122b){var _0x1a219f=_0x33fdfc,_0x4878de=_0x51122b[_0x1a219f(0x27c)],_0x1102ec=_0x51122b[_0x1a219f(0x3b5)],_0x353bda=this[_0x1a219f(0x15e)];_0x51122b[_0x1a219f(0x403)]();for(var _0x329dec=[],_0x1a449d=0x0;_0x1a449d<_0x1102ec;_0x1a449d+=0x3)for(var _0x14cb51=_0x4878de[_0x1a449d>>>0x2]>>>0x18-_0x1a449d%0x4*0x8&0xff,_0x1e6d00=_0x4878de[_0x1a449d+0x1>>>0x2]>>>0x18-(_0x1a449d+0x1)%0x4*0x8&0xff,_0x29e9dd=_0x4878de[_0x1a449d+0x2>>>0x2]>>>0x18-(_0x1a449d+0x2)%0x4*0x8&0xff,_0x296cd1=_0x14cb51<<0x10|_0x1e6d00<<0x8|_0x29e9dd,_0xccea22=0x0;_0xccea22<0x4&&_0x1a449d+_0xccea22*0.75<_0x1102ec;_0xccea22++)_0x329dec[_0x1a219f(0x31e)](_0x353bda[_0x1a219f(0x3dd)](_0x296cd1>>>0x6*(0x3-_0xccea22)&0x3f));var _0x3c8fb8=_0x353bda[_0x1a219f(0x3dd)](0x40);if(_0x3c8fb8){for(;_0x329dec[_0x1a219f(0x165)]%0x4;)_0x329dec[_0x1a219f(0x31e)](_0x3c8fb8);}return _0x329dec[_0x1a219f(0x241)]('');},'parse':function(_0x1b4c41){var _0x48e2fa=_0x33fdfc,_0x5a2d4e=_0x1b4c41[_0x48e2fa(0x165)],_0xb90bf2=this[_0x48e2fa(0x15e)],_0x32e456=this[_0x48e2fa(0xc9)];if(!_0x32e456){_0x32e456=this['_reverseMap']=[];for(var _0x217ad8=0x0;_0x217ad8<_0xb90bf2[_0x48e2fa(0x165)];_0x217ad8++)_0x32e456[_0xb90bf2[_0x48e2fa(0x162)](_0x217ad8)]=_0x217ad8;}var _0x529540=_0xb90bf2['charAt'](0x40);if(_0x529540){var _0x483223=_0x1b4c41['indexOf'](_0x529540);_0x483223!==-0x1&&(_0x5a2d4e=_0x483223);}return _0x37d331(_0x1b4c41,_0x5a2d4e,_0x32e456);},'_map':_0x33fdfc(0x2b5)};function _0x37d331(_0x88bfda,_0x137b9e,_0x496ad9){var _0x4689f4=_0x33fdfc;for(var _0x68171a=[],_0x500553=0x0,_0x240e45=0x0;_0x240e45<_0x137b9e;_0x240e45++)if(_0x240e45%0x4){var _0x1d88ac=_0x496ad9[_0x88bfda['charCodeAt'](_0x240e45-0x1)]<<_0x240e45%0x4*0x2,_0xd91462=_0x496ad9[_0x88bfda[_0x4689f4(0x162)](_0x240e45)]>>>0x6-_0x240e45%0x4*0x2,_0x3597b4=_0x1d88ac|_0xd91462;_0x68171a[_0x500553>>>0x2]|=_0x3597b4<<0x18-_0x500553%0x4*0x8,_0x500553++;}return _0x23c613['create'](_0x68171a,_0x500553);}}()),_0x8dbf3b[_0x47b75a(0x2d1)]['Base64'];}));}(_0x7564ab)),_0x7564ab['exports'];}var _0x61bb81={'exports':{}},_0x1db260=_0x61bb81[_0xa5a0c5(0x39b)],_0x20f8fd;function _0x1ba603(){var _0x4ae225=_0xa5a0c5;return _0x20f8fd||(_0x20f8fd=0x1,function(_0x2d345a,_0x4ae4af){(function(_0x5e54a8,_0x274261){var _0x2719cd=_0x2939;_0x2d345a[_0x2719cd(0x39b)]=_0x274261(_0x4f7a16());}(_0x1db260,function(_0x16f69f){var _0x2d0693=_0x2939;return function(_0x19b087){var _0x2bb08e=_0x2939,_0x1c0066=_0x16f69f,_0x3ebf44=_0x1c0066[_0x2bb08e(0x2ad)],_0x3d6fbd=_0x3ebf44['WordArray'],_0x2136ae=_0x3ebf44[_0x2bb08e(0x20c)],_0x187686=_0x1c0066[_0x2bb08e(0x312)],_0x1cbce9=[];(function(){var _0x26e0e3=_0x2bb08e;for(var _0x5763c2=0x0;_0x5763c2<0x40;_0x5763c2++)_0x1cbce9[_0x5763c2]=_0x19b087[_0x26e0e3(0x37b)](_0x19b087[_0x26e0e3(0x124)](_0x5763c2+0x1))*0x100000000|0x0;}());var _0x486ea=_0x187686[_0x2bb08e(0x2f2)]=_0x2136ae['extend']({'_doReset':function(){var _0x7b6aa0=_0x2bb08e;this['_hash']=new _0x3d6fbd[(_0x7b6aa0(0x33a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3393e2,_0x356410){var _0x373b09=_0x2bb08e;for(var _0x4dcd7c=0x0;_0x4dcd7c<0x10;_0x4dcd7c++){var _0x3e8c04=_0x356410+_0x4dcd7c,_0x1d4ef0=_0x3393e2[_0x3e8c04];_0x3393e2[_0x3e8c04]=(_0x1d4ef0<<0x8|_0x1d4ef0>>>0x18)&0xff00ff|(_0x1d4ef0<<0x18|_0x1d4ef0>>>0x8)&0xff00ff00;}var _0xd1ad91=this[_0x373b09(0x32e)]['words'],_0x409ec5=_0x3393e2[_0x356410+0x0],_0xbc9434=_0x3393e2[_0x356410+0x1],_0x2d7653=_0x3393e2[_0x356410+0x2],_0x10fd2c=_0x3393e2[_0x356410+0x3],_0x362673=_0x3393e2[_0x356410+0x4],_0x3b6849=_0x3393e2[_0x356410+0x5],_0x16143a=_0x3393e2[_0x356410+0x6],_0x1c6a17=_0x3393e2[_0x356410+0x7],_0x5a7e1d=_0x3393e2[_0x356410+0x8],_0xd0b4bd=_0x3393e2[_0x356410+0x9],_0x2a07d8=_0x3393e2[_0x356410+0xa],_0x43ddf9=_0x3393e2[_0x356410+0xb],_0x2f0b98=_0x3393e2[_0x356410+0xc],_0x1478c2=_0x3393e2[_0x356410+0xd],_0x34cdd0=_0x3393e2[_0x356410+0xe],_0x45aba0=_0x3393e2[_0x356410+0xf],_0x53000d=_0xd1ad91[0x0],_0x5a966d=_0xd1ad91[0x1],_0x352153=_0xd1ad91[0x2],_0x178585=_0xd1ad91[0x3];_0x53000d=_0x4d8fd9(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0x409ec5,0x7,_0x1cbce9[0x0]),_0x178585=_0x4d8fd9(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0xbc9434,0xc,_0x1cbce9[0x1]),_0x352153=_0x4d8fd9(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x2d7653,0x11,_0x1cbce9[0x2]),_0x5a966d=_0x4d8fd9(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x10fd2c,0x16,_0x1cbce9[0x3]),_0x53000d=_0x4d8fd9(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0x362673,0x7,_0x1cbce9[0x4]),_0x178585=_0x4d8fd9(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x3b6849,0xc,_0x1cbce9[0x5]),_0x352153=_0x4d8fd9(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x16143a,0x11,_0x1cbce9[0x6]),_0x5a966d=_0x4d8fd9(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x1c6a17,0x16,_0x1cbce9[0x7]),_0x53000d=_0x4d8fd9(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0x5a7e1d,0x7,_0x1cbce9[0x8]),_0x178585=_0x4d8fd9(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0xd0b4bd,0xc,_0x1cbce9[0x9]),_0x352153=_0x4d8fd9(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x2a07d8,0x11,_0x1cbce9[0xa]),_0x5a966d=_0x4d8fd9(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x43ddf9,0x16,_0x1cbce9[0xb]),_0x53000d=_0x4d8fd9(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0x2f0b98,0x7,_0x1cbce9[0xc]),_0x178585=_0x4d8fd9(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x1478c2,0xc,_0x1cbce9[0xd]),_0x352153=_0x4d8fd9(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x34cdd0,0x11,_0x1cbce9[0xe]),_0x5a966d=_0x4d8fd9(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x45aba0,0x16,_0x1cbce9[0xf]),_0x53000d=_0x452f7d(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0xbc9434,0x5,_0x1cbce9[0x10]),_0x178585=_0x452f7d(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x16143a,0x9,_0x1cbce9[0x11]),_0x352153=_0x452f7d(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x43ddf9,0xe,_0x1cbce9[0x12]),_0x5a966d=_0x452f7d(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x409ec5,0x14,_0x1cbce9[0x13]),_0x53000d=_0x452f7d(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0x3b6849,0x5,_0x1cbce9[0x14]),_0x178585=_0x452f7d(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x2a07d8,0x9,_0x1cbce9[0x15]),_0x352153=_0x452f7d(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x45aba0,0xe,_0x1cbce9[0x16]),_0x5a966d=_0x452f7d(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x362673,0x14,_0x1cbce9[0x17]),_0x53000d=_0x452f7d(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0xd0b4bd,0x5,_0x1cbce9[0x18]),_0x178585=_0x452f7d(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x34cdd0,0x9,_0x1cbce9[0x19]),_0x352153=_0x452f7d(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x10fd2c,0xe,_0x1cbce9[0x1a]),_0x5a966d=_0x452f7d(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x5a7e1d,0x14,_0x1cbce9[0x1b]),_0x53000d=_0x452f7d(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0x1478c2,0x5,_0x1cbce9[0x1c]),_0x178585=_0x452f7d(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x2d7653,0x9,_0x1cbce9[0x1d]),_0x352153=_0x452f7d(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x1c6a17,0xe,_0x1cbce9[0x1e]),_0x5a966d=_0x452f7d(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x2f0b98,0x14,_0x1cbce9[0x1f]),_0x53000d=_0xf4ed8c(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0x3b6849,0x4,_0x1cbce9[0x20]),_0x178585=_0xf4ed8c(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x5a7e1d,0xb,_0x1cbce9[0x21]),_0x352153=_0xf4ed8c(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x43ddf9,0x10,_0x1cbce9[0x22]),_0x5a966d=_0xf4ed8c(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x34cdd0,0x17,_0x1cbce9[0x23]),_0x53000d=_0xf4ed8c(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0xbc9434,0x4,_0x1cbce9[0x24]),_0x178585=_0xf4ed8c(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x362673,0xb,_0x1cbce9[0x25]),_0x352153=_0xf4ed8c(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x1c6a17,0x10,_0x1cbce9[0x26]),_0x5a966d=_0xf4ed8c(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x2a07d8,0x17,_0x1cbce9[0x27]),_0x53000d=_0xf4ed8c(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0x1478c2,0x4,_0x1cbce9[0x28]),_0x178585=_0xf4ed8c(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x409ec5,0xb,_0x1cbce9[0x29]),_0x352153=_0xf4ed8c(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x10fd2c,0x10,_0x1cbce9[0x2a]),_0x5a966d=_0xf4ed8c(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x16143a,0x17,_0x1cbce9[0x2b]),_0x53000d=_0xf4ed8c(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0xd0b4bd,0x4,_0x1cbce9[0x2c]),_0x178585=_0xf4ed8c(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x2f0b98,0xb,_0x1cbce9[0x2d]),_0x352153=_0xf4ed8c(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x45aba0,0x10,_0x1cbce9[0x2e]),_0x5a966d=_0xf4ed8c(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x2d7653,0x17,_0x1cbce9[0x2f]),_0x53000d=_0xb81f16(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0x409ec5,0x6,_0x1cbce9[0x30]),_0x178585=_0xb81f16(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x1c6a17,0xa,_0x1cbce9[0x31]),_0x352153=_0xb81f16(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x34cdd0,0xf,_0x1cbce9[0x32]),_0x5a966d=_0xb81f16(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x3b6849,0x15,_0x1cbce9[0x33]),_0x53000d=_0xb81f16(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0x2f0b98,0x6,_0x1cbce9[0x34]),_0x178585=_0xb81f16(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x10fd2c,0xa,_0x1cbce9[0x35]),_0x352153=_0xb81f16(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x2a07d8,0xf,_0x1cbce9[0x36]),_0x5a966d=_0xb81f16(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0xbc9434,0x15,_0x1cbce9[0x37]),_0x53000d=_0xb81f16(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0x5a7e1d,0x6,_0x1cbce9[0x38]),_0x178585=_0xb81f16(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x45aba0,0xa,_0x1cbce9[0x39]),_0x352153=_0xb81f16(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x16143a,0xf,_0x1cbce9[0x3a]),_0x5a966d=_0xb81f16(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0x1478c2,0x15,_0x1cbce9[0x3b]),_0x53000d=_0xb81f16(_0x53000d,_0x5a966d,_0x352153,_0x178585,_0x362673,0x6,_0x1cbce9[0x3c]),_0x178585=_0xb81f16(_0x178585,_0x53000d,_0x5a966d,_0x352153,_0x43ddf9,0xa,_0x1cbce9[0x3d]),_0x352153=_0xb81f16(_0x352153,_0x178585,_0x53000d,_0x5a966d,_0x2d7653,0xf,_0x1cbce9[0x3e]),_0x5a966d=_0xb81f16(_0x5a966d,_0x352153,_0x178585,_0x53000d,_0xd0b4bd,0x15,_0x1cbce9[0x3f]),_0xd1ad91[0x0]=_0xd1ad91[0x0]+_0x53000d|0x0,_0xd1ad91[0x1]=_0xd1ad91[0x1]+_0x5a966d|0x0,_0xd1ad91[0x2]=_0xd1ad91[0x2]+_0x352153|0x0,_0xd1ad91[0x3]=_0xd1ad91[0x3]+_0x178585|0x0;},'_doFinalize':function(){var _0x10304a=_0x2bb08e,_0x3bd38c=this['_data'],_0x3e9378=_0x3bd38c[_0x10304a(0x27c)],_0xe9a83a=this[_0x10304a(0x351)]*0x8,_0x515bd6=_0x3bd38c[_0x10304a(0x3b5)]*0x8;_0x3e9378[_0x515bd6>>>0x5]|=0x80<<0x18-_0x515bd6%0x20;var _0x216507=_0x19b087[_0x10304a(0x180)](_0xe9a83a/0x100000000),_0x3564cd=_0xe9a83a;_0x3e9378[(_0x515bd6+0x40>>>0x9<<0x4)+0xf]=(_0x216507<<0x8|_0x216507>>>0x18)&0xff00ff|(_0x216507<<0x18|_0x216507>>>0x8)&0xff00ff00,_0x3e9378[(_0x515bd6+0x40>>>0x9<<0x4)+0xe]=(_0x3564cd<<0x8|_0x3564cd>>>0x18)&0xff00ff|(_0x3564cd<<0x18|_0x3564cd>>>0x8)&0xff00ff00,_0x3bd38c[_0x10304a(0x3b5)]=(_0x3e9378[_0x10304a(0x165)]+0x1)*0x4,this[_0x10304a(0xe7)]();for(var _0x20808a=this[_0x10304a(0x32e)],_0x70ff42=_0x20808a[_0x10304a(0x27c)],_0x3afe3c=0x0;_0x3afe3c<0x4;_0x3afe3c++){var _0x1b635e=_0x70ff42[_0x3afe3c];_0x70ff42[_0x3afe3c]=(_0x1b635e<<0x8|_0x1b635e>>>0x18)&0xff00ff|(_0x1b635e<<0x18|_0x1b635e>>>0x8)&0xff00ff00;}return _0x20808a;},'clone':function(){var _0x2e94ca=_0x2bb08e,_0x46dbcf=_0x2136ae['clone'][_0x2e94ca(0x238)](this);return _0x46dbcf[_0x2e94ca(0x32e)]=this[_0x2e94ca(0x32e)][_0x2e94ca(0x283)](),_0x46dbcf;}});function _0x4d8fd9(_0x1df127,_0x389995,_0x5e756f,_0xa2980b,_0x558ebb,_0x14e959,_0xa1600d){var _0xe8326c=_0x1df127+(_0x389995&_0x5e756f|~_0x389995&_0xa2980b)+_0x558ebb+_0xa1600d;return(_0xe8326c<<_0x14e959|_0xe8326c>>>0x20-_0x14e959)+_0x389995;}function _0x452f7d(_0x57a690,_0x5048cc,_0x279526,_0x4e3b8e,_0x4ba254,_0x2ea3d3,_0xc455b9){var _0x32cfd3=_0x57a690+(_0x5048cc&_0x4e3b8e|_0x279526&~_0x4e3b8e)+_0x4ba254+_0xc455b9;return(_0x32cfd3<<_0x2ea3d3|_0x32cfd3>>>0x20-_0x2ea3d3)+_0x5048cc;}function _0xf4ed8c(_0x310c7e,_0x50563d,_0x4bc5a1,_0x769b6e,_0x5b5124,_0x290eef,_0x202be7){var _0x3e2f0b=_0x310c7e+(_0x50563d^_0x4bc5a1^_0x769b6e)+_0x5b5124+_0x202be7;return(_0x3e2f0b<<_0x290eef|_0x3e2f0b>>>0x20-_0x290eef)+_0x50563d;}function _0xb81f16(_0xdeec3f,_0x1827e4,_0xf892ed,_0x5e7691,_0x5bbfd0,_0xdf1d01,_0x1eabaa){var _0x54afed=_0xdeec3f+(_0xf892ed^(_0x1827e4|~_0x5e7691))+_0x5bbfd0+_0x1eabaa;return(_0x54afed<<_0xdf1d01|_0x54afed>>>0x20-_0xdf1d01)+_0x1827e4;}_0x1c0066[_0x2bb08e(0x2f2)]=_0x2136ae['_createHelper'](_0x486ea),_0x1c0066[_0x2bb08e(0x406)]=_0x2136ae[_0x2bb08e(0x3a9)](_0x486ea);}(Math),_0x16f69f[_0x2d0693(0x2f2)];}));}(_0x61bb81)),_0x61bb81[_0x4ae225(0x39b)];}var _0x11d278={'exports':{}},_0x20e325={'exports':{}},_0x170a6b=_0x20e325[_0xa5a0c5(0x39b)],_0x2dc59b;function _0x46172e(){var _0x2b1ee0=_0xa5a0c5;return _0x2dc59b||(_0x2dc59b=0x1,function(_0x3e934b,_0x2fe416){(function(_0x79fe9f,_0x232b10){_0x3e934b['exports']=_0x232b10(_0x4f7a16());}(_0x170a6b,function(_0x16376e){var _0x261c7e=_0x2939;return(function(){var _0x3cc2c5=_0x2939,_0x128e9e=_0x16376e,_0x35913f=_0x128e9e[_0x3cc2c5(0x2ad)],_0x23efc3=_0x35913f[_0x3cc2c5(0x172)],_0x172707=_0x35913f[_0x3cc2c5(0x20c)],_0x3f1934=_0x128e9e['algo'],_0x124f73=[],_0x41979b=_0x3f1934[_0x3cc2c5(0x217)]=_0x172707[_0x3cc2c5(0x3ed)]({'_doReset':function(){var _0x2a506c=_0x3cc2c5;this['_hash']=new _0x23efc3[(_0x2a506c(0x33a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x35edb9,_0x4fc53c){var _0x265379=_0x3cc2c5;for(var _0x4bc514=this[_0x265379(0x32e)][_0x265379(0x27c)],_0x1bb462=_0x4bc514[0x0],_0xd7161=_0x4bc514[0x1],_0xc98b1d=_0x4bc514[0x2],_0x254cdf=_0x4bc514[0x3],_0x1c9d64=_0x4bc514[0x4],_0x3b0653=0x0;_0x3b0653<0x50;_0x3b0653++){if(_0x3b0653<0x10)_0x124f73[_0x3b0653]=_0x35edb9[_0x4fc53c+_0x3b0653]|0x0;else{var _0x31a46d=_0x124f73[_0x3b0653-0x3]^_0x124f73[_0x3b0653-0x8]^_0x124f73[_0x3b0653-0xe]^_0x124f73[_0x3b0653-0x10];_0x124f73[_0x3b0653]=_0x31a46d<<0x1|_0x31a46d>>>0x1f;}var _0x49c3ed=(_0x1bb462<<0x5|_0x1bb462>>>0x1b)+_0x1c9d64+_0x124f73[_0x3b0653];_0x3b0653<0x14?_0x49c3ed+=(_0xd7161&_0xc98b1d|~_0xd7161&_0x254cdf)+0x5a827999:_0x3b0653<0x28?_0x49c3ed+=(_0xd7161^_0xc98b1d^_0x254cdf)+0x6ed9eba1:_0x3b0653<0x3c?_0x49c3ed+=(_0xd7161&_0xc98b1d|_0xd7161&_0x254cdf|_0xc98b1d&_0x254cdf)-0x70e44324:_0x49c3ed+=(_0xd7161^_0xc98b1d^_0x254cdf)-0x359d3e2a,_0x1c9d64=_0x254cdf,_0x254cdf=_0xc98b1d,_0xc98b1d=_0xd7161<<0x1e|_0xd7161>>>0x2,_0xd7161=_0x1bb462,_0x1bb462=_0x49c3ed;}_0x4bc514[0x0]=_0x4bc514[0x0]+_0x1bb462|0x0,_0x4bc514[0x1]=_0x4bc514[0x1]+_0xd7161|0x0,_0x4bc514[0x2]=_0x4bc514[0x2]+_0xc98b1d|0x0,_0x4bc514[0x3]=_0x4bc514[0x3]+_0x254cdf|0x0,_0x4bc514[0x4]=_0x4bc514[0x4]+_0x1c9d64|0x0;},'_doFinalize':function(){var _0x305f59=_0x3cc2c5,_0x134fd7=this[_0x305f59(0x2ff)],_0x5e50f7=_0x134fd7[_0x305f59(0x27c)],_0x13ec07=this[_0x305f59(0x351)]*0x8,_0x47e40d=_0x134fd7[_0x305f59(0x3b5)]*0x8;return _0x5e50f7[_0x47e40d>>>0x5]|=0x80<<0x18-_0x47e40d%0x20,_0x5e50f7[(_0x47e40d+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x13ec07/0x100000000),_0x5e50f7[(_0x47e40d+0x40>>>0x9<<0x4)+0xf]=_0x13ec07,_0x134fd7[_0x305f59(0x3b5)]=_0x5e50f7['length']*0x4,this[_0x305f59(0xe7)](),this['_hash'];},'clone':function(){var _0x45f725=_0x3cc2c5,_0xdfe5da=_0x172707['clone'][_0x45f725(0x238)](this);return _0xdfe5da[_0x45f725(0x32e)]=this[_0x45f725(0x32e)][_0x45f725(0x283)](),_0xdfe5da;}});_0x128e9e[_0x3cc2c5(0x217)]=_0x172707[_0x3cc2c5(0x115)](_0x41979b),_0x128e9e[_0x3cc2c5(0x2be)]=_0x172707['_createHmacHelper'](_0x41979b);}()),_0x16376e[_0x261c7e(0x217)];}));}(_0x20e325)),_0x20e325[_0x2b1ee0(0x39b)];}var _0x4a5bc2={'exports':{}},_0x36fe63=_0x4a5bc2[_0xa5a0c5(0x39b)],_0x1c70a9;function _0x24a472(){return _0x1c70a9||(_0x1c70a9=0x1,function(_0x44ee36,_0x379ed6){(function(_0x502eec,_0x5c4eb1){var _0x407fc7=_0x2939;_0x44ee36[_0x407fc7(0x39b)]=_0x5c4eb1(_0x4f7a16());}(_0x36fe63,function(_0x3d1fc0){(function(){var _0x56687e=_0x2939,_0x4224af=_0x3d1fc0,_0x36732c=_0x4224af[_0x56687e(0x2ad)],_0x2fd0d3=_0x36732c[_0x56687e(0x261)],_0x3fbed3=_0x4224af[_0x56687e(0x2d1)],_0x5d553d=_0x3fbed3[_0x56687e(0x229)],_0x459e24=_0x4224af[_0x56687e(0x312)];_0x459e24['HMAC']=_0x2fd0d3[_0x56687e(0x3ed)]({'init':function(_0x463970,_0xf396ca){var _0x37a659=_0x56687e;_0x463970=this[_0x37a659(0x1ba)]=new _0x463970[(_0x37a659(0x33a))](),typeof _0xf396ca==_0x37a659(0x345)&&(_0xf396ca=_0x5d553d[_0x37a659(0x136)](_0xf396ca));var _0x1d7c9e=_0x463970['blockSize'],_0x18c40a=_0x1d7c9e*0x4;_0xf396ca[_0x37a659(0x3b5)]>_0x18c40a&&(_0xf396ca=_0x463970[_0x37a659(0x203)](_0xf396ca)),_0xf396ca[_0x37a659(0x403)]();for(var _0x488f55=this[_0x37a659(0x216)]=_0xf396ca['clone'](),_0x437b6c=this[_0x37a659(0x349)]=_0xf396ca[_0x37a659(0x283)](),_0x4dcd54=_0x488f55['words'],_0x21a51c=_0x437b6c[_0x37a659(0x27c)],_0x2cdf29=0x0;_0x2cdf29<_0x1d7c9e;_0x2cdf29++)_0x4dcd54[_0x2cdf29]^=0x5c5c5c5c,_0x21a51c[_0x2cdf29]^=0x36363636;_0x488f55[_0x37a659(0x3b5)]=_0x437b6c[_0x37a659(0x3b5)]=_0x18c40a,this['reset']();},'reset':function(){var _0x3c3a7c=_0x56687e,_0x20ba9e=this[_0x3c3a7c(0x1ba)];_0x20ba9e[_0x3c3a7c(0x168)](),_0x20ba9e['update'](this[_0x3c3a7c(0x349)]);},'update':function(_0x2eea97){var _0x6315b0=_0x56687e;return this[_0x6315b0(0x1ba)][_0x6315b0(0x298)](_0x2eea97),this;},'finalize':function(_0x103899){var _0x231751=_0x56687e,_0x1b869c=this[_0x231751(0x1ba)],_0x45a158=_0x1b869c[_0x231751(0x203)](_0x103899);_0x1b869c[_0x231751(0x168)]();var _0x4fe988=_0x1b869c[_0x231751(0x203)](this[_0x231751(0x216)][_0x231751(0x283)]()['concat'](_0x45a158));return _0x4fe988;}});}());}));}(_0x4a5bc2)),_0x4a5bc2['exports'];}var _0x501bc9=_0x11d278[_0xa5a0c5(0x39b)],_0x147cf9;function _0x58eaac(){return _0x147cf9||(_0x147cf9=0x1,function(_0x1a48b3,_0xfea44a){(function(_0x12daa3,_0x34a265,_0xfdc7f){var _0x2ad917=_0x2939;_0x1a48b3[_0x2ad917(0x39b)]=_0x34a265(_0x4f7a16(),_0x46172e(),_0x24a472());}(_0x501bc9,function(_0x2d4741){var _0x34c448=_0x2939;return(function(){var _0x4b5039=_0x2939,_0x10ef73=_0x2d4741,_0x14793c=_0x10ef73['lib'],_0x4c3b43=_0x14793c[_0x4b5039(0x261)],_0x29d939=_0x14793c[_0x4b5039(0x172)],_0x2a922c=_0x10ef73[_0x4b5039(0x312)],_0x31d059=_0x2a922c[_0x4b5039(0x2f2)],_0x4ee5c1=_0x2a922c[_0x4b5039(0x125)]=_0x4c3b43[_0x4b5039(0x3ed)]({'cfg':_0x4c3b43[_0x4b5039(0x3ed)]({'keySize':0x80/0x20,'hasher':_0x31d059,'iterations':0x1}),'init':function(_0x1c5450){var _0x56f493=_0x4b5039;this[_0x56f493(0x279)]=this[_0x56f493(0x279)][_0x56f493(0x3ed)](_0x1c5450);},'compute':function(_0x59ca18,_0xdd49b6){var _0x15232f=_0x4b5039;for(var _0x4e049e,_0x1ba9a4=this[_0x15232f(0x279)],_0x8ea3cc=_0x1ba9a4['hasher'][_0x15232f(0x12f)](),_0x4f301f=_0x29d939['create'](),_0x32a850=_0x4f301f[_0x15232f(0x27c)],_0x46be4f=_0x1ba9a4[_0x15232f(0x309)],_0x4648b4=_0x1ba9a4[_0x15232f(0xe4)];_0x32a850['length']<_0x46be4f;){_0x4e049e&&_0x8ea3cc[_0x15232f(0x298)](_0x4e049e),_0x4e049e=_0x8ea3cc[_0x15232f(0x298)](_0x59ca18)['finalize'](_0xdd49b6),_0x8ea3cc[_0x15232f(0x168)]();for(var _0x43ea84=0x1;_0x43ea84<_0x4648b4;_0x43ea84++)_0x4e049e=_0x8ea3cc[_0x15232f(0x203)](_0x4e049e),_0x8ea3cc['reset']();_0x4f301f[_0x15232f(0x265)](_0x4e049e);}return _0x4f301f['sigBytes']=_0x46be4f*0x4,_0x4f301f;}});_0x10ef73['EvpKDF']=function(_0x19f9c4,_0x46e71a,_0x30d0cb){var _0x110559=_0x4b5039;return _0x4ee5c1[_0x110559(0x12f)](_0x30d0cb)[_0x110559(0x274)](_0x19f9c4,_0x46e71a);};}()),_0x2d4741[_0x34c448(0x125)];}));}(_0x11d278)),_0x11d278['exports'];}var _0x477851={'exports':{}},_0x33164b=_0x477851[_0xa5a0c5(0x39b)],_0x4c2a8d;function _0x517188(){return _0x4c2a8d||(_0x4c2a8d=0x1,function(_0x5f3579,_0x508c35){(function(_0x1020f6,_0x1b5328,_0x59eed2){_0x5f3579['exports']=_0x1b5328(_0x4f7a16(),_0x58eaac());}(_0x33164b,function(_0x1c76d9){var _0x4e13eb=_0x2939;_0x1c76d9[_0x4e13eb(0x2ad)][_0x4e13eb(0x287)]||function(_0xd6760b){var _0x28d63c=_0x4e13eb,_0xddc9a4=_0x1c76d9,_0x10ff0b=_0xddc9a4['lib'],_0x45f689=_0x10ff0b['Base'],_0x2f7cb3=_0x10ff0b['WordArray'],_0x3e38da=_0x10ff0b[_0x28d63c(0x2a0)],_0xce7911=_0xddc9a4[_0x28d63c(0x2d1)];_0xce7911['Utf8'];var _0x10c7b7=_0xce7911[_0x28d63c(0xb7)],_0x1793b1=_0xddc9a4['algo'],_0x1b2cff=_0x1793b1[_0x28d63c(0x125)],_0x20ea58=_0x10ff0b[_0x28d63c(0x287)]=_0x3e38da[_0x28d63c(0x3ed)]({'cfg':_0x45f689[_0x28d63c(0x3ed)](),'createEncryptor':function(_0x23e60c,_0x446ae4){var _0x1048a9=_0x28d63c;return this[_0x1048a9(0x12f)](this[_0x1048a9(0x3ad)],_0x23e60c,_0x446ae4);},'createDecryptor':function(_0x2d8a19,_0x47f94e){var _0x2acdc4=_0x28d63c;return this[_0x2acdc4(0x12f)](this[_0x2acdc4(0x315)],_0x2d8a19,_0x47f94e);},'init':function(_0x1b464f,_0xa57bf3,_0x367824){var _0x2c6d5f=_0x28d63c;this[_0x2c6d5f(0x279)]=this[_0x2c6d5f(0x279)][_0x2c6d5f(0x3ed)](_0x367824),this[_0x2c6d5f(0x177)]=_0x1b464f,this[_0x2c6d5f(0x317)]=_0xa57bf3,this[_0x2c6d5f(0x168)]();},'reset':function(){var _0x2a8294=_0x28d63c;_0x3e38da[_0x2a8294(0x168)]['call'](this),this['_doReset']();},'process':function(_0x1fe82f){var _0x4cfa04=_0x28d63c;return this['_append'](_0x1fe82f),this[_0x4cfa04(0xe7)]();},'finalize':function(_0x2dde7f){var _0x3421dc=_0x28d63c;_0x2dde7f&&this[_0x3421dc(0x209)](_0x2dde7f);var _0x344c6c=this[_0x3421dc(0x1f1)]();return _0x344c6c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xd15c83(_0x50d23a){var _0x43ca8e=_0x2939;return typeof _0x50d23a==_0x43ca8e(0x345)?_0x525236:_0x8fdf25;}return function(_0x54d4e5){return{'encrypt':function(_0x1db8b5,_0x235c68,_0x499dfa){var _0x4ecc9f=_0x2939;return _0xd15c83(_0x235c68)[_0x4ecc9f(0x104)](_0x54d4e5,_0x1db8b5,_0x235c68,_0x499dfa);},'decrypt':function(_0x46fef5,_0x37bf94,_0x117bf7){return _0xd15c83(_0x37bf94)['decrypt'](_0x54d4e5,_0x46fef5,_0x37bf94,_0x117bf7);}};};}())});_0x10ff0b[_0x28d63c(0xac)]=_0x20ea58[_0x28d63c(0x3ed)]({'_doFinalize':function(){var _0x5a0f87=this['_process'](!0x0);return _0x5a0f87;},'blockSize':0x1});var _0xe9e345=_0xddc9a4['mode']={},_0x28b6a8=_0x10ff0b[_0x28d63c(0x350)]=_0x45f689['extend']({'createEncryptor':function(_0x4a8dc7,_0x2aa040){var _0x56fa85=_0x28d63c;return this[_0x56fa85(0x336)][_0x56fa85(0x12f)](_0x4a8dc7,_0x2aa040);},'createDecryptor':function(_0x5cd361,_0x2655cc){var _0x330b33=_0x28d63c;return this[_0x330b33(0x12c)][_0x330b33(0x12f)](_0x5cd361,_0x2655cc);},'init':function(_0x5ed27a,_0x5c3835){var _0x43dea8=_0x28d63c;this['_cipher']=_0x5ed27a,this[_0x43dea8(0x1b1)]=_0x5c3835;}}),_0xda6ce1=_0xe9e345[_0x28d63c(0x2b2)]=(function(){var _0x97ee6d=_0x28d63c,_0x79e02a=_0x28b6a8[_0x97ee6d(0x3ed)]();_0x79e02a[_0x97ee6d(0x336)]=_0x79e02a[_0x97ee6d(0x3ed)]({'processBlock':function(_0x4a89cb,_0x2ef1f8){var _0x5f1873=_0x97ee6d,_0x1ea514=this[_0x5f1873(0x2cd)],_0x4d391f=_0x1ea514[_0x5f1873(0x81)];_0x3ac555[_0x5f1873(0x238)](this,_0x4a89cb,_0x2ef1f8,_0x4d391f),_0x1ea514[_0x5f1873(0x268)](_0x4a89cb,_0x2ef1f8),this[_0x5f1873(0xea)]=_0x4a89cb[_0x5f1873(0x3af)](_0x2ef1f8,_0x2ef1f8+_0x4d391f);}}),_0x79e02a['Decryptor']=_0x79e02a['extend']({'processBlock':function(_0x5086f5,_0x47e7b6){var _0x45bf24=_0x97ee6d,_0x548a21=this[_0x45bf24(0x2cd)],_0x283fc1=_0x548a21['blockSize'],_0x3e7bcb=_0x5086f5['slice'](_0x47e7b6,_0x47e7b6+_0x283fc1);_0x548a21[_0x45bf24(0x25a)](_0x5086f5,_0x47e7b6),_0x3ac555['call'](this,_0x5086f5,_0x47e7b6,_0x283fc1),this[_0x45bf24(0xea)]=_0x3e7bcb;}});function _0x3ac555(_0x374c43,_0x39fe52,_0x331fdd){var _0x30aaf8=_0x97ee6d,_0x5460a1,_0x397b81=this[_0x30aaf8(0x1b1)];_0x397b81?(_0x5460a1=_0x397b81,this[_0x30aaf8(0x1b1)]=_0xd6760b):_0x5460a1=this['_prevBlock'];for(var _0x5760da=0x0;_0x5760da<_0x331fdd;_0x5760da++)_0x374c43[_0x39fe52+_0x5760da]^=_0x5460a1[_0x5760da];}return _0x79e02a;}()),_0x4d77ea=_0xddc9a4[_0x28d63c(0x3b8)]={},_0x53f299=_0x4d77ea['Pkcs7']={'pad':function(_0x185885,_0x2480fa){var _0x2645b0=_0x28d63c;for(var _0x28b17a=_0x2480fa*0x4,_0x34c4e6=_0x28b17a-_0x185885[_0x2645b0(0x3b5)]%_0x28b17a,_0xe5779d=_0x34c4e6<<0x18|_0x34c4e6<<0x10|_0x34c4e6<<0x8|_0x34c4e6,_0x5f254f=[],_0x5a03f9=0x0;_0x5a03f9<_0x34c4e6;_0x5a03f9+=0x4)_0x5f254f[_0x2645b0(0x31e)](_0xe5779d);var _0x313c71=_0x2f7cb3[_0x2645b0(0x12f)](_0x5f254f,_0x34c4e6);_0x185885[_0x2645b0(0x265)](_0x313c71);},'unpad':function(_0x31ccf8){var _0x466684=_0x28d63c,_0x3b34d5=_0x31ccf8['words'][_0x31ccf8[_0x466684(0x3b5)]-0x1>>>0x2]&0xff;_0x31ccf8[_0x466684(0x3b5)]-=_0x3b34d5;}};_0x10ff0b[_0x28d63c(0x129)]=_0x20ea58['extend']({'cfg':_0x20ea58[_0x28d63c(0x279)][_0x28d63c(0x3ed)]({'mode':_0xda6ce1,'padding':_0x53f299}),'reset':function(){var _0x27540a=_0x28d63c,_0xdb3d7e;_0x20ea58[_0x27540a(0x168)][_0x27540a(0x238)](this);var _0x1d2293=this[_0x27540a(0x279)],_0x256007=_0x1d2293['iv'],_0x579d68=_0x1d2293['mode'];this[_0x27540a(0x177)]==this[_0x27540a(0x3ad)]?_0xdb3d7e=_0x579d68[_0x27540a(0x1a5)]:(_0xdb3d7e=_0x579d68['createDecryptor'],this[_0x27540a(0x137)]=0x1),this[_0x27540a(0x346)]&&this[_0x27540a(0x346)][_0x27540a(0x1fd)]==_0xdb3d7e?this[_0x27540a(0x346)][_0x27540a(0x33a)](this,_0x256007&&_0x256007['words']):(this['_mode']=_0xdb3d7e['call'](_0x579d68,this,_0x256007&&_0x256007[_0x27540a(0x27c)]),this[_0x27540a(0x346)][_0x27540a(0x1fd)]=_0xdb3d7e);},'_doProcessBlock':function(_0x5dcb3d,_0x4e8e2a){var _0x29e38f=_0x28d63c;this[_0x29e38f(0x346)][_0x29e38f(0x381)](_0x5dcb3d,_0x4e8e2a);},'_doFinalize':function(){var _0x1c0995=_0x28d63c,_0x4701d9,_0x183358=this[_0x1c0995(0x279)]['padding'];return this[_0x1c0995(0x177)]==this[_0x1c0995(0x3ad)]?(_0x183358[_0x1c0995(0x3b8)](this[_0x1c0995(0x2ff)],this['blockSize']),_0x4701d9=this['_process'](!0x0)):(_0x4701d9=this['_process'](!0x0),_0x183358[_0x1c0995(0x19d)](_0x4701d9)),_0x4701d9;},'blockSize':0x80/0x20});var _0x15c415=_0x10ff0b[_0x28d63c(0x2de)]=_0x45f689['extend']({'init':function(_0xe5a5c6){var _0x133657=_0x28d63c;this[_0x133657(0x284)](_0xe5a5c6);},'toString':function(_0x50dd52){var _0x5e9570=_0x28d63c;return(_0x50dd52||this[_0x5e9570(0x2ab)])['stringify'](this);}}),_0x2d78c9=_0xddc9a4[_0x28d63c(0xbd)]={},_0x29cfa1=_0x2d78c9[_0x28d63c(0x31a)]={'stringify':function(_0xc0e332){var _0x329c53=_0x28d63c,_0x3af225,_0x1eafd2=_0xc0e332[_0x329c53(0x2d5)],_0x2e7287=_0xc0e332[_0x329c53(0x371)];return _0x2e7287?_0x3af225=_0x2f7cb3[_0x329c53(0x12f)]([0x53616c74,0x65645f5f])[_0x329c53(0x265)](_0x2e7287)[_0x329c53(0x265)](_0x1eafd2):_0x3af225=_0x1eafd2,_0x3af225['toString'](_0x10c7b7);},'parse':function(_0x404a4a){var _0x86ebde=_0x28d63c,_0x1952e9,_0x2df7fc=_0x10c7b7[_0x86ebde(0x136)](_0x404a4a),_0x1ff7f0=_0x2df7fc[_0x86ebde(0x27c)];return _0x1ff7f0[0x0]==0x53616c74&&_0x1ff7f0[0x1]==0x65645f5f&&(_0x1952e9=_0x2f7cb3['create'](_0x1ff7f0[_0x86ebde(0x3af)](0x2,0x4)),_0x1ff7f0[_0x86ebde(0x304)](0x0,0x4),_0x2df7fc[_0x86ebde(0x3b5)]-=0x10),_0x15c415['create']({'ciphertext':_0x2df7fc,'salt':_0x1952e9});}},_0x8fdf25=_0x10ff0b[_0x28d63c(0x363)]=_0x45f689[_0x28d63c(0x3ed)]({'cfg':_0x45f689['extend']({'format':_0x29cfa1}),'encrypt':function(_0x298eca,_0x14603b,_0x5bf9fc,_0x41c334){var _0x507d5f=_0x28d63c;_0x41c334=this[_0x507d5f(0x279)][_0x507d5f(0x3ed)](_0x41c334);var _0x3d71da=_0x298eca[_0x507d5f(0x1a5)](_0x5bf9fc,_0x41c334),_0x4b39a4=_0x3d71da[_0x507d5f(0x203)](_0x14603b),_0x555ff0=_0x3d71da[_0x507d5f(0x279)];return _0x15c415[_0x507d5f(0x12f)]({'ciphertext':_0x4b39a4,'key':_0x5bf9fc,'iv':_0x555ff0['iv'],'algorithm':_0x298eca,'mode':_0x555ff0['mode'],'padding':_0x555ff0[_0x507d5f(0x3df)],'blockSize':_0x298eca['blockSize'],'formatter':_0x41c334[_0x507d5f(0xbd)]});},'decrypt':function(_0x5ece9a,_0x18a3a7,_0x15fa2f,_0x26403f){var _0x309f51=_0x28d63c;_0x26403f=this['cfg'][_0x309f51(0x3ed)](_0x26403f),_0x18a3a7=this['_parse'](_0x18a3a7,_0x26403f[_0x309f51(0xbd)]);var _0x1886b2=_0x5ece9a['createDecryptor'](_0x15fa2f,_0x26403f)['finalize'](_0x18a3a7[_0x309f51(0x2d5)]);return _0x1886b2;},'_parse':function(_0x67919b,_0x42aefe){var _0x2136e8=_0x28d63c;return typeof _0x67919b==_0x2136e8(0x345)?_0x42aefe[_0x2136e8(0x136)](_0x67919b,this):_0x67919b;}}),_0x38f574=_0xddc9a4['kdf']={},_0x2dc2c9=_0x38f574[_0x28d63c(0x31a)]={'execute':function(_0x275861,_0x4ec81c,_0x455f0a,_0xd8d3ed,_0x4d5b95){var _0x1c4d8b=_0x28d63c;if(_0xd8d3ed||(_0xd8d3ed=_0x2f7cb3[_0x1c4d8b(0xa3)](0x40/0x8)),_0x4d5b95)var _0x29e7c0=_0x1b2cff[_0x1c4d8b(0x12f)]({'keySize':_0x4ec81c+_0x455f0a,'hasher':_0x4d5b95})[_0x1c4d8b(0x274)](_0x275861,_0xd8d3ed);else var _0x29e7c0=_0x1b2cff['create']({'keySize':_0x4ec81c+_0x455f0a})[_0x1c4d8b(0x274)](_0x275861,_0xd8d3ed);var _0x2a3add=_0x2f7cb3[_0x1c4d8b(0x12f)](_0x29e7c0[_0x1c4d8b(0x27c)]['slice'](_0x4ec81c),_0x455f0a*0x4);return _0x29e7c0[_0x1c4d8b(0x3b5)]=_0x4ec81c*0x4,_0x15c415[_0x1c4d8b(0x12f)]({'key':_0x29e7c0,'iv':_0x2a3add,'salt':_0xd8d3ed});}},_0x525236=_0x10ff0b[_0x28d63c(0x300)]=_0x8fdf25[_0x28d63c(0x3ed)]({'cfg':_0x8fdf25['cfg'][_0x28d63c(0x3ed)]({'kdf':_0x2dc2c9}),'encrypt':function(_0x28e21f,_0x4ed5e4,_0x432414,_0x2f0ec3){var _0x46aa58=_0x28d63c;_0x2f0ec3=this[_0x46aa58(0x279)][_0x46aa58(0x3ed)](_0x2f0ec3);var _0x80b701=_0x2f0ec3['kdf'][_0x46aa58(0x392)](_0x432414,_0x28e21f[_0x46aa58(0x309)],_0x28e21f[_0x46aa58(0x1b3)],_0x2f0ec3[_0x46aa58(0x371)],_0x2f0ec3[_0x46aa58(0x11f)]);_0x2f0ec3['iv']=_0x80b701['iv'];var _0x2f6ae7=_0x8fdf25[_0x46aa58(0x104)]['call'](this,_0x28e21f,_0x4ed5e4,_0x80b701[_0x46aa58(0x33f)],_0x2f0ec3);return _0x2f6ae7[_0x46aa58(0x284)](_0x80b701),_0x2f6ae7;},'decrypt':function(_0x2dd898,_0x3fc02c,_0x4848ed,_0x21e695){var _0x36e770=_0x28d63c;_0x21e695=this[_0x36e770(0x279)][_0x36e770(0x3ed)](_0x21e695),_0x3fc02c=this['_parse'](_0x3fc02c,_0x21e695[_0x36e770(0xbd)]);var _0x114b60=_0x21e695['kdf']['execute'](_0x4848ed,_0x2dd898['keySize'],_0x2dd898['ivSize'],_0x3fc02c[_0x36e770(0x371)],_0x21e695[_0x36e770(0x11f)]);_0x21e695['iv']=_0x114b60['iv'];var _0xc7c367=_0x8fdf25['decrypt']['call'](this,_0x2dd898,_0x3fc02c,_0x114b60['key'],_0x21e695);return _0xc7c367;}});}();}));}(_0x477851)),_0x477851['exports'];}var _0x412894=_0x54efb2['exports'],_0x22ebcb;function _0x598d91(){var _0xd361af=_0xa5a0c5;return _0x22ebcb||(_0x22ebcb=0x1,function(_0x4f6edc,_0x3d5680){(function(_0x297d23,_0x4c32fb,_0x426187){var _0x82b010=_0x2939;_0x4f6edc[_0x82b010(0x39b)]=_0x4c32fb(_0x4f7a16(),_0xf5b800(),_0x1ba603(),_0x58eaac(),_0x517188());}(_0x412894,function(_0x503dc5){var _0x2845bb=_0x2939;return(function(){var _0x230710=_0x2939,_0x502ac3=_0x503dc5,_0xab0105=_0x502ac3[_0x230710(0x2ad)],_0x4a1335=_0xab0105[_0x230710(0x129)],_0x33b3be=_0x502ac3['algo'],_0x47a8b6=[],_0x812161=[],_0x1221f6=[],_0x3efe0a=[],_0x17aa46=[],_0x39b227=[],_0x20b2bc=[],_0x35a312=[],_0x79a900=[],_0xd48a73=[];(function(){for(var _0x153d01=[],_0x5a2048=0x0;_0x5a2048<0x100;_0x5a2048++)_0x5a2048<0x80?_0x153d01[_0x5a2048]=_0x5a2048<<0x1:_0x153d01[_0x5a2048]=_0x5a2048<<0x1^0x11b;for(var _0x5ca9f0=0x0,_0x1499f9=0x0,_0x5a2048=0x0;_0x5a2048<0x100;_0x5a2048++){var _0x3a1043=_0x1499f9^_0x1499f9<<0x1^_0x1499f9<<0x2^_0x1499f9<<0x3^_0x1499f9<<0x4;_0x3a1043=_0x3a1043>>>0x8^_0x3a1043&0xff^0x63,_0x47a8b6[_0x5ca9f0]=_0x3a1043,_0x812161[_0x3a1043]=_0x5ca9f0;var _0x4d6add=_0x153d01[_0x5ca9f0],_0x28e888=_0x153d01[_0x4d6add],_0x3a3ba8=_0x153d01[_0x28e888],_0x10785d=_0x153d01[_0x3a1043]*0x101^_0x3a1043*0x1010100;_0x1221f6[_0x5ca9f0]=_0x10785d<<0x18|_0x10785d>>>0x8,_0x3efe0a[_0x5ca9f0]=_0x10785d<<0x10|_0x10785d>>>0x10,_0x17aa46[_0x5ca9f0]=_0x10785d<<0x8|_0x10785d>>>0x18,_0x39b227[_0x5ca9f0]=_0x10785d;var _0x10785d=_0x3a3ba8*0x1010101^_0x28e888*0x10001^_0x4d6add*0x101^_0x5ca9f0*0x1010100;_0x20b2bc[_0x3a1043]=_0x10785d<<0x18|_0x10785d>>>0x8,_0x35a312[_0x3a1043]=_0x10785d<<0x10|_0x10785d>>>0x10,_0x79a900[_0x3a1043]=_0x10785d<<0x8|_0x10785d>>>0x18,_0xd48a73[_0x3a1043]=_0x10785d,_0x5ca9f0?(_0x5ca9f0=_0x4d6add^_0x153d01[_0x153d01[_0x153d01[_0x3a3ba8^_0x4d6add]]],_0x1499f9^=_0x153d01[_0x153d01[_0x1499f9]]):_0x5ca9f0=_0x1499f9=0x1;}}());var _0x4b8ad6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x493fb5=_0x33b3be[_0x230710(0xc8)]=_0x4a1335[_0x230710(0x3ed)]({'_doReset':function(){var _0x1297e1=_0x230710,_0x1a1ae9;if(!(this[_0x1297e1(0x141)]&&this['_keyPriorReset']===this[_0x1297e1(0x317)])){for(var _0x5cff93=this[_0x1297e1(0x240)]=this[_0x1297e1(0x317)],_0x586a77=_0x5cff93[_0x1297e1(0x27c)],_0x56c370=_0x5cff93[_0x1297e1(0x3b5)]/0x4,_0x2683f3=this[_0x1297e1(0x141)]=_0x56c370+0x6,_0x1f0957=(_0x2683f3+0x1)*0x4,_0x3b8b3c=this[_0x1297e1(0x3eb)]=[],_0x1e3a10=0x0;_0x1e3a10<_0x1f0957;_0x1e3a10++)_0x1e3a10<_0x56c370?_0x3b8b3c[_0x1e3a10]=_0x586a77[_0x1e3a10]:(_0x1a1ae9=_0x3b8b3c[_0x1e3a10-0x1],_0x1e3a10%_0x56c370?_0x56c370>0x6&&_0x1e3a10%_0x56c370==0x4&&(_0x1a1ae9=_0x47a8b6[_0x1a1ae9>>>0x18]<<0x18|_0x47a8b6[_0x1a1ae9>>>0x10&0xff]<<0x10|_0x47a8b6[_0x1a1ae9>>>0x8&0xff]<<0x8|_0x47a8b6[_0x1a1ae9&0xff]):(_0x1a1ae9=_0x1a1ae9<<0x8|_0x1a1ae9>>>0x18,_0x1a1ae9=_0x47a8b6[_0x1a1ae9>>>0x18]<<0x18|_0x47a8b6[_0x1a1ae9>>>0x10&0xff]<<0x10|_0x47a8b6[_0x1a1ae9>>>0x8&0xff]<<0x8|_0x47a8b6[_0x1a1ae9&0xff],_0x1a1ae9^=_0x4b8ad6[_0x1e3a10/_0x56c370|0x0]<<0x18),_0x3b8b3c[_0x1e3a10]=_0x3b8b3c[_0x1e3a10-_0x56c370]^_0x1a1ae9);for(var _0x2aa724=this['_invKeySchedule']=[],_0xbda107=0x0;_0xbda107<_0x1f0957;_0xbda107++){var _0x1e3a10=_0x1f0957-_0xbda107;if(_0xbda107%0x4)var _0x1a1ae9=_0x3b8b3c[_0x1e3a10];else var _0x1a1ae9=_0x3b8b3c[_0x1e3a10-0x4];_0xbda107<0x4||_0x1e3a10<=0x4?_0x2aa724[_0xbda107]=_0x1a1ae9:_0x2aa724[_0xbda107]=_0x20b2bc[_0x47a8b6[_0x1a1ae9>>>0x18]]^_0x35a312[_0x47a8b6[_0x1a1ae9>>>0x10&0xff]]^_0x79a900[_0x47a8b6[_0x1a1ae9>>>0x8&0xff]]^_0xd48a73[_0x47a8b6[_0x1a1ae9&0xff]];}}},'encryptBlock':function(_0x4e25cc,_0x4b353f){var _0x96214d=_0x230710;this['_doCryptBlock'](_0x4e25cc,_0x4b353f,this[_0x96214d(0x3eb)],_0x1221f6,_0x3efe0a,_0x17aa46,_0x39b227,_0x47a8b6);},'decryptBlock':function(_0x53a145,_0xf7b564){var _0x1f1085=_0x230710,_0x1d8d9b=_0x53a145[_0xf7b564+0x1];_0x53a145[_0xf7b564+0x1]=_0x53a145[_0xf7b564+0x3],_0x53a145[_0xf7b564+0x3]=_0x1d8d9b,this[_0x1f1085(0x9a)](_0x53a145,_0xf7b564,this[_0x1f1085(0x2f8)],_0x20b2bc,_0x35a312,_0x79a900,_0xd48a73,_0x812161);var _0x1d8d9b=_0x53a145[_0xf7b564+0x1];_0x53a145[_0xf7b564+0x1]=_0x53a145[_0xf7b564+0x3],_0x53a145[_0xf7b564+0x3]=_0x1d8d9b;},'_doCryptBlock':function(_0xc707b3,_0x45be50,_0x5da33b,_0x51ae3a,_0x265772,_0x48877b,_0x15b9d4,_0x5055e6){var _0x1249b0=_0x230710;for(var _0x14d872=this[_0x1249b0(0x141)],_0x3145a5=_0xc707b3[_0x45be50]^_0x5da33b[0x0],_0x1eed71=_0xc707b3[_0x45be50+0x1]^_0x5da33b[0x1],_0x1401fe=_0xc707b3[_0x45be50+0x2]^_0x5da33b[0x2],_0x469583=_0xc707b3[_0x45be50+0x3]^_0x5da33b[0x3],_0x555239=0x4,_0x3473aa=0x1;_0x3473aa<_0x14d872;_0x3473aa++){var _0x526c01=_0x51ae3a[_0x3145a5>>>0x18]^_0x265772[_0x1eed71>>>0x10&0xff]^_0x48877b[_0x1401fe>>>0x8&0xff]^_0x15b9d4[_0x469583&0xff]^_0x5da33b[_0x555239++],_0xa5c60b=_0x51ae3a[_0x1eed71>>>0x18]^_0x265772[_0x1401fe>>>0x10&0xff]^_0x48877b[_0x469583>>>0x8&0xff]^_0x15b9d4[_0x3145a5&0xff]^_0x5da33b[_0x555239++],_0x3d8310=_0x51ae3a[_0x1401fe>>>0x18]^_0x265772[_0x469583>>>0x10&0xff]^_0x48877b[_0x3145a5>>>0x8&0xff]^_0x15b9d4[_0x1eed71&0xff]^_0x5da33b[_0x555239++],_0x189689=_0x51ae3a[_0x469583>>>0x18]^_0x265772[_0x3145a5>>>0x10&0xff]^_0x48877b[_0x1eed71>>>0x8&0xff]^_0x15b9d4[_0x1401fe&0xff]^_0x5da33b[_0x555239++];_0x3145a5=_0x526c01,_0x1eed71=_0xa5c60b,_0x1401fe=_0x3d8310,_0x469583=_0x189689;}var _0x526c01=(_0x5055e6[_0x3145a5>>>0x18]<<0x18|_0x5055e6[_0x1eed71>>>0x10&0xff]<<0x10|_0x5055e6[_0x1401fe>>>0x8&0xff]<<0x8|_0x5055e6[_0x469583&0xff])^_0x5da33b[_0x555239++],_0xa5c60b=(_0x5055e6[_0x1eed71>>>0x18]<<0x18|_0x5055e6[_0x1401fe>>>0x10&0xff]<<0x10|_0x5055e6[_0x469583>>>0x8&0xff]<<0x8|_0x5055e6[_0x3145a5&0xff])^_0x5da33b[_0x555239++],_0x3d8310=(_0x5055e6[_0x1401fe>>>0x18]<<0x18|_0x5055e6[_0x469583>>>0x10&0xff]<<0x10|_0x5055e6[_0x3145a5>>>0x8&0xff]<<0x8|_0x5055e6[_0x1eed71&0xff])^_0x5da33b[_0x555239++],_0x189689=(_0x5055e6[_0x469583>>>0x18]<<0x18|_0x5055e6[_0x3145a5>>>0x10&0xff]<<0x10|_0x5055e6[_0x1eed71>>>0x8&0xff]<<0x8|_0x5055e6[_0x1401fe&0xff])^_0x5da33b[_0x555239++];_0xc707b3[_0x45be50]=_0x526c01,_0xc707b3[_0x45be50+0x1]=_0xa5c60b,_0xc707b3[_0x45be50+0x2]=_0x3d8310,_0xc707b3[_0x45be50+0x3]=_0x189689;},'keySize':0x100/0x20});_0x502ac3['AES']=_0x4a1335[_0x230710(0x115)](_0x493fb5);}()),_0x503dc5[_0x2845bb(0xc8)];}));}(_0x54efb2)),_0x54efb2[_0xd361af(0x39b)];}var _0x11d4ed=_0x598d91();const _0x270229=_0xa5f53d(_0x11d4ed);var _0x3e56a5=_0xf5b800();const _0x2ef62a=_0xa5f53d(_0x3e56a5);var _0x347ee6={'exports':{}},_0xd8c6fd=_0x347ee6[_0xa5a0c5(0x39b)],_0x1709ee;function _0x36bd57(){var _0x4ada3c=_0xa5a0c5;return _0x1709ee||(_0x1709ee=0x1,function(_0x55e979,_0x335233){(function(_0x4f5a1f,_0xc691d9){var _0x1f8001=_0x2939;_0x55e979[_0x1f8001(0x39b)]=_0xc691d9(_0x4f7a16());}(_0xd8c6fd,function(_0x17f1be){var _0x1c4a0f=_0x2939;return _0x17f1be[_0x1c4a0f(0x2d1)][_0x1c4a0f(0x229)];}));}(_0x347ee6)),_0x347ee6[_0x4ada3c(0x39b)];}var _0xfc2aaa=_0x36bd57();const _0x57e0fa=_0xa5f53d(_0xfc2aaa);var _0x9de29={'exports':{}},_0xd6c89=_0x9de29['exports'],_0x417602;function _0x3a99ac(){var _0x335cfc=_0xa5a0c5;return _0x417602||(_0x417602=0x1,function(_0x27e629,_0x2db2c4){(function(_0x25e531,_0x252703){var _0x2d924b=_0x2939;_0x27e629[_0x2d924b(0x39b)]=_0x252703(_0x4f7a16());}(_0xd6c89,function(_0x29b269){var _0x552385=_0x2939;return(function(){var _0x3cfe50=_0x2939;if(typeof ArrayBuffer==_0x3cfe50(0x1bb)){var _0x298587=_0x29b269,_0x37e728=_0x298587[_0x3cfe50(0x2ad)],_0x2ed0fc=_0x37e728[_0x3cfe50(0x172)],_0x17add3=_0x2ed0fc[_0x3cfe50(0x33a)],_0x2a0eb0=_0x2ed0fc['init']=function(_0x2b2437){var _0x2438a6=_0x3cfe50;if(_0x2b2437 instanceof ArrayBuffer&&(_0x2b2437=new Uint8Array(_0x2b2437)),(_0x2b2437 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2b2437 instanceof Uint8ClampedArray||_0x2b2437 instanceof Int16Array||_0x2b2437 instanceof Uint16Array||_0x2b2437 instanceof Int32Array||_0x2b2437 instanceof Uint32Array||_0x2b2437 instanceof Float32Array||_0x2b2437 instanceof Float64Array)&&(_0x2b2437=new Uint8Array(_0x2b2437[_0x2438a6(0x278)],_0x2b2437['byteOffset'],_0x2b2437['byteLength'])),_0x2b2437 instanceof Uint8Array){for(var _0x1d8801=_0x2b2437[_0x2438a6(0x3f4)],_0x11c5d1=[],_0x247f54=0x0;_0x247f54<_0x1d8801;_0x247f54++)_0x11c5d1[_0x247f54>>>0x2]|=_0x2b2437[_0x247f54]<<0x18-_0x247f54%0x4*0x8;_0x17add3[_0x2438a6(0x238)](this,_0x11c5d1,_0x1d8801);}else _0x17add3['apply'](this,arguments);};_0x2a0eb0['prototype']=_0x2ed0fc;}}()),_0x29b269['lib'][_0x552385(0x172)];}));}(_0x9de29)),_0x9de29[_0x335cfc(0x39b)];}var _0x48ed90=_0x3a99ac();const _0x4d7bea=_0xa5f53d(_0x48ed90);var _0x3d5007={'exports':{}},_0x40be45=_0x3d5007[_0xa5a0c5(0x39b)],_0x5304c;function _0x148415(){var _0x161a5e=_0xa5a0c5;return _0x5304c||(_0x5304c=0x1,function(_0xdca021,_0x31b4af){(function(_0x5c6ddd,_0x4df6bd,_0x2a4127){var _0x1e0937=_0x2939;_0xdca021[_0x1e0937(0x39b)]=_0x4df6bd(_0x4f7a16(),_0x517188());}(_0x40be45,function(_0x2ffb5a){var _0x4da14a=_0x2939;return _0x2ffb5a[_0x4da14a(0x3b8)][_0x4da14a(0x213)]={'pad':function(){},'unpad':function(){}},_0x2ffb5a[_0x4da14a(0x3b8)]['NoPadding'];}));}(_0x3d5007)),_0x3d5007[_0x161a5e(0x39b)];}var _0x3413df=_0x148415();const _0xa0df2b=_0xa5f53d(_0x3413df);function _0x55821a(_0x451cdc,_0xd4478c){var _0x1159ba=_0xa5a0c5;const _0x56a3bb=_0xd4478c-_0x451cdc[_0x1159ba(0x165)]%_0xd4478c,_0x39044c=String['fromCharCode'](_0x56a3bb)[_0x1159ba(0x2ed)](_0x56a3bb);return _0x451cdc+_0x39044c;}function _0x3a76fc(_0x1508b6,_0x3948a2){var _0x4d833c=_0xa5a0c5;const _0x29b2e3=_0x4d7bea[_0x4d833c(0xa3)](0x10),_0x4676a3=_0x55821a(_0x1508b6,0x10),_0x3262b0=_0x270229[_0x4d833c(0x104)](_0x57e0fa[_0x4d833c(0x136)](_0x4676a3),_0x2ef62a[_0x4d833c(0x136)](_0x3948a2),{'iv':_0x29b2e3,'padding':_0xa0df2b});return _0x29b2e3[_0x4d833c(0x265)](_0x3262b0[_0x4d833c(0x2d5)])[_0x4d833c(0x2c5)](_0x2ef62a);}function _0x2bceb3(){var _0x7ba876=_0xa5a0c5;const _0x59ac03=_0x3d5066[_0x7ba876(0x339)]()[_0x7ba876(0xd8)];if(_0x59ac03){const _0x3d4fbf={'time':Math[_0x7ba876(0x180)](Date[_0x7ba876(0x251)]()/0x3e8),'domain':location['hostname']};return _0x3a76fc(JSON[_0x7ba876(0x36b)](_0x3d4fbf),_0x59ac03);}}var _0x3aa5ec=Object['getOwnPropertyDescriptor'],_0x719a2d=(_0x56c63f,_0x30d5b8,_0x39c40c,_0x2abd25)=>{var _0x18625c=_0xa5a0c5;for(var _0x3b5840=_0x2abd25>0x1?void 0x0:_0x2abd25?_0x3aa5ec(_0x30d5b8,_0x39c40c):_0x30d5b8,_0x3dc1c9=_0x56c63f[_0x18625c(0x165)]-0x1,_0x492e0e;_0x3dc1c9>=0x0;_0x3dc1c9--)(_0x492e0e=_0x56c63f[_0x3dc1c9])&&(_0x3b5840=_0x492e0e(_0x3b5840)||_0x3b5840);return _0x3b5840;},_0x27c563=(_0x26f8ba,_0x42f03d)=>(_0x2eab4f,_0x5dbc7c)=>_0x42f03d(_0x2eab4f,_0x5dbc7c,_0x26f8ba);let _0xeb99a3=class{constructor(_0x2cce35){var _0xf81865=_0xa5a0c5;this[_0xf81865(0x1dd)]=_0x2cce35,this[_0xf81865(0x24d)]();}[_0xa5a0c5(0x24d)](){var _0x370c51=_0xa5a0c5;this[_0x370c51(0x1dd)]['registerHTTPInterceptor']({'interceptor':(_0x17f1bb,_0x401c5e)=>{var _0x51231=_0x370c51;const _0x45b1fd=_0x17f1bb[_0x51231(0x3db)],_0x44215=_0x2bceb3();return _0x44215&&_0x45b1fd['set']('x-univer-host',_0x44215),_0x401c5e(_0x17f1bb);}});}};_0xeb99a3=_0x719a2d([_0x27c563(0x0,_0x55777a[_0xa5a0c5(0x239)](_0x264129[_0xa5a0c5(0x3e0)]))],_0xeb99a3);var _0x2229bb=Object[_0xa5a0c5(0x3d0)],_0x1940a7=(_0x193639,_0x2cd106,_0x40f666,_0xb03f37)=>{var _0x46650a=_0xa5a0c5;for(var _0x30d93b=_0xb03f37>0x1?void 0x0:_0xb03f37?_0x2229bb(_0x2cd106,_0x40f666):_0x2cd106,_0x3fddd1=_0x193639[_0x46650a(0x165)]-0x1,_0xb58f6;_0x3fddd1>=0x0;_0x3fddd1--)(_0xb58f6=_0x193639[_0x3fddd1])&&(_0x30d93b=_0xb58f6(_0x30d93b)||_0x30d93b);return _0x30d93b;},_0x1adaa6=(_0x41b520,_0x1f7866)=>(_0x1a60a2,_0x4b53f8)=>_0x1f7866(_0x1a60a2,_0x4b53f8,_0x41b520);_0x1ee398[_0xa5a0c5(0x11b)]=class extends _0x55777a[_0xa5a0c5(0x402)]{constructor(_0x5e05c3,_0x5f5808,_0x4d3950){var _0x6ae206=_0xa5a0c5;super(),_0x27fcc5(this,_0x6ae206(0x34b),new _0x307531[(_0x6ae206(0x161))](null)),_0x27fcc5(this,_0x6ae206(0x109),this['_unitInfo$'][_0x6ae206(0xcd)]()),(this[_0x6ae206(0x33d)]=_0x5e05c3,this[_0x6ae206(0x2d6)]=_0x5f5808,this['_localCacheService']=_0x4d3950);}async[_0xa5a0c5(0x2ea)](_0x2e125b,_0x2b5de2,_0x418389){var _0x2481a6=_0xa5a0c5;this[_0x2481a6(0x34b)][_0x2481a6(0x388)]({'unitId':_0x2e125b,'type':_0x2b5de2,'subUnitId':_0x418389});let _0x11c756=null;switch(_0x2b5de2){case _0x14ec27[_0x2481a6(0x2e7)]:{_0x11c756=await this[_0x2481a6(0x2c6)](_0x2e125b);break;}case _0x14ec27[_0x2481a6(0x226)]:{_0x11c756=await this[_0x2481a6(0x152)](_0x2e125b);break;}default:{this[_0x2481a6(0x33d)][_0x2481a6(0xe9)](_0x2481a6(0xfc),_0x2481a6(0x133));break;}}return _0x11c756;}async[_0xa5a0c5(0x2c6)](_0x3136c3){var _0x4efd14=_0xa5a0c5,_0x5295b9;let _0x32cf6c=0x0;const _0x26401c=await((_0x5295b9=this['_localCacheService'])==null?void 0x0:_0x5295b9[_0x4efd14(0x3bc)](_0x3136c3));return _0x26401c&&(_0x26401c[_0x4efd14(0x8a)]||_0x26401c['mutations'][_0x4efd14(0x165)]!==0x0)&&(_0x32cf6c=_0x26401c[_0x4efd14(0xdf)]),_0x32cf6c===0x0&&this[_0x4efd14(0x33d)]['debug'](_0x4efd14(0xfc),_0x4efd14(0xc3)),this['_snapshotService']['loadSheet'](_0x3136c3,_0x32cf6c);}async[_0xa5a0c5(0x152)](_0x5b2527){var _0x21305d=_0xa5a0c5,_0x390f54;let _0x398792=0x0;const _0xdc9a0a=await((_0x390f54=this['_localCacheService'])==null?void 0x0:_0x390f54['loadOfflineData'](_0x5b2527));return _0xdc9a0a&&(_0xdc9a0a[_0x21305d(0x8a)]||_0xdc9a0a[_0x21305d(0x1db)]['length']!==0x0)&&(_0x398792=_0xdc9a0a['rev']),_0x398792===0x0&&this[_0x21305d(0x33d)][_0x21305d(0x3f3)](_0x21305d(0xfc),_0x21305d(0xc3)),this[_0x21305d(0x2d6)]['loadDoc'](_0x5b2527,_0x398792);}},_0x1ee398[_0xa5a0c5(0x11b)]=_0x1940a7([_0x1adaa6(0x0,_0x55777a[_0xa5a0c5(0x1d9)]),_0x1adaa6(0x1,_0x55777a[_0xa5a0c5(0x239)](_0x283aa4[_0xa5a0c5(0x323)])),_0x1adaa6(0x2,_0x55777a[_0xa5a0c5(0xd0)](_0x5a7cb1))],_0x1ee398[_0xa5a0c5(0x11b)]);var _0x427885=Object[_0xa5a0c5(0x3d0)],_0x5662b9=(_0x267b79,_0x387f26,_0x360e0b,_0xeb5e0f)=>{var _0x58c98a=_0xa5a0c5;for(var _0x3eebc4=_0xeb5e0f>0x1?void 0x0:_0xeb5e0f?_0x427885(_0x387f26,_0x360e0b):_0x387f26,_0xf1495a=_0x267b79[_0x58c98a(0x165)]-0x1,_0x5725a5;_0xf1495a>=0x0;_0xf1495a--)(_0x5725a5=_0x267b79[_0xf1495a])&&(_0x3eebc4=_0x5725a5(_0x3eebc4)||_0x3eebc4);return _0x3eebc4;},_0xaec504=(_0x7ad5ba,_0x2958e6)=>(_0x38a2bc,_0x5c03ae)=>_0x2958e6(_0x38a2bc,_0x5c03ae,_0x7ad5ba);const _0x797d64=[_0xa5a0c5(0x17c),_0xa5a0c5(0x221),_0xa5a0c5(0x1f4),_0xa5a0c5(0x273),_0xa5a0c5(0xa9)],_0x4b00ea=0x5*0x400*0x400,_0x1e1835='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x21995=_0xa5a0c5(0x2b6),_0x2a1738=_0xa5a0c5(0x16c),_0x2a3712=_0xa5a0c5(0x2ef);_0x1ee398[_0xa5a0c5(0x234)]=class{constructor(_0x534ded,_0x481132,_0x433b6f){var _0x203708=_0xa5a0c5;_0x27fcc5(this,_0x203708(0x24b),0x0),_0x27fcc5(this,_0x203708(0x134),new _0x307531[(_0x203708(0x410))]()),_0x27fcc5(this,_0x203708(0x2e3),this[_0x203708(0x134)]),_0x27fcc5(this,_0x203708(0x204),new Map()),(this[_0x203708(0x1dd)]=_0x534ded,this[_0x203708(0x2e4)]=_0x481132,this[_0x203708(0x3c2)]=_0x433b6f);}[_0xa5a0c5(0x252)](_0x3a5044){var _0x475aba=_0xa5a0c5;this['_waitCount']=_0x3a5044,this[_0x475aba(0x134)][_0x475aba(0x388)](_0x3a5044);}['getImageSourceCache'](_0x3dd8b0,_0x5d2bf5){var _0x37ee05=_0xa5a0c5;if(_0x5d2bf5===_0x2764ae['ImageSourceType'][_0x37ee05(0x16e)]){const _0x504b92=new Image();return _0x504b92[_0x37ee05(0x1f6)]=_0x3dd8b0,_0x504b92;}return this[_0x37ee05(0x204)][_0x37ee05(0x223)](_0x3dd8b0);}['addImageSourceCache'](_0x280ee9,_0x222ccd,_0x232955){var _0x38ae1f=_0xa5a0c5;_0x222ccd===_0x2764ae[_0x38ae1f(0x390)][_0x38ae1f(0x16e)]||_0x232955==null||this[_0x38ae1f(0x204)][_0x38ae1f(0x231)](_0x280ee9,_0x232955);}async['getImage'](_0x40bdcf){var _0x285305=_0xa5a0c5;try{const _0x9adf14=this[_0x285305(0xc6)](this[_0x285305(0x1d3)](),''+_0x40bdcf),_0x15fee8=(await this[_0x285305(0x1dd)][_0x285305(0x223)](_0x9adf14))[_0x285305(0x305)];if(_0x15fee8[_0x285305(0xe9)]&&_0x15fee8['error'][_0x285305(0xf2)]===_0x58e51e['OK']){const _0x57ff7d=new URL(_0x15fee8[_0x285305(0x3cd)],this['_getDownloadEndpointURL']())[_0x285305(0x2c5)]();return Promise['resolve'](_0x57ff7d);}return Promise[_0x285305(0x3c7)](_0x15fee8[_0x285305(0xe9)]);}catch(_0x270051){return Promise[_0x285305(0x3c7)](_0x270051);}}async[_0xa5a0c5(0x1ef)](_0x27bcbb){var _0x2d86b4=_0xa5a0c5;let _0x32a5ca='';if(!_0x797d64['includes'](_0x27bcbb[_0x2d86b4(0x3b7)]))return this[_0x2d86b4(0xf8)](),Promise[_0x2d86b4(0x3c7)](new Error(_0x2764ae[_0x2d86b4(0x1e9)]['ERROR_IMAGE_TYPE']));if(_0x27bcbb[_0x2d86b4(0x375)]>_0x4b00ea)return this[_0x2d86b4(0xf8)](),Promise[_0x2d86b4(0x3c7)](new Error(_0x2764ae[_0x2d86b4(0x1e9)]['ERROR_EXCEED_SIZE']));try{const _0x429d37=new FormData();_0x429d37[_0x2d86b4(0x197)](_0x2d86b4(0x3b1),_0x27bcbb);const _0x1567ae=this[_0x2d86b4(0x3c2)]['getFocusedUnit'](),_0x3bad8a=_0x1567ae==null?void 0x0:_0x1567ae[_0x2d86b4(0x28c)]();if(!_0x3bad8a)throw new Error(_0x2d86b4(0x2cf));const _0x18f746=this[_0x2d86b4(0x3de)]()+_0x2d86b4(0x3ae)+_0x27bcbb[_0x2d86b4(0x375)][_0x2d86b4(0x2c5)]()+'&source='+_0x3666a8[_0x2d86b4(0x12d)]+_0x2d86b4(0x2b8)+encodeURIComponent(_0x3bad8a),_0x211135=await(await fetch(_0x18f746,{'method':_0x2d86b4(0xba),'body':_0x429d37}))[_0x2d86b4(0x2b9)]();if(typeof _0x211135[_0x2d86b4(0x2b4)]!=_0x2d86b4(0x345))return this[_0x2d86b4(0xf8)](),Promise[_0x2d86b4(0x3c7)](new Error(_0x2764ae[_0x2d86b4(0x1e9)][_0x2d86b4(0x2f4)]));_0x32a5ca=_0x211135['FileId'];}catch{return this[_0x2d86b4(0xf8)](),Promise[_0x2d86b4(0x3c7)](new Error(_0x2764ae[_0x2d86b4(0x1e9)][_0x2d86b4(0x2f4)]));}return new Promise((_0x98f5ff,_0x9d54a5)=>{var _0x48650d=_0x2d86b4;const _0x44699e=new FileReader();_0x44699e[_0x48650d(0x370)](_0x27bcbb),_0x44699e['onload']=_0x532ee3=>{var _0x3a29dd=_0x48650d,_0x1eba11;const _0x57a56a=(_0x1eba11=_0x532ee3[_0x3a29dd(0x1ac)])==null?void 0x0:_0x1eba11[_0x3a29dd(0x3c5)];if(_0x57a56a==null){this[_0x3a29dd(0xf8)](),_0x9d54a5(new Error(_0x2764ae['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x20d897=_0x55777a[_0x3a29dd(0x151)]['generateRandomId'](0x6);_0x98f5ff({'imageId':_0x20d897,'imageSourceType':_0x2764ae['ImageSourceType'][_0x3a29dd(0x36a)],'source':_0x32a5ca,'base64Cache':_0x57a56a,'status':_0x2764ae[_0x3a29dd(0x1e9)][_0x3a29dd(0x325)]}),this[_0x3a29dd(0xf8)]();};});}['_getUploadFileURL'](){var _0x5f0437=_0xa5a0c5,_0x2ef1de,_0x3207b0;const _0x3c9929=this['_configService'][_0x5f0437(0x179)](_0x1e1835),_0x4d7a63=this['_configService'][_0x5f0437(0x179)](_0xdaa49b);return(_0x3207b0=(_0x2ef1de=_0x4d7a63==null?void 0x0:_0x4d7a63[_0x5f0437(0x27f)])!=null?_0x2ef1de:_0x3c9929)!=null?_0x3207b0:_0x21995;}[_0xa5a0c5(0x1d3)](){var _0x408438=_0xa5a0c5,_0x3dca9f,_0x2edf3a;const _0x1a5c34=this[_0x408438(0x2e4)]['getConfig'](_0x2a1738),_0x56d9c6=this[_0x408438(0x2e4)][_0x408438(0x179)](_0xdaa49b);return(_0x2edf3a=(_0x3dca9f=_0x56d9c6==null?void 0x0:_0x56d9c6[_0x408438(0x3f8)])!=null?_0x3dca9f:_0x1a5c34)!=null?_0x2edf3a:_0x2a3712;}['_getDownloadEndpointURL'](){var _0x291188=_0xa5a0c5,_0x51efce;const _0x12af0c=this['_configService']['getConfig'](_0xdaa49b);return(_0x51efce=_0x12af0c==null?void 0x0:_0x12af0c[_0x291188(0x149)])!=null?_0x51efce:location['origin'];}[_0xa5a0c5(0xc6)](_0x20b62c,_0x550a8a){var _0x5b8fd2=_0xa5a0c5;return _0x20b62c[_0x5b8fd2(0x1a9)](_0x5b8fd2(0x34e),_0x550a8a);}[_0xa5a0c5(0xf8)](){var _0x5e592b=_0xa5a0c5;this['_waitCount']-=0x1,this[_0x5e592b(0x134)][_0x5e592b(0x388)](this[_0x5e592b(0x24b)]);}},_0x1ee398[_0xa5a0c5(0x234)]=_0x5662b9([_0xaec504(0x0,_0x55777a[_0xa5a0c5(0x239)](_0x264129[_0xa5a0c5(0x3e0)])),_0xaec504(0x1,_0x55777a[_0xa5a0c5(0x1cc)]),_0xaec504(0x2,_0x55777a[_0xa5a0c5(0x239)](_0x55777a[_0xa5a0c5(0x3d8)]))],_0x1ee398[_0xa5a0c5(0x234)]);var _0x4d6a1d=Object[_0xa5a0c5(0x3d0)],_0x594204=(_0x20c885,_0x2f2d0a,_0x32f2f9,_0x38a031)=>{for(var _0x2e9066=_0x38a031>0x1?void 0x0:_0x38a031?_0x4d6a1d(_0x2f2d0a,_0x32f2f9):_0x2f2d0a,_0x20a515=_0x20c885['length']-0x1,_0x3872aa;_0x20a515>=0x0;_0x20a515--)(_0x3872aa=_0x20c885[_0x20a515])&&(_0x2e9066=_0x3872aa(_0x2e9066)||_0x2e9066);return _0x2e9066;},_0x412ca9=(_0x3b7fc0,_0x4c22ac)=>(_0x5c6f85,_0x5bbbc9)=>_0x4c22ac(_0x5c6f85,_0x5bbbc9,_0x3b7fc0);const _0x113144=_0xa5a0c5(0xe0);_0x1ee398['MentionIoHttpService']=class{constructor(_0x2fbd18,_0x3e3337){var _0x2e58a5=_0xa5a0c5;this[_0x2e58a5(0x2e4)]=_0x2fbd18,this[_0x2e58a5(0x131)]=_0x3e3337;}[_0xa5a0c5(0x37a)](){var _0x47b1eb=_0xa5a0c5,_0x2e75a7,_0x5eac83;const _0x268bc6=this[_0x47b1eb(0x2e4)][_0x47b1eb(0x179)](_0x15a27e),_0x4a08b1=this[_0x47b1eb(0x2e4)]['getConfig'](_0xdaa49b);return(_0x5eac83=(_0x2e75a7=_0x4a08b1==null?void 0x0:_0x4a08b1[_0x47b1eb(0x27e)])!=null?_0x2e75a7:_0x268bc6)!=null?_0x5eac83:_0x113144;}async[_0xa5a0c5(0x1da)](_0x566904){var _0x28c653=_0xa5a0c5;const _0x28a4fd=this[_0x28c653(0x37a)]()+_0x28c653(0x3d9);return{'list':[{'title':_0x28c653(0x387),'mentions':(await this[_0x28c653(0x131)][_0x28c653(0x223)](_0x28a4fd,{'params':{'objectID':_0x566904[_0x28c653(0x3a5)],'unitID':_0x566904[_0x28c653(0x3a5)]}}))['body'][_0x28c653(0x123)][_0x28c653(0x2a8)](_0x5114fc=>({'objectId':_0x5114fc['id'],'name':_0x5114fc['subject'][_0x28c653(0xf3)],'metadata':{'icon':_0x5114fc[_0x28c653(0x39a)][_0x28c653(0x3e2)]},'label':_0x5114fc['subject']['name'],'objectType':_0x55777a[_0x28c653(0xee)][_0x28c653(0x1b6)]})),'metadata':{},'type':_0x55777a[_0x28c653(0xee)][_0x28c653(0x1b6)]}]};}},_0x1ee398[_0xa5a0c5(0x1fe)]=_0x594204([_0x412ca9(0x0,_0x55777a[_0xa5a0c5(0x239)](_0x55777a['IConfigService'])),_0x412ca9(0x1,_0x55777a[_0xa5a0c5(0x239)](_0x264129[_0xa5a0c5(0x3e0)]))],_0x1ee398[_0xa5a0c5(0x1fe)]);var _0x1db458=Object[_0xa5a0c5(0x3d0)],_0x2c14dd=(_0x16101b,_0x5d1bde,_0x2a7ee8,_0xf3fef8)=>{var _0x1b5bc9=_0xa5a0c5;for(var _0x109be3=_0xf3fef8>0x1?void 0x0:_0xf3fef8?_0x1db458(_0x5d1bde,_0x2a7ee8):_0x5d1bde,_0x3d2479=_0x16101b[_0x1b5bc9(0x165)]-0x1,_0x59fbdc;_0x3d2479>=0x0;_0x3d2479--)(_0x59fbdc=_0x16101b[_0x3d2479])&&(_0x109be3=_0x59fbdc(_0x109be3)||_0x109be3);return _0x109be3;},_0x33d55e=(_0x42b4ac,_0x489a66)=>(_0x1e2897,_0x57242c)=>_0x489a66(_0x1e2897,_0x57242c,_0x42b4ac);let _0x5cc867=class extends _0x55777a[_0xa5a0c5(0x402)]{constructor(_0x5ad21c,_0x48e00d,_0xad2faf,_0x2d05b3,_0x1dc6cb){var _0x5212ba=_0xa5a0c5;super(),this[_0x5212ba(0x24c)]=_0x5ad21c,this[_0x5212ba(0x3c2)]=_0x48e00d,this[_0x5212ba(0x260)]=_0xad2faf,this[_0x5212ba(0x9f)]=_0x2d05b3,this[_0x5212ba(0x1b9)]=_0x1dc6cb,this[_0x5212ba(0xb3)](),this[_0x5212ba(0x18d)]();}[_0xa5a0c5(0x18d)](){var _0x3256d6=_0xa5a0c5;const _0x2784b7=async _0x2aa131=>{var _0x2f605b=_0x2939;(await this[_0x2f605b(0x9f)][_0x2f605b(0x369)](_0x2aa131))[_0x2f605b(0x288)]['pipe'](_0x6ef337[_0x2f605b(0x15c)](_0x460e27=>_0x460e27['eventID']===_0x283aa4['CollaborationEvent'][_0x2f605b(0x3f7)]),_0x6ef337[_0x2f605b(0x32d)](this['dispose$']))[_0x2f605b(0xf7)](_0x557dde=>{var _0x1b1bd8=_0x2f605b;const _0x2e60e6=_0x557dde,{reason:_0x26be54}=_0x2e60e6[_0x1b1bd8(0x1d2)];this[_0x1b1bd8(0x1b9)][_0x1b1bd8(0x3e3)]({'id':_0x23ef2d['CLOSE_ROOM'],'data':_0x26be54}),this[_0x1b1bd8(0x260)][_0x1b1bd8(0x2eb)](new _0x11deaf[(_0x1b1bd8(0x40a))](_0x2aa131)['id'],!0x1),this[_0x1b1bd8(0x9f)][_0x1b1bd8(0x23c)](_0x2aa131);});};_0x307531[_0x3256d6(0x296)](this[_0x3256d6(0x3c2)]['getTypeOfUnitAdded$'](_0x55777a[_0x3256d6(0x409)]['UNIVER_SHEET']),this[_0x3256d6(0x3c2)]['getTypeOfUnitAdded$'](_0x55777a[_0x3256d6(0x409)][_0x3256d6(0x226)]))['pipe'](_0x6ef337[_0x3256d6(0x2a8)](_0x32d118=>_0x32d118[_0x3256d6(0x28c)]()),_0x6ef337[_0x3256d6(0x15c)](_0x4cd799=>!_0x55777a[_0x3256d6(0x1af)](_0x4cd799)),_0x6ef337[_0x3256d6(0x32d)](this[_0x3256d6(0x310)]))[_0x3256d6(0xf7)](_0x4f6844=>{_0x2784b7(_0x4f6844);});}[_0xa5a0c5(0xb3)](){var _0x3af471=_0xa5a0c5;const _0x4eff3c=async _0x25d524=>{var _0x3eb0a1=_0x2939;const _0x28a8c2=await this[_0x3eb0a1(0x9f)][_0x3eb0a1(0x369)](_0x25d524),_0x8c1f68=this[_0x3eb0a1(0x24c)]['get'](_0x11deaf[_0x3eb0a1(0x87)]);_0x28a8c2[_0x3eb0a1(0x288)]['pipe'](_0x6ef337['filter'](_0x22929d=>_0x22929d[_0x3eb0a1(0x1d8)]===_0x283aa4[_0x3eb0a1(0xe2)][_0x3eb0a1(0x2d7)]),_0x6ef337[_0x3eb0a1(0x32d)](this[_0x3eb0a1(0x310)]))[_0x3eb0a1(0xf7)](_0x24ac7b=>{var _0x55d62f=_0x3eb0a1;const _0x2ac9bc=_0x24ac7b,{objectId:_0xd4c9d2}=_0x2ac9bc[_0x55d62f(0x1d2)];_0xd4c9d2===_0x25d524?_0x8c1f68[_0x55d62f(0x334)](_0x25d524):_0x8c1f68[_0x55d62f(0x289)](_0x25d524,_0xd4c9d2);});};_0x307531[_0x3af471(0x296)](this['_univerInstanceService'][_0x3af471(0x28a)](_0x55777a['UniverInstanceType']['UNIVER_SHEET']))[_0x3af471(0x92)](_0x6ef337['map'](_0xe29fa6=>_0xe29fa6[_0x3af471(0x28c)]()),_0x6ef337[_0x3af471(0x15c)](_0x3b24c5=>!_0x55777a[_0x3af471(0x1af)](_0x3b24c5)),_0x6ef337[_0x3af471(0x32d)](this['dispose$']))[_0x3af471(0xf7)](_0x25c3d8=>{_0x4eff3c(_0x25c3d8);});}};_0x5cc867=_0x2c14dd([_0x33d55e(0x0,_0x55777a[_0xa5a0c5(0x239)](_0x55777a['Injector'])),_0x33d55e(0x1,_0x55777a['IUniverInstanceService']),_0x33d55e(0x2,_0x55777a['IPermissionService']),_0x33d55e(0x3,_0x55777a[_0xa5a0c5(0x239)](_0x1ee398[_0xa5a0c5(0x86)])),_0x33d55e(0x4,_0x55777a[_0xa5a0c5(0x239)](_0x5740f2))],_0x5cc867);var _0x1b3f39=Object['getOwnPropertyDescriptor'],_0x54c8ed=(_0x569d76,_0x57f136,_0x5211f8,_0x2c88a7)=>{var _0x20f4c8=_0xa5a0c5;for(var _0x402914=_0x2c88a7>0x1?void 0x0:_0x2c88a7?_0x1b3f39(_0x57f136,_0x5211f8):_0x57f136,_0x866b81=_0x569d76[_0x20f4c8(0x165)]-0x1,_0x5f0eda;_0x866b81>=0x0;_0x866b81--)(_0x5f0eda=_0x569d76[_0x866b81])&&(_0x402914=_0x5f0eda(_0x402914)||_0x402914);return _0x402914;},_0x48038a=(_0x4f6d6f,_0x3a1ab3)=>(_0x16ab63,_0x4dce1f)=>_0x3a1ab3(_0x16ab63,_0x4dce1f,_0x4f6d6f);_0x1ee398['SnapshotServerOverHTTPService']=class{constructor(_0x3bb54a,_0x195a5a){var _0x36c081=_0xa5a0c5;this[_0x36c081(0x2e4)]=_0x3bb54a,this[_0x36c081(0x1dd)]=_0x195a5a;}async[_0xa5a0c5(0x157)](_0x169516,_0x485140){var _0x4d71fa=_0xa5a0c5,_0x5111f8;const {unitID:_0x3139e9,type:_0x6a285e,revision:_0x22fd7d=0x0}=_0x485140,_0x3ded5a=this[_0x4d71fa(0xd1)]()+'/'+_0x6a285e+_0x4d71fa(0x187)+_0x3139e9+'/rev/'+_0x22fd7d,_0x49adec=(await this[_0x4d71fa(0x1dd)]['get'](_0x3ded5a))[_0x4d71fa(0x305)],_0x302207=(_0x5111f8=_0x49adec['snapshot'])==null?void 0x0:_0x5111f8[_0x4d71fa(0x3e1)];if(_0x302207){const _0x56e379=_0x302207==null?void 0x0:_0x302207[_0x4d71fa(0x22a)],_0x2dbf8b=_0x283aa4[_0x4d71fa(0x18c)][_0x4d71fa(0x3ba)](_0x283aa4[_0x4d71fa(0x38c)](_0x56e379));_0x302207['originalMeta']=_0x2dbf8b,Object['entries'](_0x302207[_0x4d71fa(0x1ff)])[_0x4d71fa(0x14a)](([,_0x34205a])=>{var _0x584076=_0x4d71fa;const _0x2466fd=_0x34205a[_0x584076(0x22a)],_0x18e22a=_0x283aa4[_0x584076(0x18c)]['encode'](_0x283aa4[_0x584076(0x38c)](_0x2466fd));_0x34205a[_0x584076(0x22a)]=_0x18e22a;});}return _0x49adec;}async[_0xa5a0c5(0x155)](_0xdf4fd,_0x5f5b3e){var _0x7f688b=_0xa5a0c5;const {unitID:_0x49134c,type:_0x709dbf,blockID:_0xf17913}=_0x5f5b3e,_0x22cd13=this['_getAPIPrefix']()+'/'+_0x709dbf+_0x7f688b(0x187)+_0x49134c+_0x7f688b(0x295)+_0xf17913;return(await this[_0x7f688b(0x1dd)][_0x7f688b(0x223)](_0x22cd13))[_0x7f688b(0x305)];}async[_0xa5a0c5(0x1d1)](_0x382da7,_0xf4908c){var _0x3a33ab=_0xa5a0c5;const {unitID:_0x51caa8,type:_0x341f00,blockID:_0x27fd33}=_0xf4908c,_0x3211de=this[_0x3a33ab(0xf1)]()+'/block/'+_0x341f00+_0x3a33ab(0x187)+_0x51caa8+_0x3a33ab(0x295)+_0x27fd33;return(await this[_0x3a33ab(0x1dd)][_0x3a33ab(0x223)](_0x3211de))['body'];}async[_0xa5a0c5(0x96)](_0x5d40fe,_0x5e4149){var _0x57ed5c=_0xa5a0c5;const {unitID:_0x142bfd,type:_0xd4235,from:_0x1b714c,to:_0x352ac2}=_0x5e4149,_0x4ca3b9=this['_getAPIPrefix']()+'/'+_0xd4235+'/unit/'+_0x142bfd+_0x57ed5c(0xda)+_0x1b714c+_0x57ed5c(0x3ef)+_0x352ac2;return(await this[_0x57ed5c(0x1dd)][_0x57ed5c(0x223)](_0x4ca3b9))[_0x57ed5c(0x305)];}[_0xa5a0c5(0xd1)](){var _0x16609a=_0xa5a0c5,_0x449de2;return(_0x449de2=this[_0x16609a(0x2e4)][_0x16609a(0x179)](_0x35ffc1))!=null?_0x449de2:this[_0x16609a(0xf1)]();}[_0xa5a0c5(0xf1)](){var _0x255d67=_0xa5a0c5,_0x1ad585,_0x37c768;const _0x1e0b97=this[_0x255d67(0x2e4)]['getConfig'](_0x2f4f38),_0xea914e=this[_0x255d67(0x2e4)]['getConfig'](_0xdaa49b);return(_0x37c768=(_0x1ad585=_0xea914e==null?void 0x0:_0xea914e[_0x255d67(0x318)])!=null?_0x1ad585:_0x1e0b97)!=null?_0x37c768:_0x59bf1b;}async[_0xa5a0c5(0x276)](_0x44ecc0,_0x1cdcba){var _0x4116f2=_0xa5a0c5;const _0x3b0c64=_0x4116f2(0x244)+_0x1cdcba[_0x4116f2(0x3b7)]+_0x4116f2(0x187)+_0x1cdcba['unitID']+'/resources';return(await this[_0x4116f2(0x1dd)][_0x4116f2(0x223)](_0x3b0c64,{'params':{'resourceId':JSON[_0x4116f2(0x36b)](_0x1cdcba[_0x4116f2(0x9e)])}}))[_0x4116f2(0x305)];}['saveSnapshot'](){var _0x4cb5aa=_0xa5a0c5;throw new Error(_0x4cb5aa(0x1b0));}['saveSheetBlock'](){var _0x258f70=_0xa5a0c5;throw new Error(_0x258f70(0x1b0));}[_0xa5a0c5(0x1bf)](){var _0x2d5c7b=_0xa5a0c5;throw new Error(_0x2d5c7b(0x1b0));}[_0xa5a0c5(0x116)](){var _0x1588bb=_0xa5a0c5;throw new Error(_0x1588bb(0x1b0));}[_0xa5a0c5(0x3f6)](){var _0x54231b=_0xa5a0c5;throw new Error(_0x54231b(0x1b0));}},_0x1ee398[_0xa5a0c5(0x143)]=_0x54c8ed([_0x48038a(0x0,_0x55777a[_0xa5a0c5(0x1cc)]),_0x48038a(0x1,_0x55777a[_0xa5a0c5(0x239)](_0x264129[_0xa5a0c5(0x3e0)]))],_0x1ee398[_0xa5a0c5(0x143)]);var _0x28d40b=Object[_0xa5a0c5(0x3d0)],_0x2cc38b=(_0xc6de18,_0x1e9a93,_0x12412d,_0x171b68)=>{var _0x5e4c05=_0xa5a0c5;for(var _0x385ca5=_0x171b68>0x1?void 0x0:_0x171b68?_0x28d40b(_0x1e9a93,_0x12412d):_0x1e9a93,_0x1b380c=_0xc6de18[_0x5e4c05(0x165)]-0x1,_0x8e155d;_0x1b380c>=0x0;_0x1b380c--)(_0x8e155d=_0xc6de18[_0x1b380c])&&(_0x385ca5=_0x8e155d(_0x385ca5)||_0x385ca5);return _0x385ca5;},_0x134026=(_0x1829d7,_0x328015)=>(_0x3f763a,_0x3720a4)=>_0x328015(_0x3f763a,_0x3720a4,_0x1829d7);_0x1ee398[_0xa5a0c5(0x2e1)]=class extends _0x55777a[_0xa5a0c5(0x2d2)]{constructor(_0x5ba313,_0x4f8eae,_0x4c7af9,_0x5c7b75,_0x5b0f5d){var _0x441b3e=_0xa5a0c5;super(_0x5ba313,_0x4f8eae,_0x4c7af9),this[_0x441b3e(0x20e)]=_0x5c7b75,this['_logService']=_0x5b0f5d;}[_0xa5a0c5(0x36f)](_0x4bc0f7,_0x1215cb){var _0x44f38b=_0xa5a0c5;const _0x23f162=this['_getUndoStack'](_0x4bc0f7);if(_0x23f162)try{const _0x63130e=this[_0x44f38b(0x3bb)](_0x23f162,_0x1215cb);this[_0x44f38b(0x3e4)](_0x4bc0f7,_0x63130e);}catch(_0x1f4b1e){this[_0x44f38b(0x33d)][_0x44f38b(0xe9)](_0x44f38b(0x22b),_0x1f4b1e),this[_0x44f38b(0x272)](_0x4bc0f7);}const _0x1fdf07=this[_0x44f38b(0x25d)](_0x4bc0f7);if(_0x1fdf07)try{const _0x426c88=this[_0x44f38b(0x3bb)](_0x1fdf07,_0x1215cb);this['_substituteRedoStack'](_0x4bc0f7,_0x426c88);}catch(_0x198a9c){this[_0x44f38b(0x33d)][_0x44f38b(0xe9)](_0x198a9c),this['_clearRedo'](_0x4bc0f7);}}[_0xa5a0c5(0x272)](_0x1940d8){var _0x272487=_0xa5a0c5;const _0xf8519=this[_0x272487(0x34a)](_0x1940d8);_0xf8519&&(_0xf8519[_0x272487(0x165)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x9bc942){var _0x15e18a=_0xa5a0c5;const _0x59ee4e=this['_getRedoStack'](_0x9bc942);_0x59ee4e&&(_0x59ee4e[_0x15e18a(0x165)]=0x0,this[_0x15e18a(0x2ca)]());}['_substituteUndoStack'](_0x553699,_0xb1d23c){var _0x5470c1=_0xa5a0c5;this['_undoStacks'][_0x5470c1(0x231)](_0x553699,_0xb1d23c),this[_0x5470c1(0x2ca)]();}['_substituteRedoStack'](_0x2c0667,_0x1bf1ce){var _0x401bb4=_0xa5a0c5;this[_0x401bb4(0x22c)][_0x401bb4(0x231)](_0x2c0667,_0x1bf1ce),this['_updateStatus']();}[_0xa5a0c5(0x3bb)](_0x10cef7,_0x1da380){var _0x15981f=_0xa5a0c5;const _0x2a8557=[];let _0x2aec85=_0x1da380,_0x494988=_0x1da380;for(let _0x2f0374=_0x10cef7[_0x15981f(0x165)]-0x1;_0x2f0374>=0x0;_0x2f0374--){const {unitID:_0x2c4777,undoMutations:_0x52c69d,redoMutations:_0x12cd8b}=_0x10cef7[_0x2f0374],_0x2f72e1=this[_0x15981f(0x20e)][_0x15981f(0x192)](_0x2aec85,_0x52c69d),_0x2babea=this[_0x15981f(0x20e)][_0x15981f(0x192)](_0x494988,_0x12cd8b);if(_0x283aa4['isTransformMutationsWithChangesetFailure'](_0x2f72e1)||_0x283aa4[_0x15981f(0x326)](_0x2babea)){this['_logService'][_0x15981f(0xe9)](_0x15981f(0x22b),_0x15981f(0x8d),_0x2f72e1,_0x2babea);break;}_0x2aec85=_0x2f72e1[_0x15981f(0x3a0)],_0x494988=_0x2babea[_0x15981f(0x3a0)],_0x2a8557[_0x15981f(0x31e)]({'unitID':_0x2c4777,'undoMutations':_0x2f72e1[_0x15981f(0x2f3)],'redoMutations':_0x2babea[_0x15981f(0x2f3)]});}return _0x2a8557[_0x15981f(0x1de)]();}},_0x1ee398['CollaborativeUndoRedoService']=_0x2cc38b([_0x134026(0x0,_0x55777a[_0xa5a0c5(0x3d8)]),_0x134026(0x1,_0x55777a['ICommandService']),_0x134026(0x2,_0x55777a['IContextService']),_0x134026(0x3,_0x283aa4[_0xa5a0c5(0x40c)]),_0x134026(0x4,_0x55777a['ILogService'])],_0x1ee398[_0xa5a0c5(0x2e1)]);var _0x331581=Object[_0xa5a0c5(0x267)],_0x43380e=Object[_0xa5a0c5(0x3d0)],_0x26e672=(_0x3b5d6a,_0x4e27f6,_0x2738c0)=>_0x4e27f6 in _0x3b5d6a?_0x331581(_0x3b5d6a,_0x4e27f6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2738c0}):_0x3b5d6a[_0x4e27f6]=_0x2738c0,_0x3ea708=(_0x46b223,_0x5af5ef,_0x2f881e,_0x454a3c)=>{var _0x5437c9=_0xa5a0c5;for(var _0x6e1220=_0x454a3c>0x1?void 0x0:_0x454a3c?_0x43380e(_0x5af5ef,_0x2f881e):_0x5af5ef,_0x3a7a33=_0x46b223[_0x5437c9(0x165)]-0x1,_0x403db7;_0x3a7a33>=0x0;_0x3a7a33--)(_0x403db7=_0x46b223[_0x3a7a33])&&(_0x6e1220=_0x403db7(_0x6e1220)||_0x6e1220);return _0x6e1220;},_0x1db782=(_0x3dd677,_0x300f37)=>(_0x5911e0,_0x9a55d4)=>_0x300f37(_0x5911e0,_0x9a55d4,_0x3dd677),_0x4259d5=(_0x126621,_0x260637,_0x30b0bb)=>_0x26e672(_0x126621,_0x260637+'',_0x30b0bb);const _0x26006e=_0xa5a0c5(0x97);_0x1ee398[_0xa5a0c5(0x13b)]=class extends _0x55777a['Plugin']{constructor(_0x27c7b3,_0x144ab9,_0x4974ba,_0x2f436e){var _0x102156=_0xa5a0c5;super(),_0x27fcc5(this,_0x102156(0x1ab)),(this[_0x102156(0x33d)]=_0x144ab9,this['_injector']=_0x4974ba,this['_configService']=_0x2f436e);const {..._0x559823}=_0x55777a['merge']({},_0xc56a29,_0x27c7b3);if(!_0x559823[_0x102156(0x13f)])throw new Error(_0x102156(0x120));this[_0x102156(0x1ab)]=_0x559823,this[_0x102156(0x2e4)][_0x102156(0x1a8)](_0xdaa49b,_0x559823);}[_0xa5a0c5(0x263)](){this['_registerDependencies'](),this['_initDependencies']();}[_0xa5a0c5(0x3ec)](){var _0x1626d2=_0xa5a0c5,_0xb36136,_0x1b3b08;this['_injector'][_0x1626d2(0x2f6)](_0x55777a[_0x1626d2(0x3c1)])&&this[_0x1626d2(0x33d)]['error'](_0x1626d2(0x2ac),_0x1626d2(0x1bd));const _0x4c39ec=_0x55777a[_0x1626d2(0x1e8)]([[_0x55777a[_0x1626d2(0x3c1)],{'useClass':_0x1ee398[_0x1626d2(0x2e1)]}],[_0x1ee398[_0x1626d2(0x86)]],[_0x1ee398[_0x1626d2(0x114)]],[_0x1ee398[_0x1626d2(0x8e)]],[_0x557d69],[_0xeb99a3],[_0x54517c],[_0x5cc867],[_0x5740f2],[_0x1ee398[_0x1626d2(0x11b)]],[_0x43bf3f,{'useClass':this[_0x1626d2(0x1ab)][_0x1626d2(0x13f)]}],[_0x283aa4['ISnapshotServerService'],{'useClass':_0x1ee398[_0x1626d2(0x143)]}],[_0x55777a[_0x1626d2(0xec)],{'useClass':_0x1ee398['AuthzIoHttpService']}],[_0x2764ae[_0x1626d2(0x39c)],{'useClass':_0x1ee398[_0x1626d2(0x234)]}],[_0x55777a['IMentionIOService'],{'useClass':_0x1ee398[_0x1626d2(0x1fe)]}],[_0x1ee398[_0x1626d2(0xb2)]],[_0x2a9730]],(_0xb36136=this['_config'])==null?void 0x0:_0xb36136['override']);if(!((_0x1b3b08=this['_config'])!=null&&_0x1b3b08['enableSingleActiveInstanceLock'])){const _0x174b62=_0x4c39ec[_0x1626d2(0x138)](([_0x2d904e])=>_0x2d904e===_0x185a2b);_0x174b62!==-0x1&&_0x4c39ec[_0x1626d2(0x304)](_0x174b62,0x1);}_0x55777a[_0x1626d2(0x19c)](this['_injector'],_0x4c39ec);}[_0xa5a0c5(0x3c9)](){var _0x315801=_0xa5a0c5,_0x2308c7,_0x4abfaa,_0x59798d;this[_0x315801(0x24c)][_0x315801(0x223)](_0x264129[_0x315801(0x3e0)])[_0x315801(0x11a)]({'priority':0x14,'interceptor':_0x264129[_0x315801(0xdd)]({'maxParallel':0x6})}),(_0x2308c7=this[_0x315801(0x1ab)])!=null&&_0x2308c7[_0x315801(0x33e)]||(_0x4abfaa=this['_injector'][_0x315801(0x223)](_0x5a7cb1,_0x55777a[_0x315801(0x35b)][_0x315801(0xf0)]))==null||_0x4abfaa[_0x315801(0x2c9)](),(_0x59798d=this[_0x315801(0x1ab)])!=null&&_0x59798d[_0x315801(0x262)]&&_0x55777a['touchDependencies'](this['_injector'],[[_0x557d69]]),_0x55777a['touchDependencies'](this[_0x315801(0x24c)],[[_0xeb99a3],[_0x1ee398['CollaborationController']],[_0x5cc867]]);}},_0x4259d5(_0x1ee398[_0xa5a0c5(0x13b)],_0xa5a0c5(0x144),_0x26006e),_0x1ee398[_0xa5a0c5(0x13b)]=_0x3ea708([_0x55777a[_0xa5a0c5(0x271)](_0x283aa4[_0xa5a0c5(0x128)],_0x264129[_0xa5a0c5(0xd3)]),_0x1db782(0x1,_0x55777a[_0xa5a0c5(0x1d9)]),_0x1db782(0x2,_0x55777a['Inject'](_0x55777a['Injector'])),_0x1db782(0x3,_0x55777a['IConfigService'])],_0x1ee398[_0xa5a0c5(0x13b)]),_0x1ee398[_0xa5a0c5(0x354)]=_0x15a27e,_0x1ee398[_0xa5a0c5(0x341)]=_0xdaa49b,_0x1ee398[_0xa5a0c5(0x2ce)]=_0x3ab0b7,_0x1ee398[_0xa5a0c5(0x218)]=_0x55af26,_0x1ee398[_0xa5a0c5(0x154)]=_0x5ebfb7,_0x1ee398['CollaborationUIEventId']=_0x23ef2d,_0x1ee398[_0xa5a0c5(0x2fc)]=_0x5740f2,_0x1ee398[_0xa5a0c5(0x11d)]=_0x54517c,_0x1ee398[_0xa5a0c5(0x22e)]=_0x347a49,_0x1ee398['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0xbed003,_0x1ee398[_0xa5a0c5(0x1c3)]=_0x20b26d,_0x1ee398[_0xa5a0c5(0x400)]=_0x32a8ea,_0x1ee398['HEARTBEAT_TIMEOUT_KEY']=_0x20a87b,_0x1ee398[_0xa5a0c5(0x84)]=_0x43bf3f,_0x1ee398[_0xa5a0c5(0x314)]=_0x5a7cb1,_0x1ee398[_0xa5a0c5(0x3cc)]=_0x5cbe41,_0x1ee398[_0xa5a0c5(0x316)]=_0x185a2b,_0x1ee398[_0xa5a0c5(0x2fa)]=0x3e8,_0x1ee398[_0xa5a0c5(0x264)]=_0x7f2389,_0x1ee398['LOGIN_URL_KEY']=_0x24fd25,_0x1ee398[_0xa5a0c5(0x2a3)]=_0x3f8aa7,_0x1ee398[_0xa5a0c5(0x328)]=_0x1ed21c,_0x1ee398[_0xa5a0c5(0x1c1)]=_0x55e733,_0x1ee398[_0xa5a0c5(0x26a)]=_0x2f4f38,_0x1ee398['SNAPSHOT_URL_KEY']=_0x35ffc1,_0x1ee398['SessionStatus']=_0x37598e,_0x1ee398[_0xa5a0c5(0x2cb)]=_0x2b2ea7,_0x1ee398[_0xa5a0c5(0x25c)]=_0x2e1b07,_0x1ee398['getLocalCacheKey']=_0x4125ec,_0x1ee398[_0xa5a0c5(0x23f)]=_0x4ca2d4,Object[_0xa5a0c5(0x267)](_0x1ee398,Symbol['toStringTag'],{'value':_0xa5a0c5(0x1be)});}));