@univerjs-pro/collaboration-client 0.6.7-nightly.202503291606 → 0.6.7-nightly.202503301606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x30a490=_0x2a67;(function(_0x4e143a,_0x45b707){var _0x421105=_0x2a67,_0x39e05a=_0x4e143a();while(!![]){try{var _0x2445dd=parseInt(_0x421105(0x199))/0x1+-parseInt(_0x421105(0x1e3))/0x2+parseInt(_0x421105(0x1f6))/0x3*(parseInt(_0x421105(0x361))/0x4)+parseInt(_0x421105(0x205))/0x5*(parseInt(_0x421105(0x182))/0x6)+-parseInt(_0x421105(0x1d7))/0x7+-parseInt(_0x421105(0x218))/0x8+parseInt(_0x421105(0x458))/0x9*(parseInt(_0x421105(0x227))/0xa);if(_0x2445dd===_0x45b707)break;else _0x39e05a['push'](_0x39e05a['shift']());}catch(_0x1eac66){_0x39e05a['push'](_0x39e05a['shift']());}}}(_0x2b52,0xef5b8));var wt=Object[_0x30a490(0x1ba)],Lt=(_0x50ba79,_0x1579d4,_0x5b8884)=>_0x1579d4 in _0x50ba79?wt(_0x50ba79,_0x1579d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b8884}):_0x50ba79[_0x1579d4]=_0x5b8884,A=(_0x24763f,_0x2e42f5,_0x31fe1f)=>Lt(_0x24763f,typeof _0x2e42f5!='symbol'?_0x2e42f5+'':_0x2e42f5,_0x31fe1f);Object[_0x30a490(0x1ba)](exports,Symbol['toStringTag'],{'value':'Module'});function _0x2b52(){var _0xe3e671=['blockSize','_pendingMutations','resend','_substituteUndoStack','_resendTimer','_getAPIPrefix','_data','_getDownloadEndpointURL','_getRedoStack','loadOfflineData','addHandlerCallback','event$','get','onSyncEditingCollabCursor','length','SheetPermissionInitController','BlockCipherMode','_transformRemoteChangesetByIMECache','_collaborationPaused','focused$','slice','pauseCollaboration','_collaborationSessionService','socket$','_doFinalize','LocaleService','_awaitingChangeset','/allowed','getCollabEntity$','_univerInstanceService','x-univer-host','reduce','onRemoteRej','UNRECOGNIZED','_nDataBytes','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_getCtorByUniverType','/universer-api/stream/file/upload','_updateStatus','toDisposable','_disableEditing','_transformStateCache','session','csShouldRetryEvent','concat','setShowComponents','map','_commandService','UniverNetworkPlugin','ALREADY_EXISTS','_oKey','MentionType','Optional','conflict','_fetchMissChangesets','UUID','PY_RUNTIME_SCRIPT_ERROR','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','unitInfo$','fetchThroughInterceptors','JOIN','_members$','getWorkbookSelections','UniverInstanceType','_mode','executeCommand','_loadDoc','crypto','ERROR_EXCEED_SIZE','_httpService','YUUMI_URL_COL_OUT_OF_RANGE','INGEST','call','onRemoteChangeset','onMissingChangesets','_replayCachedMutations','RevisionService','_unitID','_executeRemoteChangeset','_config','OfflineState','transformStack\x20failed!','c1Prime','52pHCqPw','_permissionService','AUTHZ_URL_KEY','setWaitCount','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','onTransformRemoteChangesetByStateCache','isPermissionRej','LIVESHARE_FETCH_OPERATIONS','_doReset','getImageSourceCache','code','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_REVISION_CONFILICT','_clearTimeoutTimer','MergeInterceptorFactory','readInt32LE','objects','_socket$','_timeoutTimer','LIVESHARE_OPERATION','random','interceptor','roles','concatMap','_networkConditionService','getCurrentUser','_keySchedule','TOO_MANY_REQUESTS','_stopTelemetryCollaborationNewChangeset','onSendChangeset','compute','_sheetTransformSelectionsService','sin','objectActions','_substituteRedoStack','ISingleActiveUnitService','rxjs/operators','Hasher','People','fetch_missing','_commentService','createSocket','AES','SNAPSHOT_INVALID_SNAPSHOT','complete','GLOBAL_ROOMS_CNT_EXCEEDS','open$','finalize','state','BlockCipher','getTypeOfUnitAdded$','transformMutationsWithChangeset','CollaborativeUndoRedoService','YUUMI_RATE_OVER_LIMIT','_entityInit$','onStateChange','state$','NoPadding','_getCurrentRevision','_logService','LOGIN_FAILED','PERMISSION_DENIED','rng','__Key__','_onOffline','enableOfflineEditing','?size=','@univerjs/telemetry','baseRev','_onConnectionOpen','format','subUnitId','Base','COLLAB_SUBMIT_CHANGESET_URL_KEY','__creator','charCodeAt','_lockTransition','fromCollab','Inject','_clearCollaborationTimeoutTimer','_key','@univerjs/docs','USER_NOT_INVITED_CODE','JOIN_ROOM_NOT_EXISTS','_collaborationTimeoutTimer','INTERNAL_ERROR','RxDisposable','JOIN_ROOM_FULL','LIVESHARE_REQUEST_HOST','FetchingMissState','ICommandService','HEARTBEAT','_createInitialState','cmd','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','byteLength','add','collaboration-client.config','commentUpdateEvent','createEncryptor','entries','SUBMIT_CHANGESET','_removeRoom','createIdentifier','mode','pad','Utf8','ISocketService','JSONX','updatePermissionPoint','&to=','_onRemoteRetry','members$','_getUploadFileURL','getDeserializedSheetBlock','getFocusedUnit','find','includes','_transformRemoteChangesetByStateCache','serializeCombRequest','deleteCollaborator','INVALID_INVITE_CODE','sessionStatus','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','message$','list','_retryConnectingTimer','_state$','/universer-api/snapshot/','touchDependencies','_doCreateSocket','_init','memberID','_transformService','saveChangeset','telemetry\x20info\x20is\x20not\x20initialized','JOIN_ROOM_FAILED','kdf','Encryptor','encrypt','_process','PendingState','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','create','Plugin','disposeWithMe','/universer-api/user/session-ticket','onTransformState','_map','UNAUTHENTICATED','stopTime','sequenceExecute','waitForRoom$','data','mapDocumentTypeToUniverType','_unitInfo$','location','DataLoaderService','retryConnectingInterval','/collaborator','_waitCount','enableSingleActiveInstanceLock','saveSnapshot','session.room-full','_sessionStatus$','[CollaborationState]:\x20apply\x20error!','_cipher','/object/','_onConnectionFailed','CHANGESET_ACK','CHANGESET_SHOULD_RETRY','status$','getTypeOfUnitDisposed$','_submitChangeset','ImageSourceType','MentionIoHttpService','PENDING','OTHER_CLIENT_EDITING','HMAC','UniverCollaborationClientPlugin','isTransformMutationsWithChangesetFailure','commentUpdate$','min','roomInfos','image/png','ConflictState','UNDEFINED','close','ITransformService','origin','copyFileMeta','Failed\x20to\x20update\x20permission\x20point','UnitEmbedded','resourceIDs','_roomMembers','onload','result','getUnitOnRev','CONFLICT','actions','_onJoinRoomEvent','/-/object/-/batch_allowed','title','UnitStatus','listCollaborators','objectType','_configService','_sender','objectID','ivSize','enc','_compressMutationService','getMemberID','liveShareNewHost','closeSession','subject','extend','deserializeToCombResponse','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','session.room-cnt-exceeds','send','reconnect','onTransformRemoteChangesetByIMECache','getCollabEntity','_sessions','close$','UNIVER_UNKNOWN','updateCollaborator','onRemoteRetry','unit-cache-','INetworkConditionService','getSheetBlock','allowed','_injector','_transitionLocked','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','save\x20fail\x20reason\x20is\x20','generateRandomId','RECV','[UniverCollaborationClientPlugin]','dispose$','loginUrlKey','Injector','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_localeService','snapshot','_members','2493wlDkHL','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','Disposable','_revisionService','take','SNAPSHOT_SERVER_URL_KEY','DEFAULT_FILE_NAME','workbook','/universer-api/oidc/authpage','put','_resendTimeout','_socketReady','_queuedRemoteChangesets','removeMember','IAuthzIoService','session.room-not-exists','/fetchmissing?from=','ERROR_IMAGE','_commentUpdate$','_onMessage','requireSession','SUBMIT_CHANGESET_TIMEOUT','image/gif','LICENSE_EXPORT_SIZE_EXCEEDED','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_transformSelections','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_getLoginPath','toString','routeKey','LICENSE_MAX_UNITS_EXCEEDED','CommentService','filter','function','synced','reset','SUCCUSS','SheetTransformSelectionsService','now','collaMsg','fromCharCode','sessionStatus$','_changesetReqId','_updateLocalCache','univer-pro.collaboration-client.network-condition.service','[CollaborationSessionService]','_incrementRevisionNumber','COMPLETION_FINISHED','update','AWAITING_WITH_PENDING','CollaborationUIEventService','_isPermissionRej','enableAuthServer','Tools','_sendHeartbeatTimer','_sendingTimer','isTransformChangesetsSuccess','_transformStack','revision','NO_OTHER_CLIENTS_EDITING','_decreaseWaiting','clone','UNIVER_COLLABORATION_CLIENT_PLUGIN','_rescheduleHeartbeat','_roomCreated$','b64DecodeUnicode','_userManagerService','USERS_LEAVE','SHA1','PSEUDO_FETCH_MISSING_RESULT','_sendHeartbeat','ws://127.0.0.1:8000/universer-api/comb/connect','_shouldReportTelemetry','lib','SessionStatus','SHOULD_CLOSE_CONN','_createHandler','set','updateCursorEvent','_updateState','withCredentials','dispose','_doCryptBlock','_initMergeInterceptor','originalMeta','OFFLINE','size','_DEC_XFORM_MODE','_createSocket','Base64','exports','_acknowledgedAwaitingChangeset','_waitForHeartbeatResponse','isArray','/universer-api/authz','_syncEditingCollabCursor','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','JOIN_ROOM_PERMISSION_DENIED','collaborators','key','_onCombEvent','[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.','_undoRedoService','getUnitStatus$','FileId','padding','onTransformIME','INVALID_ARGUMENT','_checkMissing','[CollaborationUndoRedoService]','SetSelectionsOperation','UniverCollaborationPlugin','_handlerCallback','_onRemoteRejected','getMember','_prevBlock','SEND_CHANGESET_TIMEOUT_KEY','ThresholdInterceptorFactory','socketService','_onRemoteChangeset','leaveEvent','CollaborationImageIoService','YUUMI_UNABLE_LOAD_URL','EvpKDF','LICENSE_DISTRO_REJECTED','getImage','?url=','/universer-api/snapshot','HTTPRequest','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','createDecryptor','transformChangesets','updateMember','NOT_FOUND','_state','_onConflict','_doProcessBlock','_initCloseConn','_remoteChangesetQueue','_getUndoStack','selections','equals','onCommandExecuted','emitEvent','_applyRemoteChangeset','SheetCollaborationEntity','\x20in\x20_schedule.','Error\x20on\x20receiving\x20event','_xformMode','DependentOn','prototype','addImageSourceCache','_transformUndoredo','fetchMiss','BufferedBlockAlgorithm','FETCH_MISSING','_entities','_resendWithTimeout','\x20-\x20','body','COMPRESS_MUTATION_APPLY','POST','InsertSheetMutation','getRandomValues','every','670146ucKSLZ','iterations','setCurrentUser','_imageSourceCache','[OfflineState]:\x20received\x20rejection.','Subject','unknown','ITelemetryService','encryptBlock','editing\x20status\x20changed\x20to','toggleOnline','next','CollaborationStatus','collaboration-client.local-cache-service','ImageUploadStatusType','_tryReconnect','onLocalMutation','_singleActiveUnitService','FETCH_MISS','getValue','COLLAB_SUBMIT_CHANGESET_URL','getUnitId','COLLAB_WEB_SOCKET_URL','894046HCdTUe','SheetsSelectionsService','_redoStacks','session.room-permission-denied','CHANGESET_REVISION_CONFILICT','IPermissionService','image/jpeg','getUnitType','batchAllowed','rev','_localCacheService','/new_changes','WorkbookEditablePermission','_changesetSessionId','socket\x20close','[PendingState]:\x20received\x20acknowledgement.','editingUnit','getCurrentRevOfUnit','SOCKET_FAILED','reverse','CLOSE_ROOM','_showConflictNotification','cfg','init','$super','_getSendChangesetTimeout','ReplaySubject','updateOfflineData','createCollaborator','BehaviorSubject','indexOf','_initUnitPermissionChange','SnapshotServerOverHTTPService','defineProperty','auth.needGotoLoginAlert','_listenToNetworkCondition','MSG_FOR_ERROR','ICollaborationSocketService','disableLocalCache','randomUUID','keySize','unitId','randomBytes','CollaborationSocketService','clamp','SYNCED','catch','eventID','/universer-api/file/{fileID}/sign-url','words','_getSignURL','&assign=','clear','CollaborationEvent','_snapshotService','/object','FAIL','post','createInstance','_getAPIPrefixPath','/universer-api/uniscript','transformUndoRedo','11315542LEuOIf','_instanceService','fetching\x20missing\x20changesets\x20from\x20','HttpImport','_collabSessionService','_clearLocalCache','ISnapshotServerService','SyncedState','IImageIoService','hasher','OTHER_CLIENTS_EDITING','_reverseMap','3343264Gjlvoq','MD5','salt','requestParams','Hex','_socketMessageSubscription','csRejEvent','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','IUndoRedoService','@univerjs-pro/collaboration','LOCAL_CACHE_INTERVAL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_replaceFileID','Decryptor','PERMISSION_REJ','debug','asObservable','_type','headers','265062gdJcgz','_exhaustRemoteChangesetQueue','_createInitialStateImpl','encode','floor','bind','changesets','APPLY_PERMISSION_DENIED','sigBytes','DEFAULT_COLLAB_WEB_SOCKET_URL','RichTextEditingMutation','[OfflineState]:\x20received\x20changeset.','_onRemoteACK','sid','UNIVER_DOC','65ZkwbXX','LIVESHARE_TERMINATE','string','delay','_append','localCacheService','IContextService','LOGIN_URL_KEY','registerHTTPInterceptor','mutations','_emitMembers','CollaborationSession','AuthzIoHttpService','parse','StreamCipher','saveImage','COMMENT_UPDATE','_onLocalMutation','_change$','5063744VrXbxV','_createHmacHelper','execute','IDLE','isTransformMutationsWithChangesetSuccess','_nRounds','MemberService','UNKNOWN_CODE','univer-pro.collaboration-client.single-active-unit-service','_invKeySchedule','mixIn','USERS_ENTER','append','has','[SyncedState]:\x20received\x20rejection.','50790LWTdeU','shareReplay','textEncoder','toggleOffline','name','capture','CollaborationController','merge','findIndex','Undefined','loadSheet','sendChangesetTimeout','_keyPriorReset','onTransformSelections','_eventService','forEach','getTime','downloadEndpointUrl','Quantity','AwaitingState','Cipher','_clearRetryConnectingTimer','parseProtocolChangeset','_hash','_clearHeartbeatTimer','hasOwnProperty','processBlock','NOT_COLLAB','href','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','HttpExport','isInternalEditorID','failed\x20to\x20apply\x20missed\x20changesets!','refreshPermission','registerDependencies','[SyncedState]:\x20received\x20acknowledgement.','reqId','CONNECTOR_DATA_TOO_LARGE','repeat','_status$','authzUrl','buffer','_initDependencies','LIVESHARE_NEW_HOST','sheets','apply','awaiting','infoRsp','abs','Malformed\x20UTF-8\x20data','entityInit$','_scheduleCompleteTimestamp','url','ceil','awaitingChangeset','_onUserLeave','putCollaborators','_clearRedo','getAllMembers','_onFetchMissResult','_toggleOffline','default','ONLINE','getSnapshotAPIPath','_candidateSocket','_startTelemetryCollaborationNewChangeset','image/bmp','_toggleOnline','SNAPSHOT_URL_KEY','_retryCount','src','params','m2Prime','HTTPService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','unitID','compose','NEW_CHANGESETS','SOCKET_FAILED_RETRY','/universer-api/comb','patch','UNIVER_SLIDE','duration','range','_clearScheduledTask','pluginName','parseChangesetToProtocol','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_memberService','getInterceptPoints','startTime','_telemetryService','APPLY_NON_SEQUENTIAL_REVISION','BASE64','takeUntil','pipe','readAsDataURL','userID','JOINING','values','getUnit','loadUnit','\x0aCurrent:\x20','_joinRoom','_iKey','__esModule','UserManagerService','/role','_undoStacks','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','INVITE_CODE_REQUIRED','[CollaborationSession]','replace','DocCollaborationEntity','type','target','_hasher','error','hostname','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','APPLY_REJECT','newCsEvent','offline','_telemetryInfo','formatter','UPDATE_CURSOR','_collaborationUIEventService','_transformIMECache','charAt','joinRsp','image/jpg','deepClone','push','connection\x20error','change$','unsubscribe','awaiting_with_pending','join','_throwTelemetryCollaborationNewChangeset','_loadSheet','decrypt','delete','submit\x20changeset\x20error!','UPDATE_PERMISSION_OBJ','saveSheetBlock','reject','UNISCRIPT_RUN','from','method','getConfig','responseType','/rev/','appendMutation','pending','localeService','getOwnPropertyDescriptor','CollaborationEntity','HELLO','error$','_unlockTransition','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ILogService','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Workbook','INVITE_CODE_ALREADY_BOUND','[CollaborationSessionService]:\x20socket\x20error','DEFAULT_WS_SESSION_TICKET_URL','[OfflineState]:\x20received\x20acknowledgement.','IConfigService','HmacSHA1','ciphertext','_minBufferSize','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','subscribe','CHANGESET_REJ','session.join-failed','[PendingState]:\x20received\x20rejection.','_startCollaboration','_registerDependencies','WordArray','_ENC_XFORM_MODE','AWAITING','confirm','@univerjs/sheets','_onRecvEvent','not_collab','HEARTBEAT_INTERVAL','fetchMissingChangesets','onCommentUpdate','onStarting','CompressMutationService','SNAPSHOT_HAS_BEEN_REMOVED','_schedule','_HTTPService','CommandType','UnitSnapshot','CipherParams','AwaitingWithPendingState','splice','PERSON','msCrypto','getActiveSheet','LEAVE','[DataLoaderService]','UNIVER_SHEET','_snapshotServerService','_clearUndo','/block/','IUniverInstanceService','onMissedChangesetFetched','_onUserJoin','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_iv','status','_event$','CollaborationSessionService','/unit/','getGlobalObject','onRemoteAck','algo','_initRequestHeader','collabSubmitChangesetUrl','stringify','initWorkbookPermissionChange','APPLY_DUPLICATED','MUTATION','_handler','_createHelper','COLLAB_WEB_SOCKET_URL_KEY','_tryEnsureSocket','_socket'];_0x2b52=function(){return _0xe3e671;};return _0x2b52();}const a=require('@univerjs/core'),j=require('rxjs'),V=require(_0x30a490(0x385)),g=require(_0x30a490(0x1ec)),q=require('@univerjs/network'),Mt=require(_0x30a490(0x3a4)),ut=require(_0x30a490(0x3b2)),Z=require(_0x30a490(0x2de)),J=require('@univerjs/drawing'),xt=require('@univerjs-pro/license'),dt=_0x30a490(0x45e),kt=_0x30a490(0x4d9),vt=_0x30a490(0x26b),Ht='SEND_CHANGESET_TIMEOUT',jt=0x7d0,St=_0x30a490(0x198),ft=_0x30a490(0x4a0),$t=_0x30a490(0x3f3),pt=_0x30a490(0x2e1),Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Vt=0x3,Wt=_0x30a490(0x1ed),Gt=0x3e8,It=_0x30a490(0x196),Kt=_0x30a490(0x276),Et=_0x30a490(0x20c),Yt=_0x30a490(0x461),qt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',zt=_0x30a490(0x1d5);var Ct=(_0x3791de=>(_0x3791de[_0x3791de[_0x30a490(0x41b)]=0x0]='UNDEFINED',_0x3791de[_0x3791de['OK']=0x1]='OK',_0x3791de[_0x3791de['INTERNAL_ERROR']=0x2]=_0x30a490(0x3b6),_0x3791de[_0x3791de[_0x30a490(0x39e)]=0x3]=_0x30a490(0x39e),_0x3791de[_0x3791de[_0x30a490(0x4df)]=0x4]=_0x30a490(0x4df),_0x3791de[_0x3791de[_0x30a490(0x3f6)]=0x5]=_0x30a490(0x3f6),_0x3791de[_0x3791de[_0x30a490(0x33f)]=0x6]=_0x30a490(0x33f),_0x3791de[_0x3791de['INVALID_ARGUMENT']=0x7]=_0x30a490(0x4c5),_0x3791de[_0x3791de[_0x30a490(0x37c)]=0x8]=_0x30a490(0x37c),_0x3791de[_0x3791de['COMPLETION_FINISHED']=0x9]=_0x30a490(0x488),_0x3791de[_0x3791de[_0x30a490(0x39d)]=0xa]=_0x30a490(0x39d),_0x3791de[_0x3791de[_0x30a490(0x19d)]=0x1389]=_0x30a490(0x19d),_0x3791de[_0x3791de[_0x30a490(0x38c)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3791de[_0x3791de[_0x30a490(0x2e6)]=0x1772]=_0x30a490(0x2e6),_0x3791de[_0x3791de[_0x30a490(0x4ba)]=0x1773]=_0x30a490(0x4ba),_0x3791de[_0x3791de[_0x30a490(0x29f)]=0x1b59]=_0x30a490(0x29f),_0x3791de[_0x3791de[_0x30a490(0x283)]=0x1b5a]=_0x30a490(0x283),_0x3791de[_0x3791de[_0x30a490(0x36d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3791de[_0x3791de[_0x30a490(0x1fd)]=0x1b5c]=_0x30a490(0x1fd),_0x3791de[_0x3791de[_0x30a490(0x307)]=0x1b5d]='APPLY_DUPLICATED',_0x3791de[_0x3791de[_0x30a490(0x24c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3791de[_0x3791de[_0x30a490(0x477)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3791de[_0x3791de[_0x30a490(0x1ee)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3791de[_0x3791de['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3791de[_0x3791de[_0x30a490(0x470)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3791de[_0x3791de[_0x30a490(0x4d6)]=0x232d]=_0x30a490(0x4d6),_0x3791de[_0x3791de['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x30a490(0x4d4),_0x3791de[_0x3791de[_0x30a490(0x354)]=0x2712]=_0x30a490(0x354),_0x3791de[_0x3791de[_0x30a490(0x396)]=0x2713]=_0x30a490(0x396),_0x3791de[_0x3791de[_0x30a490(0x36c)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3791de[_0x3791de[_0x30a490(0x346)]=0x2af9]=_0x30a490(0x346),_0x3791de[_0x3791de[_0x30a490(0x4b9)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3791de[_0x3791de[_0x30a490(0x3da)]=0x2ee2]=_0x30a490(0x3da),_0x3791de[_0x3791de[_0x30a490(0x295)]=0x2ee3]=_0x30a490(0x295),_0x3791de[_0x3791de['USER_NOT_INVITED_CODE']=0x2ee4]=_0x30a490(0x3b3),_0x3791de[_0x3791de['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x30a490(0x2cb),_0x3791de[_0x3791de[_0x30a490(0x32f)]=-0x1]=_0x30a490(0x32f),_0x3791de))(Ct||{}),X=(_0x1650a1=>(_0x1650a1[_0x1650a1[_0x30a490(0x443)]=0x0]=_0x30a490(0x443),_0x1650a1[_0x1650a1[_0x30a490(0x204)]=0x1]=_0x30a490(0x204),_0x1650a1[_0x1650a1[_0x30a490(0x2f3)]=0x2]='UNIVER_SHEET',_0x1650a1[_0x1650a1['UNIVER_SLIDE']=0x3]=_0x30a490(0x278),_0x1650a1[_0x1650a1['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x1650a1[_0x1650a1[_0x30a490(0x32f)]=-0x1]=_0x30a490(0x32f),_0x1650a1))(X||{}),W=(_0x55cb04=>(_0x55cb04[_0x55cb04['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x55cb04[_0x55cb04[_0x30a490(0x2c4)]=0x1]=_0x30a490(0x2c4),_0x55cb04[_0x55cb04[_0x30a490(0x34a)]=0x2]=_0x30a490(0x34a),_0x55cb04[_0x55cb04[_0x30a490(0x2f1)]=0x3]=_0x30a490(0x2f1),_0x55cb04[_0x55cb04[_0x30a490(0x355)]=0x4]=_0x30a490(0x355),_0x55cb04[_0x55cb04[_0x30a490(0x3bc)]=0x5]=_0x30a490(0x3bc),_0x55cb04[_0x55cb04[_0x30a490(0x44f)]=0x6]=_0x30a490(0x44f),_0x55cb04[_0x55cb04[_0x30a490(0x32f)]=-0x1]=_0x30a490(0x32f),_0x55cb04))(W||{}),ae=(_0x398b17=>(_0x398b17[_0x398b17['UNKNOWN_CODE']=0x0]=_0x30a490(0x21f),_0x398b17[_0x398b17['OK']=0x1]='OK',_0x398b17[_0x398b17[_0x30a490(0x1d1)]=0x2]=_0x30a490(0x1d1),_0x398b17[_0x398b17[_0x30a490(0x3b8)]=0x3e9]=_0x30a490(0x3b8),_0x398b17[_0x398b17[_0x30a490(0x3b4)]=0x3ea]=_0x30a490(0x3b4),_0x398b17[_0x398b17[_0x30a490(0x4bb)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x398b17[_0x398b17[_0x30a490(0x38e)]=0x3ec]=_0x30a490(0x38e),_0x398b17[_0x398b17[_0x30a490(0x32f)]=-0x1]=_0x30a490(0x32f),_0x398b17))(ae||{}),Tt=(_0x4bb2e0=>(_0x4bb2e0[_0x4bb2e0[_0x30a490(0x230)]=0x0]=_0x30a490(0x230),_0x4bb2e0[_0x4bb2e0[_0x30a490(0x1da)]=0x1]=_0x30a490(0x1da),_0x4bb2e0[_0x4bb2e0[_0x30a490(0x245)]=0x2]=_0x30a490(0x245),_0x4bb2e0[_0x4bb2e0[_0x30a490(0x421)]=0x3]=_0x30a490(0x421),_0x4bb2e0[_0x4bb2e0[_0x30a490(0x2ea)]=0x4]=_0x30a490(0x2ea),_0x4bb2e0[_0x4bb2e0['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4bb2e0))(Tt||{});const Y=_0x30a490(0x3c2),Jt={};var Q=(_0x359278=>(_0x359278[_0x30a490(0x412)]=_0x30a490(0x412),_0x359278[_0x30a490(0x39e)]=_0x30a490(0x39e),_0x359278[_0x30a490(0x427)]=_0x30a490(0x427),_0x359278[_0x30a490(0x1ad)]=_0x30a490(0x1ad),_0x359278[_0x30a490(0x3e9)]=_0x30a490(0x3e9),_0x359278['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x359278['SOCKET_FAILED']=_0x30a490(0x1ab),_0x359278['SUBMIT_CHANGESET_TIMEOUT']=_0x30a490(0x46e),_0x359278))(Q||{});class te{constructor(){var _0x46fcba=_0x30a490;A(this,_0x46fcba(0x2fd),new j[(_0x46fcba(0x187))]()),A(this,'event$',this[_0x46fcba(0x2fd)][_0x46fcba(0x1f3)]());}['emitEvent'](_0x4953e4){var _0x214259=_0x30a490;this[_0x214259(0x2fd)][_0x214259(0x18d)](_0x4953e4);}}const bt=a[_0x30a490(0x3c8)](_0x30a490(0x485));function Rt(_0x27aaeb){var _0x90e7d9=_0x30a490,_0x481672,_0x41ac3c,_0x11c0f3,_0x574f01,_0x466c4e;const _0x39b4aa=_0x27aaeb['data'],_0x38f7f0=JSON['parse'](_0x39b4aa);switch(_0x38f7f0[_0x90e7d9(0x3be)]){case W[_0x90e7d9(0x3bc)]:case W['HELLO']:{const _0x2bf559=_0x38f7f0[_0x90e7d9(0x256)];return{..._0x38f7f0,'data':_0x2bf559,'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};}case W[_0x90e7d9(0x34a)]:{const _0x1745d9=_0x38f7f0[_0x90e7d9(0x2a8)];return{..._0x38f7f0,'data':_0x1745d9,'cmd':_0x38f7f0['cmd']};}case W[_0x90e7d9(0x44f)]:{const _0x23ffae=_0x38f7f0[_0x90e7d9(0x480)];switch(_0x23ffae[_0x90e7d9(0x1c8)]){case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x1f1)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':(_0x481672=_0x23ffae['permissionRejEvent'])==null?void 0x0:_0x481672['cs']},'cmd':_0x38f7f0['cmd']};case g['CollaborationEvent'][_0x90e7d9(0x40a)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':(_0x41ac3c=_0x23ffae['csAckEvent'])==null?void 0x0:_0x41ac3c['cs']},'cmd':_0x38f7f0['cmd']};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x274)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':(_0x11c0f3=_0x23ffae[_0x90e7d9(0x2a0)])==null?void 0x0:_0x11c0f3['cs']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x2d5)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':(_0x574f01=_0x23ffae[_0x90e7d9(0x1e9)])==null?void 0x0:_0x574f01['cs']},'cmd':_0x38f7f0['cmd']};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x40b)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':(_0x466c4e=_0x23ffae[_0x90e7d9(0x339)])==null?void 0x0:_0x466c4e['cs']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x2a4)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae[_0x90e7d9(0x4a7)]},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x223)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae['joinEvent']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x49c)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae[_0x90e7d9(0x4d2)]},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae['liveShareNewHost']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g['CollaborationEvent'][_0x90e7d9(0x368)]:case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x374)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae['liveShareOperation']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae[_0x90e7d9(0x436)]},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g[_0x90e7d9(0x1ce)]['MSG_FOR_ERROR']:return{..._0x38f7f0,'data':_0x23ffae,'cmd':_0x38f7f0['cmd']};case g[_0x90e7d9(0x1ce)][_0x90e7d9(0x215)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae[_0x90e7d9(0x3c3)]},'cmd':_0x38f7f0['cmd']};case g[_0x90e7d9(0x1ce)]['UPDATE_PERMISSION_OBJ']:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae['updatePermissionObjEvent']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g['CollaborationEvent'][_0x90e7d9(0x4a4)]:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae['shouldCloseConn']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};case g[_0x90e7d9(0x1ce)]['UNISCRIPT_RUN']:return{..._0x38f7f0,'data':{..._0x23ffae,'data':_0x23ffae['uniscriptRunEvent']},'cmd':_0x38f7f0[_0x90e7d9(0x3be)]};default:return _0x38f7f0;}}default:return _0x38f7f0;}}function yt(_0x2674d6){var _0x4fcb6a=_0x30a490;switch(_0x2674d6[_0x4fcb6a(0x3be)]){case W[_0x4fcb6a(0x3bc)]:case W[_0x4fcb6a(0x2c4)]:return JSON['stringify']({'cmd':_0x2674d6[_0x4fcb6a(0x3be)],'routeKey':_0x2674d6[_0x4fcb6a(0x476)]});case W[_0x4fcb6a(0x355)]:{let _0x168555;switch(_0x2674d6[_0x4fcb6a(0x3fa)][_0x4fcb6a(0x1c8)]){case g[_0x4fcb6a(0x1ce)]['UPDATE_CURSOR']:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)]['UPDATE_CURSOR'],'updateCursorEvent':_0x2674d6['data'][_0x4fcb6a(0x3fa)]};break;}case g['CollaborationEvent'][_0x4fcb6a(0x49c)]:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)]['USERS_LEAVE'],'leaveEvent':_0x2674d6[_0x4fcb6a(0x3fa)][_0x4fcb6a(0x3fa)]};break;}case g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x223)]:{_0x168555={'eventID':g['CollaborationEvent'][_0x4fcb6a(0x223)],'joinEvent':_0x2674d6[_0x4fcb6a(0x3fa)]['data']};break;}case g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x252)]:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x252)],'liveShareNewHost':_0x2674d6['data'][_0x4fcb6a(0x3fa)]};break;}case g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x374)]:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x2674d6[_0x4fcb6a(0x3fa)][_0x4fcb6a(0x3fa)]};break;}case g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x206)]:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2674d6[_0x4fcb6a(0x3fa)][_0x4fcb6a(0x3fa)]};break;}case g['CollaborationEvent'][_0x4fcb6a(0x3b9)]:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2674d6[_0x4fcb6a(0x3fa)][_0x4fcb6a(0x3fa)]};break;}case g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x368)]:{_0x168555={'eventID':g[_0x4fcb6a(0x1ce)][_0x4fcb6a(0x368)]};break;}default:_0x168555={'eventID':_0x2674d6[_0x4fcb6a(0x3fa)]['eventID']};}return JSON[_0x4fcb6a(0x305)]({'cmd':_0x2674d6[_0x4fcb6a(0x3be)],'routeKey':_0x2674d6['routeKey'],'collaMsg':_0x168555});}case W[_0x4fcb6a(0x34a)]:return JSON[_0x4fcb6a(0x305)]({'cmd':_0x2674d6['cmd'],'routeKey':_0x2674d6[_0x4fcb6a(0x476)],'joinReq':_0x2674d6[_0x4fcb6a(0x3fa)]});case W[_0x4fcb6a(0x2f1)]:return JSON['stringify']({'cmd':_0x2674d6[_0x4fcb6a(0x3be)],'routeKey':_0x2674d6[_0x4fcb6a(0x476)],'leaveReq':_0x2674d6[_0x4fcb6a(0x3fa)]});default:throw new Error(_0x4fcb6a(0x3bf));}}var Xt=Object[_0x30a490(0x2c2)],Zt=(_0x16f3e0,_0x204e07,_0x2cebee,_0x42d36a)=>{for(var _0x1cd4ec=_0x42d36a>0x1?void 0x0:_0x42d36a?Xt(_0x204e07,_0x2cebee):_0x204e07,_0x194686=_0x16f3e0['length']-0x1,_0x6ea3ec;_0x194686>=0x0;_0x194686--)(_0x6ea3ec=_0x16f3e0[_0x194686])&&(_0x1cd4ec=_0x6ea3ec(_0x1cd4ec)||_0x1cd4ec);return _0x1cd4ec;},_e=(_0x32d86e,_0x1060fc)=>(_0x469db5,_0x4c2eea)=>_0x1060fc(_0x469db5,_0x4c2eea,_0x32d86e);const $e=a[_0x30a490(0x3c8)]('univer-pro.collaboration-client-socket-service');function Qt(_0x426656,_0x1d74b1,_0x1f919e){var _0x2211b8=_0x30a490;return _0x426656+'/'+_0x1d74b1+_0x2211b8(0x2ff)+_0x1f919e+_0x2211b8(0x1a4);}exports['CollaborationSocketService']=class extends a[_0x30a490(0x45b)]{constructor(_0x3b610c,_0x31b630,_0x3c4922,_0x1c2179,_0x3a095a){var _0x5aade1=_0x30a490;super(),this[_0x5aade1(0x44a)]=_0x3b610c,this[_0x5aade1(0x353)]=_0x31b630,this[_0x5aade1(0x42f)]=_0x3c4922,this[_0x5aade1(0x39c)]=_0x1c2179,this[_0x5aade1(0x2f4)]=_0x3a095a;}[_0x30a490(0x3e3)](_0x2484e7){var _0x584ced=_0x30a490;const _0x34905a=this['_injector'][_0x584ced(0x31a)](q[_0x584ced(0x3cc)]);if(!_0x34905a)throw new Error(_0x584ced(0x29e));const _0x232aee=_0x34905a['createSocket'](_0x2484e7);if(!_0x232aee)throw new Error(_0x584ced(0x44c));const _0x492591=new a['DisposableCollection'](),_0x3548b6=new j[(_0x584ced(0x187))]();_0x492591[_0x584ced(0x3c1)](_0x232aee[_0x584ced(0x442)]['subscribe'](_0xb19a55=>_0x3548b6[_0x584ced(0x18d)](_0xb19a55))),_0x492591[_0x584ced(0x3c1)](a[_0x584ced(0x335)](()=>_0x3548b6[_0x584ced(0x38d)]()));const _0x46e419=new j[(_0x584ced(0x187))]();_0x492591[_0x584ced(0x3c1)](_0x232aee[_0x584ced(0x2c5)][_0x584ced(0x2d4)](_0x2ec9df=>_0x46e419[_0x584ced(0x18d)](_0x2ec9df))),_0x492591[_0x584ced(0x3c1)](a[_0x584ced(0x335)](()=>_0x46e419[_0x584ced(0x38d)]()));const _0x4ff4c2=new j[(_0x584ced(0x187))]();_0x492591[_0x584ced(0x3c1)](_0x232aee['message$'][_0x584ced(0x2d4)](_0x4d9a37=>{const _0x4720f3=Rt(_0x4d9a37);_0x4ff4c2['next'](_0x4720f3);})),_0x492591['add'](a['toDisposable'](()=>_0x4ff4c2[_0x584ced(0x38d)]()));let _0x178133;const _0x407c7d=()=>{var _0x32df83=_0x584ced;_0x46e419[_0x32df83(0x18d)](new Event('connection\x20error')),_0x3548b6[_0x32df83(0x18d)](new Event(_0x32df83(0x2ac))),_0x178133[_0x32df83(0x41c)]();};return _0x178133={'memberID':'','close$':_0x3548b6[_0x584ced(0x1f3)](),'error$':_0x46e419[_0x584ced(0x1f3)](),'open$':_0x232aee['open$'],'message$':_0x4ff4c2[_0x584ced(0x1f3)](),'send':_0x5cd5ba=>{var _0x39f3a6=_0x584ced;if(_0x5cd5ba[_0x39f3a6(0x3be)]===W['INGEST']){if(_0x5cd5ba[_0x39f3a6(0x3fa)][_0x39f3a6(0x1c8)]===g[_0x39f3a6(0x1ce)]['SUBMIT_CHANGESET']){this[_0x39f3a6(0x40e)](_0x178133,_0x5cd5ba[_0x39f3a6(0x3fa)])[_0x39f3a6(0x1c7)](_0x4e7013=>{var _0x54727f=_0x39f3a6;this[_0x54727f(0x39c)]['error'](_0x4e7013),_0x407c7d();});return;}if(_0x5cd5ba[_0x39f3a6(0x3fa)][_0x39f3a6(0x1c8)]===g[_0x39f3a6(0x1ce)][_0x39f3a6(0x178)]){const _0x1d2580=_0x5cd5ba[_0x39f3a6(0x3fa)];this[_0x39f3a6(0x344)](_0x1d2580)['then'](_0x3df316=>{var _0x56bba8=_0x39f3a6;_0x4ff4c2[_0x56bba8(0x18d)]({'cmd':W['RECV'],'code':ae['OK'],'routeKey':_0x1d2580[_0x56bba8(0x3fa)][_0x56bba8(0x272)],'routeType':'','data':{'eventID':g['CollaborationEvent'][_0x56bba8(0x49e)],'data':{'changesets':_0x3df316}}});})[_0x39f3a6(0x1c7)](_0x3a47b5=>{var _0x4f33f0=_0x39f3a6;this[_0x4f33f0(0x39c)][_0x4f33f0(0x29c)](_0x3a47b5),_0x407c7d();});return;}}_0x232aee[_0x39f3a6(0x43d)](yt(_0x5cd5ba));},'close':()=>{var _0xc12c24=_0x584ced;_0x232aee[_0xc12c24(0x41c)](),_0x492591[_0xc12c24(0x4aa)]();}},_0x178133;}async[_0x30a490(0x40e)](_0x4114b1,_0x4eda63){var _0x5e765b=_0x30a490,_0x8ccb3e,_0x283219;const {unitType:_0x1ba499,unitID:_0x7945df,changeset:_0x419f47}=_0x4eda63[_0x5e765b(0x3fa)],_0x385013={'unitID':_0x7945df,'memberID':_0x4114b1[_0x5e765b(0x3e5)],'type':_0x1ba499,'changeset':g[_0x5e765b(0x27d)](_0x419f47)},_0x43141c=this[_0x5e765b(0x42f)]['getConfig'](It),_0x13f0e9=this[_0x5e765b(0x42f)]['getConfig'](Y),_0x48571e=Qt((_0x283219=(_0x8ccb3e=_0x13f0e9==null?void 0x0:_0x13f0e9[_0x5e765b(0x304)])!=null?_0x8ccb3e:_0x43141c)!=null?_0x283219:Kt,_0x1ba499,_0x7945df);try{await this[_0x5e765b(0x353)][_0x5e765b(0x1d2)](_0x48571e,{'body':_0x385013});}catch(_0x5ae812){throw this[_0x5e765b(0x39c)]['error'](_0x5e765b(0x296),_0x5e765b(0x2b5)),_0x5ae812;}}async[_0x30a490(0x344)](_0x3816e4){var _0x423854=_0x30a490;const {unitID:_0x22054f,from:_0x3e1741,to:_0x5e1cce,unitType:_0x7c99e1}=_0x3816e4[_0x423854(0x3fa)];return(await this['_snapshotServerService'][_0x423854(0x2e2)]({'metadata':void 0x0},{'unitID':_0x22054f,'type':_0x7c99e1,'from':_0x3e1741,'to':_0x5e1cce}))[_0x423854(0x1fc)];}},exports['CollaborationSocketService']=Zt([_e(0x0,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),_e(0x1,a['Inject'](q[_0x30a490(0x270)])),_e(0x2,a[_0x30a490(0x2cf)]),_e(0x3,a[_0x30a490(0x2c8)]),_e(0x4,g['ISnapshotServerService'])],exports[_0x30a490(0x1c4)]);const ei='collaboration_new_changeset';function ti(_0x149b4a){var _0x57bccc=_0x30a490;return JSON[_0x57bccc(0x305)](_0x149b4a)['length'];}class Be{constructor(){var _0x121cdc=_0x30a490;A(this,_0x121cdc(0x46b),new j[(_0x121cdc(0x187))]()),A(this,_0x121cdc(0x416),this[_0x121cdc(0x46b)]['asObservable']());}[_0x30a490(0x2e3)](_0x1a5f3c){var _0x8bd58e=_0x30a490;this[_0x8bd58e(0x46b)][_0x8bd58e(0x18d)](_0x1a5f3c);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0x24a6a0,_0x4e050b,_0x1797d9,_0x3e71a4)=>{for(var _0x2bd12d=_0x3e71a4>0x1?void 0x0:_0x3e71a4?ii(_0x4e050b,_0x1797d9):_0x4e050b,_0x8fba05=_0x24a6a0['length']-0x1,_0x54c7b3;_0x8fba05>=0x0;_0x8fba05--)(_0x54c7b3=_0x24a6a0[_0x8fba05])&&(_0x2bd12d=_0x54c7b3(_0x2bd12d)||_0x2bd12d);return _0x2bd12d;},Ke=(_0x334e19,_0x4d2b15)=>(_0x3872ec,_0x46f081)=>_0x4d2b15(_0x3872ec,_0x46f081,_0x334e19);exports['MemberService']=class extends a[_0x30a490(0x45b)]{constructor(_0x48d56c,_0x5164e7){var _0x2c8564=_0x30a490;super(),A(this,'_roomMembers',new Map()),A(this,_0x2c8564(0x499),new j[(_0x2c8564(0x187))]()),(this[_0x2c8564(0x32b)]=_0x48d56c,this[_0x2c8564(0x49b)]=_0x5164e7,this[_0x2c8564(0x3f2)](j[_0x2c8564(0x22e)](this[_0x2c8564(0x32b)]['getTypeOfUnitDisposed$'](a[_0x2c8564(0x34d)][_0x2c8564(0x2f3)])['pipe'](V[_0x2c8564(0x33c)](_0x380188=>_0x380188['getUnitId']())),this[_0x2c8564(0x32b)][_0x2c8564(0x40d)](a[_0x2c8564(0x34d)][_0x2c8564(0x204)])[_0x2c8564(0x286)](V[_0x2c8564(0x33c)](_0x8fc9c9=>_0x8fc9c9[_0x2c8564(0x197)]())),this[_0x2c8564(0x32b)][_0x2c8564(0x40d)](a[_0x2c8564(0x34d)][_0x2c8564(0x278)])[_0x2c8564(0x286)](V['map'](_0x2f5343=>_0x2f5343[_0x2c8564(0x197)]())))[_0x2c8564(0x2d4)](_0x292b46=>this['_removeRoom'](_0x292b46))));}[_0x30a490(0x3f9)](_0x84ad66){var _0x46938f=_0x30a490;return this[_0x46938f(0x423)][_0x46938f(0x225)](_0x84ad66)?j['of'](this[_0x46938f(0x423)][_0x46938f(0x31a)](_0x84ad66)):this[_0x46938f(0x499)]['pipe'](V['map'](_0x343122=>{var _0x4f6011=_0x46938f;if(_0x343122===_0x84ad66)return this[_0x4f6011(0x423)][_0x4f6011(0x31a)](_0x343122);}));}[_0x30a490(0x184)](_0x377949){var _0x50d6e0=_0x30a490;this['_userManagerService'][_0x50d6e0(0x184)](_0x377949);}[_0x30a490(0x37a)](){var _0x1c0ed5=_0x30a490;return this[_0x1c0ed5(0x49b)][_0x1c0ed5(0x37a)]();}['updateMember'](_0x2079ba,_0x2ff280){var _0x524541=_0x30a490;let _0x576b85=this['_roomMembers']['get'](_0x2079ba);_0x576b85||(_0x576b85=new ri(),this[_0x524541(0x423)][_0x524541(0x4a6)](_0x2079ba,_0x576b85),this[_0x524541(0x499)][_0x524541(0x18d)](_0x2079ba)),_0x576b85['updateMember'](_0x2ff280);}[_0x30a490(0x466)](_0x2676b1,_0x510b6c){var _0x426779=_0x30a490;const _0x37dd98=this[_0x426779(0x423)]['get'](_0x2676b1);_0x37dd98&&_0x37dd98[_0x426779(0x466)](_0x510b6c);}['getRoom'](_0x4ff976){var _0x22c25e=_0x30a490;return this[_0x22c25e(0x423)][_0x22c25e(0x31a)](_0x4ff976);}[_0x30a490(0x4cc)](_0x4f5e03,_0x281ff7){var _0x1d1dd2=_0x30a490;const _0x20d92c=this[_0x1d1dd2(0x423)][_0x1d1dd2(0x31a)](_0x4f5e03);if(_0x20d92c)return _0x20d92c[_0x1d1dd2(0x4cc)](_0x281ff7);}[_0x30a490(0x3c7)](_0x2afb17){var _0x26ec8b=_0x30a490;const _0x3d993b=this[_0x26ec8b(0x423)]['get'](_0x2afb17);_0x3d993b&&(_0x3d993b['dispose'](),this[_0x26ec8b(0x423)][_0x26ec8b(0x2b4)](_0x2afb17));}[_0x30a490(0x4aa)](){var _0x5c90b5=_0x30a490;this[_0x5c90b5(0x423)][_0x5c90b5(0x236)](_0x2b73c3=>_0x2b73c3[_0x5c90b5(0x4aa)]()),this[_0x5c90b5(0x423)][_0x5c90b5(0x1cd)](),this[_0x5c90b5(0x499)][_0x5c90b5(0x38d)]();}},exports[_0x30a490(0x21e)]=ni([Ke(0x0,a[_0x30a490(0x2f7)]),Ke(0x1,a[_0x30a490(0x3af)](a[_0x30a490(0x291)]))],exports['MemberService']);class ri extends a[_0x30a490(0x45b)]{constructor(){var _0x2a3790=_0x30a490;super(...arguments),A(this,_0x2a3790(0x457),new Map()),A(this,'_members$',new j[(_0x2a3790(0x1b6))](this[_0x2a3790(0x457)])),A(this,_0x2a3790(0x3d1),this[_0x2a3790(0x34b)][_0x2a3790(0x1f3)]());}['dispose'](){var _0x1b9ce0=_0x30a490;this[_0x1b9ce0(0x457)]['clear']();}[_0x30a490(0x4de)](_0x28cf5c){var _0x40342f=_0x30a490;this[_0x40342f(0x457)][_0x40342f(0x4a6)](_0x28cf5c[_0x40342f(0x3e5)],_0x28cf5c),this[_0x40342f(0x20f)]();}[_0x30a490(0x466)](_0x693ed6){var _0x4e2fe3=_0x30a490;this[_0x4e2fe3(0x457)]['delete'](_0x693ed6);}['getMember'](_0x57c493){var _0xad4980=_0x30a490;return this[_0xad4980(0x457)][_0xad4980(0x31a)](_0x57c493);}[_0x30a490(0x261)](){var _0x4dd5be=_0x30a490;return Array[_0x4dd5be(0x2ba)](this[_0x4dd5be(0x457)][_0x4dd5be(0x28a)]());}[_0x30a490(0x20f)](){var _0x3d6ba2=_0x30a490;this[_0x3d6ba2(0x34b)][_0x3d6ba2(0x18d)](this[_0x3d6ba2(0x457)]);}}var si=Object[_0x30a490(0x2c2)],oi=(_0x383a57,_0x162a7d,_0x436ef0,_0x214955)=>{var _0x2fa611=_0x30a490;for(var _0x519417=_0x214955>0x1?void 0x0:_0x214955?si(_0x162a7d,_0x436ef0):_0x162a7d,_0x452546=_0x383a57[_0x2fa611(0x31c)]-0x1,_0x5df804;_0x452546>=0x0;_0x452546--)(_0x5df804=_0x383a57[_0x452546])&&(_0x519417=_0x5df804(_0x519417)||_0x519417);return _0x519417;},oe=(_0x4f79a4,_0x33b7b1)=>(_0x2f4460,_0x9fb15c)=>_0x33b7b1(_0x2f4460,_0x9fb15c,_0x4f79a4),se=(_0x34ee2d=>(_0x34ee2d[_0x34ee2d[_0x30a490(0x21b)]=0x0]=_0x30a490(0x21b),_0x34ee2d[_0x34ee2d[_0x30a490(0x289)]=0x1]=_0x30a490(0x289),_0x34ee2d[_0x34ee2d['OFFLINE']=0x2]=_0x30a490(0x4ae),_0x34ee2d[_0x34ee2d[_0x30a490(0x265)]=0x3]=_0x30a490(0x265),_0x34ee2d))(se||{});const Ye={[ae[_0x30a490(0x1d1)]]:_0x30a490(0x2d6),[ae[_0x30a490(0x3b8)]]:_0x30a490(0x404),[ae[_0x30a490(0x3b4)]]:_0x30a490(0x468),[ae[_0x30a490(0x4bb)]]:_0x30a490(0x19c),[ae['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x30a490(0x43c)};exports[_0x30a490(0x210)]=class extends a['RxDisposable']{constructor(_0x2486bc,_0x1eadde,_0xc5e9c4,_0x5a1a15,_0x332430,_0x3f7def,_0x5bdb0e,_0x5c9552,_0x32d382){var _0xd146a3=_0x30a490;super(),A(this,_0xd146a3(0x405),new j[(_0xd146a3(0x1b6))](0x0)),A(this,_0xd146a3(0x482),this[_0xd146a3(0x405)][_0xd146a3(0x1f3)]()),A(this,_0xd146a3(0x2fd),new j[(_0xd146a3(0x187))]()),A(this,_0xd146a3(0x319),this[_0xd146a3(0x2fd)][_0xd146a3(0x1f3)]()),A(this,_0xd146a3(0x30d)),A(this,_0xd146a3(0x1e8)),A(this,'_collaborationTimeoutTimer'),A(this,_0xd146a3(0x4a1),!0x1),A(this,_0xd146a3(0x2a2),null),(this[_0xd146a3(0x35b)]=_0x2486bc,this[_0xd146a3(0x39c)]=_0xc5e9c4,this[_0xd146a3(0x42f)]=_0x5a1a15,this[_0xd146a3(0x455)]=_0x332430,this[_0xd146a3(0x27f)]=_0x3f7def,this[_0xd146a3(0x389)]=_0x5bdb0e,this[_0xd146a3(0x2a5)]=_0x5c9552,this[_0xd146a3(0x282)]=_0x32d382,this['_shouldReportTelemetry']=!!this[_0xd146a3(0x282)],_0x1eadde[_0xd146a3(0x286)](j['takeUntil'](this['dispose$']))[_0xd146a3(0x2d4)](_0x330ba2=>{var _0x1d7f6e=_0xd146a3,_0x42d4ee;typeof _0x330ba2>'u'||(this[_0x1d7f6e(0x30d)]=_0x330ba2,_0x330ba2?(this['_joinRoom'](_0x330ba2),this[_0x1d7f6e(0x1e8)]=_0x330ba2[_0x1d7f6e(0x3dd)][_0x1d7f6e(0x2d4)](_0x13f448=>{var _0x3b187f=_0x1d7f6e;_0x13f448[_0x3b187f(0x476)]===this[_0x3b187f(0x35b)]&&this[_0x3b187f(0x4be)](_0x13f448);})):(this[_0x1d7f6e(0x2b1)](),this['_sessionStatus$'][_0x1d7f6e(0x18d)](0x2),(_0x42d4ee=this[_0x1d7f6e(0x1e8)])==null||_0x42d4ee[_0x1d7f6e(0x2ae)](),this['_socketMessageSubscription']=null));}));}get[_0x30a490(0x3db)](){var _0x4ebc30=_0x30a490;return this[_0x4ebc30(0x405)][_0x4ebc30(0x195)]();}[_0x30a490(0x435)](){var _0xa580c4=_0x30a490,_0x488e04,_0x1e4df6;return(_0x1e4df6=(_0x488e04=this[_0xa580c4(0x30d)])==null?void 0x0:_0x488e04[_0xa580c4(0x3e5)])!=null?_0x1e4df6:null;}['dispose'](){var _0x5d58d2=_0x30a490;super[_0x5d58d2(0x4aa)](),this[_0x5d58d2(0x451)]['next'](),this[_0x5d58d2(0x451)][_0x5d58d2(0x38d)]();}['close'](){var _0x372a55=_0x30a490,_0x3752ab,_0x17373f;this[_0x372a55(0x2b1)](),(_0x3752ab=this[_0x372a55(0x30d)])==null||_0x3752ab[_0x372a55(0x43d)]({'cmd':W[_0x372a55(0x2f1)],'data':{'roomID':this[_0x372a55(0x35b)]}}),(_0x17373f=this[_0x372a55(0x30d)])==null||_0x17373f[_0x372a55(0x41c)](),this[_0x372a55(0x2fd)][_0x372a55(0x38d)](),this['_sessionStatus$'][_0x372a55(0x38d)](),this[_0x372a55(0x4aa)]();}[_0x30a490(0x4be)](_0x4b2db1){var _0x41d300=_0x30a490;_0x4b2db1[_0x41d300(0x3be)]===W['JOIN']?this['_onJoinRoomEvent'](_0x4b2db1):_0x4b2db1[_0x41d300(0x3be)]===W[_0x41d300(0x44f)]&&this[_0x41d300(0x2df)](_0x4b2db1);}[_0x30a490(0x28e)](_0x4badf2){var _0xec8656=_0x30a490;this['_sessionStatus$'][_0xec8656(0x18d)](0x1),_0x4badf2['send']({'cmd':W[_0xec8656(0x34a)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0xec8656(0x35b)]}]}});}[_0x30a490(0x429)](_0x3b3573){var _0x1c2c50=_0x30a490,_0x337ce1;if(_0x3b3573['code']in Ye){this[_0x1c2c50(0x2a5)][_0x1c2c50(0x16c)]({'id':Q['JOIN_ROOM_FAILED'],'data':Ye[_0x3b3573[_0x1c2c50(0x36b)]]}),this[_0x1c2c50(0x405)][_0x1c2c50(0x18d)](0x2);return;}this['_sessionStatus$'][_0x1c2c50(0x18d)](0x3);const _0x2fbbd0=(_0x337ce1=_0x3b3573['data'][_0x1c2c50(0x418)][this[_0x1c2c50(0x35b)]])==null?void 0x0:_0x337ce1['members'];_0x2fbbd0&&_0x2fbbd0['forEach'](_0x22843a=>this[_0x1c2c50(0x27f)][_0x1c2c50(0x4de)](this['_unitID'],_0x22843a));}['_onRecvEvent'](_0x54f96e){var _0x4dbf1d=_0x30a490;try{const _0x438f71=_0x54f96e[_0x4dbf1d(0x3fa)];switch(_0x438f71[_0x4dbf1d(0x1c8)]){case g[_0x4dbf1d(0x1ce)][_0x4dbf1d(0x223)]:this[_0x4dbf1d(0x2f9)](_0x438f71),this['_event$'][_0x4dbf1d(0x18d)](_0x438f71);break;case g[_0x4dbf1d(0x1ce)][_0x4dbf1d(0x49c)]:this[_0x4dbf1d(0x25e)](_0x438f71),this[_0x4dbf1d(0x2fd)][_0x4dbf1d(0x18d)](_0x438f71);break;case g[_0x4dbf1d(0x1ce)][_0x4dbf1d(0x40a)]:case g['CollaborationEvent'][_0x4dbf1d(0x40b)]:this[_0x4dbf1d(0x37d)](),this[_0x4dbf1d(0x3b0)](),this[_0x4dbf1d(0x2fd)][_0x4dbf1d(0x18d)](_0x438f71);break;case g['CollaborationEvent'][_0x4dbf1d(0x1bd)]:this[_0x4dbf1d(0x39c)][_0x4dbf1d(0x29c)](_0x4dbf1d(0x44d)+JSON[_0x4dbf1d(0x305)](_0x438f71)),this[_0x4dbf1d(0x2fd)][_0x4dbf1d(0x18d)](_0x438f71);break;case g['CollaborationEvent'][_0x4dbf1d(0x215)]:this[_0x4dbf1d(0x389)]['onCommentUpdate'](_0x438f71['data']),this[_0x4dbf1d(0x2fd)][_0x4dbf1d(0x18d)](_0x438f71);break;default:this[_0x4dbf1d(0x2fd)][_0x4dbf1d(0x18d)](_0x438f71);}}catch(_0x277e28){this[_0x4dbf1d(0x39c)][_0x4dbf1d(0x29c)](_0x277e28,_0x54f96e);}}[_0x30a490(0x2f9)](_0x433f88){var _0x424b34=_0x30a490;this['_memberService'][_0x424b34(0x4de)](this[_0x424b34(0x35b)],_0x433f88[_0x424b34(0x3fa)]);}[_0x30a490(0x25e)](_0x32541d){var _0x1d2d40=_0x30a490;this[_0x1d2d40(0x27f)][_0x1d2d40(0x466)](this[_0x1d2d40(0x35b)],_0x32541d['data']['memberID']);}async['send'](_0x5befd7,_0x223d22){var _0x6337a4=_0x30a490;if(this[_0x6337a4(0x3db)]!==0x3||!this[_0x6337a4(0x30d)])throw new Error(_0x6337a4(0x459));try{_0x5befd7['eventID']===g[_0x6337a4(0x1ce)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x6337a4(0x268)](_0x5befd7)),this[_0x6337a4(0x30d)][_0x6337a4(0x43d)]({'cmd':W['INGEST'],'routeKey':_0x223d22,'routeType':'','data':_0x5befd7});}catch(_0x4ff3c8){this[_0x6337a4(0x39c)]['error'](_0x4ff3c8);}}['_scheduleCollaborationTimeoutTimer'](){var _0xf34b2a=_0x30a490,_0x35308c;this[_0xf34b2a(0x3b5)]=setTimeout(()=>{var _0x1380fe=_0xf34b2a;this[_0x1380fe(0x3b5)]=null,this[_0x1380fe(0x2a5)]['emitEvent']({'id':Q[_0x1380fe(0x46e)]});},(_0x35308c=this['_configService'][_0xf34b2a(0x2bc)](je))!=null?_0x35308c:gt);}[_0x30a490(0x3b0)](){var _0x24717e=_0x30a490;this[_0x24717e(0x3b5)]&&(clearTimeout(this[_0x24717e(0x3b5)]),this['_collaborationTimeoutTimer']=null);}[_0x30a490(0x268)](_0x5311f5){var _0x1cdaf1=_0x30a490;if(!this[_0x1cdaf1(0x4a1)])return;const {data:_0x39cecb}=_0x5311f5,{unitID:_0x282086,changeset:_0x3f95db}=_0x39cecb,{mutations:_0x53ee44,type:_0x4638e3}=_0x3f95db;this[_0x1cdaf1(0x2a2)]={'unitId':_0x282086,'type':_0x4638e3,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':ti(_0x53ee44)};}[_0x30a490(0x37d)](){var _0x5e4516=_0x30a490;if(this[_0x5e4516(0x4a1)]){if(!this[_0x5e4516(0x2a2)]){this[_0x5e4516(0x39c)][_0x5e4516(0x29c)](_0x5e4516(0x296),_0x5e4516(0x3e8));return;}this[_0x5e4516(0x2a2)][_0x5e4516(0x3f7)]=performance['now'](),this[_0x5e4516(0x2a2)][_0x5e4516(0x279)]=this['_telemetryInfo'][_0x5e4516(0x3f7)]-this[_0x5e4516(0x2a2)][_0x5e4516(0x281)],this[_0x5e4516(0x282)][_0x5e4516(0x22c)](ei,this[_0x5e4516(0x2a2)]),this[_0x5e4516(0x2a2)]=null;}}[_0x30a490(0x2b1)](){var _0x5cf934=_0x30a490;this[_0x5cf934(0x2a2)]=null;}},exports[_0x30a490(0x210)]=oi([oe(0x2,a[_0x30a490(0x2c8)]),oe(0x3,a[_0x30a490(0x2cf)]),oe(0x4,a[_0x30a490(0x3af)](a[_0x30a490(0x327)])),oe(0x5,a[_0x30a490(0x3af)](exports[_0x30a490(0x21e)])),oe(0x6,a[_0x30a490(0x3af)](Be)),oe(0x7,a[_0x30a490(0x3af)](te)),oe(0x8,a[_0x30a490(0x342)](Mt[_0x30a490(0x189)]))],exports['CollaborationSession']);var ai=Object[_0x30a490(0x2c2)],ci=(_0x41a57f,_0x3fd72d,_0x2e6ad8,_0x51aa6b)=>{for(var _0x1c67f0=_0x51aa6b>0x1?void 0x0:_0x51aa6b?ai(_0x3fd72d,_0x2e6ad8):_0x3fd72d,_0x336174=_0x41a57f['length']-0x1,_0x102210;_0x336174>=0x0;_0x336174--)(_0x102210=_0x41a57f[_0x336174])&&(_0x1c67f0=_0x102210(_0x1c67f0)||_0x1c67f0);return _0x1c67f0;},le=(_0x5f5904,_0xec076)=>(_0x3fa82b,_0x53a43d)=>_0xec076(_0x3fa82b,_0x53a43d,_0x5f5904);exports[_0x30a490(0x2fe)]=class extends a[_0x30a490(0x45b)]{constructor(_0xcf4d6f,_0x3a9398,_0x264520,_0x3fa21c,_0x1f061e,_0x39125f){var _0x4dc097=_0x30a490;super(),A(this,'_socket$',new j[(_0x4dc097(0x1b6))](void 0x0)),A(this,_0x4dc097(0x325),this[_0x4dc097(0x372)]['asObservable']()),A(this,_0x4dc097(0x267),null),A(this,_0x4dc097(0x441),new Map()),A(this,_0x4dc097(0x24e),new j[(_0x4dc097(0x1b6))](se[_0x4dc097(0x21b)])),A(this,_0x4dc097(0x40c),this[_0x4dc097(0x24e)][_0x4dc097(0x1f3)]()),A(this,'_socketReady',!0x1),A(this,_0x4dc097(0x3df)),A(this,_0x4dc097(0x26c),0x0),A(this,_0x4dc097(0x48f)),A(this,'_timeoutTimer'),(this['_injector']=_0xcf4d6f,this[_0x4dc097(0x39c)]=_0x3a9398,this[_0x4dc097(0x42f)]=_0x264520,this['_socketService']=_0x3fa21c,this['_collaborationUIEventService']=_0x1f061e,this[_0x4dc097(0x379)]=_0x39125f,this[_0x4dc097(0x1bc)]());}get[_0x30a490(0x30d)](){var _0x44b8a8=_0x30a490;return this['_socket$'][_0x44b8a8(0x195)]();}[_0x30a490(0x1bc)](){var _0x5725a1=_0x30a490;this[_0x5725a1(0x379)]&&this[_0x5725a1(0x3f2)](this['_networkConditionService']['online$']['subscribe'](_0x2374ac=>{var _0x45a16c=_0x5725a1;_0x2374ac&&!this[_0x45a16c(0x30d)]&&this['reconnect'](),_0x2374ac||this[_0x45a16c(0x3a1)]();}));}['dispose'](){var _0x2c2a03=_0x30a490;super[_0x2c2a03(0x4aa)](),this[_0x2c2a03(0x23c)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x2c2a03(0x441)][_0x2c2a03(0x236)](_0x147150=>_0x147150[_0x2c2a03(0x4aa)]()),this[_0x2c2a03(0x441)][_0x2c2a03(0x1cd)](),this[_0x2c2a03(0x24e)]['complete']();}async[_0x30a490(0x46d)](_0xe3225){var _0x40171c=_0x30a490;if(this[_0x40171c(0x441)][_0x40171c(0x225)](_0xe3225))return this[_0x40171c(0x441)][_0x40171c(0x31a)](_0xe3225);this[_0x40171c(0x30c)]();const _0x4b4959=this[_0x40171c(0x44a)][_0x40171c(0x1d3)](exports[_0x40171c(0x210)],_0xe3225,this[_0x40171c(0x372)][_0x40171c(0x1f3)]());return this[_0x40171c(0x441)][_0x40171c(0x4a6)](_0xe3225,_0x4b4959),_0x4b4959;}[_0x30a490(0x437)](_0x4f33cd){var _0x8db574=_0x30a490,_0x22ddb0;const _0x2e08d6=this[_0x8db574(0x441)][_0x8db574(0x31a)](_0x4f33cd);_0x2e08d6&&(this[_0x8db574(0x441)][_0x8db574(0x2b4)](_0x4f33cd),_0x2e08d6[_0x8db574(0x41c)]()),this[_0x8db574(0x441)][_0x8db574(0x4af)]||(_0x22ddb0=this[_0x8db574(0x30d)])==null||_0x22ddb0[_0x8db574(0x41c)]();}[_0x30a490(0x43e)](){var _0x50ffa2=_0x30a490;this[_0x50ffa2(0x26c)]=0x0,this[_0x50ffa2(0x23c)](),this[_0x50ffa2(0x191)]();}[_0x30a490(0x23c)](){var _0x488a6e=_0x30a490;this[_0x488a6e(0x3df)]!=null&&(clearTimeout(this[_0x488a6e(0x3df)]),this[_0x488a6e(0x3df)]=null);}async[_0x30a490(0x4b1)](){var _0x1616cf=_0x30a490,_0x1f1afb,_0x1543f6;const _0x57abf3=this['_configService'][_0x1616cf(0x2bc)](St),_0x214ad8=this[_0x1616cf(0x42f)][_0x1616cf(0x2bc)](Y),_0xefe55a=(_0x1543f6=(_0x1f1afb=_0x214ad8==null?void 0x0:_0x214ad8['collabWebSocketUrl'])!=null?_0x1f1afb:_0x57abf3)!=null?_0x1543f6:ft,_0x51c647=await this['_socketService'][_0x1616cf(0x38a)](_0xefe55a);return this[_0x1616cf(0x267)]=_0x51c647,_0x51c647;}async['_tryEnsureSocket'](){var _0x1085a3=_0x30a490,_0x544044,_0x1b50ff;try{const _0x52f888=(_0x1b50ff=(_0x544044=this['_socket'])!=null?_0x544044:this['_candidateSocket'])!=null?_0x1b50ff:await this['_createSocket']();if(_0x52f888){const _0x138c80=_0x52f888[_0x1085a3(0x43d)];_0x52f888[_0x1085a3(0x43d)]=_0x505856=>(this[_0x1085a3(0x498)](),_0x138c80[_0x1085a3(0x254)](_0x52f888,[_0x505856])),_0x52f888[_0x1085a3(0x3dd)][_0x1085a3(0x2d4)](_0xa1d5fc=>this[_0x1085a3(0x46c)](_0x52f888,_0xa1d5fc)),_0x52f888[_0x1085a3(0x2c5)][_0x1085a3(0x286)](V[_0x1085a3(0x45d)](0x1))['subscribe'](_0x103938=>this[_0x1085a3(0x39c)][_0x1085a3(0x29c)](_0x1085a3(0x2cc),_0x103938)),_0x52f888[_0x1085a3(0x38f)][_0x1085a3(0x286)](V[_0x1085a3(0x45d)](0x1))[_0x1085a3(0x2d4)](()=>{var _0x1c39f9=_0x1085a3;this[_0x1c39f9(0x3a6)](_0x52f888);}),_0x52f888[_0x1085a3(0x442)][_0x1085a3(0x286)](V[_0x1085a3(0x45d)](0x1))[_0x1085a3(0x2d4)](_0x14c67f=>{var _0x5c81fa=_0x1085a3;this[_0x5c81fa(0x39c)]['debug'](_0x5c81fa(0x486),_0x5c81fa(0x1a7),_0x14c67f),this[_0x5c81fa(0x409)]();});}}catch(_0x43f86f){this[_0x1085a3(0x39c)][_0x1085a3(0x29c)](_0x43f86f),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x4159ee){var _0x15baed=_0x30a490;this[_0x15baed(0x39c)]['debug'](_0x15baed(0x486),'socket\x20open.'),_0x4159ee[_0x15baed(0x43d)]({'cmd':W[_0x15baed(0x2c4)]}),this[_0x15baed(0x498)]();}[_0x30a490(0x3a1)](){var _0x388918=_0x30a490;this[_0x388918(0x464)]=!0x1,this[_0x388918(0x267)]=null,this[_0x388918(0x24e)][_0x388918(0x18d)](se[_0x388918(0x4ae)]),this['_socket$'][_0x388918(0x18d)](null),this['_clearTimeoutTimer'](),this[_0x388918(0x23f)]();}[_0x30a490(0x409)](){var _0x1478d5=_0x30a490,_0x598281;this['_onOffline'](),this[_0x1478d5(0x26c)]<((_0x598281=this[_0x1478d5(0x42f)][_0x1478d5(0x2bc)](mt))!=null?_0x598281:Vt)?(this[_0x1478d5(0x2a5)]['emitEvent']({'id':Q[_0x1478d5(0x275)]}),this[_0x1478d5(0x191)]()):this[_0x1478d5(0x2a5)][_0x1478d5(0x16c)]({'id':Q[_0x1478d5(0x1ab)]});}[_0x30a490(0x191)](){var _0xd0b846=_0x30a490,_0x44226a;const _0x5711f9=this[_0xd0b846(0x26c)],_0x1766f2=this[_0xd0b846(0x42f)]['getConfig'](Y),_0x2f3423=_0x5711f9===0x0?0x0:((_0x44226a=_0x1766f2==null?void 0x0:_0x1766f2[_0xd0b846(0x3ff)])!=null?_0x44226a:Ft)*0x2**_0x5711f9;this[_0xd0b846(0x3df)]=setTimeout(()=>{var _0xcb146d=_0xd0b846;clearTimeout(this[_0xcb146d(0x3df)]),this['_retryConnectingTimer']=null,this[_0xcb146d(0x30c)]();},_0x2f3423),this[_0xd0b846(0x26c)]+=0x1;}[_0x30a490(0x46c)](_0xb3fa7f,_0x48349a){var _0x44fd53=_0x30a490;const {cmd:_0x21f970}=_0x48349a;_0x21f970===W[_0x44fd53(0x2c4)]&&!this[_0x44fd53(0x464)]&&(_0xb3fa7f[_0x44fd53(0x3e5)]=_0x48349a[_0x44fd53(0x3fa)]['memberID'],this[_0x44fd53(0x372)]['next'](_0xb3fa7f),this[_0x44fd53(0x24e)][_0x44fd53(0x18d)](se[_0x44fd53(0x265)]),this[_0x44fd53(0x464)]=!0x0,this[_0x44fd53(0x267)]=null),_0x21f970===W[_0x44fd53(0x3bc)]&&this['_clearTimeoutTimer'](),this[_0x44fd53(0x498)]();}[_0x30a490(0x498)](){var _0x27d9ce=_0x30a490,_0xede663;this[_0x27d9ce(0x23f)](),this[_0x27d9ce(0x48f)]=setTimeout(()=>this[_0x27d9ce(0x49f)](),(_0xede663=this[_0x27d9ce(0x42f)][_0x27d9ce(0x2bc)](pt))!=null?_0xede663:Bt);}['_sendHeartbeat'](){var _0x1cff7a=_0x30a490;this[_0x1cff7a(0x30d)][_0x1cff7a(0x43d)]({'cmd':W[_0x1cff7a(0x3bc)]}),this[_0x1cff7a(0x4b5)]();}['_waitForHeartbeatResponse'](){var _0x3e21bc=_0x30a490,_0x1a0cb3;this[_0x3e21bc(0x373)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x1a0cb3=this[_0x3e21bc(0x42f)]['getConfig'](je))!=null?_0x1a0cb3:gt);}[_0x30a490(0x23f)](){var _0x58b4a1=_0x30a490;this[_0x58b4a1(0x48f)]!=null&&(clearTimeout(this[_0x58b4a1(0x48f)]),this['_sendHeartbeatTimer']=null);}[_0x30a490(0x36e)](){var _0x4d23b2=_0x30a490;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4d23b2(0x373)]=null);}},exports['CollaborationSessionService']=ci([le(0x0,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),le(0x1,a[_0x30a490(0x2c8)]),le(0x2,a[_0x30a490(0x2cf)]),le(0x3,$e),le(0x4,a[_0x30a490(0x3af)](te)),le(0x5,a[_0x30a490(0x342)](bt))],exports['CollaborationSessionService']);const G=[];for(let n=0x0;n<0x100;++n)G[_0x30a490(0x2ab)]((n+0x100)[_0x30a490(0x475)](0x10)[_0x30a490(0x322)](0x1));function hi(_0x446ec8,_0xccfcf0=0x0){return(G[_0x446ec8[_0xccfcf0+0x0]]+G[_0x446ec8[_0xccfcf0+0x1]]+G[_0x446ec8[_0xccfcf0+0x2]]+G[_0x446ec8[_0xccfcf0+0x3]]+'-'+G[_0x446ec8[_0xccfcf0+0x4]]+G[_0x446ec8[_0xccfcf0+0x5]]+'-'+G[_0x446ec8[_0xccfcf0+0x6]]+G[_0x446ec8[_0xccfcf0+0x7]]+'-'+G[_0x446ec8[_0xccfcf0+0x8]]+G[_0x446ec8[_0xccfcf0+0x9]]+'-'+G[_0x446ec8[_0xccfcf0+0xa]]+G[_0x446ec8[_0xccfcf0+0xb]]+G[_0x446ec8[_0xccfcf0+0xc]]+G[_0x446ec8[_0xccfcf0+0xd]]+G[_0x446ec8[_0xccfcf0+0xe]]+G[_0x446ec8[_0xccfcf0+0xf]])['toLowerCase']();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x3ff492=_0x30a490;if(!Ue){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x3ff492(0x244));Ue=crypto[_0x3ff492(0x180)][_0x3ff492(0x1fb)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x30a490(0x1c0)]&&crypto[_0x30a490(0x1c0)]['bind'](crypto),qe={'randomUUID':ui};function di(_0x1d3971,_0x345d36,_0x2ed0bf){var _0x56e2b3=_0x30a490,_0x295656,_0x2d2b9b,_0x5108c5;if(qe[_0x56e2b3(0x1c0)]&&!_0x1d3971)return qe['randomUUID']();_0x1d3971=_0x1d3971||{};const _0x484f8b=(_0x5108c5=(_0x2d2b9b=_0x1d3971[_0x56e2b3(0x375)])!=null?_0x2d2b9b:(_0x295656=_0x1d3971[_0x56e2b3(0x39f)])==null?void 0x0:_0x295656[_0x56e2b3(0x356)](_0x1d3971))!=null?_0x5108c5:_i();if(_0x484f8b[_0x56e2b3(0x31c)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x484f8b[0x6]=_0x484f8b[0x6]&0xf|0x40,_0x484f8b[0x8]=_0x484f8b[0x8]&0x3f|0x80,hi(_0x484f8b);}const z=a['createIdentifier'](_0x30a490(0x18f));function vi(_0x43047e){var _0x364772=_0x30a490;return _0x364772(0x446)+_0x43047e;}var Si=Object['getOwnPropertyDescriptor'],fi=(_0x50599e,_0x31960e,_0x2ae94b,_0x5e95b2)=>{var _0x5c92b0=_0x30a490;for(var _0x454452=_0x5e95b2>0x1?void 0x0:_0x5e95b2?Si(_0x31960e,_0x2ae94b):_0x31960e,_0x3e83c5=_0x50599e[_0x5c92b0(0x31c)]-0x1,_0x6734cd;_0x3e83c5>=0x0;_0x3e83c5--)(_0x6734cd=_0x50599e[_0x3e83c5])&&(_0x454452=_0x6734cd(_0x454452)||_0x454452);return _0x454452;},Ae=(_0x5f391c,_0x139d0d)=>(_0xdb260,_0x33ef87)=>_0x139d0d(_0xdb260,_0x33ef87,_0x5f391c);function pi(_0x49988a){var _0x13d639=_0x30a490;const {unitID:_0x25bd19,mutations:_0x2bd7d8}=_0x49988a;return{'unitId':_0x25bd19,'subUnitId':_0x2bd7d8[0x0]['params'][_0x13d639(0x3a8)]};}exports[_0x30a490(0x47e)]=class{constructor(_0x591593,_0x23ec18,_0x4f39d8){var _0x3c9252=_0x30a490;this[_0x3c9252(0x44a)]=_0x591593,this[_0x3c9252(0x3e6)]=_0x23ec18,this[_0x3c9252(0x1d8)]=_0x4f39d8;}['transformSelections'](_0x3636ce){var _0x42f4a5=_0x30a490,_0x26ca07,_0x4b522e,_0x16f7e1,_0x305282;const _0x3e2ff6=this[_0x42f4a5(0x44a)][_0x42f4a5(0x31a)](Z[_0x42f4a5(0x19a)]),{unitId:_0xf5a5b6,subUnitId:_0x13409f}=pi(_0x3636ce),_0x1b50ed=_0x3e2ff6==null?void 0x0:_0x3e2ff6[_0x42f4a5(0x34c)](_0xf5a5b6)['getCurrentSelections'](),_0x2765b6=(_0x4b522e=(_0x26ca07=this[_0x42f4a5(0x1d8)][_0x42f4a5(0x28b)](_0xf5a5b6))==null?void 0x0:_0x26ca07[_0x42f4a5(0x2f0)]())==null?void 0x0:_0x4b522e['getSheetId']();if(_0x1b50ed[_0x42f4a5(0x31c)]===0x0||!_0xf5a5b6||!_0x13409f)return;const _0xa8bedd=[{'id':Z[_0x42f4a5(0x4c8)]['id'],'params':{'unitId':_0xf5a5b6,'subUnitId':_0x2765b6,'selections':a[_0x42f4a5(0x48e)][_0x42f4a5(0x2aa)](_0x1b50ed)}}],_0x56a7ac=this[_0x42f4a5(0x3e6)]['transformMutationsWithChangeset'](_0x3636ce,_0xa8bedd);if(!g['isTransformMutationsWithChangesetSuccess'](_0x56a7ac))throw _0x56a7ac[_0x42f4a5(0x29c)];const _0x22d340=(_0x305282=(_0x16f7e1=_0x56a7ac['m2Prime'][0x0])==null?void 0x0:_0x16f7e1['params'])==null?void 0x0:_0x305282[_0x42f4a5(0x169)];if(Array[_0x42f4a5(0x4b6)](_0x22d340)&&_0x22d340[_0x42f4a5(0x31c)]){if(_0x22d340[_0x42f4a5(0x31c)]===_0xa8bedd[0x0][_0x42f4a5(0x26e)]['selections'][_0x42f4a5(0x31c)]&&_0x22d340[_0x42f4a5(0x181)]((_0x42818d,_0x3acbc6)=>a['Rectangle'][_0x42f4a5(0x16a)](_0x42818d['range'],_0xa8bedd[0x0]['params']['selections'][_0x3acbc6][_0x42f4a5(0x27a)])))return;this[_0x42f4a5(0x44a)][_0x42f4a5(0x31a)](a[_0x42f4a5(0x3bb)])[_0x42f4a5(0x34f)](Z[_0x42f4a5(0x4c8)]['id'],{'unitId':_0xf5a5b6,'subUnitId':_0x2765b6,'selections':_0x22d340});}}},exports[_0x30a490(0x47e)]=fi([Ae(0x0,a['Inject'](a[_0x30a490(0x453)])),Ae(0x1,g[_0x30a490(0x41d)]),Ae(0x2,a[_0x30a490(0x2f7)])],exports[_0x30a490(0x47e)]);const ve=a[_0x30a490(0x3c8)](_0x30a490(0x220));var Fe=(_0x293864=>(_0x293864[_0x293864[_0x30a490(0x494)]=0x0]=_0x30a490(0x494),_0x293864[_0x293864[_0x30a490(0x1e1)]=0x1]=_0x30a490(0x1e1),_0x293864))(Fe||{});const gi=new Set([Z[_0x30a490(0x17f)]['id']]);function ze(_0x47dce7,_0x168e1d,_0x57f08b,_0xb4f041,_0x3a28a2){var _0x32ac70=_0x30a490,_0x12f2cb,_0x426ea9,_0x2c83d8,_0x5bd4a9;const _0xe388e9=[];for(const _0x2a9001 of _0x47dce7)if(gi[_0x32ac70(0x225)](_0x2a9001['id'])){if(_0xe388e9['length']>0x0)break;_0xe388e9[_0x32ac70(0x2ab)](_0x2a9001);break;}else _0xe388e9[_0x32ac70(0x2ab)](_0x2a9001);const _0x5a3454=(_0x426ea9=(_0x12f2cb=_0x3a28a2[_0x32ac70(0x37a)]())==null?void 0x0:_0x12f2cb[_0x32ac70(0x288)])!=null?_0x426ea9:_0x32ac70(0x188),_0x2dbbc2=(_0x5bd4a9=(_0x2c83d8=_0x3a28a2[_0x32ac70(0x37a)]())==null?void 0x0:_0x2c83d8[_0x32ac70(0x3e5)])!=null?_0x5bd4a9:_0x32ac70(0x188);return{'changeset':{'unitID':_0x168e1d,'type':g[_0x32ac70(0x3fb)](_0x57f08b['getUnitType'](_0x168e1d)),'baseRev':_0xb4f041[_0x32ac70(0x1aa)](_0x168e1d),'revision':0x0,'userID':_0x5a3454,'memberID':_0x2dbbc2,'mutations':_0xe388e9},'pendingMutations':_0x47dce7[_0x32ac70(0x322)](_0xe388e9[_0x32ac70(0x31c)])};}function mi(_0x3970e6,_0x1e413e,_0x32b16e,_0x252a78,_0x2cd5c7){var _0x5ee6fb=_0x30a490,_0x56f135,_0xd8a846,_0x563177,_0x232dce;const _0x2f1164=[_0x3970e6[_0x5ee6fb(0x32d)]((_0x41096f,_0x186939)=>{var _0x104f61=_0x5ee6fb,_0x5f141d;const {id:_0x4db80e}=_0x41096f,{id:_0x7e66c8,type:_0x137680}=_0x186939,_0x16f7f2=(_0x5f141d=_0x41096f[_0x104f61(0x26e)])!=null?_0x5f141d:{'actions':null},_0x361d6d=_0x186939[_0x104f61(0x26e)];if(_0x4db80e&&_0x4db80e!==_0x7e66c8)throw new Error(_0x104f61(0x27e)+_0x4db80e+_0x104f61(0x17b)+_0x7e66c8+'.');return{..._0x41096f,'id':_0x7e66c8,'type':_0x137680,'params':{'unitId':_0x361d6d['unitId'],'textRanges':_0x361d6d['textRanges'],'actions':a[_0x104f61(0x3cd)][_0x104f61(0x273)](_0x16f7f2[_0x104f61(0x428)],_0x361d6d[_0x104f61(0x428)])}};},{})],_0x2474d2=(_0xd8a846=(_0x56f135=_0x2cd5c7['getCurrentUser']())==null?void 0x0:_0x56f135[_0x5ee6fb(0x288)])!=null?_0xd8a846:_0x5ee6fb(0x188),_0x1b28bc=(_0x232dce=(_0x563177=_0x2cd5c7[_0x5ee6fb(0x37a)]())==null?void 0x0:_0x563177['memberID'])!=null?_0x232dce:_0x5ee6fb(0x188);return{'changeset':{'unitID':_0x1e413e,'type':g['mapDocumentTypeToUniverType'](_0x32b16e[_0x5ee6fb(0x1a0)](_0x1e413e)),'baseRev':_0x252a78['getCurrentRevOfUnit'](_0x1e413e),'revision':0x0,'userID':_0x2474d2,'memberID':_0x1b28bc,'mutations':_0x2f1164},'pendingMutations':[]};}function Ot(_0x4a0e2f,_0x2467d0){var _0x4e342c=_0x30a490;const _0xc0cab2=new j[(_0x4e342c(0x1b3))](0x1);return setTimeout(()=>_0xc0cab2['next'](_0x2467d0),_0x4a0e2f),_0xc0cab2[_0x4e342c(0x1f3)]()[_0x4e342c(0x286)](j[_0x4e342c(0x45d)](0x1));}const Ii={'id':Z['EmptyMutation']['id'],'type':a[_0x30a490(0x2e9)][_0x30a490(0x308)],'params':{}};var Ei=Object['getOwnPropertyDescriptor'],ce=(_0x24186c,_0x5f5cdd,_0xd0b168,_0x2d884c)=>{var _0x3b716e=_0x30a490;for(var _0x5bb485=_0x2d884c>0x1?void 0x0:_0x2d884c?Ei(_0x5f5cdd,_0xd0b168):_0x5f5cdd,_0x520cb7=_0x24186c[_0x3b716e(0x31c)]-0x1,_0x4c0f68;_0x520cb7>=0x0;_0x520cb7--)(_0x4c0f68=_0x24186c[_0x520cb7])&&(_0x5bb485=_0x4c0f68(_0x5bb485)||_0x5bb485);return _0x5bb485;},w=(_0x5b123a,_0x3a7ffc)=>(_0x1cf7a6,_0x11cb0d)=>_0x3a7ffc(_0x1cf7a6,_0x11cb0d,_0x5b123a),Ve=(_0x24c685=>(_0x24c685[_0x30a490(0x242)]=_0x30a490(0x2e0),_0x24c685[_0x30a490(0x1c6)]=_0x30a490(0x47b),_0x24c685[_0x30a490(0x411)]=_0x30a490(0x2c0),_0x24c685[_0x30a490(0x2dc)]=_0x30a490(0x255),_0x24c685[_0x30a490(0x48a)]='awaiting_with_pending',_0x24c685[_0x30a490(0x194)]=_0x30a490(0x388),_0x24c685[_0x30a490(0x427)]=_0x30a490(0x343),_0x24c685['OFFLINE']=_0x30a490(0x2a1),_0x24c685))(Ve||{});const Nt=0xea60;class he{constructor(_0x2780e8,_0x22ff62,_0x25e662,_0x48e8fa,_0x7a8a32,_0x1121d1,_0x3cd10f,_0x2dffc1,_0x4a4032){var _0x571f27=_0x30a490;A(this,_0x571f27(0x328),null),A(this,_0x571f27(0x30f),[]),(this[_0x571f27(0x272)]=_0x2780e8,this[_0x571f27(0x299)]=_0x22ff62,this[_0x571f27(0x309)]=_0x7a8a32,this[_0x571f27(0x33d)]=_0x1121d1,this[_0x571f27(0x4c0)]=_0x3cd10f,this[_0x571f27(0x45c)]=_0x2dffc1,this[_0x571f27(0x1a3)]=_0x4a4032,this[_0x571f27(0x328)]=_0x25e662,this[_0x571f27(0x30f)]=_0x48e8fa);}[_0x30a490(0x4c6)](_0x2d6776){var _0x2e1b0c=_0x30a490;const _0x2990af=this[_0x2e1b0c(0x45c)][_0x2e1b0c(0x1aa)](this[_0x2e1b0c(0x272)]);return _0x2d6776[_0x2e1b0c(0x493)]>_0x2990af+0x1?(this['_handler'][_0x2e1b0c(0x358)]({'from':_0x2990af,'to':_0x2d6776[_0x2e1b0c(0x493)]-0x1}),!0x0):!0x1;}[_0x30a490(0x175)](_0x5494dc){var _0xbbfd5e=_0x30a490;this[_0xbbfd5e(0x4c0)][_0xbbfd5e(0x1d6)](this[_0xbbfd5e(0x272)],_0x5494dc);}[_0x30a490(0x472)](_0x394f14){var _0x40c7ca=_0x30a490,_0x5f3b4d,_0x34ce8d;(_0x34ce8d=(_0x5f3b4d=this[_0x40c7ca(0x309)])[_0x40c7ca(0x234)])==null||_0x34ce8d[_0x40c7ca(0x356)](_0x5f3b4d,_0x394f14);}['_transformIMECache'](_0x46a0a1){var _0x13c949=_0x30a490,_0x4a1d40,_0x131ebf;return(_0x131ebf=(_0x4a1d40=this['_handler'])[_0x13c949(0x4c4)])==null?void 0x0:_0x131ebf[_0x13c949(0x356)](_0x4a1d40,_0x46a0a1);}[_0x30a490(0x337)](_0x13c433){var _0x36e7ac=_0x30a490,_0x571241,_0x49bc05;return(_0x49bc05=(_0x571241=this[_0x36e7ac(0x309)])[_0x36e7ac(0x3f4)])==null?void 0x0:_0x49bc05[_0x36e7ac(0x356)](_0x571241,_0x13c433);}[_0x30a490(0x31f)](_0x147a17){var _0x5f1453=_0x30a490,_0x5d088a,_0x15d431,_0x296011;return(_0x296011=(_0x15d431=(_0x5d088a=this[_0x5f1453(0x309)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x15d431[_0x5f1453(0x356)](_0x5d088a,_0x147a17))!=null?_0x296011:_0x147a17;}['_transformRemoteChangesetByStateCache'](_0x3a556b){var _0x5ab164=_0x30a490,_0x47b96a,_0x4c2e26,_0x3cbf89;return(_0x3cbf89=(_0x4c2e26=(_0x47b96a=this[_0x5ab164(0x309)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4c2e26[_0x5ab164(0x356)](_0x47b96a,_0x3a556b))!=null?_0x3cbf89:_0x3a556b;}[_0x30a490(0x4b8)](_0x503605){var _0x16e763=_0x30a490,_0xafd580,_0x40799e;if(this[_0x16e763(0x299)]===X['UNIVER_DOC']){const {unitID:_0x2bd7d6,mutations:_0xff644f,memberID:_0x1f01e1}=_0x503605,_0x1542bb=_0xff644f[0x0][_0x16e763(0x26e)]['textRanges'];Array[_0x16e763(0x4b6)](_0x1542bb)&&_0x1542bb['length']>0x0&&((_0x40799e=(_0xafd580=this[_0x16e763(0x309)])[_0x16e763(0x31b)])==null||_0x40799e[_0x16e763(0x356)](_0xafd580,{'unitID':_0x2bd7d6,'memberID':_0x1f01e1,'textRanges':_0x1542bb}));}}['_updateLocalCache'](){var _0xc7f646=_0x30a490,_0xcb3e2;(_0xcb3e2=this[_0xc7f646(0x1a3)])==null||_0xcb3e2[_0xc7f646(0x1b4)](this[_0xc7f646(0x272)],this[_0xc7f646(0x299)],this[_0xc7f646(0x328)],this[_0xc7f646(0x30f)]);}[_0x30a490(0x39b)](){var _0x5b9df5=_0x30a490;return this[_0x5b9df5(0x45c)][_0x5b9df5(0x1aa)](this['unitID']);}[_0x30a490(0x487)](){var _0x595865=_0x30a490;this[_0x595865(0x45c)]['incrementRevOfUnit'](this[_0x595865(0x272)]);}['_executeRemoteChangeset'](_0x162683){var _0x237326=_0x30a490,_0x54b57d;let _0x3668b7=this[_0x237326(0x31f)](_0x162683);_0x3668b7=this[_0x237326(0x3d7)](_0x3668b7);const _0x54cee6=a[_0x237326(0x3f8)](_0x3668b7[_0x237326(0x20e)],this[_0x237326(0x33d)],{'fromCollab':!0x0});if(!_0x54cee6[_0x237326(0x425)])throw _0x54cee6['error']instanceof Error?_0x54cee6[_0x237326(0x29c)]:new Error((_0x54b57d=_0x54cee6['error'])!=null?_0x54b57d:_0x237326(0x406));this[_0x237326(0x2a6)](_0x3668b7),this[_0x237326(0x337)](_0x3668b7),this[_0x237326(0x175)](_0x162683),this[_0x237326(0x472)](_0x3668b7),this[_0x237326(0x4b8)](_0x3668b7),this[_0x237326(0x487)]();}}exports[_0x30a490(0x1de)]=class extends he{constructor(_0x1ca2f1,_0x296048,_0x5e7e23,_0x56a994,_0x26eef8,_0x3930ff,_0xe9a863,_0x28719d,_0x473824,_0xb35f77){var _0x4f226e=_0x30a490;super(_0x1ca2f1,_0x296048,null,[],_0x5e7e23,_0xe9a863,_0x3930ff,_0x56a994,_0xb35f77),A(this,_0x4f226e(0x2fc),_0x4f226e(0x47b)),(this['_injector']=_0x26eef8,this[_0x4f226e(0x39c)]=_0x28719d,this[_0x4f226e(0x3e6)]=_0x473824,this[_0x4f226e(0x20a)]=_0xb35f77);}[_0x30a490(0x2bf)](_0x448b06){var _0x1b16d8=_0x30a490;const _0x4e684b=this['_injector'][_0x1b16d8(0x1d3)](exports[_0x1b16d8(0x3ee)],this['unitID'],this[_0x1b16d8(0x299)],[_0x448b06],this[_0x1b16d8(0x309)]);return _0x4e684b['_schedule'](),_0x4e684b[_0x1b16d8(0x484)](),_0x4e684b;}[_0x30a490(0x357)](_0x3f9df4){var _0x4fa163=_0x30a490;if(this['_checkMissing'](_0x3f9df4))return this[_0x4fa163(0x44a)][_0x4fa163(0x1d3)](exports[_0x4fa163(0x3ba)],this['unitID'],this[_0x4fa163(0x299)],null,[],null,[_0x3f9df4],this[_0x4fa163(0x309)]);try{const _0x356c69=this[_0x4fa163(0x3e6)][_0x4fa163(0x394)](_0x3f9df4,[Ii]);if(g['isTransformMutationsWithChangesetSuccess'](_0x356c69)){const {c1Prime:_0x287e34}=_0x356c69;return this[_0x4fa163(0x35c)](_0x287e34),this;}throw _0x356c69[_0x4fa163(0x29c)];}catch(_0x1958b2){return this[_0x4fa163(0x39c)][_0x4fa163(0x29c)](_0x1958b2),this[_0x4fa163(0x4e1)](!0x1);}}[_0x30a490(0x4e1)](_0x56e5a8){var _0x2bf2f4=_0x30a490;return this[_0x2bf2f4(0x44a)][_0x2bf2f4(0x1d3)](exports['ConflictState'],this['unitID'],this['type'],null,[],this[_0x2bf2f4(0x309)],_0x56e5a8);}[_0x30a490(0x301)](){var _0x56117a=_0x30a490;throw new Error(_0x56117a(0x24a));}['onRemoteRej'](){var _0x388a89=_0x30a490;throw new Error(_0x388a89(0x226));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x51475e=_0x30a490;return this[_0x51475e(0x44a)][_0x51475e(0x1d3)](exports[_0x51475e(0x35e)],this['unitID'],this[_0x51475e(0x299)],null,[],this[_0x51475e(0x309)]);}[_0x30a490(0x18c)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x30a490(0x176)](){var _0xf412db=_0x30a490;const _0x353b67=this[_0xf412db(0x45c)][_0xf412db(0x1aa)](this[_0xf412db(0x272)]);return this[_0xf412db(0x309)][_0xf412db(0x358)]({'from':_0x353b67,'to':0x0}),this['_injector'][_0xf412db(0x1d3)](exports['FetchingMissState'],this['unitID'],this[_0xf412db(0x299)],null,[],null,[],this[_0xf412db(0x309)]);}},exports[_0x30a490(0x1de)]=ce([w(0x3,a[_0x30a490(0x3af)](g['RevisionService'])),w(0x4,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),w(0x5,a[_0x30a490(0x1eb)]),w(0x6,a[_0x30a490(0x3bb)]),w(0x7,a[_0x30a490(0x2c8)]),w(0x8,g['ITransformService']),w(0x9,a[_0x30a490(0x342)](z))],exports[_0x30a490(0x1de)]),exports[_0x30a490(0x3ee)]=class extends he{constructor(_0x4ef6d4,_0x495cfe,_0x10c6f6,_0x15ea4b,_0x47163b,_0x4ba2c4,_0x2384c8,_0x292f97,_0x4d28f7,_0x3cdae5,_0x29050b,_0xe14e77,_0xb80390,_0x4ab81d){var _0x303467=_0x30a490;super(_0x4ef6d4,_0x495cfe,null,_0x10c6f6,_0x15ea4b,_0x4d28f7,_0xb80390,_0x4ba2c4,_0x4ab81d),A(this,_0x303467(0x2fc),_0x303467(0x2c0)),A(this,_0x303467(0x25a),null),A(this,_0x303467(0x490),null),(this[_0x303467(0x44a)]=_0x47163b,this[_0x303467(0x27f)]=_0x2384c8,this[_0x303467(0x39c)]=_0x292f97,this['_configService']=_0x3cdae5,this[_0x303467(0x3e6)]=_0x29050b,this[_0x303467(0x32b)]=_0xe14e77);}['appendMutation'](_0x2a0816){var _0x574b52=_0x30a490;return this[_0x574b52(0x30f)]['push'](_0x2a0816),this['_updateLocalCache'](),this;}[_0x30a490(0x357)](_0x4ba363){var _0x225806=_0x30a490;if(this[_0x225806(0x4c6)](_0x4ba363))return this[_0x225806(0x27b)](),this[_0x225806(0x44a)]['createInstance'](exports[_0x225806(0x3ba)],this[_0x225806(0x272)],this[_0x225806(0x299)],null,this[_0x225806(0x30f)],null,[_0x4ba363],this[_0x225806(0x309)]);try{const _0x38d5d8=this[_0x225806(0x3e6)]['transformMutationsWithChangeset'](_0x4ba363,this['_pendingMutations']);if(g[_0x225806(0x21c)](_0x38d5d8)){const {c1Prime:_0x449b86,m2Prime:_0x439ae6}=_0x38d5d8;this['_executeRemoteChangeset'](_0x449b86);const _0x448a5e=this[_0x225806(0x44a)][_0x225806(0x1d3)](exports[_0x225806(0x3ee)],this[_0x225806(0x272)],this[_0x225806(0x299)],_0x439ae6,this['_handler']);this[_0x225806(0x27b)]();const _0x4f6bfa=new Date()[_0x225806(0x237)](),_0x2a4146=this[_0x225806(0x25a)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x4f6bfa,0x0):this[_0x225806(0x1b2)]();return _0x448a5e[_0x225806(0x2e7)](_0x2a4146),_0x448a5e;}throw _0x38d5d8[_0x225806(0x29c)];}catch(_0x5ec1b6){return this[_0x225806(0x39c)]['error'](_0x5ec1b6),this[_0x225806(0x4e1)](!0x1);}}[_0x30a490(0x301)](){var _0x64dd61=_0x30a490;throw new Error(_0x64dd61(0x1a8));}[_0x30a490(0x32e)](){var _0x174c24=_0x30a490;throw new Error(_0x174c24(0x2d7));}['onRemoteRetry'](){return this;}[_0x30a490(0x22a)](){var _0x2a0239=_0x30a490;return this[_0x2a0239(0x27b)](),this[_0x2a0239(0x44a)]['createInstance'](exports['OfflineState'],this['unitID'],this['type'],null,this[_0x2a0239(0x30f)],this[_0x2a0239(0x309)]);}['toggleOnline'](){return this;}[_0x30a490(0x2e7)](_0x10fc94){var _0x2be9e1=_0x30a490;const _0x2ac1e6=_0x10fc94!=null?_0x10fc94:this[_0x2be9e1(0x1b2)]();this[_0x2be9e1(0x25a)]=new Date()[_0x2be9e1(0x237)]()+_0x2ac1e6,this[_0x2be9e1(0x490)]=setTimeout(()=>{var _0x531847=_0x2be9e1;this[_0x531847(0x27b)]();let _0xa80cbe=null;switch(this[_0x531847(0x299)]){case X[_0x531847(0x2f3)]:{_0xa80cbe=ze(this['_pendingMutations'],this[_0x531847(0x272)],this['_univerInstanceService'],this[_0x531847(0x45c)],this[_0x531847(0x27f)]);break;}case X[_0x531847(0x204)]:{this[_0x531847(0x30f)][_0x531847(0x181)](_0x252263=>_0x252263['id']===ut[_0x531847(0x200)]['id'])?_0xa80cbe=mi(this[_0x531847(0x30f)],this['unitID'],this[_0x531847(0x32b)],this[_0x531847(0x45c)],this[_0x531847(0x27f)]):_0xa80cbe=ze(this[_0x531847(0x30f)],this[_0x531847(0x272)],this[_0x531847(0x32b)],this[_0x531847(0x45c)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x531847(0x299)]+_0x531847(0x16f));}const {changeset:_0x1b0bea,pendingMutations:_0x5e373c}=_0xa80cbe;this[_0x531847(0x309)][_0x531847(0x37e)](_0x1b0bea);const _0x59b597=_0x5e373c['length']?this[_0x531847(0x44a)]['createInstance'](exports[_0x531847(0x2ec)],this[_0x531847(0x272)],this[_0x531847(0x299)],_0x1b0bea,_0x5e373c,this['_handler'],void 0x0):this[_0x531847(0x44a)][_0x531847(0x1d3)](exports[_0x531847(0x23a)],this[_0x531847(0x272)],this[_0x531847(0x299)],_0x1b0bea,this[_0x531847(0x309)]);_0x59b597['_updateLocalCache'](),this[_0x531847(0x309)][_0x531847(0x398)](this,_0x59b597);},_0x2ac1e6);}[_0x30a490(0x1b2)](){var _0x6ba0e5=_0x30a490,_0x1447c7;const _0x24c31c=this[_0x6ba0e5(0x42f)][_0x6ba0e5(0x2bc)](Y);return(_0x1447c7=_0x24c31c==null?void 0x0:_0x24c31c[_0x6ba0e5(0x232)])!=null?_0x1447c7:jt;}['resend'](){var _0x395726=_0x30a490;throw new Error(_0x395726(0x271));}[_0x30a490(0x27b)](){var _0x4ae83f=_0x30a490;this[_0x4ae83f(0x490)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x4ae83f(0x490)]=null);}[_0x30a490(0x4e1)](_0x20fb57){var _0x415189=_0x30a490;return this[_0x415189(0x27b)](),this[_0x415189(0x44a)]['createInstance'](exports['ConflictState'],this[_0x415189(0x272)],this[_0x415189(0x299)],null,this[_0x415189(0x30f)],this[_0x415189(0x309)],_0x20fb57);}},exports['PendingState']=ce([w(0x4,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),w(0x5,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),w(0x6,a[_0x30a490(0x3af)](exports[_0x30a490(0x21e)])),w(0x7,a[_0x30a490(0x2c8)]),w(0x8,a['ICommandService']),w(0x9,a['IConfigService']),w(0xa,g[_0x30a490(0x41d)]),w(0xb,a[_0x30a490(0x2f7)]),w(0xc,a[_0x30a490(0x1eb)]),w(0xd,a[_0x30a490(0x342)](z))],exports[_0x30a490(0x3ee)]),exports[_0x30a490(0x23a)]=class extends he{constructor(_0x421203,_0x158488,_0x39e0e3,_0xeda419,_0x379a7a,_0x2e5623,_0x1e1402,_0x34e1ad,_0x58c5e6,_0x26b786,_0x468f29){var _0x1b6f18=_0x30a490;super(_0x421203,_0x158488,_0x39e0e3,[],_0xeda419,_0x1e1402,_0x26b786,_0x2e5623,_0x468f29),A(this,'status',_0x1b6f18(0x255)),A(this,_0x1b6f18(0x463),0x0),A(this,'_resendTimer'),A(this,_0x1b6f18(0x430)),(this[_0x1b6f18(0x44a)]=_0x379a7a,this['_logService']=_0x34e1ad,this[_0x1b6f18(0x3e6)]=_0x58c5e6);}[_0x30a490(0x2bf)](_0x5d5d08){var _0x4f64f5=_0x30a490;this[_0x4f64f5(0x27b)]();const _0x5b693a=this[_0x4f64f5(0x44a)][_0x4f64f5(0x1d3)](exports[_0x4f64f5(0x2ec)],this[_0x4f64f5(0x272)],this[_0x4f64f5(0x299)],this[_0x4f64f5(0x328)],[_0x5d5d08],this[_0x4f64f5(0x309)],this['_resendTimer']);return _0x5b693a[_0x4f64f5(0x484)](),_0x5b693a;}[_0x30a490(0x357)](_0x214ddd){var _0x3fa8e3=_0x30a490;if(this[_0x3fa8e3(0x4c6)](_0x214ddd))return this[_0x3fa8e3(0x27b)](),this['_injector'][_0x3fa8e3(0x1d3)](exports['FetchingMissState'],this['unitID'],this[_0x3fa8e3(0x299)],this['_awaitingChangeset'],[],null,[_0x214ddd],this[_0x3fa8e3(0x309)]);try{const _0x1ccfe5=this['_transformService'][_0x3fa8e3(0x4dd)]([_0x214ddd],[this['_awaitingChangeset']],!0x1);if(g[_0x3fa8e3(0x491)](_0x1ccfe5)){const {c1Prime:_0x55bcb3,c2Prime:_0x3b3b02}=_0x1ccfe5;this['_executeRemoteChangeset'](_0x55bcb3[0x0]),_0x3b3b02[0x0][_0x3fa8e3(0x3a5)]=this[_0x3fa8e3(0x39b)](),this[_0x3fa8e3(0x27b)]();const _0x494768=this[_0x3fa8e3(0x44a)]['createInstance'](exports[_0x3fa8e3(0x23a)],this[_0x3fa8e3(0x272)],this[_0x3fa8e3(0x299)],_0x3b3b02[0x0],this['_handler']);return _0x494768[_0x3fa8e3(0x484)](),_0x494768;}return this[_0x3fa8e3(0x4e1)](!0x1);}catch(_0x3731b5){return this[_0x3fa8e3(0x39c)][_0x3fa8e3(0x29c)](_0x3731b5),this[_0x3fa8e3(0x4e1)](!0x1);}}[_0x30a490(0x301)](_0x2bf7f4){var _0x19f51b=_0x30a490;this['_clearScheduledTask']();const _0x202939=this['_revisionService'][_0x19f51b(0x1aa)](this[_0x19f51b(0x272)]);if(_0x2bf7f4['revision']<_0x202939-0x1)return this;if(this[_0x19f51b(0x4c6)](_0x2bf7f4))return this['_injector'][_0x19f51b(0x1d3)](exports[_0x19f51b(0x3ba)],this[_0x19f51b(0x272)],this[_0x19f51b(0x299)],null,[],this[_0x19f51b(0x328)],[],this[_0x19f51b(0x309)]);this['_incrementRevisionNumber']();const _0x2f7c63=this[_0x19f51b(0x44a)][_0x19f51b(0x1d3)](exports[_0x19f51b(0x1de)],this[_0x19f51b(0x272)],this[_0x19f51b(0x299)],this[_0x19f51b(0x309)]);return _0x2f7c63[_0x19f51b(0x484)](),_0x2f7c63;}[_0x30a490(0x32e)](_0x3649ec){var _0x1a5737=_0x30a490;return this['_onConflict'](!!(_0x3649ec!=null&&_0x3649ec[_0x1a5737(0x367)]));}[_0x30a490(0x445)](_0x48598b){var _0x29076d=_0x30a490;return this['_resendTimeout']>Nt?this['toggleOffline']():(this[_0x29076d(0x312)]=Ot(this['_resendTimeout'],{'timeout':this[_0x29076d(0x463)],'reqId':_0x48598b[_0x29076d(0x24b)]}),this[_0x29076d(0x430)]=this[_0x29076d(0x312)][_0x29076d(0x2d4)](({reqId:_0x4e02fc,timeout:_0x2f3c01})=>{var _0x545a65=_0x29076d;this[_0x545a65(0x17a)](_0x4e02fc,_0x2f3c01);}),this);}[_0x30a490(0x22a)](){var _0x38726c=_0x30a490;return this[_0x38726c(0x27b)](),this[_0x38726c(0x44a)][_0x38726c(0x1d3)](exports[_0x38726c(0x35e)],this[_0x38726c(0x272)],this[_0x38726c(0x299)],this['_awaitingChangeset'],[],this[_0x38726c(0x309)]);}[_0x30a490(0x18c)](){return this;}[_0x30a490(0x310)](){var _0x17e5a1=_0x30a490;this[_0x17e5a1(0x309)][_0x17e5a1(0x37e)](this['_awaitingChangeset']);}[_0x30a490(0x4e1)](_0x86ce08){var _0x42e2a3=_0x30a490;return this[_0x42e2a3(0x27b)](),this[_0x42e2a3(0x44a)][_0x42e2a3(0x1d3)](exports[_0x42e2a3(0x41a)],this[_0x42e2a3(0x272)],this[_0x42e2a3(0x299)],this[_0x42e2a3(0x328)],[],this[_0x42e2a3(0x309)],_0x86ce08);}['_resendWithTimeout'](_0x5ee044,_0x1b63e7){var _0x1451fd=_0x30a490,_0x96d129;_0x5ee044===((_0x96d129=this[_0x1451fd(0x328)])==null?void 0x0:_0x96d129[_0x1451fd(0x24b)])&&(this[_0x1451fd(0x310)](),this['_resendTimeout']=_0x1b63e7===0x0?0x3e8:_0x1b63e7*0x2);}[_0x30a490(0x27b)](){var _0x32a17b=_0x30a490,_0x2f9c8d;(_0x2f9c8d=this['_sender'])==null||_0x2f9c8d[_0x32a17b(0x2ae)](),this['_resendTimeout']=0x0;}},exports[_0x30a490(0x23a)]=ce([w(0x4,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),w(0x5,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),w(0x6,a[_0x30a490(0x3bb)]),w(0x7,a['ILogService']),w(0x8,g['ITransformService']),w(0x9,a[_0x30a490(0x1eb)]),w(0xa,a[_0x30a490(0x342)](z))],exports[_0x30a490(0x23a)]),exports[_0x30a490(0x2ec)]=class extends he{constructor(_0x332756,_0x4e72f5,_0x5c2454,_0x4f28fb,_0x4541dd,_0x51ffb4,_0x2faabc,_0x67fa1f,_0x19c23d,_0x51396b,_0x195c19,_0x517879,_0x497329){var _0x390e50=_0x30a490;super(_0x332756,_0x4e72f5,_0x5c2454,_0x4f28fb,_0x4541dd,_0x19c23d,_0x517879,_0x67fa1f,_0x497329),A(this,_0x390e50(0x2fc),_0x390e50(0x2af)),A(this,_0x390e50(0x463),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x390e50(0x44a)]=_0x2faabc,this['_logService']=_0x51396b,this[_0x390e50(0x3e6)]=_0x195c19,this[_0x390e50(0x20a)]=_0x497329,_0x51ffb4&&(this[_0x390e50(0x312)]=_0x51ffb4,this[_0x390e50(0x430)]=this['_resendTimer'][_0x390e50(0x2d4)](({reqId:_0xa74654,timeout:_0x1209b0})=>{var _0x3497c6=_0x390e50;this[_0x3497c6(0x17a)](_0xa74654,_0x1209b0);})));}[_0x30a490(0x2bf)](_0x154dfe){var _0x56090e=_0x30a490;return this[_0x56090e(0x30f)][_0x56090e(0x2ab)](_0x154dfe),this;}[_0x30a490(0x357)](_0x46f9e4){var _0x186848=_0x30a490;if(this[_0x186848(0x4c6)](_0x46f9e4))return this['_clearScheduledTask'](),this[_0x186848(0x44a)]['createInstance'](exports[_0x186848(0x3ba)],this[_0x186848(0x272)],this[_0x186848(0x299)],this[_0x186848(0x328)],this['_pendingMutations'],null,[_0x46f9e4],this[_0x186848(0x309)]);try{const _0x352797=this['_transformService'][_0x186848(0x4dd)]([_0x46f9e4],[this[_0x186848(0x328)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x352797)){const {c1Prime:_0x24b658,c2Prime:_0x4c258d}=_0x352797,_0x3fe17c=this[_0x186848(0x3e6)]['transformMutationsWithChangeset'](_0x24b658[0x0],this[_0x186848(0x30f)]);if(g[_0x186848(0x21c)](_0x3fe17c)){const {c1Prime:_0xd65ea3,m2Prime:_0x2fc22a}=_0x3fe17c;return this['_executeRemoteChangeset'](_0xd65ea3),_0x4c258d[0x0][_0x186848(0x3a5)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x186848(0x44a)][_0x186848(0x1d3)](exports[_0x186848(0x2ec)],this[_0x186848(0x272)],this[_0x186848(0x299)],_0x4c258d[0x0],_0x2fc22a,this[_0x186848(0x309)],void 0x0);}throw _0x3fe17c['error'];}throw _0x352797[_0x186848(0x29c)];}catch(_0x3906e8){return this[_0x186848(0x39c)][_0x186848(0x29c)](_0x3906e8),this['_onConflict'](!0x1);}}[_0x30a490(0x301)](_0x48c217){var _0x3be91b=_0x30a490;if(this[_0x3be91b(0x27b)](),this[_0x3be91b(0x4c6)](_0x48c217))return this['_injector']['createInstance'](exports[_0x3be91b(0x3ba)],this[_0x3be91b(0x272)],this[_0x3be91b(0x299)],null,this[_0x3be91b(0x30f)],this[_0x3be91b(0x328)],[],this['_handler']);this[_0x3be91b(0x487)]();const _0x4baf51=this[_0x3be91b(0x44a)][_0x3be91b(0x1d3)](exports[_0x3be91b(0x3ee)],this['unitID'],this[_0x3be91b(0x299)],this['_pendingMutations'],this[_0x3be91b(0x309)]);return _0x4baf51['_schedule'](),_0x4baf51[_0x3be91b(0x484)](),_0x4baf51;}[_0x30a490(0x32e)](_0x404323){var _0x1dd1d7=_0x30a490;return this[_0x1dd1d7(0x4e1)](!!(_0x404323!=null&&_0x404323['isPermissionRej']));}[_0x30a490(0x445)](_0x4500ff){var _0x3dbedd=_0x30a490;return this[_0x3dbedd(0x463)]>Nt?this[_0x3dbedd(0x22a)]():(this[_0x3dbedd(0x312)]=Ot(this[_0x3dbedd(0x463)],{'timeout':this[_0x3dbedd(0x463)],'reqId':_0x4500ff[_0x3dbedd(0x24b)]}),this[_0x3dbedd(0x430)]=this[_0x3dbedd(0x312)][_0x3dbedd(0x2d4)](({reqId:_0x5cd309,timeout:_0xe73a82})=>{var _0x2eb776=_0x3dbedd;this[_0x2eb776(0x17a)](_0x5cd309,_0xe73a82);}),this);}['toggleOffline'](){var _0x5c72ef=_0x30a490;return this[_0x5c72ef(0x27b)](),this[_0x5c72ef(0x44a)][_0x5c72ef(0x1d3)](exports[_0x5c72ef(0x35e)],this[_0x5c72ef(0x272)],this['type'],this[_0x5c72ef(0x328)],this[_0x5c72ef(0x30f)],this[_0x5c72ef(0x309)]);}[_0x30a490(0x18c)](){return this;}['resend'](){var _0x37bc7f=_0x30a490;this[_0x37bc7f(0x309)][_0x37bc7f(0x37e)](this['_awaitingChangeset']);}['_onConflict'](_0x1de700){var _0x396fa9=_0x30a490;return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports['ConflictState'],this[_0x396fa9(0x272)],this['type'],null,this[_0x396fa9(0x30f)],this[_0x396fa9(0x309)],_0x1de700);}[_0x30a490(0x17a)](_0x2a19c9,_0x57b44d){var _0xf31406=_0x30a490,_0x47142a;_0x2a19c9===((_0x47142a=this[_0xf31406(0x328)])==null?void 0x0:_0x47142a['reqId'])&&(this[_0xf31406(0x310)](),this['_resendTimeout']=_0x57b44d===0x0?0x3e8:_0x57b44d*0x2);}['_clearScheduledTask'](){var _0x1af7ff=_0x30a490,_0x34e486;(_0x34e486=this[_0x1af7ff(0x430)])==null||_0x34e486['unsubscribe'](),this[_0x1af7ff(0x463)]=0x0;}},exports[_0x30a490(0x2ec)]=ce([w(0x6,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),w(0x7,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),w(0x8,a[_0x30a490(0x3bb)]),w(0x9,a['ILogService']),w(0xa,g['ITransformService']),w(0xb,a[_0x30a490(0x1eb)]),w(0xc,a[_0x30a490(0x342)](z))],exports['AwaitingWithPendingState']),exports[_0x30a490(0x41a)]=class extends he{constructor(_0x3b4d5f,_0xa8c899,_0xc80c88,_0x72946f,_0x510e3c,_0x2f8a9f=!0x1,_0x469448,_0x4ea5bf,_0x555271,_0x3dca84,_0xc928ad,_0x3ace78,_0x1be5ea){var _0x317895=_0x30a490;super(_0x3b4d5f,_0xa8c899,_0xc80c88,_0x72946f,_0x510e3c,_0x4ea5bf,_0x555271,_0x3dca84,_0x1be5ea),A(this,_0x317895(0x2fc),_0x317895(0x343)),(this[_0x317895(0x48c)]=_0x2f8a9f,this['_permissionService']=_0x469448,this['_localeService']=_0xc928ad,this[_0x317895(0x2a5)]=_0x3ace78,this['localCacheService']=_0x1be5ea,this[_0x317895(0x1ae)](),this[_0x317895(0x1dc)](),this[_0x317895(0x336)]());}[_0x30a490(0x2bf)](){return this;}['onRemoteChangeset'](){return this;}[_0x30a490(0x301)](){return this;}['onRemoteRej'](){return this;}[_0x30a490(0x445)](){return this;}[_0x30a490(0x22a)](){return this;}[_0x30a490(0x18c)](){return this;}[_0x30a490(0x310)](){var _0x4a5dcd=_0x30a490;throw new Error(_0x4a5dcd(0x45a));}['_clearLocalCache'](){var _0x33bf90=_0x30a490,_0x347e1d;(_0x347e1d=this[_0x33bf90(0x1a3)])==null||_0x347e1d[_0x33bf90(0x1b4)](this[_0x33bf90(0x272)],this['type'],null,[]);}['_showConflictNotification'](){var _0x315460=_0x30a490;this[_0x315460(0x48c)]?this['_collaborationUIEventService'][_0x315460(0x16c)]({'id':Q[_0x315460(0x39e)]}):this[_0x315460(0x2a5)]['emitEvent']({'id':Q[_0x315460(0x427)]});}['_disableEditing'](){var _0x44e51e=_0x30a490;this[_0x44e51e(0x362)][_0x44e51e(0x3ce)](new Z['WorkbookEditablePermission'](this[_0x44e51e(0x272)])['id'],!0x1);}},exports['ConflictState']=ce([w(0x6,a[_0x30a490(0x3af)](a['IPermissionService'])),w(0x7,a[_0x30a490(0x3bb)]),w(0x8,a[_0x30a490(0x1eb)]),w(0x9,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),w(0xa,a['Inject'](a[_0x30a490(0x327)])),w(0xb,a[_0x30a490(0x3af)](te)),w(0xc,a['Optional'](z))],exports[_0x30a490(0x41a)]),exports[_0x30a490(0x35e)]=class extends he{constructor(_0x41db1a,_0x2cbf88,_0x2b8c66,_0x214e57,_0x259bb2,_0x163cb0,_0x5e1d82,_0x596fab,_0x3ce7ae,_0x26a756){var _0x2846cc=_0x30a490;super(_0x41db1a,_0x2cbf88,_0x2b8c66,_0x214e57,_0x259bb2,_0x596fab,_0x3ce7ae,_0x5e1d82,_0x26a756),A(this,'status',_0x2846cc(0x2a1)),this['_injector']=_0x163cb0;}[_0x30a490(0x2bf)](_0x3271a1){var _0x23e02d=_0x30a490;return this[_0x23e02d(0x30f)][_0x23e02d(0x2ab)](_0x3271a1),this[_0x23e02d(0x484)](),this;}[_0x30a490(0x357)](_0x1745b9){var _0x3e7caf=_0x30a490;throw new Error(_0x3e7caf(0x201));}['onRemoteAck'](){var _0x5e2fe1=_0x30a490;throw new Error(_0x5e2fe1(0x2ce));}[_0x30a490(0x32e)](){var _0x2ebc4f=_0x30a490;throw new Error(_0x2ebc4f(0x186));}[_0x30a490(0x445)](){return this;}['toggleOffline'](){return this;}[_0x30a490(0x18c)](){var _0x7d9f4e=_0x30a490;const {_injector:_0x5c13dd,_pendingMutations:_0x24f652,_awaitingChangeset:_0x382a73,unitID:_0x3e3d45,_handler:_0x3c16b6,type:_0x5ea9af}=this,_0x21ce5b=Dt(_0x5c13dd,_0x3e3d45,_0x5ea9af,_0x382a73,_0x24f652,_0x3c16b6);return _0x21ce5b instanceof exports[_0x7d9f4e(0x3ee)]?_0x21ce5b[_0x7d9f4e(0x2e7)]():(_0x21ce5b instanceof exports[_0x7d9f4e(0x2ec)]||_0x21ce5b instanceof exports['AwaitingState'])&&_0x21ce5b[_0x7d9f4e(0x310)](),_0x21ce5b;}[_0x30a490(0x310)](){var _0x655da3=_0x30a490;throw new Error(_0x655da3(0x2fa));}},exports[_0x30a490(0x35e)]=ce([w(0x5,a['Inject'](a[_0x30a490(0x453)])),w(0x6,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),w(0x7,a[_0x30a490(0x3bb)]),w(0x8,a[_0x30a490(0x1eb)]),w(0x9,a['Optional'](z))],exports['OfflineState']),exports[_0x30a490(0x3ba)]=class extends he{constructor(_0x4a6a60,_0x5b3113,_0x52e7d3,_0x2a1be3,_0x279db2,_0x5f13aa,_0xa1598c,_0x1ba496,_0x423c8c,_0x5742d0,_0x2ed552,_0x15603e,_0x374c34,_0x5e21d6){var _0x422dce=_0x30a490;super(_0x4a6a60,_0x5b3113,_0x52e7d3,_0x2a1be3,_0xa1598c,_0x2ed552,_0x15603e,_0x423c8c,_0x5e21d6),A(this,_0x422dce(0x2fc),_0x422dce(0x388)),(this[_0x422dce(0x4b4)]=_0x279db2,this[_0x422dce(0x465)]=_0x5f13aa,this[_0x422dce(0x44a)]=_0x1ba496,this[_0x422dce(0x39c)]=_0x5742d0,this[_0x422dce(0x3e6)]=_0x374c34,this['localCacheService']=_0x5e21d6);}[_0x30a490(0x2f8)](_0x2776c1){var _0x10fcbd=_0x30a490;try{const _0x3b038d=[..._0x2776c1,...this['_queuedRemoteChangesets']],_0x3ac91f=[this[_0x10fcbd(0x328)]||this[_0x10fcbd(0x4b4)]][_0x10fcbd(0x479)](_0x1d75ac=>!!_0x1d75ac);let _0x536e3c,_0x53ae24;if(_0x3ac91f[_0x10fcbd(0x31c)]){const _0x5d8182=this[_0x10fcbd(0x3e6)][_0x10fcbd(0x4dd)](_0x3b038d,_0x3ac91f,!0x1);if(!g[_0x10fcbd(0x491)](_0x5d8182))throw _0x5d8182[_0x10fcbd(0x29c)];_0x536e3c=_0x5d8182[_0x10fcbd(0x360)],_0x53ae24=_0x5d8182['c2Prime'];}else _0x536e3c=_0x3b038d,_0x53ae24=[];let _0x24b078=this[_0x10fcbd(0x30f)];_0x536e3c[_0x10fcbd(0x236)](_0x57719b=>{var _0x4ffd87=_0x10fcbd;let _0x48b0ca;if(_0x24b078[_0x4ffd87(0x31c)]){const _0x14a4d5=this[_0x4ffd87(0x3e6)][_0x4ffd87(0x394)](_0x57719b,_0x24b078);if(!g['isTransformMutationsWithChangesetSuccess'](_0x14a4d5))throw _0x14a4d5[_0x4ffd87(0x29c)];_0x48b0ca=_0x14a4d5[_0x4ffd87(0x360)],_0x24b078=_0x14a4d5['m2Prime'];}else _0x48b0ca=_0x57719b;this['_executeRemoteChangeset'](_0x48b0ca);}),this[_0x10fcbd(0x4b4)]&&this[_0x10fcbd(0x487)](),this[_0x10fcbd(0x328)]&&_0x53ae24[_0x10fcbd(0x31c)]&&(_0x53ae24[0x0]['baseRev']=this['_getCurrentRevision']());let _0x409f4c;if(this['_awaitingChangeset']&&_0x24b078[_0x10fcbd(0x31c)]!==0x0)_0x409f4c=this[_0x10fcbd(0x44a)][_0x10fcbd(0x1d3)](exports[_0x10fcbd(0x2ec)],this['unitID'],this[_0x10fcbd(0x299)],_0x53ae24[0x0],_0x24b078,this[_0x10fcbd(0x309)],void 0x0);else{if(this[_0x10fcbd(0x328)]&&_0x24b078[_0x10fcbd(0x31c)]===0x0)_0x53ae24[0x0][_0x10fcbd(0x3a5)]=this[_0x10fcbd(0x39b)](),_0x409f4c=this[_0x10fcbd(0x44a)][_0x10fcbd(0x1d3)](exports[_0x10fcbd(0x23a)],this[_0x10fcbd(0x272)],this[_0x10fcbd(0x299)],_0x53ae24[0x0],this['_handler']);else{if(_0x24b078[_0x10fcbd(0x31c)]!==0x0){const _0x5a5b0f=this[_0x10fcbd(0x44a)][_0x10fcbd(0x1d3)](exports[_0x10fcbd(0x3ee)],this['unitID'],this[_0x10fcbd(0x299)],_0x24b078,this['_handler']);_0x5a5b0f['_schedule'](),_0x409f4c=_0x5a5b0f;}else _0x409f4c=this[_0x10fcbd(0x44a)][_0x10fcbd(0x1d3)](exports['SyncedState'],this[_0x10fcbd(0x272)],this[_0x10fcbd(0x299)],this[_0x10fcbd(0x309)]);}}return _0x409f4c[_0x10fcbd(0x484)](),_0x409f4c;}catch(_0xfefc92){return this[_0x10fcbd(0x39c)]['error']('[FetchMissState]',_0x10fcbd(0x247),_0xfefc92),this[_0x10fcbd(0x44a)]['createInstance'](exports[_0x10fcbd(0x41a)],this[_0x10fcbd(0x272)],this[_0x10fcbd(0x299)],this[_0x10fcbd(0x328)],this[_0x10fcbd(0x30f)],this['_handler'],!0x1);}}[_0x30a490(0x310)](){var _0x5e2c6e=_0x30a490;throw new Error(_0x5e2c6e(0x454));}[_0x30a490(0x2bf)](_0x2bf35a){return this['_pendingMutations']['push'](_0x2bf35a),this;}[_0x30a490(0x357)](_0x1898ae){var _0x585a4a=_0x30a490;return this[_0x585a4a(0x465)][_0x585a4a(0x2ab)](_0x1898ae),this;}[_0x30a490(0x301)](_0x966c81){var _0x113793=_0x30a490;if(this[_0x113793(0x328)])return this[_0x113793(0x4b4)]=this[_0x113793(0x328)],this[_0x113793(0x328)]=null,this;throw new Error(_0x113793(0x2c7));}['onRemoteRej'](_0x51d66d){var _0x43ca3d=_0x30a490;return this[_0x43ca3d(0x4e1)](!!(_0x51d66d!=null&&_0x51d66d['isPermissionRej']));}[_0x30a490(0x445)](){return this;}[_0x30a490(0x22a)](){var _0x389643=_0x30a490;return this['_injector'][_0x389643(0x1d3)](exports[_0x389643(0x35e)],this[_0x389643(0x272)],this[_0x389643(0x299)],this[_0x389643(0x328)],this[_0x389643(0x30f)],this['_handler']);}[_0x30a490(0x18c)](){return this;}['_onConflict'](_0xf04aaf){var _0xc18911=_0x30a490;return this[_0xc18911(0x44a)][_0xc18911(0x1d3)](exports[_0xc18911(0x41a)],this[_0xc18911(0x272)],this['type'],this[_0xc18911(0x328)],this[_0xc18911(0x30f)],this[_0xc18911(0x309)],_0xf04aaf);}},exports[_0x30a490(0x3ba)]=ce([w(0x7,a['Inject'](a[_0x30a490(0x453)])),w(0x8,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),w(0x9,a[_0x30a490(0x2c8)]),w(0xa,a['ICommandService']),w(0xb,a[_0x30a490(0x1eb)]),w(0xc,g[_0x30a490(0x41d)]),w(0xd,a['Optional'](z))],exports[_0x30a490(0x3ba)]);function Dt(_0x4a67f0,_0x580e84,_0xd075fa,_0x121822,_0x103d5a,_0x453cdd){var _0x4743ed=_0x30a490;return _0x121822&&_0x103d5a[_0x4743ed(0x31c)]?_0x4a67f0[_0x4743ed(0x1d3)](exports[_0x4743ed(0x2ec)],_0x580e84,_0xd075fa,_0x121822,_0x103d5a,_0x453cdd,void 0x0):_0x121822?_0x4a67f0[_0x4743ed(0x1d3)](exports[_0x4743ed(0x23a)],_0x580e84,_0xd075fa,_0x121822,_0x453cdd):_0x103d5a[_0x4743ed(0x31c)]?_0x4a67f0['createInstance'](exports['PendingState'],_0x580e84,_0xd075fa,_0x103d5a,_0x453cdd):_0x4a67f0[_0x4743ed(0x1d3)](exports[_0x4743ed(0x1de)],_0x580e84,_0xd075fa,_0x453cdd);}var Ci=Object[_0x30a490(0x2c2)],We=(_0x5d5734,_0x4d46ae,_0x9f4fbe,_0x423e68)=>{for(var _0x4cc795=_0x423e68>0x1?void 0x0:_0x423e68?Ci(_0x4d46ae,_0x9f4fbe):_0x4d46ae,_0xc9a1fa=_0x5d5734['length']-0x1,_0x77b919;_0xc9a1fa>=0x0;_0xc9a1fa--)(_0x77b919=_0x5d5734[_0xc9a1fa])&&(_0x4cc795=_0x77b919(_0x4cc795)||_0x4cc795);return _0x4cc795;},$=(_0x2c4e36,_0x1da5c9)=>(_0x4fc7be,_0x857e7c)=>_0x1da5c9(_0x4fc7be,_0x857e7c,_0x2c4e36);exports[_0x30a490(0x2c3)]=class extends a[_0x30a490(0x3b7)]{constructor(_0x455f0a,_0xec84d9,_0x3afc73,_0x5bf9f9,_0x1125c4,_0x460fd3,_0x544cb1,_0x125966,_0x2c297b,_0x1c5488,_0x1e0d55,_0x19ad0b,_0x23bec2){var _0x229662=_0x30a490;super(),A(this,_0x229662(0x3e0),new j[(_0x229662(0x1b6))](null)),A(this,_0x229662(0x399),this['_state$'][_0x229662(0x1f3)]()),A(this,'_state'),A(this,'_collaborationPaused',!0x1),A(this,_0x229662(0x1a6),''),A(this,_0x229662(0x483),0x0),A(this,_0x229662(0x40c),this[_0x229662(0x399)][_0x229662(0x286)](j[_0x229662(0x33c)](_0xc4d777=>_0xc4d777?_0xc4d777[_0x229662(0x2fc)]:Ve[_0x229662(0x4ae)]),j[_0x229662(0x228)](0x1))),A(this,'_transitionLocked',!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x229662(0x272)]=_0x455f0a,this[_0x229662(0x338)]=_0xec84d9,this['_type']=_0x3afc73,this[_0x229662(0x44a)]=_0x5bf9f9,this[_0x229662(0x434)]=_0x1125c4,this[_0x229662(0x455)]=_0x460fd3,this[_0x229662(0x45c)]=_0x544cb1,this[_0x229662(0x235)]=_0x125966,this['_logService']=_0x2c297b,this[_0x229662(0x33d)]=_0x1c5488,this[_0x229662(0x362)]=_0x1e0d55,this[_0x229662(0x193)]=_0x19ad0b,this[_0x229662(0x1a3)]=_0x23bec2);}get[_0x30a490(0x391)](){var _0x4dc296=_0x30a490;return this[_0x4dc296(0x4e0)];}async[_0x30a490(0x1b0)](){var _0x5391d4=_0x30a490;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5391d4(0x3e4)]();}[_0x30a490(0x323)](){var _0x351ac6=_0x30a490;return this[_0x351ac6(0x320)]=!0x0,a['toDisposable'](()=>{var _0xebf657=_0x351ac6;this[_0xebf657(0x320)]=!0x1,this[_0xebf657(0x1f7)]();});}[_0x30a490(0x192)](_0x533490){var _0x15e4f3=_0x30a490;this[_0x15e4f3(0x216)](_0x533490);}[_0x30a490(0x4a8)](_0x5d8382){var _0x1a18f4=_0x30a490;this[_0x1a18f4(0x4e0)]=_0x5d8382,this[_0x1a18f4(0x3e0)][_0x1a18f4(0x18d)](_0x5d8382);}async['_init'](){var _0x2d0749=_0x30a490,_0x45640d;this[_0x2d0749(0x4a8)](await this[_0x2d0749(0x3bd)]()),this[_0x2d0749(0x193)]&&((_0x45640d=this['_singleActiveUnitService'])==null||_0x45640d[_0x2d0749(0x1a9)](this['unitID']),this[_0x2d0749(0x3f2)](this[_0x2d0749(0x193)][_0x2d0749(0x4c1)](this[_0x2d0749(0x272)])['subscribe'](_0xd5e5e1=>{var _0x304f23=_0x2d0749;this[_0x304f23(0x39c)][_0x304f23(0x1f2)]('[CollaborationEntity]',_0x304f23(0x18b),_0xd5e5e1),_0xd5e5e1===Fe['OTHER_CLIENTS_EDITING']?(this[_0x304f23(0x235)]['emitEvent']({'id':Q[_0x304f23(0x412)]}),this[_0x304f23(0x362)][_0x304f23(0x3ce)](new Z['WorkbookEditablePermission'](this[_0x304f23(0x272)])['id'],!0x1),this[_0x304f23(0x362)][_0x304f23(0x33b)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new Z[(_0x304f23(0x1a5))](this['unitID'])['id'],!0x0),this[_0x304f23(0x362)]['setShowComponents'](!0x0));})));let _0x596075=!0x1;return this[_0x2d0749(0x3f2)](this[_0x2d0749(0x338)][_0x2d0749(0x482)][_0x2d0749(0x2d4)](_0x33b3e9=>{var _0x3bf685=_0x2d0749;_0x33b3e9===se[_0x3bf685(0x265)]?this[_0x3bf685(0x26a)](_0x596075):_0x33b3e9===se[_0x3bf685(0x4ae)]&&(_0x596075=!0x0,this[_0x3bf685(0x263)]());})),this[_0x2d0749(0x3f2)](this[_0x2d0749(0x338)]['event$']['subscribe'](_0x50b378=>{var _0x42b9e4=_0x2d0749;try{switch(_0x50b378[_0x42b9e4(0x1c8)]){case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x274)]:{this['_onRemoteChangeset'](g['parseProtocolChangeset'](_0x50b378['data']));break;}case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x40a)]:{this[_0x42b9e4(0x202)](_0x50b378[_0x42b9e4(0x3fa)]);break;}case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x2d5)]:{this[_0x42b9e4(0x4cb)]();break;}case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x40b)]:{this['_onRemoteRetry'](_0x50b378[_0x42b9e4(0x3fa)]);break;}case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x49e)]:{this[_0x42b9e4(0x262)](_0x50b378[_0x42b9e4(0x3fa)][_0x42b9e4(0x1fc)][_0x42b9e4(0x33c)](_0x5c1070=>g[_0x42b9e4(0x23d)](_0x5c1070)));break;}case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x1f1)]:{this[_0x42b9e4(0x4cb)]({'isPermissionRej':!0x0});break;}case g[_0x42b9e4(0x1ce)][_0x42b9e4(0x2b9)]:break;}}catch(_0x1b9a75){throw console[_0x42b9e4(0x29c)](_0x42b9e4(0x170),_0x1b9a75),_0x1b9a75;}})),this[_0x2d0749(0x4e0)];}[_0x30a490(0x2c6)](){var _0x1db57d=_0x30a490;this[_0x1db57d(0x44b)]=!0x1;}[_0x30a490(0x3ad)](){var _0x1f5df6=_0x30a490;if(this[_0x1f5df6(0x44b)])throw new Error(_0x1f5df6(0x4bf));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x2f15b3){var _0x2016a4=_0x30a490;this[_0x2016a4(0x3ad)](),this[_0x2016a4(0x4a8)](this[_0x2016a4(0x4e0)]['appendMutation'](_0x2f15b3)),this[_0x2016a4(0x2c6)]();}[_0x30a490(0x4d1)](_0x1ccbd5){var _0x449898=_0x30a490;if(!(_0x1ccbd5[_0x449898(0x493)]<=this[_0x449898(0x45c)][_0x449898(0x1aa)](this[_0x449898(0x272)]))){if(this[_0x449898(0x320)]){this['_remoteChangesetQueue'][_0x449898(0x2ab)](_0x1ccbd5);return;}this['_applyRemoteChangeset'](_0x1ccbd5);}}[_0x30a490(0x1f7)](){var _0x7c6009=_0x30a490;this[_0x7c6009(0x167)][_0x7c6009(0x236)](_0x183975=>this[_0x7c6009(0x16d)](_0x183975)),this['_remoteChangesetQueue']=[];}[_0x30a490(0x16d)](_0x37c092){var _0x2b36c2=_0x30a490;const _0x3e6964=this[_0x2b36c2(0x434)][_0x2b36c2(0x376)][_0x2b36c2(0x349)](this[_0x2b36c2(0x434)][_0x2b36c2(0x376)][_0x2b36c2(0x280)]()['COMPRESS_MUTATION_APPLY'])(_0x37c092[_0x2b36c2(0x20e)],null)||_0x37c092[_0x2b36c2(0x20e)],_0x3d5046={..._0x37c092,'mutations':_0x3e6964};this[_0x2b36c2(0x3ad)](),this[_0x2b36c2(0x4a8)](this['_state']['onRemoteChangeset'](_0x3d5046)),this[_0x2b36c2(0x2c6)]();}[_0x30a490(0x202)](_0x4984){var _0x553175=_0x30a490;this[_0x553175(0x3ad)](),this[_0x553175(0x4a8)](this[_0x553175(0x4e0)][_0x553175(0x301)](_0x4984)),this['_unlockTransition']();}[_0x30a490(0x4cb)](_0x23fdb7){var _0x396862=_0x30a490;this['_lockTransition'](),this[_0x396862(0x4a8)](this[_0x396862(0x4e0)]['onRemoteRej'](_0x23fdb7)),this[_0x396862(0x2c6)]();}[_0x30a490(0x3d0)](_0x1af81c){var _0x4548a8=_0x30a490;this[_0x4548a8(0x3ad)](),this['_updateState'](this[_0x4548a8(0x4e0)][_0x4548a8(0x445)](_0x1af81c)),this[_0x4548a8(0x2c6)]();}[_0x30a490(0x262)](_0x31df65){var _0x4baac3=_0x30a490;if(!(this[_0x4baac3(0x4e0)]instanceof exports[_0x4baac3(0x3ba)]))throw new TypeError(_0x4baac3(0x4db));const _0x11e163=_0x31df65[_0x4baac3(0x33c)](_0x33e93a=>{var _0x2b147f=_0x4baac3;const _0x20c0d7=this[_0x2b147f(0x434)][_0x2b147f(0x376)][_0x2b147f(0x349)](this[_0x2b147f(0x434)][_0x2b147f(0x376)]['getInterceptPoints']()[_0x2b147f(0x17d)])(_0x33e93a['mutations'],null)||_0x33e93a[_0x2b147f(0x20e)];return{..._0x33e93a,'mutations':_0x20c0d7};});this[_0x4baac3(0x3ad)](),this[_0x4baac3(0x4a8)](this[_0x4baac3(0x4e0)]['onMissedChangesetFetched'](_0x11e163)),this[_0x4baac3(0x2c6)]();}[_0x30a490(0x263)](){var _0x4c115a=_0x30a490;this['_lockTransition'](),this[_0x4c115a(0x4a8)](this[_0x4c115a(0x4e0)]['toggleOffline']()),this[_0x4c115a(0x2c6)]();}[_0x30a490(0x26a)](_0x2bc4dc=!0x1){var _0x3d4e56=_0x30a490;this[_0x3d4e56(0x3ad)](),this['_updateState'](this[_0x3d4e56(0x4e0)][_0x3d4e56(0x18c)]()),this[_0x3d4e56(0x2c6)]();const _0x3130d6=this[_0x3d4e56(0x4e0)];_0x2bc4dc&&_0x3130d6 instanceof exports[_0x3d4e56(0x1de)]&&(this['_lockTransition'](),this[_0x3d4e56(0x4a8)](_0x3130d6[_0x3d4e56(0x176)]()),this[_0x3d4e56(0x2c6)]());}async[_0x30a490(0x3bd)](){return new Promise(_0x197457=>{var _0x98a84b=_0x2a67;this[_0x98a84b(0x338)][_0x98a84b(0x482)]['pipe'](j[_0x98a84b(0x45d)](0x1))[_0x98a84b(0x2d4)](async _0x30e054=>{var _0x25ac03=_0x98a84b;_0x197457(await this[_0x25ac03(0x1f8)](_0x30e054===se[_0x25ac03(0x265)]));});});}[_0x30a490(0x4a5)](){const _0x1f3fd4=this['unitID'];return{'onStateChange':(_0x1e9169,_0x32d6c4)=>{var _0x1704d5=_0x2a67;if(_0x1e9169!==this[_0x1704d5(0x4e0)])throw new Error(_0x1704d5(0x473)+_0x1e9169[_0x1704d5(0x2fc)]+'\x0aAfter:\x20'+_0x32d6c4['status']+_0x1704d5(0x28d)+this['_state'][_0x1704d5(0x2fc)]);this['_updateState'](_0x32d6c4);},'onSendChangeset':_0x55cb75=>{var _0x1b925f=_0x2a67;_0x55cb75[_0x1b925f(0x203)]||(_0x55cb75[_0x1b925f(0x203)]=this['_changesetSessionId'],_0x55cb75[_0x1b925f(0x24b)]=++this[_0x1b925f(0x483)]);const _0x8ac0a4={'eventID':g[_0x1b925f(0x1ce)][_0x1b925f(0x3c6)],'data':{'unitID':_0x55cb75[_0x1b925f(0x272)],'unitType':this[_0x1b925f(0x1f4)],'changeset':_0x55cb75,'memberID':this[_0x1b925f(0x338)][_0x1b925f(0x435)]()}};this[_0x1b925f(0x338)][_0x1b925f(0x43d)](_0x8ac0a4,this[_0x1b925f(0x272)]);},'onMissingChangesets':({from:_0x51932a,to:_0x3e5dc6})=>{var _0x17b885=_0x2a67;this[_0x17b885(0x39c)]['debug']('[CollaborationEntity]',_0x17b885(0x1d9)+_0x51932a+'\x20to\x20'+_0x3e5dc6);const _0x5302aa={'eventID':g[_0x17b885(0x1ce)][_0x17b885(0x178)],'data':{'unitID':_0x1f3fd4,'unitType':this[_0x17b885(0x1f4)],'from':_0x51932a,'to':_0x3e5dc6}};this[_0x17b885(0x338)][_0x17b885(0x43d)](_0x5302aa,this[_0x17b885(0x272)]);}};}async[_0x30a490(0x1f8)](_0x2f8249){var _0x18ce97=_0x30a490,_0x4cf5b1,_0x7d6562,_0x21dccc;const _0x2a7cf9=await((_0x4cf5b1=this[_0x18ce97(0x1a3)])==null?void 0x0:_0x4cf5b1[_0x18ce97(0x317)](this[_0x18ce97(0x272)])),_0x2623c1=(_0x7d6562=_0x2a7cf9==null?void 0x0:_0x2a7cf9[_0x18ce97(0x20e)])!=null?_0x7d6562:[],_0x1645a4=(_0x21dccc=_0x2a7cf9==null?void 0x0:_0x2a7cf9[_0x18ce97(0x25d)])!=null?_0x21dccc:null,_0x21c787=!!(_0x1645a4!=null&&_0x1645a4[_0x18ce97(0x203)])&&!!(_0x1645a4!=null&&_0x1645a4[_0x18ce97(0x24b)]);this[_0x18ce97(0x1a6)]=_0x21c787?_0x1645a4[_0x18ce97(0x203)]:di(),this[_0x18ce97(0x483)]=_0x21c787?_0x1645a4[_0x18ce97(0x24b)]:0x0;const _0x2dd5e2=this[_0x18ce97(0x272)];try{this[_0x18ce97(0x359)](_0x1645a4,_0x2623c1);}catch(_0x3d4b11){this[_0x18ce97(0x39c)][_0x18ce97(0x29c)](_0x3d4b11);}const _0x496f0d=this['_createHandler']();if(_0x2f8249){const _0x32dea7=Dt(this[_0x18ce97(0x44a)],_0x2dd5e2,this['_type'],_0x1645a4,_0x2623c1,_0x496f0d);return _0x32dea7 instanceof exports[_0x18ce97(0x3ee)]?_0x32dea7['_schedule']():(_0x32dea7 instanceof exports['AwaitingWithPendingState']||_0x32dea7 instanceof exports[_0x18ce97(0x23a)])&&_0x32dea7[_0x18ce97(0x310)](),_0x32dea7;}return this['_injector'][_0x18ce97(0x1d3)](exports[_0x18ce97(0x35e)],_0x2dd5e2,this[_0x18ce97(0x1f4)],_0x1645a4,_0x2623c1,_0x496f0d);}[_0x30a490(0x359)](_0x1870b2,_0x4a9fbc){var _0x7c1f85=_0x30a490,_0x5571ed,_0x388601;const _0x53f501=this[_0x7c1f85(0x434)]['interceptor'][_0x7c1f85(0x349)](this[_0x7c1f85(0x434)]['interceptor'][_0x7c1f85(0x280)]()[_0x7c1f85(0x17d)]);(_0x5571ed=_0x53f501((_0x1870b2==null?void 0x0:_0x1870b2[_0x7c1f85(0x20e)])||[],null))==null||_0x5571ed[_0x7c1f85(0x236)](_0x5882d6=>this['_commandService']['executeCommand'](_0x5882d6['id'],_0x5882d6['params'])),(_0x388601=_0x53f501(_0x4a9fbc||[],null))==null||_0x388601[_0x7c1f85(0x236)](_0x4b1619=>this[_0x7c1f85(0x33d)][_0x7c1f85(0x34f)](_0x4b1619['id'],_0x4b1619['params']));}},exports[_0x30a490(0x2c3)]=We([$(0x3,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),$(0x4,a[_0x30a490(0x3af)](g[_0x30a490(0x2e5)])),$(0x5,a['Inject'](a[_0x30a490(0x327)])),$(0x6,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),$(0x7,a[_0x30a490(0x3af)](te)),$(0x8,a['ILogService']),$(0x9,a[_0x30a490(0x3bb)]),$(0xa,a[_0x30a490(0x19e)]),$(0xb,a['Optional'](ve)),$(0xc,a['Optional'](z))],exports[_0x30a490(0x2c3)]),exports[_0x30a490(0x298)]=class extends exports[_0x30a490(0x2c3)]{constructor(_0x121d04,_0x209f77,_0x1f2a03,_0x5eae45,_0x431b65,_0x722fcc,_0x3d3301,_0x281593,_0x56cc66,_0x32e7ef,_0x45aa04,_0x36ad34,_0x477fea){var _0x1e1f64=_0x30a490;super(_0x121d04,_0x1f2a03,_0x209f77,_0x5eae45,_0x431b65,_0x722fcc,_0x3d3301,_0x281593,_0x56cc66,_0x32e7ef,_0x45aa04,_0x36ad34,_0x477fea),A(this,'_handlerCallback',null),(this['unitID']=_0x121d04,this[_0x1e1f64(0x299)]=_0x209f77);}[_0x30a490(0x318)](_0x583a65){var _0x399eeb=_0x30a490;this[_0x399eeb(0x4ca)]=_0x583a65;}[_0x30a490(0x4aa)](){var _0x429741=_0x30a490;this[_0x429741(0x4ca)]=null,super[_0x429741(0x4aa)]();}[_0x30a490(0x4a5)](){var _0x3e3c86=_0x30a490;const _0x5a732d=super['_createHandler']();return _0x5a732d['onTransformIME']=_0x2ca75b=>{var _0x4c7155=_0x2a67,_0x5e3b92,_0x34b899;return(_0x34b899=(_0x5e3b92=this[_0x4c7155(0x4ca)])==null?void 0x0:_0x5e3b92['onTransformIME'])==null?void 0x0:_0x34b899[_0x4c7155(0x356)](_0x5e3b92,_0x2ca75b);},_0x5a732d[_0x3e3c86(0x3f4)]=_0x309f01=>{var _0x56b8a1=_0x3e3c86,_0x27bfb8,_0xd37149;return(_0xd37149=(_0x27bfb8=this['_handlerCallback'])==null?void 0x0:_0x27bfb8[_0x56b8a1(0x3f4)])==null?void 0x0:_0xd37149[_0x56b8a1(0x356)](_0x27bfb8,_0x309f01);},_0x5a732d[_0x3e3c86(0x234)]=_0x34278f=>{var _0x4bfebd=_0x3e3c86,_0x5ec86b,_0x3332fc;return(_0x3332fc=(_0x5ec86b=this[_0x4bfebd(0x4ca)])==null?void 0x0:_0x5ec86b[_0x4bfebd(0x234)])==null?void 0x0:_0x3332fc['call'](_0x5ec86b,_0x34278f);},_0x5a732d['onSyncEditingCollabCursor']=_0x1df390=>{var _0x250f54=_0x3e3c86,_0x2691c8,_0x5d326d;return(_0x5d326d=(_0x2691c8=this[_0x250f54(0x4ca)])==null?void 0x0:_0x2691c8[_0x250f54(0x31b)])==null?void 0x0:_0x5d326d[_0x250f54(0x356)](_0x2691c8,_0x1df390);},_0x5a732d[_0x3e3c86(0x43f)]=_0x9f20b3=>{var _0xf667=_0x3e3c86,_0x6539db,_0x9b88e8,_0xbec222;if(!((_0x6539db=this[_0xf667(0x4ca)])!=null&&_0x6539db[_0xf667(0x43f)]))throw new Error(_0xf667(0x2d3));return(_0xbec222=(_0x9b88e8=this[_0xf667(0x4ca)])==null?void 0x0:_0x9b88e8[_0xf667(0x43f)])==null?void 0x0:_0xbec222['call'](_0x9b88e8,_0x9f20b3);},_0x5a732d['onTransformRemoteChangesetByStateCache']=_0x497e8b=>{var _0x5b55c0=_0x3e3c86,_0x1101a2,_0x550e97,_0x55d45e;if(!((_0x1101a2=this[_0x5b55c0(0x4ca)])!=null&&_0x1101a2[_0x5b55c0(0x366)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x55d45e=(_0x550e97=this[_0x5b55c0(0x4ca)])==null?void 0x0:_0x550e97[_0x5b55c0(0x366)])==null?void 0x0:_0x55d45e[_0x5b55c0(0x356)](_0x550e97,_0x497e8b);},_0x5a732d;}async['_init'](){var _0x465199=_0x30a490;const _0x3d6b22=await super[_0x465199(0x3e4)]();return this[_0x465199(0x3f2)](this['_commandService'][_0x465199(0x16b)]((_0x47481f,_0xedee1b)=>{var _0x22e973=_0x465199;if(_0x47481f[_0x22e973(0x299)]!==a[_0x22e973(0x2e9)][_0x22e973(0x308)]||_0xedee1b!=null&&_0xedee1b[_0x22e973(0x3ae)]||_0xedee1b!=null&&_0xedee1b['onlyLocal']||_0x47481f['id']===ut['RichTextEditingMutation']['id'])return;const _0x5d8c83=_0x47481f[_0x22e973(0x26e)];if((_0x5d8c83==null?void 0x0:_0x5d8c83[_0x22e973(0x1c2)])!==this['unitID'])return;const _0x6d9012=_0x47481f,_0x138a11=this[_0x22e973(0x434)][_0x22e973(0x376)][_0x22e973(0x349)](this[_0x22e973(0x434)]['interceptor'][_0x22e973(0x280)]()['COMPRESS_MUTATION_SEND'])([_0x6d9012],null)||[_0x6d9012];this[_0x22e973(0x216)](_0x138a11[0x0]);})),_0x3d6b22;}},exports['DocCollaborationEntity']=We([$(0x3,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),$(0x4,a['Inject'](g[_0x30a490(0x2e5)])),$(0x5,a[_0x30a490(0x3af)](a['LocaleService'])),$(0x6,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),$(0x7,a['Inject'](te)),$(0x8,a[_0x30a490(0x2c8)]),$(0x9,a[_0x30a490(0x3bb)]),$(0xa,a[_0x30a490(0x19e)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x30a490(0x342)](z))],exports[_0x30a490(0x298)]),exports[_0x30a490(0x16e)]=class extends exports[_0x30a490(0x2c3)]{constructor(_0x4e3dcd,_0x992bc8,_0x2bac95,_0x2ca852,_0x358bb8,_0x36d5a4,_0x4dab80,_0x2d2261,_0x4ea0ea,_0x348bcd,_0x252c04,_0x3be8e6,_0x3bff10,_0x48fb9a){var _0x5c5c27=_0x30a490;super(_0x4e3dcd,_0x2bac95,_0x992bc8,_0x2ca852,_0x358bb8,_0x36d5a4,_0x4dab80,_0x4ea0ea,_0x348bcd,_0x252c04,_0x3be8e6,_0x3bff10,_0x48fb9a),this[_0x5c5c27(0x272)]=_0x4e3dcd,this[_0x5c5c27(0x299)]=_0x992bc8,this[_0x5c5c27(0x380)]=_0x2d2261;}[_0x30a490(0x4a5)](){var _0x756a7f=_0x30a490;const _0x25de15=super[_0x756a7f(0x4a5)]();return _0x25de15[_0x756a7f(0x234)]=_0x5208f4=>this[_0x756a7f(0x380)]['transformSelections'](_0x5208f4),_0x25de15;}async['_init'](){var _0x411faf=_0x30a490;const _0x170c9e=await super[_0x411faf(0x3e4)]();return this[_0x411faf(0x3f2)](this['_commandService'][_0x411faf(0x16b)]((_0x196aa7,_0x51d322)=>{var _0x9360a0=_0x411faf;if(_0x196aa7['type']!==a[_0x9360a0(0x2e9)]['MUTATION']||_0x51d322!=null&&_0x51d322[_0x9360a0(0x3ae)]||_0x51d322!=null&&_0x51d322['onlyLocal'])return;const _0x131630=_0x196aa7[_0x9360a0(0x26e)];if((_0x131630==null?void 0x0:_0x131630[_0x9360a0(0x1c2)])!==this['unitID'])return;const _0x48719b=_0x196aa7,_0x37cbf8=this[_0x9360a0(0x434)][_0x9360a0(0x376)][_0x9360a0(0x349)](this['_compressMutationService'][_0x9360a0(0x376)][_0x9360a0(0x280)]()['COMPRESS_MUTATION_SEND'])([_0x48719b],null)||[_0x48719b];this[_0x9360a0(0x216)](_0x37cbf8[0x0]);})),_0x170c9e;}},exports['SheetCollaborationEntity']=We([$(0x3,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),$(0x4,a['Inject'](g[_0x30a490(0x2e5)])),$(0x5,a['Inject'](a['LocaleService'])),$(0x6,a[_0x30a490(0x3af)](g[_0x30a490(0x35a)])),$(0x7,a[_0x30a490(0x3af)](exports[_0x30a490(0x47e)])),$(0x8,a[_0x30a490(0x3af)](te)),$(0x9,a[_0x30a490(0x2c8)]),$(0xa,a[_0x30a490(0x3bb)]),$(0xb,a[_0x30a490(0x19e)]),$(0xc,a[_0x30a490(0x342)](ve)),$(0xd,a[_0x30a490(0x342)](z))],exports['SheetCollaborationEntity']);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x12894e,_0xb52812,_0x7b73de,_0x473ad1)=>{var _0x2e433c=_0x30a490;for(var _0x6aedfe=_0x473ad1>0x1?void 0x0:_0x473ad1?Ti(_0xb52812,_0x7b73de):_0xb52812,_0x3806ce=_0x12894e[_0x2e433c(0x31c)]-0x1,_0x42495d;_0x3806ce>=0x0;_0x3806ce--)(_0x42495d=_0x12894e[_0x3806ce])&&(_0x6aedfe=_0x42495d(_0x6aedfe)||_0x6aedfe);return _0x6aedfe;},Pe=(_0xb7201b,_0x1de157)=>(_0x59a0e9,_0x49f86c)=>_0x1de157(_0x59a0e9,_0x49f86c,_0xb7201b);exports[_0x30a490(0x22d)]=class extends a[_0x30a490(0x3b7)]{constructor(_0x4e33b7,_0x1d5058,_0x82b053){var _0x1ecef3=_0x30a490;super(),A(this,_0x1ecef3(0x179),new Map()),A(this,_0x1ecef3(0x397),new j[(_0x1ecef3(0x187))]()),A(this,_0x1ecef3(0x259),this[_0x1ecef3(0x397)][_0x1ecef3(0x1f3)]()),(this[_0x1ecef3(0x44a)]=_0x4e33b7,this[_0x1ecef3(0x1db)]=_0x1d5058,this[_0x1ecef3(0x32b)]=_0x82b053,this[_0x1ecef3(0x3e4)]());}['dispose'](){var _0x28b9e4=_0x30a490;super[_0x28b9e4(0x4aa)](),this[_0x28b9e4(0x179)][_0x28b9e4(0x236)](_0x1ba95=>_0x1ba95[_0x28b9e4(0x4aa)]()),this[_0x28b9e4(0x179)][_0x28b9e4(0x1cd)]();}[_0x30a490(0x440)](_0x29acd1){var _0x581e94=_0x30a490,_0x23e6a4;return(_0x23e6a4=this[_0x581e94(0x179)][_0x581e94(0x31a)](_0x29acd1))!=null?_0x23e6a4:null;}[_0x30a490(0x32a)](_0x44ca02){var _0x5410e4=_0x30a490;const _0x409661=this[_0x5410e4(0x440)](_0x44ca02);return _0x409661?j['of'](_0x409661):this[_0x5410e4(0x397)]['pipe'](V['filter'](_0x234d8c=>_0x234d8c[_0x5410e4(0x272)]===_0x44ca02));}['readyForCollab'](_0x557c0e){var _0x5ee513=_0x30a490;return j['firstValueFrom'](this[_0x5ee513(0x32a)](_0x557c0e)['pipe'](V['map'](()=>{})));}['_init'](){var _0x41bff8=_0x30a490;this[_0x41bff8(0x32b)][_0x41bff8(0x393)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x41bff8(0x286)](j[_0x41bff8(0x285)](this[_0x41bff8(0x451)]),V[_0x41bff8(0x208)](0x10))[_0x41bff8(0x2d4)](async _0x30e9bd=>{var _0x1d5e8a=_0x41bff8;const _0xc53c73=_0x30e9bd['getUnitId'](),_0x1be92d=await this[_0x1d5e8a(0x2d8)](_0xc53c73,X[_0x1d5e8a(0x2f3)]);this[_0x1d5e8a(0x179)][_0x1d5e8a(0x4a6)](_0xc53c73,_0x1be92d);}),this[_0x41bff8(0x32b)][_0x41bff8(0x393)](a[_0x41bff8(0x34d)][_0x41bff8(0x204)])[_0x41bff8(0x286)](j[_0x41bff8(0x285)](this[_0x41bff8(0x451)]),V[_0x41bff8(0x208)](0x10))[_0x41bff8(0x286)](V[_0x41bff8(0x479)](_0x5bfe64=>!_0x5bfe64[_0x41bff8(0x197)]()['startsWith']('__')))['subscribe'](async _0x3cd6f3=>{var _0x130d32=_0x41bff8;const _0x1ac8b1=_0x3cd6f3[_0x130d32(0x197)](),_0x1e8d70=await this['_startCollaboration'](_0x1ac8b1,X[_0x130d32(0x204)]);this['_entities'][_0x130d32(0x4a6)](_0x1ac8b1,_0x1e8d70);}),j[_0x41bff8(0x22e)](this[_0x41bff8(0x32b)][_0x41bff8(0x40d)](a[_0x41bff8(0x34d)][_0x41bff8(0x2f3)]),this['_univerInstanceService'][_0x41bff8(0x40d)](a['UniverInstanceType'][_0x41bff8(0x204)]))[_0x41bff8(0x286)](j['takeUntil'](this[_0x41bff8(0x451)]))[_0x41bff8(0x2d4)](_0x3f38bd=>{var _0x3ac84e=_0x41bff8;const _0x1f2920=_0x3f38bd['getUnitId'](),_0x1420d1=this['_entities'][_0x3ac84e(0x31a)](_0x1f2920);_0x1420d1&&(_0x1420d1['dispose'](),this[_0x3ac84e(0x179)][_0x3ac84e(0x2b4)](_0x1f2920));});}async['_startCollaboration'](_0x159489,_0x56ce5a){var _0x36d7b4=_0x30a490;const _0x12bc5c=await this[_0x36d7b4(0x1db)][_0x36d7b4(0x46d)](_0x159489),_0x8961cf=this['_injector'][_0x36d7b4(0x1d3)](this[_0x36d7b4(0x332)](_0x56ce5a),_0x159489,_0x56ce5a,_0x12bc5c);return await _0x8961cf[_0x36d7b4(0x1b0)](),this[_0x36d7b4(0x397)][_0x36d7b4(0x18d)](_0x8961cf),_0x8961cf;}['_getCtorByUniverType'](_0x1d967d){var _0x5242a4=_0x30a490;switch(_0x1d967d){case X[_0x5242a4(0x204)]:return exports[_0x5242a4(0x298)];case X['UNIVER_SHEET']:return exports[_0x5242a4(0x16e)];default:throw new Error(_0x5242a4(0x3dc)+_0x1d967d);}}},exports['CollaborationController']=bi([Pe(0x0,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),Pe(0x1,a['Inject'](exports[_0x30a490(0x2fe)])),Pe(0x2,a[_0x30a490(0x2f7)])],exports[_0x30a490(0x22d)]);var Ri=Object[_0x30a490(0x2c2)],yi=(_0xd15602,_0x4ae3a9,_0x149626,_0x3082a7)=>{var _0x2a411b=_0x30a490;for(var _0x210caa=_0x3082a7>0x1?void 0x0:_0x3082a7?Ri(_0x4ae3a9,_0x149626):_0x4ae3a9,_0x546214=_0xd15602[_0x2a411b(0x31c)]-0x1,_0x23cdd0;_0x546214>=0x0;_0x546214--)(_0x23cdd0=_0xd15602[_0x546214])&&(_0x210caa=_0x23cdd0(_0x210caa)||_0x210caa);return _0x210caa;},Je=(_0x552ad2,_0x376666)=>(_0x4b7653,_0x2d6f40)=>_0x376666(_0x4b7653,_0x2d6f40,_0x552ad2);const Oi=_0x30a490(0x45f),Ni='Univer';let He=class extends a['Disposable']{constructor(_0x265116,_0x2c27c2){var _0x2eaed8=_0x30a490;super(),this[_0x2eaed8(0x32b)]=_0x265116,this['_configService']=_0x2c27c2,this[_0x2eaed8(0x3e4)]();}[_0x30a490(0x3e4)](){var _0x1a6dfc=_0x30a490;this[_0x1a6dfc(0x3f2)](this[_0x1a6dfc(0x32b)][_0x1a6dfc(0x321)][_0x1a6dfc(0x2d4)](()=>{var _0x5f4571=_0x1a6dfc,_0x299e2f;const _0x38290b=this[_0x5f4571(0x32b)][_0x5f4571(0x3d4)]();let _0x2f8470=(_0x299e2f=this[_0x5f4571(0x42f)][_0x5f4571(0x2bc)](Oi))!=null?_0x299e2f:Ni;_0x38290b instanceof a[_0x5f4571(0x2ca)]&&(_0x2f8470=_0x38290b[_0x5f4571(0x22b)]),document[_0x5f4571(0x42b)]=_0x2f8470;}));}};He=yi([Je(0x0,a[_0x30a490(0x2f7)]),Je(0x1,a[_0x30a490(0x2cf)])],He);var Di=Object[_0x30a490(0x2c2)],Ui=(_0x541025,_0x375731,_0x110fe4,_0xe88667)=>{var _0x8682d8=_0x30a490;for(var _0x8c4d00=_0xe88667>0x1?void 0x0:_0xe88667?Di(_0x375731,_0x110fe4):_0x375731,_0x414c39=_0x541025[_0x8682d8(0x31c)]-0x1,_0x777223;_0x414c39>=0x0;_0x414c39--)(_0x777223=_0x541025[_0x414c39])&&(_0x8c4d00=_0x777223(_0x8c4d00)||_0x8c4d00);return _0x8c4d00;},we=(_0xcf518,_0x587d36)=>(_0xfed688,_0x526894)=>_0x587d36(_0xfed688,_0x526894,_0xcf518);let Oe=class{constructor(_0x38556c,_0x9cba5c,_0x482fdc){var _0x5ef5f9=_0x30a490;this[_0x5ef5f9(0x42f)]=_0x38556c,this[_0x5ef5f9(0x353)]=_0x9cba5c,this[_0x5ef5f9(0x2c1)]=_0x482fdc,this[_0x5ef5f9(0x1b0)]();}['init'](){var _0x598603=_0x30a490;this[_0x598603(0x353)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x509a9c,_0x5c5755)=>_0x5c5755(_0x509a9c)[_0x598603(0x286)](j[_0x598603(0x378)](async _0x3f36cf=>{var _0x41d867=_0x598603;const _0x3aec8b=_0x3f36cf;if(_0x3aec8b[_0x41d867(0x2fc)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x41d867(0x2dd)](this[_0x41d867(0x2c1)]['t'](_0x41d867(0x1bb)))){const _0x52cc99=window['encodeURIComponent'](window['location'][_0x41d867(0x243)]);window[_0x41d867(0x3fd)]['href']=this['_getLoginPath']()+_0x41d867(0x4d8)+_0x52cc99;}}return _0x3aec8b;}))});}[_0x30a490(0x474)](){var _0x1e7232=_0x30a490,_0x217df6,_0x5ec6ef;const _0x318071=this[_0x1e7232(0x42f)]['getConfig'](Et),_0x5c22f3=this['_configService'][_0x1e7232(0x2bc)](Y);return(_0x5ec6ef=(_0x217df6=_0x5c22f3==null?void 0x0:_0x5c22f3[_0x1e7232(0x452)])!=null?_0x217df6:_0x318071)!=null?_0x5ec6ef:Yt;}};Oe=Ui([we(0x0,a[_0x30a490(0x2cf)]),we(0x1,a[_0x30a490(0x3af)](q[_0x30a490(0x270)])),we(0x2,a['Inject'](a['LocaleService']))],Oe);var Ai=Object[_0x30a490(0x2c2)],Pi=(_0x4680b1,_0x3c1e49,_0x24c39a,_0x1f966b)=>{var _0x3ebd14=_0x30a490;for(var _0xffa160=_0x1f966b>0x1?void 0x0:_0x1f966b?Ai(_0x3c1e49,_0x24c39a):_0x3c1e49,_0x3d4c3e=_0x4680b1[_0x3ebd14(0x31c)]-0x1,_0x576560;_0x3d4c3e>=0x0;_0x3d4c3e--)(_0x576560=_0x4680b1[_0x3d4c3e])&&(_0xffa160=_0x576560(_0xffa160)||_0xffa160);return _0xffa160;},Xe=(_0x1ece9a,_0x3ea14b)=>(_0x4773c5,_0x625b6d)=>_0x3ea14b(_0x4773c5,_0x625b6d,_0x1ece9a);const Ge='AUTHZ_URL_KEY',wi='/universer-api/authz';exports['AuthzIoHttpService']=class extends a[_0x30a490(0x45b)]{constructor(_0x8d41c6,_0x124eba){var _0x4206a5=_0x30a490;super(),this[_0x4206a5(0x2e8)]=_0x8d41c6,this[_0x4206a5(0x42f)]=_0x124eba,this[_0x4206a5(0x4ac)]();}[_0x30a490(0x4ac)](){var _0x227d9e=_0x30a490;const _0x5abd41=this;this['disposeWithMe'](this['_HTTPService'][_0x227d9e(0x20d)]({'priority':0x3e7,'interceptor':q[_0x227d9e(0x36f)]({'isMatch'(_0x38de6b){var _0x5dedbb=_0x227d9e,_0x5d6497;if(_0x38de6b[_0x5dedbb(0x2bb)]===_0x5dedbb(0x17e)&&((_0x5d6497=_0x38de6b[_0x5dedbb(0x1e6)])!=null&&_0x5d6497[_0x5dedbb(0x17c)])){const {objectID:_0x1e05fd,objectType:_0x26e2ab}=_0x38de6b[_0x5dedbb(0x1e6)][_0x5dedbb(0x17c)]||{};if(!_0x1e05fd||_0x26e2ab===void 0x0)return!0x1;const _0x4c6ab8=_0x5abd41[_0x5dedbb(0x1d4)]()+'/'+_0x26e2ab+'/object/'+_0x1e05fd+'/allowed';if(_0x38de6b[_0x5dedbb(0x25b)]===_0x4c6ab8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x179e6d){var _0x2672ff=_0x227d9e,_0x57ec99;return(_0x57ec99=_0x179e6d[_0x2672ff(0x1e6)])==null?void 0x0:_0x57ec99[_0x2672ff(0x17c)];},'mergeParamsToRequest'(_0xd84b52,_0x28bc65){var _0x1496f0=_0x227d9e;const _0x4ac7da=_0x5abd41[_0x1496f0(0x1d4)]()+_0x1496f0(0x42a),_0x31e860=_0xd84b52['reduce']((_0x5d1851,_0x49914b)=>{var _0x16e5b4=_0x1496f0;const {unitID:_0x3e711c,objectID:_0x1ed343,objectType:_0x96c5a7,actions:_0x83e97b}=_0x49914b;return _0x5d1851[_0x3e711c]||(_0x5d1851[_0x3e711c]={}),_0x5d1851[_0x3e711c][_0x1ed343]||(_0x5d1851[_0x3e711c][_0x1ed343]={'objectID':_0x1ed343,'objectType':_0x96c5a7,'actions':[]}),_0x5d1851[_0x3e711c][_0x1ed343]['actions'][_0x16e5b4(0x2ab)](..._0x83e97b),_0x5d1851;},{}),_0x599a12=[];for(const _0x42ed99 in _0x31e860)for(const _0x9d6984 in _0x31e860[_0x42ed99]){const {actions:_0x1986e6,objectType:_0x38e0bf}=_0x31e860[_0x42ed99][_0x9d6984],_0x4a8dcc=[...new Set(_0x1986e6)];_0x599a12[_0x1496f0(0x2ab)]({'unitID':_0x42ed99,'objectID':_0x9d6984,'objectType':_0x38e0bf,'actions':_0x4a8dcc});}return new q[(_0x1496f0(0x4da))](_0x1496f0(0x17e),_0x4ac7da,{'headers':_0x28bc65[_0x1496f0(0x1f5)],'withCredentials':_0x28bc65[_0x1496f0(0x4a9)],'responseType':_0x28bc65[_0x1496f0(0x2bd)],'body':{'requests':_0x599a12}});}},{'distributeResult'(_0x14b7da,_0x5a779b){var _0x39d338=_0x227d9e;const {objectActions:_0x31c85d}=_0x14b7da;return _0x5a779b[_0x39d338(0x33c)](_0x19ba2f=>{var _0x4b9768=_0x39d338;const {unitID:_0x4b70af,objectID:_0x2ed966,actions:_0xc69672}=_0x19ba2f,_0x4c3314=_0x31c85d['find'](_0x258eae=>_0x258eae[_0x4b9768(0x272)]===_0x4b70af&&_0x258eae[_0x4b9768(0x431)]===_0x2ed966),_0x1418d3=_0xc69672[_0x4b9768(0x33c)](_0x20a6b3=>_0x4c3314==null?void 0x0:_0x4c3314[_0x4b9768(0x428)][_0x4b9768(0x3d5)](_0x7db5fe=>_0x7db5fe['action']===_0x20a6b3))[_0x4b9768(0x479)](_0x2c7868=>!!_0x2c7868);return{'config':_0x19ba2f,'result':{'actions':_0x1418d3,'error':_0x14b7da[_0x4b9768(0x29c)]}};});}})}));}['_getAPIPrefixPath'](){var _0x27e720=_0x30a490,_0x6662b,_0x3e749a;const _0x21af4c=this[_0x27e720(0x42f)]['getConfig'](Ge),_0x1b9407=this[_0x27e720(0x42f)]['getConfig'](Y);return(_0x3e749a=(_0x6662b=_0x1b9407==null?void 0x0:_0x1b9407[_0x27e720(0x24f)])!=null?_0x6662b:_0x21af4c)!=null?_0x3e749a:wi;}async['create'](_0x4552db){var _0x4ed55f=_0x30a490;const _0x5d75cc=this[_0x4ed55f(0x1d4)]()+'/'+_0x4552db['objectType']+_0x4ed55f(0x1d0);return(await this[_0x4ed55f(0x2e8)]['post'](_0x5d75cc,{'body':_0x4552db}))[_0x4ed55f(0x17c)][_0x4ed55f(0x431)]||'';}async[_0x30a490(0x3de)](_0x205078){var _0x204ade=_0x30a490;const _0x2ae2e9=this[_0x204ade(0x1d4)]()+'/-/object/list';return(await this[_0x204ade(0x2e8)]['post'](_0x2ae2e9,{'body':_0x205078}))[_0x204ade(0x17c)][_0x204ade(0x371)];}async[_0x30a490(0x489)](_0x889fea){var _0x197cdc=_0x30a490,_0x49aa0c,_0x3577eb;const _0x3d1e8d=this['_getAPIPrefixPath']()+'/'+_0x889fea[_0x197cdc(0x42e)]+'/object/'+_0x889fea[_0x197cdc(0x431)],_0x1ff5ee=await this['_HTTPService'][_0x197cdc(0x462)](_0x3d1e8d,{'body':_0x889fea});if(((_0x3577eb=(_0x49aa0c=_0x1ff5ee==null?void 0x0:_0x1ff5ee['body'])==null?void 0x0:_0x49aa0c[_0x197cdc(0x29c)])==null?void 0x0:_0x3577eb[_0x197cdc(0x36b)])!==0x1)throw new Error(_0x197cdc(0x420));}async[_0x30a490(0x449)](_0x396937){var _0x11538c=_0x30a490;const _0x389159=this[_0x11538c(0x1d4)]()+'/'+_0x396937['objectType']+_0x11538c(0x408)+_0x396937[_0x11538c(0x431)]+_0x11538c(0x329);return(await this[_0x11538c(0x2e8)]['post'](_0x389159,{'body':_0x396937}))[_0x11538c(0x17c)][_0x11538c(0x428)];}async[_0x30a490(0x1a1)](_0x14708e){var _0xa09a69=_0x30a490;const _0x28bf3e=this[_0xa09a69(0x1d4)]()+_0xa09a69(0x42a);return(await this[_0xa09a69(0x2e8)][_0xa09a69(0x1d2)](_0x28bf3e,{'body':{'requests':_0x14708e}}))[_0xa09a69(0x17c)][_0xa09a69(0x382)];}async['listRoles'](_0x53bb08){var _0x38d016=_0x30a490;const _0x4ecaa4=this[_0x38d016(0x1d4)]()+'/'+_0x53bb08[_0x38d016(0x42e)]+_0x38d016(0x292),_0x2402c5=await this[_0x38d016(0x2e8)][_0x38d016(0x1d2)](_0x4ecaa4,{'body':_0x53bb08});return{'roles':_0x2402c5[_0x38d016(0x17c)][_0x38d016(0x377)],'actions':_0x2402c5[_0x38d016(0x17c)][_0x38d016(0x428)]};}async[_0x30a490(0x3d9)](_0x5857ec){var _0xebbb1=_0x30a490;const _0x1af21c=this[_0xebbb1(0x1d4)]()+'/collaborator';await this['_HTTPService']['delete'](_0x1af21c,{'params':{'collaboratorID':_0x5857ec['collaboratorID'],'objectID':_0x5857ec['objectID'],'unitID':_0x5857ec['unitID']}});}async[_0x30a490(0x444)](_0x4196c3){var _0x170ec5=_0x30a490;const _0xb0795=this[_0x170ec5(0x1d4)]()+_0x170ec5(0x400);await this[_0x170ec5(0x2e8)][_0x170ec5(0x277)](_0xb0795,{'body':_0x4196c3});}async[_0x30a490(0x1b5)](_0x90b616){var _0x1381e1=_0x30a490;const _0x466246=this[_0x1381e1(0x1d4)]()+'/collaborator';await this[_0x1381e1(0x2e8)][_0x1381e1(0x1d2)](_0x466246,{'body':_0x90b616});}async[_0x30a490(0x42d)](_0x5ce501){var _0xdb1fb9=_0x30a490;const _0x324d26=this[_0xdb1fb9(0x1d4)]()+_0xdb1fb9(0x400);return(await this[_0xdb1fb9(0x2e8)][_0xdb1fb9(0x31a)](_0x324d26,{'params':{'objectID':_0x5ce501[_0xdb1fb9(0x431)],'unitID':_0x5ce501[_0xdb1fb9(0x272)]}}))['body'][_0xdb1fb9(0x4bc)];}async[_0x30a490(0x25f)](_0x56144d){var _0xe3ca0c=_0x30a490;const _0x2c72a4=this[_0xe3ca0c(0x1d4)]()+_0xe3ca0c(0x400);await this['_HTTPService']['put'](_0x2c72a4,{'body':_0x56144d});}},exports['AuthzIoHttpService']=Pi([Xe(0x0,a[_0x30a490(0x3af)](q[_0x30a490(0x270)])),Xe(0x1,a[_0x30a490(0x3af)](a[_0x30a490(0x2cf)]))],exports['AuthzIoHttpService']);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x563786){var _0x58434d=_0x30a490;return _0x563786&&_0x563786[_0x58434d(0x290)]&&Object[_0x58434d(0x173)][_0x58434d(0x240)][_0x58434d(0x356)](_0x563786,_0x58434d(0x264))?_0x563786[_0x58434d(0x264)]:_0x563786;}var fe={'exports':{}};function Li(_0x614d8e){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x614d8e+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Mi=pe[_0x30a490(0x4b3)],Ze;function ee(){var _0x35b339=_0x30a490;return Ze||(Ze=0x1,function(_0x24d15e,_0x314fe6){(function(_0x19bb86,_0x3a20bd){_0x24d15e['exports']=_0x3a20bd();}(Mi,function(){var _0x59d98f=_0x59d98f||function(_0x1a6fb8,_0x402508){var _0x527ca9=_0x2a67,_0x365c6e;if(typeof window<'u'&&window[_0x527ca9(0x351)]&&(_0x365c6e=window[_0x527ca9(0x351)]),typeof self<'u'&&self['crypto']&&(_0x365c6e=self[_0x527ca9(0x351)]),typeof globalThis<'u'&&globalThis[_0x527ca9(0x351)]&&(_0x365c6e=globalThis['crypto']),!_0x365c6e&&typeof window<'u'&&window[_0x527ca9(0x2ef)]&&(_0x365c6e=window[_0x527ca9(0x2ef)]),!_0x365c6e&&typeof Le<'u'&&Le[_0x527ca9(0x351)]&&(_0x365c6e=Le[_0x527ca9(0x351)]),!_0x365c6e&&typeof Li=='function')try{_0x365c6e=require(_0x527ca9(0x351));}catch{}var _0x5ca2fa=function(){var _0x41c3a6=_0x527ca9;if(_0x365c6e){if(typeof _0x365c6e[_0x41c3a6(0x180)]==_0x41c3a6(0x47a))try{return _0x365c6e[_0x41c3a6(0x180)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x365c6e['randomBytes']=='function')try{return _0x365c6e[_0x41c3a6(0x1c3)](0x4)[_0x41c3a6(0x370)]();}catch{}}throw new Error(_0x41c3a6(0x294));},_0x25d464=Object['create']||(function(){function _0x423b51(){}return function(_0x30c8f3){var _0x540e2b;return _0x423b51['prototype']=_0x30c8f3,_0x540e2b=new _0x423b51(),_0x423b51['prototype']=null,_0x540e2b;};}()),_0xf940bd={},_0x11822e=_0xf940bd[_0x527ca9(0x4a2)]={},_0x2956dd=_0x11822e['Base']=(function(){return{'extend':function(_0x5b8ac5){var _0x54636e=_0x2a67,_0x58d06c=_0x25d464(this);return _0x5b8ac5&&_0x58d06c[_0x54636e(0x222)](_0x5b8ac5),(!_0x58d06c[_0x54636e(0x240)]('init')||this['init']===_0x58d06c[_0x54636e(0x1b0)])&&(_0x58d06c[_0x54636e(0x1b0)]=function(){var _0x1c4d7e=_0x54636e;_0x58d06c['$super']['init'][_0x1c4d7e(0x254)](this,arguments);}),_0x58d06c[_0x54636e(0x1b0)]['prototype']=_0x58d06c,_0x58d06c[_0x54636e(0x1b1)]=this,_0x58d06c;},'create':function(){var _0x7647b1=_0x2a67,_0x275cd6=this[_0x7647b1(0x439)]();return _0x275cd6[_0x7647b1(0x1b0)][_0x7647b1(0x254)](_0x275cd6,arguments),_0x275cd6;},'init':function(){},'mixIn':function(_0x5e4ed1){var _0x1eeaa7=_0x2a67;for(var _0x420e2b in _0x5e4ed1)_0x5e4ed1['hasOwnProperty'](_0x420e2b)&&(this[_0x420e2b]=_0x5e4ed1[_0x420e2b]);_0x5e4ed1[_0x1eeaa7(0x240)](_0x1eeaa7(0x475))&&(this[_0x1eeaa7(0x475)]=_0x5e4ed1['toString']);},'clone':function(){var _0x56a898=_0x2a67;return this[_0x56a898(0x1b0)][_0x56a898(0x173)][_0x56a898(0x439)](this);}};}()),_0x365276=_0x11822e['WordArray']=_0x2956dd[_0x527ca9(0x439)]({'init':function(_0x5c2d09,_0x41748e){var _0x2ce824=_0x527ca9;_0x5c2d09=this['words']=_0x5c2d09||[],_0x41748e!=_0x402508?this['sigBytes']=_0x41748e:this[_0x2ce824(0x1fe)]=_0x5c2d09[_0x2ce824(0x31c)]*0x4;},'toString':function(_0x59313a){return(_0x59313a||_0x4fdac3)['stringify'](this);},'concat':function(_0x9a96f1){var _0x34f882=_0x527ca9,_0x12971f=this[_0x34f882(0x1ca)],_0x49c7e0=_0x9a96f1[_0x34f882(0x1ca)],_0x3dd6e3=this[_0x34f882(0x1fe)],_0x43f907=_0x9a96f1[_0x34f882(0x1fe)];if(this['clamp'](),_0x3dd6e3%0x4)for(var _0x13c68a=0x0;_0x13c68a<_0x43f907;_0x13c68a++){var _0x2efa44=_0x49c7e0[_0x13c68a>>>0x2]>>>0x18-_0x13c68a%0x4*0x8&0xff;_0x12971f[_0x3dd6e3+_0x13c68a>>>0x2]|=_0x2efa44<<0x18-(_0x3dd6e3+_0x13c68a)%0x4*0x8;}else{for(var _0x3384e9=0x0;_0x3384e9<_0x43f907;_0x3384e9+=0x4)_0x12971f[_0x3dd6e3+_0x3384e9>>>0x2]=_0x49c7e0[_0x3384e9>>>0x2];}return this[_0x34f882(0x1fe)]+=_0x43f907,this;},'clamp':function(){var _0x59480d=_0x527ca9,_0x33e835=this[_0x59480d(0x1ca)],_0x44a06d=this[_0x59480d(0x1fe)];_0x33e835[_0x44a06d>>>0x2]&=0xffffffff<<0x20-_0x44a06d%0x4*0x8,_0x33e835[_0x59480d(0x31c)]=_0x1a6fb8[_0x59480d(0x25c)](_0x44a06d/0x4);},'clone':function(){var _0x4ecc2d=_0x527ca9,_0x2cea30=_0x2956dd['clone'][_0x4ecc2d(0x356)](this);return _0x2cea30[_0x4ecc2d(0x1ca)]=this[_0x4ecc2d(0x1ca)][_0x4ecc2d(0x322)](0x0),_0x2cea30;},'random':function(_0x5ab3ca){var _0x117445=_0x527ca9;for(var _0x3eb2a1=[],_0x4fabce=0x0;_0x4fabce<_0x5ab3ca;_0x4fabce+=0x4)_0x3eb2a1[_0x117445(0x2ab)](_0x5ca2fa());return new _0x365276[(_0x117445(0x1b0))](_0x3eb2a1,_0x5ab3ca);}}),_0x18e724=_0xf940bd[_0x527ca9(0x433)]={},_0x4fdac3=_0x18e724[_0x527ca9(0x1e7)]={'stringify':function(_0x4a9f87){var _0x16265b=_0x527ca9;for(var _0x58fc7b=_0x4a9f87['words'],_0x47077f=_0x4a9f87[_0x16265b(0x1fe)],_0x3a7ec6=[],_0x2132b6=0x0;_0x2132b6<_0x47077f;_0x2132b6++){var _0x264998=_0x58fc7b[_0x2132b6>>>0x2]>>>0x18-_0x2132b6%0x4*0x8&0xff;_0x3a7ec6[_0x16265b(0x2ab)]((_0x264998>>>0x4)[_0x16265b(0x475)](0x10)),_0x3a7ec6[_0x16265b(0x2ab)]((_0x264998&0xf)[_0x16265b(0x475)](0x10));}return _0x3a7ec6[_0x16265b(0x2b0)]('');},'parse':function(_0x4c872e){var _0x4a1afe=_0x527ca9;for(var _0x1c50d3=_0x4c872e['length'],_0x431157=[],_0x11fd6e=0x0;_0x11fd6e<_0x1c50d3;_0x11fd6e+=0x2)_0x431157[_0x11fd6e>>>0x3]|=parseInt(_0x4c872e['substr'](_0x11fd6e,0x2),0x10)<<0x18-_0x11fd6e%0x8*0x4;return new _0x365276[(_0x4a1afe(0x1b0))](_0x431157,_0x1c50d3/0x2);}},_0x5f1c3=_0x18e724['Latin1']={'stringify':function(_0x3548ed){var _0xadff8f=_0x527ca9;for(var _0x109996=_0x3548ed['words'],_0x2b8ba1=_0x3548ed['sigBytes'],_0x436887=[],_0x2ad43c=0x0;_0x2ad43c<_0x2b8ba1;_0x2ad43c++){var _0x19bd48=_0x109996[_0x2ad43c>>>0x2]>>>0x18-_0x2ad43c%0x4*0x8&0xff;_0x436887[_0xadff8f(0x2ab)](String[_0xadff8f(0x481)](_0x19bd48));}return _0x436887[_0xadff8f(0x2b0)]('');},'parse':function(_0x218417){var _0xed4634=_0x527ca9;for(var _0x19c149=_0x218417[_0xed4634(0x31c)],_0x475a99=[],_0x528643=0x0;_0x528643<_0x19c149;_0x528643++)_0x475a99[_0x528643>>>0x2]|=(_0x218417[_0xed4634(0x3ac)](_0x528643)&0xff)<<0x18-_0x528643%0x4*0x8;return new _0x365276[(_0xed4634(0x1b0))](_0x475a99,_0x19c149);}},_0x1975ee=_0x18e724['Utf8']={'stringify':function(_0x23b818){var _0x5b4b75=_0x527ca9;try{return decodeURIComponent(escape(_0x5f1c3[_0x5b4b75(0x305)](_0x23b818)));}catch{throw new Error(_0x5b4b75(0x258));}},'parse':function(_0x2f517c){var _0x5f23d6=_0x527ca9;return _0x5f1c3[_0x5f23d6(0x212)](unescape(encodeURIComponent(_0x2f517c)));}},_0x271e3e=_0x11822e[_0x527ca9(0x177)]=_0x2956dd[_0x527ca9(0x439)]({'reset':function(){var _0x51414e=_0x527ca9;this[_0x51414e(0x314)]=new _0x365276[(_0x51414e(0x1b0))](),this[_0x51414e(0x330)]=0x0;},'_append':function(_0x28d629){var _0x130a88=_0x527ca9;typeof _0x28d629=='string'&&(_0x28d629=_0x1975ee[_0x130a88(0x212)](_0x28d629)),this[_0x130a88(0x314)][_0x130a88(0x33a)](_0x28d629),this[_0x130a88(0x330)]+=_0x28d629[_0x130a88(0x1fe)];},'_process':function(_0x2496b9){var _0x1a515a=_0x527ca9,_0x23a04c,_0x4bbb1a=this[_0x1a515a(0x314)],_0x32b934=_0x4bbb1a[_0x1a515a(0x1ca)],_0x19af10=_0x4bbb1a[_0x1a515a(0x1fe)],_0x26a829=this[_0x1a515a(0x30e)],_0x46b532=_0x26a829*0x4,_0xa29ae5=_0x19af10/_0x46b532;_0x2496b9?_0xa29ae5=_0x1a6fb8[_0x1a515a(0x25c)](_0xa29ae5):_0xa29ae5=_0x1a6fb8['max']((_0xa29ae5|0x0)-this[_0x1a515a(0x2d2)],0x0);var _0x13199b=_0xa29ae5*_0x26a829,_0x5e484b=_0x1a6fb8[_0x1a515a(0x417)](_0x13199b*0x4,_0x19af10);if(_0x13199b){for(var _0x15204a=0x0;_0x15204a<_0x13199b;_0x15204a+=_0x26a829)this[_0x1a515a(0x4e2)](_0x32b934,_0x15204a);_0x23a04c=_0x32b934[_0x1a515a(0x2ed)](0x0,_0x13199b),_0x4bbb1a[_0x1a515a(0x1fe)]-=_0x5e484b;}return new _0x365276[(_0x1a515a(0x1b0))](_0x23a04c,_0x5e484b);},'clone':function(){var _0x18a2e1=_0x527ca9,_0xccf14e=_0x2956dd[_0x18a2e1(0x496)][_0x18a2e1(0x356)](this);return _0xccf14e[_0x18a2e1(0x314)]=this[_0x18a2e1(0x314)]['clone'](),_0xccf14e;},'_minBufferSize':0x0});_0x11822e[_0x527ca9(0x386)]=_0x271e3e['extend']({'cfg':_0x2956dd['extend'](),'init':function(_0x1dda3c){var _0x213d22=_0x527ca9;this[_0x213d22(0x1af)]=this[_0x213d22(0x1af)][_0x213d22(0x439)](_0x1dda3c),this['reset']();},'reset':function(){var _0x382a0c=_0x527ca9;_0x271e3e[_0x382a0c(0x47c)][_0x382a0c(0x356)](this),this['_doReset']();},'update':function(_0x497fae){var _0x5c3a13=_0x527ca9;return this[_0x5c3a13(0x209)](_0x497fae),this[_0x5c3a13(0x3ed)](),this;},'finalize':function(_0x5a83f9){var _0x3d9b56=_0x527ca9;_0x5a83f9&&this[_0x3d9b56(0x209)](_0x5a83f9);var _0x2c14bb=this['_doFinalize']();return _0x2c14bb;},'blockSize':0x10,'_createHelper':function(_0x295d4b){return function(_0x3bc479,_0x291b81){var _0x34c3ba=_0x2a67;return new _0x295d4b[(_0x34c3ba(0x1b0))](_0x291b81)[_0x34c3ba(0x390)](_0x3bc479);};},'_createHmacHelper':function(_0x3b20fe){return function(_0xe71e84,_0x3e417c){var _0xc64699=_0x2a67;return new _0x51c3b7[(_0xc64699(0x413))][(_0xc64699(0x1b0))](_0x3b20fe,_0x3e417c)[_0xc64699(0x390)](_0xe71e84);};}});var _0x51c3b7=_0xf940bd[_0x527ca9(0x302)]={};return _0xf940bd;}(Math);return _0x59d98f;}));}(pe)),pe[_0x35b339(0x4b3)];}var ge={'exports':{}},xi=ge['exports'],Qe;function Ut(){var _0x5633ae=_0x30a490;return Qe||(Qe=0x1,function(_0x3694e3,_0x2c0b6a){(function(_0x348212,_0xf2090d){var _0x287293=_0x2a67;_0x3694e3[_0x287293(0x4b3)]=_0xf2090d(ee());}(xi,function(_0xb916b8){var _0x1328f0=_0x2a67;return(function(){var _0x52347e=_0x2a67,_0x4616bf=_0xb916b8,_0x47de6a=_0x4616bf[_0x52347e(0x4a2)],_0x13ef27=_0x47de6a[_0x52347e(0x2da)],_0x3f1fed=_0x4616bf['enc'];_0x3f1fed[_0x52347e(0x4b2)]={'stringify':function(_0x1926d6){var _0x183489=_0x52347e,_0x21676c=_0x1926d6[_0x183489(0x1ca)],_0x2ed74b=_0x1926d6[_0x183489(0x1fe)],_0x48c381=this[_0x183489(0x3f5)];_0x1926d6[_0x183489(0x1c5)]();for(var _0x2dfd06=[],_0x211fa6=0x0;_0x211fa6<_0x2ed74b;_0x211fa6+=0x3)for(var _0x190c9a=_0x21676c[_0x211fa6>>>0x2]>>>0x18-_0x211fa6%0x4*0x8&0xff,_0xe2ecac=_0x21676c[_0x211fa6+0x1>>>0x2]>>>0x18-(_0x211fa6+0x1)%0x4*0x8&0xff,_0xadbf56=_0x21676c[_0x211fa6+0x2>>>0x2]>>>0x18-(_0x211fa6+0x2)%0x4*0x8&0xff,_0x40ebd5=_0x190c9a<<0x10|_0xe2ecac<<0x8|_0xadbf56,_0x45ee4d=0x0;_0x45ee4d<0x4&&_0x211fa6+_0x45ee4d*0.75<_0x2ed74b;_0x45ee4d++)_0x2dfd06[_0x183489(0x2ab)](_0x48c381[_0x183489(0x2a7)](_0x40ebd5>>>0x6*(0x3-_0x45ee4d)&0x3f));var _0x49a4e7=_0x48c381[_0x183489(0x2a7)](0x40);if(_0x49a4e7){for(;_0x2dfd06['length']%0x4;)_0x2dfd06[_0x183489(0x2ab)](_0x49a4e7);}return _0x2dfd06[_0x183489(0x2b0)]('');},'parse':function(_0x5e8e86){var _0x5de4c1=_0x52347e,_0x5795bf=_0x5e8e86[_0x5de4c1(0x31c)],_0x18a4bb=this['_map'],_0x212715=this['_reverseMap'];if(!_0x212715){_0x212715=this[_0x5de4c1(0x1e2)]=[];for(var _0x368c5e=0x0;_0x368c5e<_0x18a4bb[_0x5de4c1(0x31c)];_0x368c5e++)_0x212715[_0x18a4bb[_0x5de4c1(0x3ac)](_0x368c5e)]=_0x368c5e;}var _0x29e08e=_0x18a4bb['charAt'](0x40);if(_0x29e08e){var _0x951f70=_0x5e8e86[_0x5de4c1(0x1b7)](_0x29e08e);_0x951f70!==-0x1&&(_0x5795bf=_0x951f70);}return _0x411a96(_0x5e8e86,_0x5795bf,_0x212715);},'_map':_0x52347e(0x331)};function _0x411a96(_0x1ffa63,_0x4c9138,_0x5a41a0){var _0x38ea47=_0x52347e;for(var _0xd1b14e=[],_0x1ff464=0x0,_0x412a4d=0x0;_0x412a4d<_0x4c9138;_0x412a4d++)if(_0x412a4d%0x4){var _0x44445e=_0x5a41a0[_0x1ffa63[_0x38ea47(0x3ac)](_0x412a4d-0x1)]<<_0x412a4d%0x4*0x2,_0x33f8f3=_0x5a41a0[_0x1ffa63[_0x38ea47(0x3ac)](_0x412a4d)]>>>0x6-_0x412a4d%0x4*0x2,_0x21c2f8=_0x44445e|_0x33f8f3;_0xd1b14e[_0x1ff464>>>0x2]|=_0x21c2f8<<0x18-_0x1ff464%0x4*0x8,_0x1ff464++;}return _0x13ef27[_0x38ea47(0x3f0)](_0xd1b14e,_0x1ff464);}}()),_0xb916b8[_0x1328f0(0x433)]['Base64'];}));}(ge)),ge[_0x5633ae(0x4b3)];}var me={'exports':{}},ki=me['exports'],et;function Hi(){var _0x167a3f=_0x30a490;return et||(et=0x1,function(_0x5cb55d,_0x22b822){(function(_0xa8b385,_0x13baa4){var _0x41995b=_0x2a67;_0x5cb55d[_0x41995b(0x4b3)]=_0x13baa4(ee());}(ki,function(_0x21dd1c){var _0x580b48=_0x2a67;return function(_0x22e8b8){var _0x48321e=_0x2a67,_0x5c4f5b=_0x21dd1c,_0x18302f=_0x5c4f5b[_0x48321e(0x4a2)],_0x186643=_0x18302f[_0x48321e(0x2da)],_0x97a2aa=_0x18302f[_0x48321e(0x386)],_0x3e096b=_0x5c4f5b[_0x48321e(0x302)],_0x17ab1f=[];(function(){var _0x5b7372=_0x48321e;for(var _0xed5875=0x0;_0xed5875<0x40;_0xed5875++)_0x17ab1f[_0xed5875]=_0x22e8b8[_0x5b7372(0x257)](_0x22e8b8[_0x5b7372(0x381)](_0xed5875+0x1))*0x100000000|0x0;}());var _0xe415ab=_0x3e096b[_0x48321e(0x1e4)]=_0x97a2aa[_0x48321e(0x439)]({'_doReset':function(){var _0x4e8808=_0x48321e;this[_0x4e8808(0x23e)]=new _0x186643['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x133fdc,_0x3f1683){for(var _0x512463=0x0;_0x512463<0x10;_0x512463++){var _0x3102b2=_0x3f1683+_0x512463,_0x26f407=_0x133fdc[_0x3102b2];_0x133fdc[_0x3102b2]=(_0x26f407<<0x8|_0x26f407>>>0x18)&0xff00ff|(_0x26f407<<0x18|_0x26f407>>>0x8)&0xff00ff00;}var _0x38276d=this['_hash']['words'],_0x1342be=_0x133fdc[_0x3f1683+0x0],_0x189027=_0x133fdc[_0x3f1683+0x1],_0x47b888=_0x133fdc[_0x3f1683+0x2],_0x5e973f=_0x133fdc[_0x3f1683+0x3],_0x422b53=_0x133fdc[_0x3f1683+0x4],_0x5f439b=_0x133fdc[_0x3f1683+0x5],_0x8afd5d=_0x133fdc[_0x3f1683+0x6],_0x43559d=_0x133fdc[_0x3f1683+0x7],_0x17d95d=_0x133fdc[_0x3f1683+0x8],_0x564a8d=_0x133fdc[_0x3f1683+0x9],_0x54cca=_0x133fdc[_0x3f1683+0xa],_0x127e82=_0x133fdc[_0x3f1683+0xb],_0x355f6c=_0x133fdc[_0x3f1683+0xc],_0x41bcb2=_0x133fdc[_0x3f1683+0xd],_0x3eceeb=_0x133fdc[_0x3f1683+0xe],_0x5eac04=_0x133fdc[_0x3f1683+0xf],_0x18dd92=_0x38276d[0x0],_0x442a46=_0x38276d[0x1],_0x401499=_0x38276d[0x2],_0x59038d=_0x38276d[0x3];_0x18dd92=_0x835fb7(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x1342be,0x7,_0x17ab1f[0x0]),_0x59038d=_0x835fb7(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x189027,0xc,_0x17ab1f[0x1]),_0x401499=_0x835fb7(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x47b888,0x11,_0x17ab1f[0x2]),_0x442a46=_0x835fb7(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x5e973f,0x16,_0x17ab1f[0x3]),_0x18dd92=_0x835fb7(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x422b53,0x7,_0x17ab1f[0x4]),_0x59038d=_0x835fb7(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x5f439b,0xc,_0x17ab1f[0x5]),_0x401499=_0x835fb7(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x8afd5d,0x11,_0x17ab1f[0x6]),_0x442a46=_0x835fb7(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x43559d,0x16,_0x17ab1f[0x7]),_0x18dd92=_0x835fb7(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x17d95d,0x7,_0x17ab1f[0x8]),_0x59038d=_0x835fb7(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x564a8d,0xc,_0x17ab1f[0x9]),_0x401499=_0x835fb7(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x54cca,0x11,_0x17ab1f[0xa]),_0x442a46=_0x835fb7(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x127e82,0x16,_0x17ab1f[0xb]),_0x18dd92=_0x835fb7(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x355f6c,0x7,_0x17ab1f[0xc]),_0x59038d=_0x835fb7(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x41bcb2,0xc,_0x17ab1f[0xd]),_0x401499=_0x835fb7(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x3eceeb,0x11,_0x17ab1f[0xe]),_0x442a46=_0x835fb7(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x5eac04,0x16,_0x17ab1f[0xf]),_0x18dd92=_0x520252(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x189027,0x5,_0x17ab1f[0x10]),_0x59038d=_0x520252(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x8afd5d,0x9,_0x17ab1f[0x11]),_0x401499=_0x520252(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x127e82,0xe,_0x17ab1f[0x12]),_0x442a46=_0x520252(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x1342be,0x14,_0x17ab1f[0x13]),_0x18dd92=_0x520252(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x5f439b,0x5,_0x17ab1f[0x14]),_0x59038d=_0x520252(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x54cca,0x9,_0x17ab1f[0x15]),_0x401499=_0x520252(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x5eac04,0xe,_0x17ab1f[0x16]),_0x442a46=_0x520252(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x422b53,0x14,_0x17ab1f[0x17]),_0x18dd92=_0x520252(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x564a8d,0x5,_0x17ab1f[0x18]),_0x59038d=_0x520252(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x3eceeb,0x9,_0x17ab1f[0x19]),_0x401499=_0x520252(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x5e973f,0xe,_0x17ab1f[0x1a]),_0x442a46=_0x520252(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x17d95d,0x14,_0x17ab1f[0x1b]),_0x18dd92=_0x520252(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x41bcb2,0x5,_0x17ab1f[0x1c]),_0x59038d=_0x520252(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x47b888,0x9,_0x17ab1f[0x1d]),_0x401499=_0x520252(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x43559d,0xe,_0x17ab1f[0x1e]),_0x442a46=_0x520252(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x355f6c,0x14,_0x17ab1f[0x1f]),_0x18dd92=_0x114ef3(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x5f439b,0x4,_0x17ab1f[0x20]),_0x59038d=_0x114ef3(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x17d95d,0xb,_0x17ab1f[0x21]),_0x401499=_0x114ef3(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x127e82,0x10,_0x17ab1f[0x22]),_0x442a46=_0x114ef3(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x3eceeb,0x17,_0x17ab1f[0x23]),_0x18dd92=_0x114ef3(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x189027,0x4,_0x17ab1f[0x24]),_0x59038d=_0x114ef3(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x422b53,0xb,_0x17ab1f[0x25]),_0x401499=_0x114ef3(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x43559d,0x10,_0x17ab1f[0x26]),_0x442a46=_0x114ef3(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x54cca,0x17,_0x17ab1f[0x27]),_0x18dd92=_0x114ef3(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x41bcb2,0x4,_0x17ab1f[0x28]),_0x59038d=_0x114ef3(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x1342be,0xb,_0x17ab1f[0x29]),_0x401499=_0x114ef3(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x5e973f,0x10,_0x17ab1f[0x2a]),_0x442a46=_0x114ef3(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x8afd5d,0x17,_0x17ab1f[0x2b]),_0x18dd92=_0x114ef3(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x564a8d,0x4,_0x17ab1f[0x2c]),_0x59038d=_0x114ef3(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x355f6c,0xb,_0x17ab1f[0x2d]),_0x401499=_0x114ef3(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x5eac04,0x10,_0x17ab1f[0x2e]),_0x442a46=_0x114ef3(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x47b888,0x17,_0x17ab1f[0x2f]),_0x18dd92=_0x6a71b0(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x1342be,0x6,_0x17ab1f[0x30]),_0x59038d=_0x6a71b0(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x43559d,0xa,_0x17ab1f[0x31]),_0x401499=_0x6a71b0(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x3eceeb,0xf,_0x17ab1f[0x32]),_0x442a46=_0x6a71b0(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x5f439b,0x15,_0x17ab1f[0x33]),_0x18dd92=_0x6a71b0(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x355f6c,0x6,_0x17ab1f[0x34]),_0x59038d=_0x6a71b0(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x5e973f,0xa,_0x17ab1f[0x35]),_0x401499=_0x6a71b0(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x54cca,0xf,_0x17ab1f[0x36]),_0x442a46=_0x6a71b0(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x189027,0x15,_0x17ab1f[0x37]),_0x18dd92=_0x6a71b0(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x17d95d,0x6,_0x17ab1f[0x38]),_0x59038d=_0x6a71b0(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x5eac04,0xa,_0x17ab1f[0x39]),_0x401499=_0x6a71b0(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x8afd5d,0xf,_0x17ab1f[0x3a]),_0x442a46=_0x6a71b0(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x41bcb2,0x15,_0x17ab1f[0x3b]),_0x18dd92=_0x6a71b0(_0x18dd92,_0x442a46,_0x401499,_0x59038d,_0x422b53,0x6,_0x17ab1f[0x3c]),_0x59038d=_0x6a71b0(_0x59038d,_0x18dd92,_0x442a46,_0x401499,_0x127e82,0xa,_0x17ab1f[0x3d]),_0x401499=_0x6a71b0(_0x401499,_0x59038d,_0x18dd92,_0x442a46,_0x47b888,0xf,_0x17ab1f[0x3e]),_0x442a46=_0x6a71b0(_0x442a46,_0x401499,_0x59038d,_0x18dd92,_0x564a8d,0x15,_0x17ab1f[0x3f]),_0x38276d[0x0]=_0x38276d[0x0]+_0x18dd92|0x0,_0x38276d[0x1]=_0x38276d[0x1]+_0x442a46|0x0,_0x38276d[0x2]=_0x38276d[0x2]+_0x401499|0x0,_0x38276d[0x3]=_0x38276d[0x3]+_0x59038d|0x0;},'_doFinalize':function(){var _0x28a34b=_0x48321e,_0x386e51=this[_0x28a34b(0x314)],_0x1dcc9b=_0x386e51[_0x28a34b(0x1ca)],_0x5731d6=this['_nDataBytes']*0x8,_0x31fbe3=_0x386e51[_0x28a34b(0x1fe)]*0x8;_0x1dcc9b[_0x31fbe3>>>0x5]|=0x80<<0x18-_0x31fbe3%0x20;var _0x54fe69=_0x22e8b8[_0x28a34b(0x1fa)](_0x5731d6/0x100000000),_0x1a4769=_0x5731d6;_0x1dcc9b[(_0x31fbe3+0x40>>>0x9<<0x4)+0xf]=(_0x54fe69<<0x8|_0x54fe69>>>0x18)&0xff00ff|(_0x54fe69<<0x18|_0x54fe69>>>0x8)&0xff00ff00,_0x1dcc9b[(_0x31fbe3+0x40>>>0x9<<0x4)+0xe]=(_0x1a4769<<0x8|_0x1a4769>>>0x18)&0xff00ff|(_0x1a4769<<0x18|_0x1a4769>>>0x8)&0xff00ff00,_0x386e51[_0x28a34b(0x1fe)]=(_0x1dcc9b[_0x28a34b(0x31c)]+0x1)*0x4,this[_0x28a34b(0x3ed)]();for(var _0x2bcba2=this[_0x28a34b(0x23e)],_0x5e5e86=_0x2bcba2['words'],_0x40cf29=0x0;_0x40cf29<0x4;_0x40cf29++){var _0x1dadf0=_0x5e5e86[_0x40cf29];_0x5e5e86[_0x40cf29]=(_0x1dadf0<<0x8|_0x1dadf0>>>0x18)&0xff00ff|(_0x1dadf0<<0x18|_0x1dadf0>>>0x8)&0xff00ff00;}return _0x2bcba2;},'clone':function(){var _0x22e312=_0x48321e,_0x20c05d=_0x97a2aa[_0x22e312(0x496)][_0x22e312(0x356)](this);return _0x20c05d[_0x22e312(0x23e)]=this[_0x22e312(0x23e)][_0x22e312(0x496)](),_0x20c05d;}});function _0x835fb7(_0x33ea2c,_0xc415e8,_0x2fda84,_0x51e1b0,_0x6c1a58,_0x42dfa9,_0x54801a){var _0x426c6f=_0x33ea2c+(_0xc415e8&_0x2fda84|~_0xc415e8&_0x51e1b0)+_0x6c1a58+_0x54801a;return(_0x426c6f<<_0x42dfa9|_0x426c6f>>>0x20-_0x42dfa9)+_0xc415e8;}function _0x520252(_0x447e71,_0x28d60e,_0x488816,_0x41744c,_0x1fd266,_0x47687d,_0x3d6359){var _0x56463e=_0x447e71+(_0x28d60e&_0x41744c|_0x488816&~_0x41744c)+_0x1fd266+_0x3d6359;return(_0x56463e<<_0x47687d|_0x56463e>>>0x20-_0x47687d)+_0x28d60e;}function _0x114ef3(_0x6d43ea,_0x182c15,_0x5dc25a,_0x92ed18,_0x23748d,_0x29a0d4,_0x6aad37){var _0x4c511b=_0x6d43ea+(_0x182c15^_0x5dc25a^_0x92ed18)+_0x23748d+_0x6aad37;return(_0x4c511b<<_0x29a0d4|_0x4c511b>>>0x20-_0x29a0d4)+_0x182c15;}function _0x6a71b0(_0x41637a,_0x2929a5,_0x19ddbc,_0x2c8611,_0x1f531a,_0x197c9d,_0x3e4353){var _0xef7b9c=_0x41637a+(_0x19ddbc^(_0x2929a5|~_0x2c8611))+_0x1f531a+_0x3e4353;return(_0xef7b9c<<_0x197c9d|_0xef7b9c>>>0x20-_0x197c9d)+_0x2929a5;}_0x5c4f5b[_0x48321e(0x1e4)]=_0x97a2aa[_0x48321e(0x30a)](_0xe415ab),_0x5c4f5b['HmacMD5']=_0x97a2aa[_0x48321e(0x219)](_0xe415ab);}(Math),_0x21dd1c[_0x580b48(0x1e4)];}));}(me)),me[_0x167a3f(0x4b3)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x30a490(0x4b3)],tt;function $i(){return tt||(tt=0x1,function(_0x12c5c3,_0x2a70c8){(function(_0x6a6a3c,_0x217fc9){_0x12c5c3['exports']=_0x217fc9(ee());}(ji,function(_0x3b072d){return(function(){var _0x39ad27=_0x2a67,_0xa3e02d=_0x3b072d,_0x2d2b54=_0xa3e02d['lib'],_0x160b42=_0x2d2b54[_0x39ad27(0x2da)],_0x49f6d8=_0x2d2b54[_0x39ad27(0x386)],_0x89b763=_0xa3e02d[_0x39ad27(0x302)],_0x168a69=[],_0x5017d7=_0x89b763[_0x39ad27(0x49d)]=_0x49f6d8[_0x39ad27(0x439)]({'_doReset':function(){var _0x30c9fe=_0x39ad27;this[_0x30c9fe(0x23e)]=new _0x160b42['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x56501c,_0x37bcb9){var _0x4c9b59=_0x39ad27;for(var _0xf6a56b=this[_0x4c9b59(0x23e)][_0x4c9b59(0x1ca)],_0x4e8ace=_0xf6a56b[0x0],_0x5f3967=_0xf6a56b[0x1],_0x4f7fb0=_0xf6a56b[0x2],_0x1012cf=_0xf6a56b[0x3],_0x14c6fc=_0xf6a56b[0x4],_0x1ace40=0x0;_0x1ace40<0x50;_0x1ace40++){if(_0x1ace40<0x10)_0x168a69[_0x1ace40]=_0x56501c[_0x37bcb9+_0x1ace40]|0x0;else{var _0x522843=_0x168a69[_0x1ace40-0x3]^_0x168a69[_0x1ace40-0x8]^_0x168a69[_0x1ace40-0xe]^_0x168a69[_0x1ace40-0x10];_0x168a69[_0x1ace40]=_0x522843<<0x1|_0x522843>>>0x1f;}var _0x278baa=(_0x4e8ace<<0x5|_0x4e8ace>>>0x1b)+_0x14c6fc+_0x168a69[_0x1ace40];_0x1ace40<0x14?_0x278baa+=(_0x5f3967&_0x4f7fb0|~_0x5f3967&_0x1012cf)+0x5a827999:_0x1ace40<0x28?_0x278baa+=(_0x5f3967^_0x4f7fb0^_0x1012cf)+0x6ed9eba1:_0x1ace40<0x3c?_0x278baa+=(_0x5f3967&_0x4f7fb0|_0x5f3967&_0x1012cf|_0x4f7fb0&_0x1012cf)-0x70e44324:_0x278baa+=(_0x5f3967^_0x4f7fb0^_0x1012cf)-0x359d3e2a,_0x14c6fc=_0x1012cf,_0x1012cf=_0x4f7fb0,_0x4f7fb0=_0x5f3967<<0x1e|_0x5f3967>>>0x2,_0x5f3967=_0x4e8ace,_0x4e8ace=_0x278baa;}_0xf6a56b[0x0]=_0xf6a56b[0x0]+_0x4e8ace|0x0,_0xf6a56b[0x1]=_0xf6a56b[0x1]+_0x5f3967|0x0,_0xf6a56b[0x2]=_0xf6a56b[0x2]+_0x4f7fb0|0x0,_0xf6a56b[0x3]=_0xf6a56b[0x3]+_0x1012cf|0x0,_0xf6a56b[0x4]=_0xf6a56b[0x4]+_0x14c6fc|0x0;},'_doFinalize':function(){var _0x1b647e=_0x39ad27,_0x1bbd0b=this['_data'],_0x4797bc=_0x1bbd0b[_0x1b647e(0x1ca)],_0x358429=this[_0x1b647e(0x330)]*0x8,_0x14dc61=_0x1bbd0b[_0x1b647e(0x1fe)]*0x8;return _0x4797bc[_0x14dc61>>>0x5]|=0x80<<0x18-_0x14dc61%0x20,_0x4797bc[(_0x14dc61+0x40>>>0x9<<0x4)+0xe]=Math[_0x1b647e(0x1fa)](_0x358429/0x100000000),_0x4797bc[(_0x14dc61+0x40>>>0x9<<0x4)+0xf]=_0x358429,_0x1bbd0b[_0x1b647e(0x1fe)]=_0x4797bc[_0x1b647e(0x31c)]*0x4,this[_0x1b647e(0x3ed)](),this[_0x1b647e(0x23e)];},'clone':function(){var _0x13ed56=_0x39ad27,_0x5f3e7a=_0x49f6d8[_0x13ed56(0x496)]['call'](this);return _0x5f3e7a[_0x13ed56(0x23e)]=this[_0x13ed56(0x23e)][_0x13ed56(0x496)](),_0x5f3e7a;}});_0xa3e02d[_0x39ad27(0x49d)]=_0x49f6d8[_0x39ad27(0x30a)](_0x5017d7),_0xa3e02d[_0x39ad27(0x2d0)]=_0x49f6d8[_0x39ad27(0x219)](_0x5017d7);}()),_0x3b072d['SHA1'];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x27e6d5=_0x30a490;return it||(it=0x1,function(_0x20cc78,_0x47f9a0){(function(_0x467829,_0x4639d9){_0x20cc78['exports']=_0x4639d9(ee());}(Bi,function(_0x560459){(function(){var _0x16aa46=_0x2a67,_0x352eb9=_0x560459,_0x50cd5d=_0x352eb9['lib'],_0x1785f1=_0x50cd5d['Base'],_0x263d1b=_0x352eb9[_0x16aa46(0x433)],_0x66839c=_0x263d1b[_0x16aa46(0x3cb)],_0x3cae1b=_0x352eb9[_0x16aa46(0x302)];_0x3cae1b['HMAC']=_0x1785f1[_0x16aa46(0x439)]({'init':function(_0x14fdb0,_0x59aa7f){var _0x4f8711=_0x16aa46;_0x14fdb0=this[_0x4f8711(0x29b)]=new _0x14fdb0[(_0x4f8711(0x1b0))](),typeof _0x59aa7f=='string'&&(_0x59aa7f=_0x66839c[_0x4f8711(0x212)](_0x59aa7f));var _0x5962b2=_0x14fdb0[_0x4f8711(0x30e)],_0xe20870=_0x5962b2*0x4;_0x59aa7f[_0x4f8711(0x1fe)]>_0xe20870&&(_0x59aa7f=_0x14fdb0[_0x4f8711(0x390)](_0x59aa7f)),_0x59aa7f[_0x4f8711(0x1c5)]();for(var _0x5a5383=this[_0x4f8711(0x340)]=_0x59aa7f[_0x4f8711(0x496)](),_0x3a6f34=this[_0x4f8711(0x28f)]=_0x59aa7f[_0x4f8711(0x496)](),_0x2c7893=_0x5a5383[_0x4f8711(0x1ca)],_0x162b27=_0x3a6f34[_0x4f8711(0x1ca)],_0x305180=0x0;_0x305180<_0x5962b2;_0x305180++)_0x2c7893[_0x305180]^=0x5c5c5c5c,_0x162b27[_0x305180]^=0x36363636;_0x5a5383[_0x4f8711(0x1fe)]=_0x3a6f34[_0x4f8711(0x1fe)]=_0xe20870,this[_0x4f8711(0x47c)]();},'reset':function(){var _0x3b5392=_0x16aa46,_0x2c6924=this['_hasher'];_0x2c6924['reset'](),_0x2c6924['update'](this[_0x3b5392(0x28f)]);},'update':function(_0x1efb02){var _0x299c48=_0x16aa46;return this[_0x299c48(0x29b)][_0x299c48(0x489)](_0x1efb02),this;},'finalize':function(_0x45147b){var _0x8352c8=_0x16aa46,_0x1de926=this[_0x8352c8(0x29b)],_0x1a1bf9=_0x1de926[_0x8352c8(0x390)](_0x45147b);_0x1de926[_0x8352c8(0x47c)]();var _0x3f55c8=_0x1de926[_0x8352c8(0x390)](this[_0x8352c8(0x340)]['clone']()[_0x8352c8(0x33a)](_0x1a1bf9));return _0x3f55c8;}});}());}));}(Ce)),Ce[_0x27e6d5(0x4b3)];}var Vi=Ie[_0x30a490(0x4b3)],nt;function At(){var _0x719747=_0x30a490;return nt||(nt=0x1,function(_0x2c597e,_0x13a59d){(function(_0xc252ca,_0x38b58b,_0x2d6714){_0x2c597e['exports']=_0x38b58b(ee(),$i(),Fi());}(Vi,function(_0xd0aff3){var _0x2291fc=_0x2a67;return(function(){var _0x5ec8bb=_0x2a67,_0x24050a=_0xd0aff3,_0x53593f=_0x24050a[_0x5ec8bb(0x4a2)],_0x1d0c8a=_0x53593f[_0x5ec8bb(0x3a9)],_0x15d738=_0x53593f[_0x5ec8bb(0x2da)],_0x1b7d5d=_0x24050a[_0x5ec8bb(0x302)],_0x4a3028=_0x1b7d5d[_0x5ec8bb(0x1e4)],_0x1fb865=_0x1b7d5d[_0x5ec8bb(0x4d5)]=_0x1d0c8a[_0x5ec8bb(0x439)]({'cfg':_0x1d0c8a[_0x5ec8bb(0x439)]({'keySize':0x80/0x20,'hasher':_0x4a3028,'iterations':0x1}),'init':function(_0x16b158){var _0x46aae2=_0x5ec8bb;this[_0x46aae2(0x1af)]=this['cfg'][_0x46aae2(0x439)](_0x16b158);},'compute':function(_0x407239,_0x385d12){var _0x28555e=_0x5ec8bb;for(var _0x4883ed,_0x5dc156=this[_0x28555e(0x1af)],_0x2545d2=_0x5dc156[_0x28555e(0x1e0)][_0x28555e(0x3f0)](),_0x362632=_0x15d738[_0x28555e(0x3f0)](),_0x1bc8a2=_0x362632[_0x28555e(0x1ca)],_0x4ab9eb=_0x5dc156[_0x28555e(0x1c1)],_0x40b762=_0x5dc156[_0x28555e(0x183)];_0x1bc8a2[_0x28555e(0x31c)]<_0x4ab9eb;){_0x4883ed&&_0x2545d2['update'](_0x4883ed),_0x4883ed=_0x2545d2[_0x28555e(0x489)](_0x407239)[_0x28555e(0x390)](_0x385d12),_0x2545d2[_0x28555e(0x47c)]();for(var _0x92f83b=0x1;_0x92f83b<_0x40b762;_0x92f83b++)_0x4883ed=_0x2545d2['finalize'](_0x4883ed),_0x2545d2[_0x28555e(0x47c)]();_0x362632['concat'](_0x4883ed);}return _0x362632['sigBytes']=_0x4ab9eb*0x4,_0x362632;}});_0x24050a[_0x5ec8bb(0x4d5)]=function(_0x24d116,_0x37c16b,_0x531692){var _0xb9dd70=_0x5ec8bb;return _0x1fb865[_0xb9dd70(0x3f0)](_0x531692)[_0xb9dd70(0x37f)](_0x24d116,_0x37c16b);};}()),_0xd0aff3[_0x2291fc(0x4d5)];}));}(Ie)),Ie[_0x719747(0x4b3)];}var Te={'exports':{}},Wi=Te['exports'],rt;function Pt(){var _0x482d20=_0x30a490;return rt||(rt=0x1,function(_0x10ae52,_0x23460a){(function(_0x1625a4,_0x510368,_0x5b8437){var _0x32c29b=_0x2a67;_0x10ae52[_0x32c29b(0x4b3)]=_0x510368(ee(),At());}(Wi,function(_0x3cb4a5){var _0x3d9225=_0x2a67;_0x3cb4a5['lib'][_0x3d9225(0x23b)]||function(_0x4c5654){var _0x1e7aae=_0x3d9225,_0x5c5ba9=_0x3cb4a5,_0x103f6d=_0x5c5ba9[_0x1e7aae(0x4a2)],_0x147eff=_0x103f6d[_0x1e7aae(0x3a9)],_0x4f1031=_0x103f6d[_0x1e7aae(0x2da)],_0x500bfd=_0x103f6d[_0x1e7aae(0x177)],_0x3c10f0=_0x5c5ba9['enc'];_0x3c10f0['Utf8'];var _0x23d039=_0x3c10f0[_0x1e7aae(0x4b2)],_0x13088c=_0x5c5ba9[_0x1e7aae(0x302)],_0x3997fe=_0x13088c[_0x1e7aae(0x4d5)],_0x1efd3e=_0x103f6d[_0x1e7aae(0x23b)]=_0x500bfd[_0x1e7aae(0x439)]({'cfg':_0x147eff[_0x1e7aae(0x439)](),'createEncryptor':function(_0x5ba6ed,_0x20f1e6){var _0x31337b=_0x1e7aae;return this[_0x31337b(0x3f0)](this['_ENC_XFORM_MODE'],_0x5ba6ed,_0x20f1e6);},'createDecryptor':function(_0x4ee4ef,_0x14f571){var _0x3b4900=_0x1e7aae;return this[_0x3b4900(0x3f0)](this[_0x3b4900(0x4b0)],_0x4ee4ef,_0x14f571);},'init':function(_0x3aa96c,_0x225f0c,_0x5ecf06){var _0x2ad15b=_0x1e7aae;this[_0x2ad15b(0x1af)]=this['cfg'][_0x2ad15b(0x439)](_0x5ecf06),this[_0x2ad15b(0x171)]=_0x3aa96c,this[_0x2ad15b(0x3b1)]=_0x225f0c,this[_0x2ad15b(0x47c)]();},'reset':function(){var _0x44ee58=_0x1e7aae;_0x500bfd[_0x44ee58(0x47c)][_0x44ee58(0x356)](this),this[_0x44ee58(0x369)]();},'process':function(_0x4ef95f){var _0x339f41=_0x1e7aae;return this[_0x339f41(0x209)](_0x4ef95f),this[_0x339f41(0x3ed)]();},'finalize':function(_0x30d011){var _0x30d278=_0x1e7aae;_0x30d011&&this[_0x30d278(0x209)](_0x30d011);var _0x3b66a3=this[_0x30d278(0x326)]();return _0x3b66a3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4c9af5(_0x1d4683){var _0x1dfc3a=_0x2a67;return typeof _0x1d4683==_0x1dfc3a(0x207)?_0x5389d5:_0x1edaa9;}return function(_0x26ea97){return{'encrypt':function(_0x17ead8,_0xbbf6a8,_0x1719a4){return _0x4c9af5(_0xbbf6a8)['encrypt'](_0x26ea97,_0x17ead8,_0xbbf6a8,_0x1719a4);},'decrypt':function(_0x2b2d83,_0x1e513a,_0x37b84c){var _0x3b6ce=_0x2a67;return _0x4c9af5(_0x1e513a)[_0x3b6ce(0x2b3)](_0x26ea97,_0x2b2d83,_0x1e513a,_0x37b84c);}};};}())});_0x103f6d[_0x1e7aae(0x213)]=_0x1efd3e['extend']({'_doFinalize':function(){var _0xdb317f=_0x1e7aae,_0x4702ef=this[_0xdb317f(0x3ed)](!0x0);return _0x4702ef;},'blockSize':0x1});var _0x12b5fa=_0x5c5ba9[_0x1e7aae(0x3c9)]={},_0x1f5c11=_0x103f6d[_0x1e7aae(0x31e)]=_0x147eff[_0x1e7aae(0x439)]({'createEncryptor':function(_0x281bc2,_0x523516){return this['Encryptor']['create'](_0x281bc2,_0x523516);},'createDecryptor':function(_0x3b4a17,_0x1fe900){var _0x569985=_0x1e7aae;return this[_0x569985(0x1f0)][_0x569985(0x3f0)](_0x3b4a17,_0x1fe900);},'init':function(_0x354374,_0x4659a3){var _0x1a2f0d=_0x1e7aae;this[_0x1a2f0d(0x407)]=_0x354374,this[_0x1a2f0d(0x2fb)]=_0x4659a3;}}),_0x225e52=_0x12b5fa['CBC']=(function(){var _0x138736=_0x1e7aae,_0x42f542=_0x1f5c11[_0x138736(0x439)]();_0x42f542[_0x138736(0x3eb)]=_0x42f542[_0x138736(0x439)]({'processBlock':function(_0x237b48,_0x30d7b8){var _0x3d5873=_0x138736,_0x3a633b=this[_0x3d5873(0x407)],_0x46bfe8=_0x3a633b[_0x3d5873(0x30e)];_0x3c4f60[_0x3d5873(0x356)](this,_0x237b48,_0x30d7b8,_0x46bfe8),_0x3a633b[_0x3d5873(0x18a)](_0x237b48,_0x30d7b8),this[_0x3d5873(0x4cd)]=_0x237b48[_0x3d5873(0x322)](_0x30d7b8,_0x30d7b8+_0x46bfe8);}}),_0x42f542[_0x138736(0x1f0)]=_0x42f542['extend']({'processBlock':function(_0x5d8832,_0xb26e1d){var _0x3480d7=_0x138736,_0x45d1b6=this[_0x3480d7(0x407)],_0x59ded1=_0x45d1b6[_0x3480d7(0x30e)],_0x116607=_0x5d8832[_0x3480d7(0x322)](_0xb26e1d,_0xb26e1d+_0x59ded1);_0x45d1b6['decryptBlock'](_0x5d8832,_0xb26e1d),_0x3c4f60['call'](this,_0x5d8832,_0xb26e1d,_0x59ded1),this[_0x3480d7(0x4cd)]=_0x116607;}});function _0x3c4f60(_0x267749,_0x5642fb,_0x352009){var _0x1fdc50=_0x138736,_0x33a075,_0x4ef735=this[_0x1fdc50(0x2fb)];_0x4ef735?(_0x33a075=_0x4ef735,this[_0x1fdc50(0x2fb)]=_0x4c5654):_0x33a075=this['_prevBlock'];for(var _0x24c0c0=0x0;_0x24c0c0<_0x352009;_0x24c0c0++)_0x267749[_0x5642fb+_0x24c0c0]^=_0x33a075[_0x24c0c0];}return _0x42f542;}()),_0x19699e=_0x5c5ba9[_0x1e7aae(0x3ca)]={},_0x4c1a1e=_0x19699e['Pkcs7']={'pad':function(_0x3d6327,_0x17bfdb){var _0x377db5=_0x1e7aae;for(var _0xbfddfd=_0x17bfdb*0x4,_0x35003a=_0xbfddfd-_0x3d6327[_0x377db5(0x1fe)]%_0xbfddfd,_0x35e45d=_0x35003a<<0x18|_0x35003a<<0x10|_0x35003a<<0x8|_0x35003a,_0x37cc5a=[],_0x21a8f0=0x0;_0x21a8f0<_0x35003a;_0x21a8f0+=0x4)_0x37cc5a['push'](_0x35e45d);var _0x5bd940=_0x4f1031[_0x377db5(0x3f0)](_0x37cc5a,_0x35003a);_0x3d6327[_0x377db5(0x33a)](_0x5bd940);},'unpad':function(_0x5a1ab5){var _0x193bb1=_0x1e7aae,_0x42c4fa=_0x5a1ab5['words'][_0x5a1ab5['sigBytes']-0x1>>>0x2]&0xff;_0x5a1ab5[_0x193bb1(0x1fe)]-=_0x42c4fa;}};_0x103f6d['BlockCipher']=_0x1efd3e[_0x1e7aae(0x439)]({'cfg':_0x1efd3e[_0x1e7aae(0x1af)][_0x1e7aae(0x439)]({'mode':_0x225e52,'padding':_0x4c1a1e}),'reset':function(){var _0x58781e=_0x1e7aae,_0x53c4ea;_0x1efd3e[_0x58781e(0x47c)][_0x58781e(0x356)](this);var _0x5cd8d3=this[_0x58781e(0x1af)],_0x4151c3=_0x5cd8d3['iv'],_0x1e874e=_0x5cd8d3[_0x58781e(0x3c9)];this[_0x58781e(0x171)]==this['_ENC_XFORM_MODE']?_0x53c4ea=_0x1e874e[_0x58781e(0x3c4)]:(_0x53c4ea=_0x1e874e[_0x58781e(0x4dc)],this[_0x58781e(0x2d2)]=0x1),this[_0x58781e(0x34e)]&&this['_mode'][_0x58781e(0x3ab)]==_0x53c4ea?this['_mode'][_0x58781e(0x1b0)](this,_0x4151c3&&_0x4151c3[_0x58781e(0x1ca)]):(this[_0x58781e(0x34e)]=_0x53c4ea[_0x58781e(0x356)](_0x1e874e,this,_0x4151c3&&_0x4151c3[_0x58781e(0x1ca)]),this[_0x58781e(0x34e)][_0x58781e(0x3ab)]=_0x53c4ea);},'_doProcessBlock':function(_0x324f5f,_0x27bbd9){var _0x2c478f=_0x1e7aae;this['_mode'][_0x2c478f(0x241)](_0x324f5f,_0x27bbd9);},'_doFinalize':function(){var _0x37122e=_0x1e7aae,_0x6ca158,_0x54fc63=this[_0x37122e(0x1af)][_0x37122e(0x4c3)];return this[_0x37122e(0x171)]==this[_0x37122e(0x2db)]?(_0x54fc63[_0x37122e(0x3ca)](this[_0x37122e(0x314)],this[_0x37122e(0x30e)]),_0x6ca158=this[_0x37122e(0x3ed)](!0x0)):(_0x6ca158=this[_0x37122e(0x3ed)](!0x0),_0x54fc63['unpad'](_0x6ca158)),_0x6ca158;},'blockSize':0x80/0x20});var _0x3bfa1c=_0x103f6d[_0x1e7aae(0x2eb)]=_0x147eff['extend']({'init':function(_0x21a076){var _0x1abb94=_0x1e7aae;this[_0x1abb94(0x222)](_0x21a076);},'toString':function(_0x484527){var _0x409132=_0x1e7aae;return(_0x484527||this[_0x409132(0x2a3)])[_0x409132(0x305)](this);}}),_0x3788a4=_0x5c5ba9[_0x1e7aae(0x3a7)]={},_0x4ece41=_0x3788a4['OpenSSL']={'stringify':function(_0x407039){var _0x2cda4d=_0x1e7aae,_0x37e368,_0xb08831=_0x407039[_0x2cda4d(0x2d1)],_0x2b5ca3=_0x407039[_0x2cda4d(0x1e5)];return _0x2b5ca3?_0x37e368=_0x4f1031[_0x2cda4d(0x3f0)]([0x53616c74,0x65645f5f])[_0x2cda4d(0x33a)](_0x2b5ca3)[_0x2cda4d(0x33a)](_0xb08831):_0x37e368=_0xb08831,_0x37e368[_0x2cda4d(0x475)](_0x23d039);},'parse':function(_0x34dded){var _0x8165f8=_0x1e7aae,_0x5bd85d,_0x17a1b4=_0x23d039['parse'](_0x34dded),_0x47f2d8=_0x17a1b4[_0x8165f8(0x1ca)];return _0x47f2d8[0x0]==0x53616c74&&_0x47f2d8[0x1]==0x65645f5f&&(_0x5bd85d=_0x4f1031[_0x8165f8(0x3f0)](_0x47f2d8[_0x8165f8(0x322)](0x2,0x4)),_0x47f2d8[_0x8165f8(0x2ed)](0x0,0x4),_0x17a1b4[_0x8165f8(0x1fe)]-=0x10),_0x3bfa1c[_0x8165f8(0x3f0)]({'ciphertext':_0x17a1b4,'salt':_0x5bd85d});}},_0x1edaa9=_0x103f6d['SerializableCipher']=_0x147eff['extend']({'cfg':_0x147eff[_0x1e7aae(0x439)]({'format':_0x4ece41}),'encrypt':function(_0x2291cd,_0x21ed22,_0x421393,_0x1d54f2){var _0x42bf46=_0x1e7aae;_0x1d54f2=this[_0x42bf46(0x1af)]['extend'](_0x1d54f2);var _0x4f97f4=_0x2291cd[_0x42bf46(0x3c4)](_0x421393,_0x1d54f2),_0x2120bb=_0x4f97f4[_0x42bf46(0x390)](_0x21ed22),_0x536d18=_0x4f97f4[_0x42bf46(0x1af)];return _0x3bfa1c[_0x42bf46(0x3f0)]({'ciphertext':_0x2120bb,'key':_0x421393,'iv':_0x536d18['iv'],'algorithm':_0x2291cd,'mode':_0x536d18[_0x42bf46(0x3c9)],'padding':_0x536d18[_0x42bf46(0x4c3)],'blockSize':_0x2291cd[_0x42bf46(0x30e)],'formatter':_0x1d54f2[_0x42bf46(0x3a7)]});},'decrypt':function(_0x530da9,_0x544a48,_0x3580a6,_0x14371a){var _0x493ca3=_0x1e7aae;_0x14371a=this[_0x493ca3(0x1af)][_0x493ca3(0x439)](_0x14371a),_0x544a48=this['_parse'](_0x544a48,_0x14371a[_0x493ca3(0x3a7)]);var _0x41ca42=_0x530da9[_0x493ca3(0x4dc)](_0x3580a6,_0x14371a)[_0x493ca3(0x390)](_0x544a48['ciphertext']);return _0x41ca42;},'_parse':function(_0x36efdb,_0x4ad3e6){var _0x18f065=_0x1e7aae;return typeof _0x36efdb==_0x18f065(0x207)?_0x4ad3e6['parse'](_0x36efdb,this):_0x36efdb;}}),_0x953152=_0x5c5ba9[_0x1e7aae(0x3ea)]={},_0x3ab0c2=_0x953152['OpenSSL']={'execute':function(_0x4735e2,_0x470321,_0xd449d,_0x50eea7,_0x26b1d6){var _0x38d8d3=_0x1e7aae;if(_0x50eea7||(_0x50eea7=_0x4f1031[_0x38d8d3(0x375)](0x40/0x8)),_0x26b1d6)var _0x42eb52=_0x3997fe[_0x38d8d3(0x3f0)]({'keySize':_0x470321+_0xd449d,'hasher':_0x26b1d6})[_0x38d8d3(0x37f)](_0x4735e2,_0x50eea7);else var _0x42eb52=_0x3997fe[_0x38d8d3(0x3f0)]({'keySize':_0x470321+_0xd449d})[_0x38d8d3(0x37f)](_0x4735e2,_0x50eea7);var _0x1803fa=_0x4f1031[_0x38d8d3(0x3f0)](_0x42eb52['words'][_0x38d8d3(0x322)](_0x470321),_0xd449d*0x4);return _0x42eb52[_0x38d8d3(0x1fe)]=_0x470321*0x4,_0x3bfa1c[_0x38d8d3(0x3f0)]({'key':_0x42eb52,'iv':_0x1803fa,'salt':_0x50eea7});}},_0x5389d5=_0x103f6d['PasswordBasedCipher']=_0x1edaa9[_0x1e7aae(0x439)]({'cfg':_0x1edaa9[_0x1e7aae(0x1af)][_0x1e7aae(0x439)]({'kdf':_0x3ab0c2}),'encrypt':function(_0x947c26,_0x1cece6,_0x5027ba,_0x4fa90e){var _0xfba68d=_0x1e7aae;_0x4fa90e=this[_0xfba68d(0x1af)][_0xfba68d(0x439)](_0x4fa90e);var _0x57a786=_0x4fa90e[_0xfba68d(0x3ea)][_0xfba68d(0x21a)](_0x5027ba,_0x947c26[_0xfba68d(0x1c1)],_0x947c26[_0xfba68d(0x432)],_0x4fa90e['salt'],_0x4fa90e[_0xfba68d(0x1e0)]);_0x4fa90e['iv']=_0x57a786['iv'];var _0x71a64b=_0x1edaa9[_0xfba68d(0x3ec)][_0xfba68d(0x356)](this,_0x947c26,_0x1cece6,_0x57a786[_0xfba68d(0x4bd)],_0x4fa90e);return _0x71a64b[_0xfba68d(0x222)](_0x57a786),_0x71a64b;},'decrypt':function(_0x28c2c1,_0x520f8f,_0xf2acd3,_0x1ee04d){var _0x185197=_0x1e7aae;_0x1ee04d=this[_0x185197(0x1af)][_0x185197(0x439)](_0x1ee04d),_0x520f8f=this['_parse'](_0x520f8f,_0x1ee04d['format']);var _0x4c7302=_0x1ee04d[_0x185197(0x3ea)]['execute'](_0xf2acd3,_0x28c2c1['keySize'],_0x28c2c1['ivSize'],_0x520f8f[_0x185197(0x1e5)],_0x1ee04d[_0x185197(0x1e0)]);_0x1ee04d['iv']=_0x4c7302['iv'];var _0x5de31f=_0x1edaa9[_0x185197(0x2b3)][_0x185197(0x356)](this,_0x28c2c1,_0x520f8f,_0x4c7302[_0x185197(0x4bd)],_0x1ee04d);return _0x5de31f;}});}();}));}(Te)),Te[_0x482d20(0x4b3)];}var Gi=fe[_0x30a490(0x4b3)],st;function Ki(){var _0x58b964=_0x30a490;return st||(st=0x1,function(_0xdf5368,_0x250bbc){(function(_0x58d620,_0x380c0f,_0x5cd30e){var _0x2f4aad=_0x2a67;_0xdf5368[_0x2f4aad(0x4b3)]=_0x380c0f(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x17c553){var _0x218490=_0x2a67;return(function(){var _0x1b4b7b=_0x2a67,_0x4e0680=_0x17c553,_0x4795e4=_0x4e0680[_0x1b4b7b(0x4a2)],_0x55a26a=_0x4795e4[_0x1b4b7b(0x392)],_0x5bcf85=_0x4e0680[_0x1b4b7b(0x302)],_0x402fd1=[],_0x5247f9=[],_0x183058=[],_0x2b4cc9=[],_0x36c4ce=[],_0x20b864=[],_0x298369=[],_0x2de099=[],_0x1d7739=[],_0xd71350=[];(function(){for(var _0x2586db=[],_0x18dc77=0x0;_0x18dc77<0x100;_0x18dc77++)_0x18dc77<0x80?_0x2586db[_0x18dc77]=_0x18dc77<<0x1:_0x2586db[_0x18dc77]=_0x18dc77<<0x1^0x11b;for(var _0x3b537d=0x0,_0x1963ea=0x0,_0x18dc77=0x0;_0x18dc77<0x100;_0x18dc77++){var _0xf2a462=_0x1963ea^_0x1963ea<<0x1^_0x1963ea<<0x2^_0x1963ea<<0x3^_0x1963ea<<0x4;_0xf2a462=_0xf2a462>>>0x8^_0xf2a462&0xff^0x63,_0x402fd1[_0x3b537d]=_0xf2a462,_0x5247f9[_0xf2a462]=_0x3b537d;var _0x4b8750=_0x2586db[_0x3b537d],_0x226ce2=_0x2586db[_0x4b8750],_0x9698c3=_0x2586db[_0x226ce2],_0x17f9c5=_0x2586db[_0xf2a462]*0x101^_0xf2a462*0x1010100;_0x183058[_0x3b537d]=_0x17f9c5<<0x18|_0x17f9c5>>>0x8,_0x2b4cc9[_0x3b537d]=_0x17f9c5<<0x10|_0x17f9c5>>>0x10,_0x36c4ce[_0x3b537d]=_0x17f9c5<<0x8|_0x17f9c5>>>0x18,_0x20b864[_0x3b537d]=_0x17f9c5;var _0x17f9c5=_0x9698c3*0x1010101^_0x226ce2*0x10001^_0x4b8750*0x101^_0x3b537d*0x1010100;_0x298369[_0xf2a462]=_0x17f9c5<<0x18|_0x17f9c5>>>0x8,_0x2de099[_0xf2a462]=_0x17f9c5<<0x10|_0x17f9c5>>>0x10,_0x1d7739[_0xf2a462]=_0x17f9c5<<0x8|_0x17f9c5>>>0x18,_0xd71350[_0xf2a462]=_0x17f9c5,_0x3b537d?(_0x3b537d=_0x4b8750^_0x2586db[_0x2586db[_0x2586db[_0x9698c3^_0x4b8750]]],_0x1963ea^=_0x2586db[_0x2586db[_0x1963ea]]):_0x3b537d=_0x1963ea=0x1;}}());var _0x2c8ab4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x29c31d=_0x5bcf85[_0x1b4b7b(0x38b)]=_0x55a26a[_0x1b4b7b(0x439)]({'_doReset':function(){var _0x15e1d4=_0x1b4b7b,_0x40fec2;if(!(this[_0x15e1d4(0x21d)]&&this[_0x15e1d4(0x233)]===this['_key'])){for(var _0x4ab822=this['_keyPriorReset']=this[_0x15e1d4(0x3b1)],_0x125c13=_0x4ab822[_0x15e1d4(0x1ca)],_0x92899c=_0x4ab822[_0x15e1d4(0x1fe)]/0x4,_0x515fde=this[_0x15e1d4(0x21d)]=_0x92899c+0x6,_0x284c91=(_0x515fde+0x1)*0x4,_0xe5c85a=this[_0x15e1d4(0x37b)]=[],_0x5ebafe=0x0;_0x5ebafe<_0x284c91;_0x5ebafe++)_0x5ebafe<_0x92899c?_0xe5c85a[_0x5ebafe]=_0x125c13[_0x5ebafe]:(_0x40fec2=_0xe5c85a[_0x5ebafe-0x1],_0x5ebafe%_0x92899c?_0x92899c>0x6&&_0x5ebafe%_0x92899c==0x4&&(_0x40fec2=_0x402fd1[_0x40fec2>>>0x18]<<0x18|_0x402fd1[_0x40fec2>>>0x10&0xff]<<0x10|_0x402fd1[_0x40fec2>>>0x8&0xff]<<0x8|_0x402fd1[_0x40fec2&0xff]):(_0x40fec2=_0x40fec2<<0x8|_0x40fec2>>>0x18,_0x40fec2=_0x402fd1[_0x40fec2>>>0x18]<<0x18|_0x402fd1[_0x40fec2>>>0x10&0xff]<<0x10|_0x402fd1[_0x40fec2>>>0x8&0xff]<<0x8|_0x402fd1[_0x40fec2&0xff],_0x40fec2^=_0x2c8ab4[_0x5ebafe/_0x92899c|0x0]<<0x18),_0xe5c85a[_0x5ebafe]=_0xe5c85a[_0x5ebafe-_0x92899c]^_0x40fec2);for(var _0x38ac49=this[_0x15e1d4(0x221)]=[],_0x18f75f=0x0;_0x18f75f<_0x284c91;_0x18f75f++){var _0x5ebafe=_0x284c91-_0x18f75f;if(_0x18f75f%0x4)var _0x40fec2=_0xe5c85a[_0x5ebafe];else var _0x40fec2=_0xe5c85a[_0x5ebafe-0x4];_0x18f75f<0x4||_0x5ebafe<=0x4?_0x38ac49[_0x18f75f]=_0x40fec2:_0x38ac49[_0x18f75f]=_0x298369[_0x402fd1[_0x40fec2>>>0x18]]^_0x2de099[_0x402fd1[_0x40fec2>>>0x10&0xff]]^_0x1d7739[_0x402fd1[_0x40fec2>>>0x8&0xff]]^_0xd71350[_0x402fd1[_0x40fec2&0xff]];}}},'encryptBlock':function(_0xf02528,_0x16de8c){var _0x42f572=_0x1b4b7b;this[_0x42f572(0x4ab)](_0xf02528,_0x16de8c,this[_0x42f572(0x37b)],_0x183058,_0x2b4cc9,_0x36c4ce,_0x20b864,_0x402fd1);},'decryptBlock':function(_0x2f62d9,_0x2a6747){var _0x1560c1=_0x1b4b7b,_0x725dc8=_0x2f62d9[_0x2a6747+0x1];_0x2f62d9[_0x2a6747+0x1]=_0x2f62d9[_0x2a6747+0x3],_0x2f62d9[_0x2a6747+0x3]=_0x725dc8,this[_0x1560c1(0x4ab)](_0x2f62d9,_0x2a6747,this['_invKeySchedule'],_0x298369,_0x2de099,_0x1d7739,_0xd71350,_0x5247f9);var _0x725dc8=_0x2f62d9[_0x2a6747+0x1];_0x2f62d9[_0x2a6747+0x1]=_0x2f62d9[_0x2a6747+0x3],_0x2f62d9[_0x2a6747+0x3]=_0x725dc8;},'_doCryptBlock':function(_0x3032bf,_0x3286c0,_0x3cd806,_0x2f0434,_0xb7dc5d,_0xc56550,_0x132cf0,_0x233a90){for(var _0x5bd7ed=this['_nRounds'],_0x383657=_0x3032bf[_0x3286c0]^_0x3cd806[0x0],_0x2f0980=_0x3032bf[_0x3286c0+0x1]^_0x3cd806[0x1],_0x4514e6=_0x3032bf[_0x3286c0+0x2]^_0x3cd806[0x2],_0x1a27ed=_0x3032bf[_0x3286c0+0x3]^_0x3cd806[0x3],_0x30a2f3=0x4,_0x469e2f=0x1;_0x469e2f<_0x5bd7ed;_0x469e2f++){var _0x1c5727=_0x2f0434[_0x383657>>>0x18]^_0xb7dc5d[_0x2f0980>>>0x10&0xff]^_0xc56550[_0x4514e6>>>0x8&0xff]^_0x132cf0[_0x1a27ed&0xff]^_0x3cd806[_0x30a2f3++],_0x285c7a=_0x2f0434[_0x2f0980>>>0x18]^_0xb7dc5d[_0x4514e6>>>0x10&0xff]^_0xc56550[_0x1a27ed>>>0x8&0xff]^_0x132cf0[_0x383657&0xff]^_0x3cd806[_0x30a2f3++],_0x461d8c=_0x2f0434[_0x4514e6>>>0x18]^_0xb7dc5d[_0x1a27ed>>>0x10&0xff]^_0xc56550[_0x383657>>>0x8&0xff]^_0x132cf0[_0x2f0980&0xff]^_0x3cd806[_0x30a2f3++],_0x405565=_0x2f0434[_0x1a27ed>>>0x18]^_0xb7dc5d[_0x383657>>>0x10&0xff]^_0xc56550[_0x2f0980>>>0x8&0xff]^_0x132cf0[_0x4514e6&0xff]^_0x3cd806[_0x30a2f3++];_0x383657=_0x1c5727,_0x2f0980=_0x285c7a,_0x4514e6=_0x461d8c,_0x1a27ed=_0x405565;}var _0x1c5727=(_0x233a90[_0x383657>>>0x18]<<0x18|_0x233a90[_0x2f0980>>>0x10&0xff]<<0x10|_0x233a90[_0x4514e6>>>0x8&0xff]<<0x8|_0x233a90[_0x1a27ed&0xff])^_0x3cd806[_0x30a2f3++],_0x285c7a=(_0x233a90[_0x2f0980>>>0x18]<<0x18|_0x233a90[_0x4514e6>>>0x10&0xff]<<0x10|_0x233a90[_0x1a27ed>>>0x8&0xff]<<0x8|_0x233a90[_0x383657&0xff])^_0x3cd806[_0x30a2f3++],_0x461d8c=(_0x233a90[_0x4514e6>>>0x18]<<0x18|_0x233a90[_0x1a27ed>>>0x10&0xff]<<0x10|_0x233a90[_0x383657>>>0x8&0xff]<<0x8|_0x233a90[_0x2f0980&0xff])^_0x3cd806[_0x30a2f3++],_0x405565=(_0x233a90[_0x1a27ed>>>0x18]<<0x18|_0x233a90[_0x383657>>>0x10&0xff]<<0x10|_0x233a90[_0x2f0980>>>0x8&0xff]<<0x8|_0x233a90[_0x4514e6&0xff])^_0x3cd806[_0x30a2f3++];_0x3032bf[_0x3286c0]=_0x1c5727,_0x3032bf[_0x3286c0+0x1]=_0x285c7a,_0x3032bf[_0x3286c0+0x2]=_0x461d8c,_0x3032bf[_0x3286c0+0x3]=_0x405565;},'keySize':0x100/0x20});_0x4e0680[_0x1b4b7b(0x38b)]=_0x55a26a['_createHelper'](_0x29c31d);}()),_0x17c553[_0x218490(0x38b)];}));}(fe)),fe[_0x58b964(0x4b3)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x30a490(0x4b3)],at;function Xi(){var _0x30344e=_0x30a490;return at||(at=0x1,function(_0x47f2cd,_0x44addf){(function(_0x4f5cf6,_0x260891){_0x47f2cd['exports']=_0x260891(ee());}(Ji,function(_0x41d272){return _0x41d272['enc']['Utf8'];}));}(be)),be[_0x30344e(0x4b3)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x30a490(0x4b3)],ct;function tn(){var _0x31807f=_0x30a490;return ct||(ct=0x1,function(_0x857248,_0x6587fe){(function(_0xbca75c,_0x2b1631){var _0x226003=_0x2a67;_0x857248[_0x226003(0x4b3)]=_0x2b1631(ee());}(en,function(_0x4bee32){return(function(){var _0x5a327d=_0x2a67;if(typeof ArrayBuffer==_0x5a327d(0x47a)){var _0x13dd58=_0x4bee32,_0x475bcf=_0x13dd58[_0x5a327d(0x4a2)],_0x5a4f1f=_0x475bcf[_0x5a327d(0x2da)],_0x29186b=_0x5a4f1f[_0x5a327d(0x1b0)],_0x395e8c=_0x5a4f1f[_0x5a327d(0x1b0)]=function(_0x1a34ce){var _0x273c00=_0x5a327d;if(_0x1a34ce instanceof ArrayBuffer&&(_0x1a34ce=new Uint8Array(_0x1a34ce)),(_0x1a34ce instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1a34ce instanceof Uint8ClampedArray||_0x1a34ce instanceof Int16Array||_0x1a34ce instanceof Uint16Array||_0x1a34ce instanceof Int32Array||_0x1a34ce instanceof Uint32Array||_0x1a34ce instanceof Float32Array||_0x1a34ce instanceof Float64Array)&&(_0x1a34ce=new Uint8Array(_0x1a34ce[_0x273c00(0x250)],_0x1a34ce['byteOffset'],_0x1a34ce[_0x273c00(0x3c0)])),_0x1a34ce instanceof Uint8Array){for(var _0x57d524=_0x1a34ce[_0x273c00(0x3c0)],_0x4278d0=[],_0x130150=0x0;_0x130150<_0x57d524;_0x130150++)_0x4278d0[_0x130150>>>0x2]|=_0x1a34ce[_0x130150]<<0x18-_0x130150%0x4*0x8;_0x29186b[_0x273c00(0x356)](this,_0x4278d0,_0x57d524);}else _0x29186b[_0x273c00(0x254)](this,arguments);};_0x395e8c['prototype']=_0x5a4f1f;}}()),_0x4bee32['lib']['WordArray'];}));}(Re)),Re[_0x31807f(0x4b3)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x30a490(0x4b3)],ht;function on(){var _0x365726=_0x30a490;return ht||(ht=0x1,function(_0x4b133d,_0x2b834a){(function(_0x482abd,_0x63a5fd,_0x2972d6){var _0xc49395=_0x2a67;_0x4b133d[_0xc49395(0x4b3)]=_0x63a5fd(ee(),Pt());}(sn,function(_0x3135df){var _0x10c133=_0x2a67;return _0x3135df[_0x10c133(0x3ca)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3135df[_0x10c133(0x3ca)][_0x10c133(0x39a)];}));}(ye)),ye[_0x365726(0x4b3)];}var an=on();const cn=Se(an);function hn(_0x5bedf0,_0x3118c5){var _0x2cd08b=_0x30a490;const _0xc5a0b5=_0x3118c5-_0x5bedf0[_0x2cd08b(0x31c)]%_0x3118c5,_0x5a646c=String[_0x2cd08b(0x481)](_0xc5a0b5)[_0x2cd08b(0x24d)](_0xc5a0b5);return _0x5bedf0+_0x5a646c;}function ln(_0xffe1fd,_0x15fc80){var _0x2246c8=_0x30a490;const _0x2f34b7=rn[_0x2246c8(0x375)](0x10),_0x1b915c=hn(_0xffe1fd,0x10),_0x16aeaa=qi['encrypt'](Qi[_0x2246c8(0x212)](_0x1b915c),ot[_0x2246c8(0x212)](_0x15fc80),{'iv':_0x2f34b7,'padding':cn});return _0x2f34b7[_0x2246c8(0x33a)](_0x16aeaa[_0x2246c8(0x2d1)])[_0x2246c8(0x475)](ot);}function _n(){var _0x1456ac=_0x30a490;const _0x5c2765=xt[_0x1456ac(0x300)]()[_0x1456ac(0x3a0)];if(_0x5c2765){const _0x1269f7={'time':Math['floor'](Date[_0x1456ac(0x47f)]()/0x3e8),'domain':location[_0x1456ac(0x29d)]};return ln(JSON[_0x1456ac(0x305)](_0x1269f7),_0x5c2765);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x1f7951,_0x504819,_0x223add,_0x42750c)=>{var _0x4dbc61=_0x30a490;for(var _0x5d8bd8=_0x42750c>0x1?void 0x0:_0x42750c?un(_0x504819,_0x223add):_0x504819,_0x4a7235=_0x1f7951[_0x4dbc61(0x31c)]-0x1,_0x60c1d;_0x4a7235>=0x0;_0x4a7235--)(_0x60c1d=_0x1f7951[_0x4a7235])&&(_0x5d8bd8=_0x60c1d(_0x5d8bd8)||_0x5d8bd8);return _0x5d8bd8;},vn=(_0x9a0c1d,_0x21dd0e)=>(_0x5a7461,_0x2babe4)=>_0x21dd0e(_0x5a7461,_0x2babe4,_0x9a0c1d);let Ne=class{constructor(_0x5e1a91){var _0x12109a=_0x30a490;this[_0x12109a(0x353)]=_0x5e1a91,this[_0x12109a(0x303)]();}[_0x30a490(0x303)](){var _0x44c0d4=_0x30a490;this[_0x44c0d4(0x353)]['registerHTTPInterceptor']({'interceptor':(_0x1a731c,_0x5004c6)=>{var _0x226d26=_0x44c0d4;const _0x4c4276=_0x1a731c[_0x226d26(0x1f5)],_0x15852d=_n();return _0x15852d&&_0x4c4276[_0x226d26(0x4a6)](_0x226d26(0x32c),_0x15852d),_0x5004c6(_0x1a731c);}});}};Ne=dn([vn(0x0,a[_0x30a490(0x3af)](q['HTTPService']))],Ne);var Sn=Object['getOwnPropertyDescriptor'],fn=(_0x191a2e,_0x1d740d,_0x5a9cc4,_0xb20b05)=>{for(var _0x26d356=_0xb20b05>0x1?void 0x0:_0xb20b05?Sn(_0x1d740d,_0x5a9cc4):_0x1d740d,_0x25d287=_0x191a2e['length']-0x1,_0xae62f4;_0x25d287>=0x0;_0x25d287--)(_0xae62f4=_0x191a2e[_0x25d287])&&(_0x26d356=_0xae62f4(_0x26d356)||_0x26d356);return _0x26d356;},Me=(_0x523ddb,_0xfdc6b8)=>(_0x4e568c,_0x4cdfa2)=>_0xfdc6b8(_0x4e568c,_0x4cdfa2,_0x523ddb);exports[_0x30a490(0x3fe)]=class extends a[_0x30a490(0x3b7)]{constructor(_0x3bf85e,_0x2cb9dc,_0x1662b0){var _0x3cc44d=_0x30a490;super(),A(this,'_unitInfo$',new j[(_0x3cc44d(0x1b6))](null)),A(this,_0x3cc44d(0x348),this[_0x3cc44d(0x3fc)]['asObservable']()),(this[_0x3cc44d(0x39c)]=_0x3bf85e,this[_0x3cc44d(0x1cf)]=_0x2cb9dc,this[_0x3cc44d(0x1a3)]=_0x1662b0);}async[_0x30a490(0x28c)](_0x225692,_0x2ee026,_0x3d05d9){var _0x4a4a34=_0x30a490;this['_unitInfo$'][_0x4a4a34(0x18d)]({'unitId':_0x225692,'type':_0x2ee026,'subUnitId':_0x3d05d9});let _0x55baf0=null;switch(_0x2ee026){case X[_0x4a4a34(0x2f3)]:{_0x55baf0=await this[_0x4a4a34(0x2b2)](_0x225692);break;}case X['UNIVER_DOC']:{_0x55baf0=await this[_0x4a4a34(0x350)](_0x225692);break;}default:{this[_0x4a4a34(0x39c)]['error']('[DataLoaderService]',_0x4a4a34(0x2c9));break;}}return _0x55baf0;}async[_0x30a490(0x2b2)](_0x4c0c32){var _0xad4b54=_0x30a490,_0x32c8d8;let _0x32b295=0x0;const _0x3d23d7=await((_0x32c8d8=this[_0xad4b54(0x1a3)])==null?void 0x0:_0x32c8d8['loadOfflineData'](_0x4c0c32));return _0x3d23d7&&(_0x3d23d7[_0xad4b54(0x25d)]||_0x3d23d7[_0xad4b54(0x20e)][_0xad4b54(0x31c)]!==0x0)&&(_0x32b295=_0x3d23d7[_0xad4b54(0x1a2)]),_0x32b295===0x0&&this[_0xad4b54(0x39c)][_0xad4b54(0x1f2)](_0xad4b54(0x2f2),_0xad4b54(0x347)),this[_0xad4b54(0x1cf)][_0xad4b54(0x231)](_0x4c0c32,_0x32b295);}async[_0x30a490(0x350)](_0x2d7ead){var _0x5ba6ca=_0x30a490,_0x2e51a0;let _0x5e0bcd=0x0;const _0x2ec930=await((_0x2e51a0=this[_0x5ba6ca(0x1a3)])==null?void 0x0:_0x2e51a0[_0x5ba6ca(0x317)](_0x2d7ead));return _0x2ec930&&(_0x2ec930[_0x5ba6ca(0x25d)]||_0x2ec930[_0x5ba6ca(0x20e)][_0x5ba6ca(0x31c)]!==0x0)&&(_0x5e0bcd=_0x2ec930[_0x5ba6ca(0x1a2)]),_0x5e0bcd===0x0&&this[_0x5ba6ca(0x39c)][_0x5ba6ca(0x1f2)](_0x5ba6ca(0x2f2),_0x5ba6ca(0x347)),this['_snapshotService']['loadDoc'](_0x2d7ead,_0x5e0bcd);}},exports[_0x30a490(0x3fe)]=fn([Me(0x0,a['ILogService']),Me(0x1,a[_0x30a490(0x3af)](g['SnapshotService'])),Me(0x2,a[_0x30a490(0x342)](z))],exports[_0x30a490(0x3fe)]);var pn=Object[_0x30a490(0x2c2)],gn=(_0x18d742,_0x1944d5,_0x316327,_0x3165eb)=>{var _0xf046b7=_0x30a490;for(var _0x5b668c=_0x3165eb>0x1?void 0x0:_0x3165eb?pn(_0x1944d5,_0x316327):_0x1944d5,_0x91aa12=_0x18d742[_0xf046b7(0x31c)]-0x1,_0x47c651;_0x91aa12>=0x0;_0x91aa12--)(_0x47c651=_0x18d742[_0x91aa12])&&(_0x5b668c=_0x47c651(_0x5b668c)||_0x5b668c);return _0x5b668c;},xe=(_0x59060c,_0x489a9e)=>(_0x73a122,_0x1a1611)=>_0x489a9e(_0x73a122,_0x1a1611,_0x59060c);const mn=[_0x30a490(0x419),_0x30a490(0x19f),_0x30a490(0x2a9),_0x30a490(0x46f),_0x30a490(0x269)],In=0x5*0x400*0x400,En=_0x30a490(0x365),Cn=_0x30a490(0x333),Tn=_0x30a490(0x471),bn=_0x30a490(0x1c9);exports[_0x30a490(0x4d3)]=class{constructor(_0x4ea7ff,_0x588103,_0x8b5c51){var _0x5a3ae0=_0x30a490;A(this,'_waitCount',0x0),A(this,_0x5a3ae0(0x217),new j[(_0x5a3ae0(0x187))]()),A(this,_0x5a3ae0(0x2ad),this[_0x5a3ae0(0x217)]),A(this,_0x5a3ae0(0x185),new Map()),(this[_0x5a3ae0(0x353)]=_0x4ea7ff,this[_0x5a3ae0(0x42f)]=_0x588103,this['_univerInstanceService']=_0x8b5c51);}[_0x30a490(0x364)](_0x2f110e){var _0x31aa40=_0x30a490;this['_waitCount']=_0x2f110e,this[_0x31aa40(0x217)][_0x31aa40(0x18d)](_0x2f110e);}[_0x30a490(0x36a)](_0x21dce3,_0x4227c4){var _0x22cb59=_0x30a490;if(_0x4227c4===J['ImageSourceType'][_0x22cb59(0x284)]){const _0xa2bf3=new Image();return _0xa2bf3[_0x22cb59(0x26d)]=_0x21dce3,_0xa2bf3;}return this[_0x22cb59(0x185)][_0x22cb59(0x31a)](_0x21dce3);}[_0x30a490(0x174)](_0x17f53c,_0x569aa0,_0x375f81){var _0x6f4f08=_0x30a490;_0x569aa0===J[_0x6f4f08(0x40f)]['BASE64']||_0x375f81==null||this[_0x6f4f08(0x185)][_0x6f4f08(0x4a6)](_0x17f53c,_0x375f81);}async[_0x30a490(0x4d7)](_0x396d6b){var _0x3257cb=_0x30a490;try{const _0xdb9e60=this[_0x3257cb(0x1ef)](this[_0x3257cb(0x1cb)](),''+_0x396d6b),_0x181217=(await this[_0x3257cb(0x353)][_0x3257cb(0x31a)](_0xdb9e60))[_0x3257cb(0x17c)];if(_0x181217['error']&&_0x181217[_0x3257cb(0x29c)][_0x3257cb(0x36b)]===Ct['OK']){const _0x33e1f8=new URL(_0x181217[_0x3257cb(0x25b)],this['_getDownloadEndpointURL']())['toString']();return Promise['resolve'](_0x33e1f8);}return Promise[_0x3257cb(0x2b8)](_0x181217[_0x3257cb(0x29c)]);}catch(_0x1460b0){return Promise['reject'](_0x1460b0);}}async[_0x30a490(0x214)](_0x2fde75){var _0x439ec2=_0x30a490;let _0x1fe170='';if(!mn[_0x439ec2(0x3d6)](_0x2fde75[_0x439ec2(0x299)]))return this[_0x439ec2(0x495)](),Promise[_0x439ec2(0x2b8)](new Error(J[_0x439ec2(0x190)]['ERROR_IMAGE_TYPE']));if(_0x2fde75[_0x439ec2(0x4af)]>In)return this[_0x439ec2(0x495)](),Promise['reject'](new Error(J['ImageUploadStatusType'][_0x439ec2(0x352)]));try{const _0x59eb4d=new FormData();_0x59eb4d[_0x439ec2(0x224)]('file',_0x2fde75);const _0x35dff6=this[_0x439ec2(0x32b)][_0x439ec2(0x3d4)](),_0x2491f4=_0x35dff6==null?void 0x0:_0x35dff6[_0x439ec2(0x197)]();if(!_0x2491f4)throw new Error('unitId\x20is\x20not\x20found');const _0x1fa1ee=this[_0x439ec2(0x3d2)]()+_0x439ec2(0x3a3)+_0x2fde75[_0x439ec2(0x4af)][_0x439ec2(0x475)]()+'&source='+Tt['UnitEmbedded']+_0x439ec2(0x1cc)+encodeURIComponent(_0x2491f4),_0x2c80f8=await(await fetch(_0x1fa1ee,{'method':'POST','body':_0x59eb4d}))['json']();if(typeof _0x2c80f8[_0x439ec2(0x4c2)]!='string')return this[_0x439ec2(0x495)](),Promise[_0x439ec2(0x2b8)](new Error(J[_0x439ec2(0x190)][_0x439ec2(0x46a)]));_0x1fe170=_0x2c80f8[_0x439ec2(0x4c2)];}catch{return this[_0x439ec2(0x495)](),Promise[_0x439ec2(0x2b8)](new Error(J[_0x439ec2(0x190)][_0x439ec2(0x46a)]));}return new Promise((_0xde3c45,_0x139d77)=>{var _0x44577a=_0x439ec2;const _0x15966e=new FileReader();_0x15966e[_0x44577a(0x287)](_0x2fde75),_0x15966e[_0x44577a(0x424)]=_0x234b13=>{var _0x3e4acc=_0x44577a,_0x2da511;const _0x2e2732=(_0x2da511=_0x234b13[_0x3e4acc(0x29a)])==null?void 0x0:_0x2da511['result'];if(_0x2e2732==null){this[_0x3e4acc(0x495)](),_0x139d77(new Error(J[_0x3e4acc(0x190)][_0x3e4acc(0x46a)]));return;}const _0x438745=a['Tools'][_0x3e4acc(0x44e)](0x6);_0xde3c45({'imageId':_0x438745,'imageSourceType':J[_0x3e4acc(0x40f)][_0x3e4acc(0x345)],'source':_0x1fe170,'base64Cache':_0x2e2732,'status':J['ImageUploadStatusType'][_0x3e4acc(0x47d)]}),this[_0x3e4acc(0x495)]();};});}[_0x30a490(0x3d2)](){var _0x11fe8d=_0x30a490,_0x2c42a0,_0x531e3b;const _0x291842=this['_configService'][_0x11fe8d(0x2bc)](En),_0x4a40d4=this[_0x11fe8d(0x42f)][_0x11fe8d(0x2bc)](Y);return(_0x531e3b=(_0x2c42a0=_0x4a40d4==null?void 0x0:_0x4a40d4['uploadFileServerUrl'])!=null?_0x2c42a0:_0x291842)!=null?_0x531e3b:Cn;}[_0x30a490(0x1cb)](){var _0x50dc5d=_0x30a490,_0x339246,_0x2ed456;const _0x95ba70=this['_configService'][_0x50dc5d(0x2bc)](Tn),_0xd9e6e5=this['_configService']['getConfig'](Y);return(_0x2ed456=(_0x339246=_0xd9e6e5==null?void 0x0:_0xd9e6e5['signUrlServerUrl'])!=null?_0x339246:_0x95ba70)!=null?_0x2ed456:bn;}[_0x30a490(0x315)](){var _0x4c0535=_0x30a490,_0x3b29ff;const _0x76d9b3=this[_0x4c0535(0x42f)][_0x4c0535(0x2bc)](Y);return(_0x3b29ff=_0x76d9b3==null?void 0x0:_0x76d9b3[_0x4c0535(0x238)])!=null?_0x3b29ff:location[_0x4c0535(0x41e)];}[_0x30a490(0x1ef)](_0x1b4a0a,_0x4d8434){var _0x497df1=_0x30a490;return _0x1b4a0a[_0x497df1(0x297)]('{fileID}',_0x4d8434);}[_0x30a490(0x495)](){var _0x180046=_0x30a490;this['_waitCount']-=0x1,this[_0x180046(0x217)]['next'](this[_0x180046(0x401)]);}},exports[_0x30a490(0x4d3)]=gn([xe(0x0,a[_0x30a490(0x3af)](q[_0x30a490(0x270)])),xe(0x1,a['IConfigService']),xe(0x2,a['Inject'](a['IUniverInstanceService']))],exports[_0x30a490(0x4d3)]);var Rn=Object[_0x30a490(0x2c2)],yn=(_0x427d30,_0x34c854,_0x59f528,_0x3773c2)=>{var _0x1d5759=_0x30a490;for(var _0x4adba8=_0x3773c2>0x1?void 0x0:_0x3773c2?Rn(_0x34c854,_0x59f528):_0x34c854,_0x24f261=_0x427d30[_0x1d5759(0x31c)]-0x1,_0x2a04a3;_0x24f261>=0x0;_0x24f261--)(_0x2a04a3=_0x427d30[_0x24f261])&&(_0x4adba8=_0x2a04a3(_0x4adba8)||_0x4adba8);return _0x4adba8;},lt=(_0xe3cbb,_0x314d30)=>(_0x30bd0d,_0x305868)=>_0x314d30(_0x30bd0d,_0x305868,_0xe3cbb);const On=_0x30a490(0x4b7);exports[_0x30a490(0x410)]=class{constructor(_0x4f9027,_0x47faa0){var _0x4c30c4=_0x30a490;this['_configService']=_0x4f9027,this[_0x4c30c4(0x2e8)]=_0x47faa0;}['_getAPIPrefixPath'](){var _0x26e7b3=_0x30a490,_0x4befee,_0x39f4b8;const _0x49b083=this[_0x26e7b3(0x42f)]['getConfig'](Ge),_0x4eabc8=this[_0x26e7b3(0x42f)][_0x26e7b3(0x2bc)](Y);return(_0x39f4b8=(_0x4befee=_0x4eabc8==null?void 0x0:_0x4eabc8[_0x26e7b3(0x24f)])!=null?_0x4befee:_0x49b083)!=null?_0x39f4b8:On;}async['list'](_0x1efeff){var _0x58ebb8=_0x30a490;const _0x44c9ed=this[_0x58ebb8(0x1d4)]()+_0x58ebb8(0x400);return{'list':[{'title':_0x58ebb8(0x387),'mentions':(await this[_0x58ebb8(0x2e8)][_0x58ebb8(0x31a)](_0x44c9ed,{'params':{'objectID':_0x1efeff[_0x58ebb8(0x1c2)],'unitID':_0x1efeff[_0x58ebb8(0x1c2)]}}))[_0x58ebb8(0x17c)][_0x58ebb8(0x4bc)][_0x58ebb8(0x33c)](_0x53c07a=>({'objectId':_0x53c07a['id'],'name':_0x53c07a['subject']['name'],'metadata':{'icon':_0x53c07a[_0x58ebb8(0x438)]['avatar']},'label':_0x53c07a[_0x58ebb8(0x438)][_0x58ebb8(0x22b)],'objectType':a[_0x58ebb8(0x341)][_0x58ebb8(0x2ee)]})),'metadata':{},'type':a['MentionType'][_0x58ebb8(0x2ee)]}]};}},exports[_0x30a490(0x410)]=yn([lt(0x0,a[_0x30a490(0x3af)](a[_0x30a490(0x2cf)])),lt(0x1,a[_0x30a490(0x3af)](q[_0x30a490(0x270)]))],exports[_0x30a490(0x410)]);var Nn=Object[_0x30a490(0x2c2)],Dn=(_0x51bcf4,_0xeb382e,_0x4f39e8,_0x241548)=>{var _0xb039d9=_0x30a490;for(var _0x4c450e=_0x241548>0x1?void 0x0:_0x241548?Nn(_0xeb382e,_0x4f39e8):_0xeb382e,_0x2f61f9=_0x51bcf4[_0xb039d9(0x31c)]-0x1,_0x52eb2a;_0x2f61f9>=0x0;_0x2f61f9--)(_0x52eb2a=_0x51bcf4[_0x2f61f9])&&(_0x4c450e=_0x52eb2a(_0x4c450e)||_0x4c450e);return _0x4c450e;},ue=(_0x2d6ad8,_0x45263e)=>(_0x2f1fa0,_0x487f28)=>_0x45263e(_0x2f1fa0,_0x487f28,_0x2d6ad8);let De=class extends a[_0x30a490(0x3b7)]{constructor(_0x135a22,_0x287e40,_0x5a9b88,_0x4996eb,_0x4748bf){var _0x5b014f=_0x30a490;super(),this[_0x5b014f(0x44a)]=_0x135a22,this[_0x5b014f(0x32b)]=_0x287e40,this['_permissionService']=_0x5a9b88,this[_0x5b014f(0x324)]=_0x4996eb,this['_collaborationUIEventService']=_0x4748bf,this[_0x5b014f(0x1b8)](),this[_0x5b014f(0x4e3)]();}[_0x30a490(0x4e3)](){var _0xfc02d8=_0x30a490;const _0x17b631=async _0x53590b=>{var _0x56a3a1=_0x2a67;(await this[_0x56a3a1(0x324)][_0x56a3a1(0x46d)](_0x53590b))[_0x56a3a1(0x319)]['pipe'](V[_0x56a3a1(0x479)](_0x2f3536=>_0x2f3536[_0x56a3a1(0x1c8)]===g[_0x56a3a1(0x1ce)][_0x56a3a1(0x4a4)]),V[_0x56a3a1(0x285)](this['dispose$']))[_0x56a3a1(0x2d4)](_0xd4371a=>{var _0x251d54=_0x56a3a1;const _0x3575cd=_0xd4371a,{reason:_0x2f7d75}=_0x3575cd[_0x251d54(0x3fa)];this['_collaborationUIEventService'][_0x251d54(0x16c)]({'id':Q[_0x251d54(0x1ad)],'data':_0x2f7d75}),this[_0x251d54(0x362)][_0x251d54(0x3ce)](new Z[(_0x251d54(0x1a5))](_0x53590b)['id'],!0x1),this[_0x251d54(0x324)][_0x251d54(0x437)](_0x53590b);});};j[_0xfc02d8(0x22e)](this['_univerInstanceService'][_0xfc02d8(0x393)](a[_0xfc02d8(0x34d)][_0xfc02d8(0x2f3)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0xfc02d8(0x34d)][_0xfc02d8(0x204)]))['pipe'](V['map'](_0x22a0ee=>_0x22a0ee[_0xfc02d8(0x197)]()),V[_0xfc02d8(0x479)](_0x2df875=>!a[_0xfc02d8(0x246)](_0x2df875)),V[_0xfc02d8(0x285)](this['dispose$']))[_0xfc02d8(0x2d4)](_0x245d01=>{_0x17b631(_0x245d01);});}[_0x30a490(0x1b8)](){var _0x4ea6ac=_0x30a490;const _0x276a7c=async _0x25528b=>{var _0x2190c4=_0x2a67;const _0x2155ea=await this[_0x2190c4(0x324)][_0x2190c4(0x46d)](_0x25528b),_0xbfa5ec=this[_0x2190c4(0x44a)][_0x2190c4(0x31a)](Z[_0x2190c4(0x31d)]);_0x2155ea['event$'][_0x2190c4(0x286)](V[_0x2190c4(0x479)](_0x512778=>_0x512778[_0x2190c4(0x1c8)]===g[_0x2190c4(0x1ce)][_0x2190c4(0x2b6)]),V[_0x2190c4(0x285)](this[_0x2190c4(0x451)]))['subscribe'](_0x3c4fa2=>{var _0x3f17a4=_0x2190c4;const _0x4b515f=_0x3c4fa2,{objectId:_0x365df2}=_0x4b515f[_0x3f17a4(0x3fa)];_0x365df2===_0x25528b?_0xbfa5ec[_0x3f17a4(0x306)](_0x25528b):_0xbfa5ec[_0x3f17a4(0x248)](_0x25528b,_0x365df2);});};j[_0x4ea6ac(0x22e)](this[_0x4ea6ac(0x32b)][_0x4ea6ac(0x393)](a[_0x4ea6ac(0x34d)][_0x4ea6ac(0x2f3)]))['pipe'](V[_0x4ea6ac(0x33c)](_0x50bea7=>_0x50bea7['getUnitId']()),V[_0x4ea6ac(0x479)](_0x3813f9=>!a['isInternalEditorID'](_0x3813f9)),V[_0x4ea6ac(0x285)](this[_0x4ea6ac(0x451)]))['subscribe'](_0x14f810=>{_0x276a7c(_0x14f810);});}};De=Dn([ue(0x0,a['Inject'](a[_0x30a490(0x453)])),ue(0x1,a[_0x30a490(0x2f7)]),ue(0x2,a[_0x30a490(0x19e)]),ue(0x3,a[_0x30a490(0x3af)](exports[_0x30a490(0x2fe)])),ue(0x4,a[_0x30a490(0x3af)](te))],De);var Un=Object[_0x30a490(0x2c2)],An=(_0x3145f6,_0x26ff5b,_0x8a8435,_0x1b1a76)=>{var _0x595a4d=_0x30a490;for(var _0x207e63=_0x1b1a76>0x1?void 0x0:_0x1b1a76?Un(_0x26ff5b,_0x8a8435):_0x26ff5b,_0x351404=_0x3145f6[_0x595a4d(0x31c)]-0x1,_0x1c7a32;_0x351404>=0x0;_0x351404--)(_0x1c7a32=_0x3145f6[_0x351404])&&(_0x207e63=_0x1c7a32(_0x207e63)||_0x207e63);return _0x207e63;},_t=(_0x5d7bf6,_0x4462a9)=>(_0xf8a078,_0xc043e8)=>_0x4462a9(_0xf8a078,_0xc043e8,_0x5d7bf6);exports['SnapshotServerOverHTTPService']=class{constructor(_0x355657,_0x1a2734){var _0x4c7766=_0x30a490;this[_0x4c7766(0x42f)]=_0x355657,this['_httpService']=_0x1a2734;}async[_0x30a490(0x426)](_0x3d6b84,_0x335447){var _0x503d91=_0x30a490,_0x2b7a79;const {unitID:_0x2aecf0,type:_0x1598f6,revision:_0xf40c26=0x0}=_0x335447,_0x1a5c6e=this['getSnapshotAPIPath']()+'/'+_0x1598f6+_0x503d91(0x2ff)+_0x2aecf0+_0x503d91(0x2be)+_0xf40c26,_0x326428=(await this[_0x503d91(0x353)][_0x503d91(0x31a)](_0x1a5c6e))['body'],_0x3e27e9=(_0x2b7a79=_0x326428[_0x503d91(0x456)])==null?void 0x0:_0x2b7a79[_0x503d91(0x460)];if(_0x3e27e9){const _0x43db87=_0x3e27e9==null?void 0x0:_0x3e27e9[_0x503d91(0x4ad)],_0x24bba6=g[_0x503d91(0x229)][_0x503d91(0x1f9)](g[_0x503d91(0x49a)](_0x43db87));_0x3e27e9['originalMeta']=_0x24bba6,Object[_0x503d91(0x3c5)](_0x3e27e9[_0x503d91(0x253)])['forEach'](([,_0x1055c4])=>{var _0x271251=_0x503d91;const _0x5aed88=_0x1055c4[_0x271251(0x4ad)],_0xc10f2a=g[_0x271251(0x229)]['encode'](g['b64DecodeUnicode'](_0x5aed88));_0x1055c4[_0x271251(0x4ad)]=_0xc10f2a;});}return _0x326428;}async[_0x30a490(0x448)](_0x13c14f,_0x544f50){var _0x455ea4=_0x30a490;const {unitID:_0x286903,type:_0x48acae,blockID:_0x259854}=_0x544f50,_0x2009d7=this[_0x455ea4(0x313)]()+'/'+_0x48acae+_0x455ea4(0x2ff)+_0x286903+_0x455ea4(0x2f6)+_0x259854;return(await this[_0x455ea4(0x353)][_0x455ea4(0x31a)](_0x2009d7))[_0x455ea4(0x17c)];}async[_0x30a490(0x3d3)](_0x58e8e4,_0x4898e1){var _0x3a1b76=_0x30a490;const {unitID:_0x4d795b,type:_0xc74aa2,blockID:_0x1aea46}=_0x4898e1,_0x2b2a00=this[_0x3a1b76(0x313)]()+_0x3a1b76(0x2f6)+_0xc74aa2+'/unit/'+_0x4d795b+_0x3a1b76(0x2f6)+_0x1aea46;return(await this[_0x3a1b76(0x353)][_0x3a1b76(0x31a)](_0x2b2a00))[_0x3a1b76(0x17c)];}async['fetchMissingChangesets'](_0x125f87,_0x4c380e){var _0x57ed72=_0x30a490;const {unitID:_0x405468,type:_0x917368,from:_0x3405c1,to:_0x2a0311}=_0x4c380e,_0x4b2645=this[_0x57ed72(0x313)]()+'/'+_0x917368+_0x57ed72(0x2ff)+_0x405468+_0x57ed72(0x469)+_0x3405c1+_0x57ed72(0x3cf)+_0x2a0311;return(await this[_0x57ed72(0x353)][_0x57ed72(0x31a)](_0x4b2645))[_0x57ed72(0x17c)];}[_0x30a490(0x266)](){var _0x49e214=_0x30a490,_0x1b84ad;return(_0x1b84ad=this[_0x49e214(0x42f)][_0x49e214(0x2bc)](vt))!=null?_0x1b84ad:this[_0x49e214(0x313)]();}[_0x30a490(0x313)](){var _0x4c9c48=_0x30a490,_0x4874e5,_0xaa9967;const _0x1fe3a2=this[_0x4c9c48(0x42f)]['getConfig'](dt),_0x53658b=this[_0x4c9c48(0x42f)]['getConfig'](Y);return(_0xaa9967=(_0x4874e5=_0x53658b==null?void 0x0:_0x53658b['snapshotServerUrl'])!=null?_0x4874e5:_0x1fe3a2)!=null?_0xaa9967:kt;}async['getResourcesRequest'](_0x109124,_0x6afca8){var _0x246d69=_0x30a490;const _0x225bd9=_0x246d69(0x3e1)+_0x6afca8[_0x246d69(0x299)]+_0x246d69(0x2ff)+_0x6afca8[_0x246d69(0x272)]+'/resources';return(await this[_0x246d69(0x353)][_0x246d69(0x31a)](_0x225bd9,{'params':{'resourceId':JSON[_0x246d69(0x305)](_0x6afca8[_0x246d69(0x422)])}}))[_0x246d69(0x17c)];}[_0x30a490(0x403)](){var _0x1b3d5f=_0x30a490;throw new Error(_0x1b3d5f(0x43b));}[_0x30a490(0x2b7)](){var _0x16496c=_0x30a490;throw new Error(_0x16496c(0x43b));}[_0x30a490(0x3e7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x30a490(0x41f)](){var _0x57c2f4=_0x30a490;throw new Error(_0x57c2f4(0x43b));}['getLatestCsReqIdBySid'](){var _0x5967cf=_0x30a490;throw new Error(_0x5967cf(0x43b));}},exports[_0x30a490(0x1b9)]=An([_t(0x0,a[_0x30a490(0x2cf)]),_t(0x1,a['Inject'](q[_0x30a490(0x270)]))],exports[_0x30a490(0x1b9)]);function _0x2a67(_0x5833ab,_0x5a4038){var _0x2b5206=_0x2b52();return _0x2a67=function(_0x2a6703,_0x349da3){_0x2a6703=_0x2a6703-0x167;var _0x12541f=_0x2b5206[_0x2a6703];return _0x12541f;},_0x2a67(_0x5833ab,_0x5a4038);}var Pn=Object[_0x30a490(0x2c2)],wn=(_0x3c2caa,_0x2352ee,_0x2de7c8,_0x3c5a39)=>{var _0x5397af=_0x30a490;for(var _0x5d79f4=_0x3c5a39>0x1?void 0x0:_0x3c5a39?Pn(_0x2352ee,_0x2de7c8):_0x2352ee,_0x5ac85e=_0x3c2caa[_0x5397af(0x31c)]-0x1,_0x3e07a2;_0x5ac85e>=0x0;_0x5ac85e--)(_0x3e07a2=_0x3c2caa[_0x5ac85e])&&(_0x5d79f4=_0x3e07a2(_0x5d79f4)||_0x5d79f4);return _0x5d79f4;},de=(_0x56f35e,_0x28f711)=>(_0x504146,_0x53624c)=>_0x28f711(_0x504146,_0x53624c,_0x56f35e);exports[_0x30a490(0x395)]=class extends a['LocalUndoRedoService']{constructor(_0x3b5eaa,_0x57c611,_0x1ef4bd,_0x19f2c8,_0x19b03e){var _0x4a650f=_0x30a490;super(_0x3b5eaa,_0x57c611,_0x1ef4bd),this[_0x4a650f(0x3e6)]=_0x19f2c8,this['_logService']=_0x19b03e;}[_0x30a490(0x1d6)](_0x180a20,_0x58e4d8){var _0x80f6b0=_0x30a490;const _0xa36b6=this[_0x80f6b0(0x168)](_0x180a20);if(_0xa36b6)try{const _0x320a10=this[_0x80f6b0(0x492)](_0xa36b6,_0x58e4d8);this['_substituteUndoStack'](_0x180a20,_0x320a10);}catch(_0x56f931){this[_0x80f6b0(0x39c)][_0x80f6b0(0x29c)](_0x80f6b0(0x4c7),_0x56f931),this[_0x80f6b0(0x2f5)](_0x180a20);}const _0x36e36b=this['_getRedoStack'](_0x180a20);if(_0x36e36b)try{const _0x442ebd=this[_0x80f6b0(0x492)](_0x36e36b,_0x58e4d8);this['_substituteRedoStack'](_0x180a20,_0x442ebd);}catch(_0x30ce70){this[_0x80f6b0(0x39c)][_0x80f6b0(0x29c)](_0x30ce70),this[_0x80f6b0(0x260)](_0x180a20);}}[_0x30a490(0x2f5)](_0x23163d){var _0x7e8b41=_0x30a490;const _0x3026ee=this[_0x7e8b41(0x168)](_0x23163d);_0x3026ee&&(_0x3026ee[_0x7e8b41(0x31c)]=0x0,this[_0x7e8b41(0x334)]());}['_clearRedo'](_0x146a3d){var _0x1557ea=_0x30a490;const _0x191102=this[_0x1557ea(0x316)](_0x146a3d);_0x191102&&(_0x191102[_0x1557ea(0x31c)]=0x0,this[_0x1557ea(0x334)]());}[_0x30a490(0x311)](_0x384fff,_0x52b1f7){var _0x47fa50=_0x30a490;this[_0x47fa50(0x293)][_0x47fa50(0x4a6)](_0x384fff,_0x52b1f7),this[_0x47fa50(0x334)]();}[_0x30a490(0x383)](_0x48813c,_0x1580c9){var _0x143d40=_0x30a490;this[_0x143d40(0x19b)][_0x143d40(0x4a6)](_0x48813c,_0x1580c9),this[_0x143d40(0x334)]();}[_0x30a490(0x492)](_0x8521ef,_0x3c5356){var _0x2ee606=_0x30a490;const _0x2c31cf=[];let _0x32f3d0=_0x3c5356,_0x42a15b=_0x3c5356;for(let _0x49f833=_0x8521ef[_0x2ee606(0x31c)]-0x1;_0x49f833>=0x0;_0x49f833--){const {unitID:_0x512df9,undoMutations:_0x5242a1,redoMutations:_0x7cac24}=_0x8521ef[_0x49f833],_0x123585=this[_0x2ee606(0x3e6)]['transformMutationsWithChangeset'](_0x32f3d0,_0x5242a1),_0x160c92=this['_transformService'][_0x2ee606(0x394)](_0x42a15b,_0x7cac24);if(g[_0x2ee606(0x415)](_0x123585)||g[_0x2ee606(0x415)](_0x160c92)){this[_0x2ee606(0x39c)][_0x2ee606(0x29c)](_0x2ee606(0x4c7),_0x2ee606(0x35f),_0x123585,_0x160c92);break;}_0x32f3d0=_0x123585[_0x2ee606(0x360)],_0x42a15b=_0x160c92[_0x2ee606(0x360)],_0x2c31cf[_0x2ee606(0x2ab)]({'unitID':_0x512df9,'undoMutations':_0x123585[_0x2ee606(0x26f)],'redoMutations':_0x160c92[_0x2ee606(0x26f)]});}return _0x2c31cf[_0x2ee606(0x1ac)]();}},exports['CollaborativeUndoRedoService']=wn([de(0x0,a[_0x30a490(0x2f7)]),de(0x1,a[_0x30a490(0x3bb)]),de(0x2,a[_0x30a490(0x20b)]),de(0x3,g[_0x30a490(0x41d)]),de(0x4,a[_0x30a490(0x2c8)])],exports[_0x30a490(0x395)]);var Ln=Object[_0x30a490(0x1ba)],Mn=Object['getOwnPropertyDescriptor'],xn=(_0x20da53,_0x3378ab,_0x50b6dc)=>_0x3378ab in _0x20da53?Ln(_0x20da53,_0x3378ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50b6dc}):_0x20da53[_0x3378ab]=_0x50b6dc,kn=(_0x203ca6,_0x402e9e,_0x291b73,_0x554393)=>{var _0x2922ea=_0x30a490;for(var _0x2c7ccc=_0x554393>0x1?void 0x0:_0x554393?Mn(_0x402e9e,_0x291b73):_0x402e9e,_0x5210b4=_0x203ca6[_0x2922ea(0x31c)]-0x1,_0x1b9a44;_0x5210b4>=0x0;_0x5210b4--)(_0x1b9a44=_0x203ca6[_0x5210b4])&&(_0x2c7ccc=_0x1b9a44(_0x2c7ccc)||_0x2c7ccc);return _0x2c7ccc;},ke=(_0x2eec70,_0x1ba4af)=>(_0x126e15,_0x1f448c)=>_0x1ba4af(_0x126e15,_0x1f448c,_0x2eec70),Hn=(_0x1951b6,_0x51787c,_0x8a8e37)=>xn(_0x1951b6,_0x51787c+'',_0x8a8e37);const jn=_0x30a490(0x497);exports[_0x30a490(0x414)]=class extends a[_0x30a490(0x3f1)]{constructor(_0x4bde26,_0xdbe83c,_0x7d58ad,_0x281faf){var _0x4dbbd5=_0x30a490;super(),A(this,_0x4dbbd5(0x35d)),(this[_0x4dbbd5(0x39c)]=_0xdbe83c,this[_0x4dbbd5(0x44a)]=_0x7d58ad,this[_0x4dbbd5(0x42f)]=_0x281faf);const {..._0x2ad6a8}=a[_0x4dbbd5(0x22e)]({},Jt,_0x4bde26);if(!_0x2ad6a8[_0x4dbbd5(0x4d0)])throw new Error(_0x4dbbd5(0x3ef));this[_0x4dbbd5(0x35d)]=_0x2ad6a8,this['_configService']['setConfig'](Y,_0x2ad6a8);}[_0x30a490(0x2e4)](){var _0x339095=_0x30a490;this[_0x339095(0x2d9)](),this[_0x339095(0x251)]();}[_0x30a490(0x2d9)](){var _0x1b018c=_0x30a490,_0x2ae1a,_0x1853bf;this[_0x1b018c(0x44a)][_0x1b018c(0x225)](a[_0x1b018c(0x1eb)])&&this[_0x1b018c(0x39c)][_0x1b018c(0x29c)](_0x1b018c(0x450),_0x1b018c(0x1ea));const _0x552d91=a['mergeOverrideWithDependencies']([[a[_0x1b018c(0x1eb)],{'useClass':exports[_0x1b018c(0x395)]}],[exports[_0x1b018c(0x2fe)]],[exports[_0x1b018c(0x21e)]],[exports[_0x1b018c(0x47e)]],[Oe],[Ne],[Be],[De],[te],[exports[_0x1b018c(0x3fe)]],[$e,{'useClass':this[_0x1b018c(0x35d)][_0x1b018c(0x4d0)]}],[g[_0x1b018c(0x1dd)],{'useClass':exports[_0x1b018c(0x1b9)]}],[a[_0x1b018c(0x467)],{'useClass':exports[_0x1b018c(0x211)]}],[J[_0x1b018c(0x1df)],{'useClass':exports[_0x1b018c(0x4d3)]}],[a['IMentionIOService'],{'useClass':exports[_0x1b018c(0x410)]}],[exports[_0x1b018c(0x22d)]],[He]],(_0x2ae1a=this[_0x1b018c(0x35d)])==null?void 0x0:_0x2ae1a['override']);if(!((_0x1853bf=this[_0x1b018c(0x35d)])!=null&&_0x1853bf[_0x1b018c(0x402)])){const _0x27f4d5=_0x552d91[_0x1b018c(0x22f)](([_0x725fbf])=>_0x725fbf===ve);_0x27f4d5!==-0x1&&_0x552d91[_0x1b018c(0x2ed)](_0x27f4d5,0x1);}a[_0x1b018c(0x249)](this[_0x1b018c(0x44a)],_0x552d91);}[_0x30a490(0x251)](){var _0x56ed32=_0x30a490,_0x5cae3f,_0x48b382,_0x254aec;this[_0x56ed32(0x44a)]['get'](q[_0x56ed32(0x270)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x56ed32(0x4cf)]({'maxParallel':0x6})}),(_0x5cae3f=this['_config'])!=null&&_0x5cae3f[_0x56ed32(0x3a2)]||(_0x48b382=this[_0x56ed32(0x44a)]['get'](z,a[_0x56ed32(0x239)]['OPTIONAL']))==null||_0x48b382[_0x56ed32(0x1bf)](),(_0x254aec=this[_0x56ed32(0x35d)])!=null&&_0x254aec[_0x56ed32(0x48d)]&&a[_0x56ed32(0x3e2)](this[_0x56ed32(0x44a)],[[Oe]]),a['touchDependencies'](this[_0x56ed32(0x44a)],[[Ne],[exports[_0x56ed32(0x22d)]],[De]]);}},Hn(exports['UniverCollaborationClientPlugin'],_0x30a490(0x27c),jn),exports['UniverCollaborationClientPlugin']=kn([a[_0x30a490(0x172)](g[_0x30a490(0x4c9)],q[_0x30a490(0x33e)]),ke(0x1,a[_0x30a490(0x2c8)]),ke(0x2,a[_0x30a490(0x3af)](a[_0x30a490(0x453)])),ke(0x3,a[_0x30a490(0x2cf)])],exports[_0x30a490(0x414)]),exports[_0x30a490(0x363)]=Ge,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x30a490(0x3aa)]=It,exports[_0x30a490(0x30b)]=St,exports[_0x30a490(0x18e)]=Ve,exports['CollaborationUIEventId']=Q,exports[_0x30a490(0x48b)]=te,exports[_0x30a490(0x478)]=Be,exports[_0x30a490(0x1ff)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0x30a490(0x2cd)]=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports[_0x30a490(0x1be)]=$e,exports['ILocalCacheService']=z,exports[_0x30a490(0x447)]=bt,exports[_0x30a490(0x384)]=ve,exports[_0x30a490(0x1ed)]=Gt,exports['LOCAL_CACHE_INTERVAL_KEY']=Wt,exports[_0x30a490(0x20c)]=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mt,exports[_0x30a490(0x4ce)]=Ht,exports[_0x30a490(0x45e)]=dt,exports['SNAPSHOT_URL_KEY']=vt,exports[_0x30a490(0x4a3)]=se,exports[_0x30a490(0x42c)]=Fe,exports[_0x30a490(0x43a)]=Rt,exports['getLocalCacheKey']=vi,exports[_0x30a490(0x3d8)]=yt;
|
1
|
+
'use strict';var _0x1a66bf=_0x4a7d;(function(_0xc35826,_0x60db3c){var _0x1c5dac=_0x4a7d,_0x567e73=_0xc35826();while(!![]){try{var _0x39cc67=-parseInt(_0x1c5dac(0x508))/0x1*(-parseInt(_0x1c5dac(0x382))/0x2)+parseInt(_0x1c5dac(0x49d))/0x3+-parseInt(_0x1c5dac(0x1db))/0x4+parseInt(_0x1c5dac(0x423))/0x5*(-parseInt(_0x1c5dac(0x377))/0x6)+parseInt(_0x1c5dac(0x3e9))/0x7+parseInt(_0x1c5dac(0x539))/0x8+-parseInt(_0x1c5dac(0x258))/0x9;if(_0x39cc67===_0x60db3c)break;else _0x567e73['push'](_0x567e73['shift']());}catch(_0x4a52e7){_0x567e73['push'](_0x567e73['shift']());}}}(_0x3f81,0xb69dc));var wt=Object[_0x1a66bf(0x41a)],Lt=(_0x269b4b,_0x1485d0,_0x220866)=>_0x1485d0 in _0x269b4b?wt(_0x269b4b,_0x1485d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x220866}):_0x269b4b[_0x1485d0]=_0x220866,A=(_0x73305e,_0x42885c,_0x3603ba)=>Lt(_0x73305e,typeof _0x42885c!=_0x1a66bf(0x24b)?_0x42885c+'':_0x42885c,_0x3603ba);Object[_0x1a66bf(0x41a)](exports,Symbol[_0x1a66bf(0x221)],{'value':_0x1a66bf(0x2ca)});const a=require('@univerjs/core'),j=require(_0x1a66bf(0x324)),V=require(_0x1a66bf(0x319)),g=require(_0x1a66bf(0x475)),q=require(_0x1a66bf(0x26d)),Mt=require('@univerjs/telemetry'),ut=require(_0x1a66bf(0x2fe)),Z=require(_0x1a66bf(0x3bc)),J=require(_0x1a66bf(0x348)),xt=require(_0x1a66bf(0x432)),dt=_0x1a66bf(0x1f8),kt='/universer-api/snapshot',vt=_0x1a66bf(0x4b6),Ht='SEND_CHANGESET_TIMEOUT',jt=0x7d0,St=_0x1a66bf(0x44e),ft='ws://127.0.0.1:8000/universer-api/comb/connect',$t='/universer-api/user/session-ticket',pt=_0x1a66bf(0x421),Bt=0x7530,je=_0x1a66bf(0x492),gt=0x4e20,Ft=0x4e20,mt=_0x1a66bf(0x2a7),Vt=0x3,Wt=_0x1a66bf(0x37e),Gt=0x3e8,It=_0x1a66bf(0x37f),Kt='/universer-api/comb',Et=_0x1a66bf(0x223),Yt=_0x1a66bf(0x2eb),qt=_0x1a66bf(0x2b8),zt='/universer-api/uniscript';var Ct=(_0x1088e2=>(_0x1088e2[_0x1088e2[_0x1a66bf(0x322)]=0x0]=_0x1a66bf(0x322),_0x1088e2[_0x1088e2['OK']=0x1]='OK',_0x1088e2[_0x1088e2['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x1088e2[_0x1088e2[_0x1a66bf(0x352)]=0x3]=_0x1a66bf(0x352),_0x1088e2[_0x1088e2[_0x1a66bf(0x28c)]=0x4]=_0x1a66bf(0x28c),_0x1088e2[_0x1088e2[_0x1a66bf(0x53c)]=0x5]=_0x1a66bf(0x53c),_0x1088e2[_0x1088e2[_0x1a66bf(0x520)]=0x6]='ALREADY_EXISTS',_0x1088e2[_0x1088e2[_0x1a66bf(0x3f9)]=0x7]=_0x1a66bf(0x3f9),_0x1088e2[_0x1088e2[_0x1a66bf(0x314)]=0x8]=_0x1a66bf(0x314),_0x1088e2[_0x1088e2['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x1088e2[_0x1088e2[_0x1a66bf(0x30d)]=0xa]=_0x1a66bf(0x30d),_0x1088e2[_0x1088e2[_0x1a66bf(0x4be)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1088e2[_0x1088e2['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1a66bf(0x433),_0x1088e2[_0x1088e2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1a66bf(0x480),_0x1088e2[_0x1088e2[_0x1a66bf(0x3ea)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1088e2[_0x1088e2[_0x1a66bf(0x4e6)]=0x1b59]=_0x1a66bf(0x4e6),_0x1088e2[_0x1088e2[_0x1a66bf(0x4a0)]=0x1b5a]=_0x1a66bf(0x4a0),_0x1088e2[_0x1088e2[_0x1a66bf(0x405)]=0x1b5b]=_0x1a66bf(0x405),_0x1088e2[_0x1088e2[_0x1a66bf(0x2e9)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1088e2[_0x1088e2[_0x1a66bf(0x43f)]=0x1b5d]=_0x1a66bf(0x43f),_0x1088e2[_0x1088e2[_0x1a66bf(0x2ec)]=0x1f41]=_0x1a66bf(0x2ec),_0x1088e2[_0x1088e2['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1a66bf(0x244),_0x1088e2[_0x1088e2[_0x1a66bf(0x467)]=0x232a]=_0x1a66bf(0x467),_0x1088e2[_0x1088e2[_0x1a66bf(0x460)]=0x232b]=_0x1a66bf(0x460),_0x1088e2[_0x1088e2['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1088e2[_0x1088e2[_0x1a66bf(0x236)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1088e2[_0x1088e2[_0x1a66bf(0x43a)]=0x2711]=_0x1a66bf(0x43a),_0x1088e2[_0x1088e2[_0x1a66bf(0x3cc)]=0x2712]=_0x1a66bf(0x3cc),_0x1088e2[_0x1088e2[_0x1a66bf(0x473)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1088e2[_0x1088e2[_0x1a66bf(0x2dc)]=0x2714]=_0x1a66bf(0x2dc),_0x1088e2[_0x1088e2[_0x1a66bf(0x2f4)]=0x2af9]=_0x1a66bf(0x2f4),_0x1088e2[_0x1088e2[_0x1a66bf(0x2c7)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1088e2[_0x1088e2['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x1088e2[_0x1088e2[_0x1a66bf(0x4f2)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x1088e2[_0x1088e2[_0x1a66bf(0x4cb)]=0x2ee4]=_0x1a66bf(0x4cb),_0x1088e2[_0x1088e2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1a66bf(0x296),_0x1088e2[_0x1088e2[_0x1a66bf(0x22c)]=-0x1]='UNRECOGNIZED',_0x1088e2))(Ct||{}),X=(_0x5927fe=>(_0x5927fe[_0x5927fe[_0x1a66bf(0x321)]=0x0]=_0x1a66bf(0x321),_0x5927fe[_0x5927fe['UNIVER_DOC']=0x1]=_0x1a66bf(0x1e4),_0x5927fe[_0x5927fe[_0x1a66bf(0x4e9)]=0x2]=_0x1a66bf(0x4e9),_0x5927fe[_0x5927fe[_0x1a66bf(0x409)]=0x3]='UNIVER_SLIDE',_0x5927fe[_0x5927fe['UNIVER_PROJECT']=0x4]=_0x1a66bf(0x1e7),_0x5927fe[_0x5927fe[_0x1a66bf(0x22c)]=-0x1]=_0x1a66bf(0x22c),_0x5927fe))(X||{}),W=(_0x2afa85=>(_0x2afa85[_0x2afa85[_0x1a66bf(0x2ba)]=0x0]=_0x1a66bf(0x2ba),_0x2afa85[_0x2afa85[_0x1a66bf(0x345)]=0x1]=_0x1a66bf(0x345),_0x2afa85[_0x2afa85['JOIN']=0x2]=_0x1a66bf(0x349),_0x2afa85[_0x2afa85[_0x1a66bf(0x26f)]=0x3]=_0x1a66bf(0x26f),_0x2afa85[_0x2afa85[_0x1a66bf(0x21d)]=0x4]=_0x1a66bf(0x21d),_0x2afa85[_0x2afa85['HEARTBEAT']=0x5]=_0x1a66bf(0x2ef),_0x2afa85[_0x2afa85[_0x1a66bf(0x34c)]=0x6]=_0x1a66bf(0x34c),_0x2afa85[_0x2afa85[_0x1a66bf(0x22c)]=-0x1]=_0x1a66bf(0x22c),_0x2afa85))(W||{}),ae=(_0x771c81=>(_0x771c81[_0x771c81['UNKNOWN_CODE']=0x0]=_0x1a66bf(0x2e4),_0x771c81[_0x771c81['OK']=0x1]='OK',_0x771c81[_0x771c81[_0x1a66bf(0x3d1)]=0x2]=_0x1a66bf(0x3d1),_0x771c81[_0x771c81[_0x1a66bf(0x248)]=0x3e9]=_0x1a66bf(0x248),_0x771c81[_0x771c81['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x1a66bf(0x23e),_0x771c81[_0x771c81[_0x1a66bf(0x2bb)]=0x3eb]=_0x1a66bf(0x2bb),_0x771c81[_0x771c81[_0x1a66bf(0x52f)]=0x3ec]=_0x1a66bf(0x52f),_0x771c81[_0x771c81[_0x1a66bf(0x22c)]=-0x1]=_0x1a66bf(0x22c),_0x771c81))(ae||{}),Tt=(_0x1c05f6=>(_0x1c05f6[_0x1c05f6[_0x1a66bf(0x4cd)]=0x0]=_0x1a66bf(0x4cd),_0x1c05f6[_0x1c05f6[_0x1a66bf(0x1eb)]=0x1]=_0x1a66bf(0x1eb),_0x1c05f6[_0x1c05f6[_0x1a66bf(0x1fa)]=0x2]=_0x1a66bf(0x1fa),_0x1c05f6[_0x1c05f6[_0x1a66bf(0x31d)]=0x3]='UnitEmbedded',_0x1c05f6[_0x1c05f6['UnitSnapshot']=0x4]=_0x1a66bf(0x1e8),_0x1c05f6[_0x1c05f6[_0x1a66bf(0x22c)]=-0x1]=_0x1a66bf(0x22c),_0x1c05f6))(Tt||{});function _0x3f81(){var _0x2f092a=['Univer','collaMsg','sheets','SNAPSHOT_HAS_BEEN_REMOVED','_showConflictNotification','focused$','getMember','SheetsSelectionsService','_members','ONLINE','JOIN_ROOM_FAILED','roles','pipe','allowed','updateCollaborator','appendMutation','USERS_LEAVE','_getDownloadEndpointURL','catch','ITelemetryService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','HEARTBEAT_TIMEOUT','_cipher','ERROR_IMAGE','getCurrentRevOfUnit','_config','{fileID}','_updateLocalCache','AWAITING','blockSize','_handlerCallback','UniverInstanceType','4476105FwGmAq','prototype','_onConnectionFailed','APPLY_NON_SEQUENTIAL_REVISION','_roomCreated$','_socket$','CHANGESET_SHOULD_RETRY','objectActions','IUndoRedoService','IImageIoService','encode','default','&assign=','_onMessage','_transformRemoteChangesetByIMECache','_startTelemetryCollaborationNewChangeset','actions','loadOfflineData','_toggleOnline','randomBytes','includes','Malformed\x20UTF-8\x20data','_waitForHeartbeatResponse','PSEUDO_FETCH_MISSING_RESULT','_onFetchMissResult','SNAPSHOT_URL_KEY','sendChangesetTimeout','CollaborationImageIoService','capture','incrementRevOfUnit','range','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','decryptBlock','CHANGESET_REVISION_CONFILICT','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','forEach','/block/','ISingleActiveUnitService','/universer-api/file/{fileID}/sign-url','IPermissionService','_substituteUndoStack','AWAITING_WITH_PENDING','_createHmacHelper','_initDependencies','listCollaborators','LocaleService','USER_NOT_INVITED_CODE','deserializeToCombResponse','Undefined','randomUUID','readInt32LE','next','/universer-api/snapshot/','waitForRoom$','_HTTPService','_fetchMissChangesets','OFFLINE','awaitingChangeset','onCommandExecuted','splice','reconnect','IMentionIOService','_createHandler','\x20to\x20','_reverseMap','MUTATION','ciphertext','StreamCipher','_onRemoteACK','takeUntil','headers','action','_changesetSessionId','APPLY_REJECT','SyncedState','concat','UNIVER_SHEET','_candidateSocket','image/jpg','?url=','_lockTransition','fetchThroughInterceptors','_transformService','Optional','_hasher','INVITE_CODE_REQUIRED','Decryptor','[CollaborationSession]','_collaborationUIEventService','memberID','charCodeAt','transformMutationsWithChangeset','CommandType','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','repeat','onCommentUpdate','parse','LOCAL_CACHE_INTERVAL_KEY','x-univer-host','createInstance','_nDataBytes','_parse','onload','decrypt','online$','complete','UNISCRIPT_RUN','112589QAqeoX','getGlobalObject','_keyPriorReset','createIdentifier','_clearLocalCache','code','BlockCipher','format','_undoRedoService','_queuedRemoteChangesets','readyForCollab','substr','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','session.join-failed','CollaborationSocketService','univer-pro.collaboration-client.network-condition.service','_resendTimeout','sessionStatus$','src','status$','sid','_entities','salt','onMissingChangesets','ALREADY_EXISTS','_sender','crypto','_onLocalMutation','_process','RichTextEditingMutation','failed\x20to\x20apply\x20missed\x20changesets!','AuthzIoHttpService','UnitStatus','UPDATE_CURSOR','_type','words','Rectangle','_clearCollaborationTimeoutTimer','NoPadding','GLOBAL_ROOMS_CNT_EXCEEDS','_unitID','file','iterations','__creator','session','RxDisposable','ivSize','[CollaborationState]:\x20apply\x20error!','params','6932480OEjmSD','_prevBlock','SUCCUSS','UNAUTHENTICATED','Injector','getMemberID','CHANGESET_ACK','fetchMissingChangesets','_updateState','_members$','_socket','\x20-\x20','toString','_tryReconnect','_retryCount','b64DecodeUnicode','compute','status','toggleOffline','compose','Error\x20on\x20receiving\x20event','_doFinalize','5678708VqQoFL','[OfflineState]:\x20received\x20acknowledgement.','max','UniverCollaborationClientPlugin','_snapshotService','_transformStateCache','_disableEditing','executeCommand','body','UNIVER_DOC','deepClone','_unitInfo$','UNIVER_PROJECT','UnitSnapshot','_onUserLeave','_incrementRevisionNumber','HttpImport','getInterceptPoints','socketService','every','c1Prime','USERS_ENTER','BufferedBlockAlgorithm','OTHER_CLIENTS_EDITING','userID','_commandService','getCollabEntity','_socketService','_awaitingChangeset','SNAPSHOT_SERVER_URL_KEY','FETCH_MISS','HttpExport','_doCreateSocket','ImageUploadStatusType','loadUnit','size','onRemoteAck','synced','Hex','_mode','/collaborator','SYNCED','OTHER_CLIENT_EDITING','removeMember','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_map','_injector','_getAPIPrefix','DocCollaborationEntity','_exhaustRemoteChangesetQueue','textEncoder','ThresholdInterceptorFactory','encrypt','SOCKET_FAILED','_checkMissing','/universer-api/authz','dispose','DataLoaderService','getLatestCsReqIdBySid','SetSelectionsOperation','UserManagerService','resourceIDs','loginUrlKey','_imageSourceCache','joinEvent','_removeRoom','INGEST','_loadSheet','Workbook','\x0aCurrent:\x20','toStringTag','cmd','LOGIN_URL_KEY','enc','slice','getWorkbookSelections','_collabSessionService','list','UniverNetworkPlugin','serializeCombRequest','_registerDependencies','UNRECOGNIZED','$super','_oKey','data','Pkcs7','ERROR_IMAGE_TYPE','hasOwnProperty','touchDependencies','disposeWithMe','/-/object/list','LICENSE_DISTRO_REJECTED','getRoom','_key','_doReset','members$','m2Prime','CollaborationSessionService','hasher','JOIN_ROOM_NOT_EXISTS','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','closeSession','clone','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_getCurrentRevision','LICENSE_MAX_UNITS_EXCEEDED','_decreaseWaiting','bind','INetworkConditionService','JOIN_ROOM_FULL','IDLE','delay','symbol','_undoStacks','_emitMembers','HMAC','_hash','encryptBlock','_listenToNetworkCondition','saveSnapshot','[CollaborationEntity]','collaboration-client.local-cache-service','_retryConnectingTimer','commentUpdateEvent','_getCtorByUniverType','756396zLcksj','Hasher','save\x20fail\x20reason\x20is\x20','add','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','findIndex','merge','__esModule','override','MSG_FOR_ERROR','uniscriptRunEvent','createEncryptor','_getSendChangesetTimeout','FileId','_timeoutTimer','_collaborationPaused','[CollaborationUndoRedoService]','/object','getImage','[SyncedState]:\x20received\x20acknowledgement.','create','@univerjs/network','Utf8','LEAVE','sequenceExecute','algo','changesets','collaborators','_transformStack','LIVESHARE_NEW_HOST','interceptor','sigBytes','_clearTimeoutTimer','HTTPService','SHA1','onRemoteRej','_commentUpdate$','createSocket','getTypeOfUnitAdded$','updateMember','textRanges','_entityInit$','SUBMIT_CHANGESET','_doCryptBlock','_keySchedule','requestParams','_remoteChangesetQueue','_userManagerService','_createInitialState','_iKey','COMPRESS_MUTATION_APPLY','_change$','NOT_FOUND','_DEC_XFORM_MODE','IConfigService','mutations','sessionStatus','[SyncedState]:\x20received\x20rejection.','isInternalEditorID','AwaitingState','name','Tools','INVITE_CODE_ALREADY_BOUND','_isPermissionRej','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','resend','AwaitingWithPendingState','_pendingMutations','/unit/','generateRandomId','joinRsp','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onTransformState','ISnapshotServerService','FetchingMissState','reduce','getTime','CLOSE_ROOM','ITransformService','RETRY_CONNECTING_MAX_COUNT','_rescheduleHeartbeat','getResourcesRequest','CollaborationController','NEW_CHANGESETS','SUBMIT_CHANGESET_TIMEOUT','SheetCollaborationEntity','image/gif','parseProtocolChangeset','requireSession','univer-pro.collaboration-client.single-active-unit-service','FETCH_MISSING','_onJoinRoomEvent','_getAPIPrefixPath','_submitChangeset','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','HmacMD5','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_minBufferSize','UNKNOWN_CMD','JOIN_ROOM_PERMISSION_DENIED','error$','fromCharCode','_event$','updatePermissionPoint','MergeInterceptorFactory','AUTHZ_URL_KEY','kdf','dispose$','_localCacheService','OpenSSL','call','INVITE_CODE_HAS_BEEN_UES','floor','_redoStacks','Module','readAsDataURL','_onRecvEvent','MemberService','getCurrentSelections','CollaborationStatus','COMPRESS_MUTATION_SEND','HTTPRequest','onSendChangeset','_shouldReportTelemetry','_localeService','mergeOverrideWithDependencies','_configService','open$','PENDING','target','padding','_startCollaboration','YUUMI_SUBSCRIPTION_NOT_FOUND','submit\x20changeset\x20error!','setCurrentUser','_handler','take','/-/object/-/batch_allowed','exports','stopTime','UNKNOWN_CODE','commentUpdate$','filter','_socketReady','CollaborativeUndoRedoService','APPLY_PERMISSION_DENIED','_networkConditionService','/universer-api/oidc/authpage','CONNECTOR_DATA_TOO_LARGE','NO_OTHER_CLIENTS_EDITING','Encryptor','HEARTBEAT','pad','AES','_getRedoStack','eventID','PY_RUNTIME_SCRIPT_ERROR','listRoles','UUID','unpad','SheetPermissionInitController','finalize','join','startsWith','DEFAULT_COLLAB_WEB_SOCKET_URL','set','@univerjs/docs','stringify','newCsEvent','_clearRetryConnectingTimer','/allowed','HmacSHA1','unitID','_clearRedo','IContextService','_throwTelemetryCollaborationNewChangeset','?size=','abs','SHOULD_CLOSE_CONN','isTransformChangesetsSuccess','[PendingState]:\x20unhandled\x20univer\x20type:\x20','LOGIN_FAILED','_data','/rev/','_permissionService','socket\x20open.','debug','_onRemoteChangeset','TOO_MANY_REQUESTS','CollaborationEvent','onlyLocal','onRemoteChangeset','RevisionService','rxjs/operators','getOwnPropertyDescriptor','_initUnitPermissionChange','PendingState','UnitEmbedded','members','image/bmp','socket$','UNIVER_UNKNOWN','UNDEFINED','hostname','rxjs','UniverCollaborationPlugin','setShowComponents','isTransformMutationsWithChangesetFailure','_commentService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','origin','replace','/universer-api/stream/file/upload','result','DependentOn','Cipher','SnapshotService','_compressMutationService','getSnapshotAPIPath','retryConnectingInterval','_syncEditingCollabCursor','IAuthzIoService','unknown','reject','revision','createDecryptor','clear','OPTIONAL','now','mapDocumentTypeToUniverType','collaboratorID','auth.needGotoLoginAlert','CollaborationUIEventId','c2Prime','MentionIoHttpService','getSheetBlock','DEFAULT_WS_SESSION_TICKET_URL','HELLO','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[OfflineState]:\x20received\x20rejection.','@univerjs/drawing','JOIN','getUnitOnRev','putCollaborators','RECV','awaiting','_createSocket','_sessions','OfflineState','_executeRemoteChangeset','PERMISSION_DENIED','post','getImageSourceCache','delete','NOT_COLLAB','isPermissionRej','transformUndoRedo','getUnitStatus$','updateOfflineData','_resendTimer','_init','_singleActiveUnitService','CollaborationUIEventService','from','_state','_univerInstanceService','pluginName','_transformRemoteChangesetByStateCache','_transitionLocked','_status$','loadSheet','_roomMembers','Quantity','put','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','pending','[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.','initWorkbookPermissionChange','_scheduleCompleteTimestamp','session.room-full','getFocusedUnit','getLocalCacheKey','_sendingTimer','_revisionService','ERROR_EXCEED_SIZE','[CollaborationSessionService]:\x20socket\x20error','init','24306GSRNtJ','apply','[UniverCollaborationClientPlugin]','CBC','emitEvent','LIVESHARE_OPERATION','ConflictState','LOCAL_CACHE_INTERVAL','COLLAB_SUBMIT_CHANGESET_URL','_transformSelections','workbook','4TmZUZW','_initCloseConn','onTransformSelections','getConfig','_toggleOffline','_onRemoteRejected','onLocalMutation','_sendHeartbeatTimer','processBlock','push','saveImage','COLLAB_WEB_SOCKET_URL_KEY','_getSignURL','awaiting_with_pending','length','_applyRemoteChangeset','_changesetReqId','onTransformIME','map','_updateStatus','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','createCollaborator','_acknowledgedAwaitingChangeset','message$','isTransformMutationsWithChangesetSuccess','Base64','unitId','_getUploadFileURL','ceil','WordArray','withCredentials','formatter','_httpService','[FetchMissState]','execute','objectID','_createInitialStateImpl','_loadDoc','IUniverInstanceService','_state$','clamp','then','_joinRoom','_createHelper','mixIn','_ENC_XFORM_MODE','values','_telemetryService','_append','byteLength','_invKeySchedule','liveShareNewHost','LIVESHARE_TERMINATE','WorkbookEditablePermission','_sessionStatus$','connection\x20error','extend','close$','@univerjs/sheets','ImageSourceType','Inject','MentionType','asObservable','objects','/resources','routeKey','[CollaborationSessionService]','editingUnit','CollaborationEntity','localCacheService','onTransformRemoteChangesetByIMECache','offline','has','_telemetryInfo','YUUMI_URL_COL_OUT_OF_RANGE','EmptyMutation','deleteCollaborator','_collaborationSessionService','conflict','FAIL','registerHTTPInterceptor','SheetTransformSelectionsService','batchAllowed','rng','SEND_CHANGESET_TIMEOUT_KEY','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','duration','_logService','uploadFileServerUrl','cfg','onStateChange','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','__Key__','ICollaborationSocketService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','resolve','_instanceService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_memberService','getValue','mode','/object/','_clearScheduledTask','4878286xZOUID','ENSURE_SNAPSHOT_EXECUTION','get','_scheduleCollaborationTimeoutTimer','_tryEnsureSocket','getCollabEntity$','find','send','type','loadDoc','onStarting','keySize','fetchMiss','getCurrentUser','CollaborationSession','Base','INVALID_ARGUMENT','[OfflineState]:\x20received\x20changeset.','getTypeOfUnitDisposed$','getSheetId','_clearHeartbeatTimer','transformChangesets','parseChangesetToProtocol','string','SOCKET_FAILED_RETRY','editing\x20status\x20changed\x20to','_onConflict','onRemoteRetry','APPLY_REVISION_CONFILICT','_onCombEvent','lib','POST','UNIVER_SLIDE','_socketMessageSubscription','msCrypto','fromCollab','addHandlerCallback','_iv','getUnitId','transformSelections','Latin1','onTransformRemoteChangesetByStateCache','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','onSyncEditingCollabCursor','SnapshotServerOverHTTPService','PasswordBasedCipher','_unlockTransition','unitInfo$','update','defineProperty','CompressMutationService','transformStack\x20failed!','_getLoginPath','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','state','error','HEARTBEAT_INTERVAL','_schedule','1270GJCkpq','baseRev','toLowerCase','_onUserJoin','unsubscribe','Plugin','JSONX','buffer','title','onMissedChangesetFetched','toggleOnline','ICommandService','Disposable','random','equals','@univerjs-pro/license','SNAPSHOT_INVALID_SNAPSHOT','reset','snapshot','function','event$','sin','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','YUUMI_UNABLE_LOAD_URL','_onOffline','selections','objectType','ILogService','APPLY_DUPLICATED','BehaviorSubject','subject','subUnitId','subscribe','getRandomValues','toDisposable','infoRsp','[DataLoaderService]','rev','getActiveSheet','url','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','enableOfflineEditing','indexOf','COLLAB_WEB_SOCKET_URL','localeService','startTime','_initRequestHeader','_xformMode','EvpKDF','_replayCachedMutations','DEFAULT_FILE_NAME','DisposableCollection','Subject','charAt','PERMISSION_REJ','_transformUndoredo','entries','reqId','UNIVER_COLLABORATION_CLIENT_PLUGIN','concatMap','InsertSheetMutation','LICENSE_IMPORT_SIZE_EXCEEDED','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','originalMeta','_collaborationTimeoutTimer','_resendWithTimeout','getUnitType','BASE64','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','/new_changes','liveShareOperation','confirm','_stopTelemetryCollaborationNewChangeset','PERSON','_onConnectionOpen','updatePermissionObjEvent','disableLocalCache','CipherParams','saveSheetBlock','_nRounds','YUUMI_RATE_OVER_LIMIT','close','@univerjs-pro/collaboration','CHANGESET_REJ','CONFLICT','_waitCount','isArray','_transformIMECache','pauseCollaboration','LIVESHARE_FETCH_OPERATIONS'];_0x3f81=function(){return _0x2f092a;};return _0x3f81();}const Y='collaboration-client.config',Jt={};var Q=(_0x52fe12=>(_0x52fe12[_0x1a66bf(0x205)]=_0x1a66bf(0x205),_0x52fe12['PERMISSION_DENIED']=_0x1a66bf(0x352),_0x52fe12[_0x1a66bf(0x477)]=_0x1a66bf(0x477),_0x52fe12[_0x1a66bf(0x2a5)]=_0x1a66bf(0x2a5),_0x52fe12[_0x1a66bf(0x487)]=_0x1a66bf(0x487),_0x52fe12[_0x1a66bf(0x401)]='SOCKET_FAILED_RETRY',_0x52fe12[_0x1a66bf(0x210)]=_0x1a66bf(0x210),_0x52fe12[_0x1a66bf(0x2ac)]=_0x1a66bf(0x2ac),_0x52fe12))(Q||{});class te{constructor(){var _0x257560=_0x1a66bf;A(this,_0x257560(0x2be),new j['Subject']()),A(this,'event$',this[_0x257560(0x2be)][_0x257560(0x3c0)]());}[_0x1a66bf(0x37b)](_0x1d5ede){var _0x4a6971=_0x1a66bf;this[_0x4a6971(0x2be)]['next'](_0x1d5ede);}}const bt=a[_0x1a66bf(0x50b)](_0x1a66bf(0x517));function Rt(_0x15dbcb){var _0x58967f=_0x1a66bf,_0x48025b,_0x5c2add,_0x43e762,_0x23e784,_0xb96965;const _0x30b9da=_0x15dbcb[_0x58967f(0x22f)],_0x128fcf=JSON[_0x58967f(0x4fd)](_0x30b9da);switch(_0x128fcf[_0x58967f(0x222)]){case W['HEARTBEAT']:case W[_0x58967f(0x345)]:{const _0x251e27=_0x128fcf[_0x58967f(0x446)];return{..._0x128fcf,'data':_0x251e27,'cmd':_0x128fcf[_0x58967f(0x222)]};}case W[_0x58967f(0x349)]:{const _0x2cd54e=_0x128fcf[_0x58967f(0x29e)];return{..._0x128fcf,'data':_0x2cd54e,'cmd':_0x128fcf[_0x58967f(0x222)]};}case W['RECV']:{const _0x62a0f1=_0x128fcf[_0x58967f(0x47e)];switch(_0x62a0f1[_0x58967f(0x2f3)]){case g[_0x58967f(0x315)][_0x58967f(0x459)]:return{..._0x128fcf,'data':{..._0x62a0f1,'data':(_0x48025b=_0x62a0f1['permissionRejEvent'])==null?void 0x0:_0x48025b['cs']},'cmd':_0x128fcf['cmd']};case g[_0x58967f(0x315)]['CHANGESET_ACK']:return{..._0x128fcf,'data':{..._0x62a0f1,'data':(_0x5c2add=_0x62a0f1['csAckEvent'])==null?void 0x0:_0x5c2add['cs']},'cmd':_0x128fcf['cmd']};case g[_0x58967f(0x315)][_0x58967f(0x2ab)]:return{..._0x128fcf,'data':{..._0x62a0f1,'data':(_0x43e762=_0x62a0f1[_0x58967f(0x300)])==null?void 0x0:_0x43e762['cs']},'cmd':_0x128fcf[_0x58967f(0x222)]};case g[_0x58967f(0x315)][_0x58967f(0x476)]:return{..._0x128fcf,'data':{..._0x62a0f1,'data':(_0x23e784=_0x62a0f1['csRejEvent'])==null?void 0x0:_0x23e784['cs']},'cmd':_0x128fcf['cmd']};case g[_0x58967f(0x315)]['CHANGESET_SHOULD_RETRY']:return{..._0x128fcf,'data':{..._0x62a0f1,'data':(_0xb96965=_0x62a0f1['csShouldRetryEvent'])==null?void 0x0:_0xb96965['cs']},'cmd':_0x128fcf[_0x58967f(0x222)]};case g['CollaborationEvent'][_0x58967f(0x529)]:return{..._0x128fcf,'data':{..._0x62a0f1,'data':_0x62a0f1['updateCursorEvent']},'cmd':_0x128fcf['cmd']};case g[_0x58967f(0x315)][_0x58967f(0x1f0)]:return{..._0x128fcf,'data':{..._0x62a0f1,'data':_0x62a0f1[_0x58967f(0x21b)]},'cmd':_0x128fcf[_0x58967f(0x222)]};case g[_0x58967f(0x315)][_0x58967f(0x48d)]:return{..._0x128fcf,'data':{..._0x62a0f1,'data':_0x62a0f1['leaveEvent']},'cmd':_0x128fcf['cmd']};case g[_0x58967f(0x315)][_0x58967f(0x275)]:return{..._0x128fcf,'data':{..._0x62a0f1,'data':_0x62a0f1[_0x58967f(0x3b5)]},'cmd':_0x128fcf[_0x58967f(0x222)]};case g[_0x58967f(0x315)][_0x58967f(0x47c)]:case g['CollaborationEvent'][_0x58967f(0x37c)]:return{..._0x128fcf,'data':{..._0x62a0f1,'data':_0x62a0f1[_0x58967f(0x469)]},'cmd':_0x128fcf[_0x58967f(0x222)]};case g[_0x58967f(0x315)][_0x58967f(0x3b6)]:return{..._0x128fcf,'data':{..._0x62a0f1,'data':_0x62a0f1[_0x58967f(0x3b5)]},'cmd':_0x128fcf[_0x58967f(0x222)]};case g[_0x58967f(0x315)][_0x58967f(0x261)]:return{..._0x128fcf,'data':_0x62a0f1,'cmd':_0x128fcf[_0x58967f(0x222)]};case g[_0x58967f(0x315)]['COMMENT_UPDATE']:return{..._0x128fcf,'data':{..._0x62a0f1,'data':_0x62a0f1[_0x58967f(0x256)]},'cmd':_0x128fcf[_0x58967f(0x222)]};case g['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x128fcf,'data':{..._0x62a0f1,'data':_0x62a0f1[_0x58967f(0x46e)]},'cmd':_0x128fcf[_0x58967f(0x222)]};case g[_0x58967f(0x315)][_0x58967f(0x30a)]:return{..._0x128fcf,'data':{..._0x62a0f1,'data':_0x62a0f1['shouldCloseConn']},'cmd':_0x128fcf[_0x58967f(0x222)]};case g[_0x58967f(0x315)][_0x58967f(0x507)]:return{..._0x128fcf,'data':{..._0x62a0f1,'data':_0x62a0f1[_0x58967f(0x262)]},'cmd':_0x128fcf[_0x58967f(0x222)]};default:return _0x128fcf;}}default:return _0x128fcf;}}function yt(_0x5e3f85){var _0x44a30e=_0x1a66bf;switch(_0x5e3f85[_0x44a30e(0x222)]){case W[_0x44a30e(0x2ef)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x5e3f85[_0x44a30e(0x222)],'routeKey':_0x5e3f85[_0x44a30e(0x3c3)]});case W[_0x44a30e(0x21d)]:{let _0x21a42e;switch(_0x5e3f85[_0x44a30e(0x22f)][_0x44a30e(0x2f3)]){case g[_0x44a30e(0x315)][_0x44a30e(0x529)]:{_0x21a42e={'eventID':g[_0x44a30e(0x315)][_0x44a30e(0x529)],'updateCursorEvent':_0x5e3f85[_0x44a30e(0x22f)][_0x44a30e(0x22f)]};break;}case g[_0x44a30e(0x315)][_0x44a30e(0x48d)]:{_0x21a42e={'eventID':g[_0x44a30e(0x315)][_0x44a30e(0x48d)],'leaveEvent':_0x5e3f85['data'][_0x44a30e(0x22f)]};break;}case g['CollaborationEvent']['USERS_ENTER']:{_0x21a42e={'eventID':g[_0x44a30e(0x315)][_0x44a30e(0x1f0)],'joinEvent':_0x5e3f85[_0x44a30e(0x22f)][_0x44a30e(0x22f)]};break;}case g[_0x44a30e(0x315)]['LIVESHARE_NEW_HOST']:{_0x21a42e={'eventID':g[_0x44a30e(0x315)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x5e3f85[_0x44a30e(0x22f)]['data']};break;}case g[_0x44a30e(0x315)]['LIVESHARE_OPERATION']:{_0x21a42e={'eventID':g[_0x44a30e(0x315)][_0x44a30e(0x37c)],'liveShareOperation':_0x5e3f85[_0x44a30e(0x22f)][_0x44a30e(0x22f)]};break;}case g['CollaborationEvent'][_0x44a30e(0x3b6)]:{_0x21a42e={'eventID':g[_0x44a30e(0x315)][_0x44a30e(0x3b6)],'liveShareTerminate':_0x5e3f85[_0x44a30e(0x22f)][_0x44a30e(0x22f)]};break;}case g[_0x44a30e(0x315)]['LIVESHARE_REQUEST_HOST']:{_0x21a42e={'eventID':g['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x5e3f85[_0x44a30e(0x22f)][_0x44a30e(0x22f)]};break;}case g[_0x44a30e(0x315)][_0x44a30e(0x47c)]:{_0x21a42e={'eventID':g[_0x44a30e(0x315)][_0x44a30e(0x47c)]};break;}default:_0x21a42e={'eventID':_0x5e3f85[_0x44a30e(0x22f)][_0x44a30e(0x2f3)]};}return JSON[_0x44a30e(0x2ff)]({'cmd':_0x5e3f85[_0x44a30e(0x222)],'routeKey':_0x5e3f85[_0x44a30e(0x3c3)],'collaMsg':_0x21a42e});}case W[_0x44a30e(0x349)]:return JSON[_0x44a30e(0x2ff)]({'cmd':_0x5e3f85[_0x44a30e(0x222)],'routeKey':_0x5e3f85[_0x44a30e(0x3c3)],'joinReq':_0x5e3f85[_0x44a30e(0x22f)]});case W[_0x44a30e(0x26f)]:return JSON[_0x44a30e(0x2ff)]({'cmd':_0x5e3f85[_0x44a30e(0x222)],'routeKey':_0x5e3f85[_0x44a30e(0x3c3)],'leaveReq':_0x5e3f85[_0x44a30e(0x22f)]});default:throw new Error(_0x44a30e(0x4fa));}}var Xt=Object[_0x1a66bf(0x31a)],Zt=(_0x169979,_0x104a94,_0x57c885,_0x2f8f4e)=>{var _0xcdc71f=_0x1a66bf;for(var _0x2d749d=_0x2f8f4e>0x1?void 0x0:_0x2f8f4e?Xt(_0x104a94,_0x57c885):_0x104a94,_0x564463=_0x169979[_0xcdc71f(0x390)]-0x1,_0x19af52;_0x564463>=0x0;_0x564463--)(_0x19af52=_0x169979[_0x564463])&&(_0x2d749d=_0x19af52(_0x2d749d)||_0x2d749d);return _0x2d749d;},_e=(_0x25e255,_0x1d06ce)=>(_0x2402bf,_0x20be65)=>_0x1d06ce(_0x2402bf,_0x20be65,_0x25e255);const $e=a[_0x1a66bf(0x50b)]('univer-pro.collaboration-client-socket-service');function Qt(_0x27a934,_0x233142,_0xaed8bd){var _0x13cf0f=_0x1a66bf;return _0x27a934+'/'+_0x233142+_0x13cf0f(0x29c)+_0xaed8bd+_0x13cf0f(0x468);}exports['CollaborationSocketService']=class extends a[_0x1a66bf(0x42f)]{constructor(_0x4081ec,_0x70d385,_0x457416,_0x35b1b2,_0x465129){var _0x3fe473=_0x1a66bf;super(),this[_0x3fe473(0x209)]=_0x4081ec,this[_0x3fe473(0x3a2)]=_0x70d385,this[_0x3fe473(0x2d6)]=_0x457416,this[_0x3fe473(0x3d9)]=_0x35b1b2,this['_snapshotServerService']=_0x465129;}[_0x1a66bf(0x1fb)](_0x45de13){var _0x222abd=_0x1a66bf;const _0x3b1f5a=this[_0x222abd(0x209)]['get'](q['ISocketService']);if(!_0x3b1f5a)throw new Error(_0x222abd(0x36a));const _0x372823=_0x3b1f5a['createSocket'](_0x45de13);if(!_0x372823)throw new Error(_0x222abd(0x44b));const _0x40f485=new a[(_0x222abd(0x456))](),_0x2d29ee=new j['Subject']();_0x40f485[_0x222abd(0x25b)](_0x372823['close$'][_0x222abd(0x443)](_0x15e5e0=>_0x2d29ee[_0x222abd(0x4d0)](_0x15e5e0))),_0x40f485[_0x222abd(0x25b)](a[_0x222abd(0x445)](()=>_0x2d29ee[_0x222abd(0x506)]()));const _0x55f85d=new j[(_0x222abd(0x457))]();_0x40f485['add'](_0x372823[_0x222abd(0x2bc)][_0x222abd(0x443)](_0x530f2c=>_0x55f85d[_0x222abd(0x4d0)](_0x530f2c))),_0x40f485[_0x222abd(0x25b)](a[_0x222abd(0x445)](()=>_0x55f85d[_0x222abd(0x506)]()));const _0x5494f5=new j[(_0x222abd(0x457))]();_0x40f485[_0x222abd(0x25b)](_0x372823[_0x222abd(0x399)][_0x222abd(0x443)](_0x308b42=>{const _0x4369ce=Rt(_0x308b42);_0x5494f5['next'](_0x4369ce);})),_0x40f485[_0x222abd(0x25b)](a['toDisposable'](()=>_0x5494f5['complete']()));let _0x23c465;const _0x29a6f1=()=>{var _0xb0a3cd=_0x222abd;_0x55f85d[_0xb0a3cd(0x4d0)](new Event('connection\x20error')),_0x2d29ee[_0xb0a3cd(0x4d0)](new Event(_0xb0a3cd(0x3b9))),_0x23c465[_0xb0a3cd(0x474)]();};return _0x23c465={'memberID':'','close$':_0x2d29ee[_0x222abd(0x3c0)](),'error$':_0x55f85d['asObservable'](),'open$':_0x372823[_0x222abd(0x2d7)],'message$':_0x5494f5['asObservable'](),'send':_0x310efd=>{var _0x562d22=_0x222abd;if(_0x310efd[_0x562d22(0x222)]===W['INGEST']){if(_0x310efd[_0x562d22(0x22f)]['eventID']===g[_0x562d22(0x315)][_0x562d22(0x282)]){this[_0x562d22(0x2b5)](_0x23c465,_0x310efd[_0x562d22(0x22f)])[_0x562d22(0x48f)](_0xb3d9bc=>{var _0x14a1be=_0x562d22;this[_0x14a1be(0x3d9)][_0x14a1be(0x420)](_0xb3d9bc),_0x29a6f1();});return;}if(_0x310efd[_0x562d22(0x22f)][_0x562d22(0x2f3)]===g[_0x562d22(0x315)][_0x562d22(0x2b2)]){const _0x3b333a=_0x310efd[_0x562d22(0x22f)];this[_0x562d22(0x4d4)](_0x3b333a)[_0x562d22(0x3ab)](_0x179a25=>{var _0x2e5423=_0x562d22;_0x5494f5[_0x2e5423(0x4d0)]({'cmd':W[_0x2e5423(0x34c)],'code':ae['OK'],'routeKey':_0x3b333a[_0x2e5423(0x22f)]['unitID'],'routeType':'','data':{'eventID':g[_0x2e5423(0x315)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x179a25}}});})[_0x562d22(0x48f)](_0x3434f8=>{var _0x113f44=_0x562d22;this[_0x113f44(0x3d9)]['error'](_0x3434f8),_0x29a6f1();});return;}}_0x372823['send'](yt(_0x310efd));},'close':()=>{var _0x4c9c03=_0x222abd;_0x372823['close'](),_0x40f485[_0x4c9c03(0x213)]();}},_0x23c465;}async[_0x1a66bf(0x2b5)](_0x5c86be,_0x120032){var _0x490528=_0x1a66bf,_0x29c4a5,_0x1e9d2f;const {unitType:_0x53f916,unitID:_0x3220cc,changeset:_0x134651}=_0x120032['data'],_0x52e705={'unitID':_0x3220cc,'memberID':_0x5c86be[_0x490528(0x4f6)],'type':_0x53f916,'changeset':g[_0x490528(0x3ff)](_0x134651)},_0x506cc9=this[_0x490528(0x2d6)][_0x490528(0x385)](It),_0x1707d8=this[_0x490528(0x2d6)][_0x490528(0x385)](Y),_0x499a3c=Qt((_0x1e9d2f=(_0x29c4a5=_0x1707d8==null?void 0x0:_0x1707d8['collabSubmitChangesetUrl'])!=null?_0x29c4a5:_0x506cc9)!=null?_0x1e9d2f:Kt,_0x53f916,_0x3220cc);try{await this[_0x490528(0x3a2)][_0x490528(0x353)](_0x499a3c,{'body':_0x52e705});}catch(_0x5016a2){throw this['_logService'][_0x490528(0x420)](_0x490528(0x4f4),_0x490528(0x2dd)),_0x5016a2;}}async[_0x1a66bf(0x4d4)](_0x5a68dc){var _0x23fb73=_0x1a66bf;const {unitID:_0x253bf2,from:_0x37fd9d,to:_0x4452fb,unitType:_0x3c8f50}=_0x5a68dc[_0x23fb73(0x22f)];return(await this['_snapshotServerService'][_0x23fb73(0x540)]({'metadata':void 0x0},{'unitID':_0x253bf2,'type':_0x3c8f50,'from':_0x37fd9d,'to':_0x4452fb}))[_0x23fb73(0x272)];}},exports[_0x1a66bf(0x516)]=Zt([_e(0x0,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x53d)])),_e(0x1,a['Inject'](q['HTTPService'])),_e(0x2,a[_0x1a66bf(0x28e)]),_e(0x3,a[_0x1a66bf(0x43e)]),_e(0x4,g[_0x1a66bf(0x2a1)])],exports[_0x1a66bf(0x516)]);const ei='collaboration_new_changeset';function ti(_0x2246d){var _0x4f383c=_0x1a66bf;return JSON[_0x4f383c(0x2ff)](_0x2246d)[_0x4f383c(0x390)];}class Be{constructor(){var _0x35e099=_0x1a66bf;A(this,_0x35e099(0x27c),new j['Subject']()),A(this,_0x35e099(0x2e5),this['_commentUpdate$'][_0x35e099(0x3c0)]());}['onCommentUpdate'](_0x5493a6){var _0x37f96f=_0x1a66bf;this[_0x37f96f(0x27c)][_0x37f96f(0x4d0)](_0x5493a6);}}var ii=Object[_0x1a66bf(0x31a)],ni=(_0x4f5c40,_0x40fab1,_0x8eb66e,_0x497cef)=>{for(var _0x563bfb=_0x497cef>0x1?void 0x0:_0x497cef?ii(_0x40fab1,_0x8eb66e):_0x40fab1,_0x5168a5=_0x4f5c40['length']-0x1,_0x3a2330;_0x5168a5>=0x0;_0x5168a5--)(_0x3a2330=_0x4f5c40[_0x5168a5])&&(_0x563bfb=_0x3a2330(_0x563bfb)||_0x563bfb);return _0x563bfb;},Ke=(_0x5a3d12,_0x35efac)=>(_0x44cd70,_0x233d42)=>_0x35efac(_0x44cd70,_0x233d42,_0x5a3d12);exports[_0x1a66bf(0x2cd)]=class extends a['Disposable']{constructor(_0x330dca,_0x21d291){var _0x34e7e3=_0x1a66bf;super(),A(this,_0x34e7e3(0x367),new Map()),A(this,_0x34e7e3(0x4a1),new j[(_0x34e7e3(0x457))]()),(this['_univerInstanceService']=_0x330dca,this['_userManagerService']=_0x21d291,this['disposeWithMe'](j[_0x34e7e3(0x25e)](this[_0x34e7e3(0x361)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_SHEET'])['pipe'](V[_0x34e7e3(0x394)](_0x1c7e75=>_0x1c7e75[_0x34e7e3(0x40f)]())),this[_0x34e7e3(0x361)]['getTypeOfUnitDisposed$'](a[_0x34e7e3(0x49c)][_0x34e7e3(0x1e4)])[_0x34e7e3(0x489)](V[_0x34e7e3(0x394)](_0x418565=>_0x418565['getUnitId']())),this[_0x34e7e3(0x361)]['getTypeOfUnitDisposed$'](a[_0x34e7e3(0x49c)]['UNIVER_SLIDE'])[_0x34e7e3(0x489)](V[_0x34e7e3(0x394)](_0x24c5b8=>_0x24c5b8[_0x34e7e3(0x40f)]())))[_0x34e7e3(0x443)](_0x54cef1=>this[_0x34e7e3(0x21c)](_0x54cef1))));}[_0x1a66bf(0x4d2)](_0x16b729){var _0x442ca9=_0x1a66bf;return this[_0x442ca9(0x367)][_0x442ca9(0x3ca)](_0x16b729)?j['of'](this[_0x442ca9(0x367)][_0x442ca9(0x3eb)](_0x16b729)):this[_0x442ca9(0x4a1)][_0x442ca9(0x489)](V[_0x442ca9(0x394)](_0xb98655=>{var _0x387b7c=_0x442ca9;if(_0xb98655===_0x16b729)return this['_roomMembers'][_0x387b7c(0x3eb)](_0xb98655);}));}[_0x1a66bf(0x2de)](_0x105fc2){var _0x549e3a=_0x1a66bf;this[_0x549e3a(0x287)][_0x549e3a(0x2de)](_0x105fc2);}['getCurrentUser'](){var _0x19853a=_0x1a66bf;return this[_0x19853a(0x287)][_0x19853a(0x3f6)]();}[_0x1a66bf(0x27f)](_0x1d23ca,_0x2b899e){var _0x91570a=_0x1a66bf;let _0x2788ff=this['_roomMembers'][_0x91570a(0x3eb)](_0x1d23ca);_0x2788ff||(_0x2788ff=new ri(),this[_0x91570a(0x367)][_0x91570a(0x2fd)](_0x1d23ca,_0x2788ff),this[_0x91570a(0x4a1)][_0x91570a(0x4d0)](_0x1d23ca)),_0x2788ff[_0x91570a(0x27f)](_0x2b899e);}[_0x1a66bf(0x206)](_0x445832,_0x4ba698){var _0xa17b34=_0x1a66bf;const _0x2e01a5=this[_0xa17b34(0x367)]['get'](_0x445832);_0x2e01a5&&_0x2e01a5[_0xa17b34(0x206)](_0x4ba698);}[_0x1a66bf(0x237)](_0x493279){var _0x46ff54=_0x1a66bf;return this[_0x46ff54(0x367)][_0x46ff54(0x3eb)](_0x493279);}[_0x1a66bf(0x483)](_0x4a8e5e,_0x20b79e){var _0x2e8fe4=_0x1a66bf;const _0x5fd17b=this['_roomMembers'][_0x2e8fe4(0x3eb)](_0x4a8e5e);if(_0x5fd17b)return _0x5fd17b[_0x2e8fe4(0x483)](_0x20b79e);}[_0x1a66bf(0x21c)](_0x22b686){var _0x5cf35e=_0x1a66bf;const _0x2dfa4d=this[_0x5cf35e(0x367)]['get'](_0x22b686);_0x2dfa4d&&(_0x2dfa4d[_0x5cf35e(0x213)](),this['_roomMembers'][_0x5cf35e(0x355)](_0x22b686));}[_0x1a66bf(0x213)](){var _0x32e8a2=_0x1a66bf;this[_0x32e8a2(0x367)][_0x32e8a2(0x4c0)](_0x4f6225=>_0x4f6225['dispose']()),this[_0x32e8a2(0x367)][_0x32e8a2(0x33a)](),this['_roomCreated$']['complete']();}},exports[_0x1a66bf(0x2cd)]=ni([Ke(0x0,a[_0x1a66bf(0x3a8)]),Ke(0x1,a['Inject'](a[_0x1a66bf(0x217)]))],exports[_0x1a66bf(0x2cd)]);class ri extends a['Disposable']{constructor(){var _0x160da6=_0x1a66bf;super(...arguments),A(this,_0x160da6(0x485),new Map()),A(this,_0x160da6(0x542),new j[(_0x160da6(0x440))](this[_0x160da6(0x485)])),A(this,_0x160da6(0x23a),this[_0x160da6(0x542)][_0x160da6(0x3c0)]());}[_0x1a66bf(0x213)](){var _0x3fbcd8=_0x1a66bf;this['_members'][_0x3fbcd8(0x33a)]();}[_0x1a66bf(0x27f)](_0x58be77){var _0xb814c7=_0x1a66bf;this[_0xb814c7(0x485)][_0xb814c7(0x2fd)](_0x58be77['memberID'],_0x58be77),this[_0xb814c7(0x24d)]();}['removeMember'](_0x56e07b){var _0x479725=_0x1a66bf;this[_0x479725(0x485)][_0x479725(0x355)](_0x56e07b);}[_0x1a66bf(0x483)](_0x3910d0){var _0x405e8a=_0x1a66bf;return this[_0x405e8a(0x485)]['get'](_0x3910d0);}['getAllMembers'](){var _0x306907=_0x1a66bf;return Array[_0x306907(0x35f)](this[_0x306907(0x485)][_0x306907(0x3b0)]());}[_0x1a66bf(0x24d)](){var _0x3265db=_0x1a66bf;this[_0x3265db(0x542)][_0x3265db(0x4d0)](this[_0x3265db(0x485)]);}}var si=Object[_0x1a66bf(0x31a)],oi=(_0xa9799,_0x38e2c0,_0xb6ef0a,_0x13e92d)=>{for(var _0x227f59=_0x13e92d>0x1?void 0x0:_0x13e92d?si(_0x38e2c0,_0xb6ef0a):_0x38e2c0,_0x1902e3=_0xa9799['length']-0x1,_0x2f38ad;_0x1902e3>=0x0;_0x1902e3--)(_0x2f38ad=_0xa9799[_0x1902e3])&&(_0x227f59=_0x2f38ad(_0x227f59)||_0x227f59);return _0x227f59;},oe=(_0x5dd2fe,_0x57a7ad)=>(_0x5c1e42,_0x4736f4)=>_0x57a7ad(_0x5c1e42,_0x4736f4,_0x5dd2fe),se=(_0x4bb94d=>(_0x4bb94d[_0x4bb94d[_0x1a66bf(0x249)]=0x0]=_0x1a66bf(0x249),_0x4bb94d[_0x4bb94d['JOINING']=0x1]='JOINING',_0x4bb94d[_0x4bb94d['OFFLINE']=0x2]=_0x1a66bf(0x4d5),_0x4bb94d[_0x4bb94d[_0x1a66bf(0x486)]=0x3]=_0x1a66bf(0x486),_0x4bb94d))(se||{});const Ye={[ae['FAIL']]:_0x1a66bf(0x515),[ae['JOIN_ROOM_FULL']]:_0x1a66bf(0x36f),[ae[_0x1a66bf(0x23e)]]:'session.room-not-exists',[ae[_0x1a66bf(0x2bb)]]:'session.room-permission-denied',[ae[_0x1a66bf(0x52f)]]:'session.room-cnt-exceeds'};exports[_0x1a66bf(0x3f7)]=class extends a[_0x1a66bf(0x535)]{constructor(_0xabef3e,_0x111b0c,_0x587a44,_0x106a61,_0x1f432a,_0x3e80c8,_0x153be6,_0x13084f,_0xf63e08){var _0x3a605d=_0x1a66bf;super(),A(this,_0x3a605d(0x3b8),new j['BehaviorSubject'](0x0)),A(this,_0x3a605d(0x519),this[_0x3a605d(0x3b8)]['asObservable']()),A(this,_0x3a605d(0x2be),new j[(_0x3a605d(0x457))]()),A(this,_0x3a605d(0x437),this[_0x3a605d(0x2be)][_0x3a605d(0x3c0)]()),A(this,_0x3a605d(0x543)),A(this,'_socketMessageSubscription'),A(this,_0x3a605d(0x463)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x3a605d(0x3cb),null),(this[_0x3a605d(0x530)]=_0xabef3e,this[_0x3a605d(0x3d9)]=_0x587a44,this[_0x3a605d(0x2d6)]=_0x106a61,this['_localeService']=_0x1f432a,this[_0x3a605d(0x3e4)]=_0x3e80c8,this[_0x3a605d(0x328)]=_0x153be6,this['_collaborationUIEventService']=_0x13084f,this[_0x3a605d(0x3b1)]=_0xf63e08,this[_0x3a605d(0x2d3)]=!!this[_0x3a605d(0x3b1)],_0x111b0c[_0x3a605d(0x489)](j[_0x3a605d(0x4e2)](this[_0x3a605d(0x2c3)]))[_0x3a605d(0x443)](_0x4dc081=>{var _0x5c68c4=_0x3a605d,_0x445bd7;typeof _0x4dc081>'u'||(this['_socket']=_0x4dc081,_0x4dc081?(this[_0x5c68c4(0x3ac)](_0x4dc081),this[_0x5c68c4(0x40a)]=_0x4dc081[_0x5c68c4(0x399)][_0x5c68c4(0x443)](_0xa064fe=>{var _0x545e53=_0x5c68c4;_0xa064fe[_0x545e53(0x3c3)]===this[_0x545e53(0x530)]&&this[_0x545e53(0x406)](_0xa064fe);})):(this[_0x5c68c4(0x307)](),this[_0x5c68c4(0x3b8)][_0x5c68c4(0x4d0)](0x2),(_0x445bd7=this['_socketMessageSubscription'])==null||_0x445bd7[_0x5c68c4(0x427)](),this[_0x5c68c4(0x40a)]=null));}));}get[_0x1a66bf(0x290)](){var _0xa4b855=_0x1a66bf;return this[_0xa4b855(0x3b8)][_0xa4b855(0x3e5)]();}[_0x1a66bf(0x53e)](){var _0x26078d=_0x1a66bf,_0x6506ca,_0x439859;return(_0x439859=(_0x6506ca=this[_0x26078d(0x543)])==null?void 0x0:_0x6506ca[_0x26078d(0x4f6)])!=null?_0x439859:null;}[_0x1a66bf(0x213)](){var _0x536eee=_0x1a66bf;super[_0x536eee(0x213)](),this[_0x536eee(0x2c3)]['next'](),this[_0x536eee(0x2c3)][_0x536eee(0x506)]();}[_0x1a66bf(0x474)](){var _0x1ae850=_0x1a66bf,_0x22c8d4,_0x202a6d;this[_0x1ae850(0x307)](),(_0x22c8d4=this[_0x1ae850(0x543)])==null||_0x22c8d4[_0x1ae850(0x3f0)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x1ae850(0x530)]}}),(_0x202a6d=this[_0x1ae850(0x543)])==null||_0x202a6d['close'](),this['_event$'][_0x1ae850(0x506)](),this[_0x1ae850(0x3b8)][_0x1ae850(0x506)](),this[_0x1ae850(0x213)]();}[_0x1a66bf(0x406)](_0xa5f263){var _0x26d1d7=_0x1a66bf;_0xa5f263['cmd']===W['JOIN']?this[_0x26d1d7(0x2b3)](_0xa5f263):_0xa5f263[_0x26d1d7(0x222)]===W[_0x26d1d7(0x34c)]&&this[_0x26d1d7(0x2cc)](_0xa5f263);}[_0x1a66bf(0x3ac)](_0x44045e){var _0x2ecf0b=_0x1a66bf;this['_sessionStatus$']['next'](0x1),_0x44045e[_0x2ecf0b(0x3f0)]({'cmd':W[_0x2ecf0b(0x349)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2ecf0b(0x530)]}]}});}[_0x1a66bf(0x2b3)](_0x5cd287){var _0x42671c=_0x1a66bf,_0x19b3f5;if(_0x5cd287['code']in Ye){this[_0x42671c(0x4f5)][_0x42671c(0x37b)]({'id':Q[_0x42671c(0x487)],'data':Ye[_0x5cd287['code']]}),this[_0x42671c(0x3b8)][_0x42671c(0x4d0)](0x2);return;}this[_0x42671c(0x3b8)][_0x42671c(0x4d0)](0x3);const _0x53ade6=(_0x19b3f5=_0x5cd287['data']['roomInfos'][this[_0x42671c(0x530)]])==null?void 0x0:_0x19b3f5[_0x42671c(0x31e)];_0x53ade6&&_0x53ade6[_0x42671c(0x4c0)](_0x427ed6=>this[_0x42671c(0x3e4)]['updateMember'](this[_0x42671c(0x530)],_0x427ed6));}['_onRecvEvent'](_0x3d2adb){var _0x5adc2c=_0x1a66bf;try{const _0x286cfa=_0x3d2adb['data'];switch(_0x286cfa[_0x5adc2c(0x2f3)]){case g['CollaborationEvent'][_0x5adc2c(0x1f0)]:this[_0x5adc2c(0x426)](_0x286cfa),this['_event$'][_0x5adc2c(0x4d0)](_0x286cfa);break;case g[_0x5adc2c(0x315)][_0x5adc2c(0x48d)]:this['_onUserLeave'](_0x286cfa),this['_event$'][_0x5adc2c(0x4d0)](_0x286cfa);break;case g[_0x5adc2c(0x315)][_0x5adc2c(0x53f)]:case g['CollaborationEvent'][_0x5adc2c(0x4a3)]:this[_0x5adc2c(0x46b)](),this[_0x5adc2c(0x52d)](),this[_0x5adc2c(0x2be)][_0x5adc2c(0x4d0)](_0x286cfa);break;case g[_0x5adc2c(0x315)]['MSG_FOR_ERROR']:this['_logService']['error'](_0x5adc2c(0x25a)+JSON[_0x5adc2c(0x2ff)](_0x286cfa)),this[_0x5adc2c(0x2be)][_0x5adc2c(0x4d0)](_0x286cfa);break;case g[_0x5adc2c(0x315)]['COMMENT_UPDATE']:this[_0x5adc2c(0x328)][_0x5adc2c(0x4fc)](_0x286cfa[_0x5adc2c(0x22f)]),this[_0x5adc2c(0x2be)][_0x5adc2c(0x4d0)](_0x286cfa);break;default:this[_0x5adc2c(0x2be)][_0x5adc2c(0x4d0)](_0x286cfa);}}catch(_0x1fb4b1){this['_logService'][_0x5adc2c(0x420)](_0x1fb4b1,_0x3d2adb);}}['_onUserJoin'](_0x2a270d){var _0x5939a3=_0x1a66bf;this[_0x5939a3(0x3e4)][_0x5939a3(0x27f)](this[_0x5939a3(0x530)],_0x2a270d[_0x5939a3(0x22f)]);}[_0x1a66bf(0x1e9)](_0x48b151){var _0x50d49f=_0x1a66bf;this[_0x50d49f(0x3e4)][_0x50d49f(0x206)](this[_0x50d49f(0x530)],_0x48b151[_0x50d49f(0x22f)][_0x50d49f(0x4f6)]);}async['send'](_0x357079,_0x52f8fa){var _0x30683a=_0x1a66bf;if(this['sessionStatus']!==0x3||!this[_0x30683a(0x543)])throw new Error(_0x30683a(0x2b6));try{_0x357079[_0x30683a(0x2f3)]===g[_0x30683a(0x315)][_0x30683a(0x282)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x30683a(0x4ac)](_0x357079)),this[_0x30683a(0x543)][_0x30683a(0x3f0)]({'cmd':W[_0x30683a(0x21d)],'routeKey':_0x52f8fa,'routeType':'','data':_0x357079});}catch(_0xf1bdf2){this[_0x30683a(0x3d9)][_0x30683a(0x420)](_0xf1bdf2);}}[_0x1a66bf(0x3ec)](){var _0x4c6c81=_0x1a66bf,_0x4b9fce;this[_0x4c6c81(0x463)]=setTimeout(()=>{var _0x299d5f=_0x4c6c81;this[_0x299d5f(0x463)]=null,this[_0x299d5f(0x4f5)][_0x299d5f(0x37b)]({'id':Q[_0x299d5f(0x2ac)]});},(_0x4b9fce=this[_0x4c6c81(0x2d6)][_0x4c6c81(0x385)](je))!=null?_0x4b9fce:gt);}[_0x1a66bf(0x52d)](){var _0xd81774=_0x1a66bf;this[_0xd81774(0x463)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xd81774(0x463)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5258dd){var _0x5d8be7=_0x1a66bf;if(!this[_0x5d8be7(0x2d3)])return;const {data:_0x5c3b49}=_0x5258dd,{unitID:_0x12dd7d,changeset:_0x158dbb}=_0x5c3b49,{mutations:_0x5254a4,type:_0x92f38a}=_0x158dbb;this['_telemetryInfo']={'unitId':_0x12dd7d,'type':_0x92f38a,'startTime':performance[_0x5d8be7(0x33c)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x5254a4)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x261ebb=_0x1a66bf;if(this[_0x261ebb(0x2d3)]){if(!this[_0x261ebb(0x3cb)]){this[_0x261ebb(0x3d9)][_0x261ebb(0x420)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x261ebb(0x3cb)][_0x261ebb(0x2e3)]=performance[_0x261ebb(0x33c)](),this[_0x261ebb(0x3cb)][_0x261ebb(0x3d8)]=this[_0x261ebb(0x3cb)]['stopTime']-this[_0x261ebb(0x3cb)][_0x261ebb(0x450)],this[_0x261ebb(0x3b1)][_0x261ebb(0x4b9)](ei,this[_0x261ebb(0x3cb)]),this['_telemetryInfo']=null;}}[_0x1a66bf(0x307)](){var _0x4b8119=_0x1a66bf;this[_0x4b8119(0x3cb)]=null;}},exports[_0x1a66bf(0x3f7)]=oi([oe(0x2,a[_0x1a66bf(0x43e)]),oe(0x3,a['IConfigService']),oe(0x4,a[_0x1a66bf(0x3be)](a['LocaleService'])),oe(0x5,a['Inject'](exports[_0x1a66bf(0x2cd)])),oe(0x6,a[_0x1a66bf(0x3be)](Be)),oe(0x7,a[_0x1a66bf(0x3be)](te)),oe(0x8,a[_0x1a66bf(0x4f0)](Mt[_0x1a66bf(0x490)]))],exports[_0x1a66bf(0x3f7)]);var ai=Object[_0x1a66bf(0x31a)],ci=(_0x1a68d3,_0x4ae392,_0xf7f4d3,_0x462ff9)=>{var _0x324978=_0x1a66bf;for(var _0x2c903f=_0x462ff9>0x1?void 0x0:_0x462ff9?ai(_0x4ae392,_0xf7f4d3):_0x4ae392,_0x411758=_0x1a68d3[_0x324978(0x390)]-0x1,_0x183c9d;_0x411758>=0x0;_0x411758--)(_0x183c9d=_0x1a68d3[_0x411758])&&(_0x2c903f=_0x183c9d(_0x2c903f)||_0x2c903f);return _0x2c903f;},le=(_0x44d778,_0xad9048)=>(_0x5332ea,_0x3e7eda)=>_0xad9048(_0x5332ea,_0x3e7eda,_0x44d778);exports[_0x1a66bf(0x23c)]=class extends a[_0x1a66bf(0x42f)]{constructor(_0x2d300c,_0x218826,_0x56f38b,_0x568f91,_0x463401,_0x5a55bb){var _0x4971a4=_0x1a66bf;super(),A(this,_0x4971a4(0x4a2),new j[(_0x4971a4(0x440))](void 0x0)),A(this,_0x4971a4(0x320),this['_socket$'][_0x4971a4(0x3c0)]()),A(this,'_candidateSocket',null),A(this,_0x4971a4(0x34f),new Map()),A(this,_0x4971a4(0x365),new j['BehaviorSubject'](se[_0x4971a4(0x249)])),A(this,'status$',this['_status$'][_0x4971a4(0x3c0)]()),A(this,_0x4971a4(0x2e7),!0x1),A(this,_0x4971a4(0x255)),A(this,'_retryCount',0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x4971a4(0x266)),(this[_0x4971a4(0x209)]=_0x2d300c,this[_0x4971a4(0x3d9)]=_0x218826,this[_0x4971a4(0x2d6)]=_0x56f38b,this[_0x4971a4(0x1f6)]=_0x568f91,this[_0x4971a4(0x4f5)]=_0x463401,this['_networkConditionService']=_0x5a55bb,this[_0x4971a4(0x251)]());}get[_0x1a66bf(0x543)](){var _0x4c092f=_0x1a66bf;return this[_0x4c092f(0x4a2)][_0x4c092f(0x3e5)]();}[_0x1a66bf(0x251)](){var _0x552809=_0x1a66bf;this[_0x552809(0x2ea)]&&this[_0x552809(0x234)](this[_0x552809(0x2ea)][_0x552809(0x505)][_0x552809(0x443)](_0x579857=>{var _0x2955eb=_0x552809;_0x579857&&!this[_0x2955eb(0x543)]&&this[_0x2955eb(0x4d9)](),_0x579857||this[_0x2955eb(0x43b)]();}));}['dispose'](){var _0x33c646=_0x1a66bf;super[_0x33c646(0x213)](),this[_0x33c646(0x301)](),this[_0x33c646(0x278)](),this[_0x33c646(0x3fd)](),this['_sessions'][_0x33c646(0x4c0)](_0x22b2f5=>_0x22b2f5[_0x33c646(0x213)]()),this['_sessions'][_0x33c646(0x33a)](),this[_0x33c646(0x365)][_0x33c646(0x506)]();}async[_0x1a66bf(0x2b0)](_0x55ce3c){var _0x2392ab=_0x1a66bf;if(this['_sessions']['has'](_0x55ce3c))return this[_0x2392ab(0x34f)][_0x2392ab(0x3eb)](_0x55ce3c);this[_0x2392ab(0x3ed)]();const _0x38e508=this['_injector'][_0x2392ab(0x500)](exports[_0x2392ab(0x3f7)],_0x55ce3c,this[_0x2392ab(0x4a2)][_0x2392ab(0x3c0)]());return this[_0x2392ab(0x34f)][_0x2392ab(0x2fd)](_0x55ce3c,_0x38e508),_0x38e508;}[_0x1a66bf(0x240)](_0x55a888){var _0x14f333=_0x1a66bf,_0x5b91e4;const _0x4e66f6=this[_0x14f333(0x34f)][_0x14f333(0x3eb)](_0x55a888);_0x4e66f6&&(this[_0x14f333(0x34f)][_0x14f333(0x355)](_0x55a888),_0x4e66f6['close']()),this[_0x14f333(0x34f)][_0x14f333(0x1fe)]||(_0x5b91e4=this[_0x14f333(0x543)])==null||_0x5b91e4[_0x14f333(0x474)]();}[_0x1a66bf(0x4d9)](){var _0x81e5bc=_0x1a66bf;this[_0x81e5bc(0x547)]=0x0,this[_0x81e5bc(0x301)](),this[_0x81e5bc(0x546)]();}[_0x1a66bf(0x301)](){var _0x38ee99=_0x1a66bf;this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x38ee99(0x255)]=null);}async[_0x1a66bf(0x34e)](){var _0x5da18f=_0x1a66bf,_0x525a7f,_0x534fdc;const _0x5baa79=this['_configService'][_0x5da18f(0x385)](St),_0x25b736=this[_0x5da18f(0x2d6)][_0x5da18f(0x385)](Y),_0x4b8f1e=(_0x534fdc=(_0x525a7f=_0x25b736==null?void 0x0:_0x25b736['collabWebSocketUrl'])!=null?_0x525a7f:_0x5baa79)!=null?_0x534fdc:ft,_0x2a53ba=await this['_socketService'][_0x5da18f(0x27d)](_0x4b8f1e);return this[_0x5da18f(0x4ea)]=_0x2a53ba,_0x2a53ba;}async[_0x1a66bf(0x3ed)](){var _0x48f870=_0x1a66bf,_0xfb5c25,_0xac153;try{const _0x2cbbf9=(_0xac153=(_0xfb5c25=this[_0x48f870(0x543)])!=null?_0xfb5c25:this[_0x48f870(0x4ea)])!=null?_0xac153:await this[_0x48f870(0x34e)]();if(_0x2cbbf9){const _0x57d3eb=_0x2cbbf9[_0x48f870(0x3f0)];_0x2cbbf9[_0x48f870(0x3f0)]=_0x1f7cdd=>(this[_0x48f870(0x2a8)](),_0x57d3eb[_0x48f870(0x378)](_0x2cbbf9,[_0x1f7cdd])),_0x2cbbf9[_0x48f870(0x399)][_0x48f870(0x443)](_0x51eb58=>this[_0x48f870(0x4aa)](_0x2cbbf9,_0x51eb58)),_0x2cbbf9[_0x48f870(0x2bc)][_0x48f870(0x489)](V['take'](0x1))[_0x48f870(0x443)](_0x2a875d=>this['_logService'][_0x48f870(0x420)](_0x48f870(0x375),_0x2a875d)),_0x2cbbf9[_0x48f870(0x2d7)][_0x48f870(0x489)](V[_0x48f870(0x2e0)](0x1))[_0x48f870(0x443)](()=>{this['_onConnectionOpen'](_0x2cbbf9);}),_0x2cbbf9[_0x48f870(0x3bb)][_0x48f870(0x489)](V[_0x48f870(0x2e0)](0x1))[_0x48f870(0x443)](_0x1b38c6=>{var _0x17547e=_0x48f870;this[_0x17547e(0x3d9)][_0x17547e(0x312)](_0x17547e(0x3c4),'socket\x20close',_0x1b38c6),this[_0x17547e(0x49f)]();});}}catch(_0x28f468){this[_0x48f870(0x3d9)]['error'](_0x28f468),this[_0x48f870(0x49f)]();}}[_0x1a66bf(0x46d)](_0x4288b5){var _0x1fde4b=_0x1a66bf;this['_logService']['debug'](_0x1fde4b(0x3c4),_0x1fde4b(0x311)),_0x4288b5[_0x1fde4b(0x3f0)]({'cmd':W[_0x1fde4b(0x345)]}),this[_0x1fde4b(0x2a8)]();}[_0x1a66bf(0x43b)](){var _0x1c19cd=_0x1a66bf;this[_0x1c19cd(0x2e7)]=!0x1,this[_0x1c19cd(0x4ea)]=null,this[_0x1c19cd(0x365)]['next'](se[_0x1c19cd(0x4d5)]),this['_socket$']['next'](null),this[_0x1c19cd(0x278)](),this[_0x1c19cd(0x3fd)]();}[_0x1a66bf(0x49f)](){var _0xe755f0=_0x1a66bf,_0x55bdf7;this[_0xe755f0(0x43b)](),this[_0xe755f0(0x547)]<((_0x55bdf7=this[_0xe755f0(0x2d6)][_0xe755f0(0x385)](mt))!=null?_0x55bdf7:Vt)?(this[_0xe755f0(0x4f5)][_0xe755f0(0x37b)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0xe755f0(0x546)]()):this[_0xe755f0(0x4f5)]['emitEvent']({'id':Q[_0xe755f0(0x210)]});}[_0x1a66bf(0x546)](){var _0x50a502=_0x1a66bf,_0x651bd7;const _0x39469b=this[_0x50a502(0x547)],_0x34f92c=this[_0x50a502(0x2d6)][_0x50a502(0x385)](Y),_0x4574a2=_0x39469b===0x0?0x0:((_0x651bd7=_0x34f92c==null?void 0x0:_0x34f92c[_0x50a502(0x333)])!=null?_0x651bd7:Ft)*0x2**_0x39469b;this[_0x50a502(0x255)]=setTimeout(()=>{var _0x158ea2=_0x50a502;clearTimeout(this[_0x158ea2(0x255)]),this[_0x158ea2(0x255)]=null,this['_tryEnsureSocket']();},_0x4574a2),this['_retryCount']+=0x1;}['_onMessage'](_0x3f612b,_0x27e8b5){var _0x324b44=_0x1a66bf;const {cmd:_0x50ae37}=_0x27e8b5;_0x50ae37===W[_0x324b44(0x345)]&&!this['_socketReady']&&(_0x3f612b[_0x324b44(0x4f6)]=_0x27e8b5[_0x324b44(0x22f)][_0x324b44(0x4f6)],this['_socket$'][_0x324b44(0x4d0)](_0x3f612b),this[_0x324b44(0x365)]['next'](se[_0x324b44(0x486)]),this['_socketReady']=!0x0,this[_0x324b44(0x4ea)]=null),_0x50ae37===W[_0x324b44(0x2ef)]&&this[_0x324b44(0x278)](),this[_0x324b44(0x2a8)]();}[_0x1a66bf(0x2a8)](){var _0x28d460=_0x1a66bf,_0x5dc9ad;this[_0x28d460(0x3fd)](),this[_0x28d460(0x389)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x5dc9ad=this[_0x28d460(0x2d6)][_0x28d460(0x385)](pt))!=null?_0x5dc9ad:Bt);}['_sendHeartbeat'](){var _0x5d01e5=_0x1a66bf;this['_socket'][_0x5d01e5(0x3f0)]({'cmd':W[_0x5d01e5(0x2ef)]}),this[_0x5d01e5(0x4b3)]();}['_waitForHeartbeatResponse'](){var _0x5d2faf=_0x1a66bf,_0x468cc5;this[_0x5d2faf(0x266)]=setTimeout(()=>this[_0x5d2faf(0x49f)](),(_0x468cc5=this['_configService'][_0x5d2faf(0x385)](je))!=null?_0x468cc5:gt);}['_clearHeartbeatTimer'](){var _0x634adc=_0x1a66bf;this[_0x634adc(0x389)]!=null&&(clearTimeout(this[_0x634adc(0x389)]),this[_0x634adc(0x389)]=null);}[_0x1a66bf(0x278)](){var _0x44cb6a=_0x1a66bf;this[_0x44cb6a(0x266)]!=null&&(clearTimeout(this[_0x44cb6a(0x266)]),this[_0x44cb6a(0x266)]=null);}},exports[_0x1a66bf(0x23c)]=ci([le(0x0,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x53d)])),le(0x1,a['ILogService']),le(0x2,a[_0x1a66bf(0x28e)]),le(0x3,$e),le(0x4,a[_0x1a66bf(0x3be)](te)),le(0x5,a[_0x1a66bf(0x4f0)](bt))],exports[_0x1a66bf(0x23c)]);const G=[];for(let n=0x0;n<0x100;++n)G[_0x1a66bf(0x38b)]((n+0x100)[_0x1a66bf(0x545)](0x10)[_0x1a66bf(0x225)](0x1));function hi(_0x5c6259,_0x5ca204=0x0){var _0x4d623f=_0x1a66bf;return(G[_0x5c6259[_0x5ca204+0x0]]+G[_0x5c6259[_0x5ca204+0x1]]+G[_0x5c6259[_0x5ca204+0x2]]+G[_0x5c6259[_0x5ca204+0x3]]+'-'+G[_0x5c6259[_0x5ca204+0x4]]+G[_0x5c6259[_0x5ca204+0x5]]+'-'+G[_0x5c6259[_0x5ca204+0x6]]+G[_0x5c6259[_0x5ca204+0x7]]+'-'+G[_0x5c6259[_0x5ca204+0x8]]+G[_0x5c6259[_0x5ca204+0x9]]+'-'+G[_0x5c6259[_0x5ca204+0xa]]+G[_0x5c6259[_0x5ca204+0xb]]+G[_0x5c6259[_0x5ca204+0xc]]+G[_0x5c6259[_0x5ca204+0xd]]+G[_0x5c6259[_0x5ca204+0xe]]+G[_0x5c6259[_0x5ca204+0xf]])[_0x4d623f(0x425)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x203084=_0x1a66bf;if(!Ue){if(typeof crypto>'u'||!crypto[_0x203084(0x444)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ue=crypto[_0x203084(0x444)][_0x203084(0x246)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x1a66bf(0x4ce)]&&crypto[_0x1a66bf(0x4ce)][_0x1a66bf(0x246)](crypto),qe={'randomUUID':ui};function di(_0xadfa62,_0x48299c,_0x3d205b){var _0x4ad472=_0x1a66bf,_0xae686e,_0x4213c7,_0x47060e;if(qe[_0x4ad472(0x4ce)]&&!_0xadfa62)return qe[_0x4ad472(0x4ce)]();_0xadfa62=_0xadfa62||{};const _0x43f6a0=(_0x47060e=(_0x4213c7=_0xadfa62[_0x4ad472(0x430)])!=null?_0x4213c7:(_0xae686e=_0xadfa62[_0x4ad472(0x3d5)])==null?void 0x0:_0xae686e[_0x4ad472(0x2c6)](_0xadfa62))!=null?_0x47060e:_i();if(_0x43f6a0[_0x4ad472(0x390)]<0x10)throw new Error(_0x4ad472(0x413));return _0x43f6a0[0x6]=_0x43f6a0[0x6]&0xf|0x40,_0x43f6a0[0x8]=_0x43f6a0[0x8]&0x3f|0x80,hi(_0x43f6a0);}const z=a[_0x1a66bf(0x50b)](_0x1a66bf(0x254));function vi(_0x217c5e){return'unit-cache-'+_0x217c5e;}var Si=Object['getOwnPropertyDescriptor'],fi=(_0xe6a1da,_0x7bd792,_0x26ac7a,_0x1a6964)=>{var _0x54c0a9=_0x1a66bf;for(var _0xc3db18=_0x1a6964>0x1?void 0x0:_0x1a6964?Si(_0x7bd792,_0x26ac7a):_0x7bd792,_0x442ff0=_0xe6a1da[_0x54c0a9(0x390)]-0x1,_0x24807e;_0x442ff0>=0x0;_0x442ff0--)(_0x24807e=_0xe6a1da[_0x442ff0])&&(_0xc3db18=_0x24807e(_0xc3db18)||_0xc3db18);return _0xc3db18;},Ae=(_0x3afde0,_0x58ad35)=>(_0x36040f,_0x2dae65)=>_0x58ad35(_0x36040f,_0x2dae65,_0x3afde0);function pi(_0x18e7bd){var _0x539364=_0x1a66bf;const {unitID:_0x3d8aea,mutations:_0x8b4203}=_0x18e7bd;return{'unitId':_0x3d8aea,'subUnitId':_0x8b4203[0x0]['params'][_0x539364(0x442)]};}exports[_0x1a66bf(0x3d3)]=class{constructor(_0x298103,_0x270676,_0x3f01d3){var _0x2b3210=_0x1a66bf;this[_0x2b3210(0x209)]=_0x298103,this[_0x2b3210(0x4ef)]=_0x270676,this[_0x2b3210(0x3e2)]=_0x3f01d3;}[_0x1a66bf(0x410)](_0x4bd187){var _0xed9589=_0x1a66bf,_0x4a6e87,_0x6ac4f4,_0x1b0f06,_0x33b66b;const _0x5886a6=this['_injector'][_0xed9589(0x3eb)](Z[_0xed9589(0x484)]),{unitId:_0x595a25,subUnitId:_0x23009d}=pi(_0x4bd187),_0x48cc24=_0x5886a6==null?void 0x0:_0x5886a6[_0xed9589(0x226)](_0x595a25)[_0xed9589(0x2ce)](),_0x5229b5=(_0x6ac4f4=(_0x4a6e87=this[_0xed9589(0x3e2)]['getUnit'](_0x595a25))==null?void 0x0:_0x4a6e87[_0xed9589(0x449)]())==null?void 0x0:_0x6ac4f4[_0xed9589(0x3fc)]();if(_0x48cc24[_0xed9589(0x390)]===0x0||!_0x595a25||!_0x23009d)return;const _0x53e524=[{'id':Z[_0xed9589(0x216)]['id'],'params':{'unitId':_0x595a25,'subUnitId':_0x5229b5,'selections':a[_0xed9589(0x295)][_0xed9589(0x1e5)](_0x48cc24)}}],_0x27c67a=this[_0xed9589(0x4ef)][_0xed9589(0x4f8)](_0x4bd187,_0x53e524);if(!g['isTransformMutationsWithChangesetSuccess'](_0x27c67a))throw _0x27c67a[_0xed9589(0x420)];const _0xc538a6=(_0x33b66b=(_0x1b0f06=_0x27c67a[_0xed9589(0x23b)][0x0])==null?void 0x0:_0x1b0f06[_0xed9589(0x538)])==null?void 0x0:_0x33b66b[_0xed9589(0x43c)];if(Array[_0xed9589(0x479)](_0xc538a6)&&_0xc538a6['length']){if(_0xc538a6['length']===_0x53e524[0x0]['params'][_0xed9589(0x43c)][_0xed9589(0x390)]&&_0xc538a6[_0xed9589(0x1ee)]((_0x53c112,_0xca84fb)=>a[_0xed9589(0x52c)][_0xed9589(0x431)](_0x53c112[_0xed9589(0x4bb)],_0x53e524[0x0][_0xed9589(0x538)][_0xed9589(0x43c)][_0xca84fb][_0xed9589(0x4bb)])))return;this[_0xed9589(0x209)][_0xed9589(0x3eb)](a[_0xed9589(0x42e)])[_0xed9589(0x1e2)](Z[_0xed9589(0x216)]['id'],{'unitId':_0x595a25,'subUnitId':_0x5229b5,'selections':_0xc538a6});}}},exports[_0x1a66bf(0x3d3)]=fi([Ae(0x0,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x53d)])),Ae(0x1,g['ITransformService']),Ae(0x2,a[_0x1a66bf(0x3a8)])],exports[_0x1a66bf(0x3d3)]);const ve=a[_0x1a66bf(0x50b)](_0x1a66bf(0x2b1));var Fe=(_0x815d7a=>(_0x815d7a[_0x815d7a[_0x1a66bf(0x2ed)]=0x0]=_0x1a66bf(0x2ed),_0x815d7a[_0x815d7a[_0x1a66bf(0x1f2)]=0x1]=_0x1a66bf(0x1f2),_0x815d7a))(Fe||{});const gi=new Set([Z[_0x1a66bf(0x45f)]['id']]);function ze(_0x5313e3,_0x493de2,_0x4f430a,_0x54ab4e,_0x5b384b){var _0x37e238=_0x1a66bf,_0x3905b2,_0x58a29e,_0x483256,_0x114671;const _0x54ced4=[];for(const _0x58a579 of _0x5313e3)if(gi[_0x37e238(0x3ca)](_0x58a579['id'])){if(_0x54ced4[_0x37e238(0x390)]>0x0)break;_0x54ced4[_0x37e238(0x38b)](_0x58a579);break;}else _0x54ced4[_0x37e238(0x38b)](_0x58a579);const _0x4cc313=(_0x58a29e=(_0x3905b2=_0x5b384b['getCurrentUser']())==null?void 0x0:_0x3905b2[_0x37e238(0x1f3)])!=null?_0x58a29e:'unknown',_0x46627a=(_0x114671=(_0x483256=_0x5b384b['getCurrentUser']())==null?void 0x0:_0x483256['memberID'])!=null?_0x114671:_0x37e238(0x336);return{'changeset':{'unitID':_0x493de2,'type':g['mapDocumentTypeToUniverType'](_0x4f430a[_0x37e238(0x465)](_0x493de2)),'baseRev':_0x54ab4e['getCurrentRevOfUnit'](_0x493de2),'revision':0x0,'userID':_0x4cc313,'memberID':_0x46627a,'mutations':_0x54ced4},'pendingMutations':_0x5313e3[_0x37e238(0x225)](_0x54ced4['length'])};}function mi(_0x52c461,_0x260213,_0x3e5343,_0x423907,_0x24cd78){var _0x229ca4=_0x1a66bf,_0x54e455,_0x2b08bc,_0x5a4f21,_0x49ebcc;const _0x3e7fa5=[_0x52c461[_0x229ca4(0x2a3)]((_0x4d6d87,_0x1b200b)=>{var _0x14bc96=_0x229ca4,_0x1c53bc;const {id:_0x4a1b82}=_0x4d6d87,{id:_0x58f880,type:_0x3dce34}=_0x1b200b,_0x3b6741=(_0x1c53bc=_0x4d6d87['params'])!=null?_0x1c53bc:{'actions':null},_0x2f5cd0=_0x1b200b[_0x14bc96(0x538)];if(_0x4a1b82&&_0x4a1b82!==_0x58f880)throw new Error(_0x14bc96(0x25c)+_0x4a1b82+_0x14bc96(0x544)+_0x58f880+'.');return{..._0x4d6d87,'id':_0x58f880,'type':_0x3dce34,'params':{'unitId':_0x2f5cd0[_0x14bc96(0x39c)],'textRanges':_0x2f5cd0[_0x14bc96(0x280)],'actions':a[_0x14bc96(0x429)][_0x14bc96(0x1d8)](_0x3b6741[_0x14bc96(0x4ad)],_0x2f5cd0[_0x14bc96(0x4ad)])}};},{})],_0x25e8d9=(_0x2b08bc=(_0x54e455=_0x24cd78[_0x229ca4(0x3f6)]())==null?void 0x0:_0x54e455[_0x229ca4(0x1f3)])!=null?_0x2b08bc:_0x229ca4(0x336),_0x56150d=(_0x49ebcc=(_0x5a4f21=_0x24cd78[_0x229ca4(0x3f6)]())==null?void 0x0:_0x5a4f21[_0x229ca4(0x4f6)])!=null?_0x49ebcc:_0x229ca4(0x336);return{'changeset':{'unitID':_0x260213,'type':g[_0x229ca4(0x33d)](_0x3e5343['getUnitType'](_0x260213)),'baseRev':_0x423907[_0x229ca4(0x495)](_0x260213),'revision':0x0,'userID':_0x25e8d9,'memberID':_0x56150d,'mutations':_0x3e7fa5},'pendingMutations':[]};}function Ot(_0x8efbf3,_0x184dcb){var _0x305c66=_0x1a66bf;const _0x52d478=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x52d478[_0x305c66(0x4d0)](_0x184dcb),_0x8efbf3),_0x52d478['asObservable']()['pipe'](j['take'](0x1));}const Ii={'id':Z[_0x1a66bf(0x3cd)]['id'],'type':a[_0x1a66bf(0x4f9)]['MUTATION'],'params':{}};var Ei=Object[_0x1a66bf(0x31a)],ce=(_0x347a2b,_0x38bc37,_0x320710,_0x5325a9)=>{var _0x564377=_0x1a66bf;for(var _0x2cba9f=_0x5325a9>0x1?void 0x0:_0x5325a9?Ei(_0x38bc37,_0x320710):_0x38bc37,_0x27c76d=_0x347a2b[_0x564377(0x390)]-0x1,_0xa00228;_0x27c76d>=0x0;_0x27c76d--)(_0xa00228=_0x347a2b[_0x27c76d])&&(_0x2cba9f=_0xa00228(_0x2cba9f)||_0x2cba9f);return _0x2cba9f;},w=(_0x294bc0,_0x561a02)=>(_0x2a1875,_0x2ec0b8)=>_0x561a02(_0x2a1875,_0x2ec0b8,_0x294bc0),Ve=(_0x40ca24=>(_0x40ca24[_0x1a66bf(0x356)]='not_collab',_0x40ca24[_0x1a66bf(0x204)]=_0x1a66bf(0x200),_0x40ca24[_0x1a66bf(0x2d8)]=_0x1a66bf(0x36b),_0x40ca24[_0x1a66bf(0x499)]=_0x1a66bf(0x34d),_0x40ca24[_0x1a66bf(0x4c6)]=_0x1a66bf(0x38f),_0x40ca24[_0x1a66bf(0x1f9)]='fetch_missing',_0x40ca24[_0x1a66bf(0x477)]=_0x1a66bf(0x3d0),_0x40ca24['OFFLINE']='offline',_0x40ca24))(Ve||{});const Nt=0xea60;class he{constructor(_0x2d4567,_0x1634a3,_0x3f2062,_0x37fb09,_0x1ffa31,_0xdbdc4,_0x39ddd6,_0x1eb06f,_0x6fa186){var _0x428881=_0x1a66bf;A(this,_0x428881(0x1f7),null),A(this,'_pendingMutations',[]),(this[_0x428881(0x304)]=_0x2d4567,this[_0x428881(0x3f1)]=_0x1634a3,this[_0x428881(0x2df)]=_0x1ffa31,this[_0x428881(0x1f4)]=_0xdbdc4,this[_0x428881(0x510)]=_0x39ddd6,this['_revisionService']=_0x1eb06f,this['_localCacheService']=_0x6fa186,this['_awaitingChangeset']=_0x3f2062,this['_pendingMutations']=_0x37fb09);}['_checkMissing'](_0x2c1035){var _0x176a13=_0x1a66bf;const _0x26ec95=this[_0x176a13(0x373)][_0x176a13(0x495)](this[_0x176a13(0x304)]);return _0x2c1035[_0x176a13(0x338)]>_0x26ec95+0x1?(this[_0x176a13(0x2df)][_0x176a13(0x51f)]({'from':_0x26ec95,'to':_0x2c1035['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xfab8b8){var _0x38402b=_0x1a66bf;this[_0x38402b(0x510)][_0x38402b(0x358)](this[_0x38402b(0x304)],_0xfab8b8);}[_0x1a66bf(0x380)](_0x2e7e88){var _0x3ca3f6=_0x1a66bf,_0x3230b0,_0x48ee19;(_0x48ee19=(_0x3230b0=this[_0x3ca3f6(0x2df)])['onTransformSelections'])==null||_0x48ee19[_0x3ca3f6(0x2c6)](_0x3230b0,_0x2e7e88);}[_0x1a66bf(0x47a)](_0x1a4ce7){var _0x3d51b3=_0x1a66bf,_0x13e2dc,_0x28f699;return(_0x28f699=(_0x13e2dc=this[_0x3d51b3(0x2df)])[_0x3d51b3(0x393)])==null?void 0x0:_0x28f699[_0x3d51b3(0x2c6)](_0x13e2dc,_0x1a4ce7);}[_0x1a66bf(0x1e0)](_0x2b3736){var _0x3bc128=_0x1a66bf,_0x26f9ce,_0x30646c;return(_0x30646c=(_0x26f9ce=this[_0x3bc128(0x2df)])[_0x3bc128(0x2a0)])==null?void 0x0:_0x30646c[_0x3bc128(0x2c6)](_0x26f9ce,_0x2b3736);}[_0x1a66bf(0x4ab)](_0x729bd4){var _0x378bc9=_0x1a66bf,_0x15b0cf,_0x56835a,_0x6f7800;return(_0x6f7800=(_0x56835a=(_0x15b0cf=this['_handler'])[_0x378bc9(0x3c8)])==null?void 0x0:_0x56835a[_0x378bc9(0x2c6)](_0x15b0cf,_0x729bd4))!=null?_0x6f7800:_0x729bd4;}[_0x1a66bf(0x363)](_0x6b2883){var _0x3259d8=_0x1a66bf,_0x326678,_0x2020de,_0x27850c;return(_0x27850c=(_0x2020de=(_0x326678=this[_0x3259d8(0x2df)])[_0x3259d8(0x412)])==null?void 0x0:_0x2020de['call'](_0x326678,_0x6b2883))!=null?_0x27850c:_0x6b2883;}[_0x1a66bf(0x334)](_0x5a5c90){var _0x1ccec2=_0x1a66bf,_0x1bc62b,_0x45406d;if(this['type']===X[_0x1ccec2(0x1e4)]){const {unitID:_0x36bea9,mutations:_0x53bf2f,memberID:_0x1fc727}=_0x5a5c90,_0x23e415=_0x53bf2f[0x0][_0x1ccec2(0x538)][_0x1ccec2(0x280)];Array[_0x1ccec2(0x479)](_0x23e415)&&_0x23e415['length']>0x0&&((_0x45406d=(_0x1bc62b=this[_0x1ccec2(0x2df)])[_0x1ccec2(0x414)])==null||_0x45406d[_0x1ccec2(0x2c6)](_0x1bc62b,{'unitID':_0x36bea9,'memberID':_0x1fc727,'textRanges':_0x23e415}));}}[_0x1a66bf(0x498)](){var _0x5615f7=_0x1a66bf,_0x4c579b;(_0x4c579b=this['_localCacheService'])==null||_0x4c579b[_0x5615f7(0x35a)](this[_0x5615f7(0x304)],this[_0x5615f7(0x3f1)],this[_0x5615f7(0x1f7)],this[_0x5615f7(0x29b)]);}['_getCurrentRevision'](){var _0x3d5e94=_0x1a66bf;return this['_revisionService'][_0x3d5e94(0x495)](this[_0x3d5e94(0x304)]);}[_0x1a66bf(0x1ea)](){var _0x2f9f74=_0x1a66bf;this[_0x2f9f74(0x373)][_0x2f9f74(0x4ba)](this[_0x2f9f74(0x304)]);}[_0x1a66bf(0x351)](_0x931579){var _0x334957=_0x1a66bf,_0x28de7c;let _0x3d1558=this[_0x334957(0x4ab)](_0x931579);_0x3d1558=this[_0x334957(0x363)](_0x3d1558);const _0x36afe4=a[_0x334957(0x270)](_0x3d1558[_0x334957(0x28f)],this[_0x334957(0x1f4)],{'fromCollab':!0x0});if(!_0x36afe4[_0x334957(0x32d)])throw _0x36afe4['error']instanceof Error?_0x36afe4[_0x334957(0x420)]:new Error((_0x28de7c=_0x36afe4[_0x334957(0x420)])!=null?_0x28de7c:_0x334957(0x537));this[_0x334957(0x47a)](_0x3d1558),this[_0x334957(0x1e0)](_0x3d1558),this[_0x334957(0x45a)](_0x931579),this['_transformSelections'](_0x3d1558),this['_syncEditingCollabCursor'](_0x3d1558),this[_0x334957(0x1ea)]();}}function _0x4a7d(_0x554c34,_0x13599b){var _0x3f81dd=_0x3f81();return _0x4a7d=function(_0x4a7dad,_0x318f3e){_0x4a7dad=_0x4a7dad-0x1d6;var _0x34606b=_0x3f81dd[_0x4a7dad];return _0x34606b;},_0x4a7d(_0x554c34,_0x13599b);}exports[_0x1a66bf(0x4e7)]=class extends he{constructor(_0x5b1b07,_0x4bf218,_0x18ab64,_0x218c01,_0x2983bc,_0x287875,_0x255829,_0x2279ca,_0x13f335,_0x129190){var _0x56b9e4=_0x1a66bf;super(_0x5b1b07,_0x4bf218,null,[],_0x18ab64,_0x255829,_0x287875,_0x218c01,_0x129190),A(this,_0x56b9e4(0x1d6),'synced'),(this[_0x56b9e4(0x209)]=_0x2983bc,this[_0x56b9e4(0x3d9)]=_0x2279ca,this[_0x56b9e4(0x4ef)]=_0x13f335,this[_0x56b9e4(0x3c7)]=_0x129190);}[_0x1a66bf(0x48c)](_0x5c2227){var _0x1f9bc6=_0x1a66bf;const _0x5edd85=this['_injector'][_0x1f9bc6(0x500)](exports[_0x1f9bc6(0x31c)],this[_0x1f9bc6(0x304)],this[_0x1f9bc6(0x3f1)],[_0x5c2227],this['_handler']);return _0x5edd85[_0x1f9bc6(0x422)](),_0x5edd85[_0x1f9bc6(0x498)](),_0x5edd85;}[_0x1a66bf(0x317)](_0x1a8a00){var _0x13acf0=_0x1a66bf;if(this[_0x13acf0(0x211)](_0x1a8a00))return this[_0x13acf0(0x209)][_0x13acf0(0x500)](exports['FetchingMissState'],this['unitID'],this['type'],null,[],null,[_0x1a8a00],this[_0x13acf0(0x2df)]);try{const _0x3a3813=this['_transformService']['transformMutationsWithChangeset'](_0x1a8a00,[Ii]);if(g['isTransformMutationsWithChangesetSuccess'](_0x3a3813)){const {c1Prime:_0x3129cc}=_0x3a3813;return this[_0x13acf0(0x351)](_0x3129cc),this;}throw _0x3a3813[_0x13acf0(0x420)];}catch(_0x13be47){return this['_logService'][_0x13acf0(0x420)](_0x13be47),this[_0x13acf0(0x403)](!0x1);}}[_0x1a66bf(0x403)](_0x5062fd){var _0x323a39=_0x1a66bf;return this[_0x323a39(0x209)][_0x323a39(0x500)](exports[_0x323a39(0x37d)],this[_0x323a39(0x304)],this['type'],null,[],this[_0x323a39(0x2df)],_0x5062fd);}[_0x1a66bf(0x1ff)](){var _0x1c7414=_0x1a66bf;throw new Error(_0x1c7414(0x26b));}[_0x1a66bf(0x27b)](){var _0x4aa1d6=_0x1a66bf;throw new Error(_0x4aa1d6(0x291));}[_0x1a66bf(0x404)](){return this;}[_0x1a66bf(0x1d7)](){var _0xd49f9d=_0x1a66bf;return this[_0xd49f9d(0x209)][_0xd49f9d(0x500)](exports[_0xd49f9d(0x350)],this[_0xd49f9d(0x304)],this[_0xd49f9d(0x3f1)],null,[],this['_handler']);}[_0x1a66bf(0x42d)](){return this;}[_0x1a66bf(0x299)](){var _0x295bba=_0x1a66bf;throw new Error(_0x295bba(0x41e));}[_0x1a66bf(0x3f5)](){var _0x5c14ba=_0x1a66bf;const _0x502dd8=this[_0x5c14ba(0x373)][_0x5c14ba(0x495)](this[_0x5c14ba(0x304)]);return this[_0x5c14ba(0x2df)][_0x5c14ba(0x51f)]({'from':_0x502dd8,'to':0x0}),this['_injector'][_0x5c14ba(0x500)](exports['FetchingMissState'],this['unitID'],this[_0x5c14ba(0x3f1)],null,[],null,[],this[_0x5c14ba(0x2df)]);}},exports['SyncedState']=ce([w(0x3,a[_0x1a66bf(0x3be)](g[_0x1a66bf(0x318)])),w(0x4,a[_0x1a66bf(0x3be)](a['Injector'])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x1a66bf(0x42e)]),w(0x7,a[_0x1a66bf(0x43e)]),w(0x8,g['ITransformService']),w(0x9,a[_0x1a66bf(0x4f0)](z))],exports[_0x1a66bf(0x4e7)]),exports[_0x1a66bf(0x31c)]=class extends he{constructor(_0x1036fa,_0x18dc43,_0x52e6bb,_0x43b4e9,_0x95187b,_0x3667a2,_0x5a35d2,_0x5ce38c,_0x2a295c,_0x42bebe,_0x219198,_0x4ea396,_0x23b14c,_0x2b4304){var _0x34800d=_0x1a66bf;super(_0x1036fa,_0x18dc43,null,_0x52e6bb,_0x43b4e9,_0x2a295c,_0x23b14c,_0x3667a2,_0x2b4304),A(this,_0x34800d(0x1d6),'pending'),A(this,_0x34800d(0x36e),null),A(this,'_sendingTimer',null),(this[_0x34800d(0x209)]=_0x95187b,this['_memberService']=_0x5a35d2,this['_logService']=_0x5ce38c,this[_0x34800d(0x2d6)]=_0x42bebe,this[_0x34800d(0x4ef)]=_0x219198,this['_univerInstanceService']=_0x4ea396);}[_0x1a66bf(0x48c)](_0x203ac4){var _0x47bfe5=_0x1a66bf;return this[_0x47bfe5(0x29b)][_0x47bfe5(0x38b)](_0x203ac4),this['_updateLocalCache'](),this;}[_0x1a66bf(0x317)](_0x24e20c){var _0x1ed367=_0x1a66bf;if(this[_0x1ed367(0x211)](_0x24e20c))return this['_clearScheduledTask'](),this[_0x1ed367(0x209)][_0x1ed367(0x500)](exports[_0x1ed367(0x2a2)],this[_0x1ed367(0x304)],this['type'],null,this[_0x1ed367(0x29b)],null,[_0x24e20c],this['_handler']);try{const _0x4c2b49=this[_0x1ed367(0x4ef)][_0x1ed367(0x4f8)](_0x24e20c,this[_0x1ed367(0x29b)]);if(g[_0x1ed367(0x39a)](_0x4c2b49)){const {c1Prime:_0x356106,m2Prime:_0x1bc59b}=_0x4c2b49;this['_executeRemoteChangeset'](_0x356106);const _0x4c7810=this['_injector'][_0x1ed367(0x500)](exports[_0x1ed367(0x31c)],this[_0x1ed367(0x304)],this[_0x1ed367(0x3f1)],_0x1bc59b,this[_0x1ed367(0x2df)]);this[_0x1ed367(0x3e8)]();const _0x402193=new Date()[_0x1ed367(0x2a4)](),_0x5d03e9=this[_0x1ed367(0x36e)]?Math[_0x1ed367(0x1dd)](this[_0x1ed367(0x36e)]-_0x402193,0x0):this[_0x1ed367(0x264)]();return _0x4c7810[_0x1ed367(0x422)](_0x5d03e9),_0x4c7810;}throw _0x4c2b49[_0x1ed367(0x420)];}catch(_0x576ebc){return this[_0x1ed367(0x3d9)]['error'](_0x576ebc),this[_0x1ed367(0x403)](!0x1);}}[_0x1a66bf(0x1ff)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1a66bf(0x27b)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1a66bf(0x404)](){return this;}[_0x1a66bf(0x1d7)](){var _0x184820=_0x1a66bf;return this[_0x184820(0x3e8)](),this[_0x184820(0x209)]['createInstance'](exports['OfflineState'],this[_0x184820(0x304)],this[_0x184820(0x3f1)],null,this[_0x184820(0x29b)],this[_0x184820(0x2df)]);}[_0x1a66bf(0x42d)](){return this;}[_0x1a66bf(0x422)](_0x3b6b9f){var _0x18804a=_0x1a66bf;const _0x3565f6=_0x3b6b9f!=null?_0x3b6b9f:this[_0x18804a(0x264)]();this[_0x18804a(0x36e)]=new Date()[_0x18804a(0x2a4)]()+_0x3565f6,this[_0x18804a(0x372)]=setTimeout(()=>{var _0x40f097=_0x18804a;this[_0x40f097(0x3e8)]();let _0x544fe4=null;switch(this['type']){case X['UNIVER_SHEET']:{_0x544fe4=ze(this[_0x40f097(0x29b)],this['unitID'],this[_0x40f097(0x361)],this[_0x40f097(0x373)],this[_0x40f097(0x3e4)]);break;}case X[_0x40f097(0x1e4)]:{this[_0x40f097(0x29b)][_0x40f097(0x1ee)](_0x31748f=>_0x31748f['id']===ut[_0x40f097(0x525)]['id'])?_0x544fe4=mi(this['_pendingMutations'],this[_0x40f097(0x304)],this['_univerInstanceService'],this[_0x40f097(0x373)],this['_memberService']):_0x544fe4=ze(this[_0x40f097(0x29b)],this[_0x40f097(0x304)],this['_univerInstanceService'],this[_0x40f097(0x373)],this['_memberService']);break;}default:throw new Error(_0x40f097(0x30c)+this[_0x40f097(0x3f1)]+'\x20in\x20_schedule.');}const {changeset:_0x1f9482,pendingMutations:_0x3aa83e}=_0x544fe4;this['_handler'][_0x40f097(0x2d2)](_0x1f9482);const _0xc30a60=_0x3aa83e[_0x40f097(0x390)]?this[_0x40f097(0x209)][_0x40f097(0x500)](exports[_0x40f097(0x29a)],this[_0x40f097(0x304)],this[_0x40f097(0x3f1)],_0x1f9482,_0x3aa83e,this['_handler'],void 0x0):this[_0x40f097(0x209)][_0x40f097(0x500)](exports[_0x40f097(0x293)],this['unitID'],this[_0x40f097(0x3f1)],_0x1f9482,this['_handler']);_0xc30a60[_0x40f097(0x498)](),this[_0x40f097(0x2df)][_0x40f097(0x3dc)](this,_0xc30a60);},_0x3565f6);}[_0x1a66bf(0x264)](){var _0x277120=_0x1a66bf,_0x2b6eaf;const _0x28e0fd=this[_0x277120(0x2d6)][_0x277120(0x385)](Y);return(_0x2b6eaf=_0x28e0fd==null?void 0x0:_0x28e0fd[_0x277120(0x4b7)])!=null?_0x2b6eaf:jt;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1a66bf(0x3e8)](){var _0x3d1b57=_0x1a66bf;this[_0x3d1b57(0x372)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x1a66bf(0x403)](_0x50e7bc){var _0x19b16e=_0x1a66bf;return this[_0x19b16e(0x3e8)](),this[_0x19b16e(0x209)][_0x19b16e(0x500)](exports['ConflictState'],this[_0x19b16e(0x304)],this[_0x19b16e(0x3f1)],null,this[_0x19b16e(0x29b)],this[_0x19b16e(0x2df)],_0x50e7bc);}},exports[_0x1a66bf(0x31c)]=ce([w(0x4,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x53d)])),w(0x5,a[_0x1a66bf(0x3be)](g[_0x1a66bf(0x318)])),w(0x6,a[_0x1a66bf(0x3be)](exports[_0x1a66bf(0x2cd)])),w(0x7,a['ILogService']),w(0x8,a[_0x1a66bf(0x42e)]),w(0x9,a[_0x1a66bf(0x28e)]),w(0xa,g[_0x1a66bf(0x2a6)]),w(0xb,a[_0x1a66bf(0x3a8)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x1a66bf(0x4f0)](z))],exports[_0x1a66bf(0x31c)]),exports[_0x1a66bf(0x293)]=class extends he{constructor(_0x1423ce,_0x59fb0e,_0x58580c,_0x2a376c,_0x21eb03,_0x5afbbc,_0x2bdbc0,_0x3ba864,_0x359c3b,_0x21c5f3,_0x40a3d0){var _0x2c16be=_0x1a66bf;super(_0x1423ce,_0x59fb0e,_0x58580c,[],_0x2a376c,_0x2bdbc0,_0x21c5f3,_0x5afbbc,_0x40a3d0),A(this,_0x2c16be(0x1d6),'awaiting'),A(this,_0x2c16be(0x518),0x0),A(this,_0x2c16be(0x35b)),A(this,_0x2c16be(0x521)),(this[_0x2c16be(0x209)]=_0x21eb03,this[_0x2c16be(0x3d9)]=_0x3ba864,this[_0x2c16be(0x4ef)]=_0x359c3b);}[_0x1a66bf(0x48c)](_0x3a42d9){var _0x2196b0=_0x1a66bf;this['_clearScheduledTask']();const _0x2fc36b=this[_0x2196b0(0x209)][_0x2196b0(0x500)](exports[_0x2196b0(0x29a)],this['unitID'],this[_0x2196b0(0x3f1)],this[_0x2196b0(0x1f7)],[_0x3a42d9],this[_0x2196b0(0x2df)],this['_resendTimer']);return _0x2fc36b[_0x2196b0(0x498)](),_0x2fc36b;}[_0x1a66bf(0x317)](_0x2c4810){var _0x265d3e=_0x1a66bf;if(this[_0x265d3e(0x211)](_0x2c4810))return this[_0x265d3e(0x3e8)](),this[_0x265d3e(0x209)]['createInstance'](exports[_0x265d3e(0x2a2)],this['unitID'],this[_0x265d3e(0x3f1)],this['_awaitingChangeset'],[],null,[_0x2c4810],this['_handler']);try{const _0x40e65a=this['_transformService'][_0x265d3e(0x3fe)]([_0x2c4810],[this[_0x265d3e(0x1f7)]],!0x1);if(g['isTransformChangesetsSuccess'](_0x40e65a)){const {c1Prime:_0x17ea72,c2Prime:_0x38c2b9}=_0x40e65a;this[_0x265d3e(0x351)](_0x17ea72[0x0]),_0x38c2b9[0x0][_0x265d3e(0x424)]=this[_0x265d3e(0x243)](),this[_0x265d3e(0x3e8)]();const _0x259b0b=this[_0x265d3e(0x209)]['createInstance'](exports[_0x265d3e(0x293)],this[_0x265d3e(0x304)],this[_0x265d3e(0x3f1)],_0x38c2b9[0x0],this[_0x265d3e(0x2df)]);return _0x259b0b[_0x265d3e(0x498)](),_0x259b0b;}return this['_onConflict'](!0x1);}catch(_0x19f538){return this['_logService'][_0x265d3e(0x420)](_0x19f538),this['_onConflict'](!0x1);}}[_0x1a66bf(0x1ff)](_0x331102){var _0x5c0faf=_0x1a66bf;this[_0x5c0faf(0x3e8)]();const _0x33d6ff=this['_revisionService'][_0x5c0faf(0x495)](this[_0x5c0faf(0x304)]);if(_0x331102[_0x5c0faf(0x338)]<_0x33d6ff-0x1)return this;if(this[_0x5c0faf(0x211)](_0x331102))return this[_0x5c0faf(0x209)][_0x5c0faf(0x500)](exports['FetchingMissState'],this[_0x5c0faf(0x304)],this[_0x5c0faf(0x3f1)],null,[],this[_0x5c0faf(0x1f7)],[],this[_0x5c0faf(0x2df)]);this['_incrementRevisionNumber']();const _0x4695a7=this[_0x5c0faf(0x209)][_0x5c0faf(0x500)](exports[_0x5c0faf(0x4e7)],this['unitID'],this[_0x5c0faf(0x3f1)],this[_0x5c0faf(0x2df)]);return _0x4695a7[_0x5c0faf(0x498)](),_0x4695a7;}['onRemoteRej'](_0x3b274a){var _0x4daff5=_0x1a66bf;return this[_0x4daff5(0x403)](!!(_0x3b274a!=null&&_0x3b274a['isPermissionRej']));}['onRemoteRetry'](_0x508b6a){var _0x2f2b13=_0x1a66bf;return this[_0x2f2b13(0x518)]>Nt?this['toggleOffline']():(this[_0x2f2b13(0x35b)]=Ot(this[_0x2f2b13(0x518)],{'timeout':this[_0x2f2b13(0x518)],'reqId':_0x508b6a[_0x2f2b13(0x45c)]}),this[_0x2f2b13(0x521)]=this[_0x2f2b13(0x35b)][_0x2f2b13(0x443)](({reqId:_0x3e85fa,timeout:_0x3af387})=>{var _0x45cbe0=_0x2f2b13;this[_0x45cbe0(0x464)](_0x3e85fa,_0x3af387);}),this);}['toggleOffline'](){var _0x1e8b48=_0x1a66bf;return this[_0x1e8b48(0x3e8)](),this[_0x1e8b48(0x209)]['createInstance'](exports[_0x1e8b48(0x350)],this[_0x1e8b48(0x304)],this['type'],this['_awaitingChangeset'],[],this[_0x1e8b48(0x2df)]);}[_0x1a66bf(0x42d)](){return this;}['resend'](){var _0x822fcf=_0x1a66bf;this['_handler']['onSendChangeset'](this[_0x822fcf(0x1f7)]);}[_0x1a66bf(0x403)](_0x35a59c){var _0x82df8a=_0x1a66bf;return this[_0x82df8a(0x3e8)](),this[_0x82df8a(0x209)][_0x82df8a(0x500)](exports[_0x82df8a(0x37d)],this[_0x82df8a(0x304)],this[_0x82df8a(0x3f1)],this[_0x82df8a(0x1f7)],[],this[_0x82df8a(0x2df)],_0x35a59c);}[_0x1a66bf(0x464)](_0x1b7e1b,_0x5f4464){var _0x8cae79=_0x1a66bf,_0x46fb56;_0x1b7e1b===((_0x46fb56=this[_0x8cae79(0x1f7)])==null?void 0x0:_0x46fb56[_0x8cae79(0x45c)])&&(this[_0x8cae79(0x299)](),this[_0x8cae79(0x518)]=_0x5f4464===0x0?0x3e8:_0x5f4464*0x2);}[_0x1a66bf(0x3e8)](){var _0x3873bb=_0x1a66bf,_0x516515;(_0x516515=this[_0x3873bb(0x521)])==null||_0x516515[_0x3873bb(0x427)](),this[_0x3873bb(0x518)]=0x0;}},exports[_0x1a66bf(0x293)]=ce([w(0x4,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x53d)])),w(0x5,a['Inject'](g[_0x1a66bf(0x318)])),w(0x6,a[_0x1a66bf(0x42e)]),w(0x7,a[_0x1a66bf(0x43e)]),w(0x8,g['ITransformService']),w(0x9,a[_0x1a66bf(0x4a5)]),w(0xa,a[_0x1a66bf(0x4f0)](z))],exports['AwaitingState']),exports[_0x1a66bf(0x29a)]=class extends he{constructor(_0x37bde6,_0x559cb3,_0x203854,_0x785e5a,_0x2d67ef,_0x48d310,_0x32f236,_0x41e5e3,_0x283806,_0x302f56,_0x3001ab,_0xacbdc1,_0x6da84b){var _0x2ad257=_0x1a66bf;super(_0x37bde6,_0x559cb3,_0x203854,_0x785e5a,_0x2d67ef,_0x283806,_0xacbdc1,_0x41e5e3,_0x6da84b),A(this,_0x2ad257(0x1d6),'awaiting_with_pending'),A(this,_0x2ad257(0x518),0x0),A(this,_0x2ad257(0x35b)),A(this,_0x2ad257(0x521)),(this[_0x2ad257(0x209)]=_0x32f236,this[_0x2ad257(0x3d9)]=_0x302f56,this[_0x2ad257(0x4ef)]=_0x3001ab,this[_0x2ad257(0x3c7)]=_0x6da84b,_0x48d310&&(this[_0x2ad257(0x35b)]=_0x48d310,this[_0x2ad257(0x521)]=this[_0x2ad257(0x35b)][_0x2ad257(0x443)](({reqId:_0x560d96,timeout:_0x3591d7})=>{var _0x5eb8f1=_0x2ad257;this[_0x5eb8f1(0x464)](_0x560d96,_0x3591d7);})));}[_0x1a66bf(0x48c)](_0x5aa0f0){var _0x108d86=_0x1a66bf;return this[_0x108d86(0x29b)]['push'](_0x5aa0f0),this;}['onRemoteChangeset'](_0x5c2658){var _0x1aa7f7=_0x1a66bf;if(this[_0x1aa7f7(0x211)](_0x5c2658))return this['_clearScheduledTask'](),this[_0x1aa7f7(0x209)][_0x1aa7f7(0x500)](exports['FetchingMissState'],this[_0x1aa7f7(0x304)],this['type'],this[_0x1aa7f7(0x1f7)],this[_0x1aa7f7(0x29b)],null,[_0x5c2658],this[_0x1aa7f7(0x2df)]);try{const _0x5d189e=this[_0x1aa7f7(0x4ef)][_0x1aa7f7(0x3fe)]([_0x5c2658],[this['_awaitingChangeset']],!0x1);if(g[_0x1aa7f7(0x30b)](_0x5d189e)){const {c1Prime:_0xd26f74,c2Prime:_0x4610a5}=_0x5d189e,_0x3c92a3=this[_0x1aa7f7(0x4ef)][_0x1aa7f7(0x4f8)](_0xd26f74[0x0],this['_pendingMutations']);if(g['isTransformMutationsWithChangesetSuccess'](_0x3c92a3)){const {c1Prime:_0x22def5,m2Prime:_0x630e65}=_0x3c92a3;return this[_0x1aa7f7(0x351)](_0x22def5),_0x4610a5[0x0][_0x1aa7f7(0x424)]=this[_0x1aa7f7(0x243)](),this[_0x1aa7f7(0x3e8)](),this[_0x1aa7f7(0x209)][_0x1aa7f7(0x500)](exports[_0x1aa7f7(0x29a)],this[_0x1aa7f7(0x304)],this['type'],_0x4610a5[0x0],_0x630e65,this[_0x1aa7f7(0x2df)],void 0x0);}throw _0x3c92a3[_0x1aa7f7(0x420)];}throw _0x5d189e['error'];}catch(_0xe1a2a5){return this['_logService'][_0x1aa7f7(0x420)](_0xe1a2a5),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x4239b2){var _0x37538a=_0x1a66bf;if(this[_0x37538a(0x3e8)](),this[_0x37538a(0x211)](_0x4239b2))return this[_0x37538a(0x209)][_0x37538a(0x500)](exports['FetchingMissState'],this[_0x37538a(0x304)],this[_0x37538a(0x3f1)],null,this[_0x37538a(0x29b)],this[_0x37538a(0x1f7)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x21b0ae=this[_0x37538a(0x209)][_0x37538a(0x500)](exports[_0x37538a(0x31c)],this[_0x37538a(0x304)],this[_0x37538a(0x3f1)],this[_0x37538a(0x29b)],this['_handler']);return _0x21b0ae['_schedule'](),_0x21b0ae['_updateLocalCache'](),_0x21b0ae;}[_0x1a66bf(0x27b)](_0x21257e){var _0x2ceefc=_0x1a66bf;return this[_0x2ceefc(0x403)](!!(_0x21257e!=null&&_0x21257e[_0x2ceefc(0x357)]));}[_0x1a66bf(0x404)](_0x29c7f7){var _0x1ed38b=_0x1a66bf;return this[_0x1ed38b(0x518)]>Nt?this[_0x1ed38b(0x1d7)]():(this[_0x1ed38b(0x35b)]=Ot(this[_0x1ed38b(0x518)],{'timeout':this['_resendTimeout'],'reqId':_0x29c7f7[_0x1ed38b(0x45c)]}),this[_0x1ed38b(0x521)]=this['_resendTimer'][_0x1ed38b(0x443)](({reqId:_0x3509d5,timeout:_0x2cdb3e})=>{var _0x4b870a=_0x1ed38b;this[_0x4b870a(0x464)](_0x3509d5,_0x2cdb3e);}),this);}['toggleOffline'](){var _0xe05f10=_0x1a66bf;return this[_0xe05f10(0x3e8)](),this[_0xe05f10(0x209)][_0xe05f10(0x500)](exports[_0xe05f10(0x350)],this[_0xe05f10(0x304)],this[_0xe05f10(0x3f1)],this[_0xe05f10(0x1f7)],this['_pendingMutations'],this['_handler']);}[_0x1a66bf(0x42d)](){return this;}[_0x1a66bf(0x299)](){var _0x4a49a0=_0x1a66bf;this['_handler'][_0x4a49a0(0x2d2)](this[_0x4a49a0(0x1f7)]);}['_onConflict'](_0x5c8b17){var _0x292310=_0x1a66bf;return this[_0x292310(0x3e8)](),this['_injector'][_0x292310(0x500)](exports['ConflictState'],this[_0x292310(0x304)],this[_0x292310(0x3f1)],null,this['_pendingMutations'],this[_0x292310(0x2df)],_0x5c8b17);}[_0x1a66bf(0x464)](_0x1f11ce,_0x2bc9bd){var _0x40d48d=_0x1a66bf,_0x2ad349;_0x1f11ce===((_0x2ad349=this[_0x40d48d(0x1f7)])==null?void 0x0:_0x2ad349[_0x40d48d(0x45c)])&&(this[_0x40d48d(0x299)](),this['_resendTimeout']=_0x2bc9bd===0x0?0x3e8:_0x2bc9bd*0x2);}[_0x1a66bf(0x3e8)](){var _0x159fd2=_0x1a66bf,_0x131184;(_0x131184=this[_0x159fd2(0x521)])==null||_0x131184['unsubscribe'](),this[_0x159fd2(0x518)]=0x0;}},exports[_0x1a66bf(0x29a)]=ce([w(0x6,a[_0x1a66bf(0x3be)](a['Injector'])),w(0x7,a['Inject'](g[_0x1a66bf(0x318)])),w(0x8,a[_0x1a66bf(0x42e)]),w(0x9,a[_0x1a66bf(0x43e)]),w(0xa,g['ITransformService']),w(0xb,a[_0x1a66bf(0x4a5)]),w(0xc,a['Optional'](z))],exports[_0x1a66bf(0x29a)]),exports[_0x1a66bf(0x37d)]=class extends he{constructor(_0x4cf79f,_0x497974,_0x4c9439,_0x23f33a,_0x23f1f0,_0x19041c=!0x1,_0x377fcb,_0x5df13d,_0x1f24f8,_0x2962a6,_0x508cf5,_0x4f32cc,_0x2d4adc){var _0x362d8b=_0x1a66bf;super(_0x4cf79f,_0x497974,_0x4c9439,_0x23f33a,_0x23f1f0,_0x5df13d,_0x1f24f8,_0x2962a6,_0x2d4adc),A(this,_0x362d8b(0x1d6),'conflict'),(this[_0x362d8b(0x297)]=_0x19041c,this[_0x362d8b(0x310)]=_0x377fcb,this[_0x362d8b(0x2d4)]=_0x508cf5,this[_0x362d8b(0x4f5)]=_0x4f32cc,this[_0x362d8b(0x3c7)]=_0x2d4adc,this['_showConflictNotification'](),this[_0x362d8b(0x50c)](),this[_0x362d8b(0x1e1)]());}[_0x1a66bf(0x48c)](){return this;}[_0x1a66bf(0x317)](){return this;}[_0x1a66bf(0x1ff)](){return this;}[_0x1a66bf(0x27b)](){return this;}[_0x1a66bf(0x404)](){return this;}[_0x1a66bf(0x1d7)](){return this;}['toggleOnline'](){return this;}[_0x1a66bf(0x299)](){var _0x3ebbf4=_0x1a66bf;throw new Error(_0x3ebbf4(0x242));}[_0x1a66bf(0x50c)](){var _0x549174=_0x1a66bf,_0x4c0b12;(_0x4c0b12=this[_0x549174(0x2c4)])==null||_0x4c0b12[_0x549174(0x35a)](this['unitID'],this[_0x549174(0x3f1)],null,[]);}[_0x1a66bf(0x481)](){var _0xe666bd=_0x1a66bf;this['_isPermissionRej']?this[_0xe666bd(0x4f5)]['emitEvent']({'id':Q['PERMISSION_DENIED']}):this[_0xe666bd(0x4f5)][_0xe666bd(0x37b)]({'id':Q[_0xe666bd(0x477)]});}['_disableEditing'](){var _0x2b98ba=_0x1a66bf;this['_permissionService'][_0x2b98ba(0x2bf)](new Z['WorkbookEditablePermission'](this[_0x2b98ba(0x304)])['id'],!0x1);}},exports[_0x1a66bf(0x37d)]=ce([w(0x6,a['Inject'](a['IPermissionService'])),w(0x7,a[_0x1a66bf(0x42e)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x1a66bf(0x3be)](g[_0x1a66bf(0x318)])),w(0xa,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x4ca)])),w(0xb,a[_0x1a66bf(0x3be)](te)),w(0xc,a['Optional'](z))],exports[_0x1a66bf(0x37d)]),exports['OfflineState']=class extends he{constructor(_0x18a52f,_0x31dec4,_0x489a18,_0x658ec7,_0x233bfa,_0x4743aa,_0x411ceb,_0x42ace5,_0x1c90c2,_0x53fbde){var _0x48740b=_0x1a66bf;super(_0x18a52f,_0x31dec4,_0x489a18,_0x658ec7,_0x233bfa,_0x42ace5,_0x1c90c2,_0x411ceb,_0x53fbde),A(this,_0x48740b(0x1d6),_0x48740b(0x3c9)),this['_injector']=_0x4743aa;}[_0x1a66bf(0x48c)](_0x3a7bbf){var _0x5716da=_0x1a66bf;return this[_0x5716da(0x29b)][_0x5716da(0x38b)](_0x3a7bbf),this[_0x5716da(0x498)](),this;}[_0x1a66bf(0x317)](_0x889dfd){var _0xdf643c=_0x1a66bf;throw new Error(_0xdf643c(0x3fa));}[_0x1a66bf(0x1ff)](){var _0x32038a=_0x1a66bf;throw new Error(_0x32038a(0x1dc));}[_0x1a66bf(0x27b)](){var _0x4d2dd2=_0x1a66bf;throw new Error(_0x4d2dd2(0x347));}[_0x1a66bf(0x404)](){return this;}[_0x1a66bf(0x1d7)](){return this;}['toggleOnline'](){var _0x2b15f9=_0x1a66bf;const {_injector:_0x2d1410,_pendingMutations:_0x42922a,_awaitingChangeset:_0x3d5f2d,unitID:_0x2d468b,_handler:_0x122a20,type:_0x442054}=this,_0x5c238e=Dt(_0x2d1410,_0x2d468b,_0x442054,_0x3d5f2d,_0x42922a,_0x122a20);return _0x5c238e instanceof exports[_0x2b15f9(0x31c)]?_0x5c238e['_schedule']():(_0x5c238e instanceof exports[_0x2b15f9(0x29a)]||_0x5c238e instanceof exports[_0x2b15f9(0x293)])&&_0x5c238e['resend'](),_0x5c238e;}[_0x1a66bf(0x299)](){var _0x2dda81=_0x1a66bf;throw new Error(_0x2dda81(0x3d7));}},exports[_0x1a66bf(0x350)]=ce([w(0x5,a['Inject'](a[_0x1a66bf(0x53d)])),w(0x6,a['Inject'](g[_0x1a66bf(0x318)])),w(0x7,a['ICommandService']),w(0x8,a[_0x1a66bf(0x4a5)]),w(0x9,a['Optional'](z))],exports['OfflineState']),exports[_0x1a66bf(0x2a2)]=class extends he{constructor(_0x5a53ea,_0x517c78,_0x3ad9d3,_0x478daa,_0x1cb8eb,_0x4c812f,_0x2a704c,_0x464053,_0x2e48a7,_0x2634e6,_0x51a082,_0x45420b,_0xdb584a,_0x2d1a55){var _0x152dc5=_0x1a66bf;super(_0x5a53ea,_0x517c78,_0x3ad9d3,_0x478daa,_0x2a704c,_0x51a082,_0x45420b,_0x2e48a7,_0x2d1a55),A(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x1cb8eb,this[_0x152dc5(0x511)]=_0x4c812f,this[_0x152dc5(0x209)]=_0x464053,this[_0x152dc5(0x3d9)]=_0x2634e6,this[_0x152dc5(0x4ef)]=_0xdb584a,this['localCacheService']=_0x2d1a55);}['onMissedChangesetFetched'](_0x2c3038){var _0x2983c6=_0x1a66bf;try{const _0x33089b=[..._0x2c3038,...this['_queuedRemoteChangesets']],_0x596d9b=[this[_0x2983c6(0x1f7)]||this[_0x2983c6(0x398)]][_0x2983c6(0x2e6)](_0x125f75=>!!_0x125f75);let _0x34ac60,_0x1cff2a;if(_0x596d9b['length']){const _0x64d408=this[_0x2983c6(0x4ef)][_0x2983c6(0x3fe)](_0x33089b,_0x596d9b,!0x1);if(!g[_0x2983c6(0x30b)](_0x64d408))throw _0x64d408['error'];_0x34ac60=_0x64d408[_0x2983c6(0x1ef)],_0x1cff2a=_0x64d408[_0x2983c6(0x341)];}else _0x34ac60=_0x33089b,_0x1cff2a=[];let _0x210a16=this['_pendingMutations'];_0x34ac60[_0x2983c6(0x4c0)](_0x187985=>{var _0xc950c8=_0x2983c6;let _0x320660;if(_0x210a16[_0xc950c8(0x390)]){const _0x5bceed=this['_transformService'][_0xc950c8(0x4f8)](_0x187985,_0x210a16);if(!g[_0xc950c8(0x39a)](_0x5bceed))throw _0x5bceed[_0xc950c8(0x420)];_0x320660=_0x5bceed[_0xc950c8(0x1ef)],_0x210a16=_0x5bceed[_0xc950c8(0x23b)];}else _0x320660=_0x187985;this['_executeRemoteChangeset'](_0x320660);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2983c6(0x1ea)](),this[_0x2983c6(0x1f7)]&&_0x1cff2a[_0x2983c6(0x390)]&&(_0x1cff2a[0x0][_0x2983c6(0x424)]=this[_0x2983c6(0x243)]());let _0x150a55;if(this[_0x2983c6(0x1f7)]&&_0x210a16[_0x2983c6(0x390)]!==0x0)_0x150a55=this[_0x2983c6(0x209)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x2983c6(0x304)],this[_0x2983c6(0x3f1)],_0x1cff2a[0x0],_0x210a16,this[_0x2983c6(0x2df)],void 0x0);else{if(this[_0x2983c6(0x1f7)]&&_0x210a16[_0x2983c6(0x390)]===0x0)_0x1cff2a[0x0][_0x2983c6(0x424)]=this[_0x2983c6(0x243)](),_0x150a55=this[_0x2983c6(0x209)][_0x2983c6(0x500)](exports[_0x2983c6(0x293)],this[_0x2983c6(0x304)],this[_0x2983c6(0x3f1)],_0x1cff2a[0x0],this['_handler']);else{if(_0x210a16['length']!==0x0){const _0x5b1a81=this[_0x2983c6(0x209)][_0x2983c6(0x500)](exports[_0x2983c6(0x31c)],this[_0x2983c6(0x304)],this[_0x2983c6(0x3f1)],_0x210a16,this['_handler']);_0x5b1a81[_0x2983c6(0x422)](),_0x150a55=_0x5b1a81;}else _0x150a55=this[_0x2983c6(0x209)][_0x2983c6(0x500)](exports['SyncedState'],this['unitID'],this[_0x2983c6(0x3f1)],this[_0x2983c6(0x2df)]);}}return _0x150a55[_0x2983c6(0x498)](),_0x150a55;}catch(_0x405e2c){return this[_0x2983c6(0x3d9)][_0x2983c6(0x420)](_0x2983c6(0x3a3),_0x2983c6(0x526),_0x405e2c),this['_injector'][_0x2983c6(0x500)](exports[_0x2983c6(0x37d)],this[_0x2983c6(0x304)],this[_0x2983c6(0x3f1)],this['_awaitingChangeset'],this[_0x2983c6(0x29b)],this[_0x2983c6(0x2df)],!0x1);}}[_0x1a66bf(0x299)](){var _0xe0e2d5=_0x1a66bf;throw new Error(_0xe0e2d5(0x207));}['appendMutation'](_0x2e85f3){return this['_pendingMutations']['push'](_0x2e85f3),this;}[_0x1a66bf(0x317)](_0x44d0cd){var _0x5d744a=_0x1a66bf;return this['_queuedRemoteChangesets'][_0x5d744a(0x38b)](_0x44d0cd),this;}[_0x1a66bf(0x1ff)](_0x5f3d7c){var _0x5f03ca=_0x1a66bf;if(this[_0x5f03ca(0x1f7)])return this[_0x5f03ca(0x398)]=this[_0x5f03ca(0x1f7)],this['_awaitingChangeset']=null,this;throw new Error(_0x5f03ca(0x4bf));}[_0x1a66bf(0x27b)](_0x2f5f6d){var _0x4b5587=_0x1a66bf;return this[_0x4b5587(0x403)](!!(_0x2f5f6d!=null&&_0x2f5f6d[_0x4b5587(0x357)]));}[_0x1a66bf(0x404)](){return this;}['toggleOffline'](){var _0x2891cc=_0x1a66bf;return this['_injector']['createInstance'](exports[_0x2891cc(0x350)],this[_0x2891cc(0x304)],this['type'],this[_0x2891cc(0x1f7)],this['_pendingMutations'],this[_0x2891cc(0x2df)]);}[_0x1a66bf(0x42d)](){return this;}[_0x1a66bf(0x403)](_0x137c15){var _0x45093c=_0x1a66bf;return this['_injector'][_0x45093c(0x500)](exports[_0x45093c(0x37d)],this[_0x45093c(0x304)],this[_0x45093c(0x3f1)],this[_0x45093c(0x1f7)],this['_pendingMutations'],this['_handler'],_0x137c15);}},exports[_0x1a66bf(0x2a2)]=ce([w(0x7,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x53d)])),w(0x8,a[_0x1a66bf(0x3be)](g[_0x1a66bf(0x318)])),w(0x9,a[_0x1a66bf(0x43e)]),w(0xa,a[_0x1a66bf(0x42e)]),w(0xb,a[_0x1a66bf(0x4a5)]),w(0xc,g[_0x1a66bf(0x2a6)]),w(0xd,a[_0x1a66bf(0x4f0)](z))],exports[_0x1a66bf(0x2a2)]);function Dt(_0x4e8090,_0x331ec4,_0x1a7d96,_0x22b12e,_0x51444b,_0x3f9644){var _0x4f24f7=_0x1a66bf;return _0x22b12e&&_0x51444b[_0x4f24f7(0x390)]?_0x4e8090[_0x4f24f7(0x500)](exports[_0x4f24f7(0x29a)],_0x331ec4,_0x1a7d96,_0x22b12e,_0x51444b,_0x3f9644,void 0x0):_0x22b12e?_0x4e8090[_0x4f24f7(0x500)](exports[_0x4f24f7(0x293)],_0x331ec4,_0x1a7d96,_0x22b12e,_0x3f9644):_0x51444b[_0x4f24f7(0x390)]?_0x4e8090[_0x4f24f7(0x500)](exports['PendingState'],_0x331ec4,_0x1a7d96,_0x51444b,_0x3f9644):_0x4e8090['createInstance'](exports[_0x4f24f7(0x4e7)],_0x331ec4,_0x1a7d96,_0x3f9644);}var Ci=Object[_0x1a66bf(0x31a)],We=(_0x46fcf4,_0x31dc3e,_0x518d91,_0x5a04d8)=>{for(var _0x3bd541=_0x5a04d8>0x1?void 0x0:_0x5a04d8?Ci(_0x31dc3e,_0x518d91):_0x31dc3e,_0xa4e7d9=_0x46fcf4['length']-0x1,_0x5b8065;_0xa4e7d9>=0x0;_0xa4e7d9--)(_0x5b8065=_0x46fcf4[_0xa4e7d9])&&(_0x3bd541=_0x5b8065(_0x3bd541)||_0x3bd541);return _0x3bd541;},$=(_0x58ec9c,_0x9e0a5d)=>(_0x3c622c,_0x478dc5)=>_0x9e0a5d(_0x3c622c,_0x478dc5,_0x58ec9c);exports[_0x1a66bf(0x3c6)]=class extends a['RxDisposable']{constructor(_0x6145c3,_0xd1645a,_0x18a299,_0x141091,_0xeb53d0,_0x43f1ac,_0x20636b,_0x21b886,_0x23b5d7,_0x3da315,_0x2242fe,_0x16c05a,_0x1ccad5){var _0x2441f2=_0x1a66bf;super(),A(this,_0x2441f2(0x3a9),new j[(_0x2441f2(0x440))](null)),A(this,'state$',this[_0x2441f2(0x3a9)]['asObservable']()),A(this,_0x2441f2(0x360)),A(this,_0x2441f2(0x267),!0x1),A(this,_0x2441f2(0x4e5),''),A(this,_0x2441f2(0x392),0x0),A(this,_0x2441f2(0x51b),this['state$'][_0x2441f2(0x489)](j[_0x2441f2(0x394)](_0x6d62c9=>_0x6d62c9?_0x6d62c9[_0x2441f2(0x1d6)]:Ve['OFFLINE']),j['shareReplay'](0x1))),A(this,_0x2441f2(0x364),!0x1),A(this,_0x2441f2(0x286),[]),(this['unitID']=_0x6145c3,this[_0x2441f2(0x534)]=_0xd1645a,this[_0x2441f2(0x52a)]=_0x18a299,this[_0x2441f2(0x209)]=_0x141091,this[_0x2441f2(0x331)]=_0xeb53d0,this[_0x2441f2(0x2d4)]=_0x43f1ac,this[_0x2441f2(0x373)]=_0x20636b,this['_eventService']=_0x21b886,this[_0x2441f2(0x3d9)]=_0x23b5d7,this[_0x2441f2(0x1f4)]=_0x3da315,this['_permissionService']=_0x2242fe,this[_0x2441f2(0x35d)]=_0x16c05a,this['_localCacheService']=_0x1ccad5);}get[_0x1a66bf(0x41f)](){var _0x3fb4df=_0x1a66bf;return this[_0x3fb4df(0x360)];}async[_0x1a66bf(0x376)](){var _0x7a0915=_0x1a66bf;if(this['state'])throw new Error(_0x7a0915(0x23f));await this[_0x7a0915(0x35c)]();}[_0x1a66bf(0x47b)](){var _0x1df969=_0x1a66bf;return this[_0x1df969(0x267)]=!0x0,a[_0x1df969(0x445)](()=>{var _0x120b1a=_0x1df969;this['_collaborationPaused']=!0x1,this[_0x120b1a(0x20c)]();});}[_0x1a66bf(0x388)](_0x30e3e8){var _0x44d7b3=_0x1a66bf;this[_0x44d7b3(0x523)](_0x30e3e8);}[_0x1a66bf(0x541)](_0x39c3aa){var _0x4af4d0=_0x1a66bf;this[_0x4af4d0(0x360)]=_0x39c3aa,this['_state$'][_0x4af4d0(0x4d0)](_0x39c3aa);}async[_0x1a66bf(0x35c)](){var _0x33117c=_0x1a66bf,_0x189a8e;this[_0x33117c(0x541)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x189a8e=this[_0x33117c(0x35d)])==null||_0x189a8e[_0x33117c(0x3c5)](this[_0x33117c(0x304)]),this[_0x33117c(0x234)](this[_0x33117c(0x35d)][_0x33117c(0x359)](this[_0x33117c(0x304)])[_0x33117c(0x443)](_0x419182=>{var _0x27dae8=_0x33117c;this[_0x27dae8(0x3d9)][_0x27dae8(0x312)](_0x27dae8(0x253),_0x27dae8(0x402),_0x419182),_0x419182===Fe[_0x27dae8(0x1f2)]?(this['_eventService'][_0x27dae8(0x37b)]({'id':Q[_0x27dae8(0x205)]}),this[_0x27dae8(0x310)]['updatePermissionPoint'](new Z[(_0x27dae8(0x3b7))](this['unitID'])['id'],!0x1),this['_permissionService'][_0x27dae8(0x326)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new Z[(_0x27dae8(0x3b7))](this[_0x27dae8(0x304)])['id'],!0x0),this[_0x27dae8(0x310)][_0x27dae8(0x326)](!0x0));})));let _0xcf1c49=!0x1;return this[_0x33117c(0x234)](this[_0x33117c(0x534)][_0x33117c(0x519)][_0x33117c(0x443)](_0x15bb9e=>{var _0x4193e6=_0x33117c;_0x15bb9e===se[_0x4193e6(0x486)]?this[_0x4193e6(0x4af)](_0xcf1c49):_0x15bb9e===se[_0x4193e6(0x4d5)]&&(_0xcf1c49=!0x0,this['_toggleOffline']());})),this[_0x33117c(0x234)](this[_0x33117c(0x534)][_0x33117c(0x437)][_0x33117c(0x443)](_0x1b2ed3=>{var _0x598f69=_0x33117c;try{switch(_0x1b2ed3[_0x598f69(0x2f3)]){case g[_0x598f69(0x315)]['NEW_CHANGESETS']:{this[_0x598f69(0x313)](g[_0x598f69(0x2af)](_0x1b2ed3[_0x598f69(0x22f)]));break;}case g[_0x598f69(0x315)]['CHANGESET_ACK']:{this[_0x598f69(0x4e1)](_0x1b2ed3[_0x598f69(0x22f)]);break;}case g[_0x598f69(0x315)][_0x598f69(0x476)]:{this['_onRemoteRejected']();break;}case g[_0x598f69(0x315)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x1b2ed3[_0x598f69(0x22f)]);break;}case g[_0x598f69(0x315)][_0x598f69(0x4b4)]:{this[_0x598f69(0x4b5)](_0x1b2ed3[_0x598f69(0x22f)][_0x598f69(0x272)]['map'](_0x550db0=>g['parseProtocolChangeset'](_0x550db0)));break;}case g[_0x598f69(0x315)][_0x598f69(0x459)]:{this[_0x598f69(0x387)]({'isPermissionRej':!0x0});break;}case g['CollaborationEvent'][_0x598f69(0x507)]:break;}}catch(_0x6cfd33){throw console[_0x598f69(0x420)](_0x598f69(0x1d9),_0x6cfd33),_0x6cfd33;}})),this[_0x33117c(0x360)];}[_0x1a66bf(0x417)](){var _0x5e570f=_0x1a66bf;this[_0x5e570f(0x364)]=!0x1;}[_0x1a66bf(0x4ed)](){var _0x5e8c08=_0x1a66bf;if(this[_0x5e8c08(0x364)])throw new Error(_0x5e8c08(0x36c));this[_0x5e8c08(0x364)]=!0x0;}[_0x1a66bf(0x523)](_0x490117){var _0x5912dc=_0x1a66bf;this[_0x5912dc(0x4ed)](),this[_0x5912dc(0x541)](this['_state']['appendMutation'](_0x490117)),this[_0x5912dc(0x417)]();}[_0x1a66bf(0x313)](_0x3975e){var _0x440097=_0x1a66bf;if(!(_0x3975e['revision']<=this[_0x440097(0x373)][_0x440097(0x495)](this[_0x440097(0x304)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x3975e);return;}this[_0x440097(0x391)](_0x3975e);}}['_exhaustRemoteChangesetQueue'](){var _0x321a9d=_0x1a66bf;this[_0x321a9d(0x286)][_0x321a9d(0x4c0)](_0x546738=>this[_0x321a9d(0x391)](_0x546738)),this[_0x321a9d(0x286)]=[];}[_0x1a66bf(0x391)](_0x49fcf3){var _0x295713=_0x1a66bf;const _0x167969=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x295713(0x331)]['interceptor'][_0x295713(0x1ec)]()[_0x295713(0x28a)])(_0x49fcf3[_0x295713(0x28f)],null)||_0x49fcf3['mutations'],_0x774796={..._0x49fcf3,'mutations':_0x167969};this[_0x295713(0x4ed)](),this[_0x295713(0x541)](this[_0x295713(0x360)]['onRemoteChangeset'](_0x774796)),this[_0x295713(0x417)]();}[_0x1a66bf(0x4e1)](_0x5d518e){var _0x5262e4=_0x1a66bf;this[_0x5262e4(0x4ed)](),this[_0x5262e4(0x541)](this[_0x5262e4(0x360)][_0x5262e4(0x1ff)](_0x5d518e)),this[_0x5262e4(0x417)]();}[_0x1a66bf(0x387)](_0x206a53){var _0x5498fa=_0x1a66bf;this['_lockTransition'](),this[_0x5498fa(0x541)](this[_0x5498fa(0x360)][_0x5498fa(0x27b)](_0x206a53)),this[_0x5498fa(0x417)]();}['_onRemoteRetry'](_0x3225da){var _0xfaafa2=_0x1a66bf;this[_0xfaafa2(0x4ed)](),this[_0xfaafa2(0x541)](this[_0xfaafa2(0x360)][_0xfaafa2(0x404)](_0x3225da)),this['_unlockTransition']();}[_0x1a66bf(0x4b5)](_0x42512d){var _0x555d17=_0x1a66bf;if(!(this[_0x555d17(0x360)]instanceof exports['FetchingMissState']))throw new TypeError(_0x555d17(0x514));const _0x49dc18=_0x42512d[_0x555d17(0x394)](_0x11a13b=>{var _0x5675dc=_0x555d17;const _0x2929f0=this[_0x5675dc(0x331)][_0x5675dc(0x276)]['fetchThroughInterceptors'](this[_0x5675dc(0x331)]['interceptor']['getInterceptPoints']()[_0x5675dc(0x28a)])(_0x11a13b[_0x5675dc(0x28f)],null)||_0x11a13b[_0x5675dc(0x28f)];return{..._0x11a13b,'mutations':_0x2929f0};});this['_lockTransition'](),this[_0x555d17(0x541)](this[_0x555d17(0x360)][_0x555d17(0x42c)](_0x49dc18)),this[_0x555d17(0x417)]();}[_0x1a66bf(0x386)](){var _0x2f5ff3=_0x1a66bf;this[_0x2f5ff3(0x4ed)](),this['_updateState'](this[_0x2f5ff3(0x360)]['toggleOffline']()),this[_0x2f5ff3(0x417)]();}[_0x1a66bf(0x4af)](_0x262c74=!0x1){var _0x3ca226=_0x1a66bf;this[_0x3ca226(0x4ed)](),this[_0x3ca226(0x541)](this['_state'][_0x3ca226(0x42d)]()),this[_0x3ca226(0x417)]();const _0x23a426=this[_0x3ca226(0x360)];_0x262c74&&_0x23a426 instanceof exports[_0x3ca226(0x4e7)]&&(this[_0x3ca226(0x4ed)](),this[_0x3ca226(0x541)](_0x23a426[_0x3ca226(0x3f5)]()),this['_unlockTransition']());}async[_0x1a66bf(0x288)](){return new Promise(_0x41fa8e=>{var _0x390880=_0x4a7d;this[_0x390880(0x534)][_0x390880(0x519)][_0x390880(0x489)](j['take'](0x1))[_0x390880(0x443)](async _0x45ed2d=>{var _0x5220cb=_0x390880;_0x41fa8e(await this[_0x5220cb(0x3a6)](_0x45ed2d===se[_0x5220cb(0x486)]));});});}[_0x1a66bf(0x4db)](){var _0x558636=_0x1a66bf;const _0x1371fe=this[_0x558636(0x304)];return{'onStateChange':(_0xeb6a38,_0x5e5c08)=>{var _0x5e2313=_0x558636;if(_0xeb6a38!==this[_0x5e2313(0x360)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xeb6a38[_0x5e2313(0x1d6)]+'\x0aAfter:\x20'+_0x5e5c08[_0x5e2313(0x1d6)]+_0x5e2313(0x220)+this[_0x5e2313(0x360)][_0x5e2313(0x1d6)]);this[_0x5e2313(0x541)](_0x5e5c08);},'onSendChangeset':_0x1b692e=>{var _0x5d9410=_0x558636;_0x1b692e['sid']||(_0x1b692e['sid']=this[_0x5d9410(0x4e5)],_0x1b692e['reqId']=++this[_0x5d9410(0x392)]);const _0x4f36b2={'eventID':g[_0x5d9410(0x315)][_0x5d9410(0x282)],'data':{'unitID':_0x1b692e[_0x5d9410(0x304)],'unitType':this[_0x5d9410(0x52a)],'changeset':_0x1b692e,'memberID':this[_0x5d9410(0x534)]['getMemberID']()}};this[_0x5d9410(0x534)][_0x5d9410(0x3f0)](_0x4f36b2,this['unitID']);},'onMissingChangesets':({from:_0x245ce9,to:_0x5897b6})=>{var _0x282177=_0x558636;this[_0x282177(0x3d9)][_0x282177(0x312)](_0x282177(0x253),'fetching\x20missing\x20changesets\x20from\x20'+_0x245ce9+_0x282177(0x4dc)+_0x5897b6);const _0x193705={'eventID':g['CollaborationEvent'][_0x282177(0x2b2)],'data':{'unitID':_0x1371fe,'unitType':this['_type'],'from':_0x245ce9,'to':_0x5897b6}};this[_0x282177(0x534)][_0x282177(0x3f0)](_0x193705,this['unitID']);}};}async[_0x1a66bf(0x3a6)](_0x4d328d){var _0x25f574=_0x1a66bf,_0x15d74b,_0x172c41,_0x5ac116;const _0xee369b=await((_0x15d74b=this[_0x25f574(0x2c4)])==null?void 0x0:_0x15d74b[_0x25f574(0x4ae)](this[_0x25f574(0x304)])),_0x3ec58f=(_0x172c41=_0xee369b==null?void 0x0:_0xee369b[_0x25f574(0x28f)])!=null?_0x172c41:[],_0x1c0578=(_0x5ac116=_0xee369b==null?void 0x0:_0xee369b[_0x25f574(0x4d6)])!=null?_0x5ac116:null,_0xff4b06=!!(_0x1c0578!=null&&_0x1c0578['sid'])&&!!(_0x1c0578!=null&&_0x1c0578[_0x25f574(0x45c)]);this[_0x25f574(0x4e5)]=_0xff4b06?_0x1c0578[_0x25f574(0x51c)]:di(),this[_0x25f574(0x392)]=_0xff4b06?_0x1c0578[_0x25f574(0x45c)]:0x0;const _0x5dee21=this[_0x25f574(0x304)];try{this[_0x25f574(0x454)](_0x1c0578,_0x3ec58f);}catch(_0x1274f5){this[_0x25f574(0x3d9)][_0x25f574(0x420)](_0x1274f5);}const _0x11b809=this[_0x25f574(0x4db)]();if(_0x4d328d){const _0x1d55cd=Dt(this[_0x25f574(0x209)],_0x5dee21,this[_0x25f574(0x52a)],_0x1c0578,_0x3ec58f,_0x11b809);return _0x1d55cd instanceof exports['PendingState']?_0x1d55cd[_0x25f574(0x422)]():(_0x1d55cd instanceof exports[_0x25f574(0x29a)]||_0x1d55cd instanceof exports[_0x25f574(0x293)])&&_0x1d55cd[_0x25f574(0x299)](),_0x1d55cd;}return this[_0x25f574(0x209)][_0x25f574(0x500)](exports[_0x25f574(0x350)],_0x5dee21,this[_0x25f574(0x52a)],_0x1c0578,_0x3ec58f,_0x11b809);}['_replayCachedMutations'](_0x40a73c,_0x560f02){var _0x128c2c=_0x1a66bf,_0x18df54,_0xdd91dd;const _0x392080=this['_compressMutationService'][_0x128c2c(0x276)][_0x128c2c(0x4ee)](this[_0x128c2c(0x331)][_0x128c2c(0x276)][_0x128c2c(0x1ec)]()[_0x128c2c(0x28a)]);(_0x18df54=_0x392080((_0x40a73c==null?void 0x0:_0x40a73c[_0x128c2c(0x28f)])||[],null))==null||_0x18df54[_0x128c2c(0x4c0)](_0x184d11=>this[_0x128c2c(0x1f4)]['executeCommand'](_0x184d11['id'],_0x184d11['params'])),(_0xdd91dd=_0x392080(_0x560f02||[],null))==null||_0xdd91dd['forEach'](_0x336bfa=>this['_commandService']['executeCommand'](_0x336bfa['id'],_0x336bfa[_0x128c2c(0x538)]));}},exports['CollaborationEntity']=We([$(0x3,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x53d)])),$(0x4,a[_0x1a66bf(0x3be)](g[_0x1a66bf(0x41b)])),$(0x5,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x4ca)])),$(0x6,a[_0x1a66bf(0x3be)](g['RevisionService'])),$(0x7,a[_0x1a66bf(0x3be)](te)),$(0x8,a[_0x1a66bf(0x43e)]),$(0x9,a[_0x1a66bf(0x42e)]),$(0xa,a[_0x1a66bf(0x4c4)]),$(0xb,a[_0x1a66bf(0x4f0)](ve)),$(0xc,a[_0x1a66bf(0x4f0)](z))],exports[_0x1a66bf(0x3c6)]),exports['DocCollaborationEntity']=class extends exports[_0x1a66bf(0x3c6)]{constructor(_0x5a95aa,_0x4c2ae3,_0xd4fd4f,_0x37178a,_0x47825d,_0x420e80,_0x37da08,_0x17c4fa,_0x43a658,_0x14b694,_0x21ba9a,_0x49efcf,_0x21bcb5){var _0x127b86=_0x1a66bf;super(_0x5a95aa,_0xd4fd4f,_0x4c2ae3,_0x37178a,_0x47825d,_0x420e80,_0x37da08,_0x17c4fa,_0x43a658,_0x14b694,_0x21ba9a,_0x49efcf,_0x21bcb5),A(this,'_handlerCallback',null),(this[_0x127b86(0x304)]=_0x5a95aa,this[_0x127b86(0x3f1)]=_0x4c2ae3);}[_0x1a66bf(0x40d)](_0x174e71){var _0x208302=_0x1a66bf;this[_0x208302(0x49b)]=_0x174e71;}[_0x1a66bf(0x213)](){var _0xe3bf6e=_0x1a66bf;this[_0xe3bf6e(0x49b)]=null,super[_0xe3bf6e(0x213)]();}['_createHandler'](){var _0x3e1a9d=_0x1a66bf;const _0x13249a=super[_0x3e1a9d(0x4db)]();return _0x13249a['onTransformIME']=_0x522851=>{var _0x3397f2=_0x3e1a9d,_0xa74e3b,_0x364c43;return(_0x364c43=(_0xa74e3b=this[_0x3397f2(0x49b)])==null?void 0x0:_0xa74e3b[_0x3397f2(0x393)])==null?void 0x0:_0x364c43[_0x3397f2(0x2c6)](_0xa74e3b,_0x522851);},_0x13249a[_0x3e1a9d(0x2a0)]=_0x3ea1d9=>{var _0x5a538a=_0x3e1a9d,_0x202665,_0x5d4fdd;return(_0x5d4fdd=(_0x202665=this[_0x5a538a(0x49b)])==null?void 0x0:_0x202665['onTransformState'])==null?void 0x0:_0x5d4fdd[_0x5a538a(0x2c6)](_0x202665,_0x3ea1d9);},_0x13249a['onTransformSelections']=_0xe68b00=>{var _0x31e779=_0x3e1a9d,_0x5180fc,_0x373dc4;return(_0x373dc4=(_0x5180fc=this[_0x31e779(0x49b)])==null?void 0x0:_0x5180fc['onTransformSelections'])==null?void 0x0:_0x373dc4[_0x31e779(0x2c6)](_0x5180fc,_0xe68b00);},_0x13249a[_0x3e1a9d(0x414)]=_0x5b4e5b=>{var _0x580ebe=_0x3e1a9d,_0x2cf2a7,_0xc1dcd0;return(_0xc1dcd0=(_0x2cf2a7=this[_0x580ebe(0x49b)])==null?void 0x0:_0x2cf2a7[_0x580ebe(0x414)])==null?void 0x0:_0xc1dcd0[_0x580ebe(0x2c6)](_0x2cf2a7,_0x5b4e5b);},_0x13249a[_0x3e1a9d(0x3c8)]=_0x24ff2b=>{var _0x11ae61=_0x3e1a9d,_0x523c8e,_0x5a1152,_0x111e19;if(!((_0x523c8e=this[_0x11ae61(0x49b)])!=null&&_0x523c8e[_0x11ae61(0x3c8)]))throw new Error(_0x11ae61(0x3e0));return(_0x111e19=(_0x5a1152=this[_0x11ae61(0x49b)])==null?void 0x0:_0x5a1152[_0x11ae61(0x3c8)])==null?void 0x0:_0x111e19['call'](_0x5a1152,_0x24ff2b);},_0x13249a[_0x3e1a9d(0x412)]=_0x4cbec0=>{var _0x2dd132=_0x3e1a9d,_0x3d1982,_0x1abace,_0x10cb12;if(!((_0x3d1982=this[_0x2dd132(0x49b)])!=null&&_0x3d1982[_0x2dd132(0x412)]))throw new Error(_0x2dd132(0x329));return(_0x10cb12=(_0x1abace=this[_0x2dd132(0x49b)])==null?void 0x0:_0x1abace['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x10cb12['call'](_0x1abace,_0x4cbec0);},_0x13249a;}async[_0x1a66bf(0x35c)](){var _0x214e73=_0x1a66bf;const _0x51ef72=await super['_init']();return this[_0x214e73(0x234)](this[_0x214e73(0x1f4)][_0x214e73(0x4d7)]((_0x21e026,_0x6de285)=>{var _0x2cb933=_0x214e73;if(_0x21e026[_0x2cb933(0x3f1)]!==a[_0x2cb933(0x4f9)]['MUTATION']||_0x6de285!=null&&_0x6de285[_0x2cb933(0x40c)]||_0x6de285!=null&&_0x6de285[_0x2cb933(0x316)]||_0x21e026['id']===ut[_0x2cb933(0x525)]['id'])return;const _0xb45686=_0x21e026[_0x2cb933(0x538)];if((_0xb45686==null?void 0x0:_0xb45686['unitId'])!==this[_0x2cb933(0x304)])return;const _0xc10fda=_0x21e026,_0x4c67ec=this[_0x2cb933(0x331)][_0x2cb933(0x276)][_0x2cb933(0x4ee)](this[_0x2cb933(0x331)][_0x2cb933(0x276)][_0x2cb933(0x1ec)]()[_0x2cb933(0x2d0)])([_0xc10fda],null)||[_0xc10fda];this[_0x2cb933(0x523)](_0x4c67ec[0x0]);})),_0x51ef72;}},exports[_0x1a66bf(0x20b)]=We([$(0x3,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x53d)])),$(0x4,a[_0x1a66bf(0x3be)](g['CompressMutationService'])),$(0x5,a[_0x1a66bf(0x3be)](a['LocaleService'])),$(0x6,a[_0x1a66bf(0x3be)](g[_0x1a66bf(0x318)])),$(0x7,a[_0x1a66bf(0x3be)](te)),$(0x8,a[_0x1a66bf(0x43e)]),$(0x9,a[_0x1a66bf(0x42e)]),$(0xa,a[_0x1a66bf(0x4c4)]),$(0xb,a[_0x1a66bf(0x4f0)](ve)),$(0xc,a[_0x1a66bf(0x4f0)](z))],exports[_0x1a66bf(0x20b)]),exports['SheetCollaborationEntity']=class extends exports[_0x1a66bf(0x3c6)]{constructor(_0x1c805b,_0x4dd90c,_0x46f871,_0x354970,_0x573c1a,_0x2ff491,_0x4dbd2f,_0x1fb5ec,_0x4d43c4,_0x3f6dd2,_0x503d5e,_0x172f28,_0x8827ae,_0x4f9213){var _0x44ab3d=_0x1a66bf;super(_0x1c805b,_0x46f871,_0x4dd90c,_0x354970,_0x573c1a,_0x2ff491,_0x4dbd2f,_0x4d43c4,_0x3f6dd2,_0x503d5e,_0x172f28,_0x8827ae,_0x4f9213),this[_0x44ab3d(0x304)]=_0x1c805b,this['type']=_0x4dd90c,this['_sheetTransformSelectionsService']=_0x1fb5ec;}[_0x1a66bf(0x4db)](){var _0x22a90a=_0x1a66bf;const _0x4f520f=super[_0x22a90a(0x4db)]();return _0x4f520f[_0x22a90a(0x384)]=_0x5b508b=>this['_sheetTransformSelectionsService'][_0x22a90a(0x410)](_0x5b508b),_0x4f520f;}async[_0x1a66bf(0x35c)](){var _0x3fe40a=_0x1a66bf;const _0x2ba8ad=await super['_init']();return this[_0x3fe40a(0x234)](this['_commandService'][_0x3fe40a(0x4d7)]((_0x29d6fe,_0x54424b)=>{var _0x4202f1=_0x3fe40a;if(_0x29d6fe['type']!==a[_0x4202f1(0x4f9)][_0x4202f1(0x4de)]||_0x54424b!=null&&_0x54424b['fromCollab']||_0x54424b!=null&&_0x54424b[_0x4202f1(0x316)])return;const _0x201bf1=_0x29d6fe[_0x4202f1(0x538)];if((_0x201bf1==null?void 0x0:_0x201bf1['unitId'])!==this[_0x4202f1(0x304)])return;const _0x4246eb=_0x29d6fe,_0x458c40=this[_0x4202f1(0x331)][_0x4202f1(0x276)][_0x4202f1(0x4ee)](this['_compressMutationService'][_0x4202f1(0x276)][_0x4202f1(0x1ec)]()['COMPRESS_MUTATION_SEND'])([_0x4246eb],null)||[_0x4246eb];this[_0x4202f1(0x523)](_0x458c40[0x0]);})),_0x2ba8ad;}},exports['SheetCollaborationEntity']=We([$(0x3,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x53d)])),$(0x4,a[_0x1a66bf(0x3be)](g[_0x1a66bf(0x41b)])),$(0x5,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x4ca)])),$(0x6,a[_0x1a66bf(0x3be)](g[_0x1a66bf(0x318)])),$(0x7,a['Inject'](exports[_0x1a66bf(0x3d3)])),$(0x8,a[_0x1a66bf(0x3be)](te)),$(0x9,a[_0x1a66bf(0x43e)]),$(0xa,a[_0x1a66bf(0x42e)]),$(0xb,a[_0x1a66bf(0x4c4)]),$(0xc,a[_0x1a66bf(0x4f0)](ve)),$(0xd,a[_0x1a66bf(0x4f0)](z))],exports['SheetCollaborationEntity']);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x3c71a3,_0x30216e,_0x515209,_0x4f41ec)=>{var _0x12bf23=_0x1a66bf;for(var _0x28954b=_0x4f41ec>0x1?void 0x0:_0x4f41ec?Ti(_0x30216e,_0x515209):_0x30216e,_0x4c4bc0=_0x3c71a3[_0x12bf23(0x390)]-0x1,_0x51dad5;_0x4c4bc0>=0x0;_0x4c4bc0--)(_0x51dad5=_0x3c71a3[_0x4c4bc0])&&(_0x28954b=_0x51dad5(_0x28954b)||_0x28954b);return _0x28954b;},Pe=(_0x3afb09,_0x514e21)=>(_0x521d78,_0xd7d1f4)=>_0x514e21(_0x521d78,_0xd7d1f4,_0x3afb09);exports['CollaborationController']=class extends a[_0x1a66bf(0x535)]{constructor(_0x5992af,_0x54869f,_0x3ef2b6){var _0x359021=_0x1a66bf;super(),A(this,_0x359021(0x51d),new Map()),A(this,'_entityInit$',new j[(_0x359021(0x457))]()),A(this,'entityInit$',this[_0x359021(0x281)][_0x359021(0x3c0)]()),(this['_injector']=_0x5992af,this[_0x359021(0x227)]=_0x54869f,this[_0x359021(0x361)]=_0x3ef2b6,this[_0x359021(0x35c)]());}['dispose'](){var _0xa612b=_0x1a66bf;super[_0xa612b(0x213)](),this[_0xa612b(0x51d)][_0xa612b(0x4c0)](_0x589ea1=>_0x589ea1[_0xa612b(0x213)]()),this[_0xa612b(0x51d)][_0xa612b(0x33a)]();}[_0x1a66bf(0x1f5)](_0x17a886){var _0x257c4b;return(_0x257c4b=this['_entities']['get'](_0x17a886))!=null?_0x257c4b:null;}[_0x1a66bf(0x3ee)](_0x471734){var _0x5835ea=_0x1a66bf;const _0x5d2af6=this[_0x5835ea(0x1f5)](_0x471734);return _0x5d2af6?j['of'](_0x5d2af6):this['_entityInit$'][_0x5835ea(0x489)](V[_0x5835ea(0x2e6)](_0x593519=>_0x593519['unitID']===_0x471734));}[_0x1a66bf(0x512)](_0x45a524){var _0x15ace2=_0x1a66bf;return j['firstValueFrom'](this[_0x15ace2(0x3ee)](_0x45a524)[_0x15ace2(0x489)](V[_0x15ace2(0x394)](()=>{})));}['_init'](){var _0x4df342=_0x1a66bf;this[_0x4df342(0x361)][_0x4df342(0x27e)](a[_0x4df342(0x49c)][_0x4df342(0x4e9)])[_0x4df342(0x489)](j[_0x4df342(0x4e2)](this[_0x4df342(0x2c3)]),V[_0x4df342(0x24a)](0x10))[_0x4df342(0x443)](async _0x24c86c=>{var _0x204284=_0x4df342;const _0x454252=_0x24c86c['getUnitId'](),_0x34ae75=await this[_0x204284(0x2db)](_0x454252,X['UNIVER_SHEET']);this[_0x204284(0x51d)][_0x204284(0x2fd)](_0x454252,_0x34ae75);}),this['_univerInstanceService'][_0x4df342(0x27e)](a[_0x4df342(0x49c)]['UNIVER_DOC'])[_0x4df342(0x489)](j[_0x4df342(0x4e2)](this[_0x4df342(0x2c3)]),V[_0x4df342(0x24a)](0x10))[_0x4df342(0x489)](V[_0x4df342(0x2e6)](_0x4bdae0=>!_0x4bdae0[_0x4df342(0x40f)]()[_0x4df342(0x2fb)]('__')))[_0x4df342(0x443)](async _0x1cc327=>{var _0x373751=_0x4df342;const _0x1f2449=_0x1cc327['getUnitId'](),_0x416b59=await this[_0x373751(0x2db)](_0x1f2449,X[_0x373751(0x1e4)]);this[_0x373751(0x51d)][_0x373751(0x2fd)](_0x1f2449,_0x416b59);}),j['merge'](this['_univerInstanceService'][_0x4df342(0x3fb)](a[_0x4df342(0x49c)][_0x4df342(0x4e9)]),this[_0x4df342(0x361)][_0x4df342(0x3fb)](a['UniverInstanceType']['UNIVER_DOC']))[_0x4df342(0x489)](j[_0x4df342(0x4e2)](this[_0x4df342(0x2c3)]))['subscribe'](_0x5e5043=>{var _0x2b6f99=_0x4df342;const _0x1929f9=_0x5e5043[_0x2b6f99(0x40f)](),_0xacd954=this[_0x2b6f99(0x51d)]['get'](_0x1929f9);_0xacd954&&(_0xacd954['dispose'](),this[_0x2b6f99(0x51d)][_0x2b6f99(0x355)](_0x1929f9));});}async[_0x1a66bf(0x2db)](_0x51b6c7,_0x54175a){var _0x10aff2=_0x1a66bf;const _0x167ce8=await this[_0x10aff2(0x227)][_0x10aff2(0x2b0)](_0x51b6c7),_0x23fedf=this['_injector'][_0x10aff2(0x500)](this[_0x10aff2(0x257)](_0x54175a),_0x51b6c7,_0x54175a,_0x167ce8);return await _0x23fedf[_0x10aff2(0x376)](),this[_0x10aff2(0x281)][_0x10aff2(0x4d0)](_0x23fedf),_0x23fedf;}[_0x1a66bf(0x257)](_0x327332){var _0x11818c=_0x1a66bf;switch(_0x327332){case X[_0x11818c(0x1e4)]:return exports[_0x11818c(0x20b)];case X['UNIVER_SHEET']:return exports[_0x11818c(0x2ad)];default:throw new Error(_0x11818c(0x29f)+_0x327332);}}},exports[_0x1a66bf(0x2aa)]=bi([Pe(0x0,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x53d)])),Pe(0x1,a[_0x1a66bf(0x3be)](exports['CollaborationSessionService'])),Pe(0x2,a[_0x1a66bf(0x3a8)])],exports[_0x1a66bf(0x2aa)]);var Ri=Object['getOwnPropertyDescriptor'],yi=(_0x43d9d8,_0x56309b,_0x39f4dc,_0x49c8c5)=>{var _0x311333=_0x1a66bf;for(var _0x5193cb=_0x49c8c5>0x1?void 0x0:_0x49c8c5?Ri(_0x56309b,_0x39f4dc):_0x56309b,_0x28257a=_0x43d9d8[_0x311333(0x390)]-0x1,_0xa8f777;_0x28257a>=0x0;_0x28257a--)(_0xa8f777=_0x43d9d8[_0x28257a])&&(_0x5193cb=_0xa8f777(_0x5193cb)||_0x5193cb);return _0x5193cb;},Je=(_0x56dc93,_0x248baf)=>(_0x964da2,_0x5b8c99)=>_0x248baf(_0x964da2,_0x5b8c99,_0x56dc93);const Oi=_0x1a66bf(0x455),Ni=_0x1a66bf(0x47d);let He=class extends a['Disposable']{constructor(_0x1b954c,_0xa0b1ed){var _0x364ca0=_0x1a66bf;super(),this['_univerInstanceService']=_0x1b954c,this[_0x364ca0(0x2d6)]=_0xa0b1ed,this[_0x364ca0(0x35c)]();}[_0x1a66bf(0x35c)](){var _0x2888e0=_0x1a66bf;this[_0x2888e0(0x234)](this[_0x2888e0(0x361)][_0x2888e0(0x482)][_0x2888e0(0x443)](()=>{var _0x5f0f22=_0x2888e0,_0x5ded0b;const _0x30749f=this[_0x5f0f22(0x361)][_0x5f0f22(0x370)]();let _0x8e8064=(_0x5ded0b=this[_0x5f0f22(0x2d6)][_0x5f0f22(0x385)](Oi))!=null?_0x5ded0b:Ni;_0x30749f instanceof a[_0x5f0f22(0x21f)]&&(_0x8e8064=_0x30749f[_0x5f0f22(0x294)]),document[_0x5f0f22(0x42b)]=_0x8e8064;}));}};He=yi([Je(0x0,a[_0x1a66bf(0x3a8)]),Je(0x1,a[_0x1a66bf(0x28e)])],He);var Di=Object[_0x1a66bf(0x31a)],Ui=(_0x24d7f3,_0x1b5d96,_0xc348df,_0x866231)=>{for(var _0x291a2c=_0x866231>0x1?void 0x0:_0x866231?Di(_0x1b5d96,_0xc348df):_0x1b5d96,_0x420790=_0x24d7f3['length']-0x1,_0xfee9db;_0x420790>=0x0;_0x420790--)(_0xfee9db=_0x24d7f3[_0x420790])&&(_0x291a2c=_0xfee9db(_0x291a2c)||_0x291a2c);return _0x291a2c;},we=(_0x579e5d,_0x5c0d4f)=>(_0x4e7186,_0x1ccaaa)=>_0x5c0d4f(_0x4e7186,_0x1ccaaa,_0x579e5d);let Oe=class{constructor(_0x3c2307,_0x3e3a6c,_0x20616){var _0x2d92f4=_0x1a66bf;this[_0x2d92f4(0x2d6)]=_0x3c2307,this[_0x2d92f4(0x3a2)]=_0x3e3a6c,this[_0x2d92f4(0x44f)]=_0x20616,this[_0x2d92f4(0x376)]();}[_0x1a66bf(0x376)](){var _0x27ba26=_0x1a66bf;this[_0x27ba26(0x3a2)][_0x27ba26(0x3d2)]({'priority':0x1,'interceptor':(_0x5d5e82,_0x17fa7b)=>_0x17fa7b(_0x5d5e82)[_0x27ba26(0x489)](j[_0x27ba26(0x45e)](async _0x5464e7=>{var _0x4e90ef=_0x27ba26;const _0x220644=_0x5464e7;if(_0x220644[_0x4e90ef(0x1d6)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x4e90ef(0x46a)](this['localeService']['t'](_0x4e90ef(0x33f)))){const _0x16445e=window['encodeURIComponent'](window['location']['href']);window['location']['href']=this[_0x4e90ef(0x41d)]()+_0x4e90ef(0x4ec)+_0x16445e;}}return _0x220644;}))});}[_0x1a66bf(0x41d)](){var _0x1a2217=_0x1a66bf,_0x212247,_0x53e8bf;const _0x2f6d67=this[_0x1a2217(0x2d6)][_0x1a2217(0x385)](Et),_0x1ee8e7=this[_0x1a2217(0x2d6)][_0x1a2217(0x385)](Y);return(_0x53e8bf=(_0x212247=_0x1ee8e7==null?void 0x0:_0x1ee8e7[_0x1a2217(0x219)])!=null?_0x212247:_0x2f6d67)!=null?_0x53e8bf:Yt;}};Oe=Ui([we(0x0,a[_0x1a66bf(0x28e)]),we(0x1,a[_0x1a66bf(0x3be)](q['HTTPService'])),we(0x2,a['Inject'](a[_0x1a66bf(0x4ca)]))],Oe);var Ai=Object['getOwnPropertyDescriptor'],Pi=(_0x1dbe60,_0x3feffa,_0x320813,_0x3e1418)=>{var _0x26551a=_0x1a66bf;for(var _0x398442=_0x3e1418>0x1?void 0x0:_0x3e1418?Ai(_0x3feffa,_0x320813):_0x3feffa,_0x4edc18=_0x1dbe60[_0x26551a(0x390)]-0x1,_0x4379e4;_0x4edc18>=0x0;_0x4edc18--)(_0x4379e4=_0x1dbe60[_0x4edc18])&&(_0x398442=_0x4379e4(_0x398442)||_0x398442);return _0x398442;},Xe=(_0x3b9ff6,_0x5aade4)=>(_0x3c1bdf,_0x18225d)=>_0x5aade4(_0x3c1bdf,_0x18225d,_0x3b9ff6);const Ge='AUTHZ_URL_KEY',wi=_0x1a66bf(0x212);exports[_0x1a66bf(0x527)]=class extends a[_0x1a66bf(0x42f)]{constructor(_0x5af3f8,_0x28091f){var _0x2b383a=_0x1a66bf;super(),this[_0x2b383a(0x4d3)]=_0x5af3f8,this['_configService']=_0x28091f,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x8906b8=_0x1a66bf;const _0x18fc35=this;this[_0x8906b8(0x234)](this[_0x8906b8(0x4d3)][_0x8906b8(0x3d2)]({'priority':0x3e7,'interceptor':q[_0x8906b8(0x2c0)]({'isMatch'(_0x56315a){var _0x1a272b=_0x8906b8,_0x2f49cc;if(_0x56315a['method']===_0x1a272b(0x408)&&((_0x2f49cc=_0x56315a[_0x1a272b(0x285)])!=null&&_0x2f49cc[_0x1a272b(0x1e3)])){const {objectID:_0x44e770,objectType:_0xc5a81a}=_0x56315a[_0x1a272b(0x285)][_0x1a272b(0x1e3)]||{};if(!_0x44e770||_0xc5a81a===void 0x0)return!0x1;const _0x49d796=_0x18fc35[_0x1a272b(0x2b4)]()+'/'+_0xc5a81a+_0x1a272b(0x3e7)+_0x44e770+_0x1a272b(0x302);if(_0x56315a[_0x1a272b(0x44a)]===_0x49d796)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2c0daf){var _0x12f824=_0x8906b8,_0x5f0cff;return(_0x5f0cff=_0x2c0daf['requestParams'])==null?void 0x0:_0x5f0cff[_0x12f824(0x1e3)];},'mergeParamsToRequest'(_0x2ddc02,_0x9b2ac9){var _0x139ace=_0x8906b8;const _0x155d8d=_0x18fc35['_getAPIPrefixPath']()+_0x139ace(0x2e1),_0x4151ab=_0x2ddc02['reduce']((_0x1e7165,_0x577692)=>{var _0x3190d1=_0x139ace;const {unitID:_0x1eb599,objectID:_0x1591b9,objectType:_0x1bbc91,actions:_0xd9e780}=_0x577692;return _0x1e7165[_0x1eb599]||(_0x1e7165[_0x1eb599]={}),_0x1e7165[_0x1eb599][_0x1591b9]||(_0x1e7165[_0x1eb599][_0x1591b9]={'objectID':_0x1591b9,'objectType':_0x1bbc91,'actions':[]}),_0x1e7165[_0x1eb599][_0x1591b9][_0x3190d1(0x4ad)][_0x3190d1(0x38b)](..._0xd9e780),_0x1e7165;},{}),_0xc49828=[];for(const _0x3ce2e2 in _0x4151ab)for(const _0x1ae42e in _0x4151ab[_0x3ce2e2]){const {actions:_0xb5fa1d,objectType:_0x435bfe}=_0x4151ab[_0x3ce2e2][_0x1ae42e],_0x3236a5=[...new Set(_0xb5fa1d)];_0xc49828[_0x139ace(0x38b)]({'unitID':_0x3ce2e2,'objectID':_0x1ae42e,'objectType':_0x435bfe,'actions':_0x3236a5});}return new q[(_0x139ace(0x2d1))](_0x139ace(0x408),_0x155d8d,{'headers':_0x9b2ac9[_0x139ace(0x4e3)],'withCredentials':_0x9b2ac9[_0x139ace(0x3a0)],'responseType':_0x9b2ac9['responseType'],'body':{'requests':_0xc49828}});}},{'distributeResult'(_0x2495df,_0x534172){const {objectActions:_0x4ad108}=_0x2495df;return _0x534172['map'](_0x5c53b1=>{var _0x4f24e8=_0x4a7d;const {unitID:_0x148d2d,objectID:_0x42f657,actions:_0x32d4e2}=_0x5c53b1,_0x5152d3=_0x4ad108[_0x4f24e8(0x3ef)](_0x8dc638=>_0x8dc638['unitID']===_0x148d2d&&_0x8dc638[_0x4f24e8(0x3a5)]===_0x42f657),_0x3f9f3e=_0x32d4e2[_0x4f24e8(0x394)](_0x1e8161=>_0x5152d3==null?void 0x0:_0x5152d3[_0x4f24e8(0x4ad)][_0x4f24e8(0x3ef)](_0x13f69c=>_0x13f69c[_0x4f24e8(0x4e4)]===_0x1e8161))[_0x4f24e8(0x2e6)](_0x2aa335=>!!_0x2aa335);return{'config':_0x5c53b1,'result':{'actions':_0x3f9f3e,'error':_0x2495df[_0x4f24e8(0x420)]}};});}})}));}[_0x1a66bf(0x2b4)](){var _0x3e1eaa=_0x1a66bf,_0x468d43,_0x5168ad;const _0x54207b=this['_configService']['getConfig'](Ge),_0x69cf9b=this[_0x3e1eaa(0x2d6)][_0x3e1eaa(0x385)](Y);return(_0x5168ad=(_0x468d43=_0x69cf9b==null?void 0x0:_0x69cf9b['authzUrl'])!=null?_0x468d43:_0x54207b)!=null?_0x5168ad:wi;}async[_0x1a66bf(0x26c)](_0x36f1f2){var _0x20f2fa=_0x1a66bf;const _0x58af84=this[_0x20f2fa(0x2b4)]()+'/'+_0x36f1f2[_0x20f2fa(0x43d)]+_0x20f2fa(0x269);return(await this[_0x20f2fa(0x4d3)][_0x20f2fa(0x353)](_0x58af84,{'body':_0x36f1f2}))[_0x20f2fa(0x1e3)][_0x20f2fa(0x3a5)]||'';}async[_0x1a66bf(0x228)](_0xdbb265){var _0x33ad28=_0x1a66bf;const _0x37e24c=this[_0x33ad28(0x2b4)]()+_0x33ad28(0x235);return(await this[_0x33ad28(0x4d3)][_0x33ad28(0x353)](_0x37e24c,{'body':_0xdbb265}))[_0x33ad28(0x1e3)][_0x33ad28(0x3c1)];}async[_0x1a66bf(0x419)](_0x3ef11c){var _0xdaf432=_0x1a66bf,_0x533cd6,_0x164de3;const _0x4b7828=this[_0xdaf432(0x2b4)]()+'/'+_0x3ef11c[_0xdaf432(0x43d)]+_0xdaf432(0x3e7)+_0x3ef11c[_0xdaf432(0x3a5)],_0x4d14ae=await this[_0xdaf432(0x4d3)]['put'](_0x4b7828,{'body':_0x3ef11c});if(((_0x164de3=(_0x533cd6=_0x4d14ae==null?void 0x0:_0x4d14ae[_0xdaf432(0x1e3)])==null?void 0x0:_0x533cd6[_0xdaf432(0x420)])==null?void 0x0:_0x164de3[_0xdaf432(0x50d)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x1a66bf(0x48a)](_0x61faf){var _0xb78522=_0x1a66bf;const _0x21266a=this['_getAPIPrefixPath']()+'/'+_0x61faf[_0xb78522(0x43d)]+_0xb78522(0x3e7)+_0x61faf[_0xb78522(0x3a5)]+_0xb78522(0x302);return(await this['_HTTPService'][_0xb78522(0x353)](_0x21266a,{'body':_0x61faf}))[_0xb78522(0x1e3)][_0xb78522(0x4ad)];}async[_0x1a66bf(0x3d4)](_0x41fa6a){var _0x3538e0=_0x1a66bf;const _0x1c51a9=this[_0x3538e0(0x2b4)]()+_0x3538e0(0x2e1);return(await this[_0x3538e0(0x4d3)]['post'](_0x1c51a9,{'body':{'requests':_0x41fa6a}}))[_0x3538e0(0x1e3)][_0x3538e0(0x4a4)];}async[_0x1a66bf(0x2f5)](_0x4f2360){var _0x20755a=_0x1a66bf;const _0x26aba8=this['_getAPIPrefixPath']()+'/'+_0x4f2360[_0x20755a(0x43d)]+'/role',_0x1d01b9=await this['_HTTPService'][_0x20755a(0x353)](_0x26aba8,{'body':_0x4f2360});return{'roles':_0x1d01b9[_0x20755a(0x1e3)][_0x20755a(0x488)],'actions':_0x1d01b9[_0x20755a(0x1e3)]['actions']};}async[_0x1a66bf(0x3ce)](_0x2fbc74){var _0x3d41e3=_0x1a66bf;const _0xe432bd=this[_0x3d41e3(0x2b4)]()+_0x3d41e3(0x203);await this[_0x3d41e3(0x4d3)]['delete'](_0xe432bd,{'params':{'collaboratorID':_0x2fbc74[_0x3d41e3(0x33e)],'objectID':_0x2fbc74['objectID'],'unitID':_0x2fbc74['unitID']}});}async[_0x1a66bf(0x48b)](_0x55d1ac){var _0x153a06=_0x1a66bf;const _0x4f095b=this['_getAPIPrefixPath']()+_0x153a06(0x203);await this[_0x153a06(0x4d3)]['patch'](_0x4f095b,{'body':_0x55d1ac});}async[_0x1a66bf(0x397)](_0x11dbee){var _0x735016=_0x1a66bf;const _0x41fd59=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x735016(0x4d3)][_0x735016(0x353)](_0x41fd59,{'body':_0x11dbee});}async[_0x1a66bf(0x4c9)](_0x2c6420){var _0x47c5a4=_0x1a66bf;const _0x1084bb=this[_0x47c5a4(0x2b4)]()+'/collaborator';return(await this[_0x47c5a4(0x4d3)][_0x47c5a4(0x3eb)](_0x1084bb,{'params':{'objectID':_0x2c6420['objectID'],'unitID':_0x2c6420[_0x47c5a4(0x304)]}}))[_0x47c5a4(0x1e3)][_0x47c5a4(0x273)];}async[_0x1a66bf(0x34b)](_0x272637){var _0x3a30ab=_0x1a66bf;const _0x430bcf=this[_0x3a30ab(0x2b4)]()+_0x3a30ab(0x203);await this[_0x3a30ab(0x4d3)][_0x3a30ab(0x369)](_0x430bcf,{'body':_0x272637});}},exports[_0x1a66bf(0x527)]=Pi([Xe(0x0,a[_0x1a66bf(0x3be)](q[_0x1a66bf(0x279)])),Xe(0x1,a['Inject'](a[_0x1a66bf(0x28e)]))],exports[_0x1a66bf(0x527)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x50b422){var _0x2637c3=_0x1a66bf;return _0x50b422&&_0x50b422[_0x2637c3(0x25f)]&&Object[_0x2637c3(0x49e)]['hasOwnProperty'][_0x2637c3(0x2c6)](_0x50b422,_0x2637c3(0x4a8))?_0x50b422[_0x2637c3(0x4a8)]:_0x50b422;}var fe={'exports':{}};function Li(_0x5205d1){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5205d1+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Mi=pe[_0x1a66bf(0x2e2)],Ze;function ee(){return Ze||(Ze=0x1,function(_0x292274,_0x2b571a){(function(_0x10cd55,_0xbc0aa9){var _0x2ff588=_0x4a7d;_0x292274[_0x2ff588(0x2e2)]=_0xbc0aa9();}(Mi,function(){var _0x5302e8=_0x5302e8||function(_0x264f57,_0xa6f1c7){var _0x356f4b=_0x4a7d,_0x5aebc4;if(typeof window<'u'&&window[_0x356f4b(0x522)]&&(_0x5aebc4=window[_0x356f4b(0x522)]),typeof self<'u'&&self[_0x356f4b(0x522)]&&(_0x5aebc4=self[_0x356f4b(0x522)]),typeof globalThis<'u'&&globalThis[_0x356f4b(0x522)]&&(_0x5aebc4=globalThis[_0x356f4b(0x522)]),!_0x5aebc4&&typeof window<'u'&&window[_0x356f4b(0x40b)]&&(_0x5aebc4=window['msCrypto']),!_0x5aebc4&&typeof Le<'u'&&Le['crypto']&&(_0x5aebc4=Le['crypto']),!_0x5aebc4&&typeof Li=='function')try{_0x5aebc4=require(_0x356f4b(0x522));}catch{}var _0xfca650=function(){var _0x25459f=_0x356f4b;if(_0x5aebc4){if(typeof _0x5aebc4[_0x25459f(0x444)]==_0x25459f(0x436))try{return _0x5aebc4[_0x25459f(0x444)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5aebc4[_0x25459f(0x4b0)]==_0x25459f(0x436))try{return _0x5aebc4[_0x25459f(0x4b0)](0x4)[_0x25459f(0x4cf)]();}catch{}}throw new Error(_0x25459f(0x3e3));},_0x2c5f18=Object['create']||(function(){function _0x136588(){}return function(_0x4c9d7e){var _0x509006=_0x4a7d,_0xac3da0;return _0x136588[_0x509006(0x49e)]=_0x4c9d7e,_0xac3da0=new _0x136588(),_0x136588[_0x509006(0x49e)]=null,_0xac3da0;};}()),_0x2a7bc6={},_0x44f5c7=_0x2a7bc6['lib']={},_0x4ee576=_0x44f5c7['Base']=(function(){return{'extend':function(_0x3fb9d9){var _0x4c14e6=_0x4a7d,_0x3be533=_0x2c5f18(this);return _0x3fb9d9&&_0x3be533[_0x4c14e6(0x3ae)](_0x3fb9d9),(!_0x3be533[_0x4c14e6(0x232)](_0x4c14e6(0x376))||this[_0x4c14e6(0x376)]===_0x3be533[_0x4c14e6(0x376)])&&(_0x3be533[_0x4c14e6(0x376)]=function(){var _0x4b795f=_0x4c14e6;_0x3be533[_0x4b795f(0x22d)][_0x4b795f(0x376)]['apply'](this,arguments);}),_0x3be533[_0x4c14e6(0x376)][_0x4c14e6(0x49e)]=_0x3be533,_0x3be533['$super']=this,_0x3be533;},'create':function(){var _0x59bbb6=_0x4a7d,_0x4d6461=this['extend']();return _0x4d6461[_0x59bbb6(0x376)][_0x59bbb6(0x378)](_0x4d6461,arguments),_0x4d6461;},'init':function(){},'mixIn':function(_0x3313c4){var _0x3dfbc5=_0x4a7d;for(var _0xf6a610 in _0x3313c4)_0x3313c4[_0x3dfbc5(0x232)](_0xf6a610)&&(this[_0xf6a610]=_0x3313c4[_0xf6a610]);_0x3313c4[_0x3dfbc5(0x232)](_0x3dfbc5(0x545))&&(this[_0x3dfbc5(0x545)]=_0x3313c4[_0x3dfbc5(0x545)]);},'clone':function(){var _0x2ebf06=_0x4a7d;return this['init']['prototype'][_0x2ebf06(0x3ba)](this);}};}()),_0x2ef027=_0x44f5c7['WordArray']=_0x4ee576[_0x356f4b(0x3ba)]({'init':function(_0x50b7ed,_0x13a588){var _0x21c529=_0x356f4b;_0x50b7ed=this[_0x21c529(0x52b)]=_0x50b7ed||[],_0x13a588!=_0xa6f1c7?this[_0x21c529(0x277)]=_0x13a588:this[_0x21c529(0x277)]=_0x50b7ed['length']*0x4;},'toString':function(_0xc09f9a){var _0x467c61=_0x356f4b;return(_0xc09f9a||_0x39b27e)[_0x467c61(0x2ff)](this);},'concat':function(_0x43b0d7){var _0x3f0fb3=_0x356f4b,_0x445f89=this[_0x3f0fb3(0x52b)],_0x10ceda=_0x43b0d7[_0x3f0fb3(0x52b)],_0x116a8a=this[_0x3f0fb3(0x277)],_0x16cd6b=_0x43b0d7[_0x3f0fb3(0x277)];if(this[_0x3f0fb3(0x3aa)](),_0x116a8a%0x4)for(var _0x1c09d4=0x0;_0x1c09d4<_0x16cd6b;_0x1c09d4++){var _0x40edf0=_0x10ceda[_0x1c09d4>>>0x2]>>>0x18-_0x1c09d4%0x4*0x8&0xff;_0x445f89[_0x116a8a+_0x1c09d4>>>0x2]|=_0x40edf0<<0x18-(_0x116a8a+_0x1c09d4)%0x4*0x8;}else{for(var _0x6a880f=0x0;_0x6a880f<_0x16cd6b;_0x6a880f+=0x4)_0x445f89[_0x116a8a+_0x6a880f>>>0x2]=_0x10ceda[_0x6a880f>>>0x2];}return this[_0x3f0fb3(0x277)]+=_0x16cd6b,this;},'clamp':function(){var _0x2d5be6=_0x356f4b,_0x43bc2b=this['words'],_0xdb1d6a=this[_0x2d5be6(0x277)];_0x43bc2b[_0xdb1d6a>>>0x2]&=0xffffffff<<0x20-_0xdb1d6a%0x4*0x8,_0x43bc2b[_0x2d5be6(0x390)]=_0x264f57[_0x2d5be6(0x39e)](_0xdb1d6a/0x4);},'clone':function(){var _0x33bf33=_0x356f4b,_0x22ee87=_0x4ee576['clone'][_0x33bf33(0x2c6)](this);return _0x22ee87[_0x33bf33(0x52b)]=this['words'][_0x33bf33(0x225)](0x0),_0x22ee87;},'random':function(_0x5a2251){var _0x51f6c6=_0x356f4b;for(var _0x18519c=[],_0x1fc87e=0x0;_0x1fc87e<_0x5a2251;_0x1fc87e+=0x4)_0x18519c[_0x51f6c6(0x38b)](_0xfca650());return new _0x2ef027['init'](_0x18519c,_0x5a2251);}}),_0x55018a=_0x2a7bc6[_0x356f4b(0x224)]={},_0x39b27e=_0x55018a[_0x356f4b(0x201)]={'stringify':function(_0x33db76){var _0x34b65e=_0x356f4b;for(var _0x50492e=_0x33db76[_0x34b65e(0x52b)],_0x3ced2a=_0x33db76[_0x34b65e(0x277)],_0x422ea2=[],_0x114305=0x0;_0x114305<_0x3ced2a;_0x114305++){var _0x1ec15d=_0x50492e[_0x114305>>>0x2]>>>0x18-_0x114305%0x4*0x8&0xff;_0x422ea2[_0x34b65e(0x38b)]((_0x1ec15d>>>0x4)[_0x34b65e(0x545)](0x10)),_0x422ea2['push']((_0x1ec15d&0xf)['toString'](0x10));}return _0x422ea2[_0x34b65e(0x2fa)]('');},'parse':function(_0x118bd0){var _0x18f6f1=_0x356f4b;for(var _0x482057=_0x118bd0[_0x18f6f1(0x390)],_0x47cad8=[],_0xfdc485=0x0;_0xfdc485<_0x482057;_0xfdc485+=0x2)_0x47cad8[_0xfdc485>>>0x3]|=parseInt(_0x118bd0[_0x18f6f1(0x513)](_0xfdc485,0x2),0x10)<<0x18-_0xfdc485%0x8*0x4;return new _0x2ef027[(_0x18f6f1(0x376))](_0x47cad8,_0x482057/0x2);}},_0x3920ed=_0x55018a[_0x356f4b(0x411)]={'stringify':function(_0x9b36fb){var _0x5704ea=_0x356f4b;for(var _0x135428=_0x9b36fb[_0x5704ea(0x52b)],_0x375a88=_0x9b36fb[_0x5704ea(0x277)],_0x235c3a=[],_0x495d08=0x0;_0x495d08<_0x375a88;_0x495d08++){var _0x5cfd84=_0x135428[_0x495d08>>>0x2]>>>0x18-_0x495d08%0x4*0x8&0xff;_0x235c3a[_0x5704ea(0x38b)](String[_0x5704ea(0x2bd)](_0x5cfd84));}return _0x235c3a[_0x5704ea(0x2fa)]('');},'parse':function(_0x33ca3e){var _0x4e41b3=_0x356f4b;for(var _0x527bb4=_0x33ca3e[_0x4e41b3(0x390)],_0x499583=[],_0x1a67cf=0x0;_0x1a67cf<_0x527bb4;_0x1a67cf++)_0x499583[_0x1a67cf>>>0x2]|=(_0x33ca3e[_0x4e41b3(0x4f7)](_0x1a67cf)&0xff)<<0x18-_0x1a67cf%0x4*0x8;return new _0x2ef027[(_0x4e41b3(0x376))](_0x499583,_0x527bb4);}},_0x7296b0=_0x55018a[_0x356f4b(0x26e)]={'stringify':function(_0x8bdfaf){var _0xaf84fe=_0x356f4b;try{return decodeURIComponent(escape(_0x3920ed[_0xaf84fe(0x2ff)](_0x8bdfaf)));}catch{throw new Error(_0xaf84fe(0x4b2));}},'parse':function(_0x5e06a0){return _0x3920ed['parse'](unescape(encodeURIComponent(_0x5e06a0)));}},_0x577714=_0x44f5c7[_0x356f4b(0x1f1)]=_0x4ee576[_0x356f4b(0x3ba)]({'reset':function(){var _0x48f792=_0x356f4b;this[_0x48f792(0x30e)]=new _0x2ef027[(_0x48f792(0x376))](),this[_0x48f792(0x501)]=0x0;},'_append':function(_0x55bc02){var _0x14bf3b=_0x356f4b;typeof _0x55bc02==_0x14bf3b(0x400)&&(_0x55bc02=_0x7296b0[_0x14bf3b(0x4fd)](_0x55bc02)),this[_0x14bf3b(0x30e)][_0x14bf3b(0x4e8)](_0x55bc02),this['_nDataBytes']+=_0x55bc02[_0x14bf3b(0x277)];},'_process':function(_0x47a36d){var _0x326d81=_0x356f4b,_0x2cb0fb,_0x28c610=this['_data'],_0x274548=_0x28c610[_0x326d81(0x52b)],_0x69db44=_0x28c610['sigBytes'],_0x54d7fe=this[_0x326d81(0x49a)],_0x30e2ae=_0x54d7fe*0x4,_0x581e35=_0x69db44/_0x30e2ae;_0x47a36d?_0x581e35=_0x264f57[_0x326d81(0x39e)](_0x581e35):_0x581e35=_0x264f57[_0x326d81(0x1dd)]((_0x581e35|0x0)-this[_0x326d81(0x2b9)],0x0);var _0x3a73b5=_0x581e35*_0x54d7fe,_0x1673b8=_0x264f57['min'](_0x3a73b5*0x4,_0x69db44);if(_0x3a73b5){for(var _0x20bcc2=0x0;_0x20bcc2<_0x3a73b5;_0x20bcc2+=_0x54d7fe)this['_doProcessBlock'](_0x274548,_0x20bcc2);_0x2cb0fb=_0x274548[_0x326d81(0x4d8)](0x0,_0x3a73b5),_0x28c610['sigBytes']-=_0x1673b8;}return new _0x2ef027['init'](_0x2cb0fb,_0x1673b8);},'clone':function(){var _0x1aa97e=_0x356f4b,_0x15732c=_0x4ee576[_0x1aa97e(0x241)]['call'](this);return _0x15732c[_0x1aa97e(0x30e)]=this[_0x1aa97e(0x30e)]['clone'](),_0x15732c;},'_minBufferSize':0x0});_0x44f5c7[_0x356f4b(0x259)]=_0x577714[_0x356f4b(0x3ba)]({'cfg':_0x4ee576[_0x356f4b(0x3ba)](),'init':function(_0x4e1fdb){var _0x39ed20=_0x356f4b;this[_0x39ed20(0x3db)]=this[_0x39ed20(0x3db)][_0x39ed20(0x3ba)](_0x4e1fdb),this[_0x39ed20(0x434)]();},'reset':function(){var _0x2fe60e=_0x356f4b;_0x577714[_0x2fe60e(0x434)][_0x2fe60e(0x2c6)](this),this[_0x2fe60e(0x239)]();},'update':function(_0xd2ba20){var _0x9a5f4=_0x356f4b;return this[_0x9a5f4(0x3b2)](_0xd2ba20),this['_process'](),this;},'finalize':function(_0x54f135){var _0x17fe9b=_0x356f4b;_0x54f135&&this[_0x17fe9b(0x3b2)](_0x54f135);var _0xac3f94=this[_0x17fe9b(0x1da)]();return _0xac3f94;},'blockSize':0x10,'_createHelper':function(_0x1da8d2){return function(_0x2f237a,_0x27d9a3){var _0x1c854a=_0x4a7d;return new _0x1da8d2[(_0x1c854a(0x376))](_0x27d9a3)['finalize'](_0x2f237a);};},'_createHmacHelper':function(_0x520919){return function(_0x552d5a,_0x1f47b1){var _0x271b3e=_0x4a7d;return new _0x50b2c8[(_0x271b3e(0x24e))][(_0x271b3e(0x376))](_0x520919,_0x1f47b1)[_0x271b3e(0x2f9)](_0x552d5a);};}});var _0x50b2c8=_0x2a7bc6['algo']={};return _0x2a7bc6;}(Math);return _0x5302e8;}));}(pe)),pe['exports'];}var ge={'exports':{}},xi=ge[_0x1a66bf(0x2e2)],Qe;function Ut(){var _0x5efc0d=_0x1a66bf;return Qe||(Qe=0x1,function(_0x5ae334,_0x114903){(function(_0x34ea55,_0x1a8886){_0x5ae334['exports']=_0x1a8886(ee());}(xi,function(_0xfdc77d){var _0x429d83=_0x4a7d;return(function(){var _0x4bb48f=_0x4a7d,_0x507d32=_0xfdc77d,_0x47c9a2=_0x507d32['lib'],_0x3c1edd=_0x47c9a2[_0x4bb48f(0x39f)],_0x64e0c1=_0x507d32[_0x4bb48f(0x224)];_0x64e0c1[_0x4bb48f(0x39b)]={'stringify':function(_0xf339bf){var _0x3fb918=_0x4bb48f,_0x39548e=_0xf339bf[_0x3fb918(0x52b)],_0x5d49ca=_0xf339bf['sigBytes'],_0x32a5b3=this[_0x3fb918(0x208)];_0xf339bf[_0x3fb918(0x3aa)]();for(var _0x2d539e=[],_0x2ab89a=0x0;_0x2ab89a<_0x5d49ca;_0x2ab89a+=0x3)for(var _0x31f63a=_0x39548e[_0x2ab89a>>>0x2]>>>0x18-_0x2ab89a%0x4*0x8&0xff,_0x2ad1ff=_0x39548e[_0x2ab89a+0x1>>>0x2]>>>0x18-(_0x2ab89a+0x1)%0x4*0x8&0xff,_0x18f3ac=_0x39548e[_0x2ab89a+0x2>>>0x2]>>>0x18-(_0x2ab89a+0x2)%0x4*0x8&0xff,_0x4e4023=_0x31f63a<<0x10|_0x2ad1ff<<0x8|_0x18f3ac,_0x2fbd4d=0x0;_0x2fbd4d<0x4&&_0x2ab89a+_0x2fbd4d*0.75<_0x5d49ca;_0x2fbd4d++)_0x2d539e[_0x3fb918(0x38b)](_0x32a5b3['charAt'](_0x4e4023>>>0x6*(0x3-_0x2fbd4d)&0x3f));var _0x219a13=_0x32a5b3['charAt'](0x40);if(_0x219a13){for(;_0x2d539e['length']%0x4;)_0x2d539e[_0x3fb918(0x38b)](_0x219a13);}return _0x2d539e[_0x3fb918(0x2fa)]('');},'parse':function(_0x33a986){var _0x19ae58=_0x4bb48f,_0x20a0de=_0x33a986[_0x19ae58(0x390)],_0x4ef413=this[_0x19ae58(0x208)],_0x2cb2df=this[_0x19ae58(0x4dd)];if(!_0x2cb2df){_0x2cb2df=this['_reverseMap']=[];for(var _0x34d152=0x0;_0x34d152<_0x4ef413[_0x19ae58(0x390)];_0x34d152++)_0x2cb2df[_0x4ef413['charCodeAt'](_0x34d152)]=_0x34d152;}var _0x447942=_0x4ef413[_0x19ae58(0x458)](0x40);if(_0x447942){var _0x22b880=_0x33a986[_0x19ae58(0x44d)](_0x447942);_0x22b880!==-0x1&&(_0x20a0de=_0x22b880);}return _0x10ef59(_0x33a986,_0x20a0de,_0x2cb2df);},'_map':_0x4bb48f(0x396)};function _0x10ef59(_0x3f7fb2,_0x589079,_0x55f57f){var _0x2f0f6f=_0x4bb48f;for(var _0x2115b8=[],_0xf4d0b2=0x0,_0xa3034f=0x0;_0xa3034f<_0x589079;_0xa3034f++)if(_0xa3034f%0x4){var _0x4c4a78=_0x55f57f[_0x3f7fb2['charCodeAt'](_0xa3034f-0x1)]<<_0xa3034f%0x4*0x2,_0xb5df6=_0x55f57f[_0x3f7fb2[_0x2f0f6f(0x4f7)](_0xa3034f)]>>>0x6-_0xa3034f%0x4*0x2,_0x3abffc=_0x4c4a78|_0xb5df6;_0x2115b8[_0xf4d0b2>>>0x2]|=_0x3abffc<<0x18-_0xf4d0b2%0x4*0x8,_0xf4d0b2++;}return _0x3c1edd[_0x2f0f6f(0x26c)](_0x2115b8,_0xf4d0b2);}}()),_0xfdc77d[_0x429d83(0x224)][_0x429d83(0x39b)];}));}(ge)),ge[_0x5efc0d(0x2e2)];}var me={'exports':{}},ki=me[_0x1a66bf(0x2e2)],et;function Hi(){var _0x1addb3=_0x1a66bf;return et||(et=0x1,function(_0x5791d5,_0xfbca0d){(function(_0x55c17d,_0x1fc966){var _0x4aadb0=_0x4a7d;_0x5791d5[_0x4aadb0(0x2e2)]=_0x1fc966(ee());}(ki,function(_0x28bd15){return function(_0x13e1f1){var _0x564bab=_0x4a7d,_0x2ca233=_0x28bd15,_0x377214=_0x2ca233['lib'],_0x5d2a76=_0x377214[_0x564bab(0x39f)],_0x4c0bbf=_0x377214[_0x564bab(0x259)],_0x1efa73=_0x2ca233[_0x564bab(0x271)],_0x1cdb82=[];(function(){var _0x4c1456=_0x564bab;for(var _0xaa6fd4=0x0;_0xaa6fd4<0x40;_0xaa6fd4++)_0x1cdb82[_0xaa6fd4]=_0x13e1f1[_0x4c1456(0x309)](_0x13e1f1[_0x4c1456(0x438)](_0xaa6fd4+0x1))*0x100000000|0x0;}());var _0xa01233=_0x1efa73['MD5']=_0x4c0bbf[_0x564bab(0x3ba)]({'_doReset':function(){var _0x29fd88=_0x564bab;this['_hash']=new _0x5d2a76[(_0x29fd88(0x376))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x462f9d,_0x41347e){var _0x55ae11=_0x564bab;for(var _0x49f90d=0x0;_0x49f90d<0x10;_0x49f90d++){var _0x2ada40=_0x41347e+_0x49f90d,_0x3a2036=_0x462f9d[_0x2ada40];_0x462f9d[_0x2ada40]=(_0x3a2036<<0x8|_0x3a2036>>>0x18)&0xff00ff|(_0x3a2036<<0x18|_0x3a2036>>>0x8)&0xff00ff00;}var _0x3c5dbd=this['_hash'][_0x55ae11(0x52b)],_0x3917a0=_0x462f9d[_0x41347e+0x0],_0x5ed1c4=_0x462f9d[_0x41347e+0x1],_0x173b6d=_0x462f9d[_0x41347e+0x2],_0xcb03cb=_0x462f9d[_0x41347e+0x3],_0x3059ed=_0x462f9d[_0x41347e+0x4],_0x2d9552=_0x462f9d[_0x41347e+0x5],_0x365d80=_0x462f9d[_0x41347e+0x6],_0x48c1ed=_0x462f9d[_0x41347e+0x7],_0x2df7b3=_0x462f9d[_0x41347e+0x8],_0xd753b9=_0x462f9d[_0x41347e+0x9],_0x57f409=_0x462f9d[_0x41347e+0xa],_0x10938e=_0x462f9d[_0x41347e+0xb],_0xccf724=_0x462f9d[_0x41347e+0xc],_0x4206a6=_0x462f9d[_0x41347e+0xd],_0x52e542=_0x462f9d[_0x41347e+0xe],_0x511bc8=_0x462f9d[_0x41347e+0xf],_0x38643c=_0x3c5dbd[0x0],_0x5775e7=_0x3c5dbd[0x1],_0x1f882a=_0x3c5dbd[0x2],_0x31de25=_0x3c5dbd[0x3];_0x38643c=_0x29388a(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0x3917a0,0x7,_0x1cdb82[0x0]),_0x31de25=_0x29388a(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0x5ed1c4,0xc,_0x1cdb82[0x1]),_0x1f882a=_0x29388a(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x173b6d,0x11,_0x1cdb82[0x2]),_0x5775e7=_0x29388a(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0xcb03cb,0x16,_0x1cdb82[0x3]),_0x38643c=_0x29388a(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0x3059ed,0x7,_0x1cdb82[0x4]),_0x31de25=_0x29388a(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0x2d9552,0xc,_0x1cdb82[0x5]),_0x1f882a=_0x29388a(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x365d80,0x11,_0x1cdb82[0x6]),_0x5775e7=_0x29388a(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0x48c1ed,0x16,_0x1cdb82[0x7]),_0x38643c=_0x29388a(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0x2df7b3,0x7,_0x1cdb82[0x8]),_0x31de25=_0x29388a(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0xd753b9,0xc,_0x1cdb82[0x9]),_0x1f882a=_0x29388a(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x57f409,0x11,_0x1cdb82[0xa]),_0x5775e7=_0x29388a(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0x10938e,0x16,_0x1cdb82[0xb]),_0x38643c=_0x29388a(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0xccf724,0x7,_0x1cdb82[0xc]),_0x31de25=_0x29388a(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0x4206a6,0xc,_0x1cdb82[0xd]),_0x1f882a=_0x29388a(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x52e542,0x11,_0x1cdb82[0xe]),_0x5775e7=_0x29388a(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0x511bc8,0x16,_0x1cdb82[0xf]),_0x38643c=_0x35300f(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0x5ed1c4,0x5,_0x1cdb82[0x10]),_0x31de25=_0x35300f(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0x365d80,0x9,_0x1cdb82[0x11]),_0x1f882a=_0x35300f(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x10938e,0xe,_0x1cdb82[0x12]),_0x5775e7=_0x35300f(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0x3917a0,0x14,_0x1cdb82[0x13]),_0x38643c=_0x35300f(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0x2d9552,0x5,_0x1cdb82[0x14]),_0x31de25=_0x35300f(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0x57f409,0x9,_0x1cdb82[0x15]),_0x1f882a=_0x35300f(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x511bc8,0xe,_0x1cdb82[0x16]),_0x5775e7=_0x35300f(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0x3059ed,0x14,_0x1cdb82[0x17]),_0x38643c=_0x35300f(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0xd753b9,0x5,_0x1cdb82[0x18]),_0x31de25=_0x35300f(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0x52e542,0x9,_0x1cdb82[0x19]),_0x1f882a=_0x35300f(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0xcb03cb,0xe,_0x1cdb82[0x1a]),_0x5775e7=_0x35300f(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0x2df7b3,0x14,_0x1cdb82[0x1b]),_0x38643c=_0x35300f(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0x4206a6,0x5,_0x1cdb82[0x1c]),_0x31de25=_0x35300f(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0x173b6d,0x9,_0x1cdb82[0x1d]),_0x1f882a=_0x35300f(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x48c1ed,0xe,_0x1cdb82[0x1e]),_0x5775e7=_0x35300f(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0xccf724,0x14,_0x1cdb82[0x1f]),_0x38643c=_0x6af778(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0x2d9552,0x4,_0x1cdb82[0x20]),_0x31de25=_0x6af778(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0x2df7b3,0xb,_0x1cdb82[0x21]),_0x1f882a=_0x6af778(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x10938e,0x10,_0x1cdb82[0x22]),_0x5775e7=_0x6af778(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0x52e542,0x17,_0x1cdb82[0x23]),_0x38643c=_0x6af778(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0x5ed1c4,0x4,_0x1cdb82[0x24]),_0x31de25=_0x6af778(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0x3059ed,0xb,_0x1cdb82[0x25]),_0x1f882a=_0x6af778(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x48c1ed,0x10,_0x1cdb82[0x26]),_0x5775e7=_0x6af778(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0x57f409,0x17,_0x1cdb82[0x27]),_0x38643c=_0x6af778(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0x4206a6,0x4,_0x1cdb82[0x28]),_0x31de25=_0x6af778(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0x3917a0,0xb,_0x1cdb82[0x29]),_0x1f882a=_0x6af778(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0xcb03cb,0x10,_0x1cdb82[0x2a]),_0x5775e7=_0x6af778(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0x365d80,0x17,_0x1cdb82[0x2b]),_0x38643c=_0x6af778(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0xd753b9,0x4,_0x1cdb82[0x2c]),_0x31de25=_0x6af778(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0xccf724,0xb,_0x1cdb82[0x2d]),_0x1f882a=_0x6af778(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x511bc8,0x10,_0x1cdb82[0x2e]),_0x5775e7=_0x6af778(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0x173b6d,0x17,_0x1cdb82[0x2f]),_0x38643c=_0x14ca7e(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0x3917a0,0x6,_0x1cdb82[0x30]),_0x31de25=_0x14ca7e(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0x48c1ed,0xa,_0x1cdb82[0x31]),_0x1f882a=_0x14ca7e(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x52e542,0xf,_0x1cdb82[0x32]),_0x5775e7=_0x14ca7e(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0x2d9552,0x15,_0x1cdb82[0x33]),_0x38643c=_0x14ca7e(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0xccf724,0x6,_0x1cdb82[0x34]),_0x31de25=_0x14ca7e(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0xcb03cb,0xa,_0x1cdb82[0x35]),_0x1f882a=_0x14ca7e(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x57f409,0xf,_0x1cdb82[0x36]),_0x5775e7=_0x14ca7e(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0x5ed1c4,0x15,_0x1cdb82[0x37]),_0x38643c=_0x14ca7e(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0x2df7b3,0x6,_0x1cdb82[0x38]),_0x31de25=_0x14ca7e(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0x511bc8,0xa,_0x1cdb82[0x39]),_0x1f882a=_0x14ca7e(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x365d80,0xf,_0x1cdb82[0x3a]),_0x5775e7=_0x14ca7e(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0x4206a6,0x15,_0x1cdb82[0x3b]),_0x38643c=_0x14ca7e(_0x38643c,_0x5775e7,_0x1f882a,_0x31de25,_0x3059ed,0x6,_0x1cdb82[0x3c]),_0x31de25=_0x14ca7e(_0x31de25,_0x38643c,_0x5775e7,_0x1f882a,_0x10938e,0xa,_0x1cdb82[0x3d]),_0x1f882a=_0x14ca7e(_0x1f882a,_0x31de25,_0x38643c,_0x5775e7,_0x173b6d,0xf,_0x1cdb82[0x3e]),_0x5775e7=_0x14ca7e(_0x5775e7,_0x1f882a,_0x31de25,_0x38643c,_0xd753b9,0x15,_0x1cdb82[0x3f]),_0x3c5dbd[0x0]=_0x3c5dbd[0x0]+_0x38643c|0x0,_0x3c5dbd[0x1]=_0x3c5dbd[0x1]+_0x5775e7|0x0,_0x3c5dbd[0x2]=_0x3c5dbd[0x2]+_0x1f882a|0x0,_0x3c5dbd[0x3]=_0x3c5dbd[0x3]+_0x31de25|0x0;},'_doFinalize':function(){var _0x2bf2d2=_0x564bab,_0x4a70b4=this[_0x2bf2d2(0x30e)],_0x21795f=_0x4a70b4[_0x2bf2d2(0x52b)],_0x28c394=this['_nDataBytes']*0x8,_0x55ddd5=_0x4a70b4[_0x2bf2d2(0x277)]*0x8;_0x21795f[_0x55ddd5>>>0x5]|=0x80<<0x18-_0x55ddd5%0x20;var _0x15d6ea=_0x13e1f1[_0x2bf2d2(0x2c8)](_0x28c394/0x100000000),_0x30f4d9=_0x28c394;_0x21795f[(_0x55ddd5+0x40>>>0x9<<0x4)+0xf]=(_0x15d6ea<<0x8|_0x15d6ea>>>0x18)&0xff00ff|(_0x15d6ea<<0x18|_0x15d6ea>>>0x8)&0xff00ff00,_0x21795f[(_0x55ddd5+0x40>>>0x9<<0x4)+0xe]=(_0x30f4d9<<0x8|_0x30f4d9>>>0x18)&0xff00ff|(_0x30f4d9<<0x18|_0x30f4d9>>>0x8)&0xff00ff00,_0x4a70b4[_0x2bf2d2(0x277)]=(_0x21795f[_0x2bf2d2(0x390)]+0x1)*0x4,this[_0x2bf2d2(0x524)]();for(var _0xc0dfe4=this[_0x2bf2d2(0x24f)],_0x277d18=_0xc0dfe4[_0x2bf2d2(0x52b)],_0x2e9a88=0x0;_0x2e9a88<0x4;_0x2e9a88++){var _0x579695=_0x277d18[_0x2e9a88];_0x277d18[_0x2e9a88]=(_0x579695<<0x8|_0x579695>>>0x18)&0xff00ff|(_0x579695<<0x18|_0x579695>>>0x8)&0xff00ff00;}return _0xc0dfe4;},'clone':function(){var _0x63dab1=_0x564bab,_0x1707e0=_0x4c0bbf[_0x63dab1(0x241)][_0x63dab1(0x2c6)](this);return _0x1707e0[_0x63dab1(0x24f)]=this[_0x63dab1(0x24f)][_0x63dab1(0x241)](),_0x1707e0;}});function _0x29388a(_0x1b3159,_0x1d96d4,_0x52f792,_0x33109b,_0x5091da,_0x31fe4a,_0x305a67){var _0x5c096d=_0x1b3159+(_0x1d96d4&_0x52f792|~_0x1d96d4&_0x33109b)+_0x5091da+_0x305a67;return(_0x5c096d<<_0x31fe4a|_0x5c096d>>>0x20-_0x31fe4a)+_0x1d96d4;}function _0x35300f(_0x198a21,_0x420839,_0x18321a,_0x58ad70,_0x44121d,_0x10174d,_0x35874e){var _0x324910=_0x198a21+(_0x420839&_0x58ad70|_0x18321a&~_0x58ad70)+_0x44121d+_0x35874e;return(_0x324910<<_0x10174d|_0x324910>>>0x20-_0x10174d)+_0x420839;}function _0x6af778(_0x33af4c,_0x59a79c,_0x55f659,_0x567f9c,_0x1fb2a0,_0x1e9f9d,_0x2bbbab){var _0x118ac9=_0x33af4c+(_0x59a79c^_0x55f659^_0x567f9c)+_0x1fb2a0+_0x2bbbab;return(_0x118ac9<<_0x1e9f9d|_0x118ac9>>>0x20-_0x1e9f9d)+_0x59a79c;}function _0x14ca7e(_0x3a7cad,_0x4b9c3a,_0x37866f,_0x252e3c,_0x55f3d5,_0x486fbd,_0xc76580){var _0x37bb3f=_0x3a7cad+(_0x37866f^(_0x4b9c3a|~_0x252e3c))+_0x55f3d5+_0xc76580;return(_0x37bb3f<<_0x486fbd|_0x37bb3f>>>0x20-_0x486fbd)+_0x4b9c3a;}_0x2ca233['MD5']=_0x4c0bbf[_0x564bab(0x3ad)](_0xa01233),_0x2ca233[_0x564bab(0x2b7)]=_0x4c0bbf[_0x564bab(0x4c7)](_0xa01233);}(Math),_0x28bd15['MD5'];}));}(me)),me[_0x1addb3(0x2e2)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x1a66bf(0x2e2)],tt;function $i(){return tt||(tt=0x1,function(_0x3f1383,_0x5e33e6){(function(_0x248817,_0x3612b2){var _0x4b7a63=_0x4a7d;_0x3f1383[_0x4b7a63(0x2e2)]=_0x3612b2(ee());}(ji,function(_0x4e47ed){var _0x2f9cb1=_0x4a7d;return(function(){var _0x5cca48=_0x4a7d,_0x5906ab=_0x4e47ed,_0xfcc2ee=_0x5906ab[_0x5cca48(0x407)],_0x3e981c=_0xfcc2ee[_0x5cca48(0x39f)],_0x437ac6=_0xfcc2ee[_0x5cca48(0x259)],_0x3a2cc0=_0x5906ab[_0x5cca48(0x271)],_0x50fea0=[],_0x59b467=_0x3a2cc0[_0x5cca48(0x27a)]=_0x437ac6[_0x5cca48(0x3ba)]({'_doReset':function(){var _0x846a=_0x5cca48;this[_0x846a(0x24f)]=new _0x3e981c[(_0x846a(0x376))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x6730a0,_0x41e647){var _0x2dd31a=_0x5cca48;for(var _0x2fc291=this[_0x2dd31a(0x24f)][_0x2dd31a(0x52b)],_0x42e146=_0x2fc291[0x0],_0x4fbd82=_0x2fc291[0x1],_0x59dd84=_0x2fc291[0x2],_0x3c1372=_0x2fc291[0x3],_0x4658b4=_0x2fc291[0x4],_0x52c59c=0x0;_0x52c59c<0x50;_0x52c59c++){if(_0x52c59c<0x10)_0x50fea0[_0x52c59c]=_0x6730a0[_0x41e647+_0x52c59c]|0x0;else{var _0x1e5e03=_0x50fea0[_0x52c59c-0x3]^_0x50fea0[_0x52c59c-0x8]^_0x50fea0[_0x52c59c-0xe]^_0x50fea0[_0x52c59c-0x10];_0x50fea0[_0x52c59c]=_0x1e5e03<<0x1|_0x1e5e03>>>0x1f;}var _0xe5e602=(_0x42e146<<0x5|_0x42e146>>>0x1b)+_0x4658b4+_0x50fea0[_0x52c59c];_0x52c59c<0x14?_0xe5e602+=(_0x4fbd82&_0x59dd84|~_0x4fbd82&_0x3c1372)+0x5a827999:_0x52c59c<0x28?_0xe5e602+=(_0x4fbd82^_0x59dd84^_0x3c1372)+0x6ed9eba1:_0x52c59c<0x3c?_0xe5e602+=(_0x4fbd82&_0x59dd84|_0x4fbd82&_0x3c1372|_0x59dd84&_0x3c1372)-0x70e44324:_0xe5e602+=(_0x4fbd82^_0x59dd84^_0x3c1372)-0x359d3e2a,_0x4658b4=_0x3c1372,_0x3c1372=_0x59dd84,_0x59dd84=_0x4fbd82<<0x1e|_0x4fbd82>>>0x2,_0x4fbd82=_0x42e146,_0x42e146=_0xe5e602;}_0x2fc291[0x0]=_0x2fc291[0x0]+_0x42e146|0x0,_0x2fc291[0x1]=_0x2fc291[0x1]+_0x4fbd82|0x0,_0x2fc291[0x2]=_0x2fc291[0x2]+_0x59dd84|0x0,_0x2fc291[0x3]=_0x2fc291[0x3]+_0x3c1372|0x0,_0x2fc291[0x4]=_0x2fc291[0x4]+_0x4658b4|0x0;},'_doFinalize':function(){var _0x5d75a5=_0x5cca48,_0x2e97b1=this['_data'],_0x36a1c2=_0x2e97b1[_0x5d75a5(0x52b)],_0x55f16b=this[_0x5d75a5(0x501)]*0x8,_0x2a0dc2=_0x2e97b1[_0x5d75a5(0x277)]*0x8;return _0x36a1c2[_0x2a0dc2>>>0x5]|=0x80<<0x18-_0x2a0dc2%0x20,_0x36a1c2[(_0x2a0dc2+0x40>>>0x9<<0x4)+0xe]=Math[_0x5d75a5(0x2c8)](_0x55f16b/0x100000000),_0x36a1c2[(_0x2a0dc2+0x40>>>0x9<<0x4)+0xf]=_0x55f16b,_0x2e97b1[_0x5d75a5(0x277)]=_0x36a1c2[_0x5d75a5(0x390)]*0x4,this[_0x5d75a5(0x524)](),this[_0x5d75a5(0x24f)];},'clone':function(){var _0x13f496=_0x5cca48,_0x2bbfc3=_0x437ac6['clone'][_0x13f496(0x2c6)](this);return _0x2bbfc3[_0x13f496(0x24f)]=this[_0x13f496(0x24f)]['clone'](),_0x2bbfc3;}});_0x5906ab['SHA1']=_0x437ac6['_createHelper'](_0x59b467),_0x5906ab[_0x5cca48(0x303)]=_0x437ac6[_0x5cca48(0x4c7)](_0x59b467);}()),_0x4e47ed[_0x2f9cb1(0x27a)];}));}(Ee)),Ee['exports'];}var Ce={'exports':{}},Bi=Ce[_0x1a66bf(0x2e2)],it;function Fi(){var _0x2d0974=_0x1a66bf;return it||(it=0x1,function(_0x4fdc9c,_0x60b742){(function(_0x523ea1,_0x5209e1){var _0x497cbd=_0x4a7d;_0x4fdc9c[_0x497cbd(0x2e2)]=_0x5209e1(ee());}(Bi,function(_0x7b5c91){(function(){var _0x3e809e=_0x4a7d,_0x4d15bc=_0x7b5c91,_0x4101ce=_0x4d15bc[_0x3e809e(0x407)],_0xeccaab=_0x4101ce[_0x3e809e(0x3f8)],_0xa699af=_0x4d15bc[_0x3e809e(0x224)],_0x50c5fe=_0xa699af[_0x3e809e(0x26e)],_0x135812=_0x4d15bc['algo'];_0x135812[_0x3e809e(0x24e)]=_0xeccaab[_0x3e809e(0x3ba)]({'init':function(_0x2f2a43,_0x3d2112){var _0x1ebc7a=_0x3e809e;_0x2f2a43=this[_0x1ebc7a(0x4f1)]=new _0x2f2a43[(_0x1ebc7a(0x376))](),typeof _0x3d2112==_0x1ebc7a(0x400)&&(_0x3d2112=_0x50c5fe[_0x1ebc7a(0x4fd)](_0x3d2112));var _0x1f666a=_0x2f2a43[_0x1ebc7a(0x49a)],_0x30f507=_0x1f666a*0x4;_0x3d2112[_0x1ebc7a(0x277)]>_0x30f507&&(_0x3d2112=_0x2f2a43[_0x1ebc7a(0x2f9)](_0x3d2112)),_0x3d2112[_0x1ebc7a(0x3aa)]();for(var _0x4fd166=this[_0x1ebc7a(0x22e)]=_0x3d2112[_0x1ebc7a(0x241)](),_0x23c7f2=this[_0x1ebc7a(0x289)]=_0x3d2112[_0x1ebc7a(0x241)](),_0x5995bd=_0x4fd166[_0x1ebc7a(0x52b)],_0x26eaaf=_0x23c7f2[_0x1ebc7a(0x52b)],_0x170497=0x0;_0x170497<_0x1f666a;_0x170497++)_0x5995bd[_0x170497]^=0x5c5c5c5c,_0x26eaaf[_0x170497]^=0x36363636;_0x4fd166[_0x1ebc7a(0x277)]=_0x23c7f2[_0x1ebc7a(0x277)]=_0x30f507,this[_0x1ebc7a(0x434)]();},'reset':function(){var _0x52a3ca=_0x3e809e,_0x4b33e5=this[_0x52a3ca(0x4f1)];_0x4b33e5[_0x52a3ca(0x434)](),_0x4b33e5['update'](this[_0x52a3ca(0x289)]);},'update':function(_0x48e35b){var _0x135630=_0x3e809e;return this[_0x135630(0x4f1)][_0x135630(0x419)](_0x48e35b),this;},'finalize':function(_0x3705b1){var _0x163b7b=_0x3e809e,_0x5e6217=this[_0x163b7b(0x4f1)],_0x50379c=_0x5e6217[_0x163b7b(0x2f9)](_0x3705b1);_0x5e6217[_0x163b7b(0x434)]();var _0x4fd1eb=_0x5e6217[_0x163b7b(0x2f9)](this['_oKey'][_0x163b7b(0x241)]()[_0x163b7b(0x4e8)](_0x50379c));return _0x4fd1eb;}});}());}));}(Ce)),Ce[_0x2d0974(0x2e2)];}var Vi=Ie[_0x1a66bf(0x2e2)],nt;function At(){return nt||(nt=0x1,function(_0x11f179,_0x2c8dd2){(function(_0x27fe68,_0x1b3a0e,_0x137293){var _0x495d8a=_0x4a7d;_0x11f179[_0x495d8a(0x2e2)]=_0x1b3a0e(ee(),$i(),Fi());}(Vi,function(_0x47c910){var _0x201ece=_0x4a7d;return(function(){var _0x5f2778=_0x4a7d,_0x5686e6=_0x47c910,_0x4d959a=_0x5686e6[_0x5f2778(0x407)],_0x540aee=_0x4d959a[_0x5f2778(0x3f8)],_0x33ff61=_0x4d959a[_0x5f2778(0x39f)],_0x3e6407=_0x5686e6[_0x5f2778(0x271)],_0x1b46e9=_0x3e6407['MD5'],_0x5af7c0=_0x3e6407['EvpKDF']=_0x540aee[_0x5f2778(0x3ba)]({'cfg':_0x540aee[_0x5f2778(0x3ba)]({'keySize':0x80/0x20,'hasher':_0x1b46e9,'iterations':0x1}),'init':function(_0x464277){var _0xc21a45=_0x5f2778;this[_0xc21a45(0x3db)]=this['cfg'][_0xc21a45(0x3ba)](_0x464277);},'compute':function(_0x5dfc92,_0x43db91){var _0x299087=_0x5f2778;for(var _0x278cd7,_0x3868db=this[_0x299087(0x3db)],_0x2bce6c=_0x3868db[_0x299087(0x23d)]['create'](),_0x1a4763=_0x33ff61[_0x299087(0x26c)](),_0x1afa7d=_0x1a4763[_0x299087(0x52b)],_0x4a94fb=_0x3868db['keySize'],_0x5c1f63=_0x3868db[_0x299087(0x532)];_0x1afa7d[_0x299087(0x390)]<_0x4a94fb;){_0x278cd7&&_0x2bce6c[_0x299087(0x419)](_0x278cd7),_0x278cd7=_0x2bce6c[_0x299087(0x419)](_0x5dfc92)['finalize'](_0x43db91),_0x2bce6c[_0x299087(0x434)]();for(var _0x377886=0x1;_0x377886<_0x5c1f63;_0x377886++)_0x278cd7=_0x2bce6c['finalize'](_0x278cd7),_0x2bce6c['reset']();_0x1a4763['concat'](_0x278cd7);}return _0x1a4763[_0x299087(0x277)]=_0x4a94fb*0x4,_0x1a4763;}});_0x5686e6['EvpKDF']=function(_0x48d21,_0x3dfa91,_0x59daae){var _0x82898f=_0x5f2778;return _0x5af7c0[_0x82898f(0x26c)](_0x59daae)[_0x82898f(0x549)](_0x48d21,_0x3dfa91);};}()),_0x47c910[_0x201ece(0x453)];}));}(Ie)),Ie['exports'];}var Te={'exports':{}},Wi=Te['exports'],rt;function Pt(){var _0xcb540=_0x1a66bf;return rt||(rt=0x1,function(_0x3f4f6d,_0x2a53f1){(function(_0x47fde7,_0x34078d,_0xdfaf55){var _0x247192=_0x4a7d;_0x3f4f6d[_0x247192(0x2e2)]=_0x34078d(ee(),At());}(Wi,function(_0x2702f3){var _0x1dab2b=_0x4a7d;_0x2702f3[_0x1dab2b(0x407)][_0x1dab2b(0x32f)]||function(_0x31c55a){var _0x41ff06=_0x1dab2b,_0xc0b3ef=_0x2702f3,_0x70996=_0xc0b3ef[_0x41ff06(0x407)],_0x54d57b=_0x70996['Base'],_0x3364d6=_0x70996[_0x41ff06(0x39f)],_0xbbf081=_0x70996[_0x41ff06(0x1f1)],_0x4c75a8=_0xc0b3ef['enc'];_0x4c75a8[_0x41ff06(0x26e)];var _0x29a0d2=_0x4c75a8[_0x41ff06(0x39b)],_0x188dfe=_0xc0b3ef['algo'],_0x580bc0=_0x188dfe['EvpKDF'],_0x5b390d=_0x70996['Cipher']=_0xbbf081[_0x41ff06(0x3ba)]({'cfg':_0x54d57b[_0x41ff06(0x3ba)](),'createEncryptor':function(_0x13ef61,_0x231e29){var _0xed878e=_0x41ff06;return this['create'](this[_0xed878e(0x3af)],_0x13ef61,_0x231e29);},'createDecryptor':function(_0x27479e,_0xe56dc8){var _0x2bf74f=_0x41ff06;return this[_0x2bf74f(0x26c)](this[_0x2bf74f(0x28d)],_0x27479e,_0xe56dc8);},'init':function(_0x4870ec,_0x2a5b6e,_0x4a1c7e){var _0x548ac5=_0x41ff06;this[_0x548ac5(0x3db)]=this[_0x548ac5(0x3db)][_0x548ac5(0x3ba)](_0x4a1c7e),this[_0x548ac5(0x452)]=_0x4870ec,this[_0x548ac5(0x238)]=_0x2a5b6e,this[_0x548ac5(0x434)]();},'reset':function(){var _0x788f10=_0x41ff06;_0xbbf081[_0x788f10(0x434)][_0x788f10(0x2c6)](this),this[_0x788f10(0x239)]();},'process':function(_0xdde7a9){var _0x19eb5b=_0x41ff06;return this['_append'](_0xdde7a9),this[_0x19eb5b(0x524)]();},'finalize':function(_0x4765e){var _0x8e195c=_0x41ff06;_0x4765e&&this[_0x8e195c(0x3b2)](_0x4765e);var _0x4db47c=this[_0x8e195c(0x1da)]();return _0x4db47c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2293d7(_0x43c425){return typeof _0x43c425=='string'?_0x1bfe22:_0x3e1e7a;}return function(_0x32358f){return{'encrypt':function(_0x25676e,_0x1bdcd1,_0x19c390){var _0x13ae63=_0x4a7d;return _0x2293d7(_0x1bdcd1)[_0x13ae63(0x20f)](_0x32358f,_0x25676e,_0x1bdcd1,_0x19c390);},'decrypt':function(_0x31e386,_0x5e6259,_0x35b468){var _0x328927=_0x4a7d;return _0x2293d7(_0x5e6259)[_0x328927(0x504)](_0x32358f,_0x31e386,_0x5e6259,_0x35b468);}};};}())});_0x70996[_0x41ff06(0x4e0)]=_0x5b390d[_0x41ff06(0x3ba)]({'_doFinalize':function(){var _0x4e456b=_0x41ff06,_0x26c008=this[_0x4e456b(0x524)](!0x0);return _0x26c008;},'blockSize':0x1});var _0x19010d=_0xc0b3ef[_0x41ff06(0x3e6)]={},_0x22b423=_0x70996['BlockCipherMode']=_0x54d57b[_0x41ff06(0x3ba)]({'createEncryptor':function(_0x5b182a,_0x2e3755){var _0x52f18e=_0x41ff06;return this[_0x52f18e(0x2ee)][_0x52f18e(0x26c)](_0x5b182a,_0x2e3755);},'createDecryptor':function(_0x159ef5,_0x3eb345){var _0x2517b3=_0x41ff06;return this['Decryptor'][_0x2517b3(0x26c)](_0x159ef5,_0x3eb345);},'init':function(_0x1d0c5d,_0x3f6274){var _0xde7e52=_0x41ff06;this['_cipher']=_0x1d0c5d,this[_0xde7e52(0x40e)]=_0x3f6274;}}),_0xd27aa9=_0x19010d[_0x41ff06(0x37a)]=(function(){var _0x3cfdc1=_0x41ff06,_0x1625b6=_0x22b423[_0x3cfdc1(0x3ba)]();_0x1625b6[_0x3cfdc1(0x2ee)]=_0x1625b6[_0x3cfdc1(0x3ba)]({'processBlock':function(_0x2ab06e,_0x1d2c80){var _0x5a08c3=_0x3cfdc1,_0x3f3400=this[_0x5a08c3(0x493)],_0x1d223b=_0x3f3400[_0x5a08c3(0x49a)];_0xac6223[_0x5a08c3(0x2c6)](this,_0x2ab06e,_0x1d2c80,_0x1d223b),_0x3f3400[_0x5a08c3(0x250)](_0x2ab06e,_0x1d2c80),this[_0x5a08c3(0x53a)]=_0x2ab06e[_0x5a08c3(0x225)](_0x1d2c80,_0x1d2c80+_0x1d223b);}}),_0x1625b6[_0x3cfdc1(0x4f3)]=_0x1625b6[_0x3cfdc1(0x3ba)]({'processBlock':function(_0x4c05db,_0x4e0097){var _0x11d8f3=_0x3cfdc1,_0x2cab60=this[_0x11d8f3(0x493)],_0x3fa856=_0x2cab60['blockSize'],_0x480903=_0x4c05db[_0x11d8f3(0x225)](_0x4e0097,_0x4e0097+_0x3fa856);_0x2cab60[_0x11d8f3(0x4bd)](_0x4c05db,_0x4e0097),_0xac6223['call'](this,_0x4c05db,_0x4e0097,_0x3fa856),this[_0x11d8f3(0x53a)]=_0x480903;}});function _0xac6223(_0x472ba3,_0x1dbb6f,_0x474fd9){var _0x18a79d=_0x3cfdc1,_0x38c828,_0x1d41e3=this[_0x18a79d(0x40e)];_0x1d41e3?(_0x38c828=_0x1d41e3,this[_0x18a79d(0x40e)]=_0x31c55a):_0x38c828=this[_0x18a79d(0x53a)];for(var _0x2b1663=0x0;_0x2b1663<_0x474fd9;_0x2b1663++)_0x472ba3[_0x1dbb6f+_0x2b1663]^=_0x38c828[_0x2b1663];}return _0x1625b6;}()),_0x4a3cc9=_0xc0b3ef['pad']={},_0x4b8291=_0x4a3cc9[_0x41ff06(0x230)]={'pad':function(_0x2e1f70,_0x22ab50){var _0x2bea61=_0x41ff06;for(var _0x589d67=_0x22ab50*0x4,_0x4366e8=_0x589d67-_0x2e1f70[_0x2bea61(0x277)]%_0x589d67,_0x2a342a=_0x4366e8<<0x18|_0x4366e8<<0x10|_0x4366e8<<0x8|_0x4366e8,_0x4e2f8d=[],_0x4eda13=0x0;_0x4eda13<_0x4366e8;_0x4eda13+=0x4)_0x4e2f8d[_0x2bea61(0x38b)](_0x2a342a);var _0x21f3b3=_0x3364d6[_0x2bea61(0x26c)](_0x4e2f8d,_0x4366e8);_0x2e1f70[_0x2bea61(0x4e8)](_0x21f3b3);},'unpad':function(_0x1c672c){var _0xf115b9=_0x41ff06,_0x107e89=_0x1c672c[_0xf115b9(0x52b)][_0x1c672c[_0xf115b9(0x277)]-0x1>>>0x2]&0xff;_0x1c672c[_0xf115b9(0x277)]-=_0x107e89;}};_0x70996[_0x41ff06(0x50e)]=_0x5b390d[_0x41ff06(0x3ba)]({'cfg':_0x5b390d[_0x41ff06(0x3db)]['extend']({'mode':_0xd27aa9,'padding':_0x4b8291}),'reset':function(){var _0x5e1392=_0x41ff06,_0x2f792a;_0x5b390d[_0x5e1392(0x434)]['call'](this);var _0x588de8=this[_0x5e1392(0x3db)],_0xe4faaf=_0x588de8['iv'],_0x15e6ba=_0x588de8[_0x5e1392(0x3e6)];this[_0x5e1392(0x452)]==this[_0x5e1392(0x3af)]?_0x2f792a=_0x15e6ba[_0x5e1392(0x263)]:(_0x2f792a=_0x15e6ba[_0x5e1392(0x339)],this[_0x5e1392(0x2b9)]=0x1),this['_mode']&&this[_0x5e1392(0x202)][_0x5e1392(0x533)]==_0x2f792a?this[_0x5e1392(0x202)][_0x5e1392(0x376)](this,_0xe4faaf&&_0xe4faaf[_0x5e1392(0x52b)]):(this[_0x5e1392(0x202)]=_0x2f792a[_0x5e1392(0x2c6)](_0x15e6ba,this,_0xe4faaf&&_0xe4faaf['words']),this['_mode'][_0x5e1392(0x533)]=_0x2f792a);},'_doProcessBlock':function(_0xd3ed6f,_0x4a298b){var _0x1007e9=_0x41ff06;this[_0x1007e9(0x202)][_0x1007e9(0x38a)](_0xd3ed6f,_0x4a298b);},'_doFinalize':function(){var _0x565bc8=_0x41ff06,_0x19847c,_0x28c277=this['cfg'][_0x565bc8(0x2da)];return this['_xformMode']==this[_0x565bc8(0x3af)]?(_0x28c277[_0x565bc8(0x2f0)](this[_0x565bc8(0x30e)],this[_0x565bc8(0x49a)]),_0x19847c=this[_0x565bc8(0x524)](!0x0)):(_0x19847c=this[_0x565bc8(0x524)](!0x0),_0x28c277[_0x565bc8(0x2f7)](_0x19847c)),_0x19847c;},'blockSize':0x80/0x20});var _0x57bb4f=_0x70996[_0x41ff06(0x470)]=_0x54d57b['extend']({'init':function(_0x4dc62f){var _0x10c463=_0x41ff06;this[_0x10c463(0x3ae)](_0x4dc62f);},'toString':function(_0x619ba4){var _0x52cacf=_0x41ff06;return(_0x619ba4||this[_0x52cacf(0x3a1)])[_0x52cacf(0x2ff)](this);}}),_0x50ecb2=_0xc0b3ef['format']={},_0x10c0a5=_0x50ecb2[_0x41ff06(0x2c5)]={'stringify':function(_0x2bead9){var _0x2455b0=_0x41ff06,_0x30ae33,_0x3b6d59=_0x2bead9[_0x2455b0(0x4df)],_0x5298da=_0x2bead9[_0x2455b0(0x51e)];return _0x5298da?_0x30ae33=_0x3364d6[_0x2455b0(0x26c)]([0x53616c74,0x65645f5f])[_0x2455b0(0x4e8)](_0x5298da)[_0x2455b0(0x4e8)](_0x3b6d59):_0x30ae33=_0x3b6d59,_0x30ae33[_0x2455b0(0x545)](_0x29a0d2);},'parse':function(_0x56f3eb){var _0xee478d=_0x41ff06,_0x171542,_0x4dcb3e=_0x29a0d2[_0xee478d(0x4fd)](_0x56f3eb),_0x561ac4=_0x4dcb3e['words'];return _0x561ac4[0x0]==0x53616c74&&_0x561ac4[0x1]==0x65645f5f&&(_0x171542=_0x3364d6['create'](_0x561ac4[_0xee478d(0x225)](0x2,0x4)),_0x561ac4[_0xee478d(0x4d8)](0x0,0x4),_0x4dcb3e[_0xee478d(0x277)]-=0x10),_0x57bb4f[_0xee478d(0x26c)]({'ciphertext':_0x4dcb3e,'salt':_0x171542});}},_0x3e1e7a=_0x70996['SerializableCipher']=_0x54d57b[_0x41ff06(0x3ba)]({'cfg':_0x54d57b[_0x41ff06(0x3ba)]({'format':_0x10c0a5}),'encrypt':function(_0x19a3ed,_0x4bc613,_0x18271f,_0x9496bd){var _0x298619=_0x41ff06;_0x9496bd=this[_0x298619(0x3db)][_0x298619(0x3ba)](_0x9496bd);var _0x49f9eb=_0x19a3ed[_0x298619(0x263)](_0x18271f,_0x9496bd),_0x1983a6=_0x49f9eb['finalize'](_0x4bc613),_0x321551=_0x49f9eb[_0x298619(0x3db)];return _0x57bb4f[_0x298619(0x26c)]({'ciphertext':_0x1983a6,'key':_0x18271f,'iv':_0x321551['iv'],'algorithm':_0x19a3ed,'mode':_0x321551[_0x298619(0x3e6)],'padding':_0x321551[_0x298619(0x2da)],'blockSize':_0x19a3ed[_0x298619(0x49a)],'formatter':_0x9496bd['format']});},'decrypt':function(_0x75eea3,_0x3373b1,_0x5a8eae,_0x493ff6){var _0x256d0c=_0x41ff06;_0x493ff6=this[_0x256d0c(0x3db)][_0x256d0c(0x3ba)](_0x493ff6),_0x3373b1=this[_0x256d0c(0x502)](_0x3373b1,_0x493ff6[_0x256d0c(0x50f)]);var _0x4ba0b0=_0x75eea3[_0x256d0c(0x339)](_0x5a8eae,_0x493ff6)['finalize'](_0x3373b1[_0x256d0c(0x4df)]);return _0x4ba0b0;},'_parse':function(_0x5f3ce5,_0xd029c5){var _0xdf938d=_0x41ff06;return typeof _0x5f3ce5==_0xdf938d(0x400)?_0xd029c5['parse'](_0x5f3ce5,this):_0x5f3ce5;}}),_0xb7acaf=_0xc0b3ef['kdf']={},_0x1e7afe=_0xb7acaf[_0x41ff06(0x2c5)]={'execute':function(_0x2ccd97,_0x278b71,_0x54bdfd,_0x494c1c,_0x309635){var _0x4b8115=_0x41ff06;if(_0x494c1c||(_0x494c1c=_0x3364d6[_0x4b8115(0x430)](0x40/0x8)),_0x309635)var _0x54a95f=_0x580bc0[_0x4b8115(0x26c)]({'keySize':_0x278b71+_0x54bdfd,'hasher':_0x309635})[_0x4b8115(0x549)](_0x2ccd97,_0x494c1c);else var _0x54a95f=_0x580bc0[_0x4b8115(0x26c)]({'keySize':_0x278b71+_0x54bdfd})[_0x4b8115(0x549)](_0x2ccd97,_0x494c1c);var _0x2000b2=_0x3364d6[_0x4b8115(0x26c)](_0x54a95f[_0x4b8115(0x52b)]['slice'](_0x278b71),_0x54bdfd*0x4);return _0x54a95f[_0x4b8115(0x277)]=_0x278b71*0x4,_0x57bb4f[_0x4b8115(0x26c)]({'key':_0x54a95f,'iv':_0x2000b2,'salt':_0x494c1c});}},_0x1bfe22=_0x70996[_0x41ff06(0x416)]=_0x3e1e7a[_0x41ff06(0x3ba)]({'cfg':_0x3e1e7a[_0x41ff06(0x3db)]['extend']({'kdf':_0x1e7afe}),'encrypt':function(_0x46a332,_0x26d957,_0x409ab8,_0x141af1){var _0x32ac51=_0x41ff06;_0x141af1=this[_0x32ac51(0x3db)][_0x32ac51(0x3ba)](_0x141af1);var _0xcfc06c=_0x141af1[_0x32ac51(0x2c2)][_0x32ac51(0x3a4)](_0x409ab8,_0x46a332[_0x32ac51(0x3f4)],_0x46a332['ivSize'],_0x141af1[_0x32ac51(0x51e)],_0x141af1[_0x32ac51(0x23d)]);_0x141af1['iv']=_0xcfc06c['iv'];var _0x562496=_0x3e1e7a[_0x32ac51(0x20f)][_0x32ac51(0x2c6)](this,_0x46a332,_0x26d957,_0xcfc06c['key'],_0x141af1);return _0x562496[_0x32ac51(0x3ae)](_0xcfc06c),_0x562496;},'decrypt':function(_0x21d9c2,_0x435424,_0x5c4d2e,_0x40aea9){var _0x1c3396=_0x41ff06;_0x40aea9=this['cfg'][_0x1c3396(0x3ba)](_0x40aea9),_0x435424=this['_parse'](_0x435424,_0x40aea9[_0x1c3396(0x50f)]);var _0x35817c=_0x40aea9[_0x1c3396(0x2c2)][_0x1c3396(0x3a4)](_0x5c4d2e,_0x21d9c2[_0x1c3396(0x3f4)],_0x21d9c2[_0x1c3396(0x536)],_0x435424[_0x1c3396(0x51e)],_0x40aea9[_0x1c3396(0x23d)]);_0x40aea9['iv']=_0x35817c['iv'];var _0x5e7fd2=_0x3e1e7a[_0x1c3396(0x504)]['call'](this,_0x21d9c2,_0x435424,_0x35817c['key'],_0x40aea9);return _0x5e7fd2;}});}();}));}(Te)),Te[_0xcb540(0x2e2)];}var Gi=fe[_0x1a66bf(0x2e2)],st;function Ki(){var _0x57e6e=_0x1a66bf;return st||(st=0x1,function(_0x27a86a,_0x3c75fc){(function(_0x39512d,_0x206584,_0x5a8d15){_0x27a86a['exports']=_0x206584(ee(),Ut(),Hi(),At(),Pt());}(Gi,function(_0x1b921b){return(function(){var _0x54424d=_0x4a7d,_0x3981b4=_0x1b921b,_0x651dfa=_0x3981b4['lib'],_0x194c18=_0x651dfa[_0x54424d(0x50e)],_0x2aa99e=_0x3981b4[_0x54424d(0x271)],_0x18d05b=[],_0x16a62a=[],_0x106606=[],_0x33eb53=[],_0x1ec436=[],_0x44be77=[],_0x1d064b=[],_0x1e4fb0=[],_0x276fa7=[],_0x1bb142=[];(function(){for(var _0xf29200=[],_0x1ba89d=0x0;_0x1ba89d<0x100;_0x1ba89d++)_0x1ba89d<0x80?_0xf29200[_0x1ba89d]=_0x1ba89d<<0x1:_0xf29200[_0x1ba89d]=_0x1ba89d<<0x1^0x11b;for(var _0x5c222f=0x0,_0x2481a4=0x0,_0x1ba89d=0x0;_0x1ba89d<0x100;_0x1ba89d++){var _0x21a9e0=_0x2481a4^_0x2481a4<<0x1^_0x2481a4<<0x2^_0x2481a4<<0x3^_0x2481a4<<0x4;_0x21a9e0=_0x21a9e0>>>0x8^_0x21a9e0&0xff^0x63,_0x18d05b[_0x5c222f]=_0x21a9e0,_0x16a62a[_0x21a9e0]=_0x5c222f;var _0x1640ca=_0xf29200[_0x5c222f],_0x3f2914=_0xf29200[_0x1640ca],_0x389e08=_0xf29200[_0x3f2914],_0x5cb4dc=_0xf29200[_0x21a9e0]*0x101^_0x21a9e0*0x1010100;_0x106606[_0x5c222f]=_0x5cb4dc<<0x18|_0x5cb4dc>>>0x8,_0x33eb53[_0x5c222f]=_0x5cb4dc<<0x10|_0x5cb4dc>>>0x10,_0x1ec436[_0x5c222f]=_0x5cb4dc<<0x8|_0x5cb4dc>>>0x18,_0x44be77[_0x5c222f]=_0x5cb4dc;var _0x5cb4dc=_0x389e08*0x1010101^_0x3f2914*0x10001^_0x1640ca*0x101^_0x5c222f*0x1010100;_0x1d064b[_0x21a9e0]=_0x5cb4dc<<0x18|_0x5cb4dc>>>0x8,_0x1e4fb0[_0x21a9e0]=_0x5cb4dc<<0x10|_0x5cb4dc>>>0x10,_0x276fa7[_0x21a9e0]=_0x5cb4dc<<0x8|_0x5cb4dc>>>0x18,_0x1bb142[_0x21a9e0]=_0x5cb4dc,_0x5c222f?(_0x5c222f=_0x1640ca^_0xf29200[_0xf29200[_0xf29200[_0x389e08^_0x1640ca]]],_0x2481a4^=_0xf29200[_0xf29200[_0x2481a4]]):_0x5c222f=_0x2481a4=0x1;}}());var _0x3ed0b9=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1c30b5=_0x2aa99e[_0x54424d(0x2f1)]=_0x194c18[_0x54424d(0x3ba)]({'_doReset':function(){var _0x8beda5=_0x54424d,_0x9c4ca0;if(!(this[_0x8beda5(0x472)]&&this[_0x8beda5(0x50a)]===this['_key'])){for(var _0x3952ec=this[_0x8beda5(0x50a)]=this[_0x8beda5(0x238)],_0x6b8b76=_0x3952ec[_0x8beda5(0x52b)],_0x574ab9=_0x3952ec[_0x8beda5(0x277)]/0x4,_0x59b3f2=this['_nRounds']=_0x574ab9+0x6,_0x539832=(_0x59b3f2+0x1)*0x4,_0x10a7cd=this[_0x8beda5(0x284)]=[],_0x18758c=0x0;_0x18758c<_0x539832;_0x18758c++)_0x18758c<_0x574ab9?_0x10a7cd[_0x18758c]=_0x6b8b76[_0x18758c]:(_0x9c4ca0=_0x10a7cd[_0x18758c-0x1],_0x18758c%_0x574ab9?_0x574ab9>0x6&&_0x18758c%_0x574ab9==0x4&&(_0x9c4ca0=_0x18d05b[_0x9c4ca0>>>0x18]<<0x18|_0x18d05b[_0x9c4ca0>>>0x10&0xff]<<0x10|_0x18d05b[_0x9c4ca0>>>0x8&0xff]<<0x8|_0x18d05b[_0x9c4ca0&0xff]):(_0x9c4ca0=_0x9c4ca0<<0x8|_0x9c4ca0>>>0x18,_0x9c4ca0=_0x18d05b[_0x9c4ca0>>>0x18]<<0x18|_0x18d05b[_0x9c4ca0>>>0x10&0xff]<<0x10|_0x18d05b[_0x9c4ca0>>>0x8&0xff]<<0x8|_0x18d05b[_0x9c4ca0&0xff],_0x9c4ca0^=_0x3ed0b9[_0x18758c/_0x574ab9|0x0]<<0x18),_0x10a7cd[_0x18758c]=_0x10a7cd[_0x18758c-_0x574ab9]^_0x9c4ca0);for(var _0x58853a=this[_0x8beda5(0x3b4)]=[],_0x31cd83=0x0;_0x31cd83<_0x539832;_0x31cd83++){var _0x18758c=_0x539832-_0x31cd83;if(_0x31cd83%0x4)var _0x9c4ca0=_0x10a7cd[_0x18758c];else var _0x9c4ca0=_0x10a7cd[_0x18758c-0x4];_0x31cd83<0x4||_0x18758c<=0x4?_0x58853a[_0x31cd83]=_0x9c4ca0:_0x58853a[_0x31cd83]=_0x1d064b[_0x18d05b[_0x9c4ca0>>>0x18]]^_0x1e4fb0[_0x18d05b[_0x9c4ca0>>>0x10&0xff]]^_0x276fa7[_0x18d05b[_0x9c4ca0>>>0x8&0xff]]^_0x1bb142[_0x18d05b[_0x9c4ca0&0xff]];}}},'encryptBlock':function(_0xec5df3,_0x3ed946){var _0x4bac8e=_0x54424d;this['_doCryptBlock'](_0xec5df3,_0x3ed946,this[_0x4bac8e(0x284)],_0x106606,_0x33eb53,_0x1ec436,_0x44be77,_0x18d05b);},'decryptBlock':function(_0x47cf33,_0x394c8){var _0x1ab997=_0x54424d,_0x3554b9=_0x47cf33[_0x394c8+0x1];_0x47cf33[_0x394c8+0x1]=_0x47cf33[_0x394c8+0x3],_0x47cf33[_0x394c8+0x3]=_0x3554b9,this[_0x1ab997(0x283)](_0x47cf33,_0x394c8,this[_0x1ab997(0x3b4)],_0x1d064b,_0x1e4fb0,_0x276fa7,_0x1bb142,_0x16a62a);var _0x3554b9=_0x47cf33[_0x394c8+0x1];_0x47cf33[_0x394c8+0x1]=_0x47cf33[_0x394c8+0x3],_0x47cf33[_0x394c8+0x3]=_0x3554b9;},'_doCryptBlock':function(_0x5129e8,_0x1ecee4,_0x2a628a,_0x4b256a,_0x57bc7f,_0x22b24a,_0x59edbc,_0x23929f){for(var _0x44c32c=this['_nRounds'],_0x5740fc=_0x5129e8[_0x1ecee4]^_0x2a628a[0x0],_0x55dfe4=_0x5129e8[_0x1ecee4+0x1]^_0x2a628a[0x1],_0x5b42ea=_0x5129e8[_0x1ecee4+0x2]^_0x2a628a[0x2],_0x517c30=_0x5129e8[_0x1ecee4+0x3]^_0x2a628a[0x3],_0x4791e8=0x4,_0x15b6bf=0x1;_0x15b6bf<_0x44c32c;_0x15b6bf++){var _0x7c0b6e=_0x4b256a[_0x5740fc>>>0x18]^_0x57bc7f[_0x55dfe4>>>0x10&0xff]^_0x22b24a[_0x5b42ea>>>0x8&0xff]^_0x59edbc[_0x517c30&0xff]^_0x2a628a[_0x4791e8++],_0x13a288=_0x4b256a[_0x55dfe4>>>0x18]^_0x57bc7f[_0x5b42ea>>>0x10&0xff]^_0x22b24a[_0x517c30>>>0x8&0xff]^_0x59edbc[_0x5740fc&0xff]^_0x2a628a[_0x4791e8++],_0x1a9500=_0x4b256a[_0x5b42ea>>>0x18]^_0x57bc7f[_0x517c30>>>0x10&0xff]^_0x22b24a[_0x5740fc>>>0x8&0xff]^_0x59edbc[_0x55dfe4&0xff]^_0x2a628a[_0x4791e8++],_0x33bab0=_0x4b256a[_0x517c30>>>0x18]^_0x57bc7f[_0x5740fc>>>0x10&0xff]^_0x22b24a[_0x55dfe4>>>0x8&0xff]^_0x59edbc[_0x5b42ea&0xff]^_0x2a628a[_0x4791e8++];_0x5740fc=_0x7c0b6e,_0x55dfe4=_0x13a288,_0x5b42ea=_0x1a9500,_0x517c30=_0x33bab0;}var _0x7c0b6e=(_0x23929f[_0x5740fc>>>0x18]<<0x18|_0x23929f[_0x55dfe4>>>0x10&0xff]<<0x10|_0x23929f[_0x5b42ea>>>0x8&0xff]<<0x8|_0x23929f[_0x517c30&0xff])^_0x2a628a[_0x4791e8++],_0x13a288=(_0x23929f[_0x55dfe4>>>0x18]<<0x18|_0x23929f[_0x5b42ea>>>0x10&0xff]<<0x10|_0x23929f[_0x517c30>>>0x8&0xff]<<0x8|_0x23929f[_0x5740fc&0xff])^_0x2a628a[_0x4791e8++],_0x1a9500=(_0x23929f[_0x5b42ea>>>0x18]<<0x18|_0x23929f[_0x517c30>>>0x10&0xff]<<0x10|_0x23929f[_0x5740fc>>>0x8&0xff]<<0x8|_0x23929f[_0x55dfe4&0xff])^_0x2a628a[_0x4791e8++],_0x33bab0=(_0x23929f[_0x517c30>>>0x18]<<0x18|_0x23929f[_0x5740fc>>>0x10&0xff]<<0x10|_0x23929f[_0x55dfe4>>>0x8&0xff]<<0x8|_0x23929f[_0x5b42ea&0xff])^_0x2a628a[_0x4791e8++];_0x5129e8[_0x1ecee4]=_0x7c0b6e,_0x5129e8[_0x1ecee4+0x1]=_0x13a288,_0x5129e8[_0x1ecee4+0x2]=_0x1a9500,_0x5129e8[_0x1ecee4+0x3]=_0x33bab0;},'keySize':0x100/0x20});_0x3981b4[_0x54424d(0x2f1)]=_0x194c18[_0x54424d(0x3ad)](_0x1c30b5);}()),_0x1b921b['AES'];}));}(fe)),fe[_0x57e6e(0x2e2)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be['exports'],at;function Xi(){var _0x1d5298=_0x1a66bf;return at||(at=0x1,function(_0x55feac,_0x32547b){(function(_0x25fa0d,_0x47e96d){var _0x1e8ef6=_0x4a7d;_0x55feac[_0x1e8ef6(0x2e2)]=_0x47e96d(ee());}(Ji,function(_0x2a6240){var _0x422f38=_0x4a7d;return _0x2a6240[_0x422f38(0x224)][_0x422f38(0x26e)];}));}(be)),be[_0x1d5298(0x2e2)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re['exports'],ct;function tn(){return ct||(ct=0x1,function(_0x60f58d,_0x490a4b){(function(_0x33b42f,_0x18236d){var _0x4f877c=_0x4a7d;_0x60f58d[_0x4f877c(0x2e2)]=_0x18236d(ee());}(en,function(_0x4a8ddc){var _0x240489=_0x4a7d;return(function(){var _0x3c28f0=_0x4a7d;if(typeof ArrayBuffer==_0x3c28f0(0x436)){var _0x4e0349=_0x4a8ddc,_0x547bb7=_0x4e0349[_0x3c28f0(0x407)],_0x7c9f1e=_0x547bb7[_0x3c28f0(0x39f)],_0x3509e8=_0x7c9f1e[_0x3c28f0(0x376)],_0x2dd9e8=_0x7c9f1e['init']=function(_0x3e2de6){var _0x161b52=_0x3c28f0;if(_0x3e2de6 instanceof ArrayBuffer&&(_0x3e2de6=new Uint8Array(_0x3e2de6)),(_0x3e2de6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3e2de6 instanceof Uint8ClampedArray||_0x3e2de6 instanceof Int16Array||_0x3e2de6 instanceof Uint16Array||_0x3e2de6 instanceof Int32Array||_0x3e2de6 instanceof Uint32Array||_0x3e2de6 instanceof Float32Array||_0x3e2de6 instanceof Float64Array)&&(_0x3e2de6=new Uint8Array(_0x3e2de6[_0x161b52(0x42a)],_0x3e2de6['byteOffset'],_0x3e2de6[_0x161b52(0x3b3)])),_0x3e2de6 instanceof Uint8Array){for(var _0x4d4f1a=_0x3e2de6[_0x161b52(0x3b3)],_0x36b3b1=[],_0xea9ea6=0x0;_0xea9ea6<_0x4d4f1a;_0xea9ea6++)_0x36b3b1[_0xea9ea6>>>0x2]|=_0x3e2de6[_0xea9ea6]<<0x18-_0xea9ea6%0x4*0x8;_0x3509e8['call'](this,_0x36b3b1,_0x4d4f1a);}else _0x3509e8[_0x161b52(0x378)](this,arguments);};_0x2dd9e8[_0x3c28f0(0x49e)]=_0x7c9f1e;}}()),_0x4a8ddc['lib'][_0x240489(0x39f)];}));}(Re)),Re['exports'];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x1a66bf(0x2e2)],ht;function on(){var _0x20a6b8=_0x1a66bf;return ht||(ht=0x1,function(_0x589fd7,_0x31a3ec){(function(_0x563a06,_0x12b766,_0x1b367a){var _0x17d081=_0x4a7d;_0x589fd7[_0x17d081(0x2e2)]=_0x12b766(ee(),Pt());}(sn,function(_0x4a7445){var _0x534f48=_0x4a7d;return _0x4a7445[_0x534f48(0x2f0)][_0x534f48(0x52e)]={'pad':function(){},'unpad':function(){}},_0x4a7445['pad'][_0x534f48(0x52e)];}));}(ye)),ye[_0x20a6b8(0x2e2)];}var an=on();const cn=Se(an);function hn(_0x4cc105,_0x1e1f8b){var _0x56e61c=_0x1a66bf;const _0x4da37a=_0x1e1f8b-_0x4cc105[_0x56e61c(0x390)]%_0x1e1f8b,_0x1fb93=String[_0x56e61c(0x2bd)](_0x4da37a)[_0x56e61c(0x4fb)](_0x4da37a);return _0x4cc105+_0x1fb93;}function ln(_0x2928f5,_0x50076e){var _0x2e334a=_0x1a66bf;const _0x29721e=rn[_0x2e334a(0x430)](0x10),_0x3f8c96=hn(_0x2928f5,0x10),_0x489705=qi[_0x2e334a(0x20f)](Qi[_0x2e334a(0x4fd)](_0x3f8c96),ot[_0x2e334a(0x4fd)](_0x50076e),{'iv':_0x29721e,'padding':cn});return _0x29721e[_0x2e334a(0x4e8)](_0x489705[_0x2e334a(0x4df)])[_0x2e334a(0x545)](ot);}function _n(){var _0x47065a=_0x1a66bf;const _0x317e4b=xt[_0x47065a(0x509)]()[_0x47065a(0x3de)];if(_0x317e4b){const _0x3f19d1={'time':Math['floor'](Date[_0x47065a(0x33c)]()/0x3e8),'domain':location[_0x47065a(0x323)]};return ln(JSON['stringify'](_0x3f19d1),_0x317e4b);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x263a32,_0x1d14ba,_0x3ad664,_0x47ee68)=>{for(var _0x34fe89=_0x47ee68>0x1?void 0x0:_0x47ee68?un(_0x1d14ba,_0x3ad664):_0x1d14ba,_0x97e00f=_0x263a32['length']-0x1,_0x5997df;_0x97e00f>=0x0;_0x97e00f--)(_0x5997df=_0x263a32[_0x97e00f])&&(_0x34fe89=_0x5997df(_0x34fe89)||_0x34fe89);return _0x34fe89;},vn=(_0x29640c,_0x40306f)=>(_0x11585f,_0x423202)=>_0x40306f(_0x11585f,_0x423202,_0x29640c);let Ne=class{constructor(_0x39a910){var _0x279156=_0x1a66bf;this[_0x279156(0x3a2)]=_0x39a910,this[_0x279156(0x451)]();}[_0x1a66bf(0x451)](){var _0x1273db=_0x1a66bf;this[_0x1273db(0x3a2)]['registerHTTPInterceptor']({'interceptor':(_0x25ff2e,_0x22160a)=>{var _0x408623=_0x1273db;const _0x1bcea5=_0x25ff2e['headers'],_0x367917=_n();return _0x367917&&_0x1bcea5[_0x408623(0x2fd)](_0x408623(0x4ff),_0x367917),_0x22160a(_0x25ff2e);}});}};Ne=dn([vn(0x0,a[_0x1a66bf(0x3be)](q[_0x1a66bf(0x279)]))],Ne);var Sn=Object[_0x1a66bf(0x31a)],fn=(_0xdbff0c,_0x1834fd,_0x2d7c7b,_0x4790f1)=>{var _0x48f428=_0x1a66bf;for(var _0xe07f0c=_0x4790f1>0x1?void 0x0:_0x4790f1?Sn(_0x1834fd,_0x2d7c7b):_0x1834fd,_0x31a6f7=_0xdbff0c[_0x48f428(0x390)]-0x1,_0x45f8b6;_0x31a6f7>=0x0;_0x31a6f7--)(_0x45f8b6=_0xdbff0c[_0x31a6f7])&&(_0xe07f0c=_0x45f8b6(_0xe07f0c)||_0xe07f0c);return _0xe07f0c;},Me=(_0x1c2e45,_0x4c7bf0)=>(_0x27a66a,_0x66ed7f)=>_0x4c7bf0(_0x27a66a,_0x66ed7f,_0x1c2e45);exports['DataLoaderService']=class extends a[_0x1a66bf(0x535)]{constructor(_0x20ec54,_0x134e69,_0x472797){var _0x394225=_0x1a66bf;super(),A(this,_0x394225(0x1e6),new j[(_0x394225(0x440))](null)),A(this,_0x394225(0x418),this[_0x394225(0x1e6)][_0x394225(0x3c0)]()),(this['_logService']=_0x20ec54,this[_0x394225(0x1df)]=_0x134e69,this[_0x394225(0x2c4)]=_0x472797);}async[_0x1a66bf(0x1fd)](_0x192a4f,_0x37d404,_0x14bf9a){var _0x2428e5=_0x1a66bf;this[_0x2428e5(0x1e6)]['next']({'unitId':_0x192a4f,'type':_0x37d404,'subUnitId':_0x14bf9a});let _0xe1486f=null;switch(_0x37d404){case X['UNIVER_SHEET']:{_0xe1486f=await this[_0x2428e5(0x21e)](_0x192a4f);break;}case X[_0x2428e5(0x1e4)]:{_0xe1486f=await this['_loadDoc'](_0x192a4f);break;}default:{this[_0x2428e5(0x3d9)][_0x2428e5(0x420)](_0x2428e5(0x447),_0x2428e5(0x461));break;}}return _0xe1486f;}async[_0x1a66bf(0x21e)](_0x197c51){var _0x23c95e=_0x1a66bf,_0x912701;let _0x580468=0x0;const _0x5d18bf=await((_0x912701=this[_0x23c95e(0x2c4)])==null?void 0x0:_0x912701[_0x23c95e(0x4ae)](_0x197c51));return _0x5d18bf&&(_0x5d18bf[_0x23c95e(0x4d6)]||_0x5d18bf[_0x23c95e(0x28f)][_0x23c95e(0x390)]!==0x0)&&(_0x580468=_0x5d18bf['rev']),_0x580468===0x0&&this[_0x23c95e(0x3d9)]['debug']('[DataLoaderService]',_0x23c95e(0x298)),this[_0x23c95e(0x1df)][_0x23c95e(0x366)](_0x197c51,_0x580468);}async[_0x1a66bf(0x3a7)](_0x23f563){var _0x4bd761=_0x1a66bf,_0x73cf30;let _0x3f31b9=0x0;const _0x4ddeae=await((_0x73cf30=this[_0x4bd761(0x2c4)])==null?void 0x0:_0x73cf30[_0x4bd761(0x4ae)](_0x23f563));return _0x4ddeae&&(_0x4ddeae[_0x4bd761(0x4d6)]||_0x4ddeae[_0x4bd761(0x28f)][_0x4bd761(0x390)]!==0x0)&&(_0x3f31b9=_0x4ddeae[_0x4bd761(0x448)]),_0x3f31b9===0x0&&this[_0x4bd761(0x3d9)][_0x4bd761(0x312)](_0x4bd761(0x447),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x4bd761(0x1df)][_0x4bd761(0x3f2)](_0x23f563,_0x3f31b9);}},exports[_0x1a66bf(0x214)]=fn([Me(0x0,a['ILogService']),Me(0x1,a[_0x1a66bf(0x3be)](g[_0x1a66bf(0x330)])),Me(0x2,a[_0x1a66bf(0x4f0)](z))],exports[_0x1a66bf(0x214)]);var pn=Object[_0x1a66bf(0x31a)],gn=(_0x346b15,_0x250db8,_0x4054b2,_0x2d7866)=>{var _0xa07de5=_0x1a66bf;for(var _0x14335a=_0x2d7866>0x1?void 0x0:_0x2d7866?pn(_0x250db8,_0x4054b2):_0x250db8,_0x278b83=_0x346b15[_0xa07de5(0x390)]-0x1,_0x35a150;_0x278b83>=0x0;_0x278b83--)(_0x35a150=_0x346b15[_0x278b83])&&(_0x14335a=_0x35a150(_0x14335a)||_0x14335a);return _0x14335a;},xe=(_0x43dd98,_0x19bee7)=>(_0x44b525,_0x1951f1)=>_0x19bee7(_0x44b525,_0x1951f1,_0x43dd98);const mn=['image/png','image/jpeg',_0x1a66bf(0x4eb),_0x1a66bf(0x2ae),_0x1a66bf(0x31f)],In=0x5*0x400*0x400,En=_0x1a66bf(0x439),Cn=_0x1a66bf(0x32c),Tn=_0x1a66bf(0x346),bn=_0x1a66bf(0x4c3);exports[_0x1a66bf(0x4b8)]=class{constructor(_0x46204e,_0xac0606,_0x522f6b){var _0x145424=_0x1a66bf;A(this,_0x145424(0x478),0x0),A(this,_0x145424(0x28b),new j[(_0x145424(0x457))]()),A(this,'change$',this['_change$']),A(this,_0x145424(0x21a),new Map()),(this[_0x145424(0x3a2)]=_0x46204e,this[_0x145424(0x2d6)]=_0xac0606,this[_0x145424(0x361)]=_0x522f6b);}['setWaitCount'](_0x231c17){var _0x5b52c1=_0x1a66bf;this[_0x5b52c1(0x478)]=_0x231c17,this[_0x5b52c1(0x28b)][_0x5b52c1(0x4d0)](_0x231c17);}[_0x1a66bf(0x354)](_0xcb8d56,_0x1909ea){var _0x296ecd=_0x1a66bf;if(_0x1909ea===J[_0x296ecd(0x3bd)][_0x296ecd(0x466)]){const _0x50435b=new Image();return _0x50435b[_0x296ecd(0x51a)]=_0xcb8d56,_0x50435b;}return this[_0x296ecd(0x21a)]['get'](_0xcb8d56);}['addImageSourceCache'](_0x3f8732,_0xf07e3b,_0x5b451d){var _0x599581=_0x1a66bf;_0xf07e3b===J[_0x599581(0x3bd)]['BASE64']||_0x5b451d==null||this[_0x599581(0x21a)]['set'](_0x3f8732,_0x5b451d);}async[_0x1a66bf(0x26a)](_0x22198c){var _0x4bf2ff=_0x1a66bf;try{const _0x3a2e54=this['_replaceFileID'](this[_0x4bf2ff(0x38e)](),''+_0x22198c),_0x44fb3b=(await this[_0x4bf2ff(0x3a2)][_0x4bf2ff(0x3eb)](_0x3a2e54))[_0x4bf2ff(0x1e3)];if(_0x44fb3b[_0x4bf2ff(0x420)]&&_0x44fb3b[_0x4bf2ff(0x420)][_0x4bf2ff(0x50d)]===Ct['OK']){const _0x5a2ca7=new URL(_0x44fb3b[_0x4bf2ff(0x44a)],this['_getDownloadEndpointURL']())[_0x4bf2ff(0x545)]();return Promise[_0x4bf2ff(0x3e1)](_0x5a2ca7);}return Promise['reject'](_0x44fb3b[_0x4bf2ff(0x420)]);}catch(_0x3b4fe0){return Promise[_0x4bf2ff(0x337)](_0x3b4fe0);}}async[_0x1a66bf(0x38c)](_0x4eba82){var _0x4c0904=_0x1a66bf;let _0x4f6285='';if(!mn[_0x4c0904(0x4b1)](_0x4eba82[_0x4c0904(0x3f1)]))return this[_0x4c0904(0x245)](),Promise[_0x4c0904(0x337)](new Error(J[_0x4c0904(0x1fc)][_0x4c0904(0x231)]));if(_0x4eba82[_0x4c0904(0x1fe)]>In)return this['_decreaseWaiting'](),Promise['reject'](new Error(J[_0x4c0904(0x1fc)][_0x4c0904(0x374)]));try{const _0x1e355c=new FormData();_0x1e355c['append'](_0x4c0904(0x531),_0x4eba82);const _0x27a623=this[_0x4c0904(0x361)][_0x4c0904(0x370)](),_0x2d3b7e=_0x27a623==null?void 0x0:_0x27a623[_0x4c0904(0x40f)]();if(!_0x2d3b7e)throw new Error('unitId\x20is\x20not\x20found');const _0x4b1f9b=this['_getUploadFileURL']()+_0x4c0904(0x308)+_0x4eba82['size'][_0x4c0904(0x545)]()+'&source='+Tt['UnitEmbedded']+_0x4c0904(0x4a9)+encodeURIComponent(_0x2d3b7e),_0x2b6883=await(await fetch(_0x4b1f9b,{'method':_0x4c0904(0x408),'body':_0x1e355c}))['json']();if(typeof _0x2b6883[_0x4c0904(0x265)]!='string')return this['_decreaseWaiting'](),Promise['reject'](new Error(J[_0x4c0904(0x1fc)]['ERROR_IMAGE']));_0x4f6285=_0x2b6883['FileId'];}catch{return this[_0x4c0904(0x245)](),Promise[_0x4c0904(0x337)](new Error(J[_0x4c0904(0x1fc)][_0x4c0904(0x494)]));}return new Promise((_0x1bc11f,_0x50fde8)=>{var _0x20bdba=_0x4c0904;const _0x8f9d08=new FileReader();_0x8f9d08[_0x20bdba(0x2cb)](_0x4eba82),_0x8f9d08[_0x20bdba(0x503)]=_0x5e85e4=>{var _0x46397d=_0x20bdba,_0x4b292b;const _0x4a41b2=(_0x4b292b=_0x5e85e4[_0x46397d(0x2d9)])==null?void 0x0:_0x4b292b[_0x46397d(0x32d)];if(_0x4a41b2==null){this[_0x46397d(0x245)](),_0x50fde8(new Error(J[_0x46397d(0x1fc)]['ERROR_IMAGE']));return;}const _0x58755a=a['Tools'][_0x46397d(0x29d)](0x6);_0x1bc11f({'imageId':_0x58755a,'imageSourceType':J[_0x46397d(0x3bd)][_0x46397d(0x2f6)],'source':_0x4f6285,'base64Cache':_0x4a41b2,'status':J['ImageUploadStatusType'][_0x46397d(0x53b)]}),this[_0x46397d(0x245)]();};});}[_0x1a66bf(0x39d)](){var _0x35081e=_0x1a66bf,_0x39f53d,_0x5e2f4d;const _0x28f20e=this[_0x35081e(0x2d6)][_0x35081e(0x385)](En),_0x33b96a=this['_configService'][_0x35081e(0x385)](Y);return(_0x5e2f4d=(_0x39f53d=_0x33b96a==null?void 0x0:_0x33b96a[_0x35081e(0x3da)])!=null?_0x39f53d:_0x28f20e)!=null?_0x5e2f4d:Cn;}['_getSignURL'](){var _0x479114=_0x1a66bf,_0x4bb67d,_0xf9ca60;const _0x306b7d=this[_0x479114(0x2d6)][_0x479114(0x385)](Tn),_0x2f2dc6=this[_0x479114(0x2d6)][_0x479114(0x385)](Y);return(_0xf9ca60=(_0x4bb67d=_0x2f2dc6==null?void 0x0:_0x2f2dc6['signUrlServerUrl'])!=null?_0x4bb67d:_0x306b7d)!=null?_0xf9ca60:bn;}[_0x1a66bf(0x48e)](){var _0x298f53=_0x1a66bf,_0xf00ec8;const _0x1a871c=this[_0x298f53(0x2d6)]['getConfig'](Y);return(_0xf00ec8=_0x1a871c==null?void 0x0:_0x1a871c['downloadEndpointUrl'])!=null?_0xf00ec8:location[_0x298f53(0x32a)];}['_replaceFileID'](_0x54e67f,_0x418de0){var _0x44eb55=_0x1a66bf;return _0x54e67f[_0x44eb55(0x32b)](_0x44eb55(0x497),_0x418de0);}[_0x1a66bf(0x245)](){var _0x44f16b=_0x1a66bf;this[_0x44f16b(0x478)]-=0x1,this[_0x44f16b(0x28b)][_0x44f16b(0x4d0)](this[_0x44f16b(0x478)]);}},exports[_0x1a66bf(0x4b8)]=gn([xe(0x0,a[_0x1a66bf(0x3be)](q[_0x1a66bf(0x279)])),xe(0x1,a[_0x1a66bf(0x28e)]),xe(0x2,a[_0x1a66bf(0x3be)](a['IUniverInstanceService']))],exports['CollaborationImageIoService']);var Rn=Object[_0x1a66bf(0x31a)],yn=(_0x33c6b3,_0x1cdccf,_0x49699b,_0x49765a)=>{var _0x50f2ad=_0x1a66bf;for(var _0x468730=_0x49765a>0x1?void 0x0:_0x49765a?Rn(_0x1cdccf,_0x49699b):_0x1cdccf,_0x5cb9da=_0x33c6b3[_0x50f2ad(0x390)]-0x1,_0x5b024e;_0x5cb9da>=0x0;_0x5cb9da--)(_0x5b024e=_0x33c6b3[_0x5cb9da])&&(_0x468730=_0x5b024e(_0x468730)||_0x468730);return _0x468730;},lt=(_0x5d6283,_0x2bce8b)=>(_0x35d9df,_0x18111f)=>_0x2bce8b(_0x35d9df,_0x18111f,_0x5d6283);const On=_0x1a66bf(0x212);exports['MentionIoHttpService']=class{constructor(_0x21401a,_0x15c584){var _0x38ac65=_0x1a66bf;this[_0x38ac65(0x2d6)]=_0x21401a,this[_0x38ac65(0x4d3)]=_0x15c584;}[_0x1a66bf(0x2b4)](){var _0x19519c=_0x1a66bf,_0x333d00,_0x710572;const _0x581c0c=this[_0x19519c(0x2d6)]['getConfig'](Ge),_0x39ed2f=this[_0x19519c(0x2d6)][_0x19519c(0x385)](Y);return(_0x710572=(_0x333d00=_0x39ed2f==null?void 0x0:_0x39ed2f['authzUrl'])!=null?_0x333d00:_0x581c0c)!=null?_0x710572:On;}async[_0x1a66bf(0x228)](_0xa625e3){var _0xd28d78=_0x1a66bf;const _0xa0294=this[_0xd28d78(0x2b4)]()+_0xd28d78(0x203);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0xd28d78(0x3eb)](_0xa0294,{'params':{'objectID':_0xa625e3[_0xd28d78(0x39c)],'unitID':_0xa625e3[_0xd28d78(0x39c)]}}))[_0xd28d78(0x1e3)][_0xd28d78(0x273)][_0xd28d78(0x394)](_0x2893b3=>({'objectId':_0x2893b3['id'],'name':_0x2893b3['subject'][_0xd28d78(0x294)],'metadata':{'icon':_0x2893b3[_0xd28d78(0x441)]['avatar']},'label':_0x2893b3[_0xd28d78(0x441)][_0xd28d78(0x294)],'objectType':a[_0xd28d78(0x3bf)]['PERSON']})),'metadata':{},'type':a[_0xd28d78(0x3bf)][_0xd28d78(0x46c)]}]};}},exports[_0x1a66bf(0x342)]=yn([lt(0x0,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x28e)])),lt(0x1,a['Inject'](q[_0x1a66bf(0x279)]))],exports[_0x1a66bf(0x342)]);var Nn=Object['getOwnPropertyDescriptor'],Dn=(_0xdc0f2a,_0x130a21,_0x2bdb3f,_0x236a61)=>{var _0x3656e0=_0x1a66bf;for(var _0x83fbf4=_0x236a61>0x1?void 0x0:_0x236a61?Nn(_0x130a21,_0x2bdb3f):_0x130a21,_0x14c825=_0xdc0f2a[_0x3656e0(0x390)]-0x1,_0x1826f8;_0x14c825>=0x0;_0x14c825--)(_0x1826f8=_0xdc0f2a[_0x14c825])&&(_0x83fbf4=_0x1826f8(_0x83fbf4)||_0x83fbf4);return _0x83fbf4;},ue=(_0x1911aa,_0x456059)=>(_0x27bf36,_0x407196)=>_0x456059(_0x27bf36,_0x407196,_0x1911aa);let De=class extends a[_0x1a66bf(0x535)]{constructor(_0x5c8e0b,_0x1fa340,_0x49638a,_0x2cd413,_0x5c6480){var _0xcd6685=_0x1a66bf;super(),this['_injector']=_0x5c8e0b,this[_0xcd6685(0x361)]=_0x1fa340,this[_0xcd6685(0x310)]=_0x49638a,this[_0xcd6685(0x3cf)]=_0x2cd413,this[_0xcd6685(0x4f5)]=_0x5c6480,this[_0xcd6685(0x31b)](),this[_0xcd6685(0x383)]();}[_0x1a66bf(0x383)](){var _0x1bf138=_0x1a66bf;const _0x48a2d3=async _0x3efbf3=>{var _0x3aaa8d=_0x4a7d;(await this[_0x3aaa8d(0x3cf)][_0x3aaa8d(0x2b0)](_0x3efbf3))[_0x3aaa8d(0x437)][_0x3aaa8d(0x489)](V[_0x3aaa8d(0x2e6)](_0x34a020=>_0x34a020['eventID']===g[_0x3aaa8d(0x315)][_0x3aaa8d(0x30a)]),V[_0x3aaa8d(0x4e2)](this[_0x3aaa8d(0x2c3)]))[_0x3aaa8d(0x443)](_0x26fafa=>{var _0x1c6698=_0x3aaa8d;const _0x1ae15d=_0x26fafa,{reason:_0x35412b}=_0x1ae15d[_0x1c6698(0x22f)];this['_collaborationUIEventService'][_0x1c6698(0x37b)]({'id':Q[_0x1c6698(0x2a5)],'data':_0x35412b}),this[_0x1c6698(0x310)][_0x1c6698(0x2bf)](new Z['WorkbookEditablePermission'](_0x3efbf3)['id'],!0x1),this[_0x1c6698(0x3cf)]['closeSession'](_0x3efbf3);});};j[_0x1bf138(0x25e)](this['_univerInstanceService'][_0x1bf138(0x27e)](a[_0x1bf138(0x49c)][_0x1bf138(0x4e9)]),this[_0x1bf138(0x361)][_0x1bf138(0x27e)](a[_0x1bf138(0x49c)][_0x1bf138(0x1e4)]))[_0x1bf138(0x489)](V[_0x1bf138(0x394)](_0x3c67c3=>_0x3c67c3['getUnitId']()),V[_0x1bf138(0x2e6)](_0xd82f80=>!a[_0x1bf138(0x292)](_0xd82f80)),V['takeUntil'](this[_0x1bf138(0x2c3)]))[_0x1bf138(0x443)](_0x23c1c2=>{_0x48a2d3(_0x23c1c2);});}['_initUnitPermissionChange'](){var _0x1d3c5e=_0x1a66bf;const _0x3079a3=async _0x9218b0=>{var _0x20c584=_0x4a7d;const _0x40373c=await this[_0x20c584(0x3cf)][_0x20c584(0x2b0)](_0x9218b0),_0x2f6b75=this[_0x20c584(0x209)]['get'](Z[_0x20c584(0x2f8)]);_0x40373c[_0x20c584(0x437)][_0x20c584(0x489)](V['filter'](_0x1bdc00=>_0x1bdc00[_0x20c584(0x2f3)]===g[_0x20c584(0x315)]['UPDATE_PERMISSION_OBJ']),V[_0x20c584(0x4e2)](this[_0x20c584(0x2c3)]))[_0x20c584(0x443)](_0x54779e=>{var _0x2d15ac=_0x20c584;const _0x2d5dee=_0x54779e,{objectId:_0x5ec9e4}=_0x2d5dee[_0x2d15ac(0x22f)];_0x5ec9e4===_0x9218b0?_0x2f6b75[_0x2d15ac(0x36d)](_0x9218b0):_0x2f6b75['refreshPermission'](_0x9218b0,_0x5ec9e4);});};j[_0x1d3c5e(0x25e)](this[_0x1d3c5e(0x361)][_0x1d3c5e(0x27e)](a['UniverInstanceType'][_0x1d3c5e(0x4e9)]))[_0x1d3c5e(0x489)](V[_0x1d3c5e(0x394)](_0x3de3fb=>_0x3de3fb[_0x1d3c5e(0x40f)]()),V[_0x1d3c5e(0x2e6)](_0x23c226=>!a[_0x1d3c5e(0x292)](_0x23c226)),V[_0x1d3c5e(0x4e2)](this[_0x1d3c5e(0x2c3)]))['subscribe'](_0x2a66ec=>{_0x3079a3(_0x2a66ec);});}};De=Dn([ue(0x0,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x53d)])),ue(0x1,a[_0x1a66bf(0x3a8)]),ue(0x2,a[_0x1a66bf(0x4c4)]),ue(0x3,a[_0x1a66bf(0x3be)](exports[_0x1a66bf(0x23c)])),ue(0x4,a[_0x1a66bf(0x3be)](te))],De);var Un=Object[_0x1a66bf(0x31a)],An=(_0x56c9bf,_0x295332,_0x5db403,_0x5e1524)=>{var _0x266d84=_0x1a66bf;for(var _0x3ac5c0=_0x5e1524>0x1?void 0x0:_0x5e1524?Un(_0x295332,_0x5db403):_0x295332,_0xf26048=_0x56c9bf[_0x266d84(0x390)]-0x1,_0x5d8c6f;_0xf26048>=0x0;_0xf26048--)(_0x5d8c6f=_0x56c9bf[_0xf26048])&&(_0x3ac5c0=_0x5d8c6f(_0x3ac5c0)||_0x3ac5c0);return _0x3ac5c0;},_t=(_0x9775ac,_0x59f5c2)=>(_0x3eaff7,_0x5f0504)=>_0x59f5c2(_0x3eaff7,_0x5f0504,_0x9775ac);exports[_0x1a66bf(0x415)]=class{constructor(_0x5a8aac,_0x537e9f){var _0xea4ba=_0x1a66bf;this[_0xea4ba(0x2d6)]=_0x5a8aac,this[_0xea4ba(0x3a2)]=_0x537e9f;}async[_0x1a66bf(0x34a)](_0x56714a,_0xc894ac){var _0x1cfdb9=_0x1a66bf,_0x4f6429;const {unitID:_0x1b7a53,type:_0x20c593,revision:_0x5c52a7=0x0}=_0xc894ac,_0x88ab72=this[_0x1cfdb9(0x332)]()+'/'+_0x20c593+'/unit/'+_0x1b7a53+_0x1cfdb9(0x30f)+_0x5c52a7,_0xd4cdb=(await this[_0x1cfdb9(0x3a2)][_0x1cfdb9(0x3eb)](_0x88ab72))[_0x1cfdb9(0x1e3)],_0x4b19fd=(_0x4f6429=_0xd4cdb[_0x1cfdb9(0x435)])==null?void 0x0:_0x4f6429[_0x1cfdb9(0x381)];if(_0x4b19fd){const _0x2eef34=_0x4b19fd==null?void 0x0:_0x4b19fd[_0x1cfdb9(0x462)],_0x3a859f=g[_0x1cfdb9(0x20d)][_0x1cfdb9(0x4a7)](g[_0x1cfdb9(0x548)](_0x2eef34));_0x4b19fd[_0x1cfdb9(0x462)]=_0x3a859f,Object[_0x1cfdb9(0x45b)](_0x4b19fd[_0x1cfdb9(0x47f)])[_0x1cfdb9(0x4c0)](([,_0x3b845d])=>{var _0x53be40=_0x1cfdb9;const _0x1cef7e=_0x3b845d[_0x53be40(0x462)],_0x505639=g[_0x53be40(0x20d)]['encode'](g[_0x53be40(0x548)](_0x1cef7e));_0x3b845d[_0x53be40(0x462)]=_0x505639;});}return _0xd4cdb;}async[_0x1a66bf(0x343)](_0x204c67,_0x2824a7){var _0x468929=_0x1a66bf;const {unitID:_0x94a467,type:_0xa89e7a,blockID:_0x235bc8}=_0x2824a7,_0x5a89a9=this[_0x468929(0x20a)]()+'/'+_0xa89e7a+_0x468929(0x29c)+_0x94a467+_0x468929(0x4c1)+_0x235bc8;return(await this[_0x468929(0x3a2)][_0x468929(0x3eb)](_0x5a89a9))[_0x468929(0x1e3)];}async['getDeserializedSheetBlock'](_0xc7c823,_0x56af11){var _0x5ebc91=_0x1a66bf;const {unitID:_0x17c1f7,type:_0x2d58c7,blockID:_0x1dbcd4}=_0x56af11,_0x4d295e=this[_0x5ebc91(0x20a)]()+_0x5ebc91(0x4c1)+_0x2d58c7+'/unit/'+_0x17c1f7+_0x5ebc91(0x4c1)+_0x1dbcd4;return(await this[_0x5ebc91(0x3a2)]['get'](_0x4d295e))['body'];}async[_0x1a66bf(0x540)](_0x4716c8,_0xdf6619){var _0xd3769f=_0x1a66bf;const {unitID:_0x163a25,type:_0x2f1cf2,from:_0x5312a8,to:_0x200859}=_0xdf6619,_0xe2e64e=this[_0xd3769f(0x20a)]()+'/'+_0x2f1cf2+_0xd3769f(0x29c)+_0x163a25+'/fetchmissing?from='+_0x5312a8+'&to='+_0x200859;return(await this[_0xd3769f(0x3a2)][_0xd3769f(0x3eb)](_0xe2e64e))[_0xd3769f(0x1e3)];}['getSnapshotAPIPath'](){var _0x51ce19=_0x1a66bf,_0x2ca01c;return(_0x2ca01c=this[_0x51ce19(0x2d6)]['getConfig'](vt))!=null?_0x2ca01c:this[_0x51ce19(0x20a)]();}['_getAPIPrefix'](){var _0x2407ee=_0x1a66bf,_0x10df80,_0x4d4d27;const _0x5879d4=this['_configService']['getConfig'](dt),_0xcd9db1=this[_0x2407ee(0x2d6)][_0x2407ee(0x385)](Y);return(_0x4d4d27=(_0x10df80=_0xcd9db1==null?void 0x0:_0xcd9db1['snapshotServerUrl'])!=null?_0x10df80:_0x5879d4)!=null?_0x4d4d27:kt;}async[_0x1a66bf(0x2a9)](_0x1e7c37,_0x171a98){var _0x50ef4a=_0x1a66bf;const _0x4de8e5=_0x50ef4a(0x4d1)+_0x171a98[_0x50ef4a(0x3f1)]+'/unit/'+_0x171a98[_0x50ef4a(0x304)]+_0x50ef4a(0x3c2);return(await this[_0x50ef4a(0x3a2)]['get'](_0x4de8e5,{'params':{'resourceId':JSON[_0x50ef4a(0x2ff)](_0x171a98[_0x50ef4a(0x218)])}}))[_0x50ef4a(0x1e3)];}[_0x1a66bf(0x252)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1a66bf(0x471)](){var _0x2e17ea=_0x1a66bf;throw new Error(_0x2e17ea(0x3dd));}['saveChangeset'](){var _0x387940=_0x1a66bf;throw new Error(_0x387940(0x3dd));}['copyFileMeta'](){var _0x3b52c8=_0x1a66bf;throw new Error(_0x3b52c8(0x3dd));}[_0x1a66bf(0x215)](){var _0xab7ba5=_0x1a66bf;throw new Error(_0xab7ba5(0x3dd));}},exports[_0x1a66bf(0x415)]=An([_t(0x0,a[_0x1a66bf(0x28e)]),_t(0x1,a['Inject'](q[_0x1a66bf(0x279)]))],exports[_0x1a66bf(0x415)]);var Pn=Object[_0x1a66bf(0x31a)],wn=(_0x4ef6a9,_0x13cfec,_0x4e213f,_0x3d2105)=>{var _0x276a97=_0x1a66bf;for(var _0x2d9f41=_0x3d2105>0x1?void 0x0:_0x3d2105?Pn(_0x13cfec,_0x4e213f):_0x13cfec,_0x49578c=_0x4ef6a9[_0x276a97(0x390)]-0x1,_0x54b346;_0x49578c>=0x0;_0x49578c--)(_0x54b346=_0x4ef6a9[_0x49578c])&&(_0x2d9f41=_0x54b346(_0x2d9f41)||_0x2d9f41);return _0x2d9f41;},de=(_0x800e3c,_0x1333df)=>(_0x26d278,_0xe875)=>_0x1333df(_0x26d278,_0xe875,_0x800e3c);exports[_0x1a66bf(0x2e8)]=class extends a['LocalUndoRedoService']{constructor(_0x452d44,_0x5cf2c1,_0x18a75b,_0x345028,_0x235760){var _0x457d69=_0x1a66bf;super(_0x452d44,_0x5cf2c1,_0x18a75b),this[_0x457d69(0x4ef)]=_0x345028,this['_logService']=_0x235760;}['transformUndoRedo'](_0x31b3e5,_0x334d74){var _0x2e0a1e=_0x1a66bf;const _0x681815=this['_getUndoStack'](_0x31b3e5);if(_0x681815)try{const _0x491d60=this[_0x2e0a1e(0x274)](_0x681815,_0x334d74);this[_0x2e0a1e(0x4c5)](_0x31b3e5,_0x491d60);}catch(_0x3d6199){this[_0x2e0a1e(0x3d9)][_0x2e0a1e(0x420)](_0x2e0a1e(0x268),_0x3d6199),this['_clearUndo'](_0x31b3e5);}const _0x2f7f23=this['_getRedoStack'](_0x31b3e5);if(_0x2f7f23)try{const _0x2cdeea=this[_0x2e0a1e(0x274)](_0x2f7f23,_0x334d74);this['_substituteRedoStack'](_0x31b3e5,_0x2cdeea);}catch(_0x3e4014){this[_0x2e0a1e(0x3d9)][_0x2e0a1e(0x420)](_0x3e4014),this[_0x2e0a1e(0x305)](_0x31b3e5);}}['_clearUndo'](_0x5e3ccc){var _0x19896e=_0x1a66bf;const _0x43b7d2=this['_getUndoStack'](_0x5e3ccc);_0x43b7d2&&(_0x43b7d2[_0x19896e(0x390)]=0x0,this[_0x19896e(0x395)]());}[_0x1a66bf(0x305)](_0x1d72ed){var _0x4a32cc=_0x1a66bf;const _0xaf49f4=this[_0x4a32cc(0x2f2)](_0x1d72ed);_0xaf49f4&&(_0xaf49f4[_0x4a32cc(0x390)]=0x0,this['_updateStatus']());}[_0x1a66bf(0x4c5)](_0x4719e7,_0x449a25){var _0x545f5f=_0x1a66bf;this[_0x545f5f(0x24c)][_0x545f5f(0x2fd)](_0x4719e7,_0x449a25),this[_0x545f5f(0x395)]();}['_substituteRedoStack'](_0x38c83e,_0xeac2f1){var _0x5098f2=_0x1a66bf;this[_0x5098f2(0x2c9)]['set'](_0x38c83e,_0xeac2f1),this['_updateStatus']();}[_0x1a66bf(0x274)](_0x51e33a,_0x3ee899){var _0x19c6f4=_0x1a66bf;const _0x22239a=[];let _0xd75070=_0x3ee899,_0xbb65e6=_0x3ee899;for(let _0xcbac36=_0x51e33a['length']-0x1;_0xcbac36>=0x0;_0xcbac36--){const {unitID:_0xe0545e,undoMutations:_0x31cbef,redoMutations:_0xad3771}=_0x51e33a[_0xcbac36],_0x1f47a8=this[_0x19c6f4(0x4ef)][_0x19c6f4(0x4f8)](_0xd75070,_0x31cbef),_0x40a4e3=this[_0x19c6f4(0x4ef)][_0x19c6f4(0x4f8)](_0xbb65e6,_0xad3771);if(g[_0x19c6f4(0x327)](_0x1f47a8)||g[_0x19c6f4(0x327)](_0x40a4e3)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x19c6f4(0x41c),_0x1f47a8,_0x40a4e3);break;}_0xd75070=_0x1f47a8[_0x19c6f4(0x1ef)],_0xbb65e6=_0x40a4e3[_0x19c6f4(0x1ef)],_0x22239a[_0x19c6f4(0x38b)]({'unitID':_0xe0545e,'undoMutations':_0x1f47a8[_0x19c6f4(0x23b)],'redoMutations':_0x40a4e3[_0x19c6f4(0x23b)]});}return _0x22239a['reverse']();}},exports[_0x1a66bf(0x2e8)]=wn([de(0x0,a[_0x1a66bf(0x3a8)]),de(0x1,a[_0x1a66bf(0x42e)]),de(0x2,a[_0x1a66bf(0x306)]),de(0x3,g[_0x1a66bf(0x2a6)]),de(0x4,a[_0x1a66bf(0x43e)])],exports[_0x1a66bf(0x2e8)]);var Ln=Object[_0x1a66bf(0x41a)],Mn=Object[_0x1a66bf(0x31a)],xn=(_0x219b90,_0x36b227,_0x4bd378)=>_0x36b227 in _0x219b90?Ln(_0x219b90,_0x36b227,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bd378}):_0x219b90[_0x36b227]=_0x4bd378,kn=(_0x246e05,_0x463359,_0x32cf28,_0x5ac4b3)=>{var _0x5db713=_0x1a66bf;for(var _0x14cfb4=_0x5ac4b3>0x1?void 0x0:_0x5ac4b3?Mn(_0x463359,_0x32cf28):_0x463359,_0x5b6ef3=_0x246e05[_0x5db713(0x390)]-0x1,_0x37b3e4;_0x5b6ef3>=0x0;_0x5b6ef3--)(_0x37b3e4=_0x246e05[_0x5b6ef3])&&(_0x14cfb4=_0x37b3e4(_0x14cfb4)||_0x14cfb4);return _0x14cfb4;},ke=(_0x275031,_0x375344)=>(_0x32aec9,_0x3da72b)=>_0x375344(_0x32aec9,_0x3da72b,_0x275031),Hn=(_0x50d2bd,_0x4073f2,_0x449ad9)=>xn(_0x50d2bd,_0x4073f2+'',_0x449ad9);const jn=_0x1a66bf(0x45d);exports[_0x1a66bf(0x1de)]=class extends a[_0x1a66bf(0x428)]{constructor(_0x500f34,_0x5ce645,_0x2220cb,_0xeea5b3){var _0x36d686=_0x1a66bf;super(),A(this,_0x36d686(0x496)),(this[_0x36d686(0x3d9)]=_0x5ce645,this[_0x36d686(0x209)]=_0x2220cb,this[_0x36d686(0x2d6)]=_0xeea5b3);const {..._0x18f791}=a[_0x36d686(0x25e)]({},Jt,_0x500f34);if(!_0x18f791[_0x36d686(0x1ed)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x18f791,this[_0x36d686(0x2d6)]['setConfig'](Y,_0x18f791);}[_0x1a66bf(0x3f3)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1a66bf(0x22b)](){var _0x51fdda=_0x1a66bf,_0x1a2d06,_0x4f1211;this['_injector']['has'](a[_0x51fdda(0x4a5)])&&this[_0x51fdda(0x3d9)][_0x51fdda(0x420)](_0x51fdda(0x379),_0x51fdda(0x4bc));const _0x427acc=a[_0x51fdda(0x2d5)]([[a[_0x51fdda(0x4a5)],{'useClass':exports[_0x51fdda(0x2e8)]}],[exports[_0x51fdda(0x23c)]],[exports[_0x51fdda(0x2cd)]],[exports[_0x51fdda(0x3d3)]],[Oe],[Ne],[Be],[De],[te],[exports[_0x51fdda(0x214)]],[$e,{'useClass':this[_0x51fdda(0x496)][_0x51fdda(0x1ed)]}],[g['ISnapshotServerService'],{'useClass':exports[_0x51fdda(0x415)]}],[a[_0x51fdda(0x335)],{'useClass':exports[_0x51fdda(0x527)]}],[J[_0x51fdda(0x4a6)],{'useClass':exports[_0x51fdda(0x4b8)]}],[a[_0x51fdda(0x4da)],{'useClass':exports[_0x51fdda(0x342)]}],[exports[_0x51fdda(0x2aa)]],[He]],(_0x1a2d06=this[_0x51fdda(0x496)])==null?void 0x0:_0x1a2d06[_0x51fdda(0x260)]);if(!((_0x4f1211=this[_0x51fdda(0x496)])!=null&&_0x4f1211['enableSingleActiveInstanceLock'])){const _0x43b650=_0x427acc[_0x51fdda(0x25d)](([_0x6eb0a1])=>_0x6eb0a1===ve);_0x43b650!==-0x1&&_0x427acc[_0x51fdda(0x4d8)](_0x43b650,0x1);}a['registerDependencies'](this['_injector'],_0x427acc);}[_0x1a66bf(0x4c8)](){var _0x105c38=_0x1a66bf,_0x141073,_0x2633c5,_0x5b6886;this[_0x105c38(0x209)]['get'](q[_0x105c38(0x279)])[_0x105c38(0x3d2)]({'priority':0x14,'interceptor':q[_0x105c38(0x20e)]({'maxParallel':0x6})}),(_0x141073=this['_config'])!=null&&_0x141073[_0x105c38(0x44c)]||(_0x2633c5=this[_0x105c38(0x209)][_0x105c38(0x3eb)](z,a[_0x105c38(0x368)][_0x105c38(0x33b)]))==null||_0x2633c5[_0x105c38(0x46f)](),(_0x5b6886=this[_0x105c38(0x496)])!=null&&_0x5b6886['enableAuthServer']&&a[_0x105c38(0x233)](this[_0x105c38(0x209)],[[Oe]]),a['touchDependencies'](this[_0x105c38(0x209)],[[Ne],[exports['CollaborationController']],[De]]);}},Hn(exports[_0x1a66bf(0x1de)],_0x1a66bf(0x362),jn),exports[_0x1a66bf(0x1de)]=kn([a[_0x1a66bf(0x32e)](g[_0x1a66bf(0x325)],q[_0x1a66bf(0x229)]),ke(0x1,a[_0x1a66bf(0x43e)]),ke(0x2,a[_0x1a66bf(0x3be)](a[_0x1a66bf(0x53d)])),ke(0x3,a[_0x1a66bf(0x28e)])],exports[_0x1a66bf(0x1de)]),exports[_0x1a66bf(0x2c1)]=Ge,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=It,exports[_0x1a66bf(0x38d)]=St,exports[_0x1a66bf(0x2cf)]=Ve,exports[_0x1a66bf(0x340)]=Q,exports[_0x1a66bf(0x35e)]=te,exports['CommentService']=Be,exports[_0x1a66bf(0x2fc)]=ft,exports[_0x1a66bf(0x491)]=zt,exports[_0x1a66bf(0x344)]=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports['HEARTBEAT_TIMEOUT_KEY']=je,exports[_0x1a66bf(0x3df)]=$e,exports['ILocalCacheService']=z,exports[_0x1a66bf(0x247)]=bt,exports[_0x1a66bf(0x4c2)]=ve,exports[_0x1a66bf(0x37e)]=Gt,exports[_0x1a66bf(0x4fe)]=Wt,exports[_0x1a66bf(0x223)]=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mt,exports[_0x1a66bf(0x3d6)]=Ht,exports['SNAPSHOT_SERVER_URL_KEY']=dt,exports[_0x1a66bf(0x4b6)]=vt,exports['SessionStatus']=se,exports[_0x1a66bf(0x528)]=Fe,exports[_0x1a66bf(0x4cc)]=Rt,exports[_0x1a66bf(0x371)]=vi,exports[_0x1a66bf(0x22a)]=yt;
|