@univerjs-pro/collaboration-client 0.8.2-nightly.202506221606 → 0.8.2-nightly.202506231607
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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/en-US.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/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 +9 -9
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x1bf9e4=_0xcbfd;(function(_0x28dfe5,_0x386211){var _0xe38587=_0xcbfd,_0x2aa36a=_0x28dfe5();while(!![]){try{var _0x1911ee=-parseInt(_0xe38587(0x408))/0x1+parseInt(_0xe38587(0x398))/0x2+-parseInt(_0xe38587(0x184))/0x3+parseInt(_0xe38587(0x3ec))/0x4+-parseInt(_0xe38587(0x307))/0x5*(parseInt(_0xe38587(0x1b9))/0x6)+parseInt(_0xe38587(0x3eb))/0x7+-parseInt(_0xe38587(0x37d))/0x8*(-parseInt(_0xe38587(0x1fe))/0x9);if(_0x1911ee===_0x386211)break;else _0x2aa36a['push'](_0x2aa36a['shift']());}catch(_0xb7f6b0){_0x2aa36a['push'](_0x2aa36a['shift']());}}}(_0x282a,0x268f9));var Di=Object[_0x1bf9e4(0x39a)],Ui=(_0x296c50,_0x2375c5,_0x1db3e4)=>_0x2375c5 in _0x296c50?Di(_0x296c50,_0x2375c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1db3e4}):_0x296c50[_0x2375c5]=_0x1db3e4,N=(_0xf29a33,_0x276760,_0x5a32cc)=>Ui(_0xf29a33,typeof _0x276760!=_0x1bf9e4(0x2f7)?_0x276760+'':_0x276760,_0x5a32cc);import{createIdentifier as _0x1e116d,Inject as _0x1eb2b7,Injector as _0x3ba5a5,IConfigService as _0x2711b7,ILogService as _0x4020c,Disposable as _0x16428c,DisposableCollection as _0xc86a07,toDisposable as _0x4c9abc,IUniverInstanceService as _0x1dd505,UserManagerService as _0x119af1,UniverInstanceType as _0x2f1c63,LocaleService as _0x5855e2,Optional as _0x471747,RxDisposable as _0x3f1edd,Tools as _0x1e6211,Rectangle as _0x58ba93,ICommandService as _0x163994,JSONX as _0x5703e5,CommandType as _0x4b8a53,IUndoRedoService as _0x3aa1c3,IPermissionService as _0x4eca75,sequenceExecute as _0x5569a9,Workbook as _0x41539c,MentionType as _0x2d6580,isInternalEditorID as _0x2c0233,LocalUndoRedoService as _0x556fe9,IContextService as _0x3992d9,DependentOn as _0x5233fa,Plugin as _0x13a678,merge as _0x235acb,mergeOverrideWithDependencies as _0x354fa5,IAuthzIoService as _0x4f1f4e,IMentionIOService as _0x3def4e,registerDependencies as _0x3b854f,Quantity as _0x48a7b4,touchDependencies as _0x53c293}from'@univerjs/core';import{Subject as _0x3b4cf0,merge as _0x539a72,of as _0x1be741,BehaviorSubject as _0x320cd9,takeUntil as _0x57d01b,ReplaySubject as _0x2c051e,take as _0x19b6b3,map as _0x4427f2,shareReplay as _0x2393d1,firstValueFrom as _0x4e7989,concatMap as _0x114434}from'rxjs';import{map as _0xe868af,take as _0xde693b,filter as _0x1b0e17,delay as _0x4e84b7,takeUntil as _0xab55ca}from'rxjs/operators';import{CollaborationEvent as _0x40976b,ISnapshotServerService as _0xcb8e22,parseChangesetToProtocol as _0x524410,ITransformService as _0xaa4b07,isTransformMutationsWithChangesetSuccess as _0x164c96,mapDocumentTypeToUniverType as _0x2f1f22,RevisionService as _0x3169f6,isTransformChangesetsSuccess as _0x382369,CompressMutationService as _0x8c156e,parseProtocolChangeset as _0xdc4ddf,uuidv4 as _0x1e371c,SnapshotService as _0x564bfd,textEncoder as _0x155d8a,b64DecodeUnicode as _0x500fc0,isTransformMutationsWithChangesetFailure as _0x32b4f2,UniverCollaborationPlugin as _0x3a0ca8}from'@univerjs-pro/collaboration';import{HTTPService as _0x4a6b11,ISocketService as _0x46b8c2,MergeInterceptorFactory as _0xf1eb0,HTTPRequest as _0x109566,UniverNetworkPlugin as _0x36cc3f,ThresholdInterceptorFactory as _0x4addde}from'@univerjs/network';import{ITelemetryService as _0x4c8905}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5d5737}from'@univerjs/docs';import{SheetsSelectionsService as _0x21249a,SetSelectionsOperation as _0x305b77,InsertSheetMutation as _0x54cdc3,EmptyMutation as _0x44180c,WorkbookEditablePermission as _0x158a95,SheetPermissionInitController as _0x4728e4}from'@univerjs/sheets';import{ImageSourceType as _0x18d0bc,ImageUploadStatusType as _0x3a7256,IImageIoService as _0x47119c}from'@univerjs/drawing';import{getGlobalObject as _0x40af40}from'@univerjs-pro/license';const fs=_0x1bf9e4(0x1c4),vs=_0x1bf9e4(0x19f),ps=_0x1bf9e4(0x274),yr=_0x1bf9e4(0x1de),ms=0x7d0,gs=_0x1bf9e4(0x3e2),Ss=_0x1bf9e4(0x392),Nr=_0x1bf9e4(0x356),Es=_0x1bf9e4(0x2b0),Is=0x7530,fi=_0x1bf9e4(0x24c),vi=0x4e20,Ts=0x4e20,Cs=_0x1bf9e4(0x3c8),Rs=0x3,Dr=_0x1bf9e4(0x41f),Ur=0x3e8,Os=_0x1bf9e4(0x3d7),bs='/universer-api/comb',ys='LOGIN_URL_KEY',Ns=_0x1bf9e4(0x256),Ar=_0x1bf9e4(0x2bb),wr=_0x1bf9e4(0x270);function _0x282a(){var _0x1a7489=['_transformRemoteChangesetByStateCache','resourceIDs','/universer-api/user/session-ticket','_submitChangeset','findIndex','AUTHZ_URL_KEY','shouldCloseConn','csRejEvent','abs','getDeserializedSheetBlock','_clearRetryConnectingTimer','_roomMembers','_parse','Latin1','_socket$','_getUploadFileURL','actions','ivSize','_createHandler','CBC','SHA1','_transformStateCache','objectActions','Failed\x20to\x20update\x20permission\x20point','error$','clone','_joinRoom','univer-pro.collaboration-client-socket-service','_onUserLeave','_queuedRemoteChangesets','_sendHeartbeatTimer','unknown','salt','unpad','_eventService','getValue','x-univer-host','stringify','PSEUDO_FETCH_MISSING_RESULT','getTypeOfUnitDisposed$','transformStack\x20failed!','568kkTbLu','OpenSSL','_socketService','_onLocalMutation','roles','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','compute','collabSubmitChangesetUrl','univer-pro.collaboration-client.single-active-unit-service','onTransformRemoteChangesetByIMECache','MSG_FOR_ERROR','COMPLETION_FINISHED','EMAIL_HAS_BEEN_BOUND','onSendChangeset','_collaborationPaused','_schedule','[CollaborationSession]','_clearCollaborationTimeoutTimer','words','_incrementRevisionNumber','YUUMI_CONNECTOR_URL_NOT_FOUND','ws://127.0.0.1:8000/universer-api/comb/connect','enableOfflineEditing','JOIN_ROOM_NOT_EXISTS','members','SerializableCipher','GLOBAL_ROOMS_CNT_EXCEEDS','183656PKaIfX','_createInitialStateImpl','defineProperty','APPLY_NON_SEQUENTIAL_REVISION','loadUnitOfRevision','_changesetReqId','UNRECOGNIZED','_executeRemoteChangeset','_registerDependencies','_transformIMECache','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','IDLE','_transformUndoredo','INVITE_CODE_REQUIRED','mutations','OPTIONAL','_collaborationTimeoutTimer','objectType','/rev/','socket\x20open.','csShouldRetryEvent','/block/','onlyLocal','_doCryptBlock','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','WordArray','processBlock','EvpKDF','ENSURE_SNAPSHOT_EXECUTION','exports','startTime','YUUMI_ASYNCIO_CANCELLED','_key','\x20to\x20','Error\x20on\x20receiving\x20event','_process','UNIVER_UNKNOWN','_decreaseWaiting','_initDependencies','format','resolve','Decryptor','NOT_FOUND','Pkcs7','_remoteChangesetQueue','/allowed','confirm','HEARTBEAT','RETRY_CONNECTING_MAX_COUNT','splice','unitId\x20is\x20not\x20found','deepClone','_initCloseConn','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','values','_onRemoteRetry','createEncryptor','session','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_handler','_createHelper','_clearUndo','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','COLLAB_SUBMIT_CHANGESET_URL','decrypt','session.join-failed','substr','Base','BlockCipher','AWAITING_WITH_PENDING','getCurrentSelections','headers','_scheduleCollaborationTimeoutTimer','downloadEndpointUrl','COLLAB_WEB_SOCKET_URL','transformUndoRedo','sid','collaborators','HmacMD5','getImage','session.room-full','SUCCUSS','delete','1535667jfQGQF','1248740qcDGeG','_doCreateSocket','_networkConditionService','waitForRoom$','indexOf','APPLY_REVISION_CONFILICT','getInterceptPoints','SOCKET_FAILED','_onConflict','withCredentials','incrementRevOfUnit','appendMutation','_doReset','_transformRemoteChangesetByIMECache','unitID','_entityInit$','CHANGESET_ACK','_telemetryInfo','_sessions','toString','enableSingleActiveInstanceLock','/collaborator','ONLINE','USERS_LEAVE','_xformMode','refreshPermission','YUUMI_URL_COL_OUT_OF_RANGE','charAt','227973eJIcsM','HELLO','subject','close','byteOffset','conflict','_onConnectionOpen','key','iterations','PERMISSION_DENIED','status','putCollaborators','_changesetSessionId','getSheetBlock','getUnitId','failed\x20to\x20apply\x20missed\x20changesets!','find','sendChangesetTimeout','_awaitingChangeset','reconnect','image/jpg','stopTime','LOGIN_FAILED','LOCAL_CACHE_INTERVAL','retryConnectingInterval','_clearHeartbeatTimer','AWAITING','ALREADY_EXISTS','socket\x20close','updateSnapshot','_telemetryService','createInstance','_cipher','has','from','_mode','CHANGESET_SHOULD_RETRY','workbook','fetchMiss','offline','memberID','_change$','_univerInstanceService','INTERNAL_ERROR','UNIVER_COLLABORATION_CLIENT_PLUGIN','onRemoteChangeset','cfg','disposeWithMe','eventID','crypto','finalize','concat','addHandlerCallback','INGEST','registerHTTPInterceptor','Hex','_redoStacks','unit-cache-','FETCH_MISS','CHANGESET_REJ','liveShareOperation','_listenToNetworkCondition','MUTATION','initWorkbookPermissionChange','_HTTPService','_handlerCallback','_retryConnectingTimer','APPLY_PERMISSION_DENIED','_onRemoteRejected','COMPRESS_MUTATION_SEND','_getUndoStack','UPDATE_PERMISSION_OBJ','image/gif','INVITE_CODE_ALREADY_BOUND','signUrlServerUrl','_commentUpdate$','_reverseMap','url','_hash','body','apply','FETCH_MISSING','leaveEvent','CONFLICT','YUUMI_RATE_OVER_LIMIT','SHOULD_CLOSE_CONN','put','loadDoc','_nDataBytes','lib','save\x20fail\x20reason\x20is\x20','emitEvent','_shouldReportTelemetry','loadSheet','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','univer-pro.collaboration-client.network-condition.service','pad','BASE64','message$','LICENSE_IMPORT_SIZE_EXCEEDED','catch','_waitCount','LICENSE_DISTRO_REJECTED','hasOwnProperty','_keySchedule','MOBILE_VERIFY_CODE_MISMATCH','fetchMissingChangesets','reset','_entities','OTHER_CLIENT_EDITING','saveChangeset','_onUserJoin','[CollaborationUndoRedoService]','create','_clearTimeoutTimer','LIVESHARE_TERMINATE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_snapshotService','LEAVE','?url=','_hasher','startsWith','encrypt','mixIn','_resendTimeout','getMemberID','getWorkbookSelections','_applyRemoteChangeset','getFocusedUnit','listCollaborators','image/jpeg','_type','readInt32LE','type','getConfig','_lockTransition','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','snapshotServerUrl','APPLY_DUPLICATED','PY_RUNTIME_SCRIPT_ERROR','/universer-api/stream/file/upload','732522LsKzZR','_disableEditing','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','synced','BlockCipherMode','_append','_updateStatus','UnitSnapshot','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_DOC','execute','_resendTimer','_sheetTransformSelectionsService','MD5','_state','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','params','_keyPriorReset','max','error','_stopTelemetryCollaborationNewChangeset','ERROR_EXCEED_SIZE','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getLatestCsReqIdBySid','FAIL','_updateState','collaboratorID','/universer-api/snapshot','getCollabEntity','getImageSourceCache','getUnit','MOBILE_HAS_BEEN_BOUND','INVITE_CODE_HAS_BEEN_UES','_userManagerService','debug','getActiveSheet','CipherParams','call','_getSendChangesetTimeout','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_createSocket','online$','filter','onStateChange','SOCKET_FAILED_RETRY','editing\x20status\x20changed\x20to','_updateLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','removeMember','changesets','getTime','fetching\x20missing\x20changesets\x20from\x20','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','486byLate','NoPadding','_clearScheduledTask','YUUMI_UNABLE_LOAD_URL','_onRecvEvent','HMAC','_throwTelemetryCollaborationNewChangeset','revision','c1Prime','href','SNAPSHOT_HAS_BEEN_REMOVED','SNAPSHOT_SERVER_URL_KEY','getTypeOfUnitAdded$','_exhaustRemoteChangesetQueue','data','copyFileMeta','_localeService','event$','_iv','encryptBlock','slice','patch','UPDATE_CURSOR','_commentService','/universer-api/authz','snapshot','UNKNOWN_CMD','DEFAULT_FILE_NAME','POST','_toggleOffline','_data','INVALID_INVITE_CODE','selections','prototype','_replayCachedMutations','[SyncedState]:\x20received\x20rejection.','msCrypto','SEND_CHANGESET_TIMEOUT','_replaceFileID','_snapshotServerService','SNAPSHOT_INVALID_SNAPSHOT','resend','_fetchMissChangesets','_ENC_XFORM_MODE','session.room-permission-denied','Undefined','_unitID','session.room-not-exists','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','random','_socketReady','UNIVER_SHEET','padding','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_revisionService','LIVESHARE_OPERATION','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_doFinalize','set','_getCurrentRevision','UserProfileImg','APPLY_REJECT','_roomCreated$','reqId','_configService','hasher','_candidateSocket','collaboration-client.local-cache-service','setCurrentUser','5490LTyfMr','_undoRedoService','PERMISSION_REJ','_removeRoom','decryptBlock','_collaborationUIEventService','connection\x20error','__creator','SYNCED','_transitionLocked','_instanceService','randomBytes','_event$','_sessionStatus$','ceil','LIVESHARE_FETCH_OPERATIONS','transformChangesets','code','transformMutationsWithChangeset','updateCursorEvent','open$','fromCharCode','NEW_CHANGESETS','[OfflineState]:\x20received\x20changeset.','getCurrentRevOfUnit','_isPermissionRej','then','_emitMembers','method','compose','reduce','[OfflineState]:\x20received\x20acknowledgement.','Hasher','floor','createDecryptor','updatePermissionObjEvent','[CollaborationState]:\x20apply\x20error!','_init','fetch_missing','onTransformSelections','collabWebSocketUrl','AES','_memberService','_getAPIPrefix','awaitingChangeset','originalMeta','repeat','post','JOINING','clamp','socket$','onCommandExecuted','next','BufferedBlockAlgorithm','setConfig','UNDEFINED','_substituteRedoStack','_startTelemetryCollaborationNewChangeset','&source=','[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.','_onMessage','baseRev','TOO_MANY_REQUESTS','focused$','reverse','_acknowledgedAwaitingChangeset','roomInfos','getOwnPropertyDescriptor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','USERS_ENTER','LIVESHARE_REQUEST_HOST','onRemoteAck','complete','INVALID_ARGUMENT','onTransformRemoteChangesetByStateCache','newCsEvent','__esModule','_compressMutationService','HEARTBEAT_TIMEOUT','_sendHeartbeat','enc','_substituteUndoStack','COMPRESS_MUTATION_APPLY','add','_tryEnsureSocket','saveImage','_logService','[CollaborationSessionService]','/universer-api/oidc/authpage','[CollaborationSessionService]:\x20socket\x20error','collaMsg','createSocket','sessionStatus','sessionStatus$','uniscriptRunEvent','_initRequestHeader','\x0aCurrent:\x20','entries','OTHER_CLIENTS_EDITING','_onConnectionFailed','subscribe','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onLocalMutation','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformState','hostname','_showConflictNotification','every','ERROR_IMAGE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getCurrentUser','unitId','_permissionService','_scheduleCompleteTimestamp','/universer-api/uniscript','pauseCollaboration','People','default','SNAPSHOT_URL_KEY','CONNECTOR_DATA_TOO_LARGE','EMAIL_VERIFY_CODE_MISMATCH','uploadFileServerUrl','socketService','toggleOnline','updatePermissionPoint','reject','get','clear','getUnitOnRev','_transformStack','fromCollab','USER_NOT_INVITED_CODE','_onRemoteACK','target','push','infoRsp','isArray','collaboration-client.config','_clearRedo','_prevBlock','_tryReconnect','_onCombEvent','JOIN','_minBufferSize','encodeURIComponent','NO_OTHER_CLIENTS_EDITING','onMissedChangesetFetched','size','_onOffline','algo','userID','ciphertext','range','_startCollaboration','YUUMI_ALL_TABLES_IS_INVALID','init','_collaborationSessionService','pipe','YUUMI_NO_CUBOID_FOR_QUESTION','HttpImport','readyForCollab','_DEC_XFORM_MODE','_unitInfo$','isPermissionRej','telemetry\x20info\x20is\x20not\x20initialized','UNIVER_SLIDE','LIVESHARE_NEW_HOST','_resendWithTimeout','Base64','state','mode','extend','map','_map','_initUnitPermissionChange','_commandService','/-/object/list','_createInitialState','HEARTBEAT_INTERVAL','function','cmd','_transformService','entityInit$','encode','includes','_injector','_onJoinRoomEvent','_sendingTimer','send','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','routeKey','LICENSE_MAX_UNITS_EXCEEDED','list','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_localCacheService','_sender','updateMember','SUBMIT_CHANGESET','/object/','sheets','byteLength','UNIVER_PROJECT','saveSheetBlock','now','setShowComponents','HttpExport','[PendingState]:\x20received\x20rejection.','image/bmp','override','RECV','UnitEmbedded','kdf','_status$','parse','_iKey','[PendingState]:\x20unhandled\x20univer\x20type:\x20','$super','[OfflineState]:\x20received\x20rejection.','requireSession','enableAuthServer','[CollaborationEntity]','keySize','objectID','fetchThroughInterceptors','_imageSourceCache','[FetchMissState]','_members$','unsubscribe','getSnapshotAPIPath','FileId','charCodeAt','csAckEvent','awaiting_with_pending','sin','_nRounds','_httpService','UNISCRIPT_RUN','_getCtorByUniverType','sigBytes','CLOSE_ROOM','JOIN_ROOM_PERMISSION_DENIED','Cipher','JOIN_ROOM_FAILED','textRanges','[SyncedState]:\x20received\x20acknowledgement.','_checkMissing','Utf8','_retryCount','onMissingChangesets','symbol','_timeoutTimer','addImageSourceCache','avatar','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','auth.needGotoLoginAlert','length','/unit/','Univer','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_REVISION_CONFILICT','requestParams','status$','_syncEditingCollabCursor','joinEvent','getRandomValues','2260qUboHN','_socketMessageSubscription','_socket','_waitForHeartbeatResponse','submit\x20changeset\x20error!','blockSize','updateOfflineData','_rescheduleHeartbeat','append','state$','executeCommand','[UniverCollaborationClientPlugin]','authzUrl','interceptor','_undoStacks','equals','_config','location','update','dispose$','_doProcessBlock','loadOfflineData','onRemoteRetry','_getAPIPrefixPath','getCollabEntity$','_singleActiveUnitService','onCommentUpdate','closeSession','_invKeySchedule','localeService','deleteCollaborator','\x20-\x20','generateRandomId','replace','getSheetId','image/png','/-/object/-/batch_allowed','Encryptor','_pendingMutations','JOIN_ROOM_FULL','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','change$','enableCollaboration','asObservable','_clearLocalCache','COMMENT_UPDATE','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','dispose','_transformSelections','_initMergeInterceptor','result','forEach','localCacheService','_getDownloadEndpointURL','_state$','string','HmacSHA1','_unlockTransition','_createHmacHelper','OFFLINE','min','subUnitId','_members','onRemoteRej','getMember','close$','join','SUBMIT_CHANGESET_TIMEOUT','YUUMI_AI_RUN_FAILED','m2Prime','PERSON','ERROR_IMAGE_TYPE','toggleOffline','name','\x0aAfter:\x20','commentUpdate$','capture'];_0x282a=function(){return _0x1a7489;};return _0x282a();}var pi=(_0x239582=>(_0x239582[_0x239582[_0x1bf9e4(0x235)]=0x0]=_0x1bf9e4(0x235),_0x239582[_0x239582['OK']=0x1]='OK',_0x239582[_0x239582[_0x1bf9e4(0x433)]=0x2]=_0x1bf9e4(0x433),_0x239582[_0x239582[_0x1bf9e4(0x411)]=0x3]=_0x1bf9e4(0x411),_0x239582[_0x239582[_0x1bf9e4(0x3c2)]=0x4]='NOT_FOUND',_0x239582[_0x239582['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x239582[_0x239582[_0x1bf9e4(0x423)]=0x6]=_0x1bf9e4(0x423),_0x239582[_0x239582[_0x1bf9e4(0x247)]=0x7]=_0x1bf9e4(0x247),_0x239582[_0x239582[_0x1bf9e4(0x23c)]=0x8]=_0x1bf9e4(0x23c),_0x239582[_0x239582[_0x1bf9e4(0x388)]=0x9]=_0x1bf9e4(0x388),_0x239582[_0x239582[_0x1bf9e4(0x41e)]=0xa]='LOGIN_FAILED',_0x239582[_0x239582[_0x1bf9e4(0x160)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x239582[_0x239582[_0x1bf9e4(0x3d6)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x239582[_0x239582[_0x1bf9e4(0x276)]=0xd]=_0x1bf9e4(0x276),_0x239582[_0x239582[_0x1bf9e4(0x382)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x239582[_0x239582[_0x1bf9e4(0x301)]=0x1389]=_0x1bf9e4(0x301),_0x239582[_0x239582[_0x1bf9e4(0x1e1)]=0x1771]=_0x1bf9e4(0x1e1),_0x239582[_0x239582[_0x1bf9e4(0x1c3)]=0x1772]=_0x1bf9e4(0x1c3),_0x239582[_0x239582[_0x1bf9e4(0x3b4)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x239582[_0x239582['APPLY_REJECT']=0x1b59]=_0x1bf9e4(0x1f6),_0x239582[_0x239582['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1bf9e4(0x39b),_0x239582[_0x239582['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1bf9e4(0x3f1),_0x239582[_0x239582[_0x1bf9e4(0x44b)]=0x1b5c]=_0x1bf9e4(0x44b),_0x239582[_0x239582['APPLY_DUPLICATED']=0x1b5d]=_0x1bf9e4(0x181),_0x239582[_0x239582[_0x1bf9e4(0x275)]=0x1f41]=_0x1bf9e4(0x275),_0x239582[_0x239582[_0x1bf9e4(0x2bd)]=0x2329]=_0x1bf9e4(0x2bd),_0x239582[_0x239582[_0x1bf9e4(0x18c)]=0x232a]=_0x1bf9e4(0x18c),_0x239582[_0x239582[_0x1bf9e4(0x46b)]=0x232b]=_0x1bf9e4(0x46b),_0x239582[_0x239582['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x239582[_0x239582[_0x1bf9e4(0x15d)]=0x232d]=_0x1bf9e4(0x15d),_0x239582[_0x239582[_0x1bf9e4(0x1bc)]=0x2711]=_0x1bf9e4(0x1bc),_0x239582[_0x239582['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1bf9e4(0x406),_0x239582[_0x239582[_0x1bf9e4(0x45c)]=0x2713]=_0x1bf9e4(0x45c),_0x239582[_0x239582['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1bf9e4(0x1b3),_0x239582[_0x239582[_0x1bf9e4(0x29c)]=0x271a]=_0x1bf9e4(0x29c),_0x239582[_0x239582[_0x1bf9e4(0x3b7)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x239582[_0x239582[_0x1bf9e4(0x242)]=0x271c]=_0x1bf9e4(0x242),_0x239582[_0x239582[_0x1bf9e4(0x298)]=0x271d]=_0x1bf9e4(0x298),_0x239582[_0x239582[_0x1bf9e4(0x1f1)]=0x271e]=_0x1bf9e4(0x1f1),_0x239582[_0x239582[_0x1bf9e4(0x34b)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x239582[_0x239582[_0x1bf9e4(0x391)]=0x2720]=_0x1bf9e4(0x391),_0x239582[_0x239582[_0x1bf9e4(0x182)]=0x2af9]=_0x1bf9e4(0x182),_0x239582[_0x239582[_0x1bf9e4(0x1a4)]=0x2ee1]=_0x1bf9e4(0x1a4),_0x239582[_0x239582['INVALID_INVITE_CODE']=0x2ee2]=_0x1bf9e4(0x1d8),_0x239582[_0x239582[_0x1bf9e4(0x3a5)]=0x2ee3]=_0x1bf9e4(0x3a5),_0x239582[_0x239582[_0x1bf9e4(0x281)]=0x2ee4]=_0x1bf9e4(0x281),_0x239582[_0x239582[_0x1bf9e4(0x451)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x239582[_0x239582['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x239582[_0x239582[_0x1bf9e4(0x1a3)]=0x32ca]=_0x1bf9e4(0x1a3),_0x239582[_0x239582[_0x1bf9e4(0x389)]=0x32cb]=_0x1bf9e4(0x389),_0x239582[_0x239582['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x239582))(pi||{}),Z=(_0xc75a26=>(_0xc75a26[_0xc75a26[_0x1bf9e4(0x3bc)]=0x0]=_0x1bf9e4(0x3bc),_0xc75a26[_0xc75a26[_0x1bf9e4(0x18d)]=0x1]=_0x1bf9e4(0x18d),_0xc75a26[_0xc75a26['UNIVER_SHEET']=0x2]=_0x1bf9e4(0x1ec),_0xc75a26[_0xc75a26[_0x1bf9e4(0x2a3)]=0x3]=_0x1bf9e4(0x2a3),_0xc75a26[_0xc75a26['UNIVER_PROJECT']=0x4]=_0x1bf9e4(0x2c7),_0xc75a26[_0xc75a26['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xc75a26))(Z||{}),F=(_0x374928=>(_0x374928[_0x374928[_0x1bf9e4(0x1d3)]=0x0]='UNKNOWN_CMD',_0x374928[_0x374928[_0x1bf9e4(0x409)]=0x1]=_0x1bf9e4(0x409),_0x374928[_0x374928[_0x1bf9e4(0x28c)]=0x2]=_0x1bf9e4(0x28c),_0x374928[_0x374928['LEAVE']=0x3]=_0x1bf9e4(0x16d),_0x374928[_0x374928['INGEST']=0x4]=_0x1bf9e4(0x43d),_0x374928[_0x374928[_0x1bf9e4(0x3c7)]=0x5]=_0x1bf9e4(0x3c7),_0x374928[_0x374928[_0x1bf9e4(0x2cf)]=0x6]=_0x1bf9e4(0x2cf),_0x374928[_0x374928[_0x1bf9e4(0x39e)]=-0x1]=_0x1bf9e4(0x39e),_0x374928))(F||{}),me=(_0x18c717=>(_0x18c717[_0x18c717['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x18c717[_0x18c717['OK']=0x1]='OK',_0x18c717[_0x18c717[_0x1bf9e4(0x19c)]=0x2]=_0x1bf9e4(0x19c),_0x18c717[_0x18c717[_0x1bf9e4(0x32e)]=0x3e9]=_0x1bf9e4(0x32e),_0x18c717[_0x18c717[_0x1bf9e4(0x394)]=0x3ea]=_0x1bf9e4(0x394),_0x18c717[_0x18c717[_0x1bf9e4(0x2ee)]=0x3eb]=_0x1bf9e4(0x2ee),_0x18c717[_0x18c717[_0x1bf9e4(0x397)]=0x3ec]=_0x1bf9e4(0x397),_0x18c717[_0x18c717[_0x1bf9e4(0x39e)]=-0x1]='UNRECOGNIZED',_0x18c717))(me||{}),mi=(_0x378075=>(_0x378075[_0x378075[_0x1bf9e4(0x1e6)]=0x0]=_0x1bf9e4(0x1e6),_0x378075[_0x378075[_0x1bf9e4(0x29d)]=0x1]=_0x1bf9e4(0x29d),_0x378075[_0x378075['HttpExport']=0x2]=_0x1bf9e4(0x2cb),_0x378075[_0x378075[_0x1bf9e4(0x2d0)]=0x3]='UnitEmbedded',_0x378075[_0x378075[_0x1bf9e4(0x18b)]=0x4]='UnitSnapshot',_0x378075[_0x378075[_0x1bf9e4(0x1f5)]=0x5]=_0x1bf9e4(0x1f5),_0x378075[_0x378075[_0x1bf9e4(0x39e)]=-0x1]=_0x1bf9e4(0x39e),_0x378075))(mi||{});const K=_0x1bf9e4(0x287),Ds={};var ne=(_0x5e9ef0=>(_0x5e9ef0[_0x1bf9e4(0x164)]=_0x1bf9e4(0x164),_0x5e9ef0[_0x1bf9e4(0x411)]='PERMISSION_DENIED',_0x5e9ef0['CONFLICT']='CONFLICT',_0x5e9ef0[_0x1bf9e4(0x2ed)]=_0x1bf9e4(0x2ed),_0x5e9ef0[_0x1bf9e4(0x2f0)]=_0x1bf9e4(0x2f0),_0x5e9ef0[_0x1bf9e4(0x1b0)]=_0x1bf9e4(0x1b0),_0x5e9ef0[_0x1bf9e4(0x3f3)]='SOCKET_FAILED',_0x5e9ef0[_0x1bf9e4(0x34a)]=_0x1bf9e4(0x34a),_0x5e9ef0))(ne||{});class ve{constructor(){var _0x1df6ae=_0x1bf9e4;N(this,_0x1df6ae(0x20a),new _0x3b4cf0()),N(this,_0x1df6ae(0x1ca),this[_0x1df6ae(0x20a)][_0x1df6ae(0x332)]());}[_0x1bf9e4(0x463)](_0x5b4d1d){var _0x1e7c25=_0x1bf9e4;this['_event$'][_0x1e7c25(0x232)](_0x5b4d1d);}}const Us=_0x1e116d(_0x1bf9e4(0x467));function As(_0x181aa9){var _0x257ad4=_0x1bf9e4,_0x3bfdbd,_0x54434e,_0x41ce46,_0x3d2cd1,_0x14bf66;const _0x1c2eca=_0x181aa9[_0x257ad4(0x1c7)],_0x4e676a=JSON['parse'](_0x1c2eca);switch(_0x4e676a[_0x257ad4(0x2b2)]){case F[_0x257ad4(0x3c7)]:case F[_0x257ad4(0x409)]:{const _0x12082d=_0x4e676a[_0x257ad4(0x285)];return{..._0x4e676a,'data':_0x12082d,'cmd':_0x4e676a[_0x257ad4(0x2b2)]};}case F[_0x257ad4(0x28c)]:{const _0x265938=_0x4e676a['joinRsp'];return{..._0x4e676a,'data':_0x265938,'cmd':_0x4e676a[_0x257ad4(0x2b2)]};}case F['RECV']:{const _0x17177b=_0x4e676a[_0x257ad4(0x258)];switch(_0x17177b[_0x257ad4(0x438)]){case _0x40976b['PERMISSION_REJ']:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x3bfdbd=_0x17177b['permissionRejEvent'])==null?void 0x0:_0x3bfdbd['cs']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x3fc)]:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x54434e=_0x17177b[_0x257ad4(0x2e5)])==null?void 0x0:_0x54434e['cs']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x214)]:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x41ce46=_0x17177b[_0x257ad4(0x249)])==null?void 0x0:_0x41ce46['cs']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x443)]:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x3d2cd1=_0x17177b[_0x257ad4(0x35b)])==null?void 0x0:_0x3d2cd1['cs']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x42c)]:return{..._0x4e676a,'data':{..._0x17177b,'data':(_0x14bf66=_0x17177b[_0x257ad4(0x3ac)])==null?void 0x0:_0x14bf66['cs']},'cmd':_0x4e676a['cmd']};case _0x40976b['UPDATE_CURSOR']:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x211)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x243)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x305)]},'cmd':_0x4e676a['cmd']};case _0x40976b[_0x257ad4(0x403)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x45a)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x2a4)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b['liveShareNewHost']},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x20d)]:case _0x40976b[_0x257ad4(0x1f0)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x444)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b[_0x257ad4(0x16a)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b['liveShareNewHost']},'cmd':_0x4e676a['cmd']};case _0x40976b[_0x257ad4(0x387)]:return{..._0x4e676a,'data':_0x17177b,'cmd':_0x4e676a['cmd']};case _0x40976b[_0x257ad4(0x334)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b['commentUpdateEvent']},'cmd':_0x4e676a['cmd']};case _0x40976b[_0x257ad4(0x44f)]:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x221)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b['SHOULD_CLOSE_CONN']:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x35a)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};case _0x40976b['UNISCRIPT_RUN']:return{..._0x4e676a,'data':{..._0x17177b,'data':_0x17177b[_0x257ad4(0x25c)]},'cmd':_0x4e676a[_0x257ad4(0x2b2)]};default:return _0x4e676a;}}default:return _0x4e676a;}}function ws(_0x53a357){var _0x1572a7=_0x1bf9e4;switch(_0x53a357['cmd']){case F[_0x1572a7(0x3c7)]:case F[_0x1572a7(0x409)]:return JSON['stringify']({'cmd':_0x53a357[_0x1572a7(0x2b2)],'routeKey':_0x53a357[_0x1572a7(0x2bc)]});case F['INGEST']:{let _0x496fdf;switch(_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x438)]){case _0x40976b[_0x1572a7(0x1cf)]:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x1cf)],'updateCursorEvent':_0x53a357['data']['data']};break;}case _0x40976b['USERS_LEAVE']:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x403)],'leaveEvent':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x1c7)]};break;}case _0x40976b[_0x1572a7(0x243)]:{_0x496fdf={'eventID':_0x40976b['USERS_ENTER'],'joinEvent':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x1c7)]};break;}case _0x40976b[_0x1572a7(0x2a4)]:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x2a4)],'liveShareNewHost':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x1c7)]};break;}case _0x40976b['LIVESHARE_OPERATION']:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x1f0)],'liveShareOperation':_0x53a357[_0x1572a7(0x1c7)]['data']};break;}case _0x40976b['LIVESHARE_TERMINATE']:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x16a)],'liveShareTerminate':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x1c7)]};break;}case _0x40976b[_0x1572a7(0x244)]:{_0x496fdf={'eventID':_0x40976b['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x53a357['data'][_0x1572a7(0x1c7)]};break;}case _0x40976b['LIVESHARE_FETCH_OPERATIONS']:{_0x496fdf={'eventID':_0x40976b[_0x1572a7(0x20d)]};break;}default:_0x496fdf={'eventID':_0x53a357[_0x1572a7(0x1c7)][_0x1572a7(0x438)]};}return JSON[_0x1572a7(0x379)]({'cmd':_0x53a357[_0x1572a7(0x2b2)],'routeKey':_0x53a357['routeKey'],'collaMsg':_0x496fdf});}case F[_0x1572a7(0x28c)]:return JSON[_0x1572a7(0x379)]({'cmd':_0x53a357[_0x1572a7(0x2b2)],'routeKey':_0x53a357[_0x1572a7(0x2bc)],'joinReq':_0x53a357[_0x1572a7(0x1c7)]});case F[_0x1572a7(0x16d)]:return JSON[_0x1572a7(0x379)]({'cmd':_0x53a357[_0x1572a7(0x2b2)],'routeKey':_0x53a357['routeKey'],'leaveReq':_0x53a357[_0x1572a7(0x1c7)]});default:throw new Error(_0x1572a7(0x1b8));}}var Ps=Object[_0x1bf9e4(0x241)],Ls=(_0x7fd98,_0x55c00a,_0x4f8216,_0x1b815c)=>{var _0x2456dd=_0x1bf9e4;for(var _0x5323b3=_0x1b815c>0x1?void 0x0:_0x1b815c?Ps(_0x55c00a,_0x4f8216):_0x55c00a,_0x354ba7=_0x7fd98[_0x2456dd(0x2fd)]-0x1,_0x531836;_0x354ba7>=0x0;_0x354ba7--)(_0x531836=_0x7fd98[_0x354ba7])&&(_0x5323b3=_0x531836(_0x5323b3)||_0x5323b3);return _0x5323b3;},Ue=(_0x3bd2c1,_0x447db9)=>(_0x1e4ead,_0x19b9c5)=>_0x447db9(_0x1e4ead,_0x19b9c5,_0x3bd2c1);const gi=_0x1e116d(_0x1bf9e4(0x36f));function Ms(_0x338590,_0x3933bf,_0x130186){var _0x5807be=_0x1bf9e4;return _0x338590+'/'+_0x3933bf+_0x5807be(0x2fe)+_0x130186+'/new_changes';}let Ft=class extends _0x16428c{constructor(_0x209acc,_0x2de80c,_0x4d439f,_0x36d117,_0x251a5e){var _0x5e54a4=_0x1bf9e4;super(),this[_0x5e54a4(0x2b7)]=_0x209acc,this['_httpService']=_0x2de80c,this[_0x5e54a4(0x1f9)]=_0x4d439f,this[_0x5e54a4(0x254)]=_0x36d117,this[_0x5e54a4(0x1e0)]=_0x251a5e;}[_0x1bf9e4(0x3ed)](_0xf1d49c){var _0x3773c9=_0x1bf9e4;const _0xeea1f2=this['_injector'][_0x3773c9(0x27c)](_0x46b8c2);if(!_0xeea1f2)throw new Error(_0x3773c9(0x3b0));const _0x534b53=_0xeea1f2[_0x3773c9(0x259)](_0xf1d49c);if(!_0x534b53)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x55b8fb=new _0xc86a07(),_0x183560=new _0x3b4cf0();_0x55b8fb[_0x3773c9(0x251)](_0x534b53[_0x3773c9(0x348)][_0x3773c9(0x262)](_0x2f609f=>_0x183560['next'](_0x2f609f))),_0x55b8fb['add'](_0x4c9abc(()=>_0x183560[_0x3773c9(0x246)]()));const _0xd5e1b3=new _0x3b4cf0();_0x55b8fb[_0x3773c9(0x251)](_0x534b53[_0x3773c9(0x36c)][_0x3773c9(0x262)](_0x50c756=>_0xd5e1b3['next'](_0x50c756))),_0x55b8fb[_0x3773c9(0x251)](_0x4c9abc(()=>_0xd5e1b3[_0x3773c9(0x246)]()));const _0x144d95=new _0x3b4cf0();_0x55b8fb[_0x3773c9(0x251)](_0x534b53[_0x3773c9(0x46a)][_0x3773c9(0x262)](_0x487799=>{var _0x1c9aba=_0x3773c9;const _0x24f4f9=As(_0x487799);_0x144d95[_0x1c9aba(0x232)](_0x24f4f9);})),_0x55b8fb[_0x3773c9(0x251)](_0x4c9abc(()=>_0x144d95['complete']()));let _0x35990d;const _0x41ddca=()=>{var _0x5afbe7=_0x3773c9;_0xd5e1b3['next'](new Event(_0x5afbe7(0x204))),_0x183560[_0x5afbe7(0x232)](new Event(_0x5afbe7(0x204))),_0x35990d[_0x5afbe7(0x40b)]();};return _0x35990d={'memberID':'','close$':_0x183560[_0x3773c9(0x332)](),'error$':_0xd5e1b3[_0x3773c9(0x332)](),'open$':_0x534b53[_0x3773c9(0x212)],'message$':_0x144d95['asObservable'](),'send':_0x323067=>{var _0x4d27e5=_0x3773c9;if(_0x323067[_0x4d27e5(0x2b2)]===F[_0x4d27e5(0x43d)]){if(_0x323067['data']['eventID']===_0x40976b['SUBMIT_CHANGESET']){this[_0x4d27e5(0x357)](_0x35990d,_0x323067[_0x4d27e5(0x1c7)])['catch'](_0x2b2c71=>{var _0x5cbab6=_0x4d27e5;this[_0x5cbab6(0x254)][_0x5cbab6(0x197)](_0x2b2c71),_0x41ddca();});return;}if(_0x323067[_0x4d27e5(0x1c7)][_0x4d27e5(0x438)]===_0x40976b[_0x4d27e5(0x459)]){const _0xe25382=_0x323067['data'];this[_0x4d27e5(0x1e3)](_0xe25382)[_0x4d27e5(0x218)](_0x222bef=>{var _0x5435a1=_0x4d27e5;_0x144d95[_0x5435a1(0x232)]({'cmd':F['RECV'],'code':me['OK'],'routeKey':_0xe25382['data'][_0x5435a1(0x3fa)],'routeType':'','data':{'eventID':_0x40976b[_0x5435a1(0x37a)],'data':{'changesets':_0x222bef}}});})[_0x4d27e5(0x15b)](_0x4211a8=>{var _0x51f4ac=_0x4d27e5;this[_0x51f4ac(0x254)][_0x51f4ac(0x197)](_0x4211a8),_0x41ddca();});return;}}_0x534b53[_0x4d27e5(0x2ba)](ws(_0x323067));},'close':()=>{var _0x277203=_0x3773c9;_0x534b53['close'](),_0x55b8fb[_0x277203(0x336)]();}},_0x35990d;}async[_0x1bf9e4(0x357)](_0x49870d,_0x452d9d){var _0x3d318d=_0x1bf9e4,_0x1ccdc9,_0x5170f2;const {unitType:_0x57c5e0,unitID:_0x83ea0d,changeset:_0x4bb442}=_0x452d9d[_0x3d318d(0x1c7)],_0x464cbf={'unitID':_0x83ea0d,'memberID':_0x49870d[_0x3d318d(0x430)],'type':_0x57c5e0,'changeset':_0x524410(_0x4bb442)},_0x2e9a82=this[_0x3d318d(0x1f9)][_0x3d318d(0x17d)](Os),_0x2b92db=this[_0x3d318d(0x1f9)][_0x3d318d(0x17d)](K),_0x584735=Ms((_0x5170f2=(_0x1ccdc9=_0x2b92db==null?void 0x0:_0x2b92db[_0x3d318d(0x384)])!=null?_0x1ccdc9:_0x2e9a82)!=null?_0x5170f2:bs,_0x57c5e0,_0x83ea0d);try{await this[_0x3d318d(0x2e9)][_0x3d318d(0x22d)](_0x584735,{'body':_0x464cbf});}catch(_0x5c7665){throw this[_0x3d318d(0x254)][_0x3d318d(0x197)](_0x3d318d(0x38d),_0x3d318d(0x30b)),_0x5c7665;}}async['_fetchMissChangesets'](_0x8aa146){var _0x5b3f77=_0x1bf9e4;const {unitID:_0x3ac7a1,from:_0x5068a8,to:_0x16e100,unitType:_0x25fc0b}=_0x8aa146[_0x5b3f77(0x1c7)];return(await this[_0x5b3f77(0x1e0)][_0x5b3f77(0x161)]({'metadata':void 0x0},{'unitID':_0x3ac7a1,'type':_0x25fc0b,'from':_0x5068a8,'to':_0x16e100}))[_0x5b3f77(0x1b5)];}};Ft=Ls([Ue(0x0,_0x1eb2b7(_0x3ba5a5)),Ue(0x1,_0x1eb2b7(_0x4a6b11)),Ue(0x2,_0x2711b7),Ue(0x3,_0x4020c),Ue(0x4,_0xcb8e22)],Ft);const xs='collaboration_new_changeset';function ks(_0x10a8b8){var _0x326740=_0x1bf9e4;return JSON[_0x326740(0x379)](_0x10a8b8)['length'];}class Si{constructor(){var _0x37d95d=_0x1bf9e4;N(this,_0x37d95d(0x453),new _0x3b4cf0()),N(this,_0x37d95d(0x352),this[_0x37d95d(0x453)][_0x37d95d(0x332)]());}[_0x1bf9e4(0x321)](_0x4f5933){var _0xeb479f=_0x1bf9e4;this[_0xeb479f(0x453)]['next'](_0x4f5933);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x517518,_0x397cf5,_0x101df3,_0x3f7f14)=>{for(var _0x499f60=_0x3f7f14>0x1?void 0x0:_0x3f7f14?$s(_0x397cf5,_0x101df3):_0x397cf5,_0x3ed0f1=_0x517518['length']-0x1,_0x527a49;_0x3ed0f1>=0x0;_0x3ed0f1--)(_0x527a49=_0x517518[_0x3ed0f1])&&(_0x499f60=_0x527a49(_0x499f60)||_0x499f60);return _0x499f60;},Vt=(_0x536331,_0x32a661)=>(_0xa1b131,_0xff12f8)=>_0x32a661(_0xa1b131,_0xff12f8,_0x536331);let Pe=class extends _0x16428c{constructor(_0x42199e,_0xc60ba7){var _0x304642=_0x1bf9e4;super(),N(this,'_roomMembers',new Map()),N(this,_0x304642(0x1f7),new _0x3b4cf0()),(this[_0x304642(0x432)]=_0x42199e,this[_0x304642(0x1a5)]=_0xc60ba7,this[_0x304642(0x437)](_0x539a72(this[_0x304642(0x432)]['getTypeOfUnitDisposed$'](_0x2f1c63[_0x304642(0x1ec)])[_0x304642(0x29b)](_0xe868af(_0x4bf2df=>_0x4bf2df[_0x304642(0x416)]())),this[_0x304642(0x432)][_0x304642(0x37b)](_0x2f1c63[_0x304642(0x18d)])[_0x304642(0x29b)](_0xe868af(_0xb0949a=>_0xb0949a[_0x304642(0x416)]())),this['_univerInstanceService'][_0x304642(0x37b)](_0x2f1c63[_0x304642(0x2a3)])['pipe'](_0xe868af(_0x58ae6a=>_0x58ae6a['getUnitId']())))[_0x304642(0x262)](_0x3c6e1d=>this[_0x304642(0x201)](_0x3c6e1d))));}[_0x1bf9e4(0x3ef)](_0x30dad4){var _0x1b289a=_0x1bf9e4;return this[_0x1b289a(0x35f)][_0x1b289a(0x429)](_0x30dad4)?_0x1be741(this[_0x1b289a(0x35f)][_0x1b289a(0x27c)](_0x30dad4)):this[_0x1b289a(0x1f7)][_0x1b289a(0x29b)](_0xe868af(_0x182741=>{var _0x2055e7=_0x1b289a;if(_0x182741===_0x30dad4)return this[_0x2055e7(0x35f)][_0x2055e7(0x27c)](_0x182741);}));}[_0x1bf9e4(0x1fd)](_0x2bb804){var _0x2b3f36=_0x1bf9e4;this[_0x2b3f36(0x1a5)][_0x2b3f36(0x1fd)](_0x2bb804);}[_0x1bf9e4(0x26c)](){var _0x1aff19=_0x1bf9e4;return this['_userManagerService'][_0x1aff19(0x26c)]();}[_0x1bf9e4(0x2c2)](_0x1b557d,_0x2fc3db){var _0x191f7f=_0x1bf9e4;let _0x389e3a=this['_roomMembers']['get'](_0x1b557d);_0x389e3a||(_0x389e3a=new Bs(),this[_0x191f7f(0x35f)][_0x191f7f(0x1f3)](_0x1b557d,_0x389e3a),this['_roomCreated$'][_0x191f7f(0x232)](_0x1b557d)),_0x389e3a[_0x191f7f(0x2c2)](_0x2fc3db);}[_0x1bf9e4(0x1b4)](_0x436138,_0x31d662){var _0x1df087=_0x1bf9e4;const _0x50f490=this['_roomMembers'][_0x1df087(0x27c)](_0x436138);_0x50f490&&_0x50f490[_0x1df087(0x1b4)](_0x31d662);}['getRoom'](_0x598393){var _0x16823c=_0x1bf9e4;return this[_0x16823c(0x35f)]['get'](_0x598393);}[_0x1bf9e4(0x347)](_0x234722,_0x371a8d){var _0x59f842=_0x1bf9e4;const _0x2302e8=this[_0x59f842(0x35f)]['get'](_0x234722);if(_0x2302e8)return _0x2302e8[_0x59f842(0x347)](_0x371a8d);}[_0x1bf9e4(0x201)](_0x9f2b71){var _0x2400f7=_0x1bf9e4;const _0x32cb32=this[_0x2400f7(0x35f)][_0x2400f7(0x27c)](_0x9f2b71);_0x32cb32&&(_0x32cb32[_0x2400f7(0x336)](),this[_0x2400f7(0x35f)][_0x2400f7(0x3ea)](_0x9f2b71));}[_0x1bf9e4(0x336)](){var _0x1889d7=_0x1bf9e4;this[_0x1889d7(0x35f)][_0x1889d7(0x33a)](_0x4ed7aa=>_0x4ed7aa['dispose']()),this[_0x1889d7(0x35f)]['clear'](),this['_roomCreated$']['complete']();}};Pe=Hs([Vt(0x0,_0x1dd505),Vt(0x1,_0x1eb2b7(_0x119af1))],Pe);class Bs extends _0x16428c{constructor(){var _0x57f7c2=_0x1bf9e4;super(...arguments),N(this,_0x57f7c2(0x345),new Map()),N(this,'_members$',new _0x320cd9(this[_0x57f7c2(0x345)])),N(this,'members$',this[_0x57f7c2(0x2e0)][_0x57f7c2(0x332)]());}[_0x1bf9e4(0x336)](){var _0x5f329c=_0x1bf9e4;this[_0x5f329c(0x345)][_0x5f329c(0x27d)]();}[_0x1bf9e4(0x2c2)](_0x527c85){var _0x3c2ca6=_0x1bf9e4;this['_members']['set'](_0x527c85['memberID'],_0x527c85),this[_0x3c2ca6(0x219)]();}[_0x1bf9e4(0x1b4)](_0x2b49dd){var _0x4e89b4=_0x1bf9e4;this[_0x4e89b4(0x345)][_0x4e89b4(0x3ea)](_0x2b49dd);}[_0x1bf9e4(0x347)](_0x37eec0){var _0x36e309=_0x1bf9e4;return this[_0x36e309(0x345)][_0x36e309(0x27c)](_0x37eec0);}['getAllMembers'](){var _0x38bb09=_0x1bf9e4;return Array[_0x38bb09(0x42a)](this['_members'][_0x38bb09(0x3ce)]());}[_0x1bf9e4(0x219)](){var _0x15082d=_0x1bf9e4;this[_0x15082d(0x2e0)][_0x15082d(0x232)](this['_members']);}}var js=Object[_0x1bf9e4(0x241)],Fs=(_0x5e4312,_0x1135bf,_0x396022,_0x343025)=>{var _0xbae6dd=_0x1bf9e4;for(var _0x420b2f=_0x343025>0x1?void 0x0:_0x343025?js(_0x1135bf,_0x396022):_0x1135bf,_0x1847df=_0x5e4312[_0xbae6dd(0x2fd)]-0x1,_0x4bd97d;_0x1847df>=0x0;_0x1847df--)(_0x4bd97d=_0x5e4312[_0x1847df])&&(_0x420b2f=_0x4bd97d(_0x420b2f)||_0x420b2f);return _0x420b2f;},pe=(_0x23855c,_0x19b117)=>(_0x50cdd8,_0x3ac6b5)=>_0x19b117(_0x50cdd8,_0x3ac6b5,_0x23855c),Se=(_0x167ab9=>(_0x167ab9[_0x167ab9[_0x1bf9e4(0x3a3)]=0x0]='IDLE',_0x167ab9[_0x167ab9['JOINING']=0x1]=_0x1bf9e4(0x22e),_0x167ab9[_0x167ab9[_0x1bf9e4(0x342)]=0x2]=_0x1bf9e4(0x342),_0x167ab9[_0x167ab9[_0x1bf9e4(0x402)]=0x3]=_0x1bf9e4(0x402),_0x167ab9))(Se||{});const Gt={[me['FAIL']]:_0x1bf9e4(0x3d9),[me[_0x1bf9e4(0x32e)]]:_0x1bf9e4(0x3e8),[me['JOIN_ROOM_NOT_EXISTS']]:_0x1bf9e4(0x1e8),[me[_0x1bf9e4(0x2ee)]]:_0x1bf9e4(0x1e5),[me[_0x1bf9e4(0x397)]]:'session.room-cnt-exceeds'};let gt=class extends _0x3f1edd{constructor(_0xcc78e3,_0xdc4b32,_0x31301a,_0x44e0bf,_0x2d550a,_0x4d1b97,_0x521bd0,_0x3312f9,_0x4989e5){var _0x23f563=_0x1bf9e4;super(),N(this,_0x23f563(0x20b),new _0x320cd9(0x0)),N(this,_0x23f563(0x25b),this[_0x23f563(0x20b)][_0x23f563(0x332)]()),N(this,_0x23f563(0x20a),new _0x3b4cf0()),N(this,_0x23f563(0x1ca),this['_event$'][_0x23f563(0x332)]()),N(this,_0x23f563(0x309)),N(this,'_socketMessageSubscription'),N(this,_0x23f563(0x3a8)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x23f563(0x3fd),null),(this[_0x23f563(0x1e7)]=_0xcc78e3,this[_0x23f563(0x254)]=_0x31301a,this[_0x23f563(0x1f9)]=_0x44e0bf,this[_0x23f563(0x1c9)]=_0x2d550a,this[_0x23f563(0x228)]=_0x4d1b97,this[_0x23f563(0x1d0)]=_0x521bd0,this['_collaborationUIEventService']=_0x3312f9,this['_telemetryService']=_0x4989e5,this[_0x23f563(0x464)]=!!this[_0x23f563(0x426)],_0xdc4b32['pipe'](_0x57d01b(this[_0x23f563(0x31a)]))[_0x23f563(0x262)](_0x730325=>{var _0x412591=_0x23f563,_0x35e7d7;typeof _0x730325>'u'||(this[_0x412591(0x309)]=_0x730325,_0x730325?(this[_0x412591(0x36e)](_0x730325),this[_0x412591(0x308)]=_0x730325[_0x412591(0x46a)]['subscribe'](_0x4c23fa=>{var _0xe52b10=_0x412591;_0x4c23fa['routeKey']===this['_unitID']&&this[_0xe52b10(0x28b)](_0x4c23fa);})):(this[_0x412591(0x1bf)](),this[_0x412591(0x20b)][_0x412591(0x232)](0x2),(_0x35e7d7=this['_socketMessageSubscription'])==null||_0x35e7d7[_0x412591(0x2e1)](),this[_0x412591(0x308)]=null));}));}get['sessionStatus'](){var _0x3ea525=_0x1bf9e4;return this[_0x3ea525(0x20b)]['getValue']();}['getMemberID'](){var _0x2040a7=_0x1bf9e4,_0x428775,_0x28a046;return(_0x28a046=(_0x428775=this[_0x2040a7(0x309)])==null?void 0x0:_0x428775[_0x2040a7(0x430)])!=null?_0x28a046:null;}[_0x1bf9e4(0x336)](){var _0x551c45=_0x1bf9e4;super[_0x551c45(0x336)](),this['dispose$'][_0x551c45(0x232)](),this[_0x551c45(0x31a)]['complete']();}[_0x1bf9e4(0x40b)](){var _0x193337=_0x1bf9e4,_0x2ead89,_0x38c580;this[_0x193337(0x1bf)](),(_0x2ead89=this[_0x193337(0x309)])==null||_0x2ead89[_0x193337(0x2ba)]({'cmd':F[_0x193337(0x16d)],'data':{'roomID':this[_0x193337(0x1e7)]}}),(_0x38c580=this[_0x193337(0x309)])==null||_0x38c580[_0x193337(0x40b)](),this['_event$']['complete'](),this[_0x193337(0x20b)][_0x193337(0x246)](),this[_0x193337(0x336)]();}[_0x1bf9e4(0x28b)](_0x1511b4){var _0x4eadd2=_0x1bf9e4;_0x1511b4[_0x4eadd2(0x2b2)]===F[_0x4eadd2(0x28c)]?this[_0x4eadd2(0x2b8)](_0x1511b4):_0x1511b4[_0x4eadd2(0x2b2)]===F[_0x4eadd2(0x2cf)]&&this[_0x4eadd2(0x1bd)](_0x1511b4);}['_joinRoom'](_0x30860c){var _0x21f7c5=_0x1bf9e4;this[_0x21f7c5(0x20b)][_0x21f7c5(0x232)](0x1),_0x30860c['send']({'cmd':F[_0x21f7c5(0x28c)],'routeKey':this[_0x21f7c5(0x1e7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x21f7c5(0x1e7)]}]}});}[_0x1bf9e4(0x2b8)](_0x5ae3d2){var _0x16e20d=_0x1bf9e4,_0x1e1e69;if(_0x5ae3d2[_0x16e20d(0x20f)]in Gt){this[_0x16e20d(0x203)][_0x16e20d(0x463)]({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x5ae3d2[_0x16e20d(0x20f)]]}),this[_0x16e20d(0x20b)]['next'](0x2);return;}this['_sessionStatus$'][_0x16e20d(0x232)](0x3);const _0x4c4031=(_0x1e1e69=_0x5ae3d2[_0x16e20d(0x1c7)][_0x16e20d(0x240)][this[_0x16e20d(0x1e7)]])==null?void 0x0:_0x1e1e69[_0x16e20d(0x395)];_0x4c4031&&_0x4c4031['forEach'](_0x28049b=>this[_0x16e20d(0x228)][_0x16e20d(0x2c2)](this[_0x16e20d(0x1e7)],_0x28049b));}[_0x1bf9e4(0x1bd)](_0x5f087b){var _0x22abef=_0x1bf9e4;try{const _0x2e6673=_0x5f087b[_0x22abef(0x1c7)];switch(_0x2e6673['eventID']){case _0x40976b[_0x22abef(0x243)]:this[_0x22abef(0x166)](_0x2e6673),this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);break;case _0x40976b['USERS_LEAVE']:this[_0x22abef(0x370)](_0x2e6673),this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);break;case _0x40976b['CHANGESET_ACK']:case _0x40976b[_0x22abef(0x42c)]:this[_0x22abef(0x198)](),this[_0x22abef(0x38e)](),this[_0x22abef(0x20a)]['next'](_0x2e6673);break;case _0x40976b['MSG_FOR_ERROR']:this[_0x22abef(0x254)][_0x22abef(0x197)](_0x22abef(0x462)+JSON['stringify'](_0x2e6673)),this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);break;case _0x40976b[_0x22abef(0x334)]:this[_0x22abef(0x1d0)]['onCommentUpdate'](_0x2e6673[_0x22abef(0x1c7)]),this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);break;default:this[_0x22abef(0x20a)][_0x22abef(0x232)](_0x2e6673);}}catch(_0x5b6184){this['_logService'][_0x22abef(0x197)](_0x5b6184,_0x5f087b);}}[_0x1bf9e4(0x166)](_0x449218){var _0x2a44a4=_0x1bf9e4;this[_0x2a44a4(0x228)][_0x2a44a4(0x2c2)](this['_unitID'],_0x449218[_0x2a44a4(0x1c7)]);}['_onUserLeave'](_0x59be4e){var _0x5ddb60=_0x1bf9e4;this[_0x5ddb60(0x228)][_0x5ddb60(0x1b4)](this[_0x5ddb60(0x1e7)],_0x59be4e['data'][_0x5ddb60(0x430)]);}async[_0x1bf9e4(0x2ba)](_0x5bf01,_0x42f393){var _0x48352a=_0x1bf9e4;if(this[_0x48352a(0x25a)]!==0x3||!this['_socket'])throw new Error(_0x48352a(0x17f));try{_0x5bf01[_0x48352a(0x438)]===_0x40976b[_0x48352a(0x2c3)]&&(this[_0x48352a(0x3e0)](),this[_0x48352a(0x237)](_0x5bf01)),this[_0x48352a(0x309)][_0x48352a(0x2ba)]({'cmd':F[_0x48352a(0x43d)],'routeKey':_0x42f393,'routeType':'','data':_0x5bf01});}catch(_0x261b3a){this['_logService'][_0x48352a(0x197)](_0x261b3a);}}[_0x1bf9e4(0x3e0)](){var _0x2ac64e=_0x1bf9e4,_0x2c6d35;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x39c0b3=_0xcbfd;this[_0x39c0b3(0x3a8)]=null,this[_0x39c0b3(0x203)][_0x39c0b3(0x463)]({'id':ne['SUBMIT_CHANGESET_TIMEOUT']});},(_0x2c6d35=this['_configService'][_0x2ac64e(0x17d)](fi))!=null?_0x2c6d35:vi);}[_0x1bf9e4(0x38e)](){var _0x4c2195=_0x1bf9e4;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4c2195(0x3a8)]),this[_0x4c2195(0x3a8)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2ad81f){var _0x35d2b6=_0x1bf9e4;if(!this[_0x35d2b6(0x464)])return;const {data:_0xaa1fd4}=_0x2ad81f,{unitID:_0x40da5e,changeset:_0x4bda81}=_0xaa1fd4,{mutations:_0x313f3a,type:_0x1f54b7}=_0x4bda81;this[_0x35d2b6(0x3fd)]={'unitId':_0x40da5e,'type':_0x1f54b7,'startTime':performance[_0x35d2b6(0x2c9)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x313f3a)};}[_0x1bf9e4(0x198)](){var _0x173f8c=_0x1bf9e4;if(this[_0x173f8c(0x464)]){if(!this['_telemetryInfo']){this[_0x173f8c(0x254)][_0x173f8c(0x197)](_0x173f8c(0x38d),_0x173f8c(0x2a2));return;}this[_0x173f8c(0x3fd)][_0x173f8c(0x41d)]=performance[_0x173f8c(0x2c9)](),this['_telemetryInfo']['duration']=this[_0x173f8c(0x3fd)]['stopTime']-this[_0x173f8c(0x3fd)][_0x173f8c(0x3b6)],this[_0x173f8c(0x426)][_0x173f8c(0x353)](xs,this[_0x173f8c(0x3fd)]),this[_0x173f8c(0x3fd)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4381eb=_0x1bf9e4;this[_0x4381eb(0x3fd)]=null;}};gt=Fs([pe(0x2,_0x4020c),pe(0x3,_0x2711b7),pe(0x4,_0x1eb2b7(_0x5855e2)),pe(0x5,_0x1eb2b7(Pe)),pe(0x6,_0x1eb2b7(Si)),pe(0x7,_0x1eb2b7(ve)),pe(0x8,_0x471747(_0x4c8905))],gt);var Vs=Object[_0x1bf9e4(0x241)],Gs=(_0x3a50a7,_0x52b586,_0x908773,_0x4d45b0)=>{var _0x30e84d=_0x1bf9e4;for(var _0x1a54a6=_0x4d45b0>0x1?void 0x0:_0x4d45b0?Vs(_0x52b586,_0x908773):_0x52b586,_0x1c146b=_0x3a50a7[_0x30e84d(0x2fd)]-0x1,_0x243fbc;_0x1c146b>=0x0;_0x1c146b--)(_0x243fbc=_0x3a50a7[_0x1c146b])&&(_0x1a54a6=_0x243fbc(_0x1a54a6)||_0x1a54a6);return _0x1a54a6;},Re=(_0x400199,_0x52f80e)=>(_0x343065,_0x4b1f93)=>_0x52f80e(_0x343065,_0x4b1f93,_0x400199);let Le=class extends _0x16428c{constructor(_0x508bdb,_0x4eab5f,_0xd80561,_0x4e53f7,_0x23d45e,_0x5aefc6){var _0x33f488=_0x1bf9e4;super(),N(this,'_socket$',new _0x320cd9(void 0x0)),N(this,_0x33f488(0x230),this[_0x33f488(0x362)][_0x33f488(0x332)]()),N(this,_0x33f488(0x1fb),null),N(this,_0x33f488(0x3fe),new Map()),N(this,_0x33f488(0x2d2),new _0x320cd9(Se[_0x33f488(0x3a3)])),N(this,_0x33f488(0x303),this['_status$'][_0x33f488(0x332)]()),N(this,_0x33f488(0x1eb),!0x1),N(this,_0x33f488(0x44a)),N(this,'_retryCount',0x0),N(this,_0x33f488(0x372)),N(this,_0x33f488(0x2f8)),(this[_0x33f488(0x2b7)]=_0x508bdb,this[_0x33f488(0x254)]=_0x4eab5f,this[_0x33f488(0x1f9)]=_0xd80561,this[_0x33f488(0x37f)]=_0x4e53f7,this['_collaborationUIEventService']=_0x23d45e,this[_0x33f488(0x3ee)]=_0x5aefc6,this[_0x33f488(0x445)]());}get[_0x1bf9e4(0x309)](){var _0x1e83a9=_0x1bf9e4;return this[_0x1e83a9(0x362)][_0x1e83a9(0x377)]();}['_listenToNetworkCondition'](){var _0x454799=_0x1bf9e4;this[_0x454799(0x3ee)]&&this['disposeWithMe'](this['_networkConditionService'][_0x454799(0x1ad)][_0x454799(0x262)](_0x1ddf37=>{var _0x2a0898=_0x454799;_0x1ddf37&&!this['_socket']&&this['reconnect'](),_0x1ddf37||this[_0x2a0898(0x292)]();}));}[_0x1bf9e4(0x336)](){var _0x59ca08=_0x1bf9e4;super[_0x59ca08(0x336)](),this[_0x59ca08(0x35e)](),this['_clearTimeoutTimer'](),this[_0x59ca08(0x421)](),this[_0x59ca08(0x3fe)][_0x59ca08(0x33a)](_0x4bf8cd=>_0x4bf8cd[_0x59ca08(0x336)]()),this['_sessions']['clear'](),this['_status$'][_0x59ca08(0x246)]();}async[_0x1bf9e4(0x2d8)](_0x545ee0){var _0x293367=_0x1bf9e4;if(this[_0x293367(0x3fe)][_0x293367(0x429)](_0x545ee0))return this[_0x293367(0x3fe)]['get'](_0x545ee0);this[_0x293367(0x252)]();const _0x342843=this[_0x293367(0x2b7)][_0x293367(0x427)](gt,_0x545ee0,this[_0x293367(0x362)]['asObservable']());return this['_sessions'][_0x293367(0x1f3)](_0x545ee0,_0x342843),_0x342843;}[_0x1bf9e4(0x322)](_0x27dfe3){var _0x43fdf8=_0x1bf9e4,_0x32089a;const _0x12b798=this['_sessions'][_0x43fdf8(0x27c)](_0x27dfe3);_0x12b798&&(this[_0x43fdf8(0x3fe)][_0x43fdf8(0x3ea)](_0x27dfe3),_0x12b798[_0x43fdf8(0x40b)]()),this[_0x43fdf8(0x3fe)][_0x43fdf8(0x291)]||(_0x32089a=this[_0x43fdf8(0x309)])==null||_0x32089a['close']();}[_0x1bf9e4(0x41b)](){var _0x179a94=_0x1bf9e4;this[_0x179a94(0x2f5)]=0x0,this[_0x179a94(0x35e)](),this[_0x179a94(0x28a)]();}['_clearRetryConnectingTimer'](){var _0x199b39=_0x1bf9e4;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x199b39(0x44a)]),this[_0x199b39(0x44a)]=null);}async[_0x1bf9e4(0x1ac)](){var _0x2c6d32=_0x1bf9e4,_0x2b0b1c,_0x2e3ed5;const _0x1b5922=this[_0x2c6d32(0x1f9)][_0x2c6d32(0x17d)](gs),_0x1d51f5=this['_configService'][_0x2c6d32(0x17d)](K),_0x1b9855=(_0x2e3ed5=(_0x2b0b1c=_0x1d51f5==null?void 0x0:_0x1d51f5[_0x2c6d32(0x226)])!=null?_0x2b0b1c:_0x1b5922)!=null?_0x2e3ed5:Ss,_0x128b56=await this[_0x2c6d32(0x37f)][_0x2c6d32(0x259)](_0x1b9855);return this[_0x2c6d32(0x1fb)]=_0x128b56,_0x128b56;}async[_0x1bf9e4(0x252)](){var _0x48aae2=_0x1bf9e4,_0x2e984b,_0x183d38;try{const _0x60d6c3=(_0x183d38=(_0x2e984b=this[_0x48aae2(0x309)])!=null?_0x2e984b:this['_candidateSocket'])!=null?_0x183d38:await this[_0x48aae2(0x1ac)]();if(_0x60d6c3){const _0x33d974=_0x60d6c3[_0x48aae2(0x2ba)];_0x60d6c3[_0x48aae2(0x2ba)]=_0x15e910=>(this[_0x48aae2(0x30e)](),_0x33d974[_0x48aae2(0x458)](_0x60d6c3,[_0x15e910])),_0x60d6c3[_0x48aae2(0x46a)][_0x48aae2(0x262)](_0x4602b6=>this[_0x48aae2(0x23a)](_0x60d6c3,_0x4602b6)),_0x60d6c3['error$'][_0x48aae2(0x29b)](_0xde693b(0x1))[_0x48aae2(0x262)](_0x5242b6=>this['_logService'][_0x48aae2(0x197)](_0x48aae2(0x257),_0x5242b6)),_0x60d6c3[_0x48aae2(0x212)][_0x48aae2(0x29b)](_0xde693b(0x1))[_0x48aae2(0x262)](()=>{var _0x42ddb5=_0x48aae2;this[_0x42ddb5(0x40e)](_0x60d6c3);}),_0x60d6c3[_0x48aae2(0x348)][_0x48aae2(0x29b)](_0xde693b(0x1))['subscribe'](_0x523c3c=>{var _0x5f257f=_0x48aae2;this[_0x5f257f(0x254)][_0x5f257f(0x1a6)](_0x5f257f(0x255),_0x5f257f(0x424),_0x523c3c),this[_0x5f257f(0x261)]();});}}catch(_0x29c530){this['_logService'][_0x48aae2(0x197)](_0x29c530),this[_0x48aae2(0x261)]();}}[_0x1bf9e4(0x40e)](_0xb7ce73){var _0x5376a5=_0x1bf9e4;this[_0x5376a5(0x254)]['debug'](_0x5376a5(0x255),_0x5376a5(0x3ab)),_0xb7ce73[_0x5376a5(0x2ba)]({'cmd':F[_0x5376a5(0x409)]}),this[_0x5376a5(0x30e)]();}['_onOffline'](){var _0xea6e6e=_0x1bf9e4;this[_0xea6e6e(0x1eb)]=!0x1,this[_0xea6e6e(0x1fb)]=null,this[_0xea6e6e(0x2d2)][_0xea6e6e(0x232)](Se['OFFLINE']),this['_socket$'][_0xea6e6e(0x232)](null),this[_0xea6e6e(0x169)](),this[_0xea6e6e(0x421)]();}['_onConnectionFailed'](){var _0x947006=_0x1bf9e4,_0x14b72c;this[_0x947006(0x292)](),this['_retryCount']<((_0x14b72c=this['_configService'][_0x947006(0x17d)](Cs))!=null?_0x14b72c:Rs)?(this[_0x947006(0x203)][_0x947006(0x463)]({'id':ne[_0x947006(0x1b0)]}),this[_0x947006(0x28a)]()):this[_0x947006(0x203)]['emitEvent']({'id':ne[_0x947006(0x3f3)]});}[_0x1bf9e4(0x28a)](){var _0x3b37fe=_0x1bf9e4,_0x32c1cd;const _0x1c0c5c=this[_0x3b37fe(0x2f5)],_0x485eef=this['_configService'][_0x3b37fe(0x17d)](K),_0x3314dc=_0x1c0c5c===0x0?0x0:((_0x32c1cd=_0x485eef==null?void 0x0:_0x485eef[_0x3b37fe(0x420)])!=null?_0x32c1cd:Ts)*0x2**_0x1c0c5c;this['_retryConnectingTimer']=setTimeout(()=>{var _0x444c48=_0x3b37fe;clearTimeout(this[_0x444c48(0x44a)]),this['_retryConnectingTimer']=null,this[_0x444c48(0x252)]();},_0x3314dc),this[_0x3b37fe(0x2f5)]+=0x1;}['_onMessage'](_0x1c5b4e,_0x35a8cf){var _0x3d1cf4=_0x1bf9e4;const {cmd:_0x232957}=_0x35a8cf;_0x232957===F[_0x3d1cf4(0x409)]&&!this[_0x3d1cf4(0x1eb)]&&(_0x1c5b4e[_0x3d1cf4(0x430)]=_0x35a8cf['data'][_0x3d1cf4(0x430)],this[_0x3d1cf4(0x362)][_0x3d1cf4(0x232)](_0x1c5b4e),this[_0x3d1cf4(0x2d2)][_0x3d1cf4(0x232)](Se[_0x3d1cf4(0x402)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x232957===F['HEARTBEAT']&&this[_0x3d1cf4(0x169)](),this[_0x3d1cf4(0x30e)]();}[_0x1bf9e4(0x30e)](){var _0x247f2a=_0x1bf9e4,_0x3e1a33;this[_0x247f2a(0x421)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x247f2a(0x24d)](),(_0x3e1a33=this[_0x247f2a(0x1f9)][_0x247f2a(0x17d)](Es))!=null?_0x3e1a33:Is);}[_0x1bf9e4(0x24d)](){var _0x3ec9ab=_0x1bf9e4;this['_socket'][_0x3ec9ab(0x2ba)]({'cmd':F[_0x3ec9ab(0x3c7)]}),this[_0x3ec9ab(0x30a)]();}[_0x1bf9e4(0x30a)](){var _0x32bff2=_0x1bf9e4,_0xdf75c9;this['_timeoutTimer']=setTimeout(()=>this[_0x32bff2(0x261)](),(_0xdf75c9=this[_0x32bff2(0x1f9)][_0x32bff2(0x17d)](fi))!=null?_0xdf75c9:vi);}['_clearHeartbeatTimer'](){var _0x1c0b4a=_0x1bf9e4;this[_0x1c0b4a(0x372)]!=null&&(clearTimeout(this[_0x1c0b4a(0x372)]),this[_0x1c0b4a(0x372)]=null);}['_clearTimeoutTimer'](){var _0x110b00=_0x1bf9e4;this[_0x110b00(0x2f8)]!=null&&(clearTimeout(this[_0x110b00(0x2f8)]),this[_0x110b00(0x2f8)]=null);}};Le=Gs([Re(0x0,_0x1eb2b7(_0x3ba5a5)),Re(0x1,_0x4020c),Re(0x2,_0x2711b7),Re(0x3,gi),Re(0x4,_0x1eb2b7(ve)),Re(0x5,_0x471747(Us))],Le);const J=_0x1e116d(_0x1bf9e4(0x1fc));function Pr(_0x2b9297){var _0x4362a9=_0x1bf9e4;return _0x4362a9(0x441)+_0x2b9297;}var Ys=Object['getOwnPropertyDescriptor'],Ws=(_0x2f5b8d,_0x556083,_0x1859af,_0x3c620e)=>{var _0x9844bf=_0x1bf9e4;for(var _0x437df8=_0x3c620e>0x1?void 0x0:_0x3c620e?Ys(_0x556083,_0x1859af):_0x556083,_0x50fdfa=_0x2f5b8d[_0x9844bf(0x2fd)]-0x1,_0x21fc3b;_0x50fdfa>=0x0;_0x50fdfa--)(_0x21fc3b=_0x2f5b8d[_0x50fdfa])&&(_0x437df8=_0x21fc3b(_0x437df8)||_0x437df8);return _0x437df8;},ut=(_0x1a1233,_0x57053a)=>(_0x53537b,_0x41a7a3)=>_0x57053a(_0x53537b,_0x41a7a3,_0x1a1233);function Ks(_0x36f7ec){var _0x23f952=_0x1bf9e4;const {unitID:_0x37f394,mutations:_0x35b52a}=_0x36f7ec;return{'unitId':_0x37f394,'subUnitId':_0x35b52a[0x0][_0x23f952(0x194)][_0x23f952(0x344)]};}function _0xcbfd(_0x5bcc85,_0x31537e){var _0x282ac7=_0x282a();return _0xcbfd=function(_0xcbfde4,_0x263f7e){_0xcbfde4=_0xcbfde4-0x15b;var _0xe1d516=_0x282ac7[_0xcbfde4];return _0xe1d516;},_0xcbfd(_0x5bcc85,_0x31537e);}let it=class{constructor(_0x3d10fc,_0x6173ca,_0x5c6b70){var _0x25729c=_0x1bf9e4;this[_0x25729c(0x2b7)]=_0x3d10fc,this[_0x25729c(0x2b3)]=_0x6173ca,this['_instanceService']=_0x5c6b70;}['transformSelections'](_0x57fd65){var _0x11a8db=_0x1bf9e4,_0x2d4ee7,_0x5b6d2e,_0x955de7,_0x383a63;const _0x2f8835=this[_0x11a8db(0x2b7)][_0x11a8db(0x27c)](_0x21249a),{unitId:_0x791ad0,subUnitId:_0x5789b2}=Ks(_0x57fd65),_0x1910c5=_0x2f8835==null?void 0x0:_0x2f8835[_0x11a8db(0x175)](_0x791ad0)[_0x11a8db(0x3de)](),_0x5d153d=(_0x5b6d2e=(_0x2d4ee7=this[_0x11a8db(0x208)][_0x11a8db(0x1a2)](_0x791ad0))==null?void 0x0:_0x2d4ee7[_0x11a8db(0x1a7)]())==null?void 0x0:_0x5b6d2e[_0x11a8db(0x329)]();if(_0x1910c5['length']===0x0||!_0x791ad0||!_0x5789b2)return;const _0x365f14=[{'id':_0x305b77['id'],'params':{'unitId':_0x791ad0,'subUnitId':_0x5d153d,'selections':_0x1e6211[_0x11a8db(0x3cb)](_0x1910c5)}}],_0x51f540=this[_0x11a8db(0x2b3)][_0x11a8db(0x210)](_0x57fd65,_0x365f14);if(!_0x164c96(_0x51f540))throw _0x51f540[_0x11a8db(0x197)];const _0x3622aa=(_0x383a63=(_0x955de7=_0x51f540[_0x11a8db(0x34c)][0x0])==null?void 0x0:_0x955de7[_0x11a8db(0x194)])==null?void 0x0:_0x383a63['selections'];if(Array[_0x11a8db(0x286)](_0x3622aa)&&_0x3622aa['length']){if(_0x3622aa[_0x11a8db(0x2fd)]===_0x365f14[0x0][_0x11a8db(0x194)][_0x11a8db(0x1d9)][_0x11a8db(0x2fd)]&&_0x3622aa['every']((_0x4b16f5,_0x20e3d2)=>_0x58ba93[_0x11a8db(0x316)](_0x4b16f5[_0x11a8db(0x296)],_0x365f14[0x0][_0x11a8db(0x194)][_0x11a8db(0x1d9)][_0x20e3d2][_0x11a8db(0x296)])))return;this[_0x11a8db(0x2b7)][_0x11a8db(0x27c)](_0x163994)[_0x11a8db(0x311)](_0x305b77['id'],{'unitId':_0x791ad0,'subUnitId':_0x5d153d,'selections':_0x3622aa});}}};it=Ws([ut(0x0,_0x1eb2b7(_0x3ba5a5)),ut(0x1,_0xaa4b07),ut(0x2,_0x1dd505)],it);const ht=_0x1e116d(_0x1bf9e4(0x385));var Ei=(_0x243a49=>(_0x243a49[_0x243a49[_0x1bf9e4(0x28f)]=0x0]=_0x1bf9e4(0x28f),_0x243a49[_0x243a49[_0x1bf9e4(0x260)]=0x1]=_0x1bf9e4(0x260),_0x243a49))(Ei||{});const qs=new Set([_0x54cdc3['id']]);function Yt(_0x41c307,_0x5e5f21,_0x4fcf8b,_0x31661e,_0x278cf6){var _0x2817e4=_0x1bf9e4,_0x451079,_0x22a5b3,_0x5e0aa4,_0x197d58;const _0x303709=[];for(const _0x14e6ad of _0x41c307)if(qs[_0x2817e4(0x429)](_0x14e6ad['id'])){if(_0x303709['length']>0x0)break;_0x303709['push'](_0x14e6ad);break;}else _0x303709[_0x2817e4(0x284)](_0x14e6ad);const _0xcf33d2=(_0x22a5b3=(_0x451079=_0x278cf6['getCurrentUser']())==null?void 0x0:_0x451079[_0x2817e4(0x294)])!=null?_0x22a5b3:_0x2817e4(0x373),_0x140b98=(_0x197d58=(_0x5e0aa4=_0x278cf6[_0x2817e4(0x26c)]())==null?void 0x0:_0x5e0aa4[_0x2817e4(0x430)])!=null?_0x197d58:_0x2817e4(0x373);return{'changeset':{'unitID':_0x5e5f21,'type':_0x2f1f22(_0x4fcf8b['getUnitType'](_0x5e5f21)),'baseRev':_0x31661e['getCurrentRevOfUnit'](_0x5e5f21),'revision':0x0,'userID':_0xcf33d2,'memberID':_0x140b98,'mutations':_0x303709},'pendingMutations':_0x41c307[_0x2817e4(0x1cd)](_0x303709[_0x2817e4(0x2fd)])};}function zs(_0x3cccbb,_0x48c858,_0x5e2409,_0x4e55b1,_0x59c6b6){var _0x42cc5b=_0x1bf9e4,_0x7d555d,_0x4f6a79,_0x3142e6,_0x5d2f1c;const _0x43f8c4=[_0x3cccbb[_0x42cc5b(0x21c)]((_0x26405a,_0x6ea77c)=>{var _0x1d4a60=_0x42cc5b,_0x1d505f;const {id:_0x14a6bc}=_0x26405a,{id:_0x54b812,type:_0x42d63e}=_0x6ea77c,_0x28a889=(_0x1d505f=_0x26405a[_0x1d4a60(0x194)])!=null?_0x1d505f:{'actions':null},_0x4953d3=_0x6ea77c[_0x1d4a60(0x194)];if(_0x14a6bc&&_0x14a6bc!==_0x54b812)throw new Error(_0x1d4a60(0x193)+_0x14a6bc+_0x1d4a60(0x326)+_0x54b812+'.');return{..._0x26405a,'id':_0x54b812,'type':_0x42d63e,'params':{'unitId':_0x4953d3[_0x1d4a60(0x26d)],'textRanges':_0x4953d3[_0x1d4a60(0x2f1)],'actions':_0x5703e5[_0x1d4a60(0x21b)](_0x28a889[_0x1d4a60(0x364)],_0x4953d3[_0x1d4a60(0x364)])}};},{})],_0x91c46a=(_0x4f6a79=(_0x7d555d=_0x59c6b6[_0x42cc5b(0x26c)]())==null?void 0x0:_0x7d555d[_0x42cc5b(0x294)])!=null?_0x4f6a79:_0x42cc5b(0x373),_0x40f94a=(_0x5d2f1c=(_0x3142e6=_0x59c6b6[_0x42cc5b(0x26c)]())==null?void 0x0:_0x3142e6['memberID'])!=null?_0x5d2f1c:_0x42cc5b(0x373);return{'changeset':{'unitID':_0x48c858,'type':_0x2f1f22(_0x5e2409['getUnitType'](_0x48c858)),'baseRev':_0x4e55b1[_0x42cc5b(0x216)](_0x48c858),'revision':0x0,'userID':_0x91c46a,'memberID':_0x40f94a,'mutations':_0x43f8c4},'pendingMutations':[]};}function Ii(_0x3e5849,_0x3f45ad){var _0x18fb25=_0x1bf9e4;const _0x105f9b=new _0x2c051e(0x1);return setTimeout(()=>_0x105f9b['next'](_0x3f45ad),_0x3e5849),_0x105f9b[_0x18fb25(0x332)]()[_0x18fb25(0x29b)](_0x19b6b3(0x1));}const Js={'id':_0x44180c['id'],'type':_0x4b8a53['MUTATION'],'params':{}};var Xs=Object[_0x1bf9e4(0x241)],Ie=(_0x21fbf2,_0x137879,_0x33690d,_0x44a1ff)=>{for(var _0x304a5f=_0x44a1ff>0x1?void 0x0:_0x44a1ff?Xs(_0x137879,_0x33690d):_0x137879,_0x40cfd7=_0x21fbf2['length']-0x1,_0x2bfcc6;_0x40cfd7>=0x0;_0x40cfd7--)(_0x2bfcc6=_0x21fbf2[_0x40cfd7])&&(_0x304a5f=_0x2bfcc6(_0x304a5f)||_0x304a5f);return _0x304a5f;},P=(_0x4bcc22,_0x6809a5)=>(_0x1d77d5,_0x3edeee)=>_0x6809a5(_0x1d77d5,_0x3edeee,_0x4bcc22),Ti=(_0x443223=>(_0x443223['NOT_COLLAB']='not_collab',_0x443223[_0x1bf9e4(0x206)]=_0x1bf9e4(0x187),_0x443223['PENDING']='pending',_0x443223[_0x1bf9e4(0x422)]='awaiting',_0x443223[_0x1bf9e4(0x3dd)]=_0x1bf9e4(0x2e6),_0x443223[_0x1bf9e4(0x442)]=_0x1bf9e4(0x224),_0x443223[_0x1bf9e4(0x45b)]=_0x1bf9e4(0x40d),_0x443223[_0x1bf9e4(0x342)]=_0x1bf9e4(0x42f),_0x443223))(Ti||{});const Ci=0xea60;class Te{constructor(_0x156a30,_0x2b9bfc,_0x200528,_0x2c434e,_0x44f8f5,_0x2f7be2,_0x250364,_0x31c5f0,_0x468822){var _0x20a8a5=_0x1bf9e4;N(this,_0x20a8a5(0x41a),null),N(this,_0x20a8a5(0x32d),[]),(this[_0x20a8a5(0x3fa)]=_0x156a30,this['type']=_0x2b9bfc,this[_0x20a8a5(0x3d3)]=_0x44f8f5,this['_commandService']=_0x2f7be2,this['_undoRedoService']=_0x250364,this[_0x20a8a5(0x1ef)]=_0x31c5f0,this[_0x20a8a5(0x2c0)]=_0x468822,this[_0x20a8a5(0x41a)]=_0x200528,this[_0x20a8a5(0x32d)]=_0x2c434e);}['_checkMissing'](_0x44da3e){var _0x2df001=_0x1bf9e4;const _0x1dbbb8=this[_0x2df001(0x1ef)][_0x2df001(0x216)](this[_0x2df001(0x3fa)]);return _0x44da3e[_0x2df001(0x1c0)]>_0x1dbbb8+0x1?(this[_0x2df001(0x3d3)][_0x2df001(0x2f6)]({'from':_0x1dbbb8,'to':_0x44da3e[_0x2df001(0x1c0)]-0x1}),!0x0):!0x1;}[_0x1bf9e4(0x3a4)](_0x55caf2){var _0x52d667=_0x1bf9e4;this[_0x52d667(0x1ff)]['transformUndoRedo'](this['unitID'],_0x55caf2);}['_transformSelections'](_0x2d361f){var _0x2e2776=_0x1bf9e4,_0x209bb3,_0x3d1887;(_0x3d1887=(_0x209bb3=this[_0x2e2776(0x3d3)])[_0x2e2776(0x225)])==null||_0x3d1887[_0x2e2776(0x1a9)](_0x209bb3,_0x2d361f);}[_0x1bf9e4(0x3a1)](_0x28e90b){var _0xf9742c=_0x1bf9e4,_0x378932,_0xe4f8f8;return(_0xe4f8f8=(_0x378932=this[_0xf9742c(0x3d3)])['onTransformIME'])==null?void 0x0:_0xe4f8f8[_0xf9742c(0x1a9)](_0x378932,_0x28e90b);}[_0x1bf9e4(0x369)](_0x12bd58){var _0x27ad22=_0x1bf9e4,_0x32eb75,_0x1f68e0;return(_0x1f68e0=(_0x32eb75=this[_0x27ad22(0x3d3)])['onTransformState'])==null?void 0x0:_0x1f68e0[_0x27ad22(0x1a9)](_0x32eb75,_0x12bd58);}[_0x1bf9e4(0x3f9)](_0x10985b){var _0x18b36e=_0x1bf9e4,_0x334040,_0x501f3a,_0xd139f9;return(_0xd139f9=(_0x501f3a=(_0x334040=this[_0x18b36e(0x3d3)])[_0x18b36e(0x386)])==null?void 0x0:_0x501f3a[_0x18b36e(0x1a9)](_0x334040,_0x10985b))!=null?_0xd139f9:_0x10985b;}[_0x1bf9e4(0x354)](_0x3fe9fe){var _0x258a67=_0x1bf9e4,_0x338339,_0x2ea9e3,_0xd3c29a;return(_0xd3c29a=(_0x2ea9e3=(_0x338339=this['_handler'])[_0x258a67(0x248)])==null?void 0x0:_0x2ea9e3[_0x258a67(0x1a9)](_0x338339,_0x3fe9fe))!=null?_0xd3c29a:_0x3fe9fe;}[_0x1bf9e4(0x304)](_0x16c730){var _0x35ae65=_0x1bf9e4,_0x24704c,_0x3e1594;if(this[_0x35ae65(0x17c)]===Z[_0x35ae65(0x18d)]){const {unitID:_0x24e021,mutations:_0x14c532,memberID:_0x1a7cca}=_0x16c730,_0x90a3f2=_0x14c532[0x0]['params'][_0x35ae65(0x2f1)];Array[_0x35ae65(0x286)](_0x90a3f2)&&_0x90a3f2[_0x35ae65(0x2fd)]>0x0&&((_0x3e1594=(_0x24704c=this[_0x35ae65(0x3d3)])['onSyncEditingCollabCursor'])==null||_0x3e1594[_0x35ae65(0x1a9)](_0x24704c,{'unitID':_0x24e021,'memberID':_0x1a7cca,'textRanges':_0x90a3f2}));}}[_0x1bf9e4(0x1b2)](){var _0x3b0135=_0x1bf9e4,_0x15da81;(_0x15da81=this['_localCacheService'])==null||_0x15da81[_0x3b0135(0x30d)](this[_0x3b0135(0x3fa)],this[_0x3b0135(0x17c)],this[_0x3b0135(0x41a)],this[_0x3b0135(0x32d)]);}['_getCurrentRevision'](){var _0x5bde62=_0x1bf9e4;return this['_revisionService'][_0x5bde62(0x216)](this[_0x5bde62(0x3fa)]);}[_0x1bf9e4(0x390)](){var _0x274513=_0x1bf9e4;this[_0x274513(0x1ef)][_0x274513(0x3f6)](this['unitID']);}[_0x1bf9e4(0x39f)](_0x5d8dcd){var _0x557d31=_0x1bf9e4,_0x23ab08;let _0x3e4113=this[_0x557d31(0x3f9)](_0x5d8dcd);_0x3e4113=this[_0x557d31(0x354)](_0x3e4113);const _0x1569e9=_0x5569a9(_0x3e4113['mutations'],this[_0x557d31(0x2ad)],{'fromCollab':!0x0});if(!_0x1569e9[_0x557d31(0x339)])throw _0x1569e9[_0x557d31(0x197)]instanceof Error?_0x1569e9[_0x557d31(0x197)]:new Error((_0x23ab08=_0x1569e9[_0x557d31(0x197)])!=null?_0x23ab08:_0x557d31(0x222));this['_transformIMECache'](_0x3e4113),this[_0x557d31(0x369)](_0x3e4113),this[_0x557d31(0x3a4)](_0x5d8dcd),this[_0x557d31(0x337)](_0x3e4113),this[_0x557d31(0x304)](_0x3e4113),this[_0x557d31(0x390)]();}}let ye=class extends Te{constructor(_0xe12cba,_0x22de1e,_0x3f8d2c,_0x168f06,_0x483cfe,_0x3f4d9f,_0x1ca43e,_0xde6d1f,_0x5cb8eb,_0x252410){var _0x1fa7dd=_0x1bf9e4;super(_0xe12cba,_0x22de1e,null,[],_0x3f8d2c,_0x1ca43e,_0x3f4d9f,_0x168f06,_0x252410),N(this,'status','synced'),(this[_0x1fa7dd(0x2b7)]=_0x483cfe,this['_logService']=_0xde6d1f,this['_transformService']=_0x5cb8eb,this['localCacheService']=_0x252410);}['appendMutation'](_0x356cc6){var _0x513de5=_0x1bf9e4;const _0x52f8a4=this[_0x513de5(0x2b7)][_0x513de5(0x427)](re,this[_0x513de5(0x3fa)],this['type'],[_0x356cc6],this['_handler']);return _0x52f8a4['_schedule'](),_0x52f8a4[_0x513de5(0x1b2)](),_0x52f8a4;}['onRemoteChangeset'](_0x4042f8){var _0x47872e=_0x1bf9e4;if(this[_0x47872e(0x2f3)](_0x4042f8))return this[_0x47872e(0x2b7)][_0x47872e(0x427)](Q,this[_0x47872e(0x3fa)],this[_0x47872e(0x17c)],null,[],null,[_0x4042f8],this[_0x47872e(0x3d3)]);try{const _0x252ef1=this[_0x47872e(0x2b3)][_0x47872e(0x210)](_0x4042f8,[Js]);if(_0x164c96(_0x252ef1)){const {c1Prime:_0x54c5e3}=_0x252ef1;return this[_0x47872e(0x39f)](_0x54c5e3),this;}throw _0x252ef1[_0x47872e(0x197)];}catch(_0x4b45d5){return this['_logService'][_0x47872e(0x197)](_0x4b45d5),this[_0x47872e(0x3f4)](!0x1);}}[_0x1bf9e4(0x3f4)](_0x2c7a3b){var _0x17c0d0=_0x1bf9e4;return this[_0x17c0d0(0x2b7)][_0x17c0d0(0x427)](le,this[_0x17c0d0(0x3fa)],this['type'],null,[],this[_0x17c0d0(0x3d3)],_0x2c7a3b);}[_0x1bf9e4(0x245)](){var _0x42cc1f=_0x1bf9e4;throw new Error(_0x42cc1f(0x2f2));}[_0x1bf9e4(0x346)](){var _0x29314f=_0x1bf9e4;throw new Error(_0x29314f(0x1dc));}[_0x1bf9e4(0x31d)](){return this;}[_0x1bf9e4(0x34f)](){var _0x1b395c=_0x1bf9e4;return this['_injector'][_0x1b395c(0x427)](ue,this[_0x1b395c(0x3fa)],this['type'],null,[],this[_0x1b395c(0x3d3)]);}['toggleOnline'](){return this;}[_0x1bf9e4(0x1e2)](){var _0xa2c595=_0x1bf9e4;throw new Error(_0xa2c595(0x1e9));}[_0x1bf9e4(0x42e)](){var _0x10f891=_0x1bf9e4;const _0x3f507a=this[_0x10f891(0x1ef)]['getCurrentRevOfUnit'](this[_0x10f891(0x3fa)]);return this[_0x10f891(0x3d3)][_0x10f891(0x2f6)]({'from':_0x3f507a,'to':0x0}),this['_injector']['createInstance'](Q,this[_0x10f891(0x3fa)],this['type'],null,[],null,[],this[_0x10f891(0x3d3)]);}};ye=Ie([P(0x3,_0x1eb2b7(_0x3169f6)),P(0x4,_0x1eb2b7(_0x3ba5a5)),P(0x5,_0x3aa1c3),P(0x6,_0x163994),P(0x7,_0x4020c),P(0x8,_0xaa4b07),P(0x9,_0x471747(J))],ye);let re=class extends Te{constructor(_0x4f6d7a,_0x1542b2,_0x40ee3e,_0x39132a,_0x42376a,_0x4d45a3,_0x3f8fd5,_0x47d6ea,_0x5f2008,_0x25b3ee,_0x681886,_0x547868,_0x4cee96,_0x2dc6c0){var _0x7989e7=_0x1bf9e4;super(_0x4f6d7a,_0x1542b2,null,_0x40ee3e,_0x39132a,_0x5f2008,_0x4cee96,_0x4d45a3,_0x2dc6c0),N(this,_0x7989e7(0x412),'pending'),N(this,_0x7989e7(0x26f),null),N(this,_0x7989e7(0x2b9),null),(this['_injector']=_0x42376a,this[_0x7989e7(0x228)]=_0x3f8fd5,this[_0x7989e7(0x254)]=_0x47d6ea,this[_0x7989e7(0x1f9)]=_0x25b3ee,this[_0x7989e7(0x2b3)]=_0x681886,this[_0x7989e7(0x432)]=_0x547868);}[_0x1bf9e4(0x3f7)](_0x2ccbdb){var _0x518baf=_0x1bf9e4;return this[_0x518baf(0x32d)][_0x518baf(0x284)](_0x2ccbdb),this['_updateLocalCache'](),this;}[_0x1bf9e4(0x435)](_0x2f6d8c){var _0x354f8a=_0x1bf9e4;if(this['_checkMissing'](_0x2f6d8c))return this['_clearScheduledTask'](),this[_0x354f8a(0x2b7)][_0x354f8a(0x427)](Q,this[_0x354f8a(0x3fa)],this['type'],null,this[_0x354f8a(0x32d)],null,[_0x2f6d8c],this[_0x354f8a(0x3d3)]);try{const _0x2fc13d=this[_0x354f8a(0x2b3)]['transformMutationsWithChangeset'](_0x2f6d8c,this['_pendingMutations']);if(_0x164c96(_0x2fc13d)){const {c1Prime:_0x1391c8,m2Prime:_0x169ba0}=_0x2fc13d;this['_executeRemoteChangeset'](_0x1391c8);const _0x3745d2=this[_0x354f8a(0x2b7)][_0x354f8a(0x427)](re,this['unitID'],this['type'],_0x169ba0,this[_0x354f8a(0x3d3)]);this[_0x354f8a(0x1bb)]();const _0x23a373=new Date()['getTime'](),_0x5bcc1d=this[_0x354f8a(0x26f)]?Math[_0x354f8a(0x196)](this['_scheduleCompleteTimestamp']-_0x23a373,0x0):this[_0x354f8a(0x1aa)]();return _0x3745d2['_schedule'](_0x5bcc1d),_0x3745d2;}throw _0x2fc13d['error'];}catch(_0x69e8c4){return this[_0x354f8a(0x254)]['error'](_0x69e8c4),this[_0x354f8a(0x3f4)](!0x1);}}[_0x1bf9e4(0x245)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x7ad0b0=_0x1bf9e4;throw new Error(_0x7ad0b0(0x2cc));}[_0x1bf9e4(0x31d)](){return this;}['toggleOffline'](){var _0x45969b=_0x1bf9e4;return this[_0x45969b(0x1bb)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0x45969b(0x17c)],null,this[_0x45969b(0x32d)],this[_0x45969b(0x3d3)]);}['toggleOnline'](){return this;}['_schedule'](_0xc99b3d){var _0x3a0c8b=_0x1bf9e4;const _0x87c112=_0xc99b3d!=null?_0xc99b3d:this[_0x3a0c8b(0x1aa)]();this[_0x3a0c8b(0x26f)]=new Date()[_0x3a0c8b(0x1b6)]()+_0x87c112,this[_0x3a0c8b(0x2b9)]=setTimeout(()=>{var _0x31cd79=_0x3a0c8b;this['_clearScheduledTask']();let _0x262ba1=null;switch(this[_0x31cd79(0x17c)]){case Z[_0x31cd79(0x1ec)]:{_0x262ba1=Yt(this[_0x31cd79(0x32d)],this[_0x31cd79(0x3fa)],this[_0x31cd79(0x432)],this[_0x31cd79(0x1ef)],this[_0x31cd79(0x228)]);break;}case Z['UNIVER_DOC']:{this[_0x31cd79(0x32d)][_0x31cd79(0x269)](_0x7790e9=>_0x7790e9['id']===_0x5d5737['id'])?_0x262ba1=zs(this['_pendingMutations'],this[_0x31cd79(0x3fa)],this[_0x31cd79(0x432)],this['_revisionService'],this[_0x31cd79(0x228)]):_0x262ba1=Yt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x31cd79(0x1ef)],this[_0x31cd79(0x228)]);break;}default:throw new Error(_0x31cd79(0x2d5)+this[_0x31cd79(0x17c)]+'\x20in\x20_schedule.');}const {changeset:_0x511c3a,pendingMutations:_0x54f2fe}=_0x262ba1;this[_0x31cd79(0x3d3)]['onSendChangeset'](_0x511c3a);const _0x144383=_0x54f2fe[_0x31cd79(0x2fd)]?this[_0x31cd79(0x2b7)][_0x31cd79(0x427)](ae,this['unitID'],this['type'],_0x511c3a,_0x54f2fe,this[_0x31cd79(0x3d3)],void 0x0):this[_0x31cd79(0x2b7)][_0x31cd79(0x427)](_e,this['unitID'],this['type'],_0x511c3a,this[_0x31cd79(0x3d3)]);_0x144383['_updateLocalCache'](),this['_handler'][_0x31cd79(0x1af)](this,_0x144383);},_0x87c112);}['_getSendChangesetTimeout'](){var _0x59fcbd=_0x1bf9e4,_0x23601d;const _0x4b69d5=this[_0x59fcbd(0x1f9)][_0x59fcbd(0x17d)](K);return(_0x23601d=_0x4b69d5==null?void 0x0:_0x4b69d5[_0x59fcbd(0x419)])!=null?_0x23601d:ms;}[_0x1bf9e4(0x1e2)](){var _0x23aff0=_0x1bf9e4;throw new Error(_0x23aff0(0x26b));}[_0x1bf9e4(0x1bb)](){var _0x5cc359=_0x1bf9e4;this[_0x5cc359(0x2b9)]!=null&&(clearTimeout(this[_0x5cc359(0x2b9)]),this[_0x5cc359(0x2b9)]=null);}[_0x1bf9e4(0x3f4)](_0x2cc459){var _0x2963d9=_0x1bf9e4;return this[_0x2963d9(0x1bb)](),this[_0x2963d9(0x2b7)][_0x2963d9(0x427)](le,this['unitID'],this[_0x2963d9(0x17c)],null,this['_pendingMutations'],this[_0x2963d9(0x3d3)],_0x2cc459);}};re=Ie([P(0x4,_0x1eb2b7(_0x3ba5a5)),P(0x5,_0x1eb2b7(_0x3169f6)),P(0x6,_0x1eb2b7(Pe)),P(0x7,_0x4020c),P(0x8,_0x163994),P(0x9,_0x2711b7),P(0xa,_0xaa4b07),P(0xb,_0x1dd505),P(0xc,_0x3aa1c3),P(0xd,_0x471747(J))],re);let _e=class extends Te{constructor(_0x481041,_0x3c080c,_0x59ae69,_0x542623,_0x417dff,_0x147c6a,_0x47dc95,_0x2bd7c2,_0x19b20f,_0x2551e5,_0x17d4ff){var _0x4d3c1d=_0x1bf9e4;super(_0x481041,_0x3c080c,_0x59ae69,[],_0x542623,_0x47dc95,_0x2551e5,_0x147c6a,_0x17d4ff),N(this,_0x4d3c1d(0x412),'awaiting'),N(this,_0x4d3c1d(0x173),0x0),N(this,_0x4d3c1d(0x18f)),N(this,_0x4d3c1d(0x2c1)),(this[_0x4d3c1d(0x2b7)]=_0x417dff,this[_0x4d3c1d(0x254)]=_0x2bd7c2,this[_0x4d3c1d(0x2b3)]=_0x19b20f);}['appendMutation'](_0x3832fd){var _0x5b1882=_0x1bf9e4;this[_0x5b1882(0x1bb)]();const _0x4416b5=this[_0x5b1882(0x2b7)][_0x5b1882(0x427)](ae,this['unitID'],this[_0x5b1882(0x17c)],this[_0x5b1882(0x41a)],[_0x3832fd],this[_0x5b1882(0x3d3)],this['_resendTimer']);return _0x4416b5['_updateLocalCache'](),_0x4416b5;}['onRemoteChangeset'](_0x386f9b){var _0x152acb=_0x1bf9e4;if(this[_0x152acb(0x2f3)](_0x386f9b))return this['_clearScheduledTask'](),this[_0x152acb(0x2b7)][_0x152acb(0x427)](Q,this['unitID'],this[_0x152acb(0x17c)],this[_0x152acb(0x41a)],[],null,[_0x386f9b],this['_handler']);try{const _0x4eb6ed=this[_0x152acb(0x2b3)]['transformChangesets']([_0x386f9b],[this['_awaitingChangeset']],!0x1);if(_0x382369(_0x4eb6ed)){const {c1Prime:_0x25981d,c2Prime:_0x14cda0}=_0x4eb6ed;this[_0x152acb(0x39f)](_0x25981d[0x0]),_0x14cda0[0x0][_0x152acb(0x23b)]=this[_0x152acb(0x1f4)](),this[_0x152acb(0x1bb)]();const _0x341d97=this[_0x152acb(0x2b7)]['createInstance'](_e,this[_0x152acb(0x3fa)],this[_0x152acb(0x17c)],_0x14cda0[0x0],this[_0x152acb(0x3d3)]);return _0x341d97[_0x152acb(0x1b2)](),_0x341d97;}return this[_0x152acb(0x3f4)](!0x1);}catch(_0x48b017){return this[_0x152acb(0x254)][_0x152acb(0x197)](_0x48b017),this['_onConflict'](!0x1);}}[_0x1bf9e4(0x245)](_0x3378a2){var _0x55cf05=_0x1bf9e4;this[_0x55cf05(0x1bb)]();const _0x10b159=this[_0x55cf05(0x1ef)]['getCurrentRevOfUnit'](this[_0x55cf05(0x3fa)]);if(_0x3378a2['revision']<_0x10b159-0x1)return this;if(this['_checkMissing'](_0x3378a2))return this[_0x55cf05(0x2b7)][_0x55cf05(0x427)](Q,this[_0x55cf05(0x3fa)],this['type'],null,[],this[_0x55cf05(0x41a)],[],this[_0x55cf05(0x3d3)]);this[_0x55cf05(0x390)]();const _0x4aa2dd=this[_0x55cf05(0x2b7)][_0x55cf05(0x427)](ye,this[_0x55cf05(0x3fa)],this[_0x55cf05(0x17c)],this[_0x55cf05(0x3d3)]);return _0x4aa2dd[_0x55cf05(0x1b2)](),_0x4aa2dd;}[_0x1bf9e4(0x346)](_0x60b122){var _0x307e45=_0x1bf9e4;return this['_onConflict'](!!(_0x60b122!=null&&_0x60b122[_0x307e45(0x2a1)]));}[_0x1bf9e4(0x31d)](_0x3bf296){var _0x3e08b4=_0x1bf9e4;return this[_0x3e08b4(0x173)]>Ci?this[_0x3e08b4(0x34f)]():(this[_0x3e08b4(0x18f)]=Ii(this[_0x3e08b4(0x173)],{'timeout':this[_0x3e08b4(0x173)],'reqId':_0x3bf296['reqId']}),this['_sender']=this[_0x3e08b4(0x18f)][_0x3e08b4(0x262)](({reqId:_0x38cfac,timeout:_0x17ebc1})=>{var _0x6fc382=_0x3e08b4;this[_0x6fc382(0x2a5)](_0x38cfac,_0x17ebc1);}),this);}[_0x1bf9e4(0x34f)](){var _0x3a9cff=_0x1bf9e4;return this[_0x3a9cff(0x1bb)](),this[_0x3a9cff(0x2b7)][_0x3a9cff(0x427)](ue,this[_0x3a9cff(0x3fa)],this[_0x3a9cff(0x17c)],this['_awaitingChangeset'],[],this[_0x3a9cff(0x3d3)]);}[_0x1bf9e4(0x279)](){return this;}[_0x1bf9e4(0x1e2)](){var _0x5486d3=_0x1bf9e4;this[_0x5486d3(0x3d3)][_0x5486d3(0x38a)](this[_0x5486d3(0x41a)]);}[_0x1bf9e4(0x3f4)](_0x301964){var _0x33650e=_0x1bf9e4;return this[_0x33650e(0x1bb)](),this[_0x33650e(0x2b7)][_0x33650e(0x427)](le,this[_0x33650e(0x3fa)],this[_0x33650e(0x17c)],this['_awaitingChangeset'],[],this['_handler'],_0x301964);}[_0x1bf9e4(0x2a5)](_0x3ca7ce,_0x4f6e31){var _0x1bf745=_0x1bf9e4,_0x165a00;_0x3ca7ce===((_0x165a00=this[_0x1bf745(0x41a)])==null?void 0x0:_0x165a00[_0x1bf745(0x1f8)])&&(this[_0x1bf745(0x1e2)](),this[_0x1bf745(0x173)]=_0x4f6e31===0x0?0x3e8:_0x4f6e31*0x2);}[_0x1bf9e4(0x1bb)](){var _0x57d61f=_0x1bf9e4,_0x315d6d;(_0x315d6d=this[_0x57d61f(0x2c1)])==null||_0x315d6d[_0x57d61f(0x2e1)](),this[_0x57d61f(0x173)]=0x0;}};_e=Ie([P(0x4,_0x1eb2b7(_0x3ba5a5)),P(0x5,_0x1eb2b7(_0x3169f6)),P(0x6,_0x163994),P(0x7,_0x4020c),P(0x8,_0xaa4b07),P(0x9,_0x3aa1c3),P(0xa,_0x471747(J))],_e);let ae=class extends Te{constructor(_0x1cdeda,_0x41a42a,_0x120c0c,_0x41b4cc,_0x10dad9,_0x4a95b5,_0x31a3df,_0x3da7ac,_0x7af350,_0x7dba86,_0xce256a,_0xabe2a6,_0x2dc27d){var _0x2423a1=_0x1bf9e4;super(_0x1cdeda,_0x41a42a,_0x120c0c,_0x41b4cc,_0x10dad9,_0x7af350,_0xabe2a6,_0x3da7ac,_0x2dc27d),N(this,_0x2423a1(0x412),_0x2423a1(0x2e6)),N(this,_0x2423a1(0x173),0x0),N(this,_0x2423a1(0x18f)),N(this,_0x2423a1(0x2c1)),(this[_0x2423a1(0x2b7)]=_0x31a3df,this[_0x2423a1(0x254)]=_0x7dba86,this[_0x2423a1(0x2b3)]=_0xce256a,this['localCacheService']=_0x2dc27d,_0x4a95b5&&(this[_0x2423a1(0x18f)]=_0x4a95b5,this[_0x2423a1(0x2c1)]=this[_0x2423a1(0x18f)][_0x2423a1(0x262)](({reqId:_0x285bd2,timeout:_0x1688ae})=>{this['_resendWithTimeout'](_0x285bd2,_0x1688ae);})));}[_0x1bf9e4(0x3f7)](_0x3b8317){var _0x269c4c=_0x1bf9e4;return this[_0x269c4c(0x32d)][_0x269c4c(0x284)](_0x3b8317),this;}[_0x1bf9e4(0x435)](_0x408e0b){var _0x39536d=_0x1bf9e4;if(this[_0x39536d(0x2f3)](_0x408e0b))return this['_clearScheduledTask'](),this['_injector'][_0x39536d(0x427)](Q,this[_0x39536d(0x3fa)],this['type'],this[_0x39536d(0x41a)],this[_0x39536d(0x32d)],null,[_0x408e0b],this[_0x39536d(0x3d3)]);try{const _0xa92da9=this['_transformService'][_0x39536d(0x20e)]([_0x408e0b],[this[_0x39536d(0x41a)]],!0x1);if(_0x382369(_0xa92da9)){const {c1Prime:_0x2f4da9,c2Prime:_0x151448}=_0xa92da9,_0x1ee2a3=this[_0x39536d(0x2b3)]['transformMutationsWithChangeset'](_0x2f4da9[0x0],this['_pendingMutations']);if(_0x164c96(_0x1ee2a3)){const {c1Prime:_0x211632,m2Prime:_0x6b7b7b}=_0x1ee2a3;return this[_0x39536d(0x39f)](_0x211632),_0x151448[0x0][_0x39536d(0x23b)]=this['_getCurrentRevision'](),this[_0x39536d(0x1bb)](),this[_0x39536d(0x2b7)][_0x39536d(0x427)](ae,this[_0x39536d(0x3fa)],this[_0x39536d(0x17c)],_0x151448[0x0],_0x6b7b7b,this[_0x39536d(0x3d3)],void 0x0);}throw _0x1ee2a3[_0x39536d(0x197)];}throw _0xa92da9['error'];}catch(_0x348072){return this['_logService'][_0x39536d(0x197)](_0x348072),this[_0x39536d(0x3f4)](!0x1);}}['onRemoteAck'](_0x2759c7){var _0x3fc581=_0x1bf9e4;if(this[_0x3fc581(0x1bb)](),this[_0x3fc581(0x2f3)](_0x2759c7))return this[_0x3fc581(0x2b7)][_0x3fc581(0x427)](Q,this[_0x3fc581(0x3fa)],this[_0x3fc581(0x17c)],null,this['_pendingMutations'],this[_0x3fc581(0x41a)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x2911e5=this[_0x3fc581(0x2b7)][_0x3fc581(0x427)](re,this[_0x3fc581(0x3fa)],this[_0x3fc581(0x17c)],this['_pendingMutations'],this['_handler']);return _0x2911e5['_schedule'](),_0x2911e5[_0x3fc581(0x1b2)](),_0x2911e5;}['onRemoteRej'](_0x1c00b9){return this['_onConflict'](!!(_0x1c00b9!=null&&_0x1c00b9['isPermissionRej']));}['onRemoteRetry'](_0x32f0a8){var _0xed1eb8=_0x1bf9e4;return this['_resendTimeout']>Ci?this[_0xed1eb8(0x34f)]():(this['_resendTimer']=Ii(this[_0xed1eb8(0x173)],{'timeout':this[_0xed1eb8(0x173)],'reqId':_0x32f0a8[_0xed1eb8(0x1f8)]}),this[_0xed1eb8(0x2c1)]=this[_0xed1eb8(0x18f)][_0xed1eb8(0x262)](({reqId:_0x2256bc,timeout:_0x3e0922})=>{var _0x130f4b=_0xed1eb8;this[_0x130f4b(0x2a5)](_0x2256bc,_0x3e0922);}),this);}[_0x1bf9e4(0x34f)](){var _0x559878=_0x1bf9e4;return this['_clearScheduledTask'](),this[_0x559878(0x2b7)]['createInstance'](ue,this['unitID'],this[_0x559878(0x17c)],this[_0x559878(0x41a)],this[_0x559878(0x32d)],this['_handler']);}[_0x1bf9e4(0x279)](){return this;}[_0x1bf9e4(0x1e2)](){var _0x266163=_0x1bf9e4;this[_0x266163(0x3d3)][_0x266163(0x38a)](this[_0x266163(0x41a)]);}[_0x1bf9e4(0x3f4)](_0x2850c6){var _0x3c5643=_0x1bf9e4;return this[_0x3c5643(0x1bb)](),this[_0x3c5643(0x2b7)][_0x3c5643(0x427)](le,this[_0x3c5643(0x3fa)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x2850c6);}['_resendWithTimeout'](_0x5cf7f6,_0x14a37f){var _0x3aead3=_0x1bf9e4,_0x2cdc2a;_0x5cf7f6===((_0x2cdc2a=this[_0x3aead3(0x41a)])==null?void 0x0:_0x2cdc2a[_0x3aead3(0x1f8)])&&(this[_0x3aead3(0x1e2)](),this['_resendTimeout']=_0x14a37f===0x0?0x3e8:_0x14a37f*0x2);}[_0x1bf9e4(0x1bb)](){var _0x1743ff=_0x1bf9e4,_0x272e6b;(_0x272e6b=this['_sender'])==null||_0x272e6b[_0x1743ff(0x2e1)](),this['_resendTimeout']=0x0;}};ae=Ie([P(0x6,_0x1eb2b7(_0x3ba5a5)),P(0x7,_0x1eb2b7(_0x3169f6)),P(0x8,_0x163994),P(0x9,_0x4020c),P(0xa,_0xaa4b07),P(0xb,_0x3aa1c3),P(0xc,_0x471747(J))],ae);let le=class extends Te{constructor(_0x4a0e19,_0xc16e3b,_0x20d444,_0x411a84,_0x305316,_0x52873a=!0x1,_0x5ae673,_0x36b822,_0x44b8aa,_0x26c783,_0x329b9d,_0x1432e8,_0x124504){var _0x351647=_0x1bf9e4;super(_0x4a0e19,_0xc16e3b,_0x20d444,_0x411a84,_0x305316,_0x36b822,_0x44b8aa,_0x26c783,_0x124504),N(this,_0x351647(0x412),_0x351647(0x40d)),(this[_0x351647(0x217)]=_0x52873a,this[_0x351647(0x26e)]=_0x5ae673,this['_localeService']=_0x329b9d,this['_collaborationUIEventService']=_0x1432e8,this[_0x351647(0x33b)]=_0x124504,this['_showConflictNotification'](),this[_0x351647(0x333)](),this[_0x351647(0x185)]());}[_0x1bf9e4(0x3f7)](){return this;}[_0x1bf9e4(0x435)](){return this;}['onRemoteAck'](){return this;}[_0x1bf9e4(0x346)](){return this;}[_0x1bf9e4(0x31d)](){return this;}[_0x1bf9e4(0x34f)](){return this;}[_0x1bf9e4(0x279)](){return this;}['resend'](){var _0x1ce805=_0x1bf9e4;throw new Error(_0x1ce805(0x2fb));}[_0x1bf9e4(0x333)](){var _0x1a4a1f=_0x1bf9e4,_0x3c615e;(_0x3c615e=this['_localCacheService'])==null||_0x3c615e['updateOfflineData'](this['unitID'],this[_0x1a4a1f(0x17c)],null,[]);}[_0x1bf9e4(0x268)](){var _0x40d625=_0x1bf9e4;this[_0x40d625(0x217)]?this[_0x40d625(0x203)][_0x40d625(0x463)]({'id':ne[_0x40d625(0x411)]}):this[_0x40d625(0x203)][_0x40d625(0x463)]({'id':ne[_0x40d625(0x45b)]});}[_0x1bf9e4(0x185)](){var _0x199fbd=_0x1bf9e4;this[_0x199fbd(0x26e)][_0x199fbd(0x27a)](new _0x158a95(this[_0x199fbd(0x3fa)])['id'],!0x1);}};le=Ie([P(0x6,_0x1eb2b7(_0x4eca75)),P(0x7,_0x163994),P(0x8,_0x3aa1c3),P(0x9,_0x1eb2b7(_0x3169f6)),P(0xa,_0x1eb2b7(_0x5855e2)),P(0xb,_0x1eb2b7(ve)),P(0xc,_0x471747(J))],le);let ue=class extends Te{constructor(_0x5d8175,_0x5aa9b0,_0x1715d3,_0x59f6db,_0x3aa219,_0x49b672,_0x323f,_0x2518e3,_0x58062a,_0x10a23e){var _0x51800b=_0x1bf9e4;super(_0x5d8175,_0x5aa9b0,_0x1715d3,_0x59f6db,_0x3aa219,_0x2518e3,_0x58062a,_0x323f,_0x10a23e),N(this,_0x51800b(0x412),_0x51800b(0x42f)),this[_0x51800b(0x2b7)]=_0x49b672;}[_0x1bf9e4(0x3f7)](_0xd3d1a3){var _0x599ca4=_0x1bf9e4;return this[_0x599ca4(0x32d)][_0x599ca4(0x284)](_0xd3d1a3),this[_0x599ca4(0x1b2)](),this;}[_0x1bf9e4(0x435)](_0x454116){var _0x345598=_0x1bf9e4;throw new Error(_0x345598(0x215));}['onRemoteAck'](){var _0x520e97=_0x1bf9e4;throw new Error(_0x520e97(0x21d));}[_0x1bf9e4(0x346)](){var _0x492514=_0x1bf9e4;throw new Error(_0x492514(0x2d7));}[_0x1bf9e4(0x31d)](){return this;}[_0x1bf9e4(0x34f)](){return this;}[_0x1bf9e4(0x279)](){var _0x5c7a4d=_0x1bf9e4;const {_injector:_0x16df52,_pendingMutations:_0x3cbe51,_awaitingChangeset:_0x5812b7,unitID:_0x5925dd,_handler:_0x3688cc,type:_0x3c2300}=this,_0x20f991=Ri(_0x16df52,_0x5925dd,_0x3c2300,_0x5812b7,_0x3cbe51,_0x3688cc);return _0x20f991 instanceof re?_0x20f991[_0x5c7a4d(0x38c)]():(_0x20f991 instanceof ae||_0x20f991 instanceof _e)&&_0x20f991[_0x5c7a4d(0x1e2)](),_0x20f991;}['resend'](){var _0x152961=_0x1bf9e4;throw new Error(_0x152961(0x265));}};ue=Ie([P(0x5,_0x1eb2b7(_0x3ba5a5)),P(0x6,_0x1eb2b7(_0x3169f6)),P(0x7,_0x163994),P(0x8,_0x3aa1c3),P(0x9,_0x471747(J))],ue);let Q=class extends Te{constructor(_0x4673f2,_0xf4ba13,_0x1be4b4,_0x2483bb,_0x36a20b,_0x129a72,_0x2c405e,_0x4788f9,_0x5bbacf,_0x1b7db7,_0x39e390,_0x1dc1f7,_0x1788d1,_0xc5311){var _0x4babe9=_0x1bf9e4;super(_0x4673f2,_0xf4ba13,_0x1be4b4,_0x2483bb,_0x2c405e,_0x39e390,_0x1dc1f7,_0x5bbacf,_0xc5311),N(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x36a20b,this['_queuedRemoteChangesets']=_0x129a72,this['_injector']=_0x4788f9,this[_0x4babe9(0x254)]=_0x1b7db7,this['_transformService']=_0x1788d1,this[_0x4babe9(0x33b)]=_0xc5311);}[_0x1bf9e4(0x290)](_0x147533){var _0x4aed35=_0x1bf9e4;try{const _0x2eab5f=[..._0x147533,...this[_0x4aed35(0x371)]],_0x5eea61=[this[_0x4aed35(0x41a)]||this[_0x4aed35(0x23f)]][_0x4aed35(0x1ae)](_0x4683fe=>!!_0x4683fe);let _0x36d396,_0x38aceb;if(_0x5eea61['length']){const _0x5e7126=this[_0x4aed35(0x2b3)][_0x4aed35(0x20e)](_0x2eab5f,_0x5eea61,!0x1);if(!_0x382369(_0x5e7126))throw _0x5e7126['error'];_0x36d396=_0x5e7126[_0x4aed35(0x1c1)],_0x38aceb=_0x5e7126['c2Prime'];}else _0x36d396=_0x2eab5f,_0x38aceb=[];let _0x598c29=this[_0x4aed35(0x32d)];_0x36d396[_0x4aed35(0x33a)](_0x266768=>{var _0x9e0246=_0x4aed35;let _0x4b348a;if(_0x598c29[_0x9e0246(0x2fd)]){const _0x262893=this['_transformService'][_0x9e0246(0x210)](_0x266768,_0x598c29);if(!_0x164c96(_0x262893))throw _0x262893[_0x9e0246(0x197)];_0x4b348a=_0x262893[_0x9e0246(0x1c1)],_0x598c29=_0x262893[_0x9e0246(0x34c)];}else _0x4b348a=_0x266768;this[_0x9e0246(0x39f)](_0x4b348a);}),this['_acknowledgedAwaitingChangeset']&&this[_0x4aed35(0x390)](),this['_awaitingChangeset']&&_0x38aceb['length']&&(_0x38aceb[0x0][_0x4aed35(0x23b)]=this[_0x4aed35(0x1f4)]());let _0x4ea161;if(this[_0x4aed35(0x41a)]&&_0x598c29['length']!==0x0)_0x4ea161=this[_0x4aed35(0x2b7)][_0x4aed35(0x427)](ae,this[_0x4aed35(0x3fa)],this[_0x4aed35(0x17c)],_0x38aceb[0x0],_0x598c29,this[_0x4aed35(0x3d3)],void 0x0);else{if(this[_0x4aed35(0x41a)]&&_0x598c29['length']===0x0)_0x38aceb[0x0][_0x4aed35(0x23b)]=this['_getCurrentRevision'](),_0x4ea161=this[_0x4aed35(0x2b7)][_0x4aed35(0x427)](_e,this['unitID'],this['type'],_0x38aceb[0x0],this[_0x4aed35(0x3d3)]);else{if(_0x598c29[_0x4aed35(0x2fd)]!==0x0){const _0x35cfda=this['_injector'][_0x4aed35(0x427)](re,this[_0x4aed35(0x3fa)],this[_0x4aed35(0x17c)],_0x598c29,this[_0x4aed35(0x3d3)]);_0x35cfda['_schedule'](),_0x4ea161=_0x35cfda;}else _0x4ea161=this[_0x4aed35(0x2b7)][_0x4aed35(0x427)](ye,this[_0x4aed35(0x3fa)],this['type'],this['_handler']);}}return _0x4ea161['_updateLocalCache'](),_0x4ea161;}catch(_0x3dd6a7){return this[_0x4aed35(0x254)]['error'](_0x4aed35(0x2df),_0x4aed35(0x417),_0x3dd6a7),this[_0x4aed35(0x2b7)][_0x4aed35(0x427)](le,this[_0x4aed35(0x3fa)],this['type'],this[_0x4aed35(0x41a)],this[_0x4aed35(0x32d)],this[_0x4aed35(0x3d3)],!0x1);}}[_0x1bf9e4(0x1e2)](){var _0x541683=_0x1bf9e4;throw new Error(_0x541683(0x300));}['appendMutation'](_0x3bd008){var _0x1c29cb=_0x1bf9e4;return this[_0x1c29cb(0x32d)][_0x1c29cb(0x284)](_0x3bd008),this;}[_0x1bf9e4(0x435)](_0x134fba){return this['_queuedRemoteChangesets']['push'](_0x134fba),this;}[_0x1bf9e4(0x245)](_0x34b5e7){var _0xb6c133=_0x1bf9e4;if(this['_awaitingChangeset'])return this[_0xb6c133(0x23f)]=this[_0xb6c133(0x41a)],this[_0xb6c133(0x41a)]=null,this;throw new Error(_0xb6c133(0x3a2));}[_0x1bf9e4(0x346)](_0x11448d){var _0x4a516c=_0x1bf9e4;return this[_0x4a516c(0x3f4)](!!(_0x11448d!=null&&_0x11448d[_0x4a516c(0x2a1)]));}['onRemoteRetry'](){return this;}[_0x1bf9e4(0x34f)](){var _0x1f87ca=_0x1bf9e4;return this[_0x1f87ca(0x2b7)][_0x1f87ca(0x427)](ue,this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1f87ca(0x3d3)]);}[_0x1bf9e4(0x279)](){return this;}[_0x1bf9e4(0x3f4)](_0x307df4){var _0x2225e4=_0x1bf9e4;return this[_0x2225e4(0x2b7)]['createInstance'](le,this[_0x2225e4(0x3fa)],this[_0x2225e4(0x17c)],this[_0x2225e4(0x41a)],this['_pendingMutations'],this['_handler'],_0x307df4);}};Q=Ie([P(0x7,_0x1eb2b7(_0x3ba5a5)),P(0x8,_0x1eb2b7(_0x3169f6)),P(0x9,_0x4020c),P(0xa,_0x163994),P(0xb,_0x3aa1c3),P(0xc,_0xaa4b07),P(0xd,_0x471747(J))],Q);function Ri(_0x4fc218,_0x3197c0,_0x148d55,_0x5a3cba,_0x59fd83,_0x18fbde){var _0x4a94e3=_0x1bf9e4;return _0x5a3cba&&_0x59fd83['length']?_0x4fc218[_0x4a94e3(0x427)](ae,_0x3197c0,_0x148d55,_0x5a3cba,_0x59fd83,_0x18fbde,void 0x0):_0x5a3cba?_0x4fc218[_0x4a94e3(0x427)](_e,_0x3197c0,_0x148d55,_0x5a3cba,_0x18fbde):_0x59fd83[_0x4a94e3(0x2fd)]?_0x4fc218[_0x4a94e3(0x427)](re,_0x3197c0,_0x148d55,_0x59fd83,_0x18fbde):_0x4fc218['createInstance'](ye,_0x3197c0,_0x148d55,_0x18fbde);}var Zs=Object[_0x1bf9e4(0x241)],wt=(_0x5c0a93,_0x1618ce,_0x14a9bb,_0x40b043)=>{var _0x3735e0=_0x1bf9e4;for(var _0x56a934=_0x40b043>0x1?void 0x0:_0x40b043?Zs(_0x1618ce,_0x14a9bb):_0x1618ce,_0x3da3a9=_0x5c0a93[_0x3735e0(0x2fd)]-0x1,_0x42719d;_0x3da3a9>=0x0;_0x3da3a9--)(_0x42719d=_0x5c0a93[_0x3da3a9])&&(_0x56a934=_0x42719d(_0x56a934)||_0x56a934);return _0x56a934;},H=(_0x49c4f7,_0x5d7f61)=>(_0x3d72a5,_0x18c3e9)=>_0x5d7f61(_0x3d72a5,_0x18c3e9,_0x49c4f7);let st=class extends _0x3f1edd{constructor(_0xe4634b,_0x2500e9,_0xc850b2,_0x364070,_0x56ac9e,_0x276c1d,_0x28ee7e,_0x175990,_0x12c9d0,_0x406e0f,_0x447738,_0x59485f,_0x38d44d){var _0xeb6c4b=_0x1bf9e4;super(),N(this,_0xeb6c4b(0x33d),new _0x320cd9(null)),N(this,_0xeb6c4b(0x310),this[_0xeb6c4b(0x33d)]['asObservable']()),N(this,_0xeb6c4b(0x192)),N(this,_0xeb6c4b(0x38b),!0x1),N(this,_0xeb6c4b(0x414),''),N(this,_0xeb6c4b(0x39d),0x0),N(this,_0xeb6c4b(0x303),this[_0xeb6c4b(0x310)]['pipe'](_0x4427f2(_0x3b3f58=>_0x3b3f58?_0x3b3f58[_0xeb6c4b(0x412)]:Ti[_0xeb6c4b(0x342)]),_0x2393d1(0x1))),N(this,_0xeb6c4b(0x207),!0x1),N(this,_0xeb6c4b(0x3c4),[]),(this[_0xeb6c4b(0x3fa)]=_0xe4634b,this[_0xeb6c4b(0x3d1)]=_0x2500e9,this['_type']=_0xc850b2,this[_0xeb6c4b(0x2b7)]=_0x364070,this[_0xeb6c4b(0x24b)]=_0x56ac9e,this[_0xeb6c4b(0x1c9)]=_0x276c1d,this[_0xeb6c4b(0x1ef)]=_0x28ee7e,this['_eventService']=_0x175990,this['_logService']=_0x12c9d0,this['_commandService']=_0x406e0f,this[_0xeb6c4b(0x26e)]=_0x447738,this[_0xeb6c4b(0x320)]=_0x59485f,this[_0xeb6c4b(0x2c0)]=_0x38d44d);}get[_0x1bf9e4(0x2a7)](){return this['_state'];}async[_0x1bf9e4(0x299)](){var _0x130240=_0x1bf9e4;if(this[_0x130240(0x2a7)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x130240(0x223)]();}[_0x1bf9e4(0x271)](){return this['_collaborationPaused']=!0x0,_0x4c9abc(()=>{var _0x3cb9f6=_0xcbfd;this['_collaborationPaused']=!0x1,this[_0x3cb9f6(0x1c6)]();});}[_0x1bf9e4(0x264)](_0x2894f9){var _0x18082b=_0x1bf9e4;this[_0x18082b(0x380)](_0x2894f9);}[_0x1bf9e4(0x19d)](_0x42645b){var _0x2b4969=_0x1bf9e4;this[_0x2b4969(0x192)]=_0x42645b,this[_0x2b4969(0x33d)][_0x2b4969(0x232)](_0x42645b);}async[_0x1bf9e4(0x223)](){var _0x5069a3=_0x1bf9e4,_0x19b6ba;this['_updateState'](await this[_0x5069a3(0x2af)]()),this['_singleActiveUnitService']&&((_0x19b6ba=this[_0x5069a3(0x320)])==null||_0x19b6ba['editingUnit'](this[_0x5069a3(0x3fa)]),this[_0x5069a3(0x437)](this[_0x5069a3(0x320)]['getUnitStatus$'](this[_0x5069a3(0x3fa)])[_0x5069a3(0x262)](_0x26443b=>{var _0x5b7b94=_0x5069a3;this['_logService']['debug'](_0x5b7b94(0x2da),_0x5b7b94(0x1b1),_0x26443b),_0x26443b===Ei[_0x5b7b94(0x260)]?(this[_0x5b7b94(0x376)][_0x5b7b94(0x463)]({'id':ne[_0x5b7b94(0x164)]}),this[_0x5b7b94(0x26e)][_0x5b7b94(0x27a)](new _0x158a95(this[_0x5b7b94(0x3fa)])['id'],!0x1),this[_0x5b7b94(0x26e)][_0x5b7b94(0x2ca)](!0x1)):(this[_0x5b7b94(0x26e)][_0x5b7b94(0x27a)](new _0x158a95(this[_0x5b7b94(0x3fa)])['id'],!0x0),this[_0x5b7b94(0x26e)][_0x5b7b94(0x2ca)](!0x0));})));let _0x8ecd6a=!0x1;return this[_0x5069a3(0x437)](this[_0x5069a3(0x3d1)][_0x5069a3(0x25b)][_0x5069a3(0x262)](_0x242871=>{var _0x65a3f5=_0x5069a3;_0x242871===Se['ONLINE']?this['_toggleOnline'](_0x8ecd6a):_0x242871===Se[_0x65a3f5(0x342)]&&(_0x8ecd6a=!0x0,this[_0x65a3f5(0x1d6)]());})),this[_0x5069a3(0x437)](this['session'][_0x5069a3(0x1ca)][_0x5069a3(0x262)](_0x20a527=>{var _0x493ccf=_0x5069a3;try{switch(_0x20a527[_0x493ccf(0x438)]){case _0x40976b['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0xdc4ddf(_0x20a527[_0x493ccf(0x1c7)]));break;}case _0x40976b[_0x493ccf(0x3fc)]:{this[_0x493ccf(0x282)](_0x20a527['data']);break;}case _0x40976b[_0x493ccf(0x443)]:{this['_onRemoteRejected']();break;}case _0x40976b[_0x493ccf(0x42c)]:{this[_0x493ccf(0x3cf)](_0x20a527[_0x493ccf(0x1c7)]);break;}case _0x40976b['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x20a527[_0x493ccf(0x1c7)][_0x493ccf(0x1b5)][_0x493ccf(0x2aa)](_0x567407=>_0xdc4ddf(_0x567407)));break;}case _0x40976b[_0x493ccf(0x200)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x40976b[_0x493ccf(0x2ea)]:break;}}catch(_0x5ba6ab){throw console[_0x493ccf(0x197)](_0x493ccf(0x3ba),_0x5ba6ab),_0x5ba6ab;}})),this[_0x5069a3(0x192)];}[_0x1bf9e4(0x340)](){var _0x15e9ed=_0x1bf9e4;this[_0x15e9ed(0x207)]=!0x1;}[_0x1bf9e4(0x17e)](){var _0x4671e1=_0x1bf9e4;if(this[_0x4671e1(0x207)])throw new Error(_0x4671e1(0x239));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x2a79b6){var _0x3f76f0=_0x1bf9e4;this[_0x3f76f0(0x17e)](),this[_0x3f76f0(0x19d)](this[_0x3f76f0(0x192)][_0x3f76f0(0x3f7)](_0x2a79b6)),this[_0x3f76f0(0x340)]();}['_onRemoteChangeset'](_0x765ead){var _0x154ea8=_0x1bf9e4;if(!(_0x765ead[_0x154ea8(0x1c0)]<=this[_0x154ea8(0x1ef)]['getCurrentRevOfUnit'](this[_0x154ea8(0x3fa)]))){if(this[_0x154ea8(0x38b)]){this[_0x154ea8(0x3c4)][_0x154ea8(0x284)](_0x765ead);return;}this[_0x154ea8(0x176)](_0x765ead);}}[_0x1bf9e4(0x1c6)](){var _0x5cc465=_0x1bf9e4;this[_0x5cc465(0x3c4)][_0x5cc465(0x33a)](_0x19a6f4=>this[_0x5cc465(0x176)](_0x19a6f4)),this['_remoteChangesetQueue']=[];}[_0x1bf9e4(0x176)](_0xc4a893){var _0x4faf4d=_0x1bf9e4;const _0x40b851=this[_0x4faf4d(0x24b)]['interceptor'][_0x4faf4d(0x2dd)](this[_0x4faf4d(0x24b)][_0x4faf4d(0x314)][_0x4faf4d(0x3f2)]()[_0x4faf4d(0x250)])(_0xc4a893[_0x4faf4d(0x3a6)],null)||_0xc4a893['mutations'],_0x41908b={..._0xc4a893,'mutations':_0x40b851};this['_lockTransition'](),this[_0x4faf4d(0x19d)](this['_state'][_0x4faf4d(0x435)](_0x41908b)),this[_0x4faf4d(0x340)]();}[_0x1bf9e4(0x282)](_0x5f18e7){var _0x51fb4d=_0x1bf9e4;this[_0x51fb4d(0x17e)](),this[_0x51fb4d(0x19d)](this[_0x51fb4d(0x192)][_0x51fb4d(0x245)](_0x5f18e7)),this[_0x51fb4d(0x340)]();}[_0x1bf9e4(0x44c)](_0x49b914){var _0x210bd9=_0x1bf9e4;this[_0x210bd9(0x17e)](),this[_0x210bd9(0x19d)](this['_state']['onRemoteRej'](_0x49b914)),this['_unlockTransition']();}[_0x1bf9e4(0x3cf)](_0x230837){var _0x22417f=_0x1bf9e4;this['_lockTransition'](),this[_0x22417f(0x19d)](this[_0x22417f(0x192)][_0x22417f(0x31d)](_0x230837)),this['_unlockTransition']();}['_onFetchMissResult'](_0x31440a){var _0x11083a=_0x1bf9e4;if(!(this[_0x11083a(0x192)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x408702=_0x31440a[_0x11083a(0x2aa)](_0x9c35fb=>{var _0x5393f6=_0x11083a;const _0x443843=this['_compressMutationService'][_0x5393f6(0x314)][_0x5393f6(0x2dd)](this[_0x5393f6(0x24b)][_0x5393f6(0x314)][_0x5393f6(0x3f2)]()[_0x5393f6(0x250)])(_0x9c35fb[_0x5393f6(0x3a6)],null)||_0x9c35fb[_0x5393f6(0x3a6)];return{..._0x9c35fb,'mutations':_0x443843};});this[_0x11083a(0x17e)](),this['_updateState'](this['_state'][_0x11083a(0x290)](_0x408702)),this[_0x11083a(0x340)]();}[_0x1bf9e4(0x1d6)](){var _0x1eb787=_0x1bf9e4;this['_lockTransition'](),this[_0x1eb787(0x19d)](this[_0x1eb787(0x192)][_0x1eb787(0x34f)]()),this[_0x1eb787(0x340)]();}['_toggleOnline'](_0x57f7d8=!0x1){var _0xb1ce68=_0x1bf9e4;this[_0xb1ce68(0x17e)](),this['_updateState'](this['_state'][_0xb1ce68(0x279)]()),this[_0xb1ce68(0x340)]();const _0x44e816=this[_0xb1ce68(0x192)];_0x57f7d8&&_0x44e816 instanceof ye&&(this[_0xb1ce68(0x17e)](),this[_0xb1ce68(0x19d)](_0x44e816['fetchMiss']()),this[_0xb1ce68(0x340)]());}async[_0x1bf9e4(0x2af)](){return new Promise(_0x15250e=>{var _0x5408be=_0xcbfd;this[_0x5408be(0x3d1)][_0x5408be(0x25b)][_0x5408be(0x29b)](_0x19b6b3(0x1))[_0x5408be(0x262)](async _0x339716=>{var _0x29d3cd=_0x5408be;_0x15250e(await this[_0x29d3cd(0x399)](_0x339716===Se[_0x29d3cd(0x402)]));});});}['_createHandler'](){const _0x4b412f=this['unitID'];return{'onStateChange':(_0x31fb48,_0x5346f2)=>{var _0x131f05=_0xcbfd;if(_0x31fb48!==this[_0x131f05(0x192)])throw new Error(_0x131f05(0x1ee)+_0x31fb48[_0x131f05(0x412)]+_0x131f05(0x351)+_0x5346f2[_0x131f05(0x412)]+_0x131f05(0x25e)+this[_0x131f05(0x192)][_0x131f05(0x412)]);this[_0x131f05(0x19d)](_0x5346f2);},'onSendChangeset':_0xba863a=>{var _0x3c8f07=_0xcbfd;_0xba863a[_0x3c8f07(0x3e4)]||(_0xba863a[_0x3c8f07(0x3e4)]=this['_changesetSessionId'],_0xba863a[_0x3c8f07(0x1f8)]=++this[_0x3c8f07(0x39d)]);const _0x6a697a={'eventID':_0x40976b[_0x3c8f07(0x2c3)],'data':{'unitID':_0xba863a['unitID'],'unitType':this[_0x3c8f07(0x17a)],'changeset':_0xba863a,'memberID':this[_0x3c8f07(0x3d1)][_0x3c8f07(0x174)]()}};this[_0x3c8f07(0x3d1)]['send'](_0x6a697a,this['unitID']);},'onMissingChangesets':({from:_0x300283,to:_0x4c38ac})=>{var _0x2e81e6=_0xcbfd;this['_logService']['debug'](_0x2e81e6(0x2da),_0x2e81e6(0x1b7)+_0x300283+_0x2e81e6(0x3b9)+_0x4c38ac);const _0x173bac={'eventID':_0x40976b['FETCH_MISSING'],'data':{'unitID':_0x4b412f,'unitType':this[_0x2e81e6(0x17a)],'from':_0x300283,'to':_0x4c38ac}};this[_0x2e81e6(0x3d1)][_0x2e81e6(0x2ba)](_0x173bac,this['unitID']);}};}async['_createInitialStateImpl'](_0x702305){var _0xd5a06d=_0x1bf9e4,_0x13698f,_0x5ab064,_0x116a3e;const _0x1092ce=await((_0x13698f=this[_0xd5a06d(0x2c0)])==null?void 0x0:_0x13698f[_0xd5a06d(0x31c)](this[_0xd5a06d(0x3fa)])),_0x380d1b=(_0x5ab064=_0x1092ce==null?void 0x0:_0x1092ce['mutations'])!=null?_0x5ab064:[],_0x353f31=(_0x116a3e=_0x1092ce==null?void 0x0:_0x1092ce[_0xd5a06d(0x22a)])!=null?_0x116a3e:null,_0x330587=!!(_0x353f31!=null&&_0x353f31['sid'])&&!!(_0x353f31!=null&&_0x353f31[_0xd5a06d(0x1f8)]);this[_0xd5a06d(0x414)]=_0x330587?_0x353f31['sid']:_0x1e371c(),this[_0xd5a06d(0x39d)]=_0x330587?_0x353f31[_0xd5a06d(0x1f8)]:0x0;const _0x11c6e7=this['unitID'];try{this[_0xd5a06d(0x1db)](_0x353f31,_0x380d1b);}catch(_0x36b4a1){this[_0xd5a06d(0x254)]['error'](_0x36b4a1);}const _0x1d920b=this[_0xd5a06d(0x366)]();if(_0x702305){const _0x15bcb8=Ri(this[_0xd5a06d(0x2b7)],_0x11c6e7,this[_0xd5a06d(0x17a)],_0x353f31,_0x380d1b,_0x1d920b);return _0x15bcb8 instanceof re?_0x15bcb8[_0xd5a06d(0x38c)]():(_0x15bcb8 instanceof ae||_0x15bcb8 instanceof _e)&&_0x15bcb8['resend'](),_0x15bcb8;}return this['_injector'][_0xd5a06d(0x427)](ue,_0x11c6e7,this['_type'],_0x353f31,_0x380d1b,_0x1d920b);}['_replayCachedMutations'](_0x412dad,_0x190dc5){var _0x4d3d2c=_0x1bf9e4,_0x3e9a79,_0x5c869c;const _0x36f5f1=this[_0x4d3d2c(0x24b)][_0x4d3d2c(0x314)][_0x4d3d2c(0x2dd)](this[_0x4d3d2c(0x24b)]['interceptor']['getInterceptPoints']()[_0x4d3d2c(0x250)]);(_0x3e9a79=_0x36f5f1((_0x412dad==null?void 0x0:_0x412dad['mutations'])||[],null))==null||_0x3e9a79[_0x4d3d2c(0x33a)](_0x3d559c=>this[_0x4d3d2c(0x2ad)][_0x4d3d2c(0x311)](_0x3d559c['id'],_0x3d559c[_0x4d3d2c(0x194)])),(_0x5c869c=_0x36f5f1(_0x190dc5||[],null))==null||_0x5c869c[_0x4d3d2c(0x33a)](_0x13d2aa=>this[_0x4d3d2c(0x2ad)][_0x4d3d2c(0x311)](_0x13d2aa['id'],_0x13d2aa[_0x4d3d2c(0x194)]));}};st=wt([H(0x3,_0x1eb2b7(_0x3ba5a5)),H(0x4,_0x1eb2b7(_0x8c156e)),H(0x5,_0x1eb2b7(_0x5855e2)),H(0x6,_0x1eb2b7(_0x3169f6)),H(0x7,_0x1eb2b7(ve)),H(0x8,_0x4020c),H(0x9,_0x163994),H(0xa,_0x4eca75),H(0xb,_0x471747(ht)),H(0xc,_0x471747(J))],st);let St=class extends st{constructor(_0x8c7f66,_0x433fb9,_0x4fea04,_0x202eba,_0x529319,_0x45701c,_0x183450,_0x299f0f,_0x3b1789,_0x2f2d7a,_0x25af0c,_0x1db1f0,_0x49755f){var _0x4164d4=_0x1bf9e4;super(_0x8c7f66,_0x4fea04,_0x433fb9,_0x202eba,_0x529319,_0x45701c,_0x183450,_0x299f0f,_0x3b1789,_0x2f2d7a,_0x25af0c,_0x1db1f0,_0x49755f),N(this,'_handlerCallback',null),(this[_0x4164d4(0x3fa)]=_0x8c7f66,this['type']=_0x433fb9);}[_0x1bf9e4(0x43c)](_0x2ae034){var _0x4d2453=_0x1bf9e4;this[_0x4d2453(0x449)]=_0x2ae034;}['dispose'](){var _0x25ae6d=_0x1bf9e4;this[_0x25ae6d(0x449)]=null,super['dispose']();}['_createHandler'](){var _0x441dd3=_0x1bf9e4;const _0x5bd9b9=super[_0x441dd3(0x366)]();return _0x5bd9b9['onTransformIME']=_0x1400ea=>{var _0x5f09f4=_0x441dd3,_0x4c175d,_0xbef198;return(_0xbef198=(_0x4c175d=this[_0x5f09f4(0x449)])==null?void 0x0:_0x4c175d['onTransformIME'])==null?void 0x0:_0xbef198[_0x5f09f4(0x1a9)](_0x4c175d,_0x1400ea);},_0x5bd9b9[_0x441dd3(0x266)]=_0x372797=>{var _0x57c29a=_0x441dd3,_0xa58de7,_0x4a0818;return(_0x4a0818=(_0xa58de7=this[_0x57c29a(0x449)])==null?void 0x0:_0xa58de7[_0x57c29a(0x266)])==null?void 0x0:_0x4a0818[_0x57c29a(0x1a9)](_0xa58de7,_0x372797);},_0x5bd9b9[_0x441dd3(0x225)]=_0x2ea69d=>{var _0x59efd5=_0x441dd3,_0x2e949c,_0x13bf9e;return(_0x13bf9e=(_0x2e949c=this[_0x59efd5(0x449)])==null?void 0x0:_0x2e949c['onTransformSelections'])==null?void 0x0:_0x13bf9e[_0x59efd5(0x1a9)](_0x2e949c,_0x2ea69d);},_0x5bd9b9['onSyncEditingCollabCursor']=_0x3fda4e=>{var _0x554226=_0x441dd3,_0x175ca4,_0x162455;return(_0x162455=(_0x175ca4=this[_0x554226(0x449)])==null?void 0x0:_0x175ca4['onSyncEditingCollabCursor'])==null?void 0x0:_0x162455['call'](_0x175ca4,_0x3fda4e);},_0x5bd9b9[_0x441dd3(0x386)]=_0x2ccfd8=>{var _0x3b75d1=_0x441dd3,_0x428321,_0x25a3e2,_0x72d66e;if(!((_0x428321=this['_handlerCallback'])!=null&&_0x428321[_0x3b75d1(0x386)]))throw new Error(_0x3b75d1(0x1ab));return(_0x72d66e=(_0x25a3e2=this[_0x3b75d1(0x449)])==null?void 0x0:_0x25a3e2[_0x3b75d1(0x386)])==null?void 0x0:_0x72d66e['call'](_0x25a3e2,_0x2ccfd8);},_0x5bd9b9[_0x441dd3(0x248)]=_0x16f6aa=>{var _0x552373=_0x441dd3,_0x58986a,_0x436262,_0x1f6cf0;if(!((_0x58986a=this['_handlerCallback'])!=null&&_0x58986a['onTransformRemoteChangesetByStateCache']))throw new Error(_0x552373(0x335));return(_0x1f6cf0=(_0x436262=this[_0x552373(0x449)])==null?void 0x0:_0x436262[_0x552373(0x248)])==null?void 0x0:_0x1f6cf0[_0x552373(0x1a9)](_0x436262,_0x16f6aa);},_0x5bd9b9;}async[_0x1bf9e4(0x223)](){var _0x3f5af1=_0x1bf9e4;const _0x7461f=await super[_0x3f5af1(0x223)]();return this[_0x3f5af1(0x437)](this['_commandService'][_0x3f5af1(0x231)]((_0x49aa19,_0x1a2fd9)=>{var _0x5e81df=_0x3f5af1;if(_0x49aa19[_0x5e81df(0x17c)]!==_0x4b8a53[_0x5e81df(0x446)]||_0x1a2fd9!=null&&_0x1a2fd9[_0x5e81df(0x280)]||_0x1a2fd9!=null&&_0x1a2fd9[_0x5e81df(0x3ae)]||_0x49aa19['id']===_0x5d5737['id'])return;const _0x750f54=_0x49aa19[_0x5e81df(0x194)];if((_0x750f54==null?void 0x0:_0x750f54['unitId'])!==this[_0x5e81df(0x3fa)])return;const _0x29037b=_0x49aa19,_0x3c7178=this[_0x5e81df(0x24b)][_0x5e81df(0x314)][_0x5e81df(0x2dd)](this[_0x5e81df(0x24b)]['interceptor'][_0x5e81df(0x3f2)]()[_0x5e81df(0x44d)])([_0x29037b],null)||[_0x29037b];this['_onLocalMutation'](_0x3c7178[0x0]);})),_0x7461f;}};St=wt([H(0x3,_0x1eb2b7(_0x3ba5a5)),H(0x4,_0x1eb2b7(_0x8c156e)),H(0x5,_0x1eb2b7(_0x5855e2)),H(0x6,_0x1eb2b7(_0x3169f6)),H(0x7,_0x1eb2b7(ve)),H(0x8,_0x4020c),H(0x9,_0x163994),H(0xa,_0x4eca75),H(0xb,_0x471747(ht)),H(0xc,_0x471747(J))],St);let Et=class extends st{constructor(_0x14d091,_0x18af7b,_0x3eb7c0,_0x2c1fc0,_0x297213,_0x1818c1,_0x41d35a,_0x229ec0,_0x1037ca,_0x23382c,_0x154ab9,_0x1a5674,_0x3ba558,_0x2c59bd){var _0x4e79c3=_0x1bf9e4;super(_0x14d091,_0x3eb7c0,_0x18af7b,_0x2c1fc0,_0x297213,_0x1818c1,_0x41d35a,_0x1037ca,_0x23382c,_0x154ab9,_0x1a5674,_0x3ba558,_0x2c59bd),this[_0x4e79c3(0x3fa)]=_0x14d091,this[_0x4e79c3(0x17c)]=_0x18af7b,this[_0x4e79c3(0x190)]=_0x229ec0;}[_0x1bf9e4(0x366)](){var _0x2aad8c=_0x1bf9e4;const _0x23f134=super[_0x2aad8c(0x366)]();return _0x23f134[_0x2aad8c(0x225)]=_0x3639b8=>this['_sheetTransformSelectionsService']['transformSelections'](_0x3639b8),_0x23f134;}async[_0x1bf9e4(0x223)](){var _0x374628=_0x1bf9e4;const _0xc5a3ec=await super[_0x374628(0x223)]();return this[_0x374628(0x437)](this[_0x374628(0x2ad)][_0x374628(0x231)]((_0x48fcbc,_0x422f09)=>{var _0xef4693=_0x374628;if(_0x48fcbc[_0xef4693(0x17c)]!==_0x4b8a53[_0xef4693(0x446)]||_0x422f09!=null&&_0x422f09['fromCollab']||_0x422f09!=null&&_0x422f09[_0xef4693(0x3ae)])return;const _0x224c48=_0x48fcbc[_0xef4693(0x194)];if((_0x224c48==null?void 0x0:_0x224c48['unitId'])!==this[_0xef4693(0x3fa)])return;const _0x4705de=_0x48fcbc,_0x2f0033=this[_0xef4693(0x24b)][_0xef4693(0x314)]['fetchThroughInterceptors'](this[_0xef4693(0x24b)][_0xef4693(0x314)][_0xef4693(0x3f2)]()['COMPRESS_MUTATION_SEND'])([_0x4705de],null)||[_0x4705de];this[_0xef4693(0x380)](_0x2f0033[0x0]);})),_0xc5a3ec;}};Et=wt([H(0x3,_0x1eb2b7(_0x3ba5a5)),H(0x4,_0x1eb2b7(_0x8c156e)),H(0x5,_0x1eb2b7(_0x5855e2)),H(0x6,_0x1eb2b7(_0x3169f6)),H(0x7,_0x1eb2b7(it)),H(0x8,_0x1eb2b7(ve)),H(0x9,_0x4020c),H(0xa,_0x163994),H(0xb,_0x4eca75),H(0xc,_0x471747(ht)),H(0xd,_0x471747(J))],Et);var Qs=Object[_0x1bf9e4(0x241)],en=(_0x1b843b,_0x425fe1,_0x501bc6,_0x204616)=>{var _0x17e3f7=_0x1bf9e4;for(var _0x34cfa8=_0x204616>0x1?void 0x0:_0x204616?Qs(_0x425fe1,_0x501bc6):_0x425fe1,_0x47fc1d=_0x1b843b[_0x17e3f7(0x2fd)]-0x1,_0x4c964d;_0x47fc1d>=0x0;_0x47fc1d--)(_0x4c964d=_0x1b843b[_0x47fc1d])&&(_0x34cfa8=_0x4c964d(_0x34cfa8)||_0x34cfa8);return _0x34cfa8;},Be=(_0x2c774b,_0x5374fc)=>(_0x594ed9,_0x481783)=>_0x5374fc(_0x594ed9,_0x481783,_0x2c774b);let nt=class extends _0x3f1edd{constructor(_0x59b73e,_0x126c0d,_0x18fc20,_0x252528){var _0x551054=_0x1bf9e4,_0x45ee8a;super(),N(this,'_entities',new Map()),N(this,'_entityInit$',new _0x3b4cf0()),N(this,_0x551054(0x2b4),this['_entityInit$'][_0x551054(0x332)]()),(this[_0x551054(0x2b7)]=_0x59b73e,this['_collabSessionService']=_0x126c0d,this['_configService']=_0x18fc20,this[_0x551054(0x432)]=_0x252528,((_0x45ee8a=this['_configService'][_0x551054(0x17d)](K))==null?void 0x0:_0x45ee8a[_0x551054(0x331)])!==!0x1&&this[_0x551054(0x223)]());}[_0x1bf9e4(0x336)](){var _0x5548f6=_0x1bf9e4;super[_0x5548f6(0x336)](),this[_0x5548f6(0x163)][_0x5548f6(0x33a)](_0xd502c2=>_0xd502c2[_0x5548f6(0x336)]()),this['_entities'][_0x5548f6(0x27d)]();}[_0x1bf9e4(0x1a0)](_0x6b97f3){var _0xad7bb2=_0x1bf9e4,_0x5561dc;return(_0x5561dc=this[_0xad7bb2(0x163)][_0xad7bb2(0x27c)](_0x6b97f3))!=null?_0x5561dc:null;}[_0x1bf9e4(0x31f)](_0x503dd0){var _0x4912fc=_0x1bf9e4;const _0x52c865=this['getCollabEntity'](_0x503dd0);return _0x52c865?_0x1be741(_0x52c865):this[_0x4912fc(0x3fb)][_0x4912fc(0x29b)](_0x1b0e17(_0xaf1a04=>_0xaf1a04[_0x4912fc(0x3fa)]===_0x503dd0));}[_0x1bf9e4(0x29e)](_0x1b129b){var _0x1b7673=_0x1bf9e4;return _0x4e7989(this[_0x1b7673(0x31f)](_0x1b129b)[_0x1b7673(0x29b)](_0xe868af(()=>{})));}[_0x1bf9e4(0x223)](){var _0x42508c=_0x1bf9e4;this[_0x42508c(0x432)][_0x42508c(0x1c5)](_0x2f1c63[_0x42508c(0x1ec)])[_0x42508c(0x29b)](_0x57d01b(this['dispose$']),_0x4e84b7(0x10))['subscribe'](async _0x265b15=>{var _0x4aacd6=_0x42508c;const _0x501ae0=_0x265b15['getUnitId'](),_0x405ebb=await this[_0x4aacd6(0x297)](_0x501ae0,Z['UNIVER_SHEET']);this[_0x4aacd6(0x163)][_0x4aacd6(0x1f3)](_0x501ae0,_0x405ebb);}),this['_univerInstanceService'][_0x42508c(0x1c5)](_0x2f1c63[_0x42508c(0x18d)])['pipe'](_0x57d01b(this['dispose$']),_0x4e84b7(0x10))[_0x42508c(0x29b)](_0x1b0e17(_0x20eabf=>!_0x20eabf['getUnitId']()[_0x42508c(0x170)]('__')))[_0x42508c(0x262)](async _0x2aa386=>{var _0x3723ba=_0x42508c;const _0x368efc=_0x2aa386['getUnitId'](),_0x12f17b=await this[_0x3723ba(0x297)](_0x368efc,Z['UNIVER_DOC']);this[_0x3723ba(0x163)][_0x3723ba(0x1f3)](_0x368efc,_0x12f17b);}),_0x539a72(this[_0x42508c(0x432)]['getTypeOfUnitDisposed$'](_0x2f1c63[_0x42508c(0x1ec)]),this['_univerInstanceService'][_0x42508c(0x37b)](_0x2f1c63['UNIVER_DOC']))[_0x42508c(0x29b)](_0x57d01b(this[_0x42508c(0x31a)]))[_0x42508c(0x262)](_0x2d81a2=>{var _0x504f78=_0x42508c;const _0x14156a=_0x2d81a2[_0x504f78(0x416)](),_0x4161d1=this[_0x504f78(0x163)][_0x504f78(0x27c)](_0x14156a);_0x4161d1&&(_0x4161d1[_0x504f78(0x336)](),this[_0x504f78(0x163)][_0x504f78(0x3ea)](_0x14156a));});}async[_0x1bf9e4(0x297)](_0xc9a38e,_0x3037b8){var _0x10027e=_0x1bf9e4;const _0x14d609=await this['_collabSessionService'][_0x10027e(0x2d8)](_0xc9a38e),_0x4a7323=this[_0x10027e(0x2b7)][_0x10027e(0x427)](this[_0x10027e(0x2eb)](_0x3037b8),_0xc9a38e,_0x3037b8,_0x14d609);return await _0x4a7323[_0x10027e(0x299)](),this[_0x10027e(0x3fb)][_0x10027e(0x232)](_0x4a7323),_0x4a7323;}[_0x1bf9e4(0x2eb)](_0x344f11){var _0x2cc06a=_0x1bf9e4;switch(_0x344f11){case Z[_0x2cc06a(0x18d)]:return St;case Z[_0x2cc06a(0x1ec)]:return Et;default:throw new Error(_0x2cc06a(0x32f)+_0x344f11);}}};nt=en([Be(0x0,_0x1eb2b7(_0x3ba5a5)),Be(0x1,_0x1eb2b7(Le)),Be(0x2,_0x2711b7),Be(0x3,_0x1dd505)],nt);var tn=Object[_0x1bf9e4(0x241)],sn=(_0x1a6f87,_0x518430,_0x3612b2,_0x3ab5bd)=>{var _0x517611=_0x1bf9e4;for(var _0x2890b6=_0x3ab5bd>0x1?void 0x0:_0x3ab5bd?tn(_0x518430,_0x3612b2):_0x518430,_0x2181e8=_0x1a6f87[_0x517611(0x2fd)]-0x1,_0x35b9f3;_0x2181e8>=0x0;_0x2181e8--)(_0x35b9f3=_0x1a6f87[_0x2181e8])&&(_0x2890b6=_0x35b9f3(_0x2890b6)||_0x2890b6);return _0x2890b6;},Wt=(_0x407f2f,_0x580255)=>(_0x49a837,_0x4cd97f)=>_0x580255(_0x49a837,_0x4cd97f,_0x407f2f);const nn=_0x1bf9e4(0x1d4),rn=_0x1bf9e4(0x2ff);let It=class extends _0x16428c{constructor(_0xcc6704,_0x115d8f){var _0x3ff602=_0x1bf9e4;super(),this['_univerInstanceService']=_0xcc6704,this[_0x3ff602(0x1f9)]=_0x115d8f,this[_0x3ff602(0x223)]();}[_0x1bf9e4(0x223)](){var _0x1c031b=_0x1bf9e4;this['disposeWithMe'](this[_0x1c031b(0x432)][_0x1c031b(0x23d)][_0x1c031b(0x262)](()=>{var _0x508050=_0x1c031b,_0x4bc940;const _0x19ef79=this[_0x508050(0x432)][_0x508050(0x177)]();let _0x36534b=(_0x4bc940=this[_0x508050(0x1f9)][_0x508050(0x17d)](nn))!=null?_0x4bc940:rn;_0x19ef79 instanceof _0x41539c&&(_0x36534b=_0x19ef79[_0x508050(0x350)]),document['title']=_0x36534b;}));}};It=sn([Wt(0x0,_0x1dd505),Wt(0x1,_0x2711b7)],It);var an=Object['getOwnPropertyDescriptor'],on=(_0x11e461,_0x3b890f,_0x1d0dd9,_0x2af1dc)=>{var _0x4f5ff9=_0x1bf9e4;for(var _0x5e71ef=_0x2af1dc>0x1?void 0x0:_0x2af1dc?an(_0x3b890f,_0x1d0dd9):_0x3b890f,_0x440e48=_0x11e461[_0x4f5ff9(0x2fd)]-0x1,_0x54d3b8;_0x440e48>=0x0;_0x440e48--)(_0x54d3b8=_0x11e461[_0x440e48])&&(_0x5e71ef=_0x54d3b8(_0x5e71ef)||_0x5e71ef);return _0x5e71ef;},dt=(_0x249fe8,_0x2abfe3)=>(_0x3536d0,_0x27b3d8)=>_0x2abfe3(_0x3536d0,_0x27b3d8,_0x249fe8);let rt=class{constructor(_0x10cce2,_0x29a9d6,_0x2648cc){var _0xf37c0c=_0x1bf9e4;this[_0xf37c0c(0x1f9)]=_0x10cce2,this[_0xf37c0c(0x2e9)]=_0x29a9d6,this[_0xf37c0c(0x324)]=_0x2648cc,this[_0xf37c0c(0x299)]();}[_0x1bf9e4(0x299)](){var _0x3bd5f4=_0x1bf9e4;this[_0x3bd5f4(0x2e9)][_0x3bd5f4(0x43e)]({'priority':0x1,'interceptor':(_0x2ab186,_0x2e9258)=>_0x2e9258(_0x2ab186)[_0x3bd5f4(0x29b)](_0x114434(async _0x39971d=>{var _0x3b2399=_0x3bd5f4;const _0x2b6ccf=_0x39971d;if(_0x2b6ccf[_0x3b2399(0x412)]===0x191){if(typeof window>'u')throw new Error(_0x3b2399(0x19a));if(window[_0x3b2399(0x3c6)](this[_0x3b2399(0x324)]['t'](_0x3b2399(0x2fc)))){const _0x4826f7=window[_0x3b2399(0x28e)](window['location']['href']);window[_0x3b2399(0x318)][_0x3b2399(0x1c2)]=this['_getLoginPath']()+_0x3b2399(0x16e)+_0x4826f7;}}return _0x2b6ccf;}))});}['_getLoginPath'](){var _0x3e64f9=_0x1bf9e4,_0x232661,_0x51d5c3;const _0x347e62=this[_0x3e64f9(0x1f9)][_0x3e64f9(0x17d)](ys),_0x20fd90=this[_0x3e64f9(0x1f9)][_0x3e64f9(0x17d)](K);return(_0x51d5c3=(_0x232661=_0x20fd90==null?void 0x0:_0x20fd90['loginUrlKey'])!=null?_0x232661:_0x347e62)!=null?_0x51d5c3:Ns;}};rt=on([dt(0x0,_0x2711b7),dt(0x1,_0x1eb2b7(_0x4a6b11)),dt(0x2,_0x1eb2b7(_0x5855e2))],rt);var cn=Object[_0x1bf9e4(0x241)],hn=(_0x14280f,_0x1d87d3,_0x130ba6,_0x5a623b)=>{var _0x3c0bad=_0x1bf9e4;for(var _0x5bf946=_0x5a623b>0x1?void 0x0:_0x5a623b?cn(_0x1d87d3,_0x130ba6):_0x1d87d3,_0x48b6fa=_0x14280f[_0x3c0bad(0x2fd)]-0x1,_0x113eb1;_0x48b6fa>=0x0;_0x48b6fa--)(_0x113eb1=_0x14280f[_0x48b6fa])&&(_0x5bf946=_0x113eb1(_0x5bf946)||_0x5bf946);return _0x5bf946;},Kt=(_0x1a09bf,_0x8c8e6d)=>(_0x8ca19e,_0x3fbd51)=>_0x8c8e6d(_0x8ca19e,_0x3fbd51,_0x1a09bf);const Oi=_0x1bf9e4(0x359),_n=_0x1bf9e4(0x1d1);let Tt=class extends _0x16428c{constructor(_0x572199,_0x4d0487){var _0x5d6a0c=_0x1bf9e4;super(),this[_0x5d6a0c(0x448)]=_0x572199,this[_0x5d6a0c(0x1f9)]=_0x4d0487,this[_0x5d6a0c(0x338)]();}['_initMergeInterceptor'](){var _0x4e09c0=_0x1bf9e4;const _0xaa1a=this;this[_0x4e09c0(0x437)](this[_0x4e09c0(0x448)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xf1eb0({'isMatch'(_0x2bb3c7){var _0x202d4e=_0x4e09c0,_0x1539d3;if(_0x2bb3c7[_0x202d4e(0x21a)]===_0x202d4e(0x1d5)&&((_0x1539d3=_0x2bb3c7['requestParams'])!=null&&_0x1539d3['body'])){const {objectID:_0x16814e,objectType:_0x32096b}=_0x2bb3c7[_0x202d4e(0x302)][_0x202d4e(0x457)]||{};if(!_0x16814e||_0x32096b===void 0x0)return!0x1;const _0x42f84e=_0xaa1a[_0x202d4e(0x31e)]()+'/'+_0x32096b+_0x202d4e(0x2c4)+_0x16814e+_0x202d4e(0x3c5);if(_0x2bb3c7[_0x202d4e(0x455)]===_0x42f84e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x23abf2){var _0x14f952=_0x4e09c0,_0x188643;return(_0x188643=_0x23abf2[_0x14f952(0x302)])==null?void 0x0:_0x188643[_0x14f952(0x457)];},'mergeParamsToRequest'(_0x193be6,_0x5fb74d){var _0x194028=_0x4e09c0;const _0xcb6161=_0xaa1a[_0x194028(0x31e)]()+_0x194028(0x32b),_0x404628=_0x193be6['reduce']((_0x5cc7d7,_0x195ef7)=>{var _0xd92c70=_0x194028;const {unitID:_0x343526,objectID:_0x3862d7,objectType:_0x46a42e,actions:_0x77e0a0}=_0x195ef7;return _0x5cc7d7[_0x343526]||(_0x5cc7d7[_0x343526]={}),_0x5cc7d7[_0x343526][_0x3862d7]||(_0x5cc7d7[_0x343526][_0x3862d7]={'objectID':_0x3862d7,'objectType':_0x46a42e,'actions':[]}),_0x5cc7d7[_0x343526][_0x3862d7][_0xd92c70(0x364)]['push'](..._0x77e0a0),_0x5cc7d7;},{}),_0x5d21e1=[];for(const _0x50ae53 in _0x404628)for(const _0x4034e2 in _0x404628[_0x50ae53]){const {actions:_0x4df25d,objectType:_0x230a6e}=_0x404628[_0x50ae53][_0x4034e2],_0x143eea=[...new Set(_0x4df25d)];_0x5d21e1[_0x194028(0x284)]({'unitID':_0x50ae53,'objectID':_0x4034e2,'objectType':_0x230a6e,'actions':_0x143eea});}return new _0x109566(_0x194028(0x1d5),_0xcb6161,{'headers':_0x5fb74d['headers'],'withCredentials':_0x5fb74d[_0x194028(0x3f5)],'responseType':_0x5fb74d['responseType'],'body':{'requests':_0x5d21e1}});}},{'distributeResult'(_0x8804c0,_0x387582){var _0x31ae24=_0x4e09c0;const {objectActions:_0x2233b6}=_0x8804c0;return _0x387582[_0x31ae24(0x2aa)](_0x5704ec=>{var _0x5991f0=_0x31ae24;const {unitID:_0x598bec,objectID:_0x3c7960,actions:_0x5d67de}=_0x5704ec,_0x5ee71d=_0x2233b6['find'](_0x4f23a1=>_0x4f23a1[_0x5991f0(0x3fa)]===_0x598bec&&_0x4f23a1[_0x5991f0(0x2dc)]===_0x3c7960),_0xb5cc7c=_0x5d67de[_0x5991f0(0x2aa)](_0x398257=>_0x5ee71d==null?void 0x0:_0x5ee71d[_0x5991f0(0x364)][_0x5991f0(0x418)](_0x11aa86=>_0x11aa86['action']===_0x398257))[_0x5991f0(0x1ae)](_0xdfe45b=>!!_0xdfe45b);return{'config':_0x5704ec,'result':{'actions':_0xb5cc7c,'error':_0x8804c0[_0x5991f0(0x197)]}};});}})}));}[_0x1bf9e4(0x31e)](){var _0x5d47b8=_0x1bf9e4,_0xe85e5f,_0x2760ec;const _0x4028cb=this[_0x5d47b8(0x1f9)][_0x5d47b8(0x17d)](Oi),_0xc74ba5=this[_0x5d47b8(0x1f9)]['getConfig'](K);return(_0x2760ec=(_0xe85e5f=_0xc74ba5==null?void 0x0:_0xc74ba5[_0x5d47b8(0x313)])!=null?_0xe85e5f:_0x4028cb)!=null?_0x2760ec:_n;}async['create'](_0x66c55c){var _0x3146a1=_0x1bf9e4;const _0x3efb54=this[_0x3146a1(0x31e)]()+'/'+_0x66c55c[_0x3146a1(0x3a9)]+'/object';return(await this['_HTTPService'][_0x3146a1(0x22d)](_0x3efb54,{'body':_0x66c55c}))[_0x3146a1(0x457)][_0x3146a1(0x2dc)]||'';}async[_0x1bf9e4(0x2be)](_0x2d1f68){var _0x20edff=_0x1bf9e4;const _0x46b251=this['_getAPIPrefixPath']()+_0x20edff(0x2ae);return(await this[_0x20edff(0x448)][_0x20edff(0x22d)](_0x46b251,{'body':_0x2d1f68}))[_0x20edff(0x457)]['objects'];}async['update'](_0x4c0809){var _0x48daa5=_0x1bf9e4,_0x406061,_0x1b9ae7;const _0x5c5d07=this[_0x48daa5(0x31e)]()+'/'+_0x4c0809['objectType']+_0x48daa5(0x2c4)+_0x4c0809[_0x48daa5(0x2dc)],_0x20c57e=await this[_0x48daa5(0x448)][_0x48daa5(0x45e)](_0x5c5d07,{'body':_0x4c0809});if(((_0x1b9ae7=(_0x406061=_0x20c57e==null?void 0x0:_0x20c57e[_0x48daa5(0x457)])==null?void 0x0:_0x406061[_0x48daa5(0x197)])==null?void 0x0:_0x1b9ae7['code'])!==0x1)throw new Error(_0x48daa5(0x36b));}async['allowed'](_0x11d5d8){var _0x2f15b2=_0x1bf9e4;const _0x147283=this[_0x2f15b2(0x31e)]()+'/'+_0x11d5d8['objectType']+'/object/'+_0x11d5d8['objectID']+_0x2f15b2(0x3c5);return(await this[_0x2f15b2(0x448)]['post'](_0x147283,{'body':_0x11d5d8}))[_0x2f15b2(0x457)][_0x2f15b2(0x364)];}async['batchAllowed'](_0x12e522){var _0x2a5012=_0x1bf9e4;const _0x19021f=this[_0x2a5012(0x31e)]()+_0x2a5012(0x32b);return(await this[_0x2a5012(0x448)][_0x2a5012(0x22d)](_0x19021f,{'body':{'requests':_0x12e522}}))['body'][_0x2a5012(0x36a)];}async['listRoles'](_0x180f44){var _0x10e959=_0x1bf9e4;const _0x56d848=this[_0x10e959(0x31e)]()+'/'+_0x180f44[_0x10e959(0x3a9)]+'/role',_0x403087=await this[_0x10e959(0x448)][_0x10e959(0x22d)](_0x56d848,{'body':_0x180f44});return{'roles':_0x403087[_0x10e959(0x457)][_0x10e959(0x381)],'actions':_0x403087[_0x10e959(0x457)]['actions']};}async[_0x1bf9e4(0x325)](_0x150e28){var _0x218a1f=_0x1bf9e4;const _0x2a8fa6=this[_0x218a1f(0x31e)]()+_0x218a1f(0x401);await this[_0x218a1f(0x448)]['delete'](_0x2a8fa6,{'params':{'collaboratorID':_0x150e28[_0x218a1f(0x19e)],'objectID':_0x150e28['objectID'],'unitID':_0x150e28[_0x218a1f(0x3fa)]}});}async['updateCollaborator'](_0x1cc9d3){var _0x55249e=_0x1bf9e4;const _0x32368d=this[_0x55249e(0x31e)]()+_0x55249e(0x401);await this[_0x55249e(0x448)][_0x55249e(0x1ce)](_0x32368d,{'body':_0x1cc9d3});}async['createCollaborator'](_0x5a5ff3){var _0x24071e=_0x1bf9e4;const _0x34a82e=this[_0x24071e(0x31e)]()+_0x24071e(0x401);await this[_0x24071e(0x448)][_0x24071e(0x22d)](_0x34a82e,{'body':_0x5a5ff3});}async[_0x1bf9e4(0x178)](_0x4350e0){var _0x1ee7b9=_0x1bf9e4;const _0x124727=this[_0x1ee7b9(0x31e)]()+_0x1ee7b9(0x401);return(await this[_0x1ee7b9(0x448)][_0x1ee7b9(0x27c)](_0x124727,{'params':{'objectID':_0x4350e0[_0x1ee7b9(0x2dc)],'unitID':_0x4350e0['unitID']}}))[_0x1ee7b9(0x457)][_0x1ee7b9(0x3e5)];}async[_0x1bf9e4(0x413)](_0x57961e){var _0x3cff84=_0x1bf9e4;const _0x2082a7=this[_0x3cff84(0x31e)]()+_0x3cff84(0x401);await this[_0x3cff84(0x448)]['put'](_0x2082a7,{'body':_0x57961e});}};Tt=hn([Kt(0x0,_0x1eb2b7(_0x4a6b11)),Kt(0x1,_0x1eb2b7(_0x2711b7))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x415c8a){var _0x58cdb3=_0x1bf9e4;return _0x415c8a&&_0x415c8a[_0x58cdb3(0x24a)]&&Object['prototype'][_0x58cdb3(0x15e)][_0x58cdb3(0x1a9)](_0x415c8a,_0x58cdb3(0x273))?_0x415c8a[_0x58cdb3(0x273)]:_0x415c8a;}var Ve={'exports':{}};function ln(_0x3d49e8){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x3d49e8+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},un=Ge[_0x1bf9e4(0x3b5)],qt;function te(){var _0x1358a0=_0x1bf9e4;return qt||(qt=0x1,function(_0x5d3e4c,_0x27b383){(function(_0x2b9f2e,_0x37716f){var _0x569cbd=_0xcbfd;_0x5d3e4c[_0x569cbd(0x3b5)]=_0x37716f();}(un,function(){var _0xb3f9ba=_0xb3f9ba||function(_0xccbacf,_0x1350c8){var _0xbb9a7d=_0xcbfd,_0xe4d6fa;if(typeof window<'u'&&window[_0xbb9a7d(0x439)]&&(_0xe4d6fa=window[_0xbb9a7d(0x439)]),typeof self<'u'&&self[_0xbb9a7d(0x439)]&&(_0xe4d6fa=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0xe4d6fa=globalThis[_0xbb9a7d(0x439)]),!_0xe4d6fa&&typeof window<'u'&&window['msCrypto']&&(_0xe4d6fa=window[_0xbb9a7d(0x1dd)]),!_0xe4d6fa&&typeof ft<'u'&&ft[_0xbb9a7d(0x439)]&&(_0xe4d6fa=ft[_0xbb9a7d(0x439)]),!_0xe4d6fa&&typeof ln==_0xbb9a7d(0x2b1))try{_0xe4d6fa=require(_0xbb9a7d(0x439));}catch{}var _0x851af4=function(){var _0x32a913=_0xbb9a7d;if(_0xe4d6fa){if(typeof _0xe4d6fa[_0x32a913(0x306)]==_0x32a913(0x2b1))try{return _0xe4d6fa[_0x32a913(0x306)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xe4d6fa[_0x32a913(0x209)]==_0x32a913(0x2b1))try{return _0xe4d6fa[_0x32a913(0x209)](0x4)[_0x32a913(0x17b)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3bd4bc=Object['create']||(function(){function _0x4665bb(){}return function(_0x5e079a){var _0x3863cc;return _0x4665bb['prototype']=_0x5e079a,_0x3863cc=new _0x4665bb(),_0x4665bb['prototype']=null,_0x3863cc;};}()),_0x47cf42={},_0x418408=_0x47cf42[_0xbb9a7d(0x461)]={},_0x331c68=_0x418408[_0xbb9a7d(0x3db)]=(function(){return{'extend':function(_0x3752e7){var _0x339eda=_0xcbfd,_0x3c24fa=_0x3bd4bc(this);return _0x3752e7&&_0x3c24fa[_0x339eda(0x172)](_0x3752e7),(!_0x3c24fa[_0x339eda(0x15e)](_0x339eda(0x299))||this[_0x339eda(0x299)]===_0x3c24fa[_0x339eda(0x299)])&&(_0x3c24fa['init']=function(){var _0x4dfce5=_0x339eda;_0x3c24fa['$super'][_0x4dfce5(0x299)][_0x4dfce5(0x458)](this,arguments);}),_0x3c24fa['init'][_0x339eda(0x1da)]=_0x3c24fa,_0x3c24fa[_0x339eda(0x2d6)]=this,_0x3c24fa;},'create':function(){var _0x2e7442=_0xcbfd,_0x1a7f0a=this[_0x2e7442(0x2a9)]();return _0x1a7f0a['init'][_0x2e7442(0x458)](_0x1a7f0a,arguments),_0x1a7f0a;},'init':function(){},'mixIn':function(_0x4f626d){var _0x3d014c=_0xcbfd;for(var _0x3a29c9 in _0x4f626d)_0x4f626d[_0x3d014c(0x15e)](_0x3a29c9)&&(this[_0x3a29c9]=_0x4f626d[_0x3a29c9]);_0x4f626d['hasOwnProperty'](_0x3d014c(0x3ff))&&(this[_0x3d014c(0x3ff)]=_0x4f626d[_0x3d014c(0x3ff)]);},'clone':function(){var _0x444c87=_0xcbfd;return this[_0x444c87(0x299)][_0x444c87(0x1da)][_0x444c87(0x2a9)](this);}};}()),_0x16eed5=_0x418408[_0xbb9a7d(0x3b1)]=_0x331c68['extend']({'init':function(_0x1a667f,_0x17fe2c){var _0x4ee58c=_0xbb9a7d;_0x1a667f=this['words']=_0x1a667f||[],_0x17fe2c!=_0x1350c8?this[_0x4ee58c(0x2ec)]=_0x17fe2c:this['sigBytes']=_0x1a667f[_0x4ee58c(0x2fd)]*0x4;},'toString':function(_0x200fb5){var _0x4218f9=_0xbb9a7d;return(_0x200fb5||_0x109c14)[_0x4218f9(0x379)](this);},'concat':function(_0x53edaa){var _0x152276=_0xbb9a7d,_0x5014f1=this[_0x152276(0x38f)],_0x1056d9=_0x53edaa[_0x152276(0x38f)],_0x21f9d4=this['sigBytes'],_0x2b0fb1=_0x53edaa['sigBytes'];if(this['clamp'](),_0x21f9d4%0x4)for(var _0x446f3b=0x0;_0x446f3b<_0x2b0fb1;_0x446f3b++){var _0x5e0dea=_0x1056d9[_0x446f3b>>>0x2]>>>0x18-_0x446f3b%0x4*0x8&0xff;_0x5014f1[_0x21f9d4+_0x446f3b>>>0x2]|=_0x5e0dea<<0x18-(_0x21f9d4+_0x446f3b)%0x4*0x8;}else{for(var _0x1ec2db=0x0;_0x1ec2db<_0x2b0fb1;_0x1ec2db+=0x4)_0x5014f1[_0x21f9d4+_0x1ec2db>>>0x2]=_0x1056d9[_0x1ec2db>>>0x2];}return this['sigBytes']+=_0x2b0fb1,this;},'clamp':function(){var _0x120eab=this['words'],_0x41ef19=this['sigBytes'];_0x120eab[_0x41ef19>>>0x2]&=0xffffffff<<0x20-_0x41ef19%0x4*0x8,_0x120eab['length']=_0xccbacf['ceil'](_0x41ef19/0x4);},'clone':function(){var _0x34401f=_0xbb9a7d,_0x37a196=_0x331c68[_0x34401f(0x36d)]['call'](this);return _0x37a196['words']=this['words'][_0x34401f(0x1cd)](0x0),_0x37a196;},'random':function(_0x1d8f8b){var _0x1fdd98=_0xbb9a7d;for(var _0x4accb1=[],_0x464547=0x0;_0x464547<_0x1d8f8b;_0x464547+=0x4)_0x4accb1[_0x1fdd98(0x284)](_0x851af4());return new _0x16eed5['init'](_0x4accb1,_0x1d8f8b);}}),_0x5cb7e0=_0x47cf42[_0xbb9a7d(0x24e)]={},_0x109c14=_0x5cb7e0[_0xbb9a7d(0x43f)]={'stringify':function(_0x3c5474){var _0x2b154b=_0xbb9a7d;for(var _0x2f3d30=_0x3c5474[_0x2b154b(0x38f)],_0x5732d5=_0x3c5474[_0x2b154b(0x2ec)],_0x60d073=[],_0x4220c=0x0;_0x4220c<_0x5732d5;_0x4220c++){var _0x3559cd=_0x2f3d30[_0x4220c>>>0x2]>>>0x18-_0x4220c%0x4*0x8&0xff;_0x60d073[_0x2b154b(0x284)]((_0x3559cd>>>0x4)[_0x2b154b(0x3ff)](0x10)),_0x60d073[_0x2b154b(0x284)]((_0x3559cd&0xf)['toString'](0x10));}return _0x60d073[_0x2b154b(0x349)]('');},'parse':function(_0x4a1410){var _0x2e0852=_0xbb9a7d;for(var _0x2cc6af=_0x4a1410[_0x2e0852(0x2fd)],_0x3beb5b=[],_0x226bc9=0x0;_0x226bc9<_0x2cc6af;_0x226bc9+=0x2)_0x3beb5b[_0x226bc9>>>0x3]|=parseInt(_0x4a1410[_0x2e0852(0x3da)](_0x226bc9,0x2),0x10)<<0x18-_0x226bc9%0x8*0x4;return new _0x16eed5[(_0x2e0852(0x299))](_0x3beb5b,_0x2cc6af/0x2);}},_0xee786d=_0x5cb7e0[_0xbb9a7d(0x361)]={'stringify':function(_0x495e91){var _0xa2151d=_0xbb9a7d;for(var _0x3fb968=_0x495e91['words'],_0x5bfe9b=_0x495e91[_0xa2151d(0x2ec)],_0x14fc23=[],_0x2aadcf=0x0;_0x2aadcf<_0x5bfe9b;_0x2aadcf++){var _0x3b0613=_0x3fb968[_0x2aadcf>>>0x2]>>>0x18-_0x2aadcf%0x4*0x8&0xff;_0x14fc23[_0xa2151d(0x284)](String[_0xa2151d(0x213)](_0x3b0613));}return _0x14fc23['join']('');},'parse':function(_0x376042){var _0x4c45d9=_0xbb9a7d;for(var _0x54802c=_0x376042[_0x4c45d9(0x2fd)],_0x2907b4=[],_0x27003e=0x0;_0x27003e<_0x54802c;_0x27003e++)_0x2907b4[_0x27003e>>>0x2]|=(_0x376042['charCodeAt'](_0x27003e)&0xff)<<0x18-_0x27003e%0x4*0x8;return new _0x16eed5[(_0x4c45d9(0x299))](_0x2907b4,_0x54802c);}},_0x202988=_0x5cb7e0[_0xbb9a7d(0x2f4)]={'stringify':function(_0x36d292){try{return decodeURIComponent(escape(_0xee786d['stringify'](_0x36d292)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x50e4fe){var _0x2c068d=_0xbb9a7d;return _0xee786d[_0x2c068d(0x2d3)](unescape(encodeURIComponent(_0x50e4fe)));}},_0x5af68f=_0x418408[_0xbb9a7d(0x233)]=_0x331c68[_0xbb9a7d(0x2a9)]({'reset':function(){var _0x5d46f1=_0xbb9a7d;this[_0x5d46f1(0x1d7)]=new _0x16eed5['init'](),this[_0x5d46f1(0x460)]=0x0;},'_append':function(_0x520675){var _0x5a7df1=_0xbb9a7d;typeof _0x520675==_0x5a7df1(0x33e)&&(_0x520675=_0x202988['parse'](_0x520675)),this[_0x5a7df1(0x1d7)][_0x5a7df1(0x43b)](_0x520675),this[_0x5a7df1(0x460)]+=_0x520675['sigBytes'];},'_process':function(_0xf7a768){var _0x159abf=_0xbb9a7d,_0x10783a,_0x4cb0dd=this[_0x159abf(0x1d7)],_0x58a4b0=_0x4cb0dd[_0x159abf(0x38f)],_0x41bf6b=_0x4cb0dd['sigBytes'],_0x5970b8=this[_0x159abf(0x30c)],_0x4e0a89=_0x5970b8*0x4,_0x22fcc6=_0x41bf6b/_0x4e0a89;_0xf7a768?_0x22fcc6=_0xccbacf[_0x159abf(0x20c)](_0x22fcc6):_0x22fcc6=_0xccbacf[_0x159abf(0x196)]((_0x22fcc6|0x0)-this[_0x159abf(0x28d)],0x0);var _0x5e9c72=_0x22fcc6*_0x5970b8,_0x4ab50d=_0xccbacf[_0x159abf(0x343)](_0x5e9c72*0x4,_0x41bf6b);if(_0x5e9c72){for(var _0x5f5297=0x0;_0x5f5297<_0x5e9c72;_0x5f5297+=_0x5970b8)this[_0x159abf(0x31b)](_0x58a4b0,_0x5f5297);_0x10783a=_0x58a4b0[_0x159abf(0x3c9)](0x0,_0x5e9c72),_0x4cb0dd['sigBytes']-=_0x4ab50d;}return new _0x16eed5[(_0x159abf(0x299))](_0x10783a,_0x4ab50d);},'clone':function(){var _0x221798=_0xbb9a7d,_0x5cd30d=_0x331c68[_0x221798(0x36d)][_0x221798(0x1a9)](this);return _0x5cd30d[_0x221798(0x1d7)]=this[_0x221798(0x1d7)][_0x221798(0x36d)](),_0x5cd30d;},'_minBufferSize':0x0});_0x418408['Hasher']=_0x5af68f[_0xbb9a7d(0x2a9)]({'cfg':_0x331c68['extend'](),'init':function(_0x49660b){var _0x2e9885=_0xbb9a7d;this[_0x2e9885(0x436)]=this[_0x2e9885(0x436)][_0x2e9885(0x2a9)](_0x49660b),this[_0x2e9885(0x162)]();},'reset':function(){var _0x59a4d5=_0xbb9a7d;_0x5af68f[_0x59a4d5(0x162)]['call'](this),this['_doReset']();},'update':function(_0x1eb81b){var _0xb39f1c=_0xbb9a7d;return this[_0xb39f1c(0x189)](_0x1eb81b),this[_0xb39f1c(0x3bb)](),this;},'finalize':function(_0x40cc73){var _0x1acd16=_0xbb9a7d;_0x40cc73&&this[_0x1acd16(0x189)](_0x40cc73);var _0x32c328=this[_0x1acd16(0x1f2)]();return _0x32c328;},'blockSize':0x10,'_createHelper':function(_0x1cfcf3){return function(_0x29d08b,_0x4af783){var _0x2a131f=_0xcbfd;return new _0x1cfcf3['init'](_0x4af783)[_0x2a131f(0x43a)](_0x29d08b);};},'_createHmacHelper':function(_0x99a835){return function(_0x324505,_0x2cff30){var _0x25d264=_0xcbfd;return new _0xa49750['HMAC'][(_0x25d264(0x299))](_0x99a835,_0x2cff30)[_0x25d264(0x43a)](_0x324505);};}});var _0xa49750=_0x47cf42[_0xbb9a7d(0x293)]={};return _0x47cf42;}(Math);return _0xb3f9ba;}));}(Ge)),Ge[_0x1358a0(0x3b5)];}var Ye={'exports':{}},dn=Ye[_0x1bf9e4(0x3b5)],zt;function bi(){var _0x3b2815=_0x1bf9e4;return zt||(zt=0x1,function(_0x4c2400,_0x1359bf){(function(_0x537f21,_0x3c5aab){var _0xd7e7d=_0xcbfd;_0x4c2400[_0xd7e7d(0x3b5)]=_0x3c5aab(te());}(dn,function(_0x57d276){return(function(){var _0x50cf9a=_0xcbfd,_0x769962=_0x57d276,_0x41862d=_0x769962[_0x50cf9a(0x461)],_0x2f1966=_0x41862d[_0x50cf9a(0x3b1)],_0x40dc49=_0x769962[_0x50cf9a(0x24e)];_0x40dc49[_0x50cf9a(0x2a6)]={'stringify':function(_0x45a28f){var _0x2bf672=_0x50cf9a,_0x3532fa=_0x45a28f['words'],_0x29acb0=_0x45a28f['sigBytes'],_0x5552cf=this[_0x2bf672(0x2ab)];_0x45a28f[_0x2bf672(0x22f)]();for(var _0x47a239=[],_0x5eef27=0x0;_0x5eef27<_0x29acb0;_0x5eef27+=0x3)for(var _0x4e676b=_0x3532fa[_0x5eef27>>>0x2]>>>0x18-_0x5eef27%0x4*0x8&0xff,_0x16cc33=_0x3532fa[_0x5eef27+0x1>>>0x2]>>>0x18-(_0x5eef27+0x1)%0x4*0x8&0xff,_0x5129b2=_0x3532fa[_0x5eef27+0x2>>>0x2]>>>0x18-(_0x5eef27+0x2)%0x4*0x8&0xff,_0x324075=_0x4e676b<<0x10|_0x16cc33<<0x8|_0x5129b2,_0x3b0289=0x0;_0x3b0289<0x4&&_0x5eef27+_0x3b0289*0.75<_0x29acb0;_0x3b0289++)_0x47a239[_0x2bf672(0x284)](_0x5552cf[_0x2bf672(0x407)](_0x324075>>>0x6*(0x3-_0x3b0289)&0x3f));var _0x2d2e96=_0x5552cf[_0x2bf672(0x407)](0x40);if(_0x2d2e96){for(;_0x47a239['length']%0x4;)_0x47a239[_0x2bf672(0x284)](_0x2d2e96);}return _0x47a239[_0x2bf672(0x349)]('');},'parse':function(_0x2cb515){var _0x4ef438=_0x50cf9a,_0x3b2c24=_0x2cb515[_0x4ef438(0x2fd)],_0x4ce028=this[_0x4ef438(0x2ab)],_0x2d25f4=this[_0x4ef438(0x454)];if(!_0x2d25f4){_0x2d25f4=this[_0x4ef438(0x454)]=[];for(var _0x541b57=0x0;_0x541b57<_0x4ce028['length'];_0x541b57++)_0x2d25f4[_0x4ce028[_0x4ef438(0x2e4)](_0x541b57)]=_0x541b57;}var _0x53de13=_0x4ce028[_0x4ef438(0x407)](0x40);if(_0x53de13){var _0x20817c=_0x2cb515[_0x4ef438(0x3f0)](_0x53de13);_0x20817c!==-0x1&&(_0x3b2c24=_0x20817c);}return _0x48523c(_0x2cb515,_0x3b2c24,_0x2d25f4);},'_map':_0x50cf9a(0x186)};function _0x48523c(_0x8bfcce,_0x1785cf,_0x61a688){var _0x498a2c=_0x50cf9a;for(var _0x3eb7ff=[],_0x177f87=0x0,_0x257fb7=0x0;_0x257fb7<_0x1785cf;_0x257fb7++)if(_0x257fb7%0x4){var _0xb30f0=_0x61a688[_0x8bfcce[_0x498a2c(0x2e4)](_0x257fb7-0x1)]<<_0x257fb7%0x4*0x2,_0x56ccb5=_0x61a688[_0x8bfcce[_0x498a2c(0x2e4)](_0x257fb7)]>>>0x6-_0x257fb7%0x4*0x2,_0x5133bd=_0xb30f0|_0x56ccb5;_0x3eb7ff[_0x177f87>>>0x2]|=_0x5133bd<<0x18-_0x177f87%0x4*0x8,_0x177f87++;}return _0x2f1966[_0x498a2c(0x168)](_0x3eb7ff,_0x177f87);}}()),_0x57d276['enc']['Base64'];}));}(Ye)),Ye[_0x3b2815(0x3b5)];}var We={'exports':{}},fn=We['exports'],Jt;function vn(){var _0x2bca4e=_0x1bf9e4;return Jt||(Jt=0x1,function(_0x401365,_0xe671ca){(function(_0x324a8c,_0x2fdc9c){_0x401365['exports']=_0x2fdc9c(te());}(fn,function(_0x372987){var _0x13b809=_0xcbfd;return function(_0x1628b4){var _0x202f53=_0xcbfd,_0x1a927b=_0x372987,_0x30bb63=_0x1a927b['lib'],_0xd75c3b=_0x30bb63['WordArray'],_0x1b3059=_0x30bb63[_0x202f53(0x21e)],_0x49af1d=_0x1a927b[_0x202f53(0x293)],_0x5e8ce2=[];(function(){var _0x1db960=_0x202f53;for(var _0xc0815d=0x0;_0xc0815d<0x40;_0xc0815d++)_0x5e8ce2[_0xc0815d]=_0x1628b4[_0x1db960(0x35c)](_0x1628b4[_0x1db960(0x2e7)](_0xc0815d+0x1))*0x100000000|0x0;}());var _0x4dc5b5=_0x49af1d['MD5']=_0x1b3059[_0x202f53(0x2a9)]({'_doReset':function(){this['_hash']=new _0xd75c3b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2a27ff,_0x113218){var _0x28aa75=_0x202f53;for(var _0x59344f=0x0;_0x59344f<0x10;_0x59344f++){var _0x1d65c8=_0x113218+_0x59344f,_0x2b2eb7=_0x2a27ff[_0x1d65c8];_0x2a27ff[_0x1d65c8]=(_0x2b2eb7<<0x8|_0x2b2eb7>>>0x18)&0xff00ff|(_0x2b2eb7<<0x18|_0x2b2eb7>>>0x8)&0xff00ff00;}var _0x4ceeb5=this[_0x28aa75(0x456)][_0x28aa75(0x38f)],_0x4a4b34=_0x2a27ff[_0x113218+0x0],_0xc67083=_0x2a27ff[_0x113218+0x1],_0x3b56f3=_0x2a27ff[_0x113218+0x2],_0x302542=_0x2a27ff[_0x113218+0x3],_0x465141=_0x2a27ff[_0x113218+0x4],_0x58f4ed=_0x2a27ff[_0x113218+0x5],_0x2e73e5=_0x2a27ff[_0x113218+0x6],_0x402477=_0x2a27ff[_0x113218+0x7],_0x48ec0d=_0x2a27ff[_0x113218+0x8],_0x47927b=_0x2a27ff[_0x113218+0x9],_0x2cd41d=_0x2a27ff[_0x113218+0xa],_0x16ce00=_0x2a27ff[_0x113218+0xb],_0xbd5fec=_0x2a27ff[_0x113218+0xc],_0x24e94d=_0x2a27ff[_0x113218+0xd],_0x1f587a=_0x2a27ff[_0x113218+0xe],_0x377c65=_0x2a27ff[_0x113218+0xf],_0x357525=_0x4ceeb5[0x0],_0x1927ed=_0x4ceeb5[0x1],_0x4196d3=_0x4ceeb5[0x2],_0x3a6bb0=_0x4ceeb5[0x3];_0x357525=_0x214677(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x4a4b34,0x7,_0x5e8ce2[0x0]),_0x3a6bb0=_0x214677(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0xc67083,0xc,_0x5e8ce2[0x1]),_0x4196d3=_0x214677(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x3b56f3,0x11,_0x5e8ce2[0x2]),_0x1927ed=_0x214677(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x302542,0x16,_0x5e8ce2[0x3]),_0x357525=_0x214677(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x465141,0x7,_0x5e8ce2[0x4]),_0x3a6bb0=_0x214677(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x58f4ed,0xc,_0x5e8ce2[0x5]),_0x4196d3=_0x214677(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x2e73e5,0x11,_0x5e8ce2[0x6]),_0x1927ed=_0x214677(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x402477,0x16,_0x5e8ce2[0x7]),_0x357525=_0x214677(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x48ec0d,0x7,_0x5e8ce2[0x8]),_0x3a6bb0=_0x214677(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x47927b,0xc,_0x5e8ce2[0x9]),_0x4196d3=_0x214677(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x2cd41d,0x11,_0x5e8ce2[0xa]),_0x1927ed=_0x214677(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x16ce00,0x16,_0x5e8ce2[0xb]),_0x357525=_0x214677(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0xbd5fec,0x7,_0x5e8ce2[0xc]),_0x3a6bb0=_0x214677(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x24e94d,0xc,_0x5e8ce2[0xd]),_0x4196d3=_0x214677(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x1f587a,0x11,_0x5e8ce2[0xe]),_0x1927ed=_0x214677(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x377c65,0x16,_0x5e8ce2[0xf]),_0x357525=_0x5c0ac9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0xc67083,0x5,_0x5e8ce2[0x10]),_0x3a6bb0=_0x5c0ac9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x2e73e5,0x9,_0x5e8ce2[0x11]),_0x4196d3=_0x5c0ac9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x16ce00,0xe,_0x5e8ce2[0x12]),_0x1927ed=_0x5c0ac9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x4a4b34,0x14,_0x5e8ce2[0x13]),_0x357525=_0x5c0ac9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x58f4ed,0x5,_0x5e8ce2[0x14]),_0x3a6bb0=_0x5c0ac9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x2cd41d,0x9,_0x5e8ce2[0x15]),_0x4196d3=_0x5c0ac9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x377c65,0xe,_0x5e8ce2[0x16]),_0x1927ed=_0x5c0ac9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x465141,0x14,_0x5e8ce2[0x17]),_0x357525=_0x5c0ac9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x47927b,0x5,_0x5e8ce2[0x18]),_0x3a6bb0=_0x5c0ac9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x1f587a,0x9,_0x5e8ce2[0x19]),_0x4196d3=_0x5c0ac9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x302542,0xe,_0x5e8ce2[0x1a]),_0x1927ed=_0x5c0ac9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x48ec0d,0x14,_0x5e8ce2[0x1b]),_0x357525=_0x5c0ac9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x24e94d,0x5,_0x5e8ce2[0x1c]),_0x3a6bb0=_0x5c0ac9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x3b56f3,0x9,_0x5e8ce2[0x1d]),_0x4196d3=_0x5c0ac9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x402477,0xe,_0x5e8ce2[0x1e]),_0x1927ed=_0x5c0ac9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0xbd5fec,0x14,_0x5e8ce2[0x1f]),_0x357525=_0x1518d9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x58f4ed,0x4,_0x5e8ce2[0x20]),_0x3a6bb0=_0x1518d9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x48ec0d,0xb,_0x5e8ce2[0x21]),_0x4196d3=_0x1518d9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x16ce00,0x10,_0x5e8ce2[0x22]),_0x1927ed=_0x1518d9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x1f587a,0x17,_0x5e8ce2[0x23]),_0x357525=_0x1518d9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0xc67083,0x4,_0x5e8ce2[0x24]),_0x3a6bb0=_0x1518d9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x465141,0xb,_0x5e8ce2[0x25]),_0x4196d3=_0x1518d9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x402477,0x10,_0x5e8ce2[0x26]),_0x1927ed=_0x1518d9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x2cd41d,0x17,_0x5e8ce2[0x27]),_0x357525=_0x1518d9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x24e94d,0x4,_0x5e8ce2[0x28]),_0x3a6bb0=_0x1518d9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x4a4b34,0xb,_0x5e8ce2[0x29]),_0x4196d3=_0x1518d9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x302542,0x10,_0x5e8ce2[0x2a]),_0x1927ed=_0x1518d9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x2e73e5,0x17,_0x5e8ce2[0x2b]),_0x357525=_0x1518d9(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x47927b,0x4,_0x5e8ce2[0x2c]),_0x3a6bb0=_0x1518d9(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0xbd5fec,0xb,_0x5e8ce2[0x2d]),_0x4196d3=_0x1518d9(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x377c65,0x10,_0x5e8ce2[0x2e]),_0x1927ed=_0x1518d9(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x3b56f3,0x17,_0x5e8ce2[0x2f]),_0x357525=_0xc7f86b(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x4a4b34,0x6,_0x5e8ce2[0x30]),_0x3a6bb0=_0xc7f86b(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x402477,0xa,_0x5e8ce2[0x31]),_0x4196d3=_0xc7f86b(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x1f587a,0xf,_0x5e8ce2[0x32]),_0x1927ed=_0xc7f86b(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x58f4ed,0x15,_0x5e8ce2[0x33]),_0x357525=_0xc7f86b(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0xbd5fec,0x6,_0x5e8ce2[0x34]),_0x3a6bb0=_0xc7f86b(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x302542,0xa,_0x5e8ce2[0x35]),_0x4196d3=_0xc7f86b(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x2cd41d,0xf,_0x5e8ce2[0x36]),_0x1927ed=_0xc7f86b(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0xc67083,0x15,_0x5e8ce2[0x37]),_0x357525=_0xc7f86b(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x48ec0d,0x6,_0x5e8ce2[0x38]),_0x3a6bb0=_0xc7f86b(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x377c65,0xa,_0x5e8ce2[0x39]),_0x4196d3=_0xc7f86b(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x2e73e5,0xf,_0x5e8ce2[0x3a]),_0x1927ed=_0xc7f86b(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x24e94d,0x15,_0x5e8ce2[0x3b]),_0x357525=_0xc7f86b(_0x357525,_0x1927ed,_0x4196d3,_0x3a6bb0,_0x465141,0x6,_0x5e8ce2[0x3c]),_0x3a6bb0=_0xc7f86b(_0x3a6bb0,_0x357525,_0x1927ed,_0x4196d3,_0x16ce00,0xa,_0x5e8ce2[0x3d]),_0x4196d3=_0xc7f86b(_0x4196d3,_0x3a6bb0,_0x357525,_0x1927ed,_0x3b56f3,0xf,_0x5e8ce2[0x3e]),_0x1927ed=_0xc7f86b(_0x1927ed,_0x4196d3,_0x3a6bb0,_0x357525,_0x47927b,0x15,_0x5e8ce2[0x3f]),_0x4ceeb5[0x0]=_0x4ceeb5[0x0]+_0x357525|0x0,_0x4ceeb5[0x1]=_0x4ceeb5[0x1]+_0x1927ed|0x0,_0x4ceeb5[0x2]=_0x4ceeb5[0x2]+_0x4196d3|0x0,_0x4ceeb5[0x3]=_0x4ceeb5[0x3]+_0x3a6bb0|0x0;},'_doFinalize':function(){var _0x2beb19=_0x202f53,_0x5bf8d2=this[_0x2beb19(0x1d7)],_0x5689ea=_0x5bf8d2[_0x2beb19(0x38f)],_0x2cc957=this[_0x2beb19(0x460)]*0x8,_0x14cc13=_0x5bf8d2[_0x2beb19(0x2ec)]*0x8;_0x5689ea[_0x14cc13>>>0x5]|=0x80<<0x18-_0x14cc13%0x20;var _0x3931d5=_0x1628b4['floor'](_0x2cc957/0x100000000),_0x31d9d3=_0x2cc957;_0x5689ea[(_0x14cc13+0x40>>>0x9<<0x4)+0xf]=(_0x3931d5<<0x8|_0x3931d5>>>0x18)&0xff00ff|(_0x3931d5<<0x18|_0x3931d5>>>0x8)&0xff00ff00,_0x5689ea[(_0x14cc13+0x40>>>0x9<<0x4)+0xe]=(_0x31d9d3<<0x8|_0x31d9d3>>>0x18)&0xff00ff|(_0x31d9d3<<0x18|_0x31d9d3>>>0x8)&0xff00ff00,_0x5bf8d2[_0x2beb19(0x2ec)]=(_0x5689ea[_0x2beb19(0x2fd)]+0x1)*0x4,this[_0x2beb19(0x3bb)]();for(var _0x41da3d=this[_0x2beb19(0x456)],_0x4944ef=_0x41da3d['words'],_0x43b357=0x0;_0x43b357<0x4;_0x43b357++){var _0x16362f=_0x4944ef[_0x43b357];_0x4944ef[_0x43b357]=(_0x16362f<<0x8|_0x16362f>>>0x18)&0xff00ff|(_0x16362f<<0x18|_0x16362f>>>0x8)&0xff00ff00;}return _0x41da3d;},'clone':function(){var _0x177646=_0x202f53,_0x5e48d9=_0x1b3059['clone'][_0x177646(0x1a9)](this);return _0x5e48d9[_0x177646(0x456)]=this[_0x177646(0x456)]['clone'](),_0x5e48d9;}});function _0x214677(_0x256041,_0x5d8ad2,_0x1b5026,_0x34ee93,_0x202d26,_0x377dc0,_0x479acd){var _0x496f90=_0x256041+(_0x5d8ad2&_0x1b5026|~_0x5d8ad2&_0x34ee93)+_0x202d26+_0x479acd;return(_0x496f90<<_0x377dc0|_0x496f90>>>0x20-_0x377dc0)+_0x5d8ad2;}function _0x5c0ac9(_0x1c072d,_0x28eaa2,_0x5f59ec,_0x2361a9,_0x1f5808,_0x148e01,_0x206e7d){var _0x33f7e1=_0x1c072d+(_0x28eaa2&_0x2361a9|_0x5f59ec&~_0x2361a9)+_0x1f5808+_0x206e7d;return(_0x33f7e1<<_0x148e01|_0x33f7e1>>>0x20-_0x148e01)+_0x28eaa2;}function _0x1518d9(_0x53c9c3,_0x48e940,_0x1964d4,_0x32bc47,_0x30f6a8,_0x5836a4,_0x4c6d95){var _0x1c18a1=_0x53c9c3+(_0x48e940^_0x1964d4^_0x32bc47)+_0x30f6a8+_0x4c6d95;return(_0x1c18a1<<_0x5836a4|_0x1c18a1>>>0x20-_0x5836a4)+_0x48e940;}function _0xc7f86b(_0x46d401,_0x4e026a,_0x2ccdb8,_0x5c3df6,_0x5de5cf,_0x8363f8,_0x3408bc){var _0x43e872=_0x46d401+(_0x2ccdb8^(_0x4e026a|~_0x5c3df6))+_0x5de5cf+_0x3408bc;return(_0x43e872<<_0x8363f8|_0x43e872>>>0x20-_0x8363f8)+_0x4e026a;}_0x1a927b[_0x202f53(0x191)]=_0x1b3059[_0x202f53(0x3d4)](_0x4dc5b5),_0x1a927b[_0x202f53(0x3e6)]=_0x1b3059['_createHmacHelper'](_0x4dc5b5);}(Math),_0x372987[_0x13b809(0x191)];}));}(We)),We[_0x2bca4e(0x3b5)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x1bf9e4(0x3b5)],Xt;function mn(){var _0x5ac1f5=_0x1bf9e4;return Xt||(Xt=0x1,function(_0x4d768f,_0x360f3e){(function(_0x4b59b8,_0x18c516){var _0x188589=_0xcbfd;_0x4d768f[_0x188589(0x3b5)]=_0x18c516(te());}(pn,function(_0x29adf4){var _0x395387=_0xcbfd;return(function(){var _0x5b0567=_0xcbfd,_0x5e098b=_0x29adf4,_0x58173c=_0x5e098b[_0x5b0567(0x461)],_0x4bd8a7=_0x58173c[_0x5b0567(0x3b1)],_0x144509=_0x58173c[_0x5b0567(0x21e)],_0x3a60a7=_0x5e098b[_0x5b0567(0x293)],_0x4d25c8=[],_0xea4bd1=_0x3a60a7[_0x5b0567(0x368)]=_0x144509[_0x5b0567(0x2a9)]({'_doReset':function(){var _0x23764d=_0x5b0567;this[_0x23764d(0x456)]=new _0x4bd8a7[(_0x23764d(0x299))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4e042c,_0x3c5272){var _0xe9b65f=_0x5b0567;for(var _0x527f8f=this[_0xe9b65f(0x456)][_0xe9b65f(0x38f)],_0x474b73=_0x527f8f[0x0],_0x6769cb=_0x527f8f[0x1],_0x4b646c=_0x527f8f[0x2],_0x23ac38=_0x527f8f[0x3],_0x20ec9f=_0x527f8f[0x4],_0x4bf111=0x0;_0x4bf111<0x50;_0x4bf111++){if(_0x4bf111<0x10)_0x4d25c8[_0x4bf111]=_0x4e042c[_0x3c5272+_0x4bf111]|0x0;else{var _0x164e96=_0x4d25c8[_0x4bf111-0x3]^_0x4d25c8[_0x4bf111-0x8]^_0x4d25c8[_0x4bf111-0xe]^_0x4d25c8[_0x4bf111-0x10];_0x4d25c8[_0x4bf111]=_0x164e96<<0x1|_0x164e96>>>0x1f;}var _0x144643=(_0x474b73<<0x5|_0x474b73>>>0x1b)+_0x20ec9f+_0x4d25c8[_0x4bf111];_0x4bf111<0x14?_0x144643+=(_0x6769cb&_0x4b646c|~_0x6769cb&_0x23ac38)+0x5a827999:_0x4bf111<0x28?_0x144643+=(_0x6769cb^_0x4b646c^_0x23ac38)+0x6ed9eba1:_0x4bf111<0x3c?_0x144643+=(_0x6769cb&_0x4b646c|_0x6769cb&_0x23ac38|_0x4b646c&_0x23ac38)-0x70e44324:_0x144643+=(_0x6769cb^_0x4b646c^_0x23ac38)-0x359d3e2a,_0x20ec9f=_0x23ac38,_0x23ac38=_0x4b646c,_0x4b646c=_0x6769cb<<0x1e|_0x6769cb>>>0x2,_0x6769cb=_0x474b73,_0x474b73=_0x144643;}_0x527f8f[0x0]=_0x527f8f[0x0]+_0x474b73|0x0,_0x527f8f[0x1]=_0x527f8f[0x1]+_0x6769cb|0x0,_0x527f8f[0x2]=_0x527f8f[0x2]+_0x4b646c|0x0,_0x527f8f[0x3]=_0x527f8f[0x3]+_0x23ac38|0x0,_0x527f8f[0x4]=_0x527f8f[0x4]+_0x20ec9f|0x0;},'_doFinalize':function(){var _0x27d050=_0x5b0567,_0x3cfa6d=this['_data'],_0xd8c82f=_0x3cfa6d['words'],_0x42684c=this[_0x27d050(0x460)]*0x8,_0x5cd1a7=_0x3cfa6d[_0x27d050(0x2ec)]*0x8;return _0xd8c82f[_0x5cd1a7>>>0x5]|=0x80<<0x18-_0x5cd1a7%0x20,_0xd8c82f[(_0x5cd1a7+0x40>>>0x9<<0x4)+0xe]=Math[_0x27d050(0x21f)](_0x42684c/0x100000000),_0xd8c82f[(_0x5cd1a7+0x40>>>0x9<<0x4)+0xf]=_0x42684c,_0x3cfa6d['sigBytes']=_0xd8c82f[_0x27d050(0x2fd)]*0x4,this[_0x27d050(0x3bb)](),this[_0x27d050(0x456)];},'clone':function(){var _0x36537a=_0x5b0567,_0x15a62f=_0x144509[_0x36537a(0x36d)][_0x36537a(0x1a9)](this);return _0x15a62f[_0x36537a(0x456)]=this[_0x36537a(0x456)][_0x36537a(0x36d)](),_0x15a62f;}});_0x5e098b[_0x5b0567(0x368)]=_0x144509[_0x5b0567(0x3d4)](_0xea4bd1),_0x5e098b[_0x5b0567(0x33f)]=_0x144509[_0x5b0567(0x341)](_0xea4bd1);}()),_0x29adf4[_0x395387(0x368)];}));}(qe)),qe[_0x5ac1f5(0x3b5)];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){var _0x1e9a6a=_0x1bf9e4;return Zt||(Zt=0x1,function(_0x11f2e0,_0x56ecd3){(function(_0x1a5769,_0x4a0d91){var _0x19dc1e=_0xcbfd;_0x11f2e0[_0x19dc1e(0x3b5)]=_0x4a0d91(te());}(gn,function(_0x2cae5c){(function(){var _0x18f043=_0xcbfd,_0x3e2b1a=_0x2cae5c,_0x544f82=_0x3e2b1a[_0x18f043(0x461)],_0x159e8b=_0x544f82[_0x18f043(0x3db)],_0x58d159=_0x3e2b1a[_0x18f043(0x24e)],_0x574cd7=_0x58d159['Utf8'],_0xac4f9=_0x3e2b1a[_0x18f043(0x293)];_0xac4f9[_0x18f043(0x1be)]=_0x159e8b[_0x18f043(0x2a9)]({'init':function(_0x4ba3a9,_0x4b992b){var _0x280913=_0x18f043;_0x4ba3a9=this[_0x280913(0x16f)]=new _0x4ba3a9[(_0x280913(0x299))](),typeof _0x4b992b=='string'&&(_0x4b992b=_0x574cd7[_0x280913(0x2d3)](_0x4b992b));var _0x2aeeac=_0x4ba3a9[_0x280913(0x30c)],_0x469946=_0x2aeeac*0x4;_0x4b992b['sigBytes']>_0x469946&&(_0x4b992b=_0x4ba3a9['finalize'](_0x4b992b)),_0x4b992b[_0x280913(0x22f)]();for(var _0x3c0072=this['_oKey']=_0x4b992b[_0x280913(0x36d)](),_0x5b431e=this[_0x280913(0x2d4)]=_0x4b992b['clone'](),_0x58acd8=_0x3c0072[_0x280913(0x38f)],_0x2886ef=_0x5b431e[_0x280913(0x38f)],_0x17ea2e=0x0;_0x17ea2e<_0x2aeeac;_0x17ea2e++)_0x58acd8[_0x17ea2e]^=0x5c5c5c5c,_0x2886ef[_0x17ea2e]^=0x36363636;_0x3c0072[_0x280913(0x2ec)]=_0x5b431e[_0x280913(0x2ec)]=_0x469946,this[_0x280913(0x162)]();},'reset':function(){var _0x2d2899=_0x18f043,_0x2d21ed=this[_0x2d2899(0x16f)];_0x2d21ed['reset'](),_0x2d21ed['update'](this['_iKey']);},'update':function(_0x3c4bd4){var _0x33d33b=_0x18f043;return this[_0x33d33b(0x16f)][_0x33d33b(0x319)](_0x3c4bd4),this;},'finalize':function(_0x24a1c8){var _0x56f742=_0x18f043,_0x38b5af=this['_hasher'],_0x25c160=_0x38b5af[_0x56f742(0x43a)](_0x24a1c8);_0x38b5af[_0x56f742(0x162)]();var _0x2d7f3e=_0x38b5af['finalize'](this['_oKey'][_0x56f742(0x36d)]()[_0x56f742(0x43b)](_0x25c160));return _0x2d7f3e;}});}());}));}(ze)),ze[_0x1e9a6a(0x3b5)];}var En=Ke[_0x1bf9e4(0x3b5)],Qt;function yi(){return Qt||(Qt=0x1,function(_0x5f040f,_0x54a695){(function(_0x43b85f,_0x36aa1b,_0x959da4){var _0x5e9aac=_0xcbfd;_0x5f040f[_0x5e9aac(0x3b5)]=_0x36aa1b(te(),mn(),Sn());}(En,function(_0x1191d0){var _0x25bfb0=_0xcbfd;return(function(){var _0x212c35=_0xcbfd,_0x89462c=_0x1191d0,_0x4492a9=_0x89462c[_0x212c35(0x461)],_0x3c1163=_0x4492a9[_0x212c35(0x3db)],_0xf7e245=_0x4492a9[_0x212c35(0x3b1)],_0x4a8355=_0x89462c[_0x212c35(0x293)],_0x318331=_0x4a8355['MD5'],_0x258ec2=_0x4a8355['EvpKDF']=_0x3c1163[_0x212c35(0x2a9)]({'cfg':_0x3c1163['extend']({'keySize':0x80/0x20,'hasher':_0x318331,'iterations':0x1}),'init':function(_0x179a59){var _0x59164c=_0x212c35;this[_0x59164c(0x436)]=this[_0x59164c(0x436)][_0x59164c(0x2a9)](_0x179a59);},'compute':function(_0x16fbd7,_0xcc4326){var _0x6e2605=_0x212c35;for(var _0x126e63,_0x308ae0=this[_0x6e2605(0x436)],_0x4eae7b=_0x308ae0['hasher'][_0x6e2605(0x168)](),_0x4e52f8=_0xf7e245['create'](),_0x382fcb=_0x4e52f8[_0x6e2605(0x38f)],_0x3ced21=_0x308ae0[_0x6e2605(0x2db)],_0x10ad73=_0x308ae0[_0x6e2605(0x410)];_0x382fcb[_0x6e2605(0x2fd)]<_0x3ced21;){_0x126e63&&_0x4eae7b['update'](_0x126e63),_0x126e63=_0x4eae7b[_0x6e2605(0x319)](_0x16fbd7)[_0x6e2605(0x43a)](_0xcc4326),_0x4eae7b[_0x6e2605(0x162)]();for(var _0x520014=0x1;_0x520014<_0x10ad73;_0x520014++)_0x126e63=_0x4eae7b[_0x6e2605(0x43a)](_0x126e63),_0x4eae7b['reset']();_0x4e52f8[_0x6e2605(0x43b)](_0x126e63);}return _0x4e52f8['sigBytes']=_0x3ced21*0x4,_0x4e52f8;}});_0x89462c[_0x212c35(0x3b3)]=function(_0x542654,_0xce75b5,_0x2dc531){var _0x3982ed=_0x212c35;return _0x258ec2[_0x3982ed(0x168)](_0x2dc531)['compute'](_0x542654,_0xce75b5);};}()),_0x1191d0[_0x25bfb0(0x3b3)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},In=Je[_0x1bf9e4(0x3b5)],ei;function Ni(){var _0x1e2784=_0x1bf9e4;return ei||(ei=0x1,function(_0x312acd,_0x8bc465){(function(_0x12b24a,_0xb21783,_0x545542){var _0x44d958=_0xcbfd;_0x312acd[_0x44d958(0x3b5)]=_0xb21783(te(),yi());}(In,function(_0x46d5a4){var _0xca15ca=_0xcbfd;_0x46d5a4[_0xca15ca(0x461)][_0xca15ca(0x2ef)]||function(_0x5dd364){var _0x202ce0=_0xca15ca,_0x305429=_0x46d5a4,_0x1cd296=_0x305429['lib'],_0x195e0a=_0x1cd296['Base'],_0xee3567=_0x1cd296[_0x202ce0(0x3b1)],_0x569be9=_0x1cd296['BufferedBlockAlgorithm'],_0x520081=_0x305429[_0x202ce0(0x24e)];_0x520081['Utf8'];var _0x96f21e=_0x520081[_0x202ce0(0x2a6)],_0x58df88=_0x305429['algo'],_0x1345f4=_0x58df88[_0x202ce0(0x3b3)],_0xe424e7=_0x1cd296[_0x202ce0(0x2ef)]=_0x569be9[_0x202ce0(0x2a9)]({'cfg':_0x195e0a[_0x202ce0(0x2a9)](),'createEncryptor':function(_0x27fe07,_0x2db432){var _0x5c1b25=_0x202ce0;return this[_0x5c1b25(0x168)](this[_0x5c1b25(0x1e4)],_0x27fe07,_0x2db432);},'createDecryptor':function(_0x34bbbf,_0x4e00c1){var _0x589e2a=_0x202ce0;return this[_0x589e2a(0x168)](this[_0x589e2a(0x29f)],_0x34bbbf,_0x4e00c1);},'init':function(_0x39edcd,_0x45c961,_0x2a80e7){var _0x43998a=_0x202ce0;this[_0x43998a(0x436)]=this['cfg'][_0x43998a(0x2a9)](_0x2a80e7),this[_0x43998a(0x404)]=_0x39edcd,this['_key']=_0x45c961,this['reset']();},'reset':function(){var _0x3d8c09=_0x202ce0;_0x569be9[_0x3d8c09(0x162)][_0x3d8c09(0x1a9)](this),this[_0x3d8c09(0x3f8)]();},'process':function(_0x3b1269){var _0x420cfc=_0x202ce0;return this[_0x420cfc(0x189)](_0x3b1269),this[_0x420cfc(0x3bb)]();},'finalize':function(_0x2e8c8a){var _0x57fa12=_0x202ce0;_0x2e8c8a&&this[_0x57fa12(0x189)](_0x2e8c8a);var _0x45533c=this[_0x57fa12(0x1f2)]();return _0x45533c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x38ab22(_0x18ee76){var _0x1d6879=_0xcbfd;return typeof _0x18ee76==_0x1d6879(0x33e)?_0x2d0faa:_0x4632f7;}return function(_0x3541f9){return{'encrypt':function(_0x39b36a,_0x2f8157,_0x4cb5d5){var _0x3e0db9=_0xcbfd;return _0x38ab22(_0x2f8157)[_0x3e0db9(0x171)](_0x3541f9,_0x39b36a,_0x2f8157,_0x4cb5d5);},'decrypt':function(_0x50b45a,_0xbc9332,_0x5c1064){var _0x267667=_0xcbfd;return _0x38ab22(_0xbc9332)[_0x267667(0x3d8)](_0x3541f9,_0x50b45a,_0xbc9332,_0x5c1064);}};};}())});_0x1cd296['StreamCipher']=_0xe424e7[_0x202ce0(0x2a9)]({'_doFinalize':function(){var _0x253646=_0x202ce0,_0x5c078e=this[_0x253646(0x3bb)](!0x0);return _0x5c078e;},'blockSize':0x1});var _0x5674f5=_0x305429[_0x202ce0(0x2a8)]={},_0x20e506=_0x1cd296[_0x202ce0(0x188)]=_0x195e0a['extend']({'createEncryptor':function(_0x1d493a,_0x4f9f74){var _0x262622=_0x202ce0;return this[_0x262622(0x32c)][_0x262622(0x168)](_0x1d493a,_0x4f9f74);},'createDecryptor':function(_0x3bdaec,_0x549ebc){var _0x8f32e8=_0x202ce0;return this[_0x8f32e8(0x3c1)]['create'](_0x3bdaec,_0x549ebc);},'init':function(_0x20606c,_0x1cf9a7){this['_cipher']=_0x20606c,this['_iv']=_0x1cf9a7;}}),_0x3ce643=_0x5674f5[_0x202ce0(0x367)]=(function(){var _0xd47bd6=_0x202ce0,_0x14e702=_0x20e506[_0xd47bd6(0x2a9)]();_0x14e702[_0xd47bd6(0x32c)]=_0x14e702['extend']({'processBlock':function(_0x5bd60d,_0x3f1a75){var _0x44acd3=_0xd47bd6,_0x150a39=this[_0x44acd3(0x428)],_0x4dfcdc=_0x150a39['blockSize'];_0x1a875d[_0x44acd3(0x1a9)](this,_0x5bd60d,_0x3f1a75,_0x4dfcdc),_0x150a39[_0x44acd3(0x1cc)](_0x5bd60d,_0x3f1a75),this[_0x44acd3(0x289)]=_0x5bd60d[_0x44acd3(0x1cd)](_0x3f1a75,_0x3f1a75+_0x4dfcdc);}}),_0x14e702[_0xd47bd6(0x3c1)]=_0x14e702['extend']({'processBlock':function(_0x3617da,_0x28a682){var _0x450202=_0xd47bd6,_0x5dd0f6=this[_0x450202(0x428)],_0x5412e3=_0x5dd0f6[_0x450202(0x30c)],_0x2c87b9=_0x3617da[_0x450202(0x1cd)](_0x28a682,_0x28a682+_0x5412e3);_0x5dd0f6[_0x450202(0x202)](_0x3617da,_0x28a682),_0x1a875d[_0x450202(0x1a9)](this,_0x3617da,_0x28a682,_0x5412e3),this['_prevBlock']=_0x2c87b9;}});function _0x1a875d(_0x7e3746,_0x181cf5,_0x4e05bb){var _0x284976=_0xd47bd6,_0x21fc75,_0x195252=this[_0x284976(0x1cb)];_0x195252?(_0x21fc75=_0x195252,this[_0x284976(0x1cb)]=_0x5dd364):_0x21fc75=this[_0x284976(0x289)];for(var _0x2ec7d9=0x0;_0x2ec7d9<_0x4e05bb;_0x2ec7d9++)_0x7e3746[_0x181cf5+_0x2ec7d9]^=_0x21fc75[_0x2ec7d9];}return _0x14e702;}()),_0x299b42=_0x305429['pad']={},_0x53b647=_0x299b42[_0x202ce0(0x3c3)]={'pad':function(_0x44a84d,_0x5352b7){var _0x148098=_0x202ce0;for(var _0x375afa=_0x5352b7*0x4,_0x4010d4=_0x375afa-_0x44a84d[_0x148098(0x2ec)]%_0x375afa,_0x465ab0=_0x4010d4<<0x18|_0x4010d4<<0x10|_0x4010d4<<0x8|_0x4010d4,_0x50341a=[],_0x31d7b7=0x0;_0x31d7b7<_0x4010d4;_0x31d7b7+=0x4)_0x50341a['push'](_0x465ab0);var _0x1f838c=_0xee3567[_0x148098(0x168)](_0x50341a,_0x4010d4);_0x44a84d['concat'](_0x1f838c);},'unpad':function(_0x2ddbd0){var _0x28fcaf=_0x202ce0,_0x34bbd3=_0x2ddbd0[_0x28fcaf(0x38f)][_0x2ddbd0['sigBytes']-0x1>>>0x2]&0xff;_0x2ddbd0[_0x28fcaf(0x2ec)]-=_0x34bbd3;}};_0x1cd296['BlockCipher']=_0xe424e7[_0x202ce0(0x2a9)]({'cfg':_0xe424e7[_0x202ce0(0x436)][_0x202ce0(0x2a9)]({'mode':_0x3ce643,'padding':_0x53b647}),'reset':function(){var _0x1984a7=_0x202ce0,_0x42b464;_0xe424e7[_0x1984a7(0x162)][_0x1984a7(0x1a9)](this);var _0x536720=this[_0x1984a7(0x436)],_0x392740=_0x536720['iv'],_0x4503ad=_0x536720['mode'];this[_0x1984a7(0x404)]==this[_0x1984a7(0x1e4)]?_0x42b464=_0x4503ad[_0x1984a7(0x3d0)]:(_0x42b464=_0x4503ad[_0x1984a7(0x220)],this[_0x1984a7(0x28d)]=0x1),this[_0x1984a7(0x42b)]&&this[_0x1984a7(0x42b)][_0x1984a7(0x205)]==_0x42b464?this[_0x1984a7(0x42b)]['init'](this,_0x392740&&_0x392740[_0x1984a7(0x38f)]):(this['_mode']=_0x42b464[_0x1984a7(0x1a9)](_0x4503ad,this,_0x392740&&_0x392740[_0x1984a7(0x38f)]),this[_0x1984a7(0x42b)][_0x1984a7(0x205)]=_0x42b464);},'_doProcessBlock':function(_0x555e8b,_0x578ea1){var _0x3043ee=_0x202ce0;this[_0x3043ee(0x42b)][_0x3043ee(0x3b2)](_0x555e8b,_0x578ea1);},'_doFinalize':function(){var _0x2525c4=_0x202ce0,_0x2b866c,_0x40f893=this[_0x2525c4(0x436)][_0x2525c4(0x1ed)];return this[_0x2525c4(0x404)]==this[_0x2525c4(0x1e4)]?(_0x40f893[_0x2525c4(0x468)](this['_data'],this[_0x2525c4(0x30c)]),_0x2b866c=this[_0x2525c4(0x3bb)](!0x0)):(_0x2b866c=this[_0x2525c4(0x3bb)](!0x0),_0x40f893[_0x2525c4(0x375)](_0x2b866c)),_0x2b866c;},'blockSize':0x80/0x20});var _0x18b838=_0x1cd296[_0x202ce0(0x1a8)]=_0x195e0a[_0x202ce0(0x2a9)]({'init':function(_0x1545d7){var _0x52911d=_0x202ce0;this[_0x52911d(0x172)](_0x1545d7);},'toString':function(_0x3aece4){var _0x177f20=_0x202ce0;return(_0x3aece4||this['formatter'])[_0x177f20(0x379)](this);}}),_0x491fc0=_0x305429[_0x202ce0(0x3bf)]={},_0x24279a=_0x491fc0['OpenSSL']={'stringify':function(_0x558e2d){var _0xa3db8f=_0x202ce0,_0x25e92c,_0x2c1001=_0x558e2d[_0xa3db8f(0x295)],_0x3f9a55=_0x558e2d[_0xa3db8f(0x374)];return _0x3f9a55?_0x25e92c=_0xee3567['create']([0x53616c74,0x65645f5f])['concat'](_0x3f9a55)[_0xa3db8f(0x43b)](_0x2c1001):_0x25e92c=_0x2c1001,_0x25e92c[_0xa3db8f(0x3ff)](_0x96f21e);},'parse':function(_0x573316){var _0x3aeef9=_0x202ce0,_0x42db84,_0x43bd11=_0x96f21e[_0x3aeef9(0x2d3)](_0x573316),_0x289ca3=_0x43bd11[_0x3aeef9(0x38f)];return _0x289ca3[0x0]==0x53616c74&&_0x289ca3[0x1]==0x65645f5f&&(_0x42db84=_0xee3567[_0x3aeef9(0x168)](_0x289ca3[_0x3aeef9(0x1cd)](0x2,0x4)),_0x289ca3[_0x3aeef9(0x3c9)](0x0,0x4),_0x43bd11[_0x3aeef9(0x2ec)]-=0x10),_0x18b838['create']({'ciphertext':_0x43bd11,'salt':_0x42db84});}},_0x4632f7=_0x1cd296[_0x202ce0(0x396)]=_0x195e0a[_0x202ce0(0x2a9)]({'cfg':_0x195e0a[_0x202ce0(0x2a9)]({'format':_0x24279a}),'encrypt':function(_0x375c38,_0x37d7ab,_0x521ba4,_0x398415){var _0x1d6df7=_0x202ce0;_0x398415=this[_0x1d6df7(0x436)][_0x1d6df7(0x2a9)](_0x398415);var _0xec606c=_0x375c38[_0x1d6df7(0x3d0)](_0x521ba4,_0x398415),_0x450f7b=_0xec606c[_0x1d6df7(0x43a)](_0x37d7ab),_0x168374=_0xec606c[_0x1d6df7(0x436)];return _0x18b838[_0x1d6df7(0x168)]({'ciphertext':_0x450f7b,'key':_0x521ba4,'iv':_0x168374['iv'],'algorithm':_0x375c38,'mode':_0x168374[_0x1d6df7(0x2a8)],'padding':_0x168374[_0x1d6df7(0x1ed)],'blockSize':_0x375c38[_0x1d6df7(0x30c)],'formatter':_0x398415['format']});},'decrypt':function(_0x2fda88,_0x191ff0,_0xcaff50,_0x147f9b){var _0x56e4b3=_0x202ce0;_0x147f9b=this[_0x56e4b3(0x436)][_0x56e4b3(0x2a9)](_0x147f9b),_0x191ff0=this[_0x56e4b3(0x360)](_0x191ff0,_0x147f9b[_0x56e4b3(0x3bf)]);var _0x487417=_0x2fda88['createDecryptor'](_0xcaff50,_0x147f9b)['finalize'](_0x191ff0['ciphertext']);return _0x487417;},'_parse':function(_0x351c2f,_0x3d8f49){var _0x3dc401=_0x202ce0;return typeof _0x351c2f==_0x3dc401(0x33e)?_0x3d8f49[_0x3dc401(0x2d3)](_0x351c2f,this):_0x351c2f;}}),_0x30d37f=_0x305429[_0x202ce0(0x2d1)]={},_0x21e7ec=_0x30d37f[_0x202ce0(0x37e)]={'execute':function(_0x3cd058,_0x3a058a,_0x29c2a4,_0x584054,_0x4b41d4){var _0x3e4a26=_0x202ce0;if(_0x584054||(_0x584054=_0xee3567[_0x3e4a26(0x1ea)](0x40/0x8)),_0x4b41d4)var _0x56b63d=_0x1345f4[_0x3e4a26(0x168)]({'keySize':_0x3a058a+_0x29c2a4,'hasher':_0x4b41d4})[_0x3e4a26(0x383)](_0x3cd058,_0x584054);else var _0x56b63d=_0x1345f4[_0x3e4a26(0x168)]({'keySize':_0x3a058a+_0x29c2a4})[_0x3e4a26(0x383)](_0x3cd058,_0x584054);var _0x17ea57=_0xee3567['create'](_0x56b63d['words']['slice'](_0x3a058a),_0x29c2a4*0x4);return _0x56b63d['sigBytes']=_0x3a058a*0x4,_0x18b838[_0x3e4a26(0x168)]({'key':_0x56b63d,'iv':_0x17ea57,'salt':_0x584054});}},_0x2d0faa=_0x1cd296['PasswordBasedCipher']=_0x4632f7[_0x202ce0(0x2a9)]({'cfg':_0x4632f7['cfg']['extend']({'kdf':_0x21e7ec}),'encrypt':function(_0x2cc518,_0x2d1efc,_0x2604c4,_0x40aa80){var _0x60652b=_0x202ce0;_0x40aa80=this[_0x60652b(0x436)][_0x60652b(0x2a9)](_0x40aa80);var _0x3c556e=_0x40aa80[_0x60652b(0x2d1)][_0x60652b(0x18e)](_0x2604c4,_0x2cc518['keySize'],_0x2cc518[_0x60652b(0x365)],_0x40aa80[_0x60652b(0x374)],_0x40aa80[_0x60652b(0x1fa)]);_0x40aa80['iv']=_0x3c556e['iv'];var _0x5f6161=_0x4632f7[_0x60652b(0x171)][_0x60652b(0x1a9)](this,_0x2cc518,_0x2d1efc,_0x3c556e[_0x60652b(0x40f)],_0x40aa80);return _0x5f6161['mixIn'](_0x3c556e),_0x5f6161;},'decrypt':function(_0x41753f,_0x3e7d0d,_0x103517,_0x1f9110){var _0x2e6a59=_0x202ce0;_0x1f9110=this['cfg'][_0x2e6a59(0x2a9)](_0x1f9110),_0x3e7d0d=this[_0x2e6a59(0x360)](_0x3e7d0d,_0x1f9110[_0x2e6a59(0x3bf)]);var _0x1c5209=_0x1f9110[_0x2e6a59(0x2d1)][_0x2e6a59(0x18e)](_0x103517,_0x41753f[_0x2e6a59(0x2db)],_0x41753f['ivSize'],_0x3e7d0d['salt'],_0x1f9110[_0x2e6a59(0x1fa)]);_0x1f9110['iv']=_0x1c5209['iv'];var _0x56a1a7=_0x4632f7[_0x2e6a59(0x3d8)]['call'](this,_0x41753f,_0x3e7d0d,_0x1c5209[_0x2e6a59(0x40f)],_0x1f9110);return _0x56a1a7;}});}();}));}(Je)),Je[_0x1e2784(0x3b5)];}var Tn=Ve['exports'],ti;function Cn(){var _0x49b1d8=_0x1bf9e4;return ti||(ti=0x1,function(_0x3ea17f,_0x24fefc){(function(_0x3bc13f,_0x3f89a7,_0x481cae){_0x3ea17f['exports']=_0x3f89a7(te(),bi(),vn(),yi(),Ni());}(Tn,function(_0x3b2dc1){var _0x578bc5=_0xcbfd;return(function(){var _0x3a2e96=_0xcbfd,_0x331595=_0x3b2dc1,_0x2395d8=_0x331595['lib'],_0x2899d4=_0x2395d8[_0x3a2e96(0x3dc)],_0x17de47=_0x331595['algo'],_0x41cf75=[],_0x27ba51=[],_0x685ec4=[],_0x193329=[],_0xb9c56d=[],_0x1f5195=[],_0x28825c=[],_0x55592b=[],_0x3dc463=[],_0x3f945a=[];(function(){for(var _0x4706cb=[],_0x34e55e=0x0;_0x34e55e<0x100;_0x34e55e++)_0x34e55e<0x80?_0x4706cb[_0x34e55e]=_0x34e55e<<0x1:_0x4706cb[_0x34e55e]=_0x34e55e<<0x1^0x11b;for(var _0x13e4c8=0x0,_0x4c6cee=0x0,_0x34e55e=0x0;_0x34e55e<0x100;_0x34e55e++){var _0x1f0422=_0x4c6cee^_0x4c6cee<<0x1^_0x4c6cee<<0x2^_0x4c6cee<<0x3^_0x4c6cee<<0x4;_0x1f0422=_0x1f0422>>>0x8^_0x1f0422&0xff^0x63,_0x41cf75[_0x13e4c8]=_0x1f0422,_0x27ba51[_0x1f0422]=_0x13e4c8;var _0x364f32=_0x4706cb[_0x13e4c8],_0x3e1251=_0x4706cb[_0x364f32],_0x4ecd1c=_0x4706cb[_0x3e1251],_0x2650d7=_0x4706cb[_0x1f0422]*0x101^_0x1f0422*0x1010100;_0x685ec4[_0x13e4c8]=_0x2650d7<<0x18|_0x2650d7>>>0x8,_0x193329[_0x13e4c8]=_0x2650d7<<0x10|_0x2650d7>>>0x10,_0xb9c56d[_0x13e4c8]=_0x2650d7<<0x8|_0x2650d7>>>0x18,_0x1f5195[_0x13e4c8]=_0x2650d7;var _0x2650d7=_0x4ecd1c*0x1010101^_0x3e1251*0x10001^_0x364f32*0x101^_0x13e4c8*0x1010100;_0x28825c[_0x1f0422]=_0x2650d7<<0x18|_0x2650d7>>>0x8,_0x55592b[_0x1f0422]=_0x2650d7<<0x10|_0x2650d7>>>0x10,_0x3dc463[_0x1f0422]=_0x2650d7<<0x8|_0x2650d7>>>0x18,_0x3f945a[_0x1f0422]=_0x2650d7,_0x13e4c8?(_0x13e4c8=_0x364f32^_0x4706cb[_0x4706cb[_0x4706cb[_0x4ecd1c^_0x364f32]]],_0x4c6cee^=_0x4706cb[_0x4706cb[_0x4c6cee]]):_0x13e4c8=_0x4c6cee=0x1;}}());var _0x1e9180=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2dc086=_0x17de47[_0x3a2e96(0x227)]=_0x2899d4[_0x3a2e96(0x2a9)]({'_doReset':function(){var _0xc61cd=_0x3a2e96,_0x51e0f5;if(!(this[_0xc61cd(0x2e8)]&&this['_keyPriorReset']===this[_0xc61cd(0x3b8)])){for(var _0x2e75ee=this[_0xc61cd(0x195)]=this['_key'],_0x1a25fa=_0x2e75ee[_0xc61cd(0x38f)],_0x50e110=_0x2e75ee[_0xc61cd(0x2ec)]/0x4,_0x8640a0=this[_0xc61cd(0x2e8)]=_0x50e110+0x6,_0x1f1a8f=(_0x8640a0+0x1)*0x4,_0xf7e11b=this[_0xc61cd(0x15f)]=[],_0x2f2c35=0x0;_0x2f2c35<_0x1f1a8f;_0x2f2c35++)_0x2f2c35<_0x50e110?_0xf7e11b[_0x2f2c35]=_0x1a25fa[_0x2f2c35]:(_0x51e0f5=_0xf7e11b[_0x2f2c35-0x1],_0x2f2c35%_0x50e110?_0x50e110>0x6&&_0x2f2c35%_0x50e110==0x4&&(_0x51e0f5=_0x41cf75[_0x51e0f5>>>0x18]<<0x18|_0x41cf75[_0x51e0f5>>>0x10&0xff]<<0x10|_0x41cf75[_0x51e0f5>>>0x8&0xff]<<0x8|_0x41cf75[_0x51e0f5&0xff]):(_0x51e0f5=_0x51e0f5<<0x8|_0x51e0f5>>>0x18,_0x51e0f5=_0x41cf75[_0x51e0f5>>>0x18]<<0x18|_0x41cf75[_0x51e0f5>>>0x10&0xff]<<0x10|_0x41cf75[_0x51e0f5>>>0x8&0xff]<<0x8|_0x41cf75[_0x51e0f5&0xff],_0x51e0f5^=_0x1e9180[_0x2f2c35/_0x50e110|0x0]<<0x18),_0xf7e11b[_0x2f2c35]=_0xf7e11b[_0x2f2c35-_0x50e110]^_0x51e0f5);for(var _0x46bb66=this[_0xc61cd(0x323)]=[],_0x445f74=0x0;_0x445f74<_0x1f1a8f;_0x445f74++){var _0x2f2c35=_0x1f1a8f-_0x445f74;if(_0x445f74%0x4)var _0x51e0f5=_0xf7e11b[_0x2f2c35];else var _0x51e0f5=_0xf7e11b[_0x2f2c35-0x4];_0x445f74<0x4||_0x2f2c35<=0x4?_0x46bb66[_0x445f74]=_0x51e0f5:_0x46bb66[_0x445f74]=_0x28825c[_0x41cf75[_0x51e0f5>>>0x18]]^_0x55592b[_0x41cf75[_0x51e0f5>>>0x10&0xff]]^_0x3dc463[_0x41cf75[_0x51e0f5>>>0x8&0xff]]^_0x3f945a[_0x41cf75[_0x51e0f5&0xff]];}}},'encryptBlock':function(_0x671a4c,_0x396b07){var _0x24bcf9=_0x3a2e96;this['_doCryptBlock'](_0x671a4c,_0x396b07,this[_0x24bcf9(0x15f)],_0x685ec4,_0x193329,_0xb9c56d,_0x1f5195,_0x41cf75);},'decryptBlock':function(_0x26faa0,_0x539c05){var _0x20e0fe=_0x3a2e96,_0x13d2bc=_0x26faa0[_0x539c05+0x1];_0x26faa0[_0x539c05+0x1]=_0x26faa0[_0x539c05+0x3],_0x26faa0[_0x539c05+0x3]=_0x13d2bc,this[_0x20e0fe(0x3af)](_0x26faa0,_0x539c05,this[_0x20e0fe(0x323)],_0x28825c,_0x55592b,_0x3dc463,_0x3f945a,_0x27ba51);var _0x13d2bc=_0x26faa0[_0x539c05+0x1];_0x26faa0[_0x539c05+0x1]=_0x26faa0[_0x539c05+0x3],_0x26faa0[_0x539c05+0x3]=_0x13d2bc;},'_doCryptBlock':function(_0x1796aa,_0x455d55,_0x426c19,_0x36e63f,_0x32e591,_0x3d3889,_0x296abc,_0x495d07){for(var _0x4aa029=this['_nRounds'],_0xb8502e=_0x1796aa[_0x455d55]^_0x426c19[0x0],_0x14a521=_0x1796aa[_0x455d55+0x1]^_0x426c19[0x1],_0xef9993=_0x1796aa[_0x455d55+0x2]^_0x426c19[0x2],_0x194602=_0x1796aa[_0x455d55+0x3]^_0x426c19[0x3],_0x9463ac=0x4,_0x5980f5=0x1;_0x5980f5<_0x4aa029;_0x5980f5++){var _0x5727f3=_0x36e63f[_0xb8502e>>>0x18]^_0x32e591[_0x14a521>>>0x10&0xff]^_0x3d3889[_0xef9993>>>0x8&0xff]^_0x296abc[_0x194602&0xff]^_0x426c19[_0x9463ac++],_0x3bbe9a=_0x36e63f[_0x14a521>>>0x18]^_0x32e591[_0xef9993>>>0x10&0xff]^_0x3d3889[_0x194602>>>0x8&0xff]^_0x296abc[_0xb8502e&0xff]^_0x426c19[_0x9463ac++],_0x4f5ac4=_0x36e63f[_0xef9993>>>0x18]^_0x32e591[_0x194602>>>0x10&0xff]^_0x3d3889[_0xb8502e>>>0x8&0xff]^_0x296abc[_0x14a521&0xff]^_0x426c19[_0x9463ac++],_0x80ffb7=_0x36e63f[_0x194602>>>0x18]^_0x32e591[_0xb8502e>>>0x10&0xff]^_0x3d3889[_0x14a521>>>0x8&0xff]^_0x296abc[_0xef9993&0xff]^_0x426c19[_0x9463ac++];_0xb8502e=_0x5727f3,_0x14a521=_0x3bbe9a,_0xef9993=_0x4f5ac4,_0x194602=_0x80ffb7;}var _0x5727f3=(_0x495d07[_0xb8502e>>>0x18]<<0x18|_0x495d07[_0x14a521>>>0x10&0xff]<<0x10|_0x495d07[_0xef9993>>>0x8&0xff]<<0x8|_0x495d07[_0x194602&0xff])^_0x426c19[_0x9463ac++],_0x3bbe9a=(_0x495d07[_0x14a521>>>0x18]<<0x18|_0x495d07[_0xef9993>>>0x10&0xff]<<0x10|_0x495d07[_0x194602>>>0x8&0xff]<<0x8|_0x495d07[_0xb8502e&0xff])^_0x426c19[_0x9463ac++],_0x4f5ac4=(_0x495d07[_0xef9993>>>0x18]<<0x18|_0x495d07[_0x194602>>>0x10&0xff]<<0x10|_0x495d07[_0xb8502e>>>0x8&0xff]<<0x8|_0x495d07[_0x14a521&0xff])^_0x426c19[_0x9463ac++],_0x80ffb7=(_0x495d07[_0x194602>>>0x18]<<0x18|_0x495d07[_0xb8502e>>>0x10&0xff]<<0x10|_0x495d07[_0x14a521>>>0x8&0xff]<<0x8|_0x495d07[_0xef9993&0xff])^_0x426c19[_0x9463ac++];_0x1796aa[_0x455d55]=_0x5727f3,_0x1796aa[_0x455d55+0x1]=_0x3bbe9a,_0x1796aa[_0x455d55+0x2]=_0x4f5ac4,_0x1796aa[_0x455d55+0x3]=_0x80ffb7;},'keySize':0x100/0x20});_0x331595[_0x3a2e96(0x227)]=_0x2899d4[_0x3a2e96(0x3d4)](_0x2dc086);}()),_0x3b2dc1[_0x578bc5(0x227)];}));}(Ve)),Ve[_0x49b1d8(0x3b5)];}var Rn=Cn();const On=$e(Rn);var bn=bi();const ii=$e(bn);var Xe={'exports':{}},yn=Xe[_0x1bf9e4(0x3b5)],si;function Nn(){var _0x5abd45=_0x1bf9e4;return si||(si=0x1,function(_0x1c69fb,_0xbfc8b2){(function(_0x21e035,_0x2e9e00){var _0x25490f=_0xcbfd;_0x1c69fb[_0x25490f(0x3b5)]=_0x2e9e00(te());}(yn,function(_0x177936){var _0x4abb52=_0xcbfd;return _0x177936[_0x4abb52(0x24e)][_0x4abb52(0x2f4)];}));}(Xe)),Xe[_0x5abd45(0x3b5)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x1bf9e4(0x3b5)],ni;function wn(){var _0x3f85e0=_0x1bf9e4;return ni||(ni=0x1,function(_0x1c5b40,_0x5b5911){(function(_0xa218fb,_0x2fb1e2){_0x1c5b40['exports']=_0x2fb1e2(te());}(An,function(_0x3a2f88){var _0x57ad97=_0xcbfd;return(function(){var _0x56cd8a=_0xcbfd;if(typeof ArrayBuffer==_0x56cd8a(0x2b1)){var _0x482f78=_0x3a2f88,_0x66e1cc=_0x482f78[_0x56cd8a(0x461)],_0x542feb=_0x66e1cc[_0x56cd8a(0x3b1)],_0xddd72c=_0x542feb[_0x56cd8a(0x299)],_0x39b824=_0x542feb['init']=function(_0x2838da){var _0x180c8a=_0x56cd8a;if(_0x2838da instanceof ArrayBuffer&&(_0x2838da=new Uint8Array(_0x2838da)),(_0x2838da instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2838da instanceof Uint8ClampedArray||_0x2838da instanceof Int16Array||_0x2838da instanceof Uint16Array||_0x2838da instanceof Int32Array||_0x2838da instanceof Uint32Array||_0x2838da instanceof Float32Array||_0x2838da instanceof Float64Array)&&(_0x2838da=new Uint8Array(_0x2838da['buffer'],_0x2838da[_0x180c8a(0x40c)],_0x2838da[_0x180c8a(0x2c6)])),_0x2838da instanceof Uint8Array){for(var _0x513cd7=_0x2838da['byteLength'],_0x2f27f2=[],_0x452af8=0x0;_0x452af8<_0x513cd7;_0x452af8++)_0x2f27f2[_0x452af8>>>0x2]|=_0x2838da[_0x452af8]<<0x18-_0x452af8%0x4*0x8;_0xddd72c['call'](this,_0x2f27f2,_0x513cd7);}else _0xddd72c[_0x180c8a(0x458)](this,arguments);};_0x39b824[_0x56cd8a(0x1da)]=_0x542feb;}}()),_0x3a2f88['lib'][_0x57ad97(0x3b1)];}));}(Ze)),Ze[_0x3f85e0(0x3b5)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x1bf9e4(0x3b5)],ri;function xn(){var _0x4ff9a9=_0x1bf9e4;return ri||(ri=0x1,function(_0x9a5065,_0x2e5223){(function(_0x48e6f9,_0x380585,_0x40a94c){var _0x221772=_0xcbfd;_0x9a5065[_0x221772(0x3b5)]=_0x380585(te(),Ni());}(Mn,function(_0x4ce027){var _0x524890=_0xcbfd;return _0x4ce027[_0x524890(0x468)][_0x524890(0x1ba)]={'pad':function(){},'unpad':function(){}},_0x4ce027['pad'][_0x524890(0x1ba)];}));}(Qe)),Qe[_0x4ff9a9(0x3b5)];}var kn=xn();const $n=$e(kn);function Hn(_0xc6e295,_0x4d8fdf){var _0x207f92=_0x1bf9e4;const _0x4558a3=_0x4d8fdf-_0xc6e295['length']%_0x4d8fdf,_0x2671fc=String['fromCharCode'](_0x4558a3)[_0x207f92(0x22c)](_0x4558a3);return _0xc6e295+_0x2671fc;}function Bn(_0x2e22c1,_0xe511b8){var _0x416423=_0x1bf9e4;const _0x30859f=Ln['random'](0x10),_0x3f4ca2=Hn(_0x2e22c1,0x10),_0x1978a7=On[_0x416423(0x171)](Un['parse'](_0x3f4ca2),ii['parse'](_0xe511b8),{'iv':_0x30859f,'padding':$n});return _0x30859f[_0x416423(0x43b)](_0x1978a7[_0x416423(0x295)])[_0x416423(0x3ff)](ii);}function jn(){var _0x3913ea=_0x1bf9e4;const _0x349915=_0x40af40()['__Key__'];if(_0x349915){const _0x16683a={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x3913ea(0x267)]};return Bn(JSON[_0x3913ea(0x379)](_0x16683a),_0x349915);}}var Fn=Object[_0x1bf9e4(0x241)],Vn=(_0x11962c,_0x21c6b9,_0x43f9b4,_0x3f908f)=>{var _0x46e83d=_0x1bf9e4;for(var _0x4d0848=_0x3f908f>0x1?void 0x0:_0x3f908f?Fn(_0x21c6b9,_0x43f9b4):_0x21c6b9,_0x461ff1=_0x11962c[_0x46e83d(0x2fd)]-0x1,_0x5c7883;_0x461ff1>=0x0;_0x461ff1--)(_0x5c7883=_0x11962c[_0x461ff1])&&(_0x4d0848=_0x5c7883(_0x4d0848)||_0x4d0848);return _0x4d0848;},Gn=(_0x351a78,_0x3e7915)=>(_0x211bab,_0x431b57)=>_0x3e7915(_0x211bab,_0x431b57,_0x351a78);let at=class{constructor(_0x29b1ea){var _0x38bad9=_0x1bf9e4;this[_0x38bad9(0x2e9)]=_0x29b1ea,this[_0x38bad9(0x25d)]();}[_0x1bf9e4(0x25d)](){var _0x572101=_0x1bf9e4;this[_0x572101(0x2e9)][_0x572101(0x43e)]({'interceptor':(_0x46d3ed,_0x5e66aa)=>{var _0x587db3=_0x572101;const _0x59f38d=_0x46d3ed[_0x587db3(0x3df)],_0xd3503b=jn();return _0xd3503b&&_0x59f38d[_0x587db3(0x1f3)](_0x587db3(0x378),_0xd3503b),_0x5e66aa(_0x46d3ed);}});}};at=Vn([Gn(0x0,_0x1eb2b7(_0x4a6b11))],at);var Yn=Object[_0x1bf9e4(0x241)],Wn=(_0x4210e9,_0x323ecc,_0x954df2,_0x8c9b6d)=>{var _0x1f57ab=_0x1bf9e4;for(var _0x1a9c6f=_0x8c9b6d>0x1?void 0x0:_0x8c9b6d?Yn(_0x323ecc,_0x954df2):_0x323ecc,_0x872094=_0x4210e9[_0x1f57ab(0x2fd)]-0x1,_0x52cbaa;_0x872094>=0x0;_0x872094--)(_0x52cbaa=_0x4210e9[_0x872094])&&(_0x1a9c6f=_0x52cbaa(_0x1a9c6f)||_0x1a9c6f);return _0x1a9c6f;},vt=(_0x4892b3,_0x3411c7)=>(_0x4931d1,_0x9f5835)=>_0x3411c7(_0x4931d1,_0x9f5835,_0x4892b3);let Ct=class extends _0x3f1edd{constructor(_0x3f2d60,_0x470065,_0x4fcc32){var _0x1ebc0c=_0x1bf9e4;super(),N(this,_0x1ebc0c(0x2a0),new _0x320cd9(null)),N(this,'unitInfo$',this[_0x1ebc0c(0x2a0)][_0x1ebc0c(0x332)]()),(this[_0x1ebc0c(0x254)]=_0x3f2d60,this[_0x1ebc0c(0x16c)]=_0x470065,this['_localCacheService']=_0x4fcc32);}async[_0x1bf9e4(0x39c)](_0x835ea3,_0x120c24,_0x2cf97e){var _0x2451dd=_0x1bf9e4;this['_unitInfo$'][_0x2451dd(0x232)]({'unitId':_0x835ea3,'type':_0x120c24});let _0x23cb49=null;switch(_0x120c24){case Z[_0x2451dd(0x1ec)]:{_0x23cb49=await this[_0x2451dd(0x16c)][_0x2451dd(0x465)](_0x835ea3,_0x2cf97e);break;}case Z['UNIVER_DOC']:{_0x23cb49=await this[_0x2451dd(0x16c)][_0x2451dd(0x45f)](_0x835ea3,_0x2cf97e);break;}default:{this[_0x2451dd(0x254)][_0x2451dd(0x197)]('[DataLoaderService]',_0x2451dd(0x2bf));break;}}return _0x23cb49;}async['loadUnit'](_0x59f27c,_0x134c74,_0x1c014b){var _0x2828f0=_0x1bf9e4,_0x5efbf1;this[_0x2828f0(0x2a0)][_0x2828f0(0x232)]({'unitId':_0x59f27c,'type':_0x134c74,'subUnitId':_0x1c014b});let _0x509445=0x0;const _0x19d93b=await((_0x5efbf1=this[_0x2828f0(0x2c0)])==null?void 0x0:_0x5efbf1[_0x2828f0(0x31c)](_0x59f27c));return _0x19d93b&&(_0x19d93b['awaitingChangeset']||_0x19d93b[_0x2828f0(0x3a6)][_0x2828f0(0x2fd)]!==0x0)&&(_0x509445=_0x19d93b['rev']),_0x509445===0x0&&this['_logService']['debug']('[DataLoaderService]',_0x2828f0(0x3cd)),this[_0x2828f0(0x39c)](_0x59f27c,_0x134c74,_0x509445);}};Ct=Wn([vt(0x0,_0x4020c),vt(0x1,_0x1eb2b7(_0x564bfd)),vt(0x2,_0x471747(J))],Ct);var Kn=Object[_0x1bf9e4(0x241)],qn=(_0x2f7563,_0xad1bca,_0x266ccc,_0x2d715a)=>{var _0x49fbfb=_0x1bf9e4;for(var _0x3e3cd7=_0x2d715a>0x1?void 0x0:_0x2d715a?Kn(_0xad1bca,_0x266ccc):_0xad1bca,_0x38144b=_0x2f7563[_0x49fbfb(0x2fd)]-0x1,_0x136841;_0x38144b>=0x0;_0x38144b--)(_0x136841=_0x2f7563[_0x38144b])&&(_0x3e3cd7=_0x136841(_0x3e3cd7)||_0x3e3cd7);return _0x3e3cd7;},pt=(_0x3b8d54,_0x4654ab)=>(_0x56cf25,_0x22f416)=>_0x4654ab(_0x56cf25,_0x22f416,_0x3b8d54);const zn=[_0x1bf9e4(0x32a),_0x1bf9e4(0x179),_0x1bf9e4(0x41c),_0x1bf9e4(0x450),_0x1bf9e4(0x2cd)],Jn=0x5*0x400*0x400,Xn=_0x1bf9e4(0x263),Zn=_0x1bf9e4(0x183),Qn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',er='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x35356c,_0x1cb50b,_0x5aea8e){var _0x3ad179=_0x1bf9e4;N(this,_0x3ad179(0x15c),0x0),N(this,_0x3ad179(0x431),new _0x3b4cf0()),N(this,_0x3ad179(0x330),this[_0x3ad179(0x431)]),N(this,'_imageSourceCache',new Map()),(this[_0x3ad179(0x2e9)]=_0x35356c,this[_0x3ad179(0x1f9)]=_0x1cb50b,this[_0x3ad179(0x432)]=_0x5aea8e);}['setWaitCount'](_0xee3513){var _0x5043c0=_0x1bf9e4;this[_0x5043c0(0x15c)]=_0xee3513,this['_change$'][_0x5043c0(0x232)](_0xee3513);}[_0x1bf9e4(0x1a1)](_0x45cf40,_0x1dfe9e){var _0x87430a=_0x1bf9e4;if(_0x1dfe9e===_0x18d0bc[_0x87430a(0x469)]){const _0x23f652=new Image();return _0x23f652['src']=_0x45cf40,_0x23f652;}return this[_0x87430a(0x2de)][_0x87430a(0x27c)](_0x45cf40);}[_0x1bf9e4(0x2f9)](_0x30bbe4,_0x4fa1fb,_0x496a54){var _0x5cd457=_0x1bf9e4;_0x4fa1fb===_0x18d0bc['BASE64']||_0x496a54==null||this[_0x5cd457(0x2de)]['set'](_0x30bbe4,_0x496a54);}async[_0x1bf9e4(0x3e7)](_0x23a2fb){var _0x1bf6dd=_0x1bf9e4;try{const _0x4d602c=this[_0x1bf6dd(0x1df)](this['_getSignURL'](),''+_0x23a2fb),_0x3e99cb=(await this[_0x1bf6dd(0x2e9)][_0x1bf6dd(0x27c)](_0x4d602c))[_0x1bf6dd(0x457)];if(_0x3e99cb[_0x1bf6dd(0x197)]&&_0x3e99cb['error'][_0x1bf6dd(0x20f)]===pi['OK']){const _0x25be30=new URL(_0x3e99cb['url'],this[_0x1bf6dd(0x33c)]())['toString']();return Promise[_0x1bf6dd(0x3c0)](_0x25be30);}return Promise['reject'](_0x3e99cb[_0x1bf6dd(0x197)]);}catch(_0x559eda){return Promise[_0x1bf6dd(0x27b)](_0x559eda);}}async[_0x1bf9e4(0x253)](_0x49f1c3){var _0x166599=_0x1bf9e4;let _0x23fc43='';if(!zn[_0x166599(0x2b6)](_0x49f1c3[_0x166599(0x17c)]))return this[_0x166599(0x3bd)](),Promise[_0x166599(0x27b)](new Error(_0x3a7256[_0x166599(0x34e)]));if(_0x49f1c3[_0x166599(0x291)]>Jn)return this[_0x166599(0x3bd)](),Promise['reject'](new Error(_0x3a7256[_0x166599(0x199)]));try{const _0x2ada82=new FormData();_0x2ada82[_0x166599(0x30f)]('file',_0x49f1c3);const _0x9ab946=this[_0x166599(0x432)]['getFocusedUnit'](),_0x145854=_0x9ab946==null?void 0x0:_0x9ab946[_0x166599(0x416)]();if(!_0x145854)throw new Error(_0x166599(0x3ca));const _0x9c2f2d=this['_getUploadFileURL']()+'?size='+_0x49f1c3[_0x166599(0x291)][_0x166599(0x3ff)]()+_0x166599(0x238)+mi[_0x166599(0x2d0)]+'&assign='+encodeURIComponent(_0x145854),_0x1a1680={'body':_0x2ada82},_0x488fde=(await this[_0x166599(0x2e9)][_0x166599(0x22d)](_0x9c2f2d,_0x1a1680))[_0x166599(0x457)];if(typeof _0x488fde[_0x166599(0x2e3)]!='string')return this['_decreaseWaiting'](),Promise[_0x166599(0x27b)](new Error(_0x3a7256[_0x166599(0x26a)]));_0x23fc43=_0x488fde[_0x166599(0x2e3)];}catch{return this[_0x166599(0x3bd)](),Promise[_0x166599(0x27b)](new Error(_0x3a7256[_0x166599(0x26a)]));}return new Promise((_0x324cfe,_0x55d685)=>{const _0x4e1644=new FileReader();_0x4e1644['readAsDataURL'](_0x49f1c3),_0x4e1644['onload']=_0x5352e2=>{var _0x2e0499=_0xcbfd,_0x2f5bd9;const _0x487a7e=(_0x2f5bd9=_0x5352e2[_0x2e0499(0x283)])==null?void 0x0:_0x2f5bd9['result'];if(_0x487a7e==null){this['_decreaseWaiting'](),_0x55d685(new Error(_0x3a7256[_0x2e0499(0x26a)]));return;}const _0x187ff1=_0x1e6211[_0x2e0499(0x327)](0x6);_0x324cfe({'imageId':_0x187ff1,'imageSourceType':_0x18d0bc['UUID'],'source':_0x23fc43,'base64Cache':_0x487a7e,'status':_0x3a7256[_0x2e0499(0x3e9)]}),this[_0x2e0499(0x3bd)]();};});}[_0x1bf9e4(0x363)](){var _0x28780c=_0x1bf9e4,_0x174b5e,_0x49cf1e;const _0xe6af5e=this[_0x28780c(0x1f9)][_0x28780c(0x17d)](Xn),_0x50f7c3=this['_configService'][_0x28780c(0x17d)](K);return(_0x49cf1e=(_0x174b5e=_0x50f7c3==null?void 0x0:_0x50f7c3[_0x28780c(0x277)])!=null?_0x174b5e:_0xe6af5e)!=null?_0x49cf1e:Zn;}['_getSignURL'](){var _0xb11f19=_0x1bf9e4,_0x5176b5,_0x150be2;const _0x2e69a4=this[_0xb11f19(0x1f9)][_0xb11f19(0x17d)](Qn),_0x527140=this[_0xb11f19(0x1f9)][_0xb11f19(0x17d)](K);return(_0x150be2=(_0x5176b5=_0x527140==null?void 0x0:_0x527140[_0xb11f19(0x452)])!=null?_0x5176b5:_0x2e69a4)!=null?_0x150be2:er;}[_0x1bf9e4(0x33c)](){var _0x218f35=_0x1bf9e4,_0x32d6c8;const _0x1e0181=this[_0x218f35(0x1f9)][_0x218f35(0x17d)](K);return(_0x32d6c8=_0x1e0181==null?void 0x0:_0x1e0181[_0x218f35(0x3e1)])!=null?_0x32d6c8:location['origin'];}[_0x1bf9e4(0x1df)](_0x54b6b3,_0x439d63){var _0x1188d0=_0x1bf9e4;return _0x54b6b3[_0x1188d0(0x328)]('{fileID}',_0x439d63);}['_decreaseWaiting'](){var _0x999bd3=_0x1bf9e4;this[_0x999bd3(0x15c)]-=0x1,this['_change$'][_0x999bd3(0x232)](this['_waitCount']);}};Rt=qn([pt(0x0,_0x1eb2b7(_0x4a6b11)),pt(0x1,_0x2711b7),pt(0x2,_0x1eb2b7(_0x1dd505))],Rt);var tr=Object[_0x1bf9e4(0x241)],ir=(_0x5b05fa,_0x31d397,_0x38b0ea,_0x4e8f1d)=>{var _0x2c612b=_0x1bf9e4;for(var _0x40b4d8=_0x4e8f1d>0x1?void 0x0:_0x4e8f1d?tr(_0x31d397,_0x38b0ea):_0x31d397,_0x459085=_0x5b05fa[_0x2c612b(0x2fd)]-0x1,_0x58d564;_0x459085>=0x0;_0x459085--)(_0x58d564=_0x5b05fa[_0x459085])&&(_0x40b4d8=_0x58d564(_0x40b4d8)||_0x40b4d8);return _0x40b4d8;},ai=(_0xface77,_0x28e2d3)=>(_0x327c71,_0x5430c2)=>_0x28e2d3(_0x327c71,_0x5430c2,_0xface77);const sr=_0x1bf9e4(0x1d1);let Ot=class{constructor(_0x49d449,_0x317b3a){var _0x27e7df=_0x1bf9e4;this[_0x27e7df(0x1f9)]=_0x49d449,this[_0x27e7df(0x448)]=_0x317b3a;}[_0x1bf9e4(0x31e)](){var _0x192061=_0x1bf9e4,_0x3bbf77,_0x74f38d;const _0x1e9679=this['_configService'][_0x192061(0x17d)](Oi),_0x2b5f81=this[_0x192061(0x1f9)][_0x192061(0x17d)](K);return(_0x74f38d=(_0x3bbf77=_0x2b5f81==null?void 0x0:_0x2b5f81[_0x192061(0x313)])!=null?_0x3bbf77:_0x1e9679)!=null?_0x74f38d:sr;}async[_0x1bf9e4(0x2be)](_0x485313){var _0x2b5329=_0x1bf9e4;const _0x235e8d=this['_getAPIPrefixPath']()+_0x2b5329(0x401);return{'list':[{'title':_0x2b5329(0x272),'mentions':(await this[_0x2b5329(0x448)][_0x2b5329(0x27c)](_0x235e8d,{'params':{'objectID':_0x485313[_0x2b5329(0x26d)],'unitID':_0x485313['unitId']}}))[_0x2b5329(0x457)][_0x2b5329(0x3e5)][_0x2b5329(0x2aa)](_0x531855=>({'objectId':_0x531855['id'],'name':_0x531855[_0x2b5329(0x40a)][_0x2b5329(0x350)],'metadata':{'icon':_0x531855[_0x2b5329(0x40a)][_0x2b5329(0x2fa)]},'label':_0x531855[_0x2b5329(0x40a)][_0x2b5329(0x350)],'objectType':_0x2d6580['PERSON']})),'metadata':{},'type':_0x2d6580[_0x2b5329(0x34d)]}]};}};Ot=ir([ai(0x0,_0x1eb2b7(_0x2711b7)),ai(0x1,_0x1eb2b7(_0x4a6b11))],Ot);var nr=Object[_0x1bf9e4(0x241)],rr=(_0x14e656,_0x31e78e,_0x5e67c0,_0x422524)=>{var _0x2216af=_0x1bf9e4;for(var _0xc6a7d1=_0x422524>0x1?void 0x0:_0x422524?nr(_0x31e78e,_0x5e67c0):_0x31e78e,_0x3b82c2=_0x14e656[_0x2216af(0x2fd)]-0x1,_0x3feef8;_0x3b82c2>=0x0;_0x3b82c2--)(_0x3feef8=_0x14e656[_0x3b82c2])&&(_0xc6a7d1=_0x3feef8(_0xc6a7d1)||_0xc6a7d1);return _0xc6a7d1;},Ae=(_0x1c05d5,_0x366b43)=>(_0x2a53a7,_0x52cfcd)=>_0x366b43(_0x2a53a7,_0x52cfcd,_0x1c05d5);let ot=class extends _0x3f1edd{constructor(_0x578509,_0x16111d,_0x407f59,_0x205805,_0x27e1a3){var _0x25695a=_0x1bf9e4;super(),this[_0x25695a(0x2b7)]=_0x578509,this[_0x25695a(0x432)]=_0x16111d,this[_0x25695a(0x26e)]=_0x407f59,this[_0x25695a(0x29a)]=_0x205805,this['_collaborationUIEventService']=_0x27e1a3,this[_0x25695a(0x2ac)](),this[_0x25695a(0x3cc)]();}[_0x1bf9e4(0x3cc)](){var _0x4bf9fe=_0x1bf9e4;const _0x3de868=async _0x2d182b=>{var _0x13e812=_0xcbfd;(await this[_0x13e812(0x29a)][_0x13e812(0x2d8)](_0x2d182b))['event$'][_0x13e812(0x29b)](_0x1b0e17(_0x2be876=>_0x2be876['eventID']===_0x40976b[_0x13e812(0x45d)]),_0xab55ca(this[_0x13e812(0x31a)]))['subscribe'](_0x3f77ed=>{var _0x8c6ad4=_0x13e812;const _0x161888=_0x3f77ed,{reason:_0x444b2a}=_0x161888[_0x8c6ad4(0x1c7)];this[_0x8c6ad4(0x203)][_0x8c6ad4(0x463)]({'id':ne[_0x8c6ad4(0x2ed)],'data':_0x444b2a}),this[_0x8c6ad4(0x26e)][_0x8c6ad4(0x27a)](new _0x158a95(_0x2d182b)['id'],!0x1),this[_0x8c6ad4(0x29a)][_0x8c6ad4(0x322)](_0x2d182b);});};_0x539a72(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2f1c63[_0x4bf9fe(0x1ec)]),this[_0x4bf9fe(0x432)][_0x4bf9fe(0x1c5)](_0x2f1c63[_0x4bf9fe(0x18d)]))[_0x4bf9fe(0x29b)](_0xe868af(_0x399beb=>_0x399beb['getUnitId']()),_0x1b0e17(_0x2be16b=>!_0x2c0233(_0x2be16b)),_0xab55ca(this[_0x4bf9fe(0x31a)]))[_0x4bf9fe(0x262)](_0x2b45ca=>{_0x3de868(_0x2b45ca);});}[_0x1bf9e4(0x2ac)](){var _0x2e0f23=_0x1bf9e4;const _0x52ce1c=async _0x2d9e1b=>{var _0x5494c2=_0xcbfd;const _0x29455c=await this[_0x5494c2(0x29a)][_0x5494c2(0x2d8)](_0x2d9e1b),_0x5ac942=this[_0x5494c2(0x2b7)][_0x5494c2(0x27c)](_0x4728e4);_0x29455c[_0x5494c2(0x1ca)][_0x5494c2(0x29b)](_0x1b0e17(_0x5658ae=>_0x5658ae['eventID']===_0x40976b[_0x5494c2(0x44f)]),_0xab55ca(this['dispose$']))[_0x5494c2(0x262)](_0x4c2ffd=>{var _0x3b8640=_0x5494c2;const _0x317ed6=_0x4c2ffd,{objectId:_0x59c0d0}=_0x317ed6[_0x3b8640(0x1c7)];_0x59c0d0===_0x2d9e1b?_0x5ac942[_0x3b8640(0x447)](_0x2d9e1b):_0x5ac942[_0x3b8640(0x405)](_0x2d9e1b,_0x59c0d0);});};_0x539a72(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2f1c63[_0x2e0f23(0x1ec)]))['pipe'](_0xe868af(_0x2390ac=>_0x2390ac[_0x2e0f23(0x416)]()),_0x1b0e17(_0x3f37ac=>!_0x2c0233(_0x3f37ac)),_0xab55ca(this[_0x2e0f23(0x31a)]))['subscribe'](_0x3ab7fd=>{_0x52ce1c(_0x3ab7fd);});}};ot=rr([Ae(0x0,_0x1eb2b7(_0x3ba5a5)),Ae(0x1,_0x1dd505),Ae(0x2,_0x4eca75),Ae(0x3,_0x1eb2b7(Le)),Ae(0x4,_0x1eb2b7(ve))],ot);var ar=Object['getOwnPropertyDescriptor'],or=(_0x107fdb,_0x2e339a,_0x18dbe9,_0x4666ba)=>{var _0x376230=_0x1bf9e4;for(var _0x57ed9a=_0x4666ba>0x1?void 0x0:_0x4666ba?ar(_0x2e339a,_0x18dbe9):_0x2e339a,_0x2610b8=_0x107fdb[_0x376230(0x2fd)]-0x1,_0x4a94ad;_0x2610b8>=0x0;_0x2610b8--)(_0x4a94ad=_0x107fdb[_0x2610b8])&&(_0x57ed9a=_0x4a94ad(_0x57ed9a)||_0x57ed9a);return _0x57ed9a;},oi=(_0x24cbf6,_0x479570)=>(_0x4194ca,_0x57c8b2)=>_0x479570(_0x4194ca,_0x57c8b2,_0x24cbf6);let bt=class{constructor(_0x366bec,_0x5ba674){var _0x353b4d=_0x1bf9e4;this[_0x353b4d(0x1f9)]=_0x366bec,this[_0x353b4d(0x2e9)]=_0x5ba674;}async[_0x1bf9e4(0x27e)](_0x537da8,_0x48d92c){var _0x25ef6f=_0x1bf9e4,_0x40afd0;const {unitID:_0x6b5fc4,type:_0x128672,revision:_0x38299f=0x0}=_0x48d92c,_0x326286=this[_0x25ef6f(0x2e2)]()+'/'+_0x128672+'/unit/'+_0x6b5fc4+_0x25ef6f(0x3aa)+_0x38299f,_0x53bfe9=(await this[_0x25ef6f(0x2e9)]['get'](_0x326286))[_0x25ef6f(0x457)],_0x37c0e9=(_0x40afd0=_0x53bfe9[_0x25ef6f(0x1d2)])==null?void 0x0:_0x40afd0[_0x25ef6f(0x42d)];if(_0x37c0e9){const _0x2723f6=_0x37c0e9==null?void 0x0:_0x37c0e9[_0x25ef6f(0x22b)],_0x11d371=_0x155d8a[_0x25ef6f(0x2b5)](_0x500fc0(_0x2723f6));_0x37c0e9[_0x25ef6f(0x22b)]=_0x11d371,Object[_0x25ef6f(0x25f)](_0x37c0e9[_0x25ef6f(0x2c5)])[_0x25ef6f(0x33a)](([,_0x23f7e6])=>{var _0x327ba6=_0x25ef6f;const _0x3c0495=_0x23f7e6[_0x327ba6(0x22b)],_0xfa5dff=_0x155d8a[_0x327ba6(0x2b5)](_0x500fc0(_0x3c0495));_0x23f7e6[_0x327ba6(0x22b)]=_0xfa5dff;});}return _0x53bfe9;}async[_0x1bf9e4(0x415)](_0x52df21,_0x3c5736){var _0x33bcaf=_0x1bf9e4;const {unitID:_0x20c473,type:_0x1c4369,blockID:_0x5568af}=_0x3c5736,_0x1b5945=this['_getAPIPrefix']()+'/'+_0x1c4369+_0x33bcaf(0x2fe)+_0x20c473+_0x33bcaf(0x3ad)+_0x5568af;return(await this[_0x33bcaf(0x2e9)][_0x33bcaf(0x27c)](_0x1b5945))[_0x33bcaf(0x457)];}async[_0x1bf9e4(0x35d)](_0x483f38,_0x271513){var _0x469187=_0x1bf9e4;const {unitID:_0x23950d,type:_0x5b927e,blockID:_0x9102d1}=_0x271513,_0x61fb18=this[_0x469187(0x229)]()+'/block/'+_0x5b927e+'/unit/'+_0x23950d+_0x469187(0x3ad)+_0x9102d1;return(await this['_httpService'][_0x469187(0x27c)](_0x61fb18))['body'];}async[_0x1bf9e4(0x161)](_0x5994d4,_0x5c84a2){var _0x178a9b=_0x1bf9e4;const {unitID:_0x289ea5,type:_0x4775ce,from:_0x296c32,to:_0x9a7b57}=_0x5c84a2,_0x23a84c=this[_0x178a9b(0x229)]()+'/'+_0x4775ce+'/unit/'+_0x289ea5+'/fetchmissing?from='+_0x296c32+'&to='+_0x9a7b57;return(await this[_0x178a9b(0x2e9)][_0x178a9b(0x27c)](_0x23a84c))[_0x178a9b(0x457)];}[_0x1bf9e4(0x2e2)](){var _0x71b162=_0x1bf9e4,_0x19f7f1;return(_0x19f7f1=this[_0x71b162(0x1f9)][_0x71b162(0x17d)](ps))!=null?_0x19f7f1:this[_0x71b162(0x229)]();}[_0x1bf9e4(0x229)](){var _0x4a955d=_0x1bf9e4,_0x58410c,_0x5c0c98;const _0x164caf=this['_configService'][_0x4a955d(0x17d)](fs),_0x4248c9=this[_0x4a955d(0x1f9)]['getConfig'](K);return(_0x5c0c98=(_0x58410c=_0x4248c9==null?void 0x0:_0x4248c9[_0x4a955d(0x180)])!=null?_0x58410c:_0x164caf)!=null?_0x5c0c98:vs;}async['getResourcesRequest'](_0x3f85ed,_0xad2932){var _0x7fd3a7=_0x1bf9e4;const _0x2b164a='/universer-api/snapshot/'+_0xad2932[_0x7fd3a7(0x17c)]+_0x7fd3a7(0x2fe)+_0xad2932[_0x7fd3a7(0x3fa)]+'/resources';return(await this[_0x7fd3a7(0x2e9)][_0x7fd3a7(0x27c)](_0x2b164a,{'params':{'resourceId':JSON[_0x7fd3a7(0x379)](_0xad2932[_0x7fd3a7(0x355)])}}))[_0x7fd3a7(0x457)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1bf9e4(0x425)](){var _0x180918=_0x1bf9e4;throw new Error(_0x180918(0x16b));}[_0x1bf9e4(0x2c8)](){var _0xe2994b=_0x1bf9e4;throw new Error(_0xe2994b(0x16b));}[_0x1bf9e4(0x165)](){var _0x254939=_0x1bf9e4;throw new Error(_0x254939(0x16b));}[_0x1bf9e4(0x1c8)](){var _0x55b398=_0x1bf9e4;throw new Error(_0x55b398(0x16b));}[_0x1bf9e4(0x19b)](){var _0x59311c=_0x1bf9e4;throw new Error(_0x59311c(0x16b));}};bt=or([oi(0x0,_0x2711b7),oi(0x1,_0x1eb2b7(_0x4a6b11))],bt);var cr=Object[_0x1bf9e4(0x241)],hr=(_0x449fa2,_0x143aa5,_0x14c960,_0x19e989)=>{for(var _0x1b600d=_0x19e989>0x1?void 0x0:_0x19e989?cr(_0x143aa5,_0x14c960):_0x143aa5,_0x4c1873=_0x449fa2['length']-0x1,_0x4b0919;_0x4c1873>=0x0;_0x4c1873--)(_0x4b0919=_0x449fa2[_0x4c1873])&&(_0x1b600d=_0x4b0919(_0x1b600d)||_0x1b600d);return _0x1b600d;},we=(_0x5aa6ad,_0x25d66d)=>(_0x222478,_0x46acf0)=>_0x25d66d(_0x222478,_0x46acf0,_0x5aa6ad);let yt=class extends _0x556fe9{constructor(_0x2231c0,_0x51f8d6,_0x591a1e,_0x4a6756,_0x2f7f45){var _0x5c9d1c=_0x1bf9e4;super(_0x2231c0,_0x51f8d6,_0x591a1e),this[_0x5c9d1c(0x2b3)]=_0x4a6756,this[_0x5c9d1c(0x254)]=_0x2f7f45;}[_0x1bf9e4(0x3e3)](_0x20f2f7,_0x1ff258){var _0x403a00=_0x1bf9e4;const _0x3e466f=this['_getUndoStack'](_0x20f2f7);if(_0x3e466f)try{const _0x2a4696=this[_0x403a00(0x27f)](_0x3e466f,_0x1ff258);this[_0x403a00(0x24f)](_0x20f2f7,_0x2a4696);}catch(_0x2851d2){this[_0x403a00(0x254)]['error'](_0x403a00(0x167),_0x2851d2),this[_0x403a00(0x3d5)](_0x20f2f7);}const _0x3a9742=this['_getRedoStack'](_0x20f2f7);if(_0x3a9742)try{const _0x68d02a=this['_transformStack'](_0x3a9742,_0x1ff258);this['_substituteRedoStack'](_0x20f2f7,_0x68d02a);}catch(_0x3d3bea){this[_0x403a00(0x254)][_0x403a00(0x197)](_0x3d3bea),this[_0x403a00(0x288)](_0x20f2f7);}}[_0x1bf9e4(0x3d5)](_0x592bda){var _0x267e53=_0x1bf9e4;const _0x20808a=this[_0x267e53(0x44e)](_0x592bda);_0x20808a&&(_0x20808a[_0x267e53(0x2fd)]=0x0,this[_0x267e53(0x18a)]());}[_0x1bf9e4(0x288)](_0x309857){var _0x36fcd7=_0x1bf9e4;const _0x1bbe06=this['_getRedoStack'](_0x309857);_0x1bbe06&&(_0x1bbe06[_0x36fcd7(0x2fd)]=0x0,this[_0x36fcd7(0x18a)]());}['_substituteUndoStack'](_0x4ac62d,_0x3ab1dc){var _0x5db0a9=_0x1bf9e4;this[_0x5db0a9(0x315)][_0x5db0a9(0x1f3)](_0x4ac62d,_0x3ab1dc),this['_updateStatus']();}[_0x1bf9e4(0x236)](_0x38c9ff,_0x232bf7){var _0x445fc8=_0x1bf9e4;this[_0x445fc8(0x440)]['set'](_0x38c9ff,_0x232bf7),this[_0x445fc8(0x18a)]();}[_0x1bf9e4(0x27f)](_0x4fa70d,_0x2c5604){var _0x228c71=_0x1bf9e4;const _0x1a8b7f=[];let _0x5986df=_0x2c5604,_0x53ca83=_0x2c5604;for(let _0x41cf72=_0x4fa70d[_0x228c71(0x2fd)]-0x1;_0x41cf72>=0x0;_0x41cf72--){const {unitID:_0x9af07b,undoMutations:_0x1ebc37,redoMutations:_0x2ea0ff}=_0x4fa70d[_0x41cf72],_0x5445dd=this[_0x228c71(0x2b3)][_0x228c71(0x210)](_0x5986df,_0x1ebc37),_0x37f9af=this[_0x228c71(0x2b3)][_0x228c71(0x210)](_0x53ca83,_0x2ea0ff);if(_0x32b4f2(_0x5445dd)||_0x32b4f2(_0x37f9af)){this['_logService'][_0x228c71(0x197)](_0x228c71(0x167),_0x228c71(0x37c),_0x5445dd,_0x37f9af);break;}_0x5986df=_0x5445dd[_0x228c71(0x1c1)],_0x53ca83=_0x37f9af[_0x228c71(0x1c1)],_0x1a8b7f[_0x228c71(0x284)]({'unitID':_0x9af07b,'undoMutations':_0x5445dd[_0x228c71(0x34c)],'redoMutations':_0x37f9af[_0x228c71(0x34c)]});}return _0x1a8b7f[_0x228c71(0x23e)]();}};yt=hr([we(0x0,_0x1dd505),we(0x1,_0x163994),we(0x2,_0x3992d9),we(0x3,_0xaa4b07),we(0x4,_0x4020c)],yt);var _r=Object['defineProperty'],lr=Object[_0x1bf9e4(0x241)],ur=(_0xcb5df8,_0x1a7ee7,_0x35d60f)=>_0x1a7ee7 in _0xcb5df8?_r(_0xcb5df8,_0x1a7ee7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35d60f}):_0xcb5df8[_0x1a7ee7]=_0x35d60f,dr=(_0x14668d,_0x54e2ea,_0x1192a9,_0x33eb8d)=>{var _0x1dcec8=_0x1bf9e4;for(var _0x5894b5=_0x33eb8d>0x1?void 0x0:_0x33eb8d?lr(_0x54e2ea,_0x1192a9):_0x54e2ea,_0x2cf109=_0x14668d[_0x1dcec8(0x2fd)]-0x1,_0x18ae0d;_0x2cf109>=0x0;_0x2cf109--)(_0x18ae0d=_0x14668d[_0x2cf109])&&(_0x5894b5=_0x18ae0d(_0x5894b5)||_0x5894b5);return _0x5894b5;},mt=(_0x280135,_0x208544)=>(_0x532b6c,_0x235f09)=>_0x208544(_0x532b6c,_0x235f09,_0x280135),fr=(_0x3a80f8,_0x13a1b5,_0x1744de)=>ur(_0x3a80f8,_0x13a1b5+'',_0x1744de);const vr=_0x1bf9e4(0x434);let Nt=class extends _0x13a678{constructor(_0x1cd0fc,_0x5b7e18,_0x26092e,_0x17fa4a){var _0x436164=_0x1bf9e4;super(),N(this,_0x436164(0x317)),(this[_0x436164(0x254)]=_0x5b7e18,this[_0x436164(0x2b7)]=_0x26092e,this[_0x436164(0x1f9)]=_0x17fa4a);const {..._0xb7b66}=_0x235acb({},Ds,_0x1cd0fc);if(!_0xb7b66[_0x436164(0x278)])throw new Error(_0x436164(0x466));this[_0x436164(0x317)]=_0xb7b66,this[_0x436164(0x1f9)][_0x436164(0x234)](K,_0xb7b66);}['onStarting'](){var _0x697dc2=_0x1bf9e4;this[_0x697dc2(0x3a0)](),this[_0x697dc2(0x3be)]();}[_0x1bf9e4(0x3a0)](){var _0x37d25c=_0x1bf9e4,_0x307e5b,_0x504210;this[_0x37d25c(0x2b7)][_0x37d25c(0x429)](_0x3aa1c3)&&this[_0x37d25c(0x254)]['error'](_0x37d25c(0x312),_0x37d25c(0x3d2));const _0x130632=_0x354fa5([[_0x3aa1c3,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x37d25c(0x317)][_0x37d25c(0x278)]}],[_0xcb8e22,{'useClass':bt}],[_0x4f1f4e,{'useClass':Tt}],[_0x47119c,{'useClass':Rt}],[_0x3def4e,{'useClass':Ot}],[nt],[It]],(_0x307e5b=this['_config'])==null?void 0x0:_0x307e5b[_0x37d25c(0x2ce)]);if(!((_0x504210=this[_0x37d25c(0x317)])!=null&&_0x504210[_0x37d25c(0x400)])){const _0x4276eb=_0x130632[_0x37d25c(0x358)](([_0x3b52e1])=>_0x3b52e1===ht);_0x4276eb!==-0x1&&_0x130632[_0x37d25c(0x3c9)](_0x4276eb,0x1);}_0x3b854f(this['_injector'],_0x130632);}[_0x1bf9e4(0x3be)](){var _0x720478=_0x1bf9e4,_0x25e006,_0x2ea1be,_0x2bd324;this['_injector'][_0x720478(0x27c)](_0x4a6b11)[_0x720478(0x43e)]({'priority':0x14,'interceptor':_0x4addde({'maxParallel':0x6})}),(_0x25e006=this[_0x720478(0x317)])!=null&&_0x25e006[_0x720478(0x393)]||(_0x2ea1be=this[_0x720478(0x2b7)][_0x720478(0x27c)](J,_0x48a7b4[_0x720478(0x3a7)]))==null||_0x2ea1be['disableLocalCache'](),(_0x2bd324=this[_0x720478(0x317)])!=null&&_0x2bd324[_0x720478(0x2d9)]&&_0x53c293(this['_injector'],[[rt]]),_0x53c293(this['_injector'],[[at],[nt],[ot]]);}};fr(Nt,'pluginName',vr),Nt=dr([_0x5233fa(_0x3a0ca8,_0x36cc3f),mt(0x1,_0x4020c),mt(0x2,_0x1eb2b7(_0x3ba5a5)),mt(0x3,_0x2711b7)],Nt);export{Oi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Os as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|
1
|
+
var _0x138943=_0x48f5;(function(_0x4def46,_0x14cbf6){var _0x107836=_0x48f5,_0x5b035a=_0x4def46();while(!![]){try{var _0x501d0b=parseInt(_0x107836(0x28f))/0x1*(-parseInt(_0x107836(0x38f))/0x2)+parseInt(_0x107836(0x339))/0x3+-parseInt(_0x107836(0x388))/0x4*(parseInt(_0x107836(0xc2))/0x5)+parseInt(_0x107836(0x1b1))/0x6+parseInt(_0x107836(0x135))/0x7*(parseInt(_0x107836(0x21b))/0x8)+parseInt(_0x107836(0x298))/0x9*(parseInt(_0x107836(0xaa))/0xa)+parseInt(_0x107836(0x36b))/0xb*(-parseInt(_0x107836(0x1ec))/0xc);if(_0x501d0b===_0x14cbf6)break;else _0x5b035a['push'](_0x5b035a['shift']());}catch(_0x2aa784){_0x5b035a['push'](_0x5b035a['shift']());}}}(_0x44d3,0xe040a));var Di=Object['defineProperty'],Ui=(_0x214d98,_0x2d7807,_0x285da1)=>_0x2d7807 in _0x214d98?Di(_0x214d98,_0x2d7807,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x285da1}):_0x214d98[_0x2d7807]=_0x285da1,N=(_0x1eae97,_0x36ff8f,_0x375f14)=>Ui(_0x1eae97,typeof _0x36ff8f!=_0x138943(0x246)?_0x36ff8f+'':_0x36ff8f,_0x375f14);import{createIdentifier as _0x13331e,Inject as _0xf474f8,Injector as _0x5789a2,IConfigService as _0x12b0b8,ILogService as _0x3258ec,Disposable as _0x3db37f,DisposableCollection as _0x52a704,toDisposable as _0x549098,IUniverInstanceService as _0x2384ff,UserManagerService as _0x3fd0a8,UniverInstanceType as _0x333bc2,LocaleService as _0x19364c,Optional as _0x4bfb9c,RxDisposable as _0x2fbbd2,Tools as _0x5b3e45,Rectangle as _0x439ace,ICommandService as _0x351ff9,JSONX as _0x4e608e,CommandType as _0x2b2b6d,IUndoRedoService as _0x45a935,IPermissionService as _0x460d73,sequenceExecute as _0x43b423,Workbook as _0x22ff93,MentionType as _0x52a0f6,isInternalEditorID as _0xb5f7f,LocalUndoRedoService as _0xfc214b,IContextService as _0xefeabd,DependentOn as _0x2ba088,Plugin as _0x19ba28,merge as _0x2d3406,mergeOverrideWithDependencies as _0x3b96a8,IAuthzIoService as _0x23fa95,IMentionIOService as _0xef413b,registerDependencies as _0x5086a3,Quantity as _0x3e3a76,touchDependencies as _0x31345a}from'@univerjs/core';import{Subject as _0x4ff8e0,merge as _0x29b3a7,of as _0x2bd803,BehaviorSubject as _0x2b8adc,takeUntil as _0x40e66e,ReplaySubject as _0x44a66d,take as _0x4bb901,map as _0x4b5fb8,shareReplay as _0x4d316d,firstValueFrom as _0x2647bd,concatMap as _0x2af7ad}from'rxjs';import{map as _0x52e33f,take as _0x484269,filter as _0x2a0100,delay as _0x282463,takeUntil as _0x38eaf5}from'rxjs/operators';import{CollaborationEvent as _0x201bd4,ISnapshotServerService as _0x2e3065,parseChangesetToProtocol as _0x220011,ITransformService as _0x4dbb14,isTransformMutationsWithChangesetSuccess as _0xbf8d3f,mapDocumentTypeToUniverType as _0x525caf,RevisionService as _0x530d37,isTransformChangesetsSuccess as _0x40c9ca,CompressMutationService as _0x52b675,parseProtocolChangeset as _0x14cc48,uuidv4 as _0x258d15,SnapshotService as _0x45e9bb,textEncoder as _0x35092a,b64DecodeUnicode as _0x23f403,isTransformMutationsWithChangesetFailure as _0x530eab,UniverCollaborationPlugin as _0x3d9e42}from'@univerjs-pro/collaboration';import{HTTPService as _0xb23947,ISocketService as _0x2c6c3d,MergeInterceptorFactory as _0xb83bbb,HTTPRequest as _0x2ecf1,UniverNetworkPlugin as _0x3351c5,ThresholdInterceptorFactory as _0x216aad}from'@univerjs/network';import{ITelemetryService as _0x5c1286}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x17c0b8}from'@univerjs/docs';import{SheetsSelectionsService as _0x2a04c0,SetSelectionsOperation as _0x3c322f,InsertSheetMutation as _0x399b77,EmptyMutation as _0x75321e,WorkbookEditablePermission as _0x544e43,SheetPermissionInitController as _0x53ea3c}from'@univerjs/sheets';import{ImageSourceType as _0x465bfc,ImageUploadStatusType as _0x15bc0f,IImageIoService as _0x604629}from'@univerjs/drawing';import{getGlobalObject as _0x44d452}from'@univerjs-pro/license';const fs=_0x138943(0x1db),vs='/universer-api/snapshot',ps=_0x138943(0x1dc),yr='SEND_CHANGESET_TIMEOUT',ms=0x7d0,gs=_0x138943(0x163),Ss=_0x138943(0x19f),Nr='/universer-api/user/session-ticket',Es='HEARTBEAT_INTERVAL',Is=0x7530,fi=_0x138943(0xd7),vi=0x4e20,Ts=0x4e20,Cs='RETRY_CONNECTING_MAX_COUNT',Rs=0x3,Dr=_0x138943(0x277),Ur=0x3e8,Os=_0x138943(0x39c),bs='/universer-api/comb',ys='LOGIN_URL_KEY',Ns=_0x138943(0x16d),Ar='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',wr='/universer-api/uniscript';var pi=(_0x1b2639=>(_0x1b2639[_0x1b2639[_0x138943(0x1e7)]=0x0]=_0x138943(0x1e7),_0x1b2639[_0x1b2639['OK']=0x1]='OK',_0x1b2639[_0x1b2639[_0x138943(0x2a8)]=0x2]=_0x138943(0x2a8),_0x1b2639[_0x1b2639[_0x138943(0x38c)]=0x3]=_0x138943(0x38c),_0x1b2639[_0x1b2639[_0x138943(0x32b)]=0x4]='NOT_FOUND',_0x1b2639[_0x1b2639[_0x138943(0x111)]=0x5]=_0x138943(0x111),_0x1b2639[_0x1b2639[_0x138943(0x338)]=0x6]='ALREADY_EXISTS',_0x1b2639[_0x1b2639['INVALID_ARGUMENT']=0x7]=_0x138943(0x312),_0x1b2639[_0x1b2639[_0x138943(0x314)]=0x8]=_0x138943(0x314),_0x1b2639[_0x1b2639[_0x138943(0x1f4)]=0x9]=_0x138943(0x1f4),_0x1b2639[_0x1b2639[_0x138943(0x12f)]=0xa]=_0x138943(0x12f),_0x1b2639[_0x1b2639[_0x138943(0x154)]=0xb]=_0x138943(0x154),_0x1b2639[_0x1b2639[_0x138943(0x38d)]=0xc]=_0x138943(0x38d),_0x1b2639[_0x1b2639[_0x138943(0x12a)]=0xd]=_0x138943(0x12a),_0x1b2639[_0x1b2639[_0x138943(0x9c)]=0xe]=_0x138943(0x9c),_0x1b2639[_0x1b2639['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1b2639[_0x1b2639[_0x138943(0x31e)]=0x1771]=_0x138943(0x31e),_0x1b2639[_0x1b2639[_0x138943(0x13a)]=0x1772]=_0x138943(0x13a),_0x1b2639[_0x1b2639[_0x138943(0x247)]=0x1773]=_0x138943(0x247),_0x1b2639[_0x1b2639[_0x138943(0x138)]=0x1b59]=_0x138943(0x138),_0x1b2639[_0x1b2639['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x138943(0x212),_0x1b2639[_0x1b2639[_0x138943(0x1c3)]=0x1b5b]=_0x138943(0x1c3),_0x1b2639[_0x1b2639[_0x138943(0x283)]=0x1b5c]=_0x138943(0x283),_0x1b2639[_0x1b2639[_0x138943(0x347)]=0x1b5d]=_0x138943(0x347),_0x1b2639[_0x1b2639[_0x138943(0x1aa)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1b2639[_0x1b2639[_0x138943(0x208)]=0x2329]=_0x138943(0x208),_0x1b2639[_0x1b2639['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x138943(0x270),_0x1b2639[_0x1b2639[_0x138943(0x114)]=0x232b]=_0x138943(0x114),_0x1b2639[_0x1b2639[_0x138943(0x2e7)]=0x232c]=_0x138943(0x2e7),_0x1b2639[_0x1b2639[_0x138943(0xbc)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1b2639[_0x1b2639[_0x138943(0x175)]=0x2711]=_0x138943(0x175),_0x1b2639[_0x1b2639['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x138943(0x119),_0x1b2639[_0x1b2639[_0x138943(0x17f)]=0x2713]=_0x138943(0x17f),_0x1b2639[_0x1b2639[_0x138943(0x12c)]=0x2714]=_0x138943(0x12c),_0x1b2639[_0x1b2639[_0x138943(0x202)]=0x271a]=_0x138943(0x202),_0x1b2639[_0x1b2639[_0x138943(0x395)]=0x271b]=_0x138943(0x395),_0x1b2639[_0x1b2639[_0x138943(0x15f)]=0x271c]=_0x138943(0x15f),_0x1b2639[_0x1b2639[_0x138943(0x296)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1b2639[_0x1b2639[_0x138943(0x15e)]=0x271e]=_0x138943(0x15e),_0x1b2639[_0x1b2639['YUUMI_AI_RUN_FAILED']=0x271f]=_0x138943(0x174),_0x1b2639[_0x1b2639[_0x138943(0x376)]=0x2720]=_0x138943(0x376),_0x1b2639[_0x1b2639[_0x138943(0x1a9)]=0x2af9]=_0x138943(0x1a9),_0x1b2639[_0x1b2639[_0x138943(0x299)]=0x2ee1]=_0x138943(0x299),_0x1b2639[_0x1b2639['INVALID_INVITE_CODE']=0x2ee2]=_0x138943(0x2f2),_0x1b2639[_0x1b2639['INVITE_CODE_REQUIRED']=0x2ee3]=_0x138943(0xe6),_0x1b2639[_0x1b2639[_0x138943(0x22d)]=0x2ee4]=_0x138943(0x22d),_0x1b2639[_0x1b2639[_0x138943(0x1eb)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1b2639[_0x1b2639[_0x138943(0x2fd)]=0x32c9]=_0x138943(0x2fd),_0x1b2639[_0x1b2639[_0x138943(0x1e5)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1b2639[_0x1b2639[_0x138943(0xd4)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1b2639[_0x1b2639[_0x138943(0x374)]=-0x1]='UNRECOGNIZED',_0x1b2639))(pi||{}),Z=(_0x2c4447=>(_0x2c4447[_0x2c4447[_0x138943(0xfb)]=0x0]=_0x138943(0xfb),_0x2c4447[_0x2c4447[_0x138943(0x315)]=0x1]=_0x138943(0x315),_0x2c4447[_0x2c4447[_0x138943(0x20d)]=0x2]=_0x138943(0x20d),_0x2c4447[_0x2c4447[_0x138943(0x181)]=0x3]=_0x138943(0x181),_0x2c4447[_0x2c4447[_0x138943(0x1d5)]=0x4]=_0x138943(0x1d5),_0x2c4447[_0x2c4447[_0x138943(0x374)]=-0x1]=_0x138943(0x374),_0x2c4447))(Z||{}),F=(_0x2d131b=>(_0x2d131b[_0x2d131b[_0x138943(0x23b)]=0x0]=_0x138943(0x23b),_0x2d131b[_0x2d131b['HELLO']=0x1]=_0x138943(0x151),_0x2d131b[_0x2d131b[_0x138943(0x147)]=0x2]=_0x138943(0x147),_0x2d131b[_0x2d131b[_0x138943(0x106)]=0x3]=_0x138943(0x106),_0x2d131b[_0x2d131b[_0x138943(0x272)]=0x4]=_0x138943(0x272),_0x2d131b[_0x2d131b[_0x138943(0xde)]=0x5]=_0x138943(0xde),_0x2d131b[_0x2d131b['RECV']=0x6]='RECV',_0x2d131b[_0x2d131b[_0x138943(0x374)]=-0x1]=_0x138943(0x374),_0x2d131b))(F||{}),me=(_0xe386a3=>(_0xe386a3[_0xe386a3[_0x138943(0xe9)]=0x0]=_0x138943(0xe9),_0xe386a3[_0xe386a3['OK']=0x1]='OK',_0xe386a3[_0xe386a3[_0x138943(0x397)]=0x2]='FAIL',_0xe386a3[_0xe386a3[_0x138943(0x243)]=0x3e9]=_0x138943(0x243),_0xe386a3[_0xe386a3[_0x138943(0x321)]=0x3ea]=_0x138943(0x321),_0xe386a3[_0xe386a3[_0x138943(0x195)]=0x3eb]=_0x138943(0x195),_0xe386a3[_0xe386a3['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x138943(0x130),_0xe386a3[_0xe386a3[_0x138943(0x374)]=-0x1]='UNRECOGNIZED',_0xe386a3))(me||{}),mi=(_0x2b8e7d=>(_0x2b8e7d[_0x2b8e7d[_0x138943(0x180)]=0x0]=_0x138943(0x180),_0x2b8e7d[_0x2b8e7d[_0x138943(0x1ea)]=0x1]='HttpImport',_0x2b8e7d[_0x2b8e7d['HttpExport']=0x2]='HttpExport',_0x2b8e7d[_0x2b8e7d[_0x138943(0x2b4)]=0x3]=_0x138943(0x2b4),_0x2b8e7d[_0x2b8e7d['UnitSnapshot']=0x4]=_0x138943(0x2c4),_0x2b8e7d[_0x2b8e7d['UserProfileImg']=0x5]=_0x138943(0x357),_0x2b8e7d[_0x2b8e7d[_0x138943(0x374)]=-0x1]='UNRECOGNIZED',_0x2b8e7d))(mi||{});const K=_0x138943(0x1b8),Ds={};var ne=(_0x518f1c=>(_0x518f1c['OTHER_CLIENT_EDITING']=_0x138943(0x2eb),_0x518f1c[_0x138943(0x38c)]=_0x138943(0x38c),_0x518f1c[_0x138943(0x35f)]='CONFLICT',_0x518f1c[_0x138943(0xf4)]=_0x138943(0xf4),_0x518f1c['JOIN_ROOM_FAILED']=_0x138943(0x392),_0x518f1c['SOCKET_FAILED_RETRY']=_0x138943(0x182),_0x518f1c[_0x138943(0x1cc)]=_0x138943(0x1cc),_0x518f1c[_0x138943(0x2cf)]=_0x138943(0x2cf),_0x518f1c))(ne||{});class ve{constructor(){var _0x4eace3=_0x138943;N(this,'_event$',new _0x4ff8e0()),N(this,'event$',this[_0x4eace3(0x148)][_0x4eace3(0x382)]());}[_0x138943(0x2c7)](_0x59262e){var _0x334574=_0x138943;this[_0x334574(0x148)][_0x334574(0x345)](_0x59262e);}}const Us=_0x13331e(_0x138943(0x2c5));function As(_0x5b713b){var _0x149f66=_0x138943,_0x27e18e,_0x44bc30,_0x13e918,_0x4e9c56,_0x41ddf8;const _0x59d2fe=_0x5b713b[_0x149f66(0x2b9)],_0x1640ae=JSON[_0x149f66(0xb0)](_0x59d2fe);switch(_0x1640ae['cmd']){case F[_0x149f66(0xde)]:case F[_0x149f66(0x151)]:{const _0xeece64=_0x1640ae['infoRsp'];return{..._0x1640ae,'data':_0xeece64,'cmd':_0x1640ae[_0x149f66(0x33d)]};}case F[_0x149f66(0x147)]:{const _0x52d296=_0x1640ae[_0x149f66(0x2f8)];return{..._0x1640ae,'data':_0x52d296,'cmd':_0x1640ae['cmd']};}case F['RECV']:{const _0x4798e8=_0x1640ae[_0x149f66(0x337)];switch(_0x4798e8[_0x149f66(0xba)]){case _0x201bd4[_0x149f66(0xfe)]:return{..._0x1640ae,'data':{..._0x4798e8,'data':(_0x27e18e=_0x4798e8[_0x149f66(0x172)])==null?void 0x0:_0x27e18e['cs']},'cmd':_0x1640ae[_0x149f66(0x33d)]};case _0x201bd4[_0x149f66(0x1f3)]:return{..._0x1640ae,'data':{..._0x4798e8,'data':(_0x44bc30=_0x4798e8[_0x149f66(0x2a4)])==null?void 0x0:_0x44bc30['cs']},'cmd':_0x1640ae['cmd']};case _0x201bd4[_0x149f66(0x308)]:return{..._0x1640ae,'data':{..._0x4798e8,'data':(_0x13e918=_0x4798e8[_0x149f66(0x30e)])==null?void 0x0:_0x13e918['cs']},'cmd':_0x1640ae['cmd']};case _0x201bd4[_0x149f66(0x23d)]:return{..._0x1640ae,'data':{..._0x4798e8,'data':(_0x4e9c56=_0x4798e8[_0x149f66(0x190)])==null?void 0x0:_0x4e9c56['cs']},'cmd':_0x1640ae[_0x149f66(0x33d)]};case _0x201bd4[_0x149f66(0x254)]:return{..._0x1640ae,'data':{..._0x4798e8,'data':(_0x41ddf8=_0x4798e8[_0x149f66(0x115)])==null?void 0x0:_0x41ddf8['cs']},'cmd':_0x1640ae[_0x149f66(0x33d)]};case _0x201bd4[_0x149f66(0x153)]:return{..._0x1640ae,'data':{..._0x4798e8,'data':_0x4798e8['updateCursorEvent']},'cmd':_0x1640ae[_0x149f66(0x33d)]};case _0x201bd4[_0x149f66(0x332)]:return{..._0x1640ae,'data':{..._0x4798e8,'data':_0x4798e8[_0x149f66(0x179)]},'cmd':_0x1640ae[_0x149f66(0x33d)]};case _0x201bd4[_0x149f66(0x25b)]:return{..._0x1640ae,'data':{..._0x4798e8,'data':_0x4798e8[_0x149f66(0x142)]},'cmd':_0x1640ae['cmd']};case _0x201bd4[_0x149f66(0x207)]:return{..._0x1640ae,'data':{..._0x4798e8,'data':_0x4798e8[_0x149f66(0x1c8)]},'cmd':_0x1640ae['cmd']};case _0x201bd4['LIVESHARE_FETCH_OPERATIONS']:case _0x201bd4['LIVESHARE_OPERATION']:return{..._0x1640ae,'data':{..._0x4798e8,'data':_0x4798e8[_0x149f66(0x362)]},'cmd':_0x1640ae['cmd']};case _0x201bd4['LIVESHARE_TERMINATE']:return{..._0x1640ae,'data':{..._0x4798e8,'data':_0x4798e8[_0x149f66(0x1c8)]},'cmd':_0x1640ae[_0x149f66(0x33d)]};case _0x201bd4[_0x149f66(0x287)]:return{..._0x1640ae,'data':_0x4798e8,'cmd':_0x1640ae[_0x149f66(0x33d)]};case _0x201bd4[_0x149f66(0xbe)]:return{..._0x1640ae,'data':{..._0x4798e8,'data':_0x4798e8['commentUpdateEvent']},'cmd':_0x1640ae[_0x149f66(0x33d)]};case _0x201bd4[_0x149f66(0xa4)]:return{..._0x1640ae,'data':{..._0x4798e8,'data':_0x4798e8['updatePermissionObjEvent']},'cmd':_0x1640ae[_0x149f66(0x33d)]};case _0x201bd4[_0x149f66(0x334)]:return{..._0x1640ae,'data':{..._0x4798e8,'data':_0x4798e8[_0x149f66(0x1c9)]},'cmd':_0x1640ae[_0x149f66(0x33d)]};case _0x201bd4[_0x149f66(0x1bd)]:return{..._0x1640ae,'data':{..._0x4798e8,'data':_0x4798e8[_0x149f66(0x390)]},'cmd':_0x1640ae[_0x149f66(0x33d)]};default:return _0x1640ae;}}default:return _0x1640ae;}}function ws(_0x1c11df){var _0x374f7b=_0x138943;switch(_0x1c11df[_0x374f7b(0x33d)]){case F['HEARTBEAT']:case F[_0x374f7b(0x151)]:return JSON[_0x374f7b(0xa3)]({'cmd':_0x1c11df['cmd'],'routeKey':_0x1c11df[_0x374f7b(0x241)]});case F['INGEST']:{let _0x187f51;switch(_0x1c11df[_0x374f7b(0x2b9)][_0x374f7b(0xba)]){case _0x201bd4[_0x374f7b(0x153)]:{_0x187f51={'eventID':_0x201bd4[_0x374f7b(0x153)],'updateCursorEvent':_0x1c11df[_0x374f7b(0x2b9)][_0x374f7b(0x2b9)]};break;}case _0x201bd4['USERS_LEAVE']:{_0x187f51={'eventID':_0x201bd4['USERS_LEAVE'],'leaveEvent':_0x1c11df[_0x374f7b(0x2b9)][_0x374f7b(0x2b9)]};break;}case _0x201bd4[_0x374f7b(0x332)]:{_0x187f51={'eventID':_0x201bd4[_0x374f7b(0x332)],'joinEvent':_0x1c11df[_0x374f7b(0x2b9)][_0x374f7b(0x2b9)]};break;}case _0x201bd4[_0x374f7b(0x207)]:{_0x187f51={'eventID':_0x201bd4[_0x374f7b(0x207)],'liveShareNewHost':_0x1c11df[_0x374f7b(0x2b9)][_0x374f7b(0x2b9)]};break;}case _0x201bd4[_0x374f7b(0x333)]:{_0x187f51={'eventID':_0x201bd4[_0x374f7b(0x333)],'liveShareOperation':_0x1c11df[_0x374f7b(0x2b9)]['data']};break;}case _0x201bd4[_0x374f7b(0xa5)]:{_0x187f51={'eventID':_0x201bd4[_0x374f7b(0xa5)],'liveShareTerminate':_0x1c11df[_0x374f7b(0x2b9)][_0x374f7b(0x2b9)]};break;}case _0x201bd4[_0x374f7b(0x1f6)]:{_0x187f51={'eventID':_0x201bd4['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1c11df[_0x374f7b(0x2b9)]['data']};break;}case _0x201bd4[_0x374f7b(0x279)]:{_0x187f51={'eventID':_0x201bd4[_0x374f7b(0x279)]};break;}default:_0x187f51={'eventID':_0x1c11df[_0x374f7b(0x2b9)]['eventID']};}return JSON[_0x374f7b(0xa3)]({'cmd':_0x1c11df['cmd'],'routeKey':_0x1c11df[_0x374f7b(0x241)],'collaMsg':_0x187f51});}case F[_0x374f7b(0x147)]:return JSON[_0x374f7b(0xa3)]({'cmd':_0x1c11df[_0x374f7b(0x33d)],'routeKey':_0x1c11df['routeKey'],'joinReq':_0x1c11df[_0x374f7b(0x2b9)]});case F[_0x374f7b(0x106)]:return JSON['stringify']({'cmd':_0x1c11df['cmd'],'routeKey':_0x1c11df[_0x374f7b(0x241)],'leaveReq':_0x1c11df[_0x374f7b(0x2b9)]});default:throw new Error(_0x374f7b(0x253));}}var Ps=Object['getOwnPropertyDescriptor'],Ls=(_0x213214,_0x18b9e3,_0x1144a3,_0x45353f)=>{var _0x49474d=_0x138943;for(var _0x480b3c=_0x45353f>0x1?void 0x0:_0x45353f?Ps(_0x18b9e3,_0x1144a3):_0x18b9e3,_0x436716=_0x213214[_0x49474d(0x16f)]-0x1,_0xc91626;_0x436716>=0x0;_0x436716--)(_0xc91626=_0x213214[_0x436716])&&(_0x480b3c=_0xc91626(_0x480b3c)||_0x480b3c);return _0x480b3c;},Ue=(_0x5d6491,_0x31eea7)=>(_0x391bec,_0x5b1b2b)=>_0x31eea7(_0x391bec,_0x5b1b2b,_0x5d6491);const gi=_0x13331e('univer-pro.collaboration-client-socket-service');function Ms(_0x3f650e,_0xc40702,_0xf1bf32){var _0x9b2369=_0x138943;return _0x3f650e+'/'+_0xc40702+_0x9b2369(0x225)+_0xf1bf32+'/new_changes';}let Ft=class extends _0x3db37f{constructor(_0x2e8419,_0x5bb80d,_0x513211,_0x128f21,_0x57cb0){var _0x4e4701=_0x138943;super(),this[_0x4e4701(0x1ae)]=_0x2e8419,this['_httpService']=_0x5bb80d,this['_configService']=_0x513211,this[_0x4e4701(0xf9)]=_0x128f21,this[_0x4e4701(0x1b6)]=_0x57cb0;}[_0x138943(0x37a)](_0x386d53){var _0x4f887c=_0x138943;const _0x47fdb2=this[_0x4f887c(0x1ae)][_0x4f887c(0x107)](_0x2c6c3d);if(!_0x47fdb2)throw new Error(_0x4f887c(0x29a));const _0x30e6a7=_0x47fdb2['createSocket'](_0x386d53);if(!_0x30e6a7)throw new Error(_0x4f887c(0x2fc));const _0x3994f3=new _0x52a704(),_0x1be6d1=new _0x4ff8e0();_0x3994f3[_0x4f887c(0x15b)](_0x30e6a7[_0x4f887c(0xee)][_0x4f887c(0x15c)](_0xe95aa0=>_0x1be6d1[_0x4f887c(0x345)](_0xe95aa0))),_0x3994f3[_0x4f887c(0x15b)](_0x549098(()=>_0x1be6d1[_0x4f887c(0x121)]()));const _0x3ba55d=new _0x4ff8e0();_0x3994f3[_0x4f887c(0x15b)](_0x30e6a7[_0x4f887c(0x2ca)][_0x4f887c(0x15c)](_0x25b6f9=>_0x3ba55d[_0x4f887c(0x345)](_0x25b6f9))),_0x3994f3['add'](_0x549098(()=>_0x3ba55d[_0x4f887c(0x121)]()));const _0x54c561=new _0x4ff8e0();_0x3994f3[_0x4f887c(0x15b)](_0x30e6a7[_0x4f887c(0xed)][_0x4f887c(0x15c)](_0x4111b4=>{const _0x2e74ae=As(_0x4111b4);_0x54c561['next'](_0x2e74ae);})),_0x3994f3[_0x4f887c(0x15b)](_0x549098(()=>_0x54c561[_0x4f887c(0x121)]()));let _0x24fdb1;const _0x4b188d=()=>{var _0x12336d=_0x4f887c;_0x3ba55d['next'](new Event(_0x12336d(0x1e8))),_0x1be6d1[_0x12336d(0x345)](new Event('connection\x20error')),_0x24fdb1['close']();};return _0x24fdb1={'memberID':'','close$':_0x1be6d1[_0x4f887c(0x382)](),'error$':_0x3ba55d[_0x4f887c(0x382)](),'open$':_0x30e6a7[_0x4f887c(0x2c9)],'message$':_0x54c561[_0x4f887c(0x382)](),'send':_0x47e590=>{var _0x1f6e0b=_0x4f887c;if(_0x47e590['cmd']===F[_0x1f6e0b(0x272)]){if(_0x47e590[_0x1f6e0b(0x2b9)][_0x1f6e0b(0xba)]===_0x201bd4['SUBMIT_CHANGESET']){this[_0x1f6e0b(0x31a)](_0x24fdb1,_0x47e590[_0x1f6e0b(0x2b9)])[_0x1f6e0b(0x132)](_0x4c9877=>{var _0x59364f=_0x1f6e0b;this[_0x59364f(0xf9)][_0x59364f(0x331)](_0x4c9877),_0x4b188d();});return;}if(_0x47e590['data']['eventID']===_0x201bd4[_0x1f6e0b(0x191)]){const _0x192dc2=_0x47e590['data'];this[_0x1f6e0b(0x11c)](_0x192dc2)['then'](_0x58bc1f=>{var _0x5058c5=_0x1f6e0b;_0x54c561[_0x5058c5(0x345)]({'cmd':F['RECV'],'code':me['OK'],'routeKey':_0x192dc2[_0x5058c5(0x2b9)][_0x5058c5(0x117)],'routeType':'','data':{'eventID':_0x201bd4[_0x5058c5(0x32c)],'data':{'changesets':_0x58bc1f}}});})[_0x1f6e0b(0x132)](_0x163cc8=>{var _0x3de88e=_0x1f6e0b;this[_0x3de88e(0xf9)]['error'](_0x163cc8),_0x4b188d();});return;}}_0x30e6a7['send'](ws(_0x47e590));},'close':()=>{var _0x100837=_0x4f887c;_0x30e6a7[_0x100837(0x364)](),_0x3994f3[_0x100837(0x120)]();}},_0x24fdb1;}async[_0x138943(0x31a)](_0x7d23eb,_0x445d45){var _0x4d04f=_0x138943,_0x2c3aa3,_0x3f1725;const {unitType:_0x452687,unitID:_0x29ebe3,changeset:_0x26c573}=_0x445d45['data'],_0x53aa58={'unitID':_0x29ebe3,'memberID':_0x7d23eb[_0x4d04f(0x1f9)],'type':_0x452687,'changeset':_0x220011(_0x26c573)},_0x37c998=this[_0x4d04f(0x38b)][_0x4d04f(0xad)](Os),_0x3e4e04=this[_0x4d04f(0x38b)][_0x4d04f(0xad)](K),_0x2ce477=Ms((_0x3f1725=(_0x2c3aa3=_0x3e4e04==null?void 0x0:_0x3e4e04[_0x4d04f(0x325)])!=null?_0x2c3aa3:_0x37c998)!=null?_0x3f1725:bs,_0x452687,_0x29ebe3);try{await this[_0x4d04f(0x378)][_0x4d04f(0x1ce)](_0x2ce477,{'body':_0x53aa58});}catch(_0x2484ff){throw this[_0x4d04f(0xf9)][_0x4d04f(0x331)]('[CollaborationSession]',_0x4d04f(0x8a)),_0x2484ff;}}async[_0x138943(0x11c)](_0x3e6bda){var _0x55bfb5=_0x138943;const {unitID:_0x56853d,from:_0x33c017,to:_0xa0d698,unitType:_0x14a488}=_0x3e6bda[_0x55bfb5(0x2b9)];return(await this[_0x55bfb5(0x1b6)][_0x55bfb5(0x2d4)]({'metadata':void 0x0},{'unitID':_0x56853d,'type':_0x14a488,'from':_0x33c017,'to':_0xa0d698}))[_0x55bfb5(0x292)];}};Ft=Ls([Ue(0x0,_0xf474f8(_0x5789a2)),Ue(0x1,_0xf474f8(_0xb23947)),Ue(0x2,_0x12b0b8),Ue(0x3,_0x3258ec),Ue(0x4,_0x2e3065)],Ft);const xs='collaboration_new_changeset';function ks(_0x11ce8b){var _0x1ec1f0=_0x138943;return JSON[_0x1ec1f0(0xa3)](_0x11ce8b)[_0x1ec1f0(0x16f)];}class Si{constructor(){var _0x23a2ca=_0x138943;N(this,_0x23a2ca(0x1be),new _0x4ff8e0()),N(this,_0x23a2ca(0x363),this[_0x23a2ca(0x1be)][_0x23a2ca(0x382)]());}[_0x138943(0x210)](_0x30a814){var _0x33dc4e=_0x138943;this[_0x33dc4e(0x1be)][_0x33dc4e(0x345)](_0x30a814);}}var $s=Object[_0x138943(0x20f)],Hs=(_0x16a520,_0x5a5c21,_0x2433bf,_0xd026a7)=>{var _0x5a1ac3=_0x138943;for(var _0x415076=_0xd026a7>0x1?void 0x0:_0xd026a7?$s(_0x5a5c21,_0x2433bf):_0x5a5c21,_0x51e596=_0x16a520[_0x5a1ac3(0x16f)]-0x1,_0x2a5117;_0x51e596>=0x0;_0x51e596--)(_0x2a5117=_0x16a520[_0x51e596])&&(_0x415076=_0x2a5117(_0x415076)||_0x415076);return _0x415076;},Vt=(_0x54c926,_0x838a7)=>(_0x9788cf,_0x951907)=>_0x838a7(_0x9788cf,_0x951907,_0x54c926);let Pe=class extends _0x3db37f{constructor(_0x3e0830,_0x2964b1){var _0x8df40d=_0x138943;super(),N(this,_0x8df40d(0xa0),new Map()),N(this,'_roomCreated$',new _0x4ff8e0()),(this[_0x8df40d(0x25a)]=_0x3e0830,this['_userManagerService']=_0x2964b1,this[_0x8df40d(0x240)](_0x29b3a7(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x333bc2['UNIVER_SHEET'])[_0x8df40d(0x156)](_0x52e33f(_0x498699=>_0x498699[_0x8df40d(0x1e9)]())),this[_0x8df40d(0x25a)][_0x8df40d(0x2fe)](_0x333bc2[_0x8df40d(0x315)])['pipe'](_0x52e33f(_0x1a9940=>_0x1a9940[_0x8df40d(0x1e9)]())),this[_0x8df40d(0x25a)][_0x8df40d(0x2fe)](_0x333bc2[_0x8df40d(0x181)])[_0x8df40d(0x156)](_0x52e33f(_0x3af6af=>_0x3af6af[_0x8df40d(0x1e9)]())))['subscribe'](_0x3d78d0=>this[_0x8df40d(0x1b9)](_0x3d78d0))));}[_0x138943(0x2ed)](_0xd14c73){var _0x2bcc6a=_0x138943;return this[_0x2bcc6a(0xa0)][_0x2bcc6a(0x2d1)](_0xd14c73)?_0x2bd803(this['_roomMembers'][_0x2bcc6a(0x107)](_0xd14c73)):this[_0x2bcc6a(0x116)][_0x2bcc6a(0x156)](_0x52e33f(_0x2ea936=>{var _0x508d2b=_0x2bcc6a;if(_0x2ea936===_0xd14c73)return this[_0x508d2b(0xa0)]['get'](_0x2ea936);}));}[_0x138943(0x96)](_0x57b882){var _0xf18e2c=_0x138943;this[_0xf18e2c(0x35b)]['setCurrentUser'](_0x57b882);}[_0x138943(0x8d)](){var _0x35d204=_0x138943;return this[_0x35d204(0x35b)]['getCurrentUser']();}['updateMember'](_0x46b054,_0x33d457){var _0x51d549=_0x138943;let _0x40a426=this[_0x51d549(0xa0)][_0x51d549(0x107)](_0x46b054);_0x40a426||(_0x40a426=new Bs(),this[_0x51d549(0xa0)]['set'](_0x46b054,_0x40a426),this['_roomCreated$']['next'](_0x46b054)),_0x40a426[_0x51d549(0x23a)](_0x33d457);}[_0x138943(0x261)](_0x4d0b29,_0xcc0503){var _0x14e3a6=_0x138943;const _0x31ce55=this[_0x14e3a6(0xa0)]['get'](_0x4d0b29);_0x31ce55&&_0x31ce55[_0x14e3a6(0x261)](_0xcc0503);}[_0x138943(0x186)](_0x1b75ea){var _0x129a56=_0x138943;return this['_roomMembers'][_0x129a56(0x107)](_0x1b75ea);}[_0x138943(0x242)](_0x2be0a5,_0x2deb17){var _0x2abe75=_0x138943;const _0x11ca93=this[_0x2abe75(0xa0)]['get'](_0x2be0a5);if(_0x11ca93)return _0x11ca93[_0x2abe75(0x242)](_0x2deb17);}[_0x138943(0x1b9)](_0x3f5531){var _0x5d8afb=_0x138943;const _0x4b0aa5=this[_0x5d8afb(0xa0)][_0x5d8afb(0x107)](_0x3f5531);_0x4b0aa5&&(_0x4b0aa5[_0x5d8afb(0x120)](),this[_0x5d8afb(0xa0)][_0x5d8afb(0x2ab)](_0x3f5531));}[_0x138943(0x120)](){var _0x32490b=_0x138943;this[_0x32490b(0xa0)][_0x32490b(0x34e)](_0x1f577d=>_0x1f577d[_0x32490b(0x120)]()),this[_0x32490b(0xa0)][_0x32490b(0x1bf)](),this[_0x32490b(0x116)][_0x32490b(0x121)]();}};Pe=Hs([Vt(0x0,_0x2384ff),Vt(0x1,_0xf474f8(_0x3fd0a8))],Pe);class Bs extends _0x3db37f{constructor(){var _0x581887=_0x138943;super(...arguments),N(this,_0x581887(0x328),new Map()),N(this,_0x581887(0x233),new _0x2b8adc(this[_0x581887(0x328)])),N(this,_0x581887(0x2b6),this[_0x581887(0x233)][_0x581887(0x382)]());}['dispose'](){var _0x499f7f=_0x138943;this[_0x499f7f(0x328)]['clear']();}[_0x138943(0x23a)](_0x13a85d){var _0x394fca=_0x138943;this[_0x394fca(0x328)][_0x394fca(0x34a)](_0x13a85d[_0x394fca(0x1f9)],_0x13a85d),this[_0x394fca(0x104)]();}[_0x138943(0x261)](_0x28dc81){var _0x1ba4f3=_0x138943;this['_members'][_0x1ba4f3(0x2ab)](_0x28dc81);}['getMember'](_0x2ac603){var _0x3305e2=_0x138943;return this[_0x3305e2(0x328)][_0x3305e2(0x107)](_0x2ac603);}[_0x138943(0x1e0)](){var _0x2215fe=_0x138943;return Array[_0x2215fe(0x237)](this[_0x2215fe(0x328)][_0x2215fe(0x213)]());}[_0x138943(0x104)](){var _0x32f87e=_0x138943;this[_0x32f87e(0x233)][_0x32f87e(0x345)](this[_0x32f87e(0x328)]);}}var js=Object[_0x138943(0x20f)],Fs=(_0x25b919,_0xf7cd35,_0x4f8b3a,_0xbbbc2)=>{var _0x222d3e=_0x138943;for(var _0x39e96d=_0xbbbc2>0x1?void 0x0:_0xbbbc2?js(_0xf7cd35,_0x4f8b3a):_0xf7cd35,_0x29b8dc=_0x25b919[_0x222d3e(0x16f)]-0x1,_0x1def8b;_0x29b8dc>=0x0;_0x29b8dc--)(_0x1def8b=_0x25b919[_0x29b8dc])&&(_0x39e96d=_0x1def8b(_0x39e96d)||_0x39e96d);return _0x39e96d;},pe=(_0xea88d9,_0x59189c)=>(_0x2e5a53,_0x42384f)=>_0x59189c(_0x2e5a53,_0x42384f,_0xea88d9),Se=(_0x2cb0a8=>(_0x2cb0a8[_0x2cb0a8['IDLE']=0x0]='IDLE',_0x2cb0a8[_0x2cb0a8['JOINING']=0x1]=_0x138943(0x224),_0x2cb0a8[_0x2cb0a8['OFFLINE']=0x2]='OFFLINE',_0x2cb0a8[_0x2cb0a8[_0x138943(0x188)]=0x3]=_0x138943(0x188),_0x2cb0a8))(Se||{});const Gt={[me['FAIL']]:_0x138943(0x126),[me['JOIN_ROOM_FULL']]:_0x138943(0x2e8),[me[_0x138943(0x321)]]:_0x138943(0x2e3),[me['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[me[_0x138943(0x130)]]:_0x138943(0x1ef)};let gt=class extends _0x2fbbd2{constructor(_0x1c3c87,_0xf378af,_0x1f4263,_0x5e1b58,_0x22404f,_0x495658,_0x3dede5,_0x580b40,_0x52db9f){var _0x4505f2=_0x138943;super(),N(this,_0x4505f2(0x306),new _0x2b8adc(0x0)),N(this,'sessionStatus$',this['_sessionStatus$']['asObservable']()),N(this,'_event$',new _0x4ff8e0()),N(this,_0x4505f2(0x371),this[_0x4505f2(0x148)]['asObservable']()),N(this,_0x4505f2(0x27d)),N(this,'_socketMessageSubscription'),N(this,_0x4505f2(0x99)),N(this,'_shouldReportTelemetry',!0x1),N(this,'_telemetryInfo',null),(this[_0x4505f2(0x1d0)]=_0x1c3c87,this[_0x4505f2(0xf9)]=_0x1f4263,this[_0x4505f2(0x38b)]=_0x5e1b58,this[_0x4505f2(0x1e4)]=_0x22404f,this[_0x4505f2(0xb1)]=_0x495658,this[_0x4505f2(0x366)]=_0x3dede5,this[_0x4505f2(0xf8)]=_0x580b40,this['_telemetryService']=_0x52db9f,this[_0x4505f2(0x389)]=!!this['_telemetryService'],_0xf378af[_0x4505f2(0x156)](_0x40e66e(this[_0x4505f2(0x32e)]))['subscribe'](_0x38e2ed=>{var _0x5c9926=_0x4505f2,_0x467826;typeof _0x38e2ed>'u'||(this['_socket']=_0x38e2ed,_0x38e2ed?(this['_joinRoom'](_0x38e2ed),this['_socketMessageSubscription']=_0x38e2ed[_0x5c9926(0xed)][_0x5c9926(0x15c)](_0x304870=>{var _0x1f5307=_0x5c9926;_0x304870[_0x1f5307(0x241)]===this[_0x1f5307(0x1d0)]&&this[_0x1f5307(0x25f)](_0x304870);})):(this[_0x5c9926(0x103)](),this[_0x5c9926(0x306)][_0x5c9926(0x345)](0x2),(_0x467826=this[_0x5c9926(0x125)])==null||_0x467826['unsubscribe'](),this[_0x5c9926(0x125)]=null));}));}get[_0x138943(0x22c)](){return this['_sessionStatus$']['getValue']();}[_0x138943(0xe0)](){var _0x25a0c9=_0x138943,_0x316b51,_0x526225;return(_0x526225=(_0x316b51=this[_0x25a0c9(0x27d)])==null?void 0x0:_0x316b51[_0x25a0c9(0x1f9)])!=null?_0x526225:null;}[_0x138943(0x120)](){var _0x5dddde=_0x138943;super[_0x5dddde(0x120)](),this[_0x5dddde(0x32e)]['next'](),this[_0x5dddde(0x32e)][_0x5dddde(0x121)]();}[_0x138943(0x364)](){var _0x1812f7=_0x138943,_0xeb7b1e,_0x46063b;this[_0x1812f7(0x103)](),(_0xeb7b1e=this[_0x1812f7(0x27d)])==null||_0xeb7b1e['send']({'cmd':F[_0x1812f7(0x106)],'data':{'roomID':this[_0x1812f7(0x1d0)]}}),(_0x46063b=this['_socket'])==null||_0x46063b[_0x1812f7(0x364)](),this['_event$'][_0x1812f7(0x121)](),this[_0x1812f7(0x306)][_0x1812f7(0x121)](),this[_0x1812f7(0x120)]();}[_0x138943(0x25f)](_0x5057ce){var _0x2f0cef=_0x138943;_0x5057ce[_0x2f0cef(0x33d)]===F[_0x2f0cef(0x147)]?this[_0x2f0cef(0x178)](_0x5057ce):_0x5057ce[_0x2f0cef(0x33d)]===F['RECV']&&this['_onRecvEvent'](_0x5057ce);}[_0x138943(0x360)](_0x4c7b9d){var _0x561b85=_0x138943;this[_0x561b85(0x306)][_0x561b85(0x345)](0x1),_0x4c7b9d['send']({'cmd':F[_0x561b85(0x147)],'routeKey':this[_0x561b85(0x1d0)],'routeType':'','data':{'rooms':[{'roomID':this[_0x561b85(0x1d0)]}]}});}[_0x138943(0x178)](_0x2f0653){var _0x28e8ec=_0x138943,_0x366772;if(_0x2f0653[_0x28e8ec(0x285)]in Gt){this[_0x28e8ec(0xf8)][_0x28e8ec(0x2c7)]({'id':ne[_0x28e8ec(0x392)],'data':Gt[_0x2f0653['code']]}),this[_0x28e8ec(0x306)]['next'](0x2);return;}this[_0x28e8ec(0x306)][_0x28e8ec(0x345)](0x3);const _0x3f58e4=(_0x366772=_0x2f0653[_0x28e8ec(0x2b9)][_0x28e8ec(0x196)][this[_0x28e8ec(0x1d0)]])==null?void 0x0:_0x366772[_0x28e8ec(0x38a)];_0x3f58e4&&_0x3f58e4[_0x28e8ec(0x34e)](_0x11c73d=>this[_0x28e8ec(0xb1)]['updateMember'](this['_unitID'],_0x11c73d));}['_onRecvEvent'](_0x7d6982){var _0x34f116=_0x138943;try{const _0x1a9183=_0x7d6982[_0x34f116(0x2b9)];switch(_0x1a9183[_0x34f116(0xba)]){case _0x201bd4[_0x34f116(0x332)]:this[_0x34f116(0x2b1)](_0x1a9183),this['_event$'][_0x34f116(0x345)](_0x1a9183);break;case _0x201bd4[_0x34f116(0x25b)]:this[_0x34f116(0x391)](_0x1a9183),this[_0x34f116(0x148)][_0x34f116(0x345)](_0x1a9183);break;case _0x201bd4[_0x34f116(0x1f3)]:case _0x201bd4['CHANGESET_SHOULD_RETRY']:this[_0x34f116(0x10b)](),this[_0x34f116(0x239)](),this[_0x34f116(0x148)][_0x34f116(0x345)](_0x1a9183);break;case _0x201bd4['MSG_FOR_ERROR']:this[_0x34f116(0xf9)][_0x34f116(0x331)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x1a9183)),this[_0x34f116(0x148)][_0x34f116(0x345)](_0x1a9183);break;case _0x201bd4[_0x34f116(0xbe)]:this[_0x34f116(0x366)]['onCommentUpdate'](_0x1a9183[_0x34f116(0x2b9)]),this[_0x34f116(0x148)][_0x34f116(0x345)](_0x1a9183);break;default:this[_0x34f116(0x148)][_0x34f116(0x345)](_0x1a9183);}}catch(_0xae59e7){this[_0x34f116(0xf9)][_0x34f116(0x331)](_0xae59e7,_0x7d6982);}}[_0x138943(0x2b1)](_0xa84087){var _0x5c1524=_0x138943;this['_memberService'][_0x5c1524(0x23a)](this['_unitID'],_0xa84087[_0x5c1524(0x2b9)]);}[_0x138943(0x391)](_0x373ee2){var _0x2421d4=_0x138943;this[_0x2421d4(0xb1)]['removeMember'](this[_0x2421d4(0x1d0)],_0x373ee2[_0x2421d4(0x2b9)][_0x2421d4(0x1f9)]);}async[_0x138943(0x20b)](_0x54aa4a,_0x36327d){var _0x8576e2=_0x138943;if(this['sessionStatus']!==0x3||!this[_0x8576e2(0x27d)])throw new Error(_0x8576e2(0x185));try{_0x54aa4a['eventID']===_0x201bd4[_0x8576e2(0x238)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x8576e2(0x11f)](_0x54aa4a)),this['_socket']['send']({'cmd':F[_0x8576e2(0x272)],'routeKey':_0x36327d,'routeType':'','data':_0x54aa4a});}catch(_0x1f1a08){this[_0x8576e2(0xf9)][_0x8576e2(0x331)](_0x1f1a08);}}[_0x138943(0x1fe)](){var _0xd407af=_0x138943,_0x5f03bc;this[_0xd407af(0x99)]=setTimeout(()=>{var _0x2587cf=_0xd407af;this[_0x2587cf(0x99)]=null,this[_0x2587cf(0xf8)][_0x2587cf(0x2c7)]({'id':ne[_0x2587cf(0x2cf)]});},(_0x5f03bc=this[_0xd407af(0x38b)][_0xd407af(0xad)](fi))!=null?_0x5f03bc:vi);}[_0x138943(0x239)](){var _0x442598=_0x138943;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x442598(0x99)]),this[_0x442598(0x99)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x3b58db){var _0x505ee2=_0x138943;if(!this[_0x505ee2(0x389)])return;const {data:_0x21657c}=_0x3b58db,{unitID:_0x58073d,changeset:_0x1055d0}=_0x21657c,{mutations:_0x3e7855,type:_0x20d63c}=_0x1055d0;this['_telemetryInfo']={'unitId':_0x58073d,'type':_0x20d63c,'startTime':performance[_0x505ee2(0x2ac)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x3e7855)};}[_0x138943(0x10b)](){var _0x776503=_0x138943;if(this[_0x776503(0x389)]){if(!this[_0x776503(0xfc)]){this[_0x776503(0xf9)][_0x776503(0x331)](_0x776503(0x168),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x776503(0xfc)][_0x776503(0x1df)]=performance[_0x776503(0x2ac)](),this[_0x776503(0xfc)][_0x776503(0x9f)]=this[_0x776503(0xfc)][_0x776503(0x1df)]-this[_0x776503(0xfc)][_0x776503(0x2a2)],this[_0x776503(0x313)][_0x776503(0xb7)](xs,this[_0x776503(0xfc)]),this[_0x776503(0xfc)]=null;}}[_0x138943(0x103)](){var _0x3c6233=_0x138943;this[_0x3c6233(0xfc)]=null;}};gt=Fs([pe(0x2,_0x3258ec),pe(0x3,_0x12b0b8),pe(0x4,_0xf474f8(_0x19364c)),pe(0x5,_0xf474f8(Pe)),pe(0x6,_0xf474f8(Si)),pe(0x7,_0xf474f8(ve)),pe(0x8,_0x4bfb9c(_0x5c1286))],gt);var Vs=Object[_0x138943(0x20f)],Gs=(_0x559c05,_0x29772c,_0x3081eb,_0xab825f)=>{for(var _0x2c4727=_0xab825f>0x1?void 0x0:_0xab825f?Vs(_0x29772c,_0x3081eb):_0x29772c,_0x2b146a=_0x559c05['length']-0x1,_0x18bbc5;_0x2b146a>=0x0;_0x2b146a--)(_0x18bbc5=_0x559c05[_0x2b146a])&&(_0x2c4727=_0x18bbc5(_0x2c4727)||_0x2c4727);return _0x2c4727;},Re=(_0x5e968a,_0x2bb99a)=>(_0x37f536,_0x454242)=>_0x2bb99a(_0x37f536,_0x454242,_0x5e968a);let Le=class extends _0x3db37f{constructor(_0x2754d1,_0x23e71f,_0x2cc36f,_0x46c03a,_0x31c9f2,_0x55ac35){var _0x5d2189=_0x138943;super(),N(this,_0x5d2189(0xe4),new _0x2b8adc(void 0x0)),N(this,_0x5d2189(0x251),this[_0x5d2189(0xe4)][_0x5d2189(0x382)]()),N(this,_0x5d2189(0x33a),null),N(this,_0x5d2189(0xa7),new Map()),N(this,_0x5d2189(0x16b),new _0x2b8adc(Se[_0x5d2189(0x1de)])),N(this,_0x5d2189(0x10d),this[_0x5d2189(0x16b)][_0x5d2189(0x382)]()),N(this,_0x5d2189(0x10e),!0x1),N(this,_0x5d2189(0x25e)),N(this,_0x5d2189(0x320),0x0),N(this,_0x5d2189(0x11b)),N(this,_0x5d2189(0x167)),(this[_0x5d2189(0x1ae)]=_0x2754d1,this[_0x5d2189(0xf9)]=_0x23e71f,this['_configService']=_0x2cc36f,this[_0x5d2189(0x226)]=_0x46c03a,this['_collaborationUIEventService']=_0x31c9f2,this[_0x5d2189(0x293)]=_0x55ac35,this[_0x5d2189(0x177)]());}get[_0x138943(0x27d)](){var _0x520fea=_0x138943;return this[_0x520fea(0xe4)][_0x520fea(0x300)]();}[_0x138943(0x177)](){var _0x338c6a=_0x138943;this[_0x338c6a(0x293)]&&this[_0x338c6a(0x240)](this[_0x338c6a(0x293)][_0x338c6a(0x2f0)]['subscribe'](_0x9d7bd6=>{var _0x51e87a=_0x338c6a;_0x9d7bd6&&!this['_socket']&&this[_0x51e87a(0x2d9)](),_0x9d7bd6||this[_0x51e87a(0x131)]();}));}[_0x138943(0x120)](){var _0x172438=_0x138943;super[_0x172438(0x120)](),this['_clearRetryConnectingTimer'](),this[_0x172438(0x171)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x172438(0x34e)](_0x40b483=>_0x40b483[_0x172438(0x120)]()),this[_0x172438(0xa7)][_0x172438(0x1bf)](),this[_0x172438(0x16b)]['complete']();}async[_0x138943(0x8f)](_0x657752){var _0xafdacc=_0x138943;if(this['_sessions']['has'](_0x657752))return this[_0xafdacc(0xa7)][_0xafdacc(0x107)](_0x657752);this[_0xafdacc(0x2bd)]();const _0x234c19=this['_injector'][_0xafdacc(0x1a1)](gt,_0x657752,this['_socket$']['asObservable']());return this['_sessions'][_0xafdacc(0x34a)](_0x657752,_0x234c19),_0x234c19;}[_0x138943(0x375)](_0xdc788b){var _0x2f7b4e=_0x138943,_0x34537e;const _0x598878=this[_0x2f7b4e(0xa7)][_0x2f7b4e(0x107)](_0xdc788b);_0x598878&&(this[_0x2f7b4e(0xa7)][_0x2f7b4e(0x2ab)](_0xdc788b),_0x598878[_0x2f7b4e(0x364)]()),this[_0x2f7b4e(0xa7)]['size']||(_0x34537e=this['_socket'])==null||_0x34537e['close']();}[_0x138943(0x2d9)](){var _0x1150e2=_0x138943;this[_0x1150e2(0x320)]=0x0,this[_0x1150e2(0x249)](),this[_0x1150e2(0x217)]();}['_clearRetryConnectingTimer'](){var _0x2868c1=_0x138943;this[_0x2868c1(0x25e)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2868c1(0x25e)]=null);}async[_0x138943(0x94)](){var _0x35bcd8=_0x138943,_0x43080e,_0x507211;const _0x272f7d=this['_configService'][_0x35bcd8(0xad)](gs),_0x57ca8f=this[_0x35bcd8(0x38b)]['getConfig'](K),_0x12514a=(_0x507211=(_0x43080e=_0x57ca8f==null?void 0x0:_0x57ca8f[_0x35bcd8(0x134)])!=null?_0x43080e:_0x272f7d)!=null?_0x507211:Ss,_0x1915a0=await this[_0x35bcd8(0x226)]['createSocket'](_0x12514a);return this[_0x35bcd8(0x33a)]=_0x1915a0,_0x1915a0;}async[_0x138943(0x2bd)](){var _0x410ce9=_0x138943,_0x4b68c7,_0x554b53;try{const _0x1c7151=(_0x554b53=(_0x4b68c7=this[_0x410ce9(0x27d)])!=null?_0x4b68c7:this['_candidateSocket'])!=null?_0x554b53:await this['_createSocket']();if(_0x1c7151){const _0x1a3b8b=_0x1c7151[_0x410ce9(0x20b)];_0x1c7151['send']=_0xa31cf2=>(this[_0x410ce9(0x26c)](),_0x1a3b8b['apply'](_0x1c7151,[_0xa31cf2])),_0x1c7151[_0x410ce9(0xed)][_0x410ce9(0x15c)](_0x394374=>this[_0x410ce9(0x369)](_0x1c7151,_0x394374)),_0x1c7151['error$']['pipe'](_0x484269(0x1))[_0x410ce9(0x15c)](_0x2681d1=>this[_0x410ce9(0xf9)]['error'](_0x410ce9(0x1ad),_0x2681d1)),_0x1c7151[_0x410ce9(0x2c9)]['pipe'](_0x484269(0x1))[_0x410ce9(0x15c)](()=>{var _0x2f47b1=_0x410ce9;this[_0x2f47b1(0x38e)](_0x1c7151);}),_0x1c7151[_0x410ce9(0xee)][_0x410ce9(0x156)](_0x484269(0x1))['subscribe'](_0x4480fe=>{var _0x24f9e2=_0x410ce9;this[_0x24f9e2(0xf9)]['debug'](_0x24f9e2(0x383),'socket\x20close',_0x4480fe),this[_0x24f9e2(0x1d1)]();});}}catch(_0xf943d1){this[_0x410ce9(0xf9)][_0x410ce9(0x331)](_0xf943d1),this[_0x410ce9(0x1d1)]();}}[_0x138943(0x38e)](_0x3b3854){var _0x29ec15=_0x138943;this[_0x29ec15(0xf9)]['debug'](_0x29ec15(0x383),_0x29ec15(0x8e)),_0x3b3854['send']({'cmd':F[_0x29ec15(0x151)]}),this[_0x29ec15(0x26c)]();}['_onOffline'](){var _0x5a32db=_0x138943;this[_0x5a32db(0x10e)]=!0x1,this[_0x5a32db(0x33a)]=null,this[_0x5a32db(0x16b)][_0x5a32db(0x345)](Se['OFFLINE']),this[_0x5a32db(0xe4)]['next'](null),this[_0x5a32db(0x171)](),this[_0x5a32db(0x30a)]();}[_0x138943(0x1d1)](){var _0x1cf5dd=_0x138943,_0x35d8ac;this['_onOffline'](),this[_0x1cf5dd(0x320)]<((_0x35d8ac=this['_configService'][_0x1cf5dd(0xad)](Cs))!=null?_0x35d8ac:Rs)?(this['_collaborationUIEventService'][_0x1cf5dd(0x2c7)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0x1cf5dd(0x217)]()):this[_0x1cf5dd(0xf8)][_0x1cf5dd(0x2c7)]({'id':ne[_0x1cf5dd(0x1cc)]});}[_0x138943(0x217)](){var _0x639121=_0x138943,_0x294815;const _0x5bc6fb=this['_retryCount'],_0x1e9a53=this['_configService']['getConfig'](K),_0x396081=_0x5bc6fb===0x0?0x0:((_0x294815=_0x1e9a53==null?void 0x0:_0x1e9a53['retryConnectingInterval'])!=null?_0x294815:Ts)*0x2**_0x5bc6fb;this[_0x639121(0x25e)]=setTimeout(()=>{var _0x5df0d3=_0x639121;clearTimeout(this['_retryConnectingTimer']),this[_0x5df0d3(0x25e)]=null,this[_0x5df0d3(0x2bd)]();},_0x396081),this[_0x639121(0x320)]+=0x1;}[_0x138943(0x369)](_0x47c72f,_0x475111){var _0x2141aa=_0x138943;const {cmd:_0x3f0a34}=_0x475111;_0x3f0a34===F[_0x2141aa(0x151)]&&!this[_0x2141aa(0x10e)]&&(_0x47c72f['memberID']=_0x475111['data'][_0x2141aa(0x1f9)],this[_0x2141aa(0xe4)][_0x2141aa(0x345)](_0x47c72f),this[_0x2141aa(0x16b)][_0x2141aa(0x345)](Se[_0x2141aa(0x188)]),this['_socketReady']=!0x0,this[_0x2141aa(0x33a)]=null),_0x3f0a34===F[_0x2141aa(0xde)]&&this[_0x2141aa(0x171)](),this['_rescheduleHeartbeat']();}[_0x138943(0x26c)](){var _0x31b47e=_0x138943,_0x3f4c26;this[_0x31b47e(0x30a)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x31b47e(0x276)](),(_0x3f4c26=this['_configService'][_0x31b47e(0xad)](Es))!=null?_0x3f4c26:Is);}[_0x138943(0x276)](){var _0x264764=_0x138943;this['_socket']['send']({'cmd':F[_0x264764(0xde)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x5d4ab2=_0x138943,_0x2500b4;this[_0x5d4ab2(0x167)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x2500b4=this[_0x5d4ab2(0x38b)][_0x5d4ab2(0xad)](fi))!=null?_0x2500b4:vi);}[_0x138943(0x30a)](){var _0x5d2ed9=_0x138943;this[_0x5d2ed9(0x11b)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5d2ed9(0x11b)]=null);}[_0x138943(0x171)](){var _0x518bf2=_0x138943;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x518bf2(0x167)]),this[_0x518bf2(0x167)]=null);}};Le=Gs([Re(0x0,_0xf474f8(_0x5789a2)),Re(0x1,_0x3258ec),Re(0x2,_0x12b0b8),Re(0x3,gi),Re(0x4,_0xf474f8(ve)),Re(0x5,_0x4bfb9c(Us))],Le);const J=_0x13331e(_0x138943(0xa6));function Pr(_0x2f3d28){var _0x4170f3=_0x138943;return _0x4170f3(0x140)+_0x2f3d28;}var Ys=Object[_0x138943(0x20f)],Ws=(_0x3aa1c6,_0x4a0725,_0x290f5e,_0xc38899)=>{var _0x5dc3a0=_0x138943;for(var _0x309647=_0xc38899>0x1?void 0x0:_0xc38899?Ys(_0x4a0725,_0x290f5e):_0x4a0725,_0x5c7a0f=_0x3aa1c6[_0x5dc3a0(0x16f)]-0x1,_0x47b586;_0x5c7a0f>=0x0;_0x5c7a0f--)(_0x47b586=_0x3aa1c6[_0x5c7a0f])&&(_0x309647=_0x47b586(_0x309647)||_0x309647);return _0x309647;},ut=(_0x5429a0,_0x40fd55)=>(_0xb7e277,_0x36534b)=>_0x40fd55(_0xb7e277,_0x36534b,_0x5429a0);function Ks(_0x1b1a2c){var _0x39003d=_0x138943;const {unitID:_0x33d549,mutations:_0x5b4b7f}=_0x1b1a2c;return{'unitId':_0x33d549,'subUnitId':_0x5b4b7f[0x0][_0x39003d(0x108)][_0x39003d(0x169)]};}let it=class{constructor(_0xc984c8,_0x33d8ab,_0x3e2547){var _0x1bb4a7=_0x138943;this[_0x1bb4a7(0x1ae)]=_0xc984c8,this[_0x1bb4a7(0xdd)]=_0x33d8ab,this[_0x1bb4a7(0x2fb)]=_0x3e2547;}[_0x138943(0x341)](_0x4ea698){var _0x4ccd02=_0x138943,_0x39f19b,_0x5b84c6,_0x1dee24,_0x362a4f;const _0x2688d5=this[_0x4ccd02(0x1ae)][_0x4ccd02(0x107)](_0x2a04c0),{unitId:_0xc8f535,subUnitId:_0x4519e7}=Ks(_0x4ea698),_0xc566f1=_0x2688d5==null?void 0x0:_0x2688d5[_0x4ccd02(0x245)](_0xc8f535)[_0x4ccd02(0x2f3)](),_0x3f815e=(_0x5b84c6=(_0x39f19b=this[_0x4ccd02(0x2fb)][_0x4ccd02(0x367)](_0xc8f535))==null?void 0x0:_0x39f19b['getActiveSheet']())==null?void 0x0:_0x5b84c6[_0x4ccd02(0x1bb)]();if(_0xc566f1[_0x4ccd02(0x16f)]===0x0||!_0xc8f535||!_0x4519e7)return;const _0x4ee6c=[{'id':_0x3c322f['id'],'params':{'unitId':_0xc8f535,'subUnitId':_0x3f815e,'selections':_0x5b3e45[_0x4ccd02(0x17a)](_0xc566f1)}}],_0x310f78=this[_0x4ccd02(0xdd)][_0x4ccd02(0x269)](_0x4ea698,_0x4ee6c);if(!_0xbf8d3f(_0x310f78))throw _0x310f78[_0x4ccd02(0x331)];const _0x2e41e4=(_0x362a4f=(_0x1dee24=_0x310f78['m2Prime'][0x0])==null?void 0x0:_0x1dee24[_0x4ccd02(0x108)])==null?void 0x0:_0x362a4f['selections'];if(Array[_0x4ccd02(0x21a)](_0x2e41e4)&&_0x2e41e4['length']){if(_0x2e41e4['length']===_0x4ee6c[0x0][_0x4ccd02(0x108)]['selections'][_0x4ccd02(0x16f)]&&_0x2e41e4[_0x4ccd02(0x2e2)]((_0x16d69a,_0x2af71a)=>_0x439ace[_0x4ccd02(0x137)](_0x16d69a[_0x4ccd02(0x209)],_0x4ee6c[0x0]['params'][_0x4ccd02(0x342)][_0x2af71a]['range'])))return;this[_0x4ccd02(0x1ae)]['get'](_0x351ff9)['executeCommand'](_0x3c322f['id'],{'unitId':_0xc8f535,'subUnitId':_0x3f815e,'selections':_0x2e41e4});}}};it=Ws([ut(0x0,_0xf474f8(_0x5789a2)),ut(0x1,_0x4dbb14),ut(0x2,_0x2384ff)],it);function _0x48f5(_0x15c58a,_0x3a0317){var _0x44d3a1=_0x44d3();return _0x48f5=function(_0x48f591,_0x396486){_0x48f591=_0x48f591-0x8a;var _0x5338f3=_0x44d3a1[_0x48f591];return _0x5338f3;},_0x48f5(_0x15c58a,_0x3a0317);}const ht=_0x13331e('univer-pro.collaboration-client.single-active-unit-service');var Ei=(_0xb6786c=>(_0xb6786c[_0xb6786c[_0x138943(0x229)]=0x0]=_0x138943(0x229),_0xb6786c[_0xb6786c[_0x138943(0x13b)]=0x1]=_0x138943(0x13b),_0xb6786c))(Ei||{});const qs=new Set([_0x399b77['id']]);function Yt(_0x732393,_0x148c7b,_0x4a2f99,_0x10597f,_0x50c66a){var _0x1b5c5c=_0x138943,_0x4c195e,_0x17006e,_0x33ffc2,_0xb8c9c4;const _0xaa2417=[];for(const _0x2fcb30 of _0x732393)if(qs['has'](_0x2fcb30['id'])){if(_0xaa2417[_0x1b5c5c(0x16f)]>0x0)break;_0xaa2417[_0x1b5c5c(0xc4)](_0x2fcb30);break;}else _0xaa2417[_0x1b5c5c(0xc4)](_0x2fcb30);const _0x4e2ff0=(_0x17006e=(_0x4c195e=_0x50c66a[_0x1b5c5c(0x8d)]())==null?void 0x0:_0x4c195e['userID'])!=null?_0x17006e:_0x1b5c5c(0x8c),_0x59fdf1=(_0xb8c9c4=(_0x33ffc2=_0x50c66a[_0x1b5c5c(0x8d)]())==null?void 0x0:_0x33ffc2[_0x1b5c5c(0x1f9)])!=null?_0xb8c9c4:'unknown';return{'changeset':{'unitID':_0x148c7b,'type':_0x525caf(_0x4a2f99[_0x1b5c5c(0x365)](_0x148c7b)),'baseRev':_0x10597f[_0x1b5c5c(0x16a)](_0x148c7b),'revision':0x0,'userID':_0x4e2ff0,'memberID':_0x59fdf1,'mutations':_0xaa2417},'pendingMutations':_0x732393[_0x1b5c5c(0x22a)](_0xaa2417[_0x1b5c5c(0x16f)])};}function zs(_0x231202,_0x59f753,_0x3e0ab1,_0x412a7e,_0x56dac5){var _0x36d569=_0x138943,_0x33f925,_0x411888,_0xb9b93e,_0x2505de;const _0x19d9ca=[_0x231202[_0x36d569(0x28a)]((_0x403a5b,_0x1758ce)=>{var _0x172ba9=_0x36d569,_0x1d85a2;const {id:_0x4e0e22}=_0x403a5b,{id:_0x50daa6,type:_0xae0395}=_0x1758ce,_0x5c9003=(_0x1d85a2=_0x403a5b['params'])!=null?_0x1d85a2:{'actions':null},_0x4dce78=_0x1758ce[_0x172ba9(0x108)];if(_0x4e0e22&&_0x4e0e22!==_0x50daa6)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4e0e22+_0x172ba9(0x2ce)+_0x50daa6+'.');return{..._0x403a5b,'id':_0x50daa6,'type':_0xae0395,'params':{'unitId':_0x4dce78[_0x172ba9(0x30f)],'textRanges':_0x4dce78[_0x172ba9(0x1ab)],'actions':_0x4e608e[_0x172ba9(0x1dd)](_0x5c9003['actions'],_0x4dce78[_0x172ba9(0x22e)])}};},{})],_0x3c19ce=(_0x411888=(_0x33f925=_0x56dac5[_0x36d569(0x8d)]())==null?void 0x0:_0x33f925[_0x36d569(0x248)])!=null?_0x411888:'unknown',_0x58ff34=(_0x2505de=(_0xb9b93e=_0x56dac5[_0x36d569(0x8d)]())==null?void 0x0:_0xb9b93e[_0x36d569(0x1f9)])!=null?_0x2505de:'unknown';return{'changeset':{'unitID':_0x59f753,'type':_0x525caf(_0x3e0ab1[_0x36d569(0x365)](_0x59f753)),'baseRev':_0x412a7e[_0x36d569(0x16a)](_0x59f753),'revision':0x0,'userID':_0x3c19ce,'memberID':_0x58ff34,'mutations':_0x19d9ca},'pendingMutations':[]};}function Ii(_0x4ac2b1,_0x331883){var _0x41290d=_0x138943;const _0xd5385f=new _0x44a66d(0x1);return setTimeout(()=>_0xd5385f[_0x41290d(0x345)](_0x331883),_0x4ac2b1),_0xd5385f[_0x41290d(0x382)]()[_0x41290d(0x156)](_0x4bb901(0x1));}const Js={'id':_0x75321e['id'],'type':_0x2b2b6d[_0x138943(0x2cd)],'params':{}};var Xs=Object[_0x138943(0x20f)],Ie=(_0x1b893d,_0x5824c7,_0x5cd364,_0x240dd5)=>{for(var _0x311540=_0x240dd5>0x1?void 0x0:_0x240dd5?Xs(_0x5824c7,_0x5cd364):_0x5824c7,_0x185fc7=_0x1b893d['length']-0x1,_0x4d9247;_0x185fc7>=0x0;_0x185fc7--)(_0x4d9247=_0x1b893d[_0x185fc7])&&(_0x311540=_0x4d9247(_0x311540)||_0x311540);return _0x311540;},P=(_0x57715f,_0x56806a)=>(_0x1377d3,_0x45a6d9)=>_0x56806a(_0x1377d3,_0x45a6d9,_0x57715f),Ti=(_0x39bc17=>(_0x39bc17[_0x138943(0x1a2)]=_0x138943(0x2ec),_0x39bc17[_0x138943(0x297)]=_0x138943(0x128),_0x39bc17[_0x138943(0xd3)]=_0x138943(0x1e2),_0x39bc17[_0x138943(0x8b)]=_0x138943(0xa1),_0x39bc17[_0x138943(0x386)]=_0x138943(0x263),_0x39bc17[_0x138943(0x387)]='fetch_missing',_0x39bc17['CONFLICT']=_0x138943(0xc1),_0x39bc17[_0x138943(0xe8)]=_0x138943(0xaf),_0x39bc17))(Ti||{});const Ci=0xea60;class Te{constructor(_0x20941a,_0x15200e,_0x350c04,_0x5aff01,_0x47769d,_0x2b0394,_0x4320b0,_0x1f1561,_0x26a759){var _0x147629=_0x138943;N(this,_0x147629(0xd5),null),N(this,_0x147629(0x257),[]),(this[_0x147629(0x117)]=_0x20941a,this['type']=_0x15200e,this[_0x147629(0xd6)]=_0x47769d,this[_0x147629(0x2d5)]=_0x2b0394,this[_0x147629(0x1da)]=_0x4320b0,this['_revisionService']=_0x1f1561,this['_localCacheService']=_0x26a759,this['_awaitingChangeset']=_0x350c04,this['_pendingMutations']=_0x5aff01);}[_0x138943(0x206)](_0xd997e6){var _0xb75fc6=_0x138943;const _0x3558b0=this[_0xb75fc6(0x192)][_0xb75fc6(0x16a)](this[_0xb75fc6(0x117)]);return _0xd997e6[_0xb75fc6(0xe5)]>_0x3558b0+0x1?(this['_handler'][_0xb75fc6(0x288)]({'from':_0x3558b0,'to':_0xd997e6[_0xb75fc6(0xe5)]-0x1}),!0x0):!0x1;}[_0x138943(0x219)](_0x475ab5){var _0x22e6f0=_0x138943;this[_0x22e6f0(0x1da)]['transformUndoRedo'](this['unitID'],_0x475ab5);}['_transformSelections'](_0x3f7467){var _0x1bda93=_0x138943,_0x260f53,_0xd83562;(_0xd83562=(_0x260f53=this[_0x1bda93(0xd6)])[_0x1bda93(0x2a3)])==null||_0xd83562[_0x1bda93(0x141)](_0x260f53,_0x3f7467);}['_transformIMECache'](_0x1ab187){var _0xeb52d9=_0x138943,_0x1484db,_0x31cff0;return(_0x31cff0=(_0x1484db=this[_0xeb52d9(0xd6)])[_0xeb52d9(0x2f6)])==null?void 0x0:_0x31cff0[_0xeb52d9(0x141)](_0x1484db,_0x1ab187);}[_0x138943(0x1d6)](_0x38aa0b){var _0x4890dc=_0x138943,_0x4f9ba2,_0xbaa31f;return(_0xbaa31f=(_0x4f9ba2=this['_handler'])[_0x4890dc(0x290)])==null?void 0x0:_0xbaa31f[_0x4890dc(0x141)](_0x4f9ba2,_0x38aa0b);}[_0x138943(0xeb)](_0x225b0b){var _0x493761=_0x138943,_0x5cde8f,_0x41aec4,_0x430804;return(_0x430804=(_0x41aec4=(_0x5cde8f=this['_handler'])[_0x493761(0x30d)])==null?void 0x0:_0x41aec4[_0x493761(0x141)](_0x5cde8f,_0x225b0b))!=null?_0x430804:_0x225b0b;}['_transformRemoteChangesetByStateCache'](_0x3149cc){var _0x49f298=_0x138943,_0x426e10,_0x3caa51,_0x2d0efa;return(_0x2d0efa=(_0x3caa51=(_0x426e10=this['_handler'])[_0x49f298(0x2c2)])==null?void 0x0:_0x3caa51[_0x49f298(0x141)](_0x426e10,_0x3149cc))!=null?_0x2d0efa:_0x3149cc;}[_0x138943(0x32a)](_0x2ec88a){var _0x278ccf=_0x138943,_0x10c808,_0x312606;if(this[_0x278ccf(0x372)]===Z['UNIVER_DOC']){const {unitID:_0x3d9ab7,mutations:_0xb983f6,memberID:_0x3caa0e}=_0x2ec88a,_0x2854f3=_0xb983f6[0x0][_0x278ccf(0x108)][_0x278ccf(0x1ab)];Array[_0x278ccf(0x21a)](_0x2854f3)&&_0x2854f3[_0x278ccf(0x16f)]>0x0&&((_0x312606=(_0x10c808=this[_0x278ccf(0xd6)])[_0x278ccf(0x234)])==null||_0x312606['call'](_0x10c808,{'unitID':_0x3d9ab7,'memberID':_0x3caa0e,'textRanges':_0x2854f3}));}}[_0x138943(0x35e)](){var _0x58de0f=_0x138943,_0x2429f2;(_0x2429f2=this[_0x58de0f(0x236)])==null||_0x2429f2[_0x58de0f(0x346)](this[_0x58de0f(0x117)],this[_0x58de0f(0x372)],this[_0x58de0f(0xd5)],this[_0x58de0f(0x257)]);}[_0x138943(0xc8)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}[_0x138943(0x2f5)](){var _0x2eaaa3=_0x138943;this[_0x2eaaa3(0x192)][_0x2eaaa3(0x15d)](this[_0x2eaaa3(0x117)]);}[_0x138943(0x278)](_0x3c9100){var _0x1a6ff2=_0x138943,_0x25e363;let _0x4e94a2=this['_transformRemoteChangesetByIMECache'](_0x3c9100);_0x4e94a2=this[_0x1a6ff2(0x23e)](_0x4e94a2);const _0x2f2c2e=_0x43b423(_0x4e94a2[_0x1a6ff2(0x2bb)],this[_0x1a6ff2(0x2d5)],{'fromCollab':!0x0});if(!_0x2f2c2e[_0x1a6ff2(0x24d)])throw _0x2f2c2e[_0x1a6ff2(0x331)]instanceof Error?_0x2f2c2e[_0x1a6ff2(0x331)]:new Error((_0x25e363=_0x2f2c2e[_0x1a6ff2(0x331)])!=null?_0x25e363:_0x1a6ff2(0x322));this[_0x1a6ff2(0x351)](_0x4e94a2),this[_0x1a6ff2(0x1d6)](_0x4e94a2),this[_0x1a6ff2(0x219)](_0x3c9100),this[_0x1a6ff2(0x176)](_0x4e94a2),this[_0x1a6ff2(0x32a)](_0x4e94a2),this['_incrementRevisionNumber']();}}let ye=class extends Te{constructor(_0x198c68,_0x28099a,_0x3ae99f,_0x277b8a,_0x1a8139,_0x45710e,_0xfd0688,_0x5b4e1d,_0x461185,_0x2c63b2){var _0x56092a=_0x138943;super(_0x198c68,_0x28099a,null,[],_0x3ae99f,_0xfd0688,_0x45710e,_0x277b8a,_0x2c63b2),N(this,_0x56092a(0x204),_0x56092a(0x128)),(this[_0x56092a(0x1ae)]=_0x1a8139,this[_0x56092a(0xf9)]=_0x5b4e1d,this['_transformService']=_0x461185,this[_0x56092a(0x2cc)]=_0x2c63b2);}[_0x138943(0x144)](_0x2449c7){var _0x80b06e=_0x138943;const _0x2b36cc=this[_0x80b06e(0x1ae)][_0x80b06e(0x1a1)](re,this[_0x80b06e(0x117)],this['type'],[_0x2449c7],this[_0x80b06e(0xd6)]);return _0x2b36cc[_0x80b06e(0x24f)](),_0x2b36cc[_0x80b06e(0x35e)](),_0x2b36cc;}['onRemoteChangeset'](_0x275ebd){var _0x4f2ffb=_0x138943;if(this[_0x4f2ffb(0x206)](_0x275ebd))return this[_0x4f2ffb(0x1ae)][_0x4f2ffb(0x1a1)](Q,this['unitID'],this[_0x4f2ffb(0x372)],null,[],null,[_0x275ebd],this[_0x4f2ffb(0xd6)]);try{const _0x5ca13a=this[_0x4f2ffb(0xdd)][_0x4f2ffb(0x269)](_0x275ebd,[Js]);if(_0xbf8d3f(_0x5ca13a)){const {c1Prime:_0x45e610}=_0x5ca13a;return this['_executeRemoteChangeset'](_0x45e610),this;}throw _0x5ca13a[_0x4f2ffb(0x331)];}catch(_0x4543e8){return this[_0x4f2ffb(0xf9)][_0x4f2ffb(0x331)](_0x4543e8),this[_0x4f2ffb(0x1b2)](!0x1);}}[_0x138943(0x1b2)](_0x551ae1){var _0x3f8e1f=_0x138943;return this[_0x3f8e1f(0x1ae)][_0x3f8e1f(0x1a1)](le,this['unitID'],this[_0x3f8e1f(0x372)],null,[],this[_0x3f8e1f(0xd6)],_0x551ae1);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x138943(0x1c7)](){var _0x4a4e1d=_0x138943;throw new Error(_0x4a4e1d(0x26e));}[_0x138943(0x162)](){return this;}[_0x138943(0x2b3)](){var _0x3dbcfd=_0x138943;return this[_0x3dbcfd(0x1ae)][_0x3dbcfd(0x1a1)](ue,this[_0x3dbcfd(0x117)],this[_0x3dbcfd(0x372)],null,[],this[_0x3dbcfd(0xd6)]);}['toggleOnline'](){return this;}[_0x138943(0x352)](){var _0x3f141b=_0x138943;throw new Error(_0x3f141b(0x2c6));}['fetchMiss'](){var _0x59c81b=_0x138943;const _0x4bda79=this['_revisionService'][_0x59c81b(0x16a)](this[_0x59c81b(0x117)]);return this['_handler'][_0x59c81b(0x288)]({'from':_0x4bda79,'to':0x0}),this[_0x59c81b(0x1ae)][_0x59c81b(0x1a1)](Q,this[_0x59c81b(0x117)],this[_0x59c81b(0x372)],null,[],null,[],this[_0x59c81b(0xd6)]);}};ye=Ie([P(0x3,_0xf474f8(_0x530d37)),P(0x4,_0xf474f8(_0x5789a2)),P(0x5,_0x45a935),P(0x6,_0x351ff9),P(0x7,_0x3258ec),P(0x8,_0x4dbb14),P(0x9,_0x4bfb9c(J))],ye);let re=class extends Te{constructor(_0x6323a2,_0x28ff64,_0x3d7576,_0x4a61e9,_0x330ea2,_0x17c5ce,_0x15b22a,_0x29a229,_0x9e8374,_0x1c698e,_0x5d478d,_0xec50e0,_0x2bc05a,_0xce784a){var _0x514749=_0x138943;super(_0x6323a2,_0x28ff64,null,_0x3d7576,_0x4a61e9,_0x9e8374,_0x2bc05a,_0x17c5ce,_0xce784a),N(this,'status','pending'),N(this,_0x514749(0xb8),null),N(this,_0x514749(0x379),null),(this[_0x514749(0x1ae)]=_0x330ea2,this['_memberService']=_0x15b22a,this[_0x514749(0xf9)]=_0x29a229,this[_0x514749(0x38b)]=_0x1c698e,this[_0x514749(0xdd)]=_0x5d478d,this[_0x514749(0x25a)]=_0xec50e0);}[_0x138943(0x144)](_0x5d5004){var _0x399a66=_0x138943;return this[_0x399a66(0x257)][_0x399a66(0xc4)](_0x5d5004),this[_0x399a66(0x35e)](),this;}[_0x138943(0x2dd)](_0x276de5){var _0x26169e=_0x138943;if(this[_0x26169e(0x206)](_0x276de5))return this[_0x26169e(0xb5)](),this[_0x26169e(0x1ae)]['createInstance'](Q,this[_0x26169e(0x117)],this['type'],null,this[_0x26169e(0x257)],null,[_0x276de5],this[_0x26169e(0xd6)]);try{const _0x3fa276=this[_0x26169e(0xdd)]['transformMutationsWithChangeset'](_0x276de5,this[_0x26169e(0x257)]);if(_0xbf8d3f(_0x3fa276)){const {c1Prime:_0x9e28b1,m2Prime:_0xe6aae9}=_0x3fa276;this['_executeRemoteChangeset'](_0x9e28b1);const _0x5a1782=this[_0x26169e(0x1ae)][_0x26169e(0x1a1)](re,this[_0x26169e(0x117)],this[_0x26169e(0x372)],_0xe6aae9,this[_0x26169e(0xd6)]);this[_0x26169e(0xb5)]();const _0xb4054c=new Date()[_0x26169e(0x294)](),_0x567039=this['_scheduleCompleteTimestamp']?Math[_0x26169e(0x2ef)](this['_scheduleCompleteTimestamp']-_0xb4054c,0x0):this[_0x26169e(0x201)]();return _0x5a1782['_schedule'](_0x567039),_0x5a1782;}throw _0x3fa276[_0x26169e(0x331)];}catch(_0x5f5b35){return this[_0x26169e(0xf9)][_0x26169e(0x331)](_0x5f5b35),this[_0x26169e(0x1b2)](!0x1);}}[_0x138943(0x2e1)](){var _0x1d82dc=_0x138943;throw new Error(_0x1d82dc(0xd8));}['onRemoteRej'](){var _0x3195af=_0x138943;throw new Error(_0x3195af(0xc6));}[_0x138943(0x162)](){return this;}[_0x138943(0x2b3)](){var _0x38d1ec=_0x138943;return this[_0x38d1ec(0xb5)](),this[_0x38d1ec(0x1ae)][_0x38d1ec(0x1a1)](ue,this[_0x38d1ec(0x117)],this[_0x38d1ec(0x372)],null,this[_0x38d1ec(0x257)],this['_handler']);}[_0x138943(0x231)](){return this;}[_0x138943(0x24f)](_0x12c187){var _0x5a8829=_0x138943;const _0x48d716=_0x12c187!=null?_0x12c187:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x5a8829(0x294)]()+_0x48d716,this[_0x5a8829(0x379)]=setTimeout(()=>{var _0x3a23c4=_0x5a8829;this[_0x3a23c4(0xb5)]();let _0x5b4e45=null;switch(this[_0x3a23c4(0x372)]){case Z[_0x3a23c4(0x20d)]:{_0x5b4e45=Yt(this[_0x3a23c4(0x257)],this[_0x3a23c4(0x117)],this[_0x3a23c4(0x25a)],this[_0x3a23c4(0x192)],this['_memberService']);break;}case Z[_0x3a23c4(0x315)]:{this[_0x3a23c4(0x257)][_0x3a23c4(0x2e2)](_0x547206=>_0x547206['id']===_0x17c0b8['id'])?_0x5b4e45=zs(this['_pendingMutations'],this[_0x3a23c4(0x117)],this[_0x3a23c4(0x25a)],this[_0x3a23c4(0x192)],this[_0x3a23c4(0xb1)]):_0x5b4e45=Yt(this[_0x3a23c4(0x257)],this[_0x3a23c4(0x117)],this[_0x3a23c4(0x25a)],this[_0x3a23c4(0x192)],this[_0x3a23c4(0xb1)]);break;}default:throw new Error(_0x3a23c4(0x353)+this[_0x3a23c4(0x372)]+_0x3a23c4(0xb4));}const {changeset:_0x51819c,pendingMutations:_0x233907}=_0x5b4e45;this[_0x3a23c4(0xd6)][_0x3a23c4(0x265)](_0x51819c);const _0x112f7c=_0x233907[_0x3a23c4(0x16f)]?this['_injector'][_0x3a23c4(0x1a1)](ae,this['unitID'],this[_0x3a23c4(0x372)],_0x51819c,_0x233907,this[_0x3a23c4(0xd6)],void 0x0):this[_0x3a23c4(0x1ae)][_0x3a23c4(0x1a1)](_e,this[_0x3a23c4(0x117)],this[_0x3a23c4(0x372)],_0x51819c,this[_0x3a23c4(0xd6)]);_0x112f7c[_0x3a23c4(0x35e)](),this['_handler'][_0x3a23c4(0x1c5)](this,_0x112f7c);},_0x48d716);}[_0x138943(0x201)](){var _0x753517=_0x138943,_0x5bcf54;const _0x22ef33=this[_0x753517(0x38b)][_0x753517(0xad)](K);return(_0x5bcf54=_0x22ef33==null?void 0x0:_0x22ef33[_0x753517(0x194)])!=null?_0x5bcf54:ms;}[_0x138943(0x352)](){var _0x2a841b=_0x138943;throw new Error(_0x2a841b(0xd2));}[_0x138943(0xb5)](){var _0xd9f40b=_0x138943;this[_0xd9f40b(0x379)]!=null&&(clearTimeout(this[_0xd9f40b(0x379)]),this[_0xd9f40b(0x379)]=null);}[_0x138943(0x1b2)](_0x4dd935){var _0x331c10=_0x138943;return this[_0x331c10(0xb5)](),this[_0x331c10(0x1ae)][_0x331c10(0x1a1)](le,this['unitID'],this[_0x331c10(0x372)],null,this[_0x331c10(0x257)],this[_0x331c10(0xd6)],_0x4dd935);}};re=Ie([P(0x4,_0xf474f8(_0x5789a2)),P(0x5,_0xf474f8(_0x530d37)),P(0x6,_0xf474f8(Pe)),P(0x7,_0x3258ec),P(0x8,_0x351ff9),P(0x9,_0x12b0b8),P(0xa,_0x4dbb14),P(0xb,_0x2384ff),P(0xc,_0x45a935),P(0xd,_0x4bfb9c(J))],re);let _e=class extends Te{constructor(_0x193b01,_0x47926d,_0xa15dd5,_0x2dcc45,_0x148981,_0x3c607a,_0x1239cb,_0x2e52bf,_0x4c7e00,_0xcde26b,_0x4e5643){var _0x3de297=_0x138943;super(_0x193b01,_0x47926d,_0xa15dd5,[],_0x2dcc45,_0x1239cb,_0xcde26b,_0x3c607a,_0x4e5643),N(this,_0x3de297(0x204),_0x3de297(0xa1)),N(this,_0x3de297(0x354),0x0),N(this,_0x3de297(0x34d)),N(this,_0x3de297(0x373)),(this['_injector']=_0x148981,this[_0x3de297(0xf9)]=_0x2e52bf,this[_0x3de297(0xdd)]=_0x4c7e00);}['appendMutation'](_0x55837b){var _0x1b563c=_0x138943;this[_0x1b563c(0xb5)]();const _0xadcace=this[_0x1b563c(0x1ae)][_0x1b563c(0x1a1)](ae,this['unitID'],this[_0x1b563c(0x372)],this['_awaitingChangeset'],[_0x55837b],this[_0x1b563c(0xd6)],this['_resendTimer']);return _0xadcace[_0x1b563c(0x35e)](),_0xadcace;}[_0x138943(0x2dd)](_0x590590){var _0x510782=_0x138943;if(this[_0x510782(0x206)](_0x590590))return this[_0x510782(0xb5)](),this[_0x510782(0x1ae)][_0x510782(0x1a1)](Q,this[_0x510782(0x117)],this[_0x510782(0x372)],this[_0x510782(0xd5)],[],null,[_0x590590],this['_handler']);try{const _0x2e595b=this['_transformService'][_0x510782(0x12d)]([_0x590590],[this['_awaitingChangeset']],!0x1);if(_0x40c9ca(_0x2e595b)){const {c1Prime:_0x2cb5ef,c2Prime:_0x228ac9}=_0x2e595b;this[_0x510782(0x278)](_0x2cb5ef[0x0]),_0x228ac9[0x0][_0x510782(0x1b7)]=this['_getCurrentRevision'](),this[_0x510782(0xb5)]();const _0x3fb804=this[_0x510782(0x1ae)][_0x510782(0x1a1)](_e,this[_0x510782(0x117)],this[_0x510782(0x372)],_0x228ac9[0x0],this[_0x510782(0xd6)]);return _0x3fb804[_0x510782(0x35e)](),_0x3fb804;}return this[_0x510782(0x1b2)](!0x1);}catch(_0x26f989){return this[_0x510782(0xf9)][_0x510782(0x331)](_0x26f989),this[_0x510782(0x1b2)](!0x1);}}['onRemoteAck'](_0x5b109c){var _0x520075=_0x138943;this[_0x520075(0xb5)]();const _0x580657=this['_revisionService'][_0x520075(0x16a)](this[_0x520075(0x117)]);if(_0x5b109c['revision']<_0x580657-0x1)return this;if(this[_0x520075(0x206)](_0x5b109c))return this[_0x520075(0x1ae)][_0x520075(0x1a1)](Q,this['unitID'],this[_0x520075(0x372)],null,[],this[_0x520075(0xd5)],[],this[_0x520075(0xd6)]);this[_0x520075(0x2f5)]();const _0x1bda4f=this[_0x520075(0x1ae)][_0x520075(0x1a1)](ye,this[_0x520075(0x117)],this[_0x520075(0x372)],this[_0x520075(0xd6)]);return _0x1bda4f['_updateLocalCache'](),_0x1bda4f;}[_0x138943(0x1c7)](_0x1d5f3a){var _0x1ecd1d=_0x138943;return this[_0x1ecd1d(0x1b2)](!!(_0x1d5f3a!=null&&_0x1d5f3a[_0x1ecd1d(0x105)]));}['onRemoteRetry'](_0x4962da){var _0x483d06=_0x138943;return this[_0x483d06(0x354)]>Ci?this[_0x483d06(0x2b3)]():(this['_resendTimer']=Ii(this[_0x483d06(0x354)],{'timeout':this[_0x483d06(0x354)],'reqId':_0x4962da[_0x483d06(0x304)]}),this['_sender']=this[_0x483d06(0x34d)][_0x483d06(0x15c)](({reqId:_0x4cc881,timeout:_0x471848})=>{this['_resendWithTimeout'](_0x4cc881,_0x471848);}),this);}[_0x138943(0x2b3)](){var _0x2e2ffb=_0x138943;return this[_0x2e2ffb(0xb5)](),this['_injector'][_0x2e2ffb(0x1a1)](ue,this[_0x2e2ffb(0x117)],this[_0x2e2ffb(0x372)],this[_0x2e2ffb(0xd5)],[],this[_0x2e2ffb(0xd6)]);}[_0x138943(0x231)](){return this;}[_0x138943(0x352)](){var _0x39362a=_0x138943;this['_handler'][_0x39362a(0x265)](this[_0x39362a(0xd5)]);}[_0x138943(0x1b2)](_0x4b53c1){var _0xee76e2=_0x138943;return this['_clearScheduledTask'](),this['_injector']['createInstance'](le,this['unitID'],this[_0xee76e2(0x372)],this['_awaitingChangeset'],[],this[_0xee76e2(0xd6)],_0x4b53c1);}[_0x138943(0x2da)](_0x55be74,_0x178ac0){var _0x37a3f2=_0x138943,_0x123126;_0x55be74===((_0x123126=this['_awaitingChangeset'])==null?void 0x0:_0x123126['reqId'])&&(this[_0x37a3f2(0x352)](),this[_0x37a3f2(0x354)]=_0x178ac0===0x0?0x3e8:_0x178ac0*0x2);}[_0x138943(0xb5)](){var _0x27d11f=_0x138943,_0x4b3fa2;(_0x4b3fa2=this[_0x27d11f(0x373)])==null||_0x4b3fa2['unsubscribe'](),this[_0x27d11f(0x354)]=0x0;}};_e=Ie([P(0x4,_0xf474f8(_0x5789a2)),P(0x5,_0xf474f8(_0x530d37)),P(0x6,_0x351ff9),P(0x7,_0x3258ec),P(0x8,_0x4dbb14),P(0x9,_0x45a935),P(0xa,_0x4bfb9c(J))],_e);let ae=class extends Te{constructor(_0x23e251,_0x3a5581,_0x4688cd,_0x5548a5,_0x1726fb,_0x217210,_0x594b4d,_0x54c088,_0x22a4b1,_0x4eb2b0,_0x5d1dc1,_0x56b38e,_0x16355b){var _0x434026=_0x138943;super(_0x23e251,_0x3a5581,_0x4688cd,_0x5548a5,_0x1726fb,_0x22a4b1,_0x56b38e,_0x54c088,_0x16355b),N(this,_0x434026(0x204),_0x434026(0x263)),N(this,'_resendTimeout',0x0),N(this,_0x434026(0x34d)),N(this,_0x434026(0x373)),(this[_0x434026(0x1ae)]=_0x594b4d,this[_0x434026(0xf9)]=_0x4eb2b0,this[_0x434026(0xdd)]=_0x5d1dc1,this['localCacheService']=_0x16355b,_0x217210&&(this[_0x434026(0x34d)]=_0x217210,this['_sender']=this['_resendTimer'][_0x434026(0x15c)](({reqId:_0x2c30c9,timeout:_0x5d7f83})=>{var _0x4d5d12=_0x434026;this[_0x4d5d12(0x2da)](_0x2c30c9,_0x5d7f83);})));}[_0x138943(0x144)](_0x4ebc97){var _0xd9f483=_0x138943;return this[_0xd9f483(0x257)][_0xd9f483(0xc4)](_0x4ebc97),this;}[_0x138943(0x2dd)](_0x42b65a){var _0x553af9=_0x138943;if(this[_0x553af9(0x206)](_0x42b65a))return this[_0x553af9(0xb5)](),this['_injector'][_0x553af9(0x1a1)](Q,this['unitID'],this[_0x553af9(0x372)],this[_0x553af9(0xd5)],this[_0x553af9(0x257)],null,[_0x42b65a],this[_0x553af9(0xd6)]);try{const _0x496998=this[_0x553af9(0xdd)]['transformChangesets']([_0x42b65a],[this[_0x553af9(0xd5)]],!0x1);if(_0x40c9ca(_0x496998)){const {c1Prime:_0x50de19,c2Prime:_0x68429b}=_0x496998,_0x477fd0=this[_0x553af9(0xdd)]['transformMutationsWithChangeset'](_0x50de19[0x0],this[_0x553af9(0x257)]);if(_0xbf8d3f(_0x477fd0)){const {c1Prime:_0x58f557,m2Prime:_0xca1cfb}=_0x477fd0;return this['_executeRemoteChangeset'](_0x58f557),_0x68429b[0x0]['baseRev']=this[_0x553af9(0xc8)](),this[_0x553af9(0xb5)](),this[_0x553af9(0x1ae)][_0x553af9(0x1a1)](ae,this[_0x553af9(0x117)],this[_0x553af9(0x372)],_0x68429b[0x0],_0xca1cfb,this['_handler'],void 0x0);}throw _0x477fd0[_0x553af9(0x331)];}throw _0x496998[_0x553af9(0x331)];}catch(_0x2a3610){return this['_logService']['error'](_0x2a3610),this[_0x553af9(0x1b2)](!0x1);}}[_0x138943(0x2e1)](_0x16e6ca){var _0x3b76da=_0x138943;if(this[_0x3b76da(0xb5)](),this[_0x3b76da(0x206)](_0x16e6ca))return this[_0x3b76da(0x1ae)][_0x3b76da(0x1a1)](Q,this['unitID'],this[_0x3b76da(0x372)],null,this[_0x3b76da(0x257)],this['_awaitingChangeset'],[],this[_0x3b76da(0xd6)]);this[_0x3b76da(0x2f5)]();const _0x2e2eff=this['_injector'][_0x3b76da(0x1a1)](re,this['unitID'],this[_0x3b76da(0x372)],this[_0x3b76da(0x257)],this[_0x3b76da(0xd6)]);return _0x2e2eff['_schedule'](),_0x2e2eff[_0x3b76da(0x35e)](),_0x2e2eff;}[_0x138943(0x1c7)](_0x4b6400){var _0xe06d4e=_0x138943;return this[_0xe06d4e(0x1b2)](!!(_0x4b6400!=null&&_0x4b6400[_0xe06d4e(0x105)]));}[_0x138943(0x162)](_0x1e69bd){var _0x53ebdf=_0x138943;return this['_resendTimeout']>Ci?this['toggleOffline']():(this[_0x53ebdf(0x34d)]=Ii(this[_0x53ebdf(0x354)],{'timeout':this['_resendTimeout'],'reqId':_0x1e69bd[_0x53ebdf(0x304)]}),this[_0x53ebdf(0x373)]=this[_0x53ebdf(0x34d)][_0x53ebdf(0x15c)](({reqId:_0x26de11,timeout:_0x1d9828})=>{var _0x2e7345=_0x53ebdf;this[_0x2e7345(0x2da)](_0x26de11,_0x1d9828);}),this);}[_0x138943(0x2b3)](){var _0x515039=_0x138943;return this[_0x515039(0xb5)](),this['_injector'][_0x515039(0x1a1)](ue,this[_0x515039(0x117)],this[_0x515039(0x372)],this[_0x515039(0xd5)],this[_0x515039(0x257)],this[_0x515039(0xd6)]);}[_0x138943(0x231)](){return this;}['resend'](){var _0x8380da=_0x138943;this[_0x8380da(0xd6)]['onSendChangeset'](this[_0x8380da(0xd5)]);}[_0x138943(0x1b2)](_0x101ded){var _0x32ba59=_0x138943;return this['_clearScheduledTask'](),this[_0x32ba59(0x1ae)][_0x32ba59(0x1a1)](le,this[_0x32ba59(0x117)],this[_0x32ba59(0x372)],null,this[_0x32ba59(0x257)],this[_0x32ba59(0xd6)],_0x101ded);}[_0x138943(0x2da)](_0x359a83,_0x39f880){var _0x42822a=_0x138943,_0x216971;_0x359a83===((_0x216971=this[_0x42822a(0xd5)])==null?void 0x0:_0x216971[_0x42822a(0x304)])&&(this['resend'](),this[_0x42822a(0x354)]=_0x39f880===0x0?0x3e8:_0x39f880*0x2);}[_0x138943(0xb5)](){var _0x2d7113=_0x138943,_0x3a491a;(_0x3a491a=this['_sender'])==null||_0x3a491a[_0x2d7113(0x30b)](),this[_0x2d7113(0x354)]=0x0;}};ae=Ie([P(0x6,_0xf474f8(_0x5789a2)),P(0x7,_0xf474f8(_0x530d37)),P(0x8,_0x351ff9),P(0x9,_0x3258ec),P(0xa,_0x4dbb14),P(0xb,_0x45a935),P(0xc,_0x4bfb9c(J))],ae);let le=class extends Te{constructor(_0x332114,_0x523c18,_0x365e64,_0x496820,_0x138b6e,_0x3c8f94=!0x1,_0x269994,_0x10776d,_0x4c0e99,_0x57b6f1,_0x33f067,_0xfbf067,_0x201762){var _0x3bbd37=_0x138943;super(_0x332114,_0x523c18,_0x365e64,_0x496820,_0x138b6e,_0x10776d,_0x4c0e99,_0x57b6f1,_0x201762),N(this,_0x3bbd37(0x204),_0x3bbd37(0xc1)),(this[_0x3bbd37(0x358)]=_0x3c8f94,this[_0x3bbd37(0x29c)]=_0x269994,this[_0x3bbd37(0x1e4)]=_0x33f067,this['_collaborationUIEventService']=_0xfbf067,this[_0x3bbd37(0x2cc)]=_0x201762,this[_0x3bbd37(0x27f)](),this['_clearLocalCache'](),this[_0x3bbd37(0x1ac)]());}[_0x138943(0x144)](){return this;}[_0x138943(0x2dd)](){return this;}[_0x138943(0x2e1)](){return this;}[_0x138943(0x1c7)](){return this;}['onRemoteRetry'](){return this;}[_0x138943(0x2b3)](){return this;}[_0x138943(0x231)](){return this;}[_0x138943(0x352)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x129fd9=_0x138943,_0x452569;(_0x452569=this[_0x129fd9(0x236)])==null||_0x452569['updateOfflineData'](this[_0x129fd9(0x117)],this[_0x129fd9(0x372)],null,[]);}['_showConflictNotification'](){var _0x1d7333=_0x138943;this[_0x1d7333(0x358)]?this[_0x1d7333(0xf8)]['emitEvent']({'id':ne[_0x1d7333(0x38c)]}):this[_0x1d7333(0xf8)][_0x1d7333(0x2c7)]({'id':ne['CONFLICT']});}[_0x138943(0x1ac)](){var _0x26b1cc=_0x138943;this[_0x26b1cc(0x29c)]['updatePermissionPoint'](new _0x544e43(this[_0x26b1cc(0x117)])['id'],!0x1);}};le=Ie([P(0x6,_0xf474f8(_0x460d73)),P(0x7,_0x351ff9),P(0x8,_0x45a935),P(0x9,_0xf474f8(_0x530d37)),P(0xa,_0xf474f8(_0x19364c)),P(0xb,_0xf474f8(ve)),P(0xc,_0x4bfb9c(J))],le);let ue=class extends Te{constructor(_0xea3292,_0x532ad4,_0x339dd2,_0x5d127d,_0x535cac,_0x5c7095,_0x2a72df,_0x9bf919,_0x2f7ae9,_0x2cb761){var _0x3bde7d=_0x138943;super(_0xea3292,_0x532ad4,_0x339dd2,_0x5d127d,_0x535cac,_0x9bf919,_0x2f7ae9,_0x2a72df,_0x2cb761),N(this,_0x3bde7d(0x204),_0x3bde7d(0xaf)),this[_0x3bde7d(0x1ae)]=_0x5c7095;}[_0x138943(0x144)](_0x58a534){var _0x511ac0=_0x138943;return this[_0x511ac0(0x257)]['push'](_0x58a534),this[_0x511ac0(0x35e)](),this;}[_0x138943(0x2dd)](_0xc8c5d1){var _0x19a03b=_0x138943;throw new Error(_0x19a03b(0x19d));}['onRemoteAck'](){var _0x158ed4=_0x138943;throw new Error(_0x158ed4(0x15a));}[_0x138943(0x1c7)](){var _0x4993ba=_0x138943;throw new Error(_0x4993ba(0x258));}[_0x138943(0x162)](){return this;}[_0x138943(0x2b3)](){return this;}[_0x138943(0x231)](){var _0x4d0729=_0x138943;const {_injector:_0x482375,_pendingMutations:_0x5c5395,_awaitingChangeset:_0x5f5079,unitID:_0x3f0f03,_handler:_0x50dd6c,type:_0x32c915}=this,_0x2e4da4=Ri(_0x482375,_0x3f0f03,_0x32c915,_0x5f5079,_0x5c5395,_0x50dd6c);return _0x2e4da4 instanceof re?_0x2e4da4['_schedule']():(_0x2e4da4 instanceof ae||_0x2e4da4 instanceof _e)&&_0x2e4da4[_0x4d0729(0x352)](),_0x2e4da4;}['resend'](){var _0x1a985d=_0x138943;throw new Error(_0x1a985d(0x359));}};ue=Ie([P(0x5,_0xf474f8(_0x5789a2)),P(0x6,_0xf474f8(_0x530d37)),P(0x7,_0x351ff9),P(0x8,_0x45a935),P(0x9,_0x4bfb9c(J))],ue);let Q=class extends Te{constructor(_0x35664b,_0x93ebc7,_0x1af3ec,_0x501218,_0x502819,_0x33d760,_0x24ce02,_0x459d1f,_0x5904ae,_0x563be6,_0x4446e2,_0x61665d,_0x2473a2,_0x6213d1){var _0x33dbba=_0x138943;super(_0x35664b,_0x93ebc7,_0x1af3ec,_0x501218,_0x24ce02,_0x4446e2,_0x61665d,_0x5904ae,_0x6213d1),N(this,'status',_0x33dbba(0xf6)),(this[_0x33dbba(0x228)]=_0x502819,this[_0x33dbba(0x28e)]=_0x33d760,this['_injector']=_0x459d1f,this['_logService']=_0x563be6,this['_transformService']=_0x2473a2,this[_0x33dbba(0x2cc)]=_0x6213d1);}[_0x138943(0x1b3)](_0xebd1fe){var _0x373ea5=_0x138943;try{const _0x3d743e=[..._0xebd1fe,...this['_queuedRemoteChangesets']],_0x2f970d=[this['_awaitingChangeset']||this[_0x373ea5(0x228)]][_0x373ea5(0x275)](_0x32e5fb=>!!_0x32e5fb);let _0xe19e5c,_0x176ec9;if(_0x2f970d[_0x373ea5(0x16f)]){const _0xa89c49=this[_0x373ea5(0xdd)][_0x373ea5(0x12d)](_0x3d743e,_0x2f970d,!0x1);if(!_0x40c9ca(_0xa89c49))throw _0xa89c49[_0x373ea5(0x331)];_0xe19e5c=_0xa89c49[_0x373ea5(0xbf)],_0x176ec9=_0xa89c49['c2Prime'];}else _0xe19e5c=_0x3d743e,_0x176ec9=[];let _0x1556e9=this['_pendingMutations'];_0xe19e5c[_0x373ea5(0x34e)](_0x5a7165=>{var _0x20a989=_0x373ea5;let _0x5171a8;if(_0x1556e9[_0x20a989(0x16f)]){const _0x263eb5=this[_0x20a989(0xdd)][_0x20a989(0x269)](_0x5a7165,_0x1556e9);if(!_0xbf8d3f(_0x263eb5))throw _0x263eb5['error'];_0x5171a8=_0x263eb5[_0x20a989(0xbf)],_0x1556e9=_0x263eb5[_0x20a989(0x2a6)];}else _0x5171a8=_0x5a7165;this[_0x20a989(0x278)](_0x5171a8);}),this[_0x373ea5(0x228)]&&this['_incrementRevisionNumber'](),this[_0x373ea5(0xd5)]&&_0x176ec9['length']&&(_0x176ec9[0x0][_0x373ea5(0x1b7)]=this[_0x373ea5(0xc8)]());let _0x43ea25;if(this['_awaitingChangeset']&&_0x1556e9['length']!==0x0)_0x43ea25=this[_0x373ea5(0x1ae)][_0x373ea5(0x1a1)](ae,this[_0x373ea5(0x117)],this[_0x373ea5(0x372)],_0x176ec9[0x0],_0x1556e9,this['_handler'],void 0x0);else{if(this[_0x373ea5(0xd5)]&&_0x1556e9[_0x373ea5(0x16f)]===0x0)_0x176ec9[0x0][_0x373ea5(0x1b7)]=this[_0x373ea5(0xc8)](),_0x43ea25=this[_0x373ea5(0x1ae)][_0x373ea5(0x1a1)](_e,this[_0x373ea5(0x117)],this[_0x373ea5(0x372)],_0x176ec9[0x0],this[_0x373ea5(0xd6)]);else{if(_0x1556e9[_0x373ea5(0x16f)]!==0x0){const _0x47b81f=this[_0x373ea5(0x1ae)][_0x373ea5(0x1a1)](re,this[_0x373ea5(0x117)],this[_0x373ea5(0x372)],_0x1556e9,this['_handler']);_0x47b81f['_schedule'](),_0x43ea25=_0x47b81f;}else _0x43ea25=this[_0x373ea5(0x1ae)][_0x373ea5(0x1a1)](ye,this[_0x373ea5(0x117)],this[_0x373ea5(0x372)],this[_0x373ea5(0xd6)]);}}return _0x43ea25[_0x373ea5(0x35e)](),_0x43ea25;}catch(_0xd900e1){return this[_0x373ea5(0xf9)][_0x373ea5(0x331)](_0x373ea5(0x12b),_0x373ea5(0x1e3),_0xd900e1),this['_injector']['createInstance'](le,this[_0x373ea5(0x117)],this[_0x373ea5(0x372)],this['_awaitingChangeset'],this[_0x373ea5(0x257)],this[_0x373ea5(0xd6)],!0x1);}}['resend'](){var _0xb9709f=_0x138943;throw new Error(_0xb9709f(0x37f));}[_0x138943(0x144)](_0x504127){var _0x47808e=_0x138943;return this['_pendingMutations'][_0x47808e(0xc4)](_0x504127),this;}[_0x138943(0x2dd)](_0x3c741e){var _0x4bde5d=_0x138943;return this['_queuedRemoteChangesets'][_0x4bde5d(0xc4)](_0x3c741e),this;}[_0x138943(0x2e1)](_0xf42e8){var _0x1ca9a4=_0x138943;if(this[_0x1ca9a4(0xd5)])return this['_acknowledgedAwaitingChangeset']=this[_0x1ca9a4(0xd5)],this['_awaitingChangeset']=null,this;throw new Error(_0x1ca9a4(0x20a));}['onRemoteRej'](_0x42ad0e){var _0x1cbefd=_0x138943;return this['_onConflict'](!!(_0x42ad0e!=null&&_0x42ad0e[_0x1cbefd(0x105)]));}[_0x138943(0x162)](){return this;}[_0x138943(0x2b3)](){var _0x1771f5=_0x138943;return this[_0x1771f5(0x1ae)][_0x1771f5(0x1a1)](ue,this['unitID'],this[_0x1771f5(0x372)],this[_0x1771f5(0xd5)],this[_0x1771f5(0x257)],this[_0x1771f5(0xd6)]);}[_0x138943(0x231)](){return this;}['_onConflict'](_0x526694){var _0x24621a=_0x138943;return this[_0x24621a(0x1ae)][_0x24621a(0x1a1)](le,this['unitID'],this[_0x24621a(0x372)],this[_0x24621a(0xd5)],this['_pendingMutations'],this[_0x24621a(0xd6)],_0x526694);}};Q=Ie([P(0x7,_0xf474f8(_0x5789a2)),P(0x8,_0xf474f8(_0x530d37)),P(0x9,_0x3258ec),P(0xa,_0x351ff9),P(0xb,_0x45a935),P(0xc,_0x4dbb14),P(0xd,_0x4bfb9c(J))],Q);function Ri(_0x445134,_0x5c8a2d,_0x3eeca5,_0x5a0e50,_0x59bf96,_0x1640b8){var _0x7539e9=_0x138943;return _0x5a0e50&&_0x59bf96[_0x7539e9(0x16f)]?_0x445134[_0x7539e9(0x1a1)](ae,_0x5c8a2d,_0x3eeca5,_0x5a0e50,_0x59bf96,_0x1640b8,void 0x0):_0x5a0e50?_0x445134[_0x7539e9(0x1a1)](_e,_0x5c8a2d,_0x3eeca5,_0x5a0e50,_0x1640b8):_0x59bf96[_0x7539e9(0x16f)]?_0x445134[_0x7539e9(0x1a1)](re,_0x5c8a2d,_0x3eeca5,_0x59bf96,_0x1640b8):_0x445134[_0x7539e9(0x1a1)](ye,_0x5c8a2d,_0x3eeca5,_0x1640b8);}var Zs=Object[_0x138943(0x20f)],wt=(_0x3b751b,_0x529fb9,_0x2fd91b,_0x2fd984)=>{var _0x3b037e=_0x138943;for(var _0xd63cee=_0x2fd984>0x1?void 0x0:_0x2fd984?Zs(_0x529fb9,_0x2fd91b):_0x529fb9,_0x40414e=_0x3b751b[_0x3b037e(0x16f)]-0x1,_0x2019d8;_0x40414e>=0x0;_0x40414e--)(_0x2019d8=_0x3b751b[_0x40414e])&&(_0xd63cee=_0x2019d8(_0xd63cee)||_0xd63cee);return _0xd63cee;},H=(_0x4ee2e3,_0x4df579)=>(_0x54cb12,_0x1ef349)=>_0x4df579(_0x54cb12,_0x1ef349,_0x4ee2e3);let st=class extends _0x2fbbd2{constructor(_0x1ed222,_0x2107e8,_0x34fdaf,_0x10cacb,_0x3fa4c2,_0x21108e,_0x2a277f,_0x4cf42f,_0x4620ca,_0x5b2caa,_0x154f06,_0x5eeaa3,_0x122178){var _0x5d6564=_0x138943;super(),N(this,'_state$',new _0x2b8adc(null)),N(this,'state$',this['_state$']['asObservable']()),N(this,_0x5d6564(0x25c)),N(this,_0x5d6564(0x97),!0x1),N(this,_0x5d6564(0x318),''),N(this,_0x5d6564(0x12e),0x0),N(this,'status$',this[_0x5d6564(0x166)][_0x5d6564(0x156)](_0x4b5fb8(_0x42791b=>_0x42791b?_0x42791b[_0x5d6564(0x204)]:Ti['OFFLINE']),_0x4d316d(0x1))),N(this,_0x5d6564(0x9a),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x5d6564(0x117)]=_0x1ed222,this['session']=_0x2107e8,this['_type']=_0x34fdaf,this[_0x5d6564(0x1ae)]=_0x10cacb,this[_0x5d6564(0x25d)]=_0x3fa4c2,this[_0x5d6564(0x1e4)]=_0x21108e,this[_0x5d6564(0x192)]=_0x2a277f,this[_0x5d6564(0x14b)]=_0x4cf42f,this[_0x5d6564(0xf9)]=_0x4620ca,this['_commandService']=_0x5b2caa,this[_0x5d6564(0x29c)]=_0x154f06,this[_0x5d6564(0x307)]=_0x5eeaa3,this[_0x5d6564(0x236)]=_0x122178);}get[_0x138943(0x11d)](){return this['_state'];}async[_0x138943(0x27b)](){var _0x58afe2=_0x138943;if(this[_0x58afe2(0x11d)])throw new Error(_0x58afe2(0x380));await this[_0x58afe2(0x22f)]();}[_0x138943(0x2f4)](){var _0x4de776=_0x138943;return this[_0x4de776(0x97)]=!0x0,_0x549098(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x138943(0xcc)](_0x5e28d5){this['_onLocalMutation'](_0x5e28d5);}[_0x138943(0x2d3)](_0x51707c){var _0x5c4dfa=_0x138943;this[_0x5c4dfa(0x25c)]=_0x51707c,this[_0x5c4dfa(0x348)][_0x5c4dfa(0x345)](_0x51707c);}async['_init'](){var _0x1e5ef2=_0x138943,_0x5004ed;this[_0x1e5ef2(0x2d3)](await this[_0x1e5ef2(0xc7)]()),this[_0x1e5ef2(0x307)]&&((_0x5004ed=this[_0x1e5ef2(0x307)])==null||_0x5004ed['editingUnit'](this[_0x1e5ef2(0x117)]),this[_0x1e5ef2(0x240)](this[_0x1e5ef2(0x307)][_0x1e5ef2(0x27c)](this[_0x1e5ef2(0x117)])[_0x1e5ef2(0x15c)](_0x16ad53=>{var _0x27a923=_0x1e5ef2;this[_0x27a923(0xf9)][_0x27a923(0x1af)](_0x27a923(0x2fa),_0x27a923(0x2c3),_0x16ad53),_0x16ad53===Ei[_0x27a923(0x13b)]?(this[_0x27a923(0x14b)]['emitEvent']({'id':ne[_0x27a923(0x2eb)]}),this[_0x27a923(0x29c)]['updatePermissionPoint'](new _0x544e43(this[_0x27a923(0x117)])['id'],!0x1),this[_0x27a923(0x29c)][_0x27a923(0x32f)](!0x1)):(this['_permissionService'][_0x27a923(0x159)](new _0x544e43(this['unitID'])['id'],!0x0),this[_0x27a923(0x29c)][_0x27a923(0x32f)](!0x0));})));let _0x46435d=!0x1;return this[_0x1e5ef2(0x240)](this[_0x1e5ef2(0x10f)][_0x1e5ef2(0x2ea)][_0x1e5ef2(0x15c)](_0x2198b4=>{var _0x304f0c=_0x1e5ef2;_0x2198b4===Se[_0x304f0c(0x188)]?this[_0x304f0c(0x18d)](_0x46435d):_0x2198b4===Se[_0x304f0c(0xe8)]&&(_0x46435d=!0x0,this[_0x304f0c(0x302)]());})),this[_0x1e5ef2(0x240)](this['session'][_0x1e5ef2(0x371)]['subscribe'](_0x326d08=>{var _0x2c7072=_0x1e5ef2;try{switch(_0x326d08[_0x2c7072(0xba)]){case _0x201bd4[_0x2c7072(0x308)]:{this[_0x2c7072(0x109)](_0x14cc48(_0x326d08[_0x2c7072(0x2b9)]));break;}case _0x201bd4[_0x2c7072(0x1f3)]:{this[_0x2c7072(0x1bc)](_0x326d08[_0x2c7072(0x2b9)]);break;}case _0x201bd4[_0x2c7072(0x23d)]:{this[_0x2c7072(0x273)]();break;}case _0x201bd4['CHANGESET_SHOULD_RETRY']:{this[_0x2c7072(0xe3)](_0x326d08[_0x2c7072(0x2b9)]);break;}case _0x201bd4[_0x2c7072(0x32c)]:{this['_onFetchMissResult'](_0x326d08[_0x2c7072(0x2b9)][_0x2c7072(0x292)][_0x2c7072(0x37d)](_0x470bda=>_0x14cc48(_0x470bda)));break;}case _0x201bd4['PERMISSION_REJ']:{this[_0x2c7072(0x273)]({'isPermissionRej':!0x0});break;}case _0x201bd4[_0x2c7072(0x1bd)]:break;}}catch(_0x5457e2){throw console[_0x2c7072(0x331)](_0x2c7072(0x28c),_0x5457e2),_0x5457e2;}})),this[_0x1e5ef2(0x25c)];}[_0x138943(0xbb)](){var _0x1bc4b9=_0x138943;this[_0x1bc4b9(0x9a)]=!0x1;}[_0x138943(0x1e6)](){var _0x5c2831=_0x138943;if(this['_transitionLocked'])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[_0x5c2831(0x9a)]=!0x0;}['_onLocalMutation'](_0x5d2414){var _0x3750c2=_0x138943;this[_0x3750c2(0x1e6)](),this[_0x3750c2(0x2d3)](this[_0x3750c2(0x25c)][_0x3750c2(0x144)](_0x5d2414)),this[_0x3750c2(0xbb)]();}[_0x138943(0x109)](_0x46abd9){var _0x57e4bf=_0x138943;if(!(_0x46abd9[_0x57e4bf(0xe5)]<=this[_0x57e4bf(0x192)][_0x57e4bf(0x16a)](this[_0x57e4bf(0x117)]))){if(this[_0x57e4bf(0x97)]){this['_remoteChangesetQueue'][_0x57e4bf(0xc4)](_0x46abd9);return;}this[_0x57e4bf(0x1d3)](_0x46abd9);}}[_0x138943(0x2a7)](){var _0x357f3f=_0x138943;this[_0x357f3f(0xf5)][_0x357f3f(0x34e)](_0x2b73b3=>this[_0x357f3f(0x1d3)](_0x2b73b3)),this[_0x357f3f(0xf5)]=[];}[_0x138943(0x1d3)](_0x2b91b6){var _0x19b45b=_0x138943;const _0x530567=this[_0x19b45b(0x25d)][_0x19b45b(0x158)]['fetchThroughInterceptors'](this[_0x19b45b(0x25d)][_0x19b45b(0x158)][_0x19b45b(0x30c)]()[_0x19b45b(0x91)])(_0x2b91b6[_0x19b45b(0x2bb)],null)||_0x2b91b6[_0x19b45b(0x2bb)],_0x277108={..._0x2b91b6,'mutations':_0x530567};this[_0x19b45b(0x1e6)](),this[_0x19b45b(0x2d3)](this[_0x19b45b(0x25c)]['onRemoteChangeset'](_0x277108)),this[_0x19b45b(0xbb)]();}[_0x138943(0x1bc)](_0x3e2180){var _0x68b422=_0x138943;this['_lockTransition'](),this[_0x68b422(0x2d3)](this[_0x68b422(0x25c)][_0x68b422(0x2e1)](_0x3e2180)),this[_0x68b422(0xbb)]();}[_0x138943(0x273)](_0x288a55){var _0x3b41b6=_0x138943;this['_lockTransition'](),this['_updateState'](this[_0x3b41b6(0x25c)][_0x3b41b6(0x1c7)](_0x288a55)),this[_0x3b41b6(0xbb)]();}[_0x138943(0xe3)](_0x27d3bf){var _0x23aa62=_0x138943;this[_0x23aa62(0x1e6)](),this[_0x23aa62(0x2d3)](this[_0x23aa62(0x25c)][_0x23aa62(0x162)](_0x27d3bf)),this['_unlockTransition']();}[_0x138943(0x211)](_0x549b06){var _0x1fe9af=_0x138943;if(!(this[_0x1fe9af(0x25c)]instanceof Q))throw new TypeError(_0x1fe9af(0x173));const _0x18e42b=_0x549b06[_0x1fe9af(0x37d)](_0x4da6c0=>{var _0x4eb752=_0x1fe9af;const _0xabf85f=this[_0x4eb752(0x25d)][_0x4eb752(0x158)]['fetchThroughInterceptors'](this[_0x4eb752(0x25d)][_0x4eb752(0x158)][_0x4eb752(0x30c)]()['COMPRESS_MUTATION_APPLY'])(_0x4da6c0[_0x4eb752(0x2bb)],null)||_0x4da6c0[_0x4eb752(0x2bb)];return{..._0x4da6c0,'mutations':_0xabf85f};});this[_0x1fe9af(0x1e6)](),this[_0x1fe9af(0x2d3)](this[_0x1fe9af(0x25c)][_0x1fe9af(0x1b3)](_0x18e42b)),this[_0x1fe9af(0xbb)]();}['_toggleOffline'](){var _0x4ca218=_0x138943;this[_0x4ca218(0x1e6)](),this[_0x4ca218(0x2d3)](this[_0x4ca218(0x25c)]['toggleOffline']()),this[_0x4ca218(0xbb)]();}['_toggleOnline'](_0x1c3a89=!0x1){var _0x396b61=_0x138943;this[_0x396b61(0x1e6)](),this['_updateState'](this[_0x396b61(0x25c)][_0x396b61(0x231)]()),this[_0x396b61(0xbb)]();const _0x47c639=this[_0x396b61(0x25c)];_0x1c3a89&&_0x47c639 instanceof ye&&(this[_0x396b61(0x1e6)](),this[_0x396b61(0x2d3)](_0x47c639[_0x396b61(0x26a)]()),this[_0x396b61(0xbb)]());}async['_createInitialState'](){return new Promise(_0x4b8cbf=>{var _0x25bdea=_0x48f5;this[_0x25bdea(0x10f)][_0x25bdea(0x2ea)][_0x25bdea(0x156)](_0x4bb901(0x1))[_0x25bdea(0x15c)](async _0x374332=>{_0x4b8cbf(await this['_createInitialStateImpl'](_0x374332===Se['ONLINE']));});});}[_0x138943(0x14d)](){var _0x5d114f=_0x138943;const _0xee94df=this[_0x5d114f(0x117)];return{'onStateChange':(_0x21ccf2,_0x505a0f)=>{var _0x5972e6=_0x5d114f;if(_0x21ccf2!==this['_state'])throw new Error(_0x5972e6(0x19e)+_0x21ccf2[_0x5972e6(0x204)]+'\x0aAfter:\x20'+_0x505a0f[_0x5972e6(0x204)]+'\x0aCurrent:\x20'+this[_0x5972e6(0x25c)][_0x5972e6(0x204)]);this['_updateState'](_0x505a0f);},'onSendChangeset':_0x3a3e84=>{var _0x268d42=_0x5d114f;_0x3a3e84['sid']||(_0x3a3e84['sid']=this[_0x268d42(0x318)],_0x3a3e84[_0x268d42(0x304)]=++this[_0x268d42(0x12e)]);const _0x588d8d={'eventID':_0x201bd4[_0x268d42(0x238)],'data':{'unitID':_0x3a3e84[_0x268d42(0x117)],'unitType':this[_0x268d42(0x250)],'changeset':_0x3a3e84,'memberID':this[_0x268d42(0x10f)][_0x268d42(0xe0)]()}};this['session']['send'](_0x588d8d,this['unitID']);},'onMissingChangesets':({from:_0x27f066,to:_0x3c804d})=>{var _0x19e696=_0x5d114f;this[_0x19e696(0xf9)][_0x19e696(0x1af)]('[CollaborationEntity]',_0x19e696(0x31f)+_0x27f066+_0x19e696(0xf7)+_0x3c804d);const _0x1bdbc5={'eventID':_0x201bd4[_0x19e696(0x191)],'data':{'unitID':_0xee94df,'unitType':this[_0x19e696(0x250)],'from':_0x27f066,'to':_0x3c804d}};this[_0x19e696(0x10f)][_0x19e696(0x20b)](_0x1bdbc5,this[_0x19e696(0x117)]);}};}async[_0x138943(0x136)](_0x4f55fd){var _0xadaee8=_0x138943,_0x3320e9,_0x4bb4a6,_0x380b59;const _0x27521d=await((_0x3320e9=this[_0xadaee8(0x236)])==null?void 0x0:_0x3320e9[_0xadaee8(0x164)](this[_0xadaee8(0x117)])),_0x58aad6=(_0x4bb4a6=_0x27521d==null?void 0x0:_0x27521d[_0xadaee8(0x2bb)])!=null?_0x4bb4a6:[],_0x4fbeb3=(_0x380b59=_0x27521d==null?void 0x0:_0x27521d[_0xadaee8(0x101)])!=null?_0x380b59:null,_0x16d449=!!(_0x4fbeb3!=null&&_0x4fbeb3[_0xadaee8(0x31c)])&&!!(_0x4fbeb3!=null&&_0x4fbeb3['reqId']);this[_0xadaee8(0x318)]=_0x16d449?_0x4fbeb3['sid']:_0x258d15(),this['_changesetReqId']=_0x16d449?_0x4fbeb3[_0xadaee8(0x304)]:0x0;const _0x5b90f6=this[_0xadaee8(0x117)];try{this[_0xadaee8(0x29f)](_0x4fbeb3,_0x58aad6);}catch(_0x2bc408){this[_0xadaee8(0xf9)][_0xadaee8(0x331)](_0x2bc408);}const _0x5a425f=this[_0xadaee8(0x14d)]();if(_0x4f55fd){const _0x157d55=Ri(this[_0xadaee8(0x1ae)],_0x5b90f6,this['_type'],_0x4fbeb3,_0x58aad6,_0x5a425f);return _0x157d55 instanceof re?_0x157d55['_schedule']():(_0x157d55 instanceof ae||_0x157d55 instanceof _e)&&_0x157d55[_0xadaee8(0x352)](),_0x157d55;}return this[_0xadaee8(0x1ae)][_0xadaee8(0x1a1)](ue,_0x5b90f6,this[_0xadaee8(0x250)],_0x4fbeb3,_0x58aad6,_0x5a425f);}[_0x138943(0x29f)](_0x5949f2,_0x54d431){var _0x15e8db=_0x138943,_0x21d919,_0x2c1c59;const _0x2e74ec=this['_compressMutationService'][_0x15e8db(0x158)]['fetchThroughInterceptors'](this[_0x15e8db(0x25d)][_0x15e8db(0x158)][_0x15e8db(0x30c)]()[_0x15e8db(0x91)]);(_0x21d919=_0x2e74ec((_0x5949f2==null?void 0x0:_0x5949f2[_0x15e8db(0x2bb)])||[],null))==null||_0x21d919[_0x15e8db(0x34e)](_0x212a53=>this[_0x15e8db(0x2d5)][_0x15e8db(0x1c1)](_0x212a53['id'],_0x212a53[_0x15e8db(0x108)])),(_0x2c1c59=_0x2e74ec(_0x54d431||[],null))==null||_0x2c1c59[_0x15e8db(0x34e)](_0x59247d=>this['_commandService'][_0x15e8db(0x1c1)](_0x59247d['id'],_0x59247d['params']));}};st=wt([H(0x3,_0xf474f8(_0x5789a2)),H(0x4,_0xf474f8(_0x52b675)),H(0x5,_0xf474f8(_0x19364c)),H(0x6,_0xf474f8(_0x530d37)),H(0x7,_0xf474f8(ve)),H(0x8,_0x3258ec),H(0x9,_0x351ff9),H(0xa,_0x460d73),H(0xb,_0x4bfb9c(ht)),H(0xc,_0x4bfb9c(J))],st);function _0x44d3(){var _0x1f8256=['_toggleOffline','PasswordBasedCipher','reqId','fromCharCode','_sessionStatus$','_singleActiveUnitService','NEW_CHANGESETS','OpenSSL','_clearHeartbeatTimer','unsubscribe','getInterceptPoints','onTransformRemoteChangesetByIMECache','newCsEvent','unitId','saveSnapshot','COMPRESS_MUTATION_SEND','INVALID_ARGUMENT','_telemetryService','TOO_MANY_REQUESTS','UNIVER_DOC','kdf','_getRedoStack','_changesetSessionId','Base64','_submitChangeset','words','sid','loadUnit','SNAPSHOT_INVALID_SNAPSHOT','fetching\x20missing\x20changesets\x20from\x20','_retryCount','JOIN_ROOM_NOT_EXISTS','[CollaborationState]:\x20apply\x20error!','FileId','_collabSessionService','collabSubmitChangesetUrl','url','avatar','_members','setWaitCount','_syncEditingCollabCursor','NOT_FOUND','PSEUDO_FETCH_MISSING_RESULT','WordArray','dispose$','setShowComponents','name','error','USERS_ENTER','LIVESHARE_OPERATION','SHOULD_CLOSE_CONN','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Univer','collaMsg','ALREADY_EXISTS','2984097PbEETK','_candidateSocket','replace','&assign=','cmd','confirm','deleteCollaborator','NoPadding','transformSelections','selections','_createHelper','_replaceFileID','next','updateOfflineData','APPLY_DUPLICATED','_state$','Utf8','set','clone','Hex','_resendTimer','forEach','getImage','cfg','_transformIMECache','resend','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_resendTimeout','getSheetBlock','onStarting','UserProfileImg','_isPermissionRej','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','fetchThroughInterceptors','_userManagerService','_oKey','body','_updateLocalCache','CONFLICT','_joinRoom','extend','liveShareOperation','commentUpdate$','close','getUnitType','_commentService','getUnit','method','_onMessage','_updateStatus','365816pLQWYN','Decryptor','?url=','onload','_key','_iv','event$','type','_sender','UNRECOGNIZED','closeSession','YUUMI_CONNECTOR_URL_NOT_FOUND','registerHTTPInterceptor','_httpService','_sendingTimer','_doCreateSocket','_entities','_getAPIPrefix','map','signUrlServerUrl','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','MD5','asObservable','[CollaborationSessionService]','_HTTPService','UUID','AWAITING_WITH_PENDING','FETCH_MISS','3436mxBMmz','_shouldReportTelemetry','members','_configService','PERMISSION_DENIED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onConnectionOpen','3148254yOaiji','uniscriptRunEvent','_onUserLeave','JOIN_ROOM_FAILED','/resources','addImageSourceCache','YUUMI_ASYNCIO_CANCELLED','saveSheetBlock','FAIL','unpad','roles','readyForCollab','collaborators','COLLAB_SUBMIT_CHANGESET_URL','submit\x20changeset\x20error!','AWAITING','unknown','getCurrentUser','socket\x20open.','requireSession','getCollabEntity','COMPRESS_MUTATION_APPLY','toString','_iKey','_createSocket','_doFinalize','setCurrentUser','_collaborationPaused','floor','_collaborationTimeoutTimer','_transitionLocked','objectActions','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','concat','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','duration','_roomMembers','awaiting','_map','stringify','UPDATE_PERMISSION_OBJ','LIVESHARE_TERMINATE','collaboration-client.local-cache-service','_sessions','defineProperty','/object','34280dZbmQl','decrypt','Pkcs7','getConfig','enableOfflineEditing','offline','parse','_memberService','Could\x20not\x20dynamically\x20require\x20\x22','unitId\x20is\x20not\x20found','\x20in\x20_schedule.','_clearScheduledTask','patch','capture','_scheduleCompleteTimestamp','_substituteRedoStack','eventID','_unlockTransition','LICENSE_DISTRO_REJECTED','_getDownloadEndpointURL','COMMENT_UPDATE','c1Prime','OPTIONAL','conflict','2510naTULo','uploadFileServerUrl','push','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[PendingState]:\x20received\x20rejection.','_createInitialState','_getCurrentRevision','_hash','reverse','ceil','onLocalMutation','createCollaborator','listCollaborators','requestParams','readInt32LE','_createHmacHelper','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','PENDING','EMAIL_HAS_BEEN_BOUND','_awaitingChangeset','_handler','HEARTBEAT_TIMEOUT','[PendingState]:\x20received\x20acknowledgement.','clamp','image/bmp','BlockCipher','execute','_transformService','HEARTBEAT','refreshPermission','getMemberID','EvpKDF','salt','_onRemoteRetry','_socket$','revision','INVITE_CODE_REQUIRED','_clearUndo','OFFLINE','UNKNOWN_CODE','keySize','_transformRemoteChangesetByIMECache','mixIn','message$','close$','_keySchedule','msCrypto','sigBytes','SHA1','$super','CLOSE_ROOM','_remoteChangesetQueue','fetch_missing','\x20to\x20','_collaborationUIEventService','_logService','focused$','UNIVER_UNKNOWN','_telemetryInfo','_change$','PERMISSION_REJ','find','file','awaitingChangeset','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_throwTelemetryCollaborationNewChangeset','_emitMembers','isPermissionRej','LEAVE','get','params','_onRemoteChangeset','addHandlerCallback','_stopTelemetryCollaborationNewChangeset','getUnitOnRev','status$','_socketReady','session','UNIVER_COLLABORATION_CLIENT_PLUGIN','UNAUTHENTICATED','_redoStacks','compute','LICENSE_IMPORT_SIZE_EXCEEDED','csShouldRetryEvent','_roomCreated$','unitID','getTypeOfUnitAdded$','YUUMI_URL_COL_OUT_OF_RANGE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_sendHeartbeatTimer','_fetchMissChangesets','state','startsWith','_startTelemetryCollaborationNewChangeset','dispose','complete','AUTHZ_URL_KEY','location','charAt','_socketMessageSubscription','session.join-failed','generateRandomId','synced','formatter','EMAIL_VERIFY_CODE_MISMATCH','[FetchMissState]','YUUMI_SUBSCRIPTION_NOT_FOUND','transformChangesets','_changesetReqId','LOGIN_FAILED','GLOBAL_ROOMS_CNT_EXCEEDS','_onOffline','catch','__creator','collabWebSocketUrl','52528grXfbt','_createInitialStateImpl','equals','APPLY_REJECT','ERROR_IMAGE','SNAPSHOT_HAS_BEEN_REMOVED','OTHER_CLIENTS_EDITING','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','target','_initRequestHeader','_entityInit$','unit-cache-','call','leaveEvent','reject','appendMutation','_initDependencies','_hasher','JOIN','_event$','entityInit$','createDecryptor','_eventService','_clearRedo','_createHandler','padding','exports','update','HELLO','substr','UPDATE_CURSOR','MOBILE_VERIFY_CODE_MISMATCH','charCodeAt','pipe','getCollabEntity$','interceptor','updatePermissionPoint','[OfflineState]:\x20received\x20acknowledgement.','add','subscribe','incrementRevOfUnit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','objectID','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onRemoteRetry','COLLAB_WEB_SOCKET_URL','loadOfflineData','/-/object/list','state$','_timeoutTimer','[CollaborationSession]','subUnitId','getCurrentRevOfUnit','_status$','POST','/universer-api/oidc/authpage','random','length','DEFAULT_FILE_NAME','_clearTimeoutTimer','permissionRejEvent','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','YUUMI_AI_RUN_FAILED','YUUMI_UNABLE_LOAD_URL','_transformSelections','_listenToNetworkCondition','_onJoinRoomEvent','joinEvent','deepClone','HmacSHA1','ERROR_IMAGE_TYPE','_prevBlock','_data','YUUMI_RATE_OVER_LIMIT','Undefined','UNIVER_SLIDE','SOCKET_FAILED_RETRY','__Key__','blockSize','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getRoom','/universer-api/snapshot/','ONLINE','setConfig','fromCollab','_parse','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_toggleOnline','hostname','/universer-api/authz','csRejEvent','FETCH_MISSING','_revisionService','create','sendChangesetTimeout','JOIN_ROOM_PERMISSION_DENIED','roomInfos','entries','unitInfo$','reset','hasher','finalize','string','[OfflineState]:\x20received\x20changeset.','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','ws://127.0.0.1:8000/universer-api/comb/connect','href','createInstance','NOT_COLLAB','_process','_onLocalMutation','list','copyFileMeta','&source=','_mode','PY_RUNTIME_SCRIPT_ERROR','CONNECTOR_DATA_TOO_LARGE','textRanges','_disableEditing','[CollaborationSessionService]:\x20socket\x20error','_injector','debug','disableLocalCache','30432LpzpyI','_onConflict','onMissedChangesetFetched','headers','createEncryptor','_snapshotServerService','baseRev','collaboration-client.config','_removeRoom','resolve','getSheetId','_onRemoteACK','UNISCRIPT_RUN','_commentUpdate$','clear','_keyPriorReset','executeCommand','/universer-api/stream/file/upload','APPLY_REVISION_CONFILICT','subject','onStateChange','CBC','onRemoteRej','liveShareNewHost','shouldCloseConn','BlockCipherMode','getDeserializedSheetBlock','SOCKET_FAILED','onlyLocal','post','enableSingleActiveInstanceLock','_unitID','_onConnectionFailed','image/jpg','_applyRemoteChangeset','getLatestCsReqIdBySid','UNIVER_PROJECT','_transformStateCache','enableAuthServer','_cipher','_sheetTransformSelectionsService','_undoRedoService','SNAPSHOT_SERVER_URL_KEY','SNAPSHOT_URL_KEY','compose','IDLE','stopTime','getAllMembers','size','pending','failed\x20to\x20apply\x20missed\x20changesets!','_localeService','MOBILE_HAS_BEEN_BOUND','_lockTransition','UNDEFINED','connection\x20error','getUnitId','HttpImport','INVITE_CODE_ALREADY_BOUND','48FSLmlL','_snapshotService','splice','session.room-cnt-exceeds','hasOwnProperty','_initMergeInterceptor','onCommandExecuted','CHANGESET_ACK','COMPLETION_FINISHED','encode','LIVESHARE_REQUEST_HOST','_initCloseConn','getImageSourceCache','memberID','_append','_getAPIPrefixPath','_config','_ENC_XFORM_MODE','_scheduleCollaborationTimeoutTimer','apply','AES','_getSendChangesetTimeout','YUUMI_NO_CUBOID_FOR_QUESTION','SerializableCipher','status','loadSheet','_checkMissing','LIVESHARE_NEW_HOST','LICENSE_MAX_UNITS_EXCEEDED','range','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','send','_getUploadFileURL','UNIVER_SHEET','resourceIDs','getOwnPropertyDescriptor','onCommentUpdate','_onFetchMissResult','APPLY_NON_SEQUENTIAL_REVISION','values','_collaborationSessionService','pluginName','/collaborator','_tryReconnect','_transformStack','_transformUndoredo','isArray','512FuDlul','indexOf','/-/object/-/batch_allowed','getFocusedUnit','putCollaborators','_undoStacks','pad','append','action','JOINING','/unit/','_socketService','abs','_acknowledgedAwaitingChangeset','NO_OTHER_CLIENTS_EDITING','slice','byteOffset','sessionStatus','USER_NOT_INVITED_CODE','actions','_init','_decreaseWaiting','toggleOnline','/object/','_members$','onSyncEditingCollabCursor','function','_localCacheService','from','SUBMIT_CHANGESET','_clearCollaborationTimeoutTimer','updateMember','UNKNOWN_CMD','_substituteUndoStack','CHANGESET_REJ','_transformRemoteChangesetByStateCache','algo','disposeWithMe','routeKey','getMember','JOIN_ROOM_FULL','_getCtorByUniverType','getWorkbookSelections','symbol','ENSURE_SNAPSHOT_EXECUTION','userID','_clearRetryConnectingTimer','includes','_doReset','prototype','result','origin','_schedule','_type','socket$','objectType','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','CHANGESET_SHOULD_RETRY','/rev/','_xformMode','_pendingMutations','[OfflineState]:\x20received\x20rejection.','_unitInfo$','_univerInstanceService','USERS_LEAVE','_state','_compressMutationService','_retryConnectingTimer','_onCombEvent','_minBufferSize','removeMember','join','awaiting_with_pending','_registerDependencies','onSendChangeset','loginUrlKey','[UniverCollaborationClientPlugin]','SUCCUSS','transformMutationsWithChangeset','fetchMiss','crypto','_rescheduleHeartbeat','encrypt','[SyncedState]:\x20received\x20rejection.','_invKeySchedule','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/allowed','INGEST','_onRemoteRejected','Failed\x20to\x20update\x20permission\x20point','filter','_sendHeartbeat','LOCAL_CACHE_INTERVAL','_executeRemoteChangeset','LIVESHARE_FETCH_OPERATIONS','key','init','getUnitStatus$','_socket','_startCollaboration','_showConflictNotification','override','Base','_DEC_XFORM_MODE','APPLY_PERMISSION_DENIED','getRandomValues','code','authzUrl','MSG_FOR_ERROR','onMissingChangesets','auth.needGotoLoginAlert','reduce','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','Error\x20on\x20receiving\x20event','ciphertext','_queuedRemoteChangesets','1WeOBqc','onTransformState','put','changesets','_networkConditionService','getTime','BASE64','YUUMI_ALL_TABLES_IS_INVALID','SYNCED','4140jtlfsn','INVITE_CODE_HAS_BEEN_UES','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_nDataBytes','_permissionService','default','downloadEndpointUrl','_replayCachedMutations','socketService','BufferedBlockAlgorithm','startTime','onTransformSelections','csAckEvent','Malformed\x20UTF-8\x20data','m2Prime','_exhaustRemoteChangesetQueue','INTERNAL_ERROR','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','enc','delete','now','_initUnitPermissionChange','_getLoginPath','{fileID}','HMAC','_onUserJoin','ivSize','toggleOffline','UnitEmbedded','readAsDataURL','members$','Encryptor','_imageSourceCache','data','randomBytes','mutations','loadUnitOfRevision','_tryEnsureSocket','_doProcessBlock','transformStack\x20failed!','updateSnapshot','_getSignURL','onTransformRemoteChangesetByStateCache','editing\x20status\x20changed\x20to','UnitSnapshot','univer-pro.collaboration-client.network-condition.service','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','emitEvent','/block/','open$','error$','_waitCount','localCacheService','MUTATION','\x20-\x20','SUBMIT_CHANGESET_TIMEOUT','findIndex','has','lib','_updateState','fetchMissingChangesets','_commandService','/role','_handlerCallback','format','reconnect','_resendWithTimeout','Latin1','originalMeta','onRemoteChangeset','[DataLoaderService]','PERSON','HmacMD5','onRemoteAck','every','session.room-not-exists','responseType','mode','People','LICENSE_EXPORT_SIZE_EXCEEDED','session.room-full','_getUndoStack','sessionStatus$','OTHER_CLIENT_EDITING','not_collab','waitForRoom$','_nRounds','max','online$','rev','INVALID_INVITE_CODE','getCurrentSelections','pauseCollaboration','_incrementRevisionNumber','onTransformIME','Hasher','joinRsp','saveChangeset','[CollaborationEntity]','_instanceService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','WECHAT_HAS_BEEN_BOUND','getTypeOfUnitDisposed$','localeService','getValue','processBlock'];_0x44d3=function(){return _0x1f8256;};return _0x44d3();}let St=class extends st{constructor(_0x1c4c16,_0x3e1796,_0x21c169,_0x363852,_0x4030f4,_0x5b73d4,_0x38971d,_0x33603e,_0x3e3f90,_0x29269a,_0x474a58,_0x221f24,_0x753f0f){var _0x246ae0=_0x138943;super(_0x1c4c16,_0x21c169,_0x3e1796,_0x363852,_0x4030f4,_0x5b73d4,_0x38971d,_0x33603e,_0x3e3f90,_0x29269a,_0x474a58,_0x221f24,_0x753f0f),N(this,_0x246ae0(0x2d7),null),(this['unitID']=_0x1c4c16,this[_0x246ae0(0x372)]=_0x3e1796);}[_0x138943(0x10a)](_0x3e510f){var _0x61a802=_0x138943;this[_0x61a802(0x2d7)]=_0x3e510f;}[_0x138943(0x120)](){var _0x3ffcf3=_0x138943;this[_0x3ffcf3(0x2d7)]=null,super[_0x3ffcf3(0x120)]();}['_createHandler'](){var _0x271295=_0x138943;const _0x337f23=super['_createHandler']();return _0x337f23['onTransformIME']=_0x2cd468=>{var _0x1a1793=_0x48f5,_0x5a6ec4,_0x2484c5;return(_0x2484c5=(_0x5a6ec4=this[_0x1a1793(0x2d7)])==null?void 0x0:_0x5a6ec4[_0x1a1793(0x2f6)])==null?void 0x0:_0x2484c5[_0x1a1793(0x141)](_0x5a6ec4,_0x2cd468);},_0x337f23[_0x271295(0x290)]=_0x38539f=>{var _0x3d7fcf=_0x271295,_0x4c6991,_0x3e5c3f;return(_0x3e5c3f=(_0x4c6991=this[_0x3d7fcf(0x2d7)])==null?void 0x0:_0x4c6991[_0x3d7fcf(0x290)])==null?void 0x0:_0x3e5c3f[_0x3d7fcf(0x141)](_0x4c6991,_0x38539f);},_0x337f23[_0x271295(0x2a3)]=_0x4c4d05=>{var _0x435d75=_0x271295,_0x1b27de,_0x15ae8d;return(_0x15ae8d=(_0x1b27de=this[_0x435d75(0x2d7)])==null?void 0x0:_0x1b27de[_0x435d75(0x2a3)])==null?void 0x0:_0x15ae8d[_0x435d75(0x141)](_0x1b27de,_0x4c4d05);},_0x337f23[_0x271295(0x234)]=_0x95c1c6=>{var _0x1f57e8=_0x271295,_0x1e6fb6,_0xa326fc;return(_0xa326fc=(_0x1e6fb6=this['_handlerCallback'])==null?void 0x0:_0x1e6fb6[_0x1f57e8(0x234)])==null?void 0x0:_0xa326fc[_0x1f57e8(0x141)](_0x1e6fb6,_0x95c1c6);},_0x337f23[_0x271295(0x30d)]=_0x34da07=>{var _0x49cc0e=_0x271295,_0x23b1af,_0x30dbb9,_0x22db3d;if(!((_0x23b1af=this[_0x49cc0e(0x2d7)])!=null&&_0x23b1af[_0x49cc0e(0x30d)]))throw new Error(_0x49cc0e(0x28b));return(_0x22db3d=(_0x30dbb9=this[_0x49cc0e(0x2d7)])==null?void 0x0:_0x30dbb9['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x22db3d[_0x49cc0e(0x141)](_0x30dbb9,_0x34da07);},_0x337f23[_0x271295(0x2c2)]=_0x2be7e2=>{var _0x1b57d7=_0x271295,_0x483b2f,_0x5e30d0,_0x27c2e6;if(!((_0x483b2f=this['_handlerCallback'])!=null&&_0x483b2f['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x27c2e6=(_0x5e30d0=this['_handlerCallback'])==null?void 0x0:_0x5e30d0[_0x1b57d7(0x2c2)])==null?void 0x0:_0x27c2e6[_0x1b57d7(0x141)](_0x5e30d0,_0x2be7e2);},_0x337f23;}async[_0x138943(0x22f)](){var _0x4deb22=_0x138943;const _0x197592=await super['_init']();return this[_0x4deb22(0x240)](this['_commandService']['onCommandExecuted']((_0x29489f,_0x5f0949)=>{var _0x410cfe=_0x4deb22;if(_0x29489f['type']!==_0x2b2b6d[_0x410cfe(0x2cd)]||_0x5f0949!=null&&_0x5f0949[_0x410cfe(0x18a)]||_0x5f0949!=null&&_0x5f0949[_0x410cfe(0x1cd)]||_0x29489f['id']===_0x17c0b8['id'])return;const _0x3bcfa0=_0x29489f[_0x410cfe(0x108)];if((_0x3bcfa0==null?void 0x0:_0x3bcfa0[_0x410cfe(0x30f)])!==this[_0x410cfe(0x117)])return;const _0x1bf1db=_0x29489f,_0x3b3fdf=this[_0x410cfe(0x25d)][_0x410cfe(0x158)][_0x410cfe(0x35a)](this[_0x410cfe(0x25d)][_0x410cfe(0x158)][_0x410cfe(0x30c)]()[_0x410cfe(0x311)])([_0x1bf1db],null)||[_0x1bf1db];this[_0x410cfe(0x1a4)](_0x3b3fdf[0x0]);})),_0x197592;}};St=wt([H(0x3,_0xf474f8(_0x5789a2)),H(0x4,_0xf474f8(_0x52b675)),H(0x5,_0xf474f8(_0x19364c)),H(0x6,_0xf474f8(_0x530d37)),H(0x7,_0xf474f8(ve)),H(0x8,_0x3258ec),H(0x9,_0x351ff9),H(0xa,_0x460d73),H(0xb,_0x4bfb9c(ht)),H(0xc,_0x4bfb9c(J))],St);let Et=class extends st{constructor(_0x17a05a,_0x1fed25,_0x1594dd,_0x522d2b,_0x17b9e3,_0x321231,_0x30607e,_0x1c1d5d,_0x4f9b1c,_0x1c45bc,_0x44916c,_0x1e9f6d,_0x41f091,_0x10c59e){var _0x1eefef=_0x138943;super(_0x17a05a,_0x1594dd,_0x1fed25,_0x522d2b,_0x17b9e3,_0x321231,_0x30607e,_0x4f9b1c,_0x1c45bc,_0x44916c,_0x1e9f6d,_0x41f091,_0x10c59e),this[_0x1eefef(0x117)]=_0x17a05a,this[_0x1eefef(0x372)]=_0x1fed25,this['_sheetTransformSelectionsService']=_0x1c1d5d;}[_0x138943(0x14d)](){var _0x92386d=_0x138943;const _0x105c5e=super[_0x92386d(0x14d)]();return _0x105c5e[_0x92386d(0x2a3)]=_0x3fa837=>this[_0x92386d(0x1d9)][_0x92386d(0x341)](_0x3fa837),_0x105c5e;}async['_init'](){var _0x18d643=_0x138943;const _0x304bf3=await super[_0x18d643(0x22f)]();return this[_0x18d643(0x240)](this[_0x18d643(0x2d5)][_0x18d643(0x1f2)]((_0x1317e2,_0x218e1a)=>{var _0x57c5ac=_0x18d643;if(_0x1317e2['type']!==_0x2b2b6d[_0x57c5ac(0x2cd)]||_0x218e1a!=null&&_0x218e1a[_0x57c5ac(0x18a)]||_0x218e1a!=null&&_0x218e1a[_0x57c5ac(0x1cd)])return;const _0x2170c8=_0x1317e2[_0x57c5ac(0x108)];if((_0x2170c8==null?void 0x0:_0x2170c8[_0x57c5ac(0x30f)])!==this[_0x57c5ac(0x117)])return;const _0x48281b=_0x1317e2,_0x6d1ae0=this[_0x57c5ac(0x25d)][_0x57c5ac(0x158)][_0x57c5ac(0x35a)](this['_compressMutationService']['interceptor'][_0x57c5ac(0x30c)]()[_0x57c5ac(0x311)])([_0x48281b],null)||[_0x48281b];this[_0x57c5ac(0x1a4)](_0x6d1ae0[0x0]);})),_0x304bf3;}};Et=wt([H(0x3,_0xf474f8(_0x5789a2)),H(0x4,_0xf474f8(_0x52b675)),H(0x5,_0xf474f8(_0x19364c)),H(0x6,_0xf474f8(_0x530d37)),H(0x7,_0xf474f8(it)),H(0x8,_0xf474f8(ve)),H(0x9,_0x3258ec),H(0xa,_0x351ff9),H(0xb,_0x460d73),H(0xc,_0x4bfb9c(ht)),H(0xd,_0x4bfb9c(J))],Et);var Qs=Object['getOwnPropertyDescriptor'],en=(_0x4783ee,_0x3d797f,_0x3f6218,_0x5195ef)=>{var _0x319f3d=_0x138943;for(var _0x3421a9=_0x5195ef>0x1?void 0x0:_0x5195ef?Qs(_0x3d797f,_0x3f6218):_0x3d797f,_0x150c01=_0x4783ee[_0x319f3d(0x16f)]-0x1,_0xe76472;_0x150c01>=0x0;_0x150c01--)(_0xe76472=_0x4783ee[_0x150c01])&&(_0x3421a9=_0xe76472(_0x3421a9)||_0x3421a9);return _0x3421a9;},Be=(_0x2d62f3,_0x517ffa)=>(_0x207ae5,_0x1d4a21)=>_0x517ffa(_0x207ae5,_0x1d4a21,_0x2d62f3);let nt=class extends _0x2fbbd2{constructor(_0x1e90b3,_0x321eb6,_0x4fb156,_0x515547){var _0x3e42d0=_0x138943,_0x57143f;super(),N(this,_0x3e42d0(0x37b),new Map()),N(this,_0x3e42d0(0x13f),new _0x4ff8e0()),N(this,_0x3e42d0(0x149),this[_0x3e42d0(0x13f)][_0x3e42d0(0x382)]()),(this[_0x3e42d0(0x1ae)]=_0x1e90b3,this[_0x3e42d0(0x324)]=_0x321eb6,this[_0x3e42d0(0x38b)]=_0x4fb156,this['_univerInstanceService']=_0x515547,((_0x57143f=this[_0x3e42d0(0x38b)][_0x3e42d0(0xad)](K))==null?void 0x0:_0x57143f['enableCollaboration'])!==!0x1&&this[_0x3e42d0(0x22f)]());}[_0x138943(0x120)](){var _0x153ecd=_0x138943;super[_0x153ecd(0x120)](),this[_0x153ecd(0x37b)][_0x153ecd(0x34e)](_0x9fd1fb=>_0x9fd1fb[_0x153ecd(0x120)]()),this[_0x153ecd(0x37b)]['clear']();}[_0x138943(0x90)](_0x544ec5){var _0x54aa5a=_0x138943,_0x5b9aab;return(_0x5b9aab=this['_entities'][_0x54aa5a(0x107)](_0x544ec5))!=null?_0x5b9aab:null;}[_0x138943(0x157)](_0x3b225f){var _0x272265=_0x138943;const _0xbbff71=this[_0x272265(0x90)](_0x3b225f);return _0xbbff71?_0x2bd803(_0xbbff71):this[_0x272265(0x13f)][_0x272265(0x156)](_0x2a0100(_0x89a6fc=>_0x89a6fc[_0x272265(0x117)]===_0x3b225f));}[_0x138943(0x39a)](_0x510797){var _0x7f8f51=_0x138943;return _0x2647bd(this[_0x7f8f51(0x157)](_0x510797)[_0x7f8f51(0x156)](_0x52e33f(()=>{})));}['_init'](){var _0x4d832c=_0x138943;this[_0x4d832c(0x25a)]['getTypeOfUnitAdded$'](_0x333bc2['UNIVER_SHEET'])['pipe'](_0x40e66e(this[_0x4d832c(0x32e)]),_0x282463(0x10))[_0x4d832c(0x15c)](async _0x58335a=>{var _0x32b464=_0x4d832c;const _0x280b3f=_0x58335a[_0x32b464(0x1e9)](),_0x2bd4ac=await this[_0x32b464(0x27e)](_0x280b3f,Z[_0x32b464(0x20d)]);this[_0x32b464(0x37b)][_0x32b464(0x34a)](_0x280b3f,_0x2bd4ac);}),this['_univerInstanceService'][_0x4d832c(0x118)](_0x333bc2[_0x4d832c(0x315)])[_0x4d832c(0x156)](_0x40e66e(this['dispose$']),_0x282463(0x10))[_0x4d832c(0x156)](_0x2a0100(_0x56000e=>!_0x56000e['getUnitId']()[_0x4d832c(0x11e)]('__')))[_0x4d832c(0x15c)](async _0x2d82db=>{var _0x40ab97=_0x4d832c;const _0x14fa72=_0x2d82db['getUnitId'](),_0x35f3cc=await this[_0x40ab97(0x27e)](_0x14fa72,Z[_0x40ab97(0x315)]);this[_0x40ab97(0x37b)][_0x40ab97(0x34a)](_0x14fa72,_0x35f3cc);}),_0x29b3a7(this[_0x4d832c(0x25a)][_0x4d832c(0x2fe)](_0x333bc2['UNIVER_SHEET']),this[_0x4d832c(0x25a)]['getTypeOfUnitDisposed$'](_0x333bc2[_0x4d832c(0x315)]))[_0x4d832c(0x156)](_0x40e66e(this[_0x4d832c(0x32e)]))['subscribe'](_0x3c5efd=>{var _0x517730=_0x4d832c;const _0x14e4aa=_0x3c5efd[_0x517730(0x1e9)](),_0x5b63cd=this[_0x517730(0x37b)][_0x517730(0x107)](_0x14e4aa);_0x5b63cd&&(_0x5b63cd['dispose'](),this[_0x517730(0x37b)]['delete'](_0x14e4aa));});}async[_0x138943(0x27e)](_0x28fdc6,_0x27e5e9){var _0xb7418f=_0x138943;const _0x2740b0=await this['_collabSessionService'][_0xb7418f(0x8f)](_0x28fdc6),_0x21a578=this[_0xb7418f(0x1ae)]['createInstance'](this[_0xb7418f(0x244)](_0x27e5e9),_0x28fdc6,_0x27e5e9,_0x2740b0);return await _0x21a578[_0xb7418f(0x27b)](),this[_0xb7418f(0x13f)][_0xb7418f(0x345)](_0x21a578),_0x21a578;}['_getCtorByUniverType'](_0x19584a){var _0xf2c4c0=_0x138943;switch(_0x19584a){case Z['UNIVER_DOC']:return St;case Z[_0xf2c4c0(0x20d)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x19584a);}}};nt=en([Be(0x0,_0xf474f8(_0x5789a2)),Be(0x1,_0xf474f8(Le)),Be(0x2,_0x12b0b8),Be(0x3,_0x2384ff)],nt);var tn=Object[_0x138943(0x20f)],sn=(_0x5f52b6,_0x4a0c7e,_0x41fefb,_0x426171)=>{for(var _0x42e4d6=_0x426171>0x1?void 0x0:_0x426171?tn(_0x4a0c7e,_0x41fefb):_0x4a0c7e,_0x398141=_0x5f52b6['length']-0x1,_0x59efce;_0x398141>=0x0;_0x398141--)(_0x59efce=_0x5f52b6[_0x398141])&&(_0x42e4d6=_0x59efce(_0x42e4d6)||_0x42e4d6);return _0x42e4d6;},Wt=(_0x285e3e,_0x5061cc)=>(_0x48ef38,_0x2dc96b)=>_0x5061cc(_0x48ef38,_0x2dc96b,_0x285e3e);const nn=_0x138943(0x170),rn=_0x138943(0x336);let It=class extends _0x3db37f{constructor(_0x4aa7cb,_0x55c0d5){var _0xaf7eb6=_0x138943;super(),this[_0xaf7eb6(0x25a)]=_0x4aa7cb,this[_0xaf7eb6(0x38b)]=_0x55c0d5,this['_init']();}[_0x138943(0x22f)](){var _0x169cf4=_0x138943;this[_0x169cf4(0x240)](this['_univerInstanceService'][_0x169cf4(0xfa)][_0x169cf4(0x15c)](()=>{var _0x227d75=_0x169cf4,_0x2be716;const _0x5684cc=this[_0x227d75(0x25a)]['getFocusedUnit']();let _0xe605f0=(_0x2be716=this[_0x227d75(0x38b)][_0x227d75(0xad)](nn))!=null?_0x2be716:rn;_0x5684cc instanceof _0x22ff93&&(_0xe605f0=_0x5684cc[_0x227d75(0x330)]),document['title']=_0xe605f0;}));}};It=sn([Wt(0x0,_0x2384ff),Wt(0x1,_0x12b0b8)],It);var an=Object['getOwnPropertyDescriptor'],on=(_0x204bee,_0xe47a10,_0x255f7c,_0x486564)=>{var _0x21e267=_0x138943;for(var _0x466de0=_0x486564>0x1?void 0x0:_0x486564?an(_0xe47a10,_0x255f7c):_0xe47a10,_0x1ff3e2=_0x204bee[_0x21e267(0x16f)]-0x1,_0x360159;_0x1ff3e2>=0x0;_0x1ff3e2--)(_0x360159=_0x204bee[_0x1ff3e2])&&(_0x466de0=_0x360159(_0x466de0)||_0x466de0);return _0x466de0;},dt=(_0x6f336f,_0x3255bd)=>(_0x1b86f8,_0x9713f)=>_0x3255bd(_0x1b86f8,_0x9713f,_0x6f336f);let rt=class{constructor(_0x1fd411,_0x1481e9,_0x21d303){var _0x219fbb=_0x138943;this[_0x219fbb(0x38b)]=_0x1fd411,this[_0x219fbb(0x378)]=_0x1481e9,this[_0x219fbb(0x2ff)]=_0x21d303,this[_0x219fbb(0x27b)]();}[_0x138943(0x27b)](){var _0x56dc5f=_0x138943;this['_httpService'][_0x56dc5f(0x377)]({'priority':0x1,'interceptor':(_0x4c1fe6,_0x5673d7)=>_0x5673d7(_0x4c1fe6)['pipe'](_0x2af7ad(async _0x12b784=>{var _0x533175=_0x56dc5f;const _0x180297=_0x12b784;if(_0x180297[_0x533175(0x204)]===0x191){if(typeof window>'u')throw new Error(_0x533175(0x2a9));if(window[_0x533175(0x33e)](this['localeService']['t'](_0x533175(0x289)))){const _0x18abf3=window['encodeURIComponent'](window[_0x533175(0x123)][_0x533175(0x1a0)]);window['location']['href']=this[_0x533175(0x2ae)]()+_0x533175(0x36d)+_0x18abf3;}}return _0x180297;}))});}[_0x138943(0x2ae)](){var _0x31f5a8=_0x138943,_0x297d6d,_0x5682ed;const _0x51b36b=this['_configService'][_0x31f5a8(0xad)](ys),_0xcb6cc2=this['_configService'][_0x31f5a8(0xad)](K);return(_0x5682ed=(_0x297d6d=_0xcb6cc2==null?void 0x0:_0xcb6cc2[_0x31f5a8(0x266)])!=null?_0x297d6d:_0x51b36b)!=null?_0x5682ed:Ns;}};rt=on([dt(0x0,_0x12b0b8),dt(0x1,_0xf474f8(_0xb23947)),dt(0x2,_0xf474f8(_0x19364c))],rt);var cn=Object[_0x138943(0x20f)],hn=(_0x5348c1,_0x3ad820,_0xdc4f95,_0x231316)=>{var _0x16bd04=_0x138943;for(var _0x24c30a=_0x231316>0x1?void 0x0:_0x231316?cn(_0x3ad820,_0xdc4f95):_0x3ad820,_0x38fd7d=_0x5348c1[_0x16bd04(0x16f)]-0x1,_0x1dfddd;_0x38fd7d>=0x0;_0x38fd7d--)(_0x1dfddd=_0x5348c1[_0x38fd7d])&&(_0x24c30a=_0x1dfddd(_0x24c30a)||_0x24c30a);return _0x24c30a;},Kt=(_0x3d7d4a,_0x26c067)=>(_0x5221fa,_0x2998c1)=>_0x26c067(_0x5221fa,_0x2998c1,_0x3d7d4a);const Oi=_0x138943(0x122),_n=_0x138943(0x18f);let Tt=class extends _0x3db37f{constructor(_0x1c0471,_0x34620a){var _0x333d76=_0x138943;super(),this[_0x333d76(0x384)]=_0x1c0471,this[_0x333d76(0x38b)]=_0x34620a,this[_0x333d76(0x1f1)]();}[_0x138943(0x1f1)](){var _0x71ec8=_0x138943;const _0x57d21c=this;this[_0x71ec8(0x240)](this[_0x71ec8(0x384)][_0x71ec8(0x377)]({'priority':0x3e7,'interceptor':_0xb83bbb({'isMatch'(_0xf32b9d){var _0x1b3400=_0x71ec8,_0x2d47d1;if(_0xf32b9d[_0x1b3400(0x368)]===_0x1b3400(0x16c)&&((_0x2d47d1=_0xf32b9d[_0x1b3400(0xcf)])!=null&&_0x2d47d1[_0x1b3400(0x35d)])){const {objectID:_0x45ec45,objectType:_0x292f6a}=_0xf32b9d[_0x1b3400(0xcf)][_0x1b3400(0x35d)]||{};if(!_0x45ec45||_0x292f6a===void 0x0)return!0x1;const _0x38cf9b=_0x57d21c[_0x1b3400(0x1fb)]()+'/'+_0x292f6a+_0x1b3400(0x232)+_0x45ec45+_0x1b3400(0x271);if(_0xf32b9d['url']===_0x38cf9b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x519e55){var _0x5f2629=_0x71ec8,_0x503ca8;return(_0x503ca8=_0x519e55[_0x5f2629(0xcf)])==null?void 0x0:_0x503ca8[_0x5f2629(0x35d)];},'mergeParamsToRequest'(_0x9a7c84,_0x3bf61b){var _0x335dd2=_0x71ec8;const _0xdd4a7a=_0x57d21c['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x2b3849=_0x9a7c84[_0x335dd2(0x28a)]((_0x419045,_0x96bf6f)=>{var _0x1070c1=_0x335dd2;const {unitID:_0x552d12,objectID:_0x14f383,objectType:_0x4d0c42,actions:_0x4ffa3a}=_0x96bf6f;return _0x419045[_0x552d12]||(_0x419045[_0x552d12]={}),_0x419045[_0x552d12][_0x14f383]||(_0x419045[_0x552d12][_0x14f383]={'objectID':_0x14f383,'objectType':_0x4d0c42,'actions':[]}),_0x419045[_0x552d12][_0x14f383]['actions'][_0x1070c1(0xc4)](..._0x4ffa3a),_0x419045;},{}),_0x49524a=[];for(const _0x224952 in _0x2b3849)for(const _0x27428a in _0x2b3849[_0x224952]){const {actions:_0x1cc886,objectType:_0x1acfe4}=_0x2b3849[_0x224952][_0x27428a],_0x1c14c5=[...new Set(_0x1cc886)];_0x49524a['push']({'unitID':_0x224952,'objectID':_0x27428a,'objectType':_0x1acfe4,'actions':_0x1c14c5});}return new _0x2ecf1(_0x335dd2(0x16c),_0xdd4a7a,{'headers':_0x3bf61b[_0x335dd2(0x1b4)],'withCredentials':_0x3bf61b['withCredentials'],'responseType':_0x3bf61b[_0x335dd2(0x2e4)],'body':{'requests':_0x49524a}});}},{'distributeResult'(_0x2e5df8,_0x54ec96){const {objectActions:_0x345b80}=_0x2e5df8;return _0x54ec96['map'](_0x49458b=>{var _0x382271=_0x48f5;const {unitID:_0x191507,objectID:_0x547f89,actions:_0x105f46}=_0x49458b,_0x48a8a8=_0x345b80[_0x382271(0xff)](_0x3c6171=>_0x3c6171[_0x382271(0x117)]===_0x191507&&_0x3c6171[_0x382271(0x160)]===_0x547f89),_0x5dd3da=_0x105f46[_0x382271(0x37d)](_0x4e9538=>_0x48a8a8==null?void 0x0:_0x48a8a8[_0x382271(0x22e)][_0x382271(0xff)](_0x31eb38=>_0x31eb38[_0x382271(0x223)]===_0x4e9538))[_0x382271(0x275)](_0x5955de=>!!_0x5955de);return{'config':_0x49458b,'result':{'actions':_0x5dd3da,'error':_0x2e5df8[_0x382271(0x331)]}};});}})}));}[_0x138943(0x1fb)](){var _0xe174df=_0x138943,_0x495e4a,_0x368f9a;const _0x5800cb=this['_configService']['getConfig'](Oi),_0x1378a4=this[_0xe174df(0x38b)][_0xe174df(0xad)](K);return(_0x368f9a=(_0x495e4a=_0x1378a4==null?void 0x0:_0x1378a4[_0xe174df(0x286)])!=null?_0x495e4a:_0x5800cb)!=null?_0x368f9a:_n;}async[_0x138943(0x193)](_0xb90f54){var _0x768cc3=_0x138943;const _0x1d9ad9=this[_0x768cc3(0x1fb)]()+'/'+_0xb90f54[_0x768cc3(0x252)]+_0x768cc3(0xa9);return(await this['_HTTPService'][_0x768cc3(0x1ce)](_0x1d9ad9,{'body':_0xb90f54}))[_0x768cc3(0x35d)][_0x768cc3(0x160)]||'';}async[_0x138943(0x1a5)](_0x1fb050){var _0x188745=_0x138943;const _0x3ba14a=this[_0x188745(0x1fb)]()+_0x188745(0x165);return(await this[_0x188745(0x384)][_0x188745(0x1ce)](_0x3ba14a,{'body':_0x1fb050}))[_0x188745(0x35d)]['objects'];}async[_0x138943(0x150)](_0x27e7cc){var _0x3d7322=_0x138943,_0xa6bf0b,_0x37abbd;const _0x45399c=this[_0x3d7322(0x1fb)]()+'/'+_0x27e7cc[_0x3d7322(0x252)]+_0x3d7322(0x232)+_0x27e7cc['objectID'],_0x2b006e=await this['_HTTPService']['put'](_0x45399c,{'body':_0x27e7cc});if(((_0x37abbd=(_0xa6bf0b=_0x2b006e==null?void 0x0:_0x2b006e[_0x3d7322(0x35d)])==null?void 0x0:_0xa6bf0b[_0x3d7322(0x331)])==null?void 0x0:_0x37abbd[_0x3d7322(0x285)])!==0x1)throw new Error(_0x3d7322(0x274));}async['allowed'](_0x5207a4){var _0x3e94c4=_0x138943;const _0x317fdf=this[_0x3e94c4(0x1fb)]()+'/'+_0x5207a4[_0x3e94c4(0x252)]+_0x3e94c4(0x232)+_0x5207a4[_0x3e94c4(0x160)]+'/allowed';return(await this[_0x3e94c4(0x384)][_0x3e94c4(0x1ce)](_0x317fdf,{'body':_0x5207a4}))[_0x3e94c4(0x35d)][_0x3e94c4(0x22e)];}async['batchAllowed'](_0x2a5eaa){var _0xc79cc2=_0x138943;const _0x64a3c1=this['_getAPIPrefixPath']()+_0xc79cc2(0x21d);return(await this['_HTTPService'][_0xc79cc2(0x1ce)](_0x64a3c1,{'body':{'requests':_0x2a5eaa}}))[_0xc79cc2(0x35d)][_0xc79cc2(0x9b)];}async['listRoles'](_0x5c2c19){var _0x33e864=_0x138943;const _0x491eab=this['_getAPIPrefixPath']()+'/'+_0x5c2c19[_0x33e864(0x252)]+_0x33e864(0x2d6),_0x446954=await this[_0x33e864(0x384)][_0x33e864(0x1ce)](_0x491eab,{'body':_0x5c2c19});return{'roles':_0x446954[_0x33e864(0x35d)][_0x33e864(0x399)],'actions':_0x446954[_0x33e864(0x35d)]['actions']};}async[_0x138943(0x33f)](_0x4dedd7){var _0x3a62ee=_0x138943;const _0x3c3c0d=this[_0x3a62ee(0x1fb)]()+'/collaborator';await this[_0x3a62ee(0x384)][_0x3a62ee(0x2ab)](_0x3c3c0d,{'params':{'collaboratorID':_0x4dedd7['collaboratorID'],'objectID':_0x4dedd7['objectID'],'unitID':_0x4dedd7[_0x3a62ee(0x117)]}});}async['updateCollaborator'](_0x4db647){var _0x6d9f4b=_0x138943;const _0x241ca7=this[_0x6d9f4b(0x1fb)]()+_0x6d9f4b(0x216);await this[_0x6d9f4b(0x384)][_0x6d9f4b(0xb6)](_0x241ca7,{'body':_0x4db647});}async[_0x138943(0xcd)](_0x3ab2b3){var _0x2ac207=_0x138943;const _0x5ac3a7=this[_0x2ac207(0x1fb)]()+_0x2ac207(0x216);await this[_0x2ac207(0x384)][_0x2ac207(0x1ce)](_0x5ac3a7,{'body':_0x3ab2b3});}async[_0x138943(0xce)](_0x1d9528){var _0x288eb9=_0x138943;const _0x42b737=this['_getAPIPrefixPath']()+_0x288eb9(0x216);return(await this[_0x288eb9(0x384)][_0x288eb9(0x107)](_0x42b737,{'params':{'objectID':_0x1d9528[_0x288eb9(0x160)],'unitID':_0x1d9528['unitID']}}))[_0x288eb9(0x35d)][_0x288eb9(0x39b)];}async[_0x138943(0x21f)](_0x11483c){var _0x49b686=_0x138943;const _0x756b16=this[_0x49b686(0x1fb)]()+_0x49b686(0x216);await this['_HTTPService'][_0x49b686(0x291)](_0x756b16,{'body':_0x11483c});}};Tt=hn([Kt(0x0,_0xf474f8(_0xb23947)),Kt(0x1,_0xf474f8(_0x12b0b8))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x35888b){var _0x15d2d8=_0x138943;return _0x35888b&&_0x35888b['__esModule']&&Object[_0x15d2d8(0x24c)][_0x15d2d8(0x1f0)]['call'](_0x35888b,_0x15d2d8(0x29d))?_0x35888b[_0x15d2d8(0x29d)]:_0x35888b;}var Ve={'exports':{}};function ln(_0x52b2b3){var _0x3dd0ae=_0x138943;throw new Error(_0x3dd0ae(0xb2)+_0x52b2b3+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){var _0x1ec4d6=_0x138943;return qt||(qt=0x1,function(_0xe8375a,_0xccb2bf){(function(_0x3df3b8,_0x355bc3){var _0x1be54f=_0x48f5;_0xe8375a[_0x1be54f(0x14f)]=_0x355bc3();}(un,function(){var _0x571502=_0x571502||function(_0x44994b,_0x2028f1){var _0x262068=_0x48f5,_0x47d2c6;if(typeof window<'u'&&window[_0x262068(0x26b)]&&(_0x47d2c6=window[_0x262068(0x26b)]),typeof self<'u'&&self[_0x262068(0x26b)]&&(_0x47d2c6=self[_0x262068(0x26b)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x47d2c6=globalThis['crypto']),!_0x47d2c6&&typeof window<'u'&&window[_0x262068(0xf0)]&&(_0x47d2c6=window['msCrypto']),!_0x47d2c6&&typeof ft<'u'&&ft[_0x262068(0x26b)]&&(_0x47d2c6=ft[_0x262068(0x26b)]),!_0x47d2c6&&typeof ln==_0x262068(0x235))try{_0x47d2c6=require(_0x262068(0x26b));}catch{}var _0x56c71d=function(){var _0xe25eaa=_0x262068;if(_0x47d2c6){if(typeof _0x47d2c6[_0xe25eaa(0x284)]==_0xe25eaa(0x235))try{return _0x47d2c6[_0xe25eaa(0x284)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x47d2c6['randomBytes']==_0xe25eaa(0x235))try{return _0x47d2c6[_0xe25eaa(0x2ba)](0x4)[_0xe25eaa(0xd0)]();}catch{}}throw new Error(_0xe25eaa(0x11a));},_0x45192d=Object[_0x262068(0x193)]||(function(){function _0x227c46(){}return function(_0x2d6329){var _0x1e4040=_0x48f5,_0x25841d;return _0x227c46[_0x1e4040(0x24c)]=_0x2d6329,_0x25841d=new _0x227c46(),_0x227c46['prototype']=null,_0x25841d;};}()),_0x29cfa1={},_0x74df36=_0x29cfa1[_0x262068(0x2d2)]={},_0x52c0c9=_0x74df36[_0x262068(0x281)]=(function(){return{'extend':function(_0x12fdc3){var _0xf081a4=_0x48f5,_0xc446e=_0x45192d(this);return _0x12fdc3&&_0xc446e['mixIn'](_0x12fdc3),(!_0xc446e[_0xf081a4(0x1f0)](_0xf081a4(0x27b))||this[_0xf081a4(0x27b)]===_0xc446e[_0xf081a4(0x27b)])&&(_0xc446e[_0xf081a4(0x27b)]=function(){var _0x26415f=_0xf081a4;_0xc446e[_0x26415f(0xf3)][_0x26415f(0x27b)][_0x26415f(0x1ff)](this,arguments);}),_0xc446e[_0xf081a4(0x27b)][_0xf081a4(0x24c)]=_0xc446e,_0xc446e[_0xf081a4(0xf3)]=this,_0xc446e;},'create':function(){var _0x3934f5=_0x48f5,_0x2a10c3=this[_0x3934f5(0x361)]();return _0x2a10c3[_0x3934f5(0x27b)][_0x3934f5(0x1ff)](_0x2a10c3,arguments),_0x2a10c3;},'init':function(){},'mixIn':function(_0x47c979){var _0x31c8ee=_0x48f5;for(var _0x30336e in _0x47c979)_0x47c979[_0x31c8ee(0x1f0)](_0x30336e)&&(this[_0x30336e]=_0x47c979[_0x30336e]);_0x47c979['hasOwnProperty'](_0x31c8ee(0x92))&&(this[_0x31c8ee(0x92)]=_0x47c979[_0x31c8ee(0x92)]);},'clone':function(){var _0x17e1cb=_0x48f5;return this[_0x17e1cb(0x27b)][_0x17e1cb(0x24c)][_0x17e1cb(0x361)](this);}};}()),_0x1d1edb=_0x74df36[_0x262068(0x32d)]=_0x52c0c9[_0x262068(0x361)]({'init':function(_0x73f730,_0x587a04){var _0x50c261=_0x262068;_0x73f730=this['words']=_0x73f730||[],_0x587a04!=_0x2028f1?this[_0x50c261(0xf1)]=_0x587a04:this[_0x50c261(0xf1)]=_0x73f730[_0x50c261(0x16f)]*0x4;},'toString':function(_0x26a0a1){var _0x125c32=_0x262068;return(_0x26a0a1||_0x293058)[_0x125c32(0xa3)](this);},'concat':function(_0x289539){var _0x4a6801=_0x262068,_0xb859db=this['words'],_0x1cf959=_0x289539[_0x4a6801(0x31b)],_0x270eda=this[_0x4a6801(0xf1)],_0xc9af57=_0x289539[_0x4a6801(0xf1)];if(this[_0x4a6801(0xd9)](),_0x270eda%0x4)for(var _0x5cd54b=0x0;_0x5cd54b<_0xc9af57;_0x5cd54b++){var _0x5692fd=_0x1cf959[_0x5cd54b>>>0x2]>>>0x18-_0x5cd54b%0x4*0x8&0xff;_0xb859db[_0x270eda+_0x5cd54b>>>0x2]|=_0x5692fd<<0x18-(_0x270eda+_0x5cd54b)%0x4*0x8;}else{for(var _0x2410bd=0x0;_0x2410bd<_0xc9af57;_0x2410bd+=0x4)_0xb859db[_0x270eda+_0x2410bd>>>0x2]=_0x1cf959[_0x2410bd>>>0x2];}return this['sigBytes']+=_0xc9af57,this;},'clamp':function(){var _0x779506=_0x262068,_0x23872e=this['words'],_0x541920=this[_0x779506(0xf1)];_0x23872e[_0x541920>>>0x2]&=0xffffffff<<0x20-_0x541920%0x4*0x8,_0x23872e[_0x779506(0x16f)]=_0x44994b['ceil'](_0x541920/0x4);},'clone':function(){var _0x1fa10c=_0x262068,_0x38c006=_0x52c0c9[_0x1fa10c(0x34b)][_0x1fa10c(0x141)](this);return _0x38c006['words']=this[_0x1fa10c(0x31b)]['slice'](0x0),_0x38c006;},'random':function(_0x412f70){var _0xc1b27a=_0x262068;for(var _0x3538e3=[],_0xc062bc=0x0;_0xc062bc<_0x412f70;_0xc062bc+=0x4)_0x3538e3[_0xc1b27a(0xc4)](_0x56c71d());return new _0x1d1edb[(_0xc1b27a(0x27b))](_0x3538e3,_0x412f70);}}),_0x1c4030=_0x29cfa1[_0x262068(0x2aa)]={},_0x293058=_0x1c4030[_0x262068(0x34c)]={'stringify':function(_0x2dd648){var _0xb8b665=_0x262068;for(var _0x95518a=_0x2dd648[_0xb8b665(0x31b)],_0x4e02f4=_0x2dd648[_0xb8b665(0xf1)],_0x1cbf9b=[],_0x3235cd=0x0;_0x3235cd<_0x4e02f4;_0x3235cd++){var _0x7457cd=_0x95518a[_0x3235cd>>>0x2]>>>0x18-_0x3235cd%0x4*0x8&0xff;_0x1cbf9b[_0xb8b665(0xc4)]((_0x7457cd>>>0x4)[_0xb8b665(0x92)](0x10)),_0x1cbf9b[_0xb8b665(0xc4)]((_0x7457cd&0xf)['toString'](0x10));}return _0x1cbf9b[_0xb8b665(0x262)]('');},'parse':function(_0x3ed9fb){var _0x17a751=_0x262068;for(var _0x4638e0=_0x3ed9fb[_0x17a751(0x16f)],_0x22cd97=[],_0x1ec5d6=0x0;_0x1ec5d6<_0x4638e0;_0x1ec5d6+=0x2)_0x22cd97[_0x1ec5d6>>>0x3]|=parseInt(_0x3ed9fb[_0x17a751(0x152)](_0x1ec5d6,0x2),0x10)<<0x18-_0x1ec5d6%0x8*0x4;return new _0x1d1edb[(_0x17a751(0x27b))](_0x22cd97,_0x4638e0/0x2);}},_0x40824a=_0x1c4030[_0x262068(0x2db)]={'stringify':function(_0x43db1e){var _0x38e441=_0x262068;for(var _0x1dcfff=_0x43db1e[_0x38e441(0x31b)],_0x206d53=_0x43db1e[_0x38e441(0xf1)],_0x5d239f=[],_0x3a7728=0x0;_0x3a7728<_0x206d53;_0x3a7728++){var _0xcce07=_0x1dcfff[_0x3a7728>>>0x2]>>>0x18-_0x3a7728%0x4*0x8&0xff;_0x5d239f[_0x38e441(0xc4)](String['fromCharCode'](_0xcce07));}return _0x5d239f[_0x38e441(0x262)]('');},'parse':function(_0x12f31a){var _0x113e54=_0x262068;for(var _0x459ec9=_0x12f31a['length'],_0x880ef3=[],_0x7482d6=0x0;_0x7482d6<_0x459ec9;_0x7482d6++)_0x880ef3[_0x7482d6>>>0x2]|=(_0x12f31a[_0x113e54(0x155)](_0x7482d6)&0xff)<<0x18-_0x7482d6%0x4*0x8;return new _0x1d1edb[(_0x113e54(0x27b))](_0x880ef3,_0x459ec9);}},_0x1e39e8=_0x1c4030['Utf8']={'stringify':function(_0x596b8f){var _0x2c95df=_0x262068;try{return decodeURIComponent(escape(_0x40824a[_0x2c95df(0xa3)](_0x596b8f)));}catch{throw new Error(_0x2c95df(0x2a5));}},'parse':function(_0x1ca641){return _0x40824a['parse'](unescape(encodeURIComponent(_0x1ca641)));}},_0x40fd35=_0x74df36[_0x262068(0x2a1)]=_0x52c0c9['extend']({'reset':function(){var _0x20c7ba=_0x262068;this[_0x20c7ba(0x17e)]=new _0x1d1edb[(_0x20c7ba(0x27b))](),this[_0x20c7ba(0x29b)]=0x0;},'_append':function(_0x40c88a){var _0x2dcd25=_0x262068;typeof _0x40c88a==_0x2dcd25(0x19c)&&(_0x40c88a=_0x1e39e8[_0x2dcd25(0xb0)](_0x40c88a)),this[_0x2dcd25(0x17e)][_0x2dcd25(0x9d)](_0x40c88a),this[_0x2dcd25(0x29b)]+=_0x40c88a[_0x2dcd25(0xf1)];},'_process':function(_0xa69e50){var _0x59593d=_0x262068,_0x125d21,_0x15f877=this[_0x59593d(0x17e)],_0x1bc540=_0x15f877[_0x59593d(0x31b)],_0x174650=_0x15f877[_0x59593d(0xf1)],_0xc7f056=this[_0x59593d(0x184)],_0x4366ad=_0xc7f056*0x4,_0x1e73c9=_0x174650/_0x4366ad;_0xa69e50?_0x1e73c9=_0x44994b[_0x59593d(0xcb)](_0x1e73c9):_0x1e73c9=_0x44994b['max']((_0x1e73c9|0x0)-this[_0x59593d(0x260)],0x0);var _0x37ee3b=_0x1e73c9*_0xc7f056,_0x5c82d2=_0x44994b['min'](_0x37ee3b*0x4,_0x174650);if(_0x37ee3b){for(var _0x3b4d7c=0x0;_0x3b4d7c<_0x37ee3b;_0x3b4d7c+=_0xc7f056)this[_0x59593d(0x2be)](_0x1bc540,_0x3b4d7c);_0x125d21=_0x1bc540[_0x59593d(0x1ee)](0x0,_0x37ee3b),_0x15f877['sigBytes']-=_0x5c82d2;}return new _0x1d1edb['init'](_0x125d21,_0x5c82d2);},'clone':function(){var _0x3da939=_0x262068,_0x32c0ed=_0x52c0c9[_0x3da939(0x34b)]['call'](this);return _0x32c0ed[_0x3da939(0x17e)]=this['_data']['clone'](),_0x32c0ed;},'_minBufferSize':0x0});_0x74df36['Hasher']=_0x40fd35[_0x262068(0x361)]({'cfg':_0x52c0c9['extend'](),'init':function(_0x4cf704){var _0x1dd6b1=_0x262068;this[_0x1dd6b1(0x350)]=this[_0x1dd6b1(0x350)][_0x1dd6b1(0x361)](_0x4cf704),this[_0x1dd6b1(0x199)]();},'reset':function(){var _0x3ea770=_0x262068;_0x40fd35[_0x3ea770(0x199)]['call'](this),this[_0x3ea770(0x24b)]();},'update':function(_0x41624f){var _0x11706c=_0x262068;return this['_append'](_0x41624f),this[_0x11706c(0x1a3)](),this;},'finalize':function(_0x3a53a4){var _0x30dd65=_0x262068;_0x3a53a4&&this[_0x30dd65(0x1fa)](_0x3a53a4);var _0x240083=this[_0x30dd65(0x95)]();return _0x240083;},'blockSize':0x10,'_createHelper':function(_0x56fdc9){return function(_0x27f3ca,_0x387005){var _0x2e7993=_0x48f5;return new _0x56fdc9[(_0x2e7993(0x27b))](_0x387005)[_0x2e7993(0x19b)](_0x27f3ca);};},'_createHmacHelper':function(_0x46ff8f){return function(_0x9a34b1,_0x1fee30){var _0xc962fa=_0x48f5;return new _0x32024a[(_0xc962fa(0x2b0))][(_0xc962fa(0x27b))](_0x46ff8f,_0x1fee30)['finalize'](_0x9a34b1);};}});var _0x32024a=_0x29cfa1[_0x262068(0x23f)]={};return _0x29cfa1;}(Math);return _0x571502;}));}(Ge)),Ge[_0x1ec4d6(0x14f)];}var Ye={'exports':{}},dn=Ye['exports'],zt;function bi(){var _0x1f3e38=_0x138943;return zt||(zt=0x1,function(_0x325c97,_0x411284){(function(_0x576f18,_0x142e49){var _0x4ba0a5=_0x48f5;_0x325c97[_0x4ba0a5(0x14f)]=_0x142e49(te());}(dn,function(_0x1cf5da){var _0x3fd34d=_0x48f5;return(function(){var _0x3df9=_0x48f5,_0x33708a=_0x1cf5da,_0x20696a=_0x33708a[_0x3df9(0x2d2)],_0x152e4a=_0x20696a['WordArray'],_0x203e64=_0x33708a[_0x3df9(0x2aa)];_0x203e64['Base64']={'stringify':function(_0x1fe4f4){var _0x5cd211=_0x3df9,_0x482f89=_0x1fe4f4['words'],_0x3af0a5=_0x1fe4f4[_0x5cd211(0xf1)],_0x48610d=this['_map'];_0x1fe4f4[_0x5cd211(0xd9)]();for(var _0xa40d37=[],_0x4c74f4=0x0;_0x4c74f4<_0x3af0a5;_0x4c74f4+=0x3)for(var _0x4b9bc9=_0x482f89[_0x4c74f4>>>0x2]>>>0x18-_0x4c74f4%0x4*0x8&0xff,_0x328714=_0x482f89[_0x4c74f4+0x1>>>0x2]>>>0x18-(_0x4c74f4+0x1)%0x4*0x8&0xff,_0x457b0d=_0x482f89[_0x4c74f4+0x2>>>0x2]>>>0x18-(_0x4c74f4+0x2)%0x4*0x8&0xff,_0x36f539=_0x4b9bc9<<0x10|_0x328714<<0x8|_0x457b0d,_0x28e8c9=0x0;_0x28e8c9<0x4&&_0x4c74f4+_0x28e8c9*0.75<_0x3af0a5;_0x28e8c9++)_0xa40d37[_0x5cd211(0xc4)](_0x48610d['charAt'](_0x36f539>>>0x6*(0x3-_0x28e8c9)&0x3f));var _0x2f8743=_0x48610d['charAt'](0x40);if(_0x2f8743){for(;_0xa40d37[_0x5cd211(0x16f)]%0x4;)_0xa40d37[_0x5cd211(0xc4)](_0x2f8743);}return _0xa40d37[_0x5cd211(0x262)]('');},'parse':function(_0x485cc8){var _0x741e3f=_0x3df9,_0x5e5ff1=_0x485cc8['length'],_0x105cfa=this[_0x741e3f(0xa2)],_0x44b90b=this['_reverseMap'];if(!_0x44b90b){_0x44b90b=this['_reverseMap']=[];for(var _0x2e30e6=0x0;_0x2e30e6<_0x105cfa[_0x741e3f(0x16f)];_0x2e30e6++)_0x44b90b[_0x105cfa[_0x741e3f(0x155)](_0x2e30e6)]=_0x2e30e6;}var _0x24d866=_0x105cfa[_0x741e3f(0x124)](0x40);if(_0x24d866){var _0x44695d=_0x485cc8[_0x741e3f(0x21c)](_0x24d866);_0x44695d!==-0x1&&(_0x5e5ff1=_0x44695d);}return _0x591b97(_0x485cc8,_0x5e5ff1,_0x44b90b);},'_map':_0x3df9(0x102)};function _0x591b97(_0xd0e70b,_0x2b29a4,_0x1f2e2f){var _0x130950=_0x3df9;for(var _0x513a98=[],_0x39aa0c=0x0,_0x18aca9=0x0;_0x18aca9<_0x2b29a4;_0x18aca9++)if(_0x18aca9%0x4){var _0x3f02ad=_0x1f2e2f[_0xd0e70b[_0x130950(0x155)](_0x18aca9-0x1)]<<_0x18aca9%0x4*0x2,_0x458a7b=_0x1f2e2f[_0xd0e70b[_0x130950(0x155)](_0x18aca9)]>>>0x6-_0x18aca9%0x4*0x2,_0x507c99=_0x3f02ad|_0x458a7b;_0x513a98[_0x39aa0c>>>0x2]|=_0x507c99<<0x18-_0x39aa0c%0x4*0x8,_0x39aa0c++;}return _0x152e4a['create'](_0x513a98,_0x39aa0c);}}()),_0x1cf5da[_0x3fd34d(0x2aa)][_0x3fd34d(0x319)];}));}(Ye)),Ye[_0x1f3e38(0x14f)];}var We={'exports':{}},fn=We[_0x138943(0x14f)],Jt;function vn(){var _0x1196b4=_0x138943;return Jt||(Jt=0x1,function(_0x25a640,_0x5cb1ec){(function(_0x464a24,_0x17df9f){var _0x34418e=_0x48f5;_0x25a640[_0x34418e(0x14f)]=_0x17df9f(te());}(fn,function(_0x1a536d){var _0x50e0ea=_0x48f5;return function(_0x347c3e){var _0x59dc74=_0x48f5,_0x4cb337=_0x1a536d,_0x8649d6=_0x4cb337[_0x59dc74(0x2d2)],_0x209ca0=_0x8649d6[_0x59dc74(0x32d)],_0x971ec7=_0x8649d6[_0x59dc74(0x2f7)],_0x14f8ca=_0x4cb337['algo'],_0x270fbc=[];(function(){var _0x46733b=_0x59dc74;for(var _0x1589ee=0x0;_0x1589ee<0x40;_0x1589ee++)_0x270fbc[_0x1589ee]=_0x347c3e[_0x46733b(0x227)](_0x347c3e['sin'](_0x1589ee+0x1))*0x100000000|0x0;}());var _0x3a0d28=_0x14f8ca[_0x59dc74(0x381)]=_0x971ec7[_0x59dc74(0x361)]({'_doReset':function(){var _0x185c60=_0x59dc74;this[_0x185c60(0xc9)]=new _0x209ca0[(_0x185c60(0x27b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x590981,_0x175e7c){var _0x5549a4=_0x59dc74;for(var _0x1f9160=0x0;_0x1f9160<0x10;_0x1f9160++){var _0x4c0609=_0x175e7c+_0x1f9160,_0x2470c8=_0x590981[_0x4c0609];_0x590981[_0x4c0609]=(_0x2470c8<<0x8|_0x2470c8>>>0x18)&0xff00ff|(_0x2470c8<<0x18|_0x2470c8>>>0x8)&0xff00ff00;}var _0x388993=this[_0x5549a4(0xc9)][_0x5549a4(0x31b)],_0x4a2ee1=_0x590981[_0x175e7c+0x0],_0x3f4d6b=_0x590981[_0x175e7c+0x1],_0xa5cfc5=_0x590981[_0x175e7c+0x2],_0x155d0b=_0x590981[_0x175e7c+0x3],_0x32f47b=_0x590981[_0x175e7c+0x4],_0x3234ef=_0x590981[_0x175e7c+0x5],_0x6cb32a=_0x590981[_0x175e7c+0x6],_0x464e85=_0x590981[_0x175e7c+0x7],_0x5ee9b1=_0x590981[_0x175e7c+0x8],_0x4055d2=_0x590981[_0x175e7c+0x9],_0x23b185=_0x590981[_0x175e7c+0xa],_0x514d39=_0x590981[_0x175e7c+0xb],_0x5d2d44=_0x590981[_0x175e7c+0xc],_0x3493c5=_0x590981[_0x175e7c+0xd],_0x3fd9da=_0x590981[_0x175e7c+0xe],_0x432331=_0x590981[_0x175e7c+0xf],_0x3b774a=_0x388993[0x0],_0x36d5d0=_0x388993[0x1],_0x5ebac5=_0x388993[0x2],_0x12ca36=_0x388993[0x3];_0x3b774a=_0x5412ac(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x4a2ee1,0x7,_0x270fbc[0x0]),_0x12ca36=_0x5412ac(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x3f4d6b,0xc,_0x270fbc[0x1]),_0x5ebac5=_0x5412ac(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0xa5cfc5,0x11,_0x270fbc[0x2]),_0x36d5d0=_0x5412ac(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x155d0b,0x16,_0x270fbc[0x3]),_0x3b774a=_0x5412ac(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x32f47b,0x7,_0x270fbc[0x4]),_0x12ca36=_0x5412ac(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x3234ef,0xc,_0x270fbc[0x5]),_0x5ebac5=_0x5412ac(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x6cb32a,0x11,_0x270fbc[0x6]),_0x36d5d0=_0x5412ac(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x464e85,0x16,_0x270fbc[0x7]),_0x3b774a=_0x5412ac(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x5ee9b1,0x7,_0x270fbc[0x8]),_0x12ca36=_0x5412ac(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x4055d2,0xc,_0x270fbc[0x9]),_0x5ebac5=_0x5412ac(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x23b185,0x11,_0x270fbc[0xa]),_0x36d5d0=_0x5412ac(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x514d39,0x16,_0x270fbc[0xb]),_0x3b774a=_0x5412ac(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x5d2d44,0x7,_0x270fbc[0xc]),_0x12ca36=_0x5412ac(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x3493c5,0xc,_0x270fbc[0xd]),_0x5ebac5=_0x5412ac(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x3fd9da,0x11,_0x270fbc[0xe]),_0x36d5d0=_0x5412ac(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x432331,0x16,_0x270fbc[0xf]),_0x3b774a=_0x45bac1(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3f4d6b,0x5,_0x270fbc[0x10]),_0x12ca36=_0x45bac1(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x6cb32a,0x9,_0x270fbc[0x11]),_0x5ebac5=_0x45bac1(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x514d39,0xe,_0x270fbc[0x12]),_0x36d5d0=_0x45bac1(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x4a2ee1,0x14,_0x270fbc[0x13]),_0x3b774a=_0x45bac1(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3234ef,0x5,_0x270fbc[0x14]),_0x12ca36=_0x45bac1(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x23b185,0x9,_0x270fbc[0x15]),_0x5ebac5=_0x45bac1(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x432331,0xe,_0x270fbc[0x16]),_0x36d5d0=_0x45bac1(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x32f47b,0x14,_0x270fbc[0x17]),_0x3b774a=_0x45bac1(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x4055d2,0x5,_0x270fbc[0x18]),_0x12ca36=_0x45bac1(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x3fd9da,0x9,_0x270fbc[0x19]),_0x5ebac5=_0x45bac1(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x155d0b,0xe,_0x270fbc[0x1a]),_0x36d5d0=_0x45bac1(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x5ee9b1,0x14,_0x270fbc[0x1b]),_0x3b774a=_0x45bac1(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3493c5,0x5,_0x270fbc[0x1c]),_0x12ca36=_0x45bac1(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0xa5cfc5,0x9,_0x270fbc[0x1d]),_0x5ebac5=_0x45bac1(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x464e85,0xe,_0x270fbc[0x1e]),_0x36d5d0=_0x45bac1(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x5d2d44,0x14,_0x270fbc[0x1f]),_0x3b774a=_0x10778f(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3234ef,0x4,_0x270fbc[0x20]),_0x12ca36=_0x10778f(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x5ee9b1,0xb,_0x270fbc[0x21]),_0x5ebac5=_0x10778f(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x514d39,0x10,_0x270fbc[0x22]),_0x36d5d0=_0x10778f(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x3fd9da,0x17,_0x270fbc[0x23]),_0x3b774a=_0x10778f(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3f4d6b,0x4,_0x270fbc[0x24]),_0x12ca36=_0x10778f(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x32f47b,0xb,_0x270fbc[0x25]),_0x5ebac5=_0x10778f(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x464e85,0x10,_0x270fbc[0x26]),_0x36d5d0=_0x10778f(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x23b185,0x17,_0x270fbc[0x27]),_0x3b774a=_0x10778f(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3493c5,0x4,_0x270fbc[0x28]),_0x12ca36=_0x10778f(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x4a2ee1,0xb,_0x270fbc[0x29]),_0x5ebac5=_0x10778f(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x155d0b,0x10,_0x270fbc[0x2a]),_0x36d5d0=_0x10778f(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x6cb32a,0x17,_0x270fbc[0x2b]),_0x3b774a=_0x10778f(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x4055d2,0x4,_0x270fbc[0x2c]),_0x12ca36=_0x10778f(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x5d2d44,0xb,_0x270fbc[0x2d]),_0x5ebac5=_0x10778f(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x432331,0x10,_0x270fbc[0x2e]),_0x36d5d0=_0x10778f(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0xa5cfc5,0x17,_0x270fbc[0x2f]),_0x3b774a=_0x5f49c2(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x4a2ee1,0x6,_0x270fbc[0x30]),_0x12ca36=_0x5f49c2(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x464e85,0xa,_0x270fbc[0x31]),_0x5ebac5=_0x5f49c2(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x3fd9da,0xf,_0x270fbc[0x32]),_0x36d5d0=_0x5f49c2(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x3234ef,0x15,_0x270fbc[0x33]),_0x3b774a=_0x5f49c2(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x5d2d44,0x6,_0x270fbc[0x34]),_0x12ca36=_0x5f49c2(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x155d0b,0xa,_0x270fbc[0x35]),_0x5ebac5=_0x5f49c2(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x23b185,0xf,_0x270fbc[0x36]),_0x36d5d0=_0x5f49c2(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x3f4d6b,0x15,_0x270fbc[0x37]),_0x3b774a=_0x5f49c2(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x5ee9b1,0x6,_0x270fbc[0x38]),_0x12ca36=_0x5f49c2(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x432331,0xa,_0x270fbc[0x39]),_0x5ebac5=_0x5f49c2(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0x6cb32a,0xf,_0x270fbc[0x3a]),_0x36d5d0=_0x5f49c2(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x3493c5,0x15,_0x270fbc[0x3b]),_0x3b774a=_0x5f49c2(_0x3b774a,_0x36d5d0,_0x5ebac5,_0x12ca36,_0x32f47b,0x6,_0x270fbc[0x3c]),_0x12ca36=_0x5f49c2(_0x12ca36,_0x3b774a,_0x36d5d0,_0x5ebac5,_0x514d39,0xa,_0x270fbc[0x3d]),_0x5ebac5=_0x5f49c2(_0x5ebac5,_0x12ca36,_0x3b774a,_0x36d5d0,_0xa5cfc5,0xf,_0x270fbc[0x3e]),_0x36d5d0=_0x5f49c2(_0x36d5d0,_0x5ebac5,_0x12ca36,_0x3b774a,_0x4055d2,0x15,_0x270fbc[0x3f]),_0x388993[0x0]=_0x388993[0x0]+_0x3b774a|0x0,_0x388993[0x1]=_0x388993[0x1]+_0x36d5d0|0x0,_0x388993[0x2]=_0x388993[0x2]+_0x5ebac5|0x0,_0x388993[0x3]=_0x388993[0x3]+_0x12ca36|0x0;},'_doFinalize':function(){var _0x1d871a=_0x59dc74,_0x5ab675=this[_0x1d871a(0x17e)],_0x1bff7a=_0x5ab675['words'],_0x17808f=this[_0x1d871a(0x29b)]*0x8,_0x25e17b=_0x5ab675['sigBytes']*0x8;_0x1bff7a[_0x25e17b>>>0x5]|=0x80<<0x18-_0x25e17b%0x20;var _0x4a85fa=_0x347c3e['floor'](_0x17808f/0x100000000),_0x4a7620=_0x17808f;_0x1bff7a[(_0x25e17b+0x40>>>0x9<<0x4)+0xf]=(_0x4a85fa<<0x8|_0x4a85fa>>>0x18)&0xff00ff|(_0x4a85fa<<0x18|_0x4a85fa>>>0x8)&0xff00ff00,_0x1bff7a[(_0x25e17b+0x40>>>0x9<<0x4)+0xe]=(_0x4a7620<<0x8|_0x4a7620>>>0x18)&0xff00ff|(_0x4a7620<<0x18|_0x4a7620>>>0x8)&0xff00ff00,_0x5ab675[_0x1d871a(0xf1)]=(_0x1bff7a['length']+0x1)*0x4,this[_0x1d871a(0x1a3)]();for(var _0x5f5955=this['_hash'],_0x29f7f2=_0x5f5955[_0x1d871a(0x31b)],_0x4c4073=0x0;_0x4c4073<0x4;_0x4c4073++){var _0x5d9346=_0x29f7f2[_0x4c4073];_0x29f7f2[_0x4c4073]=(_0x5d9346<<0x8|_0x5d9346>>>0x18)&0xff00ff|(_0x5d9346<<0x18|_0x5d9346>>>0x8)&0xff00ff00;}return _0x5f5955;},'clone':function(){var _0x3626d1=_0x59dc74,_0x32a2b4=_0x971ec7[_0x3626d1(0x34b)]['call'](this);return _0x32a2b4[_0x3626d1(0xc9)]=this[_0x3626d1(0xc9)][_0x3626d1(0x34b)](),_0x32a2b4;}});function _0x5412ac(_0x3be48e,_0x174341,_0xdc29c7,_0x5eb53f,_0x33cd34,_0x29b6a8,_0x3594ff){var _0x1fc13f=_0x3be48e+(_0x174341&_0xdc29c7|~_0x174341&_0x5eb53f)+_0x33cd34+_0x3594ff;return(_0x1fc13f<<_0x29b6a8|_0x1fc13f>>>0x20-_0x29b6a8)+_0x174341;}function _0x45bac1(_0x23828b,_0x55e77b,_0xcd68c4,_0x4c347b,_0xcecf3d,_0x30817f,_0x21972a){var _0x5e1723=_0x23828b+(_0x55e77b&_0x4c347b|_0xcd68c4&~_0x4c347b)+_0xcecf3d+_0x21972a;return(_0x5e1723<<_0x30817f|_0x5e1723>>>0x20-_0x30817f)+_0x55e77b;}function _0x10778f(_0x1c31c1,_0x3202d4,_0x5e8438,_0x4f108b,_0x323a1f,_0x588ea0,_0x112aec){var _0xb17585=_0x1c31c1+(_0x3202d4^_0x5e8438^_0x4f108b)+_0x323a1f+_0x112aec;return(_0xb17585<<_0x588ea0|_0xb17585>>>0x20-_0x588ea0)+_0x3202d4;}function _0x5f49c2(_0x3a0855,_0x22baf4,_0xa37ee4,_0x2b12be,_0x48f160,_0x59f84b,_0x240822){var _0x126abc=_0x3a0855+(_0xa37ee4^(_0x22baf4|~_0x2b12be))+_0x48f160+_0x240822;return(_0x126abc<<_0x59f84b|_0x126abc>>>0x20-_0x59f84b)+_0x22baf4;}_0x4cb337[_0x59dc74(0x381)]=_0x971ec7[_0x59dc74(0x343)](_0x3a0d28),_0x4cb337[_0x59dc74(0x2e0)]=_0x971ec7[_0x59dc74(0xd1)](_0x3a0d28);}(Math),_0x1a536d[_0x50e0ea(0x381)];}));}(We)),We[_0x1196b4(0x14f)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x138943(0x14f)],Xt;function mn(){return Xt||(Xt=0x1,function(_0x4f1cb8,_0x92dfa6){(function(_0x1a2741,_0x353c66){_0x4f1cb8['exports']=_0x353c66(te());}(pn,function(_0x1d9ecd){var _0x34c707=_0x48f5;return(function(){var _0x17da4b=_0x48f5,_0x48a72e=_0x1d9ecd,_0x6a849d=_0x48a72e[_0x17da4b(0x2d2)],_0xea4e4f=_0x6a849d[_0x17da4b(0x32d)],_0x14a0b4=_0x6a849d[_0x17da4b(0x2f7)],_0x44ce82=_0x48a72e[_0x17da4b(0x23f)],_0x4f73ab=[],_0x1715da=_0x44ce82[_0x17da4b(0xf2)]=_0x14a0b4[_0x17da4b(0x361)]({'_doReset':function(){var _0x165e84=_0x17da4b;this[_0x165e84(0xc9)]=new _0xea4e4f[(_0x165e84(0x27b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x55fdd8,_0x2af21e){var _0x5e94c1=_0x17da4b;for(var _0x16c410=this[_0x5e94c1(0xc9)][_0x5e94c1(0x31b)],_0x516d44=_0x16c410[0x0],_0x5e0d5a=_0x16c410[0x1],_0x1b882f=_0x16c410[0x2],_0x5b05e6=_0x16c410[0x3],_0x18ce7c=_0x16c410[0x4],_0xe2c46b=0x0;_0xe2c46b<0x50;_0xe2c46b++){if(_0xe2c46b<0x10)_0x4f73ab[_0xe2c46b]=_0x55fdd8[_0x2af21e+_0xe2c46b]|0x0;else{var _0x2f53c7=_0x4f73ab[_0xe2c46b-0x3]^_0x4f73ab[_0xe2c46b-0x8]^_0x4f73ab[_0xe2c46b-0xe]^_0x4f73ab[_0xe2c46b-0x10];_0x4f73ab[_0xe2c46b]=_0x2f53c7<<0x1|_0x2f53c7>>>0x1f;}var _0x485a3c=(_0x516d44<<0x5|_0x516d44>>>0x1b)+_0x18ce7c+_0x4f73ab[_0xe2c46b];_0xe2c46b<0x14?_0x485a3c+=(_0x5e0d5a&_0x1b882f|~_0x5e0d5a&_0x5b05e6)+0x5a827999:_0xe2c46b<0x28?_0x485a3c+=(_0x5e0d5a^_0x1b882f^_0x5b05e6)+0x6ed9eba1:_0xe2c46b<0x3c?_0x485a3c+=(_0x5e0d5a&_0x1b882f|_0x5e0d5a&_0x5b05e6|_0x1b882f&_0x5b05e6)-0x70e44324:_0x485a3c+=(_0x5e0d5a^_0x1b882f^_0x5b05e6)-0x359d3e2a,_0x18ce7c=_0x5b05e6,_0x5b05e6=_0x1b882f,_0x1b882f=_0x5e0d5a<<0x1e|_0x5e0d5a>>>0x2,_0x5e0d5a=_0x516d44,_0x516d44=_0x485a3c;}_0x16c410[0x0]=_0x16c410[0x0]+_0x516d44|0x0,_0x16c410[0x1]=_0x16c410[0x1]+_0x5e0d5a|0x0,_0x16c410[0x2]=_0x16c410[0x2]+_0x1b882f|0x0,_0x16c410[0x3]=_0x16c410[0x3]+_0x5b05e6|0x0,_0x16c410[0x4]=_0x16c410[0x4]+_0x18ce7c|0x0;},'_doFinalize':function(){var _0xc69107=_0x17da4b,_0x130269=this[_0xc69107(0x17e)],_0x1376c3=_0x130269[_0xc69107(0x31b)],_0x55808a=this[_0xc69107(0x29b)]*0x8,_0x43c04e=_0x130269[_0xc69107(0xf1)]*0x8;return _0x1376c3[_0x43c04e>>>0x5]|=0x80<<0x18-_0x43c04e%0x20,_0x1376c3[(_0x43c04e+0x40>>>0x9<<0x4)+0xe]=Math[_0xc69107(0x98)](_0x55808a/0x100000000),_0x1376c3[(_0x43c04e+0x40>>>0x9<<0x4)+0xf]=_0x55808a,_0x130269[_0xc69107(0xf1)]=_0x1376c3[_0xc69107(0x16f)]*0x4,this['_process'](),this[_0xc69107(0xc9)];},'clone':function(){var _0xcf28ae=_0x17da4b,_0x3b19a6=_0x14a0b4[_0xcf28ae(0x34b)][_0xcf28ae(0x141)](this);return _0x3b19a6[_0xcf28ae(0xc9)]=this[_0xcf28ae(0xc9)][_0xcf28ae(0x34b)](),_0x3b19a6;}});_0x48a72e[_0x17da4b(0xf2)]=_0x14a0b4[_0x17da4b(0x343)](_0x1715da),_0x48a72e[_0x17da4b(0x17b)]=_0x14a0b4[_0x17da4b(0xd1)](_0x1715da);}()),_0x1d9ecd[_0x34c707(0xf2)];}));}(qe)),qe['exports'];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){var _0x38e3d6=_0x138943;return Zt||(Zt=0x1,function(_0x3f2fc5,_0x2fa7e5){(function(_0x480151,_0x1a96af){_0x3f2fc5['exports']=_0x1a96af(te());}(gn,function(_0x5c4177){(function(){var _0x589a90=_0x48f5,_0x1415b3=_0x5c4177,_0x51758e=_0x1415b3['lib'],_0x4aa58f=_0x51758e[_0x589a90(0x281)],_0x5a0670=_0x1415b3[_0x589a90(0x2aa)],_0x2d180f=_0x5a0670[_0x589a90(0x349)],_0x25c527=_0x1415b3[_0x589a90(0x23f)];_0x25c527['HMAC']=_0x4aa58f[_0x589a90(0x361)]({'init':function(_0x54a802,_0xc5c2ea){var _0x30c7f6=_0x589a90;_0x54a802=this[_0x30c7f6(0x146)]=new _0x54a802[(_0x30c7f6(0x27b))](),typeof _0xc5c2ea==_0x30c7f6(0x19c)&&(_0xc5c2ea=_0x2d180f[_0x30c7f6(0xb0)](_0xc5c2ea));var _0x3b2878=_0x54a802[_0x30c7f6(0x184)],_0x195c8a=_0x3b2878*0x4;_0xc5c2ea[_0x30c7f6(0xf1)]>_0x195c8a&&(_0xc5c2ea=_0x54a802[_0x30c7f6(0x19b)](_0xc5c2ea)),_0xc5c2ea[_0x30c7f6(0xd9)]();for(var _0x93a56d=this['_oKey']=_0xc5c2ea[_0x30c7f6(0x34b)](),_0x561050=this[_0x30c7f6(0x93)]=_0xc5c2ea[_0x30c7f6(0x34b)](),_0x260900=_0x93a56d[_0x30c7f6(0x31b)],_0x1eead2=_0x561050[_0x30c7f6(0x31b)],_0x3058f0=0x0;_0x3058f0<_0x3b2878;_0x3058f0++)_0x260900[_0x3058f0]^=0x5c5c5c5c,_0x1eead2[_0x3058f0]^=0x36363636;_0x93a56d[_0x30c7f6(0xf1)]=_0x561050['sigBytes']=_0x195c8a,this[_0x30c7f6(0x199)]();},'reset':function(){var _0x513798=_0x589a90,_0xed5b24=this[_0x513798(0x146)];_0xed5b24['reset'](),_0xed5b24[_0x513798(0x150)](this[_0x513798(0x93)]);},'update':function(_0x57c816){var _0x31acbd=_0x589a90;return this[_0x31acbd(0x146)][_0x31acbd(0x150)](_0x57c816),this;},'finalize':function(_0x5c632f){var _0x51a690=_0x589a90,_0xbc00f8=this[_0x51a690(0x146)],_0x178e6e=_0xbc00f8[_0x51a690(0x19b)](_0x5c632f);_0xbc00f8['reset']();var _0x2cb40a=_0xbc00f8[_0x51a690(0x19b)](this[_0x51a690(0x35c)]['clone']()[_0x51a690(0x9d)](_0x178e6e));return _0x2cb40a;}});}());}));}(ze)),ze[_0x38e3d6(0x14f)];}var En=Ke[_0x138943(0x14f)],Qt;function yi(){var _0x5b6a11=_0x138943;return Qt||(Qt=0x1,function(_0xdf7660,_0x2cbdec){(function(_0x40c173,_0x331746,_0x1aeae5){var _0x3816fa=_0x48f5;_0xdf7660[_0x3816fa(0x14f)]=_0x331746(te(),mn(),Sn());}(En,function(_0x444366){var _0x1f48f2=_0x48f5;return(function(){var _0xfee57e=_0x48f5,_0x291731=_0x444366,_0x29ecfe=_0x291731['lib'],_0x210555=_0x29ecfe[_0xfee57e(0x281)],_0x56a3c1=_0x29ecfe['WordArray'],_0x51278c=_0x291731[_0xfee57e(0x23f)],_0x247866=_0x51278c[_0xfee57e(0x381)],_0x53fbb2=_0x51278c[_0xfee57e(0xe1)]=_0x210555[_0xfee57e(0x361)]({'cfg':_0x210555[_0xfee57e(0x361)]({'keySize':0x80/0x20,'hasher':_0x247866,'iterations':0x1}),'init':function(_0x7b6a34){var _0x14a83b=_0xfee57e;this[_0x14a83b(0x350)]=this['cfg'][_0x14a83b(0x361)](_0x7b6a34);},'compute':function(_0x408926,_0x47de19){var _0x783827=_0xfee57e;for(var _0x39f3f2,_0x2fdfda=this['cfg'],_0xb8ef14=_0x2fdfda[_0x783827(0x19a)]['create'](),_0x4f10d6=_0x56a3c1[_0x783827(0x193)](),_0x4fd856=_0x4f10d6[_0x783827(0x31b)],_0x49a2c2=_0x2fdfda['keySize'],_0xe8758e=_0x2fdfda['iterations'];_0x4fd856['length']<_0x49a2c2;){_0x39f3f2&&_0xb8ef14[_0x783827(0x150)](_0x39f3f2),_0x39f3f2=_0xb8ef14[_0x783827(0x150)](_0x408926)[_0x783827(0x19b)](_0x47de19),_0xb8ef14[_0x783827(0x199)]();for(var _0x1ba27a=0x1;_0x1ba27a<_0xe8758e;_0x1ba27a++)_0x39f3f2=_0xb8ef14[_0x783827(0x19b)](_0x39f3f2),_0xb8ef14[_0x783827(0x199)]();_0x4f10d6[_0x783827(0x9d)](_0x39f3f2);}return _0x4f10d6[_0x783827(0xf1)]=_0x49a2c2*0x4,_0x4f10d6;}});_0x291731['EvpKDF']=function(_0x14dde1,_0x386307,_0x33de91){var _0x43a4e3=_0xfee57e;return _0x53fbb2['create'](_0x33de91)[_0x43a4e3(0x113)](_0x14dde1,_0x386307);};}()),_0x444366[_0x1f48f2(0xe1)];}));}(Ke)),Ke[_0x5b6a11(0x14f)];}var Je={'exports':{}},In=Je[_0x138943(0x14f)],ei;function Ni(){return ei||(ei=0x1,function(_0x2d4528,_0xaac6ee){(function(_0x40594e,_0x543011,_0x521cd9){_0x2d4528['exports']=_0x543011(te(),yi());}(In,function(_0x1adbec){var _0x299a2e=_0x48f5;_0x1adbec[_0x299a2e(0x2d2)]['Cipher']||function(_0x3e146c){var _0x29f9ee=_0x299a2e,_0x51be18=_0x1adbec,_0x46871e=_0x51be18[_0x29f9ee(0x2d2)],_0xd6a709=_0x46871e[_0x29f9ee(0x281)],_0x182d45=_0x46871e[_0x29f9ee(0x32d)],_0x20a2a9=_0x46871e[_0x29f9ee(0x2a1)],_0x53013a=_0x51be18[_0x29f9ee(0x2aa)];_0x53013a[_0x29f9ee(0x349)];var _0x205673=_0x53013a[_0x29f9ee(0x319)],_0x496d2c=_0x51be18[_0x29f9ee(0x23f)],_0x40af97=_0x496d2c[_0x29f9ee(0xe1)],_0x5aec38=_0x46871e['Cipher']=_0x20a2a9[_0x29f9ee(0x361)]({'cfg':_0xd6a709['extend'](),'createEncryptor':function(_0x58e2ef,_0x2f6803){var _0x3813b1=_0x29f9ee;return this['create'](this[_0x3813b1(0x1fd)],_0x58e2ef,_0x2f6803);},'createDecryptor':function(_0x5fe28d,_0x15e804){var _0x4478ee=_0x29f9ee;return this[_0x4478ee(0x193)](this[_0x4478ee(0x282)],_0x5fe28d,_0x15e804);},'init':function(_0x51a964,_0x26f1b2,_0x4f1582){var _0x2f28a8=_0x29f9ee;this['cfg']=this[_0x2f28a8(0x350)][_0x2f28a8(0x361)](_0x4f1582),this[_0x2f28a8(0x256)]=_0x51a964,this[_0x2f28a8(0x36f)]=_0x26f1b2,this[_0x2f28a8(0x199)]();},'reset':function(){var _0x4bbc6f=_0x29f9ee;_0x20a2a9['reset']['call'](this),this[_0x4bbc6f(0x24b)]();},'process':function(_0x37447f){var _0x474a20=_0x29f9ee;return this[_0x474a20(0x1fa)](_0x37447f),this['_process']();},'finalize':function(_0x4b0062){var _0x1ae88e=_0x29f9ee;_0x4b0062&&this['_append'](_0x4b0062);var _0x29688e=this[_0x1ae88e(0x95)]();return _0x29688e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1c13b0(_0x597deb){var _0x499222=_0x48f5;return typeof _0x597deb==_0x499222(0x19c)?_0x4bea41:_0x39eab9;}return function(_0x2f2c4f){return{'encrypt':function(_0x369c97,_0x416ced,_0x457c1a){var _0x58534e=_0x48f5;return _0x1c13b0(_0x416ced)[_0x58534e(0x26d)](_0x2f2c4f,_0x369c97,_0x416ced,_0x457c1a);},'decrypt':function(_0x23d2a1,_0x4c2d74,_0x21bb76){var _0x320238=_0x48f5;return _0x1c13b0(_0x4c2d74)[_0x320238(0xab)](_0x2f2c4f,_0x23d2a1,_0x4c2d74,_0x21bb76);}};};}())});_0x46871e['StreamCipher']=_0x5aec38[_0x29f9ee(0x361)]({'_doFinalize':function(){var _0x505722=_0x29f9ee,_0x35792b=this[_0x505722(0x1a3)](!0x0);return _0x35792b;},'blockSize':0x1});var _0x32e53d=_0x51be18[_0x29f9ee(0x2e5)]={},_0x52a3d6=_0x46871e[_0x29f9ee(0x1ca)]=_0xd6a709[_0x29f9ee(0x361)]({'createEncryptor':function(_0xe5140f,_0x178e7c){var _0x136f76=_0x29f9ee;return this['Encryptor'][_0x136f76(0x193)](_0xe5140f,_0x178e7c);},'createDecryptor':function(_0x3afc27,_0x17f996){var _0x2f9b4d=_0x29f9ee;return this[_0x2f9b4d(0x36c)]['create'](_0x3afc27,_0x17f996);},'init':function(_0x54ae9a,_0x45c49e){var _0x5bfef6=_0x29f9ee;this['_cipher']=_0x54ae9a,this[_0x5bfef6(0x370)]=_0x45c49e;}}),_0x281cab=_0x32e53d[_0x29f9ee(0x1c6)]=(function(){var _0xb0f650=_0x29f9ee,_0x323338=_0x52a3d6[_0xb0f650(0x361)]();_0x323338[_0xb0f650(0x2b7)]=_0x323338[_0xb0f650(0x361)]({'processBlock':function(_0x17af4b,_0x2a7a1b){var _0x40a07b=_0xb0f650,_0x27ee5b=this[_0x40a07b(0x1d8)],_0x4419dc=_0x27ee5b[_0x40a07b(0x184)];_0x114360[_0x40a07b(0x141)](this,_0x17af4b,_0x2a7a1b,_0x4419dc),_0x27ee5b['encryptBlock'](_0x17af4b,_0x2a7a1b),this[_0x40a07b(0x17d)]=_0x17af4b['slice'](_0x2a7a1b,_0x2a7a1b+_0x4419dc);}}),_0x323338[_0xb0f650(0x36c)]=_0x323338[_0xb0f650(0x361)]({'processBlock':function(_0x586d42,_0x102d92){var _0x372251=_0xb0f650,_0x106d9f=this[_0x372251(0x1d8)],_0x108ee6=_0x106d9f[_0x372251(0x184)],_0x54a222=_0x586d42['slice'](_0x102d92,_0x102d92+_0x108ee6);_0x106d9f['decryptBlock'](_0x586d42,_0x102d92),_0x114360[_0x372251(0x141)](this,_0x586d42,_0x102d92,_0x108ee6),this['_prevBlock']=_0x54a222;}});function _0x114360(_0x463f68,_0x48a3f3,_0x4154f3){var _0x4e1d27=_0xb0f650,_0x2ca01f,_0x4c0ae7=this[_0x4e1d27(0x370)];_0x4c0ae7?(_0x2ca01f=_0x4c0ae7,this['_iv']=_0x3e146c):_0x2ca01f=this[_0x4e1d27(0x17d)];for(var _0x59c51a=0x0;_0x59c51a<_0x4154f3;_0x59c51a++)_0x463f68[_0x48a3f3+_0x59c51a]^=_0x2ca01f[_0x59c51a];}return _0x323338;}()),_0x16bb48=_0x51be18[_0x29f9ee(0x221)]={},_0x2ac769=_0x16bb48[_0x29f9ee(0xac)]={'pad':function(_0x25d901,_0x463367){var _0x45bef5=_0x29f9ee;for(var _0x108856=_0x463367*0x4,_0x1ee310=_0x108856-_0x25d901[_0x45bef5(0xf1)]%_0x108856,_0x251e7b=_0x1ee310<<0x18|_0x1ee310<<0x10|_0x1ee310<<0x8|_0x1ee310,_0x3a1147=[],_0x3319d7=0x0;_0x3319d7<_0x1ee310;_0x3319d7+=0x4)_0x3a1147['push'](_0x251e7b);var _0x46cd6b=_0x182d45[_0x45bef5(0x193)](_0x3a1147,_0x1ee310);_0x25d901[_0x45bef5(0x9d)](_0x46cd6b);},'unpad':function(_0x3ab2dd){var _0x41d427=_0x29f9ee,_0x2a3a36=_0x3ab2dd[_0x41d427(0x31b)][_0x3ab2dd['sigBytes']-0x1>>>0x2]&0xff;_0x3ab2dd[_0x41d427(0xf1)]-=_0x2a3a36;}};_0x46871e[_0x29f9ee(0xdb)]=_0x5aec38[_0x29f9ee(0x361)]({'cfg':_0x5aec38['cfg'][_0x29f9ee(0x361)]({'mode':_0x281cab,'padding':_0x2ac769}),'reset':function(){var _0x71f9f0=_0x29f9ee,_0x226142;_0x5aec38[_0x71f9f0(0x199)]['call'](this);var _0x5e558a=this[_0x71f9f0(0x350)],_0x1d8f77=_0x5e558a['iv'],_0x29cec5=_0x5e558a[_0x71f9f0(0x2e5)];this[_0x71f9f0(0x256)]==this['_ENC_XFORM_MODE']?_0x226142=_0x29cec5[_0x71f9f0(0x1b5)]:(_0x226142=_0x29cec5[_0x71f9f0(0x14a)],this[_0x71f9f0(0x260)]=0x1),this[_0x71f9f0(0x1a8)]&&this[_0x71f9f0(0x1a8)][_0x71f9f0(0x133)]==_0x226142?this[_0x71f9f0(0x1a8)][_0x71f9f0(0x27b)](this,_0x1d8f77&&_0x1d8f77[_0x71f9f0(0x31b)]):(this[_0x71f9f0(0x1a8)]=_0x226142[_0x71f9f0(0x141)](_0x29cec5,this,_0x1d8f77&&_0x1d8f77[_0x71f9f0(0x31b)]),this['_mode'][_0x71f9f0(0x133)]=_0x226142);},'_doProcessBlock':function(_0xfc25cf,_0xd84e8c){var _0x336c82=_0x29f9ee;this['_mode'][_0x336c82(0x301)](_0xfc25cf,_0xd84e8c);},'_doFinalize':function(){var _0x6ad82f=_0x29f9ee,_0x4c3830,_0x1f73c3=this['cfg'][_0x6ad82f(0x14e)];return this[_0x6ad82f(0x256)]==this[_0x6ad82f(0x1fd)]?(_0x1f73c3[_0x6ad82f(0x221)](this['_data'],this[_0x6ad82f(0x184)]),_0x4c3830=this[_0x6ad82f(0x1a3)](!0x0)):(_0x4c3830=this[_0x6ad82f(0x1a3)](!0x0),_0x1f73c3[_0x6ad82f(0x398)](_0x4c3830)),_0x4c3830;},'blockSize':0x80/0x20});var _0x49ca44=_0x46871e['CipherParams']=_0xd6a709[_0x29f9ee(0x361)]({'init':function(_0x4a5942){this['mixIn'](_0x4a5942);},'toString':function(_0x4fd3da){var _0x5ebe59=_0x29f9ee;return(_0x4fd3da||this[_0x5ebe59(0x129)])['stringify'](this);}}),_0xe0391b=_0x51be18[_0x29f9ee(0x2d8)]={},_0x13c3bd=_0xe0391b['OpenSSL']={'stringify':function(_0x276623){var _0x55dceb=_0x29f9ee,_0x39401d,_0x5513bc=_0x276623[_0x55dceb(0x28d)],_0x3b005b=_0x276623[_0x55dceb(0xe2)];return _0x3b005b?_0x39401d=_0x182d45['create']([0x53616c74,0x65645f5f])[_0x55dceb(0x9d)](_0x3b005b)[_0x55dceb(0x9d)](_0x5513bc):_0x39401d=_0x5513bc,_0x39401d[_0x55dceb(0x92)](_0x205673);},'parse':function(_0x12b8dc){var _0x2a2a4b=_0x29f9ee,_0x3f0d00,_0x5d1e2f=_0x205673[_0x2a2a4b(0xb0)](_0x12b8dc),_0x961fa1=_0x5d1e2f[_0x2a2a4b(0x31b)];return _0x961fa1[0x0]==0x53616c74&&_0x961fa1[0x1]==0x65645f5f&&(_0x3f0d00=_0x182d45[_0x2a2a4b(0x193)](_0x961fa1[_0x2a2a4b(0x22a)](0x2,0x4)),_0x961fa1[_0x2a2a4b(0x1ee)](0x0,0x4),_0x5d1e2f[_0x2a2a4b(0xf1)]-=0x10),_0x49ca44[_0x2a2a4b(0x193)]({'ciphertext':_0x5d1e2f,'salt':_0x3f0d00});}},_0x39eab9=_0x46871e[_0x29f9ee(0x203)]=_0xd6a709[_0x29f9ee(0x361)]({'cfg':_0xd6a709[_0x29f9ee(0x361)]({'format':_0x13c3bd}),'encrypt':function(_0x4ff92a,_0x445b4a,_0x802ff,_0x13d507){var _0xe153fa=_0x29f9ee;_0x13d507=this['cfg'][_0xe153fa(0x361)](_0x13d507);var _0x28c036=_0x4ff92a['createEncryptor'](_0x802ff,_0x13d507),_0x42ed21=_0x28c036[_0xe153fa(0x19b)](_0x445b4a),_0x52e004=_0x28c036[_0xe153fa(0x350)];return _0x49ca44['create']({'ciphertext':_0x42ed21,'key':_0x802ff,'iv':_0x52e004['iv'],'algorithm':_0x4ff92a,'mode':_0x52e004[_0xe153fa(0x2e5)],'padding':_0x52e004['padding'],'blockSize':_0x4ff92a[_0xe153fa(0x184)],'formatter':_0x13d507[_0xe153fa(0x2d8)]});},'decrypt':function(_0x210c06,_0x1f0e06,_0x5f3d85,_0x34ebe8){var _0x4dad25=_0x29f9ee;_0x34ebe8=this['cfg'][_0x4dad25(0x361)](_0x34ebe8),_0x1f0e06=this[_0x4dad25(0x18b)](_0x1f0e06,_0x34ebe8[_0x4dad25(0x2d8)]);var _0x5e8264=_0x210c06[_0x4dad25(0x14a)](_0x5f3d85,_0x34ebe8)[_0x4dad25(0x19b)](_0x1f0e06[_0x4dad25(0x28d)]);return _0x5e8264;},'_parse':function(_0x590239,_0x476192){var _0x1398b7=_0x29f9ee;return typeof _0x590239==_0x1398b7(0x19c)?_0x476192[_0x1398b7(0xb0)](_0x590239,this):_0x590239;}}),_0x4390ed=_0x51be18[_0x29f9ee(0x316)]={},_0x211e45=_0x4390ed[_0x29f9ee(0x309)]={'execute':function(_0x21ed28,_0x2986b1,_0x113256,_0x532226,_0x4f165d){var _0x1b7ae7=_0x29f9ee;if(_0x532226||(_0x532226=_0x182d45[_0x1b7ae7(0x16e)](0x40/0x8)),_0x4f165d)var _0x1c5742=_0x40af97[_0x1b7ae7(0x193)]({'keySize':_0x2986b1+_0x113256,'hasher':_0x4f165d})['compute'](_0x21ed28,_0x532226);else var _0x1c5742=_0x40af97[_0x1b7ae7(0x193)]({'keySize':_0x2986b1+_0x113256})[_0x1b7ae7(0x113)](_0x21ed28,_0x532226);var _0x469b2b=_0x182d45[_0x1b7ae7(0x193)](_0x1c5742[_0x1b7ae7(0x31b)][_0x1b7ae7(0x22a)](_0x2986b1),_0x113256*0x4);return _0x1c5742[_0x1b7ae7(0xf1)]=_0x2986b1*0x4,_0x49ca44['create']({'key':_0x1c5742,'iv':_0x469b2b,'salt':_0x532226});}},_0x4bea41=_0x46871e[_0x29f9ee(0x303)]=_0x39eab9[_0x29f9ee(0x361)]({'cfg':_0x39eab9[_0x29f9ee(0x350)][_0x29f9ee(0x361)]({'kdf':_0x211e45}),'encrypt':function(_0x5cfa4e,_0x137774,_0x366647,_0x2d46ed){var _0x11681b=_0x29f9ee;_0x2d46ed=this[_0x11681b(0x350)][_0x11681b(0x361)](_0x2d46ed);var _0x416d1f=_0x2d46ed[_0x11681b(0x316)][_0x11681b(0xdc)](_0x366647,_0x5cfa4e[_0x11681b(0xea)],_0x5cfa4e[_0x11681b(0x2b2)],_0x2d46ed['salt'],_0x2d46ed[_0x11681b(0x19a)]);_0x2d46ed['iv']=_0x416d1f['iv'];var _0x3991ad=_0x39eab9[_0x11681b(0x26d)]['call'](this,_0x5cfa4e,_0x137774,_0x416d1f[_0x11681b(0x27a)],_0x2d46ed);return _0x3991ad[_0x11681b(0xec)](_0x416d1f),_0x3991ad;},'decrypt':function(_0x4963af,_0xa75658,_0x5bb350,_0x23d677){var _0x547a9d=_0x29f9ee;_0x23d677=this[_0x547a9d(0x350)]['extend'](_0x23d677),_0xa75658=this[_0x547a9d(0x18b)](_0xa75658,_0x23d677[_0x547a9d(0x2d8)]);var _0xaec8a7=_0x23d677[_0x547a9d(0x316)]['execute'](_0x5bb350,_0x4963af[_0x547a9d(0xea)],_0x4963af[_0x547a9d(0x2b2)],_0xa75658[_0x547a9d(0xe2)],_0x23d677['hasher']);_0x23d677['iv']=_0xaec8a7['iv'];var _0x1ecc46=_0x39eab9[_0x547a9d(0xab)]['call'](this,_0x4963af,_0xa75658,_0xaec8a7[_0x547a9d(0x27a)],_0x23d677);return _0x1ecc46;}});}();}));}(Je)),Je['exports'];}var Tn=Ve[_0x138943(0x14f)],ti;function Cn(){return ti||(ti=0x1,function(_0x54ca18,_0x32f6e7){(function(_0xe1b8e9,_0x156977,_0x48a186){var _0x1b240c=_0x48f5;_0x54ca18[_0x1b240c(0x14f)]=_0x156977(te(),bi(),vn(),yi(),Ni());}(Tn,function(_0x52bd91){var _0x54b306=_0x48f5;return(function(){var _0x1ff8d6=_0x48f5,_0x118454=_0x52bd91,_0x42183b=_0x118454[_0x1ff8d6(0x2d2)],_0x1e7809=_0x42183b[_0x1ff8d6(0xdb)],_0x1ec0c5=_0x118454[_0x1ff8d6(0x23f)],_0xc1ff32=[],_0x2b18cc=[],_0x5326ec=[],_0x1f593a=[],_0x282ee7=[],_0x55cf6d=[],_0x38564c=[],_0x373e14=[],_0x15f6c4=[],_0x67462d=[];(function(){for(var _0x48819c=[],_0x5b3339=0x0;_0x5b3339<0x100;_0x5b3339++)_0x5b3339<0x80?_0x48819c[_0x5b3339]=_0x5b3339<<0x1:_0x48819c[_0x5b3339]=_0x5b3339<<0x1^0x11b;for(var _0x579cfb=0x0,_0x4228cd=0x0,_0x5b3339=0x0;_0x5b3339<0x100;_0x5b3339++){var _0x1dbe4e=_0x4228cd^_0x4228cd<<0x1^_0x4228cd<<0x2^_0x4228cd<<0x3^_0x4228cd<<0x4;_0x1dbe4e=_0x1dbe4e>>>0x8^_0x1dbe4e&0xff^0x63,_0xc1ff32[_0x579cfb]=_0x1dbe4e,_0x2b18cc[_0x1dbe4e]=_0x579cfb;var _0x1bf286=_0x48819c[_0x579cfb],_0x6565e2=_0x48819c[_0x1bf286],_0x3b9414=_0x48819c[_0x6565e2],_0x33a8be=_0x48819c[_0x1dbe4e]*0x101^_0x1dbe4e*0x1010100;_0x5326ec[_0x579cfb]=_0x33a8be<<0x18|_0x33a8be>>>0x8,_0x1f593a[_0x579cfb]=_0x33a8be<<0x10|_0x33a8be>>>0x10,_0x282ee7[_0x579cfb]=_0x33a8be<<0x8|_0x33a8be>>>0x18,_0x55cf6d[_0x579cfb]=_0x33a8be;var _0x33a8be=_0x3b9414*0x1010101^_0x6565e2*0x10001^_0x1bf286*0x101^_0x579cfb*0x1010100;_0x38564c[_0x1dbe4e]=_0x33a8be<<0x18|_0x33a8be>>>0x8,_0x373e14[_0x1dbe4e]=_0x33a8be<<0x10|_0x33a8be>>>0x10,_0x15f6c4[_0x1dbe4e]=_0x33a8be<<0x8|_0x33a8be>>>0x18,_0x67462d[_0x1dbe4e]=_0x33a8be,_0x579cfb?(_0x579cfb=_0x1bf286^_0x48819c[_0x48819c[_0x48819c[_0x3b9414^_0x1bf286]]],_0x4228cd^=_0x48819c[_0x48819c[_0x4228cd]]):_0x579cfb=_0x4228cd=0x1;}}());var _0x2b9c4d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xecf80f=_0x1ec0c5[_0x1ff8d6(0x200)]=_0x1e7809[_0x1ff8d6(0x361)]({'_doReset':function(){var _0x4c52ea=_0x1ff8d6,_0x3da4c6;if(!(this[_0x4c52ea(0x2ee)]&&this[_0x4c52ea(0x1c0)]===this['_key'])){for(var _0x148425=this[_0x4c52ea(0x1c0)]=this[_0x4c52ea(0x36f)],_0x10b3ea=_0x148425[_0x4c52ea(0x31b)],_0x4e61db=_0x148425[_0x4c52ea(0xf1)]/0x4,_0x208ab0=this['_nRounds']=_0x4e61db+0x6,_0x1eb17d=(_0x208ab0+0x1)*0x4,_0x5ebd11=this['_keySchedule']=[],_0x49125e=0x0;_0x49125e<_0x1eb17d;_0x49125e++)_0x49125e<_0x4e61db?_0x5ebd11[_0x49125e]=_0x10b3ea[_0x49125e]:(_0x3da4c6=_0x5ebd11[_0x49125e-0x1],_0x49125e%_0x4e61db?_0x4e61db>0x6&&_0x49125e%_0x4e61db==0x4&&(_0x3da4c6=_0xc1ff32[_0x3da4c6>>>0x18]<<0x18|_0xc1ff32[_0x3da4c6>>>0x10&0xff]<<0x10|_0xc1ff32[_0x3da4c6>>>0x8&0xff]<<0x8|_0xc1ff32[_0x3da4c6&0xff]):(_0x3da4c6=_0x3da4c6<<0x8|_0x3da4c6>>>0x18,_0x3da4c6=_0xc1ff32[_0x3da4c6>>>0x18]<<0x18|_0xc1ff32[_0x3da4c6>>>0x10&0xff]<<0x10|_0xc1ff32[_0x3da4c6>>>0x8&0xff]<<0x8|_0xc1ff32[_0x3da4c6&0xff],_0x3da4c6^=_0x2b9c4d[_0x49125e/_0x4e61db|0x0]<<0x18),_0x5ebd11[_0x49125e]=_0x5ebd11[_0x49125e-_0x4e61db]^_0x3da4c6);for(var _0x5a5e8f=this['_invKeySchedule']=[],_0x40abaa=0x0;_0x40abaa<_0x1eb17d;_0x40abaa++){var _0x49125e=_0x1eb17d-_0x40abaa;if(_0x40abaa%0x4)var _0x3da4c6=_0x5ebd11[_0x49125e];else var _0x3da4c6=_0x5ebd11[_0x49125e-0x4];_0x40abaa<0x4||_0x49125e<=0x4?_0x5a5e8f[_0x40abaa]=_0x3da4c6:_0x5a5e8f[_0x40abaa]=_0x38564c[_0xc1ff32[_0x3da4c6>>>0x18]]^_0x373e14[_0xc1ff32[_0x3da4c6>>>0x10&0xff]]^_0x15f6c4[_0xc1ff32[_0x3da4c6>>>0x8&0xff]]^_0x67462d[_0xc1ff32[_0x3da4c6&0xff]];}}},'encryptBlock':function(_0x466b86,_0x5ec2bf){var _0x1947fc=_0x1ff8d6;this['_doCryptBlock'](_0x466b86,_0x5ec2bf,this[_0x1947fc(0xef)],_0x5326ec,_0x1f593a,_0x282ee7,_0x55cf6d,_0xc1ff32);},'decryptBlock':function(_0x1c8105,_0x447568){var _0x2552fb=_0x1ff8d6,_0x4138fd=_0x1c8105[_0x447568+0x1];_0x1c8105[_0x447568+0x1]=_0x1c8105[_0x447568+0x3],_0x1c8105[_0x447568+0x3]=_0x4138fd,this['_doCryptBlock'](_0x1c8105,_0x447568,this[_0x2552fb(0x26f)],_0x38564c,_0x373e14,_0x15f6c4,_0x67462d,_0x2b18cc);var _0x4138fd=_0x1c8105[_0x447568+0x1];_0x1c8105[_0x447568+0x1]=_0x1c8105[_0x447568+0x3],_0x1c8105[_0x447568+0x3]=_0x4138fd;},'_doCryptBlock':function(_0xa26bd4,_0x39710c,_0x30bd45,_0x3a374b,_0x365f5a,_0x1586f5,_0x23666e,_0x36f1fb){var _0x541f8f=_0x1ff8d6;for(var _0x259748=this[_0x541f8f(0x2ee)],_0x4170c3=_0xa26bd4[_0x39710c]^_0x30bd45[0x0],_0x1e4c35=_0xa26bd4[_0x39710c+0x1]^_0x30bd45[0x1],_0x5db067=_0xa26bd4[_0x39710c+0x2]^_0x30bd45[0x2],_0xf13e3b=_0xa26bd4[_0x39710c+0x3]^_0x30bd45[0x3],_0x574ae9=0x4,_0x283a20=0x1;_0x283a20<_0x259748;_0x283a20++){var _0x2f6d62=_0x3a374b[_0x4170c3>>>0x18]^_0x365f5a[_0x1e4c35>>>0x10&0xff]^_0x1586f5[_0x5db067>>>0x8&0xff]^_0x23666e[_0xf13e3b&0xff]^_0x30bd45[_0x574ae9++],_0x2989cf=_0x3a374b[_0x1e4c35>>>0x18]^_0x365f5a[_0x5db067>>>0x10&0xff]^_0x1586f5[_0xf13e3b>>>0x8&0xff]^_0x23666e[_0x4170c3&0xff]^_0x30bd45[_0x574ae9++],_0x71f93d=_0x3a374b[_0x5db067>>>0x18]^_0x365f5a[_0xf13e3b>>>0x10&0xff]^_0x1586f5[_0x4170c3>>>0x8&0xff]^_0x23666e[_0x1e4c35&0xff]^_0x30bd45[_0x574ae9++],_0x2669c2=_0x3a374b[_0xf13e3b>>>0x18]^_0x365f5a[_0x4170c3>>>0x10&0xff]^_0x1586f5[_0x1e4c35>>>0x8&0xff]^_0x23666e[_0x5db067&0xff]^_0x30bd45[_0x574ae9++];_0x4170c3=_0x2f6d62,_0x1e4c35=_0x2989cf,_0x5db067=_0x71f93d,_0xf13e3b=_0x2669c2;}var _0x2f6d62=(_0x36f1fb[_0x4170c3>>>0x18]<<0x18|_0x36f1fb[_0x1e4c35>>>0x10&0xff]<<0x10|_0x36f1fb[_0x5db067>>>0x8&0xff]<<0x8|_0x36f1fb[_0xf13e3b&0xff])^_0x30bd45[_0x574ae9++],_0x2989cf=(_0x36f1fb[_0x1e4c35>>>0x18]<<0x18|_0x36f1fb[_0x5db067>>>0x10&0xff]<<0x10|_0x36f1fb[_0xf13e3b>>>0x8&0xff]<<0x8|_0x36f1fb[_0x4170c3&0xff])^_0x30bd45[_0x574ae9++],_0x71f93d=(_0x36f1fb[_0x5db067>>>0x18]<<0x18|_0x36f1fb[_0xf13e3b>>>0x10&0xff]<<0x10|_0x36f1fb[_0x4170c3>>>0x8&0xff]<<0x8|_0x36f1fb[_0x1e4c35&0xff])^_0x30bd45[_0x574ae9++],_0x2669c2=(_0x36f1fb[_0xf13e3b>>>0x18]<<0x18|_0x36f1fb[_0x4170c3>>>0x10&0xff]<<0x10|_0x36f1fb[_0x1e4c35>>>0x8&0xff]<<0x8|_0x36f1fb[_0x5db067&0xff])^_0x30bd45[_0x574ae9++];_0xa26bd4[_0x39710c]=_0x2f6d62,_0xa26bd4[_0x39710c+0x1]=_0x2989cf,_0xa26bd4[_0x39710c+0x2]=_0x71f93d,_0xa26bd4[_0x39710c+0x3]=_0x2669c2;},'keySize':0x100/0x20});_0x118454[_0x1ff8d6(0x200)]=_0x1e7809[_0x1ff8d6(0x343)](_0xecf80f);}()),_0x52bd91[_0x54b306(0x200)];}));}(Ve)),Ve['exports'];}var Rn=Cn();const On=$e(Rn);var bn=bi();const ii=$e(bn);var Xe={'exports':{}},yn=Xe['exports'],si;function Nn(){var _0x4e9687=_0x138943;return si||(si=0x1,function(_0x132dff,_0x1b5eb3){(function(_0x2c166d,_0x49fca9){_0x132dff['exports']=_0x49fca9(te());}(yn,function(_0x2993ae){var _0x1e2b1a=_0x48f5;return _0x2993ae[_0x1e2b1a(0x2aa)][_0x1e2b1a(0x349)];}));}(Xe)),Xe[_0x4e9687(0x14f)];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x138943(0x14f)],ni;function wn(){var _0x10f6b6=_0x138943;return ni||(ni=0x1,function(_0x2a82af,_0x73a693){(function(_0x2428ac,_0xd86c0d){var _0x15e843=_0x48f5;_0x2a82af[_0x15e843(0x14f)]=_0xd86c0d(te());}(An,function(_0x182c8c){var _0xfc0bc1=_0x48f5;return(function(){var _0x4fe7d9=_0x48f5;if(typeof ArrayBuffer=='function'){var _0x21e909=_0x182c8c,_0x456f67=_0x21e909[_0x4fe7d9(0x2d2)],_0x558999=_0x456f67[_0x4fe7d9(0x32d)],_0x383579=_0x558999[_0x4fe7d9(0x27b)],_0x30ecac=_0x558999[_0x4fe7d9(0x27b)]=function(_0x1fe152){var _0x3873e8=_0x4fe7d9;if(_0x1fe152 instanceof ArrayBuffer&&(_0x1fe152=new Uint8Array(_0x1fe152)),(_0x1fe152 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1fe152 instanceof Uint8ClampedArray||_0x1fe152 instanceof Int16Array||_0x1fe152 instanceof Uint16Array||_0x1fe152 instanceof Int32Array||_0x1fe152 instanceof Uint32Array||_0x1fe152 instanceof Float32Array||_0x1fe152 instanceof Float64Array)&&(_0x1fe152=new Uint8Array(_0x1fe152['buffer'],_0x1fe152[_0x3873e8(0x22b)],_0x1fe152['byteLength'])),_0x1fe152 instanceof Uint8Array){for(var _0x23c943=_0x1fe152['byteLength'],_0x48de2a=[],_0x3fdabb=0x0;_0x3fdabb<_0x23c943;_0x3fdabb++)_0x48de2a[_0x3fdabb>>>0x2]|=_0x1fe152[_0x3fdabb]<<0x18-_0x3fdabb%0x4*0x8;_0x383579[_0x3873e8(0x141)](this,_0x48de2a,_0x23c943);}else _0x383579[_0x3873e8(0x1ff)](this,arguments);};_0x30ecac['prototype']=_0x558999;}}()),_0x182c8c[_0xfc0bc1(0x2d2)][_0xfc0bc1(0x32d)];}));}(Ze)),Ze[_0x10f6b6(0x14f)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x138943(0x14f)],ri;function xn(){var _0x25088e=_0x138943;return ri||(ri=0x1,function(_0xcce3b8,_0x9488f8){(function(_0x313ac0,_0x3a3119,_0x71ec12){_0xcce3b8['exports']=_0x3a3119(te(),Ni());}(Mn,function(_0x4d833e){var _0x3e41ee=_0x48f5;return _0x4d833e[_0x3e41ee(0x221)][_0x3e41ee(0x340)]={'pad':function(){},'unpad':function(){}},_0x4d833e['pad'][_0x3e41ee(0x340)];}));}(Qe)),Qe[_0x25088e(0x14f)];}var kn=xn();const $n=$e(kn);function Hn(_0x336e8d,_0xeed594){var _0x199252=_0x138943;const _0x9e1220=_0xeed594-_0x336e8d[_0x199252(0x16f)]%_0xeed594,_0x56e6cb=String[_0x199252(0x305)](_0x9e1220)['repeat'](_0x9e1220);return _0x336e8d+_0x56e6cb;}function Bn(_0x5a51fa,_0xc44b77){var _0x301a5b=_0x138943;const _0x1a5806=Ln[_0x301a5b(0x16e)](0x10),_0x3c61fd=Hn(_0x5a51fa,0x10),_0x597f9a=On[_0x301a5b(0x26d)](Un[_0x301a5b(0xb0)](_0x3c61fd),ii['parse'](_0xc44b77),{'iv':_0x1a5806,'padding':$n});return _0x1a5806[_0x301a5b(0x9d)](_0x597f9a[_0x301a5b(0x28d)])['toString'](ii);}function jn(){var _0x2c98a9=_0x138943;const _0xffd7a6=_0x44d452()[_0x2c98a9(0x183)];if(_0xffd7a6){const _0x35f09e={'time':Math[_0x2c98a9(0x98)](Date['now']()/0x3e8),'domain':location[_0x2c98a9(0x18e)]};return Bn(JSON[_0x2c98a9(0xa3)](_0x35f09e),_0xffd7a6);}}var Fn=Object[_0x138943(0x20f)],Vn=(_0x4c1fbb,_0x54fc39,_0x3b2457,_0x471db3)=>{var _0x2de3e5=_0x138943;for(var _0x5542ec=_0x471db3>0x1?void 0x0:_0x471db3?Fn(_0x54fc39,_0x3b2457):_0x54fc39,_0xb204ad=_0x4c1fbb[_0x2de3e5(0x16f)]-0x1,_0x7f8ed5;_0xb204ad>=0x0;_0xb204ad--)(_0x7f8ed5=_0x4c1fbb[_0xb204ad])&&(_0x5542ec=_0x7f8ed5(_0x5542ec)||_0x5542ec);return _0x5542ec;},Gn=(_0xbea76d,_0x4e16e3)=>(_0x5dc7df,_0x36b1d5)=>_0x4e16e3(_0x5dc7df,_0x36b1d5,_0xbea76d);let at=class{constructor(_0x4cad92){var _0x47a908=_0x138943;this['_httpService']=_0x4cad92,this[_0x47a908(0x13e)]();}[_0x138943(0x13e)](){var _0x3d15b8=_0x138943;this[_0x3d15b8(0x378)][_0x3d15b8(0x377)]({'interceptor':(_0x492350,_0x5034b3)=>{var _0x1ca9dd=_0x3d15b8;const _0x2745b3=_0x492350['headers'],_0x4e5557=jn();return _0x4e5557&&_0x2745b3[_0x1ca9dd(0x34a)]('x-univer-host',_0x4e5557),_0x5034b3(_0x492350);}});}};at=Vn([Gn(0x0,_0xf474f8(_0xb23947))],at);var Yn=Object[_0x138943(0x20f)],Wn=(_0x52a177,_0x21b276,_0x2ff3f7,_0x68ce41)=>{var _0x1c269b=_0x138943;for(var _0x291e66=_0x68ce41>0x1?void 0x0:_0x68ce41?Yn(_0x21b276,_0x2ff3f7):_0x21b276,_0x30e802=_0x52a177[_0x1c269b(0x16f)]-0x1,_0x418dcd;_0x30e802>=0x0;_0x30e802--)(_0x418dcd=_0x52a177[_0x30e802])&&(_0x291e66=_0x418dcd(_0x291e66)||_0x291e66);return _0x291e66;},vt=(_0x5bdc0b,_0x4debfc)=>(_0x480b0e,_0x10f536)=>_0x4debfc(_0x480b0e,_0x10f536,_0x5bdc0b);let Ct=class extends _0x2fbbd2{constructor(_0x4720a0,_0x2338d2,_0x13ab75){var _0x5d8a12=_0x138943;super(),N(this,'_unitInfo$',new _0x2b8adc(null)),N(this,_0x5d8a12(0x198),this['_unitInfo$']['asObservable']()),(this[_0x5d8a12(0xf9)]=_0x4720a0,this[_0x5d8a12(0x1ed)]=_0x2338d2,this[_0x5d8a12(0x236)]=_0x13ab75);}async[_0x138943(0x2bc)](_0x516dcb,_0x143b94,_0x3786c1){var _0x369878=_0x138943;this[_0x369878(0x259)][_0x369878(0x345)]({'unitId':_0x516dcb,'type':_0x143b94});let _0xcd3694=null;switch(_0x143b94){case Z[_0x369878(0x20d)]:{_0xcd3694=await this[_0x369878(0x1ed)][_0x369878(0x205)](_0x516dcb,_0x3786c1);break;}case Z[_0x369878(0x315)]:{_0xcd3694=await this['_snapshotService']['loadDoc'](_0x516dcb,_0x3786c1);break;}default:{this[_0x369878(0xf9)][_0x369878(0x331)](_0x369878(0x2de),_0x369878(0x18c));break;}}return _0xcd3694;}async[_0x138943(0x31d)](_0x442858,_0x362480,_0x389214){var _0x3c91e7=_0x138943,_0x15c53f;this[_0x3c91e7(0x259)][_0x3c91e7(0x345)]({'unitId':_0x442858,'type':_0x362480,'subUnitId':_0x389214});let _0x20a7bd=0x0;const _0x228b29=await((_0x15c53f=this[_0x3c91e7(0x236)])==null?void 0x0:_0x15c53f[_0x3c91e7(0x164)](_0x442858));return _0x228b29&&(_0x228b29[_0x3c91e7(0x101)]||_0x228b29[_0x3c91e7(0x2bb)][_0x3c91e7(0x16f)]!==0x0)&&(_0x20a7bd=_0x228b29[_0x3c91e7(0x2f1)]),_0x20a7bd===0x0&&this[_0x3c91e7(0xf9)][_0x3c91e7(0x1af)](_0x3c91e7(0x2de),_0x3c91e7(0xc5)),this['loadUnitOfRevision'](_0x442858,_0x362480,_0x20a7bd);}};Ct=Wn([vt(0x0,_0x3258ec),vt(0x1,_0xf474f8(_0x45e9bb)),vt(0x2,_0x4bfb9c(J))],Ct);var Kn=Object['getOwnPropertyDescriptor'],qn=(_0x92e06f,_0x1b5608,_0x38894f,_0x2b209c)=>{for(var _0x3a0184=_0x2b209c>0x1?void 0x0:_0x2b209c?Kn(_0x1b5608,_0x38894f):_0x1b5608,_0x5c2c20=_0x92e06f['length']-0x1,_0x4887f9;_0x5c2c20>=0x0;_0x5c2c20--)(_0x4887f9=_0x92e06f[_0x5c2c20])&&(_0x3a0184=_0x4887f9(_0x3a0184)||_0x3a0184);return _0x3a0184;},pt=(_0x3f8e07,_0x4f10d9)=>(_0x47a942,_0x205444)=>_0x4f10d9(_0x47a942,_0x205444,_0x3f8e07);const zn=['image/png','image/jpeg',_0x138943(0x1d2),'image/gif',_0x138943(0xda)],Jn=0x5*0x400*0x400,Xn=_0x138943(0x13c),Zn=_0x138943(0x1c2),Qn=_0x138943(0x161),er='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x133d5a,_0x7c40ae,_0x3cd27b){var _0x3d3367=_0x138943;N(this,_0x3d3367(0x2cb),0x0),N(this,'_change$',new _0x4ff8e0()),N(this,'change$',this[_0x3d3367(0xfd)]),N(this,'_imageSourceCache',new Map()),(this[_0x3d3367(0x378)]=_0x133d5a,this['_configService']=_0x7c40ae,this[_0x3d3367(0x25a)]=_0x3cd27b);}[_0x138943(0x329)](_0x41204a){var _0x34f1b6=_0x138943;this[_0x34f1b6(0x2cb)]=_0x41204a,this[_0x34f1b6(0xfd)]['next'](_0x41204a);}[_0x138943(0x1f8)](_0x1a6924,_0x3a190f){var _0x30bf7f=_0x138943;if(_0x3a190f===_0x465bfc[_0x30bf7f(0x295)]){const _0x36d95b=new Image();return _0x36d95b['src']=_0x1a6924,_0x36d95b;}return this[_0x30bf7f(0x2b8)]['get'](_0x1a6924);}[_0x138943(0x394)](_0xbbbdc2,_0x45a22a,_0x1802ab){var _0x372b77=_0x138943;_0x45a22a===_0x465bfc[_0x372b77(0x295)]||_0x1802ab==null||this[_0x372b77(0x2b8)][_0x372b77(0x34a)](_0xbbbdc2,_0x1802ab);}async[_0x138943(0x34f)](_0x353bee){var _0x211022=_0x138943;try{const _0x2515e2=this['_replaceFileID'](this[_0x211022(0x2c1)](),''+_0x353bee),_0x385188=(await this[_0x211022(0x378)]['get'](_0x2515e2))[_0x211022(0x35d)];if(_0x385188[_0x211022(0x331)]&&_0x385188['error'][_0x211022(0x285)]===pi['OK']){const _0x517f3d=new URL(_0x385188[_0x211022(0x326)],this[_0x211022(0xbd)]())[_0x211022(0x92)]();return Promise[_0x211022(0x1ba)](_0x517f3d);}return Promise[_0x211022(0x143)](_0x385188[_0x211022(0x331)]);}catch(_0x496272){return Promise[_0x211022(0x143)](_0x496272);}}async['saveImage'](_0x20b309){var _0x12f384=_0x138943;let _0x7855b7='';if(!zn[_0x12f384(0x24a)](_0x20b309[_0x12f384(0x372)]))return this[_0x12f384(0x230)](),Promise[_0x12f384(0x143)](new Error(_0x15bc0f[_0x12f384(0x17c)]));if(_0x20b309[_0x12f384(0x1e1)]>Jn)return this[_0x12f384(0x230)](),Promise[_0x12f384(0x143)](new Error(_0x15bc0f['ERROR_EXCEED_SIZE']));try{const _0x39bbf2=new FormData();_0x39bbf2[_0x12f384(0x222)](_0x12f384(0x100),_0x20b309);const _0x5ba10c=this[_0x12f384(0x25a)][_0x12f384(0x21e)](),_0x4d18a9=_0x5ba10c==null?void 0x0:_0x5ba10c['getUnitId']();if(!_0x4d18a9)throw new Error(_0x12f384(0xb3));const _0x48e5f2=this[_0x12f384(0x20c)]()+'?size='+_0x20b309[_0x12f384(0x1e1)]['toString']()+_0x12f384(0x1a7)+mi[_0x12f384(0x2b4)]+_0x12f384(0x33c)+encodeURIComponent(_0x4d18a9),_0x3629e9={'body':_0x39bbf2},_0x2b17d0=(await this[_0x12f384(0x378)][_0x12f384(0x1ce)](_0x48e5f2,_0x3629e9))['body'];if(typeof _0x2b17d0[_0x12f384(0x323)]!=_0x12f384(0x19c))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x15bc0f[_0x12f384(0x139)]));_0x7855b7=_0x2b17d0[_0x12f384(0x323)];}catch{return this[_0x12f384(0x230)](),Promise[_0x12f384(0x143)](new Error(_0x15bc0f['ERROR_IMAGE']));}return new Promise((_0x606b62,_0x299932)=>{var _0x230c1d=_0x12f384;const _0x3e0952=new FileReader();_0x3e0952[_0x230c1d(0x2b5)](_0x20b309),_0x3e0952[_0x230c1d(0x36e)]=_0x40cb30=>{var _0x5730e5=_0x230c1d,_0x26b65e;const _0x455446=(_0x26b65e=_0x40cb30[_0x5730e5(0x13d)])==null?void 0x0:_0x26b65e[_0x5730e5(0x24d)];if(_0x455446==null){this[_0x5730e5(0x230)](),_0x299932(new Error(_0x15bc0f['ERROR_IMAGE']));return;}const _0x1423b3=_0x5b3e45[_0x5730e5(0x127)](0x6);_0x606b62({'imageId':_0x1423b3,'imageSourceType':_0x465bfc[_0x5730e5(0x385)],'source':_0x7855b7,'base64Cache':_0x455446,'status':_0x15bc0f[_0x5730e5(0x268)]}),this[_0x5730e5(0x230)]();};});}[_0x138943(0x20c)](){var _0x57f281=_0x138943,_0x135b04,_0x19744f;const _0x15d339=this['_configService'][_0x57f281(0xad)](Xn),_0x4ebb6c=this[_0x57f281(0x38b)][_0x57f281(0xad)](K);return(_0x19744f=(_0x135b04=_0x4ebb6c==null?void 0x0:_0x4ebb6c[_0x57f281(0xc3)])!=null?_0x135b04:_0x15d339)!=null?_0x19744f:Zn;}[_0x138943(0x2c1)](){var _0x232fa1=_0x138943,_0xa587c7,_0x3aae28;const _0x3a4d9a=this[_0x232fa1(0x38b)][_0x232fa1(0xad)](Qn),_0x3e7858=this[_0x232fa1(0x38b)][_0x232fa1(0xad)](K);return(_0x3aae28=(_0xa587c7=_0x3e7858==null?void 0x0:_0x3e7858[_0x232fa1(0x37e)])!=null?_0xa587c7:_0x3a4d9a)!=null?_0x3aae28:er;}[_0x138943(0xbd)](){var _0x20befd=_0x138943,_0xa9c567;const _0x55c9db=this['_configService'][_0x20befd(0xad)](K);return(_0xa9c567=_0x55c9db==null?void 0x0:_0x55c9db[_0x20befd(0x29e)])!=null?_0xa9c567:location[_0x20befd(0x24e)];}[_0x138943(0x344)](_0x24d9fb,_0x45504a){var _0x2e9d15=_0x138943;return _0x24d9fb[_0x2e9d15(0x33b)](_0x2e9d15(0x2af),_0x45504a);}['_decreaseWaiting'](){var _0x26fb13=_0x138943;this[_0x26fb13(0x2cb)]-=0x1,this[_0x26fb13(0xfd)][_0x26fb13(0x345)](this[_0x26fb13(0x2cb)]);}};Rt=qn([pt(0x0,_0xf474f8(_0xb23947)),pt(0x1,_0x12b0b8),pt(0x2,_0xf474f8(_0x2384ff))],Rt);var tr=Object[_0x138943(0x20f)],ir=(_0x25bf4b,_0x508924,_0x4ac20a,_0x4ee058)=>{var _0x39ca0a=_0x138943;for(var _0x190e45=_0x4ee058>0x1?void 0x0:_0x4ee058?tr(_0x508924,_0x4ac20a):_0x508924,_0x355cc5=_0x25bf4b[_0x39ca0a(0x16f)]-0x1,_0x2bd44c;_0x355cc5>=0x0;_0x355cc5--)(_0x2bd44c=_0x25bf4b[_0x355cc5])&&(_0x190e45=_0x2bd44c(_0x190e45)||_0x190e45);return _0x190e45;},ai=(_0x54f1e5,_0x5c0d2b)=>(_0x2aa7de,_0x1fe410)=>_0x5c0d2b(_0x2aa7de,_0x1fe410,_0x54f1e5);const sr=_0x138943(0x18f);let Ot=class{constructor(_0x335574,_0x59b476){var _0x127646=_0x138943;this['_configService']=_0x335574,this[_0x127646(0x384)]=_0x59b476;}[_0x138943(0x1fb)](){var _0x309377=_0x138943,_0x488f9c,_0x24ebbd;const _0x56d39b=this[_0x309377(0x38b)][_0x309377(0xad)](Oi),_0x3f834f=this[_0x309377(0x38b)]['getConfig'](K);return(_0x24ebbd=(_0x488f9c=_0x3f834f==null?void 0x0:_0x3f834f[_0x309377(0x286)])!=null?_0x488f9c:_0x56d39b)!=null?_0x24ebbd:sr;}async['list'](_0x4d75ea){var _0x53ad1e=_0x138943;const _0x5e7ffd=this[_0x53ad1e(0x1fb)]()+_0x53ad1e(0x216);return{'list':[{'title':_0x53ad1e(0x2e6),'mentions':(await this[_0x53ad1e(0x384)][_0x53ad1e(0x107)](_0x5e7ffd,{'params':{'objectID':_0x4d75ea[_0x53ad1e(0x30f)],'unitID':_0x4d75ea[_0x53ad1e(0x30f)]}}))[_0x53ad1e(0x35d)][_0x53ad1e(0x39b)][_0x53ad1e(0x37d)](_0x541eb3=>({'objectId':_0x541eb3['id'],'name':_0x541eb3[_0x53ad1e(0x1c4)][_0x53ad1e(0x330)],'metadata':{'icon':_0x541eb3['subject'][_0x53ad1e(0x327)]},'label':_0x541eb3['subject']['name'],'objectType':_0x52a0f6[_0x53ad1e(0x2df)]})),'metadata':{},'type':_0x52a0f6['PERSON']}]};}};Ot=ir([ai(0x0,_0xf474f8(_0x12b0b8)),ai(0x1,_0xf474f8(_0xb23947))],Ot);var nr=Object[_0x138943(0x20f)],rr=(_0x505f23,_0x537bed,_0x5d9eb5,_0x173489)=>{var _0x26e172=_0x138943;for(var _0x128a5b=_0x173489>0x1?void 0x0:_0x173489?nr(_0x537bed,_0x5d9eb5):_0x537bed,_0xda427=_0x505f23[_0x26e172(0x16f)]-0x1,_0x512fe0;_0xda427>=0x0;_0xda427--)(_0x512fe0=_0x505f23[_0xda427])&&(_0x128a5b=_0x512fe0(_0x128a5b)||_0x128a5b);return _0x128a5b;},Ae=(_0x11eb86,_0x2fb129)=>(_0x3b6b67,_0x2e3f1c)=>_0x2fb129(_0x3b6b67,_0x2e3f1c,_0x11eb86);let ot=class extends _0x2fbbd2{constructor(_0x1e329c,_0x58bb8c,_0x565ebb,_0x29abae,_0x3443bf){var _0x3e5b49=_0x138943;super(),this[_0x3e5b49(0x1ae)]=_0x1e329c,this[_0x3e5b49(0x25a)]=_0x58bb8c,this[_0x3e5b49(0x29c)]=_0x565ebb,this['_collaborationSessionService']=_0x29abae,this['_collaborationUIEventService']=_0x3443bf,this[_0x3e5b49(0x2ad)](),this[_0x3e5b49(0x1f7)]();}[_0x138943(0x1f7)](){var _0x43471d=_0x138943;const _0x676cb5=async _0x5e546c=>{var _0x503757=_0x48f5;(await this[_0x503757(0x214)][_0x503757(0x8f)](_0x5e546c))[_0x503757(0x371)]['pipe'](_0x2a0100(_0x3a3e9a=>_0x3a3e9a[_0x503757(0xba)]===_0x201bd4[_0x503757(0x334)]),_0x38eaf5(this[_0x503757(0x32e)]))[_0x503757(0x15c)](_0x3b5dad=>{var _0x11bee5=_0x503757;const _0x245320=_0x3b5dad,{reason:_0xdcdb8}=_0x245320[_0x11bee5(0x2b9)];this['_collaborationUIEventService'][_0x11bee5(0x2c7)]({'id':ne[_0x11bee5(0xf4)],'data':_0xdcdb8}),this[_0x11bee5(0x29c)][_0x11bee5(0x159)](new _0x544e43(_0x5e546c)['id'],!0x1),this['_collaborationSessionService'][_0x11bee5(0x375)](_0x5e546c);});};_0x29b3a7(this[_0x43471d(0x25a)][_0x43471d(0x118)](_0x333bc2[_0x43471d(0x20d)]),this[_0x43471d(0x25a)][_0x43471d(0x118)](_0x333bc2[_0x43471d(0x315)]))[_0x43471d(0x156)](_0x52e33f(_0x67a98a=>_0x67a98a[_0x43471d(0x1e9)]()),_0x2a0100(_0x48fea7=>!_0xb5f7f(_0x48fea7)),_0x38eaf5(this[_0x43471d(0x32e)]))[_0x43471d(0x15c)](_0x4130e8=>{_0x676cb5(_0x4130e8);});}[_0x138943(0x2ad)](){var _0x184990=_0x138943;const _0x220c68=async _0x391ea4=>{var _0x56d01e=_0x48f5;const _0x29865b=await this[_0x56d01e(0x214)]['requireSession'](_0x391ea4),_0x26d7fa=this[_0x56d01e(0x1ae)][_0x56d01e(0x107)](_0x53ea3c);_0x29865b[_0x56d01e(0x371)][_0x56d01e(0x156)](_0x2a0100(_0x7ad0f9=>_0x7ad0f9[_0x56d01e(0xba)]===_0x201bd4[_0x56d01e(0xa4)]),_0x38eaf5(this['dispose$']))[_0x56d01e(0x15c)](_0x3feb1b=>{var _0x92113c=_0x56d01e;const _0x5c17cf=_0x3feb1b,{objectId:_0x2b8a74}=_0x5c17cf['data'];_0x2b8a74===_0x391ea4?_0x26d7fa['initWorkbookPermissionChange'](_0x391ea4):_0x26d7fa[_0x92113c(0xdf)](_0x391ea4,_0x2b8a74);});};_0x29b3a7(this['_univerInstanceService'][_0x184990(0x118)](_0x333bc2[_0x184990(0x20d)]))[_0x184990(0x156)](_0x52e33f(_0xbd39cb=>_0xbd39cb[_0x184990(0x1e9)]()),_0x2a0100(_0x41ca06=>!_0xb5f7f(_0x41ca06)),_0x38eaf5(this[_0x184990(0x32e)]))[_0x184990(0x15c)](_0x3d950b=>{_0x220c68(_0x3d950b);});}};ot=rr([Ae(0x0,_0xf474f8(_0x5789a2)),Ae(0x1,_0x2384ff),Ae(0x2,_0x460d73),Ae(0x3,_0xf474f8(Le)),Ae(0x4,_0xf474f8(ve))],ot);var ar=Object[_0x138943(0x20f)],or=(_0x3f9ed4,_0x61cd8c,_0x96308d,_0x899246)=>{var _0x1108bc=_0x138943;for(var _0x4ed349=_0x899246>0x1?void 0x0:_0x899246?ar(_0x61cd8c,_0x96308d):_0x61cd8c,_0x34884b=_0x3f9ed4[_0x1108bc(0x16f)]-0x1,_0x2acab8;_0x34884b>=0x0;_0x34884b--)(_0x2acab8=_0x3f9ed4[_0x34884b])&&(_0x4ed349=_0x2acab8(_0x4ed349)||_0x4ed349);return _0x4ed349;},oi=(_0x538951,_0x3680db)=>(_0x5a3266,_0x31978d)=>_0x3680db(_0x5a3266,_0x31978d,_0x538951);let bt=class{constructor(_0x585bd4,_0x175575){var _0x56513e=_0x138943;this[_0x56513e(0x38b)]=_0x585bd4,this['_httpService']=_0x175575;}async[_0x138943(0x10c)](_0x438593,_0x91dea5){var _0x5dd5bf=_0x138943,_0xee64bc;const {unitID:_0x4ed0f5,type:_0x184355,revision:_0x13f44c=0x0}=_0x91dea5,_0x467ee0=this['getSnapshotAPIPath']()+'/'+_0x184355+_0x5dd5bf(0x225)+_0x4ed0f5+_0x5dd5bf(0x255)+_0x13f44c,_0x459250=(await this[_0x5dd5bf(0x378)][_0x5dd5bf(0x107)](_0x467ee0))['body'],_0x2d67ac=(_0xee64bc=_0x459250['snapshot'])==null?void 0x0:_0xee64bc['workbook'];if(_0x2d67ac){const _0x48007f=_0x2d67ac==null?void 0x0:_0x2d67ac[_0x5dd5bf(0x2dc)],_0x36aefb=_0x35092a[_0x5dd5bf(0x1f5)](_0x23f403(_0x48007f));_0x2d67ac['originalMeta']=_0x36aefb,Object[_0x5dd5bf(0x197)](_0x2d67ac['sheets'])[_0x5dd5bf(0x34e)](([,_0x3f2c62])=>{var _0x2fb8cc=_0x5dd5bf;const _0xe691d8=_0x3f2c62[_0x2fb8cc(0x2dc)],_0x5a4a9f=_0x35092a[_0x2fb8cc(0x1f5)](_0x23f403(_0xe691d8));_0x3f2c62[_0x2fb8cc(0x2dc)]=_0x5a4a9f;});}return _0x459250;}async[_0x138943(0x355)](_0x256295,_0x4b24bb){var _0x1d86de=_0x138943;const {unitID:_0x2d5d42,type:_0x428c40,blockID:_0x2467f9}=_0x4b24bb,_0xd95531=this[_0x1d86de(0x37c)]()+'/'+_0x428c40+_0x1d86de(0x225)+_0x2d5d42+'/block/'+_0x2467f9;return(await this[_0x1d86de(0x378)][_0x1d86de(0x107)](_0xd95531))[_0x1d86de(0x35d)];}async[_0x138943(0x1cb)](_0x3163c4,_0x575448){var _0x2a2103=_0x138943;const {unitID:_0x456095,type:_0x50e11b,blockID:_0x422252}=_0x575448,_0x4d93d8=this[_0x2a2103(0x37c)]()+_0x2a2103(0x2c8)+_0x50e11b+_0x2a2103(0x225)+_0x456095+_0x2a2103(0x2c8)+_0x422252;return(await this[_0x2a2103(0x378)]['get'](_0x4d93d8))[_0x2a2103(0x35d)];}async[_0x138943(0x2d4)](_0x1413ed,_0x3da877){var _0x350cca=_0x138943;const {unitID:_0x1e8367,type:_0x339d2e,from:_0x21f140,to:_0x4b69da}=_0x3da877,_0x4113fb=this[_0x350cca(0x37c)]()+'/'+_0x339d2e+_0x350cca(0x225)+_0x1e8367+'/fetchmissing?from='+_0x21f140+'&to='+_0x4b69da;return(await this[_0x350cca(0x378)][_0x350cca(0x107)](_0x4113fb))[_0x350cca(0x35d)];}['getSnapshotAPIPath'](){var _0x5b6682=_0x138943,_0x4ea50a;return(_0x4ea50a=this[_0x5b6682(0x38b)][_0x5b6682(0xad)](ps))!=null?_0x4ea50a:this[_0x5b6682(0x37c)]();}[_0x138943(0x37c)](){var _0x3dc343=_0x138943,_0x116e37,_0x378ad6;const _0xdb6af2=this[_0x3dc343(0x38b)][_0x3dc343(0xad)](fs),_0x12a777=this[_0x3dc343(0x38b)]['getConfig'](K);return(_0x378ad6=(_0x116e37=_0x12a777==null?void 0x0:_0x12a777['snapshotServerUrl'])!=null?_0x116e37:_0xdb6af2)!=null?_0x378ad6:vs;}async['getResourcesRequest'](_0x2d5f7a,_0x4b8257){var _0x1f6d15=_0x138943;const _0x10b1a2=_0x1f6d15(0x187)+_0x4b8257[_0x1f6d15(0x372)]+'/unit/'+_0x4b8257[_0x1f6d15(0x117)]+_0x1f6d15(0x393);return(await this[_0x1f6d15(0x378)]['get'](_0x10b1a2,{'params':{'resourceId':JSON[_0x1f6d15(0xa3)](_0x4b8257[_0x1f6d15(0x20e)])}}))[_0x1f6d15(0x35d)];}[_0x138943(0x310)](){var _0x139784=_0x138943;throw new Error(_0x139784(0x335));}[_0x138943(0x2c0)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x138943(0x396)](){var _0x313a7a=_0x138943;throw new Error(_0x313a7a(0x335));}[_0x138943(0x2f9)](){var _0xb9e3b9=_0x138943;throw new Error(_0xb9e3b9(0x335));}[_0x138943(0x1a6)](){var _0x4f8fcd=_0x138943;throw new Error(_0x4f8fcd(0x335));}[_0x138943(0x1d4)](){var _0x267f3f=_0x138943;throw new Error(_0x267f3f(0x335));}};bt=or([oi(0x0,_0x12b0b8),oi(0x1,_0xf474f8(_0xb23947))],bt);var cr=Object[_0x138943(0x20f)],hr=(_0x4ca113,_0x3a54ff,_0x44404e,_0x148b24)=>{var _0x917498=_0x138943;for(var _0x2c03d4=_0x148b24>0x1?void 0x0:_0x148b24?cr(_0x3a54ff,_0x44404e):_0x3a54ff,_0x414d50=_0x4ca113[_0x917498(0x16f)]-0x1,_0x53ea59;_0x414d50>=0x0;_0x414d50--)(_0x53ea59=_0x4ca113[_0x414d50])&&(_0x2c03d4=_0x53ea59(_0x2c03d4)||_0x2c03d4);return _0x2c03d4;},we=(_0x3c797b,_0x2467df)=>(_0x58c0ce,_0xbd5068)=>_0x2467df(_0x58c0ce,_0xbd5068,_0x3c797b);let yt=class extends _0xfc214b{constructor(_0x55cd86,_0x599dd8,_0x527666,_0x1979fa,_0x546457){var _0xc78fc3=_0x138943;super(_0x55cd86,_0x599dd8,_0x527666),this[_0xc78fc3(0xdd)]=_0x1979fa,this['_logService']=_0x546457;}['transformUndoRedo'](_0x1b336c,_0xfb0b71){var _0x108a2f=_0x138943;const _0x3f7809=this[_0x108a2f(0x2e9)](_0x1b336c);if(_0x3f7809)try{const _0x4928d7=this[_0x108a2f(0x218)](_0x3f7809,_0xfb0b71);this[_0x108a2f(0x23c)](_0x1b336c,_0x4928d7);}catch(_0x9dbe19){this['_logService'][_0x108a2f(0x331)]('[CollaborationUndoRedoService]',_0x9dbe19),this[_0x108a2f(0xe7)](_0x1b336c);}const _0x50801f=this[_0x108a2f(0x317)](_0x1b336c);if(_0x50801f)try{const _0x306743=this[_0x108a2f(0x218)](_0x50801f,_0xfb0b71);this[_0x108a2f(0xb9)](_0x1b336c,_0x306743);}catch(_0x406f8f){this[_0x108a2f(0xf9)][_0x108a2f(0x331)](_0x406f8f),this[_0x108a2f(0x14c)](_0x1b336c);}}[_0x138943(0xe7)](_0x4b4ce3){var _0x3938ce=_0x138943;const _0x18a3aa=this[_0x3938ce(0x2e9)](_0x4b4ce3);_0x18a3aa&&(_0x18a3aa[_0x3938ce(0x16f)]=0x0,this[_0x3938ce(0x36a)]());}[_0x138943(0x14c)](_0x2c30ac){var _0xc01c84=_0x138943;const _0x5c7ba7=this[_0xc01c84(0x317)](_0x2c30ac);_0x5c7ba7&&(_0x5c7ba7[_0xc01c84(0x16f)]=0x0,this[_0xc01c84(0x36a)]());}[_0x138943(0x23c)](_0x4e2a2c,_0x1eb673){var _0x419d95=_0x138943;this[_0x419d95(0x220)]['set'](_0x4e2a2c,_0x1eb673),this[_0x419d95(0x36a)]();}[_0x138943(0xb9)](_0x27e21d,_0x20f66d){var _0x5492a8=_0x138943;this[_0x5492a8(0x112)]['set'](_0x27e21d,_0x20f66d),this[_0x5492a8(0x36a)]();}[_0x138943(0x218)](_0x44ce22,_0x33ea3a){var _0x545f7c=_0x138943;const _0xac5e16=[];let _0x1743b0=_0x33ea3a,_0x1c7567=_0x33ea3a;for(let _0x1bcb3d=_0x44ce22['length']-0x1;_0x1bcb3d>=0x0;_0x1bcb3d--){const {unitID:_0x1ecb4a,undoMutations:_0x452468,redoMutations:_0x250908}=_0x44ce22[_0x1bcb3d],_0x3564f6=this[_0x545f7c(0xdd)]['transformMutationsWithChangeset'](_0x1743b0,_0x452468),_0x48ed49=this[_0x545f7c(0xdd)][_0x545f7c(0x269)](_0x1c7567,_0x250908);if(_0x530eab(_0x3564f6)||_0x530eab(_0x48ed49)){this['_logService'][_0x545f7c(0x331)]('[CollaborationUndoRedoService]',_0x545f7c(0x2bf),_0x3564f6,_0x48ed49);break;}_0x1743b0=_0x3564f6[_0x545f7c(0xbf)],_0x1c7567=_0x48ed49[_0x545f7c(0xbf)],_0xac5e16[_0x545f7c(0xc4)]({'unitID':_0x1ecb4a,'undoMutations':_0x3564f6[_0x545f7c(0x2a6)],'redoMutations':_0x48ed49[_0x545f7c(0x2a6)]});}return _0xac5e16[_0x545f7c(0xca)]();}};yt=hr([we(0x0,_0x2384ff),we(0x1,_0x351ff9),we(0x2,_0xefeabd),we(0x3,_0x4dbb14),we(0x4,_0x3258ec)],yt);var _r=Object[_0x138943(0xa8)],lr=Object[_0x138943(0x20f)],ur=(_0x25d1cf,_0x1f2baa,_0x35eb20)=>_0x1f2baa in _0x25d1cf?_r(_0x25d1cf,_0x1f2baa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35eb20}):_0x25d1cf[_0x1f2baa]=_0x35eb20,dr=(_0x100563,_0x253e16,_0x3d1117,_0x4ce27a)=>{for(var _0x4f1f06=_0x4ce27a>0x1?void 0x0:_0x4ce27a?lr(_0x253e16,_0x3d1117):_0x253e16,_0x581ea7=_0x100563['length']-0x1,_0x1d9400;_0x581ea7>=0x0;_0x581ea7--)(_0x1d9400=_0x100563[_0x581ea7])&&(_0x4f1f06=_0x1d9400(_0x4f1f06)||_0x4f1f06);return _0x4f1f06;},mt=(_0x269e94,_0x36a4e6)=>(_0x4e9eb8,_0x359f99)=>_0x36a4e6(_0x4e9eb8,_0x359f99,_0x269e94),fr=(_0x288888,_0x3cce2f,_0x42db7d)=>ur(_0x288888,_0x3cce2f+'',_0x42db7d);const vr=_0x138943(0x110);let Nt=class extends _0x19ba28{constructor(_0x2bc5e9,_0x37b6a4,_0x28d50d,_0x3eb408){var _0x5e6e19=_0x138943;super(),N(this,_0x5e6e19(0x1fc)),(this[_0x5e6e19(0xf9)]=_0x37b6a4,this[_0x5e6e19(0x1ae)]=_0x28d50d,this[_0x5e6e19(0x38b)]=_0x3eb408);const {..._0x49350a}=_0x2d3406({},Ds,_0x2bc5e9);if(!_0x49350a[_0x5e6e19(0x2a0)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x49350a,this[_0x5e6e19(0x38b)][_0x5e6e19(0x189)](K,_0x49350a);}[_0x138943(0x356)](){var _0x4dcb97=_0x138943;this[_0x4dcb97(0x264)](),this[_0x4dcb97(0x145)]();}[_0x138943(0x264)](){var _0x48f2fa=_0x138943,_0x118ffe,_0x5d11f1;this[_0x48f2fa(0x1ae)][_0x48f2fa(0x2d1)](_0x45a935)&&this[_0x48f2fa(0xf9)][_0x48f2fa(0x331)](_0x48f2fa(0x267),_0x48f2fa(0x9e));const _0x39600e=_0x3b96a8([[_0x45a935,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x48f2fa(0x1fc)]['socketService']}],[_0x2e3065,{'useClass':bt}],[_0x23fa95,{'useClass':Tt}],[_0x604629,{'useClass':Rt}],[_0xef413b,{'useClass':Ot}],[nt],[It]],(_0x118ffe=this[_0x48f2fa(0x1fc)])==null?void 0x0:_0x118ffe[_0x48f2fa(0x280)]);if(!((_0x5d11f1=this[_0x48f2fa(0x1fc)])!=null&&_0x5d11f1[_0x48f2fa(0x1cf)])){const _0x2c4b0a=_0x39600e[_0x48f2fa(0x2d0)](([_0x376a77])=>_0x376a77===ht);_0x2c4b0a!==-0x1&&_0x39600e[_0x48f2fa(0x1ee)](_0x2c4b0a,0x1);}_0x5086a3(this[_0x48f2fa(0x1ae)],_0x39600e);}[_0x138943(0x145)](){var _0xa1c98=_0x138943,_0x2be34a,_0x3cd73f,_0x46a118;this[_0xa1c98(0x1ae)][_0xa1c98(0x107)](_0xb23947)[_0xa1c98(0x377)]({'priority':0x14,'interceptor':_0x216aad({'maxParallel':0x6})}),(_0x2be34a=this[_0xa1c98(0x1fc)])!=null&&_0x2be34a[_0xa1c98(0xae)]||(_0x3cd73f=this[_0xa1c98(0x1ae)]['get'](J,_0x3e3a76[_0xa1c98(0xc0)]))==null||_0x3cd73f[_0xa1c98(0x1b0)](),(_0x46a118=this[_0xa1c98(0x1fc)])!=null&&_0x46a118[_0xa1c98(0x1d7)]&&_0x31345a(this[_0xa1c98(0x1ae)],[[rt]]),_0x31345a(this[_0xa1c98(0x1ae)],[[at],[nt],[ot]]);}};fr(Nt,_0x138943(0x215),vr),Nt=dr([_0x2ba088(_0x3d9e42,_0x3351c5),mt(0x1,_0x3258ec),mt(0x2,_0xf474f8(_0x5789a2)),mt(0x3,_0x12b0b8)],Nt);export{Oi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Os as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|