@univerjs-pro/collaboration-client 0.7.0-nightly.202505011607 → 0.7.0-nightly.202505031606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x119c4e=_0x5b09;(function(_0x12f37a,_0xfb71c5){var _0x528c60=_0x5b09,_0x32f8ff=_0x12f37a();while(!![]){try{var _0x2f04aa=-parseInt(_0x528c60(0x3a8))/0x1*(parseInt(_0x528c60(0x357))/0x2)+-parseInt(_0x528c60(0x3ef))/0x3*(parseInt(_0x528c60(0x267))/0x4)+parseInt(_0x528c60(0x485))/0x5+parseInt(_0x528c60(0x244))/0x6*(parseInt(_0x528c60(0x46d))/0x7)+parseInt(_0x528c60(0x383))/0x8+-parseInt(_0x528c60(0x420))/0x9*(parseInt(_0x528c60(0x46f))/0xa)+-parseInt(_0x528c60(0x430))/0xb*(-parseInt(_0x528c60(0x2c8))/0xc);if(_0x2f04aa===_0xfb71c5)break;else _0x32f8ff['push'](_0x32f8ff['shift']());}catch(_0x4086c7){_0x32f8ff['push'](_0x32f8ff['shift']());}}}(_0x1c3f,0x612ae));var wi=Object[_0x119c4e(0x204)],Pi=(_0x20eece,_0x2852d,_0x1c7c29)=>_0x2852d in _0x20eece?wi(_0x20eece,_0x2852d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c7c29}):_0x20eece[_0x2852d]=_0x1c7c29,N=(_0x3fc91e,_0x34f6d9,_0xd62134)=>Pi(_0x3fc91e,typeof _0x34f6d9!=_0x119c4e(0x48d)?_0x34f6d9+'':_0x34f6d9,_0xd62134);import{createIdentifier as _0x9049ae,Inject as _0x3092f1,Injector as _0x171255,IConfigService as _0xf8b865,ILogService as _0x2bb065,Disposable as _0x1124b6,DisposableCollection as _0xfae5f9,toDisposable as _0xdd7d2d,IUniverInstanceService as _0x1568a3,UserManagerService as _0x59ebda,UniverInstanceType as _0x311465,LocaleService as _0x49223f,Optional as _0x4240c6,RxDisposable as _0x5719da,Tools as _0x3c951a,Rectangle as _0x59153e,ICommandService as _0x5e65df,JSONX as _0x485fc8,CommandType as _0x483c40,IUndoRedoService as _0x52eb5a,IPermissionService as _0x2519f2,sequenceExecute as _0x9d900c,Workbook as _0x5e72f0,MentionType as _0x53040c,isInternalEditorID as _0x3af233,LocalUndoRedoService as _0x296dc0,IContextService as _0x30b39e,DependentOn as _0x52dba9,Plugin as _0x33dbf1,merge as _0x3a49a7,mergeOverrideWithDependencies as _0x3321d9,IAuthzIoService as _0x253efd,IMentionIOService as _0x51b7f5,registerDependencies as _0x515666,Quantity as _0x1b2561,touchDependencies as _0x6d649d}from'@univerjs/core';import{Subject as _0x170992,merge as _0x1b41bd,of as _0x21d6b1,BehaviorSubject as _0x1460ab,takeUntil as _0x5eeacb,ReplaySubject as _0x2afbcf,take as _0x1c6aaf,map as _0x2b22c9,shareReplay as _0x56995c,firstValueFrom as _0x3d41c3,concatMap as _0x46c7c2}from'rxjs';import{map as _0x162c30,take as _0x427194,filter as _0x185a7d,delay as _0x126ef5,takeUntil as _0x5a527c}from'rxjs/operators';import{CollaborationEvent as _0x58780b,ISnapshotServerService as _0x2b0636,parseChangesetToProtocol as _0x78e213,ITransformService as _0x55135c,isTransformMutationsWithChangesetSuccess as _0x23fc49,mapDocumentTypeToUniverType as _0x2211db,RevisionService as _0x15e900,isTransformChangesetsSuccess as _0x37b169,CompressMutationService as _0x42bac2,parseProtocolChangeset as _0x4c2212,SnapshotService as _0x8be566,textEncoder as _0x460323,b64DecodeUnicode as _0x2a31f3,isTransformMutationsWithChangesetFailure as _0x50761b,UniverCollaborationPlugin as _0x31395c}from'@univerjs-pro/collaboration';import{HTTPService as _0x41022d,ISocketService as _0x4c3de3,MergeInterceptorFactory as _0x3849c3,HTTPRequest as _0x398b65,UniverNetworkPlugin as _0x6faa9b,ThresholdInterceptorFactory as _0x23581e}from'@univerjs/network';import{ITelemetryService as _0xf895c9}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x566c98}from'@univerjs/docs';function _0x5b09(_0x2dfdd0,_0x2bb2d5){var _0x1c3f94=_0x1c3f();return _0x5b09=function(_0x5b091a,_0x1ade5d){_0x5b091a=_0x5b091a-0x198;var _0x1ec22d=_0x1c3f94[_0x5b091a];return _0x1ec22d;},_0x5b09(_0x2dfdd0,_0x2bb2d5);}import{SheetsSelectionsService as _0x11781,SetSelectionsOperation as _0x14dca4,InsertSheetMutation as _0x4569aa,EmptyMutation as _0x341012,WorkbookEditablePermission as _0x3e469f,SheetPermissionInitController as _0x2a053d}from'@univerjs/sheets';import{ImageSourceType as _0x510e66,ImageUploadStatusType as _0x466f23,IImageIoService as _0x2cb7b8}from'@univerjs/drawing';import{getGlobalObject as _0x3e7920}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0x119c4e(0x271),Sn=_0x119c4e(0x251),Lr=_0x119c4e(0x488),En=0x7d0,In=_0x119c4e(0x1fc),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',Mr=_0x119c4e(0x3dc),Cn=_0x119c4e(0x26a),Rn=0x7530,mi=_0x119c4e(0x2b3),gi=0x4e20,bn=0x4e20,On=_0x119c4e(0x370),yn=0x3,xr=_0x119c4e(0x25a),kr=0x3e8,Nn=_0x119c4e(0x476),Dn='/universer-api/comb',Un=_0x119c4e(0x236),An=_0x119c4e(0x437),$r='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hr=_0x119c4e(0x462);function _0x1c3f(){var _0x967bc4=['BufferedBlockAlgorithm','params','onStateChange','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getAllMembers','_createHelper','UNIVER_UNKNOWN','image/jpeg','_clearRedo','joinEvent','_sheetTransformSelectionsService','_socketMessageSubscription','_waitCount','_sendingTimer','listCollaborators','UNAUTHENTICATED','_getSignURL','JOIN_ROOM_NOT_EXISTS','extend','byteLength','getUnitType','roles','getSheetId','code','removeMember','_clearHeartbeatTimer','has','665869WWgGCT','UPDATE_CURSOR','_transformService','stopTime','origin','EMAIL_HAS_BEEN_BOUND','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_schedule','SHOULD_CLOSE_CONN','batchAllowed','localCacheService','_resendWithTimeout','onlyLocal','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onCommandExecuted','UNRECOGNIZED','_createHmacHelper','SerializableCipher','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','toggleOffline','WordArray','_onConnectionFailed','collaMsg','_unlockTransition','_doCryptBlock','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_map','objectType','range','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','FileId','_nRounds','[PendingState]:\x20received\x20rejection.','unitID','blockSize','_cipher','HttpExport','onTransformSelections','Base64','_data','CHANGESET_SHOULD_RETRY','setWaitCount','_mode','call','_getRedoStack','isPermissionRej','_compressMutationService','YUUMI_URL_COL_OUT_OF_RANGE','putCollaborators','apply','_getUndoStack','_append','/universer-api/user/session-ticket','_process','get','allowed','_logService','failed\x20to\x20apply\x20missed\x20changesets!','setConfig','_retryCount','SOCKET_FAILED','_commentService','initWorkbookPermissionChange','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_throwTelemetryCollaborationNewChangeset','commentUpdateEvent','[CollaborationSessionService]','connection\x20error','UnitSnapshot','[PendingState]:\x20unhandled\x20univer\x20type:\x20','/role','87MWpoip','_members$','NO_OTHER_CLIENTS_EDITING','open$','_injector','fetchThroughInterceptors','type','BASE64','IDLE','_onConflict','loadDoc','appendMutation','LIVESHARE_FETCH_OPERATIONS','__creator','CONFLICT','UNIVER_PROJECT','saveChangeset','_clearUndo','getUnitId','setShowComponents','location','fetchMissingChangesets','[PendingState]:\x20received\x20acknowledgement.','YUUMI_ALL_TABLES_IS_INVALID','/block/','GLOBAL_ROOMS_CNT_EXCEEDS','_getCtorByUniverType','_updateStatus','format','MSG_FOR_ERROR','routeKey','_sessionStatus$','shouldCloseConn','ciphertext','onRemoteChangeset','awaitingChangeset','_getDownloadEndpointURL','PSEUDO_FETCH_MISSING_RESULT','registerHTTPInterceptor','PERSON','_initCloseConn','Failed\x20to\x20update\x20permission\x20point','JOIN_ROOM_PERMISSION_DENIED','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','DEFAULT_FILE_NAME','_snapshotService','SNAPSHOT_HAS_BEEN_REMOVED','subject','requireSession','711BoSDJd','editingUnit','getTypeOfUnitAdded$','OFFLINE','AUTHZ_URL_KEY','updatePermissionPoint','finalize','isArray','LICENSE_EXPORT_SIZE_EXCEEDED','?url=','session','getTypeOfUnitDisposed$','[SyncedState]:\x20received\x20acknowledgement.','image/jpg','key','_pendingMutations','198726KqdBkw','reset','lib','_prevBlock','signUrlServerUrl','image/png','encode','/universer-api/oidc/authpage','toLowerCase','_updateLocalCache','pluginName','_onFetchMissResult','HELLO','_toggleOnline','USERS_ENTER','c2Prime','mode','_iKey','getOwnPropertyDescriptor','responseType','session.room-cnt-exceeds','collabSubmitChangesetUrl','incrementRevOfUnit','subUnitId','HMAC','change$','event$','_userManagerService','image/gif','session.room-full','_instanceService','[OfflineState]:\x20received\x20changeset.','SUCCUSS','_imageSourceCache','fetchMiss','_sender','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getCollabEntity$','words','_commentUpdate$','getInterceptPoints','updateMember','_substituteRedoStack','unitId','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_permissionService','emitEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_scheduleCompleteTimestamp','snapshot','/universer-api/uniscript','MD5','reject','getMemberID','_xformMode','unknown','{fileID}','fromCharCode','[UniverCollaborationClientPlugin]','resolve','pipe','156471VcKSWv','_candidateSocket','88030aEdXIr','charCodeAt','_awaitingChangeset','abs','APPLY_REJECT','unsubscribe','_key','COLLAB_SUBMIT_CHANGESET_URL','changesets','clone','_loadSheet','_keyPriorReset','keySize','createDecryptor','findIndex','_onRemoteRejected','PENDING','msCrypto','_socket$','OTHER_CLIENTS_EDITING','equals','LICENSE_IMPORT_SIZE_EXCEEDED','3064055lixfKD','hasher','leaveEvent','SEND_CHANGESET_TIMEOUT','transformMutationsWithChangeset','waitForRoom$','YUUMI_NO_CUBOID_FOR_QUESTION','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','symbol','StreamCipher','onSyncEditingCollabCursor','_ENC_XFORM_MODE','_resendTimeout','JOIN_ROOM_FAILED','_roomCreated$','INVITE_CODE_ALREADY_BOUND','UNDEFINED','CLOSE_ROOM','executeCommand','_transformRemoteChangesetByIMECache','_hasher','_retryConnectingTimer','_onUserJoin','getMember','ceil','_invKeySchedule','getCurrentRevOfUnit','_resendTimer','stringify','override','socketService','_doReset','url','map','_type','commentUpdate$','objectID','action','_handlerCallback','_initUnitPermissionChange','dispose','_socket','INVITE_CODE_HAS_BEEN_UES','awaiting','SYNCED','liveShareNewHost','_transformRemoteChangesetByStateCache','EvpKDF','LIVESHARE_REQUEST_HOST','length','complete','sheets','_tryReconnect','close','createInstance','repeat','_clearLocalCache','getUnitOnRev','_collaborationUIEventService','href','clear','interceptor','updatePermissionObjEvent','decrypt','_transformStack','Base','min','_onUserLeave','cmd','_decreaseWaiting','fromCollab','salt','readInt32LE','_transformStateCache','/fetchmissing?from=','onLocalMutation','unpad','src','_configService','transformSelections','unitId\x20is\x20not\x20found','_getAPIPrefix','_emitMembers','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','onRemoteAck','ENSURE_SNAPSHOT_EXECUTION','_lockTransition','Cipher','/new_changes','onload','values','_httpService','loadSheet','rng','INVITE_CODE_REQUIRED','_redoStacks','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_timeoutTimer','_event$','substr','socket\x20close','_createHandler','generateRandomId','_memberService','uploadFileServerUrl','/object/','_sendHeartbeatTimer','replace','onTransformRemoteChangesetByStateCache','_hash','[FetchMissState]','CHANGESET_REJ','getRoom','next','baseRev','_updateState','hostname','_unitID','createSocket','retryConnectingInterval','_state$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_getLoginPath','LICENSE_DISTRO_REJECTED','COLLAB_WEB_SOCKET_URL','toString','_onJoinRoomEvent','LEAVE','_minBufferSize','randomBytes','uniscriptRunEvent','_collaborationPaused','defineProperty','_entityInit$','UserProfileImg','c1Prime','toggleOnline','_getAPIPrefixPath','collaboration-client.local-cache-service','status','authzUrl','onSendChangeset','collaborators','_waitForHeartbeatResponse','_onLocalMutation','_config','_onConnectionOpen','debug','_doFinalize','deepClone','getSnapshotAPIPath','INVALID_INVITE_CODE','capture','Hasher','objects','ALREADY_EXISTS','AES','PERMISSION_REJ','_toggleOffline','mixIn','buffer','iterations','ONLINE','_onOffline','TOO_MANY_REQUESTS','JOINING','_createSocket','_transitionLocked','_loadDoc','CipherParams','snapshotServerUrl','hasOwnProperty','_incrementRevisionNumber','_roomMembers','compute','randomUUID','startsWith','JOIN','/universer-api/stream/file/upload','getImage','_changesetReqId','_networkConditionService','LOGIN_URL_KEY','_snapshotServerService','/object','_onCombEvent','_getSendChangesetTimeout','WECHAT_HAS_BEEN_BOUND','JOIN_ROOM_FULL','sid','_showConflictNotification','LIVESHARE_NEW_HOST','result','m2Prime','floor','_listenToNetworkCondition','174ViBRag','closeSession','_exhaustRemoteChangesetQueue','send','UNIVER_SHEET','data','_collaborationTimeoutTimer','_executeRemoteChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_startCollaboration','error$','?size=','encrypt','SNAPSHOT_URL_KEY','/universer-api/file/{fileID}/sign-url','subscribe','updateCursorEvent','listRoles','compose','onRemoteRetry','_localeService','csRejEvent','LOCAL_CACHE_INTERVAL','requestParams','_members','_clearRetryConnectingTimer','SUBMIT_CHANGESET','joinRsp','enableAuthServer','_getUploadFileURL','POST','deleteCollaborator','mutations','onTransformRemoteChangesetByIMECache','max','73148PxeoVb','onTransformState','$super','HEARTBEAT_INTERVAL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','BlockCipherMode','update','_replayCachedMutations','set','algo','/universer-api/snapshot','INVALID_ARGUMENT','create','now','INGEST','CONNECTOR_DATA_TOO_LARGE','every','encryptBlock','indexOf','YUUMI_AI_RUN_FAILED','Utf8','focused$','filter','onRemoteRej','INTERNAL_ERROR','loadOfflineData','Univer','SOCKET_FAILED_RETRY','reverse','refreshPermission','_HTTPService','_getCurrentRevision','_isPermissionRej','_nDataBytes','LOGIN_FAILED','_shouldReportTelemetry','_keySchedule','collaboration_new_changeset','Latin1','_entities','localeService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onTransformIME','_substituteUndoStack','delete','_onRemoteACK','eventID','_stopTelemetryCollaborationNewChangeset','textRanges','FETCH_MISS','saveSnapshot','_createInitialState','_replaceFileID','_onMessage','_singleActiveUnitService','YUUMI_SUBSCRIPTION_NOT_FOUND','_telemetryService','actions','HmacSHA1','[CollaborationEntity]','fetch_missing','list','startTime','_acknowledgedAwaitingChangeset','COMPRESS_MUTATION_APPLY','enableSingleActiveInstanceLock','cfg','RECV','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_registerDependencies','setCurrentUser','COMPLETION_FINISHED','catch','Hex','socket$','OTHER_CLIENT_EDITING','HEARTBEAT_TIMEOUT','name','/-/object/-/batch_allowed','getValue','_change$','HttpImport','status$','not_collab','_remoteChangesetQueue','reqId','concat','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','MUTATION','patch','SNAPSHOT_INVALID_SNAPSHOT','body','_changesetSessionId','clamp','sigBytes','_revisionService','slice','192nZuAXO','/collaborator','_handler','post','_commandService','synced','_tryEnsureSocket','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[DataLoaderService]','UNIVER_SLIDE','Decryptor','onMissingChangesets','function','sessionStatus','/resources','_submitChangeset','&source=','confirm','size','sessionStatus$','APPLY_DUPLICATED','error','_initMergeInterceptor','FETCH_MISSING','_univerInstanceService','_applyRemoteChangeset','_checkMissing','state$','LIVESHARE_OPERATION','getCollabEntity','file','memberID','entityInit$','_status$','_syncEditingCollabCursor','selections','_clearScheduledTask','getCurrentUser','getRandomValues','saveImage','byteOffset','exports','state','_state','charAt','_iv','transformStack\x20failed!','resend','add','[SyncedState]:\x20received\x20rejection.','session.join-failed','save\x20fail\x20reason\x20is\x20','bind','&to=','SHA1','USERS_LEAVE','_collabSessionService','COMPRESS_MUTATION_SEND','_collaborationSessionService','CHANGESET_ACK','padding','UNIVER_DOC','_init','NoPadding','_transformUndoredo','UnitEmbedded','HEARTBEAT','__Key__','onCommentUpdate','FAIL','APPLY_NON_SEQUENTIAL_REVISION','UUID','getImageSourceCache','_clearTimeoutTimer','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','reconnect','USER_NOT_INVITED_CODE','/unit/','asObservable','readAsDataURL','ivSize','[CollaborationSession]','execute','_socketReady','LICENSE_MAX_UNITS_EXCEEDED','decryptBlock','NEW_CHANGESETS','_telemetryInfo','_startTelemetryCollaborationNewChangeset','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','YUUMI_ASYNCIO_CANCELLED','_localCacheService','disposeWithMe','UPDATE_PERMISSION_OBJ','APPLY_PERMISSION_DENIED','auth.needGotoLoginAlert','/universer-api/authz','revision','_reverseMap','LIVESHARE_TERMINATE','getFocusedUnit','YUUMI_UNABLE_LOAD_URL','Undefined','createEncryptor','_sendHeartbeat','append','ERROR_EXCEED_SIZE','OpenSSL','encodeURIComponent','roomInfos','[CollaborationUndoRedoService]','transformUndoRedo','MOBILE_HAS_BEEN_BOUND','originalMeta','default','_rescheduleHeartbeat','_DEC_XFORM_MODE','session.room-permission-denied','readyForCollab','/rev/','UNKNOWN_CODE','transformChangesets','getWorkbookSelections','init','getUnitStatus$','kdf','crypto','random','\x20to\x20','enableOfflineEditing','permissionRejEvent','enc','PERMISSION_DENIED','pad','sin','reduce','addHandlerCallback','disableLocalCache','_joinRoom','dispose$','loginUrlKey','parse','2fqDpZF','_queuedRemoteChangesets','[OfflineState]:\x20received\x20rejection.','pending','YUUMI_RATE_OVER_LIMIT','EXCHANGE_SIGN_URL_SERVER_URL_KEY','rev','forEach','put','SUBMIT_CHANGESET_TIMEOUT','/allowed','updateCollaborator','NOT_FOUND','UNISCRIPT_RUN','push','x-univer-host','_oKey','getTime','onMissedChangesetFetched','_scheduleCollaborationTimeoutTimer','[CollaborationState]:\x20apply\x20error!','copyFileMeta','submit\x20changeset\x20error!','_onRemoteChangeset','COMMENT_UPDATE','RETRY_CONNECTING_MAX_COUNT','[CollaborationSessionService]:\x20socket\x20error','PY_RUNTIME_SCRIPT_ERROR','session.room-not-exists','then','AWAITING','formatter','ERROR_IMAGE','close$','__esModule','workbook','_initDependencies','getConfig','_createInitialStateImpl','awaiting_with_pending','_onRecvEvent','_sessions','_transformSelections','join','5916184ThLADO','People','_socketService','_transformIMECache','message$','string','members$','objectActions','prototype','_unitInfo$'];_0x1c3f=function(){return _0x967bc4;};return _0x1c3f();}var Si=(_0x24f700=>(_0x24f700[_0x24f700[_0x119c4e(0x495)]=0x0]=_0x119c4e(0x495),_0x24f700[_0x24f700['OK']=0x1]='OK',_0x24f700[_0x24f700[_0x119c4e(0x27f)]=0x2]=_0x119c4e(0x27f),_0x24f700[_0x24f700[_0x119c4e(0x34d)]=0x3]=_0x119c4e(0x34d),_0x24f700[_0x24f700[_0x119c4e(0x363)]=0x4]=_0x119c4e(0x363),_0x24f700[_0x24f700[_0x119c4e(0x39c)]=0x5]=_0x119c4e(0x39c),_0x24f700[_0x24f700[_0x119c4e(0x21b)]=0x6]=_0x119c4e(0x21b),_0x24f700[_0x24f700[_0x119c4e(0x272)]=0x7]=_0x119c4e(0x272),_0x24f700[_0x24f700[_0x119c4e(0x224)]=0x8]=_0x119c4e(0x224),_0x24f700[_0x24f700[_0x119c4e(0x2ae)]=0x9]=_0x119c4e(0x2ae),_0x24f700[_0x24f700['LOGIN_FAILED']=0xa]=_0x119c4e(0x289),_0x24f700[_0x24f700['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x24f700[_0x24f700[_0x119c4e(0x2c1)]=0x1771]=_0x119c4e(0x2c1),_0x24f700[_0x24f700[_0x119c4e(0x41d)]=0x1772]=_0x119c4e(0x41d),_0x24f700[_0x24f700[_0x119c4e(0x1d5)]=0x1773]=_0x119c4e(0x1d5),_0x24f700[_0x24f700[_0x119c4e(0x473)]=0x1b59]='APPLY_REJECT',_0x24f700[_0x24f700[_0x119c4e(0x30e)]=0x1b5a]=_0x119c4e(0x30e),_0x24f700[_0x24f700['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x24f700[_0x24f700['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x119c4e(0x327),_0x24f700[_0x24f700[_0x119c4e(0x2dc)]=0x1b5d]='APPLY_DUPLICATED',_0x24f700[_0x24f700[_0x119c4e(0x276)]=0x1f41]=_0x119c4e(0x276),_0x24f700[_0x24f700[_0x119c4e(0x31d)]=0x2329]=_0x119c4e(0x31d),_0x24f700[_0x24f700[_0x119c4e(0x3b5)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x24f700[_0x24f700[_0x119c4e(0x484)]=0x232b]=_0x119c4e(0x484),_0x24f700[_0x24f700[_0x119c4e(0x428)]=0x232c]=_0x119c4e(0x428),_0x24f700[_0x24f700[_0x119c4e(0x1fb)]=0x232d]=_0x119c4e(0x1fb),_0x24f700[_0x24f700['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x119c4e(0x32e),_0x24f700[_0x24f700[_0x119c4e(0x3d7)]=0x2712]=_0x119c4e(0x3d7),_0x24f700[_0x24f700[_0x119c4e(0x35b)]=0x2713]=_0x119c4e(0x35b),_0x24f700[_0x24f700['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x119c4e(0x29e),_0x24f700[_0x24f700[_0x119c4e(0x48b)]=0x271a]=_0x119c4e(0x48b),_0x24f700[_0x24f700[_0x119c4e(0x323)]=0x271b]=_0x119c4e(0x323),_0x24f700[_0x24f700['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x119c4e(0x26b),_0x24f700[_0x24f700[_0x119c4e(0x406)]=0x271d]=_0x119c4e(0x406),_0x24f700[_0x24f700[_0x119c4e(0x3c1)]=0x271e]=_0x119c4e(0x3c1),_0x24f700[_0x24f700[_0x119c4e(0x27a)]=0x271f]=_0x119c4e(0x27a),_0x24f700[_0x24f700[_0x119c4e(0x372)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x24f700[_0x24f700[_0x119c4e(0x1aa)]=0x2ee1]=_0x119c4e(0x1aa),_0x24f700[_0x24f700[_0x119c4e(0x217)]=0x2ee2]=_0x119c4e(0x217),_0x24f700[_0x24f700[_0x119c4e(0x1de)]=0x2ee3]=_0x119c4e(0x1de),_0x24f700[_0x24f700[_0x119c4e(0x315)]=0x2ee4]=_0x119c4e(0x315),_0x24f700[_0x24f700[_0x119c4e(0x494)]=0x2ee5]=_0x119c4e(0x494),_0x24f700[_0x24f700[_0x119c4e(0x23b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x24f700[_0x24f700[_0x119c4e(0x339)]=0x32ca]=_0x119c4e(0x339),_0x24f700[_0x24f700['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x119c4e(0x3ad),_0x24f700[_0x24f700[_0x119c4e(0x3b7)]=-0x1]='UNRECOGNIZED',_0x24f700))(Si||{}),Q=(_0x6dfc82=>(_0x6dfc82[_0x6dfc82[_0x119c4e(0x393)]=0x0]=_0x119c4e(0x393),_0x6dfc82[_0x6dfc82[_0x119c4e(0x305)]=0x1]=_0x119c4e(0x305),_0x6dfc82[_0x6dfc82[_0x119c4e(0x248)]=0x2]='UNIVER_SHEET',_0x6dfc82[_0x6dfc82['UNIVER_SLIDE']=0x3]=_0x119c4e(0x2d1),_0x6dfc82[_0x6dfc82[_0x119c4e(0x3fe)]=0x4]=_0x119c4e(0x3fe),_0x6dfc82[_0x6dfc82['UNRECOGNIZED']=-0x1]=_0x119c4e(0x3b7),_0x6dfc82))(Q||{}),F=(_0x378e85=>(_0x378e85[_0x378e85['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x378e85[_0x378e85[_0x119c4e(0x43c)]=0x1]=_0x119c4e(0x43c),_0x378e85[_0x378e85[_0x119c4e(0x231)]=0x2]='JOIN',_0x378e85[_0x378e85[_0x119c4e(0x1ff)]=0x3]=_0x119c4e(0x1ff),_0x378e85[_0x378e85[_0x119c4e(0x275)]=0x4]='INGEST',_0x378e85[_0x378e85[_0x119c4e(0x30a)]=0x5]='HEARTBEAT',_0x378e85[_0x378e85[_0x119c4e(0x2aa)]=0x6]='RECV',_0x378e85[_0x378e85[_0x119c4e(0x3b7)]=-0x1]='UNRECOGNIZED',_0x378e85))(F||{}),ge=(_0x2a5ce4=>(_0x2a5ce4[_0x2a5ce4[_0x119c4e(0x341)]=0x0]=_0x119c4e(0x341),_0x2a5ce4[_0x2a5ce4['OK']=0x1]='OK',_0x2a5ce4[_0x2a5ce4[_0x119c4e(0x30d)]=0x2]=_0x119c4e(0x30d),_0x2a5ce4[_0x2a5ce4[_0x119c4e(0x23c)]=0x3e9]=_0x119c4e(0x23c),_0x2a5ce4[_0x2a5ce4['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x119c4e(0x39e),_0x2a5ce4[_0x2a5ce4[_0x119c4e(0x419)]=0x3eb]=_0x119c4e(0x419),_0x2a5ce4[_0x2a5ce4[_0x119c4e(0x408)]=0x3ec]=_0x119c4e(0x408),_0x2a5ce4[_0x2a5ce4[_0x119c4e(0x3b7)]=-0x1]=_0x119c4e(0x3b7),_0x2a5ce4))(ge||{}),Ei=(_0x2e6626=>(_0x2e6626[_0x2e6626['Undefined']=0x0]=_0x119c4e(0x32f),_0x2e6626[_0x2e6626[_0x119c4e(0x2b8)]=0x1]=_0x119c4e(0x2b8),_0x2e6626[_0x2e6626['HttpExport']=0x2]=_0x119c4e(0x3cc),_0x2e6626[_0x2e6626[_0x119c4e(0x309)]=0x3]=_0x119c4e(0x309),_0x2e6626[_0x2e6626[_0x119c4e(0x3ec)]=0x4]='UnitSnapshot',_0x2e6626[_0x2e6626['UserProfileImg']=0x5]=_0x119c4e(0x206),_0x2e6626[_0x2e6626[_0x119c4e(0x3b7)]=-0x1]='UNRECOGNIZED',_0x2e6626))(Ei||{});const q='collaboration-client.config',wn={};var re=(_0x21eb08=>(_0x21eb08['OTHER_CLIENT_EDITING']=_0x119c4e(0x2b2),_0x21eb08[_0x119c4e(0x34d)]=_0x119c4e(0x34d),_0x21eb08[_0x119c4e(0x3fd)]=_0x119c4e(0x3fd),_0x21eb08[_0x119c4e(0x496)]=_0x119c4e(0x496),_0x21eb08[_0x119c4e(0x492)]=_0x119c4e(0x492),_0x21eb08[_0x119c4e(0x282)]='SOCKET_FAILED_RETRY',_0x21eb08[_0x119c4e(0x3e4)]='SOCKET_FAILED',_0x21eb08[_0x119c4e(0x360)]=_0x119c4e(0x360),_0x21eb08))(re||{});class pe{constructor(){var _0x36cb81=_0x119c4e;N(this,_0x36cb81(0x1e2),new _0x170992()),N(this,_0x36cb81(0x44a),this[_0x36cb81(0x1e2)][_0x36cb81(0x317)]());}[_0x119c4e(0x45e)](_0xe771ae){var _0x2aec38=_0x119c4e;this['_event$'][_0x2aec38(0x1f1)](_0xe771ae);}}const Pn=_0x9049ae('univer-pro.collaboration-client.network-condition.service');function Ln(_0xc594dd){var _0x4c4894=_0x119c4e,_0x1deacd,_0x465a49,_0x2cfde4,_0x2e9272,_0x339a70;const _0x5f4aa0=_0xc594dd[_0x4c4894(0x249)],_0x52dc7b=JSON[_0x4c4894(0x356)](_0x5f4aa0);switch(_0x52dc7b['cmd']){case F['HEARTBEAT']:case F[_0x4c4894(0x43c)]:{const _0x372567=_0x52dc7b['infoRsp'];return{..._0x52dc7b,'data':_0x372567,'cmd':_0x52dc7b['cmd']};}case F[_0x4c4894(0x231)]:{const _0xabc9fb=_0x52dc7b[_0x4c4894(0x25f)];return{..._0x52dc7b,'data':_0xabc9fb,'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};}case F['RECV']:{const _0x1a6c1d=_0x52dc7b[_0x4c4894(0x3be)];switch(_0x1a6c1d['eventID']){case _0x58780b[_0x4c4894(0x21d)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':(_0x1deacd=_0x1a6c1d[_0x4c4894(0x34b)])==null?void 0x0:_0x1deacd['cs']},'cmd':_0x52dc7b['cmd']};case _0x58780b[_0x4c4894(0x303)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':(_0x465a49=_0x1a6c1d['csAckEvent'])==null?void 0x0:_0x465a49['cs']},'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};case _0x58780b[_0x4c4894(0x31f)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':(_0x2cfde4=_0x1a6c1d['newCsEvent'])==null?void 0x0:_0x2cfde4['cs']},'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};case _0x58780b[_0x4c4894(0x1ef)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':(_0x2e9272=_0x1a6c1d[_0x4c4894(0x259)])==null?void 0x0:_0x2e9272['cs']},'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};case _0x58780b[_0x4c4894(0x3d0)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':(_0x339a70=_0x1a6c1d['csShouldRetryEvent'])==null?void 0x0:_0x339a70['cs']},'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};case _0x58780b[_0x4c4894(0x3a9)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':_0x1a6c1d[_0x4c4894(0x254)]},'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};case _0x58780b[_0x4c4894(0x43e)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':_0x1a6c1d[_0x4c4894(0x396)]},'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};case _0x58780b[_0x4c4894(0x2ff)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':_0x1a6c1d[_0x4c4894(0x487)]},'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};case _0x58780b[_0x4c4894(0x23f)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':_0x1a6c1d[_0x4c4894(0x1ad)]},'cmd':_0x52dc7b['cmd']};case _0x58780b[_0x4c4894(0x3fb)]:case _0x58780b['LIVESHARE_OPERATION']:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':_0x1a6c1d['liveShareOperation']},'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};case _0x58780b[_0x4c4894(0x32c)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':_0x1a6c1d[_0x4c4894(0x1ad)]},'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};case _0x58780b[_0x4c4894(0x40c)]:return{..._0x52dc7b,'data':_0x1a6c1d,'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};case _0x58780b[_0x4c4894(0x36f)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':_0x1a6c1d[_0x4c4894(0x3e9)]},'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};case _0x58780b[_0x4c4894(0x326)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':_0x1a6c1d[_0x4c4894(0x1be)]},'cmd':_0x52dc7b['cmd']};case _0x58780b[_0x4c4894(0x3b0)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':_0x1a6c1d[_0x4c4894(0x40f)]},'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};case _0x58780b[_0x4c4894(0x364)]:return{..._0x52dc7b,'data':{..._0x1a6c1d,'data':_0x1a6c1d[_0x4c4894(0x202)]},'cmd':_0x52dc7b[_0x4c4894(0x1c4)]};default:return _0x52dc7b;}}default:return _0x52dc7b;}}function Mn(_0x2012c4){var _0x673c7b=_0x119c4e;switch(_0x2012c4[_0x673c7b(0x1c4)]){case F[_0x673c7b(0x30a)]:case F[_0x673c7b(0x43c)]:return JSON[_0x673c7b(0x19c)]({'cmd':_0x2012c4['cmd'],'routeKey':_0x2012c4[_0x673c7b(0x40d)]});case F[_0x673c7b(0x275)]:{let _0x4c2580;switch(_0x2012c4[_0x673c7b(0x249)][_0x673c7b(0x295)]){case _0x58780b[_0x673c7b(0x3a9)]:{_0x4c2580={'eventID':_0x58780b['UPDATE_CURSOR'],'updateCursorEvent':_0x2012c4[_0x673c7b(0x249)]['data']};break;}case _0x58780b[_0x673c7b(0x2ff)]:{_0x4c2580={'eventID':_0x58780b['USERS_LEAVE'],'leaveEvent':_0x2012c4[_0x673c7b(0x249)][_0x673c7b(0x249)]};break;}case _0x58780b[_0x673c7b(0x43e)]:{_0x4c2580={'eventID':_0x58780b[_0x673c7b(0x43e)],'joinEvent':_0x2012c4['data']['data']};break;}case _0x58780b['LIVESHARE_NEW_HOST']:{_0x4c2580={'eventID':_0x58780b[_0x673c7b(0x23f)],'liveShareNewHost':_0x2012c4[_0x673c7b(0x249)]['data']};break;}case _0x58780b[_0x673c7b(0x2e4)]:{_0x4c2580={'eventID':_0x58780b[_0x673c7b(0x2e4)],'liveShareOperation':_0x2012c4[_0x673c7b(0x249)]['data']};break;}case _0x58780b[_0x673c7b(0x32c)]:{_0x4c2580={'eventID':_0x58780b[_0x673c7b(0x32c)],'liveShareTerminate':_0x2012c4[_0x673c7b(0x249)]['data']};break;}case _0x58780b[_0x673c7b(0x1b0)]:{_0x4c2580={'eventID':_0x58780b[_0x673c7b(0x1b0)],'liveShareRequestHost':_0x2012c4[_0x673c7b(0x249)]['data']};break;}case _0x58780b[_0x673c7b(0x3fb)]:{_0x4c2580={'eventID':_0x58780b['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4c2580={'eventID':_0x2012c4['data'][_0x673c7b(0x295)]};}return JSON[_0x673c7b(0x19c)]({'cmd':_0x2012c4[_0x673c7b(0x1c4)],'routeKey':_0x2012c4['routeKey'],'collaMsg':_0x4c2580});}case F['JOIN']:return JSON[_0x673c7b(0x19c)]({'cmd':_0x2012c4[_0x673c7b(0x1c4)],'routeKey':_0x2012c4['routeKey'],'joinReq':_0x2012c4['data']});case F[_0x673c7b(0x1ff)]:return JSON[_0x673c7b(0x19c)]({'cmd':_0x2012c4[_0x673c7b(0x1c4)],'routeKey':_0x2012c4[_0x673c7b(0x40d)],'leaveReq':_0x2012c4[_0x673c7b(0x249)]});default:throw new Error(_0x673c7b(0x290));}}var xn=Object[_0x119c4e(0x442)],kn=(_0x42ece6,_0x51159c,_0x43c833,_0x26e890)=>{var _0x519bb4=_0x119c4e;for(var _0x15ec98=_0x26e890>0x1?void 0x0:_0x26e890?xn(_0x51159c,_0x43c833):_0x51159c,_0x10ec5c=_0x42ece6[_0x519bb4(0x1b1)]-0x1,_0x14e933;_0x10ec5c>=0x0;_0x10ec5c--)(_0x14e933=_0x42ece6[_0x10ec5c])&&(_0x15ec98=_0x14e933(_0x15ec98)||_0x15ec98);return _0x15ec98;},Ae=(_0x5435cd,_0x50b037)=>(_0xcfb713,_0x19d870)=>_0x50b037(_0xcfb713,_0x19d870,_0x5435cd);const Ii=_0x9049ae('univer-pro.collaboration-client-socket-service');function $n(_0x427c28,_0x142557,_0x42f6c9){var _0x4eded7=_0x119c4e;return _0x427c28+'/'+_0x142557+_0x4eded7(0x316)+_0x42f6c9+_0x4eded7(0x1d8);}let Gt=class extends _0x1124b6{constructor(_0x240cd8,_0x396cc9,_0x14de8e,_0x390772,_0x45d513){var _0x5dd5b5=_0x119c4e;super(),this[_0x5dd5b5(0x3f3)]=_0x240cd8,this[_0x5dd5b5(0x1db)]=_0x396cc9,this[_0x5dd5b5(0x1ce)]=_0x14de8e,this[_0x5dd5b5(0x3e0)]=_0x390772,this[_0x5dd5b5(0x237)]=_0x45d513;}['_doCreateSocket'](_0x4353cf){var _0x38bdf1=_0x119c4e;const _0x2885a3=this[_0x38bdf1(0x3f3)][_0x38bdf1(0x3de)](_0x4c3de3);if(!_0x2885a3)throw new Error(_0x38bdf1(0x312));const _0x55abc9=_0x2885a3['createSocket'](_0x4353cf);if(!_0x55abc9)throw new Error(_0x38bdf1(0x48c));const _0x289159=new _0xfae5f9(),_0x4edba9=new _0x170992();_0x289159['add'](_0x55abc9[_0x38bdf1(0x378)][_0x38bdf1(0x253)](_0x48b04c=>_0x4edba9[_0x38bdf1(0x1f1)](_0x48b04c))),_0x289159[_0x38bdf1(0x2f8)](_0xdd7d2d(()=>_0x4edba9[_0x38bdf1(0x1b2)]()));const _0x121cc4=new _0x170992();_0x289159[_0x38bdf1(0x2f8)](_0x55abc9[_0x38bdf1(0x24e)][_0x38bdf1(0x253)](_0x554818=>_0x121cc4[_0x38bdf1(0x1f1)](_0x554818))),_0x289159[_0x38bdf1(0x2f8)](_0xdd7d2d(()=>_0x121cc4[_0x38bdf1(0x1b2)]()));const _0x3f558e=new _0x170992();_0x289159[_0x38bdf1(0x2f8)](_0x55abc9[_0x38bdf1(0x387)][_0x38bdf1(0x253)](_0x5ec208=>{var _0x173e11=_0x38bdf1;const _0x4bfd7b=Ln(_0x5ec208);_0x3f558e[_0x173e11(0x1f1)](_0x4bfd7b);})),_0x289159[_0x38bdf1(0x2f8)](_0xdd7d2d(()=>_0x3f558e[_0x38bdf1(0x1b2)]()));let _0x23e9c1;const _0xc2cbab=()=>{var _0x5eacd3=_0x38bdf1;_0x121cc4[_0x5eacd3(0x1f1)](new Event(_0x5eacd3(0x3eb))),_0x4edba9[_0x5eacd3(0x1f1)](new Event(_0x5eacd3(0x3eb))),_0x23e9c1[_0x5eacd3(0x1b5)]();};return _0x23e9c1={'memberID':'','close$':_0x4edba9['asObservable'](),'error$':_0x121cc4[_0x38bdf1(0x317)](),'open$':_0x55abc9[_0x38bdf1(0x3f2)],'message$':_0x3f558e[_0x38bdf1(0x317)](),'send':_0x386ee2=>{var _0x28c282=_0x38bdf1;if(_0x386ee2[_0x28c282(0x1c4)]===F[_0x28c282(0x275)]){if(_0x386ee2[_0x28c282(0x249)][_0x28c282(0x295)]===_0x58780b[_0x28c282(0x25e)]){this[_0x28c282(0x2d7)](_0x23e9c1,_0x386ee2[_0x28c282(0x249)])[_0x28c282(0x2af)](_0x52c65b=>{this['_logService']['error'](_0x52c65b),_0xc2cbab();});return;}if(_0x386ee2[_0x28c282(0x249)][_0x28c282(0x295)]===_0x58780b[_0x28c282(0x2df)]){const _0xb297fc=_0x386ee2[_0x28c282(0x249)];this['_fetchMissChangesets'](_0xb297fc)[_0x28c282(0x374)](_0x3dc026=>{var _0x4313c5=_0x28c282;_0x3f558e['next']({'cmd':F[_0x4313c5(0x2aa)],'code':ge['OK'],'routeKey':_0xb297fc[_0x4313c5(0x249)][_0x4313c5(0x3c9)],'routeType':'','data':{'eventID':_0x58780b[_0x4313c5(0x414)],'data':{'changesets':_0x3dc026}}});})[_0x28c282(0x2af)](_0x4e7656=>{var _0x290997=_0x28c282;this['_logService'][_0x290997(0x2dd)](_0x4e7656),_0xc2cbab();});return;}}_0x55abc9['send'](Mn(_0x386ee2));},'close':()=>{var _0x46cdef=_0x38bdf1;_0x55abc9[_0x46cdef(0x1b5)](),_0x289159[_0x46cdef(0x1a8)]();}},_0x23e9c1;}async[_0x119c4e(0x2d7)](_0x3e0a72,_0x29be35){var _0x1171d9=_0x119c4e,_0x387f1f,_0x20ad90;const {unitType:_0x6b694b,unitID:_0x30d661,changeset:_0x27a9b0}=_0x29be35['data'],_0x2ea2fe={'unitID':_0x30d661,'memberID':_0x3e0a72[_0x1171d9(0x2e7)],'type':_0x6b694b,'changeset':_0x78e213(_0x27a9b0)},_0x452c29=this[_0x1171d9(0x1ce)][_0x1171d9(0x37c)](Nn),_0x564a3b=this['_configService']['getConfig'](q),_0x822c93=$n((_0x20ad90=(_0x387f1f=_0x564a3b==null?void 0x0:_0x564a3b[_0x1171d9(0x445)])!=null?_0x387f1f:_0x452c29)!=null?_0x20ad90:Dn,_0x6b694b,_0x30d661);try{await this[_0x1171d9(0x1db)][_0x1171d9(0x2cb)](_0x822c93,{'body':_0x2ea2fe});}catch(_0x50e5ea){throw this['_logService']['error'](_0x1171d9(0x31a),_0x1171d9(0x36d)),_0x50e5ea;}}async['_fetchMissChangesets'](_0x1788a7){var _0x1b9c9b=_0x119c4e;const {unitID:_0x154631,from:_0x430fbc,to:_0x349cc0,unitType:_0x37778f}=_0x1788a7[_0x1b9c9b(0x249)];return(await this[_0x1b9c9b(0x237)][_0x1b9c9b(0x404)]({'metadata':void 0x0},{'unitID':_0x154631,'type':_0x37778f,'from':_0x430fbc,'to':_0x349cc0}))[_0x1b9c9b(0x477)];}};Gt=kn([Ae(0x0,_0x3092f1(_0x171255)),Ae(0x1,_0x3092f1(_0x41022d)),Ae(0x2,_0xf8b865),Ae(0x3,_0x2bb065),Ae(0x4,_0x2b0636)],Gt);const Hn=_0x119c4e(0x28c);function Bn(_0x422841){var _0x4a30c9=_0x119c4e;return JSON[_0x4a30c9(0x19c)](_0x422841)['length'];}class Ti{constructor(){var _0x3dd51a=_0x119c4e;N(this,'_commentUpdate$',new _0x170992()),N(this,_0x3dd51a(0x1a3),this['_commentUpdate$'][_0x3dd51a(0x317)]());}[_0x119c4e(0x30c)](_0xa6505a){var _0x4ec990=_0x119c4e;this[_0x4ec990(0x457)][_0x4ec990(0x1f1)](_0xa6505a);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x4c91fc,_0x2805a8,_0x3a0052,_0x7322f2)=>{for(var _0x20763d=_0x7322f2>0x1?void 0x0:_0x7322f2?jn(_0x2805a8,_0x3a0052):_0x2805a8,_0x3aef9f=_0x4c91fc['length']-0x1,_0x231e45;_0x3aef9f>=0x0;_0x3aef9f--)(_0x231e45=_0x4c91fc[_0x3aef9f])&&(_0x20763d=_0x231e45(_0x20763d)||_0x20763d);return _0x20763d;},Wt=(_0x202dc7,_0x192124)=>(_0x3eed69,_0x1a5054)=>_0x192124(_0x3eed69,_0x1a5054,_0x202dc7);let Le=class extends _0x1124b6{constructor(_0x271c44,_0x157160){var _0x1c7799=_0x119c4e;super(),N(this,_0x1c7799(0x22d),new Map()),N(this,_0x1c7799(0x493),new _0x170992()),(this['_univerInstanceService']=_0x271c44,this[_0x1c7799(0x44b)]=_0x157160,this[_0x1c7799(0x325)](_0x1b41bd(this[_0x1c7799(0x2e0)]['getTypeOfUnitDisposed$'](_0x311465[_0x1c7799(0x248)])[_0x1c7799(0x46c)](_0x162c30(_0x1648b2=>_0x1648b2[_0x1c7799(0x401)]())),this[_0x1c7799(0x2e0)]['getTypeOfUnitDisposed$'](_0x311465['UNIVER_DOC'])[_0x1c7799(0x46c)](_0x162c30(_0x30a568=>_0x30a568[_0x1c7799(0x401)]())),this[_0x1c7799(0x2e0)][_0x1c7799(0x42b)](_0x311465['UNIVER_SLIDE'])[_0x1c7799(0x46c)](_0x162c30(_0x2044f8=>_0x2044f8[_0x1c7799(0x401)]())))[_0x1c7799(0x253)](_0x15381b=>this['_removeRoom'](_0x15381b))));}[_0x119c4e(0x48a)](_0x1f299f){var _0x3af602=_0x119c4e;return this['_roomMembers'][_0x3af602(0x3a7)](_0x1f299f)?_0x21d6b1(this[_0x3af602(0x22d)][_0x3af602(0x3de)](_0x1f299f)):this[_0x3af602(0x493)][_0x3af602(0x46c)](_0x162c30(_0x4e29c0=>{var _0x19fe5b=_0x3af602;if(_0x4e29c0===_0x1f299f)return this[_0x19fe5b(0x22d)][_0x19fe5b(0x3de)](_0x4e29c0);}));}[_0x119c4e(0x2ad)](_0x101ce4){var _0x5689df=_0x119c4e;this[_0x5689df(0x44b)][_0x5689df(0x2ad)](_0x101ce4);}[_0x119c4e(0x2ed)](){var _0x5be374=_0x119c4e;return this[_0x5be374(0x44b)][_0x5be374(0x2ed)]();}[_0x119c4e(0x459)](_0x1a6cd4,_0x56cf51){var _0x22b6a2=_0x119c4e;let _0xb4e780=this[_0x22b6a2(0x22d)][_0x22b6a2(0x3de)](_0x1a6cd4);_0xb4e780||(_0xb4e780=new Vn(),this[_0x22b6a2(0x22d)]['set'](_0x1a6cd4,_0xb4e780),this[_0x22b6a2(0x493)]['next'](_0x1a6cd4)),_0xb4e780[_0x22b6a2(0x459)](_0x56cf51);}['removeMember'](_0x3caaaa,_0x35c9bf){var _0x3d06f3=_0x119c4e;const _0x102110=this[_0x3d06f3(0x22d)][_0x3d06f3(0x3de)](_0x3caaaa);_0x102110&&_0x102110[_0x3d06f3(0x3a5)](_0x35c9bf);}[_0x119c4e(0x1f0)](_0x43fae3){var _0x5c6e8f=_0x119c4e;return this[_0x5c6e8f(0x22d)][_0x5c6e8f(0x3de)](_0x43fae3);}[_0x119c4e(0x49c)](_0x3bc99f,_0x5d5764){var _0x259f39=_0x119c4e;const _0x110fe9=this[_0x259f39(0x22d)][_0x259f39(0x3de)](_0x3bc99f);if(_0x110fe9)return _0x110fe9[_0x259f39(0x49c)](_0x5d5764);}['_removeRoom'](_0x5e2048){var _0x7e78ba=_0x119c4e;const _0x371dc3=this[_0x7e78ba(0x22d)]['get'](_0x5e2048);_0x371dc3&&(_0x371dc3['dispose'](),this[_0x7e78ba(0x22d)][_0x7e78ba(0x293)](_0x5e2048));}['dispose'](){var _0x1270e1=_0x119c4e;this['_roomMembers'][_0x1270e1(0x35e)](_0x39bb68=>_0x39bb68[_0x1270e1(0x1a8)]()),this[_0x1270e1(0x22d)][_0x1270e1(0x1bc)](),this[_0x1270e1(0x493)][_0x1270e1(0x1b2)]();}};Le=Fn([Wt(0x0,_0x1568a3),Wt(0x1,_0x3092f1(_0x59ebda))],Le);class Vn extends _0x1124b6{constructor(){var _0x3e112e=_0x119c4e;super(...arguments),N(this,_0x3e112e(0x25c),new Map()),N(this,_0x3e112e(0x3f0),new _0x1460ab(this[_0x3e112e(0x25c)])),N(this,_0x3e112e(0x389),this[_0x3e112e(0x3f0)][_0x3e112e(0x317)]());}['dispose'](){var _0x4e5adb=_0x119c4e;this[_0x4e5adb(0x25c)]['clear']();}[_0x119c4e(0x459)](_0x299c80){var _0x3ce769=_0x119c4e;this[_0x3ce769(0x25c)][_0x3ce769(0x26f)](_0x299c80['memberID'],_0x299c80),this[_0x3ce769(0x1d2)]();}[_0x119c4e(0x3a5)](_0xada865){var _0x5990d2=_0x119c4e;this['_members'][_0x5990d2(0x293)](_0xada865);}['getMember'](_0x1ebb04){var _0x5d26ce=_0x119c4e;return this[_0x5d26ce(0x25c)][_0x5d26ce(0x3de)](_0x1ebb04);}[_0x119c4e(0x391)](){var _0xa55bc7=_0x119c4e;return Array['from'](this['_members'][_0xa55bc7(0x1da)]());}['_emitMembers'](){var _0x12026d=_0x119c4e;this[_0x12026d(0x3f0)][_0x12026d(0x1f1)](this[_0x12026d(0x25c)]);}}var Gn=Object['getOwnPropertyDescriptor'],Wn=(_0x57f419,_0x1572e4,_0x3f6c56,_0x5dd5b3)=>{for(var _0x5a426f=_0x5dd5b3>0x1?void 0x0:_0x5dd5b3?Gn(_0x1572e4,_0x3f6c56):_0x1572e4,_0x5e72d4=_0x57f419['length']-0x1,_0x2f1f43;_0x5e72d4>=0x0;_0x5e72d4--)(_0x2f1f43=_0x57f419[_0x5e72d4])&&(_0x5a426f=_0x2f1f43(_0x5a426f)||_0x5a426f);return _0x5a426f;},me=(_0x5e11ce,_0x54b299)=>(_0x5405e8,_0x50a1ee)=>_0x54b299(_0x5405e8,_0x50a1ee,_0x5e11ce),Ee=(_0x180bf3=>(_0x180bf3[_0x180bf3[_0x119c4e(0x3f7)]=0x0]=_0x119c4e(0x3f7),_0x180bf3[_0x180bf3[_0x119c4e(0x225)]=0x1]=_0x119c4e(0x225),_0x180bf3[_0x180bf3[_0x119c4e(0x423)]=0x2]=_0x119c4e(0x423),_0x180bf3[_0x180bf3[_0x119c4e(0x222)]=0x3]=_0x119c4e(0x222),_0x180bf3))(Ee||{});const Yt={[ge[_0x119c4e(0x30d)]]:_0x119c4e(0x2fa),[ge[_0x119c4e(0x23c)]]:_0x119c4e(0x44d),[ge[_0x119c4e(0x39e)]]:_0x119c4e(0x373),[ge[_0x119c4e(0x419)]]:_0x119c4e(0x33e),[ge[_0x119c4e(0x408)]]:_0x119c4e(0x444)};let Et=class extends _0x5719da{constructor(_0x55f35c,_0x503f7b,_0x3e16c8,_0x37c9c7,_0x3b55a0,_0x210cef,_0x3c3308,_0x3c2966,_0x4a40c5){var _0x33b55b=_0x119c4e;super(),N(this,_0x33b55b(0x40e),new _0x1460ab(0x0)),N(this,_0x33b55b(0x2db),this[_0x33b55b(0x40e)][_0x33b55b(0x317)]()),N(this,'_event$',new _0x170992()),N(this,_0x33b55b(0x44a),this[_0x33b55b(0x1e2)][_0x33b55b(0x317)]()),N(this,_0x33b55b(0x1a9)),N(this,_0x33b55b(0x398)),N(this,_0x33b55b(0x24a)),N(this,_0x33b55b(0x28a),!0x1),N(this,'_telemetryInfo',null),(this[_0x33b55b(0x1f5)]=_0x55f35c,this[_0x33b55b(0x3e0)]=_0x3e16c8,this[_0x33b55b(0x1ce)]=_0x37c9c7,this['_localeService']=_0x3b55a0,this['_memberService']=_0x210cef,this[_0x33b55b(0x3e5)]=_0x3c3308,this[_0x33b55b(0x1ba)]=_0x3c2966,this['_telemetryService']=_0x4a40c5,this[_0x33b55b(0x28a)]=!!this[_0x33b55b(0x29f)],_0x503f7b['pipe'](_0x5eeacb(this[_0x33b55b(0x354)]))[_0x33b55b(0x253)](_0x3eb616=>{var _0x2537f9=_0x33b55b,_0x13d41f;typeof _0x3eb616>'u'||(this[_0x2537f9(0x1a9)]=_0x3eb616,_0x3eb616?(this[_0x2537f9(0x353)](_0x3eb616),this[_0x2537f9(0x398)]=_0x3eb616[_0x2537f9(0x387)][_0x2537f9(0x253)](_0x786d4f=>{var _0x464c07=_0x2537f9;_0x786d4f[_0x464c07(0x40d)]===this['_unitID']&&this['_onCombEvent'](_0x786d4f);})):(this[_0x2537f9(0x3e8)](),this[_0x2537f9(0x40e)][_0x2537f9(0x1f1)](0x2),(_0x13d41f=this[_0x2537f9(0x398)])==null||_0x13d41f[_0x2537f9(0x474)](),this[_0x2537f9(0x398)]=null));}));}get[_0x119c4e(0x2d5)](){var _0x386c70=_0x119c4e;return this[_0x386c70(0x40e)]['getValue']();}[_0x119c4e(0x465)](){var _0x127c8a=_0x119c4e,_0x406ed4,_0x3bc7a3;return(_0x3bc7a3=(_0x406ed4=this[_0x127c8a(0x1a9)])==null?void 0x0:_0x406ed4[_0x127c8a(0x2e7)])!=null?_0x3bc7a3:null;}['dispose'](){var _0x5c0dea=_0x119c4e;super[_0x5c0dea(0x1a8)](),this['dispose$'][_0x5c0dea(0x1f1)](),this[_0x5c0dea(0x354)][_0x5c0dea(0x1b2)]();}[_0x119c4e(0x1b5)](){var _0x3774e6=_0x119c4e,_0x20e65e,_0x266d36;this[_0x3774e6(0x3e8)](),(_0x20e65e=this[_0x3774e6(0x1a9)])==null||_0x20e65e['send']({'cmd':F[_0x3774e6(0x1ff)],'data':{'roomID':this[_0x3774e6(0x1f5)]}}),(_0x266d36=this['_socket'])==null||_0x266d36[_0x3774e6(0x1b5)](),this[_0x3774e6(0x1e2)][_0x3774e6(0x1b2)](),this[_0x3774e6(0x40e)][_0x3774e6(0x1b2)](),this[_0x3774e6(0x1a8)]();}[_0x119c4e(0x239)](_0x533ac9){var _0x22112a=_0x119c4e;_0x533ac9['cmd']===F[_0x22112a(0x231)]?this[_0x22112a(0x1fe)](_0x533ac9):_0x533ac9[_0x22112a(0x1c4)]===F[_0x22112a(0x2aa)]&&this[_0x22112a(0x37f)](_0x533ac9);}['_joinRoom'](_0x10b70c){var _0x40b9ae=_0x119c4e;this[_0x40b9ae(0x40e)][_0x40b9ae(0x1f1)](0x1),_0x10b70c['send']({'cmd':F[_0x40b9ae(0x231)],'routeKey':this[_0x40b9ae(0x1f5)],'routeType':'','data':{'rooms':[{'roomID':this[_0x40b9ae(0x1f5)]}]}});}[_0x119c4e(0x1fe)](_0x4c85c3){var _0x2dfa0c=_0x119c4e,_0x1b1050;if(_0x4c85c3[_0x2dfa0c(0x3a4)]in Yt){this['_collaborationUIEventService'][_0x2dfa0c(0x45e)]({'id':re[_0x2dfa0c(0x492)],'data':Yt[_0x4c85c3['code']]}),this[_0x2dfa0c(0x40e)][_0x2dfa0c(0x1f1)](0x2);return;}this[_0x2dfa0c(0x40e)][_0x2dfa0c(0x1f1)](0x3);const _0x5ca551=(_0x1b1050=_0x4c85c3[_0x2dfa0c(0x249)][_0x2dfa0c(0x336)][this[_0x2dfa0c(0x1f5)]])==null?void 0x0:_0x1b1050['members'];_0x5ca551&&_0x5ca551[_0x2dfa0c(0x35e)](_0x4d2af2=>this[_0x2dfa0c(0x1e7)][_0x2dfa0c(0x459)](this[_0x2dfa0c(0x1f5)],_0x4d2af2));}['_onRecvEvent'](_0x15c6df){var _0x48a9ec=_0x119c4e;try{const _0x2c70ac=_0x15c6df[_0x48a9ec(0x249)];switch(_0x2c70ac[_0x48a9ec(0x295)]){case _0x58780b['USERS_ENTER']:this[_0x48a9ec(0x49b)](_0x2c70ac),this[_0x48a9ec(0x1e2)][_0x48a9ec(0x1f1)](_0x2c70ac);break;case _0x58780b[_0x48a9ec(0x2ff)]:this[_0x48a9ec(0x1c3)](_0x2c70ac),this[_0x48a9ec(0x1e2)][_0x48a9ec(0x1f1)](_0x2c70ac);break;case _0x58780b[_0x48a9ec(0x303)]:case _0x58780b[_0x48a9ec(0x3d0)]:this[_0x48a9ec(0x296)](),this['_clearCollaborationTimeoutTimer'](),this[_0x48a9ec(0x1e2)][_0x48a9ec(0x1f1)](_0x2c70ac);break;case _0x58780b[_0x48a9ec(0x40c)]:this[_0x48a9ec(0x3e0)][_0x48a9ec(0x2dd)](_0x48a9ec(0x2fb)+JSON[_0x48a9ec(0x19c)](_0x2c70ac)),this['_event$'][_0x48a9ec(0x1f1)](_0x2c70ac);break;case _0x58780b[_0x48a9ec(0x36f)]:this['_commentService'][_0x48a9ec(0x30c)](_0x2c70ac[_0x48a9ec(0x249)]),this[_0x48a9ec(0x1e2)]['next'](_0x2c70ac);break;default:this[_0x48a9ec(0x1e2)][_0x48a9ec(0x1f1)](_0x2c70ac);}}catch(_0x5b5942){this[_0x48a9ec(0x3e0)][_0x48a9ec(0x2dd)](_0x5b5942,_0x15c6df);}}[_0x119c4e(0x49b)](_0x47f66b){var _0x4bff23=_0x119c4e;this[_0x4bff23(0x1e7)][_0x4bff23(0x459)](this[_0x4bff23(0x1f5)],_0x47f66b[_0x4bff23(0x249)]);}[_0x119c4e(0x1c3)](_0x5e7ff7){var _0x293c48=_0x119c4e;this[_0x293c48(0x1e7)][_0x293c48(0x3a5)](this[_0x293c48(0x1f5)],_0x5e7ff7[_0x293c48(0x249)][_0x293c48(0x2e7)]);}async[_0x119c4e(0x247)](_0x463fb4,_0x2ed6f2){var _0x77b992=_0x119c4e;if(this['sessionStatus']!==0x3||!this[_0x77b992(0x1a9)])throw new Error(_0x77b992(0x3ba));try{_0x463fb4[_0x77b992(0x295)]===_0x58780b[_0x77b992(0x25e)]&&(this[_0x77b992(0x36a)](),this[_0x77b992(0x321)](_0x463fb4)),this[_0x77b992(0x1a9)][_0x77b992(0x247)]({'cmd':F[_0x77b992(0x275)],'routeKey':_0x2ed6f2,'routeType':'','data':_0x463fb4});}catch(_0x39170c){this[_0x77b992(0x3e0)]['error'](_0x39170c);}}[_0x119c4e(0x36a)](){var _0x3a0f89=_0x119c4e,_0x8bb6ea;this[_0x3a0f89(0x24a)]=setTimeout(()=>{var _0x421d9c=_0x3a0f89;this[_0x421d9c(0x24a)]=null,this['_collaborationUIEventService'][_0x421d9c(0x45e)]({'id':re[_0x421d9c(0x360)]});},(_0x8bb6ea=this[_0x3a0f89(0x1ce)][_0x3a0f89(0x37c)](mi))!=null?_0x8bb6ea:gi);}['_clearCollaborationTimeoutTimer'](){var _0x3a6a6d=_0x119c4e;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x3a6a6d(0x24a)]),this[_0x3a6a6d(0x24a)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2d34d8){var _0x45554f=_0x119c4e;if(!this[_0x45554f(0x28a)])return;const {data:_0x464ab}=_0x2d34d8,{unitID:_0x1519fb,changeset:_0x586080}=_0x464ab,{mutations:_0x176b4f,type:_0x3b0a7e}=_0x586080;this[_0x45554f(0x320)]={'unitId':_0x1519fb,'type':_0x3b0a7e,'startTime':performance[_0x45554f(0x274)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x176b4f)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x4538d4=_0x119c4e;if(this[_0x4538d4(0x28a)]){if(!this[_0x4538d4(0x320)]){this['_logService'][_0x4538d4(0x2dd)](_0x4538d4(0x31a),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4538d4(0x320)][_0x4538d4(0x3ab)]=performance[_0x4538d4(0x274)](),this[_0x4538d4(0x320)]['duration']=this[_0x4538d4(0x320)][_0x4538d4(0x3ab)]-this[_0x4538d4(0x320)][_0x4538d4(0x2a5)],this[_0x4538d4(0x29f)][_0x4538d4(0x218)](Hn,this[_0x4538d4(0x320)]),this[_0x4538d4(0x320)]=null;}}[_0x119c4e(0x3e8)](){var _0xa50189=_0x119c4e;this[_0xa50189(0x320)]=null;}};Et=Wn([me(0x2,_0x2bb065),me(0x3,_0xf8b865),me(0x4,_0x3092f1(_0x49223f)),me(0x5,_0x3092f1(Le)),me(0x6,_0x3092f1(Ti)),me(0x7,_0x3092f1(pe)),me(0x8,_0x4240c6(_0xf895c9))],Et);var Yn=Object[_0x119c4e(0x442)],Kn=(_0x1c1c83,_0x4efe4f,_0x4c8104,_0x414ede)=>{var _0x59941d=_0x119c4e;for(var _0x4a503f=_0x414ede>0x1?void 0x0:_0x414ede?Yn(_0x4efe4f,_0x4c8104):_0x4efe4f,_0x1180dc=_0x1c1c83[_0x59941d(0x1b1)]-0x1,_0x54ec7a;_0x1180dc>=0x0;_0x1180dc--)(_0x54ec7a=_0x1c1c83[_0x1180dc])&&(_0x4a503f=_0x54ec7a(_0x4a503f)||_0x4a503f);return _0x4a503f;},be=(_0x4f1145,_0x5c366a)=>(_0x321b93,_0x15eb06)=>_0x5c366a(_0x321b93,_0x15eb06,_0x4f1145);let Me=class extends _0x1124b6{constructor(_0x454e7f,_0x2a2054,_0x1fd97d,_0xbab45d,_0x302e2e,_0x317c82){var _0x5a9567=_0x119c4e;super(),N(this,'_socket$',new _0x1460ab(void 0x0)),N(this,_0x5a9567(0x2b1),this[_0x5a9567(0x481)]['asObservable']()),N(this,_0x5a9567(0x46e),null),N(this,_0x5a9567(0x380),new Map()),N(this,_0x5a9567(0x2e9),new _0x1460ab(Ee[_0x5a9567(0x3f7)])),N(this,_0x5a9567(0x2b9),this[_0x5a9567(0x2e9)]['asObservable']()),N(this,_0x5a9567(0x31c),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x5a9567(0x3e3),0x0),N(this,_0x5a9567(0x1ea)),N(this,_0x5a9567(0x1e1)),(this[_0x5a9567(0x3f3)]=_0x454e7f,this[_0x5a9567(0x3e0)]=_0x2a2054,this['_configService']=_0x1fd97d,this['_socketService']=_0xbab45d,this[_0x5a9567(0x1ba)]=_0x302e2e,this[_0x5a9567(0x235)]=_0x317c82,this[_0x5a9567(0x243)]());}get[_0x119c4e(0x1a9)](){var _0xb69772=_0x119c4e;return this[_0xb69772(0x481)][_0xb69772(0x2b6)]();}['_listenToNetworkCondition'](){var _0x19179c=_0x119c4e;this['_networkConditionService']&&this[_0x19179c(0x325)](this[_0x19179c(0x235)]['online$'][_0x19179c(0x253)](_0x24cf24=>{var _0x33b9a9=_0x19179c;_0x24cf24&&!this[_0x33b9a9(0x1a9)]&&this[_0x33b9a9(0x314)](),_0x24cf24||this[_0x33b9a9(0x223)]();}));}[_0x119c4e(0x1a8)](){var _0x3fcf43=_0x119c4e;super['dispose'](),this[_0x3fcf43(0x25d)](),this[_0x3fcf43(0x311)](),this['_clearHeartbeatTimer'](),this[_0x3fcf43(0x380)][_0x3fcf43(0x35e)](_0x256cd6=>_0x256cd6['dispose']()),this[_0x3fcf43(0x380)][_0x3fcf43(0x1bc)](),this[_0x3fcf43(0x2e9)]['complete']();}async[_0x119c4e(0x41f)](_0x5abecf){var _0x69c115=_0x119c4e;if(this['_sessions'][_0x69c115(0x3a7)](_0x5abecf))return this[_0x69c115(0x380)]['get'](_0x5abecf);this[_0x69c115(0x2ce)]();const _0x3b33c5=this[_0x69c115(0x3f3)][_0x69c115(0x1b6)](Et,_0x5abecf,this[_0x69c115(0x481)][_0x69c115(0x317)]());return this[_0x69c115(0x380)][_0x69c115(0x26f)](_0x5abecf,_0x3b33c5),_0x3b33c5;}['closeSession'](_0x51bcd6){var _0x5b9740=_0x119c4e,_0x345404;const _0x464cdf=this['_sessions'][_0x5b9740(0x3de)](_0x51bcd6);_0x464cdf&&(this[_0x5b9740(0x380)]['delete'](_0x51bcd6),_0x464cdf[_0x5b9740(0x1b5)]()),this['_sessions']['size']||(_0x345404=this[_0x5b9740(0x1a9)])==null||_0x345404[_0x5b9740(0x1b5)]();}[_0x119c4e(0x314)](){var _0xce72c5=_0x119c4e;this[_0xce72c5(0x3e3)]=0x0,this[_0xce72c5(0x25d)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x222ffb=_0x119c4e;this[_0x222ffb(0x49a)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x222ffb(0x49a)]=null);}async[_0x119c4e(0x226)](){var _0x28b94f=_0x119c4e,_0xea0a30,_0x27e353;const _0x368670=this[_0x28b94f(0x1ce)][_0x28b94f(0x37c)](In),_0x4ef39b=this['_configService'][_0x28b94f(0x37c)](q),_0x12f202=(_0x27e353=(_0xea0a30=_0x4ef39b==null?void 0x0:_0x4ef39b['collabWebSocketUrl'])!=null?_0xea0a30:_0x368670)!=null?_0x27e353:Tn,_0x5dd718=await this[_0x28b94f(0x385)][_0x28b94f(0x1f6)](_0x12f202);return this[_0x28b94f(0x46e)]=_0x5dd718,_0x5dd718;}async[_0x119c4e(0x2ce)](){var _0x9f931b=_0x119c4e,_0x1b59a5,_0x4e662f;try{const _0x40a258=(_0x4e662f=(_0x1b59a5=this[_0x9f931b(0x1a9)])!=null?_0x1b59a5:this[_0x9f931b(0x46e)])!=null?_0x4e662f:await this[_0x9f931b(0x226)]();if(_0x40a258){const _0x290edf=_0x40a258[_0x9f931b(0x247)];_0x40a258[_0x9f931b(0x247)]=_0x3a09c4=>(this[_0x9f931b(0x33c)](),_0x290edf[_0x9f931b(0x3d9)](_0x40a258,[_0x3a09c4])),_0x40a258[_0x9f931b(0x387)][_0x9f931b(0x253)](_0x13295c=>this[_0x9f931b(0x29c)](_0x40a258,_0x13295c)),_0x40a258[_0x9f931b(0x24e)][_0x9f931b(0x46c)](_0x427194(0x1))[_0x9f931b(0x253)](_0x147c0e=>this[_0x9f931b(0x3e0)][_0x9f931b(0x2dd)](_0x9f931b(0x371),_0x147c0e)),_0x40a258['open$'][_0x9f931b(0x46c)](_0x427194(0x1))[_0x9f931b(0x253)](()=>{var _0x4fded5=_0x9f931b;this[_0x4fded5(0x212)](_0x40a258);}),_0x40a258[_0x9f931b(0x378)][_0x9f931b(0x46c)](_0x427194(0x1))[_0x9f931b(0x253)](_0x5b9656=>{var _0x3c01cb=_0x9f931b;this['_logService'][_0x3c01cb(0x213)](_0x3c01cb(0x3ea),_0x3c01cb(0x1e4),_0x5b9656),this[_0x3c01cb(0x3bd)]();});}}catch(_0x4f428f){this[_0x9f931b(0x3e0)]['error'](_0x4f428f),this[_0x9f931b(0x3bd)]();}}[_0x119c4e(0x212)](_0x560857){var _0x319fb9=_0x119c4e;this[_0x319fb9(0x3e0)][_0x319fb9(0x213)](_0x319fb9(0x3ea),'socket\x20open.'),_0x560857[_0x319fb9(0x247)]({'cmd':F['HELLO']}),this[_0x319fb9(0x33c)]();}['_onOffline'](){var _0x32d22c=_0x119c4e;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x32d22c(0x1f1)](Ee[_0x32d22c(0x423)]),this[_0x32d22c(0x481)][_0x32d22c(0x1f1)](null),this['_clearTimeoutTimer'](),this[_0x32d22c(0x3a6)]();}[_0x119c4e(0x3bd)](){var _0x4b299e=_0x119c4e,_0x45a850;this[_0x4b299e(0x223)](),this['_retryCount']<((_0x45a850=this[_0x4b299e(0x1ce)][_0x4b299e(0x37c)](On))!=null?_0x45a850:yn)?(this['_collaborationUIEventService'][_0x4b299e(0x45e)]({'id':re[_0x4b299e(0x282)]}),this[_0x4b299e(0x1b4)]()):this[_0x4b299e(0x1ba)][_0x4b299e(0x45e)]({'id':re['SOCKET_FAILED']});}[_0x119c4e(0x1b4)](){var _0x52bf63=_0x119c4e,_0x359e4e;const _0x3e4b1c=this[_0x52bf63(0x3e3)],_0x27e43e=this[_0x52bf63(0x1ce)][_0x52bf63(0x37c)](q),_0x397ad1=_0x3e4b1c===0x0?0x0:((_0x359e4e=_0x27e43e==null?void 0x0:_0x27e43e[_0x52bf63(0x1f7)])!=null?_0x359e4e:bn)*0x2**_0x3e4b1c;this[_0x52bf63(0x49a)]=setTimeout(()=>{var _0x4987c0=_0x52bf63;clearTimeout(this[_0x4987c0(0x49a)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x397ad1),this[_0x52bf63(0x3e3)]+=0x1;}[_0x119c4e(0x29c)](_0x509f35,_0x4b3d7f){var _0x1bc234=_0x119c4e;const {cmd:_0x407fb0}=_0x4b3d7f;_0x407fb0===F['HELLO']&&!this[_0x1bc234(0x31c)]&&(_0x509f35[_0x1bc234(0x2e7)]=_0x4b3d7f['data'][_0x1bc234(0x2e7)],this[_0x1bc234(0x481)][_0x1bc234(0x1f1)](_0x509f35),this[_0x1bc234(0x2e9)][_0x1bc234(0x1f1)](Ee[_0x1bc234(0x222)]),this[_0x1bc234(0x31c)]=!0x0,this['_candidateSocket']=null),_0x407fb0===F[_0x1bc234(0x30a)]&&this['_clearTimeoutTimer'](),this[_0x1bc234(0x33c)]();}['_rescheduleHeartbeat'](){var _0x5c2a7f=_0x119c4e,_0x187e93;this['_clearHeartbeatTimer'](),this[_0x5c2a7f(0x1ea)]=setTimeout(()=>this[_0x5c2a7f(0x331)](),(_0x187e93=this[_0x5c2a7f(0x1ce)][_0x5c2a7f(0x37c)](Cn))!=null?_0x187e93:Rn);}[_0x119c4e(0x331)](){var _0x857e99=_0x119c4e;this[_0x857e99(0x1a9)][_0x857e99(0x247)]({'cmd':F['HEARTBEAT']}),this[_0x857e99(0x20f)]();}[_0x119c4e(0x20f)](){var _0x4e93bc=_0x119c4e,_0x246fff;this[_0x4e93bc(0x1e1)]=setTimeout(()=>this[_0x4e93bc(0x3bd)](),(_0x246fff=this['_configService'][_0x4e93bc(0x37c)](mi))!=null?_0x246fff:gi);}[_0x119c4e(0x3a6)](){var _0xdfa85f=_0x119c4e;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0xdfa85f(0x1ea)]),this[_0xdfa85f(0x1ea)]=null);}['_clearTimeoutTimer'](){var _0x21ec37=_0x119c4e;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x21ec37(0x1e1)]),this['_timeoutTimer']=null);}};Me=Kn([be(0x0,_0x3092f1(_0x171255)),be(0x1,_0x2bb065),be(0x2,_0xf8b865),be(0x3,Ii),be(0x4,_0x3092f1(pe)),be(0x5,_0x4240c6(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V[_0x119c4e(0x365)]((t+0x100)[_0x119c4e(0x1fd)](0x10)[_0x119c4e(0x2c7)](0x1));function qn(_0x3b96a8,_0x42e470=0x0){var _0x3c656d=_0x119c4e;return(V[_0x3b96a8[_0x42e470+0x0]]+V[_0x3b96a8[_0x42e470+0x1]]+V[_0x3b96a8[_0x42e470+0x2]]+V[_0x3b96a8[_0x42e470+0x3]]+'-'+V[_0x3b96a8[_0x42e470+0x4]]+V[_0x3b96a8[_0x42e470+0x5]]+'-'+V[_0x3b96a8[_0x42e470+0x6]]+V[_0x3b96a8[_0x42e470+0x7]]+'-'+V[_0x3b96a8[_0x42e470+0x8]]+V[_0x3b96a8[_0x42e470+0x9]]+'-'+V[_0x3b96a8[_0x42e470+0xa]]+V[_0x3b96a8[_0x42e470+0xb]]+V[_0x3b96a8[_0x42e470+0xc]]+V[_0x3b96a8[_0x42e470+0xd]]+V[_0x3b96a8[_0x42e470+0xe]]+V[_0x3b96a8[_0x42e470+0xf]])[_0x3c656d(0x438)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x4a7eef=_0x119c4e;if(!ut){if(typeof crypto>'u'||!crypto[_0x4a7eef(0x2ee)])throw new Error(_0x4a7eef(0x2ab));ut=crypto['getRandomValues']['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x119c4e(0x22f)][_0x119c4e(0x2fc)](crypto),Kt={'randomUUID':Xn};function Zn(_0x37c827,_0xf36309,_0x51df09){var _0x118553=_0x119c4e,_0xd83944,_0x4c5ab1,_0x2a0aab;if(Kt['randomUUID']&&!_0x37c827)return Kt[_0x118553(0x22f)]();_0x37c827=_0x37c827||{};const _0x1bfb58=(_0x2a0aab=(_0x4c5ab1=_0x37c827['random'])!=null?_0x4c5ab1:(_0xd83944=_0x37c827[_0x118553(0x1dd)])==null?void 0x0:_0xd83944[_0x118553(0x3d3)](_0x37c827))!=null?_0x2a0aab:Jn();if(_0x1bfb58[_0x118553(0x1b1)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x1bfb58[0x6]=_0x1bfb58[0x6]&0xf|0x40,_0x1bfb58[0x8]=_0x1bfb58[0x8]&0x3f|0x80,qn(_0x1bfb58);}const J=_0x9049ae(_0x119c4e(0x20a));function Br(_0x28bb31){return'unit-cache-'+_0x28bb31;}var Qn=Object['getOwnPropertyDescriptor'],es=(_0x25c4ce,_0x43b6f5,_0x498add,_0x1c6f54)=>{var _0x21e4f4=_0x119c4e;for(var _0x4fbabf=_0x1c6f54>0x1?void 0x0:_0x1c6f54?Qn(_0x43b6f5,_0x498add):_0x43b6f5,_0x7eb9eb=_0x25c4ce[_0x21e4f4(0x1b1)]-0x1,_0x54b1da;_0x7eb9eb>=0x0;_0x7eb9eb--)(_0x54b1da=_0x25c4ce[_0x7eb9eb])&&(_0x4fbabf=_0x54b1da(_0x4fbabf)||_0x4fbabf);return _0x4fbabf;},dt=(_0x1a02f2,_0x97402b)=>(_0x2b98e0,_0x380ede)=>_0x97402b(_0x2b98e0,_0x380ede,_0x1a02f2);function ts(_0x5a9c35){var _0x377c88=_0x119c4e;const {unitID:_0x46ff08,mutations:_0x52172b}=_0x5a9c35;return{'unitId':_0x46ff08,'subUnitId':_0x52172b[0x0][_0x377c88(0x38e)][_0x377c88(0x447)]};}let it=class{constructor(_0x2b9abb,_0x429d72,_0x55d89){var _0x26977c=_0x119c4e;this['_injector']=_0x2b9abb,this[_0x26977c(0x3aa)]=_0x429d72,this[_0x26977c(0x44e)]=_0x55d89;}[_0x119c4e(0x1cf)](_0x926a59){var _0xf105e3=_0x119c4e,_0x37684d,_0x3eb996,_0x1b616f,_0x3db6c0;const _0xa4f85c=this['_injector']['get'](_0x11781),{unitId:_0x5846de,subUnitId:_0x60dff3}=ts(_0x926a59),_0x18f1c4=_0xa4f85c==null?void 0x0:_0xa4f85c[_0xf105e3(0x343)](_0x5846de)['getCurrentSelections'](),_0x4db396=(_0x3eb996=(_0x37684d=this[_0xf105e3(0x44e)]['getUnit'](_0x5846de))==null?void 0x0:_0x37684d['getActiveSheet']())==null?void 0x0:_0x3eb996[_0xf105e3(0x3a3)]();if(_0x18f1c4[_0xf105e3(0x1b1)]===0x0||!_0x5846de||!_0x60dff3)return;const _0x5294e3=[{'id':_0x14dca4['id'],'params':{'unitId':_0x5846de,'subUnitId':_0x4db396,'selections':_0x3c951a[_0xf105e3(0x215)](_0x18f1c4)}}],_0x56c779=this[_0xf105e3(0x3aa)][_0xf105e3(0x489)](_0x926a59,_0x5294e3);if(!_0x23fc49(_0x56c779))throw _0x56c779['error'];const _0x552bec=(_0x3db6c0=(_0x1b616f=_0x56c779[_0xf105e3(0x241)][0x0])==null?void 0x0:_0x1b616f[_0xf105e3(0x38e)])==null?void 0x0:_0x3db6c0[_0xf105e3(0x2eb)];if(Array['isArray'](_0x552bec)&&_0x552bec['length']){if(_0x552bec[_0xf105e3(0x1b1)]===_0x5294e3[0x0][_0xf105e3(0x38e)][_0xf105e3(0x2eb)]['length']&&_0x552bec[_0xf105e3(0x277)]((_0x4ad09b,_0x17aaff)=>_0x59153e[_0xf105e3(0x483)](_0x4ad09b[_0xf105e3(0x3c4)],_0x5294e3[0x0][_0xf105e3(0x38e)][_0xf105e3(0x2eb)][_0x17aaff]['range'])))return;this[_0xf105e3(0x3f3)]['get'](_0x5e65df)['executeCommand'](_0x14dca4['id'],{'unitId':_0x5846de,'subUnitId':_0x4db396,'selections':_0x552bec});}}};it=es([dt(0x0,_0x3092f1(_0x171255)),dt(0x1,_0x55135c),dt(0x2,_0x1568a3)],it);const ht=_0x9049ae('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x4c9187=>(_0x4c9187[_0x4c9187[_0x119c4e(0x3f1)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4c9187[_0x4c9187[_0x119c4e(0x482)]=0x1]=_0x119c4e(0x482),_0x4c9187))(Ci||{});const is=new Set([_0x4569aa['id']]);function qt(_0x59fba1,_0x44edd8,_0x28c8d1,_0x3ab99c,_0x238c28){var _0x161c2c=_0x119c4e,_0x43f295,_0x204a59,_0x16dd6c,_0x3f6a2a;const _0x1db52f=[];for(const _0xe105f9 of _0x59fba1)if(is[_0x161c2c(0x3a7)](_0xe105f9['id'])){if(_0x1db52f['length']>0x0)break;_0x1db52f['push'](_0xe105f9);break;}else _0x1db52f[_0x161c2c(0x365)](_0xe105f9);const _0x4a9095=(_0x204a59=(_0x43f295=_0x238c28[_0x161c2c(0x2ed)]())==null?void 0x0:_0x43f295['userID'])!=null?_0x204a59:'unknown',_0x3350b1=(_0x3f6a2a=(_0x16dd6c=_0x238c28[_0x161c2c(0x2ed)]())==null?void 0x0:_0x16dd6c[_0x161c2c(0x2e7)])!=null?_0x3f6a2a:'unknown';return{'changeset':{'unitID':_0x44edd8,'type':_0x2211db(_0x28c8d1[_0x161c2c(0x3a1)](_0x44edd8)),'baseRev':_0x3ab99c[_0x161c2c(0x19a)](_0x44edd8),'revision':0x0,'userID':_0x4a9095,'memberID':_0x3350b1,'mutations':_0x1db52f},'pendingMutations':_0x59fba1['slice'](_0x1db52f[_0x161c2c(0x1b1)])};}function ns(_0xdcee4d,_0x9a378f,_0xcaad9e,_0x3bd04d,_0x554eab){var _0xc73297=_0x119c4e,_0x382e6d,_0x17d2d1,_0x3f5b34,_0x5c89a4;const _0x185b83=[_0xdcee4d['reduce']((_0x2eefa0,_0x5e3f69)=>{var _0x3d8535=_0x5b09,_0x173c48;const {id:_0x1d019e}=_0x2eefa0,{id:_0x24e4e7,type:_0x25a9d9}=_0x5e3f69,_0x7311cb=(_0x173c48=_0x2eefa0[_0x3d8535(0x38e)])!=null?_0x173c48:{'actions':null},_0x2c88a0=_0x5e3f69['params'];if(_0x1d019e&&_0x1d019e!==_0x24e4e7)throw new Error(_0x3d8535(0x322)+_0x1d019e+'\x20-\x20'+_0x24e4e7+'.');return{..._0x2eefa0,'id':_0x24e4e7,'type':_0x25a9d9,'params':{'unitId':_0x2c88a0[_0x3d8535(0x45b)],'textRanges':_0x2c88a0[_0x3d8535(0x297)],'actions':_0x485fc8[_0x3d8535(0x256)](_0x7311cb[_0x3d8535(0x2a0)],_0x2c88a0[_0x3d8535(0x2a0)])}};},{})],_0x17eff6=(_0x17d2d1=(_0x382e6d=_0x554eab[_0xc73297(0x2ed)]())==null?void 0x0:_0x382e6d['userID'])!=null?_0x17d2d1:_0xc73297(0x467),_0x2e9905=(_0x5c89a4=(_0x3f5b34=_0x554eab['getCurrentUser']())==null?void 0x0:_0x3f5b34[_0xc73297(0x2e7)])!=null?_0x5c89a4:_0xc73297(0x467);return{'changeset':{'unitID':_0x9a378f,'type':_0x2211db(_0xcaad9e[_0xc73297(0x3a1)](_0x9a378f)),'baseRev':_0x3bd04d[_0xc73297(0x19a)](_0x9a378f),'revision':0x0,'userID':_0x17eff6,'memberID':_0x2e9905,'mutations':_0x185b83},'pendingMutations':[]};}function Ri(_0x262cac,_0x19992e){var _0x229af1=_0x119c4e;const _0xfd6f8f=new _0x2afbcf(0x1);return setTimeout(()=>_0xfd6f8f[_0x229af1(0x1f1)](_0x19992e),_0x262cac),_0xfd6f8f[_0x229af1(0x317)]()['pipe'](_0x1c6aaf(0x1));}const ss={'id':_0x341012['id'],'type':_0x483c40['MUTATION'],'params':{}};var rs=Object[_0x119c4e(0x442)],Te=(_0x1c6f2e,_0x256a0e,_0x2a7ed7,_0x5a4099)=>{var _0x58ea2b=_0x119c4e;for(var _0x2eee4e=_0x5a4099>0x1?void 0x0:_0x5a4099?rs(_0x256a0e,_0x2a7ed7):_0x256a0e,_0xbe6b71=_0x1c6f2e[_0x58ea2b(0x1b1)]-0x1,_0x1b663e;_0xbe6b71>=0x0;_0xbe6b71--)(_0x1b663e=_0x1c6f2e[_0xbe6b71])&&(_0x2eee4e=_0x1b663e(_0x2eee4e)||_0x2eee4e);return _0x2eee4e;},P=(_0x4e9ed7,_0x482dd3)=>(_0x12c7ee,_0x458dbd)=>_0x482dd3(_0x12c7ee,_0x458dbd,_0x4e9ed7),bi=(_0x29353e=>(_0x29353e['NOT_COLLAB']=_0x119c4e(0x2ba),_0x29353e[_0x119c4e(0x1ac)]=_0x119c4e(0x2cd),_0x29353e[_0x119c4e(0x47f)]=_0x119c4e(0x35a),_0x29353e[_0x119c4e(0x375)]=_0x119c4e(0x1ab),_0x29353e['AWAITING_WITH_PENDING']=_0x119c4e(0x37e),_0x29353e[_0x119c4e(0x298)]=_0x119c4e(0x2a3),_0x29353e[_0x119c4e(0x3fd)]='conflict',_0x29353e[_0x119c4e(0x423)]='offline',_0x29353e))(bi||{});const Oi=0xea60;class Ce{constructor(_0x4f40b3,_0x1a39e9,_0x4f6d6f,_0x421871,_0x2eb01c,_0x55d823,_0x4428ef,_0x30ef21,_0x3a41d0){var _0x1c45a8=_0x119c4e;N(this,'_awaitingChangeset',null),N(this,_0x1c45a8(0x42f),[]),(this[_0x1c45a8(0x3c9)]=_0x4f40b3,this[_0x1c45a8(0x3f5)]=_0x1a39e9,this[_0x1c45a8(0x2ca)]=_0x2eb01c,this[_0x1c45a8(0x2cc)]=_0x55d823,this['_undoRedoService']=_0x4428ef,this['_revisionService']=_0x30ef21,this['_localCacheService']=_0x3a41d0,this[_0x1c45a8(0x471)]=_0x4f6d6f,this[_0x1c45a8(0x42f)]=_0x421871);}['_checkMissing'](_0x389956){var _0x54600d=_0x119c4e;const _0x263cbd=this[_0x54600d(0x2c6)][_0x54600d(0x19a)](this[_0x54600d(0x3c9)]);return _0x389956[_0x54600d(0x32a)]>_0x263cbd+0x1?(this[_0x54600d(0x2ca)]['onMissingChangesets']({'from':_0x263cbd,'to':_0x389956[_0x54600d(0x32a)]-0x1}),!0x0):!0x1;}[_0x119c4e(0x308)](_0x135db4){var _0x539077=_0x119c4e;this['_undoRedoService'][_0x539077(0x338)](this[_0x539077(0x3c9)],_0x135db4);}[_0x119c4e(0x381)](_0x27e610){var _0x194b67=_0x119c4e,_0x33261e,_0x2a2ea0;(_0x2a2ea0=(_0x33261e=this[_0x194b67(0x2ca)])[_0x194b67(0x3cd)])==null||_0x2a2ea0[_0x194b67(0x3d3)](_0x33261e,_0x27e610);}[_0x119c4e(0x386)](_0x2aa55f){var _0x2c63b4=_0x119c4e,_0x1b5a14,_0x587ea5;return(_0x587ea5=(_0x1b5a14=this['_handler'])[_0x2c63b4(0x291)])==null?void 0x0:_0x587ea5[_0x2c63b4(0x3d3)](_0x1b5a14,_0x2aa55f);}[_0x119c4e(0x1c9)](_0x4b43c4){var _0x52139e=_0x119c4e,_0x255b71,_0x2e2036;return(_0x2e2036=(_0x255b71=this[_0x52139e(0x2ca)])['onTransformState'])==null?void 0x0:_0x2e2036['call'](_0x255b71,_0x4b43c4);}['_transformRemoteChangesetByIMECache'](_0x3ee7e8){var _0x240cee=_0x119c4e,_0x30d551,_0x2000e0,_0x277008;return(_0x277008=(_0x2000e0=(_0x30d551=this[_0x240cee(0x2ca)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2000e0['call'](_0x30d551,_0x3ee7e8))!=null?_0x277008:_0x3ee7e8;}[_0x119c4e(0x1ae)](_0x280eb6){var _0x41a30d=_0x119c4e,_0x339a57,_0x1e771e,_0x3fc486;return(_0x3fc486=(_0x1e771e=(_0x339a57=this[_0x41a30d(0x2ca)])[_0x41a30d(0x1ec)])==null?void 0x0:_0x1e771e[_0x41a30d(0x3d3)](_0x339a57,_0x280eb6))!=null?_0x3fc486:_0x280eb6;}[_0x119c4e(0x2ea)](_0x43b588){var _0x4fa9d7=_0x119c4e,_0x44d88c,_0x2fbe7b;if(this[_0x4fa9d7(0x3f5)]===Q[_0x4fa9d7(0x305)]){const {unitID:_0x35ca88,mutations:_0x200caa,memberID:_0x1c7d24}=_0x43b588,_0x10c240=_0x200caa[0x0][_0x4fa9d7(0x38e)][_0x4fa9d7(0x297)];Array[_0x4fa9d7(0x427)](_0x10c240)&&_0x10c240[_0x4fa9d7(0x1b1)]>0x0&&((_0x2fbe7b=(_0x44d88c=this[_0x4fa9d7(0x2ca)])[_0x4fa9d7(0x48f)])==null||_0x2fbe7b[_0x4fa9d7(0x3d3)](_0x44d88c,{'unitID':_0x35ca88,'memberID':_0x1c7d24,'textRanges':_0x10c240}));}}['_updateLocalCache'](){var _0x3a280e=_0x119c4e,_0x4fbe15;(_0x4fbe15=this['_localCacheService'])==null||_0x4fbe15['updateOfflineData'](this[_0x3a280e(0x3c9)],this[_0x3a280e(0x3f5)],this['_awaitingChangeset'],this[_0x3a280e(0x42f)]);}[_0x119c4e(0x286)](){var _0x2e3801=_0x119c4e;return this[_0x2e3801(0x2c6)][_0x2e3801(0x19a)](this[_0x2e3801(0x3c9)]);}[_0x119c4e(0x22c)](){var _0x544f6c=_0x119c4e;this['_revisionService'][_0x544f6c(0x446)](this['unitID']);}[_0x119c4e(0x24b)](_0x59e5ac){var _0x466035=_0x119c4e,_0x1eeeb7;let _0x47398d=this[_0x466035(0x498)](_0x59e5ac);_0x47398d=this[_0x466035(0x1ae)](_0x47398d);const _0x21bddf=_0x9d900c(_0x47398d[_0x466035(0x264)],this['_commandService'],{'fromCollab':!0x0});if(!_0x21bddf[_0x466035(0x240)])throw _0x21bddf[_0x466035(0x2dd)]instanceof Error?_0x21bddf[_0x466035(0x2dd)]:new Error((_0x1eeeb7=_0x21bddf['error'])!=null?_0x1eeeb7:_0x466035(0x36b));this[_0x466035(0x386)](_0x47398d),this[_0x466035(0x1c9)](_0x47398d),this['_transformUndoredo'](_0x59e5ac),this[_0x466035(0x381)](_0x47398d),this[_0x466035(0x2ea)](_0x47398d),this[_0x466035(0x22c)]();}}let Ne=class extends Ce{constructor(_0x228861,_0x172f8b,_0xa53794,_0x16e77c,_0x530619,_0x3f9a0d,_0x8dcfb2,_0x13aaf6,_0x3e5945,_0x538e5e){var _0x5a72d7=_0x119c4e;super(_0x228861,_0x172f8b,null,[],_0xa53794,_0x8dcfb2,_0x3f9a0d,_0x16e77c,_0x538e5e),N(this,'status',_0x5a72d7(0x2cd)),(this[_0x5a72d7(0x3f3)]=_0x530619,this[_0x5a72d7(0x3e0)]=_0x13aaf6,this[_0x5a72d7(0x3aa)]=_0x3e5945,this[_0x5a72d7(0x3b2)]=_0x538e5e);}[_0x119c4e(0x3fa)](_0x485e2b){var _0x244ca9=_0x119c4e;const _0x3eb8e5=this[_0x244ca9(0x3f3)][_0x244ca9(0x1b6)](ae,this[_0x244ca9(0x3c9)],this[_0x244ca9(0x3f5)],[_0x485e2b],this['_handler']);return _0x3eb8e5[_0x244ca9(0x3af)](),_0x3eb8e5[_0x244ca9(0x439)](),_0x3eb8e5;}['onRemoteChangeset'](_0x3e1d45){var _0x3d5274=_0x119c4e;if(this[_0x3d5274(0x2e2)](_0x3e1d45))return this['_injector'][_0x3d5274(0x1b6)](ee,this[_0x3d5274(0x3c9)],this[_0x3d5274(0x3f5)],null,[],null,[_0x3e1d45],this[_0x3d5274(0x2ca)]);try{const _0x192538=this[_0x3d5274(0x3aa)][_0x3d5274(0x489)](_0x3e1d45,[ss]);if(_0x23fc49(_0x192538)){const {c1Prime:_0x224135}=_0x192538;return this['_executeRemoteChangeset'](_0x224135),this;}throw _0x192538['error'];}catch(_0x338ca0){return this['_logService']['error'](_0x338ca0),this['_onConflict'](!0x1);}}[_0x119c4e(0x3f8)](_0x2b8ccd){var _0x22bfec=_0x119c4e;return this['_injector'][_0x22bfec(0x1b6)](ue,this[_0x22bfec(0x3c9)],this[_0x22bfec(0x3f5)],null,[],this['_handler'],_0x2b8ccd);}[_0x119c4e(0x1d4)](){var _0x46962c=_0x119c4e;throw new Error(_0x46962c(0x42c));}[_0x119c4e(0x27e)](){var _0xadf50=_0x119c4e;throw new Error(_0xadf50(0x2f9));}[_0x119c4e(0x257)](){return this;}[_0x119c4e(0x3bb)](){var _0x14ad6a=_0x119c4e;return this[_0x14ad6a(0x3f3)][_0x14ad6a(0x1b6)](de,this[_0x14ad6a(0x3c9)],this['type'],null,[],this[_0x14ad6a(0x2ca)]);}[_0x119c4e(0x208)](){return this;}[_0x119c4e(0x2f7)](){var _0x2ba3a7=_0x119c4e;throw new Error(_0x2ba3a7(0x2cf));}[_0x119c4e(0x452)](){var _0x4c971a=_0x119c4e;const _0x106a94=this[_0x4c971a(0x2c6)][_0x4c971a(0x19a)](this[_0x4c971a(0x3c9)]);return this[_0x4c971a(0x2ca)][_0x4c971a(0x2d3)]({'from':_0x106a94,'to':0x0}),this['_injector']['createInstance'](ee,this[_0x4c971a(0x3c9)],this['type'],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x3092f1(_0x15e900)),P(0x4,_0x3092f1(_0x171255)),P(0x5,_0x52eb5a),P(0x6,_0x5e65df),P(0x7,_0x2bb065),P(0x8,_0x55135c),P(0x9,_0x4240c6(J))],Ne);let ae=class extends Ce{constructor(_0x840246,_0x4e164b,_0x576693,_0xd702d5,_0x541375,_0x2a5e07,_0x3e203e,_0x5a373f,_0x1549dd,_0x1db846,_0x11ed36,_0x4790ef,_0x4282e8,_0x3795a2){var _0x43ee8f=_0x119c4e;super(_0x840246,_0x4e164b,null,_0x576693,_0xd702d5,_0x1549dd,_0x4282e8,_0x2a5e07,_0x3795a2),N(this,'status',_0x43ee8f(0x35a)),N(this,_0x43ee8f(0x460),null),N(this,'_sendingTimer',null),(this['_injector']=_0x541375,this[_0x43ee8f(0x1e7)]=_0x3e203e,this['_logService']=_0x5a373f,this[_0x43ee8f(0x1ce)]=_0x1db846,this[_0x43ee8f(0x3aa)]=_0x11ed36,this[_0x43ee8f(0x2e0)]=_0x4790ef);}[_0x119c4e(0x3fa)](_0x1d5e52){var _0x4a5e7a=_0x119c4e;return this[_0x4a5e7a(0x42f)][_0x4a5e7a(0x365)](_0x1d5e52),this[_0x4a5e7a(0x439)](),this;}['onRemoteChangeset'](_0x529c75){var _0x937ef0=_0x119c4e;if(this['_checkMissing'](_0x529c75))return this['_clearScheduledTask'](),this['_injector'][_0x937ef0(0x1b6)](ee,this[_0x937ef0(0x3c9)],this[_0x937ef0(0x3f5)],null,this['_pendingMutations'],null,[_0x529c75],this[_0x937ef0(0x2ca)]);try{const _0x596881=this[_0x937ef0(0x3aa)][_0x937ef0(0x489)](_0x529c75,this['_pendingMutations']);if(_0x23fc49(_0x596881)){const {c1Prime:_0x3d5e58,m2Prime:_0x5bb5d0}=_0x596881;this[_0x937ef0(0x24b)](_0x3d5e58);const _0x2eab10=this[_0x937ef0(0x3f3)][_0x937ef0(0x1b6)](ae,this[_0x937ef0(0x3c9)],this[_0x937ef0(0x3f5)],_0x5bb5d0,this[_0x937ef0(0x2ca)]);this['_clearScheduledTask']();const _0x37c469=new Date()[_0x937ef0(0x368)](),_0x216aa6=this[_0x937ef0(0x460)]?Math[_0x937ef0(0x266)](this[_0x937ef0(0x460)]-_0x37c469,0x0):this[_0x937ef0(0x23a)]();return _0x2eab10[_0x937ef0(0x3af)](_0x216aa6),_0x2eab10;}throw _0x596881[_0x937ef0(0x2dd)];}catch(_0x2fbbfe){return this['_logService'][_0x937ef0(0x2dd)](_0x2fbbfe),this['_onConflict'](!0x1);}}[_0x119c4e(0x1d4)](){var _0x4d6525=_0x119c4e;throw new Error(_0x4d6525(0x405));}[_0x119c4e(0x27e)](){var _0x5c464e=_0x119c4e;throw new Error(_0x5c464e(0x3c8));}['onRemoteRetry'](){return this;}[_0x119c4e(0x3bb)](){var _0x590891=_0x119c4e;return this['_clearScheduledTask'](),this['_injector'][_0x590891(0x1b6)](de,this['unitID'],this[_0x590891(0x3f5)],null,this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x119c4e(0x3af)](_0x1fbc03){var _0x443cfd=_0x119c4e;const _0x69dcbf=_0x1fbc03!=null?_0x1fbc03:this[_0x443cfd(0x23a)]();this['_scheduleCompleteTimestamp']=new Date()[_0x443cfd(0x368)]()+_0x69dcbf,this[_0x443cfd(0x39a)]=setTimeout(()=>{var _0x1df3e1=_0x443cfd;this[_0x1df3e1(0x2ec)]();let _0x36799d=null;switch(this[_0x1df3e1(0x3f5)]){case Q['UNIVER_SHEET']:{_0x36799d=qt(this['_pendingMutations'],this[_0x1df3e1(0x3c9)],this[_0x1df3e1(0x2e0)],this['_revisionService'],this['_memberService']);break;}case Q[_0x1df3e1(0x305)]:{this[_0x1df3e1(0x42f)][_0x1df3e1(0x277)](_0x531a89=>_0x531a89['id']===_0x566c98['id'])?_0x36799d=ns(this[_0x1df3e1(0x42f)],this[_0x1df3e1(0x3c9)],this[_0x1df3e1(0x2e0)],this[_0x1df3e1(0x2c6)],this[_0x1df3e1(0x1e7)]):_0x36799d=qt(this[_0x1df3e1(0x42f)],this['unitID'],this['_univerInstanceService'],this[_0x1df3e1(0x2c6)],this[_0x1df3e1(0x1e7)]);break;}default:throw new Error(_0x1df3e1(0x3ed)+this[_0x1df3e1(0x3f5)]+'\x20in\x20_schedule.');}const {changeset:_0x4ac991,pendingMutations:_0x10658e}=_0x36799d;this[_0x1df3e1(0x2ca)][_0x1df3e1(0x20d)](_0x4ac991);const _0x4521db=_0x10658e['length']?this[_0x1df3e1(0x3f3)][_0x1df3e1(0x1b6)](oe,this[_0x1df3e1(0x3c9)],this[_0x1df3e1(0x3f5)],_0x4ac991,_0x10658e,this[_0x1df3e1(0x2ca)],void 0x0):this['_injector']['createInstance'](le,this[_0x1df3e1(0x3c9)],this[_0x1df3e1(0x3f5)],_0x4ac991,this['_handler']);_0x4521db[_0x1df3e1(0x439)](),this[_0x1df3e1(0x2ca)][_0x1df3e1(0x38f)](this,_0x4521db);},_0x69dcbf);}[_0x119c4e(0x23a)](){var _0x2c119a=_0x119c4e,_0x183d02;const _0x360caf=this[_0x2c119a(0x1ce)][_0x2c119a(0x37c)](q);return(_0x183d02=_0x360caf==null?void 0x0:_0x360caf['sendChangesetTimeout'])!=null?_0x183d02:En;}[_0x119c4e(0x2f7)](){var _0x435df0=_0x119c4e;throw new Error(_0x435df0(0x1f9));}[_0x119c4e(0x2ec)](){var _0x2a9390=_0x119c4e;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x2a9390(0x39a)]=null);}[_0x119c4e(0x3f8)](_0x2d5aa1){var _0x2d2b81=_0x119c4e;return this[_0x2d2b81(0x2ec)](),this[_0x2d2b81(0x3f3)][_0x2d2b81(0x1b6)](ue,this[_0x2d2b81(0x3c9)],this[_0x2d2b81(0x3f5)],null,this['_pendingMutations'],this[_0x2d2b81(0x2ca)],_0x2d5aa1);}};ae=Te([P(0x4,_0x3092f1(_0x171255)),P(0x5,_0x3092f1(_0x15e900)),P(0x6,_0x3092f1(Le)),P(0x7,_0x2bb065),P(0x8,_0x5e65df),P(0x9,_0xf8b865),P(0xa,_0x55135c),P(0xb,_0x1568a3),P(0xc,_0x52eb5a),P(0xd,_0x4240c6(J))],ae);let le=class extends Ce{constructor(_0x39aa6c,_0x2915d3,_0x2b2dc3,_0x5a564e,_0x35f15f,_0x447dc7,_0x11531a,_0x456dbe,_0x583e07,_0x5e56e1,_0x4c7f1e){var _0x1cfa31=_0x119c4e;super(_0x39aa6c,_0x2915d3,_0x2b2dc3,[],_0x5a564e,_0x11531a,_0x5e56e1,_0x447dc7,_0x4c7f1e),N(this,_0x1cfa31(0x20b),'awaiting'),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,'_sender'),(this['_injector']=_0x35f15f,this[_0x1cfa31(0x3e0)]=_0x456dbe,this[_0x1cfa31(0x3aa)]=_0x583e07);}[_0x119c4e(0x3fa)](_0x276d36){var _0x3aec8f=_0x119c4e;this[_0x3aec8f(0x2ec)]();const _0x358eb7=this[_0x3aec8f(0x3f3)][_0x3aec8f(0x1b6)](oe,this[_0x3aec8f(0x3c9)],this[_0x3aec8f(0x3f5)],this['_awaitingChangeset'],[_0x276d36],this[_0x3aec8f(0x2ca)],this[_0x3aec8f(0x19b)]);return _0x358eb7[_0x3aec8f(0x439)](),_0x358eb7;}[_0x119c4e(0x411)](_0x48d3e3){var _0x471673=_0x119c4e;if(this[_0x471673(0x2e2)](_0x48d3e3))return this['_clearScheduledTask'](),this[_0x471673(0x3f3)]['createInstance'](ee,this[_0x471673(0x3c9)],this[_0x471673(0x3f5)],this[_0x471673(0x471)],[],null,[_0x48d3e3],this[_0x471673(0x2ca)]);try{const _0x1221bf=this['_transformService'][_0x471673(0x342)]([_0x48d3e3],[this[_0x471673(0x471)]],!0x1);if(_0x37b169(_0x1221bf)){const {c1Prime:_0x3acd5b,c2Prime:_0x4d989d}=_0x1221bf;this[_0x471673(0x24b)](_0x3acd5b[0x0]),_0x4d989d[0x0][_0x471673(0x1f2)]=this[_0x471673(0x286)](),this[_0x471673(0x2ec)]();const _0x409e80=this[_0x471673(0x3f3)][_0x471673(0x1b6)](le,this[_0x471673(0x3c9)],this[_0x471673(0x3f5)],_0x4d989d[0x0],this[_0x471673(0x2ca)]);return _0x409e80[_0x471673(0x439)](),_0x409e80;}return this[_0x471673(0x3f8)](!0x1);}catch(_0x265bf2){return this[_0x471673(0x3e0)][_0x471673(0x2dd)](_0x265bf2),this[_0x471673(0x3f8)](!0x1);}}[_0x119c4e(0x1d4)](_0x4f76a9){var _0x5c59a4=_0x119c4e;this['_clearScheduledTask']();const _0x5425ff=this[_0x5c59a4(0x2c6)][_0x5c59a4(0x19a)](this[_0x5c59a4(0x3c9)]);if(_0x4f76a9[_0x5c59a4(0x32a)]<_0x5425ff-0x1)return this;if(this[_0x5c59a4(0x2e2)](_0x4f76a9))return this[_0x5c59a4(0x3f3)][_0x5c59a4(0x1b6)](ee,this[_0x5c59a4(0x3c9)],this[_0x5c59a4(0x3f5)],null,[],this[_0x5c59a4(0x471)],[],this[_0x5c59a4(0x2ca)]);this[_0x5c59a4(0x22c)]();const _0x3ef583=this[_0x5c59a4(0x3f3)][_0x5c59a4(0x1b6)](Ne,this[_0x5c59a4(0x3c9)],this[_0x5c59a4(0x3f5)],this[_0x5c59a4(0x2ca)]);return _0x3ef583['_updateLocalCache'](),_0x3ef583;}[_0x119c4e(0x27e)](_0x2d52eb){var _0xa63b51=_0x119c4e;return this[_0xa63b51(0x3f8)](!!(_0x2d52eb!=null&&_0x2d52eb[_0xa63b51(0x3d5)]));}[_0x119c4e(0x257)](_0x1b687b){var _0xc4022a=_0x119c4e;return this['_resendTimeout']>Oi?this[_0xc4022a(0x3bb)]():(this[_0xc4022a(0x19b)]=Ri(this['_resendTimeout'],{'timeout':this[_0xc4022a(0x491)],'reqId':_0x1b687b['reqId']}),this[_0xc4022a(0x453)]=this[_0xc4022a(0x19b)][_0xc4022a(0x253)](({reqId:_0x17fa96,timeout:_0x421270})=>{var _0x5794e9=_0xc4022a;this[_0x5794e9(0x3b3)](_0x17fa96,_0x421270);}),this);}[_0x119c4e(0x3bb)](){var _0x4b4fba=_0x119c4e;return this['_clearScheduledTask'](),this[_0x4b4fba(0x3f3)][_0x4b4fba(0x1b6)](de,this['unitID'],this[_0x4b4fba(0x3f5)],this['_awaitingChangeset'],[],this[_0x4b4fba(0x2ca)]);}[_0x119c4e(0x208)](){return this;}[_0x119c4e(0x2f7)](){var _0x6e7226=_0x119c4e;this['_handler'][_0x6e7226(0x20d)](this[_0x6e7226(0x471)]);}[_0x119c4e(0x3f8)](_0x241ce7){var _0x59c458=_0x119c4e;return this['_clearScheduledTask'](),this[_0x59c458(0x3f3)][_0x59c458(0x1b6)](ue,this[_0x59c458(0x3c9)],this[_0x59c458(0x3f5)],this['_awaitingChangeset'],[],this[_0x59c458(0x2ca)],_0x241ce7);}['_resendWithTimeout'](_0xd9a9ad,_0x45d9c7){var _0x5b24a3=_0x119c4e,_0x4d9272;_0xd9a9ad===((_0x4d9272=this[_0x5b24a3(0x471)])==null?void 0x0:_0x4d9272[_0x5b24a3(0x2bc)])&&(this[_0x5b24a3(0x2f7)](),this[_0x5b24a3(0x491)]=_0x45d9c7===0x0?0x3e8:_0x45d9c7*0x2);}[_0x119c4e(0x2ec)](){var _0x2dc36e=_0x119c4e,_0x410b80;(_0x410b80=this[_0x2dc36e(0x453)])==null||_0x410b80['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x3092f1(_0x171255)),P(0x5,_0x3092f1(_0x15e900)),P(0x6,_0x5e65df),P(0x7,_0x2bb065),P(0x8,_0x55135c),P(0x9,_0x52eb5a),P(0xa,_0x4240c6(J))],le);let oe=class extends Ce{constructor(_0x253772,_0x502293,_0x1a1b42,_0x21f134,_0x4d9fd8,_0x1b9b0b,_0x55f166,_0x471d97,_0x3a13c5,_0x131fbd,_0x2761fa,_0x2b0fd5,_0x54dc66){var _0x45828c=_0x119c4e;super(_0x253772,_0x502293,_0x1a1b42,_0x21f134,_0x4d9fd8,_0x3a13c5,_0x2b0fd5,_0x471d97,_0x54dc66),N(this,'status',_0x45828c(0x37e)),N(this,_0x45828c(0x491),0x0),N(this,_0x45828c(0x19b)),N(this,_0x45828c(0x453)),(this[_0x45828c(0x3f3)]=_0x55f166,this[_0x45828c(0x3e0)]=_0x131fbd,this[_0x45828c(0x3aa)]=_0x2761fa,this[_0x45828c(0x3b2)]=_0x54dc66,_0x1b9b0b&&(this[_0x45828c(0x19b)]=_0x1b9b0b,this[_0x45828c(0x453)]=this['_resendTimer']['subscribe'](({reqId:_0xac85f4,timeout:_0xefd608})=>{this['_resendWithTimeout'](_0xac85f4,_0xefd608);})));}[_0x119c4e(0x3fa)](_0x3d00f0){var _0x49affd=_0x119c4e;return this[_0x49affd(0x42f)][_0x49affd(0x365)](_0x3d00f0),this;}[_0x119c4e(0x411)](_0x47b359){var _0x49f27c=_0x119c4e;if(this[_0x49f27c(0x2e2)](_0x47b359))return this[_0x49f27c(0x2ec)](),this['_injector'][_0x49f27c(0x1b6)](ee,this[_0x49f27c(0x3c9)],this[_0x49f27c(0x3f5)],this[_0x49f27c(0x471)],this['_pendingMutations'],null,[_0x47b359],this['_handler']);try{const _0x45522c=this[_0x49f27c(0x3aa)][_0x49f27c(0x342)]([_0x47b359],[this['_awaitingChangeset']],!0x1);if(_0x37b169(_0x45522c)){const {c1Prime:_0x3d0cd2,c2Prime:_0x5418f7}=_0x45522c,_0x6d47d2=this['_transformService'][_0x49f27c(0x489)](_0x3d0cd2[0x0],this['_pendingMutations']);if(_0x23fc49(_0x6d47d2)){const {c1Prime:_0x21ddd7,m2Prime:_0x547f62}=_0x6d47d2;return this[_0x49f27c(0x24b)](_0x21ddd7),_0x5418f7[0x0][_0x49f27c(0x1f2)]=this[_0x49f27c(0x286)](),this[_0x49f27c(0x2ec)](),this[_0x49f27c(0x3f3)][_0x49f27c(0x1b6)](oe,this[_0x49f27c(0x3c9)],this[_0x49f27c(0x3f5)],_0x5418f7[0x0],_0x547f62,this['_handler'],void 0x0);}throw _0x6d47d2[_0x49f27c(0x2dd)];}throw _0x45522c[_0x49f27c(0x2dd)];}catch(_0x5459da){return this[_0x49f27c(0x3e0)][_0x49f27c(0x2dd)](_0x5459da),this[_0x49f27c(0x3f8)](!0x1);}}[_0x119c4e(0x1d4)](_0x3ebfb9){var _0x5e0847=_0x119c4e;if(this[_0x5e0847(0x2ec)](),this[_0x5e0847(0x2e2)](_0x3ebfb9))return this[_0x5e0847(0x3f3)]['createInstance'](ee,this[_0x5e0847(0x3c9)],this[_0x5e0847(0x3f5)],null,this[_0x5e0847(0x42f)],this[_0x5e0847(0x471)],[],this['_handler']);this[_0x5e0847(0x22c)]();const _0x42441b=this['_injector'][_0x5e0847(0x1b6)](ae,this[_0x5e0847(0x3c9)],this[_0x5e0847(0x3f5)],this[_0x5e0847(0x42f)],this[_0x5e0847(0x2ca)]);return _0x42441b[_0x5e0847(0x3af)](),_0x42441b[_0x5e0847(0x439)](),_0x42441b;}[_0x119c4e(0x27e)](_0x325164){var _0x592bf5=_0x119c4e;return this[_0x592bf5(0x3f8)](!!(_0x325164!=null&&_0x325164[_0x592bf5(0x3d5)]));}[_0x119c4e(0x257)](_0x4853b3){var _0x298498=_0x119c4e;return this['_resendTimeout']>Oi?this[_0x298498(0x3bb)]():(this[_0x298498(0x19b)]=Ri(this[_0x298498(0x491)],{'timeout':this[_0x298498(0x491)],'reqId':_0x4853b3['reqId']}),this[_0x298498(0x453)]=this['_resendTimer'][_0x298498(0x253)](({reqId:_0x2cab33,timeout:_0x4efc2d})=>{var _0x44555a=_0x298498;this[_0x44555a(0x3b3)](_0x2cab33,_0x4efc2d);}),this);}[_0x119c4e(0x3bb)](){var _0x9e8ff3=_0x119c4e;return this[_0x9e8ff3(0x2ec)](),this[_0x9e8ff3(0x3f3)]['createInstance'](de,this[_0x9e8ff3(0x3c9)],this[_0x9e8ff3(0x3f5)],this[_0x9e8ff3(0x471)],this[_0x9e8ff3(0x42f)],this[_0x9e8ff3(0x2ca)]);}[_0x119c4e(0x208)](){return this;}[_0x119c4e(0x2f7)](){var _0x527aec=_0x119c4e;this[_0x527aec(0x2ca)][_0x527aec(0x20d)](this[_0x527aec(0x471)]);}[_0x119c4e(0x3f8)](_0x3c5c7e){var _0x4793d5=_0x119c4e;return this[_0x4793d5(0x2ec)](),this[_0x4793d5(0x3f3)]['createInstance'](ue,this[_0x4793d5(0x3c9)],this['type'],null,this[_0x4793d5(0x42f)],this[_0x4793d5(0x2ca)],_0x3c5c7e);}[_0x119c4e(0x3b3)](_0x42d5b9,_0x5cdfa0){var _0x4797a7=_0x119c4e,_0x465b32;_0x42d5b9===((_0x465b32=this[_0x4797a7(0x471)])==null?void 0x0:_0x465b32[_0x4797a7(0x2bc)])&&(this[_0x4797a7(0x2f7)](),this['_resendTimeout']=_0x5cdfa0===0x0?0x3e8:_0x5cdfa0*0x2);}[_0x119c4e(0x2ec)](){var _0x44d9f1=_0x119c4e,_0x4c2c3a;(_0x4c2c3a=this['_sender'])==null||_0x4c2c3a[_0x44d9f1(0x474)](),this['_resendTimeout']=0x0;}};oe=Te([P(0x6,_0x3092f1(_0x171255)),P(0x7,_0x3092f1(_0x15e900)),P(0x8,_0x5e65df),P(0x9,_0x2bb065),P(0xa,_0x55135c),P(0xb,_0x52eb5a),P(0xc,_0x4240c6(J))],oe);let ue=class extends Ce{constructor(_0x494bfe,_0x20e0ec,_0x19ca87,_0x2c76f1,_0x2db251,_0x164b15=!0x1,_0x22f801,_0x1bb152,_0x4f3185,_0x598dd1,_0x24599e,_0x48a71d,_0x3679d4){var _0x47a72f=_0x119c4e;super(_0x494bfe,_0x20e0ec,_0x19ca87,_0x2c76f1,_0x2db251,_0x1bb152,_0x4f3185,_0x598dd1,_0x3679d4),N(this,_0x47a72f(0x20b),'conflict'),(this[_0x47a72f(0x287)]=_0x164b15,this[_0x47a72f(0x45d)]=_0x22f801,this[_0x47a72f(0x258)]=_0x24599e,this[_0x47a72f(0x1ba)]=_0x48a71d,this[_0x47a72f(0x3b2)]=_0x3679d4,this[_0x47a72f(0x23e)](),this[_0x47a72f(0x1b8)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x119c4e(0x411)](){return this;}[_0x119c4e(0x1d4)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x119c4e(0x3bb)](){return this;}[_0x119c4e(0x208)](){return this;}[_0x119c4e(0x2f7)](){var _0x31c4ac=_0x119c4e;throw new Error(_0x31c4ac(0x454));}[_0x119c4e(0x1b8)](){var _0x21c377=_0x119c4e,_0x1b924f;(_0x1b924f=this[_0x21c377(0x324)])==null||_0x1b924f['updateOfflineData'](this[_0x21c377(0x3c9)],this[_0x21c377(0x3f5)],null,[]);}['_showConflictNotification'](){var _0x5f25c1=_0x119c4e;this[_0x5f25c1(0x287)]?this['_collaborationUIEventService'][_0x5f25c1(0x45e)]({'id':re['PERMISSION_DENIED']}):this[_0x5f25c1(0x1ba)]['emitEvent']({'id':re[_0x5f25c1(0x3fd)]});}['_disableEditing'](){var _0x18e814=_0x119c4e;this[_0x18e814(0x45d)][_0x18e814(0x425)](new _0x3e469f(this[_0x18e814(0x3c9)])['id'],!0x1);}};ue=Te([P(0x6,_0x3092f1(_0x2519f2)),P(0x7,_0x5e65df),P(0x8,_0x52eb5a),P(0x9,_0x3092f1(_0x15e900)),P(0xa,_0x3092f1(_0x49223f)),P(0xb,_0x3092f1(pe)),P(0xc,_0x4240c6(J))],ue);let de=class extends Ce{constructor(_0x2f0c71,_0x110f77,_0x30a15e,_0x1f71ed,_0x33ed78,_0x173db1,_0x336952,_0x110842,_0x41dac8,_0x38f294){var _0x213d2d=_0x119c4e;super(_0x2f0c71,_0x110f77,_0x30a15e,_0x1f71ed,_0x33ed78,_0x110842,_0x41dac8,_0x336952,_0x38f294),N(this,_0x213d2d(0x20b),'offline'),this[_0x213d2d(0x3f3)]=_0x173db1;}[_0x119c4e(0x3fa)](_0x581fba){var _0x30a444=_0x119c4e;return this['_pendingMutations'][_0x30a444(0x365)](_0x581fba),this['_updateLocalCache'](),this;}[_0x119c4e(0x411)](_0x416f8b){var _0x25bfb3=_0x119c4e;throw new Error(_0x25bfb3(0x44f));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x119c4e(0x27e)](){var _0x5f58db=_0x119c4e;throw new Error(_0x5f58db(0x359));}[_0x119c4e(0x257)](){return this;}['toggleOffline'](){return this;}[_0x119c4e(0x208)](){var _0xb8d7de=_0x119c4e;const {_injector:_0x511d25,_pendingMutations:_0x3d7efc,_awaitingChangeset:_0x365f9f,unitID:_0x2342fc,_handler:_0x413f2d,type:_0x3fbd14}=this,_0x51e8ad=yi(_0x511d25,_0x2342fc,_0x3fbd14,_0x365f9f,_0x3d7efc,_0x413f2d);return _0x51e8ad instanceof ae?_0x51e8ad['_schedule']():(_0x51e8ad instanceof oe||_0x51e8ad instanceof le)&&_0x51e8ad[_0xb8d7de(0x2f7)](),_0x51e8ad;}[_0x119c4e(0x2f7)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x3092f1(_0x171255)),P(0x6,_0x3092f1(_0x15e900)),P(0x7,_0x5e65df),P(0x8,_0x52eb5a),P(0x9,_0x4240c6(J))],de);let ee=class extends Ce{constructor(_0x2e854b,_0x4fb7bb,_0x550897,_0x2b203e,_0x3bf370,_0x481bf2,_0x4ecdae,_0xcc1bfa,_0x5534f5,_0x565b9b,_0x5a490f,_0x9bde14,_0x458692,_0x3d6b8d){var _0x54de1e=_0x119c4e;super(_0x2e854b,_0x4fb7bb,_0x550897,_0x2b203e,_0x4ecdae,_0x5a490f,_0x9bde14,_0x5534f5,_0x3d6b8d),N(this,_0x54de1e(0x20b),_0x54de1e(0x2a3)),(this[_0x54de1e(0x2a6)]=_0x3bf370,this[_0x54de1e(0x358)]=_0x481bf2,this['_injector']=_0xcc1bfa,this['_logService']=_0x565b9b,this[_0x54de1e(0x3aa)]=_0x458692,this[_0x54de1e(0x3b2)]=_0x3d6b8d);}[_0x119c4e(0x369)](_0x4b150f){var _0x236beb=_0x119c4e;try{const _0x3a316e=[..._0x4b150f,...this['_queuedRemoteChangesets']],_0x2a4a8d=[this['_awaitingChangeset']||this[_0x236beb(0x2a6)]][_0x236beb(0x27d)](_0x103c9b=>!!_0x103c9b);let _0x3490f4,_0xe81657;if(_0x2a4a8d['length']){const _0x3450c7=this[_0x236beb(0x3aa)]['transformChangesets'](_0x3a316e,_0x2a4a8d,!0x1);if(!_0x37b169(_0x3450c7))throw _0x3450c7['error'];_0x3490f4=_0x3450c7['c1Prime'],_0xe81657=_0x3450c7[_0x236beb(0x43f)];}else _0x3490f4=_0x3a316e,_0xe81657=[];let _0x50beb2=this[_0x236beb(0x42f)];_0x3490f4['forEach'](_0x4ca14b=>{var _0x3ef2b1=_0x236beb;let _0x14df41;if(_0x50beb2[_0x3ef2b1(0x1b1)]){const _0x396b6c=this['_transformService'][_0x3ef2b1(0x489)](_0x4ca14b,_0x50beb2);if(!_0x23fc49(_0x396b6c))throw _0x396b6c[_0x3ef2b1(0x2dd)];_0x14df41=_0x396b6c[_0x3ef2b1(0x207)],_0x50beb2=_0x396b6c['m2Prime'];}else _0x14df41=_0x4ca14b;this[_0x3ef2b1(0x24b)](_0x14df41);}),this[_0x236beb(0x2a6)]&&this[_0x236beb(0x22c)](),this[_0x236beb(0x471)]&&_0xe81657[_0x236beb(0x1b1)]&&(_0xe81657[0x0]['baseRev']=this[_0x236beb(0x286)]());let _0x185177;if(this[_0x236beb(0x471)]&&_0x50beb2[_0x236beb(0x1b1)]!==0x0)_0x185177=this[_0x236beb(0x3f3)][_0x236beb(0x1b6)](oe,this['unitID'],this[_0x236beb(0x3f5)],_0xe81657[0x0],_0x50beb2,this[_0x236beb(0x2ca)],void 0x0);else{if(this[_0x236beb(0x471)]&&_0x50beb2[_0x236beb(0x1b1)]===0x0)_0xe81657[0x0][_0x236beb(0x1f2)]=this[_0x236beb(0x286)](),_0x185177=this['_injector']['createInstance'](le,this[_0x236beb(0x3c9)],this['type'],_0xe81657[0x0],this[_0x236beb(0x2ca)]);else{if(_0x50beb2[_0x236beb(0x1b1)]!==0x0){const _0x495859=this[_0x236beb(0x3f3)][_0x236beb(0x1b6)](ae,this[_0x236beb(0x3c9)],this[_0x236beb(0x3f5)],_0x50beb2,this[_0x236beb(0x2ca)]);_0x495859[_0x236beb(0x3af)](),_0x185177=_0x495859;}else _0x185177=this[_0x236beb(0x3f3)][_0x236beb(0x1b6)](Ne,this['unitID'],this[_0x236beb(0x3f5)],this[_0x236beb(0x2ca)]);}}return _0x185177[_0x236beb(0x439)](),_0x185177;}catch(_0x286a4e){return this['_logService']['error'](_0x236beb(0x1ee),_0x236beb(0x3e1),_0x286a4e),this[_0x236beb(0x3f3)]['createInstance'](ue,this[_0x236beb(0x3c9)],this[_0x236beb(0x3f5)],this[_0x236beb(0x471)],this['_pendingMutations'],this[_0x236beb(0x2ca)],!0x1);}}[_0x119c4e(0x2f7)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x119c4e(0x3fa)](_0x2c1709){var _0x3b04a4=_0x119c4e;return this['_pendingMutations'][_0x3b04a4(0x365)](_0x2c1709),this;}[_0x119c4e(0x411)](_0x1de4bd){var _0x29a0d6=_0x119c4e;return this['_queuedRemoteChangesets'][_0x29a0d6(0x365)](_0x1de4bd),this;}[_0x119c4e(0x1d4)](_0x2eec14){var _0x5370ad=_0x119c4e;if(this[_0x5370ad(0x471)])return this[_0x5370ad(0x2a6)]=this[_0x5370ad(0x471)],this[_0x5370ad(0x471)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x2f8a48){var _0x28a2d5=_0x119c4e;return this[_0x28a2d5(0x3f8)](!!(_0x2f8a48!=null&&_0x2f8a48[_0x28a2d5(0x3d5)]));}['onRemoteRetry'](){return this;}[_0x119c4e(0x3bb)](){var _0x3f8c24=_0x119c4e;return this[_0x3f8c24(0x3f3)][_0x3f8c24(0x1b6)](de,this[_0x3f8c24(0x3c9)],this[_0x3f8c24(0x3f5)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3f8c24(0x2ca)]);}['toggleOnline'](){return this;}[_0x119c4e(0x3f8)](_0x2f1e45){var _0x30c953=_0x119c4e;return this[_0x30c953(0x3f3)][_0x30c953(0x1b6)](ue,this['unitID'],this[_0x30c953(0x3f5)],this[_0x30c953(0x471)],this[_0x30c953(0x42f)],this[_0x30c953(0x2ca)],_0x2f1e45);}};ee=Te([P(0x7,_0x3092f1(_0x171255)),P(0x8,_0x3092f1(_0x15e900)),P(0x9,_0x2bb065),P(0xa,_0x5e65df),P(0xb,_0x52eb5a),P(0xc,_0x55135c),P(0xd,_0x4240c6(J))],ee);function yi(_0x4d1ab2,_0x5b11f0,_0x5552e0,_0x15623b,_0x56a1b4,_0x1d0fd0){var _0x142fec=_0x119c4e;return _0x15623b&&_0x56a1b4['length']?_0x4d1ab2[_0x142fec(0x1b6)](oe,_0x5b11f0,_0x5552e0,_0x15623b,_0x56a1b4,_0x1d0fd0,void 0x0):_0x15623b?_0x4d1ab2[_0x142fec(0x1b6)](le,_0x5b11f0,_0x5552e0,_0x15623b,_0x1d0fd0):_0x56a1b4[_0x142fec(0x1b1)]?_0x4d1ab2[_0x142fec(0x1b6)](ae,_0x5b11f0,_0x5552e0,_0x56a1b4,_0x1d0fd0):_0x4d1ab2[_0x142fec(0x1b6)](Ne,_0x5b11f0,_0x5552e0,_0x1d0fd0);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x562197,_0x24d981,_0x4cfac5,_0x2ef9bb)=>{for(var _0x49ba7d=_0x2ef9bb>0x1?void 0x0:_0x2ef9bb?as(_0x24d981,_0x4cfac5):_0x24d981,_0x524df5=_0x562197['length']-0x1,_0x520c2c;_0x524df5>=0x0;_0x524df5--)(_0x520c2c=_0x562197[_0x524df5])&&(_0x49ba7d=_0x520c2c(_0x49ba7d)||_0x49ba7d);return _0x49ba7d;},H=(_0x35f75d,_0xa25caf)=>(_0x4347e1,_0x6fc88)=>_0xa25caf(_0x4347e1,_0x6fc88,_0x35f75d);let nt=class extends _0x5719da{constructor(_0x3acc5c,_0x858362,_0x58b539,_0x53fae1,_0x287dae,_0x1e515e,_0x7589ee,_0x32f37f,_0x808e5a,_0x167213,_0x4fa5e2,_0x42a7a4,_0x3c3b8a){var _0x309176=_0x119c4e;super(),N(this,_0x309176(0x1f8),new _0x1460ab(null)),N(this,_0x309176(0x2e3),this[_0x309176(0x1f8)][_0x309176(0x317)]()),N(this,_0x309176(0x2f3)),N(this,_0x309176(0x203),!0x1),N(this,'_changesetSessionId',''),N(this,_0x309176(0x234),0x0),N(this,_0x309176(0x2b9),this[_0x309176(0x2e3)][_0x309176(0x46c)](_0x2b22c9(_0x181aa7=>_0x181aa7?_0x181aa7[_0x309176(0x20b)]:bi[_0x309176(0x423)]),_0x56995c(0x1))),N(this,_0x309176(0x227),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x309176(0x3c9)]=_0x3acc5c,this[_0x309176(0x42a)]=_0x858362,this[_0x309176(0x1a2)]=_0x58b539,this[_0x309176(0x3f3)]=_0x53fae1,this[_0x309176(0x3d6)]=_0x287dae,this[_0x309176(0x258)]=_0x1e515e,this[_0x309176(0x2c6)]=_0x7589ee,this['_eventService']=_0x32f37f,this[_0x309176(0x3e0)]=_0x808e5a,this['_commandService']=_0x167213,this['_permissionService']=_0x4fa5e2,this[_0x309176(0x29d)]=_0x42a7a4,this[_0x309176(0x324)]=_0x3c3b8a);}get[_0x119c4e(0x2f2)](){var _0x150cdb=_0x119c4e;return this[_0x150cdb(0x2f3)];}async[_0x119c4e(0x344)](){var _0x5eaaa5=_0x119c4e;if(this[_0x5eaaa5(0x2f2)])throw new Error(_0x5eaaa5(0x24c));await this[_0x5eaaa5(0x306)]();}['pauseCollaboration'](){var _0x42c1c6=_0x119c4e;return this[_0x42c1c6(0x203)]=!0x0,_0xdd7d2d(()=>{var _0x326f30=_0x42c1c6;this[_0x326f30(0x203)]=!0x1,this[_0x326f30(0x246)]();});}[_0x119c4e(0x1cb)](_0x3da686){var _0x3aa074=_0x119c4e;this[_0x3aa074(0x210)](_0x3da686);}['_updateState'](_0x4c61a5){var _0x458d00=_0x119c4e;this[_0x458d00(0x2f3)]=_0x4c61a5,this[_0x458d00(0x1f8)][_0x458d00(0x1f1)](_0x4c61a5);}async[_0x119c4e(0x306)](){var _0x15741a=_0x119c4e,_0x1715d8;this[_0x15741a(0x1f3)](await this['_createInitialState']()),this[_0x15741a(0x29d)]&&((_0x1715d8=this['_singleActiveUnitService'])==null||_0x1715d8[_0x15741a(0x421)](this[_0x15741a(0x3c9)]),this[_0x15741a(0x325)](this['_singleActiveUnitService'][_0x15741a(0x345)](this[_0x15741a(0x3c9)])['subscribe'](_0x351f56=>{var _0x417c00=_0x15741a;this[_0x417c00(0x3e0)][_0x417c00(0x213)](_0x417c00(0x2a2),'editing\x20status\x20changed\x20to',_0x351f56),_0x351f56===Ci[_0x417c00(0x482)]?(this['_eventService']['emitEvent']({'id':re[_0x417c00(0x2b2)]}),this[_0x417c00(0x45d)][_0x417c00(0x425)](new _0x3e469f(this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x3e469f(this[_0x417c00(0x3c9)])['id'],!0x0),this[_0x417c00(0x45d)][_0x417c00(0x402)](!0x0));})));let _0x340d8f=!0x1;return this[_0x15741a(0x325)](this[_0x15741a(0x42a)][_0x15741a(0x2db)][_0x15741a(0x253)](_0x225fcf=>{var _0x472611=_0x15741a;_0x225fcf===Ee[_0x472611(0x222)]?this[_0x472611(0x43d)](_0x340d8f):_0x225fcf===Ee[_0x472611(0x423)]&&(_0x340d8f=!0x0,this[_0x472611(0x21e)]());})),this['disposeWithMe'](this[_0x15741a(0x42a)]['event$'][_0x15741a(0x253)](_0x5019c8=>{var _0x5ecb39=_0x15741a;try{switch(_0x5019c8[_0x5ecb39(0x295)]){case _0x58780b['NEW_CHANGESETS']:{this[_0x5ecb39(0x36e)](_0x4c2212(_0x5019c8[_0x5ecb39(0x249)]));break;}case _0x58780b[_0x5ecb39(0x303)]:{this[_0x5ecb39(0x294)](_0x5019c8[_0x5ecb39(0x249)]);break;}case _0x58780b[_0x5ecb39(0x1ef)]:{this[_0x5ecb39(0x47e)]();break;}case _0x58780b['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x5019c8[_0x5ecb39(0x249)]);break;}case _0x58780b[_0x5ecb39(0x414)]:{this['_onFetchMissResult'](_0x5019c8[_0x5ecb39(0x249)][_0x5ecb39(0x477)][_0x5ecb39(0x1a1)](_0x524357=>_0x4c2212(_0x524357)));break;}case _0x58780b[_0x5ecb39(0x21d)]:{this[_0x5ecb39(0x47e)]({'isPermissionRej':!0x0});break;}case _0x58780b[_0x5ecb39(0x364)]:break;}}catch(_0xee94a9){throw console[_0x5ecb39(0x2dd)]('Error\x20on\x20receiving\x20event',_0xee94a9),_0xee94a9;}})),this['_state'];}[_0x119c4e(0x3bf)](){var _0x199fbd=_0x119c4e;this[_0x199fbd(0x227)]=!0x1;}[_0x119c4e(0x1d6)](){var _0x2e82e7=_0x119c4e;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x2e82e7(0x227)]=!0x0;}[_0x119c4e(0x210)](_0x37b9d4){var _0x13c610=_0x119c4e;this[_0x13c610(0x1d6)](),this[_0x13c610(0x1f3)](this[_0x13c610(0x2f3)][_0x13c610(0x3fa)](_0x37b9d4)),this[_0x13c610(0x3bf)]();}[_0x119c4e(0x36e)](_0x48a1b4){var _0x138d82=_0x119c4e;if(!(_0x48a1b4[_0x138d82(0x32a)]<=this['_revisionService'][_0x138d82(0x19a)](this[_0x138d82(0x3c9)]))){if(this[_0x138d82(0x203)]){this[_0x138d82(0x2bb)][_0x138d82(0x365)](_0x48a1b4);return;}this[_0x138d82(0x2e1)](_0x48a1b4);}}['_exhaustRemoteChangesetQueue'](){var _0x899da5=_0x119c4e;this[_0x899da5(0x2bb)][_0x899da5(0x35e)](_0x481772=>this[_0x899da5(0x2e1)](_0x481772)),this[_0x899da5(0x2bb)]=[];}[_0x119c4e(0x2e1)](_0x5aada4){var _0x3c7b48=_0x119c4e;const _0x367738=this[_0x3c7b48(0x3d6)][_0x3c7b48(0x1bd)][_0x3c7b48(0x3f4)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x5aada4['mutations'],null)||_0x5aada4[_0x3c7b48(0x264)],_0x24190f={..._0x5aada4,'mutations':_0x367738};this[_0x3c7b48(0x1d6)](),this[_0x3c7b48(0x1f3)](this[_0x3c7b48(0x2f3)]['onRemoteChangeset'](_0x24190f)),this[_0x3c7b48(0x3bf)]();}['_onRemoteACK'](_0x334b20){var _0x3ccd09=_0x119c4e;this[_0x3ccd09(0x1d6)](),this[_0x3ccd09(0x1f3)](this[_0x3ccd09(0x2f3)][_0x3ccd09(0x1d4)](_0x334b20)),this['_unlockTransition']();}[_0x119c4e(0x47e)](_0x17fd14){var _0x30b504=_0x119c4e;this[_0x30b504(0x1d6)](),this[_0x30b504(0x1f3)](this[_0x30b504(0x2f3)][_0x30b504(0x27e)](_0x17fd14)),this['_unlockTransition']();}['_onRemoteRetry'](_0x34794d){var _0x431773=_0x119c4e;this[_0x431773(0x1d6)](),this['_updateState'](this[_0x431773(0x2f3)][_0x431773(0x257)](_0x34794d)),this[_0x431773(0x3bf)]();}[_0x119c4e(0x43b)](_0x25d576){var _0x256823=_0x119c4e;if(!(this[_0x256823(0x2f3)]instanceof ee))throw new TypeError(_0x256823(0x390));const _0x358ea1=_0x25d576[_0x256823(0x1a1)](_0x292a1c=>{var _0xc88016=_0x256823;const _0x6f9c00=this[_0xc88016(0x3d6)][_0xc88016(0x1bd)]['fetchThroughInterceptors'](this[_0xc88016(0x3d6)]['interceptor']['getInterceptPoints']()[_0xc88016(0x2a7)])(_0x292a1c[_0xc88016(0x264)],null)||_0x292a1c[_0xc88016(0x264)];return{..._0x292a1c,'mutations':_0x6f9c00};});this[_0x256823(0x1d6)](),this[_0x256823(0x1f3)](this[_0x256823(0x2f3)][_0x256823(0x369)](_0x358ea1)),this['_unlockTransition']();}[_0x119c4e(0x21e)](){var _0xf47dc7=_0x119c4e;this[_0xf47dc7(0x1d6)](),this[_0xf47dc7(0x1f3)](this[_0xf47dc7(0x2f3)][_0xf47dc7(0x3bb)]()),this[_0xf47dc7(0x3bf)]();}[_0x119c4e(0x43d)](_0x6ae90e=!0x1){var _0x4daa5c=_0x119c4e;this[_0x4daa5c(0x1d6)](),this[_0x4daa5c(0x1f3)](this['_state'][_0x4daa5c(0x208)]()),this[_0x4daa5c(0x3bf)]();const _0x5cccd8=this[_0x4daa5c(0x2f3)];_0x6ae90e&&_0x5cccd8 instanceof Ne&&(this[_0x4daa5c(0x1d6)](),this[_0x4daa5c(0x1f3)](_0x5cccd8[_0x4daa5c(0x452)]()),this[_0x4daa5c(0x3bf)]());}async[_0x119c4e(0x29a)](){return new Promise(_0x28e9c9=>{var _0x5c95cb=_0x5b09;this[_0x5c95cb(0x42a)]['sessionStatus$'][_0x5c95cb(0x46c)](_0x1c6aaf(0x1))[_0x5c95cb(0x253)](async _0x2c0ed5=>{var _0x48530c=_0x5c95cb;_0x28e9c9(await this['_createInitialStateImpl'](_0x2c0ed5===Ee[_0x48530c(0x222)]));});});}[_0x119c4e(0x1e5)](){const _0x45ed0e=this['unitID'];return{'onStateChange':(_0x219e32,_0xb5b990)=>{var _0x2d99b3=_0x5b09;if(_0x219e32!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x219e32[_0x2d99b3(0x20b)]+'\x0aAfter:\x20'+_0xb5b990[_0x2d99b3(0x20b)]+'\x0aCurrent:\x20'+this[_0x2d99b3(0x2f3)][_0x2d99b3(0x20b)]);this[_0x2d99b3(0x1f3)](_0xb5b990);},'onSendChangeset':_0x1887d9=>{var _0x4aefa6=_0x5b09;_0x1887d9[_0x4aefa6(0x23d)]||(_0x1887d9[_0x4aefa6(0x23d)]=this[_0x4aefa6(0x2c3)],_0x1887d9[_0x4aefa6(0x2bc)]=++this[_0x4aefa6(0x234)]);const _0x5bb796={'eventID':_0x58780b['SUBMIT_CHANGESET'],'data':{'unitID':_0x1887d9[_0x4aefa6(0x3c9)],'unitType':this['_type'],'changeset':_0x1887d9,'memberID':this['session'][_0x4aefa6(0x465)]()}};this['session']['send'](_0x5bb796,this[_0x4aefa6(0x3c9)]);},'onMissingChangesets':({from:_0x417587,to:_0xac0394})=>{var _0x457102=_0x5b09;this['_logService'][_0x457102(0x213)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x417587+_0x457102(0x349)+_0xac0394);const _0x566953={'eventID':_0x58780b['FETCH_MISSING'],'data':{'unitID':_0x45ed0e,'unitType':this[_0x457102(0x1a2)],'from':_0x417587,'to':_0xac0394}};this[_0x457102(0x42a)]['send'](_0x566953,this['unitID']);}};}async[_0x119c4e(0x37d)](_0x40a578){var _0x22fed6=_0x119c4e,_0x44eb3d,_0x30d6ab,_0x2c4499;const _0x3bd808=await((_0x44eb3d=this[_0x22fed6(0x324)])==null?void 0x0:_0x44eb3d[_0x22fed6(0x280)](this[_0x22fed6(0x3c9)])),_0x442775=(_0x30d6ab=_0x3bd808==null?void 0x0:_0x3bd808[_0x22fed6(0x264)])!=null?_0x30d6ab:[],_0x5282ac=(_0x2c4499=_0x3bd808==null?void 0x0:_0x3bd808[_0x22fed6(0x412)])!=null?_0x2c4499:null,_0x1fb62d=!!(_0x5282ac!=null&&_0x5282ac[_0x22fed6(0x23d)])&&!!(_0x5282ac!=null&&_0x5282ac[_0x22fed6(0x2bc)]);this['_changesetSessionId']=_0x1fb62d?_0x5282ac[_0x22fed6(0x23d)]:Zn(),this[_0x22fed6(0x234)]=_0x1fb62d?_0x5282ac[_0x22fed6(0x2bc)]:0x0;const _0x4b2981=this[_0x22fed6(0x3c9)];try{this['_replayCachedMutations'](_0x5282ac,_0x442775);}catch(_0xfe38f4){this[_0x22fed6(0x3e0)][_0x22fed6(0x2dd)](_0xfe38f4);}const _0x449a72=this[_0x22fed6(0x1e5)]();if(_0x40a578){const _0x328fc3=yi(this[_0x22fed6(0x3f3)],_0x4b2981,this[_0x22fed6(0x1a2)],_0x5282ac,_0x442775,_0x449a72);return _0x328fc3 instanceof ae?_0x328fc3['_schedule']():(_0x328fc3 instanceof oe||_0x328fc3 instanceof le)&&_0x328fc3['resend'](),_0x328fc3;}return this[_0x22fed6(0x3f3)][_0x22fed6(0x1b6)](de,_0x4b2981,this['_type'],_0x5282ac,_0x442775,_0x449a72);}[_0x119c4e(0x26e)](_0x1f213f,_0x2b3af4){var _0x52b40b=_0x119c4e,_0x5de5cd,_0x2cd840;const _0x1027ea=this[_0x52b40b(0x3d6)]['interceptor'][_0x52b40b(0x3f4)](this[_0x52b40b(0x3d6)][_0x52b40b(0x1bd)][_0x52b40b(0x458)]()['COMPRESS_MUTATION_APPLY']);(_0x5de5cd=_0x1027ea((_0x1f213f==null?void 0x0:_0x1f213f[_0x52b40b(0x264)])||[],null))==null||_0x5de5cd[_0x52b40b(0x35e)](_0x1e067a=>this[_0x52b40b(0x2cc)][_0x52b40b(0x497)](_0x1e067a['id'],_0x1e067a[_0x52b40b(0x38e)])),(_0x2cd840=_0x1027ea(_0x2b3af4||[],null))==null||_0x2cd840[_0x52b40b(0x35e)](_0x257f8b=>this[_0x52b40b(0x2cc)]['executeCommand'](_0x257f8b['id'],_0x257f8b[_0x52b40b(0x38e)]));}};nt=Lt([H(0x3,_0x3092f1(_0x171255)),H(0x4,_0x3092f1(_0x42bac2)),H(0x5,_0x3092f1(_0x49223f)),H(0x6,_0x3092f1(_0x15e900)),H(0x7,_0x3092f1(pe)),H(0x8,_0x2bb065),H(0x9,_0x5e65df),H(0xa,_0x2519f2),H(0xb,_0x4240c6(ht)),H(0xc,_0x4240c6(J))],nt);let It=class extends nt{constructor(_0x7dac7b,_0x2e3b11,_0x5eeccc,_0x382ae4,_0x5db15c,_0x577b5b,_0xe213cb,_0x4b47db,_0x46e346,_0x3916b5,_0x4fd208,_0x562e16,_0x29207d){var _0x3e073f=_0x119c4e;super(_0x7dac7b,_0x5eeccc,_0x2e3b11,_0x382ae4,_0x5db15c,_0x577b5b,_0xe213cb,_0x4b47db,_0x46e346,_0x3916b5,_0x4fd208,_0x562e16,_0x29207d),N(this,'_handlerCallback',null),(this[_0x3e073f(0x3c9)]=_0x7dac7b,this[_0x3e073f(0x3f5)]=_0x2e3b11);}[_0x119c4e(0x351)](_0x588799){this['_handlerCallback']=_0x588799;}['dispose'](){var _0x2a0885=_0x119c4e;this[_0x2a0885(0x1a6)]=null,super[_0x2a0885(0x1a8)]();}[_0x119c4e(0x1e5)](){var _0x134a37=_0x119c4e;const _0x3f78bb=super[_0x134a37(0x1e5)]();return _0x3f78bb[_0x134a37(0x291)]=_0x5ebe43=>{var _0x19e262=_0x134a37,_0x11788,_0x5201c4;return(_0x5201c4=(_0x11788=this['_handlerCallback'])==null?void 0x0:_0x11788[_0x19e262(0x291)])==null?void 0x0:_0x5201c4[_0x19e262(0x3d3)](_0x11788,_0x5ebe43);},_0x3f78bb['onTransformState']=_0x842505=>{var _0x924874=_0x134a37,_0x32784d,_0x28500a;return(_0x28500a=(_0x32784d=this['_handlerCallback'])==null?void 0x0:_0x32784d[_0x924874(0x268)])==null?void 0x0:_0x28500a[_0x924874(0x3d3)](_0x32784d,_0x842505);},_0x3f78bb[_0x134a37(0x3cd)]=_0x5d5d65=>{var _0x429974=_0x134a37,_0x41f3e4,_0x17c61b;return(_0x17c61b=(_0x41f3e4=this['_handlerCallback'])==null?void 0x0:_0x41f3e4[_0x429974(0x3cd)])==null?void 0x0:_0x17c61b[_0x429974(0x3d3)](_0x41f3e4,_0x5d5d65);},_0x3f78bb[_0x134a37(0x48f)]=_0x4f0b62=>{var _0x53c8a8=_0x134a37,_0xef7f81,_0x2a377c;return(_0x2a377c=(_0xef7f81=this[_0x53c8a8(0x1a6)])==null?void 0x0:_0xef7f81['onSyncEditingCollabCursor'])==null?void 0x0:_0x2a377c[_0x53c8a8(0x3d3)](_0xef7f81,_0x4f0b62);},_0x3f78bb[_0x134a37(0x265)]=_0xb97930=>{var _0x5315b7=_0x134a37,_0x4adea8,_0x3d6c5a,_0xcd0405;if(!((_0x4adea8=this[_0x5315b7(0x1a6)])!=null&&_0x4adea8[_0x5315b7(0x265)]))throw new Error(_0x5315b7(0x45c));return(_0xcd0405=(_0x3d6c5a=this['_handlerCallback'])==null?void 0x0:_0x3d6c5a[_0x5315b7(0x265)])==null?void 0x0:_0xcd0405['call'](_0x3d6c5a,_0xb97930);},_0x3f78bb[_0x134a37(0x1ec)]=_0x4aac25=>{var _0x34035f=_0x134a37,_0x50ba99,_0x5136e9,_0x3e1075;if(!((_0x50ba99=this['_handlerCallback'])!=null&&_0x50ba99['onTransformRemoteChangesetByStateCache']))throw new Error(_0x34035f(0x2be));return(_0x3e1075=(_0x5136e9=this['_handlerCallback'])==null?void 0x0:_0x5136e9[_0x34035f(0x1ec)])==null?void 0x0:_0x3e1075[_0x34035f(0x3d3)](_0x5136e9,_0x4aac25);},_0x3f78bb;}async[_0x119c4e(0x306)](){var _0x5e001b=_0x119c4e;const _0x1fad76=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x5e001b(0x3b6)]((_0x27bc58,_0x4df99e)=>{var _0x5eee59=_0x5e001b;if(_0x27bc58['type']!==_0x483c40[_0x5eee59(0x2bf)]||_0x4df99e!=null&&_0x4df99e[_0x5eee59(0x1c6)]||_0x4df99e!=null&&_0x4df99e[_0x5eee59(0x3b4)]||_0x27bc58['id']===_0x566c98['id'])return;const _0x26cc6f=_0x27bc58[_0x5eee59(0x38e)];if((_0x26cc6f==null?void 0x0:_0x26cc6f[_0x5eee59(0x45b)])!==this['unitID'])return;const _0x16672e=_0x27bc58,_0x3977f9=this[_0x5eee59(0x3d6)][_0x5eee59(0x1bd)]['fetchThroughInterceptors'](this[_0x5eee59(0x3d6)][_0x5eee59(0x1bd)][_0x5eee59(0x458)]()[_0x5eee59(0x301)])([_0x16672e],null)||[_0x16672e];this[_0x5eee59(0x210)](_0x3977f9[0x0]);})),_0x1fad76;}};It=Lt([H(0x3,_0x3092f1(_0x171255)),H(0x4,_0x3092f1(_0x42bac2)),H(0x5,_0x3092f1(_0x49223f)),H(0x6,_0x3092f1(_0x15e900)),H(0x7,_0x3092f1(pe)),H(0x8,_0x2bb065),H(0x9,_0x5e65df),H(0xa,_0x2519f2),H(0xb,_0x4240c6(ht)),H(0xc,_0x4240c6(J))],It);let Tt=class extends nt{constructor(_0x42905c,_0x3f1be5,_0x24d775,_0x3af40c,_0x4b107c,_0x2eedb2,_0x123585,_0x3349bd,_0x144b11,_0x3a30d6,_0x32387a,_0x56071b,_0x48be32,_0x1cdcbe){var _0x19c749=_0x119c4e;super(_0x42905c,_0x24d775,_0x3f1be5,_0x3af40c,_0x4b107c,_0x2eedb2,_0x123585,_0x144b11,_0x3a30d6,_0x32387a,_0x56071b,_0x48be32,_0x1cdcbe),this[_0x19c749(0x3c9)]=_0x42905c,this[_0x19c749(0x3f5)]=_0x3f1be5,this['_sheetTransformSelectionsService']=_0x3349bd;}[_0x119c4e(0x1e5)](){var _0xbabad9=_0x119c4e;const _0x184fe8=super[_0xbabad9(0x1e5)]();return _0x184fe8['onTransformSelections']=_0x53bdcf=>this[_0xbabad9(0x397)][_0xbabad9(0x1cf)](_0x53bdcf),_0x184fe8;}async[_0x119c4e(0x306)](){var _0x2b4912=_0x119c4e;const _0x4656b2=await super[_0x2b4912(0x306)]();return this[_0x2b4912(0x325)](this[_0x2b4912(0x2cc)][_0x2b4912(0x3b6)]((_0x1ed279,_0x143a5c)=>{var _0x38aa1e=_0x2b4912;if(_0x1ed279['type']!==_0x483c40[_0x38aa1e(0x2bf)]||_0x143a5c!=null&&_0x143a5c[_0x38aa1e(0x1c6)]||_0x143a5c!=null&&_0x143a5c[_0x38aa1e(0x3b4)])return;const _0x4494c1=_0x1ed279[_0x38aa1e(0x38e)];if((_0x4494c1==null?void 0x0:_0x4494c1[_0x38aa1e(0x45b)])!==this[_0x38aa1e(0x3c9)])return;const _0x3b5180=_0x1ed279,_0x2bd4ba=this['_compressMutationService'][_0x38aa1e(0x1bd)]['fetchThroughInterceptors'](this[_0x38aa1e(0x3d6)][_0x38aa1e(0x1bd)]['getInterceptPoints']()[_0x38aa1e(0x301)])([_0x3b5180],null)||[_0x3b5180];this[_0x38aa1e(0x210)](_0x2bd4ba[0x0]);})),_0x4656b2;}};Tt=Lt([H(0x3,_0x3092f1(_0x171255)),H(0x4,_0x3092f1(_0x42bac2)),H(0x5,_0x3092f1(_0x49223f)),H(0x6,_0x3092f1(_0x15e900)),H(0x7,_0x3092f1(it)),H(0x8,_0x3092f1(pe)),H(0x9,_0x2bb065),H(0xa,_0x5e65df),H(0xb,_0x2519f2),H(0xc,_0x4240c6(ht)),H(0xd,_0x4240c6(J))],Tt);var os=Object[_0x119c4e(0x442)],cs=(_0x2e6b16,_0xf8b5ee,_0x3a6be1,_0x3a10de)=>{for(var _0x33f265=_0x3a10de>0x1?void 0x0:_0x3a10de?os(_0xf8b5ee,_0x3a6be1):_0xf8b5ee,_0x3d2853=_0x2e6b16['length']-0x1,_0x35b63c;_0x3d2853>=0x0;_0x3d2853--)(_0x35b63c=_0x2e6b16[_0x3d2853])&&(_0x33f265=_0x35b63c(_0x33f265)||_0x33f265);return _0x33f265;},ft=(_0x5930bb,_0x11975c)=>(_0x27a199,_0x4509b1)=>_0x11975c(_0x27a199,_0x4509b1,_0x5930bb);let st=class extends _0x5719da{constructor(_0x55783f,_0x3548e3,_0x5d3fbe){var _0x15b547=_0x119c4e;super(),N(this,'_entities',new Map()),N(this,_0x15b547(0x205),new _0x170992()),N(this,_0x15b547(0x2e8),this[_0x15b547(0x205)][_0x15b547(0x317)]()),(this['_injector']=_0x55783f,this[_0x15b547(0x300)]=_0x3548e3,this[_0x15b547(0x2e0)]=_0x5d3fbe,this[_0x15b547(0x306)]());}['dispose'](){var _0x5bf60f=_0x119c4e;super[_0x5bf60f(0x1a8)](),this[_0x5bf60f(0x28e)][_0x5bf60f(0x35e)](_0x43a146=>_0x43a146[_0x5bf60f(0x1a8)]()),this[_0x5bf60f(0x28e)][_0x5bf60f(0x1bc)]();}[_0x119c4e(0x2e5)](_0x1c6d09){var _0x76df0b=_0x119c4e,_0x38e8dd;return(_0x38e8dd=this[_0x76df0b(0x28e)][_0x76df0b(0x3de)](_0x1c6d09))!=null?_0x38e8dd:null;}[_0x119c4e(0x455)](_0x4829b7){var _0x38b9d3=_0x119c4e;const _0x4cab7a=this[_0x38b9d3(0x2e5)](_0x4829b7);return _0x4cab7a?_0x21d6b1(_0x4cab7a):this[_0x38b9d3(0x205)]['pipe'](_0x185a7d(_0xe83ff5=>_0xe83ff5['unitID']===_0x4829b7));}[_0x119c4e(0x33f)](_0x5f0c07){var _0x322cc8=_0x119c4e;return _0x3d41c3(this[_0x322cc8(0x455)](_0x5f0c07)[_0x322cc8(0x46c)](_0x162c30(()=>{})));}[_0x119c4e(0x306)](){var _0x189d9f=_0x119c4e;this['_univerInstanceService'][_0x189d9f(0x422)](_0x311465[_0x189d9f(0x248)])[_0x189d9f(0x46c)](_0x5eeacb(this[_0x189d9f(0x354)]),_0x126ef5(0x10))[_0x189d9f(0x253)](async _0x1a464c=>{var _0x31fa6e=_0x189d9f;const _0x342de6=_0x1a464c[_0x31fa6e(0x401)](),_0x590a35=await this[_0x31fa6e(0x24d)](_0x342de6,Q[_0x31fa6e(0x248)]);this['_entities'][_0x31fa6e(0x26f)](_0x342de6,_0x590a35);}),this[_0x189d9f(0x2e0)][_0x189d9f(0x422)](_0x311465[_0x189d9f(0x305)])[_0x189d9f(0x46c)](_0x5eeacb(this[_0x189d9f(0x354)]),_0x126ef5(0x10))[_0x189d9f(0x46c)](_0x185a7d(_0xe59335=>!_0xe59335[_0x189d9f(0x401)]()[_0x189d9f(0x230)]('__')))[_0x189d9f(0x253)](async _0x283f=>{var _0x5f1b5e=_0x189d9f;const _0x328ad5=_0x283f[_0x5f1b5e(0x401)](),_0x309c1f=await this['_startCollaboration'](_0x328ad5,Q[_0x5f1b5e(0x305)]);this[_0x5f1b5e(0x28e)][_0x5f1b5e(0x26f)](_0x328ad5,_0x309c1f);}),_0x1b41bd(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x311465[_0x189d9f(0x248)]),this[_0x189d9f(0x2e0)][_0x189d9f(0x42b)](_0x311465['UNIVER_DOC']))[_0x189d9f(0x46c)](_0x5eeacb(this[_0x189d9f(0x354)]))[_0x189d9f(0x253)](_0x85a373=>{var _0x3c7bc7=_0x189d9f;const _0x3802f3=_0x85a373[_0x3c7bc7(0x401)](),_0xca5277=this['_entities']['get'](_0x3802f3);_0xca5277&&(_0xca5277['dispose'](),this[_0x3c7bc7(0x28e)][_0x3c7bc7(0x293)](_0x3802f3));});}async[_0x119c4e(0x24d)](_0x4e5ef3,_0x54f9b7){var _0x3d5261=_0x119c4e;const _0x4b1818=await this[_0x3d5261(0x300)][_0x3d5261(0x41f)](_0x4e5ef3),_0x3c8877=this['_injector'][_0x3d5261(0x1b6)](this['_getCtorByUniverType'](_0x54f9b7),_0x4e5ef3,_0x54f9b7,_0x4b1818);return await _0x3c8877[_0x3d5261(0x344)](),this[_0x3d5261(0x205)][_0x3d5261(0x1f1)](_0x3c8877),_0x3c8877;}[_0x119c4e(0x409)](_0x53f97d){var _0x2bbf87=_0x119c4e;switch(_0x53f97d){case Q[_0x2bbf87(0x305)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x2bbf87(0x3ae)+_0x53f97d);}}};st=cs([ft(0x0,_0x3092f1(_0x171255)),ft(0x1,_0x3092f1(Me)),ft(0x2,_0x1568a3)],st);var hs=Object[_0x119c4e(0x442)],_s=(_0x29f177,_0x514bab,_0xc9e5fb,_0x693697)=>{var _0x566eea=_0x119c4e;for(var _0x57c5aa=_0x693697>0x1?void 0x0:_0x693697?hs(_0x514bab,_0xc9e5fb):_0x514bab,_0x155730=_0x29f177[_0x566eea(0x1b1)]-0x1,_0x4e21e6;_0x155730>=0x0;_0x155730--)(_0x4e21e6=_0x29f177[_0x155730])&&(_0x57c5aa=_0x4e21e6(_0x57c5aa)||_0x57c5aa);return _0x57c5aa;},zt=(_0x4babc6,_0x57bd63)=>(_0x50a19b,_0x3e2b9c)=>_0x57bd63(_0x50a19b,_0x3e2b9c,_0x4babc6);const ls=_0x119c4e(0x41b),us=_0x119c4e(0x281);let Ct=class extends _0x1124b6{constructor(_0x6f2c16,_0x38ba36){var _0x23449d=_0x119c4e;super(),this[_0x23449d(0x2e0)]=_0x6f2c16,this[_0x23449d(0x1ce)]=_0x38ba36,this[_0x23449d(0x306)]();}[_0x119c4e(0x306)](){var _0x5bd039=_0x119c4e;this[_0x5bd039(0x325)](this[_0x5bd039(0x2e0)][_0x5bd039(0x27c)][_0x5bd039(0x253)](()=>{var _0xec9a0d=_0x5bd039,_0x3ad53a;const _0x1accd0=this[_0xec9a0d(0x2e0)][_0xec9a0d(0x32d)]();let _0x1cb4d1=(_0x3ad53a=this[_0xec9a0d(0x1ce)][_0xec9a0d(0x37c)](ls))!=null?_0x3ad53a:us;_0x1accd0 instanceof _0x5e72f0&&(_0x1cb4d1=_0x1accd0['name']),document['title']=_0x1cb4d1;}));}};Ct=_s([zt(0x0,_0x1568a3),zt(0x1,_0xf8b865)],Ct);var ds=Object[_0x119c4e(0x442)],fs=(_0x535574,_0x3e6a68,_0xe1f9fd,_0x541052)=>{for(var _0x56de8d=_0x541052>0x1?void 0x0:_0x541052?ds(_0x3e6a68,_0xe1f9fd):_0x3e6a68,_0x424c6=_0x535574['length']-0x1,_0x34ff40;_0x424c6>=0x0;_0x424c6--)(_0x34ff40=_0x535574[_0x424c6])&&(_0x56de8d=_0x34ff40(_0x56de8d)||_0x56de8d);return _0x56de8d;},vt=(_0x532da4,_0x3a8123)=>(_0x29e298,_0x42c4cf)=>_0x3a8123(_0x29e298,_0x42c4cf,_0x532da4);let rt=class{constructor(_0x348546,_0x2c6d0f,_0x45807a){var _0x4f3b2d=_0x119c4e;this['_configService']=_0x348546,this[_0x4f3b2d(0x1db)]=_0x2c6d0f,this[_0x4f3b2d(0x28f)]=_0x45807a,this[_0x4f3b2d(0x344)]();}[_0x119c4e(0x344)](){var _0x4f3717=_0x119c4e;this[_0x4f3717(0x1db)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x394697,_0x568307)=>_0x568307(_0x394697)['pipe'](_0x46c7c2(async _0x51daff=>{var _0xa73ad5=_0x4f3717;const _0x5572d5=_0x51daff;if(_0x5572d5[_0xa73ad5(0x20b)]===0x191){if(typeof window>'u')throw new Error(_0xa73ad5(0x1e0));if(window[_0xa73ad5(0x2d9)](this[_0xa73ad5(0x28f)]['t'](_0xa73ad5(0x328)))){const _0x1b5939=window[_0xa73ad5(0x335)](window[_0xa73ad5(0x403)][_0xa73ad5(0x1bb)]);window[_0xa73ad5(0x403)][_0xa73ad5(0x1bb)]=this['_getLoginPath']()+_0xa73ad5(0x429)+_0x1b5939;}}return _0x5572d5;}))});}[_0x119c4e(0x1fa)](){var _0x301176=_0x119c4e,_0x2c5acf,_0x50c400;const _0x20cbf0=this[_0x301176(0x1ce)][_0x301176(0x37c)](Un),_0x308b5e=this[_0x301176(0x1ce)][_0x301176(0x37c)](q);return(_0x50c400=(_0x2c5acf=_0x308b5e==null?void 0x0:_0x308b5e[_0x301176(0x355)])!=null?_0x2c5acf:_0x20cbf0)!=null?_0x50c400:An;}};rt=fs([vt(0x0,_0xf8b865),vt(0x1,_0x3092f1(_0x41022d)),vt(0x2,_0x3092f1(_0x49223f))],rt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x5b17fd,_0x17cebb,_0x3815ad,_0xc4e76d)=>{for(var _0x53a527=_0xc4e76d>0x1?void 0x0:_0xc4e76d?vs(_0x17cebb,_0x3815ad):_0x17cebb,_0x4cc52b=_0x5b17fd['length']-0x1,_0x4d0e95;_0x4cc52b>=0x0;_0x4cc52b--)(_0x4d0e95=_0x5b17fd[_0x4cc52b])&&(_0x53a527=_0x4d0e95(_0x53a527)||_0x53a527);return _0x53a527;},Jt=(_0x22e633,_0x4f6e6d)=>(_0x54c296,_0x533d2f)=>_0x4f6e6d(_0x54c296,_0x533d2f,_0x22e633);const Ni=_0x119c4e(0x424),ms=_0x119c4e(0x329);let Rt=class extends _0x1124b6{constructor(_0x5e46c0,_0x55df94){var _0x25430b=_0x119c4e;super(),this['_HTTPService']=_0x5e46c0,this['_configService']=_0x55df94,this[_0x25430b(0x2de)]();}[_0x119c4e(0x2de)](){var _0x3bf4c0=_0x119c4e;const _0xaea6ff=this;this[_0x3bf4c0(0x325)](this[_0x3bf4c0(0x285)][_0x3bf4c0(0x415)]({'priority':0x3e7,'interceptor':_0x3849c3({'isMatch'(_0x1402e9){var _0x42ac1e=_0x3bf4c0,_0x26c121;if(_0x1402e9['method']===_0x42ac1e(0x262)&&((_0x26c121=_0x1402e9[_0x42ac1e(0x25b)])!=null&&_0x26c121[_0x42ac1e(0x2c2)])){const {objectID:_0x18fb42,objectType:_0x4ec5d9}=_0x1402e9['requestParams']['body']||{};if(!_0x18fb42||_0x4ec5d9===void 0x0)return!0x1;const _0x55d4d9=_0xaea6ff[_0x42ac1e(0x209)]()+'/'+_0x4ec5d9+_0x42ac1e(0x1e9)+_0x18fb42+'/allowed';if(_0x1402e9[_0x42ac1e(0x1a0)]===_0x55d4d9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x586b83){var _0xf81c2a=_0x3bf4c0,_0x345f1e;return(_0x345f1e=_0x586b83['requestParams'])==null?void 0x0:_0x345f1e[_0xf81c2a(0x2c2)];},'mergeParamsToRequest'(_0x429042,_0x57df24){var _0x181c81=_0x3bf4c0;const _0x4072bc=_0xaea6ff[_0x181c81(0x209)]()+_0x181c81(0x2b5),_0x3d410c=_0x429042[_0x181c81(0x350)]((_0x371f7f,_0x24e70d)=>{var _0x1fc0eb=_0x181c81;const {unitID:_0x51f620,objectID:_0x3290b1,objectType:_0x192288,actions:_0xf108f9}=_0x24e70d;return _0x371f7f[_0x51f620]||(_0x371f7f[_0x51f620]={}),_0x371f7f[_0x51f620][_0x3290b1]||(_0x371f7f[_0x51f620][_0x3290b1]={'objectID':_0x3290b1,'objectType':_0x192288,'actions':[]}),_0x371f7f[_0x51f620][_0x3290b1][_0x1fc0eb(0x2a0)]['push'](..._0xf108f9),_0x371f7f;},{}),_0x37b8ae=[];for(const _0x1bbc10 in _0x3d410c)for(const _0x410460 in _0x3d410c[_0x1bbc10]){const {actions:_0xd725ef,objectType:_0x46e946}=_0x3d410c[_0x1bbc10][_0x410460],_0x2cfa1c=[...new Set(_0xd725ef)];_0x37b8ae[_0x181c81(0x365)]({'unitID':_0x1bbc10,'objectID':_0x410460,'objectType':_0x46e946,'actions':_0x2cfa1c});}return new _0x398b65(_0x181c81(0x262),_0x4072bc,{'headers':_0x57df24['headers'],'withCredentials':_0x57df24['withCredentials'],'responseType':_0x57df24[_0x181c81(0x443)],'body':{'requests':_0x37b8ae}});}},{'distributeResult'(_0xa9cdd0,_0x517974){const {objectActions:_0x1b4882}=_0xa9cdd0;return _0x517974['map'](_0x18b001=>{var _0x3791ea=_0x5b09;const {unitID:_0x23db93,objectID:_0x250e1f,actions:_0x583627}=_0x18b001,_0x5de837=_0x1b4882['find'](_0x583e2a=>_0x583e2a[_0x3791ea(0x3c9)]===_0x23db93&&_0x583e2a[_0x3791ea(0x1a4)]===_0x250e1f),_0x397686=_0x583627[_0x3791ea(0x1a1)](_0x474a12=>_0x5de837==null?void 0x0:_0x5de837[_0x3791ea(0x2a0)]['find'](_0x2e16bd=>_0x2e16bd[_0x3791ea(0x1a5)]===_0x474a12))[_0x3791ea(0x27d)](_0x585ef4=>!!_0x585ef4);return{'config':_0x18b001,'result':{'actions':_0x397686,'error':_0xa9cdd0[_0x3791ea(0x2dd)]}};});}})}));}[_0x119c4e(0x209)](){var _0x15d6c5=_0x119c4e,_0x1d19d3,_0x8a6582;const _0x479177=this['_configService'][_0x15d6c5(0x37c)](Ni),_0x351494=this[_0x15d6c5(0x1ce)]['getConfig'](q);return(_0x8a6582=(_0x1d19d3=_0x351494==null?void 0x0:_0x351494[_0x15d6c5(0x20c)])!=null?_0x1d19d3:_0x479177)!=null?_0x8a6582:ms;}async[_0x119c4e(0x273)](_0xb63412){var _0x5bc05f=_0x119c4e;const _0x1e5eca=this[_0x5bc05f(0x209)]()+'/'+_0xb63412['objectType']+_0x5bc05f(0x238);return(await this[_0x5bc05f(0x285)][_0x5bc05f(0x2cb)](_0x1e5eca,{'body':_0xb63412}))[_0x5bc05f(0x2c2)][_0x5bc05f(0x1a4)]||'';}async[_0x119c4e(0x2a4)](_0x211045){var _0x3fb0c1=_0x119c4e;const _0x28a0db=this[_0x3fb0c1(0x209)]()+'/-/object/list';return(await this[_0x3fb0c1(0x285)][_0x3fb0c1(0x2cb)](_0x28a0db,{'body':_0x211045}))[_0x3fb0c1(0x2c2)][_0x3fb0c1(0x21a)];}async[_0x119c4e(0x26d)](_0x5f32b7){var _0x3ebe61=_0x119c4e,_0x1d7e35,_0x284f0e;const _0x4f3111=this[_0x3ebe61(0x209)]()+'/'+_0x5f32b7[_0x3ebe61(0x3c3)]+_0x3ebe61(0x1e9)+_0x5f32b7[_0x3ebe61(0x1a4)],_0x18e68d=await this['_HTTPService'][_0x3ebe61(0x35f)](_0x4f3111,{'body':_0x5f32b7});if(((_0x284f0e=(_0x1d7e35=_0x18e68d==null?void 0x0:_0x18e68d[_0x3ebe61(0x2c2)])==null?void 0x0:_0x1d7e35[_0x3ebe61(0x2dd)])==null?void 0x0:_0x284f0e[_0x3ebe61(0x3a4)])!==0x1)throw new Error(_0x3ebe61(0x418));}async[_0x119c4e(0x3df)](_0x2d7f78){var _0x5b5ae2=_0x119c4e;const _0x17d1f2=this['_getAPIPrefixPath']()+'/'+_0x2d7f78[_0x5b5ae2(0x3c3)]+_0x5b5ae2(0x1e9)+_0x2d7f78[_0x5b5ae2(0x1a4)]+_0x5b5ae2(0x361);return(await this[_0x5b5ae2(0x285)][_0x5b5ae2(0x2cb)](_0x17d1f2,{'body':_0x2d7f78}))[_0x5b5ae2(0x2c2)][_0x5b5ae2(0x2a0)];}async[_0x119c4e(0x3b1)](_0x39a12e){var _0x3b0cf2=_0x119c4e;const _0x50fb0b=this[_0x3b0cf2(0x209)]()+_0x3b0cf2(0x2b5);return(await this[_0x3b0cf2(0x285)]['post'](_0x50fb0b,{'body':{'requests':_0x39a12e}}))[_0x3b0cf2(0x2c2)][_0x3b0cf2(0x38a)];}async[_0x119c4e(0x255)](_0xcec9e9){var _0x419826=_0x119c4e;const _0x5b00ee=this[_0x419826(0x209)]()+'/'+_0xcec9e9[_0x419826(0x3c3)]+_0x419826(0x3ee),_0x3efa70=await this[_0x419826(0x285)]['post'](_0x5b00ee,{'body':_0xcec9e9});return{'roles':_0x3efa70[_0x419826(0x2c2)][_0x419826(0x3a2)],'actions':_0x3efa70['body'][_0x419826(0x2a0)]};}async[_0x119c4e(0x263)](_0x30320d){var _0x33a9b0=_0x119c4e;const _0x3a7496=this[_0x33a9b0(0x209)]()+_0x33a9b0(0x2c9);await this[_0x33a9b0(0x285)]['delete'](_0x3a7496,{'params':{'collaboratorID':_0x30320d['collaboratorID'],'objectID':_0x30320d[_0x33a9b0(0x1a4)],'unitID':_0x30320d[_0x33a9b0(0x3c9)]}});}async[_0x119c4e(0x362)](_0x18dc79){var _0x1a81e8=_0x119c4e;const _0x1658b5=this[_0x1a81e8(0x209)]()+_0x1a81e8(0x2c9);await this['_HTTPService'][_0x1a81e8(0x2c0)](_0x1658b5,{'body':_0x18dc79});}async['createCollaborator'](_0x1d3b1a){var _0x268935=_0x119c4e;const _0x5b8494=this[_0x268935(0x209)]()+'/collaborator';await this[_0x268935(0x285)][_0x268935(0x2cb)](_0x5b8494,{'body':_0x1d3b1a});}async[_0x119c4e(0x39b)](_0x1bc40e){var _0x3c5e7c=_0x119c4e;const _0x18d8bc=this[_0x3c5e7c(0x209)]()+_0x3c5e7c(0x2c9);return(await this['_HTTPService']['get'](_0x18d8bc,{'params':{'objectID':_0x1bc40e['objectID'],'unitID':_0x1bc40e[_0x3c5e7c(0x3c9)]}}))[_0x3c5e7c(0x2c2)][_0x3c5e7c(0x20e)];}async[_0x119c4e(0x3d8)](_0x488219){var _0x4d7f37=_0x119c4e;const _0x1461c3=this[_0x4d7f37(0x209)]()+_0x4d7f37(0x2c9);await this[_0x4d7f37(0x285)][_0x4d7f37(0x35f)](_0x1461c3,{'body':_0x488219});}};Rt=ps([Jt(0x0,_0x3092f1(_0x41022d)),Jt(0x1,_0x3092f1(_0xf8b865))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x169248){var _0x5a4d7e=_0x119c4e;return _0x169248&&_0x169248[_0x5a4d7e(0x379)]&&Object[_0x5a4d7e(0x38b)][_0x5a4d7e(0x22b)][_0x5a4d7e(0x3d3)](_0x169248,_0x5a4d7e(0x33b))?_0x169248[_0x5a4d7e(0x33b)]:_0x169248;}var Ve={'exports':{}};function gs(_0x28ff12){var _0x217cd0=_0x119c4e;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x28ff12+_0x217cd0(0x3e7));}var Ge={'exports':{}},Ss=Ge[_0x119c4e(0x2f1)],Xt;function ie(){var _0x15bb21=_0x119c4e;return Xt||(Xt=0x1,function(_0x6abc1a,_0x13e3e1){(function(_0x473e54,_0x1c6114){_0x6abc1a['exports']=_0x1c6114();}(Ss,function(){var _0x139d91=_0x139d91||function(_0x2ae087,_0x5172c1){var _0x2bdd5c=_0x5b09,_0x5253ef;if(typeof window<'u'&&window[_0x2bdd5c(0x347)]&&(_0x5253ef=window[_0x2bdd5c(0x347)]),typeof self<'u'&&self['crypto']&&(_0x5253ef=self[_0x2bdd5c(0x347)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x5253ef=globalThis[_0x2bdd5c(0x347)]),!_0x5253ef&&typeof window<'u'&&window[_0x2bdd5c(0x480)]&&(_0x5253ef=window[_0x2bdd5c(0x480)]),!_0x5253ef&&typeof pt<'u'&&pt[_0x2bdd5c(0x347)]&&(_0x5253ef=pt['crypto']),!_0x5253ef&&typeof gs==_0x2bdd5c(0x2d4))try{_0x5253ef=require('crypto');}catch{}var _0x3bd39c=function(){var _0x8ed6c0=_0x2bdd5c;if(_0x5253ef){if(typeof _0x5253ef[_0x8ed6c0(0x2ee)]==_0x8ed6c0(0x2d4))try{return _0x5253ef[_0x8ed6c0(0x2ee)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5253ef[_0x8ed6c0(0x201)]==_0x8ed6c0(0x2d4))try{return _0x5253ef['randomBytes'](0x4)[_0x8ed6c0(0x1c8)]();}catch{}}throw new Error(_0x8ed6c0(0x1d3));},_0x5c237d=Object[_0x2bdd5c(0x273)]||(function(){function _0x5e524d(){}return function(_0x1a5266){var _0x4326b8=_0x5b09,_0xe29246;return _0x5e524d[_0x4326b8(0x38b)]=_0x1a5266,_0xe29246=new _0x5e524d(),_0x5e524d[_0x4326b8(0x38b)]=null,_0xe29246;};}()),_0x2ac6c8={},_0x1f1d9a=_0x2ac6c8['lib']={},_0x465e0c=_0x1f1d9a[_0x2bdd5c(0x1c1)]=(function(){return{'extend':function(_0x598bb5){var _0x26bb75=_0x5b09,_0x5534a4=_0x5c237d(this);return _0x598bb5&&_0x5534a4[_0x26bb75(0x21f)](_0x598bb5),(!_0x5534a4[_0x26bb75(0x22b)](_0x26bb75(0x344))||this[_0x26bb75(0x344)]===_0x5534a4[_0x26bb75(0x344)])&&(_0x5534a4['init']=function(){var _0x298856=_0x26bb75;_0x5534a4['$super']['init'][_0x298856(0x3d9)](this,arguments);}),_0x5534a4['init'][_0x26bb75(0x38b)]=_0x5534a4,_0x5534a4[_0x26bb75(0x269)]=this,_0x5534a4;},'create':function(){var _0xeb03d5=_0x5b09,_0x564d3c=this[_0xeb03d5(0x39f)]();return _0x564d3c[_0xeb03d5(0x344)][_0xeb03d5(0x3d9)](_0x564d3c,arguments),_0x564d3c;},'init':function(){},'mixIn':function(_0x5a621e){var _0x26d137=_0x5b09;for(var _0x3de30c in _0x5a621e)_0x5a621e[_0x26d137(0x22b)](_0x3de30c)&&(this[_0x3de30c]=_0x5a621e[_0x3de30c]);_0x5a621e[_0x26d137(0x22b)](_0x26d137(0x1fd))&&(this['toString']=_0x5a621e[_0x26d137(0x1fd)]);},'clone':function(){var _0x4e40db=_0x5b09;return this[_0x4e40db(0x344)]['prototype'][_0x4e40db(0x39f)](this);}};}()),_0x308b82=_0x1f1d9a[_0x2bdd5c(0x3bc)]=_0x465e0c[_0x2bdd5c(0x39f)]({'init':function(_0x59660c,_0x5bb496){var _0x56d811=_0x2bdd5c;_0x59660c=this[_0x56d811(0x456)]=_0x59660c||[],_0x5bb496!=_0x5172c1?this[_0x56d811(0x2c5)]=_0x5bb496:this[_0x56d811(0x2c5)]=_0x59660c[_0x56d811(0x1b1)]*0x4;},'toString':function(_0x587788){return(_0x587788||_0x3ae70a)['stringify'](this);},'concat':function(_0x24d7ab){var _0x4914f2=_0x2bdd5c,_0x214a2c=this[_0x4914f2(0x456)],_0x4c345b=_0x24d7ab['words'],_0x1cdf74=this[_0x4914f2(0x2c5)],_0x5c2435=_0x24d7ab[_0x4914f2(0x2c5)];if(this[_0x4914f2(0x2c4)](),_0x1cdf74%0x4)for(var _0x5def33=0x0;_0x5def33<_0x5c2435;_0x5def33++){var _0x110c8b=_0x4c345b[_0x5def33>>>0x2]>>>0x18-_0x5def33%0x4*0x8&0xff;_0x214a2c[_0x1cdf74+_0x5def33>>>0x2]|=_0x110c8b<<0x18-(_0x1cdf74+_0x5def33)%0x4*0x8;}else{for(var _0x52bcb4=0x0;_0x52bcb4<_0x5c2435;_0x52bcb4+=0x4)_0x214a2c[_0x1cdf74+_0x52bcb4>>>0x2]=_0x4c345b[_0x52bcb4>>>0x2];}return this['sigBytes']+=_0x5c2435,this;},'clamp':function(){var _0x2ce656=_0x2bdd5c,_0x4d8203=this['words'],_0x480369=this[_0x2ce656(0x2c5)];_0x4d8203[_0x480369>>>0x2]&=0xffffffff<<0x20-_0x480369%0x4*0x8,_0x4d8203[_0x2ce656(0x1b1)]=_0x2ae087['ceil'](_0x480369/0x4);},'clone':function(){var _0x5242c2=_0x2bdd5c,_0x34eef0=_0x465e0c[_0x5242c2(0x478)][_0x5242c2(0x3d3)](this);return _0x34eef0[_0x5242c2(0x456)]=this[_0x5242c2(0x456)]['slice'](0x0),_0x34eef0;},'random':function(_0x24900a){var _0xc4ba97=_0x2bdd5c;for(var _0x59e6e4=[],_0x44b9c7=0x0;_0x44b9c7<_0x24900a;_0x44b9c7+=0x4)_0x59e6e4['push'](_0x3bd39c());return new _0x308b82[(_0xc4ba97(0x344))](_0x59e6e4,_0x24900a);}}),_0x394a23=_0x2ac6c8[_0x2bdd5c(0x34c)]={},_0x3ae70a=_0x394a23[_0x2bdd5c(0x2b0)]={'stringify':function(_0x4d3195){var _0x41c5e9=_0x2bdd5c;for(var _0x40d720=_0x4d3195[_0x41c5e9(0x456)],_0x14e47c=_0x4d3195[_0x41c5e9(0x2c5)],_0x4aab57=[],_0xb1c1a8=0x0;_0xb1c1a8<_0x14e47c;_0xb1c1a8++){var _0x204f6f=_0x40d720[_0xb1c1a8>>>0x2]>>>0x18-_0xb1c1a8%0x4*0x8&0xff;_0x4aab57[_0x41c5e9(0x365)]((_0x204f6f>>>0x4)[_0x41c5e9(0x1fd)](0x10)),_0x4aab57[_0x41c5e9(0x365)]((_0x204f6f&0xf)[_0x41c5e9(0x1fd)](0x10));}return _0x4aab57[_0x41c5e9(0x382)]('');},'parse':function(_0x3c5128){var _0x80fb67=_0x2bdd5c;for(var _0x2e40a6=_0x3c5128[_0x80fb67(0x1b1)],_0x364d9f=[],_0x2ba6d6=0x0;_0x2ba6d6<_0x2e40a6;_0x2ba6d6+=0x2)_0x364d9f[_0x2ba6d6>>>0x3]|=parseInt(_0x3c5128[_0x80fb67(0x1e3)](_0x2ba6d6,0x2),0x10)<<0x18-_0x2ba6d6%0x8*0x4;return new _0x308b82[(_0x80fb67(0x344))](_0x364d9f,_0x2e40a6/0x2);}},_0x12ddbb=_0x394a23[_0x2bdd5c(0x28d)]={'stringify':function(_0x2301f2){var _0xc7d69e=_0x2bdd5c;for(var _0x50b476=_0x2301f2[_0xc7d69e(0x456)],_0x2d7e1e=_0x2301f2[_0xc7d69e(0x2c5)],_0x1aa266=[],_0x38c568=0x0;_0x38c568<_0x2d7e1e;_0x38c568++){var _0x2158d2=_0x50b476[_0x38c568>>>0x2]>>>0x18-_0x38c568%0x4*0x8&0xff;_0x1aa266[_0xc7d69e(0x365)](String[_0xc7d69e(0x469)](_0x2158d2));}return _0x1aa266[_0xc7d69e(0x382)]('');},'parse':function(_0x10a1c7){var _0x478f02=_0x2bdd5c;for(var _0x2a9c22=_0x10a1c7[_0x478f02(0x1b1)],_0x11e2a6=[],_0x55f848=0x0;_0x55f848<_0x2a9c22;_0x55f848++)_0x11e2a6[_0x55f848>>>0x2]|=(_0x10a1c7[_0x478f02(0x470)](_0x55f848)&0xff)<<0x18-_0x55f848%0x4*0x8;return new _0x308b82[(_0x478f02(0x344))](_0x11e2a6,_0x2a9c22);}},_0x506018=_0x394a23[_0x2bdd5c(0x27b)]={'stringify':function(_0x444f8c){var _0x59c90d=_0x2bdd5c;try{return decodeURIComponent(escape(_0x12ddbb[_0x59c90d(0x19c)](_0x444f8c)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x21f2e4){var _0x1ca1f0=_0x2bdd5c;return _0x12ddbb[_0x1ca1f0(0x356)](unescape(encodeURIComponent(_0x21f2e4)));}},_0x12ee18=_0x1f1d9a[_0x2bdd5c(0x38d)]=_0x465e0c[_0x2bdd5c(0x39f)]({'reset':function(){var _0x117377=_0x2bdd5c;this[_0x117377(0x3cf)]=new _0x308b82[(_0x117377(0x344))](),this[_0x117377(0x288)]=0x0;},'_append':function(_0x36035f){var _0x562252=_0x2bdd5c;typeof _0x36035f==_0x562252(0x388)&&(_0x36035f=_0x506018['parse'](_0x36035f)),this[_0x562252(0x3cf)][_0x562252(0x2bd)](_0x36035f),this[_0x562252(0x288)]+=_0x36035f[_0x562252(0x2c5)];},'_process':function(_0x322cd9){var _0x30b7b7=_0x2bdd5c,_0xf34f2f,_0x82b7d9=this[_0x30b7b7(0x3cf)],_0x2f0148=_0x82b7d9[_0x30b7b7(0x456)],_0x3b3089=_0x82b7d9[_0x30b7b7(0x2c5)],_0x20114e=this[_0x30b7b7(0x3ca)],_0x256d9a=_0x20114e*0x4,_0x5efb9b=_0x3b3089/_0x256d9a;_0x322cd9?_0x5efb9b=_0x2ae087[_0x30b7b7(0x198)](_0x5efb9b):_0x5efb9b=_0x2ae087['max']((_0x5efb9b|0x0)-this[_0x30b7b7(0x200)],0x0);var _0xfcbde8=_0x5efb9b*_0x20114e,_0x34c622=_0x2ae087[_0x30b7b7(0x1c2)](_0xfcbde8*0x4,_0x3b3089);if(_0xfcbde8){for(var _0x38e65f=0x0;_0x38e65f<_0xfcbde8;_0x38e65f+=_0x20114e)this['_doProcessBlock'](_0x2f0148,_0x38e65f);_0xf34f2f=_0x2f0148['splice'](0x0,_0xfcbde8),_0x82b7d9['sigBytes']-=_0x34c622;}return new _0x308b82[(_0x30b7b7(0x344))](_0xf34f2f,_0x34c622);},'clone':function(){var _0x1146e=_0x2bdd5c,_0x71ef19=_0x465e0c[_0x1146e(0x478)][_0x1146e(0x3d3)](this);return _0x71ef19[_0x1146e(0x3cf)]=this['_data'][_0x1146e(0x478)](),_0x71ef19;},'_minBufferSize':0x0});_0x1f1d9a[_0x2bdd5c(0x219)]=_0x12ee18[_0x2bdd5c(0x39f)]({'cfg':_0x465e0c['extend'](),'init':function(_0x4dda9c){var _0x420ee5=_0x2bdd5c;this[_0x420ee5(0x2a9)]=this[_0x420ee5(0x2a9)][_0x420ee5(0x39f)](_0x4dda9c),this[_0x420ee5(0x431)]();},'reset':function(){var _0x16fd8f=_0x2bdd5c;_0x12ee18[_0x16fd8f(0x431)][_0x16fd8f(0x3d3)](this),this[_0x16fd8f(0x19f)]();},'update':function(_0x48c41c){var _0x2b237a=_0x2bdd5c;return this[_0x2b237a(0x3db)](_0x48c41c),this[_0x2b237a(0x3dd)](),this;},'finalize':function(_0x32e34f){var _0x57841d=_0x2bdd5c;_0x32e34f&&this['_append'](_0x32e34f);var _0x2af5cb=this[_0x57841d(0x214)]();return _0x2af5cb;},'blockSize':0x10,'_createHelper':function(_0x31f01a){return function(_0x4e2624,_0x533c97){var _0x426efd=_0x5b09;return new _0x31f01a[(_0x426efd(0x344))](_0x533c97)['finalize'](_0x4e2624);};},'_createHmacHelper':function(_0x20de0d){return function(_0x3c6cf5,_0x519a15){var _0x1588d3=_0x5b09;return new _0x1c55b3[(_0x1588d3(0x448))][(_0x1588d3(0x344))](_0x20de0d,_0x519a15)[_0x1588d3(0x426)](_0x3c6cf5);};}});var _0x1c55b3=_0x2ac6c8['algo']={};return _0x2ac6c8;}(Math);return _0x139d91;}));}(Ge)),Ge[_0x15bb21(0x2f1)];}var We={'exports':{}},Es=We[_0x119c4e(0x2f1)],Zt;function Di(){var _0x581679=_0x119c4e;return Zt||(Zt=0x1,function(_0x341316,_0x3ac671){(function(_0x574011,_0x221b42){_0x341316['exports']=_0x221b42(ie());}(Es,function(_0x11b29a){var _0x251323=_0x5b09;return(function(){var _0x2f1639=_0x5b09,_0x3409da=_0x11b29a,_0x2e00ef=_0x3409da[_0x2f1639(0x432)],_0x2038c8=_0x2e00ef[_0x2f1639(0x3bc)],_0x453644=_0x3409da[_0x2f1639(0x34c)];_0x453644['Base64']={'stringify':function(_0x293219){var _0x3d9076=_0x2f1639,_0x55a19b=_0x293219['words'],_0x145031=_0x293219[_0x3d9076(0x2c5)],_0x52ce7a=this[_0x3d9076(0x3c2)];_0x293219[_0x3d9076(0x2c4)]();for(var _0x40ad0b=[],_0x5e9757=0x0;_0x5e9757<_0x145031;_0x5e9757+=0x3)for(var _0x32746e=_0x55a19b[_0x5e9757>>>0x2]>>>0x18-_0x5e9757%0x4*0x8&0xff,_0x40186a=_0x55a19b[_0x5e9757+0x1>>>0x2]>>>0x18-(_0x5e9757+0x1)%0x4*0x8&0xff,_0x592e00=_0x55a19b[_0x5e9757+0x2>>>0x2]>>>0x18-(_0x5e9757+0x2)%0x4*0x8&0xff,_0x41e95f=_0x32746e<<0x10|_0x40186a<<0x8|_0x592e00,_0x1ee281=0x0;_0x1ee281<0x4&&_0x5e9757+_0x1ee281*0.75<_0x145031;_0x1ee281++)_0x40ad0b[_0x3d9076(0x365)](_0x52ce7a[_0x3d9076(0x2f4)](_0x41e95f>>>0x6*(0x3-_0x1ee281)&0x3f));var _0x3248cf=_0x52ce7a[_0x3d9076(0x2f4)](0x40);if(_0x3248cf){for(;_0x40ad0b[_0x3d9076(0x1b1)]%0x4;)_0x40ad0b[_0x3d9076(0x365)](_0x3248cf);}return _0x40ad0b[_0x3d9076(0x382)]('');},'parse':function(_0x4f20bc){var _0x266db7=_0x2f1639,_0x12113a=_0x4f20bc[_0x266db7(0x1b1)],_0x54e3ee=this['_map'],_0x41b60d=this[_0x266db7(0x32b)];if(!_0x41b60d){_0x41b60d=this['_reverseMap']=[];for(var _0x200ff0=0x0;_0x200ff0<_0x54e3ee[_0x266db7(0x1b1)];_0x200ff0++)_0x41b60d[_0x54e3ee[_0x266db7(0x470)](_0x200ff0)]=_0x200ff0;}var _0x937da8=_0x54e3ee[_0x266db7(0x2f4)](0x40);if(_0x937da8){var _0x21013b=_0x4f20bc[_0x266db7(0x279)](_0x937da8);_0x21013b!==-0x1&&(_0x12113a=_0x21013b);}return _0x198e31(_0x4f20bc,_0x12113a,_0x41b60d);},'_map':_0x2f1639(0x45f)};function _0x198e31(_0x1f124f,_0x3b68c4,_0x3d699d){var _0x2d5ea9=_0x2f1639;for(var _0x1bc61d=[],_0x154107=0x0,_0x100170=0x0;_0x100170<_0x3b68c4;_0x100170++)if(_0x100170%0x4){var _0x20569a=_0x3d699d[_0x1f124f[_0x2d5ea9(0x470)](_0x100170-0x1)]<<_0x100170%0x4*0x2,_0x38d6f9=_0x3d699d[_0x1f124f['charCodeAt'](_0x100170)]>>>0x6-_0x100170%0x4*0x2,_0x1e0b02=_0x20569a|_0x38d6f9;_0x1bc61d[_0x154107>>>0x2]|=_0x1e0b02<<0x18-_0x154107%0x4*0x8,_0x154107++;}return _0x2038c8[_0x2d5ea9(0x273)](_0x1bc61d,_0x154107);}}()),_0x11b29a[_0x251323(0x34c)][_0x251323(0x3ce)];}));}(We)),We[_0x581679(0x2f1)];}var Ye={'exports':{}},Is=Ye['exports'],Qt;function Ts(){var _0x328604=_0x119c4e;return Qt||(Qt=0x1,function(_0x1c7f8f,_0x599c1f){(function(_0x5391b9,_0x5b5d08){_0x1c7f8f['exports']=_0x5b5d08(ie());}(Is,function(_0x49dedf){var _0x38af53=_0x5b09;return function(_0x4ede62){var _0x1634dc=_0x5b09,_0x38fc17=_0x49dedf,_0x501f16=_0x38fc17[_0x1634dc(0x432)],_0x481263=_0x501f16[_0x1634dc(0x3bc)],_0x54fb93=_0x501f16['Hasher'],_0x546804=_0x38fc17['algo'],_0x4b945c=[];(function(){var _0x46ebe8=_0x1634dc;for(var _0x1a98e3=0x0;_0x1a98e3<0x40;_0x1a98e3++)_0x4b945c[_0x1a98e3]=_0x4ede62[_0x46ebe8(0x472)](_0x4ede62[_0x46ebe8(0x34f)](_0x1a98e3+0x1))*0x100000000|0x0;}());var _0x59279f=_0x546804[_0x1634dc(0x463)]=_0x54fb93[_0x1634dc(0x39f)]({'_doReset':function(){var _0x2582e4=_0x1634dc;this[_0x2582e4(0x1ed)]=new _0x481263[(_0x2582e4(0x344))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1c630c,_0x53a1d0){var _0x4d8ea3=_0x1634dc;for(var _0x4faf64=0x0;_0x4faf64<0x10;_0x4faf64++){var _0x28c7b6=_0x53a1d0+_0x4faf64,_0x1e2e7c=_0x1c630c[_0x28c7b6];_0x1c630c[_0x28c7b6]=(_0x1e2e7c<<0x8|_0x1e2e7c>>>0x18)&0xff00ff|(_0x1e2e7c<<0x18|_0x1e2e7c>>>0x8)&0xff00ff00;}var _0x4cc2f7=this[_0x4d8ea3(0x1ed)][_0x4d8ea3(0x456)],_0x4623ae=_0x1c630c[_0x53a1d0+0x0],_0x50c07b=_0x1c630c[_0x53a1d0+0x1],_0x490ec1=_0x1c630c[_0x53a1d0+0x2],_0x47004c=_0x1c630c[_0x53a1d0+0x3],_0x4e1b80=_0x1c630c[_0x53a1d0+0x4],_0x260bd3=_0x1c630c[_0x53a1d0+0x5],_0x1b7a10=_0x1c630c[_0x53a1d0+0x6],_0x3aa0cf=_0x1c630c[_0x53a1d0+0x7],_0x3b9416=_0x1c630c[_0x53a1d0+0x8],_0x18265a=_0x1c630c[_0x53a1d0+0x9],_0x28a972=_0x1c630c[_0x53a1d0+0xa],_0xc771ad=_0x1c630c[_0x53a1d0+0xb],_0x230f05=_0x1c630c[_0x53a1d0+0xc],_0x163183=_0x1c630c[_0x53a1d0+0xd],_0x4acf3c=_0x1c630c[_0x53a1d0+0xe],_0x4367d0=_0x1c630c[_0x53a1d0+0xf],_0x22533=_0x4cc2f7[0x0],_0x518548=_0x4cc2f7[0x1],_0x297ddc=_0x4cc2f7[0x2],_0x98b9f2=_0x4cc2f7[0x3];_0x22533=_0x2c750(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x4623ae,0x7,_0x4b945c[0x0]),_0x98b9f2=_0x2c750(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x50c07b,0xc,_0x4b945c[0x1]),_0x297ddc=_0x2c750(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x490ec1,0x11,_0x4b945c[0x2]),_0x518548=_0x2c750(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x47004c,0x16,_0x4b945c[0x3]),_0x22533=_0x2c750(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x4e1b80,0x7,_0x4b945c[0x4]),_0x98b9f2=_0x2c750(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x260bd3,0xc,_0x4b945c[0x5]),_0x297ddc=_0x2c750(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x1b7a10,0x11,_0x4b945c[0x6]),_0x518548=_0x2c750(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x3aa0cf,0x16,_0x4b945c[0x7]),_0x22533=_0x2c750(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x3b9416,0x7,_0x4b945c[0x8]),_0x98b9f2=_0x2c750(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x18265a,0xc,_0x4b945c[0x9]),_0x297ddc=_0x2c750(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x28a972,0x11,_0x4b945c[0xa]),_0x518548=_0x2c750(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0xc771ad,0x16,_0x4b945c[0xb]),_0x22533=_0x2c750(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x230f05,0x7,_0x4b945c[0xc]),_0x98b9f2=_0x2c750(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x163183,0xc,_0x4b945c[0xd]),_0x297ddc=_0x2c750(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x4acf3c,0x11,_0x4b945c[0xe]),_0x518548=_0x2c750(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x4367d0,0x16,_0x4b945c[0xf]),_0x22533=_0x10b76e(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x50c07b,0x5,_0x4b945c[0x10]),_0x98b9f2=_0x10b76e(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x1b7a10,0x9,_0x4b945c[0x11]),_0x297ddc=_0x10b76e(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0xc771ad,0xe,_0x4b945c[0x12]),_0x518548=_0x10b76e(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x4623ae,0x14,_0x4b945c[0x13]),_0x22533=_0x10b76e(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x260bd3,0x5,_0x4b945c[0x14]),_0x98b9f2=_0x10b76e(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x28a972,0x9,_0x4b945c[0x15]),_0x297ddc=_0x10b76e(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x4367d0,0xe,_0x4b945c[0x16]),_0x518548=_0x10b76e(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x4e1b80,0x14,_0x4b945c[0x17]),_0x22533=_0x10b76e(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x18265a,0x5,_0x4b945c[0x18]),_0x98b9f2=_0x10b76e(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x4acf3c,0x9,_0x4b945c[0x19]),_0x297ddc=_0x10b76e(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x47004c,0xe,_0x4b945c[0x1a]),_0x518548=_0x10b76e(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x3b9416,0x14,_0x4b945c[0x1b]),_0x22533=_0x10b76e(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x163183,0x5,_0x4b945c[0x1c]),_0x98b9f2=_0x10b76e(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x490ec1,0x9,_0x4b945c[0x1d]),_0x297ddc=_0x10b76e(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x3aa0cf,0xe,_0x4b945c[0x1e]),_0x518548=_0x10b76e(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x230f05,0x14,_0x4b945c[0x1f]),_0x22533=_0x41372b(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x260bd3,0x4,_0x4b945c[0x20]),_0x98b9f2=_0x41372b(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x3b9416,0xb,_0x4b945c[0x21]),_0x297ddc=_0x41372b(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0xc771ad,0x10,_0x4b945c[0x22]),_0x518548=_0x41372b(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x4acf3c,0x17,_0x4b945c[0x23]),_0x22533=_0x41372b(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x50c07b,0x4,_0x4b945c[0x24]),_0x98b9f2=_0x41372b(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x4e1b80,0xb,_0x4b945c[0x25]),_0x297ddc=_0x41372b(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x3aa0cf,0x10,_0x4b945c[0x26]),_0x518548=_0x41372b(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x28a972,0x17,_0x4b945c[0x27]),_0x22533=_0x41372b(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x163183,0x4,_0x4b945c[0x28]),_0x98b9f2=_0x41372b(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x4623ae,0xb,_0x4b945c[0x29]),_0x297ddc=_0x41372b(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x47004c,0x10,_0x4b945c[0x2a]),_0x518548=_0x41372b(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x1b7a10,0x17,_0x4b945c[0x2b]),_0x22533=_0x41372b(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x18265a,0x4,_0x4b945c[0x2c]),_0x98b9f2=_0x41372b(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x230f05,0xb,_0x4b945c[0x2d]),_0x297ddc=_0x41372b(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x4367d0,0x10,_0x4b945c[0x2e]),_0x518548=_0x41372b(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x490ec1,0x17,_0x4b945c[0x2f]),_0x22533=_0x12efdf(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x4623ae,0x6,_0x4b945c[0x30]),_0x98b9f2=_0x12efdf(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x3aa0cf,0xa,_0x4b945c[0x31]),_0x297ddc=_0x12efdf(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x4acf3c,0xf,_0x4b945c[0x32]),_0x518548=_0x12efdf(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x260bd3,0x15,_0x4b945c[0x33]),_0x22533=_0x12efdf(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x230f05,0x6,_0x4b945c[0x34]),_0x98b9f2=_0x12efdf(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x47004c,0xa,_0x4b945c[0x35]),_0x297ddc=_0x12efdf(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x28a972,0xf,_0x4b945c[0x36]),_0x518548=_0x12efdf(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x50c07b,0x15,_0x4b945c[0x37]),_0x22533=_0x12efdf(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x3b9416,0x6,_0x4b945c[0x38]),_0x98b9f2=_0x12efdf(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0x4367d0,0xa,_0x4b945c[0x39]),_0x297ddc=_0x12efdf(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x1b7a10,0xf,_0x4b945c[0x3a]),_0x518548=_0x12efdf(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x163183,0x15,_0x4b945c[0x3b]),_0x22533=_0x12efdf(_0x22533,_0x518548,_0x297ddc,_0x98b9f2,_0x4e1b80,0x6,_0x4b945c[0x3c]),_0x98b9f2=_0x12efdf(_0x98b9f2,_0x22533,_0x518548,_0x297ddc,_0xc771ad,0xa,_0x4b945c[0x3d]),_0x297ddc=_0x12efdf(_0x297ddc,_0x98b9f2,_0x22533,_0x518548,_0x490ec1,0xf,_0x4b945c[0x3e]),_0x518548=_0x12efdf(_0x518548,_0x297ddc,_0x98b9f2,_0x22533,_0x18265a,0x15,_0x4b945c[0x3f]),_0x4cc2f7[0x0]=_0x4cc2f7[0x0]+_0x22533|0x0,_0x4cc2f7[0x1]=_0x4cc2f7[0x1]+_0x518548|0x0,_0x4cc2f7[0x2]=_0x4cc2f7[0x2]+_0x297ddc|0x0,_0x4cc2f7[0x3]=_0x4cc2f7[0x3]+_0x98b9f2|0x0;},'_doFinalize':function(){var _0x35761b=_0x1634dc,_0x21c996=this[_0x35761b(0x3cf)],_0x44b118=_0x21c996[_0x35761b(0x456)],_0x3a7841=this['_nDataBytes']*0x8,_0xcf10d4=_0x21c996[_0x35761b(0x2c5)]*0x8;_0x44b118[_0xcf10d4>>>0x5]|=0x80<<0x18-_0xcf10d4%0x20;var _0x4accaa=_0x4ede62['floor'](_0x3a7841/0x100000000),_0x2e222a=_0x3a7841;_0x44b118[(_0xcf10d4+0x40>>>0x9<<0x4)+0xf]=(_0x4accaa<<0x8|_0x4accaa>>>0x18)&0xff00ff|(_0x4accaa<<0x18|_0x4accaa>>>0x8)&0xff00ff00,_0x44b118[(_0xcf10d4+0x40>>>0x9<<0x4)+0xe]=(_0x2e222a<<0x8|_0x2e222a>>>0x18)&0xff00ff|(_0x2e222a<<0x18|_0x2e222a>>>0x8)&0xff00ff00,_0x21c996[_0x35761b(0x2c5)]=(_0x44b118[_0x35761b(0x1b1)]+0x1)*0x4,this['_process']();for(var _0x5e040e=this[_0x35761b(0x1ed)],_0xbb8767=_0x5e040e[_0x35761b(0x456)],_0x333945=0x0;_0x333945<0x4;_0x333945++){var _0x4165f3=_0xbb8767[_0x333945];_0xbb8767[_0x333945]=(_0x4165f3<<0x8|_0x4165f3>>>0x18)&0xff00ff|(_0x4165f3<<0x18|_0x4165f3>>>0x8)&0xff00ff00;}return _0x5e040e;},'clone':function(){var _0x249426=_0x1634dc,_0xc76aea=_0x54fb93[_0x249426(0x478)][_0x249426(0x3d3)](this);return _0xc76aea[_0x249426(0x1ed)]=this[_0x249426(0x1ed)][_0x249426(0x478)](),_0xc76aea;}});function _0x2c750(_0xaf984c,_0x5b1a04,_0x32d8c6,_0x23f71c,_0x5d9cf4,_0xfca350,_0x4f0a32){var _0x1ddfea=_0xaf984c+(_0x5b1a04&_0x32d8c6|~_0x5b1a04&_0x23f71c)+_0x5d9cf4+_0x4f0a32;return(_0x1ddfea<<_0xfca350|_0x1ddfea>>>0x20-_0xfca350)+_0x5b1a04;}function _0x10b76e(_0x44596b,_0x30bb49,_0x59f178,_0x2fc9be,_0x5f2fff,_0x29a6ad,_0xc84ed6){var _0x1e29fa=_0x44596b+(_0x30bb49&_0x2fc9be|_0x59f178&~_0x2fc9be)+_0x5f2fff+_0xc84ed6;return(_0x1e29fa<<_0x29a6ad|_0x1e29fa>>>0x20-_0x29a6ad)+_0x30bb49;}function _0x41372b(_0x3bfb3c,_0x5e579b,_0x2d5788,_0x30ea84,_0x5708ef,_0x3fb651,_0x4290f0){var _0x1da677=_0x3bfb3c+(_0x5e579b^_0x2d5788^_0x30ea84)+_0x5708ef+_0x4290f0;return(_0x1da677<<_0x3fb651|_0x1da677>>>0x20-_0x3fb651)+_0x5e579b;}function _0x12efdf(_0x36fa4c,_0x3d4659,_0x545696,_0x495110,_0x5c9659,_0x2fb51c,_0x14eec4){var _0x3430a3=_0x36fa4c+(_0x545696^(_0x3d4659|~_0x495110))+_0x5c9659+_0x14eec4;return(_0x3430a3<<_0x2fb51c|_0x3430a3>>>0x20-_0x2fb51c)+_0x3d4659;}_0x38fc17['MD5']=_0x54fb93[_0x1634dc(0x392)](_0x59279f),_0x38fc17['HmacMD5']=_0x54fb93[_0x1634dc(0x3b8)](_0x59279f);}(Math),_0x49dedf[_0x38af53(0x463)];}));}(Ye)),Ye[_0x328604(0x2f1)];}var Ke={'exports':{}},qe={'exports':{}},Cs=qe['exports'],ei;function Rs(){var _0x428723=_0x119c4e;return ei||(ei=0x1,function(_0x98d5c4,_0x44a5f5){(function(_0x2806c0,_0x361758){var _0x3b98f0=_0x5b09;_0x98d5c4[_0x3b98f0(0x2f1)]=_0x361758(ie());}(Cs,function(_0x4d6626){return(function(){var _0x49683c=_0x5b09,_0x409b6e=_0x4d6626,_0x251acc=_0x409b6e[_0x49683c(0x432)],_0x467d89=_0x251acc[_0x49683c(0x3bc)],_0xab9e0c=_0x251acc[_0x49683c(0x219)],_0xb89aea=_0x409b6e[_0x49683c(0x270)],_0x3a29a6=[],_0x445471=_0xb89aea[_0x49683c(0x2fe)]=_0xab9e0c['extend']({'_doReset':function(){var _0x16185=_0x49683c;this['_hash']=new _0x467d89[(_0x16185(0x344))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xa04071,_0x179ac9){var _0x454692=_0x49683c;for(var _0x4b11ed=this[_0x454692(0x1ed)][_0x454692(0x456)],_0x27932f=_0x4b11ed[0x0],_0x658e0e=_0x4b11ed[0x1],_0x1e090c=_0x4b11ed[0x2],_0x32b5e1=_0x4b11ed[0x3],_0x6faf8d=_0x4b11ed[0x4],_0xab6ff4=0x0;_0xab6ff4<0x50;_0xab6ff4++){if(_0xab6ff4<0x10)_0x3a29a6[_0xab6ff4]=_0xa04071[_0x179ac9+_0xab6ff4]|0x0;else{var _0x50267e=_0x3a29a6[_0xab6ff4-0x3]^_0x3a29a6[_0xab6ff4-0x8]^_0x3a29a6[_0xab6ff4-0xe]^_0x3a29a6[_0xab6ff4-0x10];_0x3a29a6[_0xab6ff4]=_0x50267e<<0x1|_0x50267e>>>0x1f;}var _0x19aca6=(_0x27932f<<0x5|_0x27932f>>>0x1b)+_0x6faf8d+_0x3a29a6[_0xab6ff4];_0xab6ff4<0x14?_0x19aca6+=(_0x658e0e&_0x1e090c|~_0x658e0e&_0x32b5e1)+0x5a827999:_0xab6ff4<0x28?_0x19aca6+=(_0x658e0e^_0x1e090c^_0x32b5e1)+0x6ed9eba1:_0xab6ff4<0x3c?_0x19aca6+=(_0x658e0e&_0x1e090c|_0x658e0e&_0x32b5e1|_0x1e090c&_0x32b5e1)-0x70e44324:_0x19aca6+=(_0x658e0e^_0x1e090c^_0x32b5e1)-0x359d3e2a,_0x6faf8d=_0x32b5e1,_0x32b5e1=_0x1e090c,_0x1e090c=_0x658e0e<<0x1e|_0x658e0e>>>0x2,_0x658e0e=_0x27932f,_0x27932f=_0x19aca6;}_0x4b11ed[0x0]=_0x4b11ed[0x0]+_0x27932f|0x0,_0x4b11ed[0x1]=_0x4b11ed[0x1]+_0x658e0e|0x0,_0x4b11ed[0x2]=_0x4b11ed[0x2]+_0x1e090c|0x0,_0x4b11ed[0x3]=_0x4b11ed[0x3]+_0x32b5e1|0x0,_0x4b11ed[0x4]=_0x4b11ed[0x4]+_0x6faf8d|0x0;},'_doFinalize':function(){var _0x3acd8f=_0x49683c,_0x3a3179=this[_0x3acd8f(0x3cf)],_0x275e1a=_0x3a3179['words'],_0x29a130=this[_0x3acd8f(0x288)]*0x8,_0x2349c8=_0x3a3179[_0x3acd8f(0x2c5)]*0x8;return _0x275e1a[_0x2349c8>>>0x5]|=0x80<<0x18-_0x2349c8%0x20,_0x275e1a[(_0x2349c8+0x40>>>0x9<<0x4)+0xe]=Math[_0x3acd8f(0x242)](_0x29a130/0x100000000),_0x275e1a[(_0x2349c8+0x40>>>0x9<<0x4)+0xf]=_0x29a130,_0x3a3179['sigBytes']=_0x275e1a[_0x3acd8f(0x1b1)]*0x4,this[_0x3acd8f(0x3dd)](),this[_0x3acd8f(0x1ed)];},'clone':function(){var _0x2dc797=_0x49683c,_0x285737=_0xab9e0c['clone']['call'](this);return _0x285737[_0x2dc797(0x1ed)]=this[_0x2dc797(0x1ed)]['clone'](),_0x285737;}});_0x409b6e[_0x49683c(0x2fe)]=_0xab9e0c['_createHelper'](_0x445471),_0x409b6e[_0x49683c(0x2a1)]=_0xab9e0c['_createHmacHelper'](_0x445471);}()),_0x4d6626['SHA1'];}));}(qe)),qe[_0x428723(0x2f1)];}var ze={'exports':{}},bs=ze[_0x119c4e(0x2f1)],ti;function Os(){var _0x41c17a=_0x119c4e;return ti||(ti=0x1,function(_0x5ead81,_0x1a0a5e){(function(_0x591495,_0x175f08){_0x5ead81['exports']=_0x175f08(ie());}(bs,function(_0x3dba2d){(function(){var _0x5c89fd=_0x5b09,_0x3a393b=_0x3dba2d,_0x19bda0=_0x3a393b[_0x5c89fd(0x432)],_0x4d0866=_0x19bda0[_0x5c89fd(0x1c1)],_0x16b4e4=_0x3a393b['enc'],_0xd497c2=_0x16b4e4[_0x5c89fd(0x27b)],_0x18b4e9=_0x3a393b[_0x5c89fd(0x270)];_0x18b4e9[_0x5c89fd(0x448)]=_0x4d0866[_0x5c89fd(0x39f)]({'init':function(_0xd9da1d,_0x46c5cc){var _0x33f55c=_0x5c89fd;_0xd9da1d=this[_0x33f55c(0x499)]=new _0xd9da1d[(_0x33f55c(0x344))](),typeof _0x46c5cc=='string'&&(_0x46c5cc=_0xd497c2[_0x33f55c(0x356)](_0x46c5cc));var _0x322044=_0xd9da1d[_0x33f55c(0x3ca)],_0xdbc4bb=_0x322044*0x4;_0x46c5cc[_0x33f55c(0x2c5)]>_0xdbc4bb&&(_0x46c5cc=_0xd9da1d['finalize'](_0x46c5cc)),_0x46c5cc[_0x33f55c(0x2c4)]();for(var _0x53c118=this[_0x33f55c(0x367)]=_0x46c5cc[_0x33f55c(0x478)](),_0x1ee860=this[_0x33f55c(0x441)]=_0x46c5cc[_0x33f55c(0x478)](),_0x52649d=_0x53c118[_0x33f55c(0x456)],_0x43efab=_0x1ee860[_0x33f55c(0x456)],_0x21ebed=0x0;_0x21ebed<_0x322044;_0x21ebed++)_0x52649d[_0x21ebed]^=0x5c5c5c5c,_0x43efab[_0x21ebed]^=0x36363636;_0x53c118[_0x33f55c(0x2c5)]=_0x1ee860[_0x33f55c(0x2c5)]=_0xdbc4bb,this['reset']();},'reset':function(){var _0x39727a=_0x5c89fd,_0x46fe18=this[_0x39727a(0x499)];_0x46fe18['reset'](),_0x46fe18[_0x39727a(0x26d)](this['_iKey']);},'update':function(_0x540ba3){var _0x27d0cf=_0x5c89fd;return this[_0x27d0cf(0x499)][_0x27d0cf(0x26d)](_0x540ba3),this;},'finalize':function(_0x2c2466){var _0x2d7748=_0x5c89fd,_0x19384a=this[_0x2d7748(0x499)],_0x50d41=_0x19384a[_0x2d7748(0x426)](_0x2c2466);_0x19384a['reset']();var _0x374be4=_0x19384a[_0x2d7748(0x426)](this[_0x2d7748(0x367)][_0x2d7748(0x478)]()['concat'](_0x50d41));return _0x374be4;}});}());}));}(ze)),ze[_0x41c17a(0x2f1)];}var ys=Ke[_0x119c4e(0x2f1)],ii;function Ui(){var _0x272d25=_0x119c4e;return ii||(ii=0x1,function(_0x753e07,_0x1d0f66){(function(_0x3b8963,_0x3e86c0,_0x3c43b6){_0x753e07['exports']=_0x3e86c0(ie(),Rs(),Os());}(ys,function(_0x4617c7){var _0x3622f5=_0x5b09;return(function(){var _0xef9e33=_0x5b09,_0x34c8bd=_0x4617c7,_0x45937c=_0x34c8bd[_0xef9e33(0x432)],_0x28bf3a=_0x45937c[_0xef9e33(0x1c1)],_0x5d529b=_0x45937c[_0xef9e33(0x3bc)],_0xad5486=_0x34c8bd[_0xef9e33(0x270)],_0x3194b=_0xad5486['MD5'],_0x52b22d=_0xad5486[_0xef9e33(0x1af)]=_0x28bf3a[_0xef9e33(0x39f)]({'cfg':_0x28bf3a['extend']({'keySize':0x80/0x20,'hasher':_0x3194b,'iterations':0x1}),'init':function(_0x30ade2){var _0x194ffe=_0xef9e33;this['cfg']=this['cfg'][_0x194ffe(0x39f)](_0x30ade2);},'compute':function(_0x3b17fb,_0x23c18c){var _0x3c3f3f=_0xef9e33;for(var _0x40962f,_0x1d9cc8=this['cfg'],_0x469833=_0x1d9cc8[_0x3c3f3f(0x486)]['create'](),_0x47dc8c=_0x5d529b[_0x3c3f3f(0x273)](),_0x5024b9=_0x47dc8c[_0x3c3f3f(0x456)],_0x5c843c=_0x1d9cc8['keySize'],_0x3c7a27=_0x1d9cc8[_0x3c3f3f(0x221)];_0x5024b9['length']<_0x5c843c;){_0x40962f&&_0x469833[_0x3c3f3f(0x26d)](_0x40962f),_0x40962f=_0x469833[_0x3c3f3f(0x26d)](_0x3b17fb)[_0x3c3f3f(0x426)](_0x23c18c),_0x469833[_0x3c3f3f(0x431)]();for(var _0x4b393a=0x1;_0x4b393a<_0x3c7a27;_0x4b393a++)_0x40962f=_0x469833[_0x3c3f3f(0x426)](_0x40962f),_0x469833[_0x3c3f3f(0x431)]();_0x47dc8c[_0x3c3f3f(0x2bd)](_0x40962f);}return _0x47dc8c[_0x3c3f3f(0x2c5)]=_0x5c843c*0x4,_0x47dc8c;}});_0x34c8bd[_0xef9e33(0x1af)]=function(_0x4e33bd,_0x5ce887,_0x176c7b){var _0x59ed92=_0xef9e33;return _0x52b22d[_0x59ed92(0x273)](_0x176c7b)['compute'](_0x4e33bd,_0x5ce887);};}()),_0x4617c7[_0x3622f5(0x1af)];}));}(Ke)),Ke[_0x272d25(0x2f1)];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x17ca49=_0x119c4e;return ni||(ni=0x1,function(_0x1d4cef,_0x57f6c6){(function(_0x189a12,_0x5356a9,_0x406aad){var _0x2f35ea=_0x5b09;_0x1d4cef[_0x2f35ea(0x2f1)]=_0x5356a9(ie(),Ui());}(Ns,function(_0x51c11b){var _0x52283e=_0x5b09;_0x51c11b['lib'][_0x52283e(0x1d7)]||function(_0x444ac3){var _0x1e33d9=_0x52283e,_0x40e38d=_0x51c11b,_0x1376b3=_0x40e38d[_0x1e33d9(0x432)],_0x2321ed=_0x1376b3[_0x1e33d9(0x1c1)],_0x500188=_0x1376b3[_0x1e33d9(0x3bc)],_0x595ff0=_0x1376b3[_0x1e33d9(0x38d)],_0x18d69a=_0x40e38d[_0x1e33d9(0x34c)];_0x18d69a[_0x1e33d9(0x27b)];var _0x3d4a36=_0x18d69a[_0x1e33d9(0x3ce)],_0x1da73a=_0x40e38d[_0x1e33d9(0x270)],_0x5f1c0a=_0x1da73a[_0x1e33d9(0x1af)],_0x37580f=_0x1376b3[_0x1e33d9(0x1d7)]=_0x595ff0[_0x1e33d9(0x39f)]({'cfg':_0x2321ed[_0x1e33d9(0x39f)](),'createEncryptor':function(_0x58eb78,_0x326eeb){var _0x1d81ac=_0x1e33d9;return this[_0x1d81ac(0x273)](this[_0x1d81ac(0x490)],_0x58eb78,_0x326eeb);},'createDecryptor':function(_0x1edbbf,_0x17ff35){var _0x1297c9=_0x1e33d9;return this[_0x1297c9(0x273)](this[_0x1297c9(0x33d)],_0x1edbbf,_0x17ff35);},'init':function(_0x260033,_0x14879c,_0x336627){var _0x2a0f56=_0x1e33d9;this[_0x2a0f56(0x2a9)]=this['cfg'][_0x2a0f56(0x39f)](_0x336627),this[_0x2a0f56(0x466)]=_0x260033,this[_0x2a0f56(0x475)]=_0x14879c,this[_0x2a0f56(0x431)]();},'reset':function(){var _0x34d4ef=_0x1e33d9;_0x595ff0['reset'][_0x34d4ef(0x3d3)](this),this['_doReset']();},'process':function(_0x4dc0c7){var _0x5ab215=_0x1e33d9;return this['_append'](_0x4dc0c7),this[_0x5ab215(0x3dd)]();},'finalize':function(_0x241bff){var _0x2c2d31=_0x1e33d9;_0x241bff&&this[_0x2c2d31(0x3db)](_0x241bff);var _0x416a3b=this[_0x2c2d31(0x214)]();return _0x416a3b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x33f1f5(_0x5446f9){var _0x97c9db=_0x5b09;return typeof _0x5446f9==_0x97c9db(0x388)?_0x4d2bd1:_0x9945f1;}return function(_0x392564){return{'encrypt':function(_0x27b7d7,_0x4da52b,_0x45dd73){var _0x1cfbf4=_0x5b09;return _0x33f1f5(_0x4da52b)[_0x1cfbf4(0x250)](_0x392564,_0x27b7d7,_0x4da52b,_0x45dd73);},'decrypt':function(_0x152a91,_0x4f3394,_0xe5d10e){var _0x1bf625=_0x5b09;return _0x33f1f5(_0x4f3394)[_0x1bf625(0x1bf)](_0x392564,_0x152a91,_0x4f3394,_0xe5d10e);}};};}())});_0x1376b3[_0x1e33d9(0x48e)]=_0x37580f[_0x1e33d9(0x39f)]({'_doFinalize':function(){var _0x67e2d5=this['_process'](!0x0);return _0x67e2d5;},'blockSize':0x1});var _0x13ab7b=_0x40e38d['mode']={},_0x560664=_0x1376b3[_0x1e33d9(0x26c)]=_0x2321ed['extend']({'createEncryptor':function(_0x3b5f59,_0x1047e0){var _0x28482f=_0x1e33d9;return this['Encryptor'][_0x28482f(0x273)](_0x3b5f59,_0x1047e0);},'createDecryptor':function(_0x54ef1b,_0x3ffc3b){var _0x28448d=_0x1e33d9;return this['Decryptor'][_0x28448d(0x273)](_0x54ef1b,_0x3ffc3b);},'init':function(_0x1e0c3e,_0x487d94){var _0x49bd5a=_0x1e33d9;this[_0x49bd5a(0x3cb)]=_0x1e0c3e,this['_iv']=_0x487d94;}}),_0x2e6b49=_0x13ab7b['CBC']=(function(){var _0x20d954=_0x1e33d9,_0x2fd6f9=_0x560664[_0x20d954(0x39f)]();_0x2fd6f9['Encryptor']=_0x2fd6f9[_0x20d954(0x39f)]({'processBlock':function(_0x18122e,_0x50bd10){var _0xe7c5f4=_0x20d954,_0x5c3bb7=this[_0xe7c5f4(0x3cb)],_0x3812b9=_0x5c3bb7[_0xe7c5f4(0x3ca)];_0x38bfdd[_0xe7c5f4(0x3d3)](this,_0x18122e,_0x50bd10,_0x3812b9),_0x5c3bb7[_0xe7c5f4(0x278)](_0x18122e,_0x50bd10),this[_0xe7c5f4(0x433)]=_0x18122e[_0xe7c5f4(0x2c7)](_0x50bd10,_0x50bd10+_0x3812b9);}}),_0x2fd6f9[_0x20d954(0x2d2)]=_0x2fd6f9[_0x20d954(0x39f)]({'processBlock':function(_0xc10f54,_0x22c95b){var _0x913bbd=_0x20d954,_0x42431c=this[_0x913bbd(0x3cb)],_0x32947c=_0x42431c[_0x913bbd(0x3ca)],_0x2aead4=_0xc10f54[_0x913bbd(0x2c7)](_0x22c95b,_0x22c95b+_0x32947c);_0x42431c[_0x913bbd(0x31e)](_0xc10f54,_0x22c95b),_0x38bfdd[_0x913bbd(0x3d3)](this,_0xc10f54,_0x22c95b,_0x32947c),this[_0x913bbd(0x433)]=_0x2aead4;}});function _0x38bfdd(_0x43a992,_0x2f3fb9,_0x5731c8){var _0x5d4051=_0x20d954,_0x32614d,_0x58f9fe=this[_0x5d4051(0x2f5)];_0x58f9fe?(_0x32614d=_0x58f9fe,this[_0x5d4051(0x2f5)]=_0x444ac3):_0x32614d=this[_0x5d4051(0x433)];for(var _0x23894c=0x0;_0x23894c<_0x5731c8;_0x23894c++)_0x43a992[_0x2f3fb9+_0x23894c]^=_0x32614d[_0x23894c];}return _0x2fd6f9;}()),_0x5303d9=_0x40e38d['pad']={},_0x121338=_0x5303d9['Pkcs7']={'pad':function(_0x48b96c,_0x40a906){var _0x54c7c0=_0x1e33d9;for(var _0x28834c=_0x40a906*0x4,_0x342c1a=_0x28834c-_0x48b96c[_0x54c7c0(0x2c5)]%_0x28834c,_0x3847ce=_0x342c1a<<0x18|_0x342c1a<<0x10|_0x342c1a<<0x8|_0x342c1a,_0x2679cd=[],_0x3e47fe=0x0;_0x3e47fe<_0x342c1a;_0x3e47fe+=0x4)_0x2679cd['push'](_0x3847ce);var _0x34a1d7=_0x500188[_0x54c7c0(0x273)](_0x2679cd,_0x342c1a);_0x48b96c['concat'](_0x34a1d7);},'unpad':function(_0x316fb6){var _0x3ebd0e=_0x1e33d9,_0x33eeb2=_0x316fb6[_0x3ebd0e(0x456)][_0x316fb6['sigBytes']-0x1>>>0x2]&0xff;_0x316fb6[_0x3ebd0e(0x2c5)]-=_0x33eeb2;}};_0x1376b3['BlockCipher']=_0x37580f[_0x1e33d9(0x39f)]({'cfg':_0x37580f['cfg'][_0x1e33d9(0x39f)]({'mode':_0x2e6b49,'padding':_0x121338}),'reset':function(){var _0x376472=_0x1e33d9,_0x505bf6;_0x37580f[_0x376472(0x431)][_0x376472(0x3d3)](this);var _0x268ddb=this[_0x376472(0x2a9)],_0x485337=_0x268ddb['iv'],_0x39bf0f=_0x268ddb[_0x376472(0x440)];this[_0x376472(0x466)]==this['_ENC_XFORM_MODE']?_0x505bf6=_0x39bf0f['createEncryptor']:(_0x505bf6=_0x39bf0f[_0x376472(0x47c)],this[_0x376472(0x200)]=0x1),this[_0x376472(0x3d2)]&&this[_0x376472(0x3d2)][_0x376472(0x3fc)]==_0x505bf6?this['_mode'][_0x376472(0x344)](this,_0x485337&&_0x485337[_0x376472(0x456)]):(this[_0x376472(0x3d2)]=_0x505bf6[_0x376472(0x3d3)](_0x39bf0f,this,_0x485337&&_0x485337[_0x376472(0x456)]),this[_0x376472(0x3d2)]['__creator']=_0x505bf6);},'_doProcessBlock':function(_0x35c047,_0xff4fcf){this['_mode']['processBlock'](_0x35c047,_0xff4fcf);},'_doFinalize':function(){var _0x18a497=_0x1e33d9,_0x9c4d58,_0x403365=this['cfg'][_0x18a497(0x304)];return this[_0x18a497(0x466)]==this[_0x18a497(0x490)]?(_0x403365[_0x18a497(0x34e)](this['_data'],this[_0x18a497(0x3ca)]),_0x9c4d58=this[_0x18a497(0x3dd)](!0x0)):(_0x9c4d58=this[_0x18a497(0x3dd)](!0x0),_0x403365[_0x18a497(0x1cc)](_0x9c4d58)),_0x9c4d58;},'blockSize':0x80/0x20});var _0x1383de=_0x1376b3[_0x1e33d9(0x229)]=_0x2321ed['extend']({'init':function(_0x58639c){var _0x3001cb=_0x1e33d9;this[_0x3001cb(0x21f)](_0x58639c);},'toString':function(_0x56d12b){var _0x224724=_0x1e33d9;return(_0x56d12b||this[_0x224724(0x376)])[_0x224724(0x19c)](this);}}),_0x18dece=_0x40e38d[_0x1e33d9(0x40b)]={},_0x8b387d=_0x18dece[_0x1e33d9(0x334)]={'stringify':function(_0x85f726){var _0x3bb6f2=_0x1e33d9,_0xaf1c42,_0x4b931f=_0x85f726['ciphertext'],_0x415104=_0x85f726[_0x3bb6f2(0x1c7)];return _0x415104?_0xaf1c42=_0x500188['create']([0x53616c74,0x65645f5f])[_0x3bb6f2(0x2bd)](_0x415104)[_0x3bb6f2(0x2bd)](_0x4b931f):_0xaf1c42=_0x4b931f,_0xaf1c42[_0x3bb6f2(0x1fd)](_0x3d4a36);},'parse':function(_0x5c00e){var _0x2b1502=_0x1e33d9,_0x2b8140,_0x148152=_0x3d4a36[_0x2b1502(0x356)](_0x5c00e),_0x39fdf6=_0x148152[_0x2b1502(0x456)];return _0x39fdf6[0x0]==0x53616c74&&_0x39fdf6[0x1]==0x65645f5f&&(_0x2b8140=_0x500188['create'](_0x39fdf6[_0x2b1502(0x2c7)](0x2,0x4)),_0x39fdf6['splice'](0x0,0x4),_0x148152['sigBytes']-=0x10),_0x1383de[_0x2b1502(0x273)]({'ciphertext':_0x148152,'salt':_0x2b8140});}},_0x9945f1=_0x1376b3[_0x1e33d9(0x3b9)]=_0x2321ed[_0x1e33d9(0x39f)]({'cfg':_0x2321ed[_0x1e33d9(0x39f)]({'format':_0x8b387d}),'encrypt':function(_0x35422d,_0xe01c12,_0x4bb7d0,_0x529610){var _0x3f23ea=_0x1e33d9;_0x529610=this[_0x3f23ea(0x2a9)][_0x3f23ea(0x39f)](_0x529610);var _0x4a29d9=_0x35422d[_0x3f23ea(0x330)](_0x4bb7d0,_0x529610),_0x41b672=_0x4a29d9['finalize'](_0xe01c12),_0x1fdc42=_0x4a29d9[_0x3f23ea(0x2a9)];return _0x1383de[_0x3f23ea(0x273)]({'ciphertext':_0x41b672,'key':_0x4bb7d0,'iv':_0x1fdc42['iv'],'algorithm':_0x35422d,'mode':_0x1fdc42[_0x3f23ea(0x440)],'padding':_0x1fdc42['padding'],'blockSize':_0x35422d['blockSize'],'formatter':_0x529610[_0x3f23ea(0x40b)]});},'decrypt':function(_0x215cee,_0x4f7fc5,_0x8da688,_0x2ce776){var _0x3667d5=_0x1e33d9;_0x2ce776=this[_0x3667d5(0x2a9)][_0x3667d5(0x39f)](_0x2ce776),_0x4f7fc5=this['_parse'](_0x4f7fc5,_0x2ce776[_0x3667d5(0x40b)]);var _0x1465ce=_0x215cee[_0x3667d5(0x47c)](_0x8da688,_0x2ce776)[_0x3667d5(0x426)](_0x4f7fc5[_0x3667d5(0x410)]);return _0x1465ce;},'_parse':function(_0x1f5552,_0x30ecdd){var _0x5d67c9=_0x1e33d9;return typeof _0x1f5552==_0x5d67c9(0x388)?_0x30ecdd[_0x5d67c9(0x356)](_0x1f5552,this):_0x1f5552;}}),_0x41d4bf=_0x40e38d[_0x1e33d9(0x346)]={},_0x2afaf9=_0x41d4bf[_0x1e33d9(0x334)]={'execute':function(_0x576376,_0x3b9a4d,_0x538324,_0x154050,_0x3de9dc){var _0x25c317=_0x1e33d9;if(_0x154050||(_0x154050=_0x500188[_0x25c317(0x348)](0x40/0x8)),_0x3de9dc)var _0xd569e8=_0x5f1c0a[_0x25c317(0x273)]({'keySize':_0x3b9a4d+_0x538324,'hasher':_0x3de9dc})[_0x25c317(0x22e)](_0x576376,_0x154050);else var _0xd569e8=_0x5f1c0a[_0x25c317(0x273)]({'keySize':_0x3b9a4d+_0x538324})[_0x25c317(0x22e)](_0x576376,_0x154050);var _0x5c26f2=_0x500188['create'](_0xd569e8[_0x25c317(0x456)]['slice'](_0x3b9a4d),_0x538324*0x4);return _0xd569e8[_0x25c317(0x2c5)]=_0x3b9a4d*0x4,_0x1383de['create']({'key':_0xd569e8,'iv':_0x5c26f2,'salt':_0x154050});}},_0x4d2bd1=_0x1376b3['PasswordBasedCipher']=_0x9945f1[_0x1e33d9(0x39f)]({'cfg':_0x9945f1[_0x1e33d9(0x2a9)][_0x1e33d9(0x39f)]({'kdf':_0x2afaf9}),'encrypt':function(_0x43dbca,_0x5d1527,_0x5b951a,_0x4ad88a){var _0x3bf862=_0x1e33d9;_0x4ad88a=this[_0x3bf862(0x2a9)][_0x3bf862(0x39f)](_0x4ad88a);var _0xacb716=_0x4ad88a[_0x3bf862(0x346)][_0x3bf862(0x31b)](_0x5b951a,_0x43dbca[_0x3bf862(0x47b)],_0x43dbca[_0x3bf862(0x319)],_0x4ad88a[_0x3bf862(0x1c7)],_0x4ad88a[_0x3bf862(0x486)]);_0x4ad88a['iv']=_0xacb716['iv'];var _0x42a496=_0x9945f1[_0x3bf862(0x250)]['call'](this,_0x43dbca,_0x5d1527,_0xacb716[_0x3bf862(0x42e)],_0x4ad88a);return _0x42a496[_0x3bf862(0x21f)](_0xacb716),_0x42a496;},'decrypt':function(_0x1222a5,_0x2be4ec,_0x1a1f37,_0x1a9940){var _0x7bfac8=_0x1e33d9;_0x1a9940=this[_0x7bfac8(0x2a9)]['extend'](_0x1a9940),_0x2be4ec=this['_parse'](_0x2be4ec,_0x1a9940[_0x7bfac8(0x40b)]);var _0x861a6d=_0x1a9940[_0x7bfac8(0x346)][_0x7bfac8(0x31b)](_0x1a1f37,_0x1222a5[_0x7bfac8(0x47b)],_0x1222a5[_0x7bfac8(0x319)],_0x2be4ec[_0x7bfac8(0x1c7)],_0x1a9940[_0x7bfac8(0x486)]);_0x1a9940['iv']=_0x861a6d['iv'];var _0x1e6076=_0x9945f1[_0x7bfac8(0x1bf)][_0x7bfac8(0x3d3)](this,_0x1222a5,_0x2be4ec,_0x861a6d['key'],_0x1a9940);return _0x1e6076;}});}();}));}(Je)),Je[_0x17ca49(0x2f1)];}var Ds=Ve['exports'],si;function Us(){return si||(si=0x1,function(_0x59fcc6,_0x31d2e7){(function(_0x40f699,_0x2ac411,_0x1c92bb){var _0x35a573=_0x5b09;_0x59fcc6[_0x35a573(0x2f1)]=_0x2ac411(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x22ba04){var _0x41e234=_0x5b09;return(function(){var _0x9a728=_0x5b09,_0x3ca5f0=_0x22ba04,_0x553bd6=_0x3ca5f0[_0x9a728(0x432)],_0x3b2188=_0x553bd6['BlockCipher'],_0x1fd4a3=_0x3ca5f0[_0x9a728(0x270)],_0x4c0f01=[],_0x235bc2=[],_0x10b6ec=[],_0x44c340=[],_0x1a8f6d=[],_0x5162b0=[],_0xa95b80=[],_0x175d0a=[],_0x190a1d=[],_0x2a2415=[];(function(){for(var _0xf3d42c=[],_0x18d289=0x0;_0x18d289<0x100;_0x18d289++)_0x18d289<0x80?_0xf3d42c[_0x18d289]=_0x18d289<<0x1:_0xf3d42c[_0x18d289]=_0x18d289<<0x1^0x11b;for(var _0x46ed4f=0x0,_0x5379bd=0x0,_0x18d289=0x0;_0x18d289<0x100;_0x18d289++){var _0x101ea3=_0x5379bd^_0x5379bd<<0x1^_0x5379bd<<0x2^_0x5379bd<<0x3^_0x5379bd<<0x4;_0x101ea3=_0x101ea3>>>0x8^_0x101ea3&0xff^0x63,_0x4c0f01[_0x46ed4f]=_0x101ea3,_0x235bc2[_0x101ea3]=_0x46ed4f;var _0x2c75da=_0xf3d42c[_0x46ed4f],_0x379bad=_0xf3d42c[_0x2c75da],_0x4f6f94=_0xf3d42c[_0x379bad],_0xf70501=_0xf3d42c[_0x101ea3]*0x101^_0x101ea3*0x1010100;_0x10b6ec[_0x46ed4f]=_0xf70501<<0x18|_0xf70501>>>0x8,_0x44c340[_0x46ed4f]=_0xf70501<<0x10|_0xf70501>>>0x10,_0x1a8f6d[_0x46ed4f]=_0xf70501<<0x8|_0xf70501>>>0x18,_0x5162b0[_0x46ed4f]=_0xf70501;var _0xf70501=_0x4f6f94*0x1010101^_0x379bad*0x10001^_0x2c75da*0x101^_0x46ed4f*0x1010100;_0xa95b80[_0x101ea3]=_0xf70501<<0x18|_0xf70501>>>0x8,_0x175d0a[_0x101ea3]=_0xf70501<<0x10|_0xf70501>>>0x10,_0x190a1d[_0x101ea3]=_0xf70501<<0x8|_0xf70501>>>0x18,_0x2a2415[_0x101ea3]=_0xf70501,_0x46ed4f?(_0x46ed4f=_0x2c75da^_0xf3d42c[_0xf3d42c[_0xf3d42c[_0x4f6f94^_0x2c75da]]],_0x5379bd^=_0xf3d42c[_0xf3d42c[_0x5379bd]]):_0x46ed4f=_0x5379bd=0x1;}}());var _0x57d74f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5595dc=_0x1fd4a3[_0x9a728(0x21c)]=_0x3b2188['extend']({'_doReset':function(){var _0x313361=_0x9a728,_0x388b11;if(!(this[_0x313361(0x3c7)]&&this[_0x313361(0x47a)]===this[_0x313361(0x475)])){for(var _0xcab1b5=this['_keyPriorReset']=this[_0x313361(0x475)],_0x324d90=_0xcab1b5[_0x313361(0x456)],_0x531b2f=_0xcab1b5[_0x313361(0x2c5)]/0x4,_0x5b072e=this[_0x313361(0x3c7)]=_0x531b2f+0x6,_0x156396=(_0x5b072e+0x1)*0x4,_0x5bd8a8=this[_0x313361(0x28b)]=[],_0x18e1ee=0x0;_0x18e1ee<_0x156396;_0x18e1ee++)_0x18e1ee<_0x531b2f?_0x5bd8a8[_0x18e1ee]=_0x324d90[_0x18e1ee]:(_0x388b11=_0x5bd8a8[_0x18e1ee-0x1],_0x18e1ee%_0x531b2f?_0x531b2f>0x6&&_0x18e1ee%_0x531b2f==0x4&&(_0x388b11=_0x4c0f01[_0x388b11>>>0x18]<<0x18|_0x4c0f01[_0x388b11>>>0x10&0xff]<<0x10|_0x4c0f01[_0x388b11>>>0x8&0xff]<<0x8|_0x4c0f01[_0x388b11&0xff]):(_0x388b11=_0x388b11<<0x8|_0x388b11>>>0x18,_0x388b11=_0x4c0f01[_0x388b11>>>0x18]<<0x18|_0x4c0f01[_0x388b11>>>0x10&0xff]<<0x10|_0x4c0f01[_0x388b11>>>0x8&0xff]<<0x8|_0x4c0f01[_0x388b11&0xff],_0x388b11^=_0x57d74f[_0x18e1ee/_0x531b2f|0x0]<<0x18),_0x5bd8a8[_0x18e1ee]=_0x5bd8a8[_0x18e1ee-_0x531b2f]^_0x388b11);for(var _0x3b1283=this[_0x313361(0x199)]=[],_0x414542=0x0;_0x414542<_0x156396;_0x414542++){var _0x18e1ee=_0x156396-_0x414542;if(_0x414542%0x4)var _0x388b11=_0x5bd8a8[_0x18e1ee];else var _0x388b11=_0x5bd8a8[_0x18e1ee-0x4];_0x414542<0x4||_0x18e1ee<=0x4?_0x3b1283[_0x414542]=_0x388b11:_0x3b1283[_0x414542]=_0xa95b80[_0x4c0f01[_0x388b11>>>0x18]]^_0x175d0a[_0x4c0f01[_0x388b11>>>0x10&0xff]]^_0x190a1d[_0x4c0f01[_0x388b11>>>0x8&0xff]]^_0x2a2415[_0x4c0f01[_0x388b11&0xff]];}}},'encryptBlock':function(_0x22a9b8,_0x3d074b){var _0x285f2b=_0x9a728;this[_0x285f2b(0x3c0)](_0x22a9b8,_0x3d074b,this['_keySchedule'],_0x10b6ec,_0x44c340,_0x1a8f6d,_0x5162b0,_0x4c0f01);},'decryptBlock':function(_0x3e2cc3,_0x124905){var _0x127f46=_0x9a728,_0x3f83be=_0x3e2cc3[_0x124905+0x1];_0x3e2cc3[_0x124905+0x1]=_0x3e2cc3[_0x124905+0x3],_0x3e2cc3[_0x124905+0x3]=_0x3f83be,this[_0x127f46(0x3c0)](_0x3e2cc3,_0x124905,this[_0x127f46(0x199)],_0xa95b80,_0x175d0a,_0x190a1d,_0x2a2415,_0x235bc2);var _0x3f83be=_0x3e2cc3[_0x124905+0x1];_0x3e2cc3[_0x124905+0x1]=_0x3e2cc3[_0x124905+0x3],_0x3e2cc3[_0x124905+0x3]=_0x3f83be;},'_doCryptBlock':function(_0x561bf3,_0x31c6f2,_0x29a675,_0x1c19d5,_0x331704,_0x594050,_0xc06e8e,_0x5dce7c){var _0x1fa0df=_0x9a728;for(var _0xa0e77d=this[_0x1fa0df(0x3c7)],_0x4d25fe=_0x561bf3[_0x31c6f2]^_0x29a675[0x0],_0x51b269=_0x561bf3[_0x31c6f2+0x1]^_0x29a675[0x1],_0x39ceff=_0x561bf3[_0x31c6f2+0x2]^_0x29a675[0x2],_0x5ce1c6=_0x561bf3[_0x31c6f2+0x3]^_0x29a675[0x3],_0x52be7a=0x4,_0x501f9a=0x1;_0x501f9a<_0xa0e77d;_0x501f9a++){var _0xc23e51=_0x1c19d5[_0x4d25fe>>>0x18]^_0x331704[_0x51b269>>>0x10&0xff]^_0x594050[_0x39ceff>>>0x8&0xff]^_0xc06e8e[_0x5ce1c6&0xff]^_0x29a675[_0x52be7a++],_0x55036d=_0x1c19d5[_0x51b269>>>0x18]^_0x331704[_0x39ceff>>>0x10&0xff]^_0x594050[_0x5ce1c6>>>0x8&0xff]^_0xc06e8e[_0x4d25fe&0xff]^_0x29a675[_0x52be7a++],_0xa3b04c=_0x1c19d5[_0x39ceff>>>0x18]^_0x331704[_0x5ce1c6>>>0x10&0xff]^_0x594050[_0x4d25fe>>>0x8&0xff]^_0xc06e8e[_0x51b269&0xff]^_0x29a675[_0x52be7a++],_0x1e06d0=_0x1c19d5[_0x5ce1c6>>>0x18]^_0x331704[_0x4d25fe>>>0x10&0xff]^_0x594050[_0x51b269>>>0x8&0xff]^_0xc06e8e[_0x39ceff&0xff]^_0x29a675[_0x52be7a++];_0x4d25fe=_0xc23e51,_0x51b269=_0x55036d,_0x39ceff=_0xa3b04c,_0x5ce1c6=_0x1e06d0;}var _0xc23e51=(_0x5dce7c[_0x4d25fe>>>0x18]<<0x18|_0x5dce7c[_0x51b269>>>0x10&0xff]<<0x10|_0x5dce7c[_0x39ceff>>>0x8&0xff]<<0x8|_0x5dce7c[_0x5ce1c6&0xff])^_0x29a675[_0x52be7a++],_0x55036d=(_0x5dce7c[_0x51b269>>>0x18]<<0x18|_0x5dce7c[_0x39ceff>>>0x10&0xff]<<0x10|_0x5dce7c[_0x5ce1c6>>>0x8&0xff]<<0x8|_0x5dce7c[_0x4d25fe&0xff])^_0x29a675[_0x52be7a++],_0xa3b04c=(_0x5dce7c[_0x39ceff>>>0x18]<<0x18|_0x5dce7c[_0x5ce1c6>>>0x10&0xff]<<0x10|_0x5dce7c[_0x4d25fe>>>0x8&0xff]<<0x8|_0x5dce7c[_0x51b269&0xff])^_0x29a675[_0x52be7a++],_0x1e06d0=(_0x5dce7c[_0x5ce1c6>>>0x18]<<0x18|_0x5dce7c[_0x4d25fe>>>0x10&0xff]<<0x10|_0x5dce7c[_0x51b269>>>0x8&0xff]<<0x8|_0x5dce7c[_0x39ceff&0xff])^_0x29a675[_0x52be7a++];_0x561bf3[_0x31c6f2]=_0xc23e51,_0x561bf3[_0x31c6f2+0x1]=_0x55036d,_0x561bf3[_0x31c6f2+0x2]=_0xa3b04c,_0x561bf3[_0x31c6f2+0x3]=_0x1e06d0;},'keySize':0x100/0x20});_0x3ca5f0[_0x9a728(0x21c)]=_0x3b2188['_createHelper'](_0x5595dc);}()),_0x22ba04[_0x41e234(0x21c)];}));}(Ve)),Ve['exports'];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x119c4e(0x2f1)],ai;function Ms(){var _0x5f309e=_0x119c4e;return ai||(ai=0x1,function(_0x550b07,_0x6443c7){(function(_0x15907d,_0x1b21af){_0x550b07['exports']=_0x1b21af(ie());}(Ls,function(_0x394f2a){var _0x44b9e8=_0x5b09;return _0x394f2a['enc'][_0x44b9e8(0x27b)];}));}(Xe)),Xe[_0x5f309e(0x2f1)];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze[_0x119c4e(0x2f1)],oi;function Hs(){return oi||(oi=0x1,function(_0x4db8d6,_0x45204b){(function(_0x525624,_0x192f17){_0x4db8d6['exports']=_0x192f17(ie());}($s,function(_0x9e9358){var _0x214ccf=_0x5b09;return(function(){var _0x371355=_0x5b09;if(typeof ArrayBuffer==_0x371355(0x2d4)){var _0x344ba7=_0x9e9358,_0x11598a=_0x344ba7['lib'],_0x5d9d10=_0x11598a[_0x371355(0x3bc)],_0x6f7354=_0x5d9d10[_0x371355(0x344)],_0x341628=_0x5d9d10[_0x371355(0x344)]=function(_0x597962){var _0x54718d=_0x371355;if(_0x597962 instanceof ArrayBuffer&&(_0x597962=new Uint8Array(_0x597962)),(_0x597962 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x597962 instanceof Uint8ClampedArray||_0x597962 instanceof Int16Array||_0x597962 instanceof Uint16Array||_0x597962 instanceof Int32Array||_0x597962 instanceof Uint32Array||_0x597962 instanceof Float32Array||_0x597962 instanceof Float64Array)&&(_0x597962=new Uint8Array(_0x597962[_0x54718d(0x220)],_0x597962[_0x54718d(0x2f0)],_0x597962['byteLength'])),_0x597962 instanceof Uint8Array){for(var _0x230a4e=_0x597962[_0x54718d(0x3a0)],_0x3165a6=[],_0x46e534=0x0;_0x46e534<_0x230a4e;_0x46e534++)_0x3165a6[_0x46e534>>>0x2]|=_0x597962[_0x46e534]<<0x18-_0x46e534%0x4*0x8;_0x6f7354[_0x54718d(0x3d3)](this,_0x3165a6,_0x230a4e);}else _0x6f7354[_0x54718d(0x3d9)](this,arguments);};_0x341628['prototype']=_0x5d9d10;}}()),_0x9e9358[_0x214ccf(0x432)]['WordArray'];}));}(Ze)),Ze['exports'];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe['exports'],ci;function Vs(){var _0x1b7313=_0x119c4e;return ci||(ci=0x1,function(_0x217b4d,_0x15cb20){(function(_0x3736ce,_0x4bc601,_0x4afdea){_0x217b4d['exports']=_0x4bc601(ie(),Ai());}(Fs,function(_0x54eb69){var _0x1c7c61=_0x5b09;return _0x54eb69[_0x1c7c61(0x34e)][_0x1c7c61(0x307)]={'pad':function(){},'unpad':function(){}},_0x54eb69[_0x1c7c61(0x34e)][_0x1c7c61(0x307)];}));}(Qe)),Qe[_0x1b7313(0x2f1)];}var Gs=Vs();const Ws=He(Gs);function Ys(_0x321d2e,_0xb0ca61){var _0x1b685b=_0x119c4e;const _0x47615a=_0xb0ca61-_0x321d2e[_0x1b685b(0x1b1)]%_0xb0ca61,_0x39f1d8=String[_0x1b685b(0x469)](_0x47615a)[_0x1b685b(0x1b7)](_0x47615a);return _0x321d2e+_0x39f1d8;}function Ks(_0x2fb934,_0x5da080){var _0x18b6bf=_0x119c4e;const _0xcbbeb3=js[_0x18b6bf(0x348)](0x10),_0x443590=Ys(_0x2fb934,0x10),_0x251055=ws['encrypt'](ks[_0x18b6bf(0x356)](_0x443590),ri[_0x18b6bf(0x356)](_0x5da080),{'iv':_0xcbbeb3,'padding':Ws});return _0xcbbeb3[_0x18b6bf(0x2bd)](_0x251055['ciphertext'])[_0x18b6bf(0x1fd)](ri);}function qs(){var _0x3c9f72=_0x119c4e;const _0xf43a3d=_0x3e7920()[_0x3c9f72(0x30b)];if(_0xf43a3d){const _0x452b4f={'time':Math['floor'](Date[_0x3c9f72(0x274)]()/0x3e8),'domain':location[_0x3c9f72(0x1f4)]};return Ks(JSON[_0x3c9f72(0x19c)](_0x452b4f),_0xf43a3d);}}var zs=Object[_0x119c4e(0x442)],Js=(_0x4b5719,_0xa85bac,_0x2c6b6a,_0x555d85)=>{var _0x29ba13=_0x119c4e;for(var _0x84434d=_0x555d85>0x1?void 0x0:_0x555d85?zs(_0xa85bac,_0x2c6b6a):_0xa85bac,_0x12bc58=_0x4b5719[_0x29ba13(0x1b1)]-0x1,_0x1c8504;_0x12bc58>=0x0;_0x12bc58--)(_0x1c8504=_0x4b5719[_0x12bc58])&&(_0x84434d=_0x1c8504(_0x84434d)||_0x84434d);return _0x84434d;},Xs=(_0x1e727a,_0x31d277)=>(_0x3d2d21,_0x24b37b)=>_0x31d277(_0x3d2d21,_0x24b37b,_0x1e727a);let at=class{constructor(_0x49220b){var _0x2bb75e=_0x119c4e;this[_0x2bb75e(0x1db)]=_0x49220b,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x3059d7=_0x119c4e;this[_0x3059d7(0x1db)][_0x3059d7(0x415)]({'interceptor':(_0x5487ec,_0x27249a)=>{var _0x58b5cf=_0x3059d7;const _0x53ce8e=_0x5487ec['headers'],_0x166a05=qs();return _0x166a05&&_0x53ce8e[_0x58b5cf(0x26f)](_0x58b5cf(0x366),_0x166a05),_0x27249a(_0x5487ec);}});}};at=Js([Xs(0x0,_0x3092f1(_0x41022d))],at);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x6d7a61,_0x583234,_0x44c67d,_0x4db074)=>{var _0x8d5264=_0x119c4e;for(var _0x44e23f=_0x4db074>0x1?void 0x0:_0x4db074?Zs(_0x583234,_0x44c67d):_0x583234,_0x2747d8=_0x6d7a61[_0x8d5264(0x1b1)]-0x1,_0x2bc9d4;_0x2747d8>=0x0;_0x2747d8--)(_0x2bc9d4=_0x6d7a61[_0x2747d8])&&(_0x44e23f=_0x2bc9d4(_0x44e23f)||_0x44e23f);return _0x44e23f;},mt=(_0xbec741,_0x507dd0)=>(_0x349ef2,_0x1693bc)=>_0x507dd0(_0x349ef2,_0x1693bc,_0xbec741);let bt=class extends _0x5719da{constructor(_0x45fd78,_0x38cf93,_0x30cd6c){var _0x243717=_0x119c4e;super(),N(this,_0x243717(0x38c),new _0x1460ab(null)),N(this,'unitInfo$',this[_0x243717(0x38c)][_0x243717(0x317)]()),(this['_logService']=_0x45fd78,this[_0x243717(0x41c)]=_0x38cf93,this[_0x243717(0x324)]=_0x30cd6c);}async['loadUnit'](_0x3d461e,_0x3789c9,_0x1b167f){var _0x4a8ecc=_0x119c4e;this[_0x4a8ecc(0x38c)][_0x4a8ecc(0x1f1)]({'unitId':_0x3d461e,'type':_0x3789c9,'subUnitId':_0x1b167f});let _0x4e8188=null;switch(_0x3789c9){case Q[_0x4a8ecc(0x248)]:{_0x4e8188=await this[_0x4a8ecc(0x479)](_0x3d461e);break;}case Q[_0x4a8ecc(0x305)]:{_0x4e8188=await this[_0x4a8ecc(0x228)](_0x3d461e);break;}default:{this[_0x4a8ecc(0x3e0)][_0x4a8ecc(0x2dd)](_0x4a8ecc(0x2d0),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x4e8188;}async[_0x119c4e(0x479)](_0x18b117){var _0xb2c59=_0x119c4e,_0x145630;let _0x18965e=0x0;const _0x188ee2=await((_0x145630=this['_localCacheService'])==null?void 0x0:_0x145630[_0xb2c59(0x280)](_0x18b117));return _0x188ee2&&(_0x188ee2['awaitingChangeset']||_0x188ee2[_0xb2c59(0x264)][_0xb2c59(0x1b1)]!==0x0)&&(_0x18965e=_0x188ee2[_0xb2c59(0x35d)]),_0x18965e===0x0&&this[_0xb2c59(0x3e0)]['debug'](_0xb2c59(0x2d0),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xb2c59(0x41c)][_0xb2c59(0x1dc)](_0x18b117,_0x18965e);}async[_0x119c4e(0x228)](_0x55bb6e){var _0xc0830b=_0x119c4e,_0x123043;let _0x2cec75=0x0;const _0x4fd9f9=await((_0x123043=this[_0xc0830b(0x324)])==null?void 0x0:_0x123043[_0xc0830b(0x280)](_0x55bb6e));return _0x4fd9f9&&(_0x4fd9f9[_0xc0830b(0x412)]||_0x4fd9f9[_0xc0830b(0x264)]['length']!==0x0)&&(_0x2cec75=_0x4fd9f9[_0xc0830b(0x35d)]),_0x2cec75===0x0&&this[_0xc0830b(0x3e0)][_0xc0830b(0x213)](_0xc0830b(0x2d0),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xc0830b(0x41c)][_0xc0830b(0x3f9)](_0x55bb6e,_0x2cec75);}};bt=Qs([mt(0x0,_0x2bb065),mt(0x1,_0x3092f1(_0x8be566)),mt(0x2,_0x4240c6(J))],bt);var er=Object[_0x119c4e(0x442)],tr=(_0x1a46d0,_0x18386a,_0x265e04,_0x2d5ab0)=>{var _0x3c1049=_0x119c4e;for(var _0x531b0f=_0x2d5ab0>0x1?void 0x0:_0x2d5ab0?er(_0x18386a,_0x265e04):_0x18386a,_0x262b7f=_0x1a46d0[_0x3c1049(0x1b1)]-0x1,_0x376e02;_0x262b7f>=0x0;_0x262b7f--)(_0x376e02=_0x1a46d0[_0x262b7f])&&(_0x531b0f=_0x376e02(_0x531b0f)||_0x531b0f);return _0x531b0f;},gt=(_0x1816ca,_0xf8665b)=>(_0x1914cd,_0x3bc8e5)=>_0xf8665b(_0x1914cd,_0x3bc8e5,_0x1816ca);const ir=[_0x119c4e(0x435),_0x119c4e(0x394),_0x119c4e(0x42d),_0x119c4e(0x44c),'image/bmp'],nr=0x5*0x400*0x400,sr='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rr=_0x119c4e(0x232),ar=_0x119c4e(0x35c),or=_0x119c4e(0x252);let Ot=class{constructor(_0xbb556d,_0x597e4a,_0x37a06e){var _0x4a5f6a=_0x119c4e;N(this,_0x4a5f6a(0x399),0x0),N(this,_0x4a5f6a(0x2b7),new _0x170992()),N(this,_0x4a5f6a(0x449),this['_change$']),N(this,_0x4a5f6a(0x451),new Map()),(this[_0x4a5f6a(0x1db)]=_0xbb556d,this[_0x4a5f6a(0x1ce)]=_0x597e4a,this[_0x4a5f6a(0x2e0)]=_0x37a06e);}[_0x119c4e(0x3d1)](_0x400453){var _0x560a27=_0x119c4e;this[_0x560a27(0x399)]=_0x400453,this[_0x560a27(0x2b7)][_0x560a27(0x1f1)](_0x400453);}[_0x119c4e(0x310)](_0x40109b,_0x2a8d75){var _0x1512b3=_0x119c4e;if(_0x2a8d75===_0x510e66[_0x1512b3(0x3f6)]){const _0x30a29f=new Image();return _0x30a29f[_0x1512b3(0x1cd)]=_0x40109b,_0x30a29f;}return this[_0x1512b3(0x451)]['get'](_0x40109b);}['addImageSourceCache'](_0x40554e,_0x53e09f,_0x2a233e){var _0x20dd32=_0x119c4e;_0x53e09f===_0x510e66[_0x20dd32(0x3f6)]||_0x2a233e==null||this[_0x20dd32(0x451)][_0x20dd32(0x26f)](_0x40554e,_0x2a233e);}async[_0x119c4e(0x233)](_0x58d082){var _0x14f8ea=_0x119c4e;try{const _0x218fee=this['_replaceFileID'](this[_0x14f8ea(0x39d)](),''+_0x58d082),_0x11e253=(await this[_0x14f8ea(0x1db)][_0x14f8ea(0x3de)](_0x218fee))[_0x14f8ea(0x2c2)];if(_0x11e253[_0x14f8ea(0x2dd)]&&_0x11e253['error'][_0x14f8ea(0x3a4)]===Si['OK']){const _0x443c1c=new URL(_0x11e253['url'],this[_0x14f8ea(0x413)]())[_0x14f8ea(0x1fd)]();return Promise[_0x14f8ea(0x46b)](_0x443c1c);}return Promise[_0x14f8ea(0x464)](_0x11e253['error']);}catch(_0x6860d){return Promise[_0x14f8ea(0x464)](_0x6860d);}}async[_0x119c4e(0x2ef)](_0x33f97e){var _0x560125=_0x119c4e;let _0x4a0fa8='';if(!ir['includes'](_0x33f97e[_0x560125(0x3f5)]))return this[_0x560125(0x1c5)](),Promise[_0x560125(0x464)](new Error(_0x466f23['ERROR_IMAGE_TYPE']));if(_0x33f97e[_0x560125(0x2da)]>nr)return this[_0x560125(0x1c5)](),Promise[_0x560125(0x464)](new Error(_0x466f23[_0x560125(0x333)]));try{const _0x345487=new FormData();_0x345487[_0x560125(0x332)](_0x560125(0x2e6),_0x33f97e);const _0x277af3=this['_univerInstanceService'][_0x560125(0x32d)](),_0x9b649d=_0x277af3==null?void 0x0:_0x277af3[_0x560125(0x401)]();if(!_0x9b649d)throw new Error(_0x560125(0x1d0));const _0x22c9ac=this[_0x560125(0x261)]()+_0x560125(0x24f)+_0x33f97e['size'][_0x560125(0x1fd)]()+_0x560125(0x2d8)+Ei['UnitEmbedded']+'&assign='+encodeURIComponent(_0x9b649d),_0x27e7eb={'body':_0x345487},_0x88a51d=(await this[_0x560125(0x1db)][_0x560125(0x2cb)](_0x22c9ac,_0x27e7eb))[_0x560125(0x2c2)];if(typeof _0x88a51d[_0x560125(0x3c6)]!=_0x560125(0x388))return this[_0x560125(0x1c5)](),Promise[_0x560125(0x464)](new Error(_0x466f23['ERROR_IMAGE']));_0x4a0fa8=_0x88a51d[_0x560125(0x3c6)];}catch{return this[_0x560125(0x1c5)](),Promise[_0x560125(0x464)](new Error(_0x466f23[_0x560125(0x377)]));}return new Promise((_0x1da6aa,_0x56f470)=>{var _0x25aabe=_0x560125;const _0x5c1691=new FileReader();_0x5c1691[_0x25aabe(0x318)](_0x33f97e),_0x5c1691[_0x25aabe(0x1d9)]=_0x111afc=>{var _0x2169a3=_0x25aabe,_0x35eacf;const _0x1edb5a=(_0x35eacf=_0x111afc['target'])==null?void 0x0:_0x35eacf[_0x2169a3(0x240)];if(_0x1edb5a==null){this[_0x2169a3(0x1c5)](),_0x56f470(new Error(_0x466f23[_0x2169a3(0x377)]));return;}const _0x3f5974=_0x3c951a[_0x2169a3(0x1e6)](0x6);_0x1da6aa({'imageId':_0x3f5974,'imageSourceType':_0x510e66[_0x2169a3(0x30f)],'source':_0x4a0fa8,'base64Cache':_0x1edb5a,'status':_0x466f23[_0x2169a3(0x450)]}),this[_0x2169a3(0x1c5)]();};});}[_0x119c4e(0x261)](){var _0x24b2eb=_0x119c4e,_0x4016a4,_0x1e9df3;const _0x2ee2d3=this[_0x24b2eb(0x1ce)][_0x24b2eb(0x37c)](sr),_0xfd4f4a=this[_0x24b2eb(0x1ce)][_0x24b2eb(0x37c)](q);return(_0x1e9df3=(_0x4016a4=_0xfd4f4a==null?void 0x0:_0xfd4f4a[_0x24b2eb(0x1e8)])!=null?_0x4016a4:_0x2ee2d3)!=null?_0x1e9df3:rr;}[_0x119c4e(0x39d)](){var _0x469c7e=_0x119c4e,_0x13ade3,_0x341ba3;const _0x42a6c7=this[_0x469c7e(0x1ce)][_0x469c7e(0x37c)](ar),_0x531a84=this['_configService']['getConfig'](q);return(_0x341ba3=(_0x13ade3=_0x531a84==null?void 0x0:_0x531a84[_0x469c7e(0x434)])!=null?_0x13ade3:_0x42a6c7)!=null?_0x341ba3:or;}[_0x119c4e(0x413)](){var _0x23d447=_0x119c4e,_0x556afa;const _0x56c4ae=this['_configService']['getConfig'](q);return(_0x556afa=_0x56c4ae==null?void 0x0:_0x56c4ae['downloadEndpointUrl'])!=null?_0x556afa:location[_0x23d447(0x3ac)];}[_0x119c4e(0x29b)](_0x1686b7,_0x29b03c){var _0x521968=_0x119c4e;return _0x1686b7[_0x521968(0x1eb)](_0x521968(0x468),_0x29b03c);}[_0x119c4e(0x1c5)](){var _0x151308=_0x119c4e;this[_0x151308(0x399)]-=0x1,this[_0x151308(0x2b7)][_0x151308(0x1f1)](this[_0x151308(0x399)]);}};Ot=tr([gt(0x0,_0x3092f1(_0x41022d)),gt(0x1,_0xf8b865),gt(0x2,_0x3092f1(_0x1568a3))],Ot);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x46dfb2,_0x18ef4d,_0x2811ee,_0x8f621)=>{var _0x10ad4f=_0x119c4e;for(var _0x31cfd4=_0x8f621>0x1?void 0x0:_0x8f621?cr(_0x18ef4d,_0x2811ee):_0x18ef4d,_0x5cfd6a=_0x46dfb2[_0x10ad4f(0x1b1)]-0x1,_0x413899;_0x5cfd6a>=0x0;_0x5cfd6a--)(_0x413899=_0x46dfb2[_0x5cfd6a])&&(_0x31cfd4=_0x413899(_0x31cfd4)||_0x31cfd4);return _0x31cfd4;},hi=(_0x2e1459,_0x5de72d)=>(_0x5acb1a,_0x34ddca)=>_0x5de72d(_0x5acb1a,_0x34ddca,_0x2e1459);const _r='/universer-api/authz';let yt=class{constructor(_0xd1e271,_0x196eeb){var _0x471ce6=_0x119c4e;this[_0x471ce6(0x1ce)]=_0xd1e271,this[_0x471ce6(0x285)]=_0x196eeb;}[_0x119c4e(0x209)](){var _0x52b74a=_0x119c4e,_0x4a7e35,_0x4da1c9;const _0x531bf1=this[_0x52b74a(0x1ce)][_0x52b74a(0x37c)](Ni),_0x4cc2a7=this[_0x52b74a(0x1ce)][_0x52b74a(0x37c)](q);return(_0x4da1c9=(_0x4a7e35=_0x4cc2a7==null?void 0x0:_0x4cc2a7[_0x52b74a(0x20c)])!=null?_0x4a7e35:_0x531bf1)!=null?_0x4da1c9:_r;}async[_0x119c4e(0x2a4)](_0x508e29){var _0x5f1f12=_0x119c4e;const _0x5033c4=this[_0x5f1f12(0x209)]()+_0x5f1f12(0x2c9);return{'list':[{'title':_0x5f1f12(0x384),'mentions':(await this[_0x5f1f12(0x285)][_0x5f1f12(0x3de)](_0x5033c4,{'params':{'objectID':_0x508e29[_0x5f1f12(0x45b)],'unitID':_0x508e29[_0x5f1f12(0x45b)]}}))[_0x5f1f12(0x2c2)][_0x5f1f12(0x20e)][_0x5f1f12(0x1a1)](_0x134e65=>({'objectId':_0x134e65['id'],'name':_0x134e65[_0x5f1f12(0x41e)]['name'],'metadata':{'icon':_0x134e65[_0x5f1f12(0x41e)]['avatar']},'label':_0x134e65[_0x5f1f12(0x41e)][_0x5f1f12(0x2b4)],'objectType':_0x53040c[_0x5f1f12(0x416)]})),'metadata':{},'type':_0x53040c[_0x5f1f12(0x416)]}]};}};yt=hr([hi(0x0,_0x3092f1(_0xf8b865)),hi(0x1,_0x3092f1(_0x41022d))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x296a90,_0x44bc08,_0x5c0c63,_0xeeb42e)=>{for(var _0x16acc8=_0xeeb42e>0x1?void 0x0:_0xeeb42e?lr(_0x44bc08,_0x5c0c63):_0x44bc08,_0x35adfc=_0x296a90['length']-0x1,_0x122c67;_0x35adfc>=0x0;_0x35adfc--)(_0x122c67=_0x296a90[_0x35adfc])&&(_0x16acc8=_0x122c67(_0x16acc8)||_0x16acc8);return _0x16acc8;},we=(_0x36d494,_0x30ea15)=>(_0x24f3c8,_0x46e4c9)=>_0x30ea15(_0x24f3c8,_0x46e4c9,_0x36d494);let ot=class extends _0x5719da{constructor(_0x9ee17b,_0x2600be,_0x162ad7,_0x174828,_0x5451c8){var _0x887d30=_0x119c4e;super(),this[_0x887d30(0x3f3)]=_0x9ee17b,this[_0x887d30(0x2e0)]=_0x2600be,this[_0x887d30(0x45d)]=_0x162ad7,this[_0x887d30(0x302)]=_0x174828,this['_collaborationUIEventService']=_0x5451c8,this[_0x887d30(0x1a7)](),this['_initCloseConn']();}[_0x119c4e(0x417)](){var _0x542eb0=_0x119c4e;const _0xda430a=async _0x14d8f6=>{var _0x828604=_0x5b09;(await this['_collaborationSessionService'][_0x828604(0x41f)](_0x14d8f6))[_0x828604(0x44a)][_0x828604(0x46c)](_0x185a7d(_0xb2cf9e=>_0xb2cf9e['eventID']===_0x58780b[_0x828604(0x3b0)]),_0x5a527c(this[_0x828604(0x354)]))[_0x828604(0x253)](_0x318445=>{var _0x330c43=_0x828604;const _0x1f81a5=_0x318445,{reason:_0x3c790a}=_0x1f81a5[_0x330c43(0x249)];this[_0x330c43(0x1ba)][_0x330c43(0x45e)]({'id':re[_0x330c43(0x496)],'data':_0x3c790a}),this[_0x330c43(0x45d)][_0x330c43(0x425)](new _0x3e469f(_0x14d8f6)['id'],!0x1),this['_collaborationSessionService'][_0x330c43(0x245)](_0x14d8f6);});};_0x1b41bd(this[_0x542eb0(0x2e0)][_0x542eb0(0x422)](_0x311465['UNIVER_SHEET']),this[_0x542eb0(0x2e0)]['getTypeOfUnitAdded$'](_0x311465[_0x542eb0(0x305)]))[_0x542eb0(0x46c)](_0x162c30(_0x38bb4e=>_0x38bb4e[_0x542eb0(0x401)]()),_0x185a7d(_0xb401df=>!_0x3af233(_0xb401df)),_0x5a527c(this['dispose$']))['subscribe'](_0x5171f7=>{_0xda430a(_0x5171f7);});}[_0x119c4e(0x1a7)](){var _0x4a6e03=_0x119c4e;const _0x362291=async _0xc3663e=>{var _0x593a31=_0x5b09;const _0x576355=await this[_0x593a31(0x302)][_0x593a31(0x41f)](_0xc3663e),_0x44f836=this['_injector'][_0x593a31(0x3de)](_0x2a053d);_0x576355[_0x593a31(0x44a)][_0x593a31(0x46c)](_0x185a7d(_0xd2e696=>_0xd2e696['eventID']===_0x58780b['UPDATE_PERMISSION_OBJ']),_0x5a527c(this[_0x593a31(0x354)]))[_0x593a31(0x253)](_0x612673=>{var _0x2aef27=_0x593a31;const _0x35fb5c=_0x612673,{objectId:_0x37603a}=_0x35fb5c[_0x2aef27(0x249)];_0x37603a===_0xc3663e?_0x44f836[_0x2aef27(0x3e6)](_0xc3663e):_0x44f836[_0x2aef27(0x284)](_0xc3663e,_0x37603a);});};_0x1b41bd(this['_univerInstanceService'][_0x4a6e03(0x422)](_0x311465[_0x4a6e03(0x248)]))[_0x4a6e03(0x46c)](_0x162c30(_0x3824d3=>_0x3824d3[_0x4a6e03(0x401)]()),_0x185a7d(_0x3bb4e0=>!_0x3af233(_0x3bb4e0)),_0x5a527c(this['dispose$']))[_0x4a6e03(0x253)](_0x48aa75=>{_0x362291(_0x48aa75);});}};ot=ur([we(0x0,_0x3092f1(_0x171255)),we(0x1,_0x1568a3),we(0x2,_0x2519f2),we(0x3,_0x3092f1(Me)),we(0x4,_0x3092f1(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0xd7c968,_0x390ecf,_0x3807f1,_0x5da01e)=>{var _0x1006b0=_0x119c4e;for(var _0x346886=_0x5da01e>0x1?void 0x0:_0x5da01e?dr(_0x390ecf,_0x3807f1):_0x390ecf,_0x537761=_0xd7c968[_0x1006b0(0x1b1)]-0x1,_0x50116e;_0x537761>=0x0;_0x537761--)(_0x50116e=_0xd7c968[_0x537761])&&(_0x346886=_0x50116e(_0x346886)||_0x346886);return _0x346886;},_i=(_0x36d69b,_0x108ebd)=>(_0x5d3b98,_0x33d962)=>_0x108ebd(_0x5d3b98,_0x33d962,_0x36d69b);let Nt=class{constructor(_0x151632,_0x4bf6d3){var _0x556f28=_0x119c4e;this[_0x556f28(0x1ce)]=_0x151632,this['_httpService']=_0x4bf6d3;}async[_0x119c4e(0x1b9)](_0x2b2a88,_0x4aa69c){var _0x2819da=_0x119c4e,_0x2a64ed;const {unitID:_0x44738b,type:_0x3fb20f,revision:_0x49039c=0x0}=_0x4aa69c,_0x3768d4=this[_0x2819da(0x216)]()+'/'+_0x3fb20f+'/unit/'+_0x44738b+_0x2819da(0x340)+_0x49039c,_0x4d5e12=(await this[_0x2819da(0x1db)][_0x2819da(0x3de)](_0x3768d4))[_0x2819da(0x2c2)],_0x4499fb=(_0x2a64ed=_0x4d5e12[_0x2819da(0x461)])==null?void 0x0:_0x2a64ed[_0x2819da(0x37a)];if(_0x4499fb){const _0x525332=_0x4499fb==null?void 0x0:_0x4499fb[_0x2819da(0x33a)],_0x223125=_0x460323[_0x2819da(0x436)](_0x2a31f3(_0x525332));_0x4499fb['originalMeta']=_0x223125,Object['entries'](_0x4499fb[_0x2819da(0x1b3)])[_0x2819da(0x35e)](([,_0x8e0eb4])=>{var _0x15bb3e=_0x2819da;const _0x1d2292=_0x8e0eb4[_0x15bb3e(0x33a)],_0xab0903=_0x460323[_0x15bb3e(0x436)](_0x2a31f3(_0x1d2292));_0x8e0eb4[_0x15bb3e(0x33a)]=_0xab0903;});}return _0x4d5e12;}async['getSheetBlock'](_0x10b219,_0xfaaca8){var _0x40fa53=_0x119c4e;const {unitID:_0x29b390,type:_0x40a6f5,blockID:_0x37963a}=_0xfaaca8,_0x471d49=this[_0x40fa53(0x1d1)]()+'/'+_0x40a6f5+'/unit/'+_0x29b390+_0x40fa53(0x407)+_0x37963a;return(await this[_0x40fa53(0x1db)][_0x40fa53(0x3de)](_0x471d49))[_0x40fa53(0x2c2)];}async['getDeserializedSheetBlock'](_0x40189f,_0x458fbb){var _0x392205=_0x119c4e;const {unitID:_0x3f07df,type:_0x369b7c,blockID:_0x1eaf6e}=_0x458fbb,_0x281074=this['_getAPIPrefix']()+'/block/'+_0x369b7c+'/unit/'+_0x3f07df+_0x392205(0x407)+_0x1eaf6e;return(await this[_0x392205(0x1db)][_0x392205(0x3de)](_0x281074))[_0x392205(0x2c2)];}async[_0x119c4e(0x404)](_0x1f5da1,_0x5efb79){var _0x5c2024=_0x119c4e;const {unitID:_0x1cb8b8,type:_0x39d70b,from:_0x1c6df0,to:_0x21acc5}=_0x5efb79,_0x18a9fd=this[_0x5c2024(0x1d1)]()+'/'+_0x39d70b+_0x5c2024(0x316)+_0x1cb8b8+_0x5c2024(0x1ca)+_0x1c6df0+_0x5c2024(0x2fd)+_0x21acc5;return(await this[_0x5c2024(0x1db)]['get'](_0x18a9fd))[_0x5c2024(0x2c2)];}['getSnapshotAPIPath'](){var _0x33228d=_0x119c4e,_0x5e9c2b;return(_0x5e9c2b=this[_0x33228d(0x1ce)][_0x33228d(0x37c)](Sn))!=null?_0x5e9c2b:this[_0x33228d(0x1d1)]();}[_0x119c4e(0x1d1)](){var _0x2db56c=_0x119c4e,_0x2733db,_0x5304d2;const _0x2a061a=this['_configService'][_0x2db56c(0x37c)](mn),_0x308504=this[_0x2db56c(0x1ce)][_0x2db56c(0x37c)](q);return(_0x5304d2=(_0x2733db=_0x308504==null?void 0x0:_0x308504[_0x2db56c(0x22a)])!=null?_0x2733db:_0x2a061a)!=null?_0x5304d2:gn;}async['getResourcesRequest'](_0xafae77,_0xe97e36){var _0x1249db=_0x119c4e;const _0x1c26a7='/universer-api/snapshot/'+_0xe97e36[_0x1249db(0x3f5)]+_0x1249db(0x316)+_0xe97e36[_0x1249db(0x3c9)]+_0x1249db(0x2d6);return(await this['_httpService']['get'](_0x1c26a7,{'params':{'resourceId':JSON[_0x1249db(0x19c)](_0xe97e36['resourceIDs'])}}))['body'];}[_0x119c4e(0x299)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x119c4e(0x3ff)](){var _0x314cf1=_0x119c4e;throw new Error(_0x314cf1(0x41a));}[_0x119c4e(0x36c)](){var _0x3c9b35=_0x119c4e;throw new Error(_0x3c9b35(0x41a));}['getLatestCsReqIdBySid'](){var _0x49aabc=_0x119c4e;throw new Error(_0x49aabc(0x41a));}};Nt=fr([_i(0x0,_0xf8b865),_i(0x1,_0x3092f1(_0x41022d))],Nt);var vr=Object[_0x119c4e(0x442)],pr=(_0x4556f8,_0x4a0709,_0xac98ac,_0x543ea8)=>{var _0x1c783d=_0x119c4e;for(var _0x13519e=_0x543ea8>0x1?void 0x0:_0x543ea8?vr(_0x4a0709,_0xac98ac):_0x4a0709,_0x41782a=_0x4556f8[_0x1c783d(0x1b1)]-0x1,_0x4e7a2b;_0x41782a>=0x0;_0x41782a--)(_0x4e7a2b=_0x4556f8[_0x41782a])&&(_0x13519e=_0x4e7a2b(_0x13519e)||_0x13519e);return _0x13519e;},Pe=(_0x5286df,_0x26670f)=>(_0x173a35,_0x4917d7)=>_0x26670f(_0x173a35,_0x4917d7,_0x5286df);let Dt=class extends _0x296dc0{constructor(_0x4f1f18,_0x436d19,_0xec75fd,_0x4d5335,_0x5ec5d6){var _0x5b4c2a=_0x119c4e;super(_0x4f1f18,_0x436d19,_0xec75fd),this[_0x5b4c2a(0x3aa)]=_0x4d5335,this['_logService']=_0x5ec5d6;}[_0x119c4e(0x338)](_0x44450b,_0x912b86){var _0x491aa2=_0x119c4e;const _0x5ed538=this[_0x491aa2(0x3da)](_0x44450b);if(_0x5ed538)try{const _0x48eebf=this[_0x491aa2(0x1c0)](_0x5ed538,_0x912b86);this[_0x491aa2(0x292)](_0x44450b,_0x48eebf);}catch(_0x1a71dd){this[_0x491aa2(0x3e0)][_0x491aa2(0x2dd)](_0x491aa2(0x337),_0x1a71dd),this[_0x491aa2(0x400)](_0x44450b);}const _0x2286be=this[_0x491aa2(0x3d4)](_0x44450b);if(_0x2286be)try{const _0x109f0d=this[_0x491aa2(0x1c0)](_0x2286be,_0x912b86);this[_0x491aa2(0x45a)](_0x44450b,_0x109f0d);}catch(_0x310676){this['_logService'][_0x491aa2(0x2dd)](_0x310676),this[_0x491aa2(0x395)](_0x44450b);}}[_0x119c4e(0x400)](_0x58dabc){var _0x563bb0=_0x119c4e;const _0x384ae3=this[_0x563bb0(0x3da)](_0x58dabc);_0x384ae3&&(_0x384ae3['length']=0x0,this[_0x563bb0(0x40a)]());}[_0x119c4e(0x395)](_0x5ce738){var _0x431808=_0x119c4e;const _0x457ef1=this[_0x431808(0x3d4)](_0x5ce738);_0x457ef1&&(_0x457ef1[_0x431808(0x1b1)]=0x0,this[_0x431808(0x40a)]());}[_0x119c4e(0x292)](_0x556463,_0x4ea69a){var _0x31e2db=_0x119c4e;this['_undoStacks'][_0x31e2db(0x26f)](_0x556463,_0x4ea69a),this[_0x31e2db(0x40a)]();}['_substituteRedoStack'](_0x10c9c0,_0x3879a8){var _0x3684e0=_0x119c4e;this[_0x3684e0(0x1df)][_0x3684e0(0x26f)](_0x10c9c0,_0x3879a8),this['_updateStatus']();}['_transformStack'](_0xdd47b8,_0x59938a){var _0xb04e95=_0x119c4e;const _0x48fb89=[];let _0x39b817=_0x59938a,_0x42be7b=_0x59938a;for(let _0x195f11=_0xdd47b8[_0xb04e95(0x1b1)]-0x1;_0x195f11>=0x0;_0x195f11--){const {unitID:_0x141253,undoMutations:_0x38af44,redoMutations:_0x2f76a6}=_0xdd47b8[_0x195f11],_0x5b74ea=this[_0xb04e95(0x3aa)]['transformMutationsWithChangeset'](_0x39b817,_0x38af44),_0x52119b=this['_transformService'][_0xb04e95(0x489)](_0x42be7b,_0x2f76a6);if(_0x50761b(_0x5b74ea)||_0x50761b(_0x52119b)){this['_logService']['error']('[CollaborationUndoRedoService]',_0xb04e95(0x2f6),_0x5b74ea,_0x52119b);break;}_0x39b817=_0x5b74ea['c1Prime'],_0x42be7b=_0x52119b[_0xb04e95(0x207)],_0x48fb89[_0xb04e95(0x365)]({'unitID':_0x141253,'undoMutations':_0x5b74ea[_0xb04e95(0x241)],'redoMutations':_0x52119b[_0xb04e95(0x241)]});}return _0x48fb89[_0xb04e95(0x283)]();}};Dt=pr([Pe(0x0,_0x1568a3),Pe(0x1,_0x5e65df),Pe(0x2,_0x30b39e),Pe(0x3,_0x55135c),Pe(0x4,_0x2bb065)],Dt);var mr=Object[_0x119c4e(0x204)],gr=Object[_0x119c4e(0x442)],Sr=(_0x110241,_0x3ad465,_0x128db1)=>_0x3ad465 in _0x110241?mr(_0x110241,_0x3ad465,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x128db1}):_0x110241[_0x3ad465]=_0x128db1,Er=(_0x3fc822,_0x46de3f,_0x539b67,_0x45e4bf)=>{var _0x1305ce=_0x119c4e;for(var _0x391d6d=_0x45e4bf>0x1?void 0x0:_0x45e4bf?gr(_0x46de3f,_0x539b67):_0x46de3f,_0xb87d5f=_0x3fc822[_0x1305ce(0x1b1)]-0x1,_0x560d1b;_0xb87d5f>=0x0;_0xb87d5f--)(_0x560d1b=_0x3fc822[_0xb87d5f])&&(_0x391d6d=_0x560d1b(_0x391d6d)||_0x391d6d);return _0x391d6d;},St=(_0x40798c,_0x29c869)=>(_0x53de81,_0x96d30e)=>_0x29c869(_0x53de81,_0x96d30e,_0x40798c),Ir=(_0x4b4076,_0x252906,_0x29edb5)=>Sr(_0x4b4076,_0x252906+'',_0x29edb5);const Tr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x33dbf1{constructor(_0x4ddd34,_0x51e7b1,_0x536f5f,_0x269d58){var _0x407de2=_0x119c4e;super(),N(this,_0x407de2(0x211)),(this[_0x407de2(0x3e0)]=_0x51e7b1,this[_0x407de2(0x3f3)]=_0x536f5f,this[_0x407de2(0x1ce)]=_0x269d58);const {..._0x3c7303}=_0x3a49a7({},wn,_0x4ddd34);if(!_0x3c7303['socketService'])throw new Error(_0x407de2(0x3c5));this[_0x407de2(0x211)]=_0x3c7303,this[_0x407de2(0x1ce)][_0x407de2(0x3e2)](q,_0x3c7303);}['onStarting'](){var _0xa3cc89=_0x119c4e;this[_0xa3cc89(0x2ac)](),this['_initDependencies']();}['_registerDependencies'](){var _0x4664d1=_0x119c4e,_0x49c96d,_0x401998;this[_0x4664d1(0x3f3)][_0x4664d1(0x3a7)](_0x52eb5a)&&this[_0x4664d1(0x3e0)]['error'](_0x4664d1(0x46a),_0x4664d1(0x313));const _0x4b6837=_0x3321d9([[_0x52eb5a,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x4664d1(0x211)][_0x4664d1(0x19e)]}],[_0x2b0636,{'useClass':Nt}],[_0x253efd,{'useClass':Rt}],[_0x2cb7b8,{'useClass':Ot}],[_0x51b7f5,{'useClass':yt}],[st],[Ct]],(_0x49c96d=this[_0x4664d1(0x211)])==null?void 0x0:_0x49c96d[_0x4664d1(0x19d)]);if(!((_0x401998=this[_0x4664d1(0x211)])!=null&&_0x401998[_0x4664d1(0x2a8)])){const _0xdb2d2=_0x4b6837[_0x4664d1(0x47d)](([_0x1cc7b0])=>_0x1cc7b0===ht);_0xdb2d2!==-0x1&&_0x4b6837['splice'](_0xdb2d2,0x1);}_0x515666(this['_injector'],_0x4b6837);}[_0x119c4e(0x37b)](){var _0x448ee9=_0x119c4e,_0x52b57c,_0xfb1123,_0x27d498;this[_0x448ee9(0x3f3)]['get'](_0x41022d)[_0x448ee9(0x415)]({'priority':0x14,'interceptor':_0x23581e({'maxParallel':0x6})}),(_0x52b57c=this[_0x448ee9(0x211)])!=null&&_0x52b57c[_0x448ee9(0x34a)]||(_0xfb1123=this[_0x448ee9(0x3f3)][_0x448ee9(0x3de)](J,_0x1b2561['OPTIONAL']))==null||_0xfb1123[_0x448ee9(0x352)](),(_0x27d498=this[_0x448ee9(0x211)])!=null&&_0x27d498[_0x448ee9(0x260)]&&_0x6d649d(this[_0x448ee9(0x3f3)],[[rt]]),_0x6d649d(this['_injector'],[[at],[st],[ot]]);}};Ir(Ut,_0x119c4e(0x43a),Tr),Ut=Er([_0x52dba9(_0x31395c,_0x6faa9b),St(0x1,_0x2bb065),St(0x2,_0x3092f1(_0x171255)),St(0x3,_0xf8b865)],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,Me 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,Mr 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,xr 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,Mn as serializeCombRequest};
1
+ var _0x927f58=_0x4d02;(function(_0x2a2304,_0x545504){var _0x38e33e=_0x4d02,_0x1bb215=_0x2a2304();while(!![]){try{var _0x4f429f=parseInt(_0x38e33e(0x398))/0x1*(parseInt(_0x38e33e(0x292))/0x2)+parseInt(_0x38e33e(0x199))/0x3+-parseInt(_0x38e33e(0x2eb))/0x4+parseInt(_0x38e33e(0x38c))/0x5*(parseInt(_0x38e33e(0x237))/0x6)+parseInt(_0x38e33e(0x304))/0x7*(-parseInt(_0x38e33e(0x35c))/0x8)+-parseInt(_0x38e33e(0x2c0))/0x9+-parseInt(_0x38e33e(0x289))/0xa;if(_0x4f429f===_0x545504)break;else _0x1bb215['push'](_0x1bb215['shift']());}catch(_0x5c4531){_0x1bb215['push'](_0x1bb215['shift']());}}}(_0x5f45,0xe0431));var wi=Object[_0x927f58(0x9e)],Pi=(_0x1f7447,_0x30e83a,_0x3eaaf7)=>_0x30e83a in _0x1f7447?wi(_0x1f7447,_0x30e83a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3eaaf7}):_0x1f7447[_0x30e83a]=_0x3eaaf7,N=(_0x327679,_0x40fe14,_0x37939a)=>Pi(_0x327679,typeof _0x40fe14!=_0x927f58(0x1e1)?_0x40fe14+'':_0x40fe14,_0x37939a);import{createIdentifier as _0x48c3c7,Inject as _0x316925,Injector as _0x16154a,IConfigService as _0x426a21,ILogService as _0x57fa1f,Disposable as _0x5ef667,DisposableCollection as _0x4fb7d3,toDisposable as _0x1937b9,IUniverInstanceService as _0x794611,UserManagerService as _0x1814fb,UniverInstanceType as _0x176541,LocaleService as _0xb7ab,Optional as _0x37f2ff,RxDisposable as _0x7c0126,Tools as _0x42a6f5,Rectangle as _0x30de66,ICommandService as _0x17cbb8,JSONX as _0x1c064b,CommandType as _0x33408f,IUndoRedoService as _0x14a9c2,IPermissionService as _0x335c65,sequenceExecute as _0x47d228,Workbook as _0x5c076f,MentionType as _0x373213,isInternalEditorID as _0xe2c40a,LocalUndoRedoService as _0xdbecd,IContextService as _0x5b85e0,DependentOn as _0x4a2454,Plugin as _0x407339,merge as _0x2691f2,mergeOverrideWithDependencies as _0x29f8c6,IAuthzIoService as _0x3af838,IMentionIOService as _0x2a8b79,registerDependencies as _0x5cbc49,Quantity as _0x54d715,touchDependencies as _0x55f71d}from'@univerjs/core';import{Subject as _0x197ead,merge as _0x27f765,of as _0x58f773,BehaviorSubject as _0x36f592,takeUntil as _0x37a23d,ReplaySubject as _0x1fc119,take as _0x25840c,map as _0x5d2c9c,shareReplay as _0x2a5fde,firstValueFrom as _0x37f97b,concatMap as _0x2349d8}from'rxjs';import{map as _0x48b24a,take as _0x5d008d,filter as _0x151f09,delay as _0x4d3355,takeUntil as _0x13433a}from'rxjs/operators';import{CollaborationEvent as _0x5aa101,ISnapshotServerService as _0x310176,parseChangesetToProtocol as _0x497117,ITransformService as _0x3a621c,isTransformMutationsWithChangesetSuccess as _0x31b29a,mapDocumentTypeToUniverType as _0x474ffd,RevisionService as _0x47f2cf,isTransformChangesetsSuccess as _0x298316,CompressMutationService as _0x258d6c,parseProtocolChangeset as _0x15c78a,SnapshotService as _0x272c9e,textEncoder as _0x103640,b64DecodeUnicode as _0x4ef1ed,isTransformMutationsWithChangesetFailure as _0x39a219,UniverCollaborationPlugin as _0x7f78e8}from'@univerjs-pro/collaboration';import{HTTPService as _0x2c3bc5,ISocketService as _0x3d6afb,MergeInterceptorFactory as _0x56c693,HTTPRequest as _0xcf1dc4,UniverNetworkPlugin as _0x502556,ThresholdInterceptorFactory as _0x1de4e0}from'@univerjs/network';import{ITelemetryService as _0x52e595}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x4366cc}from'@univerjs/docs';import{SheetsSelectionsService as _0x4a7f04,SetSelectionsOperation as _0x27093f,InsertSheetMutation as _0x2d8f21,EmptyMutation as _0x327294,WorkbookEditablePermission as _0x3f9a73,SheetPermissionInitController as _0x367c61}from'@univerjs/sheets';import{ImageSourceType as _0x3a6602,ImageUploadStatusType as _0x4608d3,IImageIoService as _0x4d7f88}from'@univerjs/drawing';import{getGlobalObject as _0x1741ef}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0x927f58(0x1ce),Sn=_0x927f58(0xad),Lr=_0x927f58(0x2a3),En=0x7d0,In='COLLAB_WEB_SOCKET_URL',Tn=_0x927f58(0x34d),Mr=_0x927f58(0x367),Cn=_0x927f58(0x253),Rn=0x7530,mi=_0x927f58(0x152),gi=0x4e20,bn=0x4e20,On=_0x927f58(0x1de),yn=0x3,xr='LOCAL_CACHE_INTERVAL',kr=0x3e8,Nn=_0x927f58(0x154),Dn=_0x927f58(0x2de),Un='LOGIN_URL_KEY',An=_0x927f58(0x180),$r='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hr=_0x927f58(0x38f);var Si=(_0x187e2e=>(_0x187e2e[_0x187e2e[_0x927f58(0x210)]=0x0]=_0x927f58(0x210),_0x187e2e[_0x187e2e['OK']=0x1]='OK',_0x187e2e[_0x187e2e['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x187e2e[_0x187e2e[_0x927f58(0xb8)]=0x3]='PERMISSION_DENIED',_0x187e2e[_0x187e2e[_0x927f58(0x125)]=0x4]=_0x927f58(0x125),_0x187e2e[_0x187e2e[_0x927f58(0x35b)]=0x5]=_0x927f58(0x35b),_0x187e2e[_0x187e2e[_0x927f58(0x38b)]=0x6]=_0x927f58(0x38b),_0x187e2e[_0x187e2e[_0x927f58(0x347)]=0x7]=_0x927f58(0x347),_0x187e2e[_0x187e2e['TOO_MANY_REQUESTS']=0x8]=_0x927f58(0xa7),_0x187e2e[_0x187e2e[_0x927f58(0xeb)]=0x9]='COMPLETION_FINISHED',_0x187e2e[_0x187e2e[_0x927f58(0x17e)]=0xa]=_0x927f58(0x17e),_0x187e2e[_0x187e2e[_0x927f58(0x192)]=0x1389]=_0x927f58(0x192),_0x187e2e[_0x187e2e[_0x927f58(0x28b)]=0x1771]=_0x927f58(0x28b),_0x187e2e[_0x187e2e[_0x927f58(0x343)]=0x1772]=_0x927f58(0x343),_0x187e2e[_0x187e2e[_0x927f58(0x1d1)]=0x1773]=_0x927f58(0x1d1),_0x187e2e[_0x187e2e['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x187e2e[_0x187e2e[_0x927f58(0x27c)]=0x1b5a]=_0x927f58(0x27c),_0x187e2e[_0x187e2e[_0x927f58(0x39a)]=0x1b5b]=_0x927f58(0x39a),_0x187e2e[_0x187e2e[_0x927f58(0x252)]=0x1b5c]=_0x927f58(0x252),_0x187e2e[_0x187e2e['APPLY_DUPLICATED']=0x1b5d]=_0x927f58(0x117),_0x187e2e[_0x187e2e['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x927f58(0xb0),_0x187e2e[_0x187e2e[_0x927f58(0x349)]=0x2329]=_0x927f58(0x349),_0x187e2e[_0x187e2e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x927f58(0xfc),_0x187e2e[_0x187e2e[_0x927f58(0x297)]=0x232b]=_0x927f58(0x297),_0x187e2e[_0x187e2e[_0x927f58(0x357)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x187e2e[_0x187e2e[_0x927f58(0x1c9)]=0x232d]=_0x927f58(0x1c9),_0x187e2e[_0x187e2e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x927f58(0x322),_0x187e2e[_0x187e2e[_0x927f58(0x281)]=0x2712]=_0x927f58(0x281),_0x187e2e[_0x187e2e[_0x927f58(0x120)]=0x2713]=_0x927f58(0x120),_0x187e2e[_0x187e2e[_0x927f58(0x352)]=0x2714]=_0x927f58(0x352),_0x187e2e[_0x187e2e[_0x927f58(0xd3)]=0x271a]=_0x927f58(0xd3),_0x187e2e[_0x187e2e['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x927f58(0x371),_0x187e2e[_0x187e2e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x927f58(0x270),_0x187e2e[_0x187e2e[_0x927f58(0x2cb)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x187e2e[_0x187e2e[_0x927f58(0xc9)]=0x271e]=_0x927f58(0xc9),_0x187e2e[_0x187e2e[_0x927f58(0x1ff)]=0x271f]=_0x927f58(0x1ff),_0x187e2e[_0x187e2e[_0x927f58(0x1ed)]=0x2af9]=_0x927f58(0x1ed),_0x187e2e[_0x187e2e['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x927f58(0x17b),_0x187e2e[_0x187e2e[_0x927f58(0x383)]=0x2ee2]=_0x927f58(0x383),_0x187e2e[_0x187e2e['INVITE_CODE_REQUIRED']=0x2ee3]=_0x927f58(0x2c6),_0x187e2e[_0x187e2e[_0x927f58(0x326)]=0x2ee4]=_0x927f58(0x326),_0x187e2e[_0x187e2e[_0x927f58(0xdb)]=0x2ee5]=_0x927f58(0xdb),_0x187e2e[_0x187e2e[_0x927f58(0x19f)]=0x32c9]=_0x927f58(0x19f),_0x187e2e[_0x187e2e[_0x927f58(0x241)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x187e2e[_0x187e2e['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x927f58(0x15e),_0x187e2e[_0x187e2e[_0x927f58(0x23c)]=-0x1]=_0x927f58(0x23c),_0x187e2e))(Si||{}),Q=(_0x51a43=>(_0x51a43[_0x51a43['UNIVER_UNKNOWN']=0x0]=_0x927f58(0x2c2),_0x51a43[_0x51a43['UNIVER_DOC']=0x1]=_0x927f58(0x2d6),_0x51a43[_0x51a43[_0x927f58(0x286)]=0x2]='UNIVER_SHEET',_0x51a43[_0x51a43[_0x927f58(0x16c)]=0x3]='UNIVER_SLIDE',_0x51a43[_0x51a43[_0x927f58(0x1b2)]=0x4]=_0x927f58(0x1b2),_0x51a43[_0x51a43[_0x927f58(0x23c)]=-0x1]=_0x927f58(0x23c),_0x51a43))(Q||{}),F=(_0x4f0340=>(_0x4f0340[_0x4f0340[_0x927f58(0x2e2)]=0x0]=_0x927f58(0x2e2),_0x4f0340[_0x4f0340[_0x927f58(0x341)]=0x1]=_0x927f58(0x341),_0x4f0340[_0x4f0340[_0x927f58(0x1da)]=0x2]=_0x927f58(0x1da),_0x4f0340[_0x4f0340[_0x927f58(0x2d4)]=0x3]='LEAVE',_0x4f0340[_0x4f0340['INGEST']=0x4]='INGEST',_0x4f0340[_0x4f0340['HEARTBEAT']=0x5]=_0x927f58(0x157),_0x4f0340[_0x4f0340['RECV']=0x6]=_0x927f58(0x301),_0x4f0340[_0x4f0340['UNRECOGNIZED']=-0x1]=_0x927f58(0x23c),_0x4f0340))(F||{}),ge=(_0x1728c9=>(_0x1728c9[_0x1728c9['UNKNOWN_CODE']=0x0]=_0x927f58(0xe3),_0x1728c9[_0x1728c9['OK']=0x1]='OK',_0x1728c9[_0x1728c9[_0x927f58(0x107)]=0x2]=_0x927f58(0x107),_0x1728c9[_0x1728c9[_0x927f58(0x1f7)]=0x3e9]=_0x927f58(0x1f7),_0x1728c9[_0x1728c9[_0x927f58(0x2cf)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x1728c9[_0x1728c9[_0x927f58(0x129)]=0x3eb]=_0x927f58(0x129),_0x1728c9[_0x1728c9['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x927f58(0x360),_0x1728c9[_0x1728c9['UNRECOGNIZED']=-0x1]=_0x927f58(0x23c),_0x1728c9))(ge||{}),Ei=(_0xaef0e2=>(_0xaef0e2[_0xaef0e2[_0x927f58(0x308)]=0x0]=_0x927f58(0x308),_0xaef0e2[_0xaef0e2[_0x927f58(0x31b)]=0x1]=_0x927f58(0x31b),_0xaef0e2[_0xaef0e2['HttpExport']=0x2]=_0x927f58(0x395),_0xaef0e2[_0xaef0e2[_0x927f58(0x29e)]=0x3]=_0x927f58(0x29e),_0xaef0e2[_0xaef0e2[_0x927f58(0x31d)]=0x4]=_0x927f58(0x31d),_0xaef0e2[_0xaef0e2[_0x927f58(0x1d3)]=0x5]='UserProfileImg',_0xaef0e2[_0xaef0e2[_0x927f58(0x23c)]=-0x1]=_0x927f58(0x23c),_0xaef0e2))(Ei||{});const q=_0x927f58(0x23e),wn={};var re=(_0x4230f2=>(_0x4230f2[_0x927f58(0x370)]=_0x927f58(0x370),_0x4230f2['PERMISSION_DENIED']=_0x927f58(0xb8),_0x4230f2[_0x927f58(0x216)]='CONFLICT',_0x4230f2['CLOSE_ROOM']=_0x927f58(0x25e),_0x4230f2[_0x927f58(0x379)]=_0x927f58(0x379),_0x4230f2[_0x927f58(0x22f)]='SOCKET_FAILED_RETRY',_0x4230f2[_0x927f58(0x391)]=_0x927f58(0x391),_0x4230f2['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x4230f2))(re||{});class pe{constructor(){var _0x1b4822=_0x927f58;N(this,'_event$',new _0x197ead()),N(this,'event$',this[_0x1b4822(0x300)][_0x1b4822(0x191)]());}[_0x927f58(0x94)](_0x909e3c){var _0x4a31b0=_0x927f58;this['_event$'][_0x4a31b0(0xea)](_0x909e3c);}}const Pn=_0x48c3c7('univer-pro.collaboration-client.network-condition.service');function Ln(_0x373e8){var _0x3be5ed=_0x927f58,_0x54d0a9,_0x4fea71,_0x180755,_0x36af3f,_0x2168ec;const _0x1fe85a=_0x373e8[_0x3be5ed(0x359)],_0x1caffa=JSON[_0x3be5ed(0x21e)](_0x1fe85a);switch(_0x1caffa[_0x3be5ed(0x1d4)]){case F[_0x3be5ed(0x157)]:case F[_0x3be5ed(0x341)]:{const _0x649ed9=_0x1caffa[_0x3be5ed(0x1ac)];return{..._0x1caffa,'data':_0x649ed9,'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};}case F['JOIN']:{const _0x4f4d31=_0x1caffa['joinRsp'];return{..._0x1caffa,'data':_0x4f4d31,'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};}case F['RECV']:{const _0x1b1afd=_0x1caffa['collaMsg'];switch(_0x1b1afd[_0x3be5ed(0x1fd)]){case _0x5aa101['PERMISSION_REJ']:return{..._0x1caffa,'data':{..._0x1b1afd,'data':(_0x54d0a9=_0x1b1afd['permissionRejEvent'])==null?void 0x0:_0x54d0a9['cs']},'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};case _0x5aa101[_0x3be5ed(0xf4)]:return{..._0x1caffa,'data':{..._0x1b1afd,'data':(_0x4fea71=_0x1b1afd[_0x3be5ed(0x1a4)])==null?void 0x0:_0x4fea71['cs']},'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};case _0x5aa101[_0x3be5ed(0x112)]:return{..._0x1caffa,'data':{..._0x1b1afd,'data':(_0x180755=_0x1b1afd['newCsEvent'])==null?void 0x0:_0x180755['cs']},'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};case _0x5aa101[_0x3be5ed(0x273)]:return{..._0x1caffa,'data':{..._0x1b1afd,'data':(_0x36af3f=_0x1b1afd[_0x3be5ed(0x32d)])==null?void 0x0:_0x36af3f['cs']},'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};case _0x5aa101[_0x3be5ed(0x33a)]:return{..._0x1caffa,'data':{..._0x1b1afd,'data':(_0x2168ec=_0x1b1afd[_0x3be5ed(0x366)])==null?void 0x0:_0x2168ec['cs']},'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};case _0x5aa101[_0x3be5ed(0x318)]:return{..._0x1caffa,'data':{..._0x1b1afd,'data':_0x1b1afd[_0x3be5ed(0x1a8)]},'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};case _0x5aa101[_0x3be5ed(0xe9)]:return{..._0x1caffa,'data':{..._0x1b1afd,'data':_0x1b1afd['joinEvent']},'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};case _0x5aa101['USERS_LEAVE']:return{..._0x1caffa,'data':{..._0x1b1afd,'data':_0x1b1afd['leaveEvent']},'cmd':_0x1caffa['cmd']};case _0x5aa101[_0x3be5ed(0x1d8)]:return{..._0x1caffa,'data':{..._0x1b1afd,'data':_0x1b1afd[_0x3be5ed(0x1ea)]},'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};case _0x5aa101[_0x3be5ed(0x255)]:case _0x5aa101[_0x3be5ed(0x2a8)]:return{..._0x1caffa,'data':{..._0x1b1afd,'data':_0x1b1afd[_0x3be5ed(0x232)]},'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};case _0x5aa101[_0x3be5ed(0x119)]:return{..._0x1caffa,'data':{..._0x1b1afd,'data':_0x1b1afd['liveShareNewHost']},'cmd':_0x1caffa['cmd']};case _0x5aa101[_0x3be5ed(0x33d)]:return{..._0x1caffa,'data':_0x1b1afd,'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};case _0x5aa101[_0x3be5ed(0x236)]:return{..._0x1caffa,'data':{..._0x1b1afd,'data':_0x1b1afd[_0x3be5ed(0xa1)]},'cmd':_0x1caffa['cmd']};case _0x5aa101[_0x3be5ed(0x282)]:return{..._0x1caffa,'data':{..._0x1b1afd,'data':_0x1b1afd[_0x3be5ed(0xa0)]},'cmd':_0x1caffa['cmd']};case _0x5aa101[_0x3be5ed(0x2b3)]:return{..._0x1caffa,'data':{..._0x1b1afd,'data':_0x1b1afd[_0x3be5ed(0x2b7)]},'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};case _0x5aa101[_0x3be5ed(0x23b)]:return{..._0x1caffa,'data':{..._0x1b1afd,'data':_0x1b1afd[_0x3be5ed(0xc2)]},'cmd':_0x1caffa[_0x3be5ed(0x1d4)]};default:return _0x1caffa;}}default:return _0x1caffa;}}function Mn(_0xc50e78){var _0x1a3aea=_0x927f58;switch(_0xc50e78[_0x1a3aea(0x1d4)]){case F[_0x1a3aea(0x157)]:case F[_0x1a3aea(0x341)]:return JSON['stringify']({'cmd':_0xc50e78[_0x1a3aea(0x1d4)],'routeKey':_0xc50e78[_0x1a3aea(0x27f)]});case F['INGEST']:{let _0x404e3b;switch(_0xc50e78[_0x1a3aea(0x359)][_0x1a3aea(0x1fd)]){case _0x5aa101['UPDATE_CURSOR']:{_0x404e3b={'eventID':_0x5aa101[_0x1a3aea(0x318)],'updateCursorEvent':_0xc50e78[_0x1a3aea(0x359)][_0x1a3aea(0x359)]};break;}case _0x5aa101['USERS_LEAVE']:{_0x404e3b={'eventID':_0x5aa101[_0x1a3aea(0x2b6)],'leaveEvent':_0xc50e78['data']['data']};break;}case _0x5aa101[_0x1a3aea(0xe9)]:{_0x404e3b={'eventID':_0x5aa101[_0x1a3aea(0xe9)],'joinEvent':_0xc50e78[_0x1a3aea(0x359)][_0x1a3aea(0x359)]};break;}case _0x5aa101[_0x1a3aea(0x1d8)]:{_0x404e3b={'eventID':_0x5aa101['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0xc50e78[_0x1a3aea(0x359)][_0x1a3aea(0x359)]};break;}case _0x5aa101[_0x1a3aea(0x2a8)]:{_0x404e3b={'eventID':_0x5aa101[_0x1a3aea(0x2a8)],'liveShareOperation':_0xc50e78[_0x1a3aea(0x359)]['data']};break;}case _0x5aa101['LIVESHARE_TERMINATE']:{_0x404e3b={'eventID':_0x5aa101[_0x1a3aea(0x119)],'liveShareTerminate':_0xc50e78[_0x1a3aea(0x359)]['data']};break;}case _0x5aa101[_0x1a3aea(0x1d7)]:{_0x404e3b={'eventID':_0x5aa101[_0x1a3aea(0x1d7)],'liveShareRequestHost':_0xc50e78[_0x1a3aea(0x359)][_0x1a3aea(0x359)]};break;}case _0x5aa101[_0x1a3aea(0x255)]:{_0x404e3b={'eventID':_0x5aa101[_0x1a3aea(0x255)]};break;}default:_0x404e3b={'eventID':_0xc50e78[_0x1a3aea(0x359)][_0x1a3aea(0x1fd)]};}return JSON[_0x1a3aea(0x178)]({'cmd':_0xc50e78['cmd'],'routeKey':_0xc50e78[_0x1a3aea(0x27f)],'collaMsg':_0x404e3b});}case F['JOIN']:return JSON[_0x1a3aea(0x178)]({'cmd':_0xc50e78[_0x1a3aea(0x1d4)],'routeKey':_0xc50e78[_0x1a3aea(0x27f)],'joinReq':_0xc50e78[_0x1a3aea(0x359)]});case F[_0x1a3aea(0x2d4)]:return JSON[_0x1a3aea(0x178)]({'cmd':_0xc50e78[_0x1a3aea(0x1d4)],'routeKey':_0xc50e78[_0x1a3aea(0x27f)],'leaveReq':_0xc50e78[_0x1a3aea(0x359)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var xn=Object['getOwnPropertyDescriptor'],kn=(_0x140b17,_0xdd94a2,_0x475147,_0x21fad6)=>{var _0x54980f=_0x927f58;for(var _0x47103b=_0x21fad6>0x1?void 0x0:_0x21fad6?xn(_0xdd94a2,_0x475147):_0xdd94a2,_0x3f4624=_0x140b17[_0x54980f(0x109)]-0x1,_0xef4e26;_0x3f4624>=0x0;_0x3f4624--)(_0xef4e26=_0x140b17[_0x3f4624])&&(_0x47103b=_0xef4e26(_0x47103b)||_0x47103b);return _0x47103b;},Ae=(_0x1b77a1,_0x31ceee)=>(_0x2653de,_0x1bfc95)=>_0x31ceee(_0x2653de,_0x1bfc95,_0x1b77a1);const Ii=_0x48c3c7('univer-pro.collaboration-client-socket-service');function $n(_0x43737a,_0x2721b0,_0x3623a1){var _0x4a88a4=_0x927f58;return _0x43737a+'/'+_0x2721b0+_0x4a88a4(0x2cd)+_0x3623a1+_0x4a88a4(0x244);}let Gt=class extends _0x5ef667{constructor(_0x551415,_0x49d5e1,_0x138996,_0x5dc9f8,_0x4fa843){var _0x34cbc6=_0x927f58;super(),this[_0x34cbc6(0x33c)]=_0x551415,this[_0x34cbc6(0x358)]=_0x49d5e1,this[_0x34cbc6(0x265)]=_0x138996,this[_0x34cbc6(0x311)]=_0x5dc9f8,this['_snapshotServerService']=_0x4fa843;}[_0x927f58(0x1c7)](_0x3820b5){var _0x346f27=_0x927f58;const _0x245e71=this[_0x346f27(0x33c)]['get'](_0x3d6afb);if(!_0x245e71)throw new Error(_0x346f27(0x2f7));const _0x415884=_0x245e71[_0x346f27(0x28c)](_0x3820b5);if(!_0x415884)throw new Error(_0x346f27(0x11a));const _0x112298=new _0x4fb7d3(),_0x24d4c0=new _0x197ead();_0x112298[_0x346f27(0x259)](_0x415884['close$'][_0x346f27(0x1b6)](_0x1ba89e=>_0x24d4c0[_0x346f27(0xea)](_0x1ba89e))),_0x112298[_0x346f27(0x259)](_0x1937b9(()=>_0x24d4c0[_0x346f27(0x96)]()));const _0x4b421b=new _0x197ead();_0x112298[_0x346f27(0x259)](_0x415884[_0x346f27(0x2fc)][_0x346f27(0x1b6)](_0x118f26=>_0x4b421b[_0x346f27(0xea)](_0x118f26))),_0x112298['add'](_0x1937b9(()=>_0x4b421b[_0x346f27(0x96)]()));const _0x5d6259=new _0x197ead();_0x112298['add'](_0x415884[_0x346f27(0x295)][_0x346f27(0x1b6)](_0x703d5d=>{var _0x50128b=_0x346f27;const _0x3d9e23=Ln(_0x703d5d);_0x5d6259[_0x50128b(0xea)](_0x3d9e23);})),_0x112298['add'](_0x1937b9(()=>_0x5d6259[_0x346f27(0x96)]()));let _0x16ca65;const _0x59dd19=()=>{var _0x54c1d7=_0x346f27;_0x4b421b['next'](new Event(_0x54c1d7(0xd7))),_0x24d4c0[_0x54c1d7(0xea)](new Event(_0x54c1d7(0xd7))),_0x16ca65['close']();};return _0x16ca65={'memberID':'','close$':_0x24d4c0[_0x346f27(0x191)](),'error$':_0x4b421b['asObservable'](),'open$':_0x415884['open$'],'message$':_0x5d6259[_0x346f27(0x191)](),'send':_0x451a5d=>{var _0xc9cc80=_0x346f27;if(_0x451a5d['cmd']===F[_0xc9cc80(0x13e)]){if(_0x451a5d[_0xc9cc80(0x359)]['eventID']===_0x5aa101['SUBMIT_CHANGESET']){this[_0xc9cc80(0x33b)](_0x16ca65,_0x451a5d[_0xc9cc80(0x359)])[_0xc9cc80(0x2df)](_0x1686ac=>{var _0x43edb2=_0xc9cc80;this[_0x43edb2(0x311)][_0x43edb2(0xb9)](_0x1686ac),_0x59dd19();});return;}if(_0x451a5d['data']['eventID']===_0x5aa101[_0xc9cc80(0x368)]){const _0x2dc463=_0x451a5d[_0xc9cc80(0x359)];this[_0xc9cc80(0x369)](_0x2dc463)[_0xc9cc80(0x16b)](_0xd753f0=>{var _0x19dbf9=_0xc9cc80;_0x5d6259[_0x19dbf9(0xea)]({'cmd':F[_0x19dbf9(0x301)],'code':ge['OK'],'routeKey':_0x2dc463['data'][_0x19dbf9(0x113)],'routeType':'','data':{'eventID':_0x5aa101['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0xd753f0}}});})[_0xc9cc80(0x2df)](_0x15bc01=>{var _0x22dc26=_0xc9cc80;this[_0x22dc26(0x311)]['error'](_0x15bc01),_0x59dd19();});return;}}_0x415884[_0xc9cc80(0x1dd)](Mn(_0x451a5d));},'close':()=>{var _0x518fe4=_0x346f27;_0x415884[_0x518fe4(0x132)](),_0x112298[_0x518fe4(0x382)]();}},_0x16ca65;}async['_submitChangeset'](_0x41d3aa,_0x1934b8){var _0x4c3fd3=_0x927f58,_0x59c287,_0x3d09fc;const {unitType:_0x5c96fd,unitID:_0x14c362,changeset:_0x898a51}=_0x1934b8[_0x4c3fd3(0x359)],_0x5325fa={'unitID':_0x14c362,'memberID':_0x41d3aa[_0x4c3fd3(0x2ca)],'type':_0x5c96fd,'changeset':_0x497117(_0x898a51)},_0xf4e895=this[_0x4c3fd3(0x265)][_0x4c3fd3(0x319)](Nn),_0x6a836e=this[_0x4c3fd3(0x265)][_0x4c3fd3(0x319)](q),_0x50c170=$n((_0x3d09fc=(_0x59c287=_0x6a836e==null?void 0x0:_0x6a836e[_0x4c3fd3(0x20a)])!=null?_0x59c287:_0xf4e895)!=null?_0x3d09fc:Dn,_0x5c96fd,_0x14c362);try{await this['_httpService']['post'](_0x50c170,{'body':_0x5325fa});}catch(_0xc33759){throw this[_0x4c3fd3(0x311)]['error'](_0x4c3fd3(0x138),_0x4c3fd3(0x2e7)),_0xc33759;}}async[_0x927f58(0x369)](_0x3d8bc3){var _0x310f8f=_0x927f58;const {unitID:_0xc607fc,from:_0x47d674,to:_0x103753,unitType:_0x1f270c}=_0x3d8bc3[_0x310f8f(0x359)];return(await this[_0x310f8f(0x22c)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0xc607fc,'type':_0x1f270c,'from':_0x47d674,'to':_0x103753}))[_0x310f8f(0x2b9)];}};Gt=kn([Ae(0x0,_0x316925(_0x16154a)),Ae(0x1,_0x316925(_0x2c3bc5)),Ae(0x2,_0x426a21),Ae(0x3,_0x57fa1f),Ae(0x4,_0x310176)],Gt);const Hn='collaboration_new_changeset';function Bn(_0x104652){var _0x4abed4=_0x927f58;return JSON[_0x4abed4(0x178)](_0x104652)[_0x4abed4(0x109)];}class Ti{constructor(){var _0x295393=_0x927f58;N(this,_0x295393(0x365),new _0x197ead()),N(this,_0x295393(0x353),this['_commentUpdate$'][_0x295393(0x191)]());}['onCommentUpdate'](_0x49045e){var _0x3560a6=_0x927f58;this[_0x3560a6(0x365)][_0x3560a6(0xea)](_0x49045e);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x133e23,_0x5caa28,_0x1a0f77,_0x1c7d73)=>{var _0x3e8649=_0x927f58;for(var _0x4859d3=_0x1c7d73>0x1?void 0x0:_0x1c7d73?jn(_0x5caa28,_0x1a0f77):_0x5caa28,_0x38b6c8=_0x133e23[_0x3e8649(0x109)]-0x1,_0x4c1366;_0x38b6c8>=0x0;_0x38b6c8--)(_0x4c1366=_0x133e23[_0x38b6c8])&&(_0x4859d3=_0x4c1366(_0x4859d3)||_0x4859d3);return _0x4859d3;},Wt=(_0x2165f3,_0x2ff83b)=>(_0x407022,_0x26cb8f)=>_0x2ff83b(_0x407022,_0x26cb8f,_0x2165f3);let Le=class extends _0x5ef667{constructor(_0x3bca44,_0x1e12bb){var _0xb7a65c=_0x927f58;super(),N(this,'_roomMembers',new Map()),N(this,_0xb7a65c(0x9d),new _0x197ead()),(this[_0xb7a65c(0x1ab)]=_0x3bca44,this['_userManagerService']=_0x1e12bb,this[_0xb7a65c(0x14b)](_0x27f765(this[_0xb7a65c(0x1ab)][_0xb7a65c(0x1ef)](_0x176541['UNIVER_SHEET'])[_0xb7a65c(0x18b)](_0x48b24a(_0x44ae22=>_0x44ae22[_0xb7a65c(0xcc)]())),this[_0xb7a65c(0x1ab)][_0xb7a65c(0x1ef)](_0x176541[_0xb7a65c(0x2d6)])[_0xb7a65c(0x18b)](_0x48b24a(_0x5f1c2b=>_0x5f1c2b['getUnitId']())),this[_0xb7a65c(0x1ab)]['getTypeOfUnitDisposed$'](_0x176541['UNIVER_SLIDE'])[_0xb7a65c(0x18b)](_0x48b24a(_0x23bd56=>_0x23bd56[_0xb7a65c(0xcc)]())))[_0xb7a65c(0x1b6)](_0x141a91=>this[_0xb7a65c(0x2dc)](_0x141a91))));}[_0x927f58(0x387)](_0xae36b5){var _0x43abe7=_0x927f58;return this[_0x43abe7(0x2ee)][_0x43abe7(0x23f)](_0xae36b5)?_0x58f773(this[_0x43abe7(0x2ee)][_0x43abe7(0x337)](_0xae36b5)):this[_0x43abe7(0x9d)][_0x43abe7(0x18b)](_0x48b24a(_0x486cbd=>{var _0xa0ea80=_0x43abe7;if(_0x486cbd===_0xae36b5)return this[_0xa0ea80(0x2ee)][_0xa0ea80(0x337)](_0x486cbd);}));}[_0x927f58(0x233)](_0x3647f4){var _0x51f28c=_0x927f58;this[_0x51f28c(0x24f)][_0x51f28c(0x233)](_0x3647f4);}['getCurrentUser'](){var _0x54ad14=_0x927f58;return this[_0x54ad14(0x24f)][_0x54ad14(0xee)]();}[_0x927f58(0x12a)](_0x500af1,_0x58e7c1){var _0x22766f=_0x927f58;let _0x169f20=this['_roomMembers'][_0x22766f(0x337)](_0x500af1);_0x169f20||(_0x169f20=new Vn(),this[_0x22766f(0x2ee)]['set'](_0x500af1,_0x169f20),this[_0x22766f(0x9d)][_0x22766f(0xea)](_0x500af1)),_0x169f20['updateMember'](_0x58e7c1);}[_0x927f58(0x26c)](_0x13ba10,_0x1c3c8b){var _0x5725ba=_0x927f58;const _0x4cf975=this[_0x5725ba(0x2ee)][_0x5725ba(0x337)](_0x13ba10);_0x4cf975&&_0x4cf975[_0x5725ba(0x26c)](_0x1c3c8b);}['getRoom'](_0x1bd8f1){var _0x17227a=_0x927f58;return this[_0x17227a(0x2ee)][_0x17227a(0x337)](_0x1bd8f1);}[_0x927f58(0x356)](_0x27c945,_0x636e4c){var _0x4aed1c=_0x927f58;const _0x2e683=this[_0x4aed1c(0x2ee)][_0x4aed1c(0x337)](_0x27c945);if(_0x2e683)return _0x2e683[_0x4aed1c(0x356)](_0x636e4c);}['_removeRoom'](_0x4ccbbd){var _0x2f3218=_0x927f58;const _0x10c707=this[_0x2f3218(0x2ee)]['get'](_0x4ccbbd);_0x10c707&&(_0x10c707[_0x2f3218(0x382)](),this[_0x2f3218(0x2ee)][_0x2f3218(0x374)](_0x4ccbbd));}[_0x927f58(0x382)](){var _0x51453e=_0x927f58;this[_0x51453e(0x2ee)][_0x51453e(0x396)](_0xb77be9=>_0xb77be9[_0x51453e(0x382)]()),this[_0x51453e(0x2ee)][_0x51453e(0xd2)](),this[_0x51453e(0x9d)][_0x51453e(0x96)]();}};Le=Fn([Wt(0x0,_0x794611),Wt(0x1,_0x316925(_0x1814fb))],Le);class Vn extends _0x5ef667{constructor(){var _0x4dfa15=_0x927f58;super(...arguments),N(this,_0x4dfa15(0x30d),new Map()),N(this,_0x4dfa15(0x206),new _0x36f592(this['_members'])),N(this,_0x4dfa15(0x333),this[_0x4dfa15(0x206)][_0x4dfa15(0x191)]());}[_0x927f58(0x382)](){var _0x5d9aac=_0x927f58;this[_0x5d9aac(0x30d)][_0x5d9aac(0xd2)]();}[_0x927f58(0x12a)](_0x55902a){var _0x4e4031=_0x927f58;this[_0x4e4031(0x30d)][_0x4e4031(0x197)](_0x55902a[_0x4e4031(0x2ca)],_0x55902a),this[_0x4e4031(0xc6)]();}[_0x927f58(0x26c)](_0x5393b4){var _0x54abbe=_0x927f58;this[_0x54abbe(0x30d)]['delete'](_0x5393b4);}[_0x927f58(0x356)](_0x1455ab){var _0x1b33bd=_0x927f58;return this['_members'][_0x1b33bd(0x337)](_0x1455ab);}[_0x927f58(0x123)](){var _0x466489=_0x927f58;return Array[_0x466489(0x325)](this[_0x466489(0x30d)][_0x466489(0x310)]());}['_emitMembers'](){var _0x2b5341=_0x927f58;this[_0x2b5341(0x206)][_0x2b5341(0xea)](this[_0x2b5341(0x30d)]);}}function _0x5f45(){var _0x449e53=['onlyLocal','_keyPriorReset','__creator','_event$','RECV','_getRedoStack','Hasher','327579qEGWIg','getTime','resourceIDs','reduce','Undefined','reset','_socket$','_syncEditingCollabCursor','unknown','_members','_throwTelemetryCollaborationNewChangeset','subject','values','_logService','onCommandExecuted','_entityInit$','[CollaborationSessionService]','_HTTPService','startTime','list','UPDATE_CURSOR','getConfig','clone','HttpImport','image/bmp','UnitSnapshot','Base','rev','_clearRedo','_transitionLocked','YUUMI_UNABLE_LOAD_URL','getImage','ivSize','from','USER_NOT_INVITED_CODE','every','FileId','toggleOnline','allowed','POST','createEncryptor','csRejEvent','_nRounds','/allowed','downloadEndpointUrl','href','processBlock','members$','awaiting','_getLoginPath','clamp','get','onRemoteRetry','headers','CHANGESET_SHOULD_RETRY','_submitChangeset','_injector','MSG_FOR_ERROR','_unlockTransition','_onUserLeave','c1Prime','HELLO','readAsDataURL','SNAPSHOT_HAS_BEEN_REMOVED','_stopTelemetryCollaborationNewChangeset','Encryptor','concat','INVALID_ARGUMENT','[SyncedState]:\x20received\x20rejection.','LICENSE_MAX_UNITS_EXCEEDED','_localCacheService','_onOffline','put','ws://127.0.0.1:8000/universer-api/comb/connect','signUrlServerUrl','executeCommand','awaiting_with_pending','floor','YUUMI_SUBSCRIPTION_NOT_FOUND','commentUpdate$','format','sid','getMember','LICENSE_EXPORT_SIZE_EXCEEDED','_httpService','data','_getUndoStack','UNAUTHENTICATED','8XLPJOj','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','toggleOffline','image/jpeg','GLOBAL_ROOMS_CNT_EXCEEDS','OTHER_CLIENTS_EDITING','debug','getResourcesRequest','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentUpdate$','csShouldRetryEvent','/universer-api/user/session-ticket','FETCH_MISSING','_fetchMissChangesets','BlockCipher','_onConflict','result','_unitInfo$','iterations','OpenSSL','OTHER_CLIENT_EDITING','YUUMI_ASYNCIO_CANCELLED','_schedule','byteLength','delete','sessionStatus','words','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_clearLocalCache','JOIN_ROOM_FAILED','slice','includes','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_sendHeartbeatTimer','\x20to\x20','NO_OTHER_CLIENTS_EDITING','find','Base64','dispose','INVALID_INVITE_CODE','_initUnitPermissionChange','_localeService','putCollaborators','waitForRoom$','_initRequestHeader','min','socket\x20close','ALREADY_EXISTS','1745QJMHGT','_createHmacHelper','SUBMIT_CHANGESET','/universer-api/uniscript','_nDataBytes','SOCKET_FAILED','close$','buffer','_cipher','HttpExport','forEach','_decreaseWaiting','3yUzPYB','_toggleOnline','APPLY_REVISION_CONFILICT','_type','msCrypto','socket$','unitInfo$','textRanges','getImageSourceCache','setWaitCount','PasswordBasedCipher','emitEvent','_transformStateCache','complete','selections','_updateState','bind','_process','_change$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_roomCreated$','defineProperty','enableSingleActiveInstanceLock','updatePermissionObjEvent','commentUpdateEvent','action','_initMergeInterceptor','closeSession','splice','OPTIONAL','TOO_MANY_REQUESTS','mutations','onMissedChangesetFetched','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','HMAC','finalize','SNAPSHOT_URL_KEY','isArray','onTransformState','CONNECTOR_DATA_TOO_LARGE','_clearScheduledTask','_getAPIPrefix','sigBytes','listCollaborators','onTransformSelections','mode','/collaborator','PERMISSION_DENIED','error','_getUploadFileURL','init','byteOffset','_collaborationSessionService','_onMessage','getUnitOnRev','/object','_updateLocalCache','uniscriptRunEvent','hasOwnProperty','_permissionService','_onLocalMutation','_emitMembers','hostname','_onRemoteRetry','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_toggleOffline','_lockTransition','getUnitId','createInstance','max','generateRandomId','duration','_socketMessageSubscription','clear','YUUMI_NO_CUBOID_FOR_QUESTION','incrementRevOfUnit','session.room-permission-denied','IDLE','connection\x20error','sheets','[FetchMissState]','_collaborationPaused','INVITE_CODE_ALREADY_BOUND','_createHelper','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','addHandlerCallback','BufferedBlockAlgorithm','_singleActiveUnitService','SYNCED','salt','UNKNOWN_CODE','synced','rng','_resendTimer','_clearTimeoutTimer','_eventService','USERS_ENTER','next','COMPLETION_FINISHED','JOINING','_doReset','getCurrentUser','entries','_onRemoteRejected','_init','_executeRemoteChangeset','_waitForHeartbeatResponse','CHANGESET_ACK','getOwnPropertyDescriptor','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onTransformRemoteChangesetByIMECache','key','setShowComponents','_joinRoom','?url=','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','image/png','location','_mode','AWAITING_WITH_PENDING','updateOfflineData','Error\x20on\x20receiving\x20event','keySize','_config','loadOfflineData','_keySchedule','FAIL','getValue','length','collaboratorID','_key','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','SUBMIT_CHANGESET_TIMEOUT','pending','code','_onUserJoin','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','NEW_CHANGESETS','unitID','_checkMissing','_waitCount','[PendingState]:\x20received\x20acknowledgement.','APPLY_DUPLICATED','getInterceptPoints','LIVESHARE_TERMINATE','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','session.room-not-exists','prototype','session.room-cnt-exceeds','_sender','_onFetchMissResult','YUUMI_RATE_OVER_LIMIT','auth.needGotoLoginAlert','_onConnectionOpen','getAllMembers','toLowerCase','NOT_FOUND','objects','_getCurrentRevision','_disableEditing','JOIN_ROOM_PERMISSION_DENIED','updateMember','ERROR_IMAGE_TYPE','url','_doProcessBlock','getSheetId','_initCloseConn','uploadFileServerUrl','_acknowledgedAwaitingChangeset','close','indexOf','random','?size=','_createSocket','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[CollaborationSession]','_transformService','[UniverCollaborationClientPlugin]','HmacMD5','SerializableCipher','/universer-api/authz','INGEST','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_doCryptBlock','getMemberID','mixIn','_tryReconnect','disableLocalCache','reqId','_getAPIPrefixPath','awaitingChangeset','PERSON','_loadDoc','_handlerCallback','disposeWithMe','reject','_timeoutTimer','_substituteRedoStack','string','fromCollab','_changesetSessionId','HEARTBEAT_TIMEOUT','BASE64','COLLAB_SUBMIT_CHANGESET_URL','retryConnectingInterval','unitId\x20is\x20not\x20found','HEARTBEAT','{fileID}','ONLINE','People','_scheduleCompleteTimestamp','_revisionService','_transformIMECache','EMAIL_HAS_BEEN_BOUND','_exhaustRemoteChangesetQueue','type','objectID','_socketReady','getTypeOfUnitAdded$','sendChangesetTimeout','originalMeta','_showConflictNotification','failed\x20to\x20apply\x20missed\x20changesets!','getSnapshotAPIPath','_handler','_onConnectionFailed','then','UNIVER_SLIDE','ERROR_EXCEED_SIZE','_compressMutationService','_getCtorByUniverType','_awaitingChangeset','[CollaborationEntity]','fetchMiss','WordArray','lib','registerHTTPInterceptor','_oKey','event$','stringify','extend','onSyncEditingCollabCursor','INVITE_CODE_HAS_BEEN_UES','_sessions','UNIVER_COLLABORATION_CLIENT_PLUGIN','LOGIN_FAILED','_sessionStatus$','/universer-api/oidc/authpage','onTransformIME','_commandService','pad','$super','OFFLINE','Univer','loadUnit','[OfflineState]:\x20received\x20rejection.','_status$','__esModule','pipe','unitId','userID','_invKeySchedule','onRemoteRej','transformChangesets','asObservable','CHANGESET_REVISION_CONFILICT','getCurrentRevOfUnit','Malformed\x20UTF-8\x20data','saveSheetBlock','_socketService','set','pluginName','5336028RjsBzO','_entities','fromCharCode','dispose$','[DataLoaderService]','params','WECHAT_HAS_BEEN_BOUND','onStarting','_getSendChangesetTimeout','_telemetryService','focused$','csAckEvent','AUTHZ_URL_KEY','_clearHeartbeatTimer','responseType','updateCursorEvent','sin','MUTATION','_univerInstanceService','infoRsp','default','randomBytes','saveChangeset','/object/','_reverseMap','UNIVER_PROJECT','reconnect','transformUndoRedo','stopTime','subscribe','_hasher','hasher','\x0aAfter:\x20','_socket','_listenToNetworkCondition','COMPRESS_MUTATION_APPLY','_snapshotService','Cipher','origin','_replaceFileID','BlockCipherMode','requireSession','onSendChangeset','revision','_transformStack','COMPRESS_MUTATION_SEND','_doCreateSocket','formatter','LICENSE_DISTRO_REJECTED','workbook','isPermissionRej','override','_iKey','/universer-api/snapshot','update','getUnitType','ENSURE_SNAPSHOT_EXECUTION','updatePermissionPoint','UserProfileImg','cmd','/rev/','StreamCipher','LIVESHARE_REQUEST_HOST','LIVESHARE_NEW_HOST','_transformRemoteChangesetByIMECache','JOIN','range','exports','send','RETRY_CONNECTING_MAX_COUNT','state','apply','symbol','UUID','call','/-/object/list','snapshotServerUrl','socketService','_applyRemoteChangeset','m2Prime','_shouldReportTelemetry','liveShareNewHost','NoPadding','post','PY_RUNTIME_SCRIPT_ERROR','addImageSourceCache','getTypeOfUnitDisposed$','map','fetchThroughInterceptors','batchAllowed','DEFAULT_FILE_NAME','telemetry\x20info\x20is\x20not\x20initialized','editing\x20status\x20changed\x20to','/universer-api/snapshot/','JOIN_ROOM_FULL','_doFinalize','_registerDependencies','_collaborationTimeoutTimer','create','patch','eventID','status$','YUUMI_AI_RUN_FAILED','_queuedRemoteChangesets','_append','_resendWithTimeout','_transformUndoredo','unsubscribe','_onRemoteACK','_members$','fetch_missing','getCollabEntity$','Pkcs7','collabSubmitChangesetUrl','_onRecvEvent','fetching\x20missing\x20changesets\x20from\x20','[CollaborationUndoRedoService]','not_collab','offline','UNDEFINED','baseRev','encode','appendMutation','_collabSessionService','_map','CONFLICT','_createHandler','getLatestCsReqIdBySid','ERROR_IMAGE','localeService','Latin1','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','algo','parse','_unitID','getCollabEntity','saveImage','capture','image/jpg','_incrementRevisionNumber','collaborators','charCodeAt','transformMutationsWithChangeset','_isPermissionRej','[OfflineState]:\x20received\x20acknowledgement.','resolve','crypto','_snapshotServerService','cfg','enableAuthServer','SOCKET_FAILED_RETRY','session.room-full','getUnit','liveShareOperation','setCurrentUser','_createInitialState','_minBufferSize','COMMENT_UPDATE','16170jNPVfc','[CollaborationState]:\x20apply\x20error!','onStateChange','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UNISCRIPT_RUN','UNRECOGNIZED','enc','collaboration-client.config','has','_parse','MOBILE_HAS_BEEN_BOUND','execute','Could\x20not\x20dynamically\x20require\x20\x22','/new_changes','filter','_pendingMutations','_clearRetryConnectingTimer','Utf8','_retryCount','enableOfflineEditing','save\x20fail\x20reason\x20is\x20','_hash','_xformMode','onMissingChangesets','_userManagerService','_clearUndo','SHA1','APPLY_PERMISSION_DENIED','HEARTBEAT_INTERVAL','_state','LIVESHARE_FETCH_OPERATIONS','_tryEnsureSocket','copyFileMeta','join','add','deepClone','onRemoteAck','change$','equals','CLOSE_ROOM','/block/','resend','function','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_onJoinRoomEvent','NOT_COLLAB','_configService','onCommentUpdate','/-/object/-/batch_allowed','fetchMissingChangesets','target','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','substr','removeMember','status','_updateStatus','interceptor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_prevBlock','kdf','CHANGESET_REJ','ceil','_DEC_XFORM_MODE','objectType','getDeserializedSheetBlock','_rescheduleHeartbeat','readInt32LE','_transformSelections','toString','APPLY_NON_SEQUENTIAL_REVISION','_sendingTimer','MD5','routeKey','_getDownloadEndpointURL','YUUMI_URL_COL_OUT_OF_RANGE','UPDATE_PERMISSION_OBJ','_getSignURL','refreshPermission','_resendTimeout','UNIVER_SHEET','onRemoteChangeset','_collaborationUIEventService','13532980JyBqsw','compose','SNAPSHOT_INVALID_SNAPSHOT','createSocket','snapshot','_remoteChangesetQueue','_imageSourceCache','Hex','_memberService','93446fywoER','append','__Key__','message$','SUCCUSS','LICENSE_IMPORT_SIZE_EXCEEDED','conflict','PENDING','name','\x20in\x20_schedule.','_replayCachedMutations','_scheduleCollaborationTimeoutTimer','UnitEmbedded','push','ciphertext','encryptBlock','_ENC_XFORM_MODE','SEND_CHANGESET_TIMEOUT','unit-cache-','randomUUID','open$','sessionStatus$','LIVESHARE_OPERATION','EvpKDF','authzUrl','compute','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/universer-api/file/{fileID}/sign-url','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','localCacheService','_state$','_retryConnectingTimer','charAt','SHOULD_CLOSE_CONN','_data','getActiveSheet','USERS_LEAVE','shouldCloseConn','_telemetryInfo','changesets','/role','getRandomValues','_sheetTransformSelectionsService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_commentService','pauseCollaboration','2304459qvlkUe','AES','UNIVER_UNKNOWN','_sendHeartbeat','initWorkbookPermissionChange','[OfflineState]:\x20received\x20changeset.','INVITE_CODE_REQUIRED','_iv','size','[SyncedState]:\x20received\x20acknowledgement.','memberID','YUUMI_ALL_TABLES_IS_INVALID','getWorkbookSelections','/unit/','encrypt','JOIN_ROOM_NOT_EXISTS','state$','_createInitialStateImpl','_startTelemetryCollaborationNewChangeset','collabWebSocketUrl','LEAVE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_DOC','body','PSEUDO_FETCH_MISSING_RESULT','padding','_candidateSocket','_substituteUndoStack','_removeRoom','_changesetReqId','/universer-api/comb','catch','_startCollaboration','blockSize','UNKNOWN_CMD','getSheetBlock','_clearCollaborationTimeoutTimer','abs','_transformRemoteChangesetByStateCache','submit\x20changeset\x20error!','_onRemoteChangeset','PERMISSION_REJ','actions','1138708ZPKaJS','onTransformRemoteChangesetByStateCache','decrypt','_roomMembers','CipherParams','requestParams','findIndex','&source=','_loadSheet','c2Prime','getFocusedUnit','_undoRedoService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','saveSnapshot','session','deleteCollaborator','now','error$'];_0x5f45=function(){return _0x449e53;};return _0x5f45();}var Gn=Object['getOwnPropertyDescriptor'],Wn=(_0x344bb1,_0x149514,_0xb1d4e6,_0x2a0ec5)=>{var _0x1a15d4=_0x927f58;for(var _0x2d5d4f=_0x2a0ec5>0x1?void 0x0:_0x2a0ec5?Gn(_0x149514,_0xb1d4e6):_0x149514,_0x2a7f9e=_0x344bb1[_0x1a15d4(0x109)]-0x1,_0x3ec9ac;_0x2a7f9e>=0x0;_0x2a7f9e--)(_0x3ec9ac=_0x344bb1[_0x2a7f9e])&&(_0x2d5d4f=_0x3ec9ac(_0x2d5d4f)||_0x2d5d4f);return _0x2d5d4f;},me=(_0x5e84e0,_0x21ae80)=>(_0x227493,_0x261472)=>_0x21ae80(_0x227493,_0x261472,_0x5e84e0),Ee=(_0x1763bb=>(_0x1763bb[_0x1763bb['IDLE']=0x0]=_0x927f58(0xd6),_0x1763bb[_0x1763bb[_0x927f58(0xec)]=0x1]=_0x927f58(0xec),_0x1763bb[_0x1763bb[_0x927f58(0x185)]=0x2]=_0x927f58(0x185),_0x1763bb[_0x1763bb['ONLINE']=0x3]='ONLINE',_0x1763bb))(Ee||{});const Yt={[ge[_0x927f58(0x107)]]:'session.join-failed',[ge[_0x927f58(0x1f7)]]:_0x927f58(0x230),[ge[_0x927f58(0x2cf)]]:_0x927f58(0x11b),[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x927f58(0xd5),[ge[_0x927f58(0x360)]]:_0x927f58(0x11d)};let Et=class extends _0x7c0126{constructor(_0x31e61c,_0x195c58,_0x3a7362,_0x506d63,_0x275192,_0x4166af,_0x4ce49b,_0x2f16fe,_0x41a8df){var _0x52c74d=_0x927f58;super(),N(this,_0x52c74d(0x17f),new _0x36f592(0x0)),N(this,_0x52c74d(0x2a7),this[_0x52c74d(0x17f)][_0x52c74d(0x191)]()),N(this,_0x52c74d(0x300),new _0x197ead()),N(this,_0x52c74d(0x177),this['_event$']['asObservable']()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x52c74d(0x1fa)),N(this,_0x52c74d(0x1e9),!0x1),N(this,_0x52c74d(0x2b8),null),(this[_0x52c74d(0x21f)]=_0x31e61c,this[_0x52c74d(0x311)]=_0x3a7362,this[_0x52c74d(0x265)]=_0x506d63,this[_0x52c74d(0x385)]=_0x275192,this[_0x52c74d(0x291)]=_0x4166af,this[_0x52c74d(0x2be)]=_0x4ce49b,this[_0x52c74d(0x288)]=_0x2f16fe,this[_0x52c74d(0x1a2)]=_0x41a8df,this[_0x52c74d(0x1e9)]=!!this['_telemetryService'],_0x195c58['pipe'](_0x37a23d(this[_0x52c74d(0x19c)]))[_0x52c74d(0x1b6)](_0x4ac0f8=>{var _0x124ccf=_0x52c74d,_0x19a411;typeof _0x4ac0f8>'u'||(this['_socket']=_0x4ac0f8,_0x4ac0f8?(this[_0x124ccf(0xfa)](_0x4ac0f8),this['_socketMessageSubscription']=_0x4ac0f8[_0x124ccf(0x295)][_0x124ccf(0x1b6)](_0x4e23dc=>{var _0x2d2480=_0x124ccf;_0x4e23dc[_0x2d2480(0x27f)]===this[_0x2d2480(0x21f)]&&this['_onCombEvent'](_0x4e23dc);})):(this[_0x124ccf(0x30e)](),this['_sessionStatus$'][_0x124ccf(0xea)](0x2),(_0x19a411=this[_0x124ccf(0xd1)])==null||_0x19a411[_0x124ccf(0x204)](),this[_0x124ccf(0xd1)]=null));}));}get[_0x927f58(0x375)](){var _0x39e7f6=_0x927f58;return this[_0x39e7f6(0x17f)][_0x39e7f6(0x108)]();}[_0x927f58(0x141)](){var _0x39e9a9=_0x927f58,_0x5d2018,_0x5bfa81;return(_0x5bfa81=(_0x5d2018=this[_0x39e9a9(0x1ba)])==null?void 0x0:_0x5d2018[_0x39e9a9(0x2ca)])!=null?_0x5bfa81:null;}['dispose'](){var _0x57b746=_0x927f58;super['dispose'](),this[_0x57b746(0x19c)][_0x57b746(0xea)](),this[_0x57b746(0x19c)][_0x57b746(0x96)]();}[_0x927f58(0x132)](){var _0x29831c=_0x927f58,_0x5e0c6f,_0x4a54f1;this[_0x29831c(0x30e)](),(_0x5e0c6f=this[_0x29831c(0x1ba)])==null||_0x5e0c6f[_0x29831c(0x1dd)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x29831c(0x21f)]}}),(_0x4a54f1=this[_0x29831c(0x1ba)])==null||_0x4a54f1['close'](),this[_0x29831c(0x300)][_0x29831c(0x96)](),this['_sessionStatus$']['complete'](),this['dispose']();}['_onCombEvent'](_0x34290a){var _0xb4b42a=_0x927f58;_0x34290a[_0xb4b42a(0x1d4)]===F['JOIN']?this[_0xb4b42a(0x263)](_0x34290a):_0x34290a[_0xb4b42a(0x1d4)]===F['RECV']&&this[_0xb4b42a(0x20b)](_0x34290a);}['_joinRoom'](_0x580338){var _0x5a7069=_0x927f58;this[_0x5a7069(0x17f)][_0x5a7069(0xea)](0x1),_0x580338['send']({'cmd':F[_0x5a7069(0x1da)],'routeKey':this[_0x5a7069(0x21f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5a7069(0x21f)]}]}});}[_0x927f58(0x263)](_0x269258){var _0x8fea83=_0x927f58,_0x79cfe5;if(_0x269258['code']in Yt){this[_0x8fea83(0x288)][_0x8fea83(0x94)]({'id':re['JOIN_ROOM_FAILED'],'data':Yt[_0x269258[_0x8fea83(0x10f)]]}),this[_0x8fea83(0x17f)][_0x8fea83(0xea)](0x2);return;}this[_0x8fea83(0x17f)][_0x8fea83(0xea)](0x3);const _0x2e2411=(_0x79cfe5=_0x269258['data']['roomInfos'][this[_0x8fea83(0x21f)]])==null?void 0x0:_0x79cfe5['members'];_0x2e2411&&_0x2e2411['forEach'](_0x165f49=>this[_0x8fea83(0x291)][_0x8fea83(0x12a)](this[_0x8fea83(0x21f)],_0x165f49));}[_0x927f58(0x20b)](_0x1db6d7){var _0x420841=_0x927f58;try{const _0x241e93=_0x1db6d7[_0x420841(0x359)];switch(_0x241e93[_0x420841(0x1fd)]){case _0x5aa101['USERS_ENTER']:this[_0x420841(0x110)](_0x241e93),this[_0x420841(0x300)][_0x420841(0xea)](_0x241e93);break;case _0x5aa101['USERS_LEAVE']:this['_onUserLeave'](_0x241e93),this['_event$'][_0x420841(0xea)](_0x241e93);break;case _0x5aa101[_0x420841(0xf4)]:case _0x5aa101[_0x420841(0x33a)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x420841(0x2e4)](),this[_0x420841(0x300)][_0x420841(0xea)](_0x241e93);break;case _0x5aa101['MSG_FOR_ERROR']:this['_logService'][_0x420841(0xb9)](_0x420841(0x24b)+JSON[_0x420841(0x178)](_0x241e93)),this[_0x420841(0x300)][_0x420841(0xea)](_0x241e93);break;case _0x5aa101[_0x420841(0x236)]:this['_commentService'][_0x420841(0x266)](_0x241e93['data']),this['_event$']['next'](_0x241e93);break;default:this['_event$'][_0x420841(0xea)](_0x241e93);}}catch(_0x4b511a){this['_logService'][_0x420841(0xb9)](_0x4b511a,_0x1db6d7);}}[_0x927f58(0x110)](_0x21bd75){var _0x4cc91e=_0x927f58;this[_0x4cc91e(0x291)][_0x4cc91e(0x12a)](this['_unitID'],_0x21bd75[_0x4cc91e(0x359)]);}[_0x927f58(0x33f)](_0x4ef382){var _0x5a21e2=_0x927f58;this[_0x5a21e2(0x291)][_0x5a21e2(0x26c)](this['_unitID'],_0x4ef382[_0x5a21e2(0x359)][_0x5a21e2(0x2ca)]);}async[_0x927f58(0x1dd)](_0x58d9c9,_0x2408bb){var _0x142eb6=_0x927f58;if(this[_0x142eb6(0x375)]!==0x3||!this[_0x142eb6(0x1ba)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x58d9c9[_0x142eb6(0x1fd)]===_0x5aa101['SUBMIT_CHANGESET']&&(this[_0x142eb6(0x29d)](),this[_0x142eb6(0x2d2)](_0x58d9c9)),this['_socket'][_0x142eb6(0x1dd)]({'cmd':F[_0x142eb6(0x13e)],'routeKey':_0x2408bb,'routeType':'','data':_0x58d9c9});}catch(_0x3a9373){this['_logService']['error'](_0x3a9373);}}[_0x927f58(0x29d)](){var _0x2f18b3=_0x927f58,_0x301330;this[_0x2f18b3(0x1fa)]=setTimeout(()=>{var _0x52c68b=_0x2f18b3;this[_0x52c68b(0x1fa)]=null,this[_0x52c68b(0x288)]['emitEvent']({'id':re[_0x52c68b(0x10d)]});},(_0x301330=this[_0x2f18b3(0x265)][_0x2f18b3(0x319)](mi))!=null?_0x301330:gi);}['_clearCollaborationTimeoutTimer'](){var _0x3826ea=_0x927f58;this[_0x3826ea(0x1fa)]&&(clearTimeout(this[_0x3826ea(0x1fa)]),this[_0x3826ea(0x1fa)]=null);}[_0x927f58(0x2d2)](_0x2cfaae){var _0x415179=_0x927f58;if(!this[_0x415179(0x1e9)])return;const {data:_0x236571}=_0x2cfaae,{unitID:_0x2d53eb,changeset:_0xa71b4b}=_0x236571,{mutations:_0x5e3f58,type:_0x18cd21}=_0xa71b4b;this[_0x415179(0x2b8)]={'unitId':_0x2d53eb,'type':_0x18cd21,'startTime':performance[_0x415179(0x2fb)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x5e3f58)};}[_0x927f58(0x344)](){var _0x199975=_0x927f58;if(this[_0x199975(0x1e9)]){if(!this[_0x199975(0x2b8)]){this[_0x199975(0x311)][_0x199975(0xb9)](_0x199975(0x138),_0x199975(0x1f4));return;}this[_0x199975(0x2b8)][_0x199975(0x1b5)]=performance[_0x199975(0x2fb)](),this[_0x199975(0x2b8)][_0x199975(0xd0)]=this[_0x199975(0x2b8)][_0x199975(0x1b5)]-this['_telemetryInfo'][_0x199975(0x316)],this[_0x199975(0x1a2)][_0x199975(0x222)](Hn,this[_0x199975(0x2b8)]),this[_0x199975(0x2b8)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x1ee3a4=_0x927f58;this[_0x1ee3a4(0x2b8)]=null;}};Et=Wn([me(0x2,_0x57fa1f),me(0x3,_0x426a21),me(0x4,_0x316925(_0xb7ab)),me(0x5,_0x316925(Le)),me(0x6,_0x316925(Ti)),me(0x7,_0x316925(pe)),me(0x8,_0x37f2ff(_0x52e595))],Et);var Yn=Object['getOwnPropertyDescriptor'],Kn=(_0x229312,_0x1ff983,_0xb09422,_0x13e6d4)=>{var _0x3daff2=_0x927f58;for(var _0x3340b5=_0x13e6d4>0x1?void 0x0:_0x13e6d4?Yn(_0x1ff983,_0xb09422):_0x1ff983,_0x346206=_0x229312[_0x3daff2(0x109)]-0x1,_0x4bbf1b;_0x346206>=0x0;_0x346206--)(_0x4bbf1b=_0x229312[_0x346206])&&(_0x3340b5=_0x4bbf1b(_0x3340b5)||_0x3340b5);return _0x3340b5;},be=(_0x46637b,_0x4bb3c4)=>(_0x560add,_0x31403e)=>_0x4bb3c4(_0x560add,_0x31403e,_0x46637b);let Me=class extends _0x5ef667{constructor(_0x4aec2b,_0x4152f9,_0x5b87cf,_0x38e84e,_0x2ded2a,_0x38674e){var _0x29c852=_0x927f58;super(),N(this,'_socket$',new _0x36f592(void 0x0)),N(this,_0x29c852(0x39d),this[_0x29c852(0x30a)][_0x29c852(0x191)]()),N(this,'_candidateSocket',null),N(this,_0x29c852(0x17c),new Map()),N(this,_0x29c852(0x189),new _0x36f592(Ee[_0x29c852(0xd6)])),N(this,'status$',this[_0x29c852(0x189)][_0x29c852(0x191)]()),N(this,_0x29c852(0x162),!0x1),N(this,_0x29c852(0x2b1)),N(this,'_retryCount',0x0),N(this,_0x29c852(0x37d)),N(this,_0x29c852(0x14d)),(this[_0x29c852(0x33c)]=_0x4aec2b,this['_logService']=_0x4152f9,this['_configService']=_0x5b87cf,this[_0x29c852(0x196)]=_0x38e84e,this[_0x29c852(0x288)]=_0x2ded2a,this['_networkConditionService']=_0x38674e,this['_listenToNetworkCondition']());}get[_0x927f58(0x1ba)](){var _0x50bdb1=_0x927f58;return this['_socket$'][_0x50bdb1(0x108)]();}[_0x927f58(0x1bb)](){var _0x265dce=_0x927f58;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService']['online$'][_0x265dce(0x1b6)](_0x5356e9=>{var _0x49ca42=_0x265dce;_0x5356e9&&!this['_socket']&&this[_0x49ca42(0x1b3)](),_0x5356e9||this[_0x49ca42(0x34b)]();}));}['dispose'](){var _0x48f345=_0x927f58;super[_0x48f345(0x382)](),this[_0x48f345(0x247)](),this[_0x48f345(0xe7)](),this[_0x48f345(0x1a6)](),this[_0x48f345(0x17c)][_0x48f345(0x396)](_0x598155=>_0x598155['dispose']()),this['_sessions']['clear'](),this[_0x48f345(0x189)][_0x48f345(0x96)]();}async[_0x927f58(0x1c2)](_0x5091ee){var _0x5ec7d7=_0x927f58;if(this[_0x5ec7d7(0x17c)]['has'](_0x5091ee))return this[_0x5ec7d7(0x17c)]['get'](_0x5091ee);this[_0x5ec7d7(0x256)]();const _0x37ed60=this[_0x5ec7d7(0x33c)][_0x5ec7d7(0xcd)](Et,_0x5091ee,this['_socket$'][_0x5ec7d7(0x191)]());return this[_0x5ec7d7(0x17c)]['set'](_0x5091ee,_0x37ed60),_0x37ed60;}[_0x927f58(0xa4)](_0x40612c){var _0x5218e2=_0x927f58,_0x46d0bd;const _0x227b26=this[_0x5218e2(0x17c)][_0x5218e2(0x337)](_0x40612c);_0x227b26&&(this[_0x5218e2(0x17c)]['delete'](_0x40612c),_0x227b26[_0x5218e2(0x132)]()),this[_0x5218e2(0x17c)][_0x5218e2(0x2c8)]||(_0x46d0bd=this[_0x5218e2(0x1ba)])==null||_0x46d0bd['close']();}[_0x927f58(0x1b3)](){var _0x462c72=_0x927f58;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x462c72(0x143)]();}[_0x927f58(0x247)](){var _0x2a3a50=_0x927f58;this[_0x2a3a50(0x2b1)]!=null&&(clearTimeout(this[_0x2a3a50(0x2b1)]),this[_0x2a3a50(0x2b1)]=null);}async[_0x927f58(0x136)](){var _0x2a4bc2=_0x927f58,_0x5c482a,_0x3a1199;const _0x207544=this[_0x2a4bc2(0x265)]['getConfig'](In),_0x466b1e=this[_0x2a4bc2(0x265)][_0x2a4bc2(0x319)](q),_0x17da96=(_0x3a1199=(_0x5c482a=_0x466b1e==null?void 0x0:_0x466b1e[_0x2a4bc2(0x2d3)])!=null?_0x5c482a:_0x207544)!=null?_0x3a1199:Tn,_0x32f1c5=await this[_0x2a4bc2(0x196)][_0x2a4bc2(0x28c)](_0x17da96);return this[_0x2a4bc2(0x2da)]=_0x32f1c5,_0x32f1c5;}async[_0x927f58(0x256)](){var _0x4c0a44=_0x927f58,_0x13caaf,_0x14e1e1;try{const _0x53aaea=(_0x14e1e1=(_0x13caaf=this[_0x4c0a44(0x1ba)])!=null?_0x13caaf:this[_0x4c0a44(0x2da)])!=null?_0x14e1e1:await this[_0x4c0a44(0x136)]();if(_0x53aaea){const _0x3409f2=_0x53aaea[_0x4c0a44(0x1dd)];_0x53aaea[_0x4c0a44(0x1dd)]=_0x3ffb4b=>(this[_0x4c0a44(0x278)](),_0x3409f2[_0x4c0a44(0x1e0)](_0x53aaea,[_0x3ffb4b])),_0x53aaea[_0x4c0a44(0x295)][_0x4c0a44(0x1b6)](_0x3a2c05=>this[_0x4c0a44(0xbe)](_0x53aaea,_0x3a2c05)),_0x53aaea[_0x4c0a44(0x2fc)][_0x4c0a44(0x18b)](_0x5d008d(0x1))[_0x4c0a44(0x1b6)](_0x32b351=>this[_0x4c0a44(0x311)][_0x4c0a44(0xb9)]('[CollaborationSessionService]:\x20socket\x20error',_0x32b351)),_0x53aaea[_0x4c0a44(0x2a6)][_0x4c0a44(0x18b)](_0x5d008d(0x1))[_0x4c0a44(0x1b6)](()=>{var _0x4a483c=_0x4c0a44;this[_0x4a483c(0x122)](_0x53aaea);}),_0x53aaea[_0x4c0a44(0x392)]['pipe'](_0x5d008d(0x1))['subscribe'](_0x5dec86=>{var _0x4cbe11=_0x4c0a44;this[_0x4cbe11(0x311)][_0x4cbe11(0x362)](_0x4cbe11(0x314),_0x4cbe11(0x38a),_0x5dec86),this[_0x4cbe11(0x16a)]();});}}catch(_0x5e9f77){this[_0x4c0a44(0x311)][_0x4c0a44(0xb9)](_0x5e9f77),this[_0x4c0a44(0x16a)]();}}['_onConnectionOpen'](_0x320931){var _0x892e13=_0x927f58;this[_0x892e13(0x311)][_0x892e13(0x362)](_0x892e13(0x314),'socket\x20open.'),_0x320931[_0x892e13(0x1dd)]({'cmd':F['HELLO']}),this[_0x892e13(0x278)]();}[_0x927f58(0x34b)](){var _0x7d1a81=_0x927f58;this['_socketReady']=!0x1,this[_0x7d1a81(0x2da)]=null,this['_status$'][_0x7d1a81(0xea)](Ee[_0x7d1a81(0x185)]),this[_0x7d1a81(0x30a)][_0x7d1a81(0xea)](null),this[_0x7d1a81(0xe7)](),this['_clearHeartbeatTimer']();}[_0x927f58(0x16a)](){var _0x28ce84=_0x927f58,_0x48930c;this[_0x28ce84(0x34b)](),this['_retryCount']<((_0x48930c=this[_0x28ce84(0x265)][_0x28ce84(0x319)](On))!=null?_0x48930c:yn)?(this['_collaborationUIEventService']['emitEvent']({'id':re[_0x28ce84(0x22f)]}),this['_tryReconnect']()):this[_0x28ce84(0x288)][_0x28ce84(0x94)]({'id':re[_0x28ce84(0x391)]});}[_0x927f58(0x143)](){var _0x4f671f=_0x927f58,_0x5e5396;const _0x4ff355=this[_0x4f671f(0x249)],_0x4bbd23=this['_configService']['getConfig'](q),_0x4ccbd0=_0x4ff355===0x0?0x0:((_0x5e5396=_0x4bbd23==null?void 0x0:_0x4bbd23[_0x4f671f(0x155)])!=null?_0x5e5396:bn)*0x2**_0x4ff355;this[_0x4f671f(0x2b1)]=setTimeout(()=>{var _0x19ac2c=_0x4f671f;clearTimeout(this['_retryConnectingTimer']),this[_0x19ac2c(0x2b1)]=null,this[_0x19ac2c(0x256)]();},_0x4ccbd0),this['_retryCount']+=0x1;}[_0x927f58(0xbe)](_0x2157f7,_0xc074ff){var _0x3f856a=_0x927f58;const {cmd:_0x557400}=_0xc074ff;_0x557400===F[_0x3f856a(0x341)]&&!this['_socketReady']&&(_0x2157f7[_0x3f856a(0x2ca)]=_0xc074ff['data']['memberID'],this[_0x3f856a(0x30a)]['next'](_0x2157f7),this[_0x3f856a(0x189)]['next'](Ee[_0x3f856a(0x159)]),this[_0x3f856a(0x162)]=!0x0,this[_0x3f856a(0x2da)]=null),_0x557400===F[_0x3f856a(0x157)]&&this[_0x3f856a(0xe7)](),this[_0x3f856a(0x278)]();}[_0x927f58(0x278)](){var _0x5c0704=_0x927f58,_0x3f14a1;this[_0x5c0704(0x1a6)](),this[_0x5c0704(0x37d)]=setTimeout(()=>this[_0x5c0704(0x2c3)](),(_0x3f14a1=this[_0x5c0704(0x265)]['getConfig'](Cn))!=null?_0x3f14a1:Rn);}[_0x927f58(0x2c3)](){var _0x5d2314=_0x927f58;this[_0x5d2314(0x1ba)][_0x5d2314(0x1dd)]({'cmd':F[_0x5d2314(0x157)]}),this[_0x5d2314(0xf3)]();}[_0x927f58(0xf3)](){var _0x5785b5=_0x927f58,_0x15f2da;this[_0x5785b5(0x14d)]=setTimeout(()=>this[_0x5785b5(0x16a)](),(_0x15f2da=this[_0x5785b5(0x265)][_0x5785b5(0x319)](mi))!=null?_0x15f2da:gi);}['_clearHeartbeatTimer'](){var _0x48c1be=_0x927f58;this[_0x48c1be(0x37d)]!=null&&(clearTimeout(this[_0x48c1be(0x37d)]),this[_0x48c1be(0x37d)]=null);}[_0x927f58(0xe7)](){var _0x35f870=_0x927f58;this[_0x35f870(0x14d)]!=null&&(clearTimeout(this[_0x35f870(0x14d)]),this[_0x35f870(0x14d)]=null);}};Me=Kn([be(0x0,_0x316925(_0x16154a)),be(0x1,_0x57fa1f),be(0x2,_0x426a21),be(0x3,Ii),be(0x4,_0x316925(pe)),be(0x5,_0x37f2ff(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V[_0x927f58(0x29f)]((t+0x100)['toString'](0x10)[_0x927f58(0x37a)](0x1));function qn(_0x1f2436,_0x8c48c8=0x0){var _0x2fec71=_0x927f58;return(V[_0x1f2436[_0x8c48c8+0x0]]+V[_0x1f2436[_0x8c48c8+0x1]]+V[_0x1f2436[_0x8c48c8+0x2]]+V[_0x1f2436[_0x8c48c8+0x3]]+'-'+V[_0x1f2436[_0x8c48c8+0x4]]+V[_0x1f2436[_0x8c48c8+0x5]]+'-'+V[_0x1f2436[_0x8c48c8+0x6]]+V[_0x1f2436[_0x8c48c8+0x7]]+'-'+V[_0x1f2436[_0x8c48c8+0x8]]+V[_0x1f2436[_0x8c48c8+0x9]]+'-'+V[_0x1f2436[_0x8c48c8+0xa]]+V[_0x1f2436[_0x8c48c8+0xb]]+V[_0x1f2436[_0x8c48c8+0xc]]+V[_0x1f2436[_0x8c48c8+0xd]]+V[_0x1f2436[_0x8c48c8+0xe]]+V[_0x1f2436[_0x8c48c8+0xf]])[_0x2fec71(0x124)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x46faf2=_0x927f58;if(!ut){if(typeof crypto>'u'||!crypto[_0x46faf2(0x2bb)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x46faf2(0x2bb)][_0x46faf2(0x99)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x927f58(0x2a5)]&&crypto[_0x927f58(0x2a5)][_0x927f58(0x99)](crypto),Kt={'randomUUID':Xn};function Zn(_0x390014,_0x5abe0e,_0xcac1a0){var _0x27a557=_0x927f58,_0x35974d,_0x13218b,_0x42bee9;if(Kt[_0x27a557(0x2a5)]&&!_0x390014)return Kt[_0x27a557(0x2a5)]();_0x390014=_0x390014||{};const _0x2bf02e=(_0x42bee9=(_0x13218b=_0x390014['random'])!=null?_0x13218b:(_0x35974d=_0x390014[_0x27a557(0xe5)])==null?void 0x0:_0x35974d[_0x27a557(0x1e3)](_0x390014))!=null?_0x42bee9:Jn();if(_0x2bf02e[_0x27a557(0x109)]<0x10)throw new Error(_0x27a557(0x21c));return _0x2bf02e[0x6]=_0x2bf02e[0x6]&0xf|0x40,_0x2bf02e[0x8]=_0x2bf02e[0x8]&0x3f|0x80,qn(_0x2bf02e);}const J=_0x48c3c7('collaboration-client.local-cache-service');function Br(_0x4b91f3){var _0x4b6d8c=_0x927f58;return _0x4b6d8c(0x2a4)+_0x4b91f3;}var Qn=Object[_0x927f58(0xf5)],es=(_0x9761,_0x25b7ca,_0x55f4e9,_0x462a51)=>{var _0x4faeea=_0x927f58;for(var _0x55257f=_0x462a51>0x1?void 0x0:_0x462a51?Qn(_0x25b7ca,_0x55f4e9):_0x25b7ca,_0x165b5e=_0x9761[_0x4faeea(0x109)]-0x1,_0x4af70d;_0x165b5e>=0x0;_0x165b5e--)(_0x4af70d=_0x9761[_0x165b5e])&&(_0x55257f=_0x4af70d(_0x55257f)||_0x55257f);return _0x55257f;},dt=(_0x2918ac,_0x105fe7)=>(_0x346a72,_0x12b624)=>_0x105fe7(_0x346a72,_0x12b624,_0x2918ac);function ts(_0x3ddf1f){var _0x1599b9=_0x927f58;const {unitID:_0x7894aa,mutations:_0x57cc77}=_0x3ddf1f;return{'unitId':_0x7894aa,'subUnitId':_0x57cc77[0x0][_0x1599b9(0x19e)]['subUnitId']};}let it=class{constructor(_0x3c8987,_0x57b9ed,_0x25ccd8){var _0x276ff3=_0x927f58;this['_injector']=_0x3c8987,this[_0x276ff3(0x139)]=_0x57b9ed,this['_instanceService']=_0x25ccd8;}['transformSelections'](_0x55243c){var _0x32ea8b=_0x927f58,_0x573e66,_0x5aa8b6,_0xeb0063,_0x290af4;const _0x4ee472=this[_0x32ea8b(0x33c)][_0x32ea8b(0x337)](_0x4a7f04),{unitId:_0x4416e7,subUnitId:_0x4c350f}=ts(_0x55243c),_0x45ceca=_0x4ee472==null?void 0x0:_0x4ee472[_0x32ea8b(0x2cc)](_0x4416e7)['getCurrentSelections'](),_0x5aba7e=(_0x5aa8b6=(_0x573e66=this['_instanceService'][_0x32ea8b(0x231)](_0x4416e7))==null?void 0x0:_0x573e66[_0x32ea8b(0x2b5)]())==null?void 0x0:_0x5aa8b6[_0x32ea8b(0x12e)]();if(_0x45ceca[_0x32ea8b(0x109)]===0x0||!_0x4416e7||!_0x4c350f)return;const _0x1a2371=[{'id':_0x27093f['id'],'params':{'unitId':_0x4416e7,'subUnitId':_0x5aba7e,'selections':_0x42a6f5[_0x32ea8b(0x25a)](_0x45ceca)}}],_0x1e7040=this[_0x32ea8b(0x139)]['transformMutationsWithChangeset'](_0x55243c,_0x1a2371);if(!_0x31b29a(_0x1e7040))throw _0x1e7040[_0x32ea8b(0xb9)];const _0x20f4f5=(_0x290af4=(_0xeb0063=_0x1e7040['m2Prime'][0x0])==null?void 0x0:_0xeb0063[_0x32ea8b(0x19e)])==null?void 0x0:_0x290af4[_0x32ea8b(0x97)];if(Array['isArray'](_0x20f4f5)&&_0x20f4f5[_0x32ea8b(0x109)]){if(_0x20f4f5[_0x32ea8b(0x109)]===_0x1a2371[0x0][_0x32ea8b(0x19e)][_0x32ea8b(0x97)][_0x32ea8b(0x109)]&&_0x20f4f5[_0x32ea8b(0x327)]((_0x2b311c,_0x1dec33)=>_0x30de66[_0x32ea8b(0x25d)](_0x2b311c[_0x32ea8b(0x1db)],_0x1a2371[0x0][_0x32ea8b(0x19e)][_0x32ea8b(0x97)][_0x1dec33][_0x32ea8b(0x1db)])))return;this[_0x32ea8b(0x33c)][_0x32ea8b(0x337)](_0x17cbb8)['executeCommand'](_0x27093f['id'],{'unitId':_0x4416e7,'subUnitId':_0x5aba7e,'selections':_0x20f4f5});}}};it=es([dt(0x0,_0x316925(_0x16154a)),dt(0x1,_0x3a621c),dt(0x2,_0x794611)],it);const ht=_0x48c3c7('univer-pro.collaboration-client.single-active-unit-service');var Ci=(_0x2ea40d=>(_0x2ea40d[_0x2ea40d[_0x927f58(0x37f)]=0x0]=_0x927f58(0x37f),_0x2ea40d[_0x2ea40d[_0x927f58(0x361)]=0x1]='OTHER_CLIENTS_EDITING',_0x2ea40d))(Ci||{});const is=new Set([_0x2d8f21['id']]);function qt(_0x9a32f9,_0x37050a,_0x1b142e,_0xce2690,_0x29aaa0){var _0x517253=_0x927f58,_0x94c0ea,_0x4192e8,_0x15587c,_0x478234;const _0x1f0e7e=[];for(const _0xb31edb of _0x9a32f9)if(is[_0x517253(0x23f)](_0xb31edb['id'])){if(_0x1f0e7e[_0x517253(0x109)]>0x0)break;_0x1f0e7e[_0x517253(0x29f)](_0xb31edb);break;}else _0x1f0e7e[_0x517253(0x29f)](_0xb31edb);const _0x1222a0=(_0x4192e8=(_0x94c0ea=_0x29aaa0[_0x517253(0xee)]())==null?void 0x0:_0x94c0ea[_0x517253(0x18d)])!=null?_0x4192e8:'unknown',_0x50a52e=(_0x478234=(_0x15587c=_0x29aaa0[_0x517253(0xee)]())==null?void 0x0:_0x15587c[_0x517253(0x2ca)])!=null?_0x478234:_0x517253(0x30c);return{'changeset':{'unitID':_0x37050a,'type':_0x474ffd(_0x1b142e[_0x517253(0x1d0)](_0x37050a)),'baseRev':_0xce2690[_0x517253(0x193)](_0x37050a),'revision':0x0,'userID':_0x1222a0,'memberID':_0x50a52e,'mutations':_0x1f0e7e},'pendingMutations':_0x9a32f9[_0x517253(0x37a)](_0x1f0e7e['length'])};}function ns(_0x2bb230,_0x5a5038,_0xf61556,_0x397685,_0x360ca4){var _0x40af6b=_0x927f58,_0x57a2a8,_0x230845,_0x2df093,_0x5ed874;const _0x28e4d1=[_0x2bb230[_0x40af6b(0x307)]((_0x4d51bd,_0xb5c6e2)=>{var _0x940b3f=_0x40af6b,_0x2299fd;const {id:_0x1d5146}=_0x4d51bd,{id:_0x41eef5,type:_0x5d3293}=_0xb5c6e2,_0x2971b8=(_0x2299fd=_0x4d51bd[_0x940b3f(0x19e)])!=null?_0x2299fd:{'actions':null},_0x2cbee3=_0xb5c6e2['params'];if(_0x1d5146&&_0x1d5146!==_0x41eef5)throw new Error(_0x940b3f(0x13f)+_0x1d5146+'\x20-\x20'+_0x41eef5+'.');return{..._0x4d51bd,'id':_0x41eef5,'type':_0x5d3293,'params':{'unitId':_0x2cbee3[_0x940b3f(0x18c)],'textRanges':_0x2cbee3[_0x940b3f(0x39f)],'actions':_0x1c064b[_0x940b3f(0x28a)](_0x2971b8[_0x940b3f(0x2ea)],_0x2cbee3[_0x940b3f(0x2ea)])}};},{})],_0x295e9a=(_0x230845=(_0x57a2a8=_0x360ca4['getCurrentUser']())==null?void 0x0:_0x57a2a8[_0x40af6b(0x18d)])!=null?_0x230845:'unknown',_0x5a5b00=(_0x5ed874=(_0x2df093=_0x360ca4[_0x40af6b(0xee)]())==null?void 0x0:_0x2df093[_0x40af6b(0x2ca)])!=null?_0x5ed874:_0x40af6b(0x30c);return{'changeset':{'unitID':_0x5a5038,'type':_0x474ffd(_0xf61556[_0x40af6b(0x1d0)](_0x5a5038)),'baseRev':_0x397685['getCurrentRevOfUnit'](_0x5a5038),'revision':0x0,'userID':_0x295e9a,'memberID':_0x5a5b00,'mutations':_0x28e4d1},'pendingMutations':[]};}function Ri(_0x3a5087,_0x15bbb9){var _0x89ab25=_0x927f58;const _0x2b6511=new _0x1fc119(0x1);return setTimeout(()=>_0x2b6511[_0x89ab25(0xea)](_0x15bbb9),_0x3a5087),_0x2b6511[_0x89ab25(0x191)]()[_0x89ab25(0x18b)](_0x25840c(0x1));}const ss={'id':_0x327294['id'],'type':_0x33408f[_0x927f58(0x1aa)],'params':{}};var rs=Object[_0x927f58(0xf5)],Te=(_0x889706,_0x371741,_0x64d5ea,_0x243e88)=>{for(var _0xb36423=_0x243e88>0x1?void 0x0:_0x243e88?rs(_0x371741,_0x64d5ea):_0x371741,_0xb175d3=_0x889706['length']-0x1,_0x19cccf;_0xb175d3>=0x0;_0xb175d3--)(_0x19cccf=_0x889706[_0xb175d3])&&(_0xb36423=_0x19cccf(_0xb36423)||_0xb36423);return _0xb36423;},P=(_0x49a295,_0x24d019)=>(_0x197cd3,_0x308442)=>_0x24d019(_0x197cd3,_0x308442,_0x49a295),bi=(_0x47424d=>(_0x47424d[_0x927f58(0x264)]=_0x927f58(0x20e),_0x47424d[_0x927f58(0xe1)]=_0x927f58(0xe4),_0x47424d[_0x927f58(0x299)]=_0x927f58(0x10e),_0x47424d['AWAITING']=_0x927f58(0x334),_0x47424d[_0x927f58(0x100)]=_0x927f58(0x350),_0x47424d['FETCH_MISS']='fetch_missing',_0x47424d[_0x927f58(0x216)]=_0x927f58(0x298),_0x47424d[_0x927f58(0x185)]=_0x927f58(0x20f),_0x47424d))(bi||{});const Oi=0xea60;class Ce{constructor(_0x3197ab,_0x12ef25,_0x4c02f8,_0x3160f3,_0x55153e,_0x382931,_0x3d77c1,_0x44090f,_0xecd2d8){var _0x550902=_0x927f58;N(this,_0x550902(0x170),null),N(this,_0x550902(0x246),[]),(this[_0x550902(0x113)]=_0x3197ab,this[_0x550902(0x160)]=_0x12ef25,this[_0x550902(0x169)]=_0x55153e,this[_0x550902(0x182)]=_0x382931,this[_0x550902(0x2f6)]=_0x3d77c1,this['_revisionService']=_0x44090f,this[_0x550902(0x34a)]=_0xecd2d8,this['_awaitingChangeset']=_0x4c02f8,this[_0x550902(0x246)]=_0x3160f3);}[_0x927f58(0x114)](_0x56a3ba){var _0x20ba1b=_0x927f58;const _0x147542=this[_0x20ba1b(0x15c)][_0x20ba1b(0x193)](this['unitID']);return _0x56a3ba[_0x20ba1b(0x1c4)]>_0x147542+0x1?(this[_0x20ba1b(0x169)][_0x20ba1b(0x24e)]({'from':_0x147542,'to':_0x56a3ba['revision']-0x1}),!0x0):!0x1;}[_0x927f58(0x203)](_0x3b7ef4){var _0x153267=_0x927f58;this[_0x153267(0x2f6)][_0x153267(0x1b4)](this['unitID'],_0x3b7ef4);}[_0x927f58(0x27a)](_0x38ab75){var _0x5d382c=_0x927f58,_0x7b6f2a,_0x1f979d;(_0x1f979d=(_0x7b6f2a=this[_0x5d382c(0x169)])[_0x5d382c(0xb5)])==null||_0x1f979d['call'](_0x7b6f2a,_0x38ab75);}[_0x927f58(0x15d)](_0x463e4c){var _0x40e3a9=_0x927f58,_0x4890b7,_0x5bf224;return(_0x5bf224=(_0x4890b7=this[_0x40e3a9(0x169)])[_0x40e3a9(0x181)])==null?void 0x0:_0x5bf224[_0x40e3a9(0x1e3)](_0x4890b7,_0x463e4c);}['_transformStateCache'](_0x349ea9){var _0x42fcd1=_0x927f58,_0x354da1,_0xf70369;return(_0xf70369=(_0x354da1=this[_0x42fcd1(0x169)])[_0x42fcd1(0xaf)])==null?void 0x0:_0xf70369[_0x42fcd1(0x1e3)](_0x354da1,_0x349ea9);}[_0x927f58(0x1d9)](_0x27147e){var _0x276dc5=_0x927f58,_0x384714,_0x1b556e,_0x55a07f;return(_0x55a07f=(_0x1b556e=(_0x384714=this['_handler'])[_0x276dc5(0xf7)])==null?void 0x0:_0x1b556e[_0x276dc5(0x1e3)](_0x384714,_0x27147e))!=null?_0x55a07f:_0x27147e;}[_0x927f58(0x2e6)](_0x5f0a09){var _0x3e660b=_0x927f58,_0x80ba71,_0xf96e23,_0x34ca76;return(_0x34ca76=(_0xf96e23=(_0x80ba71=this[_0x3e660b(0x169)])[_0x3e660b(0x2ec)])==null?void 0x0:_0xf96e23[_0x3e660b(0x1e3)](_0x80ba71,_0x5f0a09))!=null?_0x34ca76:_0x5f0a09;}[_0x927f58(0x30b)](_0x31b88a){var _0x16a30f=_0x927f58,_0x27b4d0,_0x55051f;if(this['type']===Q['UNIVER_DOC']){const {unitID:_0x552b01,mutations:_0x321f99,memberID:_0x435c84}=_0x31b88a,_0x2c4c51=_0x321f99[0x0][_0x16a30f(0x19e)]['textRanges'];Array[_0x16a30f(0xae)](_0x2c4c51)&&_0x2c4c51[_0x16a30f(0x109)]>0x0&&((_0x55051f=(_0x27b4d0=this[_0x16a30f(0x169)])[_0x16a30f(0x17a)])==null||_0x55051f[_0x16a30f(0x1e3)](_0x27b4d0,{'unitID':_0x552b01,'memberID':_0x435c84,'textRanges':_0x2c4c51}));}}['_updateLocalCache'](){var _0x2430fe=_0x927f58,_0x24e393;(_0x24e393=this[_0x2430fe(0x34a)])==null||_0x24e393['updateOfflineData'](this['unitID'],this[_0x2430fe(0x160)],this[_0x2430fe(0x170)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x37f90c=_0x927f58;return this[_0x37f90c(0x15c)][_0x37f90c(0x193)](this['unitID']);}['_incrementRevisionNumber'](){var _0x44058b=_0x927f58;this[_0x44058b(0x15c)][_0x44058b(0xd4)](this[_0x44058b(0x113)]);}[_0x927f58(0xf2)](_0xd7a2a3){var _0x111e7b=_0x927f58,_0x58b9f6;let _0x11b074=this['_transformRemoteChangesetByIMECache'](_0xd7a2a3);_0x11b074=this[_0x111e7b(0x2e6)](_0x11b074);const _0x432139=_0x47d228(_0x11b074['mutations'],this[_0x111e7b(0x182)],{'fromCollab':!0x0});if(!_0x432139[_0x111e7b(0x36c)])throw _0x432139['error']instanceof Error?_0x432139[_0x111e7b(0xb9)]:new Error((_0x58b9f6=_0x432139[_0x111e7b(0xb9)])!=null?_0x58b9f6:_0x111e7b(0x238));this['_transformIMECache'](_0x11b074),this[_0x111e7b(0x95)](_0x11b074),this[_0x111e7b(0x203)](_0xd7a2a3),this[_0x111e7b(0x27a)](_0x11b074),this[_0x111e7b(0x30b)](_0x11b074),this[_0x111e7b(0x224)]();}}let Ne=class extends Ce{constructor(_0x2f2f2d,_0xd5ff96,_0x335cf6,_0x42c89c,_0x5a1311,_0xe3f32b,_0x2e3bb0,_0xf71f47,_0x2ab318,_0x57c690){var _0x59887f=_0x927f58;super(_0x2f2f2d,_0xd5ff96,null,[],_0x335cf6,_0x2e3bb0,_0xe3f32b,_0x42c89c,_0x57c690),N(this,_0x59887f(0x26d),'synced'),(this[_0x59887f(0x33c)]=_0x5a1311,this[_0x59887f(0x311)]=_0xf71f47,this[_0x59887f(0x139)]=_0x2ab318,this[_0x59887f(0x2af)]=_0x57c690);}[_0x927f58(0x213)](_0x3e4e95){var _0x4a3f50=_0x927f58;const _0x12d859=this[_0x4a3f50(0x33c)]['createInstance'](ae,this[_0x4a3f50(0x113)],this['type'],[_0x3e4e95],this[_0x4a3f50(0x169)]);return _0x12d859[_0x4a3f50(0x372)](),_0x12d859['_updateLocalCache'](),_0x12d859;}[_0x927f58(0x287)](_0xd18cda){var _0x28adbc=_0x927f58;if(this[_0x28adbc(0x114)](_0xd18cda))return this['_injector'][_0x28adbc(0xcd)](ee,this[_0x28adbc(0x113)],this[_0x28adbc(0x160)],null,[],null,[_0xd18cda],this[_0x28adbc(0x169)]);try{const _0x3f1016=this[_0x28adbc(0x139)][_0x28adbc(0x227)](_0xd18cda,[ss]);if(_0x31b29a(_0x3f1016)){const {c1Prime:_0x12a830}=_0x3f1016;return this[_0x28adbc(0xf2)](_0x12a830),this;}throw _0x3f1016[_0x28adbc(0xb9)];}catch(_0x296fc7){return this[_0x28adbc(0x311)]['error'](_0x296fc7),this[_0x28adbc(0x36b)](!0x1);}}[_0x927f58(0x36b)](_0x3bf8aa){var _0xc20ff7=_0x927f58;return this[_0xc20ff7(0x33c)][_0xc20ff7(0xcd)](ue,this['unitID'],this[_0xc20ff7(0x160)],null,[],this[_0xc20ff7(0x169)],_0x3bf8aa);}[_0x927f58(0x25b)](){var _0x39fbd7=_0x927f58;throw new Error(_0x39fbd7(0x2c9));}[_0x927f58(0x18f)](){var _0x5f24f8=_0x927f58;throw new Error(_0x5f24f8(0x348));}[_0x927f58(0x338)](){return this;}[_0x927f58(0x35e)](){var _0x87c8e6=_0x927f58;return this['_injector'][_0x87c8e6(0xcd)](de,this['unitID'],this[_0x87c8e6(0x160)],null,[],this[_0x87c8e6(0x169)]);}['toggleOnline'](){return this;}[_0x927f58(0x260)](){var _0x242aed=_0x927f58;throw new Error(_0x242aed(0x26a));}['fetchMiss'](){var _0x318d53=_0x927f58;const _0x6098df=this[_0x318d53(0x15c)][_0x318d53(0x193)](this['unitID']);return this[_0x318d53(0x169)][_0x318d53(0x24e)]({'from':_0x6098df,'to':0x0}),this[_0x318d53(0x33c)][_0x318d53(0xcd)](ee,this[_0x318d53(0x113)],this['type'],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x316925(_0x47f2cf)),P(0x4,_0x316925(_0x16154a)),P(0x5,_0x14a9c2),P(0x6,_0x17cbb8),P(0x7,_0x57fa1f),P(0x8,_0x3a621c),P(0x9,_0x37f2ff(J))],Ne);let ae=class extends Ce{constructor(_0x1b04b0,_0x356852,_0x1a29ac,_0xc7003f,_0x401b1d,_0x5a9ba0,_0x35ef37,_0x3a15bb,_0xa8615b,_0xf20e60,_0x24d53e,_0x29fc25,_0x2f5fae,_0x41a6a5){var _0x11411d=_0x927f58;super(_0x1b04b0,_0x356852,null,_0x1a29ac,_0xc7003f,_0xa8615b,_0x2f5fae,_0x5a9ba0,_0x41a6a5),N(this,_0x11411d(0x26d),_0x11411d(0x10e)),N(this,_0x11411d(0x15b),null),N(this,_0x11411d(0x27d),null),(this[_0x11411d(0x33c)]=_0x401b1d,this[_0x11411d(0x291)]=_0x35ef37,this[_0x11411d(0x311)]=_0x3a15bb,this[_0x11411d(0x265)]=_0xf20e60,this[_0x11411d(0x139)]=_0x24d53e,this['_univerInstanceService']=_0x29fc25);}['appendMutation'](_0x4e862a){var _0x38de6c=_0x927f58;return this[_0x38de6c(0x246)][_0x38de6c(0x29f)](_0x4e862a),this[_0x38de6c(0xc1)](),this;}[_0x927f58(0x287)](_0x52e7a7){var _0xccceae=_0x927f58;if(this[_0xccceae(0x114)](_0x52e7a7))return this[_0xccceae(0xb1)](),this[_0xccceae(0x33c)][_0xccceae(0xcd)](ee,this[_0xccceae(0x113)],this[_0xccceae(0x160)],null,this[_0xccceae(0x246)],null,[_0x52e7a7],this[_0xccceae(0x169)]);try{const _0x1d9e8d=this[_0xccceae(0x139)]['transformMutationsWithChangeset'](_0x52e7a7,this['_pendingMutations']);if(_0x31b29a(_0x1d9e8d)){const {c1Prime:_0x4df0c2,m2Prime:_0x23a76e}=_0x1d9e8d;this[_0xccceae(0xf2)](_0x4df0c2);const _0x55585a=this[_0xccceae(0x33c)][_0xccceae(0xcd)](ae,this[_0xccceae(0x113)],this[_0xccceae(0x160)],_0x23a76e,this['_handler']);this['_clearScheduledTask']();const _0x5b5730=new Date()[_0xccceae(0x305)](),_0x8e9542=this['_scheduleCompleteTimestamp']?Math[_0xccceae(0xce)](this[_0xccceae(0x15b)]-_0x5b5730,0x0):this[_0xccceae(0x1a1)]();return _0x55585a[_0xccceae(0x372)](_0x8e9542),_0x55585a;}throw _0x1d9e8d['error'];}catch(_0x5e1504){return this[_0xccceae(0x311)][_0xccceae(0xb9)](_0x5e1504),this[_0xccceae(0x36b)](!0x1);}}['onRemoteAck'](){var _0x4680c8=_0x927f58;throw new Error(_0x4680c8(0x116));}[_0x927f58(0x18f)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x927f58(0x338)](){return this;}[_0x927f58(0x35e)](){var _0x220d2b=_0x927f58;return this[_0x220d2b(0xb1)](),this[_0x220d2b(0x33c)][_0x220d2b(0xcd)](de,this['unitID'],this[_0x220d2b(0x160)],null,this[_0x220d2b(0x246)],this[_0x220d2b(0x169)]);}[_0x927f58(0x329)](){return this;}[_0x927f58(0x372)](_0x5e351e){var _0x40cac5=_0x927f58;const _0x4ac701=_0x5e351e!=null?_0x5e351e:this[_0x40cac5(0x1a1)]();this[_0x40cac5(0x15b)]=new Date()[_0x40cac5(0x305)]()+_0x4ac701,this[_0x40cac5(0x27d)]=setTimeout(()=>{var _0x5dc4e7=_0x40cac5;this[_0x5dc4e7(0xb1)]();let _0x246558=null;switch(this['type']){case Q[_0x5dc4e7(0x286)]:{_0x246558=qt(this['_pendingMutations'],this[_0x5dc4e7(0x113)],this[_0x5dc4e7(0x1ab)],this[_0x5dc4e7(0x15c)],this[_0x5dc4e7(0x291)]);break;}case Q[_0x5dc4e7(0x2d6)]:{this[_0x5dc4e7(0x246)]['every'](_0x18c85d=>_0x18c85d['id']===_0x4366cc['id'])?_0x246558=ns(this[_0x5dc4e7(0x246)],this[_0x5dc4e7(0x113)],this[_0x5dc4e7(0x1ab)],this[_0x5dc4e7(0x15c)],this['_memberService']):_0x246558=qt(this['_pendingMutations'],this[_0x5dc4e7(0x113)],this[_0x5dc4e7(0x1ab)],this[_0x5dc4e7(0x15c)],this[_0x5dc4e7(0x291)]);break;}default:throw new Error(_0x5dc4e7(0x137)+this['type']+_0x5dc4e7(0x29b));}const {changeset:_0x452db1,pendingMutations:_0xd25522}=_0x246558;this[_0x5dc4e7(0x169)][_0x5dc4e7(0x1c3)](_0x452db1);const _0x101ecc=_0xd25522[_0x5dc4e7(0x109)]?this[_0x5dc4e7(0x33c)][_0x5dc4e7(0xcd)](oe,this[_0x5dc4e7(0x113)],this[_0x5dc4e7(0x160)],_0x452db1,_0xd25522,this['_handler'],void 0x0):this[_0x5dc4e7(0x33c)][_0x5dc4e7(0xcd)](le,this[_0x5dc4e7(0x113)],this[_0x5dc4e7(0x160)],_0x452db1,this['_handler']);_0x101ecc[_0x5dc4e7(0xc1)](),this[_0x5dc4e7(0x169)][_0x5dc4e7(0x239)](this,_0x101ecc);},_0x4ac701);}[_0x927f58(0x1a1)](){var _0x19d0a6=_0x927f58,_0x25a3f0;const _0x28ce03=this[_0x19d0a6(0x265)]['getConfig'](q);return(_0x25a3f0=_0x28ce03==null?void 0x0:_0x28ce03[_0x19d0a6(0x164)])!=null?_0x25a3f0:En;}[_0x927f58(0x260)](){var _0x12aa52=_0x927f58;throw new Error(_0x12aa52(0x111));}[_0x927f58(0xb1)](){var _0x1b09e9=_0x927f58;this[_0x1b09e9(0x27d)]!=null&&(clearTimeout(this[_0x1b09e9(0x27d)]),this[_0x1b09e9(0x27d)]=null);}['_onConflict'](_0x40d0a6){var _0x54e4d1=_0x927f58;return this[_0x54e4d1(0xb1)](),this[_0x54e4d1(0x33c)][_0x54e4d1(0xcd)](ue,this[_0x54e4d1(0x113)],this['type'],null,this['_pendingMutations'],this[_0x54e4d1(0x169)],_0x40d0a6);}};ae=Te([P(0x4,_0x316925(_0x16154a)),P(0x5,_0x316925(_0x47f2cf)),P(0x6,_0x316925(Le)),P(0x7,_0x57fa1f),P(0x8,_0x17cbb8),P(0x9,_0x426a21),P(0xa,_0x3a621c),P(0xb,_0x794611),P(0xc,_0x14a9c2),P(0xd,_0x37f2ff(J))],ae);let le=class extends Ce{constructor(_0xadf5c4,_0xf5f753,_0x59c928,_0x47f55b,_0x4609b4,_0x4233dd,_0x40244d,_0x5cdbe4,_0xfd7458,_0x45d65e,_0x669374){var _0x588360=_0x927f58;super(_0xadf5c4,_0xf5f753,_0x59c928,[],_0x47f55b,_0x40244d,_0x45d65e,_0x4233dd,_0x669374),N(this,_0x588360(0x26d),_0x588360(0x334)),N(this,_0x588360(0x285),0x0),N(this,_0x588360(0xe6)),N(this,_0x588360(0x11e)),(this[_0x588360(0x33c)]=_0x4609b4,this['_logService']=_0x5cdbe4,this[_0x588360(0x139)]=_0xfd7458);}[_0x927f58(0x213)](_0x2ea600){var _0x125ed1=_0x927f58;this['_clearScheduledTask']();const _0x477dfb=this[_0x125ed1(0x33c)][_0x125ed1(0xcd)](oe,this[_0x125ed1(0x113)],this[_0x125ed1(0x160)],this[_0x125ed1(0x170)],[_0x2ea600],this[_0x125ed1(0x169)],this[_0x125ed1(0xe6)]);return _0x477dfb[_0x125ed1(0xc1)](),_0x477dfb;}['onRemoteChangeset'](_0x2a3c32){var _0x143eb3=_0x927f58;if(this['_checkMissing'](_0x2a3c32))return this[_0x143eb3(0xb1)](),this[_0x143eb3(0x33c)]['createInstance'](ee,this[_0x143eb3(0x113)],this[_0x143eb3(0x160)],this['_awaitingChangeset'],[],null,[_0x2a3c32],this[_0x143eb3(0x169)]);try{const _0x54d73f=this['_transformService'][_0x143eb3(0x190)]([_0x2a3c32],[this[_0x143eb3(0x170)]],!0x1);if(_0x298316(_0x54d73f)){const {c1Prime:_0x91c5e5,c2Prime:_0x527208}=_0x54d73f;this[_0x143eb3(0xf2)](_0x91c5e5[0x0]),_0x527208[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x465ecf=this[_0x143eb3(0x33c)][_0x143eb3(0xcd)](le,this[_0x143eb3(0x113)],this[_0x143eb3(0x160)],_0x527208[0x0],this['_handler']);return _0x465ecf[_0x143eb3(0xc1)](),_0x465ecf;}return this['_onConflict'](!0x1);}catch(_0x47e2a7){return this['_logService'][_0x143eb3(0xb9)](_0x47e2a7),this[_0x143eb3(0x36b)](!0x1);}}[_0x927f58(0x25b)](_0x196ed4){var _0x28b84d=_0x927f58;this['_clearScheduledTask']();const _0x37e6e2=this[_0x28b84d(0x15c)][_0x28b84d(0x193)](this[_0x28b84d(0x113)]);if(_0x196ed4[_0x28b84d(0x1c4)]<_0x37e6e2-0x1)return this;if(this[_0x28b84d(0x114)](_0x196ed4))return this['_injector'][_0x28b84d(0xcd)](ee,this['unitID'],this[_0x28b84d(0x160)],null,[],this['_awaitingChangeset'],[],this[_0x28b84d(0x169)]);this['_incrementRevisionNumber']();const _0x57c01b=this['_injector'][_0x28b84d(0xcd)](Ne,this[_0x28b84d(0x113)],this[_0x28b84d(0x160)],this['_handler']);return _0x57c01b[_0x28b84d(0xc1)](),_0x57c01b;}[_0x927f58(0x18f)](_0x544095){var _0xb6a559=_0x927f58;return this[_0xb6a559(0x36b)](!!(_0x544095!=null&&_0x544095[_0xb6a559(0x1cb)]));}[_0x927f58(0x338)](_0x3dc69e){var _0x480a34=_0x927f58;return this[_0x480a34(0x285)]>Oi?this[_0x480a34(0x35e)]():(this[_0x480a34(0xe6)]=Ri(this[_0x480a34(0x285)],{'timeout':this[_0x480a34(0x285)],'reqId':_0x3dc69e['reqId']}),this[_0x480a34(0x11e)]=this[_0x480a34(0xe6)][_0x480a34(0x1b6)](({reqId:_0x96995,timeout:_0x294afb})=>{var _0x50578b=_0x480a34;this[_0x50578b(0x202)](_0x96995,_0x294afb);}),this);}['toggleOffline'](){var _0x2d6722=_0x927f58;return this[_0x2d6722(0xb1)](),this[_0x2d6722(0x33c)][_0x2d6722(0xcd)](de,this[_0x2d6722(0x113)],this[_0x2d6722(0x160)],this[_0x2d6722(0x170)],[],this['_handler']);}[_0x927f58(0x329)](){return this;}[_0x927f58(0x260)](){var _0x32260b=_0x927f58;this['_handler'][_0x32260b(0x1c3)](this[_0x32260b(0x170)]);}[_0x927f58(0x36b)](_0x307ed1){var _0x37144e=_0x927f58;return this[_0x37144e(0xb1)](),this['_injector'][_0x37144e(0xcd)](ue,this[_0x37144e(0x113)],this[_0x37144e(0x160)],this[_0x37144e(0x170)],[],this[_0x37144e(0x169)],_0x307ed1);}[_0x927f58(0x202)](_0x129a5f,_0x31cce0){var _0x5ecfa5=_0x927f58,_0x1249a8;_0x129a5f===((_0x1249a8=this[_0x5ecfa5(0x170)])==null?void 0x0:_0x1249a8[_0x5ecfa5(0x145)])&&(this[_0x5ecfa5(0x260)](),this[_0x5ecfa5(0x285)]=_0x31cce0===0x0?0x3e8:_0x31cce0*0x2);}[_0x927f58(0xb1)](){var _0x4774af=_0x927f58,_0x500365;(_0x500365=this[_0x4774af(0x11e)])==null||_0x500365[_0x4774af(0x204)](),this[_0x4774af(0x285)]=0x0;}};le=Te([P(0x4,_0x316925(_0x16154a)),P(0x5,_0x316925(_0x47f2cf)),P(0x6,_0x17cbb8),P(0x7,_0x57fa1f),P(0x8,_0x3a621c),P(0x9,_0x14a9c2),P(0xa,_0x37f2ff(J))],le);let oe=class extends Ce{constructor(_0x3f1d77,_0x4bca58,_0x423040,_0x4a0635,_0x4bb5c6,_0x5b106a,_0x4f149d,_0x14bb04,_0x3a9cbc,_0x3c18cd,_0x422194,_0x1b9666,_0x15489a){var _0x55543d=_0x927f58;super(_0x3f1d77,_0x4bca58,_0x423040,_0x4a0635,_0x4bb5c6,_0x3a9cbc,_0x1b9666,_0x14bb04,_0x15489a),N(this,_0x55543d(0x26d),'awaiting_with_pending'),N(this,_0x55543d(0x285),0x0),N(this,_0x55543d(0xe6)),N(this,_0x55543d(0x11e)),(this[_0x55543d(0x33c)]=_0x4f149d,this[_0x55543d(0x311)]=_0x3c18cd,this[_0x55543d(0x139)]=_0x422194,this['localCacheService']=_0x15489a,_0x5b106a&&(this[_0x55543d(0xe6)]=_0x5b106a,this['_sender']=this[_0x55543d(0xe6)][_0x55543d(0x1b6)](({reqId:_0x3040f8,timeout:_0x10cccd})=>{var _0x4fd191=_0x55543d;this[_0x4fd191(0x202)](_0x3040f8,_0x10cccd);})));}['appendMutation'](_0x4ae3de){var _0x3f5f69=_0x927f58;return this[_0x3f5f69(0x246)][_0x3f5f69(0x29f)](_0x4ae3de),this;}[_0x927f58(0x287)](_0x554acc){var _0x4082eb=_0x927f58;if(this['_checkMissing'](_0x554acc))return this[_0x4082eb(0xb1)](),this[_0x4082eb(0x33c)]['createInstance'](ee,this['unitID'],this[_0x4082eb(0x160)],this[_0x4082eb(0x170)],this[_0x4082eb(0x246)],null,[_0x554acc],this[_0x4082eb(0x169)]);try{const _0x4d84be=this[_0x4082eb(0x139)]['transformChangesets']([_0x554acc],[this[_0x4082eb(0x170)]],!0x1);if(_0x298316(_0x4d84be)){const {c1Prime:_0x1a250a,c2Prime:_0x34be1d}=_0x4d84be,_0x1f46ad=this[_0x4082eb(0x139)][_0x4082eb(0x227)](_0x1a250a[0x0],this['_pendingMutations']);if(_0x31b29a(_0x1f46ad)){const {c1Prime:_0x1185e4,m2Prime:_0x30215c}=_0x1f46ad;return this[_0x4082eb(0xf2)](_0x1185e4),_0x34be1d[0x0][_0x4082eb(0x211)]=this[_0x4082eb(0x127)](),this[_0x4082eb(0xb1)](),this[_0x4082eb(0x33c)]['createInstance'](oe,this[_0x4082eb(0x113)],this[_0x4082eb(0x160)],_0x34be1d[0x0],_0x30215c,this['_handler'],void 0x0);}throw _0x1f46ad['error'];}throw _0x4d84be[_0x4082eb(0xb9)];}catch(_0x4b70e1){return this[_0x4082eb(0x311)]['error'](_0x4b70e1),this[_0x4082eb(0x36b)](!0x1);}}[_0x927f58(0x25b)](_0x1050c1){var _0x1b22f1=_0x927f58;if(this[_0x1b22f1(0xb1)](),this['_checkMissing'](_0x1050c1))return this[_0x1b22f1(0x33c)]['createInstance'](ee,this[_0x1b22f1(0x113)],this[_0x1b22f1(0x160)],null,this[_0x1b22f1(0x246)],this['_awaitingChangeset'],[],this[_0x1b22f1(0x169)]);this[_0x1b22f1(0x224)]();const _0x3ffa30=this[_0x1b22f1(0x33c)][_0x1b22f1(0xcd)](ae,this[_0x1b22f1(0x113)],this[_0x1b22f1(0x160)],this[_0x1b22f1(0x246)],this[_0x1b22f1(0x169)]);return _0x3ffa30['_schedule'](),_0x3ffa30[_0x1b22f1(0xc1)](),_0x3ffa30;}[_0x927f58(0x18f)](_0x100c80){var _0x30e258=_0x927f58;return this[_0x30e258(0x36b)](!!(_0x100c80!=null&&_0x100c80[_0x30e258(0x1cb)]));}[_0x927f58(0x338)](_0x3ed041){var _0x30f110=_0x927f58;return this[_0x30f110(0x285)]>Oi?this[_0x30f110(0x35e)]():(this[_0x30f110(0xe6)]=Ri(this[_0x30f110(0x285)],{'timeout':this[_0x30f110(0x285)],'reqId':_0x3ed041[_0x30f110(0x145)]}),this[_0x30f110(0x11e)]=this['_resendTimer']['subscribe'](({reqId:_0x300d45,timeout:_0x557d67})=>{var _0x4699b8=_0x30f110;this[_0x4699b8(0x202)](_0x300d45,_0x557d67);}),this);}[_0x927f58(0x35e)](){var _0xd45ef5=_0x927f58;return this[_0xd45ef5(0xb1)](),this[_0xd45ef5(0x33c)]['createInstance'](de,this[_0xd45ef5(0x113)],this[_0xd45ef5(0x160)],this[_0xd45ef5(0x170)],this[_0xd45ef5(0x246)],this[_0xd45ef5(0x169)]);}[_0x927f58(0x329)](){return this;}['resend'](){var _0x3145b5=_0x927f58;this['_handler']['onSendChangeset'](this[_0x3145b5(0x170)]);}[_0x927f58(0x36b)](_0x33ebf4){var _0x2c3613=_0x927f58;return this['_clearScheduledTask'](),this[_0x2c3613(0x33c)][_0x2c3613(0xcd)](ue,this['unitID'],this[_0x2c3613(0x160)],null,this[_0x2c3613(0x246)],this[_0x2c3613(0x169)],_0x33ebf4);}['_resendWithTimeout'](_0x220e08,_0x398b08){var _0x443a5b=_0x927f58,_0x27b302;_0x220e08===((_0x27b302=this[_0x443a5b(0x170)])==null?void 0x0:_0x27b302[_0x443a5b(0x145)])&&(this['resend'](),this[_0x443a5b(0x285)]=_0x398b08===0x0?0x3e8:_0x398b08*0x2);}['_clearScheduledTask'](){var _0x49f930=_0x927f58,_0x5bc580;(_0x5bc580=this[_0x49f930(0x11e)])==null||_0x5bc580['unsubscribe'](),this['_resendTimeout']=0x0;}};oe=Te([P(0x6,_0x316925(_0x16154a)),P(0x7,_0x316925(_0x47f2cf)),P(0x8,_0x17cbb8),P(0x9,_0x57fa1f),P(0xa,_0x3a621c),P(0xb,_0x14a9c2),P(0xc,_0x37f2ff(J))],oe);let ue=class extends Ce{constructor(_0x51b0f9,_0x3b7f4c,_0x11d419,_0x58b227,_0x3e98a1,_0x141956=!0x1,_0x1682e4,_0x343fa6,_0x23c91e,_0x24b64d,_0x2f9ac8,_0x6ea9fe,_0x283977){var _0x2a6708=_0x927f58;super(_0x51b0f9,_0x3b7f4c,_0x11d419,_0x58b227,_0x3e98a1,_0x343fa6,_0x23c91e,_0x24b64d,_0x283977),N(this,'status',_0x2a6708(0x298)),(this[_0x2a6708(0x228)]=_0x141956,this[_0x2a6708(0xc4)]=_0x1682e4,this[_0x2a6708(0x385)]=_0x2f9ac8,this[_0x2a6708(0x288)]=_0x6ea9fe,this[_0x2a6708(0x2af)]=_0x283977,this[_0x2a6708(0x166)](),this[_0x2a6708(0x378)](),this['_disableEditing']());}[_0x927f58(0x213)](){return this;}[_0x927f58(0x287)](){return this;}['onRemoteAck'](){return this;}[_0x927f58(0x18f)](){return this;}[_0x927f58(0x338)](){return this;}['toggleOffline'](){return this;}[_0x927f58(0x329)](){return this;}[_0x927f58(0x260)](){var _0x172723=_0x927f58;throw new Error(_0x172723(0x2d5));}['_clearLocalCache'](){var _0x4b34f0=_0x927f58,_0x4b6415;(_0x4b6415=this[_0x4b34f0(0x34a)])==null||_0x4b6415[_0x4b34f0(0x101)](this[_0x4b34f0(0x113)],this[_0x4b34f0(0x160)],null,[]);}[_0x927f58(0x166)](){var _0x4ddde9=_0x927f58;this[_0x4ddde9(0x228)]?this[_0x4ddde9(0x288)][_0x4ddde9(0x94)]({'id':re['PERMISSION_DENIED']}):this[_0x4ddde9(0x288)][_0x4ddde9(0x94)]({'id':re[_0x4ddde9(0x216)]});}[_0x927f58(0x128)](){var _0x3e953a=_0x927f58;this[_0x3e953a(0xc4)][_0x3e953a(0x1d2)](new _0x3f9a73(this[_0x3e953a(0x113)])['id'],!0x1);}};ue=Te([P(0x6,_0x316925(_0x335c65)),P(0x7,_0x17cbb8),P(0x8,_0x14a9c2),P(0x9,_0x316925(_0x47f2cf)),P(0xa,_0x316925(_0xb7ab)),P(0xb,_0x316925(pe)),P(0xc,_0x37f2ff(J))],ue);let de=class extends Ce{constructor(_0x23f10e,_0x33e8c0,_0x289021,_0x30e52e,_0x486fa8,_0x201e3d,_0x106276,_0x5ace5c,_0x1e262b,_0x43502b){var _0x16c54d=_0x927f58;super(_0x23f10e,_0x33e8c0,_0x289021,_0x30e52e,_0x486fa8,_0x5ace5c,_0x1e262b,_0x106276,_0x43502b),N(this,_0x16c54d(0x26d),'offline'),this['_injector']=_0x201e3d;}[_0x927f58(0x213)](_0x39f93e){var _0x2a9e3f=_0x927f58;return this[_0x2a9e3f(0x246)]['push'](_0x39f93e),this[_0x2a9e3f(0xc1)](),this;}[_0x927f58(0x287)](_0xfd7d05){var _0x3e055c=_0x927f58;throw new Error(_0x3e055c(0x2c5));}[_0x927f58(0x25b)](){var _0x397a28=_0x927f58;throw new Error(_0x397a28(0x229));}[_0x927f58(0x18f)](){var _0x1edaf7=_0x927f58;throw new Error(_0x1edaf7(0x188));}[_0x927f58(0x338)](){return this;}[_0x927f58(0x35e)](){return this;}[_0x927f58(0x329)](){var _0xee77e6=_0x927f58;const {_injector:_0x244b4a,_pendingMutations:_0x22116a,_awaitingChangeset:_0x3a5d96,unitID:_0x266a8e,_handler:_0x5c1d7f,type:_0x5f29f3}=this,_0x2304ee=yi(_0x244b4a,_0x266a8e,_0x5f29f3,_0x3a5d96,_0x22116a,_0x5c1d7f);return _0x2304ee instanceof ae?_0x2304ee[_0xee77e6(0x372)]():(_0x2304ee instanceof oe||_0x2304ee instanceof le)&&_0x2304ee[_0xee77e6(0x260)](),_0x2304ee;}[_0x927f58(0x260)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x316925(_0x16154a)),P(0x6,_0x316925(_0x47f2cf)),P(0x7,_0x17cbb8),P(0x8,_0x14a9c2),P(0x9,_0x37f2ff(J))],de);let ee=class extends Ce{constructor(_0x119866,_0x3cb616,_0x200832,_0x7842d,_0xe1daa1,_0x4b1519,_0x34621b,_0x172eed,_0x2dbfd3,_0x3c5e3a,_0x18dade,_0x33f822,_0x3f4078,_0x4369c3){var _0x5cdaaa=_0x927f58;super(_0x119866,_0x3cb616,_0x200832,_0x7842d,_0x34621b,_0x18dade,_0x33f822,_0x2dbfd3,_0x4369c3),N(this,_0x5cdaaa(0x26d),_0x5cdaaa(0x207)),(this[_0x5cdaaa(0x131)]=_0xe1daa1,this['_queuedRemoteChangesets']=_0x4b1519,this[_0x5cdaaa(0x33c)]=_0x172eed,this[_0x5cdaaa(0x311)]=_0x3c5e3a,this[_0x5cdaaa(0x139)]=_0x3f4078,this[_0x5cdaaa(0x2af)]=_0x4369c3);}[_0x927f58(0xa9)](_0x26f056){var _0x5387f3=_0x927f58;try{const _0x2a9274=[..._0x26f056,...this[_0x5387f3(0x200)]],_0x2e18a8=[this[_0x5387f3(0x170)]||this[_0x5387f3(0x131)]]['filter'](_0x375d70=>!!_0x375d70);let _0x1e0380,_0x4ab384;if(_0x2e18a8[_0x5387f3(0x109)]){const _0x17d023=this[_0x5387f3(0x139)][_0x5387f3(0x190)](_0x2a9274,_0x2e18a8,!0x1);if(!_0x298316(_0x17d023))throw _0x17d023[_0x5387f3(0xb9)];_0x1e0380=_0x17d023['c1Prime'],_0x4ab384=_0x17d023[_0x5387f3(0x2f4)];}else _0x1e0380=_0x2a9274,_0x4ab384=[];let _0x23d1be=this[_0x5387f3(0x246)];_0x1e0380[_0x5387f3(0x396)](_0x248847=>{var _0x5323ac=_0x5387f3;let _0x55cdce;if(_0x23d1be[_0x5323ac(0x109)]){const _0x4d1a62=this[_0x5323ac(0x139)]['transformMutationsWithChangeset'](_0x248847,_0x23d1be);if(!_0x31b29a(_0x4d1a62))throw _0x4d1a62[_0x5323ac(0xb9)];_0x55cdce=_0x4d1a62[_0x5323ac(0x340)],_0x23d1be=_0x4d1a62[_0x5323ac(0x1e8)];}else _0x55cdce=_0x248847;this[_0x5323ac(0xf2)](_0x55cdce);}),this[_0x5387f3(0x131)]&&this[_0x5387f3(0x224)](),this[_0x5387f3(0x170)]&&_0x4ab384[_0x5387f3(0x109)]&&(_0x4ab384[0x0]['baseRev']=this['_getCurrentRevision']());let _0x9c2a23;if(this[_0x5387f3(0x170)]&&_0x23d1be[_0x5387f3(0x109)]!==0x0)_0x9c2a23=this[_0x5387f3(0x33c)][_0x5387f3(0xcd)](oe,this[_0x5387f3(0x113)],this[_0x5387f3(0x160)],_0x4ab384[0x0],_0x23d1be,this[_0x5387f3(0x169)],void 0x0);else{if(this[_0x5387f3(0x170)]&&_0x23d1be['length']===0x0)_0x4ab384[0x0][_0x5387f3(0x211)]=this[_0x5387f3(0x127)](),_0x9c2a23=this[_0x5387f3(0x33c)][_0x5387f3(0xcd)](le,this[_0x5387f3(0x113)],this[_0x5387f3(0x160)],_0x4ab384[0x0],this[_0x5387f3(0x169)]);else{if(_0x23d1be[_0x5387f3(0x109)]!==0x0){const _0x352f53=this[_0x5387f3(0x33c)][_0x5387f3(0xcd)](ae,this[_0x5387f3(0x113)],this[_0x5387f3(0x160)],_0x23d1be,this[_0x5387f3(0x169)]);_0x352f53[_0x5387f3(0x372)](),_0x9c2a23=_0x352f53;}else _0x9c2a23=this['_injector'][_0x5387f3(0xcd)](Ne,this[_0x5387f3(0x113)],this[_0x5387f3(0x160)],this['_handler']);}}return _0x9c2a23[_0x5387f3(0xc1)](),_0x9c2a23;}catch(_0x3ff690){return this[_0x5387f3(0x311)][_0x5387f3(0xb9)](_0x5387f3(0xd9),_0x5387f3(0x167),_0x3ff690),this[_0x5387f3(0x33c)]['createInstance'](ue,this[_0x5387f3(0x113)],this[_0x5387f3(0x160)],this['_awaitingChangeset'],this[_0x5387f3(0x246)],this[_0x5387f3(0x169)],!0x1);}}[_0x927f58(0x260)](){var _0x3591c3=_0x927f58;throw new Error(_0x3591c3(0x364));}[_0x927f58(0x213)](_0x3c99e5){var _0xc4074a=_0x927f58;return this[_0xc4074a(0x246)][_0xc4074a(0x29f)](_0x3c99e5),this;}[_0x927f58(0x287)](_0x3f9a50){var _0x1069c7=_0x927f58;return this['_queuedRemoteChangesets'][_0x1069c7(0x29f)](_0x3f9a50),this;}[_0x927f58(0x25b)](_0x1591d4){var _0x457edc=_0x927f58;if(this[_0x457edc(0x170)])return this[_0x457edc(0x131)]=this[_0x457edc(0x170)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x927f58(0x18f)](_0x2095d4){var _0x3a05d1=_0x927f58;return this[_0x3a05d1(0x36b)](!!(_0x2095d4!=null&&_0x2095d4[_0x3a05d1(0x1cb)]));}[_0x927f58(0x338)](){return this;}[_0x927f58(0x35e)](){var _0x3d8cca=_0x927f58;return this[_0x3d8cca(0x33c)][_0x3d8cca(0xcd)](de,this[_0x3d8cca(0x113)],this[_0x3d8cca(0x160)],this[_0x3d8cca(0x170)],this[_0x3d8cca(0x246)],this[_0x3d8cca(0x169)]);}['toggleOnline'](){return this;}[_0x927f58(0x36b)](_0x478ab0){var _0x232e3b=_0x927f58;return this['_injector'][_0x232e3b(0xcd)](ue,this[_0x232e3b(0x113)],this[_0x232e3b(0x160)],this[_0x232e3b(0x170)],this['_pendingMutations'],this['_handler'],_0x478ab0);}};ee=Te([P(0x7,_0x316925(_0x16154a)),P(0x8,_0x316925(_0x47f2cf)),P(0x9,_0x57fa1f),P(0xa,_0x17cbb8),P(0xb,_0x14a9c2),P(0xc,_0x3a621c),P(0xd,_0x37f2ff(J))],ee);function yi(_0x4a0496,_0x4ad800,_0x5f4b18,_0x49daf2,_0xc03285,_0x424eaa){var _0x489e67=_0x927f58;return _0x49daf2&&_0xc03285[_0x489e67(0x109)]?_0x4a0496[_0x489e67(0xcd)](oe,_0x4ad800,_0x5f4b18,_0x49daf2,_0xc03285,_0x424eaa,void 0x0):_0x49daf2?_0x4a0496[_0x489e67(0xcd)](le,_0x4ad800,_0x5f4b18,_0x49daf2,_0x424eaa):_0xc03285['length']?_0x4a0496[_0x489e67(0xcd)](ae,_0x4ad800,_0x5f4b18,_0xc03285,_0x424eaa):_0x4a0496[_0x489e67(0xcd)](Ne,_0x4ad800,_0x5f4b18,_0x424eaa);}var as=Object['getOwnPropertyDescriptor'],Lt=(_0x5d8987,_0x49b840,_0x292bb8,_0x280683)=>{var _0x147c10=_0x927f58;for(var _0x29c4f6=_0x280683>0x1?void 0x0:_0x280683?as(_0x49b840,_0x292bb8):_0x49b840,_0x328b77=_0x5d8987[_0x147c10(0x109)]-0x1,_0x164480;_0x328b77>=0x0;_0x328b77--)(_0x164480=_0x5d8987[_0x328b77])&&(_0x29c4f6=_0x164480(_0x29c4f6)||_0x29c4f6);return _0x29c4f6;},H=(_0xd829f7,_0x4fb076)=>(_0x33b794,_0x3e71c4)=>_0x4fb076(_0x33b794,_0x3e71c4,_0xd829f7);let nt=class extends _0x7c0126{constructor(_0x294cf4,_0x514837,_0x4ff2a8,_0xed260,_0xa50792,_0x475729,_0x4f9987,_0x1f8b5e,_0x1a4980,_0x56aa19,_0x40b032,_0xedd336,_0x2fc95e){var _0x573c19=_0x927f58;super(),N(this,_0x573c19(0x2b0),new _0x36f592(null)),N(this,_0x573c19(0x2d0),this[_0x573c19(0x2b0)][_0x573c19(0x191)]()),N(this,_0x573c19(0x254)),N(this,_0x573c19(0xda),!0x1),N(this,_0x573c19(0x151),''),N(this,_0x573c19(0x2dd),0x0),N(this,_0x573c19(0x1fe),this['state$'][_0x573c19(0x18b)](_0x5d2c9c(_0x3970d0=>_0x3970d0?_0x3970d0['status']:bi[_0x573c19(0x185)]),_0x2a5fde(0x1))),N(this,_0x573c19(0x321),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x573c19(0x113)]=_0x294cf4,this[_0x573c19(0x2f9)]=_0x514837,this['_type']=_0x4ff2a8,this[_0x573c19(0x33c)]=_0xed260,this[_0x573c19(0x16e)]=_0xa50792,this[_0x573c19(0x385)]=_0x475729,this[_0x573c19(0x15c)]=_0x4f9987,this[_0x573c19(0xe8)]=_0x1f8b5e,this[_0x573c19(0x311)]=_0x1a4980,this[_0x573c19(0x182)]=_0x56aa19,this['_permissionService']=_0x40b032,this[_0x573c19(0xe0)]=_0xedd336,this[_0x573c19(0x34a)]=_0x2fc95e);}get[_0x927f58(0x1df)](){var _0x23be47=_0x927f58;return this[_0x23be47(0x254)];}async[_0x927f58(0xbb)](){var _0x5ee9da=_0x927f58;if(this[_0x5ee9da(0x1df)])throw new Error(_0x5ee9da(0x2ae));await this[_0x5ee9da(0xf1)]();}[_0x927f58(0x2bf)](){var _0x4a2515=_0x927f58;return this[_0x4a2515(0xda)]=!0x0,_0x1937b9(()=>{var _0x242e4d=_0x4a2515;this[_0x242e4d(0xda)]=!0x1,this[_0x242e4d(0x15f)]();});}['onLocalMutation'](_0x4bafdb){var _0x409a02=_0x927f58;this[_0x409a02(0xc5)](_0x4bafdb);}[_0x927f58(0x98)](_0x38cdae){var _0x3f39fe=_0x927f58;this[_0x3f39fe(0x254)]=_0x38cdae,this[_0x3f39fe(0x2b0)][_0x3f39fe(0xea)](_0x38cdae);}async['_init'](){var _0x38e3c7=_0x927f58,_0x1656a5;this[_0x38e3c7(0x98)](await this[_0x38e3c7(0x234)]()),this['_singleActiveUnitService']&&((_0x1656a5=this[_0x38e3c7(0xe0)])==null||_0x1656a5['editingUnit'](this[_0x38e3c7(0x113)]),this[_0x38e3c7(0x14b)](this[_0x38e3c7(0xe0)]['getUnitStatus$'](this[_0x38e3c7(0x113)])[_0x38e3c7(0x1b6)](_0x225f34=>{var _0x1f62f9=_0x38e3c7;this[_0x1f62f9(0x311)][_0x1f62f9(0x362)](_0x1f62f9(0x171),_0x1f62f9(0x1f5),_0x225f34),_0x225f34===Ci['OTHER_CLIENTS_EDITING']?(this[_0x1f62f9(0xe8)]['emitEvent']({'id':re[_0x1f62f9(0x370)]}),this[_0x1f62f9(0xc4)]['updatePermissionPoint'](new _0x3f9a73(this[_0x1f62f9(0x113)])['id'],!0x1),this[_0x1f62f9(0xc4)][_0x1f62f9(0xf9)](!0x1)):(this[_0x1f62f9(0xc4)][_0x1f62f9(0x1d2)](new _0x3f9a73(this['unitID'])['id'],!0x0),this[_0x1f62f9(0xc4)][_0x1f62f9(0xf9)](!0x0));})));let _0x580730=!0x1;return this[_0x38e3c7(0x14b)](this[_0x38e3c7(0x2f9)][_0x38e3c7(0x2a7)][_0x38e3c7(0x1b6)](_0x4a15a9=>{var _0x36c4ab=_0x38e3c7;_0x4a15a9===Ee[_0x36c4ab(0x159)]?this['_toggleOnline'](_0x580730):_0x4a15a9===Ee[_0x36c4ab(0x185)]&&(_0x580730=!0x0,this[_0x36c4ab(0xca)]());})),this[_0x38e3c7(0x14b)](this[_0x38e3c7(0x2f9)]['event$']['subscribe'](_0xbc87b8=>{var _0x1d5f30=_0x38e3c7;try{switch(_0xbc87b8[_0x1d5f30(0x1fd)]){case _0x5aa101['NEW_CHANGESETS']:{this[_0x1d5f30(0x2e8)](_0x15c78a(_0xbc87b8[_0x1d5f30(0x359)]));break;}case _0x5aa101[_0x1d5f30(0xf4)]:{this[_0x1d5f30(0x205)](_0xbc87b8[_0x1d5f30(0x359)]);break;}case _0x5aa101[_0x1d5f30(0x273)]:{this[_0x1d5f30(0xf0)]();break;}case _0x5aa101['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0xbc87b8[_0x1d5f30(0x359)]);break;}case _0x5aa101[_0x1d5f30(0x2d8)]:{this[_0x1d5f30(0x11f)](_0xbc87b8[_0x1d5f30(0x359)][_0x1d5f30(0x2b9)][_0x1d5f30(0x1f0)](_0x195ea5=>_0x15c78a(_0x195ea5)));break;}case _0x5aa101[_0x1d5f30(0x2e9)]:{this[_0x1d5f30(0xf0)]({'isPermissionRej':!0x0});break;}case _0x5aa101[_0x1d5f30(0x23b)]:break;}}catch(_0x15de9f){throw console[_0x1d5f30(0xb9)](_0x1d5f30(0x102),_0x15de9f),_0x15de9f;}})),this[_0x38e3c7(0x254)];}[_0x927f58(0x33e)](){var _0x195cf7=_0x927f58;this[_0x195cf7(0x321)]=!0x1;}[_0x927f58(0xcb)](){var _0x57aeb4=_0x927f58;if(this[_0x57aeb4(0x321)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x57aeb4(0x321)]=!0x0;}[_0x927f58(0xc5)](_0x3ea31b){var _0x49fb4e=_0x927f58;this[_0x49fb4e(0xcb)](),this['_updateState'](this[_0x49fb4e(0x254)][_0x49fb4e(0x213)](_0x3ea31b)),this[_0x49fb4e(0x33e)]();}['_onRemoteChangeset'](_0x42066f){var _0x4c9a15=_0x927f58;if(!(_0x42066f[_0x4c9a15(0x1c4)]<=this['_revisionService'][_0x4c9a15(0x193)](this['unitID']))){if(this[_0x4c9a15(0xda)]){this['_remoteChangesetQueue'][_0x4c9a15(0x29f)](_0x42066f);return;}this['_applyRemoteChangeset'](_0x42066f);}}['_exhaustRemoteChangesetQueue'](){var _0x1d154f=_0x927f58;this[_0x1d154f(0x28e)][_0x1d154f(0x396)](_0x4b4635=>this[_0x1d154f(0x1e7)](_0x4b4635)),this['_remoteChangesetQueue']=[];}[_0x927f58(0x1e7)](_0x1fb4b2){var _0x28d8cc=_0x927f58;const _0xd67b83=this[_0x28d8cc(0x16e)][_0x28d8cc(0x26f)]['fetchThroughInterceptors'](this[_0x28d8cc(0x16e)][_0x28d8cc(0x26f)][_0x28d8cc(0x118)]()[_0x28d8cc(0x1bc)])(_0x1fb4b2['mutations'],null)||_0x1fb4b2['mutations'],_0x55e609={..._0x1fb4b2,'mutations':_0xd67b83};this[_0x28d8cc(0xcb)](),this[_0x28d8cc(0x98)](this[_0x28d8cc(0x254)][_0x28d8cc(0x287)](_0x55e609)),this[_0x28d8cc(0x33e)]();}[_0x927f58(0x205)](_0x34944c){var _0x40a054=_0x927f58;this[_0x40a054(0xcb)](),this['_updateState'](this['_state'][_0x40a054(0x25b)](_0x34944c)),this[_0x40a054(0x33e)]();}[_0x927f58(0xf0)](_0x3e9e08){var _0x4b91a3=_0x927f58;this['_lockTransition'](),this['_updateState'](this[_0x4b91a3(0x254)][_0x4b91a3(0x18f)](_0x3e9e08)),this[_0x4b91a3(0x33e)]();}[_0x927f58(0xc8)](_0x4d1912){var _0x533d34=_0x927f58;this[_0x533d34(0xcb)](),this[_0x533d34(0x98)](this[_0x533d34(0x254)][_0x533d34(0x338)](_0x4d1912)),this[_0x533d34(0x33e)]();}['_onFetchMissResult'](_0x20cd8f){var _0x1e5b33=_0x927f58;if(!(this['_state']instanceof ee))throw new TypeError(_0x1e5b33(0xf6));const _0x5ab8fc=_0x20cd8f['map'](_0x555e80=>{var _0x5d7604=_0x1e5b33;const _0x2900d2=this[_0x5d7604(0x16e)]['interceptor'][_0x5d7604(0x1f1)](this[_0x5d7604(0x16e)][_0x5d7604(0x26f)]['getInterceptPoints']()[_0x5d7604(0x1bc)])(_0x555e80[_0x5d7604(0xa8)],null)||_0x555e80['mutations'];return{..._0x555e80,'mutations':_0x2900d2};});this[_0x1e5b33(0xcb)](),this[_0x1e5b33(0x98)](this['_state'][_0x1e5b33(0xa9)](_0x5ab8fc)),this[_0x1e5b33(0x33e)]();}[_0x927f58(0xca)](){var _0x5d5425=_0x927f58;this[_0x5d5425(0xcb)](),this[_0x5d5425(0x98)](this[_0x5d5425(0x254)][_0x5d5425(0x35e)]()),this[_0x5d5425(0x33e)]();}[_0x927f58(0x399)](_0x5500d1=!0x1){var _0x463ddc=_0x927f58;this[_0x463ddc(0xcb)](),this['_updateState'](this[_0x463ddc(0x254)][_0x463ddc(0x329)]()),this['_unlockTransition']();const _0x5214aa=this['_state'];_0x5500d1&&_0x5214aa instanceof Ne&&(this['_lockTransition'](),this['_updateState'](_0x5214aa[_0x463ddc(0x172)]()),this['_unlockTransition']());}async[_0x927f58(0x234)](){return new Promise(_0x2bd14d=>{var _0x5731c5=_0x4d02;this[_0x5731c5(0x2f9)][_0x5731c5(0x2a7)][_0x5731c5(0x18b)](_0x25840c(0x1))[_0x5731c5(0x1b6)](async _0x3d55ca=>{var _0x896d32=_0x5731c5;_0x2bd14d(await this[_0x896d32(0x2d1)](_0x3d55ca===Ee[_0x896d32(0x159)]));});});}['_createHandler'](){var _0x5af781=_0x927f58;const _0x2768e7=this[_0x5af781(0x113)];return{'onStateChange':(_0x597410,_0x34f72b)=>{var _0x2aa017=_0x5af781;if(_0x597410!==this[_0x2aa017(0x254)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x597410['status']+_0x2aa017(0x1b9)+_0x34f72b['status']+'\x0aCurrent:\x20'+this[_0x2aa017(0x254)][_0x2aa017(0x26d)]);this[_0x2aa017(0x98)](_0x34f72b);},'onSendChangeset':_0x194138=>{var _0x57b3ee=_0x5af781;_0x194138[_0x57b3ee(0x355)]||(_0x194138[_0x57b3ee(0x355)]=this[_0x57b3ee(0x151)],_0x194138[_0x57b3ee(0x145)]=++this[_0x57b3ee(0x2dd)]);const _0xa06202={'eventID':_0x5aa101[_0x57b3ee(0x38e)],'data':{'unitID':_0x194138[_0x57b3ee(0x113)],'unitType':this['_type'],'changeset':_0x194138,'memberID':this[_0x57b3ee(0x2f9)]['getMemberID']()}};this[_0x57b3ee(0x2f9)][_0x57b3ee(0x1dd)](_0xa06202,this[_0x57b3ee(0x113)]);},'onMissingChangesets':({from:_0x40364e,to:_0x1a4be1})=>{var _0x1fb977=_0x5af781;this[_0x1fb977(0x311)][_0x1fb977(0x362)](_0x1fb977(0x171),_0x1fb977(0x20c)+_0x40364e+_0x1fb977(0x37e)+_0x1a4be1);const _0x57a6d3={'eventID':_0x5aa101[_0x1fb977(0x368)],'data':{'unitID':_0x2768e7,'unitType':this['_type'],'from':_0x40364e,'to':_0x1a4be1}};this[_0x1fb977(0x2f9)]['send'](_0x57a6d3,this[_0x1fb977(0x113)]);}};}async[_0x927f58(0x2d1)](_0x1c1f55){var _0x17ce20=_0x927f58,_0xfd5905,_0x293eb2,_0x42bef5;const _0x503822=await((_0xfd5905=this['_localCacheService'])==null?void 0x0:_0xfd5905[_0x17ce20(0x105)](this[_0x17ce20(0x113)])),_0x4e085c=(_0x293eb2=_0x503822==null?void 0x0:_0x503822['mutations'])!=null?_0x293eb2:[],_0x1a160b=(_0x42bef5=_0x503822==null?void 0x0:_0x503822[_0x17ce20(0x147)])!=null?_0x42bef5:null,_0x4f885e=!!(_0x1a160b!=null&&_0x1a160b[_0x17ce20(0x355)])&&!!(_0x1a160b!=null&&_0x1a160b['reqId']);this[_0x17ce20(0x151)]=_0x4f885e?_0x1a160b[_0x17ce20(0x355)]:Zn(),this[_0x17ce20(0x2dd)]=_0x4f885e?_0x1a160b[_0x17ce20(0x145)]:0x0;const _0x3d0d13=this[_0x17ce20(0x113)];try{this[_0x17ce20(0x29c)](_0x1a160b,_0x4e085c);}catch(_0x2b44dd){this[_0x17ce20(0x311)][_0x17ce20(0xb9)](_0x2b44dd);}const _0x69a3a6=this[_0x17ce20(0x217)]();if(_0x1c1f55){const _0x532dda=yi(this[_0x17ce20(0x33c)],_0x3d0d13,this[_0x17ce20(0x39b)],_0x1a160b,_0x4e085c,_0x69a3a6);return _0x532dda instanceof ae?_0x532dda[_0x17ce20(0x372)]():(_0x532dda instanceof oe||_0x532dda instanceof le)&&_0x532dda[_0x17ce20(0x260)](),_0x532dda;}return this['_injector'][_0x17ce20(0xcd)](de,_0x3d0d13,this[_0x17ce20(0x39b)],_0x1a160b,_0x4e085c,_0x69a3a6);}[_0x927f58(0x29c)](_0x306473,_0x360532){var _0x5eb7b6=_0x927f58,_0x21a8ee,_0x4f69ef;const _0x2ae6fe=this['_compressMutationService'][_0x5eb7b6(0x26f)][_0x5eb7b6(0x1f1)](this[_0x5eb7b6(0x16e)][_0x5eb7b6(0x26f)]['getInterceptPoints']()[_0x5eb7b6(0x1bc)]);(_0x21a8ee=_0x2ae6fe((_0x306473==null?void 0x0:_0x306473['mutations'])||[],null))==null||_0x21a8ee[_0x5eb7b6(0x396)](_0xc88f5d=>this[_0x5eb7b6(0x182)][_0x5eb7b6(0x34f)](_0xc88f5d['id'],_0xc88f5d[_0x5eb7b6(0x19e)])),(_0x4f69ef=_0x2ae6fe(_0x360532||[],null))==null||_0x4f69ef[_0x5eb7b6(0x396)](_0x1828a2=>this[_0x5eb7b6(0x182)][_0x5eb7b6(0x34f)](_0x1828a2['id'],_0x1828a2['params']));}};nt=Lt([H(0x3,_0x316925(_0x16154a)),H(0x4,_0x316925(_0x258d6c)),H(0x5,_0x316925(_0xb7ab)),H(0x6,_0x316925(_0x47f2cf)),H(0x7,_0x316925(pe)),H(0x8,_0x57fa1f),H(0x9,_0x17cbb8),H(0xa,_0x335c65),H(0xb,_0x37f2ff(ht)),H(0xc,_0x37f2ff(J))],nt);let It=class extends nt{constructor(_0x3381ab,_0xd78417,_0x27bee2,_0x240307,_0x310486,_0x3e35c3,_0x2d490d,_0x2040d1,_0x30e4bc,_0x482dde,_0x5149a8,_0x329f4d,_0xee4d62){var _0x478346=_0x927f58;super(_0x3381ab,_0x27bee2,_0xd78417,_0x240307,_0x310486,_0x3e35c3,_0x2d490d,_0x2040d1,_0x30e4bc,_0x482dde,_0x5149a8,_0x329f4d,_0xee4d62),N(this,'_handlerCallback',null),(this[_0x478346(0x113)]=_0x3381ab,this[_0x478346(0x160)]=_0xd78417);}[_0x927f58(0xde)](_0x12cc06){var _0x1f1e4e=_0x927f58;this[_0x1f1e4e(0x14a)]=_0x12cc06;}[_0x927f58(0x382)](){var _0x38d02b=_0x927f58;this['_handlerCallback']=null,super[_0x38d02b(0x382)]();}[_0x927f58(0x217)](){var _0x3e31aa=_0x927f58;const _0xa40d37=super['_createHandler']();return _0xa40d37[_0x3e31aa(0x181)]=_0x38e7ed=>{var _0x4927c0=_0x3e31aa,_0x3c4af7,_0x1b6efa;return(_0x1b6efa=(_0x3c4af7=this[_0x4927c0(0x14a)])==null?void 0x0:_0x3c4af7[_0x4927c0(0x181)])==null?void 0x0:_0x1b6efa[_0x4927c0(0x1e3)](_0x3c4af7,_0x38e7ed);},_0xa40d37['onTransformState']=_0x42272b=>{var _0x318180=_0x3e31aa,_0x3c38ff,_0x5c0a5c;return(_0x5c0a5c=(_0x3c38ff=this[_0x318180(0x14a)])==null?void 0x0:_0x3c38ff['onTransformState'])==null?void 0x0:_0x5c0a5c[_0x318180(0x1e3)](_0x3c38ff,_0x42272b);},_0xa40d37[_0x3e31aa(0xb5)]=_0x3120fb=>{var _0x31c24f=_0x3e31aa,_0x2711fd,_0x93184b;return(_0x93184b=(_0x2711fd=this[_0x31c24f(0x14a)])==null?void 0x0:_0x2711fd[_0x31c24f(0xb5)])==null?void 0x0:_0x93184b['call'](_0x2711fd,_0x3120fb);},_0xa40d37[_0x3e31aa(0x17a)]=_0xd68dd7=>{var _0x56c259=_0x3e31aa,_0x22602e,_0x5e56f9;return(_0x5e56f9=(_0x22602e=this[_0x56c259(0x14a)])==null?void 0x0:_0x22602e['onSyncEditingCollabCursor'])==null?void 0x0:_0x5e56f9[_0x56c259(0x1e3)](_0x22602e,_0xd68dd7);},_0xa40d37[_0x3e31aa(0xf7)]=_0x50f754=>{var _0x31244e=_0x3e31aa,_0x1ddcd9,_0x5f1e03,_0x51f2a3;if(!((_0x1ddcd9=this['_handlerCallback'])!=null&&_0x1ddcd9[_0x31244e(0xf7)]))throw new Error(_0x31244e(0x262));return(_0x51f2a3=(_0x5f1e03=this[_0x31244e(0x14a)])==null?void 0x0:_0x5f1e03[_0x31244e(0xf7)])==null?void 0x0:_0x51f2a3[_0x31244e(0x1e3)](_0x5f1e03,_0x50f754);},_0xa40d37[_0x3e31aa(0x2ec)]=_0x10195f=>{var _0xc0edb3=_0x3e31aa,_0x5db5c5,_0x2680e8,_0x34575d;if(!((_0x5db5c5=this[_0xc0edb3(0x14a)])!=null&&_0x5db5c5[_0xc0edb3(0x2ec)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x34575d=(_0x2680e8=this[_0xc0edb3(0x14a)])==null?void 0x0:_0x2680e8['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x34575d[_0xc0edb3(0x1e3)](_0x2680e8,_0x10195f);},_0xa40d37;}async[_0x927f58(0xf1)](){var _0x311c95=_0x927f58;const _0x300b13=await super[_0x311c95(0xf1)]();return this[_0x311c95(0x14b)](this['_commandService'][_0x311c95(0x312)]((_0x15c0c7,_0x313c8a)=>{var _0xe4d193=_0x311c95;if(_0x15c0c7[_0xe4d193(0x160)]!==_0x33408f['MUTATION']||_0x313c8a!=null&&_0x313c8a[_0xe4d193(0x150)]||_0x313c8a!=null&&_0x313c8a[_0xe4d193(0x2fd)]||_0x15c0c7['id']===_0x4366cc['id'])return;const _0x488ca9=_0x15c0c7[_0xe4d193(0x19e)];if((_0x488ca9==null?void 0x0:_0x488ca9['unitId'])!==this[_0xe4d193(0x113)])return;const _0x57a9ad=_0x15c0c7,_0x18852a=this[_0xe4d193(0x16e)][_0xe4d193(0x26f)]['fetchThroughInterceptors'](this[_0xe4d193(0x16e)]['interceptor'][_0xe4d193(0x118)]()['COMPRESS_MUTATION_SEND'])([_0x57a9ad],null)||[_0x57a9ad];this[_0xe4d193(0xc5)](_0x18852a[0x0]);})),_0x300b13;}};It=Lt([H(0x3,_0x316925(_0x16154a)),H(0x4,_0x316925(_0x258d6c)),H(0x5,_0x316925(_0xb7ab)),H(0x6,_0x316925(_0x47f2cf)),H(0x7,_0x316925(pe)),H(0x8,_0x57fa1f),H(0x9,_0x17cbb8),H(0xa,_0x335c65),H(0xb,_0x37f2ff(ht)),H(0xc,_0x37f2ff(J))],It);let Tt=class extends nt{constructor(_0x5a16aa,_0x59ef67,_0x53edd2,_0x3ea9d7,_0x2d3310,_0x3863c6,_0x311fc3,_0xda90c3,_0x23c70e,_0x1c4c7a,_0x2f8a8e,_0x49d867,_0x409025,_0x206728){super(_0x5a16aa,_0x53edd2,_0x59ef67,_0x3ea9d7,_0x2d3310,_0x3863c6,_0x311fc3,_0x23c70e,_0x1c4c7a,_0x2f8a8e,_0x49d867,_0x409025,_0x206728),this['unitID']=_0x5a16aa,this['type']=_0x59ef67,this['_sheetTransformSelectionsService']=_0xda90c3;}[_0x927f58(0x217)](){var _0x3e40de=_0x927f58;const _0x4bdf9c=super[_0x3e40de(0x217)]();return _0x4bdf9c[_0x3e40de(0xb5)]=_0x248ddd=>this[_0x3e40de(0x2bc)]['transformSelections'](_0x248ddd),_0x4bdf9c;}async[_0x927f58(0xf1)](){var _0x2e8e68=_0x927f58;const _0x35356b=await super[_0x2e8e68(0xf1)]();return this[_0x2e8e68(0x14b)](this['_commandService']['onCommandExecuted']((_0x2dfd07,_0xfebb3b)=>{var _0x5d812e=_0x2e8e68;if(_0x2dfd07[_0x5d812e(0x160)]!==_0x33408f['MUTATION']||_0xfebb3b!=null&&_0xfebb3b[_0x5d812e(0x150)]||_0xfebb3b!=null&&_0xfebb3b[_0x5d812e(0x2fd)])return;const _0x12b82a=_0x2dfd07[_0x5d812e(0x19e)];if((_0x12b82a==null?void 0x0:_0x12b82a[_0x5d812e(0x18c)])!==this[_0x5d812e(0x113)])return;const _0x34d5e3=_0x2dfd07,_0xa23b63=this[_0x5d812e(0x16e)]['interceptor'][_0x5d812e(0x1f1)](this[_0x5d812e(0x16e)][_0x5d812e(0x26f)]['getInterceptPoints']()[_0x5d812e(0x1c6)])([_0x34d5e3],null)||[_0x34d5e3];this['_onLocalMutation'](_0xa23b63[0x0]);})),_0x35356b;}};Tt=Lt([H(0x3,_0x316925(_0x16154a)),H(0x4,_0x316925(_0x258d6c)),H(0x5,_0x316925(_0xb7ab)),H(0x6,_0x316925(_0x47f2cf)),H(0x7,_0x316925(it)),H(0x8,_0x316925(pe)),H(0x9,_0x57fa1f),H(0xa,_0x17cbb8),H(0xb,_0x335c65),H(0xc,_0x37f2ff(ht)),H(0xd,_0x37f2ff(J))],Tt);var os=Object[_0x927f58(0xf5)],cs=(_0x1cbe3d,_0x1235fb,_0xcfc2e0,_0x292947)=>{var _0x172d4b=_0x927f58;for(var _0x115195=_0x292947>0x1?void 0x0:_0x292947?os(_0x1235fb,_0xcfc2e0):_0x1235fb,_0x4ed357=_0x1cbe3d[_0x172d4b(0x109)]-0x1,_0x388275;_0x4ed357>=0x0;_0x4ed357--)(_0x388275=_0x1cbe3d[_0x4ed357])&&(_0x115195=_0x388275(_0x115195)||_0x115195);return _0x115195;},ft=(_0x45884a,_0x38736d)=>(_0x5ad762,_0x7afd75)=>_0x38736d(_0x5ad762,_0x7afd75,_0x45884a);let st=class extends _0x7c0126{constructor(_0x46eb8c,_0x32e3e8,_0x1e9e6a){var _0x5cc852=_0x927f58;super(),N(this,_0x5cc852(0x19a),new Map()),N(this,_0x5cc852(0x313),new _0x197ead()),N(this,'entityInit$',this['_entityInit$'][_0x5cc852(0x191)]()),(this[_0x5cc852(0x33c)]=_0x46eb8c,this[_0x5cc852(0x214)]=_0x32e3e8,this[_0x5cc852(0x1ab)]=_0x1e9e6a,this[_0x5cc852(0xf1)]());}[_0x927f58(0x382)](){var _0x185ed3=_0x927f58;super['dispose'](),this['_entities']['forEach'](_0xbd2378=>_0xbd2378[_0x185ed3(0x382)]()),this['_entities']['clear']();}['getCollabEntity'](_0x1ca1b6){var _0x236cad;return(_0x236cad=this['_entities']['get'](_0x1ca1b6))!=null?_0x236cad:null;}[_0x927f58(0x208)](_0xc0d505){var _0x102a0f=_0x927f58;const _0x16c5fc=this[_0x102a0f(0x220)](_0xc0d505);return _0x16c5fc?_0x58f773(_0x16c5fc):this['_entityInit$'][_0x102a0f(0x18b)](_0x151f09(_0x37ae61=>_0x37ae61[_0x102a0f(0x113)]===_0xc0d505));}['readyForCollab'](_0x5529bc){var _0x59ef81=_0x927f58;return _0x37f97b(this[_0x59ef81(0x208)](_0x5529bc)[_0x59ef81(0x18b)](_0x48b24a(()=>{})));}['_init'](){var _0x5093ae=_0x927f58;this[_0x5093ae(0x1ab)][_0x5093ae(0x163)](_0x176541['UNIVER_SHEET'])[_0x5093ae(0x18b)](_0x37a23d(this['dispose$']),_0x4d3355(0x10))[_0x5093ae(0x1b6)](async _0x48e78a=>{var _0x486411=_0x5093ae;const _0x4ca58e=_0x48e78a[_0x486411(0xcc)](),_0x27062f=await this[_0x486411(0x2e0)](_0x4ca58e,Q[_0x486411(0x286)]);this[_0x486411(0x19a)][_0x486411(0x197)](_0x4ca58e,_0x27062f);}),this[_0x5093ae(0x1ab)]['getTypeOfUnitAdded$'](_0x176541[_0x5093ae(0x2d6)])[_0x5093ae(0x18b)](_0x37a23d(this[_0x5093ae(0x19c)]),_0x4d3355(0x10))[_0x5093ae(0x18b)](_0x151f09(_0xef8617=>!_0xef8617[_0x5093ae(0xcc)]()['startsWith']('__')))[_0x5093ae(0x1b6)](async _0x2febef=>{var _0x1eab42=_0x5093ae;const _0x47fdac=_0x2febef[_0x1eab42(0xcc)](),_0x17ea15=await this[_0x1eab42(0x2e0)](_0x47fdac,Q[_0x1eab42(0x2d6)]);this['_entities'][_0x1eab42(0x197)](_0x47fdac,_0x17ea15);}),_0x27f765(this[_0x5093ae(0x1ab)][_0x5093ae(0x1ef)](_0x176541['UNIVER_SHEET']),this[_0x5093ae(0x1ab)][_0x5093ae(0x1ef)](_0x176541['UNIVER_DOC']))['pipe'](_0x37a23d(this['dispose$']))[_0x5093ae(0x1b6)](_0x10f7d0=>{var _0x30e0c4=_0x5093ae;const _0xde56e9=_0x10f7d0[_0x30e0c4(0xcc)](),_0x40130c=this['_entities'][_0x30e0c4(0x337)](_0xde56e9);_0x40130c&&(_0x40130c['dispose'](),this[_0x30e0c4(0x19a)][_0x30e0c4(0x374)](_0xde56e9));});}async['_startCollaboration'](_0x4149f0,_0x5227ac){var _0x4dbe45=_0x927f58;const _0x112452=await this['_collabSessionService']['requireSession'](_0x4149f0),_0x43788c=this[_0x4dbe45(0x33c)][_0x4dbe45(0xcd)](this[_0x4dbe45(0x16f)](_0x5227ac),_0x4149f0,_0x5227ac,_0x112452);return await _0x43788c[_0x4dbe45(0xbb)](),this['_entityInit$']['next'](_0x43788c),_0x43788c;}[_0x927f58(0x16f)](_0x54b780){var _0x58516d=_0x927f58;switch(_0x54b780){case Q[_0x58516d(0x2d6)]:return It;case Q[_0x58516d(0x286)]:return Tt;default:throw new Error(_0x58516d(0x377)+_0x54b780);}}};st=cs([ft(0x0,_0x316925(_0x16154a)),ft(0x1,_0x316925(Me)),ft(0x2,_0x794611)],st);var hs=Object[_0x927f58(0xf5)],_s=(_0x59970b,_0x4fbac2,_0x2ad240,_0x3c3fbd)=>{var _0x3a57ef=_0x927f58;for(var _0x21784e=_0x3c3fbd>0x1?void 0x0:_0x3c3fbd?hs(_0x4fbac2,_0x2ad240):_0x4fbac2,_0x189284=_0x59970b[_0x3a57ef(0x109)]-0x1,_0x435d5f;_0x189284>=0x0;_0x189284--)(_0x435d5f=_0x59970b[_0x189284])&&(_0x21784e=_0x435d5f(_0x21784e)||_0x21784e);return _0x21784e;},zt=(_0x5e886f,_0x8de5fc)=>(_0x250417,_0x3ac420)=>_0x8de5fc(_0x250417,_0x3ac420,_0x5e886f);const ls=_0x927f58(0x1f3),us=_0x927f58(0x186);let Ct=class extends _0x5ef667{constructor(_0x4c821f,_0x13b96c){var _0x36345d=_0x927f58;super(),this[_0x36345d(0x1ab)]=_0x4c821f,this[_0x36345d(0x265)]=_0x13b96c,this[_0x36345d(0xf1)]();}[_0x927f58(0xf1)](){var _0x3e31f7=_0x927f58;this['disposeWithMe'](this['_univerInstanceService'][_0x3e31f7(0x1a3)][_0x3e31f7(0x1b6)](()=>{var _0x254d5e=_0x3e31f7,_0x1eb1d2;const _0x5ecfa6=this[_0x254d5e(0x1ab)][_0x254d5e(0x2f5)]();let _0x2cc758=(_0x1eb1d2=this[_0x254d5e(0x265)]['getConfig'](ls))!=null?_0x1eb1d2:us;_0x5ecfa6 instanceof _0x5c076f&&(_0x2cc758=_0x5ecfa6['name']),document['title']=_0x2cc758;}));}};Ct=_s([zt(0x0,_0x794611),zt(0x1,_0x426a21)],Ct);var ds=Object[_0x927f58(0xf5)],fs=(_0x1b74e3,_0x2b91b3,_0x65a90c,_0x1304d7)=>{for(var _0x1b561d=_0x1304d7>0x1?void 0x0:_0x1304d7?ds(_0x2b91b3,_0x65a90c):_0x2b91b3,_0x1c10c1=_0x1b74e3['length']-0x1,_0x22328b;_0x1c10c1>=0x0;_0x1c10c1--)(_0x22328b=_0x1b74e3[_0x1c10c1])&&(_0x1b561d=_0x22328b(_0x1b561d)||_0x1b561d);return _0x1b561d;},vt=(_0x4638ef,_0x8fba5c)=>(_0x390945,_0x3aafe0)=>_0x8fba5c(_0x390945,_0x3aafe0,_0x4638ef);let rt=class{constructor(_0x1a2938,_0x22001b,_0x9771fc){var _0x120f9d=_0x927f58;this[_0x120f9d(0x265)]=_0x1a2938,this['_httpService']=_0x22001b,this[_0x120f9d(0x21a)]=_0x9771fc,this[_0x120f9d(0xbb)]();}[_0x927f58(0xbb)](){var _0x44d413=_0x927f58;this[_0x44d413(0x358)][_0x44d413(0x175)]({'priority':0x1,'interceptor':(_0x4bf21f,_0x26ce0f)=>_0x26ce0f(_0x4bf21f)['pipe'](_0x2349d8(async _0xc63b6b=>{var _0x3e1218=_0x44d413;const _0x31b9ca=_0xc63b6b;if(_0x31b9ca[_0x3e1218(0x26d)]===0x191){if(typeof window>'u')throw new Error(_0x3e1218(0x37c));if(window['confirm'](this[_0x3e1218(0x21a)]['t'](_0x3e1218(0x121)))){const _0x38f2a2=window['encodeURIComponent'](window['location'][_0x3e1218(0x331)]);window[_0x3e1218(0xfe)]['href']=this[_0x3e1218(0x335)]()+_0x3e1218(0xfb)+_0x38f2a2;}}return _0x31b9ca;}))});}[_0x927f58(0x335)](){var _0x9affd1=_0x927f58,_0xf6b8fd,_0xc4cf3e;const _0x1bf55c=this['_configService'][_0x9affd1(0x319)](Un),_0x50bbcb=this[_0x9affd1(0x265)]['getConfig'](q);return(_0xc4cf3e=(_0xf6b8fd=_0x50bbcb==null?void 0x0:_0x50bbcb['loginUrlKey'])!=null?_0xf6b8fd:_0x1bf55c)!=null?_0xc4cf3e:An;}};rt=fs([vt(0x0,_0x426a21),vt(0x1,_0x316925(_0x2c3bc5)),vt(0x2,_0x316925(_0xb7ab))],rt);var vs=Object[_0x927f58(0xf5)],ps=(_0x3e8838,_0x3c16b5,_0x469ca9,_0x455755)=>{var _0x1fcac8=_0x927f58;for(var _0x33777d=_0x455755>0x1?void 0x0:_0x455755?vs(_0x3c16b5,_0x469ca9):_0x3c16b5,_0x538e96=_0x3e8838[_0x1fcac8(0x109)]-0x1,_0x46b443;_0x538e96>=0x0;_0x538e96--)(_0x46b443=_0x3e8838[_0x538e96])&&(_0x33777d=_0x46b443(_0x33777d)||_0x33777d);return _0x33777d;},Jt=(_0x3de550,_0x188372)=>(_0x9bc08,_0x2296c0)=>_0x188372(_0x9bc08,_0x2296c0,_0x3de550);const Ni=_0x927f58(0x1a5),ms=_0x927f58(0x13d);let Rt=class extends _0x5ef667{constructor(_0x38efc7,_0x244b80){var _0x2dd7b9=_0x927f58;super(),this[_0x2dd7b9(0x315)]=_0x38efc7,this[_0x2dd7b9(0x265)]=_0x244b80,this[_0x2dd7b9(0xa3)]();}[_0x927f58(0xa3)](){var _0xba10e1=_0x927f58;const _0x56ff7c=this;this[_0xba10e1(0x14b)](this['_HTTPService'][_0xba10e1(0x175)]({'priority':0x3e7,'interceptor':_0x56c693({'isMatch'(_0x4e9aa1){var _0x5a9af3=_0xba10e1,_0x106932;if(_0x4e9aa1['method']===_0x5a9af3(0x32b)&&((_0x106932=_0x4e9aa1[_0x5a9af3(0x2f0)])!=null&&_0x106932[_0x5a9af3(0x2d7)])){const {objectID:_0x3632a3,objectType:_0x14be6f}=_0x4e9aa1['requestParams'][_0x5a9af3(0x2d7)]||{};if(!_0x3632a3||_0x14be6f===void 0x0)return!0x1;const _0x2fb0a8=_0x56ff7c['_getAPIPrefixPath']()+'/'+_0x14be6f+_0x5a9af3(0x1b0)+_0x3632a3+_0x5a9af3(0x32f);if(_0x4e9aa1[_0x5a9af3(0x12c)]===_0x2fb0a8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2c2e46){var _0x5b71c9=_0xba10e1,_0x5c82be;return(_0x5c82be=_0x2c2e46[_0x5b71c9(0x2f0)])==null?void 0x0:_0x5c82be[_0x5b71c9(0x2d7)];},'mergeParamsToRequest'(_0x368bc1,_0x8cc382){var _0x11cc75=_0xba10e1;const _0xe2f8f9=_0x56ff7c[_0x11cc75(0x146)]()+_0x11cc75(0x267),_0x9f147b=_0x368bc1['reduce']((_0x79761c,_0x31b5dc)=>{var _0x449f27=_0x11cc75;const {unitID:_0x5c227b,objectID:_0x3a21a0,objectType:_0x446d16,actions:_0x5e3a33}=_0x31b5dc;return _0x79761c[_0x5c227b]||(_0x79761c[_0x5c227b]={}),_0x79761c[_0x5c227b][_0x3a21a0]||(_0x79761c[_0x5c227b][_0x3a21a0]={'objectID':_0x3a21a0,'objectType':_0x446d16,'actions':[]}),_0x79761c[_0x5c227b][_0x3a21a0][_0x449f27(0x2ea)][_0x449f27(0x29f)](..._0x5e3a33),_0x79761c;},{}),_0x3d4347=[];for(const _0x343370 in _0x9f147b)for(const _0x40bc1b in _0x9f147b[_0x343370]){const {actions:_0x387ba4,objectType:_0xf4dd34}=_0x9f147b[_0x343370][_0x40bc1b],_0x14f85c=[...new Set(_0x387ba4)];_0x3d4347[_0x11cc75(0x29f)]({'unitID':_0x343370,'objectID':_0x40bc1b,'objectType':_0xf4dd34,'actions':_0x14f85c});}return new _0xcf1dc4('POST',_0xe2f8f9,{'headers':_0x8cc382['headers'],'withCredentials':_0x8cc382['withCredentials'],'responseType':_0x8cc382[_0x11cc75(0x1a7)],'body':{'requests':_0x3d4347}});}},{'distributeResult'(_0x141b9b,_0x31b972){var _0xc05b0b=_0xba10e1;const {objectActions:_0x1ccbb8}=_0x141b9b;return _0x31b972[_0xc05b0b(0x1f0)](_0x61b9f4=>{var _0x47dc3f=_0xc05b0b;const {unitID:_0x4b1411,objectID:_0x353692,actions:_0x572fd0}=_0x61b9f4,_0x3db615=_0x1ccbb8['find'](_0x3fc228=>_0x3fc228[_0x47dc3f(0x113)]===_0x4b1411&&_0x3fc228[_0x47dc3f(0x161)]===_0x353692),_0x4dcac1=_0x572fd0['map'](_0x187780=>_0x3db615==null?void 0x0:_0x3db615[_0x47dc3f(0x2ea)][_0x47dc3f(0x380)](_0x491c3d=>_0x491c3d[_0x47dc3f(0xa2)]===_0x187780))[_0x47dc3f(0x245)](_0x7b6c6=>!!_0x7b6c6);return{'config':_0x61b9f4,'result':{'actions':_0x4dcac1,'error':_0x141b9b['error']}};});}})}));}[_0x927f58(0x146)](){var _0x19108b=_0x927f58,_0x5523a4,_0x341b4a;const _0x5b78e9=this[_0x19108b(0x265)][_0x19108b(0x319)](Ni),_0x37ec17=this[_0x19108b(0x265)][_0x19108b(0x319)](q);return(_0x341b4a=(_0x5523a4=_0x37ec17==null?void 0x0:_0x37ec17[_0x19108b(0x2aa)])!=null?_0x5523a4:_0x5b78e9)!=null?_0x341b4a:ms;}async[_0x927f58(0x1fb)](_0xdafea5){var _0x787ac6=_0x927f58;const _0x79b518=this[_0x787ac6(0x146)]()+'/'+_0xdafea5[_0x787ac6(0x276)]+_0x787ac6(0xc0);return(await this[_0x787ac6(0x315)]['post'](_0x79b518,{'body':_0xdafea5}))[_0x787ac6(0x2d7)][_0x787ac6(0x161)]||'';}async[_0x927f58(0x317)](_0x4643cd){var _0x1becdb=_0x927f58;const _0x1254ac=this[_0x1becdb(0x146)]()+_0x1becdb(0x1e4);return(await this[_0x1becdb(0x315)][_0x1becdb(0x1ec)](_0x1254ac,{'body':_0x4643cd}))[_0x1becdb(0x2d7)][_0x1becdb(0x126)];}async[_0x927f58(0x1cf)](_0x1458d8){var _0x1c26eb=_0x927f58,_0x11f694,_0x14bd5b;const _0x275145=this[_0x1c26eb(0x146)]()+'/'+_0x1458d8[_0x1c26eb(0x276)]+_0x1c26eb(0x1b0)+_0x1458d8[_0x1c26eb(0x161)],_0xdd3cf0=await this[_0x1c26eb(0x315)]['put'](_0x275145,{'body':_0x1458d8});if(((_0x14bd5b=(_0x11f694=_0xdd3cf0==null?void 0x0:_0xdd3cf0[_0x1c26eb(0x2d7)])==null?void 0x0:_0x11f694['error'])==null?void 0x0:_0x14bd5b[_0x1c26eb(0x10f)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x927f58(0x32a)](_0x14dee8){var _0x6dba2c=_0x927f58;const _0x260c23=this['_getAPIPrefixPath']()+'/'+_0x14dee8[_0x6dba2c(0x276)]+'/object/'+_0x14dee8['objectID']+'/allowed';return(await this[_0x6dba2c(0x315)]['post'](_0x260c23,{'body':_0x14dee8}))[_0x6dba2c(0x2d7)][_0x6dba2c(0x2ea)];}async[_0x927f58(0x1f2)](_0x2f9282){var _0x46b869=_0x927f58;const _0x124b12=this[_0x46b869(0x146)]()+_0x46b869(0x267);return(await this[_0x46b869(0x315)][_0x46b869(0x1ec)](_0x124b12,{'body':{'requests':_0x2f9282}}))['body']['objectActions'];}async['listRoles'](_0x4d0fdd){var _0x510046=_0x927f58;const _0x53364e=this['_getAPIPrefixPath']()+'/'+_0x4d0fdd[_0x510046(0x276)]+_0x510046(0x2ba),_0x100b95=await this[_0x510046(0x315)][_0x510046(0x1ec)](_0x53364e,{'body':_0x4d0fdd});return{'roles':_0x100b95['body']['roles'],'actions':_0x100b95[_0x510046(0x2d7)][_0x510046(0x2ea)]};}async[_0x927f58(0x2fa)](_0x24eac5){var _0x35ad22=_0x927f58;const _0x5f5940=this['_getAPIPrefixPath']()+_0x35ad22(0xb7);await this[_0x35ad22(0x315)][_0x35ad22(0x374)](_0x5f5940,{'params':{'collaboratorID':_0x24eac5[_0x35ad22(0x10a)],'objectID':_0x24eac5['objectID'],'unitID':_0x24eac5[_0x35ad22(0x113)]}});}async['updateCollaborator'](_0x2c82d8){var _0x184481=_0x927f58;const _0x3abf8f=this['_getAPIPrefixPath']()+_0x184481(0xb7);await this[_0x184481(0x315)][_0x184481(0x1fc)](_0x3abf8f,{'body':_0x2c82d8});}async['createCollaborator'](_0x58b7fb){var _0x1af725=_0x927f58;const _0x5a9159=this['_getAPIPrefixPath']()+_0x1af725(0xb7);await this[_0x1af725(0x315)][_0x1af725(0x1ec)](_0x5a9159,{'body':_0x58b7fb});}async[_0x927f58(0xb4)](_0x5d84e6){var _0x57edd8=_0x927f58;const _0x55f20e=this['_getAPIPrefixPath']()+_0x57edd8(0xb7);return(await this['_HTTPService'][_0x57edd8(0x337)](_0x55f20e,{'params':{'objectID':_0x5d84e6['objectID'],'unitID':_0x5d84e6[_0x57edd8(0x113)]}}))[_0x57edd8(0x2d7)][_0x57edd8(0x225)];}async[_0x927f58(0x386)](_0x53d4db){var _0x4c3cc8=_0x927f58;const _0x2147d2=this[_0x4c3cc8(0x146)]()+_0x4c3cc8(0xb7);await this['_HTTPService'][_0x4c3cc8(0x34c)](_0x2147d2,{'body':_0x53d4db});}};Rt=ps([Jt(0x0,_0x316925(_0x2c3bc5)),Jt(0x1,_0x316925(_0x426a21))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x157eff){var _0x5bbed2=_0x927f58;return _0x157eff&&_0x157eff[_0x5bbed2(0x18a)]&&Object[_0x5bbed2(0x11c)][_0x5bbed2(0xc3)][_0x5bbed2(0x1e3)](_0x157eff,_0x5bbed2(0x1ad))?_0x157eff[_0x5bbed2(0x1ad)]:_0x157eff;}var Ve={'exports':{}};function gs(_0xf82d11){var _0x422b68=_0x927f58;throw new Error(_0x422b68(0x243)+_0xf82d11+_0x422b68(0x2ac));}var Ge={'exports':{}},Ss=Ge[_0x927f58(0x1dc)],Xt;function ie(){var _0x48413b=_0x927f58;return Xt||(Xt=0x1,function(_0x22c858,_0x416152){(function(_0x26cf5a,_0x438560){var _0x2bbc6c=_0x4d02;_0x22c858[_0x2bbc6c(0x1dc)]=_0x438560();}(Ss,function(){var _0x437dfd=_0x437dfd||function(_0x53a829,_0x1f2805){var _0x1da08a=_0x4d02,_0x2eb752;if(typeof window<'u'&&window[_0x1da08a(0x22b)]&&(_0x2eb752=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x2eb752=self['crypto']),typeof globalThis<'u'&&globalThis[_0x1da08a(0x22b)]&&(_0x2eb752=globalThis[_0x1da08a(0x22b)]),!_0x2eb752&&typeof window<'u'&&window[_0x1da08a(0x39c)]&&(_0x2eb752=window[_0x1da08a(0x39c)]),!_0x2eb752&&typeof pt<'u'&&pt[_0x1da08a(0x22b)]&&(_0x2eb752=pt[_0x1da08a(0x22b)]),!_0x2eb752&&typeof gs==_0x1da08a(0x261))try{_0x2eb752=require(_0x1da08a(0x22b));}catch{}var _0x52ff00=function(){var _0x544059=_0x1da08a;if(_0x2eb752){if(typeof _0x2eb752[_0x544059(0x2bb)]=='function')try{return _0x2eb752['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2eb752[_0x544059(0x1ae)]==_0x544059(0x261))try{return _0x2eb752['randomBytes'](0x4)[_0x544059(0x279)]();}catch{}}throw new Error(_0x544059(0xdd));},_0x4cde86=Object['create']||(function(){function _0x364f6c(){}return function(_0x6767f7){var _0x94b995=_0x4d02,_0x2e8b6e;return _0x364f6c[_0x94b995(0x11c)]=_0x6767f7,_0x2e8b6e=new _0x364f6c(),_0x364f6c[_0x94b995(0x11c)]=null,_0x2e8b6e;};}()),_0x2af16c={},_0x21ed9f=_0x2af16c[_0x1da08a(0x174)]={},_0x94f9a5=_0x21ed9f['Base']=(function(){return{'extend':function(_0x3f5940){var _0x5c430c=_0x4d02,_0x42f961=_0x4cde86(this);return _0x3f5940&&_0x42f961[_0x5c430c(0x142)](_0x3f5940),(!_0x42f961['hasOwnProperty']('init')||this[_0x5c430c(0xbb)]===_0x42f961[_0x5c430c(0xbb)])&&(_0x42f961[_0x5c430c(0xbb)]=function(){var _0x26ad47=_0x5c430c;_0x42f961['$super'][_0x26ad47(0xbb)][_0x26ad47(0x1e0)](this,arguments);}),_0x42f961['init'][_0x5c430c(0x11c)]=_0x42f961,_0x42f961[_0x5c430c(0x184)]=this,_0x42f961;},'create':function(){var _0x47416d=_0x4d02,_0x42240e=this[_0x47416d(0x179)]();return _0x42240e['init']['apply'](_0x42240e,arguments),_0x42240e;},'init':function(){},'mixIn':function(_0x44795c){var _0x3f5a12=_0x4d02;for(var _0x1258ab in _0x44795c)_0x44795c['hasOwnProperty'](_0x1258ab)&&(this[_0x1258ab]=_0x44795c[_0x1258ab]);_0x44795c[_0x3f5a12(0xc3)](_0x3f5a12(0x27b))&&(this['toString']=_0x44795c[_0x3f5a12(0x27b)]);},'clone':function(){var _0x5045ec=_0x4d02;return this[_0x5045ec(0xbb)][_0x5045ec(0x11c)][_0x5045ec(0x179)](this);}};}()),_0x52ad25=_0x21ed9f[_0x1da08a(0x173)]=_0x94f9a5['extend']({'init':function(_0x3eaf74,_0xf70d85){var _0x23de09=_0x1da08a;_0x3eaf74=this['words']=_0x3eaf74||[],_0xf70d85!=_0x1f2805?this[_0x23de09(0xb3)]=_0xf70d85:this[_0x23de09(0xb3)]=_0x3eaf74['length']*0x4;},'toString':function(_0x5ee919){var _0x25d391=_0x1da08a;return(_0x5ee919||_0x4f732f)[_0x25d391(0x178)](this);},'concat':function(_0x534165){var _0x315d9d=_0x1da08a,_0x45abe1=this['words'],_0x488268=_0x534165[_0x315d9d(0x376)],_0x5d8729=this[_0x315d9d(0xb3)],_0x92ba84=_0x534165[_0x315d9d(0xb3)];if(this['clamp'](),_0x5d8729%0x4)for(var _0x33063d=0x0;_0x33063d<_0x92ba84;_0x33063d++){var _0xc8fb20=_0x488268[_0x33063d>>>0x2]>>>0x18-_0x33063d%0x4*0x8&0xff;_0x45abe1[_0x5d8729+_0x33063d>>>0x2]|=_0xc8fb20<<0x18-(_0x5d8729+_0x33063d)%0x4*0x8;}else{for(var _0x166393=0x0;_0x166393<_0x92ba84;_0x166393+=0x4)_0x45abe1[_0x5d8729+_0x166393>>>0x2]=_0x488268[_0x166393>>>0x2];}return this[_0x315d9d(0xb3)]+=_0x92ba84,this;},'clamp':function(){var _0x95b452=_0x1da08a,_0x23b9a1=this[_0x95b452(0x376)],_0x597041=this[_0x95b452(0xb3)];_0x23b9a1[_0x597041>>>0x2]&=0xffffffff<<0x20-_0x597041%0x4*0x8,_0x23b9a1[_0x95b452(0x109)]=_0x53a829[_0x95b452(0x274)](_0x597041/0x4);},'clone':function(){var _0x23e50d=_0x1da08a,_0x4efe6d=_0x94f9a5[_0x23e50d(0x31a)][_0x23e50d(0x1e3)](this);return _0x4efe6d['words']=this['words']['slice'](0x0),_0x4efe6d;},'random':function(_0x4a8b62){var _0x27fadc=_0x1da08a;for(var _0x3ebee6=[],_0x1cf7a9=0x0;_0x1cf7a9<_0x4a8b62;_0x1cf7a9+=0x4)_0x3ebee6[_0x27fadc(0x29f)](_0x52ff00());return new _0x52ad25[(_0x27fadc(0xbb))](_0x3ebee6,_0x4a8b62);}}),_0x92e672=_0x2af16c['enc']={},_0x4f732f=_0x92e672[_0x1da08a(0x290)]={'stringify':function(_0x43797d){var _0x740673=_0x1da08a;for(var _0x5ca49b=_0x43797d['words'],_0x45fc63=_0x43797d[_0x740673(0xb3)],_0xf46aeb=[],_0x43a9ec=0x0;_0x43a9ec<_0x45fc63;_0x43a9ec++){var _0x4f1d3e=_0x5ca49b[_0x43a9ec>>>0x2]>>>0x18-_0x43a9ec%0x4*0x8&0xff;_0xf46aeb[_0x740673(0x29f)]((_0x4f1d3e>>>0x4)[_0x740673(0x27b)](0x10)),_0xf46aeb['push']((_0x4f1d3e&0xf)[_0x740673(0x27b)](0x10));}return _0xf46aeb[_0x740673(0x258)]('');},'parse':function(_0xee6394){var _0x148448=_0x1da08a;for(var _0x430396=_0xee6394['length'],_0x5c0cfd=[],_0x38dcc5=0x0;_0x38dcc5<_0x430396;_0x38dcc5+=0x2)_0x5c0cfd[_0x38dcc5>>>0x3]|=parseInt(_0xee6394[_0x148448(0x26b)](_0x38dcc5,0x2),0x10)<<0x18-_0x38dcc5%0x8*0x4;return new _0x52ad25[(_0x148448(0xbb))](_0x5c0cfd,_0x430396/0x2);}},_0x4f3c35=_0x92e672[_0x1da08a(0x21b)]={'stringify':function(_0x2b03d9){var _0x560ffe=_0x1da08a;for(var _0x446cb3=_0x2b03d9[_0x560ffe(0x376)],_0x57cd79=_0x2b03d9['sigBytes'],_0x289d02=[],_0x5b62f6=0x0;_0x5b62f6<_0x57cd79;_0x5b62f6++){var _0x7df376=_0x446cb3[_0x5b62f6>>>0x2]>>>0x18-_0x5b62f6%0x4*0x8&0xff;_0x289d02[_0x560ffe(0x29f)](String[_0x560ffe(0x19b)](_0x7df376));}return _0x289d02[_0x560ffe(0x258)]('');},'parse':function(_0x10576a){var _0x463c60=_0x1da08a;for(var _0x109edb=_0x10576a[_0x463c60(0x109)],_0x10512b=[],_0x509d0d=0x0;_0x509d0d<_0x109edb;_0x509d0d++)_0x10512b[_0x509d0d>>>0x2]|=(_0x10576a[_0x463c60(0x226)](_0x509d0d)&0xff)<<0x18-_0x509d0d%0x4*0x8;return new _0x52ad25['init'](_0x10512b,_0x109edb);}},_0x59c18c=_0x92e672[_0x1da08a(0x248)]={'stringify':function(_0x1bd8e1){var _0x940ce5=_0x1da08a;try{return decodeURIComponent(escape(_0x4f3c35[_0x940ce5(0x178)](_0x1bd8e1)));}catch{throw new Error(_0x940ce5(0x194));}},'parse':function(_0xe3be52){var _0x444044=_0x1da08a;return _0x4f3c35[_0x444044(0x21e)](unescape(encodeURIComponent(_0xe3be52)));}},_0x3e99d9=_0x21ed9f['BufferedBlockAlgorithm']=_0x94f9a5[_0x1da08a(0x179)]({'reset':function(){var _0xee772d=_0x1da08a;this[_0xee772d(0x2b4)]=new _0x52ad25[(_0xee772d(0xbb))](),this['_nDataBytes']=0x0;},'_append':function(_0x3b4a89){var _0x170046=_0x1da08a;typeof _0x3b4a89==_0x170046(0x14f)&&(_0x3b4a89=_0x59c18c[_0x170046(0x21e)](_0x3b4a89)),this[_0x170046(0x2b4)][_0x170046(0x346)](_0x3b4a89),this[_0x170046(0x390)]+=_0x3b4a89[_0x170046(0xb3)];},'_process':function(_0x2ff892){var _0x3b1908=_0x1da08a,_0x51e6a9,_0x19bfbe=this[_0x3b1908(0x2b4)],_0x6a7619=_0x19bfbe[_0x3b1908(0x376)],_0x3a5be5=_0x19bfbe[_0x3b1908(0xb3)],_0x473184=this[_0x3b1908(0x2e1)],_0x1acd9d=_0x473184*0x4,_0x32172a=_0x3a5be5/_0x1acd9d;_0x2ff892?_0x32172a=_0x53a829[_0x3b1908(0x274)](_0x32172a):_0x32172a=_0x53a829[_0x3b1908(0xce)]((_0x32172a|0x0)-this[_0x3b1908(0x235)],0x0);var _0x444443=_0x32172a*_0x473184,_0x16d211=_0x53a829[_0x3b1908(0x389)](_0x444443*0x4,_0x3a5be5);if(_0x444443){for(var _0x14a1c4=0x0;_0x14a1c4<_0x444443;_0x14a1c4+=_0x473184)this[_0x3b1908(0x12d)](_0x6a7619,_0x14a1c4);_0x51e6a9=_0x6a7619[_0x3b1908(0xa5)](0x0,_0x444443),_0x19bfbe[_0x3b1908(0xb3)]-=_0x16d211;}return new _0x52ad25[(_0x3b1908(0xbb))](_0x51e6a9,_0x16d211);},'clone':function(){var _0x1d6ceb=_0x1da08a,_0x11cfdd=_0x94f9a5[_0x1d6ceb(0x31a)][_0x1d6ceb(0x1e3)](this);return _0x11cfdd[_0x1d6ceb(0x2b4)]=this['_data'][_0x1d6ceb(0x31a)](),_0x11cfdd;},'_minBufferSize':0x0});_0x21ed9f[_0x1da08a(0x303)]=_0x3e99d9[_0x1da08a(0x179)]({'cfg':_0x94f9a5[_0x1da08a(0x179)](),'init':function(_0x3d21ef){var _0x3429a8=_0x1da08a;this[_0x3429a8(0x22d)]=this[_0x3429a8(0x22d)][_0x3429a8(0x179)](_0x3d21ef),this[_0x3429a8(0x309)]();},'reset':function(){var _0x435131=_0x1da08a;_0x3e99d9[_0x435131(0x309)]['call'](this),this[_0x435131(0xed)]();},'update':function(_0x5a773e){var _0x9f0d36=_0x1da08a;return this[_0x9f0d36(0x201)](_0x5a773e),this['_process'](),this;},'finalize':function(_0x5dc3dd){var _0x188b6d=_0x1da08a;_0x5dc3dd&&this[_0x188b6d(0x201)](_0x5dc3dd);var _0x1c4677=this[_0x188b6d(0x1f8)]();return _0x1c4677;},'blockSize':0x10,'_createHelper':function(_0x392f45){return function(_0x3a4b22,_0x301e03){var _0x55aaac=_0x4d02;return new _0x392f45[(_0x55aaac(0xbb))](_0x301e03)['finalize'](_0x3a4b22);};},'_createHmacHelper':function(_0x126c7f){return function(_0x4aa9da,_0x4d6572){var _0x5201cd=_0x4d02;return new _0x5dd172[(_0x5201cd(0xab))][(_0x5201cd(0xbb))](_0x126c7f,_0x4d6572)['finalize'](_0x4aa9da);};}});var _0x5dd172=_0x2af16c['algo']={};return _0x2af16c;}(Math);return _0x437dfd;}));}(Ge)),Ge[_0x48413b(0x1dc)];}var We={'exports':{}},Es=We[_0x927f58(0x1dc)],Zt;function Di(){var _0x2f0b89=_0x927f58;return Zt||(Zt=0x1,function(_0x250435,_0x1a7e7b){(function(_0x166744,_0x4aa395){var _0xd81c75=_0x4d02;_0x250435[_0xd81c75(0x1dc)]=_0x4aa395(ie());}(Es,function(_0x35d874){var _0x185d2c=_0x4d02;return(function(){var _0x819bc5=_0x4d02,_0x15abf5=_0x35d874,_0x3f9553=_0x15abf5[_0x819bc5(0x174)],_0xd5b4a=_0x3f9553[_0x819bc5(0x173)],_0x18abf3=_0x15abf5['enc'];_0x18abf3[_0x819bc5(0x381)]={'stringify':function(_0x228986){var _0x463765=_0x819bc5,_0x4fe878=_0x228986[_0x463765(0x376)],_0x3793ea=_0x228986[_0x463765(0xb3)],_0x2e8817=this['_map'];_0x228986[_0x463765(0x336)]();for(var _0x5f1829=[],_0x797e36=0x0;_0x797e36<_0x3793ea;_0x797e36+=0x3)for(var _0x587682=_0x4fe878[_0x797e36>>>0x2]>>>0x18-_0x797e36%0x4*0x8&0xff,_0x54d39c=_0x4fe878[_0x797e36+0x1>>>0x2]>>>0x18-(_0x797e36+0x1)%0x4*0x8&0xff,_0x471f84=_0x4fe878[_0x797e36+0x2>>>0x2]>>>0x18-(_0x797e36+0x2)%0x4*0x8&0xff,_0x56cf0b=_0x587682<<0x10|_0x54d39c<<0x8|_0x471f84,_0x5267d7=0x0;_0x5267d7<0x4&&_0x797e36+_0x5267d7*0.75<_0x3793ea;_0x5267d7++)_0x5f1829['push'](_0x2e8817['charAt'](_0x56cf0b>>>0x6*(0x3-_0x5267d7)&0x3f));var _0x5aa69f=_0x2e8817[_0x463765(0x2b2)](0x40);if(_0x5aa69f){for(;_0x5f1829[_0x463765(0x109)]%0x4;)_0x5f1829[_0x463765(0x29f)](_0x5aa69f);}return _0x5f1829[_0x463765(0x258)]('');},'parse':function(_0x14ac0d){var _0x25199c=_0x819bc5,_0xf464c4=_0x14ac0d['length'],_0x54a3b2=this[_0x25199c(0x215)],_0xc002b5=this[_0x25199c(0x1b1)];if(!_0xc002b5){_0xc002b5=this[_0x25199c(0x1b1)]=[];for(var _0x27836c=0x0;_0x27836c<_0x54a3b2[_0x25199c(0x109)];_0x27836c++)_0xc002b5[_0x54a3b2[_0x25199c(0x226)](_0x27836c)]=_0x27836c;}var _0x5e366b=_0x54a3b2[_0x25199c(0x2b2)](0x40);if(_0x5e366b){var _0x2ea97f=_0x14ac0d[_0x25199c(0x133)](_0x5e366b);_0x2ea97f!==-0x1&&(_0xf464c4=_0x2ea97f);}return _0x1bd458(_0x14ac0d,_0xf464c4,_0xc002b5);},'_map':_0x819bc5(0x2bd)};function _0x1bd458(_0x17a907,_0x495c97,_0x5c054c){var _0x19d5c2=_0x819bc5;for(var _0xeee995=[],_0x249904=0x0,_0x577581=0x0;_0x577581<_0x495c97;_0x577581++)if(_0x577581%0x4){var _0x51ace0=_0x5c054c[_0x17a907['charCodeAt'](_0x577581-0x1)]<<_0x577581%0x4*0x2,_0x2a7e28=_0x5c054c[_0x17a907['charCodeAt'](_0x577581)]>>>0x6-_0x577581%0x4*0x2,_0x20b400=_0x51ace0|_0x2a7e28;_0xeee995[_0x249904>>>0x2]|=_0x20b400<<0x18-_0x249904%0x4*0x8,_0x249904++;}return _0xd5b4a[_0x19d5c2(0x1fb)](_0xeee995,_0x249904);}}()),_0x35d874[_0x185d2c(0x23d)]['Base64'];}));}(We)),We[_0x2f0b89(0x1dc)];}var Ye={'exports':{}},Is=Ye[_0x927f58(0x1dc)],Qt;function Ts(){var _0x345565=_0x927f58;return Qt||(Qt=0x1,function(_0x59dff7,_0x52ae87){(function(_0x135577,_0x39910e){var _0x56b570=_0x4d02;_0x59dff7[_0x56b570(0x1dc)]=_0x39910e(ie());}(Is,function(_0x5fbc46){var _0x2a036b=_0x4d02;return function(_0xa12ff1){var _0x2d40a7=_0x4d02,_0x279649=_0x5fbc46,_0x4921fb=_0x279649[_0x2d40a7(0x174)],_0x6d0208=_0x4921fb[_0x2d40a7(0x173)],_0x27a518=_0x4921fb[_0x2d40a7(0x303)],_0x3e2b24=_0x279649[_0x2d40a7(0x21d)],_0x1e3491=[];(function(){var _0xb1c0c4=_0x2d40a7;for(var _0x5efc89=0x0;_0x5efc89<0x40;_0x5efc89++)_0x1e3491[_0x5efc89]=_0xa12ff1[_0xb1c0c4(0x2e5)](_0xa12ff1[_0xb1c0c4(0x1a9)](_0x5efc89+0x1))*0x100000000|0x0;}());var _0x2ac453=_0x3e2b24[_0x2d40a7(0x27e)]=_0x27a518[_0x2d40a7(0x179)]({'_doReset':function(){var _0x2c5828=_0x2d40a7;this['_hash']=new _0x6d0208[(_0x2c5828(0xbb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x306d87,_0x5e4b36){var _0x2a4329=_0x2d40a7;for(var _0x541f76=0x0;_0x541f76<0x10;_0x541f76++){var _0x342307=_0x5e4b36+_0x541f76,_0x2c209f=_0x306d87[_0x342307];_0x306d87[_0x342307]=(_0x2c209f<<0x8|_0x2c209f>>>0x18)&0xff00ff|(_0x2c209f<<0x18|_0x2c209f>>>0x8)&0xff00ff00;}var _0x351b6c=this[_0x2a4329(0x24c)][_0x2a4329(0x376)],_0x1c0dd8=_0x306d87[_0x5e4b36+0x0],_0x33e3b2=_0x306d87[_0x5e4b36+0x1],_0x33344c=_0x306d87[_0x5e4b36+0x2],_0x483039=_0x306d87[_0x5e4b36+0x3],_0x2eab5e=_0x306d87[_0x5e4b36+0x4],_0x28191c=_0x306d87[_0x5e4b36+0x5],_0x1fd770=_0x306d87[_0x5e4b36+0x6],_0x4766f2=_0x306d87[_0x5e4b36+0x7],_0x1d9c79=_0x306d87[_0x5e4b36+0x8],_0x3ffa4e=_0x306d87[_0x5e4b36+0x9],_0x1e8a49=_0x306d87[_0x5e4b36+0xa],_0x71bcdf=_0x306d87[_0x5e4b36+0xb],_0x1d3a99=_0x306d87[_0x5e4b36+0xc],_0x1da8b8=_0x306d87[_0x5e4b36+0xd],_0x2fc82c=_0x306d87[_0x5e4b36+0xe],_0x59aaf6=_0x306d87[_0x5e4b36+0xf],_0x1cc521=_0x351b6c[0x0],_0x3769c7=_0x351b6c[0x1],_0x4e8e19=_0x351b6c[0x2],_0x48c8cd=_0x351b6c[0x3];_0x1cc521=_0x551e49(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1c0dd8,0x7,_0x1e3491[0x0]),_0x48c8cd=_0x551e49(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x33e3b2,0xc,_0x1e3491[0x1]),_0x4e8e19=_0x551e49(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x33344c,0x11,_0x1e3491[0x2]),_0x3769c7=_0x551e49(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x483039,0x16,_0x1e3491[0x3]),_0x1cc521=_0x551e49(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x2eab5e,0x7,_0x1e3491[0x4]),_0x48c8cd=_0x551e49(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x28191c,0xc,_0x1e3491[0x5]),_0x4e8e19=_0x551e49(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x1fd770,0x11,_0x1e3491[0x6]),_0x3769c7=_0x551e49(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x4766f2,0x16,_0x1e3491[0x7]),_0x1cc521=_0x551e49(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1d9c79,0x7,_0x1e3491[0x8]),_0x48c8cd=_0x551e49(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x3ffa4e,0xc,_0x1e3491[0x9]),_0x4e8e19=_0x551e49(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x1e8a49,0x11,_0x1e3491[0xa]),_0x3769c7=_0x551e49(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x71bcdf,0x16,_0x1e3491[0xb]),_0x1cc521=_0x551e49(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1d3a99,0x7,_0x1e3491[0xc]),_0x48c8cd=_0x551e49(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x1da8b8,0xc,_0x1e3491[0xd]),_0x4e8e19=_0x551e49(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x2fc82c,0x11,_0x1e3491[0xe]),_0x3769c7=_0x551e49(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x59aaf6,0x16,_0x1e3491[0xf]),_0x1cc521=_0x3a81b9(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x33e3b2,0x5,_0x1e3491[0x10]),_0x48c8cd=_0x3a81b9(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x1fd770,0x9,_0x1e3491[0x11]),_0x4e8e19=_0x3a81b9(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x71bcdf,0xe,_0x1e3491[0x12]),_0x3769c7=_0x3a81b9(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x1c0dd8,0x14,_0x1e3491[0x13]),_0x1cc521=_0x3a81b9(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x28191c,0x5,_0x1e3491[0x14]),_0x48c8cd=_0x3a81b9(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x1e8a49,0x9,_0x1e3491[0x15]),_0x4e8e19=_0x3a81b9(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x59aaf6,0xe,_0x1e3491[0x16]),_0x3769c7=_0x3a81b9(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x2eab5e,0x14,_0x1e3491[0x17]),_0x1cc521=_0x3a81b9(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x3ffa4e,0x5,_0x1e3491[0x18]),_0x48c8cd=_0x3a81b9(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x2fc82c,0x9,_0x1e3491[0x19]),_0x4e8e19=_0x3a81b9(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x483039,0xe,_0x1e3491[0x1a]),_0x3769c7=_0x3a81b9(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x1d9c79,0x14,_0x1e3491[0x1b]),_0x1cc521=_0x3a81b9(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1da8b8,0x5,_0x1e3491[0x1c]),_0x48c8cd=_0x3a81b9(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x33344c,0x9,_0x1e3491[0x1d]),_0x4e8e19=_0x3a81b9(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x4766f2,0xe,_0x1e3491[0x1e]),_0x3769c7=_0x3a81b9(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x1d3a99,0x14,_0x1e3491[0x1f]),_0x1cc521=_0x30bde8(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x28191c,0x4,_0x1e3491[0x20]),_0x48c8cd=_0x30bde8(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x1d9c79,0xb,_0x1e3491[0x21]),_0x4e8e19=_0x30bde8(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x71bcdf,0x10,_0x1e3491[0x22]),_0x3769c7=_0x30bde8(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x2fc82c,0x17,_0x1e3491[0x23]),_0x1cc521=_0x30bde8(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x33e3b2,0x4,_0x1e3491[0x24]),_0x48c8cd=_0x30bde8(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x2eab5e,0xb,_0x1e3491[0x25]),_0x4e8e19=_0x30bde8(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x4766f2,0x10,_0x1e3491[0x26]),_0x3769c7=_0x30bde8(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x1e8a49,0x17,_0x1e3491[0x27]),_0x1cc521=_0x30bde8(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1da8b8,0x4,_0x1e3491[0x28]),_0x48c8cd=_0x30bde8(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x1c0dd8,0xb,_0x1e3491[0x29]),_0x4e8e19=_0x30bde8(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x483039,0x10,_0x1e3491[0x2a]),_0x3769c7=_0x30bde8(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x1fd770,0x17,_0x1e3491[0x2b]),_0x1cc521=_0x30bde8(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x3ffa4e,0x4,_0x1e3491[0x2c]),_0x48c8cd=_0x30bde8(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x1d3a99,0xb,_0x1e3491[0x2d]),_0x4e8e19=_0x30bde8(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x59aaf6,0x10,_0x1e3491[0x2e]),_0x3769c7=_0x30bde8(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x33344c,0x17,_0x1e3491[0x2f]),_0x1cc521=_0x1a24bc(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1c0dd8,0x6,_0x1e3491[0x30]),_0x48c8cd=_0x1a24bc(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x4766f2,0xa,_0x1e3491[0x31]),_0x4e8e19=_0x1a24bc(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x2fc82c,0xf,_0x1e3491[0x32]),_0x3769c7=_0x1a24bc(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x28191c,0x15,_0x1e3491[0x33]),_0x1cc521=_0x1a24bc(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1d3a99,0x6,_0x1e3491[0x34]),_0x48c8cd=_0x1a24bc(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x483039,0xa,_0x1e3491[0x35]),_0x4e8e19=_0x1a24bc(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x1e8a49,0xf,_0x1e3491[0x36]),_0x3769c7=_0x1a24bc(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x33e3b2,0x15,_0x1e3491[0x37]),_0x1cc521=_0x1a24bc(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1d9c79,0x6,_0x1e3491[0x38]),_0x48c8cd=_0x1a24bc(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x59aaf6,0xa,_0x1e3491[0x39]),_0x4e8e19=_0x1a24bc(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x1fd770,0xf,_0x1e3491[0x3a]),_0x3769c7=_0x1a24bc(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x1da8b8,0x15,_0x1e3491[0x3b]),_0x1cc521=_0x1a24bc(_0x1cc521,_0x3769c7,_0x4e8e19,_0x48c8cd,_0x2eab5e,0x6,_0x1e3491[0x3c]),_0x48c8cd=_0x1a24bc(_0x48c8cd,_0x1cc521,_0x3769c7,_0x4e8e19,_0x71bcdf,0xa,_0x1e3491[0x3d]),_0x4e8e19=_0x1a24bc(_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3769c7,_0x33344c,0xf,_0x1e3491[0x3e]),_0x3769c7=_0x1a24bc(_0x3769c7,_0x4e8e19,_0x48c8cd,_0x1cc521,_0x3ffa4e,0x15,_0x1e3491[0x3f]),_0x351b6c[0x0]=_0x351b6c[0x0]+_0x1cc521|0x0,_0x351b6c[0x1]=_0x351b6c[0x1]+_0x3769c7|0x0,_0x351b6c[0x2]=_0x351b6c[0x2]+_0x4e8e19|0x0,_0x351b6c[0x3]=_0x351b6c[0x3]+_0x48c8cd|0x0;},'_doFinalize':function(){var _0x417682=_0x2d40a7,_0x2f0585=this[_0x417682(0x2b4)],_0x253d1c=_0x2f0585[_0x417682(0x376)],_0x19252b=this['_nDataBytes']*0x8,_0xe1876b=_0x2f0585[_0x417682(0xb3)]*0x8;_0x253d1c[_0xe1876b>>>0x5]|=0x80<<0x18-_0xe1876b%0x20;var _0x2e6649=_0xa12ff1[_0x417682(0x351)](_0x19252b/0x100000000),_0x5c4cb6=_0x19252b;_0x253d1c[(_0xe1876b+0x40>>>0x9<<0x4)+0xf]=(_0x2e6649<<0x8|_0x2e6649>>>0x18)&0xff00ff|(_0x2e6649<<0x18|_0x2e6649>>>0x8)&0xff00ff00,_0x253d1c[(_0xe1876b+0x40>>>0x9<<0x4)+0xe]=(_0x5c4cb6<<0x8|_0x5c4cb6>>>0x18)&0xff00ff|(_0x5c4cb6<<0x18|_0x5c4cb6>>>0x8)&0xff00ff00,_0x2f0585[_0x417682(0xb3)]=(_0x253d1c[_0x417682(0x109)]+0x1)*0x4,this[_0x417682(0x9a)]();for(var _0x46c97e=this[_0x417682(0x24c)],_0x463ab2=_0x46c97e[_0x417682(0x376)],_0x36217e=0x0;_0x36217e<0x4;_0x36217e++){var _0x12b30b=_0x463ab2[_0x36217e];_0x463ab2[_0x36217e]=(_0x12b30b<<0x8|_0x12b30b>>>0x18)&0xff00ff|(_0x12b30b<<0x18|_0x12b30b>>>0x8)&0xff00ff00;}return _0x46c97e;},'clone':function(){var _0x5ed7a3=_0x2d40a7,_0x38318a=_0x27a518['clone'][_0x5ed7a3(0x1e3)](this);return _0x38318a[_0x5ed7a3(0x24c)]=this[_0x5ed7a3(0x24c)]['clone'](),_0x38318a;}});function _0x551e49(_0x5d5202,_0x491867,_0x517a55,_0x2bfa2f,_0x1ae939,_0x29e990,_0x5ca6de){var _0x37d6a2=_0x5d5202+(_0x491867&_0x517a55|~_0x491867&_0x2bfa2f)+_0x1ae939+_0x5ca6de;return(_0x37d6a2<<_0x29e990|_0x37d6a2>>>0x20-_0x29e990)+_0x491867;}function _0x3a81b9(_0x319742,_0xc40b44,_0x39268e,_0x119e68,_0x10ba38,_0x37cbeb,_0x165bfa){var _0x4ae40e=_0x319742+(_0xc40b44&_0x119e68|_0x39268e&~_0x119e68)+_0x10ba38+_0x165bfa;return(_0x4ae40e<<_0x37cbeb|_0x4ae40e>>>0x20-_0x37cbeb)+_0xc40b44;}function _0x30bde8(_0x1b264a,_0x2fdc80,_0x40ce35,_0x784c77,_0x1c8cbc,_0x2ca928,_0x5e9e22){var _0x4e2f3a=_0x1b264a+(_0x2fdc80^_0x40ce35^_0x784c77)+_0x1c8cbc+_0x5e9e22;return(_0x4e2f3a<<_0x2ca928|_0x4e2f3a>>>0x20-_0x2ca928)+_0x2fdc80;}function _0x1a24bc(_0xdc54e4,_0x5716e7,_0x11d00b,_0x4df6a8,_0x45a5d2,_0x197f2e,_0x4f53e7){var _0x542a37=_0xdc54e4+(_0x11d00b^(_0x5716e7|~_0x4df6a8))+_0x45a5d2+_0x4f53e7;return(_0x542a37<<_0x197f2e|_0x542a37>>>0x20-_0x197f2e)+_0x5716e7;}_0x279649[_0x2d40a7(0x27e)]=_0x27a518[_0x2d40a7(0xdc)](_0x2ac453),_0x279649[_0x2d40a7(0x13b)]=_0x27a518[_0x2d40a7(0x38d)](_0x2ac453);}(Math),_0x5fbc46[_0x2a036b(0x27e)];}));}(Ye)),Ye[_0x345565(0x1dc)];}var Ke={'exports':{}},qe={'exports':{}},Cs=qe[_0x927f58(0x1dc)],ei;function Rs(){var _0x281706=_0x927f58;return ei||(ei=0x1,function(_0xe6b4c,_0x42a3de){(function(_0x1e2bb1,_0x5a26bb){var _0x228935=_0x4d02;_0xe6b4c[_0x228935(0x1dc)]=_0x5a26bb(ie());}(Cs,function(_0x50f6c5){return(function(){var _0x11b787=_0x4d02,_0x2f3700=_0x50f6c5,_0x59e2de=_0x2f3700[_0x11b787(0x174)],_0x3d564a=_0x59e2de[_0x11b787(0x173)],_0x3a648f=_0x59e2de[_0x11b787(0x303)],_0x240783=_0x2f3700['algo'],_0x515b97=[],_0x30d3f0=_0x240783[_0x11b787(0x251)]=_0x3a648f['extend']({'_doReset':function(){var _0x151e2f=_0x11b787;this[_0x151e2f(0x24c)]=new _0x3d564a[(_0x151e2f(0xbb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4943dc,_0x345bf7){var _0x8bb50=_0x11b787;for(var _0x10e4d0=this[_0x8bb50(0x24c)][_0x8bb50(0x376)],_0x27199b=_0x10e4d0[0x0],_0x449df1=_0x10e4d0[0x1],_0x5ac2da=_0x10e4d0[0x2],_0x2e885e=_0x10e4d0[0x3],_0x21a3ab=_0x10e4d0[0x4],_0x21d094=0x0;_0x21d094<0x50;_0x21d094++){if(_0x21d094<0x10)_0x515b97[_0x21d094]=_0x4943dc[_0x345bf7+_0x21d094]|0x0;else{var _0x39fe22=_0x515b97[_0x21d094-0x3]^_0x515b97[_0x21d094-0x8]^_0x515b97[_0x21d094-0xe]^_0x515b97[_0x21d094-0x10];_0x515b97[_0x21d094]=_0x39fe22<<0x1|_0x39fe22>>>0x1f;}var _0x14afae=(_0x27199b<<0x5|_0x27199b>>>0x1b)+_0x21a3ab+_0x515b97[_0x21d094];_0x21d094<0x14?_0x14afae+=(_0x449df1&_0x5ac2da|~_0x449df1&_0x2e885e)+0x5a827999:_0x21d094<0x28?_0x14afae+=(_0x449df1^_0x5ac2da^_0x2e885e)+0x6ed9eba1:_0x21d094<0x3c?_0x14afae+=(_0x449df1&_0x5ac2da|_0x449df1&_0x2e885e|_0x5ac2da&_0x2e885e)-0x70e44324:_0x14afae+=(_0x449df1^_0x5ac2da^_0x2e885e)-0x359d3e2a,_0x21a3ab=_0x2e885e,_0x2e885e=_0x5ac2da,_0x5ac2da=_0x449df1<<0x1e|_0x449df1>>>0x2,_0x449df1=_0x27199b,_0x27199b=_0x14afae;}_0x10e4d0[0x0]=_0x10e4d0[0x0]+_0x27199b|0x0,_0x10e4d0[0x1]=_0x10e4d0[0x1]+_0x449df1|0x0,_0x10e4d0[0x2]=_0x10e4d0[0x2]+_0x5ac2da|0x0,_0x10e4d0[0x3]=_0x10e4d0[0x3]+_0x2e885e|0x0,_0x10e4d0[0x4]=_0x10e4d0[0x4]+_0x21a3ab|0x0;},'_doFinalize':function(){var _0x4f5592=_0x11b787,_0x2f1c37=this[_0x4f5592(0x2b4)],_0x4f11ab=_0x2f1c37[_0x4f5592(0x376)],_0x326863=this[_0x4f5592(0x390)]*0x8,_0x296b54=_0x2f1c37[_0x4f5592(0xb3)]*0x8;return _0x4f11ab[_0x296b54>>>0x5]|=0x80<<0x18-_0x296b54%0x20,_0x4f11ab[(_0x296b54+0x40>>>0x9<<0x4)+0xe]=Math[_0x4f5592(0x351)](_0x326863/0x100000000),_0x4f11ab[(_0x296b54+0x40>>>0x9<<0x4)+0xf]=_0x326863,_0x2f1c37[_0x4f5592(0xb3)]=_0x4f11ab['length']*0x4,this[_0x4f5592(0x9a)](),this['_hash'];},'clone':function(){var _0x24fb85=_0x11b787,_0x59dba1=_0x3a648f[_0x24fb85(0x31a)][_0x24fb85(0x1e3)](this);return _0x59dba1[_0x24fb85(0x24c)]=this['_hash'][_0x24fb85(0x31a)](),_0x59dba1;}});_0x2f3700[_0x11b787(0x251)]=_0x3a648f['_createHelper'](_0x30d3f0),_0x2f3700['HmacSHA1']=_0x3a648f[_0x11b787(0x38d)](_0x30d3f0);}()),_0x50f6c5['SHA1'];}));}(qe)),qe[_0x281706(0x1dc)];}function _0x4d02(_0x18a150,_0x1b5357){var _0x5f4504=_0x5f45();return _0x4d02=function(_0x4d02fa,_0x4c6549){_0x4d02fa=_0x4d02fa-0x93;var _0x235ca0=_0x5f4504[_0x4d02fa];return _0x235ca0;},_0x4d02(_0x18a150,_0x1b5357);}var ze={'exports':{}},bs=ze[_0x927f58(0x1dc)],ti;function Os(){var _0x19e8d1=_0x927f58;return ti||(ti=0x1,function(_0x137a67,_0x293684){(function(_0x4cff1c,_0x328cdf){var _0x5d791=_0x4d02;_0x137a67[_0x5d791(0x1dc)]=_0x328cdf(ie());}(bs,function(_0x5742a0){(function(){var _0x34c236=_0x4d02,_0x2f222d=_0x5742a0,_0x383278=_0x2f222d[_0x34c236(0x174)],_0xc66228=_0x383278[_0x34c236(0x31e)],_0x23fa21=_0x2f222d['enc'],_0x25d438=_0x23fa21['Utf8'],_0x378ffc=_0x2f222d[_0x34c236(0x21d)];_0x378ffc['HMAC']=_0xc66228[_0x34c236(0x179)]({'init':function(_0x27dc5b,_0x206c01){var _0x2493be=_0x34c236;_0x27dc5b=this[_0x2493be(0x1b7)]=new _0x27dc5b[(_0x2493be(0xbb))](),typeof _0x206c01=='string'&&(_0x206c01=_0x25d438[_0x2493be(0x21e)](_0x206c01));var _0x665678=_0x27dc5b[_0x2493be(0x2e1)],_0xcb0468=_0x665678*0x4;_0x206c01[_0x2493be(0xb3)]>_0xcb0468&&(_0x206c01=_0x27dc5b[_0x2493be(0xac)](_0x206c01)),_0x206c01['clamp']();for(var _0x219f4a=this[_0x2493be(0x176)]=_0x206c01[_0x2493be(0x31a)](),_0x1fc958=this[_0x2493be(0x1cd)]=_0x206c01[_0x2493be(0x31a)](),_0x9f5557=_0x219f4a['words'],_0x106fc1=_0x1fc958[_0x2493be(0x376)],_0x32f6e9=0x0;_0x32f6e9<_0x665678;_0x32f6e9++)_0x9f5557[_0x32f6e9]^=0x5c5c5c5c,_0x106fc1[_0x32f6e9]^=0x36363636;_0x219f4a[_0x2493be(0xb3)]=_0x1fc958['sigBytes']=_0xcb0468,this[_0x2493be(0x309)]();},'reset':function(){var _0x346f47=_0x34c236,_0x1f3bdc=this[_0x346f47(0x1b7)];_0x1f3bdc[_0x346f47(0x309)](),_0x1f3bdc[_0x346f47(0x1cf)](this[_0x346f47(0x1cd)]);},'update':function(_0x342412){var _0x293acc=_0x34c236;return this['_hasher'][_0x293acc(0x1cf)](_0x342412),this;},'finalize':function(_0x20ad1d){var _0x2aba86=_0x34c236,_0x253019=this['_hasher'],_0x5de4ba=_0x253019[_0x2aba86(0xac)](_0x20ad1d);_0x253019['reset']();var _0x1ed702=_0x253019[_0x2aba86(0xac)](this[_0x2aba86(0x176)][_0x2aba86(0x31a)]()[_0x2aba86(0x346)](_0x5de4ba));return _0x1ed702;}});}());}));}(ze)),ze[_0x19e8d1(0x1dc)];}var ys=Ke['exports'],ii;function Ui(){var _0x53f64c=_0x927f58;return ii||(ii=0x1,function(_0x3deddf,_0x1f46e9){(function(_0xc769bd,_0x2d5b1b,_0x5e10f1){var _0x2f1648=_0x4d02;_0x3deddf[_0x2f1648(0x1dc)]=_0x2d5b1b(ie(),Rs(),Os());}(ys,function(_0x3259d6){return(function(){var _0x43f155=_0x4d02,_0x3dd9b6=_0x3259d6,_0x54780f=_0x3dd9b6[_0x43f155(0x174)],_0x537949=_0x54780f[_0x43f155(0x31e)],_0x3f8e75=_0x54780f[_0x43f155(0x173)],_0x1dcfe4=_0x3dd9b6[_0x43f155(0x21d)],_0x4ef532=_0x1dcfe4['MD5'],_0x53ee24=_0x1dcfe4[_0x43f155(0x2a9)]=_0x537949[_0x43f155(0x179)]({'cfg':_0x537949[_0x43f155(0x179)]({'keySize':0x80/0x20,'hasher':_0x4ef532,'iterations':0x1}),'init':function(_0x454ff9){var _0x5cd341=_0x43f155;this[_0x5cd341(0x22d)]=this['cfg'][_0x5cd341(0x179)](_0x454ff9);},'compute':function(_0x4af84c,_0x4c992c){var _0x420cc4=_0x43f155;for(var _0x17b609,_0x9a9404=this[_0x420cc4(0x22d)],_0x836306=_0x9a9404['hasher'][_0x420cc4(0x1fb)](),_0x1efee3=_0x3f8e75[_0x420cc4(0x1fb)](),_0x2f322c=_0x1efee3[_0x420cc4(0x376)],_0x52c13a=_0x9a9404[_0x420cc4(0x103)],_0x3921a4=_0x9a9404[_0x420cc4(0x36e)];_0x2f322c['length']<_0x52c13a;){_0x17b609&&_0x836306['update'](_0x17b609),_0x17b609=_0x836306[_0x420cc4(0x1cf)](_0x4af84c)[_0x420cc4(0xac)](_0x4c992c),_0x836306['reset']();for(var _0x26047e=0x1;_0x26047e<_0x3921a4;_0x26047e++)_0x17b609=_0x836306['finalize'](_0x17b609),_0x836306[_0x420cc4(0x309)]();_0x1efee3['concat'](_0x17b609);}return _0x1efee3[_0x420cc4(0xb3)]=_0x52c13a*0x4,_0x1efee3;}});_0x3dd9b6[_0x43f155(0x2a9)]=function(_0x53ca7f,_0x36646e,_0x557174){var _0x165f73=_0x43f155;return _0x53ee24['create'](_0x557174)[_0x165f73(0x2ab)](_0x53ca7f,_0x36646e);};}()),_0x3259d6['EvpKDF'];}));}(Ke)),Ke[_0x53f64c(0x1dc)];}var Je={'exports':{}},Ns=Je[_0x927f58(0x1dc)],ni;function Ai(){var _0x276583=_0x927f58;return ni||(ni=0x1,function(_0x4381a0,_0x783c28){(function(_0x3f696d,_0x44550f,_0x1d2080){var _0x93e15e=_0x4d02;_0x4381a0[_0x93e15e(0x1dc)]=_0x44550f(ie(),Ui());}(Ns,function(_0x5e91f4){var _0x2ef5b6=_0x4d02;_0x5e91f4[_0x2ef5b6(0x174)][_0x2ef5b6(0x1be)]||function(_0x3e4365){var _0x25a1f9=_0x2ef5b6,_0x4170d6=_0x5e91f4,_0x478192=_0x4170d6['lib'],_0x5390e4=_0x478192[_0x25a1f9(0x31e)],_0x49fc4d=_0x478192[_0x25a1f9(0x173)],_0x44a5d6=_0x478192[_0x25a1f9(0xdf)],_0x2e7647=_0x4170d6['enc'];_0x2e7647[_0x25a1f9(0x248)];var _0x288d26=_0x2e7647[_0x25a1f9(0x381)],_0x35170a=_0x4170d6[_0x25a1f9(0x21d)],_0xb1e1c2=_0x35170a[_0x25a1f9(0x2a9)],_0x4fd9c8=_0x478192[_0x25a1f9(0x1be)]=_0x44a5d6[_0x25a1f9(0x179)]({'cfg':_0x5390e4[_0x25a1f9(0x179)](),'createEncryptor':function(_0x4411a2,_0x378dad){var _0x5c2fc9=_0x25a1f9;return this[_0x5c2fc9(0x1fb)](this['_ENC_XFORM_MODE'],_0x4411a2,_0x378dad);},'createDecryptor':function(_0x4ea94a,_0x354cf1){var _0x72111=_0x25a1f9;return this[_0x72111(0x1fb)](this[_0x72111(0x275)],_0x4ea94a,_0x354cf1);},'init':function(_0x148be8,_0x543b99,_0x201b0d){var _0x579b97=_0x25a1f9;this[_0x579b97(0x22d)]=this['cfg']['extend'](_0x201b0d),this['_xformMode']=_0x148be8,this['_key']=_0x543b99,this['reset']();},'reset':function(){var _0xde7b5c=_0x25a1f9;_0x44a5d6[_0xde7b5c(0x309)][_0xde7b5c(0x1e3)](this),this['_doReset']();},'process':function(_0x37b05b){var _0x365117=_0x25a1f9;return this[_0x365117(0x201)](_0x37b05b),this[_0x365117(0x9a)]();},'finalize':function(_0x57619c){var _0x4080c6=_0x25a1f9;_0x57619c&&this[_0x4080c6(0x201)](_0x57619c);var _0x13667b=this[_0x4080c6(0x1f8)]();return _0x13667b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x59f3e6(_0x17f263){return typeof _0x17f263=='string'?_0x2ede5c:_0x422e08;}return function(_0x7eec9d){return{'encrypt':function(_0x2c3c1,_0x2d3756,_0x3020c4){return _0x59f3e6(_0x2d3756)['encrypt'](_0x7eec9d,_0x2c3c1,_0x2d3756,_0x3020c4);},'decrypt':function(_0x430c14,_0x192508,_0x3ed925){var _0x3a9849=_0x4d02;return _0x59f3e6(_0x192508)[_0x3a9849(0x2ed)](_0x7eec9d,_0x430c14,_0x192508,_0x3ed925);}};};}())});_0x478192[_0x25a1f9(0x1d6)]=_0x4fd9c8[_0x25a1f9(0x179)]({'_doFinalize':function(){var _0x20547d=_0x25a1f9,_0x2dcf55=this[_0x20547d(0x9a)](!0x0);return _0x2dcf55;},'blockSize':0x1});var _0x251b1c=_0x4170d6[_0x25a1f9(0xb6)]={},_0x1c6683=_0x478192[_0x25a1f9(0x1c1)]=_0x5390e4[_0x25a1f9(0x179)]({'createEncryptor':function(_0x299830,_0x3b63e4){var _0x550ceb=_0x25a1f9;return this[_0x550ceb(0x345)]['create'](_0x299830,_0x3b63e4);},'createDecryptor':function(_0x21aec1,_0x27e09c){var _0x2a8efc=_0x25a1f9;return this['Decryptor'][_0x2a8efc(0x1fb)](_0x21aec1,_0x27e09c);},'init':function(_0x3acefe,_0x440c4b){var _0x30ee1a=_0x25a1f9;this[_0x30ee1a(0x394)]=_0x3acefe,this[_0x30ee1a(0x2c7)]=_0x440c4b;}}),_0x4b8820=_0x251b1c['CBC']=(function(){var _0x2765a3=_0x25a1f9,_0x3593f6=_0x1c6683[_0x2765a3(0x179)]();_0x3593f6[_0x2765a3(0x345)]=_0x3593f6[_0x2765a3(0x179)]({'processBlock':function(_0x38f874,_0x587a35){var _0x1e044e=_0x2765a3,_0x3e01e3=this[_0x1e044e(0x394)],_0x534077=_0x3e01e3[_0x1e044e(0x2e1)];_0x5314ad[_0x1e044e(0x1e3)](this,_0x38f874,_0x587a35,_0x534077),_0x3e01e3[_0x1e044e(0x2a1)](_0x38f874,_0x587a35),this[_0x1e044e(0x271)]=_0x38f874[_0x1e044e(0x37a)](_0x587a35,_0x587a35+_0x534077);}}),_0x3593f6['Decryptor']=_0x3593f6[_0x2765a3(0x179)]({'processBlock':function(_0x8ed3b8,_0x4b9304){var _0x244c26=_0x2765a3,_0x3ee363=this[_0x244c26(0x394)],_0x5e29c6=_0x3ee363[_0x244c26(0x2e1)],_0x24c373=_0x8ed3b8[_0x244c26(0x37a)](_0x4b9304,_0x4b9304+_0x5e29c6);_0x3ee363['decryptBlock'](_0x8ed3b8,_0x4b9304),_0x5314ad['call'](this,_0x8ed3b8,_0x4b9304,_0x5e29c6),this[_0x244c26(0x271)]=_0x24c373;}});function _0x5314ad(_0x3b0bc1,_0x524cd0,_0x33a0aa){var _0x4f200f=_0x2765a3,_0x23f783,_0x100b22=this[_0x4f200f(0x2c7)];_0x100b22?(_0x23f783=_0x100b22,this[_0x4f200f(0x2c7)]=_0x3e4365):_0x23f783=this[_0x4f200f(0x271)];for(var _0x458887=0x0;_0x458887<_0x33a0aa;_0x458887++)_0x3b0bc1[_0x524cd0+_0x458887]^=_0x23f783[_0x458887];}return _0x3593f6;}()),_0x588852=_0x4170d6[_0x25a1f9(0x183)]={},_0x50c9a8=_0x588852[_0x25a1f9(0x209)]={'pad':function(_0x578311,_0x56dc53){var _0xab4641=_0x25a1f9;for(var _0x47c336=_0x56dc53*0x4,_0x55904b=_0x47c336-_0x578311[_0xab4641(0xb3)]%_0x47c336,_0x53c28e=_0x55904b<<0x18|_0x55904b<<0x10|_0x55904b<<0x8|_0x55904b,_0x29aed7=[],_0x1d99d2=0x0;_0x1d99d2<_0x55904b;_0x1d99d2+=0x4)_0x29aed7[_0xab4641(0x29f)](_0x53c28e);var _0x24ad26=_0x49fc4d[_0xab4641(0x1fb)](_0x29aed7,_0x55904b);_0x578311['concat'](_0x24ad26);},'unpad':function(_0x4ef3be){var _0x4d2667=_0x25a1f9,_0x179f3b=_0x4ef3be[_0x4d2667(0x376)][_0x4ef3be['sigBytes']-0x1>>>0x2]&0xff;_0x4ef3be[_0x4d2667(0xb3)]-=_0x179f3b;}};_0x478192[_0x25a1f9(0x36a)]=_0x4fd9c8[_0x25a1f9(0x179)]({'cfg':_0x4fd9c8['cfg'][_0x25a1f9(0x179)]({'mode':_0x4b8820,'padding':_0x50c9a8}),'reset':function(){var _0x3bf2d2=_0x25a1f9,_0x83764b;_0x4fd9c8[_0x3bf2d2(0x309)]['call'](this);var _0x4c71cc=this[_0x3bf2d2(0x22d)],_0x326fd6=_0x4c71cc['iv'],_0x4fadba=_0x4c71cc[_0x3bf2d2(0xb6)];this[_0x3bf2d2(0x24d)]==this[_0x3bf2d2(0x2a2)]?_0x83764b=_0x4fadba[_0x3bf2d2(0x32c)]:(_0x83764b=_0x4fadba['createDecryptor'],this[_0x3bf2d2(0x235)]=0x1),this['_mode']&&this[_0x3bf2d2(0xff)][_0x3bf2d2(0x2ff)]==_0x83764b?this[_0x3bf2d2(0xff)][_0x3bf2d2(0xbb)](this,_0x326fd6&&_0x326fd6[_0x3bf2d2(0x376)]):(this[_0x3bf2d2(0xff)]=_0x83764b[_0x3bf2d2(0x1e3)](_0x4fadba,this,_0x326fd6&&_0x326fd6[_0x3bf2d2(0x376)]),this[_0x3bf2d2(0xff)][_0x3bf2d2(0x2ff)]=_0x83764b);},'_doProcessBlock':function(_0x1fd7b9,_0x1b507d){var _0x5170ee=_0x25a1f9;this[_0x5170ee(0xff)][_0x5170ee(0x332)](_0x1fd7b9,_0x1b507d);},'_doFinalize':function(){var _0x490b7d=_0x25a1f9,_0x3b9dc9,_0x140262=this[_0x490b7d(0x22d)]['padding'];return this[_0x490b7d(0x24d)]==this['_ENC_XFORM_MODE']?(_0x140262['pad'](this[_0x490b7d(0x2b4)],this[_0x490b7d(0x2e1)]),_0x3b9dc9=this['_process'](!0x0)):(_0x3b9dc9=this['_process'](!0x0),_0x140262['unpad'](_0x3b9dc9)),_0x3b9dc9;},'blockSize':0x80/0x20});var _0x4f4eda=_0x478192[_0x25a1f9(0x2ef)]=_0x5390e4[_0x25a1f9(0x179)]({'init':function(_0x3245aa){var _0x223916=_0x25a1f9;this[_0x223916(0x142)](_0x3245aa);},'toString':function(_0x59e8be){var _0x53282f=_0x25a1f9;return(_0x59e8be||this[_0x53282f(0x1c8)])['stringify'](this);}}),_0x34b641=_0x4170d6[_0x25a1f9(0x354)]={},_0x169044=_0x34b641[_0x25a1f9(0x36f)]={'stringify':function(_0x58e409){var _0x58f138=_0x25a1f9,_0xda5a9c,_0x4a4bad=_0x58e409[_0x58f138(0x2a0)],_0x1c17e5=_0x58e409['salt'];return _0x1c17e5?_0xda5a9c=_0x49fc4d[_0x58f138(0x1fb)]([0x53616c74,0x65645f5f])[_0x58f138(0x346)](_0x1c17e5)[_0x58f138(0x346)](_0x4a4bad):_0xda5a9c=_0x4a4bad,_0xda5a9c[_0x58f138(0x27b)](_0x288d26);},'parse':function(_0x4a4136){var _0xdf0282=_0x25a1f9,_0x220685,_0x3704f5=_0x288d26[_0xdf0282(0x21e)](_0x4a4136),_0x215985=_0x3704f5['words'];return _0x215985[0x0]==0x53616c74&&_0x215985[0x1]==0x65645f5f&&(_0x220685=_0x49fc4d[_0xdf0282(0x1fb)](_0x215985['slice'](0x2,0x4)),_0x215985[_0xdf0282(0xa5)](0x0,0x4),_0x3704f5[_0xdf0282(0xb3)]-=0x10),_0x4f4eda[_0xdf0282(0x1fb)]({'ciphertext':_0x3704f5,'salt':_0x220685});}},_0x422e08=_0x478192[_0x25a1f9(0x13c)]=_0x5390e4[_0x25a1f9(0x179)]({'cfg':_0x5390e4['extend']({'format':_0x169044}),'encrypt':function(_0x2adf1f,_0x16b6af,_0x58ebd4,_0x3a18aa){var _0x52de1e=_0x25a1f9;_0x3a18aa=this['cfg']['extend'](_0x3a18aa);var _0x329ffc=_0x2adf1f[_0x52de1e(0x32c)](_0x58ebd4,_0x3a18aa),_0x68970f=_0x329ffc['finalize'](_0x16b6af),_0x744646=_0x329ffc['cfg'];return _0x4f4eda[_0x52de1e(0x1fb)]({'ciphertext':_0x68970f,'key':_0x58ebd4,'iv':_0x744646['iv'],'algorithm':_0x2adf1f,'mode':_0x744646[_0x52de1e(0xb6)],'padding':_0x744646[_0x52de1e(0x2d9)],'blockSize':_0x2adf1f[_0x52de1e(0x2e1)],'formatter':_0x3a18aa[_0x52de1e(0x354)]});},'decrypt':function(_0x404e6b,_0x499e7e,_0x2d338f,_0xa95a4e){var _0x36debf=_0x25a1f9;_0xa95a4e=this['cfg'][_0x36debf(0x179)](_0xa95a4e),_0x499e7e=this[_0x36debf(0x240)](_0x499e7e,_0xa95a4e['format']);var _0x8ead95=_0x404e6b['createDecryptor'](_0x2d338f,_0xa95a4e)[_0x36debf(0xac)](_0x499e7e['ciphertext']);return _0x8ead95;},'_parse':function(_0x4e8011,_0x1677d5){var _0x1b253f=_0x25a1f9;return typeof _0x4e8011=='string'?_0x1677d5[_0x1b253f(0x21e)](_0x4e8011,this):_0x4e8011;}}),_0x280062=_0x4170d6[_0x25a1f9(0x272)]={},_0x325d5e=_0x280062['OpenSSL']={'execute':function(_0xc5e0ea,_0xbbfcac,_0x3db37f,_0x499946,_0x50c1cb){var _0x3f9089=_0x25a1f9;if(_0x499946||(_0x499946=_0x49fc4d[_0x3f9089(0x134)](0x40/0x8)),_0x50c1cb)var _0x31cdd0=_0xb1e1c2[_0x3f9089(0x1fb)]({'keySize':_0xbbfcac+_0x3db37f,'hasher':_0x50c1cb})[_0x3f9089(0x2ab)](_0xc5e0ea,_0x499946);else var _0x31cdd0=_0xb1e1c2[_0x3f9089(0x1fb)]({'keySize':_0xbbfcac+_0x3db37f})[_0x3f9089(0x2ab)](_0xc5e0ea,_0x499946);var _0x378f24=_0x49fc4d[_0x3f9089(0x1fb)](_0x31cdd0[_0x3f9089(0x376)][_0x3f9089(0x37a)](_0xbbfcac),_0x3db37f*0x4);return _0x31cdd0[_0x3f9089(0xb3)]=_0xbbfcac*0x4,_0x4f4eda[_0x3f9089(0x1fb)]({'key':_0x31cdd0,'iv':_0x378f24,'salt':_0x499946});}},_0x2ede5c=_0x478192[_0x25a1f9(0x93)]=_0x422e08['extend']({'cfg':_0x422e08[_0x25a1f9(0x22d)][_0x25a1f9(0x179)]({'kdf':_0x325d5e}),'encrypt':function(_0x3d1ebf,_0x475f9b,_0x28e3cf,_0x3974ab){var _0x22afbf=_0x25a1f9;_0x3974ab=this[_0x22afbf(0x22d)]['extend'](_0x3974ab);var _0x2eccdc=_0x3974ab['kdf'][_0x22afbf(0x242)](_0x28e3cf,_0x3d1ebf['keySize'],_0x3d1ebf[_0x22afbf(0x324)],_0x3974ab['salt'],_0x3974ab[_0x22afbf(0x1b8)]);_0x3974ab['iv']=_0x2eccdc['iv'];var _0x2ae435=_0x422e08[_0x22afbf(0x2ce)][_0x22afbf(0x1e3)](this,_0x3d1ebf,_0x475f9b,_0x2eccdc[_0x22afbf(0xf8)],_0x3974ab);return _0x2ae435[_0x22afbf(0x142)](_0x2eccdc),_0x2ae435;},'decrypt':function(_0x2b8d70,_0x4c6201,_0x1710da,_0x3bd9d5){var _0x4595f4=_0x25a1f9;_0x3bd9d5=this['cfg'][_0x4595f4(0x179)](_0x3bd9d5),_0x4c6201=this[_0x4595f4(0x240)](_0x4c6201,_0x3bd9d5[_0x4595f4(0x354)]);var _0x5156ac=_0x3bd9d5[_0x4595f4(0x272)][_0x4595f4(0x242)](_0x1710da,_0x2b8d70[_0x4595f4(0x103)],_0x2b8d70[_0x4595f4(0x324)],_0x4c6201[_0x4595f4(0xe2)],_0x3bd9d5[_0x4595f4(0x1b8)]);_0x3bd9d5['iv']=_0x5156ac['iv'];var _0x3943e6=_0x422e08[_0x4595f4(0x2ed)][_0x4595f4(0x1e3)](this,_0x2b8d70,_0x4c6201,_0x5156ac[_0x4595f4(0xf8)],_0x3bd9d5);return _0x3943e6;}});}();}));}(Je)),Je[_0x276583(0x1dc)];}var Ds=Ve['exports'],si;function Us(){var _0x329e58=_0x927f58;return si||(si=0x1,function(_0x24f917,_0x44e121){(function(_0x3e3ab7,_0x4f69c5,_0x5e15e2){var _0x4e9c2c=_0x4d02;_0x24f917[_0x4e9c2c(0x1dc)]=_0x4f69c5(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x3f519a){return(function(){var _0x57b2db=_0x4d02,_0x3d3d43=_0x3f519a,_0xf61263=_0x3d3d43[_0x57b2db(0x174)],_0x62e95b=_0xf61263[_0x57b2db(0x36a)],_0x41cbc9=_0x3d3d43[_0x57b2db(0x21d)],_0x5e0953=[],_0x465ccc=[],_0x4e1665=[],_0x2577a0=[],_0x2624f0=[],_0x39bab6=[],_0x5ecb28=[],_0x26b463=[],_0x10076e=[],_0x29c8d2=[];(function(){for(var _0x4fca33=[],_0x420103=0x0;_0x420103<0x100;_0x420103++)_0x420103<0x80?_0x4fca33[_0x420103]=_0x420103<<0x1:_0x4fca33[_0x420103]=_0x420103<<0x1^0x11b;for(var _0x4de0ae=0x0,_0x147c63=0x0,_0x420103=0x0;_0x420103<0x100;_0x420103++){var _0x1a7874=_0x147c63^_0x147c63<<0x1^_0x147c63<<0x2^_0x147c63<<0x3^_0x147c63<<0x4;_0x1a7874=_0x1a7874>>>0x8^_0x1a7874&0xff^0x63,_0x5e0953[_0x4de0ae]=_0x1a7874,_0x465ccc[_0x1a7874]=_0x4de0ae;var _0x1f4135=_0x4fca33[_0x4de0ae],_0x5a7f12=_0x4fca33[_0x1f4135],_0x39ed29=_0x4fca33[_0x5a7f12],_0x204c5f=_0x4fca33[_0x1a7874]*0x101^_0x1a7874*0x1010100;_0x4e1665[_0x4de0ae]=_0x204c5f<<0x18|_0x204c5f>>>0x8,_0x2577a0[_0x4de0ae]=_0x204c5f<<0x10|_0x204c5f>>>0x10,_0x2624f0[_0x4de0ae]=_0x204c5f<<0x8|_0x204c5f>>>0x18,_0x39bab6[_0x4de0ae]=_0x204c5f;var _0x204c5f=_0x39ed29*0x1010101^_0x5a7f12*0x10001^_0x1f4135*0x101^_0x4de0ae*0x1010100;_0x5ecb28[_0x1a7874]=_0x204c5f<<0x18|_0x204c5f>>>0x8,_0x26b463[_0x1a7874]=_0x204c5f<<0x10|_0x204c5f>>>0x10,_0x10076e[_0x1a7874]=_0x204c5f<<0x8|_0x204c5f>>>0x18,_0x29c8d2[_0x1a7874]=_0x204c5f,_0x4de0ae?(_0x4de0ae=_0x1f4135^_0x4fca33[_0x4fca33[_0x4fca33[_0x39ed29^_0x1f4135]]],_0x147c63^=_0x4fca33[_0x4fca33[_0x147c63]]):_0x4de0ae=_0x147c63=0x1;}}());var _0x594410=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x142889=_0x41cbc9[_0x57b2db(0x2c1)]=_0x62e95b[_0x57b2db(0x179)]({'_doReset':function(){var _0x30c35d=_0x57b2db,_0x997170;if(!(this[_0x30c35d(0x32e)]&&this[_0x30c35d(0x2fe)]===this[_0x30c35d(0x10b)])){for(var _0x5d68d8=this['_keyPriorReset']=this['_key'],_0x588432=_0x5d68d8['words'],_0x2c9f84=_0x5d68d8[_0x30c35d(0xb3)]/0x4,_0x2dee26=this[_0x30c35d(0x32e)]=_0x2c9f84+0x6,_0x1814da=(_0x2dee26+0x1)*0x4,_0x37c25d=this[_0x30c35d(0x106)]=[],_0x563147=0x0;_0x563147<_0x1814da;_0x563147++)_0x563147<_0x2c9f84?_0x37c25d[_0x563147]=_0x588432[_0x563147]:(_0x997170=_0x37c25d[_0x563147-0x1],_0x563147%_0x2c9f84?_0x2c9f84>0x6&&_0x563147%_0x2c9f84==0x4&&(_0x997170=_0x5e0953[_0x997170>>>0x18]<<0x18|_0x5e0953[_0x997170>>>0x10&0xff]<<0x10|_0x5e0953[_0x997170>>>0x8&0xff]<<0x8|_0x5e0953[_0x997170&0xff]):(_0x997170=_0x997170<<0x8|_0x997170>>>0x18,_0x997170=_0x5e0953[_0x997170>>>0x18]<<0x18|_0x5e0953[_0x997170>>>0x10&0xff]<<0x10|_0x5e0953[_0x997170>>>0x8&0xff]<<0x8|_0x5e0953[_0x997170&0xff],_0x997170^=_0x594410[_0x563147/_0x2c9f84|0x0]<<0x18),_0x37c25d[_0x563147]=_0x37c25d[_0x563147-_0x2c9f84]^_0x997170);for(var _0x8317d4=this['_invKeySchedule']=[],_0x51494d=0x0;_0x51494d<_0x1814da;_0x51494d++){var _0x563147=_0x1814da-_0x51494d;if(_0x51494d%0x4)var _0x997170=_0x37c25d[_0x563147];else var _0x997170=_0x37c25d[_0x563147-0x4];_0x51494d<0x4||_0x563147<=0x4?_0x8317d4[_0x51494d]=_0x997170:_0x8317d4[_0x51494d]=_0x5ecb28[_0x5e0953[_0x997170>>>0x18]]^_0x26b463[_0x5e0953[_0x997170>>>0x10&0xff]]^_0x10076e[_0x5e0953[_0x997170>>>0x8&0xff]]^_0x29c8d2[_0x5e0953[_0x997170&0xff]];}}},'encryptBlock':function(_0xa41f4b,_0x2a6497){this['_doCryptBlock'](_0xa41f4b,_0x2a6497,this['_keySchedule'],_0x4e1665,_0x2577a0,_0x2624f0,_0x39bab6,_0x5e0953);},'decryptBlock':function(_0x429b50,_0x1d750d){var _0x60c5b3=_0x57b2db,_0x1a6bce=_0x429b50[_0x1d750d+0x1];_0x429b50[_0x1d750d+0x1]=_0x429b50[_0x1d750d+0x3],_0x429b50[_0x1d750d+0x3]=_0x1a6bce,this[_0x60c5b3(0x140)](_0x429b50,_0x1d750d,this[_0x60c5b3(0x18e)],_0x5ecb28,_0x26b463,_0x10076e,_0x29c8d2,_0x465ccc);var _0x1a6bce=_0x429b50[_0x1d750d+0x1];_0x429b50[_0x1d750d+0x1]=_0x429b50[_0x1d750d+0x3],_0x429b50[_0x1d750d+0x3]=_0x1a6bce;},'_doCryptBlock':function(_0x4f731f,_0x19e756,_0x48d90d,_0x97f06c,_0x2b7dd8,_0x5d756d,_0x5017fd,_0x180d4e){var _0x4bb2ff=_0x57b2db;for(var _0x12517b=this[_0x4bb2ff(0x32e)],_0x5e37e3=_0x4f731f[_0x19e756]^_0x48d90d[0x0],_0x1a581b=_0x4f731f[_0x19e756+0x1]^_0x48d90d[0x1],_0x185055=_0x4f731f[_0x19e756+0x2]^_0x48d90d[0x2],_0x9846ba=_0x4f731f[_0x19e756+0x3]^_0x48d90d[0x3],_0x4d5b9c=0x4,_0x40d076=0x1;_0x40d076<_0x12517b;_0x40d076++){var _0x56c6e0=_0x97f06c[_0x5e37e3>>>0x18]^_0x2b7dd8[_0x1a581b>>>0x10&0xff]^_0x5d756d[_0x185055>>>0x8&0xff]^_0x5017fd[_0x9846ba&0xff]^_0x48d90d[_0x4d5b9c++],_0x561918=_0x97f06c[_0x1a581b>>>0x18]^_0x2b7dd8[_0x185055>>>0x10&0xff]^_0x5d756d[_0x9846ba>>>0x8&0xff]^_0x5017fd[_0x5e37e3&0xff]^_0x48d90d[_0x4d5b9c++],_0x5954e2=_0x97f06c[_0x185055>>>0x18]^_0x2b7dd8[_0x9846ba>>>0x10&0xff]^_0x5d756d[_0x5e37e3>>>0x8&0xff]^_0x5017fd[_0x1a581b&0xff]^_0x48d90d[_0x4d5b9c++],_0x444347=_0x97f06c[_0x9846ba>>>0x18]^_0x2b7dd8[_0x5e37e3>>>0x10&0xff]^_0x5d756d[_0x1a581b>>>0x8&0xff]^_0x5017fd[_0x185055&0xff]^_0x48d90d[_0x4d5b9c++];_0x5e37e3=_0x56c6e0,_0x1a581b=_0x561918,_0x185055=_0x5954e2,_0x9846ba=_0x444347;}var _0x56c6e0=(_0x180d4e[_0x5e37e3>>>0x18]<<0x18|_0x180d4e[_0x1a581b>>>0x10&0xff]<<0x10|_0x180d4e[_0x185055>>>0x8&0xff]<<0x8|_0x180d4e[_0x9846ba&0xff])^_0x48d90d[_0x4d5b9c++],_0x561918=(_0x180d4e[_0x1a581b>>>0x18]<<0x18|_0x180d4e[_0x185055>>>0x10&0xff]<<0x10|_0x180d4e[_0x9846ba>>>0x8&0xff]<<0x8|_0x180d4e[_0x5e37e3&0xff])^_0x48d90d[_0x4d5b9c++],_0x5954e2=(_0x180d4e[_0x185055>>>0x18]<<0x18|_0x180d4e[_0x9846ba>>>0x10&0xff]<<0x10|_0x180d4e[_0x5e37e3>>>0x8&0xff]<<0x8|_0x180d4e[_0x1a581b&0xff])^_0x48d90d[_0x4d5b9c++],_0x444347=(_0x180d4e[_0x9846ba>>>0x18]<<0x18|_0x180d4e[_0x5e37e3>>>0x10&0xff]<<0x10|_0x180d4e[_0x1a581b>>>0x8&0xff]<<0x8|_0x180d4e[_0x185055&0xff])^_0x48d90d[_0x4d5b9c++];_0x4f731f[_0x19e756]=_0x56c6e0,_0x4f731f[_0x19e756+0x1]=_0x561918,_0x4f731f[_0x19e756+0x2]=_0x5954e2,_0x4f731f[_0x19e756+0x3]=_0x444347;},'keySize':0x100/0x20});_0x3d3d43[_0x57b2db(0x2c1)]=_0x62e95b[_0x57b2db(0xdc)](_0x142889);}()),_0x3f519a['AES'];}));}(Ve)),Ve[_0x329e58(0x1dc)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x927f58(0x1dc)],ai;function Ms(){var _0x3d8666=_0x927f58;return ai||(ai=0x1,function(_0x3bb6f8,_0xc5cae3){(function(_0x5aa6b1,_0x3d3d57){var _0x40f510=_0x4d02;_0x3bb6f8[_0x40f510(0x1dc)]=_0x3d3d57(ie());}(Ls,function(_0x23800a){var _0x524d7e=_0x4d02;return _0x23800a[_0x524d7e(0x23d)][_0x524d7e(0x248)];}));}(Xe)),Xe[_0x3d8666(0x1dc)];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze[_0x927f58(0x1dc)],oi;function Hs(){return oi||(oi=0x1,function(_0x45ebf3,_0xc3419c){(function(_0x2767a3,_0x33f471){var _0x17b20a=_0x4d02;_0x45ebf3[_0x17b20a(0x1dc)]=_0x33f471(ie());}($s,function(_0x2ab4d1){return(function(){var _0x4f285d=_0x4d02;if(typeof ArrayBuffer==_0x4f285d(0x261)){var _0x147581=_0x2ab4d1,_0x223697=_0x147581['lib'],_0x486612=_0x223697['WordArray'],_0x535145=_0x486612[_0x4f285d(0xbb)],_0x1625da=_0x486612[_0x4f285d(0xbb)]=function(_0x2a133b){var _0x169d97=_0x4f285d;if(_0x2a133b instanceof ArrayBuffer&&(_0x2a133b=new Uint8Array(_0x2a133b)),(_0x2a133b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2a133b instanceof Uint8ClampedArray||_0x2a133b instanceof Int16Array||_0x2a133b instanceof Uint16Array||_0x2a133b instanceof Int32Array||_0x2a133b instanceof Uint32Array||_0x2a133b instanceof Float32Array||_0x2a133b instanceof Float64Array)&&(_0x2a133b=new Uint8Array(_0x2a133b[_0x169d97(0x393)],_0x2a133b[_0x169d97(0xbc)],_0x2a133b['byteLength'])),_0x2a133b instanceof Uint8Array){for(var _0xe53448=_0x2a133b[_0x169d97(0x373)],_0x15f9e3=[],_0x456d23=0x0;_0x456d23<_0xe53448;_0x456d23++)_0x15f9e3[_0x456d23>>>0x2]|=_0x2a133b[_0x456d23]<<0x18-_0x456d23%0x4*0x8;_0x535145[_0x169d97(0x1e3)](this,_0x15f9e3,_0xe53448);}else _0x535145['apply'](this,arguments);};_0x1625da['prototype']=_0x486612;}}()),_0x2ab4d1['lib']['WordArray'];}));}(Ze)),Ze['exports'];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x927f58(0x1dc)],ci;function Vs(){var _0x3b8be5=_0x927f58;return ci||(ci=0x1,function(_0x3038b0,_0x520961){(function(_0x73dc77,_0x2dbd1c,_0x33a139){var _0xecd085=_0x4d02;_0x3038b0[_0xecd085(0x1dc)]=_0x2dbd1c(ie(),Ai());}(Fs,function(_0x3755db){var _0x1e0a8d=_0x4d02;return _0x3755db[_0x1e0a8d(0x183)][_0x1e0a8d(0x1eb)]={'pad':function(){},'unpad':function(){}},_0x3755db['pad'][_0x1e0a8d(0x1eb)];}));}(Qe)),Qe[_0x3b8be5(0x1dc)];}var Gs=Vs();const Ws=He(Gs);function Ys(_0x4d1183,_0x460cd2){var _0x1b99bc=_0x927f58;const _0x23d768=_0x460cd2-_0x4d1183[_0x1b99bc(0x109)]%_0x460cd2,_0x4f0492=String[_0x1b99bc(0x19b)](_0x23d768)['repeat'](_0x23d768);return _0x4d1183+_0x4f0492;}function Ks(_0x2abc1a,_0x368279){var _0x3bd536=_0x927f58;const _0x56d878=js['random'](0x10),_0x16a881=Ys(_0x2abc1a,0x10),_0x63f812=ws[_0x3bd536(0x2ce)](ks[_0x3bd536(0x21e)](_0x16a881),ri[_0x3bd536(0x21e)](_0x368279),{'iv':_0x56d878,'padding':Ws});return _0x56d878[_0x3bd536(0x346)](_0x63f812[_0x3bd536(0x2a0)])[_0x3bd536(0x27b)](ri);}function qs(){var _0x2aebc7=_0x927f58;const _0x5d5b55=_0x1741ef()[_0x2aebc7(0x294)];if(_0x5d5b55){const _0xbed23c={'time':Math['floor'](Date[_0x2aebc7(0x2fb)]()/0x3e8),'domain':location[_0x2aebc7(0xc7)]};return Ks(JSON[_0x2aebc7(0x178)](_0xbed23c),_0x5d5b55);}}var zs=Object[_0x927f58(0xf5)],Js=(_0x533593,_0x29b1ef,_0xc597d8,_0x41553c)=>{var _0x2b6b2b=_0x927f58;for(var _0x52644a=_0x41553c>0x1?void 0x0:_0x41553c?zs(_0x29b1ef,_0xc597d8):_0x29b1ef,_0x3f0228=_0x533593[_0x2b6b2b(0x109)]-0x1,_0x5c7501;_0x3f0228>=0x0;_0x3f0228--)(_0x5c7501=_0x533593[_0x3f0228])&&(_0x52644a=_0x5c7501(_0x52644a)||_0x52644a);return _0x52644a;},Xs=(_0x34b65f,_0x5bf0ab)=>(_0xa6d1a4,_0x5d59bf)=>_0x5bf0ab(_0xa6d1a4,_0x5d59bf,_0x34b65f);let at=class{constructor(_0x4c5a89){var _0x421108=_0x927f58;this[_0x421108(0x358)]=_0x4c5a89,this[_0x421108(0x388)]();}[_0x927f58(0x388)](){var _0x1442d9=_0x927f58;this[_0x1442d9(0x358)][_0x1442d9(0x175)]({'interceptor':(_0x155399,_0x1a865b)=>{var _0x13858f=_0x1442d9;const _0x493e2c=_0x155399[_0x13858f(0x339)],_0x450ab2=qs();return _0x450ab2&&_0x493e2c[_0x13858f(0x197)]('x-univer-host',_0x450ab2),_0x1a865b(_0x155399);}});}};at=Js([Xs(0x0,_0x316925(_0x2c3bc5))],at);var Zs=Object[_0x927f58(0xf5)],Qs=(_0x230af1,_0x74a387,_0x22653a,_0x192f60)=>{var _0x1b7067=_0x927f58;for(var _0x3881ff=_0x192f60>0x1?void 0x0:_0x192f60?Zs(_0x74a387,_0x22653a):_0x74a387,_0x3a1a09=_0x230af1[_0x1b7067(0x109)]-0x1,_0x4d77a8;_0x3a1a09>=0x0;_0x3a1a09--)(_0x4d77a8=_0x230af1[_0x3a1a09])&&(_0x3881ff=_0x4d77a8(_0x3881ff)||_0x3881ff);return _0x3881ff;},mt=(_0xbb3bc9,_0xd55b2b)=>(_0x1fad59,_0x23e36e)=>_0xd55b2b(_0x1fad59,_0x23e36e,_0xbb3bc9);let bt=class extends _0x7c0126{constructor(_0x41e306,_0x6bc286,_0x5a134f){var _0x508bbf=_0x927f58;super(),N(this,_0x508bbf(0x36d),new _0x36f592(null)),N(this,_0x508bbf(0x39e),this[_0x508bbf(0x36d)][_0x508bbf(0x191)]()),(this[_0x508bbf(0x311)]=_0x41e306,this[_0x508bbf(0x1bd)]=_0x6bc286,this[_0x508bbf(0x34a)]=_0x5a134f);}async[_0x927f58(0x187)](_0x6af181,_0x4faf6f,_0x361b5d){var _0x4f4b77=_0x927f58;this['_unitInfo$']['next']({'unitId':_0x6af181,'type':_0x4faf6f,'subUnitId':_0x361b5d});let _0x22da47=null;switch(_0x4faf6f){case Q['UNIVER_SHEET']:{_0x22da47=await this[_0x4f4b77(0x2f3)](_0x6af181);break;}case Q['UNIVER_DOC']:{_0x22da47=await this[_0x4f4b77(0x149)](_0x6af181);break;}default:{this[_0x4f4b77(0x311)]['error']('[DataLoaderService]',_0x4f4b77(0x9c));break;}}return _0x22da47;}async[_0x927f58(0x2f3)](_0x1c41a0){var _0x3981a3=_0x927f58,_0x2aa907;let _0x71e94=0x0;const _0x56c8f4=await((_0x2aa907=this[_0x3981a3(0x34a)])==null?void 0x0:_0x2aa907[_0x3981a3(0x105)](_0x1c41a0));return _0x56c8f4&&(_0x56c8f4[_0x3981a3(0x147)]||_0x56c8f4[_0x3981a3(0xa8)][_0x3981a3(0x109)]!==0x0)&&(_0x71e94=_0x56c8f4[_0x3981a3(0x31f)]),_0x71e94===0x0&&this[_0x3981a3(0x311)][_0x3981a3(0x362)](_0x3981a3(0x19d),_0x3981a3(0x23a)),this['_snapshotService']['loadSheet'](_0x1c41a0,_0x71e94);}async[_0x927f58(0x149)](_0x229f21){var _0x43bc70=_0x927f58,_0x5e9dda;let _0x5e07a2=0x0;const _0x1dbfbe=await((_0x5e9dda=this[_0x43bc70(0x34a)])==null?void 0x0:_0x5e9dda['loadOfflineData'](_0x229f21));return _0x1dbfbe&&(_0x1dbfbe['awaitingChangeset']||_0x1dbfbe[_0x43bc70(0xa8)][_0x43bc70(0x109)]!==0x0)&&(_0x5e07a2=_0x1dbfbe[_0x43bc70(0x31f)]),_0x5e07a2===0x0&&this[_0x43bc70(0x311)][_0x43bc70(0x362)](_0x43bc70(0x19d),_0x43bc70(0x23a)),this[_0x43bc70(0x1bd)]['loadDoc'](_0x229f21,_0x5e07a2);}};bt=Qs([mt(0x0,_0x57fa1f),mt(0x1,_0x316925(_0x272c9e)),mt(0x2,_0x37f2ff(J))],bt);var er=Object[_0x927f58(0xf5)],tr=(_0x97dc8c,_0x1b4c61,_0x3e5f49,_0x4e83d3)=>{for(var _0x41bc46=_0x4e83d3>0x1?void 0x0:_0x4e83d3?er(_0x1b4c61,_0x3e5f49):_0x1b4c61,_0x1ce63b=_0x97dc8c['length']-0x1,_0x3161dc;_0x1ce63b>=0x0;_0x1ce63b--)(_0x3161dc=_0x97dc8c[_0x1ce63b])&&(_0x41bc46=_0x3161dc(_0x41bc46)||_0x41bc46);return _0x41bc46;},gt=(_0x362cf2,_0x3c9804)=>(_0x36dd5b,_0x517649)=>_0x3c9804(_0x36dd5b,_0x517649,_0x362cf2);const ir=[_0x927f58(0xfd),_0x927f58(0x35f),_0x927f58(0x223),'image/gif',_0x927f58(0x31c)],nr=0x5*0x400*0x400,sr=_0x927f58(0xaa),rr='/universer-api/stream/file/upload',ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or=_0x927f58(0x2ad);let Ot=class{constructor(_0x34305b,_0x4eebea,_0x1324b2){var _0x4cbce2=_0x927f58;N(this,_0x4cbce2(0x115),0x0),N(this,_0x4cbce2(0x9b),new _0x197ead()),N(this,_0x4cbce2(0x25c),this[_0x4cbce2(0x9b)]),N(this,_0x4cbce2(0x28f),new Map()),(this[_0x4cbce2(0x358)]=_0x34305b,this[_0x4cbce2(0x265)]=_0x4eebea,this['_univerInstanceService']=_0x1324b2);}[_0x927f58(0x3a1)](_0x19d00e){var _0x277d32=_0x927f58;this[_0x277d32(0x115)]=_0x19d00e,this[_0x277d32(0x9b)][_0x277d32(0xea)](_0x19d00e);}[_0x927f58(0x3a0)](_0x15d855,_0x4d40f3){var _0x27de86=_0x927f58;if(_0x4d40f3===_0x3a6602[_0x27de86(0x153)]){const _0x2687da=new Image();return _0x2687da['src']=_0x15d855,_0x2687da;}return this['_imageSourceCache'][_0x27de86(0x337)](_0x15d855);}[_0x927f58(0x1ee)](_0x4cdf17,_0x490d28,_0x3aa1a2){var _0x291edd=_0x927f58;_0x490d28===_0x3a6602['BASE64']||_0x3aa1a2==null||this[_0x291edd(0x28f)][_0x291edd(0x197)](_0x4cdf17,_0x3aa1a2);}async[_0x927f58(0x323)](_0xf988fa){var _0x4edb9f=_0x927f58;try{const _0x723f80=this[_0x4edb9f(0x1c0)](this[_0x4edb9f(0x283)](),''+_0xf988fa),_0x2698c6=(await this[_0x4edb9f(0x358)][_0x4edb9f(0x337)](_0x723f80))[_0x4edb9f(0x2d7)];if(_0x2698c6['error']&&_0x2698c6[_0x4edb9f(0xb9)][_0x4edb9f(0x10f)]===Si['OK']){const _0xf36bc4=new URL(_0x2698c6['url'],this[_0x4edb9f(0x280)]())[_0x4edb9f(0x27b)]();return Promise[_0x4edb9f(0x22a)](_0xf36bc4);}return Promise[_0x4edb9f(0x14c)](_0x2698c6['error']);}catch(_0x25ba8c){return Promise[_0x4edb9f(0x14c)](_0x25ba8c);}}async[_0x927f58(0x221)](_0x49894f){var _0x1d0b33=_0x927f58;let _0x96c50a='';if(!ir[_0x1d0b33(0x37b)](_0x49894f[_0x1d0b33(0x160)]))return this['_decreaseWaiting'](),Promise[_0x1d0b33(0x14c)](new Error(_0x4608d3[_0x1d0b33(0x12b)]));if(_0x49894f[_0x1d0b33(0x2c8)]>nr)return this[_0x1d0b33(0x397)](),Promise[_0x1d0b33(0x14c)](new Error(_0x4608d3[_0x1d0b33(0x16d)]));try{const _0x32d344=new FormData();_0x32d344[_0x1d0b33(0x293)]('file',_0x49894f);const _0x3f5537=this[_0x1d0b33(0x1ab)][_0x1d0b33(0x2f5)](),_0x78a7ba=_0x3f5537==null?void 0x0:_0x3f5537[_0x1d0b33(0xcc)]();if(!_0x78a7ba)throw new Error(_0x1d0b33(0x156));const _0xb6875a=this[_0x1d0b33(0xba)]()+_0x1d0b33(0x135)+_0x49894f[_0x1d0b33(0x2c8)][_0x1d0b33(0x27b)]()+_0x1d0b33(0x2f2)+Ei[_0x1d0b33(0x29e)]+'&assign='+encodeURIComponent(_0x78a7ba),_0x535e0b={'body':_0x32d344},_0x367ccf=(await this[_0x1d0b33(0x358)]['post'](_0xb6875a,_0x535e0b))[_0x1d0b33(0x2d7)];if(typeof _0x367ccf[_0x1d0b33(0x328)]!='string')return this[_0x1d0b33(0x397)](),Promise['reject'](new Error(_0x4608d3[_0x1d0b33(0x219)]));_0x96c50a=_0x367ccf['FileId'];}catch{return this[_0x1d0b33(0x397)](),Promise[_0x1d0b33(0x14c)](new Error(_0x4608d3['ERROR_IMAGE']));}return new Promise((_0x514e20,_0x18470d)=>{var _0x72f42=_0x1d0b33;const _0xd53aed=new FileReader();_0xd53aed[_0x72f42(0x342)](_0x49894f),_0xd53aed['onload']=_0x1f0152=>{var _0x1b50e4=_0x72f42,_0x438167;const _0x4993eb=(_0x438167=_0x1f0152[_0x1b50e4(0x269)])==null?void 0x0:_0x438167[_0x1b50e4(0x36c)];if(_0x4993eb==null){this['_decreaseWaiting'](),_0x18470d(new Error(_0x4608d3[_0x1b50e4(0x219)]));return;}const _0x340dfc=_0x42a6f5[_0x1b50e4(0xcf)](0x6);_0x514e20({'imageId':_0x340dfc,'imageSourceType':_0x3a6602[_0x1b50e4(0x1e2)],'source':_0x96c50a,'base64Cache':_0x4993eb,'status':_0x4608d3[_0x1b50e4(0x296)]}),this[_0x1b50e4(0x397)]();};});}[_0x927f58(0xba)](){var _0xa4c61f=_0x927f58,_0x232674,_0x3b95d8;const _0x559010=this[_0xa4c61f(0x265)]['getConfig'](sr),_0x34cae6=this['_configService'][_0xa4c61f(0x319)](q);return(_0x3b95d8=(_0x232674=_0x34cae6==null?void 0x0:_0x34cae6[_0xa4c61f(0x130)])!=null?_0x232674:_0x559010)!=null?_0x3b95d8:rr;}[_0x927f58(0x283)](){var _0x524fde=_0x927f58,_0x282e1e,_0x428138;const _0x10b525=this['_configService'][_0x524fde(0x319)](ar),_0x2ec16b=this[_0x524fde(0x265)]['getConfig'](q);return(_0x428138=(_0x282e1e=_0x2ec16b==null?void 0x0:_0x2ec16b[_0x524fde(0x34e)])!=null?_0x282e1e:_0x10b525)!=null?_0x428138:or;}['_getDownloadEndpointURL'](){var _0x231e64=_0x927f58,_0x39f4f8;const _0x5619d4=this[_0x231e64(0x265)][_0x231e64(0x319)](q);return(_0x39f4f8=_0x5619d4==null?void 0x0:_0x5619d4[_0x231e64(0x330)])!=null?_0x39f4f8:location[_0x231e64(0x1bf)];}['_replaceFileID'](_0x3b2cc4,_0x52f7b7){var _0x12ef97=_0x927f58;return _0x3b2cc4['replace'](_0x12ef97(0x158),_0x52f7b7);}[_0x927f58(0x397)](){var _0x50619d=_0x927f58;this[_0x50619d(0x115)]-=0x1,this['_change$'][_0x50619d(0xea)](this[_0x50619d(0x115)]);}};Ot=tr([gt(0x0,_0x316925(_0x2c3bc5)),gt(0x1,_0x426a21),gt(0x2,_0x316925(_0x794611))],Ot);var cr=Object[_0x927f58(0xf5)],hr=(_0x4c6f4f,_0x3034fd,_0x572f1d,_0x5b7444)=>{var _0x4e0188=_0x927f58;for(var _0x1f5008=_0x5b7444>0x1?void 0x0:_0x5b7444?cr(_0x3034fd,_0x572f1d):_0x3034fd,_0x46b240=_0x4c6f4f[_0x4e0188(0x109)]-0x1,_0x5d32cc;_0x46b240>=0x0;_0x46b240--)(_0x5d32cc=_0x4c6f4f[_0x46b240])&&(_0x1f5008=_0x5d32cc(_0x1f5008)||_0x1f5008);return _0x1f5008;},hi=(_0x82f937,_0x2ca1fb)=>(_0x213586,_0xd839de)=>_0x2ca1fb(_0x213586,_0xd839de,_0x82f937);const _r=_0x927f58(0x13d);let yt=class{constructor(_0xb36203,_0x58251c){var _0x13511d=_0x927f58;this['_configService']=_0xb36203,this[_0x13511d(0x315)]=_0x58251c;}[_0x927f58(0x146)](){var _0x540893=_0x927f58,_0x3d3268,_0x34089f;const _0x1ff36d=this[_0x540893(0x265)][_0x540893(0x319)](Ni),_0x5da37b=this[_0x540893(0x265)]['getConfig'](q);return(_0x34089f=(_0x3d3268=_0x5da37b==null?void 0x0:_0x5da37b[_0x540893(0x2aa)])!=null?_0x3d3268:_0x1ff36d)!=null?_0x34089f:_r;}async[_0x927f58(0x317)](_0x4401b8){var _0x38a97b=_0x927f58;const _0x1f0042=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x38a97b(0x15a),'mentions':(await this[_0x38a97b(0x315)][_0x38a97b(0x337)](_0x1f0042,{'params':{'objectID':_0x4401b8[_0x38a97b(0x18c)],'unitID':_0x4401b8['unitId']}}))[_0x38a97b(0x2d7)][_0x38a97b(0x225)][_0x38a97b(0x1f0)](_0x5be01f=>({'objectId':_0x5be01f['id'],'name':_0x5be01f[_0x38a97b(0x30f)][_0x38a97b(0x29a)],'metadata':{'icon':_0x5be01f['subject']['avatar']},'label':_0x5be01f[_0x38a97b(0x30f)][_0x38a97b(0x29a)],'objectType':_0x373213['PERSON']})),'metadata':{},'type':_0x373213[_0x38a97b(0x148)]}]};}};yt=hr([hi(0x0,_0x316925(_0x426a21)),hi(0x1,_0x316925(_0x2c3bc5))],yt);var lr=Object[_0x927f58(0xf5)],ur=(_0x47948e,_0x747037,_0x465fcc,_0xe472d6)=>{var _0xa78609=_0x927f58;for(var _0xa0aa5=_0xe472d6>0x1?void 0x0:_0xe472d6?lr(_0x747037,_0x465fcc):_0x747037,_0x16fef7=_0x47948e[_0xa78609(0x109)]-0x1,_0x23c00b;_0x16fef7>=0x0;_0x16fef7--)(_0x23c00b=_0x47948e[_0x16fef7])&&(_0xa0aa5=_0x23c00b(_0xa0aa5)||_0xa0aa5);return _0xa0aa5;},we=(_0x130dd3,_0x303d3d)=>(_0x41d0c1,_0x46bee2)=>_0x303d3d(_0x41d0c1,_0x46bee2,_0x130dd3);let ot=class extends _0x7c0126{constructor(_0x27188e,_0x4fb16f,_0x2ffcf2,_0x110834,_0x5ecdf4){var _0x4760f3=_0x927f58;super(),this['_injector']=_0x27188e,this['_univerInstanceService']=_0x4fb16f,this[_0x4760f3(0xc4)]=_0x2ffcf2,this['_collaborationSessionService']=_0x110834,this[_0x4760f3(0x288)]=_0x5ecdf4,this['_initUnitPermissionChange'](),this[_0x4760f3(0x12f)]();}[_0x927f58(0x12f)](){var _0x385aeb=_0x927f58;const _0x20df0f=async _0x1c9eb7=>{var _0x544000=_0x4d02;(await this[_0x544000(0xbd)]['requireSession'](_0x1c9eb7))[_0x544000(0x177)][_0x544000(0x18b)](_0x151f09(_0x5467ab=>_0x5467ab[_0x544000(0x1fd)]===_0x5aa101[_0x544000(0x2b3)]),_0x13433a(this[_0x544000(0x19c)]))[_0x544000(0x1b6)](_0xb1e534=>{var _0x5ce716=_0x544000;const _0x5224a0=_0xb1e534,{reason:_0x53632c}=_0x5224a0[_0x5ce716(0x359)];this[_0x5ce716(0x288)][_0x5ce716(0x94)]({'id':re[_0x5ce716(0x25e)],'data':_0x53632c}),this[_0x5ce716(0xc4)][_0x5ce716(0x1d2)](new _0x3f9a73(_0x1c9eb7)['id'],!0x1),this[_0x5ce716(0xbd)][_0x5ce716(0xa4)](_0x1c9eb7);});};_0x27f765(this[_0x385aeb(0x1ab)][_0x385aeb(0x163)](_0x176541[_0x385aeb(0x286)]),this[_0x385aeb(0x1ab)][_0x385aeb(0x163)](_0x176541[_0x385aeb(0x2d6)]))[_0x385aeb(0x18b)](_0x48b24a(_0x58b2d0=>_0x58b2d0[_0x385aeb(0xcc)]()),_0x151f09(_0x39de6e=>!_0xe2c40a(_0x39de6e)),_0x13433a(this[_0x385aeb(0x19c)]))['subscribe'](_0x2689bf=>{_0x20df0f(_0x2689bf);});}[_0x927f58(0x384)](){var _0x47af61=_0x927f58;const _0x2e2511=async _0x2ab609=>{var _0x3a019a=_0x4d02;const _0xfa6367=await this[_0x3a019a(0xbd)]['requireSession'](_0x2ab609),_0x3dc395=this['_injector'][_0x3a019a(0x337)](_0x367c61);_0xfa6367[_0x3a019a(0x177)][_0x3a019a(0x18b)](_0x151f09(_0xa763df=>_0xa763df[_0x3a019a(0x1fd)]===_0x5aa101[_0x3a019a(0x282)]),_0x13433a(this[_0x3a019a(0x19c)]))[_0x3a019a(0x1b6)](_0x3312bf=>{var _0x318383=_0x3a019a;const _0x511cfc=_0x3312bf,{objectId:_0x170085}=_0x511cfc[_0x318383(0x359)];_0x170085===_0x2ab609?_0x3dc395[_0x318383(0x2c4)](_0x2ab609):_0x3dc395[_0x318383(0x284)](_0x2ab609,_0x170085);});};_0x27f765(this[_0x47af61(0x1ab)][_0x47af61(0x163)](_0x176541[_0x47af61(0x286)]))[_0x47af61(0x18b)](_0x48b24a(_0xc16cfa=>_0xc16cfa[_0x47af61(0xcc)]()),_0x151f09(_0x28b5d6=>!_0xe2c40a(_0x28b5d6)),_0x13433a(this[_0x47af61(0x19c)]))[_0x47af61(0x1b6)](_0x38dbb7=>{_0x2e2511(_0x38dbb7);});}};ot=ur([we(0x0,_0x316925(_0x16154a)),we(0x1,_0x794611),we(0x2,_0x335c65),we(0x3,_0x316925(Me)),we(0x4,_0x316925(pe))],ot);var dr=Object['getOwnPropertyDescriptor'],fr=(_0x39b839,_0x2cbf13,_0x55ba47,_0x28fb92)=>{var _0x378abc=_0x927f58;for(var _0x43011c=_0x28fb92>0x1?void 0x0:_0x28fb92?dr(_0x2cbf13,_0x55ba47):_0x2cbf13,_0x466a53=_0x39b839[_0x378abc(0x109)]-0x1,_0x5e2d13;_0x466a53>=0x0;_0x466a53--)(_0x5e2d13=_0x39b839[_0x466a53])&&(_0x43011c=_0x5e2d13(_0x43011c)||_0x43011c);return _0x43011c;},_i=(_0x2e17a1,_0x8afbcc)=>(_0x47c690,_0x592367)=>_0x8afbcc(_0x47c690,_0x592367,_0x2e17a1);let Nt=class{constructor(_0xde8e5b,_0x5b1169){this['_configService']=_0xde8e5b,this['_httpService']=_0x5b1169;}async[_0x927f58(0xbf)](_0x3f2e7f,_0x3cb94d){var _0x524b14=_0x927f58,_0x2f475c;const {unitID:_0x28cce9,type:_0x1ed387,revision:_0x5c99cf=0x0}=_0x3cb94d,_0x38ec68=this[_0x524b14(0x168)]()+'/'+_0x1ed387+_0x524b14(0x2cd)+_0x28cce9+_0x524b14(0x1d5)+_0x5c99cf,_0x3b9e13=(await this[_0x524b14(0x358)]['get'](_0x38ec68))[_0x524b14(0x2d7)],_0x5f3620=(_0x2f475c=_0x3b9e13[_0x524b14(0x28d)])==null?void 0x0:_0x2f475c[_0x524b14(0x1ca)];if(_0x5f3620){const _0x50b19f=_0x5f3620==null?void 0x0:_0x5f3620[_0x524b14(0x165)],_0xd10b55=_0x103640[_0x524b14(0x212)](_0x4ef1ed(_0x50b19f));_0x5f3620['originalMeta']=_0xd10b55,Object[_0x524b14(0xef)](_0x5f3620[_0x524b14(0xd8)])[_0x524b14(0x396)](([,_0x2ad078])=>{var _0x54f8df=_0x524b14;const _0x341c9f=_0x2ad078[_0x54f8df(0x165)],_0x19170f=_0x103640[_0x54f8df(0x212)](_0x4ef1ed(_0x341c9f));_0x2ad078[_0x54f8df(0x165)]=_0x19170f;});}return _0x3b9e13;}async[_0x927f58(0x2e3)](_0x407b9f,_0x4e886b){var _0x2f5999=_0x927f58;const {unitID:_0x2726fb,type:_0x5cfd01,blockID:_0x298150}=_0x4e886b,_0x1574f0=this[_0x2f5999(0xb2)]()+'/'+_0x5cfd01+_0x2f5999(0x2cd)+_0x2726fb+'/block/'+_0x298150;return(await this[_0x2f5999(0x358)][_0x2f5999(0x337)](_0x1574f0))[_0x2f5999(0x2d7)];}async[_0x927f58(0x277)](_0x19893f,_0x243661){var _0x2ca9f3=_0x927f58;const {unitID:_0x4eace1,type:_0xf8e416,blockID:_0xadb1a9}=_0x243661,_0x286d04=this['_getAPIPrefix']()+_0x2ca9f3(0x25f)+_0xf8e416+_0x2ca9f3(0x2cd)+_0x4eace1+_0x2ca9f3(0x25f)+_0xadb1a9;return(await this[_0x2ca9f3(0x358)]['get'](_0x286d04))['body'];}async[_0x927f58(0x268)](_0x11d47e,_0x5ea0c9){var _0x274d48=_0x927f58;const {unitID:_0x5bc454,type:_0xac0dba,from:_0xcbddb0,to:_0x536bd6}=_0x5ea0c9,_0x17a270=this[_0x274d48(0xb2)]()+'/'+_0xac0dba+_0x274d48(0x2cd)+_0x5bc454+'/fetchmissing?from='+_0xcbddb0+'&to='+_0x536bd6;return(await this[_0x274d48(0x358)][_0x274d48(0x337)](_0x17a270))[_0x274d48(0x2d7)];}[_0x927f58(0x168)](){var _0x218b0f=_0x927f58,_0x44e0b4;return(_0x44e0b4=this[_0x218b0f(0x265)][_0x218b0f(0x319)](Sn))!=null?_0x44e0b4:this[_0x218b0f(0xb2)]();}[_0x927f58(0xb2)](){var _0x263163=_0x927f58,_0xdb569c,_0x368937;const _0x653caa=this['_configService']['getConfig'](mn),_0xd88f35=this[_0x263163(0x265)]['getConfig'](q);return(_0x368937=(_0xdb569c=_0xd88f35==null?void 0x0:_0xd88f35[_0x263163(0x1e5)])!=null?_0xdb569c:_0x653caa)!=null?_0x368937:gn;}async[_0x927f58(0x363)](_0x16e8c4,_0x5559a6){var _0x147e4c=_0x927f58;const _0x581c4b=_0x147e4c(0x1f6)+_0x5559a6[_0x147e4c(0x160)]+_0x147e4c(0x2cd)+_0x5559a6['unitID']+'/resources';return(await this[_0x147e4c(0x358)][_0x147e4c(0x337)](_0x581c4b,{'params':{'resourceId':JSON[_0x147e4c(0x178)](_0x5559a6[_0x147e4c(0x306)])}}))[_0x147e4c(0x2d7)];}[_0x927f58(0x2f8)](){var _0x9b7dbf=_0x927f58;throw new Error(_0x9b7dbf(0x35d));}[_0x927f58(0x195)](){var _0x4f0e16=_0x927f58;throw new Error(_0x4f0e16(0x35d));}[_0x927f58(0x1af)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x927f58(0x257)](){var _0x5b07b4=_0x927f58;throw new Error(_0x5b07b4(0x35d));}[_0x927f58(0x218)](){var _0x13e4c7=_0x927f58;throw new Error(_0x13e4c7(0x35d));}};Nt=fr([_i(0x0,_0x426a21),_i(0x1,_0x316925(_0x2c3bc5))],Nt);var vr=Object[_0x927f58(0xf5)],pr=(_0x25763d,_0x36096b,_0x2c8bfb,_0x50021c)=>{var _0x2539b=_0x927f58;for(var _0x146540=_0x50021c>0x1?void 0x0:_0x50021c?vr(_0x36096b,_0x2c8bfb):_0x36096b,_0x2e4a9c=_0x25763d[_0x2539b(0x109)]-0x1,_0x3fcd08;_0x2e4a9c>=0x0;_0x2e4a9c--)(_0x3fcd08=_0x25763d[_0x2e4a9c])&&(_0x146540=_0x3fcd08(_0x146540)||_0x146540);return _0x146540;},Pe=(_0x2e0d21,_0x2d3530)=>(_0x456fdc,_0x4f74c1)=>_0x2d3530(_0x456fdc,_0x4f74c1,_0x2e0d21);let Dt=class extends _0xdbecd{constructor(_0x2865e3,_0x4ca5ce,_0x4694f5,_0x5f1607,_0x1c12ab){var _0x18f1ae=_0x927f58;super(_0x2865e3,_0x4ca5ce,_0x4694f5),this[_0x18f1ae(0x139)]=_0x5f1607,this[_0x18f1ae(0x311)]=_0x1c12ab;}[_0x927f58(0x1b4)](_0xcfe549,_0x1b87aa){var _0x27cd77=_0x927f58;const _0x46ed9d=this['_getUndoStack'](_0xcfe549);if(_0x46ed9d)try{const _0x161839=this[_0x27cd77(0x1c5)](_0x46ed9d,_0x1b87aa);this[_0x27cd77(0x2db)](_0xcfe549,_0x161839);}catch(_0x430216){this[_0x27cd77(0x311)][_0x27cd77(0xb9)](_0x27cd77(0x20d),_0x430216),this[_0x27cd77(0x250)](_0xcfe549);}const _0x872231=this[_0x27cd77(0x302)](_0xcfe549);if(_0x872231)try{const _0x4bca4e=this['_transformStack'](_0x872231,_0x1b87aa);this[_0x27cd77(0x14e)](_0xcfe549,_0x4bca4e);}catch(_0x24394c){this['_logService'][_0x27cd77(0xb9)](_0x24394c),this[_0x27cd77(0x320)](_0xcfe549);}}[_0x927f58(0x250)](_0x38c726){var _0x3c54d5=_0x927f58;const _0x4d0110=this[_0x3c54d5(0x35a)](_0x38c726);_0x4d0110&&(_0x4d0110['length']=0x0,this[_0x3c54d5(0x26e)]());}[_0x927f58(0x320)](_0x26ebc4){var _0x5a53b7=_0x927f58;const _0x2dca09=this[_0x5a53b7(0x302)](_0x26ebc4);_0x2dca09&&(_0x2dca09[_0x5a53b7(0x109)]=0x0,this[_0x5a53b7(0x26e)]());}[_0x927f58(0x2db)](_0x46572d,_0x1a1a32){var _0x574bd7=_0x927f58;this['_undoStacks']['set'](_0x46572d,_0x1a1a32),this[_0x574bd7(0x26e)]();}[_0x927f58(0x14e)](_0x257eed,_0x4a6241){var _0x55e21d=_0x927f58;this['_redoStacks']['set'](_0x257eed,_0x4a6241),this[_0x55e21d(0x26e)]();}[_0x927f58(0x1c5)](_0x1de13b,_0x49b4d4){var _0x4a3957=_0x927f58;const _0x11687c=[];let _0x4e0bda=_0x49b4d4,_0x68ffb1=_0x49b4d4;for(let _0x567e5c=_0x1de13b[_0x4a3957(0x109)]-0x1;_0x567e5c>=0x0;_0x567e5c--){const {unitID:_0x38cb03,undoMutations:_0x26b648,redoMutations:_0x2191f9}=_0x1de13b[_0x567e5c],_0x1f0a41=this['_transformService'][_0x4a3957(0x227)](_0x4e0bda,_0x26b648),_0x9685f4=this[_0x4a3957(0x139)][_0x4a3957(0x227)](_0x68ffb1,_0x2191f9);if(_0x39a219(_0x1f0a41)||_0x39a219(_0x9685f4)){this[_0x4a3957(0x311)][_0x4a3957(0xb9)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x1f0a41,_0x9685f4);break;}_0x4e0bda=_0x1f0a41[_0x4a3957(0x340)],_0x68ffb1=_0x9685f4[_0x4a3957(0x340)],_0x11687c['push']({'unitID':_0x38cb03,'undoMutations':_0x1f0a41[_0x4a3957(0x1e8)],'redoMutations':_0x9685f4[_0x4a3957(0x1e8)]});}return _0x11687c['reverse']();}};Dt=pr([Pe(0x0,_0x794611),Pe(0x1,_0x17cbb8),Pe(0x2,_0x5b85e0),Pe(0x3,_0x3a621c),Pe(0x4,_0x57fa1f)],Dt);var mr=Object['defineProperty'],gr=Object[_0x927f58(0xf5)],Sr=(_0x452693,_0x203498,_0x6a4b09)=>_0x203498 in _0x452693?mr(_0x452693,_0x203498,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6a4b09}):_0x452693[_0x203498]=_0x6a4b09,Er=(_0x1d1864,_0x250b0d,_0x36a2ce,_0xccd2f1)=>{var _0x442844=_0x927f58;for(var _0x3fbe9a=_0xccd2f1>0x1?void 0x0:_0xccd2f1?gr(_0x250b0d,_0x36a2ce):_0x250b0d,_0x15b3f8=_0x1d1864[_0x442844(0x109)]-0x1,_0x31acfc;_0x15b3f8>=0x0;_0x15b3f8--)(_0x31acfc=_0x1d1864[_0x15b3f8])&&(_0x3fbe9a=_0x31acfc(_0x3fbe9a)||_0x3fbe9a);return _0x3fbe9a;},St=(_0x4df30d,_0xd278e6)=>(_0x337f47,_0x4ec738)=>_0xd278e6(_0x337f47,_0x4ec738,_0x4df30d),Ir=(_0x3b7f0c,_0x2ef5a0,_0xad174)=>Sr(_0x3b7f0c,_0x2ef5a0+'',_0xad174);const Tr=_0x927f58(0x17d);let Ut=class extends _0x407339{constructor(_0x43d756,_0x2a5051,_0x31b7c4,_0x23949c){var _0x1a14ed=_0x927f58;super(),N(this,'_config'),(this[_0x1a14ed(0x311)]=_0x2a5051,this[_0x1a14ed(0x33c)]=_0x31b7c4,this[_0x1a14ed(0x265)]=_0x23949c);const {..._0x189b14}=_0x2691f2({},wn,_0x43d756);if(!_0x189b14['socketService'])throw new Error(_0x1a14ed(0x10c));this[_0x1a14ed(0x104)]=_0x189b14,this[_0x1a14ed(0x265)]['setConfig'](q,_0x189b14);}[_0x927f58(0x1a0)](){var _0x263faa=_0x927f58;this[_0x263faa(0x1f9)](),this['_initDependencies']();}[_0x927f58(0x1f9)](){var _0x23dcb3=_0x927f58,_0x1f2cf4,_0x509a1f;this[_0x23dcb3(0x33c)]['has'](_0x14a9c2)&&this[_0x23dcb3(0x311)][_0x23dcb3(0xb9)](_0x23dcb3(0x13a),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x20c849=_0x29f8c6([[_0x14a9c2,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config'][_0x23dcb3(0x1e6)]}],[_0x310176,{'useClass':Nt}],[_0x3af838,{'useClass':Rt}],[_0x4d7f88,{'useClass':Ot}],[_0x2a8b79,{'useClass':yt}],[st],[Ct]],(_0x1f2cf4=this[_0x23dcb3(0x104)])==null?void 0x0:_0x1f2cf4[_0x23dcb3(0x1cc)]);if(!((_0x509a1f=this[_0x23dcb3(0x104)])!=null&&_0x509a1f[_0x23dcb3(0x9f)])){const _0x35d5eb=_0x20c849[_0x23dcb3(0x2f1)](([_0x1ac3ac])=>_0x1ac3ac===ht);_0x35d5eb!==-0x1&&_0x20c849[_0x23dcb3(0xa5)](_0x35d5eb,0x1);}_0x5cbc49(this[_0x23dcb3(0x33c)],_0x20c849);}['_initDependencies'](){var _0xb51c80=_0x927f58,_0x2bb045,_0x3e9e74,_0x35d4eb;this['_injector']['get'](_0x2c3bc5)[_0xb51c80(0x175)]({'priority':0x14,'interceptor':_0x1de4e0({'maxParallel':0x6})}),(_0x2bb045=this['_config'])!=null&&_0x2bb045[_0xb51c80(0x24a)]||(_0x3e9e74=this[_0xb51c80(0x33c)][_0xb51c80(0x337)](J,_0x54d715[_0xb51c80(0xa6)]))==null||_0x3e9e74[_0xb51c80(0x144)](),(_0x35d4eb=this['_config'])!=null&&_0x35d4eb[_0xb51c80(0x22e)]&&_0x55f71d(this[_0xb51c80(0x33c)],[[rt]]),_0x55f71d(this['_injector'],[[at],[st],[ot]]);}};Ir(Ut,_0x927f58(0x198),Tr),Ut=Er([_0x4a2454(_0x7f78e8,_0x502556),St(0x1,_0x57fa1f),St(0x2,_0x316925(_0x16154a)),St(0x3,_0x426a21)],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,Me 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,Mr 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,xr 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,Mn as serializeCombRequest};