@univerjs-pro/collaboration-client 0.6.10-nightly.202504171607 → 0.6.10
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 +10 -10
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x24f8(){var _0x4fc8f8=['_roomMembers','?url=','_resendTimer','SNAPSHOT_HAS_BEEN_REMOVED','INGEST','_collaborationUIEventService','SNAPSHOT_INVALID_SNAPSHOT','submit\x20changeset\x20error!','univer-pro.collaboration-client-socket-service','getUnitOnRev','updateCursorEvent','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_transformSelections','UNIVER_SHEET','APPLY_REVISION_CONFILICT','_shouldReportTelemetry','_tryEnsureSocket','join','send','getTime','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_onFetchMissResult','min','PSEUDO_FETCH_MISSING_RESULT','clamp','_substituteUndoStack','YUUMI_UNABLE_LOAD_URL','_httpService','UnitEmbedded','UNIVER_UNKNOWN','_updateState','_networkConditionService','YUUMI_NO_CUBOID_FOR_QUESTION','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','set','_emitMembers','YUUMI_SUBSCRIPTION_NOT_FOUND','sigBytes','unpad','Encryptor','padding','_DEC_XFORM_MODE','1769454qrZluo','_waitForHeartbeatResponse','collaboration-client.local-cache-service','SHOULD_CLOSE_CONN','_redoStacks','duration','_executeRemoteChangeset','COLLAB_SUBMIT_CHANGESET_URL','collaboration-client.config','_doCryptBlock','cmd','HMAC','POST','msCrypto','initWorkbookPermissionChange','[CollaborationSessionService]:\x20socket\x20error','_scheduleCompleteTimestamp','format','SUBMIT_CHANGESET','/object/','splice','_singleActiveUnitService','_throwTelemetryCollaborationNewChangeset','saveChangeset','conflict','addImageSourceCache','_onUserLeave','Base64','onStarting','_key','createInstance','__Key__','commentUpdateEvent','setCurrentUser','userID','onMissedChangesetFetched','_getLoginPath','loginUrlKey','transformMutationsWithChangeset','_transformService','CONFLICT','updatePermissionObjEvent','_transformStateCache','_getUndoStack','infoRsp','authzUrl','unitInfo$','unitId','_resendWithTimeout','max','NEW_CHANGESETS','unknown','_getCtorByUniverType','BASE64','LICENSE_DISTRO_REJECTED','__creator','/universer-api/stream/file/upload','_socket$','name','_initUnitPermissionChange','UnitSnapshot','type','\x20to\x20','charCodeAt','onStateChange','stringify','objectID','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_status$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','create','updateMember','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','collaboratorID','_nRounds','RECV','string','replace','bind','action','snapshot','auth.needGotoLoginAlert','params','_entities','collaboration_new_changeset','delete','_iKey','_checkMissing','append','kdf','change$','_xformMode','apply','filter','_joinRoom','default','_keySchedule','error','_clearCollaborationTimeoutTimer','_onRecvEvent','_candidateSocket','OPTIONAL','PERMISSION_REJ','onSyncEditingCollabCursor','_roomCreated$','textRanges','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','copyFileMeta','_acknowledgedAwaitingChangeset','$super','_configService','univer-pro.collaboration-client.network-condition.service','forEach','HmacMD5','Could\x20not\x20dynamically\x20require\x20\x22','NoPadding','keySize','fetchMissingChangesets','collabWebSocketUrl','symbol','_getCurrentRevision','onRemoteAck','_process','UNAUTHENTICATED','baseRev','\x0aCurrent:\x20','_append','_doFinalize','_updateStatus','Pkcs7','_eventService','deleteCollaborator','onTransformRemoteChangesetByIMECache','1287FVWMWA','WECHAT_HAS_BEEN_BOUND','onload','words','c2Prime','prototype','_onJoinRoomEvent','init','_createSocket','href','INVALID_ARGUMENT','APPLY_NON_SEQUENTIAL_REVISION','_changesetSessionId','byteLength','UNDEFINED','_compressMutationService','_hasher','csShouldRetryEvent','_sender','_telemetryService','_stopTelemetryCollaborationNewChangeset','_socketReady','EXCHANGE_SIGN_URL_SERVER_URL_KEY','transformSelections','_event$','signUrlServerUrl','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','allowed','_initCloseConn','fetch_missing','&source=','_ENC_XFORM_MODE','decryptBlock','_socket','getImage','onTransformRemoteChangesetByStateCache','post','loadUnit','getSnapshotAPIPath','_transformRemoteChangesetByStateCache','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','commentUpdate$','push','_toggleOnline','getResourcesRequest','body','_clearLocalCache','/fetchmissing?from=','_applyRemoteChangeset','FileId','compute','range','HELLO','CipherParams','&to=','_syncEditingCollabCursor','getConfig','getMemberID','downloadEndpointUrl','liveShareNewHost','m2Prime','_localCacheService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','from','_collaborationSessionService','_createHmacHelper','readInt32LE','_iv','map','createSocket','_snapshotService','_clearTimeoutTimer','_rescheduleHeartbeat','socket\x20close','complete','pipe','_toggleOffline','cfg','_init','JOIN','COMMENT_UPDATE','_doProcessBlock','_onConflict','randomUUID','deepClone','image/bmp','objectType','_pendingMutations','FETCH_MISSING','ivSize','_entityInit$','PERMISSION_DENIED','toString','UPDATE_PERMISSION_OBJ','reconnect','/universer-api/snapshot','JOIN_ROOM_PERMISSION_DENIED','_onLocalMutation','132745WGVlWi','_members$','mode','_sendHeartbeatTimer','USER_NOT_INVITED_CODE','asObservable','OFFLINE','ceil','COMPRESS_MUTATION_APPLY','loadDoc','CHANGESET_ACK','crypto','ERROR_IMAGE','_doReset','_logService','CBC','LIVESHARE_OPERATION','getDeserializedSheetBlock','closeSession','enc','listRoles','sheets','onRemoteChangeset','_getRedoStack','getCollabEntity','shouldCloseConn','fetching\x20missing\x20changesets\x20from\x20','readAsDataURL','_mode','USERS_LEAVE','_isPermissionRej','sid','clone','_loadSheet','x-univer-host','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','image/png','TOO_MANY_REQUESTS','session.room-not-exists','awaitingChangeset','add','HttpImport','_transformIMECache','updatePermissionPoint','UNIVER_PROJECT','fetchMiss','uniscriptRunEvent','CONNECTOR_DATA_TOO_LARGE','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','refreshPermission','UNIVER_SLIDE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','status','getRoom','_getDownloadEndpointURL','SNAPSHOT_URL_KEY','_handlerCallback','parse','_clearUndo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','enableAuthServer','_onRemoteChangeset','unit-cache-','_getAPIPrefix','_getSendChangesetTimeout','socket\x20open.','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','ws://127.0.0.1:8000/universer-api/comb/connect','/allowed','_removeRoom','roomInfos','floor','extend','resend','_listenToNetworkCondition','entityInit$','3083810VUMBDJ','getValue','values','Cipher','SOCKET_FAILED_RETRY','collaborators','SOCKET_FAILED','requestParams','unitID','/block/','_permissionService','_sessions','save\x20fail\x20reason\x20is\x20','method','put','clear','1834PxEKoM','UNKNOWN_CODE','createCollaborator','HEARTBEAT','_awaitingChangeset','ERROR_IMAGE_TYPE','leaveEvent','_createInitialStateImpl','/universer-api/authz','_memberService','_initDependencies','_replaceFileID','BufferedBlockAlgorithm','Error\x20on\x20receiving\x20event','HttpExport','SYNCED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','changesets','_onRemoteRejected','selections','getSheetBlock','newCsEvent','/collaborator','_socketService','_updateLocalCache','_state$','BlockCipherMode','HmacSHA1','Failed\x20to\x20update\x20permission\x20point','registerHTTPInterceptor','[CollaborationSessionService]','status$','sessionStatus$','fromCharCode','encodeURIComponent','_map','_unitInfo$','_commentService','UserProfileImg','COMPRESS_MUTATION_SEND','/unit/','slice','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','equals','_minBufferSize','_transformUndoredo','SUBMIT_CHANGESET_TIMEOUT','JOINING','message$','readyForCollab','close','GLOBAL_ROOMS_CNT_EXCEEDS','_prevBlock','result','editing\x20status\x20changed\x20to','key','_hash','c1Prime','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_startTelemetryCollaborationNewChangeset','_sheetTransformSelectionsService','getInterceptPoints','workbook','debug','saveSheetBlock','onSendChangeset','INVITE_CODE_ALREADY_BOUND','updateCollaborator','state$','finalize','subscribe','UNKNOWN_CMD','stopTime','[FetchMissState]','memberID','algo','BlockCipher','getUnitStatus$','collaMsg','state','_queuedRemoteChangesets','hasOwnProperty','LIVESHARE_REQUEST_HOST','close$','UUID','reset','onTransformState','saveImage','getMember','joinEvent','5528288UmqNnt','_commandService','_onOffline','_members','_invKeySchedule','generateRandomId','getTypeOfUnitDisposed$','joinRsp','_sendingTimer','MUTATION','_revisionService','then','INTERNAL_ERROR','APPLY_PERMISSION_DENIED','getCurrentRevOfUnit','[OfflineState]:\x20received\x20acknowledgement.','data','_collabSessionService','getWorkbookSelections','NOT_FOUND','PENDING','_type','_state','SHA1','OTHER_CLIENT_EDITING','/universer-api/file/{fileID}/sign-url','sin','waitForRoom$','getOwnPropertyDescriptor','exports','indexOf','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_tryReconnect','RETRY_CONNECTING_MAX_COUNT','getFocusedUnit','mutations','error$','isArray','getLatestCsReqIdBySid','&assign=','/object','open$','objectActions','\x0aAfter:\x20','repeat','_clearHeartbeatTimer','resolve','pauseCollaboration','saveSnapshot','YUUMI_ASYNCIO_CANCELLED','People','event$','reverse','\x20in\x20_schedule.','permissionRejEvent','session','_createHelper','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','LIVESHARE_FETCH_OPERATIONS','_initRequestHeader','concat','{fileID}','getRandomValues','isPermissionRej','getCurrentSelections','_sessionStatus$','find','INVALID_INVITE_CODE','disposeWithMe','LIVESHARE_TERMINATE','decrypt','UNISCRIPT_RUN','_onCombEvent','_getAPIPrefixPath','every','actions','emitEvent','_getSignURL','UNRECOGNIZED','has','/universer-api/oidc/authpage','_changesetReqId','startTime','_unlockTransition','loadSheet','_onRemoteACK','onCommandExecuted','url','next','_scheduleCollaborationTimeoutTimer','image/gif','_onConnectionFailed','interceptor','hasher','LOGIN_URL_KEY','_config','failed\x20to\x20apply\x20missed\x20changesets!','MOBILE_HAS_BEEN_BOUND','[PendingState]:\x20unhandled\x20univer\x20type:\x20','offline','subject','_change$','EMAIL_HAS_BEEN_BOUND','ALREADY_EXISTS','AES','routeKey','YUUMI_RATE_OVER_LIMIT','_incrementRevisionNumber','_waitCount','MD5','PY_RUNTIME_SCRIPT_ERROR','?size=','_handler','ciphertext','_substituteRedoStack','onCommentUpdate','_replayCachedMutations','update','_onConnectionOpen','connection\x20error','UNIVER_DOC','members$','originalMeta','/universer-api/user/session-ticket','pad','onTransformSelections','capture','editingUnit','requireSession','charAt','HEARTBEAT_INTERVAL','CHANGESET_SHOULD_RETRY','LOCAL_CACHE_INTERVAL','listCollaborators','EvpKDF','localeService','lib','location','CHANGESET_REJ','_disableEditing','_undoRedoService','_undoStacks','_keyPriorReset','createEncryptor','mixIn','_getUploadFileURL','OpenSSL','_transitionLocked','JOIN_ROOM_FULL','_transformRemoteChangesetByIMECache','IDLE','salt','Undefined','eventID','reqId','_loadDoc','/new_changes','toggleOffline','1309cMAqLj','_startCollaboration','getUnit','_socketMessageSubscription','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','getCurrentUser','[DataLoaderService]','[CollaborationUndoRedoService]','executeCommand','AUTHZ_URL_KEY','_createHandler','INVITE_CODE_REQUIRED','onMissingChangesets','FAIL','reduce','synced','_collaborationPaused','removeMember','members','_nDataBytes','MSG_FOR_ERROR','LICENSE_EXPORT_SIZE_EXCEEDED','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_decreaseWaiting','_retryCount','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','blockSize','rev','Malformed\x20UTF-8\x20data','YUUMI_URL_COL_OUT_OF_RANGE','fetchThroughInterceptors','_timeoutTimer','putCollaborators','_clearRedo','setWaitCount','[UniverCollaborationClientPlugin]','random','_telemetryInfo','addHandlerCallback','localCacheService','catch','_initMergeInterceptor','code','withCredentials','_lockTransition','transformStack\x20failed!','csAckEvent','unsubscribe','title','_onUserJoin','onlyLocal','/universer-api/snapshot/','PasswordBasedCipher','setShowComponents','JOIN_ROOM_FAILED','_univerInstanceService','function','dispose$','toLowerCase','_transformStack','uploadFileServerUrl','headers','batchAllowed','_data','_showConflictNotification','getUnitId','getActiveSheet','_userManagerService','override','LOGIN_FAILED','liveShareOperation','execute','objects','reject','Hasher','includes','Utf8','_instanceService','encrypt','collabSubmitChangesetUrl','_clearScheduledTask','PERSON','DEFAULT_FILE_NAME','[SyncedState]:\x20received\x20acknowledgement.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','abs','call','sessionStatus','_cipher','_injector','target','loadOfflineData','ONLINE','605919mDqxpY','revision','encode','_clearRetryConnectingTimer','_createInitialState','SNAPSHOT_SERVER_URL_KEY','_remoteChangesetQueue','_unitID','_schedule','_doCreateSocket','[CollaborationSession]','_exhaustRemoteChangesetQueue','ERROR_EXCEED_SIZE','534mnIZvu','APPLY_DUPLICATED','src','CLOSE_ROOM','enableOfflineEditing','UPDATE_CURSOR','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','HEARTBEAT_TIMEOUT','FETCH_MISS','_fetchMissChangesets','LICENSE_IMPORT_SIZE_EXCEEDED','onRemoteRej','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_HTTPService','transformChangesets','_localeService','_snapshotServerService','getCollabEntity$','WordArray','JOIN_ROOM_NOT_EXISTS','awaiting','OTHER_CLIENTS_EDITING','length','origin','_collaborationTimeoutTimer','/-/object/-/batch_allowed','size','/role','_reverseMap','Decryptor','[OfflineState]:\x20received\x20rejection.','pluginName','buffer','createDecryptor','toggleOnline','USERS_ENTER','_commentUpdate$','entries','LIVESHARE_NEW_HOST','/rev/','updateOfflineData','onRemoteRetry','Base','getTypeOfUnitAdded$','_imageSourceCache','_resendTimeout','APPLY_REJECT','_parse','4HeFOoo','appendMutation','[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.','image/jpeg','fromCollab','_retryConnectingTimer','now','defineProperty','list','LEAVE','dispose','get'];_0x24f8=function(){return _0x4fc8f8;};return _0x24f8();}var _0x4c3b0f=_0x5e8e;(function(_0x5d8928,_0x20803e){var _0x59a29d=_0x5e8e,_0x4014bb=_0x5d8928();while(!![]){try{var _0x1ca62d=parseInt(_0x59a29d(0x3e3))/0x1+-parseInt(_0x59a29d(0x28d))/0x2*(parseInt(_0x59a29d(0x1cf))/0x3)+-parseInt(_0x59a29d(0x420))/0x4*(parseInt(_0x59a29d(0x231))/0x5)+-parseInt(_0x59a29d(0x3f0))/0x6*(parseInt(_0x59a29d(0x386))/0x7)+parseInt(_0x59a29d(0x2e8))/0x8+-parseInt(_0x59a29d(0x456))/0x9+-parseInt(_0x59a29d(0x27d))/0xa;if(_0x1ca62d===_0x20803e)break;else _0x4014bb['push'](_0x4014bb['shift']());}catch(_0x402f59){_0x4014bb['push'](_0x4014bb['shift']());}}}(_0x24f8,0x56c37));var wi=Object['defineProperty'],Pi=(_0x40cf86,_0x547a6f,_0x274560)=>_0x547a6f in _0x40cf86?wi(_0x40cf86,_0x547a6f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x274560}):_0x40cf86[_0x547a6f]=_0x274560,N=(_0x4d4c5f,_0x24d25a,_0x47d380)=>Pi(_0x4d4c5f,typeof _0x24d25a!=_0x4c3b0f(0x1c1)?_0x24d25a+'':_0x24d25a,_0x47d380);import{createIdentifier as _0x5e3706,Inject as _0xd5eff8,Injector as _0x3fbbf1,IConfigService as _0x5d9548,ILogService as _0x269a14,Disposable as _0x9b0e7e,DisposableCollection as _0x13acb,toDisposable as _0x5d0773,IUniverInstanceService as _0x5f561f,UserManagerService as _0x486e20,UniverInstanceType as _0xd6e5c6,LocaleService as _0xf39570,Optional as _0x55e026,RxDisposable as _0x4391cf,Tools as _0x5260ce,Rectangle as _0x59a95c,ICommandService as _0x118563,JSONX as _0x36781e,CommandType as _0x6cf444,IUndoRedoService as _0x5056c7,IPermissionService as _0x1c0607,sequenceExecute as _0xccdc7e,Workbook as _0xa0de50,MentionType as _0x5769b6,isInternalEditorID as _0x5ad9e7,LocalUndoRedoService as _0x3a61bd,IContextService as _0x1b64b4,DependentOn as _0xb60319,Plugin as _0x157ebd,merge as _0x4d73f8,mergeOverrideWithDependencies as _0x387525,IAuthzIoService as _0x278ef7,IMentionIOService as _0x5a837a,registerDependencies as _0x2ef21f,Quantity as _0x415dad,touchDependencies as _0x589c37}from'@univerjs/core';import{Subject as _0x20a9ed,merge as _0x2f3e61,of as _0x5d144d,BehaviorSubject as _0x476957,takeUntil as _0x4b5a2e,ReplaySubject as _0x2c6d5d,take as _0x3b4e6b,map as _0x1368ff,shareReplay as _0x4daca0,firstValueFrom as _0x122ac1,concatMap as _0x5f271a}from'rxjs';import{map as _0x5c62b3,take as _0x5253bb,filter as _0x3ffd34,delay as _0x10c5cc,takeUntil as _0x5b8db9}from'rxjs/operators';import{CollaborationEvent as _0x420cf9,ISnapshotServerService as _0x4d9a76,parseChangesetToProtocol as _0x13948b,ITransformService as _0x599fa8,isTransformMutationsWithChangesetSuccess as _0x46e709,mapDocumentTypeToUniverType as _0x48ce8c,RevisionService as _0x564b28,isTransformChangesetsSuccess as _0x5c0883,CompressMutationService as _0x703fa5,parseProtocolChangeset as _0x3d214b,SnapshotService as _0x267df8,textEncoder as _0x5130df,b64DecodeUnicode as _0xaa15d3,isTransformMutationsWithChangesetFailure as _0x249585,UniverCollaborationPlugin as _0x2ac2d5}from'@univerjs-pro/collaboration';import{HTTPService as _0x279f52,ISocketService as _0x2d0799,MergeInterceptorFactory as _0x332f59,HTTPRequest as _0x2f0811,UniverNetworkPlugin as _0x357088,ThresholdInterceptorFactory as _0x257ea9}from'@univerjs/network';import{ITelemetryService as _0x31676f}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x272a4f}from'@univerjs/docs';import{SheetsSelectionsService as _0x125a16,SetSelectionsOperation as _0x3dc525,InsertSheetMutation as _0x14e87b,EmptyMutation as _0x49e3c7,WorkbookEditablePermission as _0x875595,SheetPermissionInitController as _0x38ba90}from'@univerjs/sheets';import{ImageSourceType as _0x3cc512,ImageUploadStatusType as _0x1b8322,IImageIoService as _0x2eaf0f}from'@univerjs/drawing';import{getGlobalObject as _0x28c20a}from'@univerjs-pro/license';const mn=_0x4c3b0f(0x3e8),gn=_0x4c3b0f(0x22e),Sn=_0x4c3b0f(0x268),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In='COLLAB_WEB_SOCKET_URL',Tn=_0x4c3b0f(0x274),xr=_0x4c3b0f(0x363),Cn=_0x4c3b0f(0x36a),Rn=0x7530,mi=_0x4c3b0f(0x3f7),gi=0x4e20,bn=0x4e20,On=_0x4c3b0f(0x309),yn=0x3,Mr=_0x4c3b0f(0x36c),kr=0x3e8,Nn=_0x4c3b0f(0x45d),Dn='/universer-api/comb',Un=_0x4c3b0f(0x346),An=_0x4c3b0f(0x338),$r=_0x4c3b0f(0x3fc),Hr='/universer-api/uniscript';var Si=(_0x3745a4=>(_0x3745a4[_0x3745a4[_0x4c3b0f(0x1dd)]=0x0]=_0x4c3b0f(0x1dd),_0x3745a4[_0x3745a4['OK']=0x1]='OK',_0x3745a4[_0x3745a4[_0x4c3b0f(0x2f4)]=0x2]='INTERNAL_ERROR',_0x3745a4[_0x3745a4[_0x4c3b0f(0x22a)]=0x3]=_0x4c3b0f(0x22a),_0x3745a4[_0x3745a4['NOT_FOUND']=0x4]=_0x4c3b0f(0x2fb),_0x3745a4[_0x3745a4[_0x4c3b0f(0x1c5)]=0x5]='UNAUTHENTICATED',_0x3745a4[_0x3745a4[_0x4c3b0f(0x34f)]=0x6]='ALREADY_EXISTS',_0x3745a4[_0x3745a4[_0x4c3b0f(0x1d9)]=0x7]='INVALID_ARGUMENT',_0x3745a4[_0x3745a4[_0x4c3b0f(0x256)]=0x8]='TOO_MANY_REQUESTS',_0x3745a4[_0x3745a4['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x3745a4[_0x3745a4[_0x4c3b0f(0x3cb)]=0xa]=_0x4c3b0f(0x3cb),_0x3745a4[_0x3745a4['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3745a4[_0x3745a4['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4c3b0f(0x432),_0x3745a4[_0x3745a4[_0x4c3b0f(0x42f)]=0x1772]=_0x4c3b0f(0x42f),_0x3745a4[_0x3745a4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3745a4[_0x3745a4[_0x4c3b0f(0x41e)]=0x1b59]=_0x4c3b0f(0x41e),_0x3745a4[_0x3745a4['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4c3b0f(0x1da),_0x3745a4[_0x3745a4[_0x4c3b0f(0x43a)]=0x1b5b]=_0x4c3b0f(0x43a),_0x3745a4[_0x3745a4[_0x4c3b0f(0x2f5)]=0x1b5c]=_0x4c3b0f(0x2f5),_0x3745a4[_0x3745a4[_0x4c3b0f(0x3f1)]=0x1b5d]='APPLY_DUPLICATED',_0x3745a4[_0x3745a4[_0x4c3b0f(0x260)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3745a4[_0x3745a4['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3745a4[_0x3745a4['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4c3b0f(0x26c),_0x3745a4[_0x3745a4['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4c3b0f(0x3fa),_0x3745a4[_0x3745a4[_0x4c3b0f(0x39b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3745a4[_0x3745a4[_0x4c3b0f(0x48c)]=0x232d]=_0x4c3b0f(0x48c),_0x3745a4[_0x3745a4[_0x4c3b0f(0x446)]=0x2711]=_0x4c3b0f(0x446),_0x3745a4[_0x3745a4[_0x4c3b0f(0x3a3)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3745a4[_0x3745a4[_0x4c3b0f(0x352)]=0x2713]=_0x4c3b0f(0x352),_0x3745a4[_0x3745a4[_0x4c3b0f(0x450)]=0x2714]=_0x4c3b0f(0x450),_0x3745a4[_0x3745a4[_0x4c3b0f(0x44c)]=0x271a]=_0x4c3b0f(0x44c),_0x3745a4[_0x3745a4[_0x4c3b0f(0x319)]=0x271b]=_0x4c3b0f(0x319),_0x3745a4[_0x3745a4['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4c3b0f(0x356),_0x3745a4[_0x3745a4['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3745a4[_0x3745a4[_0x4c3b0f(0x32b)]=0x2ee2]=_0x4c3b0f(0x32b),_0x3745a4[_0x3745a4[_0x4c3b0f(0x391)]=0x2ee3]=_0x4c3b0f(0x391),_0x3745a4[_0x3745a4[_0x4c3b0f(0x235)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3745a4[_0x3745a4[_0x4c3b0f(0x2d0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3745a4[_0x3745a4[_0x4c3b0f(0x1d0)]=0x32c9]=_0x4c3b0f(0x1d0),_0x3745a4[_0x3745a4[_0x4c3b0f(0x349)]=0x32ca]=_0x4c3b0f(0x349),_0x3745a4[_0x3745a4[_0x4c3b0f(0x34e)]=0x32cb]=_0x4c3b0f(0x34e),_0x3745a4[_0x3745a4[_0x4c3b0f(0x336)]=-0x1]='UNRECOGNIZED',_0x3745a4))(Si||{}),Q=(_0x5abb6f=>(_0x5abb6f[_0x5abb6f['UNIVER_UNKNOWN']=0x0]=_0x4c3b0f(0x449),_0x5abb6f[_0x5abb6f[_0x4c3b0f(0x360)]=0x1]='UNIVER_DOC',_0x5abb6f[_0x5abb6f[_0x4c3b0f(0x439)]=0x2]=_0x4c3b0f(0x439),_0x5abb6f[_0x5abb6f[_0x4c3b0f(0x263)]=0x3]='UNIVER_SLIDE',_0x5abb6f[_0x5abb6f[_0x4c3b0f(0x25d)]=0x4]='UNIVER_PROJECT',_0x5abb6f[_0x5abb6f[_0x4c3b0f(0x336)]=-0x1]=_0x4c3b0f(0x336),_0x5abb6f))(Q||{}),F=(_0x313eef=>(_0x313eef[_0x313eef[_0x4c3b0f(0x2d5)]=0x0]=_0x4c3b0f(0x2d5),_0x313eef[_0x313eef[_0x4c3b0f(0x203)]=0x1]='HELLO',_0x313eef[_0x313eef[_0x4c3b0f(0x21e)]=0x2]=_0x4c3b0f(0x21e),_0x313eef[_0x313eef[_0x4c3b0f(0x429)]=0x3]=_0x4c3b0f(0x429),_0x313eef[_0x313eef[_0x4c3b0f(0x430)]=0x4]=_0x4c3b0f(0x430),_0x313eef[_0x313eef[_0x4c3b0f(0x290)]=0x5]=_0x4c3b0f(0x290),_0x313eef[_0x313eef['RECV']=0x6]=_0x4c3b0f(0x195),_0x313eef[_0x313eef[_0x4c3b0f(0x336)]=-0x1]='UNRECOGNIZED',_0x313eef))(F||{}),ge=(_0x3d3124=>(_0x3d3124[_0x3d3124[_0x4c3b0f(0x28e)]=0x0]=_0x4c3b0f(0x28e),_0x3d3124[_0x3d3124['OK']=0x1]='OK',_0x3d3124[_0x3d3124[_0x4c3b0f(0x393)]=0x2]=_0x4c3b0f(0x393),_0x3d3124[_0x3d3124[_0x4c3b0f(0x37c)]=0x3e9]=_0x4c3b0f(0x37c),_0x3d3124[_0x3d3124[_0x4c3b0f(0x403)]=0x3ea]=_0x4c3b0f(0x403),_0x3d3124[_0x3d3124[_0x4c3b0f(0x22f)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x3d3124[_0x3d3124[_0x4c3b0f(0x2c0)]=0x3ec]=_0x4c3b0f(0x2c0),_0x3d3124[_0x3d3124[_0x4c3b0f(0x336)]=-0x1]=_0x4c3b0f(0x336),_0x3d3124))(ge||{}),Ei=(_0x4a4180=>(_0x4a4180[_0x4a4180[_0x4c3b0f(0x380)]=0x0]=_0x4c3b0f(0x380),_0x4a4180[_0x4a4180[_0x4c3b0f(0x25a)]=0x1]=_0x4c3b0f(0x25a),_0x4a4180[_0x4a4180[_0x4c3b0f(0x29b)]=0x2]=_0x4c3b0f(0x29b),_0x4a4180[_0x4a4180[_0x4c3b0f(0x448)]=0x3]='UnitEmbedded',_0x4a4180[_0x4a4180[_0x4c3b0f(0x492)]=0x4]=_0x4c3b0f(0x492),_0x4a4180[_0x4a4180[_0x4c3b0f(0x2b3)]=0x5]=_0x4c3b0f(0x2b3),_0x4a4180[_0x4a4180[_0x4c3b0f(0x336)]=-0x1]=_0x4c3b0f(0x336),_0x4a4180))(Ei||{});const q=_0x4c3b0f(0x45e),wn={};var re=(_0x281628=>(_0x281628[_0x4c3b0f(0x300)]=_0x4c3b0f(0x300),_0x281628[_0x4c3b0f(0x22a)]=_0x4c3b0f(0x22a),_0x281628[_0x4c3b0f(0x47e)]=_0x4c3b0f(0x47e),_0x281628[_0x4c3b0f(0x3f3)]='CLOSE_ROOM',_0x281628['JOIN_ROOM_FAILED']=_0x4c3b0f(0x3bc),_0x281628[_0x4c3b0f(0x281)]=_0x4c3b0f(0x281),_0x281628[_0x4c3b0f(0x283)]=_0x4c3b0f(0x283),_0x281628['SUBMIT_CHANGESET_TIMEOUT']=_0x4c3b0f(0x2bb),_0x281628))(re||{});class pe{constructor(){var _0x1859d7=_0x4c3b0f;N(this,_0x1859d7(0x1e7),new _0x20a9ed()),N(this,'event$',this[_0x1859d7(0x1e7)][_0x1859d7(0x236)]());}[_0x4c3b0f(0x334)](_0x4f0965){var _0x43ec68=_0x4c3b0f;this[_0x43ec68(0x1e7)][_0x43ec68(0x340)](_0x4f0965);}}const Pn=_0x5e3706(_0x4c3b0f(0x1b9));function Ln(_0x46c35c){var _0x467214=_0x4c3b0f,_0x46dc58,_0x1e724c,_0x21e597,_0x41e366,_0x1b2d02;const _0x5b4b5f=_0x46c35c['data'],_0x598e04=JSON[_0x467214(0x26a)](_0x5b4b5f);switch(_0x598e04[_0x467214(0x460)]){case F['HEARTBEAT']:case F[_0x467214(0x203)]:{const _0x194b8a=_0x598e04[_0x467214(0x482)];return{..._0x598e04,'data':_0x194b8a,'cmd':_0x598e04[_0x467214(0x460)]};}case F[_0x467214(0x21e)]:{const _0x29c8cc=_0x598e04[_0x467214(0x2ef)];return{..._0x598e04,'data':_0x29c8cc,'cmd':_0x598e04[_0x467214(0x460)]};}case F[_0x467214(0x195)]:{const _0x5154e8=_0x598e04[_0x467214(0x2dc)];switch(_0x5154e8[_0x467214(0x381)]){case _0x420cf9[_0x467214(0x1b0)]:return{..._0x598e04,'data':{..._0x5154e8,'data':(_0x46dc58=_0x5154e8[_0x467214(0x31e)])==null?void 0x0:_0x46dc58['cs']},'cmd':_0x598e04['cmd']};case _0x420cf9[_0x467214(0x23b)]:return{..._0x598e04,'data':{..._0x5154e8,'data':(_0x1e724c=_0x5154e8[_0x467214(0x3b4)])==null?void 0x0:_0x1e724c['cs']},'cmd':_0x598e04['cmd']};case _0x420cf9[_0x467214(0x488)]:return{..._0x598e04,'data':{..._0x5154e8,'data':(_0x21e597=_0x5154e8[_0x467214(0x2a2)])==null?void 0x0:_0x21e597['cs']},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9['CHANGESET_REJ']:return{..._0x598e04,'data':{..._0x5154e8,'data':(_0x41e366=_0x5154e8['csRejEvent'])==null?void 0x0:_0x41e366['cs']},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x36b)]:return{..._0x598e04,'data':{..._0x5154e8,'data':(_0x1b2d02=_0x5154e8[_0x467214(0x1e0)])==null?void 0x0:_0x1b2d02['cs']},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x3f5)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x436)]},'cmd':_0x598e04['cmd']};case _0x420cf9[_0x467214(0x413)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x2e7)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x24e)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x293)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9['LIVESHARE_NEW_HOST']:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x20a)]},'cmd':_0x598e04['cmd']};case _0x420cf9[_0x467214(0x322)]:case _0x420cf9[_0x467214(0x241)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x3cc)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x32d)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x20a)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x39a)]:return{..._0x598e04,'data':_0x5154e8,'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9['COMMENT_UPDATE']:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x476)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x22c)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x47f)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x459)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x24a)]},'cmd':_0x598e04[_0x467214(0x460)]};case _0x420cf9[_0x467214(0x32f)]:return{..._0x598e04,'data':{..._0x5154e8,'data':_0x5154e8[_0x467214(0x25f)]},'cmd':_0x598e04[_0x467214(0x460)]};default:return _0x598e04;}}default:return _0x598e04;}}function xn(_0x56fd77){var _0x186e1e=_0x4c3b0f;switch(_0x56fd77[_0x186e1e(0x460)]){case F[_0x186e1e(0x290)]:case F[_0x186e1e(0x203)]:return JSON[_0x186e1e(0x497)]({'cmd':_0x56fd77[_0x186e1e(0x460)],'routeKey':_0x56fd77[_0x186e1e(0x351)]});case F[_0x186e1e(0x430)]:{let _0x2a9861;switch(_0x56fd77['data'][_0x186e1e(0x381)]){case _0x420cf9['UPDATE_CURSOR']:{_0x2a9861={'eventID':_0x420cf9[_0x186e1e(0x3f5)],'updateCursorEvent':_0x56fd77[_0x186e1e(0x2f8)][_0x186e1e(0x2f8)]};break;}case _0x420cf9[_0x186e1e(0x24e)]:{_0x2a9861={'eventID':_0x420cf9[_0x186e1e(0x24e)],'leaveEvent':_0x56fd77[_0x186e1e(0x2f8)][_0x186e1e(0x2f8)]};break;}case _0x420cf9['USERS_ENTER']:{_0x2a9861={'eventID':_0x420cf9[_0x186e1e(0x413)],'joinEvent':_0x56fd77[_0x186e1e(0x2f8)][_0x186e1e(0x2f8)]};break;}case _0x420cf9['LIVESHARE_NEW_HOST']:{_0x2a9861={'eventID':_0x420cf9[_0x186e1e(0x416)],'liveShareNewHost':_0x56fd77[_0x186e1e(0x2f8)]['data']};break;}case _0x420cf9[_0x186e1e(0x241)]:{_0x2a9861={'eventID':_0x420cf9[_0x186e1e(0x241)],'liveShareOperation':_0x56fd77[_0x186e1e(0x2f8)][_0x186e1e(0x2f8)]};break;}case _0x420cf9[_0x186e1e(0x32d)]:{_0x2a9861={'eventID':_0x420cf9['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x56fd77[_0x186e1e(0x2f8)]['data']};break;}case _0x420cf9[_0x186e1e(0x2e0)]:{_0x2a9861={'eventID':_0x420cf9['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x56fd77['data']['data']};break;}case _0x420cf9[_0x186e1e(0x322)]:{_0x2a9861={'eventID':_0x420cf9[_0x186e1e(0x322)]};break;}default:_0x2a9861={'eventID':_0x56fd77[_0x186e1e(0x2f8)][_0x186e1e(0x381)]};}return JSON[_0x186e1e(0x497)]({'cmd':_0x56fd77['cmd'],'routeKey':_0x56fd77[_0x186e1e(0x351)],'collaMsg':_0x2a9861});}case F[_0x186e1e(0x21e)]:return JSON[_0x186e1e(0x497)]({'cmd':_0x56fd77['cmd'],'routeKey':_0x56fd77[_0x186e1e(0x351)],'joinReq':_0x56fd77[_0x186e1e(0x2f8)]});case F[_0x186e1e(0x429)]:return JSON['stringify']({'cmd':_0x56fd77[_0x186e1e(0x460)],'routeKey':_0x56fd77[_0x186e1e(0x351)],'leaveReq':_0x56fd77['data']});default:throw new Error(_0x186e1e(0x307));}}var Mn=Object[_0x4c3b0f(0x304)],kn=(_0x41e05b,_0x33f2b1,_0x4f79e9,_0x4e74c7)=>{var _0x4d91cf=_0x4c3b0f;for(var _0x1b21ea=_0x4e74c7>0x1?void 0x0:_0x4e74c7?Mn(_0x33f2b1,_0x4f79e9):_0x33f2b1,_0x11ae0f=_0x41e05b[_0x4d91cf(0x406)]-0x1,_0x1e751a;_0x11ae0f>=0x0;_0x11ae0f--)(_0x1e751a=_0x41e05b[_0x11ae0f])&&(_0x1b21ea=_0x1e751a(_0x1b21ea)||_0x1b21ea);return _0x1b21ea;},Ae=(_0x287dfd,_0xf5426f)=>(_0xfa7f83,_0x43bd3a)=>_0xf5426f(_0xfa7f83,_0x43bd3a,_0x287dfd);const Ii=_0x5e3706(_0x4c3b0f(0x434));function $n(_0x42df91,_0x24e7fe,_0x13b650){var _0x560677=_0x4c3b0f;return _0x42df91+'/'+_0x24e7fe+_0x560677(0x2b5)+_0x13b650+_0x560677(0x384);}let Gt=class extends _0x9b0e7e{constructor(_0x5d1871,_0x49ff66,_0x27c970,_0x1e8c28,_0x405103){var _0x4f9713=_0x4c3b0f;super(),this[_0x4f9713(0x3df)]=_0x5d1871,this['_httpService']=_0x49ff66,this[_0x4f9713(0x1b8)]=_0x27c970,this[_0x4f9713(0x23f)]=_0x1e8c28,this[_0x4f9713(0x400)]=_0x405103;}[_0x4c3b0f(0x3ec)](_0x4e8901){var _0x5beb6b=_0x4c3b0f;const _0x52b032=this[_0x5beb6b(0x3df)][_0x5beb6b(0x42b)](_0x2d0799);if(!_0x52b032)throw new Error(_0x5beb6b(0x499));const _0x2e9cab=_0x52b032[_0x5beb6b(0x214)](_0x4e8901);if(!_0x2e9cab)throw new Error(_0x5beb6b(0x2c8));const _0x3f67bd=new _0x13acb(),_0xa943ba=new _0x20a9ed();_0x3f67bd['add'](_0x2e9cab[_0x5beb6b(0x2e1)][_0x5beb6b(0x2d4)](_0x1f9ab5=>_0xa943ba['next'](_0x1f9ab5))),_0x3f67bd['add'](_0x5d0773(()=>_0xa943ba[_0x5beb6b(0x219)]()));const _0x192b87=new _0x20a9ed();_0x3f67bd[_0x5beb6b(0x259)](_0x2e9cab['error$'][_0x5beb6b(0x2d4)](_0x1d10e2=>_0x192b87['next'](_0x1d10e2))),_0x3f67bd['add'](_0x5d0773(()=>_0x192b87['complete']()));const _0x2e133e=new _0x20a9ed();_0x3f67bd[_0x5beb6b(0x259)](_0x2e9cab[_0x5beb6b(0x2bd)][_0x5beb6b(0x2d4)](_0x3e32a2=>{const _0xee2c4d=Ln(_0x3e32a2);_0x2e133e['next'](_0xee2c4d);})),_0x3f67bd['add'](_0x5d0773(()=>_0x2e133e[_0x5beb6b(0x219)]()));let _0xc6313c;const _0x1ad5dc=()=>{var _0x5c4c01=_0x5beb6b;_0x192b87[_0x5c4c01(0x340)](new Event(_0x5c4c01(0x35f))),_0xa943ba['next'](new Event('connection\x20error')),_0xc6313c[_0x5c4c01(0x2bf)]();};return _0xc6313c={'memberID':'','close$':_0xa943ba[_0x5beb6b(0x236)](),'error$':_0x192b87[_0x5beb6b(0x236)](),'open$':_0x2e9cab[_0x5beb6b(0x311)],'message$':_0x2e133e['asObservable'](),'send':_0x2579f9=>{var _0x2853ca=_0x5beb6b;if(_0x2579f9[_0x2853ca(0x460)]===F[_0x2853ca(0x430)]){if(_0x2579f9[_0x2853ca(0x2f8)][_0x2853ca(0x381)]===_0x420cf9[_0x2853ca(0x468)]){this['_submitChangeset'](_0xc6313c,_0x2579f9[_0x2853ca(0x2f8)])[_0x2853ca(0x3ae)](_0x4604de=>{var _0x595d93=_0x2853ca;this['_logService'][_0x595d93(0x1ab)](_0x4604de),_0x1ad5dc();});return;}if(_0x2579f9[_0x2853ca(0x2f8)]['eventID']===_0x420cf9[_0x2853ca(0x227)]){const _0x23339c=_0x2579f9[_0x2853ca(0x2f8)];this[_0x2853ca(0x3f9)](_0x23339c)[_0x2853ca(0x2f3)](_0x4c54ab=>{var _0x8417fb=_0x2853ca;_0x2e133e[_0x8417fb(0x340)]({'cmd':F[_0x8417fb(0x195)],'code':ge['OK'],'routeKey':_0x23339c[_0x8417fb(0x2f8)][_0x8417fb(0x285)],'routeType':'','data':{'eventID':_0x420cf9['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x4c54ab}}});})[_0x2853ca(0x3ae)](_0x75d83c=>{var _0x2340d0=_0x2853ca;this[_0x2340d0(0x23f)][_0x2340d0(0x1ab)](_0x75d83c),_0x1ad5dc();});return;}}_0x2e9cab[_0x2853ca(0x43e)](xn(_0x2579f9));},'close':()=>{var _0x4494f1=_0x5beb6b;_0x2e9cab[_0x4494f1(0x2bf)](),_0x3f67bd[_0x4494f1(0x42a)]();}},_0xc6313c;}async['_submitChangeset'](_0x2e2fbf,_0x1c4946){var _0x46a3a1=_0x4c3b0f,_0xab1df6,_0x55210a;const {unitType:_0x20b395,unitID:_0x3c90f3,changeset:_0x3839f2}=_0x1c4946['data'],_0xfbb25={'unitID':_0x3c90f3,'memberID':_0x2e2fbf[_0x46a3a1(0x2d8)],'type':_0x20b395,'changeset':_0x13948b(_0x3839f2)},_0x68458b=this[_0x46a3a1(0x1b8)][_0x46a3a1(0x207)](Nn),_0x5dffaf=this[_0x46a3a1(0x1b8)][_0x46a3a1(0x207)](q),_0x7e504e=$n((_0x55210a=(_0xab1df6=_0x5dffaf==null?void 0x0:_0x5dffaf[_0x46a3a1(0x3d5)])!=null?_0xab1df6:_0x68458b)!=null?_0x55210a:Dn,_0x20b395,_0x3c90f3);try{await this[_0x46a3a1(0x447)][_0x46a3a1(0x1f3)](_0x7e504e,{'body':_0xfbb25});}catch(_0x2067b8){throw this[_0x46a3a1(0x23f)][_0x46a3a1(0x1ab)]('[CollaborationSession]',_0x46a3a1(0x433)),_0x2067b8;}}async[_0x4c3b0f(0x3f9)](_0x47cdea){var _0x246a45=_0x4c3b0f;const {unitID:_0x15f112,from:_0xdcf5a9,to:_0x37e729,unitType:_0x3e7aab}=_0x47cdea[_0x246a45(0x2f8)];return(await this[_0x246a45(0x400)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x15f112,'type':_0x3e7aab,'from':_0xdcf5a9,'to':_0x37e729}))[_0x246a45(0x29e)];}};Gt=kn([Ae(0x0,_0xd5eff8(_0x3fbbf1)),Ae(0x1,_0xd5eff8(_0x279f52)),Ae(0x2,_0x5d9548),Ae(0x3,_0x269a14),Ae(0x4,_0x4d9a76)],Gt);const Hn=_0x4c3b0f(0x19e);function Bn(_0x96d764){return JSON['stringify'](_0x96d764)['length'];}class Ti{constructor(){var _0x2827ba=_0x4c3b0f;N(this,_0x2827ba(0x414),new _0x20a9ed()),N(this,_0x2827ba(0x1f8),this[_0x2827ba(0x414)][_0x2827ba(0x236)]());}[_0x4c3b0f(0x35b)](_0x4e4a12){this['_commentUpdate$']['next'](_0x4e4a12);}}var jn=Object[_0x4c3b0f(0x304)],Fn=(_0x24bcb6,_0x3fcf51,_0x358523,_0x5dd27b)=>{var _0x2acf7e=_0x4c3b0f;for(var _0xf47c0d=_0x5dd27b>0x1?void 0x0:_0x5dd27b?jn(_0x3fcf51,_0x358523):_0x3fcf51,_0x29a82b=_0x24bcb6[_0x2acf7e(0x406)]-0x1,_0x395a3c;_0x29a82b>=0x0;_0x29a82b--)(_0x395a3c=_0x24bcb6[_0x29a82b])&&(_0xf47c0d=_0x395a3c(_0xf47c0d)||_0xf47c0d);return _0xf47c0d;},Wt=(_0x38be0f,_0x42ef36)=>(_0x322ba3,_0x2cd9a1)=>_0x42ef36(_0x322ba3,_0x2cd9a1,_0x38be0f);let Le=class extends _0x9b0e7e{constructor(_0x5b8f78,_0x4e37fc){var _0x4cb117=_0x4c3b0f;super(),N(this,'_roomMembers',new Map()),N(this,_0x4cb117(0x1b2),new _0x20a9ed()),(this[_0x4cb117(0x3bd)]=_0x5b8f78,this['_userManagerService']=_0x4e37fc,this['disposeWithMe'](_0x2f3e61(this['_univerInstanceService'][_0x4cb117(0x2ee)](_0xd6e5c6['UNIVER_SHEET'])['pipe'](_0x5c62b3(_0x352901=>_0x352901['getUnitId']())),this[_0x4cb117(0x3bd)][_0x4cb117(0x2ee)](_0xd6e5c6['UNIVER_DOC'])[_0x4cb117(0x21a)](_0x5c62b3(_0x247354=>_0x247354[_0x4cb117(0x3c7)]())),this[_0x4cb117(0x3bd)][_0x4cb117(0x2ee)](_0xd6e5c6[_0x4cb117(0x263)])['pipe'](_0x5c62b3(_0x1dca4a=>_0x1dca4a[_0x4cb117(0x3c7)]())))[_0x4cb117(0x2d4)](_0x2e5c5d=>this['_removeRoom'](_0x2e5c5d))));}[_0x4c3b0f(0x303)](_0x5699ae){var _0x2daf7e=_0x4c3b0f;return this[_0x2daf7e(0x42c)]['has'](_0x5699ae)?_0x5d144d(this[_0x2daf7e(0x42c)]['get'](_0x5699ae)):this[_0x2daf7e(0x1b2)][_0x2daf7e(0x21a)](_0x5c62b3(_0x2f4110=>{var _0xaac8bc=_0x2daf7e;if(_0x2f4110===_0x5699ae)return this[_0xaac8bc(0x42c)]['get'](_0x2f4110);}));}[_0x4c3b0f(0x477)](_0x321a26){var _0x3669e9=_0x4c3b0f;this['_userManagerService'][_0x3669e9(0x477)](_0x321a26);}['getCurrentUser'](){var _0x435183=_0x4c3b0f;return this[_0x435183(0x3c9)]['getCurrentUser']();}[_0x4c3b0f(0x49d)](_0x4df3f9,_0x2f06b9){var _0xeef1b=_0x4c3b0f;let _0x61573e=this[_0xeef1b(0x42c)][_0xeef1b(0x42b)](_0x4df3f9);_0x61573e||(_0x61573e=new Vn(),this[_0xeef1b(0x42c)]['set'](_0x4df3f9,_0x61573e),this[_0xeef1b(0x1b2)][_0xeef1b(0x340)](_0x4df3f9)),_0x61573e[_0xeef1b(0x49d)](_0x2f06b9);}[_0x4c3b0f(0x397)](_0x42c115,_0x330a46){var _0x25efa2=_0x4c3b0f;const _0xd7e421=this[_0x25efa2(0x42c)][_0x25efa2(0x42b)](_0x42c115);_0xd7e421&&_0xd7e421[_0x25efa2(0x397)](_0x330a46);}[_0x4c3b0f(0x266)](_0x5ccfea){var _0x57138c=_0x4c3b0f;return this[_0x57138c(0x42c)][_0x57138c(0x42b)](_0x5ccfea);}['getMember'](_0x396d97,_0x40b5fd){var _0x3fb4ee=_0x4c3b0f;const _0x24a04c=this[_0x3fb4ee(0x42c)][_0x3fb4ee(0x42b)](_0x396d97);if(_0x24a04c)return _0x24a04c[_0x3fb4ee(0x2e6)](_0x40b5fd);}[_0x4c3b0f(0x276)](_0x170d16){var _0x5cdaae=_0x4c3b0f;const _0x464823=this[_0x5cdaae(0x42c)]['get'](_0x170d16);_0x464823&&(_0x464823['dispose'](),this['_roomMembers'][_0x5cdaae(0x19f)](_0x170d16));}['dispose'](){var _0x14dbfb=_0x4c3b0f;this['_roomMembers'][_0x14dbfb(0x1ba)](_0x2bb476=>_0x2bb476[_0x14dbfb(0x42a)]()),this[_0x14dbfb(0x42c)][_0x14dbfb(0x28c)](),this[_0x14dbfb(0x1b2)][_0x14dbfb(0x219)]();}};Le=Fn([Wt(0x0,_0x5f561f),Wt(0x1,_0xd5eff8(_0x486e20))],Le);class Vn extends _0x9b0e7e{constructor(){var _0x581607=_0x4c3b0f;super(...arguments),N(this,'_members',new Map()),N(this,_0x581607(0x232),new _0x476957(this[_0x581607(0x2eb)])),N(this,_0x581607(0x361),this[_0x581607(0x232)]['asObservable']());}[_0x4c3b0f(0x42a)](){var _0x174764=_0x4c3b0f;this[_0x174764(0x2eb)][_0x174764(0x28c)]();}[_0x4c3b0f(0x49d)](_0x519497){var _0x358d2b=_0x4c3b0f;this[_0x358d2b(0x2eb)]['set'](_0x519497[_0x358d2b(0x2d8)],_0x519497),this[_0x358d2b(0x44f)]();}[_0x4c3b0f(0x397)](_0xecdb85){this['_members']['delete'](_0xecdb85);}[_0x4c3b0f(0x2e6)](_0x396130){var _0x1a33f4=_0x4c3b0f;return this[_0x1a33f4(0x2eb)][_0x1a33f4(0x42b)](_0x396130);}['getAllMembers'](){var _0x35010e=_0x4c3b0f;return Array[_0x35010e(0x20e)](this['_members'][_0x35010e(0x27f)]());}[_0x4c3b0f(0x44f)](){var _0x24dbd5=_0x4c3b0f;this['_members$'][_0x24dbd5(0x340)](this[_0x24dbd5(0x2eb)]);}}var Gn=Object[_0x4c3b0f(0x304)],Wn=(_0x1c6293,_0x397e50,_0x3c47f6,_0x5a8a41)=>{var _0x1b6ab2=_0x4c3b0f;for(var _0x28276a=_0x5a8a41>0x1?void 0x0:_0x5a8a41?Gn(_0x397e50,_0x3c47f6):_0x397e50,_0x3ab78e=_0x1c6293[_0x1b6ab2(0x406)]-0x1,_0x460177;_0x3ab78e>=0x0;_0x3ab78e--)(_0x460177=_0x1c6293[_0x3ab78e])&&(_0x28276a=_0x460177(_0x28276a)||_0x28276a);return _0x28276a;},me=(_0x174123,_0x32790a)=>(_0x18897c,_0x3f39b6)=>_0x32790a(_0x18897c,_0x3f39b6,_0x174123),Ee=(_0x10e3e7=>(_0x10e3e7[_0x10e3e7[_0x4c3b0f(0x37e)]=0x0]=_0x4c3b0f(0x37e),_0x10e3e7[_0x10e3e7[_0x4c3b0f(0x2bc)]=0x1]='JOINING',_0x10e3e7[_0x10e3e7['OFFLINE']=0x2]='OFFLINE',_0x10e3e7[_0x10e3e7[_0x4c3b0f(0x3e2)]=0x3]=_0x4c3b0f(0x3e2),_0x10e3e7))(Ee||{});const Kt={[ge[_0x4c3b0f(0x393)]]:'session.join-failed',[ge[_0x4c3b0f(0x37c)]]:'session.room-full',[ge['JOIN_ROOM_NOT_EXISTS']]:_0x4c3b0f(0x257),[ge['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[ge[_0x4c3b0f(0x2c0)]]:'session.room-cnt-exceeds'};let Et=class extends _0x4391cf{constructor(_0x27a253,_0x41e9d3,_0x422728,_0x4a9ea6,_0x4c6ece,_0x1fb9b2,_0x45f42f,_0x3d3c8b,_0x3f1b52){var _0x4c215e=_0x4c3b0f;super(),N(this,_0x4c215e(0x329),new _0x476957(0x0)),N(this,_0x4c215e(0x2ad),this['_sessionStatus$'][_0x4c215e(0x236)]()),N(this,_0x4c215e(0x1e7),new _0x20a9ed()),N(this,_0x4c215e(0x31b),this['_event$'][_0x4c215e(0x236)]()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x4c215e(0x408)),N(this,_0x4c215e(0x43b),!0x1),N(this,_0x4c215e(0x3ab),null),(this['_unitID']=_0x27a253,this[_0x4c215e(0x23f)]=_0x422728,this[_0x4c215e(0x1b8)]=_0x4a9ea6,this[_0x4c215e(0x3ff)]=_0x4c6ece,this[_0x4c215e(0x296)]=_0x1fb9b2,this[_0x4c215e(0x2b2)]=_0x45f42f,this[_0x4c215e(0x431)]=_0x3d3c8b,this[_0x4c215e(0x1e2)]=_0x3f1b52,this[_0x4c215e(0x43b)]=!!this[_0x4c215e(0x1e2)],_0x41e9d3[_0x4c215e(0x21a)](_0x4b5a2e(this[_0x4c215e(0x3bf)]))[_0x4c215e(0x2d4)](_0x1234bb=>{var _0x337c46=_0x4c215e,_0x195de6;typeof _0x1234bb>'u'||(this['_socket']=_0x1234bb,_0x1234bb?(this[_0x337c46(0x1a8)](_0x1234bb),this[_0x337c46(0x389)]=_0x1234bb[_0x337c46(0x2bd)][_0x337c46(0x2d4)](_0x207ba6=>{var _0x156fe4=_0x337c46;_0x207ba6['routeKey']===this[_0x156fe4(0x3ea)]&&this[_0x156fe4(0x330)](_0x207ba6);})):(this[_0x337c46(0x46c)](),this[_0x337c46(0x329)][_0x337c46(0x340)](0x2),(_0x195de6=this[_0x337c46(0x389)])==null||_0x195de6[_0x337c46(0x3b5)](),this[_0x337c46(0x389)]=null));}));}get[_0x4c3b0f(0x3dd)](){var _0x33b7be=_0x4c3b0f;return this['_sessionStatus$'][_0x33b7be(0x27e)]();}['getMemberID'](){var _0xb5133b=_0x4c3b0f,_0x6febe4,_0x5e527b;return(_0x5e527b=(_0x6febe4=this[_0xb5133b(0x1f0)])==null?void 0x0:_0x6febe4[_0xb5133b(0x2d8)])!=null?_0x5e527b:null;}[_0x4c3b0f(0x42a)](){var _0x260014=_0x4c3b0f;super['dispose'](),this['dispose$'][_0x260014(0x340)](),this['dispose$'][_0x260014(0x219)]();}[_0x4c3b0f(0x2bf)](){var _0x21822e=_0x4c3b0f,_0x4d0f54,_0x23ffe6;this[_0x21822e(0x46c)](),(_0x4d0f54=this['_socket'])==null||_0x4d0f54[_0x21822e(0x43e)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x21822e(0x3ea)]}}),(_0x23ffe6=this[_0x21822e(0x1f0)])==null||_0x23ffe6[_0x21822e(0x2bf)](),this[_0x21822e(0x1e7)][_0x21822e(0x219)](),this[_0x21822e(0x329)][_0x21822e(0x219)](),this['dispose']();}[_0x4c3b0f(0x330)](_0x1a2447){var _0x35eba6=_0x4c3b0f;_0x1a2447[_0x35eba6(0x460)]===F[_0x35eba6(0x21e)]?this[_0x35eba6(0x1d5)](_0x1a2447):_0x1a2447['cmd']===F[_0x35eba6(0x195)]&&this[_0x35eba6(0x1ad)](_0x1a2447);}[_0x4c3b0f(0x1a8)](_0x2e8a16){var _0x4e670e=_0x4c3b0f;this[_0x4e670e(0x329)][_0x4e670e(0x340)](0x1),_0x2e8a16['send']({'cmd':F[_0x4e670e(0x21e)],'routeKey':this[_0x4e670e(0x3ea)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4e670e(0x3ea)]}]}});}[_0x4c3b0f(0x1d5)](_0x416e4c){var _0x3fea0a=_0x4c3b0f,_0x1729ed;if(_0x416e4c[_0x3fea0a(0x3b0)]in Kt){this[_0x3fea0a(0x431)][_0x3fea0a(0x334)]({'id':re[_0x3fea0a(0x3bc)],'data':Kt[_0x416e4c['code']]}),this[_0x3fea0a(0x329)][_0x3fea0a(0x340)](0x2);return;}this['_sessionStatus$'][_0x3fea0a(0x340)](0x3);const _0x4de046=(_0x1729ed=_0x416e4c[_0x3fea0a(0x2f8)][_0x3fea0a(0x277)][this['_unitID']])==null?void 0x0:_0x1729ed[_0x3fea0a(0x398)];_0x4de046&&_0x4de046[_0x3fea0a(0x1ba)](_0x2797d2=>this[_0x3fea0a(0x296)][_0x3fea0a(0x49d)](this[_0x3fea0a(0x3ea)],_0x2797d2));}[_0x4c3b0f(0x1ad)](_0x58d580){var _0x394e55=_0x4c3b0f;try{const _0x3beef6=_0x58d580['data'];switch(_0x3beef6[_0x394e55(0x381)]){case _0x420cf9[_0x394e55(0x413)]:this[_0x394e55(0x3b7)](_0x3beef6),this['_event$'][_0x394e55(0x340)](_0x3beef6);break;case _0x420cf9[_0x394e55(0x24e)]:this[_0x394e55(0x470)](_0x3beef6),this[_0x394e55(0x1e7)][_0x394e55(0x340)](_0x3beef6);break;case _0x420cf9[_0x394e55(0x23b)]:case _0x420cf9[_0x394e55(0x36b)]:this[_0x394e55(0x1e3)](),this[_0x394e55(0x1ac)](),this['_event$']['next'](_0x3beef6);break;case _0x420cf9[_0x394e55(0x39a)]:this[_0x394e55(0x23f)]['error'](_0x394e55(0x289)+JSON[_0x394e55(0x497)](_0x3beef6)),this['_event$'][_0x394e55(0x340)](_0x3beef6);break;case _0x420cf9[_0x394e55(0x21f)]:this[_0x394e55(0x2b2)][_0x394e55(0x35b)](_0x3beef6[_0x394e55(0x2f8)]),this[_0x394e55(0x1e7)][_0x394e55(0x340)](_0x3beef6);break;default:this[_0x394e55(0x1e7)]['next'](_0x3beef6);}}catch(_0x4e5e67){this['_logService'][_0x394e55(0x1ab)](_0x4e5e67,_0x58d580);}}['_onUserJoin'](_0x3a2cbb){var _0x1dc1fb=_0x4c3b0f;this[_0x1dc1fb(0x296)][_0x1dc1fb(0x49d)](this[_0x1dc1fb(0x3ea)],_0x3a2cbb[_0x1dc1fb(0x2f8)]);}[_0x4c3b0f(0x470)](_0x5b35b0){var _0x429b27=_0x4c3b0f;this['_memberService'][_0x429b27(0x397)](this[_0x429b27(0x3ea)],_0x5b35b0[_0x429b27(0x2f8)][_0x429b27(0x2d8)]);}async['send'](_0x4089ac,_0x2f492f){var _0x228321=_0x4c3b0f;if(this[_0x228321(0x3dd)]!==0x3||!this['_socket'])throw new Error(_0x228321(0x39f));try{_0x4089ac['eventID']===_0x420cf9[_0x228321(0x468)]&&(this[_0x228321(0x341)](),this[_0x228321(0x2c9)](_0x4089ac)),this['_socket']['send']({'cmd':F['INGEST'],'routeKey':_0x2f492f,'routeType':'','data':_0x4089ac});}catch(_0x190c0f){this[_0x228321(0x23f)][_0x228321(0x1ab)](_0x190c0f);}}[_0x4c3b0f(0x341)](){var _0xccc7c5=_0x4c3b0f,_0x957d64;this[_0xccc7c5(0x408)]=setTimeout(()=>{var _0x1460c4=_0xccc7c5;this[_0x1460c4(0x408)]=null,this[_0x1460c4(0x431)][_0x1460c4(0x334)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x957d64=this[_0xccc7c5(0x1b8)]['getConfig'](mi))!=null?_0x957d64:gi);}[_0x4c3b0f(0x1ac)](){var _0x10a48c=_0x4c3b0f;this[_0x10a48c(0x408)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x10a48c(0x408)]=null);}[_0x4c3b0f(0x2c9)](_0x52f07e){var _0x29967f=_0x4c3b0f;if(!this[_0x29967f(0x43b)])return;const {data:_0x3376d8}=_0x52f07e,{unitID:_0x153fca,changeset:_0x282556}=_0x3376d8,{mutations:_0xd1c974,type:_0x3427a4}=_0x282556;this['_telemetryInfo']={'unitId':_0x153fca,'type':_0x3427a4,'startTime':performance[_0x29967f(0x426)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0xd1c974)};}[_0x4c3b0f(0x1e3)](){var _0x2cc940=_0x4c3b0f;if(this[_0x2cc940(0x43b)]){if(!this[_0x2cc940(0x3ab)]){this[_0x2cc940(0x23f)][_0x2cc940(0x1ab)](_0x2cc940(0x3ed),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2cc940(0x3ab)][_0x2cc940(0x2d6)]=performance['now'](),this['_telemetryInfo'][_0x2cc940(0x45b)]=this[_0x2cc940(0x3ab)][_0x2cc940(0x2d6)]-this[_0x2cc940(0x3ab)][_0x2cc940(0x33a)],this['_telemetryService'][_0x2cc940(0x366)](Hn,this[_0x2cc940(0x3ab)]),this[_0x2cc940(0x3ab)]=null;}}[_0x4c3b0f(0x46c)](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x269a14),me(0x3,_0x5d9548),me(0x4,_0xd5eff8(_0xf39570)),me(0x5,_0xd5eff8(Le)),me(0x6,_0xd5eff8(Ti)),me(0x7,_0xd5eff8(pe)),me(0x8,_0x55e026(_0x31676f))],Et);var Kn=Object[_0x4c3b0f(0x304)],Yn=(_0x289af7,_0x4a20e9,_0x2513e4,_0x43927a)=>{var _0x54fcfc=_0x4c3b0f;for(var _0x5b4bf9=_0x43927a>0x1?void 0x0:_0x43927a?Kn(_0x4a20e9,_0x2513e4):_0x4a20e9,_0x2c7fe3=_0x289af7[_0x54fcfc(0x406)]-0x1,_0x1ffb42;_0x2c7fe3>=0x0;_0x2c7fe3--)(_0x1ffb42=_0x289af7[_0x2c7fe3])&&(_0x5b4bf9=_0x1ffb42(_0x5b4bf9)||_0x5b4bf9);return _0x5b4bf9;},be=(_0x345ffd,_0x177c66)=>(_0x4d21ab,_0x53feed)=>_0x177c66(_0x4d21ab,_0x53feed,_0x345ffd);let xe=class extends _0x9b0e7e{constructor(_0x49c593,_0x8eee83,_0x4e657f,_0x498c26,_0x18a27a,_0x4cd06b){var _0x26ec44=_0x4c3b0f;super(),N(this,_0x26ec44(0x48f),new _0x476957(void 0x0)),N(this,'socket$',this['_socket$'][_0x26ec44(0x236)]()),N(this,_0x26ec44(0x1ae),null),N(this,_0x26ec44(0x288),new Map()),N(this,_0x26ec44(0x49a),new _0x476957(Ee['IDLE'])),N(this,_0x26ec44(0x2ac),this[_0x26ec44(0x49a)][_0x26ec44(0x236)]()),N(this,'_socketReady',!0x1),N(this,_0x26ec44(0x425)),N(this,_0x26ec44(0x39e),0x0),N(this,_0x26ec44(0x234)),N(this,_0x26ec44(0x3a5)),(this[_0x26ec44(0x3df)]=_0x49c593,this[_0x26ec44(0x23f)]=_0x8eee83,this[_0x26ec44(0x1b8)]=_0x4e657f,this[_0x26ec44(0x2a4)]=_0x498c26,this[_0x26ec44(0x431)]=_0x18a27a,this['_networkConditionService']=_0x4cd06b,this[_0x26ec44(0x27b)]());}get['_socket'](){return this['_socket$']['getValue']();}[_0x4c3b0f(0x27b)](){var _0x6e1591=_0x4c3b0f;this[_0x6e1591(0x44b)]&&this[_0x6e1591(0x32c)](this['_networkConditionService']['online$']['subscribe'](_0x2ef85d=>{var _0x2d9442=_0x6e1591;_0x2ef85d&&!this[_0x2d9442(0x1f0)]&&this['reconnect'](),_0x2ef85d||this['_onOffline']();}));}[_0x4c3b0f(0x42a)](){var _0x4811b8=_0x4c3b0f;super[_0x4811b8(0x42a)](),this['_clearRetryConnectingTimer'](),this[_0x4811b8(0x216)](),this[_0x4811b8(0x315)](),this[_0x4811b8(0x288)]['forEach'](_0xe999c1=>_0xe999c1['dispose']()),this['_sessions']['clear'](),this['_status$'][_0x4811b8(0x219)]();}async[_0x4c3b0f(0x368)](_0x3cd43c){var _0x442ad7=_0x4c3b0f;if(this[_0x442ad7(0x288)][_0x442ad7(0x337)](_0x3cd43c))return this[_0x442ad7(0x288)][_0x442ad7(0x42b)](_0x3cd43c);this[_0x442ad7(0x43c)]();const _0xc9f0b=this[_0x442ad7(0x3df)][_0x442ad7(0x474)](Et,_0x3cd43c,this[_0x442ad7(0x48f)]['asObservable']());return this[_0x442ad7(0x288)]['set'](_0x3cd43c,_0xc9f0b),_0xc9f0b;}[_0x4c3b0f(0x243)](_0x2b0453){var _0x17da28=_0x4c3b0f,_0x496eff;const _0x41b4f0=this[_0x17da28(0x288)]['get'](_0x2b0453);_0x41b4f0&&(this[_0x17da28(0x288)][_0x17da28(0x19f)](_0x2b0453),_0x41b4f0[_0x17da28(0x2bf)]()),this['_sessions'][_0x17da28(0x40a)]||(_0x496eff=this['_socket'])==null||_0x496eff[_0x17da28(0x2bf)]();}[_0x4c3b0f(0x22d)](){var _0x4e2824=_0x4c3b0f;this[_0x4e2824(0x39e)]=0x0,this[_0x4e2824(0x3e6)](),this[_0x4e2824(0x308)]();}[_0x4c3b0f(0x3e6)](){var _0x21941f=_0x4c3b0f;this[_0x21941f(0x425)]!=null&&(clearTimeout(this[_0x21941f(0x425)]),this[_0x21941f(0x425)]=null);}async[_0x4c3b0f(0x1d7)](){var _0x523d25=_0x4c3b0f,_0x2b861f,_0x13c7ea;const _0x33bcf3=this[_0x523d25(0x1b8)][_0x523d25(0x207)](In),_0xf2ddbb=this[_0x523d25(0x1b8)][_0x523d25(0x207)](q),_0x1f7931=(_0x13c7ea=(_0x2b861f=_0xf2ddbb==null?void 0x0:_0xf2ddbb[_0x523d25(0x1c0)])!=null?_0x2b861f:_0x33bcf3)!=null?_0x13c7ea:Tn,_0x54f823=await this[_0x523d25(0x2a4)][_0x523d25(0x214)](_0x1f7931);return this[_0x523d25(0x1ae)]=_0x54f823,_0x54f823;}async[_0x4c3b0f(0x43c)](){var _0x436f7f=_0x4c3b0f,_0x483a8e,_0x130f9e;try{const _0x470db3=(_0x130f9e=(_0x483a8e=this[_0x436f7f(0x1f0)])!=null?_0x483a8e:this[_0x436f7f(0x1ae)])!=null?_0x130f9e:await this[_0x436f7f(0x1d7)]();if(_0x470db3){const _0x4e3e79=_0x470db3[_0x436f7f(0x43e)];_0x470db3[_0x436f7f(0x43e)]=_0x492a99=>(this[_0x436f7f(0x217)](),_0x4e3e79[_0x436f7f(0x1a6)](_0x470db3,[_0x492a99])),_0x470db3[_0x436f7f(0x2bd)][_0x436f7f(0x2d4)](_0x153dc3=>this['_onMessage'](_0x470db3,_0x153dc3)),_0x470db3[_0x436f7f(0x30c)]['pipe'](_0x5253bb(0x1))[_0x436f7f(0x2d4)](_0xcbfdc7=>this[_0x436f7f(0x23f)]['error'](_0x436f7f(0x465),_0xcbfdc7)),_0x470db3[_0x436f7f(0x311)]['pipe'](_0x5253bb(0x1))['subscribe'](()=>{var _0x1acb62=_0x436f7f;this[_0x1acb62(0x35e)](_0x470db3);}),_0x470db3[_0x436f7f(0x2e1)]['pipe'](_0x5253bb(0x1))['subscribe'](_0x261a11=>{var _0x51a612=_0x436f7f;this[_0x51a612(0x23f)][_0x51a612(0x2cd)](_0x51a612(0x2ab),_0x51a612(0x218),_0x261a11),this[_0x51a612(0x343)]();});}}catch(_0x259005){this[_0x436f7f(0x23f)][_0x436f7f(0x1ab)](_0x259005),this[_0x436f7f(0x343)]();}}[_0x4c3b0f(0x35e)](_0x84d457){var _0x365726=_0x4c3b0f;this[_0x365726(0x23f)]['debug'](_0x365726(0x2ab),_0x365726(0x272)),_0x84d457[_0x365726(0x43e)]({'cmd':F[_0x365726(0x203)]}),this[_0x365726(0x217)]();}[_0x4c3b0f(0x2ea)](){var _0x488b27=_0x4c3b0f;this[_0x488b27(0x1e4)]=!0x1,this[_0x488b27(0x1ae)]=null,this[_0x488b27(0x49a)]['next'](Ee[_0x488b27(0x237)]),this[_0x488b27(0x48f)][_0x488b27(0x340)](null),this['_clearTimeoutTimer'](),this[_0x488b27(0x315)]();}[_0x4c3b0f(0x343)](){var _0x424622=_0x4c3b0f,_0x155f3a;this['_onOffline'](),this[_0x424622(0x39e)]<((_0x155f3a=this[_0x424622(0x1b8)][_0x424622(0x207)](On))!=null?_0x155f3a:yn)?(this[_0x424622(0x431)][_0x424622(0x334)]({'id':re[_0x424622(0x281)]}),this[_0x424622(0x308)]()):this[_0x424622(0x431)][_0x424622(0x334)]({'id':re[_0x424622(0x283)]});}[_0x4c3b0f(0x308)](){var _0x5ed979=_0x4c3b0f,_0x36c03e;const _0x29b18d=this[_0x5ed979(0x39e)],_0x3330e7=this[_0x5ed979(0x1b8)][_0x5ed979(0x207)](q),_0x492b88=_0x29b18d===0x0?0x0:((_0x36c03e=_0x3330e7==null?void 0x0:_0x3330e7['retryConnectingInterval'])!=null?_0x36c03e:bn)*0x2**_0x29b18d;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2d462e=_0x5ed979;clearTimeout(this[_0x2d462e(0x425)]),this[_0x2d462e(0x425)]=null,this[_0x2d462e(0x43c)]();},_0x492b88),this[_0x5ed979(0x39e)]+=0x1;}['_onMessage'](_0x58e0ef,_0x594499){var _0x3ba82a=_0x4c3b0f;const {cmd:_0x4f48c2}=_0x594499;_0x4f48c2===F[_0x3ba82a(0x203)]&&!this[_0x3ba82a(0x1e4)]&&(_0x58e0ef[_0x3ba82a(0x2d8)]=_0x594499[_0x3ba82a(0x2f8)][_0x3ba82a(0x2d8)],this['_socket$'][_0x3ba82a(0x340)](_0x58e0ef),this[_0x3ba82a(0x49a)]['next'](Ee[_0x3ba82a(0x3e2)]),this[_0x3ba82a(0x1e4)]=!0x0,this[_0x3ba82a(0x1ae)]=null),_0x4f48c2===F[_0x3ba82a(0x290)]&&this[_0x3ba82a(0x216)](),this[_0x3ba82a(0x217)]();}[_0x4c3b0f(0x217)](){var _0x21d491=_0x4c3b0f,_0x5e26a3;this['_clearHeartbeatTimer'](),this[_0x21d491(0x234)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x5e26a3=this[_0x21d491(0x1b8)][_0x21d491(0x207)](Cn))!=null?_0x5e26a3:Rn);}['_sendHeartbeat'](){var _0xd2e3f3=_0x4c3b0f;this['_socket'][_0xd2e3f3(0x43e)]({'cmd':F[_0xd2e3f3(0x290)]}),this[_0xd2e3f3(0x457)]();}[_0x4c3b0f(0x457)](){var _0xfa84f4=_0x4c3b0f,_0x2a5c1b;this[_0xfa84f4(0x3a5)]=setTimeout(()=>this[_0xfa84f4(0x343)](),(_0x2a5c1b=this[_0xfa84f4(0x1b8)]['getConfig'](mi))!=null?_0x2a5c1b:gi);}[_0x4c3b0f(0x315)](){var _0x19aa40=_0x4c3b0f;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x19aa40(0x234)]),this[_0x19aa40(0x234)]=null);}[_0x4c3b0f(0x216)](){var _0x1c8d5c=_0x4c3b0f;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1c8d5c(0x3a5)]),this['_timeoutTimer']=null);}};xe=Yn([be(0x0,_0xd5eff8(_0x3fbbf1)),be(0x1,_0x269a14),be(0x2,_0x5d9548),be(0x3,Ii),be(0x4,_0xd5eff8(pe)),be(0x5,_0x55e026(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x4c3b0f(0x1f9)]((t+0x100)[_0x4c3b0f(0x22b)](0x10)['slice'](0x1));function qn(_0x1a1950,_0x468e75=0x0){var _0x3ed86f=_0x4c3b0f;return(V[_0x1a1950[_0x468e75+0x0]]+V[_0x1a1950[_0x468e75+0x1]]+V[_0x1a1950[_0x468e75+0x2]]+V[_0x1a1950[_0x468e75+0x3]]+'-'+V[_0x1a1950[_0x468e75+0x4]]+V[_0x1a1950[_0x468e75+0x5]]+'-'+V[_0x1a1950[_0x468e75+0x6]]+V[_0x1a1950[_0x468e75+0x7]]+'-'+V[_0x1a1950[_0x468e75+0x8]]+V[_0x1a1950[_0x468e75+0x9]]+'-'+V[_0x1a1950[_0x468e75+0xa]]+V[_0x1a1950[_0x468e75+0xb]]+V[_0x1a1950[_0x468e75+0xc]]+V[_0x1a1950[_0x468e75+0xd]]+V[_0x1a1950[_0x468e75+0xe]]+V[_0x1a1950[_0x468e75+0xf]])[_0x3ed86f(0x3c0)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x3b01f5=_0x4c3b0f;if(!ut){if(typeof crypto>'u'||!crypto[_0x3b01f5(0x326)])throw new Error(_0x3b01f5(0x437));ut=crypto[_0x3b01f5(0x326)][_0x3b01f5(0x198)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x4c3b0f(0x222)]&&crypto[_0x4c3b0f(0x222)][_0x4c3b0f(0x198)](crypto),Yt={'randomUUID':Xn};function Zn(_0x1122a0,_0xccaa85,_0x1b41a0){var _0x2691fd=_0x4c3b0f,_0x5e96a1,_0x10195a,_0x2cb30d;if(Yt['randomUUID']&&!_0x1122a0)return Yt[_0x2691fd(0x222)]();_0x1122a0=_0x1122a0||{};const _0x4d4767=(_0x2cb30d=(_0x10195a=_0x1122a0[_0x2691fd(0x3aa)])!=null?_0x10195a:(_0x5e96a1=_0x1122a0['rng'])==null?void 0x0:_0x5e96a1[_0x2691fd(0x3dc)](_0x1122a0))!=null?_0x2cb30d:Jn();if(_0x4d4767[_0x2691fd(0x406)]<0x10)throw new Error(_0x2691fd(0x3f6));return _0x4d4767[0x6]=_0x4d4767[0x6]&0xf|0x40,_0x4d4767[0x8]=_0x4d4767[0x8]&0x3f|0x80,qn(_0x4d4767);}const J=_0x5e3706(_0x4c3b0f(0x458));function Br(_0x36b841){var _0x178b6d=_0x4c3b0f;return _0x178b6d(0x26f)+_0x36b841;}var Qn=Object[_0x4c3b0f(0x304)],es=(_0x329020,_0x2df021,_0xc20c80,_0x34a644)=>{var _0x566ebc=_0x4c3b0f;for(var _0x331e46=_0x34a644>0x1?void 0x0:_0x34a644?Qn(_0x2df021,_0xc20c80):_0x2df021,_0x450ca9=_0x329020[_0x566ebc(0x406)]-0x1,_0x128b7e;_0x450ca9>=0x0;_0x450ca9--)(_0x128b7e=_0x329020[_0x450ca9])&&(_0x331e46=_0x128b7e(_0x331e46)||_0x331e46);return _0x331e46;},dt=(_0x34bf23,_0x479bdd)=>(_0x5467d8,_0x33e678)=>_0x479bdd(_0x5467d8,_0x33e678,_0x34bf23);function ts(_0x36d404){var _0x5b6622=_0x4c3b0f;const {unitID:_0x418e58,mutations:_0x53cd66}=_0x36d404;return{'unitId':_0x418e58,'subUnitId':_0x53cd66[0x0][_0x5b6622(0x19c)]['subUnitId']};}let it=class{constructor(_0x8ca8c8,_0x37d386,_0x3abb1e){var _0x4d7da2=_0x4c3b0f;this[_0x4d7da2(0x3df)]=_0x8ca8c8,this['_transformService']=_0x37d386,this[_0x4d7da2(0x3d3)]=_0x3abb1e;}['transformSelections'](_0x51f5e9){var _0x4c652e=_0x4c3b0f,_0x2e3594,_0x383c5c,_0x28dbde,_0xf6585d;const _0x2a3e3f=this[_0x4c652e(0x3df)][_0x4c652e(0x42b)](_0x125a16),{unitId:_0x33dfeb,subUnitId:_0x3cbe10}=ts(_0x51f5e9),_0x35af82=_0x2a3e3f==null?void 0x0:_0x2a3e3f[_0x4c652e(0x2fa)](_0x33dfeb)[_0x4c652e(0x328)](),_0x4dcd73=(_0x383c5c=(_0x2e3594=this[_0x4c652e(0x3d3)][_0x4c652e(0x388)](_0x33dfeb))==null?void 0x0:_0x2e3594[_0x4c652e(0x3c8)]())==null?void 0x0:_0x383c5c['getSheetId']();if(_0x35af82[_0x4c652e(0x406)]===0x0||!_0x33dfeb||!_0x3cbe10)return;const _0x1d2bd0=[{'id':_0x3dc525['id'],'params':{'unitId':_0x33dfeb,'subUnitId':_0x4dcd73,'selections':_0x5260ce[_0x4c652e(0x223)](_0x35af82)}}],_0x54ac1c=this[_0x4c652e(0x47d)][_0x4c652e(0x47c)](_0x51f5e9,_0x1d2bd0);if(!_0x46e709(_0x54ac1c))throw _0x54ac1c[_0x4c652e(0x1ab)];const _0x142a14=(_0xf6585d=(_0x28dbde=_0x54ac1c[_0x4c652e(0x20b)][0x0])==null?void 0x0:_0x28dbde[_0x4c652e(0x19c)])==null?void 0x0:_0xf6585d['selections'];if(Array[_0x4c652e(0x30d)](_0x142a14)&&_0x142a14[_0x4c652e(0x406)]){if(_0x142a14[_0x4c652e(0x406)]===_0x1d2bd0[0x0][_0x4c652e(0x19c)][_0x4c652e(0x2a0)][_0x4c652e(0x406)]&&_0x142a14[_0x4c652e(0x332)]((_0x26a3e8,_0x1de4fc)=>_0x59a95c[_0x4c652e(0x2b8)](_0x26a3e8[_0x4c652e(0x202)],_0x1d2bd0[0x0][_0x4c652e(0x19c)][_0x4c652e(0x2a0)][_0x1de4fc][_0x4c652e(0x202)])))return;this['_injector']['get'](_0x118563)[_0x4c652e(0x38e)](_0x3dc525['id'],{'unitId':_0x33dfeb,'subUnitId':_0x4dcd73,'selections':_0x142a14});}}};it=es([dt(0x0,_0xd5eff8(_0x3fbbf1)),dt(0x1,_0x599fa8),dt(0x2,_0x5f561f)],it);const ht=_0x5e3706('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x788d4f=>(_0x788d4f[_0x788d4f['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x788d4f[_0x788d4f[_0x4c3b0f(0x405)]=0x1]='OTHER_CLIENTS_EDITING',_0x788d4f))(Ci||{});const is=new Set([_0x14e87b['id']]);function qt(_0x29ed72,_0x17a536,_0x33fd10,_0x546092,_0x35f495){var _0x36d1ce=_0x4c3b0f,_0x23d647,_0x376211,_0x3b5261,_0x1188b1;const _0x4d2418=[];for(const _0x355776 of _0x29ed72)if(is[_0x36d1ce(0x337)](_0x355776['id'])){if(_0x4d2418[_0x36d1ce(0x406)]>0x0)break;_0x4d2418['push'](_0x355776);break;}else _0x4d2418[_0x36d1ce(0x1f9)](_0x355776);const _0x228e84=(_0x376211=(_0x23d647=_0x35f495[_0x36d1ce(0x38b)]())==null?void 0x0:_0x23d647[_0x36d1ce(0x478)])!=null?_0x376211:_0x36d1ce(0x489),_0x2d5b4f=(_0x1188b1=(_0x3b5261=_0x35f495[_0x36d1ce(0x38b)]())==null?void 0x0:_0x3b5261[_0x36d1ce(0x2d8)])!=null?_0x1188b1:_0x36d1ce(0x489);return{'changeset':{'unitID':_0x17a536,'type':_0x48ce8c(_0x33fd10['getUnitType'](_0x17a536)),'baseRev':_0x546092['getCurrentRevOfUnit'](_0x17a536),'revision':0x0,'userID':_0x228e84,'memberID':_0x2d5b4f,'mutations':_0x4d2418},'pendingMutations':_0x29ed72[_0x36d1ce(0x2b6)](_0x4d2418[_0x36d1ce(0x406)])};}function ns(_0x1fc53c,_0x41d29e,_0x59fa65,_0x2372c4,_0x3c7f85){var _0x591dc9=_0x4c3b0f,_0x18e7e4,_0x30b9fd,_0x80ad0c,_0x55589a;const _0x348c60=[_0x1fc53c[_0x591dc9(0x394)]((_0x6d0a82,_0x167a7f)=>{var _0xd85734=_0x591dc9,_0x11613d;const {id:_0x4f0973}=_0x6d0a82,{id:_0x3c6887,type:_0x1d65b7}=_0x167a7f,_0x2fde32=(_0x11613d=_0x6d0a82[_0xd85734(0x19c)])!=null?_0x11613d:{'actions':null},_0x42fda4=_0x167a7f[_0xd85734(0x19c)];if(_0x4f0973&&_0x4f0973!==_0x3c6887)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4f0973+'\x20-\x20'+_0x3c6887+'.');return{..._0x6d0a82,'id':_0x3c6887,'type':_0x1d65b7,'params':{'unitId':_0x42fda4[_0xd85734(0x485)],'textRanges':_0x42fda4[_0xd85734(0x1b3)],'actions':_0x36781e['compose'](_0x2fde32[_0xd85734(0x333)],_0x42fda4[_0xd85734(0x333)])}};},{})],_0x55626c=(_0x30b9fd=(_0x18e7e4=_0x3c7f85['getCurrentUser']())==null?void 0x0:_0x18e7e4['userID'])!=null?_0x30b9fd:_0x591dc9(0x489),_0x39fda2=(_0x55589a=(_0x80ad0c=_0x3c7f85[_0x591dc9(0x38b)]())==null?void 0x0:_0x80ad0c[_0x591dc9(0x2d8)])!=null?_0x55589a:_0x591dc9(0x489);return{'changeset':{'unitID':_0x41d29e,'type':_0x48ce8c(_0x59fa65['getUnitType'](_0x41d29e)),'baseRev':_0x2372c4[_0x591dc9(0x2f6)](_0x41d29e),'revision':0x0,'userID':_0x55626c,'memberID':_0x39fda2,'mutations':_0x348c60},'pendingMutations':[]};}function Ri(_0x1bdd73,_0x59d830){var _0x39a5be=_0x4c3b0f;const _0x603dd4=new _0x2c6d5d(0x1);return setTimeout(()=>_0x603dd4['next'](_0x59d830),_0x1bdd73),_0x603dd4[_0x39a5be(0x236)]()['pipe'](_0x3b4e6b(0x1));}const ss={'id':_0x49e3c7['id'],'type':_0x6cf444[_0x4c3b0f(0x2f1)],'params':{}};var rs=Object[_0x4c3b0f(0x304)],Te=(_0x5606d6,_0x6e1aa2,_0x36a1d6,_0x37c39b)=>{for(var _0x5836c3=_0x37c39b>0x1?void 0x0:_0x37c39b?rs(_0x6e1aa2,_0x36a1d6):_0x6e1aa2,_0x80cd9d=_0x5606d6['length']-0x1,_0xa5f287;_0x80cd9d>=0x0;_0x80cd9d--)(_0xa5f287=_0x5606d6[_0x80cd9d])&&(_0x5836c3=_0xa5f287(_0x5836c3)||_0x5836c3);return _0x5836c3;},P=(_0xfee06,_0x55e7fa)=>(_0x2d7605,_0x5bdae5)=>_0x55e7fa(_0x2d7605,_0x5bdae5,_0xfee06),bi=(_0xd6a1f3=>(_0xd6a1f3['NOT_COLLAB']='not_collab',_0xd6a1f3[_0x4c3b0f(0x29c)]=_0x4c3b0f(0x395),_0xd6a1f3[_0x4c3b0f(0x2fc)]='pending',_0xd6a1f3['AWAITING']=_0x4c3b0f(0x404),_0xd6a1f3['AWAITING_WITH_PENDING']='awaiting_with_pending',_0xd6a1f3[_0x4c3b0f(0x3f8)]=_0x4c3b0f(0x1ec),_0xd6a1f3[_0x4c3b0f(0x47e)]=_0x4c3b0f(0x46e),_0xd6a1f3[_0x4c3b0f(0x237)]=_0x4c3b0f(0x34b),_0xd6a1f3))(bi||{});const Oi=0xea60;class Ce{constructor(_0x544904,_0x1366a1,_0x1ccd0f,_0x334302,_0x4572db,_0x7e3d34,_0x5e4728,_0x447532,_0x4111aa){var _0x35c0c5=_0x4c3b0f;N(this,_0x35c0c5(0x291),null),N(this,'_pendingMutations',[]),(this[_0x35c0c5(0x285)]=_0x544904,this[_0x35c0c5(0x493)]=_0x1366a1,this[_0x35c0c5(0x358)]=_0x4572db,this[_0x35c0c5(0x2e9)]=_0x7e3d34,this[_0x35c0c5(0x374)]=_0x5e4728,this['_revisionService']=_0x447532,this['_localCacheService']=_0x4111aa,this[_0x35c0c5(0x291)]=_0x1ccd0f,this[_0x35c0c5(0x226)]=_0x334302);}[_0x4c3b0f(0x1a1)](_0x100864){var _0x3bb077=_0x4c3b0f;const _0x345536=this[_0x3bb077(0x2f2)]['getCurrentRevOfUnit'](this[_0x3bb077(0x285)]);return _0x100864[_0x3bb077(0x3e4)]>_0x345536+0x1?(this['_handler'][_0x3bb077(0x392)]({'from':_0x345536,'to':_0x100864[_0x3bb077(0x3e4)]-0x1}),!0x0):!0x1;}[_0x4c3b0f(0x2ba)](_0x3ce7a4){var _0x260c0c=_0x4c3b0f;this[_0x260c0c(0x374)]['transformUndoRedo'](this[_0x260c0c(0x285)],_0x3ce7a4);}[_0x4c3b0f(0x438)](_0x13ec0d){var _0x349be4=_0x4c3b0f,_0xc38be5,_0x5c36fb;(_0x5c36fb=(_0xc38be5=this[_0x349be4(0x358)])[_0x349be4(0x365)])==null||_0x5c36fb[_0x349be4(0x3dc)](_0xc38be5,_0x13ec0d);}[_0x4c3b0f(0x25b)](_0x4cbc73){var _0x54e4ad,_0x65e02f;return(_0x65e02f=(_0x54e4ad=this['_handler'])['onTransformIME'])==null?void 0x0:_0x65e02f['call'](_0x54e4ad,_0x4cbc73);}['_transformStateCache'](_0x280207){var _0x40aec1=_0x4c3b0f,_0x57ecc6,_0x2a4247;return(_0x2a4247=(_0x57ecc6=this[_0x40aec1(0x358)])['onTransformState'])==null?void 0x0:_0x2a4247[_0x40aec1(0x3dc)](_0x57ecc6,_0x280207);}[_0x4c3b0f(0x37d)](_0x1adede){var _0x1ad4a5=_0x4c3b0f,_0x41e105,_0x106347,_0x11805c;return(_0x11805c=(_0x106347=(_0x41e105=this[_0x1ad4a5(0x358)])[_0x1ad4a5(0x1ce)])==null?void 0x0:_0x106347[_0x1ad4a5(0x3dc)](_0x41e105,_0x1adede))!=null?_0x11805c:_0x1adede;}[_0x4c3b0f(0x1f6)](_0x36984a){var _0x27aeb3=_0x4c3b0f,_0x2c4fd2,_0x29d18d,_0x105c96;return(_0x105c96=(_0x29d18d=(_0x2c4fd2=this['_handler'])[_0x27aeb3(0x1f2)])==null?void 0x0:_0x29d18d['call'](_0x2c4fd2,_0x36984a))!=null?_0x105c96:_0x36984a;}[_0x4c3b0f(0x206)](_0x3f129e){var _0x3b04fa=_0x4c3b0f,_0xf0745d,_0x160528;if(this[_0x3b04fa(0x493)]===Q['UNIVER_DOC']){const {unitID:_0x4e9f41,mutations:_0x59c1e5,memberID:_0x2ea200}=_0x3f129e,_0x14b8b4=_0x59c1e5[0x0][_0x3b04fa(0x19c)][_0x3b04fa(0x1b3)];Array['isArray'](_0x14b8b4)&&_0x14b8b4[_0x3b04fa(0x406)]>0x0&&((_0x160528=(_0xf0745d=this[_0x3b04fa(0x358)])['onSyncEditingCollabCursor'])==null||_0x160528[_0x3b04fa(0x3dc)](_0xf0745d,{'unitID':_0x4e9f41,'memberID':_0x2ea200,'textRanges':_0x14b8b4}));}}[_0x4c3b0f(0x2a5)](){var _0x7c6ea3=_0x4c3b0f,_0x4dd32e;(_0x4dd32e=this[_0x7c6ea3(0x20c)])==null||_0x4dd32e[_0x7c6ea3(0x418)](this[_0x7c6ea3(0x285)],this['type'],this[_0x7c6ea3(0x291)],this[_0x7c6ea3(0x226)]);}[_0x4c3b0f(0x1c2)](){var _0x290900=_0x4c3b0f;return this['_revisionService'][_0x290900(0x2f6)](this[_0x290900(0x285)]);}[_0x4c3b0f(0x353)](){var _0x1fad2b=_0x4c3b0f;this[_0x1fad2b(0x2f2)]['incrementRevOfUnit'](this[_0x1fad2b(0x285)]);}[_0x4c3b0f(0x45c)](_0x512fe0){var _0x24ae0a=_0x4c3b0f,_0x8ce72c;let _0x3dfda0=this[_0x24ae0a(0x37d)](_0x512fe0);_0x3dfda0=this[_0x24ae0a(0x1f6)](_0x3dfda0);const _0xfe0405=_0xccdc7e(_0x3dfda0['mutations'],this[_0x24ae0a(0x2e9)],{'fromCollab':!0x0});if(!_0xfe0405[_0x24ae0a(0x2c2)])throw _0xfe0405[_0x24ae0a(0x1ab)]instanceof Error?_0xfe0405[_0x24ae0a(0x1ab)]:new Error((_0x8ce72c=_0xfe0405[_0x24ae0a(0x1ab)])!=null?_0x8ce72c:'[CollaborationState]:\x20apply\x20error!');this[_0x24ae0a(0x25b)](_0x3dfda0),this[_0x24ae0a(0x480)](_0x3dfda0),this[_0x24ae0a(0x2ba)](_0x512fe0),this[_0x24ae0a(0x438)](_0x3dfda0),this[_0x24ae0a(0x206)](_0x3dfda0),this[_0x24ae0a(0x353)]();}}let Ne=class extends Ce{constructor(_0x1a8966,_0x4d6df2,_0x4da45b,_0x42fa89,_0x3fb059,_0x4b0b58,_0x53e917,_0x2193eb,_0x15e95a,_0x3de0d8){var _0x3e2553=_0x4c3b0f;super(_0x1a8966,_0x4d6df2,null,[],_0x4da45b,_0x53e917,_0x4b0b58,_0x42fa89,_0x3de0d8),N(this,_0x3e2553(0x265),_0x3e2553(0x395)),(this[_0x3e2553(0x3df)]=_0x3fb059,this[_0x3e2553(0x23f)]=_0x2193eb,this[_0x3e2553(0x47d)]=_0x15e95a,this[_0x3e2553(0x3ad)]=_0x3de0d8);}['appendMutation'](_0x5e1b32){var _0x112621=_0x4c3b0f;const _0x497720=this['_injector']['createInstance'](ae,this[_0x112621(0x285)],this[_0x112621(0x493)],[_0x5e1b32],this[_0x112621(0x358)]);return _0x497720['_schedule'](),_0x497720[_0x112621(0x2a5)](),_0x497720;}['onRemoteChangeset'](_0x68db0f){var _0x12466d=_0x4c3b0f;if(this[_0x12466d(0x1a1)](_0x68db0f))return this[_0x12466d(0x3df)]['createInstance'](ee,this[_0x12466d(0x285)],this[_0x12466d(0x493)],null,[],null,[_0x68db0f],this[_0x12466d(0x358)]);try{const _0x3862ae=this[_0x12466d(0x47d)][_0x12466d(0x47c)](_0x68db0f,[ss]);if(_0x46e709(_0x3862ae)){const {c1Prime:_0x4df8a2}=_0x3862ae;return this[_0x12466d(0x45c)](_0x4df8a2),this;}throw _0x3862ae[_0x12466d(0x1ab)];}catch(_0x1b1b2e){return this[_0x12466d(0x23f)][_0x12466d(0x1ab)](_0x1b1b2e),this[_0x12466d(0x221)](!0x1);}}['_onConflict'](_0x2ee46b){var _0xd0e065=_0x4c3b0f;return this[_0xd0e065(0x3df)][_0xd0e065(0x474)](ue,this[_0xd0e065(0x285)],this[_0xd0e065(0x493)],null,[],this['_handler'],_0x2ee46b);}[_0x4c3b0f(0x1c3)](){var _0x46f633=_0x4c3b0f;throw new Error(_0x46f633(0x3d9));}[_0x4c3b0f(0x3fb)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4c3b0f(0x419)](){return this;}[_0x4c3b0f(0x385)](){var _0xaa0d82=_0x4c3b0f;return this[_0xaa0d82(0x3df)][_0xaa0d82(0x474)](de,this[_0xaa0d82(0x285)],this[_0xaa0d82(0x493)],null,[],this[_0xaa0d82(0x358)]);}[_0x4c3b0f(0x412)](){return this;}[_0x4c3b0f(0x27a)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x3c1082=_0x4c3b0f;const _0x33f9a3=this[_0x3c1082(0x2f2)][_0x3c1082(0x2f6)](this[_0x3c1082(0x285)]);return this['_handler'][_0x3c1082(0x392)]({'from':_0x33f9a3,'to':0x0}),this[_0x3c1082(0x3df)][_0x3c1082(0x474)](ee,this[_0x3c1082(0x285)],this[_0x3c1082(0x493)],null,[],null,[],this[_0x3c1082(0x358)]);}};Ne=Te([P(0x3,_0xd5eff8(_0x564b28)),P(0x4,_0xd5eff8(_0x3fbbf1)),P(0x5,_0x5056c7),P(0x6,_0x118563),P(0x7,_0x269a14),P(0x8,_0x599fa8),P(0x9,_0x55e026(J))],Ne);let ae=class extends Ce{constructor(_0x1b010f,_0x35a292,_0x10d011,_0x52da24,_0x1c784f,_0x3ab2f9,_0x564070,_0x40695b,_0x35fa1b,_0x494e26,_0x47547e,_0x59e21e,_0x52ef4a,_0x592384){var _0x302441=_0x4c3b0f;super(_0x1b010f,_0x35a292,null,_0x10d011,_0x52da24,_0x35fa1b,_0x52ef4a,_0x3ab2f9,_0x592384),N(this,'status','pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x302441(0x2f0),null),(this[_0x302441(0x3df)]=_0x1c784f,this['_memberService']=_0x564070,this[_0x302441(0x23f)]=_0x40695b,this[_0x302441(0x1b8)]=_0x494e26,this[_0x302441(0x47d)]=_0x47547e,this[_0x302441(0x3bd)]=_0x59e21e);}[_0x4c3b0f(0x421)](_0x784b9b){var _0x3d8b28=_0x4c3b0f;return this[_0x3d8b28(0x226)][_0x3d8b28(0x1f9)](_0x784b9b),this[_0x3d8b28(0x2a5)](),this;}[_0x4c3b0f(0x247)](_0x9bbc6e){var _0x493d62=_0x4c3b0f;if(this['_checkMissing'](_0x9bbc6e))return this[_0x493d62(0x3d6)](),this['_injector']['createInstance'](ee,this[_0x493d62(0x285)],this[_0x493d62(0x493)],null,this[_0x493d62(0x226)],null,[_0x9bbc6e],this[_0x493d62(0x358)]);try{const _0x2b74a5=this[_0x493d62(0x47d)][_0x493d62(0x47c)](_0x9bbc6e,this['_pendingMutations']);if(_0x46e709(_0x2b74a5)){const {c1Prime:_0x2d11d0,m2Prime:_0x3a6c00}=_0x2b74a5;this['_executeRemoteChangeset'](_0x2d11d0);const _0x55493c=this['_injector'][_0x493d62(0x474)](ae,this['unitID'],this[_0x493d62(0x493)],_0x3a6c00,this[_0x493d62(0x358)]);this['_clearScheduledTask']();const _0x57cb5c=new Date()[_0x493d62(0x43f)](),_0xcc60ba=this[_0x493d62(0x466)]?Math[_0x493d62(0x487)](this[_0x493d62(0x466)]-_0x57cb5c,0x0):this[_0x493d62(0x271)]();return _0x55493c[_0x493d62(0x3eb)](_0xcc60ba),_0x55493c;}throw _0x2b74a5[_0x493d62(0x1ab)];}catch(_0x1539eb){return this[_0x493d62(0x23f)][_0x493d62(0x1ab)](_0x1539eb),this[_0x493d62(0x221)](!0x1);}}[_0x4c3b0f(0x1c3)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x4c3b0f(0x3fb)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x4c3b0f(0x419)](){return this;}[_0x4c3b0f(0x385)](){var _0x2c8237=_0x4c3b0f;return this['_clearScheduledTask'](),this['_injector'][_0x2c8237(0x474)](de,this[_0x2c8237(0x285)],this[_0x2c8237(0x493)],null,this[_0x2c8237(0x226)],this['_handler']);}[_0x4c3b0f(0x412)](){return this;}[_0x4c3b0f(0x3eb)](_0x3bd222){var _0x2bc741=_0x4c3b0f;const _0xf2d55=_0x3bd222!=null?_0x3bd222:this[_0x2bc741(0x271)]();this[_0x2bc741(0x466)]=new Date()['getTime']()+_0xf2d55,this[_0x2bc741(0x2f0)]=setTimeout(()=>{var _0x480041=_0x2bc741;this[_0x480041(0x3d6)]();let _0x7c0ed1=null;switch(this[_0x480041(0x493)]){case Q[_0x480041(0x439)]:{_0x7c0ed1=qt(this['_pendingMutations'],this[_0x480041(0x285)],this['_univerInstanceService'],this[_0x480041(0x2f2)],this[_0x480041(0x296)]);break;}case Q['UNIVER_DOC']:{this[_0x480041(0x226)]['every'](_0x47e5f0=>_0x47e5f0['id']===_0x272a4f['id'])?_0x7c0ed1=ns(this[_0x480041(0x226)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x480041(0x296)]):_0x7c0ed1=qt(this[_0x480041(0x226)],this[_0x480041(0x285)],this[_0x480041(0x3bd)],this[_0x480041(0x2f2)],this[_0x480041(0x296)]);break;}default:throw new Error(_0x480041(0x34a)+this[_0x480041(0x493)]+_0x480041(0x31d));}const {changeset:_0x42d749,pendingMutations:_0x2b24ae}=_0x7c0ed1;this['_handler']['onSendChangeset'](_0x42d749);const _0x96e82d=_0x2b24ae[_0x480041(0x406)]?this[_0x480041(0x3df)][_0x480041(0x474)](oe,this[_0x480041(0x285)],this[_0x480041(0x493)],_0x42d749,_0x2b24ae,this[_0x480041(0x358)],void 0x0):this[_0x480041(0x3df)][_0x480041(0x474)](le,this[_0x480041(0x285)],this['type'],_0x42d749,this[_0x480041(0x358)]);_0x96e82d[_0x480041(0x2a5)](),this[_0x480041(0x358)][_0x480041(0x496)](this,_0x96e82d);},_0xf2d55);}[_0x4c3b0f(0x271)](){var _0x17154a=_0x4c3b0f,_0x1714b0;const _0x275cdd=this[_0x17154a(0x1b8)][_0x17154a(0x207)](q);return(_0x1714b0=_0x275cdd==null?void 0x0:_0x275cdd['sendChangesetTimeout'])!=null?_0x1714b0:En;}[_0x4c3b0f(0x27a)](){var _0x386077=_0x4c3b0f;throw new Error(_0x386077(0x264));}[_0x4c3b0f(0x3d6)](){var _0x2ef84c=_0x4c3b0f;this[_0x2ef84c(0x2f0)]!=null&&(clearTimeout(this[_0x2ef84c(0x2f0)]),this[_0x2ef84c(0x2f0)]=null);}['_onConflict'](_0x5043f8){var _0x46b732=_0x4c3b0f;return this[_0x46b732(0x3d6)](),this[_0x46b732(0x3df)]['createInstance'](ue,this[_0x46b732(0x285)],this[_0x46b732(0x493)],null,this['_pendingMutations'],this['_handler'],_0x5043f8);}};ae=Te([P(0x4,_0xd5eff8(_0x3fbbf1)),P(0x5,_0xd5eff8(_0x564b28)),P(0x6,_0xd5eff8(Le)),P(0x7,_0x269a14),P(0x8,_0x118563),P(0x9,_0x5d9548),P(0xa,_0x599fa8),P(0xb,_0x5f561f),P(0xc,_0x5056c7),P(0xd,_0x55e026(J))],ae);let le=class extends Ce{constructor(_0x394922,_0xed361b,_0x53aa39,_0x23d7df,_0x49ae50,_0x2c7289,_0x58e665,_0x5b5971,_0x580ab5,_0x2d7924,_0x275144){var _0x28182a=_0x4c3b0f;super(_0x394922,_0xed361b,_0x53aa39,[],_0x23d7df,_0x58e665,_0x2d7924,_0x2c7289,_0x275144),N(this,'status','awaiting'),N(this,_0x28182a(0x41d),0x0),N(this,_0x28182a(0x42e)),N(this,'_sender'),(this['_injector']=_0x49ae50,this[_0x28182a(0x23f)]=_0x5b5971,this['_transformService']=_0x580ab5);}[_0x4c3b0f(0x421)](_0x196e43){var _0x4287ac=_0x4c3b0f;this[_0x4287ac(0x3d6)]();const _0xfd3945=this[_0x4287ac(0x3df)][_0x4287ac(0x474)](oe,this[_0x4287ac(0x285)],this[_0x4287ac(0x493)],this[_0x4287ac(0x291)],[_0x196e43],this['_handler'],this[_0x4287ac(0x42e)]);return _0xfd3945[_0x4287ac(0x2a5)](),_0xfd3945;}[_0x4c3b0f(0x247)](_0x3035c3){var _0xc2a18c=_0x4c3b0f;if(this[_0xc2a18c(0x1a1)](_0x3035c3))return this[_0xc2a18c(0x3d6)](),this[_0xc2a18c(0x3df)][_0xc2a18c(0x474)](ee,this[_0xc2a18c(0x285)],this[_0xc2a18c(0x493)],this[_0xc2a18c(0x291)],[],null,[_0x3035c3],this['_handler']);try{const _0x1e3068=this['_transformService'][_0xc2a18c(0x3fe)]([_0x3035c3],[this[_0xc2a18c(0x291)]],!0x1);if(_0x5c0883(_0x1e3068)){const {c1Prime:_0x239de9,c2Prime:_0xd175e3}=_0x1e3068;this[_0xc2a18c(0x45c)](_0x239de9[0x0]),_0xd175e3[0x0][_0xc2a18c(0x1c6)]=this[_0xc2a18c(0x1c2)](),this['_clearScheduledTask']();const _0x26371b=this[_0xc2a18c(0x3df)]['createInstance'](le,this[_0xc2a18c(0x285)],this[_0xc2a18c(0x493)],_0xd175e3[0x0],this[_0xc2a18c(0x358)]);return _0x26371b['_updateLocalCache'](),_0x26371b;}return this[_0xc2a18c(0x221)](!0x1);}catch(_0x17ccce){return this[_0xc2a18c(0x23f)][_0xc2a18c(0x1ab)](_0x17ccce),this['_onConflict'](!0x1);}}[_0x4c3b0f(0x1c3)](_0x4248ae){var _0xe17727=_0x4c3b0f;this[_0xe17727(0x3d6)]();const _0x33b91a=this[_0xe17727(0x2f2)][_0xe17727(0x2f6)](this['unitID']);if(_0x4248ae['revision']<_0x33b91a-0x1)return this;if(this[_0xe17727(0x1a1)](_0x4248ae))return this[_0xe17727(0x3df)][_0xe17727(0x474)](ee,this[_0xe17727(0x285)],this[_0xe17727(0x493)],null,[],this['_awaitingChangeset'],[],this[_0xe17727(0x358)]);this[_0xe17727(0x353)]();const _0x18adb1=this[_0xe17727(0x3df)][_0xe17727(0x474)](Ne,this[_0xe17727(0x285)],this['type'],this[_0xe17727(0x358)]);return _0x18adb1['_updateLocalCache'](),_0x18adb1;}[_0x4c3b0f(0x3fb)](_0x5b5d31){var _0x33ac0a=_0x4c3b0f;return this[_0x33ac0a(0x221)](!!(_0x5b5d31!=null&&_0x5b5d31['isPermissionRej']));}[_0x4c3b0f(0x419)](_0x4164ce){var _0x3aaa62=_0x4c3b0f;return this[_0x3aaa62(0x41d)]>Oi?this['toggleOffline']():(this[_0x3aaa62(0x42e)]=Ri(this[_0x3aaa62(0x41d)],{'timeout':this[_0x3aaa62(0x41d)],'reqId':_0x4164ce['reqId']}),this['_sender']=this[_0x3aaa62(0x42e)][_0x3aaa62(0x2d4)](({reqId:_0x3ecc33,timeout:_0x423c95})=>{this['_resendWithTimeout'](_0x3ecc33,_0x423c95);}),this);}[_0x4c3b0f(0x385)](){var _0x236647=_0x4c3b0f;return this[_0x236647(0x3d6)](),this[_0x236647(0x3df)][_0x236647(0x474)](de,this[_0x236647(0x285)],this[_0x236647(0x493)],this[_0x236647(0x291)],[],this[_0x236647(0x358)]);}[_0x4c3b0f(0x412)](){return this;}[_0x4c3b0f(0x27a)](){var _0x3ee46d=_0x4c3b0f;this[_0x3ee46d(0x358)][_0x3ee46d(0x2cf)](this['_awaitingChangeset']);}['_onConflict'](_0x545433){var _0x59b7c4=_0x4c3b0f;return this['_clearScheduledTask'](),this[_0x59b7c4(0x3df)][_0x59b7c4(0x474)](ue,this[_0x59b7c4(0x285)],this[_0x59b7c4(0x493)],this[_0x59b7c4(0x291)],[],this['_handler'],_0x545433);}[_0x4c3b0f(0x486)](_0x5a9eca,_0xb0d106){var _0x28553c=_0x4c3b0f,_0x5bb8ed;_0x5a9eca===((_0x5bb8ed=this[_0x28553c(0x291)])==null?void 0x0:_0x5bb8ed['reqId'])&&(this[_0x28553c(0x27a)](),this['_resendTimeout']=_0xb0d106===0x0?0x3e8:_0xb0d106*0x2);}[_0x4c3b0f(0x3d6)](){var _0x4153d3=_0x4c3b0f,_0x50a0c0;(_0x50a0c0=this['_sender'])==null||_0x50a0c0['unsubscribe'](),this[_0x4153d3(0x41d)]=0x0;}};le=Te([P(0x4,_0xd5eff8(_0x3fbbf1)),P(0x5,_0xd5eff8(_0x564b28)),P(0x6,_0x118563),P(0x7,_0x269a14),P(0x8,_0x599fa8),P(0x9,_0x5056c7),P(0xa,_0x55e026(J))],le);let oe=class extends Ce{constructor(_0x19d7ef,_0x57801d,_0x160009,_0xaf447d,_0x5eb4be,_0x20b49d,_0x33096d,_0x520131,_0x1f9f97,_0x85b712,_0x4dfe37,_0x419277,_0x4a7eea){var _0x4087c7=_0x4c3b0f;super(_0x19d7ef,_0x57801d,_0x160009,_0xaf447d,_0x5eb4be,_0x1f9f97,_0x419277,_0x520131,_0x4a7eea),N(this,_0x4087c7(0x265),'awaiting_with_pending'),N(this,_0x4087c7(0x41d),0x0),N(this,_0x4087c7(0x42e)),N(this,_0x4087c7(0x1e1)),(this[_0x4087c7(0x3df)]=_0x33096d,this[_0x4087c7(0x23f)]=_0x85b712,this[_0x4087c7(0x47d)]=_0x4dfe37,this[_0x4087c7(0x3ad)]=_0x4a7eea,_0x20b49d&&(this['_resendTimer']=_0x20b49d,this[_0x4087c7(0x1e1)]=this[_0x4087c7(0x42e)][_0x4087c7(0x2d4)](({reqId:_0x15a989,timeout:_0x13adba})=>{this['_resendWithTimeout'](_0x15a989,_0x13adba);})));}[_0x4c3b0f(0x421)](_0x6c3ce6){var _0x573460=_0x4c3b0f;return this[_0x573460(0x226)]['push'](_0x6c3ce6),this;}[_0x4c3b0f(0x247)](_0x354eeb){var _0x2120c4=_0x4c3b0f;if(this[_0x2120c4(0x1a1)](_0x354eeb))return this['_clearScheduledTask'](),this[_0x2120c4(0x3df)][_0x2120c4(0x474)](ee,this[_0x2120c4(0x285)],this[_0x2120c4(0x493)],this[_0x2120c4(0x291)],this[_0x2120c4(0x226)],null,[_0x354eeb],this[_0x2120c4(0x358)]);try{const _0x3ffa25=this[_0x2120c4(0x47d)][_0x2120c4(0x3fe)]([_0x354eeb],[this['_awaitingChangeset']],!0x1);if(_0x5c0883(_0x3ffa25)){const {c1Prime:_0x450b91,c2Prime:_0x1f478d}=_0x3ffa25,_0x2dcaee=this[_0x2120c4(0x47d)][_0x2120c4(0x47c)](_0x450b91[0x0],this['_pendingMutations']);if(_0x46e709(_0x2dcaee)){const {c1Prime:_0x56db73,m2Prime:_0x49cd13}=_0x2dcaee;return this[_0x2120c4(0x45c)](_0x56db73),_0x1f478d[0x0]['baseRev']=this[_0x2120c4(0x1c2)](),this[_0x2120c4(0x3d6)](),this[_0x2120c4(0x3df)][_0x2120c4(0x474)](oe,this['unitID'],this[_0x2120c4(0x493)],_0x1f478d[0x0],_0x49cd13,this[_0x2120c4(0x358)],void 0x0);}throw _0x2dcaee[_0x2120c4(0x1ab)];}throw _0x3ffa25[_0x2120c4(0x1ab)];}catch(_0x5a367a){return this['_logService']['error'](_0x5a367a),this['_onConflict'](!0x1);}}[_0x4c3b0f(0x1c3)](_0x33f3dc){var _0x4d5cb8=_0x4c3b0f;if(this['_clearScheduledTask'](),this[_0x4d5cb8(0x1a1)](_0x33f3dc))return this['_injector'][_0x4d5cb8(0x474)](ee,this['unitID'],this[_0x4d5cb8(0x493)],null,this[_0x4d5cb8(0x226)],this[_0x4d5cb8(0x291)],[],this[_0x4d5cb8(0x358)]);this[_0x4d5cb8(0x353)]();const _0x141582=this[_0x4d5cb8(0x3df)][_0x4d5cb8(0x474)](ae,this[_0x4d5cb8(0x285)],this['type'],this[_0x4d5cb8(0x226)],this[_0x4d5cb8(0x358)]);return _0x141582[_0x4d5cb8(0x3eb)](),_0x141582['_updateLocalCache'](),_0x141582;}[_0x4c3b0f(0x3fb)](_0x4e6f39){var _0x289ec9=_0x4c3b0f;return this[_0x289ec9(0x221)](!!(_0x4e6f39!=null&&_0x4e6f39[_0x289ec9(0x327)]));}['onRemoteRetry'](_0x373112){var _0x5886f3=_0x4c3b0f;return this[_0x5886f3(0x41d)]>Oi?this[_0x5886f3(0x385)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this[_0x5886f3(0x41d)],'reqId':_0x373112['reqId']}),this[_0x5886f3(0x1e1)]=this[_0x5886f3(0x42e)][_0x5886f3(0x2d4)](({reqId:_0x924dd1,timeout:_0x41b495})=>{var _0x2d70df=_0x5886f3;this[_0x2d70df(0x486)](_0x924dd1,_0x41b495);}),this);}[_0x4c3b0f(0x385)](){var _0x543824=_0x4c3b0f;return this[_0x543824(0x3d6)](),this[_0x543824(0x3df)][_0x543824(0x474)](de,this['unitID'],this[_0x543824(0x493)],this[_0x543824(0x291)],this[_0x543824(0x226)],this['_handler']);}[_0x4c3b0f(0x412)](){return this;}[_0x4c3b0f(0x27a)](){var _0x4571a7=_0x4c3b0f;this[_0x4571a7(0x358)]['onSendChangeset'](this[_0x4571a7(0x291)]);}[_0x4c3b0f(0x221)](_0x2153aa){var _0x3eb2fd=_0x4c3b0f;return this[_0x3eb2fd(0x3d6)](),this[_0x3eb2fd(0x3df)]['createInstance'](ue,this['unitID'],this[_0x3eb2fd(0x493)],null,this[_0x3eb2fd(0x226)],this[_0x3eb2fd(0x358)],_0x2153aa);}[_0x4c3b0f(0x486)](_0x4004a3,_0x18391f){var _0x386933=_0x4c3b0f,_0x461eee;_0x4004a3===((_0x461eee=this['_awaitingChangeset'])==null?void 0x0:_0x461eee[_0x386933(0x382)])&&(this[_0x386933(0x27a)](),this[_0x386933(0x41d)]=_0x18391f===0x0?0x3e8:_0x18391f*0x2);}['_clearScheduledTask'](){var _0x5aafc5=_0x4c3b0f,_0x57b8dd;(_0x57b8dd=this[_0x5aafc5(0x1e1)])==null||_0x57b8dd['unsubscribe'](),this[_0x5aafc5(0x41d)]=0x0;}};oe=Te([P(0x6,_0xd5eff8(_0x3fbbf1)),P(0x7,_0xd5eff8(_0x564b28)),P(0x8,_0x118563),P(0x9,_0x269a14),P(0xa,_0x599fa8),P(0xb,_0x5056c7),P(0xc,_0x55e026(J))],oe);let ue=class extends Ce{constructor(_0x241452,_0x5a55e1,_0xfb510a,_0x47bf68,_0xfe2f,_0x4c8cf1=!0x1,_0x465757,_0x381048,_0x4d2527,_0x53d6a2,_0xb37532,_0x4e2ae3,_0x4c9b10){var _0x424d6f=_0x4c3b0f;super(_0x241452,_0x5a55e1,_0xfb510a,_0x47bf68,_0xfe2f,_0x381048,_0x4d2527,_0x53d6a2,_0x4c9b10),N(this,_0x424d6f(0x265),'conflict'),(this[_0x424d6f(0x24f)]=_0x4c8cf1,this[_0x424d6f(0x287)]=_0x465757,this['_localeService']=_0xb37532,this[_0x424d6f(0x431)]=_0x4e2ae3,this['localCacheService']=_0x4c9b10,this[_0x424d6f(0x3c6)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x4c3b0f(0x421)](){return this;}[_0x4c3b0f(0x247)](){return this;}[_0x4c3b0f(0x1c3)](){return this;}[_0x4c3b0f(0x3fb)](){return this;}[_0x4c3b0f(0x419)](){return this;}[_0x4c3b0f(0x385)](){return this;}['toggleOnline'](){return this;}[_0x4c3b0f(0x27a)](){var _0x38d6fe=_0x4c3b0f;throw new Error(_0x38d6fe(0x1f7));}[_0x4c3b0f(0x1fd)](){var _0x51a731=_0x4c3b0f,_0x31864c;(_0x31864c=this[_0x51a731(0x20c)])==null||_0x31864c[_0x51a731(0x418)](this[_0x51a731(0x285)],this[_0x51a731(0x493)],null,[]);}['_showConflictNotification'](){var _0x5bbdb0=_0x4c3b0f;this['_isPermissionRej']?this[_0x5bbdb0(0x431)][_0x5bbdb0(0x334)]({'id':re[_0x5bbdb0(0x22a)]}):this[_0x5bbdb0(0x431)][_0x5bbdb0(0x334)]({'id':re['CONFLICT']});}[_0x4c3b0f(0x373)](){var _0x136c66=_0x4c3b0f;this['_permissionService'][_0x136c66(0x25c)](new _0x875595(this[_0x136c66(0x285)])['id'],!0x1);}};ue=Te([P(0x6,_0xd5eff8(_0x1c0607)),P(0x7,_0x118563),P(0x8,_0x5056c7),P(0x9,_0xd5eff8(_0x564b28)),P(0xa,_0xd5eff8(_0xf39570)),P(0xb,_0xd5eff8(pe)),P(0xc,_0x55e026(J))],ue);let de=class extends Ce{constructor(_0x869c7c,_0x841469,_0x373d2c,_0xda760c,_0x1318ca,_0x2892f8,_0x5146d0,_0x2b86cf,_0x4cf4b5,_0x1439db){var _0x5f23fe=_0x4c3b0f;super(_0x869c7c,_0x841469,_0x373d2c,_0xda760c,_0x1318ca,_0x2b86cf,_0x4cf4b5,_0x5146d0,_0x1439db),N(this,_0x5f23fe(0x265),_0x5f23fe(0x34b)),this[_0x5f23fe(0x3df)]=_0x2892f8;}[_0x4c3b0f(0x421)](_0x253c5d){var _0x53d8a8=_0x4c3b0f;return this[_0x53d8a8(0x226)][_0x53d8a8(0x1f9)](_0x253c5d),this[_0x53d8a8(0x2a5)](),this;}[_0x4c3b0f(0x247)](_0x2b468c){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x4c3b0f(0x1c3)](){var _0x8ae713=_0x4c3b0f;throw new Error(_0x8ae713(0x2f7));}['onRemoteRej'](){var _0x1d9ecb=_0x4c3b0f;throw new Error(_0x1d9ecb(0x40e));}[_0x4c3b0f(0x419)](){return this;}[_0x4c3b0f(0x385)](){return this;}[_0x4c3b0f(0x412)](){var _0x2ef9df=_0x4c3b0f;const {_injector:_0xc29d6f,_pendingMutations:_0x4c565a,_awaitingChangeset:_0x17d8cb,unitID:_0x152a73,_handler:_0xddf355,type:_0x2f8bf3}=this,_0x257c16=yi(_0xc29d6f,_0x152a73,_0x2f8bf3,_0x17d8cb,_0x4c565a,_0xddf355);return _0x257c16 instanceof ae?_0x257c16[_0x2ef9df(0x3eb)]():(_0x257c16 instanceof oe||_0x257c16 instanceof le)&&_0x257c16['resend'](),_0x257c16;}[_0x4c3b0f(0x27a)](){var _0x44b91e=_0x4c3b0f;throw new Error(_0x44b91e(0x20d));}};de=Te([P(0x5,_0xd5eff8(_0x3fbbf1)),P(0x6,_0xd5eff8(_0x564b28)),P(0x7,_0x118563),P(0x8,_0x5056c7),P(0x9,_0x55e026(J))],de);let ee=class extends Ce{constructor(_0x8715c7,_0x569bf1,_0x5cfaed,_0x28b2cd,_0x397839,_0x2eea5b,_0x5471c7,_0xc5c4e6,_0x544a36,_0x5cc990,_0x561816,_0x57b2b0,_0x402fa9,_0x31dbcc){var _0x14893c=_0x4c3b0f;super(_0x8715c7,_0x569bf1,_0x5cfaed,_0x28b2cd,_0x5471c7,_0x561816,_0x57b2b0,_0x544a36,_0x31dbcc),N(this,_0x14893c(0x265),_0x14893c(0x1ec)),(this[_0x14893c(0x1b6)]=_0x397839,this[_0x14893c(0x2de)]=_0x2eea5b,this[_0x14893c(0x3df)]=_0xc5c4e6,this['_logService']=_0x5cc990,this[_0x14893c(0x47d)]=_0x402fa9,this['localCacheService']=_0x31dbcc);}[_0x4c3b0f(0x479)](_0x9ff8cb){var _0x7688ab=_0x4c3b0f;try{const _0x361b15=[..._0x9ff8cb,...this[_0x7688ab(0x2de)]],_0x1b2cde=[this[_0x7688ab(0x291)]||this[_0x7688ab(0x1b6)]][_0x7688ab(0x1a7)](_0x26fe94=>!!_0x26fe94);let _0x5b3657,_0x54f840;if(_0x1b2cde[_0x7688ab(0x406)]){const _0x390294=this[_0x7688ab(0x47d)][_0x7688ab(0x3fe)](_0x361b15,_0x1b2cde,!0x1);if(!_0x5c0883(_0x390294))throw _0x390294[_0x7688ab(0x1ab)];_0x5b3657=_0x390294[_0x7688ab(0x2c6)],_0x54f840=_0x390294[_0x7688ab(0x1d3)];}else _0x5b3657=_0x361b15,_0x54f840=[];let _0x27a5e0=this[_0x7688ab(0x226)];_0x5b3657[_0x7688ab(0x1ba)](_0x27df45=>{var _0x5cb862=_0x7688ab;let _0x5e0a1b;if(_0x27a5e0['length']){const _0x1a7929=this[_0x5cb862(0x47d)]['transformMutationsWithChangeset'](_0x27df45,_0x27a5e0);if(!_0x46e709(_0x1a7929))throw _0x1a7929[_0x5cb862(0x1ab)];_0x5e0a1b=_0x1a7929[_0x5cb862(0x2c6)],_0x27a5e0=_0x1a7929[_0x5cb862(0x20b)];}else _0x5e0a1b=_0x27df45;this[_0x5cb862(0x45c)](_0x5e0a1b);}),this['_acknowledgedAwaitingChangeset']&&this[_0x7688ab(0x353)](),this[_0x7688ab(0x291)]&&_0x54f840['length']&&(_0x54f840[0x0][_0x7688ab(0x1c6)]=this[_0x7688ab(0x1c2)]());let _0x565f07;if(this[_0x7688ab(0x291)]&&_0x27a5e0[_0x7688ab(0x406)]!==0x0)_0x565f07=this[_0x7688ab(0x3df)][_0x7688ab(0x474)](oe,this[_0x7688ab(0x285)],this[_0x7688ab(0x493)],_0x54f840[0x0],_0x27a5e0,this['_handler'],void 0x0);else{if(this[_0x7688ab(0x291)]&&_0x27a5e0[_0x7688ab(0x406)]===0x0)_0x54f840[0x0][_0x7688ab(0x1c6)]=this[_0x7688ab(0x1c2)](),_0x565f07=this[_0x7688ab(0x3df)][_0x7688ab(0x474)](le,this['unitID'],this[_0x7688ab(0x493)],_0x54f840[0x0],this['_handler']);else{if(_0x27a5e0[_0x7688ab(0x406)]!==0x0){const _0x14984c=this['_injector'][_0x7688ab(0x474)](ae,this[_0x7688ab(0x285)],this[_0x7688ab(0x493)],_0x27a5e0,this[_0x7688ab(0x358)]);_0x14984c[_0x7688ab(0x3eb)](),_0x565f07=_0x14984c;}else _0x565f07=this[_0x7688ab(0x3df)]['createInstance'](Ne,this['unitID'],this[_0x7688ab(0x493)],this[_0x7688ab(0x358)]);}}return _0x565f07[_0x7688ab(0x2a5)](),_0x565f07;}catch(_0x5696df){return this['_logService'][_0x7688ab(0x1ab)](_0x7688ab(0x2d7),_0x7688ab(0x348),_0x5696df),this[_0x7688ab(0x3df)][_0x7688ab(0x474)](ue,this[_0x7688ab(0x285)],this[_0x7688ab(0x493)],this[_0x7688ab(0x291)],this['_pendingMutations'],this[_0x7688ab(0x358)],!0x1);}}[_0x4c3b0f(0x27a)](){var _0x4c31c1=_0x4c3b0f;throw new Error(_0x4c31c1(0x3da));}[_0x4c3b0f(0x421)](_0x261a64){var _0x45596c=_0x4c3b0f;return this[_0x45596c(0x226)][_0x45596c(0x1f9)](_0x261a64),this;}[_0x4c3b0f(0x247)](_0x523880){var _0x33d991=_0x4c3b0f;return this['_queuedRemoteChangesets'][_0x33d991(0x1f9)](_0x523880),this;}[_0x4c3b0f(0x1c3)](_0x1d8a66){var _0x5acf7e=_0x4c3b0f;if(this[_0x5acf7e(0x291)])return this['_acknowledgedAwaitingChangeset']=this[_0x5acf7e(0x291)],this['_awaitingChangeset']=null,this;throw new Error(_0x5acf7e(0x261));}[_0x4c3b0f(0x3fb)](_0x4447f8){var _0x37cf63=_0x4c3b0f;return this[_0x37cf63(0x221)](!!(_0x4447f8!=null&&_0x4447f8['isPermissionRej']));}[_0x4c3b0f(0x419)](){return this;}[_0x4c3b0f(0x385)](){var _0x179167=_0x4c3b0f;return this['_injector'][_0x179167(0x474)](de,this['unitID'],this[_0x179167(0x493)],this[_0x179167(0x291)],this['_pendingMutations'],this[_0x179167(0x358)]);}['toggleOnline'](){return this;}[_0x4c3b0f(0x221)](_0x36c264){var _0x1db3c6=_0x4c3b0f;return this[_0x1db3c6(0x3df)]['createInstance'](ue,this[_0x1db3c6(0x285)],this[_0x1db3c6(0x493)],this['_awaitingChangeset'],this[_0x1db3c6(0x226)],this['_handler'],_0x36c264);}};ee=Te([P(0x7,_0xd5eff8(_0x3fbbf1)),P(0x8,_0xd5eff8(_0x564b28)),P(0x9,_0x269a14),P(0xa,_0x118563),P(0xb,_0x5056c7),P(0xc,_0x599fa8),P(0xd,_0x55e026(J))],ee);function yi(_0x3a84ba,_0x53022b,_0x159323,_0x1f3400,_0x46ffb8,_0x53eec7){var _0x25edb4=_0x4c3b0f;return _0x1f3400&&_0x46ffb8['length']?_0x3a84ba[_0x25edb4(0x474)](oe,_0x53022b,_0x159323,_0x1f3400,_0x46ffb8,_0x53eec7,void 0x0):_0x1f3400?_0x3a84ba[_0x25edb4(0x474)](le,_0x53022b,_0x159323,_0x1f3400,_0x53eec7):_0x46ffb8['length']?_0x3a84ba[_0x25edb4(0x474)](ae,_0x53022b,_0x159323,_0x46ffb8,_0x53eec7):_0x3a84ba['createInstance'](Ne,_0x53022b,_0x159323,_0x53eec7);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x3fdbc7,_0x2d1223,_0x3169e4,_0x152ed6)=>{for(var _0x31965b=_0x152ed6>0x1?void 0x0:_0x152ed6?as(_0x2d1223,_0x3169e4):_0x2d1223,_0x4d649d=_0x3fdbc7['length']-0x1,_0x4ac35a;_0x4d649d>=0x0;_0x4d649d--)(_0x4ac35a=_0x3fdbc7[_0x4d649d])&&(_0x31965b=_0x4ac35a(_0x31965b)||_0x31965b);return _0x31965b;},H=(_0x1537a0,_0x1afe30)=>(_0x144d51,_0x3ad092)=>_0x1afe30(_0x144d51,_0x3ad092,_0x1537a0);let nt=class extends _0x4391cf{constructor(_0x2800bb,_0x2a5467,_0x52a4f0,_0x44ba4f,_0x58405a,_0x9959b4,_0xccbb0f,_0x37e195,_0x2284de,_0x2f0dce,_0x3b8fe1,_0x30cae0,_0x432659){var _0x5abd1b=_0x4c3b0f;super(),N(this,_0x5abd1b(0x2a6),new _0x476957(null)),N(this,_0x5abd1b(0x2d2),this[_0x5abd1b(0x2a6)][_0x5abd1b(0x236)]()),N(this,_0x5abd1b(0x2fe)),N(this,_0x5abd1b(0x396),!0x1),N(this,_0x5abd1b(0x1db),''),N(this,_0x5abd1b(0x339),0x0),N(this,'status$',this[_0x5abd1b(0x2d2)]['pipe'](_0x1368ff(_0x151097=>_0x151097?_0x151097[_0x5abd1b(0x265)]:bi[_0x5abd1b(0x237)]),_0x4daca0(0x1))),N(this,_0x5abd1b(0x37b),!0x1),N(this,_0x5abd1b(0x3e9),[]),(this['unitID']=_0x2800bb,this[_0x5abd1b(0x31f)]=_0x2a5467,this[_0x5abd1b(0x2fd)]=_0x52a4f0,this[_0x5abd1b(0x3df)]=_0x44ba4f,this['_compressMutationService']=_0x58405a,this[_0x5abd1b(0x3ff)]=_0x9959b4,this[_0x5abd1b(0x2f2)]=_0xccbb0f,this[_0x5abd1b(0x1cc)]=_0x37e195,this['_logService']=_0x2284de,this[_0x5abd1b(0x2e9)]=_0x2f0dce,this['_permissionService']=_0x3b8fe1,this[_0x5abd1b(0x46b)]=_0x30cae0,this[_0x5abd1b(0x20c)]=_0x432659);}get[_0x4c3b0f(0x2dd)](){var _0x326940=_0x4c3b0f;return this[_0x326940(0x2fe)];}async[_0x4c3b0f(0x1d6)](){var _0x3bdfbe=_0x4c3b0f;if(this[_0x3bdfbe(0x2dd)])throw new Error(_0x3bdfbe(0x2c7));await this[_0x3bdfbe(0x21d)]();}[_0x4c3b0f(0x317)](){var _0x62caf5=_0x4c3b0f;return this[_0x62caf5(0x396)]=!0x0,_0x5d0773(()=>{var _0x1111ae=_0x62caf5;this[_0x1111ae(0x396)]=!0x1,this[_0x1111ae(0x3ee)]();});}['onLocalMutation'](_0x27baf2){var _0xa4c0e2=_0x4c3b0f;this[_0xa4c0e2(0x230)](_0x27baf2);}['_updateState'](_0x170211){var _0x1e2aeb=_0x4c3b0f;this[_0x1e2aeb(0x2fe)]=_0x170211,this['_state$'][_0x1e2aeb(0x340)](_0x170211);}async['_init'](){var _0x22883e=_0x4c3b0f,_0x31105c;this[_0x22883e(0x44a)](await this['_createInitialState']()),this[_0x22883e(0x46b)]&&((_0x31105c=this[_0x22883e(0x46b)])==null||_0x31105c[_0x22883e(0x367)](this['unitID']),this[_0x22883e(0x32c)](this['_singleActiveUnitService'][_0x22883e(0x2db)](this[_0x22883e(0x285)])[_0x22883e(0x2d4)](_0x35366f=>{var _0x400022=_0x22883e;this[_0x400022(0x23f)][_0x400022(0x2cd)]('[CollaborationEntity]',_0x400022(0x2c3),_0x35366f),_0x35366f===Ci['OTHER_CLIENTS_EDITING']?(this[_0x400022(0x1cc)][_0x400022(0x334)]({'id':re[_0x400022(0x300)]}),this[_0x400022(0x287)][_0x400022(0x25c)](new _0x875595(this['unitID'])['id'],!0x1),this[_0x400022(0x287)][_0x400022(0x3bb)](!0x1)):(this[_0x400022(0x287)]['updatePermissionPoint'](new _0x875595(this[_0x400022(0x285)])['id'],!0x0),this[_0x400022(0x287)][_0x400022(0x3bb)](!0x0));})));let _0x52c1da=!0x1;return this[_0x22883e(0x32c)](this[_0x22883e(0x31f)][_0x22883e(0x2ad)][_0x22883e(0x2d4)](_0x3bbbef=>{var _0xf4b82b=_0x22883e;_0x3bbbef===Ee[_0xf4b82b(0x3e2)]?this[_0xf4b82b(0x1fa)](_0x52c1da):_0x3bbbef===Ee[_0xf4b82b(0x237)]&&(_0x52c1da=!0x0,this[_0xf4b82b(0x21b)]());})),this[_0x22883e(0x32c)](this['session'][_0x22883e(0x31b)][_0x22883e(0x2d4)](_0x983cf1=>{var _0x5d07ad=_0x22883e;try{switch(_0x983cf1[_0x5d07ad(0x381)]){case _0x420cf9['NEW_CHANGESETS']:{this[_0x5d07ad(0x26e)](_0x3d214b(_0x983cf1['data']));break;}case _0x420cf9['CHANGESET_ACK']:{this[_0x5d07ad(0x33d)](_0x983cf1[_0x5d07ad(0x2f8)]);break;}case _0x420cf9[_0x5d07ad(0x372)]:{this[_0x5d07ad(0x29f)]();break;}case _0x420cf9[_0x5d07ad(0x36b)]:{this['_onRemoteRetry'](_0x983cf1[_0x5d07ad(0x2f8)]);break;}case _0x420cf9[_0x5d07ad(0x443)]:{this[_0x5d07ad(0x441)](_0x983cf1[_0x5d07ad(0x2f8)]['changesets']['map'](_0x13c44b=>_0x3d214b(_0x13c44b)));break;}case _0x420cf9[_0x5d07ad(0x1b0)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x420cf9[_0x5d07ad(0x32f)]:break;}}catch(_0x58bcf5){throw console['error'](_0x5d07ad(0x29a),_0x58bcf5),_0x58bcf5;}})),this[_0x22883e(0x2fe)];}['_unlockTransition'](){var _0x1e0865=_0x4c3b0f;this[_0x1e0865(0x37b)]=!0x1;}['_lockTransition'](){var _0x4e0162=_0x4c3b0f;if(this[_0x4e0162(0x37b)])throw new Error(_0x4e0162(0x422));this[_0x4e0162(0x37b)]=!0x0;}[_0x4c3b0f(0x230)](_0x5ae335){var _0x411cdd=_0x4c3b0f;this[_0x411cdd(0x3b2)](),this[_0x411cdd(0x44a)](this[_0x411cdd(0x2fe)]['appendMutation'](_0x5ae335)),this[_0x411cdd(0x33b)]();}[_0x4c3b0f(0x26e)](_0x12d131){var _0x551cba=_0x4c3b0f;if(!(_0x12d131[_0x551cba(0x3e4)]<=this[_0x551cba(0x2f2)][_0x551cba(0x2f6)](this[_0x551cba(0x285)]))){if(this[_0x551cba(0x396)]){this[_0x551cba(0x3e9)][_0x551cba(0x1f9)](_0x12d131);return;}this[_0x551cba(0x1ff)](_0x12d131);}}[_0x4c3b0f(0x3ee)](){var _0x26eec0=_0x4c3b0f;this[_0x26eec0(0x3e9)][_0x26eec0(0x1ba)](_0x54b6cd=>this[_0x26eec0(0x1ff)](_0x54b6cd)),this[_0x26eec0(0x3e9)]=[];}[_0x4c3b0f(0x1ff)](_0x1553e7){var _0x531790=_0x4c3b0f;const _0x245508=this[_0x531790(0x1de)]['interceptor']['fetchThroughInterceptors'](this[_0x531790(0x1de)]['interceptor'][_0x531790(0x2cb)]()[_0x531790(0x239)])(_0x1553e7[_0x531790(0x30b)],null)||_0x1553e7[_0x531790(0x30b)],_0x461ac8={..._0x1553e7,'mutations':_0x245508};this[_0x531790(0x3b2)](),this['_updateState'](this['_state'][_0x531790(0x247)](_0x461ac8)),this[_0x531790(0x33b)]();}[_0x4c3b0f(0x33d)](_0x11bdc1){var _0x584680=_0x4c3b0f;this['_lockTransition'](),this[_0x584680(0x44a)](this['_state'][_0x584680(0x1c3)](_0x11bdc1)),this[_0x584680(0x33b)]();}['_onRemoteRejected'](_0x178870){var _0xffc10e=_0x4c3b0f;this[_0xffc10e(0x3b2)](),this[_0xffc10e(0x44a)](this[_0xffc10e(0x2fe)]['onRemoteRej'](_0x178870)),this[_0xffc10e(0x33b)]();}['_onRemoteRetry'](_0x50c3ae){var _0x45faa6=_0x4c3b0f;this['_lockTransition'](),this[_0x45faa6(0x44a)](this[_0x45faa6(0x2fe)][_0x45faa6(0x419)](_0x50c3ae)),this[_0x45faa6(0x33b)]();}[_0x4c3b0f(0x441)](_0x2af6dd){var _0x176683=_0x4c3b0f;if(!(this[_0x176683(0x2fe)]instanceof ee))throw new TypeError(_0x176683(0x49b));const _0x588db9=_0x2af6dd[_0x176683(0x213)](_0x994747=>{var _0x55ae5b=_0x176683;const _0x5d79ab=this['_compressMutationService'][_0x55ae5b(0x344)][_0x55ae5b(0x3a4)](this[_0x55ae5b(0x1de)][_0x55ae5b(0x344)][_0x55ae5b(0x2cb)]()['COMPRESS_MUTATION_APPLY'])(_0x994747[_0x55ae5b(0x30b)],null)||_0x994747[_0x55ae5b(0x30b)];return{..._0x994747,'mutations':_0x5d79ab};});this[_0x176683(0x3b2)](),this['_updateState'](this[_0x176683(0x2fe)][_0x176683(0x479)](_0x588db9)),this[_0x176683(0x33b)]();}[_0x4c3b0f(0x21b)](){var _0x4bf8f2=_0x4c3b0f;this['_lockTransition'](),this[_0x4bf8f2(0x44a)](this[_0x4bf8f2(0x2fe)][_0x4bf8f2(0x385)]()),this[_0x4bf8f2(0x33b)]();}[_0x4c3b0f(0x1fa)](_0x12560e=!0x1){var _0x495d93=_0x4c3b0f;this['_lockTransition'](),this[_0x495d93(0x44a)](this[_0x495d93(0x2fe)]['toggleOnline']()),this[_0x495d93(0x33b)]();const _0x533ddf=this[_0x495d93(0x2fe)];_0x12560e&&_0x533ddf instanceof Ne&&(this[_0x495d93(0x3b2)](),this[_0x495d93(0x44a)](_0x533ddf[_0x495d93(0x25e)]()),this['_unlockTransition']());}async[_0x4c3b0f(0x3e7)](){return new Promise(_0x4ca3ed=>{var _0x264c73=_0x5e8e;this[_0x264c73(0x31f)][_0x264c73(0x2ad)][_0x264c73(0x21a)](_0x3b4e6b(0x1))[_0x264c73(0x2d4)](async _0x1cc769=>{var _0xa60ae0=_0x264c73;_0x4ca3ed(await this[_0xa60ae0(0x294)](_0x1cc769===Ee[_0xa60ae0(0x3e2)]));});});}[_0x4c3b0f(0x390)](){var _0x398318=_0x4c3b0f;const _0x75f813=this[_0x398318(0x285)];return{'onStateChange':(_0x22003d,_0x3ca789)=>{var _0x4ad282=_0x398318;if(_0x22003d!==this[_0x4ad282(0x2fe)])throw new Error(_0x4ad282(0x29d)+_0x22003d[_0x4ad282(0x265)]+_0x4ad282(0x313)+_0x3ca789[_0x4ad282(0x265)]+_0x4ad282(0x1c7)+this['_state'][_0x4ad282(0x265)]);this['_updateState'](_0x3ca789);},'onSendChangeset':_0x434bdc=>{var _0x246612=_0x398318;_0x434bdc[_0x246612(0x250)]||(_0x434bdc[_0x246612(0x250)]=this['_changesetSessionId'],_0x434bdc[_0x246612(0x382)]=++this[_0x246612(0x339)]);const _0x1203a6={'eventID':_0x420cf9[_0x246612(0x468)],'data':{'unitID':_0x434bdc[_0x246612(0x285)],'unitType':this[_0x246612(0x2fd)],'changeset':_0x434bdc,'memberID':this['session'][_0x246612(0x208)]()}};this['session'][_0x246612(0x43e)](_0x1203a6,this['unitID']);},'onMissingChangesets':({from:_0x2e554f,to:_0x14d263})=>{var _0x413ffb=_0x398318;this[_0x413ffb(0x23f)]['debug']('[CollaborationEntity]',_0x413ffb(0x24b)+_0x2e554f+_0x413ffb(0x494)+_0x14d263);const _0x53ba37={'eventID':_0x420cf9[_0x413ffb(0x227)],'data':{'unitID':_0x75f813,'unitType':this['_type'],'from':_0x2e554f,'to':_0x14d263}};this['session']['send'](_0x53ba37,this['unitID']);}};}async[_0x4c3b0f(0x294)](_0x548083){var _0xa9af20=_0x4c3b0f,_0x53f16f,_0x569303,_0x79475c;const _0x11fc43=await((_0x53f16f=this['_localCacheService'])==null?void 0x0:_0x53f16f[_0xa9af20(0x3e1)](this['unitID'])),_0x511602=(_0x569303=_0x11fc43==null?void 0x0:_0x11fc43[_0xa9af20(0x30b)])!=null?_0x569303:[],_0x24bd58=(_0x79475c=_0x11fc43==null?void 0x0:_0x11fc43[_0xa9af20(0x258)])!=null?_0x79475c:null,_0x427b27=!!(_0x24bd58!=null&&_0x24bd58[_0xa9af20(0x250)])&&!!(_0x24bd58!=null&&_0x24bd58[_0xa9af20(0x382)]);this[_0xa9af20(0x1db)]=_0x427b27?_0x24bd58[_0xa9af20(0x250)]:Zn(),this['_changesetReqId']=_0x427b27?_0x24bd58[_0xa9af20(0x382)]:0x0;const _0x50bc11=this['unitID'];try{this[_0xa9af20(0x35c)](_0x24bd58,_0x511602);}catch(_0xc6796d){this[_0xa9af20(0x23f)][_0xa9af20(0x1ab)](_0xc6796d);}const _0x50ad01=this[_0xa9af20(0x390)]();if(_0x548083){const _0x54f3fd=yi(this[_0xa9af20(0x3df)],_0x50bc11,this['_type'],_0x24bd58,_0x511602,_0x50ad01);return _0x54f3fd instanceof ae?_0x54f3fd[_0xa9af20(0x3eb)]():(_0x54f3fd instanceof oe||_0x54f3fd instanceof le)&&_0x54f3fd[_0xa9af20(0x27a)](),_0x54f3fd;}return this[_0xa9af20(0x3df)][_0xa9af20(0x474)](de,_0x50bc11,this[_0xa9af20(0x2fd)],_0x24bd58,_0x511602,_0x50ad01);}[_0x4c3b0f(0x35c)](_0x444e39,_0xc1bf7e){var _0x1f95f5=_0x4c3b0f,_0xe7f07f,_0x46a370;const _0x5cb533=this[_0x1f95f5(0x1de)][_0x1f95f5(0x344)][_0x1f95f5(0x3a4)](this['_compressMutationService'][_0x1f95f5(0x344)][_0x1f95f5(0x2cb)]()[_0x1f95f5(0x239)]);(_0xe7f07f=_0x5cb533((_0x444e39==null?void 0x0:_0x444e39[_0x1f95f5(0x30b)])||[],null))==null||_0xe7f07f[_0x1f95f5(0x1ba)](_0x1a1161=>this[_0x1f95f5(0x2e9)]['executeCommand'](_0x1a1161['id'],_0x1a1161['params'])),(_0x46a370=_0x5cb533(_0xc1bf7e||[],null))==null||_0x46a370[_0x1f95f5(0x1ba)](_0x2bbccd=>this[_0x1f95f5(0x2e9)][_0x1f95f5(0x38e)](_0x2bbccd['id'],_0x2bbccd['params']));}};nt=Lt([H(0x3,_0xd5eff8(_0x3fbbf1)),H(0x4,_0xd5eff8(_0x703fa5)),H(0x5,_0xd5eff8(_0xf39570)),H(0x6,_0xd5eff8(_0x564b28)),H(0x7,_0xd5eff8(pe)),H(0x8,_0x269a14),H(0x9,_0x118563),H(0xa,_0x1c0607),H(0xb,_0x55e026(ht)),H(0xc,_0x55e026(J))],nt);let It=class extends nt{constructor(_0x2824e5,_0x8eb1af,_0x331a41,_0x4df826,_0x1c31a8,_0x45a492,_0xd4206a,_0x5103f2,_0x43cf0e,_0x9d2227,_0x2caa8d,_0xcb89f6,_0x3afa24){var _0x575d05=_0x4c3b0f;super(_0x2824e5,_0x331a41,_0x8eb1af,_0x4df826,_0x1c31a8,_0x45a492,_0xd4206a,_0x5103f2,_0x43cf0e,_0x9d2227,_0x2caa8d,_0xcb89f6,_0x3afa24),N(this,_0x575d05(0x269),null),(this['unitID']=_0x2824e5,this[_0x575d05(0x493)]=_0x8eb1af);}[_0x4c3b0f(0x3ac)](_0x138f7b){var _0x43749f=_0x4c3b0f;this[_0x43749f(0x269)]=_0x138f7b;}[_0x4c3b0f(0x42a)](){var _0x3f8438=_0x4c3b0f;this[_0x3f8438(0x269)]=null,super[_0x3f8438(0x42a)]();}[_0x4c3b0f(0x390)](){var _0x249e49=_0x4c3b0f;const _0x55d428=super['_createHandler']();return _0x55d428['onTransformIME']=_0x3f1991=>{var _0x1415ff=_0x5e8e,_0x3eae3c,_0x272948;return(_0x272948=(_0x3eae3c=this[_0x1415ff(0x269)])==null?void 0x0:_0x3eae3c['onTransformIME'])==null?void 0x0:_0x272948[_0x1415ff(0x3dc)](_0x3eae3c,_0x3f1991);},_0x55d428[_0x249e49(0x2e4)]=_0x31ee5a=>{var _0x4118f0=_0x249e49,_0x28a926,_0x1a9f3e;return(_0x1a9f3e=(_0x28a926=this[_0x4118f0(0x269)])==null?void 0x0:_0x28a926[_0x4118f0(0x2e4)])==null?void 0x0:_0x1a9f3e[_0x4118f0(0x3dc)](_0x28a926,_0x31ee5a);},_0x55d428[_0x249e49(0x365)]=_0x5043ad=>{var _0x4e1a7f=_0x249e49,_0x4bec00,_0x3b5118;return(_0x3b5118=(_0x4bec00=this['_handlerCallback'])==null?void 0x0:_0x4bec00[_0x4e1a7f(0x365)])==null?void 0x0:_0x3b5118['call'](_0x4bec00,_0x5043ad);},_0x55d428[_0x249e49(0x1b1)]=_0x5cfdad=>{var _0x8e5a1a=_0x249e49,_0x3286ab,_0x302f25;return(_0x302f25=(_0x3286ab=this[_0x8e5a1a(0x269)])==null?void 0x0:_0x3286ab[_0x8e5a1a(0x1b1)])==null?void 0x0:_0x302f25[_0x8e5a1a(0x3dc)](_0x3286ab,_0x5cfdad);},_0x55d428[_0x249e49(0x1ce)]=_0x30987f=>{var _0x3b1c8d=_0x249e49,_0x12b07c,_0x4f4e0d,_0x34212d;if(!((_0x12b07c=this[_0x3b1c8d(0x269)])!=null&&_0x12b07c['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x34212d=(_0x4f4e0d=this[_0x3b1c8d(0x269)])==null?void 0x0:_0x4f4e0d[_0x3b1c8d(0x1ce)])==null?void 0x0:_0x34212d[_0x3b1c8d(0x3dc)](_0x4f4e0d,_0x30987f);},_0x55d428['onTransformRemoteChangesetByStateCache']=_0xf36146=>{var _0x16551c=_0x249e49,_0x1023f1,_0x3aa019,_0x5daaae;if(!((_0x1023f1=this[_0x16551c(0x269)])!=null&&_0x1023f1[_0x16551c(0x1f2)]))throw new Error(_0x16551c(0x1e9));return(_0x5daaae=(_0x3aa019=this[_0x16551c(0x269)])==null?void 0x0:_0x3aa019[_0x16551c(0x1f2)])==null?void 0x0:_0x5daaae[_0x16551c(0x3dc)](_0x3aa019,_0xf36146);},_0x55d428;}async[_0x4c3b0f(0x21d)](){var _0x246549=_0x4c3b0f;const _0x59a5b2=await super[_0x246549(0x21d)]();return this[_0x246549(0x32c)](this[_0x246549(0x2e9)][_0x246549(0x33e)]((_0x3f61b3,_0x3fcbf6)=>{var _0x4462b6=_0x246549;if(_0x3f61b3[_0x4462b6(0x493)]!==_0x6cf444[_0x4462b6(0x2f1)]||_0x3fcbf6!=null&&_0x3fcbf6[_0x4462b6(0x424)]||_0x3fcbf6!=null&&_0x3fcbf6['onlyLocal']||_0x3f61b3['id']===_0x272a4f['id'])return;const _0xe3dbe2=_0x3f61b3[_0x4462b6(0x19c)];if((_0xe3dbe2==null?void 0x0:_0xe3dbe2['unitId'])!==this[_0x4462b6(0x285)])return;const _0x357908=_0x3f61b3,_0x3e52ce=this[_0x4462b6(0x1de)]['interceptor']['fetchThroughInterceptors'](this[_0x4462b6(0x1de)][_0x4462b6(0x344)][_0x4462b6(0x2cb)]()[_0x4462b6(0x2b4)])([_0x357908],null)||[_0x357908];this[_0x4462b6(0x230)](_0x3e52ce[0x0]);})),_0x59a5b2;}};It=Lt([H(0x3,_0xd5eff8(_0x3fbbf1)),H(0x4,_0xd5eff8(_0x703fa5)),H(0x5,_0xd5eff8(_0xf39570)),H(0x6,_0xd5eff8(_0x564b28)),H(0x7,_0xd5eff8(pe)),H(0x8,_0x269a14),H(0x9,_0x118563),H(0xa,_0x1c0607),H(0xb,_0x55e026(ht)),H(0xc,_0x55e026(J))],It);let Tt=class extends nt{constructor(_0x178457,_0x4a210e,_0x4ae9a1,_0x4a6bea,_0xa1e100,_0x3ac3a8,_0x1577cd,_0xda2b02,_0x3cf74d,_0x38c212,_0x369688,_0x474bb5,_0xb6d8b7,_0x19b5f2){var _0x221268=_0x4c3b0f;super(_0x178457,_0x4ae9a1,_0x4a210e,_0x4a6bea,_0xa1e100,_0x3ac3a8,_0x1577cd,_0x3cf74d,_0x38c212,_0x369688,_0x474bb5,_0xb6d8b7,_0x19b5f2),this[_0x221268(0x285)]=_0x178457,this[_0x221268(0x493)]=_0x4a210e,this[_0x221268(0x2ca)]=_0xda2b02;}[_0x4c3b0f(0x390)](){var _0x3d26da=_0x4c3b0f;const _0x8e3d1f=super[_0x3d26da(0x390)]();return _0x8e3d1f[_0x3d26da(0x365)]=_0x4c1b10=>this['_sheetTransformSelectionsService'][_0x3d26da(0x1e6)](_0x4c1b10),_0x8e3d1f;}async[_0x4c3b0f(0x21d)](){var _0x4a42a0=_0x4c3b0f;const _0x21ff23=await super[_0x4a42a0(0x21d)]();return this[_0x4a42a0(0x32c)](this[_0x4a42a0(0x2e9)][_0x4a42a0(0x33e)]((_0x4915f1,_0x29d04f)=>{var _0x3f427f=_0x4a42a0;if(_0x4915f1['type']!==_0x6cf444['MUTATION']||_0x29d04f!=null&&_0x29d04f[_0x3f427f(0x424)]||_0x29d04f!=null&&_0x29d04f[_0x3f427f(0x3b8)])return;const _0x341862=_0x4915f1[_0x3f427f(0x19c)];if((_0x341862==null?void 0x0:_0x341862[_0x3f427f(0x485)])!==this['unitID'])return;const _0x9b1108=_0x4915f1,_0x49bbb7=this[_0x3f427f(0x1de)]['interceptor'][_0x3f427f(0x3a4)](this[_0x3f427f(0x1de)]['interceptor'][_0x3f427f(0x2cb)]()[_0x3f427f(0x2b4)])([_0x9b1108],null)||[_0x9b1108];this[_0x3f427f(0x230)](_0x49bbb7[0x0]);})),_0x21ff23;}};Tt=Lt([H(0x3,_0xd5eff8(_0x3fbbf1)),H(0x4,_0xd5eff8(_0x703fa5)),H(0x5,_0xd5eff8(_0xf39570)),H(0x6,_0xd5eff8(_0x564b28)),H(0x7,_0xd5eff8(it)),H(0x8,_0xd5eff8(pe)),H(0x9,_0x269a14),H(0xa,_0x118563),H(0xb,_0x1c0607),H(0xc,_0x55e026(ht)),H(0xd,_0x55e026(J))],Tt);var os=Object[_0x4c3b0f(0x304)],cs=(_0x1694d3,_0x4aceda,_0x1a97bc,_0x1c2515)=>{var _0x18367b=_0x4c3b0f;for(var _0x102871=_0x1c2515>0x1?void 0x0:_0x1c2515?os(_0x4aceda,_0x1a97bc):_0x4aceda,_0x20f764=_0x1694d3[_0x18367b(0x406)]-0x1,_0xa69338;_0x20f764>=0x0;_0x20f764--)(_0xa69338=_0x1694d3[_0x20f764])&&(_0x102871=_0xa69338(_0x102871)||_0x102871);return _0x102871;},ft=(_0x517526,_0x16bc1d)=>(_0x2ca6a4,_0x9e971e)=>_0x16bc1d(_0x2ca6a4,_0x9e971e,_0x517526);let st=class extends _0x4391cf{constructor(_0x164ead,_0x54680a,_0x3aa72f){var _0x57298c=_0x4c3b0f;super(),N(this,'_entities',new Map()),N(this,_0x57298c(0x229),new _0x20a9ed()),N(this,_0x57298c(0x27c),this[_0x57298c(0x229)][_0x57298c(0x236)]()),(this[_0x57298c(0x3df)]=_0x164ead,this[_0x57298c(0x2f9)]=_0x54680a,this['_univerInstanceService']=_0x3aa72f,this[_0x57298c(0x21d)]());}[_0x4c3b0f(0x42a)](){var _0x3285f5=_0x4c3b0f;super[_0x3285f5(0x42a)](),this['_entities'][_0x3285f5(0x1ba)](_0x3d7484=>_0x3d7484['dispose']()),this[_0x3285f5(0x19d)][_0x3285f5(0x28c)]();}[_0x4c3b0f(0x249)](_0x448b7b){var _0x44c03b=_0x4c3b0f,_0x1bd1da;return(_0x1bd1da=this[_0x44c03b(0x19d)][_0x44c03b(0x42b)](_0x448b7b))!=null?_0x1bd1da:null;}[_0x4c3b0f(0x401)](_0x309ccb){var _0x2baefa=_0x4c3b0f;const _0x1d0e75=this[_0x2baefa(0x249)](_0x309ccb);return _0x1d0e75?_0x5d144d(_0x1d0e75):this['_entityInit$'][_0x2baefa(0x21a)](_0x3ffd34(_0x3c843b=>_0x3c843b[_0x2baefa(0x285)]===_0x309ccb));}[_0x4c3b0f(0x2be)](_0x3c8683){var _0xbadbc5=_0x4c3b0f;return _0x122ac1(this[_0xbadbc5(0x401)](_0x3c8683)[_0xbadbc5(0x21a)](_0x5c62b3(()=>{})));}[_0x4c3b0f(0x21d)](){var _0x230ebd=_0x4c3b0f;this[_0x230ebd(0x3bd)][_0x230ebd(0x41b)](_0xd6e5c6[_0x230ebd(0x439)])['pipe'](_0x4b5a2e(this['dispose$']),_0x10c5cc(0x10))[_0x230ebd(0x2d4)](async _0x101e18=>{var _0x44c792=_0x230ebd;const _0x32f8ff=_0x101e18[_0x44c792(0x3c7)](),_0x19d438=await this[_0x44c792(0x387)](_0x32f8ff,Q[_0x44c792(0x439)]);this[_0x44c792(0x19d)][_0x44c792(0x44e)](_0x32f8ff,_0x19d438);}),this[_0x230ebd(0x3bd)][_0x230ebd(0x41b)](_0xd6e5c6[_0x230ebd(0x360)])[_0x230ebd(0x21a)](_0x4b5a2e(this[_0x230ebd(0x3bf)]),_0x10c5cc(0x10))[_0x230ebd(0x21a)](_0x3ffd34(_0xf725b8=>!_0xf725b8[_0x230ebd(0x3c7)]()['startsWith']('__')))[_0x230ebd(0x2d4)](async _0x5b035b=>{var _0x1033e6=_0x230ebd;const _0x16eb09=_0x5b035b['getUnitId'](),_0x45d6c4=await this[_0x1033e6(0x387)](_0x16eb09,Q['UNIVER_DOC']);this['_entities'][_0x1033e6(0x44e)](_0x16eb09,_0x45d6c4);}),_0x2f3e61(this['_univerInstanceService'][_0x230ebd(0x2ee)](_0xd6e5c6['UNIVER_SHEET']),this[_0x230ebd(0x3bd)][_0x230ebd(0x2ee)](_0xd6e5c6[_0x230ebd(0x360)]))[_0x230ebd(0x21a)](_0x4b5a2e(this[_0x230ebd(0x3bf)]))[_0x230ebd(0x2d4)](_0x1392a5=>{var _0x3509ec=_0x230ebd;const _0x243534=_0x1392a5[_0x3509ec(0x3c7)](),_0x2db7d2=this[_0x3509ec(0x19d)][_0x3509ec(0x42b)](_0x243534);_0x2db7d2&&(_0x2db7d2[_0x3509ec(0x42a)](),this[_0x3509ec(0x19d)][_0x3509ec(0x19f)](_0x243534));});}async[_0x4c3b0f(0x387)](_0x29f562,_0x254849){var _0x221c80=_0x4c3b0f;const _0x52247d=await this[_0x221c80(0x2f9)][_0x221c80(0x368)](_0x29f562),_0x48d037=this['_injector'][_0x221c80(0x474)](this[_0x221c80(0x48a)](_0x254849),_0x29f562,_0x254849,_0x52247d);return await _0x48d037[_0x221c80(0x1d6)](),this[_0x221c80(0x229)][_0x221c80(0x340)](_0x48d037),_0x48d037;}[_0x4c3b0f(0x48a)](_0x19f8d4){var _0x16b0ed=_0x4c3b0f;switch(_0x19f8d4){case Q[_0x16b0ed(0x360)]:return It;case Q[_0x16b0ed(0x439)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x19f8d4);}}};st=cs([ft(0x0,_0xd5eff8(_0x3fbbf1)),ft(0x1,_0xd5eff8(xe)),ft(0x2,_0x5f561f)],st);var hs=Object[_0x4c3b0f(0x304)],_s=(_0x3dc299,_0x35e68b,_0x120405,_0x2f0fc8)=>{var _0x44e7fe=_0x4c3b0f;for(var _0xcd1a61=_0x2f0fc8>0x1?void 0x0:_0x2f0fc8?hs(_0x35e68b,_0x120405):_0x35e68b,_0x18f750=_0x3dc299[_0x44e7fe(0x406)]-0x1,_0x3b4b0b;_0x18f750>=0x0;_0x18f750--)(_0x3b4b0b=_0x3dc299[_0x18f750])&&(_0xcd1a61=_0x3b4b0b(_0xcd1a61)||_0xcd1a61);return _0xcd1a61;},zt=(_0x385e6b,_0x558abe)=>(_0x57b35e,_0x537375)=>_0x558abe(_0x57b35e,_0x537375,_0x385e6b);const ls=_0x4c3b0f(0x3d8),us='Univer';let Ct=class extends _0x9b0e7e{constructor(_0x219d43,_0x1947d4){var _0x30c1fa=_0x4c3b0f;super(),this[_0x30c1fa(0x3bd)]=_0x219d43,this[_0x30c1fa(0x1b8)]=_0x1947d4,this[_0x30c1fa(0x21d)]();}['_init'](){var _0x1bb577=_0x4c3b0f;this[_0x1bb577(0x32c)](this[_0x1bb577(0x3bd)]['focused$'][_0x1bb577(0x2d4)](()=>{var _0x8c1f98=_0x1bb577,_0x4912af;const _0x2f6aa8=this[_0x8c1f98(0x3bd)]['getFocusedUnit']();let _0x2a8098=(_0x4912af=this['_configService'][_0x8c1f98(0x207)](ls))!=null?_0x4912af:us;_0x2f6aa8 instanceof _0xa0de50&&(_0x2a8098=_0x2f6aa8[_0x8c1f98(0x490)]),document[_0x8c1f98(0x3b6)]=_0x2a8098;}));}};Ct=_s([zt(0x0,_0x5f561f),zt(0x1,_0x5d9548)],Ct);function _0x5e8e(_0x6e15b2,_0x20d3da){var _0x24f8ee=_0x24f8();return _0x5e8e=function(_0x5e8e19,_0x97bb6d){_0x5e8e19=_0x5e8e19-0x194;var _0x206eb7=_0x24f8ee[_0x5e8e19];return _0x206eb7;},_0x5e8e(_0x6e15b2,_0x20d3da);}var ds=Object[_0x4c3b0f(0x304)],fs=(_0x4e0f74,_0x33fc1e,_0x1db30e,_0x265c70)=>{for(var _0x36cd19=_0x265c70>0x1?void 0x0:_0x265c70?ds(_0x33fc1e,_0x1db30e):_0x33fc1e,_0x4b15a0=_0x4e0f74['length']-0x1,_0x59d24e;_0x4b15a0>=0x0;_0x4b15a0--)(_0x59d24e=_0x4e0f74[_0x4b15a0])&&(_0x36cd19=_0x59d24e(_0x36cd19)||_0x36cd19);return _0x36cd19;},vt=(_0x40fb1b,_0x4812a6)=>(_0x23f9ef,_0x169e58)=>_0x4812a6(_0x23f9ef,_0x169e58,_0x40fb1b);let rt=class{constructor(_0x3b2e27,_0x4f465e,_0x20df3a){var _0x3c31f9=_0x4c3b0f;this[_0x3c31f9(0x1b8)]=_0x3b2e27,this['_httpService']=_0x4f465e,this['localeService']=_0x20df3a,this[_0x3c31f9(0x1d6)]();}[_0x4c3b0f(0x1d6)](){var _0x5a7d55=_0x4c3b0f;this[_0x5a7d55(0x447)][_0x5a7d55(0x2aa)]({'priority':0x1,'interceptor':(_0x2d305e,_0x25a273)=>_0x25a273(_0x2d305e)[_0x5a7d55(0x21a)](_0x5f271a(async _0x4f4699=>{var _0x4596d1=_0x5a7d55;const _0x291588=_0x4f4699;if(_0x291588[_0x4596d1(0x265)]===0x191){if(typeof window>'u')throw new Error(_0x4596d1(0x44d));if(window['confirm'](this[_0x4596d1(0x36f)]['t'](_0x4596d1(0x19b)))){const _0xaa23ee=window[_0x4596d1(0x2af)](window[_0x4596d1(0x371)][_0x4596d1(0x1d8)]);window[_0x4596d1(0x371)][_0x4596d1(0x1d8)]=this['_getLoginPath']()+_0x4596d1(0x42d)+_0xaa23ee;}}return _0x291588;}))});}[_0x4c3b0f(0x47a)](){var _0x429931=_0x4c3b0f,_0x2bdc53,_0x50abfe;const _0x564c60=this['_configService'][_0x429931(0x207)](Un),_0x19e1d9=this['_configService'][_0x429931(0x207)](q);return(_0x50abfe=(_0x2bdc53=_0x19e1d9==null?void 0x0:_0x19e1d9[_0x429931(0x47b)])!=null?_0x2bdc53:_0x564c60)!=null?_0x50abfe:An;}};rt=fs([vt(0x0,_0x5d9548),vt(0x1,_0xd5eff8(_0x279f52)),vt(0x2,_0xd5eff8(_0xf39570))],rt);var vs=Object[_0x4c3b0f(0x304)],ps=(_0x533e55,_0x2dbac1,_0x23baa7,_0x125e64)=>{var _0xef33a4=_0x4c3b0f;for(var _0x3a0a7d=_0x125e64>0x1?void 0x0:_0x125e64?vs(_0x2dbac1,_0x23baa7):_0x2dbac1,_0x25bb0e=_0x533e55[_0xef33a4(0x406)]-0x1,_0x43468;_0x25bb0e>=0x0;_0x25bb0e--)(_0x43468=_0x533e55[_0x25bb0e])&&(_0x3a0a7d=_0x43468(_0x3a0a7d)||_0x3a0a7d);return _0x3a0a7d;},Jt=(_0x49a054,_0x322cd6)=>(_0x35c23a,_0x40f692)=>_0x322cd6(_0x35c23a,_0x40f692,_0x49a054);const Ni=_0x4c3b0f(0x38f),ms=_0x4c3b0f(0x295);let Rt=class extends _0x9b0e7e{constructor(_0x11987b,_0x189292){var _0x2b74af=_0x4c3b0f;super(),this[_0x2b74af(0x3fd)]=_0x11987b,this['_configService']=_0x189292,this[_0x2b74af(0x3af)]();}['_initMergeInterceptor'](){var _0x2563a1=_0x4c3b0f;const _0x4d1387=this;this[_0x2563a1(0x32c)](this[_0x2563a1(0x3fd)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x332f59({'isMatch'(_0x249788){var _0x3c5833=_0x2563a1,_0x54f034;if(_0x249788[_0x3c5833(0x28a)]==='POST'&&((_0x54f034=_0x249788['requestParams'])!=null&&_0x54f034[_0x3c5833(0x1fc)])){const {objectID:_0x5c5c4d,objectType:_0x23d2ef}=_0x249788[_0x3c5833(0x284)][_0x3c5833(0x1fc)]||{};if(!_0x5c5c4d||_0x23d2ef===void 0x0)return!0x1;const _0x47dd4c=_0x4d1387[_0x3c5833(0x331)]()+'/'+_0x23d2ef+_0x3c5833(0x469)+_0x5c5c4d+_0x3c5833(0x275);if(_0x249788[_0x3c5833(0x33f)]===_0x47dd4c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5174ae){var _0x1924fc=_0x2563a1,_0x4d059b;return(_0x4d059b=_0x5174ae[_0x1924fc(0x284)])==null?void 0x0:_0x4d059b['body'];},'mergeParamsToRequest'(_0x4d037a,_0x4f9b56){var _0x44900c=_0x2563a1;const _0x5a2e9a=_0x4d1387['_getAPIPrefixPath']()+_0x44900c(0x409),_0x17be51=_0x4d037a['reduce']((_0x2eadbf,_0x2ea1d1)=>{var _0x132489=_0x44900c;const {unitID:_0x593a9b,objectID:_0xfafaf1,objectType:_0x438daa,actions:_0x59dd61}=_0x2ea1d1;return _0x2eadbf[_0x593a9b]||(_0x2eadbf[_0x593a9b]={}),_0x2eadbf[_0x593a9b][_0xfafaf1]||(_0x2eadbf[_0x593a9b][_0xfafaf1]={'objectID':_0xfafaf1,'objectType':_0x438daa,'actions':[]}),_0x2eadbf[_0x593a9b][_0xfafaf1][_0x132489(0x333)][_0x132489(0x1f9)](..._0x59dd61),_0x2eadbf;},{}),_0x5a5a4f=[];for(const _0x5fabd2 in _0x17be51)for(const _0x2a038d in _0x17be51[_0x5fabd2]){const {actions:_0xb50977,objectType:_0x2b970a}=_0x17be51[_0x5fabd2][_0x2a038d],_0x1f557f=[...new Set(_0xb50977)];_0x5a5a4f[_0x44900c(0x1f9)]({'unitID':_0x5fabd2,'objectID':_0x2a038d,'objectType':_0x2b970a,'actions':_0x1f557f});}return new _0x2f0811(_0x44900c(0x462),_0x5a2e9a,{'headers':_0x4f9b56['headers'],'withCredentials':_0x4f9b56[_0x44900c(0x3b1)],'responseType':_0x4f9b56['responseType'],'body':{'requests':_0x5a5a4f}});}},{'distributeResult'(_0x3ce8a8,_0x2ffc33){const {objectActions:_0x972f99}=_0x3ce8a8;return _0x2ffc33['map'](_0x12d50d=>{var _0x3b9fcb=_0x5e8e;const {unitID:_0x3a7305,objectID:_0xa2fc49,actions:_0x13ff2d}=_0x12d50d,_0x5109c7=_0x972f99[_0x3b9fcb(0x32a)](_0x26e56e=>_0x26e56e[_0x3b9fcb(0x285)]===_0x3a7305&&_0x26e56e[_0x3b9fcb(0x498)]===_0xa2fc49),_0x5eff40=_0x13ff2d[_0x3b9fcb(0x213)](_0x5436e1=>_0x5109c7==null?void 0x0:_0x5109c7[_0x3b9fcb(0x333)][_0x3b9fcb(0x32a)](_0x4665e3=>_0x4665e3[_0x3b9fcb(0x199)]===_0x5436e1))[_0x3b9fcb(0x1a7)](_0x249f6b=>!!_0x249f6b);return{'config':_0x12d50d,'result':{'actions':_0x5eff40,'error':_0x3ce8a8[_0x3b9fcb(0x1ab)]}};});}})}));}[_0x4c3b0f(0x331)](){var _0x3cd40e=_0x4c3b0f,_0x38af0e,_0x189d8b;const _0x381992=this[_0x3cd40e(0x1b8)][_0x3cd40e(0x207)](Ni),_0x811ae4=this[_0x3cd40e(0x1b8)]['getConfig'](q);return(_0x189d8b=(_0x38af0e=_0x811ae4==null?void 0x0:_0x811ae4[_0x3cd40e(0x483)])!=null?_0x38af0e:_0x381992)!=null?_0x189d8b:ms;}async['create'](_0xedd91){var _0x448eba=_0x4c3b0f;const _0x45f45c=this['_getAPIPrefixPath']()+'/'+_0xedd91['objectType']+_0x448eba(0x310);return(await this['_HTTPService']['post'](_0x45f45c,{'body':_0xedd91}))[_0x448eba(0x1fc)][_0x448eba(0x498)]||'';}async[_0x4c3b0f(0x428)](_0x1a408a){var _0x319df6=_0x4c3b0f;const _0x549672=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x319df6(0x3fd)][_0x319df6(0x1f3)](_0x549672,{'body':_0x1a408a}))['body'][_0x319df6(0x3ce)];}async['update'](_0xfe315){var _0x4f12d9=_0x4c3b0f,_0x3718ed,_0x208424;const _0x1ce3b2=this[_0x4f12d9(0x331)]()+'/'+_0xfe315['objectType']+'/object/'+_0xfe315['objectID'],_0x2370a2=await this[_0x4f12d9(0x3fd)][_0x4f12d9(0x28b)](_0x1ce3b2,{'body':_0xfe315});if(((_0x208424=(_0x3718ed=_0x2370a2==null?void 0x0:_0x2370a2[_0x4f12d9(0x1fc)])==null?void 0x0:_0x3718ed[_0x4f12d9(0x1ab)])==null?void 0x0:_0x208424['code'])!==0x1)throw new Error(_0x4f12d9(0x2a9));}async[_0x4c3b0f(0x1ea)](_0x4a7868){var _0x4a7a45=_0x4c3b0f;const _0x272059=this[_0x4a7a45(0x331)]()+'/'+_0x4a7868[_0x4a7a45(0x225)]+_0x4a7a45(0x469)+_0x4a7868[_0x4a7a45(0x498)]+_0x4a7a45(0x275);return(await this[_0x4a7a45(0x3fd)][_0x4a7a45(0x1f3)](_0x272059,{'body':_0x4a7868}))['body'][_0x4a7a45(0x333)];}async[_0x4c3b0f(0x3c4)](_0x417cb1){var _0x42b73e=_0x4c3b0f;const _0x4c8335=this[_0x42b73e(0x331)]()+_0x42b73e(0x409);return(await this[_0x42b73e(0x3fd)]['post'](_0x4c8335,{'body':{'requests':_0x417cb1}}))[_0x42b73e(0x1fc)][_0x42b73e(0x312)];}async[_0x4c3b0f(0x245)](_0x3c4eef){var _0x3a65d1=_0x4c3b0f;const _0x520cbd=this['_getAPIPrefixPath']()+'/'+_0x3c4eef['objectType']+_0x3a65d1(0x40b),_0x33c539=await this[_0x3a65d1(0x3fd)][_0x3a65d1(0x1f3)](_0x520cbd,{'body':_0x3c4eef});return{'roles':_0x33c539['body']['roles'],'actions':_0x33c539[_0x3a65d1(0x1fc)]['actions']};}async[_0x4c3b0f(0x1cd)](_0x20f5d4){var _0x4a770f=_0x4c3b0f;const _0x2be440=this['_getAPIPrefixPath']()+_0x4a770f(0x2a3);await this[_0x4a770f(0x3fd)]['delete'](_0x2be440,{'params':{'collaboratorID':_0x20f5d4[_0x4a770f(0x49f)],'objectID':_0x20f5d4[_0x4a770f(0x498)],'unitID':_0x20f5d4[_0x4a770f(0x285)]}});}async[_0x4c3b0f(0x2d1)](_0x5a182d){var _0x2fc2cd=_0x4c3b0f;const _0x10826b=this[_0x2fc2cd(0x331)]()+_0x2fc2cd(0x2a3);await this[_0x2fc2cd(0x3fd)]['patch'](_0x10826b,{'body':_0x5a182d});}async[_0x4c3b0f(0x28f)](_0x2f2a04){var _0x3ab243=_0x4c3b0f;const _0x25d64b=this[_0x3ab243(0x331)]()+'/collaborator';await this[_0x3ab243(0x3fd)][_0x3ab243(0x1f3)](_0x25d64b,{'body':_0x2f2a04});}async[_0x4c3b0f(0x36d)](_0x41876f){var _0x27c4c3=_0x4c3b0f;const _0x4396af=this[_0x27c4c3(0x331)]()+_0x27c4c3(0x2a3);return(await this[_0x27c4c3(0x3fd)][_0x27c4c3(0x42b)](_0x4396af,{'params':{'objectID':_0x41876f[_0x27c4c3(0x498)],'unitID':_0x41876f[_0x27c4c3(0x285)]}}))[_0x27c4c3(0x1fc)][_0x27c4c3(0x282)];}async[_0x4c3b0f(0x3a6)](_0x51bbec){var _0x3864d8=_0x4c3b0f;const _0x19992f=this[_0x3864d8(0x331)]()+'/collaborator';await this['_HTTPService'][_0x3864d8(0x28b)](_0x19992f,{'body':_0x51bbec});}};Rt=ps([Jt(0x0,_0xd5eff8(_0x279f52)),Jt(0x1,_0xd5eff8(_0x5d9548))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x4952f7){var _0x275a8c=_0x4c3b0f;return _0x4952f7&&_0x4952f7['__esModule']&&Object[_0x275a8c(0x1d4)][_0x275a8c(0x2df)][_0x275a8c(0x3dc)](_0x4952f7,_0x275a8c(0x1a9))?_0x4952f7['default']:_0x4952f7;}var Ve={'exports':{}};function gs(_0x3a8fc9){var _0x4f8ef8=_0x4c3b0f;throw new Error(_0x4f8ef8(0x1bc)+_0x3a8fc9+_0x4f8ef8(0x440));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){var _0x568da6=_0x4c3b0f;return Xt||(Xt=0x1,function(_0x137cd9,_0x33fb76){(function(_0x9e2d,_0x43a6b6){_0x137cd9['exports']=_0x43a6b6();}(Ss,function(){var _0x3b365c=_0x3b365c||function(_0x4183a8,_0x864c3a){var _0x5574f4=_0x5e8e,_0x392913;if(typeof window<'u'&&window[_0x5574f4(0x23c)]&&(_0x392913=window[_0x5574f4(0x23c)]),typeof self<'u'&&self[_0x5574f4(0x23c)]&&(_0x392913=self[_0x5574f4(0x23c)]),typeof globalThis<'u'&&globalThis[_0x5574f4(0x23c)]&&(_0x392913=globalThis[_0x5574f4(0x23c)]),!_0x392913&&typeof window<'u'&&window[_0x5574f4(0x463)]&&(_0x392913=window[_0x5574f4(0x463)]),!_0x392913&&typeof pt<'u'&&pt[_0x5574f4(0x23c)]&&(_0x392913=pt[_0x5574f4(0x23c)]),!_0x392913&&typeof gs==_0x5574f4(0x3be))try{_0x392913=require(_0x5574f4(0x23c));}catch{}var _0x3a74e2=function(){var _0x12747f=_0x5574f4;if(_0x392913){if(typeof _0x392913[_0x12747f(0x326)]==_0x12747f(0x3be))try{return _0x392913['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x392913['randomBytes']=='function')try{return _0x392913['randomBytes'](0x4)[_0x12747f(0x211)]();}catch{}}throw new Error(_0x12747f(0x1b4));},_0x3eb076=Object[_0x5574f4(0x49c)]||(function(){function _0x4d751a(){}return function(_0x12820f){var _0x39c5d7=_0x5e8e,_0x185ccc;return _0x4d751a['prototype']=_0x12820f,_0x185ccc=new _0x4d751a(),_0x4d751a[_0x39c5d7(0x1d4)]=null,_0x185ccc;};}()),_0x2bd246={},_0x129699=_0x2bd246[_0x5574f4(0x370)]={},_0x3b5c83=_0x129699[_0x5574f4(0x41a)]=(function(){return{'extend':function(_0x2d8033){var _0x133d02=_0x5e8e,_0x4d6c7f=_0x3eb076(this);return _0x2d8033&&_0x4d6c7f['mixIn'](_0x2d8033),(!_0x4d6c7f[_0x133d02(0x2df)](_0x133d02(0x1d6))||this['init']===_0x4d6c7f['init'])&&(_0x4d6c7f[_0x133d02(0x1d6)]=function(){var _0x5a3e9b=_0x133d02;_0x4d6c7f[_0x5a3e9b(0x1b7)][_0x5a3e9b(0x1d6)][_0x5a3e9b(0x1a6)](this,arguments);}),_0x4d6c7f[_0x133d02(0x1d6)]['prototype']=_0x4d6c7f,_0x4d6c7f[_0x133d02(0x1b7)]=this,_0x4d6c7f;},'create':function(){var _0x220c8c=_0x5e8e,_0x38d72d=this[_0x220c8c(0x279)]();return _0x38d72d[_0x220c8c(0x1d6)][_0x220c8c(0x1a6)](_0x38d72d,arguments),_0x38d72d;},'init':function(){},'mixIn':function(_0x42d341){var _0x18365e=_0x5e8e;for(var _0x2330dc in _0x42d341)_0x42d341[_0x18365e(0x2df)](_0x2330dc)&&(this[_0x2330dc]=_0x42d341[_0x2330dc]);_0x42d341[_0x18365e(0x2df)](_0x18365e(0x22b))&&(this['toString']=_0x42d341[_0x18365e(0x22b)]);},'clone':function(){var _0x25dccc=_0x5e8e;return this[_0x25dccc(0x1d6)]['prototype']['extend'](this);}};}()),_0x33e577=_0x129699[_0x5574f4(0x402)]=_0x3b5c83[_0x5574f4(0x279)]({'init':function(_0x3f14d7,_0x4ac4bb){var _0x27f35e=_0x5574f4;_0x3f14d7=this[_0x27f35e(0x1d2)]=_0x3f14d7||[],_0x4ac4bb!=_0x864c3a?this[_0x27f35e(0x451)]=_0x4ac4bb:this[_0x27f35e(0x451)]=_0x3f14d7[_0x27f35e(0x406)]*0x4;},'toString':function(_0x1e2460){var _0x108d59=_0x5574f4;return(_0x1e2460||_0x5a4506)[_0x108d59(0x497)](this);},'concat':function(_0x5ad5d3){var _0x3b2366=_0x5574f4,_0x4ded4e=this['words'],_0x3fd8e1=_0x5ad5d3[_0x3b2366(0x1d2)],_0x2b378c=this['sigBytes'],_0x4673c1=_0x5ad5d3[_0x3b2366(0x451)];if(this['clamp'](),_0x2b378c%0x4)for(var _0x3012be=0x0;_0x3012be<_0x4673c1;_0x3012be++){var _0x42d15f=_0x3fd8e1[_0x3012be>>>0x2]>>>0x18-_0x3012be%0x4*0x8&0xff;_0x4ded4e[_0x2b378c+_0x3012be>>>0x2]|=_0x42d15f<<0x18-(_0x2b378c+_0x3012be)%0x4*0x8;}else{for(var _0x1cc6ca=0x0;_0x1cc6ca<_0x4673c1;_0x1cc6ca+=0x4)_0x4ded4e[_0x2b378c+_0x1cc6ca>>>0x2]=_0x3fd8e1[_0x1cc6ca>>>0x2];}return this[_0x3b2366(0x451)]+=_0x4673c1,this;},'clamp':function(){var _0x260d8f=_0x5574f4,_0x5be604=this['words'],_0x57ef3f=this['sigBytes'];_0x5be604[_0x57ef3f>>>0x2]&=0xffffffff<<0x20-_0x57ef3f%0x4*0x8,_0x5be604[_0x260d8f(0x406)]=_0x4183a8['ceil'](_0x57ef3f/0x4);},'clone':function(){var _0x2f0df0=_0x5574f4,_0x111787=_0x3b5c83[_0x2f0df0(0x251)]['call'](this);return _0x111787[_0x2f0df0(0x1d2)]=this[_0x2f0df0(0x1d2)][_0x2f0df0(0x2b6)](0x0),_0x111787;},'random':function(_0x36693c){var _0x87423e=_0x5574f4;for(var _0x30c438=[],_0x371316=0x0;_0x371316<_0x36693c;_0x371316+=0x4)_0x30c438['push'](_0x3a74e2());return new _0x33e577[(_0x87423e(0x1d6))](_0x30c438,_0x36693c);}}),_0x416a7d=_0x2bd246[_0x5574f4(0x244)]={},_0x5a4506=_0x416a7d['Hex']={'stringify':function(_0x4f2942){var _0x589b2b=_0x5574f4;for(var _0x404e44=_0x4f2942[_0x589b2b(0x1d2)],_0x32a80c=_0x4f2942[_0x589b2b(0x451)],_0x25340d=[],_0x4fbdc6=0x0;_0x4fbdc6<_0x32a80c;_0x4fbdc6++){var _0x2e22e2=_0x404e44[_0x4fbdc6>>>0x2]>>>0x18-_0x4fbdc6%0x4*0x8&0xff;_0x25340d['push']((_0x2e22e2>>>0x4)[_0x589b2b(0x22b)](0x10)),_0x25340d[_0x589b2b(0x1f9)]((_0x2e22e2&0xf)[_0x589b2b(0x22b)](0x10));}return _0x25340d[_0x589b2b(0x43d)]('');},'parse':function(_0x1af569){var _0x4748f1=_0x5574f4;for(var _0x1c55db=_0x1af569[_0x4748f1(0x406)],_0x345dbd=[],_0x14b40b=0x0;_0x14b40b<_0x1c55db;_0x14b40b+=0x2)_0x345dbd[_0x14b40b>>>0x3]|=parseInt(_0x1af569['substr'](_0x14b40b,0x2),0x10)<<0x18-_0x14b40b%0x8*0x4;return new _0x33e577['init'](_0x345dbd,_0x1c55db/0x2);}},_0x36a7cc=_0x416a7d['Latin1']={'stringify':function(_0x28f6bd){var _0x3a7183=_0x5574f4;for(var _0x4a627b=_0x28f6bd['words'],_0x20dade=_0x28f6bd[_0x3a7183(0x451)],_0x244d3e=[],_0x309f3b=0x0;_0x309f3b<_0x20dade;_0x309f3b++){var _0x24e5a9=_0x4a627b[_0x309f3b>>>0x2]>>>0x18-_0x309f3b%0x4*0x8&0xff;_0x244d3e[_0x3a7183(0x1f9)](String[_0x3a7183(0x2ae)](_0x24e5a9));}return _0x244d3e['join']('');},'parse':function(_0xb0a14c){var _0x4809c1=_0x5574f4;for(var _0x1628ef=_0xb0a14c['length'],_0x701697=[],_0x28d377=0x0;_0x28d377<_0x1628ef;_0x28d377++)_0x701697[_0x28d377>>>0x2]|=(_0xb0a14c[_0x4809c1(0x495)](_0x28d377)&0xff)<<0x18-_0x28d377%0x4*0x8;return new _0x33e577[(_0x4809c1(0x1d6))](_0x701697,_0x1628ef);}},_0x485ba2=_0x416a7d[_0x5574f4(0x3d2)]={'stringify':function(_0x335a89){var _0x3d68da=_0x5574f4;try{return decodeURIComponent(escape(_0x36a7cc['stringify'](_0x335a89)));}catch{throw new Error(_0x3d68da(0x3a2));}},'parse':function(_0x196e26){return _0x36a7cc['parse'](unescape(encodeURIComponent(_0x196e26)));}},_0x58a2d1=_0x129699['BufferedBlockAlgorithm']=_0x3b5c83[_0x5574f4(0x279)]({'reset':function(){var _0x31381a=_0x5574f4;this[_0x31381a(0x3c5)]=new _0x33e577['init'](),this[_0x31381a(0x399)]=0x0;},'_append':function(_0x358a06){var _0x43dec4=_0x5574f4;typeof _0x358a06==_0x43dec4(0x196)&&(_0x358a06=_0x485ba2[_0x43dec4(0x26a)](_0x358a06)),this[_0x43dec4(0x3c5)]['concat'](_0x358a06),this[_0x43dec4(0x399)]+=_0x358a06['sigBytes'];},'_process':function(_0xf64e86){var _0x225c76=_0x5574f4,_0x4879a7,_0x1ed4b7=this[_0x225c76(0x3c5)],_0x50bf7a=_0x1ed4b7['words'],_0x25a451=_0x1ed4b7[_0x225c76(0x451)],_0x4401f0=this[_0x225c76(0x3a0)],_0x525b42=_0x4401f0*0x4,_0x22273d=_0x25a451/_0x525b42;_0xf64e86?_0x22273d=_0x4183a8[_0x225c76(0x238)](_0x22273d):_0x22273d=_0x4183a8[_0x225c76(0x487)]((_0x22273d|0x0)-this[_0x225c76(0x2b9)],0x0);var _0x352a73=_0x22273d*_0x4401f0,_0x3fc72a=_0x4183a8[_0x225c76(0x442)](_0x352a73*0x4,_0x25a451);if(_0x352a73){for(var _0x3ea53f=0x0;_0x3ea53f<_0x352a73;_0x3ea53f+=_0x4401f0)this[_0x225c76(0x220)](_0x50bf7a,_0x3ea53f);_0x4879a7=_0x50bf7a[_0x225c76(0x46a)](0x0,_0x352a73),_0x1ed4b7['sigBytes']-=_0x3fc72a;}return new _0x33e577[(_0x225c76(0x1d6))](_0x4879a7,_0x3fc72a);},'clone':function(){var _0x77114=_0x5574f4,_0x4a1b58=_0x3b5c83[_0x77114(0x251)]['call'](this);return _0x4a1b58['_data']=this['_data'][_0x77114(0x251)](),_0x4a1b58;},'_minBufferSize':0x0});_0x129699[_0x5574f4(0x3d0)]=_0x58a2d1[_0x5574f4(0x279)]({'cfg':_0x3b5c83[_0x5574f4(0x279)](),'init':function(_0x4c6312){var _0x124288=_0x5574f4;this[_0x124288(0x21c)]=this['cfg']['extend'](_0x4c6312),this['reset']();},'reset':function(){var _0xd61989=_0x5574f4;_0x58a2d1[_0xd61989(0x2e3)][_0xd61989(0x3dc)](this),this['_doReset']();},'update':function(_0x3b9607){var _0x113dfc=_0x5574f4;return this['_append'](_0x3b9607),this[_0x113dfc(0x1c4)](),this;},'finalize':function(_0x3a7438){var _0x2347b1=_0x5574f4;_0x3a7438&&this[_0x2347b1(0x1c8)](_0x3a7438);var _0x1c55b0=this[_0x2347b1(0x1c9)]();return _0x1c55b0;},'blockSize':0x10,'_createHelper':function(_0x190d27){return function(_0x13d8b9,_0x9c71c2){var _0x480668=_0x5e8e;return new _0x190d27[(_0x480668(0x1d6))](_0x9c71c2)['finalize'](_0x13d8b9);};},'_createHmacHelper':function(_0x36b6d8){return function(_0x549111,_0x2c1507){var _0x11f8c4=_0x5e8e;return new _0x342664['HMAC'][(_0x11f8c4(0x1d6))](_0x36b6d8,_0x2c1507)[_0x11f8c4(0x2d3)](_0x549111);};}});var _0x342664=_0x2bd246['algo']={};return _0x2bd246;}(Math);return _0x3b365c;}));}(Ge)),Ge[_0x568da6(0x305)];}var We={'exports':{}},Es=We[_0x4c3b0f(0x305)],Zt;function Di(){var _0x5857a2=_0x4c3b0f;return Zt||(Zt=0x1,function(_0x4cc351,_0x1d870c){(function(_0x1c9267,_0x33aec9){_0x4cc351['exports']=_0x33aec9(ie());}(Es,function(_0x13bad9){var _0x43b558=_0x5e8e;return(function(){var _0x112772=_0x5e8e,_0x55ad9d=_0x13bad9,_0x45f824=_0x55ad9d['lib'],_0x53545=_0x45f824[_0x112772(0x402)],_0x4925c3=_0x55ad9d[_0x112772(0x244)];_0x4925c3[_0x112772(0x471)]={'stringify':function(_0x347211){var _0x1e27c9=_0x112772,_0x1356ce=_0x347211['words'],_0x416964=_0x347211[_0x1e27c9(0x451)],_0x31dfa9=this[_0x1e27c9(0x2b0)];_0x347211[_0x1e27c9(0x444)]();for(var _0x21827c=[],_0x44af7f=0x0;_0x44af7f<_0x416964;_0x44af7f+=0x3)for(var _0x43de54=_0x1356ce[_0x44af7f>>>0x2]>>>0x18-_0x44af7f%0x4*0x8&0xff,_0x4e771f=_0x1356ce[_0x44af7f+0x1>>>0x2]>>>0x18-(_0x44af7f+0x1)%0x4*0x8&0xff,_0x2fb279=_0x1356ce[_0x44af7f+0x2>>>0x2]>>>0x18-(_0x44af7f+0x2)%0x4*0x8&0xff,_0x4a7957=_0x43de54<<0x10|_0x4e771f<<0x8|_0x2fb279,_0x139098=0x0;_0x139098<0x4&&_0x44af7f+_0x139098*0.75<_0x416964;_0x139098++)_0x21827c['push'](_0x31dfa9['charAt'](_0x4a7957>>>0x6*(0x3-_0x139098)&0x3f));var _0x2b9cf9=_0x31dfa9[_0x1e27c9(0x369)](0x40);if(_0x2b9cf9){for(;_0x21827c[_0x1e27c9(0x406)]%0x4;)_0x21827c[_0x1e27c9(0x1f9)](_0x2b9cf9);}return _0x21827c[_0x1e27c9(0x43d)]('');},'parse':function(_0x134e47){var _0x22506a=_0x112772,_0x2c8b5f=_0x134e47[_0x22506a(0x406)],_0x2a065c=this[_0x22506a(0x2b0)],_0x29b29a=this[_0x22506a(0x40c)];if(!_0x29b29a){_0x29b29a=this[_0x22506a(0x40c)]=[];for(var _0x107be5=0x0;_0x107be5<_0x2a065c[_0x22506a(0x406)];_0x107be5++)_0x29b29a[_0x2a065c['charCodeAt'](_0x107be5)]=_0x107be5;}var _0x20efcf=_0x2a065c[_0x22506a(0x369)](0x40);if(_0x20efcf){var _0x129aea=_0x134e47[_0x22506a(0x306)](_0x20efcf);_0x129aea!==-0x1&&(_0x2c8b5f=_0x129aea);}return _0x4caf98(_0x134e47,_0x2c8b5f,_0x29b29a);},'_map':_0x112772(0x254)};function _0x4caf98(_0x5cbaca,_0xce0d4,_0xc6ce5e){var _0x1f9b5c=_0x112772;for(var _0x54242b=[],_0x38d35a=0x0,_0x534e68=0x0;_0x534e68<_0xce0d4;_0x534e68++)if(_0x534e68%0x4){var _0x46c474=_0xc6ce5e[_0x5cbaca[_0x1f9b5c(0x495)](_0x534e68-0x1)]<<_0x534e68%0x4*0x2,_0x23c67c=_0xc6ce5e[_0x5cbaca[_0x1f9b5c(0x495)](_0x534e68)]>>>0x6-_0x534e68%0x4*0x2,_0xc4d1a8=_0x46c474|_0x23c67c;_0x54242b[_0x38d35a>>>0x2]|=_0xc4d1a8<<0x18-_0x38d35a%0x4*0x8,_0x38d35a++;}return _0x53545[_0x1f9b5c(0x49c)](_0x54242b,_0x38d35a);}}()),_0x13bad9[_0x43b558(0x244)]['Base64'];}));}(We)),We[_0x5857a2(0x305)];}var Ke={'exports':{}},Is=Ke[_0x4c3b0f(0x305)],Qt;function Ts(){var _0x227d6b=_0x4c3b0f;return Qt||(Qt=0x1,function(_0x2dcd65,_0x2a6e45){(function(_0x1cbe7a,_0x4bb334){_0x2dcd65['exports']=_0x4bb334(ie());}(Is,function(_0x365003){return function(_0x5c8482){var _0x55c9a0=_0x5e8e,_0x142e03=_0x365003,_0x4b9997=_0x142e03[_0x55c9a0(0x370)],_0x2ef471=_0x4b9997['WordArray'],_0x32ad40=_0x4b9997[_0x55c9a0(0x3d0)],_0x41fd49=_0x142e03[_0x55c9a0(0x2d9)],_0x22c0fb=[];(function(){var _0x3646ac=_0x55c9a0;for(var _0x4ab45b=0x0;_0x4ab45b<0x40;_0x4ab45b++)_0x22c0fb[_0x4ab45b]=_0x5c8482[_0x3646ac(0x3db)](_0x5c8482[_0x3646ac(0x302)](_0x4ab45b+0x1))*0x100000000|0x0;}());var _0xaab8f5=_0x41fd49[_0x55c9a0(0x355)]=_0x32ad40['extend']({'_doReset':function(){var _0x5ae468=_0x55c9a0;this[_0x5ae468(0x2c5)]=new _0x2ef471['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xe88d2a,_0x180096){var _0x46902a=_0x55c9a0;for(var _0x56b7a9=0x0;_0x56b7a9<0x10;_0x56b7a9++){var _0x51d2d5=_0x180096+_0x56b7a9,_0xb917c7=_0xe88d2a[_0x51d2d5];_0xe88d2a[_0x51d2d5]=(_0xb917c7<<0x8|_0xb917c7>>>0x18)&0xff00ff|(_0xb917c7<<0x18|_0xb917c7>>>0x8)&0xff00ff00;}var _0x5c56da=this[_0x46902a(0x2c5)][_0x46902a(0x1d2)],_0x2a4f10=_0xe88d2a[_0x180096+0x0],_0x3cbdea=_0xe88d2a[_0x180096+0x1],_0x2bc95f=_0xe88d2a[_0x180096+0x2],_0xa4f48d=_0xe88d2a[_0x180096+0x3],_0x3fcc06=_0xe88d2a[_0x180096+0x4],_0x3ff30f=_0xe88d2a[_0x180096+0x5],_0x3b5d04=_0xe88d2a[_0x180096+0x6],_0x52506d=_0xe88d2a[_0x180096+0x7],_0x193735=_0xe88d2a[_0x180096+0x8],_0x3304ca=_0xe88d2a[_0x180096+0x9],_0x551912=_0xe88d2a[_0x180096+0xa],_0x912622=_0xe88d2a[_0x180096+0xb],_0x29b537=_0xe88d2a[_0x180096+0xc],_0x1aaa6a=_0xe88d2a[_0x180096+0xd],_0x40cab8=_0xe88d2a[_0x180096+0xe],_0x2d838a=_0xe88d2a[_0x180096+0xf],_0x205c0a=_0x5c56da[0x0],_0x35d4a9=_0x5c56da[0x1],_0x40fb84=_0x5c56da[0x2],_0x20a48d=_0x5c56da[0x3];_0x205c0a=_0x22605d(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x2a4f10,0x7,_0x22c0fb[0x0]),_0x20a48d=_0x22605d(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x3cbdea,0xc,_0x22c0fb[0x1]),_0x40fb84=_0x22605d(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x2bc95f,0x11,_0x22c0fb[0x2]),_0x35d4a9=_0x22605d(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0xa4f48d,0x16,_0x22c0fb[0x3]),_0x205c0a=_0x22605d(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3fcc06,0x7,_0x22c0fb[0x4]),_0x20a48d=_0x22605d(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x3ff30f,0xc,_0x22c0fb[0x5]),_0x40fb84=_0x22605d(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x3b5d04,0x11,_0x22c0fb[0x6]),_0x35d4a9=_0x22605d(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x52506d,0x16,_0x22c0fb[0x7]),_0x205c0a=_0x22605d(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x193735,0x7,_0x22c0fb[0x8]),_0x20a48d=_0x22605d(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x3304ca,0xc,_0x22c0fb[0x9]),_0x40fb84=_0x22605d(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x551912,0x11,_0x22c0fb[0xa]),_0x35d4a9=_0x22605d(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x912622,0x16,_0x22c0fb[0xb]),_0x205c0a=_0x22605d(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x29b537,0x7,_0x22c0fb[0xc]),_0x20a48d=_0x22605d(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x1aaa6a,0xc,_0x22c0fb[0xd]),_0x40fb84=_0x22605d(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x40cab8,0x11,_0x22c0fb[0xe]),_0x35d4a9=_0x22605d(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x2d838a,0x16,_0x22c0fb[0xf]),_0x205c0a=_0x230eb2(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3cbdea,0x5,_0x22c0fb[0x10]),_0x20a48d=_0x230eb2(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x3b5d04,0x9,_0x22c0fb[0x11]),_0x40fb84=_0x230eb2(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x912622,0xe,_0x22c0fb[0x12]),_0x35d4a9=_0x230eb2(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x2a4f10,0x14,_0x22c0fb[0x13]),_0x205c0a=_0x230eb2(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3ff30f,0x5,_0x22c0fb[0x14]),_0x20a48d=_0x230eb2(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x551912,0x9,_0x22c0fb[0x15]),_0x40fb84=_0x230eb2(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x2d838a,0xe,_0x22c0fb[0x16]),_0x35d4a9=_0x230eb2(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x3fcc06,0x14,_0x22c0fb[0x17]),_0x205c0a=_0x230eb2(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3304ca,0x5,_0x22c0fb[0x18]),_0x20a48d=_0x230eb2(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x40cab8,0x9,_0x22c0fb[0x19]),_0x40fb84=_0x230eb2(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0xa4f48d,0xe,_0x22c0fb[0x1a]),_0x35d4a9=_0x230eb2(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x193735,0x14,_0x22c0fb[0x1b]),_0x205c0a=_0x230eb2(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x1aaa6a,0x5,_0x22c0fb[0x1c]),_0x20a48d=_0x230eb2(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x2bc95f,0x9,_0x22c0fb[0x1d]),_0x40fb84=_0x230eb2(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x52506d,0xe,_0x22c0fb[0x1e]),_0x35d4a9=_0x230eb2(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x29b537,0x14,_0x22c0fb[0x1f]),_0x205c0a=_0x5389d7(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3ff30f,0x4,_0x22c0fb[0x20]),_0x20a48d=_0x5389d7(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x193735,0xb,_0x22c0fb[0x21]),_0x40fb84=_0x5389d7(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x912622,0x10,_0x22c0fb[0x22]),_0x35d4a9=_0x5389d7(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x40cab8,0x17,_0x22c0fb[0x23]),_0x205c0a=_0x5389d7(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3cbdea,0x4,_0x22c0fb[0x24]),_0x20a48d=_0x5389d7(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x3fcc06,0xb,_0x22c0fb[0x25]),_0x40fb84=_0x5389d7(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x52506d,0x10,_0x22c0fb[0x26]),_0x35d4a9=_0x5389d7(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x551912,0x17,_0x22c0fb[0x27]),_0x205c0a=_0x5389d7(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x1aaa6a,0x4,_0x22c0fb[0x28]),_0x20a48d=_0x5389d7(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x2a4f10,0xb,_0x22c0fb[0x29]),_0x40fb84=_0x5389d7(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0xa4f48d,0x10,_0x22c0fb[0x2a]),_0x35d4a9=_0x5389d7(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x3b5d04,0x17,_0x22c0fb[0x2b]),_0x205c0a=_0x5389d7(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3304ca,0x4,_0x22c0fb[0x2c]),_0x20a48d=_0x5389d7(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x29b537,0xb,_0x22c0fb[0x2d]),_0x40fb84=_0x5389d7(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x2d838a,0x10,_0x22c0fb[0x2e]),_0x35d4a9=_0x5389d7(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x2bc95f,0x17,_0x22c0fb[0x2f]),_0x205c0a=_0x540718(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x2a4f10,0x6,_0x22c0fb[0x30]),_0x20a48d=_0x540718(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x52506d,0xa,_0x22c0fb[0x31]),_0x40fb84=_0x540718(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x40cab8,0xf,_0x22c0fb[0x32]),_0x35d4a9=_0x540718(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x3ff30f,0x15,_0x22c0fb[0x33]),_0x205c0a=_0x540718(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x29b537,0x6,_0x22c0fb[0x34]),_0x20a48d=_0x540718(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0xa4f48d,0xa,_0x22c0fb[0x35]),_0x40fb84=_0x540718(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x551912,0xf,_0x22c0fb[0x36]),_0x35d4a9=_0x540718(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x3cbdea,0x15,_0x22c0fb[0x37]),_0x205c0a=_0x540718(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x193735,0x6,_0x22c0fb[0x38]),_0x20a48d=_0x540718(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x2d838a,0xa,_0x22c0fb[0x39]),_0x40fb84=_0x540718(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x3b5d04,0xf,_0x22c0fb[0x3a]),_0x35d4a9=_0x540718(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x1aaa6a,0x15,_0x22c0fb[0x3b]),_0x205c0a=_0x540718(_0x205c0a,_0x35d4a9,_0x40fb84,_0x20a48d,_0x3fcc06,0x6,_0x22c0fb[0x3c]),_0x20a48d=_0x540718(_0x20a48d,_0x205c0a,_0x35d4a9,_0x40fb84,_0x912622,0xa,_0x22c0fb[0x3d]),_0x40fb84=_0x540718(_0x40fb84,_0x20a48d,_0x205c0a,_0x35d4a9,_0x2bc95f,0xf,_0x22c0fb[0x3e]),_0x35d4a9=_0x540718(_0x35d4a9,_0x40fb84,_0x20a48d,_0x205c0a,_0x3304ca,0x15,_0x22c0fb[0x3f]),_0x5c56da[0x0]=_0x5c56da[0x0]+_0x205c0a|0x0,_0x5c56da[0x1]=_0x5c56da[0x1]+_0x35d4a9|0x0,_0x5c56da[0x2]=_0x5c56da[0x2]+_0x40fb84|0x0,_0x5c56da[0x3]=_0x5c56da[0x3]+_0x20a48d|0x0;},'_doFinalize':function(){var _0x2c5ca7=_0x55c9a0,_0x5058a4=this['_data'],_0x4ad7c3=_0x5058a4[_0x2c5ca7(0x1d2)],_0x25ea8e=this['_nDataBytes']*0x8,_0x4f7a27=_0x5058a4[_0x2c5ca7(0x451)]*0x8;_0x4ad7c3[_0x4f7a27>>>0x5]|=0x80<<0x18-_0x4f7a27%0x20;var _0x243f2e=_0x5c8482[_0x2c5ca7(0x278)](_0x25ea8e/0x100000000),_0x23643e=_0x25ea8e;_0x4ad7c3[(_0x4f7a27+0x40>>>0x9<<0x4)+0xf]=(_0x243f2e<<0x8|_0x243f2e>>>0x18)&0xff00ff|(_0x243f2e<<0x18|_0x243f2e>>>0x8)&0xff00ff00,_0x4ad7c3[(_0x4f7a27+0x40>>>0x9<<0x4)+0xe]=(_0x23643e<<0x8|_0x23643e>>>0x18)&0xff00ff|(_0x23643e<<0x18|_0x23643e>>>0x8)&0xff00ff00,_0x5058a4[_0x2c5ca7(0x451)]=(_0x4ad7c3[_0x2c5ca7(0x406)]+0x1)*0x4,this[_0x2c5ca7(0x1c4)]();for(var _0x54649b=this[_0x2c5ca7(0x2c5)],_0x2de575=_0x54649b[_0x2c5ca7(0x1d2)],_0x3d7d86=0x0;_0x3d7d86<0x4;_0x3d7d86++){var _0x411df=_0x2de575[_0x3d7d86];_0x2de575[_0x3d7d86]=(_0x411df<<0x8|_0x411df>>>0x18)&0xff00ff|(_0x411df<<0x18|_0x411df>>>0x8)&0xff00ff00;}return _0x54649b;},'clone':function(){var _0x31dc4a=_0x55c9a0,_0x2ede7f=_0x32ad40['clone'][_0x31dc4a(0x3dc)](this);return _0x2ede7f[_0x31dc4a(0x2c5)]=this[_0x31dc4a(0x2c5)]['clone'](),_0x2ede7f;}});function _0x22605d(_0x531109,_0x489797,_0xd2e5f,_0x3a8a19,_0x732d27,_0x25db52,_0x5cf98c){var _0x70ec68=_0x531109+(_0x489797&_0xd2e5f|~_0x489797&_0x3a8a19)+_0x732d27+_0x5cf98c;return(_0x70ec68<<_0x25db52|_0x70ec68>>>0x20-_0x25db52)+_0x489797;}function _0x230eb2(_0x51f747,_0x2e7990,_0x1c96ee,_0x202233,_0x1e4340,_0x4bfe6c,_0x2e2e9c){var _0x20f33c=_0x51f747+(_0x2e7990&_0x202233|_0x1c96ee&~_0x202233)+_0x1e4340+_0x2e2e9c;return(_0x20f33c<<_0x4bfe6c|_0x20f33c>>>0x20-_0x4bfe6c)+_0x2e7990;}function _0x5389d7(_0x36b160,_0x2d0e4f,_0x139fb6,_0xdbd68c,_0x10b9ed,_0x16af7e,_0x109513){var _0x1a6b88=_0x36b160+(_0x2d0e4f^_0x139fb6^_0xdbd68c)+_0x10b9ed+_0x109513;return(_0x1a6b88<<_0x16af7e|_0x1a6b88>>>0x20-_0x16af7e)+_0x2d0e4f;}function _0x540718(_0x4309da,_0x3da4e0,_0x10ef4d,_0x4c2d55,_0x2a163a,_0x428075,_0x514792){var _0x31b52b=_0x4309da+(_0x10ef4d^(_0x3da4e0|~_0x4c2d55))+_0x2a163a+_0x514792;return(_0x31b52b<<_0x428075|_0x31b52b>>>0x20-_0x428075)+_0x3da4e0;}_0x142e03[_0x55c9a0(0x355)]=_0x32ad40[_0x55c9a0(0x320)](_0xaab8f5),_0x142e03[_0x55c9a0(0x1bb)]=_0x32ad40[_0x55c9a0(0x210)](_0xaab8f5);}(Math),_0x365003['MD5'];}));}(Ke)),Ke[_0x227d6b(0x305)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe['exports'],ei;function Rs(){var _0x285f50=_0x4c3b0f;return ei||(ei=0x1,function(_0x5c3427,_0x8a6970){(function(_0x20b139,_0x45502e){_0x5c3427['exports']=_0x45502e(ie());}(Cs,function(_0x248c10){var _0x3aa708=_0x5e8e;return(function(){var _0xf8867d=_0x5e8e,_0x1597c8=_0x248c10,_0x4670e6=_0x1597c8[_0xf8867d(0x370)],_0x5b5965=_0x4670e6['WordArray'],_0xfe460a=_0x4670e6[_0xf8867d(0x3d0)],_0x163ec3=_0x1597c8['algo'],_0x3939f8=[],_0x5eb3bf=_0x163ec3[_0xf8867d(0x2ff)]=_0xfe460a[_0xf8867d(0x279)]({'_doReset':function(){var _0xf6c6a1=_0xf8867d;this[_0xf6c6a1(0x2c5)]=new _0x5b5965[(_0xf6c6a1(0x1d6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5703c7,_0x3a3f4a){var _0x205990=_0xf8867d;for(var _0x24e487=this[_0x205990(0x2c5)][_0x205990(0x1d2)],_0x47f2be=_0x24e487[0x0],_0x5236ea=_0x24e487[0x1],_0x452319=_0x24e487[0x2],_0x11301a=_0x24e487[0x3],_0x481876=_0x24e487[0x4],_0x282990=0x0;_0x282990<0x50;_0x282990++){if(_0x282990<0x10)_0x3939f8[_0x282990]=_0x5703c7[_0x3a3f4a+_0x282990]|0x0;else{var _0x579f96=_0x3939f8[_0x282990-0x3]^_0x3939f8[_0x282990-0x8]^_0x3939f8[_0x282990-0xe]^_0x3939f8[_0x282990-0x10];_0x3939f8[_0x282990]=_0x579f96<<0x1|_0x579f96>>>0x1f;}var _0x55268b=(_0x47f2be<<0x5|_0x47f2be>>>0x1b)+_0x481876+_0x3939f8[_0x282990];_0x282990<0x14?_0x55268b+=(_0x5236ea&_0x452319|~_0x5236ea&_0x11301a)+0x5a827999:_0x282990<0x28?_0x55268b+=(_0x5236ea^_0x452319^_0x11301a)+0x6ed9eba1:_0x282990<0x3c?_0x55268b+=(_0x5236ea&_0x452319|_0x5236ea&_0x11301a|_0x452319&_0x11301a)-0x70e44324:_0x55268b+=(_0x5236ea^_0x452319^_0x11301a)-0x359d3e2a,_0x481876=_0x11301a,_0x11301a=_0x452319,_0x452319=_0x5236ea<<0x1e|_0x5236ea>>>0x2,_0x5236ea=_0x47f2be,_0x47f2be=_0x55268b;}_0x24e487[0x0]=_0x24e487[0x0]+_0x47f2be|0x0,_0x24e487[0x1]=_0x24e487[0x1]+_0x5236ea|0x0,_0x24e487[0x2]=_0x24e487[0x2]+_0x452319|0x0,_0x24e487[0x3]=_0x24e487[0x3]+_0x11301a|0x0,_0x24e487[0x4]=_0x24e487[0x4]+_0x481876|0x0;},'_doFinalize':function(){var _0x445fbb=_0xf8867d,_0x2d9ba3=this[_0x445fbb(0x3c5)],_0x4ea8f7=_0x2d9ba3['words'],_0x103eab=this['_nDataBytes']*0x8,_0x257bd6=_0x2d9ba3[_0x445fbb(0x451)]*0x8;return _0x4ea8f7[_0x257bd6>>>0x5]|=0x80<<0x18-_0x257bd6%0x20,_0x4ea8f7[(_0x257bd6+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x103eab/0x100000000),_0x4ea8f7[(_0x257bd6+0x40>>>0x9<<0x4)+0xf]=_0x103eab,_0x2d9ba3[_0x445fbb(0x451)]=_0x4ea8f7[_0x445fbb(0x406)]*0x4,this[_0x445fbb(0x1c4)](),this['_hash'];},'clone':function(){var _0x511c5c=_0xf8867d,_0x4899a1=_0xfe460a[_0x511c5c(0x251)][_0x511c5c(0x3dc)](this);return _0x4899a1[_0x511c5c(0x2c5)]=this[_0x511c5c(0x2c5)][_0x511c5c(0x251)](),_0x4899a1;}});_0x1597c8[_0xf8867d(0x2ff)]=_0xfe460a[_0xf8867d(0x320)](_0x5eb3bf),_0x1597c8[_0xf8867d(0x2a8)]=_0xfe460a[_0xf8867d(0x210)](_0x5eb3bf);}()),_0x248c10[_0x3aa708(0x2ff)];}));}(qe)),qe[_0x285f50(0x305)];}var ze={'exports':{}},bs=ze[_0x4c3b0f(0x305)],ti;function Os(){var _0x353e36=_0x4c3b0f;return ti||(ti=0x1,function(_0x434719,_0x3a803b){(function(_0x3c7f72,_0x37be5c){var _0x50a03e=_0x5e8e;_0x434719[_0x50a03e(0x305)]=_0x37be5c(ie());}(bs,function(_0x5a8071){(function(){var _0x46b1d3=_0x5e8e,_0x187c94=_0x5a8071,_0x11740f=_0x187c94['lib'],_0x39b3a5=_0x11740f[_0x46b1d3(0x41a)],_0x18419a=_0x187c94[_0x46b1d3(0x244)],_0x3460ba=_0x18419a[_0x46b1d3(0x3d2)],_0x5737ac=_0x187c94['algo'];_0x5737ac[_0x46b1d3(0x461)]=_0x39b3a5[_0x46b1d3(0x279)]({'init':function(_0x3bd897,_0x307be5){var _0x228115=_0x46b1d3;_0x3bd897=this['_hasher']=new _0x3bd897[(_0x228115(0x1d6))](),typeof _0x307be5==_0x228115(0x196)&&(_0x307be5=_0x3460ba[_0x228115(0x26a)](_0x307be5));var _0x58d50c=_0x3bd897['blockSize'],_0x266f1d=_0x58d50c*0x4;_0x307be5[_0x228115(0x451)]>_0x266f1d&&(_0x307be5=_0x3bd897[_0x228115(0x2d3)](_0x307be5)),_0x307be5[_0x228115(0x444)]();for(var _0x36328e=this['_oKey']=_0x307be5[_0x228115(0x251)](),_0x3a5239=this[_0x228115(0x1a0)]=_0x307be5[_0x228115(0x251)](),_0x52fe59=_0x36328e[_0x228115(0x1d2)],_0x48f33b=_0x3a5239[_0x228115(0x1d2)],_0xc109d3=0x0;_0xc109d3<_0x58d50c;_0xc109d3++)_0x52fe59[_0xc109d3]^=0x5c5c5c5c,_0x48f33b[_0xc109d3]^=0x36363636;_0x36328e['sigBytes']=_0x3a5239[_0x228115(0x451)]=_0x266f1d,this[_0x228115(0x2e3)]();},'reset':function(){var _0x3426ec=_0x46b1d3,_0x5bca73=this[_0x3426ec(0x1df)];_0x5bca73[_0x3426ec(0x2e3)](),_0x5bca73[_0x3426ec(0x35d)](this[_0x3426ec(0x1a0)]);},'update':function(_0x3470c6){var _0x5ae985=_0x46b1d3;return this[_0x5ae985(0x1df)]['update'](_0x3470c6),this;},'finalize':function(_0x1de42a){var _0x352381=_0x46b1d3,_0x2e42c0=this[_0x352381(0x1df)],_0x4b87ec=_0x2e42c0[_0x352381(0x2d3)](_0x1de42a);_0x2e42c0['reset']();var _0x8c5195=_0x2e42c0[_0x352381(0x2d3)](this['_oKey'][_0x352381(0x251)]()[_0x352381(0x324)](_0x4b87ec));return _0x8c5195;}});}());}));}(ze)),ze[_0x353e36(0x305)];}var ys=Ye[_0x4c3b0f(0x305)],ii;function Ui(){var _0xa0859=_0x4c3b0f;return ii||(ii=0x1,function(_0x348a32,_0x179210){(function(_0x57dd9d,_0x5a4abc,_0x40f430){var _0x431f97=_0x5e8e;_0x348a32[_0x431f97(0x305)]=_0x5a4abc(ie(),Rs(),Os());}(ys,function(_0x46cc99){var _0x143380=_0x5e8e;return(function(){var _0x3f6e09=_0x5e8e,_0x3a6001=_0x46cc99,_0x2c3ca8=_0x3a6001['lib'],_0xc8540=_0x2c3ca8[_0x3f6e09(0x41a)],_0xbc4244=_0x2c3ca8[_0x3f6e09(0x402)],_0x36c5b1=_0x3a6001['algo'],_0x5167ac=_0x36c5b1[_0x3f6e09(0x355)],_0x1b77c1=_0x36c5b1[_0x3f6e09(0x36e)]=_0xc8540[_0x3f6e09(0x279)]({'cfg':_0xc8540[_0x3f6e09(0x279)]({'keySize':0x80/0x20,'hasher':_0x5167ac,'iterations':0x1}),'init':function(_0xb7aeff){var _0x307ad8=_0x3f6e09;this[_0x307ad8(0x21c)]=this[_0x307ad8(0x21c)]['extend'](_0xb7aeff);},'compute':function(_0x18272e,_0x331032){var _0x4c3668=_0x3f6e09;for(var _0x322d32,_0x1b28b8=this[_0x4c3668(0x21c)],_0x1fc7d4=_0x1b28b8[_0x4c3668(0x345)][_0x4c3668(0x49c)](),_0x47a922=_0xbc4244[_0x4c3668(0x49c)](),_0x2d041d=_0x47a922[_0x4c3668(0x1d2)],_0x58db71=_0x1b28b8[_0x4c3668(0x1be)],_0x463712=_0x1b28b8['iterations'];_0x2d041d[_0x4c3668(0x406)]<_0x58db71;){_0x322d32&&_0x1fc7d4[_0x4c3668(0x35d)](_0x322d32),_0x322d32=_0x1fc7d4[_0x4c3668(0x35d)](_0x18272e)['finalize'](_0x331032),_0x1fc7d4[_0x4c3668(0x2e3)]();for(var _0xf9d2d9=0x1;_0xf9d2d9<_0x463712;_0xf9d2d9++)_0x322d32=_0x1fc7d4[_0x4c3668(0x2d3)](_0x322d32),_0x1fc7d4['reset']();_0x47a922['concat'](_0x322d32);}return _0x47a922['sigBytes']=_0x58db71*0x4,_0x47a922;}});_0x3a6001[_0x3f6e09(0x36e)]=function(_0x41bd1c,_0x25ff2a,_0x4eb417){var _0x505537=_0x3f6e09;return _0x1b77c1['create'](_0x4eb417)[_0x505537(0x201)](_0x41bd1c,_0x25ff2a);};}()),_0x46cc99[_0x143380(0x36e)];}));}(Ye)),Ye[_0xa0859(0x305)];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x7bc23f=_0x4c3b0f;return ni||(ni=0x1,function(_0x330d53,_0x3882c0){(function(_0x15c83a,_0x3a0626,_0x421f76){var _0x5a8cfc=_0x5e8e;_0x330d53[_0x5a8cfc(0x305)]=_0x3a0626(ie(),Ui());}(Ns,function(_0x5e6df8){var _0x406d33=_0x5e8e;_0x5e6df8['lib'][_0x406d33(0x280)]||function(_0x5864f7){var _0x36ed1b=_0x406d33,_0x1a70cc=_0x5e6df8,_0x4482aa=_0x1a70cc[_0x36ed1b(0x370)],_0x22a8e4=_0x4482aa['Base'],_0x14f525=_0x4482aa['WordArray'],_0x43d03a=_0x4482aa[_0x36ed1b(0x299)],_0x18d992=_0x1a70cc['enc'];_0x18d992[_0x36ed1b(0x3d2)];var _0x4742e1=_0x18d992[_0x36ed1b(0x471)],_0x39e0aa=_0x1a70cc[_0x36ed1b(0x2d9)],_0x1e2190=_0x39e0aa[_0x36ed1b(0x36e)],_0x1bbc34=_0x4482aa[_0x36ed1b(0x280)]=_0x43d03a['extend']({'cfg':_0x22a8e4['extend'](),'createEncryptor':function(_0x1d10be,_0x1ad8f4){var _0x16473d=_0x36ed1b;return this['create'](this[_0x16473d(0x1ee)],_0x1d10be,_0x1ad8f4);},'createDecryptor':function(_0x557169,_0x5f513e){var _0x3eb14d=_0x36ed1b;return this[_0x3eb14d(0x49c)](this[_0x3eb14d(0x455)],_0x557169,_0x5f513e);},'init':function(_0x336674,_0x2b3a99,_0x23064c){var _0x2b78b4=_0x36ed1b;this[_0x2b78b4(0x21c)]=this[_0x2b78b4(0x21c)][_0x2b78b4(0x279)](_0x23064c),this['_xformMode']=_0x336674,this[_0x2b78b4(0x473)]=_0x2b3a99,this[_0x2b78b4(0x2e3)]();},'reset':function(){var _0x4dfdd3=_0x36ed1b;_0x43d03a[_0x4dfdd3(0x2e3)][_0x4dfdd3(0x3dc)](this),this[_0x4dfdd3(0x23e)]();},'process':function(_0x3350b4){var _0xf61ddd=_0x36ed1b;return this[_0xf61ddd(0x1c8)](_0x3350b4),this[_0xf61ddd(0x1c4)]();},'finalize':function(_0x42cc21){var _0x3ce9a4=_0x36ed1b;_0x42cc21&&this[_0x3ce9a4(0x1c8)](_0x42cc21);var _0x4ce092=this['_doFinalize']();return _0x4ce092;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5adab7(_0x203502){return typeof _0x203502=='string'?_0x54b0f2:_0x2689c5;}return function(_0x315157){return{'encrypt':function(_0x56e312,_0x3ebf49,_0x34a321){return _0x5adab7(_0x3ebf49)['encrypt'](_0x315157,_0x56e312,_0x3ebf49,_0x34a321);},'decrypt':function(_0x3ddb0e,_0x479da5,_0x3e13a5){var _0x572847=_0x5e8e;return _0x5adab7(_0x479da5)[_0x572847(0x32e)](_0x315157,_0x3ddb0e,_0x479da5,_0x3e13a5);}};};}())});_0x4482aa['StreamCipher']=_0x1bbc34[_0x36ed1b(0x279)]({'_doFinalize':function(){var _0x1b31cb=_0x36ed1b,_0x13257f=this[_0x1b31cb(0x1c4)](!0x0);return _0x13257f;},'blockSize':0x1});var _0x4cd89d=_0x1a70cc['mode']={},_0x5f6abb=_0x4482aa[_0x36ed1b(0x2a7)]=_0x22a8e4[_0x36ed1b(0x279)]({'createEncryptor':function(_0x42963a,_0x2c534b){var _0x40c778=_0x36ed1b;return this['Encryptor'][_0x40c778(0x49c)](_0x42963a,_0x2c534b);},'createDecryptor':function(_0x5bc724,_0x24c183){var _0x10e6e2=_0x36ed1b;return this['Decryptor'][_0x10e6e2(0x49c)](_0x5bc724,_0x24c183);},'init':function(_0xbc3d86,_0x4999a8){var _0x32a3c8=_0x36ed1b;this[_0x32a3c8(0x3de)]=_0xbc3d86,this[_0x32a3c8(0x212)]=_0x4999a8;}}),_0x38994e=_0x4cd89d[_0x36ed1b(0x240)]=(function(){var _0x5f0936=_0x36ed1b,_0x373da9=_0x5f6abb['extend']();_0x373da9[_0x5f0936(0x453)]=_0x373da9['extend']({'processBlock':function(_0x1d5ed2,_0x479926){var _0x35a32a=_0x5f0936,_0x300a6f=this['_cipher'],_0x410257=_0x300a6f[_0x35a32a(0x3a0)];_0x4dfaa8[_0x35a32a(0x3dc)](this,_0x1d5ed2,_0x479926,_0x410257),_0x300a6f['encryptBlock'](_0x1d5ed2,_0x479926),this[_0x35a32a(0x2c1)]=_0x1d5ed2[_0x35a32a(0x2b6)](_0x479926,_0x479926+_0x410257);}}),_0x373da9[_0x5f0936(0x40d)]=_0x373da9[_0x5f0936(0x279)]({'processBlock':function(_0x3e7424,_0x4292b3){var _0x32b2ed=_0x5f0936,_0x4321d0=this[_0x32b2ed(0x3de)],_0x231311=_0x4321d0[_0x32b2ed(0x3a0)],_0x5932dc=_0x3e7424[_0x32b2ed(0x2b6)](_0x4292b3,_0x4292b3+_0x231311);_0x4321d0[_0x32b2ed(0x1ef)](_0x3e7424,_0x4292b3),_0x4dfaa8['call'](this,_0x3e7424,_0x4292b3,_0x231311),this['_prevBlock']=_0x5932dc;}});function _0x4dfaa8(_0x4dda05,_0x585396,_0x11a934){var _0x54b1b6=_0x5f0936,_0x233e7d,_0x483cc6=this['_iv'];_0x483cc6?(_0x233e7d=_0x483cc6,this[_0x54b1b6(0x212)]=_0x5864f7):_0x233e7d=this[_0x54b1b6(0x2c1)];for(var _0xef6aaf=0x0;_0xef6aaf<_0x11a934;_0xef6aaf++)_0x4dda05[_0x585396+_0xef6aaf]^=_0x233e7d[_0xef6aaf];}return _0x373da9;}()),_0x2dc03f=_0x1a70cc[_0x36ed1b(0x364)]={},_0x4951e9=_0x2dc03f[_0x36ed1b(0x1cb)]={'pad':function(_0x44b6d5,_0x15dde5){var _0x27555b=_0x36ed1b;for(var _0x571627=_0x15dde5*0x4,_0x285de5=_0x571627-_0x44b6d5[_0x27555b(0x451)]%_0x571627,_0x4708f5=_0x285de5<<0x18|_0x285de5<<0x10|_0x285de5<<0x8|_0x285de5,_0x1657da=[],_0x2c578f=0x0;_0x2c578f<_0x285de5;_0x2c578f+=0x4)_0x1657da['push'](_0x4708f5);var _0x33e3a9=_0x14f525[_0x27555b(0x49c)](_0x1657da,_0x285de5);_0x44b6d5[_0x27555b(0x324)](_0x33e3a9);},'unpad':function(_0x420e25){var _0x435bea=_0x36ed1b,_0xac3973=_0x420e25[_0x435bea(0x1d2)][_0x420e25[_0x435bea(0x451)]-0x1>>>0x2]&0xff;_0x420e25[_0x435bea(0x451)]-=_0xac3973;}};_0x4482aa['BlockCipher']=_0x1bbc34['extend']({'cfg':_0x1bbc34[_0x36ed1b(0x21c)][_0x36ed1b(0x279)]({'mode':_0x38994e,'padding':_0x4951e9}),'reset':function(){var _0x18608c=_0x36ed1b,_0x318567;_0x1bbc34['reset']['call'](this);var _0x4c4682=this[_0x18608c(0x21c)],_0x39dbd1=_0x4c4682['iv'],_0x58f371=_0x4c4682['mode'];this[_0x18608c(0x1a5)]==this['_ENC_XFORM_MODE']?_0x318567=_0x58f371['createEncryptor']:(_0x318567=_0x58f371[_0x18608c(0x411)],this[_0x18608c(0x2b9)]=0x1),this[_0x18608c(0x24d)]&&this[_0x18608c(0x24d)]['__creator']==_0x318567?this[_0x18608c(0x24d)][_0x18608c(0x1d6)](this,_0x39dbd1&&_0x39dbd1[_0x18608c(0x1d2)]):(this[_0x18608c(0x24d)]=_0x318567[_0x18608c(0x3dc)](_0x58f371,this,_0x39dbd1&&_0x39dbd1[_0x18608c(0x1d2)]),this[_0x18608c(0x24d)][_0x18608c(0x48d)]=_0x318567);},'_doProcessBlock':function(_0x102b46,_0x477429){var _0x1e821c=_0x36ed1b;this[_0x1e821c(0x24d)]['processBlock'](_0x102b46,_0x477429);},'_doFinalize':function(){var _0x32298f=_0x36ed1b,_0xa338be,_0x4385b1=this[_0x32298f(0x21c)]['padding'];return this[_0x32298f(0x1a5)]==this[_0x32298f(0x1ee)]?(_0x4385b1[_0x32298f(0x364)](this['_data'],this[_0x32298f(0x3a0)]),_0xa338be=this[_0x32298f(0x1c4)](!0x0)):(_0xa338be=this['_process'](!0x0),_0x4385b1[_0x32298f(0x452)](_0xa338be)),_0xa338be;},'blockSize':0x80/0x20});var _0x1a4b0c=_0x4482aa[_0x36ed1b(0x204)]=_0x22a8e4['extend']({'init':function(_0x2df929){var _0x2345bc=_0x36ed1b;this[_0x2345bc(0x378)](_0x2df929);},'toString':function(_0xe78888){return(_0xe78888||this['formatter'])['stringify'](this);}}),_0x225ce4=_0x1a70cc[_0x36ed1b(0x467)]={},_0x45adc1=_0x225ce4[_0x36ed1b(0x37a)]={'stringify':function(_0x36890a){var _0x10c15e=_0x36ed1b,_0x3e8d44,_0x444ca2=_0x36890a['ciphertext'],_0x39c925=_0x36890a['salt'];return _0x39c925?_0x3e8d44=_0x14f525[_0x10c15e(0x49c)]([0x53616c74,0x65645f5f])['concat'](_0x39c925)['concat'](_0x444ca2):_0x3e8d44=_0x444ca2,_0x3e8d44[_0x10c15e(0x22b)](_0x4742e1);},'parse':function(_0x5ba22f){var _0x51e61f=_0x36ed1b,_0xac5854,_0x584da7=_0x4742e1[_0x51e61f(0x26a)](_0x5ba22f),_0xa7b3e9=_0x584da7[_0x51e61f(0x1d2)];return _0xa7b3e9[0x0]==0x53616c74&&_0xa7b3e9[0x1]==0x65645f5f&&(_0xac5854=_0x14f525['create'](_0xa7b3e9[_0x51e61f(0x2b6)](0x2,0x4)),_0xa7b3e9[_0x51e61f(0x46a)](0x0,0x4),_0x584da7[_0x51e61f(0x451)]-=0x10),_0x1a4b0c[_0x51e61f(0x49c)]({'ciphertext':_0x584da7,'salt':_0xac5854});}},_0x2689c5=_0x4482aa['SerializableCipher']=_0x22a8e4[_0x36ed1b(0x279)]({'cfg':_0x22a8e4[_0x36ed1b(0x279)]({'format':_0x45adc1}),'encrypt':function(_0xa7c24e,_0x4ade0f,_0xdbd94d,_0xca10d1){var _0x35a56e=_0x36ed1b;_0xca10d1=this['cfg'][_0x35a56e(0x279)](_0xca10d1);var _0x3f61ce=_0xa7c24e[_0x35a56e(0x377)](_0xdbd94d,_0xca10d1),_0x3d3a9c=_0x3f61ce['finalize'](_0x4ade0f),_0x308a63=_0x3f61ce[_0x35a56e(0x21c)];return _0x1a4b0c['create']({'ciphertext':_0x3d3a9c,'key':_0xdbd94d,'iv':_0x308a63['iv'],'algorithm':_0xa7c24e,'mode':_0x308a63[_0x35a56e(0x233)],'padding':_0x308a63[_0x35a56e(0x454)],'blockSize':_0xa7c24e['blockSize'],'formatter':_0xca10d1[_0x35a56e(0x467)]});},'decrypt':function(_0xe3d288,_0x4daf6a,_0x4d632a,_0x542920){var _0x3f8ee3=_0x36ed1b;_0x542920=this['cfg'][_0x3f8ee3(0x279)](_0x542920),_0x4daf6a=this[_0x3f8ee3(0x41f)](_0x4daf6a,_0x542920['format']);var _0x6cbfe8=_0xe3d288['createDecryptor'](_0x4d632a,_0x542920)[_0x3f8ee3(0x2d3)](_0x4daf6a[_0x3f8ee3(0x359)]);return _0x6cbfe8;},'_parse':function(_0x3d956f,_0x46de37){var _0x30a1d0=_0x36ed1b;return typeof _0x3d956f=='string'?_0x46de37[_0x30a1d0(0x26a)](_0x3d956f,this):_0x3d956f;}}),_0x1da00a=_0x1a70cc[_0x36ed1b(0x1a3)]={},_0x291d6f=_0x1da00a['OpenSSL']={'execute':function(_0x32dcff,_0x269a36,_0x4a9f3f,_0x7f461b,_0x25a7e0){var _0x21d3ac=_0x36ed1b;if(_0x7f461b||(_0x7f461b=_0x14f525[_0x21d3ac(0x3aa)](0x40/0x8)),_0x25a7e0)var _0x461473=_0x1e2190[_0x21d3ac(0x49c)]({'keySize':_0x269a36+_0x4a9f3f,'hasher':_0x25a7e0})[_0x21d3ac(0x201)](_0x32dcff,_0x7f461b);else var _0x461473=_0x1e2190[_0x21d3ac(0x49c)]({'keySize':_0x269a36+_0x4a9f3f})[_0x21d3ac(0x201)](_0x32dcff,_0x7f461b);var _0x1c46b2=_0x14f525[_0x21d3ac(0x49c)](_0x461473['words']['slice'](_0x269a36),_0x4a9f3f*0x4);return _0x461473[_0x21d3ac(0x451)]=_0x269a36*0x4,_0x1a4b0c['create']({'key':_0x461473,'iv':_0x1c46b2,'salt':_0x7f461b});}},_0x54b0f2=_0x4482aa[_0x36ed1b(0x3ba)]=_0x2689c5['extend']({'cfg':_0x2689c5[_0x36ed1b(0x21c)][_0x36ed1b(0x279)]({'kdf':_0x291d6f}),'encrypt':function(_0x3e67fe,_0x4047fd,_0x4534f0,_0x499447){var _0x2ec9eb=_0x36ed1b;_0x499447=this['cfg'][_0x2ec9eb(0x279)](_0x499447);var _0xab95e2=_0x499447[_0x2ec9eb(0x1a3)][_0x2ec9eb(0x3cd)](_0x4534f0,_0x3e67fe[_0x2ec9eb(0x1be)],_0x3e67fe['ivSize'],_0x499447[_0x2ec9eb(0x37f)],_0x499447['hasher']);_0x499447['iv']=_0xab95e2['iv'];var _0x5b6817=_0x2689c5[_0x2ec9eb(0x3d4)][_0x2ec9eb(0x3dc)](this,_0x3e67fe,_0x4047fd,_0xab95e2[_0x2ec9eb(0x2c4)],_0x499447);return _0x5b6817[_0x2ec9eb(0x378)](_0xab95e2),_0x5b6817;},'decrypt':function(_0x18e7a5,_0x49bd60,_0xb5c5f7,_0x19c9ba){var _0x54a304=_0x36ed1b;_0x19c9ba=this['cfg'][_0x54a304(0x279)](_0x19c9ba),_0x49bd60=this[_0x54a304(0x41f)](_0x49bd60,_0x19c9ba[_0x54a304(0x467)]);var _0x3ee56c=_0x19c9ba[_0x54a304(0x1a3)][_0x54a304(0x3cd)](_0xb5c5f7,_0x18e7a5[_0x54a304(0x1be)],_0x18e7a5[_0x54a304(0x228)],_0x49bd60[_0x54a304(0x37f)],_0x19c9ba[_0x54a304(0x345)]);_0x19c9ba['iv']=_0x3ee56c['iv'];var _0x2bdabd=_0x2689c5[_0x54a304(0x32e)][_0x54a304(0x3dc)](this,_0x18e7a5,_0x49bd60,_0x3ee56c[_0x54a304(0x2c4)],_0x19c9ba);return _0x2bdabd;}});}();}));}(Je)),Je[_0x7bc23f(0x305)];}var Ds=Ve[_0x4c3b0f(0x305)],si;function Us(){var _0xe090d1=_0x4c3b0f;return si||(si=0x1,function(_0x41d74c,_0x42e0a6){(function(_0x5bd6aa,_0x4e5d52,_0x1981fa){_0x41d74c['exports']=_0x4e5d52(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x502e66){var _0x8e4298=_0x5e8e;return(function(){var _0x466670=_0x5e8e,_0x4dd76e=_0x502e66,_0x58bc8f=_0x4dd76e[_0x466670(0x370)],_0x68610a=_0x58bc8f[_0x466670(0x2da)],_0x4e68c6=_0x4dd76e[_0x466670(0x2d9)],_0x32cc8c=[],_0x5c8f7e=[],_0x300ea1=[],_0x29a973=[],_0x85560c=[],_0x20348d=[],_0x196582=[],_0x2483c4=[],_0x4245ff=[],_0x41e4e6=[];(function(){for(var _0x3f4d0d=[],_0x240b11=0x0;_0x240b11<0x100;_0x240b11++)_0x240b11<0x80?_0x3f4d0d[_0x240b11]=_0x240b11<<0x1:_0x3f4d0d[_0x240b11]=_0x240b11<<0x1^0x11b;for(var _0x193fad=0x0,_0x541ae=0x0,_0x240b11=0x0;_0x240b11<0x100;_0x240b11++){var _0x435f3d=_0x541ae^_0x541ae<<0x1^_0x541ae<<0x2^_0x541ae<<0x3^_0x541ae<<0x4;_0x435f3d=_0x435f3d>>>0x8^_0x435f3d&0xff^0x63,_0x32cc8c[_0x193fad]=_0x435f3d,_0x5c8f7e[_0x435f3d]=_0x193fad;var _0x18da3d=_0x3f4d0d[_0x193fad],_0x8ea183=_0x3f4d0d[_0x18da3d],_0x3514d7=_0x3f4d0d[_0x8ea183],_0x1f2e80=_0x3f4d0d[_0x435f3d]*0x101^_0x435f3d*0x1010100;_0x300ea1[_0x193fad]=_0x1f2e80<<0x18|_0x1f2e80>>>0x8,_0x29a973[_0x193fad]=_0x1f2e80<<0x10|_0x1f2e80>>>0x10,_0x85560c[_0x193fad]=_0x1f2e80<<0x8|_0x1f2e80>>>0x18,_0x20348d[_0x193fad]=_0x1f2e80;var _0x1f2e80=_0x3514d7*0x1010101^_0x8ea183*0x10001^_0x18da3d*0x101^_0x193fad*0x1010100;_0x196582[_0x435f3d]=_0x1f2e80<<0x18|_0x1f2e80>>>0x8,_0x2483c4[_0x435f3d]=_0x1f2e80<<0x10|_0x1f2e80>>>0x10,_0x4245ff[_0x435f3d]=_0x1f2e80<<0x8|_0x1f2e80>>>0x18,_0x41e4e6[_0x435f3d]=_0x1f2e80,_0x193fad?(_0x193fad=_0x18da3d^_0x3f4d0d[_0x3f4d0d[_0x3f4d0d[_0x3514d7^_0x18da3d]]],_0x541ae^=_0x3f4d0d[_0x3f4d0d[_0x541ae]]):_0x193fad=_0x541ae=0x1;}}());var _0x117c82=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x36aedf=_0x4e68c6['AES']=_0x68610a[_0x466670(0x279)]({'_doReset':function(){var _0x5c7c29=_0x466670,_0x23351b;if(!(this['_nRounds']&&this[_0x5c7c29(0x376)]===this[_0x5c7c29(0x473)])){for(var _0x33a256=this[_0x5c7c29(0x376)]=this['_key'],_0x48240f=_0x33a256[_0x5c7c29(0x1d2)],_0x465694=_0x33a256['sigBytes']/0x4,_0xa4effc=this[_0x5c7c29(0x194)]=_0x465694+0x6,_0x287c24=(_0xa4effc+0x1)*0x4,_0x4f6472=this[_0x5c7c29(0x1aa)]=[],_0x172371=0x0;_0x172371<_0x287c24;_0x172371++)_0x172371<_0x465694?_0x4f6472[_0x172371]=_0x48240f[_0x172371]:(_0x23351b=_0x4f6472[_0x172371-0x1],_0x172371%_0x465694?_0x465694>0x6&&_0x172371%_0x465694==0x4&&(_0x23351b=_0x32cc8c[_0x23351b>>>0x18]<<0x18|_0x32cc8c[_0x23351b>>>0x10&0xff]<<0x10|_0x32cc8c[_0x23351b>>>0x8&0xff]<<0x8|_0x32cc8c[_0x23351b&0xff]):(_0x23351b=_0x23351b<<0x8|_0x23351b>>>0x18,_0x23351b=_0x32cc8c[_0x23351b>>>0x18]<<0x18|_0x32cc8c[_0x23351b>>>0x10&0xff]<<0x10|_0x32cc8c[_0x23351b>>>0x8&0xff]<<0x8|_0x32cc8c[_0x23351b&0xff],_0x23351b^=_0x117c82[_0x172371/_0x465694|0x0]<<0x18),_0x4f6472[_0x172371]=_0x4f6472[_0x172371-_0x465694]^_0x23351b);for(var _0x33febe=this[_0x5c7c29(0x2ec)]=[],_0x2640bb=0x0;_0x2640bb<_0x287c24;_0x2640bb++){var _0x172371=_0x287c24-_0x2640bb;if(_0x2640bb%0x4)var _0x23351b=_0x4f6472[_0x172371];else var _0x23351b=_0x4f6472[_0x172371-0x4];_0x2640bb<0x4||_0x172371<=0x4?_0x33febe[_0x2640bb]=_0x23351b:_0x33febe[_0x2640bb]=_0x196582[_0x32cc8c[_0x23351b>>>0x18]]^_0x2483c4[_0x32cc8c[_0x23351b>>>0x10&0xff]]^_0x4245ff[_0x32cc8c[_0x23351b>>>0x8&0xff]]^_0x41e4e6[_0x32cc8c[_0x23351b&0xff]];}}},'encryptBlock':function(_0x236759,_0x4f6e2d){var _0x32b909=_0x466670;this[_0x32b909(0x45f)](_0x236759,_0x4f6e2d,this[_0x32b909(0x1aa)],_0x300ea1,_0x29a973,_0x85560c,_0x20348d,_0x32cc8c);},'decryptBlock':function(_0x1134bd,_0x2e5005){var _0x2e4feb=_0x466670,_0x10372f=_0x1134bd[_0x2e5005+0x1];_0x1134bd[_0x2e5005+0x1]=_0x1134bd[_0x2e5005+0x3],_0x1134bd[_0x2e5005+0x3]=_0x10372f,this[_0x2e4feb(0x45f)](_0x1134bd,_0x2e5005,this['_invKeySchedule'],_0x196582,_0x2483c4,_0x4245ff,_0x41e4e6,_0x5c8f7e);var _0x10372f=_0x1134bd[_0x2e5005+0x1];_0x1134bd[_0x2e5005+0x1]=_0x1134bd[_0x2e5005+0x3],_0x1134bd[_0x2e5005+0x3]=_0x10372f;},'_doCryptBlock':function(_0x22c9e7,_0x2446ce,_0x5bb99d,_0x566ab3,_0x12540d,_0x380e29,_0x4e6bd4,_0x428f48){var _0xf3a5a9=_0x466670;for(var _0x2be41b=this[_0xf3a5a9(0x194)],_0x371851=_0x22c9e7[_0x2446ce]^_0x5bb99d[0x0],_0x42567c=_0x22c9e7[_0x2446ce+0x1]^_0x5bb99d[0x1],_0x5a6b6f=_0x22c9e7[_0x2446ce+0x2]^_0x5bb99d[0x2],_0x3b2eef=_0x22c9e7[_0x2446ce+0x3]^_0x5bb99d[0x3],_0x2ef2b1=0x4,_0x1aa416=0x1;_0x1aa416<_0x2be41b;_0x1aa416++){var _0x506c97=_0x566ab3[_0x371851>>>0x18]^_0x12540d[_0x42567c>>>0x10&0xff]^_0x380e29[_0x5a6b6f>>>0x8&0xff]^_0x4e6bd4[_0x3b2eef&0xff]^_0x5bb99d[_0x2ef2b1++],_0x2525f=_0x566ab3[_0x42567c>>>0x18]^_0x12540d[_0x5a6b6f>>>0x10&0xff]^_0x380e29[_0x3b2eef>>>0x8&0xff]^_0x4e6bd4[_0x371851&0xff]^_0x5bb99d[_0x2ef2b1++],_0x144f40=_0x566ab3[_0x5a6b6f>>>0x18]^_0x12540d[_0x3b2eef>>>0x10&0xff]^_0x380e29[_0x371851>>>0x8&0xff]^_0x4e6bd4[_0x42567c&0xff]^_0x5bb99d[_0x2ef2b1++],_0x3b36f4=_0x566ab3[_0x3b2eef>>>0x18]^_0x12540d[_0x371851>>>0x10&0xff]^_0x380e29[_0x42567c>>>0x8&0xff]^_0x4e6bd4[_0x5a6b6f&0xff]^_0x5bb99d[_0x2ef2b1++];_0x371851=_0x506c97,_0x42567c=_0x2525f,_0x5a6b6f=_0x144f40,_0x3b2eef=_0x3b36f4;}var _0x506c97=(_0x428f48[_0x371851>>>0x18]<<0x18|_0x428f48[_0x42567c>>>0x10&0xff]<<0x10|_0x428f48[_0x5a6b6f>>>0x8&0xff]<<0x8|_0x428f48[_0x3b2eef&0xff])^_0x5bb99d[_0x2ef2b1++],_0x2525f=(_0x428f48[_0x42567c>>>0x18]<<0x18|_0x428f48[_0x5a6b6f>>>0x10&0xff]<<0x10|_0x428f48[_0x3b2eef>>>0x8&0xff]<<0x8|_0x428f48[_0x371851&0xff])^_0x5bb99d[_0x2ef2b1++],_0x144f40=(_0x428f48[_0x5a6b6f>>>0x18]<<0x18|_0x428f48[_0x3b2eef>>>0x10&0xff]<<0x10|_0x428f48[_0x371851>>>0x8&0xff]<<0x8|_0x428f48[_0x42567c&0xff])^_0x5bb99d[_0x2ef2b1++],_0x3b36f4=(_0x428f48[_0x3b2eef>>>0x18]<<0x18|_0x428f48[_0x371851>>>0x10&0xff]<<0x10|_0x428f48[_0x42567c>>>0x8&0xff]<<0x8|_0x428f48[_0x5a6b6f&0xff])^_0x5bb99d[_0x2ef2b1++];_0x22c9e7[_0x2446ce]=_0x506c97,_0x22c9e7[_0x2446ce+0x1]=_0x2525f,_0x22c9e7[_0x2446ce+0x2]=_0x144f40,_0x22c9e7[_0x2446ce+0x3]=_0x3b36f4;},'keySize':0x100/0x20});_0x4dd76e[_0x466670(0x350)]=_0x68610a[_0x466670(0x320)](_0x36aedf);}()),_0x502e66[_0x8e4298(0x350)];}));}(Ve)),Ve[_0xe090d1(0x305)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x4c3b0f(0x305)],ai;function xs(){var _0x4cd9d3=_0x4c3b0f;return ai||(ai=0x1,function(_0x10eb55,_0x26007d){(function(_0x588816,_0x430abd){var _0x5bed34=_0x5e8e;_0x10eb55[_0x5bed34(0x305)]=_0x430abd(ie());}(Ls,function(_0x322760){var _0x19343b=_0x5e8e;return _0x322760[_0x19343b(0x244)][_0x19343b(0x3d2)];}));}(Xe)),Xe[_0x4cd9d3(0x305)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x4c3b0f(0x305)],oi;function Hs(){var _0x547f29=_0x4c3b0f;return oi||(oi=0x1,function(_0x14d113,_0x417f70){(function(_0x58972b,_0x115077){var _0x315311=_0x5e8e;_0x14d113[_0x315311(0x305)]=_0x115077(ie());}($s,function(_0x47f1eb){var _0x5ffa6a=_0x5e8e;return(function(){var _0x3ffb22=_0x5e8e;if(typeof ArrayBuffer=='function'){var _0x8608a3=_0x47f1eb,_0x7cc11c=_0x8608a3[_0x3ffb22(0x370)],_0x4f884b=_0x7cc11c['WordArray'],_0xa80afb=_0x4f884b[_0x3ffb22(0x1d6)],_0x2a739d=_0x4f884b[_0x3ffb22(0x1d6)]=function(_0x4c57cb){var _0x5ebc66=_0x3ffb22;if(_0x4c57cb instanceof ArrayBuffer&&(_0x4c57cb=new Uint8Array(_0x4c57cb)),(_0x4c57cb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4c57cb instanceof Uint8ClampedArray||_0x4c57cb instanceof Int16Array||_0x4c57cb instanceof Uint16Array||_0x4c57cb instanceof Int32Array||_0x4c57cb instanceof Uint32Array||_0x4c57cb instanceof Float32Array||_0x4c57cb instanceof Float64Array)&&(_0x4c57cb=new Uint8Array(_0x4c57cb[_0x5ebc66(0x410)],_0x4c57cb['byteOffset'],_0x4c57cb[_0x5ebc66(0x1dc)])),_0x4c57cb instanceof Uint8Array){for(var _0x55e7e2=_0x4c57cb[_0x5ebc66(0x1dc)],_0x2bddef=[],_0x59bd5e=0x0;_0x59bd5e<_0x55e7e2;_0x59bd5e++)_0x2bddef[_0x59bd5e>>>0x2]|=_0x4c57cb[_0x59bd5e]<<0x18-_0x59bd5e%0x4*0x8;_0xa80afb[_0x5ebc66(0x3dc)](this,_0x2bddef,_0x55e7e2);}else _0xa80afb['apply'](this,arguments);};_0x2a739d[_0x3ffb22(0x1d4)]=_0x4f884b;}}()),_0x47f1eb[_0x5ffa6a(0x370)][_0x5ffa6a(0x402)];}));}(Ze)),Ze[_0x547f29(0x305)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe['exports'],ci;function Vs(){var _0x1ad693=_0x4c3b0f;return ci||(ci=0x1,function(_0x44f7bb,_0x5d80dd){(function(_0x248d62,_0x43d9b2,_0x5d91c9){_0x44f7bb['exports']=_0x43d9b2(ie(),Ai());}(Fs,function(_0x5475a4){var _0x5b8d7e=_0x5e8e;return _0x5475a4['pad'][_0x5b8d7e(0x1bd)]={'pad':function(){},'unpad':function(){}},_0x5475a4[_0x5b8d7e(0x364)]['NoPadding'];}));}(Qe)),Qe[_0x1ad693(0x305)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x58b351,_0x2568eb){var _0x3d9c89=_0x4c3b0f;const _0xa39789=_0x2568eb-_0x58b351[_0x3d9c89(0x406)]%_0x2568eb,_0xd1a799=String['fromCharCode'](_0xa39789)[_0x3d9c89(0x314)](_0xa39789);return _0x58b351+_0xd1a799;}function Ys(_0x597ce0,_0x56d627){var _0x2adfa9=_0x4c3b0f;const _0x5c3ce6=js[_0x2adfa9(0x3aa)](0x10),_0x3cc4d3=Ks(_0x597ce0,0x10),_0x25aefb=ws[_0x2adfa9(0x3d4)](ks['parse'](_0x3cc4d3),ri[_0x2adfa9(0x26a)](_0x56d627),{'iv':_0x5c3ce6,'padding':Ws});return _0x5c3ce6[_0x2adfa9(0x324)](_0x25aefb[_0x2adfa9(0x359)])[_0x2adfa9(0x22b)](ri);}function qs(){var _0x5b5347=_0x4c3b0f;const _0x3d8a49=_0x28c20a()[_0x5b5347(0x475)];if(_0x3d8a49){const _0x232c76={'time':Math['floor'](Date['now']()/0x3e8),'domain':location['hostname']};return Ys(JSON[_0x5b5347(0x497)](_0x232c76),_0x3d8a49);}}var zs=Object[_0x4c3b0f(0x304)],Js=(_0x24e167,_0xddf61b,_0x36adb7,_0x5161a2)=>{var _0x3b916b=_0x4c3b0f;for(var _0x52b2b0=_0x5161a2>0x1?void 0x0:_0x5161a2?zs(_0xddf61b,_0x36adb7):_0xddf61b,_0x63a26c=_0x24e167[_0x3b916b(0x406)]-0x1,_0x271555;_0x63a26c>=0x0;_0x63a26c--)(_0x271555=_0x24e167[_0x63a26c])&&(_0x52b2b0=_0x271555(_0x52b2b0)||_0x52b2b0);return _0x52b2b0;},Xs=(_0x44d6cc,_0x3c6884)=>(_0x299715,_0x44989d)=>_0x3c6884(_0x299715,_0x44989d,_0x44d6cc);let at=class{constructor(_0x1ec9e7){var _0x499173=_0x4c3b0f;this[_0x499173(0x447)]=_0x1ec9e7,this[_0x499173(0x323)]();}[_0x4c3b0f(0x323)](){var _0x29047a=_0x4c3b0f;this['_httpService'][_0x29047a(0x2aa)]({'interceptor':(_0xddf057,_0xfb6e13)=>{var _0x11b8c9=_0x29047a;const _0x5790f7=_0xddf057[_0x11b8c9(0x3c3)],_0x871735=qs();return _0x871735&&_0x5790f7[_0x11b8c9(0x44e)](_0x11b8c9(0x253),_0x871735),_0xfb6e13(_0xddf057);}});}};at=Js([Xs(0x0,_0xd5eff8(_0x279f52))],at);var Zs=Object[_0x4c3b0f(0x304)],Qs=(_0x3944a5,_0x469bd5,_0x2104f5,_0x29428c)=>{for(var _0x1b459c=_0x29428c>0x1?void 0x0:_0x29428c?Zs(_0x469bd5,_0x2104f5):_0x469bd5,_0x19d442=_0x3944a5['length']-0x1,_0x1b6f5e;_0x19d442>=0x0;_0x19d442--)(_0x1b6f5e=_0x3944a5[_0x19d442])&&(_0x1b459c=_0x1b6f5e(_0x1b459c)||_0x1b459c);return _0x1b459c;},mt=(_0x3e19cf,_0x17a218)=>(_0x4e4cb4,_0x4070b6)=>_0x17a218(_0x4e4cb4,_0x4070b6,_0x3e19cf);let bt=class extends _0x4391cf{constructor(_0x473f01,_0x112df4,_0x53200c){var _0xd2c9d1=_0x4c3b0f;super(),N(this,_0xd2c9d1(0x2b1),new _0x476957(null)),N(this,_0xd2c9d1(0x484),this[_0xd2c9d1(0x2b1)][_0xd2c9d1(0x236)]()),(this[_0xd2c9d1(0x23f)]=_0x473f01,this['_snapshotService']=_0x112df4,this[_0xd2c9d1(0x20c)]=_0x53200c);}async[_0x4c3b0f(0x1f4)](_0x5eda96,_0x309701,_0x5d59a9){var _0x3b2e24=_0x4c3b0f;this[_0x3b2e24(0x2b1)]['next']({'unitId':_0x5eda96,'type':_0x309701,'subUnitId':_0x5d59a9});let _0x45208c=null;switch(_0x309701){case Q[_0x3b2e24(0x439)]:{_0x45208c=await this[_0x3b2e24(0x252)](_0x5eda96);break;}case Q[_0x3b2e24(0x360)]:{_0x45208c=await this['_loadDoc'](_0x5eda96);break;}default:{this['_logService'][_0x3b2e24(0x1ab)]('[DataLoaderService]',_0x3b2e24(0x2b7));break;}}return _0x45208c;}async[_0x4c3b0f(0x252)](_0x48eb61){var _0x331552=_0x4c3b0f,_0xd0e88;let _0x27bb11=0x0;const _0x21c7e8=await((_0xd0e88=this[_0x331552(0x20c)])==null?void 0x0:_0xd0e88[_0x331552(0x3e1)](_0x48eb61));return _0x21c7e8&&(_0x21c7e8['awaitingChangeset']||_0x21c7e8['mutations']['length']!==0x0)&&(_0x27bb11=_0x21c7e8[_0x331552(0x3a1)]),_0x27bb11===0x0&&this[_0x331552(0x23f)][_0x331552(0x2cd)]('[DataLoaderService]',_0x331552(0x49e)),this[_0x331552(0x215)][_0x331552(0x33c)](_0x48eb61,_0x27bb11);}async[_0x4c3b0f(0x383)](_0x5db3fb){var _0xccaf7c=_0x4c3b0f,_0x252079;let _0x31a7c8=0x0;const _0x1c2330=await((_0x252079=this[_0xccaf7c(0x20c)])==null?void 0x0:_0x252079[_0xccaf7c(0x3e1)](_0x5db3fb));return _0x1c2330&&(_0x1c2330[_0xccaf7c(0x258)]||_0x1c2330[_0xccaf7c(0x30b)][_0xccaf7c(0x406)]!==0x0)&&(_0x31a7c8=_0x1c2330[_0xccaf7c(0x3a1)]),_0x31a7c8===0x0&&this['_logService']['debug'](_0xccaf7c(0x38c),_0xccaf7c(0x49e)),this[_0xccaf7c(0x215)][_0xccaf7c(0x23a)](_0x5db3fb,_0x31a7c8);}};bt=Qs([mt(0x0,_0x269a14),mt(0x1,_0xd5eff8(_0x267df8)),mt(0x2,_0x55e026(J))],bt);var er=Object['getOwnPropertyDescriptor'],tr=(_0x5a93bf,_0x47e7e4,_0x27976e,_0x2d58c0)=>{var _0x52752a=_0x4c3b0f;for(var _0x46ccbb=_0x2d58c0>0x1?void 0x0:_0x2d58c0?er(_0x47e7e4,_0x27976e):_0x47e7e4,_0x32c27e=_0x5a93bf[_0x52752a(0x406)]-0x1,_0x4c8ca8;_0x32c27e>=0x0;_0x32c27e--)(_0x4c8ca8=_0x5a93bf[_0x32c27e])&&(_0x46ccbb=_0x4c8ca8(_0x46ccbb)||_0x46ccbb);return _0x46ccbb;},gt=(_0x2ce377,_0x2833e7)=>(_0x3689b6,_0x10c125)=>_0x2833e7(_0x3689b6,_0x10c125,_0x2ce377);const ir=[_0x4c3b0f(0x255),_0x4c3b0f(0x423),'image/jpg',_0x4c3b0f(0x342),_0x4c3b0f(0x224)],nr=0x5*0x400*0x400,sr=_0x4c3b0f(0x273),rr=_0x4c3b0f(0x48e),ar=_0x4c3b0f(0x1e5),or=_0x4c3b0f(0x301);let Ot=class{constructor(_0x46a0bb,_0x31f2b5,_0x2c02ee){var _0x4b338d=_0x4c3b0f;N(this,_0x4b338d(0x354),0x0),N(this,_0x4b338d(0x34d),new _0x20a9ed()),N(this,_0x4b338d(0x1a4),this['_change$']),N(this,_0x4b338d(0x41c),new Map()),(this[_0x4b338d(0x447)]=_0x46a0bb,this[_0x4b338d(0x1b8)]=_0x31f2b5,this[_0x4b338d(0x3bd)]=_0x2c02ee);}[_0x4c3b0f(0x3a8)](_0x7d7254){var _0x77a4d3=_0x4c3b0f;this['_waitCount']=_0x7d7254,this['_change$'][_0x77a4d3(0x340)](_0x7d7254);}['getImageSourceCache'](_0x47378b,_0x1c3aa2){var _0x15f202=_0x4c3b0f;if(_0x1c3aa2===_0x3cc512[_0x15f202(0x48b)]){const _0x2da97b=new Image();return _0x2da97b[_0x15f202(0x3f2)]=_0x47378b,_0x2da97b;}return this[_0x15f202(0x41c)][_0x15f202(0x42b)](_0x47378b);}[_0x4c3b0f(0x46f)](_0x2c24b4,_0x2d81bf,_0x2424ee){var _0x1764a3=_0x4c3b0f;_0x2d81bf===_0x3cc512[_0x1764a3(0x48b)]||_0x2424ee==null||this[_0x1764a3(0x41c)]['set'](_0x2c24b4,_0x2424ee);}async[_0x4c3b0f(0x1f1)](_0x590f53){var _0x315498=_0x4c3b0f;try{const _0x370664=this[_0x315498(0x298)](this['_getSignURL'](),''+_0x590f53),_0x29935e=(await this[_0x315498(0x447)][_0x315498(0x42b)](_0x370664))[_0x315498(0x1fc)];if(_0x29935e[_0x315498(0x1ab)]&&_0x29935e['error'][_0x315498(0x3b0)]===Si['OK']){const _0x3dc3ad=new URL(_0x29935e[_0x315498(0x33f)],this['_getDownloadEndpointURL']())[_0x315498(0x22b)]();return Promise[_0x315498(0x316)](_0x3dc3ad);}return Promise[_0x315498(0x3cf)](_0x29935e['error']);}catch(_0x171c3b){return Promise[_0x315498(0x3cf)](_0x171c3b);}}async[_0x4c3b0f(0x2e5)](_0x16a3f1){var _0x13210f=_0x4c3b0f;let _0x545bce='';if(!ir[_0x13210f(0x3d1)](_0x16a3f1[_0x13210f(0x493)]))return this[_0x13210f(0x39d)](),Promise[_0x13210f(0x3cf)](new Error(_0x1b8322[_0x13210f(0x292)]));if(_0x16a3f1[_0x13210f(0x40a)]>nr)return this[_0x13210f(0x39d)](),Promise[_0x13210f(0x3cf)](new Error(_0x1b8322[_0x13210f(0x3ef)]));try{const _0x28d62e=new FormData();_0x28d62e[_0x13210f(0x1a2)]('file',_0x16a3f1);const _0x53adda=this[_0x13210f(0x3bd)][_0x13210f(0x30a)](),_0x3521ec=_0x53adda==null?void 0x0:_0x53adda[_0x13210f(0x3c7)]();if(!_0x3521ec)throw new Error('unitId\x20is\x20not\x20found');const _0x13a309=this[_0x13210f(0x379)]()+_0x13210f(0x357)+_0x16a3f1[_0x13210f(0x40a)][_0x13210f(0x22b)]()+_0x13210f(0x1ed)+Ei[_0x13210f(0x448)]+_0x13210f(0x30f)+encodeURIComponent(_0x3521ec),_0x530664=await(await fetch(_0x13a309,{'method':_0x13210f(0x462),'body':_0x28d62e}))['json']();if(typeof _0x530664[_0x13210f(0x200)]!=_0x13210f(0x196))return this[_0x13210f(0x39d)](),Promise[_0x13210f(0x3cf)](new Error(_0x1b8322['ERROR_IMAGE']));_0x545bce=_0x530664[_0x13210f(0x200)];}catch{return this[_0x13210f(0x39d)](),Promise['reject'](new Error(_0x1b8322['ERROR_IMAGE']));}return new Promise((_0x763bb6,_0x407d0b)=>{var _0x60fb8c=_0x13210f;const _0x2cd37a=new FileReader();_0x2cd37a[_0x60fb8c(0x24c)](_0x16a3f1),_0x2cd37a[_0x60fb8c(0x1d1)]=_0x410ed1=>{var _0xfea19e=_0x60fb8c,_0x57d733;const _0x1e9329=(_0x57d733=_0x410ed1[_0xfea19e(0x3e0)])==null?void 0x0:_0x57d733[_0xfea19e(0x2c2)];if(_0x1e9329==null){this[_0xfea19e(0x39d)](),_0x407d0b(new Error(_0x1b8322[_0xfea19e(0x23d)]));return;}const _0xb333e9=_0x5260ce[_0xfea19e(0x2ed)](0x6);_0x763bb6({'imageId':_0xb333e9,'imageSourceType':_0x3cc512[_0xfea19e(0x2e2)],'source':_0x545bce,'base64Cache':_0x1e9329,'status':_0x1b8322['SUCCUSS']}),this[_0xfea19e(0x39d)]();};});}[_0x4c3b0f(0x379)](){var _0x293abe=_0x4c3b0f,_0x2f3a72,_0x46b4d1;const _0x1df227=this[_0x293abe(0x1b8)][_0x293abe(0x207)](sr),_0x17ef35=this['_configService'][_0x293abe(0x207)](q);return(_0x46b4d1=(_0x2f3a72=_0x17ef35==null?void 0x0:_0x17ef35[_0x293abe(0x3c2)])!=null?_0x2f3a72:_0x1df227)!=null?_0x46b4d1:rr;}[_0x4c3b0f(0x335)](){var _0x532196=_0x4c3b0f,_0x29b549,_0x49fb81;const _0xdaca39=this[_0x532196(0x1b8)][_0x532196(0x207)](ar),_0x11f652=this[_0x532196(0x1b8)][_0x532196(0x207)](q);return(_0x49fb81=(_0x29b549=_0x11f652==null?void 0x0:_0x11f652[_0x532196(0x1e8)])!=null?_0x29b549:_0xdaca39)!=null?_0x49fb81:or;}[_0x4c3b0f(0x267)](){var _0x15f4c0=_0x4c3b0f,_0xa7560f;const _0x56526c=this[_0x15f4c0(0x1b8)]['getConfig'](q);return(_0xa7560f=_0x56526c==null?void 0x0:_0x56526c[_0x15f4c0(0x209)])!=null?_0xa7560f:location[_0x15f4c0(0x407)];}[_0x4c3b0f(0x298)](_0x4c8a6e,_0xb7ed1){var _0x3d030b=_0x4c3b0f;return _0x4c8a6e[_0x3d030b(0x197)](_0x3d030b(0x325),_0xb7ed1);}[_0x4c3b0f(0x39d)](){var _0x10469c=_0x4c3b0f;this[_0x10469c(0x354)]-=0x1,this[_0x10469c(0x34d)][_0x10469c(0x340)](this['_waitCount']);}};Ot=tr([gt(0x0,_0xd5eff8(_0x279f52)),gt(0x1,_0x5d9548),gt(0x2,_0xd5eff8(_0x5f561f))],Ot);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x92450a,_0xfc7e6a,_0x5343c6,_0x52a1e2)=>{var _0xc31214=_0x4c3b0f;for(var _0x250ef7=_0x52a1e2>0x1?void 0x0:_0x52a1e2?cr(_0xfc7e6a,_0x5343c6):_0xfc7e6a,_0x4e794a=_0x92450a[_0xc31214(0x406)]-0x1,_0x383efe;_0x4e794a>=0x0;_0x4e794a--)(_0x383efe=_0x92450a[_0x4e794a])&&(_0x250ef7=_0x383efe(_0x250ef7)||_0x250ef7);return _0x250ef7;},hi=(_0x7b5433,_0x72b5d6)=>(_0x554be1,_0x214368)=>_0x72b5d6(_0x554be1,_0x214368,_0x7b5433);const _r=_0x4c3b0f(0x295);let yt=class{constructor(_0x2e9172,_0x1ccaac){var _0x1cad15=_0x4c3b0f;this['_configService']=_0x2e9172,this[_0x1cad15(0x3fd)]=_0x1ccaac;}['_getAPIPrefixPath'](){var _0x1af8fb=_0x4c3b0f,_0x3ca6dc,_0x49891b;const _0x3c02ef=this[_0x1af8fb(0x1b8)][_0x1af8fb(0x207)](Ni),_0x33929e=this[_0x1af8fb(0x1b8)]['getConfig'](q);return(_0x49891b=(_0x3ca6dc=_0x33929e==null?void 0x0:_0x33929e[_0x1af8fb(0x483)])!=null?_0x3ca6dc:_0x3c02ef)!=null?_0x49891b:_r;}async[_0x4c3b0f(0x428)](_0x403f7d){var _0xc458dc=_0x4c3b0f;const _0x16c8b5=this[_0xc458dc(0x331)]()+_0xc458dc(0x2a3);return{'list':[{'title':_0xc458dc(0x31a),'mentions':(await this['_HTTPService']['get'](_0x16c8b5,{'params':{'objectID':_0x403f7d[_0xc458dc(0x485)],'unitID':_0x403f7d[_0xc458dc(0x485)]}}))[_0xc458dc(0x1fc)][_0xc458dc(0x282)]['map'](_0x260960=>({'objectId':_0x260960['id'],'name':_0x260960['subject'][_0xc458dc(0x490)],'metadata':{'icon':_0x260960['subject']['avatar']},'label':_0x260960[_0xc458dc(0x34c)][_0xc458dc(0x490)],'objectType':_0x5769b6[_0xc458dc(0x3d7)]})),'metadata':{},'type':_0x5769b6[_0xc458dc(0x3d7)]}]};}};yt=hr([hi(0x0,_0xd5eff8(_0x5d9548)),hi(0x1,_0xd5eff8(_0x279f52))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0xcc5560,_0x166bbe,_0x3f4b25,_0x174a38)=>{var _0x2cb148=_0x4c3b0f;for(var _0x9d9e3c=_0x174a38>0x1?void 0x0:_0x174a38?lr(_0x166bbe,_0x3f4b25):_0x166bbe,_0x2ea4d1=_0xcc5560[_0x2cb148(0x406)]-0x1,_0x2fd085;_0x2ea4d1>=0x0;_0x2ea4d1--)(_0x2fd085=_0xcc5560[_0x2ea4d1])&&(_0x9d9e3c=_0x2fd085(_0x9d9e3c)||_0x9d9e3c);return _0x9d9e3c;},we=(_0x59c001,_0x1dd6ed)=>(_0xa1ccc1,_0xe9f238)=>_0x1dd6ed(_0xa1ccc1,_0xe9f238,_0x59c001);let ot=class extends _0x4391cf{constructor(_0x3b45ce,_0x516800,_0x4c4f0b,_0x51338d,_0x41d34e){var _0x45513c=_0x4c3b0f;super(),this['_injector']=_0x3b45ce,this['_univerInstanceService']=_0x516800,this['_permissionService']=_0x4c4f0b,this[_0x45513c(0x20f)]=_0x51338d,this[_0x45513c(0x431)]=_0x41d34e,this[_0x45513c(0x491)](),this[_0x45513c(0x1eb)]();}[_0x4c3b0f(0x1eb)](){var _0xfcc000=_0x4c3b0f;const _0x514ca7=async _0x6ab27b=>{var _0x5b222f=_0x5e8e;(await this[_0x5b222f(0x20f)]['requireSession'](_0x6ab27b))[_0x5b222f(0x31b)][_0x5b222f(0x21a)](_0x3ffd34(_0x377429=>_0x377429[_0x5b222f(0x381)]===_0x420cf9[_0x5b222f(0x459)]),_0x5b8db9(this['dispose$']))[_0x5b222f(0x2d4)](_0x424e52=>{var _0xe96ea5=_0x5b222f;const _0x1f5d0d=_0x424e52,{reason:_0x282276}=_0x1f5d0d[_0xe96ea5(0x2f8)];this[_0xe96ea5(0x431)][_0xe96ea5(0x334)]({'id':re[_0xe96ea5(0x3f3)],'data':_0x282276}),this[_0xe96ea5(0x287)][_0xe96ea5(0x25c)](new _0x875595(_0x6ab27b)['id'],!0x1),this[_0xe96ea5(0x20f)][_0xe96ea5(0x243)](_0x6ab27b);});};_0x2f3e61(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xd6e5c6[_0xfcc000(0x439)]),this[_0xfcc000(0x3bd)]['getTypeOfUnitAdded$'](_0xd6e5c6[_0xfcc000(0x360)]))[_0xfcc000(0x21a)](_0x5c62b3(_0x8263c1=>_0x8263c1[_0xfcc000(0x3c7)]()),_0x3ffd34(_0x230293=>!_0x5ad9e7(_0x230293)),_0x5b8db9(this[_0xfcc000(0x3bf)]))[_0xfcc000(0x2d4)](_0x15f6f5=>{_0x514ca7(_0x15f6f5);});}[_0x4c3b0f(0x491)](){var _0x265ecd=_0x4c3b0f;const _0x37fb00=async _0x559bb1=>{var _0x177890=_0x5e8e;const _0x3b0ac0=await this[_0x177890(0x20f)][_0x177890(0x368)](_0x559bb1),_0x5b1eed=this[_0x177890(0x3df)]['get'](_0x38ba90);_0x3b0ac0['event$'][_0x177890(0x21a)](_0x3ffd34(_0x2d3edb=>_0x2d3edb[_0x177890(0x381)]===_0x420cf9[_0x177890(0x22c)]),_0x5b8db9(this[_0x177890(0x3bf)]))[_0x177890(0x2d4)](_0x4b5522=>{var _0x56c586=_0x177890;const _0x4dda01=_0x4b5522,{objectId:_0x58927e}=_0x4dda01['data'];_0x58927e===_0x559bb1?_0x5b1eed[_0x56c586(0x464)](_0x559bb1):_0x5b1eed[_0x56c586(0x262)](_0x559bb1,_0x58927e);});};_0x2f3e61(this[_0x265ecd(0x3bd)]['getTypeOfUnitAdded$'](_0xd6e5c6['UNIVER_SHEET']))['pipe'](_0x5c62b3(_0x360eeb=>_0x360eeb[_0x265ecd(0x3c7)]()),_0x3ffd34(_0x18b061=>!_0x5ad9e7(_0x18b061)),_0x5b8db9(this['dispose$']))[_0x265ecd(0x2d4)](_0x8906b=>{_0x37fb00(_0x8906b);});}};ot=ur([we(0x0,_0xd5eff8(_0x3fbbf1)),we(0x1,_0x5f561f),we(0x2,_0x1c0607),we(0x3,_0xd5eff8(xe)),we(0x4,_0xd5eff8(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0x4a1a87,_0x286e5a,_0x14fe5e,_0x3bb540)=>{var _0x2699b9=_0x4c3b0f;for(var _0x235f5f=_0x3bb540>0x1?void 0x0:_0x3bb540?dr(_0x286e5a,_0x14fe5e):_0x286e5a,_0x15885c=_0x4a1a87[_0x2699b9(0x406)]-0x1,_0x4ad545;_0x15885c>=0x0;_0x15885c--)(_0x4ad545=_0x4a1a87[_0x15885c])&&(_0x235f5f=_0x4ad545(_0x235f5f)||_0x235f5f);return _0x235f5f;},_i=(_0x21749e,_0x2ddbb9)=>(_0x4bf8fe,_0x13616f)=>_0x2ddbb9(_0x4bf8fe,_0x13616f,_0x21749e);let Nt=class{constructor(_0x1394f2,_0x455c15){var _0x3e56d6=_0x4c3b0f;this['_configService']=_0x1394f2,this[_0x3e56d6(0x447)]=_0x455c15;}async[_0x4c3b0f(0x435)](_0x532d55,_0x4261fa){var _0x188a8f=_0x4c3b0f,_0x4cee9f;const {unitID:_0x2620f3,type:_0xcc1294,revision:_0x4398ca=0x0}=_0x4261fa,_0x32c33f=this[_0x188a8f(0x1f5)]()+'/'+_0xcc1294+_0x188a8f(0x2b5)+_0x2620f3+_0x188a8f(0x417)+_0x4398ca,_0x48065a=(await this[_0x188a8f(0x447)][_0x188a8f(0x42b)](_0x32c33f))[_0x188a8f(0x1fc)],_0x38150a=(_0x4cee9f=_0x48065a[_0x188a8f(0x19a)])==null?void 0x0:_0x4cee9f[_0x188a8f(0x2cc)];if(_0x38150a){const _0x350938=_0x38150a==null?void 0x0:_0x38150a['originalMeta'],_0x43ea32=_0x5130df[_0x188a8f(0x3e5)](_0xaa15d3(_0x350938));_0x38150a[_0x188a8f(0x362)]=_0x43ea32,Object[_0x188a8f(0x415)](_0x38150a[_0x188a8f(0x246)])[_0x188a8f(0x1ba)](([,_0x3ba8e1])=>{var _0x4b9836=_0x188a8f;const _0x11891a=_0x3ba8e1[_0x4b9836(0x362)],_0x155754=_0x5130df['encode'](_0xaa15d3(_0x11891a));_0x3ba8e1[_0x4b9836(0x362)]=_0x155754;});}return _0x48065a;}async[_0x4c3b0f(0x2a1)](_0x2049ca,_0x40ade7){var _0x4c9b65=_0x4c3b0f;const {unitID:_0x2ced8f,type:_0x3b4175,blockID:_0x44ceaa}=_0x40ade7,_0x8c292=this[_0x4c9b65(0x270)]()+'/'+_0x3b4175+_0x4c9b65(0x2b5)+_0x2ced8f+_0x4c9b65(0x286)+_0x44ceaa;return(await this['_httpService'][_0x4c9b65(0x42b)](_0x8c292))[_0x4c9b65(0x1fc)];}async[_0x4c3b0f(0x242)](_0x4a2920,_0x84eeb5){var _0x437c33=_0x4c3b0f;const {unitID:_0x46e797,type:_0x96b739,blockID:_0x422896}=_0x84eeb5,_0x407eda=this[_0x437c33(0x270)]()+_0x437c33(0x286)+_0x96b739+_0x437c33(0x2b5)+_0x46e797+_0x437c33(0x286)+_0x422896;return(await this[_0x437c33(0x447)][_0x437c33(0x42b)](_0x407eda))[_0x437c33(0x1fc)];}async[_0x4c3b0f(0x1bf)](_0x116a43,_0x28e5f6){var _0x4aa8d6=_0x4c3b0f;const {unitID:_0x2eb08b,type:_0x250da2,from:_0xf78a75,to:_0x49a0b0}=_0x28e5f6,_0x6c68d5=this[_0x4aa8d6(0x270)]()+'/'+_0x250da2+_0x4aa8d6(0x2b5)+_0x2eb08b+_0x4aa8d6(0x1fe)+_0xf78a75+_0x4aa8d6(0x205)+_0x49a0b0;return(await this[_0x4aa8d6(0x447)][_0x4aa8d6(0x42b)](_0x6c68d5))[_0x4aa8d6(0x1fc)];}[_0x4c3b0f(0x1f5)](){var _0x1daf31=_0x4c3b0f,_0x14746d;return(_0x14746d=this[_0x1daf31(0x1b8)][_0x1daf31(0x207)](Sn))!=null?_0x14746d:this[_0x1daf31(0x270)]();}['_getAPIPrefix'](){var _0x4b6506=_0x4c3b0f,_0x496ada,_0x2f3aca;const _0x46897a=this[_0x4b6506(0x1b8)][_0x4b6506(0x207)](mn),_0x1530b4=this['_configService'][_0x4b6506(0x207)](q);return(_0x2f3aca=(_0x496ada=_0x1530b4==null?void 0x0:_0x1530b4['snapshotServerUrl'])!=null?_0x496ada:_0x46897a)!=null?_0x2f3aca:gn;}async[_0x4c3b0f(0x1fb)](_0x2ca063,_0xc827d6){var _0x2b2643=_0x4c3b0f;const _0x44a667=_0x2b2643(0x3b9)+_0xc827d6['type']+_0x2b2643(0x2b5)+_0xc827d6[_0x2b2643(0x285)]+'/resources';return(await this[_0x2b2643(0x447)][_0x2b2643(0x42b)](_0x44a667,{'params':{'resourceId':JSON[_0x2b2643(0x497)](_0xc827d6['resourceIDs'])}}))['body'];}[_0x4c3b0f(0x318)](){var _0x16800f=_0x4c3b0f;throw new Error(_0x16800f(0x39c));}[_0x4c3b0f(0x2ce)](){var _0x4e74a2=_0x4c3b0f;throw new Error(_0x4e74a2(0x39c));}[_0x4c3b0f(0x46d)](){var _0x50987e=_0x4c3b0f;throw new Error(_0x50987e(0x39c));}[_0x4c3b0f(0x1b5)](){var _0x3ea6b6=_0x4c3b0f;throw new Error(_0x3ea6b6(0x39c));}[_0x4c3b0f(0x30e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x5d9548),_i(0x1,_0xd5eff8(_0x279f52))],Nt);var vr=Object[_0x4c3b0f(0x304)],pr=(_0x21aa56,_0x4ec000,_0x5ee2fc,_0x4cdecc)=>{for(var _0x2f4b2f=_0x4cdecc>0x1?void 0x0:_0x4cdecc?vr(_0x4ec000,_0x5ee2fc):_0x4ec000,_0x272a5f=_0x21aa56['length']-0x1,_0x4ce99c;_0x272a5f>=0x0;_0x272a5f--)(_0x4ce99c=_0x21aa56[_0x272a5f])&&(_0x2f4b2f=_0x4ce99c(_0x2f4b2f)||_0x2f4b2f);return _0x2f4b2f;},Pe=(_0x90c30a,_0x3bd7e5)=>(_0xcb01e1,_0x45182e)=>_0x3bd7e5(_0xcb01e1,_0x45182e,_0x90c30a);let Dt=class extends _0x3a61bd{constructor(_0xb34114,_0x2c43b1,_0xeb93dd,_0x4bef0f,_0x2929f2){var _0x1f1363=_0x4c3b0f;super(_0xb34114,_0x2c43b1,_0xeb93dd),this['_transformService']=_0x4bef0f,this[_0x1f1363(0x23f)]=_0x2929f2;}['transformUndoRedo'](_0x146330,_0x4156a5){var _0xea95fd=_0x4c3b0f;const _0x5556bc=this[_0xea95fd(0x481)](_0x146330);if(_0x5556bc)try{const _0x4948bd=this[_0xea95fd(0x3c1)](_0x5556bc,_0x4156a5);this[_0xea95fd(0x445)](_0x146330,_0x4948bd);}catch(_0xf1f0fd){this['_logService']['error'](_0xea95fd(0x38d),_0xf1f0fd),this['_clearUndo'](_0x146330);}const _0x2d2e37=this[_0xea95fd(0x248)](_0x146330);if(_0x2d2e37)try{const _0x516397=this[_0xea95fd(0x3c1)](_0x2d2e37,_0x4156a5);this[_0xea95fd(0x35a)](_0x146330,_0x516397);}catch(_0x2f7333){this[_0xea95fd(0x23f)][_0xea95fd(0x1ab)](_0x2f7333),this['_clearRedo'](_0x146330);}}[_0x4c3b0f(0x26b)](_0x2e941e){var _0x49b9a8=_0x4c3b0f;const _0x6a39c=this[_0x49b9a8(0x481)](_0x2e941e);_0x6a39c&&(_0x6a39c['length']=0x0,this['_updateStatus']());}[_0x4c3b0f(0x3a7)](_0x538261){var _0x4824bf=_0x4c3b0f;const _0x24dcd3=this[_0x4824bf(0x248)](_0x538261);_0x24dcd3&&(_0x24dcd3[_0x4824bf(0x406)]=0x0,this['_updateStatus']());}[_0x4c3b0f(0x445)](_0x51c5aa,_0x15f949){var _0x259b1c=_0x4c3b0f;this[_0x259b1c(0x375)][_0x259b1c(0x44e)](_0x51c5aa,_0x15f949),this[_0x259b1c(0x1ca)]();}['_substituteRedoStack'](_0x25d2e0,_0x3aee1a){var _0x46f333=_0x4c3b0f;this[_0x46f333(0x45a)][_0x46f333(0x44e)](_0x25d2e0,_0x3aee1a),this['_updateStatus']();}['_transformStack'](_0x4d4edf,_0x3ab62e){var _0x2fa3af=_0x4c3b0f;const _0x509df4=[];let _0x59fe46=_0x3ab62e,_0x3f0eba=_0x3ab62e;for(let _0x5850b7=_0x4d4edf[_0x2fa3af(0x406)]-0x1;_0x5850b7>=0x0;_0x5850b7--){const {unitID:_0x2f10f6,undoMutations:_0x22eaa2,redoMutations:_0x5edf20}=_0x4d4edf[_0x5850b7],_0x34e8da=this[_0x2fa3af(0x47d)][_0x2fa3af(0x47c)](_0x59fe46,_0x22eaa2),_0xbe502b=this[_0x2fa3af(0x47d)]['transformMutationsWithChangeset'](_0x3f0eba,_0x5edf20);if(_0x249585(_0x34e8da)||_0x249585(_0xbe502b)){this[_0x2fa3af(0x23f)][_0x2fa3af(0x1ab)](_0x2fa3af(0x38d),_0x2fa3af(0x3b3),_0x34e8da,_0xbe502b);break;}_0x59fe46=_0x34e8da['c1Prime'],_0x3f0eba=_0xbe502b[_0x2fa3af(0x2c6)],_0x509df4['push']({'unitID':_0x2f10f6,'undoMutations':_0x34e8da['m2Prime'],'redoMutations':_0xbe502b['m2Prime']});}return _0x509df4[_0x2fa3af(0x31c)]();}};Dt=pr([Pe(0x0,_0x5f561f),Pe(0x1,_0x118563),Pe(0x2,_0x1b64b4),Pe(0x3,_0x599fa8),Pe(0x4,_0x269a14)],Dt);var mr=Object[_0x4c3b0f(0x427)],gr=Object[_0x4c3b0f(0x304)],Sr=(_0x4cf945,_0x41befe,_0x56be89)=>_0x41befe in _0x4cf945?mr(_0x4cf945,_0x41befe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56be89}):_0x4cf945[_0x41befe]=_0x56be89,Er=(_0x369f11,_0x6d9289,_0x3b936e,_0x1b9b10)=>{var _0x413dcf=_0x4c3b0f;for(var _0x17737c=_0x1b9b10>0x1?void 0x0:_0x1b9b10?gr(_0x6d9289,_0x3b936e):_0x6d9289,_0x1af200=_0x369f11[_0x413dcf(0x406)]-0x1,_0x538e96;_0x1af200>=0x0;_0x1af200--)(_0x538e96=_0x369f11[_0x1af200])&&(_0x17737c=_0x538e96(_0x17737c)||_0x17737c);return _0x17737c;},St=(_0x2ae284,_0x48aad0)=>(_0x56792b,_0xb1f6ec)=>_0x48aad0(_0x56792b,_0xb1f6ec,_0x2ae284),Ir=(_0x5e6870,_0x516e75,_0x43fd4f)=>Sr(_0x5e6870,_0x516e75+'',_0x43fd4f);const Tr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x157ebd{constructor(_0x35b5e8,_0x40f284,_0x3fb2d6,_0x9d00bb){var _0x36d20=_0x4c3b0f;super(),N(this,_0x36d20(0x347)),(this[_0x36d20(0x23f)]=_0x40f284,this[_0x36d20(0x3df)]=_0x3fb2d6,this[_0x36d20(0x1b8)]=_0x9d00bb);const {..._0x1e399b}=_0x4d73f8({},wn,_0x35b5e8);if(!_0x1e399b['socketService'])throw new Error(_0x36d20(0x38a));this[_0x36d20(0x347)]=_0x1e399b,this[_0x36d20(0x1b8)]['setConfig'](q,_0x1e399b);}[_0x4c3b0f(0x472)](){var _0x3cb79d=_0x4c3b0f;this['_registerDependencies'](),this[_0x3cb79d(0x297)]();}['_registerDependencies'](){var _0x284ead=_0x4c3b0f,_0x228bc1,_0x255e1f;this[_0x284ead(0x3df)]['has'](_0x5056c7)&&this[_0x284ead(0x23f)][_0x284ead(0x1ab)](_0x284ead(0x3a9),_0x284ead(0x321));const _0x2d47ee=_0x387525([[_0x5056c7,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x284ead(0x347)]['socketService']}],[_0x4d9a76,{'useClass':Nt}],[_0x278ef7,{'useClass':Rt}],[_0x2eaf0f,{'useClass':Ot}],[_0x5a837a,{'useClass':yt}],[st],[Ct]],(_0x228bc1=this[_0x284ead(0x347)])==null?void 0x0:_0x228bc1[_0x284ead(0x3ca)]);if(!((_0x255e1f=this[_0x284ead(0x347)])!=null&&_0x255e1f['enableSingleActiveInstanceLock'])){const _0x554634=_0x2d47ee['findIndex'](([_0x403570])=>_0x403570===ht);_0x554634!==-0x1&&_0x2d47ee[_0x284ead(0x46a)](_0x554634,0x1);}_0x2ef21f(this['_injector'],_0x2d47ee);}['_initDependencies'](){var _0x319744=_0x4c3b0f,_0x4b629d,_0x6abb8e,_0x2ef3e0;this['_injector'][_0x319744(0x42b)](_0x279f52)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x257ea9({'maxParallel':0x6})}),(_0x4b629d=this['_config'])!=null&&_0x4b629d[_0x319744(0x3f4)]||(_0x6abb8e=this[_0x319744(0x3df)][_0x319744(0x42b)](J,_0x415dad[_0x319744(0x1af)]))==null||_0x6abb8e['disableLocalCache'](),(_0x2ef3e0=this['_config'])!=null&&_0x2ef3e0[_0x319744(0x26d)]&&_0x589c37(this[_0x319744(0x3df)],[[rt]]),_0x589c37(this[_0x319744(0x3df)],[[at],[st],[ot]]);}};Ir(Ut,_0x4c3b0f(0x40f),Tr),Ut=Er([_0xb60319(_0x2ac2d5,_0x357088),St(0x1,_0x269a14),St(0x2,_0xd5eff8(_0x3fbbf1)),St(0x3,_0x5d9548)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|
1
|
+
var _0x32e2f2=_0x36d8;(function(_0x21e750,_0x66def){var _0x412d0d=_0x36d8,_0x4fdb04=_0x21e750();while(!![]){try{var _0x1391f3=parseInt(_0x412d0d(0x169))/0x1*(-parseInt(_0x412d0d(0x315))/0x2)+-parseInt(_0x412d0d(0x252))/0x3*(-parseInt(_0x412d0d(0x26e))/0x4)+parseInt(_0x412d0d(0x326))/0x5+-parseInt(_0x412d0d(0x213))/0x6*(-parseInt(_0x412d0d(0x35b))/0x7)+parseInt(_0x412d0d(0x30b))/0x8+-parseInt(_0x412d0d(0x149))/0x9*(-parseInt(_0x412d0d(0x1c3))/0xa)+-parseInt(_0x412d0d(0x1e3))/0xb;if(_0x1391f3===_0x66def)break;else _0x4fdb04['push'](_0x4fdb04['shift']());}catch(_0x208b76){_0x4fdb04['push'](_0x4fdb04['shift']());}}}(_0x1a3d,0x838ee));var wi=Object[_0x32e2f2(0x249)],Pi=(_0x238f02,_0x444149,_0x10259a)=>_0x444149 in _0x238f02?wi(_0x238f02,_0x444149,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10259a}):_0x238f02[_0x444149]=_0x10259a,N=(_0x155252,_0x325b32,_0x14787f)=>Pi(_0x155252,typeof _0x325b32!='symbol'?_0x325b32+'':_0x325b32,_0x14787f);import{createIdentifier as _0x1badd5,Inject as _0xf49784,Injector as _0x3f2818,IConfigService as _0x24f34c,ILogService as _0x21b260,Disposable as _0x9c2164,DisposableCollection as _0x4981e2,toDisposable as _0x479b0d,IUniverInstanceService as _0x457f20,UserManagerService as _0x68341c,UniverInstanceType as _0x271272,LocaleService as _0x4d5bfe,Optional as _0x263250,RxDisposable as _0x1005e4,Tools as _0x28db43,Rectangle as _0x1b1edb,ICommandService as _0x10f8e6,JSONX as _0xa77bd7,CommandType as _0x338b90,IUndoRedoService as _0x355d2f,IPermissionService as _0x2d9700,sequenceExecute as _0x16c90c,Workbook as _0x100352,MentionType as _0x38737e,isInternalEditorID as _0x27f8c4,LocalUndoRedoService as _0x178c3f,IContextService as _0x422e79,DependentOn as _0x20cec5,Plugin as _0x388c42,merge as _0x186f09,mergeOverrideWithDependencies as _0x5c06b9,IAuthzIoService as _0x17e153,IMentionIOService as _0x23d1dd,registerDependencies as _0x55519b,Quantity as _0x4e8d27,touchDependencies as _0x1d64a6}from'@univerjs/core';import{Subject as _0x2fe298,merge as _0x308043,of as _0x2615a9,BehaviorSubject as _0x17ac9d,takeUntil as _0x5522e4,ReplaySubject as _0x10ef41,take as _0x2cc397,map as _0xafc756,shareReplay as _0x50c3a4,firstValueFrom as _0x1706ec,concatMap as _0x2f5012}from'rxjs';import{map as _0x289343,take as _0x510b59,filter as _0x347c08,delay as _0x542f82,takeUntil as _0x6f7b19}from'rxjs/operators';import{CollaborationEvent as _0x5dd443,ISnapshotServerService as _0x2c5951,parseChangesetToProtocol as _0x5f3ae2,ITransformService as _0x1ec7ed,isTransformMutationsWithChangesetSuccess as _0x34c343,mapDocumentTypeToUniverType as _0x17f303,RevisionService as _0x4f92e0,isTransformChangesetsSuccess as _0x5aa359,CompressMutationService as _0x3561da,parseProtocolChangeset as _0x2327a5,SnapshotService as _0x475991,textEncoder as _0x35d1ea,b64DecodeUnicode as _0x280a66,isTransformMutationsWithChangesetFailure as _0x37a63f,UniverCollaborationPlugin as _0xf6d1b1}from'@univerjs-pro/collaboration';import{HTTPService as _0x18ded5,ISocketService as _0x4e45e6,MergeInterceptorFactory as _0x493a89,HTTPRequest as _0x5a611,UniverNetworkPlugin as _0xbc0294,ThresholdInterceptorFactory as _0xdf57fb}from'@univerjs/network';import{ITelemetryService as _0x4e6af2}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x12068d}from'@univerjs/docs';import{SheetsSelectionsService as _0x4e7f04,SetSelectionsOperation as _0x37d256,InsertSheetMutation as _0x516a7d,EmptyMutation as _0x128bca,WorkbookEditablePermission as _0x4aa924,SheetPermissionInitController as _0x4c7ddb}from'@univerjs/sheets';import{ImageSourceType as _0xf15305,ImageUploadStatusType as _0x2915f3,IImageIoService as _0x11349a}from'@univerjs/drawing';import{getGlobalObject as _0x3bde72}from'@univerjs-pro/license';const mn=_0x32e2f2(0x26b),gn=_0x32e2f2(0x1ca),Sn=_0x32e2f2(0xe7),Lr=_0x32e2f2(0x1ee),En=0x7d0,In=_0x32e2f2(0x2cd),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',xr='/universer-api/user/session-ticket',Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x32e2f2(0x7d),gi=0x4e20,bn=0x4e20,On=_0x32e2f2(0x36a),yn=0x3,Mr=_0x32e2f2(0x25c),kr=0x3e8,Nn=_0x32e2f2(0x131),Dn=_0x32e2f2(0x25e),Un='LOGIN_URL_KEY',An=_0x32e2f2(0x2c0),$r=_0x32e2f2(0x20c),Hr=_0x32e2f2(0x323);var Si=(_0x36f62f=>(_0x36f62f[_0x36f62f['UNDEFINED']=0x0]=_0x32e2f2(0xb6),_0x36f62f[_0x36f62f['OK']=0x1]='OK',_0x36f62f[_0x36f62f[_0x32e2f2(0x25d)]=0x2]=_0x32e2f2(0x25d),_0x36f62f[_0x36f62f[_0x32e2f2(0x37c)]=0x3]='PERMISSION_DENIED',_0x36f62f[_0x36f62f[_0x32e2f2(0x29e)]=0x4]='NOT_FOUND',_0x36f62f[_0x36f62f[_0x32e2f2(0x23b)]=0x5]='UNAUTHENTICATED',_0x36f62f[_0x36f62f[_0x32e2f2(0x390)]=0x6]=_0x32e2f2(0x390),_0x36f62f[_0x36f62f['INVALID_ARGUMENT']=0x7]=_0x32e2f2(0x191),_0x36f62f[_0x36f62f[_0x32e2f2(0x136)]=0x8]=_0x32e2f2(0x136),_0x36f62f[_0x36f62f[_0x32e2f2(0x135)]=0x9]='COMPLETION_FINISHED',_0x36f62f[_0x36f62f[_0x32e2f2(0x130)]=0xa]='LOGIN_FAILED',_0x36f62f[_0x36f62f[_0x32e2f2(0x38b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x36f62f[_0x36f62f[_0x32e2f2(0x13f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x36f62f[_0x36f62f[_0x32e2f2(0x165)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x36f62f[_0x36f62f[_0x32e2f2(0x1d9)]=0x1773]=_0x32e2f2(0x1d9),_0x36f62f[_0x36f62f['APPLY_REJECT']=0x1b59]=_0x32e2f2(0x289),_0x36f62f[_0x36f62f['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x32e2f2(0x98),_0x36f62f[_0x36f62f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x32e2f2(0xe9),_0x36f62f[_0x36f62f[_0x32e2f2(0x355)]=0x1b5c]=_0x32e2f2(0x355),_0x36f62f[_0x36f62f[_0x32e2f2(0xb2)]=0x1b5d]='APPLY_DUPLICATED',_0x36f62f[_0x36f62f['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x32e2f2(0x1c9),_0x36f62f[_0x36f62f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x32e2f2(0x314),_0x36f62f[_0x36f62f[_0x32e2f2(0x2f6)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x36f62f[_0x36f62f[_0x32e2f2(0x37f)]=0x232b]=_0x32e2f2(0x37f),_0x36f62f[_0x36f62f[_0x32e2f2(0x13e)]=0x232c]=_0x32e2f2(0x13e),_0x36f62f[_0x36f62f['LICENSE_DISTRO_REJECTED']=0x232d]=_0x32e2f2(0x386),_0x36f62f[_0x36f62f[_0x32e2f2(0x174)]=0x2711]=_0x32e2f2(0x174),_0x36f62f[_0x36f62f[_0x32e2f2(0x26c)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x36f62f[_0x36f62f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x32e2f2(0x2b7),_0x36f62f[_0x36f62f[_0x32e2f2(0x305)]=0x2714]=_0x32e2f2(0x305),_0x36f62f[_0x36f62f[_0x32e2f2(0x2bf)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x36f62f[_0x36f62f[_0x32e2f2(0x93)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x36f62f[_0x36f62f[_0x32e2f2(0x37d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x36f62f[_0x36f62f[_0x32e2f2(0x85)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x36f62f[_0x36f62f[_0x32e2f2(0xf5)]=0x2ee2]='INVALID_INVITE_CODE',_0x36f62f[_0x36f62f[_0x32e2f2(0x271)]=0x2ee3]=_0x32e2f2(0x271),_0x36f62f[_0x36f62f[_0x32e2f2(0xfe)]=0x2ee4]=_0x32e2f2(0xfe),_0x36f62f[_0x36f62f['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x32e2f2(0x258),_0x36f62f[_0x36f62f[_0x32e2f2(0x1fa)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x36f62f[_0x36f62f[_0x32e2f2(0x107)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x36f62f[_0x36f62f[_0x32e2f2(0x32a)]=0x32cb]=_0x32e2f2(0x32a),_0x36f62f[_0x36f62f['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x36f62f))(Si||{}),Q=(_0x98a354=>(_0x98a354[_0x98a354[_0x32e2f2(0x119)]=0x0]=_0x32e2f2(0x119),_0x98a354[_0x98a354[_0x32e2f2(0x1ef)]=0x1]='UNIVER_DOC',_0x98a354[_0x98a354[_0x32e2f2(0x118)]=0x2]=_0x32e2f2(0x118),_0x98a354[_0x98a354[_0x32e2f2(0x230)]=0x3]=_0x32e2f2(0x230),_0x98a354[_0x98a354[_0x32e2f2(0x18d)]=0x4]=_0x32e2f2(0x18d),_0x98a354[_0x98a354['UNRECOGNIZED']=-0x1]=_0x32e2f2(0x388),_0x98a354))(Q||{}),F=(_0x5614a8=>(_0x5614a8[_0x5614a8[_0x32e2f2(0x233)]=0x0]=_0x32e2f2(0x233),_0x5614a8[_0x5614a8[_0x32e2f2(0x99)]=0x1]=_0x32e2f2(0x99),_0x5614a8[_0x5614a8[_0x32e2f2(0x188)]=0x2]='JOIN',_0x5614a8[_0x5614a8['LEAVE']=0x3]=_0x32e2f2(0x28c),_0x5614a8[_0x5614a8['INGEST']=0x4]=_0x32e2f2(0x1ff),_0x5614a8[_0x5614a8[_0x32e2f2(0xb8)]=0x5]=_0x32e2f2(0xb8),_0x5614a8[_0x5614a8[_0x32e2f2(0xd5)]=0x6]=_0x32e2f2(0xd5),_0x5614a8[_0x5614a8[_0x32e2f2(0x388)]=-0x1]='UNRECOGNIZED',_0x5614a8))(F||{}),ge=(_0x3be39b=>(_0x3be39b[_0x3be39b[_0x32e2f2(0x286)]=0x0]=_0x32e2f2(0x286),_0x3be39b[_0x3be39b['OK']=0x1]='OK',_0x3be39b[_0x3be39b[_0x32e2f2(0x273)]=0x2]=_0x32e2f2(0x273),_0x3be39b[_0x3be39b[_0x32e2f2(0x387)]=0x3e9]='JOIN_ROOM_FULL',_0x3be39b[_0x3be39b[_0x32e2f2(0x19e)]=0x3ea]=_0x32e2f2(0x19e),_0x3be39b[_0x3be39b[_0x32e2f2(0x184)]=0x3eb]=_0x32e2f2(0x184),_0x3be39b[_0x3be39b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x32e2f2(0x2af),_0x3be39b[_0x3be39b[_0x32e2f2(0x388)]=-0x1]=_0x32e2f2(0x388),_0x3be39b))(ge||{}),Ei=(_0xcc2c06=>(_0xcc2c06[_0xcc2c06[_0x32e2f2(0x104)]=0x0]='Undefined',_0xcc2c06[_0xcc2c06['HttpImport']=0x1]=_0x32e2f2(0x1cf),_0xcc2c06[_0xcc2c06[_0x32e2f2(0x106)]=0x2]=_0x32e2f2(0x106),_0xcc2c06[_0xcc2c06['UnitEmbedded']=0x3]='UnitEmbedded',_0xcc2c06[_0xcc2c06[_0x32e2f2(0x298)]=0x4]=_0x32e2f2(0x298),_0xcc2c06[_0xcc2c06[_0x32e2f2(0x1e7)]=0x5]=_0x32e2f2(0x1e7),_0xcc2c06[_0xcc2c06[_0x32e2f2(0x388)]=-0x1]=_0x32e2f2(0x388),_0xcc2c06))(Ei||{});const q=_0x32e2f2(0x37e),wn={};var re=(_0x560b68=>(_0x560b68['OTHER_CLIENT_EDITING']=_0x32e2f2(0x12e),_0x560b68[_0x32e2f2(0x37c)]='PERMISSION_DENIED',_0x560b68[_0x32e2f2(0x2ff)]=_0x32e2f2(0x2ff),_0x560b68['CLOSE_ROOM']=_0x32e2f2(0x300),_0x560b68[_0x32e2f2(0x37b)]=_0x32e2f2(0x37b),_0x560b68[_0x32e2f2(0x31a)]=_0x32e2f2(0x31a),_0x560b68['SOCKET_FAILED']=_0x32e2f2(0x339),_0x560b68['SUBMIT_CHANGESET_TIMEOUT']=_0x32e2f2(0x35a),_0x560b68))(re||{});class pe{constructor(){var _0x5f37bf=_0x32e2f2;N(this,_0x5f37bf(0xbf),new _0x2fe298()),N(this,'event$',this['_event$'][_0x5f37bf(0x2ed)]());}[_0x32e2f2(0x1be)](_0x3ed878){var _0x25ec7f=_0x32e2f2;this[_0x25ec7f(0xbf)][_0x25ec7f(0x364)](_0x3ed878);}}const Pn=_0x1badd5('univer-pro.collaboration-client.network-condition.service');function Ln(_0x1b82a3){var _0x58c7ab=_0x32e2f2,_0x357f08,_0x373377,_0x39af38,_0x17ff30,_0x307b55;const _0x23d14c=_0x1b82a3[_0x58c7ab(0x113)],_0x3d5b98=JSON[_0x58c7ab(0xcc)](_0x23d14c);switch(_0x3d5b98[_0x58c7ab(0xb3)]){case F[_0x58c7ab(0xb8)]:case F[_0x58c7ab(0x99)]:{const _0x14b3fe=_0x3d5b98[_0x58c7ab(0x35c)];return{..._0x3d5b98,'data':_0x14b3fe,'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};}case F[_0x58c7ab(0x188)]:{const _0x37bf5e=_0x3d5b98[_0x58c7ab(0x2e0)];return{..._0x3d5b98,'data':_0x37bf5e,'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};}case F['RECV']:{const _0x44b37e=_0x3d5b98['collaMsg'];switch(_0x44b37e[_0x58c7ab(0x100)]){case _0x5dd443[_0x58c7ab(0x80)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':(_0x357f08=_0x44b37e['permissionRejEvent'])==null?void 0x0:_0x357f08['cs']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x368)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':(_0x373377=_0x44b37e[_0x58c7ab(0x161)])==null?void 0x0:_0x373377['cs']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x1e1)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':(_0x39af38=_0x44b37e['newCsEvent'])==null?void 0x0:_0x39af38['cs']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x292)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':(_0x17ff30=_0x44b37e[_0x58c7ab(0x163)])==null?void 0x0:_0x17ff30['cs']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443['CHANGESET_SHOULD_RETRY']:return{..._0x3d5b98,'data':{..._0x44b37e,'data':(_0x307b55=_0x44b37e[_0x58c7ab(0xa5)])==null?void 0x0:_0x307b55['cs']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x96)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e[_0x58c7ab(0x2c7)]},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x14b)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e['joinEvent']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x345)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e[_0x58c7ab(0x34b)]},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0xaf)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e[_0x58c7ab(0x2fa)]},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x2f0)]:case _0x5dd443[_0x58c7ab(0x303)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e[_0x58c7ab(0x2b5)]},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x94)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e[_0x58c7ab(0x2fa)]},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x2f2)]:return{..._0x3d5b98,'data':_0x44b37e,'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x229)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e['commentUpdateEvent']},'cmd':_0x3d5b98['cmd']};case _0x5dd443['UPDATE_PERMISSION_OBJ']:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e[_0x58c7ab(0x2c2)]},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x17d)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e['shouldCloseConn']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};case _0x5dd443[_0x58c7ab(0x2ea)]:return{..._0x3d5b98,'data':{..._0x44b37e,'data':_0x44b37e['uniscriptRunEvent']},'cmd':_0x3d5b98[_0x58c7ab(0xb3)]};default:return _0x3d5b98;}}default:return _0x3d5b98;}}function xn(_0x539539){var _0x3e6b8a=_0x32e2f2;switch(_0x539539[_0x3e6b8a(0xb3)]){case F['HEARTBEAT']:case F[_0x3e6b8a(0x99)]:return JSON['stringify']({'cmd':_0x539539[_0x3e6b8a(0xb3)],'routeKey':_0x539539[_0x3e6b8a(0x1df)]});case F['INGEST']:{let _0x25b154;switch(_0x539539[_0x3e6b8a(0x113)]['eventID']){case _0x5dd443[_0x3e6b8a(0x96)]:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x96)],'updateCursorEvent':_0x539539['data']['data']};break;}case _0x5dd443[_0x3e6b8a(0x345)]:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x345)],'leaveEvent':_0x539539[_0x3e6b8a(0x113)]['data']};break;}case _0x5dd443[_0x3e6b8a(0x14b)]:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x14b)],'joinEvent':_0x539539['data'][_0x3e6b8a(0x113)]};break;}case _0x5dd443[_0x3e6b8a(0xaf)]:{_0x25b154={'eventID':_0x5dd443['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x539539[_0x3e6b8a(0x113)][_0x3e6b8a(0x113)]};break;}case _0x5dd443[_0x3e6b8a(0x303)]:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x303)],'liveShareOperation':_0x539539[_0x3e6b8a(0x113)][_0x3e6b8a(0x113)]};break;}case _0x5dd443[_0x3e6b8a(0x94)]:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x94)],'liveShareTerminate':_0x539539['data'][_0x3e6b8a(0x113)]};break;}case _0x5dd443['LIVESHARE_REQUEST_HOST']:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x180)],'liveShareRequestHost':_0x539539[_0x3e6b8a(0x113)]['data']};break;}case _0x5dd443[_0x3e6b8a(0x2f0)]:{_0x25b154={'eventID':_0x5dd443[_0x3e6b8a(0x2f0)]};break;}default:_0x25b154={'eventID':_0x539539['data'][_0x3e6b8a(0x100)]};}return JSON[_0x3e6b8a(0x105)]({'cmd':_0x539539['cmd'],'routeKey':_0x539539['routeKey'],'collaMsg':_0x25b154});}case F['JOIN']:return JSON['stringify']({'cmd':_0x539539[_0x3e6b8a(0xb3)],'routeKey':_0x539539[_0x3e6b8a(0x1df)],'joinReq':_0x539539[_0x3e6b8a(0x113)]});case F[_0x3e6b8a(0x28c)]:return JSON[_0x3e6b8a(0x105)]({'cmd':_0x539539[_0x3e6b8a(0xb3)],'routeKey':_0x539539[_0x3e6b8a(0x1df)],'leaveReq':_0x539539[_0x3e6b8a(0x113)]});default:throw new Error(_0x3e6b8a(0x192));}}var Mn=Object[_0x32e2f2(0x266)],kn=(_0x55d0d7,_0x1b2694,_0x1930c2,_0x37c95d)=>{var _0x25c9c0=_0x32e2f2;for(var _0x3d3dff=_0x37c95d>0x1?void 0x0:_0x37c95d?Mn(_0x1b2694,_0x1930c2):_0x1b2694,_0x2f10f0=_0x55d0d7[_0x25c9c0(0x2e2)]-0x1,_0x15fad3;_0x2f10f0>=0x0;_0x2f10f0--)(_0x15fad3=_0x55d0d7[_0x2f10f0])&&(_0x3d3dff=_0x15fad3(_0x3d3dff)||_0x3d3dff);return _0x3d3dff;},Ae=(_0x1deded,_0x31d3f0)=>(_0x4b553c,_0x29700f)=>_0x31d3f0(_0x4b553c,_0x29700f,_0x1deded);const Ii=_0x1badd5('univer-pro.collaboration-client-socket-service');function $n(_0x5454e2,_0x177d42,_0x2b4129){var _0x26cc0c=_0x32e2f2;return _0x5454e2+'/'+_0x177d42+_0x26cc0c(0xe0)+_0x2b4129+_0x26cc0c(0x274);}let Gt=class extends _0x9c2164{constructor(_0x50b97b,_0x338e51,_0x50c4fd,_0x2715bb,_0x490cf3){var _0x238688=_0x32e2f2;super(),this[_0x238688(0x327)]=_0x50b97b,this[_0x238688(0x2b9)]=_0x338e51,this[_0x238688(0xae)]=_0x50c4fd,this['_logService']=_0x2715bb,this['_snapshotServerService']=_0x490cf3;}['_doCreateSocket'](_0xe813bf){var _0x595254=_0x32e2f2;const _0x10688b=this[_0x595254(0x327)][_0x595254(0x281)](_0x4e45e6);if(!_0x10688b)throw new Error(_0x595254(0x1f3));const _0x4c8736=_0x10688b[_0x595254(0x145)](_0xe813bf);if(!_0x4c8736)throw new Error(_0x595254(0x248));const _0x41d224=new _0x4981e2(),_0x42a822=new _0x2fe298();_0x41d224[_0x595254(0x171)](_0x4c8736['close$'][_0x595254(0x115)](_0x465e18=>_0x42a822[_0x595254(0x364)](_0x465e18))),_0x41d224[_0x595254(0x171)](_0x479b0d(()=>_0x42a822[_0x595254(0x23e)]()));const _0x1960f7=new _0x2fe298();_0x41d224[_0x595254(0x171)](_0x4c8736['error$'][_0x595254(0x115)](_0x3a4568=>_0x1960f7[_0x595254(0x364)](_0x3a4568))),_0x41d224['add'](_0x479b0d(()=>_0x1960f7[_0x595254(0x23e)]()));const _0x2ce33c=new _0x2fe298();_0x41d224[_0x595254(0x171)](_0x4c8736[_0x595254(0x284)][_0x595254(0x115)](_0x36e55d=>{var _0x443a6d=_0x595254;const _0x6a8e32=Ln(_0x36e55d);_0x2ce33c[_0x443a6d(0x364)](_0x6a8e32);})),_0x41d224['add'](_0x479b0d(()=>_0x2ce33c[_0x595254(0x23e)]()));let _0x53a062;const _0xb82b84=()=>{var _0x6baf1c=_0x595254;_0x1960f7['next'](new Event(_0x6baf1c(0x1bf))),_0x42a822[_0x6baf1c(0x364)](new Event(_0x6baf1c(0x1bf))),_0x53a062['close']();};return _0x53a062={'memberID':'','close$':_0x42a822[_0x595254(0x2ed)](),'error$':_0x1960f7[_0x595254(0x2ed)](),'open$':_0x4c8736[_0x595254(0x2f7)],'message$':_0x2ce33c[_0x595254(0x2ed)](),'send':_0x2359fa=>{var _0x3a1ff1=_0x595254;if(_0x2359fa[_0x3a1ff1(0xb3)]===F[_0x3a1ff1(0x1ff)]){if(_0x2359fa[_0x3a1ff1(0x113)][_0x3a1ff1(0x100)]===_0x5dd443[_0x3a1ff1(0x297)]){this['_submitChangeset'](_0x53a062,_0x2359fa[_0x3a1ff1(0x113)])[_0x3a1ff1(0x2ad)](_0x2a4118=>{var _0x4c97db=_0x3a1ff1;this[_0x4c97db(0xc3)][_0x4c97db(0xee)](_0x2a4118),_0xb82b84();});return;}if(_0x2359fa[_0x3a1ff1(0x113)]['eventID']===_0x5dd443[_0x3a1ff1(0x29d)]){const _0x455f26=_0x2359fa[_0x3a1ff1(0x113)];this[_0x3a1ff1(0x168)](_0x455f26)['then'](_0x3cff02=>{var _0x2ec6b9=_0x3a1ff1;_0x2ce33c[_0x2ec6b9(0x364)]({'cmd':F[_0x2ec6b9(0xd5)],'code':ge['OK'],'routeKey':_0x455f26['data'][_0x2ec6b9(0x10f)],'routeType':'','data':{'eventID':_0x5dd443[_0x2ec6b9(0x185)],'data':{'changesets':_0x3cff02}}});})['catch'](_0xd6ec37=>{var _0x150f2a=_0x3a1ff1;this['_logService'][_0x150f2a(0xee)](_0xd6ec37),_0xb82b84();});return;}}_0x4c8736[_0x3a1ff1(0x1cb)](xn(_0x2359fa));},'close':()=>{var _0x44b25d=_0x595254;_0x4c8736[_0x44b25d(0x1ad)](),_0x41d224[_0x44b25d(0x1e0)]();}},_0x53a062;}async[_0x32e2f2(0x35d)](_0x4f2d76,_0x423ba0){var _0x46f75c=_0x32e2f2,_0x5a5296,_0x306035;const {unitType:_0x9410bb,unitID:_0x305442,changeset:_0x5a2c8a}=_0x423ba0[_0x46f75c(0x113)],_0x32b035={'unitID':_0x305442,'memberID':_0x4f2d76[_0x46f75c(0x11d)],'type':_0x9410bb,'changeset':_0x5f3ae2(_0x5a2c8a)},_0x31588c=this[_0x46f75c(0xae)][_0x46f75c(0x8c)](Nn),_0x411463=this[_0x46f75c(0xae)][_0x46f75c(0x8c)](q),_0x55e03b=$n((_0x306035=(_0x5a5296=_0x411463==null?void 0x0:_0x411463[_0x46f75c(0x334)])!=null?_0x5a5296:_0x31588c)!=null?_0x306035:Dn,_0x9410bb,_0x305442);try{await this[_0x46f75c(0x2b9)][_0x46f75c(0x282)](_0x55e03b,{'body':_0x32b035});}catch(_0x46b4db){throw this['_logService'][_0x46f75c(0xee)]('[CollaborationSession]',_0x46f75c(0x10e)),_0x46b4db;}}async[_0x32e2f2(0x168)](_0x456506){var _0x24418b=_0x32e2f2;const {unitID:_0x4efa10,from:_0x5957ea,to:_0x3ec123,unitType:_0x3f648c}=_0x456506[_0x24418b(0x113)];return(await this[_0x24418b(0x14c)][_0x24418b(0x30d)]({'metadata':void 0x0},{'unitID':_0x4efa10,'type':_0x3f648c,'from':_0x5957ea,'to':_0x3ec123}))[_0x24418b(0xf8)];}};Gt=kn([Ae(0x0,_0xf49784(_0x3f2818)),Ae(0x1,_0xf49784(_0x18ded5)),Ae(0x2,_0x24f34c),Ae(0x3,_0x21b260),Ae(0x4,_0x2c5951)],Gt);const Hn=_0x32e2f2(0x1d3);function Bn(_0x3d58e2){var _0x3cf97b=_0x32e2f2;return JSON[_0x3cf97b(0x105)](_0x3d58e2)[_0x3cf97b(0x2e2)];}class Ti{constructor(){var _0x5898f6=_0x32e2f2;N(this,_0x5898f6(0x15f),new _0x2fe298()),N(this,_0x5898f6(0x19d),this[_0x5898f6(0x15f)][_0x5898f6(0x2ed)]());}[_0x32e2f2(0x247)](_0x22d811){var _0x522999=_0x32e2f2;this['_commentUpdate$'][_0x522999(0x364)](_0x22d811);}}var jn=Object[_0x32e2f2(0x266)],Fn=(_0x3799ad,_0x5f1d87,_0x7ec57b,_0xe3c287)=>{for(var _0xc18f48=_0xe3c287>0x1?void 0x0:_0xe3c287?jn(_0x5f1d87,_0x7ec57b):_0x5f1d87,_0x4a38fa=_0x3799ad['length']-0x1,_0x1907a0;_0x4a38fa>=0x0;_0x4a38fa--)(_0x1907a0=_0x3799ad[_0x4a38fa])&&(_0xc18f48=_0x1907a0(_0xc18f48)||_0xc18f48);return _0xc18f48;},Wt=(_0x3395a5,_0x4106b1)=>(_0x25a4fc,_0x512638)=>_0x4106b1(_0x25a4fc,_0x512638,_0x3395a5);let Le=class extends _0x9c2164{constructor(_0x5d3076,_0x5df925){var _0x25b76b=_0x32e2f2;super(),N(this,_0x25b76b(0x304),new Map()),N(this,_0x25b76b(0x2ef),new _0x2fe298()),(this[_0x25b76b(0x2d5)]=_0x5d3076,this[_0x25b76b(0x2a7)]=_0x5df925,this[_0x25b76b(0x172)](_0x308043(this['_univerInstanceService'][_0x25b76b(0x2c6)](_0x271272[_0x25b76b(0x118)])[_0x25b76b(0x173)](_0x289343(_0x20d2c2=>_0x20d2c2[_0x25b76b(0x22e)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x271272['UNIVER_DOC'])[_0x25b76b(0x173)](_0x289343(_0x253265=>_0x253265[_0x25b76b(0x22e)]())),this[_0x25b76b(0x2d5)][_0x25b76b(0x2c6)](_0x271272['UNIVER_SLIDE'])[_0x25b76b(0x173)](_0x289343(_0xf5542b=>_0xf5542b[_0x25b76b(0x22e)]())))[_0x25b76b(0x115)](_0x3fb580=>this[_0x25b76b(0x182)](_0x3fb580))));}[_0x32e2f2(0xf6)](_0x2516f7){var _0x22366e=_0x32e2f2;return this[_0x22366e(0x304)][_0x22366e(0xd9)](_0x2516f7)?_0x2615a9(this['_roomMembers'][_0x22366e(0x281)](_0x2516f7)):this[_0x22366e(0x2ef)][_0x22366e(0x173)](_0x289343(_0x11a45e=>{var _0x2a9b60=_0x22366e;if(_0x11a45e===_0x2516f7)return this['_roomMembers'][_0x2a9b60(0x281)](_0x11a45e);}));}[_0x32e2f2(0x1e2)](_0x4de78d){var _0x5da377=_0x32e2f2;this[_0x5da377(0x2a7)]['setCurrentUser'](_0x4de78d);}['getCurrentUser'](){var _0x18791a=_0x32e2f2;return this[_0x18791a(0x2a7)][_0x18791a(0x2d1)]();}[_0x32e2f2(0x371)](_0x9993fb,_0x648bb2){var _0x45f8c5=_0x32e2f2;let _0x16bd0a=this[_0x45f8c5(0x304)][_0x45f8c5(0x281)](_0x9993fb);_0x16bd0a||(_0x16bd0a=new Vn(),this['_roomMembers']['set'](_0x9993fb,_0x16bd0a),this[_0x45f8c5(0x2ef)][_0x45f8c5(0x364)](_0x9993fb)),_0x16bd0a[_0x45f8c5(0x371)](_0x648bb2);}['removeMember'](_0x25569,_0x1205fe){var _0x131b42=_0x32e2f2;const _0x4e02d4=this[_0x131b42(0x304)]['get'](_0x25569);_0x4e02d4&&_0x4e02d4[_0x131b42(0x262)](_0x1205fe);}[_0x32e2f2(0x218)](_0x488158){var _0x386ebb=_0x32e2f2;return this[_0x386ebb(0x304)]['get'](_0x488158);}[_0x32e2f2(0x142)](_0x3d3f0a,_0xb6408f){var _0x4b58e9=_0x32e2f2;const _0x1821f7=this[_0x4b58e9(0x304)]['get'](_0x3d3f0a);if(_0x1821f7)return _0x1821f7[_0x4b58e9(0x142)](_0xb6408f);}[_0x32e2f2(0x182)](_0x4c6cfd){var _0x5ba226=_0x32e2f2;const _0x205ca4=this[_0x5ba226(0x304)][_0x5ba226(0x281)](_0x4c6cfd);_0x205ca4&&(_0x205ca4[_0x5ba226(0x1e0)](),this[_0x5ba226(0x304)]['delete'](_0x4c6cfd));}[_0x32e2f2(0x1e0)](){var _0x142a0e=_0x32e2f2;this['_roomMembers']['forEach'](_0xba80a8=>_0xba80a8['dispose']()),this[_0x142a0e(0x304)]['clear'](),this[_0x142a0e(0x2ef)][_0x142a0e(0x23e)]();}};Le=Fn([Wt(0x0,_0x457f20),Wt(0x1,_0xf49784(_0x68341c))],Le);class Vn extends _0x9c2164{constructor(){var _0x3c0a7a=_0x32e2f2;super(...arguments),N(this,_0x3c0a7a(0xc8),new Map()),N(this,_0x3c0a7a(0xa6),new _0x17ac9d(this[_0x3c0a7a(0xc8)])),N(this,_0x3c0a7a(0xf7),this[_0x3c0a7a(0xa6)][_0x3c0a7a(0x2ed)]());}[_0x32e2f2(0x1e0)](){var _0x57c164=_0x32e2f2;this[_0x57c164(0xc8)][_0x57c164(0x24f)]();}[_0x32e2f2(0x371)](_0x295ede){var _0x580f18=_0x32e2f2;this[_0x580f18(0xc8)][_0x580f18(0x333)](_0x295ede[_0x580f18(0x11d)],_0x295ede),this['_emitMembers']();}[_0x32e2f2(0x262)](_0x41284c){var _0x24ad1b=_0x32e2f2;this['_members'][_0x24ad1b(0x203)](_0x41284c);}['getMember'](_0x2c47d1){var _0x37b024=_0x32e2f2;return this[_0x37b024(0xc8)]['get'](_0x2c47d1);}[_0x32e2f2(0x35f)](){var _0x4424b9=_0x32e2f2;return Array['from'](this[_0x4424b9(0xc8)][_0x4424b9(0x340)]());}['_emitMembers'](){var _0x3bfd13=_0x32e2f2;this[_0x3bfd13(0xa6)][_0x3bfd13(0x364)](this[_0x3bfd13(0xc8)]);}}var Gn=Object[_0x32e2f2(0x266)],Wn=(_0x2277bb,_0x55dd1c,_0x273c47,_0x5d995f)=>{var _0x3263d3=_0x32e2f2;for(var _0x2ec03d=_0x5d995f>0x1?void 0x0:_0x5d995f?Gn(_0x55dd1c,_0x273c47):_0x55dd1c,_0x519d73=_0x2277bb[_0x3263d3(0x2e2)]-0x1,_0x561a87;_0x519d73>=0x0;_0x519d73--)(_0x561a87=_0x2277bb[_0x519d73])&&(_0x2ec03d=_0x561a87(_0x2ec03d)||_0x2ec03d);return _0x2ec03d;},me=(_0x5349ad,_0x417658)=>(_0x5a0dcc,_0x4920c8)=>_0x417658(_0x5a0dcc,_0x4920c8,_0x5349ad),Ee=(_0x25d8f7=>(_0x25d8f7[_0x25d8f7[_0x32e2f2(0x307)]=0x0]=_0x32e2f2(0x307),_0x25d8f7[_0x25d8f7[_0x32e2f2(0x1ea)]=0x1]=_0x32e2f2(0x1ea),_0x25d8f7[_0x25d8f7[_0x32e2f2(0x33c)]=0x2]='OFFLINE',_0x25d8f7[_0x25d8f7[_0x32e2f2(0x9c)]=0x3]='ONLINE',_0x25d8f7))(Ee||{});const Kt={[ge[_0x32e2f2(0x273)]]:_0x32e2f2(0xdb),[ge['JOIN_ROOM_FULL']]:_0x32e2f2(0x2cb),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x32e2f2(0x379),[ge[_0x32e2f2(0x184)]]:_0x32e2f2(0x238),[ge[_0x32e2f2(0x2af)]]:_0x32e2f2(0x178)};let Et=class extends _0x1005e4{constructor(_0x2f9980,_0x54d73e,_0x840b1c,_0x17c34c,_0x2ce1cd,_0x298519,_0x36aca3,_0x4449ab,_0x15ab7a){var _0x478e56=_0x32e2f2;super(),N(this,_0x478e56(0x2d8),new _0x17ac9d(0x0)),N(this,_0x478e56(0x16b),this[_0x478e56(0x2d8)]['asObservable']()),N(this,_0x478e56(0xbf),new _0x2fe298()),N(this,_0x478e56(0x90),this[_0x478e56(0xbf)][_0x478e56(0x2ed)]()),N(this,_0x478e56(0x34f)),N(this,_0x478e56(0x11a)),N(this,_0x478e56(0x2a9)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x478e56(0x1e8),null),(this[_0x478e56(0x310)]=_0x2f9980,this[_0x478e56(0xc3)]=_0x840b1c,this[_0x478e56(0xae)]=_0x17c34c,this[_0x478e56(0x2f5)]=_0x2ce1cd,this[_0x478e56(0x2ec)]=_0x298519,this[_0x478e56(0x1b3)]=_0x36aca3,this[_0x478e56(0x114)]=_0x4449ab,this['_telemetryService']=_0x15ab7a,this['_shouldReportTelemetry']=!!this[_0x478e56(0x36b)],_0x54d73e['pipe'](_0x5522e4(this[_0x478e56(0x187)]))['subscribe'](_0x5c8f14=>{var _0x352c3b=_0x478e56,_0x2f4aa9;typeof _0x5c8f14>'u'||(this[_0x352c3b(0x34f)]=_0x5c8f14,_0x5c8f14?(this[_0x352c3b(0x189)](_0x5c8f14),this[_0x352c3b(0x11a)]=_0x5c8f14[_0x352c3b(0x284)][_0x352c3b(0x115)](_0x579605=>{var _0xb7ab04=_0x352c3b;_0x579605[_0xb7ab04(0x1df)]===this[_0xb7ab04(0x310)]&&this['_onCombEvent'](_0x579605);})):(this[_0x352c3b(0xef)](),this[_0x352c3b(0x2d8)][_0x352c3b(0x364)](0x2),(_0x2f4aa9=this['_socketMessageSubscription'])==null||_0x2f4aa9[_0x352c3b(0x159)](),this[_0x352c3b(0x11a)]=null));}));}get['sessionStatus'](){var _0x3988d2=_0x32e2f2;return this['_sessionStatus$'][_0x3988d2(0x28a)]();}[_0x32e2f2(0x22c)](){var _0x3663ce=_0x32e2f2,_0x207af7,_0x445e7a;return(_0x445e7a=(_0x207af7=this[_0x3663ce(0x34f)])==null?void 0x0:_0x207af7[_0x3663ce(0x11d)])!=null?_0x445e7a:null;}['dispose'](){var _0x2387a8=_0x32e2f2;super[_0x2387a8(0x1e0)](),this[_0x2387a8(0x187)]['next'](),this['dispose$'][_0x2387a8(0x23e)]();}['close'](){var _0x1251e1=_0x32e2f2,_0x416ac4,_0x33075d;this['_throwTelemetryCollaborationNewChangeset'](),(_0x416ac4=this[_0x1251e1(0x34f)])==null||_0x416ac4[_0x1251e1(0x1cb)]({'cmd':F[_0x1251e1(0x28c)],'data':{'roomID':this[_0x1251e1(0x310)]}}),(_0x33075d=this['_socket'])==null||_0x33075d[_0x1251e1(0x1ad)](),this[_0x1251e1(0xbf)][_0x1251e1(0x23e)](),this[_0x1251e1(0x2d8)][_0x1251e1(0x23e)](),this[_0x1251e1(0x1e0)]();}['_onCombEvent'](_0x3a84e5){var _0x1cc038=_0x32e2f2;_0x3a84e5[_0x1cc038(0xb3)]===F[_0x1cc038(0x188)]?this['_onJoinRoomEvent'](_0x3a84e5):_0x3a84e5[_0x1cc038(0xb3)]===F[_0x1cc038(0xd5)]&&this['_onRecvEvent'](_0x3a84e5);}['_joinRoom'](_0x1120d7){var _0x383ccf=_0x32e2f2;this['_sessionStatus$'][_0x383ccf(0x364)](0x1),_0x1120d7[_0x383ccf(0x1cb)]({'cmd':F['JOIN'],'routeKey':this[_0x383ccf(0x310)],'routeType':'','data':{'rooms':[{'roomID':this[_0x383ccf(0x310)]}]}});}[_0x32e2f2(0x12b)](_0x375cda){var _0x2e29da=_0x32e2f2,_0x34a077;if(_0x375cda[_0x2e29da(0x223)]in Kt){this[_0x2e29da(0x114)]['emitEvent']({'id':re[_0x2e29da(0x37b)],'data':Kt[_0x375cda['code']]}),this[_0x2e29da(0x2d8)][_0x2e29da(0x364)](0x2);return;}this[_0x2e29da(0x2d8)][_0x2e29da(0x364)](0x3);const _0xeea04a=(_0x34a077=_0x375cda['data'][_0x2e29da(0x359)][this[_0x2e29da(0x310)]])==null?void 0x0:_0x34a077[_0x2e29da(0x1b5)];_0xeea04a&&_0xeea04a['forEach'](_0x132402=>this['_memberService'][_0x2e29da(0x371)](this[_0x2e29da(0x310)],_0x132402));}[_0x32e2f2(0x108)](_0x1ee1ac){var _0x5d02dc=_0x32e2f2;try{const _0x3faa7f=_0x1ee1ac[_0x5d02dc(0x113)];switch(_0x3faa7f[_0x5d02dc(0x100)]){case _0x5dd443[_0x5d02dc(0x14b)]:this[_0x5d02dc(0x1cd)](_0x3faa7f),this[_0x5d02dc(0xbf)][_0x5d02dc(0x364)](_0x3faa7f);break;case _0x5dd443[_0x5d02dc(0x345)]:this[_0x5d02dc(0x1a8)](_0x3faa7f),this['_event$'][_0x5d02dc(0x364)](_0x3faa7f);break;case _0x5dd443[_0x5d02dc(0x368)]:case _0x5dd443['CHANGESET_SHOULD_RETRY']:this[_0x5d02dc(0x1c8)](),this[_0x5d02dc(0x14f)](),this[_0x5d02dc(0xbf)][_0x5d02dc(0x364)](_0x3faa7f);break;case _0x5dd443['MSG_FOR_ERROR']:this[_0x5d02dc(0xc3)]['error'](_0x5d02dc(0x33d)+JSON['stringify'](_0x3faa7f)),this['_event$'][_0x5d02dc(0x364)](_0x3faa7f);break;case _0x5dd443[_0x5d02dc(0x229)]:this[_0x5d02dc(0x1b3)]['onCommentUpdate'](_0x3faa7f[_0x5d02dc(0x113)]),this[_0x5d02dc(0xbf)]['next'](_0x3faa7f);break;default:this[_0x5d02dc(0xbf)][_0x5d02dc(0x364)](_0x3faa7f);}}catch(_0x1e10fa){this['_logService'][_0x5d02dc(0xee)](_0x1e10fa,_0x1ee1ac);}}[_0x32e2f2(0x1cd)](_0x3b22c1){var _0xeebdb0=_0x32e2f2;this[_0xeebdb0(0x2ec)][_0xeebdb0(0x371)](this['_unitID'],_0x3b22c1['data']);}[_0x32e2f2(0x1a8)](_0x51d484){var _0x58ed26=_0x32e2f2;this[_0x58ed26(0x2ec)]['removeMember'](this['_unitID'],_0x51d484[_0x58ed26(0x113)][_0x58ed26(0x11d)]);}async[_0x32e2f2(0x1cb)](_0x47b212,_0x20cef9){var _0x2a2df2=_0x32e2f2;if(this[_0x2a2df2(0x21c)]!==0x3||!this[_0x2a2df2(0x34f)])throw new Error(_0x2a2df2(0x2bc));try{_0x47b212[_0x2a2df2(0x100)]===_0x5dd443[_0x2a2df2(0x297)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x2a2df2(0x122)](_0x47b212)),this[_0x2a2df2(0x34f)]['send']({'cmd':F[_0x2a2df2(0x1ff)],'routeKey':_0x20cef9,'routeType':'','data':_0x47b212});}catch(_0x15091e){this[_0x2a2df2(0xc3)]['error'](_0x15091e);}}[_0x32e2f2(0x2b2)](){var _0x4cf31e=_0x32e2f2,_0x134bc3;this[_0x4cf31e(0x2a9)]=setTimeout(()=>{var _0x416639=_0x4cf31e;this['_collaborationTimeoutTimer']=null,this[_0x416639(0x114)][_0x416639(0x1be)]({'id':re[_0x416639(0x35a)]});},(_0x134bc3=this[_0x4cf31e(0xae)][_0x4cf31e(0x8c)](mi))!=null?_0x134bc3:gi);}[_0x32e2f2(0x14f)](){var _0x34eb74=_0x32e2f2;this[_0x34eb74(0x2a9)]&&(clearTimeout(this[_0x34eb74(0x2a9)]),this[_0x34eb74(0x2a9)]=null);}[_0x32e2f2(0x122)](_0x42c0ae){var _0x1bc9cd=_0x32e2f2;if(!this[_0x1bc9cd(0x7e)])return;const {data:_0x9ae24e}=_0x42c0ae,{unitID:_0x528d1c,changeset:_0x55d862}=_0x9ae24e,{mutations:_0x35bc8e,type:_0x324e54}=_0x55d862;this[_0x1bc9cd(0x1e8)]={'unitId':_0x528d1c,'type':_0x324e54,'startTime':performance[_0x1bc9cd(0x302)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x35bc8e)};}[_0x32e2f2(0x1c8)](){var _0x168d5c=_0x32e2f2;if(this['_shouldReportTelemetry']){if(!this[_0x168d5c(0x1e8)]){this[_0x168d5c(0xc3)][_0x168d5c(0xee)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x168d5c(0x1e8)][_0x168d5c(0x208)]=performance['now'](),this[_0x168d5c(0x1e8)][_0x168d5c(0x2b8)]=this[_0x168d5c(0x1e8)][_0x168d5c(0x208)]-this[_0x168d5c(0x1e8)][_0x168d5c(0x14d)],this[_0x168d5c(0x36b)][_0x168d5c(0x23f)](Hn,this[_0x168d5c(0x1e8)]),this[_0x168d5c(0x1e8)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1b2912=_0x32e2f2;this[_0x1b2912(0x1e8)]=null;}};Et=Wn([me(0x2,_0x21b260),me(0x3,_0x24f34c),me(0x4,_0xf49784(_0x4d5bfe)),me(0x5,_0xf49784(Le)),me(0x6,_0xf49784(Ti)),me(0x7,_0xf49784(pe)),me(0x8,_0x263250(_0x4e6af2))],Et);var Kn=Object[_0x32e2f2(0x266)],Yn=(_0x1a0738,_0x155f98,_0x4a3fed,_0x35ab26)=>{var _0x2fc817=_0x32e2f2;for(var _0x30d348=_0x35ab26>0x1?void 0x0:_0x35ab26?Kn(_0x155f98,_0x4a3fed):_0x155f98,_0x8d49eb=_0x1a0738[_0x2fc817(0x2e2)]-0x1,_0x51eb98;_0x8d49eb>=0x0;_0x8d49eb--)(_0x51eb98=_0x1a0738[_0x8d49eb])&&(_0x30d348=_0x51eb98(_0x30d348)||_0x30d348);return _0x30d348;},be=(_0x31ed38,_0x333bcc)=>(_0x234ef7,_0x2afe8d)=>_0x333bcc(_0x234ef7,_0x2afe8d,_0x31ed38);let xe=class extends _0x9c2164{constructor(_0x113a4c,_0x57fcf7,_0x5e1218,_0x11475c,_0x5351bd,_0x1bbeb4){var _0x5e0fea=_0x32e2f2;super(),N(this,'_socket$',new _0x17ac9d(void 0x0)),N(this,_0x5e0fea(0x211),this['_socket$']['asObservable']()),N(this,_0x5e0fea(0x349),null),N(this,_0x5e0fea(0x366),new Map()),N(this,_0x5e0fea(0xdc),new _0x17ac9d(Ee[_0x5e0fea(0x307)])),N(this,_0x5e0fea(0x175),this[_0x5e0fea(0xdc)][_0x5e0fea(0x2ed)]()),N(this,_0x5e0fea(0x32d),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x5e0fea(0x137),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x5e0fea(0x87)),(this[_0x5e0fea(0x327)]=_0x113a4c,this['_logService']=_0x57fcf7,this[_0x5e0fea(0xae)]=_0x5e1218,this[_0x5e0fea(0x306)]=_0x11475c,this[_0x5e0fea(0x114)]=_0x5351bd,this['_networkConditionService']=_0x1bbeb4,this[_0x5e0fea(0x263)]());}get[_0x32e2f2(0x34f)](){var _0x14c8a7=_0x32e2f2;return this[_0x14c8a7(0x2ce)]['getValue']();}[_0x32e2f2(0x263)](){var _0x41ffa0=_0x32e2f2;this['_networkConditionService']&&this[_0x41ffa0(0x172)](this['_networkConditionService'][_0x41ffa0(0x30e)][_0x41ffa0(0x115)](_0x4cc622=>{var _0x355548=_0x41ffa0;_0x4cc622&&!this[_0x355548(0x34f)]&&this[_0x355548(0x384)](),_0x4cc622||this[_0x355548(0x30a)]();}));}[_0x32e2f2(0x1e0)](){var _0x1d17cb=_0x32e2f2;super[_0x1d17cb(0x1e0)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this[_0x1d17cb(0x2c9)](),this[_0x1d17cb(0x366)]['forEach'](_0x58c6a5=>_0x58c6a5[_0x1d17cb(0x1e0)]()),this[_0x1d17cb(0x366)][_0x1d17cb(0x24f)](),this['_status$']['complete']();}async[_0x32e2f2(0x1b0)](_0x3e752b){var _0x31cf3f=_0x32e2f2;if(this[_0x31cf3f(0x366)][_0x31cf3f(0xd9)](_0x3e752b))return this['_sessions']['get'](_0x3e752b);this[_0x31cf3f(0x33f)]();const _0x1abf08=this['_injector'][_0x31cf3f(0x22a)](Et,_0x3e752b,this[_0x31cf3f(0x2ce)][_0x31cf3f(0x2ed)]());return this[_0x31cf3f(0x366)]['set'](_0x3e752b,_0x1abf08),_0x1abf08;}['closeSession'](_0x5b579b){var _0x41895e=_0x32e2f2,_0x5b8027;const _0x3a968f=this[_0x41895e(0x366)]['get'](_0x5b579b);_0x3a968f&&(this['_sessions'][_0x41895e(0x203)](_0x5b579b),_0x3a968f[_0x41895e(0x1ad)]()),this[_0x41895e(0x366)][_0x41895e(0x2bd)]||(_0x5b8027=this['_socket'])==null||_0x5b8027[_0x41895e(0x1ad)]();}[_0x32e2f2(0x384)](){var _0x3946b8=_0x32e2f2;this[_0x3946b8(0x137)]=0x0,this[_0x3946b8(0x268)](),this[_0x3946b8(0x13d)]();}[_0x32e2f2(0x268)](){var _0x1892fb=_0x32e2f2;this[_0x1892fb(0x225)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x1892fb(0x225)]=null);}async[_0x32e2f2(0x1ce)](){var _0x4f26e5=_0x32e2f2,_0xde178c,_0x3f2db1;const _0x4f80bd=this[_0x4f26e5(0xae)]['getConfig'](In),_0x5df154=this[_0x4f26e5(0xae)][_0x4f26e5(0x8c)](q),_0x1695b1=(_0x3f2db1=(_0xde178c=_0x5df154==null?void 0x0:_0x5df154[_0x4f26e5(0x17c)])!=null?_0xde178c:_0x4f80bd)!=null?_0x3f2db1:Tn,_0x50ef34=await this['_socketService'][_0x4f26e5(0x145)](_0x1695b1);return this[_0x4f26e5(0x349)]=_0x50ef34,_0x50ef34;}async[_0x32e2f2(0x33f)](){var _0x3872c6=_0x32e2f2,_0x19918f,_0xac7475;try{const _0x5c98b3=(_0xac7475=(_0x19918f=this['_socket'])!=null?_0x19918f:this['_candidateSocket'])!=null?_0xac7475:await this[_0x3872c6(0x1ce)]();if(_0x5c98b3){const _0x464237=_0x5c98b3[_0x3872c6(0x1cb)];_0x5c98b3[_0x3872c6(0x1cb)]=_0x20796d=>(this[_0x3872c6(0x291)](),_0x464237[_0x3872c6(0x1c7)](_0x5c98b3,[_0x20796d])),_0x5c98b3['message$'][_0x3872c6(0x115)](_0x4212cf=>this['_onMessage'](_0x5c98b3,_0x4212cf)),_0x5c98b3['error$'][_0x3872c6(0x173)](_0x510b59(0x1))[_0x3872c6(0x115)](_0x57d964=>this['_logService'][_0x3872c6(0xee)](_0x3872c6(0x2d3),_0x57d964)),_0x5c98b3[_0x3872c6(0x2f7)][_0x3872c6(0x173)](_0x510b59(0x1))[_0x3872c6(0x115)](()=>{this['_onConnectionOpen'](_0x5c98b3);}),_0x5c98b3[_0x3872c6(0x1cc)][_0x3872c6(0x173)](_0x510b59(0x1))[_0x3872c6(0x115)](_0x548339=>{var _0xfbd4e5=_0x3872c6;this[_0xfbd4e5(0xc3)][_0xfbd4e5(0x313)](_0xfbd4e5(0x150),_0xfbd4e5(0x27f),_0x548339),this['_onConnectionFailed']();});}}catch(_0x54288b){this[_0x3872c6(0xc3)][_0x3872c6(0xee)](_0x54288b),this['_onConnectionFailed']();}}[_0x32e2f2(0x2d7)](_0x109008){var _0x3f4e03=_0x32e2f2;this['_logService'][_0x3f4e03(0x313)](_0x3f4e03(0x150),'socket\x20open.'),_0x109008['send']({'cmd':F[_0x3f4e03(0x99)]}),this[_0x3f4e03(0x291)]();}[_0x32e2f2(0x30a)](){var _0x48e4cb=_0x32e2f2;this[_0x48e4cb(0x32d)]=!0x1,this['_candidateSocket']=null,this[_0x48e4cb(0xdc)][_0x48e4cb(0x364)](Ee[_0x48e4cb(0x33c)]),this['_socket$']['next'](null),this[_0x48e4cb(0x241)](),this['_clearHeartbeatTimer']();}[_0x32e2f2(0x1dc)](){var _0x4477b0=_0x32e2f2,_0x3757ce;this[_0x4477b0(0x30a)](),this[_0x4477b0(0x137)]<((_0x3757ce=this['_configService'][_0x4477b0(0x8c)](On))!=null?_0x3757ce:yn)?(this[_0x4477b0(0x114)][_0x4477b0(0x1be)]({'id':re[_0x4477b0(0x31a)]}),this[_0x4477b0(0x13d)]()):this['_collaborationUIEventService'][_0x4477b0(0x1be)]({'id':re[_0x4477b0(0x339)]});}[_0x32e2f2(0x13d)](){var _0x48c74f=_0x32e2f2,_0x5951ee;const _0x38a4af=this[_0x48c74f(0x137)],_0x2015dd=this['_configService'][_0x48c74f(0x8c)](q),_0x86e9c3=_0x38a4af===0x0?0x0:((_0x5951ee=_0x2015dd==null?void 0x0:_0x2015dd[_0x48c74f(0x21e)])!=null?_0x5951ee:bn)*0x2**_0x38a4af;this[_0x48c74f(0x225)]=setTimeout(()=>{var _0x51a172=_0x48c74f;clearTimeout(this[_0x51a172(0x225)]),this['_retryConnectingTimer']=null,this[_0x51a172(0x33f)]();},_0x86e9c3),this[_0x48c74f(0x137)]+=0x1;}[_0x32e2f2(0x363)](_0x27f274,_0x5e7e4c){var _0x4a9506=_0x32e2f2;const {cmd:_0x22b00d}=_0x5e7e4c;_0x22b00d===F['HELLO']&&!this[_0x4a9506(0x32d)]&&(_0x27f274[_0x4a9506(0x11d)]=_0x5e7e4c[_0x4a9506(0x113)][_0x4a9506(0x11d)],this[_0x4a9506(0x2ce)][_0x4a9506(0x364)](_0x27f274),this[_0x4a9506(0xdc)][_0x4a9506(0x364)](Ee['ONLINE']),this[_0x4a9506(0x32d)]=!0x0,this[_0x4a9506(0x349)]=null),_0x22b00d===F[_0x4a9506(0xb8)]&&this[_0x4a9506(0x241)](),this[_0x4a9506(0x291)]();}[_0x32e2f2(0x291)](){var _0x87e8dc=_0x32e2f2,_0xaf385f;this[_0x87e8dc(0x2c9)](),this[_0x87e8dc(0x157)]=setTimeout(()=>this['_sendHeartbeat'](),(_0xaf385f=this['_configService'][_0x87e8dc(0x8c)](Cn))!=null?_0xaf385f:Rn);}[_0x32e2f2(0x316)](){var _0xd98fc3=_0x32e2f2;this[_0xd98fc3(0x34f)]['send']({'cmd':F[_0xd98fc3(0xb8)]}),this['_waitForHeartbeatResponse']();}[_0x32e2f2(0x32f)](){var _0x445b56=_0x32e2f2,_0x1e2871;this[_0x445b56(0x87)]=setTimeout(()=>this[_0x445b56(0x1dc)](),(_0x1e2871=this[_0x445b56(0xae)]['getConfig'](mi))!=null?_0x1e2871:gi);}[_0x32e2f2(0x2c9)](){var _0x479bfe=_0x32e2f2;this[_0x479bfe(0x157)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x479bfe(0x157)]=null);}['_clearTimeoutTimer'](){var _0x26f82d=_0x32e2f2;this[_0x26f82d(0x87)]!=null&&(clearTimeout(this[_0x26f82d(0x87)]),this['_timeoutTimer']=null);}};xe=Yn([be(0x0,_0xf49784(_0x3f2818)),be(0x1,_0x21b260),be(0x2,_0x24f34c),be(0x3,Ii),be(0x4,_0xf49784(pe)),be(0x5,_0x263250(Pn))],xe);const V=[];function _0x36d8(_0x54c1ea,_0x415ea6){var _0x1a3dd5=_0x1a3d();return _0x36d8=function(_0x36d879,_0x501ac6){_0x36d879=_0x36d879-0x7a;var _0x4f81eb=_0x1a3dd5[_0x36d879];return _0x4f81eb;},_0x36d8(_0x54c1ea,_0x415ea6);}for(let t=0x0;t<0x100;++t)V[_0x32e2f2(0x21f)]((t+0x100)[_0x32e2f2(0x110)](0x10)['slice'](0x1));function qn(_0x1af53e,_0x579104=0x0){return(V[_0x1af53e[_0x579104+0x0]]+V[_0x1af53e[_0x579104+0x1]]+V[_0x1af53e[_0x579104+0x2]]+V[_0x1af53e[_0x579104+0x3]]+'-'+V[_0x1af53e[_0x579104+0x4]]+V[_0x1af53e[_0x579104+0x5]]+'-'+V[_0x1af53e[_0x579104+0x6]]+V[_0x1af53e[_0x579104+0x7]]+'-'+V[_0x1af53e[_0x579104+0x8]]+V[_0x1af53e[_0x579104+0x9]]+'-'+V[_0x1af53e[_0x579104+0xa]]+V[_0x1af53e[_0x579104+0xb]]+V[_0x1af53e[_0x579104+0xc]]+V[_0x1af53e[_0x579104+0xd]]+V[_0x1af53e[_0x579104+0xe]]+V[_0x1af53e[_0x579104+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x22e227=_0x32e2f2;if(!ut){if(typeof crypto>'u'||!crypto[_0x22e227(0x22d)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x22e227(0x22d)][_0x22e227(0x1e9)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x32e2f2(0x231)]&&crypto[_0x32e2f2(0x231)][_0x32e2f2(0x1e9)](crypto),Yt={'randomUUID':Xn};function Zn(_0x3f244e,_0x4985d6,_0x57dde1){var _0x3cd0a4=_0x32e2f2,_0x2bea98,_0x36a33d,_0x100104;if(Yt[_0x3cd0a4(0x231)]&&!_0x3f244e)return Yt['randomUUID']();_0x3f244e=_0x3f244e||{};const _0x151059=(_0x100104=(_0x36a33d=_0x3f244e[_0x3cd0a4(0x34d)])!=null?_0x36a33d:(_0x2bea98=_0x3f244e['rng'])==null?void 0x0:_0x2bea98['call'](_0x3f244e))!=null?_0x100104:Jn();if(_0x151059[_0x3cd0a4(0x2e2)]<0x10)throw new Error(_0x3cd0a4(0x24b));return _0x151059[0x6]=_0x151059[0x6]&0xf|0x40,_0x151059[0x8]=_0x151059[0x8]&0x3f|0x80,qn(_0x151059);}const J=_0x1badd5(_0x32e2f2(0x212));function Br(_0x23842c){return'unit-cache-'+_0x23842c;}var Qn=Object[_0x32e2f2(0x266)],es=(_0x42d179,_0x2131ce,_0x460e02,_0x31e035)=>{var _0x434ed9=_0x32e2f2;for(var _0x334a07=_0x31e035>0x1?void 0x0:_0x31e035?Qn(_0x2131ce,_0x460e02):_0x2131ce,_0x9baf9f=_0x42d179[_0x434ed9(0x2e2)]-0x1,_0x36cfee;_0x9baf9f>=0x0;_0x9baf9f--)(_0x36cfee=_0x42d179[_0x9baf9f])&&(_0x334a07=_0x36cfee(_0x334a07)||_0x334a07);return _0x334a07;},dt=(_0x3583ec,_0x588960)=>(_0xe6ab93,_0x3f52f3)=>_0x588960(_0xe6ab93,_0x3f52f3,_0x3583ec);function ts(_0x3d9f98){var _0x7c0704=_0x32e2f2;const {unitID:_0x329a23,mutations:_0x1ec557}=_0x3d9f98;return{'unitId':_0x329a23,'subUnitId':_0x1ec557[0x0][_0x7c0704(0x389)][_0x7c0704(0x19f)]};}let it=class{constructor(_0x5d002c,_0x132e82,_0x1b870f){var _0x160565=_0x32e2f2;this[_0x160565(0x327)]=_0x5d002c,this[_0x160565(0x1c1)]=_0x132e82,this['_instanceService']=_0x1b870f;}['transformSelections'](_0x50a42b){var _0x233e43=_0x32e2f2,_0x7adb41,_0x11def2,_0x4d4073,_0x271aad;const _0x2f9973=this[_0x233e43(0x327)][_0x233e43(0x281)](_0x4e7f04),{unitId:_0x4e573e,subUnitId:_0x83c11f}=ts(_0x50a42b),_0x288ef7=_0x2f9973==null?void 0x0:_0x2f9973[_0x233e43(0x7a)](_0x4e573e)[_0x233e43(0x25a)](),_0x52eeed=(_0x11def2=(_0x7adb41=this[_0x233e43(0x124)][_0x233e43(0xb0)](_0x4e573e))==null?void 0x0:_0x7adb41[_0x233e43(0x28d)]())==null?void 0x0:_0x11def2[_0x233e43(0x151)]();if(_0x288ef7[_0x233e43(0x2e2)]===0x0||!_0x4e573e||!_0x83c11f)return;const _0x53571d=[{'id':_0x37d256['id'],'params':{'unitId':_0x4e573e,'subUnitId':_0x52eeed,'selections':_0x28db43[_0x233e43(0x27d)](_0x288ef7)}}],_0xbf7ad3=this[_0x233e43(0x1c1)][_0x233e43(0x129)](_0x50a42b,_0x53571d);if(!_0x34c343(_0xbf7ad3))throw _0xbf7ad3['error'];const _0x147cea=(_0x271aad=(_0x4d4073=_0xbf7ad3['m2Prime'][0x0])==null?void 0x0:_0x4d4073[_0x233e43(0x389)])==null?void 0x0:_0x271aad[_0x233e43(0xd0)];if(Array[_0x233e43(0x132)](_0x147cea)&&_0x147cea[_0x233e43(0x2e2)]){if(_0x147cea['length']===_0x53571d[0x0]['params']['selections'][_0x233e43(0x2e2)]&&_0x147cea[_0x233e43(0xd1)]((_0x330aa7,_0x180d81)=>_0x1b1edb[_0x233e43(0x21d)](_0x330aa7['range'],_0x53571d[0x0][_0x233e43(0x389)]['selections'][_0x180d81][_0x233e43(0x332)])))return;this[_0x233e43(0x327)][_0x233e43(0x281)](_0x10f8e6)[_0x233e43(0x111)](_0x37d256['id'],{'unitId':_0x4e573e,'subUnitId':_0x52eeed,'selections':_0x147cea});}}};it=es([dt(0x0,_0xf49784(_0x3f2818)),dt(0x1,_0x1ec7ed),dt(0x2,_0x457f20)],it);const ht=_0x1badd5(_0x32e2f2(0x344));var Ci=(_0x52913a=>(_0x52913a[_0x52913a[_0x32e2f2(0x2c4)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x52913a[_0x52913a[_0x32e2f2(0x204)]=0x1]=_0x32e2f2(0x204),_0x52913a))(Ci||{});const is=new Set([_0x516a7d['id']]);function qt(_0xb69b56,_0x574557,_0x3b2ba2,_0xa427a0,_0x3d0e32){var _0x547949=_0x32e2f2,_0x11b535,_0x3052c0,_0x1ed394,_0x40914d;const _0xcf78fc=[];for(const _0x43853c of _0xb69b56)if(is[_0x547949(0xd9)](_0x43853c['id'])){if(_0xcf78fc[_0x547949(0x2e2)]>0x0)break;_0xcf78fc[_0x547949(0x21f)](_0x43853c);break;}else _0xcf78fc[_0x547949(0x21f)](_0x43853c);const _0x23af3b=(_0x3052c0=(_0x11b535=_0x3d0e32[_0x547949(0x2d1)]())==null?void 0x0:_0x11b535[_0x547949(0x17f)])!=null?_0x3052c0:_0x547949(0x109),_0x493234=(_0x40914d=(_0x1ed394=_0x3d0e32['getCurrentUser']())==null?void 0x0:_0x1ed394['memberID'])!=null?_0x40914d:_0x547949(0x109);return{'changeset':{'unitID':_0x574557,'type':_0x17f303(_0x3b2ba2['getUnitType'](_0x574557)),'baseRev':_0xa427a0[_0x547949(0x1bc)](_0x574557),'revision':0x0,'userID':_0x23af3b,'memberID':_0x493234,'mutations':_0xcf78fc},'pendingMutations':_0xb69b56[_0x547949(0x2e9)](_0xcf78fc['length'])};}function ns(_0x3c8128,_0x40b412,_0x522359,_0x3f7a0f,_0x181739){var _0x435114=_0x32e2f2,_0x178901,_0x59dd54,_0x28f714,_0x57a0e5;const _0x344534=[_0x3c8128[_0x435114(0x81)]((_0x4abf24,_0x209f4d)=>{var _0x218b50=_0x435114,_0x351562;const {id:_0x1426f5}=_0x4abf24,{id:_0x3e7975,type:_0x559f72}=_0x209f4d,_0x193032=(_0x351562=_0x4abf24[_0x218b50(0x389)])!=null?_0x351562:{'actions':null},_0x280772=_0x209f4d[_0x218b50(0x389)];if(_0x1426f5&&_0x1426f5!==_0x3e7975)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1426f5+_0x218b50(0x317)+_0x3e7975+'.');return{..._0x4abf24,'id':_0x3e7975,'type':_0x559f72,'params':{'unitId':_0x280772[_0x218b50(0x28f)],'textRanges':_0x280772['textRanges'],'actions':_0xa77bd7[_0x218b50(0x2c1)](_0x193032['actions'],_0x280772[_0x218b50(0x283)])}};},{})],_0x3f8c42=(_0x59dd54=(_0x178901=_0x181739[_0x435114(0x2d1)]())==null?void 0x0:_0x178901[_0x435114(0x17f)])!=null?_0x59dd54:_0x435114(0x109),_0x253af3=(_0x57a0e5=(_0x28f714=_0x181739[_0x435114(0x2d1)]())==null?void 0x0:_0x28f714[_0x435114(0x11d)])!=null?_0x57a0e5:_0x435114(0x109);return{'changeset':{'unitID':_0x40b412,'type':_0x17f303(_0x522359[_0x435114(0x270)](_0x40b412)),'baseRev':_0x3f7a0f[_0x435114(0x1bc)](_0x40b412),'revision':0x0,'userID':_0x3f8c42,'memberID':_0x253af3,'mutations':_0x344534},'pendingMutations':[]};}function Ri(_0x26d341,_0x4d515e){var _0x529f9f=_0x32e2f2;const _0x466cbd=new _0x10ef41(0x1);return setTimeout(()=>_0x466cbd['next'](_0x4d515e),_0x26d341),_0x466cbd[_0x529f9f(0x2ed)]()[_0x529f9f(0x173)](_0x2cc397(0x1));}const ss={'id':_0x128bca['id'],'type':_0x338b90[_0x32e2f2(0x343)],'params':{}};var rs=Object[_0x32e2f2(0x266)],Te=(_0x5a21d8,_0x2f84f8,_0x112f60,_0x2c3f00)=>{var _0x324efd=_0x32e2f2;for(var _0xdf9567=_0x2c3f00>0x1?void 0x0:_0x2c3f00?rs(_0x2f84f8,_0x112f60):_0x2f84f8,_0xe2079f=_0x5a21d8[_0x324efd(0x2e2)]-0x1,_0x15b5c8;_0xe2079f>=0x0;_0xe2079f--)(_0x15b5c8=_0x5a21d8[_0xe2079f])&&(_0xdf9567=_0x15b5c8(_0xdf9567)||_0xdf9567);return _0xdf9567;},P=(_0x126371,_0x571970)=>(_0x4e0c7f,_0x5b390f)=>_0x571970(_0x4e0c7f,_0x5b390f,_0x126371),bi=(_0x1e975f=>(_0x1e975f[_0x32e2f2(0x301)]=_0x32e2f2(0x1f4),_0x1e975f['SYNCED']=_0x32e2f2(0x2f1),_0x1e975f[_0x32e2f2(0x1a9)]=_0x32e2f2(0x338),_0x1e975f[_0x32e2f2(0xa8)]='awaiting',_0x1e975f[_0x32e2f2(0x2f9)]=_0x32e2f2(0x2ca),_0x1e975f[_0x32e2f2(0xab)]='fetch_missing',_0x1e975f[_0x32e2f2(0x2ff)]='conflict',_0x1e975f[_0x32e2f2(0x33c)]=_0x32e2f2(0x2ee),_0x1e975f))(bi||{});const Oi=0xea60;class Ce{constructor(_0x7922ce,_0x4717b6,_0x3241bf,_0x33140f,_0x3158d8,_0x510905,_0x1903ab,_0x44fdb9,_0x49c875){var _0x3349a9=_0x32e2f2;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this['unitID']=_0x7922ce,this[_0x3349a9(0x17e)]=_0x4717b6,this[_0x3349a9(0xd7)]=_0x3158d8,this[_0x3349a9(0xdd)]=_0x510905,this[_0x3349a9(0x1d7)]=_0x1903ab,this['_revisionService']=_0x44fdb9,this['_localCacheService']=_0x49c875,this['_awaitingChangeset']=_0x3241bf,this[_0x3349a9(0x2a0)]=_0x33140f);}[_0x32e2f2(0x1b6)](_0xf05cb0){var _0x211790=_0x32e2f2;const _0x41db9f=this[_0x211790(0x311)]['getCurrentRevOfUnit'](this[_0x211790(0x10f)]);return _0xf05cb0[_0x211790(0x2fb)]>_0x41db9f+0x1?(this[_0x211790(0xd7)][_0x211790(0x308)]({'from':_0x41db9f,'to':_0xf05cb0[_0x211790(0x2fb)]-0x1}),!0x0):!0x1;}[_0x32e2f2(0x2be)](_0x5eea7e){var _0x47fa5d=_0x32e2f2;this[_0x47fa5d(0x1d7)][_0x47fa5d(0x1a5)](this[_0x47fa5d(0x10f)],_0x5eea7e);}[_0x32e2f2(0xf2)](_0x5078d6){var _0x14bcb4=_0x32e2f2,_0x45f744,_0xb49339;(_0xb49339=(_0x45f744=this['_handler'])[_0x14bcb4(0x1b9)])==null||_0xb49339['call'](_0x45f744,_0x5078d6);}[_0x32e2f2(0x2e7)](_0x12ea66){var _0x14530c=_0x32e2f2,_0xe51c48,_0x115e95;return(_0x115e95=(_0xe51c48=this[_0x14530c(0xd7)])[_0x14530c(0x215)])==null?void 0x0:_0x115e95['call'](_0xe51c48,_0x12ea66);}[_0x32e2f2(0x325)](_0x557691){var _0x40f8af=_0x32e2f2,_0x23827d,_0x539cf8;return(_0x539cf8=(_0x23827d=this[_0x40f8af(0xd7)])[_0x40f8af(0x12f)])==null?void 0x0:_0x539cf8[_0x40f8af(0x321)](_0x23827d,_0x557691);}[_0x32e2f2(0x20e)](_0x2fe244){var _0x596d2b=_0x32e2f2,_0x134e20,_0xdf1db8,_0x292942;return(_0x292942=(_0xdf1db8=(_0x134e20=this['_handler'])[_0x596d2b(0x1a7)])==null?void 0x0:_0xdf1db8[_0x596d2b(0x321)](_0x134e20,_0x2fe244))!=null?_0x292942:_0x2fe244;}[_0x32e2f2(0x143)](_0xead905){var _0x1bd38c=_0x32e2f2,_0x102210,_0x426f36,_0x3abd17;return(_0x3abd17=(_0x426f36=(_0x102210=this['_handler'])[_0x1bd38c(0x239)])==null?void 0x0:_0x426f36[_0x1bd38c(0x321)](_0x102210,_0xead905))!=null?_0x3abd17:_0xead905;}['_syncEditingCollabCursor'](_0x135ab9){var _0x1d279e=_0x32e2f2,_0x2a5421,_0x264818;if(this[_0x1d279e(0x17e)]===Q[_0x1d279e(0x1ef)]){const {unitID:_0x41bcd7,mutations:_0x3ace11,memberID:_0x1d962c}=_0x135ab9,_0xa18042=_0x3ace11[0x0]['params'][_0x1d279e(0xce)];Array[_0x1d279e(0x132)](_0xa18042)&&_0xa18042[_0x1d279e(0x2e2)]>0x0&&((_0x264818=(_0x2a5421=this[_0x1d279e(0xd7)])[_0x1d279e(0x329)])==null||_0x264818[_0x1d279e(0x321)](_0x2a5421,{'unitID':_0x41bcd7,'memberID':_0x1d962c,'textRanges':_0xa18042}));}}[_0x32e2f2(0x147)](){var _0x365a35=_0x32e2f2,_0x5c1410;(_0x5c1410=this['_localCacheService'])==null||_0x5c1410[_0x365a35(0x318)](this[_0x365a35(0x10f)],this[_0x365a35(0x17e)],this[_0x365a35(0xda)],this[_0x365a35(0x2a0)]);}[_0x32e2f2(0x120)](){var _0x3b4663=_0x32e2f2;return this[_0x3b4663(0x311)][_0x3b4663(0x1bc)](this[_0x3b4663(0x10f)]);}[_0x32e2f2(0x219)](){var _0x255fba=_0x32e2f2;this[_0x255fba(0x311)][_0x255fba(0x285)](this['unitID']);}[_0x32e2f2(0x38e)](_0x3fa699){var _0x289d34=_0x32e2f2,_0x525bee;let _0x346d04=this[_0x289d34(0x20e)](_0x3fa699);_0x346d04=this[_0x289d34(0x143)](_0x346d04);const _0x29975f=_0x16c90c(_0x346d04[_0x289d34(0x166)],this[_0x289d34(0xdd)],{'fromCollab':!0x0});if(!_0x29975f['result'])throw _0x29975f[_0x289d34(0xee)]instanceof Error?_0x29975f['error']:new Error((_0x525bee=_0x29975f[_0x289d34(0xee)])!=null?_0x525bee:_0x289d34(0x353));this[_0x289d34(0x2e7)](_0x346d04),this[_0x289d34(0x325)](_0x346d04),this[_0x289d34(0x2be)](_0x3fa699),this[_0x289d34(0xf2)](_0x346d04),this[_0x289d34(0x26d)](_0x346d04),this[_0x289d34(0x219)]();}}let Ne=class extends Ce{constructor(_0x2271d4,_0x151cc8,_0x2583c7,_0xe7a5d7,_0x54b62b,_0x217823,_0x5d9330,_0x39c7de,_0x1d1865,_0xeb82bd){var _0x42865e=_0x32e2f2;super(_0x2271d4,_0x151cc8,null,[],_0x2583c7,_0x5d9330,_0x217823,_0xe7a5d7,_0xeb82bd),N(this,'status','synced'),(this['_injector']=_0x54b62b,this[_0x42865e(0xc3)]=_0x39c7de,this['_transformService']=_0x1d1865,this[_0x42865e(0x377)]=_0xeb82bd);}[_0x32e2f2(0x193)](_0x1b6e79){var _0x27e2ea=_0x32e2f2;const _0x20a300=this['_injector'][_0x27e2ea(0x22a)](ae,this[_0x27e2ea(0x10f)],this['type'],[_0x1b6e79],this[_0x27e2ea(0xd7)]);return _0x20a300[_0x27e2ea(0x330)](),_0x20a300[_0x27e2ea(0x147)](),_0x20a300;}[_0x32e2f2(0x38a)](_0x5c1636){var _0x2d502c=_0x32e2f2;if(this[_0x2d502c(0x1b6)](_0x5c1636))return this[_0x2d502c(0x327)]['createInstance'](ee,this[_0x2d502c(0x10f)],this[_0x2d502c(0x17e)],null,[],null,[_0x5c1636],this[_0x2d502c(0xd7)]);try{const _0xca6faf=this['_transformService'][_0x2d502c(0x129)](_0x5c1636,[ss]);if(_0x34c343(_0xca6faf)){const {c1Prime:_0x11a99e}=_0xca6faf;return this[_0x2d502c(0x38e)](_0x11a99e),this;}throw _0xca6faf['error'];}catch(_0x180f20){return this[_0x2d502c(0xc3)]['error'](_0x180f20),this[_0x2d502c(0x1ba)](!0x1);}}[_0x32e2f2(0x1ba)](_0x1254d9){var _0x2c5175=_0x32e2f2;return this[_0x2c5175(0x327)][_0x2c5175(0x22a)](ue,this[_0x2c5175(0x10f)],this[_0x2c5175(0x17e)],null,[],this[_0x2c5175(0xd7)],_0x1254d9);}[_0x32e2f2(0x25f)](){var _0x206d8a=_0x32e2f2;throw new Error(_0x206d8a(0x28b));}['onRemoteRej'](){var _0x115ce0=_0x32e2f2;throw new Error(_0x115ce0(0x144));}[_0x32e2f2(0x31b)](){return this;}[_0x32e2f2(0x369)](){var _0x3fbff0=_0x32e2f2;return this[_0x3fbff0(0x327)][_0x3fbff0(0x22a)](de,this['unitID'],this[_0x3fbff0(0x17e)],null,[],this[_0x3fbff0(0xd7)]);}[_0x32e2f2(0x357)](){return this;}[_0x32e2f2(0x17a)](){var _0x3071d3=_0x32e2f2;throw new Error(_0x3071d3(0x2e3));}[_0x32e2f2(0x358)](){var _0xa76f9e=_0x32e2f2;const _0x5c8dff=this[_0xa76f9e(0x311)][_0xa76f9e(0x1bc)](this[_0xa76f9e(0x10f)]);return this[_0xa76f9e(0xd7)]['onMissingChangesets']({'from':_0x5c8dff,'to':0x0}),this[_0xa76f9e(0x327)]['createInstance'](ee,this[_0xa76f9e(0x10f)],this[_0xa76f9e(0x17e)],null,[],null,[],this[_0xa76f9e(0xd7)]);}};Ne=Te([P(0x3,_0xf49784(_0x4f92e0)),P(0x4,_0xf49784(_0x3f2818)),P(0x5,_0x355d2f),P(0x6,_0x10f8e6),P(0x7,_0x21b260),P(0x8,_0x1ec7ed),P(0x9,_0x263250(J))],Ne);let ae=class extends Ce{constructor(_0x198eb4,_0x3294ab,_0x66c700,_0x549c43,_0x183a73,_0x1502af,_0x19e4af,_0x2777fd,_0x40fbea,_0x41d254,_0x2c0312,_0x3e83cb,_0x10a1a0,_0x1c9556){var _0x3c71c7=_0x32e2f2;super(_0x198eb4,_0x3294ab,null,_0x66c700,_0x549c43,_0x40fbea,_0x10a1a0,_0x1502af,_0x1c9556),N(this,_0x3c71c7(0x25b),_0x3c71c7(0x338)),N(this,_0x3c71c7(0x32b),null),N(this,_0x3c71c7(0x16e),null),(this[_0x3c71c7(0x327)]=_0x183a73,this[_0x3c71c7(0x2ec)]=_0x19e4af,this['_logService']=_0x2777fd,this[_0x3c71c7(0xae)]=_0x41d254,this[_0x3c71c7(0x1c1)]=_0x2c0312,this[_0x3c71c7(0x2d5)]=_0x3e83cb);}['appendMutation'](_0x1437de){var _0x4ed2de=_0x32e2f2;return this[_0x4ed2de(0x2a0)]['push'](_0x1437de),this[_0x4ed2de(0x147)](),this;}['onRemoteChangeset'](_0x50d963){var _0x4fa392=_0x32e2f2;if(this[_0x4fa392(0x1b6)](_0x50d963))return this[_0x4fa392(0x9a)](),this[_0x4fa392(0x327)][_0x4fa392(0x22a)](ee,this['unitID'],this[_0x4fa392(0x17e)],null,this[_0x4fa392(0x2a0)],null,[_0x50d963],this[_0x4fa392(0xd7)]);try{const _0x3f9b36=this[_0x4fa392(0x1c1)][_0x4fa392(0x129)](_0x50d963,this[_0x4fa392(0x2a0)]);if(_0x34c343(_0x3f9b36)){const {c1Prime:_0xbbc17d,m2Prime:_0x2c0e99}=_0x3f9b36;this[_0x4fa392(0x38e)](_0xbbc17d);const _0x3a0619=this[_0x4fa392(0x327)][_0x4fa392(0x22a)](ae,this[_0x4fa392(0x10f)],this[_0x4fa392(0x17e)],_0x2c0e99,this[_0x4fa392(0xd7)]);this['_clearScheduledTask']();const _0x2cf695=new Date()['getTime'](),_0x3405f2=this['_scheduleCompleteTimestamp']?Math[_0x4fa392(0x121)](this[_0x4fa392(0x32b)]-_0x2cf695,0x0):this[_0x4fa392(0x139)]();return _0x3a0619[_0x4fa392(0x330)](_0x3405f2),_0x3a0619;}throw _0x3f9b36[_0x4fa392(0xee)];}catch(_0x4dace4){return this['_logService'][_0x4fa392(0xee)](_0x4dace4),this[_0x4fa392(0x1ba)](!0x1);}}[_0x32e2f2(0x25f)](){var _0x434f49=_0x32e2f2;throw new Error(_0x434f49(0xc1));}[_0x32e2f2(0x2a8)](){var _0x90bc5a=_0x32e2f2;throw new Error(_0x90bc5a(0x29f));}[_0x32e2f2(0x31b)](){return this;}['toggleOffline'](){var _0xf06863=_0x32e2f2;return this['_clearScheduledTask'](),this[_0xf06863(0x327)]['createInstance'](de,this[_0xf06863(0x10f)],this['type'],null,this['_pendingMutations'],this['_handler']);}[_0x32e2f2(0x357)](){return this;}[_0x32e2f2(0x330)](_0x5e478f){var _0x2124df=_0x32e2f2;const _0x390d75=_0x5e478f!=null?_0x5e478f:this[_0x2124df(0x139)]();this[_0x2124df(0x32b)]=new Date()[_0x2124df(0x234)]()+_0x390d75,this['_sendingTimer']=setTimeout(()=>{var _0x5f725c=_0x2124df;this[_0x5f725c(0x9a)]();let _0x3dfe25=null;switch(this[_0x5f725c(0x17e)]){case Q[_0x5f725c(0x118)]:{_0x3dfe25=qt(this[_0x5f725c(0x2a0)],this['unitID'],this['_univerInstanceService'],this[_0x5f725c(0x311)],this['_memberService']);break;}case Q[_0x5f725c(0x1ef)]:{this['_pendingMutations'][_0x5f725c(0xd1)](_0x126a84=>_0x126a84['id']===_0x12068d['id'])?_0x3dfe25=ns(this[_0x5f725c(0x2a0)],this[_0x5f725c(0x10f)],this[_0x5f725c(0x2d5)],this[_0x5f725c(0x311)],this[_0x5f725c(0x2ec)]):_0x3dfe25=qt(this[_0x5f725c(0x2a0)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x5f725c(0x2ec)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x5f725c(0x17e)]+'\x20in\x20_schedule.');}const {changeset:_0x31364b,pendingMutations:_0x5aaa6b}=_0x3dfe25;this[_0x5f725c(0xd7)][_0x5f725c(0x2a1)](_0x31364b);const _0x465590=_0x5aaa6b[_0x5f725c(0x2e2)]?this[_0x5f725c(0x327)]['createInstance'](oe,this['unitID'],this[_0x5f725c(0x17e)],_0x31364b,_0x5aaa6b,this[_0x5f725c(0xd7)],void 0x0):this[_0x5f725c(0x327)]['createInstance'](le,this[_0x5f725c(0x10f)],this[_0x5f725c(0x17e)],_0x31364b,this[_0x5f725c(0xd7)]);_0x465590[_0x5f725c(0x147)](),this[_0x5f725c(0xd7)][_0x5f725c(0x1d0)](this,_0x465590);},_0x390d75);}['_getSendChangesetTimeout'](){var _0x3551=_0x32e2f2,_0x1fb2ee;const _0x1447c4=this[_0x3551(0xae)]['getConfig'](q);return(_0x1fb2ee=_0x1447c4==null?void 0x0:_0x1447c4['sendChangesetTimeout'])!=null?_0x1fb2ee:En;}[_0x32e2f2(0x17a)](){var _0xad371f=_0x32e2f2;throw new Error(_0xad371f(0x18e));}['_clearScheduledTask'](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x509d41){var _0x2f46a2=_0x32e2f2;return this[_0x2f46a2(0x9a)](),this['_injector']['createInstance'](ue,this[_0x2f46a2(0x10f)],this['type'],null,this[_0x2f46a2(0x2a0)],this[_0x2f46a2(0xd7)],_0x509d41);}};ae=Te([P(0x4,_0xf49784(_0x3f2818)),P(0x5,_0xf49784(_0x4f92e0)),P(0x6,_0xf49784(Le)),P(0x7,_0x21b260),P(0x8,_0x10f8e6),P(0x9,_0x24f34c),P(0xa,_0x1ec7ed),P(0xb,_0x457f20),P(0xc,_0x355d2f),P(0xd,_0x263250(J))],ae);let le=class extends Ce{constructor(_0x25f0bc,_0x5c55fa,_0x50abb1,_0x2c8c2a,_0x2f1d75,_0x1d1b2d,_0x22a9af,_0x30f01d,_0x2a5d9e,_0x39df18,_0x5d3944){var _0x2c2f6b=_0x32e2f2;super(_0x25f0bc,_0x5c55fa,_0x50abb1,[],_0x2c8c2a,_0x22a9af,_0x39df18,_0x1d1b2d,_0x5d3944),N(this,_0x2c2f6b(0x25b),_0x2c2f6b(0x1eb)),N(this,'_resendTimeout',0x0),N(this,_0x2c2f6b(0xc4)),N(this,'_sender'),(this[_0x2c2f6b(0x327)]=_0x2f1d75,this[_0x2c2f6b(0xc3)]=_0x30f01d,this[_0x2c2f6b(0x1c1)]=_0x2a5d9e);}[_0x32e2f2(0x193)](_0x22b05b){var _0x5e8bb6=_0x32e2f2;this[_0x5e8bb6(0x9a)]();const _0x18600f=this['_injector'][_0x5e8bb6(0x22a)](oe,this['unitID'],this[_0x5e8bb6(0x17e)],this['_awaitingChangeset'],[_0x22b05b],this[_0x5e8bb6(0xd7)],this[_0x5e8bb6(0xc4)]);return _0x18600f['_updateLocalCache'](),_0x18600f;}[_0x32e2f2(0x38a)](_0x8ef583){var _0x3c22ec=_0x32e2f2;if(this[_0x3c22ec(0x1b6)](_0x8ef583))return this[_0x3c22ec(0x9a)](),this[_0x3c22ec(0x327)][_0x3c22ec(0x22a)](ee,this['unitID'],this[_0x3c22ec(0x17e)],this['_awaitingChangeset'],[],null,[_0x8ef583],this[_0x3c22ec(0xd7)]);try{const _0x450e29=this[_0x3c22ec(0x1c1)]['transformChangesets']([_0x8ef583],[this[_0x3c22ec(0xda)]],!0x1);if(_0x5aa359(_0x450e29)){const {c1Prime:_0x1a32b4,c2Prime:_0x11e3d8}=_0x450e29;this[_0x3c22ec(0x38e)](_0x1a32b4[0x0]),_0x11e3d8[0x0][_0x3c22ec(0x177)]=this['_getCurrentRevision'](),this[_0x3c22ec(0x9a)]();const _0x20e7de=this[_0x3c22ec(0x327)][_0x3c22ec(0x22a)](le,this[_0x3c22ec(0x10f)],this[_0x3c22ec(0x17e)],_0x11e3d8[0x0],this[_0x3c22ec(0xd7)]);return _0x20e7de[_0x3c22ec(0x147)](),_0x20e7de;}return this[_0x3c22ec(0x1ba)](!0x1);}catch(_0xdceba0){return this[_0x3c22ec(0xc3)][_0x3c22ec(0xee)](_0xdceba0),this['_onConflict'](!0x1);}}[_0x32e2f2(0x25f)](_0x1963d9){var _0x24526a=_0x32e2f2;this['_clearScheduledTask']();const _0x5577dd=this[_0x24526a(0x311)][_0x24526a(0x1bc)](this[_0x24526a(0x10f)]);if(_0x1963d9[_0x24526a(0x2fb)]<_0x5577dd-0x1)return this;if(this['_checkMissing'](_0x1963d9))return this['_injector']['createInstance'](ee,this[_0x24526a(0x10f)],this['type'],null,[],this[_0x24526a(0xda)],[],this[_0x24526a(0xd7)]);this[_0x24526a(0x219)]();const _0x19a60d=this[_0x24526a(0x327)][_0x24526a(0x22a)](Ne,this[_0x24526a(0x10f)],this[_0x24526a(0x17e)],this[_0x24526a(0xd7)]);return _0x19a60d[_0x24526a(0x147)](),_0x19a60d;}[_0x32e2f2(0x2a8)](_0x367414){var _0x5896b6=_0x32e2f2;return this[_0x5896b6(0x1ba)](!!(_0x367414!=null&&_0x367414['isPermissionRej']));}[_0x32e2f2(0x31b)](_0x2ea772){var _0x2e3eed=_0x32e2f2;return this['_resendTimeout']>Oi?this[_0x2e3eed(0x369)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x2ea772[_0x2e3eed(0x294)]}),this[_0x2e3eed(0x20f)]=this['_resendTimer'][_0x2e3eed(0x115)](({reqId:_0x4c84e4,timeout:_0x24d72c})=>{this['_resendWithTimeout'](_0x4c84e4,_0x24d72c);}),this);}[_0x32e2f2(0x369)](){var _0x22ab83=_0x32e2f2;return this[_0x22ab83(0x9a)](),this[_0x22ab83(0x327)][_0x22ab83(0x22a)](de,this['unitID'],this[_0x22ab83(0x17e)],this[_0x22ab83(0xda)],[],this[_0x22ab83(0xd7)]);}[_0x32e2f2(0x357)](){return this;}['resend'](){var _0x3fa0e=_0x32e2f2;this[_0x3fa0e(0xd7)][_0x3fa0e(0x2a1)](this[_0x3fa0e(0xda)]);}['_onConflict'](_0x241c9e){var _0x345fca=_0x32e2f2;return this[_0x345fca(0x9a)](),this[_0x345fca(0x327)]['createInstance'](ue,this[_0x345fca(0x10f)],this['type'],this[_0x345fca(0xda)],[],this[_0x345fca(0xd7)],_0x241c9e);}[_0x32e2f2(0x1da)](_0x34224f,_0x53e291){var _0x482003=_0x32e2f2,_0xefdfb3;_0x34224f===((_0xefdfb3=this['_awaitingChangeset'])==null?void 0x0:_0xefdfb3[_0x482003(0x294)])&&(this[_0x482003(0x17a)](),this['_resendTimeout']=_0x53e291===0x0?0x3e8:_0x53e291*0x2);}[_0x32e2f2(0x9a)](){var _0x52de3a=_0x32e2f2,_0x441fa8;(_0x441fa8=this['_sender'])==null||_0x441fa8['unsubscribe'](),this[_0x52de3a(0x1f5)]=0x0;}};le=Te([P(0x4,_0xf49784(_0x3f2818)),P(0x5,_0xf49784(_0x4f92e0)),P(0x6,_0x10f8e6),P(0x7,_0x21b260),P(0x8,_0x1ec7ed),P(0x9,_0x355d2f),P(0xa,_0x263250(J))],le);let oe=class extends Ce{constructor(_0x17c518,_0x2433e7,_0x521627,_0x44c979,_0x16022d,_0x43ca75,_0x2a9aae,_0x5a58e6,_0x4c6331,_0x4815ce,_0x546e0e,_0x18c09e,_0x51dba0){var _0x216ef3=_0x32e2f2;super(_0x17c518,_0x2433e7,_0x521627,_0x44c979,_0x16022d,_0x4c6331,_0x18c09e,_0x5a58e6,_0x51dba0),N(this,_0x216ef3(0x25b),_0x216ef3(0x2ca)),N(this,_0x216ef3(0x1f5),0x0),N(this,_0x216ef3(0xc4)),N(this,_0x216ef3(0x20f)),(this[_0x216ef3(0x327)]=_0x2a9aae,this[_0x216ef3(0xc3)]=_0x4815ce,this[_0x216ef3(0x1c1)]=_0x546e0e,this[_0x216ef3(0x377)]=_0x51dba0,_0x43ca75&&(this[_0x216ef3(0xc4)]=_0x43ca75,this[_0x216ef3(0x20f)]=this[_0x216ef3(0xc4)][_0x216ef3(0x115)](({reqId:_0x52067e,timeout:_0x382002})=>{this['_resendWithTimeout'](_0x52067e,_0x382002);})));}['appendMutation'](_0x30a5f1){var _0x57044a=_0x32e2f2;return this['_pendingMutations'][_0x57044a(0x21f)](_0x30a5f1),this;}['onRemoteChangeset'](_0x1b846b){var _0x499710=_0x32e2f2;if(this[_0x499710(0x1b6)](_0x1b846b))return this[_0x499710(0x9a)](),this[_0x499710(0x327)][_0x499710(0x22a)](ee,this[_0x499710(0x10f)],this[_0x499710(0x17e)],this[_0x499710(0xda)],this[_0x499710(0x2a0)],null,[_0x1b846b],this[_0x499710(0xd7)]);try{const _0x536cb8=this[_0x499710(0x1c1)][_0x499710(0x170)]([_0x1b846b],[this[_0x499710(0xda)]],!0x1);if(_0x5aa359(_0x536cb8)){const {c1Prime:_0x1cf763,c2Prime:_0xc2171}=_0x536cb8,_0x126e91=this[_0x499710(0x1c1)][_0x499710(0x129)](_0x1cf763[0x0],this[_0x499710(0x2a0)]);if(_0x34c343(_0x126e91)){const {c1Prime:_0xa0adf9,m2Prime:_0x1aaa58}=_0x126e91;return this[_0x499710(0x38e)](_0xa0adf9),_0xc2171[0x0][_0x499710(0x177)]=this[_0x499710(0x120)](),this[_0x499710(0x9a)](),this[_0x499710(0x327)][_0x499710(0x22a)](oe,this['unitID'],this[_0x499710(0x17e)],_0xc2171[0x0],_0x1aaa58,this[_0x499710(0xd7)],void 0x0);}throw _0x126e91[_0x499710(0xee)];}throw _0x536cb8[_0x499710(0xee)];}catch(_0x458d2b){return this['_logService'][_0x499710(0xee)](_0x458d2b),this[_0x499710(0x1ba)](!0x1);}}['onRemoteAck'](_0x5d6ed8){var _0x412938=_0x32e2f2;if(this['_clearScheduledTask'](),this[_0x412938(0x1b6)](_0x5d6ed8))return this['_injector'][_0x412938(0x22a)](ee,this[_0x412938(0x10f)],this[_0x412938(0x17e)],null,this[_0x412938(0x2a0)],this[_0x412938(0xda)],[],this[_0x412938(0xd7)]);this[_0x412938(0x219)]();const _0x129e61=this[_0x412938(0x327)][_0x412938(0x22a)](ae,this[_0x412938(0x10f)],this[_0x412938(0x17e)],this[_0x412938(0x2a0)],this[_0x412938(0xd7)]);return _0x129e61[_0x412938(0x330)](),_0x129e61[_0x412938(0x147)](),_0x129e61;}[_0x32e2f2(0x2a8)](_0x13f9e1){var _0x5eccda=_0x32e2f2;return this['_onConflict'](!!(_0x13f9e1!=null&&_0x13f9e1[_0x5eccda(0x13b)]));}[_0x32e2f2(0x31b)](_0x4c4406){var _0x3fd114=_0x32e2f2;return this['_resendTimeout']>Oi?this[_0x3fd114(0x369)]():(this[_0x3fd114(0xc4)]=Ri(this[_0x3fd114(0x1f5)],{'timeout':this['_resendTimeout'],'reqId':_0x4c4406[_0x3fd114(0x294)]}),this['_sender']=this[_0x3fd114(0xc4)][_0x3fd114(0x115)](({reqId:_0x151d66,timeout:_0x456ce0})=>{var _0x4a1b04=_0x3fd114;this[_0x4a1b04(0x1da)](_0x151d66,_0x456ce0);}),this);}[_0x32e2f2(0x369)](){var _0xec1b79=_0x32e2f2;return this[_0xec1b79(0x9a)](),this[_0xec1b79(0x327)][_0xec1b79(0x22a)](de,this['unitID'],this[_0xec1b79(0x17e)],this['_awaitingChangeset'],this[_0xec1b79(0x2a0)],this['_handler']);}[_0x32e2f2(0x357)](){return this;}[_0x32e2f2(0x17a)](){var _0x375ce5=_0x32e2f2;this[_0x375ce5(0xd7)][_0x375ce5(0x2a1)](this[_0x375ce5(0xda)]);}['_onConflict'](_0x3b88f3){var _0x466641=_0x32e2f2;return this['_clearScheduledTask'](),this[_0x466641(0x327)][_0x466641(0x22a)](ue,this[_0x466641(0x10f)],this['type'],null,this[_0x466641(0x2a0)],this['_handler'],_0x3b88f3);}['_resendWithTimeout'](_0x3ec94e,_0x277322){var _0x458f8a=_0x32e2f2,_0x1116b1;_0x3ec94e===((_0x1116b1=this[_0x458f8a(0xda)])==null?void 0x0:_0x1116b1[_0x458f8a(0x294)])&&(this[_0x458f8a(0x17a)](),this[_0x458f8a(0x1f5)]=_0x277322===0x0?0x3e8:_0x277322*0x2);}[_0x32e2f2(0x9a)](){var _0x26fc40=_0x32e2f2,_0x5a8580;(_0x5a8580=this[_0x26fc40(0x20f)])==null||_0x5a8580[_0x26fc40(0x159)](),this[_0x26fc40(0x1f5)]=0x0;}};oe=Te([P(0x6,_0xf49784(_0x3f2818)),P(0x7,_0xf49784(_0x4f92e0)),P(0x8,_0x10f8e6),P(0x9,_0x21b260),P(0xa,_0x1ec7ed),P(0xb,_0x355d2f),P(0xc,_0x263250(J))],oe);let ue=class extends Ce{constructor(_0x2563bb,_0x36dc52,_0x2090aa,_0x85219a,_0x5d5fbd,_0x3b8ad9=!0x1,_0x31e07a,_0x449054,_0x4cceb7,_0xe7bf3e,_0x2a0d40,_0x198920,_0x1c3359){var _0x5ac127=_0x32e2f2;super(_0x2563bb,_0x36dc52,_0x2090aa,_0x85219a,_0x5d5fbd,_0x449054,_0x4cceb7,_0xe7bf3e,_0x1c3359),N(this,_0x5ac127(0x25b),_0x5ac127(0xb9)),(this['_isPermissionRej']=_0x3b8ad9,this[_0x5ac127(0x1b8)]=_0x31e07a,this[_0x5ac127(0x2f5)]=_0x2a0d40,this[_0x5ac127(0x114)]=_0x198920,this[_0x5ac127(0x377)]=_0x1c3359,this[_0x5ac127(0x261)](),this['_clearLocalCache'](),this[_0x5ac127(0xcf)]());}[_0x32e2f2(0x193)](){return this;}[_0x32e2f2(0x38a)](){return this;}[_0x32e2f2(0x25f)](){return this;}[_0x32e2f2(0x2a8)](){return this;}['onRemoteRetry'](){return this;}[_0x32e2f2(0x369)](){return this;}[_0x32e2f2(0x357)](){return this;}['resend'](){var _0x58ec7e=_0x32e2f2;throw new Error(_0x58ec7e(0x29b));}[_0x32e2f2(0x17b)](){var _0x4b023c=_0x32e2f2,_0x3da3a9;(_0x3da3a9=this[_0x4b023c(0x36d)])==null||_0x3da3a9[_0x4b023c(0x318)](this[_0x4b023c(0x10f)],this[_0x4b023c(0x17e)],null,[]);}['_showConflictNotification'](){var _0x51df0d=_0x32e2f2;this[_0x51df0d(0x319)]?this[_0x51df0d(0x114)]['emitEvent']({'id':re[_0x51df0d(0x37c)]}):this[_0x51df0d(0x114)][_0x51df0d(0x1be)]({'id':re[_0x51df0d(0x2ff)]});}['_disableEditing'](){var _0x6d3db7=_0x32e2f2;this[_0x6d3db7(0x1b8)]['updatePermissionPoint'](new _0x4aa924(this[_0x6d3db7(0x10f)])['id'],!0x1);}};ue=Te([P(0x6,_0xf49784(_0x2d9700)),P(0x7,_0x10f8e6),P(0x8,_0x355d2f),P(0x9,_0xf49784(_0x4f92e0)),P(0xa,_0xf49784(_0x4d5bfe)),P(0xb,_0xf49784(pe)),P(0xc,_0x263250(J))],ue);let de=class extends Ce{constructor(_0xb5f7db,_0x27182c,_0x4217d3,_0x59e35b,_0x4e878d,_0x595781,_0x12fa23,_0xea39b,_0x48caf4,_0x1400a4){var _0x7a4273=_0x32e2f2;super(_0xb5f7db,_0x27182c,_0x4217d3,_0x59e35b,_0x4e878d,_0xea39b,_0x48caf4,_0x12fa23,_0x1400a4),N(this,_0x7a4273(0x25b),'offline'),this['_injector']=_0x595781;}[_0x32e2f2(0x193)](_0xff3ea2){var _0x1a5d8c=_0x32e2f2;return this[_0x1a5d8c(0x2a0)]['push'](_0xff3ea2),this[_0x1a5d8c(0x147)](),this;}[_0x32e2f2(0x38a)](_0x31c377){var _0x24db8f=_0x32e2f2;throw new Error(_0x24db8f(0xf1));}[_0x32e2f2(0x25f)](){var _0x38a8d8=_0x32e2f2;throw new Error(_0x38a8d8(0x1d1));}[_0x32e2f2(0x2a8)](){var _0x57b586=_0x32e2f2;throw new Error(_0x57b586(0x31d));}[_0x32e2f2(0x31b)](){return this;}[_0x32e2f2(0x369)](){return this;}[_0x32e2f2(0x357)](){var _0x2260c2=_0x32e2f2;const {_injector:_0x515f0b,_pendingMutations:_0x1a5c0f,_awaitingChangeset:_0x313750,unitID:_0x715236,_handler:_0x134817,type:_0x5a8954}=this,_0x43a0ed=yi(_0x515f0b,_0x715236,_0x5a8954,_0x313750,_0x1a5c0f,_0x134817);return _0x43a0ed instanceof ae?_0x43a0ed[_0x2260c2(0x330)]():(_0x43a0ed instanceof oe||_0x43a0ed instanceof le)&&_0x43a0ed[_0x2260c2(0x17a)](),_0x43a0ed;}[_0x32e2f2(0x17a)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0xf49784(_0x3f2818)),P(0x6,_0xf49784(_0x4f92e0)),P(0x7,_0x10f8e6),P(0x8,_0x355d2f),P(0x9,_0x263250(J))],de);let ee=class extends Ce{constructor(_0x3c731e,_0x5c9f67,_0x5918d7,_0x2ef216,_0x3a57e5,_0x616143,_0x1f1e63,_0x58eecc,_0x502715,_0x439c25,_0x3b293d,_0x3c26e5,_0x3058eb,_0xa6c65c){var _0xb69660=_0x32e2f2;super(_0x3c731e,_0x5c9f67,_0x5918d7,_0x2ef216,_0x1f1e63,_0x3b293d,_0x3c26e5,_0x502715,_0xa6c65c),N(this,_0xb69660(0x25b),'fetch_missing'),(this[_0xb69660(0x35e)]=_0x3a57e5,this[_0xb69660(0x2eb)]=_0x616143,this[_0xb69660(0x327)]=_0x58eecc,this[_0xb69660(0xc3)]=_0x439c25,this[_0xb69660(0x1c1)]=_0x3058eb,this[_0xb69660(0x377)]=_0xa6c65c);}['onMissedChangesetFetched'](_0x5288cf){var _0x108d74=_0x32e2f2;try{const _0x37fb27=[..._0x5288cf,...this[_0x108d74(0x2eb)]],_0x13224f=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x108d74(0x18f)](_0x11a79e=>!!_0x11a79e);let _0x5f4ac2,_0x162860;if(_0x13224f[_0x108d74(0x2e2)]){const _0x4a8e90=this[_0x108d74(0x1c1)]['transformChangesets'](_0x37fb27,_0x13224f,!0x1);if(!_0x5aa359(_0x4a8e90))throw _0x4a8e90['error'];_0x5f4ac2=_0x4a8e90[_0x108d74(0xe5)],_0x162860=_0x4a8e90['c2Prime'];}else _0x5f4ac2=_0x37fb27,_0x162860=[];let _0x24ad95=this[_0x108d74(0x2a0)];_0x5f4ac2['forEach'](_0x529c30=>{var _0x3270f7=_0x108d74;let _0x5bd436;if(_0x24ad95['length']){const _0x4f7413=this[_0x3270f7(0x1c1)][_0x3270f7(0x129)](_0x529c30,_0x24ad95);if(!_0x34c343(_0x4f7413))throw _0x4f7413['error'];_0x5bd436=_0x4f7413[_0x3270f7(0xe5)],_0x24ad95=_0x4f7413['m2Prime'];}else _0x5bd436=_0x529c30;this[_0x3270f7(0x38e)](_0x5bd436);}),this[_0x108d74(0x35e)]&&this[_0x108d74(0x219)](),this[_0x108d74(0xda)]&&_0x162860[_0x108d74(0x2e2)]&&(_0x162860[0x0]['baseRev']=this['_getCurrentRevision']());let _0x30ba8d;if(this[_0x108d74(0xda)]&&_0x24ad95['length']!==0x0)_0x30ba8d=this[_0x108d74(0x327)]['createInstance'](oe,this['unitID'],this['type'],_0x162860[0x0],_0x24ad95,this[_0x108d74(0xd7)],void 0x0);else{if(this[_0x108d74(0xda)]&&_0x24ad95[_0x108d74(0x2e2)]===0x0)_0x162860[0x0][_0x108d74(0x177)]=this[_0x108d74(0x120)](),_0x30ba8d=this[_0x108d74(0x327)]['createInstance'](le,this[_0x108d74(0x10f)],this[_0x108d74(0x17e)],_0x162860[0x0],this[_0x108d74(0xd7)]);else{if(_0x24ad95[_0x108d74(0x2e2)]!==0x0){const _0x551f0b=this[_0x108d74(0x327)][_0x108d74(0x22a)](ae,this[_0x108d74(0x10f)],this[_0x108d74(0x17e)],_0x24ad95,this['_handler']);_0x551f0b[_0x108d74(0x330)](),_0x30ba8d=_0x551f0b;}else _0x30ba8d=this[_0x108d74(0x327)][_0x108d74(0x22a)](Ne,this[_0x108d74(0x10f)],this[_0x108d74(0x17e)],this['_handler']);}}return _0x30ba8d[_0x108d74(0x147)](),_0x30ba8d;}catch(_0x37e1a5){return this[_0x108d74(0xc3)][_0x108d74(0xee)](_0x108d74(0x15d),_0x108d74(0x12a),_0x37e1a5),this[_0x108d74(0x327)]['createInstance'](ue,this[_0x108d74(0x10f)],this[_0x108d74(0x17e)],this[_0x108d74(0xda)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x32e2f2(0x17a)](){var _0x550964=_0x32e2f2;throw new Error(_0x550964(0x335));}[_0x32e2f2(0x193)](_0xa7211c){var _0x1c7c3a=_0x32e2f2;return this[_0x1c7c3a(0x2a0)][_0x1c7c3a(0x21f)](_0xa7211c),this;}[_0x32e2f2(0x38a)](_0x2d3be5){var _0x345db1=_0x32e2f2;return this[_0x345db1(0x2eb)][_0x345db1(0x21f)](_0x2d3be5),this;}[_0x32e2f2(0x25f)](_0x27ed01){var _0x170907=_0x32e2f2;if(this[_0x170907(0xda)])return this[_0x170907(0x35e)]=this['_awaitingChangeset'],this[_0x170907(0xda)]=null,this;throw new Error(_0x170907(0xc7));}[_0x32e2f2(0x2a8)](_0x5db8b0){var _0x299d22=_0x32e2f2;return this[_0x299d22(0x1ba)](!!(_0x5db8b0!=null&&_0x5db8b0[_0x299d22(0x13b)]));}['onRemoteRetry'](){return this;}[_0x32e2f2(0x369)](){var _0xa6fd34=_0x32e2f2;return this[_0xa6fd34(0x327)][_0xa6fd34(0x22a)](de,this[_0xa6fd34(0x10f)],this[_0xa6fd34(0x17e)],this[_0xa6fd34(0xda)],this['_pendingMutations'],this[_0xa6fd34(0xd7)]);}[_0x32e2f2(0x357)](){return this;}[_0x32e2f2(0x1ba)](_0x48d638){var _0x41b7df=_0x32e2f2;return this['_injector'][_0x41b7df(0x22a)](ue,this[_0x41b7df(0x10f)],this[_0x41b7df(0x17e)],this[_0x41b7df(0xda)],this['_pendingMutations'],this['_handler'],_0x48d638);}};ee=Te([P(0x7,_0xf49784(_0x3f2818)),P(0x8,_0xf49784(_0x4f92e0)),P(0x9,_0x21b260),P(0xa,_0x10f8e6),P(0xb,_0x355d2f),P(0xc,_0x1ec7ed),P(0xd,_0x263250(J))],ee);function yi(_0x18c6cb,_0x2dd78b,_0xc2302d,_0x39fb26,_0x52f817,_0x18ba75){var _0x1869fa=_0x32e2f2;return _0x39fb26&&_0x52f817['length']?_0x18c6cb['createInstance'](oe,_0x2dd78b,_0xc2302d,_0x39fb26,_0x52f817,_0x18ba75,void 0x0):_0x39fb26?_0x18c6cb[_0x1869fa(0x22a)](le,_0x2dd78b,_0xc2302d,_0x39fb26,_0x18ba75):_0x52f817['length']?_0x18c6cb[_0x1869fa(0x22a)](ae,_0x2dd78b,_0xc2302d,_0x52f817,_0x18ba75):_0x18c6cb[_0x1869fa(0x22a)](Ne,_0x2dd78b,_0xc2302d,_0x18ba75);}var as=Object[_0x32e2f2(0x266)],Lt=(_0x98cab8,_0x5a8b62,_0xa228e5,_0x1b45dc)=>{for(var _0x57a9b1=_0x1b45dc>0x1?void 0x0:_0x1b45dc?as(_0x5a8b62,_0xa228e5):_0x5a8b62,_0x34bf3d=_0x98cab8['length']-0x1,_0xb45b41;_0x34bf3d>=0x0;_0x34bf3d--)(_0xb45b41=_0x98cab8[_0x34bf3d])&&(_0x57a9b1=_0xb45b41(_0x57a9b1)||_0x57a9b1);return _0x57a9b1;},H=(_0x34ebbf,_0x1457ed)=>(_0x3401f3,_0x4925e1)=>_0x1457ed(_0x3401f3,_0x4925e1,_0x34ebbf);let nt=class extends _0x1005e4{constructor(_0x3efe31,_0x3ae987,_0x4ffbb4,_0x1bf90a,_0x3ef78e,_0x301af4,_0x2f47c0,_0x4ca752,_0x41a905,_0x341b9a,_0x2bf13a,_0x508a97,_0x2677d4){var _0x2c886c=_0x32e2f2;super(),N(this,_0x2c886c(0x374),new _0x17ac9d(null)),N(this,'state$',this[_0x2c886c(0x374)][_0x2c886c(0x2ed)]()),N(this,'_state'),N(this,_0x2c886c(0x2f4),!0x1),N(this,_0x2c886c(0x1c0),''),N(this,'_changesetReqId',0x0),N(this,_0x2c886c(0x175),this['state$'][_0x2c886c(0x173)](_0xafc756(_0x1455e1=>_0x1455e1?_0x1455e1[_0x2c886c(0x25b)]:bi['OFFLINE']),_0x50c3a4(0x1))),N(this,_0x2c886c(0x95),!0x1),N(this,_0x2c886c(0x186),[]),(this[_0x2c886c(0x10f)]=_0x3efe31,this[_0x2c886c(0x2cf)]=_0x3ae987,this['_type']=_0x4ffbb4,this[_0x2c886c(0x327)]=_0x1bf90a,this[_0x2c886c(0x16a)]=_0x3ef78e,this['_localeService']=_0x301af4,this['_revisionService']=_0x2f47c0,this[_0x2c886c(0x1c6)]=_0x4ca752,this[_0x2c886c(0xc3)]=_0x41a905,this[_0x2c886c(0xdd)]=_0x341b9a,this[_0x2c886c(0x1b8)]=_0x2bf13a,this[_0x2c886c(0x91)]=_0x508a97,this[_0x2c886c(0x36d)]=_0x2677d4);}get[_0x32e2f2(0x2dd)](){var _0x3fd409=_0x32e2f2;return this[_0x3fd409(0x2e4)];}async[_0x32e2f2(0xbc)](){var _0x3f13ff=_0x32e2f2;if(this[_0x3f13ff(0x2dd)])throw new Error(_0x3f13ff(0x210));await this[_0x3f13ff(0x254)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x479b0d(()=>{var _0x18e47a=_0x36d8;this['_collaborationPaused']=!0x1,this[_0x18e47a(0x296)]();});}[_0x32e2f2(0x1ec)](_0x466146){var _0x453cd2=_0x32e2f2;this[_0x453cd2(0x293)](_0x466146);}[_0x32e2f2(0xb7)](_0x8a8bf0){var _0x1d3002=_0x32e2f2;this[_0x1d3002(0x2e4)]=_0x8a8bf0,this[_0x1d3002(0x374)][_0x1d3002(0x364)](_0x8a8bf0);}async[_0x32e2f2(0x254)](){var _0x524a89=_0x32e2f2,_0x4c5a6a;this['_updateState'](await this[_0x524a89(0x1d8)]()),this[_0x524a89(0x91)]&&((_0x4c5a6a=this[_0x524a89(0x91)])==null||_0x4c5a6a[_0x524a89(0xb1)](this[_0x524a89(0x10f)]),this['disposeWithMe'](this[_0x524a89(0x91)][_0x524a89(0xe6)](this[_0x524a89(0x10f)])[_0x524a89(0x115)](_0x38e81d=>{var _0x468973=_0x524a89;this[_0x468973(0xc3)][_0x468973(0x313)](_0x468973(0x7c),_0x468973(0xfb),_0x38e81d),_0x38e81d===Ci[_0x468973(0x204)]?(this[_0x468973(0x1c6)][_0x468973(0x1be)]({'id':re[_0x468973(0x12e)]}),this[_0x468973(0x1b8)][_0x468973(0x280)](new _0x4aa924(this[_0x468973(0x10f)])['id'],!0x1),this[_0x468973(0x1b8)][_0x468973(0x1bb)](!0x1)):(this[_0x468973(0x1b8)]['updatePermissionPoint'](new _0x4aa924(this[_0x468973(0x10f)])['id'],!0x0),this[_0x468973(0x1b8)][_0x468973(0x1bb)](!0x0));})));let _0x51013f=!0x1;return this[_0x524a89(0x172)](this[_0x524a89(0x2cf)][_0x524a89(0x16b)][_0x524a89(0x115)](_0x1de6e2=>{var _0x30411d=_0x524a89;_0x1de6e2===Ee[_0x30411d(0x9c)]?this[_0x30411d(0x378)](_0x51013f):_0x1de6e2===Ee['OFFLINE']&&(_0x51013f=!0x0,this[_0x30411d(0x2d9)]());})),this['disposeWithMe'](this[_0x524a89(0x2cf)][_0x524a89(0x90)][_0x524a89(0x115)](_0x4ecac7=>{var _0x2a6da2=_0x524a89;try{switch(_0x4ecac7[_0x2a6da2(0x100)]){case _0x5dd443[_0x2a6da2(0x1e1)]:{this[_0x2a6da2(0x237)](_0x2327a5(_0x4ecac7[_0x2a6da2(0x113)]));break;}case _0x5dd443['CHANGESET_ACK']:{this[_0x2a6da2(0x1fc)](_0x4ecac7[_0x2a6da2(0x113)]);break;}case _0x5dd443[_0x2a6da2(0x292)]:{this[_0x2a6da2(0x205)]();break;}case _0x5dd443[_0x2a6da2(0x227)]:{this[_0x2a6da2(0x11e)](_0x4ecac7['data']);break;}case _0x5dd443[_0x2a6da2(0x185)]:{this[_0x2a6da2(0x217)](_0x4ecac7[_0x2a6da2(0x113)][_0x2a6da2(0xf8)][_0x2a6da2(0x141)](_0x5e9de2=>_0x2327a5(_0x5e9de2)));break;}case _0x5dd443[_0x2a6da2(0x80)]:{this[_0x2a6da2(0x205)]({'isPermissionRej':!0x0});break;}case _0x5dd443[_0x2a6da2(0x2ea)]:break;}}catch(_0x33e982){throw console[_0x2a6da2(0xee)](_0x2a6da2(0xc9),_0x33e982),_0x33e982;}})),this[_0x524a89(0x2e4)];}[_0x32e2f2(0x128)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x4a57ad=_0x32e2f2;if(this['_transitionLocked'])throw new Error(_0x4a57ad(0x36f));this[_0x4a57ad(0x95)]=!0x0;}[_0x32e2f2(0x293)](_0x37f640){var _0x1e6643=_0x32e2f2;this[_0x1e6643(0x133)](),this[_0x1e6643(0xb7)](this['_state'][_0x1e6643(0x193)](_0x37f640)),this[_0x1e6643(0x128)]();}[_0x32e2f2(0x237)](_0x22ea5f){var _0x4a21bf=_0x32e2f2;if(!(_0x22ea5f[_0x4a21bf(0x2fb)]<=this[_0x4a21bf(0x311)][_0x4a21bf(0x1bc)](this[_0x4a21bf(0x10f)]))){if(this[_0x4a21bf(0x2f4)]){this['_remoteChangesetQueue'][_0x4a21bf(0x21f)](_0x22ea5f);return;}this[_0x4a21bf(0x176)](_0x22ea5f);}}[_0x32e2f2(0x296)](){var _0x5478b0=_0x32e2f2;this['_remoteChangesetQueue']['forEach'](_0x1bba81=>this[_0x5478b0(0x176)](_0x1bba81)),this['_remoteChangesetQueue']=[];}[_0x32e2f2(0x176)](_0x11edc0){var _0x7baa7e=_0x32e2f2;const _0x51d6c0=this['_compressMutationService'][_0x7baa7e(0x15c)]['fetchThroughInterceptors'](this[_0x7baa7e(0x16a)][_0x7baa7e(0x15c)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x11edc0['mutations'],null)||_0x11edc0[_0x7baa7e(0x166)],_0x580995={..._0x11edc0,'mutations':_0x51d6c0};this['_lockTransition'](),this[_0x7baa7e(0xb7)](this[_0x7baa7e(0x2e4)][_0x7baa7e(0x38a)](_0x580995)),this[_0x7baa7e(0x128)]();}[_0x32e2f2(0x1fc)](_0x625a9d){var _0x3f65c8=_0x32e2f2;this[_0x3f65c8(0x133)](),this[_0x3f65c8(0xb7)](this[_0x3f65c8(0x2e4)][_0x3f65c8(0x25f)](_0x625a9d)),this['_unlockTransition']();}['_onRemoteRejected'](_0x242597){var _0xae4646=_0x32e2f2;this[_0xae4646(0x133)](),this[_0xae4646(0xb7)](this[_0xae4646(0x2e4)][_0xae4646(0x2a8)](_0x242597)),this[_0xae4646(0x128)]();}[_0x32e2f2(0x11e)](_0x4252e4){var _0x1638db=_0x32e2f2;this['_lockTransition'](),this[_0x1638db(0xb7)](this[_0x1638db(0x2e4)][_0x1638db(0x31b)](_0x4252e4)),this[_0x1638db(0x128)]();}[_0x32e2f2(0x217)](_0x34a0d3){var _0x3bd659=_0x32e2f2;if(!(this[_0x3bd659(0x2e4)]instanceof ee))throw new TypeError(_0x3bd659(0x18b));const _0x38a004=_0x34a0d3['map'](_0x5495e2=>{var _0x2b2f5f=_0x3bd659;const _0x1feb15=this[_0x2b2f5f(0x16a)][_0x2b2f5f(0x15c)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2b2f5f(0x15c)][_0x2b2f5f(0x38c)]()[_0x2b2f5f(0x287)])(_0x5495e2[_0x2b2f5f(0x166)],null)||_0x5495e2[_0x2b2f5f(0x166)];return{..._0x5495e2,'mutations':_0x1feb15};});this[_0x3bd659(0x133)](),this[_0x3bd659(0xb7)](this[_0x3bd659(0x2e4)][_0x3bd659(0x2a6)](_0x38a004)),this['_unlockTransition']();}[_0x32e2f2(0x2d9)](){var _0x5f519b=_0x32e2f2;this[_0x5f519b(0x133)](),this[_0x5f519b(0xb7)](this[_0x5f519b(0x2e4)][_0x5f519b(0x369)]()),this[_0x5f519b(0x128)]();}[_0x32e2f2(0x378)](_0xd76d04=!0x1){var _0x3f46c8=_0x32e2f2;this['_lockTransition'](),this['_updateState'](this['_state'][_0x3f46c8(0x357)]()),this['_unlockTransition']();const _0x468dcf=this['_state'];_0xd76d04&&_0x468dcf instanceof Ne&&(this['_lockTransition'](),this[_0x3f46c8(0xb7)](_0x468dcf[_0x3f46c8(0x358)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x325202=>{var _0x5a3975=_0x36d8;this[_0x5a3975(0x2cf)][_0x5a3975(0x16b)][_0x5a3975(0x173)](_0x2cc397(0x1))[_0x5a3975(0x115)](async _0x1eecf0=>{var _0xcb991b=_0x5a3975;_0x325202(await this[_0xcb991b(0x362)](_0x1eecf0===Ee[_0xcb991b(0x9c)]));});});}[_0x32e2f2(0x320)](){var _0x228f46=_0x32e2f2;const _0x7a74f1=this[_0x228f46(0x10f)];return{'onStateChange':(_0xcc5aa6,_0xf82d3f)=>{var _0x39ba5a=_0x228f46;if(_0xcc5aa6!==this[_0x39ba5a(0x2e4)])throw new Error(_0x39ba5a(0x1a2)+_0xcc5aa6[_0x39ba5a(0x25b)]+_0x39ba5a(0x392)+_0xf82d3f[_0x39ba5a(0x25b)]+'\x0aCurrent:\x20'+this[_0x39ba5a(0x2e4)]['status']);this[_0x39ba5a(0xb7)](_0xf82d3f);},'onSendChangeset':_0x410996=>{var _0x3038ff=_0x228f46;_0x410996[_0x3038ff(0x183)]||(_0x410996[_0x3038ff(0x183)]=this[_0x3038ff(0x1c0)],_0x410996[_0x3038ff(0x294)]=++this[_0x3038ff(0x1a3)]);const _0x5e7847={'eventID':_0x5dd443[_0x3038ff(0x297)],'data':{'unitID':_0x410996[_0x3038ff(0x10f)],'unitType':this[_0x3038ff(0x342)],'changeset':_0x410996,'memberID':this[_0x3038ff(0x2cf)]['getMemberID']()}};this[_0x3038ff(0x2cf)][_0x3038ff(0x1cb)](_0x5e7847,this[_0x3038ff(0x10f)]);},'onMissingChangesets':({from:_0x330753,to:_0x2f8cc9})=>{var _0x5274c5=_0x228f46;this['_logService']['debug'](_0x5274c5(0x7c),_0x5274c5(0x331)+_0x330753+'\x20to\x20'+_0x2f8cc9);const _0x486479={'eventID':_0x5dd443[_0x5274c5(0x29d)],'data':{'unitID':_0x7a74f1,'unitType':this[_0x5274c5(0x342)],'from':_0x330753,'to':_0x2f8cc9}};this[_0x5274c5(0x2cf)][_0x5274c5(0x1cb)](_0x486479,this[_0x5274c5(0x10f)]);}};}async[_0x32e2f2(0x362)](_0xe05d0d){var _0x1a8bd2=_0x32e2f2,_0x315e84,_0x263362,_0x29c2b9;const _0x1a21a8=await((_0x315e84=this['_localCacheService'])==null?void 0x0:_0x315e84[_0x1a8bd2(0x222)](this[_0x1a8bd2(0x10f)])),_0x1dc559=(_0x263362=_0x1a21a8==null?void 0x0:_0x1a21a8[_0x1a8bd2(0x166)])!=null?_0x263362:[],_0x1dc4ed=(_0x29c2b9=_0x1a21a8==null?void 0x0:_0x1a21a8[_0x1a8bd2(0xf9)])!=null?_0x29c2b9:null,_0xbe14bf=!!(_0x1dc4ed!=null&&_0x1dc4ed[_0x1a8bd2(0x183)])&&!!(_0x1dc4ed!=null&&_0x1dc4ed[_0x1a8bd2(0x294)]);this[_0x1a8bd2(0x1c0)]=_0xbe14bf?_0x1dc4ed['sid']:Zn(),this[_0x1a8bd2(0x1a3)]=_0xbe14bf?_0x1dc4ed[_0x1a8bd2(0x294)]:0x0;const _0x137ea2=this[_0x1a8bd2(0x10f)];try{this[_0x1a8bd2(0x2c3)](_0x1dc4ed,_0x1dc559);}catch(_0x53b184){this['_logService']['error'](_0x53b184);}const _0x236779=this[_0x1a8bd2(0x320)]();if(_0xe05d0d){const _0x56f497=yi(this[_0x1a8bd2(0x327)],_0x137ea2,this['_type'],_0x1dc4ed,_0x1dc559,_0x236779);return _0x56f497 instanceof ae?_0x56f497[_0x1a8bd2(0x330)]():(_0x56f497 instanceof oe||_0x56f497 instanceof le)&&_0x56f497[_0x1a8bd2(0x17a)](),_0x56f497;}return this[_0x1a8bd2(0x327)][_0x1a8bd2(0x22a)](de,_0x137ea2,this[_0x1a8bd2(0x342)],_0x1dc4ed,_0x1dc559,_0x236779);}[_0x32e2f2(0x2c3)](_0x58cc11,_0x1d83d6){var _0x1a6d50=_0x32e2f2,_0x2d2cbf,_0x5ae7c4;const _0x38f50a=this[_0x1a6d50(0x16a)][_0x1a6d50(0x15c)]['fetchThroughInterceptors'](this[_0x1a6d50(0x16a)][_0x1a6d50(0x15c)][_0x1a6d50(0x38c)]()['COMPRESS_MUTATION_APPLY']);(_0x2d2cbf=_0x38f50a((_0x58cc11==null?void 0x0:_0x58cc11[_0x1a6d50(0x166)])||[],null))==null||_0x2d2cbf[_0x1a6d50(0x295)](_0x84d7d3=>this[_0x1a6d50(0xdd)]['executeCommand'](_0x84d7d3['id'],_0x84d7d3[_0x1a6d50(0x389)])),(_0x5ae7c4=_0x38f50a(_0x1d83d6||[],null))==null||_0x5ae7c4['forEach'](_0x2b29f1=>this['_commandService'][_0x1a6d50(0x111)](_0x2b29f1['id'],_0x2b29f1[_0x1a6d50(0x389)]));}};nt=Lt([H(0x3,_0xf49784(_0x3f2818)),H(0x4,_0xf49784(_0x3561da)),H(0x5,_0xf49784(_0x4d5bfe)),H(0x6,_0xf49784(_0x4f92e0)),H(0x7,_0xf49784(pe)),H(0x8,_0x21b260),H(0x9,_0x10f8e6),H(0xa,_0x2d9700),H(0xb,_0x263250(ht)),H(0xc,_0x263250(J))],nt);let It=class extends nt{constructor(_0xffdecf,_0x1428eb,_0x334483,_0x4b4aaa,_0x2fcc81,_0x418aee,_0x60e498,_0x3e7f81,_0x5a09bc,_0x41552b,_0x3439fe,_0x5a0d7c,_0x2a4a59){var _0x21db8a=_0x32e2f2;super(_0xffdecf,_0x334483,_0x1428eb,_0x4b4aaa,_0x2fcc81,_0x418aee,_0x60e498,_0x3e7f81,_0x5a09bc,_0x41552b,_0x3439fe,_0x5a0d7c,_0x2a4a59),N(this,_0x21db8a(0x251),null),(this[_0x21db8a(0x10f)]=_0xffdecf,this[_0x21db8a(0x17e)]=_0x1428eb);}[_0x32e2f2(0x279)](_0x18beb1){this['_handlerCallback']=_0x18beb1;}[_0x32e2f2(0x1e0)](){var _0x413454=_0x32e2f2;this[_0x413454(0x251)]=null,super[_0x413454(0x1e0)]();}['_createHandler'](){var _0x2f6321=_0x32e2f2;const _0x59e799=super[_0x2f6321(0x320)]();return _0x59e799[_0x2f6321(0x215)]=_0x141631=>{var _0x5572c8=_0x2f6321,_0x3f65fb,_0x38b8a3;return(_0x38b8a3=(_0x3f65fb=this['_handlerCallback'])==null?void 0x0:_0x3f65fb[_0x5572c8(0x215)])==null?void 0x0:_0x38b8a3[_0x5572c8(0x321)](_0x3f65fb,_0x141631);},_0x59e799[_0x2f6321(0x12f)]=_0x538268=>{var _0x1d0182=_0x2f6321,_0x4bca5a,_0x94df09;return(_0x94df09=(_0x4bca5a=this[_0x1d0182(0x251)])==null?void 0x0:_0x4bca5a[_0x1d0182(0x12f)])==null?void 0x0:_0x94df09[_0x1d0182(0x321)](_0x4bca5a,_0x538268);},_0x59e799[_0x2f6321(0x1b9)]=_0x370fca=>{var _0x5b5e78=_0x2f6321,_0x496c23,_0x134bf9;return(_0x134bf9=(_0x496c23=this[_0x5b5e78(0x251)])==null?void 0x0:_0x496c23[_0x5b5e78(0x1b9)])==null?void 0x0:_0x134bf9[_0x5b5e78(0x321)](_0x496c23,_0x370fca);},_0x59e799[_0x2f6321(0x329)]=_0x2f9c73=>{var _0x33826b=_0x2f6321,_0x9b6510,_0x37d367;return(_0x37d367=(_0x9b6510=this[_0x33826b(0x251)])==null?void 0x0:_0x9b6510[_0x33826b(0x329)])==null?void 0x0:_0x37d367[_0x33826b(0x321)](_0x9b6510,_0x2f9c73);},_0x59e799['onTransformRemoteChangesetByIMECache']=_0x402d02=>{var _0x1f8838=_0x2f6321,_0xbcffb6,_0x2abfb6,_0x48fc14;if(!((_0xbcffb6=this[_0x1f8838(0x251)])!=null&&_0xbcffb6['onTransformRemoteChangesetByIMECache']))throw new Error(_0x1f8838(0x360));return(_0x48fc14=(_0x2abfb6=this['_handlerCallback'])==null?void 0x0:_0x2abfb6[_0x1f8838(0x1a7)])==null?void 0x0:_0x48fc14[_0x1f8838(0x321)](_0x2abfb6,_0x402d02);},_0x59e799[_0x2f6321(0x239)]=_0x119e8b=>{var _0x25482d=_0x2f6321,_0xdb55bf,_0x1aa08b,_0xc4ebc2;if(!((_0xdb55bf=this[_0x25482d(0x251)])!=null&&_0xdb55bf[_0x25482d(0x239)]))throw new Error(_0x25482d(0x1fd));return(_0xc4ebc2=(_0x1aa08b=this[_0x25482d(0x251)])==null?void 0x0:_0x1aa08b[_0x25482d(0x239)])==null?void 0x0:_0xc4ebc2[_0x25482d(0x321)](_0x1aa08b,_0x119e8b);},_0x59e799;}async[_0x32e2f2(0x254)](){var _0x458aac=_0x32e2f2;const _0x457296=await super['_init']();return this[_0x458aac(0x172)](this[_0x458aac(0xdd)][_0x458aac(0x226)]((_0x286f24,_0x36529f)=>{var _0x8e52b8=_0x458aac;if(_0x286f24['type']!==_0x338b90[_0x8e52b8(0x343)]||_0x36529f!=null&&_0x36529f[_0x8e52b8(0x38d)]||_0x36529f!=null&&_0x36529f[_0x8e52b8(0x2db)]||_0x286f24['id']===_0x12068d['id'])return;const _0x37cec3=_0x286f24[_0x8e52b8(0x389)];if((_0x37cec3==null?void 0x0:_0x37cec3[_0x8e52b8(0x28f)])!==this[_0x8e52b8(0x10f)])return;const _0x10e7a4=_0x286f24,_0x453e41=this[_0x8e52b8(0x16a)][_0x8e52b8(0x15c)][_0x8e52b8(0x242)](this[_0x8e52b8(0x16a)][_0x8e52b8(0x15c)]['getInterceptPoints']()[_0x8e52b8(0x1fb)])([_0x10e7a4],null)||[_0x10e7a4];this['_onLocalMutation'](_0x453e41[0x0]);})),_0x457296;}};It=Lt([H(0x3,_0xf49784(_0x3f2818)),H(0x4,_0xf49784(_0x3561da)),H(0x5,_0xf49784(_0x4d5bfe)),H(0x6,_0xf49784(_0x4f92e0)),H(0x7,_0xf49784(pe)),H(0x8,_0x21b260),H(0x9,_0x10f8e6),H(0xa,_0x2d9700),H(0xb,_0x263250(ht)),H(0xc,_0x263250(J))],It);let Tt=class extends nt{constructor(_0x59445e,_0x49e7f5,_0x218162,_0x14a43f,_0x1a295d,_0x9377fa,_0x57ebc8,_0x13fd67,_0x510fa7,_0x3ddbdc,_0x8e75dc,_0x185ff6,_0x56289d,_0x543ee8){var _0x53962e=_0x32e2f2;super(_0x59445e,_0x218162,_0x49e7f5,_0x14a43f,_0x1a295d,_0x9377fa,_0x57ebc8,_0x510fa7,_0x3ddbdc,_0x8e75dc,_0x185ff6,_0x56289d,_0x543ee8),this[_0x53962e(0x10f)]=_0x59445e,this['type']=_0x49e7f5,this['_sheetTransformSelectionsService']=_0x13fd67;}[_0x32e2f2(0x320)](){var _0x44c54e=_0x32e2f2;const _0x237787=super['_createHandler']();return _0x237787[_0x44c54e(0x1b9)]=_0x544fc7=>this[_0x44c54e(0x23c)][_0x44c54e(0x8a)](_0x544fc7),_0x237787;}async['_init'](){var _0x1ab752=_0x32e2f2;const _0x5f5263=await super[_0x1ab752(0x254)]();return this[_0x1ab752(0x172)](this[_0x1ab752(0xdd)]['onCommandExecuted']((_0x46cd35,_0x2b9202)=>{var _0xf048c6=_0x1ab752;if(_0x46cd35[_0xf048c6(0x17e)]!==_0x338b90['MUTATION']||_0x2b9202!=null&&_0x2b9202[_0xf048c6(0x38d)]||_0x2b9202!=null&&_0x2b9202[_0xf048c6(0x2db)])return;const _0x1e8417=_0x46cd35[_0xf048c6(0x389)];if((_0x1e8417==null?void 0x0:_0x1e8417[_0xf048c6(0x28f)])!==this[_0xf048c6(0x10f)])return;const _0x2fc5fb=_0x46cd35,_0x19f6b8=this['_compressMutationService'][_0xf048c6(0x15c)][_0xf048c6(0x242)](this[_0xf048c6(0x16a)][_0xf048c6(0x15c)][_0xf048c6(0x38c)]()[_0xf048c6(0x1fb)])([_0x2fc5fb],null)||[_0x2fc5fb];this[_0xf048c6(0x293)](_0x19f6b8[0x0]);})),_0x5f5263;}};Tt=Lt([H(0x3,_0xf49784(_0x3f2818)),H(0x4,_0xf49784(_0x3561da)),H(0x5,_0xf49784(_0x4d5bfe)),H(0x6,_0xf49784(_0x4f92e0)),H(0x7,_0xf49784(it)),H(0x8,_0xf49784(pe)),H(0x9,_0x21b260),H(0xa,_0x10f8e6),H(0xb,_0x2d9700),H(0xc,_0x263250(ht)),H(0xd,_0x263250(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x5484a7,_0x767552,_0x5aa83c,_0x563208)=>{var _0x2e39fc=_0x32e2f2;for(var _0x468709=_0x563208>0x1?void 0x0:_0x563208?os(_0x767552,_0x5aa83c):_0x767552,_0x4df228=_0x5484a7[_0x2e39fc(0x2e2)]-0x1,_0x1e4d5a;_0x4df228>=0x0;_0x4df228--)(_0x1e4d5a=_0x5484a7[_0x4df228])&&(_0x468709=_0x1e4d5a(_0x468709)||_0x468709);return _0x468709;},ft=(_0x5727c4,_0x25b38b)=>(_0x21c77b,_0x21ca2e)=>_0x25b38b(_0x21c77b,_0x21ca2e,_0x5727c4);let st=class extends _0x1005e4{constructor(_0x36c946,_0x5e348d,_0x24aac){var _0x2c8b2b=_0x32e2f2;super(),N(this,'_entities',new Map()),N(this,_0x2c8b2b(0x21a),new _0x2fe298()),N(this,_0x2c8b2b(0x7b),this[_0x2c8b2b(0x21a)][_0x2c8b2b(0x2ed)]()),(this[_0x2c8b2b(0x327)]=_0x36c946,this[_0x2c8b2b(0x1f6)]=_0x5e348d,this[_0x2c8b2b(0x2d5)]=_0x24aac,this['_init']());}['dispose'](){var _0x3371ce=_0x32e2f2;super[_0x3371ce(0x1e0)](),this[_0x3371ce(0x27e)]['forEach'](_0x266dbf=>_0x266dbf[_0x3371ce(0x1e0)]()),this['_entities'][_0x3371ce(0x24f)]();}[_0x32e2f2(0x22b)](_0x2cfeb9){var _0x480bf1=_0x32e2f2,_0x2dd194;return(_0x2dd194=this[_0x480bf1(0x27e)][_0x480bf1(0x281)](_0x2cfeb9))!=null?_0x2dd194:null;}['getCollabEntity$'](_0x1ddc16){var _0x1f2189=_0x32e2f2;const _0x50b83e=this['getCollabEntity'](_0x1ddc16);return _0x50b83e?_0x2615a9(_0x50b83e):this[_0x1f2189(0x21a)]['pipe'](_0x347c08(_0x12e3a7=>_0x12e3a7[_0x1f2189(0x10f)]===_0x1ddc16));}[_0x32e2f2(0x2ae)](_0x3b856e){var _0x5722e7=_0x32e2f2;return _0x1706ec(this[_0x5722e7(0x123)](_0x3b856e)[_0x5722e7(0x173)](_0x289343(()=>{})));}[_0x32e2f2(0x254)](){var _0x21d75c=_0x32e2f2;this['_univerInstanceService'][_0x21d75c(0x15b)](_0x271272[_0x21d75c(0x118)])['pipe'](_0x5522e4(this[_0x21d75c(0x187)]),_0x542f82(0x10))[_0x21d75c(0x115)](async _0x29ca5a=>{var _0x414834=_0x21d75c;const _0x133c2c=_0x29ca5a[_0x414834(0x22e)](),_0x1e850e=await this['_startCollaboration'](_0x133c2c,Q['UNIVER_SHEET']);this[_0x414834(0x27e)][_0x414834(0x333)](_0x133c2c,_0x1e850e);}),this[_0x21d75c(0x2d5)][_0x21d75c(0x15b)](_0x271272['UNIVER_DOC'])[_0x21d75c(0x173)](_0x5522e4(this['dispose$']),_0x542f82(0x10))['pipe'](_0x347c08(_0x44dbf=>!_0x44dbf[_0x21d75c(0x22e)]()[_0x21d75c(0xba)]('__')))[_0x21d75c(0x115)](async _0x497594=>{var _0x5d2ca5=_0x21d75c;const _0x42dac1=_0x497594[_0x5d2ca5(0x22e)](),_0x5974ee=await this[_0x5d2ca5(0x391)](_0x42dac1,Q[_0x5d2ca5(0x1ef)]);this[_0x5d2ca5(0x27e)][_0x5d2ca5(0x333)](_0x42dac1,_0x5974ee);}),_0x308043(this[_0x21d75c(0x2d5)]['getTypeOfUnitDisposed$'](_0x271272['UNIVER_SHEET']),this[_0x21d75c(0x2d5)][_0x21d75c(0x2c6)](_0x271272[_0x21d75c(0x1ef)]))['pipe'](_0x5522e4(this[_0x21d75c(0x187)]))['subscribe'](_0x209bac=>{var _0x1e6388=_0x21d75c;const _0x1bb73c=_0x209bac['getUnitId'](),_0x1a3f32=this['_entities'][_0x1e6388(0x281)](_0x1bb73c);_0x1a3f32&&(_0x1a3f32[_0x1e6388(0x1e0)](),this[_0x1e6388(0x27e)][_0x1e6388(0x203)](_0x1bb73c));});}async['_startCollaboration'](_0x5be329,_0x4d0e0e){var _0x148837=_0x32e2f2;const _0x2b07c8=await this[_0x148837(0x1f6)][_0x148837(0x1b0)](_0x5be329),_0x1d8b5d=this[_0x148837(0x327)][_0x148837(0x22a)](this[_0x148837(0xe3)](_0x4d0e0e),_0x5be329,_0x4d0e0e,_0x2b07c8);return await _0x1d8b5d[_0x148837(0xbc)](),this['_entityInit$'][_0x148837(0x364)](_0x1d8b5d),_0x1d8b5d;}[_0x32e2f2(0xe3)](_0x520d09){var _0x483c18=_0x32e2f2;switch(_0x520d09){case Q[_0x483c18(0x1ef)]:return It;case Q[_0x483c18(0x118)]:return Tt;default:throw new Error(_0x483c18(0x1c4)+_0x520d09);}}};st=cs([ft(0x0,_0xf49784(_0x3f2818)),ft(0x1,_0xf49784(xe)),ft(0x2,_0x457f20)],st);var hs=Object['getOwnPropertyDescriptor'],_s=(_0xef4fe1,_0x3b3464,_0x488be0,_0x3ccdce)=>{var _0x481330=_0x32e2f2;for(var _0x381075=_0x3ccdce>0x1?void 0x0:_0x3ccdce?hs(_0x3b3464,_0x488be0):_0x3b3464,_0x47a3e=_0xef4fe1[_0x481330(0x2e2)]-0x1,_0x845054;_0x47a3e>=0x0;_0x47a3e--)(_0x845054=_0xef4fe1[_0x47a3e])&&(_0x381075=_0x845054(_0x381075)||_0x381075);return _0x381075;},zt=(_0x1efcd0,_0x1fe2f2)=>(_0x23ca43,_0x1385c5)=>_0x1fe2f2(_0x23ca43,_0x1385c5,_0x1efcd0);const ls=_0x32e2f2(0x265),us=_0x32e2f2(0x2d6);let Ct=class extends _0x9c2164{constructor(_0x5016b7,_0x3480d7){var _0x361aae=_0x32e2f2;super(),this['_univerInstanceService']=_0x5016b7,this['_configService']=_0x3480d7,this[_0x361aae(0x254)]();}['_init'](){var _0x2dc663=_0x32e2f2;this[_0x2dc663(0x172)](this[_0x2dc663(0x2d5)][_0x2dc663(0x156)][_0x2dc663(0x115)](()=>{var _0x1d036a=_0x2dc663,_0x38af63;const _0x489101=this[_0x1d036a(0x2d5)][_0x1d036a(0x2fe)]();let _0x34d9de=(_0x38af63=this[_0x1d036a(0xae)][_0x1d036a(0x8c)](ls))!=null?_0x38af63:us;_0x489101 instanceof _0x100352&&(_0x34d9de=_0x489101[_0x1d036a(0x1f0)]),document['title']=_0x34d9de;}));}};Ct=_s([zt(0x0,_0x457f20),zt(0x1,_0x24f34c)],Ct);var ds=Object[_0x32e2f2(0x266)],fs=(_0x20bbaf,_0x4159f8,_0x3bb55d,_0x1659c3)=>{var _0x1f68ac=_0x32e2f2;for(var _0x34a7f7=_0x1659c3>0x1?void 0x0:_0x1659c3?ds(_0x4159f8,_0x3bb55d):_0x4159f8,_0x4ac643=_0x20bbaf[_0x1f68ac(0x2e2)]-0x1,_0x3355a1;_0x4ac643>=0x0;_0x4ac643--)(_0x3355a1=_0x20bbaf[_0x4ac643])&&(_0x34a7f7=_0x3355a1(_0x34a7f7)||_0x34a7f7);return _0x34a7f7;},vt=(_0x16a1d2,_0x451b0b)=>(_0x45aa44,_0x2b5468)=>_0x451b0b(_0x45aa44,_0x2b5468,_0x16a1d2);let rt=class{constructor(_0x45555b,_0x66b2fb,_0x444f42){var _0x2befd1=_0x32e2f2;this[_0x2befd1(0xae)]=_0x45555b,this[_0x2befd1(0x2b9)]=_0x66b2fb,this[_0x2befd1(0x10c)]=_0x444f42,this[_0x2befd1(0xbc)]();}[_0x32e2f2(0xbc)](){var _0x14fee5=_0x32e2f2;this[_0x14fee5(0x2b9)][_0x14fee5(0xfc)]({'priority':0x1,'interceptor':(_0x7dcd00,_0x1c993c)=>_0x1c993c(_0x7dcd00)[_0x14fee5(0x173)](_0x2f5012(async _0x27c8f6=>{var _0x5c310f=_0x14fee5;const _0x493a5e=_0x27c8f6;if(_0x493a5e['status']===0x191){if(typeof window>'u')throw new Error(_0x5c310f(0xc0));if(window[_0x5c310f(0x1bd)](this[_0x5c310f(0x10c)]['t'](_0x5c310f(0x13c)))){const _0x3f76dd=window[_0x5c310f(0x33b)](window['location']['href']);window[_0x5c310f(0x257)][_0x5c310f(0x2aa)]=this[_0x5c310f(0x214)]()+_0x5c310f(0x167)+_0x3f76dd;}}return _0x493a5e;}))});}[_0x32e2f2(0x214)](){var _0x1a28ba=_0x32e2f2,_0x100afe,_0x41ed18;const _0x32ca5a=this[_0x1a28ba(0xae)][_0x1a28ba(0x8c)](Un),_0x32568f=this[_0x1a28ba(0xae)]['getConfig'](q);return(_0x41ed18=(_0x100afe=_0x32568f==null?void 0x0:_0x32568f[_0x1a28ba(0xac)])!=null?_0x100afe:_0x32ca5a)!=null?_0x41ed18:An;}};rt=fs([vt(0x0,_0x24f34c),vt(0x1,_0xf49784(_0x18ded5)),vt(0x2,_0xf49784(_0x4d5bfe))],rt);var vs=Object[_0x32e2f2(0x266)],ps=(_0x28353f,_0x12c8ef,_0x19a2bf,_0xeaaf7d)=>{for(var _0x3c63aa=_0xeaaf7d>0x1?void 0x0:_0xeaaf7d?vs(_0x12c8ef,_0x19a2bf):_0x12c8ef,_0x634aec=_0x28353f['length']-0x1,_0x214157;_0x634aec>=0x0;_0x634aec--)(_0x214157=_0x28353f[_0x634aec])&&(_0x3c63aa=_0x214157(_0x3c63aa)||_0x3c63aa);return _0x3c63aa;},Jt=(_0x7c80fe,_0x55d1b0)=>(_0x4f3016,_0x17a591)=>_0x55d1b0(_0x4f3016,_0x17a591,_0x7c80fe);const Ni=_0x32e2f2(0x2e8),ms='/universer-api/authz';let Rt=class extends _0x9c2164{constructor(_0x476715,_0x4041e9){var _0x34ad50=_0x32e2f2;super(),this[_0x34ad50(0x11c)]=_0x476715,this['_configService']=_0x4041e9,this[_0x34ad50(0x36c)]();}[_0x32e2f2(0x36c)](){var _0x57b259=_0x32e2f2;const _0xf45c6d=this;this['disposeWithMe'](this[_0x57b259(0x11c)][_0x57b259(0xfc)]({'priority':0x3e7,'interceptor':_0x493a89({'isMatch'(_0x5e8462){var _0x48de9c=_0x57b259,_0x36830a;if(_0x5e8462[_0x48de9c(0x8b)]==='POST'&&((_0x36830a=_0x5e8462[_0x48de9c(0x365)])!=null&&_0x36830a[_0x48de9c(0x164)])){const {objectID:_0x5258db,objectType:_0x4f6296}=_0x5e8462[_0x48de9c(0x365)]['body']||{};if(!_0x5258db||_0x4f6296===void 0x0)return!0x1;const _0x417327=_0xf45c6d[_0x48de9c(0x127)]()+'/'+_0x4f6296+_0x48de9c(0xbb)+_0x5258db+_0x48de9c(0x29c);if(_0x5e8462[_0x48de9c(0x84)]===_0x417327)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x37c71f){var _0x4c8ba9;return(_0x4c8ba9=_0x37c71f['requestParams'])==null?void 0x0:_0x4c8ba9['body'];},'mergeParamsToRequest'(_0x41e025,_0x202cd5){var _0x1c8618=_0x57b259;const _0xecb199=_0xf45c6d[_0x1c8618(0x127)]()+_0x1c8618(0x19b),_0x1fad72=_0x41e025[_0x1c8618(0x81)]((_0x3b789c,_0x533161)=>{var _0x29ae56=_0x1c8618;const {unitID:_0x3f5575,objectID:_0x435824,objectType:_0x41e8f0,actions:_0x5c135f}=_0x533161;return _0x3b789c[_0x3f5575]||(_0x3b789c[_0x3f5575]={}),_0x3b789c[_0x3f5575][_0x435824]||(_0x3b789c[_0x3f5575][_0x435824]={'objectID':_0x435824,'objectType':_0x41e8f0,'actions':[]}),_0x3b789c[_0x3f5575][_0x435824][_0x29ae56(0x283)]['push'](..._0x5c135f),_0x3b789c;},{}),_0x5bbb64=[];for(const _0x3b3cc1 in _0x1fad72)for(const _0x4a2dab in _0x1fad72[_0x3b3cc1]){const {actions:_0x1f5f86,objectType:_0x47cc40}=_0x1fad72[_0x3b3cc1][_0x4a2dab],_0x1dec17=[...new Set(_0x1f5f86)];_0x5bbb64[_0x1c8618(0x21f)]({'unitID':_0x3b3cc1,'objectID':_0x4a2dab,'objectType':_0x47cc40,'actions':_0x1dec17});}return new _0x5a611(_0x1c8618(0x140),_0xecb199,{'headers':_0x202cd5[_0x1c8618(0x1d6)],'withCredentials':_0x202cd5[_0x1c8618(0xfa)],'responseType':_0x202cd5[_0x1c8618(0x2c5)],'body':{'requests':_0x5bbb64}});}},{'distributeResult'(_0x1c468f,_0xdd6eb3){var _0x187e24=_0x57b259;const {objectActions:_0x58648d}=_0x1c468f;return _0xdd6eb3[_0x187e24(0x141)](_0x5cbd04=>{var _0x2cf636=_0x187e24;const {unitID:_0x5ca059,objectID:_0x355a96,actions:_0x4e12f6}=_0x5cbd04,_0x1c7029=_0x58648d['find'](_0x36e4d8=>_0x36e4d8[_0x2cf636(0x10f)]===_0x5ca059&&_0x36e4d8[_0x2cf636(0x2a2)]===_0x355a96),_0x20dcf4=_0x4e12f6['map'](_0x1f8cb5=>_0x1c7029==null?void 0x0:_0x1c7029['actions'][_0x2cf636(0xbd)](_0x4bc165=>_0x4bc165[_0x2cf636(0x2b3)]===_0x1f8cb5))[_0x2cf636(0x18f)](_0x25abe8=>!!_0x25abe8);return{'config':_0x5cbd04,'result':{'actions':_0x20dcf4,'error':_0x1c468f[_0x2cf636(0xee)]}};});}})}));}[_0x32e2f2(0x127)](){var _0x1a9f88=_0x32e2f2,_0x34234a,_0x40f2b5;const _0x262e84=this['_configService'][_0x1a9f88(0x8c)](Ni),_0x3ffc1a=this[_0x1a9f88(0xae)][_0x1a9f88(0x8c)](q);return(_0x40f2b5=(_0x34234a=_0x3ffc1a==null?void 0x0:_0x3ffc1a[_0x1a9f88(0x322)])!=null?_0x34234a:_0x262e84)!=null?_0x40f2b5:ms;}async['create'](_0x5811b7){var _0x458a4e=_0x32e2f2;const _0x2cacb5=this[_0x458a4e(0x127)]()+'/'+_0x5811b7[_0x458a4e(0x228)]+'/object';return(await this[_0x458a4e(0x11c)][_0x458a4e(0x282)](_0x2cacb5,{'body':_0x5811b7}))[_0x458a4e(0x164)][_0x458a4e(0x2a2)]||'';}async['list'](_0x126d81){var _0x4bed7a=_0x32e2f2;const _0x58a63f=this[_0x4bed7a(0x127)]()+_0x4bed7a(0x235);return(await this[_0x4bed7a(0x11c)][_0x4bed7a(0x282)](_0x58a63f,{'body':_0x126d81}))[_0x4bed7a(0x164)][_0x4bed7a(0x8e)];}async['update'](_0x191645){var _0x52c158=_0x32e2f2,_0x4ec4ea,_0x32a1e9;const _0x4aa002=this[_0x52c158(0x127)]()+'/'+_0x191645[_0x52c158(0x228)]+_0x52c158(0xbb)+_0x191645[_0x52c158(0x2a2)],_0x4d8355=await this[_0x52c158(0x11c)]['put'](_0x4aa002,{'body':_0x191645});if(((_0x32a1e9=(_0x4ec4ea=_0x4d8355==null?void 0x0:_0x4d8355['body'])==null?void 0x0:_0x4ec4ea[_0x52c158(0xee)])==null?void 0x0:_0x32a1e9[_0x52c158(0x223)])!==0x1)throw new Error(_0x52c158(0x24e));}async['allowed'](_0x52172a){var _0x34995a=_0x32e2f2;const _0x1a65e8=this[_0x34995a(0x127)]()+'/'+_0x52172a[_0x34995a(0x228)]+_0x34995a(0xbb)+_0x52172a[_0x34995a(0x2a2)]+_0x34995a(0x29c);return(await this[_0x34995a(0x11c)][_0x34995a(0x282)](_0x1a65e8,{'body':_0x52172a}))[_0x34995a(0x164)]['actions'];}async['batchAllowed'](_0x2af622){var _0xb15e57=_0x32e2f2;const _0x242a82=this[_0xb15e57(0x127)]()+_0xb15e57(0x19b);return(await this[_0xb15e57(0x11c)][_0xb15e57(0x282)](_0x242a82,{'body':{'requests':_0x2af622}}))[_0xb15e57(0x164)][_0xb15e57(0x34c)];}async[_0x32e2f2(0x1e4)](_0x5c7856){var _0x2b0d49=_0x32e2f2;const _0x20a481=this[_0x2b0d49(0x127)]()+'/'+_0x5c7856[_0x2b0d49(0x228)]+_0x2b0d49(0x33e),_0x794491=await this[_0x2b0d49(0x11c)][_0x2b0d49(0x282)](_0x20a481,{'body':_0x5c7856});return{'roles':_0x794491['body']['roles'],'actions':_0x794491[_0x2b0d49(0x164)][_0x2b0d49(0x283)]};}async[_0x32e2f2(0x354)](_0x378ead){var _0x41037c=_0x32e2f2;const _0x2d138d=this['_getAPIPrefixPath']()+_0x41037c(0x9d);await this[_0x41037c(0x11c)]['delete'](_0x2d138d,{'params':{'collaboratorID':_0x378ead[_0x41037c(0xe4)],'objectID':_0x378ead[_0x41037c(0x2a2)],'unitID':_0x378ead[_0x41037c(0x10f)]}});}async['updateCollaborator'](_0xddc5b7){var _0x45a9fa=_0x32e2f2;const _0x126fa9=this[_0x45a9fa(0x127)]()+_0x45a9fa(0x9d);await this[_0x45a9fa(0x11c)]['patch'](_0x126fa9,{'body':_0xddc5b7});}async[_0x32e2f2(0x14a)](_0x2d4c82){var _0x10f246=_0x32e2f2;const _0x47de65=this['_getAPIPrefixPath']()+_0x10f246(0x9d);await this[_0x10f246(0x11c)][_0x10f246(0x282)](_0x47de65,{'body':_0x2d4c82});}async[_0x32e2f2(0xa7)](_0x218355){var _0x4790ca=_0x32e2f2;const _0x468886=this[_0x4790ca(0x127)]()+_0x4790ca(0x9d);return(await this[_0x4790ca(0x11c)][_0x4790ca(0x281)](_0x468886,{'params':{'objectID':_0x218355[_0x4790ca(0x2a2)],'unitID':_0x218355[_0x4790ca(0x10f)]}}))['body'][_0x4790ca(0x30f)];}async[_0x32e2f2(0x13a)](_0x2e4f80){var _0x369ba2=_0x32e2f2;const _0x154def=this[_0x369ba2(0x127)]()+'/collaborator';await this[_0x369ba2(0x11c)][_0x369ba2(0x2ac)](_0x154def,{'body':_0x2e4f80});}};Rt=ps([Jt(0x0,_0xf49784(_0x18ded5)),Jt(0x1,_0xf49784(_0x24f34c))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x54b5f8){var _0x46aea2=_0x32e2f2;return _0x54b5f8&&_0x54b5f8[_0x46aea2(0xaa)]&&Object[_0x46aea2(0x19a)][_0x46aea2(0xcb)][_0x46aea2(0x321)](_0x54b5f8,_0x46aea2(0x260))?_0x54b5f8[_0x46aea2(0x260)]:_0x54b5f8;}var Ve={'exports':{}};function gs(_0x323af1){var _0x301336=_0x32e2f2;throw new Error(_0x301336(0x2e5)+_0x323af1+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ss=Ge[_0x32e2f2(0x376)],Xt;function ie(){var _0x38a3b9=_0x32e2f2;return Xt||(Xt=0x1,function(_0x53ea10,_0x295160){(function(_0x142ac8,_0x20792c){_0x53ea10['exports']=_0x20792c();}(Ss,function(){var _0xd0d098=_0xd0d098||function(_0xe74558,_0x7d63e2){var _0x5d6e1b=_0x36d8,_0x4f28dd;if(typeof window<'u'&&window[_0x5d6e1b(0x1a6)]&&(_0x4f28dd=window['crypto']),typeof self<'u'&&self[_0x5d6e1b(0x1a6)]&&(_0x4f28dd=self['crypto']),typeof globalThis<'u'&&globalThis[_0x5d6e1b(0x1a6)]&&(_0x4f28dd=globalThis[_0x5d6e1b(0x1a6)]),!_0x4f28dd&&typeof window<'u'&&window[_0x5d6e1b(0x385)]&&(_0x4f28dd=window['msCrypto']),!_0x4f28dd&&typeof pt<'u'&&pt[_0x5d6e1b(0x1a6)]&&(_0x4f28dd=pt['crypto']),!_0x4f28dd&&typeof gs==_0x5d6e1b(0xa9))try{_0x4f28dd=require('crypto');}catch{}var _0x637f1f=function(){var _0x3d1714=_0x5d6e1b;if(_0x4f28dd){if(typeof _0x4f28dd['getRandomValues']==_0x3d1714(0xa9))try{return _0x4f28dd[_0x3d1714(0x22d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4f28dd[_0x3d1714(0x2a4)]==_0x3d1714(0xa9))try{return _0x4f28dd['randomBytes'](0x4)[_0x3d1714(0x1ab)]();}catch{}}throw new Error(_0x3d1714(0x256));},_0x4cd066=Object[_0x5d6e1b(0x117)]||(function(){function _0x19096a(){}return function(_0x1f4600){var _0x22f2e7=_0x36d8,_0x24fc17;return _0x19096a[_0x22f2e7(0x19a)]=_0x1f4600,_0x24fc17=new _0x19096a(),_0x19096a['prototype']=null,_0x24fc17;};}()),_0xe4fee9={},_0x3ae99b=_0xe4fee9[_0x5d6e1b(0x34e)]={},_0x4606ea=_0x3ae99b['Base']=(function(){return{'extend':function(_0x345ac8){var _0x525d0f=_0x36d8,_0x1dbfe1=_0x4cd066(this);return _0x345ac8&&_0x1dbfe1[_0x525d0f(0x1c5)](_0x345ac8),(!_0x1dbfe1[_0x525d0f(0xcb)]('init')||this[_0x525d0f(0xbc)]===_0x1dbfe1[_0x525d0f(0xbc)])&&(_0x1dbfe1[_0x525d0f(0xbc)]=function(){var _0x52206a=_0x525d0f;_0x1dbfe1['$super'][_0x52206a(0xbc)][_0x52206a(0x1c7)](this,arguments);}),_0x1dbfe1[_0x525d0f(0xbc)][_0x525d0f(0x19a)]=_0x1dbfe1,_0x1dbfe1[_0x525d0f(0x1b7)]=this,_0x1dbfe1;},'create':function(){var _0x4d1da8=_0x36d8,_0x101c51=this['extend']();return _0x101c51[_0x4d1da8(0xbc)][_0x4d1da8(0x1c7)](_0x101c51,arguments),_0x101c51;},'init':function(){},'mixIn':function(_0x2c7c15){var _0x6eca88=_0x36d8;for(var _0x45466f in _0x2c7c15)_0x2c7c15['hasOwnProperty'](_0x45466f)&&(this[_0x45466f]=_0x2c7c15[_0x45466f]);_0x2c7c15[_0x6eca88(0xcb)](_0x6eca88(0x110))&&(this[_0x6eca88(0x110)]=_0x2c7c15[_0x6eca88(0x110)]);},'clone':function(){var _0x4401b3=_0x36d8;return this[_0x4401b3(0xbc)][_0x4401b3(0x19a)]['extend'](this);}};}()),_0x3dc1ba=_0x3ae99b[_0x5d6e1b(0x148)]=_0x4606ea['extend']({'init':function(_0x1b1e05,_0x1661e5){var _0x2bd944=_0x5d6e1b;_0x1b1e05=this[_0x2bd944(0xd3)]=_0x1b1e05||[],_0x1661e5!=_0x7d63e2?this[_0x2bd944(0x26f)]=_0x1661e5:this[_0x2bd944(0x26f)]=_0x1b1e05[_0x2bd944(0x2e2)]*0x4;},'toString':function(_0x64bf13){var _0x1beb3b=_0x5d6e1b;return(_0x64bf13||_0x35afe6)[_0x1beb3b(0x105)](this);},'concat':function(_0x4bfd81){var _0x139c12=_0x5d6e1b,_0x18aae6=this[_0x139c12(0xd3)],_0x2b8b42=_0x4bfd81['words'],_0x182602=this[_0x139c12(0x26f)],_0x20ea65=_0x4bfd81[_0x139c12(0x26f)];if(this[_0x139c12(0x245)](),_0x182602%0x4)for(var _0x3b68a0=0x0;_0x3b68a0<_0x20ea65;_0x3b68a0++){var _0xeb38b9=_0x2b8b42[_0x3b68a0>>>0x2]>>>0x18-_0x3b68a0%0x4*0x8&0xff;_0x18aae6[_0x182602+_0x3b68a0>>>0x2]|=_0xeb38b9<<0x18-(_0x182602+_0x3b68a0)%0x4*0x8;}else{for(var _0x173154=0x0;_0x173154<_0x20ea65;_0x173154+=0x4)_0x18aae6[_0x182602+_0x173154>>>0x2]=_0x2b8b42[_0x173154>>>0x2];}return this[_0x139c12(0x26f)]+=_0x20ea65,this;},'clamp':function(){var _0x2f2c1c=_0x5d6e1b,_0x3d01f6=this[_0x2f2c1c(0xd3)],_0x551f49=this['sigBytes'];_0x3d01f6[_0x551f49>>>0x2]&=0xffffffff<<0x20-_0x551f49%0x4*0x8,_0x3d01f6[_0x2f2c1c(0x2e2)]=_0xe74558[_0x2f2c1c(0x1f1)](_0x551f49/0x4);},'clone':function(){var _0x1745bc=_0x5d6e1b,_0x4fdbec=_0x4606ea['clone'][_0x1745bc(0x321)](this);return _0x4fdbec['words']=this[_0x1745bc(0xd3)]['slice'](0x0),_0x4fdbec;},'random':function(_0xac4525){var _0x195e66=_0x5d6e1b;for(var _0x4d4929=[],_0x334a13=0x0;_0x334a13<_0xac4525;_0x334a13+=0x4)_0x4d4929[_0x195e66(0x21f)](_0x637f1f());return new _0x3dc1ba[(_0x195e66(0xbc))](_0x4d4929,_0xac4525);}}),_0x45931a=_0xe4fee9[_0x5d6e1b(0x2d2)]={},_0x35afe6=_0x45931a[_0x5d6e1b(0x2b0)]={'stringify':function(_0x33ce66){var _0x240eb3=_0x5d6e1b;for(var _0x13f43c=_0x33ce66[_0x240eb3(0xd3)],_0x1295d5=_0x33ce66[_0x240eb3(0x26f)],_0x42c30d=[],_0x31d226=0x0;_0x31d226<_0x1295d5;_0x31d226++){var _0x179ae4=_0x13f43c[_0x31d226>>>0x2]>>>0x18-_0x31d226%0x4*0x8&0xff;_0x42c30d[_0x240eb3(0x21f)]((_0x179ae4>>>0x4)['toString'](0x10)),_0x42c30d['push']((_0x179ae4&0xf)[_0x240eb3(0x110)](0x10));}return _0x42c30d[_0x240eb3(0x1ed)]('');},'parse':function(_0x139c03){var _0x33aa97=_0x5d6e1b;for(var _0x15a779=_0x139c03['length'],_0x1999f0=[],_0x13f2ca=0x0;_0x13f2ca<_0x15a779;_0x13f2ca+=0x2)_0x1999f0[_0x13f2ca>>>0x3]|=parseInt(_0x139c03['substr'](_0x13f2ca,0x2),0x10)<<0x18-_0x13f2ca%0x8*0x4;return new _0x3dc1ba[(_0x33aa97(0xbc))](_0x1999f0,_0x15a779/0x2);}},_0x48ed50=_0x45931a['Latin1']={'stringify':function(_0x216157){var _0x391b2c=_0x5d6e1b;for(var _0x50656a=_0x216157['words'],_0x1cf014=_0x216157['sigBytes'],_0x38ab95=[],_0x21c11a=0x0;_0x21c11a<_0x1cf014;_0x21c11a++){var _0x20dfa0=_0x50656a[_0x21c11a>>>0x2]>>>0x18-_0x21c11a%0x4*0x8&0xff;_0x38ab95['push'](String[_0x391b2c(0x36e)](_0x20dfa0));}return _0x38ab95[_0x391b2c(0x1ed)]('');},'parse':function(_0x2d6625){var _0x29d141=_0x5d6e1b;for(var _0x2d9067=_0x2d6625[_0x29d141(0x2e2)],_0x501440=[],_0x38d333=0x0;_0x38d333<_0x2d9067;_0x38d333++)_0x501440[_0x38d333>>>0x2]|=(_0x2d6625[_0x29d141(0x33a)](_0x38d333)&0xff)<<0x18-_0x38d333%0x4*0x8;return new _0x3dc1ba[(_0x29d141(0xbc))](_0x501440,_0x2d9067);}},_0x122d91=_0x45931a['Utf8']={'stringify':function(_0x574b9e){var _0x445879=_0x5d6e1b;try{return decodeURIComponent(escape(_0x48ed50[_0x445879(0x105)](_0x574b9e)));}catch{throw new Error(_0x445879(0x160));}},'parse':function(_0x6f274f){var _0x3336cd=_0x5d6e1b;return _0x48ed50[_0x3336cd(0xcc)](unescape(encodeURIComponent(_0x6f274f)));}},_0x5796ed=_0x3ae99b[_0x5d6e1b(0xea)]=_0x4606ea['extend']({'reset':function(){var _0x3c1412=_0x5d6e1b;this[_0x3c1412(0x1d5)]=new _0x3dc1ba[(_0x3c1412(0xbc))](),this[_0x3c1412(0x2c8)]=0x0;},'_append':function(_0x3120a6){var _0x129f54=_0x5d6e1b;typeof _0x3120a6==_0x129f54(0xa1)&&(_0x3120a6=_0x122d91['parse'](_0x3120a6)),this[_0x129f54(0x1d5)]['concat'](_0x3120a6),this[_0x129f54(0x2c8)]+=_0x3120a6[_0x129f54(0x26f)];},'_process':function(_0x199599){var _0x497ffb=_0x5d6e1b,_0x2b5db1,_0x5d90d5=this['_data'],_0x2a5c3c=_0x5d90d5[_0x497ffb(0xd3)],_0xf7a0d7=_0x5d90d5[_0x497ffb(0x26f)],_0x46070c=this[_0x497ffb(0xa2)],_0x515b76=_0x46070c*0x4,_0x2e8b82=_0xf7a0d7/_0x515b76;_0x199599?_0x2e8b82=_0xe74558['ceil'](_0x2e8b82):_0x2e8b82=_0xe74558[_0x497ffb(0x121)]((_0x2e8b82|0x0)-this['_minBufferSize'],0x0);var _0x2e9829=_0x2e8b82*_0x46070c,_0x71bc9=_0xe74558[_0x497ffb(0x154)](_0x2e9829*0x4,_0xf7a0d7);if(_0x2e9829){for(var _0x2b3647=0x0;_0x2b3647<_0x2e9829;_0x2b3647+=_0x46070c)this['_doProcessBlock'](_0x2a5c3c,_0x2b3647);_0x2b5db1=_0x2a5c3c['splice'](0x0,_0x2e9829),_0x5d90d5[_0x497ffb(0x26f)]-=_0x71bc9;}return new _0x3dc1ba['init'](_0x2b5db1,_0x71bc9);},'clone':function(){var _0xb3fb03=_0x5d6e1b,_0x2fb7f3=_0x4606ea['clone'][_0xb3fb03(0x321)](this);return _0x2fb7f3[_0xb3fb03(0x1d5)]=this['_data'][_0xb3fb03(0x341)](),_0x2fb7f3;},'_minBufferSize':0x0});_0x3ae99b[_0x5d6e1b(0x2b6)]=_0x5796ed['extend']({'cfg':_0x4606ea[_0x5d6e1b(0x31c)](),'init':function(_0x220886){var _0x71cb5b=_0x5d6e1b;this[_0x71cb5b(0x11b)]=this[_0x71cb5b(0x11b)][_0x71cb5b(0x31c)](_0x220886),this[_0x71cb5b(0x153)]();},'reset':function(){var _0x49f64f=_0x5d6e1b;_0x5796ed[_0x49f64f(0x153)][_0x49f64f(0x321)](this),this[_0x49f64f(0xcd)]();},'update':function(_0x1ac4ec){var _0x2d0979=_0x5d6e1b;return this[_0x2d0979(0x2ba)](_0x1ac4ec),this['_process'](),this;},'finalize':function(_0x3f79fd){var _0x79739a=_0x5d6e1b;_0x3f79fd&&this[_0x79739a(0x2ba)](_0x3f79fd);var _0x5e2f01=this[_0x79739a(0x224)]();return _0x5e2f01;},'blockSize':0x10,'_createHelper':function(_0x494b84){return function(_0x399c7c,_0x1f69df){var _0x339162=_0x36d8;return new _0x494b84[(_0x339162(0xbc))](_0x1f69df)['finalize'](_0x399c7c);};},'_createHmacHelper':function(_0x4b95d4){return function(_0x4f1802,_0x4a56cd){var _0x135e7e=_0x36d8;return new _0x1f2573['HMAC'][(_0x135e7e(0xbc))](_0x4b95d4,_0x4a56cd)['finalize'](_0x4f1802);};}});var _0x1f2573=_0xe4fee9[_0x5d6e1b(0xca)]={};return _0xe4fee9;}(Math);return _0xd0d098;}));}(Ge)),Ge[_0x38a3b9(0x376)];}var We={'exports':{}},Es=We[_0x32e2f2(0x376)],Zt;function Di(){var _0x406d61=_0x32e2f2;return Zt||(Zt=0x1,function(_0x56b855,_0xaf16b6){(function(_0x2e7db8,_0x8ac0c4){var _0xe079fb=_0x36d8;_0x56b855[_0xe079fb(0x376)]=_0x8ac0c4(ie());}(Es,function(_0x596c7b){var _0x3c622a=_0x36d8;return(function(){var _0x4a043a=_0x36d8,_0x21b3e4=_0x596c7b,_0x28cf16=_0x21b3e4[_0x4a043a(0x34e)],_0x5d5363=_0x28cf16[_0x4a043a(0x148)],_0x40f3f6=_0x21b3e4['enc'];_0x40f3f6['Base64']={'stringify':function(_0x55d4ae){var _0x3cebb3=_0x4a043a,_0x5c72a5=_0x55d4ae[_0x3cebb3(0xd3)],_0x1670f2=_0x55d4ae[_0x3cebb3(0x26f)],_0x33ce2f=this[_0x3cebb3(0x92)];_0x55d4ae[_0x3cebb3(0x245)]();for(var _0x113463=[],_0x58b36e=0x0;_0x58b36e<_0x1670f2;_0x58b36e+=0x3)for(var _0x1fa739=_0x5c72a5[_0x58b36e>>>0x2]>>>0x18-_0x58b36e%0x4*0x8&0xff,_0x53d54d=_0x5c72a5[_0x58b36e+0x1>>>0x2]>>>0x18-(_0x58b36e+0x1)%0x4*0x8&0xff,_0x376dd5=_0x5c72a5[_0x58b36e+0x2>>>0x2]>>>0x18-(_0x58b36e+0x2)%0x4*0x8&0xff,_0x480d66=_0x1fa739<<0x10|_0x53d54d<<0x8|_0x376dd5,_0x355294=0x0;_0x355294<0x4&&_0x58b36e+_0x355294*0.75<_0x1670f2;_0x355294++)_0x113463[_0x3cebb3(0x21f)](_0x33ce2f[_0x3cebb3(0x2b1)](_0x480d66>>>0x6*(0x3-_0x355294)&0x3f));var _0x137ec7=_0x33ce2f[_0x3cebb3(0x2b1)](0x40);if(_0x137ec7){for(;_0x113463['length']%0x4;)_0x113463[_0x3cebb3(0x21f)](_0x137ec7);}return _0x113463[_0x3cebb3(0x1ed)]('');},'parse':function(_0x529eee){var _0x45738d=_0x4a043a,_0x1208de=_0x529eee['length'],_0xeb2ca0=this[_0x45738d(0x92)],_0x380a26=this[_0x45738d(0x290)];if(!_0x380a26){_0x380a26=this[_0x45738d(0x290)]=[];for(var _0x35bbc2=0x0;_0x35bbc2<_0xeb2ca0[_0x45738d(0x2e2)];_0x35bbc2++)_0x380a26[_0xeb2ca0[_0x45738d(0x33a)](_0x35bbc2)]=_0x35bbc2;}var _0x18af3d=_0xeb2ca0[_0x45738d(0x2b1)](0x40);if(_0x18af3d){var _0x5977f1=_0x529eee[_0x45738d(0x264)](_0x18af3d);_0x5977f1!==-0x1&&(_0x1208de=_0x5977f1);}return _0x15efd9(_0x529eee,_0x1208de,_0x380a26);},'_map':_0x4a043a(0x337)};function _0x15efd9(_0x1f824c,_0x4028a7,_0x284b8){var _0x571c59=_0x4a043a;for(var _0x5657ca=[],_0x2bcf62=0x0,_0x30a76d=0x0;_0x30a76d<_0x4028a7;_0x30a76d++)if(_0x30a76d%0x4){var _0x287cc4=_0x284b8[_0x1f824c[_0x571c59(0x33a)](_0x30a76d-0x1)]<<_0x30a76d%0x4*0x2,_0x4ce0e8=_0x284b8[_0x1f824c[_0x571c59(0x33a)](_0x30a76d)]>>>0x6-_0x30a76d%0x4*0x2,_0x475ef4=_0x287cc4|_0x4ce0e8;_0x5657ca[_0x2bcf62>>>0x2]|=_0x475ef4<<0x18-_0x2bcf62%0x4*0x8,_0x2bcf62++;}return _0x5d5363['create'](_0x5657ca,_0x2bcf62);}}()),_0x596c7b[_0x3c622a(0x2d2)][_0x3c622a(0x1af)];}));}(We)),We[_0x406d61(0x376)];}var Ke={'exports':{}},Is=Ke[_0x32e2f2(0x376)],Qt;function _0x1a3d(){var _0x58c9e9=['EMAIL_HAS_BEEN_BOUND','_scheduleCompleteTimestamp','subject','_socketReady','encryptBlock','_waitForHeartbeatResponse','_schedule','fetching\x20missing\x20changesets\x20from\x20','range','set','collabSubmitChangesetUrl','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','iterations','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','pending','SOCKET_FAILED','charCodeAt','encodeURIComponent','OFFLINE','save\x20fail\x20reason\x20is\x20','/role','_tryEnsureSocket','values','clone','_type','MUTATION','univer-pro.collaboration-client.single-active-unit-service','USERS_LEAVE','hasher','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','resourceIDs','_candidateSocket','image/png','leaveEvent','objectActions','random','lib','_socket','transformStack\x20failed!','_parse','_oKey','[CollaborationState]:\x20apply\x20error!','deleteCollaborator','APPLY_PERMISSION_DENIED','_cipher','toggleOnline','fetchMiss','roomInfos','SUBMIT_CHANGESET_TIMEOUT','7SvQKsr','infoRsp','_submitChangeset','_acknowledgedAwaitingChangeset','getAllMembers','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_getAPIPrefix','_createInitialStateImpl','_onMessage','next','requestParams','_sessions','_initUnitPermissionChange','CHANGESET_ACK','toggleOffline','RETRY_CONNECTING_MAX_COUNT','_telemetryService','_initMergeInterceptor','_localCacheService','fromCharCode','[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.','_keyPriorReset','updateMember','findIndex','_getUploadFileURL','_state$','{fileID}','exports','localCacheService','_toggleOnline','session.room-not-exists','/universer-api/snapshot/','JOIN_ROOM_FAILED','PERMISSION_DENIED','PY_RUNTIME_SCRIPT_ERROR','collaboration-client.config','LICENSE_IMPORT_SIZE_EXCEEDED','/fetchmissing?from=','originalMeta','[DataLoaderService]','createDecryptor','reconnect','msCrypto','LICENSE_DISTRO_REJECTED','JOIN_ROOM_FULL','UNRECOGNIZED','params','onRemoteChangeset','CHANGESET_REVISION_CONFILICT','getInterceptPoints','fromCollab','_executeRemoteChangeset','_decreaseWaiting','ALREADY_EXISTS','_startCollaboration','\x0aAfter:\x20','getWorkbookSelections','entityInit$','[CollaborationEntity]','HEARTBEAT_TIMEOUT','_shouldReportTelemetry','HMAC','PERMISSION_REJ','reduce','_key','unitInfo$','url','INVITE_CODE_HAS_BEEN_UES','pad','_timeoutTimer','SHA1','MD5','transformSelections','method','getConfig','_nRounds','objects','_loadDoc','event$','_singleActiveUnitService','_map','YUUMI_ASYNCIO_CANCELLED','LIVESHARE_TERMINATE','_transitionLocked','UPDATE_CURSOR','salt','APPLY_NON_SEQUENTIAL_REVISION','HELLO','_clearScheduledTask','saveImage','ONLINE','/collaborator','_hasher','_snapshotService','processBlock','string','blockSize','_unitInfo$','json','csShouldRetryEvent','_members$','listCollaborators','AWAITING','function','__esModule','FETCH_MISS','loginUrlKey','StreamCipher','_configService','LIVESHARE_NEW_HOST','getUnit','editingUnit','APPLY_DUPLICATED','cmd','loadDoc','_doCryptBlock','UNDEFINED','_updateState','HEARTBEAT','conflict','startsWith','/object/','init','find','socketService','_event$','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','[PendingState]:\x20received\x20acknowledgement.','abs','_logService','_resendTimer','unitId\x20is\x20not\x20found','Encryptor','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_members','Error\x20on\x20receiving\x20event','algo','hasOwnProperty','parse','_doReset','textRanges','_disableEditing','selections','every','_process','words','HmacMD5','RECV','change$','_handler','_iv','has','_awaitingChangeset','session.join-failed','_status$','_commandService','ERROR_EXCEED_SIZE','_change$','/unit/','BASE64','list','_getCtorByUniverType','collaboratorID','c1Prime','getUnitStatus$','SNAPSHOT_URL_KEY','__creator','APPLY_REVISION_CONFILICT','BufferedBlockAlgorithm','_undoStacks','_collaborationSessionService','saveChangeset','error','_throwTelemetryCollaborationNewChangeset','PERSON','[OfflineState]:\x20received\x20changeset.','_transformSelections','buffer','byteOffset','INVALID_INVITE_CODE','waitForRoom$','members$','changesets','awaitingChangeset','withCredentials','editing\x20status\x20changed\x20to','registerHTTPInterceptor','format','USER_NOT_INVITED_CODE','enableSingleActiveInstanceLock','eventID','_substituteRedoStack','UnitEmbedded','OpenSSL','Undefined','stringify','HttpExport','MOBILE_HAS_BEEN_BOUND','_onRecvEvent','unknown','encode','_updateStatus','localeService','_createHelper','submit\x20changeset\x20error!','unitID','toString','executeCommand','avatar','data','_collaborationUIEventService','subscribe','_getDownloadEndpointURL','create','UNIVER_SHEET','UNIVER_UNKNOWN','_socketMessageSubscription','cfg','_HTTPService','memberID','_onRemoteRetry','_initCloseConn','_getCurrentRevision','max','_startTelemetryCollaborationNewChangeset','getCollabEntity$','_instanceService','initWorkbookPermissionChange','key','_getAPIPrefixPath','_unlockTransition','transformMutationsWithChangeset','failed\x20to\x20apply\x20missed\x20changesets!','_onJoinRoomEvent','/rev/','_registerDependencies','OTHER_CLIENT_EDITING','onTransformState','LOGIN_FAILED','COLLAB_SUBMIT_CHANGESET_URL','isArray','_lockTransition','pluginName','COMPLETION_FINISHED','TOO_MANY_REQUESTS','_retryCount','reject','_getSendChangesetTimeout','putCollaborators','isPermissionRej','auth.needGotoLoginAlert','_tryReconnect','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','POST','map','getMember','_transformRemoteChangesetByStateCache','[SyncedState]:\x20received\x20rejection.','createSocket','sheets','_updateLocalCache','WordArray','684xvZGtz','createCollaborator','USERS_ENTER','_snapshotServerService','startTime','setWaitCount','_clearCollaborationTimeoutTimer','[CollaborationSessionService]','getSheetId','_substituteUndoStack','reset','min','getDeserializedSheetBlock','focused$','_sendHeartbeatTimer','_getSignURL','unsubscribe','workbook','getTypeOfUnitAdded$','interceptor','[FetchMissState]','getSheetBlock','_commentUpdate$','Malformed\x20UTF-8\x20data','csAckEvent','image/gif','csRejEvent','body','SNAPSHOT_HAS_BEEN_REMOVED','mutations','?url=','_fetchMissChangesets','3513QHAvzE','_compressMutationService','sessionStatus$','&assign=','x-univer-host','_sendingTimer','BlockCipherMode','transformChangesets','add','disposeWithMe','pipe','YUUMI_UNABLE_LOAD_URL','status$','_applyRemoteChangeset','baseRev','session.room-cnt-exceeds','_clearRedo','resend','_clearLocalCache','collabWebSocketUrl','SHOULD_CLOSE_CONN','type','userID','LIVESHARE_REQUEST_HOST','SUCCUSS','_removeRoom','sid','JOIN_ROOM_PERMISSION_DENIED','PSEUDO_FETCH_MISSING_RESULT','_remoteChangesetQueue','dispose$','JOIN','_joinRoom','includes','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UNIVER_PROJECT','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','filter','finalize','INVALID_ARGUMENT','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','appendMutation','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','kdf','getResourcesRequest','reverse','getSnapshotAPIPath','prototype','/-/object/-/batch_allowed','getLatestCsReqIdBySid','commentUpdate$','JOIN_ROOM_NOT_EXISTS','subUnitId','FileId','_initRequestHeader','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_changesetReqId','enableOfflineEditing','transformUndoRedo','crypto','onTransformRemoteChangesetByIMECache','_onUserLeave','PENDING','floor','readInt32LE','/resources','close','_ENC_XFORM_MODE','Base64','requireSession','formatter','_clearUndo','_commentService','UNIVER_COLLABORATION_CLIENT_PLUGIN','members','_checkMissing','$super','_permissionService','onTransformSelections','_onConflict','setShowComponents','getCurrentRevOfUnit','confirm','emitEvent','connection\x20error','_changesetSessionId','_transformService','file','86070LDntjk','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','mixIn','_eventService','apply','_stopTelemetryCollaborationNewChangeset','CONNECTOR_DATA_TOO_LARGE','/universer-api/snapshot','send','close$','_onUserJoin','_createSocket','HttpImport','onStateChange','[OfflineState]:\x20received\x20acknowledgement.','_transformStack','collaboration_new_changeset','snapshotServerUrl','_data','headers','_undoRedoService','_createInitialState','ENSURE_SNAPSHOT_EXECUTION','_resendWithTimeout','_DEC_XFORM_MODE','_onConnectionFailed','loadSheet','_imageSourceCache','routeKey','dispose','NEW_CHANGESETS','setCurrentUser','23297725Vogetj','listRoles','?size=','concat','UserProfileImg','_telemetryInfo','bind','JOINING','awaiting','onLocalMutation','join','SEND_CHANGESET_TIMEOUT','UNIVER_DOC','name','ceil','downloadEndpointUrl','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','not_collab','_resendTimeout','_collabSessionService','_config','onload','_xformMode','WECHAT_HAS_BEEN_BOUND','COMPRESS_MUTATION_SEND','_onRemoteACK','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','signUrlServerUrl','INGEST','createEncryptor','UPDATE_PERMISSION_OBJ','NoPadding','delete','OTHER_CLIENTS_EDITING','_onRemoteRejected','snapshot','_keySchedule','stopTime','override','addImageSourceCache','image/jpg','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initDependencies','_transformRemoteChangesetByIMECache','_sender','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','socket$','collaboration-client.local-cache-service','2865504ScxKTT','_getLoginPath','onTransformIME','ivSize','_onFetchMissResult','getRoom','_incrementRevisionNumber','_entityInit$','/universer-api/file/{fileID}/sign-url','sessionStatus','equals','retryConnectingInterval','push','ERROR_IMAGE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','loadOfflineData','code','_doFinalize','_retryConnectingTimer','onCommandExecuted','CHANGESET_SHOULD_RETRY','objectType','COMMENT_UPDATE','createInstance','getCollabEntity','getMemberID','getRandomValues','getUnitId','EvpKDF','UNIVER_SLIDE','randomUUID','getImage','UNKNOWN_CMD','getTime','/-/object/list','_invKeySchedule','_onRemoteChangeset','session.room-permission-denied','onTransformRemoteChangesetByStateCache','resolve','UNAUTHENTICATED','_sheetTransformSelectionsService','[CollaborationUndoRedoService]','complete','capture','repeat','_clearTimeoutTimer','fetchThroughInterceptors','_replaceFileID','saveSheetBlock','clamp','_loadSheet','onCommentUpdate','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','defineProperty','_mode','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_minBufferSize','ciphertext','Failed\x20to\x20update\x20permission\x20point','clear','splice','_handlerCallback','1976514fbKwog','update','_init','decrypt','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','location','INVITE_CODE_ALREADY_BOUND','Cipher','getCurrentSelections','status','LOCAL_CACHE_INTERVAL','INTERNAL_ERROR','/universer-api/comb','onRemoteAck','default','_showConflictNotification','removeMember','_listenToNetworkCondition','indexOf','DEFAULT_FILE_NAME','getOwnPropertyDescriptor','_iKey','_clearRetryConnectingTimer','refreshPermission','mode','SNAPSHOT_SERVER_URL_KEY','YUUMI_URL_COL_OUT_OF_RANGE','_syncEditingCollabCursor','4BhpFiz','sigBytes','getUnitType','INVITE_CODE_REQUIRED','Pkcs7','FAIL','/new_changes','entries','target','hostname','BlockCipher','addHandlerCallback','OPTIONAL','PasswordBasedCipher','compute','deepClone','_entities','socket\x20close','updatePermissionPoint','get','post','actions','message$','incrementRevOfUnit','UNKNOWN_CODE','COMPRESS_MUTATION_APPLY','Utf8','APPLY_REJECT','getValue','[SyncedState]:\x20received\x20acknowledgement.','LEAVE','getActiveSheet','execute','unitId','_reverseMap','_rescheduleHeartbeat','CHANGESET_REJ','_onLocalMutation','reqId','forEach','_exhaustRemoteChangesetQueue','SUBMIT_CHANGESET','UnitSnapshot','image/bmp','keySize','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/allowed','FETCH_MISSING','NOT_FOUND','[PendingState]:\x20received\x20rejection.','_pendingMutations','onSendChangeset','objectID','_redoStacks','randomBytes','HmacSHA1','onMissedChangesetFetched','_userManagerService','onRemoteRej','_collaborationTimeoutTimer','href','[UniverCollaborationClientPlugin]','put','catch','readyForCollab','GLOBAL_ROOMS_CNT_EXCEEDS','Hex','charAt','_scheduleCollaborationTimeoutTimer','action','AES','liveShareOperation','Hasher','YUUMI_RATE_OVER_LIMIT','duration','_httpService','_append','_createHmacHelper','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','size','_transformUndoredo','YUUMI_NO_CUBOID_FOR_QUESTION','/universer-api/oidc/authpage','compose','updatePermissionObjEvent','_replayCachedMutations','NO_OTHER_CLIENTS_EDITING','responseType','getTypeOfUnitDisposed$','updateCursorEvent','_nDataBytes','_clearHeartbeatTimer','awaiting_with_pending','session.room-full','/universer-api/authz','COLLAB_WEB_SOCKET_URL','_socket$','session','/block/','getCurrentUser','enc','[CollaborationSessionService]:\x20socket\x20error','UUID','_univerInstanceService','Univer','_onConnectionOpen','_sessionStatus$','_toggleOffline','_hash','onlyLocal','disableLocalCache','state','byteLength','src','joinRsp','append','length','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_state','Could\x20not\x20dynamically\x20require\x20\x22','getImageSourceCache','_transformIMECache','AUTHZ_URL_KEY','slice','UNISCRIPT_RUN','_queuedRemoteChangesets','_memberService','asObservable','offline','_roomCreated$','LIVESHARE_FETCH_OPERATIONS','synced','MSG_FOR_ERROR','_getUndoStack','_collaborationPaused','_localeService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','open$','Base','AWAITING_WITH_PENDING','liveShareNewHost','revision','_waitCount','image/jpeg','getFocusedUnit','CONFLICT','CLOSE_ROOM','NOT_COLLAB','now','LIVESHARE_OPERATION','_roomMembers','YUUMI_SUBSCRIPTION_NOT_FOUND','_socketService','IDLE','onMissingChangesets','_getRedoStack','_onOffline','5937904GPOglO','uploadFileServerUrl','fetchMissingChangesets','online$','collaborators','_unitID','_revisionService','rev','debug','LICENSE_MAX_UNITS_EXCEEDED','106XVPfEK','_sendHeartbeat','\x20-\x20','updateOfflineData','_isPermissionRej','SOCKET_FAILED_RETRY','onRemoteRetry','extend','[OfflineState]:\x20received\x20rejection.','result','Decryptor','_createHandler','call','authzUrl','/universer-api/uniscript','replace','_transformStateCache','1551170oyqSGU','_injector','encrypt','onSyncEditingCollabCursor'];_0x1a3d=function(){return _0x58c9e9;};return _0x1a3d();}function Ts(){return Qt||(Qt=0x1,function(_0x59e45e,_0x286e10){(function(_0x101643,_0x1a3cef){var _0x14cfc7=_0x36d8;_0x59e45e[_0x14cfc7(0x376)]=_0x1a3cef(ie());}(Is,function(_0x3c3f84){var _0x25b8e8=_0x36d8;return function(_0xd39336){var _0x15e190=_0x36d8,_0x19ccb3=_0x3c3f84,_0x2f8bfe=_0x19ccb3['lib'],_0x378ca6=_0x2f8bfe[_0x15e190(0x148)],_0x132213=_0x2f8bfe[_0x15e190(0x2b6)],_0x4c0fd3=_0x19ccb3[_0x15e190(0xca)],_0x5bdcd5=[];(function(){var _0x83a9af=_0x15e190;for(var _0x16b8e4=0x0;_0x16b8e4<0x40;_0x16b8e4++)_0x5bdcd5[_0x16b8e4]=_0xd39336[_0x83a9af(0xc2)](_0xd39336['sin'](_0x16b8e4+0x1))*0x100000000|0x0;}());var _0xdb3a04=_0x4c0fd3['MD5']=_0x132213[_0x15e190(0x31c)]({'_doReset':function(){var _0x15bfa1=_0x15e190;this[_0x15bfa1(0x2da)]=new _0x378ca6[(_0x15bfa1(0xbc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x6dddc4,_0x576d20){for(var _0x549dd6=0x0;_0x549dd6<0x10;_0x549dd6++){var _0x62f3a9=_0x576d20+_0x549dd6,_0x195ebf=_0x6dddc4[_0x62f3a9];_0x6dddc4[_0x62f3a9]=(_0x195ebf<<0x8|_0x195ebf>>>0x18)&0xff00ff|(_0x195ebf<<0x18|_0x195ebf>>>0x8)&0xff00ff00;}var _0x1beeac=this['_hash']['words'],_0x4bcd32=_0x6dddc4[_0x576d20+0x0],_0x1ec463=_0x6dddc4[_0x576d20+0x1],_0x2adf77=_0x6dddc4[_0x576d20+0x2],_0x147a91=_0x6dddc4[_0x576d20+0x3],_0x5b5c34=_0x6dddc4[_0x576d20+0x4],_0x14eb57=_0x6dddc4[_0x576d20+0x5],_0x4bdfe7=_0x6dddc4[_0x576d20+0x6],_0x1d65d1=_0x6dddc4[_0x576d20+0x7],_0x471538=_0x6dddc4[_0x576d20+0x8],_0x1f41d0=_0x6dddc4[_0x576d20+0x9],_0x3bb24e=_0x6dddc4[_0x576d20+0xa],_0x475e91=_0x6dddc4[_0x576d20+0xb],_0x4fb5d5=_0x6dddc4[_0x576d20+0xc],_0x1badc3=_0x6dddc4[_0x576d20+0xd],_0x180aaa=_0x6dddc4[_0x576d20+0xe],_0x326d86=_0x6dddc4[_0x576d20+0xf],_0x32912a=_0x1beeac[0x0],_0x5d8529=_0x1beeac[0x1],_0x5b21d6=_0x1beeac[0x2],_0x3defb6=_0x1beeac[0x3];_0x32912a=_0x370136(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x4bcd32,0x7,_0x5bdcd5[0x0]),_0x3defb6=_0x370136(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x1ec463,0xc,_0x5bdcd5[0x1]),_0x5b21d6=_0x370136(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x2adf77,0x11,_0x5bdcd5[0x2]),_0x5d8529=_0x370136(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x147a91,0x16,_0x5bdcd5[0x3]),_0x32912a=_0x370136(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x5b5c34,0x7,_0x5bdcd5[0x4]),_0x3defb6=_0x370136(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x14eb57,0xc,_0x5bdcd5[0x5]),_0x5b21d6=_0x370136(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x4bdfe7,0x11,_0x5bdcd5[0x6]),_0x5d8529=_0x370136(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x1d65d1,0x16,_0x5bdcd5[0x7]),_0x32912a=_0x370136(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x471538,0x7,_0x5bdcd5[0x8]),_0x3defb6=_0x370136(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x1f41d0,0xc,_0x5bdcd5[0x9]),_0x5b21d6=_0x370136(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x3bb24e,0x11,_0x5bdcd5[0xa]),_0x5d8529=_0x370136(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x475e91,0x16,_0x5bdcd5[0xb]),_0x32912a=_0x370136(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x4fb5d5,0x7,_0x5bdcd5[0xc]),_0x3defb6=_0x370136(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x1badc3,0xc,_0x5bdcd5[0xd]),_0x5b21d6=_0x370136(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x180aaa,0x11,_0x5bdcd5[0xe]),_0x5d8529=_0x370136(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x326d86,0x16,_0x5bdcd5[0xf]),_0x32912a=_0x130476(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x1ec463,0x5,_0x5bdcd5[0x10]),_0x3defb6=_0x130476(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x4bdfe7,0x9,_0x5bdcd5[0x11]),_0x5b21d6=_0x130476(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x475e91,0xe,_0x5bdcd5[0x12]),_0x5d8529=_0x130476(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x4bcd32,0x14,_0x5bdcd5[0x13]),_0x32912a=_0x130476(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x14eb57,0x5,_0x5bdcd5[0x14]),_0x3defb6=_0x130476(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x3bb24e,0x9,_0x5bdcd5[0x15]),_0x5b21d6=_0x130476(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x326d86,0xe,_0x5bdcd5[0x16]),_0x5d8529=_0x130476(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x5b5c34,0x14,_0x5bdcd5[0x17]),_0x32912a=_0x130476(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x1f41d0,0x5,_0x5bdcd5[0x18]),_0x3defb6=_0x130476(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x180aaa,0x9,_0x5bdcd5[0x19]),_0x5b21d6=_0x130476(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x147a91,0xe,_0x5bdcd5[0x1a]),_0x5d8529=_0x130476(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x471538,0x14,_0x5bdcd5[0x1b]),_0x32912a=_0x130476(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x1badc3,0x5,_0x5bdcd5[0x1c]),_0x3defb6=_0x130476(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x2adf77,0x9,_0x5bdcd5[0x1d]),_0x5b21d6=_0x130476(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x1d65d1,0xe,_0x5bdcd5[0x1e]),_0x5d8529=_0x130476(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x4fb5d5,0x14,_0x5bdcd5[0x1f]),_0x32912a=_0x591a83(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x14eb57,0x4,_0x5bdcd5[0x20]),_0x3defb6=_0x591a83(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x471538,0xb,_0x5bdcd5[0x21]),_0x5b21d6=_0x591a83(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x475e91,0x10,_0x5bdcd5[0x22]),_0x5d8529=_0x591a83(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x180aaa,0x17,_0x5bdcd5[0x23]),_0x32912a=_0x591a83(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x1ec463,0x4,_0x5bdcd5[0x24]),_0x3defb6=_0x591a83(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x5b5c34,0xb,_0x5bdcd5[0x25]),_0x5b21d6=_0x591a83(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x1d65d1,0x10,_0x5bdcd5[0x26]),_0x5d8529=_0x591a83(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x3bb24e,0x17,_0x5bdcd5[0x27]),_0x32912a=_0x591a83(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x1badc3,0x4,_0x5bdcd5[0x28]),_0x3defb6=_0x591a83(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x4bcd32,0xb,_0x5bdcd5[0x29]),_0x5b21d6=_0x591a83(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x147a91,0x10,_0x5bdcd5[0x2a]),_0x5d8529=_0x591a83(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x4bdfe7,0x17,_0x5bdcd5[0x2b]),_0x32912a=_0x591a83(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x1f41d0,0x4,_0x5bdcd5[0x2c]),_0x3defb6=_0x591a83(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x4fb5d5,0xb,_0x5bdcd5[0x2d]),_0x5b21d6=_0x591a83(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x326d86,0x10,_0x5bdcd5[0x2e]),_0x5d8529=_0x591a83(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x2adf77,0x17,_0x5bdcd5[0x2f]),_0x32912a=_0x16ca6(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x4bcd32,0x6,_0x5bdcd5[0x30]),_0x3defb6=_0x16ca6(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x1d65d1,0xa,_0x5bdcd5[0x31]),_0x5b21d6=_0x16ca6(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x180aaa,0xf,_0x5bdcd5[0x32]),_0x5d8529=_0x16ca6(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x14eb57,0x15,_0x5bdcd5[0x33]),_0x32912a=_0x16ca6(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x4fb5d5,0x6,_0x5bdcd5[0x34]),_0x3defb6=_0x16ca6(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x147a91,0xa,_0x5bdcd5[0x35]),_0x5b21d6=_0x16ca6(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x3bb24e,0xf,_0x5bdcd5[0x36]),_0x5d8529=_0x16ca6(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x1ec463,0x15,_0x5bdcd5[0x37]),_0x32912a=_0x16ca6(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x471538,0x6,_0x5bdcd5[0x38]),_0x3defb6=_0x16ca6(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x326d86,0xa,_0x5bdcd5[0x39]),_0x5b21d6=_0x16ca6(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x4bdfe7,0xf,_0x5bdcd5[0x3a]),_0x5d8529=_0x16ca6(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x1badc3,0x15,_0x5bdcd5[0x3b]),_0x32912a=_0x16ca6(_0x32912a,_0x5d8529,_0x5b21d6,_0x3defb6,_0x5b5c34,0x6,_0x5bdcd5[0x3c]),_0x3defb6=_0x16ca6(_0x3defb6,_0x32912a,_0x5d8529,_0x5b21d6,_0x475e91,0xa,_0x5bdcd5[0x3d]),_0x5b21d6=_0x16ca6(_0x5b21d6,_0x3defb6,_0x32912a,_0x5d8529,_0x2adf77,0xf,_0x5bdcd5[0x3e]),_0x5d8529=_0x16ca6(_0x5d8529,_0x5b21d6,_0x3defb6,_0x32912a,_0x1f41d0,0x15,_0x5bdcd5[0x3f]),_0x1beeac[0x0]=_0x1beeac[0x0]+_0x32912a|0x0,_0x1beeac[0x1]=_0x1beeac[0x1]+_0x5d8529|0x0,_0x1beeac[0x2]=_0x1beeac[0x2]+_0x5b21d6|0x0,_0x1beeac[0x3]=_0x1beeac[0x3]+_0x3defb6|0x0;},'_doFinalize':function(){var _0x201850=_0x15e190,_0x17de0f=this[_0x201850(0x1d5)],_0x8e0d10=_0x17de0f[_0x201850(0xd3)],_0x556390=this[_0x201850(0x2c8)]*0x8,_0x269500=_0x17de0f[_0x201850(0x26f)]*0x8;_0x8e0d10[_0x269500>>>0x5]|=0x80<<0x18-_0x269500%0x20;var _0x24caac=_0xd39336['floor'](_0x556390/0x100000000),_0x457438=_0x556390;_0x8e0d10[(_0x269500+0x40>>>0x9<<0x4)+0xf]=(_0x24caac<<0x8|_0x24caac>>>0x18)&0xff00ff|(_0x24caac<<0x18|_0x24caac>>>0x8)&0xff00ff00,_0x8e0d10[(_0x269500+0x40>>>0x9<<0x4)+0xe]=(_0x457438<<0x8|_0x457438>>>0x18)&0xff00ff|(_0x457438<<0x18|_0x457438>>>0x8)&0xff00ff00,_0x17de0f[_0x201850(0x26f)]=(_0x8e0d10[_0x201850(0x2e2)]+0x1)*0x4,this['_process']();for(var _0x2ca620=this['_hash'],_0x5b1585=_0x2ca620[_0x201850(0xd3)],_0x47f43f=0x0;_0x47f43f<0x4;_0x47f43f++){var _0x57e40f=_0x5b1585[_0x47f43f];_0x5b1585[_0x47f43f]=(_0x57e40f<<0x8|_0x57e40f>>>0x18)&0xff00ff|(_0x57e40f<<0x18|_0x57e40f>>>0x8)&0xff00ff00;}return _0x2ca620;},'clone':function(){var _0x303d7b=_0x15e190,_0x2b432d=_0x132213[_0x303d7b(0x341)][_0x303d7b(0x321)](this);return _0x2b432d[_0x303d7b(0x2da)]=this[_0x303d7b(0x2da)]['clone'](),_0x2b432d;}});function _0x370136(_0xd754d6,_0x15ff05,_0x7afd7c,_0x2e436e,_0x14ba3b,_0x5d1ef2,_0x4ba441){var _0x21abd1=_0xd754d6+(_0x15ff05&_0x7afd7c|~_0x15ff05&_0x2e436e)+_0x14ba3b+_0x4ba441;return(_0x21abd1<<_0x5d1ef2|_0x21abd1>>>0x20-_0x5d1ef2)+_0x15ff05;}function _0x130476(_0x2d85f8,_0x1df21e,_0xda8d0b,_0x369ee3,_0x1b7c82,_0x557a37,_0x353fde){var _0x18293f=_0x2d85f8+(_0x1df21e&_0x369ee3|_0xda8d0b&~_0x369ee3)+_0x1b7c82+_0x353fde;return(_0x18293f<<_0x557a37|_0x18293f>>>0x20-_0x557a37)+_0x1df21e;}function _0x591a83(_0x450261,_0x2f591d,_0x3d8f92,_0x22d805,_0x5f2dfd,_0x27b10e,_0x2b923d){var _0x5ca0ac=_0x450261+(_0x2f591d^_0x3d8f92^_0x22d805)+_0x5f2dfd+_0x2b923d;return(_0x5ca0ac<<_0x27b10e|_0x5ca0ac>>>0x20-_0x27b10e)+_0x2f591d;}function _0x16ca6(_0x451bba,_0x222f0b,_0x7d39b3,_0x56a477,_0x3795a2,_0x328547,_0x3cfc73){var _0x4a3c4d=_0x451bba+(_0x7d39b3^(_0x222f0b|~_0x56a477))+_0x3795a2+_0x3cfc73;return(_0x4a3c4d<<_0x328547|_0x4a3c4d>>>0x20-_0x328547)+_0x222f0b;}_0x19ccb3['MD5']=_0x132213[_0x15e190(0x10d)](_0xdb3a04),_0x19ccb3[_0x15e190(0xd4)]=_0x132213[_0x15e190(0x2bb)](_0xdb3a04);}(Math),_0x3c3f84[_0x25b8e8(0x89)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x32e2f2(0x376)],ei;function Rs(){var _0x11a932=_0x32e2f2;return ei||(ei=0x1,function(_0x2be744,_0x484d1f){(function(_0x4e18db,_0x57a2e0){_0x2be744['exports']=_0x57a2e0(ie());}(Cs,function(_0x4ec39c){var _0x39e98d=_0x36d8;return(function(){var _0x571561=_0x36d8,_0x9b3046=_0x4ec39c,_0x28a936=_0x9b3046[_0x571561(0x34e)],_0x2c7a23=_0x28a936['WordArray'],_0x269b4c=_0x28a936[_0x571561(0x2b6)],_0x3fdefa=_0x9b3046[_0x571561(0xca)],_0x37ccb3=[],_0x142184=_0x3fdefa[_0x571561(0x88)]=_0x269b4c[_0x571561(0x31c)]({'_doReset':function(){var _0x2a25b0=_0x571561;this[_0x2a25b0(0x2da)]=new _0x2c7a23[(_0x2a25b0(0xbc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x50c5b4,_0x386d19){var _0x111ee7=_0x571561;for(var _0x28aad4=this['_hash'][_0x111ee7(0xd3)],_0x27925a=_0x28aad4[0x0],_0x4302d2=_0x28aad4[0x1],_0x5c8d06=_0x28aad4[0x2],_0x54510b=_0x28aad4[0x3],_0x20bd05=_0x28aad4[0x4],_0x2619f0=0x0;_0x2619f0<0x50;_0x2619f0++){if(_0x2619f0<0x10)_0x37ccb3[_0x2619f0]=_0x50c5b4[_0x386d19+_0x2619f0]|0x0;else{var _0x25005d=_0x37ccb3[_0x2619f0-0x3]^_0x37ccb3[_0x2619f0-0x8]^_0x37ccb3[_0x2619f0-0xe]^_0x37ccb3[_0x2619f0-0x10];_0x37ccb3[_0x2619f0]=_0x25005d<<0x1|_0x25005d>>>0x1f;}var _0x364306=(_0x27925a<<0x5|_0x27925a>>>0x1b)+_0x20bd05+_0x37ccb3[_0x2619f0];_0x2619f0<0x14?_0x364306+=(_0x4302d2&_0x5c8d06|~_0x4302d2&_0x54510b)+0x5a827999:_0x2619f0<0x28?_0x364306+=(_0x4302d2^_0x5c8d06^_0x54510b)+0x6ed9eba1:_0x2619f0<0x3c?_0x364306+=(_0x4302d2&_0x5c8d06|_0x4302d2&_0x54510b|_0x5c8d06&_0x54510b)-0x70e44324:_0x364306+=(_0x4302d2^_0x5c8d06^_0x54510b)-0x359d3e2a,_0x20bd05=_0x54510b,_0x54510b=_0x5c8d06,_0x5c8d06=_0x4302d2<<0x1e|_0x4302d2>>>0x2,_0x4302d2=_0x27925a,_0x27925a=_0x364306;}_0x28aad4[0x0]=_0x28aad4[0x0]+_0x27925a|0x0,_0x28aad4[0x1]=_0x28aad4[0x1]+_0x4302d2|0x0,_0x28aad4[0x2]=_0x28aad4[0x2]+_0x5c8d06|0x0,_0x28aad4[0x3]=_0x28aad4[0x3]+_0x54510b|0x0,_0x28aad4[0x4]=_0x28aad4[0x4]+_0x20bd05|0x0;},'_doFinalize':function(){var _0x48203c=_0x571561,_0x1f3f3a=this['_data'],_0x1e3258=_0x1f3f3a[_0x48203c(0xd3)],_0x239e30=this[_0x48203c(0x2c8)]*0x8,_0x3d7483=_0x1f3f3a[_0x48203c(0x26f)]*0x8;return _0x1e3258[_0x3d7483>>>0x5]|=0x80<<0x18-_0x3d7483%0x20,_0x1e3258[(_0x3d7483+0x40>>>0x9<<0x4)+0xe]=Math[_0x48203c(0x1aa)](_0x239e30/0x100000000),_0x1e3258[(_0x3d7483+0x40>>>0x9<<0x4)+0xf]=_0x239e30,_0x1f3f3a[_0x48203c(0x26f)]=_0x1e3258[_0x48203c(0x2e2)]*0x4,this[_0x48203c(0xd2)](),this[_0x48203c(0x2da)];},'clone':function(){var _0xdefc5a=_0x571561,_0x338805=_0x269b4c[_0xdefc5a(0x341)][_0xdefc5a(0x321)](this);return _0x338805[_0xdefc5a(0x2da)]=this[_0xdefc5a(0x2da)]['clone'](),_0x338805;}});_0x9b3046['SHA1']=_0x269b4c['_createHelper'](_0x142184),_0x9b3046[_0x571561(0x2a5)]=_0x269b4c[_0x571561(0x2bb)](_0x142184);}()),_0x4ec39c[_0x39e98d(0x88)];}));}(qe)),qe[_0x11a932(0x376)];}var ze={'exports':{}},bs=ze[_0x32e2f2(0x376)],ti;function Os(){return ti||(ti=0x1,function(_0x400c1f,_0x579313){(function(_0x13308a,_0x4c0c73){var _0x49a433=_0x36d8;_0x400c1f[_0x49a433(0x376)]=_0x4c0c73(ie());}(bs,function(_0x4f40cc){(function(){var _0x54a973=_0x36d8,_0x1666ca=_0x4f40cc,_0x4d4af0=_0x1666ca['lib'],_0x281045=_0x4d4af0[_0x54a973(0x2f8)],_0x5c84f3=_0x1666ca['enc'],_0x1f320a=_0x5c84f3[_0x54a973(0x288)],_0x4b104c=_0x1666ca['algo'];_0x4b104c[_0x54a973(0x7f)]=_0x281045[_0x54a973(0x31c)]({'init':function(_0x4067b0,_0x5615b2){var _0xfdce06=_0x54a973;_0x4067b0=this[_0xfdce06(0x9e)]=new _0x4067b0['init'](),typeof _0x5615b2==_0xfdce06(0xa1)&&(_0x5615b2=_0x1f320a[_0xfdce06(0xcc)](_0x5615b2));var _0x426222=_0x4067b0[_0xfdce06(0xa2)],_0x105f81=_0x426222*0x4;_0x5615b2[_0xfdce06(0x26f)]>_0x105f81&&(_0x5615b2=_0x4067b0[_0xfdce06(0x190)](_0x5615b2)),_0x5615b2[_0xfdce06(0x245)]();for(var _0x224328=this[_0xfdce06(0x352)]=_0x5615b2[_0xfdce06(0x341)](),_0x2889a6=this['_iKey']=_0x5615b2[_0xfdce06(0x341)](),_0x31d3e1=_0x224328['words'],_0x591447=_0x2889a6[_0xfdce06(0xd3)],_0x4a48bf=0x0;_0x4a48bf<_0x426222;_0x4a48bf++)_0x31d3e1[_0x4a48bf]^=0x5c5c5c5c,_0x591447[_0x4a48bf]^=0x36363636;_0x224328[_0xfdce06(0x26f)]=_0x2889a6[_0xfdce06(0x26f)]=_0x105f81,this['reset']();},'reset':function(){var _0x4fee64=_0x54a973,_0x4010a4=this[_0x4fee64(0x9e)];_0x4010a4[_0x4fee64(0x153)](),_0x4010a4[_0x4fee64(0x253)](this[_0x4fee64(0x267)]);},'update':function(_0x27e07e){var _0x232eac=_0x54a973;return this[_0x232eac(0x9e)][_0x232eac(0x253)](_0x27e07e),this;},'finalize':function(_0x5c62f2){var _0x456441=_0x54a973,_0x5689f8=this[_0x456441(0x9e)],_0x399883=_0x5689f8['finalize'](_0x5c62f2);_0x5689f8[_0x456441(0x153)]();var _0x599427=_0x5689f8[_0x456441(0x190)](this[_0x456441(0x352)][_0x456441(0x341)]()[_0x456441(0x1e6)](_0x399883));return _0x599427;}});}());}));}(ze)),ze['exports'];}var ys=Ye['exports'],ii;function Ui(){var _0x2c58cc=_0x32e2f2;return ii||(ii=0x1,function(_0x32c0be,_0x5382a4){(function(_0x4a3449,_0xd966a5,_0x13049b){var _0x5a2c79=_0x36d8;_0x32c0be[_0x5a2c79(0x376)]=_0xd966a5(ie(),Rs(),Os());}(ys,function(_0x5a3495){return(function(){var _0x5ed024=_0x36d8,_0x3cb9cd=_0x5a3495,_0x7cd2b6=_0x3cb9cd['lib'],_0x1f1a14=_0x7cd2b6[_0x5ed024(0x2f8)],_0x1824ef=_0x7cd2b6[_0x5ed024(0x148)],_0x301edd=_0x3cb9cd['algo'],_0x5155d7=_0x301edd[_0x5ed024(0x89)],_0x129158=_0x301edd['EvpKDF']=_0x1f1a14[_0x5ed024(0x31c)]({'cfg':_0x1f1a14[_0x5ed024(0x31c)]({'keySize':0x80/0x20,'hasher':_0x5155d7,'iterations':0x1}),'init':function(_0x400c67){var _0x5d5487=_0x5ed024;this[_0x5d5487(0x11b)]=this['cfg'][_0x5d5487(0x31c)](_0x400c67);},'compute':function(_0x4b54e9,_0x1111c1){var _0x5e4e81=_0x5ed024;for(var _0x143c2b,_0x48dde1=this[_0x5e4e81(0x11b)],_0x5c30e7=_0x48dde1[_0x5e4e81(0x346)]['create'](),_0x5eb3e3=_0x1824ef[_0x5e4e81(0x117)](),_0x5a4a27=_0x5eb3e3[_0x5e4e81(0xd3)],_0x5a9191=_0x48dde1['keySize'],_0x2a84b3=_0x48dde1[_0x5e4e81(0x336)];_0x5a4a27['length']<_0x5a9191;){_0x143c2b&&_0x5c30e7['update'](_0x143c2b),_0x143c2b=_0x5c30e7[_0x5e4e81(0x253)](_0x4b54e9)[_0x5e4e81(0x190)](_0x1111c1),_0x5c30e7[_0x5e4e81(0x153)]();for(var _0x309a7e=0x1;_0x309a7e<_0x2a84b3;_0x309a7e++)_0x143c2b=_0x5c30e7[_0x5e4e81(0x190)](_0x143c2b),_0x5c30e7[_0x5e4e81(0x153)]();_0x5eb3e3[_0x5e4e81(0x1e6)](_0x143c2b);}return _0x5eb3e3[_0x5e4e81(0x26f)]=_0x5a9191*0x4,_0x5eb3e3;}});_0x3cb9cd['EvpKDF']=function(_0x14cbec,_0x121064,_0x41ca86){var _0x2be196=_0x5ed024;return _0x129158[_0x2be196(0x117)](_0x41ca86)[_0x2be196(0x27c)](_0x14cbec,_0x121064);};}()),_0x5a3495['EvpKDF'];}));}(Ye)),Ye[_0x2c58cc(0x376)];}var Je={'exports':{}},Ns=Je[_0x32e2f2(0x376)],ni;function Ai(){var _0x12af95=_0x32e2f2;return ni||(ni=0x1,function(_0x4b22fc,_0x454165){(function(_0x5b58fb,_0xc525b1,_0x11b45f){var _0x19819d=_0x36d8;_0x4b22fc[_0x19819d(0x376)]=_0xc525b1(ie(),Ui());}(Ns,function(_0x37a289){var _0x32d0ab=_0x36d8;_0x37a289[_0x32d0ab(0x34e)]['Cipher']||function(_0x472cc4){var _0x3a0df8=_0x32d0ab,_0x1017ea=_0x37a289,_0x5732d7=_0x1017ea[_0x3a0df8(0x34e)],_0x1c3558=_0x5732d7['Base'],_0x2c3641=_0x5732d7[_0x3a0df8(0x148)],_0x5b5a88=_0x5732d7[_0x3a0df8(0xea)],_0x3569f0=_0x1017ea[_0x3a0df8(0x2d2)];_0x3569f0['Utf8'];var _0x36a7fb=_0x3569f0['Base64'],_0x332dd8=_0x1017ea[_0x3a0df8(0xca)],_0x3b677d=_0x332dd8[_0x3a0df8(0x22f)],_0x3f43de=_0x5732d7[_0x3a0df8(0x259)]=_0x5b5a88[_0x3a0df8(0x31c)]({'cfg':_0x1c3558[_0x3a0df8(0x31c)](),'createEncryptor':function(_0x3c5140,_0x73075){var _0x2cd620=_0x3a0df8;return this['create'](this[_0x2cd620(0x1ae)],_0x3c5140,_0x73075);},'createDecryptor':function(_0x3c9434,_0x4bd54c){var _0x49bffb=_0x3a0df8;return this[_0x49bffb(0x117)](this[_0x49bffb(0x1db)],_0x3c9434,_0x4bd54c);},'init':function(_0x20f49b,_0x734e74,_0x2f3d92){var _0x1cd2a2=_0x3a0df8;this[_0x1cd2a2(0x11b)]=this[_0x1cd2a2(0x11b)][_0x1cd2a2(0x31c)](_0x2f3d92),this[_0x1cd2a2(0x1f9)]=_0x20f49b,this['_key']=_0x734e74,this[_0x1cd2a2(0x153)]();},'reset':function(){var _0x3482d8=_0x3a0df8;_0x5b5a88[_0x3482d8(0x153)]['call'](this),this['_doReset']();},'process':function(_0x817d17){var _0x1f2f04=_0x3a0df8;return this[_0x1f2f04(0x2ba)](_0x817d17),this[_0x1f2f04(0xd2)]();},'finalize':function(_0x235fa4){var _0xf881c5=_0x3a0df8;_0x235fa4&&this[_0xf881c5(0x2ba)](_0x235fa4);var _0xe35513=this[_0xf881c5(0x224)]();return _0xe35513;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x41235a(_0x3e1d64){var _0x1dafd5=_0x36d8;return typeof _0x3e1d64==_0x1dafd5(0xa1)?_0x4e3d3f:_0x29c904;}return function(_0x1bb95){return{'encrypt':function(_0x5cfbea,_0x558dd8,_0x4480cb){var _0x20b1c4=_0x36d8;return _0x41235a(_0x558dd8)[_0x20b1c4(0x328)](_0x1bb95,_0x5cfbea,_0x558dd8,_0x4480cb);},'decrypt':function(_0x413869,_0xd1ee2,_0x153ab9){var _0x2c12c9=_0x36d8;return _0x41235a(_0xd1ee2)[_0x2c12c9(0x255)](_0x1bb95,_0x413869,_0xd1ee2,_0x153ab9);}};};}())});_0x5732d7[_0x3a0df8(0xad)]=_0x3f43de['extend']({'_doFinalize':function(){var _0x2cc468=this['_process'](!0x0);return _0x2cc468;},'blockSize':0x1});var _0x3bdb94=_0x1017ea[_0x3a0df8(0x26a)]={},_0x470e22=_0x5732d7[_0x3a0df8(0x16f)]=_0x1c3558[_0x3a0df8(0x31c)]({'createEncryptor':function(_0x7c1415,_0x41468e){var _0x4ed88c=_0x3a0df8;return this[_0x4ed88c(0xc6)]['create'](_0x7c1415,_0x41468e);},'createDecryptor':function(_0x5de2ce,_0x11c612){var _0x342d47=_0x3a0df8;return this[_0x342d47(0x31f)][_0x342d47(0x117)](_0x5de2ce,_0x11c612);},'init':function(_0x54ff4b,_0xa9b7b7){var _0x39a322=_0x3a0df8;this[_0x39a322(0x356)]=_0x54ff4b,this['_iv']=_0xa9b7b7;}}),_0x555b93=_0x3bdb94['CBC']=(function(){var _0x2d482d=_0x3a0df8,_0x57b0a0=_0x470e22[_0x2d482d(0x31c)]();_0x57b0a0[_0x2d482d(0xc6)]=_0x57b0a0[_0x2d482d(0x31c)]({'processBlock':function(_0x1d4813,_0x4c429e){var _0x42fecf=_0x2d482d,_0x5d5c91=this[_0x42fecf(0x356)],_0x2184e2=_0x5d5c91[_0x42fecf(0xa2)];_0x1a6c34['call'](this,_0x1d4813,_0x4c429e,_0x2184e2),_0x5d5c91[_0x42fecf(0x32e)](_0x1d4813,_0x4c429e),this['_prevBlock']=_0x1d4813['slice'](_0x4c429e,_0x4c429e+_0x2184e2);}}),_0x57b0a0['Decryptor']=_0x57b0a0['extend']({'processBlock':function(_0x36880a,_0x16782f){var _0x569722=_0x2d482d,_0x4f627a=this[_0x569722(0x356)],_0x5ea68c=_0x4f627a['blockSize'],_0xb84cd7=_0x36880a[_0x569722(0x2e9)](_0x16782f,_0x16782f+_0x5ea68c);_0x4f627a['decryptBlock'](_0x36880a,_0x16782f),_0x1a6c34[_0x569722(0x321)](this,_0x36880a,_0x16782f,_0x5ea68c),this['_prevBlock']=_0xb84cd7;}});function _0x1a6c34(_0x46efad,_0x39517f,_0x1af3f7){var _0x76710c=_0x2d482d,_0x378ed5,_0xead57b=this[_0x76710c(0xd8)];_0xead57b?(_0x378ed5=_0xead57b,this['_iv']=_0x472cc4):_0x378ed5=this['_prevBlock'];for(var _0x166d44=0x0;_0x166d44<_0x1af3f7;_0x166d44++)_0x46efad[_0x39517f+_0x166d44]^=_0x378ed5[_0x166d44];}return _0x57b0a0;}()),_0x15ba87=_0x1017ea['pad']={},_0x1d7ed2=_0x15ba87[_0x3a0df8(0x272)]={'pad':function(_0x1fb167,_0x41124a){var _0x2b3f84=_0x3a0df8;for(var _0x159242=_0x41124a*0x4,_0x39a12d=_0x159242-_0x1fb167[_0x2b3f84(0x26f)]%_0x159242,_0x1c8b12=_0x39a12d<<0x18|_0x39a12d<<0x10|_0x39a12d<<0x8|_0x39a12d,_0x5bb520=[],_0x249279=0x0;_0x249279<_0x39a12d;_0x249279+=0x4)_0x5bb520[_0x2b3f84(0x21f)](_0x1c8b12);var _0x2e9be5=_0x2c3641[_0x2b3f84(0x117)](_0x5bb520,_0x39a12d);_0x1fb167[_0x2b3f84(0x1e6)](_0x2e9be5);},'unpad':function(_0x569710){var _0x21af36=_0x3a0df8,_0x2cf1f1=_0x569710['words'][_0x569710[_0x21af36(0x26f)]-0x1>>>0x2]&0xff;_0x569710['sigBytes']-=_0x2cf1f1;}};_0x5732d7[_0x3a0df8(0x278)]=_0x3f43de[_0x3a0df8(0x31c)]({'cfg':_0x3f43de[_0x3a0df8(0x11b)][_0x3a0df8(0x31c)]({'mode':_0x555b93,'padding':_0x1d7ed2}),'reset':function(){var _0x2ab5d9=_0x3a0df8,_0x4cae46;_0x3f43de[_0x2ab5d9(0x153)]['call'](this);var _0x219dec=this[_0x2ab5d9(0x11b)],_0x5bb03d=_0x219dec['iv'],_0x581e81=_0x219dec['mode'];this[_0x2ab5d9(0x1f9)]==this[_0x2ab5d9(0x1ae)]?_0x4cae46=_0x581e81[_0x2ab5d9(0x200)]:(_0x4cae46=_0x581e81[_0x2ab5d9(0x383)],this[_0x2ab5d9(0x24c)]=0x1),this[_0x2ab5d9(0x24a)]&&this[_0x2ab5d9(0x24a)][_0x2ab5d9(0xe8)]==_0x4cae46?this[_0x2ab5d9(0x24a)][_0x2ab5d9(0xbc)](this,_0x5bb03d&&_0x5bb03d['words']):(this[_0x2ab5d9(0x24a)]=_0x4cae46[_0x2ab5d9(0x321)](_0x581e81,this,_0x5bb03d&&_0x5bb03d[_0x2ab5d9(0xd3)]),this[_0x2ab5d9(0x24a)]['__creator']=_0x4cae46);},'_doProcessBlock':function(_0x2e8e38,_0x4b2b0e){var _0x146659=_0x3a0df8;this['_mode'][_0x146659(0xa0)](_0x2e8e38,_0x4b2b0e);},'_doFinalize':function(){var _0xba4f7d=_0x3a0df8,_0x468eaa,_0x4d70b5=this['cfg']['padding'];return this[_0xba4f7d(0x1f9)]==this[_0xba4f7d(0x1ae)]?(_0x4d70b5[_0xba4f7d(0x86)](this[_0xba4f7d(0x1d5)],this[_0xba4f7d(0xa2)]),_0x468eaa=this[_0xba4f7d(0xd2)](!0x0)):(_0x468eaa=this[_0xba4f7d(0xd2)](!0x0),_0x4d70b5['unpad'](_0x468eaa)),_0x468eaa;},'blockSize':0x80/0x20});var _0x4778cb=_0x5732d7['CipherParams']=_0x1c3558[_0x3a0df8(0x31c)]({'init':function(_0x351ecb){var _0x1edf45=_0x3a0df8;this[_0x1edf45(0x1c5)](_0x351ecb);},'toString':function(_0x5894fc){var _0x2cad09=_0x3a0df8;return(_0x5894fc||this[_0x2cad09(0x1b1)])['stringify'](this);}}),_0x1e8d9b=_0x1017ea['format']={},_0x231761=_0x1e8d9b[_0x3a0df8(0x103)]={'stringify':function(_0x2de05a){var _0x22b5ee=_0x3a0df8,_0x555da7,_0x2d6985=_0x2de05a[_0x22b5ee(0x24d)],_0x32c04a=_0x2de05a[_0x22b5ee(0x97)];return _0x32c04a?_0x555da7=_0x2c3641[_0x22b5ee(0x117)]([0x53616c74,0x65645f5f])['concat'](_0x32c04a)[_0x22b5ee(0x1e6)](_0x2d6985):_0x555da7=_0x2d6985,_0x555da7[_0x22b5ee(0x110)](_0x36a7fb);},'parse':function(_0x11f52d){var _0x3b8374=_0x3a0df8,_0x31babd,_0x32bbc2=_0x36a7fb[_0x3b8374(0xcc)](_0x11f52d),_0x23cdf9=_0x32bbc2[_0x3b8374(0xd3)];return _0x23cdf9[0x0]==0x53616c74&&_0x23cdf9[0x1]==0x65645f5f&&(_0x31babd=_0x2c3641[_0x3b8374(0x117)](_0x23cdf9[_0x3b8374(0x2e9)](0x2,0x4)),_0x23cdf9[_0x3b8374(0x250)](0x0,0x4),_0x32bbc2[_0x3b8374(0x26f)]-=0x10),_0x4778cb[_0x3b8374(0x117)]({'ciphertext':_0x32bbc2,'salt':_0x31babd});}},_0x29c904=_0x5732d7['SerializableCipher']=_0x1c3558[_0x3a0df8(0x31c)]({'cfg':_0x1c3558[_0x3a0df8(0x31c)]({'format':_0x231761}),'encrypt':function(_0x55d476,_0x15a654,_0x351872,_0x39f53b){var _0x5b35b2=_0x3a0df8;_0x39f53b=this[_0x5b35b2(0x11b)][_0x5b35b2(0x31c)](_0x39f53b);var _0xb1bfa=_0x55d476[_0x5b35b2(0x200)](_0x351872,_0x39f53b),_0x5c77b6=_0xb1bfa['finalize'](_0x15a654),_0xf5f122=_0xb1bfa[_0x5b35b2(0x11b)];return _0x4778cb[_0x5b35b2(0x117)]({'ciphertext':_0x5c77b6,'key':_0x351872,'iv':_0xf5f122['iv'],'algorithm':_0x55d476,'mode':_0xf5f122[_0x5b35b2(0x26a)],'padding':_0xf5f122['padding'],'blockSize':_0x55d476[_0x5b35b2(0xa2)],'formatter':_0x39f53b[_0x5b35b2(0xfd)]});},'decrypt':function(_0x4ca67f,_0x1a7feb,_0x5153b7,_0x4d6148){var _0x4f8118=_0x3a0df8;_0x4d6148=this['cfg'][_0x4f8118(0x31c)](_0x4d6148),_0x1a7feb=this[_0x4f8118(0x351)](_0x1a7feb,_0x4d6148['format']);var _0x15d415=_0x4ca67f['createDecryptor'](_0x5153b7,_0x4d6148)[_0x4f8118(0x190)](_0x1a7feb[_0x4f8118(0x24d)]);return _0x15d415;},'_parse':function(_0x164828,_0x277054){var _0x5345b7=_0x3a0df8;return typeof _0x164828==_0x5345b7(0xa1)?_0x277054['parse'](_0x164828,this):_0x164828;}}),_0x2df863=_0x1017ea[_0x3a0df8(0x196)]={},_0x319678=_0x2df863[_0x3a0df8(0x103)]={'execute':function(_0x5e9d94,_0x2c4a37,_0x460306,_0x1477a7,_0x3067b7){var _0x4a8ee2=_0x3a0df8;if(_0x1477a7||(_0x1477a7=_0x2c3641[_0x4a8ee2(0x34d)](0x40/0x8)),_0x3067b7)var _0x461e2c=_0x3b677d[_0x4a8ee2(0x117)]({'keySize':_0x2c4a37+_0x460306,'hasher':_0x3067b7})[_0x4a8ee2(0x27c)](_0x5e9d94,_0x1477a7);else var _0x461e2c=_0x3b677d['create']({'keySize':_0x2c4a37+_0x460306})[_0x4a8ee2(0x27c)](_0x5e9d94,_0x1477a7);var _0x355fa8=_0x2c3641['create'](_0x461e2c[_0x4a8ee2(0xd3)][_0x4a8ee2(0x2e9)](_0x2c4a37),_0x460306*0x4);return _0x461e2c[_0x4a8ee2(0x26f)]=_0x2c4a37*0x4,_0x4778cb['create']({'key':_0x461e2c,'iv':_0x355fa8,'salt':_0x1477a7});}},_0x4e3d3f=_0x5732d7[_0x3a0df8(0x27b)]=_0x29c904[_0x3a0df8(0x31c)]({'cfg':_0x29c904[_0x3a0df8(0x11b)][_0x3a0df8(0x31c)]({'kdf':_0x319678}),'encrypt':function(_0x29b891,_0x15f067,_0x58c5a0,_0x229ad0){var _0x205af7=_0x3a0df8;_0x229ad0=this[_0x205af7(0x11b)][_0x205af7(0x31c)](_0x229ad0);var _0xbc2abd=_0x229ad0[_0x205af7(0x196)][_0x205af7(0x28e)](_0x58c5a0,_0x29b891[_0x205af7(0x29a)],_0x29b891[_0x205af7(0x216)],_0x229ad0['salt'],_0x229ad0[_0x205af7(0x346)]);_0x229ad0['iv']=_0xbc2abd['iv'];var _0x113bdb=_0x29c904[_0x205af7(0x328)]['call'](this,_0x29b891,_0x15f067,_0xbc2abd[_0x205af7(0x126)],_0x229ad0);return _0x113bdb[_0x205af7(0x1c5)](_0xbc2abd),_0x113bdb;},'decrypt':function(_0x43d029,_0x32bb1b,_0x45826e,_0x47ef67){var _0x4a788f=_0x3a0df8;_0x47ef67=this[_0x4a788f(0x11b)][_0x4a788f(0x31c)](_0x47ef67),_0x32bb1b=this[_0x4a788f(0x351)](_0x32bb1b,_0x47ef67[_0x4a788f(0xfd)]);var _0x580e57=_0x47ef67['kdf'][_0x4a788f(0x28e)](_0x45826e,_0x43d029['keySize'],_0x43d029['ivSize'],_0x32bb1b['salt'],_0x47ef67['hasher']);_0x47ef67['iv']=_0x580e57['iv'];var _0x2f7a96=_0x29c904[_0x4a788f(0x255)][_0x4a788f(0x321)](this,_0x43d029,_0x32bb1b,_0x580e57[_0x4a788f(0x126)],_0x47ef67);return _0x2f7a96;}});}();}));}(Je)),Je[_0x12af95(0x376)];}var Ds=Ve[_0x32e2f2(0x376)],si;function Us(){var _0x322cc5=_0x32e2f2;return si||(si=0x1,function(_0x6e6572,_0x582e7d){(function(_0x2f1e68,_0x4faf8c,_0x36f035){_0x6e6572['exports']=_0x4faf8c(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x417965){var _0x3a8623=_0x36d8;return(function(){var _0x2ab23d=_0x36d8,_0x159fa1=_0x417965,_0x3ecef9=_0x159fa1['lib'],_0x2b5c05=_0x3ecef9['BlockCipher'],_0x595159=_0x159fa1[_0x2ab23d(0xca)],_0x35db7c=[],_0x422d3a=[],_0x4bb514=[],_0x4e266c=[],_0x37b4e7=[],_0x1eeefc=[],_0x42bae2=[],_0x3b27fd=[],_0x4248cf=[],_0x202e94=[];(function(){for(var _0x2f5578=[],_0x578aa3=0x0;_0x578aa3<0x100;_0x578aa3++)_0x578aa3<0x80?_0x2f5578[_0x578aa3]=_0x578aa3<<0x1:_0x2f5578[_0x578aa3]=_0x578aa3<<0x1^0x11b;for(var _0x49f5c8=0x0,_0x3e8dfb=0x0,_0x578aa3=0x0;_0x578aa3<0x100;_0x578aa3++){var _0x59a9cd=_0x3e8dfb^_0x3e8dfb<<0x1^_0x3e8dfb<<0x2^_0x3e8dfb<<0x3^_0x3e8dfb<<0x4;_0x59a9cd=_0x59a9cd>>>0x8^_0x59a9cd&0xff^0x63,_0x35db7c[_0x49f5c8]=_0x59a9cd,_0x422d3a[_0x59a9cd]=_0x49f5c8;var _0x5b6d24=_0x2f5578[_0x49f5c8],_0x537ed5=_0x2f5578[_0x5b6d24],_0xe92fbd=_0x2f5578[_0x537ed5],_0x109906=_0x2f5578[_0x59a9cd]*0x101^_0x59a9cd*0x1010100;_0x4bb514[_0x49f5c8]=_0x109906<<0x18|_0x109906>>>0x8,_0x4e266c[_0x49f5c8]=_0x109906<<0x10|_0x109906>>>0x10,_0x37b4e7[_0x49f5c8]=_0x109906<<0x8|_0x109906>>>0x18,_0x1eeefc[_0x49f5c8]=_0x109906;var _0x109906=_0xe92fbd*0x1010101^_0x537ed5*0x10001^_0x5b6d24*0x101^_0x49f5c8*0x1010100;_0x42bae2[_0x59a9cd]=_0x109906<<0x18|_0x109906>>>0x8,_0x3b27fd[_0x59a9cd]=_0x109906<<0x10|_0x109906>>>0x10,_0x4248cf[_0x59a9cd]=_0x109906<<0x8|_0x109906>>>0x18,_0x202e94[_0x59a9cd]=_0x109906,_0x49f5c8?(_0x49f5c8=_0x5b6d24^_0x2f5578[_0x2f5578[_0x2f5578[_0xe92fbd^_0x5b6d24]]],_0x3e8dfb^=_0x2f5578[_0x2f5578[_0x3e8dfb]]):_0x49f5c8=_0x3e8dfb=0x1;}}());var _0x2eb99e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x33ce8b=_0x595159['AES']=_0x2b5c05[_0x2ab23d(0x31c)]({'_doReset':function(){var _0x482dc1=_0x2ab23d,_0x5e9e3f;if(!(this[_0x482dc1(0x8d)]&&this[_0x482dc1(0x370)]===this[_0x482dc1(0x82)])){for(var _0x5018ff=this[_0x482dc1(0x370)]=this['_key'],_0xb259b4=_0x5018ff[_0x482dc1(0xd3)],_0x2eb11e=_0x5018ff[_0x482dc1(0x26f)]/0x4,_0x46843f=this[_0x482dc1(0x8d)]=_0x2eb11e+0x6,_0x322fdf=(_0x46843f+0x1)*0x4,_0x241238=this[_0x482dc1(0x207)]=[],_0x148b61=0x0;_0x148b61<_0x322fdf;_0x148b61++)_0x148b61<_0x2eb11e?_0x241238[_0x148b61]=_0xb259b4[_0x148b61]:(_0x5e9e3f=_0x241238[_0x148b61-0x1],_0x148b61%_0x2eb11e?_0x2eb11e>0x6&&_0x148b61%_0x2eb11e==0x4&&(_0x5e9e3f=_0x35db7c[_0x5e9e3f>>>0x18]<<0x18|_0x35db7c[_0x5e9e3f>>>0x10&0xff]<<0x10|_0x35db7c[_0x5e9e3f>>>0x8&0xff]<<0x8|_0x35db7c[_0x5e9e3f&0xff]):(_0x5e9e3f=_0x5e9e3f<<0x8|_0x5e9e3f>>>0x18,_0x5e9e3f=_0x35db7c[_0x5e9e3f>>>0x18]<<0x18|_0x35db7c[_0x5e9e3f>>>0x10&0xff]<<0x10|_0x35db7c[_0x5e9e3f>>>0x8&0xff]<<0x8|_0x35db7c[_0x5e9e3f&0xff],_0x5e9e3f^=_0x2eb99e[_0x148b61/_0x2eb11e|0x0]<<0x18),_0x241238[_0x148b61]=_0x241238[_0x148b61-_0x2eb11e]^_0x5e9e3f);for(var _0x52f522=this[_0x482dc1(0x236)]=[],_0x4d9aa4=0x0;_0x4d9aa4<_0x322fdf;_0x4d9aa4++){var _0x148b61=_0x322fdf-_0x4d9aa4;if(_0x4d9aa4%0x4)var _0x5e9e3f=_0x241238[_0x148b61];else var _0x5e9e3f=_0x241238[_0x148b61-0x4];_0x4d9aa4<0x4||_0x148b61<=0x4?_0x52f522[_0x4d9aa4]=_0x5e9e3f:_0x52f522[_0x4d9aa4]=_0x42bae2[_0x35db7c[_0x5e9e3f>>>0x18]]^_0x3b27fd[_0x35db7c[_0x5e9e3f>>>0x10&0xff]]^_0x4248cf[_0x35db7c[_0x5e9e3f>>>0x8&0xff]]^_0x202e94[_0x35db7c[_0x5e9e3f&0xff]];}}},'encryptBlock':function(_0x5de686,_0x4df2b6){var _0x322819=_0x2ab23d;this[_0x322819(0xb5)](_0x5de686,_0x4df2b6,this[_0x322819(0x207)],_0x4bb514,_0x4e266c,_0x37b4e7,_0x1eeefc,_0x35db7c);},'decryptBlock':function(_0x17a0cc,_0x3decce){var _0x5a4b16=_0x2ab23d,_0x2f1024=_0x17a0cc[_0x3decce+0x1];_0x17a0cc[_0x3decce+0x1]=_0x17a0cc[_0x3decce+0x3],_0x17a0cc[_0x3decce+0x3]=_0x2f1024,this['_doCryptBlock'](_0x17a0cc,_0x3decce,this[_0x5a4b16(0x236)],_0x42bae2,_0x3b27fd,_0x4248cf,_0x202e94,_0x422d3a);var _0x2f1024=_0x17a0cc[_0x3decce+0x1];_0x17a0cc[_0x3decce+0x1]=_0x17a0cc[_0x3decce+0x3],_0x17a0cc[_0x3decce+0x3]=_0x2f1024;},'_doCryptBlock':function(_0x4406c9,_0x5628c5,_0x150800,_0xd7881c,_0x25257f,_0x21f03c,_0x2970c6,_0x3fd734){for(var _0x57790b=this['_nRounds'],_0x5379d2=_0x4406c9[_0x5628c5]^_0x150800[0x0],_0x47a901=_0x4406c9[_0x5628c5+0x1]^_0x150800[0x1],_0x4f8fd7=_0x4406c9[_0x5628c5+0x2]^_0x150800[0x2],_0x5e8647=_0x4406c9[_0x5628c5+0x3]^_0x150800[0x3],_0x27bb62=0x4,_0x334239=0x1;_0x334239<_0x57790b;_0x334239++){var _0x5744bc=_0xd7881c[_0x5379d2>>>0x18]^_0x25257f[_0x47a901>>>0x10&0xff]^_0x21f03c[_0x4f8fd7>>>0x8&0xff]^_0x2970c6[_0x5e8647&0xff]^_0x150800[_0x27bb62++],_0x210966=_0xd7881c[_0x47a901>>>0x18]^_0x25257f[_0x4f8fd7>>>0x10&0xff]^_0x21f03c[_0x5e8647>>>0x8&0xff]^_0x2970c6[_0x5379d2&0xff]^_0x150800[_0x27bb62++],_0x27a89a=_0xd7881c[_0x4f8fd7>>>0x18]^_0x25257f[_0x5e8647>>>0x10&0xff]^_0x21f03c[_0x5379d2>>>0x8&0xff]^_0x2970c6[_0x47a901&0xff]^_0x150800[_0x27bb62++],_0x57f863=_0xd7881c[_0x5e8647>>>0x18]^_0x25257f[_0x5379d2>>>0x10&0xff]^_0x21f03c[_0x47a901>>>0x8&0xff]^_0x2970c6[_0x4f8fd7&0xff]^_0x150800[_0x27bb62++];_0x5379d2=_0x5744bc,_0x47a901=_0x210966,_0x4f8fd7=_0x27a89a,_0x5e8647=_0x57f863;}var _0x5744bc=(_0x3fd734[_0x5379d2>>>0x18]<<0x18|_0x3fd734[_0x47a901>>>0x10&0xff]<<0x10|_0x3fd734[_0x4f8fd7>>>0x8&0xff]<<0x8|_0x3fd734[_0x5e8647&0xff])^_0x150800[_0x27bb62++],_0x210966=(_0x3fd734[_0x47a901>>>0x18]<<0x18|_0x3fd734[_0x4f8fd7>>>0x10&0xff]<<0x10|_0x3fd734[_0x5e8647>>>0x8&0xff]<<0x8|_0x3fd734[_0x5379d2&0xff])^_0x150800[_0x27bb62++],_0x27a89a=(_0x3fd734[_0x4f8fd7>>>0x18]<<0x18|_0x3fd734[_0x5e8647>>>0x10&0xff]<<0x10|_0x3fd734[_0x5379d2>>>0x8&0xff]<<0x8|_0x3fd734[_0x47a901&0xff])^_0x150800[_0x27bb62++],_0x57f863=(_0x3fd734[_0x5e8647>>>0x18]<<0x18|_0x3fd734[_0x5379d2>>>0x10&0xff]<<0x10|_0x3fd734[_0x47a901>>>0x8&0xff]<<0x8|_0x3fd734[_0x4f8fd7&0xff])^_0x150800[_0x27bb62++];_0x4406c9[_0x5628c5]=_0x5744bc,_0x4406c9[_0x5628c5+0x1]=_0x210966,_0x4406c9[_0x5628c5+0x2]=_0x27a89a,_0x4406c9[_0x5628c5+0x3]=_0x57f863;},'keySize':0x100/0x20});_0x159fa1[_0x2ab23d(0x2b4)]=_0x2b5c05[_0x2ab23d(0x10d)](_0x33ce8b);}()),_0x417965[_0x3a8623(0x2b4)];}));}(Ve)),Ve[_0x322cc5(0x376)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x32e2f2(0x376)],ai;function xs(){var _0x5f29c7=_0x32e2f2;return ai||(ai=0x1,function(_0xdaf1f2,_0x15468d){(function(_0x5b511d,_0x36ea04){var _0x2accf3=_0x36d8;_0xdaf1f2[_0x2accf3(0x376)]=_0x36ea04(ie());}(Ls,function(_0x1407a9){var _0x248650=_0x36d8;return _0x1407a9['enc'][_0x248650(0x288)];}));}(Xe)),Xe[_0x5f29c7(0x376)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x32e2f2(0x376)],oi;function Hs(){var _0xd70457=_0x32e2f2;return oi||(oi=0x1,function(_0x4f3cb8,_0x356c94){(function(_0xbf38e9,_0x2e37c8){_0x4f3cb8['exports']=_0x2e37c8(ie());}($s,function(_0x40f7a1){var _0x43064b=_0x36d8;return(function(){var _0x243e3f=_0x36d8;if(typeof ArrayBuffer=='function'){var _0x356c76=_0x40f7a1,_0x1fda6a=_0x356c76[_0x243e3f(0x34e)],_0x42b9a7=_0x1fda6a[_0x243e3f(0x148)],_0x46b352=_0x42b9a7[_0x243e3f(0xbc)],_0x491d22=_0x42b9a7[_0x243e3f(0xbc)]=function(_0x2c697e){var _0x97586e=_0x243e3f;if(_0x2c697e instanceof ArrayBuffer&&(_0x2c697e=new Uint8Array(_0x2c697e)),(_0x2c697e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2c697e instanceof Uint8ClampedArray||_0x2c697e instanceof Int16Array||_0x2c697e instanceof Uint16Array||_0x2c697e instanceof Int32Array||_0x2c697e instanceof Uint32Array||_0x2c697e instanceof Float32Array||_0x2c697e instanceof Float64Array)&&(_0x2c697e=new Uint8Array(_0x2c697e[_0x97586e(0xf3)],_0x2c697e[_0x97586e(0xf4)],_0x2c697e['byteLength'])),_0x2c697e instanceof Uint8Array){for(var _0x1f0fff=_0x2c697e[_0x97586e(0x2de)],_0x1b93f3=[],_0x1dca48=0x0;_0x1dca48<_0x1f0fff;_0x1dca48++)_0x1b93f3[_0x1dca48>>>0x2]|=_0x2c697e[_0x1dca48]<<0x18-_0x1dca48%0x4*0x8;_0x46b352[_0x97586e(0x321)](this,_0x1b93f3,_0x1f0fff);}else _0x46b352[_0x97586e(0x1c7)](this,arguments);};_0x491d22['prototype']=_0x42b9a7;}}()),_0x40f7a1[_0x43064b(0x34e)][_0x43064b(0x148)];}));}(Ze)),Ze[_0xd70457(0x376)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe['exports'],ci;function Vs(){return ci||(ci=0x1,function(_0x179cec,_0x113d3e){(function(_0x10fc2a,_0x2bc08b,_0x2bab99){var _0x198520=_0x36d8;_0x179cec[_0x198520(0x376)]=_0x2bc08b(ie(),Ai());}(Fs,function(_0x48d460){var _0x36694b=_0x36d8;return _0x48d460['pad'][_0x36694b(0x202)]={'pad':function(){},'unpad':function(){}},_0x48d460[_0x36694b(0x86)]['NoPadding'];}));}(Qe)),Qe['exports'];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x86e6b8,_0x31dd30){var _0x125066=_0x32e2f2;const _0x388471=_0x31dd30-_0x86e6b8['length']%_0x31dd30,_0x2bc044=String[_0x125066(0x36e)](_0x388471)[_0x125066(0x240)](_0x388471);return _0x86e6b8+_0x2bc044;}function Ys(_0xfd5fd,_0x5dcac4){var _0x4c5253=_0x32e2f2;const _0x29bcca=js['random'](0x10),_0x434c83=Ks(_0xfd5fd,0x10),_0x5f0d90=ws[_0x4c5253(0x328)](ks[_0x4c5253(0xcc)](_0x434c83),ri['parse'](_0x5dcac4),{'iv':_0x29bcca,'padding':Ws});return _0x29bcca[_0x4c5253(0x1e6)](_0x5f0d90[_0x4c5253(0x24d)])[_0x4c5253(0x110)](ri);}function qs(){var _0x91d769=_0x32e2f2;const _0x463b44=_0x3bde72()['__Key__'];if(_0x463b44){const _0x50305e={'time':Math[_0x91d769(0x1aa)](Date[_0x91d769(0x302)]()/0x3e8),'domain':location[_0x91d769(0x277)]};return Ys(JSON[_0x91d769(0x105)](_0x50305e),_0x463b44);}}var zs=Object[_0x32e2f2(0x266)],Js=(_0x49e3cd,_0x1fe222,_0x2f135d,_0x377f48)=>{var _0x20f629=_0x32e2f2;for(var _0x4c8f90=_0x377f48>0x1?void 0x0:_0x377f48?zs(_0x1fe222,_0x2f135d):_0x1fe222,_0x411a5f=_0x49e3cd[_0x20f629(0x2e2)]-0x1,_0x34bd92;_0x411a5f>=0x0;_0x411a5f--)(_0x34bd92=_0x49e3cd[_0x411a5f])&&(_0x4c8f90=_0x34bd92(_0x4c8f90)||_0x4c8f90);return _0x4c8f90;},Xs=(_0x5207de,_0x2f23b5)=>(_0x4f2a13,_0x57d3f2)=>_0x2f23b5(_0x4f2a13,_0x57d3f2,_0x5207de);let at=class{constructor(_0x5a339e){var _0x2c1b37=_0x32e2f2;this[_0x2c1b37(0x2b9)]=_0x5a339e,this['_initRequestHeader']();}[_0x32e2f2(0x1a1)](){var _0x3ceba4=_0x32e2f2;this['_httpService'][_0x3ceba4(0xfc)]({'interceptor':(_0x3fb05b,_0x151255)=>{var _0x552ec0=_0x3ceba4;const _0x3b8c84=_0x3fb05b[_0x552ec0(0x1d6)],_0x111570=qs();return _0x111570&&_0x3b8c84[_0x552ec0(0x333)](_0x552ec0(0x16d),_0x111570),_0x151255(_0x3fb05b);}});}};at=Js([Xs(0x0,_0xf49784(_0x18ded5))],at);var Zs=Object[_0x32e2f2(0x266)],Qs=(_0x4a5b5b,_0x5f3340,_0x21e1df,_0x329955)=>{var _0x14c69b=_0x32e2f2;for(var _0x1d3cbe=_0x329955>0x1?void 0x0:_0x329955?Zs(_0x5f3340,_0x21e1df):_0x5f3340,_0x39e04a=_0x4a5b5b[_0x14c69b(0x2e2)]-0x1,_0x5d154b;_0x39e04a>=0x0;_0x39e04a--)(_0x5d154b=_0x4a5b5b[_0x39e04a])&&(_0x1d3cbe=_0x5d154b(_0x1d3cbe)||_0x1d3cbe);return _0x1d3cbe;},mt=(_0x23361a,_0x141ddf)=>(_0x187060,_0x4f9b19)=>_0x141ddf(_0x187060,_0x4f9b19,_0x23361a);let bt=class extends _0x1005e4{constructor(_0x429875,_0x1c9212,_0xe59e4b){var _0x26740b=_0x32e2f2;super(),N(this,_0x26740b(0xa3),new _0x17ac9d(null)),N(this,_0x26740b(0x83),this['_unitInfo$']['asObservable']()),(this[_0x26740b(0xc3)]=_0x429875,this[_0x26740b(0x9f)]=_0x1c9212,this['_localCacheService']=_0xe59e4b);}async['loadUnit'](_0x201bff,_0x320d23,_0x3149d7){var _0x1faee9=_0x32e2f2;this[_0x1faee9(0xa3)][_0x1faee9(0x364)]({'unitId':_0x201bff,'type':_0x320d23,'subUnitId':_0x3149d7});let _0x130117=null;switch(_0x320d23){case Q[_0x1faee9(0x118)]:{_0x130117=await this[_0x1faee9(0x246)](_0x201bff);break;}case Q[_0x1faee9(0x1ef)]:{_0x130117=await this[_0x1faee9(0x8f)](_0x201bff);break;}default:{this['_logService'][_0x1faee9(0xee)](_0x1faee9(0x382),_0x1faee9(0x347));break;}}return _0x130117;}async[_0x32e2f2(0x246)](_0x1a0862){var _0xc9a00d=_0x32e2f2,_0x388d9f;let _0x5ce9e8=0x0;const _0x5a1358=await((_0x388d9f=this[_0xc9a00d(0x36d)])==null?void 0x0:_0x388d9f['loadOfflineData'](_0x1a0862));return _0x5a1358&&(_0x5a1358['awaitingChangeset']||_0x5a1358['mutations'][_0xc9a00d(0x2e2)]!==0x0)&&(_0x5ce9e8=_0x5a1358[_0xc9a00d(0x312)]),_0x5ce9e8===0x0&&this[_0xc9a00d(0xc3)][_0xc9a00d(0x313)](_0xc9a00d(0x382),_0xc9a00d(0x18c)),this[_0xc9a00d(0x9f)][_0xc9a00d(0x1dd)](_0x1a0862,_0x5ce9e8);}async[_0x32e2f2(0x8f)](_0x395e91){var _0x2bc305=_0x32e2f2,_0x5c46e0;let _0x206c6e=0x0;const _0x9c639c=await((_0x5c46e0=this[_0x2bc305(0x36d)])==null?void 0x0:_0x5c46e0[_0x2bc305(0x222)](_0x395e91));return _0x9c639c&&(_0x9c639c['awaitingChangeset']||_0x9c639c[_0x2bc305(0x166)][_0x2bc305(0x2e2)]!==0x0)&&(_0x206c6e=_0x9c639c[_0x2bc305(0x312)]),_0x206c6e===0x0&&this['_logService']['debug'](_0x2bc305(0x382),_0x2bc305(0x18c)),this['_snapshotService'][_0x2bc305(0xb4)](_0x395e91,_0x206c6e);}};bt=Qs([mt(0x0,_0x21b260),mt(0x1,_0xf49784(_0x475991)),mt(0x2,_0x263250(J))],bt);var er=Object[_0x32e2f2(0x266)],tr=(_0x2caf30,_0x57a77a,_0xdf581d,_0x11fbfc)=>{for(var _0x38b57f=_0x11fbfc>0x1?void 0x0:_0x11fbfc?er(_0x57a77a,_0xdf581d):_0x57a77a,_0x4863f5=_0x2caf30['length']-0x1,_0x2d62b3;_0x4863f5>=0x0;_0x4863f5--)(_0x2d62b3=_0x2caf30[_0x4863f5])&&(_0x38b57f=_0x2d62b3(_0x38b57f)||_0x38b57f);return _0x38b57f;},gt=(_0x1c4800,_0x58dfff)=>(_0x49acce,_0x4831f0)=>_0x58dfff(_0x49acce,_0x4831f0,_0x1c4800);const ir=[_0x32e2f2(0x34a),_0x32e2f2(0x2fd),_0x32e2f2(0x20b),_0x32e2f2(0x162),_0x32e2f2(0x299)],nr=0x5*0x400*0x400,sr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rr='/universer-api/stream/file/upload',ar=_0x32e2f2(0x194),or=_0x32e2f2(0x21b);let Ot=class{constructor(_0x54c7be,_0x4a5987,_0x44c2e3){var _0x4ad819=_0x32e2f2;N(this,_0x4ad819(0x2fc),0x0),N(this,_0x4ad819(0xdf),new _0x2fe298()),N(this,_0x4ad819(0xd6),this[_0x4ad819(0xdf)]),N(this,_0x4ad819(0x1de),new Map()),(this[_0x4ad819(0x2b9)]=_0x54c7be,this[_0x4ad819(0xae)]=_0x4a5987,this['_univerInstanceService']=_0x44c2e3);}[_0x32e2f2(0x14e)](_0x2e1d98){var _0x25f8c8=_0x32e2f2;this[_0x25f8c8(0x2fc)]=_0x2e1d98,this['_change$']['next'](_0x2e1d98);}[_0x32e2f2(0x2e6)](_0xb5cd99,_0x50ada5){var _0x4e9477=_0x32e2f2;if(_0x50ada5===_0xf15305[_0x4e9477(0xe1)]){const _0xfe6508=new Image();return _0xfe6508[_0x4e9477(0x2df)]=_0xb5cd99,_0xfe6508;}return this[_0x4e9477(0x1de)][_0x4e9477(0x281)](_0xb5cd99);}[_0x32e2f2(0x20a)](_0x55a492,_0x5a06a0,_0x31431e){var _0x4639b0=_0x32e2f2;_0x5a06a0===_0xf15305[_0x4639b0(0xe1)]||_0x31431e==null||this[_0x4639b0(0x1de)]['set'](_0x55a492,_0x31431e);}async[_0x32e2f2(0x232)](_0x2116ce){var _0x28ac9f=_0x32e2f2;try{const _0x4a0bd7=this[_0x28ac9f(0x243)](this[_0x28ac9f(0x158)](),''+_0x2116ce),_0x56163c=(await this[_0x28ac9f(0x2b9)][_0x28ac9f(0x281)](_0x4a0bd7))[_0x28ac9f(0x164)];if(_0x56163c[_0x28ac9f(0xee)]&&_0x56163c[_0x28ac9f(0xee)][_0x28ac9f(0x223)]===Si['OK']){const _0x9d2d9=new URL(_0x56163c[_0x28ac9f(0x84)],this[_0x28ac9f(0x116)]())[_0x28ac9f(0x110)]();return Promise[_0x28ac9f(0x23a)](_0x9d2d9);}return Promise[_0x28ac9f(0x138)](_0x56163c['error']);}catch(_0x4c63bf){return Promise[_0x28ac9f(0x138)](_0x4c63bf);}}async[_0x32e2f2(0x9b)](_0x3433f6){var _0x489297=_0x32e2f2;let _0x501e9c='';if(!ir[_0x489297(0x18a)](_0x3433f6[_0x489297(0x17e)]))return this['_decreaseWaiting'](),Promise[_0x489297(0x138)](new Error(_0x2915f3['ERROR_IMAGE_TYPE']));if(_0x3433f6[_0x489297(0x2bd)]>nr)return this[_0x489297(0x38f)](),Promise[_0x489297(0x138)](new Error(_0x2915f3[_0x489297(0xde)]));try{const _0x48aafb=new FormData();_0x48aafb[_0x489297(0x2e1)](_0x489297(0x1c2),_0x3433f6);const _0x2b0976=this[_0x489297(0x2d5)][_0x489297(0x2fe)](),_0x3f917e=_0x2b0976==null?void 0x0:_0x2b0976[_0x489297(0x22e)]();if(!_0x3f917e)throw new Error(_0x489297(0xc5));const _0x5ab3f6=this[_0x489297(0x373)]()+_0x489297(0x1e5)+_0x3433f6[_0x489297(0x2bd)][_0x489297(0x110)]()+'&source='+Ei[_0x489297(0x102)]+_0x489297(0x16c)+encodeURIComponent(_0x3f917e),_0x55b247=await(await fetch(_0x5ab3f6,{'method':_0x489297(0x140),'body':_0x48aafb}))[_0x489297(0xa4)]();if(typeof _0x55b247[_0x489297(0x1a0)]!=_0x489297(0xa1))return this[_0x489297(0x38f)](),Promise[_0x489297(0x138)](new Error(_0x2915f3[_0x489297(0x220)]));_0x501e9c=_0x55b247[_0x489297(0x1a0)];}catch{return this['_decreaseWaiting'](),Promise[_0x489297(0x138)](new Error(_0x2915f3[_0x489297(0x220)]));}return new Promise((_0x2c4686,_0x1d1935)=>{var _0xe3e5b9=_0x489297;const _0x3883d2=new FileReader();_0x3883d2['readAsDataURL'](_0x3433f6),_0x3883d2[_0xe3e5b9(0x1f8)]=_0x47e135=>{var _0x1ee7d9=_0xe3e5b9,_0x3a9344;const _0x313b66=(_0x3a9344=_0x47e135[_0x1ee7d9(0x276)])==null?void 0x0:_0x3a9344[_0x1ee7d9(0x31e)];if(_0x313b66==null){this[_0x1ee7d9(0x38f)](),_0x1d1935(new Error(_0x2915f3[_0x1ee7d9(0x220)]));return;}const _0x47adfd=_0x28db43['generateRandomId'](0x6);_0x2c4686({'imageId':_0x47adfd,'imageSourceType':_0xf15305[_0x1ee7d9(0x2d4)],'source':_0x501e9c,'base64Cache':_0x313b66,'status':_0x2915f3[_0x1ee7d9(0x181)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x20e656=_0x32e2f2,_0x564cb7,_0x49d1ec;const _0x31e291=this[_0x20e656(0xae)][_0x20e656(0x8c)](sr),_0x738cfe=this[_0x20e656(0xae)][_0x20e656(0x8c)](q);return(_0x49d1ec=(_0x564cb7=_0x738cfe==null?void 0x0:_0x738cfe[_0x20e656(0x30c)])!=null?_0x564cb7:_0x31e291)!=null?_0x49d1ec:rr;}[_0x32e2f2(0x158)](){var _0x1c487c=_0x32e2f2,_0x50e370,_0x26ec5e;const _0x2a8654=this['_configService'][_0x1c487c(0x8c)](ar),_0x39fc70=this[_0x1c487c(0xae)][_0x1c487c(0x8c)](q);return(_0x26ec5e=(_0x50e370=_0x39fc70==null?void 0x0:_0x39fc70[_0x1c487c(0x1fe)])!=null?_0x50e370:_0x2a8654)!=null?_0x26ec5e:or;}[_0x32e2f2(0x116)](){var _0x1b8d6c=_0x32e2f2,_0x5e79b4;const _0x38f8b1=this[_0x1b8d6c(0xae)][_0x1b8d6c(0x8c)](q);return(_0x5e79b4=_0x38f8b1==null?void 0x0:_0x38f8b1[_0x1b8d6c(0x1f2)])!=null?_0x5e79b4:location['origin'];}[_0x32e2f2(0x243)](_0xe17b85,_0x31e639){var _0x4fa9db=_0x32e2f2;return _0xe17b85[_0x4fa9db(0x324)](_0x4fa9db(0x375),_0x31e639);}[_0x32e2f2(0x38f)](){var _0x107307=_0x32e2f2;this[_0x107307(0x2fc)]-=0x1,this[_0x107307(0xdf)][_0x107307(0x364)](this[_0x107307(0x2fc)]);}};Ot=tr([gt(0x0,_0xf49784(_0x18ded5)),gt(0x1,_0x24f34c),gt(0x2,_0xf49784(_0x457f20))],Ot);var cr=Object[_0x32e2f2(0x266)],hr=(_0xc1e945,_0x2e2eed,_0x17b01a,_0x49dd22)=>{var _0x244821=_0x32e2f2;for(var _0x321d2f=_0x49dd22>0x1?void 0x0:_0x49dd22?cr(_0x2e2eed,_0x17b01a):_0x2e2eed,_0x14ed69=_0xc1e945[_0x244821(0x2e2)]-0x1,_0x2ccdaf;_0x14ed69>=0x0;_0x14ed69--)(_0x2ccdaf=_0xc1e945[_0x14ed69])&&(_0x321d2f=_0x2ccdaf(_0x321d2f)||_0x321d2f);return _0x321d2f;},hi=(_0x4988b1,_0xed2917)=>(_0x106303,_0x127b7f)=>_0xed2917(_0x106303,_0x127b7f,_0x4988b1);const _r=_0x32e2f2(0x2cc);let yt=class{constructor(_0x36bbe6,_0x40b4d1){var _0x41466f=_0x32e2f2;this[_0x41466f(0xae)]=_0x36bbe6,this[_0x41466f(0x11c)]=_0x40b4d1;}[_0x32e2f2(0x127)](){var _0x14ef8a=_0x32e2f2,_0x4a89cc,_0x505985;const _0x28ebe1=this[_0x14ef8a(0xae)][_0x14ef8a(0x8c)](Ni),_0x3a68f1=this['_configService']['getConfig'](q);return(_0x505985=(_0x4a89cc=_0x3a68f1==null?void 0x0:_0x3a68f1['authzUrl'])!=null?_0x4a89cc:_0x28ebe1)!=null?_0x505985:_r;}async[_0x32e2f2(0xe2)](_0x3dbd97){var _0x13abd2=_0x32e2f2;const _0x118bbf=this[_0x13abd2(0x127)]()+_0x13abd2(0x9d);return{'list':[{'title':'People','mentions':(await this[_0x13abd2(0x11c)][_0x13abd2(0x281)](_0x118bbf,{'params':{'objectID':_0x3dbd97[_0x13abd2(0x28f)],'unitID':_0x3dbd97['unitId']}}))[_0x13abd2(0x164)][_0x13abd2(0x30f)][_0x13abd2(0x141)](_0x379a88=>({'objectId':_0x379a88['id'],'name':_0x379a88['subject']['name'],'metadata':{'icon':_0x379a88[_0x13abd2(0x32c)][_0x13abd2(0x112)]},'label':_0x379a88[_0x13abd2(0x32c)][_0x13abd2(0x1f0)],'objectType':_0x38737e[_0x13abd2(0xf0)]})),'metadata':{},'type':_0x38737e[_0x13abd2(0xf0)]}]};}};yt=hr([hi(0x0,_0xf49784(_0x24f34c)),hi(0x1,_0xf49784(_0x18ded5))],yt);var lr=Object[_0x32e2f2(0x266)],ur=(_0x5a9e55,_0x3efe9e,_0xcd2946,_0x56f158)=>{var _0x31cb85=_0x32e2f2;for(var _0x1b4b15=_0x56f158>0x1?void 0x0:_0x56f158?lr(_0x3efe9e,_0xcd2946):_0x3efe9e,_0x12963f=_0x5a9e55[_0x31cb85(0x2e2)]-0x1,_0x50b588;_0x12963f>=0x0;_0x12963f--)(_0x50b588=_0x5a9e55[_0x12963f])&&(_0x1b4b15=_0x50b588(_0x1b4b15)||_0x1b4b15);return _0x1b4b15;},we=(_0xbdc3fe,_0x1bbf45)=>(_0x3c5ed3,_0x42bc98)=>_0x1bbf45(_0x3c5ed3,_0x42bc98,_0xbdc3fe);let ot=class extends _0x1005e4{constructor(_0x20a2b7,_0x3fc86f,_0x1ec28c,_0x461004,_0x5064f9){var _0x4a8b67=_0x32e2f2;super(),this[_0x4a8b67(0x327)]=_0x20a2b7,this['_univerInstanceService']=_0x3fc86f,this[_0x4a8b67(0x1b8)]=_0x1ec28c,this['_collaborationSessionService']=_0x461004,this['_collaborationUIEventService']=_0x5064f9,this['_initUnitPermissionChange'](),this[_0x4a8b67(0x11f)]();}[_0x32e2f2(0x11f)](){var _0x18ddaf=_0x32e2f2;const _0x334915=async _0x41050d=>{var _0x229239=_0x36d8;(await this[_0x229239(0xec)][_0x229239(0x1b0)](_0x41050d))['event$']['pipe'](_0x347c08(_0x33b6a0=>_0x33b6a0['eventID']===_0x5dd443[_0x229239(0x17d)]),_0x6f7b19(this['dispose$']))[_0x229239(0x115)](_0x1b618d=>{var _0xb026f6=_0x229239;const _0x49e721=_0x1b618d,{reason:_0x440c26}=_0x49e721[_0xb026f6(0x113)];this['_collaborationUIEventService'][_0xb026f6(0x1be)]({'id':re[_0xb026f6(0x300)],'data':_0x440c26}),this[_0xb026f6(0x1b8)][_0xb026f6(0x280)](new _0x4aa924(_0x41050d)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x41050d);});};_0x308043(this[_0x18ddaf(0x2d5)][_0x18ddaf(0x15b)](_0x271272[_0x18ddaf(0x118)]),this['_univerInstanceService'][_0x18ddaf(0x15b)](_0x271272[_0x18ddaf(0x1ef)]))[_0x18ddaf(0x173)](_0x289343(_0x1882c6=>_0x1882c6['getUnitId']()),_0x347c08(_0x2cf21c=>!_0x27f8c4(_0x2cf21c)),_0x6f7b19(this[_0x18ddaf(0x187)]))[_0x18ddaf(0x115)](_0x4642a0=>{_0x334915(_0x4642a0);});}[_0x32e2f2(0x367)](){var _0x53be6f=_0x32e2f2;const _0x596f37=async _0xf04d03=>{var _0x4ef981=_0x36d8;const _0x20b324=await this[_0x4ef981(0xec)][_0x4ef981(0x1b0)](_0xf04d03),_0x47267a=this['_injector']['get'](_0x4c7ddb);_0x20b324[_0x4ef981(0x90)][_0x4ef981(0x173)](_0x347c08(_0x9f6fd4=>_0x9f6fd4['eventID']===_0x5dd443[_0x4ef981(0x201)]),_0x6f7b19(this[_0x4ef981(0x187)]))[_0x4ef981(0x115)](_0x467f37=>{var _0x2df18d=_0x4ef981;const _0x1e4a2e=_0x467f37,{objectId:_0x821663}=_0x1e4a2e['data'];_0x821663===_0xf04d03?_0x47267a[_0x2df18d(0x125)](_0xf04d03):_0x47267a[_0x2df18d(0x269)](_0xf04d03,_0x821663);});};_0x308043(this[_0x53be6f(0x2d5)][_0x53be6f(0x15b)](_0x271272['UNIVER_SHEET']))[_0x53be6f(0x173)](_0x289343(_0x136a74=>_0x136a74[_0x53be6f(0x22e)]()),_0x347c08(_0x5a1a40=>!_0x27f8c4(_0x5a1a40)),_0x6f7b19(this['dispose$']))[_0x53be6f(0x115)](_0x1b97c9=>{_0x596f37(_0x1b97c9);});}};ot=ur([we(0x0,_0xf49784(_0x3f2818)),we(0x1,_0x457f20),we(0x2,_0x2d9700),we(0x3,_0xf49784(xe)),we(0x4,_0xf49784(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0x408a19,_0x277b42,_0x456e35,_0x377bcc)=>{for(var _0x2092e1=_0x377bcc>0x1?void 0x0:_0x377bcc?dr(_0x277b42,_0x456e35):_0x277b42,_0x26a3cc=_0x408a19['length']-0x1,_0x5c0a85;_0x26a3cc>=0x0;_0x26a3cc--)(_0x5c0a85=_0x408a19[_0x26a3cc])&&(_0x2092e1=_0x5c0a85(_0x2092e1)||_0x2092e1);return _0x2092e1;},_i=(_0x5593fd,_0x513efe)=>(_0x4cbf2a,_0x4b6b17)=>_0x513efe(_0x4cbf2a,_0x4b6b17,_0x5593fd);let Nt=class{constructor(_0x548eef,_0x4cd680){var _0x2caebb=_0x32e2f2;this[_0x2caebb(0xae)]=_0x548eef,this[_0x2caebb(0x2b9)]=_0x4cd680;}async['getUnitOnRev'](_0x2b4fb3,_0x58b987){var _0x565136=_0x32e2f2,_0x1acf14;const {unitID:_0x18a93c,type:_0x3021d0,revision:_0x127df3=0x0}=_0x58b987,_0x3387db=this[_0x565136(0x199)]()+'/'+_0x3021d0+_0x565136(0xe0)+_0x18a93c+_0x565136(0x12c)+_0x127df3,_0x4f1780=(await this[_0x565136(0x2b9)][_0x565136(0x281)](_0x3387db))[_0x565136(0x164)],_0x157b69=(_0x1acf14=_0x4f1780[_0x565136(0x206)])==null?void 0x0:_0x1acf14[_0x565136(0x15a)];if(_0x157b69){const _0x1c9ae0=_0x157b69==null?void 0x0:_0x157b69[_0x565136(0x381)],_0x3120d5=_0x35d1ea[_0x565136(0x10a)](_0x280a66(_0x1c9ae0));_0x157b69['originalMeta']=_0x3120d5,Object[_0x565136(0x275)](_0x157b69[_0x565136(0x146)])[_0x565136(0x295)](([,_0x515eb6])=>{var _0x591d01=_0x565136;const _0x1d6624=_0x515eb6[_0x591d01(0x381)],_0xe7f7e8=_0x35d1ea[_0x591d01(0x10a)](_0x280a66(_0x1d6624));_0x515eb6[_0x591d01(0x381)]=_0xe7f7e8;});}return _0x4f1780;}async[_0x32e2f2(0x15e)](_0x101479,_0x269580){var _0x16d323=_0x32e2f2;const {unitID:_0x3942bc,type:_0xb20703,blockID:_0xfaf63d}=_0x269580,_0xe6f983=this[_0x16d323(0x361)]()+'/'+_0xb20703+'/unit/'+_0x3942bc+_0x16d323(0x2d0)+_0xfaf63d;return(await this[_0x16d323(0x2b9)][_0x16d323(0x281)](_0xe6f983))[_0x16d323(0x164)];}async[_0x32e2f2(0x155)](_0x3f3078,_0x59c0d6){var _0x3abec1=_0x32e2f2;const {unitID:_0x70a755,type:_0x2a2444,blockID:_0x3a57bb}=_0x59c0d6,_0x3a78a2=this[_0x3abec1(0x361)]()+_0x3abec1(0x2d0)+_0x2a2444+_0x3abec1(0xe0)+_0x70a755+'/block/'+_0x3a57bb;return(await this[_0x3abec1(0x2b9)][_0x3abec1(0x281)](_0x3a78a2))['body'];}async[_0x32e2f2(0x30d)](_0x29eec5,_0x15d2bc){var _0x5203c=_0x32e2f2;const {unitID:_0x20b2d1,type:_0x348096,from:_0xfe2095,to:_0x460fec}=_0x15d2bc,_0x2943d1=this[_0x5203c(0x361)]()+'/'+_0x348096+_0x5203c(0xe0)+_0x20b2d1+_0x5203c(0x380)+_0xfe2095+'&to='+_0x460fec;return(await this[_0x5203c(0x2b9)][_0x5203c(0x281)](_0x2943d1))['body'];}[_0x32e2f2(0x199)](){var _0x25ca98=_0x32e2f2,_0x23fbef;return(_0x23fbef=this[_0x25ca98(0xae)][_0x25ca98(0x8c)](Sn))!=null?_0x23fbef:this[_0x25ca98(0x361)]();}[_0x32e2f2(0x361)](){var _0x542fe7=_0x32e2f2,_0x281969,_0x433c0f;const _0x1a0610=this[_0x542fe7(0xae)][_0x542fe7(0x8c)](mn),_0x500c96=this[_0x542fe7(0xae)]['getConfig'](q);return(_0x433c0f=(_0x281969=_0x500c96==null?void 0x0:_0x500c96[_0x542fe7(0x1d4)])!=null?_0x281969:_0x1a0610)!=null?_0x433c0f:gn;}async[_0x32e2f2(0x197)](_0x1636ac,_0x376c9f){var _0x375790=_0x32e2f2;const _0x5cea96=_0x375790(0x37a)+_0x376c9f[_0x375790(0x17e)]+'/unit/'+_0x376c9f[_0x375790(0x10f)]+_0x375790(0x1ac);return(await this[_0x375790(0x2b9)][_0x375790(0x281)](_0x5cea96,{'params':{'resourceId':JSON[_0x375790(0x105)](_0x376c9f[_0x375790(0x348)])}}))[_0x375790(0x164)];}['saveSnapshot'](){var _0x3ca240=_0x32e2f2;throw new Error(_0x3ca240(0x221));}[_0x32e2f2(0x244)](){var _0x1ddcb7=_0x32e2f2;throw new Error(_0x1ddcb7(0x221));}[_0x32e2f2(0xed)](){var _0x2134aa=_0x32e2f2;throw new Error(_0x2134aa(0x221));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x32e2f2(0x19c)](){var _0x524b88=_0x32e2f2;throw new Error(_0x524b88(0x221));}};Nt=fr([_i(0x0,_0x24f34c),_i(0x1,_0xf49784(_0x18ded5))],Nt);var vr=Object[_0x32e2f2(0x266)],pr=(_0x507767,_0xe9730c,_0xf3b11,_0x39e967)=>{var _0x3b676a=_0x32e2f2;for(var _0x38b360=_0x39e967>0x1?void 0x0:_0x39e967?vr(_0xe9730c,_0xf3b11):_0xe9730c,_0x3c75be=_0x507767[_0x3b676a(0x2e2)]-0x1,_0x534995;_0x3c75be>=0x0;_0x3c75be--)(_0x534995=_0x507767[_0x3c75be])&&(_0x38b360=_0x534995(_0x38b360)||_0x38b360);return _0x38b360;},Pe=(_0x573f2c,_0x185c21)=>(_0xa7839d,_0x122410)=>_0x185c21(_0xa7839d,_0x122410,_0x573f2c);let Dt=class extends _0x178c3f{constructor(_0x2e9da7,_0x10ddd6,_0x1e2e3e,_0x31999d,_0x23ee3b){var _0x299bff=_0x32e2f2;super(_0x2e9da7,_0x10ddd6,_0x1e2e3e),this[_0x299bff(0x1c1)]=_0x31999d,this[_0x299bff(0xc3)]=_0x23ee3b;}[_0x32e2f2(0x1a5)](_0xd074f8,_0x435829){var _0x436e3d=_0x32e2f2;const _0x46ee90=this[_0x436e3d(0x2f3)](_0xd074f8);if(_0x46ee90)try{const _0x174a11=this[_0x436e3d(0x1d2)](_0x46ee90,_0x435829);this['_substituteUndoStack'](_0xd074f8,_0x174a11);}catch(_0x16675b){this[_0x436e3d(0xc3)]['error'](_0x436e3d(0x23d),_0x16675b),this['_clearUndo'](_0xd074f8);}const _0x544c98=this[_0x436e3d(0x309)](_0xd074f8);if(_0x544c98)try{const _0x2a0d0c=this[_0x436e3d(0x1d2)](_0x544c98,_0x435829);this[_0x436e3d(0x101)](_0xd074f8,_0x2a0d0c);}catch(_0x26fd36){this[_0x436e3d(0xc3)]['error'](_0x26fd36),this[_0x436e3d(0x179)](_0xd074f8);}}[_0x32e2f2(0x1b2)](_0x20962c){var _0x4e28dc=_0x32e2f2;const _0x4cbd26=this[_0x4e28dc(0x2f3)](_0x20962c);_0x4cbd26&&(_0x4cbd26[_0x4e28dc(0x2e2)]=0x0,this[_0x4e28dc(0x10b)]());}['_clearRedo'](_0x127638){var _0x40d72c=_0x32e2f2;const _0x2090c2=this[_0x40d72c(0x309)](_0x127638);_0x2090c2&&(_0x2090c2['length']=0x0,this['_updateStatus']());}[_0x32e2f2(0x152)](_0x275e61,_0x2649f3){var _0x32fdaa=_0x32e2f2;this[_0x32fdaa(0xeb)]['set'](_0x275e61,_0x2649f3),this[_0x32fdaa(0x10b)]();}['_substituteRedoStack'](_0xbfe430,_0x3c1cc6){var _0x23ab3f=_0x32e2f2;this[_0x23ab3f(0x2a3)][_0x23ab3f(0x333)](_0xbfe430,_0x3c1cc6),this[_0x23ab3f(0x10b)]();}[_0x32e2f2(0x1d2)](_0x700ef,_0x4bc9ef){var _0x12c1bb=_0x32e2f2;const _0x5e12e6=[];let _0x1606cd=_0x4bc9ef,_0x29dc97=_0x4bc9ef;for(let _0x18d5d6=_0x700ef['length']-0x1;_0x18d5d6>=0x0;_0x18d5d6--){const {unitID:_0x408f98,undoMutations:_0x1326f4,redoMutations:_0x41738a}=_0x700ef[_0x18d5d6],_0x3a6626=this[_0x12c1bb(0x1c1)][_0x12c1bb(0x129)](_0x1606cd,_0x1326f4),_0x2db87c=this['_transformService'][_0x12c1bb(0x129)](_0x29dc97,_0x41738a);if(_0x37a63f(_0x3a6626)||_0x37a63f(_0x2db87c)){this[_0x12c1bb(0xc3)]['error'](_0x12c1bb(0x23d),_0x12c1bb(0x350),_0x3a6626,_0x2db87c);break;}_0x1606cd=_0x3a6626['c1Prime'],_0x29dc97=_0x2db87c[_0x12c1bb(0xe5)],_0x5e12e6[_0x12c1bb(0x21f)]({'unitID':_0x408f98,'undoMutations':_0x3a6626['m2Prime'],'redoMutations':_0x2db87c['m2Prime']});}return _0x5e12e6[_0x12c1bb(0x198)]();}};Dt=pr([Pe(0x0,_0x457f20),Pe(0x1,_0x10f8e6),Pe(0x2,_0x422e79),Pe(0x3,_0x1ec7ed),Pe(0x4,_0x21b260)],Dt);var mr=Object[_0x32e2f2(0x249)],gr=Object[_0x32e2f2(0x266)],Sr=(_0x3c70cd,_0x28edad,_0x1610dc)=>_0x28edad in _0x3c70cd?mr(_0x3c70cd,_0x28edad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1610dc}):_0x3c70cd[_0x28edad]=_0x1610dc,Er=(_0x4cce74,_0x471356,_0x4ba9cc,_0x8eba33)=>{var _0xfc774=_0x32e2f2;for(var _0x2fa510=_0x8eba33>0x1?void 0x0:_0x8eba33?gr(_0x471356,_0x4ba9cc):_0x471356,_0xd87641=_0x4cce74[_0xfc774(0x2e2)]-0x1,_0x5ba085;_0xd87641>=0x0;_0xd87641--)(_0x5ba085=_0x4cce74[_0xd87641])&&(_0x2fa510=_0x5ba085(_0x2fa510)||_0x2fa510);return _0x2fa510;},St=(_0x274481,_0x39b12c)=>(_0x3fc35b,_0x590e05)=>_0x39b12c(_0x3fc35b,_0x590e05,_0x274481),Ir=(_0xbd0a0,_0x58cbe3,_0x5595b5)=>Sr(_0xbd0a0,_0x58cbe3+'',_0x5595b5);const Tr=_0x32e2f2(0x1b4);let Ut=class extends _0x388c42{constructor(_0x3dc38a,_0xae150b,_0x404c68,_0x1cbf68){var _0x102718=_0x32e2f2;super(),N(this,'_config'),(this['_logService']=_0xae150b,this['_injector']=_0x404c68,this[_0x102718(0xae)]=_0x1cbf68);const {..._0x216545}=_0x186f09({},wn,_0x3dc38a);if(!_0x216545[_0x102718(0xbe)])throw new Error(_0x102718(0x195));this[_0x102718(0x1f7)]=_0x216545,this[_0x102718(0xae)]['setConfig'](q,_0x216545);}['onStarting'](){var _0x4810d2=_0x32e2f2;this[_0x4810d2(0x12d)](),this[_0x4810d2(0x20d)]();}[_0x32e2f2(0x12d)](){var _0x24fbe8=_0x32e2f2,_0x3f478a,_0x2bdeb0;this[_0x24fbe8(0x327)]['has'](_0x355d2f)&&this['_logService'][_0x24fbe8(0xee)](_0x24fbe8(0x2ab),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5b1064=_0x5c06b9([[_0x355d2f,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x24fbe8(0x1f7)]['socketService']}],[_0x2c5951,{'useClass':Nt}],[_0x17e153,{'useClass':Rt}],[_0x11349a,{'useClass':Ot}],[_0x23d1dd,{'useClass':yt}],[st],[Ct]],(_0x3f478a=this[_0x24fbe8(0x1f7)])==null?void 0x0:_0x3f478a[_0x24fbe8(0x209)]);if(!((_0x2bdeb0=this[_0x24fbe8(0x1f7)])!=null&&_0x2bdeb0[_0x24fbe8(0xff)])){const _0x48696b=_0x5b1064[_0x24fbe8(0x372)](([_0x10ce06])=>_0x10ce06===ht);_0x48696b!==-0x1&&_0x5b1064[_0x24fbe8(0x250)](_0x48696b,0x1);}_0x55519b(this[_0x24fbe8(0x327)],_0x5b1064);}[_0x32e2f2(0x20d)](){var _0x27f1ab=_0x32e2f2,_0x290d28,_0xf5be39,_0x4a6669;this['_injector'][_0x27f1ab(0x281)](_0x18ded5)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0xdf57fb({'maxParallel':0x6})}),(_0x290d28=this['_config'])!=null&&_0x290d28[_0x27f1ab(0x1a4)]||(_0xf5be39=this['_injector']['get'](J,_0x4e8d27[_0x27f1ab(0x27a)]))==null||_0xf5be39[_0x27f1ab(0x2dc)](),(_0x4a6669=this['_config'])!=null&&_0x4a6669['enableAuthServer']&&_0x1d64a6(this[_0x27f1ab(0x327)],[[rt]]),_0x1d64a6(this[_0x27f1ab(0x327)],[[at],[st],[ot]]);}};Ir(Ut,_0x32e2f2(0x134),Tr),Ut=Er([_0x20cec5(_0xf6d1b1,_0xbc0294),St(0x1,_0x21b260),St(0x2,_0xf49784(_0x3f2818)),St(0x3,_0x24f34c)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|