@univerjs-pro/collaboration-client 0.8.0-nightly.202505291607 → 0.8.0-nightly.202505301607

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/index.js CHANGED
@@ -1 +1 @@
1
- var _0x1ce106=_0x654c;(function(_0x228350,_0x3cc68e){var _0x3c8b1d=_0x654c,_0x1ab18e=_0x228350();while(!![]){try{var _0x3d1e1a=parseInt(_0x3c8b1d(0x19c))/0x1+parseInt(_0x3c8b1d(0x24e))/0x2+-parseInt(_0x3c8b1d(0x316))/0x3+parseInt(_0x3c8b1d(0x2c6))/0x4*(-parseInt(_0x3c8b1d(0x321))/0x5)+-parseInt(_0x3c8b1d(0x221))/0x6+-parseInt(_0x3c8b1d(0x2ac))/0x7+parseInt(_0x3c8b1d(0x36e))/0x8*(parseInt(_0x3c8b1d(0x1c4))/0x9);if(_0x3d1e1a===_0x3cc68e)break;else _0x1ab18e['push'](_0x1ab18e['shift']());}catch(_0x5d89b6){_0x1ab18e['push'](_0x1ab18e['shift']());}}}(_0x3648,0xd383d));var Di=Object[_0x1ce106(0x306)],Ui=(_0x237a80,_0x1d8837,_0xea01d1)=>_0x1d8837 in _0x237a80?Di(_0x237a80,_0x1d8837,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xea01d1}):_0x237a80[_0x1d8837]=_0xea01d1,N=(_0x5b6bec,_0x423432,_0x5e5cc9)=>Ui(_0x5b6bec,typeof _0x423432!=_0x1ce106(0x2c8)?_0x423432+'':_0x423432,_0x5e5cc9);import{createIdentifier as _0x4073c0,Inject as _0x462e36,Injector as _0x454bc4,IConfigService as _0x4a5014,ILogService as _0x103e27,Disposable as _0x17d42d,DisposableCollection as _0xe4dc93,toDisposable as _0x1d8015,IUniverInstanceService as _0x1f74c9,UserManagerService as _0x29dca9,UniverInstanceType as _0x3e7358,LocaleService as _0x263ef2,Optional as _0x26bebd,RxDisposable as _0x589295,Tools as _0x40a632,Rectangle as _0x32edc0,ICommandService as _0x5a4b18,JSONX as _0x23b5a0,CommandType as _0x59c115,IUndoRedoService as _0x49d306,IPermissionService as _0x26f4a9,sequenceExecute as _0x196ae8,Workbook as _0x28e34f,MentionType as _0x57b54,isInternalEditorID as _0x25ac5e,LocalUndoRedoService as _0x10900d,IContextService as _0x15f5fd,DependentOn as _0x28b519,Plugin as _0x34e70b,merge as _0x27cbe2,mergeOverrideWithDependencies as _0x266831,IAuthzIoService as _0x3d56a1,IMentionIOService as _0x18db13,registerDependencies as _0x4b970a,Quantity as _0x56f761,touchDependencies as _0x4b931f}from'@univerjs/core';import{Subject as _0x38504a,merge as _0x43d5e8,of as _0x2ce6f0,BehaviorSubject as _0x88e997,takeUntil as _0x39fb4e,ReplaySubject as _0x3b11f3,take as _0x54a276,map as _0x2a9118,shareReplay as _0x282109,firstValueFrom as _0x51e09f,concatMap as _0x2d4b5a}from'rxjs';import{map as _0x4c135a,take as _0x5ee7ee,filter as _0xc72917,delay as _0x1ae872,takeUntil as _0x27e70f}from'rxjs/operators';import{CollaborationEvent as _0x10c22b,ISnapshotServerService as _0x49f086,parseChangesetToProtocol as _0x3b1831,ITransformService as _0x9cb7ab,isTransformMutationsWithChangesetSuccess as _0x227c39,mapDocumentTypeToUniverType as _0x52ea29,RevisionService as _0x5c44a5,isTransformChangesetsSuccess as _0x493bfc,CompressMutationService as _0x182158,parseProtocolChangeset as _0x1f35c6,uuidv4 as _0x4c02dc,SnapshotService as _0x1892f8,textEncoder as _0x26cb04,b64DecodeUnicode as _0x341349,isTransformMutationsWithChangesetFailure as _0x5d980c,UniverCollaborationPlugin as _0x5838d6}from'@univerjs-pro/collaboration';import{HTTPService as _0x91e7e9,ISocketService as _0x43dea3,MergeInterceptorFactory as _0x456d40,HTTPRequest as _0x3734ec,UniverNetworkPlugin as _0x145b4f,ThresholdInterceptorFactory as _0x50fc9a}from'@univerjs/network';import{ITelemetryService as _0x57861e}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5d5c10}from'@univerjs/docs';import{SheetsSelectionsService as _0x3a2196,SetSelectionsOperation as _0x18af86,InsertSheetMutation as _0x273dcc,EmptyMutation as _0x3ef308,WorkbookEditablePermission as _0x2b88e9,SheetPermissionInitController as _0x175c27}from'@univerjs/sheets';import{ImageSourceType as _0x30a9da,ImageUploadStatusType as _0x34863b,IImageIoService as _0x4bc34d}from'@univerjs/drawing';import{getGlobalObject as _0x183ff6}from'@univerjs-pro/license';function _0x3648(){var _0xc433ca=['Cipher','getUnitStatus$','Failed\x20to\x20update\x20permission\x20point','floor','996868SEibIZ','[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.','symbol','ciphertext','unsubscribe','JOIN','_waitCount','_substituteUndoStack','format','UNKNOWN_CMD','_localeService','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','LIVESHARE_TERMINATE','sid','encryptBlock','_onConflict','Undefined','/fetchmissing?from=','_univerInstanceService','_sheetTransformSelectionsService','actions','PERMISSION_DENIED','unpad','_collaborationPaused','unit-cache-','__esModule','_clearHeartbeatTimer','target','[CollaborationUndoRedoService]','HMAC','_transformStateCache','requestParams','compose','data','_resendTimeout','ALREADY_EXISTS','file','UNIVER_DOC','_clearCollaborationTimeoutTimer','_undoRedoService','INTERNAL_ERROR','confirm','joinEvent','_toggleOffline','IDLE','_checkMissing','_state','getTime','state$','_initRequestHeader','_pendingMutations','GLOBAL_ROOMS_CNT_EXCEEDS','_commentUpdate$','objectType','_acknowledgedAwaitingChangeset','_getCtorByUniverType','SEND_CHANGESET_TIMEOUT','createCollaborator','_updateStatus','selections','copyFileMeta','resend','update','csShouldRetryEvent','defineProperty','INGEST','_createHmacHelper','getTypeOfUnitDisposed$','SUCCUSS','userID','updateCursorEvent','_listenToNetworkCondition','addHandlerCallback','_map','processBlock','isPermissionRej','_socketMessageSubscription','encode','_roomMembers','_joinRoom','4141389PYNgwK','_onJoinRoomEvent','msCrypto','fromCollab','_getSendChangesetTimeout','from','_transformUndoredo','_entityInit$','FAIL','SNAPSHOT_SERVER_URL_KEY','[CollaborationState]:\x20apply\x20error!','15fjvvmX','_sessionStatus$','unitID','AWAITING','put','WordArray','YUUMI_ALL_TABLES_IS_INVALID','SUBMIT_CHANGESET','OTHER_CLIENT_EDITING','retryConnectingInterval','members$','BufferedBlockAlgorithm','onTransformState','/unit/','FETCH_MISSING','awaitingChangeset','_logService','onTransformRemoteChangesetByIMECache','_sessions','/new_changes','/role','failed\x20to\x20apply\x20missed\x20changesets!','closeSession','\x20in\x20_schedule.','updateCollaborator','pending','unitId','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','state','submit\x20changeset\x20error!','_snapshotService','getInterceptPoints','ERROR_EXCEED_SIZE','_transformService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getRandomValues','univer-pro.collaboration-client-socket-service','APPLY_REJECT','_eventService','transformMutationsWithChangeset','getAllMembers','push','MOBILE_HAS_BEEN_BOUND','SHOULD_CLOSE_CONN','leaveEvent','COMPRESS_MUTATION_APPLY','fetchMiss','_doFinalize','_changesetReqId','getCollabEntity','COMPLETION_FINISHED','setShowComponents','result','transformChangesets','_updateState','localCacheService','YUUMI_NO_CUBOID_FOR_QUESTION','image/jpeg','_getAPIPrefix','memberID','stopTime','UserProfileImg','init','sigBytes','LOGIN_URL_KEY','_waitForHeartbeatResponse','INVITE_CODE_ALREADY_BOUND','body','ERROR_IMAGE','resourceIDs','_telemetryInfo','socket\x20open.','reduce','_getDownloadEndpointURL','[FetchMissState]','_reverseMap','get','30793024xvXeSE','_change$','_telemetryService','EvpKDF','batchAllowed','_transformStack','onMissingChangesets','getResourcesRequest','_memberService','interceptor','_createInitialState','POST','_changesetSessionId','_handlerCallback','save\x20fail\x20reason\x20is\x20','Hasher','_getRedoStack','generateRandomId','onLocalMutation','title','collabSubmitChangesetUrl','session.room-full','COMMENT_UPDATE','_instanceService','fetchMissingChangesets','_syncEditingCollabCursor','collaborators','[SyncedState]:\x20received\x20rejection.','_onConnectionFailed','[CollaborationEntity]','downloadEndpointUrl','_candidateSocket','_getSignURL','_scheduleCompleteTimestamp','YUUMI_UNABLE_LOAD_URL','socketService','_getAPIPrefixPath','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','includes','_members$','NOT_COLLAB','avatar','_clearLocalCache','YUUMI_AI_RUN_FAILED','CLOSE_ROOM','charCodeAt','event$','padding','TOO_MANY_REQUESTS','status$','_initUnitPermissionChange','\x20-\x20','subscribe','image/bmp','loadDoc','RETRY_CONNECTING_MAX_COUNT','slice','onTransformSelections','[SyncedState]:\x20received\x20acknowledgement.','_handler','_compressMutationService','_socketReady','removeMember','&source=','_collaborationUIEventService','_stopTelemetryCollaborationNewChangeset','iterations','clear','transformUndoRedo','getFocusedUnit','waitForRoom$','authzUrl','_clearRedo','[OfflineState]:\x20received\x20acknowledgement.','_createHandler','words','collaboration-client.config','findIndex','clamp','encodeURIComponent','LICENSE_DISTRO_REJECTED','_init','_doCreateSocket','onTransformRemoteChangesetByStateCache','exports','loadUnit','_clearTimeoutTimer','reverse','_mode','[CollaborationSessionService]','fromCharCode','hasher','UNRECOGNIZED','origin','rev','randomBytes','UNIVER_PROJECT','LOCAL_CACHE_INTERVAL','abs','APPLY_DUPLICATED','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','status','pipe','entityInit$','enableOfflineEditing','_showConflictNotification','__creator','_onRemoteChangeset','_status$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','MSG_FOR_ERROR','splice','_revisionService','setWaitCount','collaboration-client.local-cache-service','changesets','_createInitialStateImpl','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_RATE_OVER_LIMIT','_snapshotServerService','deepClone','onRemoteAck','_schedule','_disableEditing','complete','INVITE_CODE_HAS_BEEN_UES','_tryReconnect','readInt32LE','updateOfflineData','BlockCipherMode','CONNECTOR_DATA_TOO_LARGE','post','_state$','url','getUnit','updatePermissionObjEvent','session.room-permission-denied','href','loadSheet','NOT_FOUND','_nRounds','_decreaseWaiting','CHANGESET_ACK','toggleOnline','_commandService','isArray','_throwTelemetryCollaborationNewChangeset','close$','_userManagerService','string','getUnitType','_injector','code','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','reconnect','requireSession','snapshot','Decryptor','WECHAT_HAS_BEEN_BOUND','COLLAB_SUBMIT_CHANGESET_URL','_networkConditionService','EMAIL_HAS_BEEN_BOUND','APPLY_NON_SEQUENTIAL_REVISION','_onRemoteACK','UNIVER_SHEET','HEARTBEAT_INTERVAL','onSyncEditingCollabCursor','Base','_retryCount','_append','name','_onCombEvent','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_retryConnectingTimer','onRemoteRej','onCommandExecuted','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getUnitId','_resendTimer','UNIVER_UNKNOWN','_timeoutTimer','USERS_LEAVE','objectID','SHA1','set','encrypt','_keySchedule','_iv','/-/object/-/batch_allowed','/rev/','originalMeta','updatePermissionPoint','_tryEnsureSocket','error$','textRanges','\x20to\x20','_onFetchMissResult','LIVESHARE_FETCH_OPERATIONS','HELLO','_emitMembers','LOGIN_FAILED','executeCommand','UNISCRIPT_RUN','_getCurrentRevision','signUrlServerUrl','OpenSSL','_oKey','_event$','hasOwnProperty','SNAPSHOT_INVALID_SNAPSHOT','INVALID_ARGUMENT','saveChangeset','reset','UnitSnapshot','addImageSourceCache','uploadFileServerUrl','filter','UNIVER_COLLABORATION_CLIENT_PLUGIN','key','LIVESHARE_NEW_HOST','asObservable','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','disableLocalCache','getMemberID','_onUserLeave','send','roomInfos','substr','unknown','LICENSE_MAX_UNITS_EXCEEDED','enableCollaboration','equals','focused$','c2Prime','_exhaustRemoteChangesetQueue','UNKNOWN_CODE','NoPadding','_members','_parse','subUnitId','JOIN_ROOM_FAILED','_ENC_XFORM_MODE','synced','function','LIVESHARE_REQUEST_HOST','SOCKET_FAILED_RETRY','createInstance','_config','getCollabEntity$','HttpImport','_lockTransition','_data','mixIn','_doCryptBlock','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','/allowed','incrementRevOfUnit','CHANGESET_SHOULD_RETRY','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','createEncryptor','_entities','_clearRetryConnectingTimer','c1Prime','disposeWithMe','_transformRemoteChangesetByIMECache','finalize','_replayCachedMutations','getSheetBlock','map','call','?url=','/universer-api/comb','[OfflineState]:\x20received\x20changeset.','JOIN_ROOM_NOT_EXISTS','_resendWithTimeout','_onConnectionOpen','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_type','dispose$','_executeRemoteChangeset','sessionStatus','\x0aAfter:\x20','eventID','transformSelections','getConfig','startsWith','reject','getSnapshotAPIPath','getTypeOfUnitAdded$','_getLoginPath','ENSURE_SNAPSHOT_EXECUTION','catch','getLatestCsReqIdBySid','FETCH_MISS','add','loadUnitOfRevision','LIVESHARE_OPERATION','_transitionLocked','append','_substituteRedoStack','_updateLocalCache','_HTTPService','477261UDxoNY','values','_queuedRemoteChangesets','HEARTBEAT_TIMEOUT','OFFLINE','LICENSE_EXPORT_SIZE_EXCEEDED','__Key__','_clearScheduledTask','Base64','dispose','lib','concat','toggleOffline','collaMsg','objectActions','setConfig','fetch_missing','onMissedChangesetFetched','_sendHeartbeat','_scheduleCollaborationTimeoutTimer','routeKey','_onOffline','_isPermissionRej','getValue','[CollaborationSession]','_initCloseConn','_httpService','_onRemoteRetry','allowed','baseRev','_redoStacks','YUUMI_TABLE_NOT_FOUND_IN_UNIT','has','buffer','?size=','_sendHeartbeatTimer','awaiting_with_pending','registerHTTPInterceptor','repeat','session.join-failed','9QNRIol','getMember','/collaborator','_prevBlock','createSocket','deleteCollaborator','prototype','shouldCloseConn','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','socket\x20close','AES','CONFLICT','Utf8','charAt','_permissionService','_collaborationTimeoutTimer','/universer-api/snapshot/','kdf','listCollaborators','APPLY_PERMISSION_DENIED','close','_transformSelections','create','APPLY_REVISION_CONFILICT','action','_registerDependencies','_toggleOnline','_getUploadFileURL','INVITE_CODE_REQUIRED','$super','_unitInfo$','CipherParams','HEARTBEAT','_nDataBytes','/object','onSendChangeset','UNAUTHENTICATED','BlockCipher','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','commentUpdateEvent','now','clone','JOINING','pluginName','_onLocalMutation','refreshPermission','JOIN_ROOM_FULL','fetchThroughInterceptors','conflict','awaiting','sin','startTime','AUTHZ_URL_KEY','_onRecvEvent','objects','members','ivSize','algo','_shouldReportTelemetry','then','YUUMI_SUBSCRIPTION_NOT_FOUND','message$','ONLINE','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','formatter','onlyLocal','_incrementRevisionNumber','_doReset','AWAITING_WITH_PENDING','session.room-cnt-exceeds','decrypt','_commentService','_onRemoteRejected','FileId','workbook','UPDATE_CURSOR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','error','loadOfflineData','crypto','cfg','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','join','PERSON','sessionStatus$','/-/object/list','_remoteChangesetQueue','collaboration_new_changeset','replace','withCredentials','onload','_transformRemoteChangesetByStateCache','getCurrentRevOfUnit','83826bWPxQF','initWorkbookPermissionChange','_imageSourceCache','session','PERMISSION_REJ','open$','stringify','parse','Error\x20on\x20receiving\x20event','PSEUDO_FETCH_MISSING_RESULT','salt','m2Prime','_doProcessBlock','_createHelper','editing\x20status\x20changed\x20to','/block/','_hash','_fetchMissChangesets','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','USERS_ENTER','_startTelemetryCollaborationNewChangeset','enc','emitEvent','params','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','size','reqId','infoRsp','_initDependencies','SNAPSHOT_URL_KEY','_configService','People','_cipher','connection\x20error','_singleActiveUnitService','headers','/universer-api/authz','_unitID','Hex','onTransformIME','range','_sendingTimer','_awaitingChangeset','random','mutations','352948nZyOmf','SUBMIT_CHANGESET_TIMEOUT','method','LEAVE','next','_minBufferSize','getCurrentUser','PasswordBasedCipher','ceil','_socket','collaboratorID','_process','blockSize','/universer-api/user/session-ticket','RECV','_getUndoStack','[CollaborationSessionService]:\x20socket\x20error','_sender','type','_replaceFileID','delete','image/png','DEFAULT_FILE_NAME','univer-pro.collaboration-client.network-condition.service','_socket$','NEW_CHANGESETS','_initMergeInterceptor','pad','online$','UNIVER_SLIDE','list','length','Encryptor','SOCKET_FAILED','onRemoteRetry','cmd','_roomCreated$','roles','USER_NOT_INVITED_CODE','find','UNDEFINED','mode','UnitEmbedded','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearUndo','_hasher','forEach','apply','csRejEvent','extend','max','_onUserJoin','_collaborationSessionService','unitId\x20is\x20not\x20found','ERROR_IMAGE_TYPE','byteLength','_socketService','getDeserializedSheetBlock','socket$','StreamCipher','compute','responseType','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getUnitOnRev','_unlockTransition','SNAPSHOT_HAS_BEEN_REMOVED','_applyRemoteChangeset','updateMember','indexOf','debug','_rescheduleHeartbeat','/universer-api/oidc/authpage','override','MD5','HmacMD5','_transformIMECache','CBC','appendMutation','_createSocket','getOwnPropertyDescriptor','YUUMI_ASYNCIO_CANCELLED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_startCollaboration','decryptBlock','setCurrentUser','revision','_key','capture','CHANGESET_REJ','saveSnapshot','_localCacheService','pauseCollaboration','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[PendingState]:\x20received\x20rejection.','10460891NNiItP','INVALID_INVITE_CODE','csAckEvent','liveShareOperation','OTHER_CLIENTS_EDITING','HttpExport','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','localeService','_xformMode','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_keyPriorReset','updateSnapshot','toString','onRemoteChangeset','CHANGESET_REVISION_CONFILICT','subject','MUTATION','_submitChangeset','UUID','image/gif','JOIN_ROOM_PERMISSION_DENIED','snapshotServerUrl'];_0x3648=function(){return _0xc433ca;};return _0x3648();}const fs=_0x1ce106(0x31f),vs='/universer-api/snapshot',ps=_0x1ce106(0x23e),yr=_0x1ce106(0x2fe),ms=0x7d0,gs='COLLAB_WEB_SOCKET_URL',Ss='ws://127.0.0.1:8000/universer-api/comb/connect',Nr=_0x1ce106(0x25b),Es=_0x1ce106(0x113),Is=0x7530,fi=_0x1ce106(0x19f),vi=0x4e20,Ts=0x4e20,Cs=_0x1ce106(0xa5),Rs=0x3,Dr=_0x1ce106(0xcf),Ur=0x3e8,bs=_0x1ce106(0x10d),Os=_0x1ce106(0x17d),ys=_0x1ce106(0x361),Ns=_0x1ce106(0x295),Ar=_0x1ce106(0x1ea),wr='/universer-api/uniscript';var pi=(_0x8a9203=>(_0x8a9203[_0x8a9203[_0x1ce106(0x276)]=0x0]=_0x1ce106(0x276),_0x8a9203[_0x8a9203['OK']=0x1]='OK',_0x8a9203[_0x8a9203['INTERNAL_ERROR']=0x2]=_0x1ce106(0x2ee),_0x8a9203[_0x8a9203['PERMISSION_DENIED']=0x3]=_0x1ce106(0x2db),_0x8a9203[_0x8a9203[_0x1ce106(0xf9)]=0x4]='NOT_FOUND',_0x8a9203[_0x8a9203[_0x1ce106(0x1e8)]=0x5]=_0x1ce106(0x1e8),_0x8a9203[_0x8a9203[_0x1ce106(0x2e9)]=0x6]='ALREADY_EXISTS',_0x8a9203[_0x8a9203['INVALID_ARGUMENT']=0x7]=_0x1ce106(0x140),_0x8a9203[_0x8a9203[_0x1ce106(0x9e)]=0x8]='TOO_MANY_REQUESTS',_0x8a9203[_0x8a9203[_0x1ce106(0x353)]=0x9]=_0x1ce106(0x353),_0x8a9203[_0x8a9203[_0x1ce106(0x136)]=0xa]=_0x1ce106(0x136),_0x8a9203[_0x8a9203[_0x1ce106(0x2ba)]=0x1389]=_0x1ce106(0x2ba),_0x8a9203[_0x8a9203[_0x1ce106(0x13f)]=0x1771]=_0x1ce106(0x13f),_0x8a9203[_0x8a9203[_0x1ce106(0x28f)]=0x1772]=_0x1ce106(0x28f),_0x8a9203[_0x8a9203[_0x1ce106(0x190)]=0x1773]=_0x1ce106(0x190),_0x8a9203[_0x8a9203['APPLY_REJECT']=0x1b59]=_0x1ce106(0x346),_0x8a9203[_0x8a9203[_0x1ce106(0x110)]=0x1b5a]=_0x1ce106(0x110),_0x8a9203[_0x8a9203[_0x1ce106(0x1db)]=0x1b5b]=_0x1ce106(0x1db),_0x8a9203[_0x8a9203[_0x1ce106(0x1d7)]=0x1b5c]=_0x1ce106(0x1d7),_0x8a9203[_0x8a9203[_0x1ce106(0xd1)]=0x1b5d]=_0x1ce106(0xd1),_0x8a9203[_0x8a9203[_0x1ce106(0xf0)]=0x1f41]=_0x1ce106(0xf0),_0x8a9203[_0x8a9203[_0x1ce106(0x153)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x8a9203[_0x8a9203[_0x1ce106(0x210)]=0x232a]=_0x1ce106(0x210),_0x8a9203[_0x8a9203['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x8a9203[_0x8a9203[_0x1ce106(0x1a1)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x8a9203[_0x8a9203[_0x1ce106(0xbe)]=0x232d]=_0x1ce106(0xbe),_0x8a9203[_0x8a9203[_0x1ce106(0x390)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x8a9203[_0x8a9203[_0x1ce106(0xe3)]=0x2712]=_0x1ce106(0xe3),_0x8a9203[_0x8a9203['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1ce106(0xe4),_0x8a9203[_0x8a9203[_0x1ce106(0x200)]=0x2714]=_0x1ce106(0x200),_0x8a9203[_0x8a9203[_0x1ce106(0x359)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x8a9203[_0x8a9203[_0x1ce106(0x29e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x8a9203[_0x8a9203['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1ce106(0x1bb),_0x8a9203[_0x8a9203[_0x1ce106(0x327)]=0x271d]=_0x1ce106(0x327),_0x8a9203[_0x8a9203['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x8a9203[_0x8a9203[_0x1ce106(0x99)]=0x271f]=_0x1ce106(0x99),_0x8a9203[_0x8a9203['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x8a9203[_0x8a9203[_0x1ce106(0xeb)]=0x2ee1]=_0x1ce106(0xeb),_0x8a9203[_0x8a9203[_0x1ce106(0x2ad)]=0x2ee2]=_0x1ce106(0x2ad),_0x8a9203[_0x8a9203[_0x1ce106(0x1e0)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x8a9203[_0x8a9203[_0x1ce106(0x274)]=0x2ee4]=_0x1ce106(0x274),_0x8a9203[_0x8a9203['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1ce106(0x363),_0x8a9203[_0x8a9203[_0x1ce106(0x10c)]=0x32c9]=_0x1ce106(0x10c),_0x8a9203[_0x8a9203['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1ce106(0x34b),_0x8a9203[_0x8a9203[_0x1ce106(0x10f)]=0x32cb]=_0x1ce106(0x10f),_0x8a9203[_0x8a9203[_0x1ce106(0xca)]=-0x1]='UNRECOGNIZED',_0x8a9203))(pi||{}),Z=(_0x505a27=>(_0x505a27[_0x505a27[_0x1ce106(0x121)]=0x0]=_0x1ce106(0x121),_0x505a27[_0x505a27[_0x1ce106(0x2eb)]=0x1]=_0x1ce106(0x2eb),_0x505a27[_0x505a27[_0x1ce106(0x112)]=0x2]=_0x1ce106(0x112),_0x505a27[_0x505a27['UNIVER_SLIDE']=0x3]=_0x1ce106(0x26b),_0x505a27[_0x505a27[_0x1ce106(0xce)]=0x4]=_0x1ce106(0xce),_0x505a27[_0x505a27[_0x1ce106(0xca)]=-0x1]='UNRECOGNIZED',_0x505a27))(Z||{}),F=(_0x41d216=>(_0x41d216[_0x41d216[_0x1ce106(0x2cf)]=0x0]='UNKNOWN_CMD',_0x41d216[_0x41d216[_0x1ce106(0x134)]=0x1]=_0x1ce106(0x134),_0x41d216[_0x41d216[_0x1ce106(0x2cb)]=0x2]='JOIN',_0x41d216[_0x41d216['LEAVE']=0x3]=_0x1ce106(0x251),_0x41d216[_0x41d216[_0x1ce106(0x307)]=0x4]=_0x1ce106(0x307),_0x41d216[_0x41d216[_0x1ce106(0x1e4)]=0x5]=_0x1ce106(0x1e4),_0x41d216[_0x41d216[_0x1ce106(0x25c)]=0x6]=_0x1ce106(0x25c),_0x41d216[_0x41d216[_0x1ce106(0xca)]=-0x1]='UNRECOGNIZED',_0x41d216))(F||{}),me=(_0x556dd4=>(_0x556dd4[_0x556dd4['UNKNOWN_CODE']=0x0]=_0x1ce106(0x159),_0x556dd4[_0x556dd4['OK']=0x1]='OK',_0x556dd4[_0x556dd4[_0x1ce106(0x31e)]=0x2]=_0x1ce106(0x31e),_0x556dd4[_0x556dd4['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x556dd4[_0x556dd4['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x1ce106(0x17f),_0x556dd4[_0x556dd4[_0x1ce106(0x2c0)]=0x3eb]=_0x1ce106(0x2c0),_0x556dd4[_0x556dd4[_0x1ce106(0x2f9)]=0x3ec]=_0x1ce106(0x2f9),_0x556dd4[_0x556dd4[_0x1ce106(0xca)]=-0x1]=_0x1ce106(0xca),_0x556dd4))(me||{}),mi=(_0x1078c2=>(_0x1078c2[_0x1078c2[_0x1ce106(0x2d6)]=0x0]=_0x1ce106(0x2d6),_0x1078c2[_0x1078c2[_0x1ce106(0x167)]=0x1]=_0x1ce106(0x167),_0x1078c2[_0x1078c2[_0x1ce106(0x2b1)]=0x2]='HttpExport',_0x1078c2[_0x1078c2[_0x1ce106(0x278)]=0x3]=_0x1ce106(0x278),_0x1078c2[_0x1078c2[_0x1ce106(0x143)]=0x4]=_0x1ce106(0x143),_0x1078c2[_0x1078c2[_0x1ce106(0x35e)]=0x5]=_0x1ce106(0x35e),_0x1078c2[_0x1078c2[_0x1ce106(0xca)]=-0x1]=_0x1ce106(0xca),_0x1078c2))(mi||{});const K=_0x1ce106(0xba),Ds={};var ne=(_0x32948e=>(_0x32948e[_0x1ce106(0x329)]=_0x1ce106(0x329),_0x32948e[_0x1ce106(0x2db)]=_0x1ce106(0x2db),_0x32948e[_0x1ce106(0x1cf)]=_0x1ce106(0x1cf),_0x32948e[_0x1ce106(0x9a)]='CLOSE_ROOM',_0x32948e['JOIN_ROOM_FAILED']=_0x1ce106(0x15e),_0x32948e[_0x1ce106(0x163)]=_0x1ce106(0x163),_0x32948e[_0x1ce106(0x26f)]=_0x1ce106(0x26f),_0x32948e[_0x1ce106(0x24f)]=_0x1ce106(0x24f),_0x32948e))(ne||{});class ve{constructor(){var _0x2d276a=_0x1ce106;N(this,_0x2d276a(0x13d),new _0x38504a()),N(this,_0x2d276a(0x9c),this[_0x2d276a(0x13d)]['asObservable']());}[_0x1ce106(0x237)](_0x50d045){var _0x50a9a5=_0x1ce106;this[_0x50a9a5(0x13d)][_0x50a9a5(0x252)](_0x50d045);}}const Us=_0x4073c0(_0x1ce106(0x265));function As(_0x23fb28){var _0x363666=_0x1ce106,_0x1919a3,_0x2aa812,_0x695432,_0x33bcfc,_0x489866;const _0x400ed8=_0x23fb28[_0x363666(0x2e7)],_0x2e093b=JSON['parse'](_0x400ed8);switch(_0x2e093b['cmd']){case F[_0x363666(0x1e4)]:case F[_0x363666(0x134)]:{const _0x56c0f3=_0x2e093b[_0x363666(0x23c)];return{..._0x2e093b,'data':_0x56c0f3,'cmd':_0x2e093b[_0x363666(0x271)]};}case F[_0x363666(0x2cb)]:{const _0x1c6295=_0x2e093b['joinRsp'];return{..._0x2e093b,'data':_0x1c6295,'cmd':_0x2e093b[_0x363666(0x271)]};}case F[_0x363666(0x25c)]:{const _0x190d2b=_0x2e093b[_0x363666(0x1a9)];switch(_0x190d2b[_0x363666(0x188)]){case _0x10c22b[_0x363666(0x225)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':(_0x1919a3=_0x190d2b['permissionRejEvent'])==null?void 0x0:_0x1919a3['cs']},'cmd':_0x2e093b['cmd']};case _0x10c22b[_0x363666(0xfc)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':(_0x2aa812=_0x190d2b[_0x363666(0x2ae)])==null?void 0x0:_0x2aa812['cs']},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x267)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':(_0x695432=_0x190d2b['newCsEvent'])==null?void 0x0:_0x695432['cs']},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x2a6)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':(_0x33bcfc=_0x190d2b[_0x363666(0x27e)])==null?void 0x0:_0x33bcfc['cs']},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x16f)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':(_0x489866=_0x190d2b[_0x363666(0x305)])==null?void 0x0:_0x489866['cs']},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x20f)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0x30c)]},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b['USERS_ENTER']:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0x2f0)]},'cmd':_0x2e093b['cmd']};case _0x10c22b['USERS_LEAVE']:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0x34d)]},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x149)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b['liveShareNewHost']},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x133)]:case _0x10c22b[_0x363666(0x196)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0x2af)]},'cmd':_0x2e093b['cmd']};case _0x10c22b[_0x363666(0x2d2)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b['liveShareNewHost']},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0xdc)]:return{..._0x2e093b,'data':_0x190d2b,'cmd':_0x2e093b['cmd']};case _0x10c22b['COMMENT_UPDATE']:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0x1eb)]},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b['UPDATE_PERMISSION_OBJ']:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0xf5)]},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x34c)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b[_0x363666(0x1cb)]},'cmd':_0x2e093b[_0x363666(0x271)]};case _0x10c22b[_0x363666(0x138)]:return{..._0x2e093b,'data':{..._0x190d2b,'data':_0x190d2b['uniscriptRunEvent']},'cmd':_0x2e093b[_0x363666(0x271)]};default:return _0x2e093b;}}default:return _0x2e093b;}}function ws(_0xc05d99){var _0x35a463=_0x1ce106;switch(_0xc05d99['cmd']){case F[_0x35a463(0x1e4)]:case F[_0x35a463(0x134)]:return JSON[_0x35a463(0x227)]({'cmd':_0xc05d99[_0x35a463(0x271)],'routeKey':_0xc05d99['routeKey']});case F[_0x35a463(0x307)]:{let _0x446a63;switch(_0xc05d99['data'][_0x35a463(0x188)]){case _0x10c22b[_0x35a463(0x20f)]:{_0x446a63={'eventID':_0x10c22b[_0x35a463(0x20f)],'updateCursorEvent':_0xc05d99[_0x35a463(0x2e7)]['data']};break;}case _0x10c22b[_0x35a463(0x123)]:{_0x446a63={'eventID':_0x10c22b[_0x35a463(0x123)],'leaveEvent':_0xc05d99[_0x35a463(0x2e7)][_0x35a463(0x2e7)]};break;}case _0x10c22b['USERS_ENTER']:{_0x446a63={'eventID':_0x10c22b[_0x35a463(0x234)],'joinEvent':_0xc05d99[_0x35a463(0x2e7)][_0x35a463(0x2e7)]};break;}case _0x10c22b[_0x35a463(0x149)]:{_0x446a63={'eventID':_0x10c22b[_0x35a463(0x149)],'liveShareNewHost':_0xc05d99[_0x35a463(0x2e7)]['data']};break;}case _0x10c22b[_0x35a463(0x196)]:{_0x446a63={'eventID':_0x10c22b['LIVESHARE_OPERATION'],'liveShareOperation':_0xc05d99[_0x35a463(0x2e7)]['data']};break;}case _0x10c22b[_0x35a463(0x2d2)]:{_0x446a63={'eventID':_0x10c22b['LIVESHARE_TERMINATE'],'liveShareTerminate':_0xc05d99[_0x35a463(0x2e7)][_0x35a463(0x2e7)]};break;}case _0x10c22b[_0x35a463(0x162)]:{_0x446a63={'eventID':_0x10c22b[_0x35a463(0x162)],'liveShareRequestHost':_0xc05d99[_0x35a463(0x2e7)]['data']};break;}case _0x10c22b['LIVESHARE_FETCH_OPERATIONS']:{_0x446a63={'eventID':_0x10c22b['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x446a63={'eventID':_0xc05d99[_0x35a463(0x2e7)]['eventID']};}return JSON['stringify']({'cmd':_0xc05d99['cmd'],'routeKey':_0xc05d99[_0x35a463(0x1b0)],'collaMsg':_0x446a63});}case F[_0x35a463(0x2cb)]:return JSON[_0x35a463(0x227)]({'cmd':_0xc05d99[_0x35a463(0x271)],'routeKey':_0xc05d99[_0x35a463(0x1b0)],'joinReq':_0xc05d99['data']});case F['LEAVE']:return JSON[_0x35a463(0x227)]({'cmd':_0xc05d99[_0x35a463(0x271)],'routeKey':_0xc05d99[_0x35a463(0x1b0)],'leaveReq':_0xc05d99[_0x35a463(0x2e7)]});default:throw new Error(_0x35a463(0x28c));}}var Ps=Object[_0x1ce106(0x29d)],Ls=(_0x184072,_0x407769,_0x4cae36,_0x2cde83)=>{var _0xade7ee=_0x1ce106;for(var _0x368ffe=_0x2cde83>0x1?void 0x0:_0x2cde83?Ps(_0x407769,_0x4cae36):_0x407769,_0x19a8d8=_0x184072[_0xade7ee(0x26d)]-0x1,_0x34f37c;_0x19a8d8>=0x0;_0x19a8d8--)(_0x34f37c=_0x184072[_0x19a8d8])&&(_0x368ffe=_0x34f37c(_0x368ffe)||_0x368ffe);return _0x368ffe;},Ue=(_0x481e83,_0xefa38f)=>(_0x1aff36,_0x33ad5d)=>_0xefa38f(_0x1aff36,_0x33ad5d,_0x481e83);const gi=_0x4073c0(_0x1ce106(0x345));function Ms(_0x95e178,_0x5270de,_0x5ef431){var _0x175e62=_0x1ce106;return _0x95e178+'/'+_0x5270de+_0x175e62(0x32e)+_0x5ef431+_0x175e62(0x334);}let Ft=class extends _0x17d42d{constructor(_0x31350a,_0x53f4b1,_0xa75d93,_0x550bec,_0x4c3e55){var _0x534a88=_0x1ce106;super(),this['_injector']=_0x31350a,this['_httpService']=_0x53f4b1,this['_configService']=_0xa75d93,this['_logService']=_0x550bec,this[_0x534a88(0xe5)]=_0x4c3e55;}[_0x1ce106(0xc0)](_0x97c049){var _0x3ed0bf=_0x1ce106;const _0x409786=this[_0x3ed0bf(0x105)]['get'](_0x43dea3);if(!_0x409786)throw new Error(_0x3ed0bf(0x14b));const _0x1c2f37=_0x409786[_0x3ed0bf(0x1c8)](_0x97c049);if(!_0x1c2f37)throw new Error(_0x3ed0bf(0x343));const _0x283e02=new _0xe4dc93(),_0x18ce54=new _0x38504a();_0x283e02['add'](_0x1c2f37[_0x3ed0bf(0x101)][_0x3ed0bf(0xa2)](_0x1294ae=>_0x18ce54[_0x3ed0bf(0x252)](_0x1294ae))),_0x283e02['add'](_0x1d8015(()=>_0x18ce54['complete']()));const _0x1e950b=new _0x38504a();_0x283e02['add'](_0x1c2f37[_0x3ed0bf(0x12f)]['subscribe'](_0x199195=>_0x1e950b[_0x3ed0bf(0x252)](_0x199195))),_0x283e02['add'](_0x1d8015(()=>_0x1e950b['complete']()));const _0x4c430a=new _0x38504a();_0x283e02['add'](_0x1c2f37[_0x3ed0bf(0x201)][_0x3ed0bf(0xa2)](_0x559b5f=>{var _0x30b165=_0x3ed0bf;const _0x21f48d=As(_0x559b5f);_0x4c430a[_0x30b165(0x252)](_0x21f48d);})),_0x283e02[_0x3ed0bf(0x194)](_0x1d8015(()=>_0x4c430a['complete']()));let _0x3186e6;const _0x363139=()=>{var _0x1aabd4=_0x3ed0bf;_0x1e950b['next'](new Event(_0x1aabd4(0x242))),_0x18ce54['next'](new Event(_0x1aabd4(0x242))),_0x3186e6['close']();};return _0x3186e6={'memberID':'','close$':_0x18ce54[_0x3ed0bf(0x14a)](),'error$':_0x1e950b[_0x3ed0bf(0x14a)](),'open$':_0x1c2f37[_0x3ed0bf(0x226)],'message$':_0x4c430a['asObservable'](),'send':_0x4235b4=>{var _0x58d7a7=_0x3ed0bf;if(_0x4235b4['cmd']===F[_0x58d7a7(0x307)]){if(_0x4235b4[_0x58d7a7(0x2e7)][_0x58d7a7(0x188)]===_0x10c22b[_0x58d7a7(0x328)]){this[_0x58d7a7(0x2bd)](_0x3186e6,_0x4235b4[_0x58d7a7(0x2e7)])[_0x58d7a7(0x191)](_0x1bfea9=>{var _0xc19713=_0x58d7a7;this[_0xc19713(0x331)][_0xc19713(0x211)](_0x1bfea9),_0x363139();});return;}if(_0x4235b4['data']['eventID']===_0x10c22b['FETCH_MISSING']){const _0x1e8ee8=_0x4235b4[_0x58d7a7(0x2e7)];this[_0x58d7a7(0x232)](_0x1e8ee8)[_0x58d7a7(0x1ff)](_0x2efd46=>{var _0x2c7741=_0x58d7a7;_0x4c430a[_0x2c7741(0x252)]({'cmd':F[_0x2c7741(0x25c)],'code':me['OK'],'routeKey':_0x1e8ee8[_0x2c7741(0x2e7)][_0x2c7741(0x323)],'routeType':'','data':{'eventID':_0x10c22b[_0x2c7741(0x22a)],'data':{'changesets':_0x2efd46}}});})[_0x58d7a7(0x191)](_0x34e644=>{var _0x495b06=_0x58d7a7;this[_0x495b06(0x331)][_0x495b06(0x211)](_0x34e644),_0x363139();});return;}}_0x1c2f37['send'](ws(_0x4235b4));},'close':()=>{var _0x45bda8=_0x3ed0bf;_0x1c2f37[_0x45bda8(0x1d8)](),_0x283e02[_0x45bda8(0x1a5)]();}},_0x3186e6;}async[_0x1ce106(0x2bd)](_0x21461f,_0x2e264a){var _0x1f964d=_0x1ce106,_0x508f8d,_0x18fe10;const {unitType:_0x548e0b,unitID:_0x17851e,changeset:_0x3ae13a}=_0x2e264a[_0x1f964d(0x2e7)],_0x136cf6={'unitID':_0x17851e,'memberID':_0x21461f['memberID'],'type':_0x548e0b,'changeset':_0x3b1831(_0x3ae13a)},_0x512f23=this['_configService'][_0x1f964d(0x18a)](bs),_0x5ebee7=this[_0x1f964d(0x23f)][_0x1f964d(0x18a)](K),_0x55cbaf=Ms((_0x18fe10=(_0x508f8d=_0x5ebee7==null?void 0x0:_0x5ebee7[_0x1f964d(0x382)])!=null?_0x508f8d:_0x512f23)!=null?_0x18fe10:Os,_0x548e0b,_0x17851e);try{await this[_0x1f964d(0x1b6)][_0x1f964d(0xf1)](_0x55cbaf,{'body':_0x136cf6});}catch(_0x21fa81){throw this['_logService'][_0x1f964d(0x211)](_0x1f964d(0x1b4),_0x1f964d(0x33e)),_0x21fa81;}}async[_0x1ce106(0x232)](_0x583d0b){var _0x2de1f2=_0x1ce106;const {unitID:_0x142d36,from:_0xea47c3,to:_0x4b395e,unitType:_0x858aa2}=_0x583d0b['data'];return(await this[_0x2de1f2(0xe5)][_0x2de1f2(0x386)]({'metadata':void 0x0},{'unitID':_0x142d36,'type':_0x858aa2,'from':_0xea47c3,'to':_0x4b395e}))[_0x2de1f2(0xe1)];}};Ft=Ls([Ue(0x0,_0x462e36(_0x454bc4)),Ue(0x1,_0x462e36(_0x91e7e9)),Ue(0x2,_0x4a5014),Ue(0x3,_0x103e27),Ue(0x4,_0x49f086)],Ft);const xs=_0x1ce106(0x21b);function ks(_0x352a27){var _0x13b591=_0x1ce106;return JSON[_0x13b591(0x227)](_0x352a27)[_0x13b591(0x26d)];}class Si{constructor(){var _0x23e567=_0x1ce106;N(this,_0x23e567(0x2fa),new _0x38504a()),N(this,'commentUpdate$',this['_commentUpdate$'][_0x23e567(0x14a)]());}['onCommentUpdate'](_0x43e3f1){var _0x435525=_0x1ce106;this['_commentUpdate$'][_0x435525(0x252)](_0x43e3f1);}}var $s=Object[_0x1ce106(0x29d)],Hs=(_0x14f801,_0x5101e3,_0x2c4723,_0x4e287c)=>{var _0x48d801=_0x1ce106;for(var _0x2c1228=_0x4e287c>0x1?void 0x0:_0x4e287c?$s(_0x5101e3,_0x2c4723):_0x5101e3,_0x1ce8d0=_0x14f801[_0x48d801(0x26d)]-0x1,_0x3c3723;_0x1ce8d0>=0x0;_0x1ce8d0--)(_0x3c3723=_0x14f801[_0x1ce8d0])&&(_0x2c1228=_0x3c3723(_0x2c1228)||_0x2c1228);return _0x2c1228;},Vt=(_0xfef389,_0x406958)=>(_0x3c206e,_0x1ba66a)=>_0x406958(_0x3c206e,_0x1ba66a,_0xfef389);let Pe=class extends _0x17d42d{constructor(_0x1e98bc,_0x3dd154){var _0x3bf365=_0x1ce106;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x38504a()),(this[_0x3bf365(0x2d8)]=_0x1e98bc,this[_0x3bf365(0x102)]=_0x3dd154,this[_0x3bf365(0x175)](_0x43d5e8(this['_univerInstanceService'][_0x3bf365(0x309)](_0x3e7358[_0x3bf365(0x112)])[_0x3bf365(0xd4)](_0x4c135a(_0x2368a5=>_0x2368a5[_0x3bf365(0x11f)]())),this[_0x3bf365(0x2d8)][_0x3bf365(0x309)](_0x3e7358['UNIVER_DOC'])[_0x3bf365(0xd4)](_0x4c135a(_0x4e9270=>_0x4e9270[_0x3bf365(0x11f)]())),this[_0x3bf365(0x2d8)][_0x3bf365(0x309)](_0x3e7358[_0x3bf365(0x26b)])[_0x3bf365(0xd4)](_0x4c135a(_0x5c957d=>_0x5c957d[_0x3bf365(0x11f)]())))[_0x3bf365(0xa2)](_0x468331=>this['_removeRoom'](_0x468331))));}[_0x1ce106(0xb4)](_0x49e8b9){var _0xba272=_0x1ce106;return this[_0xba272(0x314)]['has'](_0x49e8b9)?_0x2ce6f0(this[_0xba272(0x314)]['get'](_0x49e8b9)):this['_roomCreated$'][_0xba272(0xd4)](_0x4c135a(_0x476c21=>{var _0x15309a=_0xba272;if(_0x476c21===_0x49e8b9)return this[_0x15309a(0x314)][_0x15309a(0x36d)](_0x476c21);}));}['setCurrentUser'](_0x4c16a3){var _0x597fca=_0x1ce106;this[_0x597fca(0x102)][_0x597fca(0x2a2)](_0x4c16a3);}[_0x1ce106(0x254)](){var _0x4caff0=_0x1ce106;return this[_0x4caff0(0x102)][_0x4caff0(0x254)]();}[_0x1ce106(0x291)](_0x105b63,_0x294906){var _0x44ad6d=_0x1ce106;let _0x1e1abe=this['_roomMembers'][_0x44ad6d(0x36d)](_0x105b63);_0x1e1abe||(_0x1e1abe=new Bs(),this['_roomMembers'][_0x44ad6d(0x126)](_0x105b63,_0x1e1abe),this[_0x44ad6d(0x272)][_0x44ad6d(0x252)](_0x105b63)),_0x1e1abe['updateMember'](_0x294906);}[_0x1ce106(0xac)](_0x55b07a,_0x23b948){var _0x4caf8a=_0x1ce106;const _0x356e71=this[_0x4caf8a(0x314)][_0x4caf8a(0x36d)](_0x55b07a);_0x356e71&&_0x356e71[_0x4caf8a(0xac)](_0x23b948);}['getRoom'](_0x1070ab){var _0x76adc1=_0x1ce106;return this[_0x76adc1(0x314)][_0x76adc1(0x36d)](_0x1070ab);}[_0x1ce106(0x1c5)](_0x4b8dee,_0x10f943){var _0x143875=_0x1ce106;const _0x48826d=this[_0x143875(0x314)][_0x143875(0x36d)](_0x4b8dee);if(_0x48826d)return _0x48826d[_0x143875(0x1c5)](_0x10f943);}['_removeRoom'](_0x3baa53){var _0x3fee5b=_0x1ce106;const _0x46b5dd=this[_0x3fee5b(0x314)][_0x3fee5b(0x36d)](_0x3baa53);_0x46b5dd&&(_0x46b5dd[_0x3fee5b(0x1a5)](),this[_0x3fee5b(0x314)][_0x3fee5b(0x262)](_0x3baa53));}['dispose'](){var _0x5d97b7=_0x1ce106;this[_0x5d97b7(0x314)][_0x5d97b7(0x27c)](_0x4b5a8a=>_0x4b5a8a[_0x5d97b7(0x1a5)]()),this[_0x5d97b7(0x314)]['clear'](),this['_roomCreated$'][_0x5d97b7(0xea)]();}};Pe=Hs([Vt(0x0,_0x1f74c9),Vt(0x1,_0x462e36(_0x29dca9))],Pe);class Bs extends _0x17d42d{constructor(){var _0x254f1e=_0x1ce106;super(...arguments),N(this,_0x254f1e(0x15b),new Map()),N(this,_0x254f1e(0x95),new _0x88e997(this[_0x254f1e(0x15b)])),N(this,_0x254f1e(0x32b),this[_0x254f1e(0x95)]['asObservable']());}['dispose'](){var _0x28c30e=_0x1ce106;this[_0x28c30e(0x15b)][_0x28c30e(0xb1)]();}[_0x1ce106(0x291)](_0x8515e4){var _0x372ba7=_0x1ce106;this['_members'][_0x372ba7(0x126)](_0x8515e4['memberID'],_0x8515e4),this[_0x372ba7(0x135)]();}[_0x1ce106(0xac)](_0x4f0170){var _0x46ee03=_0x1ce106;this[_0x46ee03(0x15b)][_0x46ee03(0x262)](_0x4f0170);}['getMember'](_0x228688){var _0x1e7d2d=_0x1ce106;return this[_0x1e7d2d(0x15b)][_0x1e7d2d(0x36d)](_0x228688);}[_0x1ce106(0x349)](){var _0x5a5a4b=_0x1ce106;return Array[_0x5a5a4b(0x31b)](this[_0x5a5a4b(0x15b)][_0x5a5a4b(0x19d)]());}[_0x1ce106(0x135)](){var _0x3689e8=_0x1ce106;this[_0x3689e8(0x95)][_0x3689e8(0x252)](this['_members']);}}var js=Object[_0x1ce106(0x29d)],Fs=(_0x55f086,_0x4cb025,_0xd30f86,_0x320d27)=>{for(var _0x28b298=_0x320d27>0x1?void 0x0:_0x320d27?js(_0x4cb025,_0xd30f86):_0x4cb025,_0x48396b=_0x55f086['length']-0x1,_0x2da6fe;_0x48396b>=0x0;_0x48396b--)(_0x2da6fe=_0x55f086[_0x48396b])&&(_0x28b298=_0x2da6fe(_0x28b298)||_0x28b298);return _0x28b298;},pe=(_0x3d9fca,_0x54fe95)=>(_0x26a937,_0x282e3a)=>_0x54fe95(_0x26a937,_0x282e3a,_0x3d9fca),Se=(_0xce9390=>(_0xce9390[_0xce9390[_0x1ce106(0x2f2)]=0x0]=_0x1ce106(0x2f2),_0xce9390[_0xce9390[_0x1ce106(0x1ee)]=0x1]=_0x1ce106(0x1ee),_0xce9390[_0xce9390['OFFLINE']=0x2]='OFFLINE',_0xce9390[_0xce9390[_0x1ce106(0x202)]=0x3]=_0x1ce106(0x202),_0xce9390))(Se||{});const Gt={[me[_0x1ce106(0x31e)]]:_0x1ce106(0x1c3),[me[_0x1ce106(0x1f2)]]:_0x1ce106(0x383),[me[_0x1ce106(0x17f)]]:'session.room-not-exists',[me[_0x1ce106(0x2c0)]]:_0x1ce106(0xf6),[me['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x1ce106(0x209)};let gt=class extends _0x589295{constructor(_0x4d2f6d,_0x5b353e,_0x2d9c2c,_0x1eb374,_0x4b0232,_0x3c3ae6,_0x579209,_0x12e8a3,_0x28e3b9){var _0x41270f=_0x1ce106;super(),N(this,_0x41270f(0x322),new _0x88e997(0x0)),N(this,_0x41270f(0x218),this['_sessionStatus$'][_0x41270f(0x14a)]()),N(this,'_event$',new _0x38504a()),N(this,_0x41270f(0x9c),this[_0x41270f(0x13d)][_0x41270f(0x14a)]()),N(this,_0x41270f(0x257)),N(this,'_socketMessageSubscription'),N(this,_0x41270f(0x1d3)),N(this,_0x41270f(0x1fe),!0x1),N(this,'_telemetryInfo',null),(this[_0x41270f(0x246)]=_0x4d2f6d,this['_logService']=_0x2d9c2c,this['_configService']=_0x1eb374,this[_0x41270f(0x2d0)]=_0x4b0232,this[_0x41270f(0x376)]=_0x3c3ae6,this[_0x41270f(0x20b)]=_0x579209,this[_0x41270f(0xae)]=_0x12e8a3,this[_0x41270f(0x370)]=_0x28e3b9,this[_0x41270f(0x1fe)]=!!this[_0x41270f(0x370)],_0x5b353e[_0x41270f(0xd4)](_0x39fb4e(this['dispose$']))[_0x41270f(0xa2)](_0x18f1ea=>{var _0x4cfbfe=_0x41270f,_0x303e90;typeof _0x18f1ea>'u'||(this[_0x4cfbfe(0x257)]=_0x18f1ea,_0x18f1ea?(this[_0x4cfbfe(0x315)](_0x18f1ea),this[_0x4cfbfe(0x312)]=_0x18f1ea[_0x4cfbfe(0x201)][_0x4cfbfe(0xa2)](_0x57079b=>{var _0x557356=_0x4cfbfe;_0x57079b[_0x557356(0x1b0)]===this[_0x557356(0x246)]&&this['_onCombEvent'](_0x57079b);})):(this[_0x4cfbfe(0x100)](),this[_0x4cfbfe(0x322)][_0x4cfbfe(0x252)](0x2),(_0x303e90=this[_0x4cfbfe(0x312)])==null||_0x303e90['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x1ce106(0x186)](){var _0x81cc11=_0x1ce106;return this['_sessionStatus$'][_0x81cc11(0x1b3)]();}[_0x1ce106(0x14d)](){var _0x49ead6,_0x42a1cc;return(_0x42a1cc=(_0x49ead6=this['_socket'])==null?void 0x0:_0x49ead6['memberID'])!=null?_0x42a1cc:null;}[_0x1ce106(0x1a5)](){var _0x12b447=_0x1ce106;super['dispose'](),this[_0x12b447(0x184)][_0x12b447(0x252)](),this[_0x12b447(0x184)][_0x12b447(0xea)]();}['close'](){var _0x21ab77=_0x1ce106,_0x1cbc78,_0xcfc6c5;this[_0x21ab77(0x100)](),(_0x1cbc78=this[_0x21ab77(0x257)])==null||_0x1cbc78['send']({'cmd':F[_0x21ab77(0x251)],'data':{'roomID':this[_0x21ab77(0x246)]}}),(_0xcfc6c5=this[_0x21ab77(0x257)])==null||_0xcfc6c5[_0x21ab77(0x1d8)](),this[_0x21ab77(0x13d)][_0x21ab77(0xea)](),this[_0x21ab77(0x322)][_0x21ab77(0xea)](),this[_0x21ab77(0x1a5)]();}[_0x1ce106(0x119)](_0x3ffdbc){var _0x5e11d0=_0x1ce106;_0x3ffdbc[_0x5e11d0(0x271)]===F[_0x5e11d0(0x2cb)]?this['_onJoinRoomEvent'](_0x3ffdbc):_0x3ffdbc['cmd']===F[_0x5e11d0(0x25c)]&&this[_0x5e11d0(0x1f9)](_0x3ffdbc);}[_0x1ce106(0x315)](_0x52d739){var _0x30163a=_0x1ce106;this[_0x30163a(0x322)][_0x30163a(0x252)](0x1),_0x52d739['send']({'cmd':F[_0x30163a(0x2cb)],'routeKey':this[_0x30163a(0x246)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x1ce106(0x317)](_0xd0ffc3){var _0x5842b0=_0x1ce106,_0x474972;if(_0xd0ffc3[_0x5842b0(0x106)]in Gt){this[_0x5842b0(0xae)][_0x5842b0(0x237)]({'id':ne[_0x5842b0(0x15e)],'data':Gt[_0xd0ffc3[_0x5842b0(0x106)]]}),this['_sessionStatus$'][_0x5842b0(0x252)](0x2);return;}this['_sessionStatus$'][_0x5842b0(0x252)](0x3);const _0x1eff1f=(_0x474972=_0xd0ffc3[_0x5842b0(0x2e7)][_0x5842b0(0x150)][this[_0x5842b0(0x246)]])==null?void 0x0:_0x474972[_0x5842b0(0x1fb)];_0x1eff1f&&_0x1eff1f[_0x5842b0(0x27c)](_0x52a0de=>this[_0x5842b0(0x376)][_0x5842b0(0x291)](this[_0x5842b0(0x246)],_0x52a0de));}[_0x1ce106(0x1f9)](_0x122121){var _0x3b5349=_0x1ce106;try{const _0x211b3b=_0x122121[_0x3b5349(0x2e7)];switch(_0x211b3b[_0x3b5349(0x188)]){case _0x10c22b[_0x3b5349(0x234)]:this[_0x3b5349(0x281)](_0x211b3b),this[_0x3b5349(0x13d)][_0x3b5349(0x252)](_0x211b3b);break;case _0x10c22b[_0x3b5349(0x123)]:this[_0x3b5349(0x14e)](_0x211b3b),this[_0x3b5349(0x13d)][_0x3b5349(0x252)](_0x211b3b);break;case _0x10c22b['CHANGESET_ACK']:case _0x10c22b['CHANGESET_SHOULD_RETRY']:this[_0x3b5349(0xaf)](),this[_0x3b5349(0x2ec)](),this[_0x3b5349(0x13d)][_0x3b5349(0x252)](_0x211b3b);break;case _0x10c22b[_0x3b5349(0xdc)]:this[_0x3b5349(0x331)]['error'](_0x3b5349(0x37c)+JSON[_0x3b5349(0x227)](_0x211b3b)),this[_0x3b5349(0x13d)][_0x3b5349(0x252)](_0x211b3b);break;case _0x10c22b[_0x3b5349(0x384)]:this[_0x3b5349(0x20b)]['onCommentUpdate'](_0x211b3b[_0x3b5349(0x2e7)]),this['_event$'][_0x3b5349(0x252)](_0x211b3b);break;default:this['_event$'][_0x3b5349(0x252)](_0x211b3b);}}catch(_0x36ea87){this[_0x3b5349(0x331)][_0x3b5349(0x211)](_0x36ea87,_0x122121);}}[_0x1ce106(0x281)](_0x1208b2){var _0x245e6a=_0x1ce106;this['_memberService'][_0x245e6a(0x291)](this[_0x245e6a(0x246)],_0x1208b2[_0x245e6a(0x2e7)]);}[_0x1ce106(0x14e)](_0x3af62b){var _0x1d1833=_0x1ce106;this['_memberService']['removeMember'](this[_0x1d1833(0x246)],_0x3af62b[_0x1d1833(0x2e7)][_0x1d1833(0x35c)]);}async[_0x1ce106(0x14f)](_0x47d8df,_0x238e56){var _0x19e534=_0x1ce106;if(this[_0x19e534(0x186)]!==0x3||!this[_0x19e534(0x257)])throw new Error(_0x19e534(0xd2));try{_0x47d8df[_0x19e534(0x188)]===_0x10c22b[_0x19e534(0x328)]&&(this[_0x19e534(0x1af)](),this[_0x19e534(0x235)](_0x47d8df)),this[_0x19e534(0x257)][_0x19e534(0x14f)]({'cmd':F[_0x19e534(0x307)],'routeKey':_0x238e56,'routeType':'','data':_0x47d8df});}catch(_0x55be36){this['_logService'][_0x19e534(0x211)](_0x55be36);}}[_0x1ce106(0x1af)](){var _0x51a89f=_0x1ce106,_0x5a4663;this[_0x51a89f(0x1d3)]=setTimeout(()=>{var _0x2e4002=_0x51a89f;this[_0x2e4002(0x1d3)]=null,this[_0x2e4002(0xae)][_0x2e4002(0x237)]({'id':ne[_0x2e4002(0x24f)]});},(_0x5a4663=this[_0x51a89f(0x23f)][_0x51a89f(0x18a)](fi))!=null?_0x5a4663:vi);}['_clearCollaborationTimeoutTimer'](){var _0x449edf=_0x1ce106;this[_0x449edf(0x1d3)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x449edf(0x1d3)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x3b6740){var _0xd37861=_0x1ce106;if(!this[_0xd37861(0x1fe)])return;const {data:_0x2f69a9}=_0x3b6740,{unitID:_0x351e99,changeset:_0x38680d}=_0x2f69a9,{mutations:_0x455889,type:_0x35eb2e}=_0x38680d;this[_0xd37861(0x367)]={'unitId':_0x351e99,'type':_0x35eb2e,'startTime':performance[_0xd37861(0x1ec)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x455889)};}[_0x1ce106(0xaf)](){var _0xc1ff50=_0x1ce106;if(this[_0xc1ff50(0x1fe)]){if(!this[_0xc1ff50(0x367)]){this['_logService'][_0xc1ff50(0x211)](_0xc1ff50(0x1b4),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xc1ff50(0x367)][_0xc1ff50(0x35d)]=performance['now'](),this[_0xc1ff50(0x367)]['duration']=this[_0xc1ff50(0x367)][_0xc1ff50(0x35d)]-this[_0xc1ff50(0x367)][_0xc1ff50(0x1f7)],this[_0xc1ff50(0x370)][_0xc1ff50(0x2a5)](xs,this[_0xc1ff50(0x367)]),this[_0xc1ff50(0x367)]=null;}}[_0x1ce106(0x100)](){var _0x155b28=_0x1ce106;this[_0x155b28(0x367)]=null;}};gt=Fs([pe(0x2,_0x103e27),pe(0x3,_0x4a5014),pe(0x4,_0x462e36(_0x263ef2)),pe(0x5,_0x462e36(Pe)),pe(0x6,_0x462e36(Si)),pe(0x7,_0x462e36(ve)),pe(0x8,_0x26bebd(_0x57861e))],gt);var Vs=Object[_0x1ce106(0x29d)],Gs=(_0x568d1c,_0x5f233b,_0x351983,_0x121d6e)=>{for(var _0x429a3a=_0x121d6e>0x1?void 0x0:_0x121d6e?Vs(_0x5f233b,_0x351983):_0x5f233b,_0x1af0d1=_0x568d1c['length']-0x1,_0x6093b2;_0x1af0d1>=0x0;_0x1af0d1--)(_0x6093b2=_0x568d1c[_0x1af0d1])&&(_0x429a3a=_0x6093b2(_0x429a3a)||_0x429a3a);return _0x429a3a;},Re=(_0x2d056d,_0x2924f4)=>(_0x5c7c0d,_0x4e6a61)=>_0x2924f4(_0x5c7c0d,_0x4e6a61,_0x2d056d);let Le=class extends _0x17d42d{constructor(_0x5cba12,_0x54f124,_0x294a01,_0x3ce37a,_0x1fb398,_0x19d171){var _0x192be6=_0x1ce106;super(),N(this,_0x192be6(0x266),new _0x88e997(void 0x0)),N(this,_0x192be6(0x288),this[_0x192be6(0x266)]['asObservable']()),N(this,_0x192be6(0x38d),null),N(this,_0x192be6(0x333),new Map()),N(this,_0x192be6(0xda),new _0x88e997(Se[_0x192be6(0x2f2)])),N(this,_0x192be6(0x9f),this[_0x192be6(0xda)][_0x192be6(0x14a)]()),N(this,_0x192be6(0xab),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x192be6(0x116),0x0),N(this,_0x192be6(0x1bf)),N(this,'_timeoutTimer'),(this['_injector']=_0x5cba12,this[_0x192be6(0x331)]=_0x54f124,this[_0x192be6(0x23f)]=_0x294a01,this[_0x192be6(0x286)]=_0x3ce37a,this['_collaborationUIEventService']=_0x1fb398,this[_0x192be6(0x10e)]=_0x19d171,this[_0x192be6(0x30d)]());}get[_0x1ce106(0x257)](){var _0x116b4a=_0x1ce106;return this['_socket$'][_0x116b4a(0x1b3)]();}[_0x1ce106(0x30d)](){var _0x2907d6=_0x1ce106;this['_networkConditionService']&&this[_0x2907d6(0x175)](this[_0x2907d6(0x10e)][_0x2907d6(0x26a)][_0x2907d6(0xa2)](_0x408268=>{var _0x4d4f0e=_0x2907d6;_0x408268&&!this[_0x4d4f0e(0x257)]&&this[_0x4d4f0e(0x108)](),_0x408268||this[_0x4d4f0e(0x1b1)]();}));}[_0x1ce106(0x1a5)](){var _0x40b125=_0x1ce106;super[_0x40b125(0x1a5)](),this[_0x40b125(0x173)](),this[_0x40b125(0xc4)](),this[_0x40b125(0x2e0)](),this[_0x40b125(0x333)][_0x40b125(0x27c)](_0x321d7c=>_0x321d7c['dispose']()),this[_0x40b125(0x333)][_0x40b125(0xb1)](),this[_0x40b125(0xda)][_0x40b125(0xea)]();}async['requireSession'](_0x35659f){var _0x14fe66=_0x1ce106;if(this[_0x14fe66(0x333)][_0x14fe66(0x1bc)](_0x35659f))return this[_0x14fe66(0x333)][_0x14fe66(0x36d)](_0x35659f);this[_0x14fe66(0x12e)]();const _0x957f22=this['_injector'][_0x14fe66(0x164)](gt,_0x35659f,this[_0x14fe66(0x266)][_0x14fe66(0x14a)]());return this[_0x14fe66(0x333)]['set'](_0x35659f,_0x957f22),_0x957f22;}[_0x1ce106(0x337)](_0x546a10){var _0x458d3c=_0x1ce106,_0x27178a;const _0x5db114=this[_0x458d3c(0x333)][_0x458d3c(0x36d)](_0x546a10);_0x5db114&&(this[_0x458d3c(0x333)][_0x458d3c(0x262)](_0x546a10),_0x5db114['close']()),this[_0x458d3c(0x333)][_0x458d3c(0x23a)]||(_0x27178a=this[_0x458d3c(0x257)])==null||_0x27178a[_0x458d3c(0x1d8)]();}['reconnect'](){var _0x283d22=_0x1ce106;this[_0x283d22(0x116)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x1ce106(0x173)](){var _0x2f3c85=_0x1ce106;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2f3c85(0x11b)]),this['_retryConnectingTimer']=null);}async[_0x1ce106(0x29c)](){var _0x69bbfc=_0x1ce106,_0x5357f6,_0x3a34aa;const _0x28fcea=this['_configService']['getConfig'](gs),_0x54e993=this[_0x69bbfc(0x23f)]['getConfig'](K),_0x34188d=(_0x3a34aa=(_0x5357f6=_0x54e993==null?void 0x0:_0x54e993['collabWebSocketUrl'])!=null?_0x5357f6:_0x28fcea)!=null?_0x3a34aa:Ss,_0xa6172e=await this[_0x69bbfc(0x286)][_0x69bbfc(0x1c8)](_0x34188d);return this[_0x69bbfc(0x38d)]=_0xa6172e,_0xa6172e;}async[_0x1ce106(0x12e)](){var _0x465b21=_0x1ce106,_0xdfc6b1,_0x453216;try{const _0x141eb5=(_0x453216=(_0xdfc6b1=this[_0x465b21(0x257)])!=null?_0xdfc6b1:this[_0x465b21(0x38d)])!=null?_0x453216:await this[_0x465b21(0x29c)]();if(_0x141eb5){const _0x18512c=_0x141eb5[_0x465b21(0x14f)];_0x141eb5[_0x465b21(0x14f)]=_0x3c1990=>(this[_0x465b21(0x294)](),_0x18512c[_0x465b21(0x27d)](_0x141eb5,[_0x3c1990])),_0x141eb5[_0x465b21(0x201)]['subscribe'](_0x120d6f=>this['_onMessage'](_0x141eb5,_0x120d6f)),_0x141eb5[_0x465b21(0x12f)]['pipe'](_0x5ee7ee(0x1))[_0x465b21(0xa2)](_0x3d24e2=>this[_0x465b21(0x331)]['error'](_0x465b21(0x25e),_0x3d24e2)),_0x141eb5[_0x465b21(0x226)]['pipe'](_0x5ee7ee(0x1))[_0x465b21(0xa2)](()=>{var _0x3d46a3=_0x465b21;this[_0x3d46a3(0x181)](_0x141eb5);}),_0x141eb5[_0x465b21(0x101)][_0x465b21(0xd4)](_0x5ee7ee(0x1))[_0x465b21(0xa2)](_0x16e5c0=>{var _0x43caee=_0x465b21;this[_0x43caee(0x331)][_0x43caee(0x293)](_0x43caee(0xc7),_0x43caee(0x1cd),_0x16e5c0),this[_0x43caee(0x38a)]();});}}catch(_0x486812){this[_0x465b21(0x331)][_0x465b21(0x211)](_0x486812),this['_onConnectionFailed']();}}[_0x1ce106(0x181)](_0x37367e){var _0x5826c1=_0x1ce106;this[_0x5826c1(0x331)][_0x5826c1(0x293)](_0x5826c1(0xc7),_0x5826c1(0x368)),_0x37367e[_0x5826c1(0x14f)]({'cmd':F[_0x5826c1(0x134)]}),this[_0x5826c1(0x294)]();}[_0x1ce106(0x1b1)](){var _0x4de144=_0x1ce106;this[_0x4de144(0xab)]=!0x1,this[_0x4de144(0x38d)]=null,this[_0x4de144(0xda)][_0x4de144(0x252)](Se[_0x4de144(0x1a0)]),this[_0x4de144(0x266)][_0x4de144(0x252)](null),this[_0x4de144(0xc4)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x5be27d=_0x1ce106,_0xa59acc;this[_0x5be27d(0x1b1)](),this[_0x5be27d(0x116)]<((_0xa59acc=this[_0x5be27d(0x23f)][_0x5be27d(0x18a)](Cs))!=null?_0xa59acc:Rs)?(this[_0x5be27d(0xae)][_0x5be27d(0x237)]({'id':ne[_0x5be27d(0x163)]}),this[_0x5be27d(0xec)]()):this[_0x5be27d(0xae)]['emitEvent']({'id':ne[_0x5be27d(0x26f)]});}['_tryReconnect'](){var _0x54fde0=_0x1ce106,_0x5b0ffd;const _0x293143=this[_0x54fde0(0x116)],_0x10a641=this['_configService'][_0x54fde0(0x18a)](K),_0x81c298=_0x293143===0x0?0x0:((_0x5b0ffd=_0x10a641==null?void 0x0:_0x10a641[_0x54fde0(0x32a)])!=null?_0x5b0ffd:Ts)*0x2**_0x293143;this[_0x54fde0(0x11b)]=setTimeout(()=>{var _0x2c3480=_0x54fde0;clearTimeout(this['_retryConnectingTimer']),this[_0x2c3480(0x11b)]=null,this['_tryEnsureSocket']();},_0x81c298),this[_0x54fde0(0x116)]+=0x1;}['_onMessage'](_0x74bd72,_0x572f5a){var _0x535a15=_0x1ce106;const {cmd:_0x418baa}=_0x572f5a;_0x418baa===F[_0x535a15(0x134)]&&!this[_0x535a15(0xab)]&&(_0x74bd72[_0x535a15(0x35c)]=_0x572f5a[_0x535a15(0x2e7)][_0x535a15(0x35c)],this[_0x535a15(0x266)]['next'](_0x74bd72),this['_status$'][_0x535a15(0x252)](Se['ONLINE']),this[_0x535a15(0xab)]=!0x0,this[_0x535a15(0x38d)]=null),_0x418baa===F[_0x535a15(0x1e4)]&&this[_0x535a15(0xc4)](),this['_rescheduleHeartbeat']();}[_0x1ce106(0x294)](){var _0x2379b2=_0x1ce106,_0x206dae;this[_0x2379b2(0x2e0)](),this[_0x2379b2(0x1bf)]=setTimeout(()=>this[_0x2379b2(0x1ae)](),(_0x206dae=this[_0x2379b2(0x23f)]['getConfig'](Es))!=null?_0x206dae:Is);}[_0x1ce106(0x1ae)](){var _0x15b11a=_0x1ce106;this[_0x15b11a(0x257)][_0x15b11a(0x14f)]({'cmd':F[_0x15b11a(0x1e4)]}),this[_0x15b11a(0x362)]();}[_0x1ce106(0x362)](){var _0x333c9c=_0x1ce106,_0x3cb371;this[_0x333c9c(0x122)]=setTimeout(()=>this[_0x333c9c(0x38a)](),(_0x3cb371=this[_0x333c9c(0x23f)]['getConfig'](fi))!=null?_0x3cb371:vi);}[_0x1ce106(0x2e0)](){var _0x2e0513=_0x1ce106;this[_0x2e0513(0x1bf)]!=null&&(clearTimeout(this[_0x2e0513(0x1bf)]),this['_sendHeartbeatTimer']=null);}[_0x1ce106(0xc4)](){var _0x58d742=_0x1ce106;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x58d742(0x122)]),this[_0x58d742(0x122)]=null);}};Le=Gs([Re(0x0,_0x462e36(_0x454bc4)),Re(0x1,_0x103e27),Re(0x2,_0x4a5014),Re(0x3,gi),Re(0x4,_0x462e36(ve)),Re(0x5,_0x26bebd(Us))],Le);const J=_0x4073c0(_0x1ce106(0xe0));function Pr(_0x29e3ed){var _0x5240e6=_0x1ce106;return _0x5240e6(0x2de)+_0x29e3ed;}var Ws=Object['getOwnPropertyDescriptor'],Ys=(_0x54c896,_0x399ea6,_0x59638a,_0x3724ee)=>{var _0x5cc0bf=_0x1ce106;for(var _0xf89617=_0x3724ee>0x1?void 0x0:_0x3724ee?Ws(_0x399ea6,_0x59638a):_0x399ea6,_0x30a08b=_0x54c896[_0x5cc0bf(0x26d)]-0x1,_0x31440b;_0x30a08b>=0x0;_0x30a08b--)(_0x31440b=_0x54c896[_0x30a08b])&&(_0xf89617=_0x31440b(_0xf89617)||_0xf89617);return _0xf89617;},ut=(_0x2f1c3c,_0x302ffa)=>(_0x368dea,_0x358bff)=>_0x302ffa(_0x368dea,_0x358bff,_0x2f1c3c);function Ks(_0x2a46a9){var _0x35a745=_0x1ce106;const {unitID:_0x4998ff,mutations:_0x337ca9}=_0x2a46a9;return{'unitId':_0x4998ff,'subUnitId':_0x337ca9[0x0][_0x35a745(0x238)][_0x35a745(0x15d)]};}let it=class{constructor(_0x34a495,_0x4bbd83,_0x57c375){var _0x1c4286=_0x1ce106;this[_0x1c4286(0x105)]=_0x34a495,this['_transformService']=_0x4bbd83,this['_instanceService']=_0x57c375;}[_0x1ce106(0x189)](_0x3ebaaf){var _0x55fef8=_0x1ce106,_0x2c0a7e,_0x141c17,_0x472524,_0x3bcce2;const _0x13d658=this[_0x55fef8(0x105)]['get'](_0x3a2196),{unitId:_0x1fdf2b,subUnitId:_0x5c44b0}=Ks(_0x3ebaaf),_0x81cc1=_0x13d658==null?void 0x0:_0x13d658['getWorkbookSelections'](_0x1fdf2b)['getCurrentSelections'](),_0x37be8a=(_0x141c17=(_0x2c0a7e=this[_0x55fef8(0x385)][_0x55fef8(0xf4)](_0x1fdf2b))==null?void 0x0:_0x2c0a7e['getActiveSheet']())==null?void 0x0:_0x141c17['getSheetId']();if(_0x81cc1[_0x55fef8(0x26d)]===0x0||!_0x1fdf2b||!_0x5c44b0)return;const _0xa244e3=[{'id':_0x18af86['id'],'params':{'unitId':_0x1fdf2b,'subUnitId':_0x37be8a,'selections':_0x40a632[_0x55fef8(0xe6)](_0x81cc1)}}],_0x4f80a8=this[_0x55fef8(0x342)][_0x55fef8(0x348)](_0x3ebaaf,_0xa244e3);if(!_0x227c39(_0x4f80a8))throw _0x4f80a8['error'];const _0x124e0f=(_0x3bcce2=(_0x472524=_0x4f80a8[_0x55fef8(0x22c)][0x0])==null?void 0x0:_0x472524[_0x55fef8(0x238)])==null?void 0x0:_0x3bcce2[_0x55fef8(0x301)];if(Array[_0x55fef8(0xff)](_0x124e0f)&&_0x124e0f[_0x55fef8(0x26d)]){if(_0x124e0f['length']===_0xa244e3[0x0][_0x55fef8(0x238)][_0x55fef8(0x301)][_0x55fef8(0x26d)]&&_0x124e0f['every']((_0xd72d1a,_0x18a48f)=>_0x32edc0[_0x55fef8(0x155)](_0xd72d1a[_0x55fef8(0x249)],_0xa244e3[0x0][_0x55fef8(0x238)]['selections'][_0x18a48f][_0x55fef8(0x249)])))return;this[_0x55fef8(0x105)][_0x55fef8(0x36d)](_0x5a4b18)[_0x55fef8(0x137)](_0x18af86['id'],{'unitId':_0x1fdf2b,'subUnitId':_0x37be8a,'selections':_0x124e0f});}}};it=Ys([ut(0x0,_0x462e36(_0x454bc4)),ut(0x1,_0x9cb7ab),ut(0x2,_0x1f74c9)],it);const ht=_0x4073c0('univer-pro.collaboration-client.single-active-unit-service');var Ei=(_0x23ddc2=>(_0x23ddc2[_0x23ddc2['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x23ddc2[_0x23ddc2[_0x1ce106(0x2b0)]=0x1]=_0x1ce106(0x2b0),_0x23ddc2))(Ei||{});const qs=new Set([_0x273dcc['id']]);function Wt(_0x5a401e,_0x3cc639,_0x4b82ad,_0x487370,_0x4832d0){var _0x318856=_0x1ce106,_0x62a551,_0x18257f,_0x3c7314,_0x2a2345;const _0x4a2bc3=[];for(const _0x3c3556 of _0x5a401e)if(qs[_0x318856(0x1bc)](_0x3c3556['id'])){if(_0x4a2bc3[_0x318856(0x26d)]>0x0)break;_0x4a2bc3['push'](_0x3c3556);break;}else _0x4a2bc3[_0x318856(0x34a)](_0x3c3556);const _0x5d2f67=(_0x18257f=(_0x62a551=_0x4832d0[_0x318856(0x254)]())==null?void 0x0:_0x62a551[_0x318856(0x30b)])!=null?_0x18257f:'unknown',_0xe1c801=(_0x2a2345=(_0x3c7314=_0x4832d0[_0x318856(0x254)]())==null?void 0x0:_0x3c7314[_0x318856(0x35c)])!=null?_0x2a2345:'unknown';return{'changeset':{'unitID':_0x3cc639,'type':_0x52ea29(_0x4b82ad[_0x318856(0x104)](_0x3cc639)),'baseRev':_0x487370[_0x318856(0x220)](_0x3cc639),'revision':0x0,'userID':_0x5d2f67,'memberID':_0xe1c801,'mutations':_0x4a2bc3},'pendingMutations':_0x5a401e['slice'](_0x4a2bc3[_0x318856(0x26d)])};}function zs(_0x28018c,_0x50c934,_0x4bb6de,_0x199319,_0x5200cf){var _0x32a500=_0x1ce106,_0x19d3a3,_0x2f98b7,_0x219c69,_0x8a7c8a;const _0x1420b5=[_0x28018c['reduce']((_0xfbd3b7,_0x3c6d6d)=>{var _0x3ad892=_0x654c,_0x9c222e;const {id:_0x5c47e0}=_0xfbd3b7,{id:_0x310228,type:_0x1929db}=_0x3c6d6d,_0x58e20c=(_0x9c222e=_0xfbd3b7[_0x3ad892(0x238)])!=null?_0x9c222e:{'actions':null},_0x37224a=_0x3c6d6d[_0x3ad892(0x238)];if(_0x5c47e0&&_0x5c47e0!==_0x310228)throw new Error(_0x3ad892(0x2b2)+_0x5c47e0+_0x3ad892(0xa1)+_0x310228+'.');return{..._0xfbd3b7,'id':_0x310228,'type':_0x1929db,'params':{'unitId':_0x37224a['unitId'],'textRanges':_0x37224a[_0x3ad892(0x130)],'actions':_0x23b5a0[_0x3ad892(0x2e6)](_0x58e20c[_0x3ad892(0x2da)],_0x37224a[_0x3ad892(0x2da)])}};},{})],_0x635cef=(_0x2f98b7=(_0x19d3a3=_0x5200cf['getCurrentUser']())==null?void 0x0:_0x19d3a3[_0x32a500(0x30b)])!=null?_0x2f98b7:_0x32a500(0x152),_0x5e7a9d=(_0x8a7c8a=(_0x219c69=_0x5200cf['getCurrentUser']())==null?void 0x0:_0x219c69[_0x32a500(0x35c)])!=null?_0x8a7c8a:_0x32a500(0x152);return{'changeset':{'unitID':_0x50c934,'type':_0x52ea29(_0x4bb6de[_0x32a500(0x104)](_0x50c934)),'baseRev':_0x199319['getCurrentRevOfUnit'](_0x50c934),'revision':0x0,'userID':_0x635cef,'memberID':_0x5e7a9d,'mutations':_0x1420b5},'pendingMutations':[]};}function Ii(_0x1a2358,_0x47348b){var _0x13686a=_0x1ce106;const _0x54b609=new _0x3b11f3(0x1);return setTimeout(()=>_0x54b609[_0x13686a(0x252)](_0x47348b),_0x1a2358),_0x54b609['asObservable']()[_0x13686a(0xd4)](_0x54a276(0x1));}const Js={'id':_0x3ef308['id'],'type':_0x59c115[_0x1ce106(0x2bc)],'params':{}};var Xs=Object[_0x1ce106(0x29d)],Ie=(_0x5a7a83,_0x2b25c5,_0x5c398b,_0x12aa2f)=>{var _0x1fa34=_0x1ce106;for(var _0x364611=_0x12aa2f>0x1?void 0x0:_0x12aa2f?Xs(_0x2b25c5,_0x5c398b):_0x2b25c5,_0x5a37b5=_0x5a7a83[_0x1fa34(0x26d)]-0x1,_0x304185;_0x5a37b5>=0x0;_0x5a37b5--)(_0x304185=_0x5a7a83[_0x5a37b5])&&(_0x364611=_0x304185(_0x364611)||_0x364611);return _0x364611;},P=(_0x246ece,_0x199fff)=>(_0x5d6426,_0x3cef8c)=>_0x199fff(_0x5d6426,_0x3cef8c,_0x246ece),Ti=(_0x2922da=>(_0x2922da[_0x1ce106(0x96)]='not_collab',_0x2922da['SYNCED']='synced',_0x2922da['PENDING']=_0x1ce106(0x33a),_0x2922da[_0x1ce106(0x324)]=_0x1ce106(0x1f5),_0x2922da[_0x1ce106(0x208)]=_0x1ce106(0x1c0),_0x2922da[_0x1ce106(0x193)]=_0x1ce106(0x1ac),_0x2922da['CONFLICT']=_0x1ce106(0x1f4),_0x2922da[_0x1ce106(0x1a0)]='offline',_0x2922da))(Ti||{});const Ci=0xea60;class Te{constructor(_0x3a3ed8,_0x195e7e,_0x49e772,_0x260f75,_0x1503bb,_0x57322c,_0x3edfbc,_0x13adb,_0x1ad2b8){var _0x5cf51e=_0x1ce106;N(this,'_awaitingChangeset',null),N(this,_0x5cf51e(0x2f8),[]),(this[_0x5cf51e(0x323)]=_0x3a3ed8,this[_0x5cf51e(0x260)]=_0x195e7e,this[_0x5cf51e(0xa9)]=_0x1503bb,this['_commandService']=_0x57322c,this['_undoRedoService']=_0x3edfbc,this[_0x5cf51e(0xde)]=_0x13adb,this['_localCacheService']=_0x1ad2b8,this[_0x5cf51e(0x24b)]=_0x49e772,this[_0x5cf51e(0x2f8)]=_0x260f75);}[_0x1ce106(0x2f3)](_0xdefc1d){var _0x3ecfbf=_0x1ce106;const _0x345cac=this[_0x3ecfbf(0xde)][_0x3ecfbf(0x220)](this['unitID']);return _0xdefc1d[_0x3ecfbf(0x2a3)]>_0x345cac+0x1?(this[_0x3ecfbf(0xa9)][_0x3ecfbf(0x374)]({'from':_0x345cac,'to':_0xdefc1d[_0x3ecfbf(0x2a3)]-0x1}),!0x0):!0x1;}[_0x1ce106(0x31c)](_0x229501){var _0x1f23c2=_0x1ce106;this[_0x1f23c2(0x2ed)][_0x1f23c2(0xb2)](this[_0x1f23c2(0x323)],_0x229501);}[_0x1ce106(0x1d9)](_0x520df7){var _0x57cb76=_0x1ce106,_0x436b95,_0x239c9b;(_0x239c9b=(_0x436b95=this[_0x57cb76(0xa9)])[_0x57cb76(0xa7)])==null||_0x239c9b[_0x57cb76(0x17b)](_0x436b95,_0x520df7);}[_0x1ce106(0x299)](_0x4cbe16){var _0xeee6c9=_0x1ce106,_0x52b2c3,_0x49f84a;return(_0x49f84a=(_0x52b2c3=this[_0xeee6c9(0xa9)])['onTransformIME'])==null?void 0x0:_0x49f84a[_0xeee6c9(0x17b)](_0x52b2c3,_0x4cbe16);}[_0x1ce106(0x2e4)](_0x7f4dc8){var _0x40b3c3=_0x1ce106,_0x30a0f5,_0x307a1f;return(_0x307a1f=(_0x30a0f5=this[_0x40b3c3(0xa9)])[_0x40b3c3(0x32d)])==null?void 0x0:_0x307a1f[_0x40b3c3(0x17b)](_0x30a0f5,_0x7f4dc8);}['_transformRemoteChangesetByIMECache'](_0x68b765){var _0x1523bf=_0x1ce106,_0x115f7f,_0x4fce69,_0x13bc0c;return(_0x13bc0c=(_0x4fce69=(_0x115f7f=this[_0x1523bf(0xa9)])[_0x1523bf(0x332)])==null?void 0x0:_0x4fce69['call'](_0x115f7f,_0x68b765))!=null?_0x13bc0c:_0x68b765;}[_0x1ce106(0x21f)](_0xb0d50a){var _0x312783=_0x1ce106,_0x1b29ad,_0x339e34,_0x3f0a31;return(_0x3f0a31=(_0x339e34=(_0x1b29ad=this[_0x312783(0xa9)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x339e34['call'](_0x1b29ad,_0xb0d50a))!=null?_0x3f0a31:_0xb0d50a;}[_0x1ce106(0x387)](_0x39dd4b){var _0x4a89d8=_0x1ce106,_0x57e54b,_0x210513;if(this[_0x4a89d8(0x260)]===Z['UNIVER_DOC']){const {unitID:_0x501488,mutations:_0x38a17a,memberID:_0x23c8e7}=_0x39dd4b,_0x54d4a4=_0x38a17a[0x0]['params'][_0x4a89d8(0x130)];Array[_0x4a89d8(0xff)](_0x54d4a4)&&_0x54d4a4[_0x4a89d8(0x26d)]>0x0&&((_0x210513=(_0x57e54b=this[_0x4a89d8(0xa9)])[_0x4a89d8(0x114)])==null||_0x210513[_0x4a89d8(0x17b)](_0x57e54b,{'unitID':_0x501488,'memberID':_0x23c8e7,'textRanges':_0x54d4a4}));}}[_0x1ce106(0x19a)](){var _0x5245dc=_0x1ce106,_0x6182cf;(_0x6182cf=this['_localCacheService'])==null||_0x6182cf['updateOfflineData'](this[_0x5245dc(0x323)],this[_0x5245dc(0x260)],this[_0x5245dc(0x24b)],this[_0x5245dc(0x2f8)]);}['_getCurrentRevision'](){var _0x597452=_0x1ce106;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x597452(0x323)]);}[_0x1ce106(0x206)](){var _0x284fca=_0x1ce106;this[_0x284fca(0xde)][_0x284fca(0x16e)](this['unitID']);}['_executeRemoteChangeset'](_0x27f914){var _0x5a270a=_0x1ce106,_0x13e52b;let _0x54994e=this[_0x5a270a(0x176)](_0x27f914);_0x54994e=this['_transformRemoteChangesetByStateCache'](_0x54994e);const _0x5a4b0b=_0x196ae8(_0x54994e['mutations'],this[_0x5a270a(0xfe)],{'fromCollab':!0x0});if(!_0x5a4b0b[_0x5a270a(0x355)])throw _0x5a4b0b[_0x5a270a(0x211)]instanceof Error?_0x5a4b0b[_0x5a270a(0x211)]:new Error((_0x13e52b=_0x5a4b0b['error'])!=null?_0x13e52b:_0x5a270a(0x320));this[_0x5a270a(0x299)](_0x54994e),this[_0x5a270a(0x2e4)](_0x54994e),this['_transformUndoredo'](_0x27f914),this[_0x5a270a(0x1d9)](_0x54994e),this[_0x5a270a(0x387)](_0x54994e),this[_0x5a270a(0x206)]();}}let ye=class extends Te{constructor(_0x43138c,_0x109dcf,_0x3fdc37,_0x336ee1,_0x412718,_0x29cde7,_0x50c051,_0x1d4558,_0x166afb,_0x57c11c){var _0x11b566=_0x1ce106;super(_0x43138c,_0x109dcf,null,[],_0x3fdc37,_0x50c051,_0x29cde7,_0x336ee1,_0x57c11c),N(this,_0x11b566(0xd3),_0x11b566(0x160)),(this[_0x11b566(0x105)]=_0x412718,this[_0x11b566(0x331)]=_0x1d4558,this[_0x11b566(0x342)]=_0x166afb,this[_0x11b566(0x358)]=_0x57c11c);}[_0x1ce106(0x29b)](_0x2e6bb4){var _0x1aa7c2=_0x1ce106;const _0xe10805=this[_0x1aa7c2(0x105)][_0x1aa7c2(0x164)](re,this[_0x1aa7c2(0x323)],this[_0x1aa7c2(0x260)],[_0x2e6bb4],this[_0x1aa7c2(0xa9)]);return _0xe10805[_0x1aa7c2(0xe8)](),_0xe10805['_updateLocalCache'](),_0xe10805;}[_0x1ce106(0x2b9)](_0x3fd5de){var _0x27577b=_0x1ce106;if(this['_checkMissing'](_0x3fd5de))return this[_0x27577b(0x105)][_0x27577b(0x164)](Q,this['unitID'],this[_0x27577b(0x260)],null,[],null,[_0x3fd5de],this[_0x27577b(0xa9)]);try{const _0x101525=this[_0x27577b(0x342)][_0x27577b(0x348)](_0x3fd5de,[Js]);if(_0x227c39(_0x101525)){const {c1Prime:_0x46f061}=_0x101525;return this[_0x27577b(0x185)](_0x46f061),this;}throw _0x101525[_0x27577b(0x211)];}catch(_0x50deaa){return this[_0x27577b(0x331)][_0x27577b(0x211)](_0x50deaa),this['_onConflict'](!0x1);}}[_0x1ce106(0x2d5)](_0x1ceadc){var _0xda978=_0x1ce106;return this[_0xda978(0x105)][_0xda978(0x164)](le,this[_0xda978(0x323)],this['type'],null,[],this[_0xda978(0xa9)],_0x1ceadc);}[_0x1ce106(0xe7)](){var _0x26d04b=_0x1ce106;throw new Error(_0x26d04b(0xa8));}['onRemoteRej'](){var _0x19896d=_0x1ce106;throw new Error(_0x19896d(0x389));}['onRemoteRetry'](){return this;}[_0x1ce106(0x1a8)](){var _0x1443b2=_0x1ce106;return this[_0x1443b2(0x105)][_0x1443b2(0x164)](ue,this[_0x1443b2(0x323)],this['type'],null,[],this[_0x1443b2(0xa9)]);}[_0x1ce106(0xfd)](){return this;}[_0x1ce106(0x303)](){var _0x2cacb2=_0x1ce106;throw new Error(_0x2cacb2(0x279));}['fetchMiss'](){var _0x4d0c75=_0x1ce106;const _0x421731=this['_revisionService'][_0x4d0c75(0x220)](this['unitID']);return this[_0x4d0c75(0xa9)][_0x4d0c75(0x374)]({'from':_0x421731,'to':0x0}),this[_0x4d0c75(0x105)]['createInstance'](Q,this[_0x4d0c75(0x323)],this[_0x4d0c75(0x260)],null,[],null,[],this[_0x4d0c75(0xa9)]);}};ye=Ie([P(0x3,_0x462e36(_0x5c44a5)),P(0x4,_0x462e36(_0x454bc4)),P(0x5,_0x49d306),P(0x6,_0x5a4b18),P(0x7,_0x103e27),P(0x8,_0x9cb7ab),P(0x9,_0x26bebd(J))],ye);let re=class extends Te{constructor(_0x59fdcd,_0x1664be,_0x569cc0,_0x1f431f,_0x446d13,_0x4a1567,_0x551e6d,_0x3c8fab,_0x73724d,_0x404722,_0x1bdbff,_0x39e20b,_0x5aef34,_0x387f98){var _0x3c1070=_0x1ce106;super(_0x59fdcd,_0x1664be,null,_0x569cc0,_0x1f431f,_0x73724d,_0x5aef34,_0x4a1567,_0x387f98),N(this,_0x3c1070(0xd3),_0x3c1070(0x33a)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x3c1070(0x24a),null),(this[_0x3c1070(0x105)]=_0x446d13,this[_0x3c1070(0x376)]=_0x551e6d,this['_logService']=_0x3c8fab,this[_0x3c1070(0x23f)]=_0x404722,this[_0x3c1070(0x342)]=_0x1bdbff,this[_0x3c1070(0x2d8)]=_0x39e20b);}['appendMutation'](_0x5e3ad6){var _0x299612=_0x1ce106;return this[_0x299612(0x2f8)][_0x299612(0x34a)](_0x5e3ad6),this[_0x299612(0x19a)](),this;}['onRemoteChangeset'](_0x442a5d){var _0x3a5ea9=_0x1ce106;if(this[_0x3a5ea9(0x2f3)](_0x442a5d))return this[_0x3a5ea9(0x1a3)](),this[_0x3a5ea9(0x105)][_0x3a5ea9(0x164)](Q,this[_0x3a5ea9(0x323)],this['type'],null,this[_0x3a5ea9(0x2f8)],null,[_0x442a5d],this['_handler']);try{const _0xfbf319=this['_transformService'][_0x3a5ea9(0x348)](_0x442a5d,this[_0x3a5ea9(0x2f8)]);if(_0x227c39(_0xfbf319)){const {c1Prime:_0x5e632a,m2Prime:_0x2a2f85}=_0xfbf319;this[_0x3a5ea9(0x185)](_0x5e632a);const _0x2a7a84=this[_0x3a5ea9(0x105)][_0x3a5ea9(0x164)](re,this[_0x3a5ea9(0x323)],this[_0x3a5ea9(0x260)],_0x2a2f85,this[_0x3a5ea9(0xa9)]);this[_0x3a5ea9(0x1a3)]();const _0x26a396=new Date()['getTime'](),_0x4c13e3=this['_scheduleCompleteTimestamp']?Math[_0x3a5ea9(0x280)](this[_0x3a5ea9(0x38f)]-_0x26a396,0x0):this['_getSendChangesetTimeout']();return _0x2a7a84[_0x3a5ea9(0xe8)](_0x4c13e3),_0x2a7a84;}throw _0xfbf319[_0x3a5ea9(0x211)];}catch(_0x5e32e0){return this[_0x3a5ea9(0x331)][_0x3a5ea9(0x211)](_0x5e32e0),this[_0x3a5ea9(0x2d5)](!0x1);}}[_0x1ce106(0xe7)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0xab8268=_0x1ce106;throw new Error(_0xab8268(0x2ab));}['onRemoteRetry'](){return this;}[_0x1ce106(0x1a8)](){var _0x3f3df2=_0x1ce106;return this['_clearScheduledTask'](),this[_0x3f3df2(0x105)][_0x3f3df2(0x164)](ue,this[_0x3f3df2(0x323)],this['type'],null,this[_0x3f3df2(0x2f8)],this[_0x3f3df2(0xa9)]);}[_0x1ce106(0xfd)](){return this;}['_schedule'](_0x241b31){var _0x177190=_0x1ce106;const _0x4c795a=_0x241b31!=null?_0x241b31:this[_0x177190(0x31a)]();this[_0x177190(0x38f)]=new Date()[_0x177190(0x2f5)]()+_0x4c795a,this[_0x177190(0x24a)]=setTimeout(()=>{var _0x53e0db=_0x177190;this[_0x53e0db(0x1a3)]();let _0x1e6d64=null;switch(this[_0x53e0db(0x260)]){case Z[_0x53e0db(0x112)]:{_0x1e6d64=Wt(this[_0x53e0db(0x2f8)],this['unitID'],this[_0x53e0db(0x2d8)],this[_0x53e0db(0xde)],this[_0x53e0db(0x376)]);break;}case Z['UNIVER_DOC']:{this[_0x53e0db(0x2f8)]['every'](_0x2f25da=>_0x2f25da['id']===_0x5d5c10['id'])?_0x1e6d64=zs(this['_pendingMutations'],this[_0x53e0db(0x323)],this[_0x53e0db(0x2d8)],this[_0x53e0db(0xde)],this[_0x53e0db(0x376)]):_0x1e6d64=Wt(this[_0x53e0db(0x2f8)],this[_0x53e0db(0x323)],this[_0x53e0db(0x2d8)],this[_0x53e0db(0xde)],this['_memberService']);break;}default:throw new Error(_0x53e0db(0xdb)+this['type']+_0x53e0db(0x338));}const {changeset:_0x39637b,pendingMutations:_0x4c3118}=_0x1e6d64;this[_0x53e0db(0xa9)][_0x53e0db(0x1e7)](_0x39637b);const _0x4933cb=_0x4c3118[_0x53e0db(0x26d)]?this[_0x53e0db(0x105)][_0x53e0db(0x164)](ae,this[_0x53e0db(0x323)],this['type'],_0x39637b,_0x4c3118,this[_0x53e0db(0xa9)],void 0x0):this[_0x53e0db(0x105)]['createInstance'](_e,this[_0x53e0db(0x323)],this[_0x53e0db(0x260)],_0x39637b,this['_handler']);_0x4933cb[_0x53e0db(0x19a)](),this[_0x53e0db(0xa9)]['onStateChange'](this,_0x4933cb);},_0x4c795a);}[_0x1ce106(0x31a)](){var _0x3d89e5=_0x1ce106,_0x2e4d57;const _0x4d2feb=this[_0x3d89e5(0x23f)][_0x3d89e5(0x18a)](K);return(_0x2e4d57=_0x4d2feb==null?void 0x0:_0x4d2feb['sendChangesetTimeout'])!=null?_0x2e4d57:ms;}[_0x1ce106(0x303)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ce106(0x1a3)](){var _0x5cdb06=_0x1ce106;this[_0x5cdb06(0x24a)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x5cdb06(0x24a)]=null);}[_0x1ce106(0x2d5)](_0x5ce795){var _0x59c9af=_0x1ce106;return this[_0x59c9af(0x1a3)](),this[_0x59c9af(0x105)][_0x59c9af(0x164)](le,this[_0x59c9af(0x323)],this[_0x59c9af(0x260)],null,this[_0x59c9af(0x2f8)],this[_0x59c9af(0xa9)],_0x5ce795);}};re=Ie([P(0x4,_0x462e36(_0x454bc4)),P(0x5,_0x462e36(_0x5c44a5)),P(0x6,_0x462e36(Pe)),P(0x7,_0x103e27),P(0x8,_0x5a4b18),P(0x9,_0x4a5014),P(0xa,_0x9cb7ab),P(0xb,_0x1f74c9),P(0xc,_0x49d306),P(0xd,_0x26bebd(J))],re);let _e=class extends Te{constructor(_0x51c178,_0x11674e,_0x9ef3c5,_0x4b9299,_0x35f91f,_0x4b0189,_0x251cdd,_0x32670,_0x234103,_0x3b70a9,_0x52fe2f){var _0xb4d05e=_0x1ce106;super(_0x51c178,_0x11674e,_0x9ef3c5,[],_0x4b9299,_0x251cdd,_0x3b70a9,_0x4b0189,_0x52fe2f),N(this,_0xb4d05e(0xd3),'awaiting'),N(this,_0xb4d05e(0x2e8),0x0),N(this,_0xb4d05e(0x120)),N(this,_0xb4d05e(0x25f)),(this['_injector']=_0x35f91f,this[_0xb4d05e(0x331)]=_0x32670,this[_0xb4d05e(0x342)]=_0x234103);}[_0x1ce106(0x29b)](_0x41b2de){var _0x1651b2=_0x1ce106;this['_clearScheduledTask']();const _0x41ca3e=this[_0x1651b2(0x105)][_0x1651b2(0x164)](ae,this['unitID'],this[_0x1651b2(0x260)],this[_0x1651b2(0x24b)],[_0x41b2de],this[_0x1651b2(0xa9)],this[_0x1651b2(0x120)]);return _0x41ca3e[_0x1651b2(0x19a)](),_0x41ca3e;}[_0x1ce106(0x2b9)](_0x558590){var _0xa52366=_0x1ce106;if(this['_checkMissing'](_0x558590))return this[_0xa52366(0x1a3)](),this[_0xa52366(0x105)]['createInstance'](Q,this[_0xa52366(0x323)],this['type'],this[_0xa52366(0x24b)],[],null,[_0x558590],this[_0xa52366(0xa9)]);try{const _0x29c826=this[_0xa52366(0x342)][_0xa52366(0x356)]([_0x558590],[this[_0xa52366(0x24b)]],!0x1);if(_0x493bfc(_0x29c826)){const {c1Prime:_0x305cdd,c2Prime:_0x4f6f01}=_0x29c826;this[_0xa52366(0x185)](_0x305cdd[0x0]),_0x4f6f01[0x0][_0xa52366(0x1b9)]=this[_0xa52366(0x139)](),this[_0xa52366(0x1a3)]();const _0x257649=this[_0xa52366(0x105)][_0xa52366(0x164)](_e,this['unitID'],this[_0xa52366(0x260)],_0x4f6f01[0x0],this[_0xa52366(0xa9)]);return _0x257649[_0xa52366(0x19a)](),_0x257649;}return this['_onConflict'](!0x1);}catch(_0x1a2844){return this['_logService']['error'](_0x1a2844),this[_0xa52366(0x2d5)](!0x1);}}[_0x1ce106(0xe7)](_0x447db7){var _0x29c40b=_0x1ce106;this[_0x29c40b(0x1a3)]();const _0x44d445=this[_0x29c40b(0xde)][_0x29c40b(0x220)](this[_0x29c40b(0x323)]);if(_0x447db7[_0x29c40b(0x2a3)]<_0x44d445-0x1)return this;if(this[_0x29c40b(0x2f3)](_0x447db7))return this['_injector']['createInstance'](Q,this['unitID'],this[_0x29c40b(0x260)],null,[],this['_awaitingChangeset'],[],this[_0x29c40b(0xa9)]);this[_0x29c40b(0x206)]();const _0x4589b1=this[_0x29c40b(0x105)][_0x29c40b(0x164)](ye,this[_0x29c40b(0x323)],this[_0x29c40b(0x260)],this['_handler']);return _0x4589b1[_0x29c40b(0x19a)](),_0x4589b1;}['onRemoteRej'](_0x3c285f){var _0xed693=_0x1ce106;return this[_0xed693(0x2d5)](!!(_0x3c285f!=null&&_0x3c285f[_0xed693(0x311)]));}['onRemoteRetry'](_0x56907c){var _0x4c9a21=_0x1ce106;return this['_resendTimeout']>Ci?this[_0x4c9a21(0x1a8)]():(this['_resendTimer']=Ii(this[_0x4c9a21(0x2e8)],{'timeout':this[_0x4c9a21(0x2e8)],'reqId':_0x56907c[_0x4c9a21(0x23b)]}),this[_0x4c9a21(0x25f)]=this[_0x4c9a21(0x120)][_0x4c9a21(0xa2)](({reqId:_0x4334bc,timeout:_0x272866})=>{var _0x2b1a78=_0x4c9a21;this[_0x2b1a78(0x180)](_0x4334bc,_0x272866);}),this);}[_0x1ce106(0x1a8)](){var _0x2bee9c=_0x1ce106;return this['_clearScheduledTask'](),this[_0x2bee9c(0x105)][_0x2bee9c(0x164)](ue,this[_0x2bee9c(0x323)],this['type'],this[_0x2bee9c(0x24b)],[],this[_0x2bee9c(0xa9)]);}[_0x1ce106(0xfd)](){return this;}['resend'](){var _0x3caa7b=_0x1ce106;this[_0x3caa7b(0xa9)][_0x3caa7b(0x1e7)](this[_0x3caa7b(0x24b)]);}['_onConflict'](_0x5b6dd0){var _0x3fc63b=_0x1ce106;return this['_clearScheduledTask'](),this[_0x3fc63b(0x105)][_0x3fc63b(0x164)](le,this[_0x3fc63b(0x323)],this['type'],this['_awaitingChangeset'],[],this[_0x3fc63b(0xa9)],_0x5b6dd0);}[_0x1ce106(0x180)](_0x34af2f,_0x262af4){var _0x2938a2=_0x1ce106,_0x5742b2;_0x34af2f===((_0x5742b2=this[_0x2938a2(0x24b)])==null?void 0x0:_0x5742b2['reqId'])&&(this[_0x2938a2(0x303)](),this['_resendTimeout']=_0x262af4===0x0?0x3e8:_0x262af4*0x2);}[_0x1ce106(0x1a3)](){var _0x17f3fe=_0x1ce106,_0x6b5980;(_0x6b5980=this['_sender'])==null||_0x6b5980['unsubscribe'](),this[_0x17f3fe(0x2e8)]=0x0;}};_e=Ie([P(0x4,_0x462e36(_0x454bc4)),P(0x5,_0x462e36(_0x5c44a5)),P(0x6,_0x5a4b18),P(0x7,_0x103e27),P(0x8,_0x9cb7ab),P(0x9,_0x49d306),P(0xa,_0x26bebd(J))],_e);let ae=class extends Te{constructor(_0x48e0b3,_0xe07e8b,_0x1bfadd,_0x15b8d2,_0x395a95,_0x408b2d,_0x2eec45,_0x58e39b,_0x5a32c3,_0x2748ad,_0x3a099d,_0x4ff78b,_0x23eca2){var _0x2fb25d=_0x1ce106;super(_0x48e0b3,_0xe07e8b,_0x1bfadd,_0x15b8d2,_0x395a95,_0x5a32c3,_0x4ff78b,_0x58e39b,_0x23eca2),N(this,'status',_0x2fb25d(0x1c0)),N(this,'_resendTimeout',0x0),N(this,_0x2fb25d(0x120)),N(this,'_sender'),(this['_injector']=_0x2eec45,this['_logService']=_0x2748ad,this[_0x2fb25d(0x342)]=_0x3a099d,this['localCacheService']=_0x23eca2,_0x408b2d&&(this[_0x2fb25d(0x120)]=_0x408b2d,this[_0x2fb25d(0x25f)]=this[_0x2fb25d(0x120)]['subscribe'](({reqId:_0x4d1133,timeout:_0x3f3fda})=>{var _0x250d26=_0x2fb25d;this[_0x250d26(0x180)](_0x4d1133,_0x3f3fda);})));}[_0x1ce106(0x29b)](_0x2c4f7c){var _0x298224=_0x1ce106;return this[_0x298224(0x2f8)][_0x298224(0x34a)](_0x2c4f7c),this;}[_0x1ce106(0x2b9)](_0xbf45db){var _0x5433e9=_0x1ce106;if(this['_checkMissing'](_0xbf45db))return this[_0x5433e9(0x1a3)](),this[_0x5433e9(0x105)][_0x5433e9(0x164)](Q,this['unitID'],this[_0x5433e9(0x260)],this['_awaitingChangeset'],this[_0x5433e9(0x2f8)],null,[_0xbf45db],this[_0x5433e9(0xa9)]);try{const _0x5c725f=this[_0x5433e9(0x342)]['transformChangesets']([_0xbf45db],[this[_0x5433e9(0x24b)]],!0x1);if(_0x493bfc(_0x5c725f)){const {c1Prime:_0x21e76e,c2Prime:_0x54a24e}=_0x5c725f,_0x170367=this[_0x5433e9(0x342)][_0x5433e9(0x348)](_0x21e76e[0x0],this[_0x5433e9(0x2f8)]);if(_0x227c39(_0x170367)){const {c1Prime:_0x522d2e,m2Prime:_0x7b3565}=_0x170367;return this[_0x5433e9(0x185)](_0x522d2e),_0x54a24e[0x0][_0x5433e9(0x1b9)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x5433e9(0x105)][_0x5433e9(0x164)](ae,this['unitID'],this[_0x5433e9(0x260)],_0x54a24e[0x0],_0x7b3565,this[_0x5433e9(0xa9)],void 0x0);}throw _0x170367[_0x5433e9(0x211)];}throw _0x5c725f[_0x5433e9(0x211)];}catch(_0x2104c8){return this['_logService']['error'](_0x2104c8),this[_0x5433e9(0x2d5)](!0x1);}}['onRemoteAck'](_0x163e4a){var _0x114b7d=_0x1ce106;if(this[_0x114b7d(0x1a3)](),this[_0x114b7d(0x2f3)](_0x163e4a))return this[_0x114b7d(0x105)]['createInstance'](Q,this[_0x114b7d(0x323)],this[_0x114b7d(0x260)],null,this[_0x114b7d(0x2f8)],this[_0x114b7d(0x24b)],[],this[_0x114b7d(0xa9)]);this['_incrementRevisionNumber']();const _0xdfe138=this['_injector'][_0x114b7d(0x164)](re,this[_0x114b7d(0x323)],this['type'],this[_0x114b7d(0x2f8)],this[_0x114b7d(0xa9)]);return _0xdfe138[_0x114b7d(0xe8)](),_0xdfe138[_0x114b7d(0x19a)](),_0xdfe138;}[_0x1ce106(0x11c)](_0x3c735b){var _0x5a1071=_0x1ce106;return this[_0x5a1071(0x2d5)](!!(_0x3c735b!=null&&_0x3c735b['isPermissionRej']));}[_0x1ce106(0x270)](_0x421ec8){var _0x166611=_0x1ce106;return this[_0x166611(0x2e8)]>Ci?this['toggleOffline']():(this['_resendTimer']=Ii(this[_0x166611(0x2e8)],{'timeout':this[_0x166611(0x2e8)],'reqId':_0x421ec8['reqId']}),this[_0x166611(0x25f)]=this['_resendTimer'][_0x166611(0xa2)](({reqId:_0x376935,timeout:_0x1ebabc})=>{this['_resendWithTimeout'](_0x376935,_0x1ebabc);}),this);}['toggleOffline'](){var _0x5a494a=_0x1ce106;return this[_0x5a494a(0x1a3)](),this[_0x5a494a(0x105)]['createInstance'](ue,this[_0x5a494a(0x323)],this[_0x5a494a(0x260)],this['_awaitingChangeset'],this[_0x5a494a(0x2f8)],this['_handler']);}[_0x1ce106(0xfd)](){return this;}[_0x1ce106(0x303)](){var _0x52ec6d=_0x1ce106;this['_handler']['onSendChangeset'](this[_0x52ec6d(0x24b)]);}[_0x1ce106(0x2d5)](_0x279204){var _0x3bfe5a=_0x1ce106;return this[_0x3bfe5a(0x1a3)](),this[_0x3bfe5a(0x105)][_0x3bfe5a(0x164)](le,this[_0x3bfe5a(0x323)],this[_0x3bfe5a(0x260)],null,this[_0x3bfe5a(0x2f8)],this[_0x3bfe5a(0xa9)],_0x279204);}[_0x1ce106(0x180)](_0x20056c,_0x147193){var _0x224dea=_0x1ce106,_0x244d7a;_0x20056c===((_0x244d7a=this[_0x224dea(0x24b)])==null?void 0x0:_0x244d7a['reqId'])&&(this[_0x224dea(0x303)](),this[_0x224dea(0x2e8)]=_0x147193===0x0?0x3e8:_0x147193*0x2);}[_0x1ce106(0x1a3)](){var _0x4f51ce=_0x1ce106,_0x50d6ff;(_0x50d6ff=this['_sender'])==null||_0x50d6ff[_0x4f51ce(0x2ca)](),this[_0x4f51ce(0x2e8)]=0x0;}};ae=Ie([P(0x6,_0x462e36(_0x454bc4)),P(0x7,_0x462e36(_0x5c44a5)),P(0x8,_0x5a4b18),P(0x9,_0x103e27),P(0xa,_0x9cb7ab),P(0xb,_0x49d306),P(0xc,_0x26bebd(J))],ae);let le=class extends Te{constructor(_0x356472,_0x2ebf05,_0x437ae0,_0x41d107,_0x17ac8d,_0x504bf5=!0x1,_0x377078,_0x5bb461,_0x39459f,_0x1866f2,_0x3e4966,_0x18c88c,_0x411b24){var _0x4a1b4c=_0x1ce106;super(_0x356472,_0x2ebf05,_0x437ae0,_0x41d107,_0x17ac8d,_0x5bb461,_0x39459f,_0x1866f2,_0x411b24),N(this,_0x4a1b4c(0xd3),_0x4a1b4c(0x1f4)),(this[_0x4a1b4c(0x1b2)]=_0x504bf5,this['_permissionService']=_0x377078,this[_0x4a1b4c(0x2d0)]=_0x3e4966,this[_0x4a1b4c(0xae)]=_0x18c88c,this['localCacheService']=_0x411b24,this[_0x4a1b4c(0xd7)](),this[_0x4a1b4c(0x98)](),this[_0x4a1b4c(0xe9)]());}[_0x1ce106(0x29b)](){return this;}['onRemoteChangeset'](){return this;}[_0x1ce106(0xe7)](){return this;}[_0x1ce106(0x11c)](){return this;}['onRemoteRetry'](){return this;}[_0x1ce106(0x1a8)](){return this;}[_0x1ce106(0xfd)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1ce106(0x98)](){var _0x55d01f=_0x1ce106,_0x2f4323;(_0x2f4323=this['_localCacheService'])==null||_0x2f4323[_0x55d01f(0xee)](this[_0x55d01f(0x323)],this[_0x55d01f(0x260)],null,[]);}['_showConflictNotification'](){var _0x1f9f26=_0x1ce106;this[_0x1f9f26(0x1b2)]?this[_0x1f9f26(0xae)][_0x1f9f26(0x237)]({'id':ne[_0x1f9f26(0x2db)]}):this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x1f9f26(0x1cf)]});}['_disableEditing'](){var _0x58a186=_0x1ce106;this[_0x58a186(0x1d2)]['updatePermissionPoint'](new _0x2b88e9(this['unitID'])['id'],!0x1);}};le=Ie([P(0x6,_0x462e36(_0x26f4a9)),P(0x7,_0x5a4b18),P(0x8,_0x49d306),P(0x9,_0x462e36(_0x5c44a5)),P(0xa,_0x462e36(_0x263ef2)),P(0xb,_0x462e36(ve)),P(0xc,_0x26bebd(J))],le);let ue=class extends Te{constructor(_0x321530,_0x114bba,_0x542409,_0x1ebbb5,_0x4ec6c4,_0x51adc7,_0x31e248,_0x2452e7,_0x5f53e7,_0x5acf7a){var _0x2b2736=_0x1ce106;super(_0x321530,_0x114bba,_0x542409,_0x1ebbb5,_0x4ec6c4,_0x2452e7,_0x5f53e7,_0x31e248,_0x5acf7a),N(this,_0x2b2736(0xd3),'offline'),this[_0x2b2736(0x105)]=_0x51adc7;}[_0x1ce106(0x29b)](_0x39ed42){var _0x13e7e7=_0x1ce106;return this['_pendingMutations']['push'](_0x39ed42),this[_0x13e7e7(0x19a)](),this;}[_0x1ce106(0x2b9)](_0x157eb9){var _0x41cee1=_0x1ce106;throw new Error(_0x41cee1(0x17e));}[_0x1ce106(0xe7)](){var _0x3477d1=_0x1ce106;throw new Error(_0x3477d1(0xb7));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1ce106(0x1a8)](){return this;}[_0x1ce106(0xfd)](){var _0xabce71=_0x1ce106;const {_injector:_0x1b501f,_pendingMutations:_0x45490b,_awaitingChangeset:_0x47684a,unitID:_0x5abe40,_handler:_0x255a94,type:_0x12d0e8}=this,_0x366f52=Ri(_0x1b501f,_0x5abe40,_0x12d0e8,_0x47684a,_0x45490b,_0x255a94);return _0x366f52 instanceof re?_0x366f52[_0xabce71(0xe8)]():(_0x366f52 instanceof ae||_0x366f52 instanceof _e)&&_0x366f52[_0xabce71(0x303)](),_0x366f52;}[_0x1ce106(0x303)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0x462e36(_0x454bc4)),P(0x6,_0x462e36(_0x5c44a5)),P(0x7,_0x5a4b18),P(0x8,_0x49d306),P(0x9,_0x26bebd(J))],ue);let Q=class extends Te{constructor(_0x4c4ec4,_0x4b92a5,_0x436f77,_0x387bc5,_0x57fb0f,_0x40c9e8,_0x21f539,_0x235966,_0x2b37a8,_0x292e5f,_0x4f037f,_0x5eff46,_0x5dc4fa,_0x2e09ab){var _0x5e30d9=_0x1ce106;super(_0x4c4ec4,_0x4b92a5,_0x436f77,_0x387bc5,_0x21f539,_0x4f037f,_0x5eff46,_0x2b37a8,_0x2e09ab),N(this,'status','fetch_missing'),(this[_0x5e30d9(0x2fc)]=_0x57fb0f,this[_0x5e30d9(0x19e)]=_0x40c9e8,this[_0x5e30d9(0x105)]=_0x235966,this[_0x5e30d9(0x331)]=_0x292e5f,this[_0x5e30d9(0x342)]=_0x5dc4fa,this[_0x5e30d9(0x358)]=_0x2e09ab);}[_0x1ce106(0x1ad)](_0x594a0c){var _0x296f8b=_0x1ce106;try{const _0x5b1343=[..._0x594a0c,...this[_0x296f8b(0x19e)]],_0xb31936=[this[_0x296f8b(0x24b)]||this[_0x296f8b(0x2fc)]][_0x296f8b(0x146)](_0x40d1d7=>!!_0x40d1d7);let _0x235048,_0x496295;if(_0xb31936[_0x296f8b(0x26d)]){const _0x55c352=this[_0x296f8b(0x342)][_0x296f8b(0x356)](_0x5b1343,_0xb31936,!0x1);if(!_0x493bfc(_0x55c352))throw _0x55c352[_0x296f8b(0x211)];_0x235048=_0x55c352[_0x296f8b(0x174)],_0x496295=_0x55c352[_0x296f8b(0x157)];}else _0x235048=_0x5b1343,_0x496295=[];let _0x419d75=this[_0x296f8b(0x2f8)];_0x235048[_0x296f8b(0x27c)](_0x4656dd=>{var _0x18f2b8=_0x296f8b;let _0x471782;if(_0x419d75[_0x18f2b8(0x26d)]){const _0x12e78f=this[_0x18f2b8(0x342)][_0x18f2b8(0x348)](_0x4656dd,_0x419d75);if(!_0x227c39(_0x12e78f))throw _0x12e78f['error'];_0x471782=_0x12e78f[_0x18f2b8(0x174)],_0x419d75=_0x12e78f['m2Prime'];}else _0x471782=_0x4656dd;this[_0x18f2b8(0x185)](_0x471782);}),this[_0x296f8b(0x2fc)]&&this['_incrementRevisionNumber'](),this[_0x296f8b(0x24b)]&&_0x496295['length']&&(_0x496295[0x0][_0x296f8b(0x1b9)]=this[_0x296f8b(0x139)]());let _0x185313;if(this['_awaitingChangeset']&&_0x419d75[_0x296f8b(0x26d)]!==0x0)_0x185313=this[_0x296f8b(0x105)][_0x296f8b(0x164)](ae,this[_0x296f8b(0x323)],this[_0x296f8b(0x260)],_0x496295[0x0],_0x419d75,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x419d75[_0x296f8b(0x26d)]===0x0)_0x496295[0x0]['baseRev']=this[_0x296f8b(0x139)](),_0x185313=this[_0x296f8b(0x105)]['createInstance'](_e,this[_0x296f8b(0x323)],this[_0x296f8b(0x260)],_0x496295[0x0],this[_0x296f8b(0xa9)]);else{if(_0x419d75[_0x296f8b(0x26d)]!==0x0){const _0x89ebfa=this[_0x296f8b(0x105)][_0x296f8b(0x164)](re,this['unitID'],this[_0x296f8b(0x260)],_0x419d75,this[_0x296f8b(0xa9)]);_0x89ebfa[_0x296f8b(0xe8)](),_0x185313=_0x89ebfa;}else _0x185313=this[_0x296f8b(0x105)][_0x296f8b(0x164)](ye,this['unitID'],this['type'],this[_0x296f8b(0xa9)]);}}return _0x185313['_updateLocalCache'](),_0x185313;}catch(_0x18b9fa){return this[_0x296f8b(0x331)][_0x296f8b(0x211)](_0x296f8b(0x36b),_0x296f8b(0x336),_0x18b9fa),this[_0x296f8b(0x105)]['createInstance'](le,this[_0x296f8b(0x323)],this[_0x296f8b(0x260)],this[_0x296f8b(0x24b)],this[_0x296f8b(0x2f8)],this['_handler'],!0x1);}}[_0x1ce106(0x303)](){var _0x230248=_0x1ce106;throw new Error(_0x230248(0x233));}[_0x1ce106(0x29b)](_0x51db01){return this['_pendingMutations']['push'](_0x51db01),this;}['onRemoteChangeset'](_0x264739){var _0x2972cd=_0x1ce106;return this[_0x2972cd(0x19e)][_0x2972cd(0x34a)](_0x264739),this;}['onRemoteAck'](_0x3cd98e){var _0x505708=_0x1ce106;if(this[_0x505708(0x24b)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x505708(0x24b)]=null,this;throw new Error(_0x505708(0x11a));}['onRemoteRej'](_0x41d19a){var _0x1093ca=_0x1ce106;return this[_0x1093ca(0x2d5)](!!(_0x41d19a!=null&&_0x41d19a[_0x1093ca(0x311)]));}[_0x1ce106(0x270)](){return this;}[_0x1ce106(0x1a8)](){var _0x15231b=_0x1ce106;return this[_0x15231b(0x105)]['createInstance'](ue,this[_0x15231b(0x323)],this[_0x15231b(0x260)],this['_awaitingChangeset'],this[_0x15231b(0x2f8)],this[_0x15231b(0xa9)]);}[_0x1ce106(0xfd)](){return this;}[_0x1ce106(0x2d5)](_0x3bba59){var _0x33ee60=_0x1ce106;return this[_0x33ee60(0x105)]['createInstance'](le,this[_0x33ee60(0x323)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x33ee60(0xa9)],_0x3bba59);}};Q=Ie([P(0x7,_0x462e36(_0x454bc4)),P(0x8,_0x462e36(_0x5c44a5)),P(0x9,_0x103e27),P(0xa,_0x5a4b18),P(0xb,_0x49d306),P(0xc,_0x9cb7ab),P(0xd,_0x26bebd(J))],Q);function Ri(_0x31955f,_0x3feee0,_0x2584b7,_0x18fb5e,_0x3b842b,_0xbc8c0){var _0x5df863=_0x1ce106;return _0x18fb5e&&_0x3b842b[_0x5df863(0x26d)]?_0x31955f[_0x5df863(0x164)](ae,_0x3feee0,_0x2584b7,_0x18fb5e,_0x3b842b,_0xbc8c0,void 0x0):_0x18fb5e?_0x31955f['createInstance'](_e,_0x3feee0,_0x2584b7,_0x18fb5e,_0xbc8c0):_0x3b842b['length']?_0x31955f[_0x5df863(0x164)](re,_0x3feee0,_0x2584b7,_0x3b842b,_0xbc8c0):_0x31955f[_0x5df863(0x164)](ye,_0x3feee0,_0x2584b7,_0xbc8c0);}var Zs=Object[_0x1ce106(0x29d)],wt=(_0x2720af,_0x341514,_0x23cc78,_0x50a39d)=>{var _0x29bedb=_0x1ce106;for(var _0x41ad80=_0x50a39d>0x1?void 0x0:_0x50a39d?Zs(_0x341514,_0x23cc78):_0x341514,_0x127b83=_0x2720af[_0x29bedb(0x26d)]-0x1,_0x31ba9b;_0x127b83>=0x0;_0x127b83--)(_0x31ba9b=_0x2720af[_0x127b83])&&(_0x41ad80=_0x31ba9b(_0x41ad80)||_0x41ad80);return _0x41ad80;},H=(_0x580d0a,_0x3d79dd)=>(_0x15e614,_0x140099)=>_0x3d79dd(_0x15e614,_0x140099,_0x580d0a);let st=class extends _0x589295{constructor(_0xcd8ee5,_0x536715,_0x566716,_0x1f5544,_0x24b1d7,_0x889c5a,_0x141c0c,_0x5aa4cb,_0x1eb49f,_0x37d9ea,_0x73e071,_0x37b0f7,_0x4b74ba){var _0x93862b=_0x1ce106;super(),N(this,_0x93862b(0xf2),new _0x88e997(null)),N(this,_0x93862b(0x2f6),this[_0x93862b(0xf2)]['asObservable']()),N(this,_0x93862b(0x2f4)),N(this,_0x93862b(0x2dd),!0x1),N(this,_0x93862b(0x37a),''),N(this,_0x93862b(0x351),0x0),N(this,'status$',this[_0x93862b(0x2f6)][_0x93862b(0xd4)](_0x2a9118(_0x3d742b=>_0x3d742b?_0x3d742b['status']:Ti[_0x93862b(0x1a0)]),_0x282109(0x1))),N(this,_0x93862b(0x197),!0x1),N(this,_0x93862b(0x21a),[]),(this[_0x93862b(0x323)]=_0xcd8ee5,this[_0x93862b(0x224)]=_0x536715,this[_0x93862b(0x183)]=_0x566716,this['_injector']=_0x1f5544,this[_0x93862b(0xaa)]=_0x24b1d7,this['_localeService']=_0x889c5a,this[_0x93862b(0xde)]=_0x141c0c,this[_0x93862b(0x347)]=_0x5aa4cb,this[_0x93862b(0x331)]=_0x1eb49f,this[_0x93862b(0xfe)]=_0x37d9ea,this[_0x93862b(0x1d2)]=_0x73e071,this[_0x93862b(0x243)]=_0x37b0f7,this[_0x93862b(0x2a8)]=_0x4b74ba);}get['state'](){var _0x27c7a5=_0x1ce106;return this[_0x27c7a5(0x2f4)];}async[_0x1ce106(0x35f)](){var _0x8f5532=_0x1ce106;if(this[_0x8f5532(0x33d)])throw new Error(_0x8f5532(0x93));await this[_0x8f5532(0xbf)]();}[_0x1ce106(0x2a9)](){var _0xb57ec6=_0x1ce106;return this[_0xb57ec6(0x2dd)]=!0x0,_0x1d8015(()=>{var _0xa20575=_0xb57ec6;this[_0xa20575(0x2dd)]=!0x1,this[_0xa20575(0x158)]();});}[_0x1ce106(0x380)](_0x23c810){var _0x4a51fd=_0x1ce106;this[_0x4a51fd(0x1f0)](_0x23c810);}[_0x1ce106(0x357)](_0x465bee){var _0xc7f381=_0x1ce106;this[_0xc7f381(0x2f4)]=_0x465bee,this[_0xc7f381(0xf2)][_0xc7f381(0x252)](_0x465bee);}async[_0x1ce106(0xbf)](){var _0x90a22e=_0x1ce106,_0x16b4a2;this[_0x90a22e(0x357)](await this[_0x90a22e(0x378)]()),this[_0x90a22e(0x243)]&&((_0x16b4a2=this[_0x90a22e(0x243)])==null||_0x16b4a2['editingUnit'](this['unitID']),this[_0x90a22e(0x175)](this[_0x90a22e(0x243)][_0x90a22e(0x2c3)](this[_0x90a22e(0x323)])[_0x90a22e(0xa2)](_0x19b108=>{var _0x39cc6c=_0x90a22e;this['_logService'][_0x39cc6c(0x293)](_0x39cc6c(0x38b),_0x39cc6c(0x22f),_0x19b108),_0x19b108===Ei[_0x39cc6c(0x2b0)]?(this[_0x39cc6c(0x347)]['emitEvent']({'id':ne['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x39cc6c(0x12d)](new _0x2b88e9(this[_0x39cc6c(0x323)])['id'],!0x1),this[_0x39cc6c(0x1d2)][_0x39cc6c(0x354)](!0x1)):(this[_0x39cc6c(0x1d2)][_0x39cc6c(0x12d)](new _0x2b88e9(this[_0x39cc6c(0x323)])['id'],!0x0),this[_0x39cc6c(0x1d2)][_0x39cc6c(0x354)](!0x0));})));let _0x8b7439=!0x1;return this[_0x90a22e(0x175)](this[_0x90a22e(0x224)][_0x90a22e(0x218)][_0x90a22e(0xa2)](_0x14f151=>{var _0x1af4f1=_0x90a22e;_0x14f151===Se['ONLINE']?this[_0x1af4f1(0x1de)](_0x8b7439):_0x14f151===Se[_0x1af4f1(0x1a0)]&&(_0x8b7439=!0x0,this[_0x1af4f1(0x2f1)]());})),this[_0x90a22e(0x175)](this[_0x90a22e(0x224)]['event$'][_0x90a22e(0xa2)](_0x5e6799=>{var _0x5037af=_0x90a22e;try{switch(_0x5e6799[_0x5037af(0x188)]){case _0x10c22b[_0x5037af(0x267)]:{this[_0x5037af(0xd9)](_0x1f35c6(_0x5e6799[_0x5037af(0x2e7)]));break;}case _0x10c22b[_0x5037af(0xfc)]:{this[_0x5037af(0x111)](_0x5e6799[_0x5037af(0x2e7)]);break;}case _0x10c22b['CHANGESET_REJ']:{this[_0x5037af(0x20c)]();break;}case _0x10c22b[_0x5037af(0x16f)]:{this[_0x5037af(0x1b7)](_0x5e6799[_0x5037af(0x2e7)]);break;}case _0x10c22b[_0x5037af(0x22a)]:{this[_0x5037af(0x132)](_0x5e6799[_0x5037af(0x2e7)][_0x5037af(0xe1)][_0x5037af(0x17a)](_0x21d83b=>_0x1f35c6(_0x21d83b)));break;}case _0x10c22b['PERMISSION_REJ']:{this[_0x5037af(0x20c)]({'isPermissionRej':!0x0});break;}case _0x10c22b[_0x5037af(0x138)]:break;}}catch(_0x8d5614){throw console['error'](_0x5037af(0x229),_0x8d5614),_0x8d5614;}})),this[_0x90a22e(0x2f4)];}[_0x1ce106(0x28e)](){var _0x2b75d2=_0x1ce106;this[_0x2b75d2(0x197)]=!0x1;}[_0x1ce106(0x168)](){var _0x57df1d=_0x1ce106;if(this[_0x57df1d(0x197)])throw new Error(_0x57df1d(0x2c7));this[_0x57df1d(0x197)]=!0x0;}[_0x1ce106(0x1f0)](_0x46ca24){var _0x52f39e=_0x1ce106;this[_0x52f39e(0x168)](),this['_updateState'](this[_0x52f39e(0x2f4)][_0x52f39e(0x29b)](_0x46ca24)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x3cab5c){var _0x339000=_0x1ce106;if(!(_0x3cab5c[_0x339000(0x2a3)]<=this['_revisionService'][_0x339000(0x220)](this[_0x339000(0x323)]))){if(this[_0x339000(0x2dd)]){this[_0x339000(0x21a)][_0x339000(0x34a)](_0x3cab5c);return;}this[_0x339000(0x290)](_0x3cab5c);}}[_0x1ce106(0x158)](){var _0x391866=_0x1ce106;this[_0x391866(0x21a)][_0x391866(0x27c)](_0xdbbd2e=>this['_applyRemoteChangeset'](_0xdbbd2e)),this[_0x391866(0x21a)]=[];}[_0x1ce106(0x290)](_0x1d5c6d){var _0x26c8c9=_0x1ce106;const _0x515189=this[_0x26c8c9(0xaa)][_0x26c8c9(0x377)][_0x26c8c9(0x1f3)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x26c8c9(0x34e)])(_0x1d5c6d[_0x26c8c9(0x24d)],null)||_0x1d5c6d[_0x26c8c9(0x24d)],_0x28d58c={..._0x1d5c6d,'mutations':_0x515189};this['_lockTransition'](),this[_0x26c8c9(0x357)](this['_state'][_0x26c8c9(0x2b9)](_0x28d58c)),this[_0x26c8c9(0x28e)]();}['_onRemoteACK'](_0xbc7773){var _0x398da3=_0x1ce106;this[_0x398da3(0x168)](),this[_0x398da3(0x357)](this[_0x398da3(0x2f4)][_0x398da3(0xe7)](_0xbc7773)),this[_0x398da3(0x28e)]();}['_onRemoteRejected'](_0x5762c7){var _0x3f7a6a=_0x1ce106;this['_lockTransition'](),this[_0x3f7a6a(0x357)](this['_state'][_0x3f7a6a(0x11c)](_0x5762c7)),this['_unlockTransition']();}[_0x1ce106(0x1b7)](_0x2e4f4c){var _0x3e737f=_0x1ce106;this[_0x3e737f(0x168)](),this[_0x3e737f(0x357)](this[_0x3e737f(0x2f4)][_0x3e737f(0x270)](_0x2e4f4c)),this['_unlockTransition']();}[_0x1ce106(0x132)](_0x3810f3){var _0x249382=_0x1ce106;if(!(this['_state']instanceof Q))throw new TypeError(_0x249382(0x239));const _0x445cc5=_0x3810f3['map'](_0x2600c6=>{var _0x4c02c0=_0x249382;const _0x589d5e=this['_compressMutationService']['interceptor'][_0x4c02c0(0x1f3)](this[_0x4c02c0(0xaa)][_0x4c02c0(0x377)][_0x4c02c0(0x340)]()[_0x4c02c0(0x34e)])(_0x2600c6[_0x4c02c0(0x24d)],null)||_0x2600c6[_0x4c02c0(0x24d)];return{..._0x2600c6,'mutations':_0x589d5e};});this[_0x249382(0x168)](),this['_updateState'](this[_0x249382(0x2f4)][_0x249382(0x1ad)](_0x445cc5)),this['_unlockTransition']();}['_toggleOffline'](){var _0x10d1c1=_0x1ce106;this[_0x10d1c1(0x168)](),this[_0x10d1c1(0x357)](this[_0x10d1c1(0x2f4)][_0x10d1c1(0x1a8)]()),this[_0x10d1c1(0x28e)]();}[_0x1ce106(0x1de)](_0x493f1f=!0x1){var _0x5d5261=_0x1ce106;this[_0x5d5261(0x168)](),this['_updateState'](this[_0x5d5261(0x2f4)][_0x5d5261(0xfd)]()),this[_0x5d5261(0x28e)]();const _0x5a148b=this[_0x5d5261(0x2f4)];_0x493f1f&&_0x5a148b instanceof ye&&(this['_lockTransition'](),this[_0x5d5261(0x357)](_0x5a148b[_0x5d5261(0x34f)]()),this['_unlockTransition']());}async[_0x1ce106(0x378)](){return new Promise(_0x44ca0d=>{var _0x21bf67=_0x654c;this[_0x21bf67(0x224)][_0x21bf67(0x218)][_0x21bf67(0xd4)](_0x54a276(0x1))[_0x21bf67(0xa2)](async _0xa23cef=>{var _0x2f3031=_0x21bf67;_0x44ca0d(await this[_0x2f3031(0xe2)](_0xa23cef===Se[_0x2f3031(0x202)]));});});}[_0x1ce106(0xb8)](){var _0x37b4bf=_0x1ce106;const _0x423ed8=this[_0x37b4bf(0x323)];return{'onStateChange':(_0x43d952,_0x40ccc5)=>{var _0x4c83f0=_0x37b4bf;if(_0x43d952!==this[_0x4c83f0(0x2f4)])throw new Error(_0x4c83f0(0x170)+_0x43d952[_0x4c83f0(0xd3)]+_0x4c83f0(0x187)+_0x40ccc5[_0x4c83f0(0xd3)]+'\x0aCurrent:\x20'+this['_state'][_0x4c83f0(0xd3)]);this[_0x4c83f0(0x357)](_0x40ccc5);},'onSendChangeset':_0xfd175a=>{var _0x2d5813=_0x37b4bf;_0xfd175a['sid']||(_0xfd175a[_0x2d5813(0x2d3)]=this['_changesetSessionId'],_0xfd175a['reqId']=++this['_changesetReqId']);const _0x52aefa={'eventID':_0x10c22b[_0x2d5813(0x328)],'data':{'unitID':_0xfd175a[_0x2d5813(0x323)],'unitType':this[_0x2d5813(0x183)],'changeset':_0xfd175a,'memberID':this['session'][_0x2d5813(0x14d)]()}};this[_0x2d5813(0x224)][_0x2d5813(0x14f)](_0x52aefa,this[_0x2d5813(0x323)]);},'onMissingChangesets':({from:_0x2f7ca2,to:_0x2ed867})=>{var _0x5a6a58=_0x37b4bf;this['_logService']['debug']('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x2f7ca2+_0x5a6a58(0x131)+_0x2ed867);const _0x82ce6b={'eventID':_0x10c22b[_0x5a6a58(0x32f)],'data':{'unitID':_0x423ed8,'unitType':this[_0x5a6a58(0x183)],'from':_0x2f7ca2,'to':_0x2ed867}};this[_0x5a6a58(0x224)][_0x5a6a58(0x14f)](_0x82ce6b,this[_0x5a6a58(0x323)]);}};}async[_0x1ce106(0xe2)](_0x4d4a9b){var _0x14c0cc=_0x1ce106,_0x3f2db6,_0x491eaf,_0x3fb7c2;const _0xd7da32=await((_0x3f2db6=this[_0x14c0cc(0x2a8)])==null?void 0x0:_0x3f2db6['loadOfflineData'](this[_0x14c0cc(0x323)])),_0x540394=(_0x491eaf=_0xd7da32==null?void 0x0:_0xd7da32[_0x14c0cc(0x24d)])!=null?_0x491eaf:[],_0x10702c=(_0x3fb7c2=_0xd7da32==null?void 0x0:_0xd7da32[_0x14c0cc(0x330)])!=null?_0x3fb7c2:null,_0xad0c2a=!!(_0x10702c!=null&&_0x10702c['sid'])&&!!(_0x10702c!=null&&_0x10702c['reqId']);this['_changesetSessionId']=_0xad0c2a?_0x10702c[_0x14c0cc(0x2d3)]:_0x4c02dc(),this[_0x14c0cc(0x351)]=_0xad0c2a?_0x10702c[_0x14c0cc(0x23b)]:0x0;const _0x8a2517=this[_0x14c0cc(0x323)];try{this[_0x14c0cc(0x178)](_0x10702c,_0x540394);}catch(_0x431a30){this[_0x14c0cc(0x331)][_0x14c0cc(0x211)](_0x431a30);}const _0x2a07a3=this['_createHandler']();if(_0x4d4a9b){const _0x16c5e0=Ri(this['_injector'],_0x8a2517,this['_type'],_0x10702c,_0x540394,_0x2a07a3);return _0x16c5e0 instanceof re?_0x16c5e0[_0x14c0cc(0xe8)]():(_0x16c5e0 instanceof ae||_0x16c5e0 instanceof _e)&&_0x16c5e0[_0x14c0cc(0x303)](),_0x16c5e0;}return this[_0x14c0cc(0x105)]['createInstance'](ue,_0x8a2517,this['_type'],_0x10702c,_0x540394,_0x2a07a3);}[_0x1ce106(0x178)](_0x5c2baa,_0x275af0){var _0x123c2d=_0x1ce106,_0x1c66e5,_0x1bf8a4;const _0x2f9c29=this[_0x123c2d(0xaa)][_0x123c2d(0x377)][_0x123c2d(0x1f3)](this[_0x123c2d(0xaa)][_0x123c2d(0x377)][_0x123c2d(0x340)]()[_0x123c2d(0x34e)]);(_0x1c66e5=_0x2f9c29((_0x5c2baa==null?void 0x0:_0x5c2baa[_0x123c2d(0x24d)])||[],null))==null||_0x1c66e5['forEach'](_0x57775a=>this[_0x123c2d(0xfe)][_0x123c2d(0x137)](_0x57775a['id'],_0x57775a[_0x123c2d(0x238)])),(_0x1bf8a4=_0x2f9c29(_0x275af0||[],null))==null||_0x1bf8a4[_0x123c2d(0x27c)](_0x2fea31=>this[_0x123c2d(0xfe)][_0x123c2d(0x137)](_0x2fea31['id'],_0x2fea31[_0x123c2d(0x238)]));}};st=wt([H(0x3,_0x462e36(_0x454bc4)),H(0x4,_0x462e36(_0x182158)),H(0x5,_0x462e36(_0x263ef2)),H(0x6,_0x462e36(_0x5c44a5)),H(0x7,_0x462e36(ve)),H(0x8,_0x103e27),H(0x9,_0x5a4b18),H(0xa,_0x26f4a9),H(0xb,_0x26bebd(ht)),H(0xc,_0x26bebd(J))],st);let St=class extends st{constructor(_0x82a2ee,_0x581990,_0x293f2d,_0x274a53,_0x25326a,_0x26586c,_0xd9e632,_0x31c888,_0x468c48,_0x25ff4d,_0x1fbf92,_0x1a200d,_0x3895e4){var _0xc1991f=_0x1ce106;super(_0x82a2ee,_0x293f2d,_0x581990,_0x274a53,_0x25326a,_0x26586c,_0xd9e632,_0x31c888,_0x468c48,_0x25ff4d,_0x1fbf92,_0x1a200d,_0x3895e4),N(this,_0xc1991f(0x37b),null),(this[_0xc1991f(0x323)]=_0x82a2ee,this[_0xc1991f(0x260)]=_0x581990);}[_0x1ce106(0x30e)](_0x4acd6c){var _0x44f80b=_0x1ce106;this[_0x44f80b(0x37b)]=_0x4acd6c;}['dispose'](){var _0xe0ca72=_0x1ce106;this[_0xe0ca72(0x37b)]=null,super[_0xe0ca72(0x1a5)]();}['_createHandler'](){var _0x2ccbd0=_0x1ce106;const _0x378671=super[_0x2ccbd0(0xb8)]();return _0x378671[_0x2ccbd0(0x248)]=_0x9aed27=>{var _0x3817e6=_0x2ccbd0,_0xba65ad,_0xe74b3b;return(_0xe74b3b=(_0xba65ad=this[_0x3817e6(0x37b)])==null?void 0x0:_0xba65ad['onTransformIME'])==null?void 0x0:_0xe74b3b['call'](_0xba65ad,_0x9aed27);},_0x378671[_0x2ccbd0(0x32d)]=_0x58d2e0=>{var _0x1ca3a1=_0x2ccbd0,_0x502fa8,_0x4607ef;return(_0x4607ef=(_0x502fa8=this[_0x1ca3a1(0x37b)])==null?void 0x0:_0x502fa8['onTransformState'])==null?void 0x0:_0x4607ef[_0x1ca3a1(0x17b)](_0x502fa8,_0x58d2e0);},_0x378671[_0x2ccbd0(0xa7)]=_0x26afc4=>{var _0x8c92a6=_0x2ccbd0,_0x18017d,_0x4e2a2f;return(_0x4e2a2f=(_0x18017d=this[_0x8c92a6(0x37b)])==null?void 0x0:_0x18017d[_0x8c92a6(0xa7)])==null?void 0x0:_0x4e2a2f[_0x8c92a6(0x17b)](_0x18017d,_0x26afc4);},_0x378671[_0x2ccbd0(0x114)]=_0x28eea4=>{var _0x45fc13=_0x2ccbd0,_0x12fbe1,_0x22cade;return(_0x22cade=(_0x12fbe1=this[_0x45fc13(0x37b)])==null?void 0x0:_0x12fbe1[_0x45fc13(0x114)])==null?void 0x0:_0x22cade[_0x45fc13(0x17b)](_0x12fbe1,_0x28eea4);},_0x378671[_0x2ccbd0(0x332)]=_0x7d03fd=>{var _0x1403df=_0x2ccbd0,_0x41c134,_0x80fede,_0x7f95d0;if(!((_0x41c134=this[_0x1403df(0x37b)])!=null&&_0x41c134['onTransformRemoteChangesetByIMECache']))throw new Error(_0x1403df(0x215));return(_0x7f95d0=(_0x80fede=this[_0x1403df(0x37b)])==null?void 0x0:_0x80fede[_0x1403df(0x332)])==null?void 0x0:_0x7f95d0[_0x1403df(0x17b)](_0x80fede,_0x7d03fd);},_0x378671[_0x2ccbd0(0xc1)]=_0x49ba4b=>{var _0x5a2da3=_0x2ccbd0,_0x20cf14,_0x11c5dc,_0xe1ac4d;if(!((_0x20cf14=this[_0x5a2da3(0x37b)])!=null&&_0x20cf14[_0x5a2da3(0xc1)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xe1ac4d=(_0x11c5dc=this['_handlerCallback'])==null?void 0x0:_0x11c5dc[_0x5a2da3(0xc1)])==null?void 0x0:_0xe1ac4d[_0x5a2da3(0x17b)](_0x11c5dc,_0x49ba4b);},_0x378671;}async[_0x1ce106(0xbf)](){var _0x2ee427=_0x1ce106;const _0x3095fe=await super[_0x2ee427(0xbf)]();return this[_0x2ee427(0x175)](this[_0x2ee427(0xfe)][_0x2ee427(0x11d)]((_0x1a6062,_0x52ac53)=>{var _0x2e0628=_0x2ee427;if(_0x1a6062[_0x2e0628(0x260)]!==_0x59c115[_0x2e0628(0x2bc)]||_0x52ac53!=null&&_0x52ac53[_0x2e0628(0x319)]||_0x52ac53!=null&&_0x52ac53[_0x2e0628(0x205)]||_0x1a6062['id']===_0x5d5c10['id'])return;const _0x4b4bc8=_0x1a6062[_0x2e0628(0x238)];if((_0x4b4bc8==null?void 0x0:_0x4b4bc8[_0x2e0628(0x33b)])!==this['unitID'])return;const _0x2423cb=_0x1a6062,_0x2ff982=this['_compressMutationService'][_0x2e0628(0x377)][_0x2e0628(0x1f3)](this[_0x2e0628(0xaa)][_0x2e0628(0x377)][_0x2e0628(0x340)]()['COMPRESS_MUTATION_SEND'])([_0x2423cb],null)||[_0x2423cb];this[_0x2e0628(0x1f0)](_0x2ff982[0x0]);})),_0x3095fe;}};St=wt([H(0x3,_0x462e36(_0x454bc4)),H(0x4,_0x462e36(_0x182158)),H(0x5,_0x462e36(_0x263ef2)),H(0x6,_0x462e36(_0x5c44a5)),H(0x7,_0x462e36(ve)),H(0x8,_0x103e27),H(0x9,_0x5a4b18),H(0xa,_0x26f4a9),H(0xb,_0x26bebd(ht)),H(0xc,_0x26bebd(J))],St);let Et=class extends st{constructor(_0x56e00a,_0x47e9b3,_0x204c21,_0x51518,_0xe4235a,_0x102f3d,_0x2a2d7b,_0x4dffc5,_0x496641,_0x500f40,_0x55d489,_0x430100,_0x281d81,_0x7a5172){var _0xabd83=_0x1ce106;super(_0x56e00a,_0x204c21,_0x47e9b3,_0x51518,_0xe4235a,_0x102f3d,_0x2a2d7b,_0x496641,_0x500f40,_0x55d489,_0x430100,_0x281d81,_0x7a5172),this['unitID']=_0x56e00a,this[_0xabd83(0x260)]=_0x47e9b3,this[_0xabd83(0x2d9)]=_0x4dffc5;}[_0x1ce106(0xb8)](){var _0x412196=_0x1ce106;const _0x3e2291=super[_0x412196(0xb8)]();return _0x3e2291[_0x412196(0xa7)]=_0x75d214=>this[_0x412196(0x2d9)][_0x412196(0x189)](_0x75d214),_0x3e2291;}async[_0x1ce106(0xbf)](){var _0x49544f=_0x1ce106;const _0x55fd5a=await super[_0x49544f(0xbf)]();return this[_0x49544f(0x175)](this[_0x49544f(0xfe)][_0x49544f(0x11d)]((_0x3cf935,_0x504b61)=>{var _0x91e773=_0x49544f;if(_0x3cf935['type']!==_0x59c115[_0x91e773(0x2bc)]||_0x504b61!=null&&_0x504b61[_0x91e773(0x319)]||_0x504b61!=null&&_0x504b61[_0x91e773(0x205)])return;const _0x44fce0=_0x3cf935[_0x91e773(0x238)];if((_0x44fce0==null?void 0x0:_0x44fce0[_0x91e773(0x33b)])!==this[_0x91e773(0x323)])return;const _0x3e01cc=_0x3cf935,_0x4c4f62=this[_0x91e773(0xaa)]['interceptor']['fetchThroughInterceptors'](this[_0x91e773(0xaa)][_0x91e773(0x377)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x3e01cc],null)||[_0x3e01cc];this[_0x91e773(0x1f0)](_0x4c4f62[0x0]);})),_0x55fd5a;}};Et=wt([H(0x3,_0x462e36(_0x454bc4)),H(0x4,_0x462e36(_0x182158)),H(0x5,_0x462e36(_0x263ef2)),H(0x6,_0x462e36(_0x5c44a5)),H(0x7,_0x462e36(it)),H(0x8,_0x462e36(ve)),H(0x9,_0x103e27),H(0xa,_0x5a4b18),H(0xb,_0x26f4a9),H(0xc,_0x26bebd(ht)),H(0xd,_0x26bebd(J))],Et);function _0x654c(_0x30da33,_0xdbaca){var _0x36486d=_0x3648();return _0x654c=function(_0x654c3c,_0x2a147f){_0x654c3c=_0x654c3c-0x93;var _0x2be59b=_0x36486d[_0x654c3c];return _0x2be59b;},_0x654c(_0x30da33,_0xdbaca);}var Qs=Object['getOwnPropertyDescriptor'],en=(_0x496091,_0x566672,_0x17edc1,_0x3f8052)=>{var _0x28e2c7=_0x1ce106;for(var _0x2a3e41=_0x3f8052>0x1?void 0x0:_0x3f8052?Qs(_0x566672,_0x17edc1):_0x566672,_0x209439=_0x496091[_0x28e2c7(0x26d)]-0x1,_0x5e5794;_0x209439>=0x0;_0x209439--)(_0x5e5794=_0x496091[_0x209439])&&(_0x2a3e41=_0x5e5794(_0x2a3e41)||_0x2a3e41);return _0x2a3e41;},Be=(_0x27ea6f,_0x25a990)=>(_0x388dcb,_0x20ae2f)=>_0x25a990(_0x388dcb,_0x20ae2f,_0x27ea6f);let nt=class extends _0x589295{constructor(_0x223804,_0x34242d,_0x4eea9f,_0x135750){var _0x29370d=_0x1ce106,_0x175518;super(),N(this,_0x29370d(0x172),new Map()),N(this,_0x29370d(0x31d),new _0x38504a()),N(this,_0x29370d(0xd5),this[_0x29370d(0x31d)][_0x29370d(0x14a)]()),(this[_0x29370d(0x105)]=_0x223804,this['_collabSessionService']=_0x34242d,this[_0x29370d(0x23f)]=_0x4eea9f,this['_univerInstanceService']=_0x135750,((_0x175518=this[_0x29370d(0x23f)][_0x29370d(0x18a)](K))==null?void 0x0:_0x175518[_0x29370d(0x154)])!==!0x1&&this[_0x29370d(0xbf)]());}[_0x1ce106(0x1a5)](){var _0x2ae9f6=_0x1ce106;super[_0x2ae9f6(0x1a5)](),this['_entities']['forEach'](_0xaba581=>_0xaba581[_0x2ae9f6(0x1a5)]()),this[_0x2ae9f6(0x172)][_0x2ae9f6(0xb1)]();}[_0x1ce106(0x352)](_0x5c1cea){var _0x13a20e=_0x1ce106,_0xdb9092;return(_0xdb9092=this[_0x13a20e(0x172)][_0x13a20e(0x36d)](_0x5c1cea))!=null?_0xdb9092:null;}[_0x1ce106(0x166)](_0x20782d){var _0x296ed0=_0x1ce106;const _0x3adcf8=this[_0x296ed0(0x352)](_0x20782d);return _0x3adcf8?_0x2ce6f0(_0x3adcf8):this['_entityInit$'][_0x296ed0(0xd4)](_0xc72917(_0x48f97f=>_0x48f97f[_0x296ed0(0x323)]===_0x20782d));}['readyForCollab'](_0x1eab81){var _0x116b35=_0x1ce106;return _0x51e09f(this[_0x116b35(0x166)](_0x1eab81)['pipe'](_0x4c135a(()=>{})));}[_0x1ce106(0xbf)](){var _0x51acd8=_0x1ce106;this[_0x51acd8(0x2d8)][_0x51acd8(0x18e)](_0x3e7358[_0x51acd8(0x112)])[_0x51acd8(0xd4)](_0x39fb4e(this[_0x51acd8(0x184)]),_0x1ae872(0x10))[_0x51acd8(0xa2)](async _0x39c2ed=>{var _0x587a59=_0x51acd8;const _0xfcba10=_0x39c2ed[_0x587a59(0x11f)](),_0x2a13ba=await this[_0x587a59(0x2a0)](_0xfcba10,Z[_0x587a59(0x112)]);this['_entities'][_0x587a59(0x126)](_0xfcba10,_0x2a13ba);}),this[_0x51acd8(0x2d8)][_0x51acd8(0x18e)](_0x3e7358[_0x51acd8(0x2eb)])[_0x51acd8(0xd4)](_0x39fb4e(this['dispose$']),_0x1ae872(0x10))['pipe'](_0xc72917(_0x552952=>!_0x552952[_0x51acd8(0x11f)]()[_0x51acd8(0x18b)]('__')))[_0x51acd8(0xa2)](async _0x221146=>{var _0x1fefeb=_0x51acd8;const _0xce0804=_0x221146['getUnitId'](),_0x3cb5f5=await this[_0x1fefeb(0x2a0)](_0xce0804,Z[_0x1fefeb(0x2eb)]);this[_0x1fefeb(0x172)][_0x1fefeb(0x126)](_0xce0804,_0x3cb5f5);}),_0x43d5e8(this['_univerInstanceService'][_0x51acd8(0x309)](_0x3e7358['UNIVER_SHEET']),this[_0x51acd8(0x2d8)][_0x51acd8(0x309)](_0x3e7358[_0x51acd8(0x2eb)]))[_0x51acd8(0xd4)](_0x39fb4e(this[_0x51acd8(0x184)]))[_0x51acd8(0xa2)](_0x2af024=>{var _0x58c23d=_0x51acd8;const _0x581914=_0x2af024[_0x58c23d(0x11f)](),_0x4783a2=this[_0x58c23d(0x172)][_0x58c23d(0x36d)](_0x581914);_0x4783a2&&(_0x4783a2['dispose'](),this['_entities'][_0x58c23d(0x262)](_0x581914));});}async[_0x1ce106(0x2a0)](_0x12a929,_0x18918d){var _0x86f262=_0x1ce106;const _0x59af5d=await this['_collabSessionService']['requireSession'](_0x12a929),_0x573ca4=this[_0x86f262(0x105)][_0x86f262(0x164)](this[_0x86f262(0x2fd)](_0x18918d),_0x12a929,_0x18918d,_0x59af5d);return await _0x573ca4[_0x86f262(0x35f)](),this['_entityInit$'][_0x86f262(0x252)](_0x573ca4),_0x573ca4;}[_0x1ce106(0x2fd)](_0x790aba){var _0x5c5179=_0x1ce106;switch(_0x790aba){case Z[_0x5c5179(0x2eb)]:return St;case Z[_0x5c5179(0x112)]:return Et;default:throw new Error(_0x5c5179(0x203)+_0x790aba);}}};nt=en([Be(0x0,_0x462e36(_0x454bc4)),Be(0x1,_0x462e36(Le)),Be(0x2,_0x4a5014),Be(0x3,_0x1f74c9)],nt);var tn=Object[_0x1ce106(0x29d)],sn=(_0x5e5748,_0x40ec81,_0x204863,_0x324c48)=>{var _0x2d5deb=_0x1ce106;for(var _0x40ff60=_0x324c48>0x1?void 0x0:_0x324c48?tn(_0x40ec81,_0x204863):_0x40ec81,_0x545fd9=_0x5e5748[_0x2d5deb(0x26d)]-0x1,_0x592a87;_0x545fd9>=0x0;_0x545fd9--)(_0x592a87=_0x5e5748[_0x545fd9])&&(_0x40ff60=_0x592a87(_0x40ff60)||_0x40ff60);return _0x40ff60;},Yt=(_0x4ec4a8,_0x1ff415)=>(_0x450dae,_0x460375)=>_0x1ff415(_0x450dae,_0x460375,_0x4ec4a8);const nn=_0x1ce106(0x264),rn='Univer';let It=class extends _0x17d42d{constructor(_0xf3356c,_0x45ced1){var _0x3e46f7=_0x1ce106;super(),this[_0x3e46f7(0x2d8)]=_0xf3356c,this['_configService']=_0x45ced1,this['_init']();}[_0x1ce106(0xbf)](){var _0x1b8b81=_0x1ce106;this['disposeWithMe'](this['_univerInstanceService'][_0x1b8b81(0x156)][_0x1b8b81(0xa2)](()=>{var _0x168b58=_0x1b8b81,_0x8cb9;const _0x5ae50d=this[_0x168b58(0x2d8)][_0x168b58(0xb3)]();let _0x573657=(_0x8cb9=this[_0x168b58(0x23f)][_0x168b58(0x18a)](nn))!=null?_0x8cb9:rn;_0x5ae50d instanceof _0x28e34f&&(_0x573657=_0x5ae50d[_0x168b58(0x118)]),document[_0x168b58(0x381)]=_0x573657;}));}};It=sn([Yt(0x0,_0x1f74c9),Yt(0x1,_0x4a5014)],It);var an=Object[_0x1ce106(0x29d)],on=(_0x453e5e,_0x5924fb,_0xe426fb,_0x4f23a8)=>{var _0x2f9836=_0x1ce106;for(var _0x4aba01=_0x4f23a8>0x1?void 0x0:_0x4f23a8?an(_0x5924fb,_0xe426fb):_0x5924fb,_0x1a1bef=_0x453e5e[_0x2f9836(0x26d)]-0x1,_0x133ce0;_0x1a1bef>=0x0;_0x1a1bef--)(_0x133ce0=_0x453e5e[_0x1a1bef])&&(_0x4aba01=_0x133ce0(_0x4aba01)||_0x4aba01);return _0x4aba01;},dt=(_0x312a36,_0x24368e)=>(_0x2f209a,_0x3c9a0e)=>_0x24368e(_0x2f209a,_0x3c9a0e,_0x312a36);let rt=class{constructor(_0x3e200f,_0x390095,_0x5a7be3){var _0x10d80b=_0x1ce106;this[_0x10d80b(0x23f)]=_0x3e200f,this['_httpService']=_0x390095,this['localeService']=_0x5a7be3,this[_0x10d80b(0x35f)]();}[_0x1ce106(0x35f)](){var _0x346040=_0x1ce106;this[_0x346040(0x1b6)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x48aab8,_0x3f6a5b)=>_0x3f6a5b(_0x48aab8)[_0x346040(0xd4)](_0x2d4b5a(async _0x426f82=>{var _0x422968=_0x346040;const _0x548ef7=_0x426f82;if(_0x548ef7[_0x422968(0xd3)]===0x191){if(typeof window>'u')throw new Error(_0x422968(0x182));if(window[_0x422968(0x2ef)](this[_0x422968(0x2b3)]['t']('auth.needGotoLoginAlert'))){const _0x28fb0b=window[_0x422968(0xbd)](window['location'][_0x422968(0xf7)]);window['location'][_0x422968(0xf7)]=this[_0x422968(0x18f)]()+_0x422968(0x17c)+_0x28fb0b;}}return _0x548ef7;}))});}['_getLoginPath'](){var _0x2e241b=_0x1ce106,_0x589b08,_0x143b01;const _0x2dd830=this[_0x2e241b(0x23f)][_0x2e241b(0x18a)](ys),_0x1e0bb2=this[_0x2e241b(0x23f)][_0x2e241b(0x18a)](K);return(_0x143b01=(_0x589b08=_0x1e0bb2==null?void 0x0:_0x1e0bb2['loginUrlKey'])!=null?_0x589b08:_0x2dd830)!=null?_0x143b01:Ns;}};rt=on([dt(0x0,_0x4a5014),dt(0x1,_0x462e36(_0x91e7e9)),dt(0x2,_0x462e36(_0x263ef2))],rt);var cn=Object[_0x1ce106(0x29d)],hn=(_0x22bd7f,_0x2aedd3,_0x4cfb8a,_0x223013)=>{var _0x1cd584=_0x1ce106;for(var _0x4e7f03=_0x223013>0x1?void 0x0:_0x223013?cn(_0x2aedd3,_0x4cfb8a):_0x2aedd3,_0x4b51f7=_0x22bd7f[_0x1cd584(0x26d)]-0x1,_0x21888f;_0x4b51f7>=0x0;_0x4b51f7--)(_0x21888f=_0x22bd7f[_0x4b51f7])&&(_0x4e7f03=_0x21888f(_0x4e7f03)||_0x4e7f03);return _0x4e7f03;},Kt=(_0xaf5a5f,_0x2c715a)=>(_0x358d93,_0x4b9681)=>_0x2c715a(_0x358d93,_0x4b9681,_0xaf5a5f);const bi=_0x1ce106(0x1f8),_n=_0x1ce106(0x245);let Tt=class extends _0x17d42d{constructor(_0x128f33,_0x40a68f){var _0x303c1d=_0x1ce106;super(),this[_0x303c1d(0x19b)]=_0x128f33,this[_0x303c1d(0x23f)]=_0x40a68f,this[_0x303c1d(0x268)]();}[_0x1ce106(0x268)](){var _0x255f5a=_0x1ce106;const _0x1c412b=this;this[_0x255f5a(0x175)](this[_0x255f5a(0x19b)][_0x255f5a(0x1c1)]({'priority':0x3e7,'interceptor':_0x456d40({'isMatch'(_0x21f442){var _0x385548=_0x255f5a,_0x37dbe2;if(_0x21f442[_0x385548(0x250)]==='POST'&&((_0x37dbe2=_0x21f442[_0x385548(0x2e5)])!=null&&_0x37dbe2[_0x385548(0x364)])){const {objectID:_0x3b857e,objectType:_0x441e6b}=_0x21f442['requestParams'][_0x385548(0x364)]||{};if(!_0x3b857e||_0x441e6b===void 0x0)return!0x1;const _0x19ff31=_0x1c412b[_0x385548(0x392)]()+'/'+_0x441e6b+'/object/'+_0x3b857e+'/allowed';if(_0x21f442[_0x385548(0xf3)]===_0x19ff31)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x29bef2){var _0x21c1d4=_0x255f5a,_0x1dda7b;return(_0x1dda7b=_0x29bef2[_0x21c1d4(0x2e5)])==null?void 0x0:_0x1dda7b[_0x21c1d4(0x364)];},'mergeParamsToRequest'(_0x18a519,_0x32b62f){var _0x4728f5=_0x255f5a;const _0x5da415=_0x1c412b[_0x4728f5(0x392)]()+_0x4728f5(0x12a),_0x3d58b6=_0x18a519[_0x4728f5(0x369)]((_0x6036ed,_0x2427cd)=>{var _0x344251=_0x4728f5;const {unitID:_0x3bec8f,objectID:_0x4dbdbd,objectType:_0x5cb0ed,actions:_0x1e9620}=_0x2427cd;return _0x6036ed[_0x3bec8f]||(_0x6036ed[_0x3bec8f]={}),_0x6036ed[_0x3bec8f][_0x4dbdbd]||(_0x6036ed[_0x3bec8f][_0x4dbdbd]={'objectID':_0x4dbdbd,'objectType':_0x5cb0ed,'actions':[]}),_0x6036ed[_0x3bec8f][_0x4dbdbd][_0x344251(0x2da)][_0x344251(0x34a)](..._0x1e9620),_0x6036ed;},{}),_0x18c21f=[];for(const _0x19ec59 in _0x3d58b6)for(const _0x205e34 in _0x3d58b6[_0x19ec59]){const {actions:_0x5f0908,objectType:_0x27db4a}=_0x3d58b6[_0x19ec59][_0x205e34],_0x20e1a4=[...new Set(_0x5f0908)];_0x18c21f[_0x4728f5(0x34a)]({'unitID':_0x19ec59,'objectID':_0x205e34,'objectType':_0x27db4a,'actions':_0x20e1a4});}return new _0x3734ec(_0x4728f5(0x379),_0x5da415,{'headers':_0x32b62f[_0x4728f5(0x244)],'withCredentials':_0x32b62f[_0x4728f5(0x21d)],'responseType':_0x32b62f[_0x4728f5(0x28b)],'body':{'requests':_0x18c21f}});}},{'distributeResult'(_0x59e30b,_0x13fa42){var _0x249035=_0x255f5a;const {objectActions:_0x2c5721}=_0x59e30b;return _0x13fa42[_0x249035(0x17a)](_0x175f32=>{var _0x21a348=_0x249035;const {unitID:_0x977466,objectID:_0x43d00c,actions:_0x21b126}=_0x175f32,_0x1f818e=_0x2c5721[_0x21a348(0x275)](_0x5ad835=>_0x5ad835[_0x21a348(0x323)]===_0x977466&&_0x5ad835[_0x21a348(0x124)]===_0x43d00c),_0x2ab4cd=_0x21b126[_0x21a348(0x17a)](_0x5ec0f0=>_0x1f818e==null?void 0x0:_0x1f818e['actions']['find'](_0x470903=>_0x470903[_0x21a348(0x1dc)]===_0x5ec0f0))['filter'](_0xd47b30=>!!_0xd47b30);return{'config':_0x175f32,'result':{'actions':_0x2ab4cd,'error':_0x59e30b[_0x21a348(0x211)]}};});}})}));}[_0x1ce106(0x392)](){var _0x1ab3d0=_0x1ce106,_0x10c904,_0x198402;const _0x4586e9=this['_configService'][_0x1ab3d0(0x18a)](bi),_0xf19825=this[_0x1ab3d0(0x23f)][_0x1ab3d0(0x18a)](K);return(_0x198402=(_0x10c904=_0xf19825==null?void 0x0:_0xf19825['authzUrl'])!=null?_0x10c904:_0x4586e9)!=null?_0x198402:_n;}async[_0x1ce106(0x1da)](_0x619269){var _0x4cde30=_0x1ce106;const _0x38000d=this[_0x4cde30(0x392)]()+'/'+_0x619269['objectType']+_0x4cde30(0x1e6);return(await this[_0x4cde30(0x19b)][_0x4cde30(0xf1)](_0x38000d,{'body':_0x619269}))[_0x4cde30(0x364)][_0x4cde30(0x124)]||'';}async[_0x1ce106(0x26c)](_0x1d3257){var _0xeb0fae=_0x1ce106;const _0x1964b3=this[_0xeb0fae(0x392)]()+_0xeb0fae(0x219);return(await this[_0xeb0fae(0x19b)][_0xeb0fae(0xf1)](_0x1964b3,{'body':_0x1d3257}))[_0xeb0fae(0x364)][_0xeb0fae(0x1fa)];}async[_0x1ce106(0x304)](_0x3faece){var _0x295227=_0x1ce106,_0x22eee7,_0x23fe3d;const _0x55b8cb=this[_0x295227(0x392)]()+'/'+_0x3faece[_0x295227(0x2fb)]+'/object/'+_0x3faece[_0x295227(0x124)],_0x48ec4c=await this[_0x295227(0x19b)][_0x295227(0x325)](_0x55b8cb,{'body':_0x3faece});if(((_0x23fe3d=(_0x22eee7=_0x48ec4c==null?void 0x0:_0x48ec4c[_0x295227(0x364)])==null?void 0x0:_0x22eee7[_0x295227(0x211)])==null?void 0x0:_0x23fe3d[_0x295227(0x106)])!==0x1)throw new Error(_0x295227(0x2c4));}async[_0x1ce106(0x1b8)](_0x37a0c8){var _0x50ae1a=_0x1ce106;const _0x6bd346=this['_getAPIPrefixPath']()+'/'+_0x37a0c8[_0x50ae1a(0x2fb)]+'/object/'+_0x37a0c8['objectID']+_0x50ae1a(0x16d);return(await this[_0x50ae1a(0x19b)][_0x50ae1a(0xf1)](_0x6bd346,{'body':_0x37a0c8}))['body'][_0x50ae1a(0x2da)];}async[_0x1ce106(0x372)](_0x5a4018){var _0x4a0f17=_0x1ce106;const _0x3e1e03=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x4a0f17(0xf1)](_0x3e1e03,{'body':{'requests':_0x5a4018}}))[_0x4a0f17(0x364)][_0x4a0f17(0x1aa)];}async['listRoles'](_0x2cd223){var _0x41bba4=_0x1ce106;const _0x4547f3=this[_0x41bba4(0x392)]()+'/'+_0x2cd223[_0x41bba4(0x2fb)]+_0x41bba4(0x335),_0x2ef6af=await this[_0x41bba4(0x19b)][_0x41bba4(0xf1)](_0x4547f3,{'body':_0x2cd223});return{'roles':_0x2ef6af[_0x41bba4(0x364)][_0x41bba4(0x273)],'actions':_0x2ef6af['body'][_0x41bba4(0x2da)]};}async[_0x1ce106(0x1c9)](_0x2822f3){var _0x2b0326=_0x1ce106;const _0xb36b87=this[_0x2b0326(0x392)]()+_0x2b0326(0x1c6);await this[_0x2b0326(0x19b)][_0x2b0326(0x262)](_0xb36b87,{'params':{'collaboratorID':_0x2822f3[_0x2b0326(0x258)],'objectID':_0x2822f3[_0x2b0326(0x124)],'unitID':_0x2822f3[_0x2b0326(0x323)]}});}async[_0x1ce106(0x339)](_0x55a46e){var _0x381bc7=_0x1ce106;const _0x1709fd=this[_0x381bc7(0x392)]()+_0x381bc7(0x1c6);await this[_0x381bc7(0x19b)]['patch'](_0x1709fd,{'body':_0x55a46e});}async[_0x1ce106(0x2ff)](_0x49c20d){var _0x442101=_0x1ce106;const _0x17e997=this[_0x442101(0x392)]()+_0x442101(0x1c6);await this[_0x442101(0x19b)][_0x442101(0xf1)](_0x17e997,{'body':_0x49c20d});}async[_0x1ce106(0x1d6)](_0x3efb83){var _0xd5e32d=_0x1ce106;const _0x36d74b=this[_0xd5e32d(0x392)]()+'/collaborator';return(await this[_0xd5e32d(0x19b)][_0xd5e32d(0x36d)](_0x36d74b,{'params':{'objectID':_0x3efb83[_0xd5e32d(0x124)],'unitID':_0x3efb83[_0xd5e32d(0x323)]}}))['body'][_0xd5e32d(0x388)];}async['putCollaborators'](_0x3b80c3){var _0x10bda1=_0x1ce106;const _0x4daa1f=this[_0x10bda1(0x392)]()+_0x10bda1(0x1c6);await this[_0x10bda1(0x19b)][_0x10bda1(0x325)](_0x4daa1f,{'body':_0x3b80c3});}};Tt=hn([Kt(0x0,_0x462e36(_0x91e7e9)),Kt(0x1,_0x462e36(_0x4a5014))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x1d5ae0){var _0xa54703=_0x1ce106;return _0x1d5ae0&&_0x1d5ae0[_0xa54703(0x2df)]&&Object[_0xa54703(0x1ca)]['hasOwnProperty']['call'](_0x1d5ae0,'default')?_0x1d5ae0['default']:_0x1d5ae0;}var Ve={'exports':{}};function ln(_0x51937c){var _0x4c972d=_0x1ce106;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x51937c+_0x4c972d(0x11e));}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){var _0x197079=_0x1ce106;return qt||(qt=0x1,function(_0x4f9695,_0x195544){(function(_0x3c2f87,_0x45bdf5){var _0x135d7d=_0x654c;_0x4f9695[_0x135d7d(0xc2)]=_0x45bdf5();}(un,function(){var _0x4f05ac=_0x4f05ac||function(_0x1f095e,_0x42b37e){var _0x4eb7ea=_0x654c,_0xb3d361;if(typeof window<'u'&&window[_0x4eb7ea(0x213)]&&(_0xb3d361=window[_0x4eb7ea(0x213)]),typeof self<'u'&&self[_0x4eb7ea(0x213)]&&(_0xb3d361=self['crypto']),typeof globalThis<'u'&&globalThis[_0x4eb7ea(0x213)]&&(_0xb3d361=globalThis[_0x4eb7ea(0x213)]),!_0xb3d361&&typeof window<'u'&&window['msCrypto']&&(_0xb3d361=window[_0x4eb7ea(0x318)]),!_0xb3d361&&typeof ft<'u'&&ft[_0x4eb7ea(0x213)]&&(_0xb3d361=ft[_0x4eb7ea(0x213)]),!_0xb3d361&&typeof ln==_0x4eb7ea(0x161))try{_0xb3d361=require(_0x4eb7ea(0x213));}catch{}var _0x2ea151=function(){var _0x2c869a=_0x4eb7ea;if(_0xb3d361){if(typeof _0xb3d361[_0x2c869a(0x344)]=='function')try{return _0xb3d361[_0x2c869a(0x344)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xb3d361[_0x2c869a(0xcd)]=='function')try{return _0xb3d361[_0x2c869a(0xcd)](0x4)[_0x2c869a(0xed)]();}catch{}}throw new Error(_0x2c869a(0x2aa));},_0x5ba829=Object[_0x4eb7ea(0x1da)]||(function(){function _0x241375(){}return function(_0x2ff30b){var _0x441dd8=_0x654c,_0x4d8e3e;return _0x241375[_0x441dd8(0x1ca)]=_0x2ff30b,_0x4d8e3e=new _0x241375(),_0x241375[_0x441dd8(0x1ca)]=null,_0x4d8e3e;};}()),_0x51274c={},_0x3d365d=_0x51274c[_0x4eb7ea(0x1a6)]={},_0x6ffdf5=_0x3d365d[_0x4eb7ea(0x115)]=(function(){return{'extend':function(_0x2fdc5e){var _0x2f2a5e=_0x654c,_0x21ceea=_0x5ba829(this);return _0x2fdc5e&&_0x21ceea[_0x2f2a5e(0x16a)](_0x2fdc5e),(!_0x21ceea['hasOwnProperty'](_0x2f2a5e(0x35f))||this[_0x2f2a5e(0x35f)]===_0x21ceea[_0x2f2a5e(0x35f)])&&(_0x21ceea[_0x2f2a5e(0x35f)]=function(){var _0x5f2bbf=_0x2f2a5e;_0x21ceea[_0x5f2bbf(0x1e1)][_0x5f2bbf(0x35f)][_0x5f2bbf(0x27d)](this,arguments);}),_0x21ceea[_0x2f2a5e(0x35f)][_0x2f2a5e(0x1ca)]=_0x21ceea,_0x21ceea[_0x2f2a5e(0x1e1)]=this,_0x21ceea;},'create':function(){var _0xb0b35a=_0x654c,_0x2f11a1=this[_0xb0b35a(0x27f)]();return _0x2f11a1['init'][_0xb0b35a(0x27d)](_0x2f11a1,arguments),_0x2f11a1;},'init':function(){},'mixIn':function(_0x16c8c1){var _0x2dba9a=_0x654c;for(var _0x308544 in _0x16c8c1)_0x16c8c1[_0x2dba9a(0x13e)](_0x308544)&&(this[_0x308544]=_0x16c8c1[_0x308544]);_0x16c8c1[_0x2dba9a(0x13e)]('toString')&&(this['toString']=_0x16c8c1[_0x2dba9a(0x2b8)]);},'clone':function(){var _0xa6f8d5=_0x654c;return this[_0xa6f8d5(0x35f)]['prototype'][_0xa6f8d5(0x27f)](this);}};}()),_0x597601=_0x3d365d[_0x4eb7ea(0x326)]=_0x6ffdf5[_0x4eb7ea(0x27f)]({'init':function(_0x4c2c6a,_0x181dbc){var _0x571093=_0x4eb7ea;_0x4c2c6a=this[_0x571093(0xb9)]=_0x4c2c6a||[],_0x181dbc!=_0x42b37e?this[_0x571093(0x360)]=_0x181dbc:this['sigBytes']=_0x4c2c6a['length']*0x4;},'toString':function(_0x42788f){var _0x478864=_0x4eb7ea;return(_0x42788f||_0x1f2467)[_0x478864(0x227)](this);},'concat':function(_0x4e7e77){var _0x3ea4dc=_0x4eb7ea,_0x33e615=this['words'],_0xce2045=_0x4e7e77[_0x3ea4dc(0xb9)],_0x52b651=this[_0x3ea4dc(0x360)],_0x57f423=_0x4e7e77[_0x3ea4dc(0x360)];if(this['clamp'](),_0x52b651%0x4)for(var _0x4eea5c=0x0;_0x4eea5c<_0x57f423;_0x4eea5c++){var _0x184978=_0xce2045[_0x4eea5c>>>0x2]>>>0x18-_0x4eea5c%0x4*0x8&0xff;_0x33e615[_0x52b651+_0x4eea5c>>>0x2]|=_0x184978<<0x18-(_0x52b651+_0x4eea5c)%0x4*0x8;}else{for(var _0x39f604=0x0;_0x39f604<_0x57f423;_0x39f604+=0x4)_0x33e615[_0x52b651+_0x39f604>>>0x2]=_0xce2045[_0x39f604>>>0x2];}return this[_0x3ea4dc(0x360)]+=_0x57f423,this;},'clamp':function(){var _0x5b2f38=_0x4eb7ea,_0x435f5f=this[_0x5b2f38(0xb9)],_0x402651=this[_0x5b2f38(0x360)];_0x435f5f[_0x402651>>>0x2]&=0xffffffff<<0x20-_0x402651%0x4*0x8,_0x435f5f[_0x5b2f38(0x26d)]=_0x1f095e[_0x5b2f38(0x256)](_0x402651/0x4);},'clone':function(){var _0x16b7a1=_0x4eb7ea,_0x2114f4=_0x6ffdf5[_0x16b7a1(0x1ed)][_0x16b7a1(0x17b)](this);return _0x2114f4[_0x16b7a1(0xb9)]=this[_0x16b7a1(0xb9)][_0x16b7a1(0xa6)](0x0),_0x2114f4;},'random':function(_0x504b52){var _0x388a0d=_0x4eb7ea;for(var _0x5d89ef=[],_0x2dac88=0x0;_0x2dac88<_0x504b52;_0x2dac88+=0x4)_0x5d89ef[_0x388a0d(0x34a)](_0x2ea151());return new _0x597601[(_0x388a0d(0x35f))](_0x5d89ef,_0x504b52);}}),_0x5aec17=_0x51274c[_0x4eb7ea(0x236)]={},_0x1f2467=_0x5aec17[_0x4eb7ea(0x247)]={'stringify':function(_0x47c429){var _0x199693=_0x4eb7ea;for(var _0x170b5f=_0x47c429['words'],_0x59fe4f=_0x47c429[_0x199693(0x360)],_0x420f82=[],_0x5cb645=0x0;_0x5cb645<_0x59fe4f;_0x5cb645++){var _0x4f8795=_0x170b5f[_0x5cb645>>>0x2]>>>0x18-_0x5cb645%0x4*0x8&0xff;_0x420f82['push']((_0x4f8795>>>0x4)['toString'](0x10)),_0x420f82[_0x199693(0x34a)]((_0x4f8795&0xf)[_0x199693(0x2b8)](0x10));}return _0x420f82[_0x199693(0x216)]('');},'parse':function(_0x1256bb){var _0xaa4fc9=_0x4eb7ea;for(var _0x4fa9bd=_0x1256bb[_0xaa4fc9(0x26d)],_0x3a5d15=[],_0x363ef0=0x0;_0x363ef0<_0x4fa9bd;_0x363ef0+=0x2)_0x3a5d15[_0x363ef0>>>0x3]|=parseInt(_0x1256bb[_0xaa4fc9(0x151)](_0x363ef0,0x2),0x10)<<0x18-_0x363ef0%0x8*0x4;return new _0x597601[(_0xaa4fc9(0x35f))](_0x3a5d15,_0x4fa9bd/0x2);}},_0x372438=_0x5aec17['Latin1']={'stringify':function(_0x6db39e){var _0x8e8429=_0x4eb7ea;for(var _0x161730=_0x6db39e['words'],_0x11c739=_0x6db39e['sigBytes'],_0x1a299e=[],_0xe695dd=0x0;_0xe695dd<_0x11c739;_0xe695dd++){var _0x11a352=_0x161730[_0xe695dd>>>0x2]>>>0x18-_0xe695dd%0x4*0x8&0xff;_0x1a299e[_0x8e8429(0x34a)](String[_0x8e8429(0xc8)](_0x11a352));}return _0x1a299e[_0x8e8429(0x216)]('');},'parse':function(_0x5d1087){var _0x26ef36=_0x4eb7ea;for(var _0x3fabd4=_0x5d1087[_0x26ef36(0x26d)],_0x4870e2=[],_0x64a9a5=0x0;_0x64a9a5<_0x3fabd4;_0x64a9a5++)_0x4870e2[_0x64a9a5>>>0x2]|=(_0x5d1087['charCodeAt'](_0x64a9a5)&0xff)<<0x18-_0x64a9a5%0x4*0x8;return new _0x597601['init'](_0x4870e2,_0x3fabd4);}},_0x5bf8d1=_0x5aec17['Utf8']={'stringify':function(_0x65df4e){try{return decodeURIComponent(escape(_0x372438['stringify'](_0x65df4e)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x509fd6){var _0x3dfdf4=_0x4eb7ea;return _0x372438[_0x3dfdf4(0x228)](unescape(encodeURIComponent(_0x509fd6)));}},_0x2f72a8=_0x3d365d[_0x4eb7ea(0x32c)]=_0x6ffdf5[_0x4eb7ea(0x27f)]({'reset':function(){var _0xb1483c=_0x4eb7ea;this[_0xb1483c(0x169)]=new _0x597601[(_0xb1483c(0x35f))](),this[_0xb1483c(0x1e5)]=0x0;},'_append':function(_0x2841c0){var _0x1f18fd=_0x4eb7ea;typeof _0x2841c0==_0x1f18fd(0x103)&&(_0x2841c0=_0x5bf8d1[_0x1f18fd(0x228)](_0x2841c0)),this[_0x1f18fd(0x169)][_0x1f18fd(0x1a7)](_0x2841c0),this[_0x1f18fd(0x1e5)]+=_0x2841c0[_0x1f18fd(0x360)];},'_process':function(_0x2fd62b){var _0xe9f6c3=_0x4eb7ea,_0x1483e3,_0x57f0f2=this[_0xe9f6c3(0x169)],_0x236620=_0x57f0f2[_0xe9f6c3(0xb9)],_0x3f7882=_0x57f0f2['sigBytes'],_0x4419ff=this[_0xe9f6c3(0x25a)],_0x5153cc=_0x4419ff*0x4,_0x48abc5=_0x3f7882/_0x5153cc;_0x2fd62b?_0x48abc5=_0x1f095e['ceil'](_0x48abc5):_0x48abc5=_0x1f095e[_0xe9f6c3(0x280)]((_0x48abc5|0x0)-this[_0xe9f6c3(0x253)],0x0);var _0x39a0b3=_0x48abc5*_0x4419ff,_0x307cfe=_0x1f095e['min'](_0x39a0b3*0x4,_0x3f7882);if(_0x39a0b3){for(var _0x571f27=0x0;_0x571f27<_0x39a0b3;_0x571f27+=_0x4419ff)this[_0xe9f6c3(0x22d)](_0x236620,_0x571f27);_0x1483e3=_0x236620[_0xe9f6c3(0xdd)](0x0,_0x39a0b3),_0x57f0f2[_0xe9f6c3(0x360)]-=_0x307cfe;}return new _0x597601[(_0xe9f6c3(0x35f))](_0x1483e3,_0x307cfe);},'clone':function(){var _0x42eda1=_0x4eb7ea,_0x1f6e7f=_0x6ffdf5['clone'][_0x42eda1(0x17b)](this);return _0x1f6e7f[_0x42eda1(0x169)]=this[_0x42eda1(0x169)][_0x42eda1(0x1ed)](),_0x1f6e7f;},'_minBufferSize':0x0});_0x3d365d[_0x4eb7ea(0x37d)]=_0x2f72a8[_0x4eb7ea(0x27f)]({'cfg':_0x6ffdf5[_0x4eb7ea(0x27f)](),'init':function(_0x1a65d0){var _0x9e5d2a=_0x4eb7ea;this[_0x9e5d2a(0x214)]=this['cfg']['extend'](_0x1a65d0),this[_0x9e5d2a(0x142)]();},'reset':function(){var _0x1a5210=_0x4eb7ea;_0x2f72a8[_0x1a5210(0x142)][_0x1a5210(0x17b)](this),this[_0x1a5210(0x207)]();},'update':function(_0x1a25e7){var _0xcbc7e5=_0x4eb7ea;return this[_0xcbc7e5(0x117)](_0x1a25e7),this[_0xcbc7e5(0x259)](),this;},'finalize':function(_0x58cb03){var _0x1a0ab7=_0x4eb7ea;_0x58cb03&&this[_0x1a0ab7(0x117)](_0x58cb03);var _0x5b6bb1=this[_0x1a0ab7(0x350)]();return _0x5b6bb1;},'blockSize':0x10,'_createHelper':function(_0x913e8a){return function(_0x2b650b,_0x5636c2){var _0x4c1add=_0x654c;return new _0x913e8a[(_0x4c1add(0x35f))](_0x5636c2)[_0x4c1add(0x177)](_0x2b650b);};},'_createHmacHelper':function(_0x2bd647){return function(_0x2a0ca6,_0x238788){var _0x20bc53=_0x654c;return new _0x39cacc[(_0x20bc53(0x2e3))][(_0x20bc53(0x35f))](_0x2bd647,_0x238788)[_0x20bc53(0x177)](_0x2a0ca6);};}});var _0x39cacc=_0x51274c[_0x4eb7ea(0x1fd)]={};return _0x51274c;}(Math);return _0x4f05ac;}));}(Ge)),Ge[_0x197079(0xc2)];}var We={'exports':{}},dn=We['exports'],zt;function Oi(){var _0x39508f=_0x1ce106;return zt||(zt=0x1,function(_0x4823da,_0x12dd66){(function(_0x4f8b91,_0xf545f9){_0x4823da['exports']=_0xf545f9(te());}(dn,function(_0x19f90f){var _0x1ac491=_0x654c;return(function(){var _0x5cd933=_0x654c,_0x5c1579=_0x19f90f,_0x26b003=_0x5c1579[_0x5cd933(0x1a6)],_0x4855a6=_0x26b003['WordArray'],_0x547a46=_0x5c1579[_0x5cd933(0x236)];_0x547a46[_0x5cd933(0x1a4)]={'stringify':function(_0x3c6ced){var _0x218f4b=_0x5cd933,_0x284462=_0x3c6ced['words'],_0x167223=_0x3c6ced[_0x218f4b(0x360)],_0x249c9d=this['_map'];_0x3c6ced[_0x218f4b(0xbc)]();for(var _0x340f79=[],_0x4f1234=0x0;_0x4f1234<_0x167223;_0x4f1234+=0x3)for(var _0x3e7f45=_0x284462[_0x4f1234>>>0x2]>>>0x18-_0x4f1234%0x4*0x8&0xff,_0x34d8c1=_0x284462[_0x4f1234+0x1>>>0x2]>>>0x18-(_0x4f1234+0x1)%0x4*0x8&0xff,_0x4ddee2=_0x284462[_0x4f1234+0x2>>>0x2]>>>0x18-(_0x4f1234+0x2)%0x4*0x8&0xff,_0x3a2f10=_0x3e7f45<<0x10|_0x34d8c1<<0x8|_0x4ddee2,_0x5b3ae3=0x0;_0x5b3ae3<0x4&&_0x4f1234+_0x5b3ae3*0.75<_0x167223;_0x5b3ae3++)_0x340f79[_0x218f4b(0x34a)](_0x249c9d[_0x218f4b(0x1d1)](_0x3a2f10>>>0x6*(0x3-_0x5b3ae3)&0x3f));var _0x3a9f44=_0x249c9d[_0x218f4b(0x1d1)](0x40);if(_0x3a9f44){for(;_0x340f79['length']%0x4;)_0x340f79[_0x218f4b(0x34a)](_0x3a9f44);}return _0x340f79[_0x218f4b(0x216)]('');},'parse':function(_0x15a41a){var _0x50f630=_0x5cd933,_0x393b54=_0x15a41a[_0x50f630(0x26d)],_0x2a9625=this[_0x50f630(0x30f)],_0x46c23c=this[_0x50f630(0x36c)];if(!_0x46c23c){_0x46c23c=this[_0x50f630(0x36c)]=[];for(var _0x310dd6=0x0;_0x310dd6<_0x2a9625['length'];_0x310dd6++)_0x46c23c[_0x2a9625[_0x50f630(0x9b)](_0x310dd6)]=_0x310dd6;}var _0x2735f9=_0x2a9625['charAt'](0x40);if(_0x2735f9){var _0x4786e6=_0x15a41a[_0x50f630(0x292)](_0x2735f9);_0x4786e6!==-0x1&&(_0x393b54=_0x4786e6);}return _0x132cb5(_0x15a41a,_0x393b54,_0x46c23c);},'_map':_0x5cd933(0x29f)};function _0x132cb5(_0x2a93e8,_0x25470f,_0x5e0ddd){var _0x3cedf0=_0x5cd933;for(var _0x3a488d=[],_0x2293de=0x0,_0x2a1824=0x0;_0x2a1824<_0x25470f;_0x2a1824++)if(_0x2a1824%0x4){var _0x22c45a=_0x5e0ddd[_0x2a93e8[_0x3cedf0(0x9b)](_0x2a1824-0x1)]<<_0x2a1824%0x4*0x2,_0x6900b3=_0x5e0ddd[_0x2a93e8[_0x3cedf0(0x9b)](_0x2a1824)]>>>0x6-_0x2a1824%0x4*0x2,_0x295fc5=_0x22c45a|_0x6900b3;_0x3a488d[_0x2293de>>>0x2]|=_0x295fc5<<0x18-_0x2293de%0x4*0x8,_0x2293de++;}return _0x4855a6[_0x3cedf0(0x1da)](_0x3a488d,_0x2293de);}}()),_0x19f90f[_0x1ac491(0x236)][_0x1ac491(0x1a4)];}));}(We)),We[_0x39508f(0xc2)];}var Ye={'exports':{}},fn=Ye[_0x1ce106(0xc2)],Jt;function vn(){var _0x328259=_0x1ce106;return Jt||(Jt=0x1,function(_0x229353,_0x44f312){(function(_0x340b67,_0x5d13a1){var _0x3de04e=_0x654c;_0x229353[_0x3de04e(0xc2)]=_0x5d13a1(te());}(fn,function(_0x4caeb5){var _0xd2f4a8=_0x654c;return function(_0x235ffb){var _0x43d776=_0x654c,_0x288d0a=_0x4caeb5,_0x3de481=_0x288d0a[_0x43d776(0x1a6)],_0x3abc4b=_0x3de481[_0x43d776(0x326)],_0x484771=_0x3de481['Hasher'],_0x19b83e=_0x288d0a[_0x43d776(0x1fd)],_0x551edd=[];(function(){var _0x35070b=_0x43d776;for(var _0x219c37=0x0;_0x219c37<0x40;_0x219c37++)_0x551edd[_0x219c37]=_0x235ffb[_0x35070b(0xd0)](_0x235ffb[_0x35070b(0x1f6)](_0x219c37+0x1))*0x100000000|0x0;}());var _0x329a6c=_0x19b83e['MD5']=_0x484771[_0x43d776(0x27f)]({'_doReset':function(){var _0x1d6aeb=_0x43d776;this[_0x1d6aeb(0x231)]=new _0x3abc4b[(_0x1d6aeb(0x35f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3939fa,_0x925a33){var _0x367e1d=_0x43d776;for(var _0x3d3435=0x0;_0x3d3435<0x10;_0x3d3435++){var _0x4c522b=_0x925a33+_0x3d3435,_0x51e827=_0x3939fa[_0x4c522b];_0x3939fa[_0x4c522b]=(_0x51e827<<0x8|_0x51e827>>>0x18)&0xff00ff|(_0x51e827<<0x18|_0x51e827>>>0x8)&0xff00ff00;}var _0x5bf6cf=this[_0x367e1d(0x231)][_0x367e1d(0xb9)],_0x54c18d=_0x3939fa[_0x925a33+0x0],_0x248a97=_0x3939fa[_0x925a33+0x1],_0x57aa90=_0x3939fa[_0x925a33+0x2],_0x5712e2=_0x3939fa[_0x925a33+0x3],_0x3549f8=_0x3939fa[_0x925a33+0x4],_0x39132d=_0x3939fa[_0x925a33+0x5],_0x274751=_0x3939fa[_0x925a33+0x6],_0xf73d57=_0x3939fa[_0x925a33+0x7],_0x56a1e8=_0x3939fa[_0x925a33+0x8],_0x533f4d=_0x3939fa[_0x925a33+0x9],_0x4fe540=_0x3939fa[_0x925a33+0xa],_0x2588c2=_0x3939fa[_0x925a33+0xb],_0x4f5b4e=_0x3939fa[_0x925a33+0xc],_0x15756c=_0x3939fa[_0x925a33+0xd],_0x5a5cb4=_0x3939fa[_0x925a33+0xe],_0x2125c8=_0x3939fa[_0x925a33+0xf],_0x4d4a54=_0x5bf6cf[0x0],_0x511f0f=_0x5bf6cf[0x1],_0x57e569=_0x5bf6cf[0x2],_0x1b1136=_0x5bf6cf[0x3];_0x4d4a54=_0x44c849(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x54c18d,0x7,_0x551edd[0x0]),_0x1b1136=_0x44c849(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x248a97,0xc,_0x551edd[0x1]),_0x57e569=_0x44c849(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x57aa90,0x11,_0x551edd[0x2]),_0x511f0f=_0x44c849(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x5712e2,0x16,_0x551edd[0x3]),_0x4d4a54=_0x44c849(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x3549f8,0x7,_0x551edd[0x4]),_0x1b1136=_0x44c849(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x39132d,0xc,_0x551edd[0x5]),_0x57e569=_0x44c849(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x274751,0x11,_0x551edd[0x6]),_0x511f0f=_0x44c849(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0xf73d57,0x16,_0x551edd[0x7]),_0x4d4a54=_0x44c849(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x56a1e8,0x7,_0x551edd[0x8]),_0x1b1136=_0x44c849(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x533f4d,0xc,_0x551edd[0x9]),_0x57e569=_0x44c849(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x4fe540,0x11,_0x551edd[0xa]),_0x511f0f=_0x44c849(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x2588c2,0x16,_0x551edd[0xb]),_0x4d4a54=_0x44c849(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x4f5b4e,0x7,_0x551edd[0xc]),_0x1b1136=_0x44c849(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x15756c,0xc,_0x551edd[0xd]),_0x57e569=_0x44c849(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x5a5cb4,0x11,_0x551edd[0xe]),_0x511f0f=_0x44c849(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x2125c8,0x16,_0x551edd[0xf]),_0x4d4a54=_0x274c7b(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x248a97,0x5,_0x551edd[0x10]),_0x1b1136=_0x274c7b(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x274751,0x9,_0x551edd[0x11]),_0x57e569=_0x274c7b(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x2588c2,0xe,_0x551edd[0x12]),_0x511f0f=_0x274c7b(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x54c18d,0x14,_0x551edd[0x13]),_0x4d4a54=_0x274c7b(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x39132d,0x5,_0x551edd[0x14]),_0x1b1136=_0x274c7b(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x4fe540,0x9,_0x551edd[0x15]),_0x57e569=_0x274c7b(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x2125c8,0xe,_0x551edd[0x16]),_0x511f0f=_0x274c7b(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x3549f8,0x14,_0x551edd[0x17]),_0x4d4a54=_0x274c7b(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x533f4d,0x5,_0x551edd[0x18]),_0x1b1136=_0x274c7b(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x5a5cb4,0x9,_0x551edd[0x19]),_0x57e569=_0x274c7b(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x5712e2,0xe,_0x551edd[0x1a]),_0x511f0f=_0x274c7b(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x56a1e8,0x14,_0x551edd[0x1b]),_0x4d4a54=_0x274c7b(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x15756c,0x5,_0x551edd[0x1c]),_0x1b1136=_0x274c7b(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x57aa90,0x9,_0x551edd[0x1d]),_0x57e569=_0x274c7b(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0xf73d57,0xe,_0x551edd[0x1e]),_0x511f0f=_0x274c7b(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x4f5b4e,0x14,_0x551edd[0x1f]),_0x4d4a54=_0x42c532(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x39132d,0x4,_0x551edd[0x20]),_0x1b1136=_0x42c532(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x56a1e8,0xb,_0x551edd[0x21]),_0x57e569=_0x42c532(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x2588c2,0x10,_0x551edd[0x22]),_0x511f0f=_0x42c532(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x5a5cb4,0x17,_0x551edd[0x23]),_0x4d4a54=_0x42c532(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x248a97,0x4,_0x551edd[0x24]),_0x1b1136=_0x42c532(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x3549f8,0xb,_0x551edd[0x25]),_0x57e569=_0x42c532(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0xf73d57,0x10,_0x551edd[0x26]),_0x511f0f=_0x42c532(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x4fe540,0x17,_0x551edd[0x27]),_0x4d4a54=_0x42c532(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x15756c,0x4,_0x551edd[0x28]),_0x1b1136=_0x42c532(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x54c18d,0xb,_0x551edd[0x29]),_0x57e569=_0x42c532(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x5712e2,0x10,_0x551edd[0x2a]),_0x511f0f=_0x42c532(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x274751,0x17,_0x551edd[0x2b]),_0x4d4a54=_0x42c532(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x533f4d,0x4,_0x551edd[0x2c]),_0x1b1136=_0x42c532(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x4f5b4e,0xb,_0x551edd[0x2d]),_0x57e569=_0x42c532(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x2125c8,0x10,_0x551edd[0x2e]),_0x511f0f=_0x42c532(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x57aa90,0x17,_0x551edd[0x2f]),_0x4d4a54=_0x280838(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x54c18d,0x6,_0x551edd[0x30]),_0x1b1136=_0x280838(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0xf73d57,0xa,_0x551edd[0x31]),_0x57e569=_0x280838(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x5a5cb4,0xf,_0x551edd[0x32]),_0x511f0f=_0x280838(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x39132d,0x15,_0x551edd[0x33]),_0x4d4a54=_0x280838(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x4f5b4e,0x6,_0x551edd[0x34]),_0x1b1136=_0x280838(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x5712e2,0xa,_0x551edd[0x35]),_0x57e569=_0x280838(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x4fe540,0xf,_0x551edd[0x36]),_0x511f0f=_0x280838(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x248a97,0x15,_0x551edd[0x37]),_0x4d4a54=_0x280838(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x56a1e8,0x6,_0x551edd[0x38]),_0x1b1136=_0x280838(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x2125c8,0xa,_0x551edd[0x39]),_0x57e569=_0x280838(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x274751,0xf,_0x551edd[0x3a]),_0x511f0f=_0x280838(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x15756c,0x15,_0x551edd[0x3b]),_0x4d4a54=_0x280838(_0x4d4a54,_0x511f0f,_0x57e569,_0x1b1136,_0x3549f8,0x6,_0x551edd[0x3c]),_0x1b1136=_0x280838(_0x1b1136,_0x4d4a54,_0x511f0f,_0x57e569,_0x2588c2,0xa,_0x551edd[0x3d]),_0x57e569=_0x280838(_0x57e569,_0x1b1136,_0x4d4a54,_0x511f0f,_0x57aa90,0xf,_0x551edd[0x3e]),_0x511f0f=_0x280838(_0x511f0f,_0x57e569,_0x1b1136,_0x4d4a54,_0x533f4d,0x15,_0x551edd[0x3f]),_0x5bf6cf[0x0]=_0x5bf6cf[0x0]+_0x4d4a54|0x0,_0x5bf6cf[0x1]=_0x5bf6cf[0x1]+_0x511f0f|0x0,_0x5bf6cf[0x2]=_0x5bf6cf[0x2]+_0x57e569|0x0,_0x5bf6cf[0x3]=_0x5bf6cf[0x3]+_0x1b1136|0x0;},'_doFinalize':function(){var _0x21bab1=_0x43d776,_0x2b3b90=this['_data'],_0x4454df=_0x2b3b90[_0x21bab1(0xb9)],_0x4322fe=this[_0x21bab1(0x1e5)]*0x8,_0x33c3d7=_0x2b3b90['sigBytes']*0x8;_0x4454df[_0x33c3d7>>>0x5]|=0x80<<0x18-_0x33c3d7%0x20;var _0x411886=_0x235ffb[_0x21bab1(0x2c5)](_0x4322fe/0x100000000),_0x1708a7=_0x4322fe;_0x4454df[(_0x33c3d7+0x40>>>0x9<<0x4)+0xf]=(_0x411886<<0x8|_0x411886>>>0x18)&0xff00ff|(_0x411886<<0x18|_0x411886>>>0x8)&0xff00ff00,_0x4454df[(_0x33c3d7+0x40>>>0x9<<0x4)+0xe]=(_0x1708a7<<0x8|_0x1708a7>>>0x18)&0xff00ff|(_0x1708a7<<0x18|_0x1708a7>>>0x8)&0xff00ff00,_0x2b3b90[_0x21bab1(0x360)]=(_0x4454df[_0x21bab1(0x26d)]+0x1)*0x4,this[_0x21bab1(0x259)]();for(var _0x4ba229=this['_hash'],_0x293d50=_0x4ba229[_0x21bab1(0xb9)],_0x443953=0x0;_0x443953<0x4;_0x443953++){var _0x162c1e=_0x293d50[_0x443953];_0x293d50[_0x443953]=(_0x162c1e<<0x8|_0x162c1e>>>0x18)&0xff00ff|(_0x162c1e<<0x18|_0x162c1e>>>0x8)&0xff00ff00;}return _0x4ba229;},'clone':function(){var _0x54e178=_0x43d776,_0x969b0=_0x484771[_0x54e178(0x1ed)][_0x54e178(0x17b)](this);return _0x969b0['_hash']=this[_0x54e178(0x231)][_0x54e178(0x1ed)](),_0x969b0;}});function _0x44c849(_0x506964,_0x1da1fb,_0x213dae,_0x41d681,_0x4c2dcf,_0x286cf2,_0x4cf508){var _0x4b91e1=_0x506964+(_0x1da1fb&_0x213dae|~_0x1da1fb&_0x41d681)+_0x4c2dcf+_0x4cf508;return(_0x4b91e1<<_0x286cf2|_0x4b91e1>>>0x20-_0x286cf2)+_0x1da1fb;}function _0x274c7b(_0x5df8f4,_0xf35716,_0x173f91,_0x19608a,_0xd703f4,_0x120d44,_0x28b1c6){var _0x41a780=_0x5df8f4+(_0xf35716&_0x19608a|_0x173f91&~_0x19608a)+_0xd703f4+_0x28b1c6;return(_0x41a780<<_0x120d44|_0x41a780>>>0x20-_0x120d44)+_0xf35716;}function _0x42c532(_0x53ff53,_0x58ee9a,_0x10a913,_0x5be580,_0x32b2ba,_0x2483d0,_0x17ac78){var _0x6dadf9=_0x53ff53+(_0x58ee9a^_0x10a913^_0x5be580)+_0x32b2ba+_0x17ac78;return(_0x6dadf9<<_0x2483d0|_0x6dadf9>>>0x20-_0x2483d0)+_0x58ee9a;}function _0x280838(_0x56f530,_0x1d797c,_0x404a52,_0x206b07,_0x1f63e9,_0x5e8224,_0x4fd2bc){var _0x16c11d=_0x56f530+(_0x404a52^(_0x1d797c|~_0x206b07))+_0x1f63e9+_0x4fd2bc;return(_0x16c11d<<_0x5e8224|_0x16c11d>>>0x20-_0x5e8224)+_0x1d797c;}_0x288d0a[_0x43d776(0x297)]=_0x484771['_createHelper'](_0x329a6c),_0x288d0a[_0x43d776(0x298)]=_0x484771['_createHmacHelper'](_0x329a6c);}(Math),_0x4caeb5[_0xd2f4a8(0x297)];}));}(Ye)),Ye[_0x328259(0xc2)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe['exports'],Xt;function mn(){var _0x3d76da=_0x1ce106;return Xt||(Xt=0x1,function(_0x447595,_0x31257f){(function(_0x1af8c0,_0xb9d8d9){_0x447595['exports']=_0xb9d8d9(te());}(pn,function(_0x57380f){var _0xdd97da=_0x654c;return(function(){var _0x251095=_0x654c,_0x5cf6cc=_0x57380f,_0x4815a2=_0x5cf6cc['lib'],_0x50265c=_0x4815a2[_0x251095(0x326)],_0x44421=_0x4815a2['Hasher'],_0x1e28a8=_0x5cf6cc[_0x251095(0x1fd)],_0x3e6c28=[],_0x311c4a=_0x1e28a8[_0x251095(0x125)]=_0x44421[_0x251095(0x27f)]({'_doReset':function(){var _0x374934=_0x251095;this[_0x374934(0x231)]=new _0x50265c[(_0x374934(0x35f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2cab0f,_0x3e1a2b){var _0x3ddfbd=_0x251095;for(var _0x3b0bca=this['_hash'][_0x3ddfbd(0xb9)],_0x1274f1=_0x3b0bca[0x0],_0x2c6483=_0x3b0bca[0x1],_0x890ff2=_0x3b0bca[0x2],_0x4c966a=_0x3b0bca[0x3],_0x3d045a=_0x3b0bca[0x4],_0x31977b=0x0;_0x31977b<0x50;_0x31977b++){if(_0x31977b<0x10)_0x3e6c28[_0x31977b]=_0x2cab0f[_0x3e1a2b+_0x31977b]|0x0;else{var _0x4f2e30=_0x3e6c28[_0x31977b-0x3]^_0x3e6c28[_0x31977b-0x8]^_0x3e6c28[_0x31977b-0xe]^_0x3e6c28[_0x31977b-0x10];_0x3e6c28[_0x31977b]=_0x4f2e30<<0x1|_0x4f2e30>>>0x1f;}var _0x214ba9=(_0x1274f1<<0x5|_0x1274f1>>>0x1b)+_0x3d045a+_0x3e6c28[_0x31977b];_0x31977b<0x14?_0x214ba9+=(_0x2c6483&_0x890ff2|~_0x2c6483&_0x4c966a)+0x5a827999:_0x31977b<0x28?_0x214ba9+=(_0x2c6483^_0x890ff2^_0x4c966a)+0x6ed9eba1:_0x31977b<0x3c?_0x214ba9+=(_0x2c6483&_0x890ff2|_0x2c6483&_0x4c966a|_0x890ff2&_0x4c966a)-0x70e44324:_0x214ba9+=(_0x2c6483^_0x890ff2^_0x4c966a)-0x359d3e2a,_0x3d045a=_0x4c966a,_0x4c966a=_0x890ff2,_0x890ff2=_0x2c6483<<0x1e|_0x2c6483>>>0x2,_0x2c6483=_0x1274f1,_0x1274f1=_0x214ba9;}_0x3b0bca[0x0]=_0x3b0bca[0x0]+_0x1274f1|0x0,_0x3b0bca[0x1]=_0x3b0bca[0x1]+_0x2c6483|0x0,_0x3b0bca[0x2]=_0x3b0bca[0x2]+_0x890ff2|0x0,_0x3b0bca[0x3]=_0x3b0bca[0x3]+_0x4c966a|0x0,_0x3b0bca[0x4]=_0x3b0bca[0x4]+_0x3d045a|0x0;},'_doFinalize':function(){var _0x11e1ac=_0x251095,_0x2e7348=this[_0x11e1ac(0x169)],_0x438603=_0x2e7348[_0x11e1ac(0xb9)],_0x11cde5=this['_nDataBytes']*0x8,_0x3c0af0=_0x2e7348[_0x11e1ac(0x360)]*0x8;return _0x438603[_0x3c0af0>>>0x5]|=0x80<<0x18-_0x3c0af0%0x20,_0x438603[(_0x3c0af0+0x40>>>0x9<<0x4)+0xe]=Math[_0x11e1ac(0x2c5)](_0x11cde5/0x100000000),_0x438603[(_0x3c0af0+0x40>>>0x9<<0x4)+0xf]=_0x11cde5,_0x2e7348[_0x11e1ac(0x360)]=_0x438603[_0x11e1ac(0x26d)]*0x4,this['_process'](),this[_0x11e1ac(0x231)];},'clone':function(){var _0x115017=_0x251095,_0x408c11=_0x44421[_0x115017(0x1ed)][_0x115017(0x17b)](this);return _0x408c11['_hash']=this[_0x115017(0x231)][_0x115017(0x1ed)](),_0x408c11;}});_0x5cf6cc[_0x251095(0x125)]=_0x44421[_0x251095(0x22e)](_0x311c4a),_0x5cf6cc['HmacSHA1']=_0x44421[_0x251095(0x308)](_0x311c4a);}()),_0x57380f[_0xdd97da(0x125)];}));}(qe)),qe[_0x3d76da(0xc2)];}var ze={'exports':{}},gn=ze[_0x1ce106(0xc2)],Zt;function Sn(){return Zt||(Zt=0x1,function(_0x448e2b,_0x82cdf4){(function(_0x50abb1,_0x446c48){var _0x2ac4df=_0x654c;_0x448e2b[_0x2ac4df(0xc2)]=_0x446c48(te());}(gn,function(_0x7f61fc){(function(){var _0x18ed06=_0x654c,_0x109529=_0x7f61fc,_0x1cc619=_0x109529['lib'],_0x30a4e2=_0x1cc619[_0x18ed06(0x115)],_0x28b673=_0x109529['enc'],_0x25a8ff=_0x28b673[_0x18ed06(0x1d0)],_0x359ec8=_0x109529['algo'];_0x359ec8[_0x18ed06(0x2e3)]=_0x30a4e2['extend']({'init':function(_0x400981,_0x575891){var _0x8b0c80=_0x18ed06;_0x400981=this[_0x8b0c80(0x27b)]=new _0x400981[(_0x8b0c80(0x35f))](),typeof _0x575891==_0x8b0c80(0x103)&&(_0x575891=_0x25a8ff[_0x8b0c80(0x228)](_0x575891));var _0x19692a=_0x400981['blockSize'],_0x27e9e6=_0x19692a*0x4;_0x575891['sigBytes']>_0x27e9e6&&(_0x575891=_0x400981[_0x8b0c80(0x177)](_0x575891)),_0x575891[_0x8b0c80(0xbc)]();for(var _0x47daab=this[_0x8b0c80(0x13c)]=_0x575891[_0x8b0c80(0x1ed)](),_0x26763d=this['_iKey']=_0x575891['clone'](),_0x5145e1=_0x47daab['words'],_0x45ec27=_0x26763d['words'],_0x5692b8=0x0;_0x5692b8<_0x19692a;_0x5692b8++)_0x5145e1[_0x5692b8]^=0x5c5c5c5c,_0x45ec27[_0x5692b8]^=0x36363636;_0x47daab[_0x8b0c80(0x360)]=_0x26763d['sigBytes']=_0x27e9e6,this[_0x8b0c80(0x142)]();},'reset':function(){var _0x2401bf=_0x18ed06,_0x2cf989=this['_hasher'];_0x2cf989[_0x2401bf(0x142)](),_0x2cf989[_0x2401bf(0x304)](this['_iKey']);},'update':function(_0x14681d){var _0x47298f=_0x18ed06;return this['_hasher'][_0x47298f(0x304)](_0x14681d),this;},'finalize':function(_0x17760a){var _0x66ced8=_0x18ed06,_0x30bfe8=this['_hasher'],_0x221c3c=_0x30bfe8[_0x66ced8(0x177)](_0x17760a);_0x30bfe8['reset']();var _0x2a505f=_0x30bfe8[_0x66ced8(0x177)](this[_0x66ced8(0x13c)][_0x66ced8(0x1ed)]()[_0x66ced8(0x1a7)](_0x221c3c));return _0x2a505f;}});}());}));}(ze)),ze['exports'];}var En=Ke[_0x1ce106(0xc2)],Qt;function yi(){var _0x96e46f=_0x1ce106;return Qt||(Qt=0x1,function(_0x473bb3,_0x53869b){(function(_0x2922a4,_0x2cf9dc,_0x2b9727){var _0x47b5eb=_0x654c;_0x473bb3[_0x47b5eb(0xc2)]=_0x2cf9dc(te(),mn(),Sn());}(En,function(_0x1891c2){return(function(){var _0xdd0da7=_0x654c,_0x593603=_0x1891c2,_0xc5d1f3=_0x593603[_0xdd0da7(0x1a6)],_0x51c341=_0xc5d1f3[_0xdd0da7(0x115)],_0x1a1077=_0xc5d1f3[_0xdd0da7(0x326)],_0x1af34b=_0x593603[_0xdd0da7(0x1fd)],_0x234b41=_0x1af34b[_0xdd0da7(0x297)],_0x392b66=_0x1af34b['EvpKDF']=_0x51c341[_0xdd0da7(0x27f)]({'cfg':_0x51c341['extend']({'keySize':0x80/0x20,'hasher':_0x234b41,'iterations':0x1}),'init':function(_0x1e9e78){var _0x5c6d9f=_0xdd0da7;this['cfg']=this[_0x5c6d9f(0x214)][_0x5c6d9f(0x27f)](_0x1e9e78);},'compute':function(_0x46b1d6,_0x919c8c){var _0x316a05=_0xdd0da7;for(var _0x11d6ee,_0x4574cb=this[_0x316a05(0x214)],_0xd4ecc2=_0x4574cb['hasher']['create'](),_0x5170c5=_0x1a1077[_0x316a05(0x1da)](),_0x21ef84=_0x5170c5[_0x316a05(0xb9)],_0x19ba3a=_0x4574cb['keySize'],_0x4aa38a=_0x4574cb[_0x316a05(0xb0)];_0x21ef84[_0x316a05(0x26d)]<_0x19ba3a;){_0x11d6ee&&_0xd4ecc2[_0x316a05(0x304)](_0x11d6ee),_0x11d6ee=_0xd4ecc2[_0x316a05(0x304)](_0x46b1d6)[_0x316a05(0x177)](_0x919c8c),_0xd4ecc2[_0x316a05(0x142)]();for(var _0x5f22d1=0x1;_0x5f22d1<_0x4aa38a;_0x5f22d1++)_0x11d6ee=_0xd4ecc2['finalize'](_0x11d6ee),_0xd4ecc2[_0x316a05(0x142)]();_0x5170c5[_0x316a05(0x1a7)](_0x11d6ee);}return _0x5170c5[_0x316a05(0x360)]=_0x19ba3a*0x4,_0x5170c5;}});_0x593603[_0xdd0da7(0x371)]=function(_0x465f35,_0x56dddd,_0xaa4c32){var _0x41a9dc=_0xdd0da7;return _0x392b66[_0x41a9dc(0x1da)](_0xaa4c32)[_0x41a9dc(0x28a)](_0x465f35,_0x56dddd);};}()),_0x1891c2['EvpKDF'];}));}(Ke)),Ke[_0x96e46f(0xc2)];}var Je={'exports':{}},In=Je[_0x1ce106(0xc2)],ei;function Ni(){var _0x47fa12=_0x1ce106;return ei||(ei=0x1,function(_0x109eeb,_0x4833f0){(function(_0x16179e,_0x41de19,_0x370f99){var _0x2c60cd=_0x654c;_0x109eeb[_0x2c60cd(0xc2)]=_0x41de19(te(),yi());}(In,function(_0x2d8bec){var _0x42f57c=_0x654c;_0x2d8bec[_0x42f57c(0x1a6)][_0x42f57c(0x2c2)]||function(_0x2fa638){var _0x55f2a6=_0x42f57c,_0x25eb99=_0x2d8bec,_0x3d0a02=_0x25eb99['lib'],_0x5e0928=_0x3d0a02[_0x55f2a6(0x115)],_0x338c55=_0x3d0a02[_0x55f2a6(0x326)],_0x538856=_0x3d0a02['BufferedBlockAlgorithm'],_0x2eecfd=_0x25eb99[_0x55f2a6(0x236)];_0x2eecfd['Utf8'];var _0x20f39f=_0x2eecfd[_0x55f2a6(0x1a4)],_0x2be8a7=_0x25eb99[_0x55f2a6(0x1fd)],_0x3ea177=_0x2be8a7[_0x55f2a6(0x371)],_0x467b6b=_0x3d0a02[_0x55f2a6(0x2c2)]=_0x538856[_0x55f2a6(0x27f)]({'cfg':_0x5e0928[_0x55f2a6(0x27f)](),'createEncryptor':function(_0x58e4cd,_0x418ae4){var _0xb1ab78=_0x55f2a6;return this[_0xb1ab78(0x1da)](this['_ENC_XFORM_MODE'],_0x58e4cd,_0x418ae4);},'createDecryptor':function(_0x110bf8,_0x29de0c){var _0x3e6811=_0x55f2a6;return this[_0x3e6811(0x1da)](this['_DEC_XFORM_MODE'],_0x110bf8,_0x29de0c);},'init':function(_0x26d172,_0x5d62a9,_0x11c5d2){var _0x3373ff=_0x55f2a6;this[_0x3373ff(0x214)]=this[_0x3373ff(0x214)]['extend'](_0x11c5d2),this[_0x3373ff(0x2b4)]=_0x26d172,this[_0x3373ff(0x2a4)]=_0x5d62a9,this[_0x3373ff(0x142)]();},'reset':function(){var _0x2e1d23=_0x55f2a6;_0x538856[_0x2e1d23(0x142)][_0x2e1d23(0x17b)](this),this[_0x2e1d23(0x207)]();},'process':function(_0xb008e0){var _0x203a4f=_0x55f2a6;return this[_0x203a4f(0x117)](_0xb008e0),this[_0x203a4f(0x259)]();},'finalize':function(_0x10413d){var _0xce0165=_0x55f2a6;_0x10413d&&this[_0xce0165(0x117)](_0x10413d);var _0x4a90aa=this['_doFinalize']();return _0x4a90aa;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x562cb9(_0x3105b0){var _0x1975f2=_0x654c;return typeof _0x3105b0==_0x1975f2(0x103)?_0x52c003:_0x65683e;}return function(_0x5c6575){return{'encrypt':function(_0x3d66ba,_0x5cd710,_0x38a3d7){var _0x1f9e78=_0x654c;return _0x562cb9(_0x5cd710)[_0x1f9e78(0x127)](_0x5c6575,_0x3d66ba,_0x5cd710,_0x38a3d7);},'decrypt':function(_0x5defc0,_0x31129e,_0x1544fa){var _0x36165c=_0x654c;return _0x562cb9(_0x31129e)[_0x36165c(0x20a)](_0x5c6575,_0x5defc0,_0x31129e,_0x1544fa);}};};}())});_0x3d0a02[_0x55f2a6(0x289)]=_0x467b6b['extend']({'_doFinalize':function(){var _0x4aa7b2=_0x55f2a6,_0x4c15a1=this[_0x4aa7b2(0x259)](!0x0);return _0x4c15a1;},'blockSize':0x1});var _0x1fedbd=_0x25eb99[_0x55f2a6(0x277)]={},_0x4ae130=_0x3d0a02[_0x55f2a6(0xef)]=_0x5e0928[_0x55f2a6(0x27f)]({'createEncryptor':function(_0x1fcb5a,_0x296ab0){var _0x1f29e4=_0x55f2a6;return this[_0x1f29e4(0x26e)]['create'](_0x1fcb5a,_0x296ab0);},'createDecryptor':function(_0x306a82,_0x494e8e){var _0x5dcde6=_0x55f2a6;return this[_0x5dcde6(0x10b)][_0x5dcde6(0x1da)](_0x306a82,_0x494e8e);},'init':function(_0x13d762,_0x52d893){var _0x1a3495=_0x55f2a6;this[_0x1a3495(0x241)]=_0x13d762,this[_0x1a3495(0x129)]=_0x52d893;}}),_0x39862b=_0x1fedbd[_0x55f2a6(0x29a)]=(function(){var _0x3eb0ca=_0x55f2a6,_0x5618ef=_0x4ae130[_0x3eb0ca(0x27f)]();_0x5618ef[_0x3eb0ca(0x26e)]=_0x5618ef[_0x3eb0ca(0x27f)]({'processBlock':function(_0x4411c3,_0x521e9e){var _0x167673=_0x3eb0ca,_0x1ce9c1=this['_cipher'],_0x38f95b=_0x1ce9c1[_0x167673(0x25a)];_0x321ec3[_0x167673(0x17b)](this,_0x4411c3,_0x521e9e,_0x38f95b),_0x1ce9c1[_0x167673(0x2d4)](_0x4411c3,_0x521e9e),this[_0x167673(0x1c7)]=_0x4411c3[_0x167673(0xa6)](_0x521e9e,_0x521e9e+_0x38f95b);}}),_0x5618ef['Decryptor']=_0x5618ef[_0x3eb0ca(0x27f)]({'processBlock':function(_0x4333c4,_0x20bb87){var _0x30a022=_0x3eb0ca,_0x328b34=this['_cipher'],_0x3c4671=_0x328b34[_0x30a022(0x25a)],_0x5aad87=_0x4333c4[_0x30a022(0xa6)](_0x20bb87,_0x20bb87+_0x3c4671);_0x328b34[_0x30a022(0x2a1)](_0x4333c4,_0x20bb87),_0x321ec3[_0x30a022(0x17b)](this,_0x4333c4,_0x20bb87,_0x3c4671),this[_0x30a022(0x1c7)]=_0x5aad87;}});function _0x321ec3(_0x1dcdbf,_0x422f9d,_0x3340c0){var _0x1c3b95=_0x3eb0ca,_0x5e5698,_0x4a65f7=this[_0x1c3b95(0x129)];_0x4a65f7?(_0x5e5698=_0x4a65f7,this[_0x1c3b95(0x129)]=_0x2fa638):_0x5e5698=this['_prevBlock'];for(var _0x552dd7=0x0;_0x552dd7<_0x3340c0;_0x552dd7++)_0x1dcdbf[_0x422f9d+_0x552dd7]^=_0x5e5698[_0x552dd7];}return _0x5618ef;}()),_0x108064=_0x25eb99[_0x55f2a6(0x269)]={},_0x5d2980=_0x108064['Pkcs7']={'pad':function(_0x40e37b,_0x4bddfd){var _0x37fb45=_0x55f2a6;for(var _0x5a6084=_0x4bddfd*0x4,_0x395aec=_0x5a6084-_0x40e37b[_0x37fb45(0x360)]%_0x5a6084,_0x2d7ddc=_0x395aec<<0x18|_0x395aec<<0x10|_0x395aec<<0x8|_0x395aec,_0x3fcfcc=[],_0x39dd78=0x0;_0x39dd78<_0x395aec;_0x39dd78+=0x4)_0x3fcfcc[_0x37fb45(0x34a)](_0x2d7ddc);var _0x224fc7=_0x338c55[_0x37fb45(0x1da)](_0x3fcfcc,_0x395aec);_0x40e37b[_0x37fb45(0x1a7)](_0x224fc7);},'unpad':function(_0xdbc875){var _0x51bd2f=_0x55f2a6,_0x24359f=_0xdbc875['words'][_0xdbc875[_0x51bd2f(0x360)]-0x1>>>0x2]&0xff;_0xdbc875[_0x51bd2f(0x360)]-=_0x24359f;}};_0x3d0a02[_0x55f2a6(0x1e9)]=_0x467b6b['extend']({'cfg':_0x467b6b[_0x55f2a6(0x214)]['extend']({'mode':_0x39862b,'padding':_0x5d2980}),'reset':function(){var _0x5e6deb=_0x55f2a6,_0x438aca;_0x467b6b[_0x5e6deb(0x142)]['call'](this);var _0x539232=this[_0x5e6deb(0x214)],_0x36e3ae=_0x539232['iv'],_0x5bbca9=_0x539232[_0x5e6deb(0x277)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x438aca=_0x5bbca9[_0x5e6deb(0x171)]:(_0x438aca=_0x5bbca9['createDecryptor'],this['_minBufferSize']=0x1),this[_0x5e6deb(0xc6)]&&this[_0x5e6deb(0xc6)][_0x5e6deb(0xd8)]==_0x438aca?this['_mode']['init'](this,_0x36e3ae&&_0x36e3ae['words']):(this[_0x5e6deb(0xc6)]=_0x438aca['call'](_0x5bbca9,this,_0x36e3ae&&_0x36e3ae['words']),this['_mode'][_0x5e6deb(0xd8)]=_0x438aca);},'_doProcessBlock':function(_0x55d6ea,_0x287930){var _0x3c24e4=_0x55f2a6;this[_0x3c24e4(0xc6)][_0x3c24e4(0x310)](_0x55d6ea,_0x287930);},'_doFinalize':function(){var _0x365299=_0x55f2a6,_0xe05d6e,_0x15cae9=this[_0x365299(0x214)][_0x365299(0x9d)];return this[_0x365299(0x2b4)]==this[_0x365299(0x15f)]?(_0x15cae9[_0x365299(0x269)](this[_0x365299(0x169)],this['blockSize']),_0xe05d6e=this[_0x365299(0x259)](!0x0)):(_0xe05d6e=this[_0x365299(0x259)](!0x0),_0x15cae9[_0x365299(0x2dc)](_0xe05d6e)),_0xe05d6e;},'blockSize':0x80/0x20});var _0x39423e=_0x3d0a02[_0x55f2a6(0x1e3)]=_0x5e0928[_0x55f2a6(0x27f)]({'init':function(_0x1b8b27){var _0x4befb8=_0x55f2a6;this[_0x4befb8(0x16a)](_0x1b8b27);},'toString':function(_0x52f978){var _0xd1267=_0x55f2a6;return(_0x52f978||this[_0xd1267(0x204)])[_0xd1267(0x227)](this);}}),_0x17d325=_0x25eb99[_0x55f2a6(0x2ce)]={},_0x447d85=_0x17d325[_0x55f2a6(0x13b)]={'stringify':function(_0x1d2b91){var _0xd3c4d0=_0x55f2a6,_0x4c71cd,_0x20d04a=_0x1d2b91['ciphertext'],_0x6725f6=_0x1d2b91['salt'];return _0x6725f6?_0x4c71cd=_0x338c55[_0xd3c4d0(0x1da)]([0x53616c74,0x65645f5f])[_0xd3c4d0(0x1a7)](_0x6725f6)['concat'](_0x20d04a):_0x4c71cd=_0x20d04a,_0x4c71cd[_0xd3c4d0(0x2b8)](_0x20f39f);},'parse':function(_0x114c67){var _0x53b901=_0x55f2a6,_0x21ea57,_0x1e02b0=_0x20f39f[_0x53b901(0x228)](_0x114c67),_0x5ce327=_0x1e02b0[_0x53b901(0xb9)];return _0x5ce327[0x0]==0x53616c74&&_0x5ce327[0x1]==0x65645f5f&&(_0x21ea57=_0x338c55[_0x53b901(0x1da)](_0x5ce327[_0x53b901(0xa6)](0x2,0x4)),_0x5ce327['splice'](0x0,0x4),_0x1e02b0['sigBytes']-=0x10),_0x39423e[_0x53b901(0x1da)]({'ciphertext':_0x1e02b0,'salt':_0x21ea57});}},_0x65683e=_0x3d0a02['SerializableCipher']=_0x5e0928[_0x55f2a6(0x27f)]({'cfg':_0x5e0928[_0x55f2a6(0x27f)]({'format':_0x447d85}),'encrypt':function(_0x274215,_0x16d9b8,_0x191c59,_0x42fb61){var _0x4346fa=_0x55f2a6;_0x42fb61=this['cfg'][_0x4346fa(0x27f)](_0x42fb61);var _0x15686b=_0x274215['createEncryptor'](_0x191c59,_0x42fb61),_0x194a7e=_0x15686b['finalize'](_0x16d9b8),_0x489b42=_0x15686b[_0x4346fa(0x214)];return _0x39423e[_0x4346fa(0x1da)]({'ciphertext':_0x194a7e,'key':_0x191c59,'iv':_0x489b42['iv'],'algorithm':_0x274215,'mode':_0x489b42[_0x4346fa(0x277)],'padding':_0x489b42[_0x4346fa(0x9d)],'blockSize':_0x274215[_0x4346fa(0x25a)],'formatter':_0x42fb61[_0x4346fa(0x2ce)]});},'decrypt':function(_0x4a5642,_0xfdc2af,_0x11bb25,_0x148ec2){var _0x3188c0=_0x55f2a6;_0x148ec2=this[_0x3188c0(0x214)][_0x3188c0(0x27f)](_0x148ec2),_0xfdc2af=this[_0x3188c0(0x15c)](_0xfdc2af,_0x148ec2[_0x3188c0(0x2ce)]);var _0x3a8796=_0x4a5642['createDecryptor'](_0x11bb25,_0x148ec2)[_0x3188c0(0x177)](_0xfdc2af['ciphertext']);return _0x3a8796;},'_parse':function(_0x3adcda,_0x2f513c){var _0x4bbe3a=_0x55f2a6;return typeof _0x3adcda==_0x4bbe3a(0x103)?_0x2f513c[_0x4bbe3a(0x228)](_0x3adcda,this):_0x3adcda;}}),_0x25f035=_0x25eb99[_0x55f2a6(0x1d5)]={},_0x4fdf60=_0x25f035[_0x55f2a6(0x13b)]={'execute':function(_0x1453bc,_0xcd03cf,_0x1981f6,_0x318b14,_0x48f25b){var _0x619a32=_0x55f2a6;if(_0x318b14||(_0x318b14=_0x338c55[_0x619a32(0x24c)](0x40/0x8)),_0x48f25b)var _0x5ad6a4=_0x3ea177['create']({'keySize':_0xcd03cf+_0x1981f6,'hasher':_0x48f25b})[_0x619a32(0x28a)](_0x1453bc,_0x318b14);else var _0x5ad6a4=_0x3ea177['create']({'keySize':_0xcd03cf+_0x1981f6})[_0x619a32(0x28a)](_0x1453bc,_0x318b14);var _0x2778b2=_0x338c55['create'](_0x5ad6a4['words'][_0x619a32(0xa6)](_0xcd03cf),_0x1981f6*0x4);return _0x5ad6a4[_0x619a32(0x360)]=_0xcd03cf*0x4,_0x39423e['create']({'key':_0x5ad6a4,'iv':_0x2778b2,'salt':_0x318b14});}},_0x52c003=_0x3d0a02[_0x55f2a6(0x255)]=_0x65683e[_0x55f2a6(0x27f)]({'cfg':_0x65683e[_0x55f2a6(0x214)][_0x55f2a6(0x27f)]({'kdf':_0x4fdf60}),'encrypt':function(_0x4e82d1,_0xeaeca3,_0x5a5001,_0x456b2d){var _0x59bc7f=_0x55f2a6;_0x456b2d=this['cfg'][_0x59bc7f(0x27f)](_0x456b2d);var _0x41ce53=_0x456b2d['kdf']['execute'](_0x5a5001,_0x4e82d1['keySize'],_0x4e82d1[_0x59bc7f(0x1fc)],_0x456b2d[_0x59bc7f(0x22b)],_0x456b2d[_0x59bc7f(0xc9)]);_0x456b2d['iv']=_0x41ce53['iv'];var _0x46c2d0=_0x65683e[_0x59bc7f(0x127)][_0x59bc7f(0x17b)](this,_0x4e82d1,_0xeaeca3,_0x41ce53[_0x59bc7f(0x148)],_0x456b2d);return _0x46c2d0[_0x59bc7f(0x16a)](_0x41ce53),_0x46c2d0;},'decrypt':function(_0x3827d5,_0x378b66,_0x347868,_0x2e4a5f){var _0x18a006=_0x55f2a6;_0x2e4a5f=this[_0x18a006(0x214)][_0x18a006(0x27f)](_0x2e4a5f),_0x378b66=this[_0x18a006(0x15c)](_0x378b66,_0x2e4a5f[_0x18a006(0x2ce)]);var _0x519107=_0x2e4a5f[_0x18a006(0x1d5)]['execute'](_0x347868,_0x3827d5['keySize'],_0x3827d5[_0x18a006(0x1fc)],_0x378b66['salt'],_0x2e4a5f[_0x18a006(0xc9)]);_0x2e4a5f['iv']=_0x519107['iv'];var _0x33d0bb=_0x65683e[_0x18a006(0x20a)][_0x18a006(0x17b)](this,_0x3827d5,_0x378b66,_0x519107[_0x18a006(0x148)],_0x2e4a5f);return _0x33d0bb;}});}();}));}(Je)),Je[_0x47fa12(0xc2)];}var Tn=Ve[_0x1ce106(0xc2)],ti;function Cn(){var _0x532798=_0x1ce106;return ti||(ti=0x1,function(_0x125b95,_0x57d3b2){(function(_0x138f7a,_0x4d8c7e,_0x4b1e48){var _0x33d6fe=_0x654c;_0x125b95[_0x33d6fe(0xc2)]=_0x4d8c7e(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x36c17b){var _0x5d676f=_0x654c;return(function(){var _0x370d1e=_0x654c,_0x4352ed=_0x36c17b,_0x1868bf=_0x4352ed[_0x370d1e(0x1a6)],_0x2f2f02=_0x1868bf[_0x370d1e(0x1e9)],_0x1aa718=_0x4352ed[_0x370d1e(0x1fd)],_0x28ba1e=[],_0x423c41=[],_0x257fce=[],_0x21f7ce=[],_0x45be47=[],_0x954f1d=[],_0x5ac43b=[],_0x2ff8a8=[],_0x22b205=[],_0x17c3ba=[];(function(){for(var _0x45cd08=[],_0x42f2e4=0x0;_0x42f2e4<0x100;_0x42f2e4++)_0x42f2e4<0x80?_0x45cd08[_0x42f2e4]=_0x42f2e4<<0x1:_0x45cd08[_0x42f2e4]=_0x42f2e4<<0x1^0x11b;for(var _0x384dd6=0x0,_0x2d4f41=0x0,_0x42f2e4=0x0;_0x42f2e4<0x100;_0x42f2e4++){var _0x3bf81e=_0x2d4f41^_0x2d4f41<<0x1^_0x2d4f41<<0x2^_0x2d4f41<<0x3^_0x2d4f41<<0x4;_0x3bf81e=_0x3bf81e>>>0x8^_0x3bf81e&0xff^0x63,_0x28ba1e[_0x384dd6]=_0x3bf81e,_0x423c41[_0x3bf81e]=_0x384dd6;var _0x1a7ed2=_0x45cd08[_0x384dd6],_0x285407=_0x45cd08[_0x1a7ed2],_0x189af3=_0x45cd08[_0x285407],_0x5e46c5=_0x45cd08[_0x3bf81e]*0x101^_0x3bf81e*0x1010100;_0x257fce[_0x384dd6]=_0x5e46c5<<0x18|_0x5e46c5>>>0x8,_0x21f7ce[_0x384dd6]=_0x5e46c5<<0x10|_0x5e46c5>>>0x10,_0x45be47[_0x384dd6]=_0x5e46c5<<0x8|_0x5e46c5>>>0x18,_0x954f1d[_0x384dd6]=_0x5e46c5;var _0x5e46c5=_0x189af3*0x1010101^_0x285407*0x10001^_0x1a7ed2*0x101^_0x384dd6*0x1010100;_0x5ac43b[_0x3bf81e]=_0x5e46c5<<0x18|_0x5e46c5>>>0x8,_0x2ff8a8[_0x3bf81e]=_0x5e46c5<<0x10|_0x5e46c5>>>0x10,_0x22b205[_0x3bf81e]=_0x5e46c5<<0x8|_0x5e46c5>>>0x18,_0x17c3ba[_0x3bf81e]=_0x5e46c5,_0x384dd6?(_0x384dd6=_0x1a7ed2^_0x45cd08[_0x45cd08[_0x45cd08[_0x189af3^_0x1a7ed2]]],_0x2d4f41^=_0x45cd08[_0x45cd08[_0x2d4f41]]):_0x384dd6=_0x2d4f41=0x1;}}());var _0x519b23=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x343203=_0x1aa718[_0x370d1e(0x1ce)]=_0x2f2f02[_0x370d1e(0x27f)]({'_doReset':function(){var _0x1b5779=_0x370d1e,_0xbc2a57;if(!(this[_0x1b5779(0xfa)]&&this[_0x1b5779(0x2b6)]===this[_0x1b5779(0x2a4)])){for(var _0x4e2f1e=this[_0x1b5779(0x2b6)]=this['_key'],_0x4a2c27=_0x4e2f1e[_0x1b5779(0xb9)],_0x44ba8d=_0x4e2f1e[_0x1b5779(0x360)]/0x4,_0x233136=this[_0x1b5779(0xfa)]=_0x44ba8d+0x6,_0x2bba44=(_0x233136+0x1)*0x4,_0x52f8c4=this['_keySchedule']=[],_0x203373=0x0;_0x203373<_0x2bba44;_0x203373++)_0x203373<_0x44ba8d?_0x52f8c4[_0x203373]=_0x4a2c27[_0x203373]:(_0xbc2a57=_0x52f8c4[_0x203373-0x1],_0x203373%_0x44ba8d?_0x44ba8d>0x6&&_0x203373%_0x44ba8d==0x4&&(_0xbc2a57=_0x28ba1e[_0xbc2a57>>>0x18]<<0x18|_0x28ba1e[_0xbc2a57>>>0x10&0xff]<<0x10|_0x28ba1e[_0xbc2a57>>>0x8&0xff]<<0x8|_0x28ba1e[_0xbc2a57&0xff]):(_0xbc2a57=_0xbc2a57<<0x8|_0xbc2a57>>>0x18,_0xbc2a57=_0x28ba1e[_0xbc2a57>>>0x18]<<0x18|_0x28ba1e[_0xbc2a57>>>0x10&0xff]<<0x10|_0x28ba1e[_0xbc2a57>>>0x8&0xff]<<0x8|_0x28ba1e[_0xbc2a57&0xff],_0xbc2a57^=_0x519b23[_0x203373/_0x44ba8d|0x0]<<0x18),_0x52f8c4[_0x203373]=_0x52f8c4[_0x203373-_0x44ba8d]^_0xbc2a57);for(var _0x3cffe0=this['_invKeySchedule']=[],_0x406965=0x0;_0x406965<_0x2bba44;_0x406965++){var _0x203373=_0x2bba44-_0x406965;if(_0x406965%0x4)var _0xbc2a57=_0x52f8c4[_0x203373];else var _0xbc2a57=_0x52f8c4[_0x203373-0x4];_0x406965<0x4||_0x203373<=0x4?_0x3cffe0[_0x406965]=_0xbc2a57:_0x3cffe0[_0x406965]=_0x5ac43b[_0x28ba1e[_0xbc2a57>>>0x18]]^_0x2ff8a8[_0x28ba1e[_0xbc2a57>>>0x10&0xff]]^_0x22b205[_0x28ba1e[_0xbc2a57>>>0x8&0xff]]^_0x17c3ba[_0x28ba1e[_0xbc2a57&0xff]];}}},'encryptBlock':function(_0x41b858,_0xf61abf){var _0x2223da=_0x370d1e;this['_doCryptBlock'](_0x41b858,_0xf61abf,this[_0x2223da(0x128)],_0x257fce,_0x21f7ce,_0x45be47,_0x954f1d,_0x28ba1e);},'decryptBlock':function(_0x56a465,_0x371693){var _0x4cb192=_0x370d1e,_0x5952a2=_0x56a465[_0x371693+0x1];_0x56a465[_0x371693+0x1]=_0x56a465[_0x371693+0x3],_0x56a465[_0x371693+0x3]=_0x5952a2,this[_0x4cb192(0x16b)](_0x56a465,_0x371693,this['_invKeySchedule'],_0x5ac43b,_0x2ff8a8,_0x22b205,_0x17c3ba,_0x423c41);var _0x5952a2=_0x56a465[_0x371693+0x1];_0x56a465[_0x371693+0x1]=_0x56a465[_0x371693+0x3],_0x56a465[_0x371693+0x3]=_0x5952a2;},'_doCryptBlock':function(_0x440b4c,_0x4fbdf3,_0x3a428f,_0x1f3bd7,_0x55172a,_0x561641,_0x450352,_0x55014b){for(var _0x5c1bd2=this['_nRounds'],_0x48bcb3=_0x440b4c[_0x4fbdf3]^_0x3a428f[0x0],_0x10c1d8=_0x440b4c[_0x4fbdf3+0x1]^_0x3a428f[0x1],_0x199bc2=_0x440b4c[_0x4fbdf3+0x2]^_0x3a428f[0x2],_0x29581e=_0x440b4c[_0x4fbdf3+0x3]^_0x3a428f[0x3],_0x16f040=0x4,_0x4922cf=0x1;_0x4922cf<_0x5c1bd2;_0x4922cf++){var _0x122486=_0x1f3bd7[_0x48bcb3>>>0x18]^_0x55172a[_0x10c1d8>>>0x10&0xff]^_0x561641[_0x199bc2>>>0x8&0xff]^_0x450352[_0x29581e&0xff]^_0x3a428f[_0x16f040++],_0xa246a5=_0x1f3bd7[_0x10c1d8>>>0x18]^_0x55172a[_0x199bc2>>>0x10&0xff]^_0x561641[_0x29581e>>>0x8&0xff]^_0x450352[_0x48bcb3&0xff]^_0x3a428f[_0x16f040++],_0x1b1102=_0x1f3bd7[_0x199bc2>>>0x18]^_0x55172a[_0x29581e>>>0x10&0xff]^_0x561641[_0x48bcb3>>>0x8&0xff]^_0x450352[_0x10c1d8&0xff]^_0x3a428f[_0x16f040++],_0x4b44ff=_0x1f3bd7[_0x29581e>>>0x18]^_0x55172a[_0x48bcb3>>>0x10&0xff]^_0x561641[_0x10c1d8>>>0x8&0xff]^_0x450352[_0x199bc2&0xff]^_0x3a428f[_0x16f040++];_0x48bcb3=_0x122486,_0x10c1d8=_0xa246a5,_0x199bc2=_0x1b1102,_0x29581e=_0x4b44ff;}var _0x122486=(_0x55014b[_0x48bcb3>>>0x18]<<0x18|_0x55014b[_0x10c1d8>>>0x10&0xff]<<0x10|_0x55014b[_0x199bc2>>>0x8&0xff]<<0x8|_0x55014b[_0x29581e&0xff])^_0x3a428f[_0x16f040++],_0xa246a5=(_0x55014b[_0x10c1d8>>>0x18]<<0x18|_0x55014b[_0x199bc2>>>0x10&0xff]<<0x10|_0x55014b[_0x29581e>>>0x8&0xff]<<0x8|_0x55014b[_0x48bcb3&0xff])^_0x3a428f[_0x16f040++],_0x1b1102=(_0x55014b[_0x199bc2>>>0x18]<<0x18|_0x55014b[_0x29581e>>>0x10&0xff]<<0x10|_0x55014b[_0x48bcb3>>>0x8&0xff]<<0x8|_0x55014b[_0x10c1d8&0xff])^_0x3a428f[_0x16f040++],_0x4b44ff=(_0x55014b[_0x29581e>>>0x18]<<0x18|_0x55014b[_0x48bcb3>>>0x10&0xff]<<0x10|_0x55014b[_0x10c1d8>>>0x8&0xff]<<0x8|_0x55014b[_0x199bc2&0xff])^_0x3a428f[_0x16f040++];_0x440b4c[_0x4fbdf3]=_0x122486,_0x440b4c[_0x4fbdf3+0x1]=_0xa246a5,_0x440b4c[_0x4fbdf3+0x2]=_0x1b1102,_0x440b4c[_0x4fbdf3+0x3]=_0x4b44ff;},'keySize':0x100/0x20});_0x4352ed[_0x370d1e(0x1ce)]=_0x2f2f02[_0x370d1e(0x22e)](_0x343203);}()),_0x36c17b[_0x5d676f(0x1ce)];}));}(Ve)),Ve[_0x532798(0xc2)];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe['exports'],si;function Nn(){var _0x5ea586=_0x1ce106;return si||(si=0x1,function(_0x1ba319,_0x13d303){(function(_0x4cdfcb,_0x4c4279){var _0x2441f4=_0x654c;_0x1ba319[_0x2441f4(0xc2)]=_0x4c4279(te());}(yn,function(_0x8bd268){var _0x2f5362=_0x654c;return _0x8bd268[_0x2f5362(0x236)][_0x2f5362(0x1d0)];}));}(Xe)),Xe[_0x5ea586(0xc2)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x1ce106(0xc2)],ni;function wn(){var _0x59705a=_0x1ce106;return ni||(ni=0x1,function(_0x463250,_0x59d4dc){(function(_0x4f390a,_0x5ca245){var _0x42ebde=_0x654c;_0x463250[_0x42ebde(0xc2)]=_0x5ca245(te());}(An,function(_0x1e073a){var _0x272f62=_0x654c;return(function(){var _0x1f61a1=_0x654c;if(typeof ArrayBuffer=='function'){var _0x121b9a=_0x1e073a,_0x33d22f=_0x121b9a['lib'],_0x3929ee=_0x33d22f[_0x1f61a1(0x326)],_0x4756d4=_0x3929ee[_0x1f61a1(0x35f)],_0x1d2745=_0x3929ee[_0x1f61a1(0x35f)]=function(_0x3f166a){var _0x32a068=_0x1f61a1;if(_0x3f166a instanceof ArrayBuffer&&(_0x3f166a=new Uint8Array(_0x3f166a)),(_0x3f166a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3f166a instanceof Uint8ClampedArray||_0x3f166a instanceof Int16Array||_0x3f166a instanceof Uint16Array||_0x3f166a instanceof Int32Array||_0x3f166a instanceof Uint32Array||_0x3f166a instanceof Float32Array||_0x3f166a instanceof Float64Array)&&(_0x3f166a=new Uint8Array(_0x3f166a[_0x32a068(0x1bd)],_0x3f166a['byteOffset'],_0x3f166a['byteLength'])),_0x3f166a instanceof Uint8Array){for(var _0x1b64c5=_0x3f166a[_0x32a068(0x285)],_0x42fadb=[],_0x2c8e0a=0x0;_0x2c8e0a<_0x1b64c5;_0x2c8e0a++)_0x42fadb[_0x2c8e0a>>>0x2]|=_0x3f166a[_0x2c8e0a]<<0x18-_0x2c8e0a%0x4*0x8;_0x4756d4['call'](this,_0x42fadb,_0x1b64c5);}else _0x4756d4[_0x32a068(0x27d)](this,arguments);};_0x1d2745['prototype']=_0x3929ee;}}()),_0x1e073a[_0x272f62(0x1a6)][_0x272f62(0x326)];}));}(Ze)),Ze[_0x59705a(0xc2)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x1ce106(0xc2)],ri;function xn(){var _0x5e16d6=_0x1ce106;return ri||(ri=0x1,function(_0xed53eb,_0xeee98b){(function(_0x168006,_0x3d5ddf,_0x37fdec){var _0x3ecacd=_0x654c;_0xed53eb[_0x3ecacd(0xc2)]=_0x3d5ddf(te(),Ni());}(Mn,function(_0x601c59){var _0x4a474a=_0x654c;return _0x601c59[_0x4a474a(0x269)][_0x4a474a(0x15a)]={'pad':function(){},'unpad':function(){}},_0x601c59['pad'][_0x4a474a(0x15a)];}));}(Qe)),Qe[_0x5e16d6(0xc2)];}var kn=xn();const $n=$e(kn);function Hn(_0x3ee506,_0xed2b3f){var _0x5816a4=_0x1ce106;const _0x9c186f=_0xed2b3f-_0x3ee506[_0x5816a4(0x26d)]%_0xed2b3f,_0x1bd2d5=String['fromCharCode'](_0x9c186f)[_0x5816a4(0x1c2)](_0x9c186f);return _0x3ee506+_0x1bd2d5;}function Bn(_0x52a794,_0x446286){var _0x5cb1e2=_0x1ce106;const _0x6dca1e=Ln[_0x5cb1e2(0x24c)](0x10),_0x4ed3b8=Hn(_0x52a794,0x10),_0x43d553=bn[_0x5cb1e2(0x127)](Un[_0x5cb1e2(0x228)](_0x4ed3b8),ii[_0x5cb1e2(0x228)](_0x446286),{'iv':_0x6dca1e,'padding':$n});return _0x6dca1e['concat'](_0x43d553[_0x5cb1e2(0x2c9)])['toString'](ii);}function jn(){var _0x24e5c2=_0x1ce106;const _0x3b4929=_0x183ff6()[_0x24e5c2(0x1a2)];if(_0x3b4929){const _0x1415b4={'time':Math[_0x24e5c2(0x2c5)](Date[_0x24e5c2(0x1ec)]()/0x3e8),'domain':location['hostname']};return Bn(JSON[_0x24e5c2(0x227)](_0x1415b4),_0x3b4929);}}var Fn=Object[_0x1ce106(0x29d)],Vn=(_0x2e4818,_0x1cff44,_0x22ad42,_0x4e3acf)=>{var _0x40e2d1=_0x1ce106;for(var _0x1a5c1a=_0x4e3acf>0x1?void 0x0:_0x4e3acf?Fn(_0x1cff44,_0x22ad42):_0x1cff44,_0x12d097=_0x2e4818[_0x40e2d1(0x26d)]-0x1,_0x1bfad9;_0x12d097>=0x0;_0x12d097--)(_0x1bfad9=_0x2e4818[_0x12d097])&&(_0x1a5c1a=_0x1bfad9(_0x1a5c1a)||_0x1a5c1a);return _0x1a5c1a;},Gn=(_0x2cd9aa,_0x5657fe)=>(_0x2bb313,_0x16f208)=>_0x5657fe(_0x2bb313,_0x16f208,_0x2cd9aa);let at=class{constructor(_0x4b7425){var _0xaea1d4=_0x1ce106;this[_0xaea1d4(0x1b6)]=_0x4b7425,this[_0xaea1d4(0x2f7)]();}[_0x1ce106(0x2f7)](){var _0x476e4d=_0x1ce106;this[_0x476e4d(0x1b6)][_0x476e4d(0x1c1)]({'interceptor':(_0x32884b,_0x283294)=>{var _0x45cca6=_0x476e4d;const _0x320106=_0x32884b[_0x45cca6(0x244)],_0x4a47e5=jn();return _0x4a47e5&&_0x320106[_0x45cca6(0x126)]('x-univer-host',_0x4a47e5),_0x283294(_0x32884b);}});}};at=Vn([Gn(0x0,_0x462e36(_0x91e7e9))],at);var Wn=Object[_0x1ce106(0x29d)],Yn=(_0x5136f1,_0xa44c7a,_0x3e8114,_0x18a254)=>{var _0x54e315=_0x1ce106;for(var _0x43ca9b=_0x18a254>0x1?void 0x0:_0x18a254?Wn(_0xa44c7a,_0x3e8114):_0xa44c7a,_0x2daab9=_0x5136f1[_0x54e315(0x26d)]-0x1,_0x1e6439;_0x2daab9>=0x0;_0x2daab9--)(_0x1e6439=_0x5136f1[_0x2daab9])&&(_0x43ca9b=_0x1e6439(_0x43ca9b)||_0x43ca9b);return _0x43ca9b;},vt=(_0x55e428,_0xa2f61)=>(_0xe900df,_0x179d75)=>_0xa2f61(_0xe900df,_0x179d75,_0x55e428);let Ct=class extends _0x589295{constructor(_0x3b372b,_0x3742cc,_0x2818b0){var _0x19d0db=_0x1ce106;super(),N(this,'_unitInfo$',new _0x88e997(null)),N(this,'unitInfo$',this[_0x19d0db(0x1e2)][_0x19d0db(0x14a)]()),(this['_logService']=_0x3b372b,this['_snapshotService']=_0x3742cc,this[_0x19d0db(0x2a8)]=_0x2818b0);}async[_0x1ce106(0x195)](_0x5790ee,_0x5a8be1,_0x521b4f){var _0x1dda56=_0x1ce106;this[_0x1dda56(0x1e2)][_0x1dda56(0x252)]({'unitId':_0x5790ee,'type':_0x5a8be1});let _0x3bda4d=null;switch(_0x5a8be1){case Z[_0x1dda56(0x112)]:{_0x3bda4d=await this[_0x1dda56(0x33f)][_0x1dda56(0xf8)](_0x5790ee,_0x521b4f);break;}case Z[_0x1dda56(0x2eb)]:{_0x3bda4d=await this[_0x1dda56(0x33f)][_0x1dda56(0xa4)](_0x5790ee,_0x521b4f);break;}default:{this[_0x1dda56(0x331)][_0x1dda56(0x211)]('[DataLoaderService]',_0x1dda56(0x2b5));break;}}return _0x3bda4d;}async[_0x1ce106(0xc3)](_0x459b46,_0x2c89a9,_0x325658){var _0x245371=_0x1ce106,_0xb20b12;this['_unitInfo$'][_0x245371(0x252)]({'unitId':_0x459b46,'type':_0x2c89a9,'subUnitId':_0x325658});let _0xa9e70f=0x0;const _0xe186c8=await((_0xb20b12=this[_0x245371(0x2a8)])==null?void 0x0:_0xb20b12[_0x245371(0x212)](_0x459b46));return _0xe186c8&&(_0xe186c8[_0x245371(0x330)]||_0xe186c8[_0x245371(0x24d)][_0x245371(0x26d)]!==0x0)&&(_0xa9e70f=_0xe186c8[_0x245371(0xcc)]),_0xa9e70f===0x0&&this[_0x245371(0x331)][_0x245371(0x293)]('[DataLoaderService]',_0x245371(0x33c)),this[_0x245371(0x195)](_0x459b46,_0x2c89a9,_0xa9e70f);}};Ct=Yn([vt(0x0,_0x103e27),vt(0x1,_0x462e36(_0x1892f8)),vt(0x2,_0x26bebd(J))],Ct);var Kn=Object[_0x1ce106(0x29d)],qn=(_0x156cc2,_0x37a015,_0x135110,_0x21708d)=>{var _0x297364=_0x1ce106;for(var _0x42a6b1=_0x21708d>0x1?void 0x0:_0x21708d?Kn(_0x37a015,_0x135110):_0x37a015,_0x258b04=_0x156cc2[_0x297364(0x26d)]-0x1,_0x5e507c;_0x258b04>=0x0;_0x258b04--)(_0x5e507c=_0x156cc2[_0x258b04])&&(_0x42a6b1=_0x5e507c(_0x42a6b1)||_0x42a6b1);return _0x42a6b1;},pt=(_0x4a8bcc,_0xc05150)=>(_0x202d89,_0x1375c2)=>_0xc05150(_0x202d89,_0x1375c2,_0x4a8bcc);const zn=[_0x1ce106(0x263),_0x1ce106(0x35a),'image/jpg',_0x1ce106(0x2bf),_0x1ce106(0xa3)],Jn=0x5*0x400*0x400,Xn=_0x1ce106(0x16c),Zn='/universer-api/stream/file/upload',Qn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',er='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x9478cd,_0x46db11,_0x1e1d69){var _0x2bebdf=_0x1ce106;N(this,'_waitCount',0x0),N(this,'_change$',new _0x38504a()),N(this,'change$',this[_0x2bebdf(0x36f)]),N(this,_0x2bebdf(0x223),new Map()),(this[_0x2bebdf(0x1b6)]=_0x9478cd,this[_0x2bebdf(0x23f)]=_0x46db11,this[_0x2bebdf(0x2d8)]=_0x1e1d69);}[_0x1ce106(0xdf)](_0x30a6ce){var _0xa7ac15=_0x1ce106;this[_0xa7ac15(0x2cc)]=_0x30a6ce,this[_0xa7ac15(0x36f)][_0xa7ac15(0x252)](_0x30a6ce);}['getImageSourceCache'](_0x563089,_0x8a0aa1){var _0x98d675=_0x1ce106;if(_0x8a0aa1===_0x30a9da['BASE64']){const _0x14969f=new Image();return _0x14969f['src']=_0x563089,_0x14969f;}return this['_imageSourceCache'][_0x98d675(0x36d)](_0x563089);}[_0x1ce106(0x144)](_0x8822b1,_0x34f0b1,_0x1a28d5){var _0x4a7578=_0x1ce106;_0x34f0b1===_0x30a9da['BASE64']||_0x1a28d5==null||this[_0x4a7578(0x223)][_0x4a7578(0x126)](_0x8822b1,_0x1a28d5);}async['getImage'](_0x443cf){var _0x34edf6=_0x1ce106;try{const _0x57dcb5=this[_0x34edf6(0x261)](this[_0x34edf6(0x38e)](),''+_0x443cf),_0x1316e6=(await this['_httpService']['get'](_0x57dcb5))['body'];if(_0x1316e6['error']&&_0x1316e6[_0x34edf6(0x211)]['code']===pi['OK']){const _0x46561a=new URL(_0x1316e6[_0x34edf6(0xf3)],this[_0x34edf6(0x36a)]())[_0x34edf6(0x2b8)]();return Promise['resolve'](_0x46561a);}return Promise[_0x34edf6(0x18c)](_0x1316e6['error']);}catch(_0x120b3f){return Promise['reject'](_0x120b3f);}}async['saveImage'](_0x42f2ae){var _0x26d475=_0x1ce106;let _0x213473='';if(!zn[_0x26d475(0x94)](_0x42f2ae[_0x26d475(0x260)]))return this[_0x26d475(0xfb)](),Promise[_0x26d475(0x18c)](new Error(_0x34863b[_0x26d475(0x284)]));if(_0x42f2ae[_0x26d475(0x23a)]>Jn)return this[_0x26d475(0xfb)](),Promise[_0x26d475(0x18c)](new Error(_0x34863b[_0x26d475(0x341)]));try{const _0x5bcf83=new FormData();_0x5bcf83[_0x26d475(0x198)](_0x26d475(0x2ea),_0x42f2ae);const _0x115e81=this[_0x26d475(0x2d8)][_0x26d475(0xb3)](),_0x13c358=_0x115e81==null?void 0x0:_0x115e81[_0x26d475(0x11f)]();if(!_0x13c358)throw new Error(_0x26d475(0x283));const _0x5465e8=this[_0x26d475(0x1df)]()+_0x26d475(0x1be)+_0x42f2ae[_0x26d475(0x23a)][_0x26d475(0x2b8)]()+_0x26d475(0xad)+mi[_0x26d475(0x278)]+'&assign='+encodeURIComponent(_0x13c358),_0x3a24fa={'body':_0x5bcf83},_0x1a46e6=(await this[_0x26d475(0x1b6)][_0x26d475(0xf1)](_0x5465e8,_0x3a24fa))[_0x26d475(0x364)];if(typeof _0x1a46e6[_0x26d475(0x20d)]!='string')return this['_decreaseWaiting'](),Promise[_0x26d475(0x18c)](new Error(_0x34863b['ERROR_IMAGE']));_0x213473=_0x1a46e6[_0x26d475(0x20d)];}catch{return this[_0x26d475(0xfb)](),Promise['reject'](new Error(_0x34863b[_0x26d475(0x365)]));}return new Promise((_0x5c78fb,_0x1aa7f8)=>{var _0x17ff44=_0x26d475;const _0xe6a8a3=new FileReader();_0xe6a8a3['readAsDataURL'](_0x42f2ae),_0xe6a8a3[_0x17ff44(0x21e)]=_0x4ad124=>{var _0x3dadf7=_0x17ff44,_0x469394;const _0x26c60d=(_0x469394=_0x4ad124[_0x3dadf7(0x2e1)])==null?void 0x0:_0x469394[_0x3dadf7(0x355)];if(_0x26c60d==null){this['_decreaseWaiting'](),_0x1aa7f8(new Error(_0x34863b['ERROR_IMAGE']));return;}const _0x227505=_0x40a632[_0x3dadf7(0x37f)](0x6);_0x5c78fb({'imageId':_0x227505,'imageSourceType':_0x30a9da[_0x3dadf7(0x2be)],'source':_0x213473,'base64Cache':_0x26c60d,'status':_0x34863b[_0x3dadf7(0x30a)]}),this['_decreaseWaiting']();};});}[_0x1ce106(0x1df)](){var _0x41115c=_0x1ce106,_0x416747,_0x9233ae;const _0x13b936=this[_0x41115c(0x23f)][_0x41115c(0x18a)](Xn),_0x5478e8=this[_0x41115c(0x23f)]['getConfig'](K);return(_0x9233ae=(_0x416747=_0x5478e8==null?void 0x0:_0x5478e8[_0x41115c(0x145)])!=null?_0x416747:_0x13b936)!=null?_0x9233ae:Zn;}['_getSignURL'](){var _0xb1aae6=_0x1ce106,_0x111bc5,_0x40fdce;const _0x279871=this[_0xb1aae6(0x23f)][_0xb1aae6(0x18a)](Qn),_0x317491=this[_0xb1aae6(0x23f)][_0xb1aae6(0x18a)](K);return(_0x40fdce=(_0x111bc5=_0x317491==null?void 0x0:_0x317491[_0xb1aae6(0x13a)])!=null?_0x111bc5:_0x279871)!=null?_0x40fdce:er;}[_0x1ce106(0x36a)](){var _0x2644fc=_0x1ce106,_0x16234a;const _0x56eeb9=this['_configService'][_0x2644fc(0x18a)](K);return(_0x16234a=_0x56eeb9==null?void 0x0:_0x56eeb9[_0x2644fc(0x38c)])!=null?_0x16234a:location[_0x2644fc(0xcb)];}['_replaceFileID'](_0x156dbb,_0x5b184a){var _0xbdcb86=_0x1ce106;return _0x156dbb[_0xbdcb86(0x21c)]('{fileID}',_0x5b184a);}['_decreaseWaiting'](){var _0x4c4ded=_0x1ce106;this[_0x4c4ded(0x2cc)]-=0x1,this[_0x4c4ded(0x36f)]['next'](this['_waitCount']);}};Rt=qn([pt(0x0,_0x462e36(_0x91e7e9)),pt(0x1,_0x4a5014),pt(0x2,_0x462e36(_0x1f74c9))],Rt);var tr=Object[_0x1ce106(0x29d)],ir=(_0x16f867,_0x26956c,_0xef531,_0x567da8)=>{for(var _0x597c4d=_0x567da8>0x1?void 0x0:_0x567da8?tr(_0x26956c,_0xef531):_0x26956c,_0x3c1009=_0x16f867['length']-0x1,_0x1ea1d5;_0x3c1009>=0x0;_0x3c1009--)(_0x1ea1d5=_0x16f867[_0x3c1009])&&(_0x597c4d=_0x1ea1d5(_0x597c4d)||_0x597c4d);return _0x597c4d;},ai=(_0x4b9ef2,_0x5c1226)=>(_0x33c192,_0x5cbde8)=>_0x5c1226(_0x33c192,_0x5cbde8,_0x4b9ef2);const sr=_0x1ce106(0x245);let bt=class{constructor(_0x5b560f,_0x3d5e3c){var _0x3c4b7a=_0x1ce106;this['_configService']=_0x5b560f,this[_0x3c4b7a(0x19b)]=_0x3d5e3c;}[_0x1ce106(0x392)](){var _0x2251ef=_0x1ce106,_0xc1255f,_0x3ec532;const _0x6f0e04=this['_configService'][_0x2251ef(0x18a)](bi),_0x57c7a7=this[_0x2251ef(0x23f)]['getConfig'](K);return(_0x3ec532=(_0xc1255f=_0x57c7a7==null?void 0x0:_0x57c7a7[_0x2251ef(0xb5)])!=null?_0xc1255f:_0x6f0e04)!=null?_0x3ec532:sr;}async[_0x1ce106(0x26c)](_0x1bad5f){var _0x127949=_0x1ce106;const _0x1deb3a=this[_0x127949(0x392)]()+_0x127949(0x1c6);return{'list':[{'title':_0x127949(0x240),'mentions':(await this['_HTTPService'][_0x127949(0x36d)](_0x1deb3a,{'params':{'objectID':_0x1bad5f['unitId'],'unitID':_0x1bad5f[_0x127949(0x33b)]}}))[_0x127949(0x364)][_0x127949(0x388)][_0x127949(0x17a)](_0x144622=>({'objectId':_0x144622['id'],'name':_0x144622[_0x127949(0x2bb)][_0x127949(0x118)],'metadata':{'icon':_0x144622['subject'][_0x127949(0x97)]},'label':_0x144622[_0x127949(0x2bb)][_0x127949(0x118)],'objectType':_0x57b54[_0x127949(0x217)]})),'metadata':{},'type':_0x57b54[_0x127949(0x217)]}]};}};bt=ir([ai(0x0,_0x462e36(_0x4a5014)),ai(0x1,_0x462e36(_0x91e7e9))],bt);var nr=Object[_0x1ce106(0x29d)],rr=(_0x37f17b,_0x6713f1,_0x5d8255,_0x390997)=>{var _0x2df09a=_0x1ce106;for(var _0x219804=_0x390997>0x1?void 0x0:_0x390997?nr(_0x6713f1,_0x5d8255):_0x6713f1,_0x43ed3f=_0x37f17b[_0x2df09a(0x26d)]-0x1,_0x1c8988;_0x43ed3f>=0x0;_0x43ed3f--)(_0x1c8988=_0x37f17b[_0x43ed3f])&&(_0x219804=_0x1c8988(_0x219804)||_0x219804);return _0x219804;},Ae=(_0x5b7a6e,_0x2080a2)=>(_0x46ea2b,_0x1f8b3b)=>_0x2080a2(_0x46ea2b,_0x1f8b3b,_0x5b7a6e);let ot=class extends _0x589295{constructor(_0xa2b61a,_0x354701,_0x4d3578,_0xff20e1,_0x1a4912){var _0x27e4e0=_0x1ce106;super(),this[_0x27e4e0(0x105)]=_0xa2b61a,this['_univerInstanceService']=_0x354701,this[_0x27e4e0(0x1d2)]=_0x4d3578,this[_0x27e4e0(0x282)]=_0xff20e1,this[_0x27e4e0(0xae)]=_0x1a4912,this[_0x27e4e0(0xa0)](),this[_0x27e4e0(0x1b5)]();}[_0x1ce106(0x1b5)](){var _0x1775ac=_0x1ce106;const _0x231f49=async _0x44ad79=>{var _0x2c27d3=_0x654c;(await this[_0x2c27d3(0x282)][_0x2c27d3(0x109)](_0x44ad79))['event$'][_0x2c27d3(0xd4)](_0xc72917(_0x2a19c5=>_0x2a19c5['eventID']===_0x10c22b['SHOULD_CLOSE_CONN']),_0x27e70f(this['dispose$']))[_0x2c27d3(0xa2)](_0x56cbf4=>{var _0x24a356=_0x2c27d3;const _0x1130af=_0x56cbf4,{reason:_0x1d68d9}=_0x1130af[_0x24a356(0x2e7)];this[_0x24a356(0xae)][_0x24a356(0x237)]({'id':ne[_0x24a356(0x9a)],'data':_0x1d68d9}),this['_permissionService'][_0x24a356(0x12d)](new _0x2b88e9(_0x44ad79)['id'],!0x1),this[_0x24a356(0x282)][_0x24a356(0x337)](_0x44ad79);});};_0x43d5e8(this[_0x1775ac(0x2d8)][_0x1775ac(0x18e)](_0x3e7358['UNIVER_SHEET']),this[_0x1775ac(0x2d8)][_0x1775ac(0x18e)](_0x3e7358['UNIVER_DOC']))[_0x1775ac(0xd4)](_0x4c135a(_0x505fa7=>_0x505fa7[_0x1775ac(0x11f)]()),_0xc72917(_0x3e8f7a=>!_0x25ac5e(_0x3e8f7a)),_0x27e70f(this[_0x1775ac(0x184)]))['subscribe'](_0x2535ee=>{_0x231f49(_0x2535ee);});}[_0x1ce106(0xa0)](){var _0x1efa66=_0x1ce106;const _0x2c0edc=async _0x5a6ada=>{var _0x237375=_0x654c;const _0x386604=await this[_0x237375(0x282)][_0x237375(0x109)](_0x5a6ada),_0x1c76d4=this[_0x237375(0x105)][_0x237375(0x36d)](_0x175c27);_0x386604[_0x237375(0x9c)]['pipe'](_0xc72917(_0x28e974=>_0x28e974[_0x237375(0x188)]===_0x10c22b['UPDATE_PERMISSION_OBJ']),_0x27e70f(this['dispose$']))[_0x237375(0xa2)](_0x4cddde=>{var _0x26b2f9=_0x237375;const _0x3801f1=_0x4cddde,{objectId:_0x4e280c}=_0x3801f1['data'];_0x4e280c===_0x5a6ada?_0x1c76d4[_0x26b2f9(0x222)](_0x5a6ada):_0x1c76d4[_0x26b2f9(0x1f1)](_0x5a6ada,_0x4e280c);});};_0x43d5e8(this[_0x1efa66(0x2d8)][_0x1efa66(0x18e)](_0x3e7358[_0x1efa66(0x112)]))[_0x1efa66(0xd4)](_0x4c135a(_0x1c30c2=>_0x1c30c2['getUnitId']()),_0xc72917(_0xec4943=>!_0x25ac5e(_0xec4943)),_0x27e70f(this[_0x1efa66(0x184)]))[_0x1efa66(0xa2)](_0x297dbf=>{_0x2c0edc(_0x297dbf);});}};ot=rr([Ae(0x0,_0x462e36(_0x454bc4)),Ae(0x1,_0x1f74c9),Ae(0x2,_0x26f4a9),Ae(0x3,_0x462e36(Le)),Ae(0x4,_0x462e36(ve))],ot);var ar=Object[_0x1ce106(0x29d)],or=(_0x36e465,_0xf7e33a,_0x293df8,_0x3d39a1)=>{for(var _0x3c4f83=_0x3d39a1>0x1?void 0x0:_0x3d39a1?ar(_0xf7e33a,_0x293df8):_0xf7e33a,_0x13a141=_0x36e465['length']-0x1,_0x400fec;_0x13a141>=0x0;_0x13a141--)(_0x400fec=_0x36e465[_0x13a141])&&(_0x3c4f83=_0x400fec(_0x3c4f83)||_0x3c4f83);return _0x3c4f83;},oi=(_0x2579b3,_0x19ee82)=>(_0x1a690b,_0x254c4e)=>_0x19ee82(_0x1a690b,_0x254c4e,_0x2579b3);let Ot=class{constructor(_0x281c2b,_0x15742c){var _0x2f95ab=_0x1ce106;this['_configService']=_0x281c2b,this[_0x2f95ab(0x1b6)]=_0x15742c;}async[_0x1ce106(0x28d)](_0x42503d,_0x11de56){var _0x4fc53f=_0x1ce106,_0x589988;const {unitID:_0x449950,type:_0x228e54,revision:_0x3a8252=0x0}=_0x11de56,_0x46936f=this[_0x4fc53f(0x18d)]()+'/'+_0x228e54+_0x4fc53f(0x32e)+_0x449950+_0x4fc53f(0x12b)+_0x3a8252,_0x9a5c44=(await this[_0x4fc53f(0x1b6)][_0x4fc53f(0x36d)](_0x46936f))[_0x4fc53f(0x364)],_0x57117b=(_0x589988=_0x9a5c44[_0x4fc53f(0x10a)])==null?void 0x0:_0x589988[_0x4fc53f(0x20e)];if(_0x57117b){const _0x3fdd66=_0x57117b==null?void 0x0:_0x57117b[_0x4fc53f(0x12c)],_0x344de1=_0x26cb04[_0x4fc53f(0x313)](_0x341349(_0x3fdd66));_0x57117b[_0x4fc53f(0x12c)]=_0x344de1,Object['entries'](_0x57117b['sheets'])[_0x4fc53f(0x27c)](([,_0x3107e2])=>{var _0x31f00a=_0x4fc53f;const _0x3df1b0=_0x3107e2[_0x31f00a(0x12c)],_0x3f3ab5=_0x26cb04[_0x31f00a(0x313)](_0x341349(_0x3df1b0));_0x3107e2[_0x31f00a(0x12c)]=_0x3f3ab5;});}return _0x9a5c44;}async[_0x1ce106(0x179)](_0x2a723d,_0x294f03){var _0x11524f=_0x1ce106;const {unitID:_0x2fc46e,type:_0xa733cc,blockID:_0x2d81ed}=_0x294f03,_0x46cfee=this[_0x11524f(0x35b)]()+'/'+_0xa733cc+_0x11524f(0x32e)+_0x2fc46e+'/block/'+_0x2d81ed;return(await this['_httpService'][_0x11524f(0x36d)](_0x46cfee))[_0x11524f(0x364)];}async[_0x1ce106(0x287)](_0x2bd741,_0x3c658f){var _0x4fdac9=_0x1ce106;const {unitID:_0x6ab70e,type:_0xc04d5a,blockID:_0x86d1da}=_0x3c658f,_0xc5a0de=this[_0x4fdac9(0x35b)]()+_0x4fdac9(0x230)+_0xc04d5a+'/unit/'+_0x6ab70e+_0x4fdac9(0x230)+_0x86d1da;return(await this[_0x4fdac9(0x1b6)]['get'](_0xc5a0de))['body'];}async['fetchMissingChangesets'](_0x54cfea,_0x39aade){var _0xb6849b=_0x1ce106;const {unitID:_0x5059b1,type:_0x2b7492,from:_0x588b6a,to:_0xa3b0ae}=_0x39aade,_0x22887a=this['_getAPIPrefix']()+'/'+_0x2b7492+'/unit/'+_0x5059b1+_0xb6849b(0x2d7)+_0x588b6a+'&to='+_0xa3b0ae;return(await this[_0xb6849b(0x1b6)][_0xb6849b(0x36d)](_0x22887a))[_0xb6849b(0x364)];}[_0x1ce106(0x18d)](){var _0xf6f17e=_0x1ce106,_0x2dd183;return(_0x2dd183=this['_configService'][_0xf6f17e(0x18a)](ps))!=null?_0x2dd183:this[_0xf6f17e(0x35b)]();}['_getAPIPrefix'](){var _0x2b36fb=_0x1ce106,_0x5370dd,_0xa5c7a7;const _0x587025=this[_0x2b36fb(0x23f)]['getConfig'](fs),_0x4f334f=this[_0x2b36fb(0x23f)][_0x2b36fb(0x18a)](K);return(_0xa5c7a7=(_0x5370dd=_0x4f334f==null?void 0x0:_0x4f334f[_0x2b36fb(0x2c1)])!=null?_0x5370dd:_0x587025)!=null?_0xa5c7a7:vs;}async[_0x1ce106(0x375)](_0x1799aa,_0x4e24cc){var _0x1c8e94=_0x1ce106;const _0x576cbe=_0x1c8e94(0x1d4)+_0x4e24cc[_0x1c8e94(0x260)]+'/unit/'+_0x4e24cc[_0x1c8e94(0x323)]+'/resources';return(await this[_0x1c8e94(0x1b6)][_0x1c8e94(0x36d)](_0x576cbe,{'params':{'resourceId':JSON[_0x1c8e94(0x227)](_0x4e24cc[_0x1c8e94(0x366)])}}))['body'];}[_0x1ce106(0x2a7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1ce106(0x2b7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x2ab2ac=_0x1ce106;throw new Error(_0x2ab2ac(0x1cc));}[_0x1ce106(0x141)](){var _0x37e3e3=_0x1ce106;throw new Error(_0x37e3e3(0x1cc));}[_0x1ce106(0x302)](){var _0x650975=_0x1ce106;throw new Error(_0x650975(0x1cc));}[_0x1ce106(0x192)](){var _0x2fe00e=_0x1ce106;throw new Error(_0x2fe00e(0x1cc));}};Ot=or([oi(0x0,_0x4a5014),oi(0x1,_0x462e36(_0x91e7e9))],Ot);var cr=Object[_0x1ce106(0x29d)],hr=(_0x24200c,_0x48b6fe,_0x4a3c82,_0x1fc5fe)=>{var _0xc32b20=_0x1ce106;for(var _0x8d935a=_0x1fc5fe>0x1?void 0x0:_0x1fc5fe?cr(_0x48b6fe,_0x4a3c82):_0x48b6fe,_0x2ebcc5=_0x24200c[_0xc32b20(0x26d)]-0x1,_0x18a92e;_0x2ebcc5>=0x0;_0x2ebcc5--)(_0x18a92e=_0x24200c[_0x2ebcc5])&&(_0x8d935a=_0x18a92e(_0x8d935a)||_0x8d935a);return _0x8d935a;},we=(_0x3c654c,_0x59f1d2)=>(_0x150a3c,_0x1c6641)=>_0x59f1d2(_0x150a3c,_0x1c6641,_0x3c654c);let yt=class extends _0x10900d{constructor(_0x3061e1,_0x3f1730,_0x1d1a4b,_0x39252b,_0x2f23c8){var _0x38c18f=_0x1ce106;super(_0x3061e1,_0x3f1730,_0x1d1a4b),this[_0x38c18f(0x342)]=_0x39252b,this[_0x38c18f(0x331)]=_0x2f23c8;}[_0x1ce106(0xb2)](_0x3e0231,_0xa094c8){var _0x3a462b=_0x1ce106;const _0x41eed6=this['_getUndoStack'](_0x3e0231);if(_0x41eed6)try{const _0x37950d=this[_0x3a462b(0x373)](_0x41eed6,_0xa094c8);this[_0x3a462b(0x2cd)](_0x3e0231,_0x37950d);}catch(_0x1fd9dc){this[_0x3a462b(0x331)]['error']('[CollaborationUndoRedoService]',_0x1fd9dc),this[_0x3a462b(0x27a)](_0x3e0231);}const _0x4a7f92=this[_0x3a462b(0x37e)](_0x3e0231);if(_0x4a7f92)try{const _0x2af749=this['_transformStack'](_0x4a7f92,_0xa094c8);this[_0x3a462b(0x199)](_0x3e0231,_0x2af749);}catch(_0x21db1f){this[_0x3a462b(0x331)][_0x3a462b(0x211)](_0x21db1f),this['_clearRedo'](_0x3e0231);}}['_clearUndo'](_0x59aced){var _0x411857=_0x1ce106;const _0x4ce09a=this[_0x411857(0x25d)](_0x59aced);_0x4ce09a&&(_0x4ce09a[_0x411857(0x26d)]=0x0,this[_0x411857(0x300)]());}[_0x1ce106(0xb6)](_0x4018e0){var _0x49fcd5=_0x1ce106;const _0x27b690=this[_0x49fcd5(0x37e)](_0x4018e0);_0x27b690&&(_0x27b690[_0x49fcd5(0x26d)]=0x0,this['_updateStatus']());}[_0x1ce106(0x2cd)](_0x2f2bbb,_0x5cabe3){var _0x121cc0=_0x1ce106;this['_undoStacks'][_0x121cc0(0x126)](_0x2f2bbb,_0x5cabe3),this[_0x121cc0(0x300)]();}[_0x1ce106(0x199)](_0x3b843a,_0x31c382){var _0x3801bd=_0x1ce106;this[_0x3801bd(0x1ba)][_0x3801bd(0x126)](_0x3b843a,_0x31c382),this['_updateStatus']();}['_transformStack'](_0x350264,_0x134f3a){var _0x37b31f=_0x1ce106;const _0x103f38=[];let _0x2aa6fb=_0x134f3a,_0x57e699=_0x134f3a;for(let _0x432bfc=_0x350264[_0x37b31f(0x26d)]-0x1;_0x432bfc>=0x0;_0x432bfc--){const {unitID:_0x2d9033,undoMutations:_0x53614f,redoMutations:_0x28b6a4}=_0x350264[_0x432bfc],_0x54c47b=this[_0x37b31f(0x342)][_0x37b31f(0x348)](_0x2aa6fb,_0x53614f),_0x28e2b6=this['_transformService'][_0x37b31f(0x348)](_0x57e699,_0x28b6a4);if(_0x5d980c(_0x54c47b)||_0x5d980c(_0x28e2b6)){this['_logService']['error'](_0x37b31f(0x2e2),'transformStack\x20failed!',_0x54c47b,_0x28e2b6);break;}_0x2aa6fb=_0x54c47b[_0x37b31f(0x174)],_0x57e699=_0x28e2b6['c1Prime'],_0x103f38[_0x37b31f(0x34a)]({'unitID':_0x2d9033,'undoMutations':_0x54c47b['m2Prime'],'redoMutations':_0x28e2b6[_0x37b31f(0x22c)]});}return _0x103f38[_0x37b31f(0xc5)]();}};yt=hr([we(0x0,_0x1f74c9),we(0x1,_0x5a4b18),we(0x2,_0x15f5fd),we(0x3,_0x9cb7ab),we(0x4,_0x103e27)],yt);var _r=Object['defineProperty'],lr=Object[_0x1ce106(0x29d)],ur=(_0x55455a,_0x596b6f,_0xe48e05)=>_0x596b6f in _0x55455a?_r(_0x55455a,_0x596b6f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe48e05}):_0x55455a[_0x596b6f]=_0xe48e05,dr=(_0x1ff625,_0x298d7e,_0x1b2d4b,_0x4d2e82)=>{var _0x3788dd=_0x1ce106;for(var _0x24e9a7=_0x4d2e82>0x1?void 0x0:_0x4d2e82?lr(_0x298d7e,_0x1b2d4b):_0x298d7e,_0x1a531c=_0x1ff625[_0x3788dd(0x26d)]-0x1,_0x4b927d;_0x1a531c>=0x0;_0x1a531c--)(_0x4b927d=_0x1ff625[_0x1a531c])&&(_0x24e9a7=_0x4b927d(_0x24e9a7)||_0x24e9a7);return _0x24e9a7;},mt=(_0x19a4d,_0x21786b)=>(_0x31a244,_0x1e8274)=>_0x21786b(_0x31a244,_0x1e8274,_0x19a4d),fr=(_0x18545f,_0x1b2f05,_0x3ebc58)=>ur(_0x18545f,_0x1b2f05+'',_0x3ebc58);const vr=_0x1ce106(0x147);let Nt=class extends _0x34e70b{constructor(_0x38297a,_0x468910,_0x39f637,_0x29996f){var _0x1706cc=_0x1ce106;super(),N(this,_0x1706cc(0x165)),(this[_0x1706cc(0x331)]=_0x468910,this['_injector']=_0x39f637,this[_0x1706cc(0x23f)]=_0x29996f);const {..._0x2aa076}=_0x27cbe2({},Ds,_0x38297a);if(!_0x2aa076['socketService'])throw new Error(_0x1706cc(0x2d1));this[_0x1706cc(0x165)]=_0x2aa076,this[_0x1706cc(0x23f)][_0x1706cc(0x1ab)](K,_0x2aa076);}['onStarting'](){var _0x535e3d=_0x1ce106;this[_0x535e3d(0x1dd)](),this['_initDependencies']();}[_0x1ce106(0x1dd)](){var _0x461350=_0x1ce106,_0x517716,_0x11afb9;this[_0x461350(0x105)][_0x461350(0x1bc)](_0x49d306)&&this[_0x461350(0x331)][_0x461350(0x211)]('[UniverCollaborationClientPlugin]',_0x461350(0x107));const _0x477ffd=_0x266831([[_0x49d306,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this['_config'][_0x461350(0x391)]}],[_0x49f086,{'useClass':Ot}],[_0x3d56a1,{'useClass':Tt}],[_0x4bc34d,{'useClass':Rt}],[_0x18db13,{'useClass':bt}],[nt],[It]],(_0x517716=this[_0x461350(0x165)])==null?void 0x0:_0x517716[_0x461350(0x296)]);if(!((_0x11afb9=this[_0x461350(0x165)])!=null&&_0x11afb9['enableSingleActiveInstanceLock'])){const _0x571b31=_0x477ffd[_0x461350(0xbb)](([_0x43650b])=>_0x43650b===ht);_0x571b31!==-0x1&&_0x477ffd[_0x461350(0xdd)](_0x571b31,0x1);}_0x4b970a(this[_0x461350(0x105)],_0x477ffd);}[_0x1ce106(0x23d)](){var _0x284892=_0x1ce106,_0x7de4b3,_0x3389ba,_0x15f6f0;this[_0x284892(0x105)][_0x284892(0x36d)](_0x91e7e9)[_0x284892(0x1c1)]({'priority':0x14,'interceptor':_0x50fc9a({'maxParallel':0x6})}),(_0x7de4b3=this[_0x284892(0x165)])!=null&&_0x7de4b3[_0x284892(0xd6)]||(_0x3389ba=this[_0x284892(0x105)][_0x284892(0x36d)](J,_0x56f761['OPTIONAL']))==null||_0x3389ba[_0x284892(0x14c)](),(_0x15f6f0=this[_0x284892(0x165)])!=null&&_0x15f6f0['enableAuthServer']&&_0x4b931f(this[_0x284892(0x105)],[[rt]]),_0x4b931f(this['_injector'],[[at],[nt],[ot]]);}};fr(Nt,_0x1ce106(0x1ef),vr),Nt=dr([_0x28b519(_0x5838d6,_0x145b4f),mt(0x1,_0x103e27),mt(0x2,_0x462e36(_0x454bc4)),mt(0x3,_0x4a5014)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
1
+ var _0x8cc9a2=_0x178d;(function(_0x67f9e9,_0x100f7e){var _0x5e981b=_0x178d,_0x24c867=_0x67f9e9();while(!![]){try{var _0x1d80fb=parseInt(_0x5e981b(0x1aa))/0x1+-parseInt(_0x5e981b(0x267))/0x2*(parseInt(_0x5e981b(0x310))/0x3)+-parseInt(_0x5e981b(0x289))/0x4*(-parseInt(_0x5e981b(0x30b))/0x5)+-parseInt(_0x5e981b(0x2b7))/0x6*(parseInt(_0x5e981b(0x30c))/0x7)+parseInt(_0x5e981b(0xf4))/0x8+parseInt(_0x5e981b(0x2d1))/0x9*(parseInt(_0x5e981b(0x1a3))/0xa)+-parseInt(_0x5e981b(0x129))/0xb;if(_0x1d80fb===_0x100f7e)break;else _0x24c867['push'](_0x24c867['shift']());}catch(_0x6cdf){_0x24c867['push'](_0x24c867['shift']());}}}(_0x1e84,0xdb009));var Di=Object['defineProperty'],Ui=(_0x49050a,_0x1872e8,_0x45b9fc)=>_0x1872e8 in _0x49050a?Di(_0x49050a,_0x1872e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45b9fc}):_0x49050a[_0x1872e8]=_0x45b9fc,N=(_0x5f1128,_0x2448aa,_0x586e76)=>Ui(_0x5f1128,typeof _0x2448aa!='symbol'?_0x2448aa+'':_0x2448aa,_0x586e76);import{createIdentifier as _0x217a73,Inject as _0x2bc925,Injector as _0x5c0aec,IConfigService as _0x195c73,ILogService as _0xd27129,Disposable as _0x580a3b,DisposableCollection as _0x3b9aba,toDisposable as _0x3d946d,IUniverInstanceService as _0x24fe3b,UserManagerService as _0x3806f3,UniverInstanceType as _0x444bb2,LocaleService as _0x48830e,Optional as _0x31269b,RxDisposable as _0x13f7ae,Tools as _0x17f42b,Rectangle as _0xbecd6c,ICommandService as _0x8da825,JSONX as _0x383395,CommandType as _0x2aff31,IUndoRedoService as _0x1ab2de,IPermissionService as _0x2c39ae,sequenceExecute as _0x157570,Workbook as _0x118162,MentionType as _0x18d35c,isInternalEditorID as _0x2b0287,LocalUndoRedoService as _0x416660,IContextService as _0x128882,DependentOn as _0x356294,Plugin as _0x42526b,merge as _0x35ab8b,mergeOverrideWithDependencies as _0x4935cd,IAuthzIoService as _0x38a123,IMentionIOService as _0x449fda,registerDependencies as _0x218ff3,Quantity as _0x5df4bb,touchDependencies as _0xc06ae3}from'@univerjs/core';import{Subject as _0x71a712,merge as _0x4e790d,of as _0x32f5dc,BehaviorSubject as _0xf5efdc,takeUntil as _0x49e2dd,ReplaySubject as _0x5c9c56,take as _0x1d9788,map as _0x2b99f6,shareReplay as _0x280cd0,firstValueFrom as _0x54ae21,concatMap as _0x4ea64a}from'rxjs';import{map as _0xcf6408,take as _0x1ff15b,filter as _0x469615,delay as _0x4b53e2,takeUntil as _0x108dc2}from'rxjs/operators';import{CollaborationEvent as _0x52d112,ISnapshotServerService as _0x591680,parseChangesetToProtocol as _0x27472e,ITransformService as _0x20376b,isTransformMutationsWithChangesetSuccess as _0xaeb0b0,mapDocumentTypeToUniverType as _0x451344,RevisionService as _0x55e017,isTransformChangesetsSuccess as _0x53b0a7,CompressMutationService as _0x4b00a2,parseProtocolChangeset as _0xb25bd1,uuidv4 as _0xdb3176,SnapshotService as _0x4b7bbc,textEncoder as _0x260c50,b64DecodeUnicode as _0x3e3d73,isTransformMutationsWithChangesetFailure as _0x37d180,UniverCollaborationPlugin as _0x215b5a}from'@univerjs-pro/collaboration';import{HTTPService as _0x2b7687,ISocketService as _0x50b473,MergeInterceptorFactory as _0x480f26,HTTPRequest as _0x47c3f2,UniverNetworkPlugin as _0x1310cc,ThresholdInterceptorFactory as _0x57bbb5}from'@univerjs/network';import{ITelemetryService as _0x5f2298}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x6cc34}from'@univerjs/docs';import{SheetsSelectionsService as _0x5db5ca,SetSelectionsOperation as _0x54316f,InsertSheetMutation as _0x1d6366,EmptyMutation as _0x626df2,WorkbookEditablePermission as _0x4721f5,SheetPermissionInitController as _0x12aebc}from'@univerjs/sheets';import{ImageSourceType as _0x33e4d2,ImageUploadStatusType as _0x42d9c1,IImageIoService as _0x478784}from'@univerjs/drawing';function _0x178d(_0x3faa5c,_0x42a80f){var _0x1e847a=_0x1e84();return _0x178d=function(_0x178dd1,_0x1cb770){_0x178dd1=_0x178dd1-0xbf;var _0x6c7cc3=_0x1e847a[_0x178dd1];return _0x6c7cc3;},_0x178d(_0x3faa5c,_0x42a80f);}import{getGlobalObject as _0x58db97}from'@univerjs-pro/license';const fs=_0x8cc9a2(0xcb),vs=_0x8cc9a2(0x367),ps=_0x8cc9a2(0x1c3),yr=_0x8cc9a2(0x17b),ms=0x7d0,gs='COLLAB_WEB_SOCKET_URL',Ss=_0x8cc9a2(0x2dd),Nr='/universer-api/user/session-ticket',Es=_0x8cc9a2(0x2d4),Is=0x7530,fi=_0x8cc9a2(0x1ea),vi=0x4e20,Ts=0x4e20,Cs='RETRY_CONNECTING_MAX_COUNT',Rs=0x3,Dr=_0x8cc9a2(0x298),Ur=0x3e8,bs='COLLAB_SUBMIT_CHANGESET_URL',Os=_0x8cc9a2(0x2a4),ys='LOGIN_URL_KEY',Ns=_0x8cc9a2(0x2c8),Ar=_0x8cc9a2(0x236),wr=_0x8cc9a2(0x13d);var pi=(_0x31895f=>(_0x31895f[_0x31895f['UNDEFINED']=0x0]='UNDEFINED',_0x31895f[_0x31895f['OK']=0x1]='OK',_0x31895f[_0x31895f['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x31895f[_0x31895f[_0x8cc9a2(0x253)]=0x3]=_0x8cc9a2(0x253),_0x31895f[_0x31895f[_0x8cc9a2(0x26b)]=0x4]=_0x8cc9a2(0x26b),_0x31895f[_0x31895f['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x31895f[_0x31895f[_0x8cc9a2(0x20d)]=0x6]=_0x8cc9a2(0x20d),_0x31895f[_0x31895f[_0x8cc9a2(0x1c1)]=0x7]='INVALID_ARGUMENT',_0x31895f[_0x31895f[_0x8cc9a2(0x14a)]=0x8]=_0x8cc9a2(0x14a),_0x31895f[_0x31895f[_0x8cc9a2(0x27c)]=0x9]='COMPLETION_FINISHED',_0x31895f[_0x31895f[_0x8cc9a2(0x152)]=0xa]='LOGIN_FAILED',_0x31895f[_0x31895f[_0x8cc9a2(0x28f)]=0x1389]=_0x8cc9a2(0x28f),_0x31895f[_0x31895f[_0x8cc9a2(0x18e)]=0x1771]=_0x8cc9a2(0x18e),_0x31895f[_0x31895f[_0x8cc9a2(0xd2)]=0x1772]=_0x8cc9a2(0xd2),_0x31895f[_0x31895f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x8cc9a2(0x128),_0x31895f[_0x31895f[_0x8cc9a2(0x247)]=0x1b59]='APPLY_REJECT',_0x31895f[_0x31895f[_0x8cc9a2(0x2ae)]=0x1b5a]=_0x8cc9a2(0x2ae),_0x31895f[_0x31895f[_0x8cc9a2(0x372)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x31895f[_0x31895f[_0x8cc9a2(0x305)]=0x1b5c]=_0x8cc9a2(0x305),_0x31895f[_0x31895f[_0x8cc9a2(0x32f)]=0x1b5d]=_0x8cc9a2(0x32f),_0x31895f[_0x31895f[_0x8cc9a2(0xbf)]=0x1f41]=_0x8cc9a2(0xbf),_0x31895f[_0x31895f[_0x8cc9a2(0x393)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x31895f[_0x31895f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x8cc9a2(0x15c),_0x31895f[_0x31895f[_0x8cc9a2(0x2e7)]=0x232b]=_0x8cc9a2(0x2e7),_0x31895f[_0x31895f[_0x8cc9a2(0x15d)]=0x232c]=_0x8cc9a2(0x15d),_0x31895f[_0x31895f[_0x8cc9a2(0x12e)]=0x232d]=_0x8cc9a2(0x12e),_0x31895f[_0x31895f[_0x8cc9a2(0x272)]=0x2711]=_0x8cc9a2(0x272),_0x31895f[_0x31895f[_0x8cc9a2(0xf6)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x31895f[_0x31895f[_0x8cc9a2(0x326)]=0x2713]=_0x8cc9a2(0x326),_0x31895f[_0x31895f[_0x8cc9a2(0x27f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x31895f[_0x31895f[_0x8cc9a2(0x206)]=0x271a]=_0x8cc9a2(0x206),_0x31895f[_0x31895f[_0x8cc9a2(0x186)]=0x271b]=_0x8cc9a2(0x186),_0x31895f[_0x31895f[_0x8cc9a2(0x1c0)]=0x271c]=_0x8cc9a2(0x1c0),_0x31895f[_0x31895f[_0x8cc9a2(0x32c)]=0x271d]=_0x8cc9a2(0x32c),_0x31895f[_0x31895f[_0x8cc9a2(0x2be)]=0x271e]=_0x8cc9a2(0x2be),_0x31895f[_0x31895f[_0x8cc9a2(0x2ab)]=0x271f]=_0x8cc9a2(0x2ab),_0x31895f[_0x31895f[_0x8cc9a2(0x1a0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x31895f[_0x31895f[_0x8cc9a2(0x31c)]=0x2ee1]=_0x8cc9a2(0x31c),_0x31895f[_0x31895f[_0x8cc9a2(0x1d7)]=0x2ee2]=_0x8cc9a2(0x1d7),_0x31895f[_0x31895f[_0x8cc9a2(0x235)]=0x2ee3]=_0x8cc9a2(0x235),_0x31895f[_0x31895f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x8cc9a2(0x2a5),_0x31895f[_0x31895f[_0x8cc9a2(0x352)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x31895f[_0x31895f[_0x8cc9a2(0x222)]=0x32c9]=_0x8cc9a2(0x222),_0x31895f[_0x31895f[_0x8cc9a2(0x16b)]=0x32ca]=_0x8cc9a2(0x16b),_0x31895f[_0x31895f[_0x8cc9a2(0xf1)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x31895f[_0x31895f['UNRECOGNIZED']=-0x1]=_0x8cc9a2(0x13c),_0x31895f))(pi||{}),Z=(_0x5b5622=>(_0x5b5622[_0x5b5622['UNIVER_UNKNOWN']=0x0]=_0x8cc9a2(0xf7),_0x5b5622[_0x5b5622[_0x8cc9a2(0x11c)]=0x1]=_0x8cc9a2(0x11c),_0x5b5622[_0x5b5622['UNIVER_SHEET']=0x2]=_0x8cc9a2(0x2f4),_0x5b5622[_0x5b5622['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x5b5622[_0x5b5622['UNIVER_PROJECT']=0x4]=_0x8cc9a2(0x34e),_0x5b5622[_0x5b5622[_0x8cc9a2(0x13c)]=-0x1]=_0x8cc9a2(0x13c),_0x5b5622))(Z||{}),F=(_0x10fa81=>(_0x10fa81[_0x10fa81[_0x8cc9a2(0x139)]=0x0]=_0x8cc9a2(0x139),_0x10fa81[_0x10fa81[_0x8cc9a2(0x2c4)]=0x1]=_0x8cc9a2(0x2c4),_0x10fa81[_0x10fa81['JOIN']=0x2]='JOIN',_0x10fa81[_0x10fa81[_0x8cc9a2(0x359)]=0x3]='LEAVE',_0x10fa81[_0x10fa81[_0x8cc9a2(0x19c)]=0x4]=_0x8cc9a2(0x19c),_0x10fa81[_0x10fa81[_0x8cc9a2(0x39d)]=0x5]=_0x8cc9a2(0x39d),_0x10fa81[_0x10fa81[_0x8cc9a2(0x1af)]=0x6]=_0x8cc9a2(0x1af),_0x10fa81[_0x10fa81[_0x8cc9a2(0x13c)]=-0x1]=_0x8cc9a2(0x13c),_0x10fa81))(F||{}),me=(_0x13d0f5=>(_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x3c4)]=0x0]=_0x8cc9a2(0x3c4),_0x13d0f5[_0x13d0f5['OK']=0x1]='OK',_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x125)]=0x2]='FAIL',_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x22d)]=0x3e9]=_0x8cc9a2(0x22d),_0x13d0f5[_0x13d0f5['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x8cc9a2(0x399),_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x178)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x2c5)]=0x3ec]=_0x8cc9a2(0x2c5),_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x13c)]=-0x1]='UNRECOGNIZED',_0x13d0f5))(me||{}),mi=(_0x305b81=>(_0x305b81[_0x305b81[_0x8cc9a2(0x143)]=0x0]='Undefined',_0x305b81[_0x305b81['HttpImport']=0x1]=_0x8cc9a2(0x369),_0x305b81[_0x305b81[_0x8cc9a2(0x2dc)]=0x2]=_0x8cc9a2(0x2dc),_0x305b81[_0x305b81[_0x8cc9a2(0x1ba)]=0x3]='UnitEmbedded',_0x305b81[_0x305b81[_0x8cc9a2(0x31f)]=0x4]=_0x8cc9a2(0x31f),_0x305b81[_0x305b81[_0x8cc9a2(0x10a)]=0x5]='UserProfileImg',_0x305b81[_0x305b81[_0x8cc9a2(0x13c)]=-0x1]=_0x8cc9a2(0x13c),_0x305b81))(mi||{});const K='collaboration-client.config',Ds={};var ne=(_0x50e5e2=>(_0x50e5e2[_0x8cc9a2(0x295)]=_0x8cc9a2(0x295),_0x50e5e2[_0x8cc9a2(0x253)]=_0x8cc9a2(0x253),_0x50e5e2[_0x8cc9a2(0x2ee)]='CONFLICT',_0x50e5e2[_0x8cc9a2(0x22a)]=_0x8cc9a2(0x22a),_0x50e5e2[_0x8cc9a2(0x383)]=_0x8cc9a2(0x383),_0x50e5e2[_0x8cc9a2(0x19a)]='SOCKET_FAILED_RETRY',_0x50e5e2[_0x8cc9a2(0x312)]='SOCKET_FAILED',_0x50e5e2[_0x8cc9a2(0x18d)]=_0x8cc9a2(0x18d),_0x50e5e2))(ne||{});class ve{constructor(){var _0x2b74cd=_0x8cc9a2;N(this,_0x2b74cd(0x3b2),new _0x71a712()),N(this,_0x2b74cd(0x395),this[_0x2b74cd(0x3b2)]['asObservable']());}[_0x8cc9a2(0x350)](_0xba1630){var _0x3c863e=_0x8cc9a2;this[_0x3c863e(0x3b2)]['next'](_0xba1630);}}const Us=_0x217a73(_0x8cc9a2(0x145));function As(_0x25eeab){var _0x1db796=_0x8cc9a2,_0x179054,_0x18ca88,_0x574f05,_0x532f2e,_0x55b5f9;const _0x542178=_0x25eeab['data'],_0x5f526=JSON[_0x1db796(0x3c3)](_0x542178);switch(_0x5f526[_0x1db796(0x33a)]){case F[_0x1db796(0x39d)]:case F['HELLO']:{const _0x5aca88=_0x5f526[_0x1db796(0x1d6)];return{..._0x5f526,'data':_0x5aca88,'cmd':_0x5f526['cmd']};}case F[_0x1db796(0x1bd)]:{const _0x4ab8fa=_0x5f526[_0x1db796(0x300)];return{..._0x5f526,'data':_0x4ab8fa,'cmd':_0x5f526['cmd']};}case F[_0x1db796(0x1af)]:{const _0x2c4249=_0x5f526[_0x1db796(0x12f)];switch(_0x2c4249[_0x1db796(0x22e)]){case _0x52d112[_0x1db796(0x2b2)]:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x179054=_0x2c4249[_0x1db796(0x21d)])==null?void 0x0:_0x179054['cs']},'cmd':_0x5f526['cmd']};case _0x52d112[_0x1db796(0x2a7)]:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x18ca88=_0x2c4249['csAckEvent'])==null?void 0x0:_0x18ca88['cs']},'cmd':_0x5f526['cmd']};case _0x52d112['NEW_CHANGESETS']:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x574f05=_0x2c4249['newCsEvent'])==null?void 0x0:_0x574f05['cs']},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x224)]:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x532f2e=_0x2c4249[_0x1db796(0x37d)])==null?void 0x0:_0x532f2e['cs']},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112['CHANGESET_SHOULD_RETRY']:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x55b5f9=_0x2c4249['csShouldRetryEvent'])==null?void 0x0:_0x55b5f9['cs']},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x23d)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x160)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x33d)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249['joinEvent']},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x229)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x21b)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x37a)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x308)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112['LIVESHARE_FETCH_OPERATIONS']:case _0x52d112[_0x1db796(0x165)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x338)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x225)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x308)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x2a2)]:return{..._0x5f526,'data':_0x2c4249,'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x2e3)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x187)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0xc6)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x316)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112['SHOULD_CLOSE_CONN']:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x377)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0xce)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0xf5)]},'cmd':_0x5f526[_0x1db796(0x33a)]};default:return _0x5f526;}}default:return _0x5f526;}}function ws(_0xb34013){var _0x5dc59e=_0x8cc9a2;switch(_0xb34013[_0x5dc59e(0x33a)]){case F[_0x5dc59e(0x39d)]:case F[_0x5dc59e(0x2c4)]:return JSON[_0x5dc59e(0x133)]({'cmd':_0xb34013['cmd'],'routeKey':_0xb34013[_0x5dc59e(0x34d)]});case F[_0x5dc59e(0x19c)]:{let _0x22efa9;switch(_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x22e)]){case _0x52d112['UPDATE_CURSOR']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x23d)],'updateCursorEvent':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112[_0x5dc59e(0x229)]:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x229)],'leaveEvent':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112['USERS_ENTER']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x33d)],'joinEvent':_0xb34013['data']['data']};break;}case _0x52d112['LIVESHARE_NEW_HOST']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x37a)],'liveShareNewHost':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112['LIVESHARE_OPERATION']:{_0x22efa9={'eventID':_0x52d112['LIVESHARE_OPERATION'],'liveShareOperation':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112[_0x5dc59e(0x225)]:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x225)],'liveShareTerminate':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112['LIVESHARE_REQUEST_HOST']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x1e4)],'liveShareRequestHost':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112['LIVESHARE_FETCH_OPERATIONS']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x3b5)]};break;}default:_0x22efa9={'eventID':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x22e)]};}return JSON['stringify']({'cmd':_0xb34013[_0x5dc59e(0x33a)],'routeKey':_0xb34013[_0x5dc59e(0x34d)],'collaMsg':_0x22efa9});}case F['JOIN']:return JSON['stringify']({'cmd':_0xb34013[_0x5dc59e(0x33a)],'routeKey':_0xb34013[_0x5dc59e(0x34d)],'joinReq':_0xb34013[_0x5dc59e(0x32a)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0xb34013[_0x5dc59e(0x33a)],'routeKey':_0xb34013[_0x5dc59e(0x34d)],'leaveReq':_0xb34013[_0x5dc59e(0x32a)]});default:throw new Error(_0x5dc59e(0x1b0));}}var Ps=Object[_0x8cc9a2(0x2fc)],Ls=(_0x24e572,_0x39c66f,_0x4473bb,_0x10dac1)=>{var _0x136b69=_0x8cc9a2;for(var _0x5b8e54=_0x10dac1>0x1?void 0x0:_0x10dac1?Ps(_0x39c66f,_0x4473bb):_0x39c66f,_0x533146=_0x24e572[_0x136b69(0x1ae)]-0x1,_0x247df3;_0x533146>=0x0;_0x533146--)(_0x247df3=_0x24e572[_0x533146])&&(_0x5b8e54=_0x247df3(_0x5b8e54)||_0x5b8e54);return _0x5b8e54;},Ue=(_0x3d7aef,_0x1cd881)=>(_0x35eac3,_0x59211c)=>_0x1cd881(_0x35eac3,_0x59211c,_0x3d7aef);const gi=_0x217a73(_0x8cc9a2(0x38a));function Ms(_0x34c6d3,_0x4fa29c,_0x3e245e){var _0x5c27b5=_0x8cc9a2;return _0x34c6d3+'/'+_0x4fa29c+_0x5c27b5(0xf0)+_0x3e245e+_0x5c27b5(0x388);}let Ft=class extends _0x580a3b{constructor(_0x183949,_0x479608,_0x5e9d3b,_0x5a3c92,_0x2f4372){var _0x4f13cc=_0x8cc9a2;super(),this[_0x4f13cc(0x127)]=_0x183949,this[_0x4f13cc(0x100)]=_0x479608,this[_0x4f13cc(0xee)]=_0x5e9d3b,this[_0x4f13cc(0x3a2)]=_0x5a3c92,this[_0x4f13cc(0x340)]=_0x2f4372;}[_0x8cc9a2(0xdd)](_0x3cf05c){var _0x149091=_0x8cc9a2;const _0x4177bd=this[_0x149091(0x127)][_0x149091(0x313)](_0x50b473);if(!_0x4177bd)throw new Error(_0x149091(0x2eb));const _0x39cca7=_0x4177bd['createSocket'](_0x3cf05c);if(!_0x39cca7)throw new Error(_0x149091(0x3c5));const _0x2f5ff3=new _0x3b9aba(),_0x443d0b=new _0x71a712();_0x2f5ff3[_0x149091(0x2a1)](_0x39cca7[_0x149091(0x149)][_0x149091(0x389)](_0x1a9b51=>_0x443d0b[_0x149091(0x30d)](_0x1a9b51))),_0x2f5ff3[_0x149091(0x2a1)](_0x3d946d(()=>_0x443d0b[_0x149091(0x34f)]()));const _0x38882d=new _0x71a712();_0x2f5ff3[_0x149091(0x2a1)](_0x39cca7['error$'][_0x149091(0x389)](_0x42def9=>_0x38882d[_0x149091(0x30d)](_0x42def9))),_0x2f5ff3[_0x149091(0x2a1)](_0x3d946d(()=>_0x38882d['complete']()));const _0x23685b=new _0x71a712();_0x2f5ff3[_0x149091(0x2a1)](_0x39cca7[_0x149091(0x332)][_0x149091(0x389)](_0x3b84eb=>{var _0x5e4f1d=_0x149091;const _0x121390=As(_0x3b84eb);_0x23685b[_0x5e4f1d(0x30d)](_0x121390);})),_0x2f5ff3[_0x149091(0x2a1)](_0x3d946d(()=>_0x23685b[_0x149091(0x34f)]()));let _0x3eb5e2;const _0x1e1e16=()=>{var _0xbe8228=_0x149091;_0x38882d[_0xbe8228(0x30d)](new Event(_0xbe8228(0x218))),_0x443d0b[_0xbe8228(0x30d)](new Event(_0xbe8228(0x218))),_0x3eb5e2[_0xbe8228(0x24f)]();};return _0x3eb5e2={'memberID':'','close$':_0x443d0b[_0x149091(0x107)](),'error$':_0x38882d[_0x149091(0x107)](),'open$':_0x39cca7['open$'],'message$':_0x23685b[_0x149091(0x107)](),'send':_0x3591f9=>{var _0x5c8b62=_0x149091;if(_0x3591f9[_0x5c8b62(0x33a)]===F['INGEST']){if(_0x3591f9['data']['eventID']===_0x52d112[_0x5c8b62(0x2da)]){this[_0x5c8b62(0x2b3)](_0x3eb5e2,_0x3591f9[_0x5c8b62(0x32a)])[_0x5c8b62(0x2fa)](_0x64bee7=>{var _0x26b234=_0x5c8b62;this[_0x26b234(0x3a2)][_0x26b234(0x237)](_0x64bee7),_0x1e1e16();});return;}if(_0x3591f9[_0x5c8b62(0x32a)][_0x5c8b62(0x22e)]===_0x52d112['FETCH_MISSING']){const _0x2e325d=_0x3591f9['data'];this[_0x5c8b62(0x1b1)](_0x2e325d)[_0x5c8b62(0x15a)](_0x1150b5=>{var _0x59a5a5=_0x5c8b62;_0x23685b['next']({'cmd':F[_0x59a5a5(0x1af)],'code':me['OK'],'routeKey':_0x2e325d[_0x59a5a5(0x32a)]['unitID'],'routeType':'','data':{'eventID':_0x52d112['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1150b5}}});})[_0x5c8b62(0x2fa)](_0x26ffff=>{var _0x311dac=_0x5c8b62;this['_logService'][_0x311dac(0x237)](_0x26ffff),_0x1e1e16();});return;}}_0x39cca7['send'](ws(_0x3591f9));},'close':()=>{var _0x406167=_0x149091;_0x39cca7['close'](),_0x2f5ff3[_0x406167(0x1ab)]();}},_0x3eb5e2;}async['_submitChangeset'](_0x8f6277,_0x608101){var _0x4fdfe4=_0x8cc9a2,_0x51149b,_0x589f0b;const {unitType:_0x28c54d,unitID:_0x4e33a0,changeset:_0x2f68f8}=_0x608101[_0x4fdfe4(0x32a)],_0x3b7f3b={'unitID':_0x4e33a0,'memberID':_0x8f6277[_0x4fdfe4(0x13e)],'type':_0x28c54d,'changeset':_0x27472e(_0x2f68f8)},_0x581810=this[_0x4fdfe4(0xee)][_0x4fdfe4(0x122)](bs),_0x3afbae=this[_0x4fdfe4(0xee)][_0x4fdfe4(0x122)](K),_0x317fb0=Ms((_0x589f0b=(_0x51149b=_0x3afbae==null?void 0x0:_0x3afbae['collabSubmitChangesetUrl'])!=null?_0x51149b:_0x581810)!=null?_0x589f0b:Os,_0x28c54d,_0x4e33a0);try{await this[_0x4fdfe4(0x100)][_0x4fdfe4(0x171)](_0x317fb0,{'body':_0x3b7f3b});}catch(_0x200453){throw this[_0x4fdfe4(0x3a2)][_0x4fdfe4(0x237)](_0x4fdfe4(0x216),_0x4fdfe4(0x2b0)),_0x200453;}}async[_0x8cc9a2(0x1b1)](_0x5d122e){var _0x2e3198=_0x8cc9a2;const {unitID:_0x438748,from:_0x29e422,to:_0x875300,unitType:_0x29a629}=_0x5d122e[_0x2e3198(0x32a)];return(await this['_snapshotServerService'][_0x2e3198(0x120)]({'metadata':void 0x0},{'unitID':_0x438748,'type':_0x29a629,'from':_0x29e422,'to':_0x875300}))[_0x2e3198(0x318)];}};Ft=Ls([Ue(0x0,_0x2bc925(_0x5c0aec)),Ue(0x1,_0x2bc925(_0x2b7687)),Ue(0x2,_0x195c73),Ue(0x3,_0xd27129),Ue(0x4,_0x591680)],Ft);const xs=_0x8cc9a2(0x214);function ks(_0x4008b3){var _0x51ed7a=_0x8cc9a2;return JSON['stringify'](_0x4008b3)[_0x51ed7a(0x1ae)];}class Si{constructor(){var _0x2f4242=_0x8cc9a2;N(this,_0x2f4242(0x231),new _0x71a712()),N(this,_0x2f4242(0x273),this['_commentUpdate$'][_0x2f4242(0x107)]());}['onCommentUpdate'](_0x15bf59){var _0x17940e=_0x8cc9a2;this['_commentUpdate$'][_0x17940e(0x30d)](_0x15bf59);}}var $s=Object[_0x8cc9a2(0x2fc)],Hs=(_0xad1897,_0x1dee6a,_0x30256b,_0x1756ef)=>{var _0x253b9c=_0x8cc9a2;for(var _0x5dac1b=_0x1756ef>0x1?void 0x0:_0x1756ef?$s(_0x1dee6a,_0x30256b):_0x1dee6a,_0x202f3d=_0xad1897[_0x253b9c(0x1ae)]-0x1,_0x3dadfc;_0x202f3d>=0x0;_0x202f3d--)(_0x3dadfc=_0xad1897[_0x202f3d])&&(_0x5dac1b=_0x3dadfc(_0x5dac1b)||_0x5dac1b);return _0x5dac1b;},Vt=(_0x2857f9,_0x157517)=>(_0x9bf36f,_0x1b1fc5)=>_0x157517(_0x9bf36f,_0x1b1fc5,_0x2857f9);let Pe=class extends _0x580a3b{constructor(_0x2d6cec,_0x48fe87){var _0x34b29c=_0x8cc9a2;super(),N(this,_0x34b29c(0x254),new Map()),N(this,_0x34b29c(0x37e),new _0x71a712()),(this['_univerInstanceService']=_0x2d6cec,this['_userManagerService']=_0x48fe87,this[_0x34b29c(0x2ce)](_0x4e790d(this[_0x34b29c(0x370)][_0x34b29c(0x309)](_0x444bb2[_0x34b29c(0x2f4)])['pipe'](_0xcf6408(_0xf412f3=>_0xf412f3['getUnitId']())),this[_0x34b29c(0x370)][_0x34b29c(0x309)](_0x444bb2['UNIVER_DOC'])['pipe'](_0xcf6408(_0x5186a3=>_0x5186a3['getUnitId']())),this['_univerInstanceService'][_0x34b29c(0x309)](_0x444bb2[_0x34b29c(0x36f)])['pipe'](_0xcf6408(_0x2a5a66=>_0x2a5a66[_0x34b29c(0x239)]())))[_0x34b29c(0x389)](_0x17d4ee=>this['_removeRoom'](_0x17d4ee))));}[_0x8cc9a2(0x33c)](_0x318403){var _0x3ed657=_0x8cc9a2;return this[_0x3ed657(0x254)][_0x3ed657(0x16a)](_0x318403)?_0x32f5dc(this[_0x3ed657(0x254)][_0x3ed657(0x313)](_0x318403)):this[_0x3ed657(0x37e)][_0x3ed657(0x265)](_0xcf6408(_0x56c04e=>{var _0x22500e=_0x3ed657;if(_0x56c04e===_0x318403)return this[_0x22500e(0x254)][_0x22500e(0x313)](_0x56c04e);}));}['setCurrentUser'](_0x4e4c82){var _0x5d58e1=_0x8cc9a2;this[_0x5d58e1(0x155)]['setCurrentUser'](_0x4e4c82);}[_0x8cc9a2(0x1a6)](){var _0x2ae9ed=_0x8cc9a2;return this[_0x2ae9ed(0x155)]['getCurrentUser']();}[_0x8cc9a2(0x293)](_0x38dc23,_0x209f68){var _0x1db072=_0x8cc9a2;let _0x5c337c=this[_0x1db072(0x254)][_0x1db072(0x313)](_0x38dc23);_0x5c337c||(_0x5c337c=new Bs(),this[_0x1db072(0x254)][_0x1db072(0x2bb)](_0x38dc23,_0x5c337c),this['_roomCreated$'][_0x1db072(0x30d)](_0x38dc23)),_0x5c337c[_0x1db072(0x293)](_0x209f68);}[_0x8cc9a2(0x105)](_0x15434b,_0x5d63be){var _0x38a137=_0x8cc9a2;const _0x474fb0=this[_0x38a137(0x254)]['get'](_0x15434b);_0x474fb0&&_0x474fb0[_0x38a137(0x105)](_0x5d63be);}['getRoom'](_0x330cae){var _0x589ba6=_0x8cc9a2;return this[_0x589ba6(0x254)][_0x589ba6(0x313)](_0x330cae);}[_0x8cc9a2(0x281)](_0x5bf66c,_0x1669b9){var _0x187031=_0x8cc9a2;const _0x33c5de=this['_roomMembers'][_0x187031(0x313)](_0x5bf66c);if(_0x33c5de)return _0x33c5de[_0x187031(0x281)](_0x1669b9);}[_0x8cc9a2(0x34b)](_0x4cc6cc){var _0x17dd8a=_0x8cc9a2;const _0x11e7a7=this['_roomMembers']['get'](_0x4cc6cc);_0x11e7a7&&(_0x11e7a7[_0x17dd8a(0x1ab)](),this[_0x17dd8a(0x254)][_0x17dd8a(0x2aa)](_0x4cc6cc));}[_0x8cc9a2(0x1ab)](){var _0x388579=_0x8cc9a2;this[_0x388579(0x254)][_0x388579(0x172)](_0x424227=>_0x424227[_0x388579(0x1ab)]()),this[_0x388579(0x254)][_0x388579(0x17a)](),this['_roomCreated$'][_0x388579(0x34f)]();}};Pe=Hs([Vt(0x0,_0x24fe3b),Vt(0x1,_0x2bc925(_0x3806f3))],Pe);class Bs extends _0x580a3b{constructor(){var _0x3831bb=_0x8cc9a2;super(...arguments),N(this,_0x3831bb(0x1ed),new Map()),N(this,_0x3831bb(0x390),new _0xf5efdc(this[_0x3831bb(0x1ed)])),N(this,'members$',this[_0x3831bb(0x390)][_0x3831bb(0x107)]());}['dispose'](){var _0x406c5d=_0x8cc9a2;this[_0x406c5d(0x1ed)]['clear']();}[_0x8cc9a2(0x293)](_0x5aa7ab){var _0xa73497=_0x8cc9a2;this['_members'][_0xa73497(0x2bb)](_0x5aa7ab[_0xa73497(0x13e)],_0x5aa7ab),this[_0xa73497(0x11a)]();}[_0x8cc9a2(0x105)](_0x1cc663){var _0x446653=_0x8cc9a2;this[_0x446653(0x1ed)][_0x446653(0x2aa)](_0x1cc663);}['getMember'](_0x484553){return this['_members']['get'](_0x484553);}['getAllMembers'](){var _0x22db85=_0x8cc9a2;return Array[_0x22db85(0x3a6)](this['_members'][_0x22db85(0x1fb)]());}[_0x8cc9a2(0x11a)](){var _0x5f0260=_0x8cc9a2;this[_0x5f0260(0x390)][_0x5f0260(0x30d)](this[_0x5f0260(0x1ed)]);}}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x536cee,_0x3dfa95,_0x53e631,_0xd64758)=>{var _0x308ad2=_0x8cc9a2;for(var _0x350b63=_0xd64758>0x1?void 0x0:_0xd64758?js(_0x3dfa95,_0x53e631):_0x3dfa95,_0x49be9f=_0x536cee[_0x308ad2(0x1ae)]-0x1,_0x4abb01;_0x49be9f>=0x0;_0x49be9f--)(_0x4abb01=_0x536cee[_0x49be9f])&&(_0x350b63=_0x4abb01(_0x350b63)||_0x350b63);return _0x350b63;},pe=(_0x43beb1,_0x4ef14b)=>(_0x4dbebf,_0xe024aa)=>_0x4ef14b(_0x4dbebf,_0xe024aa,_0x43beb1),Se=(_0x4f1bd8=>(_0x4f1bd8[_0x4f1bd8[_0x8cc9a2(0x288)]=0x0]='IDLE',_0x4f1bd8[_0x4f1bd8[_0x8cc9a2(0x1a2)]=0x1]=_0x8cc9a2(0x1a2),_0x4f1bd8[_0x4f1bd8['OFFLINE']=0x2]=_0x8cc9a2(0x19d),_0x4f1bd8[_0x4f1bd8['ONLINE']=0x3]=_0x8cc9a2(0x373),_0x4f1bd8))(Se||{});const Gt={[me[_0x8cc9a2(0x125)]]:_0x8cc9a2(0x382),[me[_0x8cc9a2(0x22d)]]:_0x8cc9a2(0x380),[me[_0x8cc9a2(0x399)]]:_0x8cc9a2(0x2e9),[me['JOIN_ROOM_PERMISSION_DENIED']]:_0x8cc9a2(0x1f7),[me[_0x8cc9a2(0x2c5)]]:'session.room-cnt-exceeds'};let gt=class extends _0x13f7ae{constructor(_0x403a41,_0x279d3c,_0x2cb289,_0x10550f,_0x448c5a,_0x4afaca,_0x604e20,_0x5cb48c,_0x55706a){var _0x538f62=_0x8cc9a2;super(),N(this,_0x538f62(0xf9),new _0xf5efdc(0x0)),N(this,_0x538f62(0xfa),this['_sessionStatus$'][_0x538f62(0x107)]()),N(this,'_event$',new _0x71a712()),N(this,'event$',this[_0x538f62(0x3b2)][_0x538f62(0x107)]()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x538f62(0x227)),N(this,_0x538f62(0x26f),!0x1),N(this,_0x538f62(0xc8),null),(this['_unitID']=_0x403a41,this['_logService']=_0x2cb289,this[_0x538f62(0xee)]=_0x10550f,this['_localeService']=_0x448c5a,this['_memberService']=_0x4afaca,this[_0x538f62(0x25b)]=_0x604e20,this[_0x538f62(0x299)]=_0x5cb48c,this[_0x538f62(0xfb)]=_0x55706a,this[_0x538f62(0x26f)]=!!this[_0x538f62(0xfb)],_0x279d3c['pipe'](_0x49e2dd(this[_0x538f62(0x346)]))[_0x538f62(0x389)](_0x27d2ba=>{var _0x3d4622=_0x538f62,_0x147daa;typeof _0x27d2ba>'u'||(this[_0x3d4622(0x169)]=_0x27d2ba,_0x27d2ba?(this[_0x3d4622(0x348)](_0x27d2ba),this['_socketMessageSubscription']=_0x27d2ba[_0x3d4622(0x332)][_0x3d4622(0x389)](_0x5347f5=>{var _0x5581f5=_0x3d4622;_0x5347f5[_0x5581f5(0x34d)]===this[_0x5581f5(0x268)]&&this[_0x5581f5(0xe0)](_0x5347f5);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3d4622(0xf9)]['next'](0x2),(_0x147daa=this[_0x3d4622(0xd0)])==null||_0x147daa[_0x3d4622(0x31a)](),this[_0x3d4622(0xd0)]=null));}));}get['sessionStatus'](){var _0x2ed393=_0x8cc9a2;return this['_sessionStatus$'][_0x2ed393(0x14e)]();}[_0x8cc9a2(0x208)](){var _0x444571,_0x224e88;return(_0x224e88=(_0x444571=this['_socket'])==null?void 0x0:_0x444571['memberID'])!=null?_0x224e88:null;}[_0x8cc9a2(0x1ab)](){var _0x864dec=_0x8cc9a2;super['dispose'](),this[_0x864dec(0x346)][_0x864dec(0x30d)](),this[_0x864dec(0x346)][_0x864dec(0x34f)]();}[_0x8cc9a2(0x24f)](){var _0x492c4d=_0x8cc9a2,_0xa07a9a,_0x2964f2;this[_0x492c4d(0xfc)](),(_0xa07a9a=this[_0x492c4d(0x169)])==null||_0xa07a9a['send']({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x2964f2=this[_0x492c4d(0x169)])==null||_0x2964f2[_0x492c4d(0x24f)](),this[_0x492c4d(0x3b2)][_0x492c4d(0x34f)](),this[_0x492c4d(0xf9)][_0x492c4d(0x34f)](),this['dispose']();}[_0x8cc9a2(0xe0)](_0x4287a8){var _0x39fe9b=_0x8cc9a2;_0x4287a8['cmd']===F['JOIN']?this[_0x39fe9b(0x1db)](_0x4287a8):_0x4287a8[_0x39fe9b(0x33a)]===F[_0x39fe9b(0x1af)]&&this['_onRecvEvent'](_0x4287a8);}[_0x8cc9a2(0x348)](_0x12173a){var _0x103acb=_0x8cc9a2;this[_0x103acb(0xf9)]['next'](0x1),_0x12173a[_0x103acb(0x2e1)]({'cmd':F[_0x103acb(0x1bd)],'routeKey':this[_0x103acb(0x268)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x8cc9a2(0x1db)](_0x4486ad){var _0x368647=_0x8cc9a2,_0x1cd315;if(_0x4486ad['code']in Gt){this['_collaborationUIEventService'][_0x368647(0x350)]({'id':ne[_0x368647(0x383)],'data':Gt[_0x4486ad[_0x368647(0x12b)]]}),this[_0x368647(0xf9)][_0x368647(0x30d)](0x2);return;}this['_sessionStatus$'][_0x368647(0x30d)](0x3);const _0x257ac1=(_0x1cd315=_0x4486ad['data'][_0x368647(0x1d4)][this[_0x368647(0x268)]])==null?void 0x0:_0x1cd315['members'];_0x257ac1&&_0x257ac1['forEach'](_0x54b844=>this[_0x368647(0x1c9)]['updateMember'](this['_unitID'],_0x54b844));}[_0x8cc9a2(0x2d6)](_0x4463f3){var _0x2dc045=_0x8cc9a2;try{const _0x3f0404=_0x4463f3[_0x2dc045(0x32a)];switch(_0x3f0404[_0x2dc045(0x22e)]){case _0x52d112['USERS_ENTER']:this[_0x2dc045(0xd6)](_0x3f0404),this[_0x2dc045(0x3b2)][_0x2dc045(0x30d)](_0x3f0404);break;case _0x52d112[_0x2dc045(0x229)]:this[_0x2dc045(0x167)](_0x3f0404),this[_0x2dc045(0x3b2)][_0x2dc045(0x30d)](_0x3f0404);break;case _0x52d112[_0x2dc045(0x2a7)]:case _0x52d112['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x2dc045(0x3b2)]['next'](_0x3f0404);break;case _0x52d112[_0x2dc045(0x2a2)]:this[_0x2dc045(0x3a2)][_0x2dc045(0x237)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x3f0404)),this['_event$'][_0x2dc045(0x30d)](_0x3f0404);break;case _0x52d112[_0x2dc045(0x2e3)]:this[_0x2dc045(0x25b)][_0x2dc045(0x14f)](_0x3f0404[_0x2dc045(0x32a)]),this[_0x2dc045(0x3b2)]['next'](_0x3f0404);break;default:this['_event$']['next'](_0x3f0404);}}catch(_0x407ba7){this[_0x2dc045(0x3a2)][_0x2dc045(0x237)](_0x407ba7,_0x4463f3);}}['_onUserJoin'](_0x2327e9){var _0x48783e=_0x8cc9a2;this[_0x48783e(0x1c9)][_0x48783e(0x293)](this['_unitID'],_0x2327e9[_0x48783e(0x32a)]);}['_onUserLeave'](_0x2f684c){var _0x44f7f4=_0x8cc9a2;this[_0x44f7f4(0x1c9)][_0x44f7f4(0x105)](this[_0x44f7f4(0x268)],_0x2f684c['data']['memberID']);}async['send'](_0x53bf66,_0x48cd23){var _0x408850=_0x8cc9a2;if(this[_0x408850(0x20f)]!==0x3||!this[_0x408850(0x169)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x53bf66['eventID']===_0x52d112[_0x408850(0x2da)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x53bf66)),this['_socket']['send']({'cmd':F[_0x408850(0x19c)],'routeKey':_0x48cd23,'routeType':'','data':_0x53bf66});}catch(_0x110555){this['_logService']['error'](_0x110555);}}['_scheduleCollaborationTimeoutTimer'](){var _0x172e58=_0x8cc9a2,_0x24e0b3;this[_0x172e58(0x227)]=setTimeout(()=>{var _0x5b857a=_0x172e58;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x5b857a(0x18d)]});},(_0x24e0b3=this[_0x172e58(0xee)][_0x172e58(0x122)](fi))!=null?_0x24e0b3:vi);}['_clearCollaborationTimeoutTimer'](){var _0x3ae17d=_0x8cc9a2;this[_0x3ae17d(0x227)]&&(clearTimeout(this[_0x3ae17d(0x227)]),this[_0x3ae17d(0x227)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x6de888){var _0x32c044=_0x8cc9a2;if(!this[_0x32c044(0x26f)])return;const {data:_0x3ace80}=_0x6de888,{unitID:_0x5cf892,changeset:_0x37e2f9}=_0x3ace80,{mutations:_0xef5780,type:_0x490380}=_0x37e2f9;this[_0x32c044(0xc8)]={'unitId':_0x5cf892,'type':_0x490380,'startTime':performance[_0x32c044(0xd9)](),'stopTime':0x0,'duration':0x0,'size':ks(_0xef5780)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x36e6fc=_0x8cc9a2;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x36e6fc(0x3a2)][_0x36e6fc(0x237)](_0x36e6fc(0x216),_0x36e6fc(0x194));return;}this[_0x36e6fc(0xc8)][_0x36e6fc(0x141)]=performance['now'](),this[_0x36e6fc(0xc8)][_0x36e6fc(0x354)]=this[_0x36e6fc(0xc8)][_0x36e6fc(0x141)]-this[_0x36e6fc(0xc8)][_0x36e6fc(0x17d)],this[_0x36e6fc(0xfb)]['capture'](xs,this[_0x36e6fc(0xc8)]),this['_telemetryInfo']=null;}}[_0x8cc9a2(0xfc)](){var _0x4b8521=_0x8cc9a2;this[_0x4b8521(0xc8)]=null;}};gt=Fs([pe(0x2,_0xd27129),pe(0x3,_0x195c73),pe(0x4,_0x2bc925(_0x48830e)),pe(0x5,_0x2bc925(Pe)),pe(0x6,_0x2bc925(Si)),pe(0x7,_0x2bc925(ve)),pe(0x8,_0x31269b(_0x5f2298))],gt);var Vs=Object[_0x8cc9a2(0x2fc)],Gs=(_0x3d96bc,_0x538949,_0xba3ddb,_0x309073)=>{var _0x88e256=_0x8cc9a2;for(var _0x5ba508=_0x309073>0x1?void 0x0:_0x309073?Vs(_0x538949,_0xba3ddb):_0x538949,_0x569225=_0x3d96bc[_0x88e256(0x1ae)]-0x1,_0x2f76e4;_0x569225>=0x0;_0x569225--)(_0x2f76e4=_0x3d96bc[_0x569225])&&(_0x5ba508=_0x2f76e4(_0x5ba508)||_0x5ba508);return _0x5ba508;},Re=(_0x28d39e,_0x24016e)=>(_0x51673c,_0x5defeb)=>_0x24016e(_0x51673c,_0x5defeb,_0x28d39e);let Le=class extends _0x580a3b{constructor(_0xdfea1c,_0x425c3d,_0x32f567,_0x92c195,_0x46bba6,_0x28e9ae){var _0x5b2b0c=_0x8cc9a2;super(),N(this,'_socket$',new _0xf5efdc(void 0x0)),N(this,_0x5b2b0c(0x1a9),this['_socket$'][_0x5b2b0c(0x107)]()),N(this,'_candidateSocket',null),N(this,_0x5b2b0c(0x24b),new Map()),N(this,_0x5b2b0c(0x147),new _0xf5efdc(Se['IDLE'])),N(this,_0x5b2b0c(0x26a),this[_0x5b2b0c(0x147)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x5b2b0c(0x307)),(this[_0x5b2b0c(0x127)]=_0xdfea1c,this[_0x5b2b0c(0x3a2)]=_0x425c3d,this[_0x5b2b0c(0xee)]=_0x32f567,this['_socketService']=_0x92c195,this[_0x5b2b0c(0x299)]=_0x46bba6,this[_0x5b2b0c(0x361)]=_0x28e9ae,this[_0x5b2b0c(0x3c6)]());}get['_socket'](){var _0x65bad5=_0x8cc9a2;return this[_0x65bad5(0x2b5)]['getValue']();}[_0x8cc9a2(0x3c6)](){var _0x288bce=_0x8cc9a2;this['_networkConditionService']&&this[_0x288bce(0x2ce)](this[_0x288bce(0x361)][_0x288bce(0x20a)][_0x288bce(0x389)](_0x190044=>{var _0xc6e5ac=_0x288bce;_0x190044&&!this[_0xc6e5ac(0x169)]&&this[_0xc6e5ac(0x16e)](),_0x190044||this[_0xc6e5ac(0x150)]();}));}[_0x8cc9a2(0x1ab)](){var _0x19c997=_0x8cc9a2;super[_0x19c997(0x1ab)](),this[_0x19c997(0x320)](),this[_0x19c997(0x1c2)](),this[_0x19c997(0x25a)](),this[_0x19c997(0x24b)]['forEach'](_0x2130cb=>_0x2130cb[_0x19c997(0x1ab)]()),this['_sessions']['clear'](),this['_status$']['complete']();}async[_0x8cc9a2(0x148)](_0x4c18da){var _0xa829d6=_0x8cc9a2;if(this['_sessions'][_0xa829d6(0x16a)](_0x4c18da))return this['_sessions'][_0xa829d6(0x313)](_0x4c18da);this[_0xa829d6(0x35e)]();const _0x226909=this[_0xa829d6(0x127)]['createInstance'](gt,_0x4c18da,this[_0xa829d6(0x2b5)][_0xa829d6(0x107)]());return this[_0xa829d6(0x24b)][_0xa829d6(0x2bb)](_0x4c18da,_0x226909),_0x226909;}[_0x8cc9a2(0x3b6)](_0x3cc960){var _0x230d4c=_0x8cc9a2,_0x314474;const _0x1b1da6=this[_0x230d4c(0x24b)][_0x230d4c(0x313)](_0x3cc960);_0x1b1da6&&(this[_0x230d4c(0x24b)]['delete'](_0x3cc960),_0x1b1da6['close']()),this['_sessions']['size']||(_0x314474=this['_socket'])==null||_0x314474[_0x230d4c(0x24f)]();}[_0x8cc9a2(0x16e)](){var _0x3f585b=_0x8cc9a2;this[_0x3f585b(0x3a3)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x3f585b(0x176)]();}[_0x8cc9a2(0x320)](){var _0x572cc8=_0x8cc9a2;this[_0x572cc8(0x3b4)]!=null&&(clearTimeout(this[_0x572cc8(0x3b4)]),this[_0x572cc8(0x3b4)]=null);}async[_0x8cc9a2(0x1e5)](){var _0x7d6ced=_0x8cc9a2,_0x4ebc0d,_0x391650;const _0x2ae92f=this[_0x7d6ced(0xee)]['getConfig'](gs),_0x497df1=this[_0x7d6ced(0xee)][_0x7d6ced(0x122)](K),_0x2e372d=(_0x391650=(_0x4ebc0d=_0x497df1==null?void 0x0:_0x497df1['collabWebSocketUrl'])!=null?_0x4ebc0d:_0x2ae92f)!=null?_0x391650:Ss,_0x153b9f=await this[_0x7d6ced(0x174)][_0x7d6ced(0x2ca)](_0x2e372d);return this['_candidateSocket']=_0x153b9f,_0x153b9f;}async[_0x8cc9a2(0x35e)](){var _0x3e9d03=_0x8cc9a2,_0x22fb4f,_0x306252;try{const _0x276576=(_0x306252=(_0x22fb4f=this[_0x3e9d03(0x169)])!=null?_0x22fb4f:this[_0x3e9d03(0x2a0)])!=null?_0x306252:await this[_0x3e9d03(0x1e5)]();if(_0x276576){const _0x3e938b=_0x276576[_0x3e9d03(0x2e1)];_0x276576[_0x3e9d03(0x2e1)]=_0x1ed4dd=>(this[_0x3e9d03(0x2d3)](),_0x3e938b[_0x3e9d03(0x368)](_0x276576,[_0x1ed4dd])),_0x276576[_0x3e9d03(0x332)][_0x3e9d03(0x389)](_0xa28284=>this[_0x3e9d03(0x1c8)](_0x276576,_0xa28284)),_0x276576[_0x3e9d03(0x1bb)]['pipe'](_0x1ff15b(0x1))['subscribe'](_0x50f894=>this[_0x3e9d03(0x3a2)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x50f894)),_0x276576[_0x3e9d03(0xc0)][_0x3e9d03(0x265)](_0x1ff15b(0x1))[_0x3e9d03(0x389)](()=>{var _0xf225cc=_0x3e9d03;this[_0xf225cc(0xde)](_0x276576);}),_0x276576['close$']['pipe'](_0x1ff15b(0x1))[_0x3e9d03(0x389)](_0x1c5980=>{var _0x47b119=_0x3e9d03;this[_0x47b119(0x3a2)][_0x47b119(0x31b)](_0x47b119(0x1fe),_0x47b119(0x2e4),_0x1c5980),this[_0x47b119(0x1da)]();});}}catch(_0x1ffc0f){this['_logService'][_0x3e9d03(0x237)](_0x1ffc0f),this['_onConnectionFailed']();}}[_0x8cc9a2(0xde)](_0x4ffed3){var _0x172617=_0x8cc9a2;this[_0x172617(0x3a2)][_0x172617(0x31b)]('[CollaborationSessionService]',_0x172617(0x325)),_0x4ffed3[_0x172617(0x2e1)]({'cmd':F['HELLO']}),this[_0x172617(0x2d3)]();}[_0x8cc9a2(0x150)](){var _0x59aaae=_0x8cc9a2;this[_0x59aaae(0x164)]=!0x1,this[_0x59aaae(0x2a0)]=null,this[_0x59aaae(0x147)][_0x59aaae(0x30d)](Se['OFFLINE']),this[_0x59aaae(0x2b5)][_0x59aaae(0x30d)](null),this[_0x59aaae(0x1c2)](),this['_clearHeartbeatTimer']();}[_0x8cc9a2(0x1da)](){var _0x29e754=_0x8cc9a2,_0x5286f6;this['_onOffline'](),this[_0x29e754(0x3a3)]<((_0x5286f6=this['_configService'][_0x29e754(0x122)](Cs))!=null?_0x5286f6:Rs)?(this[_0x29e754(0x299)][_0x29e754(0x350)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0x29e754(0x176)]()):this['_collaborationUIEventService'][_0x29e754(0x350)]({'id':ne[_0x29e754(0x312)]});}[_0x8cc9a2(0x176)](){var _0x17cca0=_0x8cc9a2,_0x3a6cda;const _0x527bc0=this[_0x17cca0(0x3a3)],_0x9eec0e=this[_0x17cca0(0xee)][_0x17cca0(0x122)](K),_0x4b94a4=_0x527bc0===0x0?0x0:((_0x3a6cda=_0x9eec0e==null?void 0x0:_0x9eec0e[_0x17cca0(0x286)])!=null?_0x3a6cda:Ts)*0x2**_0x527bc0;this[_0x17cca0(0x3b4)]=setTimeout(()=>{var _0x38b78d=_0x17cca0;clearTimeout(this['_retryConnectingTimer']),this[_0x38b78d(0x3b4)]=null,this[_0x38b78d(0x35e)]();},_0x4b94a4),this[_0x17cca0(0x3a3)]+=0x1;}[_0x8cc9a2(0x1c8)](_0x44f5cd,_0x1e324f){var _0x3fdb83=_0x8cc9a2;const {cmd:_0x388d46}=_0x1e324f;_0x388d46===F[_0x3fdb83(0x2c4)]&&!this[_0x3fdb83(0x164)]&&(_0x44f5cd[_0x3fdb83(0x13e)]=_0x1e324f[_0x3fdb83(0x32a)][_0x3fdb83(0x13e)],this[_0x3fdb83(0x2b5)][_0x3fdb83(0x30d)](_0x44f5cd),this[_0x3fdb83(0x147)][_0x3fdb83(0x30d)](Se[_0x3fdb83(0x373)]),this[_0x3fdb83(0x164)]=!0x0,this[_0x3fdb83(0x2a0)]=null),_0x388d46===F[_0x3fdb83(0x39d)]&&this[_0x3fdb83(0x1c2)](),this[_0x3fdb83(0x2d3)]();}['_rescheduleHeartbeat'](){var _0x542edc=_0x8cc9a2,_0x2bdd1c;this[_0x542edc(0x25a)](),this[_0x542edc(0xe6)]=setTimeout(()=>this[_0x542edc(0x207)](),(_0x2bdd1c=this['_configService'][_0x542edc(0x122)](Es))!=null?_0x2bdd1c:Is);}['_sendHeartbeat'](){var _0x457c09=_0x8cc9a2;this[_0x457c09(0x169)][_0x457c09(0x2e1)]({'cmd':F['HEARTBEAT']}),this[_0x457c09(0x32d)]();}[_0x8cc9a2(0x32d)](){var _0x44dda0=_0x8cc9a2,_0x18db45;this[_0x44dda0(0x307)]=setTimeout(()=>this[_0x44dda0(0x1da)](),(_0x18db45=this[_0x44dda0(0xee)][_0x44dda0(0x122)](fi))!=null?_0x18db45:vi);}[_0x8cc9a2(0x25a)](){var _0x104c6d=_0x8cc9a2;this[_0x104c6d(0xe6)]!=null&&(clearTimeout(this[_0x104c6d(0xe6)]),this[_0x104c6d(0xe6)]=null);}['_clearTimeoutTimer'](){var _0x31a66d=_0x8cc9a2;this[_0x31a66d(0x307)]!=null&&(clearTimeout(this[_0x31a66d(0x307)]),this[_0x31a66d(0x307)]=null);}};Le=Gs([Re(0x0,_0x2bc925(_0x5c0aec)),Re(0x1,_0xd27129),Re(0x2,_0x195c73),Re(0x3,gi),Re(0x4,_0x2bc925(ve)),Re(0x5,_0x31269b(Us))],Le);const J=_0x217a73(_0x8cc9a2(0x2ad));function Pr(_0x190b7b){return'unit-cache-'+_0x190b7b;}var Ws=Object[_0x8cc9a2(0x2fc)],Ys=(_0x319ea6,_0x362bfb,_0x22b8d0,_0x42b1d9)=>{var _0x55f7eb=_0x8cc9a2;for(var _0x46f57f=_0x42b1d9>0x1?void 0x0:_0x42b1d9?Ws(_0x362bfb,_0x22b8d0):_0x362bfb,_0x18d3bf=_0x319ea6[_0x55f7eb(0x1ae)]-0x1,_0x274379;_0x18d3bf>=0x0;_0x18d3bf--)(_0x274379=_0x319ea6[_0x18d3bf])&&(_0x46f57f=_0x274379(_0x46f57f)||_0x46f57f);return _0x46f57f;},ut=(_0x5b3c35,_0x19930d)=>(_0x3d33f3,_0x43abb4)=>_0x19930d(_0x3d33f3,_0x43abb4,_0x5b3c35);function Ks(_0x29e3d4){var _0xf9a0c1=_0x8cc9a2;const {unitID:_0x4f18db,mutations:_0x574822}=_0x29e3d4;return{'unitId':_0x4f18db,'subUnitId':_0x574822[0x0][_0xf9a0c1(0x3b3)]['subUnitId']};}let it=class{constructor(_0x32c859,_0x24a1cd,_0x5b2401){var _0x40efae=_0x8cc9a2;this[_0x40efae(0x127)]=_0x32c859,this[_0x40efae(0x385)]=_0x24a1cd,this[_0x40efae(0x1b9)]=_0x5b2401;}[_0x8cc9a2(0x283)](_0x40714d){var _0x58e799=_0x8cc9a2,_0x12bd35,_0x176eee,_0x12047f,_0x53e107;const _0x3c48ac=this[_0x58e799(0x127)]['get'](_0x5db5ca),{unitId:_0x18bf98,subUnitId:_0x228b46}=Ks(_0x40714d),_0x5f523f=_0x3c48ac==null?void 0x0:_0x3c48ac['getWorkbookSelections'](_0x18bf98)['getCurrentSelections'](),_0x100a52=(_0x176eee=(_0x12bd35=this[_0x58e799(0x1b9)][_0x58e799(0x343)](_0x18bf98))==null?void 0x0:_0x12bd35[_0x58e799(0x2a3)]())==null?void 0x0:_0x176eee[_0x58e799(0xcd)]();if(_0x5f523f[_0x58e799(0x1ae)]===0x0||!_0x18bf98||!_0x228b46)return;const _0x5a6599=[{'id':_0x54316f['id'],'params':{'unitId':_0x18bf98,'subUnitId':_0x100a52,'selections':_0x17f42b[_0x58e799(0x29e)](_0x5f523f)}}],_0x222275=this[_0x58e799(0x385)][_0x58e799(0x1e0)](_0x40714d,_0x5a6599);if(!_0xaeb0b0(_0x222275))throw _0x222275[_0x58e799(0x237)];const _0x182bd6=(_0x53e107=(_0x12047f=_0x222275['m2Prime'][0x0])==null?void 0x0:_0x12047f['params'])==null?void 0x0:_0x53e107[_0x58e799(0xf2)];if(Array[_0x58e799(0x287)](_0x182bd6)&&_0x182bd6['length']){if(_0x182bd6['length']===_0x5a6599[0x0][_0x58e799(0x3b3)][_0x58e799(0xf2)][_0x58e799(0x1ae)]&&_0x182bd6[_0x58e799(0x14c)]((_0x3c535c,_0x56c593)=>_0xbecd6c[_0x58e799(0x2fd)](_0x3c535c[_0x58e799(0xd4)],_0x5a6599[0x0][_0x58e799(0x3b3)]['selections'][_0x56c593][_0x58e799(0xd4)])))return;this[_0x58e799(0x127)][_0x58e799(0x313)](_0x8da825)[_0x58e799(0x280)](_0x54316f['id'],{'unitId':_0x18bf98,'subUnitId':_0x100a52,'selections':_0x182bd6});}}};it=Ys([ut(0x0,_0x2bc925(_0x5c0aec)),ut(0x1,_0x20376b),ut(0x2,_0x24fe3b)],it);const ht=_0x217a73(_0x8cc9a2(0x398));var Ei=(_0x9eb281=>(_0x9eb281[_0x9eb281['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x9eb281[_0x9eb281[_0x8cc9a2(0x277)]=0x1]=_0x8cc9a2(0x277),_0x9eb281))(Ei||{});const qs=new Set([_0x1d6366['id']]);function Wt(_0x48d97f,_0x3a2396,_0x1a25c5,_0x33f4cb,_0x217157){var _0x517738=_0x8cc9a2,_0x5485c7,_0x1bf5ed,_0x1b838c,_0x33fa9a;const _0x530707=[];for(const _0x5647e9 of _0x48d97f)if(qs[_0x517738(0x16a)](_0x5647e9['id'])){if(_0x530707[_0x517738(0x1ae)]>0x0)break;_0x530707['push'](_0x5647e9);break;}else _0x530707[_0x517738(0x13f)](_0x5647e9);const _0x442d7d=(_0x1bf5ed=(_0x5485c7=_0x217157['getCurrentUser']())==null?void 0x0:_0x5485c7[_0x517738(0x123)])!=null?_0x1bf5ed:_0x517738(0xf8),_0x425ff3=(_0x33fa9a=(_0x1b838c=_0x217157['getCurrentUser']())==null?void 0x0:_0x1b838c[_0x517738(0x13e)])!=null?_0x33fa9a:_0x517738(0xf8);return{'changeset':{'unitID':_0x3a2396,'type':_0x451344(_0x1a25c5[_0x517738(0x30f)](_0x3a2396)),'baseRev':_0x33f4cb['getCurrentRevOfUnit'](_0x3a2396),'revision':0x0,'userID':_0x442d7d,'memberID':_0x425ff3,'mutations':_0x530707},'pendingMutations':_0x48d97f[_0x517738(0x2ec)](_0x530707[_0x517738(0x1ae)])};}function zs(_0x3a44fe,_0x3cf188,_0x193370,_0x45a062,_0x22177d){var _0x6d6d0a=_0x8cc9a2,_0xb07b4a,_0x560c18,_0x2d7f96,_0x9121b8;const _0xa72fae=[_0x3a44fe['reduce']((_0xa1f6f2,_0x3c05db)=>{var _0x585c6f=_0x178d,_0x71afc1;const {id:_0x16579b}=_0xa1f6f2,{id:_0x39ed5c,type:_0x3d1b6c}=_0x3c05db,_0x56627b=(_0x71afc1=_0xa1f6f2['params'])!=null?_0x71afc1:{'actions':null},_0x44ca60=_0x3c05db[_0x585c6f(0x3b3)];if(_0x16579b&&_0x16579b!==_0x39ed5c)throw new Error(_0x585c6f(0x363)+_0x16579b+_0x585c6f(0x2cf)+_0x39ed5c+'.');return{..._0xa1f6f2,'id':_0x39ed5c,'type':_0x3d1b6c,'params':{'unitId':_0x44ca60[_0x585c6f(0x3a7)],'textRanges':_0x44ca60[_0x585c6f(0x2ac)],'actions':_0x383395[_0x585c6f(0x1bf)](_0x56627b[_0x585c6f(0x16f)],_0x44ca60[_0x585c6f(0x16f)])}};},{})],_0x526e17=(_0x560c18=(_0xb07b4a=_0x22177d[_0x6d6d0a(0x1a6)]())==null?void 0x0:_0xb07b4a[_0x6d6d0a(0x123)])!=null?_0x560c18:_0x6d6d0a(0xf8),_0x491982=(_0x9121b8=(_0x2d7f96=_0x22177d[_0x6d6d0a(0x1a6)]())==null?void 0x0:_0x2d7f96['memberID'])!=null?_0x9121b8:_0x6d6d0a(0xf8);return{'changeset':{'unitID':_0x3cf188,'type':_0x451344(_0x193370[_0x6d6d0a(0x30f)](_0x3cf188)),'baseRev':_0x45a062[_0x6d6d0a(0x38f)](_0x3cf188),'revision':0x0,'userID':_0x526e17,'memberID':_0x491982,'mutations':_0xa72fae},'pendingMutations':[]};}function Ii(_0x1b96aa,_0x1bd635){var _0x55f5cb=_0x8cc9a2;const _0x4631d1=new _0x5c9c56(0x1);return setTimeout(()=>_0x4631d1[_0x55f5cb(0x30d)](_0x1bd635),_0x1b96aa),_0x4631d1[_0x55f5cb(0x107)]()[_0x55f5cb(0x265)](_0x1d9788(0x1));}const Js={'id':_0x626df2['id'],'type':_0x2aff31[_0x8cc9a2(0xc2)],'params':{}};var Xs=Object[_0x8cc9a2(0x2fc)],Ie=(_0x5111f8,_0x23bd40,_0x18fdc2,_0x3d7d3f)=>{var _0x44e103=_0x8cc9a2;for(var _0x17f5fb=_0x3d7d3f>0x1?void 0x0:_0x3d7d3f?Xs(_0x23bd40,_0x18fdc2):_0x23bd40,_0x1fed19=_0x5111f8[_0x44e103(0x1ae)]-0x1,_0xa25320;_0x1fed19>=0x0;_0x1fed19--)(_0xa25320=_0x5111f8[_0x1fed19])&&(_0x17f5fb=_0xa25320(_0x17f5fb)||_0x17f5fb);return _0x17f5fb;},P=(_0x27832e,_0x504681)=>(_0x1bf807,_0x3a1794)=>_0x504681(_0x1bf807,_0x3a1794,_0x27832e),Ti=(_0x39892b=>(_0x39892b[_0x8cc9a2(0x376)]=_0x8cc9a2(0x126),_0x39892b['SYNCED']=_0x8cc9a2(0x241),_0x39892b[_0x8cc9a2(0x23e)]=_0x8cc9a2(0x10d),_0x39892b[_0x8cc9a2(0x3ae)]=_0x8cc9a2(0x138),_0x39892b[_0x8cc9a2(0x25e)]=_0x8cc9a2(0x33b),_0x39892b[_0x8cc9a2(0x317)]='fetch_missing',_0x39892b[_0x8cc9a2(0x2ee)]='conflict',_0x39892b[_0x8cc9a2(0x19d)]=_0x8cc9a2(0x2e0),_0x39892b))(Ti||{});const Ci=0xea60;class Te{constructor(_0xc58421,_0x336654,_0x11c1ac,_0x59927b,_0x92a0f9,_0x409cc6,_0x504a39,_0x36cbf7,_0x5092bd){var _0x70f848=_0x8cc9a2;N(this,_0x70f848(0x1ff),null),N(this,_0x70f848(0x328),[]),(this['unitID']=_0xc58421,this['type']=_0x336654,this[_0x70f848(0xdf)]=_0x92a0f9,this[_0x70f848(0x16d)]=_0x409cc6,this['_undoRedoService']=_0x504a39,this[_0x70f848(0x358)]=_0x36cbf7,this[_0x70f848(0x378)]=_0x5092bd,this[_0x70f848(0x1ff)]=_0x11c1ac,this[_0x70f848(0x328)]=_0x59927b);}['_checkMissing'](_0x2f3458){var _0x2b81b3=_0x8cc9a2;const _0x2a5bd5=this[_0x2b81b3(0x358)]['getCurrentRevOfUnit'](this['unitID']);return _0x2f3458['revision']>_0x2a5bd5+0x1?(this[_0x2b81b3(0xdf)]['onMissingChangesets']({'from':_0x2a5bd5,'to':_0x2f3458[_0x2b81b3(0x306)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1a6b40){var _0x25bab9=_0x8cc9a2;this['_undoRedoService'][_0x25bab9(0x2ed)](this[_0x25bab9(0x2e6)],_0x1a6b40);}[_0x8cc9a2(0x339)](_0x31467b){var _0x39df8e=_0x8cc9a2,_0xff1c6a,_0x3a8cf1;(_0x3a8cf1=(_0xff1c6a=this[_0x39df8e(0xdf)])[_0x39df8e(0x2a8)])==null||_0x3a8cf1[_0x39df8e(0x324)](_0xff1c6a,_0x31467b);}['_transformIMECache'](_0x2b3fc1){var _0x34f052=_0x8cc9a2,_0x478a6f,_0x535716;return(_0x535716=(_0x478a6f=this[_0x34f052(0xdf)])[_0x34f052(0x179)])==null?void 0x0:_0x535716[_0x34f052(0x324)](_0x478a6f,_0x2b3fc1);}[_0x8cc9a2(0x1a8)](_0x37989f){var _0x501b84=_0x8cc9a2,_0x36b54d,_0x58ef61;return(_0x58ef61=(_0x36b54d=this[_0x501b84(0xdf)])['onTransformState'])==null?void 0x0:_0x58ef61[_0x501b84(0x324)](_0x36b54d,_0x37989f);}['_transformRemoteChangesetByIMECache'](_0x3ab7b7){var _0x8ad6c3=_0x8cc9a2,_0xeb4818,_0x1e1da9,_0x441081;return(_0x441081=(_0x1e1da9=(_0xeb4818=this['_handler'])[_0x8ad6c3(0x246)])==null?void 0x0:_0x1e1da9['call'](_0xeb4818,_0x3ab7b7))!=null?_0x441081:_0x3ab7b7;}[_0x8cc9a2(0x1a7)](_0x40e384){var _0x36ebf8=_0x8cc9a2,_0x4f1f48,_0x363f34,_0x251796;return(_0x251796=(_0x363f34=(_0x4f1f48=this[_0x36ebf8(0xdf)])[_0x36ebf8(0x219)])==null?void 0x0:_0x363f34['call'](_0x4f1f48,_0x40e384))!=null?_0x251796:_0x40e384;}['_syncEditingCollabCursor'](_0x33605b){var _0x2d5469=_0x8cc9a2,_0x2521a6,_0x301c90;if(this[_0x2d5469(0x3c2)]===Z['UNIVER_DOC']){const {unitID:_0xb47c0f,mutations:_0x5d6a63,memberID:_0x1af51f}=_0x33605b,_0x4d5e18=_0x5d6a63[0x0]['params']['textRanges'];Array['isArray'](_0x4d5e18)&&_0x4d5e18[_0x2d5469(0x1ae)]>0x0&&((_0x301c90=(_0x2521a6=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x301c90[_0x2d5469(0x324)](_0x2521a6,{'unitID':_0xb47c0f,'memberID':_0x1af51f,'textRanges':_0x4d5e18}));}}['_updateLocalCache'](){var _0x33994c=_0x8cc9a2,_0x1a5b9b;(_0x1a5b9b=this['_localCacheService'])==null||_0x1a5b9b[_0x33994c(0x238)](this[_0x33994c(0x2e6)],this[_0x33994c(0x3c2)],this['_awaitingChangeset'],this[_0x33994c(0x328)]);}['_getCurrentRevision'](){var _0x7fad03=_0x8cc9a2;return this[_0x7fad03(0x358)]['getCurrentRevOfUnit'](this['unitID']);}[_0x8cc9a2(0x2cb)](){var _0x1f5f01=_0x8cc9a2;this[_0x1f5f01(0x358)][_0x1f5f01(0x39e)](this[_0x1f5f01(0x2e6)]);}[_0x8cc9a2(0x13b)](_0x5b287d){var _0x199fa9=_0x8cc9a2,_0x1d5731;let _0x44072a=this['_transformRemoteChangesetByIMECache'](_0x5b287d);_0x44072a=this[_0x199fa9(0x1a7)](_0x44072a);const _0x4c7128=_0x157570(_0x44072a[_0x199fa9(0x3be)],this[_0x199fa9(0x16d)],{'fromCollab':!0x0});if(!_0x4c7128[_0x199fa9(0x341)])throw _0x4c7128[_0x199fa9(0x237)]instanceof Error?_0x4c7128[_0x199fa9(0x237)]:new Error((_0x1d5731=_0x4c7128[_0x199fa9(0x237)])!=null?_0x1d5731:_0x199fa9(0x392));this[_0x199fa9(0x134)](_0x44072a),this[_0x199fa9(0x1a8)](_0x44072a),this[_0x199fa9(0x386)](_0x5b287d),this[_0x199fa9(0x339)](_0x44072a),this['_syncEditingCollabCursor'](_0x44072a),this[_0x199fa9(0x2cb)]();}}let ye=class extends Te{constructor(_0x4656bb,_0xb15da2,_0x3ead20,_0x6210b,_0xbaacd2,_0x47e91f,_0xfa96e0,_0x3b485c,_0x2a26ee,_0x2d51dc){var _0x4e0ad1=_0x8cc9a2;super(_0x4656bb,_0xb15da2,null,[],_0x3ead20,_0xfa96e0,_0x47e91f,_0x6210b,_0x2d51dc),N(this,_0x4e0ad1(0xdb),_0x4e0ad1(0x241)),(this[_0x4e0ad1(0x127)]=_0xbaacd2,this[_0x4e0ad1(0x3a2)]=_0x3b485c,this[_0x4e0ad1(0x385)]=_0x2a26ee,this[_0x4e0ad1(0x38e)]=_0x2d51dc);}[_0x8cc9a2(0x182)](_0x176180){var _0x2028ff=_0x8cc9a2;const _0x301b2f=this[_0x2028ff(0x127)][_0x2028ff(0x36b)](re,this[_0x2028ff(0x2e6)],this[_0x2028ff(0x3c2)],[_0x176180],this['_handler']);return _0x301b2f[_0x2028ff(0x211)](),_0x301b2f[_0x2028ff(0x3c7)](),_0x301b2f;}[_0x8cc9a2(0x3ab)](_0x1e9edd){var _0x37515b=_0x8cc9a2;if(this['_checkMissing'](_0x1e9edd))return this[_0x37515b(0x127)][_0x37515b(0x36b)](Q,this[_0x37515b(0x2e6)],this[_0x37515b(0x3c2)],null,[],null,[_0x1e9edd],this[_0x37515b(0xdf)]);try{const _0x58fe9a=this[_0x37515b(0x385)][_0x37515b(0x1e0)](_0x1e9edd,[Js]);if(_0xaeb0b0(_0x58fe9a)){const {c1Prime:_0x264e5c}=_0x58fe9a;return this['_executeRemoteChangeset'](_0x264e5c),this;}throw _0x58fe9a[_0x37515b(0x237)];}catch(_0x62587){return this[_0x37515b(0x3a2)][_0x37515b(0x237)](_0x62587),this['_onConflict'](!0x1);}}['_onConflict'](_0x54e872){var _0xcc42cc=_0x8cc9a2;return this[_0xcc42cc(0x127)][_0xcc42cc(0x36b)](le,this[_0xcc42cc(0x2e6)],this[_0xcc42cc(0x3c2)],null,[],this[_0xcc42cc(0xdf)],_0x54e872);}[_0x8cc9a2(0x29f)](){var _0x376c08=_0x8cc9a2;throw new Error(_0x376c08(0x2f7));}[_0x8cc9a2(0x263)](){var _0x51814=_0x8cc9a2;throw new Error(_0x51814(0xfd));}[_0x8cc9a2(0x2f0)](){return this;}[_0x8cc9a2(0x29d)](){var _0x19c010=_0x8cc9a2;return this[_0x19c010(0x127)][_0x19c010(0x36b)](ue,this[_0x19c010(0x2e6)],this[_0x19c010(0x3c2)],null,[],this[_0x19c010(0xdf)]);}['toggleOnline'](){return this;}[_0x8cc9a2(0x197)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x8cc9a2(0x23c)](){var _0x4d11ee=_0x8cc9a2;const _0x8fc1dd=this[_0x4d11ee(0x358)][_0x4d11ee(0x38f)](this['unitID']);return this[_0x4d11ee(0xdf)]['onMissingChangesets']({'from':_0x8fc1dd,'to':0x0}),this[_0x4d11ee(0x127)][_0x4d11ee(0x36b)](Q,this['unitID'],this[_0x4d11ee(0x3c2)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x2bc925(_0x55e017)),P(0x4,_0x2bc925(_0x5c0aec)),P(0x5,_0x1ab2de),P(0x6,_0x8da825),P(0x7,_0xd27129),P(0x8,_0x20376b),P(0x9,_0x31269b(J))],ye);let re=class extends Te{constructor(_0x46759b,_0x3c3366,_0x430fab,_0x584d4b,_0x30b5a6,_0x110706,_0x591400,_0x45490e,_0x8c9548,_0x52af59,_0x36b3ad,_0x5cb793,_0x3f8b45,_0x354b54){var _0x4d8fbf=_0x8cc9a2;super(_0x46759b,_0x3c3366,null,_0x430fab,_0x584d4b,_0x8c9548,_0x3f8b45,_0x110706,_0x354b54),N(this,_0x4d8fbf(0xdb),_0x4d8fbf(0x10d)),N(this,_0x4d8fbf(0x1e2),null),N(this,_0x4d8fbf(0x1ee),null),(this[_0x4d8fbf(0x127)]=_0x30b5a6,this[_0x4d8fbf(0x1c9)]=_0x591400,this[_0x4d8fbf(0x3a2)]=_0x45490e,this[_0x4d8fbf(0xee)]=_0x52af59,this[_0x4d8fbf(0x385)]=_0x36b3ad,this['_univerInstanceService']=_0x5cb793);}[_0x8cc9a2(0x182)](_0x5933ed){var _0x46cf99=_0x8cc9a2;return this[_0x46cf99(0x328)][_0x46cf99(0x13f)](_0x5933ed),this[_0x46cf99(0x3c7)](),this;}[_0x8cc9a2(0x3ab)](_0x24ee67){var _0x8ba443=_0x8cc9a2;if(this['_checkMissing'](_0x24ee67))return this[_0x8ba443(0x19f)](),this['_injector']['createInstance'](Q,this[_0x8ba443(0x2e6)],this[_0x8ba443(0x3c2)],null,this[_0x8ba443(0x328)],null,[_0x24ee67],this[_0x8ba443(0xdf)]);try{const _0x540076=this['_transformService']['transformMutationsWithChangeset'](_0x24ee67,this['_pendingMutations']);if(_0xaeb0b0(_0x540076)){const {c1Prime:_0x5213f4,m2Prime:_0x523965}=_0x540076;this['_executeRemoteChangeset'](_0x5213f4);const _0xb48135=this['_injector'][_0x8ba443(0x36b)](re,this[_0x8ba443(0x2e6)],this[_0x8ba443(0x3c2)],_0x523965,this[_0x8ba443(0xdf)]);this['_clearScheduledTask']();const _0x43316b=new Date()[_0x8ba443(0x1f4)](),_0x1b2079=this[_0x8ba443(0x1e2)]?Math[_0x8ba443(0x201)](this[_0x8ba443(0x1e2)]-_0x43316b,0x0):this[_0x8ba443(0x17e)]();return _0xb48135[_0x8ba443(0x211)](_0x1b2079),_0xb48135;}throw _0x540076[_0x8ba443(0x237)];}catch(_0x2bec71){return this[_0x8ba443(0x3a2)][_0x8ba443(0x237)](_0x2bec71),this[_0x8ba443(0x18f)](!0x1);}}[_0x8cc9a2(0x29f)](){var _0x1d80fc=_0x8cc9a2;throw new Error(_0x1d80fc(0x195));}[_0x8cc9a2(0x263)](){var _0xcb3d11=_0x8cc9a2;throw new Error(_0xcb3d11(0x2bd));}[_0x8cc9a2(0x2f0)](){return this;}['toggleOffline'](){var _0x4af0a6=_0x8cc9a2;return this[_0x4af0a6(0x19f)](),this['_injector'][_0x4af0a6(0x36b)](ue,this[_0x4af0a6(0x2e6)],this[_0x4af0a6(0x3c2)],null,this[_0x4af0a6(0x328)],this[_0x4af0a6(0xdf)]);}[_0x8cc9a2(0x234)](){return this;}[_0x8cc9a2(0x211)](_0x56f94e){var _0x2ffdb8=_0x8cc9a2;const _0x4664d8=_0x56f94e!=null?_0x56f94e:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x2ffdb8(0x1f4)]()+_0x4664d8,this['_sendingTimer']=setTimeout(()=>{var _0x44ec89=_0x2ffdb8;this[_0x44ec89(0x19f)]();let _0x2043d4=null;switch(this[_0x44ec89(0x3c2)]){case Z[_0x44ec89(0x2f4)]:{_0x2043d4=Wt(this[_0x44ec89(0x328)],this['unitID'],this[_0x44ec89(0x370)],this[_0x44ec89(0x358)],this[_0x44ec89(0x1c9)]);break;}case Z[_0x44ec89(0x11c)]:{this[_0x44ec89(0x328)]['every'](_0x46a5b2=>_0x46a5b2['id']===_0x6cc34['id'])?_0x2043d4=zs(this['_pendingMutations'],this[_0x44ec89(0x2e6)],this[_0x44ec89(0x370)],this[_0x44ec89(0x358)],this[_0x44ec89(0x1c9)]):_0x2043d4=Wt(this[_0x44ec89(0x328)],this[_0x44ec89(0x2e6)],this[_0x44ec89(0x370)],this[_0x44ec89(0x358)],this['_memberService']);break;}default:throw new Error(_0x44ec89(0x2c6)+this[_0x44ec89(0x3c2)]+_0x44ec89(0x379));}const {changeset:_0x26d082,pendingMutations:_0xd0aca3}=_0x2043d4;this[_0x44ec89(0xdf)][_0x44ec89(0x226)](_0x26d082);const _0x1d0713=_0xd0aca3[_0x44ec89(0x1ae)]?this[_0x44ec89(0x127)]['createInstance'](ae,this[_0x44ec89(0x2e6)],this['type'],_0x26d082,_0xd0aca3,this[_0x44ec89(0xdf)],void 0x0):this[_0x44ec89(0x127)][_0x44ec89(0x36b)](_e,this[_0x44ec89(0x2e6)],this[_0x44ec89(0x3c2)],_0x26d082,this[_0x44ec89(0xdf)]);_0x1d0713[_0x44ec89(0x3c7)](),this[_0x44ec89(0xdf)][_0x44ec89(0xe8)](this,_0x1d0713);},_0x4664d8);}[_0x8cc9a2(0x17e)](){var _0x901f53=_0x8cc9a2,_0x1573ad;const _0x22fc0a=this[_0x901f53(0xee)]['getConfig'](K);return(_0x1573ad=_0x22fc0a==null?void 0x0:_0x22fc0a[_0x901f53(0x1b7)])!=null?_0x1573ad:ms;}[_0x8cc9a2(0x197)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x8cc9a2(0x19f)](){var _0x2b2750=_0x8cc9a2;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2b2750(0x1ee)]),this[_0x2b2750(0x1ee)]=null);}[_0x8cc9a2(0x18f)](_0x2f7b41){var _0x4eaf37=_0x8cc9a2;return this[_0x4eaf37(0x19f)](),this[_0x4eaf37(0x127)][_0x4eaf37(0x36b)](le,this[_0x4eaf37(0x2e6)],this[_0x4eaf37(0x3c2)],null,this[_0x4eaf37(0x328)],this['_handler'],_0x2f7b41);}};re=Ie([P(0x4,_0x2bc925(_0x5c0aec)),P(0x5,_0x2bc925(_0x55e017)),P(0x6,_0x2bc925(Pe)),P(0x7,_0xd27129),P(0x8,_0x8da825),P(0x9,_0x195c73),P(0xa,_0x20376b),P(0xb,_0x24fe3b),P(0xc,_0x1ab2de),P(0xd,_0x31269b(J))],re);let _e=class extends Te{constructor(_0x1e5b54,_0x1a8689,_0x29091e,_0x538825,_0x4840ec,_0x3fa2a8,_0x3dcea2,_0x3d4634,_0x12fe34,_0x5d3272,_0x2532f5){var _0x3e3f19=_0x8cc9a2;super(_0x1e5b54,_0x1a8689,_0x29091e,[],_0x538825,_0x3dcea2,_0x5d3272,_0x3fa2a8,_0x2532f5),N(this,_0x3e3f19(0xdb),_0x3e3f19(0x138)),N(this,_0x3e3f19(0x250),0x0),N(this,_0x3e3f19(0x3aa)),N(this,_0x3e3f19(0x203)),(this['_injector']=_0x4840ec,this[_0x3e3f19(0x3a2)]=_0x3d4634,this[_0x3e3f19(0x385)]=_0x12fe34);}[_0x8cc9a2(0x182)](_0x1bd2d8){var _0x4a88a1=_0x8cc9a2;this[_0x4a88a1(0x19f)]();const _0x6bacf2=this['_injector'][_0x4a88a1(0x36b)](ae,this[_0x4a88a1(0x2e6)],this[_0x4a88a1(0x3c2)],this[_0x4a88a1(0x1ff)],[_0x1bd2d8],this[_0x4a88a1(0xdf)],this[_0x4a88a1(0x3aa)]);return _0x6bacf2[_0x4a88a1(0x3c7)](),_0x6bacf2;}[_0x8cc9a2(0x3ab)](_0x1c4c37){var _0x5a979d=_0x8cc9a2;if(this[_0x5a979d(0x158)](_0x1c4c37))return this['_clearScheduledTask'](),this['_injector'][_0x5a979d(0x36b)](Q,this['unitID'],this[_0x5a979d(0x3c2)],this[_0x5a979d(0x1ff)],[],null,[_0x1c4c37],this['_handler']);try{const _0x59ba98=this['_transformService'][_0x5a979d(0xe7)]([_0x1c4c37],[this[_0x5a979d(0x1ff)]],!0x1);if(_0x53b0a7(_0x59ba98)){const {c1Prime:_0x2270d9,c2Prime:_0x5df848}=_0x59ba98;this[_0x5a979d(0x13b)](_0x2270d9[0x0]),_0x5df848[0x0][_0x5a979d(0x240)]=this[_0x5a979d(0x2af)](),this[_0x5a979d(0x19f)]();const _0x432239=this['_injector'][_0x5a979d(0x36b)](_e,this[_0x5a979d(0x2e6)],this[_0x5a979d(0x3c2)],_0x5df848[0x0],this[_0x5a979d(0xdf)]);return _0x432239[_0x5a979d(0x3c7)](),_0x432239;}return this[_0x5a979d(0x18f)](!0x1);}catch(_0x4414b5){return this['_logService'][_0x5a979d(0x237)](_0x4414b5),this[_0x5a979d(0x18f)](!0x1);}}['onRemoteAck'](_0xf23652){var _0x538e0c=_0x8cc9a2;this[_0x538e0c(0x19f)]();const _0x1a4fab=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0xf23652[_0x538e0c(0x306)]<_0x1a4fab-0x1)return this;if(this[_0x538e0c(0x158)](_0xf23652))return this[_0x538e0c(0x127)][_0x538e0c(0x36b)](Q,this['unitID'],this[_0x538e0c(0x3c2)],null,[],this[_0x538e0c(0x1ff)],[],this[_0x538e0c(0xdf)]);this['_incrementRevisionNumber']();const _0x52713d=this[_0x538e0c(0x127)][_0x538e0c(0x36b)](ye,this['unitID'],this[_0x538e0c(0x3c2)],this[_0x538e0c(0xdf)]);return _0x52713d[_0x538e0c(0x3c7)](),_0x52713d;}[_0x8cc9a2(0x263)](_0x3dae1d){var _0x5d3332=_0x8cc9a2;return this[_0x5d3332(0x18f)](!!(_0x3dae1d!=null&&_0x3dae1d['isPermissionRej']));}[_0x8cc9a2(0x2f0)](_0x42dcef){var _0x54b24b=_0x8cc9a2;return this[_0x54b24b(0x250)]>Ci?this[_0x54b24b(0x29d)]():(this['_resendTimer']=Ii(this[_0x54b24b(0x250)],{'timeout':this['_resendTimeout'],'reqId':_0x42dcef[_0x54b24b(0x394)]}),this[_0x54b24b(0x203)]=this[_0x54b24b(0x3aa)][_0x54b24b(0x389)](({reqId:_0x1300d2,timeout:_0x41aa6c})=>{var _0x1c88d4=_0x54b24b;this[_0x1c88d4(0x274)](_0x1300d2,_0x41aa6c);}),this);}[_0x8cc9a2(0x29d)](){var _0x3d3986=_0x8cc9a2;return this['_clearScheduledTask'](),this[_0x3d3986(0x127)]['createInstance'](ue,this[_0x3d3986(0x2e6)],this[_0x3d3986(0x3c2)],this['_awaitingChangeset'],[],this[_0x3d3986(0xdf)]);}[_0x8cc9a2(0x234)](){return this;}[_0x8cc9a2(0x197)](){var _0x22943d=_0x8cc9a2;this[_0x22943d(0xdf)][_0x22943d(0x226)](this[_0x22943d(0x1ff)]);}[_0x8cc9a2(0x18f)](_0x59f174){var _0x34df01=_0x8cc9a2;return this[_0x34df01(0x19f)](),this[_0x34df01(0x127)][_0x34df01(0x36b)](le,this[_0x34df01(0x2e6)],this[_0x34df01(0x3c2)],this['_awaitingChangeset'],[],this['_handler'],_0x59f174);}[_0x8cc9a2(0x274)](_0x3d8a23,_0x35a481){var _0x205e8e=_0x8cc9a2,_0x9c8e2b;_0x3d8a23===((_0x9c8e2b=this[_0x205e8e(0x1ff)])==null?void 0x0:_0x9c8e2b[_0x205e8e(0x394)])&&(this[_0x205e8e(0x197)](),this[_0x205e8e(0x250)]=_0x35a481===0x0?0x3e8:_0x35a481*0x2);}[_0x8cc9a2(0x19f)](){var _0x58785a=_0x8cc9a2,_0x4caad5;(_0x4caad5=this[_0x58785a(0x203)])==null||_0x4caad5[_0x58785a(0x31a)](),this['_resendTimeout']=0x0;}};_e=Ie([P(0x4,_0x2bc925(_0x5c0aec)),P(0x5,_0x2bc925(_0x55e017)),P(0x6,_0x8da825),P(0x7,_0xd27129),P(0x8,_0x20376b),P(0x9,_0x1ab2de),P(0xa,_0x31269b(J))],_e);function _0x1e84(){var _0x590d5a=['join','_data','downloadEndpointUrl','toggleOffline','deepClone','onRemoteAck','_candidateSocket','add','MSG_FOR_ERROR','getActiveSheet','/universer-api/comb','USER_NOT_INVITED_CODE','getTypeOfUnitAdded$','CHANGESET_ACK','onTransformSelections','registerHTTPInterceptor','delete','YUUMI_AI_RUN_FAILED','textRanges','collaboration-client.local-cache-service','APPLY_NON_SEQUENTIAL_REVISION','_getCurrentRevision','submit\x20changeset\x20error!','?url=','PERMISSION_REJ','_submitChangeset','headers','_socket$','hasOwnProperty','6bEQjOF','fromCharCode','Latin1','SHA1','set','unitId\x20is\x20not\x20found','[PendingState]:\x20received\x20rejection.','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','HmacSHA1','clone','_toggleOffline','file','HELLO','GLOBAL_ROOMS_CNT_EXCEEDS','[PendingState]:\x20unhandled\x20univer\x20type:\x20','NoPadding','/universer-api/oidc/authpage','?size=','createSocket','_incrementRevisionNumber','iterations','_localeService','disposeWithMe','\x20-\x20','format','9OjtjFT','authzUrl','_rescheduleHeartbeat','HEARTBEAT_INTERVAL','refreshPermission','_onRecvEvent','href','createCollaborator','Failed\x20to\x20update\x20permission\x20point','SUBMIT_CHANGESET','WordArray','HttpExport','ws://127.0.0.1:8000/universer-api/comb/connect','_createHandler','_oKey','offline','send','EXCHANGE_SIGN_URL_SERVER_URL_KEY','COMMENT_UPDATE','socket\x20close','_prevBlock','unitID','LICENSE_IMPORT_SIZE_EXCEEDED','override','session.room-not-exists','/object/','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','slice','transformUndoRedo','CONFLICT','_cipher','onRemoteRetry','byteOffset','_getCtorByUniverType','sigBytes','UNIVER_SHEET','requestParams','COMPRESS_MUTATION_SEND','[SyncedState]:\x20received\x20acknowledgement.','_process','/allowed','catch','_singleActiveUnitService','getOwnPropertyDescriptor','equals','_hasher','_createInitialStateImpl','joinRsp','OPTIONAL','snapshotServerUrl','extend','objects','APPLY_PERMISSION_DENIED','revision','_timeoutTimer','liveShareNewHost','getTypeOfUnitDisposed$','[OfflineState]:\x20received\x20changeset.','605RpKeDf','4151182qmgwNu','next','ivSize','getUnitType','3gWlaoJ','fetchThroughInterceptors','SOCKET_FAILED','get','[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.','crypto','updatePermissionObjEvent','FETCH_MISS','changesets','getSheetBlock','unsubscribe','debug','INVITE_CODE_HAS_BEEN_UES','execute','BASE64','UnitSnapshot','_clearRetryConnectingTimer','conflict','Base','getImage','call','socket\x20open.','YUUMI_RATE_OVER_LIMIT','Univer','_pendingMutations','getRandomValues','data','image/bmp','YUUMI_ALL_TABLES_IS_INVALID','_waitForHeartbeatResponse','exports','APPLY_DUPLICATED','generateRandomId','_queuedRemoteChangesets','message$','padding','put','_applyRemoteChangeset','collaborators','_nDataBytes','liveShareOperation','_transformSelections','cmd','awaiting_with_pending','waitForRoom$','USERS_ENTER','randomBytes','/fetchmissing?from=','_snapshotServerService','result','__creator','getUnit','_mode','_collabSessionService','dispose$','CBC','_joinRoom','[OfflineState]:\x20received\x20rejection.','StreamCipher','_removeRoom','map','routeKey','UNIVER_PROJECT','complete','emitEvent','loadSheet','INVITE_CODE_ALREADY_BOUND','_map','duration','HmacMD5','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','decryptBlock','_revisionService','LEAVE','ERROR_EXCEED_SIZE','_iKey','getFocusedUnit','FileId','_tryEnsureSocket','_registerDependencies','indexOf','_networkConditionService','[CollaborationUndoRedoService]','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getInterceptPoints','&to=','_append','/universer-api/snapshot','apply','HttpImport','_imageSourceCache','createInstance','CipherParams','append','_createHelper','UNIVER_SLIDE','_univerInstanceService','OpenSSL','APPLY_REVISION_CONFILICT','ONLINE','UUID','_minBufferSize','NOT_COLLAB','shouldCloseConn','_localCacheService','\x20in\x20_schedule.','LIVESHARE_NEW_HOST','repeat','allowed','csRejEvent','_roomCreated$','AES','session.room-full','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','session.join-failed','JOIN_ROOM_FAILED','splice','_transformService','_transformUndoredo','name','/new_changes','subscribe','univer-pro.collaboration-client-socket-service','size','_state','includes','localCacheService','getCurrentRevOfUnit','_members$','title','[CollaborationState]:\x20apply\x20error!','LICENSE_MAX_UNITS_EXCEEDED','reqId','event$','PERSON','_redoStacks','univer-pro.collaboration-client.single-active-unit-service','JOIN_ROOM_NOT_EXISTS','encryptBlock','EvpKDF','_doReset','HEARTBEAT','incrementRevOfUnit','_collaborationSessionService','image/gif','state$','_logService','_retryCount','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','/role','from','unitId','_updateStatus','subject','_resendTimer','onRemoteChangeset','DEFAULT_FILE_NAME','enableOfflineEditing','AWAITING','_collaborationPaused','kdf','[DataLoaderService]','_event$','params','_retryConnectingTimer','LIVESHARE_FETCH_OPERATIONS','closeSession','PasswordBasedCipher','processBlock','state','patch','saveChangeset','objectID','formatter','mutations','updateSnapshot','encode','entries','type','parse','UNKNOWN_CODE','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_listenToNetworkCondition','_updateLocalCache','interceptor','CONNECTOR_DATA_TOO_LARGE','open$','create','MUTATION','_onFetchMissResult','awaitingChangeset','_waitCount','UPDATE_PERMISSION_OBJ','_getAPIPrefixPath','_telemetryInfo','prototype','_nRounds','SNAPSHOT_SERVER_URL_KEY','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getSheetId','UNISCRIPT_RUN','pauseCollaboration','_socketMessageSubscription','filter','SNAPSHOT_HAS_BEEN_REMOVED','_initMergeInterceptor','range','ERROR_IMAGE_TYPE','_onUserJoin','_iv','_onRemoteRejected','now','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','status','Error\x20on\x20receiving\x20event','_doCreateSocket','_onConnectionOpen','_handler','_onCombEvent','/universer-api/authz','People','/-/object/-/batch_allowed','responseType','/collaborator','_sendHeartbeatTimer','transformChangesets','onStateChange','ceil','_substituteUndoStack','_entities','roles','collaboratorID','_configService','BlockCipherMode','/unit/','EMAIL_HAS_BEEN_BOUND','selections','fromCollab','12051096dYJUct','uniscriptRunEvent','YUUMI_URL_COL_OUT_OF_RANGE','UNIVER_UNKNOWN','unknown','_sessionStatus$','sessionStatus$','_telemetryService','_throwTelemetryCollaborationNewChangeset','[SyncedState]:\x20received\x20rejection.','objectType','/object','_httpService','_keySchedule','loadDoc','pad','/universer-api/snapshot/','removeMember','{fileID}','asObservable','signUrlServerUrl','focused$','UserProfileImg','_getDownloadEndpointURL','_doCryptBlock','pending','_exhaustRemoteChangesetQueue','_hash','reject','_changesetSessionId','Hasher','/block/','c1Prime','_updateState','editingUnit','Utf8','readAsDataURL','function','_emitMembers','_getUploadFileURL','UNIVER_DOC','image/png','_doFinalize','_transitionLocked','fetchMissingChangesets','_transformStack','getConfig','userID','min','FAIL','not_collab','_injector','ENSURE_SNAPSHOT_EXECUTION','9770706yJXpPV','_sheetTransformSelectionsService','code','finalize','SHOULD_CLOSE_CONN','LICENSE_DISTRO_REJECTED','collaMsg','&assign=','\x0aAfter:\x20','lib','stringify','_transformIMECache','onload','_type','setShowComponents','awaiting','UNKNOWN_CMD','createEncryptor','_executeRemoteChangeset','UNRECOGNIZED','/universer-api/uniscript','memberID','push','sheets','stopTime','getDeserializedSheetBlock','Undefined','findIndex','univer-pro.collaboration-client.network-condition.service','image/jpg','_status$','requireSession','close$','TOO_MANY_REQUESTS','_permissionService','every','resourceIDs','getValue','onCommentUpdate','_onOffline','localeService','LOGIN_FAILED','_doProcessBlock','cfg','_userManagerService','/-/object/list','_DEC_XFORM_MODE','_checkMissing','_replayCachedMutations','then','onMissedChangesetFetched','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_EXPORT_SIZE_EXCEEDED','_replaceFileID','decrypt','updateCursorEvent','_decreaseWaiting','enableAuthServer','createDecryptor','_socketReady','LIVESHARE_OPERATION','UNIVER_COLLABORATION_CLIENT_PLUGIN','_onUserLeave','_changesetReqId','_socket','has','MOBILE_HAS_BEEN_BOUND','Malformed\x20UTF-8\x20data','_commandService','reconnect','actions','COMPRESS_MUTATION_APPLY','post','forEach','addHandlerCallback','_socketService','initWorkbookPermissionChange','_tryReconnect','_isPermissionRej','JOIN_ROOM_PERMISSION_DENIED','onTransformIME','clear','SEND_CHANGESET_TIMEOUT','getUnitOnRev','startTime','_getSendChangesetTimeout','onCommandExecuted','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','sid','appendMutation','msCrypto','_config','loginUrlKey','YUUMI_ASYNCIO_CANCELLED','commentUpdateEvent','concat','origin','hasher','update','pluginName','SUBMIT_CHANGESET_TIMEOUT','SNAPSHOT_INVALID_SNAPSHOT','_onConflict','x-univer-host','isPermissionRej','[OfflineState]:\x20received\x20acknowledgement.','Decryptor','telemetry\x20info\x20is\x20not\x20initialized','[PendingState]:\x20received\x20acknowledgement.','confirm','resend','POST','getSnapshotAPIPath','SOCKET_FAILED_RETRY','_change$','INGEST','OFFLINE','/universer-api/stream/file/upload','_clearScheduledTask','PY_RUNTIME_SCRIPT_ERROR','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','JOINING','8527690XeakFg','_getAPIPrefix','mixIn','getCurrentUser','_transformRemoteChangesetByStateCache','_transformStateCache','socket$','72297qBdRwW','dispose','disableLocalCache','image/jpeg','length','RECV','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_fetchMissChangesets','_createHmacHelper','_undoStacks','_reverseMap','_onLocalMutation','location','sendChangesetTimeout','find','_instanceService','UnitEmbedded','error$','avatar','JOIN','listCollaborators','compose','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INVALID_ARGUMENT','_clearTimeoutTimer','SNAPSHOT_URL_KEY','toString','_invKeySchedule','_initCloseConn','$super','_onMessage','_memberService','originalMeta','session','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveSheetBlock','CHANGESET_SHOULD_RETRY','_xformMode','__esModule','enc','Base64','MD5','roomInfos','onLocalMutation','infoRsp','INVALID_INVITE_CODE','_clearRedo','salt','_onConnectionFailed','_onJoinRoomEvent','reduce','_init','Hex','BlockCipher','transformMutationsWithChangeset','_substituteRedoStack','_scheduleCompleteTimestamp','[UniverCollaborationClientPlugin]','LIVESHARE_REQUEST_HOST','_createSocket','_key','buffer','keySize','hostname','HEARTBEAT_TIMEOUT','_HTTPService','init','_members','_sendingTimer','getCollabEntity$','getUnitStatus$','_getUndoStack','Encryptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getTime','_getLoginPath','_acknowledgedAwaitingChangeset','session.room-permission-denied','loadUnitOfRevision','editing\x20status\x20changed\x20to','_state$','values','encodeURIComponent','charAt','[CollaborationSessionService]','_awaitingChangeset','_entityInit$','max','loadOfflineData','_sender','_onRemoteACK','url','YUUMI_NO_CUBOID_FOR_QUESTION','_sendHeartbeat','getMemberID','getLatestCsReqIdBySid','online$','m2Prime','_initUnitPermissionChange','ALREADY_EXISTS','_compressMutationService','sessionStatus','workbook','_schedule','batchAllowed','_onRemoteRetry','collaboration_new_changeset','_getRedoStack','[CollaborationSession]','_ENC_XFORM_MODE','connection\x20error','onTransformRemoteChangesetByStateCache','SUCCUSS','leaveEvent','withCredentials','permissionRejEvent','unpad','mode','_clearUndo','target','WECHAT_HAS_BEEN_BOUND','ciphertext','CHANGESET_REJ','LIVESHARE_TERMINATE','onSendChangeset','_collaborationTimeoutTimer','_getSignURL','USERS_LEAVE','CLOSE_ROOM','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onSyncEditingCollabCursor','JOIN_ROOM_FULL','eventID','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','floor','_commentUpdate$','reverse','snapshot','toggleOnline','INVITE_CODE_REQUIRED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','error','updateOfflineData','getUnitId','readInt32LE','_showConflictNotification','fetchMiss','UPDATE_CURSOR','PENDING','socketService','baseRev','synced','body','Cipher','updatePermissionPoint','/universer-api/file/{fileID}/sign-url','onTransformRemoteChangesetByIMECache','APPLY_REJECT','\x20to\x20','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','SerializableCipher','_sessions','_snapshotService','string','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','close','_resendTimeout','onlyLocal','algo','PERMISSION_DENIED','_roomMembers','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','blockSize','clamp','sin','compute','_clearHeartbeatTimer','_commentService','encrypt','rev','AWAITING_WITH_PENDING','enableSingleActiveInstanceLock','readyForCollab','getImageSourceCache','BufferedBlockAlgorithm','onRemoteRej','_unlockTransition','pipe','_keyPriorReset','1894918jingzw','_unitID','_parse','status$','NOT_FOUND','enableCollaboration','failed\x20to\x20apply\x20missed\x20changesets!','random','_shouldReportTelemetry','onTransformState','change$','YUUMI_UNABLE_LOAD_URL','commentUpdate$','_resendWithTimeout','_initRequestHeader','ERROR_IMAGE','OTHER_CLIENTS_EDITING','PSEUDO_FETCH_MISSING_RESULT','reset','setConfig','_startCollaboration','COMPLETION_FINISHED','getCollabEntity','byteLength','YUUMI_SUBSCRIPTION_NOT_FOUND','executeCommand','getMember','deleteCollaborator','transformSelections','_handlerCallback','_eventService','retryConnectingInterval','isArray','IDLE','29564pAWYoe','words','getResourcesRequest','key','_lockTransition','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','CHANGESET_REVISION_CONFILICT','charCodeAt','uploadFileServerUrl','_unitInfo$','updateMember','_disableEditing','OTHER_CLIENT_EDITING','Could\x20not\x20dynamically\x20require\x20\x22','_createInitialState','LOCAL_CACHE_INTERVAL','_collaborationUIEventService'];_0x1e84=function(){return _0x590d5a;};return _0x1e84();}let ae=class extends Te{constructor(_0x2ef2f4,_0x5e90b2,_0x5c6c65,_0x6fc88a,_0x22501a,_0x86951d,_0x499e75,_0x1e99b9,_0x1b3c70,_0x145e3f,_0x37e7c2,_0x6086e5,_0x44310a){var _0x7c8657=_0x8cc9a2;super(_0x2ef2f4,_0x5e90b2,_0x5c6c65,_0x6fc88a,_0x22501a,_0x1b3c70,_0x6086e5,_0x1e99b9,_0x44310a),N(this,_0x7c8657(0xdb),_0x7c8657(0x33b)),N(this,'_resendTimeout',0x0),N(this,_0x7c8657(0x3aa)),N(this,_0x7c8657(0x203)),(this[_0x7c8657(0x127)]=_0x499e75,this[_0x7c8657(0x3a2)]=_0x145e3f,this[_0x7c8657(0x385)]=_0x37e7c2,this[_0x7c8657(0x38e)]=_0x44310a,_0x86951d&&(this[_0x7c8657(0x3aa)]=_0x86951d,this[_0x7c8657(0x203)]=this[_0x7c8657(0x3aa)][_0x7c8657(0x389)](({reqId:_0x3b2e17,timeout:_0x24f04d})=>{var _0x4b7b81=_0x7c8657;this[_0x4b7b81(0x274)](_0x3b2e17,_0x24f04d);})));}[_0x8cc9a2(0x182)](_0x574691){var _0xc51cfa=_0x8cc9a2;return this['_pendingMutations'][_0xc51cfa(0x13f)](_0x574691),this;}[_0x8cc9a2(0x3ab)](_0x2475d9){var _0x1f5268=_0x8cc9a2;if(this[_0x1f5268(0x158)](_0x2475d9))return this['_clearScheduledTask'](),this['_injector']['createInstance'](Q,this[_0x1f5268(0x2e6)],this[_0x1f5268(0x3c2)],this[_0x1f5268(0x1ff)],this['_pendingMutations'],null,[_0x2475d9],this['_handler']);try{const _0x5c124f=this[_0x1f5268(0x385)][_0x1f5268(0xe7)]([_0x2475d9],[this['_awaitingChangeset']],!0x1);if(_0x53b0a7(_0x5c124f)){const {c1Prime:_0x2ac82a,c2Prime:_0x2bd8db}=_0x5c124f,_0x30757c=this[_0x1f5268(0x385)][_0x1f5268(0x1e0)](_0x2ac82a[0x0],this[_0x1f5268(0x328)]);if(_0xaeb0b0(_0x30757c)){const {c1Prime:_0x449597,m2Prime:_0x571143}=_0x30757c;return this[_0x1f5268(0x13b)](_0x449597),_0x2bd8db[0x0][_0x1f5268(0x240)]=this[_0x1f5268(0x2af)](),this[_0x1f5268(0x19f)](),this[_0x1f5268(0x127)][_0x1f5268(0x36b)](ae,this[_0x1f5268(0x2e6)],this[_0x1f5268(0x3c2)],_0x2bd8db[0x0],_0x571143,this[_0x1f5268(0xdf)],void 0x0);}throw _0x30757c[_0x1f5268(0x237)];}throw _0x5c124f[_0x1f5268(0x237)];}catch(_0x23042b){return this[_0x1f5268(0x3a2)][_0x1f5268(0x237)](_0x23042b),this[_0x1f5268(0x18f)](!0x1);}}[_0x8cc9a2(0x29f)](_0x3ff6b7){var _0x12066d=_0x8cc9a2;if(this[_0x12066d(0x19f)](),this[_0x12066d(0x158)](_0x3ff6b7))return this[_0x12066d(0x127)][_0x12066d(0x36b)](Q,this[_0x12066d(0x2e6)],this['type'],null,this[_0x12066d(0x328)],this[_0x12066d(0x1ff)],[],this[_0x12066d(0xdf)]);this[_0x12066d(0x2cb)]();const _0x39393a=this[_0x12066d(0x127)][_0x12066d(0x36b)](re,this['unitID'],this[_0x12066d(0x3c2)],this[_0x12066d(0x328)],this[_0x12066d(0xdf)]);return _0x39393a[_0x12066d(0x211)](),_0x39393a[_0x12066d(0x3c7)](),_0x39393a;}[_0x8cc9a2(0x263)](_0x45acc1){var _0x4e5dfb=_0x8cc9a2;return this[_0x4e5dfb(0x18f)](!!(_0x45acc1!=null&&_0x45acc1['isPermissionRej']));}[_0x8cc9a2(0x2f0)](_0x39677c){var _0x2371f2=_0x8cc9a2;return this['_resendTimeout']>Ci?this[_0x2371f2(0x29d)]():(this[_0x2371f2(0x3aa)]=Ii(this[_0x2371f2(0x250)],{'timeout':this['_resendTimeout'],'reqId':_0x39677c[_0x2371f2(0x394)]}),this['_sender']=this[_0x2371f2(0x3aa)][_0x2371f2(0x389)](({reqId:_0x52645b,timeout:_0x11887b})=>{var _0x27204f=_0x2371f2;this[_0x27204f(0x274)](_0x52645b,_0x11887b);}),this);}['toggleOffline'](){var _0x50804e=_0x8cc9a2;return this[_0x50804e(0x19f)](),this[_0x50804e(0x127)][_0x50804e(0x36b)](ue,this[_0x50804e(0x2e6)],this[_0x50804e(0x3c2)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x50804e(0xdf)]);}['toggleOnline'](){return this;}[_0x8cc9a2(0x197)](){var _0x33c761=_0x8cc9a2;this[_0x33c761(0xdf)]['onSendChangeset'](this[_0x33c761(0x1ff)]);}[_0x8cc9a2(0x18f)](_0x2fede0){var _0x52c3e0=_0x8cc9a2;return this[_0x52c3e0(0x19f)](),this['_injector'][_0x52c3e0(0x36b)](le,this['unitID'],this[_0x52c3e0(0x3c2)],null,this[_0x52c3e0(0x328)],this['_handler'],_0x2fede0);}['_resendWithTimeout'](_0x47b213,_0x3c0b96){var _0x241e5b=_0x8cc9a2,_0x2ccd21;_0x47b213===((_0x2ccd21=this['_awaitingChangeset'])==null?void 0x0:_0x2ccd21[_0x241e5b(0x394)])&&(this[_0x241e5b(0x197)](),this['_resendTimeout']=_0x3c0b96===0x0?0x3e8:_0x3c0b96*0x2);}[_0x8cc9a2(0x19f)](){var _0x5eb4d2=_0x8cc9a2,_0x2844ff;(_0x2844ff=this[_0x5eb4d2(0x203)])==null||_0x2844ff[_0x5eb4d2(0x31a)](),this['_resendTimeout']=0x0;}};ae=Ie([P(0x6,_0x2bc925(_0x5c0aec)),P(0x7,_0x2bc925(_0x55e017)),P(0x8,_0x8da825),P(0x9,_0xd27129),P(0xa,_0x20376b),P(0xb,_0x1ab2de),P(0xc,_0x31269b(J))],ae);let le=class extends Te{constructor(_0x3f49c5,_0x5eaae4,_0x2d3e06,_0x227c40,_0x36da0a,_0x1822da=!0x1,_0x163048,_0x48cdd5,_0x37c1d5,_0x12c085,_0x2cc99c,_0x28a683,_0x1a535f){var _0x35881c=_0x8cc9a2;super(_0x3f49c5,_0x5eaae4,_0x2d3e06,_0x227c40,_0x36da0a,_0x48cdd5,_0x37c1d5,_0x12c085,_0x1a535f),N(this,'status',_0x35881c(0x321)),(this[_0x35881c(0x177)]=_0x1822da,this[_0x35881c(0x14b)]=_0x163048,this['_localeService']=_0x2cc99c,this[_0x35881c(0x299)]=_0x28a683,this[_0x35881c(0x38e)]=_0x1a535f,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x35881c(0x294)]());}[_0x8cc9a2(0x182)](){return this;}[_0x8cc9a2(0x3ab)](){return this;}['onRemoteAck'](){return this;}[_0x8cc9a2(0x263)](){return this;}[_0x8cc9a2(0x2f0)](){return this;}['toggleOffline'](){return this;}[_0x8cc9a2(0x234)](){return this;}[_0x8cc9a2(0x197)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0xa11912=_0x8cc9a2,_0x429453;(_0x429453=this[_0xa11912(0x378)])==null||_0x429453[_0xa11912(0x238)](this[_0xa11912(0x2e6)],this['type'],null,[]);}[_0x8cc9a2(0x23b)](){var _0x43f9ac=_0x8cc9a2;this[_0x43f9ac(0x177)]?this[_0x43f9ac(0x299)][_0x43f9ac(0x350)]({'id':ne[_0x43f9ac(0x253)]}):this[_0x43f9ac(0x299)][_0x43f9ac(0x350)]({'id':ne[_0x43f9ac(0x2ee)]});}[_0x8cc9a2(0x294)](){var _0x22da8a=_0x8cc9a2;this[_0x22da8a(0x14b)][_0x22da8a(0x244)](new _0x4721f5(this[_0x22da8a(0x2e6)])['id'],!0x1);}};le=Ie([P(0x6,_0x2bc925(_0x2c39ae)),P(0x7,_0x8da825),P(0x8,_0x1ab2de),P(0x9,_0x2bc925(_0x55e017)),P(0xa,_0x2bc925(_0x48830e)),P(0xb,_0x2bc925(ve)),P(0xc,_0x31269b(J))],le);let ue=class extends Te{constructor(_0x592e27,_0x1574be,_0x8acab2,_0x3375e3,_0x3f392e,_0x1f022a,_0xc4f02,_0x4cd410,_0x315a2f,_0x938684){var _0x3cd878=_0x8cc9a2;super(_0x592e27,_0x1574be,_0x8acab2,_0x3375e3,_0x3f392e,_0x4cd410,_0x315a2f,_0xc4f02,_0x938684),N(this,_0x3cd878(0xdb),_0x3cd878(0x2e0)),this[_0x3cd878(0x127)]=_0x1f022a;}[_0x8cc9a2(0x182)](_0x17fcb6){var _0x21f21d=_0x8cc9a2;return this['_pendingMutations']['push'](_0x17fcb6),this[_0x21f21d(0x3c7)](),this;}[_0x8cc9a2(0x3ab)](_0x20aba6){var _0x5c4d07=_0x8cc9a2;throw new Error(_0x5c4d07(0x30a));}[_0x8cc9a2(0x29f)](){var _0x339324=_0x8cc9a2;throw new Error(_0x339324(0x192));}[_0x8cc9a2(0x263)](){var _0xe51354=_0x8cc9a2;throw new Error(_0xe51354(0x349));}[_0x8cc9a2(0x2f0)](){return this;}[_0x8cc9a2(0x29d)](){return this;}[_0x8cc9a2(0x234)](){var _0x52eb79=_0x8cc9a2;const {_injector:_0x4a39a9,_pendingMutations:_0xbcc622,_awaitingChangeset:_0x2d6768,unitID:_0x53ea4d,_handler:_0x5db200,type:_0xee5a36}=this,_0x4c4c70=Ri(_0x4a39a9,_0x53ea4d,_0xee5a36,_0x2d6768,_0xbcc622,_0x5db200);return _0x4c4c70 instanceof re?_0x4c4c70[_0x52eb79(0x211)]():(_0x4c4c70 instanceof ae||_0x4c4c70 instanceof _e)&&_0x4c4c70[_0x52eb79(0x197)](),_0x4c4c70;}[_0x8cc9a2(0x197)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0x2bc925(_0x5c0aec)),P(0x6,_0x2bc925(_0x55e017)),P(0x7,_0x8da825),P(0x8,_0x1ab2de),P(0x9,_0x31269b(J))],ue);let Q=class extends Te{constructor(_0x2fd022,_0x5bf0e5,_0x16b5c6,_0x412294,_0x5c1204,_0x2034f3,_0x5f09b5,_0x5b7b3e,_0x5124f2,_0x1506f2,_0x51fe1e,_0x3454ab,_0x5e626b,_0x261644){var _0x24d88d=_0x8cc9a2;super(_0x2fd022,_0x5bf0e5,_0x16b5c6,_0x412294,_0x5f09b5,_0x51fe1e,_0x3454ab,_0x5124f2,_0x261644),N(this,_0x24d88d(0xdb),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x5c1204,this[_0x24d88d(0x331)]=_0x2034f3,this[_0x24d88d(0x127)]=_0x5b7b3e,this['_logService']=_0x1506f2,this['_transformService']=_0x5e626b,this[_0x24d88d(0x38e)]=_0x261644);}['onMissedChangesetFetched'](_0x32514d){var _0x5ba7b0=_0x8cc9a2;try{const _0x4349ca=[..._0x32514d,...this[_0x5ba7b0(0x331)]],_0x4c82d0=[this[_0x5ba7b0(0x1ff)]||this[_0x5ba7b0(0x1f6)]][_0x5ba7b0(0xd1)](_0x4fb152=>!!_0x4fb152);let _0x1d879c,_0x7ffeb;if(_0x4c82d0[_0x5ba7b0(0x1ae)]){const _0x3151c7=this[_0x5ba7b0(0x385)][_0x5ba7b0(0xe7)](_0x4349ca,_0x4c82d0,!0x1);if(!_0x53b0a7(_0x3151c7))throw _0x3151c7['error'];_0x1d879c=_0x3151c7['c1Prime'],_0x7ffeb=_0x3151c7['c2Prime'];}else _0x1d879c=_0x4349ca,_0x7ffeb=[];let _0x18d66a=this[_0x5ba7b0(0x328)];_0x1d879c[_0x5ba7b0(0x172)](_0x55de84=>{var _0x24e8bc=_0x5ba7b0;let _0x16ee74;if(_0x18d66a[_0x24e8bc(0x1ae)]){const _0x6d9a79=this[_0x24e8bc(0x385)][_0x24e8bc(0x1e0)](_0x55de84,_0x18d66a);if(!_0xaeb0b0(_0x6d9a79))throw _0x6d9a79[_0x24e8bc(0x237)];_0x16ee74=_0x6d9a79['c1Prime'],_0x18d66a=_0x6d9a79[_0x24e8bc(0x20b)];}else _0x16ee74=_0x55de84;this[_0x24e8bc(0x13b)](_0x16ee74);}),this[_0x5ba7b0(0x1f6)]&&this[_0x5ba7b0(0x2cb)](),this[_0x5ba7b0(0x1ff)]&&_0x7ffeb[_0x5ba7b0(0x1ae)]&&(_0x7ffeb[0x0][_0x5ba7b0(0x240)]=this[_0x5ba7b0(0x2af)]());let _0x1eaa03;if(this[_0x5ba7b0(0x1ff)]&&_0x18d66a[_0x5ba7b0(0x1ae)]!==0x0)_0x1eaa03=this['_injector'][_0x5ba7b0(0x36b)](ae,this[_0x5ba7b0(0x2e6)],this[_0x5ba7b0(0x3c2)],_0x7ffeb[0x0],_0x18d66a,this['_handler'],void 0x0);else{if(this[_0x5ba7b0(0x1ff)]&&_0x18d66a['length']===0x0)_0x7ffeb[0x0][_0x5ba7b0(0x240)]=this[_0x5ba7b0(0x2af)](),_0x1eaa03=this[_0x5ba7b0(0x127)][_0x5ba7b0(0x36b)](_e,this[_0x5ba7b0(0x2e6)],this[_0x5ba7b0(0x3c2)],_0x7ffeb[0x0],this['_handler']);else{if(_0x18d66a[_0x5ba7b0(0x1ae)]!==0x0){const _0x465062=this[_0x5ba7b0(0x127)][_0x5ba7b0(0x36b)](re,this['unitID'],this[_0x5ba7b0(0x3c2)],_0x18d66a,this[_0x5ba7b0(0xdf)]);_0x465062[_0x5ba7b0(0x211)](),_0x1eaa03=_0x465062;}else _0x1eaa03=this[_0x5ba7b0(0x127)][_0x5ba7b0(0x36b)](ye,this[_0x5ba7b0(0x2e6)],this[_0x5ba7b0(0x3c2)],this['_handler']);}}return _0x1eaa03[_0x5ba7b0(0x3c7)](),_0x1eaa03;}catch(_0x269ecd){return this['_logService']['error']('[FetchMissState]',_0x5ba7b0(0x26d),_0x269ecd),this[_0x5ba7b0(0x127)][_0x5ba7b0(0x36b)](le,this[_0x5ba7b0(0x2e6)],this['type'],this[_0x5ba7b0(0x1ff)],this[_0x5ba7b0(0x328)],this[_0x5ba7b0(0xdf)],!0x1);}}['resend'](){var _0x2179c8=_0x8cc9a2;throw new Error(_0x2179c8(0xcc));}[_0x8cc9a2(0x182)](_0x1c0c6e){var _0x4a3350=_0x8cc9a2;return this[_0x4a3350(0x328)][_0x4a3350(0x13f)](_0x1c0c6e),this;}[_0x8cc9a2(0x3ab)](_0x4a087c){var _0x2e135d=_0x8cc9a2;return this[_0x2e135d(0x331)][_0x2e135d(0x13f)](_0x4a087c),this;}[_0x8cc9a2(0x29f)](_0x54bb5f){var _0x2ed774=_0x8cc9a2;if(this[_0x2ed774(0x1ff)])return this[_0x2ed774(0x1f6)]=this[_0x2ed774(0x1ff)],this[_0x2ed774(0x1ff)]=null,this;throw new Error(_0x2ed774(0x381));}[_0x8cc9a2(0x263)](_0x3770f8){var _0x539df6=_0x8cc9a2;return this[_0x539df6(0x18f)](!!(_0x3770f8!=null&&_0x3770f8[_0x539df6(0x191)]));}[_0x8cc9a2(0x2f0)](){return this;}[_0x8cc9a2(0x29d)](){var _0x11e53c=_0x8cc9a2;return this[_0x11e53c(0x127)][_0x11e53c(0x36b)](ue,this[_0x11e53c(0x2e6)],this[_0x11e53c(0x3c2)],this[_0x11e53c(0x1ff)],this[_0x11e53c(0x328)],this['_handler']);}[_0x8cc9a2(0x234)](){return this;}[_0x8cc9a2(0x18f)](_0x35ef3d){var _0x2f5409=_0x8cc9a2;return this[_0x2f5409(0x127)][_0x2f5409(0x36b)](le,this[_0x2f5409(0x2e6)],this[_0x2f5409(0x3c2)],this[_0x2f5409(0x1ff)],this['_pendingMutations'],this[_0x2f5409(0xdf)],_0x35ef3d);}};Q=Ie([P(0x7,_0x2bc925(_0x5c0aec)),P(0x8,_0x2bc925(_0x55e017)),P(0x9,_0xd27129),P(0xa,_0x8da825),P(0xb,_0x1ab2de),P(0xc,_0x20376b),P(0xd,_0x31269b(J))],Q);function Ri(_0x482037,_0xe28431,_0x4d3e7c,_0x1ed6cf,_0x133bb8,_0x4e3aba){var _0x270d55=_0x8cc9a2;return _0x1ed6cf&&_0x133bb8[_0x270d55(0x1ae)]?_0x482037[_0x270d55(0x36b)](ae,_0xe28431,_0x4d3e7c,_0x1ed6cf,_0x133bb8,_0x4e3aba,void 0x0):_0x1ed6cf?_0x482037[_0x270d55(0x36b)](_e,_0xe28431,_0x4d3e7c,_0x1ed6cf,_0x4e3aba):_0x133bb8[_0x270d55(0x1ae)]?_0x482037[_0x270d55(0x36b)](re,_0xe28431,_0x4d3e7c,_0x133bb8,_0x4e3aba):_0x482037[_0x270d55(0x36b)](ye,_0xe28431,_0x4d3e7c,_0x4e3aba);}var Zs=Object[_0x8cc9a2(0x2fc)],wt=(_0x41e388,_0x7a9394,_0x354d97,_0x186e84)=>{var _0x424196=_0x8cc9a2;for(var _0x33ffba=_0x186e84>0x1?void 0x0:_0x186e84?Zs(_0x7a9394,_0x354d97):_0x7a9394,_0x910721=_0x41e388[_0x424196(0x1ae)]-0x1,_0xd25c7f;_0x910721>=0x0;_0x910721--)(_0xd25c7f=_0x41e388[_0x910721])&&(_0x33ffba=_0xd25c7f(_0x33ffba)||_0x33ffba);return _0x33ffba;},H=(_0x426eb7,_0x50e0b0)=>(_0x2f1c59,_0x55d04b)=>_0x50e0b0(_0x2f1c59,_0x55d04b,_0x426eb7);let st=class extends _0x13f7ae{constructor(_0x384ba5,_0x1907f6,_0xf1eedf,_0x29841d,_0x42c33f,_0x20cde6,_0x505cd9,_0x3a9046,_0x909924,_0x372dfc,_0x500b15,_0x53080e,_0x21472c){var _0xb718a=_0x8cc9a2;super(),N(this,_0xb718a(0x1fa),new _0xf5efdc(null)),N(this,'state$',this['_state$'][_0xb718a(0x107)]()),N(this,_0xb718a(0x38c)),N(this,_0xb718a(0x3af),!0x1),N(this,_0xb718a(0x111),''),N(this,_0xb718a(0x168),0x0),N(this,_0xb718a(0x26a),this[_0xb718a(0x3a1)][_0xb718a(0x265)](_0x2b99f6(_0x7e83ac=>_0x7e83ac?_0x7e83ac['status']:Ti['OFFLINE']),_0x280cd0(0x1))),N(this,_0xb718a(0x11f),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0xb718a(0x2e6)]=_0x384ba5,this[_0xb718a(0x1cb)]=_0x1907f6,this[_0xb718a(0x136)]=_0xf1eedf,this[_0xb718a(0x127)]=_0x29841d,this[_0xb718a(0x20e)]=_0x42c33f,this[_0xb718a(0x2cd)]=_0x20cde6,this[_0xb718a(0x358)]=_0x505cd9,this['_eventService']=_0x3a9046,this[_0xb718a(0x3a2)]=_0x909924,this[_0xb718a(0x16d)]=_0x372dfc,this[_0xb718a(0x14b)]=_0x500b15,this[_0xb718a(0x2fb)]=_0x53080e,this['_localCacheService']=_0x21472c);}get[_0x8cc9a2(0x3b9)](){var _0x2dba8d=_0x8cc9a2;return this[_0x2dba8d(0x38c)];}async['init'](){var _0x46dd39=_0x8cc9a2;if(this[_0x46dd39(0x3b9)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x46dd39(0x1dd)]();}[_0x8cc9a2(0xcf)](){var _0x57fe72=_0x8cc9a2;return this[_0x57fe72(0x3af)]=!0x0,_0x3d946d(()=>{var _0x17627e=_0x57fe72;this[_0x17627e(0x3af)]=!0x1,this[_0x17627e(0x10e)]();});}[_0x8cc9a2(0x1d5)](_0x2cb967){var _0x59c926=_0x8cc9a2;this[_0x59c926(0x1b5)](_0x2cb967);}[_0x8cc9a2(0x115)](_0x1630ce){var _0x407f7d=_0x8cc9a2;this[_0x407f7d(0x38c)]=_0x1630ce,this[_0x407f7d(0x1fa)][_0x407f7d(0x30d)](_0x1630ce);}async['_init'](){var _0x53e3fe=_0x8cc9a2,_0x216f89;this[_0x53e3fe(0x115)](await this[_0x53e3fe(0x297)]()),this[_0x53e3fe(0x2fb)]&&((_0x216f89=this['_singleActiveUnitService'])==null||_0x216f89[_0x53e3fe(0x116)](this['unitID']),this[_0x53e3fe(0x2ce)](this['_singleActiveUnitService'][_0x53e3fe(0x1f0)](this['unitID'])[_0x53e3fe(0x389)](_0x4e1f9b=>{var _0x5899d8=_0x53e3fe;this[_0x5899d8(0x3a2)]['debug']('[CollaborationEntity]',_0x5899d8(0x1f9),_0x4e1f9b),_0x4e1f9b===Ei[_0x5899d8(0x277)]?(this[_0x5899d8(0x285)]['emitEvent']({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x5899d8(0x14b)][_0x5899d8(0x244)](new _0x4721f5(this[_0x5899d8(0x2e6)])['id'],!0x1),this[_0x5899d8(0x14b)][_0x5899d8(0x137)](!0x1)):(this[_0x5899d8(0x14b)][_0x5899d8(0x244)](new _0x4721f5(this[_0x5899d8(0x2e6)])['id'],!0x0),this['_permissionService'][_0x5899d8(0x137)](!0x0));})));let _0x51b518=!0x1;return this[_0x53e3fe(0x2ce)](this[_0x53e3fe(0x1cb)][_0x53e3fe(0xfa)][_0x53e3fe(0x389)](_0x25baa1=>{var _0xaf3a00=_0x53e3fe;_0x25baa1===Se[_0xaf3a00(0x373)]?this['_toggleOnline'](_0x51b518):_0x25baa1===Se['OFFLINE']&&(_0x51b518=!0x0,this[_0xaf3a00(0x2c2)]());})),this[_0x53e3fe(0x2ce)](this['session']['event$'][_0x53e3fe(0x389)](_0xf3a9f9=>{var _0x37bcbe=_0x53e3fe;try{switch(_0xf3a9f9[_0x37bcbe(0x22e)]){case _0x52d112['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0xb25bd1(_0xf3a9f9[_0x37bcbe(0x32a)]));break;}case _0x52d112[_0x37bcbe(0x2a7)]:{this[_0x37bcbe(0x204)](_0xf3a9f9['data']);break;}case _0x52d112[_0x37bcbe(0x224)]:{this['_onRemoteRejected']();break;}case _0x52d112[_0x37bcbe(0x1ce)]:{this[_0x37bcbe(0x213)](_0xf3a9f9[_0x37bcbe(0x32a)]);break;}case _0x52d112[_0x37bcbe(0x278)]:{this[_0x37bcbe(0xc3)](_0xf3a9f9[_0x37bcbe(0x32a)][_0x37bcbe(0x318)][_0x37bcbe(0x34c)](_0x3a79e3=>_0xb25bd1(_0x3a79e3)));break;}case _0x52d112[_0x37bcbe(0x2b2)]:{this[_0x37bcbe(0xd8)]({'isPermissionRej':!0x0});break;}case _0x52d112[_0x37bcbe(0xce)]:break;}}catch(_0x4d958c){throw console[_0x37bcbe(0x237)](_0x37bcbe(0xdc),_0x4d958c),_0x4d958c;}})),this[_0x53e3fe(0x38c)];}[_0x8cc9a2(0x264)](){var _0x389671=_0x8cc9a2;this[_0x389671(0x11f)]=!0x1;}[_0x8cc9a2(0x28d)](){var _0x2523c1=_0x8cc9a2;if(this['_transitionLocked'])throw new Error(_0x2523c1(0x314));this['_transitionLocked']=!0x0;}[_0x8cc9a2(0x1b5)](_0x92e3e9){var _0x5eec18=_0x8cc9a2;this['_lockTransition'](),this[_0x5eec18(0x115)](this[_0x5eec18(0x38c)][_0x5eec18(0x182)](_0x92e3e9)),this[_0x5eec18(0x264)]();}['_onRemoteChangeset'](_0x3247d9){var _0x1505c7=_0x8cc9a2;if(!(_0x3247d9[_0x1505c7(0x306)]<=this[_0x1505c7(0x358)]['getCurrentRevOfUnit'](this[_0x1505c7(0x2e6)]))){if(this[_0x1505c7(0x3af)]){this['_remoteChangesetQueue'][_0x1505c7(0x13f)](_0x3247d9);return;}this[_0x1505c7(0x335)](_0x3247d9);}}[_0x8cc9a2(0x10e)](){var _0x2c090a=_0x8cc9a2;this['_remoteChangesetQueue'][_0x2c090a(0x172)](_0x363254=>this['_applyRemoteChangeset'](_0x363254)),this['_remoteChangesetQueue']=[];}[_0x8cc9a2(0x335)](_0x6a4ad5){var _0x3daf3b=_0x8cc9a2;const _0x1765ce=this['_compressMutationService'][_0x3daf3b(0x3c8)][_0x3daf3b(0x311)](this['_compressMutationService'][_0x3daf3b(0x3c8)][_0x3daf3b(0x364)]()['COMPRESS_MUTATION_APPLY'])(_0x6a4ad5[_0x3daf3b(0x3be)],null)||_0x6a4ad5[_0x3daf3b(0x3be)],_0x51fd4a={..._0x6a4ad5,'mutations':_0x1765ce};this['_lockTransition'](),this['_updateState'](this['_state']['onRemoteChangeset'](_0x51fd4a)),this['_unlockTransition']();}['_onRemoteACK'](_0xf5bcd0){var _0x577dd8=_0x8cc9a2;this[_0x577dd8(0x28d)](),this[_0x577dd8(0x115)](this[_0x577dd8(0x38c)]['onRemoteAck'](_0xf5bcd0)),this[_0x577dd8(0x264)]();}[_0x8cc9a2(0xd8)](_0x29277c){var _0x267c54=_0x8cc9a2;this['_lockTransition'](),this[_0x267c54(0x115)](this['_state'][_0x267c54(0x263)](_0x29277c)),this['_unlockTransition']();}[_0x8cc9a2(0x213)](_0x34284e){var _0x2631e3=_0x8cc9a2;this[_0x2631e3(0x28d)](),this[_0x2631e3(0x115)](this['_state'][_0x2631e3(0x2f0)](_0x34284e)),this[_0x2631e3(0x264)]();}['_onFetchMissResult'](_0x55dd81){var _0x3d2a60=_0x8cc9a2;if(!(this[_0x3d2a60(0x38c)]instanceof Q))throw new TypeError(_0x3d2a60(0x255));const _0x340004=_0x55dd81['map'](_0x4e5776=>{var _0x261bf5=_0x3d2a60;const _0x2247c4=this[_0x261bf5(0x20e)][_0x261bf5(0x3c8)][_0x261bf5(0x311)](this[_0x261bf5(0x20e)][_0x261bf5(0x3c8)][_0x261bf5(0x364)]()[_0x261bf5(0x170)])(_0x4e5776[_0x261bf5(0x3be)],null)||_0x4e5776[_0x261bf5(0x3be)];return{..._0x4e5776,'mutations':_0x2247c4};});this[_0x3d2a60(0x28d)](),this[_0x3d2a60(0x115)](this[_0x3d2a60(0x38c)][_0x3d2a60(0x15b)](_0x340004)),this['_unlockTransition']();}['_toggleOffline'](){var _0x11e2b1=_0x8cc9a2;this[_0x11e2b1(0x28d)](),this[_0x11e2b1(0x115)](this[_0x11e2b1(0x38c)][_0x11e2b1(0x29d)]()),this[_0x11e2b1(0x264)]();}['_toggleOnline'](_0x30d13c=!0x1){var _0x456806=_0x8cc9a2;this['_lockTransition'](),this['_updateState'](this[_0x456806(0x38c)][_0x456806(0x234)]()),this[_0x456806(0x264)]();const _0x2728b4=this[_0x456806(0x38c)];_0x30d13c&&_0x2728b4 instanceof ye&&(this[_0x456806(0x28d)](),this[_0x456806(0x115)](_0x2728b4[_0x456806(0x23c)]()),this[_0x456806(0x264)]());}async[_0x8cc9a2(0x297)](){return new Promise(_0x4e132d=>{var _0x117263=_0x178d;this[_0x117263(0x1cb)][_0x117263(0xfa)]['pipe'](_0x1d9788(0x1))['subscribe'](async _0x14ac66=>{var _0x2570c5=_0x117263;_0x4e132d(await this[_0x2570c5(0x2ff)](_0x14ac66===Se[_0x2570c5(0x373)]));});});}[_0x8cc9a2(0x2de)](){var _0x3acfcc=_0x8cc9a2;const _0xf7dab0=this[_0x3acfcc(0x2e6)];return{'onStateChange':(_0x2ffd46,_0x44f727)=>{var _0x1fb757=_0x3acfcc;if(_0x2ffd46!==this['_state'])throw new Error(_0x1fb757(0x22f)+_0x2ffd46['status']+_0x1fb757(0x131)+_0x44f727['status']+'\x0aCurrent:\x20'+this[_0x1fb757(0x38c)]['status']);this[_0x1fb757(0x115)](_0x44f727);},'onSendChangeset':_0x3e0898=>{var _0x3e1685=_0x3acfcc;_0x3e0898['sid']||(_0x3e0898[_0x3e1685(0x181)]=this[_0x3e1685(0x111)],_0x3e0898[_0x3e1685(0x394)]=++this['_changesetReqId']);const _0x124b28={'eventID':_0x52d112[_0x3e1685(0x2da)],'data':{'unitID':_0x3e0898[_0x3e1685(0x2e6)],'unitType':this['_type'],'changeset':_0x3e0898,'memberID':this[_0x3e1685(0x1cb)][_0x3e1685(0x208)]()}};this[_0x3e1685(0x1cb)][_0x3e1685(0x2e1)](_0x124b28,this[_0x3e1685(0x2e6)]);},'onMissingChangesets':({from:_0x5037fa,to:_0xa75b87})=>{var _0x42ed2a=_0x3acfcc;this[_0x42ed2a(0x3a2)][_0x42ed2a(0x31b)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x5037fa+_0x42ed2a(0x248)+_0xa75b87);const _0x477c49={'eventID':_0x52d112['FETCH_MISSING'],'data':{'unitID':_0xf7dab0,'unitType':this[_0x42ed2a(0x136)],'from':_0x5037fa,'to':_0xa75b87}};this[_0x42ed2a(0x1cb)][_0x42ed2a(0x2e1)](_0x477c49,this[_0x42ed2a(0x2e6)]);}};}async[_0x8cc9a2(0x2ff)](_0x26b8ab){var _0x1614e3=_0x8cc9a2,_0x4e693c,_0x5ca418,_0x184e69;const _0x1b5ba9=await((_0x4e693c=this[_0x1614e3(0x378)])==null?void 0x0:_0x4e693c[_0x1614e3(0x202)](this['unitID'])),_0x2ed19f=(_0x5ca418=_0x1b5ba9==null?void 0x0:_0x1b5ba9[_0x1614e3(0x3be)])!=null?_0x5ca418:[],_0x454299=(_0x184e69=_0x1b5ba9==null?void 0x0:_0x1b5ba9[_0x1614e3(0xc4)])!=null?_0x184e69:null,_0x2c2de4=!!(_0x454299!=null&&_0x454299[_0x1614e3(0x181)])&&!!(_0x454299!=null&&_0x454299[_0x1614e3(0x394)]);this[_0x1614e3(0x111)]=_0x2c2de4?_0x454299[_0x1614e3(0x181)]:_0xdb3176(),this[_0x1614e3(0x168)]=_0x2c2de4?_0x454299[_0x1614e3(0x394)]:0x0;const _0x2a0d9d=this[_0x1614e3(0x2e6)];try{this['_replayCachedMutations'](_0x454299,_0x2ed19f);}catch(_0x14e629){this[_0x1614e3(0x3a2)]['error'](_0x14e629);}const _0x206453=this[_0x1614e3(0x2de)]();if(_0x26b8ab){const _0x17ea9d=Ri(this['_injector'],_0x2a0d9d,this['_type'],_0x454299,_0x2ed19f,_0x206453);return _0x17ea9d instanceof re?_0x17ea9d[_0x1614e3(0x211)]():(_0x17ea9d instanceof ae||_0x17ea9d instanceof _e)&&_0x17ea9d[_0x1614e3(0x197)](),_0x17ea9d;}return this['_injector']['createInstance'](ue,_0x2a0d9d,this[_0x1614e3(0x136)],_0x454299,_0x2ed19f,_0x206453);}[_0x8cc9a2(0x159)](_0x529fbf,_0x5c51bc){var _0x373d75=_0x8cc9a2,_0x2f119d,_0xa22402;const _0x5e79e5=this['_compressMutationService'][_0x373d75(0x3c8)][_0x373d75(0x311)](this['_compressMutationService'][_0x373d75(0x3c8)][_0x373d75(0x364)]()[_0x373d75(0x170)]);(_0x2f119d=_0x5e79e5((_0x529fbf==null?void 0x0:_0x529fbf[_0x373d75(0x3be)])||[],null))==null||_0x2f119d[_0x373d75(0x172)](_0x281441=>this[_0x373d75(0x16d)]['executeCommand'](_0x281441['id'],_0x281441['params'])),(_0xa22402=_0x5e79e5(_0x5c51bc||[],null))==null||_0xa22402['forEach'](_0x34cb0a=>this[_0x373d75(0x16d)][_0x373d75(0x280)](_0x34cb0a['id'],_0x34cb0a['params']));}};st=wt([H(0x3,_0x2bc925(_0x5c0aec)),H(0x4,_0x2bc925(_0x4b00a2)),H(0x5,_0x2bc925(_0x48830e)),H(0x6,_0x2bc925(_0x55e017)),H(0x7,_0x2bc925(ve)),H(0x8,_0xd27129),H(0x9,_0x8da825),H(0xa,_0x2c39ae),H(0xb,_0x31269b(ht)),H(0xc,_0x31269b(J))],st);let St=class extends st{constructor(_0x297183,_0x5a1ff8,_0x5ca9ad,_0x5a7f43,_0x1e1ffa,_0x4ed308,_0x4776c1,_0x3601d1,_0x3f8f68,_0x532707,_0x20e033,_0x44f2e,_0x53df69){var _0x5f5287=_0x8cc9a2;super(_0x297183,_0x5ca9ad,_0x5a1ff8,_0x5a7f43,_0x1e1ffa,_0x4ed308,_0x4776c1,_0x3601d1,_0x3f8f68,_0x532707,_0x20e033,_0x44f2e,_0x53df69),N(this,_0x5f5287(0x284),null),(this['unitID']=_0x297183,this[_0x5f5287(0x3c2)]=_0x5a1ff8);}[_0x8cc9a2(0x173)](_0x3b536f){var _0x27ce29=_0x8cc9a2;this[_0x27ce29(0x284)]=_0x3b536f;}[_0x8cc9a2(0x1ab)](){var _0x1fb588=_0x8cc9a2;this[_0x1fb588(0x284)]=null,super[_0x1fb588(0x1ab)]();}['_createHandler'](){var _0x35b560=_0x8cc9a2;const _0x54e030=super['_createHandler']();return _0x54e030[_0x35b560(0x179)]=_0x35d5d0=>{var _0x5ae045=_0x35b560,_0xad4eeb,_0x26467c;return(_0x26467c=(_0xad4eeb=this[_0x5ae045(0x284)])==null?void 0x0:_0xad4eeb[_0x5ae045(0x179)])==null?void 0x0:_0x26467c[_0x5ae045(0x324)](_0xad4eeb,_0x35d5d0);},_0x54e030[_0x35b560(0x270)]=_0x26af5c=>{var _0xa5fdc=_0x35b560,_0x461b3c,_0x158303;return(_0x158303=(_0x461b3c=this[_0xa5fdc(0x284)])==null?void 0x0:_0x461b3c[_0xa5fdc(0x270)])==null?void 0x0:_0x158303[_0xa5fdc(0x324)](_0x461b3c,_0x26af5c);},_0x54e030[_0x35b560(0x2a8)]=_0x1f21f0=>{var _0x56cb94=_0x35b560,_0x465e6d,_0x97ef3f;return(_0x97ef3f=(_0x465e6d=this[_0x56cb94(0x284)])==null?void 0x0:_0x465e6d['onTransformSelections'])==null?void 0x0:_0x97ef3f['call'](_0x465e6d,_0x1f21f0);},_0x54e030[_0x35b560(0x22c)]=_0x5801e0=>{var _0x386378=_0x35b560,_0x357152,_0x5991a3;return(_0x5991a3=(_0x357152=this[_0x386378(0x284)])==null?void 0x0:_0x357152[_0x386378(0x22c)])==null?void 0x0:_0x5991a3[_0x386378(0x324)](_0x357152,_0x5801e0);},_0x54e030['onTransformRemoteChangesetByIMECache']=_0x44ae80=>{var _0x42fd96=_0x35b560,_0x3fc71e,_0x4e89b4,_0x24479f;if(!((_0x3fc71e=this['_handlerCallback'])!=null&&_0x3fc71e[_0x42fd96(0x246)]))throw new Error(_0x42fd96(0x28e));return(_0x24479f=(_0x4e89b4=this[_0x42fd96(0x284)])==null?void 0x0:_0x4e89b4[_0x42fd96(0x246)])==null?void 0x0:_0x24479f[_0x42fd96(0x324)](_0x4e89b4,_0x44ae80);},_0x54e030[_0x35b560(0x219)]=_0x513d19=>{var _0x458c7e=_0x35b560,_0x36ba6c,_0x4aacea,_0x115ea9;if(!((_0x36ba6c=this['_handlerCallback'])!=null&&_0x36ba6c[_0x458c7e(0x219)]))throw new Error(_0x458c7e(0x249));return(_0x115ea9=(_0x4aacea=this['_handlerCallback'])==null?void 0x0:_0x4aacea[_0x458c7e(0x219)])==null?void 0x0:_0x115ea9['call'](_0x4aacea,_0x513d19);},_0x54e030;}async[_0x8cc9a2(0x1dd)](){var _0x45ef8b=_0x8cc9a2;const _0x35f88b=await super[_0x45ef8b(0x1dd)]();return this[_0x45ef8b(0x2ce)](this[_0x45ef8b(0x16d)][_0x45ef8b(0x17f)]((_0x2523be,_0x22a0b6)=>{var _0xf1747b=_0x45ef8b;if(_0x2523be[_0xf1747b(0x3c2)]!==_0x2aff31[_0xf1747b(0xc2)]||_0x22a0b6!=null&&_0x22a0b6[_0xf1747b(0xf3)]||_0x22a0b6!=null&&_0x22a0b6[_0xf1747b(0x251)]||_0x2523be['id']===_0x6cc34['id'])return;const _0x50f60e=_0x2523be[_0xf1747b(0x3b3)];if((_0x50f60e==null?void 0x0:_0x50f60e[_0xf1747b(0x3a7)])!==this[_0xf1747b(0x2e6)])return;const _0x74300d=_0x2523be,_0x3e18f0=this[_0xf1747b(0x20e)][_0xf1747b(0x3c8)][_0xf1747b(0x311)](this[_0xf1747b(0x20e)][_0xf1747b(0x3c8)][_0xf1747b(0x364)]()[_0xf1747b(0x2f6)])([_0x74300d],null)||[_0x74300d];this[_0xf1747b(0x1b5)](_0x3e18f0[0x0]);})),_0x35f88b;}};St=wt([H(0x3,_0x2bc925(_0x5c0aec)),H(0x4,_0x2bc925(_0x4b00a2)),H(0x5,_0x2bc925(_0x48830e)),H(0x6,_0x2bc925(_0x55e017)),H(0x7,_0x2bc925(ve)),H(0x8,_0xd27129),H(0x9,_0x8da825),H(0xa,_0x2c39ae),H(0xb,_0x31269b(ht)),H(0xc,_0x31269b(J))],St);let Et=class extends st{constructor(_0x236ece,_0x5ccf97,_0x1a421b,_0x176534,_0x263179,_0x203a16,_0x5da6fa,_0x466bec,_0x4d3942,_0x703b1d,_0x577c7e,_0x369b71,_0x4ced3f,_0x3b9468){var _0x25dd06=_0x8cc9a2;super(_0x236ece,_0x1a421b,_0x5ccf97,_0x176534,_0x263179,_0x203a16,_0x5da6fa,_0x4d3942,_0x703b1d,_0x577c7e,_0x369b71,_0x4ced3f,_0x3b9468),this[_0x25dd06(0x2e6)]=_0x236ece,this[_0x25dd06(0x3c2)]=_0x5ccf97,this[_0x25dd06(0x12a)]=_0x466bec;}[_0x8cc9a2(0x2de)](){var _0x19169f=_0x8cc9a2;const _0x477694=super[_0x19169f(0x2de)]();return _0x477694[_0x19169f(0x2a8)]=_0x3a160d=>this[_0x19169f(0x12a)]['transformSelections'](_0x3a160d),_0x477694;}async['_init'](){var _0x185d7e=_0x8cc9a2;const _0xf704e6=await super[_0x185d7e(0x1dd)]();return this[_0x185d7e(0x2ce)](this['_commandService'][_0x185d7e(0x17f)]((_0x9165be,_0x679e02)=>{var _0x4a776f=_0x185d7e;if(_0x9165be[_0x4a776f(0x3c2)]!==_0x2aff31[_0x4a776f(0xc2)]||_0x679e02!=null&&_0x679e02[_0x4a776f(0xf3)]||_0x679e02!=null&&_0x679e02['onlyLocal'])return;const _0x51444f=_0x9165be[_0x4a776f(0x3b3)];if((_0x51444f==null?void 0x0:_0x51444f['unitId'])!==this[_0x4a776f(0x2e6)])return;const _0x1236df=_0x9165be,_0x35949f=this[_0x4a776f(0x20e)]['interceptor'][_0x4a776f(0x311)](this[_0x4a776f(0x20e)][_0x4a776f(0x3c8)][_0x4a776f(0x364)]()[_0x4a776f(0x2f6)])([_0x1236df],null)||[_0x1236df];this[_0x4a776f(0x1b5)](_0x35949f[0x0]);})),_0xf704e6;}};Et=wt([H(0x3,_0x2bc925(_0x5c0aec)),H(0x4,_0x2bc925(_0x4b00a2)),H(0x5,_0x2bc925(_0x48830e)),H(0x6,_0x2bc925(_0x55e017)),H(0x7,_0x2bc925(it)),H(0x8,_0x2bc925(ve)),H(0x9,_0xd27129),H(0xa,_0x8da825),H(0xb,_0x2c39ae),H(0xc,_0x31269b(ht)),H(0xd,_0x31269b(J))],Et);var Qs=Object[_0x8cc9a2(0x2fc)],en=(_0x18a2fb,_0x1ef8f8,_0x3fbda3,_0xd3c742)=>{for(var _0x4d74f7=_0xd3c742>0x1?void 0x0:_0xd3c742?Qs(_0x1ef8f8,_0x3fbda3):_0x1ef8f8,_0x5dc918=_0x18a2fb['length']-0x1,_0x337c1c;_0x5dc918>=0x0;_0x5dc918--)(_0x337c1c=_0x18a2fb[_0x5dc918])&&(_0x4d74f7=_0x337c1c(_0x4d74f7)||_0x4d74f7);return _0x4d74f7;},Be=(_0x31c84e,_0x25a0fe)=>(_0x5b6bce,_0x420d7f)=>_0x25a0fe(_0x5b6bce,_0x420d7f,_0x31c84e);let nt=class extends _0x13f7ae{constructor(_0x52f46c,_0x33cf67,_0x1756d0,_0x1468b4){var _0x4b8f1e=_0x8cc9a2,_0x3feacd;super(),N(this,_0x4b8f1e(0xeb),new Map()),N(this,_0x4b8f1e(0x200),new _0x71a712()),N(this,'entityInit$',this[_0x4b8f1e(0x200)][_0x4b8f1e(0x107)]()),(this[_0x4b8f1e(0x127)]=_0x52f46c,this[_0x4b8f1e(0x345)]=_0x33cf67,this[_0x4b8f1e(0xee)]=_0x1756d0,this[_0x4b8f1e(0x370)]=_0x1468b4,((_0x3feacd=this['_configService'][_0x4b8f1e(0x122)](K))==null?void 0x0:_0x3feacd[_0x4b8f1e(0x26c)])!==!0x1&&this[_0x4b8f1e(0x1dd)]());}[_0x8cc9a2(0x1ab)](){var _0x204dda=_0x8cc9a2;super[_0x204dda(0x1ab)](),this[_0x204dda(0xeb)][_0x204dda(0x172)](_0x2618c6=>_0x2618c6[_0x204dda(0x1ab)]()),this[_0x204dda(0xeb)]['clear']();}[_0x8cc9a2(0x27d)](_0x54895f){var _0x440e3b=_0x8cc9a2,_0x32c075;return(_0x32c075=this['_entities'][_0x440e3b(0x313)](_0x54895f))!=null?_0x32c075:null;}[_0x8cc9a2(0x1ef)](_0x4ca87e){var _0x31637f=_0x8cc9a2;const _0x32961e=this[_0x31637f(0x27d)](_0x4ca87e);return _0x32961e?_0x32f5dc(_0x32961e):this[_0x31637f(0x200)][_0x31637f(0x265)](_0x469615(_0x555939=>_0x555939[_0x31637f(0x2e6)]===_0x4ca87e));}[_0x8cc9a2(0x260)](_0x3e2ee4){var _0xa09118=_0x8cc9a2;return _0x54ae21(this[_0xa09118(0x1ef)](_0x3e2ee4)[_0xa09118(0x265)](_0xcf6408(()=>{})));}['_init'](){var _0x4eebad=_0x8cc9a2;this[_0x4eebad(0x370)][_0x4eebad(0x2a6)](_0x444bb2[_0x4eebad(0x2f4)])['pipe'](_0x49e2dd(this[_0x4eebad(0x346)]),_0x4b53e2(0x10))[_0x4eebad(0x389)](async _0x170887=>{var _0x1c3d5c=_0x4eebad;const _0x3fa335=_0x170887[_0x1c3d5c(0x239)](),_0x4d0281=await this[_0x1c3d5c(0x27b)](_0x3fa335,Z[_0x1c3d5c(0x2f4)]);this[_0x1c3d5c(0xeb)][_0x1c3d5c(0x2bb)](_0x3fa335,_0x4d0281);}),this[_0x4eebad(0x370)][_0x4eebad(0x2a6)](_0x444bb2['UNIVER_DOC'])[_0x4eebad(0x265)](_0x49e2dd(this[_0x4eebad(0x346)]),_0x4b53e2(0x10))[_0x4eebad(0x265)](_0x469615(_0x24c59d=>!_0x24c59d[_0x4eebad(0x239)]()['startsWith']('__')))[_0x4eebad(0x389)](async _0xbcf3e9=>{var _0x569c9a=_0x4eebad;const _0x7214ff=_0xbcf3e9[_0x569c9a(0x239)](),_0x5d5a75=await this[_0x569c9a(0x27b)](_0x7214ff,Z[_0x569c9a(0x11c)]);this['_entities'][_0x569c9a(0x2bb)](_0x7214ff,_0x5d5a75);}),_0x4e790d(this[_0x4eebad(0x370)]['getTypeOfUnitDisposed$'](_0x444bb2[_0x4eebad(0x2f4)]),this[_0x4eebad(0x370)][_0x4eebad(0x309)](_0x444bb2[_0x4eebad(0x11c)]))[_0x4eebad(0x265)](_0x49e2dd(this[_0x4eebad(0x346)]))['subscribe'](_0x47f0fc=>{var _0x1513ef=_0x4eebad;const _0x5767e1=_0x47f0fc[_0x1513ef(0x239)](),_0x52b7b6=this[_0x1513ef(0xeb)][_0x1513ef(0x313)](_0x5767e1);_0x52b7b6&&(_0x52b7b6[_0x1513ef(0x1ab)](),this[_0x1513ef(0xeb)][_0x1513ef(0x2aa)](_0x5767e1));});}async[_0x8cc9a2(0x27b)](_0x489810,_0x39531f){var _0x3f1ef8=_0x8cc9a2;const _0x3f7987=await this[_0x3f1ef8(0x345)][_0x3f1ef8(0x148)](_0x489810),_0x466da0=this[_0x3f1ef8(0x127)][_0x3f1ef8(0x36b)](this['_getCtorByUniverType'](_0x39531f),_0x489810,_0x39531f,_0x3f7987);return await _0x466da0[_0x3f1ef8(0x1ec)](),this[_0x3f1ef8(0x200)]['next'](_0x466da0),_0x466da0;}[_0x8cc9a2(0x2f2)](_0x127a7f){var _0x27479e=_0x8cc9a2;switch(_0x127a7f){case Z['UNIVER_DOC']:return St;case Z[_0x27479e(0x2f4)]:return Et;default:throw new Error(_0x27479e(0x22b)+_0x127a7f);}}};nt=en([Be(0x0,_0x2bc925(_0x5c0aec)),Be(0x1,_0x2bc925(Le)),Be(0x2,_0x195c73),Be(0x3,_0x24fe3b)],nt);var tn=Object[_0x8cc9a2(0x2fc)],sn=(_0x2f7b19,_0x2f7c9b,_0x162997,_0xce600)=>{var _0x42b717=_0x8cc9a2;for(var _0x596066=_0xce600>0x1?void 0x0:_0xce600?tn(_0x2f7c9b,_0x162997):_0x2f7c9b,_0x1d7cf6=_0x2f7b19[_0x42b717(0x1ae)]-0x1,_0x570aff;_0x1d7cf6>=0x0;_0x1d7cf6--)(_0x570aff=_0x2f7b19[_0x1d7cf6])&&(_0x596066=_0x570aff(_0x596066)||_0x596066);return _0x596066;},Yt=(_0xac532b,_0x2aab44)=>(_0x4dbe52,_0x4b597d)=>_0x2aab44(_0x4dbe52,_0x4b597d,_0xac532b);const nn=_0x8cc9a2(0x3ac),rn=_0x8cc9a2(0x327);let It=class extends _0x580a3b{constructor(_0x6466a6,_0x192d2e){var _0x496e19=_0x8cc9a2;super(),this[_0x496e19(0x370)]=_0x6466a6,this[_0x496e19(0xee)]=_0x192d2e,this[_0x496e19(0x1dd)]();}[_0x8cc9a2(0x1dd)](){var _0x5c7c46=_0x8cc9a2;this['disposeWithMe'](this[_0x5c7c46(0x370)][_0x5c7c46(0x109)]['subscribe'](()=>{var _0x2b6878=_0x5c7c46,_0x100e7f;const _0x4e3bb2=this[_0x2b6878(0x370)]['getFocusedUnit']();let _0x1f18c3=(_0x100e7f=this[_0x2b6878(0xee)][_0x2b6878(0x122)](nn))!=null?_0x100e7f:rn;_0x4e3bb2 instanceof _0x118162&&(_0x1f18c3=_0x4e3bb2[_0x2b6878(0x387)]),document[_0x2b6878(0x391)]=_0x1f18c3;}));}};It=sn([Yt(0x0,_0x24fe3b),Yt(0x1,_0x195c73)],It);var an=Object['getOwnPropertyDescriptor'],on=(_0x4eb8e4,_0xd3e13,_0x563ce3,_0x59dbc9)=>{var _0xbe64f6=_0x8cc9a2;for(var _0x5c0511=_0x59dbc9>0x1?void 0x0:_0x59dbc9?an(_0xd3e13,_0x563ce3):_0xd3e13,_0x278f41=_0x4eb8e4[_0xbe64f6(0x1ae)]-0x1,_0x3697e7;_0x278f41>=0x0;_0x278f41--)(_0x3697e7=_0x4eb8e4[_0x278f41])&&(_0x5c0511=_0x3697e7(_0x5c0511)||_0x5c0511);return _0x5c0511;},dt=(_0x3c9b21,_0x3aa875)=>(_0x423cc4,_0x694129)=>_0x3aa875(_0x423cc4,_0x694129,_0x3c9b21);let rt=class{constructor(_0x456407,_0x5b3160,_0x440da7){var _0x29cad6=_0x8cc9a2;this[_0x29cad6(0xee)]=_0x456407,this[_0x29cad6(0x100)]=_0x5b3160,this[_0x29cad6(0x151)]=_0x440da7,this[_0x29cad6(0x1ec)]();}[_0x8cc9a2(0x1ec)](){var _0x2e8b7a=_0x8cc9a2;this['_httpService'][_0x2e8b7a(0x2a9)]({'priority':0x1,'interceptor':(_0x1b9863,_0xa37998)=>_0xa37998(_0x1b9863)['pipe'](_0x4ea64a(async _0x1d555d=>{var _0x1874a1=_0x2e8b7a;const _0x9f7a16=_0x1d555d;if(_0x9f7a16[_0x1874a1(0xdb)]===0x191){if(typeof window>'u')throw new Error(_0x1874a1(0x2bf));if(window[_0x1874a1(0x196)](this[_0x1874a1(0x151)]['t']('auth.needGotoLoginAlert'))){const _0x29b081=window[_0x1874a1(0x1fc)](window[_0x1874a1(0x1b6)][_0x1874a1(0x2d7)]);window[_0x1874a1(0x1b6)]['href']=this['_getLoginPath']()+_0x1874a1(0x2b1)+_0x29b081;}}return _0x9f7a16;}))});}[_0x8cc9a2(0x1f5)](){var _0x200fcb=_0x8cc9a2,_0x5b2b5f,_0x256e30;const _0x209b56=this[_0x200fcb(0xee)]['getConfig'](ys),_0x77c392=this[_0x200fcb(0xee)]['getConfig'](K);return(_0x256e30=(_0x5b2b5f=_0x77c392==null?void 0x0:_0x77c392[_0x200fcb(0x185)])!=null?_0x5b2b5f:_0x209b56)!=null?_0x256e30:Ns;}};rt=on([dt(0x0,_0x195c73),dt(0x1,_0x2bc925(_0x2b7687)),dt(0x2,_0x2bc925(_0x48830e))],rt);var cn=Object[_0x8cc9a2(0x2fc)],hn=(_0x23652d,_0x2543e5,_0x4da61a,_0x6f9865)=>{var _0x12cb50=_0x8cc9a2;for(var _0x2684a2=_0x6f9865>0x1?void 0x0:_0x6f9865?cn(_0x2543e5,_0x4da61a):_0x2543e5,_0x30f60b=_0x23652d[_0x12cb50(0x1ae)]-0x1,_0x498dd1;_0x30f60b>=0x0;_0x30f60b--)(_0x498dd1=_0x23652d[_0x30f60b])&&(_0x2684a2=_0x498dd1(_0x2684a2)||_0x2684a2);return _0x2684a2;},Kt=(_0x59ff51,_0x14b297)=>(_0x241385,_0x512d06)=>_0x14b297(_0x241385,_0x512d06,_0x59ff51);const bi='AUTHZ_URL_KEY',_n=_0x8cc9a2(0xe1);let Tt=class extends _0x580a3b{constructor(_0x1b45f9,_0x111bcb){var _0x1737b3=_0x8cc9a2;super(),this['_HTTPService']=_0x1b45f9,this[_0x1737b3(0xee)]=_0x111bcb,this[_0x1737b3(0xd3)]();}[_0x8cc9a2(0xd3)](){var _0x338d0c=_0x8cc9a2;const _0x580456=this;this[_0x338d0c(0x2ce)](this[_0x338d0c(0x1eb)][_0x338d0c(0x2a9)]({'priority':0x3e7,'interceptor':_0x480f26({'isMatch'(_0x5e088c){var _0x4a4bff=_0x338d0c,_0x88d33;if(_0x5e088c['method']===_0x4a4bff(0x198)&&((_0x88d33=_0x5e088c['requestParams'])!=null&&_0x88d33['body'])){const {objectID:_0x5c1502,objectType:_0x1784c7}=_0x5e088c['requestParams']['body']||{};if(!_0x5c1502||_0x1784c7===void 0x0)return!0x1;const _0x54b8d1=_0x580456[_0x4a4bff(0xc7)]()+'/'+_0x1784c7+_0x4a4bff(0x2ea)+_0x5c1502+_0x4a4bff(0x2f9);if(_0x5e088c['url']===_0x54b8d1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x268975){var _0x4145f0=_0x338d0c,_0x1cc73d;return(_0x1cc73d=_0x268975[_0x4145f0(0x2f5)])==null?void 0x0:_0x1cc73d[_0x4145f0(0x242)];},'mergeParamsToRequest'(_0x593d7e,_0x38b44c){var _0x3e8be7=_0x338d0c;const _0x27005c=_0x580456[_0x3e8be7(0xc7)]()+_0x3e8be7(0xe3),_0xbdaf26=_0x593d7e[_0x3e8be7(0x1dc)]((_0x4b10d0,_0x28a74c)=>{var _0x330d68=_0x3e8be7;const {unitID:_0x3d4c94,objectID:_0x1dd1c0,objectType:_0x5b63de,actions:_0x53c733}=_0x28a74c;return _0x4b10d0[_0x3d4c94]||(_0x4b10d0[_0x3d4c94]={}),_0x4b10d0[_0x3d4c94][_0x1dd1c0]||(_0x4b10d0[_0x3d4c94][_0x1dd1c0]={'objectID':_0x1dd1c0,'objectType':_0x5b63de,'actions':[]}),_0x4b10d0[_0x3d4c94][_0x1dd1c0][_0x330d68(0x16f)][_0x330d68(0x13f)](..._0x53c733),_0x4b10d0;},{}),_0x5349ea=[];for(const _0x5e08f8 in _0xbdaf26)for(const _0x42996b in _0xbdaf26[_0x5e08f8]){const {actions:_0x5248f3,objectType:_0x34da1b}=_0xbdaf26[_0x5e08f8][_0x42996b],_0x1d3dc9=[...new Set(_0x5248f3)];_0x5349ea[_0x3e8be7(0x13f)]({'unitID':_0x5e08f8,'objectID':_0x42996b,'objectType':_0x34da1b,'actions':_0x1d3dc9});}return new _0x47c3f2('POST',_0x27005c,{'headers':_0x38b44c['headers'],'withCredentials':_0x38b44c[_0x3e8be7(0x21c)],'responseType':_0x38b44c[_0x3e8be7(0xe4)],'body':{'requests':_0x5349ea}});}},{'distributeResult'(_0x561dc2,_0x1c3485){var _0x520134=_0x338d0c;const {objectActions:_0x274234}=_0x561dc2;return _0x1c3485[_0x520134(0x34c)](_0x20e443=>{var _0x4c4f83=_0x520134;const {unitID:_0x184bb2,objectID:_0x59d5ec,actions:_0x23e5a9}=_0x20e443,_0x5a0578=_0x274234[_0x4c4f83(0x1b8)](_0x3fd089=>_0x3fd089[_0x4c4f83(0x2e6)]===_0x184bb2&&_0x3fd089[_0x4c4f83(0x3bc)]===_0x59d5ec),_0x21d99f=_0x23e5a9[_0x4c4f83(0x34c)](_0x2e02fd=>_0x5a0578==null?void 0x0:_0x5a0578[_0x4c4f83(0x16f)][_0x4c4f83(0x1b8)](_0x4d27f9=>_0x4d27f9['action']===_0x2e02fd))[_0x4c4f83(0xd1)](_0x2774c5=>!!_0x2774c5);return{'config':_0x20e443,'result':{'actions':_0x21d99f,'error':_0x561dc2[_0x4c4f83(0x237)]}};});}})}));}[_0x8cc9a2(0xc7)](){var _0xbf616d=_0x8cc9a2,_0x374c7c,_0x510a3b;const _0x1448cc=this[_0xbf616d(0xee)][_0xbf616d(0x122)](bi),_0x2339cd=this[_0xbf616d(0xee)]['getConfig'](K);return(_0x510a3b=(_0x374c7c=_0x2339cd==null?void 0x0:_0x2339cd[_0xbf616d(0x2d2)])!=null?_0x374c7c:_0x1448cc)!=null?_0x510a3b:_n;}async['create'](_0x4a5845){var _0xc0df61=_0x8cc9a2;const _0xeca5=this[_0xc0df61(0xc7)]()+'/'+_0x4a5845[_0xc0df61(0xfe)]+_0xc0df61(0xff);return(await this[_0xc0df61(0x1eb)][_0xc0df61(0x171)](_0xeca5,{'body':_0x4a5845}))['body']['objectID']||'';}async['list'](_0xf0a596){var _0x20ee53=_0x8cc9a2;const _0x4bfd76=this[_0x20ee53(0xc7)]()+_0x20ee53(0x156);return(await this[_0x20ee53(0x1eb)][_0x20ee53(0x171)](_0x4bfd76,{'body':_0xf0a596}))[_0x20ee53(0x242)][_0x20ee53(0x304)];}async[_0x8cc9a2(0x18b)](_0x274ff2){var _0x3fd98f=_0x8cc9a2,_0x50c518,_0x1881e6;const _0x29ee07=this[_0x3fd98f(0xc7)]()+'/'+_0x274ff2[_0x3fd98f(0xfe)]+_0x3fd98f(0x2ea)+_0x274ff2[_0x3fd98f(0x3bc)],_0x5a1d6d=await this[_0x3fd98f(0x1eb)]['put'](_0x29ee07,{'body':_0x274ff2});if(((_0x1881e6=(_0x50c518=_0x5a1d6d==null?void 0x0:_0x5a1d6d['body'])==null?void 0x0:_0x50c518[_0x3fd98f(0x237)])==null?void 0x0:_0x1881e6[_0x3fd98f(0x12b)])!==0x1)throw new Error(_0x3fd98f(0x2d9));}async[_0x8cc9a2(0x37c)](_0x3f2a86){var _0x279ecc=_0x8cc9a2;const _0x535313=this[_0x279ecc(0xc7)]()+'/'+_0x3f2a86[_0x279ecc(0xfe)]+_0x279ecc(0x2ea)+_0x3f2a86[_0x279ecc(0x3bc)]+'/allowed';return(await this[_0x279ecc(0x1eb)][_0x279ecc(0x171)](_0x535313,{'body':_0x3f2a86}))[_0x279ecc(0x242)][_0x279ecc(0x16f)];}async[_0x8cc9a2(0x212)](_0x70dff8){var _0xe70b3f=_0x8cc9a2;const _0x27ae1b=this[_0xe70b3f(0xc7)]()+_0xe70b3f(0xe3);return(await this['_HTTPService'][_0xe70b3f(0x171)](_0x27ae1b,{'body':{'requests':_0x70dff8}}))['body']['objectActions'];}async['listRoles'](_0x4361ae){var _0x4b1a1c=_0x8cc9a2;const _0x1e98b1=this[_0x4b1a1c(0xc7)]()+'/'+_0x4361ae[_0x4b1a1c(0xfe)]+_0x4b1a1c(0x3a5),_0x1b241e=await this['_HTTPService'][_0x4b1a1c(0x171)](_0x1e98b1,{'body':_0x4361ae});return{'roles':_0x1b241e['body'][_0x4b1a1c(0xec)],'actions':_0x1b241e[_0x4b1a1c(0x242)][_0x4b1a1c(0x16f)]};}async[_0x8cc9a2(0x282)](_0x484cdb){var _0x3e5113=_0x8cc9a2;const _0x35cd9d=this[_0x3e5113(0xc7)]()+_0x3e5113(0xe5);await this[_0x3e5113(0x1eb)][_0x3e5113(0x2aa)](_0x35cd9d,{'params':{'collaboratorID':_0x484cdb[_0x3e5113(0xed)],'objectID':_0x484cdb[_0x3e5113(0x3bc)],'unitID':_0x484cdb['unitID']}});}async['updateCollaborator'](_0x5b22d3){var _0x1d61a0=_0x8cc9a2;const _0x208587=this[_0x1d61a0(0xc7)]()+'/collaborator';await this[_0x1d61a0(0x1eb)][_0x1d61a0(0x3ba)](_0x208587,{'body':_0x5b22d3});}async[_0x8cc9a2(0x2d8)](_0x48b513){var _0x96849b=_0x8cc9a2;const _0x301a9d=this['_getAPIPrefixPath']()+_0x96849b(0xe5);await this['_HTTPService']['post'](_0x301a9d,{'body':_0x48b513});}async[_0x8cc9a2(0x1be)](_0x1a8315){var _0x29a8be=_0x8cc9a2;const _0x510c39=this[_0x29a8be(0xc7)]()+_0x29a8be(0xe5);return(await this[_0x29a8be(0x1eb)][_0x29a8be(0x313)](_0x510c39,{'params':{'objectID':_0x1a8315[_0x29a8be(0x3bc)],'unitID':_0x1a8315[_0x29a8be(0x2e6)]}}))[_0x29a8be(0x242)]['collaborators'];}async['putCollaborators'](_0x52a627){var _0x245d3a=_0x8cc9a2;const _0x473ad8=this[_0x245d3a(0xc7)]()+_0x245d3a(0xe5);await this[_0x245d3a(0x1eb)][_0x245d3a(0x334)](_0x473ad8,{'body':_0x52a627});}};Tt=hn([Kt(0x0,_0x2bc925(_0x2b7687)),Kt(0x1,_0x2bc925(_0x195c73))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x20dcc1){var _0x3e3a8a=_0x8cc9a2;return _0x20dcc1&&_0x20dcc1[_0x3e3a8a(0x1d0)]&&Object[_0x3e3a8a(0xc9)][_0x3e3a8a(0x2b6)][_0x3e3a8a(0x324)](_0x20dcc1,'default')?_0x20dcc1['default']:_0x20dcc1;}var Ve={'exports':{}};function ln(_0x14d460){var _0x1eaf47=_0x8cc9a2;throw new Error(_0x1eaf47(0x296)+_0x14d460+_0x1eaf47(0x180));}var Ge={'exports':{}},un=Ge[_0x8cc9a2(0x32e)],qt;function te(){return qt||(qt=0x1,function(_0x20ab3f,_0x152429){(function(_0x389e88,_0x45e959){var _0x3ef8a5=_0x178d;_0x20ab3f[_0x3ef8a5(0x32e)]=_0x45e959();}(un,function(){var _0x1b2709=_0x1b2709||function(_0x5296a4,_0x18bd8f){var _0x1af073=_0x178d,_0x3ab598;if(typeof window<'u'&&window[_0x1af073(0x315)]&&(_0x3ab598=window['crypto']),typeof self<'u'&&self[_0x1af073(0x315)]&&(_0x3ab598=self[_0x1af073(0x315)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3ab598=globalThis['crypto']),!_0x3ab598&&typeof window<'u'&&window[_0x1af073(0x183)]&&(_0x3ab598=window[_0x1af073(0x183)]),!_0x3ab598&&typeof ft<'u'&&ft[_0x1af073(0x315)]&&(_0x3ab598=ft['crypto']),!_0x3ab598&&typeof ln==_0x1af073(0x119))try{_0x3ab598=require(_0x1af073(0x315));}catch{}var _0x343033=function(){var _0x18083a=_0x1af073;if(_0x3ab598){if(typeof _0x3ab598[_0x18083a(0x329)]=='function')try{return _0x3ab598[_0x18083a(0x329)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3ab598[_0x18083a(0x33e)]=='function')try{return _0x3ab598[_0x18083a(0x33e)](0x4)[_0x18083a(0x23a)]();}catch{}}throw new Error(_0x18083a(0x1a1));},_0x31ce88=Object['create']||(function(){function _0x562b42(){}return function(_0x4951d1){var _0x1d6955;return _0x562b42['prototype']=_0x4951d1,_0x1d6955=new _0x562b42(),_0x562b42['prototype']=null,_0x1d6955;};}()),_0x3f62bd={},_0x88cd7f=_0x3f62bd[_0x1af073(0x132)]={},_0x210110=_0x88cd7f[_0x1af073(0x322)]=(function(){return{'extend':function(_0x5764aa){var _0x53e727=_0x178d,_0x475e98=_0x31ce88(this);return _0x5764aa&&_0x475e98[_0x53e727(0x1a5)](_0x5764aa),(!_0x475e98['hasOwnProperty'](_0x53e727(0x1ec))||this[_0x53e727(0x1ec)]===_0x475e98[_0x53e727(0x1ec)])&&(_0x475e98[_0x53e727(0x1ec)]=function(){var _0x2e0a54=_0x53e727;_0x475e98[_0x2e0a54(0x1c7)][_0x2e0a54(0x1ec)][_0x2e0a54(0x368)](this,arguments);}),_0x475e98[_0x53e727(0x1ec)][_0x53e727(0xc9)]=_0x475e98,_0x475e98[_0x53e727(0x1c7)]=this,_0x475e98;},'create':function(){var _0x5f0ff3=_0x178d,_0x28e21c=this[_0x5f0ff3(0x303)]();return _0x28e21c[_0x5f0ff3(0x1ec)][_0x5f0ff3(0x368)](_0x28e21c,arguments),_0x28e21c;},'init':function(){},'mixIn':function(_0x5984bf){var _0x1c5280=_0x178d;for(var _0x50dc11 in _0x5984bf)_0x5984bf[_0x1c5280(0x2b6)](_0x50dc11)&&(this[_0x50dc11]=_0x5984bf[_0x50dc11]);_0x5984bf[_0x1c5280(0x2b6)](_0x1c5280(0x1c4))&&(this[_0x1c5280(0x1c4)]=_0x5984bf[_0x1c5280(0x1c4)]);},'clone':function(){var _0x193635=_0x178d;return this[_0x193635(0x1ec)][_0x193635(0xc9)][_0x193635(0x303)](this);}};}()),_0x129780=_0x88cd7f['WordArray']=_0x210110[_0x1af073(0x303)]({'init':function(_0x3656ae,_0x1a7626){var _0x42f4bf=_0x1af073;_0x3656ae=this[_0x42f4bf(0x28a)]=_0x3656ae||[],_0x1a7626!=_0x18bd8f?this[_0x42f4bf(0x2f3)]=_0x1a7626:this[_0x42f4bf(0x2f3)]=_0x3656ae[_0x42f4bf(0x1ae)]*0x4;},'toString':function(_0x5912a1){var _0x283735=_0x1af073;return(_0x5912a1||_0x116321)[_0x283735(0x133)](this);},'concat':function(_0x417ce5){var _0x22f4c2=_0x1af073,_0x1f070d=this[_0x22f4c2(0x28a)],_0x66d908=_0x417ce5[_0x22f4c2(0x28a)],_0x42efa8=this['sigBytes'],_0x550712=_0x417ce5[_0x22f4c2(0x2f3)];if(this[_0x22f4c2(0x257)](),_0x42efa8%0x4)for(var _0x199e8e=0x0;_0x199e8e<_0x550712;_0x199e8e++){var _0x463f8d=_0x66d908[_0x199e8e>>>0x2]>>>0x18-_0x199e8e%0x4*0x8&0xff;_0x1f070d[_0x42efa8+_0x199e8e>>>0x2]|=_0x463f8d<<0x18-(_0x42efa8+_0x199e8e)%0x4*0x8;}else{for(var _0x52c337=0x0;_0x52c337<_0x550712;_0x52c337+=0x4)_0x1f070d[_0x42efa8+_0x52c337>>>0x2]=_0x66d908[_0x52c337>>>0x2];}return this[_0x22f4c2(0x2f3)]+=_0x550712,this;},'clamp':function(){var _0x2d8fec=_0x1af073,_0xaf155a=this[_0x2d8fec(0x28a)],_0x5d2b79=this[_0x2d8fec(0x2f3)];_0xaf155a[_0x5d2b79>>>0x2]&=0xffffffff<<0x20-_0x5d2b79%0x4*0x8,_0xaf155a[_0x2d8fec(0x1ae)]=_0x5296a4['ceil'](_0x5d2b79/0x4);},'clone':function(){var _0xff94c=_0x1af073,_0x4ea1ca=_0x210110[_0xff94c(0x2c1)][_0xff94c(0x324)](this);return _0x4ea1ca[_0xff94c(0x28a)]=this[_0xff94c(0x28a)][_0xff94c(0x2ec)](0x0),_0x4ea1ca;},'random':function(_0x40c0b2){var _0x43815b=_0x1af073;for(var _0x1bbc5b=[],_0x13a25d=0x0;_0x13a25d<_0x40c0b2;_0x13a25d+=0x4)_0x1bbc5b[_0x43815b(0x13f)](_0x343033());return new _0x129780[(_0x43815b(0x1ec))](_0x1bbc5b,_0x40c0b2);}}),_0x48ad47=_0x3f62bd[_0x1af073(0x1d1)]={},_0x116321=_0x48ad47[_0x1af073(0x1de)]={'stringify':function(_0x291cf2){var _0x1df5ce=_0x1af073;for(var _0x299090=_0x291cf2[_0x1df5ce(0x28a)],_0x522f00=_0x291cf2['sigBytes'],_0x14dc76=[],_0x49e219=0x0;_0x49e219<_0x522f00;_0x49e219++){var _0x17c3a7=_0x299090[_0x49e219>>>0x2]>>>0x18-_0x49e219%0x4*0x8&0xff;_0x14dc76[_0x1df5ce(0x13f)]((_0x17c3a7>>>0x4)['toString'](0x10)),_0x14dc76[_0x1df5ce(0x13f)]((_0x17c3a7&0xf)[_0x1df5ce(0x1c4)](0x10));}return _0x14dc76[_0x1df5ce(0x29a)]('');},'parse':function(_0x530502){var _0x52443e=_0x1af073;for(var _0x618c01=_0x530502[_0x52443e(0x1ae)],_0xb94f2f=[],_0x565be6=0x0;_0x565be6<_0x618c01;_0x565be6+=0x2)_0xb94f2f[_0x565be6>>>0x3]|=parseInt(_0x530502['substr'](_0x565be6,0x2),0x10)<<0x18-_0x565be6%0x8*0x4;return new _0x129780['init'](_0xb94f2f,_0x618c01/0x2);}},_0x50223a=_0x48ad47[_0x1af073(0x2b9)]={'stringify':function(_0xaf091c){var _0x49aa22=_0x1af073;for(var _0x4ca4f3=_0xaf091c[_0x49aa22(0x28a)],_0x16c191=_0xaf091c['sigBytes'],_0x10228d=[],_0x10248b=0x0;_0x10248b<_0x16c191;_0x10248b++){var _0x2d903f=_0x4ca4f3[_0x10248b>>>0x2]>>>0x18-_0x10248b%0x4*0x8&0xff;_0x10228d[_0x49aa22(0x13f)](String[_0x49aa22(0x2b8)](_0x2d903f));}return _0x10228d[_0x49aa22(0x29a)]('');},'parse':function(_0xc8359){var _0x560538=_0x1af073;for(var _0x1a7173=_0xc8359[_0x560538(0x1ae)],_0x321854=[],_0x35d969=0x0;_0x35d969<_0x1a7173;_0x35d969++)_0x321854[_0x35d969>>>0x2]|=(_0xc8359['charCodeAt'](_0x35d969)&0xff)<<0x18-_0x35d969%0x4*0x8;return new _0x129780['init'](_0x321854,_0x1a7173);}},_0x23d195=_0x48ad47['Utf8']={'stringify':function(_0x2ac2b9){var _0x5e520a=_0x1af073;try{return decodeURIComponent(escape(_0x50223a[_0x5e520a(0x133)](_0x2ac2b9)));}catch{throw new Error(_0x5e520a(0x16c));}},'parse':function(_0x34a47a){var _0x56318c=_0x1af073;return _0x50223a[_0x56318c(0x3c3)](unescape(encodeURIComponent(_0x34a47a)));}},_0x5084b6=_0x88cd7f[_0x1af073(0x262)]=_0x210110[_0x1af073(0x303)]({'reset':function(){var _0x2592c3=_0x1af073;this['_data']=new _0x129780[(_0x2592c3(0x1ec))](),this[_0x2592c3(0x337)]=0x0;},'_append':function(_0x457942){var _0x1e50a3=_0x1af073;typeof _0x457942==_0x1e50a3(0x24d)&&(_0x457942=_0x23d195[_0x1e50a3(0x3c3)](_0x457942)),this[_0x1e50a3(0x29b)]['concat'](_0x457942),this[_0x1e50a3(0x337)]+=_0x457942[_0x1e50a3(0x2f3)];},'_process':function(_0x33ae8d){var _0x648b13=_0x1af073,_0x15fc46,_0x19f179=this[_0x648b13(0x29b)],_0x2f507b=_0x19f179[_0x648b13(0x28a)],_0x568db2=_0x19f179['sigBytes'],_0x323d4b=this['blockSize'],_0x3e6301=_0x323d4b*0x4,_0x194409=_0x568db2/_0x3e6301;_0x33ae8d?_0x194409=_0x5296a4[_0x648b13(0xe9)](_0x194409):_0x194409=_0x5296a4[_0x648b13(0x201)]((_0x194409|0x0)-this[_0x648b13(0x375)],0x0);var _0x18ef5e=_0x194409*_0x323d4b,_0x32c25d=_0x5296a4[_0x648b13(0x124)](_0x18ef5e*0x4,_0x568db2);if(_0x18ef5e){for(var _0x289938=0x0;_0x289938<_0x18ef5e;_0x289938+=_0x323d4b)this[_0x648b13(0x153)](_0x2f507b,_0x289938);_0x15fc46=_0x2f507b[_0x648b13(0x384)](0x0,_0x18ef5e),_0x19f179[_0x648b13(0x2f3)]-=_0x32c25d;}return new _0x129780[(_0x648b13(0x1ec))](_0x15fc46,_0x32c25d);},'clone':function(){var _0x1af1e9=_0x1af073,_0x2587fd=_0x210110[_0x1af1e9(0x2c1)]['call'](this);return _0x2587fd['_data']=this[_0x1af1e9(0x29b)][_0x1af1e9(0x2c1)](),_0x2587fd;},'_minBufferSize':0x0});_0x88cd7f[_0x1af073(0x112)]=_0x5084b6[_0x1af073(0x303)]({'cfg':_0x210110[_0x1af073(0x303)](),'init':function(_0x1a5f58){var _0x216fd6=_0x1af073;this[_0x216fd6(0x154)]=this['cfg'][_0x216fd6(0x303)](_0x1a5f58),this[_0x216fd6(0x279)]();},'reset':function(){var _0x2ab649=_0x1af073;_0x5084b6['reset'][_0x2ab649(0x324)](this),this[_0x2ab649(0x39c)]();},'update':function(_0x1f57b2){var _0x49c419=_0x1af073;return this['_append'](_0x1f57b2),this[_0x49c419(0x2f8)](),this;},'finalize':function(_0x2b5a32){var _0x507913=_0x1af073;_0x2b5a32&&this[_0x507913(0x366)](_0x2b5a32);var _0x427a7f=this['_doFinalize']();return _0x427a7f;},'blockSize':0x10,'_createHelper':function(_0x57c39c){return function(_0x293ba7,_0x1986da){var _0x48ae28=_0x178d;return new _0x57c39c[(_0x48ae28(0x1ec))](_0x1986da)[_0x48ae28(0x12c)](_0x293ba7);};},'_createHmacHelper':function(_0x2aef7a){return function(_0xb03706,_0x4adf8f){var _0x2d6de5=_0x178d;return new _0x1ab80b['HMAC'][(_0x2d6de5(0x1ec))](_0x2aef7a,_0x4adf8f)['finalize'](_0xb03706);};}});var _0x1ab80b=_0x3f62bd[_0x1af073(0x252)]={};return _0x3f62bd;}(Math);return _0x1b2709;}));}(Ge)),Ge['exports'];}var We={'exports':{}},dn=We[_0x8cc9a2(0x32e)],zt;function Oi(){var _0x46271=_0x8cc9a2;return zt||(zt=0x1,function(_0x511798,_0x1c8d3e){(function(_0x5a0ddd,_0x71fc6a){var _0x46a922=_0x178d;_0x511798[_0x46a922(0x32e)]=_0x71fc6a(te());}(dn,function(_0xfb7b3e){var _0x111982=_0x178d;return(function(){var _0x3a22de=_0x178d,_0x4fbd1c=_0xfb7b3e,_0x1acd72=_0x4fbd1c['lib'],_0x4498a6=_0x1acd72[_0x3a22de(0x2db)],_0x2fbf5c=_0x4fbd1c['enc'];_0x2fbf5c[_0x3a22de(0x1d2)]={'stringify':function(_0x18e62f){var _0x122a31=_0x3a22de,_0x36d4f4=_0x18e62f[_0x122a31(0x28a)],_0x35f531=_0x18e62f['sigBytes'],_0x290e74=this[_0x122a31(0x353)];_0x18e62f['clamp']();for(var _0x4b9eb8=[],_0x5493c8=0x0;_0x5493c8<_0x35f531;_0x5493c8+=0x3)for(var _0x1d03e3=_0x36d4f4[_0x5493c8>>>0x2]>>>0x18-_0x5493c8%0x4*0x8&0xff,_0x2b4510=_0x36d4f4[_0x5493c8+0x1>>>0x2]>>>0x18-(_0x5493c8+0x1)%0x4*0x8&0xff,_0x292513=_0x36d4f4[_0x5493c8+0x2>>>0x2]>>>0x18-(_0x5493c8+0x2)%0x4*0x8&0xff,_0x3ec79d=_0x1d03e3<<0x10|_0x2b4510<<0x8|_0x292513,_0x33cb22=0x0;_0x33cb22<0x4&&_0x5493c8+_0x33cb22*0.75<_0x35f531;_0x33cb22++)_0x4b9eb8[_0x122a31(0x13f)](_0x290e74[_0x122a31(0x1fd)](_0x3ec79d>>>0x6*(0x3-_0x33cb22)&0x3f));var _0xee9664=_0x290e74[_0x122a31(0x1fd)](0x40);if(_0xee9664){for(;_0x4b9eb8[_0x122a31(0x1ae)]%0x4;)_0x4b9eb8[_0x122a31(0x13f)](_0xee9664);}return _0x4b9eb8[_0x122a31(0x29a)]('');},'parse':function(_0x16f82){var _0x8f00e0=_0x3a22de,_0x3c1929=_0x16f82[_0x8f00e0(0x1ae)],_0x172e66=this['_map'],_0x278ae6=this[_0x8f00e0(0x1b4)];if(!_0x278ae6){_0x278ae6=this[_0x8f00e0(0x1b4)]=[];for(var _0x479a25=0x0;_0x479a25<_0x172e66['length'];_0x479a25++)_0x278ae6[_0x172e66[_0x8f00e0(0x290)](_0x479a25)]=_0x479a25;}var _0x42099b=_0x172e66['charAt'](0x40);if(_0x42099b){var _0x21d91e=_0x16f82[_0x8f00e0(0x360)](_0x42099b);_0x21d91e!==-0x1&&(_0x3c1929=_0x21d91e);}return _0x10eb62(_0x16f82,_0x3c1929,_0x278ae6);},'_map':_0x3a22de(0x356)};function _0x10eb62(_0x230ad1,_0x5c3766,_0x4bb2d){var _0x2f2ef3=_0x3a22de;for(var _0x3543dd=[],_0x26e160=0x0,_0x5d65cf=0x0;_0x5d65cf<_0x5c3766;_0x5d65cf++)if(_0x5d65cf%0x4){var _0x322d2c=_0x4bb2d[_0x230ad1[_0x2f2ef3(0x290)](_0x5d65cf-0x1)]<<_0x5d65cf%0x4*0x2,_0x46581d=_0x4bb2d[_0x230ad1[_0x2f2ef3(0x290)](_0x5d65cf)]>>>0x6-_0x5d65cf%0x4*0x2,_0x692519=_0x322d2c|_0x46581d;_0x3543dd[_0x26e160>>>0x2]|=_0x692519<<0x18-_0x26e160%0x4*0x8,_0x26e160++;}return _0x4498a6[_0x2f2ef3(0xc1)](_0x3543dd,_0x26e160);}}()),_0xfb7b3e[_0x111982(0x1d1)][_0x111982(0x1d2)];}));}(We)),We[_0x46271(0x32e)];}var Ye={'exports':{}},fn=Ye[_0x8cc9a2(0x32e)],Jt;function vn(){var _0x4e419a=_0x8cc9a2;return Jt||(Jt=0x1,function(_0x2e0be1,_0x3fa091){(function(_0x4f4144,_0x4245ce){var _0xff401=_0x178d;_0x2e0be1[_0xff401(0x32e)]=_0x4245ce(te());}(fn,function(_0xdcea1e){var _0x4610ff=_0x178d;return function(_0x4d2ce3){var _0x840cfa=_0x178d,_0x310660=_0xdcea1e,_0xc34244=_0x310660['lib'],_0x31749b=_0xc34244[_0x840cfa(0x2db)],_0x3068b0=_0xc34244[_0x840cfa(0x112)],_0x2d2967=_0x310660[_0x840cfa(0x252)],_0x120443=[];(function(){var _0x4c57c1=_0x840cfa;for(var _0x44703a=0x0;_0x44703a<0x40;_0x44703a++)_0x120443[_0x44703a]=_0x4d2ce3['abs'](_0x4d2ce3[_0x4c57c1(0x258)](_0x44703a+0x1))*0x100000000|0x0;}());var _0x2373c2=_0x2d2967[_0x840cfa(0x1d3)]=_0x3068b0['extend']({'_doReset':function(){var _0x108bb2=_0x840cfa;this[_0x108bb2(0x10f)]=new _0x31749b[(_0x108bb2(0x1ec))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2661b6,_0x3d2c07){var _0x15c5e9=_0x840cfa;for(var _0x1849f6=0x0;_0x1849f6<0x10;_0x1849f6++){var _0xe9f3ab=_0x3d2c07+_0x1849f6,_0x2aced9=_0x2661b6[_0xe9f3ab];_0x2661b6[_0xe9f3ab]=(_0x2aced9<<0x8|_0x2aced9>>>0x18)&0xff00ff|(_0x2aced9<<0x18|_0x2aced9>>>0x8)&0xff00ff00;}var _0xa7fe7a=this[_0x15c5e9(0x10f)][_0x15c5e9(0x28a)],_0x4d0b74=_0x2661b6[_0x3d2c07+0x0],_0x171bc9=_0x2661b6[_0x3d2c07+0x1],_0x87624a=_0x2661b6[_0x3d2c07+0x2],_0x304920=_0x2661b6[_0x3d2c07+0x3],_0x21f069=_0x2661b6[_0x3d2c07+0x4],_0x280766=_0x2661b6[_0x3d2c07+0x5],_0x224bd8=_0x2661b6[_0x3d2c07+0x6],_0x4caa51=_0x2661b6[_0x3d2c07+0x7],_0x55f2be=_0x2661b6[_0x3d2c07+0x8],_0x2521aa=_0x2661b6[_0x3d2c07+0x9],_0x470cc4=_0x2661b6[_0x3d2c07+0xa],_0x4b2528=_0x2661b6[_0x3d2c07+0xb],_0x4113cd=_0x2661b6[_0x3d2c07+0xc],_0x317cf6=_0x2661b6[_0x3d2c07+0xd],_0x192593=_0x2661b6[_0x3d2c07+0xe],_0x65f5e1=_0x2661b6[_0x3d2c07+0xf],_0x1f726c=_0xa7fe7a[0x0],_0x394af8=_0xa7fe7a[0x1],_0x34716d=_0xa7fe7a[0x2],_0x4ed15e=_0xa7fe7a[0x3];_0x1f726c=_0x5bc65a(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x4d0b74,0x7,_0x120443[0x0]),_0x4ed15e=_0x5bc65a(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x171bc9,0xc,_0x120443[0x1]),_0x34716d=_0x5bc65a(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x87624a,0x11,_0x120443[0x2]),_0x394af8=_0x5bc65a(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x304920,0x16,_0x120443[0x3]),_0x1f726c=_0x5bc65a(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x21f069,0x7,_0x120443[0x4]),_0x4ed15e=_0x5bc65a(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x280766,0xc,_0x120443[0x5]),_0x34716d=_0x5bc65a(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x224bd8,0x11,_0x120443[0x6]),_0x394af8=_0x5bc65a(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x4caa51,0x16,_0x120443[0x7]),_0x1f726c=_0x5bc65a(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x55f2be,0x7,_0x120443[0x8]),_0x4ed15e=_0x5bc65a(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x2521aa,0xc,_0x120443[0x9]),_0x34716d=_0x5bc65a(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x470cc4,0x11,_0x120443[0xa]),_0x394af8=_0x5bc65a(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x4b2528,0x16,_0x120443[0xb]),_0x1f726c=_0x5bc65a(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x4113cd,0x7,_0x120443[0xc]),_0x4ed15e=_0x5bc65a(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x317cf6,0xc,_0x120443[0xd]),_0x34716d=_0x5bc65a(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x192593,0x11,_0x120443[0xe]),_0x394af8=_0x5bc65a(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x65f5e1,0x16,_0x120443[0xf]),_0x1f726c=_0x21f53e(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x171bc9,0x5,_0x120443[0x10]),_0x4ed15e=_0x21f53e(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x224bd8,0x9,_0x120443[0x11]),_0x34716d=_0x21f53e(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x4b2528,0xe,_0x120443[0x12]),_0x394af8=_0x21f53e(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x4d0b74,0x14,_0x120443[0x13]),_0x1f726c=_0x21f53e(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x280766,0x5,_0x120443[0x14]),_0x4ed15e=_0x21f53e(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x470cc4,0x9,_0x120443[0x15]),_0x34716d=_0x21f53e(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x65f5e1,0xe,_0x120443[0x16]),_0x394af8=_0x21f53e(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x21f069,0x14,_0x120443[0x17]),_0x1f726c=_0x21f53e(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x2521aa,0x5,_0x120443[0x18]),_0x4ed15e=_0x21f53e(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x192593,0x9,_0x120443[0x19]),_0x34716d=_0x21f53e(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x304920,0xe,_0x120443[0x1a]),_0x394af8=_0x21f53e(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x55f2be,0x14,_0x120443[0x1b]),_0x1f726c=_0x21f53e(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x317cf6,0x5,_0x120443[0x1c]),_0x4ed15e=_0x21f53e(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x87624a,0x9,_0x120443[0x1d]),_0x34716d=_0x21f53e(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x4caa51,0xe,_0x120443[0x1e]),_0x394af8=_0x21f53e(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x4113cd,0x14,_0x120443[0x1f]),_0x1f726c=_0x112952(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x280766,0x4,_0x120443[0x20]),_0x4ed15e=_0x112952(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x55f2be,0xb,_0x120443[0x21]),_0x34716d=_0x112952(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x4b2528,0x10,_0x120443[0x22]),_0x394af8=_0x112952(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x192593,0x17,_0x120443[0x23]),_0x1f726c=_0x112952(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x171bc9,0x4,_0x120443[0x24]),_0x4ed15e=_0x112952(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x21f069,0xb,_0x120443[0x25]),_0x34716d=_0x112952(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x4caa51,0x10,_0x120443[0x26]),_0x394af8=_0x112952(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x470cc4,0x17,_0x120443[0x27]),_0x1f726c=_0x112952(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x317cf6,0x4,_0x120443[0x28]),_0x4ed15e=_0x112952(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x4d0b74,0xb,_0x120443[0x29]),_0x34716d=_0x112952(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x304920,0x10,_0x120443[0x2a]),_0x394af8=_0x112952(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x224bd8,0x17,_0x120443[0x2b]),_0x1f726c=_0x112952(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x2521aa,0x4,_0x120443[0x2c]),_0x4ed15e=_0x112952(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x4113cd,0xb,_0x120443[0x2d]),_0x34716d=_0x112952(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x65f5e1,0x10,_0x120443[0x2e]),_0x394af8=_0x112952(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x87624a,0x17,_0x120443[0x2f]),_0x1f726c=_0xc2e8c4(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x4d0b74,0x6,_0x120443[0x30]),_0x4ed15e=_0xc2e8c4(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x4caa51,0xa,_0x120443[0x31]),_0x34716d=_0xc2e8c4(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x192593,0xf,_0x120443[0x32]),_0x394af8=_0xc2e8c4(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x280766,0x15,_0x120443[0x33]),_0x1f726c=_0xc2e8c4(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x4113cd,0x6,_0x120443[0x34]),_0x4ed15e=_0xc2e8c4(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x304920,0xa,_0x120443[0x35]),_0x34716d=_0xc2e8c4(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x470cc4,0xf,_0x120443[0x36]),_0x394af8=_0xc2e8c4(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x171bc9,0x15,_0x120443[0x37]),_0x1f726c=_0xc2e8c4(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x55f2be,0x6,_0x120443[0x38]),_0x4ed15e=_0xc2e8c4(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x65f5e1,0xa,_0x120443[0x39]),_0x34716d=_0xc2e8c4(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x224bd8,0xf,_0x120443[0x3a]),_0x394af8=_0xc2e8c4(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x317cf6,0x15,_0x120443[0x3b]),_0x1f726c=_0xc2e8c4(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x21f069,0x6,_0x120443[0x3c]),_0x4ed15e=_0xc2e8c4(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x4b2528,0xa,_0x120443[0x3d]),_0x34716d=_0xc2e8c4(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x87624a,0xf,_0x120443[0x3e]),_0x394af8=_0xc2e8c4(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x2521aa,0x15,_0x120443[0x3f]),_0xa7fe7a[0x0]=_0xa7fe7a[0x0]+_0x1f726c|0x0,_0xa7fe7a[0x1]=_0xa7fe7a[0x1]+_0x394af8|0x0,_0xa7fe7a[0x2]=_0xa7fe7a[0x2]+_0x34716d|0x0,_0xa7fe7a[0x3]=_0xa7fe7a[0x3]+_0x4ed15e|0x0;},'_doFinalize':function(){var _0x140920=_0x840cfa,_0x5dda44=this['_data'],_0x5918a2=_0x5dda44[_0x140920(0x28a)],_0x3f4b5f=this[_0x140920(0x337)]*0x8,_0x395ba8=_0x5dda44[_0x140920(0x2f3)]*0x8;_0x5918a2[_0x395ba8>>>0x5]|=0x80<<0x18-_0x395ba8%0x20;var _0x5184b5=_0x4d2ce3[_0x140920(0x230)](_0x3f4b5f/0x100000000),_0x36b341=_0x3f4b5f;_0x5918a2[(_0x395ba8+0x40>>>0x9<<0x4)+0xf]=(_0x5184b5<<0x8|_0x5184b5>>>0x18)&0xff00ff|(_0x5184b5<<0x18|_0x5184b5>>>0x8)&0xff00ff00,_0x5918a2[(_0x395ba8+0x40>>>0x9<<0x4)+0xe]=(_0x36b341<<0x8|_0x36b341>>>0x18)&0xff00ff|(_0x36b341<<0x18|_0x36b341>>>0x8)&0xff00ff00,_0x5dda44['sigBytes']=(_0x5918a2[_0x140920(0x1ae)]+0x1)*0x4,this[_0x140920(0x2f8)]();for(var _0x1c2c0c=this[_0x140920(0x10f)],_0x3fb888=_0x1c2c0c['words'],_0x15a658=0x0;_0x15a658<0x4;_0x15a658++){var _0x56b640=_0x3fb888[_0x15a658];_0x3fb888[_0x15a658]=(_0x56b640<<0x8|_0x56b640>>>0x18)&0xff00ff|(_0x56b640<<0x18|_0x56b640>>>0x8)&0xff00ff00;}return _0x1c2c0c;},'clone':function(){var _0x3c08ed=_0x840cfa,_0x5e1a8a=_0x3068b0[_0x3c08ed(0x2c1)][_0x3c08ed(0x324)](this);return _0x5e1a8a['_hash']=this['_hash'][_0x3c08ed(0x2c1)](),_0x5e1a8a;}});function _0x5bc65a(_0xfb5035,_0x2efaa1,_0x245bfd,_0x2ba602,_0x4c8904,_0x76cc5a,_0x502811){var _0x2d1b66=_0xfb5035+(_0x2efaa1&_0x245bfd|~_0x2efaa1&_0x2ba602)+_0x4c8904+_0x502811;return(_0x2d1b66<<_0x76cc5a|_0x2d1b66>>>0x20-_0x76cc5a)+_0x2efaa1;}function _0x21f53e(_0x21366b,_0x417d09,_0x45e8f6,_0x428b7b,_0x358e95,_0x421a00,_0x1de4ec){var _0x2d457e=_0x21366b+(_0x417d09&_0x428b7b|_0x45e8f6&~_0x428b7b)+_0x358e95+_0x1de4ec;return(_0x2d457e<<_0x421a00|_0x2d457e>>>0x20-_0x421a00)+_0x417d09;}function _0x112952(_0x11dead,_0x13233d,_0x656397,_0x326c4d,_0x5ccb30,_0x36d8c7,_0x1032cc){var _0x2e87cc=_0x11dead+(_0x13233d^_0x656397^_0x326c4d)+_0x5ccb30+_0x1032cc;return(_0x2e87cc<<_0x36d8c7|_0x2e87cc>>>0x20-_0x36d8c7)+_0x13233d;}function _0xc2e8c4(_0x33a6cb,_0x4f73f3,_0x1281db,_0x58bbe0,_0x5d85eb,_0x21fab6,_0x12eeba){var _0x2ced05=_0x33a6cb+(_0x1281db^(_0x4f73f3|~_0x58bbe0))+_0x5d85eb+_0x12eeba;return(_0x2ced05<<_0x21fab6|_0x2ced05>>>0x20-_0x21fab6)+_0x4f73f3;}_0x310660['MD5']=_0x3068b0[_0x840cfa(0x36e)](_0x2373c2),_0x310660[_0x840cfa(0x355)]=_0x3068b0[_0x840cfa(0x1b2)](_0x2373c2);}(Math),_0xdcea1e[_0x4610ff(0x1d3)];}));}(Ye)),Ye[_0x4e419a(0x32e)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x8cc9a2(0x32e)],Xt;function mn(){var _0x9ac44f=_0x8cc9a2;return Xt||(Xt=0x1,function(_0x1e2e4e,_0x495dee){(function(_0x150acd,_0x1926de){_0x1e2e4e['exports']=_0x1926de(te());}(pn,function(_0x311503){var _0x363bb5=_0x178d;return(function(){var _0x40bdc1=_0x178d,_0x300cce=_0x311503,_0x3ee369=_0x300cce[_0x40bdc1(0x132)],_0x1e875f=_0x3ee369[_0x40bdc1(0x2db)],_0x3d8142=_0x3ee369['Hasher'],_0x4738c4=_0x300cce[_0x40bdc1(0x252)],_0x2e6ed2=[],_0x21f174=_0x4738c4[_0x40bdc1(0x2ba)]=_0x3d8142[_0x40bdc1(0x303)]({'_doReset':function(){var _0x160be9=_0x40bdc1;this[_0x160be9(0x10f)]=new _0x1e875f[(_0x160be9(0x1ec))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x438bb1,_0x3b8603){var _0x5f5cf8=_0x40bdc1;for(var _0x2ce3e4=this[_0x5f5cf8(0x10f)]['words'],_0x53125f=_0x2ce3e4[0x0],_0x190797=_0x2ce3e4[0x1],_0x1092ad=_0x2ce3e4[0x2],_0x943277=_0x2ce3e4[0x3],_0x1c915c=_0x2ce3e4[0x4],_0x4c2771=0x0;_0x4c2771<0x50;_0x4c2771++){if(_0x4c2771<0x10)_0x2e6ed2[_0x4c2771]=_0x438bb1[_0x3b8603+_0x4c2771]|0x0;else{var _0x547db2=_0x2e6ed2[_0x4c2771-0x3]^_0x2e6ed2[_0x4c2771-0x8]^_0x2e6ed2[_0x4c2771-0xe]^_0x2e6ed2[_0x4c2771-0x10];_0x2e6ed2[_0x4c2771]=_0x547db2<<0x1|_0x547db2>>>0x1f;}var _0x35edb2=(_0x53125f<<0x5|_0x53125f>>>0x1b)+_0x1c915c+_0x2e6ed2[_0x4c2771];_0x4c2771<0x14?_0x35edb2+=(_0x190797&_0x1092ad|~_0x190797&_0x943277)+0x5a827999:_0x4c2771<0x28?_0x35edb2+=(_0x190797^_0x1092ad^_0x943277)+0x6ed9eba1:_0x4c2771<0x3c?_0x35edb2+=(_0x190797&_0x1092ad|_0x190797&_0x943277|_0x1092ad&_0x943277)-0x70e44324:_0x35edb2+=(_0x190797^_0x1092ad^_0x943277)-0x359d3e2a,_0x1c915c=_0x943277,_0x943277=_0x1092ad,_0x1092ad=_0x190797<<0x1e|_0x190797>>>0x2,_0x190797=_0x53125f,_0x53125f=_0x35edb2;}_0x2ce3e4[0x0]=_0x2ce3e4[0x0]+_0x53125f|0x0,_0x2ce3e4[0x1]=_0x2ce3e4[0x1]+_0x190797|0x0,_0x2ce3e4[0x2]=_0x2ce3e4[0x2]+_0x1092ad|0x0,_0x2ce3e4[0x3]=_0x2ce3e4[0x3]+_0x943277|0x0,_0x2ce3e4[0x4]=_0x2ce3e4[0x4]+_0x1c915c|0x0;},'_doFinalize':function(){var _0x28ab17=_0x40bdc1,_0x3adfd4=this[_0x28ab17(0x29b)],_0x3d3c23=_0x3adfd4[_0x28ab17(0x28a)],_0x5bb67d=this[_0x28ab17(0x337)]*0x8,_0x77ab3f=_0x3adfd4[_0x28ab17(0x2f3)]*0x8;return _0x3d3c23[_0x77ab3f>>>0x5]|=0x80<<0x18-_0x77ab3f%0x20,_0x3d3c23[(_0x77ab3f+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5bb67d/0x100000000),_0x3d3c23[(_0x77ab3f+0x40>>>0x9<<0x4)+0xf]=_0x5bb67d,_0x3adfd4[_0x28ab17(0x2f3)]=_0x3d3c23[_0x28ab17(0x1ae)]*0x4,this[_0x28ab17(0x2f8)](),this[_0x28ab17(0x10f)];},'clone':function(){var _0x4ddb7d=_0x40bdc1,_0x1bb69a=_0x3d8142[_0x4ddb7d(0x2c1)][_0x4ddb7d(0x324)](this);return _0x1bb69a['_hash']=this[_0x4ddb7d(0x10f)]['clone'](),_0x1bb69a;}});_0x300cce[_0x40bdc1(0x2ba)]=_0x3d8142[_0x40bdc1(0x36e)](_0x21f174),_0x300cce[_0x40bdc1(0x2c0)]=_0x3d8142[_0x40bdc1(0x1b2)](_0x21f174);}()),_0x311503[_0x363bb5(0x2ba)];}));}(qe)),qe[_0x9ac44f(0x32e)];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){var _0x2cf980=_0x8cc9a2;return Zt||(Zt=0x1,function(_0x278726,_0x550f63){(function(_0x118637,_0x429610){var _0xd75e4a=_0x178d;_0x278726[_0xd75e4a(0x32e)]=_0x429610(te());}(gn,function(_0x38b921){(function(){var _0x3abe8d=_0x178d,_0x56ae7c=_0x38b921,_0x22a356=_0x56ae7c['lib'],_0x19acd3=_0x22a356[_0x3abe8d(0x322)],_0x4db77c=_0x56ae7c['enc'],_0x3f02cf=_0x4db77c[_0x3abe8d(0x117)],_0x42d844=_0x56ae7c[_0x3abe8d(0x252)];_0x42d844['HMAC']=_0x19acd3[_0x3abe8d(0x303)]({'init':function(_0x236923,_0x23ec3c){var _0x53176f=_0x3abe8d;_0x236923=this[_0x53176f(0x2fe)]=new _0x236923[(_0x53176f(0x1ec))](),typeof _0x23ec3c==_0x53176f(0x24d)&&(_0x23ec3c=_0x3f02cf[_0x53176f(0x3c3)](_0x23ec3c));var _0x54a044=_0x236923['blockSize'],_0xdfd014=_0x54a044*0x4;_0x23ec3c[_0x53176f(0x2f3)]>_0xdfd014&&(_0x23ec3c=_0x236923[_0x53176f(0x12c)](_0x23ec3c)),_0x23ec3c[_0x53176f(0x257)]();for(var _0x5b1788=this[_0x53176f(0x2df)]=_0x23ec3c['clone'](),_0xa8c3dc=this[_0x53176f(0x35b)]=_0x23ec3c[_0x53176f(0x2c1)](),_0x5aa84b=_0x5b1788[_0x53176f(0x28a)],_0x4b9942=_0xa8c3dc[_0x53176f(0x28a)],_0x4654cf=0x0;_0x4654cf<_0x54a044;_0x4654cf++)_0x5aa84b[_0x4654cf]^=0x5c5c5c5c,_0x4b9942[_0x4654cf]^=0x36363636;_0x5b1788[_0x53176f(0x2f3)]=_0xa8c3dc[_0x53176f(0x2f3)]=_0xdfd014,this[_0x53176f(0x279)]();},'reset':function(){var _0x48b758=_0x3abe8d,_0xe7fc43=this[_0x48b758(0x2fe)];_0xe7fc43[_0x48b758(0x279)](),_0xe7fc43[_0x48b758(0x18b)](this[_0x48b758(0x35b)]);},'update':function(_0x18b18d){var _0x1ca079=_0x3abe8d;return this[_0x1ca079(0x2fe)][_0x1ca079(0x18b)](_0x18b18d),this;},'finalize':function(_0x186f2b){var _0x57d2a8=_0x3abe8d,_0x26d3de=this[_0x57d2a8(0x2fe)],_0x1ba72a=_0x26d3de[_0x57d2a8(0x12c)](_0x186f2b);_0x26d3de[_0x57d2a8(0x279)]();var _0x120f53=_0x26d3de[_0x57d2a8(0x12c)](this[_0x57d2a8(0x2df)]['clone']()[_0x57d2a8(0x188)](_0x1ba72a));return _0x120f53;}});}());}));}(ze)),ze[_0x2cf980(0x32e)];}var En=Ke[_0x8cc9a2(0x32e)],Qt;function yi(){var _0x2dab4e=_0x8cc9a2;return Qt||(Qt=0x1,function(_0x33d261,_0x36e34b){(function(_0x24fd6e,_0x1cd52d,_0x5419a1){var _0x5b6875=_0x178d;_0x33d261[_0x5b6875(0x32e)]=_0x1cd52d(te(),mn(),Sn());}(En,function(_0x53e8d1){var _0x1b52fe=_0x178d;return(function(){var _0x3778f3=_0x178d,_0x101177=_0x53e8d1,_0x4c844c=_0x101177[_0x3778f3(0x132)],_0x1cf0e7=_0x4c844c[_0x3778f3(0x322)],_0x5eceb0=_0x4c844c['WordArray'],_0x27d4fb=_0x101177[_0x3778f3(0x252)],_0xa7e0ab=_0x27d4fb['MD5'],_0xa62ecc=_0x27d4fb[_0x3778f3(0x39b)]=_0x1cf0e7[_0x3778f3(0x303)]({'cfg':_0x1cf0e7[_0x3778f3(0x303)]({'keySize':0x80/0x20,'hasher':_0xa7e0ab,'iterations':0x1}),'init':function(_0x517433){var _0x46e50d=_0x3778f3;this[_0x46e50d(0x154)]=this[_0x46e50d(0x154)]['extend'](_0x517433);},'compute':function(_0x518564,_0x45e15e){var _0x1a15fa=_0x3778f3;for(var _0x88b370,_0x3ffc83=this['cfg'],_0x12f12a=_0x3ffc83[_0x1a15fa(0x18a)][_0x1a15fa(0xc1)](),_0x266cf1=_0x5eceb0[_0x1a15fa(0xc1)](),_0x4dc502=_0x266cf1['words'],_0x508d47=_0x3ffc83['keySize'],_0x5080a6=_0x3ffc83[_0x1a15fa(0x2cc)];_0x4dc502['length']<_0x508d47;){_0x88b370&&_0x12f12a[_0x1a15fa(0x18b)](_0x88b370),_0x88b370=_0x12f12a[_0x1a15fa(0x18b)](_0x518564)['finalize'](_0x45e15e),_0x12f12a['reset']();for(var _0xc1cfc3=0x1;_0xc1cfc3<_0x5080a6;_0xc1cfc3++)_0x88b370=_0x12f12a['finalize'](_0x88b370),_0x12f12a[_0x1a15fa(0x279)]();_0x266cf1[_0x1a15fa(0x188)](_0x88b370);}return _0x266cf1[_0x1a15fa(0x2f3)]=_0x508d47*0x4,_0x266cf1;}});_0x101177[_0x3778f3(0x39b)]=function(_0xf8ef50,_0x484b92,_0xc2b9ad){var _0x3deffe=_0x3778f3;return _0xa62ecc['create'](_0xc2b9ad)[_0x3deffe(0x259)](_0xf8ef50,_0x484b92);};}()),_0x53e8d1[_0x1b52fe(0x39b)];}));}(Ke)),Ke[_0x2dab4e(0x32e)];}var Je={'exports':{}},In=Je[_0x8cc9a2(0x32e)],ei;function Ni(){var _0x23ac43=_0x8cc9a2;return ei||(ei=0x1,function(_0x158cb9,_0x433a52){(function(_0x3fdc26,_0x132589,_0x14d5e3){var _0x191547=_0x178d;_0x158cb9[_0x191547(0x32e)]=_0x132589(te(),yi());}(In,function(_0x46d594){var _0xa8fd8a=_0x178d;_0x46d594[_0xa8fd8a(0x132)][_0xa8fd8a(0x243)]||function(_0x36f253){var _0x214032=_0xa8fd8a,_0x475a2d=_0x46d594,_0x39ae85=_0x475a2d[_0x214032(0x132)],_0x4979bb=_0x39ae85[_0x214032(0x322)],_0x1b122c=_0x39ae85[_0x214032(0x2db)],_0x2eb6ab=_0x39ae85[_0x214032(0x262)],_0x234066=_0x475a2d[_0x214032(0x1d1)];_0x234066[_0x214032(0x117)];var _0x1dc541=_0x234066[_0x214032(0x1d2)],_0x27fc10=_0x475a2d['algo'],_0x2b113e=_0x27fc10[_0x214032(0x39b)],_0x2acb3c=_0x39ae85['Cipher']=_0x2eb6ab['extend']({'cfg':_0x4979bb[_0x214032(0x303)](),'createEncryptor':function(_0x3b256e,_0x1d5933){var _0x13bf18=_0x214032;return this[_0x13bf18(0xc1)](this[_0x13bf18(0x217)],_0x3b256e,_0x1d5933);},'createDecryptor':function(_0xac36df,_0x24b588){var _0x2a2692=_0x214032;return this['create'](this[_0x2a2692(0x157)],_0xac36df,_0x24b588);},'init':function(_0x345792,_0x53c205,_0x59614a){var _0x5a3ae4=_0x214032;this[_0x5a3ae4(0x154)]=this['cfg'][_0x5a3ae4(0x303)](_0x59614a),this[_0x5a3ae4(0x1cf)]=_0x345792,this[_0x5a3ae4(0x1e6)]=_0x53c205,this[_0x5a3ae4(0x279)]();},'reset':function(){var _0x5ba3fb=_0x214032;_0x2eb6ab[_0x5ba3fb(0x279)]['call'](this),this['_doReset']();},'process':function(_0xabe017){var _0x2c4e5e=_0x214032;return this['_append'](_0xabe017),this[_0x2c4e5e(0x2f8)]();},'finalize':function(_0x3b946d){var _0x24837a=_0x214032;_0x3b946d&&this[_0x24837a(0x366)](_0x3b946d);var _0x510530=this[_0x24837a(0x11e)]();return _0x510530;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2637ec(_0x2bf65a){var _0x5a0c01=_0x178d;return typeof _0x2bf65a==_0x5a0c01(0x24d)?_0x960cee:_0x25f797;}return function(_0x6aa6be){return{'encrypt':function(_0x57a459,_0x2364b4,_0x2dc184){var _0xed8eb5=_0x178d;return _0x2637ec(_0x2364b4)[_0xed8eb5(0x25c)](_0x6aa6be,_0x57a459,_0x2364b4,_0x2dc184);},'decrypt':function(_0x12c3a7,_0x5ba8c8,_0x2339fd){var _0x421207=_0x178d;return _0x2637ec(_0x5ba8c8)[_0x421207(0x15f)](_0x6aa6be,_0x12c3a7,_0x5ba8c8,_0x2339fd);}};};}())});_0x39ae85[_0x214032(0x34a)]=_0x2acb3c[_0x214032(0x303)]({'_doFinalize':function(){var _0xea9261=_0x214032,_0x485fd0=this[_0xea9261(0x2f8)](!0x0);return _0x485fd0;},'blockSize':0x1});var _0x524279=_0x475a2d[_0x214032(0x21f)]={},_0x1492a1=_0x39ae85[_0x214032(0xef)]=_0x4979bb[_0x214032(0x303)]({'createEncryptor':function(_0x29b365,_0x16f599){return this['Encryptor']['create'](_0x29b365,_0x16f599);},'createDecryptor':function(_0x5a7ab6,_0x487dc1){var _0x3c8394=_0x214032;return this[_0x3c8394(0x193)][_0x3c8394(0xc1)](_0x5a7ab6,_0x487dc1);},'init':function(_0x5f4488,_0x50c29b){var _0x3488c9=_0x214032;this['_cipher']=_0x5f4488,this[_0x3488c9(0xd7)]=_0x50c29b;}}),_0x5144a7=_0x524279[_0x214032(0x347)]=(function(){var _0x4761e9=_0x214032,_0x3a24aa=_0x1492a1[_0x4761e9(0x303)]();_0x3a24aa[_0x4761e9(0x1f2)]=_0x3a24aa[_0x4761e9(0x303)]({'processBlock':function(_0x51ea4b,_0x1b88b5){var _0xb76e5f=_0x4761e9,_0x4b9651=this[_0xb76e5f(0x2ef)],_0x2ee4dd=_0x4b9651[_0xb76e5f(0x256)];_0x1956b4[_0xb76e5f(0x324)](this,_0x51ea4b,_0x1b88b5,_0x2ee4dd),_0x4b9651[_0xb76e5f(0x39a)](_0x51ea4b,_0x1b88b5),this[_0xb76e5f(0x2e5)]=_0x51ea4b[_0xb76e5f(0x2ec)](_0x1b88b5,_0x1b88b5+_0x2ee4dd);}}),_0x3a24aa[_0x4761e9(0x193)]=_0x3a24aa[_0x4761e9(0x303)]({'processBlock':function(_0x58c48f,_0x73a093){var _0x2059f5=_0x4761e9,_0x23680d=this[_0x2059f5(0x2ef)],_0x35316a=_0x23680d[_0x2059f5(0x256)],_0x313177=_0x58c48f[_0x2059f5(0x2ec)](_0x73a093,_0x73a093+_0x35316a);_0x23680d[_0x2059f5(0x357)](_0x58c48f,_0x73a093),_0x1956b4[_0x2059f5(0x324)](this,_0x58c48f,_0x73a093,_0x35316a),this[_0x2059f5(0x2e5)]=_0x313177;}});function _0x1956b4(_0x1f7391,_0xb69215,_0x12573e){var _0x479959=_0x4761e9,_0x193981,_0x14e0cc=this[_0x479959(0xd7)];_0x14e0cc?(_0x193981=_0x14e0cc,this[_0x479959(0xd7)]=_0x36f253):_0x193981=this['_prevBlock'];for(var _0x4170b3=0x0;_0x4170b3<_0x12573e;_0x4170b3++)_0x1f7391[_0xb69215+_0x4170b3]^=_0x193981[_0x4170b3];}return _0x3a24aa;}()),_0x349c00=_0x475a2d[_0x214032(0x103)]={},_0x3b3ae6=_0x349c00['Pkcs7']={'pad':function(_0x5ef7c3,_0x28f322){var _0x1da888=_0x214032;for(var _0xcb7175=_0x28f322*0x4,_0x203691=_0xcb7175-_0x5ef7c3['sigBytes']%_0xcb7175,_0x146e20=_0x203691<<0x18|_0x203691<<0x10|_0x203691<<0x8|_0x203691,_0x59e1aa=[],_0x439c33=0x0;_0x439c33<_0x203691;_0x439c33+=0x4)_0x59e1aa[_0x1da888(0x13f)](_0x146e20);var _0x420237=_0x1b122c[_0x1da888(0xc1)](_0x59e1aa,_0x203691);_0x5ef7c3[_0x1da888(0x188)](_0x420237);},'unpad':function(_0x25c0cf){var _0x2b9306=_0x214032,_0x583c2c=_0x25c0cf[_0x2b9306(0x28a)][_0x25c0cf[_0x2b9306(0x2f3)]-0x1>>>0x2]&0xff;_0x25c0cf['sigBytes']-=_0x583c2c;}};_0x39ae85[_0x214032(0x1df)]=_0x2acb3c[_0x214032(0x303)]({'cfg':_0x2acb3c[_0x214032(0x154)]['extend']({'mode':_0x5144a7,'padding':_0x3b3ae6}),'reset':function(){var _0x3b0347=_0x214032,_0x35d760;_0x2acb3c[_0x3b0347(0x279)][_0x3b0347(0x324)](this);var _0x283cd1=this['cfg'],_0x207d1f=_0x283cd1['iv'],_0x1472a6=_0x283cd1[_0x3b0347(0x21f)];this[_0x3b0347(0x1cf)]==this[_0x3b0347(0x217)]?_0x35d760=_0x1472a6['createEncryptor']:(_0x35d760=_0x1472a6[_0x3b0347(0x163)],this[_0x3b0347(0x375)]=0x1),this[_0x3b0347(0x344)]&&this[_0x3b0347(0x344)][_0x3b0347(0x342)]==_0x35d760?this[_0x3b0347(0x344)][_0x3b0347(0x1ec)](this,_0x207d1f&&_0x207d1f[_0x3b0347(0x28a)]):(this[_0x3b0347(0x344)]=_0x35d760[_0x3b0347(0x324)](_0x1472a6,this,_0x207d1f&&_0x207d1f['words']),this[_0x3b0347(0x344)][_0x3b0347(0x342)]=_0x35d760);},'_doProcessBlock':function(_0xb75fc1,_0x3fa3cd){var _0x2a3e2a=_0x214032;this['_mode'][_0x2a3e2a(0x3b8)](_0xb75fc1,_0x3fa3cd);},'_doFinalize':function(){var _0x571b84=_0x214032,_0x4e5815,_0x548744=this[_0x571b84(0x154)][_0x571b84(0x333)];return this[_0x571b84(0x1cf)]==this['_ENC_XFORM_MODE']?(_0x548744[_0x571b84(0x103)](this[_0x571b84(0x29b)],this[_0x571b84(0x256)]),_0x4e5815=this[_0x571b84(0x2f8)](!0x0)):(_0x4e5815=this['_process'](!0x0),_0x548744[_0x571b84(0x21e)](_0x4e5815)),_0x4e5815;},'blockSize':0x80/0x20});var _0x2c13d9=_0x39ae85[_0x214032(0x36c)]=_0x4979bb[_0x214032(0x303)]({'init':function(_0x275d65){var _0x90b028=_0x214032;this[_0x90b028(0x1a5)](_0x275d65);},'toString':function(_0x2a2b23){var _0x2be563=_0x214032;return(_0x2a2b23||this[_0x2be563(0x3bd)])[_0x2be563(0x133)](this);}}),_0x21de45=_0x475a2d[_0x214032(0x2d0)]={},_0x5f07e2=_0x21de45[_0x214032(0x371)]={'stringify':function(_0x530091){var _0x4b32b3=_0x214032,_0x84a9e9,_0x23cdb2=_0x530091[_0x4b32b3(0x223)],_0x28a0d9=_0x530091[_0x4b32b3(0x1d9)];return _0x28a0d9?_0x84a9e9=_0x1b122c[_0x4b32b3(0xc1)]([0x53616c74,0x65645f5f])[_0x4b32b3(0x188)](_0x28a0d9)[_0x4b32b3(0x188)](_0x23cdb2):_0x84a9e9=_0x23cdb2,_0x84a9e9[_0x4b32b3(0x1c4)](_0x1dc541);},'parse':function(_0xf12f75){var _0x5d59cf=_0x214032,_0x49af66,_0x257f4d=_0x1dc541[_0x5d59cf(0x3c3)](_0xf12f75),_0x5571a7=_0x257f4d[_0x5d59cf(0x28a)];return _0x5571a7[0x0]==0x53616c74&&_0x5571a7[0x1]==0x65645f5f&&(_0x49af66=_0x1b122c[_0x5d59cf(0xc1)](_0x5571a7[_0x5d59cf(0x2ec)](0x2,0x4)),_0x5571a7[_0x5d59cf(0x384)](0x0,0x4),_0x257f4d['sigBytes']-=0x10),_0x2c13d9[_0x5d59cf(0xc1)]({'ciphertext':_0x257f4d,'salt':_0x49af66});}},_0x25f797=_0x39ae85[_0x214032(0x24a)]=_0x4979bb[_0x214032(0x303)]({'cfg':_0x4979bb[_0x214032(0x303)]({'format':_0x5f07e2}),'encrypt':function(_0x334f88,_0x508170,_0x23b3a7,_0x2c9bf3){var _0x2ae5c9=_0x214032;_0x2c9bf3=this['cfg'][_0x2ae5c9(0x303)](_0x2c9bf3);var _0x46568b=_0x334f88[_0x2ae5c9(0x13a)](_0x23b3a7,_0x2c9bf3),_0x4144b6=_0x46568b[_0x2ae5c9(0x12c)](_0x508170),_0x16617c=_0x46568b[_0x2ae5c9(0x154)];return _0x2c13d9[_0x2ae5c9(0xc1)]({'ciphertext':_0x4144b6,'key':_0x23b3a7,'iv':_0x16617c['iv'],'algorithm':_0x334f88,'mode':_0x16617c[_0x2ae5c9(0x21f)],'padding':_0x16617c[_0x2ae5c9(0x333)],'blockSize':_0x334f88['blockSize'],'formatter':_0x2c9bf3['format']});},'decrypt':function(_0x415bd5,_0x61d17d,_0x159d3c,_0x4ede3f){var _0x294e9f=_0x214032;_0x4ede3f=this['cfg']['extend'](_0x4ede3f),_0x61d17d=this[_0x294e9f(0x269)](_0x61d17d,_0x4ede3f[_0x294e9f(0x2d0)]);var _0x1ab8e8=_0x415bd5['createDecryptor'](_0x159d3c,_0x4ede3f)[_0x294e9f(0x12c)](_0x61d17d[_0x294e9f(0x223)]);return _0x1ab8e8;},'_parse':function(_0x389b94,_0x774862){var _0xe906ca=_0x214032;return typeof _0x389b94==_0xe906ca(0x24d)?_0x774862[_0xe906ca(0x3c3)](_0x389b94,this):_0x389b94;}}),_0x32d582=_0x475a2d[_0x214032(0x3b0)]={},_0x2efd8b=_0x32d582[_0x214032(0x371)]={'execute':function(_0x3a567a,_0xd8e864,_0xa0fc20,_0x204463,_0x5ec8e0){var _0x50aaf9=_0x214032;if(_0x204463||(_0x204463=_0x1b122c[_0x50aaf9(0x26e)](0x40/0x8)),_0x5ec8e0)var _0x3dd444=_0x2b113e[_0x50aaf9(0xc1)]({'keySize':_0xd8e864+_0xa0fc20,'hasher':_0x5ec8e0})[_0x50aaf9(0x259)](_0x3a567a,_0x204463);else var _0x3dd444=_0x2b113e[_0x50aaf9(0xc1)]({'keySize':_0xd8e864+_0xa0fc20})[_0x50aaf9(0x259)](_0x3a567a,_0x204463);var _0x1ae38e=_0x1b122c[_0x50aaf9(0xc1)](_0x3dd444['words'][_0x50aaf9(0x2ec)](_0xd8e864),_0xa0fc20*0x4);return _0x3dd444['sigBytes']=_0xd8e864*0x4,_0x2c13d9['create']({'key':_0x3dd444,'iv':_0x1ae38e,'salt':_0x204463});}},_0x960cee=_0x39ae85[_0x214032(0x3b7)]=_0x25f797[_0x214032(0x303)]({'cfg':_0x25f797[_0x214032(0x154)][_0x214032(0x303)]({'kdf':_0x2efd8b}),'encrypt':function(_0x185f01,_0x5219d7,_0x3048ea,_0x46ca94){var _0x32a7a2=_0x214032;_0x46ca94=this[_0x32a7a2(0x154)][_0x32a7a2(0x303)](_0x46ca94);var _0x1d6398=_0x46ca94[_0x32a7a2(0x3b0)]['execute'](_0x3048ea,_0x185f01[_0x32a7a2(0x1e8)],_0x185f01[_0x32a7a2(0x30e)],_0x46ca94['salt'],_0x46ca94[_0x32a7a2(0x18a)]);_0x46ca94['iv']=_0x1d6398['iv'];var _0x309244=_0x25f797[_0x32a7a2(0x25c)][_0x32a7a2(0x324)](this,_0x185f01,_0x5219d7,_0x1d6398['key'],_0x46ca94);return _0x309244[_0x32a7a2(0x1a5)](_0x1d6398),_0x309244;},'decrypt':function(_0x4b720a,_0x2452c1,_0x2e22ec,_0x42af19){var _0x1be591=_0x214032;_0x42af19=this[_0x1be591(0x154)][_0x1be591(0x303)](_0x42af19),_0x2452c1=this[_0x1be591(0x269)](_0x2452c1,_0x42af19['format']);var _0xd3de1f=_0x42af19[_0x1be591(0x3b0)][_0x1be591(0x31d)](_0x2e22ec,_0x4b720a[_0x1be591(0x1e8)],_0x4b720a['ivSize'],_0x2452c1[_0x1be591(0x1d9)],_0x42af19[_0x1be591(0x18a)]);_0x42af19['iv']=_0xd3de1f['iv'];var _0x5403c2=_0x25f797[_0x1be591(0x15f)][_0x1be591(0x324)](this,_0x4b720a,_0x2452c1,_0xd3de1f[_0x1be591(0x28c)],_0x42af19);return _0x5403c2;}});}();}));}(Je)),Je[_0x23ac43(0x32e)];}var Tn=Ve[_0x8cc9a2(0x32e)],ti;function Cn(){return ti||(ti=0x1,function(_0x5be299,_0x4b84a9){(function(_0x50bb18,_0x59a8db,_0x1707df){_0x5be299['exports']=_0x59a8db(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x228e82){var _0x226cad=_0x178d;return(function(){var _0x471d26=_0x178d,_0x4191c8=_0x228e82,_0x73ff11=_0x4191c8['lib'],_0x5471c1=_0x73ff11['BlockCipher'],_0x148be7=_0x4191c8['algo'],_0x1ffa97=[],_0x275546=[],_0x5a7c2f=[],_0xe7041e=[],_0x1ae1cc=[],_0x71ba49=[],_0x3112d5=[],_0xa2e034=[],_0x4fa249=[],_0x5441fa=[];(function(){for(var _0x1ceb04=[],_0x2e84cd=0x0;_0x2e84cd<0x100;_0x2e84cd++)_0x2e84cd<0x80?_0x1ceb04[_0x2e84cd]=_0x2e84cd<<0x1:_0x1ceb04[_0x2e84cd]=_0x2e84cd<<0x1^0x11b;for(var _0x54fac8=0x0,_0x345e30=0x0,_0x2e84cd=0x0;_0x2e84cd<0x100;_0x2e84cd++){var _0x488435=_0x345e30^_0x345e30<<0x1^_0x345e30<<0x2^_0x345e30<<0x3^_0x345e30<<0x4;_0x488435=_0x488435>>>0x8^_0x488435&0xff^0x63,_0x1ffa97[_0x54fac8]=_0x488435,_0x275546[_0x488435]=_0x54fac8;var _0x2236db=_0x1ceb04[_0x54fac8],_0x2ab26c=_0x1ceb04[_0x2236db],_0x504aae=_0x1ceb04[_0x2ab26c],_0x23cc17=_0x1ceb04[_0x488435]*0x101^_0x488435*0x1010100;_0x5a7c2f[_0x54fac8]=_0x23cc17<<0x18|_0x23cc17>>>0x8,_0xe7041e[_0x54fac8]=_0x23cc17<<0x10|_0x23cc17>>>0x10,_0x1ae1cc[_0x54fac8]=_0x23cc17<<0x8|_0x23cc17>>>0x18,_0x71ba49[_0x54fac8]=_0x23cc17;var _0x23cc17=_0x504aae*0x1010101^_0x2ab26c*0x10001^_0x2236db*0x101^_0x54fac8*0x1010100;_0x3112d5[_0x488435]=_0x23cc17<<0x18|_0x23cc17>>>0x8,_0xa2e034[_0x488435]=_0x23cc17<<0x10|_0x23cc17>>>0x10,_0x4fa249[_0x488435]=_0x23cc17<<0x8|_0x23cc17>>>0x18,_0x5441fa[_0x488435]=_0x23cc17,_0x54fac8?(_0x54fac8=_0x2236db^_0x1ceb04[_0x1ceb04[_0x1ceb04[_0x504aae^_0x2236db]]],_0x345e30^=_0x1ceb04[_0x1ceb04[_0x345e30]]):_0x54fac8=_0x345e30=0x1;}}());var _0x2af189=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x23fd8c=_0x148be7[_0x471d26(0x37f)]=_0x5471c1[_0x471d26(0x303)]({'_doReset':function(){var _0x586f72=_0x471d26,_0x522ec9;if(!(this[_0x586f72(0xca)]&&this[_0x586f72(0x266)]===this[_0x586f72(0x1e6)])){for(var _0x21bae6=this[_0x586f72(0x266)]=this[_0x586f72(0x1e6)],_0x4b4380=_0x21bae6[_0x586f72(0x28a)],_0x28c376=_0x21bae6[_0x586f72(0x2f3)]/0x4,_0x1d9fea=this['_nRounds']=_0x28c376+0x6,_0x53b8ee=(_0x1d9fea+0x1)*0x4,_0x4b8200=this[_0x586f72(0x101)]=[],_0x3adb63=0x0;_0x3adb63<_0x53b8ee;_0x3adb63++)_0x3adb63<_0x28c376?_0x4b8200[_0x3adb63]=_0x4b4380[_0x3adb63]:(_0x522ec9=_0x4b8200[_0x3adb63-0x1],_0x3adb63%_0x28c376?_0x28c376>0x6&&_0x3adb63%_0x28c376==0x4&&(_0x522ec9=_0x1ffa97[_0x522ec9>>>0x18]<<0x18|_0x1ffa97[_0x522ec9>>>0x10&0xff]<<0x10|_0x1ffa97[_0x522ec9>>>0x8&0xff]<<0x8|_0x1ffa97[_0x522ec9&0xff]):(_0x522ec9=_0x522ec9<<0x8|_0x522ec9>>>0x18,_0x522ec9=_0x1ffa97[_0x522ec9>>>0x18]<<0x18|_0x1ffa97[_0x522ec9>>>0x10&0xff]<<0x10|_0x1ffa97[_0x522ec9>>>0x8&0xff]<<0x8|_0x1ffa97[_0x522ec9&0xff],_0x522ec9^=_0x2af189[_0x3adb63/_0x28c376|0x0]<<0x18),_0x4b8200[_0x3adb63]=_0x4b8200[_0x3adb63-_0x28c376]^_0x522ec9);for(var _0x4db70c=this[_0x586f72(0x1c5)]=[],_0x36d261=0x0;_0x36d261<_0x53b8ee;_0x36d261++){var _0x3adb63=_0x53b8ee-_0x36d261;if(_0x36d261%0x4)var _0x522ec9=_0x4b8200[_0x3adb63];else var _0x522ec9=_0x4b8200[_0x3adb63-0x4];_0x36d261<0x4||_0x3adb63<=0x4?_0x4db70c[_0x36d261]=_0x522ec9:_0x4db70c[_0x36d261]=_0x3112d5[_0x1ffa97[_0x522ec9>>>0x18]]^_0xa2e034[_0x1ffa97[_0x522ec9>>>0x10&0xff]]^_0x4fa249[_0x1ffa97[_0x522ec9>>>0x8&0xff]]^_0x5441fa[_0x1ffa97[_0x522ec9&0xff]];}}},'encryptBlock':function(_0x401650,_0x1a5549){var _0x9ad9cb=_0x471d26;this['_doCryptBlock'](_0x401650,_0x1a5549,this[_0x9ad9cb(0x101)],_0x5a7c2f,_0xe7041e,_0x1ae1cc,_0x71ba49,_0x1ffa97);},'decryptBlock':function(_0x1363a0,_0x2c2398){var _0x2f4d3f=_0x471d26,_0x15b64e=_0x1363a0[_0x2c2398+0x1];_0x1363a0[_0x2c2398+0x1]=_0x1363a0[_0x2c2398+0x3],_0x1363a0[_0x2c2398+0x3]=_0x15b64e,this[_0x2f4d3f(0x10c)](_0x1363a0,_0x2c2398,this['_invKeySchedule'],_0x3112d5,_0xa2e034,_0x4fa249,_0x5441fa,_0x275546);var _0x15b64e=_0x1363a0[_0x2c2398+0x1];_0x1363a0[_0x2c2398+0x1]=_0x1363a0[_0x2c2398+0x3],_0x1363a0[_0x2c2398+0x3]=_0x15b64e;},'_doCryptBlock':function(_0xbefbd0,_0x4976cc,_0x3eb3b3,_0x18dc3a,_0x4db16c,_0x209ba3,_0x2c5211,_0x5c49ef){var _0xad0763=_0x471d26;for(var _0x31889f=this[_0xad0763(0xca)],_0x55f278=_0xbefbd0[_0x4976cc]^_0x3eb3b3[0x0],_0x1a1499=_0xbefbd0[_0x4976cc+0x1]^_0x3eb3b3[0x1],_0x171d50=_0xbefbd0[_0x4976cc+0x2]^_0x3eb3b3[0x2],_0x135eb9=_0xbefbd0[_0x4976cc+0x3]^_0x3eb3b3[0x3],_0x21229b=0x4,_0x463b94=0x1;_0x463b94<_0x31889f;_0x463b94++){var _0x5cfa5a=_0x18dc3a[_0x55f278>>>0x18]^_0x4db16c[_0x1a1499>>>0x10&0xff]^_0x209ba3[_0x171d50>>>0x8&0xff]^_0x2c5211[_0x135eb9&0xff]^_0x3eb3b3[_0x21229b++],_0x3485e2=_0x18dc3a[_0x1a1499>>>0x18]^_0x4db16c[_0x171d50>>>0x10&0xff]^_0x209ba3[_0x135eb9>>>0x8&0xff]^_0x2c5211[_0x55f278&0xff]^_0x3eb3b3[_0x21229b++],_0x2cae01=_0x18dc3a[_0x171d50>>>0x18]^_0x4db16c[_0x135eb9>>>0x10&0xff]^_0x209ba3[_0x55f278>>>0x8&0xff]^_0x2c5211[_0x1a1499&0xff]^_0x3eb3b3[_0x21229b++],_0x119162=_0x18dc3a[_0x135eb9>>>0x18]^_0x4db16c[_0x55f278>>>0x10&0xff]^_0x209ba3[_0x1a1499>>>0x8&0xff]^_0x2c5211[_0x171d50&0xff]^_0x3eb3b3[_0x21229b++];_0x55f278=_0x5cfa5a,_0x1a1499=_0x3485e2,_0x171d50=_0x2cae01,_0x135eb9=_0x119162;}var _0x5cfa5a=(_0x5c49ef[_0x55f278>>>0x18]<<0x18|_0x5c49ef[_0x1a1499>>>0x10&0xff]<<0x10|_0x5c49ef[_0x171d50>>>0x8&0xff]<<0x8|_0x5c49ef[_0x135eb9&0xff])^_0x3eb3b3[_0x21229b++],_0x3485e2=(_0x5c49ef[_0x1a1499>>>0x18]<<0x18|_0x5c49ef[_0x171d50>>>0x10&0xff]<<0x10|_0x5c49ef[_0x135eb9>>>0x8&0xff]<<0x8|_0x5c49ef[_0x55f278&0xff])^_0x3eb3b3[_0x21229b++],_0x2cae01=(_0x5c49ef[_0x171d50>>>0x18]<<0x18|_0x5c49ef[_0x135eb9>>>0x10&0xff]<<0x10|_0x5c49ef[_0x55f278>>>0x8&0xff]<<0x8|_0x5c49ef[_0x1a1499&0xff])^_0x3eb3b3[_0x21229b++],_0x119162=(_0x5c49ef[_0x135eb9>>>0x18]<<0x18|_0x5c49ef[_0x55f278>>>0x10&0xff]<<0x10|_0x5c49ef[_0x1a1499>>>0x8&0xff]<<0x8|_0x5c49ef[_0x171d50&0xff])^_0x3eb3b3[_0x21229b++];_0xbefbd0[_0x4976cc]=_0x5cfa5a,_0xbefbd0[_0x4976cc+0x1]=_0x3485e2,_0xbefbd0[_0x4976cc+0x2]=_0x2cae01,_0xbefbd0[_0x4976cc+0x3]=_0x119162;},'keySize':0x100/0x20});_0x4191c8[_0x471d26(0x37f)]=_0x5471c1[_0x471d26(0x36e)](_0x23fd8c);}()),_0x228e82[_0x226cad(0x37f)];}));}(Ve)),Ve['exports'];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x8cc9a2(0x32e)],si;function Nn(){return si||(si=0x1,function(_0x9fb8d1,_0x4af1f1){(function(_0x1dd22f,_0x482369){_0x9fb8d1['exports']=_0x482369(te());}(yn,function(_0x551164){var _0x2f5503=_0x178d;return _0x551164[_0x2f5503(0x1d1)][_0x2f5503(0x117)];}));}(Xe)),Xe['exports'];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x8cc9a2(0x32e)],ni;function wn(){var _0x548fbe=_0x8cc9a2;return ni||(ni=0x1,function(_0x4d4a7c,_0x4126f5){(function(_0x52f963,_0xa8b2a8){var _0x3e8a43=_0x178d;_0x4d4a7c[_0x3e8a43(0x32e)]=_0xa8b2a8(te());}(An,function(_0x1c7325){var _0x248ff3=_0x178d;return(function(){var _0x54f005=_0x178d;if(typeof ArrayBuffer==_0x54f005(0x119)){var _0x584ad5=_0x1c7325,_0x33e6c2=_0x584ad5[_0x54f005(0x132)],_0x5e797c=_0x33e6c2[_0x54f005(0x2db)],_0x2bb73e=_0x5e797c[_0x54f005(0x1ec)],_0x32f3f0=_0x5e797c[_0x54f005(0x1ec)]=function(_0x14d4b8){var _0x31bc12=_0x54f005;if(_0x14d4b8 instanceof ArrayBuffer&&(_0x14d4b8=new Uint8Array(_0x14d4b8)),(_0x14d4b8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x14d4b8 instanceof Uint8ClampedArray||_0x14d4b8 instanceof Int16Array||_0x14d4b8 instanceof Uint16Array||_0x14d4b8 instanceof Int32Array||_0x14d4b8 instanceof Uint32Array||_0x14d4b8 instanceof Float32Array||_0x14d4b8 instanceof Float64Array)&&(_0x14d4b8=new Uint8Array(_0x14d4b8[_0x31bc12(0x1e7)],_0x14d4b8[_0x31bc12(0x2f1)],_0x14d4b8[_0x31bc12(0x27e)])),_0x14d4b8 instanceof Uint8Array){for(var _0xff4aed=_0x14d4b8['byteLength'],_0x271abf=[],_0x128303=0x0;_0x128303<_0xff4aed;_0x128303++)_0x271abf[_0x128303>>>0x2]|=_0x14d4b8[_0x128303]<<0x18-_0x128303%0x4*0x8;_0x2bb73e[_0x31bc12(0x324)](this,_0x271abf,_0xff4aed);}else _0x2bb73e[_0x31bc12(0x368)](this,arguments);};_0x32f3f0[_0x54f005(0xc9)]=_0x5e797c;}}()),_0x1c7325[_0x248ff3(0x132)][_0x248ff3(0x2db)];}));}(Ze)),Ze[_0x548fbe(0x32e)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x8cc9a2(0x32e)],ri;function xn(){var _0xef908d=_0x8cc9a2;return ri||(ri=0x1,function(_0x36fc5f,_0x3dddc7){(function(_0x97d62f,_0x4486e5,_0x3afbc3){var _0x244d5a=_0x178d;_0x36fc5f[_0x244d5a(0x32e)]=_0x4486e5(te(),Ni());}(Mn,function(_0x424784){var _0x316317=_0x178d;return _0x424784['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x424784['pad'][_0x316317(0x2c7)];}));}(Qe)),Qe[_0xef908d(0x32e)];}var kn=xn();const $n=$e(kn);function Hn(_0x341bf8,_0x356e66){var _0x198578=_0x8cc9a2;const _0x3b9cd3=_0x356e66-_0x341bf8[_0x198578(0x1ae)]%_0x356e66,_0x23cf33=String['fromCharCode'](_0x3b9cd3)[_0x198578(0x37b)](_0x3b9cd3);return _0x341bf8+_0x23cf33;}function Bn(_0x33b3dc,_0x1abe44){var _0x2f6c4f=_0x8cc9a2;const _0x38d77d=Ln[_0x2f6c4f(0x26e)](0x10),_0x1cce71=Hn(_0x33b3dc,0x10),_0x53d473=bn[_0x2f6c4f(0x25c)](Un['parse'](_0x1cce71),ii[_0x2f6c4f(0x3c3)](_0x1abe44),{'iv':_0x38d77d,'padding':$n});return _0x38d77d['concat'](_0x53d473[_0x2f6c4f(0x223)])[_0x2f6c4f(0x1c4)](ii);}function jn(){var _0x20626c=_0x8cc9a2;const _0x5f5496=_0x58db97()['__Key__'];if(_0x5f5496){const _0x54880f={'time':Math[_0x20626c(0x230)](Date[_0x20626c(0xd9)]()/0x3e8),'domain':location[_0x20626c(0x1e9)]};return Bn(JSON[_0x20626c(0x133)](_0x54880f),_0x5f5496);}}var Fn=Object[_0x8cc9a2(0x2fc)],Vn=(_0x5166c2,_0x550379,_0x57538b,_0x5931a5)=>{for(var _0x6b08c0=_0x5931a5>0x1?void 0x0:_0x5931a5?Fn(_0x550379,_0x57538b):_0x550379,_0x1fd6da=_0x5166c2['length']-0x1,_0x7003ba;_0x1fd6da>=0x0;_0x1fd6da--)(_0x7003ba=_0x5166c2[_0x1fd6da])&&(_0x6b08c0=_0x7003ba(_0x6b08c0)||_0x6b08c0);return _0x6b08c0;},Gn=(_0x9a03f4,_0x3c088e)=>(_0x4557eb,_0x1fd287)=>_0x3c088e(_0x4557eb,_0x1fd287,_0x9a03f4);let at=class{constructor(_0xc6bcea){var _0x3f7b51=_0x8cc9a2;this[_0x3f7b51(0x100)]=_0xc6bcea,this[_0x3f7b51(0x275)]();}['_initRequestHeader'](){var _0x3e2994=_0x8cc9a2;this[_0x3e2994(0x100)][_0x3e2994(0x2a9)]({'interceptor':(_0x1ed599,_0x321def)=>{var _0x4d4f00=_0x3e2994;const _0x3b4d97=_0x1ed599[_0x4d4f00(0x2b4)],_0x5c2945=jn();return _0x5c2945&&_0x3b4d97['set'](_0x4d4f00(0x190),_0x5c2945),_0x321def(_0x1ed599);}});}};at=Vn([Gn(0x0,_0x2bc925(_0x2b7687))],at);var Wn=Object[_0x8cc9a2(0x2fc)],Yn=(_0x57914d,_0x42b52f,_0x5b48e4,_0x19fd0c)=>{for(var _0xdba3ae=_0x19fd0c>0x1?void 0x0:_0x19fd0c?Wn(_0x42b52f,_0x5b48e4):_0x42b52f,_0x476985=_0x57914d['length']-0x1,_0x21c3ee;_0x476985>=0x0;_0x476985--)(_0x21c3ee=_0x57914d[_0x476985])&&(_0xdba3ae=_0x21c3ee(_0xdba3ae)||_0xdba3ae);return _0xdba3ae;},vt=(_0x52b6d9,_0x1f73cc)=>(_0x567d4e,_0xd48515)=>_0x1f73cc(_0x567d4e,_0xd48515,_0x52b6d9);let Ct=class extends _0x13f7ae{constructor(_0x190035,_0x534121,_0x4ac735){var _0x3a1edd=_0x8cc9a2;super(),N(this,_0x3a1edd(0x292),new _0xf5efdc(null)),N(this,'unitInfo$',this[_0x3a1edd(0x292)][_0x3a1edd(0x107)]()),(this[_0x3a1edd(0x3a2)]=_0x190035,this['_snapshotService']=_0x534121,this[_0x3a1edd(0x378)]=_0x4ac735);}async[_0x8cc9a2(0x1f8)](_0x4d6c2c,_0x11b91c,_0x5b2291){var _0x5b5c24=_0x8cc9a2;this['_unitInfo$'][_0x5b5c24(0x30d)]({'unitId':_0x4d6c2c,'type':_0x11b91c});let _0xbeda43=null;switch(_0x11b91c){case Z[_0x5b5c24(0x2f4)]:{_0xbeda43=await this[_0x5b5c24(0x24c)][_0x5b5c24(0x351)](_0x4d6c2c,_0x5b2291);break;}case Z[_0x5b5c24(0x11c)]:{_0xbeda43=await this['_snapshotService'][_0x5b5c24(0x102)](_0x4d6c2c,_0x5b2291);break;}default:{this[_0x5b5c24(0x3a2)]['error'](_0x5b5c24(0x3b1),_0x5b5c24(0xda));break;}}return _0xbeda43;}async['loadUnit'](_0x27c3cd,_0x1b85fd,_0x1bb866){var _0x2d84b3=_0x8cc9a2,_0x49ea5f;this[_0x2d84b3(0x292)][_0x2d84b3(0x30d)]({'unitId':_0x27c3cd,'type':_0x1b85fd,'subUnitId':_0x1bb866});let _0x432681=0x0;const _0x19abf7=await((_0x49ea5f=this[_0x2d84b3(0x378)])==null?void 0x0:_0x49ea5f[_0x2d84b3(0x202)](_0x27c3cd));return _0x19abf7&&(_0x19abf7['awaitingChangeset']||_0x19abf7[_0x2d84b3(0x3be)][_0x2d84b3(0x1ae)]!==0x0)&&(_0x432681=_0x19abf7[_0x2d84b3(0x25d)]),_0x432681===0x0&&this['_logService'][_0x2d84b3(0x31b)]('[DataLoaderService]',_0x2d84b3(0x1f3)),this[_0x2d84b3(0x1f8)](_0x27c3cd,_0x1b85fd,_0x432681);}};Ct=Yn([vt(0x0,_0xd27129),vt(0x1,_0x2bc925(_0x4b7bbc)),vt(0x2,_0x31269b(J))],Ct);var Kn=Object['getOwnPropertyDescriptor'],qn=(_0x322032,_0x1124ab,_0x1a3078,_0x388cfd)=>{var _0x1dd58e=_0x8cc9a2;for(var _0x1b5b15=_0x388cfd>0x1?void 0x0:_0x388cfd?Kn(_0x1124ab,_0x1a3078):_0x1124ab,_0x2c95e8=_0x322032[_0x1dd58e(0x1ae)]-0x1,_0x552a5a;_0x2c95e8>=0x0;_0x2c95e8--)(_0x552a5a=_0x322032[_0x2c95e8])&&(_0x1b5b15=_0x552a5a(_0x1b5b15)||_0x1b5b15);return _0x1b5b15;},pt=(_0x38196b,_0x5e0ef1)=>(_0x5e5341,_0x6b6b7e)=>_0x5e0ef1(_0x5e5341,_0x6b6b7e,_0x38196b);const zn=[_0x8cc9a2(0x11d),_0x8cc9a2(0x1ad),_0x8cc9a2(0x146),_0x8cc9a2(0x3a0),_0x8cc9a2(0x32b)],Jn=0x5*0x400*0x400,Xn=_0x8cc9a2(0x3a4),Zn=_0x8cc9a2(0x19e),Qn=_0x8cc9a2(0x2e2),er=_0x8cc9a2(0x245);let Rt=class{constructor(_0x5da739,_0x436045,_0x1369af){var _0x4e5e3d=_0x8cc9a2;N(this,'_waitCount',0x0),N(this,_0x4e5e3d(0x19b),new _0x71a712()),N(this,_0x4e5e3d(0x271),this[_0x4e5e3d(0x19b)]),N(this,_0x4e5e3d(0x36a),new Map()),(this[_0x4e5e3d(0x100)]=_0x5da739,this[_0x4e5e3d(0xee)]=_0x436045,this['_univerInstanceService']=_0x1369af);}['setWaitCount'](_0x3f7f0d){var _0x32a2e2=_0x8cc9a2;this[_0x32a2e2(0xc5)]=_0x3f7f0d,this[_0x32a2e2(0x19b)]['next'](_0x3f7f0d);}[_0x8cc9a2(0x261)](_0x427f8e,_0x27615c){var _0x4fa533=_0x8cc9a2;if(_0x27615c===_0x33e4d2[_0x4fa533(0x31e)]){const _0x1a12a4=new Image();return _0x1a12a4['src']=_0x427f8e,_0x1a12a4;}return this['_imageSourceCache']['get'](_0x427f8e);}['addImageSourceCache'](_0x1b3a7d,_0xb52382,_0x3c46ea){var _0x4b203f=_0x8cc9a2;_0xb52382===_0x33e4d2[_0x4b203f(0x31e)]||_0x3c46ea==null||this[_0x4b203f(0x36a)][_0x4b203f(0x2bb)](_0x1b3a7d,_0x3c46ea);}async[_0x8cc9a2(0x323)](_0x468fca){var _0x3fbbce=_0x8cc9a2;try{const _0x178ab3=this[_0x3fbbce(0x15e)](this[_0x3fbbce(0x228)](),''+_0x468fca),_0x4f0397=(await this['_httpService'][_0x3fbbce(0x313)](_0x178ab3))[_0x3fbbce(0x242)];if(_0x4f0397[_0x3fbbce(0x237)]&&_0x4f0397[_0x3fbbce(0x237)][_0x3fbbce(0x12b)]===pi['OK']){const _0x2a6df5=new URL(_0x4f0397[_0x3fbbce(0x205)],this['_getDownloadEndpointURL']())[_0x3fbbce(0x1c4)]();return Promise['resolve'](_0x2a6df5);}return Promise[_0x3fbbce(0x110)](_0x4f0397[_0x3fbbce(0x237)]);}catch(_0x556bb2){return Promise[_0x3fbbce(0x110)](_0x556bb2);}}async['saveImage'](_0x45beb8){var _0x4555fc=_0x8cc9a2;let _0x2edd0e='';if(!zn[_0x4555fc(0x38d)](_0x45beb8[_0x4555fc(0x3c2)]))return this[_0x4555fc(0x161)](),Promise[_0x4555fc(0x110)](new Error(_0x42d9c1[_0x4555fc(0xd5)]));if(_0x45beb8[_0x4555fc(0x38b)]>Jn)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x42d9c1[_0x4555fc(0x35a)]));try{const _0x193f9a=new FormData();_0x193f9a[_0x4555fc(0x36d)](_0x4555fc(0x2c3),_0x45beb8);const _0x50644a=this[_0x4555fc(0x370)][_0x4555fc(0x35c)](),_0x4d08d5=_0x50644a==null?void 0x0:_0x50644a['getUnitId']();if(!_0x4d08d5)throw new Error(_0x4555fc(0x2bc));const _0x232acd=this[_0x4555fc(0x11b)]()+_0x4555fc(0x2c9)+_0x45beb8[_0x4555fc(0x38b)]['toString']()+'&source='+mi['UnitEmbedded']+_0x4555fc(0x130)+encodeURIComponent(_0x4d08d5),_0xd91bba={'body':_0x193f9a},_0x27699e=(await this[_0x4555fc(0x100)][_0x4555fc(0x171)](_0x232acd,_0xd91bba))[_0x4555fc(0x242)];if(typeof _0x27699e[_0x4555fc(0x35d)]!=_0x4555fc(0x24d))return this[_0x4555fc(0x161)](),Promise[_0x4555fc(0x110)](new Error(_0x42d9c1['ERROR_IMAGE']));_0x2edd0e=_0x27699e[_0x4555fc(0x35d)];}catch{return this[_0x4555fc(0x161)](),Promise['reject'](new Error(_0x42d9c1[_0x4555fc(0x276)]));}return new Promise((_0x564139,_0x566d5f)=>{var _0x4f9b49=_0x4555fc;const _0x4380d6=new FileReader();_0x4380d6[_0x4f9b49(0x118)](_0x45beb8),_0x4380d6[_0x4f9b49(0x135)]=_0x28cf3e=>{var _0x2450a8=_0x4f9b49,_0x5840e3;const _0x580809=(_0x5840e3=_0x28cf3e[_0x2450a8(0x221)])==null?void 0x0:_0x5840e3[_0x2450a8(0x341)];if(_0x580809==null){this[_0x2450a8(0x161)](),_0x566d5f(new Error(_0x42d9c1[_0x2450a8(0x276)]));return;}const _0x2ee688=_0x17f42b[_0x2450a8(0x330)](0x6);_0x564139({'imageId':_0x2ee688,'imageSourceType':_0x33e4d2[_0x2450a8(0x374)],'source':_0x2edd0e,'base64Cache':_0x580809,'status':_0x42d9c1[_0x2450a8(0x21a)]}),this['_decreaseWaiting']();};});}[_0x8cc9a2(0x11b)](){var _0x370705=_0x8cc9a2,_0x691cb7,_0x3ba0c6;const _0x3d36e8=this[_0x370705(0xee)]['getConfig'](Xn),_0x2fa7d4=this['_configService']['getConfig'](K);return(_0x3ba0c6=(_0x691cb7=_0x2fa7d4==null?void 0x0:_0x2fa7d4[_0x370705(0x291)])!=null?_0x691cb7:_0x3d36e8)!=null?_0x3ba0c6:Zn;}[_0x8cc9a2(0x228)](){var _0xf50bb7=_0x8cc9a2,_0x4bb09b,_0x6c9547;const _0x2e43dc=this[_0xf50bb7(0xee)][_0xf50bb7(0x122)](Qn),_0x32a796=this[_0xf50bb7(0xee)][_0xf50bb7(0x122)](K);return(_0x6c9547=(_0x4bb09b=_0x32a796==null?void 0x0:_0x32a796[_0xf50bb7(0x108)])!=null?_0x4bb09b:_0x2e43dc)!=null?_0x6c9547:er;}[_0x8cc9a2(0x10b)](){var _0x18d6e7=_0x8cc9a2,_0x2c15c9;const _0x16490d=this[_0x18d6e7(0xee)][_0x18d6e7(0x122)](K);return(_0x2c15c9=_0x16490d==null?void 0x0:_0x16490d[_0x18d6e7(0x29c)])!=null?_0x2c15c9:location[_0x18d6e7(0x189)];}[_0x8cc9a2(0x15e)](_0x2ac9d5,_0x35f255){var _0x3612f8=_0x8cc9a2;return _0x2ac9d5['replace'](_0x3612f8(0x106),_0x35f255);}[_0x8cc9a2(0x161)](){var _0x5537f9=_0x8cc9a2;this[_0x5537f9(0xc5)]-=0x1,this['_change$'][_0x5537f9(0x30d)](this['_waitCount']);}};Rt=qn([pt(0x0,_0x2bc925(_0x2b7687)),pt(0x1,_0x195c73),pt(0x2,_0x2bc925(_0x24fe3b))],Rt);var tr=Object[_0x8cc9a2(0x2fc)],ir=(_0x5abce0,_0x1cf12d,_0x425bd8,_0x557c88)=>{var _0x4d9e15=_0x8cc9a2;for(var _0x48ea06=_0x557c88>0x1?void 0x0:_0x557c88?tr(_0x1cf12d,_0x425bd8):_0x1cf12d,_0x5150f7=_0x5abce0[_0x4d9e15(0x1ae)]-0x1,_0x60ce76;_0x5150f7>=0x0;_0x5150f7--)(_0x60ce76=_0x5abce0[_0x5150f7])&&(_0x48ea06=_0x60ce76(_0x48ea06)||_0x48ea06);return _0x48ea06;},ai=(_0x1ac0cf,_0x37a351)=>(_0xac8686,_0x4382e0)=>_0x37a351(_0xac8686,_0x4382e0,_0x1ac0cf);const sr=_0x8cc9a2(0xe1);let bt=class{constructor(_0x135a6b,_0x49ed1b){var _0x291963=_0x8cc9a2;this[_0x291963(0xee)]=_0x135a6b,this['_HTTPService']=_0x49ed1b;}[_0x8cc9a2(0xc7)](){var _0x5abe6f=_0x8cc9a2,_0x42d495,_0x11a1bf;const _0x589e64=this[_0x5abe6f(0xee)][_0x5abe6f(0x122)](bi),_0x364545=this[_0x5abe6f(0xee)][_0x5abe6f(0x122)](K);return(_0x11a1bf=(_0x42d495=_0x364545==null?void 0x0:_0x364545['authzUrl'])!=null?_0x42d495:_0x589e64)!=null?_0x11a1bf:sr;}async['list'](_0x18cf58){var _0x338949=_0x8cc9a2;const _0x2a170b=this[_0x338949(0xc7)]()+_0x338949(0xe5);return{'list':[{'title':_0x338949(0xe2),'mentions':(await this[_0x338949(0x1eb)]['get'](_0x2a170b,{'params':{'objectID':_0x18cf58[_0x338949(0x3a7)],'unitID':_0x18cf58[_0x338949(0x3a7)]}}))['body'][_0x338949(0x336)][_0x338949(0x34c)](_0x387b2d=>({'objectId':_0x387b2d['id'],'name':_0x387b2d[_0x338949(0x3a9)][_0x338949(0x387)],'metadata':{'icon':_0x387b2d[_0x338949(0x3a9)][_0x338949(0x1bc)]},'label':_0x387b2d[_0x338949(0x3a9)]['name'],'objectType':_0x18d35c['PERSON']})),'metadata':{},'type':_0x18d35c[_0x338949(0x396)]}]};}};bt=ir([ai(0x0,_0x2bc925(_0x195c73)),ai(0x1,_0x2bc925(_0x2b7687))],bt);var nr=Object['getOwnPropertyDescriptor'],rr=(_0x5f1169,_0x4023f7,_0x243f1e,_0x3f9bec)=>{var _0x21712a=_0x8cc9a2;for(var _0x213558=_0x3f9bec>0x1?void 0x0:_0x3f9bec?nr(_0x4023f7,_0x243f1e):_0x4023f7,_0x352a22=_0x5f1169[_0x21712a(0x1ae)]-0x1,_0x3b6416;_0x352a22>=0x0;_0x352a22--)(_0x3b6416=_0x5f1169[_0x352a22])&&(_0x213558=_0x3b6416(_0x213558)||_0x213558);return _0x213558;},Ae=(_0x5bc3c3,_0x459ccb)=>(_0x56a897,_0x4550b9)=>_0x459ccb(_0x56a897,_0x4550b9,_0x5bc3c3);let ot=class extends _0x13f7ae{constructor(_0x1c2235,_0x29d6e1,_0x4d82ae,_0x85b936,_0x4b41d1){var _0x23df1e=_0x8cc9a2;super(),this[_0x23df1e(0x127)]=_0x1c2235,this[_0x23df1e(0x370)]=_0x29d6e1,this[_0x23df1e(0x14b)]=_0x4d82ae,this[_0x23df1e(0x39f)]=_0x85b936,this[_0x23df1e(0x299)]=_0x4b41d1,this[_0x23df1e(0x20c)](),this[_0x23df1e(0x1c6)]();}[_0x8cc9a2(0x1c6)](){var _0x1ab919=_0x8cc9a2;const _0x15b00c=async _0x1d1ad8=>{var _0x3ed250=_0x178d;(await this[_0x3ed250(0x39f)][_0x3ed250(0x148)](_0x1d1ad8))[_0x3ed250(0x395)][_0x3ed250(0x265)](_0x469615(_0x4f769c=>_0x4f769c[_0x3ed250(0x22e)]===_0x52d112[_0x3ed250(0x12d)]),_0x108dc2(this['dispose$']))[_0x3ed250(0x389)](_0x1fed11=>{var _0x225f3d=_0x3ed250;const _0x47ff39=_0x1fed11,{reason:_0x5e0e5d}=_0x47ff39[_0x225f3d(0x32a)];this[_0x225f3d(0x299)][_0x225f3d(0x350)]({'id':ne[_0x225f3d(0x22a)],'data':_0x5e0e5d}),this[_0x225f3d(0x14b)][_0x225f3d(0x244)](new _0x4721f5(_0x1d1ad8)['id'],!0x1),this[_0x225f3d(0x39f)][_0x225f3d(0x3b6)](_0x1d1ad8);});};_0x4e790d(this[_0x1ab919(0x370)][_0x1ab919(0x2a6)](_0x444bb2[_0x1ab919(0x2f4)]),this[_0x1ab919(0x370)]['getTypeOfUnitAdded$'](_0x444bb2[_0x1ab919(0x11c)]))['pipe'](_0xcf6408(_0x5b0de7=>_0x5b0de7[_0x1ab919(0x239)]()),_0x469615(_0x1d7e11=>!_0x2b0287(_0x1d7e11)),_0x108dc2(this[_0x1ab919(0x346)]))[_0x1ab919(0x389)](_0x2c2aa3=>{_0x15b00c(_0x2c2aa3);});}[_0x8cc9a2(0x20c)](){var _0x518536=_0x8cc9a2;const _0x15ed7b=async _0x3ac8e8=>{var _0x397105=_0x178d;const _0x52ea82=await this[_0x397105(0x39f)][_0x397105(0x148)](_0x3ac8e8),_0x1cec06=this[_0x397105(0x127)][_0x397105(0x313)](_0x12aebc);_0x52ea82[_0x397105(0x395)]['pipe'](_0x469615(_0x3dbcaa=>_0x3dbcaa[_0x397105(0x22e)]===_0x52d112['UPDATE_PERMISSION_OBJ']),_0x108dc2(this['dispose$']))['subscribe'](_0x1092b3=>{var _0x2219b8=_0x397105;const _0x512401=_0x1092b3,{objectId:_0x18af73}=_0x512401[_0x2219b8(0x32a)];_0x18af73===_0x3ac8e8?_0x1cec06[_0x2219b8(0x175)](_0x3ac8e8):_0x1cec06[_0x2219b8(0x2d5)](_0x3ac8e8,_0x18af73);});};_0x4e790d(this[_0x518536(0x370)]['getTypeOfUnitAdded$'](_0x444bb2['UNIVER_SHEET']))['pipe'](_0xcf6408(_0xdab31b=>_0xdab31b[_0x518536(0x239)]()),_0x469615(_0xa1545f=>!_0x2b0287(_0xa1545f)),_0x108dc2(this[_0x518536(0x346)]))[_0x518536(0x389)](_0x171c69=>{_0x15ed7b(_0x171c69);});}};ot=rr([Ae(0x0,_0x2bc925(_0x5c0aec)),Ae(0x1,_0x24fe3b),Ae(0x2,_0x2c39ae),Ae(0x3,_0x2bc925(Le)),Ae(0x4,_0x2bc925(ve))],ot);var ar=Object[_0x8cc9a2(0x2fc)],or=(_0x267d18,_0x31ac7f,_0x392377,_0x5370fb)=>{var _0x4fa567=_0x8cc9a2;for(var _0x42516e=_0x5370fb>0x1?void 0x0:_0x5370fb?ar(_0x31ac7f,_0x392377):_0x31ac7f,_0x26143c=_0x267d18[_0x4fa567(0x1ae)]-0x1,_0x2694c7;_0x26143c>=0x0;_0x26143c--)(_0x2694c7=_0x267d18[_0x26143c])&&(_0x42516e=_0x2694c7(_0x42516e)||_0x42516e);return _0x42516e;},oi=(_0x43ba20,_0x3b88bc)=>(_0x17910c,_0x18de89)=>_0x3b88bc(_0x17910c,_0x18de89,_0x43ba20);let Ot=class{constructor(_0x1a0163,_0x20f8c8){var _0x558842=_0x8cc9a2;this['_configService']=_0x1a0163,this[_0x558842(0x100)]=_0x20f8c8;}async[_0x8cc9a2(0x17c)](_0x375e14,_0x1c265d){var _0x2dded9=_0x8cc9a2,_0x5e3bb1;const {unitID:_0x35110d,type:_0x285705,revision:_0x286754=0x0}=_0x1c265d,_0x4a3e8e=this[_0x2dded9(0x199)]()+'/'+_0x285705+_0x2dded9(0xf0)+_0x35110d+'/rev/'+_0x286754,_0x17178d=(await this[_0x2dded9(0x100)][_0x2dded9(0x313)](_0x4a3e8e))[_0x2dded9(0x242)],_0x4f20cd=(_0x5e3bb1=_0x17178d[_0x2dded9(0x233)])==null?void 0x0:_0x5e3bb1[_0x2dded9(0x210)];if(_0x4f20cd){const _0xfa0f7b=_0x4f20cd==null?void 0x0:_0x4f20cd['originalMeta'],_0x2b9dd5=_0x260c50[_0x2dded9(0x3c0)](_0x3e3d73(_0xfa0f7b));_0x4f20cd['originalMeta']=_0x2b9dd5,Object[_0x2dded9(0x3c1)](_0x4f20cd[_0x2dded9(0x140)])['forEach'](([,_0x438fce])=>{var _0x2ef75e=_0x2dded9;const _0x3a3dcc=_0x438fce[_0x2ef75e(0x1ca)],_0x5997a1=_0x260c50[_0x2ef75e(0x3c0)](_0x3e3d73(_0x3a3dcc));_0x438fce[_0x2ef75e(0x1ca)]=_0x5997a1;});}return _0x17178d;}async[_0x8cc9a2(0x319)](_0x1974b2,_0x36326c){var _0x4b4601=_0x8cc9a2;const {unitID:_0x527dd7,type:_0x568d29,blockID:_0x513584}=_0x36326c,_0x5ae183=this[_0x4b4601(0x1a4)]()+'/'+_0x568d29+_0x4b4601(0xf0)+_0x527dd7+_0x4b4601(0x113)+_0x513584;return(await this['_httpService'][_0x4b4601(0x313)](_0x5ae183))['body'];}async[_0x8cc9a2(0x142)](_0x24fd16,_0x35b90f){var _0x172ad8=_0x8cc9a2;const {unitID:_0x39fade,type:_0x1ec423,blockID:_0x461e44}=_0x35b90f,_0x15a8c5=this[_0x172ad8(0x1a4)]()+'/block/'+_0x1ec423+'/unit/'+_0x39fade+_0x172ad8(0x113)+_0x461e44;return(await this[_0x172ad8(0x100)][_0x172ad8(0x313)](_0x15a8c5))[_0x172ad8(0x242)];}async[_0x8cc9a2(0x120)](_0x580fc3,_0x20a000){var _0xcee387=_0x8cc9a2;const {unitID:_0x34cc99,type:_0x2769ed,from:_0xe48c31,to:_0x385176}=_0x20a000,_0x5827b3=this[_0xcee387(0x1a4)]()+'/'+_0x2769ed+_0xcee387(0xf0)+_0x34cc99+_0xcee387(0x33f)+_0xe48c31+_0xcee387(0x365)+_0x385176;return(await this['_httpService'][_0xcee387(0x313)](_0x5827b3))[_0xcee387(0x242)];}[_0x8cc9a2(0x199)](){var _0x31c605=_0x8cc9a2,_0x7b9c88;return(_0x7b9c88=this[_0x31c605(0xee)]['getConfig'](ps))!=null?_0x7b9c88:this[_0x31c605(0x1a4)]();}[_0x8cc9a2(0x1a4)](){var _0x314ac3=_0x8cc9a2,_0x4a6bff,_0x5031f7;const _0x2f9b61=this[_0x314ac3(0xee)]['getConfig'](fs),_0x12cf50=this[_0x314ac3(0xee)][_0x314ac3(0x122)](K);return(_0x5031f7=(_0x4a6bff=_0x12cf50==null?void 0x0:_0x12cf50[_0x314ac3(0x302)])!=null?_0x4a6bff:_0x2f9b61)!=null?_0x5031f7:vs;}async[_0x8cc9a2(0x28b)](_0x5a25cf,_0x55508a){var _0x1ddcc5=_0x8cc9a2;const _0x82cb4f=_0x1ddcc5(0x104)+_0x55508a[_0x1ddcc5(0x3c2)]+_0x1ddcc5(0xf0)+_0x55508a[_0x1ddcc5(0x2e6)]+'/resources';return(await this[_0x1ddcc5(0x100)][_0x1ddcc5(0x313)](_0x82cb4f,{'params':{'resourceId':JSON[_0x1ddcc5(0x133)](_0x55508a[_0x1ddcc5(0x14d)])}}))[_0x1ddcc5(0x242)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x8cc9a2(0x3bf)](){var _0x345c02=_0x8cc9a2;throw new Error(_0x345c02(0x1cc));}[_0x8cc9a2(0x1cd)](){var _0x26a752=_0x8cc9a2;throw new Error(_0x26a752(0x1cc));}[_0x8cc9a2(0x3bb)](){var _0xe107c9=_0x8cc9a2;throw new Error(_0xe107c9(0x1cc));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x8cc9a2(0x209)](){var _0xb6d870=_0x8cc9a2;throw new Error(_0xb6d870(0x1cc));}};Ot=or([oi(0x0,_0x195c73),oi(0x1,_0x2bc925(_0x2b7687))],Ot);var cr=Object[_0x8cc9a2(0x2fc)],hr=(_0x32f5fd,_0x3bea46,_0x12d73a,_0xd8f48f)=>{var _0x2aa317=_0x8cc9a2;for(var _0x2a0502=_0xd8f48f>0x1?void 0x0:_0xd8f48f?cr(_0x3bea46,_0x12d73a):_0x3bea46,_0x4afc1b=_0x32f5fd[_0x2aa317(0x1ae)]-0x1,_0xb598c6;_0x4afc1b>=0x0;_0x4afc1b--)(_0xb598c6=_0x32f5fd[_0x4afc1b])&&(_0x2a0502=_0xb598c6(_0x2a0502)||_0x2a0502);return _0x2a0502;},we=(_0x50a400,_0x542b6c)=>(_0x16666c,_0x2a7e98)=>_0x542b6c(_0x16666c,_0x2a7e98,_0x50a400);let yt=class extends _0x416660{constructor(_0x2bce13,_0x5908d6,_0x585358,_0x5f1596,_0x54916a){var _0x2ee2e9=_0x8cc9a2;super(_0x2bce13,_0x5908d6,_0x585358),this[_0x2ee2e9(0x385)]=_0x5f1596,this[_0x2ee2e9(0x3a2)]=_0x54916a;}['transformUndoRedo'](_0x2d0c17,_0x294a25){var _0x47c149=_0x8cc9a2;const _0x20cc56=this[_0x47c149(0x1f1)](_0x2d0c17);if(_0x20cc56)try{const _0x33d2c9=this[_0x47c149(0x121)](_0x20cc56,_0x294a25);this[_0x47c149(0xea)](_0x2d0c17,_0x33d2c9);}catch(_0x1bda9e){this[_0x47c149(0x3a2)]['error'](_0x47c149(0x362),_0x1bda9e),this[_0x47c149(0x220)](_0x2d0c17);}const _0x40eef6=this[_0x47c149(0x215)](_0x2d0c17);if(_0x40eef6)try{const _0x47979f=this['_transformStack'](_0x40eef6,_0x294a25);this[_0x47c149(0x1e1)](_0x2d0c17,_0x47979f);}catch(_0x46c943){this[_0x47c149(0x3a2)]['error'](_0x46c943),this[_0x47c149(0x1d8)](_0x2d0c17);}}['_clearUndo'](_0x3c8eea){var _0x310795=_0x8cc9a2;const _0x21cb2b=this[_0x310795(0x1f1)](_0x3c8eea);_0x21cb2b&&(_0x21cb2b[_0x310795(0x1ae)]=0x0,this[_0x310795(0x3a8)]());}[_0x8cc9a2(0x1d8)](_0x4e7b3d){var _0x543cb9=_0x8cc9a2;const _0x1d3a09=this['_getRedoStack'](_0x4e7b3d);_0x1d3a09&&(_0x1d3a09[_0x543cb9(0x1ae)]=0x0,this[_0x543cb9(0x3a8)]());}['_substituteUndoStack'](_0x261321,_0x1b5d4c){var _0x4e66d2=_0x8cc9a2;this[_0x4e66d2(0x1b3)][_0x4e66d2(0x2bb)](_0x261321,_0x1b5d4c),this['_updateStatus']();}[_0x8cc9a2(0x1e1)](_0x47f74b,_0x5d5a72){var _0x31b373=_0x8cc9a2;this[_0x31b373(0x397)][_0x31b373(0x2bb)](_0x47f74b,_0x5d5a72),this[_0x31b373(0x3a8)]();}[_0x8cc9a2(0x121)](_0x1e0aaf,_0x16864e){var _0x5c3b23=_0x8cc9a2;const _0x2b8777=[];let _0x23d8d4=_0x16864e,_0x5cbacf=_0x16864e;for(let _0x5cf5c4=_0x1e0aaf[_0x5c3b23(0x1ae)]-0x1;_0x5cf5c4>=0x0;_0x5cf5c4--){const {unitID:_0x3b58b9,undoMutations:_0x2e5f87,redoMutations:_0x1a4fed}=_0x1e0aaf[_0x5cf5c4],_0xd843af=this[_0x5c3b23(0x385)][_0x5c3b23(0x1e0)](_0x23d8d4,_0x2e5f87),_0x5beb9d=this[_0x5c3b23(0x385)][_0x5c3b23(0x1e0)](_0x5cbacf,_0x1a4fed);if(_0x37d180(_0xd843af)||_0x37d180(_0x5beb9d)){this[_0x5c3b23(0x3a2)][_0x5c3b23(0x237)](_0x5c3b23(0x362),'transformStack\x20failed!',_0xd843af,_0x5beb9d);break;}_0x23d8d4=_0xd843af[_0x5c3b23(0x114)],_0x5cbacf=_0x5beb9d[_0x5c3b23(0x114)],_0x2b8777[_0x5c3b23(0x13f)]({'unitID':_0x3b58b9,'undoMutations':_0xd843af[_0x5c3b23(0x20b)],'redoMutations':_0x5beb9d['m2Prime']});}return _0x2b8777[_0x5c3b23(0x232)]();}};yt=hr([we(0x0,_0x24fe3b),we(0x1,_0x8da825),we(0x2,_0x128882),we(0x3,_0x20376b),we(0x4,_0xd27129)],yt);var _r=Object['defineProperty'],lr=Object['getOwnPropertyDescriptor'],ur=(_0x3e34a3,_0x2fa1f6,_0x291ecf)=>_0x2fa1f6 in _0x3e34a3?_r(_0x3e34a3,_0x2fa1f6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x291ecf}):_0x3e34a3[_0x2fa1f6]=_0x291ecf,dr=(_0x460a65,_0x5e1baf,_0x582858,_0x4226d0)=>{var _0x18dcd4=_0x8cc9a2;for(var _0x35e24c=_0x4226d0>0x1?void 0x0:_0x4226d0?lr(_0x5e1baf,_0x582858):_0x5e1baf,_0x1e11ca=_0x460a65[_0x18dcd4(0x1ae)]-0x1,_0x5407e5;_0x1e11ca>=0x0;_0x1e11ca--)(_0x5407e5=_0x460a65[_0x1e11ca])&&(_0x35e24c=_0x5407e5(_0x35e24c)||_0x35e24c);return _0x35e24c;},mt=(_0x141bfe,_0x2a66e2)=>(_0x64cb38,_0x2e784f)=>_0x2a66e2(_0x64cb38,_0x2e784f,_0x141bfe),fr=(_0x35eda8,_0x4a89de,_0x3cce6f)=>ur(_0x35eda8,_0x4a89de+'',_0x3cce6f);const vr=_0x8cc9a2(0x166);let Nt=class extends _0x42526b{constructor(_0x5f08a5,_0x569dfd,_0x385cb9,_0xcd06c5){var _0x1c0ad9=_0x8cc9a2;super(),N(this,_0x1c0ad9(0x184)),(this['_logService']=_0x569dfd,this['_injector']=_0x385cb9,this[_0x1c0ad9(0xee)]=_0xcd06c5);const {..._0x54e43d}=_0x35ab8b({},Ds,_0x5f08a5);if(!_0x54e43d[_0x1c0ad9(0x23f)])throw new Error(_0x1c0ad9(0x24e));this[_0x1c0ad9(0x184)]=_0x54e43d,this['_configService'][_0x1c0ad9(0x27a)](K,_0x54e43d);}['onStarting'](){var _0x1c03bd=_0x8cc9a2;this[_0x1c03bd(0x35f)](),this['_initDependencies']();}[_0x8cc9a2(0x35f)](){var _0x22923c=_0x8cc9a2,_0x5e681a,_0x32c14e;this['_injector']['has'](_0x1ab2de)&&this[_0x22923c(0x3a2)][_0x22923c(0x237)](_0x22923c(0x1e3),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2c43ec=_0x4935cd([[_0x1ab2de,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this['_config']['socketService']}],[_0x591680,{'useClass':Ot}],[_0x38a123,{'useClass':Tt}],[_0x478784,{'useClass':Rt}],[_0x449fda,{'useClass':bt}],[nt],[It]],(_0x5e681a=this['_config'])==null?void 0x0:_0x5e681a[_0x22923c(0x2e8)]);if(!((_0x32c14e=this[_0x22923c(0x184)])!=null&&_0x32c14e[_0x22923c(0x25f)])){const _0x26efcc=_0x2c43ec[_0x22923c(0x144)](([_0x14849e])=>_0x14849e===ht);_0x26efcc!==-0x1&&_0x2c43ec['splice'](_0x26efcc,0x1);}_0x218ff3(this[_0x22923c(0x127)],_0x2c43ec);}['_initDependencies'](){var _0x50a151=_0x8cc9a2,_0x3f2569,_0x16ba08,_0x219507;this['_injector'][_0x50a151(0x313)](_0x2b7687)[_0x50a151(0x2a9)]({'priority':0x14,'interceptor':_0x57bbb5({'maxParallel':0x6})}),(_0x3f2569=this[_0x50a151(0x184)])!=null&&_0x3f2569[_0x50a151(0x3ad)]||(_0x16ba08=this[_0x50a151(0x127)][_0x50a151(0x313)](J,_0x5df4bb[_0x50a151(0x301)]))==null||_0x16ba08[_0x50a151(0x1ac)](),(_0x219507=this['_config'])!=null&&_0x219507[_0x50a151(0x162)]&&_0xc06ae3(this['_injector'],[[rt]]),_0xc06ae3(this[_0x50a151(0x127)],[[at],[nt],[ot]]);}};fr(Nt,_0x8cc9a2(0x18c),vr),Nt=dr([_0x356294(_0x215b5a,_0x1310cc),mt(0x1,_0xd27129),mt(0x2,_0x2bc925(_0x5c0aec)),mt(0x3,_0x195c73)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};