@univerjs-pro/collaboration-client 0.12.2 → 0.12.3
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x59b711=_0x2040;(function(_0x47ad05,_0x7e9b91){var _0x34be0e=_0x2040,_0x227405=_0x47ad05();while(!![]){try{var _0x24245b=parseInt(_0x34be0e(0x234))/0x1*(-parseInt(_0x34be0e(0x29a))/0x2)+-parseInt(_0x34be0e(0x205))/0x3*(-parseInt(_0x34be0e(0x2d9))/0x4)+-parseInt(_0x34be0e(0x229))/0x5*(-parseInt(_0x34be0e(0x32e))/0x6)+parseInt(_0x34be0e(0x154))/0x7+parseInt(_0x34be0e(0x1bb))/0x8+-parseInt(_0x34be0e(0x1a1))/0x9+parseInt(_0x34be0e(0x2d6))/0xa*(-parseInt(_0x34be0e(0x252))/0xb);if(_0x24245b===_0x7e9b91)break;else _0x227405['push'](_0x227405['shift']());}catch(_0x225453){_0x227405['push'](_0x227405['shift']());}}}(_0x45df,0x5a491));var bi=Object[_0x59b711(0x3b7)],Di=(_0x3f7199,_0x40ee38,_0x68539)=>_0x40ee38 in _0x3f7199?bi(_0x3f7199,_0x40ee38,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x68539}):_0x3f7199[_0x40ee38]=_0x68539,D=(_0x236dab,_0x5cc87e,_0x43dbfd)=>Di(_0x236dab,typeof _0x5cc87e!=_0x59b711(0x19a)?_0x5cc87e+'':_0x5cc87e,_0x43dbfd);import{CollaborationEvent as _0x43a4f7,ITransformService as _0x4ab688,isTransformMutationsWithChangesetSuccess as _0x528827,mapDocumentTypeToUniverType as _0x1263fa,RevisionService as _0x561b69,isTransformChangesetsSuccess as _0x275733,EmptyMutationInfo as _0x3bc000,CompressMutationService as _0x5b45ec,parseProtocolChangeset as _0x59e6f0,uuidv4 as _0x111357,ISnapshotServerService as _0x4701bb,parseChangesetToProtocol as _0x47952d,SnapshotService as _0x5e7f3a,textEncoder as _0x407662,b64DecodeUnicode as _0x2df192,isTransformMutationsWithChangesetFailure as _0x80e8d3,UniverCollaborationPlugin as _0x5c4a4e}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0xf3afd7,Inject as _0x281a8c,UserManagerService as _0x336c3e,Disposable as _0x58c6ed,UniverInstanceType as _0x119ad1,ILogService as _0x1044bb,IConfigService as _0x8d713e,Optional as _0x56c622,RxDisposable as _0x142f2e,createIdentifier as _0x2a6406,Injector as _0x37ef73,Tools as _0x33335d,Rectangle as _0x4aa35e,ICommandService as _0x4ce9f0,JSONX as _0x30b598,IUndoRedoService as _0xc12165,IPermissionService as _0x4c465d,LocaleService as _0x36425d,sequenceExecute as _0x15dc1f,toDisposable as _0x238d9e,CommandType as _0x41d63b,DisposableCollection as _0x30084a,Workbook as _0x53001c,generateRandomId as _0xb43709,MentionType as _0x5bbeff,isInternalEditorID as _0x2f8a53,LocalUndoRedoService as _0x3460e4,IContextService as _0x2687b3,DependentOn as _0x28f98c,Plugin as _0x59b1f3,merge as _0x1c6cd4,mergeOverrideWithDependencies as _0x49ce61,IAuthzIoService as _0x4e565e,IMentionIOService as _0x516f01,registerDependencies as _0x4993a2,Quantity as _0x3dd9df,touchDependencies as _0xf20f57}from'@univerjs/core';function _0x45df(){var _0x4ff54c=['joinRsp','_reverseMap','[CollaborationState]:\x20apply\x20error!','onRemoteRej','reconnect','AWAITING','_clearLocalCache','OPTIONAL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_sendingTimer','getLatestCsReqIdBySid','kdf','textRanges','crypto','randomBytes','_initCloseConn','_doCryptBlock','MUTATION','USERS_ENTER','/new_changes','focused$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','\x0aCurrent:\x20','[CollaborationEntity]','_unitID','ciphertext','setShowComponents','onRemoteRetry','type','_createInitialStateImpl','csShouldRetryEvent','editing\x20status\x20changed\x20to','CLOSE_ROOM','getTypeOfUnitAdded$','updatePermissionPoint','session.room-permission-denied','_prevBlock','_onLocalMutation','_onCombEvent','_collabSessionService','PY_RUNTIME_SCRIPT_ERROR','ERROR_EXCEED_SIZE','onRemoteAck','SOCKET_FAILED','enableSingleActiveInstanceLock','[PendingState]:\x20received\x20acknowledgement.','list','APPLY_REVISION_CONFILICT','Base64','apply','getSheetId','_nRounds','emitEvent','UNIVER_SLIDE','iterations','[DataLoaderService]','loadSheet','fetch_missing','toggleOnline','_socketReady','/-/object/list','_compressMutationService','default','getImage','YUUMI_ALL_TABLES_IS_INVALID','_collaborationUIEventService','x-univer-host','defineProperty','ivSize','getCurrentRevOfUnit','collaboratorID','_roomMembers','revision','_throwTelemetryCollaborationNewChangeset','parse','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','GLOBAL_ROOMS_CNT_EXCEEDS','onStarting','YUUMI_SUBSCRIPTION_NOT_FOUND','INVITE_CODE_ALREADY_BOUND','unitId','_socketService','_imageSourceCache','ENSURE_SNAPSHOT_EXECUTION','[PendingState]:\x20received\x20rejection.','NO_OTHER_CLIENTS_EDITING','interceptor','_sessionStatus$','YUUMI_NO_CUBOID_FOR_QUESTION','getUnitStatus$','roomInfos','ENTITLE_NEED_BILLING_ADDRESS','_joinRoom','_resendWithTimeout','getCollabEntity$','deleteCollaborator','_clearScheduledTask','_event$','unitID','fetching\x20missing\x20changesets\x20from\x20','_mode','LICENSE_DISTRO_REJECTED','ENTITLE_CHAT_LIMIT_EXCEED','\x0aAfter:\x20','_onRemoteChangeset','FileId','_onRemoteRetry','JOIN_ROOM_FULL','debug','_config','m2Prime','fetchThroughInterceptors','joinEvent','Undefined','duration','mode','_change$','readAsDataURL','UnitEmbedded','_createHmacHelper','HEARTBEAT_INTERVAL','_executeRemoteChangeset','listRoles','members$','MSG_FOR_ERROR','rev','liveShareOperation','LOGIN_TOKEN_PROCESSING_FAILED','INVALID_ARGUMENT','objects','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Hex','_replaceFileID','onLocalMutation','words','confirm','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','{fileID}','REDEMPTION_CODE_HAS_BEEN_CREATED','_HTTPService','getUnitId','NOT_FOUND','_transformRemoteChangesetByStateCache','isPermissionRej','snapshotServerUrl','onload','/universer-api/uniscript','[FetchMissState]','mixIn','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSession]','catch','newCsEvent','COMMENT_UPDATE','from','byteOffset','awaitingChangeset','_showConflictNotification','LIVESHARE_OPERATION','_data','onSyncEditingCollabCursor','REDEMPTION_CODE_NOT_STARTED','result','entityInit$','sessionStatus','file','_syncEditingCollabCursor','_state$','MD5','_eventService','Utf8','data','entries','unpad','_doFinalize','SUBMIT_CHANGESET','EvpKDF','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_awaitingChangeset','JOIN_ROOM_FAILED','IDLE','_permissionService','/allowed','capture','_sheetTransformSelectionsService','LIVESHARE_REQUEST_HOST','_univerInstanceService','_getLoginPath','shouldCloseConn','USERS_LEAVE','_injector','UNIVER_SHEET','localeService','appendMutation','liveShareNewHost','FETCH_MISSING','APPLY_DUPLICATED','&source=','updateCursorEvent','onRemoteChangeset','onMissingChangesets','_onOffline','_toggleOffline','includes','_remoteChangesetQueue','NEW_CHANGESETS','create','_keySchedule','location','SNAPSHOT_HAS_BEEN_REMOVED','_scheduleCollaborationTimeoutTimer','_isPermissionRej','registerHTTPInterceptor','code','waitForRoom$','CONFLICT','HELLO','FAIL','_queuedRemoteChangesets','_socket','_onRecvEvent','finalize','every','AWAITING_WITH_PENDING','key','sin','session','createSocket','join','onTransformState','MOBILE_HAS_BEEN_BOUND','RECV','SerializableCipher','_socketMessageSubscription','CHANGESET_REVISION_CONFILICT','_getAPIPrefix','/universer-api/snapshot','isArray','createEncryptor','_httpService','getResourcesRequest','decrypt','saveSheetBlock','unknown','[CollaborationSessionService]:\x20socket\x20error','_transformStateCache','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_initDependencies','1847706LIfhTK','createInstance','SHA1','_nDataBytes','_onFetchMissResult','asObservable','_networkConditionService','_localCacheService','NoPadding','indexOf','[SyncedState]:\x20received\x20acknowledgement.','COMPLETION_FINISHED','_createHandler','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ERROR_IMAGE_TYPE','replace','slice','_initMergeInterceptor','getSheetBlock','Could\x20not\x20dynamically\x20require\x20\x22','_tryReconnect','/universer-api/user/session-ticket','_members','subscribe','now','readyForCollab','[CollaborationSessionService]','getOwnPropertyDescriptor','prototype','transformMutationsWithChangeset','UNAUTHENTICATED','_commentUpdate$','loadUnitOfRevision','HttpExport','_iv','synced','deepClone','_updateLocalCache','subUnitId','transformChangesets','putCollaborators','_updateStatus','NOT_COLLAB','POST','equals','_collaborationPaused','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getCurrentUser','_scheduleCompleteTimestamp','salt','createDecryptor','changesets','onTransformRemoteChangesetByIMECache','uploadFileServerUrl','REDEMPTION_CODE_INACTIVE','socket\x20close','_onJoinRoomEvent','_instanceService','pipe','_transitionLocked','_resendTimeout','__esModule','roles','_commentService','max','INVITE_CODE_HAS_BEEN_UES','reject','_snapshotService','msCrypto','CipherParams','symbol','startTime','saveChangeset','headers','getMember','_logService','hostname','2946213tKRYse','incrementRevOfUnit','patch','DATA_SOURCE_TOO_LARGE','_tryEnsureSocket','online$','_telemetryService','reqId','_removeRoom','LICENSE_EXPORT_SIZE_EXCEEDED','next','CURRENT_STATUS_CANNOT_OPERATE','_singleActiveUnitService','_clearRetryConnectingTimer','close$','_onConflict','_onMessage','_collaborationTimeoutTimer','fetchMissingChangesets','transformSelections','getCurrentSelections','getImageSourceCache','permissionRejEvent','ENTITLE_REPORT_LIMIT_EXCEED','_transformService','addHandlerCallback','153800MHNnJO','_doReset','lib','onlyLocal','change$','length','INGEST','_handlerCallback','complete','_socket$','exports','COMPRESS_MUTATION_APPLY','blockSize','dispose$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','/-/object/-/batch_allowed','_oKey','onMissedChangesetFetched','OTHER_CLIENTS_EDITING','offline','cfg','univer-pro.collaboration-client.network-condition.service','_changesetSessionId','_transformIMECache','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UNRECOGNIZED','UNKNOWN_CMD','userID','cmd','_updateState','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_getSignURL','&assign=','_members$','YUUMI_AI_RUN_FAILED','BufferedBlockAlgorithm','getConfig','_getSendChangesetTimeout','YUUMI_CONNECTOR_URL_NOT_FOUND','onTransformRemoteChangesetByStateCache','mutations','_transformRemoteChangesetByIMECache','params','_hasher','HEARTBEAT','CONNECTOR_DATA_TOO_LARGE','open$','origin','ALREADY_EXISTS','init','_initRequestHeader','body','TOO_MANY_REQUESTS','commentUpdate$','/collaborator','[CollaborationUndoRedoService]','INTERNAL_ERROR','JOIN_ROOM_PERMISSION_DENIED','_status$','/universer-api/comb','HmacSHA1','UNIVER_DOC','Base','_userManagerService','_initUnitPermissionChange','_collaborationSessionService','updateSnapshot','_parse','sendChangesetTimeout','resend','state','socketService','hasher','PERMISSION_REJ','133071sDBGnv','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/fetchmissing?from=','_unlockTransition','findIndex','$super','[PendingState]:\x20unhandled\x20univer\x20type:\x20','updateMember','_candidateSocket','_stopTelemetryCollaborationNewChangeset','executeCommand','sessionStatus$','_resendTimer','ws://127.0.0.1:8000/universer-api/comb/connect','updateCollaborator','save\x20fail\x20reason\x20is\x20','Hasher','_onConnectionFailed','collaboration-client.local-cache-service','_getUndoStack','filter','_rescheduleHeartbeat','unitInfo$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_createSocket','telemetry\x20info\x20is\x20not\x20initialized','OpenSSL','update','delete','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_memberService','clear','LIVESHARE_NEW_HOST','toString','csAckEvent','APPLY_PERMISSION_DENIED','690360MuGKzB','getInterceptPoints','setWaitCount','_key','CHANGESET_ACK','csRejEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getMemberID','target','AES','[UniverCollaborationClientPlugin]','102022veJwoW','append','send','\x20to\x20','_waitForHeartbeatResponse','requestParams','stopTime','charCodeAt','_getRedoStack','_cipher','__creator','state$','responseType','Failed\x20to\x20update\x20permission\x20point','refreshPermission','resourceIDs','message$','_commandService','OFFLINE','error','_onRemoteRejected','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','stringify','PSEUDO_FETCH_MISSING_RESULT','Decryptor','status','getAllMembers','objectID','toggleOffline','onSendChangeset','2882kPbZBb','disposeWithMe','_getAPIPrefixPath','_startTelemetryCollaborationNewChangeset','_keyPriorReset','[SyncedState]:\x20received\x20rejection.','DEFAULT_FILE_NAME','downloadEndpointUrl','fromCollab','_localeService','_process','UNISCRIPT_RUN','UNIVER_COLLABORATION_CLIENT_PLUGIN','getActiveSheet','_getCtorByUniverType','removeMember','_handler','/object/','UserProfileImg','reset','EMAIL_VERIFY_CODE_MISMATCH','_pendingMutations','subject','BlockCipher','_toggleOnline','WordArray','encryptBlock','ENTITLE_CAN_NOT_BUY_LOWER_OTP','REDEMPTION_CODE_FULLY_REDEEMED','/object','_sessions','loadDoc','_telemetryInfo','disableLocalCache','auth.needGotoLoginAlert','_shouldReportTelemetry','concat','padding','_ENC_XFORM_MODE','_checkMissing','INVALID_INVITE_CODE','/universer-api/authz','UPDATE_PERMISSION_OBJ','decryptBlock','Latin1','_clearCollaborationTimeoutTimer','HEARTBEAT_TIMEOUT','c1Prime','_waitCount','onTransformSelections','_clearTimeoutTimer','failed\x20to\x20apply\x20missed\x20changesets!','_replayCachedMutations','_schedule','leaveEvent','UNKNOWN_CODE','_retryCount','not_collab','session.join-failed','SHOULD_CLOSE_CONN','algo','UNDEFINED','Univer','requireSession','error$','hasOwnProperty','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_listenToNetworkCondition','size','get','c2Prime','_disableEditing','4FSDLlu','collabSubmitChangesetUrl','format','SUBMIT_CHANGESET_TIMEOUT','UNIVER_PROJECT','values','status$','_lockTransition','_getUploadFileURL','map','_iKey','socket\x20open.','_onConnectionOpen','saveSnapshot','_onRemoteACK','eventID','method','authzUrl','call','USER_IS_ANONYMOUS','_sendHeartbeatTimer','getUnitType','PENDING','originalMeta','/universer-api/oidc/authpage','href','loginUrlKey','_entities','session.room-not-exists','_createHelper','_unitInfo$','sid','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','keySize','getSnapshotAPIPath','forEach','ENTITLE_INSUFFICIENT_QUOTA','charAt','selections','_undoRedoService','session.room-full','Error\x20on\x20receiving\x20event','baseRev','submit\x20changeset\x20error!','HttpImport','LEAVE','objectActions','batchAllowed','LIVESHARE_TERMINATE','encodeURIComponent','unit-cache-','encode','People','push','ClipsheetFragments','ERROR_IMAGE','_startCollaboration','updateOfflineData','memberID','UNIVER_UNKNOWN','24770buYDnv','dispose','YUUMI_URL_COL_OUT_OF_RANGE','52qIWnMH','put','YUUMI_RATE_OVER_LIMIT','find','onCommandExecuted','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','compute','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','BASE64','PERMISSION_DENIED','REDEMPTION_INVALID_CODE','pad','/universer-api/snapshot/','_createInitialState','APPLY_NON_SEQUENTIAL_REVISION','objectType','unitId\x20is\x20not\x20found','enableOfflineEditing','_sendHeartbeat','_roomCreated$','_applyRemoteChangeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','byteLength','WECHAT_HAS_BEEN_BOUND','encrypt','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_clearUndo','SOCKET_FAILED_RETRY','_onUserJoin','awaiting_with_pending','COMPRESS_MUTATION_SEND','YUUMI_UNABLE_LOAD_URL','_getCurrentRevision','signUrlServerUrl','pauseCollaboration','SNAPSHOT_URL_KEY','getRandomValues','USER_NOT_INVITED_CODE','post','JOINING','image/jpeg','set','JOIN_ROOM_NOT_EXISTS','ceil','REDEMPTION_USER_NOT_ELIGIBLE','_init','_substituteRedoStack','REDEMPTION_USER_REDEEM_TIMES_EXCEED','JOIN','_entityInit$','snapshot','reduce','withCredentials','/unit/','listCollaborators','function','image/jpg','transformUndoRedo','readInt32LE','ONLINE','_transformUndoredo','getFocusedUnit','_changesetReqId','setCurrentUser','_retryConnectingTimer','image/gif','LICENSE_IMPORT_SIZE_EXCEEDED','enc','_acknowledgedAwaitingChangeset','getUnitOnRev','copyFileMeta','_transformStack','HmacMD5','SUCCUSS','src','routeKey','_snapshotServerService','floor','/block/','loadOfflineData','range','getTypeOfUnitDisposed$','_clearHeartbeatTimer','INVITE_CODE_REQUIRED','resolve','30leGAdY','CHANGESET_REJ','action','onStateChange','[OfflineState]:\x20received\x20rejection.','_incrementRevisionNumber','collaboration_new_changeset','commentUpdateEvent','_exhaustRemoteChangesetQueue','Encryptor','OTHER_CLIENT_EDITING','clamp','pending','_type','APPLY_REJECT','onCommentUpdate','title','?url=','collabWebSocketUrl','min','_submitChangeset','UPDATE_CURSOR','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','close','_timeoutTimer','splice','LIVESHARE_FETCH_OPERATIONS','has','YUUMI_ASYNCIO_CANCELLED','AUTHORIZE_CODE_ILLEGAL','CHANGESET_SHOULD_RETRY','LICENSE_MAX_UNITS_EXCEEDED','LOGIN_FAILED','add','actions','clone','_state','PERSON','_substituteUndoStack','SNAPSHOT_INVALID_SNAPSHOT','_sender','_fetchMissChangesets','_undoStacks','_configService','getValue','ENTITLE_DUP_SUBSCRIPTION','infoRsp','enableCollaboration','ERROR_AGAIN','_xformMode','_minBufferSize','_revisionService','extend','_hash','connection\x20error','name','sigBytes','event$','_emitMembers','_decreaseWaiting','string','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','MOBILE_VERIFY_CODE_MISMATCH','awaiting','onTransformIME','localCacheService','collaMsg','?size=','getRoom'];_0x45df=function(){return _0x4ff54c;};return _0x45df();}import{RichTextEditingMutation as _0x30edc9}from'@univerjs/docs';import{SheetsSelectionsService as _0x4ee357,SetSelectionsOperation as _0x14155d,InsertSheetMutation as _0x116a6f,WorkbookEditablePermission as _0xe33bd0,SheetPermissionInitController as _0x27db7e}from'@univerjs/sheets';import{Subject as _0x2e13d0,merge as _0x23bbdc,of as _0x35f3b7,BehaviorSubject as _0xe5c9e8,takeUntil as _0x2b999a,ReplaySubject as _0x4f8075,take as _0x5da8a6,map as _0x39bd45,shareReplay as _0x490df4,firstValueFrom as _0x1a773a,concatMap as _0x253d1a}from'rxjs';import{ITelemetryService as _0x1ec39c}from'@univerjs/telemetry';import{map as _0x4bbb67,take as _0x4eccbf,filter as _0x53e131,delay as _0xdee1e3,takeUntil as _0x3013c1}from'rxjs/operators';import{HTTPService as _0x562ec3,ISocketService as _0x3c078d,MergeInterceptorFactory as _0x2a7a5a,HTTPRequest as _0x5a6eb7,UniverNetworkPlugin as _0x23d8c5,ThresholdInterceptorFactory as _0x52c7f4}from'@univerjs/network';import{ImageSourceType as _0x173291,ImageUploadStatusType as _0x2a2d1,IImageIoService as _0x475f92}from'@univerjs/drawing';import{getGlobalObject as _0x4af11f}from'@univerjs-pro/license';const fs=_0x59b711(0x148),vs=_0x59b711(0x2fc),ps=0x7d0,Es=_0x59b711(0x212),Sr=_0x59b711(0x169),ms=_0x59b711(0x3ec),Is=0x7530,di=_0x59b711(0x280),fi=0x4e20,Ss=0x4e20,gs='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,gr='LOCAL_CACHE_INTERVAL',Tr=0x3e8,Os=_0x59b711(0x1f6),Rs=_0x59b711(0x2b2),Or=_0x59b711(0x389),Rr=_0x59b711(0x406);var vi=(_0x331d3b=>(_0x331d3b[_0x331d3b['UNDEFINED']=0x0]=_0x59b711(0x28f),_0x331d3b[_0x331d3b['OK']=0x1]='OK',_0x331d3b[_0x331d3b['INTERNAL_ERROR']=0x2]=_0x59b711(0x1f3),_0x331d3b[_0x331d3b[_0x59b711(0x2e2)]=0x3]='PERMISSION_DENIED',_0x331d3b[_0x331d3b[_0x59b711(0x401)]=0x4]=_0x59b711(0x401),_0x331d3b[_0x331d3b[_0x59b711(0x172)]=0x5]='UNAUTHENTICATED',_0x331d3b[_0x331d3b[_0x59b711(0x1eb)]=0x6]='ALREADY_EXISTS',_0x331d3b[_0x331d3b['INVALID_ARGUMENT']=0x7]=_0x59b711(0x3f4),_0x331d3b[_0x331d3b[_0x59b711(0x1ef)]=0x8]='TOO_MANY_REQUESTS',_0x331d3b[_0x331d3b[_0x59b711(0x15f)]=0x9]=_0x59b711(0x15f),_0x331d3b[_0x331d3b[_0x59b711(0x34f)]=0xa]='LOGIN_FAILED',_0x331d3b[_0x331d3b['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x59b711(0x36d),_0x331d3b[_0x331d3b['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x331d3b[_0x331d3b['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x59b711(0x266),_0x331d3b[_0x331d3b['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x331d3b[_0x331d3b['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x59b711(0x34c),_0x331d3b[_0x331d3b[_0x59b711(0x3f3)]=0x10]=_0x59b711(0x3f3),_0x331d3b[_0x331d3b[_0x59b711(0x1ac)]=0x64]=_0x59b711(0x1ac),_0x331d3b[_0x331d3b[_0x59b711(0x35f)]=0x65]=_0x59b711(0x35f),_0x331d3b[_0x331d3b['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x331d3b[_0x331d3b['USER_IS_ANONYMOUS']=0xca]=_0x59b711(0x2ad),_0x331d3b[_0x331d3b[_0x59b711(0x146)]=0x1389]=_0x59b711(0x146),_0x331d3b[_0x331d3b[_0x59b711(0x356)]=0x1771]=_0x59b711(0x356),_0x331d3b[_0x331d3b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x59b711(0x12d),_0x331d3b[_0x331d3b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x59b711(0x3c7),_0x331d3b[_0x331d3b[_0x59b711(0x33c)]=0x1b59]=_0x59b711(0x33c),_0x331d3b[_0x331d3b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x59b711(0x2e7),_0x331d3b[_0x331d3b[_0x59b711(0x3a3)]=0x1b5b]=_0x59b711(0x3a3),_0x331d3b[_0x331d3b[_0x59b711(0x228)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x331d3b[_0x331d3b[_0x59b711(0x120)]=0x1b5d]=_0x59b711(0x120),_0x331d3b[_0x331d3b[_0x59b711(0x1e8)]=0x1f41]=_0x59b711(0x1e8),_0x331d3b[_0x331d3b[_0x59b711(0x34e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x331d3b[_0x331d3b[_0x59b711(0x2ba)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x331d3b[_0x331d3b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x59b711(0x31b),_0x331d3b[_0x331d3b[_0x59b711(0x1aa)]=0x232c]=_0x59b711(0x1aa),_0x331d3b[_0x331d3b[_0x59b711(0x3d9)]=0x232d]=_0x59b711(0x3d9),_0x331d3b[_0x331d3b[_0x59b711(0x2f8)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x331d3b[_0x331d3b[_0x59b711(0x2d8)]=0x2712]=_0x59b711(0x2d8),_0x331d3b[_0x331d3b[_0x59b711(0x2db)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x331d3b[_0x331d3b[_0x59b711(0x3c2)]=0x2714]=_0x59b711(0x3c2),_0x331d3b[_0x331d3b['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x59b711(0x3cc),_0x331d3b[_0x331d3b[_0x59b711(0x34b)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x331d3b[_0x331d3b[_0x59b711(0x37c)]=0x271c]=_0x59b711(0x37c),_0x331d3b[_0x331d3b[_0x59b711(0x3b4)]=0x271d]=_0x59b711(0x3b4),_0x331d3b[_0x331d3b[_0x59b711(0x1d9)]=0x271e]=_0x59b711(0x1d9),_0x331d3b[_0x331d3b[_0x59b711(0x1dd)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x331d3b[_0x331d3b[_0x59b711(0x1e1)]=0x2720]=_0x59b711(0x1e1),_0x331d3b[_0x331d3b[_0x59b711(0x39c)]=0x2af9]=_0x59b711(0x39c),_0x331d3b[_0x331d3b[_0x59b711(0x195)]=0x2ee1]=_0x59b711(0x195),_0x331d3b[_0x331d3b[_0x59b711(0x27a)]=0x2ee2]=_0x59b711(0x27a),_0x331d3b[_0x331d3b['INVITE_CODE_REQUIRED']=0x2ee3]=_0x59b711(0x32c),_0x331d3b[_0x331d3b[_0x59b711(0x2fe)]=0x2ee4]=_0x59b711(0x2fe),_0x331d3b[_0x331d3b[_0x59b711(0x3c3)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x331d3b[_0x331d3b[_0x59b711(0x2f0)]=0x32c9]=_0x59b711(0x2f0),_0x331d3b[_0x331d3b['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x59b711(0x142),_0x331d3b[_0x331d3b['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x331d3b[_0x331d3b[_0x59b711(0x26d)]=0x36b1]=_0x59b711(0x26d),_0x331d3b[_0x331d3b['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x59b711(0x182),_0x331d3b[_0x331d3b[_0x59b711(0x35c)]=0x36b3]=_0x59b711(0x35c),_0x331d3b[_0x331d3b['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x331d3b[_0x331d3b['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x59b711(0x3da),_0x331d3b[_0x331d3b['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x59b711(0x1b8),_0x331d3b[_0x331d3b[_0x59b711(0x2be)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x331d3b[_0x331d3b[_0x59b711(0x3cf)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x331d3b[_0x331d3b[_0x59b711(0x2e3)]=0x3a99]=_0x59b711(0x2e3),_0x331d3b[_0x331d3b['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x59b711(0x18a),_0x331d3b[_0x331d3b[_0x59b711(0x26e)]=0x3a9b]=_0x59b711(0x26e),_0x331d3b[_0x331d3b[_0x59b711(0x415)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x331d3b[_0x331d3b[_0x59b711(0x305)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x331d3b[_0x331d3b[_0x59b711(0x308)]=0x3a9e]=_0x59b711(0x308),_0x331d3b[_0x331d3b[_0x59b711(0x3fe)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x331d3b[_0x331d3b[_0x59b711(0x1a4)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x331d3b[_0x331d3b[_0x59b711(0x1d4)]=-0x1]=_0x59b711(0x1d4),_0x331d3b))(vi||{}),Q=(_0x4b6dd3=>(_0x4b6dd3[_0x4b6dd3[_0x59b711(0x2d5)]=0x0]=_0x59b711(0x2d5),_0x4b6dd3[_0x4b6dd3[_0x59b711(0x1f8)]=0x1]=_0x59b711(0x1f8),_0x4b6dd3[_0x4b6dd3['UNIVER_SHEET']=0x2]=_0x59b711(0x11b),_0x4b6dd3[_0x4b6dd3[_0x59b711(0x3a9)]=0x3]=_0x59b711(0x3a9),_0x4b6dd3[_0x4b6dd3[_0x59b711(0x29e)]=0x4]='UNIVER_PROJECT',_0x4b6dd3[_0x4b6dd3[_0x59b711(0x1d4)]=-0x1]=_0x59b711(0x1d4),_0x4b6dd3))(Q||{}),j=(_0x57ebcd=>(_0x57ebcd[_0x57ebcd[_0x59b711(0x1d5)]=0x0]=_0x59b711(0x1d5),_0x57ebcd[_0x57ebcd[_0x59b711(0x134)]=0x1]=_0x59b711(0x134),_0x57ebcd[_0x57ebcd[_0x59b711(0x309)]=0x2]='JOIN',_0x57ebcd[_0x57ebcd['LEAVE']=0x3]=_0x59b711(0x2c7),_0x57ebcd[_0x57ebcd[_0x59b711(0x1c1)]=0x4]='INGEST',_0x57ebcd[_0x57ebcd['HEARTBEAT']=0x5]='HEARTBEAT',_0x57ebcd[_0x57ebcd[_0x59b711(0x143)]=0x6]=_0x59b711(0x143),_0x57ebcd[_0x57ebcd[_0x59b711(0x1d4)]=-0x1]='UNRECOGNIZED',_0x57ebcd))(j||{}),pe=(_0x1a64ed=>(_0x1a64ed[_0x1a64ed['UNKNOWN_CODE']=0x0]=_0x59b711(0x289),_0x1a64ed[_0x1a64ed['OK']=0x1]='OK',_0x1a64ed[_0x1a64ed['FAIL']=0x2]=_0x59b711(0x135),_0x1a64ed[_0x1a64ed['JOIN_ROOM_FULL']=0x3e9]=_0x59b711(0x3df),_0x1a64ed[_0x1a64ed[_0x59b711(0x303)]=0x3ea]=_0x59b711(0x303),_0x1a64ed[_0x1a64ed['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x59b711(0x1f4),_0x1a64ed[_0x1a64ed[_0x59b711(0x3c0)]=0x3ec]=_0x59b711(0x3c0),_0x1a64ed[_0x1a64ed[_0x59b711(0x1d4)]=-0x1]=_0x59b711(0x1d4),_0x1a64ed))(pe||{}),pi=(_0x1ba337=>(_0x1ba337[_0x1ba337[_0x59b711(0x3e5)]=0x0]='Undefined',_0x1ba337[_0x1ba337[_0x59b711(0x2c6)]=0x1]=_0x59b711(0x2c6),_0x1ba337[_0x1ba337['HttpExport']=0x2]=_0x59b711(0x175),_0x1ba337[_0x1ba337[_0x59b711(0x3ea)]=0x3]=_0x59b711(0x3ea),_0x1ba337[_0x1ba337['UnitSnapshot']=0x4]='UnitSnapshot',_0x1ba337[_0x1ba337[_0x59b711(0x264)]=0x5]=_0x59b711(0x264),_0x1ba337[_0x1ba337[_0x59b711(0x2d0)]=0x6]=_0x59b711(0x2d0),_0x1ba337[_0x1ba337[_0x59b711(0x1d4)]=-0x1]=_0x59b711(0x1d4),_0x1ba337))(pi||{});const Cs=_0x59b711(0x334);function Ns(_0x2dde8b){var _0x1db124=_0x59b711;return JSON['stringify'](_0x2dde8b)[_0x1db124(0x1c0)];}var re=(_0x193639=>(_0x193639[_0x59b711(0x338)]=_0x59b711(0x338),_0x193639[_0x59b711(0x2e2)]='PERMISSION_DENIED',_0x193639[_0x59b711(0x133)]='CONFLICT',_0x193639[_0x59b711(0x394)]=_0x59b711(0x394),_0x193639[_0x59b711(0x10f)]=_0x59b711(0x10f),_0x193639['SOCKET_FAILED_RETRY']=_0x59b711(0x2f4),_0x193639['SOCKET_FAILED']='SOCKET_FAILED',_0x193639[_0x59b711(0x29d)]=_0x59b711(0x29d),_0x193639))(re||{});class ve{constructor(){var _0x544303=_0x59b711;D(this,_0x544303(0x3d5),new _0x2e13d0()),D(this,_0x544303(0x368),this[_0x544303(0x3d5)][_0x544303(0x159)]());}[_0x59b711(0x3a8)](_0x4b76fa){var _0xe9e3bf=_0x59b711;this[_0xe9e3bf(0x3d5)][_0xe9e3bf(0x1ab)](_0x4b76fa);}}class Ei{constructor(){var _0x1ac819=_0x59b711;D(this,_0x1ac819(0x173),new _0x2e13d0()),D(this,_0x1ac819(0x1f0),this[_0x1ac819(0x173)][_0x1ac819(0x159)]());}[_0x59b711(0x33d)](_0x575ab8){var _0x4be37d=_0x59b711;this[_0x4be37d(0x173)][_0x4be37d(0x1ab)](_0x575ab8);}}var bs=Object[_0x59b711(0x16f)],Ds=(_0x48e11f,_0x2546b8,_0x12e579,_0x3736f5)=>{var _0xa242d0=_0x59b711;for(var _0x245a7b=_0x3736f5>0x1?void 0x0:_0x3736f5?bs(_0x2546b8,_0x12e579):_0x2546b8,_0x5f572d=_0x48e11f[_0xa242d0(0x1c0)]-0x1,_0x47c0a4;_0x5f572d>=0x0;_0x5f572d--)(_0x47c0a4=_0x48e11f[_0x5f572d])&&(_0x245a7b=_0x47c0a4(_0x245a7b)||_0x245a7b);return _0x245a7b;},Ft=(_0x112d66,_0x58fa14)=>(_0x5e8469,_0x55c5ba)=>_0x58fa14(_0x5e8469,_0x55c5ba,_0x112d66);let Pe=class extends _0x58c6ed{constructor(_0xfe8bc6,_0x3d77e2){var _0x8ca265=_0x59b711;super(),D(this,_0x8ca265(0x3bb),new Map()),D(this,'_roomCreated$',new _0x2e13d0()),(this[_0x8ca265(0x116)]=_0xfe8bc6,this[_0x8ca265(0x1fa)]=_0x3d77e2,this[_0x8ca265(0x253)](_0x23bbdc(this[_0x8ca265(0x116)][_0x8ca265(0x32a)](_0x119ad1[_0x8ca265(0x11b)])[_0x8ca265(0x18e)](_0x4bbb67(_0x3657ed=>_0x3657ed[_0x8ca265(0x400)]())),this[_0x8ca265(0x116)][_0x8ca265(0x32a)](_0x119ad1['UNIVER_DOC'])[_0x8ca265(0x18e)](_0x4bbb67(_0x16f0e0=>_0x16f0e0[_0x8ca265(0x400)]())),this[_0x8ca265(0x116)][_0x8ca265(0x32a)](_0x119ad1[_0x8ca265(0x3a9)])[_0x8ca265(0x18e)](_0x4bbb67(_0x992ba7=>_0x992ba7[_0x8ca265(0x400)]())))[_0x8ca265(0x16b)](_0xe6d9af=>this['_removeRoom'](_0xe6d9af))));}[_0x59b711(0x132)](_0x3d0d07){var _0x972a33=_0x59b711;return this[_0x972a33(0x3bb)][_0x972a33(0x34a)](_0x3d0d07)?_0x35f3b7(this[_0x972a33(0x3bb)][_0x972a33(0x297)](_0x3d0d07)):this[_0x972a33(0x2ec)][_0x972a33(0x18e)](_0x4bbb67(_0x386e39=>{var _0x2ac1f3=_0x972a33;if(_0x386e39===_0x3d0d07)return this[_0x2ac1f3(0x3bb)][_0x2ac1f3(0x297)](_0x386e39);}));}[_0x59b711(0x318)](_0x1dbf66){var _0x57030f=_0x59b711;this[_0x57030f(0x1fa)][_0x57030f(0x318)](_0x1dbf66);}[_0x59b711(0x183)](){var _0x3cefff=_0x59b711;return this[_0x3cefff(0x1fa)][_0x3cefff(0x183)]();}[_0x59b711(0x20c)](_0xf4095e,_0x4f3b6f){var _0x9f7766=_0x59b711;let _0x57b490=this[_0x9f7766(0x3bb)][_0x9f7766(0x297)](_0xf4095e);_0x57b490||(_0x57b490=new ys(),this[_0x9f7766(0x3bb)][_0x9f7766(0x302)](_0xf4095e,_0x57b490),this[_0x9f7766(0x2ec)][_0x9f7766(0x1ab)](_0xf4095e)),_0x57b490[_0x9f7766(0x20c)](_0x4f3b6f);}[_0x59b711(0x261)](_0x179dd8,_0x18cf0d){var _0x800bc9=_0x59b711;const _0x473877=this['_roomMembers']['get'](_0x179dd8);_0x473877&&_0x473877[_0x800bc9(0x261)](_0x18cf0d);}[_0x59b711(0x373)](_0x4efe9f){var _0x549095=_0x59b711;return this['_roomMembers'][_0x549095(0x297)](_0x4efe9f);}[_0x59b711(0x19e)](_0x139cbb,_0x54a997){var _0x2f9326=_0x59b711;const _0x3255ad=this['_roomMembers'][_0x2f9326(0x297)](_0x139cbb);if(_0x3255ad)return _0x3255ad[_0x2f9326(0x19e)](_0x54a997);}[_0x59b711(0x1a9)](_0x272420){var _0x533d8e=_0x59b711;const _0x3aba4a=this['_roomMembers']['get'](_0x272420);_0x3aba4a&&(_0x3aba4a['dispose'](),this[_0x533d8e(0x3bb)]['delete'](_0x272420));}[_0x59b711(0x2d7)](){var _0x5521fb=_0x59b711;this[_0x5521fb(0x3bb)][_0x5521fb(0x2bd)](_0x16d4b4=>_0x16d4b4[_0x5521fb(0x2d7)]()),this[_0x5521fb(0x3bb)][_0x5521fb(0x224)](),this[_0x5521fb(0x2ec)][_0x5521fb(0x1c3)]();}};Pe=Ds([Ft(0x0,_0xf3afd7),Ft(0x1,_0x281a8c(_0x336c3e))],Pe);class ys extends _0x58c6ed{constructor(){var _0x28c300=_0x59b711;super(...arguments),D(this,_0x28c300(0x16a),new Map()),D(this,_0x28c300(0x1dc),new _0xe5c9e8(this[_0x28c300(0x16a)])),D(this,_0x28c300(0x3ef),this[_0x28c300(0x1dc)][_0x28c300(0x159)]());}[_0x59b711(0x2d7)](){var _0x3ffda=_0x59b711;this[_0x3ffda(0x16a)][_0x3ffda(0x224)]();}['updateMember'](_0x1a1ba8){var _0x339c89=_0x59b711;this[_0x339c89(0x16a)][_0x339c89(0x302)](_0x1a1ba8[_0x339c89(0x2d4)],_0x1a1ba8),this[_0x339c89(0x369)]();}[_0x59b711(0x261)](_0x320251){var _0x4fa3dd=_0x59b711;this[_0x4fa3dd(0x16a)][_0x4fa3dd(0x221)](_0x320251);}[_0x59b711(0x19e)](_0x30cb8a){var _0x53278c=_0x59b711;return this[_0x53278c(0x16a)]['get'](_0x30cb8a);}[_0x59b711(0x24e)](){var _0x5bd943=_0x59b711;return Array[_0x5bd943(0x40e)](this[_0x5bd943(0x16a)][_0x5bd943(0x29f)]());}[_0x59b711(0x369)](){var _0x27e264=_0x59b711;this[_0x27e264(0x1dc)]['next'](this[_0x27e264(0x16a)]);}}var Us=Object[_0x59b711(0x16f)],As=(_0x55f863,_0x4e0e66,_0x255722,_0x55860c)=>{for(var _0x9b6780=_0x55860c>0x1?void 0x0:_0x55860c?Us(_0x4e0e66,_0x255722):_0x4e0e66,_0x551138=_0x55f863['length']-0x1,_0x2f8568;_0x551138>=0x0;_0x551138--)(_0x2f8568=_0x55f863[_0x551138])&&(_0x9b6780=_0x2f8568(_0x9b6780)||_0x9b6780);return _0x9b6780;},Oe=(_0x2f9370,_0x19676a)=>(_0x6450a,_0x3f45c1)=>_0x19676a(_0x6450a,_0x3f45c1,_0x2f9370),me=(_0x1fe44a=>(_0x1fe44a[_0x1fe44a[_0x59b711(0x110)]=0x0]=_0x59b711(0x110),_0x1fe44a[_0x1fe44a[_0x59b711(0x300)]=0x1]=_0x59b711(0x300),_0x1fe44a[_0x1fe44a[_0x59b711(0x246)]=0x2]=_0x59b711(0x246),_0x1fe44a[_0x1fe44a['ONLINE']=0x3]=_0x59b711(0x314),_0x1fe44a))(me||{});const jt={[pe['FAIL']]:_0x59b711(0x28c),[pe[_0x59b711(0x3df)]]:_0x59b711(0x2c2),[pe['JOIN_ROOM_NOT_EXISTS']]:_0x59b711(0x2b6),[pe[_0x59b711(0x1f4)]]:_0x59b711(0x397),[pe[_0x59b711(0x3c0)]]:'session.room-cnt-exceeds'};let mt=class extends _0x142f2e{constructor(_0x30a5ac,_0x1cc4e5,_0x5f344e,_0x8bc3fb,_0x321257,_0x2fabe8,_0x4692b4,_0x30e7e4){var _0x469f91=_0x59b711;super(),D(this,_0x469f91(0x3cb),new _0xe5c9e8(0x0)),D(this,'sessionStatus$',this['_sessionStatus$'][_0x469f91(0x159)]()),D(this,_0x469f91(0x3d5),new _0x2e13d0()),D(this,_0x469f91(0x368),this['_event$'][_0x469f91(0x159)]()),D(this,'_socket'),D(this,_0x469f91(0x145)),D(this,_0x469f91(0x1b2)),D(this,_0x469f91(0x275),!0x1),D(this,_0x469f91(0x272),null),(this[_0x469f91(0x38c)]=_0x30a5ac,this[_0x469f91(0x19f)]=_0x5f344e,this['_configService']=_0x8bc3fb,this[_0x469f91(0x223)]=_0x321257,this[_0x469f91(0x193)]=_0x2fabe8,this['_collaborationUIEventService']=_0x4692b4,this[_0x469f91(0x1a7)]=_0x30e7e4,this['_shouldReportTelemetry']=!!this[_0x469f91(0x1a7)],_0x1cc4e5[_0x469f91(0x18e)](_0x2b999a(this[_0x469f91(0x1c8)]))[_0x469f91(0x16b)](_0x16f229=>{var _0x3ac396=_0x469f91,_0x369998;typeof _0x16f229>'u'||(this[_0x3ac396(0x137)]=_0x16f229,_0x16f229?(this['_joinRoom'](_0x16f229),this[_0x3ac396(0x145)]=_0x16f229[_0x3ac396(0x244)]['subscribe'](_0x56d751=>{var _0x3f711b=_0x3ac396;_0x56d751['routeKey']===this[_0x3f711b(0x38c)]&&this[_0x3f711b(0x39a)](_0x56d751);})):(this[_0x3ac396(0x3bd)](),this[_0x3ac396(0x3cb)][_0x3ac396(0x1ab)](0x2),(_0x369998=this[_0x3ac396(0x145)])==null||_0x369998['unsubscribe'](),this[_0x3ac396(0x145)]=null));}));}get[_0x59b711(0x418)](){var _0x2e425b=_0x59b711;return this[_0x2e425b(0x3cb)]['getValue']();}[_0x59b711(0x230)](){var _0x5ebdc3=_0x59b711,_0x170633,_0x84a494;return(_0x84a494=(_0x170633=this[_0x5ebdc3(0x137)])==null?void 0x0:_0x170633[_0x5ebdc3(0x2d4)])!=null?_0x84a494:null;}['dispose'](){var _0x2a5d67=_0x59b711;super[_0x2a5d67(0x2d7)](),this[_0x2a5d67(0x1c8)][_0x2a5d67(0x1ab)](),this['dispose$']['complete']();}['close'](){var _0x28200d=_0x59b711,_0x4eefc4,_0x3e686c;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4eefc4=this['_socket'])==null||_0x4eefc4[_0x28200d(0x236)]({'cmd':j['LEAVE'],'data':{'roomID':this[_0x28200d(0x38c)]}}),(_0x3e686c=this['_socket'])==null||_0x3e686c[_0x28200d(0x346)](),this['_event$'][_0x28200d(0x1c3)](),this[_0x28200d(0x3cb)]['complete'](),this['dispose']();}['_onCombEvent'](_0x1894a9){var _0x92c40=_0x59b711;_0x1894a9[_0x92c40(0x1d7)]===j[_0x92c40(0x309)]?this[_0x92c40(0x18c)](_0x1894a9):_0x1894a9[_0x92c40(0x1d7)]===j['RECV']&&this[_0x92c40(0x138)](_0x1894a9);}[_0x59b711(0x3d0)](_0x89813a){var _0x1fd222=_0x59b711;this[_0x1fd222(0x3cb)][_0x1fd222(0x1ab)](0x1),_0x89813a[_0x1fd222(0x236)]({'cmd':j['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1fd222(0x38c)]}]}});}[_0x59b711(0x18c)](_0x5267ba){var _0x137de2=_0x59b711,_0x4416f5;if(_0x5267ba[_0x137de2(0x131)]in jt){this[_0x137de2(0x3b5)][_0x137de2(0x3a8)]({'id':re[_0x137de2(0x10f)],'data':jt[_0x5267ba[_0x137de2(0x131)]]}),this[_0x137de2(0x3cb)][_0x137de2(0x1ab)](0x2);return;}this[_0x137de2(0x3cb)][_0x137de2(0x1ab)](0x3);const _0x7d306f=(_0x4416f5=_0x5267ba[_0x137de2(0x107)][_0x137de2(0x3ce)][this[_0x137de2(0x38c)]])==null?void 0x0:_0x4416f5['members'];_0x7d306f&&_0x7d306f[_0x137de2(0x2bd)](_0x451c86=>this['_memberService'][_0x137de2(0x20c)](this[_0x137de2(0x38c)],_0x451c86));}[_0x59b711(0x138)](_0x21bbf0){var _0x17cc31=_0x59b711;try{const _0x435ba1=_0x21bbf0[_0x17cc31(0x107)];switch(_0x435ba1['eventID']){case _0x43a4f7[_0x17cc31(0x386)]:this[_0x17cc31(0x2f5)](_0x435ba1),this[_0x17cc31(0x3d5)][_0x17cc31(0x1ab)](_0x435ba1);break;case _0x43a4f7['USERS_LEAVE']:this['_onUserLeave'](_0x435ba1),this[_0x17cc31(0x3d5)][_0x17cc31(0x1ab)](_0x435ba1);break;case _0x43a4f7[_0x17cc31(0x22d)]:case _0x43a4f7[_0x17cc31(0x34d)]:this[_0x17cc31(0x20e)](),this['_clearCollaborationTimeoutTimer'](),this[_0x17cc31(0x3d5)][_0x17cc31(0x1ab)](_0x435ba1);break;case _0x43a4f7[_0x17cc31(0x3f0)]:this[_0x17cc31(0x19f)][_0x17cc31(0x247)](_0x17cc31(0x214)+JSON[_0x17cc31(0x24a)](_0x435ba1)),this[_0x17cc31(0x3d5)][_0x17cc31(0x1ab)](_0x435ba1);break;case _0x43a4f7[_0x17cc31(0x40d)]:this['_commentService'][_0x17cc31(0x33d)](_0x435ba1[_0x17cc31(0x107)]),this[_0x17cc31(0x3d5)][_0x17cc31(0x1ab)](_0x435ba1);break;default:this[_0x17cc31(0x3d5)][_0x17cc31(0x1ab)](_0x435ba1);}}catch(_0x4e8b07){this['_logService'][_0x17cc31(0x247)](_0x4e8b07,_0x21bbf0);}}['_onUserJoin'](_0x55acbc){var _0x3dbd25=_0x59b711;this[_0x3dbd25(0x223)][_0x3dbd25(0x20c)](this['_unitID'],_0x55acbc[_0x3dbd25(0x107)]);}['_onUserLeave'](_0x113898){var _0x564c80=_0x59b711;this[_0x564c80(0x223)][_0x564c80(0x261)](this[_0x564c80(0x38c)],_0x113898[_0x564c80(0x107)][_0x564c80(0x2d4)]);}async[_0x59b711(0x236)](_0x3752c7,_0x7e1193){var _0x669704=_0x59b711;if(this[_0x669704(0x418)]!==0x3||!this[_0x669704(0x137)])throw new Error(_0x669704(0x206));try{_0x3752c7[_0x669704(0x2a9)]===_0x43a4f7[_0x669704(0x10b)]&&(this[_0x669704(0x12e)](),this[_0x669704(0x255)](_0x3752c7)),this[_0x669704(0x137)]['send']({'cmd':j[_0x669704(0x1c1)],'routeKey':_0x7e1193,'routeType':'','data':_0x3752c7});}catch(_0x50fc2b){this[_0x669704(0x19f)][_0x669704(0x247)](_0x50fc2b);}}[_0x59b711(0x12e)](){var _0x41ae2f=_0x59b711,_0x318ed8;this[_0x41ae2f(0x1b2)]=setTimeout(()=>{var _0x2985eb=_0x41ae2f;this[_0x2985eb(0x1b2)]=null,this['_collaborationUIEventService'][_0x2985eb(0x3a8)]({'id':re[_0x2985eb(0x29d)]});},(_0x318ed8=this[_0x41ae2f(0x35a)][_0x41ae2f(0x1df)](di))!=null?_0x318ed8:fi);}[_0x59b711(0x27f)](){var _0x5d8112=_0x59b711;this[_0x5d8112(0x1b2)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x59b711(0x255)](_0x3874da){var _0x3c98d1=_0x59b711;if(!this['_shouldReportTelemetry'])return;const {data:_0x194895}=_0x3874da,{unitID:_0x220a59,changeset:_0x40f6a9}=_0x194895,{mutations:_0x273819,type:_0x9b3f45}=_0x40f6a9;this['_telemetryInfo']={'unitId':_0x220a59,'type':_0x9b3f45,'startTime':performance[_0x3c98d1(0x16c)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x273819)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x351fd4=_0x59b711;if(this['_shouldReportTelemetry']){if(!this[_0x351fd4(0x272)]){this[_0x351fd4(0x19f)]['error'](_0x351fd4(0x40a),_0x351fd4(0x21e));return;}this[_0x351fd4(0x272)][_0x351fd4(0x23a)]=performance['now'](),this[_0x351fd4(0x272)][_0x351fd4(0x3e6)]=this[_0x351fd4(0x272)][_0x351fd4(0x23a)]-this[_0x351fd4(0x272)][_0x351fd4(0x19b)],this[_0x351fd4(0x1a7)][_0x351fd4(0x113)](Cs,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x59b711(0x3bd)](){var _0x212743=_0x59b711;this[_0x212743(0x272)]=null;}};mt=As([Oe(0x2,_0x1044bb),Oe(0x3,_0x8d713e),Oe(0x4,_0x281a8c(Pe)),Oe(0x5,_0x281a8c(Ei)),Oe(0x6,_0x281a8c(ve)),Oe(0x7,_0x56c622(_0x1ec39c))],mt);const J=_0x2a6406(_0x59b711(0x217));function Cr(_0x2b0f49){var _0x59b132=_0x59b711;return _0x59b132(0x2cc)+_0x2b0f49;}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0xbb83a,_0x473a7f,_0x2e2bb8,_0x2e7822)=>{var _0x244354=_0x59b711;for(var _0x2e77bb=_0x2e7822>0x1?void 0x0:_0x2e7822?Ps(_0x473a7f,_0x2e2bb8):_0x473a7f,_0x16b20a=_0xbb83a[_0x244354(0x1c0)]-0x1,_0x480023;_0x16b20a>=0x0;_0x16b20a--)(_0x480023=_0xbb83a[_0x16b20a])&&(_0x2e77bb=_0x480023(_0x2e77bb)||_0x2e77bb);return _0x2e77bb;},ut=(_0x5955a9,_0x37b03f)=>(_0x1dc436,_0x222e1d)=>_0x37b03f(_0x1dc436,_0x222e1d,_0x5955a9);function Ms(_0x2e8e57){var _0x3e12f8=_0x59b711;const {unitID:_0x2fa96f,mutations:_0x434c64}=_0x2e8e57;return{'unitId':_0x2fa96f,'subUnitId':_0x434c64[_0x3e12f8(0x1c0)]>0x0?_0x434c64[0x0][_0x3e12f8(0x1e5)][_0x3e12f8(0x17a)]:null};}let it=class{constructor(_0xa444f4,_0x11eee2,_0x1d4f73){var _0x43421b=_0x59b711;this[_0x43421b(0x11a)]=_0xa444f4,this[_0x43421b(0x1b9)]=_0x11eee2,this[_0x43421b(0x18d)]=_0x1d4f73;}[_0x59b711(0x1b4)](_0x314a6f){var _0x18942f=_0x59b711,_0x32e6a2,_0x7f7a48,_0x5876b0,_0x7e57e;const _0x5acd28=this[_0x18942f(0x11a)]['get'](_0x4ee357),{unitId:_0xe1cdd4,subUnitId:_0x4f1240}=Ms(_0x314a6f),_0x50d12d=_0x5acd28==null?void 0x0:_0x5acd28['getWorkbookSelections'](_0xe1cdd4)[_0x18942f(0x1b5)](),_0x1edf18=(_0x7f7a48=(_0x32e6a2=this[_0x18942f(0x18d)]['getUnit'](_0xe1cdd4))==null?void 0x0:_0x32e6a2[_0x18942f(0x25f)]())==null?void 0x0:_0x7f7a48[_0x18942f(0x3a6)]();if(_0x50d12d['length']===0x0||!_0xe1cdd4||!_0x4f1240)return;const _0x393349=[{'id':_0x14155d['id'],'params':{'unitId':_0xe1cdd4,'subUnitId':_0x1edf18,'selections':_0x33335d[_0x18942f(0x178)](_0x50d12d)}}],_0x64f79e=this[_0x18942f(0x1b9)][_0x18942f(0x171)](_0x314a6f,_0x393349);if(!_0x528827(_0x64f79e))throw _0x64f79e[_0x18942f(0x247)];const _0x3f8d23=(_0x7e57e=(_0x5876b0=_0x64f79e[_0x18942f(0x3e2)][0x0])==null?void 0x0:_0x5876b0[_0x18942f(0x1e5)])==null?void 0x0:_0x7e57e[_0x18942f(0x2c0)];if(Array['isArray'](_0x3f8d23)&&_0x3f8d23[_0x18942f(0x1c0)]){if(_0x3f8d23[_0x18942f(0x1c0)]===_0x393349[0x0][_0x18942f(0x1e5)][_0x18942f(0x2c0)][_0x18942f(0x1c0)]&&_0x3f8d23[_0x18942f(0x13a)]((_0x3e7ea0,_0x12acae)=>_0x4aa35e[_0x18942f(0x180)](_0x3e7ea0[_0x18942f(0x329)],_0x393349[0x0][_0x18942f(0x1e5)][_0x18942f(0x2c0)][_0x12acae][_0x18942f(0x329)])))return;this[_0x18942f(0x11a)]['get'](_0x4ce9f0)[_0x18942f(0x20f)](_0x14155d['id'],{'unitId':_0xe1cdd4,'subUnitId':_0x1edf18,'selections':_0x3f8d23});}}};it=ws([ut(0x0,_0x281a8c(_0x37ef73)),ut(0x1,_0x4ab688),ut(0x2,_0xf3afd7)],it);const _t=_0x2a6406('univer-pro.collaboration-client.single-active-unit-service');var mi=(_0x37455a=>(_0x37455a[_0x37455a[_0x59b711(0x3c9)]=0x0]=_0x59b711(0x3c9),_0x37455a[_0x37455a[_0x59b711(0x1cd)]=0x1]=_0x59b711(0x1cd),_0x37455a))(mi||{});const K='collaboration-client.config',Ls={},xs=new Set([_0x116a6f['id']]);function Vt(_0xff47f1,_0x2fde09,_0x3335fd,_0x4f9986,_0x360786){var _0x395731=_0x59b711,_0x2eca94,_0x41f016,_0x3bd203,_0x294f43;const _0x5f1959=[];for(const _0x4152e7 of _0xff47f1)if(xs['has'](_0x4152e7['id'])){if(_0x5f1959[_0x395731(0x1c0)]>0x0)break;_0x5f1959[_0x395731(0x2cf)](_0x4152e7);break;}else _0x5f1959['push'](_0x4152e7);const _0x38a116=(_0x41f016=(_0x2eca94=_0x360786[_0x395731(0x183)]())==null?void 0x0:_0x2eca94['userID'])!=null?_0x41f016:'unknown',_0x23bfdd=(_0x294f43=(_0x3bd203=_0x360786[_0x395731(0x183)]())==null?void 0x0:_0x3bd203[_0x395731(0x2d4)])!=null?_0x294f43:_0x395731(0x14f);return{'changeset':{'unitID':_0x2fde09,'type':_0x1263fa(_0x3335fd[_0x395731(0x2af)](_0x2fde09)),'baseRev':_0x4f9986[_0x395731(0x3b9)](_0x2fde09),'revision':0x0,'userID':_0x38a116,'memberID':_0x23bfdd,'mutations':_0x5f1959},'pendingMutations':_0xff47f1[_0x395731(0x164)](_0x5f1959[_0x395731(0x1c0)])};}function ks(_0x149706,_0x4e2a43,_0x1c0f5b,_0x49ad42,_0x419fa5){var _0x1b8961=_0x59b711,_0x25c80a,_0x7af220,_0x4138c3,_0x6d63d3;const _0x4ad6eb=[_0x149706[_0x1b8961(0x30c)]((_0x3c6bbd,_0x53ee2c)=>{var _0x396da3=_0x1b8961,_0x28c2e7;const {id:_0x55828c}=_0x3c6bbd,{id:_0x433b45,type:_0x1b01c8}=_0x53ee2c,_0x1656dd=(_0x28c2e7=_0x3c6bbd[_0x396da3(0x1e5)])!=null?_0x28c2e7:{'actions':null},_0x3b6d39=_0x53ee2c[_0x396da3(0x1e5)];if(_0x55828c&&_0x55828c!==_0x433b45)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x55828c+'\x20-\x20'+_0x433b45+'.');return{..._0x3c6bbd,'id':_0x433b45,'type':_0x1b01c8,'params':{'unitId':_0x3b6d39[_0x396da3(0x3c4)],'textRanges':_0x3b6d39[_0x396da3(0x380)],'actions':_0x30b598['compose'](_0x1656dd[_0x396da3(0x351)],_0x3b6d39[_0x396da3(0x351)])}};},{})],_0xd2d900=(_0x7af220=(_0x25c80a=_0x419fa5['getCurrentUser']())==null?void 0x0:_0x25c80a[_0x1b8961(0x1d6)])!=null?_0x7af220:_0x1b8961(0x14f),_0x40c85a=(_0x6d63d3=(_0x4138c3=_0x419fa5[_0x1b8961(0x183)]())==null?void 0x0:_0x4138c3['memberID'])!=null?_0x6d63d3:_0x1b8961(0x14f);return{'changeset':{'unitID':_0x4e2a43,'type':_0x1263fa(_0x1c0f5b[_0x1b8961(0x2af)](_0x4e2a43)),'baseRev':_0x49ad42[_0x1b8961(0x3b9)](_0x4e2a43),'revision':0x0,'userID':_0xd2d900,'memberID':_0x40c85a,'mutations':_0x4ad6eb},'pendingMutations':[]};}function Ii(_0x290889,_0x3c231f){var _0x49eaca=_0x59b711;const _0x33dfe5=new _0x4f8075(0x1);return setTimeout(()=>_0x33dfe5[_0x49eaca(0x1ab)](_0x3c231f),_0x290889),_0x33dfe5[_0x49eaca(0x159)]()[_0x49eaca(0x18e)](_0x5da8a6(0x1));}var $s=Object[_0x59b711(0x16f)],Se=(_0x4f48af,_0x113238,_0x127906,_0x24fe32)=>{var _0x200111=_0x59b711;for(var _0x4d8e65=_0x24fe32>0x1?void 0x0:_0x24fe32?$s(_0x113238,_0x127906):_0x113238,_0x456576=_0x4f48af[_0x200111(0x1c0)]-0x1,_0x5b91dd;_0x456576>=0x0;_0x456576--)(_0x5b91dd=_0x4f48af[_0x456576])&&(_0x4d8e65=_0x5b91dd(_0x4d8e65)||_0x4d8e65);return _0x4d8e65;},w=(_0x41296e,_0x3f2c02)=>(_0x5ea1b5,_0x5aa30f)=>_0x3f2c02(_0x5ea1b5,_0x5aa30f,_0x41296e),Si=(_0x10b905=>(_0x10b905[_0x59b711(0x17e)]=_0x59b711(0x28b),_0x10b905['SYNCED']='synced',_0x10b905[_0x59b711(0x2b0)]=_0x59b711(0x33a),_0x10b905[_0x59b711(0x379)]='awaiting',_0x10b905[_0x59b711(0x13b)]='awaiting_with_pending',_0x10b905['FETCH_MISS']=_0x59b711(0x3ad),_0x10b905[_0x59b711(0x133)]='conflict',_0x10b905[_0x59b711(0x246)]='offline',_0x10b905))(Si||{});const gi=0xea60;class ge{constructor(_0x31681a,_0x4f9f82,_0x34c9d9,_0x41539a,_0x3cc3be,_0x51057d,_0x298a57,_0x480ae8,_0x5054e7){var _0x28b3ba=_0x59b711;D(this,_0x28b3ba(0x10e),null),D(this,_0x28b3ba(0x267),[]),(this[_0x28b3ba(0x3d6)]=_0x31681a,this['type']=_0x4f9f82,this['_handler']=_0x3cc3be,this[_0x28b3ba(0x245)]=_0x51057d,this[_0x28b3ba(0x2c1)]=_0x298a57,this[_0x28b3ba(0x362)]=_0x480ae8,this[_0x28b3ba(0x15b)]=_0x5054e7,this['_awaitingChangeset']=_0x34c9d9,this[_0x28b3ba(0x267)]=_0x41539a);}[_0x59b711(0x279)](_0x39ba8c){var _0x130376=_0x59b711;const _0x531de6=this[_0x130376(0x362)][_0x130376(0x3b9)](this[_0x130376(0x3d6)]);return _0x39ba8c[_0x130376(0x3bc)]>_0x531de6+0x1?(this[_0x130376(0x262)][_0x130376(0x124)]({'from':_0x531de6,'to':_0x39ba8c[_0x130376(0x3bc)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x29b41b){var _0x5375ef=_0x59b711;this['_undoRedoService'][_0x5375ef(0x312)](this['unitID'],_0x29b41b);}['_transformSelections'](_0x3f4b13){var _0x2383a6=_0x59b711,_0xcdcafc,_0x11e5fa;(_0x11e5fa=(_0xcdcafc=this['_handler'])[_0x2383a6(0x283)])==null||_0x11e5fa[_0x2383a6(0x2ac)](_0xcdcafc,_0x3f4b13);}[_0x59b711(0x1d2)](_0x1d7d51){var _0x4f20df=_0x59b711,_0x265dfd,_0x276f3d;return(_0x276f3d=(_0x265dfd=this[_0x4f20df(0x262)])[_0x4f20df(0x36f)])==null?void 0x0:_0x276f3d['call'](_0x265dfd,_0x1d7d51);}['_transformStateCache'](_0x16e81c){var _0x8a8c53=_0x59b711,_0x1079f8,_0x2f60dc;return(_0x2f60dc=(_0x1079f8=this[_0x8a8c53(0x262)])['onTransformState'])==null?void 0x0:_0x2f60dc[_0x8a8c53(0x2ac)](_0x1079f8,_0x16e81c);}['_transformRemoteChangesetByIMECache'](_0xdb0fc2){var _0xd8b32e=_0x59b711,_0x640570,_0x2759fc,_0x553ffc;return(_0x553ffc=(_0x2759fc=(_0x640570=this[_0xd8b32e(0x262)])[_0xd8b32e(0x188)])==null?void 0x0:_0x2759fc['call'](_0x640570,_0xdb0fc2))!=null?_0x553ffc:_0xdb0fc2;}['_transformRemoteChangesetByStateCache'](_0x24791d){var _0x554f8d=_0x59b711,_0x4c2cbf,_0x20001f,_0x475d88;return(_0x475d88=(_0x20001f=(_0x4c2cbf=this[_0x554f8d(0x262)])[_0x554f8d(0x1e2)])==null?void 0x0:_0x20001f[_0x554f8d(0x2ac)](_0x4c2cbf,_0x24791d))!=null?_0x475d88:_0x24791d;}[_0x59b711(0x41a)](_0x2b97c7){var _0x4d674e=_0x59b711,_0x1bbde8,_0x2f66d9;if(this[_0x4d674e(0x390)]===Q[_0x4d674e(0x1f8)]){const {unitID:_0x2e51ee,mutations:_0x7082d5,memberID:_0x474fbe}=_0x2b97c7,_0xa761ca=_0x7082d5['length']>0x0?_0x7082d5[0x0][_0x4d674e(0x1e5)]['textRanges']:[];Array[_0x4d674e(0x149)](_0xa761ca)&&_0xa761ca[_0x4d674e(0x1c0)]>0x0&&((_0x2f66d9=(_0x1bbde8=this['_handler'])[_0x4d674e(0x414)])==null||_0x2f66d9['call'](_0x1bbde8,{'unitID':_0x2e51ee,'memberID':_0x474fbe,'textRanges':_0xa761ca}));}}[_0x59b711(0x179)](){var _0x310dce=_0x59b711,_0x59e1bf;(_0x59e1bf=this[_0x310dce(0x15b)])==null||_0x59e1bf[_0x310dce(0x2d3)](this[_0x310dce(0x3d6)],this[_0x310dce(0x390)],this[_0x310dce(0x10e)],this[_0x310dce(0x267)]);}[_0x59b711(0x2f9)](){var _0x5a7ed1=_0x59b711;return this['_revisionService'][_0x5a7ed1(0x3b9)](this[_0x5a7ed1(0x3d6)]);}[_0x59b711(0x333)](){var _0x20d12a=_0x59b711;this['_revisionService'][_0x20d12a(0x1a2)](this[_0x20d12a(0x3d6)]);}[_0x59b711(0x3ed)](_0x479f55){var _0x610033=_0x59b711,_0x47e6c3;let _0x2a3420=this[_0x610033(0x1e4)](_0x479f55);_0x2a3420=this[_0x610033(0x402)](_0x2a3420);const _0x4ec0c2=_0x15dc1f(_0x2a3420['mutations'],this[_0x610033(0x245)],{'fromCollab':!0x0});if(!_0x4ec0c2[_0x610033(0x416)])throw _0x4ec0c2[_0x610033(0x247)]instanceof Error?_0x4ec0c2['error']:new Error((_0x47e6c3=_0x4ec0c2['error'])!=null?_0x47e6c3:_0x610033(0x376));this[_0x610033(0x1d2)](_0x2a3420),this[_0x610033(0x151)](_0x2a3420),this[_0x610033(0x315)](_0x479f55),this['_transformSelections'](_0x2a3420),this[_0x610033(0x41a)](_0x2a3420),this[_0x610033(0x333)]();}}let be=class extends ge{constructor(_0x37d7ce,_0x36a35a,_0x32dac3,_0x322fb3,_0x3ae491,_0xc0c46a,_0x58dd77,_0x977dba,_0x4f6588,_0x59ddee){var _0x2eb4c4=_0x59b711;super(_0x37d7ce,_0x36a35a,null,[],_0x32dac3,_0x58dd77,_0xc0c46a,_0x322fb3,_0x59ddee),D(this,_0x2eb4c4(0x24d),_0x2eb4c4(0x177)),(this[_0x2eb4c4(0x11a)]=_0x3ae491,this[_0x2eb4c4(0x19f)]=_0x977dba,this['_transformService']=_0x4f6588,this[_0x2eb4c4(0x370)]=_0x59ddee);}['appendMutation'](_0x5ab357){var _0x348d7a=_0x59b711;const _0x262e88=this['_injector']['createInstance'](ae,this[_0x348d7a(0x3d6)],this[_0x348d7a(0x390)],[_0x5ab357],this['_handler']);return _0x262e88[_0x348d7a(0x287)](),_0x262e88['_updateLocalCache'](),_0x262e88;}[_0x59b711(0x123)](_0x339aca){var _0x2cf91a=_0x59b711;if(this['_checkMissing'](_0x339aca))return this['_injector'][_0x2cf91a(0x155)](ee,this[_0x2cf91a(0x3d6)],this[_0x2cf91a(0x390)],null,[],null,[_0x339aca],this[_0x2cf91a(0x262)]);try{const _0x15ccf7=this[_0x2cf91a(0x1b9)][_0x2cf91a(0x171)](_0x339aca,[_0x3bc000]);if(_0x528827(_0x15ccf7)){const {c1Prime:_0x5490f2}=_0x15ccf7;return this[_0x2cf91a(0x3ed)](_0x5490f2),this;}throw _0x15ccf7[_0x2cf91a(0x247)];}catch(_0x1c2169){return this['_logService'][_0x2cf91a(0x247)](_0x1c2169),this[_0x2cf91a(0x1b0)](!0x1);}}['_onConflict'](_0x356a6f){var _0xf580cb=_0x59b711;return this['_injector']['createInstance'](ue,this['unitID'],this[_0xf580cb(0x390)],null,[],this['_handler'],_0x356a6f);}[_0x59b711(0x39e)](){var _0x35d645=_0x59b711;throw new Error(_0x35d645(0x15e));}['onRemoteRej'](){var _0x288eb0=_0x59b711;throw new Error(_0x288eb0(0x257));}[_0x59b711(0x38f)](){return this;}[_0x59b711(0x250)](){var _0x4803be=_0x59b711;return this['_injector'][_0x4803be(0x155)](de,this[_0x4803be(0x3d6)],this[_0x4803be(0x390)],null,[],this[_0x4803be(0x262)]);}['toggleOnline'](){return this;}[_0x59b711(0x200)](){var _0x195503=_0x59b711;throw new Error(_0x195503(0x409));}['fetchMiss'](){var _0x5dca75=_0x59b711;const _0x3dce5a=this[_0x5dca75(0x362)]['getCurrentRevOfUnit'](this[_0x5dca75(0x3d6)]);return this[_0x5dca75(0x262)][_0x5dca75(0x124)]({'from':_0x3dce5a,'to':0x0}),this['_injector'][_0x5dca75(0x155)](ee,this['unitID'],this[_0x5dca75(0x390)],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x281a8c(_0x561b69)),w(0x4,_0x281a8c(_0x37ef73)),w(0x5,_0xc12165),w(0x6,_0x4ce9f0),w(0x7,_0x1044bb),w(0x8,_0x4ab688),w(0x9,_0x56c622(J))],be);let ae=class extends ge{constructor(_0x2216d4,_0x283c29,_0x4035f3,_0xcb8b17,_0x395c69,_0x41adc6,_0x197272,_0x129510,_0x21e319,_0x53b6b3,_0x469943,_0x487c02,_0x3c2cf1,_0x37fd48){var _0x5d3081=_0x59b711;super(_0x2216d4,_0x283c29,null,_0x4035f3,_0xcb8b17,_0x21e319,_0x3c2cf1,_0x41adc6,_0x37fd48),D(this,'status',_0x5d3081(0x33a)),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x5d3081(0x37d),null),(this[_0x5d3081(0x11a)]=_0x395c69,this[_0x5d3081(0x223)]=_0x197272,this[_0x5d3081(0x19f)]=_0x129510,this[_0x5d3081(0x35a)]=_0x53b6b3,this[_0x5d3081(0x1b9)]=_0x469943,this[_0x5d3081(0x116)]=_0x487c02);}[_0x59b711(0x11d)](_0x3352d2){var _0x38518c=_0x59b711;return this[_0x38518c(0x267)][_0x38518c(0x2cf)](_0x3352d2),this[_0x38518c(0x179)](),this;}[_0x59b711(0x123)](_0x1dc7a7){var _0x2808c6=_0x59b711;if(this['_checkMissing'](_0x1dc7a7))return this[_0x2808c6(0x3d4)](),this[_0x2808c6(0x11a)]['createInstance'](ee,this[_0x2808c6(0x3d6)],this[_0x2808c6(0x390)],null,this['_pendingMutations'],null,[_0x1dc7a7],this[_0x2808c6(0x262)]);try{const _0xaba585=this['_transformService']['transformMutationsWithChangeset'](_0x1dc7a7,this[_0x2808c6(0x267)]);if(_0x528827(_0xaba585)){const {c1Prime:_0x1cc2af,m2Prime:_0x16a1db}=_0xaba585;this[_0x2808c6(0x3ed)](_0x1cc2af);const _0x32bd54=this['_injector'][_0x2808c6(0x155)](ae,this['unitID'],this[_0x2808c6(0x390)],_0x16a1db,this[_0x2808c6(0x262)]);this[_0x2808c6(0x3d4)]();const _0x19ddbd=new Date()['getTime'](),_0x5db045=this[_0x2808c6(0x184)]?Math[_0x2808c6(0x194)](this['_scheduleCompleteTimestamp']-_0x19ddbd,0x0):this['_getSendChangesetTimeout']();return _0x32bd54['_schedule'](_0x5db045),_0x32bd54;}throw _0xaba585[_0x2808c6(0x247)];}catch(_0x7d8a9a){return this[_0x2808c6(0x19f)][_0x2808c6(0x247)](_0x7d8a9a),this[_0x2808c6(0x1b0)](!0x1);}}['onRemoteAck'](){var _0xec0081=_0x59b711;throw new Error(_0xec0081(0x3a1));}['onRemoteRej'](){var _0x477146=_0x59b711;throw new Error(_0x477146(0x3c8));}[_0x59b711(0x38f)](){return this;}[_0x59b711(0x250)](){var _0x28a4d5=_0x59b711;return this[_0x28a4d5(0x3d4)](),this[_0x28a4d5(0x11a)]['createInstance'](de,this[_0x28a4d5(0x3d6)],this[_0x28a4d5(0x390)],null,this[_0x28a4d5(0x267)],this[_0x28a4d5(0x262)]);}[_0x59b711(0x3ae)](){return this;}[_0x59b711(0x287)](_0x5b3948){var _0x12716c=_0x59b711;const _0x58c4d1=_0x5b3948!=null?_0x5b3948:this[_0x12716c(0x1e0)]();this[_0x12716c(0x184)]=new Date()['getTime']()+_0x58c4d1,this['_sendingTimer']=setTimeout(()=>{var _0x312c8c=_0x12716c;this[_0x312c8c(0x3d4)]();let _0x157561=null;switch(this[_0x312c8c(0x390)]){case Q[_0x312c8c(0x11b)]:{_0x157561=Vt(this['_pendingMutations'],this['unitID'],this[_0x312c8c(0x116)],this[_0x312c8c(0x362)],this['_memberService']);break;}case Q[_0x312c8c(0x1f8)]:{this[_0x312c8c(0x267)][_0x312c8c(0x13a)](_0x1474ff=>_0x1474ff['id']===_0x30edc9['id'])?_0x157561=ks(this[_0x312c8c(0x267)],this[_0x312c8c(0x3d6)],this[_0x312c8c(0x116)],this['_revisionService'],this['_memberService']):_0x157561=Vt(this[_0x312c8c(0x267)],this[_0x312c8c(0x3d6)],this[_0x312c8c(0x116)],this[_0x312c8c(0x362)],this['_memberService']);break;}default:throw new Error(_0x312c8c(0x20b)+this[_0x312c8c(0x390)]+'\x20in\x20_schedule.');}const {changeset:_0x15f1da,pendingMutations:_0x5b7a80}=_0x157561;this[_0x312c8c(0x262)][_0x312c8c(0x251)](_0x15f1da);const _0x33cc33=_0x5b7a80[_0x312c8c(0x1c0)]?this[_0x312c8c(0x11a)][_0x312c8c(0x155)](oe,this[_0x312c8c(0x3d6)],this[_0x312c8c(0x390)],_0x15f1da,_0x5b7a80,this['_handler'],void 0x0):this['_injector'][_0x312c8c(0x155)](le,this[_0x312c8c(0x3d6)],this['type'],_0x15f1da,this['_handler']);_0x33cc33['_updateLocalCache'](),this[_0x312c8c(0x262)][_0x312c8c(0x331)](this,_0x33cc33);},_0x58c4d1);}['_getSendChangesetTimeout'](){var _0x3e376c=_0x59b711,_0x145380;const _0x244961=this[_0x3e376c(0x35a)][_0x3e376c(0x1df)](K);return(_0x145380=_0x244961==null?void 0x0:_0x244961[_0x3e376c(0x1ff)])!=null?_0x145380:ps;}['resend'](){var _0x1adc70=_0x59b711;throw new Error(_0x1adc70(0x345));}['_clearScheduledTask'](){var _0x4c8290=_0x59b711;this[_0x4c8290(0x37d)]!=null&&(clearTimeout(this[_0x4c8290(0x37d)]),this[_0x4c8290(0x37d)]=null);}[_0x59b711(0x1b0)](_0x340e1c){var _0x4967f0=_0x59b711;return this[_0x4967f0(0x3d4)](),this['_injector'][_0x4967f0(0x155)](ue,this[_0x4967f0(0x3d6)],this[_0x4967f0(0x390)],null,this[_0x4967f0(0x267)],this[_0x4967f0(0x262)],_0x340e1c);}};ae=Se([w(0x4,_0x281a8c(_0x37ef73)),w(0x5,_0x281a8c(_0x561b69)),w(0x6,_0x281a8c(Pe)),w(0x7,_0x1044bb),w(0x8,_0x4ce9f0),w(0x9,_0x8d713e),w(0xa,_0x4ab688),w(0xb,_0xf3afd7),w(0xc,_0xc12165),w(0xd,_0x56c622(J))],ae);let le=class extends ge{constructor(_0x304119,_0x29cf88,_0x2493c6,_0x5a9e2a,_0x514539,_0x96abc3,_0x1a0931,_0x38a2bc,_0x36b615,_0x2b253f,_0x3c3af1){var _0x319b85=_0x59b711;super(_0x304119,_0x29cf88,_0x2493c6,[],_0x5a9e2a,_0x1a0931,_0x2b253f,_0x96abc3,_0x3c3af1),D(this,_0x319b85(0x24d),_0x319b85(0x36e)),D(this,_0x319b85(0x190),0x0),D(this,_0x319b85(0x211)),D(this,_0x319b85(0x357)),(this['_injector']=_0x514539,this[_0x319b85(0x19f)]=_0x38a2bc,this[_0x319b85(0x1b9)]=_0x36b615);}[_0x59b711(0x11d)](_0xc3cfeb){var _0x13fbbd=_0x59b711;this[_0x13fbbd(0x3d4)]();const _0x29d1b5=this[_0x13fbbd(0x11a)][_0x13fbbd(0x155)](oe,this[_0x13fbbd(0x3d6)],this[_0x13fbbd(0x390)],this[_0x13fbbd(0x10e)],[_0xc3cfeb],this[_0x13fbbd(0x262)],this[_0x13fbbd(0x211)]);return _0x29d1b5[_0x13fbbd(0x179)](),_0x29d1b5;}[_0x59b711(0x123)](_0x2bdb08){var _0x2acbe1=_0x59b711;if(this[_0x2acbe1(0x279)](_0x2bdb08))return this[_0x2acbe1(0x3d4)](),this['_injector'][_0x2acbe1(0x155)](ee,this[_0x2acbe1(0x3d6)],this[_0x2acbe1(0x390)],this['_awaitingChangeset'],[],null,[_0x2bdb08],this[_0x2acbe1(0x262)]);try{const _0x24e9ee=this[_0x2acbe1(0x1b9)][_0x2acbe1(0x17b)]([_0x2bdb08],[this[_0x2acbe1(0x10e)]],!0x1);if(_0x275733(_0x24e9ee)){const {c1Prime:_0x24909c,c2Prime:_0x14bc8a}=_0x24e9ee;this[_0x2acbe1(0x3ed)](_0x24909c[0x0]),_0x14bc8a[0x0][_0x2acbe1(0x2c4)]=this[_0x2acbe1(0x2f9)](),this[_0x2acbe1(0x3d4)]();const _0x5c9812=this[_0x2acbe1(0x11a)][_0x2acbe1(0x155)](le,this[_0x2acbe1(0x3d6)],this[_0x2acbe1(0x390)],_0x14bc8a[0x0],this['_handler']);return _0x5c9812[_0x2acbe1(0x179)](),_0x5c9812;}return this['_onConflict'](!0x1);}catch(_0x41d576){return this[_0x2acbe1(0x19f)][_0x2acbe1(0x247)](_0x41d576),this[_0x2acbe1(0x1b0)](!0x1);}}[_0x59b711(0x39e)](_0x10ce26){var _0x2b1173=_0x59b711;this[_0x2b1173(0x3d4)]();const _0x1f2ec5=this[_0x2b1173(0x362)][_0x2b1173(0x3b9)](this[_0x2b1173(0x3d6)]);if(_0x10ce26[_0x2b1173(0x3bc)]<_0x1f2ec5-0x1)return this;if(this[_0x2b1173(0x279)](_0x10ce26))return this[_0x2b1173(0x11a)][_0x2b1173(0x155)](ee,this['unitID'],this[_0x2b1173(0x390)],null,[],this[_0x2b1173(0x10e)],[],this[_0x2b1173(0x262)]);this[_0x2b1173(0x333)]();const _0x177ec4=this[_0x2b1173(0x11a)][_0x2b1173(0x155)](be,this[_0x2b1173(0x3d6)],this[_0x2b1173(0x390)],this[_0x2b1173(0x262)]);return _0x177ec4[_0x2b1173(0x179)](),_0x177ec4;}[_0x59b711(0x377)](_0x16010b){var _0x1cbec5=_0x59b711;return this[_0x1cbec5(0x1b0)](!!(_0x16010b!=null&&_0x16010b[_0x1cbec5(0x403)]));}['onRemoteRetry'](_0x28340d){var _0x2c8021=_0x59b711;return this[_0x2c8021(0x190)]>gi?this['toggleOffline']():(this[_0x2c8021(0x211)]=Ii(this[_0x2c8021(0x190)],{'timeout':this[_0x2c8021(0x190)],'reqId':_0x28340d[_0x2c8021(0x1a8)]}),this[_0x2c8021(0x357)]=this[_0x2c8021(0x211)][_0x2c8021(0x16b)](({reqId:_0x50682a,timeout:_0x37c202})=>{this['_resendWithTimeout'](_0x50682a,_0x37c202);}),this);}[_0x59b711(0x250)](){var _0x3c5f31=_0x59b711;return this[_0x3c5f31(0x3d4)](),this[_0x3c5f31(0x11a)][_0x3c5f31(0x155)](de,this[_0x3c5f31(0x3d6)],this[_0x3c5f31(0x390)],this[_0x3c5f31(0x10e)],[],this[_0x3c5f31(0x262)]);}[_0x59b711(0x3ae)](){return this;}[_0x59b711(0x200)](){var _0x567ba8=_0x59b711;this[_0x567ba8(0x262)][_0x567ba8(0x251)](this['_awaitingChangeset']);}['_onConflict'](_0x498ee2){var _0x556ce3=_0x59b711;return this['_clearScheduledTask'](),this[_0x556ce3(0x11a)][_0x556ce3(0x155)](ue,this[_0x556ce3(0x3d6)],this[_0x556ce3(0x390)],this['_awaitingChangeset'],[],this['_handler'],_0x498ee2);}['_resendWithTimeout'](_0x2ccfc5,_0x18c0e4){var _0xede5b2=_0x59b711,_0x257e34;_0x2ccfc5===((_0x257e34=this[_0xede5b2(0x10e)])==null?void 0x0:_0x257e34['reqId'])&&(this[_0xede5b2(0x200)](),this[_0xede5b2(0x190)]=_0x18c0e4===0x0?0x3e8:_0x18c0e4*0x2);}[_0x59b711(0x3d4)](){var _0x244244=_0x59b711,_0x21e437;(_0x21e437=this[_0x244244(0x357)])==null||_0x21e437['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Se([w(0x4,_0x281a8c(_0x37ef73)),w(0x5,_0x281a8c(_0x561b69)),w(0x6,_0x4ce9f0),w(0x7,_0x1044bb),w(0x8,_0x4ab688),w(0x9,_0xc12165),w(0xa,_0x56c622(J))],le);let oe=class extends ge{constructor(_0x3d9d52,_0x57b879,_0x53edd5,_0x91d54e,_0x3e2e92,_0xed1a2,_0x4c4247,_0x1f4895,_0x471793,_0x5a55d8,_0x24837d,_0x1b6a7e,_0x58d114){var _0x1a3368=_0x59b711;super(_0x3d9d52,_0x57b879,_0x53edd5,_0x91d54e,_0x3e2e92,_0x471793,_0x1b6a7e,_0x1f4895,_0x58d114),D(this,_0x1a3368(0x24d),_0x1a3368(0x2f6)),D(this,_0x1a3368(0x190),0x0),D(this,_0x1a3368(0x211)),D(this,_0x1a3368(0x357)),(this['_injector']=_0x4c4247,this[_0x1a3368(0x19f)]=_0x5a55d8,this[_0x1a3368(0x1b9)]=_0x24837d,this[_0x1a3368(0x370)]=_0x58d114,_0xed1a2&&(this[_0x1a3368(0x211)]=_0xed1a2,this[_0x1a3368(0x357)]=this[_0x1a3368(0x211)][_0x1a3368(0x16b)](({reqId:_0x519bce,timeout:_0x26b2e0})=>{var _0x3845f8=_0x1a3368;this[_0x3845f8(0x3d1)](_0x519bce,_0x26b2e0);})));}[_0x59b711(0x11d)](_0x1562c9){var _0x4530bf=_0x59b711;return this['_pendingMutations'][_0x4530bf(0x2cf)](_0x1562c9),this;}['onRemoteChangeset'](_0x54d4f7){var _0x1912ce=_0x59b711;if(this[_0x1912ce(0x279)](_0x54d4f7))return this['_clearScheduledTask'](),this[_0x1912ce(0x11a)]['createInstance'](ee,this['unitID'],this[_0x1912ce(0x390)],this[_0x1912ce(0x10e)],this['_pendingMutations'],null,[_0x54d4f7],this[_0x1912ce(0x262)]);try{const _0x5644c0=this[_0x1912ce(0x1b9)]['transformChangesets']([_0x54d4f7],[this[_0x1912ce(0x10e)]],!0x1);if(_0x275733(_0x5644c0)){const {c1Prime:_0x44b18c,c2Prime:_0x1c7171}=_0x5644c0,_0xe6c9a6=this[_0x1912ce(0x1b9)][_0x1912ce(0x171)](_0x44b18c[0x0],this[_0x1912ce(0x267)]);if(_0x528827(_0xe6c9a6)){const {c1Prime:_0x182d23,m2Prime:_0x4f6518}=_0xe6c9a6;return this[_0x1912ce(0x3ed)](_0x182d23),_0x1c7171[0x0][_0x1912ce(0x2c4)]=this[_0x1912ce(0x2f9)](),this[_0x1912ce(0x3d4)](),this['_injector'][_0x1912ce(0x155)](oe,this[_0x1912ce(0x3d6)],this['type'],_0x1c7171[0x0],_0x4f6518,this[_0x1912ce(0x262)],void 0x0);}throw _0xe6c9a6[_0x1912ce(0x247)];}throw _0x5644c0[_0x1912ce(0x247)];}catch(_0x367fc9){return this[_0x1912ce(0x19f)][_0x1912ce(0x247)](_0x367fc9),this[_0x1912ce(0x1b0)](!0x1);}}[_0x59b711(0x39e)](_0x22d006){var _0x4e48f9=_0x59b711;if(this[_0x4e48f9(0x3d4)](),this['_checkMissing'](_0x22d006))return this['_injector'][_0x4e48f9(0x155)](ee,this['unitID'],this[_0x4e48f9(0x390)],null,this[_0x4e48f9(0x267)],this[_0x4e48f9(0x10e)],[],this[_0x4e48f9(0x262)]);this['_incrementRevisionNumber']();const _0x165ab3=this[_0x4e48f9(0x11a)][_0x4e48f9(0x155)](ae,this['unitID'],this[_0x4e48f9(0x390)],this[_0x4e48f9(0x267)],this[_0x4e48f9(0x262)]);return _0x165ab3[_0x4e48f9(0x287)](),_0x165ab3[_0x4e48f9(0x179)](),_0x165ab3;}[_0x59b711(0x377)](_0x312c57){var _0x4f7e41=_0x59b711;return this['_onConflict'](!!(_0x312c57!=null&&_0x312c57[_0x4f7e41(0x403)]));}[_0x59b711(0x38f)](_0x9886f9){var _0x5665c1=_0x59b711;return this[_0x5665c1(0x190)]>gi?this[_0x5665c1(0x250)]():(this[_0x5665c1(0x211)]=Ii(this[_0x5665c1(0x190)],{'timeout':this['_resendTimeout'],'reqId':_0x9886f9[_0x5665c1(0x1a8)]}),this[_0x5665c1(0x357)]=this['_resendTimer']['subscribe'](({reqId:_0x39f9a7,timeout:_0x3a96bc})=>{var _0x5064ef=_0x5665c1;this[_0x5064ef(0x3d1)](_0x39f9a7,_0x3a96bc);}),this);}['toggleOffline'](){var _0x551809=_0x59b711;return this['_clearScheduledTask'](),this['_injector'][_0x551809(0x155)](de,this[_0x551809(0x3d6)],this[_0x551809(0x390)],this[_0x551809(0x10e)],this[_0x551809(0x267)],this[_0x551809(0x262)]);}['toggleOnline'](){return this;}['resend'](){var _0x5bfd76=_0x59b711;this[_0x5bfd76(0x262)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x248d07){var _0x555b3c=_0x59b711;return this['_clearScheduledTask'](),this[_0x555b3c(0x11a)][_0x555b3c(0x155)](ue,this[_0x555b3c(0x3d6)],this['type'],null,this[_0x555b3c(0x267)],this[_0x555b3c(0x262)],_0x248d07);}[_0x59b711(0x3d1)](_0xe9f60a,_0x5a7574){var _0x2d0795=_0x59b711,_0xdfc36b;_0xe9f60a===((_0xdfc36b=this[_0x2d0795(0x10e)])==null?void 0x0:_0xdfc36b[_0x2d0795(0x1a8)])&&(this['resend'](),this[_0x2d0795(0x190)]=_0x5a7574===0x0?0x3e8:_0x5a7574*0x2);}[_0x59b711(0x3d4)](){var _0x263ca1=_0x59b711,_0x1839a6;(_0x1839a6=this['_sender'])==null||_0x1839a6['unsubscribe'](),this[_0x263ca1(0x190)]=0x0;}};oe=Se([w(0x6,_0x281a8c(_0x37ef73)),w(0x7,_0x281a8c(_0x561b69)),w(0x8,_0x4ce9f0),w(0x9,_0x1044bb),w(0xa,_0x4ab688),w(0xb,_0xc12165),w(0xc,_0x56c622(J))],oe);function _0x2040(_0x1f948f,_0x2e13cf){var _0x45df39=_0x45df();return _0x2040=function(_0x2040f5,_0x5ba373){_0x2040f5=_0x2040f5-0x103;var _0x874a96=_0x45df39[_0x2040f5];return _0x874a96;},_0x2040(_0x1f948f,_0x2e13cf);}let ue=class extends ge{constructor(_0x3a1b84,_0x38551b,_0x47a661,_0x4cef7a,_0x839a92,_0x4bc9b6=!0x1,_0x50ced7,_0x5698b6,_0x21b0c3,_0x140ddd,_0x25dc03,_0x1c638e,_0x323fa9){var _0x379b72=_0x59b711;super(_0x3a1b84,_0x38551b,_0x47a661,_0x4cef7a,_0x839a92,_0x5698b6,_0x21b0c3,_0x140ddd,_0x323fa9),D(this,_0x379b72(0x24d),'conflict'),(this[_0x379b72(0x12f)]=_0x4bc9b6,this[_0x379b72(0x111)]=_0x50ced7,this[_0x379b72(0x25b)]=_0x25dc03,this[_0x379b72(0x3b5)]=_0x1c638e,this['localCacheService']=_0x323fa9,this[_0x379b72(0x411)](),this[_0x379b72(0x37a)](),this[_0x379b72(0x299)]());}[_0x59b711(0x11d)](){return this;}[_0x59b711(0x123)](){return this;}[_0x59b711(0x39e)](){return this;}[_0x59b711(0x377)](){return this;}[_0x59b711(0x38f)](){return this;}[_0x59b711(0x250)](){return this;}[_0x59b711(0x3ae)](){return this;}[_0x59b711(0x200)](){var _0x5d5feb=_0x59b711;throw new Error(_0x5d5feb(0x222));}[_0x59b711(0x37a)](){var _0x484e8=_0x59b711,_0xe9f8e5;(_0xe9f8e5=this[_0x484e8(0x15b)])==null||_0xe9f8e5[_0x484e8(0x2d3)](this['unitID'],this[_0x484e8(0x390)],null,[]);}[_0x59b711(0x411)](){var _0x37190d=_0x59b711;this[_0x37190d(0x12f)]?this[_0x37190d(0x3b5)][_0x37190d(0x3a8)]({'id':re['PERMISSION_DENIED']}):this[_0x37190d(0x3b5)][_0x37190d(0x3a8)]({'id':re[_0x37190d(0x133)]});}['_disableEditing'](){var _0x3521ee=_0x59b711;this[_0x3521ee(0x111)][_0x3521ee(0x396)](new _0xe33bd0(this[_0x3521ee(0x3d6)])['id'],!0x1);}};ue=Se([w(0x6,_0x281a8c(_0x4c465d)),w(0x7,_0x4ce9f0),w(0x8,_0xc12165),w(0x9,_0x281a8c(_0x561b69)),w(0xa,_0x281a8c(_0x36425d)),w(0xb,_0x281a8c(ve)),w(0xc,_0x56c622(J))],ue);let de=class extends ge{constructor(_0x211cbd,_0x2d4373,_0x2ec5ef,_0x2eaf9b,_0x1d4a3b,_0x237b3d,_0x358971,_0x36394c,_0x33fc07,_0x31a746){var _0x80aab8=_0x59b711;super(_0x211cbd,_0x2d4373,_0x2ec5ef,_0x2eaf9b,_0x1d4a3b,_0x36394c,_0x33fc07,_0x358971,_0x31a746),D(this,_0x80aab8(0x24d),_0x80aab8(0x1ce)),this['_injector']=_0x237b3d;}[_0x59b711(0x11d)](_0xd50b71){var _0xb02823=_0x59b711;return this[_0xb02823(0x267)][_0xb02823(0x2cf)](_0xd50b71),this['_updateLocalCache'](),this;}[_0x59b711(0x123)](_0x4e5264){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x59b711(0x39e)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x59b711(0x377)](){var _0x40f9a8=_0x59b711;throw new Error(_0x40f9a8(0x332));}[_0x59b711(0x38f)](){return this;}[_0x59b711(0x250)](){return this;}[_0x59b711(0x3ae)](){var _0x19185e=_0x59b711;const {_injector:_0x454dff,_pendingMutations:_0x3be12f,_awaitingChangeset:_0xb4ec2a,unitID:_0x3c80ce,_handler:_0x2e2be7,type:_0x396838}=this,_0x1301de=Ti(_0x454dff,_0x3c80ce,_0x396838,_0xb4ec2a,_0x3be12f,_0x2e2be7);return _0x1301de instanceof ae?_0x1301de[_0x19185e(0x287)]():(_0x1301de instanceof oe||_0x1301de instanceof le)&&_0x1301de['resend'](),_0x1301de;}[_0x59b711(0x200)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x281a8c(_0x37ef73)),w(0x6,_0x281a8c(_0x561b69)),w(0x7,_0x4ce9f0),w(0x8,_0xc12165),w(0x9,_0x56c622(J))],de);let ee=class extends ge{constructor(_0x13c996,_0x38cb32,_0xa22310,_0xeb0ca,_0x251efa,_0x5ada8a,_0x1196ff,_0x2e2adb,_0x4b9d47,_0x58efd3,_0x363c16,_0x278f89,_0x41bcff,_0x171f05){var _0x3fad88=_0x59b711;super(_0x13c996,_0x38cb32,_0xa22310,_0xeb0ca,_0x1196ff,_0x363c16,_0x278f89,_0x4b9d47,_0x171f05),D(this,_0x3fad88(0x24d),_0x3fad88(0x3ad)),(this['_acknowledgedAwaitingChangeset']=_0x251efa,this[_0x3fad88(0x136)]=_0x5ada8a,this[_0x3fad88(0x11a)]=_0x2e2adb,this[_0x3fad88(0x19f)]=_0x58efd3,this[_0x3fad88(0x1b9)]=_0x41bcff,this[_0x3fad88(0x370)]=_0x171f05);}[_0x59b711(0x1cc)](_0x4a6ee0){var _0x262682=_0x59b711;try{const _0x3927b5=[..._0x4a6ee0,...this[_0x262682(0x136)]],_0x366880=[this['_awaitingChangeset']||this[_0x262682(0x31d)]]['filter'](_0x2afd24=>!!_0x2afd24);let _0x47e864,_0x22793d;if(_0x366880[_0x262682(0x1c0)]){const _0x40e2a0=this['_transformService'][_0x262682(0x17b)](_0x3927b5,_0x366880,!0x1);if(!_0x275733(_0x40e2a0))throw _0x40e2a0['error'];_0x47e864=_0x40e2a0[_0x262682(0x281)],_0x22793d=_0x40e2a0[_0x262682(0x298)];}else _0x47e864=_0x3927b5,_0x22793d=[];let _0x564ccd=this['_pendingMutations'];_0x47e864[_0x262682(0x2bd)](_0x196f78=>{var _0x58e956=_0x262682;let _0x16fdb5;if(_0x564ccd['length']){const _0x1901eb=this['_transformService']['transformMutationsWithChangeset'](_0x196f78,_0x564ccd);if(!_0x528827(_0x1901eb))throw _0x1901eb[_0x58e956(0x247)];_0x16fdb5=_0x1901eb[_0x58e956(0x281)],_0x564ccd=_0x1901eb[_0x58e956(0x3e2)];}else _0x16fdb5=_0x196f78;this[_0x58e956(0x3ed)](_0x16fdb5);}),this[_0x262682(0x31d)]&&this[_0x262682(0x333)](),this['_awaitingChangeset']&&_0x22793d[_0x262682(0x1c0)]&&(_0x22793d[0x0]['baseRev']=this[_0x262682(0x2f9)]());let _0x50088f;if(this[_0x262682(0x10e)]&&_0x564ccd[_0x262682(0x1c0)]!==0x0)_0x50088f=this[_0x262682(0x11a)][_0x262682(0x155)](oe,this[_0x262682(0x3d6)],this['type'],_0x22793d[0x0],_0x564ccd,this[_0x262682(0x262)],void 0x0);else{if(this['_awaitingChangeset']&&_0x564ccd[_0x262682(0x1c0)]===0x0)_0x22793d[0x0][_0x262682(0x2c4)]=this[_0x262682(0x2f9)](),_0x50088f=this[_0x262682(0x11a)][_0x262682(0x155)](le,this['unitID'],this[_0x262682(0x390)],_0x22793d[0x0],this[_0x262682(0x262)]);else{if(_0x564ccd[_0x262682(0x1c0)]!==0x0){const _0x148b7b=this[_0x262682(0x11a)][_0x262682(0x155)](ae,this[_0x262682(0x3d6)],this[_0x262682(0x390)],_0x564ccd,this[_0x262682(0x262)]);_0x148b7b['_schedule'](),_0x50088f=_0x148b7b;}else _0x50088f=this[_0x262682(0x11a)]['createInstance'](be,this['unitID'],this[_0x262682(0x390)],this['_handler']);}}return _0x50088f[_0x262682(0x179)](),_0x50088f;}catch(_0x247ab2){return this[_0x262682(0x19f)][_0x262682(0x247)](_0x262682(0x407),_0x262682(0x285),_0x247ab2),this['_injector'][_0x262682(0x155)](ue,this[_0x262682(0x3d6)],this[_0x262682(0x390)],this[_0x262682(0x10e)],this[_0x262682(0x267)],this[_0x262682(0x262)],!0x1);}}[_0x59b711(0x200)](){var _0x834a8f=_0x59b711;throw new Error(_0x834a8f(0x22f));}['appendMutation'](_0x80e501){var _0x57bc98=_0x59b711;return this[_0x57bc98(0x267)][_0x57bc98(0x2cf)](_0x80e501),this;}['onRemoteChangeset'](_0x2e1c8c){var _0x530cb8=_0x59b711;return this[_0x530cb8(0x136)][_0x530cb8(0x2cf)](_0x2e1c8c),this;}[_0x59b711(0x39e)](_0x564d1b){var _0x5a887e=_0x59b711;if(this[_0x5a887e(0x10e)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x5a887e(0x10e)]=null,this;throw new Error(_0x5a887e(0x161));}[_0x59b711(0x377)](_0x4096fb){var _0x41679f=_0x59b711;return this['_onConflict'](!!(_0x4096fb!=null&&_0x4096fb[_0x41679f(0x403)]));}[_0x59b711(0x38f)](){return this;}[_0x59b711(0x250)](){var _0x58dac4=_0x59b711;return this[_0x58dac4(0x11a)][_0x58dac4(0x155)](de,this['unitID'],this[_0x58dac4(0x390)],this[_0x58dac4(0x10e)],this[_0x58dac4(0x267)],this[_0x58dac4(0x262)]);}[_0x59b711(0x3ae)](){return this;}['_onConflict'](_0x9fc9f1){var _0x1f79fa=_0x59b711;return this['_injector'][_0x1f79fa(0x155)](ue,this[_0x1f79fa(0x3d6)],this[_0x1f79fa(0x390)],this[_0x1f79fa(0x10e)],this[_0x1f79fa(0x267)],this[_0x1f79fa(0x262)],_0x9fc9f1);}};ee=Se([w(0x7,_0x281a8c(_0x37ef73)),w(0x8,_0x281a8c(_0x561b69)),w(0x9,_0x1044bb),w(0xa,_0x4ce9f0),w(0xb,_0xc12165),w(0xc,_0x4ab688),w(0xd,_0x56c622(J))],ee);function Ti(_0x3e1c65,_0x1033ac,_0x58d7f3,_0xd436de,_0x58d0bf,_0x4d1e35){var _0x51fc4d=_0x59b711;return _0xd436de&&_0x58d0bf[_0x51fc4d(0x1c0)]?_0x3e1c65[_0x51fc4d(0x155)](oe,_0x1033ac,_0x58d7f3,_0xd436de,_0x58d0bf,_0x4d1e35,void 0x0):_0xd436de?_0x3e1c65[_0x51fc4d(0x155)](le,_0x1033ac,_0x58d7f3,_0xd436de,_0x4d1e35):_0x58d0bf['length']?_0x3e1c65['createInstance'](ae,_0x1033ac,_0x58d7f3,_0x58d0bf,_0x4d1e35):_0x3e1c65[_0x51fc4d(0x155)](be,_0x1033ac,_0x58d7f3,_0x4d1e35);}var Hs=Object[_0x59b711(0x16f)],At=(_0x21d674,_0x37cd79,_0x4460cc,_0x335931)=>{var _0x3d6227=_0x59b711;for(var _0x260320=_0x335931>0x1?void 0x0:_0x335931?Hs(_0x37cd79,_0x4460cc):_0x37cd79,_0x515088=_0x21d674[_0x3d6227(0x1c0)]-0x1,_0xb750ad;_0x515088>=0x0;_0x515088--)(_0xb750ad=_0x21d674[_0x515088])&&(_0x260320=_0xb750ad(_0x260320)||_0x260320);return _0x260320;},$=(_0x1c3c9e,_0x950de0)=>(_0x2f6fa9,_0x3b64d5)=>_0x950de0(_0x2f6fa9,_0x3b64d5,_0x1c3c9e);let st=class extends _0x142f2e{constructor(_0x368676,_0x2e5fe1,_0x34a03b,_0x22994a,_0x12457c,_0x1b4480,_0x1428fb,_0x481970,_0x2b3e19,_0x43b3f8,_0x595677,_0x3d90b2,_0x7772f,_0x3a1fc0){var _0x1ca9d2=_0x59b711;super(),D(this,_0x1ca9d2(0x103),new _0xe5c9e8(null)),D(this,_0x1ca9d2(0x23f),this[_0x1ca9d2(0x103)]['asObservable']()),D(this,'_state'),D(this,_0x1ca9d2(0x181),!0x1),D(this,'_changesetSessionId',''),D(this,_0x1ca9d2(0x317),0x0),D(this,_0x1ca9d2(0x2a0),this['state$']['pipe'](_0x39bd45(_0x3577d9=>_0x3577d9?_0x3577d9[_0x1ca9d2(0x24d)]:Si[_0x1ca9d2(0x246)]),_0x490df4(0x1))),D(this,_0x1ca9d2(0x18f),!0x1),D(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x368676,this[_0x1ca9d2(0x13e)]=_0x2e5fe1,this['_type']=_0x34a03b,this[_0x1ca9d2(0x11a)]=_0x22994a,this[_0x1ca9d2(0x3b1)]=_0x12457c,this[_0x1ca9d2(0x25b)]=_0x1b4480,this[_0x1ca9d2(0x362)]=_0x1428fb,this[_0x1ca9d2(0x105)]=_0x481970,this[_0x1ca9d2(0x116)]=_0x2b3e19,this['_logService']=_0x43b3f8,this[_0x1ca9d2(0x245)]=_0x595677,this[_0x1ca9d2(0x111)]=_0x3d90b2,this[_0x1ca9d2(0x1ad)]=_0x7772f,this['_localCacheService']=_0x3a1fc0);}get[_0x59b711(0x201)](){var _0x1af69d=_0x59b711;return this[_0x1af69d(0x353)];}async[_0x59b711(0x1ec)](){var _0x477c83=_0x59b711;if(this[_0x477c83(0x201)])throw new Error(_0x477c83(0x249));await this[_0x477c83(0x306)]();}[_0x59b711(0x2fb)](){return this['_collaborationPaused']=!0x0,_0x238d9e(()=>{var _0x4db897=_0x2040;this[_0x4db897(0x181)]=!0x1,this[_0x4db897(0x336)]();});}[_0x59b711(0x3f9)](_0x23f3ac){var _0x424be7=_0x59b711;this[_0x424be7(0x399)](_0x23f3ac);}['_updateState'](_0x23e5cb){var _0x28e360=_0x59b711;this[_0x28e360(0x353)]=_0x23e5cb,this[_0x28e360(0x103)]['next'](_0x23e5cb);}async[_0x59b711(0x306)](){var _0x483b34=_0x59b711,_0x56f910;this[_0x483b34(0x1d8)](await this[_0x483b34(0x2e6)]()),this[_0x483b34(0x1ad)]&&((_0x56f910=this[_0x483b34(0x1ad)])==null||_0x56f910['editingUnit'](this['unitID']),this[_0x483b34(0x253)](this[_0x483b34(0x1ad)][_0x483b34(0x3cd)](this[_0x483b34(0x3d6)])[_0x483b34(0x16b)](_0x236acd=>{var _0x5e02fe=_0x483b34;this[_0x5e02fe(0x19f)]['debug']('[CollaborationEntity]',_0x5e02fe(0x393),_0x236acd),_0x236acd===mi['OTHER_CLIENTS_EDITING']?(this[_0x5e02fe(0x105)][_0x5e02fe(0x3a8)]({'id':re[_0x5e02fe(0x338)]}),this[_0x5e02fe(0x111)][_0x5e02fe(0x396)](new _0xe33bd0(this[_0x5e02fe(0x3d6)])['id'],!0x1),this['_permissionService'][_0x5e02fe(0x38e)](!0x1)):(this[_0x5e02fe(0x111)][_0x5e02fe(0x396)](new _0xe33bd0(this[_0x5e02fe(0x3d6)])['id'],!0x0),this[_0x5e02fe(0x111)]['setShowComponents'](!0x0));})));let _0xa1eb17=!0x1;return this[_0x483b34(0x253)](this[_0x483b34(0x13e)][_0x483b34(0x210)]['subscribe'](_0x3aa7e9=>{var _0x61226e=_0x483b34;_0x3aa7e9===me['ONLINE']?this[_0x61226e(0x26a)](_0xa1eb17):_0x3aa7e9===me[_0x61226e(0x246)]&&(_0xa1eb17=!0x0,this[_0x61226e(0x126)]());})),this[_0x483b34(0x253)](this[_0x483b34(0x13e)][_0x483b34(0x368)][_0x483b34(0x16b)](_0x1a0402=>{var _0x1477a1=_0x483b34;try{switch(_0x1a0402[_0x1477a1(0x2a9)]){case _0x43a4f7['NEW_CHANGESETS']:{this[_0x1477a1(0x3dc)](_0x59e6f0(_0x1a0402['data']));break;}case _0x43a4f7['CHANGESET_ACK']:{this[_0x1477a1(0x2a8)](_0x1a0402[_0x1477a1(0x107)]);break;}case _0x43a4f7['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x43a4f7[_0x1477a1(0x34d)]:{this[_0x1477a1(0x3de)](_0x1a0402['data']);break;}case _0x43a4f7[_0x1477a1(0x24b)]:{this[_0x1477a1(0x158)](_0x1a0402['data'][_0x1477a1(0x187)][_0x1477a1(0x2a3)](_0x51656a=>_0x59e6f0(_0x51656a)));break;}case _0x43a4f7[_0x1477a1(0x204)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x43a4f7[_0x1477a1(0x25d)]:break;}}catch(_0x54430e){throw console['error'](_0x1477a1(0x2c3),_0x54430e),_0x54430e;}})),this[_0x483b34(0x353)];}['_unlockTransition'](){var _0x16d1ef=_0x59b711;this[_0x16d1ef(0x18f)]=!0x1;}['_lockTransition'](){var _0x18452e=_0x59b711;if(this[_0x18452e(0x18f)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x18452e(0x18f)]=!0x0;}[_0x59b711(0x399)](_0x174fd8){var _0x2d3a41=_0x59b711;this[_0x2d3a41(0x2a1)](),this[_0x2d3a41(0x1d8)](this[_0x2d3a41(0x353)]['appendMutation'](_0x174fd8)),this[_0x2d3a41(0x208)]();}['_onRemoteChangeset'](_0x2bb87b){var _0x4a5674=_0x59b711;if(!(_0x2bb87b['revision']<=this[_0x4a5674(0x362)][_0x4a5674(0x3b9)](this[_0x4a5674(0x3d6)]))){if(this[_0x4a5674(0x181)]){this[_0x4a5674(0x128)]['push'](_0x2bb87b);return;}this[_0x4a5674(0x2ed)](_0x2bb87b);}}[_0x59b711(0x336)](){var _0x5984d5=_0x59b711;this[_0x5984d5(0x128)][_0x5984d5(0x2bd)](_0x26a816=>this[_0x5984d5(0x2ed)](_0x26a816)),this[_0x5984d5(0x128)]=[];}['_applyRemoteChangeset'](_0x1e1d82){var _0x514fec=_0x59b711;const _0x4cf342=this[_0x514fec(0x3b1)][_0x514fec(0x3ca)][_0x514fec(0x3e3)](this[_0x514fec(0x3b1)]['interceptor'][_0x514fec(0x22a)]()['COMPRESS_MUTATION_APPLY'])(_0x1e1d82[_0x514fec(0x1e3)],null)||_0x1e1d82[_0x514fec(0x1e3)],_0x5e00a1={..._0x1e1d82,'mutations':_0x4cf342};this[_0x514fec(0x2a1)](),this[_0x514fec(0x1d8)](this['_state'][_0x514fec(0x123)](_0x5e00a1)),this[_0x514fec(0x208)]();}[_0x59b711(0x2a8)](_0xd3d53a){var _0xa664f9=_0x59b711;this[_0xa664f9(0x2a1)](),this[_0xa664f9(0x1d8)](this[_0xa664f9(0x353)]['onRemoteAck'](_0xd3d53a)),this[_0xa664f9(0x208)]();}[_0x59b711(0x248)](_0x4d216b){var _0x3c4fda=_0x59b711;this[_0x3c4fda(0x2a1)](),this[_0x3c4fda(0x1d8)](this['_state']['onRemoteRej'](_0x4d216b)),this[_0x3c4fda(0x208)]();}[_0x59b711(0x3de)](_0x213a8f){var _0x332070=_0x59b711;this[_0x332070(0x2a1)](),this['_updateState'](this[_0x332070(0x353)][_0x332070(0x38f)](_0x213a8f)),this['_unlockTransition']();}[_0x59b711(0x158)](_0x13daa3){var _0x11e38a=_0x59b711;if(!(this[_0x11e38a(0x353)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xb1b1d2=_0x13daa3['map'](_0x584421=>{var _0x57bf62=_0x11e38a;const _0x483074=this['_compressMutationService'][_0x57bf62(0x3ca)][_0x57bf62(0x3e3)](this['_compressMutationService'][_0x57bf62(0x3ca)][_0x57bf62(0x22a)]()[_0x57bf62(0x1c6)])(_0x584421['mutations'],null)||_0x584421['mutations'];return{..._0x584421,'mutations':_0x483074};});this['_lockTransition'](),this[_0x11e38a(0x1d8)](this[_0x11e38a(0x353)][_0x11e38a(0x1cc)](_0xb1b1d2)),this[_0x11e38a(0x208)]();}[_0x59b711(0x126)](){var _0x5b4fae=_0x59b711;this[_0x5b4fae(0x2a1)](),this[_0x5b4fae(0x1d8)](this[_0x5b4fae(0x353)]['toggleOffline']()),this[_0x5b4fae(0x208)]();}['_toggleOnline'](_0x5968f6=!0x1){var _0x3b092a=_0x59b711;this['_lockTransition'](),this[_0x3b092a(0x1d8)](this[_0x3b092a(0x353)][_0x3b092a(0x3ae)]()),this[_0x3b092a(0x208)]();const _0x2aa2b3=this[_0x3b092a(0x353)];_0x5968f6&&_0x2aa2b3 instanceof be&&(this[_0x3b092a(0x2a1)](),this[_0x3b092a(0x1d8)](_0x2aa2b3['fetchMiss']()),this[_0x3b092a(0x208)]());}async['_createInitialState'](){return new Promise(_0x348606=>{var _0x3a4c59=_0x2040;this[_0x3a4c59(0x13e)]['sessionStatus$']['pipe'](_0x5da8a6(0x1))[_0x3a4c59(0x16b)](async _0x2e969d=>{var _0x5d0604=_0x3a4c59;_0x348606(await this[_0x5d0604(0x391)](_0x2e969d===me[_0x5d0604(0x314)]));});});}[_0x59b711(0x160)](){var _0x389758=_0x59b711;const _0x273ca2=this[_0x389758(0x3d6)];return{'onStateChange':(_0x5ab0f8,_0x23a65d)=>{var _0x54e542=_0x389758;if(_0x5ab0f8!==this[_0x54e542(0x353)])throw new Error(_0x54e542(0x21c)+_0x5ab0f8['status']+_0x54e542(0x3db)+_0x23a65d[_0x54e542(0x24d)]+_0x54e542(0x38a)+this[_0x54e542(0x353)]['status']);this[_0x54e542(0x1d8)](_0x23a65d);},'onSendChangeset':_0x2bb804=>{var _0x21e5c2=_0x389758;_0x2bb804[_0x21e5c2(0x2b9)]||(_0x2bb804['sid']=this[_0x21e5c2(0x1d1)],_0x2bb804[_0x21e5c2(0x1a8)]=++this[_0x21e5c2(0x317)]);const _0x593c68={'eventID':_0x43a4f7[_0x21e5c2(0x10b)],'data':{'unitID':_0x2bb804[_0x21e5c2(0x3d6)],'unitType':this[_0x21e5c2(0x33b)],'changeset':_0x2bb804,'memberID':this[_0x21e5c2(0x13e)][_0x21e5c2(0x230)]()}};this[_0x21e5c2(0x13e)]['send'](_0x593c68,this[_0x21e5c2(0x3d6)]);},'onMissingChangesets':({from:_0x95fcf3,to:_0x32299c})=>{var _0x256996=_0x389758;this[_0x256996(0x19f)][_0x256996(0x3e0)](_0x256996(0x38b),_0x256996(0x3d7)+_0x95fcf3+_0x256996(0x237)+_0x32299c);const _0x404693={'eventID':_0x43a4f7[_0x256996(0x11f)],'data':{'unitID':_0x273ca2,'unitType':this['_type'],'from':_0x95fcf3,'to':_0x32299c}};this[_0x256996(0x13e)][_0x256996(0x236)](_0x404693,this[_0x256996(0x3d6)]);}};}async[_0x59b711(0x391)](_0xc2de37){var _0x66494d=_0x59b711,_0x33d7c3,_0x179d25,_0x14c4ff;const _0x58c9e4=await((_0x33d7c3=this[_0x66494d(0x15b)])==null?void 0x0:_0x33d7c3[_0x66494d(0x328)](this[_0x66494d(0x3d6)])),_0x28d9ad=(_0x179d25=_0x58c9e4==null?void 0x0:_0x58c9e4[_0x66494d(0x1e3)])!=null?_0x179d25:[],_0x52d73b=(_0x14c4ff=_0x58c9e4==null?void 0x0:_0x58c9e4[_0x66494d(0x410)])!=null?_0x14c4ff:null,_0x28b183=!!(_0x52d73b!=null&&_0x52d73b[_0x66494d(0x2b9)])&&!!(_0x52d73b!=null&&_0x52d73b[_0x66494d(0x1a8)]);this[_0x66494d(0x1d1)]=_0x28b183?_0x52d73b[_0x66494d(0x2b9)]:_0x111357(),this[_0x66494d(0x317)]=_0x28b183?_0x52d73b['reqId']:0x0;const _0x3d9745=this[_0x66494d(0x3d6)];try{this[_0x66494d(0x286)](_0x52d73b,_0x28d9ad);}catch(_0x3ffa42){this[_0x66494d(0x19f)][_0x66494d(0x247)](_0x3ffa42);}const _0x491e8f=this['_createHandler']();if(_0xc2de37){const _0x1d944c=Ti(this[_0x66494d(0x11a)],_0x3d9745,this[_0x66494d(0x33b)],_0x52d73b,_0x28d9ad,_0x491e8f);return _0x1d944c instanceof ae?_0x1d944c[_0x66494d(0x287)]():(_0x1d944c instanceof oe||_0x1d944c instanceof le)&&_0x1d944c[_0x66494d(0x200)](),_0x1d944c;}return this[_0x66494d(0x11a)][_0x66494d(0x155)](de,_0x3d9745,this[_0x66494d(0x33b)],_0x52d73b,_0x28d9ad,_0x491e8f);}[_0x59b711(0x286)](_0x31e96a,_0x16286e){var _0x4c092c=_0x59b711,_0x543abf,_0x44d212;const _0x2fa176=this[_0x4c092c(0x3b1)][_0x4c092c(0x3ca)]['fetchThroughInterceptors'](this[_0x4c092c(0x3b1)][_0x4c092c(0x3ca)][_0x4c092c(0x22a)]()[_0x4c092c(0x1c6)]);(_0x543abf=_0x2fa176((_0x31e96a==null?void 0x0:_0x31e96a[_0x4c092c(0x1e3)])||[],null))==null||_0x543abf[_0x4c092c(0x2bd)](_0x36f7d4=>this['_commandService'][_0x4c092c(0x20f)](_0x36f7d4['id'],_0x36f7d4['params'])),(_0x44d212=_0x2fa176(_0x16286e||[],null))==null||_0x44d212['forEach'](_0x4f188c=>this['_commandService']['executeCommand'](_0x4f188c['id'],_0x4f188c[_0x4c092c(0x1e5)]));}};st=At([$(0x3,_0x281a8c(_0x37ef73)),$(0x4,_0x281a8c(_0x5b45ec)),$(0x5,_0x281a8c(_0x36425d)),$(0x6,_0x281a8c(_0x561b69)),$(0x7,_0x281a8c(ve)),$(0x8,_0xf3afd7),$(0x9,_0x1044bb),$(0xa,_0x4ce9f0),$(0xb,_0x4c465d),$(0xc,_0x56c622(_t)),$(0xd,_0x56c622(J))],st);let It=class extends st{constructor(_0x47f665,_0x22f7f0,_0x2f0ee7,_0x37c7e1,_0x367556,_0x32da4f,_0x4fdf89,_0x3e4377,_0x3f2c2a,_0xaee73c,_0x1489ba,_0x394a6c,_0x3d5e11,_0x12721e){var _0x5abbfb=_0x59b711;super(_0x47f665,_0x2f0ee7,_0x22f7f0,_0x37c7e1,_0x367556,_0x32da4f,_0x4fdf89,_0x3e4377,_0x3f2c2a,_0xaee73c,_0x1489ba,_0x394a6c,_0x3d5e11,_0x12721e),D(this,'_handlerCallback',null),(this[_0x5abbfb(0x3d6)]=_0x47f665,this[_0x5abbfb(0x390)]=_0x22f7f0);}[_0x59b711(0x1ba)](_0x552afd){var _0x1a20d6=_0x59b711;this[_0x1a20d6(0x1c2)]=_0x552afd;}[_0x59b711(0x2d7)](){var _0x19dbce=_0x59b711;this[_0x19dbce(0x1c2)]=null,super[_0x19dbce(0x2d7)]();}[_0x59b711(0x160)](){var _0x2c7e39=_0x59b711;const _0x48755c=super[_0x2c7e39(0x160)]();return _0x48755c[_0x2c7e39(0x36f)]=_0x2de958=>{var _0x1ab8a3=_0x2c7e39,_0x5c070b,_0x5ae195;return(_0x5ae195=(_0x5c070b=this[_0x1ab8a3(0x1c2)])==null?void 0x0:_0x5c070b[_0x1ab8a3(0x36f)])==null?void 0x0:_0x5ae195['call'](_0x5c070b,_0x2de958);},_0x48755c[_0x2c7e39(0x141)]=_0x5b2d85=>{var _0x46af91=_0x2c7e39,_0x5c9a70,_0x1c97e3;return(_0x1c97e3=(_0x5c9a70=this[_0x46af91(0x1c2)])==null?void 0x0:_0x5c9a70[_0x46af91(0x141)])==null?void 0x0:_0x1c97e3[_0x46af91(0x2ac)](_0x5c9a70,_0x5b2d85);},_0x48755c['onTransformSelections']=_0x5c5028=>{var _0x459a24=_0x2c7e39,_0x3f4a09,_0x34dec6;return(_0x34dec6=(_0x3f4a09=this[_0x459a24(0x1c2)])==null?void 0x0:_0x3f4a09[_0x459a24(0x283)])==null?void 0x0:_0x34dec6[_0x459a24(0x2ac)](_0x3f4a09,_0x5c5028);},_0x48755c['onSyncEditingCollabCursor']=_0x6045f2=>{var _0x595a5a=_0x2c7e39,_0x5f5184,_0x42bdc9;return(_0x42bdc9=(_0x5f5184=this[_0x595a5a(0x1c2)])==null?void 0x0:_0x5f5184[_0x595a5a(0x414)])==null?void 0x0:_0x42bdc9[_0x595a5a(0x2ac)](_0x5f5184,_0x6045f2);},_0x48755c[_0x2c7e39(0x188)]=_0xabd7ab=>{var _0x4ffa72=_0x2c7e39,_0x542ca4,_0x3e6d8a,_0x9108e5;if(!((_0x542ca4=this['_handlerCallback'])!=null&&_0x542ca4['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4ffa72(0x2de));return(_0x9108e5=(_0x3e6d8a=this['_handlerCallback'])==null?void 0x0:_0x3e6d8a[_0x4ffa72(0x188)])==null?void 0x0:_0x9108e5[_0x4ffa72(0x2ac)](_0x3e6d8a,_0xabd7ab);},_0x48755c['onTransformRemoteChangesetByStateCache']=_0x1d7762=>{var _0x47bb14=_0x2c7e39,_0x58599e,_0x79dd0c,_0x24193d;if(!((_0x58599e=this['_handlerCallback'])!=null&&_0x58599e[_0x47bb14(0x1e2)]))throw new Error(_0x47bb14(0x2f2));return(_0x24193d=(_0x79dd0c=this[_0x47bb14(0x1c2)])==null?void 0x0:_0x79dd0c['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x24193d[_0x47bb14(0x2ac)](_0x79dd0c,_0x1d7762);},_0x48755c;}async[_0x59b711(0x306)](){var _0x330cca=_0x59b711;const _0x2b298f=await super[_0x330cca(0x306)]();return this[_0x330cca(0x253)](this[_0x330cca(0x245)][_0x330cca(0x2dd)]((_0x1aacf2,_0x3e07fc)=>{var _0x80d7c2=_0x330cca;if(_0x1aacf2[_0x80d7c2(0x390)]!==_0x41d63b['MUTATION']||_0x3e07fc!=null&&_0x3e07fc[_0x80d7c2(0x25a)]||_0x3e07fc!=null&&_0x3e07fc[_0x80d7c2(0x1be)]||_0x1aacf2['id']===_0x30edc9['id'])return;const _0x35e78b=_0x1aacf2[_0x80d7c2(0x1e5)];if((_0x35e78b==null?void 0x0:_0x35e78b['unitId'])!==this['unitID'])return;const _0x1ed475=_0x1aacf2,_0x5a35d8=this[_0x80d7c2(0x3b1)]['interceptor'][_0x80d7c2(0x3e3)](this[_0x80d7c2(0x3b1)][_0x80d7c2(0x3ca)][_0x80d7c2(0x22a)]()[_0x80d7c2(0x2f7)])([_0x1ed475],this[_0x80d7c2(0x116)])||[_0x1ed475];this[_0x80d7c2(0x399)](_0x5a35d8[0x0]);})),_0x2b298f;}};It=At([$(0x3,_0x281a8c(_0x37ef73)),$(0x4,_0x281a8c(_0x5b45ec)),$(0x5,_0x281a8c(_0x36425d)),$(0x6,_0x281a8c(_0x561b69)),$(0x7,_0x281a8c(ve)),$(0x8,_0xf3afd7),$(0x9,_0x1044bb),$(0xa,_0x4ce9f0),$(0xb,_0x4c465d),$(0xc,_0x56c622(_t)),$(0xd,_0x56c622(J))],It);let St=class extends st{constructor(_0x50e9ed,_0x2d3082,_0x3eed33,_0x3d4b9c,_0x10ca52,_0x299d7b,_0x4f4c60,_0x43731b,_0x1064b6,_0x5eefcc,_0x2016e9,_0x54ed7b,_0x5c8b63,_0x5c47c6,_0x1665e8){var _0x19c926=_0x59b711;super(_0x50e9ed,_0x3eed33,_0x2d3082,_0x3d4b9c,_0x10ca52,_0x299d7b,_0x4f4c60,_0x1064b6,_0x5eefcc,_0x2016e9,_0x54ed7b,_0x5c8b63,_0x5c47c6,_0x1665e8),this['unitID']=_0x50e9ed,this['type']=_0x2d3082,this[_0x19c926(0x114)]=_0x43731b;}[_0x59b711(0x160)](){var _0x2ab107=_0x59b711;const _0x5915cd=super['_createHandler']();return _0x5915cd[_0x2ab107(0x283)]=_0xc75db2=>this[_0x2ab107(0x114)][_0x2ab107(0x1b4)](_0xc75db2),_0x5915cd;}async[_0x59b711(0x306)](){var _0x16a1c4=_0x59b711;const _0x2f330e=await super['_init']();return this['disposeWithMe'](this[_0x16a1c4(0x245)][_0x16a1c4(0x2dd)]((_0x5e2ac4,_0x4e9426)=>{var _0x2cb83d=_0x16a1c4;if(_0x5e2ac4[_0x2cb83d(0x390)]!==_0x41d63b[_0x2cb83d(0x385)]||_0x4e9426!=null&&_0x4e9426[_0x2cb83d(0x25a)]||_0x4e9426!=null&&_0x4e9426[_0x2cb83d(0x1be)])return;const _0x52e1bc=_0x5e2ac4['params'];if((_0x52e1bc==null?void 0x0:_0x52e1bc[_0x2cb83d(0x3c4)])!==this[_0x2cb83d(0x3d6)])return;const _0x4c3cb9=_0x5e2ac4,_0x2126ab=this[_0x2cb83d(0x3b1)][_0x2cb83d(0x3ca)][_0x2cb83d(0x3e3)](this[_0x2cb83d(0x3b1)][_0x2cb83d(0x3ca)][_0x2cb83d(0x22a)]()[_0x2cb83d(0x2f7)])([_0x4c3cb9],this[_0x2cb83d(0x116)])||[_0x4c3cb9];this[_0x2cb83d(0x399)](_0x2126ab[0x0]);})),_0x2f330e;}};St=At([$(0x3,_0x281a8c(_0x37ef73)),$(0x4,_0x281a8c(_0x5b45ec)),$(0x5,_0x281a8c(_0x36425d)),$(0x6,_0x281a8c(_0x561b69)),$(0x7,_0x281a8c(it)),$(0x8,_0x281a8c(ve)),$(0x9,_0xf3afd7),$(0xa,_0x1044bb),$(0xb,_0x4ce9f0),$(0xc,_0x4c465d),$(0xd,_0x56c622(_t)),$(0xe,_0x56c622(J))],St);const Bs=_0x2a6406(_0x59b711(0x1d0));function Fs(_0x11da84){var _0x23d73f=_0x59b711,_0x1b70ce,_0x2af32b,_0x54da99,_0x1031e9,_0x37e9ca;const _0x4f8e24=_0x11da84[_0x23d73f(0x107)],_0x102081=JSON[_0x23d73f(0x3be)](_0x4f8e24);switch(_0x102081['cmd']){case j[_0x23d73f(0x1e7)]:case j[_0x23d73f(0x134)]:{const _0x4fff94=_0x102081[_0x23d73f(0x35d)];return{..._0x102081,'data':_0x4fff94,'cmd':_0x102081[_0x23d73f(0x1d7)]};}case j['JOIN']:{const _0x26c42b=_0x102081[_0x23d73f(0x374)];return{..._0x102081,'data':_0x26c42b,'cmd':_0x102081[_0x23d73f(0x1d7)]};}case j['RECV']:{const _0x40e573=_0x102081[_0x23d73f(0x371)];switch(_0x40e573['eventID']){case _0x43a4f7['PERMISSION_REJ']:return{..._0x102081,'data':{..._0x40e573,'data':(_0x1b70ce=_0x40e573[_0x23d73f(0x1b7)])==null?void 0x0:_0x1b70ce['cs']},'cmd':_0x102081['cmd']};case _0x43a4f7['CHANGESET_ACK']:return{..._0x102081,'data':{..._0x40e573,'data':(_0x2af32b=_0x40e573[_0x23d73f(0x227)])==null?void 0x0:_0x2af32b['cs']},'cmd':_0x102081[_0x23d73f(0x1d7)]};case _0x43a4f7[_0x23d73f(0x129)]:return{..._0x102081,'data':{..._0x40e573,'data':(_0x54da99=_0x40e573[_0x23d73f(0x40c)])==null?void 0x0:_0x54da99['cs']},'cmd':_0x102081[_0x23d73f(0x1d7)]};case _0x43a4f7[_0x23d73f(0x32f)]:return{..._0x102081,'data':{..._0x40e573,'data':(_0x1031e9=_0x40e573[_0x23d73f(0x22e)])==null?void 0x0:_0x1031e9['cs']},'cmd':_0x102081['cmd']};case _0x43a4f7['CHANGESET_SHOULD_RETRY']:return{..._0x102081,'data':{..._0x40e573,'data':(_0x37e9ca=_0x40e573[_0x23d73f(0x392)])==null?void 0x0:_0x37e9ca['cs']},'cmd':_0x102081['cmd']};case _0x43a4f7['UPDATE_CURSOR']:return{..._0x102081,'data':{..._0x40e573,'data':_0x40e573[_0x23d73f(0x122)]},'cmd':_0x102081[_0x23d73f(0x1d7)]};case _0x43a4f7['USERS_ENTER']:return{..._0x102081,'data':{..._0x40e573,'data':_0x40e573[_0x23d73f(0x3e4)]},'cmd':_0x102081[_0x23d73f(0x1d7)]};case _0x43a4f7[_0x23d73f(0x119)]:return{..._0x102081,'data':{..._0x40e573,'data':_0x40e573[_0x23d73f(0x288)]},'cmd':_0x102081[_0x23d73f(0x1d7)]};case _0x43a4f7[_0x23d73f(0x225)]:return{..._0x102081,'data':{..._0x40e573,'data':_0x40e573['liveShareNewHost']},'cmd':_0x102081['cmd']};case _0x43a4f7['LIVESHARE_FETCH_OPERATIONS']:case _0x43a4f7[_0x23d73f(0x412)]:return{..._0x102081,'data':{..._0x40e573,'data':_0x40e573[_0x23d73f(0x3f2)]},'cmd':_0x102081[_0x23d73f(0x1d7)]};case _0x43a4f7['LIVESHARE_TERMINATE']:return{..._0x102081,'data':{..._0x40e573,'data':_0x40e573[_0x23d73f(0x11e)]},'cmd':_0x102081[_0x23d73f(0x1d7)]};case _0x43a4f7[_0x23d73f(0x3f0)]:return{..._0x102081,'data':_0x40e573,'cmd':_0x102081[_0x23d73f(0x1d7)]};case _0x43a4f7[_0x23d73f(0x40d)]:return{..._0x102081,'data':{..._0x40e573,'data':_0x40e573[_0x23d73f(0x335)]},'cmd':_0x102081[_0x23d73f(0x1d7)]};case _0x43a4f7['UPDATE_PERMISSION_OBJ']:return{..._0x102081,'data':{..._0x40e573,'data':_0x40e573['updatePermissionObjEvent']},'cmd':_0x102081[_0x23d73f(0x1d7)]};case _0x43a4f7[_0x23d73f(0x28d)]:return{..._0x102081,'data':{..._0x40e573,'data':_0x40e573[_0x23d73f(0x118)]},'cmd':_0x102081['cmd']};case _0x43a4f7[_0x23d73f(0x25d)]:return{..._0x102081,'data':{..._0x40e573,'data':_0x40e573['uniscriptRunEvent']},'cmd':_0x102081['cmd']};default:return _0x102081;}}default:return _0x102081;}}function js(_0x295789){var _0x23a7e7=_0x59b711;switch(_0x295789[_0x23a7e7(0x1d7)]){case j[_0x23a7e7(0x1e7)]:case j[_0x23a7e7(0x134)]:return JSON[_0x23a7e7(0x24a)]({'cmd':_0x295789[_0x23a7e7(0x1d7)],'routeKey':_0x295789[_0x23a7e7(0x324)]});case j[_0x23a7e7(0x1c1)]:{let _0x174011;switch(_0x295789[_0x23a7e7(0x107)][_0x23a7e7(0x2a9)]){case _0x43a4f7['UPDATE_CURSOR']:{_0x174011={'eventID':_0x43a4f7[_0x23a7e7(0x343)],'updateCursorEvent':_0x295789['data'][_0x23a7e7(0x107)]};break;}case _0x43a4f7['USERS_LEAVE']:{_0x174011={'eventID':_0x43a4f7[_0x23a7e7(0x119)],'leaveEvent':_0x295789[_0x23a7e7(0x107)][_0x23a7e7(0x107)]};break;}case _0x43a4f7[_0x23a7e7(0x386)]:{_0x174011={'eventID':_0x43a4f7[_0x23a7e7(0x386)],'joinEvent':_0x295789[_0x23a7e7(0x107)][_0x23a7e7(0x107)]};break;}case _0x43a4f7[_0x23a7e7(0x225)]:{_0x174011={'eventID':_0x43a4f7[_0x23a7e7(0x225)],'liveShareNewHost':_0x295789[_0x23a7e7(0x107)][_0x23a7e7(0x107)]};break;}case _0x43a4f7[_0x23a7e7(0x412)]:{_0x174011={'eventID':_0x43a4f7[_0x23a7e7(0x412)],'liveShareOperation':_0x295789[_0x23a7e7(0x107)][_0x23a7e7(0x107)]};break;}case _0x43a4f7['LIVESHARE_TERMINATE']:{_0x174011={'eventID':_0x43a4f7[_0x23a7e7(0x2ca)],'liveShareTerminate':_0x295789['data'][_0x23a7e7(0x107)]};break;}case _0x43a4f7[_0x23a7e7(0x115)]:{_0x174011={'eventID':_0x43a4f7['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x295789['data'][_0x23a7e7(0x107)]};break;}case _0x43a4f7['LIVESHARE_FETCH_OPERATIONS']:{_0x174011={'eventID':_0x43a4f7[_0x23a7e7(0x349)]};break;}default:_0x174011={'eventID':_0x295789[_0x23a7e7(0x107)][_0x23a7e7(0x2a9)]};}return JSON[_0x23a7e7(0x24a)]({'cmd':_0x295789[_0x23a7e7(0x1d7)],'routeKey':_0x295789['routeKey'],'collaMsg':_0x174011});}case j[_0x23a7e7(0x309)]:return JSON[_0x23a7e7(0x24a)]({'cmd':_0x295789[_0x23a7e7(0x1d7)],'routeKey':_0x295789[_0x23a7e7(0x324)],'joinReq':_0x295789[_0x23a7e7(0x107)]});case j[_0x23a7e7(0x2c7)]:return JSON[_0x23a7e7(0x24a)]({'cmd':_0x295789[_0x23a7e7(0x1d7)],'routeKey':_0x295789[_0x23a7e7(0x324)],'leaveReq':_0x295789[_0x23a7e7(0x107)]});default:throw new Error(_0x23a7e7(0x294));}}var Vs=Object[_0x59b711(0x16f)],Gs=(_0x2ca00b,_0x222d87,_0x2d09ba,_0x424fc3)=>{for(var _0x50d7c5=_0x424fc3>0x1?void 0x0:_0x424fc3?Vs(_0x222d87,_0x2d09ba):_0x222d87,_0x433205=_0x2ca00b['length']-0x1,_0x381c0e;_0x433205>=0x0;_0x433205--)(_0x381c0e=_0x2ca00b[_0x433205])&&(_0x50d7c5=_0x381c0e(_0x50d7c5)||_0x50d7c5);return _0x50d7c5;},ye=(_0x96bbeb,_0xd96877)=>(_0x44198e,_0x1bb2b7)=>_0xd96877(_0x44198e,_0x1bb2b7,_0x96bbeb);const Oi=_0x2a6406('univer-pro.collaboration-client-socket-service');function Ws(_0x1d21f0,_0x26c63b,_0x544d71){var _0x498c69=_0x59b711;return _0x1d21f0+'/'+_0x26c63b+_0x498c69(0x30e)+_0x544d71+_0x498c69(0x387);}let Gt=class extends _0x58c6ed{constructor(_0x588b5,_0x90239,_0x12eb3e,_0xa09546,_0x107ae6){var _0x574322=_0x59b711;super(),this[_0x574322(0x11a)]=_0x588b5,this[_0x574322(0x14b)]=_0x90239,this[_0x574322(0x35a)]=_0x12eb3e,this['_logService']=_0xa09546,this[_0x574322(0x325)]=_0x107ae6;}['_doCreateSocket'](_0x501ded){var _0x432b99=_0x59b711;const _0x5de015=this[_0x432b99(0x11a)][_0x432b99(0x297)](_0x3c078d);if(!_0x5de015)throw new Error(_0x432b99(0x1d3));const _0x237672=_0x5de015[_0x432b99(0x13f)](_0x501ded);if(!_0x237672)throw new Error(_0x432b99(0x2ee));const _0x22e71f=new _0x30084a(),_0x41f6f4=new _0x2e13d0();_0x22e71f[_0x432b99(0x350)](_0x237672[_0x432b99(0x1af)]['subscribe'](_0x312975=>_0x41f6f4[_0x432b99(0x1ab)](_0x312975))),_0x22e71f['add'](_0x238d9e(()=>_0x41f6f4['complete']()));const _0x5cccd9=new _0x2e13d0();_0x22e71f[_0x432b99(0x350)](_0x237672[_0x432b99(0x292)][_0x432b99(0x16b)](_0x14f533=>_0x5cccd9[_0x432b99(0x1ab)](_0x14f533))),_0x22e71f['add'](_0x238d9e(()=>_0x5cccd9['complete']()));const _0x4bd1b2=new _0x2e13d0();_0x22e71f['add'](_0x237672['message$'][_0x432b99(0x16b)](_0xd23767=>{var _0x10ef1d=_0x432b99;const _0x4431b4=Fs(_0xd23767);_0x4bd1b2[_0x10ef1d(0x1ab)](_0x4431b4);})),_0x22e71f[_0x432b99(0x350)](_0x238d9e(()=>_0x4bd1b2[_0x432b99(0x1c3)]()));let _0x31072c;const _0x387bbd=()=>{var _0x1e8cee=_0x432b99;_0x5cccd9[_0x1e8cee(0x1ab)](new Event(_0x1e8cee(0x365))),_0x41f6f4[_0x1e8cee(0x1ab)](new Event(_0x1e8cee(0x365))),_0x31072c['close']();};return _0x31072c={'memberID':'','close$':_0x41f6f4[_0x432b99(0x159)](),'error$':_0x5cccd9[_0x432b99(0x159)](),'open$':_0x237672[_0x432b99(0x1e9)],'message$':_0x4bd1b2['asObservable'](),'send':_0x4d5298=>{var _0x5818e6=_0x432b99;if(_0x4d5298[_0x5818e6(0x1d7)]===j['INGEST']){if(_0x4d5298[_0x5818e6(0x107)]['eventID']===_0x43a4f7[_0x5818e6(0x10b)]){this[_0x5818e6(0x342)](_0x31072c,_0x4d5298[_0x5818e6(0x107)])['catch'](_0x5d840e=>{var _0x9826b9=_0x5818e6;this[_0x9826b9(0x19f)][_0x9826b9(0x247)](_0x5d840e),_0x387bbd();});return;}if(_0x4d5298['data']['eventID']===_0x43a4f7['FETCH_MISSING']){const _0x26d960=_0x4d5298[_0x5818e6(0x107)];this[_0x5818e6(0x358)](_0x26d960)['then'](_0x4402ea=>{var _0x32a31f=_0x5818e6;_0x4bd1b2['next']({'cmd':j[_0x32a31f(0x143)],'code':pe['OK'],'routeKey':_0x26d960[_0x32a31f(0x107)]['unitID'],'routeType':'','data':{'eventID':_0x43a4f7['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x4402ea}}});})[_0x5818e6(0x40b)](_0x2f0c2f=>{var _0x5b7d2c=_0x5818e6;this[_0x5b7d2c(0x19f)][_0x5b7d2c(0x247)](_0x2f0c2f),_0x387bbd();});return;}}_0x237672[_0x5818e6(0x236)](js(_0x4d5298));},'close':()=>{var _0x2dd837=_0x432b99;_0x237672[_0x2dd837(0x346)](),_0x22e71f['dispose']();}},_0x31072c;}async[_0x59b711(0x342)](_0x35db3e,_0x370e67){var _0x350174=_0x59b711,_0x160757;const {unitType:_0x2b72db,unitID:_0xf03496,changeset:_0x185ea5}=_0x370e67[_0x350174(0x107)],_0x2cb3dd={'unitID':_0xf03496,'memberID':_0x35db3e[_0x350174(0x2d4)],'type':_0x2b72db,'changeset':_0x47952d(_0x185ea5)},_0x3760b6=this[_0x350174(0x35a)][_0x350174(0x1df)](K),_0x5d7574=Ws((_0x160757=_0x3760b6==null?void 0x0:_0x3760b6[_0x350174(0x29b)])!=null?_0x160757:Os,_0x2b72db,_0xf03496);try{await this['_httpService']['post'](_0x5d7574,{'body':_0x2cb3dd});}catch(_0x3f3e15){throw this[_0x350174(0x19f)][_0x350174(0x247)](_0x350174(0x40a),_0x350174(0x2c5)),_0x3f3e15;}}async[_0x59b711(0x358)](_0x54df67){var _0x361af9=_0x59b711;const {unitID:_0x1e789d,from:_0x1374a0,to:_0x17527f,unitType:_0x4a99e0}=_0x54df67['data'];return(await this['_snapshotServerService'][_0x361af9(0x1b3)]({'metadata':void 0x0},{'unitID':_0x1e789d,'type':_0x4a99e0,'from':_0x1374a0,'to':_0x17527f}))[_0x361af9(0x187)][_0x361af9(0x2a3)](_0x526bd3=>((_0x526bd3[_0x361af9(0x1e3)]===null||_0x526bd3[_0x361af9(0x1e3)]===void 0x0)&&(_0x526bd3[_0x361af9(0x1e3)]=[]),_0x526bd3));}};Gt=Gs([ye(0x0,_0x281a8c(_0x37ef73)),ye(0x1,_0x281a8c(_0x562ec3)),ye(0x2,_0x8d713e),ye(0x3,_0x1044bb),ye(0x4,_0x4701bb)],Gt);var Ys=Object['getOwnPropertyDescriptor'],Ks=(_0x59f0f8,_0x47ac0e,_0x4381e0,_0x10d80f)=>{var _0x430144=_0x59b711;for(var _0x483d88=_0x10d80f>0x1?void 0x0:_0x10d80f?Ys(_0x47ac0e,_0x4381e0):_0x47ac0e,_0x1b883f=_0x59f0f8[_0x430144(0x1c0)]-0x1,_0x1ad9dc;_0x1b883f>=0x0;_0x1b883f--)(_0x1ad9dc=_0x59f0f8[_0x1b883f])&&(_0x483d88=_0x1ad9dc(_0x483d88)||_0x483d88);return _0x483d88;},Re=(_0x15834f,_0x513456)=>(_0x248819,_0x3b4565)=>_0x513456(_0x248819,_0x3b4565,_0x15834f);let we=class extends _0x58c6ed{constructor(_0x3a73fb,_0x3b43cd,_0x29de11,_0x55c635,_0x965547,_0x43ab9d){var _0x66dbb3=_0x59b711;super(),D(this,'_socket$',new _0xe5c9e8(void 0x0)),D(this,'socket$',this[_0x66dbb3(0x1c4)][_0x66dbb3(0x159)]()),D(this,'_candidateSocket',null),D(this,'_sessions',new Map()),D(this,_0x66dbb3(0x1f5),new _0xe5c9e8(me[_0x66dbb3(0x110)])),D(this,_0x66dbb3(0x2a0),this[_0x66dbb3(0x1f5)][_0x66dbb3(0x159)]()),D(this,_0x66dbb3(0x3af),!0x1),D(this,_0x66dbb3(0x319)),D(this,_0x66dbb3(0x28a),0x0),D(this,_0x66dbb3(0x2ae)),D(this,_0x66dbb3(0x347)),(this['_injector']=_0x3a73fb,this['_logService']=_0x3b43cd,this[_0x66dbb3(0x35a)]=_0x29de11,this[_0x66dbb3(0x3c5)]=_0x55c635,this[_0x66dbb3(0x3b5)]=_0x965547,this[_0x66dbb3(0x15a)]=_0x43ab9d,this[_0x66dbb3(0x295)]());}get[_0x59b711(0x137)](){var _0x32b391=_0x59b711;return this[_0x32b391(0x1c4)][_0x32b391(0x35b)]();}[_0x59b711(0x295)](){var _0x112063=_0x59b711;this[_0x112063(0x15a)]&&this[_0x112063(0x253)](this[_0x112063(0x15a)][_0x112063(0x1a6)]['subscribe'](_0x25b348=>{var _0x2a81db=_0x112063;_0x25b348&&!this[_0x2a81db(0x137)]&&this[_0x2a81db(0x378)](),_0x25b348||this[_0x2a81db(0x125)]();}));}['dispose'](){var _0x18bc1b=_0x59b711;super['dispose'](),this[_0x18bc1b(0x1ae)](),this[_0x18bc1b(0x284)](),this[_0x18bc1b(0x32b)](),this['_sessions']['forEach'](_0x5c1f1a=>_0x5c1f1a['dispose']()),this[_0x18bc1b(0x270)][_0x18bc1b(0x224)](),this[_0x18bc1b(0x1f5)][_0x18bc1b(0x1c3)]();}async[_0x59b711(0x291)](_0x253c12){var _0x5c868c=_0x59b711;if(this['_sessions']['has'](_0x253c12))return this[_0x5c868c(0x270)][_0x5c868c(0x297)](_0x253c12);this[_0x5c868c(0x1a5)]();const _0x138861=this['_injector']['createInstance'](mt,_0x253c12,this[_0x5c868c(0x1c4)][_0x5c868c(0x159)]());return this[_0x5c868c(0x270)][_0x5c868c(0x302)](_0x253c12,_0x138861),_0x138861;}['closeSession'](_0x2be12f){var _0x4fc69a=_0x59b711,_0x53945d;const _0x4b8bc9=this[_0x4fc69a(0x270)][_0x4fc69a(0x297)](_0x2be12f);_0x4b8bc9&&(this['_sessions'][_0x4fc69a(0x221)](_0x2be12f),_0x4b8bc9['close']()),this[_0x4fc69a(0x270)][_0x4fc69a(0x296)]||(_0x53945d=this['_socket'])==null||_0x53945d[_0x4fc69a(0x346)]();}['reconnect'](){var _0x4b78e0=_0x59b711;this[_0x4b78e0(0x28a)]=0x0,this[_0x4b78e0(0x1ae)](),this[_0x4b78e0(0x168)]();}[_0x59b711(0x1ae)](){var _0x446bcd=_0x59b711;this[_0x446bcd(0x319)]!=null&&(clearTimeout(this[_0x446bcd(0x319)]),this['_retryConnectingTimer']=null);}async[_0x59b711(0x21d)](){var _0x44c02b=_0x59b711,_0x98a6d;const _0x19b1e9=this[_0x44c02b(0x35a)][_0x44c02b(0x1df)](K),_0x333809=(_0x98a6d=_0x19b1e9==null?void 0x0:_0x19b1e9[_0x44c02b(0x340)])!=null?_0x98a6d:Es,_0x2681f7=await this[_0x44c02b(0x3c5)][_0x44c02b(0x13f)](_0x333809);return this[_0x44c02b(0x20d)]=_0x2681f7,_0x2681f7;}async[_0x59b711(0x1a5)](){var _0x5a70f2=_0x59b711,_0x5cc8da,_0x2a9604;try{const _0x471341=(_0x2a9604=(_0x5cc8da=this[_0x5a70f2(0x137)])!=null?_0x5cc8da:this[_0x5a70f2(0x20d)])!=null?_0x2a9604:await this[_0x5a70f2(0x21d)]();if(_0x471341){const _0x217fbc=_0x471341[_0x5a70f2(0x236)];_0x471341[_0x5a70f2(0x236)]=_0x4c0fd9=>(this[_0x5a70f2(0x21a)](),_0x217fbc[_0x5a70f2(0x3a5)](_0x471341,[_0x4c0fd9])),_0x471341[_0x5a70f2(0x244)][_0x5a70f2(0x16b)](_0x425b2d=>this[_0x5a70f2(0x1b1)](_0x471341,_0x425b2d)),_0x471341[_0x5a70f2(0x292)][_0x5a70f2(0x18e)](_0x4eccbf(0x1))[_0x5a70f2(0x16b)](_0x1d3c7c=>this['_logService'][_0x5a70f2(0x247)](_0x5a70f2(0x150),_0x1d3c7c)),_0x471341[_0x5a70f2(0x1e9)]['pipe'](_0x4eccbf(0x1))['subscribe'](()=>{var _0x80063=_0x5a70f2;this[_0x80063(0x2a6)](_0x471341);}),_0x471341['close$'][_0x5a70f2(0x18e)](_0x4eccbf(0x1))['subscribe'](_0x117e76=>{var _0x50b3e1=_0x5a70f2;this['_logService'][_0x50b3e1(0x3e0)](_0x50b3e1(0x16e),_0x50b3e1(0x18b),_0x117e76),this[_0x50b3e1(0x216)]();});}}catch(_0x5949bf){this[_0x5a70f2(0x19f)][_0x5a70f2(0x247)](_0x5949bf),this[_0x5a70f2(0x216)]();}}[_0x59b711(0x2a6)](_0x17ba15){var _0x796075=_0x59b711;this['_logService']['debug'](_0x796075(0x16e),_0x796075(0x2a5)),_0x17ba15[_0x796075(0x236)]({'cmd':j[_0x796075(0x134)]}),this[_0x796075(0x21a)]();}[_0x59b711(0x125)](){var _0x4a12b2=_0x59b711;this[_0x4a12b2(0x3af)]=!0x1,this[_0x4a12b2(0x20d)]=null,this[_0x4a12b2(0x1f5)][_0x4a12b2(0x1ab)](me[_0x4a12b2(0x246)]),this['_socket$'][_0x4a12b2(0x1ab)](null),this[_0x4a12b2(0x284)](),this[_0x4a12b2(0x32b)]();}[_0x59b711(0x216)](){var _0xbe791b=_0x59b711,_0x1691cd;this['_onOffline'](),this[_0xbe791b(0x28a)]<((_0x1691cd=this[_0xbe791b(0x35a)][_0xbe791b(0x1df)](gs))!=null?_0x1691cd:Ts)?(this[_0xbe791b(0x3b5)]['emitEvent']({'id':re[_0xbe791b(0x2f4)]}),this[_0xbe791b(0x168)]()):this['_collaborationUIEventService'][_0xbe791b(0x3a8)]({'id':re[_0xbe791b(0x39f)]});}[_0x59b711(0x168)](){var _0x1ef2c9=_0x59b711,_0x1e93b6;const _0x3fd6e3=this[_0x1ef2c9(0x28a)],_0x7cbbfe=this[_0x1ef2c9(0x35a)][_0x1ef2c9(0x1df)](K),_0x23e7d8=_0x3fd6e3===0x0?0x0:((_0x1e93b6=_0x7cbbfe==null?void 0x0:_0x7cbbfe['retryConnectingInterval'])!=null?_0x1e93b6:Ss)*0x2**_0x3fd6e3;this['_retryConnectingTimer']=setTimeout(()=>{var _0x55a3a6=_0x1ef2c9;clearTimeout(this['_retryConnectingTimer']),this[_0x55a3a6(0x319)]=null,this['_tryEnsureSocket']();},_0x23e7d8),this[_0x1ef2c9(0x28a)]+=0x1;}[_0x59b711(0x1b1)](_0x81636a,_0x1eebc0){var _0x506a42=_0x59b711;const {cmd:_0x3acfac}=_0x1eebc0;_0x3acfac===j[_0x506a42(0x134)]&&!this['_socketReady']&&(_0x81636a[_0x506a42(0x2d4)]=_0x1eebc0[_0x506a42(0x107)]['memberID'],this['_socket$'][_0x506a42(0x1ab)](_0x81636a),this['_status$'][_0x506a42(0x1ab)](me[_0x506a42(0x314)]),this[_0x506a42(0x3af)]=!0x0,this[_0x506a42(0x20d)]=null),_0x3acfac===j[_0x506a42(0x1e7)]&&this[_0x506a42(0x284)](),this[_0x506a42(0x21a)]();}[_0x59b711(0x21a)](){var _0x268cfb=_0x59b711,_0x84c963;this[_0x268cfb(0x32b)](),this[_0x268cfb(0x2ae)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x84c963=this['_configService'][_0x268cfb(0x1df)](ms))!=null?_0x84c963:Is);}[_0x59b711(0x2eb)](){var _0x6a41d0=_0x59b711;this['_socket']['send']({'cmd':j[_0x6a41d0(0x1e7)]}),this[_0x6a41d0(0x238)]();}[_0x59b711(0x238)](){var _0x542c0d=_0x59b711,_0x2cb184;this[_0x542c0d(0x347)]=setTimeout(()=>this[_0x542c0d(0x216)](),(_0x2cb184=this[_0x542c0d(0x35a)][_0x542c0d(0x1df)](di))!=null?_0x2cb184:fi);}['_clearHeartbeatTimer'](){var _0x3e9f51=_0x59b711;this[_0x3e9f51(0x2ae)]!=null&&(clearTimeout(this[_0x3e9f51(0x2ae)]),this[_0x3e9f51(0x2ae)]=null);}['_clearTimeoutTimer'](){var _0xb55982=_0x59b711;this['_timeoutTimer']!=null&&(clearTimeout(this[_0xb55982(0x347)]),this[_0xb55982(0x347)]=null);}};we=Ks([Re(0x0,_0x281a8c(_0x37ef73)),Re(0x1,_0x1044bb),Re(0x2,_0x8d713e),Re(0x3,Oi),Re(0x4,_0x281a8c(ve)),Re(0x5,_0x56c622(Bs))],we);var qs=Object[_0x59b711(0x16f)],zs=(_0x2067da,_0xd0c85d,_0x5d5e8c,_0x5e6970)=>{var _0x40f94a=_0x59b711;for(var _0x5694a5=_0x5e6970>0x1?void 0x0:_0x5e6970?qs(_0xd0c85d,_0x5d5e8c):_0xd0c85d,_0x5f5594=_0x2067da[_0x40f94a(0x1c0)]-0x1,_0x4e896b;_0x5f5594>=0x0;_0x5f5594--)(_0x4e896b=_0x2067da[_0x5f5594])&&(_0x5694a5=_0x4e896b(_0x5694a5)||_0x5694a5);return _0x5694a5;},Be=(_0x3af673,_0x550ec0)=>(_0x5d0de2,_0x52d839)=>_0x550ec0(_0x5d0de2,_0x52d839,_0x3af673);let nt=class extends _0x142f2e{constructor(_0x21b83e,_0x2d3a6f,_0x3ff26c,_0x39f810){var _0x39b9ea=_0x59b711,_0x120a01;super(),D(this,_0x39b9ea(0x2b5),new Map()),D(this,_0x39b9ea(0x30a),new _0x2e13d0()),D(this,_0x39b9ea(0x417),this[_0x39b9ea(0x30a)][_0x39b9ea(0x159)]()),(this['_injector']=_0x21b83e,this['_collabSessionService']=_0x2d3a6f,this[_0x39b9ea(0x35a)]=_0x3ff26c,this[_0x39b9ea(0x116)]=_0x39f810,((_0x120a01=this[_0x39b9ea(0x35a)]['getConfig'](K))==null?void 0x0:_0x120a01[_0x39b9ea(0x35e)])!==!0x1&&this['_init']());}[_0x59b711(0x2d7)](){var _0x3f8b38=_0x59b711;super[_0x3f8b38(0x2d7)](),this[_0x3f8b38(0x2b5)]['forEach'](_0x160d8b=>_0x160d8b[_0x3f8b38(0x2d7)]()),this[_0x3f8b38(0x2b5)][_0x3f8b38(0x224)]();}['getCollabEntity'](_0x33e467){var _0x33773b=_0x59b711,_0x4fefbf;return(_0x4fefbf=this[_0x33773b(0x2b5)][_0x33773b(0x297)](_0x33e467))!=null?_0x4fefbf:null;}[_0x59b711(0x3d2)](_0x281428){var _0x242035=_0x59b711;const _0x2b6041=this['getCollabEntity'](_0x281428);return _0x2b6041?_0x35f3b7(_0x2b6041):this[_0x242035(0x30a)][_0x242035(0x18e)](_0x53e131(_0x387c6f=>_0x387c6f[_0x242035(0x3d6)]===_0x281428));}[_0x59b711(0x16d)](_0x19217e){var _0x484271=_0x59b711;return _0x1a773a(this['getCollabEntity$'](_0x19217e)[_0x484271(0x18e)](_0x4bbb67(()=>{})));}[_0x59b711(0x306)](){var _0x2abd32=_0x59b711;this[_0x2abd32(0x116)][_0x2abd32(0x395)](_0x119ad1['UNIVER_SHEET'])[_0x2abd32(0x18e)](_0x2b999a(this[_0x2abd32(0x1c8)]),_0xdee1e3(0x10))['subscribe'](async _0x1533bd=>{var _0x1bbd5f=_0x2abd32;const _0x2488de=_0x1533bd[_0x1bbd5f(0x400)](),_0x12c20c=await this['_startCollaboration'](_0x2488de,Q['UNIVER_SHEET']);this[_0x1bbd5f(0x2b5)][_0x1bbd5f(0x302)](_0x2488de,_0x12c20c);}),this[_0x2abd32(0x116)][_0x2abd32(0x395)](_0x119ad1[_0x2abd32(0x1f8)])[_0x2abd32(0x18e)](_0x2b999a(this['dispose$']),_0xdee1e3(0x10))[_0x2abd32(0x18e)](_0x53e131(_0x29f75d=>!_0x29f75d['getUnitId']()['startsWith']('__')))[_0x2abd32(0x16b)](async _0x51110e=>{var _0x4ebb41=_0x2abd32;const _0x4c75f4=_0x51110e['getUnitId'](),_0x160316=await this[_0x4ebb41(0x2d2)](_0x4c75f4,Q[_0x4ebb41(0x1f8)]);this[_0x4ebb41(0x2b5)][_0x4ebb41(0x302)](_0x4c75f4,_0x160316);}),_0x23bbdc(this[_0x2abd32(0x116)][_0x2abd32(0x32a)](_0x119ad1[_0x2abd32(0x11b)]),this[_0x2abd32(0x116)]['getTypeOfUnitDisposed$'](_0x119ad1[_0x2abd32(0x1f8)]))['pipe'](_0x2b999a(this['dispose$']))[_0x2abd32(0x16b)](_0x240793=>{var _0x1f9a4c=_0x2abd32;const _0x10d3a8=_0x240793['getUnitId'](),_0x239e8f=this[_0x1f9a4c(0x2b5)][_0x1f9a4c(0x297)](_0x10d3a8);_0x239e8f&&(_0x239e8f[_0x1f9a4c(0x2d7)](),this[_0x1f9a4c(0x2b5)][_0x1f9a4c(0x221)](_0x10d3a8));});}async[_0x59b711(0x2d2)](_0xc2a2f4,_0x136963){var _0x7fe7a6=_0x59b711;const _0x1fe6c1=await this[_0x7fe7a6(0x39b)][_0x7fe7a6(0x291)](_0xc2a2f4),_0x1b5110=this[_0x7fe7a6(0x11a)][_0x7fe7a6(0x155)](this['_getCtorByUniverType'](_0x136963),_0xc2a2f4,_0x136963,_0x1fe6c1);return await _0x1b5110['init'](),this[_0x7fe7a6(0x30a)][_0x7fe7a6(0x1ab)](_0x1b5110),_0x1b5110;}[_0x59b711(0x260)](_0x3d64a4){var _0x4f66a7=_0x59b711;switch(_0x3d64a4){case Q[_0x4f66a7(0x1f8)]:return It;case Q[_0x4f66a7(0x11b)]:return St;default:throw new Error(_0x4f66a7(0x3bf)+_0x3d64a4);}}};nt=zs([Be(0x0,_0x281a8c(_0x37ef73)),Be(0x1,_0x281a8c(we)),Be(0x2,_0x8d713e),Be(0x3,_0xf3afd7)],nt);var Js=Object[_0x59b711(0x16f)],Xs=(_0x88a3ff,_0x1db1b3,_0xb49fdc,_0x24db9e)=>{var _0x22546c=_0x59b711;for(var _0x3b3a44=_0x24db9e>0x1?void 0x0:_0x24db9e?Js(_0x1db1b3,_0xb49fdc):_0x1db1b3,_0x2f8ef7=_0x88a3ff[_0x22546c(0x1c0)]-0x1,_0x571b46;_0x2f8ef7>=0x0;_0x2f8ef7--)(_0x571b46=_0x88a3ff[_0x2f8ef7])&&(_0x3b3a44=_0x571b46(_0x3b3a44)||_0x3b3a44);return _0x3b3a44;},Wt=(_0x1d2550,_0x16b4e9)=>(_0x1ea44e,_0x4b35a3)=>_0x16b4e9(_0x1ea44e,_0x4b35a3,_0x1d2550);const Zs=_0x59b711(0x258),Qs=_0x59b711(0x290);let gt=class extends _0x58c6ed{constructor(_0x3c486d,_0x2e5973){var _0x15dbce=_0x59b711;super(),this[_0x15dbce(0x116)]=_0x3c486d,this[_0x15dbce(0x35a)]=_0x2e5973,this[_0x15dbce(0x306)]();}['_init'](){var _0xeb89ab=_0x59b711;this[_0xeb89ab(0x253)](this['_univerInstanceService'][_0xeb89ab(0x388)]['subscribe'](()=>{var _0x38a786=_0xeb89ab,_0x86d53f;const _0x48fd0d=this[_0x38a786(0x116)][_0x38a786(0x316)]();let _0x217c6e=(_0x86d53f=this[_0x38a786(0x35a)]['getConfig'](Zs))!=null?_0x86d53f:Qs;_0x48fd0d instanceof _0x53001c&&(_0x217c6e=_0x48fd0d['name']),document[_0x38a786(0x33e)]=_0x217c6e;}));}};gt=Xs([Wt(0x0,_0xf3afd7),Wt(0x1,_0x8d713e)],gt);var en=Object[_0x59b711(0x16f)],tn=(_0x51f80f,_0x495816,_0x440f8c,_0x5a32cd)=>{for(var _0x49ca60=_0x5a32cd>0x1?void 0x0:_0x5a32cd?en(_0x495816,_0x440f8c):_0x495816,_0x4d3e38=_0x51f80f['length']-0x1,_0x304a0d;_0x4d3e38>=0x0;_0x4d3e38--)(_0x304a0d=_0x51f80f[_0x4d3e38])&&(_0x49ca60=_0x304a0d(_0x49ca60)||_0x49ca60);return _0x49ca60;},dt=(_0x14ae4e,_0x296c95)=>(_0x351419,_0x6ae901)=>_0x296c95(_0x351419,_0x6ae901,_0x14ae4e);let rt=class{constructor(_0x52d3ac,_0x3d9547,_0xfdfc1d){var _0x59c965=_0x59b711;this[_0x59c965(0x35a)]=_0x52d3ac,this['_httpService']=_0x3d9547,this['localeService']=_0xfdfc1d,this[_0x59c965(0x1ec)]();}[_0x59b711(0x1ec)](){var _0x26e86d=_0x59b711;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xa7f910,_0x2ea810)=>_0x2ea810(_0xa7f910)[_0x26e86d(0x18e)](_0x253d1a(async _0x5634ba=>{var _0x144164=_0x26e86d;const _0x1e8120=_0x5634ba;if(_0x1e8120[_0x144164(0x24d)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x144164(0x3fb)](this[_0x144164(0x11c)]['t'](_0x144164(0x274)))){const _0x4dda2c=window[_0x144164(0x2cb)](window[_0x144164(0x12c)][_0x144164(0x2b3)]);window['location'][_0x144164(0x2b3)]=this[_0x144164(0x117)]()+_0x144164(0x33f)+_0x4dda2c;}}return _0x1e8120;}))});}[_0x59b711(0x117)](){var _0x5a1477=_0x59b711,_0xce0c90;const _0x2517b0=this[_0x5a1477(0x35a)][_0x5a1477(0x1df)](K);return(_0xce0c90=_0x2517b0==null?void 0x0:_0x2517b0[_0x5a1477(0x2b4)])!=null?_0xce0c90:Rs;}};rt=tn([dt(0x0,_0x8d713e),dt(0x1,_0x281a8c(_0x562ec3)),dt(0x2,_0x281a8c(_0x36425d))],rt);var sn=Object[_0x59b711(0x16f)],nn=(_0x5afb91,_0x530720,_0x5969d6,_0x2b26b5)=>{var _0x189894=_0x59b711;for(var _0x499561=_0x2b26b5>0x1?void 0x0:_0x2b26b5?sn(_0x530720,_0x5969d6):_0x530720,_0x2082cb=_0x5afb91[_0x189894(0x1c0)]-0x1,_0x4052c9;_0x2082cb>=0x0;_0x2082cb--)(_0x4052c9=_0x5afb91[_0x2082cb])&&(_0x499561=_0x4052c9(_0x499561)||_0x499561);return _0x499561;},Yt=(_0x11e02a,_0x2629d9)=>(_0x4a827d,_0x5ac8e8)=>_0x2629d9(_0x4a827d,_0x5ac8e8,_0x11e02a);const rn=_0x59b711(0x27b);let Tt=class extends _0x58c6ed{constructor(_0x59e566,_0x468103){var _0x42ce97=_0x59b711;super(),this[_0x42ce97(0x3ff)]=_0x59e566,this[_0x42ce97(0x35a)]=_0x468103,this[_0x42ce97(0x165)]();}[_0x59b711(0x165)](){var _0x5cc6ab=_0x59b711;const _0x532272=this;this[_0x5cc6ab(0x253)](this[_0x5cc6ab(0x3ff)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2a7a5a({'isMatch'(_0x89c4e1){var _0x273bc3=_0x5cc6ab,_0x2bd8b2;if(_0x89c4e1[_0x273bc3(0x2aa)]===_0x273bc3(0x17f)&&((_0x2bd8b2=_0x89c4e1[_0x273bc3(0x239)])!=null&&_0x2bd8b2[_0x273bc3(0x1ee)])){const {objectID:_0x55432e,objectType:_0x2e8427}=_0x89c4e1[_0x273bc3(0x239)]['body']||{};if(!_0x55432e||_0x2e8427===void 0x0)return!0x1;const _0x895775=_0x532272[_0x273bc3(0x254)]()+'/'+_0x2e8427+_0x273bc3(0x263)+_0x55432e+_0x273bc3(0x112);if(_0x89c4e1['url']===_0x895775)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x568202){var _0x28f5a1=_0x5cc6ab,_0xa1928c;return(_0xa1928c=_0x568202[_0x28f5a1(0x239)])==null?void 0x0:_0xa1928c[_0x28f5a1(0x1ee)];},'mergeParamsToRequest'(_0x458140,_0x47cd60){var _0x37aa60=_0x5cc6ab;const _0x55c7f1=_0x532272[_0x37aa60(0x254)]()+_0x37aa60(0x1ca),_0x24ec7c=_0x458140['reduce']((_0x13b0e8,_0x287bb9)=>{var _0x17f338=_0x37aa60;const {unitID:_0x308cd9,objectID:_0x586034,objectType:_0x85d405,actions:_0x31dc22}=_0x287bb9;return _0x13b0e8[_0x308cd9]||(_0x13b0e8[_0x308cd9]={}),_0x13b0e8[_0x308cd9][_0x586034]||(_0x13b0e8[_0x308cd9][_0x586034]={'objectID':_0x586034,'objectType':_0x85d405,'actions':[]}),_0x13b0e8[_0x308cd9][_0x586034][_0x17f338(0x351)]['push'](..._0x31dc22),_0x13b0e8;},{}),_0x45af0c=[];for(const _0x284aef in _0x24ec7c)for(const _0x2c7bda in _0x24ec7c[_0x284aef]){const {actions:_0x4e02a3,objectType:_0x212fb6}=_0x24ec7c[_0x284aef][_0x2c7bda],_0x594833=[...new Set(_0x4e02a3)];_0x45af0c[_0x37aa60(0x2cf)]({'unitID':_0x284aef,'objectID':_0x2c7bda,'objectType':_0x212fb6,'actions':_0x594833});}return new _0x5a6eb7(_0x37aa60(0x17f),_0x55c7f1,{'headers':_0x47cd60['headers'],'withCredentials':_0x47cd60[_0x37aa60(0x30d)],'responseType':_0x47cd60[_0x37aa60(0x240)],'body':{'requests':_0x45af0c}});}},{'distributeResult'(_0x4e6842,_0x5a3aac){const {objectActions:_0x45c2b4}=_0x4e6842;return _0x5a3aac['map'](_0x4b8846=>{var _0x2d2aee=_0x2040;const {unitID:_0x579c9f,objectID:_0x548b0d,actions:_0x4b539d}=_0x4b8846,_0x318cf6=_0x45c2b4['find'](_0x535805=>_0x535805['unitID']===_0x579c9f&&_0x535805[_0x2d2aee(0x24f)]===_0x548b0d),_0xc47ec8=_0x4b539d[_0x2d2aee(0x2a3)](_0x204b32=>_0x318cf6==null?void 0x0:_0x318cf6['actions'][_0x2d2aee(0x2dc)](_0x298573=>_0x298573[_0x2d2aee(0x330)]===_0x204b32))[_0x2d2aee(0x219)](_0x1cc26d=>!!_0x1cc26d);return{'config':_0x4b8846,'result':{'actions':_0xc47ec8,'error':_0x4e6842[_0x2d2aee(0x247)]}};});}})}));}['_getAPIPrefixPath'](){var _0x56a26c=_0x59b711,_0x1efc08;const _0xfc74f7=this[_0x56a26c(0x35a)][_0x56a26c(0x1df)](K);return(_0x1efc08=_0xfc74f7==null?void 0x0:_0xfc74f7[_0x56a26c(0x2ab)])!=null?_0x1efc08:rn;}async[_0x59b711(0x12a)](_0x3673b8){var _0x5721b9=_0x59b711;const _0x26f0a1=this[_0x5721b9(0x254)]()+'/'+_0x3673b8['objectType']+_0x5721b9(0x26f);return(await this[_0x5721b9(0x3ff)][_0x5721b9(0x2ff)](_0x26f0a1,{'body':_0x3673b8}))[_0x5721b9(0x1ee)][_0x5721b9(0x24f)]||'';}async[_0x59b711(0x3a2)](_0x4694b0){var _0x3bd988=_0x59b711;const _0x1e7cb0=this[_0x3bd988(0x254)]()+_0x3bd988(0x3b0);return(await this[_0x3bd988(0x3ff)][_0x3bd988(0x2ff)](_0x1e7cb0,{'body':_0x4694b0}))[_0x3bd988(0x1ee)][_0x3bd988(0x3f5)];}async[_0x59b711(0x220)](_0x137a1e){var _0x23dd3f=_0x59b711,_0x5ec7fb,_0x1e4800;const _0x7ab14f=this[_0x23dd3f(0x254)]()+'/'+_0x137a1e[_0x23dd3f(0x2e8)]+'/object/'+_0x137a1e['objectID'],_0x49c21c=await this[_0x23dd3f(0x3ff)][_0x23dd3f(0x2da)](_0x7ab14f,{'body':_0x137a1e});if(((_0x1e4800=(_0x5ec7fb=_0x49c21c==null?void 0x0:_0x49c21c[_0x23dd3f(0x1ee)])==null?void 0x0:_0x5ec7fb['error'])==null?void 0x0:_0x1e4800[_0x23dd3f(0x131)])!==0x1)throw new Error(_0x23dd3f(0x241));}async['allowed'](_0x1533f4){var _0xe2d296=_0x59b711;const _0x164639=this[_0xe2d296(0x254)]()+'/'+_0x1533f4[_0xe2d296(0x2e8)]+_0xe2d296(0x263)+_0x1533f4['objectID']+'/allowed';return(await this[_0xe2d296(0x3ff)][_0xe2d296(0x2ff)](_0x164639,{'body':_0x1533f4}))[_0xe2d296(0x1ee)]['actions'];}async[_0x59b711(0x2c9)](_0x48f972){var _0x55e563=_0x59b711;const _0x373214=this[_0x55e563(0x254)]()+_0x55e563(0x1ca);return(await this[_0x55e563(0x3ff)][_0x55e563(0x2ff)](_0x373214,{'body':{'requests':_0x48f972}}))['body'][_0x55e563(0x2c8)];}async[_0x59b711(0x3ee)](_0xc8a53f){var _0x361f07=_0x59b711;const _0x370295=this[_0x361f07(0x254)]()+'/'+_0xc8a53f[_0x361f07(0x2e8)]+'/role',_0x1c08aa=await this[_0x361f07(0x3ff)]['post'](_0x370295,{'body':_0xc8a53f});return{'roles':_0x1c08aa['body'][_0x361f07(0x192)],'actions':_0x1c08aa[_0x361f07(0x1ee)][_0x361f07(0x351)]};}async[_0x59b711(0x3d3)](_0xf85f90){var _0x5b38cf=_0x59b711;const _0xfe55ba=this[_0x5b38cf(0x254)]()+'/collaborator';await this[_0x5b38cf(0x3ff)][_0x5b38cf(0x221)](_0xfe55ba,{'params':{'collaboratorID':_0xf85f90[_0x5b38cf(0x3ba)],'objectID':_0xf85f90[_0x5b38cf(0x24f)],'unitID':_0xf85f90[_0x5b38cf(0x3d6)]}});}async[_0x59b711(0x213)](_0x3d4c64){var _0x2877f8=_0x59b711;const _0xb21b38=this['_getAPIPrefixPath']()+_0x2877f8(0x1f1);await this['_HTTPService'][_0x2877f8(0x1a3)](_0xb21b38,{'body':_0x3d4c64});}async['createCollaborator'](_0x5a87f1){var _0x57eaec=_0x59b711;const _0x4268b4=this[_0x57eaec(0x254)]()+_0x57eaec(0x1f1);await this['_HTTPService']['post'](_0x4268b4,{'body':_0x5a87f1});}async[_0x59b711(0x30f)](_0x2b6e36){var _0x57f679=_0x59b711;const _0xf5d3e2=this['_getAPIPrefixPath']()+_0x57f679(0x1f1);return(await this[_0x57f679(0x3ff)][_0x57f679(0x297)](_0xf5d3e2,{'params':{'objectID':_0x2b6e36[_0x57f679(0x24f)],'unitID':_0x2b6e36['unitID']}}))[_0x57f679(0x1ee)]['collaborators'];}async[_0x59b711(0x17c)](_0x51c3cf){var _0x24177d=_0x59b711;const _0x1b0d9b=this[_0x24177d(0x254)]()+_0x24177d(0x1f1);await this[_0x24177d(0x3ff)][_0x24177d(0x2da)](_0x1b0d9b,{'body':_0x51c3cf});}};Tt=nn([Yt(0x0,_0x281a8c(_0x562ec3)),Yt(0x1,_0x281a8c(_0x8d713e))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2497ad){var _0xaef670=_0x59b711;return _0x2497ad&&_0x2497ad[_0xaef670(0x191)]&&Object[_0xaef670(0x170)][_0xaef670(0x293)]['call'](_0x2497ad,'default')?_0x2497ad[_0xaef670(0x3b2)]:_0x2497ad;}var Ve={'exports':{}};function an(_0x5750f6){var _0x48c2af=_0x59b711;throw new Error(_0x48c2af(0x167)+_0x5750f6+_0x48c2af(0x3f6));}var Ge={'exports':{}},on=Ge['exports'],Kt;function ie(){var _0x1a440a=_0x59b711;return Kt||(Kt=0x1,function(_0x5e2311,_0x3a189a){(function(_0x3605d3,_0x3b009f){var _0xa5e5a8=_0x2040;_0x5e2311[_0xa5e5a8(0x1c5)]=_0x3b009f();}(on,function(){var _0x59640a=_0x59640a||function(_0xa26f9c,_0x36c1d0){var _0x31c2b6=_0x2040,_0x22c9cb;if(typeof window<'u'&&window[_0x31c2b6(0x381)]&&(_0x22c9cb=window[_0x31c2b6(0x381)]),typeof self<'u'&&self['crypto']&&(_0x22c9cb=self[_0x31c2b6(0x381)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x22c9cb=globalThis[_0x31c2b6(0x381)]),!_0x22c9cb&&typeof window<'u'&&window[_0x31c2b6(0x198)]&&(_0x22c9cb=window[_0x31c2b6(0x198)]),!_0x22c9cb&&typeof ft<'u'&&ft[_0x31c2b6(0x381)]&&(_0x22c9cb=ft[_0x31c2b6(0x381)]),!_0x22c9cb&&typeof an==_0x31c2b6(0x310))try{_0x22c9cb=require('crypto');}catch{}var _0x58f4e1=function(){var _0xfad62e=_0x31c2b6;if(_0x22c9cb){if(typeof _0x22c9cb['getRandomValues']=='function')try{return _0x22c9cb[_0xfad62e(0x2fd)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x22c9cb[_0xfad62e(0x382)]==_0xfad62e(0x310))try{return _0x22c9cb[_0xfad62e(0x382)](0x4)[_0xfad62e(0x313)]();}catch{}}throw new Error(_0xfad62e(0x2e0));},_0x1a9214=Object['create']||(function(){function _0x3d14ca(){}return function(_0x2d28cd){var _0x16a198=_0x2040,_0x543c3b;return _0x3d14ca[_0x16a198(0x170)]=_0x2d28cd,_0x543c3b=new _0x3d14ca(),_0x3d14ca[_0x16a198(0x170)]=null,_0x543c3b;};}()),_0x7d7daf={},_0x15337e=_0x7d7daf[_0x31c2b6(0x1bd)]={},_0x4389e0=_0x15337e['Base']=(function(){return{'extend':function(_0x2d70c6){var _0x27dba0=_0x2040,_0x21c942=_0x1a9214(this);return _0x2d70c6&&_0x21c942['mixIn'](_0x2d70c6),(!_0x21c942[_0x27dba0(0x293)](_0x27dba0(0x1ec))||this['init']===_0x21c942['init'])&&(_0x21c942[_0x27dba0(0x1ec)]=function(){var _0x1e662e=_0x27dba0;_0x21c942[_0x1e662e(0x20a)][_0x1e662e(0x1ec)][_0x1e662e(0x3a5)](this,arguments);}),_0x21c942['init'][_0x27dba0(0x170)]=_0x21c942,_0x21c942['$super']=this,_0x21c942;},'create':function(){var _0x305a56=_0x2040,_0x1160cf=this[_0x305a56(0x363)]();return _0x1160cf['init'][_0x305a56(0x3a5)](_0x1160cf,arguments),_0x1160cf;},'init':function(){},'mixIn':function(_0x2d8a23){var _0x3ac5fd=_0x2040;for(var _0x46e8d8 in _0x2d8a23)_0x2d8a23[_0x3ac5fd(0x293)](_0x46e8d8)&&(this[_0x46e8d8]=_0x2d8a23[_0x46e8d8]);_0x2d8a23[_0x3ac5fd(0x293)](_0x3ac5fd(0x226))&&(this[_0x3ac5fd(0x226)]=_0x2d8a23[_0x3ac5fd(0x226)]);},'clone':function(){var _0x2bd4e8=_0x2040;return this[_0x2bd4e8(0x1ec)][_0x2bd4e8(0x170)][_0x2bd4e8(0x363)](this);}};}()),_0x4a642d=_0x15337e[_0x31c2b6(0x26b)]=_0x4389e0[_0x31c2b6(0x363)]({'init':function(_0x2e442f,_0x1b9b88){var _0x2b7696=_0x31c2b6;_0x2e442f=this['words']=_0x2e442f||[],_0x1b9b88!=_0x36c1d0?this[_0x2b7696(0x367)]=_0x1b9b88:this[_0x2b7696(0x367)]=_0x2e442f['length']*0x4;},'toString':function(_0x5c8287){var _0x1ffc3a=_0x31c2b6;return(_0x5c8287||_0x3c78bb)[_0x1ffc3a(0x24a)](this);},'concat':function(_0x3e5a2c){var _0x379221=_0x31c2b6,_0x3aa7cb=this[_0x379221(0x3fa)],_0x2aa5ac=_0x3e5a2c[_0x379221(0x3fa)],_0x3a5562=this[_0x379221(0x367)],_0x54f929=_0x3e5a2c[_0x379221(0x367)];if(this[_0x379221(0x339)](),_0x3a5562%0x4)for(var _0x211b06=0x0;_0x211b06<_0x54f929;_0x211b06++){var _0x5eedbb=_0x2aa5ac[_0x211b06>>>0x2]>>>0x18-_0x211b06%0x4*0x8&0xff;_0x3aa7cb[_0x3a5562+_0x211b06>>>0x2]|=_0x5eedbb<<0x18-(_0x3a5562+_0x211b06)%0x4*0x8;}else{for(var _0x4e7ccf=0x0;_0x4e7ccf<_0x54f929;_0x4e7ccf+=0x4)_0x3aa7cb[_0x3a5562+_0x4e7ccf>>>0x2]=_0x2aa5ac[_0x4e7ccf>>>0x2];}return this[_0x379221(0x367)]+=_0x54f929,this;},'clamp':function(){var _0x1c4cd4=_0x31c2b6,_0x2563f1=this[_0x1c4cd4(0x3fa)],_0x5a5184=this[_0x1c4cd4(0x367)];_0x2563f1[_0x5a5184>>>0x2]&=0xffffffff<<0x20-_0x5a5184%0x4*0x8,_0x2563f1[_0x1c4cd4(0x1c0)]=_0xa26f9c[_0x1c4cd4(0x304)](_0x5a5184/0x4);},'clone':function(){var _0xe30dce=_0x31c2b6,_0x365953=_0x4389e0['clone'][_0xe30dce(0x2ac)](this);return _0x365953[_0xe30dce(0x3fa)]=this[_0xe30dce(0x3fa)][_0xe30dce(0x164)](0x0),_0x365953;},'random':function(_0x5c84ca){var _0x51ab0e=_0x31c2b6;for(var _0x152dfd=[],_0x1ef0ce=0x0;_0x1ef0ce<_0x5c84ca;_0x1ef0ce+=0x4)_0x152dfd[_0x51ab0e(0x2cf)](_0x58f4e1());return new _0x4a642d[(_0x51ab0e(0x1ec))](_0x152dfd,_0x5c84ca);}}),_0x2104ce=_0x7d7daf[_0x31c2b6(0x31c)]={},_0x3c78bb=_0x2104ce[_0x31c2b6(0x3f7)]={'stringify':function(_0x10bebd){var _0x1b5fb9=_0x31c2b6;for(var _0x531a23=_0x10bebd['words'],_0xcf0dab=_0x10bebd[_0x1b5fb9(0x367)],_0x2e18f1=[],_0x5a28b6=0x0;_0x5a28b6<_0xcf0dab;_0x5a28b6++){var _0x145472=_0x531a23[_0x5a28b6>>>0x2]>>>0x18-_0x5a28b6%0x4*0x8&0xff;_0x2e18f1[_0x1b5fb9(0x2cf)]((_0x145472>>>0x4)[_0x1b5fb9(0x226)](0x10)),_0x2e18f1[_0x1b5fb9(0x2cf)]((_0x145472&0xf)['toString'](0x10));}return _0x2e18f1[_0x1b5fb9(0x140)]('');},'parse':function(_0x13f053){var _0x5324a3=_0x31c2b6;for(var _0x1fefcc=_0x13f053[_0x5324a3(0x1c0)],_0x3156ba=[],_0x92f2ca=0x0;_0x92f2ca<_0x1fefcc;_0x92f2ca+=0x2)_0x3156ba[_0x92f2ca>>>0x3]|=parseInt(_0x13f053['substr'](_0x92f2ca,0x2),0x10)<<0x18-_0x92f2ca%0x8*0x4;return new _0x4a642d['init'](_0x3156ba,_0x1fefcc/0x2);}},_0x4dc40d=_0x2104ce[_0x31c2b6(0x27e)]={'stringify':function(_0x58d372){var _0x47f310=_0x31c2b6;for(var _0xb1e8af=_0x58d372['words'],_0x20e553=_0x58d372[_0x47f310(0x367)],_0x5d40a3=[],_0x137b57=0x0;_0x137b57<_0x20e553;_0x137b57++){var _0x46aa18=_0xb1e8af[_0x137b57>>>0x2]>>>0x18-_0x137b57%0x4*0x8&0xff;_0x5d40a3[_0x47f310(0x2cf)](String['fromCharCode'](_0x46aa18));}return _0x5d40a3[_0x47f310(0x140)]('');},'parse':function(_0x1de312){var _0x4a6645=_0x31c2b6;for(var _0x120b76=_0x1de312[_0x4a6645(0x1c0)],_0x2ae4ac=[],_0x37bcf6=0x0;_0x37bcf6<_0x120b76;_0x37bcf6++)_0x2ae4ac[_0x37bcf6>>>0x2]|=(_0x1de312[_0x4a6645(0x23b)](_0x37bcf6)&0xff)<<0x18-_0x37bcf6%0x4*0x8;return new _0x4a642d[(_0x4a6645(0x1ec))](_0x2ae4ac,_0x120b76);}},_0x2cf48c=_0x2104ce[_0x31c2b6(0x106)]={'stringify':function(_0x369844){var _0x27fc41=_0x31c2b6;try{return decodeURIComponent(escape(_0x4dc40d[_0x27fc41(0x24a)](_0x369844)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x3d0f9d){var _0x3201c0=_0x31c2b6;return _0x4dc40d[_0x3201c0(0x3be)](unescape(encodeURIComponent(_0x3d0f9d)));}},_0x12e37c=_0x15337e['BufferedBlockAlgorithm']=_0x4389e0['extend']({'reset':function(){var _0x2f85c9=_0x31c2b6;this['_data']=new _0x4a642d[(_0x2f85c9(0x1ec))](),this[_0x2f85c9(0x157)]=0x0;},'_append':function(_0x29df8b){var _0x2c97ea=_0x31c2b6;typeof _0x29df8b=='string'&&(_0x29df8b=_0x2cf48c[_0x2c97ea(0x3be)](_0x29df8b)),this[_0x2c97ea(0x413)][_0x2c97ea(0x276)](_0x29df8b),this[_0x2c97ea(0x157)]+=_0x29df8b[_0x2c97ea(0x367)];},'_process':function(_0x22bc87){var _0x3a7f75=_0x31c2b6,_0x17fb50,_0x237c07=this[_0x3a7f75(0x413)],_0x21d66d=_0x237c07[_0x3a7f75(0x3fa)],_0x5db395=_0x237c07[_0x3a7f75(0x367)],_0x38112c=this['blockSize'],_0x1d62c4=_0x38112c*0x4,_0xb52cf2=_0x5db395/_0x1d62c4;_0x22bc87?_0xb52cf2=_0xa26f9c[_0x3a7f75(0x304)](_0xb52cf2):_0xb52cf2=_0xa26f9c[_0x3a7f75(0x194)]((_0xb52cf2|0x0)-this[_0x3a7f75(0x361)],0x0);var _0x1d999c=_0xb52cf2*_0x38112c,_0x5bc69c=_0xa26f9c[_0x3a7f75(0x341)](_0x1d999c*0x4,_0x5db395);if(_0x1d999c){for(var _0x310d35=0x0;_0x310d35<_0x1d999c;_0x310d35+=_0x38112c)this['_doProcessBlock'](_0x21d66d,_0x310d35);_0x17fb50=_0x21d66d['splice'](0x0,_0x1d999c),_0x237c07[_0x3a7f75(0x367)]-=_0x5bc69c;}return new _0x4a642d[(_0x3a7f75(0x1ec))](_0x17fb50,_0x5bc69c);},'clone':function(){var _0x54f0e2=_0x31c2b6,_0x316200=_0x4389e0[_0x54f0e2(0x352)][_0x54f0e2(0x2ac)](this);return _0x316200[_0x54f0e2(0x413)]=this[_0x54f0e2(0x413)]['clone'](),_0x316200;},'_minBufferSize':0x0});_0x15337e['Hasher']=_0x12e37c[_0x31c2b6(0x363)]({'cfg':_0x4389e0[_0x31c2b6(0x363)](),'init':function(_0x22f2c8){var _0x4e432b=_0x31c2b6;this[_0x4e432b(0x1cf)]=this[_0x4e432b(0x1cf)]['extend'](_0x22f2c8),this['reset']();},'reset':function(){var _0x10c216=_0x31c2b6;_0x12e37c['reset'][_0x10c216(0x2ac)](this),this[_0x10c216(0x1bc)]();},'update':function(_0x3e3e7a){return this['_append'](_0x3e3e7a),this['_process'](),this;},'finalize':function(_0x808f92){var _0x1cacc6=_0x31c2b6;_0x808f92&&this['_append'](_0x808f92);var _0x36404d=this[_0x1cacc6(0x10a)]();return _0x36404d;},'blockSize':0x10,'_createHelper':function(_0x1d16e7){return function(_0x2ec415,_0x21eeb6){var _0x290631=_0x2040;return new _0x1d16e7[(_0x290631(0x1ec))](_0x21eeb6)[_0x290631(0x139)](_0x2ec415);};},'_createHmacHelper':function(_0x13af8e){return function(_0x41c584,_0x3ec72c){var _0xdc78f6=_0x2040;return new _0x3e77a4['HMAC'][(_0xdc78f6(0x1ec))](_0x13af8e,_0x3ec72c)[_0xdc78f6(0x139)](_0x41c584);};}});var _0x3e77a4=_0x7d7daf['algo']={};return _0x7d7daf;}(Math);return _0x59640a;}));}(Ge)),Ge[_0x1a440a(0x1c5)];}var We={'exports':{}},cn=We[_0x59b711(0x1c5)],qt;function Ri(){var _0x2e4c15=_0x59b711;return qt||(qt=0x1,function(_0x73505f,_0x1ee391){(function(_0x22fe47,_0x2f9f11){var _0x1c5c17=_0x2040;_0x73505f[_0x1c5c17(0x1c5)]=_0x2f9f11(ie());}(cn,function(_0x2d35ec){var _0x9d06ac=_0x2040;return(function(){var _0x34be1b=_0x2040,_0x501043=_0x2d35ec,_0x5aac70=_0x501043[_0x34be1b(0x1bd)],_0x49ba32=_0x5aac70[_0x34be1b(0x26b)],_0x5e91d0=_0x501043[_0x34be1b(0x31c)];_0x5e91d0['Base64']={'stringify':function(_0x2c7cb4){var _0x4e4559=_0x34be1b,_0x3b12e0=_0x2c7cb4['words'],_0x3dd34a=_0x2c7cb4[_0x4e4559(0x367)],_0x549bad=this['_map'];_0x2c7cb4[_0x4e4559(0x339)]();for(var _0x5c6136=[],_0x8f6ce4=0x0;_0x8f6ce4<_0x3dd34a;_0x8f6ce4+=0x3)for(var _0xb9f42e=_0x3b12e0[_0x8f6ce4>>>0x2]>>>0x18-_0x8f6ce4%0x4*0x8&0xff,_0x38207c=_0x3b12e0[_0x8f6ce4+0x1>>>0x2]>>>0x18-(_0x8f6ce4+0x1)%0x4*0x8&0xff,_0x5671d3=_0x3b12e0[_0x8f6ce4+0x2>>>0x2]>>>0x18-(_0x8f6ce4+0x2)%0x4*0x8&0xff,_0x3fc346=_0xb9f42e<<0x10|_0x38207c<<0x8|_0x5671d3,_0x46273b=0x0;_0x46273b<0x4&&_0x8f6ce4+_0x46273b*0.75<_0x3dd34a;_0x46273b++)_0x5c6136[_0x4e4559(0x2cf)](_0x549bad[_0x4e4559(0x2bf)](_0x3fc346>>>0x6*(0x3-_0x46273b)&0x3f));var _0x2ec3d6=_0x549bad[_0x4e4559(0x2bf)](0x40);if(_0x2ec3d6){for(;_0x5c6136[_0x4e4559(0x1c0)]%0x4;)_0x5c6136[_0x4e4559(0x2cf)](_0x2ec3d6);}return _0x5c6136['join']('');},'parse':function(_0x161b8a){var _0x177e18=_0x34be1b,_0x3bd22b=_0x161b8a[_0x177e18(0x1c0)],_0x2c7b64=this['_map'],_0x39f8c9=this['_reverseMap'];if(!_0x39f8c9){_0x39f8c9=this[_0x177e18(0x375)]=[];for(var _0x137464=0x0;_0x137464<_0x2c7b64['length'];_0x137464++)_0x39f8c9[_0x2c7b64['charCodeAt'](_0x137464)]=_0x137464;}var _0x36e9d2=_0x2c7b64['charAt'](0x40);if(_0x36e9d2){var _0x16cc99=_0x161b8a[_0x177e18(0x15d)](_0x36e9d2);_0x16cc99!==-0x1&&(_0x3bd22b=_0x16cc99);}return _0x145177(_0x161b8a,_0x3bd22b,_0x39f8c9);},'_map':_0x34be1b(0x1c9)};function _0x145177(_0x1fd042,_0x2ca041,_0x4f6d56){var _0x48a2d6=_0x34be1b;for(var _0x5f4569=[],_0x32d910=0x0,_0x12595e=0x0;_0x12595e<_0x2ca041;_0x12595e++)if(_0x12595e%0x4){var _0x1cbeaa=_0x4f6d56[_0x1fd042[_0x48a2d6(0x23b)](_0x12595e-0x1)]<<_0x12595e%0x4*0x2,_0x5a5961=_0x4f6d56[_0x1fd042[_0x48a2d6(0x23b)](_0x12595e)]>>>0x6-_0x12595e%0x4*0x2,_0x3ed3c8=_0x1cbeaa|_0x5a5961;_0x5f4569[_0x32d910>>>0x2]|=_0x3ed3c8<<0x18-_0x32d910%0x4*0x8,_0x32d910++;}return _0x49ba32[_0x48a2d6(0x12a)](_0x5f4569,_0x32d910);}}()),_0x2d35ec[_0x9d06ac(0x31c)][_0x9d06ac(0x3a4)];}));}(We)),We[_0x2e4c15(0x1c5)];}var Ye={'exports':{}},_n=Ye[_0x59b711(0x1c5)],zt;function hn(){return zt||(zt=0x1,function(_0x25abc3,_0x36c691){(function(_0x4e77af,_0x11669c){var _0xc7a744=_0x2040;_0x25abc3[_0xc7a744(0x1c5)]=_0x11669c(ie());}(_n,function(_0x1a37ba){var _0x1c015a=_0x2040;return function(_0x3e3dec){var _0x5ec2a5=_0x2040,_0x3e2dde=_0x1a37ba,_0x43e210=_0x3e2dde[_0x5ec2a5(0x1bd)],_0x5ce5d0=_0x43e210[_0x5ec2a5(0x26b)],_0x20d6b8=_0x43e210[_0x5ec2a5(0x215)],_0x1fc102=_0x3e2dde['algo'],_0x492493=[];(function(){var _0x16fe05=_0x5ec2a5;for(var _0xb43ea5=0x0;_0xb43ea5<0x40;_0xb43ea5++)_0x492493[_0xb43ea5]=_0x3e3dec['abs'](_0x3e3dec[_0x16fe05(0x13d)](_0xb43ea5+0x1))*0x100000000|0x0;}());var _0x305795=_0x1fc102[_0x5ec2a5(0x104)]=_0x20d6b8[_0x5ec2a5(0x363)]({'_doReset':function(){var _0x2ff234=_0x5ec2a5;this['_hash']=new _0x5ce5d0[(_0x2ff234(0x1ec))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x22461e,_0x1967f4){var _0x10fe85=_0x5ec2a5;for(var _0x48ff8c=0x0;_0x48ff8c<0x10;_0x48ff8c++){var _0x3affa1=_0x1967f4+_0x48ff8c,_0xb7a511=_0x22461e[_0x3affa1];_0x22461e[_0x3affa1]=(_0xb7a511<<0x8|_0xb7a511>>>0x18)&0xff00ff|(_0xb7a511<<0x18|_0xb7a511>>>0x8)&0xff00ff00;}var _0x53fa31=this[_0x10fe85(0x364)][_0x10fe85(0x3fa)],_0x3648db=_0x22461e[_0x1967f4+0x0],_0x58ba89=_0x22461e[_0x1967f4+0x1],_0x5e03bc=_0x22461e[_0x1967f4+0x2],_0x1d0884=_0x22461e[_0x1967f4+0x3],_0x28b5e5=_0x22461e[_0x1967f4+0x4],_0x3a0c57=_0x22461e[_0x1967f4+0x5],_0x8afc1a=_0x22461e[_0x1967f4+0x6],_0x279806=_0x22461e[_0x1967f4+0x7],_0xedfb22=_0x22461e[_0x1967f4+0x8],_0x599bb1=_0x22461e[_0x1967f4+0x9],_0x34a831=_0x22461e[_0x1967f4+0xa],_0x2e5d88=_0x22461e[_0x1967f4+0xb],_0x33edf8=_0x22461e[_0x1967f4+0xc],_0x3542c2=_0x22461e[_0x1967f4+0xd],_0x287d43=_0x22461e[_0x1967f4+0xe],_0x36a700=_0x22461e[_0x1967f4+0xf],_0x5ae81e=_0x53fa31[0x0],_0xe7e31d=_0x53fa31[0x1],_0x10309d=_0x53fa31[0x2],_0x4e9e7c=_0x53fa31[0x3];_0x5ae81e=_0x5b61a7(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x3648db,0x7,_0x492493[0x0]),_0x4e9e7c=_0x5b61a7(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x58ba89,0xc,_0x492493[0x1]),_0x10309d=_0x5b61a7(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x5e03bc,0x11,_0x492493[0x2]),_0xe7e31d=_0x5b61a7(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x1d0884,0x16,_0x492493[0x3]),_0x5ae81e=_0x5b61a7(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x28b5e5,0x7,_0x492493[0x4]),_0x4e9e7c=_0x5b61a7(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x3a0c57,0xc,_0x492493[0x5]),_0x10309d=_0x5b61a7(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x8afc1a,0x11,_0x492493[0x6]),_0xe7e31d=_0x5b61a7(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x279806,0x16,_0x492493[0x7]),_0x5ae81e=_0x5b61a7(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0xedfb22,0x7,_0x492493[0x8]),_0x4e9e7c=_0x5b61a7(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x599bb1,0xc,_0x492493[0x9]),_0x10309d=_0x5b61a7(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x34a831,0x11,_0x492493[0xa]),_0xe7e31d=_0x5b61a7(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x2e5d88,0x16,_0x492493[0xb]),_0x5ae81e=_0x5b61a7(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x33edf8,0x7,_0x492493[0xc]),_0x4e9e7c=_0x5b61a7(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x3542c2,0xc,_0x492493[0xd]),_0x10309d=_0x5b61a7(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x287d43,0x11,_0x492493[0xe]),_0xe7e31d=_0x5b61a7(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x36a700,0x16,_0x492493[0xf]),_0x5ae81e=_0x4a0268(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x58ba89,0x5,_0x492493[0x10]),_0x4e9e7c=_0x4a0268(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x8afc1a,0x9,_0x492493[0x11]),_0x10309d=_0x4a0268(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x2e5d88,0xe,_0x492493[0x12]),_0xe7e31d=_0x4a0268(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x3648db,0x14,_0x492493[0x13]),_0x5ae81e=_0x4a0268(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x3a0c57,0x5,_0x492493[0x14]),_0x4e9e7c=_0x4a0268(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x34a831,0x9,_0x492493[0x15]),_0x10309d=_0x4a0268(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x36a700,0xe,_0x492493[0x16]),_0xe7e31d=_0x4a0268(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x28b5e5,0x14,_0x492493[0x17]),_0x5ae81e=_0x4a0268(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x599bb1,0x5,_0x492493[0x18]),_0x4e9e7c=_0x4a0268(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x287d43,0x9,_0x492493[0x19]),_0x10309d=_0x4a0268(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x1d0884,0xe,_0x492493[0x1a]),_0xe7e31d=_0x4a0268(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0xedfb22,0x14,_0x492493[0x1b]),_0x5ae81e=_0x4a0268(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x3542c2,0x5,_0x492493[0x1c]),_0x4e9e7c=_0x4a0268(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x5e03bc,0x9,_0x492493[0x1d]),_0x10309d=_0x4a0268(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x279806,0xe,_0x492493[0x1e]),_0xe7e31d=_0x4a0268(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x33edf8,0x14,_0x492493[0x1f]),_0x5ae81e=_0xe75f8e(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x3a0c57,0x4,_0x492493[0x20]),_0x4e9e7c=_0xe75f8e(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0xedfb22,0xb,_0x492493[0x21]),_0x10309d=_0xe75f8e(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x2e5d88,0x10,_0x492493[0x22]),_0xe7e31d=_0xe75f8e(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x287d43,0x17,_0x492493[0x23]),_0x5ae81e=_0xe75f8e(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x58ba89,0x4,_0x492493[0x24]),_0x4e9e7c=_0xe75f8e(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x28b5e5,0xb,_0x492493[0x25]),_0x10309d=_0xe75f8e(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x279806,0x10,_0x492493[0x26]),_0xe7e31d=_0xe75f8e(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x34a831,0x17,_0x492493[0x27]),_0x5ae81e=_0xe75f8e(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x3542c2,0x4,_0x492493[0x28]),_0x4e9e7c=_0xe75f8e(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x3648db,0xb,_0x492493[0x29]),_0x10309d=_0xe75f8e(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x1d0884,0x10,_0x492493[0x2a]),_0xe7e31d=_0xe75f8e(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x8afc1a,0x17,_0x492493[0x2b]),_0x5ae81e=_0xe75f8e(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x599bb1,0x4,_0x492493[0x2c]),_0x4e9e7c=_0xe75f8e(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x33edf8,0xb,_0x492493[0x2d]),_0x10309d=_0xe75f8e(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x36a700,0x10,_0x492493[0x2e]),_0xe7e31d=_0xe75f8e(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x5e03bc,0x17,_0x492493[0x2f]),_0x5ae81e=_0x1535da(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x3648db,0x6,_0x492493[0x30]),_0x4e9e7c=_0x1535da(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x279806,0xa,_0x492493[0x31]),_0x10309d=_0x1535da(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x287d43,0xf,_0x492493[0x32]),_0xe7e31d=_0x1535da(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x3a0c57,0x15,_0x492493[0x33]),_0x5ae81e=_0x1535da(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x33edf8,0x6,_0x492493[0x34]),_0x4e9e7c=_0x1535da(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x1d0884,0xa,_0x492493[0x35]),_0x10309d=_0x1535da(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x34a831,0xf,_0x492493[0x36]),_0xe7e31d=_0x1535da(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x58ba89,0x15,_0x492493[0x37]),_0x5ae81e=_0x1535da(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0xedfb22,0x6,_0x492493[0x38]),_0x4e9e7c=_0x1535da(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x36a700,0xa,_0x492493[0x39]),_0x10309d=_0x1535da(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x8afc1a,0xf,_0x492493[0x3a]),_0xe7e31d=_0x1535da(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x3542c2,0x15,_0x492493[0x3b]),_0x5ae81e=_0x1535da(_0x5ae81e,_0xe7e31d,_0x10309d,_0x4e9e7c,_0x28b5e5,0x6,_0x492493[0x3c]),_0x4e9e7c=_0x1535da(_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x10309d,_0x2e5d88,0xa,_0x492493[0x3d]),_0x10309d=_0x1535da(_0x10309d,_0x4e9e7c,_0x5ae81e,_0xe7e31d,_0x5e03bc,0xf,_0x492493[0x3e]),_0xe7e31d=_0x1535da(_0xe7e31d,_0x10309d,_0x4e9e7c,_0x5ae81e,_0x599bb1,0x15,_0x492493[0x3f]),_0x53fa31[0x0]=_0x53fa31[0x0]+_0x5ae81e|0x0,_0x53fa31[0x1]=_0x53fa31[0x1]+_0xe7e31d|0x0,_0x53fa31[0x2]=_0x53fa31[0x2]+_0x10309d|0x0,_0x53fa31[0x3]=_0x53fa31[0x3]+_0x4e9e7c|0x0;},'_doFinalize':function(){var _0x1b600c=_0x5ec2a5,_0x449cd6=this[_0x1b600c(0x413)],_0x5150d7=_0x449cd6[_0x1b600c(0x3fa)],_0x415d2d=this['_nDataBytes']*0x8,_0x1b03a6=_0x449cd6[_0x1b600c(0x367)]*0x8;_0x5150d7[_0x1b03a6>>>0x5]|=0x80<<0x18-_0x1b03a6%0x20;var _0x49d83d=_0x3e3dec[_0x1b600c(0x326)](_0x415d2d/0x100000000),_0x5d8d70=_0x415d2d;_0x5150d7[(_0x1b03a6+0x40>>>0x9<<0x4)+0xf]=(_0x49d83d<<0x8|_0x49d83d>>>0x18)&0xff00ff|(_0x49d83d<<0x18|_0x49d83d>>>0x8)&0xff00ff00,_0x5150d7[(_0x1b03a6+0x40>>>0x9<<0x4)+0xe]=(_0x5d8d70<<0x8|_0x5d8d70>>>0x18)&0xff00ff|(_0x5d8d70<<0x18|_0x5d8d70>>>0x8)&0xff00ff00,_0x449cd6[_0x1b600c(0x367)]=(_0x5150d7[_0x1b600c(0x1c0)]+0x1)*0x4,this[_0x1b600c(0x25c)]();for(var _0x409fe8=this[_0x1b600c(0x364)],_0x156c33=_0x409fe8[_0x1b600c(0x3fa)],_0x23f98d=0x0;_0x23f98d<0x4;_0x23f98d++){var _0x3d1016=_0x156c33[_0x23f98d];_0x156c33[_0x23f98d]=(_0x3d1016<<0x8|_0x3d1016>>>0x18)&0xff00ff|(_0x3d1016<<0x18|_0x3d1016>>>0x8)&0xff00ff00;}return _0x409fe8;},'clone':function(){var _0x33b42d=_0x5ec2a5,_0x2fe0ce=_0x20d6b8['clone'][_0x33b42d(0x2ac)](this);return _0x2fe0ce[_0x33b42d(0x364)]=this[_0x33b42d(0x364)][_0x33b42d(0x352)](),_0x2fe0ce;}});function _0x5b61a7(_0xac8c7,_0x526588,_0x92d6e1,_0x35908f,_0x566020,_0x494b26,_0x44784b){var _0x397674=_0xac8c7+(_0x526588&_0x92d6e1|~_0x526588&_0x35908f)+_0x566020+_0x44784b;return(_0x397674<<_0x494b26|_0x397674>>>0x20-_0x494b26)+_0x526588;}function _0x4a0268(_0x188351,_0xa54c00,_0x260cb0,_0x290f36,_0x14daca,_0x1972c9,_0x12b4ce){var _0x1c6855=_0x188351+(_0xa54c00&_0x290f36|_0x260cb0&~_0x290f36)+_0x14daca+_0x12b4ce;return(_0x1c6855<<_0x1972c9|_0x1c6855>>>0x20-_0x1972c9)+_0xa54c00;}function _0xe75f8e(_0x5211ec,_0x18dfe2,_0x1f2070,_0x139800,_0x3ccfaf,_0x2aa8b0,_0x423968){var _0x241ab4=_0x5211ec+(_0x18dfe2^_0x1f2070^_0x139800)+_0x3ccfaf+_0x423968;return(_0x241ab4<<_0x2aa8b0|_0x241ab4>>>0x20-_0x2aa8b0)+_0x18dfe2;}function _0x1535da(_0x69e4b,_0x494563,_0x3adafd,_0xc5966f,_0xf04a8d,_0x326186,_0x5d4a58){var _0x3563e2=_0x69e4b+(_0x3adafd^(_0x494563|~_0xc5966f))+_0xf04a8d+_0x5d4a58;return(_0x3563e2<<_0x326186|_0x3563e2>>>0x20-_0x326186)+_0x494563;}_0x3e2dde[_0x5ec2a5(0x104)]=_0x20d6b8['_createHelper'](_0x305795),_0x3e2dde[_0x5ec2a5(0x321)]=_0x20d6b8[_0x5ec2a5(0x3eb)](_0x305795);}(Math),_0x1a37ba[_0x1c015a(0x104)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x59b711(0x1c5)],Jt;function un(){var _0x3a63a5=_0x59b711;return Jt||(Jt=0x1,function(_0x314ba6,_0x1c6e86){(function(_0x5caf97,_0x4f187c){var _0x31b027=_0x2040;_0x314ba6[_0x31b027(0x1c5)]=_0x4f187c(ie());}(ln,function(_0x14e7cb){var _0x2a3fa9=_0x2040;return(function(){var _0x13371e=_0x2040,_0x4fefaa=_0x14e7cb,_0x24a449=_0x4fefaa[_0x13371e(0x1bd)],_0x55c9c8=_0x24a449['WordArray'],_0x578058=_0x24a449['Hasher'],_0x4b1fa2=_0x4fefaa[_0x13371e(0x28e)],_0x265156=[],_0x237a3b=_0x4b1fa2[_0x13371e(0x156)]=_0x578058['extend']({'_doReset':function(){this['_hash']=new _0x55c9c8['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1784a2,_0x75ba93){var _0x427d52=_0x13371e;for(var _0x20c4fa=this[_0x427d52(0x364)][_0x427d52(0x3fa)],_0x122522=_0x20c4fa[0x0],_0x24623b=_0x20c4fa[0x1],_0x1434a2=_0x20c4fa[0x2],_0x5ca5ba=_0x20c4fa[0x3],_0x28e023=_0x20c4fa[0x4],_0x4287da=0x0;_0x4287da<0x50;_0x4287da++){if(_0x4287da<0x10)_0x265156[_0x4287da]=_0x1784a2[_0x75ba93+_0x4287da]|0x0;else{var _0x41d180=_0x265156[_0x4287da-0x3]^_0x265156[_0x4287da-0x8]^_0x265156[_0x4287da-0xe]^_0x265156[_0x4287da-0x10];_0x265156[_0x4287da]=_0x41d180<<0x1|_0x41d180>>>0x1f;}var _0xa29407=(_0x122522<<0x5|_0x122522>>>0x1b)+_0x28e023+_0x265156[_0x4287da];_0x4287da<0x14?_0xa29407+=(_0x24623b&_0x1434a2|~_0x24623b&_0x5ca5ba)+0x5a827999:_0x4287da<0x28?_0xa29407+=(_0x24623b^_0x1434a2^_0x5ca5ba)+0x6ed9eba1:_0x4287da<0x3c?_0xa29407+=(_0x24623b&_0x1434a2|_0x24623b&_0x5ca5ba|_0x1434a2&_0x5ca5ba)-0x70e44324:_0xa29407+=(_0x24623b^_0x1434a2^_0x5ca5ba)-0x359d3e2a,_0x28e023=_0x5ca5ba,_0x5ca5ba=_0x1434a2,_0x1434a2=_0x24623b<<0x1e|_0x24623b>>>0x2,_0x24623b=_0x122522,_0x122522=_0xa29407;}_0x20c4fa[0x0]=_0x20c4fa[0x0]+_0x122522|0x0,_0x20c4fa[0x1]=_0x20c4fa[0x1]+_0x24623b|0x0,_0x20c4fa[0x2]=_0x20c4fa[0x2]+_0x1434a2|0x0,_0x20c4fa[0x3]=_0x20c4fa[0x3]+_0x5ca5ba|0x0,_0x20c4fa[0x4]=_0x20c4fa[0x4]+_0x28e023|0x0;},'_doFinalize':function(){var _0x342dd3=_0x13371e,_0x307e25=this[_0x342dd3(0x413)],_0x565de9=_0x307e25[_0x342dd3(0x3fa)],_0x2e47d9=this[_0x342dd3(0x157)]*0x8,_0x52deaa=_0x307e25[_0x342dd3(0x367)]*0x8;return _0x565de9[_0x52deaa>>>0x5]|=0x80<<0x18-_0x52deaa%0x20,_0x565de9[(_0x52deaa+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x2e47d9/0x100000000),_0x565de9[(_0x52deaa+0x40>>>0x9<<0x4)+0xf]=_0x2e47d9,_0x307e25[_0x342dd3(0x367)]=_0x565de9['length']*0x4,this[_0x342dd3(0x25c)](),this['_hash'];},'clone':function(){var _0x19cd27=_0x13371e,_0x391957=_0x578058['clone'][_0x19cd27(0x2ac)](this);return _0x391957['_hash']=this['_hash'][_0x19cd27(0x352)](),_0x391957;}});_0x4fefaa[_0x13371e(0x156)]=_0x578058[_0x13371e(0x2b7)](_0x237a3b),_0x4fefaa[_0x13371e(0x1f7)]=_0x578058['_createHmacHelper'](_0x237a3b);}()),_0x14e7cb[_0x2a3fa9(0x156)];}));}(qe)),qe[_0x3a63a5(0x1c5)];}var ze={'exports':{}},dn=ze['exports'],Xt;function fn(){var _0x2ea5d8=_0x59b711;return Xt||(Xt=0x1,function(_0x4823f8,_0x4b2693){(function(_0x351f3f,_0x3715f5){var _0x26d365=_0x2040;_0x4823f8[_0x26d365(0x1c5)]=_0x3715f5(ie());}(dn,function(_0x3b21c6){(function(){var _0x5a13ba=_0x2040,_0x4a3d32=_0x3b21c6,_0x46f2dd=_0x4a3d32[_0x5a13ba(0x1bd)],_0x267884=_0x46f2dd['Base'],_0x5c9ebc=_0x4a3d32[_0x5a13ba(0x31c)],_0xfd6cef=_0x5c9ebc[_0x5a13ba(0x106)],_0x3b7d05=_0x4a3d32[_0x5a13ba(0x28e)];_0x3b7d05['HMAC']=_0x267884[_0x5a13ba(0x363)]({'init':function(_0xd7baa,_0x3ef188){var _0x55d4d3=_0x5a13ba;_0xd7baa=this['_hasher']=new _0xd7baa[(_0x55d4d3(0x1ec))](),typeof _0x3ef188==_0x55d4d3(0x36b)&&(_0x3ef188=_0xfd6cef[_0x55d4d3(0x3be)](_0x3ef188));var _0x15f8cd=_0xd7baa[_0x55d4d3(0x1c7)],_0xa22b8f=_0x15f8cd*0x4;_0x3ef188['sigBytes']>_0xa22b8f&&(_0x3ef188=_0xd7baa[_0x55d4d3(0x139)](_0x3ef188)),_0x3ef188[_0x55d4d3(0x339)]();for(var _0x1d5752=this[_0x55d4d3(0x1cb)]=_0x3ef188[_0x55d4d3(0x352)](),_0x310217=this['_iKey']=_0x3ef188[_0x55d4d3(0x352)](),_0x298c02=_0x1d5752[_0x55d4d3(0x3fa)],_0x1f4ea6=_0x310217[_0x55d4d3(0x3fa)],_0x2ca64c=0x0;_0x2ca64c<_0x15f8cd;_0x2ca64c++)_0x298c02[_0x2ca64c]^=0x5c5c5c5c,_0x1f4ea6[_0x2ca64c]^=0x36363636;_0x1d5752[_0x55d4d3(0x367)]=_0x310217[_0x55d4d3(0x367)]=_0xa22b8f,this[_0x55d4d3(0x265)]();},'reset':function(){var _0x8371f5=_0x5a13ba,_0x17cd47=this['_hasher'];_0x17cd47[_0x8371f5(0x265)](),_0x17cd47[_0x8371f5(0x220)](this[_0x8371f5(0x2a4)]);},'update':function(_0x42a4c3){var _0x1460b1=_0x5a13ba;return this[_0x1460b1(0x1e6)][_0x1460b1(0x220)](_0x42a4c3),this;},'finalize':function(_0x160e29){var _0x1cfe87=_0x5a13ba,_0x40a56c=this[_0x1cfe87(0x1e6)],_0x47d346=_0x40a56c[_0x1cfe87(0x139)](_0x160e29);_0x40a56c[_0x1cfe87(0x265)]();var _0x3b48fa=_0x40a56c[_0x1cfe87(0x139)](this[_0x1cfe87(0x1cb)][_0x1cfe87(0x352)]()[_0x1cfe87(0x276)](_0x47d346));return _0x3b48fa;}});}());}));}(ze)),ze[_0x2ea5d8(0x1c5)];}var vn=Ke[_0x59b711(0x1c5)],Zt;function Ci(){var _0x57b96c=_0x59b711;return Zt||(Zt=0x1,function(_0x22b135,_0x554d94){(function(_0x1b64a9,_0x12332d,_0x3cf22c){var _0x1024cb=_0x2040;_0x22b135[_0x1024cb(0x1c5)]=_0x12332d(ie(),un(),fn());}(vn,function(_0x288acd){var _0x43c98e=_0x2040;return(function(){var _0x4c71c0=_0x2040,_0x222340=_0x288acd,_0x34e4a9=_0x222340[_0x4c71c0(0x1bd)],_0x27b56e=_0x34e4a9[_0x4c71c0(0x1f9)],_0x414efa=_0x34e4a9[_0x4c71c0(0x26b)],_0x4865ad=_0x222340[_0x4c71c0(0x28e)],_0x29f185=_0x4865ad[_0x4c71c0(0x104)],_0x2dd7e7=_0x4865ad[_0x4c71c0(0x10c)]=_0x27b56e[_0x4c71c0(0x363)]({'cfg':_0x27b56e['extend']({'keySize':0x80/0x20,'hasher':_0x29f185,'iterations':0x1}),'init':function(_0x4a598e){var _0x55c129=_0x4c71c0;this[_0x55c129(0x1cf)]=this[_0x55c129(0x1cf)][_0x55c129(0x363)](_0x4a598e);},'compute':function(_0x14dfd4,_0x472c98){var _0xd0994d=_0x4c71c0;for(var _0x14446d,_0x1684f5=this['cfg'],_0x163c56=_0x1684f5[_0xd0994d(0x203)][_0xd0994d(0x12a)](),_0x26a391=_0x414efa[_0xd0994d(0x12a)](),_0x46d572=_0x26a391['words'],_0x2a0906=_0x1684f5[_0xd0994d(0x2bb)],_0x36775d=_0x1684f5[_0xd0994d(0x3aa)];_0x46d572[_0xd0994d(0x1c0)]<_0x2a0906;){_0x14446d&&_0x163c56[_0xd0994d(0x220)](_0x14446d),_0x14446d=_0x163c56[_0xd0994d(0x220)](_0x14dfd4)[_0xd0994d(0x139)](_0x472c98),_0x163c56[_0xd0994d(0x265)]();for(var _0x2581af=0x1;_0x2581af<_0x36775d;_0x2581af++)_0x14446d=_0x163c56['finalize'](_0x14446d),_0x163c56[_0xd0994d(0x265)]();_0x26a391['concat'](_0x14446d);}return _0x26a391[_0xd0994d(0x367)]=_0x2a0906*0x4,_0x26a391;}});_0x222340['EvpKDF']=function(_0x4bea54,_0x370bbe,_0x30043b){var _0x30807f=_0x4c71c0;return _0x2dd7e7[_0x30807f(0x12a)](_0x30043b)[_0x30807f(0x2df)](_0x4bea54,_0x370bbe);};}()),_0x288acd[_0x43c98e(0x10c)];}));}(Ke)),Ke[_0x57b96c(0x1c5)];}var Je={'exports':{}},pn=Je[_0x59b711(0x1c5)],Qt;function Ni(){var _0x253d4b=_0x59b711;return Qt||(Qt=0x1,function(_0x11656a,_0x5aa3e0){(function(_0x514d52,_0x499e5c,_0x1f3529){var _0x45b442=_0x2040;_0x11656a[_0x45b442(0x1c5)]=_0x499e5c(ie(),Ci());}(pn,function(_0x141f2e){var _0x2acdb8=_0x2040;_0x141f2e[_0x2acdb8(0x1bd)]['Cipher']||function(_0x2e2f88){var _0x3e0a4b=_0x2acdb8,_0x31f6b7=_0x141f2e,_0x46105f=_0x31f6b7['lib'],_0x138d06=_0x46105f['Base'],_0x41b6bc=_0x46105f[_0x3e0a4b(0x26b)],_0x3caf46=_0x46105f[_0x3e0a4b(0x1de)],_0x52ca8f=_0x31f6b7[_0x3e0a4b(0x31c)];_0x52ca8f[_0x3e0a4b(0x106)];var _0x256135=_0x52ca8f['Base64'],_0x5cb9ff=_0x31f6b7['algo'],_0x1e622=_0x5cb9ff[_0x3e0a4b(0x10c)],_0x54f95b=_0x46105f['Cipher']=_0x3caf46['extend']({'cfg':_0x138d06[_0x3e0a4b(0x363)](),'createEncryptor':function(_0x273341,_0xfcee80){var _0x2ce228=_0x3e0a4b;return this[_0x2ce228(0x12a)](this[_0x2ce228(0x278)],_0x273341,_0xfcee80);},'createDecryptor':function(_0x524dc0,_0xd0235e){return this['create'](this['_DEC_XFORM_MODE'],_0x524dc0,_0xd0235e);},'init':function(_0x288528,_0x51e2b,_0x3a0d14){var _0x2c9124=_0x3e0a4b;this[_0x2c9124(0x1cf)]=this[_0x2c9124(0x1cf)][_0x2c9124(0x363)](_0x3a0d14),this[_0x2c9124(0x360)]=_0x288528,this['_key']=_0x51e2b,this['reset']();},'reset':function(){var _0x241097=_0x3e0a4b;_0x3caf46[_0x241097(0x265)][_0x241097(0x2ac)](this),this[_0x241097(0x1bc)]();},'process':function(_0x4e35db){return this['_append'](_0x4e35db),this['_process']();},'finalize':function(_0x2c2358){var _0x37a1ed=_0x3e0a4b;_0x2c2358&&this['_append'](_0x2c2358);var _0x42636d=this[_0x37a1ed(0x10a)]();return _0x42636d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2ac34a(_0xc8cd58){return typeof _0xc8cd58=='string'?_0x304671:_0x15985f;}return function(_0x4171c1){return{'encrypt':function(_0x449ad1,_0x425a6e,_0x34b25a){var _0x7a5877=_0x2040;return _0x2ac34a(_0x425a6e)[_0x7a5877(0x2f1)](_0x4171c1,_0x449ad1,_0x425a6e,_0x34b25a);},'decrypt':function(_0x191851,_0x3208e6,_0x1955ab){var _0x2ceabc=_0x2040;return _0x2ac34a(_0x3208e6)[_0x2ceabc(0x14d)](_0x4171c1,_0x191851,_0x3208e6,_0x1955ab);}};};}())});_0x46105f['StreamCipher']=_0x54f95b[_0x3e0a4b(0x363)]({'_doFinalize':function(){var _0x4912d6=_0x3e0a4b,_0x446877=this[_0x4912d6(0x25c)](!0x0);return _0x446877;},'blockSize':0x1});var _0xfc644c=_0x31f6b7[_0x3e0a4b(0x3e7)]={},_0x467dfd=_0x46105f['BlockCipherMode']=_0x138d06['extend']({'createEncryptor':function(_0x354763,_0x162263){var _0x4b53ac=_0x3e0a4b;return this[_0x4b53ac(0x337)][_0x4b53ac(0x12a)](_0x354763,_0x162263);},'createDecryptor':function(_0x152c7a,_0x91ad64){var _0x1733d2=_0x3e0a4b;return this[_0x1733d2(0x24c)][_0x1733d2(0x12a)](_0x152c7a,_0x91ad64);},'init':function(_0x16a2e8,_0x4ae5cc){this['_cipher']=_0x16a2e8,this['_iv']=_0x4ae5cc;}}),_0x9a26b4=_0xfc644c['CBC']=(function(){var _0x385e23=_0x3e0a4b,_0x54e057=_0x467dfd[_0x385e23(0x363)]();_0x54e057[_0x385e23(0x337)]=_0x54e057[_0x385e23(0x363)]({'processBlock':function(_0x398b77,_0x2aaeb8){var _0x37c298=_0x385e23,_0x2d8867=this[_0x37c298(0x23d)],_0x52f9f9=_0x2d8867[_0x37c298(0x1c7)];_0x1836fa[_0x37c298(0x2ac)](this,_0x398b77,_0x2aaeb8,_0x52f9f9),_0x2d8867[_0x37c298(0x26c)](_0x398b77,_0x2aaeb8),this[_0x37c298(0x398)]=_0x398b77['slice'](_0x2aaeb8,_0x2aaeb8+_0x52f9f9);}}),_0x54e057[_0x385e23(0x24c)]=_0x54e057[_0x385e23(0x363)]({'processBlock':function(_0xf81380,_0x528f03){var _0x2c6c6b=_0x385e23,_0x59575a=this['_cipher'],_0x39a54f=_0x59575a[_0x2c6c6b(0x1c7)],_0xbeff1b=_0xf81380[_0x2c6c6b(0x164)](_0x528f03,_0x528f03+_0x39a54f);_0x59575a[_0x2c6c6b(0x27d)](_0xf81380,_0x528f03),_0x1836fa[_0x2c6c6b(0x2ac)](this,_0xf81380,_0x528f03,_0x39a54f),this[_0x2c6c6b(0x398)]=_0xbeff1b;}});function _0x1836fa(_0x234a2b,_0x4b4b68,_0x31b18a){var _0x189c8b=_0x385e23,_0xf748cb,_0x5b6c84=this[_0x189c8b(0x176)];_0x5b6c84?(_0xf748cb=_0x5b6c84,this[_0x189c8b(0x176)]=_0x2e2f88):_0xf748cb=this[_0x189c8b(0x398)];for(var _0x5d1156=0x0;_0x5d1156<_0x31b18a;_0x5d1156++)_0x234a2b[_0x4b4b68+_0x5d1156]^=_0xf748cb[_0x5d1156];}return _0x54e057;}()),_0x35af82=_0x31f6b7[_0x3e0a4b(0x2e4)]={},_0xbbdf05=_0x35af82['Pkcs7']={'pad':function(_0x116796,_0x49404f){var _0x16d562=_0x3e0a4b;for(var _0x4e2d6f=_0x49404f*0x4,_0x32e943=_0x4e2d6f-_0x116796['sigBytes']%_0x4e2d6f,_0x1b4406=_0x32e943<<0x18|_0x32e943<<0x10|_0x32e943<<0x8|_0x32e943,_0x3eda0f=[],_0x23e879=0x0;_0x23e879<_0x32e943;_0x23e879+=0x4)_0x3eda0f[_0x16d562(0x2cf)](_0x1b4406);var _0x2f5f54=_0x41b6bc[_0x16d562(0x12a)](_0x3eda0f,_0x32e943);_0x116796['concat'](_0x2f5f54);},'unpad':function(_0x15204d){var _0x383fe4=_0x3e0a4b,_0x3b4837=_0x15204d[_0x383fe4(0x3fa)][_0x15204d[_0x383fe4(0x367)]-0x1>>>0x2]&0xff;_0x15204d[_0x383fe4(0x367)]-=_0x3b4837;}};_0x46105f['BlockCipher']=_0x54f95b[_0x3e0a4b(0x363)]({'cfg':_0x54f95b['cfg']['extend']({'mode':_0x9a26b4,'padding':_0xbbdf05}),'reset':function(){var _0x27a5e8=_0x3e0a4b,_0x57d084;_0x54f95b['reset'][_0x27a5e8(0x2ac)](this);var _0x4039aa=this[_0x27a5e8(0x1cf)],_0x69f54a=_0x4039aa['iv'],_0x43e3a3=_0x4039aa[_0x27a5e8(0x3e7)];this[_0x27a5e8(0x360)]==this['_ENC_XFORM_MODE']?_0x57d084=_0x43e3a3[_0x27a5e8(0x14a)]:(_0x57d084=_0x43e3a3['createDecryptor'],this[_0x27a5e8(0x361)]=0x1),this['_mode']&&this[_0x27a5e8(0x3d8)][_0x27a5e8(0x23e)]==_0x57d084?this[_0x27a5e8(0x3d8)][_0x27a5e8(0x1ec)](this,_0x69f54a&&_0x69f54a[_0x27a5e8(0x3fa)]):(this[_0x27a5e8(0x3d8)]=_0x57d084[_0x27a5e8(0x2ac)](_0x43e3a3,this,_0x69f54a&&_0x69f54a[_0x27a5e8(0x3fa)]),this['_mode'][_0x27a5e8(0x23e)]=_0x57d084);},'_doProcessBlock':function(_0x5eb5ec,_0x249627){var _0x4a1207=_0x3e0a4b;this[_0x4a1207(0x3d8)]['processBlock'](_0x5eb5ec,_0x249627);},'_doFinalize':function(){var _0x8b4ee2=_0x3e0a4b,_0x43ffac,_0x381af2=this[_0x8b4ee2(0x1cf)][_0x8b4ee2(0x277)];return this[_0x8b4ee2(0x360)]==this[_0x8b4ee2(0x278)]?(_0x381af2[_0x8b4ee2(0x2e4)](this[_0x8b4ee2(0x413)],this[_0x8b4ee2(0x1c7)]),_0x43ffac=this[_0x8b4ee2(0x25c)](!0x0)):(_0x43ffac=this[_0x8b4ee2(0x25c)](!0x0),_0x381af2[_0x8b4ee2(0x109)](_0x43ffac)),_0x43ffac;},'blockSize':0x80/0x20});var _0x3ee99b=_0x46105f[_0x3e0a4b(0x199)]=_0x138d06[_0x3e0a4b(0x363)]({'init':function(_0x4af979){var _0x466c66=_0x3e0a4b;this[_0x466c66(0x408)](_0x4af979);},'toString':function(_0x594ed9){return(_0x594ed9||this['formatter'])['stringify'](this);}}),_0x4edcb2=_0x31f6b7[_0x3e0a4b(0x29c)]={},_0x169369=_0x4edcb2[_0x3e0a4b(0x21f)]={'stringify':function(_0x4bfb40){var _0x44a30a=_0x3e0a4b,_0x4af76b,_0x179e22=_0x4bfb40[_0x44a30a(0x38d)],_0x6b3638=_0x4bfb40[_0x44a30a(0x185)];return _0x6b3638?_0x4af76b=_0x41b6bc[_0x44a30a(0x12a)]([0x53616c74,0x65645f5f])[_0x44a30a(0x276)](_0x6b3638)[_0x44a30a(0x276)](_0x179e22):_0x4af76b=_0x179e22,_0x4af76b[_0x44a30a(0x226)](_0x256135);},'parse':function(_0xb4905f){var _0x56c852=_0x3e0a4b,_0x2fa8c0,_0x4c49ce=_0x256135[_0x56c852(0x3be)](_0xb4905f),_0x14794c=_0x4c49ce[_0x56c852(0x3fa)];return _0x14794c[0x0]==0x53616c74&&_0x14794c[0x1]==0x65645f5f&&(_0x2fa8c0=_0x41b6bc[_0x56c852(0x12a)](_0x14794c['slice'](0x2,0x4)),_0x14794c[_0x56c852(0x348)](0x0,0x4),_0x4c49ce[_0x56c852(0x367)]-=0x10),_0x3ee99b[_0x56c852(0x12a)]({'ciphertext':_0x4c49ce,'salt':_0x2fa8c0});}},_0x15985f=_0x46105f[_0x3e0a4b(0x144)]=_0x138d06[_0x3e0a4b(0x363)]({'cfg':_0x138d06[_0x3e0a4b(0x363)]({'format':_0x169369}),'encrypt':function(_0x3ade97,_0x33ebcc,_0x40acd1,_0x4e1abd){var _0x3791a6=_0x3e0a4b;_0x4e1abd=this[_0x3791a6(0x1cf)][_0x3791a6(0x363)](_0x4e1abd);var _0x3c9298=_0x3ade97[_0x3791a6(0x14a)](_0x40acd1,_0x4e1abd),_0x2c2a67=_0x3c9298[_0x3791a6(0x139)](_0x33ebcc),_0x32f3b2=_0x3c9298['cfg'];return _0x3ee99b[_0x3791a6(0x12a)]({'ciphertext':_0x2c2a67,'key':_0x40acd1,'iv':_0x32f3b2['iv'],'algorithm':_0x3ade97,'mode':_0x32f3b2[_0x3791a6(0x3e7)],'padding':_0x32f3b2[_0x3791a6(0x277)],'blockSize':_0x3ade97[_0x3791a6(0x1c7)],'formatter':_0x4e1abd[_0x3791a6(0x29c)]});},'decrypt':function(_0x414b8d,_0xbfc993,_0x20f47d,_0x5c397b){var _0x599734=_0x3e0a4b;_0x5c397b=this[_0x599734(0x1cf)][_0x599734(0x363)](_0x5c397b),_0xbfc993=this[_0x599734(0x1fe)](_0xbfc993,_0x5c397b['format']);var _0x4c0b36=_0x414b8d[_0x599734(0x186)](_0x20f47d,_0x5c397b)[_0x599734(0x139)](_0xbfc993[_0x599734(0x38d)]);return _0x4c0b36;},'_parse':function(_0x4ae15d,_0x47f21f){var _0x119192=_0x3e0a4b;return typeof _0x4ae15d==_0x119192(0x36b)?_0x47f21f[_0x119192(0x3be)](_0x4ae15d,this):_0x4ae15d;}}),_0x2074eb=_0x31f6b7[_0x3e0a4b(0x37f)]={},_0x59ac6d=_0x2074eb[_0x3e0a4b(0x21f)]={'execute':function(_0xfaff79,_0xc1d6ae,_0x3a712d,_0x332c25,_0x36ba94){var _0x526b15=_0x3e0a4b;if(_0x332c25||(_0x332c25=_0x41b6bc['random'](0x40/0x8)),_0x36ba94)var _0x274e99=_0x1e622['create']({'keySize':_0xc1d6ae+_0x3a712d,'hasher':_0x36ba94})['compute'](_0xfaff79,_0x332c25);else var _0x274e99=_0x1e622[_0x526b15(0x12a)]({'keySize':_0xc1d6ae+_0x3a712d})[_0x526b15(0x2df)](_0xfaff79,_0x332c25);var _0x92c2b3=_0x41b6bc['create'](_0x274e99[_0x526b15(0x3fa)][_0x526b15(0x164)](_0xc1d6ae),_0x3a712d*0x4);return _0x274e99[_0x526b15(0x367)]=_0xc1d6ae*0x4,_0x3ee99b[_0x526b15(0x12a)]({'key':_0x274e99,'iv':_0x92c2b3,'salt':_0x332c25});}},_0x304671=_0x46105f['PasswordBasedCipher']=_0x15985f['extend']({'cfg':_0x15985f[_0x3e0a4b(0x1cf)]['extend']({'kdf':_0x59ac6d}),'encrypt':function(_0xc13221,_0x3d29d8,_0x50c1c6,_0x11a89f){var _0x346bd1=_0x3e0a4b;_0x11a89f=this[_0x346bd1(0x1cf)][_0x346bd1(0x363)](_0x11a89f);var _0x2a04ee=_0x11a89f[_0x346bd1(0x37f)]['execute'](_0x50c1c6,_0xc13221['keySize'],_0xc13221['ivSize'],_0x11a89f[_0x346bd1(0x185)],_0x11a89f[_0x346bd1(0x203)]);_0x11a89f['iv']=_0x2a04ee['iv'];var _0x5bd5a2=_0x15985f[_0x346bd1(0x2f1)]['call'](this,_0xc13221,_0x3d29d8,_0x2a04ee['key'],_0x11a89f);return _0x5bd5a2[_0x346bd1(0x408)](_0x2a04ee),_0x5bd5a2;},'decrypt':function(_0x2625ea,_0x2f2426,_0x7a117,_0x5e4f21){var _0x211dad=_0x3e0a4b;_0x5e4f21=this[_0x211dad(0x1cf)]['extend'](_0x5e4f21),_0x2f2426=this[_0x211dad(0x1fe)](_0x2f2426,_0x5e4f21[_0x211dad(0x29c)]);var _0x32704f=_0x5e4f21[_0x211dad(0x37f)]['execute'](_0x7a117,_0x2625ea[_0x211dad(0x2bb)],_0x2625ea[_0x211dad(0x3b8)],_0x2f2426['salt'],_0x5e4f21['hasher']);_0x5e4f21['iv']=_0x32704f['iv'];var _0x2af07f=_0x15985f[_0x211dad(0x14d)]['call'](this,_0x2625ea,_0x2f2426,_0x32704f[_0x211dad(0x13c)],_0x5e4f21);return _0x2af07f;}});}();}));}(Je)),Je[_0x253d4b(0x1c5)];}var En=Ve['exports'],ei;function mn(){var _0x1ee0b8=_0x59b711;return ei||(ei=0x1,function(_0x1b9886,_0x764c2){(function(_0x1a7eb8,_0x3cdf5d,_0x3a7f88){var _0x1a72f0=_0x2040;_0x1b9886[_0x1a72f0(0x1c5)]=_0x3cdf5d(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x2f032b){var _0x2ef785=_0x2040;return(function(){var _0x1c0ce9=_0x2040,_0x2586b0=_0x2f032b,_0x529399=_0x2586b0[_0x1c0ce9(0x1bd)],_0x251381=_0x529399[_0x1c0ce9(0x269)],_0x226c2c=_0x2586b0[_0x1c0ce9(0x28e)],_0x3b330e=[],_0x2cebb5=[],_0x1338e4=[],_0x3763fc=[],_0x243bb2=[],_0x53aa58=[],_0x5d548e=[],_0x4cd927=[],_0x2ff2ed=[],_0x437d9e=[];(function(){for(var _0x51f909=[],_0x477eda=0x0;_0x477eda<0x100;_0x477eda++)_0x477eda<0x80?_0x51f909[_0x477eda]=_0x477eda<<0x1:_0x51f909[_0x477eda]=_0x477eda<<0x1^0x11b;for(var _0x42e220=0x0,_0x3be97a=0x0,_0x477eda=0x0;_0x477eda<0x100;_0x477eda++){var _0x41f45c=_0x3be97a^_0x3be97a<<0x1^_0x3be97a<<0x2^_0x3be97a<<0x3^_0x3be97a<<0x4;_0x41f45c=_0x41f45c>>>0x8^_0x41f45c&0xff^0x63,_0x3b330e[_0x42e220]=_0x41f45c,_0x2cebb5[_0x41f45c]=_0x42e220;var _0x6982c0=_0x51f909[_0x42e220],_0x581c35=_0x51f909[_0x6982c0],_0x2aa07d=_0x51f909[_0x581c35],_0x23a580=_0x51f909[_0x41f45c]*0x101^_0x41f45c*0x1010100;_0x1338e4[_0x42e220]=_0x23a580<<0x18|_0x23a580>>>0x8,_0x3763fc[_0x42e220]=_0x23a580<<0x10|_0x23a580>>>0x10,_0x243bb2[_0x42e220]=_0x23a580<<0x8|_0x23a580>>>0x18,_0x53aa58[_0x42e220]=_0x23a580;var _0x23a580=_0x2aa07d*0x1010101^_0x581c35*0x10001^_0x6982c0*0x101^_0x42e220*0x1010100;_0x5d548e[_0x41f45c]=_0x23a580<<0x18|_0x23a580>>>0x8,_0x4cd927[_0x41f45c]=_0x23a580<<0x10|_0x23a580>>>0x10,_0x2ff2ed[_0x41f45c]=_0x23a580<<0x8|_0x23a580>>>0x18,_0x437d9e[_0x41f45c]=_0x23a580,_0x42e220?(_0x42e220=_0x6982c0^_0x51f909[_0x51f909[_0x51f909[_0x2aa07d^_0x6982c0]]],_0x3be97a^=_0x51f909[_0x51f909[_0x3be97a]]):_0x42e220=_0x3be97a=0x1;}}());var _0x4f4d3a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x839b1a=_0x226c2c[_0x1c0ce9(0x232)]=_0x251381['extend']({'_doReset':function(){var _0xf90aae=_0x1c0ce9,_0x5b8d2d;if(!(this[_0xf90aae(0x3a7)]&&this[_0xf90aae(0x256)]===this['_key'])){for(var _0x47daf4=this[_0xf90aae(0x256)]=this[_0xf90aae(0x22c)],_0x4ac460=_0x47daf4[_0xf90aae(0x3fa)],_0x59379c=_0x47daf4[_0xf90aae(0x367)]/0x4,_0xdd62ea=this[_0xf90aae(0x3a7)]=_0x59379c+0x6,_0x17e859=(_0xdd62ea+0x1)*0x4,_0x2267f0=this[_0xf90aae(0x12b)]=[],_0x124c13=0x0;_0x124c13<_0x17e859;_0x124c13++)_0x124c13<_0x59379c?_0x2267f0[_0x124c13]=_0x4ac460[_0x124c13]:(_0x5b8d2d=_0x2267f0[_0x124c13-0x1],_0x124c13%_0x59379c?_0x59379c>0x6&&_0x124c13%_0x59379c==0x4&&(_0x5b8d2d=_0x3b330e[_0x5b8d2d>>>0x18]<<0x18|_0x3b330e[_0x5b8d2d>>>0x10&0xff]<<0x10|_0x3b330e[_0x5b8d2d>>>0x8&0xff]<<0x8|_0x3b330e[_0x5b8d2d&0xff]):(_0x5b8d2d=_0x5b8d2d<<0x8|_0x5b8d2d>>>0x18,_0x5b8d2d=_0x3b330e[_0x5b8d2d>>>0x18]<<0x18|_0x3b330e[_0x5b8d2d>>>0x10&0xff]<<0x10|_0x3b330e[_0x5b8d2d>>>0x8&0xff]<<0x8|_0x3b330e[_0x5b8d2d&0xff],_0x5b8d2d^=_0x4f4d3a[_0x124c13/_0x59379c|0x0]<<0x18),_0x2267f0[_0x124c13]=_0x2267f0[_0x124c13-_0x59379c]^_0x5b8d2d);for(var _0x6f3574=this['_invKeySchedule']=[],_0x3a9010=0x0;_0x3a9010<_0x17e859;_0x3a9010++){var _0x124c13=_0x17e859-_0x3a9010;if(_0x3a9010%0x4)var _0x5b8d2d=_0x2267f0[_0x124c13];else var _0x5b8d2d=_0x2267f0[_0x124c13-0x4];_0x3a9010<0x4||_0x124c13<=0x4?_0x6f3574[_0x3a9010]=_0x5b8d2d:_0x6f3574[_0x3a9010]=_0x5d548e[_0x3b330e[_0x5b8d2d>>>0x18]]^_0x4cd927[_0x3b330e[_0x5b8d2d>>>0x10&0xff]]^_0x2ff2ed[_0x3b330e[_0x5b8d2d>>>0x8&0xff]]^_0x437d9e[_0x3b330e[_0x5b8d2d&0xff]];}}},'encryptBlock':function(_0x1376e3,_0x1e7af2){this['_doCryptBlock'](_0x1376e3,_0x1e7af2,this['_keySchedule'],_0x1338e4,_0x3763fc,_0x243bb2,_0x53aa58,_0x3b330e);},'decryptBlock':function(_0x15ec18,_0x3d21d2){var _0x663990=_0x1c0ce9,_0x51993d=_0x15ec18[_0x3d21d2+0x1];_0x15ec18[_0x3d21d2+0x1]=_0x15ec18[_0x3d21d2+0x3],_0x15ec18[_0x3d21d2+0x3]=_0x51993d,this[_0x663990(0x384)](_0x15ec18,_0x3d21d2,this['_invKeySchedule'],_0x5d548e,_0x4cd927,_0x2ff2ed,_0x437d9e,_0x2cebb5);var _0x51993d=_0x15ec18[_0x3d21d2+0x1];_0x15ec18[_0x3d21d2+0x1]=_0x15ec18[_0x3d21d2+0x3],_0x15ec18[_0x3d21d2+0x3]=_0x51993d;},'_doCryptBlock':function(_0x18d0e3,_0x569e7b,_0x4c7111,_0x2e5842,_0x4200d6,_0x1da426,_0x517c3c,_0x53b42e){var _0x2311df=_0x1c0ce9;for(var _0x49edd9=this[_0x2311df(0x3a7)],_0x450ecc=_0x18d0e3[_0x569e7b]^_0x4c7111[0x0],_0x42cf51=_0x18d0e3[_0x569e7b+0x1]^_0x4c7111[0x1],_0x2e226f=_0x18d0e3[_0x569e7b+0x2]^_0x4c7111[0x2],_0x6c30fb=_0x18d0e3[_0x569e7b+0x3]^_0x4c7111[0x3],_0xd11e5f=0x4,_0x44e45b=0x1;_0x44e45b<_0x49edd9;_0x44e45b++){var _0x2f8f87=_0x2e5842[_0x450ecc>>>0x18]^_0x4200d6[_0x42cf51>>>0x10&0xff]^_0x1da426[_0x2e226f>>>0x8&0xff]^_0x517c3c[_0x6c30fb&0xff]^_0x4c7111[_0xd11e5f++],_0x168cdc=_0x2e5842[_0x42cf51>>>0x18]^_0x4200d6[_0x2e226f>>>0x10&0xff]^_0x1da426[_0x6c30fb>>>0x8&0xff]^_0x517c3c[_0x450ecc&0xff]^_0x4c7111[_0xd11e5f++],_0x3d9e57=_0x2e5842[_0x2e226f>>>0x18]^_0x4200d6[_0x6c30fb>>>0x10&0xff]^_0x1da426[_0x450ecc>>>0x8&0xff]^_0x517c3c[_0x42cf51&0xff]^_0x4c7111[_0xd11e5f++],_0x701346=_0x2e5842[_0x6c30fb>>>0x18]^_0x4200d6[_0x450ecc>>>0x10&0xff]^_0x1da426[_0x42cf51>>>0x8&0xff]^_0x517c3c[_0x2e226f&0xff]^_0x4c7111[_0xd11e5f++];_0x450ecc=_0x2f8f87,_0x42cf51=_0x168cdc,_0x2e226f=_0x3d9e57,_0x6c30fb=_0x701346;}var _0x2f8f87=(_0x53b42e[_0x450ecc>>>0x18]<<0x18|_0x53b42e[_0x42cf51>>>0x10&0xff]<<0x10|_0x53b42e[_0x2e226f>>>0x8&0xff]<<0x8|_0x53b42e[_0x6c30fb&0xff])^_0x4c7111[_0xd11e5f++],_0x168cdc=(_0x53b42e[_0x42cf51>>>0x18]<<0x18|_0x53b42e[_0x2e226f>>>0x10&0xff]<<0x10|_0x53b42e[_0x6c30fb>>>0x8&0xff]<<0x8|_0x53b42e[_0x450ecc&0xff])^_0x4c7111[_0xd11e5f++],_0x3d9e57=(_0x53b42e[_0x2e226f>>>0x18]<<0x18|_0x53b42e[_0x6c30fb>>>0x10&0xff]<<0x10|_0x53b42e[_0x450ecc>>>0x8&0xff]<<0x8|_0x53b42e[_0x42cf51&0xff])^_0x4c7111[_0xd11e5f++],_0x701346=(_0x53b42e[_0x6c30fb>>>0x18]<<0x18|_0x53b42e[_0x450ecc>>>0x10&0xff]<<0x10|_0x53b42e[_0x42cf51>>>0x8&0xff]<<0x8|_0x53b42e[_0x2e226f&0xff])^_0x4c7111[_0xd11e5f++];_0x18d0e3[_0x569e7b]=_0x2f8f87,_0x18d0e3[_0x569e7b+0x1]=_0x168cdc,_0x18d0e3[_0x569e7b+0x2]=_0x3d9e57,_0x18d0e3[_0x569e7b+0x3]=_0x701346;},'keySize':0x100/0x20});_0x2586b0[_0x1c0ce9(0x232)]=_0x251381[_0x1c0ce9(0x2b7)](_0x839b1a);}()),_0x2f032b[_0x2ef785(0x232)];}));}(Ve)),Ve[_0x1ee0b8(0x1c5)];}var In=mn();const Sn=$e(In);var gn=Ri();const ti=$e(gn);var Xe={'exports':{}},Tn=Xe[_0x59b711(0x1c5)],ii;function On(){return ii||(ii=0x1,function(_0x4fd050,_0x17935b){(function(_0x53080c,_0x3fa7c2){_0x4fd050['exports']=_0x3fa7c2(ie());}(Tn,function(_0x2f4194){var _0x5d457f=_0x2040;return _0x2f4194[_0x5d457f(0x31c)][_0x5d457f(0x106)];}));}(Xe)),Xe['exports'];}var Rn=On();const Cn=$e(Rn);var Ze={'exports':{}},Nn=Ze['exports'],si;function bn(){var _0x119841=_0x59b711;return si||(si=0x1,function(_0x5c4de0,_0x3c2f49){(function(_0x561705,_0xb8bcdf){var _0x4f64a4=_0x2040;_0x5c4de0[_0x4f64a4(0x1c5)]=_0xb8bcdf(ie());}(Nn,function(_0x2ea390){var _0x17e4e8=_0x2040;return(function(){var _0x1fcb88=_0x2040;if(typeof ArrayBuffer==_0x1fcb88(0x310)){var _0x438a07=_0x2ea390,_0x5f19bb=_0x438a07[_0x1fcb88(0x1bd)],_0x24a49d=_0x5f19bb[_0x1fcb88(0x26b)],_0x92f319=_0x24a49d['init'],_0x14381d=_0x24a49d['init']=function(_0x44a93e){var _0xb4ec22=_0x1fcb88;if(_0x44a93e instanceof ArrayBuffer&&(_0x44a93e=new Uint8Array(_0x44a93e)),(_0x44a93e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x44a93e instanceof Uint8ClampedArray||_0x44a93e instanceof Int16Array||_0x44a93e instanceof Uint16Array||_0x44a93e instanceof Int32Array||_0x44a93e instanceof Uint32Array||_0x44a93e instanceof Float32Array||_0x44a93e instanceof Float64Array)&&(_0x44a93e=new Uint8Array(_0x44a93e['buffer'],_0x44a93e[_0xb4ec22(0x40f)],_0x44a93e[_0xb4ec22(0x2ef)])),_0x44a93e instanceof Uint8Array){for(var _0x1c8685=_0x44a93e[_0xb4ec22(0x2ef)],_0x5cc34a=[],_0x17cc4b=0x0;_0x17cc4b<_0x1c8685;_0x17cc4b++)_0x5cc34a[_0x17cc4b>>>0x2]|=_0x44a93e[_0x17cc4b]<<0x18-_0x17cc4b%0x4*0x8;_0x92f319[_0xb4ec22(0x2ac)](this,_0x5cc34a,_0x1c8685);}else _0x92f319[_0xb4ec22(0x3a5)](this,arguments);};_0x14381d[_0x1fcb88(0x170)]=_0x24a49d;}}()),_0x2ea390['lib'][_0x17e4e8(0x26b)];}));}(Ze)),Ze[_0x119841(0x1c5)];}var Dn=bn();const yn=$e(Dn);var Qe={'exports':{}},Un=Qe['exports'],ni;function An(){return ni||(ni=0x1,function(_0x25eb4d,_0x373734){(function(_0x243afc,_0x2ddac3,_0x588d0b){var _0xf2642c=_0x2040;_0x25eb4d[_0xf2642c(0x1c5)]=_0x2ddac3(ie(),Ni());}(Un,function(_0x2d8c7d){var _0x17c979=_0x2040;return _0x2d8c7d[_0x17c979(0x2e4)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2d8c7d[_0x17c979(0x2e4)][_0x17c979(0x15c)];}));}(Qe)),Qe['exports'];}var Pn=An();const wn=$e(Pn);function Mn(_0x2f0623,_0x4b4d65){var _0x3e5e10=_0x59b711;const _0x433d95=_0x4b4d65-_0x2f0623[_0x3e5e10(0x1c0)]%_0x4b4d65,_0x33eaa5=String['fromCharCode'](_0x433d95)['repeat'](_0x433d95);return _0x2f0623+_0x33eaa5;}function Ln(_0x335149,_0x1e0949){var _0x5a5c9f=_0x59b711;const _0x24f4c9=yn['random'](0x10),_0x1a578e=Mn(_0x335149,0x10),_0x34b278=Sn['encrypt'](Cn['parse'](_0x1a578e),ti['parse'](_0x1e0949),{'iv':_0x24f4c9,'padding':wn});return _0x24f4c9[_0x5a5c9f(0x276)](_0x34b278[_0x5a5c9f(0x38d)])[_0x5a5c9f(0x226)](ti);}function xn(){var _0x187a0e=_0x59b711;const _0x439ed6=_0x4af11f()['__Key__'];if(_0x439ed6){const _0x36a653={'time':Math[_0x187a0e(0x326)](Date[_0x187a0e(0x16c)]()/0x3e8),'domain':location[_0x187a0e(0x1a0)]};return Ln(JSON['stringify'](_0x36a653),_0x439ed6);}}var kn=Object[_0x59b711(0x16f)],$n=(_0x422dff,_0x321007,_0x248643,_0x33b2da)=>{var _0x1911db=_0x59b711;for(var _0x4b0d64=_0x33b2da>0x1?void 0x0:_0x33b2da?kn(_0x321007,_0x248643):_0x321007,_0x51e903=_0x422dff[_0x1911db(0x1c0)]-0x1,_0x4786b8;_0x51e903>=0x0;_0x51e903--)(_0x4786b8=_0x422dff[_0x51e903])&&(_0x4b0d64=_0x4786b8(_0x4b0d64)||_0x4b0d64);return _0x4b0d64;},Hn=(_0x104e0a,_0x300955)=>(_0x3b27b3,_0xc67113)=>_0x300955(_0x3b27b3,_0xc67113,_0x104e0a);let at=class{constructor(_0x1da4ec){var _0x54201b=_0x59b711;this[_0x54201b(0x14b)]=_0x1da4ec,this[_0x54201b(0x1ed)]();}[_0x59b711(0x1ed)](){var _0x39ea32=_0x59b711;this[_0x39ea32(0x14b)]['registerHTTPInterceptor']({'interceptor':(_0x4802f4,_0x19f37e)=>{var _0x4776f9=_0x39ea32;const _0x5bca0f=_0x4802f4[_0x4776f9(0x19d)],_0xd2f09c=xn();return _0xd2f09c&&_0x5bca0f[_0x4776f9(0x302)](_0x4776f9(0x3b6),_0xd2f09c),_0x19f37e(_0x4802f4);}});}};at=$n([Hn(0x0,_0x281a8c(_0x562ec3))],at);var Bn=Object[_0x59b711(0x16f)],Fn=(_0x3c7db5,_0x17b49b,_0x3e8dca,_0x6d2acf)=>{var _0x45baa6=_0x59b711;for(var _0xf5c477=_0x6d2acf>0x1?void 0x0:_0x6d2acf?Bn(_0x17b49b,_0x3e8dca):_0x17b49b,_0x1374ed=_0x3c7db5[_0x45baa6(0x1c0)]-0x1,_0xa21173;_0x1374ed>=0x0;_0x1374ed--)(_0xa21173=_0x3c7db5[_0x1374ed])&&(_0xf5c477=_0xa21173(_0xf5c477)||_0xf5c477);return _0xf5c477;},vt=(_0x581e19,_0x470e5f)=>(_0x3d7ec2,_0x62dfe5)=>_0x470e5f(_0x3d7ec2,_0x62dfe5,_0x581e19);let Ot=class extends _0x142f2e{constructor(_0x1cda1a,_0x560b8e,_0x1f547e){var _0x40b06d=_0x59b711;super(),D(this,_0x40b06d(0x2b8),new _0xe5c9e8(null)),D(this,_0x40b06d(0x21b),this['_unitInfo$'][_0x40b06d(0x159)]()),(this[_0x40b06d(0x19f)]=_0x1cda1a,this['_snapshotService']=_0x560b8e,this['_localCacheService']=_0x1f547e);}async[_0x59b711(0x174)](_0x1be2fc,_0x22fef2,_0x5552cb){var _0x2ded3c=_0x59b711;this['_unitInfo$']['next']({'unitId':_0x1be2fc,'type':_0x22fef2});let _0x17097a=null;switch(_0x22fef2){case Q[_0x2ded3c(0x11b)]:{_0x17097a=await this[_0x2ded3c(0x197)][_0x2ded3c(0x3ac)](_0x1be2fc,_0x5552cb);break;}case Q['UNIVER_DOC']:{_0x17097a=await this[_0x2ded3c(0x197)][_0x2ded3c(0x271)](_0x1be2fc,_0x5552cb);break;}default:{this[_0x2ded3c(0x19f)][_0x2ded3c(0x247)](_0x2ded3c(0x3ab),_0x2ded3c(0x344));break;}}return _0x17097a;}async['loadUnit'](_0x398a54,_0x55e89f,_0x36529f){var _0x3a1127=_0x59b711,_0x36e055;this[_0x3a1127(0x2b8)][_0x3a1127(0x1ab)]({'unitId':_0x398a54,'type':_0x55e89f,'subUnitId':_0x36529f});let _0x46e1be=0x0;const _0x290e9e=await((_0x36e055=this[_0x3a1127(0x15b)])==null?void 0x0:_0x36e055[_0x3a1127(0x328)](_0x398a54));return _0x290e9e&&(_0x290e9e['awaitingChangeset']||_0x290e9e[_0x3a1127(0x1e3)][_0x3a1127(0x1c0)]!==0x0)&&(_0x46e1be=_0x290e9e[_0x3a1127(0x3f1)]),_0x46e1be===0x0&&this['_logService'][_0x3a1127(0x3e0)](_0x3a1127(0x3ab),_0x3a1127(0x36c)),this[_0x3a1127(0x174)](_0x398a54,_0x55e89f,_0x46e1be);}};Ot=Fn([vt(0x0,_0x1044bb),vt(0x1,_0x281a8c(_0x5e7f3a)),vt(0x2,_0x56c622(J))],Ot);var jn=Object['getOwnPropertyDescriptor'],Vn=(_0xd4745b,_0xb090fc,_0x240dd7,_0x5c54f4)=>{var _0x1f522d=_0x59b711;for(var _0x469f6e=_0x5c54f4>0x1?void 0x0:_0x5c54f4?jn(_0xb090fc,_0x240dd7):_0xb090fc,_0x19a061=_0xd4745b[_0x1f522d(0x1c0)]-0x1,_0x39d5bf;_0x19a061>=0x0;_0x19a061--)(_0x39d5bf=_0xd4745b[_0x19a061])&&(_0x469f6e=_0x39d5bf(_0x469f6e)||_0x469f6e);return _0x469f6e;},pt=(_0x261d60,_0x3809cb)=>(_0x14bf41,_0x52cd80)=>_0x3809cb(_0x14bf41,_0x52cd80,_0x261d60);const Gn=['image/png',_0x59b711(0x301),_0x59b711(0x311),_0x59b711(0x31a),'image/bmp'],Wn=0x5*0x400*0x400,Yn='/universer-api/stream/file/upload',Kn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x1b76ec,_0x4a3423,_0x3896c1){var _0x2d47b2=_0x59b711;D(this,_0x2d47b2(0x282),0x0),D(this,_0x2d47b2(0x3e8),new _0x2e13d0()),D(this,_0x2d47b2(0x1bf),this[_0x2d47b2(0x3e8)]),D(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x1b76ec,this[_0x2d47b2(0x35a)]=_0x4a3423,this[_0x2d47b2(0x116)]=_0x3896c1);}[_0x59b711(0x22b)](_0x37a661){var _0x3d4b6e=_0x59b711;this[_0x3d4b6e(0x282)]=_0x37a661,this[_0x3d4b6e(0x3e8)]['next'](_0x37a661);}[_0x59b711(0x1b6)](_0x3334b5,_0x28b354){var _0x1e4034=_0x59b711;if(_0x28b354===_0x173291[_0x1e4034(0x2e1)]){const _0xc93720=new Image();return _0xc93720[_0x1e4034(0x323)]=_0x3334b5,_0xc93720;}return this[_0x1e4034(0x3c6)][_0x1e4034(0x297)](_0x3334b5);}['addImageSourceCache'](_0x537df4,_0x3a28fe,_0x56b1d7){var _0x87a07f=_0x59b711;_0x3a28fe===_0x173291[_0x87a07f(0x2e1)]||_0x56b1d7==null||this[_0x87a07f(0x3c6)][_0x87a07f(0x302)](_0x537df4,_0x56b1d7);}async[_0x59b711(0x3b3)](_0x31ec36){var _0x83f8c7=_0x59b711;try{const _0x440c75=this[_0x83f8c7(0x3f8)](this[_0x83f8c7(0x1da)](),''+_0x31ec36),_0x3989ae=(await this[_0x83f8c7(0x14b)][_0x83f8c7(0x297)](_0x440c75))[_0x83f8c7(0x1ee)];if(_0x3989ae[_0x83f8c7(0x247)]&&_0x3989ae[_0x83f8c7(0x247)][_0x83f8c7(0x131)]===vi['OK']){const _0x3d75e0=new URL(_0x3989ae['url'],this['_getDownloadEndpointURL']())[_0x83f8c7(0x226)]();return Promise[_0x83f8c7(0x32d)](_0x3d75e0);}return Promise[_0x83f8c7(0x196)](_0x3989ae[_0x83f8c7(0x247)]);}catch(_0x294e90){return Promise[_0x83f8c7(0x196)](_0x294e90);}}async['saveImage'](_0x49d20b){var _0x497bca=_0x59b711;let _0x33834f='';if(!Gn[_0x497bca(0x127)](_0x49d20b[_0x497bca(0x390)]))return this[_0x497bca(0x36a)](),Promise[_0x497bca(0x196)](new Error(_0x2a2d1[_0x497bca(0x162)]));if(_0x49d20b[_0x497bca(0x296)]>Wn)return this[_0x497bca(0x36a)](),Promise[_0x497bca(0x196)](new Error(_0x2a2d1[_0x497bca(0x39d)]));try{const _0x3f5fd2=new FormData();_0x3f5fd2[_0x497bca(0x235)](_0x497bca(0x419),_0x49d20b);const _0x28dd43=this[_0x497bca(0x116)][_0x497bca(0x316)](),_0x57b02f=_0x28dd43==null?void 0x0:_0x28dd43[_0x497bca(0x400)]();if(!_0x57b02f)throw new Error(_0x497bca(0x2e9));const _0x2e1d2e=this[_0x497bca(0x2a2)]()+_0x497bca(0x372)+_0x49d20b[_0x497bca(0x296)][_0x497bca(0x226)]()+_0x497bca(0x121)+pi[_0x497bca(0x3ea)]+_0x497bca(0x1db)+encodeURIComponent(_0x57b02f),_0x1192f8={'body':_0x3f5fd2},_0x56d77e=(await this[_0x497bca(0x14b)][_0x497bca(0x2ff)](_0x2e1d2e,_0x1192f8))[_0x497bca(0x1ee)];if(typeof _0x56d77e[_0x497bca(0x3dd)]!='string')return this[_0x497bca(0x36a)](),Promise[_0x497bca(0x196)](new Error(_0x2a2d1['ERROR_IMAGE']));_0x33834f=_0x56d77e['FileId'];}catch{return this[_0x497bca(0x36a)](),Promise[_0x497bca(0x196)](new Error(_0x2a2d1[_0x497bca(0x2d1)]));}return new Promise((_0x38719,_0x2c2c0b)=>{var _0x5931c9=_0x497bca;const _0x21d6bf=new FileReader();_0x21d6bf[_0x5931c9(0x3e9)](_0x49d20b),_0x21d6bf[_0x5931c9(0x405)]=_0x4921bf=>{var _0x5daa1f=_0x5931c9,_0x552212;const _0x586bf0=(_0x552212=_0x4921bf[_0x5daa1f(0x231)])==null?void 0x0:_0x552212[_0x5daa1f(0x416)];if(_0x586bf0==null){this[_0x5daa1f(0x36a)](),_0x2c2c0b(new Error(_0x2a2d1[_0x5daa1f(0x2d1)]));return;}const _0x4cc3fa=_0xb43709(0x6);_0x38719({'imageId':_0x4cc3fa,'imageSourceType':_0x173291['UUID'],'source':_0x33834f,'base64Cache':_0x586bf0,'status':_0x2a2d1[_0x5daa1f(0x322)]}),this[_0x5daa1f(0x36a)]();};});}[_0x59b711(0x2a2)](){var _0x3a0669=_0x59b711,_0x5339c1;const _0x39f0b9=this[_0x3a0669(0x35a)][_0x3a0669(0x1df)](K);return(_0x5339c1=_0x39f0b9==null?void 0x0:_0x39f0b9[_0x3a0669(0x189)])!=null?_0x5339c1:Yn;}[_0x59b711(0x1da)](){var _0x35d067=_0x59b711,_0x99fdc7;const _0xe2811=this['_configService']['getConfig'](K);return(_0x99fdc7=_0xe2811==null?void 0x0:_0xe2811[_0x35d067(0x2fa)])!=null?_0x99fdc7:Kn;}['_getDownloadEndpointURL'](){var _0x17652d=_0x59b711,_0x479013;const _0x2c8ffe=this[_0x17652d(0x35a)][_0x17652d(0x1df)](K);return(_0x479013=_0x2c8ffe==null?void 0x0:_0x2c8ffe[_0x17652d(0x259)])!=null?_0x479013:location[_0x17652d(0x1ea)];}[_0x59b711(0x3f8)](_0x1188f4,_0x330ee5){var _0x457f9e=_0x59b711;return _0x1188f4[_0x457f9e(0x163)](_0x457f9e(0x3fd),_0x330ee5);}[_0x59b711(0x36a)](){var _0x437d86=_0x59b711;this['_waitCount']-=0x1,this[_0x437d86(0x3e8)]['next'](this[_0x437d86(0x282)]);}};Rt=Vn([pt(0x0,_0x281a8c(_0x562ec3)),pt(0x1,_0x8d713e),pt(0x2,_0x281a8c(_0xf3afd7))],Rt);var qn=Object['getOwnPropertyDescriptor'],zn=(_0x3dcac3,_0x1504af,_0x1a5d8b,_0x409cfd)=>{var _0x2f72a1=_0x59b711;for(var _0x45da35=_0x409cfd>0x1?void 0x0:_0x409cfd?qn(_0x1504af,_0x1a5d8b):_0x1504af,_0x3165c0=_0x3dcac3[_0x2f72a1(0x1c0)]-0x1,_0x1e2595;_0x3165c0>=0x0;_0x3165c0--)(_0x1e2595=_0x3dcac3[_0x3165c0])&&(_0x45da35=_0x1e2595(_0x45da35)||_0x45da35);return _0x45da35;},ri=(_0x1e6d3d,_0x2364b7)=>(_0x3001d3,_0x208662)=>_0x2364b7(_0x3001d3,_0x208662,_0x1e6d3d);const Jn=_0x59b711(0x27b);let Ct=class{constructor(_0x502f9d,_0x3ad84c){var _0x566bd7=_0x59b711;this[_0x566bd7(0x35a)]=_0x502f9d,this[_0x566bd7(0x3ff)]=_0x3ad84c;}[_0x59b711(0x254)](){var _0x2fdef1;const _0x1226f9=this['_configService']['getConfig'](K);return(_0x2fdef1=_0x1226f9==null?void 0x0:_0x1226f9['authzUrl'])!=null?_0x2fdef1:Jn;}async[_0x59b711(0x3a2)](_0x1abf4c){var _0x531c13=_0x59b711;const _0x157a74=this[_0x531c13(0x254)]()+'/collaborator';return{'list':[{'title':_0x531c13(0x2ce),'mentions':(await this[_0x531c13(0x3ff)][_0x531c13(0x297)](_0x157a74,{'params':{'objectID':_0x1abf4c[_0x531c13(0x3c4)],'unitID':_0x1abf4c[_0x531c13(0x3c4)]}}))[_0x531c13(0x1ee)]['collaborators']['map'](_0x50293f=>({'objectId':_0x50293f['id'],'name':_0x50293f[_0x531c13(0x268)][_0x531c13(0x366)],'metadata':{'icon':_0x50293f[_0x531c13(0x268)]['avatar']},'label':_0x50293f['subject'][_0x531c13(0x366)],'objectType':_0x5bbeff[_0x531c13(0x354)]})),'metadata':{},'type':_0x5bbeff[_0x531c13(0x354)]}]};}};Ct=zn([ri(0x0,_0x281a8c(_0x8d713e)),ri(0x1,_0x281a8c(_0x562ec3))],Ct);var Xn=Object[_0x59b711(0x16f)],Zn=(_0x347cd5,_0x2d0e42,_0x370a65,_0x2211a3)=>{for(var _0x2d0e77=_0x2211a3>0x1?void 0x0:_0x2211a3?Xn(_0x2d0e42,_0x370a65):_0x2d0e42,_0x5ef979=_0x347cd5['length']-0x1,_0x396bc0;_0x5ef979>=0x0;_0x5ef979--)(_0x396bc0=_0x347cd5[_0x5ef979])&&(_0x2d0e77=_0x396bc0(_0x2d0e77)||_0x2d0e77);return _0x2d0e77;},Ue=(_0xd55176,_0x210586)=>(_0x1ee4c1,_0x408d8c)=>_0x210586(_0x1ee4c1,_0x408d8c,_0xd55176);let ot=class extends _0x142f2e{constructor(_0x1c430e,_0xc22add,_0x5d031f,_0x564692,_0x1dc1f2){var _0x2e716f=_0x59b711;super(),this[_0x2e716f(0x11a)]=_0x1c430e,this['_univerInstanceService']=_0xc22add,this[_0x2e716f(0x111)]=_0x5d031f,this[_0x2e716f(0x1fc)]=_0x564692,this['_collaborationUIEventService']=_0x1dc1f2,this['_initUnitPermissionChange'](),this[_0x2e716f(0x383)]();}[_0x59b711(0x383)](){var _0x35c9c7=_0x59b711;const _0x4a97d9=async _0x3b4033=>{var _0xd3b55d=_0x2040;(await this[_0xd3b55d(0x1fc)][_0xd3b55d(0x291)](_0x3b4033))[_0xd3b55d(0x368)][_0xd3b55d(0x18e)](_0x53e131(_0x3aa3c2=>_0x3aa3c2[_0xd3b55d(0x2a9)]===_0x43a4f7['SHOULD_CLOSE_CONN']),_0x3013c1(this[_0xd3b55d(0x1c8)]))['subscribe'](_0x3beaf0=>{var _0x2f6922=_0xd3b55d;const _0x1f35c1=_0x3beaf0,{reason:_0x5782e7}=_0x1f35c1[_0x2f6922(0x107)];this['_collaborationUIEventService']['emitEvent']({'id':re['CLOSE_ROOM'],'data':_0x5782e7}),this[_0x2f6922(0x111)][_0x2f6922(0x396)](new _0xe33bd0(_0x3b4033)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x3b4033);});};_0x23bbdc(this['_univerInstanceService'][_0x35c9c7(0x395)](_0x119ad1[_0x35c9c7(0x11b)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x119ad1[_0x35c9c7(0x1f8)]))[_0x35c9c7(0x18e)](_0x4bbb67(_0x5cefc3=>_0x5cefc3['getUnitId']()),_0x53e131(_0x15086f=>!_0x2f8a53(_0x15086f)),_0x3013c1(this['dispose$']))[_0x35c9c7(0x16b)](_0x5c6e63=>{_0x4a97d9(_0x5c6e63);});}[_0x59b711(0x1fb)](){var _0x50bbf1=_0x59b711;const _0x29ae69=async _0x25da7e=>{var _0x5a7db8=_0x2040;const _0x44ca66=await this['_collaborationSessionService'][_0x5a7db8(0x291)](_0x25da7e),_0x45838b=this['_injector']['get'](_0x27db7e);_0x44ca66[_0x5a7db8(0x368)][_0x5a7db8(0x18e)](_0x53e131(_0x1e2ccd=>_0x1e2ccd[_0x5a7db8(0x2a9)]===_0x43a4f7[_0x5a7db8(0x27c)]),_0x3013c1(this[_0x5a7db8(0x1c8)]))[_0x5a7db8(0x16b)](_0x1e465b=>{var _0x149b20=_0x5a7db8;const _0x207f84=_0x1e465b,{objectId:_0x6559a}=_0x207f84[_0x149b20(0x107)];_0x6559a===_0x25da7e?_0x45838b['initWorkbookPermissionChange'](_0x25da7e):_0x45838b[_0x149b20(0x242)](_0x25da7e,_0x6559a);});};_0x23bbdc(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x119ad1[_0x50bbf1(0x11b)]))['pipe'](_0x4bbb67(_0x364af3=>_0x364af3[_0x50bbf1(0x400)]()),_0x53e131(_0x107cf0=>!_0x2f8a53(_0x107cf0)),_0x3013c1(this[_0x50bbf1(0x1c8)]))[_0x50bbf1(0x16b)](_0x131282=>{_0x29ae69(_0x131282);});}};ot=Zn([Ue(0x0,_0x281a8c(_0x37ef73)),Ue(0x1,_0xf3afd7),Ue(0x2,_0x4c465d),Ue(0x3,_0x281a8c(we)),Ue(0x4,_0x281a8c(ve))],ot);var Qn=Object[_0x59b711(0x16f)],er=(_0x159031,_0x12bd7d,_0x3f1a81,_0x4ad03e)=>{for(var _0x1d2c37=_0x4ad03e>0x1?void 0x0:_0x4ad03e?Qn(_0x12bd7d,_0x3f1a81):_0x12bd7d,_0x5b2b06=_0x159031['length']-0x1,_0x453694;_0x5b2b06>=0x0;_0x5b2b06--)(_0x453694=_0x159031[_0x5b2b06])&&(_0x1d2c37=_0x453694(_0x1d2c37)||_0x1d2c37);return _0x1d2c37;},ai=(_0x15baf6,_0x5d36fe)=>(_0x3d67ee,_0x52d230)=>_0x5d36fe(_0x3d67ee,_0x52d230,_0x15baf6);let Nt=class{constructor(_0xe694a3,_0x485e0b){var _0x3f62c1=_0x59b711;this[_0x3f62c1(0x35a)]=_0xe694a3,this['_httpService']=_0x485e0b;}async[_0x59b711(0x31e)](_0x31a5de,_0x4375c7){var _0x56fed0=_0x59b711,_0x1f7b06;const {unitID:_0xf460e1,type:_0xac0cea,revision:_0x5c6279=0x0}=_0x4375c7,_0x2bc87f=this['getSnapshotAPIPath']()+'/'+_0xac0cea+_0x56fed0(0x30e)+_0xf460e1+'/rev/'+_0x5c6279,_0x19a2f2=(await this[_0x56fed0(0x14b)][_0x56fed0(0x297)](_0x2bc87f))[_0x56fed0(0x1ee)],_0xc1fc92=(_0x1f7b06=_0x19a2f2[_0x56fed0(0x30b)])==null?void 0x0:_0x1f7b06['workbook'];if(_0xc1fc92){const _0x5c9dc0=_0xc1fc92==null?void 0x0:_0xc1fc92[_0x56fed0(0x2b1)],_0x413a84=_0x407662[_0x56fed0(0x2cd)](_0x2df192(_0x5c9dc0));_0xc1fc92[_0x56fed0(0x2b1)]=_0x413a84,Object[_0x56fed0(0x108)](_0xc1fc92['sheets'])[_0x56fed0(0x2bd)](([,_0x27fac5])=>{var _0x5d5776=_0x56fed0;const _0x50c3e4=_0x27fac5['originalMeta'],_0x598298=_0x407662[_0x5d5776(0x2cd)](_0x2df192(_0x50c3e4));_0x27fac5['originalMeta']=_0x598298;});}return _0x19a2f2;}async[_0x59b711(0x166)](_0x5d00ba,_0x4a1b55){var _0x26d06e=_0x59b711;const {unitID:_0x5b6908,type:_0x2e61aa,blockID:_0x52491a}=_0x4a1b55,_0x5d0aab=this[_0x26d06e(0x147)]()+'/'+_0x2e61aa+'/unit/'+_0x5b6908+'/block/'+_0x52491a;return(await this[_0x26d06e(0x14b)][_0x26d06e(0x297)](_0x5d0aab))['body'];}async['getDeserializedSheetBlock'](_0x345a72,_0x328a7a){var _0x1eb306=_0x59b711;const {unitID:_0x3e83f4,type:_0x431a9a,blockID:_0x1639b2}=_0x328a7a,_0x4b2f2c=this[_0x1eb306(0x147)]()+_0x1eb306(0x327)+_0x431a9a+_0x1eb306(0x30e)+_0x3e83f4+_0x1eb306(0x327)+_0x1639b2;return(await this[_0x1eb306(0x14b)]['get'](_0x4b2f2c))[_0x1eb306(0x1ee)];}async[_0x59b711(0x1b3)](_0x33626c,_0xbcea9c){var _0x57de38=_0x59b711;const {unitID:_0x3f3227,type:_0x34ca8d,from:_0x3bc1a9,to:_0x16b14f}=_0xbcea9c,_0x24379a=this[_0x57de38(0x147)]()+'/'+_0x34ca8d+_0x57de38(0x30e)+_0x3f3227+_0x57de38(0x207)+_0x3bc1a9+'&to='+_0x16b14f;return(await this[_0x57de38(0x14b)]['get'](_0x24379a))[_0x57de38(0x1ee)];}[_0x59b711(0x2bc)](){var _0x2d9d5c;return(_0x2d9d5c=this['_configService']['getConfig'](vs))!=null?_0x2d9d5c:this['_getAPIPrefix']();}[_0x59b711(0x147)](){var _0x27ac23=_0x59b711,_0x250fee;const _0x422241=this[_0x27ac23(0x35a)][_0x27ac23(0x1df)](K);return(_0x250fee=_0x422241==null?void 0x0:_0x422241[_0x27ac23(0x404)])!=null?_0x250fee:fs;}async[_0x59b711(0x14c)](_0x31220d,_0x29e414){var _0x4cc8b9=_0x59b711;const _0x48e332=_0x4cc8b9(0x2e5)+_0x29e414['type']+_0x4cc8b9(0x30e)+_0x29e414[_0x4cc8b9(0x3d6)]+'/resources';return(await this[_0x4cc8b9(0x14b)][_0x4cc8b9(0x297)](_0x48e332,{'params':{'resourceId':JSON['stringify'](_0x29e414[_0x4cc8b9(0x243)])}}))[_0x4cc8b9(0x1ee)];}[_0x59b711(0x2a7)](){var _0x473265=_0x59b711;throw new Error(_0x473265(0x10d));}[_0x59b711(0x1fd)](){var _0xd4cb53=_0x59b711;throw new Error(_0xd4cb53(0x10d));}[_0x59b711(0x14e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x59b711(0x19c)](){var _0x505780=_0x59b711;throw new Error(_0x505780(0x10d));}[_0x59b711(0x31f)](){var _0x34e9be=_0x59b711;throw new Error(_0x34e9be(0x10d));}[_0x59b711(0x37e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=er([ai(0x0,_0x8d713e),ai(0x1,_0x281a8c(_0x562ec3))],Nt);var tr=Object[_0x59b711(0x16f)],ir=(_0x3c0fbc,_0x34c295,_0x2fe304,_0x1fcd18)=>{var _0x35902f=_0x59b711;for(var _0x39f928=_0x1fcd18>0x1?void 0x0:_0x1fcd18?tr(_0x34c295,_0x2fe304):_0x34c295,_0x53da07=_0x3c0fbc[_0x35902f(0x1c0)]-0x1,_0x39f927;_0x53da07>=0x0;_0x53da07--)(_0x39f927=_0x3c0fbc[_0x53da07])&&(_0x39f928=_0x39f927(_0x39f928)||_0x39f928);return _0x39f928;},Ae=(_0x1097a2,_0x5bf574)=>(_0x2b68a5,_0x12e04f)=>_0x5bf574(_0x2b68a5,_0x12e04f,_0x1097a2);let bt=class extends _0x3460e4{constructor(_0x274c1b,_0x2b27b2,_0x120d12,_0x2f4004,_0x57de37){var _0x532395=_0x59b711;super(_0x274c1b,_0x2b27b2,_0x120d12),this[_0x532395(0x1b9)]=_0x2f4004,this[_0x532395(0x19f)]=_0x57de37;}['transformUndoRedo'](_0x5221fe,_0x5de77d){var _0xd3669e=_0x59b711;const _0x11abea=this[_0xd3669e(0x218)](_0x5221fe);if(_0x11abea)try{const _0x30e282=this['_transformStack'](_0x11abea,_0x5de77d);this[_0xd3669e(0x355)](_0x5221fe,_0x30e282);}catch(_0x2a52d5){this[_0xd3669e(0x19f)][_0xd3669e(0x247)](_0xd3669e(0x1f2),_0x2a52d5),this[_0xd3669e(0x2f3)](_0x5221fe);}const _0x15b64f=this['_getRedoStack'](_0x5221fe);if(_0x15b64f)try{const _0x50b79e=this[_0xd3669e(0x320)](_0x15b64f,_0x5de77d);this['_substituteRedoStack'](_0x5221fe,_0x50b79e);}catch(_0x4d79ea){this[_0xd3669e(0x19f)][_0xd3669e(0x247)](_0x4d79ea),this['_clearRedo'](_0x5221fe);}}[_0x59b711(0x2f3)](_0x2d667f){var _0x78d620=_0x59b711;const _0xa3811a=this[_0x78d620(0x218)](_0x2d667f);_0xa3811a&&(_0xa3811a[_0x78d620(0x1c0)]=0x0,this[_0x78d620(0x17d)]());}['_clearRedo'](_0x1c3e46){var _0x6bcded=_0x59b711;const _0x23187a=this[_0x6bcded(0x23c)](_0x1c3e46);_0x23187a&&(_0x23187a[_0x6bcded(0x1c0)]=0x0,this[_0x6bcded(0x17d)]());}[_0x59b711(0x355)](_0x22a6cd,_0x357760){var _0x4068a8=_0x59b711;this[_0x4068a8(0x359)]['set'](_0x22a6cd,_0x357760),this[_0x4068a8(0x17d)]();}[_0x59b711(0x307)](_0x1948fc,_0x2210d3){var _0x3fbdc5=_0x59b711;this['_redoStacks'][_0x3fbdc5(0x302)](_0x1948fc,_0x2210d3),this[_0x3fbdc5(0x17d)]();}[_0x59b711(0x320)](_0xaca290,_0x26a577){var _0x43db4b=_0x59b711;const _0x1eb73a=[];let _0x246caf=_0x26a577,_0x3a4cb2=_0x26a577;for(let _0x2b0144=_0xaca290['length']-0x1;_0x2b0144>=0x0;_0x2b0144--){const {unitID:_0x369cd1,undoMutations:_0x4874f1,redoMutations:_0x39a48e}=_0xaca290[_0x2b0144],_0x4b80c6=this['_transformService'][_0x43db4b(0x171)](_0x246caf,_0x4874f1),_0x420c9c=this[_0x43db4b(0x1b9)][_0x43db4b(0x171)](_0x3a4cb2,_0x39a48e);if(_0x80e8d3(_0x4b80c6)||_0x80e8d3(_0x420c9c)){this[_0x43db4b(0x19f)]['error'](_0x43db4b(0x1f2),'transformStack\x20failed!',_0x4b80c6,_0x420c9c);break;}_0x246caf=_0x4b80c6['c1Prime'],_0x3a4cb2=_0x420c9c[_0x43db4b(0x281)],_0x1eb73a[_0x43db4b(0x2cf)]({'unitID':_0x369cd1,'undoMutations':_0x4b80c6[_0x43db4b(0x3e2)],'redoMutations':_0x420c9c[_0x43db4b(0x3e2)]});}return _0x1eb73a['reverse']();}};bt=ir([Ae(0x0,_0xf3afd7),Ae(0x1,_0x4ce9f0),Ae(0x2,_0x2687b3),Ae(0x3,_0x4ab688),Ae(0x4,_0x1044bb)],bt);var sr=Object[_0x59b711(0x3b7)],nr=Object[_0x59b711(0x16f)],rr=(_0x5d1830,_0x59764e,_0x3a187f)=>_0x59764e in _0x5d1830?sr(_0x5d1830,_0x59764e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a187f}):_0x5d1830[_0x59764e]=_0x3a187f,ar=(_0x1c797f,_0x48aa66,_0x5e4135,_0xb90d7f)=>{var _0x42b5bd=_0x59b711;for(var _0x247c8c=_0xb90d7f>0x1?void 0x0:_0xb90d7f?nr(_0x48aa66,_0x5e4135):_0x48aa66,_0x481748=_0x1c797f[_0x42b5bd(0x1c0)]-0x1,_0x3778c2;_0x481748>=0x0;_0x481748--)(_0x3778c2=_0x1c797f[_0x481748])&&(_0x247c8c=_0x3778c2(_0x247c8c)||_0x247c8c);return _0x247c8c;},Et=(_0x2b4871,_0x309688)=>(_0x200a74,_0x3cd94a)=>_0x309688(_0x200a74,_0x3cd94a,_0x2b4871),or=(_0xfbbeb6,_0x59b6f5,_0x2ff3d5)=>rr(_0xfbbeb6,_0x59b6f5+'',_0x2ff3d5);const cr=_0x59b711(0x25e);let Dt=class extends _0x59b1f3{constructor(_0x3d6848,_0x4c3b61,_0x6a3c18,_0x1a8ebd){var _0x346b5e=_0x59b711;super(),D(this,_0x346b5e(0x3e1)),(this['_logService']=_0x4c3b61,this['_injector']=_0x6a3c18,this[_0x346b5e(0x35a)]=_0x1a8ebd);const {..._0x2ac30e}=_0x1c6cd4({},Ls,_0x3d6848);if(!_0x2ac30e['socketService'])throw new Error(_0x346b5e(0x152));this[_0x346b5e(0x3e1)]=_0x2ac30e,this[_0x346b5e(0x35a)]['setConfig'](K,_0x2ac30e);}[_0x59b711(0x3c1)](){this['_registerDependencies'](),this['_initDependencies']();}['_registerDependencies'](){var _0x32e751=_0x59b711,_0x2f0d17,_0x411f0b;this['_injector'][_0x32e751(0x34a)](_0xc12165)&&this[_0x32e751(0x19f)]['error'](_0x32e751(0x233),_0x32e751(0x3fc));const _0x50fb03=_0x49ce61([[_0xc12165,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x32e751(0x3e1)][_0x32e751(0x202)]}],[_0x4701bb,{'useClass':Nt}],[_0x4e565e,{'useClass':Tt}],[_0x475f92,{'useClass':Rt}],[_0x516f01,{'useClass':Ct}],[nt],[gt]],(_0x2f0d17=this['_config'])==null?void 0x0:_0x2f0d17['override']);if(!((_0x411f0b=this[_0x32e751(0x3e1)])!=null&&_0x411f0b[_0x32e751(0x3a0)])){const _0xe2c5d0=_0x50fb03[_0x32e751(0x209)](([_0x2dd909])=>_0x2dd909===_t);_0xe2c5d0!==-0x1&&_0x50fb03[_0x32e751(0x348)](_0xe2c5d0,0x1);}_0x4993a2(this[_0x32e751(0x11a)],_0x50fb03);}[_0x59b711(0x153)](){var _0x360726=_0x59b711,_0x5872c9,_0x3efedb,_0x140309;this[_0x360726(0x11a)][_0x360726(0x297)](_0x562ec3)[_0x360726(0x130)]({'priority':0x14,'interceptor':_0x52c7f4({'maxParallel':0x6})}),(_0x5872c9=this[_0x360726(0x3e1)])!=null&&_0x5872c9[_0x360726(0x2ea)]||(_0x3efedb=this[_0x360726(0x11a)]['get'](J,_0x3dd9df[_0x360726(0x37b)]))==null||_0x3efedb[_0x360726(0x273)](),(_0x140309=this[_0x360726(0x3e1)])!=null&&_0x140309['enableAuthServer']&&_0xf20f57(this['_injector'],[[rt]]),_0xf20f57(this[_0x360726(0x11a)],[[at],[nt],[ot]]);}};or(Dt,'pluginName',cr),Dt=ar([_0x28f98c(_0x5c4a4e,_0x23d8c5),Et(0x1,_0x1044bb),Et(0x2,_0x281a8c(_0x37ef73)),Et(0x3,_0x8d713e)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};
|
|
1
|
+
var _0x32c544=_0x4b66;(function(_0x122b64,_0x39e226){var _0x5989b5=_0x4b66,_0x5ed33e=_0x122b64();while(!![]){try{var _0x412669=parseInt(_0x5989b5(0x383))/0x1*(-parseInt(_0x5989b5(0x4ae))/0x2)+-parseInt(_0x5989b5(0x439))/0x3*(parseInt(_0x5989b5(0x26e))/0x4)+parseInt(_0x5989b5(0x4ce))/0x5*(parseInt(_0x5989b5(0x2e9))/0x6)+-parseInt(_0x5989b5(0x34b))/0x7+-parseInt(_0x5989b5(0x307))/0x8+-parseInt(_0x5989b5(0x365))/0x9+-parseInt(_0x5989b5(0x461))/0xa*(-parseInt(_0x5989b5(0x3ab))/0xb);if(_0x412669===_0x39e226)break;else _0x5ed33e['push'](_0x5ed33e['shift']());}catch(_0x2fb51e){_0x5ed33e['push'](_0x5ed33e['shift']());}}}(_0x43ba,0x32337));var bi=Object[_0x32c544(0x3ce)],Di=(_0x431b03,_0x59aca5,_0x321543)=>_0x59aca5 in _0x431b03?bi(_0x431b03,_0x59aca5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x321543}):_0x431b03[_0x59aca5]=_0x321543,D=(_0x30902d,_0x13c394,_0x46ec04)=>Di(_0x30902d,typeof _0x13c394!=_0x32c544(0x498)?_0x13c394+'':_0x13c394,_0x46ec04);import{CollaborationEvent as _0x74d8b5,ITransformService as _0x3fc840,isTransformMutationsWithChangesetSuccess as _0x252020,mapDocumentTypeToUniverType as _0x3ab56e,RevisionService as _0x1ca512,isTransformChangesetsSuccess as _0x221f7b,EmptyMutationInfo as _0x412821,CompressMutationService as _0x2fd51b,parseProtocolChangeset as _0x4a7cb1,uuidv4 as _0x39e8cb,ISnapshotServerService as _0xfe95a9,parseChangesetToProtocol as _0x3d2e55,SnapshotService as _0x3df09d,textEncoder as _0x469788,b64DecodeUnicode as _0x2514a6,isTransformMutationsWithChangesetFailure as _0x2acfa5,UniverCollaborationPlugin as _0x739d2f}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x9806b3,Inject as _0x2fdf6c,UserManagerService as _0x561325,Disposable as _0x25f6f3,UniverInstanceType as _0x2d1a18,ILogService as _0x22fe2d,IConfigService as _0x4edaf7,Optional as _0x708160,RxDisposable as _0x5b4d54,createIdentifier as _0x81cc29,Injector as _0x370bdb,Tools as _0x58daa3,Rectangle as _0x1fbc8,ICommandService as _0x4f799e,JSONX as _0x4da358,IUndoRedoService as _0x29536b,IPermissionService as _0x4c1404,LocaleService as _0x268771,sequenceExecute as _0x258bda,toDisposable as _0x33b90d,CommandType as _0x434b66,DisposableCollection as _0x10153d,Workbook as _0x469ca0,generateRandomId as _0x283b39,MentionType as _0x4fff52,isInternalEditorID as _0x368259,LocalUndoRedoService as _0x7445c5,IContextService as _0x13c866,DependentOn as _0x1d400c,Plugin as _0x5306c0,merge as _0x4f940e,mergeOverrideWithDependencies as _0x55a761,IAuthzIoService as _0x142b7e,IMentionIOService as _0xab00c4,registerDependencies as _0x496ebf,Quantity as _0x496fbf,touchDependencies as _0x3c28b9}from'@univerjs/core';import{RichTextEditingMutation as _0x52aeb2}from'@univerjs/docs';import{SheetsSelectionsService as _0x3e85f2,SetSelectionsOperation as _0x58aff3,InsertSheetMutation as _0x4073ce,WorkbookEditablePermission as _0x4d96c8,SheetPermissionInitController as _0x3e82b8}from'@univerjs/sheets';import{Subject as _0x2cbd13,merge as _0x578f19,of as _0xeb2a1b,BehaviorSubject as _0x21dfaa,takeUntil as _0x303211,ReplaySubject as _0xb49bf3,take as _0x1b1fcf,map as _0x325fa4,shareReplay as _0x3c8874,firstValueFrom as _0x2071e3,concatMap as _0x425597}from'rxjs';import{ITelemetryService as _0x8db98f}from'@univerjs/telemetry';import{map as _0xcc690c,take as _0x4a3da1,filter as _0x28fc3d,delay as _0x16a8a6,takeUntil as _0x75b471}from'rxjs/operators';import{HTTPService as _0x2c6c5a,ISocketService as _0x4edd20,MergeInterceptorFactory as _0x41a80d,HTTPRequest as _0x390618,UniverNetworkPlugin as _0x2c22f2,ThresholdInterceptorFactory as _0x502530}from'@univerjs/network';import{ImageSourceType as _0x535d6c,ImageUploadStatusType as _0x4254d2,IImageIoService as _0x4cc17a}from'@univerjs/drawing';import{getGlobalObject as _0x4dd619}from'@univerjs-pro/license';const fs=_0x32c544(0x4d4),vs=_0x32c544(0x2a3),ps=0x7d0,Es=_0x32c544(0x3c5),Sr=_0x32c544(0x488),ms=_0x32c544(0x2fa),Is=0x7530,di=_0x32c544(0x397),fi=0x4e20,Ss=0x4e20,gs=_0x32c544(0x3b5),Ts=0x3,gr=_0x32c544(0x39c),Tr=0x3e8,Os='/universer-api/comb',Rs='/universer-api/oidc/authpage',Or=_0x32c544(0x2b3),Rr=_0x32c544(0x4bb);var vi=(_0x45bfc6=>(_0x45bfc6[_0x45bfc6[_0x32c544(0x37b)]=0x0]=_0x32c544(0x37b),_0x45bfc6[_0x45bfc6['OK']=0x1]='OK',_0x45bfc6[_0x45bfc6[_0x32c544(0x4d6)]=0x2]='INTERNAL_ERROR',_0x45bfc6[_0x45bfc6[_0x32c544(0x41a)]=0x3]='PERMISSION_DENIED',_0x45bfc6[_0x45bfc6[_0x32c544(0x4e7)]=0x4]=_0x32c544(0x4e7),_0x45bfc6[_0x45bfc6[_0x32c544(0x222)]=0x5]=_0x32c544(0x222),_0x45bfc6[_0x45bfc6[_0x32c544(0x25b)]=0x6]=_0x32c544(0x25b),_0x45bfc6[_0x45bfc6['INVALID_ARGUMENT']=0x7]=_0x32c544(0x2dd),_0x45bfc6[_0x45bfc6[_0x32c544(0x356)]=0x8]='TOO_MANY_REQUESTS',_0x45bfc6[_0x45bfc6[_0x32c544(0x30d)]=0x9]=_0x32c544(0x30d),_0x45bfc6[_0x45bfc6['LOGIN_FAILED']=0xa]=_0x32c544(0x22d),_0x45bfc6[_0x45bfc6[_0x32c544(0x485)]=0xb]=_0x32c544(0x485),_0x45bfc6[_0x45bfc6[_0x32c544(0x2a8)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x45bfc6[_0x45bfc6[_0x32c544(0x326)]=0xd]=_0x32c544(0x326),_0x45bfc6[_0x45bfc6[_0x32c544(0x494)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x45bfc6[_0x45bfc6[_0x32c544(0x3f4)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x45bfc6[_0x45bfc6[_0x32c544(0x2f1)]=0x10]=_0x32c544(0x2f1),_0x45bfc6[_0x45bfc6[_0x32c544(0x23f)]=0x64]=_0x32c544(0x23f),_0x45bfc6[_0x45bfc6[_0x32c544(0x3bd)]=0x65]='ERROR_AGAIN',_0x45bfc6[_0x45bfc6['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x45bfc6[_0x45bfc6[_0x32c544(0x26c)]=0xca]=_0x32c544(0x26c),_0x45bfc6[_0x45bfc6[_0x32c544(0x478)]=0x1389]=_0x32c544(0x478),_0x45bfc6[_0x45bfc6['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x32c544(0x34a),_0x45bfc6[_0x45bfc6[_0x32c544(0x263)]=0x1772]=_0x32c544(0x263),_0x45bfc6[_0x45bfc6[_0x32c544(0x1ea)]=0x1773]=_0x32c544(0x1ea),_0x45bfc6[_0x45bfc6['APPLY_REJECT']=0x1b59]=_0x32c544(0x4b4),_0x45bfc6[_0x45bfc6[_0x32c544(0x2f8)]=0x1b5a]=_0x32c544(0x2f8),_0x45bfc6[_0x45bfc6['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x32c544(0x4fb),_0x45bfc6[_0x45bfc6[_0x32c544(0x3a1)]=0x1b5c]=_0x32c544(0x3a1),_0x45bfc6[_0x45bfc6['APPLY_DUPLICATED']=0x1b5d]=_0x32c544(0x316),_0x45bfc6[_0x45bfc6[_0x32c544(0x2ee)]=0x1f41]=_0x32c544(0x2ee),_0x45bfc6[_0x45bfc6['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x32c544(0x4c1),_0x45bfc6[_0x45bfc6['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x32c544(0x313),_0x45bfc6[_0x45bfc6['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x32c544(0x457),_0x45bfc6[_0x45bfc6[_0x32c544(0x486)]=0x232c]=_0x32c544(0x486),_0x45bfc6[_0x45bfc6[_0x32c544(0x1ec)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x45bfc6[_0x45bfc6['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x45bfc6[_0x45bfc6[_0x32c544(0x370)]=0x2712]=_0x32c544(0x370),_0x45bfc6[_0x45bfc6[_0x32c544(0x27f)]=0x2713]=_0x32c544(0x27f),_0x45bfc6[_0x45bfc6[_0x32c544(0x23d)]=0x2714]=_0x32c544(0x23d),_0x45bfc6[_0x45bfc6[_0x32c544(0x42c)]=0x271a]=_0x32c544(0x42c),_0x45bfc6[_0x45bfc6[_0x32c544(0x4e1)]=0x271b]=_0x32c544(0x4e1),_0x45bfc6[_0x45bfc6[_0x32c544(0x1f5)]=0x271c]=_0x32c544(0x1f5),_0x45bfc6[_0x45bfc6['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x32c544(0x37d),_0x45bfc6[_0x45bfc6[_0x32c544(0x3a0)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x45bfc6[_0x45bfc6[_0x32c544(0x2cd)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x45bfc6[_0x45bfc6[_0x32c544(0x3c2)]=0x2720]=_0x32c544(0x3c2),_0x45bfc6[_0x45bfc6[_0x32c544(0x464)]=0x2af9]=_0x32c544(0x464),_0x45bfc6[_0x45bfc6[_0x32c544(0x21f)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x45bfc6[_0x45bfc6[_0x32c544(0x1ff)]=0x2ee2]=_0x32c544(0x1ff),_0x45bfc6[_0x45bfc6[_0x32c544(0x364)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x45bfc6[_0x45bfc6[_0x32c544(0x29e)]=0x2ee4]=_0x32c544(0x29e),_0x45bfc6[_0x45bfc6[_0x32c544(0x3a3)]=0x2ee5]=_0x32c544(0x3a3),_0x45bfc6[_0x45bfc6['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x32c544(0x22e),_0x45bfc6[_0x45bfc6[_0x32c544(0x2e8)]=0x32ca]=_0x32c544(0x2e8),_0x45bfc6[_0x45bfc6['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x45bfc6[_0x45bfc6[_0x32c544(0x39b)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x45bfc6[_0x45bfc6['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x32c544(0x31b),_0x45bfc6[_0x45bfc6[_0x32c544(0x39f)]=0x36b3]=_0x32c544(0x39f),_0x45bfc6[_0x45bfc6['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x45bfc6[_0x45bfc6[_0x32c544(0x3ec)]=0x3715]=_0x32c544(0x3ec),_0x45bfc6[_0x45bfc6[_0x32c544(0x3d5)]=0x3716]=_0x32c544(0x3d5),_0x45bfc6[_0x45bfc6[_0x32c544(0x2d9)]=0x3717]=_0x32c544(0x2d9),_0x45bfc6[_0x45bfc6[_0x32c544(0x481)]=0x37dd]=_0x32c544(0x481),_0x45bfc6[_0x45bfc6[_0x32c544(0x4f9)]=0x3a99]=_0x32c544(0x4f9),_0x45bfc6[_0x45bfc6['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x32c544(0x25e),_0x45bfc6[_0x45bfc6[_0x32c544(0x21b)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x45bfc6[_0x45bfc6['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x32c544(0x3fb),_0x45bfc6[_0x45bfc6[_0x32c544(0x421)]=0x3a9d]=_0x32c544(0x421),_0x45bfc6[_0x45bfc6['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x45bfc6[_0x45bfc6[_0x32c544(0x2cc)]=0x3a9f]=_0x32c544(0x2cc),_0x45bfc6[_0x45bfc6[_0x32c544(0x456)]=0x3e81]=_0x32c544(0x456),_0x45bfc6[_0x45bfc6[_0x32c544(0x2ba)]=-0x1]=_0x32c544(0x2ba),_0x45bfc6))(vi||{}),Q=(_0x16a166=>(_0x16a166[_0x16a166[_0x32c544(0x225)]=0x0]=_0x32c544(0x225),_0x16a166[_0x16a166[_0x32c544(0x357)]=0x1]=_0x32c544(0x357),_0x16a166[_0x16a166[_0x32c544(0x49e)]=0x2]=_0x32c544(0x49e),_0x16a166[_0x16a166[_0x32c544(0x284)]=0x3]='UNIVER_SLIDE',_0x16a166[_0x16a166[_0x32c544(0x236)]=0x4]=_0x32c544(0x236),_0x16a166[_0x16a166[_0x32c544(0x2ba)]=-0x1]=_0x32c544(0x2ba),_0x16a166))(Q||{}),j=(_0x2f4295=>(_0x2f4295[_0x2f4295[_0x32c544(0x399)]=0x0]='UNKNOWN_CMD',_0x2f4295[_0x2f4295[_0x32c544(0x2ce)]=0x1]='HELLO',_0x2f4295[_0x2f4295[_0x32c544(0x49b)]=0x2]=_0x32c544(0x49b),_0x2f4295[_0x2f4295[_0x32c544(0x3bf)]=0x3]=_0x32c544(0x3bf),_0x2f4295[_0x2f4295['INGEST']=0x4]=_0x32c544(0x4f5),_0x2f4295[_0x2f4295[_0x32c544(0x469)]=0x5]='HEARTBEAT',_0x2f4295[_0x2f4295[_0x32c544(0x2b1)]=0x6]=_0x32c544(0x2b1),_0x2f4295[_0x2f4295['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2f4295))(j||{}),pe=(_0x37345e=>(_0x37345e[_0x37345e[_0x32c544(0x38e)]=0x0]='UNKNOWN_CODE',_0x37345e[_0x37345e['OK']=0x1]='OK',_0x37345e[_0x37345e[_0x32c544(0x474)]=0x2]=_0x32c544(0x474),_0x37345e[_0x37345e[_0x32c544(0x44f)]=0x3e9]='JOIN_ROOM_FULL',_0x37345e[_0x37345e[_0x32c544(0x403)]=0x3ea]=_0x32c544(0x403),_0x37345e[_0x37345e[_0x32c544(0x4f3)]=0x3eb]=_0x32c544(0x4f3),_0x37345e[_0x37345e[_0x32c544(0x293)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x37345e[_0x37345e[_0x32c544(0x2ba)]=-0x1]=_0x32c544(0x2ba),_0x37345e))(pe||{}),pi=(_0x330c6c=>(_0x330c6c[_0x330c6c['Undefined']=0x0]=_0x32c544(0x36e),_0x330c6c[_0x330c6c[_0x32c544(0x49f)]=0x1]=_0x32c544(0x49f),_0x330c6c[_0x330c6c[_0x32c544(0x40c)]=0x2]=_0x32c544(0x40c),_0x330c6c[_0x330c6c[_0x32c544(0x4d5)]=0x3]=_0x32c544(0x4d5),_0x330c6c[_0x330c6c['UnitSnapshot']=0x4]='UnitSnapshot',_0x330c6c[_0x330c6c[_0x32c544(0x433)]=0x5]=_0x32c544(0x433),_0x330c6c[_0x330c6c['ClipsheetFragments']=0x6]=_0x32c544(0x324),_0x330c6c[_0x330c6c['UNRECOGNIZED']=-0x1]=_0x32c544(0x2ba),_0x330c6c))(pi||{});const Cs=_0x32c544(0x2d7);function Ns(_0x5b5999){var _0x3686be=_0x32c544;return JSON[_0x3686be(0x342)](_0x5b5999)[_0x3686be(0x4c3)];}var re=(_0x5f0640=>(_0x5f0640[_0x32c544(0x4af)]=_0x32c544(0x4af),_0x5f0640[_0x32c544(0x41a)]='PERMISSION_DENIED',_0x5f0640['CONFLICT']='CONFLICT',_0x5f0640[_0x32c544(0x1f3)]=_0x32c544(0x1f3),_0x5f0640[_0x32c544(0x2e1)]=_0x32c544(0x2e1),_0x5f0640[_0x32c544(0x34c)]=_0x32c544(0x34c),_0x5f0640[_0x32c544(0x394)]=_0x32c544(0x394),_0x5f0640['SUBMIT_CHANGESET_TIMEOUT']=_0x32c544(0x3a4),_0x5f0640))(re||{});class ve{constructor(){var _0x5a5068=_0x32c544;D(this,_0x5a5068(0x29a),new _0x2cbd13()),D(this,_0x5a5068(0x2a1),this[_0x5a5068(0x29a)]['asObservable']());}[_0x32c544(0x45a)](_0x447bf3){var _0x586b17=_0x32c544;this[_0x586b17(0x29a)][_0x586b17(0x2b4)](_0x447bf3);}}class Ei{constructor(){var _0x697597=_0x32c544;D(this,_0x697597(0x354),new _0x2cbd13()),D(this,_0x697597(0x1e6),this[_0x697597(0x354)][_0x697597(0x36f)]());}[_0x32c544(0x289)](_0x327335){var _0x52b462=_0x32c544;this[_0x52b462(0x354)][_0x52b462(0x2b4)](_0x327335);}}var bs=Object[_0x32c544(0x45c)],Ds=(_0x3c8882,_0x7c323f,_0x1b654e,_0x3e0b3e)=>{var _0x2198ef=_0x32c544;for(var _0x397376=_0x3e0b3e>0x1?void 0x0:_0x3e0b3e?bs(_0x7c323f,_0x1b654e):_0x7c323f,_0xcf39a8=_0x3c8882[_0x2198ef(0x4c3)]-0x1,_0x48d706;_0xcf39a8>=0x0;_0xcf39a8--)(_0x48d706=_0x3c8882[_0xcf39a8])&&(_0x397376=_0x48d706(_0x397376)||_0x397376);return _0x397376;},Ft=(_0x241495,_0x2a4193)=>(_0xe47cdb,_0x1a5d81)=>_0x2a4193(_0xe47cdb,_0x1a5d81,_0x241495);let Pe=class extends _0x25f6f3{constructor(_0x305c07,_0x46d4df){var _0x47a2b8=_0x32c544;super(),D(this,_0x47a2b8(0x4a4),new Map()),D(this,'_roomCreated$',new _0x2cbd13()),(this[_0x47a2b8(0x2a6)]=_0x305c07,this[_0x47a2b8(0x1e2)]=_0x46d4df,this[_0x47a2b8(0x302)](_0x578f19(this[_0x47a2b8(0x2a6)][_0x47a2b8(0x4de)](_0x2d1a18[_0x47a2b8(0x49e)])['pipe'](_0xcc690c(_0x131044=>_0x131044[_0x47a2b8(0x499)]())),this[_0x47a2b8(0x2a6)]['getTypeOfUnitDisposed$'](_0x2d1a18['UNIVER_DOC'])[_0x47a2b8(0x38a)](_0xcc690c(_0x8d9f85=>_0x8d9f85['getUnitId']())),this[_0x47a2b8(0x2a6)][_0x47a2b8(0x4de)](_0x2d1a18[_0x47a2b8(0x284)])[_0x47a2b8(0x38a)](_0xcc690c(_0x2813b9=>_0x2813b9[_0x47a2b8(0x499)]())))[_0x47a2b8(0x45f)](_0x55a361=>this['_removeRoom'](_0x55a361))));}['waitForRoom$'](_0x54056b){var _0x4572f6=_0x32c544;return this['_roomMembers']['has'](_0x54056b)?_0xeb2a1b(this['_roomMembers'][_0x4572f6(0x1f2)](_0x54056b)):this[_0x4572f6(0x2cb)][_0x4572f6(0x38a)](_0xcc690c(_0x5837e7=>{var _0x13bedf=_0x4572f6;if(_0x5837e7===_0x54056b)return this['_roomMembers'][_0x13bedf(0x1f2)](_0x5837e7);}));}[_0x32c544(0x40b)](_0x4646b1){var _0x44c786=_0x32c544;this[_0x44c786(0x1e2)][_0x44c786(0x40b)](_0x4646b1);}['getCurrentUser'](){var _0x59883a=_0x32c544;return this[_0x59883a(0x1e2)][_0x59883a(0x41c)]();}['updateMember'](_0x129350,_0xabe180){var _0x3f9dac=_0x32c544;let _0x53fd21=this['_roomMembers']['get'](_0x129350);_0x53fd21||(_0x53fd21=new ys(),this[_0x3f9dac(0x4a4)][_0x3f9dac(0x4fa)](_0x129350,_0x53fd21),this[_0x3f9dac(0x2cb)][_0x3f9dac(0x2b4)](_0x129350)),_0x53fd21[_0x3f9dac(0x443)](_0xabe180);}[_0x32c544(0x441)](_0x2af55b,_0x128f57){var _0x27c52a=_0x32c544;const _0x354f32=this[_0x27c52a(0x4a4)][_0x27c52a(0x1f2)](_0x2af55b);_0x354f32&&_0x354f32[_0x27c52a(0x441)](_0x128f57);}[_0x32c544(0x375)](_0x4092b6){var _0x3340b0=_0x32c544;return this[_0x3340b0(0x4a4)][_0x3340b0(0x1f2)](_0x4092b6);}['getMember'](_0x4e84be,_0x253d50){var _0x3d4103=_0x32c544;const _0x3ccf35=this[_0x3d4103(0x4a4)][_0x3d4103(0x1f2)](_0x4e84be);if(_0x3ccf35)return _0x3ccf35[_0x3d4103(0x392)](_0x253d50);}[_0x32c544(0x4a0)](_0x451ed8){var _0x431183=_0x32c544;const _0x317d18=this[_0x431183(0x4a4)]['get'](_0x451ed8);_0x317d18&&(_0x317d18['dispose'](),this[_0x431183(0x4a4)][_0x431183(0x47d)](_0x451ed8));}['dispose'](){var _0x4a1876=_0x32c544;this[_0x4a1876(0x4a4)]['forEach'](_0x2fbb40=>_0x2fbb40[_0x4a1876(0x43d)]()),this[_0x4a1876(0x4a4)]['clear'](),this[_0x4a1876(0x2cb)][_0x4a1876(0x476)]();}};Pe=Ds([Ft(0x0,_0x9806b3),Ft(0x1,_0x2fdf6c(_0x561325))],Pe);class ys extends _0x25f6f3{constructor(){var _0x3b3b23=_0x32c544;super(...arguments),D(this,_0x3b3b23(0x3e8),new Map()),D(this,'_members$',new _0x21dfaa(this['_members'])),D(this,_0x3b3b23(0x230),this[_0x3b3b23(0x393)][_0x3b3b23(0x36f)]());}[_0x32c544(0x43d)](){var _0x366f9c=_0x32c544;this['_members'][_0x366f9c(0x4f2)]();}[_0x32c544(0x443)](_0x42c065){var _0x28135c=_0x32c544;this['_members'][_0x28135c(0x4fa)](_0x42c065[_0x28135c(0x276)],_0x42c065),this[_0x28135c(0x2e6)]();}[_0x32c544(0x441)](_0x2b8717){var _0x19cbc5=_0x32c544;this[_0x19cbc5(0x3e8)][_0x19cbc5(0x47d)](_0x2b8717);}[_0x32c544(0x392)](_0x523999){var _0x38f395=_0x32c544;return this['_members'][_0x38f395(0x1f2)](_0x523999);}['getAllMembers'](){var _0x2b392b=_0x32c544;return Array[_0x2b392b(0x32e)](this['_members'][_0x2b392b(0x254)]());}[_0x32c544(0x2e6)](){var _0x5ca12e=_0x32c544;this[_0x5ca12e(0x393)][_0x5ca12e(0x2b4)](this[_0x5ca12e(0x3e8)]);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x56a1d8,_0xac7261,_0xe3235a,_0x52bed1)=>{for(var _0x20feb=_0x52bed1>0x1?void 0x0:_0x52bed1?Us(_0xac7261,_0xe3235a):_0xac7261,_0x2b59c5=_0x56a1d8['length']-0x1,_0x4590f9;_0x2b59c5>=0x0;_0x2b59c5--)(_0x4590f9=_0x56a1d8[_0x2b59c5])&&(_0x20feb=_0x4590f9(_0x20feb)||_0x20feb);return _0x20feb;},Oe=(_0x5e699d,_0x5e3083)=>(_0x7ff156,_0x3823b5)=>_0x5e3083(_0x7ff156,_0x3823b5,_0x5e699d),me=(_0x37b593=>(_0x37b593[_0x37b593[_0x32c544(0x252)]=0x0]=_0x32c544(0x252),_0x37b593[_0x37b593[_0x32c544(0x46d)]=0x1]=_0x32c544(0x46d),_0x37b593[_0x37b593['OFFLINE']=0x2]=_0x32c544(0x3b2),_0x37b593[_0x37b593[_0x32c544(0x447)]=0x3]='ONLINE',_0x37b593))(me||{});const jt={[pe[_0x32c544(0x474)]]:_0x32c544(0x3ed),[pe[_0x32c544(0x44f)]]:_0x32c544(0x205),[pe[_0x32c544(0x403)]]:_0x32c544(0x4c2),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x32c544(0x41d),[pe[_0x32c544(0x293)]]:_0x32c544(0x426)};let mt=class extends _0x5b4d54{constructor(_0x48f564,_0x1ae1cf,_0x4a73c0,_0x2ff150,_0x3baff8,_0xc12056,_0x501f1f,_0x3b1929){var _0x2a5784=_0x32c544;super(),D(this,_0x2a5784(0x2e4),new _0x21dfaa(0x0)),D(this,_0x2a5784(0x204),this[_0x2a5784(0x2e4)][_0x2a5784(0x36f)]()),D(this,_0x2a5784(0x29a),new _0x2cbd13()),D(this,_0x2a5784(0x2a1),this[_0x2a5784(0x29a)][_0x2a5784(0x36f)]()),D(this,_0x2a5784(0x3bb)),D(this,_0x2a5784(0x346)),D(this,_0x2a5784(0x4bf)),D(this,_0x2a5784(0x21c),!0x1),D(this,'_telemetryInfo',null),(this[_0x2a5784(0x2cf)]=_0x48f564,this['_logService']=_0x4a73c0,this[_0x2a5784(0x24d)]=_0x2ff150,this[_0x2a5784(0x253)]=_0x3baff8,this[_0x2a5784(0x296)]=_0xc12056,this['_collaborationUIEventService']=_0x501f1f,this[_0x2a5784(0x2c6)]=_0x3b1929,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x1ae1cf[_0x2a5784(0x38a)](_0x303211(this[_0x2a5784(0x4e6)]))['subscribe'](_0x450906=>{var _0x2a6ec2=_0x2a5784,_0x58bc94;typeof _0x450906>'u'||(this[_0x2a6ec2(0x3bb)]=_0x450906,_0x450906?(this['_joinRoom'](_0x450906),this[_0x2a6ec2(0x346)]=_0x450906['message$'][_0x2a6ec2(0x45f)](_0x9c093b=>{var _0x528952=_0x2a6ec2;_0x9c093b[_0x528952(0x292)]===this[_0x528952(0x2cf)]&&this['_onCombEvent'](_0x9c093b);})):(this[_0x2a6ec2(0x40f)](),this[_0x2a6ec2(0x2e4)][_0x2a6ec2(0x2b4)](0x2),(_0x58bc94=this['_socketMessageSubscription'])==null||_0x58bc94['unsubscribe'](),this[_0x2a6ec2(0x346)]=null));}));}get[_0x32c544(0x3dc)](){var _0x499b22=_0x32c544;return this[_0x499b22(0x2e4)]['getValue']();}[_0x32c544(0x410)](){var _0x1bf799=_0x32c544,_0x7830b,_0x2aa6d4;return(_0x2aa6d4=(_0x7830b=this[_0x1bf799(0x3bb)])==null?void 0x0:_0x7830b['memberID'])!=null?_0x2aa6d4:null;}[_0x32c544(0x43d)](){var _0x777f2a=_0x32c544;super[_0x777f2a(0x43d)](),this[_0x777f2a(0x4e6)]['next'](),this[_0x777f2a(0x4e6)]['complete']();}[_0x32c544(0x4b8)](){var _0x30e15c=_0x32c544,_0x49382c,_0x4f56e9;this[_0x30e15c(0x40f)](),(_0x49382c=this[_0x30e15c(0x3bb)])==null||_0x49382c[_0x30e15c(0x3ef)]({'cmd':j['LEAVE'],'data':{'roomID':this[_0x30e15c(0x2cf)]}}),(_0x4f56e9=this[_0x30e15c(0x3bb)])==null||_0x4f56e9[_0x30e15c(0x4b8)](),this[_0x30e15c(0x29a)][_0x30e15c(0x476)](),this['_sessionStatus$']['complete'](),this[_0x30e15c(0x43d)]();}[_0x32c544(0x3d2)](_0x5760f5){var _0x1e26f7=_0x32c544;_0x5760f5[_0x1e26f7(0x2c8)]===j['JOIN']?this[_0x1e26f7(0x3f7)](_0x5760f5):_0x5760f5[_0x1e26f7(0x2c8)]===j[_0x1e26f7(0x2b1)]&&this[_0x1e26f7(0x42a)](_0x5760f5);}['_joinRoom'](_0x1b4a61){var _0x2358e5=_0x32c544;this[_0x2358e5(0x2e4)]['next'](0x1),_0x1b4a61[_0x2358e5(0x3ef)]({'cmd':j['JOIN'],'routeKey':this[_0x2358e5(0x2cf)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x32c544(0x3f7)](_0x58df64){var _0x3a196c=_0x32c544,_0x392ea2;if(_0x58df64[_0x3a196c(0x4a1)]in jt){this[_0x3a196c(0x452)][_0x3a196c(0x45a)]({'id':re[_0x3a196c(0x2e1)],'data':jt[_0x58df64[_0x3a196c(0x4a1)]]}),this[_0x3a196c(0x2e4)][_0x3a196c(0x2b4)](0x2);return;}this[_0x3a196c(0x2e4)][_0x3a196c(0x2b4)](0x3);const _0x2b102c=(_0x392ea2=_0x58df64[_0x3a196c(0x4ba)][_0x3a196c(0x257)][this[_0x3a196c(0x2cf)]])==null?void 0x0:_0x392ea2[_0x3a196c(0x463)];_0x2b102c&&_0x2b102c['forEach'](_0x1a786d=>this[_0x3a196c(0x253)][_0x3a196c(0x443)](this[_0x3a196c(0x2cf)],_0x1a786d));}[_0x32c544(0x42a)](_0x58cc8d){var _0x57a912=_0x32c544;try{const _0x149270=_0x58cc8d['data'];switch(_0x149270[_0x57a912(0x4bc)]){case _0x74d8b5[_0x57a912(0x3cd)]:this[_0x57a912(0x3f1)](_0x149270),this[_0x57a912(0x29a)][_0x57a912(0x2b4)](_0x149270);break;case _0x74d8b5[_0x57a912(0x278)]:this['_onUserLeave'](_0x149270),this[_0x57a912(0x29a)][_0x57a912(0x2b4)](_0x149270);break;case _0x74d8b5['CHANGESET_ACK']:case _0x74d8b5[_0x57a912(0x468)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x57a912(0x424)](),this[_0x57a912(0x29a)][_0x57a912(0x2b4)](_0x149270);break;case _0x74d8b5[_0x57a912(0x36d)]:this[_0x57a912(0x419)][_0x57a912(0x333)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x57a912(0x342)](_0x149270)),this[_0x57a912(0x29a)][_0x57a912(0x2b4)](_0x149270);break;case _0x74d8b5[_0x57a912(0x2a0)]:this[_0x57a912(0x296)][_0x57a912(0x289)](_0x149270[_0x57a912(0x4ba)]),this[_0x57a912(0x29a)][_0x57a912(0x2b4)](_0x149270);break;default:this[_0x57a912(0x29a)]['next'](_0x149270);}}catch(_0x2c7969){this[_0x57a912(0x419)][_0x57a912(0x333)](_0x2c7969,_0x58cc8d);}}[_0x32c544(0x3f1)](_0x2bd788){var _0xbeb89d=_0x32c544;this[_0xbeb89d(0x253)][_0xbeb89d(0x443)](this[_0xbeb89d(0x2cf)],_0x2bd788['data']);}[_0x32c544(0x207)](_0x19dc39){var _0x3962a6=_0x32c544;this['_memberService']['removeMember'](this[_0x3962a6(0x2cf)],_0x19dc39[_0x3962a6(0x4ba)][_0x3962a6(0x276)]);}async[_0x32c544(0x3ef)](_0xac1879,_0x5ea5d4){var _0xa9ac78=_0x32c544;if(this['sessionStatus']!==0x3||!this[_0xa9ac78(0x3bb)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xac1879['eventID']===_0x74d8b5[_0xa9ac78(0x303)]&&(this[_0xa9ac78(0x473)](),this[_0xa9ac78(0x497)](_0xac1879)),this[_0xa9ac78(0x3bb)][_0xa9ac78(0x3ef)]({'cmd':j[_0xa9ac78(0x4f5)],'routeKey':_0x5ea5d4,'routeType':'','data':_0xac1879});}catch(_0x4258c8){this[_0xa9ac78(0x419)][_0xa9ac78(0x333)](_0x4258c8);}}['_scheduleCollaborationTimeoutTimer'](){var _0x3fb921=_0x32c544,_0x1d8fc8;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x2763b3=_0x4b66;this[_0x2763b3(0x4bf)]=null,this[_0x2763b3(0x452)][_0x2763b3(0x45a)]({'id':re[_0x2763b3(0x3a4)]});},(_0x1d8fc8=this[_0x3fb921(0x24d)][_0x3fb921(0x38b)](di))!=null?_0x1d8fc8:fi);}[_0x32c544(0x424)](){var _0x18f936=_0x32c544;this[_0x18f936(0x4bf)]&&(clearTimeout(this[_0x18f936(0x4bf)]),this[_0x18f936(0x4bf)]=null);}[_0x32c544(0x497)](_0x2ff8ec){var _0x9a000=_0x32c544;if(!this['_shouldReportTelemetry'])return;const {data:_0x3706f1}=_0x2ff8ec,{unitID:_0x327fb9,changeset:_0x5bb47c}=_0x3706f1,{mutations:_0x1ead9a,type:_0x3bf384}=_0x5bb47c;this[_0x9a000(0x232)]={'unitId':_0x327fb9,'type':_0x3bf384,'startTime':performance[_0x9a000(0x264)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x1ead9a)};}[_0x32c544(0x4dc)](){var _0x523fdd=_0x32c544;if(this[_0x523fdd(0x21c)]){if(!this[_0x523fdd(0x232)]){this[_0x523fdd(0x419)][_0x523fdd(0x333)](_0x523fdd(0x4b9),_0x523fdd(0x334));return;}this[_0x523fdd(0x232)]['stopTime']=performance[_0x523fdd(0x264)](),this[_0x523fdd(0x232)]['duration']=this['_telemetryInfo']['stopTime']-this[_0x523fdd(0x232)]['startTime'],this[_0x523fdd(0x2c6)][_0x523fdd(0x41b)](Cs,this[_0x523fdd(0x232)]),this[_0x523fdd(0x232)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};mt=As([Oe(0x2,_0x22fe2d),Oe(0x3,_0x4edaf7),Oe(0x4,_0x2fdf6c(Pe)),Oe(0x5,_0x2fdf6c(Ei)),Oe(0x6,_0x2fdf6c(ve)),Oe(0x7,_0x708160(_0x8db98f))],mt);const J=_0x81cc29(_0x32c544(0x374));function Cr(_0x12d6b0){var _0x1ae9f4=_0x32c544;return _0x1ae9f4(0x4df)+_0x12d6b0;}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0x57d770,_0x23cd6e,_0x4240b6,_0x371482)=>{for(var _0xca3ce9=_0x371482>0x1?void 0x0:_0x371482?Ps(_0x23cd6e,_0x4240b6):_0x23cd6e,_0xf174ae=_0x57d770['length']-0x1,_0x5ddce0;_0xf174ae>=0x0;_0xf174ae--)(_0x5ddce0=_0x57d770[_0xf174ae])&&(_0xca3ce9=_0x5ddce0(_0xca3ce9)||_0xca3ce9);return _0xca3ce9;},ut=(_0x122f1d,_0x2fd628)=>(_0x3b3c30,_0x330e08)=>_0x2fd628(_0x3b3c30,_0x330e08,_0x122f1d);function Ms(_0x6e1d2a){var _0x214614=_0x32c544;const {unitID:_0x5c56ec,mutations:_0x4ea586}=_0x6e1d2a;return{'unitId':_0x5c56ec,'subUnitId':_0x4ea586[_0x214614(0x4c3)]>0x0?_0x4ea586[0x0]['params'][_0x214614(0x4ef)]:null};}let it=class{constructor(_0x354ffa,_0x301ab8,_0x397100){var _0x911a4=_0x32c544;this[_0x911a4(0x4d3)]=_0x354ffa,this[_0x911a4(0x2de)]=_0x301ab8,this[_0x911a4(0x484)]=_0x397100;}[_0x32c544(0x3e3)](_0x3e0d5b){var _0x390dc4=_0x32c544,_0x1cdb60,_0x1691e1,_0x523e3c,_0x263dbc;const _0x19bef7=this[_0x390dc4(0x4d3)][_0x390dc4(0x1f2)](_0x3e85f2),{unitId:_0x3133ea,subUnitId:_0x1e6023}=Ms(_0x3e0d5b),_0x481f4f=_0x19bef7==null?void 0x0:_0x19bef7[_0x390dc4(0x239)](_0x3133ea)['getCurrentSelections'](),_0x436d12=(_0x1691e1=(_0x1cdb60=this[_0x390dc4(0x484)][_0x390dc4(0x266)](_0x3133ea))==null?void 0x0:_0x1cdb60[_0x390dc4(0x2fb)]())==null?void 0x0:_0x1691e1[_0x390dc4(0x35c)]();if(_0x481f4f[_0x390dc4(0x4c3)]===0x0||!_0x3133ea||!_0x1e6023)return;const _0x2088ea=[{'id':_0x58aff3['id'],'params':{'unitId':_0x3133ea,'subUnitId':_0x436d12,'selections':_0x58daa3['deepClone'](_0x481f4f)}}],_0x45b818=this[_0x390dc4(0x2de)]['transformMutationsWithChangeset'](_0x3e0d5b,_0x2088ea);if(!_0x252020(_0x45b818))throw _0x45b818['error'];const _0x47dc45=(_0x263dbc=(_0x523e3c=_0x45b818[_0x390dc4(0x231)][0x0])==null?void 0x0:_0x523e3c['params'])==null?void 0x0:_0x263dbc[_0x390dc4(0x47b)];if(Array[_0x390dc4(0x4d9)](_0x47dc45)&&_0x47dc45[_0x390dc4(0x4c3)]){if(_0x47dc45['length']===_0x2088ea[0x0][_0x390dc4(0x21d)][_0x390dc4(0x47b)][_0x390dc4(0x4c3)]&&_0x47dc45[_0x390dc4(0x432)]((_0x52bd94,_0x15f113)=>_0x1fbc8[_0x390dc4(0x487)](_0x52bd94['range'],_0x2088ea[0x0][_0x390dc4(0x21d)][_0x390dc4(0x47b)][_0x15f113][_0x390dc4(0x4e0)])))return;this[_0x390dc4(0x4d3)][_0x390dc4(0x1f2)](_0x4f799e)['executeCommand'](_0x58aff3['id'],{'unitId':_0x3133ea,'subUnitId':_0x436d12,'selections':_0x47dc45});}}};it=ws([ut(0x0,_0x2fdf6c(_0x370bdb)),ut(0x1,_0x3fc840),ut(0x2,_0x9806b3)],it);const _t=_0x81cc29(_0x32c544(0x440));var mi=(_0x5242a2=>(_0x5242a2[_0x5242a2[_0x32c544(0x4b3)]=0x0]=_0x32c544(0x4b3),_0x5242a2[_0x5242a2[_0x32c544(0x33e)]=0x1]=_0x32c544(0x33e),_0x5242a2))(mi||{});const K='collaboration-client.config',Ls={},xs=new Set([_0x4073ce['id']]);function Vt(_0x55e07a,_0x1190c8,_0x7e1c56,_0x461a9b,_0x56a621){var _0x5814c4=_0x32c544,_0xb3a7eb,_0x4ee506,_0x5a76c1,_0x3fa9d5;const _0x266bef=[];for(const _0x3c6b87 of _0x55e07a)if(xs['has'](_0x3c6b87['id'])){if(_0x266bef[_0x5814c4(0x4c3)]>0x0)break;_0x266bef[_0x5814c4(0x438)](_0x3c6b87);break;}else _0x266bef[_0x5814c4(0x438)](_0x3c6b87);const _0x911585=(_0x4ee506=(_0xb3a7eb=_0x56a621[_0x5814c4(0x41c)]())==null?void 0x0:_0xb3a7eb[_0x5814c4(0x3a5)])!=null?_0x4ee506:_0x5814c4(0x4ee),_0x461ccd=(_0x3fa9d5=(_0x5a76c1=_0x56a621[_0x5814c4(0x41c)]())==null?void 0x0:_0x5a76c1['memberID'])!=null?_0x3fa9d5:_0x5814c4(0x4ee);return{'changeset':{'unitID':_0x1190c8,'type':_0x3ab56e(_0x7e1c56[_0x5814c4(0x4e9)](_0x1190c8)),'baseRev':_0x461a9b[_0x5814c4(0x416)](_0x1190c8),'revision':0x0,'userID':_0x911585,'memberID':_0x461ccd,'mutations':_0x266bef},'pendingMutations':_0x55e07a[_0x5814c4(0x3de)](_0x266bef[_0x5814c4(0x4c3)])};}function $s(_0x2cb9b6,_0x166dfb,_0x5bccb4,_0x3d2a52,_0x1baec2){var _0xd2b96b=_0x32c544,_0x469449,_0x4da088,_0x437f73,_0x4ffecb;const _0x12515a=[_0x2cb9b6[_0xd2b96b(0x493)]((_0x4d49b6,_0x45f0a4)=>{var _0xa8a718=_0xd2b96b,_0x4c155f;const {id:_0x4edc03}=_0x4d49b6,{id:_0xfe3125,type:_0x25c35d}=_0x45f0a4,_0x5f4da1=(_0x4c155f=_0x4d49b6[_0xa8a718(0x21d)])!=null?_0x4c155f:{'actions':null},_0x46213a=_0x45f0a4[_0xa8a718(0x21d)];if(_0x4edc03&&_0x4edc03!==_0xfe3125)throw new Error(_0xa8a718(0x398)+_0x4edc03+_0xa8a718(0x2a7)+_0xfe3125+'.');return{..._0x4d49b6,'id':_0xfe3125,'type':_0x25c35d,'params':{'unitId':_0x46213a['unitId'],'textRanges':_0x46213a[_0xa8a718(0x32a)],'actions':_0x4da358[_0xa8a718(0x247)](_0x5f4da1[_0xa8a718(0x4e4)],_0x46213a[_0xa8a718(0x4e4)])}};},{})],_0x25d738=(_0x4da088=(_0x469449=_0x1baec2[_0xd2b96b(0x41c)]())==null?void 0x0:_0x469449[_0xd2b96b(0x3a5)])!=null?_0x4da088:'unknown',_0x109506=(_0x4ffecb=(_0x437f73=_0x1baec2[_0xd2b96b(0x41c)]())==null?void 0x0:_0x437f73['memberID'])!=null?_0x4ffecb:_0xd2b96b(0x4ee);return{'changeset':{'unitID':_0x166dfb,'type':_0x3ab56e(_0x5bccb4[_0xd2b96b(0x4e9)](_0x166dfb)),'baseRev':_0x3d2a52[_0xd2b96b(0x416)](_0x166dfb),'revision':0x0,'userID':_0x25d738,'memberID':_0x109506,'mutations':_0x12515a},'pendingMutations':[]};}function Ii(_0x5ccee4,_0x56c7e6){var _0x5d843f=_0x32c544;const _0x3be34f=new _0xb49bf3(0x1);return setTimeout(()=>_0x3be34f[_0x5d843f(0x2b4)](_0x56c7e6),_0x5ccee4),_0x3be34f[_0x5d843f(0x36f)]()[_0x5d843f(0x38a)](_0x1b1fcf(0x1));}var ks=Object['getOwnPropertyDescriptor'],Se=(_0x292481,_0x3884a5,_0x6daecd,_0x3ef2f9)=>{for(var _0x2b87d3=_0x3ef2f9>0x1?void 0x0:_0x3ef2f9?ks(_0x3884a5,_0x6daecd):_0x3884a5,_0x4c55ca=_0x292481['length']-0x1,_0x3d5a8f;_0x4c55ca>=0x0;_0x4c55ca--)(_0x3d5a8f=_0x292481[_0x4c55ca])&&(_0x2b87d3=_0x3d5a8f(_0x2b87d3)||_0x2b87d3);return _0x2b87d3;},w=(_0x252bea,_0x41fdb2)=>(_0x201eaf,_0x58084a)=>_0x41fdb2(_0x201eaf,_0x58084a,_0x252bea),Si=(_0x114f21=>(_0x114f21[_0x32c544(0x4e2)]=_0x32c544(0x291),_0x114f21[_0x32c544(0x248)]=_0x32c544(0x505),_0x114f21[_0x32c544(0x338)]=_0x32c544(0x449),_0x114f21[_0x32c544(0x4ad)]=_0x32c544(0x36c),_0x114f21[_0x32c544(0x3e4)]='awaiting_with_pending',_0x114f21[_0x32c544(0x48d)]='fetch_missing',_0x114f21['CONFLICT']=_0x32c544(0x4c5),_0x114f21[_0x32c544(0x3b2)]=_0x32c544(0x3c7),_0x114f21))(Si||{});const gi=0xea60;class ge{constructor(_0x425064,_0x53e6f8,_0x388543,_0x3f6eef,_0x14b2b8,_0x4fb30d,_0x18daca,_0x502540,_0x30fcf9){var _0x487e43=_0x32c544;D(this,_0x487e43(0x46e),null),D(this,_0x487e43(0x3b0),[]),(this[_0x487e43(0x29f)]=_0x425064,this[_0x487e43(0x400)]=_0x53e6f8,this[_0x487e43(0x460)]=_0x14b2b8,this[_0x487e43(0x24a)]=_0x4fb30d,this['_undoRedoService']=_0x18daca,this[_0x487e43(0x442)]=_0x502540,this[_0x487e43(0x29c)]=_0x30fcf9,this[_0x487e43(0x46e)]=_0x388543,this[_0x487e43(0x3b0)]=_0x3f6eef);}[_0x32c544(0x34e)](_0x4c57c5){var _0x18ff98=_0x32c544;const _0x55cb3f=this['_revisionService'][_0x18ff98(0x416)](this[_0x18ff98(0x29f)]);return _0x4c57c5[_0x18ff98(0x22f)]>_0x55cb3f+0x1?(this[_0x18ff98(0x460)][_0x18ff98(0x2b8)]({'from':_0x55cb3f,'to':_0x4c57c5[_0x18ff98(0x22f)]-0x1}),!0x0):!0x1;}[_0x32c544(0x237)](_0x481972){var _0x4b49e2=_0x32c544;this[_0x4b49e2(0x48f)][_0x4b49e2(0x4f1)](this[_0x4b49e2(0x29f)],_0x481972);}[_0x32c544(0x4ca)](_0x1f6f31){var _0x424833=_0x32c544,_0x17a963,_0x2fe545;(_0x2fe545=(_0x17a963=this[_0x424833(0x460)])[_0x424833(0x201)])==null||_0x2fe545[_0x424833(0x446)](_0x17a963,_0x1f6f31);}['_transformIMECache'](_0x3568cd){var _0x45925a=_0x32c544,_0x2cda5e,_0x4dab3e;return(_0x4dab3e=(_0x2cda5e=this[_0x45925a(0x460)])['onTransformIME'])==null?void 0x0:_0x4dab3e[_0x45925a(0x446)](_0x2cda5e,_0x3568cd);}[_0x32c544(0x4d7)](_0x6145fe){var _0x2ab7f3=_0x32c544,_0x2f1138,_0x240313;return(_0x240313=(_0x2f1138=this[_0x2ab7f3(0x460)])[_0x2ab7f3(0x420)])==null?void 0x0:_0x240313['call'](_0x2f1138,_0x6145fe);}[_0x32c544(0x4c0)](_0x56ed1d){var _0x52e95e=_0x32c544,_0xb49894,_0x33462c,_0x4bf9ab;return(_0x4bf9ab=(_0x33462c=(_0xb49894=this['_handler'])[_0x52e95e(0x4ff)])==null?void 0x0:_0x33462c[_0x52e95e(0x446)](_0xb49894,_0x56ed1d))!=null?_0x4bf9ab:_0x56ed1d;}[_0x32c544(0x4d1)](_0x18b51f){var _0x1a558f=_0x32c544,_0x529592,_0xc2d72,_0x52b4a6;return(_0x52b4a6=(_0xc2d72=(_0x529592=this[_0x1a558f(0x460)])[_0x1a558f(0x3a9)])==null?void 0x0:_0xc2d72[_0x1a558f(0x446)](_0x529592,_0x18b51f))!=null?_0x52b4a6:_0x18b51f;}[_0x32c544(0x384)](_0x3a76a5){var _0x2ff435=_0x32c544,_0x5f10a3,_0x2e8709;if(this[_0x2ff435(0x400)]===Q[_0x2ff435(0x357)]){const {unitID:_0x4fec92,mutations:_0x4d8098,memberID:_0x4698c1}=_0x3a76a5,_0x287fb1=_0x4d8098[_0x2ff435(0x4c3)]>0x0?_0x4d8098[0x0]['params']['textRanges']:[];Array['isArray'](_0x287fb1)&&_0x287fb1[_0x2ff435(0x4c3)]>0x0&&((_0x2e8709=(_0x5f10a3=this[_0x2ff435(0x460)])[_0x2ff435(0x2c4)])==null||_0x2e8709['call'](_0x5f10a3,{'unitID':_0x4fec92,'memberID':_0x4698c1,'textRanges':_0x287fb1}));}}['_updateLocalCache'](){var _0x6d8682=_0x32c544,_0xf54aa;(_0xf54aa=this[_0x6d8682(0x29c)])==null||_0xf54aa[_0x6d8682(0x3f9)](this[_0x6d8682(0x29f)],this[_0x6d8682(0x400)],this[_0x6d8682(0x46e)],this[_0x6d8682(0x3b0)]);}[_0x32c544(0x385)](){var _0xa8aa7e=_0x32c544;return this[_0xa8aa7e(0x442)]['getCurrentRevOfUnit'](this[_0xa8aa7e(0x29f)]);}[_0x32c544(0x280)](){var _0xd4a6eb=_0x32c544;this[_0xd4a6eb(0x442)][_0xd4a6eb(0x470)](this[_0xd4a6eb(0x29f)]);}['_executeRemoteChangeset'](_0x477528){var _0x2615b2=_0x32c544,_0x11afdd;let _0x4a5660=this[_0x2615b2(0x4c0)](_0x477528);_0x4a5660=this[_0x2615b2(0x4d1)](_0x4a5660);const _0x332e27=_0x258bda(_0x4a5660[_0x2615b2(0x2b9)],this[_0x2615b2(0x24a)],{'fromCollab':!0x0});if(!_0x332e27[_0x2615b2(0x20d)])throw _0x332e27[_0x2615b2(0x333)]instanceof Error?_0x332e27[_0x2615b2(0x333)]:new Error((_0x11afdd=_0x332e27[_0x2615b2(0x333)])!=null?_0x11afdd:_0x2615b2(0x37e));this['_transformIMECache'](_0x4a5660),this['_transformStateCache'](_0x4a5660),this[_0x2615b2(0x237)](_0x477528),this['_transformSelections'](_0x4a5660),this[_0x2615b2(0x384)](_0x4a5660),this['_incrementRevisionNumber']();}}let be=class extends ge{constructor(_0x57b320,_0x5c4bf3,_0x5ab67d,_0x383bee,_0x51c21e,_0x331f94,_0x15f4e6,_0xffa58e,_0x4d7aed,_0x5a9cc4){var _0x3d4fdd=_0x32c544;super(_0x57b320,_0x5c4bf3,null,[],_0x5ab67d,_0x15f4e6,_0x331f94,_0x383bee,_0x5a9cc4),D(this,_0x3d4fdd(0x3e7),_0x3d4fdd(0x505)),(this[_0x3d4fdd(0x4d3)]=_0x51c21e,this[_0x3d4fdd(0x419)]=_0xffa58e,this['_transformService']=_0x4d7aed,this['localCacheService']=_0x5a9cc4);}[_0x32c544(0x26b)](_0x22e61e){var _0x396b93=_0x32c544;const _0x33c204=this['_injector']['createInstance'](ae,this[_0x396b93(0x29f)],this[_0x396b93(0x400)],[_0x22e61e],this['_handler']);return _0x33c204[_0x396b93(0x2ec)](),_0x33c204[_0x396b93(0x30a)](),_0x33c204;}[_0x32c544(0x4e5)](_0x24bcc8){var _0x53ce94=_0x32c544;if(this['_checkMissing'](_0x24bcc8))return this[_0x53ce94(0x4d3)]['createInstance'](ee,this[_0x53ce94(0x29f)],this[_0x53ce94(0x400)],null,[],null,[_0x24bcc8],this[_0x53ce94(0x460)]);try{const _0x46a6bd=this[_0x53ce94(0x2de)][_0x53ce94(0x3db)](_0x24bcc8,[_0x412821]);if(_0x252020(_0x46a6bd)){const {c1Prime:_0x2e259c}=_0x46a6bd;return this[_0x53ce94(0x206)](_0x2e259c),this;}throw _0x46a6bd[_0x53ce94(0x333)];}catch(_0x613cd5){return this[_0x53ce94(0x419)][_0x53ce94(0x333)](_0x613cd5),this[_0x53ce94(0x376)](!0x1);}}[_0x32c544(0x376)](_0x471944){var _0x391b53=_0x32c544;return this[_0x391b53(0x4d3)][_0x391b53(0x4a2)](ue,this['unitID'],this[_0x391b53(0x400)],null,[],this[_0x391b53(0x460)],_0x471944);}[_0x32c544(0x275)](){var _0x5c034b=_0x32c544;throw new Error(_0x5c034b(0x35e));}[_0x32c544(0x27c)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x32c544(0x36b)](){return this;}[_0x32c544(0x2c7)](){var _0x507c81=_0x32c544;return this[_0x507c81(0x4d3)]['createInstance'](de,this[_0x507c81(0x29f)],this[_0x507c81(0x400)],null,[],this[_0x507c81(0x460)]);}[_0x32c544(0x422)](){return this;}[_0x32c544(0x3f8)](){var _0x165caa=_0x32c544;throw new Error(_0x165caa(0x3ba));}['fetchMiss'](){var _0x1260db=_0x32c544;const _0x41df37=this[_0x1260db(0x442)][_0x1260db(0x416)](this['unitID']);return this['_handler'][_0x1260db(0x2b8)]({'from':_0x41df37,'to':0x0}),this[_0x1260db(0x4d3)][_0x1260db(0x4a2)](ee,this[_0x1260db(0x29f)],this['type'],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x2fdf6c(_0x1ca512)),w(0x4,_0x2fdf6c(_0x370bdb)),w(0x5,_0x29536b),w(0x6,_0x4f799e),w(0x7,_0x22fe2d),w(0x8,_0x3fc840),w(0x9,_0x708160(J))],be);let ae=class extends ge{constructor(_0x5b48ab,_0x124dd1,_0x15dbac,_0x4af664,_0x11b962,_0x31e42f,_0x1ed9fd,_0x1df58c,_0x420823,_0x47ed47,_0x1b972c,_0x53df82,_0x484d60,_0x38d886){var _0x11a678=_0x32c544;super(_0x5b48ab,_0x124dd1,null,_0x15dbac,_0x4af664,_0x420823,_0x484d60,_0x31e42f,_0x38d886),D(this,_0x11a678(0x3e7),_0x11a678(0x449)),D(this,_0x11a678(0x2c3),null),D(this,_0x11a678(0x25c),null),(this[_0x11a678(0x4d3)]=_0x11b962,this['_memberService']=_0x1ed9fd,this['_logService']=_0x1df58c,this['_configService']=_0x47ed47,this['_transformService']=_0x1b972c,this[_0x11a678(0x2a6)]=_0x53df82);}[_0x32c544(0x26b)](_0x32facf){var _0x1dfb2a=_0x32c544;return this['_pendingMutations'][_0x1dfb2a(0x438)](_0x32facf),this[_0x1dfb2a(0x30a)](),this;}['onRemoteChangeset'](_0x232856){var _0x492c4e=_0x32c544;if(this[_0x492c4e(0x34e)](_0x232856))return this['_clearScheduledTask'](),this[_0x492c4e(0x4d3)][_0x492c4e(0x4a2)](ee,this['unitID'],this[_0x492c4e(0x400)],null,this[_0x492c4e(0x3b0)],null,[_0x232856],this[_0x492c4e(0x460)]);try{const _0x64ad31=this['_transformService']['transformMutationsWithChangeset'](_0x232856,this['_pendingMutations']);if(_0x252020(_0x64ad31)){const {c1Prime:_0x1fbb1a,m2Prime:_0x2cd2d5}=_0x64ad31;this[_0x492c4e(0x206)](_0x1fbb1a);const _0x2d5e30=this[_0x492c4e(0x4d3)][_0x492c4e(0x4a2)](ae,this['unitID'],this['type'],_0x2cd2d5,this[_0x492c4e(0x460)]);this[_0x492c4e(0x2d4)]();const _0x388fa4=new Date()['getTime'](),_0x53e763=this['_scheduleCompleteTimestamp']?Math[_0x492c4e(0x408)](this['_scheduleCompleteTimestamp']-_0x388fa4,0x0):this[_0x492c4e(0x2c0)]();return _0x2d5e30['_schedule'](_0x53e763),_0x2d5e30;}throw _0x64ad31[_0x492c4e(0x333)];}catch(_0x1e5a71){return this[_0x492c4e(0x419)][_0x492c4e(0x333)](_0x1e5a71),this['_onConflict'](!0x1);}}[_0x32c544(0x275)](){var _0x2bebe0=_0x32c544;throw new Error(_0x2bebe0(0x209));}[_0x32c544(0x27c)](){var _0x3af4d5=_0x32c544;throw new Error(_0x3af4d5(0x412));}[_0x32c544(0x36b)](){return this;}[_0x32c544(0x2c7)](){var _0x145610=_0x32c544;return this[_0x145610(0x2d4)](),this[_0x145610(0x4d3)]['createInstance'](de,this['unitID'],this[_0x145610(0x400)],null,this['_pendingMutations'],this[_0x145610(0x460)]);}[_0x32c544(0x422)](){return this;}[_0x32c544(0x2ec)](_0x2ca8dc){var _0x2ee271=_0x32c544;const _0x41f101=_0x2ca8dc!=null?_0x2ca8dc:this[_0x2ee271(0x2c0)]();this['_scheduleCompleteTimestamp']=new Date()[_0x2ee271(0x203)]()+_0x41f101,this[_0x2ee271(0x25c)]=setTimeout(()=>{var _0xde02c7=_0x2ee271;this[_0xde02c7(0x2d4)]();let _0x515660=null;switch(this[_0xde02c7(0x400)]){case Q[_0xde02c7(0x49e)]:{_0x515660=Vt(this[_0xde02c7(0x3b0)],this[_0xde02c7(0x29f)],this[_0xde02c7(0x2a6)],this[_0xde02c7(0x442)],this[_0xde02c7(0x253)]);break;}case Q[_0xde02c7(0x357)]:{this['_pendingMutations'][_0xde02c7(0x432)](_0x698229=>_0x698229['id']===_0x52aeb2['id'])?_0x515660=$s(this[_0xde02c7(0x3b0)],this['unitID'],this[_0xde02c7(0x2a6)],this['_revisionService'],this[_0xde02c7(0x253)]):_0x515660=Vt(this[_0xde02c7(0x3b0)],this['unitID'],this[_0xde02c7(0x2a6)],this[_0xde02c7(0x442)],this['_memberService']);break;}default:throw new Error(_0xde02c7(0x2dc)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x3ea373,pendingMutations:_0x1db5a2}=_0x515660;this[_0xde02c7(0x460)]['onSendChangeset'](_0x3ea373);const _0x19c665=_0x1db5a2[_0xde02c7(0x4c3)]?this[_0xde02c7(0x4d3)][_0xde02c7(0x4a2)](oe,this[_0xde02c7(0x29f)],this[_0xde02c7(0x400)],_0x3ea373,_0x1db5a2,this[_0xde02c7(0x460)],void 0x0):this[_0xde02c7(0x4d3)][_0xde02c7(0x4a2)](le,this['unitID'],this[_0xde02c7(0x400)],_0x3ea373,this[_0xde02c7(0x460)]);_0x19c665[_0xde02c7(0x30a)](),this[_0xde02c7(0x460)][_0xde02c7(0x36a)](this,_0x19c665);},_0x41f101);}[_0x32c544(0x2c0)](){var _0x27831c=_0x32c544,_0x36d981;const _0x292432=this[_0x27831c(0x24d)][_0x27831c(0x38b)](K);return(_0x36d981=_0x292432==null?void 0x0:_0x292432[_0x27831c(0x42b)])!=null?_0x36d981:ps;}[_0x32c544(0x3f8)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x4f8988=_0x32c544;this[_0x4f8988(0x25c)]!=null&&(clearTimeout(this[_0x4f8988(0x25c)]),this['_sendingTimer']=null);}['_onConflict'](_0x447f3a){var _0x26176a=_0x32c544;return this[_0x26176a(0x2d4)](),this['_injector'][_0x26176a(0x4a2)](ue,this[_0x26176a(0x29f)],this[_0x26176a(0x400)],null,this[_0x26176a(0x3b0)],this[_0x26176a(0x460)],_0x447f3a);}};ae=Se([w(0x4,_0x2fdf6c(_0x370bdb)),w(0x5,_0x2fdf6c(_0x1ca512)),w(0x6,_0x2fdf6c(Pe)),w(0x7,_0x22fe2d),w(0x8,_0x4f799e),w(0x9,_0x4edaf7),w(0xa,_0x3fc840),w(0xb,_0x9806b3),w(0xc,_0x29536b),w(0xd,_0x708160(J))],ae);let le=class extends ge{constructor(_0x569437,_0x3961d5,_0x1f1bc5,_0x14ced3,_0x19d6f5,_0x3b10b2,_0x1d449b,_0x1871c6,_0xeee582,_0x2fe68c,_0x5c4a9c){var _0x82b0b4=_0x32c544;super(_0x569437,_0x3961d5,_0x1f1bc5,[],_0x14ced3,_0x1d449b,_0x2fe68c,_0x3b10b2,_0x5c4a9c),D(this,_0x82b0b4(0x3e7),_0x82b0b4(0x36c)),D(this,_0x82b0b4(0x2d3),0x0),D(this,_0x82b0b4(0x3a7)),D(this,'_sender'),(this[_0x82b0b4(0x4d3)]=_0x19d6f5,this[_0x82b0b4(0x419)]=_0x1871c6,this[_0x82b0b4(0x2de)]=_0xeee582);}[_0x32c544(0x26b)](_0xcd8170){var _0x598e56=_0x32c544;this[_0x598e56(0x2d4)]();const _0x37524b=this['_injector'][_0x598e56(0x4a2)](oe,this['unitID'],this[_0x598e56(0x400)],this[_0x598e56(0x46e)],[_0xcd8170],this[_0x598e56(0x460)],this[_0x598e56(0x3a7)]);return _0x37524b['_updateLocalCache'](),_0x37524b;}[_0x32c544(0x4e5)](_0x14cfb8){var _0x4187bd=_0x32c544;if(this[_0x4187bd(0x34e)](_0x14cfb8))return this[_0x4187bd(0x2d4)](),this[_0x4187bd(0x4d3)][_0x4187bd(0x4a2)](ee,this[_0x4187bd(0x29f)],this[_0x4187bd(0x400)],this[_0x4187bd(0x46e)],[],null,[_0x14cfb8],this[_0x4187bd(0x460)]);try{const _0x4b020c=this['_transformService'][_0x4187bd(0x44d)]([_0x14cfb8],[this[_0x4187bd(0x46e)]],!0x1);if(_0x221f7b(_0x4b020c)){const {c1Prime:_0x39013b,c2Prime:_0x1b9794}=_0x4b020c;this[_0x4187bd(0x206)](_0x39013b[0x0]),_0x1b9794[0x0][_0x4187bd(0x3d6)]=this['_getCurrentRevision'](),this[_0x4187bd(0x2d4)]();const _0x4a1990=this[_0x4187bd(0x4d3)]['createInstance'](le,this[_0x4187bd(0x29f)],this['type'],_0x1b9794[0x0],this[_0x4187bd(0x460)]);return _0x4a1990[_0x4187bd(0x30a)](),_0x4a1990;}return this[_0x4187bd(0x376)](!0x1);}catch(_0x5456a9){return this[_0x4187bd(0x419)]['error'](_0x5456a9),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x5be187){var _0x236337=_0x32c544;this[_0x236337(0x2d4)]();const _0x5b6ace=this[_0x236337(0x442)]['getCurrentRevOfUnit'](this[_0x236337(0x29f)]);if(_0x5be187[_0x236337(0x22f)]<_0x5b6ace-0x1)return this;if(this[_0x236337(0x34e)](_0x5be187))return this[_0x236337(0x4d3)][_0x236337(0x4a2)](ee,this[_0x236337(0x29f)],this[_0x236337(0x400)],null,[],this[_0x236337(0x46e)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x500673=this[_0x236337(0x4d3)][_0x236337(0x4a2)](be,this[_0x236337(0x29f)],this[_0x236337(0x400)],this[_0x236337(0x460)]);return _0x500673[_0x236337(0x30a)](),_0x500673;}[_0x32c544(0x27c)](_0x2a750e){var _0x588d10=_0x32c544;return this[_0x588d10(0x376)](!!(_0x2a750e!=null&&_0x2a750e['isPermissionRej']));}[_0x32c544(0x36b)](_0x2fe526){var _0x387c66=_0x32c544;return this[_0x387c66(0x2d3)]>gi?this[_0x387c66(0x2c7)]():(this[_0x387c66(0x3a7)]=Ii(this[_0x387c66(0x2d3)],{'timeout':this['_resendTimeout'],'reqId':_0x2fe526['reqId']}),this[_0x387c66(0x34d)]=this[_0x387c66(0x3a7)]['subscribe'](({reqId:_0x5514b4,timeout:_0x332896})=>{var _0x3db456=_0x387c66;this[_0x3db456(0x32f)](_0x5514b4,_0x332896);}),this);}['toggleOffline'](){var _0x2baff1=_0x32c544;return this['_clearScheduledTask'](),this[_0x2baff1(0x4d3)]['createInstance'](de,this[_0x2baff1(0x29f)],this[_0x2baff1(0x400)],this['_awaitingChangeset'],[],this[_0x2baff1(0x460)]);}[_0x32c544(0x422)](){return this;}[_0x32c544(0x3f8)](){var _0x2832c3=_0x32c544;this['_handler'][_0x2832c3(0x3fd)](this['_awaitingChangeset']);}[_0x32c544(0x376)](_0xb7d782){var _0x112d9f=_0x32c544;return this[_0x112d9f(0x2d4)](),this[_0x112d9f(0x4d3)][_0x112d9f(0x4a2)](ue,this['unitID'],this[_0x112d9f(0x400)],this[_0x112d9f(0x46e)],[],this[_0x112d9f(0x460)],_0xb7d782);}[_0x32c544(0x32f)](_0x25a530,_0x2eaaa0){var _0x21d563=_0x32c544,_0x383e15;_0x25a530===((_0x383e15=this[_0x21d563(0x46e)])==null?void 0x0:_0x383e15[_0x21d563(0x337)])&&(this['resend'](),this[_0x21d563(0x2d3)]=_0x2eaaa0===0x0?0x3e8:_0x2eaaa0*0x2);}[_0x32c544(0x2d4)](){var _0xea57ee=_0x32c544,_0x327ef1;(_0x327ef1=this['_sender'])==null||_0x327ef1[_0xea57ee(0x4f7)](),this['_resendTimeout']=0x0;}};le=Se([w(0x4,_0x2fdf6c(_0x370bdb)),w(0x5,_0x2fdf6c(_0x1ca512)),w(0x6,_0x4f799e),w(0x7,_0x22fe2d),w(0x8,_0x3fc840),w(0x9,_0x29536b),w(0xa,_0x708160(J))],le);let oe=class extends ge{constructor(_0x3dd46c,_0xc2a5d7,_0x136bba,_0x85eb1f,_0x515d10,_0x3cf2b6,_0x331ab5,_0x347008,_0x180d08,_0x1ca455,_0x307ca3,_0x1a9c89,_0x48bfe6){var _0x69a95d=_0x32c544;super(_0x3dd46c,_0xc2a5d7,_0x136bba,_0x85eb1f,_0x515d10,_0x180d08,_0x1a9c89,_0x347008,_0x48bfe6),D(this,_0x69a95d(0x3e7),_0x69a95d(0x4d8)),D(this,_0x69a95d(0x2d3),0x0),D(this,'_resendTimer'),D(this,'_sender'),(this[_0x69a95d(0x4d3)]=_0x331ab5,this['_logService']=_0x1ca455,this[_0x69a95d(0x2de)]=_0x307ca3,this[_0x69a95d(0x2e3)]=_0x48bfe6,_0x3cf2b6&&(this[_0x69a95d(0x3a7)]=_0x3cf2b6,this[_0x69a95d(0x34d)]=this[_0x69a95d(0x3a7)][_0x69a95d(0x45f)](({reqId:_0x3e3528,timeout:_0x254727})=>{this['_resendWithTimeout'](_0x3e3528,_0x254727);})));}[_0x32c544(0x26b)](_0x166e2c){var _0x5a5ac1=_0x32c544;return this[_0x5a5ac1(0x3b0)][_0x5a5ac1(0x438)](_0x166e2c),this;}[_0x32c544(0x4e5)](_0x230766){var _0x136801=_0x32c544;if(this[_0x136801(0x34e)](_0x230766))return this[_0x136801(0x2d4)](),this[_0x136801(0x4d3)][_0x136801(0x4a2)](ee,this['unitID'],this['type'],this[_0x136801(0x46e)],this[_0x136801(0x3b0)],null,[_0x230766],this['_handler']);try{const _0x1f2bec=this[_0x136801(0x2de)][_0x136801(0x44d)]([_0x230766],[this['_awaitingChangeset']],!0x1);if(_0x221f7b(_0x1f2bec)){const {c1Prime:_0x1633ba,c2Prime:_0x10737c}=_0x1f2bec,_0x410c45=this['_transformService']['transformMutationsWithChangeset'](_0x1633ba[0x0],this[_0x136801(0x3b0)]);if(_0x252020(_0x410c45)){const {c1Prime:_0x2be8d5,m2Prime:_0x306b55}=_0x410c45;return this[_0x136801(0x206)](_0x2be8d5),_0x10737c[0x0][_0x136801(0x3d6)]=this[_0x136801(0x385)](),this['_clearScheduledTask'](),this[_0x136801(0x4d3)][_0x136801(0x4a2)](oe,this[_0x136801(0x29f)],this[_0x136801(0x400)],_0x10737c[0x0],_0x306b55,this[_0x136801(0x460)],void 0x0);}throw _0x410c45[_0x136801(0x333)];}throw _0x1f2bec[_0x136801(0x333)];}catch(_0x18a8c7){return this[_0x136801(0x419)]['error'](_0x18a8c7),this[_0x136801(0x376)](!0x1);}}[_0x32c544(0x275)](_0xe27c01){var _0x104ac3=_0x32c544;if(this[_0x104ac3(0x2d4)](),this['_checkMissing'](_0xe27c01))return this[_0x104ac3(0x4d3)][_0x104ac3(0x4a2)](ee,this[_0x104ac3(0x29f)],this['type'],null,this[_0x104ac3(0x3b0)],this[_0x104ac3(0x46e)],[],this[_0x104ac3(0x460)]);this[_0x104ac3(0x280)]();const _0x2a8474=this[_0x104ac3(0x4d3)][_0x104ac3(0x4a2)](ae,this[_0x104ac3(0x29f)],this[_0x104ac3(0x400)],this[_0x104ac3(0x3b0)],this[_0x104ac3(0x460)]);return _0x2a8474[_0x104ac3(0x2ec)](),_0x2a8474['_updateLocalCache'](),_0x2a8474;}[_0x32c544(0x27c)](_0x3d22ba){var _0x2476ae=_0x32c544;return this['_onConflict'](!!(_0x3d22ba!=null&&_0x3d22ba[_0x2476ae(0x23a)]));}[_0x32c544(0x36b)](_0x1b8e6c){var _0x5997ee=_0x32c544;return this[_0x5997ee(0x2d3)]>gi?this['toggleOffline']():(this[_0x5997ee(0x3a7)]=Ii(this[_0x5997ee(0x2d3)],{'timeout':this[_0x5997ee(0x2d3)],'reqId':_0x1b8e6c[_0x5997ee(0x337)]}),this[_0x5997ee(0x34d)]=this['_resendTimer'][_0x5997ee(0x45f)](({reqId:_0x29ffdd,timeout:_0x4a2ce3})=>{var _0x28135b=_0x5997ee;this[_0x28135b(0x32f)](_0x29ffdd,_0x4a2ce3);}),this);}[_0x32c544(0x2c7)](){var _0x32505b=_0x32c544;return this[_0x32505b(0x2d4)](),this['_injector'][_0x32505b(0x4a2)](de,this['unitID'],this[_0x32505b(0x400)],this[_0x32505b(0x46e)],this['_pendingMutations'],this[_0x32505b(0x460)]);}['toggleOnline'](){return this;}[_0x32c544(0x3f8)](){var _0x4b955c=_0x32c544;this[_0x4b955c(0x460)][_0x4b955c(0x3fd)](this[_0x4b955c(0x46e)]);}[_0x32c544(0x376)](_0x11f04b){var _0x926442=_0x32c544;return this[_0x926442(0x2d4)](),this['_injector']['createInstance'](ue,this[_0x926442(0x29f)],this['type'],null,this[_0x926442(0x3b0)],this['_handler'],_0x11f04b);}[_0x32c544(0x32f)](_0x569537,_0x8fca32){var _0x31c27e=_0x32c544,_0x4be91f;_0x569537===((_0x4be91f=this['_awaitingChangeset'])==null?void 0x0:_0x4be91f[_0x31c27e(0x337)])&&(this[_0x31c27e(0x3f8)](),this['_resendTimeout']=_0x8fca32===0x0?0x3e8:_0x8fca32*0x2);}[_0x32c544(0x2d4)](){var _0x56207b=_0x32c544,_0x33f0ad;(_0x33f0ad=this[_0x56207b(0x34d)])==null||_0x33f0ad[_0x56207b(0x4f7)](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x2fdf6c(_0x370bdb)),w(0x7,_0x2fdf6c(_0x1ca512)),w(0x8,_0x4f799e),w(0x9,_0x22fe2d),w(0xa,_0x3fc840),w(0xb,_0x29536b),w(0xc,_0x708160(J))],oe);let ue=class extends ge{constructor(_0xf39791,_0x1276b9,_0x29db2d,_0x3426bd,_0x4521fd,_0x4b50db=!0x1,_0xdb7388,_0x19efaf,_0x5cba99,_0x3465aa,_0xe824cd,_0x15449d,_0x3bcdf7){var _0x364de4=_0x32c544;super(_0xf39791,_0x1276b9,_0x29db2d,_0x3426bd,_0x4521fd,_0x19efaf,_0x5cba99,_0x3465aa,_0x3bcdf7),D(this,_0x364de4(0x3e7),_0x364de4(0x4c5)),(this[_0x364de4(0x47f)]=_0x4b50db,this[_0x364de4(0x3f2)]=_0xdb7388,this[_0x364de4(0x3d3)]=_0xe824cd,this[_0x364de4(0x452)]=_0x15449d,this[_0x364de4(0x2e3)]=_0x3bcdf7,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x364de4(0x37a)]());}[_0x32c544(0x26b)](){return this;}['onRemoteChangeset'](){return this;}[_0x32c544(0x275)](){return this;}[_0x32c544(0x27c)](){return this;}[_0x32c544(0x36b)](){return this;}[_0x32c544(0x2c7)](){return this;}['toggleOnline'](){return this;}[_0x32c544(0x3f8)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x32c544(0x389)](){var _0x1130b0=_0x32c544,_0x4768a6;(_0x4768a6=this['_localCacheService'])==null||_0x4768a6[_0x1130b0(0x3f9)](this[_0x1130b0(0x29f)],this[_0x1130b0(0x400)],null,[]);}[_0x32c544(0x40d)](){var _0x52e690=_0x32c544;this[_0x52e690(0x47f)]?this[_0x52e690(0x452)][_0x52e690(0x45a)]({'id':re['PERMISSION_DENIED']}):this['_collaborationUIEventService']['emitEvent']({'id':re[_0x52e690(0x46a)]});}['_disableEditing'](){var _0x1f4669=_0x32c544;this['_permissionService']['updatePermissionPoint'](new _0x4d96c8(this[_0x1f4669(0x29f)])['id'],!0x1);}};ue=Se([w(0x6,_0x2fdf6c(_0x4c1404)),w(0x7,_0x4f799e),w(0x8,_0x29536b),w(0x9,_0x2fdf6c(_0x1ca512)),w(0xa,_0x2fdf6c(_0x268771)),w(0xb,_0x2fdf6c(ve)),w(0xc,_0x708160(J))],ue);let de=class extends ge{constructor(_0x5ecc0f,_0xcb46a,_0x2a45a5,_0x1ceeb6,_0x3b2d81,_0x35383a,_0x593993,_0x1c4fc4,_0x7d26be,_0x5767e6){var _0x169ca7=_0x32c544;super(_0x5ecc0f,_0xcb46a,_0x2a45a5,_0x1ceeb6,_0x3b2d81,_0x1c4fc4,_0x7d26be,_0x593993,_0x5767e6),D(this,'status',_0x169ca7(0x3c7)),this[_0x169ca7(0x4d3)]=_0x35383a;}[_0x32c544(0x26b)](_0x5c94af){var _0x4dd397=_0x32c544;return this[_0x4dd397(0x3b0)][_0x4dd397(0x438)](_0x5c94af),this[_0x4dd397(0x30a)](),this;}['onRemoteChangeset'](_0x22ca62){var _0x357f91=_0x32c544;throw new Error(_0x357f91(0x2f6));}[_0x32c544(0x275)](){var _0x3ea3aa=_0x32c544;throw new Error(_0x3ea3aa(0x352));}[_0x32c544(0x27c)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x32c544(0x422)](){var _0x46d5c1=_0x32c544;const {_injector:_0x3c2691,_pendingMutations:_0x531f05,_awaitingChangeset:_0x34b51c,unitID:_0x39e5fc,_handler:_0x114404,type:_0x54e444}=this,_0xcf24b6=Ti(_0x3c2691,_0x39e5fc,_0x54e444,_0x34b51c,_0x531f05,_0x114404);return _0xcf24b6 instanceof ae?_0xcf24b6['_schedule']():(_0xcf24b6 instanceof oe||_0xcf24b6 instanceof le)&&_0xcf24b6[_0x46d5c1(0x3f8)](),_0xcf24b6;}['resend'](){var _0x2994df=_0x32c544;throw new Error(_0x2994df(0x379));}};de=Se([w(0x5,_0x2fdf6c(_0x370bdb)),w(0x6,_0x2fdf6c(_0x1ca512)),w(0x7,_0x4f799e),w(0x8,_0x29536b),w(0x9,_0x708160(J))],de);let ee=class extends ge{constructor(_0x12fa61,_0x246996,_0x4fdd15,_0x264578,_0x391965,_0xafea50,_0x1aecec,_0x1e819d,_0x2f8336,_0x5f3579,_0x351ba3,_0x14134a,_0x5cd225,_0x39213b){var _0x175dcd=_0x32c544;super(_0x12fa61,_0x246996,_0x4fdd15,_0x264578,_0x1aecec,_0x351ba3,_0x14134a,_0x2f8336,_0x39213b),D(this,_0x175dcd(0x3e7),_0x175dcd(0x4ac)),(this['_acknowledgedAwaitingChangeset']=_0x391965,this[_0x175dcd(0x235)]=_0xafea50,this[_0x175dcd(0x4d3)]=_0x1e819d,this[_0x175dcd(0x419)]=_0x5f3579,this['_transformService']=_0x5cd225,this['localCacheService']=_0x39213b);}[_0x32c544(0x340)](_0xaabc70){var _0x7b1300=_0x32c544;try{const _0x559b93=[..._0xaabc70,...this[_0x7b1300(0x235)]],_0x4a10a9=[this[_0x7b1300(0x46e)]||this[_0x7b1300(0x261)]][_0x7b1300(0x3ac)](_0x31b1c6=>!!_0x31b1c6);let _0x4388bc,_0x3c7f5d;if(_0x4a10a9[_0x7b1300(0x4c3)]){const _0x181ce4=this['_transformService'][_0x7b1300(0x44d)](_0x559b93,_0x4a10a9,!0x1);if(!_0x221f7b(_0x181ce4))throw _0x181ce4[_0x7b1300(0x333)];_0x4388bc=_0x181ce4[_0x7b1300(0x378)],_0x3c7f5d=_0x181ce4[_0x7b1300(0x3c0)];}else _0x4388bc=_0x559b93,_0x3c7f5d=[];let _0x829410=this[_0x7b1300(0x3b0)];_0x4388bc[_0x7b1300(0x2ea)](_0x52aaed=>{var _0xe07fc4=_0x7b1300;let _0x48c530;if(_0x829410[_0xe07fc4(0x4c3)]){const _0x9bbc0c=this[_0xe07fc4(0x2de)][_0xe07fc4(0x3db)](_0x52aaed,_0x829410);if(!_0x252020(_0x9bbc0c))throw _0x9bbc0c[_0xe07fc4(0x333)];_0x48c530=_0x9bbc0c[_0xe07fc4(0x378)],_0x829410=_0x9bbc0c[_0xe07fc4(0x231)];}else _0x48c530=_0x52aaed;this['_executeRemoteChangeset'](_0x48c530);}),this[_0x7b1300(0x261)]&&this['_incrementRevisionNumber'](),this[_0x7b1300(0x46e)]&&_0x3c7f5d[_0x7b1300(0x4c3)]&&(_0x3c7f5d[0x0][_0x7b1300(0x3d6)]=this[_0x7b1300(0x385)]());let _0x2b082b;if(this['_awaitingChangeset']&&_0x829410[_0x7b1300(0x4c3)]!==0x0)_0x2b082b=this['_injector']['createInstance'](oe,this[_0x7b1300(0x29f)],this[_0x7b1300(0x400)],_0x3c7f5d[0x0],_0x829410,this[_0x7b1300(0x460)],void 0x0);else{if(this['_awaitingChangeset']&&_0x829410['length']===0x0)_0x3c7f5d[0x0][_0x7b1300(0x3d6)]=this[_0x7b1300(0x385)](),_0x2b082b=this[_0x7b1300(0x4d3)][_0x7b1300(0x4a2)](le,this[_0x7b1300(0x29f)],this[_0x7b1300(0x400)],_0x3c7f5d[0x0],this[_0x7b1300(0x460)]);else{if(_0x829410[_0x7b1300(0x4c3)]!==0x0){const _0x57a510=this[_0x7b1300(0x4d3)][_0x7b1300(0x4a2)](ae,this['unitID'],this[_0x7b1300(0x400)],_0x829410,this[_0x7b1300(0x460)]);_0x57a510['_schedule'](),_0x2b082b=_0x57a510;}else _0x2b082b=this[_0x7b1300(0x4d3)][_0x7b1300(0x4a2)](be,this[_0x7b1300(0x29f)],this[_0x7b1300(0x400)],this[_0x7b1300(0x460)]);}}return _0x2b082b['_updateLocalCache'](),_0x2b082b;}catch(_0x514ffe){return this[_0x7b1300(0x419)][_0x7b1300(0x333)](_0x7b1300(0x1ee),_0x7b1300(0x219),_0x514ffe),this[_0x7b1300(0x4d3)][_0x7b1300(0x4a2)](ue,this[_0x7b1300(0x29f)],this[_0x7b1300(0x400)],this[_0x7b1300(0x46e)],this[_0x7b1300(0x3b0)],this[_0x7b1300(0x460)],!0x1);}}[_0x32c544(0x3f8)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x32c544(0x26b)](_0x3ad1ee){var _0x280006=_0x32c544;return this['_pendingMutations'][_0x280006(0x438)](_0x3ad1ee),this;}['onRemoteChangeset'](_0x8503f2){var _0x501df1=_0x32c544;return this['_queuedRemoteChangesets'][_0x501df1(0x438)](_0x8503f2),this;}[_0x32c544(0x275)](_0x4553b0){var _0x18a8f6=_0x32c544;if(this['_awaitingChangeset'])return this[_0x18a8f6(0x261)]=this[_0x18a8f6(0x46e)],this['_awaitingChangeset']=null,this;throw new Error(_0x18a8f6(0x406));}[_0x32c544(0x27c)](_0x445e97){var _0x185af8=_0x32c544;return this[_0x185af8(0x376)](!!(_0x445e97!=null&&_0x445e97[_0x185af8(0x23a)]));}[_0x32c544(0x36b)](){return this;}[_0x32c544(0x2c7)](){var _0x49bd73=_0x32c544;return this[_0x49bd73(0x4d3)]['createInstance'](de,this['unitID'],this[_0x49bd73(0x400)],this[_0x49bd73(0x46e)],this[_0x49bd73(0x3b0)],this[_0x49bd73(0x460)]);}[_0x32c544(0x422)](){return this;}[_0x32c544(0x376)](_0x49389e){var _0x598ccf=_0x32c544;return this[_0x598ccf(0x4d3)]['createInstance'](ue,this[_0x598ccf(0x29f)],this['type'],this[_0x598ccf(0x46e)],this[_0x598ccf(0x3b0)],this[_0x598ccf(0x460)],_0x49389e);}};ee=Se([w(0x7,_0x2fdf6c(_0x370bdb)),w(0x8,_0x2fdf6c(_0x1ca512)),w(0x9,_0x22fe2d),w(0xa,_0x4f799e),w(0xb,_0x29536b),w(0xc,_0x3fc840),w(0xd,_0x708160(J))],ee);function Ti(_0x4f3dfc,_0x11386f,_0xd70046,_0x496e0d,_0x30c746,_0xb2c12c){var _0x59e09c=_0x32c544;return _0x496e0d&&_0x30c746['length']?_0x4f3dfc[_0x59e09c(0x4a2)](oe,_0x11386f,_0xd70046,_0x496e0d,_0x30c746,_0xb2c12c,void 0x0):_0x496e0d?_0x4f3dfc[_0x59e09c(0x4a2)](le,_0x11386f,_0xd70046,_0x496e0d,_0xb2c12c):_0x30c746[_0x59e09c(0x4c3)]?_0x4f3dfc['createInstance'](ae,_0x11386f,_0xd70046,_0x30c746,_0xb2c12c):_0x4f3dfc[_0x59e09c(0x4a2)](be,_0x11386f,_0xd70046,_0xb2c12c);}var Hs=Object[_0x32c544(0x45c)],At=(_0x53b63d,_0x2385ca,_0x5cd3c4,_0x5e4136)=>{for(var _0x2a84ac=_0x5e4136>0x1?void 0x0:_0x5e4136?Hs(_0x2385ca,_0x5cd3c4):_0x2385ca,_0xd81e7e=_0x53b63d['length']-0x1,_0x26d584;_0xd81e7e>=0x0;_0xd81e7e--)(_0x26d584=_0x53b63d[_0xd81e7e])&&(_0x2a84ac=_0x26d584(_0x2a84ac)||_0x2a84ac);return _0x2a84ac;},k=(_0x40f7b6,_0x2bb34d)=>(_0x4ae894,_0x70e8de)=>_0x2bb34d(_0x4ae894,_0x70e8de,_0x40f7b6);let st=class extends _0x5b4d54{constructor(_0x18aa85,_0x166d2c,_0xd17fca,_0x18142e,_0x5e22ee,_0xcd793f,_0x4de5ea,_0x330d3e,_0x482cfb,_0x1d777d,_0x2530c5,_0xfe6aa5,_0x34bccb,_0x2ec265){var _0x1283b1=_0x32c544;super(),D(this,_0x1283b1(0x25d),new _0x21dfaa(null)),D(this,_0x1283b1(0x1fe),this[_0x1283b1(0x25d)][_0x1283b1(0x36f)]()),D(this,_0x1283b1(0x329)),D(this,'_collaborationPaused',!0x1),D(this,'_changesetSessionId',''),D(this,_0x1283b1(0x3c3),0x0),D(this,_0x1283b1(0x3aa),this[_0x1283b1(0x1fe)]['pipe'](_0x325fa4(_0x3eba06=>_0x3eba06?_0x3eba06['status']:Si[_0x1283b1(0x3b2)]),_0x3c8874(0x1))),D(this,_0x1283b1(0x2b2),!0x1),D(this,_0x1283b1(0x227),[]),(this['unitID']=_0x18aa85,this[_0x1283b1(0x3b8)]=_0x166d2c,this['_type']=_0xd17fca,this[_0x1283b1(0x4d3)]=_0x18142e,this[_0x1283b1(0x251)]=_0x5e22ee,this[_0x1283b1(0x3d3)]=_0xcd793f,this[_0x1283b1(0x442)]=_0x4de5ea,this[_0x1283b1(0x3ea)]=_0x330d3e,this[_0x1283b1(0x2a6)]=_0x482cfb,this['_logService']=_0x1d777d,this[_0x1283b1(0x24a)]=_0x2530c5,this[_0x1283b1(0x3f2)]=_0xfe6aa5,this[_0x1283b1(0x2db)]=_0x34bccb,this[_0x1283b1(0x29c)]=_0x2ec265);}get[_0x32c544(0x431)](){var _0x5c6bf4=_0x32c544;return this[_0x5c6bf4(0x329)];}async[_0x32c544(0x220)](){var _0x9f6651=_0x32c544;if(this[_0x9f6651(0x431)])throw new Error(_0x9f6651(0x2fc));await this[_0x9f6651(0x30f)]();}[_0x32c544(0x28a)](){return this['_collaborationPaused']=!0x0,_0x33b90d(()=>{var _0x9f19ac=_0x4b66;this[_0x9f19ac(0x1f0)]=!0x1,this[_0x9f19ac(0x3c4)]();});}[_0x32c544(0x214)](_0x267b61){var _0x2bfc6a=_0x32c544;this[_0x2bfc6a(0x2aa)](_0x267b61);}[_0x32c544(0x467)](_0x21de43){var _0x47842c=_0x32c544;this['_state']=_0x21de43,this[_0x47842c(0x25d)][_0x47842c(0x2b4)](_0x21de43);}async[_0x32c544(0x30f)](){var _0x3ce70d=_0x32c544,_0x2c91e8;this[_0x3ce70d(0x467)](await this['_createInitialState']()),this[_0x3ce70d(0x2db)]&&((_0x2c91e8=this['_singleActiveUnitService'])==null||_0x2c91e8['editingUnit'](this[_0x3ce70d(0x29f)]),this[_0x3ce70d(0x302)](this[_0x3ce70d(0x2db)][_0x3ce70d(0x482)](this[_0x3ce70d(0x29f)])[_0x3ce70d(0x45f)](_0x4669fc=>{var _0x341e00=_0x3ce70d;this[_0x341e00(0x419)][_0x341e00(0x245)](_0x341e00(0x299),_0x341e00(0x259),_0x4669fc),_0x4669fc===mi[_0x341e00(0x33e)]?(this['_eventService'][_0x341e00(0x45a)]({'id':re[_0x341e00(0x4af)]}),this[_0x341e00(0x3f2)][_0x341e00(0x491)](new _0x4d96c8(this[_0x341e00(0x29f)])['id'],!0x1),this['_permissionService'][_0x341e00(0x3c6)](!0x1)):(this[_0x341e00(0x3f2)]['updatePermissionPoint'](new _0x4d96c8(this[_0x341e00(0x29f)])['id'],!0x0),this['_permissionService'][_0x341e00(0x3c6)](!0x0));})));let _0x2ad38e=!0x1;return this[_0x3ce70d(0x302)](this[_0x3ce70d(0x3b8)]['sessionStatus$'][_0x3ce70d(0x45f)](_0x2e0331=>{var _0x38f7a0=_0x3ce70d;_0x2e0331===me['ONLINE']?this['_toggleOnline'](_0x2ad38e):_0x2e0331===me[_0x38f7a0(0x3b2)]&&(_0x2ad38e=!0x0,this['_toggleOffline']());})),this[_0x3ce70d(0x302)](this['session'][_0x3ce70d(0x2a1)]['subscribe'](_0x1f0e38=>{var _0x37e793=_0x3ce70d;try{switch(_0x1f0e38['eventID']){case _0x74d8b5['NEW_CHANGESETS']:{this[_0x37e793(0x35d)](_0x4a7cb1(_0x1f0e38[_0x37e793(0x4ba)]));break;}case _0x74d8b5[_0x37e793(0x358)]:{this[_0x37e793(0x26f)](_0x1f0e38['data']);break;}case _0x74d8b5[_0x37e793(0x2ca)]:{this[_0x37e793(0x20b)]();break;}case _0x74d8b5[_0x37e793(0x468)]:{this[_0x37e793(0x366)](_0x1f0e38[_0x37e793(0x4ba)]);break;}case _0x74d8b5[_0x37e793(0x49c)]:{this[_0x37e793(0x45d)](_0x1f0e38[_0x37e793(0x4ba)][_0x37e793(0x413)][_0x37e793(0x341)](_0x5ddb49=>_0x4a7cb1(_0x5ddb49)));break;}case _0x74d8b5[_0x37e793(0x40a)]:{this[_0x37e793(0x20b)]({'isPermissionRej':!0x0});break;}case _0x74d8b5['UNISCRIPT_RUN']:break;}}catch(_0x287f51){throw console[_0x37e793(0x333)](_0x37e793(0x269),_0x287f51),_0x287f51;}})),this[_0x3ce70d(0x329)];}[_0x32c544(0x20e)](){this['_transitionLocked']=!0x1;}[_0x32c544(0x1df)](){var _0x58b549=_0x32c544;if(this[_0x58b549(0x2b2)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x58b549(0x2b2)]=!0x0;}[_0x32c544(0x2aa)](_0x131969){var _0x1de4df=_0x32c544;this[_0x1de4df(0x1df)](),this['_updateState'](this[_0x1de4df(0x329)]['appendMutation'](_0x131969)),this[_0x1de4df(0x20e)]();}['_onRemoteChangeset'](_0x1ed28e){var _0x19f637=_0x32c544;if(!(_0x1ed28e['revision']<=this[_0x19f637(0x442)][_0x19f637(0x416)](this[_0x19f637(0x29f)]))){if(this[_0x19f637(0x1f0)]){this[_0x19f637(0x227)][_0x19f637(0x438)](_0x1ed28e);return;}this[_0x19f637(0x2a5)](_0x1ed28e);}}[_0x32c544(0x3c4)](){var _0x1e8b73=_0x32c544;this['_remoteChangesetQueue']['forEach'](_0x487a97=>this['_applyRemoteChangeset'](_0x487a97)),this[_0x1e8b73(0x227)]=[];}['_applyRemoteChangeset'](_0x285cbd){var _0x27d333=_0x32c544;const _0x2b643e=this[_0x27d333(0x251)][_0x27d333(0x287)][_0x27d333(0x3e2)](this[_0x27d333(0x251)][_0x27d333(0x287)][_0x27d333(0x39a)]()[_0x27d333(0x35a)])(_0x285cbd['mutations'],null)||_0x285cbd[_0x27d333(0x2b9)],_0x464fcc={..._0x285cbd,'mutations':_0x2b643e};this[_0x27d333(0x1df)](),this['_updateState'](this[_0x27d333(0x329)]['onRemoteChangeset'](_0x464fcc)),this[_0x27d333(0x20e)]();}[_0x32c544(0x26f)](_0x2679bb){var _0x5da40b=_0x32c544;this[_0x5da40b(0x1df)](),this[_0x5da40b(0x467)](this[_0x5da40b(0x329)][_0x5da40b(0x275)](_0x2679bb)),this[_0x5da40b(0x20e)]();}[_0x32c544(0x20b)](_0x3bc099){var _0x572faa=_0x32c544;this[_0x572faa(0x1df)](),this[_0x572faa(0x467)](this['_state'][_0x572faa(0x27c)](_0x3bc099)),this[_0x572faa(0x20e)]();}[_0x32c544(0x366)](_0x126c45){var _0x277f1f=_0x32c544;this['_lockTransition'](),this['_updateState'](this[_0x277f1f(0x329)][_0x277f1f(0x36b)](_0x126c45)),this[_0x277f1f(0x20e)]();}[_0x32c544(0x45d)](_0x2eb76a){var _0x4447c9=_0x32c544;if(!(this[_0x4447c9(0x329)]instanceof ee))throw new TypeError(_0x4447c9(0x1f8));const _0x3f21e1=_0x2eb76a[_0x4447c9(0x341)](_0x5ecab=>{var _0x51a63b=_0x4447c9;const _0x48c8=this[_0x51a63b(0x251)][_0x51a63b(0x287)][_0x51a63b(0x3e2)](this['_compressMutationService'][_0x51a63b(0x287)][_0x51a63b(0x39a)]()[_0x51a63b(0x35a)])(_0x5ecab[_0x51a63b(0x2b9)],null)||_0x5ecab['mutations'];return{..._0x5ecab,'mutations':_0x48c8};});this[_0x4447c9(0x1df)](),this[_0x4447c9(0x467)](this[_0x4447c9(0x329)]['onMissedChangesetFetched'](_0x3f21e1)),this[_0x4447c9(0x20e)]();}['_toggleOffline'](){var _0x16376c=_0x32c544;this[_0x16376c(0x1df)](),this['_updateState'](this[_0x16376c(0x329)][_0x16376c(0x2c7)]()),this['_unlockTransition']();}[_0x32c544(0x24b)](_0x36c84c=!0x1){var _0x45c14c=_0x32c544;this['_lockTransition'](),this[_0x45c14c(0x467)](this['_state'][_0x45c14c(0x422)]()),this['_unlockTransition']();const _0x1276ca=this[_0x45c14c(0x329)];_0x36c84c&&_0x1276ca instanceof be&&(this[_0x45c14c(0x1df)](),this[_0x45c14c(0x467)](_0x1276ca['fetchMiss']()),this['_unlockTransition']());}async[_0x32c544(0x48e)](){return new Promise(_0x4130c2=>{var _0x3dd4b4=_0x4b66;this[_0x3dd4b4(0x3b8)]['sessionStatus$']['pipe'](_0x1b1fcf(0x1))[_0x3dd4b4(0x45f)](async _0x532cb5=>{var _0xab8ac2=_0x3dd4b4;_0x4130c2(await this[_0xab8ac2(0x3ae)](_0x532cb5===me[_0xab8ac2(0x447)]));});});}['_createHandler'](){var _0x293e83=_0x32c544;const _0xdbb223=this[_0x293e83(0x29f)];return{'onStateChange':(_0x5a84ce,_0x103945)=>{var _0x491123=_0x293e83;if(_0x5a84ce!==this['_state'])throw new Error(_0x491123(0x2e2)+_0x5a84ce[_0x491123(0x3e7)]+_0x491123(0x1ed)+_0x103945[_0x491123(0x3e7)]+_0x491123(0x249)+this[_0x491123(0x329)]['status']);this[_0x491123(0x467)](_0x103945);},'onSendChangeset':_0x207a15=>{var _0x3604c3=_0x293e83;_0x207a15[_0x3604c3(0x479)]||(_0x207a15[_0x3604c3(0x479)]=this[_0x3604c3(0x260)],_0x207a15[_0x3604c3(0x337)]=++this[_0x3604c3(0x3c3)]);const _0x2fc0eb={'eventID':_0x74d8b5[_0x3604c3(0x303)],'data':{'unitID':_0x207a15[_0x3604c3(0x29f)],'unitType':this[_0x3604c3(0x4a8)],'changeset':_0x207a15,'memberID':this[_0x3604c3(0x3b8)][_0x3604c3(0x410)]()}};this[_0x3604c3(0x3b8)]['send'](_0x2fc0eb,this[_0x3604c3(0x29f)]);},'onMissingChangesets':({from:_0x503cfd,to:_0x1021b7})=>{var _0x3291ca=_0x293e83;this['_logService'][_0x3291ca(0x245)](_0x3291ca(0x299),_0x3291ca(0x4b2)+_0x503cfd+_0x3291ca(0x23c)+_0x1021b7);const _0x1214d5={'eventID':_0x74d8b5['FETCH_MISSING'],'data':{'unitID':_0xdbb223,'unitType':this['_type'],'from':_0x503cfd,'to':_0x1021b7}};this[_0x3291ca(0x3b8)]['send'](_0x1214d5,this[_0x3291ca(0x29f)]);}};}async[_0x32c544(0x3ae)](_0x113bd2){var _0x3a53c3=_0x32c544,_0x22566b,_0x1cddf1,_0x238afd;const _0x5181f7=await((_0x22566b=this[_0x3a53c3(0x29c)])==null?void 0x0:_0x22566b[_0x3a53c3(0x381)](this[_0x3a53c3(0x29f)])),_0x2f6a77=(_0x1cddf1=_0x5181f7==null?void 0x0:_0x5181f7[_0x3a53c3(0x2b9)])!=null?_0x1cddf1:[],_0x10f6a8=(_0x238afd=_0x5181f7==null?void 0x0:_0x5181f7['awaitingChangeset'])!=null?_0x238afd:null,_0x4118fa=!!(_0x10f6a8!=null&&_0x10f6a8['sid'])&&!!(_0x10f6a8!=null&&_0x10f6a8[_0x3a53c3(0x337)]);this[_0x3a53c3(0x260)]=_0x4118fa?_0x10f6a8[_0x3a53c3(0x479)]:_0x39e8cb(),this['_changesetReqId']=_0x4118fa?_0x10f6a8[_0x3a53c3(0x337)]:0x0;const _0x33a97e=this[_0x3a53c3(0x29f)];try{this[_0x3a53c3(0x3b4)](_0x10f6a8,_0x2f6a77);}catch(_0x18d0b4){this[_0x3a53c3(0x419)]['error'](_0x18d0b4);}const _0x2be1e5=this['_createHandler']();if(_0x113bd2){const _0x4623ec=Ti(this[_0x3a53c3(0x4d3)],_0x33a97e,this[_0x3a53c3(0x4a8)],_0x10f6a8,_0x2f6a77,_0x2be1e5);return _0x4623ec instanceof ae?_0x4623ec[_0x3a53c3(0x2ec)]():(_0x4623ec instanceof oe||_0x4623ec instanceof le)&&_0x4623ec[_0x3a53c3(0x3f8)](),_0x4623ec;}return this[_0x3a53c3(0x4d3)][_0x3a53c3(0x4a2)](de,_0x33a97e,this[_0x3a53c3(0x4a8)],_0x10f6a8,_0x2f6a77,_0x2be1e5);}[_0x32c544(0x3b4)](_0x1842ea,_0x2bebe4){var _0x222c9f=_0x32c544,_0x21b828,_0x2b099c;const _0x15822c=this['_compressMutationService']['interceptor'][_0x222c9f(0x3e2)](this[_0x222c9f(0x251)][_0x222c9f(0x287)][_0x222c9f(0x39a)]()[_0x222c9f(0x35a)]);(_0x21b828=_0x15822c((_0x1842ea==null?void 0x0:_0x1842ea['mutations'])||[],null))==null||_0x21b828[_0x222c9f(0x2ea)](_0x2c6dfc=>this[_0x222c9f(0x24a)][_0x222c9f(0x362)](_0x2c6dfc['id'],_0x2c6dfc[_0x222c9f(0x21d)])),(_0x2b099c=_0x15822c(_0x2bebe4||[],null))==null||_0x2b099c[_0x222c9f(0x2ea)](_0x3c7b5d=>this[_0x222c9f(0x24a)][_0x222c9f(0x362)](_0x3c7b5d['id'],_0x3c7b5d[_0x222c9f(0x21d)]));}};st=At([k(0x3,_0x2fdf6c(_0x370bdb)),k(0x4,_0x2fdf6c(_0x2fd51b)),k(0x5,_0x2fdf6c(_0x268771)),k(0x6,_0x2fdf6c(_0x1ca512)),k(0x7,_0x2fdf6c(ve)),k(0x8,_0x9806b3),k(0x9,_0x22fe2d),k(0xa,_0x4f799e),k(0xb,_0x4c1404),k(0xc,_0x708160(_t)),k(0xd,_0x708160(J))],st);let It=class extends st{constructor(_0x555b31,_0x304077,_0x1c535e,_0x22cac4,_0x1c7bd8,_0x59b15f,_0x4fef1e,_0x3e5d95,_0x2772a7,_0x4ac728,_0x2e29eb,_0x41669d,_0x7e8880,_0x51c7dc){var _0x2bbb7f=_0x32c544;super(_0x555b31,_0x1c535e,_0x304077,_0x22cac4,_0x1c7bd8,_0x59b15f,_0x4fef1e,_0x3e5d95,_0x2772a7,_0x4ac728,_0x2e29eb,_0x41669d,_0x7e8880,_0x51c7dc),D(this,_0x2bbb7f(0x2f5),null),(this[_0x2bbb7f(0x29f)]=_0x555b31,this[_0x2bbb7f(0x400)]=_0x304077);}[_0x32c544(0x3b3)](_0x181dc8){var _0x386938=_0x32c544;this[_0x386938(0x2f5)]=_0x181dc8;}[_0x32c544(0x43d)](){var _0x49ebb0=_0x32c544;this[_0x49ebb0(0x2f5)]=null,super[_0x49ebb0(0x43d)]();}[_0x32c544(0x436)](){var _0x59663a=_0x32c544;const _0x260dd5=super[_0x59663a(0x436)]();return _0x260dd5['onTransformIME']=_0x5aefe4=>{var _0x3ba388=_0x59663a,_0xa42693,_0x155fb6;return(_0x155fb6=(_0xa42693=this['_handlerCallback'])==null?void 0x0:_0xa42693[_0x3ba388(0x20f)])==null?void 0x0:_0x155fb6[_0x3ba388(0x446)](_0xa42693,_0x5aefe4);},_0x260dd5[_0x59663a(0x420)]=_0xe88c81=>{var _0x51df27=_0x59663a,_0x871fd5,_0x5b04c0;return(_0x5b04c0=(_0x871fd5=this[_0x51df27(0x2f5)])==null?void 0x0:_0x871fd5[_0x51df27(0x420)])==null?void 0x0:_0x5b04c0[_0x51df27(0x446)](_0x871fd5,_0xe88c81);},_0x260dd5[_0x59663a(0x201)]=_0x5886df=>{var _0x214140=_0x59663a,_0x16d373,_0x74b06d;return(_0x74b06d=(_0x16d373=this[_0x214140(0x2f5)])==null?void 0x0:_0x16d373[_0x214140(0x201)])==null?void 0x0:_0x74b06d['call'](_0x16d373,_0x5886df);},_0x260dd5['onSyncEditingCollabCursor']=_0x454eb9=>{var _0x589499=_0x59663a,_0x1fcb46,_0x18d0e4;return(_0x18d0e4=(_0x1fcb46=this['_handlerCallback'])==null?void 0x0:_0x1fcb46[_0x589499(0x2c4)])==null?void 0x0:_0x18d0e4[_0x589499(0x446)](_0x1fcb46,_0x454eb9);},_0x260dd5[_0x59663a(0x4ff)]=_0x15982c=>{var _0x4925a4=_0x59663a,_0x460c23,_0x294ed6,_0x45b3dc;if(!((_0x460c23=this[_0x4925a4(0x2f5)])!=null&&_0x460c23[_0x4925a4(0x4ff)]))throw new Error(_0x4925a4(0x495));return(_0x45b3dc=(_0x294ed6=this[_0x4925a4(0x2f5)])==null?void 0x0:_0x294ed6['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x45b3dc[_0x4925a4(0x446)](_0x294ed6,_0x15982c);},_0x260dd5['onTransformRemoteChangesetByStateCache']=_0x4ffc86=>{var _0x2973a9=_0x59663a,_0x22f491,_0x26862d,_0x29c610;if(!((_0x22f491=this['_handlerCallback'])!=null&&_0x22f491['onTransformRemoteChangesetByStateCache']))throw new Error(_0x2973a9(0x297));return(_0x29c610=(_0x26862d=this['_handlerCallback'])==null?void 0x0:_0x26862d['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x29c610[_0x2973a9(0x446)](_0x26862d,_0x4ffc86);},_0x260dd5;}async[_0x32c544(0x30f)](){var _0x11939c=_0x32c544;const _0x2336b9=await super[_0x11939c(0x30f)]();return this['disposeWithMe'](this[_0x11939c(0x24a)]['onCommandExecuted']((_0x41c540,_0x4bdc4b)=>{var _0x4ff0fd=_0x11939c;if(_0x41c540['type']!==_0x434b66[_0x4ff0fd(0x417)]||_0x4bdc4b!=null&&_0x4bdc4b[_0x4ff0fd(0x229)]||_0x4bdc4b!=null&&_0x4bdc4b[_0x4ff0fd(0x317)]||_0x41c540['id']===_0x52aeb2['id'])return;const _0xba6fc6=_0x41c540[_0x4ff0fd(0x21d)];if((_0xba6fc6==null?void 0x0:_0xba6fc6[_0x4ff0fd(0x3df)])!==this[_0x4ff0fd(0x29f)])return;const _0x771c0=_0x41c540,_0x4979de=this[_0x4ff0fd(0x251)]['interceptor'][_0x4ff0fd(0x3e2)](this['_compressMutationService']['interceptor'][_0x4ff0fd(0x39a)]()[_0x4ff0fd(0x360)])([_0x771c0],this[_0x4ff0fd(0x2a6)])||[_0x771c0];this[_0x4ff0fd(0x2aa)](_0x4979de[0x0]);})),_0x2336b9;}};It=At([k(0x3,_0x2fdf6c(_0x370bdb)),k(0x4,_0x2fdf6c(_0x2fd51b)),k(0x5,_0x2fdf6c(_0x268771)),k(0x6,_0x2fdf6c(_0x1ca512)),k(0x7,_0x2fdf6c(ve)),k(0x8,_0x9806b3),k(0x9,_0x22fe2d),k(0xa,_0x4f799e),k(0xb,_0x4c1404),k(0xc,_0x708160(_t)),k(0xd,_0x708160(J))],It);let St=class extends st{constructor(_0x383859,_0x309e97,_0x53f364,_0x1e59e2,_0x50f346,_0xde5908,_0x4b74ea,_0x310d78,_0x2fece9,_0x3008c6,_0x274d57,_0x2bf1ab,_0x1c4d33,_0x469e67,_0x3025fd){var _0x5f123a=_0x32c544;super(_0x383859,_0x53f364,_0x309e97,_0x1e59e2,_0x50f346,_0xde5908,_0x4b74ea,_0x2fece9,_0x3008c6,_0x274d57,_0x2bf1ab,_0x1c4d33,_0x469e67,_0x3025fd),this[_0x5f123a(0x29f)]=_0x383859,this[_0x5f123a(0x400)]=_0x309e97,this[_0x5f123a(0x224)]=_0x310d78;}[_0x32c544(0x436)](){var _0x113e2d=_0x32c544;const _0x122e80=super[_0x113e2d(0x436)]();return _0x122e80[_0x113e2d(0x201)]=_0x4187d7=>this[_0x113e2d(0x224)][_0x113e2d(0x3e3)](_0x4187d7),_0x122e80;}async[_0x32c544(0x30f)](){var _0x1165b3=_0x32c544;const _0xd3cc37=await super[_0x1165b3(0x30f)]();return this['disposeWithMe'](this[_0x1165b3(0x24a)][_0x1165b3(0x31f)]((_0x1567d2,_0x481e54)=>{var _0x6ebbbe=_0x1165b3;if(_0x1567d2[_0x6ebbbe(0x400)]!==_0x434b66['MUTATION']||_0x481e54!=null&&_0x481e54[_0x6ebbbe(0x229)]||_0x481e54!=null&&_0x481e54['onlyLocal'])return;const _0x5891d1=_0x1567d2['params'];if((_0x5891d1==null?void 0x0:_0x5891d1[_0x6ebbbe(0x3df)])!==this[_0x6ebbbe(0x29f)])return;const _0x5c6b13=_0x1567d2,_0x149d6a=this[_0x6ebbbe(0x251)]['interceptor'][_0x6ebbbe(0x3e2)](this[_0x6ebbbe(0x251)]['interceptor'][_0x6ebbbe(0x39a)]()[_0x6ebbbe(0x360)])([_0x5c6b13],this[_0x6ebbbe(0x2a6)])||[_0x5c6b13];this[_0x6ebbbe(0x2aa)](_0x149d6a[0x0]);})),_0xd3cc37;}};St=At([k(0x3,_0x2fdf6c(_0x370bdb)),k(0x4,_0x2fdf6c(_0x2fd51b)),k(0x5,_0x2fdf6c(_0x268771)),k(0x6,_0x2fdf6c(_0x1ca512)),k(0x7,_0x2fdf6c(it)),k(0x8,_0x2fdf6c(ve)),k(0x9,_0x9806b3),k(0xa,_0x22fe2d),k(0xb,_0x4f799e),k(0xc,_0x4c1404),k(0xd,_0x708160(_t)),k(0xe,_0x708160(J))],St);const Bs=_0x81cc29(_0x32c544(0x361));function Fs(_0x1bc68b){var _0x402034=_0x32c544,_0x5b0954,_0x196315,_0x3cd4ad,_0x5707ed,_0x3d32ca;const _0x15074c=_0x1bc68b[_0x402034(0x4ba)],_0x463ddf=JSON[_0x402034(0x244)](_0x15074c);switch(_0x463ddf[_0x402034(0x2c8)]){case j[_0x402034(0x469)]:case j[_0x402034(0x2ce)]:{const _0x4b3b67=_0x463ddf[_0x402034(0x322)];return{..._0x463ddf,'data':_0x4b3b67,'cmd':_0x463ddf[_0x402034(0x2c8)]};}case j['JOIN']:{const _0x532138=_0x463ddf[_0x402034(0x3c8)];return{..._0x463ddf,'data':_0x532138,'cmd':_0x463ddf[_0x402034(0x2c8)]};}case j[_0x402034(0x2b1)]:{const _0x44d140=_0x463ddf[_0x402034(0x290)];switch(_0x44d140[_0x402034(0x4bc)]){case _0x74d8b5[_0x402034(0x40a)]:return{..._0x463ddf,'data':{..._0x44d140,'data':(_0x5b0954=_0x44d140[_0x402034(0x47a)])==null?void 0x0:_0x5b0954['cs']},'cmd':_0x463ddf[_0x402034(0x2c8)]};case _0x74d8b5[_0x402034(0x358)]:return{..._0x463ddf,'data':{..._0x44d140,'data':(_0x196315=_0x44d140[_0x402034(0x47c)])==null?void 0x0:_0x196315['cs']},'cmd':_0x463ddf[_0x402034(0x2c8)]};case _0x74d8b5[_0x402034(0x395)]:return{..._0x463ddf,'data':{..._0x44d140,'data':(_0x3cd4ad=_0x44d140['newCsEvent'])==null?void 0x0:_0x3cd4ad['cs']},'cmd':_0x463ddf[_0x402034(0x2c8)]};case _0x74d8b5[_0x402034(0x2ca)]:return{..._0x463ddf,'data':{..._0x44d140,'data':(_0x5707ed=_0x44d140[_0x402034(0x2a9)])==null?void 0x0:_0x5707ed['cs']},'cmd':_0x463ddf[_0x402034(0x2c8)]};case _0x74d8b5[_0x402034(0x468)]:return{..._0x463ddf,'data':{..._0x44d140,'data':(_0x3d32ca=_0x44d140[_0x402034(0x38c)])==null?void 0x0:_0x3d32ca['cs']},'cmd':_0x463ddf[_0x402034(0x2c8)]};case _0x74d8b5[_0x402034(0x4e8)]:return{..._0x463ddf,'data':{..._0x44d140,'data':_0x44d140[_0x402034(0x327)]},'cmd':_0x463ddf[_0x402034(0x2c8)]};case _0x74d8b5[_0x402034(0x3cd)]:return{..._0x463ddf,'data':{..._0x44d140,'data':_0x44d140['joinEvent']},'cmd':_0x463ddf[_0x402034(0x2c8)]};case _0x74d8b5['USERS_LEAVE']:return{..._0x463ddf,'data':{..._0x44d140,'data':_0x44d140[_0x402034(0x23b)]},'cmd':_0x463ddf[_0x402034(0x2c8)]};case _0x74d8b5['LIVESHARE_NEW_HOST']:return{..._0x463ddf,'data':{..._0x44d140,'data':_0x44d140[_0x402034(0x20c)]},'cmd':_0x463ddf[_0x402034(0x2c8)]};case _0x74d8b5['LIVESHARE_FETCH_OPERATIONS']:case _0x74d8b5['LIVESHARE_OPERATION']:return{..._0x463ddf,'data':{..._0x44d140,'data':_0x44d140[_0x402034(0x22c)]},'cmd':_0x463ddf['cmd']};case _0x74d8b5[_0x402034(0x4ab)]:return{..._0x463ddf,'data':{..._0x44d140,'data':_0x44d140[_0x402034(0x20c)]},'cmd':_0x463ddf[_0x402034(0x2c8)]};case _0x74d8b5[_0x402034(0x36d)]:return{..._0x463ddf,'data':_0x44d140,'cmd':_0x463ddf[_0x402034(0x2c8)]};case _0x74d8b5[_0x402034(0x2a0)]:return{..._0x463ddf,'data':{..._0x44d140,'data':_0x44d140[_0x402034(0x308)]},'cmd':_0x463ddf[_0x402034(0x2c8)]};case _0x74d8b5[_0x402034(0x458)]:return{..._0x463ddf,'data':{..._0x44d140,'data':_0x44d140[_0x402034(0x414)]},'cmd':_0x463ddf[_0x402034(0x2c8)]};case _0x74d8b5['SHOULD_CLOSE_CONN']:return{..._0x463ddf,'data':{..._0x44d140,'data':_0x44d140[_0x402034(0x298)]},'cmd':_0x463ddf['cmd']};case _0x74d8b5[_0x402034(0x335)]:return{..._0x463ddf,'data':{..._0x44d140,'data':_0x44d140['uniscriptRunEvent']},'cmd':_0x463ddf['cmd']};default:return _0x463ddf;}}default:return _0x463ddf;}}function js(_0x18f39c){var _0x12ffb7=_0x32c544;switch(_0x18f39c[_0x12ffb7(0x2c8)]){case j[_0x12ffb7(0x469)]:case j[_0x12ffb7(0x2ce)]:return JSON[_0x12ffb7(0x342)]({'cmd':_0x18f39c[_0x12ffb7(0x2c8)],'routeKey':_0x18f39c[_0x12ffb7(0x292)]});case j[_0x12ffb7(0x4f5)]:{let _0x17faa4;switch(_0x18f39c['data'][_0x12ffb7(0x4bc)]){case _0x74d8b5[_0x12ffb7(0x4e8)]:{_0x17faa4={'eventID':_0x74d8b5['UPDATE_CURSOR'],'updateCursorEvent':_0x18f39c['data']['data']};break;}case _0x74d8b5['USERS_LEAVE']:{_0x17faa4={'eventID':_0x74d8b5[_0x12ffb7(0x278)],'leaveEvent':_0x18f39c[_0x12ffb7(0x4ba)]['data']};break;}case _0x74d8b5[_0x12ffb7(0x3cd)]:{_0x17faa4={'eventID':_0x74d8b5[_0x12ffb7(0x3cd)],'joinEvent':_0x18f39c[_0x12ffb7(0x4ba)][_0x12ffb7(0x4ba)]};break;}case _0x74d8b5[_0x12ffb7(0x504)]:{_0x17faa4={'eventID':_0x74d8b5['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x18f39c[_0x12ffb7(0x4ba)][_0x12ffb7(0x4ba)]};break;}case _0x74d8b5[_0x12ffb7(0x28d)]:{_0x17faa4={'eventID':_0x74d8b5[_0x12ffb7(0x28d)],'liveShareOperation':_0x18f39c[_0x12ffb7(0x4ba)][_0x12ffb7(0x4ba)]};break;}case _0x74d8b5['LIVESHARE_TERMINATE']:{_0x17faa4={'eventID':_0x74d8b5[_0x12ffb7(0x4ab)],'liveShareTerminate':_0x18f39c[_0x12ffb7(0x4ba)][_0x12ffb7(0x4ba)]};break;}case _0x74d8b5[_0x12ffb7(0x274)]:{_0x17faa4={'eventID':_0x74d8b5[_0x12ffb7(0x274)],'liveShareRequestHost':_0x18f39c[_0x12ffb7(0x4ba)]['data']};break;}case _0x74d8b5[_0x12ffb7(0x359)]:{_0x17faa4={'eventID':_0x74d8b5[_0x12ffb7(0x359)]};break;}default:_0x17faa4={'eventID':_0x18f39c[_0x12ffb7(0x4ba)][_0x12ffb7(0x4bc)]};}return JSON['stringify']({'cmd':_0x18f39c[_0x12ffb7(0x2c8)],'routeKey':_0x18f39c['routeKey'],'collaMsg':_0x17faa4});}case j[_0x12ffb7(0x49b)]:return JSON[_0x12ffb7(0x342)]({'cmd':_0x18f39c[_0x12ffb7(0x2c8)],'routeKey':_0x18f39c[_0x12ffb7(0x292)],'joinReq':_0x18f39c[_0x12ffb7(0x4ba)]});case j[_0x12ffb7(0x3bf)]:return JSON[_0x12ffb7(0x342)]({'cmd':_0x18f39c[_0x12ffb7(0x2c8)],'routeKey':_0x18f39c[_0x12ffb7(0x292)],'leaveReq':_0x18f39c[_0x12ffb7(0x4ba)]});default:throw new Error(_0x12ffb7(0x1f6));}}var Vs=Object[_0x32c544(0x45c)],Gs=(_0x37fc75,_0x5916a9,_0x423cff,_0x436559)=>{var _0x56f818=_0x32c544;for(var _0x25be5e=_0x436559>0x1?void 0x0:_0x436559?Vs(_0x5916a9,_0x423cff):_0x5916a9,_0x242243=_0x37fc75[_0x56f818(0x4c3)]-0x1,_0x2ad354;_0x242243>=0x0;_0x242243--)(_0x2ad354=_0x37fc75[_0x242243])&&(_0x25be5e=_0x2ad354(_0x25be5e)||_0x25be5e);return _0x25be5e;},ye=(_0x59dc18,_0x31435f)=>(_0x5bccbe,_0x7767ba)=>_0x31435f(_0x5bccbe,_0x7767ba,_0x59dc18);const Oi=_0x81cc29(_0x32c544(0x2b6));function Ws(_0x617e01,_0x3597be,_0x17488a){var _0x46d072=_0x32c544;return _0x617e01+'/'+_0x3597be+'/unit/'+_0x17488a+_0x46d072(0x38d);}let Gt=class extends _0x25f6f3{constructor(_0x3fb8ef,_0x4228cb,_0x31822b,_0x550db7,_0x423587){var _0x841106=_0x32c544;super(),this[_0x841106(0x4d3)]=_0x3fb8ef,this[_0x841106(0x48a)]=_0x4228cb,this['_configService']=_0x31822b,this['_logService']=_0x550db7,this[_0x841106(0x4d2)]=_0x423587;}[_0x32c544(0x3af)](_0x4e17b4){var _0x31684a=_0x32c544;const _0x521b93=this[_0x31684a(0x4d3)][_0x31684a(0x1f2)](_0x4edd20);if(!_0x521b93)throw new Error(_0x31684a(0x369));const _0x4986f0=_0x521b93[_0x31684a(0x435)](_0x4e17b4);if(!_0x4986f0)throw new Error(_0x31684a(0x28b));const _0x3794c9=new _0x10153d(),_0x5a1c89=new _0x2cbd13();_0x3794c9['add'](_0x4986f0[_0x31684a(0x2f4)][_0x31684a(0x45f)](_0x497067=>_0x5a1c89[_0x31684a(0x2b4)](_0x497067))),_0x3794c9[_0x31684a(0x256)](_0x33b90d(()=>_0x5a1c89[_0x31684a(0x476)]()));const _0x29ee7a=new _0x2cbd13();_0x3794c9[_0x31684a(0x256)](_0x4986f0[_0x31684a(0x4c4)][_0x31684a(0x45f)](_0x1d20f5=>_0x29ee7a[_0x31684a(0x2b4)](_0x1d20f5))),_0x3794c9[_0x31684a(0x256)](_0x33b90d(()=>_0x29ee7a[_0x31684a(0x476)]()));const _0x238322=new _0x2cbd13();_0x3794c9[_0x31684a(0x256)](_0x4986f0['message$']['subscribe'](_0x2da91e=>{const _0x57e7e4=Fs(_0x2da91e);_0x238322['next'](_0x57e7e4);})),_0x3794c9[_0x31684a(0x256)](_0x33b90d(()=>_0x238322[_0x31684a(0x476)]()));let _0x364ed6;const _0x14f045=()=>{var _0x3be3d1=_0x31684a;_0x29ee7a[_0x3be3d1(0x2b4)](new Event(_0x3be3d1(0x43b))),_0x5a1c89[_0x3be3d1(0x2b4)](new Event('connection\x20error')),_0x364ed6[_0x3be3d1(0x4b8)]();};return _0x364ed6={'memberID':'','close$':_0x5a1c89[_0x31684a(0x36f)](),'error$':_0x29ee7a['asObservable'](),'open$':_0x4986f0[_0x31684a(0x270)],'message$':_0x238322['asObservable'](),'send':_0x42bbe2=>{var _0x1e7e71=_0x31684a;if(_0x42bbe2[_0x1e7e71(0x2c8)]===j[_0x1e7e71(0x4f5)]){if(_0x42bbe2[_0x1e7e71(0x4ba)][_0x1e7e71(0x4bc)]===_0x74d8b5[_0x1e7e71(0x303)]){this[_0x1e7e71(0x1e3)](_0x364ed6,_0x42bbe2[_0x1e7e71(0x4ba)])[_0x1e7e71(0x409)](_0x375867=>{var _0x10fdfa=_0x1e7e71;this[_0x10fdfa(0x419)][_0x10fdfa(0x333)](_0x375867),_0x14f045();});return;}if(_0x42bbe2[_0x1e7e71(0x4ba)][_0x1e7e71(0x4bc)]===_0x74d8b5['FETCH_MISSING']){const _0x1f9a92=_0x42bbe2['data'];this[_0x1e7e71(0x210)](_0x1f9a92)[_0x1e7e71(0x26a)](_0x530bd6=>{var _0x307824=_0x1e7e71;_0x238322[_0x307824(0x2b4)]({'cmd':j['RECV'],'code':pe['OK'],'routeKey':_0x1f9a92[_0x307824(0x4ba)]['unitID'],'routeType':'','data':{'eventID':_0x74d8b5[_0x307824(0x49c)],'data':{'changesets':_0x530bd6}}});})['catch'](_0x1ee404=>{var _0x1f7e01=_0x1e7e71;this[_0x1f7e01(0x419)][_0x1f7e01(0x333)](_0x1ee404),_0x14f045();});return;}}_0x4986f0[_0x1e7e71(0x3ef)](js(_0x42bbe2));},'close':()=>{var _0x388c7b=_0x31684a;_0x4986f0[_0x388c7b(0x4b8)](),_0x3794c9[_0x388c7b(0x43d)]();}},_0x364ed6;}async['_submitChangeset'](_0x2cbbf7,_0xb3476){var _0x4fe321=_0x32c544,_0x2f72a7;const {unitType:_0x11624d,unitID:_0x32fb8e,changeset:_0x37871c}=_0xb3476['data'],_0x19d09b={'unitID':_0x32fb8e,'memberID':_0x2cbbf7['memberID'],'type':_0x11624d,'changeset':_0x3d2e55(_0x37871c)},_0x1cd746=this['_configService'][_0x4fe321(0x38b)](K),_0x4f41b2=Ws((_0x2f72a7=_0x1cd746==null?void 0x0:_0x1cd746[_0x4fe321(0x42f)])!=null?_0x2f72a7:Os,_0x11624d,_0x32fb8e);try{await this[_0x4fe321(0x48a)][_0x4fe321(0x3a6)](_0x4f41b2,{'body':_0x19d09b});}catch(_0x34217b){throw this['_logService']['error'](_0x4fe321(0x4b9),_0x4fe321(0x1f9)),_0x34217b;}}async[_0x32c544(0x210)](_0x54820f){var _0x343067=_0x32c544;const {unitID:_0x566cc7,from:_0x50d4a9,to:_0x1f8285,unitType:_0x55324f}=_0x54820f[_0x343067(0x4ba)];return(await this[_0x343067(0x4d2)][_0x343067(0x285)]({'metadata':void 0x0},{'unitID':_0x566cc7,'type':_0x55324f,'from':_0x50d4a9,'to':_0x1f8285}))[_0x343067(0x413)][_0x343067(0x341)](_0x2a593d=>((_0x2a593d[_0x343067(0x2b9)]===null||_0x2a593d[_0x343067(0x2b9)]===void 0x0)&&(_0x2a593d[_0x343067(0x2b9)]=[]),_0x2a593d));}};Gt=Gs([ye(0x0,_0x2fdf6c(_0x370bdb)),ye(0x1,_0x2fdf6c(_0x2c6c5a)),ye(0x2,_0x4edaf7),ye(0x3,_0x22fe2d),ye(0x4,_0xfe95a9)],Gt);var Ys=Object[_0x32c544(0x45c)],Ks=(_0x3bb662,_0x222980,_0x2f1fa2,_0x503f53)=>{for(var _0x38424c=_0x503f53>0x1?void 0x0:_0x503f53?Ys(_0x222980,_0x2f1fa2):_0x222980,_0x167926=_0x3bb662['length']-0x1,_0x2541d0;_0x167926>=0x0;_0x167926--)(_0x2541d0=_0x3bb662[_0x167926])&&(_0x38424c=_0x2541d0(_0x38424c)||_0x38424c);return _0x38424c;},Re=(_0x353ed2,_0x23e0c7)=>(_0x5ebd30,_0xcf49a2)=>_0x23e0c7(_0x5ebd30,_0xcf49a2,_0x353ed2);let we=class extends _0x25f6f3{constructor(_0x209030,_0x278246,_0x3fbd15,_0x39a207,_0x29428a,_0x5db716){var _0x19c69d=_0x32c544;super(),D(this,_0x19c69d(0x3d1),new _0x21dfaa(void 0x0)),D(this,_0x19c69d(0x2bd),this[_0x19c69d(0x3d1)][_0x19c69d(0x36f)]()),D(this,'_candidateSocket',null),D(this,_0x19c69d(0x2b0),new Map()),D(this,_0x19c69d(0x377),new _0x21dfaa(me[_0x19c69d(0x252)])),D(this,_0x19c69d(0x3aa),this[_0x19c69d(0x377)][_0x19c69d(0x36f)]()),D(this,'_socketReady',!0x1),D(this,_0x19c69d(0x428)),D(this,_0x19c69d(0x1fc),0x0),D(this,_0x19c69d(0x454)),D(this,'_timeoutTimer'),(this[_0x19c69d(0x4d3)]=_0x209030,this[_0x19c69d(0x419)]=_0x278246,this[_0x19c69d(0x24d)]=_0x3fbd15,this['_socketService']=_0x39a207,this[_0x19c69d(0x452)]=_0x29428a,this['_networkConditionService']=_0x5db716,this[_0x19c69d(0x279)]());}get[_0x32c544(0x3bb)](){var _0x500197=_0x32c544;return this[_0x500197(0x3d1)][_0x500197(0x3eb)]();}[_0x32c544(0x279)](){var _0x31a9ce=_0x32c544;this[_0x31a9ce(0x4ec)]&&this[_0x31a9ce(0x302)](this[_0x31a9ce(0x4ec)][_0x31a9ce(0x48b)][_0x31a9ce(0x45f)](_0x1bc1d2=>{var _0x354d01=_0x31a9ce;_0x1bc1d2&&!this['_socket']&&this[_0x354d01(0x2f2)](),_0x1bc1d2||this[_0x354d01(0x4cc)]();}));}['dispose'](){var _0x54cb2e=_0x32c544;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x54cb2e(0x4be)](),this['_clearHeartbeatTimer'](),this[_0x54cb2e(0x2b0)][_0x54cb2e(0x2ea)](_0x5dc811=>_0x5dc811[_0x54cb2e(0x43d)]()),this[_0x54cb2e(0x2b0)]['clear'](),this['_status$']['complete']();}async[_0x32c544(0x404)](_0x316b81){var _0x1138f1=_0x32c544;if(this['_sessions'][_0x1138f1(0x2d1)](_0x316b81))return this[_0x1138f1(0x2b0)][_0x1138f1(0x1f2)](_0x316b81);this[_0x1138f1(0x34f)]();const _0x365762=this[_0x1138f1(0x4d3)]['createInstance'](mt,_0x316b81,this['_socket$'][_0x1138f1(0x36f)]());return this[_0x1138f1(0x2b0)][_0x1138f1(0x4fa)](_0x316b81,_0x365762),_0x365762;}['closeSession'](_0x5558a1){var _0x1f2e95=_0x32c544,_0x4b875e;const _0x2c711c=this[_0x1f2e95(0x2b0)][_0x1f2e95(0x1f2)](_0x5558a1);_0x2c711c&&(this[_0x1f2e95(0x2b0)][_0x1f2e95(0x47d)](_0x5558a1),_0x2c711c['close']()),this[_0x1f2e95(0x2b0)][_0x1f2e95(0x471)]||(_0x4b875e=this[_0x1f2e95(0x3bb)])==null||_0x4b875e['close']();}[_0x32c544(0x2f2)](){var _0x4dd265=_0x32c544;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x4dd265(0x475)]();}['_clearRetryConnectingTimer'](){var _0x3a2e83=_0x32c544;this[_0x3a2e83(0x428)]!=null&&(clearTimeout(this[_0x3a2e83(0x428)]),this[_0x3a2e83(0x428)]=null);}async[_0x32c544(0x355)](){var _0x3daf75=_0x32c544,_0x5e5873;const _0x45f1c7=this['_configService']['getConfig'](K),_0xf3d3a4=(_0x5e5873=_0x45f1c7==null?void 0x0:_0x45f1c7[_0x3daf75(0x3fe)])!=null?_0x5e5873:Es,_0x17adb1=await this['_socketService']['createSocket'](_0xf3d3a4);return this['_candidateSocket']=_0x17adb1,_0x17adb1;}async[_0x32c544(0x34f)](){var _0x3ea662=_0x32c544,_0x3aa380,_0x4d8ded;try{const _0x1fe0c5=(_0x4d8ded=(_0x3aa380=this[_0x3ea662(0x3bb)])!=null?_0x3aa380:this['_candidateSocket'])!=null?_0x4d8ded:await this['_createSocket']();if(_0x1fe0c5){const _0x3f68ff=_0x1fe0c5[_0x3ea662(0x3ef)];_0x1fe0c5[_0x3ea662(0x3ef)]=_0x28a8bc=>(this[_0x3ea662(0x4ed)](),_0x3f68ff[_0x3ea662(0x49d)](_0x1fe0c5,[_0x28a8bc])),_0x1fe0c5[_0x3ea662(0x4db)][_0x3ea662(0x45f)](_0x246e71=>this['_onMessage'](_0x1fe0c5,_0x246e71)),_0x1fe0c5[_0x3ea662(0x4c4)][_0x3ea662(0x38a)](_0x4a3da1(0x1))[_0x3ea662(0x45f)](_0x26020b=>this['_logService']['error'](_0x3ea662(0x500),_0x26020b)),_0x1fe0c5[_0x3ea662(0x270)][_0x3ea662(0x38a)](_0x4a3da1(0x1))['subscribe'](()=>{var _0x590262=_0x3ea662;this[_0x590262(0x344)](_0x1fe0c5);}),_0x1fe0c5[_0x3ea662(0x2f4)]['pipe'](_0x4a3da1(0x1))[_0x3ea662(0x45f)](_0x12662e=>{var _0x2d999f=_0x3ea662;this[_0x2d999f(0x419)][_0x2d999f(0x245)](_0x2d999f(0x492),_0x2d999f(0x2ad),_0x12662e),this['_onConnectionFailed']();});}}catch(_0x180b6e){this[_0x3ea662(0x419)]['error'](_0x180b6e),this[_0x3ea662(0x27a)]();}}[_0x32c544(0x344)](_0xb7748f){var _0xd474ed=_0x32c544;this['_logService'][_0xd474ed(0x245)]('[CollaborationSessionService]',_0xd474ed(0x31a)),_0xb7748f[_0xd474ed(0x3ef)]({'cmd':j['HELLO']}),this[_0xd474ed(0x4ed)]();}['_onOffline'](){var _0x440208=_0x32c544;this[_0x440208(0x309)]=!0x1,this[_0x440208(0x29b)]=null,this['_status$'][_0x440208(0x2b4)](me[_0x440208(0x3b2)]),this[_0x440208(0x3d1)]['next'](null),this[_0x440208(0x4be)](),this[_0x440208(0x3c1)]();}[_0x32c544(0x27a)](){var _0xd7013d=_0x32c544,_0xc8c95b;this['_onOffline'](),this[_0xd7013d(0x1fc)]<((_0xc8c95b=this[_0xd7013d(0x24d)]['getConfig'](gs))!=null?_0xc8c95b:Ts)?(this[_0xd7013d(0x452)]['emitEvent']({'id':re[_0xd7013d(0x34c)]}),this[_0xd7013d(0x475)]()):this['_collaborationUIEventService']['emitEvent']({'id':re[_0xd7013d(0x394)]});}[_0x32c544(0x475)](){var _0x1c3d75=_0x32c544,_0xcd1005;const _0x2b51c1=this[_0x1c3d75(0x1fc)],_0xbb4107=this[_0x1c3d75(0x24d)][_0x1c3d75(0x38b)](K),_0x3fe7f8=_0x2b51c1===0x0?0x0:((_0xcd1005=_0xbb4107==null?void 0x0:_0xbb4107[_0x1c3d75(0x480)])!=null?_0xcd1005:Ss)*0x2**_0x2b51c1;this[_0x1c3d75(0x428)]=setTimeout(()=>{var _0x174777=_0x1c3d75;clearTimeout(this['_retryConnectingTimer']),this[_0x174777(0x428)]=null,this[_0x174777(0x34f)]();},_0x3fe7f8),this[_0x1c3d75(0x1fc)]+=0x1;}[_0x32c544(0x35b)](_0xe89400,_0x516cad){var _0x1cdfd8=_0x32c544;const {cmd:_0xbc8d6b}=_0x516cad;_0xbc8d6b===j[_0x1cdfd8(0x2ce)]&&!this['_socketReady']&&(_0xe89400[_0x1cdfd8(0x276)]=_0x516cad[_0x1cdfd8(0x4ba)][_0x1cdfd8(0x276)],this['_socket$']['next'](_0xe89400),this[_0x1cdfd8(0x377)][_0x1cdfd8(0x2b4)](me['ONLINE']),this[_0x1cdfd8(0x309)]=!0x0,this[_0x1cdfd8(0x29b)]=null),_0xbc8d6b===j['HEARTBEAT']&&this[_0x1cdfd8(0x4be)](),this[_0x1cdfd8(0x4ed)]();}[_0x32c544(0x4ed)](){var _0x572a80=_0x32c544,_0x135177;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x135177=this[_0x572a80(0x24d)][_0x572a80(0x38b)](ms))!=null?_0x135177:Is);}[_0x32c544(0x31d)](){var _0x29df19=_0x32c544;this['_socket']['send']({'cmd':j[_0x29df19(0x469)]}),this[_0x29df19(0x466)]();}['_waitForHeartbeatResponse'](){var _0x4008ce;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x4008ce=this['_configService']['getConfig'](di))!=null?_0x4008ce:fi);}['_clearHeartbeatTimer'](){var _0x5e4af9=_0x32c544;this[_0x5e4af9(0x454)]!=null&&(clearTimeout(this[_0x5e4af9(0x454)]),this['_sendHeartbeatTimer']=null);}[_0x32c544(0x4be)](){var _0x50450b=_0x32c544;this[_0x50450b(0x330)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};we=Ks([Re(0x0,_0x2fdf6c(_0x370bdb)),Re(0x1,_0x22fe2d),Re(0x2,_0x4edaf7),Re(0x3,Oi),Re(0x4,_0x2fdf6c(ve)),Re(0x5,_0x708160(Bs))],we);var qs=Object[_0x32c544(0x45c)],zs=(_0x577219,_0x2d81b2,_0x1e1cd5,_0x376e98)=>{for(var _0x4ca5bf=_0x376e98>0x1?void 0x0:_0x376e98?qs(_0x2d81b2,_0x1e1cd5):_0x2d81b2,_0x3ee9fc=_0x577219['length']-0x1,_0x319621;_0x3ee9fc>=0x0;_0x3ee9fc--)(_0x319621=_0x577219[_0x3ee9fc])&&(_0x4ca5bf=_0x319621(_0x4ca5bf)||_0x4ca5bf);return _0x4ca5bf;},Be=(_0x2909ff,_0x487dd4)=>(_0x54abf7,_0x144cc0)=>_0x487dd4(_0x54abf7,_0x144cc0,_0x2909ff);let nt=class extends _0x5b4d54{constructor(_0x5238d4,_0x3102b6,_0x7b9ac6,_0xbba4cd){var _0x978ba=_0x32c544,_0x4dc86d;super(),D(this,_0x978ba(0x1e0),new Map()),D(this,_0x978ba(0x387),new _0x2cbd13()),D(this,_0x978ba(0x267),this[_0x978ba(0x387)][_0x978ba(0x36f)]()),(this[_0x978ba(0x4d3)]=_0x5238d4,this[_0x978ba(0x2bf)]=_0x3102b6,this['_configService']=_0x7b9ac6,this[_0x978ba(0x2a6)]=_0xbba4cd,((_0x4dc86d=this['_configService']['getConfig'](K))==null?void 0x0:_0x4dc86d[_0x978ba(0x250)])!==!0x1&&this[_0x978ba(0x30f)]());}[_0x32c544(0x43d)](){var _0x3c34b2=_0x32c544;super[_0x3c34b2(0x43d)](),this[_0x3c34b2(0x1e0)][_0x3c34b2(0x2ea)](_0x17b4c0=>_0x17b4c0[_0x3c34b2(0x43d)]()),this['_entities'][_0x3c34b2(0x4f2)]();}[_0x32c544(0x402)](_0x251ade){var _0x24b381=_0x32c544,_0xc059e3;return(_0xc059e3=this[_0x24b381(0x1e0)]['get'](_0x251ade))!=null?_0xc059e3:null;}[_0x32c544(0x246)](_0x44b0bc){var _0x4b11b5=_0x32c544;const _0x9a7b09=this[_0x4b11b5(0x402)](_0x44b0bc);return _0x9a7b09?_0xeb2a1b(_0x9a7b09):this['_entityInit$'][_0x4b11b5(0x38a)](_0x28fc3d(_0x32f288=>_0x32f288[_0x4b11b5(0x29f)]===_0x44b0bc));}['readyForCollab'](_0x4bbc68){var _0x128776=_0x32c544;return _0x2071e3(this[_0x128776(0x246)](_0x4bbc68)[_0x128776(0x38a)](_0xcc690c(()=>{})));}[_0x32c544(0x30f)](){var _0x403a1d=_0x32c544;this[_0x403a1d(0x2a6)][_0x403a1d(0x3f3)](_0x2d1a18[_0x403a1d(0x49e)])[_0x403a1d(0x38a)](_0x303211(this[_0x403a1d(0x4e6)]),_0x16a8a6(0x10))['subscribe'](async _0x593170=>{var _0x33e1cc=_0x403a1d;const _0x33b629=_0x593170['getUnitId'](),_0x45bc27=await this['_startCollaboration'](_0x33b629,Q[_0x33e1cc(0x49e)]);this[_0x33e1cc(0x1e0)]['set'](_0x33b629,_0x45bc27);}),this['_univerInstanceService'][_0x403a1d(0x3f3)](_0x2d1a18[_0x403a1d(0x357)])['pipe'](_0x303211(this['dispose$']),_0x16a8a6(0x10))[_0x403a1d(0x38a)](_0x28fc3d(_0x41e367=>!_0x41e367[_0x403a1d(0x499)]()['startsWith']('__')))[_0x403a1d(0x45f)](async _0x1f098c=>{var _0x1caeb3=_0x403a1d;const _0x35fa85=_0x1f098c[_0x1caeb3(0x499)](),_0x5c753a=await this[_0x1caeb3(0x331)](_0x35fa85,Q[_0x1caeb3(0x357)]);this['_entities'][_0x1caeb3(0x4fa)](_0x35fa85,_0x5c753a);}),_0x578f19(this[_0x403a1d(0x2a6)][_0x403a1d(0x4de)](_0x2d1a18[_0x403a1d(0x49e)]),this[_0x403a1d(0x2a6)][_0x403a1d(0x4de)](_0x2d1a18['UNIVER_DOC']))[_0x403a1d(0x38a)](_0x303211(this[_0x403a1d(0x4e6)]))[_0x403a1d(0x45f)](_0x1391a1=>{var _0x507805=_0x403a1d;const _0x11ce14=_0x1391a1[_0x507805(0x499)](),_0x463b1e=this[_0x507805(0x1e0)][_0x507805(0x1f2)](_0x11ce14);_0x463b1e&&(_0x463b1e[_0x507805(0x43d)](),this[_0x507805(0x1e0)]['delete'](_0x11ce14));});}async['_startCollaboration'](_0x29adf1,_0x497a91){var _0x275ea6=_0x32c544;const _0x286c3f=await this[_0x275ea6(0x2bf)][_0x275ea6(0x404)](_0x29adf1),_0x1e7a47=this[_0x275ea6(0x4d3)][_0x275ea6(0x4a2)](this['_getCtorByUniverType'](_0x497a91),_0x29adf1,_0x497a91,_0x286c3f);return await _0x1e7a47[_0x275ea6(0x220)](),this[_0x275ea6(0x387)][_0x275ea6(0x2b4)](_0x1e7a47),_0x1e7a47;}[_0x32c544(0x437)](_0x331132){var _0x3c9cec=_0x32c544;switch(_0x331132){case Q[_0x3c9cec(0x357)]:return It;case Q['UNIVER_SHEET']:return St;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x331132);}}};nt=zs([Be(0x0,_0x2fdf6c(_0x370bdb)),Be(0x1,_0x2fdf6c(we)),Be(0x2,_0x4edaf7),Be(0x3,_0x9806b3)],nt);var Js=Object[_0x32c544(0x45c)],Xs=(_0x18e5da,_0x528109,_0x46d651,_0x39db7b)=>{var _0x1783e5=_0x32c544;for(var _0x3dd68b=_0x39db7b>0x1?void 0x0:_0x39db7b?Js(_0x528109,_0x46d651):_0x528109,_0x3c7f53=_0x18e5da[_0x1783e5(0x4c3)]-0x1,_0x4fa19f;_0x3c7f53>=0x0;_0x3c7f53--)(_0x4fa19f=_0x18e5da[_0x3c7f53])&&(_0x3dd68b=_0x4fa19f(_0x3dd68b)||_0x3dd68b);return _0x3dd68b;},Wt=(_0xcfba45,_0x1e10eb)=>(_0x282f9f,_0x509064)=>_0x1e10eb(_0x282f9f,_0x509064,_0xcfba45);const Zs='DEFAULT_FILE_NAME',Qs=_0x32c544(0x3b1);let gt=class extends _0x25f6f3{constructor(_0x414cec,_0x247d79){var _0x5c8d5e=_0x32c544;super(),this[_0x5c8d5e(0x2a6)]=_0x414cec,this[_0x5c8d5e(0x24d)]=_0x247d79,this['_init']();}[_0x32c544(0x30f)](){var _0x404a8f=_0x32c544;this['disposeWithMe'](this[_0x404a8f(0x2a6)][_0x404a8f(0x41f)][_0x404a8f(0x45f)](()=>{var _0x51e207=_0x404a8f,_0x53acaf;const _0x10cc5e=this[_0x51e207(0x2a6)][_0x51e207(0x4a3)]();let _0xbda372=(_0x53acaf=this[_0x51e207(0x24d)][_0x51e207(0x38b)](Zs))!=null?_0x53acaf:Qs;_0x10cc5e instanceof _0x469ca0&&(_0xbda372=_0x10cc5e[_0x51e207(0x44e)]),document['title']=_0xbda372;}));}};gt=Xs([Wt(0x0,_0x9806b3),Wt(0x1,_0x4edaf7)],gt);var en=Object[_0x32c544(0x45c)],tn=(_0x93dcc1,_0x3043f4,_0x1828f2,_0x1eb600)=>{for(var _0x3d1f2c=_0x1eb600>0x1?void 0x0:_0x1eb600?en(_0x3043f4,_0x1828f2):_0x3043f4,_0x447cc9=_0x93dcc1['length']-0x1,_0x310b21;_0x447cc9>=0x0;_0x447cc9--)(_0x310b21=_0x93dcc1[_0x447cc9])&&(_0x3d1f2c=_0x310b21(_0x3d1f2c)||_0x3d1f2c);return _0x3d1f2c;},dt=(_0x45455f,_0x1f37d1)=>(_0x4a0edf,_0x9567f5)=>_0x1f37d1(_0x4a0edf,_0x9567f5,_0x45455f);let rt=class{constructor(_0x201f42,_0x522761,_0x5c3664){var _0x37ab48=_0x32c544;this['_configService']=_0x201f42,this['_httpService']=_0x522761,this[_0x37ab48(0x462)]=_0x5c3664,this[_0x37ab48(0x220)]();}[_0x32c544(0x220)](){var _0x321128=_0x32c544;this[_0x321128(0x48a)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4176f4,_0x4d16a9)=>_0x4d16a9(_0x4176f4)[_0x321128(0x38a)](_0x425597(async _0x223a9e=>{var _0x4d1e33=_0x321128;const _0x386e21=_0x223a9e;if(_0x386e21[_0x4d1e33(0x3e7)]===0x191){if(typeof window>'u')throw new Error(_0x4d1e33(0x311));if(window[_0x4d1e33(0x28c)](this['localeService']['t'](_0x4d1e33(0x451)))){const _0x28b68f=window['encodeURIComponent'](window[_0x4d1e33(0x283)][_0x4d1e33(0x345)]);window[_0x4d1e33(0x283)][_0x4d1e33(0x345)]=this[_0x4d1e33(0x4c8)]()+_0x4d1e33(0x243)+_0x28b68f;}}return _0x386e21;}))});}[_0x32c544(0x4c8)](){var _0x3eb40d=_0x32c544,_0x48e9c7;const _0x107362=this['_configService']['getConfig'](K);return(_0x48e9c7=_0x107362==null?void 0x0:_0x107362[_0x3eb40d(0x501)])!=null?_0x48e9c7:Rs;}};rt=tn([dt(0x0,_0x4edaf7),dt(0x1,_0x2fdf6c(_0x2c6c5a)),dt(0x2,_0x2fdf6c(_0x268771))],rt);var sn=Object[_0x32c544(0x45c)],nn=(_0x5e6007,_0x41ca22,_0x392d63,_0x5011fa)=>{for(var _0x1ac62c=_0x5011fa>0x1?void 0x0:_0x5011fa?sn(_0x41ca22,_0x392d63):_0x41ca22,_0x227cc1=_0x5e6007['length']-0x1,_0x6814bf;_0x227cc1>=0x0;_0x227cc1--)(_0x6814bf=_0x5e6007[_0x227cc1])&&(_0x1ac62c=_0x6814bf(_0x1ac62c)||_0x1ac62c);return _0x1ac62c;},Yt=(_0x67149e,_0x5d709f)=>(_0x3a45f9,_0x10e8d9)=>_0x5d709f(_0x3a45f9,_0x10e8d9,_0x67149e);const rn=_0x32c544(0x455);let Tt=class extends _0x25f6f3{constructor(_0x30be98,_0x3aef3a){var _0x15c167=_0x32c544;super(),this[_0x15c167(0x30b)]=_0x30be98,this[_0x15c167(0x24d)]=_0x3aef3a,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x5e8ff0=_0x32c544;const _0x58ad6e=this;this[_0x5e8ff0(0x302)](this['_HTTPService'][_0x5e8ff0(0x2a2)]({'priority':0x3e7,'interceptor':_0x41a80d({'isMatch'(_0x4e1379){var _0xd264e=_0x5e8ff0,_0x16b6a8;if(_0x4e1379[_0xd264e(0x305)]===_0xd264e(0x262)&&((_0x16b6a8=_0x4e1379[_0xd264e(0x3b6)])!=null&&_0x16b6a8['body'])){const {objectID:_0x29f1c3,objectType:_0x44196a}=_0x4e1379[_0xd264e(0x3b6)][_0xd264e(0x306)]||{};if(!_0x29f1c3||_0x44196a===void 0x0)return!0x1;const _0x56644b=_0x58ad6e['_getAPIPrefixPath']()+'/'+_0x44196a+_0xd264e(0x2d2)+_0x29f1c3+_0xd264e(0x477);if(_0x4e1379['url']===_0x56644b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4f4eca){var _0x5a130c=_0x5e8ff0,_0x1c3563;return(_0x1c3563=_0x4f4eca['requestParams'])==null?void 0x0:_0x1c3563[_0x5a130c(0x306)];},'mergeParamsToRequest'(_0x31e4e6,_0x2eeaa4){var _0x29ca98=_0x5e8ff0;const _0x479f2a=_0x58ad6e[_0x29ca98(0x27e)]()+_0x29ca98(0x4b0),_0x31c0ea=_0x31e4e6['reduce']((_0x5c0c30,_0x148e53)=>{var _0x26e5b0=_0x29ca98;const {unitID:_0x29784b,objectID:_0x20078b,objectType:_0xeda293,actions:_0x1976a7}=_0x148e53;return _0x5c0c30[_0x29784b]||(_0x5c0c30[_0x29784b]={}),_0x5c0c30[_0x29784b][_0x20078b]||(_0x5c0c30[_0x29784b][_0x20078b]={'objectID':_0x20078b,'objectType':_0xeda293,'actions':[]}),_0x5c0c30[_0x29784b][_0x20078b][_0x26e5b0(0x4e4)][_0x26e5b0(0x438)](..._0x1976a7),_0x5c0c30;},{}),_0x5170d3=[];for(const _0x29953d in _0x31c0ea)for(const _0x29e010 in _0x31c0ea[_0x29953d]){const {actions:_0x436bfb,objectType:_0x284500}=_0x31c0ea[_0x29953d][_0x29e010],_0x3ca80e=[...new Set(_0x436bfb)];_0x5170d3[_0x29ca98(0x438)]({'unitID':_0x29953d,'objectID':_0x29e010,'objectType':_0x284500,'actions':_0x3ca80e});}return new _0x390618(_0x29ca98(0x262),_0x479f2a,{'headers':_0x2eeaa4[_0x29ca98(0x3a2)],'withCredentials':_0x2eeaa4[_0x29ca98(0x418)],'responseType':_0x2eeaa4[_0x29ca98(0x268)],'body':{'requests':_0x5170d3}});}},{'distributeResult'(_0xdb1ab3,_0x2a5352){var _0x2ce5e1=_0x5e8ff0;const {objectActions:_0x58ff15}=_0xdb1ab3;return _0x2a5352[_0x2ce5e1(0x341)](_0x21d65d=>{var _0x589b57=_0x2ce5e1;const {unitID:_0xa06f44,objectID:_0x672722,actions:_0x48d141}=_0x21d65d,_0x1ccd41=_0x58ff15[_0x589b57(0x1fa)](_0x28320f=>_0x28320f[_0x589b57(0x29f)]===_0xa06f44&&_0x28320f[_0x589b57(0x49a)]===_0x672722),_0x1c5082=_0x48d141[_0x589b57(0x341)](_0x149d95=>_0x1ccd41==null?void 0x0:_0x1ccd41[_0x589b57(0x4e4)][_0x589b57(0x1fa)](_0x177937=>_0x177937['action']===_0x149d95))[_0x589b57(0x3ac)](_0x39e7e3=>!!_0x39e7e3);return{'config':_0x21d65d,'result':{'actions':_0x1c5082,'error':_0xdb1ab3[_0x589b57(0x333)]}};});}})}));}[_0x32c544(0x27e)](){var _0x103ff6=_0x32c544,_0xe6b866;const _0x26bf13=this[_0x103ff6(0x24d)][_0x103ff6(0x38b)](K);return(_0xe6b866=_0x26bf13==null?void 0x0:_0x26bf13[_0x103ff6(0x45b)])!=null?_0xe6b866:rn;}async['create'](_0x43a375){var _0xccf32d=_0x32c544;const _0xda0de8=this[_0xccf32d(0x27e)]()+'/'+_0x43a375[_0xccf32d(0x44b)]+_0xccf32d(0x228);return(await this['_HTTPService'][_0xccf32d(0x3a6)](_0xda0de8,{'body':_0x43a375}))[_0xccf32d(0x306)][_0xccf32d(0x49a)]||'';}async[_0x32c544(0x4cb)](_0x4217d1){var _0x2a1c0a=_0x32c544;const _0xfd440=this['_getAPIPrefixPath']()+_0x2a1c0a(0x32b);return(await this[_0x2a1c0a(0x30b)][_0x2a1c0a(0x3a6)](_0xfd440,{'body':_0x4217d1}))['body']['objects'];}async[_0x32c544(0x429)](_0x1cf2d8){var _0x10f269=_0x32c544,_0x104cba,_0x4aa951;const _0x36c80e=this[_0x10f269(0x27e)]()+'/'+_0x1cf2d8['objectType']+_0x10f269(0x2d2)+_0x1cf2d8[_0x10f269(0x49a)],_0x2df941=await this[_0x10f269(0x30b)][_0x10f269(0x2c5)](_0x36c80e,{'body':_0x1cf2d8});if(((_0x4aa951=(_0x104cba=_0x2df941==null?void 0x0:_0x2df941[_0x10f269(0x306)])==null?void 0x0:_0x104cba['error'])==null?void 0x0:_0x4aa951[_0x10f269(0x4a1)])!==0x1)throw new Error(_0x10f269(0x22a));}async['allowed'](_0x2a0b16){var _0x1b54d5=_0x32c544;const _0x387886=this[_0x1b54d5(0x27e)]()+'/'+_0x2a0b16['objectType']+'/object/'+_0x2a0b16['objectID']+_0x1b54d5(0x477);return(await this[_0x1b54d5(0x30b)][_0x1b54d5(0x3a6)](_0x387886,{'body':_0x2a0b16}))['body'][_0x1b54d5(0x4e4)];}async[_0x32c544(0x321)](_0x40cfa6){var _0x32b296=_0x32c544;const _0x275d36=this['_getAPIPrefixPath']()+_0x32b296(0x4b0);return(await this[_0x32b296(0x30b)][_0x32b296(0x3a6)](_0x275d36,{'body':{'requests':_0x40cfa6}}))[_0x32b296(0x306)][_0x32b296(0x1de)];}async['listRoles'](_0x52ea9c){var _0x3902d2=_0x32c544;const _0x29091e=this[_0x3902d2(0x27e)]()+'/'+_0x52ea9c[_0x3902d2(0x44b)]+'/role',_0x592ef9=await this[_0x3902d2(0x30b)][_0x3902d2(0x3a6)](_0x29091e,{'body':_0x52ea9c});return{'roles':_0x592ef9[_0x3902d2(0x306)][_0x3902d2(0x4ea)],'actions':_0x592ef9[_0x3902d2(0x306)]['actions']};}async[_0x32c544(0x349)](_0x56bda4){var _0xf50a60=_0x32c544;const _0x6938f2=this[_0xf50a60(0x27e)]()+_0xf50a60(0x3fc);await this['_HTTPService'][_0xf50a60(0x47d)](_0x6938f2,{'params':{'collaboratorID':_0x56bda4[_0xf50a60(0x30e)],'objectID':_0x56bda4[_0xf50a60(0x49a)],'unitID':_0x56bda4[_0xf50a60(0x29f)]}});}async[_0x32c544(0x3e1)](_0x1d7b0e){var _0x5e9aff=_0x32c544;const _0x1f17d8=this[_0x5e9aff(0x27e)]()+_0x5e9aff(0x3fc);await this[_0x5e9aff(0x30b)][_0x5e9aff(0x3fa)](_0x1f17d8,{'body':_0x1d7b0e});}async[_0x32c544(0x4c6)](_0x24a16a){var _0x17add5=_0x32c544;const _0x4a0741=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x17add5(0x3a6)](_0x4a0741,{'body':_0x24a16a});}async[_0x32c544(0x2df)](_0x15822b){var _0x371881=_0x32c544;const _0x3d7a0d=this[_0x371881(0x27e)]()+_0x371881(0x3fc);return(await this[_0x371881(0x30b)][_0x371881(0x1f2)](_0x3d7a0d,{'params':{'objectID':_0x15822b[_0x371881(0x49a)],'unitID':_0x15822b[_0x371881(0x29f)]}}))[_0x371881(0x306)][_0x371881(0x3f6)];}async[_0x32c544(0x3d4)](_0x26054c){var _0xeccc1b=_0x32c544;const _0x2eb7c9=this[_0xeccc1b(0x27e)]()+_0xeccc1b(0x3fc);await this[_0xeccc1b(0x30b)]['put'](_0x2eb7c9,{'body':_0x26054c});}};Tt=nn([Yt(0x0,_0x2fdf6c(_0x2c6c5a)),Yt(0x1,_0x2fdf6c(_0x4edaf7))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0xb1a716){var _0x891405=_0x32c544;return _0xb1a716&&_0xb1a716['__esModule']&&Object[_0x891405(0x4a9)]['hasOwnProperty'][_0x891405(0x446)](_0xb1a716,_0x891405(0x273))?_0xb1a716[_0x891405(0x273)]:_0xb1a716;}var Ve={'exports':{}};function an(_0x1d36ce){var _0x2f0c0e=_0x32c544;throw new Error(_0x2f0c0e(0x242)+_0x1d36ce+_0x2f0c0e(0x44a));}var Ge={'exports':{}},on=Ge['exports'],Kt;function ie(){return Kt||(Kt=0x1,function(_0x4c0fd1,_0x528419){(function(_0x4aac7b,_0x59691){var _0x3aa782=_0x4b66;_0x4c0fd1[_0x3aa782(0x407)]=_0x59691();}(on,function(){var _0x85b0fe=_0x85b0fe||function(_0x43f0b7,_0x588663){var _0x4a2f0d=_0x4b66,_0x3cd2b5;if(typeof window<'u'&&window['crypto']&&(_0x3cd2b5=window[_0x4a2f0d(0x4fc)]),typeof self<'u'&&self[_0x4a2f0d(0x4fc)]&&(_0x3cd2b5=self[_0x4a2f0d(0x4fc)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3cd2b5=globalThis['crypto']),!_0x3cd2b5&&typeof window<'u'&&window[_0x4a2f0d(0x312)]&&(_0x3cd2b5=window[_0x4a2f0d(0x312)]),!_0x3cd2b5&&typeof ft<'u'&&ft[_0x4a2f0d(0x4fc)]&&(_0x3cd2b5=ft[_0x4a2f0d(0x4fc)]),!_0x3cd2b5&&typeof an==_0x4a2f0d(0x294))try{_0x3cd2b5=require('crypto');}catch{}var _0x50666e=function(){var _0x354dca=_0x4a2f0d;if(_0x3cd2b5){if(typeof _0x3cd2b5[_0x354dca(0x43a)]==_0x354dca(0x294))try{return _0x3cd2b5['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3cd2b5['randomBytes']==_0x354dca(0x294))try{return _0x3cd2b5[_0x354dca(0x4dd)](0x4)[_0x354dca(0x1e8)]();}catch{}}throw new Error(_0x354dca(0x450));},_0x53155b=Object[_0x4a2f0d(0x202)]||(function(){function _0x26e5c6(){}return function(_0x2c82eb){var _0x5c252b=_0x4b66,_0x4b57e4;return _0x26e5c6[_0x5c252b(0x4a9)]=_0x2c82eb,_0x4b57e4=new _0x26e5c6(),_0x26e5c6[_0x5c252b(0x4a9)]=null,_0x4b57e4;};}()),_0x5ae49b={},_0x116683=_0x5ae49b[_0x4a2f0d(0x371)]={},_0x32813f=_0x116683[_0x4a2f0d(0x43f)]=(function(){return{'extend':function(_0x478513){var _0x49beb0=_0x4b66,_0x239243=_0x53155b(this);return _0x478513&&_0x239243[_0x49beb0(0x286)](_0x478513),(!_0x239243['hasOwnProperty']('init')||this[_0x49beb0(0x220)]===_0x239243['init'])&&(_0x239243[_0x49beb0(0x220)]=function(){var _0xa521cb=_0x49beb0;_0x239243[_0xa521cb(0x4eb)][_0xa521cb(0x220)][_0xa521cb(0x49d)](this,arguments);}),_0x239243[_0x49beb0(0x220)][_0x49beb0(0x4a9)]=_0x239243,_0x239243[_0x49beb0(0x4eb)]=this,_0x239243;},'create':function(){var _0x28c796=_0x4b66,_0x111110=this['extend']();return _0x111110[_0x28c796(0x220)][_0x28c796(0x49d)](_0x111110,arguments),_0x111110;},'init':function(){},'mixIn':function(_0xdd4c38){var _0x22891e=_0x4b66;for(var _0x29448b in _0xdd4c38)_0xdd4c38[_0x22891e(0x233)](_0x29448b)&&(this[_0x29448b]=_0xdd4c38[_0x29448b]);_0xdd4c38[_0x22891e(0x233)](_0x22891e(0x295))&&(this[_0x22891e(0x295)]=_0xdd4c38[_0x22891e(0x295)]);},'clone':function(){var _0x403cb0=_0x4b66;return this[_0x403cb0(0x220)][_0x403cb0(0x4a9)][_0x403cb0(0x255)](this);}};}()),_0x5ee31e=_0x116683[_0x4a2f0d(0x3d9)]=_0x32813f['extend']({'init':function(_0x1c4918,_0x53cef9){var _0xd2bab9=_0x4a2f0d;_0x1c4918=this[_0xd2bab9(0x2d0)]=_0x1c4918||[],_0x53cef9!=_0x588663?this['sigBytes']=_0x53cef9:this[_0xd2bab9(0x4fe)]=_0x1c4918[_0xd2bab9(0x4c3)]*0x4;},'toString':function(_0x5222f7){var _0xf4fb28=_0x4a2f0d;return(_0x5222f7||_0x33186e)[_0xf4fb28(0x342)](this);},'concat':function(_0x59f324){var _0x10aa35=_0x4a2f0d,_0x365d34=this[_0x10aa35(0x2d0)],_0x15be99=_0x59f324[_0x10aa35(0x2d0)],_0x1681c9=this[_0x10aa35(0x4fe)],_0x2f936b=_0x59f324[_0x10aa35(0x4fe)];if(this[_0x10aa35(0x430)](),_0x1681c9%0x4)for(var _0x1806ad=0x0;_0x1806ad<_0x2f936b;_0x1806ad++){var _0x1b6ac0=_0x15be99[_0x1806ad>>>0x2]>>>0x18-_0x1806ad%0x4*0x8&0xff;_0x365d34[_0x1681c9+_0x1806ad>>>0x2]|=_0x1b6ac0<<0x18-(_0x1681c9+_0x1806ad)%0x4*0x8;}else{for(var _0x2bca1f=0x0;_0x2bca1f<_0x2f936b;_0x2bca1f+=0x4)_0x365d34[_0x1681c9+_0x2bca1f>>>0x2]=_0x15be99[_0x2bca1f>>>0x2];}return this[_0x10aa35(0x4fe)]+=_0x2f936b,this;},'clamp':function(){var _0x160b85=_0x4a2f0d,_0x1fa1b0=this[_0x160b85(0x2d0)],_0x158e28=this[_0x160b85(0x4fe)];_0x1fa1b0[_0x158e28>>>0x2]&=0xffffffff<<0x20-_0x158e28%0x4*0x8,_0x1fa1b0['length']=_0x43f0b7['ceil'](_0x158e28/0x4);},'clone':function(){var _0x3ac25c=_0x4a2f0d,_0x361480=_0x32813f['clone']['call'](this);return _0x361480[_0x3ac25c(0x2d0)]=this[_0x3ac25c(0x2d0)][_0x3ac25c(0x3de)](0x0),_0x361480;},'random':function(_0x1fc71f){var _0x89decc=_0x4a2f0d;for(var _0x46ecaf=[],_0x51139b=0x0;_0x51139b<_0x1fc71f;_0x51139b+=0x4)_0x46ecaf[_0x89decc(0x438)](_0x50666e());return new _0x5ee31e[(_0x89decc(0x220))](_0x46ecaf,_0x1fc71f);}}),_0x49fcc6=_0x5ae49b[_0x4a2f0d(0x314)]={},_0x33186e=_0x49fcc6['Hex']={'stringify':function(_0x2f38ea){var _0x5c83eb=_0x4a2f0d;for(var _0x45bdd0=_0x2f38ea['words'],_0x5abade=_0x2f38ea['sigBytes'],_0xc5cd32=[],_0x4e1b78=0x0;_0x4e1b78<_0x5abade;_0x4e1b78++){var _0x37fd9f=_0x45bdd0[_0x4e1b78>>>0x2]>>>0x18-_0x4e1b78%0x4*0x8&0xff;_0xc5cd32[_0x5c83eb(0x438)]((_0x37fd9f>>>0x4)['toString'](0x10)),_0xc5cd32[_0x5c83eb(0x438)]((_0x37fd9f&0xf)[_0x5c83eb(0x295)](0x10));}return _0xc5cd32['join']('');},'parse':function(_0x40fbd4){var _0x9777b7=_0x4a2f0d;for(var _0x16304c=_0x40fbd4[_0x9777b7(0x4c3)],_0x1ab0a4=[],_0xcd63db=0x0;_0xcd63db<_0x16304c;_0xcd63db+=0x2)_0x1ab0a4[_0xcd63db>>>0x3]|=parseInt(_0x40fbd4[_0x9777b7(0x2da)](_0xcd63db,0x2),0x10)<<0x18-_0xcd63db%0x8*0x4;return new _0x5ee31e[(_0x9777b7(0x220))](_0x1ab0a4,_0x16304c/0x2);}},_0x22cb68=_0x49fcc6[_0x4a2f0d(0x323)]={'stringify':function(_0x4471aa){var _0x52d54f=_0x4a2f0d;for(var _0x2a2f3d=_0x4471aa[_0x52d54f(0x2d0)],_0x7031b0=_0x4471aa[_0x52d54f(0x4fe)],_0x5852ad=[],_0x58b1c1=0x0;_0x58b1c1<_0x7031b0;_0x58b1c1++){var _0x1f1dbd=_0x2a2f3d[_0x58b1c1>>>0x2]>>>0x18-_0x58b1c1%0x4*0x8&0xff;_0x5852ad[_0x52d54f(0x438)](String[_0x52d54f(0x2e0)](_0x1f1dbd));}return _0x5852ad['join']('');},'parse':function(_0x10bfc8){var _0x2a0c1f=_0x4a2f0d;for(var _0x27e22e=_0x10bfc8[_0x2a0c1f(0x4c3)],_0x18da97=[],_0x5a14ec=0x0;_0x5a14ec<_0x27e22e;_0x5a14ec++)_0x18da97[_0x5a14ec>>>0x2]|=(_0x10bfc8[_0x2a0c1f(0x372)](_0x5a14ec)&0xff)<<0x18-_0x5a14ec%0x4*0x8;return new _0x5ee31e[(_0x2a0c1f(0x220))](_0x18da97,_0x27e22e);}},_0x5a524c=_0x49fcc6['Utf8']={'stringify':function(_0x315fee){try{return decodeURIComponent(escape(_0x22cb68['stringify'](_0x315fee)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x32f965){var _0x402ed6=_0x4a2f0d;return _0x22cb68[_0x402ed6(0x244)](unescape(encodeURIComponent(_0x32f965)));}},_0x1c41e8=_0x116683[_0x4a2f0d(0x272)]=_0x32813f[_0x4a2f0d(0x255)]({'reset':function(){var _0x54a5e8=_0x4a2f0d;this[_0x54a5e8(0x367)]=new _0x5ee31e[(_0x54a5e8(0x220))](),this[_0x54a5e8(0x281)]=0x0;},'_append':function(_0x54b7ff){var _0x50e72a=_0x4a2f0d;typeof _0x54b7ff==_0x50e72a(0x238)&&(_0x54b7ff=_0x5a524c['parse'](_0x54b7ff)),this['_data'][_0x50e72a(0x215)](_0x54b7ff),this[_0x50e72a(0x281)]+=_0x54b7ff[_0x50e72a(0x4fe)];},'_process':function(_0x4b83ff){var _0x30de10=_0x4a2f0d,_0x55f56d,_0x57c919=this[_0x30de10(0x367)],_0x2bc8ec=_0x57c919[_0x30de10(0x2d0)],_0x596e0f=_0x57c919[_0x30de10(0x4fe)],_0x517c8a=this[_0x30de10(0x348)],_0x4741af=_0x517c8a*0x4,_0x34e242=_0x596e0f/_0x4741af;_0x4b83ff?_0x34e242=_0x43f0b7[_0x30de10(0x3ca)](_0x34e242):_0x34e242=_0x43f0b7[_0x30de10(0x408)]((_0x34e242|0x0)-this[_0x30de10(0x33f)],0x0);var _0x149e8c=_0x34e242*_0x517c8a,_0x1c6d92=_0x43f0b7[_0x30de10(0x39e)](_0x149e8c*0x4,_0x596e0f);if(_0x149e8c){for(var _0x5b3c8a=0x0;_0x5b3c8a<_0x149e8c;_0x5b3c8a+=_0x517c8a)this[_0x30de10(0x328)](_0x2bc8ec,_0x5b3c8a);_0x55f56d=_0x2bc8ec[_0x30de10(0x2d5)](0x0,_0x149e8c),_0x57c919[_0x30de10(0x4fe)]-=_0x1c6d92;}return new _0x5ee31e['init'](_0x55f56d,_0x1c6d92);},'clone':function(){var _0x153bad=_0x4a2f0d,_0x232ec5=_0x32813f['clone']['call'](this);return _0x232ec5[_0x153bad(0x367)]=this[_0x153bad(0x367)][_0x153bad(0x3e9)](),_0x232ec5;},'_minBufferSize':0x0});_0x116683[_0x4a2f0d(0x4cf)]=_0x1c41e8['extend']({'cfg':_0x32813f[_0x4a2f0d(0x255)](),'init':function(_0x4bd2b9){var _0x5c730c=_0x4a2f0d;this[_0x5c730c(0x3cc)]=this[_0x5c730c(0x3cc)][_0x5c730c(0x255)](_0x4bd2b9),this[_0x5c730c(0x373)]();},'reset':function(){var _0xa77c2e=_0x4a2f0d;_0x1c41e8[_0xa77c2e(0x373)]['call'](this),this['_doReset']();},'update':function(_0x34edcf){var _0x1f973b=_0x4a2f0d;return this[_0x1f973b(0x472)](_0x34edcf),this[_0x1f973b(0x2ef)](),this;},'finalize':function(_0x37b932){var _0x51e945=_0x4a2f0d;_0x37b932&&this['_append'](_0x37b932);var _0x59cdab=this[_0x51e945(0x1eb)]();return _0x59cdab;},'blockSize':0x10,'_createHelper':function(_0x2a1b32){return function(_0x4eeb85,_0x8e740a){var _0x572cc1=_0x4b66;return new _0x2a1b32[(_0x572cc1(0x220))](_0x8e740a)[_0x572cc1(0x368)](_0x4eeb85);};},'_createHmacHelper':function(_0x57f3f0){return function(_0x3ca9a7,_0x519520){var _0x4167f5=_0x4b66;return new _0x2841f['HMAC']['init'](_0x57f3f0,_0x519520)[_0x4167f5(0x368)](_0x3ca9a7);};}});var _0x2841f=_0x5ae49b[_0x4a2f0d(0x22b)]={};return _0x5ae49b;}(Math);return _0x85b0fe;}));}(Ge)),Ge['exports'];}var We={'exports':{}},cn=We[_0x32c544(0x407)],qt;function Ri(){return qt||(qt=0x1,function(_0x325672,_0x2a506b){(function(_0xd5677b,_0x5b9944){_0x325672['exports']=_0x5b9944(ie());}(cn,function(_0x37b2e6){var _0x27f7c5=_0x4b66;return(function(){var _0x9dcd21=_0x4b66,_0x51a3b6=_0x37b2e6,_0x430133=_0x51a3b6['lib'],_0x31b96f=_0x430133[_0x9dcd21(0x3d9)],_0x303a8e=_0x51a3b6[_0x9dcd21(0x314)];_0x303a8e[_0x9dcd21(0x2f3)]={'stringify':function(_0xbd8a40){var _0x3fa795=_0x9dcd21,_0x4b588e=_0xbd8a40['words'],_0x2918d1=_0xbd8a40[_0x3fa795(0x4fe)],_0x6d3256=this[_0x3fa795(0x3b9)];_0xbd8a40[_0x3fa795(0x430)]();for(var _0x2caf77=[],_0x2d7029=0x0;_0x2d7029<_0x2918d1;_0x2d7029+=0x3)for(var _0x38d6f2=_0x4b588e[_0x2d7029>>>0x2]>>>0x18-_0x2d7029%0x4*0x8&0xff,_0x3d8eb8=_0x4b588e[_0x2d7029+0x1>>>0x2]>>>0x18-(_0x2d7029+0x1)%0x4*0x8&0xff,_0x474bd5=_0x4b588e[_0x2d7029+0x2>>>0x2]>>>0x18-(_0x2d7029+0x2)%0x4*0x8&0xff,_0x507c2a=_0x38d6f2<<0x10|_0x3d8eb8<<0x8|_0x474bd5,_0x2b25b3=0x0;_0x2b25b3<0x4&&_0x2d7029+_0x2b25b3*0.75<_0x2918d1;_0x2b25b3++)_0x2caf77['push'](_0x6d3256[_0x3fa795(0x1f7)](_0x507c2a>>>0x6*(0x3-_0x2b25b3)&0x3f));var _0x137c18=_0x6d3256[_0x3fa795(0x1f7)](0x40);if(_0x137c18){for(;_0x2caf77[_0x3fa795(0x4c3)]%0x4;)_0x2caf77[_0x3fa795(0x438)](_0x137c18);}return _0x2caf77[_0x3fa795(0x241)]('');},'parse':function(_0x1ad3e3){var _0x7d79b1=_0x9dcd21,_0x2e80bd=_0x1ad3e3[_0x7d79b1(0x4c3)],_0x1ece9b=this[_0x7d79b1(0x3b9)],_0x45ab51=this[_0x7d79b1(0x2fe)];if(!_0x45ab51){_0x45ab51=this[_0x7d79b1(0x2fe)]=[];for(var _0x327a65=0x0;_0x327a65<_0x1ece9b[_0x7d79b1(0x4c3)];_0x327a65++)_0x45ab51[_0x1ece9b['charCodeAt'](_0x327a65)]=_0x327a65;}var _0x14b3ee=_0x1ece9b[_0x7d79b1(0x1f7)](0x40);if(_0x14b3ee){var _0x13ed4b=_0x1ad3e3[_0x7d79b1(0x30c)](_0x14b3ee);_0x13ed4b!==-0x1&&(_0x2e80bd=_0x13ed4b);}return _0xc51161(_0x1ad3e3,_0x2e80bd,_0x45ab51);},'_map':_0x9dcd21(0x1fd)};function _0xc51161(_0x5b49ba,_0x2e8e56,_0x1044b9){var _0x4f65b1=_0x9dcd21;for(var _0x2c4ceb=[],_0x562922=0x0,_0x4a74cc=0x0;_0x4a74cc<_0x2e8e56;_0x4a74cc++)if(_0x4a74cc%0x4){var _0x27879f=_0x1044b9[_0x5b49ba[_0x4f65b1(0x372)](_0x4a74cc-0x1)]<<_0x4a74cc%0x4*0x2,_0x2c8a21=_0x1044b9[_0x5b49ba[_0x4f65b1(0x372)](_0x4a74cc)]>>>0x6-_0x4a74cc%0x4*0x2,_0x11d312=_0x27879f|_0x2c8a21;_0x2c4ceb[_0x562922>>>0x2]|=_0x11d312<<0x18-_0x562922%0x4*0x8,_0x562922++;}return _0x31b96f[_0x4f65b1(0x202)](_0x2c4ceb,_0x562922);}}()),_0x37b2e6['enc'][_0x27f7c5(0x2f3)];}));}(We)),We['exports'];}var Ye={'exports':{}},_n=Ye[_0x32c544(0x407)],zt;function hn(){var _0x39108a=_0x32c544;return zt||(zt=0x1,function(_0x99d701,_0x475cc6){(function(_0x74f5af,_0x1b3e79){var _0x52aae5=_0x4b66;_0x99d701[_0x52aae5(0x407)]=_0x1b3e79(ie());}(_n,function(_0x20af08){var _0x504580=_0x4b66;return function(_0x213095){var _0xa5aaa6=_0x4b66,_0xebc78=_0x20af08,_0x3f298f=_0xebc78['lib'],_0x5b6d8c=_0x3f298f[_0xa5aaa6(0x3d9)],_0x239bf3=_0x3f298f['Hasher'],_0x5ad139=_0xebc78[_0xa5aaa6(0x22b)],_0x40c537=[];(function(){var _0x3f2851=_0xa5aaa6;for(var _0xad791f=0x0;_0xad791f<0x40;_0xad791f++)_0x40c537[_0xad791f]=_0x213095[_0x3f2851(0x44c)](_0x213095[_0x3f2851(0x48c)](_0xad791f+0x1))*0x100000000|0x0;}());var _0x2b792=_0x5ad139['MD5']=_0x239bf3['extend']({'_doReset':function(){var _0x368497=_0xa5aaa6;this[_0x368497(0x503)]=new _0x5b6d8c[(_0x368497(0x220))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5c9ace,_0x26f1c7){var _0x32dc74=_0xa5aaa6;for(var _0x481313=0x0;_0x481313<0x10;_0x481313++){var _0x4bdbab=_0x26f1c7+_0x481313,_0x285242=_0x5c9ace[_0x4bdbab];_0x5c9ace[_0x4bdbab]=(_0x285242<<0x8|_0x285242>>>0x18)&0xff00ff|(_0x285242<<0x18|_0x285242>>>0x8)&0xff00ff00;}var _0x3b0229=this['_hash'][_0x32dc74(0x2d0)],_0x39bf31=_0x5c9ace[_0x26f1c7+0x0],_0x5c9d5e=_0x5c9ace[_0x26f1c7+0x1],_0x592b55=_0x5c9ace[_0x26f1c7+0x2],_0x53b44e=_0x5c9ace[_0x26f1c7+0x3],_0x21b354=_0x5c9ace[_0x26f1c7+0x4],_0x17d095=_0x5c9ace[_0x26f1c7+0x5],_0x4b6bba=_0x5c9ace[_0x26f1c7+0x6],_0x3142aa=_0x5c9ace[_0x26f1c7+0x7],_0x34dedd=_0x5c9ace[_0x26f1c7+0x8],_0x39f617=_0x5c9ace[_0x26f1c7+0x9],_0x867573=_0x5c9ace[_0x26f1c7+0xa],_0x18633e=_0x5c9ace[_0x26f1c7+0xb],_0x26ba8f=_0x5c9ace[_0x26f1c7+0xc],_0x101bda=_0x5c9ace[_0x26f1c7+0xd],_0x299b3b=_0x5c9ace[_0x26f1c7+0xe],_0x335312=_0x5c9ace[_0x26f1c7+0xf],_0x129bef=_0x3b0229[0x0],_0x50c16e=_0x3b0229[0x1],_0x196ebe=_0x3b0229[0x2],_0x3b5b3b=_0x3b0229[0x3];_0x129bef=_0x2b6938(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x39bf31,0x7,_0x40c537[0x0]),_0x3b5b3b=_0x2b6938(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x5c9d5e,0xc,_0x40c537[0x1]),_0x196ebe=_0x2b6938(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x592b55,0x11,_0x40c537[0x2]),_0x50c16e=_0x2b6938(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x53b44e,0x16,_0x40c537[0x3]),_0x129bef=_0x2b6938(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x21b354,0x7,_0x40c537[0x4]),_0x3b5b3b=_0x2b6938(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x17d095,0xc,_0x40c537[0x5]),_0x196ebe=_0x2b6938(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x4b6bba,0x11,_0x40c537[0x6]),_0x50c16e=_0x2b6938(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x3142aa,0x16,_0x40c537[0x7]),_0x129bef=_0x2b6938(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x34dedd,0x7,_0x40c537[0x8]),_0x3b5b3b=_0x2b6938(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x39f617,0xc,_0x40c537[0x9]),_0x196ebe=_0x2b6938(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x867573,0x11,_0x40c537[0xa]),_0x50c16e=_0x2b6938(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x18633e,0x16,_0x40c537[0xb]),_0x129bef=_0x2b6938(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x26ba8f,0x7,_0x40c537[0xc]),_0x3b5b3b=_0x2b6938(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x101bda,0xc,_0x40c537[0xd]),_0x196ebe=_0x2b6938(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x299b3b,0x11,_0x40c537[0xe]),_0x50c16e=_0x2b6938(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x335312,0x16,_0x40c537[0xf]),_0x129bef=_0xf8e79c(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x5c9d5e,0x5,_0x40c537[0x10]),_0x3b5b3b=_0xf8e79c(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x4b6bba,0x9,_0x40c537[0x11]),_0x196ebe=_0xf8e79c(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x18633e,0xe,_0x40c537[0x12]),_0x50c16e=_0xf8e79c(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x39bf31,0x14,_0x40c537[0x13]),_0x129bef=_0xf8e79c(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x17d095,0x5,_0x40c537[0x14]),_0x3b5b3b=_0xf8e79c(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x867573,0x9,_0x40c537[0x15]),_0x196ebe=_0xf8e79c(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x335312,0xe,_0x40c537[0x16]),_0x50c16e=_0xf8e79c(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x21b354,0x14,_0x40c537[0x17]),_0x129bef=_0xf8e79c(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x39f617,0x5,_0x40c537[0x18]),_0x3b5b3b=_0xf8e79c(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x299b3b,0x9,_0x40c537[0x19]),_0x196ebe=_0xf8e79c(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x53b44e,0xe,_0x40c537[0x1a]),_0x50c16e=_0xf8e79c(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x34dedd,0x14,_0x40c537[0x1b]),_0x129bef=_0xf8e79c(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x101bda,0x5,_0x40c537[0x1c]),_0x3b5b3b=_0xf8e79c(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x592b55,0x9,_0x40c537[0x1d]),_0x196ebe=_0xf8e79c(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x3142aa,0xe,_0x40c537[0x1e]),_0x50c16e=_0xf8e79c(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x26ba8f,0x14,_0x40c537[0x1f]),_0x129bef=_0x241f0a(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x17d095,0x4,_0x40c537[0x20]),_0x3b5b3b=_0x241f0a(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x34dedd,0xb,_0x40c537[0x21]),_0x196ebe=_0x241f0a(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x18633e,0x10,_0x40c537[0x22]),_0x50c16e=_0x241f0a(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x299b3b,0x17,_0x40c537[0x23]),_0x129bef=_0x241f0a(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x5c9d5e,0x4,_0x40c537[0x24]),_0x3b5b3b=_0x241f0a(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x21b354,0xb,_0x40c537[0x25]),_0x196ebe=_0x241f0a(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x3142aa,0x10,_0x40c537[0x26]),_0x50c16e=_0x241f0a(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x867573,0x17,_0x40c537[0x27]),_0x129bef=_0x241f0a(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x101bda,0x4,_0x40c537[0x28]),_0x3b5b3b=_0x241f0a(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x39bf31,0xb,_0x40c537[0x29]),_0x196ebe=_0x241f0a(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x53b44e,0x10,_0x40c537[0x2a]),_0x50c16e=_0x241f0a(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x4b6bba,0x17,_0x40c537[0x2b]),_0x129bef=_0x241f0a(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x39f617,0x4,_0x40c537[0x2c]),_0x3b5b3b=_0x241f0a(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x26ba8f,0xb,_0x40c537[0x2d]),_0x196ebe=_0x241f0a(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x335312,0x10,_0x40c537[0x2e]),_0x50c16e=_0x241f0a(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x592b55,0x17,_0x40c537[0x2f]),_0x129bef=_0x20adae(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x39bf31,0x6,_0x40c537[0x30]),_0x3b5b3b=_0x20adae(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x3142aa,0xa,_0x40c537[0x31]),_0x196ebe=_0x20adae(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x299b3b,0xf,_0x40c537[0x32]),_0x50c16e=_0x20adae(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x17d095,0x15,_0x40c537[0x33]),_0x129bef=_0x20adae(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x26ba8f,0x6,_0x40c537[0x34]),_0x3b5b3b=_0x20adae(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x53b44e,0xa,_0x40c537[0x35]),_0x196ebe=_0x20adae(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x867573,0xf,_0x40c537[0x36]),_0x50c16e=_0x20adae(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x5c9d5e,0x15,_0x40c537[0x37]),_0x129bef=_0x20adae(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x34dedd,0x6,_0x40c537[0x38]),_0x3b5b3b=_0x20adae(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x335312,0xa,_0x40c537[0x39]),_0x196ebe=_0x20adae(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x4b6bba,0xf,_0x40c537[0x3a]),_0x50c16e=_0x20adae(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x101bda,0x15,_0x40c537[0x3b]),_0x129bef=_0x20adae(_0x129bef,_0x50c16e,_0x196ebe,_0x3b5b3b,_0x21b354,0x6,_0x40c537[0x3c]),_0x3b5b3b=_0x20adae(_0x3b5b3b,_0x129bef,_0x50c16e,_0x196ebe,_0x18633e,0xa,_0x40c537[0x3d]),_0x196ebe=_0x20adae(_0x196ebe,_0x3b5b3b,_0x129bef,_0x50c16e,_0x592b55,0xf,_0x40c537[0x3e]),_0x50c16e=_0x20adae(_0x50c16e,_0x196ebe,_0x3b5b3b,_0x129bef,_0x39f617,0x15,_0x40c537[0x3f]),_0x3b0229[0x0]=_0x3b0229[0x0]+_0x129bef|0x0,_0x3b0229[0x1]=_0x3b0229[0x1]+_0x50c16e|0x0,_0x3b0229[0x2]=_0x3b0229[0x2]+_0x196ebe|0x0,_0x3b0229[0x3]=_0x3b0229[0x3]+_0x3b5b3b|0x0;},'_doFinalize':function(){var _0x1c9286=_0xa5aaa6,_0x2e7cc7=this['_data'],_0x1f4881=_0x2e7cc7['words'],_0x5a66ba=this[_0x1c9286(0x281)]*0x8,_0x4bcfa5=_0x2e7cc7[_0x1c9286(0x4fe)]*0x8;_0x1f4881[_0x4bcfa5>>>0x5]|=0x80<<0x18-_0x4bcfa5%0x20;var _0x3d72d=_0x213095[_0x1c9286(0x4f6)](_0x5a66ba/0x100000000),_0xa2b840=_0x5a66ba;_0x1f4881[(_0x4bcfa5+0x40>>>0x9<<0x4)+0xf]=(_0x3d72d<<0x8|_0x3d72d>>>0x18)&0xff00ff|(_0x3d72d<<0x18|_0x3d72d>>>0x8)&0xff00ff00,_0x1f4881[(_0x4bcfa5+0x40>>>0x9<<0x4)+0xe]=(_0xa2b840<<0x8|_0xa2b840>>>0x18)&0xff00ff|(_0xa2b840<<0x18|_0xa2b840>>>0x8)&0xff00ff00,_0x2e7cc7['sigBytes']=(_0x1f4881[_0x1c9286(0x4c3)]+0x1)*0x4,this[_0x1c9286(0x2ef)]();for(var _0x122570=this['_hash'],_0x2ea157=_0x122570[_0x1c9286(0x2d0)],_0x717d7e=0x0;_0x717d7e<0x4;_0x717d7e++){var _0x68c06d=_0x2ea157[_0x717d7e];_0x2ea157[_0x717d7e]=(_0x68c06d<<0x8|_0x68c06d>>>0x18)&0xff00ff|(_0x68c06d<<0x18|_0x68c06d>>>0x8)&0xff00ff00;}return _0x122570;},'clone':function(){var _0x2c0000=_0xa5aaa6,_0x3d2290=_0x239bf3['clone']['call'](this);return _0x3d2290[_0x2c0000(0x503)]=this['_hash']['clone'](),_0x3d2290;}});function _0x2b6938(_0x5ffe17,_0x4cab92,_0x12fa56,_0x454d0a,_0x217c31,_0x42815e,_0x3ad1c0){var _0xbdd543=_0x5ffe17+(_0x4cab92&_0x12fa56|~_0x4cab92&_0x454d0a)+_0x217c31+_0x3ad1c0;return(_0xbdd543<<_0x42815e|_0xbdd543>>>0x20-_0x42815e)+_0x4cab92;}function _0xf8e79c(_0x189571,_0x2f8df9,_0x3c0e80,_0x58bd1c,_0xf421e8,_0x44221f,_0x2f8ca3){var _0x13c826=_0x189571+(_0x2f8df9&_0x58bd1c|_0x3c0e80&~_0x58bd1c)+_0xf421e8+_0x2f8ca3;return(_0x13c826<<_0x44221f|_0x13c826>>>0x20-_0x44221f)+_0x2f8df9;}function _0x241f0a(_0x336dcf,_0x22ba4b,_0x2f0af8,_0x2c97a1,_0x3d9116,_0x662a7b,_0x301e45){var _0x4ed766=_0x336dcf+(_0x22ba4b^_0x2f0af8^_0x2c97a1)+_0x3d9116+_0x301e45;return(_0x4ed766<<_0x662a7b|_0x4ed766>>>0x20-_0x662a7b)+_0x22ba4b;}function _0x20adae(_0x363a68,_0x4f355d,_0x5fbbcd,_0x278566,_0x5cf9a4,_0x452fbd,_0x3cad0a){var _0x1d335d=_0x363a68+(_0x5fbbcd^(_0x4f355d|~_0x278566))+_0x5cf9a4+_0x3cad0a;return(_0x1d335d<<_0x452fbd|_0x1d335d>>>0x20-_0x452fbd)+_0x4f355d;}_0xebc78[_0xa5aaa6(0x3d0)]=_0x239bf3['_createHelper'](_0x2b792),_0xebc78['HmacMD5']=_0x239bf3[_0xa5aaa6(0x2eb)](_0x2b792);}(Math),_0x20af08[_0x504580(0x3d0)];}));}(Ye)),Ye[_0x39108a(0x407)];}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x32c544(0x407)],Jt;function un(){var _0x20e986=_0x32c544;return Jt||(Jt=0x1,function(_0x1c8339,_0x502a4d){(function(_0x218363,_0xfcaa6){var _0x3c5a58=_0x4b66;_0x1c8339[_0x3c5a58(0x407)]=_0xfcaa6(ie());}(ln,function(_0x10aed7){var _0x453d5f=_0x4b66;return(function(){var _0x58acef=_0x4b66,_0x479243=_0x10aed7,_0x415530=_0x479243[_0x58acef(0x371)],_0x232299=_0x415530[_0x58acef(0x3d9)],_0x5a0c75=_0x415530[_0x58acef(0x4cf)],_0x2ecd02=_0x479243[_0x58acef(0x22b)],_0x335424=[],_0x45bfc0=_0x2ecd02[_0x58acef(0x459)]=_0x5a0c75[_0x58acef(0x255)]({'_doReset':function(){this['_hash']=new _0x232299['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x15ca1c,_0x29a836){var _0xf72b39=_0x58acef;for(var _0x24eeb3=this[_0xf72b39(0x503)]['words'],_0x431061=_0x24eeb3[0x0],_0x31edff=_0x24eeb3[0x1],_0x1abc2c=_0x24eeb3[0x2],_0x180242=_0x24eeb3[0x3],_0x11abfb=_0x24eeb3[0x4],_0x3f5bb9=0x0;_0x3f5bb9<0x50;_0x3f5bb9++){if(_0x3f5bb9<0x10)_0x335424[_0x3f5bb9]=_0x15ca1c[_0x29a836+_0x3f5bb9]|0x0;else{var _0x3cb5f8=_0x335424[_0x3f5bb9-0x3]^_0x335424[_0x3f5bb9-0x8]^_0x335424[_0x3f5bb9-0xe]^_0x335424[_0x3f5bb9-0x10];_0x335424[_0x3f5bb9]=_0x3cb5f8<<0x1|_0x3cb5f8>>>0x1f;}var _0x498cc3=(_0x431061<<0x5|_0x431061>>>0x1b)+_0x11abfb+_0x335424[_0x3f5bb9];_0x3f5bb9<0x14?_0x498cc3+=(_0x31edff&_0x1abc2c|~_0x31edff&_0x180242)+0x5a827999:_0x3f5bb9<0x28?_0x498cc3+=(_0x31edff^_0x1abc2c^_0x180242)+0x6ed9eba1:_0x3f5bb9<0x3c?_0x498cc3+=(_0x31edff&_0x1abc2c|_0x31edff&_0x180242|_0x1abc2c&_0x180242)-0x70e44324:_0x498cc3+=(_0x31edff^_0x1abc2c^_0x180242)-0x359d3e2a,_0x11abfb=_0x180242,_0x180242=_0x1abc2c,_0x1abc2c=_0x31edff<<0x1e|_0x31edff>>>0x2,_0x31edff=_0x431061,_0x431061=_0x498cc3;}_0x24eeb3[0x0]=_0x24eeb3[0x0]+_0x431061|0x0,_0x24eeb3[0x1]=_0x24eeb3[0x1]+_0x31edff|0x0,_0x24eeb3[0x2]=_0x24eeb3[0x2]+_0x1abc2c|0x0,_0x24eeb3[0x3]=_0x24eeb3[0x3]+_0x180242|0x0,_0x24eeb3[0x4]=_0x24eeb3[0x4]+_0x11abfb|0x0;},'_doFinalize':function(){var _0x13f49b=_0x58acef,_0x512250=this[_0x13f49b(0x367)],_0x4f7f45=_0x512250[_0x13f49b(0x2d0)],_0x5896e9=this[_0x13f49b(0x281)]*0x8,_0x294646=_0x512250[_0x13f49b(0x4fe)]*0x8;return _0x4f7f45[_0x294646>>>0x5]|=0x80<<0x18-_0x294646%0x20,_0x4f7f45[(_0x294646+0x40>>>0x9<<0x4)+0xe]=Math[_0x13f49b(0x4f6)](_0x5896e9/0x100000000),_0x4f7f45[(_0x294646+0x40>>>0x9<<0x4)+0xf]=_0x5896e9,_0x512250['sigBytes']=_0x4f7f45[_0x13f49b(0x4c3)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x4ae79c=_0x58acef,_0x229a3f=_0x5a0c75[_0x4ae79c(0x3e9)][_0x4ae79c(0x446)](this);return _0x229a3f[_0x4ae79c(0x503)]=this[_0x4ae79c(0x503)]['clone'](),_0x229a3f;}});_0x479243[_0x58acef(0x459)]=_0x5a0c75['_createHelper'](_0x45bfc0),_0x479243[_0x58acef(0x4bd)]=_0x5a0c75[_0x58acef(0x2eb)](_0x45bfc0);}()),_0x10aed7[_0x453d5f(0x459)];}));}(qe)),qe[_0x20e986(0x407)];}var ze={'exports':{}},dn=ze[_0x32c544(0x407)],Xt;function fn(){var _0x1dec67=_0x32c544;return Xt||(Xt=0x1,function(_0x138473,_0x8907a1){(function(_0x4b692e,_0x4734f1){var _0x1a5cf8=_0x4b66;_0x138473[_0x1a5cf8(0x407)]=_0x4734f1(ie());}(dn,function(_0x4cde6a){(function(){var _0x73f483=_0x4b66,_0x5e18ad=_0x4cde6a,_0x50d03a=_0x5e18ad[_0x73f483(0x371)],_0x13ea16=_0x50d03a[_0x73f483(0x43f)],_0x1845f0=_0x5e18ad[_0x73f483(0x314)],_0x49d19f=_0x1845f0[_0x73f483(0x25a)],_0x3dff21=_0x5e18ad[_0x73f483(0x22b)];_0x3dff21[_0x73f483(0x318)]=_0x13ea16[_0x73f483(0x255)]({'init':function(_0x232fe0,_0x38fbd0){var _0x3422ff=_0x73f483;_0x232fe0=this[_0x3422ff(0x315)]=new _0x232fe0[(_0x3422ff(0x220))](),typeof _0x38fbd0==_0x3422ff(0x238)&&(_0x38fbd0=_0x49d19f[_0x3422ff(0x244)](_0x38fbd0));var _0x5a0dfc=_0x232fe0[_0x3422ff(0x348)],_0x15f2ce=_0x5a0dfc*0x4;_0x38fbd0[_0x3422ff(0x4fe)]>_0x15f2ce&&(_0x38fbd0=_0x232fe0[_0x3422ff(0x368)](_0x38fbd0)),_0x38fbd0[_0x3422ff(0x430)]();for(var _0x21ec9f=this[_0x3422ff(0x4a7)]=_0x38fbd0['clone'](),_0x3c76f3=this[_0x3422ff(0x350)]=_0x38fbd0[_0x3422ff(0x3e9)](),_0x4acd0e=_0x21ec9f[_0x3422ff(0x2d0)],_0x54155e=_0x3c76f3['words'],_0x28a072=0x0;_0x28a072<_0x5a0dfc;_0x28a072++)_0x4acd0e[_0x28a072]^=0x5c5c5c5c,_0x54155e[_0x28a072]^=0x36363636;_0x21ec9f['sigBytes']=_0x3c76f3[_0x3422ff(0x4fe)]=_0x15f2ce,this[_0x3422ff(0x373)]();},'reset':function(){var _0x4aaf25=_0x73f483,_0x10a60a=this[_0x4aaf25(0x315)];_0x10a60a[_0x4aaf25(0x373)](),_0x10a60a['update'](this[_0x4aaf25(0x350)]);},'update':function(_0x2109d6){var _0x2f3330=_0x73f483;return this['_hasher'][_0x2f3330(0x429)](_0x2109d6),this;},'finalize':function(_0x47a2fb){var _0xca8da6=_0x73f483,_0x111990=this[_0xca8da6(0x315)],_0x5b23ef=_0x111990[_0xca8da6(0x368)](_0x47a2fb);_0x111990[_0xca8da6(0x373)]();var _0x562cce=_0x111990[_0xca8da6(0x368)](this[_0xca8da6(0x4a7)][_0xca8da6(0x3e9)]()[_0xca8da6(0x215)](_0x5b23ef));return _0x562cce;}});}());}));}(ze)),ze[_0x1dec67(0x407)];}var vn=Ke['exports'],Zt;function Ci(){var _0x4cd00b=_0x32c544;return Zt||(Zt=0x1,function(_0x480216,_0x3b0de6){(function(_0x225a42,_0x3d69fc,_0x3f1cf9){_0x480216['exports']=_0x3d69fc(ie(),un(),fn());}(vn,function(_0xc396f8){return(function(){var _0x144915=_0x4b66,_0x4f2a9f=_0xc396f8,_0x374e95=_0x4f2a9f[_0x144915(0x371)],_0x212012=_0x374e95[_0x144915(0x43f)],_0x45e81d=_0x374e95[_0x144915(0x3d9)],_0x271c77=_0x4f2a9f['algo'],_0xfe819b=_0x271c77['MD5'],_0x1e20e4=_0x271c77[_0x144915(0x211)]=_0x212012[_0x144915(0x255)]({'cfg':_0x212012['extend']({'keySize':0x80/0x20,'hasher':_0xfe819b,'iterations':0x1}),'init':function(_0x16cdd6){var _0x3d266a=_0x144915;this['cfg']=this[_0x3d266a(0x3cc)]['extend'](_0x16cdd6);},'compute':function(_0x55617a,_0x5eb632){var _0x2bdc53=_0x144915;for(var _0x157005,_0xb538db=this[_0x2bdc53(0x3cc)],_0x351ba7=_0xb538db[_0x2bdc53(0x2ac)]['create'](),_0x2d5f26=_0x45e81d[_0x2bdc53(0x202)](),_0xb56567=_0x2d5f26[_0x2bdc53(0x2d0)],_0x1cf122=_0xb538db[_0x2bdc53(0x2c1)],_0x5dff47=_0xb538db[_0x2bdc53(0x223)];_0xb56567[_0x2bdc53(0x4c3)]<_0x1cf122;){_0x157005&&_0x351ba7['update'](_0x157005),_0x157005=_0x351ba7['update'](_0x55617a)[_0x2bdc53(0x368)](_0x5eb632),_0x351ba7[_0x2bdc53(0x373)]();for(var _0x62df9e=0x1;_0x62df9e<_0x5dff47;_0x62df9e++)_0x157005=_0x351ba7[_0x2bdc53(0x368)](_0x157005),_0x351ba7['reset']();_0x2d5f26[_0x2bdc53(0x215)](_0x157005);}return _0x2d5f26['sigBytes']=_0x1cf122*0x4,_0x2d5f26;}});_0x4f2a9f[_0x144915(0x211)]=function(_0x5f0ba9,_0x428234,_0x3772d9){var _0x23e454=_0x144915;return _0x1e20e4[_0x23e454(0x202)](_0x3772d9)[_0x23e454(0x319)](_0x5f0ba9,_0x428234);};}()),_0xc396f8['EvpKDF'];}));}(Ke)),Ke[_0x4cd00b(0x407)];}var Je={'exports':{}},pn=Je[_0x32c544(0x407)],Qt;function Ni(){var _0x311771=_0x32c544;return Qt||(Qt=0x1,function(_0x36e1c6,_0x37e0de){(function(_0x3d4047,_0x48d5cb,_0x310872){var _0x2dbee2=_0x4b66;_0x36e1c6[_0x2dbee2(0x407)]=_0x48d5cb(ie(),Ci());}(pn,function(_0x44fb06){var _0x20c165=_0x4b66;_0x44fb06[_0x20c165(0x371)]['Cipher']||function(_0x4d46ff){var _0x36bfe2=_0x20c165,_0x2e1561=_0x44fb06,_0x7de645=_0x2e1561[_0x36bfe2(0x371)],_0x17345b=_0x7de645[_0x36bfe2(0x43f)],_0x1f37b9=_0x7de645[_0x36bfe2(0x3d9)],_0x5122fd=_0x7de645[_0x36bfe2(0x272)],_0x46e77a=_0x2e1561[_0x36bfe2(0x314)];_0x46e77a[_0x36bfe2(0x25a)];var _0x2e737f=_0x46e77a[_0x36bfe2(0x2f3)],_0x3addc2=_0x2e1561[_0x36bfe2(0x22b)],_0x3cabb2=_0x3addc2['EvpKDF'],_0x5cefb9=_0x7de645['Cipher']=_0x5122fd['extend']({'cfg':_0x17345b[_0x36bfe2(0x255)](),'createEncryptor':function(_0x69a5e0,_0x2c89b7){var _0x294f5c=_0x36bfe2;return this[_0x294f5c(0x202)](this['_ENC_XFORM_MODE'],_0x69a5e0,_0x2c89b7);},'createDecryptor':function(_0x1b155d,_0x131e4b){var _0x4a1e9b=_0x36bfe2;return this['create'](this[_0x4a1e9b(0x423)],_0x1b155d,_0x131e4b);},'init':function(_0xab21cc,_0x556600,_0x2ba082){var _0x44c17c=_0x36bfe2;this[_0x44c17c(0x3cc)]=this['cfg'][_0x44c17c(0x255)](_0x2ba082),this[_0x44c17c(0x2d8)]=_0xab21cc,this[_0x44c17c(0x3c9)]=_0x556600,this[_0x44c17c(0x373)]();},'reset':function(){var _0x44e6af=_0x36bfe2;_0x5122fd[_0x44e6af(0x373)]['call'](this),this[_0x44e6af(0x25f)]();},'process':function(_0xeeeee8){var _0x4f3d52=_0x36bfe2;return this['_append'](_0xeeeee8),this[_0x4f3d52(0x2ef)]();},'finalize':function(_0x50a43d){var _0x2b1ad2=_0x36bfe2;_0x50a43d&&this['_append'](_0x50a43d);var _0x1ee71a=this[_0x2b1ad2(0x1eb)]();return _0x1ee71a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4cb239(_0x2a5f5d){var _0x42725f=_0x4b66;return typeof _0x2a5f5d==_0x42725f(0x238)?_0x5d609c:_0x39eaa1;}return function(_0x18b242){return{'encrypt':function(_0x4ab18f,_0x417d8f,_0x571621){var _0x4659c9=_0x4b66;return _0x4cb239(_0x417d8f)[_0x4659c9(0x353)](_0x18b242,_0x4ab18f,_0x417d8f,_0x571621);},'decrypt':function(_0x102503,_0x2f7070,_0x39f6e2){return _0x4cb239(_0x2f7070)['decrypt'](_0x18b242,_0x102503,_0x2f7070,_0x39f6e2);}};};}())});_0x7de645[_0x36bfe2(0x43e)]=_0x5cefb9[_0x36bfe2(0x255)]({'_doFinalize':function(){var _0x1765db=_0x36bfe2,_0x487d00=this[_0x1765db(0x2ef)](!0x0);return _0x487d00;},'blockSize':0x1});var _0xe3be7a=_0x2e1561[_0x36bfe2(0x2a4)]={},_0x19a47b=_0x7de645[_0x36bfe2(0x2bc)]=_0x17345b[_0x36bfe2(0x255)]({'createEncryptor':function(_0x3037f0,_0x50fd4e){var _0x40a88d=_0x36bfe2;return this[_0x40a88d(0x4a5)][_0x40a88d(0x202)](_0x3037f0,_0x50fd4e);},'createDecryptor':function(_0x13b79b,_0x4cf977){var _0x557537=_0x36bfe2;return this[_0x557537(0x347)][_0x557537(0x202)](_0x13b79b,_0x4cf977);},'init':function(_0x2a6849,_0x49b007){var _0x300f7a=_0x36bfe2;this[_0x300f7a(0x35f)]=_0x2a6849,this[_0x300f7a(0x3e5)]=_0x49b007;}}),_0x2530e3=_0xe3be7a[_0x36bfe2(0x2f9)]=(function(){var _0x1c01d4=_0x36bfe2,_0x2c4fc0=_0x19a47b[_0x1c01d4(0x255)]();_0x2c4fc0[_0x1c01d4(0x4a5)]=_0x2c4fc0['extend']({'processBlock':function(_0x481ea2,_0x137e63){var _0x283a4c=_0x1c01d4,_0x4e6fe4=this[_0x283a4c(0x35f)],_0x156e43=_0x4e6fe4[_0x283a4c(0x348)];_0x57768f['call'](this,_0x481ea2,_0x137e63,_0x156e43),_0x4e6fe4[_0x283a4c(0x29d)](_0x481ea2,_0x137e63),this['_prevBlock']=_0x481ea2[_0x283a4c(0x3de)](_0x137e63,_0x137e63+_0x156e43);}}),_0x2c4fc0[_0x1c01d4(0x347)]=_0x2c4fc0[_0x1c01d4(0x255)]({'processBlock':function(_0x18dd4e,_0x5a991d){var _0x3ac39d=_0x1c01d4,_0x5d10bb=this[_0x3ac39d(0x35f)],_0x4bca6=_0x5d10bb[_0x3ac39d(0x348)],_0x1478b9=_0x18dd4e['slice'](_0x5a991d,_0x5a991d+_0x4bca6);_0x5d10bb[_0x3ac39d(0x2ff)](_0x18dd4e,_0x5a991d),_0x57768f[_0x3ac39d(0x446)](this,_0x18dd4e,_0x5a991d,_0x4bca6),this['_prevBlock']=_0x1478b9;}});function _0x57768f(_0x5a2ee9,_0x35afc3,_0x25f134){var _0x193182=_0x1c01d4,_0x4d9084,_0x4694eb=this[_0x193182(0x3e5)];_0x4694eb?(_0x4d9084=_0x4694eb,this[_0x193182(0x3e5)]=_0x4d46ff):_0x4d9084=this[_0x193182(0x3cb)];for(var _0x2a734c=0x0;_0x2a734c<_0x25f134;_0x2a734c++)_0x5a2ee9[_0x35afc3+_0x2a734c]^=_0x4d9084[_0x2a734c];}return _0x2c4fc0;}()),_0x239263=_0x2e1561[_0x36bfe2(0x1ef)]={},_0x34a2b8=_0x239263[_0x36bfe2(0x1e7)]={'pad':function(_0x3d5390,_0x30bdb7){var _0x50212d=_0x36bfe2;for(var _0x4a98fd=_0x30bdb7*0x4,_0x1d68a1=_0x4a98fd-_0x3d5390[_0x50212d(0x4fe)]%_0x4a98fd,_0x4dbc2a=_0x1d68a1<<0x18|_0x1d68a1<<0x10|_0x1d68a1<<0x8|_0x1d68a1,_0x4795bf=[],_0x2667cf=0x0;_0x2667cf<_0x1d68a1;_0x2667cf+=0x4)_0x4795bf[_0x50212d(0x438)](_0x4dbc2a);var _0x3545b0=_0x1f37b9['create'](_0x4795bf,_0x1d68a1);_0x3d5390[_0x50212d(0x215)](_0x3545b0);},'unpad':function(_0x318693){var _0x14a69c=_0x36bfe2,_0x5efeae=_0x318693[_0x14a69c(0x2d0)][_0x318693[_0x14a69c(0x4fe)]-0x1>>>0x2]&0xff;_0x318693[_0x14a69c(0x4fe)]-=_0x5efeae;}};_0x7de645['BlockCipher']=_0x5cefb9[_0x36bfe2(0x255)]({'cfg':_0x5cefb9[_0x36bfe2(0x3cc)][_0x36bfe2(0x255)]({'mode':_0x2530e3,'padding':_0x34a2b8}),'reset':function(){var _0x47e0f6=_0x36bfe2,_0x291471;_0x5cefb9[_0x47e0f6(0x373)][_0x47e0f6(0x446)](this);var _0x27e561=this[_0x47e0f6(0x3cc)],_0x397885=_0x27e561['iv'],_0x544bb2=_0x27e561['mode'];this[_0x47e0f6(0x2d8)]==this[_0x47e0f6(0x411)]?_0x291471=_0x544bb2[_0x47e0f6(0x4aa)]:(_0x291471=_0x544bb2[_0x47e0f6(0x4b7)],this[_0x47e0f6(0x33f)]=0x1),this['_mode']&&this[_0x47e0f6(0x3da)]['__creator']==_0x291471?this[_0x47e0f6(0x3da)][_0x47e0f6(0x220)](this,_0x397885&&_0x397885[_0x47e0f6(0x2d0)]):(this[_0x47e0f6(0x3da)]=_0x291471[_0x47e0f6(0x446)](_0x544bb2,this,_0x397885&&_0x397885[_0x47e0f6(0x2d0)]),this['_mode'][_0x47e0f6(0x396)]=_0x291471);},'_doProcessBlock':function(_0x3e2f8f,_0x24dabd){var _0x141f4b=_0x36bfe2;this[_0x141f4b(0x3da)]['processBlock'](_0x3e2f8f,_0x24dabd);},'_doFinalize':function(){var _0x9dde04=_0x36bfe2,_0x2eac72,_0x458010=this[_0x9dde04(0x3cc)][_0x9dde04(0x336)];return this[_0x9dde04(0x2d8)]==this[_0x9dde04(0x411)]?(_0x458010[_0x9dde04(0x1ef)](this['_data'],this[_0x9dde04(0x348)]),_0x2eac72=this[_0x9dde04(0x2ef)](!0x0)):(_0x2eac72=this[_0x9dde04(0x2ef)](!0x0),_0x458010[_0x9dde04(0x415)](_0x2eac72)),_0x2eac72;},'blockSize':0x80/0x20});var _0x1537e0=_0x7de645[_0x36bfe2(0x234)]=_0x17345b[_0x36bfe2(0x255)]({'init':function(_0x33abf0){var _0x45c7e9=_0x36bfe2;this[_0x45c7e9(0x286)](_0x33abf0);},'toString':function(_0x2f6b52){return(_0x2f6b52||this['formatter'])['stringify'](this);}}),_0x58c779=_0x2e1561[_0x36bfe2(0x1f1)]={},_0x22d25b=_0x58c779['OpenSSL']={'stringify':function(_0x4bb47a){var _0x5930a9=_0x36bfe2,_0x17db85,_0x5c921d=_0x4bb47a['ciphertext'],_0x399cd2=_0x4bb47a[_0x5930a9(0x27d)];return _0x399cd2?_0x17db85=_0x1f37b9[_0x5930a9(0x202)]([0x53616c74,0x65645f5f])[_0x5930a9(0x215)](_0x399cd2)[_0x5930a9(0x215)](_0x5c921d):_0x17db85=_0x5c921d,_0x17db85[_0x5930a9(0x295)](_0x2e737f);},'parse':function(_0x44c090){var _0x3cd3b9=_0x36bfe2,_0x26d984,_0x2fc648=_0x2e737f[_0x3cd3b9(0x244)](_0x44c090),_0x220f9d=_0x2fc648['words'];return _0x220f9d[0x0]==0x53616c74&&_0x220f9d[0x1]==0x65645f5f&&(_0x26d984=_0x1f37b9['create'](_0x220f9d[_0x3cd3b9(0x3de)](0x2,0x4)),_0x220f9d[_0x3cd3b9(0x2d5)](0x0,0x4),_0x2fc648['sigBytes']-=0x10),_0x1537e0[_0x3cd3b9(0x202)]({'ciphertext':_0x2fc648,'salt':_0x26d984});}},_0x39eaa1=_0x7de645[_0x36bfe2(0x3f0)]=_0x17345b[_0x36bfe2(0x255)]({'cfg':_0x17345b[_0x36bfe2(0x255)]({'format':_0x22d25b}),'encrypt':function(_0x2ddccd,_0x4686cc,_0x7997ac,_0x22215a){var _0x20b5d0=_0x36bfe2;_0x22215a=this[_0x20b5d0(0x3cc)][_0x20b5d0(0x255)](_0x22215a);var _0x2d5199=_0x2ddccd['createEncryptor'](_0x7997ac,_0x22215a),_0x23eddb=_0x2d5199[_0x20b5d0(0x368)](_0x4686cc),_0x3b933f=_0x2d5199[_0x20b5d0(0x3cc)];return _0x1537e0[_0x20b5d0(0x202)]({'ciphertext':_0x23eddb,'key':_0x7997ac,'iv':_0x3b933f['iv'],'algorithm':_0x2ddccd,'mode':_0x3b933f[_0x20b5d0(0x2a4)],'padding':_0x3b933f['padding'],'blockSize':_0x2ddccd['blockSize'],'formatter':_0x22215a[_0x20b5d0(0x1f1)]});},'decrypt':function(_0xa940d2,_0x1afdb5,_0x516d0f,_0x301284){var _0x55639a=_0x36bfe2;_0x301284=this[_0x55639a(0x3cc)][_0x55639a(0x255)](_0x301284),_0x1afdb5=this[_0x55639a(0x325)](_0x1afdb5,_0x301284[_0x55639a(0x1f1)]);var _0x2b1135=_0xa940d2['createDecryptor'](_0x516d0f,_0x301284)[_0x55639a(0x368)](_0x1afdb5[_0x55639a(0x47e)]);return _0x2b1135;},'_parse':function(_0x15ea20,_0x44e439){var _0x187164=_0x36bfe2;return typeof _0x15ea20==_0x187164(0x238)?_0x44e439[_0x187164(0x244)](_0x15ea20,this):_0x15ea20;}}),_0x5814da=_0x2e1561[_0x36bfe2(0x37c)]={},_0x7f2faf=_0x5814da[_0x36bfe2(0x300)]={'execute':function(_0x59e52c,_0x53e7ea,_0x282b9a,_0x25c528,_0x20d5dd){var _0xddc8bb=_0x36bfe2;if(_0x25c528||(_0x25c528=_0x1f37b9['random'](0x40/0x8)),_0x20d5dd)var _0x49d53a=_0x3cabb2[_0xddc8bb(0x202)]({'keySize':_0x53e7ea+_0x282b9a,'hasher':_0x20d5dd})[_0xddc8bb(0x319)](_0x59e52c,_0x25c528);else var _0x49d53a=_0x3cabb2[_0xddc8bb(0x202)]({'keySize':_0x53e7ea+_0x282b9a})[_0xddc8bb(0x319)](_0x59e52c,_0x25c528);var _0x146f4a=_0x1f37b9['create'](_0x49d53a[_0xddc8bb(0x2d0)][_0xddc8bb(0x3de)](_0x53e7ea),_0x282b9a*0x4);return _0x49d53a[_0xddc8bb(0x4fe)]=_0x53e7ea*0x4,_0x1537e0['create']({'key':_0x49d53a,'iv':_0x146f4a,'salt':_0x25c528});}},_0x5d609c=_0x7de645[_0x36bfe2(0x37f)]=_0x39eaa1[_0x36bfe2(0x255)]({'cfg':_0x39eaa1[_0x36bfe2(0x3cc)][_0x36bfe2(0x255)]({'kdf':_0x7f2faf}),'encrypt':function(_0x5b38e8,_0x364be4,_0x47103a,_0x597b14){var _0x435a1e=_0x36bfe2;_0x597b14=this[_0x435a1e(0x3cc)]['extend'](_0x597b14);var _0x7cf6fd=_0x597b14[_0x435a1e(0x37c)]['execute'](_0x47103a,_0x5b38e8[_0x435a1e(0x2c1)],_0x5b38e8[_0x435a1e(0x24e)],_0x597b14['salt'],_0x597b14[_0x435a1e(0x2ac)]);_0x597b14['iv']=_0x7cf6fd['iv'];var _0x31a046=_0x39eaa1[_0x435a1e(0x353)][_0x435a1e(0x446)](this,_0x5b38e8,_0x364be4,_0x7cf6fd[_0x435a1e(0x39d)],_0x597b14);return _0x31a046[_0x435a1e(0x286)](_0x7cf6fd),_0x31a046;},'decrypt':function(_0x16d9c2,_0x4bb52a,_0x1f7b1d,_0xc4d3bf){var _0x3d68c8=_0x36bfe2;_0xc4d3bf=this[_0x3d68c8(0x3cc)]['extend'](_0xc4d3bf),_0x4bb52a=this[_0x3d68c8(0x325)](_0x4bb52a,_0xc4d3bf['format']);var _0x1a420b=_0xc4d3bf[_0x3d68c8(0x37c)][_0x3d68c8(0x320)](_0x1f7b1d,_0x16d9c2[_0x3d68c8(0x2c1)],_0x16d9c2['ivSize'],_0x4bb52a[_0x3d68c8(0x27d)],_0xc4d3bf[_0x3d68c8(0x2ac)]);_0xc4d3bf['iv']=_0x1a420b['iv'];var _0x9d6398=_0x39eaa1[_0x3d68c8(0x212)][_0x3d68c8(0x446)](this,_0x16d9c2,_0x4bb52a,_0x1a420b['key'],_0xc4d3bf);return _0x9d6398;}});}();}));}(Je)),Je[_0x311771(0x407)];}var En=Ve['exports'],ei;function mn(){var _0x27b070=_0x32c544;return ei||(ei=0x1,function(_0x158a59,_0x3e7987){(function(_0x3accf1,_0x4ae2c2,_0x498a8c){_0x158a59['exports']=_0x4ae2c2(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x3bb748){var _0x579736=_0x4b66;return(function(){var _0x193bc9=_0x4b66,_0x3787e3=_0x3bb748,_0x399deb=_0x3787e3[_0x193bc9(0x371)],_0x3d90e0=_0x399deb[_0x193bc9(0x2ae)],_0x4020aa=_0x3787e3['algo'],_0x180d45=[],_0x11d237=[],_0x2ff370=[],_0x45decf=[],_0x2f70e0=[],_0x10c5a1=[],_0x39c57f=[],_0x3726ca=[],_0x356aa0=[],_0x1ac967=[];(function(){for(var _0x37dd44=[],_0x329781=0x0;_0x329781<0x100;_0x329781++)_0x329781<0x80?_0x37dd44[_0x329781]=_0x329781<<0x1:_0x37dd44[_0x329781]=_0x329781<<0x1^0x11b;for(var _0x241c7f=0x0,_0x17b0f9=0x0,_0x329781=0x0;_0x329781<0x100;_0x329781++){var _0x472c4c=_0x17b0f9^_0x17b0f9<<0x1^_0x17b0f9<<0x2^_0x17b0f9<<0x3^_0x17b0f9<<0x4;_0x472c4c=_0x472c4c>>>0x8^_0x472c4c&0xff^0x63,_0x180d45[_0x241c7f]=_0x472c4c,_0x11d237[_0x472c4c]=_0x241c7f;var _0x517835=_0x37dd44[_0x241c7f],_0x386d50=_0x37dd44[_0x517835],_0x4f5af7=_0x37dd44[_0x386d50],_0x372617=_0x37dd44[_0x472c4c]*0x101^_0x472c4c*0x1010100;_0x2ff370[_0x241c7f]=_0x372617<<0x18|_0x372617>>>0x8,_0x45decf[_0x241c7f]=_0x372617<<0x10|_0x372617>>>0x10,_0x2f70e0[_0x241c7f]=_0x372617<<0x8|_0x372617>>>0x18,_0x10c5a1[_0x241c7f]=_0x372617;var _0x372617=_0x4f5af7*0x1010101^_0x386d50*0x10001^_0x517835*0x101^_0x241c7f*0x1010100;_0x39c57f[_0x472c4c]=_0x372617<<0x18|_0x372617>>>0x8,_0x3726ca[_0x472c4c]=_0x372617<<0x10|_0x372617>>>0x10,_0x356aa0[_0x472c4c]=_0x372617<<0x8|_0x372617>>>0x18,_0x1ac967[_0x472c4c]=_0x372617,_0x241c7f?(_0x241c7f=_0x517835^_0x37dd44[_0x37dd44[_0x37dd44[_0x4f5af7^_0x517835]]],_0x17b0f9^=_0x37dd44[_0x37dd44[_0x17b0f9]]):_0x241c7f=_0x17b0f9=0x1;}}());var _0xb84ae8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x22c260=_0x4020aa[_0x193bc9(0x1e1)]=_0x3d90e0[_0x193bc9(0x255)]({'_doReset':function(){var _0x346aa6=_0x193bc9,_0x294d53;if(!(this[_0x346aa6(0x4cd)]&&this[_0x346aa6(0x24f)]===this[_0x346aa6(0x3c9)])){for(var _0x4a4c75=this[_0x346aa6(0x24f)]=this['_key'],_0x25c1f6=_0x4a4c75['words'],_0x5d8c83=_0x4a4c75[_0x346aa6(0x4fe)]/0x4,_0x37526b=this[_0x346aa6(0x4cd)]=_0x5d8c83+0x6,_0x4bbbed=(_0x37526b+0x1)*0x4,_0x2cb14b=this[_0x346aa6(0x208)]=[],_0x28adf5=0x0;_0x28adf5<_0x4bbbed;_0x28adf5++)_0x28adf5<_0x5d8c83?_0x2cb14b[_0x28adf5]=_0x25c1f6[_0x28adf5]:(_0x294d53=_0x2cb14b[_0x28adf5-0x1],_0x28adf5%_0x5d8c83?_0x5d8c83>0x6&&_0x28adf5%_0x5d8c83==0x4&&(_0x294d53=_0x180d45[_0x294d53>>>0x18]<<0x18|_0x180d45[_0x294d53>>>0x10&0xff]<<0x10|_0x180d45[_0x294d53>>>0x8&0xff]<<0x8|_0x180d45[_0x294d53&0xff]):(_0x294d53=_0x294d53<<0x8|_0x294d53>>>0x18,_0x294d53=_0x180d45[_0x294d53>>>0x18]<<0x18|_0x180d45[_0x294d53>>>0x10&0xff]<<0x10|_0x180d45[_0x294d53>>>0x8&0xff]<<0x8|_0x180d45[_0x294d53&0xff],_0x294d53^=_0xb84ae8[_0x28adf5/_0x5d8c83|0x0]<<0x18),_0x2cb14b[_0x28adf5]=_0x2cb14b[_0x28adf5-_0x5d8c83]^_0x294d53);for(var _0x48c6ca=this['_invKeySchedule']=[],_0x2a2d3e=0x0;_0x2a2d3e<_0x4bbbed;_0x2a2d3e++){var _0x28adf5=_0x4bbbed-_0x2a2d3e;if(_0x2a2d3e%0x4)var _0x294d53=_0x2cb14b[_0x28adf5];else var _0x294d53=_0x2cb14b[_0x28adf5-0x4];_0x2a2d3e<0x4||_0x28adf5<=0x4?_0x48c6ca[_0x2a2d3e]=_0x294d53:_0x48c6ca[_0x2a2d3e]=_0x39c57f[_0x180d45[_0x294d53>>>0x18]]^_0x3726ca[_0x180d45[_0x294d53>>>0x10&0xff]]^_0x356aa0[_0x180d45[_0x294d53>>>0x8&0xff]]^_0x1ac967[_0x180d45[_0x294d53&0xff]];}}},'encryptBlock':function(_0x4666ab,_0x7f217e){var _0x167d14=_0x193bc9;this[_0x167d14(0x401)](_0x4666ab,_0x7f217e,this[_0x167d14(0x208)],_0x2ff370,_0x45decf,_0x2f70e0,_0x10c5a1,_0x180d45);},'decryptBlock':function(_0x1452e2,_0xbf41ce){var _0xf5ad75=_0x193bc9,_0x584dbb=_0x1452e2[_0xbf41ce+0x1];_0x1452e2[_0xbf41ce+0x1]=_0x1452e2[_0xbf41ce+0x3],_0x1452e2[_0xbf41ce+0x3]=_0x584dbb,this[_0xf5ad75(0x401)](_0x1452e2,_0xbf41ce,this[_0xf5ad75(0x271)],_0x39c57f,_0x3726ca,_0x356aa0,_0x1ac967,_0x11d237);var _0x584dbb=_0x1452e2[_0xbf41ce+0x1];_0x1452e2[_0xbf41ce+0x1]=_0x1452e2[_0xbf41ce+0x3],_0x1452e2[_0xbf41ce+0x3]=_0x584dbb;},'_doCryptBlock':function(_0x4e55af,_0x276637,_0x4d021b,_0x5567fa,_0x32a3d9,_0x480aef,_0x1525a9,_0x5a81b8){for(var _0x5ed09b=this['_nRounds'],_0x31fb7a=_0x4e55af[_0x276637]^_0x4d021b[0x0],_0x5e3586=_0x4e55af[_0x276637+0x1]^_0x4d021b[0x1],_0x202767=_0x4e55af[_0x276637+0x2]^_0x4d021b[0x2],_0x13e447=_0x4e55af[_0x276637+0x3]^_0x4d021b[0x3],_0x15ad5e=0x4,_0x46b654=0x1;_0x46b654<_0x5ed09b;_0x46b654++){var _0x5ccbf4=_0x5567fa[_0x31fb7a>>>0x18]^_0x32a3d9[_0x5e3586>>>0x10&0xff]^_0x480aef[_0x202767>>>0x8&0xff]^_0x1525a9[_0x13e447&0xff]^_0x4d021b[_0x15ad5e++],_0x3edb9c=_0x5567fa[_0x5e3586>>>0x18]^_0x32a3d9[_0x202767>>>0x10&0xff]^_0x480aef[_0x13e447>>>0x8&0xff]^_0x1525a9[_0x31fb7a&0xff]^_0x4d021b[_0x15ad5e++],_0xb21e5d=_0x5567fa[_0x202767>>>0x18]^_0x32a3d9[_0x13e447>>>0x10&0xff]^_0x480aef[_0x31fb7a>>>0x8&0xff]^_0x1525a9[_0x5e3586&0xff]^_0x4d021b[_0x15ad5e++],_0x4eee18=_0x5567fa[_0x13e447>>>0x18]^_0x32a3d9[_0x31fb7a>>>0x10&0xff]^_0x480aef[_0x5e3586>>>0x8&0xff]^_0x1525a9[_0x202767&0xff]^_0x4d021b[_0x15ad5e++];_0x31fb7a=_0x5ccbf4,_0x5e3586=_0x3edb9c,_0x202767=_0xb21e5d,_0x13e447=_0x4eee18;}var _0x5ccbf4=(_0x5a81b8[_0x31fb7a>>>0x18]<<0x18|_0x5a81b8[_0x5e3586>>>0x10&0xff]<<0x10|_0x5a81b8[_0x202767>>>0x8&0xff]<<0x8|_0x5a81b8[_0x13e447&0xff])^_0x4d021b[_0x15ad5e++],_0x3edb9c=(_0x5a81b8[_0x5e3586>>>0x18]<<0x18|_0x5a81b8[_0x202767>>>0x10&0xff]<<0x10|_0x5a81b8[_0x13e447>>>0x8&0xff]<<0x8|_0x5a81b8[_0x31fb7a&0xff])^_0x4d021b[_0x15ad5e++],_0xb21e5d=(_0x5a81b8[_0x202767>>>0x18]<<0x18|_0x5a81b8[_0x13e447>>>0x10&0xff]<<0x10|_0x5a81b8[_0x31fb7a>>>0x8&0xff]<<0x8|_0x5a81b8[_0x5e3586&0xff])^_0x4d021b[_0x15ad5e++],_0x4eee18=(_0x5a81b8[_0x13e447>>>0x18]<<0x18|_0x5a81b8[_0x31fb7a>>>0x10&0xff]<<0x10|_0x5a81b8[_0x5e3586>>>0x8&0xff]<<0x8|_0x5a81b8[_0x202767&0xff])^_0x4d021b[_0x15ad5e++];_0x4e55af[_0x276637]=_0x5ccbf4,_0x4e55af[_0x276637+0x1]=_0x3edb9c,_0x4e55af[_0x276637+0x2]=_0xb21e5d,_0x4e55af[_0x276637+0x3]=_0x4eee18;},'keySize':0x100/0x20});_0x3787e3[_0x193bc9(0x1e1)]=_0x3d90e0['_createHelper'](_0x22c260);}()),_0x3bb748[_0x579736(0x1e1)];}));}(Ve)),Ve[_0x27b070(0x407)];}var In=mn();const Sn=ke(In);var gn=Ri();const ti=ke(gn);var Xe={'exports':{}},Tn=Xe['exports'],ii;function On(){var _0x3ce462=_0x32c544;return ii||(ii=0x1,function(_0x1d8c12,_0x11370c){(function(_0x556120,_0x233d44){var _0x170733=_0x4b66;_0x1d8c12[_0x170733(0x407)]=_0x233d44(ie());}(Tn,function(_0x1c27c1){var _0xd647d6=_0x4b66;return _0x1c27c1['enc'][_0xd647d6(0x25a)];}));}(Xe)),Xe[_0x3ce462(0x407)];}function _0x4b66(_0x23440b,_0x193a12){var _0x43ba77=_0x43ba();return _0x4b66=function(_0x4b66e7,_0x4d9710){_0x4b66e7=_0x4b66e7-0x1de;var _0x30363b=_0x43ba77[_0x4b66e7];return _0x30363b;},_0x4b66(_0x23440b,_0x193a12);}var Rn=On();const Cn=ke(Rn);var Ze={'exports':{}},Nn=Ze['exports'],si;function bn(){var _0x1f98bd=_0x32c544;return si||(si=0x1,function(_0x558ddf,_0x1f93b8){(function(_0x32b676,_0x516a53){var _0x273ed1=_0x4b66;_0x558ddf[_0x273ed1(0x407)]=_0x516a53(ie());}(Nn,function(_0x319911){var _0x3433d2=_0x4b66;return(function(){var _0x4c287e=_0x4b66;if(typeof ArrayBuffer=='function'){var _0xa5dbad=_0x319911,_0x78995=_0xa5dbad['lib'],_0x473dad=_0x78995[_0x4c287e(0x3d9)],_0x333f0a=_0x473dad['init'],_0x46539d=_0x473dad[_0x4c287e(0x220)]=function(_0x2fee68){var _0x1dc3c4=_0x4c287e;if(_0x2fee68 instanceof ArrayBuffer&&(_0x2fee68=new Uint8Array(_0x2fee68)),(_0x2fee68 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2fee68 instanceof Uint8ClampedArray||_0x2fee68 instanceof Int16Array||_0x2fee68 instanceof Uint16Array||_0x2fee68 instanceof Int32Array||_0x2fee68 instanceof Uint32Array||_0x2fee68 instanceof Float32Array||_0x2fee68 instanceof Float64Array)&&(_0x2fee68=new Uint8Array(_0x2fee68[_0x1dc3c4(0x382)],_0x2fee68[_0x1dc3c4(0x434)],_0x2fee68[_0x1dc3c4(0x1f4)])),_0x2fee68 instanceof Uint8Array){for(var _0x100b4d=_0x2fee68[_0x1dc3c4(0x1f4)],_0x4f8257=[],_0x34f4b1=0x0;_0x34f4b1<_0x100b4d;_0x34f4b1++)_0x4f8257[_0x34f4b1>>>0x2]|=_0x2fee68[_0x34f4b1]<<0x18-_0x34f4b1%0x4*0x8;_0x333f0a[_0x1dc3c4(0x446)](this,_0x4f8257,_0x100b4d);}else _0x333f0a[_0x1dc3c4(0x49d)](this,arguments);};_0x46539d['prototype']=_0x473dad;}}()),_0x319911['lib'][_0x3433d2(0x3d9)];}));}(Ze)),Ze[_0x1f98bd(0x407)];}var Dn=bn();const yn=ke(Dn);var Qe={'exports':{}},Un=Qe[_0x32c544(0x407)],ni;function An(){var _0x28843b=_0x32c544;return ni||(ni=0x1,function(_0x517c7,_0x47d35f){(function(_0xab6f6a,_0x1d1c8f,_0x11274f){var _0x28da75=_0x4b66;_0x517c7[_0x28da75(0x407)]=_0x1d1c8f(ie(),Ni());}(Un,function(_0xb62fba){var _0x372ab9=_0x4b66;return _0xb62fba[_0x372ab9(0x1ef)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0xb62fba[_0x372ab9(0x1ef)]['NoPadding'];}));}(Qe)),Qe[_0x28843b(0x407)];}var Pn=An();const wn=ke(Pn);function Mn(_0x1f7385,_0x31e145){var _0x17df86=_0x32c544;const _0x40af4c=_0x31e145-_0x1f7385[_0x17df86(0x4c3)]%_0x31e145,_0x5c0a25=String[_0x17df86(0x2e0)](_0x40af4c)[_0x17df86(0x2f7)](_0x40af4c);return _0x1f7385+_0x5c0a25;}function Ln(_0x11ffa7,_0x2f0442){var _0x7968cd=_0x32c544;const _0x11a7ad=yn[_0x7968cd(0x3bc)](0x10),_0xe27274=Mn(_0x11ffa7,0x10),_0x4e3843=Sn[_0x7968cd(0x353)](Cn[_0x7968cd(0x244)](_0xe27274),ti['parse'](_0x2f0442),{'iv':_0x11a7ad,'padding':wn});return _0x11a7ad[_0x7968cd(0x215)](_0x4e3843[_0x7968cd(0x47e)])[_0x7968cd(0x295)](ti);}function xn(){var _0x1e959d=_0x32c544;const _0x3d41c7=_0x4dd619()['__Key__'];if(_0x3d41c7){const _0x31b75d={'time':Math['floor'](Date[_0x1e959d(0x264)]()/0x3e8),'domain':location[_0x1e959d(0x3b7)]};return Ln(JSON[_0x1e959d(0x342)](_0x31b75d),_0x3d41c7);}}var $n=Object[_0x32c544(0x45c)],kn=(_0x2cf286,_0x1651f6,_0x2a5829,_0x1f873d)=>{var _0xf41b7e=_0x32c544;for(var _0x41217b=_0x1f873d>0x1?void 0x0:_0x1f873d?$n(_0x1651f6,_0x2a5829):_0x1651f6,_0x37c163=_0x2cf286[_0xf41b7e(0x4c3)]-0x1,_0x1bc7e2;_0x37c163>=0x0;_0x37c163--)(_0x1bc7e2=_0x2cf286[_0x37c163])&&(_0x41217b=_0x1bc7e2(_0x41217b)||_0x41217b);return _0x41217b;},Hn=(_0x586747,_0x15ee79)=>(_0x52c79d,_0x16715a)=>_0x15ee79(_0x52c79d,_0x16715a,_0x586747);function _0x43ba(){var _0x5e814e=['275ElNxOt','filter','_initRequestHeader','_createInitialStateImpl','_doCreateSocket','_pendingMutations','Univer','OFFLINE','addHandlerCallback','_replayCachedMutations','RETRY_CONNECTING_MAX_COUNT','requestParams','hostname','session','_map','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket','random','ERROR_AGAIN','subject','LEAVE','c2Prime','_clearHeartbeatTimer','YUUMI_CONNECTOR_URL_NOT_FOUND','_changesetReqId','_exhaustRemoteChangesetQueue','ws://127.0.0.1:8000/universer-api/comb/connect','setShowComponents','offline','joinRsp','_key','ceil','_prevBlock','cfg','USERS_ENTER','defineProperty','getResourcesRequest','MD5','_socket$','_onCombEvent','_localeService','putCollaborators','ENTITLE_REPORT_LIMIT_EXCEED','baseRev','UUID','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','WordArray','_mode','transformMutationsWithChangeset','sessionStatus','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','slice','unitId','_initDependencies','updateCollaborator','fetchThroughInterceptors','transformSelections','AWAITING_WITH_PENDING','_iv','_collaborationSessionService','status','_members','clone','_eventService','getValue','ENTITLE_CHAT_LIMIT_EXCEED','session.join-failed','closeSession','send','SerializableCipher','_onUserJoin','_permissionService','getTypeOfUnitAdded$','AUTHORIZE_CODE_ILLEGAL','_replaceFileID','collaborators','_onJoinRoomEvent','resend','updateOfflineData','patch','REDEMPTION_CODE_NOT_STARTED','/collaborator','onSendChangeset','collabWebSocketUrl','transformStack\x20failed!','type','_doCryptBlock','getCollabEntity','JOIN_ROOM_NOT_EXISTS','requireSession','onload','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','exports','max','catch','PERMISSION_REJ','setCurrentUser','HttpExport','_showConflictNotification','onStarting','_throwTelemetryCollaborationNewChangeset','getMemberID','_ENC_XFORM_MODE','[PendingState]:\x20received\x20rejection.','changesets','updatePermissionObjEvent','unpad','getCurrentRevOfUnit','MUTATION','withCredentials','_logService','PERMISSION_DENIED','capture','getCurrentUser','session.room-permission-denied','FileId','focused$','onTransformState','REDEMPTION_USER_NOT_ELIGIBLE','toggleOnline','_DEC_XFORM_MODE','_clearCollaborationTimeoutTimer','PERSON','session.room-cnt-exceeds','_config','_retryConnectingTimer','update','_onRecvEvent','sendChangesetTimeout','YUUMI_NO_CUBOID_FOR_QUESTION','uploadFileServerUrl','_initUnitPermissionChange','collabSubmitChangesetUrl','clamp','state','every','UserProfileImg','byteOffset','createSocket','_createHandler','_getCtorByUniverType','push','11511xrRNrQ','getRandomValues','connection\x20error','[DataLoaderService]','dispose','StreamCipher','Base','univer-pro.collaboration-client.single-active-unit-service','removeMember','_revisionService','updateMember','_clearRedo','resourceIDs','call','ONLINE','_getUndoStack','pending','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','objectType','abs','transformChangesets','name','JOIN_ROOM_FULL','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','auth.needGotoLoginAlert','_collaborationUIEventService','snapshotServerUrl','_sendHeartbeatTimer','/universer-api/authz','DATA_SOURCE_TOO_LARGE','LICENSE_IMPORT_SIZE_EXCEEDED','UPDATE_PERMISSION_OBJ','SHA1','emitEvent','authzUrl','getOwnPropertyDescriptor','_onFetchMissResult','_substituteRedoStack','subscribe','_handler','435270FyPiWO','localeService','members','PY_RUNTIME_SCRIPT_ERROR','_snapshotService','_waitForHeartbeatResponse','_updateState','CHANGESET_SHOULD_RETRY','HEARTBEAT','CONFLICT','updateSnapshot','UNIVER_COLLABORATION_CLIENT_PLUGIN','JOINING','_awaitingChangeset','originalMeta','incrementRevOfUnit','size','_append','_scheduleCollaborationTimeoutTimer','FAIL','_tryReconnect','complete','/allowed','CHANGESET_REVISION_CONFILICT','sid','permissionRejEvent','selections','csAckEvent','delete','ciphertext','_isPermissionRej','retryConnectingInterval','ENTITLE_NEED_BILLING_ADDRESS','getUnitStatus$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_instanceService','MOBILE_VERIFY_CODE_MISMATCH','LICENSE_EXPORT_SIZE_EXCEEDED','equals','/universer-api/user/session-ticket','file','_httpService','online$','sin','FETCH_MISS','_createInitialState','_undoRedoService','SHOULD_CLOSE_CONN','updatePermissionPoint','[CollaborationSessionService]','reduce','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_transformStack','_startTelemetryCollaborationNewChangeset','symbol','getUnitId','objectID','JOIN','PSEUDO_FETCH_MISSING_RESULT','apply','UNIVER_SHEET','HttpImport','_removeRoom','code','createInstance','getFocusedUnit','_roomMembers','Encryptor','_decreaseWaiting','_oKey','_type','prototype','createEncryptor','LIVESHARE_TERMINATE','fetch_missing','AWAITING','270934fUHLAl','OTHER_CLIENT_EDITING','/-/object/-/batch_allowed','loadUnit','fetching\x20missing\x20changesets\x20from\x20','NO_OTHER_CLIENTS_EDITING','APPLY_REJECT','initWorkbookPermissionChange','_imageSourceCache','createDecryptor','close','[CollaborationSession]','data','/universer-api/uniscript','eventID','HmacSHA1','_clearTimeoutTimer','_collaborationTimeoutTimer','_transformRemoteChangesetByIMECache','LICENSE_MAX_UNITS_EXCEEDED','session.room-not-exists','length','error$','conflict','createCollaborator','src','_getLoginPath','change$','_transformSelections','list','_onOffline','_nRounds','5PJZHnC','Hasher','refreshPermission','_transformRemoteChangesetByStateCache','_snapshotServerService','_injector','/universer-api/snapshot','UnitEmbedded','INTERNAL_ERROR','_transformStateCache','awaiting_with_pending','isArray','_getRedoStack','message$','_stopTelemetryCollaborationNewChangeset','randomBytes','getTypeOfUnitDisposed$','unit-cache-','range','YUUMI_ASYNCIO_CANCELLED','NOT_COLLAB','BASE64','actions','onRemoteChangeset','dispose$','NOT_FOUND','UPDATE_CURSOR','getUnitType','roles','$super','_networkConditionService','_rescheduleHeartbeat','unknown','subUnitId','saveImage','transformUndoRedo','clear','JOIN_ROOM_PERMISSION_DENIED','_redoStacks','INGEST','floor','unsubscribe','snapshot','REDEMPTION_INVALID_CODE','set','APPLY_REVISION_CONFILICT','crypto','replace','sigBytes','onTransformRemoteChangesetByIMECache','[CollaborationSessionService]:\x20socket\x20error','loginUrlKey','_updateStatus','_hash','LIVESHARE_NEW_HOST','synced','objectActions','_lockTransition','_entities','AES','_userManagerService','_submitChangeset','avatar','_getUploadFileURL','commentUpdate$','Pkcs7','readInt32LE','socketService','ENSURE_SNAPSHOT_EXECUTION','_doFinalize','LICENSE_DISTRO_REJECTED','\x0aAfter:\x20','[FetchMissState]','pad','_collaborationPaused','format','get','CLOSE_ROOM','byteLength','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','charAt','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','submit\x20changeset\x20error!','find','image/jpg','_retryCount','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','state$','INVALID_INVITE_CODE','resolve','onTransformSelections','create','getTime','sessionStatus$','session.room-full','_executeRemoteChangeset','_onUserLeave','_keySchedule','[PendingState]:\x20received\x20acknowledgement.','&source=','_onRemoteRejected','liveShareNewHost','result','_unlockTransition','onTransformIME','_fetchMissChangesets','EvpKDF','decrypt','entries','onLocalMutation','concat','image/png','/unit/','saveSheetBlock','failed\x20to\x20apply\x20missed\x20changesets!','workbook','REDEMPTION_CODE_FULLY_REDEEMED','_shouldReportTelemetry','params','getUnitOnRev','INVITE_CODE_HAS_BEEN_UES','init','_registerDependencies','UNAUTHENTICATED','iterations','_sheetTransformSelectionsService','UNIVER_UNKNOWN','ERROR_EXCEED_SIZE','_remoteChangesetQueue','/object','fromCollab','Failed\x20to\x20update\x20permission\x20point','algo','liveShareOperation','LOGIN_FAILED','WECHAT_HAS_BEEN_BOUND','revision','members$','m2Prime','_telemetryInfo','hasOwnProperty','CipherParams','_queuedRemoteChangesets','UNIVER_PROJECT','_transformUndoredo','string','getWorkbookSelections','isPermissionRej','leaveEvent','\x20to\x20','YUUMI_SUBSCRIPTION_NOT_FOUND','getSnapshotAPIPath','CURRENT_STATUS_CANNOT_OPERATE','rev','join','Could\x20not\x20dynamically\x20require\x20\x22','?url=','parse','debug','getCollabEntity$','compose','SYNCED','\x0aCurrent:\x20','_commandService','_toggleOnline','reject','_configService','ivSize','_keyPriorReset','enableCollaboration','_compressMutationService','IDLE','_memberService','values','extend','add','roomInfos','sheets','editing\x20status\x20changed\x20to','Utf8','ALREADY_EXISTS','_sendingTimer','_state$','REDEMPTION_CODE_INACTIVE','_doReset','_changesetSessionId','_acknowledgedAwaitingChangeset','POST','SNAPSHOT_HAS_BEEN_REMOVED','now','x-univer-host','getUnit','entityInit$','responseType','Error\x20on\x20receiving\x20event','then','appendMutation','USER_IS_ANONYMOUS','_waitCount','52RrEFuQ','_onRemoteACK','open$','_invKeySchedule','BufferedBlockAlgorithm','default','LIVESHARE_REQUEST_HOST','onRemoteAck','memberID','includes','USERS_LEAVE','_listenToNetworkCondition','_onConnectionFailed','_undoStacks','onRemoteRej','salt','_getAPIPrefixPath','YUUMI_RATE_OVER_LIMIT','_incrementRevisionNumber','_nDataBytes','/block/','location','UNIVER_SLIDE','fetchMissingChangesets','mixIn','interceptor','{fileID}','onCommentUpdate','pauseCollaboration','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','confirm','LIVESHARE_OPERATION','[UniverCollaborationClientPlugin]','getLatestCsReqIdBySid','collaMsg','not_collab','routeKey','GLOBAL_ROOMS_CNT_EXCEEDS','function','toString','_commentService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','shouldCloseConn','[CollaborationEntity]','_event$','_candidateSocket','_localCacheService','encryptBlock','USER_NOT_INVITED_CODE','unitID','COMMENT_UPDATE','event$','registerHTTPInterceptor','SNAPSHOT_URL_KEY','mode','_applyRemoteChangeset','_univerInstanceService','\x20-\x20','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','csRejEvent','_onLocalMutation','downloadEndpointUrl','hasher','socket\x20close','BlockCipher','addImageSourceCache','_sessions','RECV','_transitionLocked','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','next','saveSnapshot','univer-pro.collaboration-client-socket-service','_initCloseConn','onMissingChangesets','mutations','UNRECOGNIZED','copyFileMeta','BlockCipherMode','socket$','unitInfo$','_collabSessionService','_getSendChangesetTimeout','keySize','loadUnitOfRevision','_scheduleCompleteTimestamp','onSyncEditingCollabCursor','put','_telemetryService','toggleOffline','cmd','_unitInfo$','CHANGESET_REJ','_roomCreated$','REDEMPTION_CODE_HAS_BEEN_CREATED','YUUMI_AI_RUN_FAILED','HELLO','_unitID','words','has','/object/','_resendTimeout','_clearScheduledTask','splice','OPTIONAL','collaboration_new_changeset','_xformMode','ENTITLE_INSUFFICIENT_QUOTA','substr','_singleActiveUnitService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','INVALID_ARGUMENT','_transformService','listCollaborators','fromCharCode','JOIN_ROOM_FAILED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','localCacheService','_sessionStatus$','getImage','_emitMembers','/universer-api/snapshot/','MOBILE_HAS_BEEN_BOUND','1445634tgTDND','forEach','_createHmacHelper','_schedule','_getSignURL','CONNECTOR_DATA_TOO_LARGE','_process','People','LOGIN_TOKEN_PROCESSING_FAILED','reconnect','Base64','close$','_handlerCallback','[OfflineState]:\x20received\x20changeset.','repeat','APPLY_NON_SEQUENTIAL_REVISION','CBC','HEARTBEAT_INTERVAL','getActiveSheet','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_reverseMap','decryptBlock','OpenSSL','url','disposeWithMe','SUBMIT_CHANGESET','findIndex','method','body','550016KrKaqn','commentUpdateEvent','_socketReady','_updateLocalCache','_HTTPService','indexOf','COMPLETION_FINISHED','collaboratorID','_init','[CollaborationUndoRedoService]','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','msCrypto','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','enc','_hasher','APPLY_DUPLICATED','onlyLocal','HMAC','compute','socket\x20open.','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','?size=','_sendHeartbeat','unitId\x20is\x20not\x20found','onCommandExecuted','execute','batchAllowed','infoRsp','Latin1','ClipsheetFragments','_parse','EMAIL_VERIFY_CODE_MISMATCH','updateCursorEvent','_doProcessBlock','_state','textRanges','/-/object/list','getImageSourceCache','signUrlServerUrl','from','_resendWithTimeout','_timeoutTimer','_startCollaboration','loadSheet','error','telemetry\x20info\x20is\x20not\x20initialized','UNISCRIPT_RUN','padding','reqId','PENDING','/universer-api/stream/file/upload','/resources','origin','_getDownloadEndpointURL','_change$','OTHER_CLIENTS_EDITING','_minBufferSize','onMissedChangesetFetched','map','stringify','ERROR_IMAGE','_onConnectionOpen','href','_socketMessageSubscription','Decryptor','blockSize','deleteCollaborator','SNAPSHOT_INVALID_SNAPSHOT','1716246KaAzHm','SOCKET_FAILED_RETRY','_sender','_checkMissing','_tryEnsureSocket','_iKey','_substituteUndoStack','[OfflineState]:\x20received\x20acknowledgement.','encrypt','_commentUpdate$','_createSocket','TOO_MANY_REQUESTS','UNIVER_DOC','CHANGESET_ACK','LIVESHARE_FETCH_OPERATIONS','COMPRESS_MUTATION_APPLY','_onMessage','getSheetId','_onRemoteChangeset','[SyncedState]:\x20received\x20acknowledgement.','_cipher','COMPRESS_MUTATION_SEND','univer-pro.collaboration-client.network-condition.service','executeCommand','/universer-api/file/{fileID}/sign-url','INVITE_CODE_REQUIRED','3179511CQsmyT','_onRemoteRetry','_data','finalize','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','onStateChange','onRemoteRetry','awaiting','MSG_FOR_ERROR','Undefined','asObservable','YUUMI_URL_COL_OUT_OF_RANGE','lib','charCodeAt','reset','collaboration-client.local-cache-service','getRoom','_onConflict','_status$','c1Prime','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_disableEditing','UNDEFINED','kdf','YUUMI_ALL_TABLES_IS_INVALID','[CollaborationState]:\x20apply\x20error!','PasswordBasedCipher','enableSingleActiveInstanceLock','loadOfflineData','buffer','3TIvyyV','_syncEditingCollabCursor','_getCurrentRevision','_clearUndo','_entityInit$','awaitingChangeset','_clearLocalCache','pipe','getConfig','csShouldRetryEvent','/new_changes','UNKNOWN_CODE','_getAPIPrefix','image/bmp','SUCCUSS','getMember','_members$','SOCKET_FAILED','NEW_CHANGESETS','__creator','HEARTBEAT_TIMEOUT','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UNKNOWN_CMD','getInterceptPoints','ENTITLE_CAN_NOT_BUY_LOWER_OTP','LOCAL_CACHE_INTERVAL','key','min','ENTITLE_DUP_SUBSCRIPTION','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','APPLY_PERMISSION_DENIED','headers','INVITE_CODE_ALREADY_BOUND','SUBMIT_CHANGESET_TIMEOUT','userID','post','_resendTimer','enableAuthServer','onTransformRemoteChangesetByStateCache','status$'];_0x43ba=function(){return _0x5e814e;};return _0x43ba();}let at=class{constructor(_0x531fdf){var _0x1e7070=_0x32c544;this[_0x1e7070(0x48a)]=_0x531fdf,this[_0x1e7070(0x3ad)]();}[_0x32c544(0x3ad)](){var _0x2cbffd=_0x32c544;this[_0x2cbffd(0x48a)][_0x2cbffd(0x2a2)]({'interceptor':(_0x12b5fc,_0x2c524e)=>{var _0x1aacf4=_0x2cbffd;const _0x4d08cc=_0x12b5fc[_0x1aacf4(0x3a2)],_0x371e15=xn();return _0x371e15&&_0x4d08cc['set'](_0x1aacf4(0x265),_0x371e15),_0x2c524e(_0x12b5fc);}});}};at=kn([Hn(0x0,_0x2fdf6c(_0x2c6c5a))],at);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x45e36a,_0x10b917,_0x45bb3e,_0x29e512)=>{var _0x3deffa=_0x32c544;for(var _0x39ea10=_0x29e512>0x1?void 0x0:_0x29e512?Bn(_0x10b917,_0x45bb3e):_0x10b917,_0x166996=_0x45e36a[_0x3deffa(0x4c3)]-0x1,_0x245399;_0x166996>=0x0;_0x166996--)(_0x245399=_0x45e36a[_0x166996])&&(_0x39ea10=_0x245399(_0x39ea10)||_0x39ea10);return _0x39ea10;},vt=(_0x4ccd9e,_0x652f7d)=>(_0x309282,_0x418568)=>_0x652f7d(_0x309282,_0x418568,_0x4ccd9e);let Ot=class extends _0x5b4d54{constructor(_0x1d4aab,_0xf42463,_0x401688){var _0x56f9db=_0x32c544;super(),D(this,_0x56f9db(0x2c9),new _0x21dfaa(null)),D(this,_0x56f9db(0x2be),this[_0x56f9db(0x2c9)][_0x56f9db(0x36f)]()),(this[_0x56f9db(0x419)]=_0x1d4aab,this[_0x56f9db(0x465)]=_0xf42463,this[_0x56f9db(0x29c)]=_0x401688);}async[_0x32c544(0x2c2)](_0x28d033,_0x7202ee,_0x48aabb){var _0x5e656b=_0x32c544;this[_0x5e656b(0x2c9)][_0x5e656b(0x2b4)]({'unitId':_0x28d033,'type':_0x7202ee});let _0x24e329=null;switch(_0x7202ee){case Q[_0x5e656b(0x49e)]:{_0x24e329=await this['_snapshotService'][_0x5e656b(0x332)](_0x28d033,_0x48aabb);break;}case Q[_0x5e656b(0x357)]:{_0x24e329=await this['_snapshotService']['loadDoc'](_0x28d033,_0x48aabb);break;}default:{this[_0x5e656b(0x419)][_0x5e656b(0x333)](_0x5e656b(0x43c),_0x5e656b(0x483));break;}}return _0x24e329;}async[_0x32c544(0x4b1)](_0x1bafdb,_0xde6715,_0x544b22){var _0x1159e0=_0x32c544,_0x19b50b;this[_0x1159e0(0x2c9)][_0x1159e0(0x2b4)]({'unitId':_0x1bafdb,'type':_0xde6715,'subUnitId':_0x544b22});let _0x5e435b=0x0;const _0x384759=await((_0x19b50b=this[_0x1159e0(0x29c)])==null?void 0x0:_0x19b50b[_0x1159e0(0x381)](_0x1bafdb));return _0x384759&&(_0x384759[_0x1159e0(0x388)]||_0x384759['mutations']['length']!==0x0)&&(_0x5e435b=_0x384759[_0x1159e0(0x240)]),_0x5e435b===0x0&&this[_0x1159e0(0x419)][_0x1159e0(0x245)](_0x1159e0(0x43c),_0x1159e0(0x2fd)),this[_0x1159e0(0x2c2)](_0x1bafdb,_0xde6715,_0x5e435b);}};Ot=Fn([vt(0x0,_0x22fe2d),vt(0x1,_0x2fdf6c(_0x3df09d)),vt(0x2,_0x708160(J))],Ot);var jn=Object[_0x32c544(0x45c)],Vn=(_0x38f360,_0x80aa1,_0x33b663,_0x3bdde8)=>{for(var _0xb446ba=_0x3bdde8>0x1?void 0x0:_0x3bdde8?jn(_0x80aa1,_0x33b663):_0x80aa1,_0x467f27=_0x38f360['length']-0x1,_0x341c4f;_0x467f27>=0x0;_0x467f27--)(_0x341c4f=_0x38f360[_0x467f27])&&(_0xb446ba=_0x341c4f(_0xb446ba)||_0xb446ba);return _0xb446ba;},pt=(_0x597e1f,_0x42794d)=>(_0x2804e6,_0x110ab2)=>_0x42794d(_0x2804e6,_0x110ab2,_0x597e1f);const Gn=[_0x32c544(0x216),'image/jpeg',_0x32c544(0x1fb),'image/gif',_0x32c544(0x390)],Wn=0x5*0x400*0x400,Yn=_0x32c544(0x339),Kn=_0x32c544(0x363);let Rt=class{constructor(_0x4cbfe0,_0x8f11b6,_0x136850){var _0x338691=_0x32c544;D(this,'_waitCount',0x0),D(this,_0x338691(0x33d),new _0x2cbd13()),D(this,_0x338691(0x4c9),this[_0x338691(0x33d)]),D(this,_0x338691(0x4b6),new Map()),(this[_0x338691(0x48a)]=_0x4cbfe0,this[_0x338691(0x24d)]=_0x8f11b6,this['_univerInstanceService']=_0x136850);}['setWaitCount'](_0x54f32f){var _0x5531e0=_0x32c544;this[_0x5531e0(0x26d)]=_0x54f32f,this[_0x5531e0(0x33d)][_0x5531e0(0x2b4)](_0x54f32f);}[_0x32c544(0x32c)](_0x256221,_0x225cc5){var _0x191e8e=_0x32c544;if(_0x225cc5===_0x535d6c[_0x191e8e(0x4e3)]){const _0xe636d0=new Image();return _0xe636d0[_0x191e8e(0x4c7)]=_0x256221,_0xe636d0;}return this[_0x191e8e(0x4b6)][_0x191e8e(0x1f2)](_0x256221);}[_0x32c544(0x2af)](_0x51e5f2,_0x26ac26,_0x58fe4b){var _0x902dc=_0x32c544;_0x26ac26===_0x535d6c[_0x902dc(0x4e3)]||_0x58fe4b==null||this[_0x902dc(0x4b6)][_0x902dc(0x4fa)](_0x51e5f2,_0x58fe4b);}async[_0x32c544(0x2e5)](_0xfac3c8){var _0x58b878=_0x32c544;try{const _0x470bde=this[_0x58b878(0x3f5)](this[_0x58b878(0x2ed)](),''+_0xfac3c8),_0x44b6ba=(await this[_0x58b878(0x48a)][_0x58b878(0x1f2)](_0x470bde))[_0x58b878(0x306)];if(_0x44b6ba[_0x58b878(0x333)]&&_0x44b6ba[_0x58b878(0x333)][_0x58b878(0x4a1)]===vi['OK']){const _0x41597b=new URL(_0x44b6ba[_0x58b878(0x301)],this[_0x58b878(0x33c)]())[_0x58b878(0x295)]();return Promise[_0x58b878(0x200)](_0x41597b);}return Promise[_0x58b878(0x24c)](_0x44b6ba[_0x58b878(0x333)]);}catch(_0x22dac9){return Promise['reject'](_0x22dac9);}}async[_0x32c544(0x4f0)](_0xf073d9){var _0x8428c5=_0x32c544;let _0x21e328='';if(!Gn[_0x8428c5(0x277)](_0xf073d9[_0x8428c5(0x400)]))return this[_0x8428c5(0x4a6)](),Promise['reject'](new Error(_0x4254d2['ERROR_IMAGE_TYPE']));if(_0xf073d9[_0x8428c5(0x471)]>Wn)return this[_0x8428c5(0x4a6)](),Promise[_0x8428c5(0x24c)](new Error(_0x4254d2[_0x8428c5(0x226)]));try{const _0x2d7bc5=new FormData();_0x2d7bc5['append'](_0x8428c5(0x489),_0xf073d9);const _0x979d8b=this[_0x8428c5(0x2a6)]['getFocusedUnit'](),_0x728cd=_0x979d8b==null?void 0x0:_0x979d8b[_0x8428c5(0x499)]();if(!_0x728cd)throw new Error(_0x8428c5(0x31e));const _0xb2b75=this[_0x8428c5(0x1e5)]()+_0x8428c5(0x31c)+_0xf073d9[_0x8428c5(0x471)]['toString']()+_0x8428c5(0x20a)+pi['UnitEmbedded']+'&assign='+encodeURIComponent(_0x728cd),_0xdb42b4={'body':_0x2d7bc5},_0x3b5862=(await this['_httpService']['post'](_0xb2b75,_0xdb42b4))['body'];if(typeof _0x3b5862[_0x8428c5(0x41e)]!='string')return this[_0x8428c5(0x4a6)](),Promise[_0x8428c5(0x24c)](new Error(_0x4254d2[_0x8428c5(0x343)]));_0x21e328=_0x3b5862[_0x8428c5(0x41e)];}catch{return this[_0x8428c5(0x4a6)](),Promise['reject'](new Error(_0x4254d2[_0x8428c5(0x343)]));}return new Promise((_0x3330fe,_0x41a7c4)=>{var _0x37382c=_0x8428c5;const _0x4b541b=new FileReader();_0x4b541b['readAsDataURL'](_0xf073d9),_0x4b541b[_0x37382c(0x405)]=_0x5d34ac=>{var _0x277caa=_0x37382c,_0x392165;const _0xe18b50=(_0x392165=_0x5d34ac['target'])==null?void 0x0:_0x392165[_0x277caa(0x20d)];if(_0xe18b50==null){this[_0x277caa(0x4a6)](),_0x41a7c4(new Error(_0x4254d2[_0x277caa(0x343)]));return;}const _0x46202f=_0x283b39(0x6);_0x3330fe({'imageId':_0x46202f,'imageSourceType':_0x535d6c[_0x277caa(0x3d7)],'source':_0x21e328,'base64Cache':_0xe18b50,'status':_0x4254d2[_0x277caa(0x391)]}),this[_0x277caa(0x4a6)]();};});}[_0x32c544(0x1e5)](){var _0xf96d78=_0x32c544,_0x493d9d;const _0x1ecea0=this[_0xf96d78(0x24d)][_0xf96d78(0x38b)](K);return(_0x493d9d=_0x1ecea0==null?void 0x0:_0x1ecea0[_0xf96d78(0x42d)])!=null?_0x493d9d:Yn;}[_0x32c544(0x2ed)](){var _0x45ff9e=_0x32c544,_0x10e530;const _0x29b03d=this[_0x45ff9e(0x24d)][_0x45ff9e(0x38b)](K);return(_0x10e530=_0x29b03d==null?void 0x0:_0x29b03d[_0x45ff9e(0x32d)])!=null?_0x10e530:Kn;}[_0x32c544(0x33c)](){var _0x2353eb=_0x32c544,_0x5bfbb6;const _0x1fd666=this['_configService'][_0x2353eb(0x38b)](K);return(_0x5bfbb6=_0x1fd666==null?void 0x0:_0x1fd666[_0x2353eb(0x2ab)])!=null?_0x5bfbb6:location[_0x2353eb(0x33b)];}['_replaceFileID'](_0x3c1d13,_0x58f630){var _0x3442e3=_0x32c544;return _0x3c1d13[_0x3442e3(0x4fd)](_0x3442e3(0x288),_0x58f630);}[_0x32c544(0x4a6)](){var _0x1d43c9=_0x32c544;this['_waitCount']-=0x1,this['_change$'][_0x1d43c9(0x2b4)](this['_waitCount']);}};Rt=Vn([pt(0x0,_0x2fdf6c(_0x2c6c5a)),pt(0x1,_0x4edaf7),pt(0x2,_0x2fdf6c(_0x9806b3))],Rt);var qn=Object[_0x32c544(0x45c)],zn=(_0x18120c,_0x287aad,_0x1486ed,_0x141fb3)=>{var _0x769f4c=_0x32c544;for(var _0x2822eb=_0x141fb3>0x1?void 0x0:_0x141fb3?qn(_0x287aad,_0x1486ed):_0x287aad,_0x50c332=_0x18120c[_0x769f4c(0x4c3)]-0x1,_0x5b6e49;_0x50c332>=0x0;_0x50c332--)(_0x5b6e49=_0x18120c[_0x50c332])&&(_0x2822eb=_0x5b6e49(_0x2822eb)||_0x2822eb);return _0x2822eb;},ri=(_0x31673b,_0x16b043)=>(_0x34cd56,_0x2b84d9)=>_0x16b043(_0x34cd56,_0x2b84d9,_0x31673b);const Jn=_0x32c544(0x455);let Ct=class{constructor(_0x1e5c89,_0x6d9b4d){var _0x40017f=_0x32c544;this[_0x40017f(0x24d)]=_0x1e5c89,this[_0x40017f(0x30b)]=_0x6d9b4d;}[_0x32c544(0x27e)](){var _0x2c6c00=_0x32c544,_0x5c3289;const _0x24fdbd=this['_configService'][_0x2c6c00(0x38b)](K);return(_0x5c3289=_0x24fdbd==null?void 0x0:_0x24fdbd[_0x2c6c00(0x45b)])!=null?_0x5c3289:Jn;}async[_0x32c544(0x4cb)](_0x193041){var _0x20af66=_0x32c544;const _0x3fec9e=this[_0x20af66(0x27e)]()+_0x20af66(0x3fc);return{'list':[{'title':_0x20af66(0x2f0),'mentions':(await this['_HTTPService'][_0x20af66(0x1f2)](_0x3fec9e,{'params':{'objectID':_0x193041['unitId'],'unitID':_0x193041[_0x20af66(0x3df)]}}))[_0x20af66(0x306)][_0x20af66(0x3f6)][_0x20af66(0x341)](_0x2b4c79=>({'objectId':_0x2b4c79['id'],'name':_0x2b4c79[_0x20af66(0x3be)][_0x20af66(0x44e)],'metadata':{'icon':_0x2b4c79[_0x20af66(0x3be)][_0x20af66(0x1e4)]},'label':_0x2b4c79[_0x20af66(0x3be)]['name'],'objectType':_0x4fff52[_0x20af66(0x425)]})),'metadata':{},'type':_0x4fff52[_0x20af66(0x425)]}]};}};Ct=zn([ri(0x0,_0x2fdf6c(_0x4edaf7)),ri(0x1,_0x2fdf6c(_0x2c6c5a))],Ct);var Xn=Object[_0x32c544(0x45c)],Zn=(_0x422c8d,_0x3e0b6d,_0x9c3d31,_0x5e24a5)=>{var _0x568600=_0x32c544;for(var _0x341630=_0x5e24a5>0x1?void 0x0:_0x5e24a5?Xn(_0x3e0b6d,_0x9c3d31):_0x3e0b6d,_0x51e83e=_0x422c8d[_0x568600(0x4c3)]-0x1,_0x481060;_0x51e83e>=0x0;_0x51e83e--)(_0x481060=_0x422c8d[_0x51e83e])&&(_0x341630=_0x481060(_0x341630)||_0x341630);return _0x341630;},Ue=(_0x167542,_0x4010a5)=>(_0x3f147c,_0x119c4a)=>_0x4010a5(_0x3f147c,_0x119c4a,_0x167542);let ot=class extends _0x5b4d54{constructor(_0x1fec11,_0x331708,_0x295d39,_0x4f442a,_0x19c15c){var _0x2e6b2f=_0x32c544;super(),this[_0x2e6b2f(0x4d3)]=_0x1fec11,this[_0x2e6b2f(0x2a6)]=_0x331708,this[_0x2e6b2f(0x3f2)]=_0x295d39,this[_0x2e6b2f(0x3e6)]=_0x4f442a,this[_0x2e6b2f(0x452)]=_0x19c15c,this[_0x2e6b2f(0x42e)](),this[_0x2e6b2f(0x2b7)]();}[_0x32c544(0x2b7)](){var _0x356c1b=_0x32c544;const _0x202db7=async _0x29ee97=>{var _0x50028c=_0x4b66;(await this[_0x50028c(0x3e6)]['requireSession'](_0x29ee97))[_0x50028c(0x2a1)][_0x50028c(0x38a)](_0x28fc3d(_0x502d48=>_0x502d48[_0x50028c(0x4bc)]===_0x74d8b5[_0x50028c(0x490)]),_0x75b471(this['dispose$']))[_0x50028c(0x45f)](_0x58c82b=>{var _0x1e8641=_0x50028c;const _0x5a0107=_0x58c82b,{reason:_0x31e546}=_0x5a0107[_0x1e8641(0x4ba)];this[_0x1e8641(0x452)][_0x1e8641(0x45a)]({'id':re['CLOSE_ROOM'],'data':_0x31e546}),this[_0x1e8641(0x3f2)][_0x1e8641(0x491)](new _0x4d96c8(_0x29ee97)['id'],!0x1),this[_0x1e8641(0x3e6)][_0x1e8641(0x3ee)](_0x29ee97);});};_0x578f19(this['_univerInstanceService'][_0x356c1b(0x3f3)](_0x2d1a18[_0x356c1b(0x49e)]),this[_0x356c1b(0x2a6)]['getTypeOfUnitAdded$'](_0x2d1a18['UNIVER_DOC']))[_0x356c1b(0x38a)](_0xcc690c(_0x43e6a8=>_0x43e6a8[_0x356c1b(0x499)]()),_0x28fc3d(_0x28db9f=>!_0x368259(_0x28db9f)),_0x75b471(this[_0x356c1b(0x4e6)]))[_0x356c1b(0x45f)](_0x1d9fd7=>{_0x202db7(_0x1d9fd7);});}[_0x32c544(0x42e)](){var _0x59d903=_0x32c544;const _0x2d8943=async _0x6bf17a=>{var _0x1dd541=_0x4b66;const _0x13f62d=await this[_0x1dd541(0x3e6)]['requireSession'](_0x6bf17a),_0x16333f=this[_0x1dd541(0x4d3)][_0x1dd541(0x1f2)](_0x3e82b8);_0x13f62d[_0x1dd541(0x2a1)][_0x1dd541(0x38a)](_0x28fc3d(_0x492edd=>_0x492edd[_0x1dd541(0x4bc)]===_0x74d8b5[_0x1dd541(0x458)]),_0x75b471(this['dispose$']))[_0x1dd541(0x45f)](_0x1bab7a=>{var _0x222fb8=_0x1dd541;const _0x1bc048=_0x1bab7a,{objectId:_0x226cd3}=_0x1bc048[_0x222fb8(0x4ba)];_0x226cd3===_0x6bf17a?_0x16333f[_0x222fb8(0x4b5)](_0x6bf17a):_0x16333f[_0x222fb8(0x4d0)](_0x6bf17a,_0x226cd3);});};_0x578f19(this[_0x59d903(0x2a6)][_0x59d903(0x3f3)](_0x2d1a18['UNIVER_SHEET']))[_0x59d903(0x38a)](_0xcc690c(_0x2d0762=>_0x2d0762[_0x59d903(0x499)]()),_0x28fc3d(_0x2b08f4=>!_0x368259(_0x2b08f4)),_0x75b471(this[_0x59d903(0x4e6)]))[_0x59d903(0x45f)](_0x314327=>{_0x2d8943(_0x314327);});}};ot=Zn([Ue(0x0,_0x2fdf6c(_0x370bdb)),Ue(0x1,_0x9806b3),Ue(0x2,_0x4c1404),Ue(0x3,_0x2fdf6c(we)),Ue(0x4,_0x2fdf6c(ve))],ot);var Qn=Object[_0x32c544(0x45c)],er=(_0x18e1f3,_0x1b9674,_0x2a1323,_0x251ae7)=>{for(var _0x105125=_0x251ae7>0x1?void 0x0:_0x251ae7?Qn(_0x1b9674,_0x2a1323):_0x1b9674,_0x45252f=_0x18e1f3['length']-0x1,_0xe24ef6;_0x45252f>=0x0;_0x45252f--)(_0xe24ef6=_0x18e1f3[_0x45252f])&&(_0x105125=_0xe24ef6(_0x105125)||_0x105125);return _0x105125;},ai=(_0x29fc7f,_0x4d2109)=>(_0x40eac5,_0x533649)=>_0x4d2109(_0x40eac5,_0x533649,_0x29fc7f);let Nt=class{constructor(_0x1f7cba,_0xb60239){var _0x36b384=_0x32c544;this[_0x36b384(0x24d)]=_0x1f7cba,this['_httpService']=_0xb60239;}async[_0x32c544(0x21e)](_0x3be6b3,_0x36bc56){var _0x462758=_0x32c544,_0x4f8123;const {unitID:_0x416051,type:_0x2a3042,revision:_0x4484c9=0x0}=_0x36bc56,_0x41e350=this[_0x462758(0x23e)]()+'/'+_0x2a3042+_0x462758(0x217)+_0x416051+'/rev/'+_0x4484c9,_0x35cde5=(await this['_httpService'][_0x462758(0x1f2)](_0x41e350))[_0x462758(0x306)],_0x1ecced=(_0x4f8123=_0x35cde5[_0x462758(0x4f8)])==null?void 0x0:_0x4f8123[_0x462758(0x21a)];if(_0x1ecced){const _0x18be91=_0x1ecced==null?void 0x0:_0x1ecced[_0x462758(0x46f)],_0x5b09bc=_0x469788['encode'](_0x2514a6(_0x18be91));_0x1ecced[_0x462758(0x46f)]=_0x5b09bc,Object[_0x462758(0x213)](_0x1ecced[_0x462758(0x258)])[_0x462758(0x2ea)](([,_0x1a6f95])=>{var _0x5bd32c=_0x462758;const _0x42d5f1=_0x1a6f95[_0x5bd32c(0x46f)],_0x4b4f5b=_0x469788['encode'](_0x2514a6(_0x42d5f1));_0x1a6f95[_0x5bd32c(0x46f)]=_0x4b4f5b;});}return _0x35cde5;}async['getSheetBlock'](_0x549fe1,_0x4f4fd7){var _0x2afcab=_0x32c544;const {unitID:_0x54823f,type:_0x21fa60,blockID:_0x59578b}=_0x4f4fd7,_0x3c577a=this[_0x2afcab(0x38f)]()+'/'+_0x21fa60+_0x2afcab(0x217)+_0x54823f+_0x2afcab(0x282)+_0x59578b;return(await this[_0x2afcab(0x48a)][_0x2afcab(0x1f2)](_0x3c577a))[_0x2afcab(0x306)];}async['getDeserializedSheetBlock'](_0x394d83,_0x158420){var _0x246e91=_0x32c544;const {unitID:_0x16c043,type:_0x37d9c0,blockID:_0x119e4b}=_0x158420,_0x15414d=this['_getAPIPrefix']()+_0x246e91(0x282)+_0x37d9c0+_0x246e91(0x217)+_0x16c043+_0x246e91(0x282)+_0x119e4b;return(await this['_httpService'][_0x246e91(0x1f2)](_0x15414d))[_0x246e91(0x306)];}async[_0x32c544(0x285)](_0x52e658,_0x56a23a){var _0x2ffe4c=_0x32c544;const {unitID:_0x5d94b0,type:_0x5d8cd1,from:_0x52e45e,to:_0x358be3}=_0x56a23a,_0x532da7=this['_getAPIPrefix']()+'/'+_0x5d8cd1+_0x2ffe4c(0x217)+_0x5d94b0+'/fetchmissing?from='+_0x52e45e+'&to='+_0x358be3;return(await this['_httpService'][_0x2ffe4c(0x1f2)](_0x532da7))[_0x2ffe4c(0x306)];}['getSnapshotAPIPath'](){var _0xacc879=_0x32c544,_0x1c563f;return(_0x1c563f=this['_configService'][_0xacc879(0x38b)](vs))!=null?_0x1c563f:this[_0xacc879(0x38f)]();}[_0x32c544(0x38f)](){var _0x4af0cc=_0x32c544,_0x100a5d;const _0x268210=this[_0x4af0cc(0x24d)][_0x4af0cc(0x38b)](K);return(_0x100a5d=_0x268210==null?void 0x0:_0x268210[_0x4af0cc(0x453)])!=null?_0x100a5d:fs;}async[_0x32c544(0x3cf)](_0x5a63cc,_0x5c93d2){var _0x5d5569=_0x32c544;const _0x12044f=_0x5d5569(0x2e7)+_0x5c93d2[_0x5d5569(0x400)]+'/unit/'+_0x5c93d2[_0x5d5569(0x29f)]+_0x5d5569(0x33a);return(await this[_0x5d5569(0x48a)][_0x5d5569(0x1f2)](_0x12044f,{'params':{'resourceId':JSON['stringify'](_0x5c93d2[_0x5d5569(0x445)])}}))[_0x5d5569(0x306)];}[_0x32c544(0x2b5)](){var _0x4392f9=_0x32c544;throw new Error(_0x4392f9(0x3dd));}[_0x32c544(0x46b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x32c544(0x218)](){var _0x5213d7=_0x32c544;throw new Error(_0x5213d7(0x3dd));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x32c544(0x2bb)](){var _0x49f8f6=_0x32c544;throw new Error(_0x49f8f6(0x3dd));}[_0x32c544(0x28f)](){var _0x44f952=_0x32c544;throw new Error(_0x44f952(0x3dd));}};Nt=er([ai(0x0,_0x4edaf7),ai(0x1,_0x2fdf6c(_0x2c6c5a))],Nt);var tr=Object[_0x32c544(0x45c)],ir=(_0x571297,_0x5d7de9,_0x699d0e,_0xb31792)=>{for(var _0x1e9fa1=_0xb31792>0x1?void 0x0:_0xb31792?tr(_0x5d7de9,_0x699d0e):_0x5d7de9,_0x243840=_0x571297['length']-0x1,_0x2509d1;_0x243840>=0x0;_0x243840--)(_0x2509d1=_0x571297[_0x243840])&&(_0x1e9fa1=_0x2509d1(_0x1e9fa1)||_0x1e9fa1);return _0x1e9fa1;},Ae=(_0x490f18,_0xbaca00)=>(_0x4d9d35,_0x15269a)=>_0xbaca00(_0x4d9d35,_0x15269a,_0x490f18);let bt=class extends _0x7445c5{constructor(_0x2325fe,_0x5072fb,_0x1d6423,_0x35b36e,_0x107a32){var _0x3cff14=_0x32c544;super(_0x2325fe,_0x5072fb,_0x1d6423),this[_0x3cff14(0x2de)]=_0x35b36e,this[_0x3cff14(0x419)]=_0x107a32;}['transformUndoRedo'](_0x5e7614,_0x469c7c){var _0x3ac53f=_0x32c544;const _0x4ec7a4=this[_0x3ac53f(0x448)](_0x5e7614);if(_0x4ec7a4)try{const _0x51ed10=this[_0x3ac53f(0x496)](_0x4ec7a4,_0x469c7c);this[_0x3ac53f(0x351)](_0x5e7614,_0x51ed10);}catch(_0x292b26){this[_0x3ac53f(0x419)][_0x3ac53f(0x333)](_0x3ac53f(0x310),_0x292b26),this[_0x3ac53f(0x386)](_0x5e7614);}const _0x2cd6af=this['_getRedoStack'](_0x5e7614);if(_0x2cd6af)try{const _0x5cb21f=this[_0x3ac53f(0x496)](_0x2cd6af,_0x469c7c);this[_0x3ac53f(0x45e)](_0x5e7614,_0x5cb21f);}catch(_0xd9c132){this[_0x3ac53f(0x419)]['error'](_0xd9c132),this[_0x3ac53f(0x444)](_0x5e7614);}}[_0x32c544(0x386)](_0x469bb8){var _0x569835=_0x32c544;const _0x55f61d=this[_0x569835(0x448)](_0x469bb8);_0x55f61d&&(_0x55f61d[_0x569835(0x4c3)]=0x0,this[_0x569835(0x502)]());}[_0x32c544(0x444)](_0x7ac7b){var _0x4c74fc=_0x32c544;const _0xe38497=this[_0x4c74fc(0x4da)](_0x7ac7b);_0xe38497&&(_0xe38497[_0x4c74fc(0x4c3)]=0x0,this[_0x4c74fc(0x502)]());}[_0x32c544(0x351)](_0x1e6261,_0x4a8848){var _0x3fb193=_0x32c544;this[_0x3fb193(0x27b)][_0x3fb193(0x4fa)](_0x1e6261,_0x4a8848),this[_0x3fb193(0x502)]();}[_0x32c544(0x45e)](_0x265441,_0x2f8c7b){var _0xf5f826=_0x32c544;this[_0xf5f826(0x4f4)]['set'](_0x265441,_0x2f8c7b),this[_0xf5f826(0x502)]();}[_0x32c544(0x496)](_0x171e62,_0x2f565d){var _0x567d88=_0x32c544;const _0x23dc81=[];let _0x149ac0=_0x2f565d,_0xf95ef4=_0x2f565d;for(let _0x47c9c9=_0x171e62['length']-0x1;_0x47c9c9>=0x0;_0x47c9c9--){const {unitID:_0xc52357,undoMutations:_0x334b62,redoMutations:_0x41b905}=_0x171e62[_0x47c9c9],_0x1c2dc4=this[_0x567d88(0x2de)][_0x567d88(0x3db)](_0x149ac0,_0x334b62),_0x27ca64=this[_0x567d88(0x2de)][_0x567d88(0x3db)](_0xf95ef4,_0x41b905);if(_0x2acfa5(_0x1c2dc4)||_0x2acfa5(_0x27ca64)){this[_0x567d88(0x419)][_0x567d88(0x333)](_0x567d88(0x310),_0x567d88(0x3ff),_0x1c2dc4,_0x27ca64);break;}_0x149ac0=_0x1c2dc4[_0x567d88(0x378)],_0xf95ef4=_0x27ca64[_0x567d88(0x378)],_0x23dc81[_0x567d88(0x438)]({'unitID':_0xc52357,'undoMutations':_0x1c2dc4[_0x567d88(0x231)],'redoMutations':_0x27ca64['m2Prime']});}return _0x23dc81['reverse']();}};bt=ir([Ae(0x0,_0x9806b3),Ae(0x1,_0x4f799e),Ae(0x2,_0x13c866),Ae(0x3,_0x3fc840),Ae(0x4,_0x22fe2d)],bt);var sr=Object['defineProperty'],nr=Object[_0x32c544(0x45c)],rr=(_0x41656f,_0x3f1427,_0x211887)=>_0x3f1427 in _0x41656f?sr(_0x41656f,_0x3f1427,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x211887}):_0x41656f[_0x3f1427]=_0x211887,ar=(_0x312f4d,_0x753073,_0x2201b4,_0x48092a)=>{var _0x212353=_0x32c544;for(var _0x31f2a7=_0x48092a>0x1?void 0x0:_0x48092a?nr(_0x753073,_0x2201b4):_0x753073,_0x4a57f9=_0x312f4d[_0x212353(0x4c3)]-0x1,_0x3c5334;_0x4a57f9>=0x0;_0x4a57f9--)(_0x3c5334=_0x312f4d[_0x4a57f9])&&(_0x31f2a7=_0x3c5334(_0x31f2a7)||_0x31f2a7);return _0x31f2a7;},Et=(_0x272425,_0x540cef)=>(_0x33bbec,_0x4a9034)=>_0x540cef(_0x33bbec,_0x4a9034,_0x272425),or=(_0x50df68,_0x10a83a,_0x473f99)=>rr(_0x50df68,_0x10a83a+'',_0x473f99);const cr=_0x32c544(0x46c);let Dt=class extends _0x5306c0{constructor(_0x35a3e5,_0x1aca50,_0x5a81ca,_0x533d5f){var _0x3bca8b=_0x32c544;super(),D(this,_0x3bca8b(0x427)),(this[_0x3bca8b(0x419)]=_0x1aca50,this[_0x3bca8b(0x4d3)]=_0x5a81ca,this[_0x3bca8b(0x24d)]=_0x533d5f);const {..._0x1fc7e8}=_0x4f940e({},Ls,_0x35a3e5);if(!_0x1fc7e8[_0x3bca8b(0x1e9)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x3bca8b(0x427)]=_0x1fc7e8,this[_0x3bca8b(0x24d)]['setConfig'](K,_0x1fc7e8);}[_0x32c544(0x40e)](){var _0x166b9e=_0x32c544;this[_0x166b9e(0x221)](),this[_0x166b9e(0x3e0)]();}[_0x32c544(0x221)](){var _0x38d4e6=_0x32c544,_0x3b2dcf,_0x3eca59;this[_0x38d4e6(0x4d3)][_0x38d4e6(0x2d1)](_0x29536b)&&this[_0x38d4e6(0x419)]['error'](_0x38d4e6(0x28e),_0x38d4e6(0x3d8));const _0x463ed3=_0x55a761([[_0x29536b,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this['_config'][_0x38d4e6(0x1e9)]}],[_0xfe95a9,{'useClass':Nt}],[_0x142b7e,{'useClass':Tt}],[_0x4cc17a,{'useClass':Rt}],[_0xab00c4,{'useClass':Ct}],[nt],[gt]],(_0x3b2dcf=this[_0x38d4e6(0x427)])==null?void 0x0:_0x3b2dcf['override']);if(!((_0x3eca59=this[_0x38d4e6(0x427)])!=null&&_0x3eca59[_0x38d4e6(0x380)])){const _0x53bf96=_0x463ed3[_0x38d4e6(0x304)](([_0x47c399])=>_0x47c399===_t);_0x53bf96!==-0x1&&_0x463ed3[_0x38d4e6(0x2d5)](_0x53bf96,0x1);}_0x496ebf(this[_0x38d4e6(0x4d3)],_0x463ed3);}[_0x32c544(0x3e0)](){var _0x29a041=_0x32c544,_0x47cb76,_0x53d782,_0x2b47ed;this[_0x29a041(0x4d3)][_0x29a041(0x1f2)](_0x2c6c5a)[_0x29a041(0x2a2)]({'priority':0x14,'interceptor':_0x502530({'maxParallel':0x6})}),(_0x47cb76=this[_0x29a041(0x427)])!=null&&_0x47cb76['enableOfflineEditing']||(_0x53d782=this[_0x29a041(0x4d3)]['get'](J,_0x496fbf[_0x29a041(0x2d6)]))==null||_0x53d782['disableLocalCache'](),(_0x2b47ed=this[_0x29a041(0x427)])!=null&&_0x2b47ed[_0x29a041(0x3a8)]&&_0x3c28b9(this['_injector'],[[rt]]),_0x3c28b9(this['_injector'],[[at],[nt],[ot]]);}};or(Dt,'pluginName',cr),Dt=ar([_0x1d400c(_0x739d2f,_0x2c22f2),Et(0x1,_0x22fe2d),Et(0x2,_0x2fdf6c(_0x370bdb)),Et(0x3,_0x4edaf7)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};
|