@univerjs-pro/collaboration-client 0.7.0-nightly.202505171606 → 0.7.0-nightly.202505181606

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3020(){var _0x405e96=['SHOULD_CLOSE_CONN','_members','21593799IlVuGD','getMember','_submitChangeset','prototype','RETRY_CONNECTING_MAX_COUNT','[CollaborationSessionService]:\x20socket\x20error','UNAUTHENTICATED','transformSelections','/collaborator','_initRequestHeader','[CollaborationSessionService]','_onMessage','_incrementRevisionNumber','CollaborationController','bind','APPLY_NON_SEQUENTIAL_REVISION','_socketMessageSubscription','IPermissionService','__creator','Malformed\x20UTF-8\x20data','YUUMI_AI_RUN_FAILED','ITransformService','INVALID_INVITE_CODE','RETRY_CONNECTING_MAX_COUNT_KEY','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_retryConnectingTimer','658195RkBEMK','getImageSourceCache','CommandType','LEAVE','subscribe','pending','getSheetId','PERMISSION_REJ','_resendTimeout','byteLength','JOIN_ROOM_NOT_EXISTS','mixIn','SNAPSHOT_URL_KEY','IUndoRedoService','getTime','onRemoteRej','UNIVER_SLIDE','_clearRedo','getImage','newCsEvent','stopTime','@univerjs/drawing','[PendingState]:\x20received\x20rejection.','find','_process','_createInitialStateImpl','fetching\x20missing\x20changesets\x20from\x20','_clearUndo','awaiting','error','string','_getLoginPath','NEW_CHANGESETS','unknown','OfflineState','&to=','_disableEditing','image/jpg','[FetchMissState]','roles','_onUserJoin','key','\x0aCurrent:\x20','\x20to\x20','MemberService','change$','LIVESHARE_OPERATION','RevisionService','_telemetryService','updateOfflineData','StreamCipher','DocCollaborationEntity','BehaviorSubject','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','set','close$','toDisposable','SOCKET_FAILED','unsubscribe','copyFileMeta','dispose','_getUndoStack','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','submit\x20changeset\x20error!','_roomCreated$','_singleActiveUnitService','INVALID_ARGUMENT','UniverProCollaboration','_initCloseConn','onRemoteChangeset','actions','_commentUpdate$','ConflictState','rng','/-/object/-/batch_allowed','Subject','updateCursorEvent','resend','repeat','event$','HEARTBEAT_TIMEOUT','_throwTelemetryCollaborationNewChangeset','next','sigBytes','touchDependencies','FETCH_MISSING','add','LOCAL_CACHE_INTERVAL','WorkbookEditablePermission','override','CollaborationUIEventService','BlockCipher','APPLY_REVISION_CONFILICT','?url=','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_entities','INVITE_CODE_ALREADY_BOUND','resourceIDs','_transformRemoteChangesetByIMECache','_fetchMissChangesets','session','onTransformRemoteChangesetByIMECache','session.room-permission-denied','UNISCRIPT_RUN','YUUMI_UNABLE_LOAD_URL','responseType','[CollaborationSession]','INetworkConditionService','RECV','_commandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LIVESHARE_REQUEST_HOST','decrypt','editingUnit','UniverDrawing','getUnitType','1333880guOsYR','_decreaseWaiting','saveImage','MUTATION','6320448NcpAhB','JOIN_ROOM_FAILED','Inject','LICENSE_EXPORT_SIZE_EXCEEDED','_collaborationSessionService','NoPadding','synced','localeService','join','CollaborationEvent','onTransformSelections','_oKey','Latin1','addHandlerCallback','_injector','randomBytes','concat','_waitForHeartbeatResponse','infoRsp','_entityInit$','operators','failed\x20to\x20apply\x20missed\x20changesets!','getRandomValues','[PendingState]:\x20received\x20acknowledgement.','ICollaborationSocketService','IDLE','function','CompressMutationService','SnapshotServerOverHTTPService','IUniverInstanceService','SetSelectionsOperation','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','collaboration-client.config','close','textRanges','_onConnectionFailed','_transformService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','RxDisposable','_iKey','_hasher','IImageIoService','transformChangesets','CLOSE_ROOM','/new_changes','_handlerCallback','isTransformMutationsWithChangesetSuccess','IMentionIOService','getInterceptPoints','amd','_updateLocalCache','HMAC','_syncEditingCollabCursor','take','ICommandService','OpenSSL','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_transformRemoteChangesetByStateCache','LocaleService','_change$','_initMergeInterceptor','getTypeOfUnitDisposed$','selections','USERS_ENTER','_socketService','getSnapshotAPIPath','hasOwnProperty','_minBufferSize','ThresholdInterceptorFactory','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_undoRedoService','_onConnectionOpen','session.join-failed','update','_initDependencies','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_createSocket','@univerjs/telemetry','_data','registerDependencies','catch','DEFAULT_WS_SESSION_TICKET_URL','BASE64','OTHER_CLIENT_EDITING','DataLoaderService','rxjs','[SyncedState]:\x20received\x20rejection.','apply','filter','SheetCollaborationEntity','_xformMode','avatar','_loadSheet','LIVESHARE_TERMINATE','_createHmacHelper','status','UNIVER_SHEET','Base','Error\x20on\x20receiving\x20event','hasher','resolve','debug','_substituteRedoStack','_reverseMap','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_nRounds','Disposable','AuthzIoHttpService','_permissionService','_changesetReqId','encodeURIComponent','default','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','createSocket','JOIN_ROOM_PERMISSION_DENIED','isInternalEditorID','_telemetryInfo','mapDocumentTypeToUniverType','ImageUploadStatusType','_changesetSessionId','_getUploadFileURL','ERROR_IMAGE','INVITE_CODE_HAS_BEEN_UES','crypto','UNIVER_DOC','Hex','telemetry\x20info\x20is\x20not\x20initialized','NO_OTHER_CLIENTS_EDITING','ReplaySubject','UniverSheets','_getRedoStack','objectActions','CHANGESET_REJ','USERS_LEAVE','object','_getDownloadEndpointURL','enableOfflineEditing','SessionStatus','onSyncEditingCollabCursor','_unitInfo$','name','pipe','merge','POST','_transformSelections','@univerjs-pro/license','_shouldReportTelemetry','_transformUndoredo','TOO_MANY_REQUESTS','parse','YUUMI_NO_CUBOID_FOR_QUESTION','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','startTime','every','_removeRoom','_unlockTransition','objects','sessionStatus','RichTextEditingMutation','_collaborationPaused','stringify','pluginName','_imageSourceCache','_localCacheService','_ENC_XFORM_MODE','_socketReady','YUUMI_ASYNCIO_CANCELLED','unitID','_onJoinRoomEvent','JSONX','_commentService','JOIN','getMemberID','getUnit','_sendingTimer','onCommentUpdate','_acknowledgedAwaitingChangeset','AES','univer-pro.collaboration-client-socket-service','UniverDocs','transformMutationsWithChangeset','_scheduleCollaborationTimeoutTimer','enc','onRemoteAck','/object','type','_prevBlock','processBlock','_userManagerService','HELLO','_key','init','getActiveSheet','takeUntil','min','CONNECTOR_DATA_TOO_LARGE','IContextService','_initUnitPermissionChange','_onOffline','_loadDoc','_updateStatus','DEFAULT_COLLAB_WEB_SOCKET_URL','state','unitId','COLLAB_SUBMIT_CHANGESET_URL_KEY','isTransformChangesetsSuccess','_getSignURL','onload','Hasher','_collabSessionService','_rescheduleHeartbeat','href','_sessions','_schedule','onCommandExecuted','waitForRoom$','url','_doFinalize','initWorkbookPermissionChange','[OfflineState]:\x20received\x20acknowledgement.','fromCharCode','_transformIMECache','requireSession','INTERNAL_ERROR','PendingState','UnitEmbedded','UNIVER_UNKNOWN','9329278HWvNax','uploadFileServerUrl','isArray','_isPermissionRej','_httpService','create','UNKNOWN_CMD','exports','HttpImport','JOINING','_substituteUndoStack','_univerInstanceService','loadUnit','_executeRemoteChangeset','call','\x0aAfter:\x20','_doCryptBlock','_onUserLeave','firstValueFrom','parseChangesetToProtocol','AwaitingState','NOT_FOUND','IAuthzIoService','awaitingChangeset','_onConflict','_getAPIPrefix','sin','clone','Quantity','from','loadSheet','_doCreateSocket','HTTPService','changesets','updateCollaborator','asObservable','collabWebSocketUrl','__esModule','INGEST','state$','sheets','finalize','Utf8','isTransformMutationsWithChangesetFailure','UNIVER_PROJECT','_clearScheduledTask','_memberService','map','CollaborationSessionService','_onRemoteChangeset','generateRandomId','defineProperty','loadOfflineData','formatter','enableAuthServer','ImageSourceType','Tools','ciphertext','CONFLICT','_state','rxjs/operators','_clearTimeoutTimer','mutations','APPLY_DUPLICATED','EmptyMutation','CBC','_replaceFileID','shareReplay','list','socketService','IConfigService','sessionStatus$','SNAPSHOT_INVALID_SNAPSHOT','blockSize','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','substr','&source=','LICENSE_MAX_UNITS_EXCEEDED','_mode','_transformStateCache','_logService','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','COLLAB_WEB_SOCKET_URL','_retryCount','YUUMI_TABLE_NOT_FOUND_IN_UNIT','isPermissionRej','_socket','saveChangeset','routeKey','interceptor','snapshotServerUrl','EvpKDF','Pkcs7','size','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','saveSheetBlock','downloadEndpointUrl','_networkConditionService','Decryptor','AWAITING','fetchThroughInterceptors','send','code','NOT_COLLAB','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','PSEUDO_FETCH_MISSING_RESULT','dispose$','ENSURE_SNAPSHOT_EXECUTION','SEND_CHANGESET_TIMEOUT','ILogService','random','listCollaborators','SerializableCipher','get','_onRemoteACK','_keySchedule','UNIVER_COLLABORATION_CLIENT_PLUGIN','SheetTransformSelectionsService','YUUMI_SUBSCRIPTION_NOT_FOUND','36qNsjts','kdf','/universer-api/oidc/authpage','compose','_startCollaboration','getWorkbookSelections','_collaborationUIEventService','SheetPermissionInitController','salt','APPLY_PERMISSION_DENIED','toLowerCase','padding','slice','_toggleOnline','COLLAB_WEB_SOCKET_URL_KEY','awaiting_with_pending','INVITE_CODE_REQUIRED','BufferedBlockAlgorithm','InsertSheetMutation','conflict','collaMsg','clear','_status$','CommentService','fetchMissingChangesets','UnitStatus','CollaborationEntity','getOwnPropertyDescriptor','HEARTBEAT_INTERVAL_KEY','workbook','getCurrentRevOfUnit','/universer-api/snapshot/','image/jpeg','message$','getFocusedUnit','_getAPIPrefixPath','onLocalMutation','_applyRemoteChangeset','UniverProLicense','_revisionService','lib','_candidateSocket','_scheduleCompleteTimestamp','collaboration_new_changeset','values','reduce','incrementRevOfUnit','shouldCloseConn','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','permissionRejEvent','_type','has','removeMember','$super','roomInfos','_state$','UniverCore','_socket$','toggleOffline','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','onTransformState','splice','m2Prime','LOGIN_URL_KEY','_snapshotServerService','reqId','_iv','startsWith','entries','cmd','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[SyncedState]:\x20received\x20acknowledgement.','_resendTimer','\x20in\x20_schedule.','retryConnectingInterval','_map','result','PY_RUNTIME_SCRIPT_ERROR','disableLocalCache','UNKNOWN_CODE','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_configService','createInstance','cfg','Base64','_undoStacks','readyForCollab','_HTTPService','image/png','iterations','CollaborationSession','abs','_transformStack','getCurrentUser','HEARTBEAT','batchAllowed','_replayCachedMutations','getAllMembers','deleteCollaborator','socket$','encode','onMissedChangesetFetched','_members$','People','USER_NOT_INVITED_CODE','algo','loadDoc','collaborators','DisposableCollection','getCollabEntity','data','execute','randomUUID','HmacMD5','_waitCount','ILocalCacheService','/universer-api/user/session-ticket','COMPLETION_FINISHED','floor','charAt','LICENSE_DISTRO_REJECTED','_updateState','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','ws://127.0.0.1:8000/universer-api/comb/connect','_parse','subUnitId','appendMutation','WECHAT_HAS_BEEN_BOUND','_clearCollaborationTimeoutTimer','updatePermissionPoint','_createHelper','LICENSE_IMPORT_SIZE_EXCEEDED','onTransformRemoteChangesetByStateCache','charCodeAt','/universer-api/file/{fileID}/sign-url','sequenceExecute','_timeoutTimer','SOCKET_FAILED_RETRY','symbol','params','_exhaustRemoteChangesetQueue','setCurrentUser','OFFLINE','OTHER_CLIENTS_EDITING','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Module','_onRemoteRejected','UniverCollaborationClientPlugin','confirm','indexOf','executeCommand','_unitID','_getCurrentRevision','GLOBAL_ROOMS_CNT_EXCEEDS','post','_sender','fromCollab','session.room-cnt-exceeds','length','SUBMIT_CHANGESET_TIMEOUT','PERSON','_showConflictNotification','@univerjs/network','mode','_snapshotService','onRemoteRetry','clamp','_instanceService','auth.needGotoLoginAlert','forEach','CollaborationUIEventId','pad','_append','subject','eventID','YUUMI_RATE_OVER_LIMIT','target','LocalUndoRedoService','getTypeOfUnitAdded$','closeSession','SEND_CHANGESET_TIMEOUT_KEY','commentUpdate$','SYNCED','_init','socket\x20close','_resendWithTimeout','_checkMissing','put','_doReset','_sendHeartbeatTimer','open$','_sheetTransformSelectionsService','_tryReconnect','Injector','[CollaborationState]:\x20apply\x20error!','[DataLoaderService]','_clearRetryConnectingTimer','_tryEnsureSocket','FileId','Workbook','_awaitingChangeset','onSendChangeset','encrypt','_remoteChangesetQueue','pauseCollaboration','_nDataBytes','delay','_joinRoom','setConfig','ALREADY_EXISTS','msCrypto','LOGIN_FAILED','sid','UPDATE_CURSOR','fetchMiss','HttpExport','82174nejztB','createDecryptor','102moFKTd','ERROR_IMAGE_TYPE','Univer','_sendHeartbeat','ivSize','@univerjs/core','[OfflineState]:\x20received\x20rejection.','/universer-api/snapshot','_getCtorByUniverType','append','onTransformIME','disposeWithMe','action','collaboratorID','PENDING','_clearHeartbeatTimer','getConfig','_lockTransition','authzUrl','includes','commentUpdateEvent','rev','_stopTelemetryCollaborationNewChangeset','range','ceil','_registerDependencies','APPLY_REJECT','_sessionStatus$','UUID','onlyLocal','CollaborationImageIoService','SUBMIT_CHANGESET','_onLocalMutation','toggleOnline','UniverProCollaborationClient','CHANGESET_ACK','_pendingMutations','ONLINE','userID','_doProcessBlock','JOIN_ROOM_FULL','status$','duration','onMissingChangesets','UniverNetwork','_invKeySchedule','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','save\x20fail\x20reason\x20is\x20','createIdentifier','session.room-full','_cipher','MD5','/block/','Encryptor','UNRECOGNIZED','COMPRESS_MUTATION_APPLY','baseRev','/object/','format','HEARTBEAT_INTERVAL','_collaborationTimeoutTimer','_roomMembers','revision','compute','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','parseProtocolChangeset','_compressMutationService','MSG_FOR_ERROR','_emitMembers','_onFetchMissResult','leaveEvent','location','complete','ISnapshotServerService','[CollaborationEntity]','__Key__','_event$','replace','/universer-api/authz','c2Prime','originalMeta','_config','getLocalCacheKey','_createInitialState','setWaitCount','_handler','_onCombEvent','MOBILE_HAS_BEEN_BOUND','createEncryptor','withCredentials','_getSendChangesetTimeout','reconnect','members','textEncoder','CHANGESET_SHOULD_RETRY','YUUMI_ALL_TABLES_IS_INVALID','updateMember','Optional','_DEC_XFORM_MODE','_hash','HmacSHA1','@univerjs/sheets','getUnitStatus$','addImageSourceCache','getUnitId','hostname','members$','socket\x20open.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UserProfileImg','/universer-api/uniscript','createCollaborator','_queuedRemoteChangesets','image/bmp','_transitionLocked','_eventService','_createHandler','extend','UnitSnapshot','localCacheService','body','?size=','push','SHA1','memberID','@univerjs-pro/collaboration','FetchingMissState','session.room-not-exists','max','CollaborativeUndoRedoService','/unit/','Cipher','YUUMI_URL_COL_OUT_OF_RANGE','transformUndoRedo','COMPRESS_MUTATION_SEND','fetch_missing','liveShareOperation','headers','getValue','Undefined','UPDATE_PERMISSION_OBJ','MentionIoHttpService','readAsDataURL','UniverTelemetry','enableSingleActiveInstanceLock','requestParams','encryptBlock','EXCHANGE_SIGN_URL_SERVER_URL_KEY','objectID','\x20-\x20','_onRecvEvent','SnapshotService','@univerjs/docs','UniverInstanceType','MentionType','_clearLocalCache','FAIL','SNAPSHOT_HAS_BEEN_REMOVED','SUCCUSS','liveShareNewHost','AwaitingWithPendingState','c1Prime','_localeService','PERMISSION_DENIED','WordArray','decryptBlock','CipherParams','reset','now','delete','CollaborationStatus','AUTHZ_URL_KEY','332848xCijIl','[CollaborationUndoRedoService]','UNDEFINED','concatMap','_startTelemetryCollaborationNewChangeset','OPTIONAL','COMMENT_UPDATE','LIVESHARE_NEW_HOST','reject','title','SyncedState','toString','emitEvent','ITelemetryService','registerHTTPInterceptor','words','UniverNetworkPlugin','unitId\x20is\x20not\x20found','objectType'];_0x3020=function(){return _0x405e96;};return _0x3020();}function _0x1b12(_0x21dcd8,_0x548ad6){var _0x3020dd=_0x3020();return _0x1b12=function(_0x1b12fc,_0xa3f8bc){_0x1b12fc=_0x1b12fc-0x9d;var _0x5d4f06=_0x3020dd[_0x1b12fc];return _0x5d4f06;},_0x1b12(_0x21dcd8,_0x548ad6);}(function(_0x5c64bb,_0x4480ed){var _0x3a0756=_0x1b12,_0x4d18d1=_0x5c64bb();while(!![]){try{var _0x4ba78a=-parseInt(_0x3a0756(0x421))/0x1+-parseInt(_0x3a0756(0x2cf))/0x2*(parseInt(_0x3a0756(0x2d1))/0x3)+-parseInt(_0x3a0756(0x37d))/0x4+parseInt(_0x3a0756(0x3ad))/0x5*(parseInt(_0x3a0756(0x1f7))/0x6)+parseInt(_0x3a0756(0x180))/0x7+-parseInt(_0x3a0756(0x425))/0x8+parseInt(_0x3a0756(0x392))/0x9;if(_0x4ba78a===_0x4480ed)break;else _0x4d18d1['push'](_0x4d18d1['shift']());}catch(_0x4c2c01){_0x4d18d1['push'](_0x4d18d1['shift']());}}}(_0x3020,0xe0121),function(_0x2245fe,_0x25bc6c){var _0x21a130=_0x1b12;typeof exports==_0x21a130(0x123)&&typeof module<'u'?_0x25bc6c(exports,require(_0x21a130(0x2d6)),require('rxjs'),require(_0x21a130(0x1bc)),require(_0x21a130(0x34e)),require(_0x21a130(0x299)),require(_0x21a130(0xea)),require(_0x21a130(0x369)),require(_0x21a130(0x336)),require(_0x21a130(0x3c2)),require(_0x21a130(0x12e))):typeof define=='function'&&define[_0x21a130(0xce)]?define([_0x21a130(0x187),'@univerjs/core','rxjs','rxjs/operators',_0x21a130(0x34e),_0x21a130(0x299),_0x21a130(0xea),_0x21a130(0x369),_0x21a130(0x336),_0x21a130(0x3c2),_0x21a130(0x12e)],_0x25bc6c):(_0x2245fe=typeof globalThis<'u'?globalThis:_0x2245fe||self,_0x25bc6c(_0x2245fe[_0x21a130(0x2f3)]={},_0x2245fe[_0x21a130(0x22f)],_0x2245fe['rxjs'],_0x2245fe[_0x21a130(0xf2)][_0x21a130(0xb0)],_0x2245fe[_0x21a130(0x3f0)],_0x2245fe[_0x21a130(0x2fd)],_0x2245fe[_0x21a130(0x360)],_0x2245fe[_0x21a130(0x150)],_0x2245fe[_0x21a130(0x11e)],_0x2245fe[_0x21a130(0x41f)],_0x2245fe[_0x21a130(0x21d)]));}(this,function(_0x52d482,_0x46e193,_0x4449b2,_0xcf82d3,_0x578bc2,_0x4c86e5,_0x47f55e,_0x20cbb2,_0x3819b8,_0x3f3555,_0x28280c){'use strict';var _0x139332=_0x1b12;var _0x4024c8=Object[_0x139332(0x1b3)],_0x514fa1=(_0x138ff6,_0x5ac656,_0x2a826f)=>_0x5ac656 in _0x138ff6?_0x4024c8(_0x138ff6,_0x5ac656,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a826f}):_0x138ff6[_0x5ac656]=_0x2a826f,_0x3332c7=(_0x25b516,_0x27a972,_0x40154a)=>_0x514fa1(_0x25b516,typeof _0x27a972!=_0x139332(0x281)?_0x27a972+'':_0x27a972,_0x40154a);const _0x9122dc='SNAPSHOT_SERVER_URL_KEY',_0x58ffe9=_0x139332(0x2d8),_0x2f7286=_0x139332(0x3b9),_0x1883a9=_0x139332(0x1ec),_0x3edcda=_0x139332(0x1d2),_0x179566=_0x139332(0x272),_0x538eb2=_0x139332(0x26b),_0x821e72=_0x139332(0x30c),_0x1fbb93=_0x139332(0x3fd),_0x52db60=_0x139332(0x396),_0x5175aa='LOCAL_CACHE_INTERVAL',_0x58deaa='COLLAB_SUBMIT_CHANGESET_URL',_0x2e7ecb='/universer-api/comb',_0x4bf5eb=_0x139332(0x236),_0x34d661=_0x139332(0x1f9),_0x347144=_0x139332(0x134),_0x3ab6a6=_0x139332(0x33f);var _0xab6f9c=(_0x2cef28=>(_0x2cef28[_0x2cef28[_0x139332(0x37f)]=0x0]=_0x139332(0x37f),_0x2cef28[_0x2cef28['OK']=0x1]='OK',_0x2cef28[_0x2cef28[_0x139332(0x17c)]=0x2]='INTERNAL_ERROR',_0x2cef28[_0x2cef28[_0x139332(0x374)]=0x3]=_0x139332(0x374),_0x2cef28[_0x2cef28[_0x139332(0x195)]=0x4]='NOT_FOUND',_0x2cef28[_0x2cef28[_0x139332(0x398)]=0x5]=_0x139332(0x398),_0x2cef28[_0x2cef28[_0x139332(0x2c8)]=0x6]=_0x139332(0x2c8),_0x2cef28[_0x2cef28[_0x139332(0x3ef)]=0x7]=_0x139332(0x3ef),_0x2cef28[_0x2cef28[_0x139332(0x131)]=0x8]=_0x139332(0x131),_0x2cef28[_0x2cef28[_0x139332(0x26c)]=0x9]=_0x139332(0x26c),_0x2cef28[_0x2cef28['LOGIN_FAILED']=0xa]=_0x139332(0x2ca),_0x2cef28[_0x2cef28['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2cef28[_0x2cef28[_0x139332(0x1c8)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2cef28[_0x2cef28['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x139332(0x36e),_0x2cef28[_0x2cef28[_0x139332(0x1eb)]=0x1773]=_0x139332(0x1eb),_0x2cef28[_0x2cef28[_0x139332(0x2eb)]=0x1b59]=_0x139332(0x2eb),_0x2cef28[_0x2cef28[_0x139332(0x3a1)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2cef28[_0x2cef28[_0x139332(0x409)]=0x1b5b]=_0x139332(0x409),_0x2cef28[_0x2cef28[_0x139332(0x200)]=0x1b5c]=_0x139332(0x200),_0x2cef28[_0x2cef28[_0x139332(0x1bf)]=0x1b5d]='APPLY_DUPLICATED',_0x2cef28[_0x2cef28[_0x139332(0x160)]=0x1f41]=_0x139332(0x160),_0x2cef28[_0x2cef28[_0x139332(0x1cd)]=0x2329]=_0x139332(0x1cd),_0x2cef28[_0x2cef28[_0x139332(0x41b)]=0x232a]=_0x139332(0x41b),_0x2cef28[_0x2cef28[_0x139332(0x27a)]=0x232b]=_0x139332(0x27a),_0x2cef28[_0x2cef28['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x139332(0x9f),_0x2cef28[_0x2cef28[_0x139332(0x26f)]=0x232d]=_0x139332(0x26f),_0x2cef28[_0x2cef28[_0x139332(0x415)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2cef28[_0x2cef28['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x139332(0x355),_0x2cef28[_0x2cef28[_0x139332(0x2a6)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2cef28[_0x2cef28['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x139332(0x1f6),_0x2cef28[_0x2cef28[_0x139332(0x133)]=0x271a]=_0x139332(0x133),_0x2cef28[_0x2cef28[_0x139332(0x143)]=0x271b]=_0x139332(0x143),_0x2cef28[_0x2cef28[_0x139332(0x1d4)]=0x271c]=_0x139332(0x1d4),_0x2cef28[_0x2cef28[_0x139332(0x330)]=0x271d]=_0x139332(0x330),_0x2cef28[_0x2cef28[_0x139332(0x40b)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2cef28[_0x2cef28[_0x139332(0x3a6)]=0x271f]=_0x139332(0x3a6),_0x2cef28[_0x2cef28[_0x139332(0x244)]=0x2af9]=_0x139332(0x244),_0x2cef28[_0x2cef28[_0x139332(0x117)]=0x2ee1]=_0x139332(0x117),_0x2cef28[_0x2cef28['INVALID_INVITE_CODE']=0x2ee2]=_0x139332(0x3a8),_0x2cef28[_0x2cef28['INVITE_CODE_REQUIRED']=0x2ee3]=_0x139332(0x207),_0x2cef28[_0x2cef28[_0x139332(0x25f)]=0x2ee4]=_0x139332(0x25f),_0x2cef28[_0x2cef28[_0x139332(0x40d)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2cef28[_0x2cef28[_0x139332(0x276)]=0x32c9]=_0x139332(0x276),_0x2cef28[_0x2cef28[_0x139332(0x328)]=0x32ca]=_0x139332(0x328),_0x2cef28[_0x2cef28['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2cef28[_0x2cef28[_0x139332(0x307)]=-0x1]='UNRECOGNIZED',_0x2cef28))(_0xab6f9c||{}),_0x552c7c=(_0x5d3eae=>(_0x5d3eae[_0x5d3eae[_0x139332(0x17f)]=0x0]=_0x139332(0x17f),_0x5d3eae[_0x5d3eae[_0x139332(0x119)]=0x1]=_0x139332(0x119),_0x5d3eae[_0x5d3eae[_0x139332(0xfd)]=0x2]=_0x139332(0xfd),_0x5d3eae[_0x5d3eae[_0x139332(0x3bd)]=0x3]='UNIVER_SLIDE',_0x5d3eae[_0x5d3eae[_0x139332(0x1ac)]=0x4]=_0x139332(0x1ac),_0x5d3eae[_0x5d3eae[_0x139332(0x307)]=-0x1]=_0x139332(0x307),_0x5d3eae))(_0x552c7c||{}),_0x1d6ccd=(_0x4a2976=>(_0x4a2976[_0x4a2976['UNKNOWN_CMD']=0x0]=_0x139332(0x186),_0x4a2976[_0x4a2976[_0x139332(0x15a)]=0x1]=_0x139332(0x15a),_0x4a2976[_0x4a2976[_0x139332(0x148)]=0x2]='JOIN',_0x4a2976[_0x4a2976[_0x139332(0x3b0)]=0x3]='LEAVE',_0x4a2976[_0x4a2976[_0x139332(0x1a6)]=0x4]='INGEST',_0x4a2976[_0x4a2976[_0x139332(0x255)]=0x5]=_0x139332(0x255),_0x4a2976[_0x4a2976['RECV']=0x6]=_0x139332(0x419),_0x4a2976[_0x4a2976[_0x139332(0x307)]=-0x1]=_0x139332(0x307),_0x4a2976))(_0x1d6ccd||{}),_0x86dfd9=(_0x3b0a27=>(_0x3b0a27[_0x3b0a27['UNKNOWN_CODE']=0x0]=_0x139332(0x246),_0x3b0a27[_0x3b0a27['OK']=0x1]='OK',_0x3b0a27[_0x3b0a27[_0x139332(0x36d)]=0x2]=_0x139332(0x36d),_0x3b0a27[_0x3b0a27[_0x139332(0x2f9)]=0x3e9]=_0x139332(0x2f9),_0x3b0a27[_0x3b0a27[_0x139332(0x3b7)]=0x3ea]=_0x139332(0x3b7),_0x3b0a27[_0x3b0a27[_0x139332(0x10f)]=0x3eb]=_0x139332(0x10f),_0x3b0a27[_0x3b0a27[_0x139332(0x290)]=0x3ec]=_0x139332(0x290),_0x3b0a27[_0x3b0a27[_0x139332(0x307)]=-0x1]='UNRECOGNIZED',_0x3b0a27))(_0x86dfd9||{}),_0x4e906f=(_0x5e497e=>(_0x5e497e[_0x5e497e[_0x139332(0x35c)]=0x0]=_0x139332(0x35c),_0x5e497e[_0x5e497e[_0x139332(0x188)]=0x1]=_0x139332(0x188),_0x5e497e[_0x5e497e[_0x139332(0x2ce)]=0x2]=_0x139332(0x2ce),_0x5e497e[_0x5e497e[_0x139332(0x17e)]=0x3]=_0x139332(0x17e),_0x5e497e[_0x5e497e[_0x139332(0x347)]=0x4]='UnitSnapshot',_0x5e497e[_0x5e497e[_0x139332(0x33e)]=0x5]='UserProfileImg',_0x5e497e[_0x5e497e[_0x139332(0x307)]=-0x1]='UNRECOGNIZED',_0x5e497e))(_0x4e906f||{});const _0x38cef3=_0x139332(0xbd),_0x422ee9={};var _0x117dfc=(_0x36f29f=>(_0x36f29f[_0x139332(0xf0)]='OTHER_CLIENT_EDITING',_0x36f29f['PERMISSION_DENIED']=_0x139332(0x374),_0x36f29f[_0x139332(0x1ba)]=_0x139332(0x1ba),_0x36f29f[_0x139332(0xc8)]=_0x139332(0xc8),_0x36f29f[_0x139332(0x9d)]='JOIN_ROOM_FAILED',_0x36f29f[_0x139332(0x280)]=_0x139332(0x280),_0x36f29f['SOCKET_FAILED']=_0x139332(0x3e6),_0x36f29f[_0x139332(0x296)]='SUBMIT_CHANGESET_TIMEOUT',_0x36f29f))(_0x117dfc||{});class _0xc27cb3{constructor(){var _0x28375f=_0x139332;_0x3332c7(this,_0x28375f(0x31d),new _0x4449b2[(_0x28375f(0x3f8))]()),_0x3332c7(this,'event$',this[_0x28375f(0x31d)]['asObservable']());}[_0x139332(0x389)](_0x4e6588){var _0x30ec95=_0x139332;this['_event$'][_0x30ec95(0x3ff)](_0x4e6588);}}const _0x4b654c=_0x46e193['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function _0x12de71(_0x53b1d3){var _0x14d179=_0x139332,_0x3397fc,_0x41fe14,_0x1aed92,_0x2cf480,_0x58fc9a;const _0x16565b=_0x53b1d3[_0x14d179(0x265)],_0x140313=JSON['parse'](_0x16565b);switch(_0x140313[_0x14d179(0x23c)]){case _0x1d6ccd[_0x14d179(0x255)]:case _0x1d6ccd[_0x14d179(0x15a)]:{const _0x4260a3=_0x140313[_0x14d179(0xae)];return{..._0x140313,'data':_0x4260a3,'cmd':_0x140313['cmd']};}case _0x1d6ccd['JOIN']:{const _0x50234e=_0x140313['joinRsp'];return{..._0x140313,'data':_0x50234e,'cmd':_0x140313['cmd']};}case _0x1d6ccd[_0x14d179(0x419)]:{const _0x5ca756=_0x140313[_0x14d179(0x20b)];switch(_0x5ca756['eventID']){case _0x578bc2[_0x14d179(0xa5)][_0x14d179(0x3b4)]:return{..._0x140313,'data':{..._0x5ca756,'data':(_0x3397fc=_0x5ca756[_0x14d179(0x228)])==null?void 0x0:_0x3397fc['cs']},'cmd':_0x140313['cmd']};case _0x578bc2[_0x14d179(0xa5)][_0x14d179(0x2f4)]:return{..._0x140313,'data':{..._0x5ca756,'data':(_0x41fe14=_0x5ca756['csAckEvent'])==null?void 0x0:_0x41fe14['cs']},'cmd':_0x140313[_0x14d179(0x23c)]};case _0x578bc2[_0x14d179(0xa5)][_0x14d179(0x3cd)]:return{..._0x140313,'data':{..._0x5ca756,'data':(_0x1aed92=_0x5ca756[_0x14d179(0x3c0)])==null?void 0x0:_0x1aed92['cs']},'cmd':_0x140313[_0x14d179(0x23c)]};case _0x578bc2[_0x14d179(0xa5)][_0x14d179(0x121)]:return{..._0x140313,'data':{..._0x5ca756,'data':(_0x2cf480=_0x5ca756['csRejEvent'])==null?void 0x0:_0x2cf480['cs']},'cmd':_0x140313[_0x14d179(0x23c)]};case _0x578bc2[_0x14d179(0xa5)]['CHANGESET_SHOULD_RETRY']:return{..._0x140313,'data':{..._0x5ca756,'data':(_0x58fc9a=_0x5ca756['csShouldRetryEvent'])==null?void 0x0:_0x58fc9a['cs']},'cmd':_0x140313[_0x14d179(0x23c)]};case _0x578bc2[_0x14d179(0xa5)][_0x14d179(0x2cc)]:return{..._0x140313,'data':{..._0x5ca756,'data':_0x5ca756[_0x14d179(0x3f9)]},'cmd':_0x140313[_0x14d179(0x23c)]};case _0x578bc2[_0x14d179(0xa5)]['USERS_ENTER']:return{..._0x140313,'data':{..._0x5ca756,'data':_0x5ca756['joinEvent']},'cmd':_0x140313['cmd']};case _0x578bc2[_0x14d179(0xa5)][_0x14d179(0x122)]:return{..._0x140313,'data':{..._0x5ca756,'data':_0x5ca756[_0x14d179(0x317)]},'cmd':_0x140313[_0x14d179(0x23c)]};case _0x578bc2[_0x14d179(0xa5)]['LIVESHARE_NEW_HOST']:return{..._0x140313,'data':{..._0x5ca756,'data':_0x5ca756['liveShareNewHost']},'cmd':_0x140313['cmd']};case _0x578bc2['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case _0x578bc2[_0x14d179(0xa5)][_0x14d179(0x3db)]:return{..._0x140313,'data':{..._0x5ca756,'data':_0x5ca756[_0x14d179(0x359)]},'cmd':_0x140313[_0x14d179(0x23c)]};case _0x578bc2[_0x14d179(0xa5)][_0x14d179(0xfa)]:return{..._0x140313,'data':{..._0x5ca756,'data':_0x5ca756[_0x14d179(0x370)]},'cmd':_0x140313[_0x14d179(0x23c)]};case _0x578bc2['CollaborationEvent'][_0x14d179(0x314)]:return{..._0x140313,'data':_0x5ca756,'cmd':_0x140313['cmd']};case _0x578bc2['CollaborationEvent'][_0x14d179(0x383)]:return{..._0x140313,'data':{..._0x5ca756,'data':_0x5ca756[_0x14d179(0x2e5)]},'cmd':_0x140313[_0x14d179(0x23c)]};case _0x578bc2[_0x14d179(0xa5)][_0x14d179(0x35d)]:return{..._0x140313,'data':{..._0x5ca756,'data':_0x5ca756['updatePermissionObjEvent']},'cmd':_0x140313[_0x14d179(0x23c)]};case _0x578bc2[_0x14d179(0xa5)][_0x14d179(0x390)]:return{..._0x140313,'data':{..._0x5ca756,'data':_0x5ca756[_0x14d179(0x226)]},'cmd':_0x140313['cmd']};case _0x578bc2[_0x14d179(0xa5)][_0x14d179(0x414)]:return{..._0x140313,'data':{..._0x5ca756,'data':_0x5ca756['uniscriptRunEvent']},'cmd':_0x140313[_0x14d179(0x23c)]};default:return _0x140313;}}default:return _0x140313;}}function _0x350e45(_0x1fb335){var _0x452859=_0x139332;switch(_0x1fb335[_0x452859(0x23c)]){case _0x1d6ccd['HEARTBEAT']:case _0x1d6ccd[_0x452859(0x15a)]:return JSON[_0x452859(0x13d)]({'cmd':_0x1fb335[_0x452859(0x23c)],'routeKey':_0x1fb335[_0x452859(0x1d8)]});case _0x1d6ccd[_0x452859(0x1a6)]:{let _0x1c7ead;switch(_0x1fb335['data']['eventID']){case _0x578bc2[_0x452859(0xa5)]['UPDATE_CURSOR']:{_0x1c7ead={'eventID':_0x578bc2[_0x452859(0xa5)][_0x452859(0x2cc)],'updateCursorEvent':_0x1fb335['data'][_0x452859(0x265)]};break;}case _0x578bc2[_0x452859(0xa5)][_0x452859(0x122)]:{_0x1c7ead={'eventID':_0x578bc2[_0x452859(0xa5)][_0x452859(0x122)],'leaveEvent':_0x1fb335[_0x452859(0x265)][_0x452859(0x265)]};break;}case _0x578bc2['CollaborationEvent'][_0x452859(0xdc)]:{_0x1c7ead={'eventID':_0x578bc2['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x1fb335[_0x452859(0x265)]['data']};break;}case _0x578bc2['CollaborationEvent'][_0x452859(0x384)]:{_0x1c7ead={'eventID':_0x578bc2[_0x452859(0xa5)][_0x452859(0x384)],'liveShareNewHost':_0x1fb335['data'][_0x452859(0x265)]};break;}case _0x578bc2[_0x452859(0xa5)][_0x452859(0x3db)]:{_0x1c7ead={'eventID':_0x578bc2['CollaborationEvent'][_0x452859(0x3db)],'liveShareOperation':_0x1fb335['data'][_0x452859(0x265)]};break;}case _0x578bc2['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x1c7ead={'eventID':_0x578bc2['CollaborationEvent'][_0x452859(0xfa)],'liveShareTerminate':_0x1fb335[_0x452859(0x265)]['data']};break;}case _0x578bc2[_0x452859(0xa5)][_0x452859(0x41c)]:{_0x1c7ead={'eventID':_0x578bc2[_0x452859(0xa5)][_0x452859(0x41c)],'liveShareRequestHost':_0x1fb335[_0x452859(0x265)][_0x452859(0x265)]};break;}case _0x578bc2[_0x452859(0xa5)]['LIVESHARE_FETCH_OPERATIONS']:{_0x1c7ead={'eventID':_0x578bc2['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1c7ead={'eventID':_0x1fb335[_0x452859(0x265)]['eventID']};}return JSON[_0x452859(0x13d)]({'cmd':_0x1fb335['cmd'],'routeKey':_0x1fb335[_0x452859(0x1d8)],'collaMsg':_0x1c7ead});}case _0x1d6ccd[_0x452859(0x148)]:return JSON['stringify']({'cmd':_0x1fb335[_0x452859(0x23c)],'routeKey':_0x1fb335[_0x452859(0x1d8)],'joinReq':_0x1fb335['data']});case _0x1d6ccd[_0x452859(0x3b0)]:return JSON['stringify']({'cmd':_0x1fb335[_0x452859(0x23c)],'routeKey':_0x1fb335[_0x452859(0x1d8)],'leaveReq':_0x1fb335[_0x452859(0x265)]});default:throw new Error(_0x452859(0xe8));}}var _0x11e25d=Object[_0x139332(0x212)],_0x542cff=(_0x108465,_0x498c8a,_0x22b85b,_0x3a6b90)=>{var _0x247f52=_0x139332;for(var _0x8698c9=_0x3a6b90>0x1?void 0x0:_0x3a6b90?_0x11e25d(_0x498c8a,_0x22b85b):_0x498c8a,_0x5449a0=_0x108465[_0x247f52(0x295)]-0x1,_0x2725ec;_0x5449a0>=0x0;_0x5449a0--)(_0x2725ec=_0x108465[_0x5449a0])&&(_0x8698c9=_0x2725ec(_0x8698c9)||_0x8698c9);return _0x8698c9;},_0x8d8348=(_0x4dd86f,_0x3eda59)=>(_0x37fe7b,_0x999290)=>_0x3eda59(_0x37fe7b,_0x999290,_0x4dd86f);const _0x57867e=_0x46e193[_0x139332(0x301)](_0x139332(0x14f));function _0x3ed0e8(_0x33736d,_0x363073,_0x177c60){var _0x5b200c=_0x139332;return _0x33736d+'/'+_0x363073+_0x5b200c(0x353)+_0x177c60+_0x5b200c(0xc9);}_0x52d482['CollaborationSocketService']=class extends _0x46e193[_0x139332(0x107)]{constructor(_0x5e063c,_0x3268fb,_0x1b3fc0,_0x1003fb,_0x4b23f5){var _0x52ee41=_0x139332;super(),this[_0x52ee41(0xaa)]=_0x5e063c,this['_httpService']=_0x3268fb,this[_0x52ee41(0x248)]=_0x1b3fc0,this[_0x52ee41(0x1d0)]=_0x1003fb,this['_snapshotServerService']=_0x4b23f5;}[_0x139332(0x19f)](_0x2ccfb6){var _0x13d2e5=_0x139332;const _0x306fc1=this[_0x13d2e5(0xaa)][_0x13d2e5(0x1f1)](_0x4c86e5['ISocketService']);if(!_0x306fc1)throw new Error(_0x13d2e5(0x23d));const _0x5237f7=_0x306fc1[_0x13d2e5(0x10e)](_0x2ccfb6);if(!_0x5237f7)throw new Error(_0x13d2e5(0x311));const _0x225c54=new _0x46e193[(_0x13d2e5(0x263))](),_0x4d7c0b=new _0x4449b2[(_0x13d2e5(0x3f8))]();_0x225c54[_0x13d2e5(0x403)](_0x5237f7['close$'][_0x13d2e5(0x3b1)](_0x4a072b=>_0x4d7c0b[_0x13d2e5(0x3ff)](_0x4a072b))),_0x225c54['add'](_0x46e193[_0x13d2e5(0x3e5)](()=>_0x4d7c0b[_0x13d2e5(0x319)]()));const _0x535bc0=new _0x4449b2['Subject']();_0x225c54['add'](_0x5237f7['error$'][_0x13d2e5(0x3b1)](_0x773400=>_0x535bc0[_0x13d2e5(0x3ff)](_0x773400))),_0x225c54[_0x13d2e5(0x403)](_0x46e193[_0x13d2e5(0x3e5)](()=>_0x535bc0['complete']()));const _0x1b4fdc=new _0x4449b2[(_0x13d2e5(0x3f8))]();_0x225c54['add'](_0x5237f7[_0x13d2e5(0x218)][_0x13d2e5(0x3b1)](_0x8e985a=>{const _0x5b402c=_0x12de71(_0x8e985a);_0x1b4fdc['next'](_0x5b402c);})),_0x225c54['add'](_0x46e193['toDisposable'](()=>_0x1b4fdc[_0x13d2e5(0x319)]()));let _0x384596;const _0x553010=()=>{var _0x58cbf4=_0x13d2e5;_0x535bc0[_0x58cbf4(0x3ff)](new Event('connection\x20error')),_0x4d7c0b['next'](new Event('connection\x20error')),_0x384596[_0x58cbf4(0xbe)]();};return _0x384596={'memberID':'','close$':_0x4d7c0b[_0x13d2e5(0x1a3)](),'error$':_0x535bc0['asObservable'](),'open$':_0x5237f7[_0x13d2e5(0x2b5)],'message$':_0x1b4fdc['asObservable'](),'send':_0x169ecd=>{var _0x4c000e=_0x13d2e5;if(_0x169ecd[_0x4c000e(0x23c)]===_0x1d6ccd['INGEST']){if(_0x169ecd[_0x4c000e(0x265)][_0x4c000e(0x2a5)]===_0x578bc2[_0x4c000e(0xa5)][_0x4c000e(0x2f0)]){this[_0x4c000e(0x394)](_0x384596,_0x169ecd[_0x4c000e(0x265)])['catch'](_0x26421e=>{var _0x1431cf=_0x4c000e;this[_0x1431cf(0x1d0)][_0x1431cf(0x3ca)](_0x26421e),_0x553010();});return;}if(_0x169ecd[_0x4c000e(0x265)][_0x4c000e(0x2a5)]===_0x578bc2[_0x4c000e(0xa5)][_0x4c000e(0x402)]){const _0x4fb8b7=_0x169ecd['data'];this[_0x4c000e(0x410)](_0x4fb8b7)['then'](_0x52edb0=>{var _0xbcd105=_0x4c000e;_0x1b4fdc['next']({'cmd':_0x1d6ccd['RECV'],'code':_0x86dfd9['OK'],'routeKey':_0x4fb8b7[_0xbcd105(0x265)][_0xbcd105(0x144)],'routeType':'','data':{'eventID':_0x578bc2[_0xbcd105(0xa5)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x52edb0}}});})[_0x4c000e(0xed)](_0x160232=>{this['_logService']['error'](_0x160232),_0x553010();});return;}}_0x5237f7[_0x4c000e(0x1e5)](_0x350e45(_0x169ecd));},'close':()=>{var _0x1ef6e3=_0x13d2e5;_0x5237f7[_0x1ef6e3(0xbe)](),_0x225c54[_0x1ef6e3(0x3e9)]();}},_0x384596;}async[_0x139332(0x394)](_0x184d30,_0x413112){var _0x55113e=_0x139332,_0x5c4479,_0x2a61d6;const {unitType:_0x4381c6,unitID:_0x35458d,changeset:_0xd20c49}=_0x413112['data'],_0x572f59={'unitID':_0x35458d,'memberID':_0x184d30['memberID'],'type':_0x4381c6,'changeset':_0x578bc2[_0x55113e(0x193)](_0xd20c49)},_0x511846=this['_configService'][_0x55113e(0x2e1)](_0x58deaa),_0x2747ee=this[_0x55113e(0x248)][_0x55113e(0x2e1)](_0x38cef3),_0x47c7d7=_0x3ed0e8((_0x2a61d6=(_0x5c4479=_0x2747ee==null?void 0x0:_0x2747ee['collabSubmitChangesetUrl'])!=null?_0x5c4479:_0x511846)!=null?_0x2a61d6:_0x2e7ecb,_0x4381c6,_0x35458d);try{await this[_0x55113e(0x184)]['post'](_0x47c7d7,{'body':_0x572f59});}catch(_0x5c8c87){throw this[_0x55113e(0x1d0)][_0x55113e(0x3ca)](_0x55113e(0x417),_0x55113e(0x3ec)),_0x5c8c87;}}async['_fetchMissChangesets'](_0x170ea8){var _0x5f03d6=_0x139332;const {unitID:_0xc2326d,from:_0x1b4ca9,to:_0x47e36b,unitType:_0x3cfdf8}=_0x170ea8[_0x5f03d6(0x265)];return(await this[_0x5f03d6(0x237)][_0x5f03d6(0x20f)]({'metadata':void 0x0},{'unitID':_0xc2326d,'type':_0x3cfdf8,'from':_0x1b4ca9,'to':_0x47e36b}))['changesets'];}},_0x52d482['CollaborationSocketService']=_0x542cff([_0x8d8348(0x0,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0x2b8)])),_0x8d8348(0x1,_0x46e193[_0x139332(0x9e)](_0x4c86e5[_0x139332(0x1a0)])),_0x8d8348(0x2,_0x46e193[_0x139332(0x1c6)]),_0x8d8348(0x3,_0x46e193['ILogService']),_0x8d8348(0x4,_0x578bc2[_0x139332(0x31a)])],_0x52d482['CollaborationSocketService']);const _0x2605ce=_0x139332(0x222);function _0x24820d(_0x8b827b){var _0x1553c4=_0x139332;return JSON[_0x1553c4(0x13d)](_0x8b827b)[_0x1553c4(0x295)];}class _0x3d0d6a{constructor(){var _0x5ad593=_0x139332;_0x3332c7(this,_0x5ad593(0x3f4),new _0x4449b2['Subject']()),_0x3332c7(this,_0x5ad593(0x2ac),this[_0x5ad593(0x3f4)][_0x5ad593(0x1a3)]());}[_0x139332(0x14c)](_0x4dacd4){var _0x369129=_0x139332;this['_commentUpdate$'][_0x369129(0x3ff)](_0x4dacd4);}}var _0x3b5fc5=Object['getOwnPropertyDescriptor'],_0xdb8200=(_0x213315,_0x508f8d,_0x1b5d5a,_0x2f906d)=>{for(var _0x328f10=_0x2f906d>0x1?void 0x0:_0x2f906d?_0x3b5fc5(_0x508f8d,_0x1b5d5a):_0x508f8d,_0x5e94fc=_0x213315['length']-0x1,_0x314b82;_0x5e94fc>=0x0;_0x5e94fc--)(_0x314b82=_0x213315[_0x5e94fc])&&(_0x328f10=_0x314b82(_0x328f10)||_0x328f10);return _0x328f10;},_0x39e8b8=(_0x189665,_0x5bb9e4)=>(_0x46f6d7,_0xe7a306)=>_0x5bb9e4(_0x46f6d7,_0xe7a306,_0x189665);_0x52d482[_0x139332(0x3d9)]=class extends _0x46e193[_0x139332(0x107)]{constructor(_0x20e71e,_0x3ca318){var _0x46c01b=_0x139332;super(),_0x3332c7(this,'_roomMembers',new Map()),_0x3332c7(this,_0x46c01b(0x3ed),new _0x4449b2['Subject']()),(this[_0x46c01b(0x18b)]=_0x20e71e,this[_0x46c01b(0x159)]=_0x3ca318,this[_0x46c01b(0x2dc)](_0x4449b2[_0x46c01b(0x12b)](this[_0x46c01b(0x18b)][_0x46c01b(0xda)](_0x46e193[_0x46c01b(0x36a)][_0x46c01b(0xfd)])[_0x46c01b(0x12a)](_0xcf82d3[_0x46c01b(0x1af)](_0x81a653=>_0x81a653[_0x46c01b(0x339)]())),this[_0x46c01b(0x18b)][_0x46c01b(0xda)](_0x46e193[_0x46c01b(0x36a)]['UNIVER_DOC'])[_0x46c01b(0x12a)](_0xcf82d3[_0x46c01b(0x1af)](_0xf56b8c=>_0xf56b8c[_0x46c01b(0x339)]())),this[_0x46c01b(0x18b)]['getTypeOfUnitDisposed$'](_0x46e193[_0x46c01b(0x36a)][_0x46c01b(0x3bd)])[_0x46c01b(0x12a)](_0xcf82d3[_0x46c01b(0x1af)](_0x155148=>_0x155148[_0x46c01b(0x339)]())))[_0x46c01b(0x3b1)](_0x17f6d4=>this['_removeRoom'](_0x17f6d4))));}[_0x139332(0x174)](_0x2c0886){var _0x52a847=_0x139332;return this['_roomMembers'][_0x52a847(0x22a)](_0x2c0886)?_0x4449b2['of'](this[_0x52a847(0x30e)][_0x52a847(0x1f1)](_0x2c0886)):this[_0x52a847(0x3ed)][_0x52a847(0x12a)](_0xcf82d3['map'](_0xc1d829=>{if(_0xc1d829===_0x2c0886)return this['_roomMembers']['get'](_0xc1d829);}));}['setCurrentUser'](_0x44a366){var _0x2e14af=_0x139332;this[_0x2e14af(0x159)][_0x2e14af(0x284)](_0x44a366);}[_0x139332(0x254)](){var _0x204a70=_0x139332;return this[_0x204a70(0x159)]['getCurrentUser']();}[_0x139332(0x331)](_0x1e15a4,_0x33eaae){var _0x3872f1=_0x139332;let _0x3bf61f=this[_0x3872f1(0x30e)]['get'](_0x1e15a4);_0x3bf61f||(_0x3bf61f=new _0x23c5d6(),this['_roomMembers'][_0x3872f1(0x3e3)](_0x1e15a4,_0x3bf61f),this[_0x3872f1(0x3ed)][_0x3872f1(0x3ff)](_0x1e15a4)),_0x3bf61f['updateMember'](_0x33eaae);}[_0x139332(0x22b)](_0x225723,_0x48a516){var _0x834ef6=_0x139332;const _0x13b423=this['_roomMembers']['get'](_0x225723);_0x13b423&&_0x13b423[_0x834ef6(0x22b)](_0x48a516);}['getRoom'](_0x13fc10){var _0x3d7170=_0x139332;return this[_0x3d7170(0x30e)][_0x3d7170(0x1f1)](_0x13fc10);}[_0x139332(0x393)](_0x3d0e90,_0x18a005){var _0x3d67b7=_0x139332;const _0x413602=this[_0x3d67b7(0x30e)][_0x3d67b7(0x1f1)](_0x3d0e90);if(_0x413602)return _0x413602['getMember'](_0x18a005);}[_0x139332(0x137)](_0x44ca66){var _0x428de7=_0x139332;const _0x2b9f5e=this[_0x428de7(0x30e)][_0x428de7(0x1f1)](_0x44ca66);_0x2b9f5e&&(_0x2b9f5e[_0x428de7(0x3e9)](),this[_0x428de7(0x30e)][_0x428de7(0x37a)](_0x44ca66));}[_0x139332(0x3e9)](){var _0x3df243=_0x139332;this['_roomMembers']['forEach'](_0x16e0ec=>_0x16e0ec[_0x3df243(0x3e9)]()),this['_roomMembers'][_0x3df243(0x20c)](),this['_roomCreated$'][_0x3df243(0x319)]();}},_0x52d482['MemberService']=_0xdb8200([_0x39e8b8(0x0,_0x46e193[_0x139332(0xb9)]),_0x39e8b8(0x1,_0x46e193[_0x139332(0x9e)](_0x46e193['UserManagerService']))],_0x52d482[_0x139332(0x3d9)]);class _0x23c5d6 extends _0x46e193['Disposable']{constructor(){var _0x58386d=_0x139332;super(...arguments),_0x3332c7(this,_0x58386d(0x391),new Map()),_0x3332c7(this,_0x58386d(0x25d),new _0x4449b2['BehaviorSubject'](this[_0x58386d(0x391)])),_0x3332c7(this,_0x58386d(0x33b),this[_0x58386d(0x25d)][_0x58386d(0x1a3)]());}[_0x139332(0x3e9)](){var _0x3d5de9=_0x139332;this[_0x3d5de9(0x391)]['clear']();}[_0x139332(0x331)](_0x3b722b){var _0x9d29b0=_0x139332;this[_0x9d29b0(0x391)][_0x9d29b0(0x3e3)](_0x3b722b[_0x9d29b0(0x34d)],_0x3b722b),this[_0x9d29b0(0x315)]();}[_0x139332(0x22b)](_0x28d2d7){var _0x133931=_0x139332;this[_0x133931(0x391)][_0x133931(0x37a)](_0x28d2d7);}[_0x139332(0x393)](_0x3c7a18){var _0xe8e0cd=_0x139332;return this[_0xe8e0cd(0x391)][_0xe8e0cd(0x1f1)](_0x3c7a18);}[_0x139332(0x258)](){var _0x1ecbe9=_0x139332;return Array[_0x1ecbe9(0x19d)](this[_0x1ecbe9(0x391)][_0x1ecbe9(0x223)]());}[_0x139332(0x315)](){var _0x5d4a24=_0x139332;this[_0x5d4a24(0x25d)][_0x5d4a24(0x3ff)](this['_members']);}}var _0x500508=Object[_0x139332(0x212)],_0x3f8b25=(_0x59c5ce,_0x370d4e,_0x20ce63,_0x59809b)=>{var _0x276c4f=_0x139332;for(var _0x599b27=_0x59809b>0x1?void 0x0:_0x59809b?_0x500508(_0x370d4e,_0x20ce63):_0x370d4e,_0x3269e9=_0x59c5ce[_0x276c4f(0x295)]-0x1,_0x11689d;_0x3269e9>=0x0;_0x3269e9--)(_0x11689d=_0x59c5ce[_0x3269e9])&&(_0x599b27=_0x11689d(_0x599b27)||_0x599b27);return _0x599b27;},_0x4a7df7=(_0x30d448,_0x2ad6c4)=>(_0x99fb0c,_0x3c86da)=>_0x2ad6c4(_0x99fb0c,_0x3c86da,_0x30d448),_0xb21791=(_0x1683ad=>(_0x1683ad[_0x1683ad[_0x139332(0xb5)]=0x0]='IDLE',_0x1683ad[_0x1683ad[_0x139332(0x189)]=0x1]=_0x139332(0x189),_0x1683ad[_0x1683ad[_0x139332(0x285)]=0x2]='OFFLINE',_0x1683ad[_0x1683ad['ONLINE']=0x3]=_0x139332(0x2f6),_0x1683ad))(_0xb21791||{});const _0x1aa1a8={[_0x86dfd9[_0x139332(0x36d)]]:_0x139332(0xe5),[_0x86dfd9[_0x139332(0x2f9)]]:_0x139332(0x302),[_0x86dfd9['JOIN_ROOM_NOT_EXISTS']]:_0x139332(0x350),[_0x86dfd9[_0x139332(0x10f)]]:_0x139332(0x413),[_0x86dfd9[_0x139332(0x290)]]:_0x139332(0x294)};_0x52d482[_0x139332(0x251)]=class extends _0x46e193[_0x139332(0xc3)]{constructor(_0x42670e,_0x46c0e6,_0x4c7b70,_0x4ede0a,_0xfe007a,_0x45830c,_0x12ac3f,_0x1c1150,_0x9d962b){var _0x2e47b3=_0x139332;super(),_0x3332c7(this,_0x2e47b3(0x2ec),new _0x4449b2['BehaviorSubject'](0x0)),_0x3332c7(this,_0x2e47b3(0x1c7),this[_0x2e47b3(0x2ec)][_0x2e47b3(0x1a3)]()),_0x3332c7(this,_0x2e47b3(0x31d),new _0x4449b2[(_0x2e47b3(0x3f8))]()),_0x3332c7(this,'event$',this['_event$'][_0x2e47b3(0x1a3)]()),_0x3332c7(this,_0x2e47b3(0x1d6)),_0x3332c7(this,'_socketMessageSubscription'),_0x3332c7(this,_0x2e47b3(0x30d)),_0x3332c7(this,_0x2e47b3(0x12f),!0x1),_0x3332c7(this,_0x2e47b3(0x111),null),(this[_0x2e47b3(0x28e)]=_0x42670e,this[_0x2e47b3(0x1d0)]=_0x4c7b70,this[_0x2e47b3(0x248)]=_0x4ede0a,this[_0x2e47b3(0x373)]=_0xfe007a,this[_0x2e47b3(0x1ae)]=_0x45830c,this[_0x2e47b3(0x147)]=_0x12ac3f,this[_0x2e47b3(0x1fd)]=_0x1c1150,this['_telemetryService']=_0x9d962b,this[_0x2e47b3(0x12f)]=!!this[_0x2e47b3(0x3dd)],_0x46c0e6['pipe'](_0x4449b2[_0x2e47b3(0x15e)](this[_0x2e47b3(0x1ea)]))['subscribe'](_0x24506d=>{var _0x5c4345=_0x2e47b3,_0x49246f;typeof _0x24506d>'u'||(this['_socket']=_0x24506d,_0x24506d?(this[_0x5c4345(0x2c6)](_0x24506d),this[_0x5c4345(0x3a2)]=_0x24506d[_0x5c4345(0x218)]['subscribe'](_0x100d74=>{var _0x4617e5=_0x5c4345;_0x100d74[_0x4617e5(0x1d8)]===this[_0x4617e5(0x28e)]&&this[_0x4617e5(0x327)](_0x100d74);})):(this[_0x5c4345(0x3fe)](),this['_sessionStatus$'][_0x5c4345(0x3ff)](0x2),(_0x49246f=this[_0x5c4345(0x3a2)])==null||_0x49246f[_0x5c4345(0x3e7)](),this[_0x5c4345(0x3a2)]=null));}));}get['sessionStatus'](){var _0x444257=_0x139332;return this[_0x444257(0x2ec)][_0x444257(0x35b)]();}[_0x139332(0x149)](){var _0x7cf6ce=_0x139332,_0x230eee,_0x1a0e0f;return(_0x1a0e0f=(_0x230eee=this[_0x7cf6ce(0x1d6)])==null?void 0x0:_0x230eee[_0x7cf6ce(0x34d)])!=null?_0x1a0e0f:null;}[_0x139332(0x3e9)](){var _0x71a4b4=_0x139332;super[_0x71a4b4(0x3e9)](),this['dispose$']['next'](),this['dispose$'][_0x71a4b4(0x319)]();}[_0x139332(0xbe)](){var _0xa2182b=_0x139332,_0x23fc01,_0x85a23a;this['_throwTelemetryCollaborationNewChangeset'](),(_0x23fc01=this[_0xa2182b(0x1d6)])==null||_0x23fc01[_0xa2182b(0x1e5)]({'cmd':_0x1d6ccd['LEAVE'],'data':{'roomID':this[_0xa2182b(0x28e)]}}),(_0x85a23a=this[_0xa2182b(0x1d6)])==null||_0x85a23a[_0xa2182b(0xbe)](),this[_0xa2182b(0x31d)]['complete'](),this[_0xa2182b(0x2ec)][_0xa2182b(0x319)](),this[_0xa2182b(0x3e9)]();}[_0x139332(0x327)](_0x4fda0c){var _0x3f402d=_0x139332;_0x4fda0c[_0x3f402d(0x23c)]===_0x1d6ccd[_0x3f402d(0x148)]?this[_0x3f402d(0x145)](_0x4fda0c):_0x4fda0c[_0x3f402d(0x23c)]===_0x1d6ccd[_0x3f402d(0x419)]&&this[_0x3f402d(0x367)](_0x4fda0c);}[_0x139332(0x2c6)](_0x3dcd48){var _0x2b9586=_0x139332;this[_0x2b9586(0x2ec)][_0x2b9586(0x3ff)](0x1),_0x3dcd48[_0x2b9586(0x1e5)]({'cmd':_0x1d6ccd[_0x2b9586(0x148)],'routeKey':this[_0x2b9586(0x28e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2b9586(0x28e)]}]}});}['_onJoinRoomEvent'](_0x1bf2a3){var _0x24613f=_0x139332,_0x97b75a;if(_0x1bf2a3[_0x24613f(0x1e6)]in _0x1aa1a8){this[_0x24613f(0x1fd)]['emitEvent']({'id':_0x117dfc[_0x24613f(0x9d)],'data':_0x1aa1a8[_0x1bf2a3[_0x24613f(0x1e6)]]}),this[_0x24613f(0x2ec)][_0x24613f(0x3ff)](0x2);return;}this['_sessionStatus$'][_0x24613f(0x3ff)](0x3);const _0x297d4f=(_0x97b75a=_0x1bf2a3['data'][_0x24613f(0x22d)][this[_0x24613f(0x28e)]])==null?void 0x0:_0x97b75a[_0x24613f(0x32d)];_0x297d4f&&_0x297d4f['forEach'](_0x2f4824=>this[_0x24613f(0x1ae)]['updateMember'](this['_unitID'],_0x2f4824));}[_0x139332(0x367)](_0x202808){var _0x56fa69=_0x139332;try{const _0x254cba=_0x202808['data'];switch(_0x254cba[_0x56fa69(0x2a5)]){case _0x578bc2[_0x56fa69(0xa5)][_0x56fa69(0xdc)]:this[_0x56fa69(0x3d5)](_0x254cba),this[_0x56fa69(0x31d)]['next'](_0x254cba);break;case _0x578bc2[_0x56fa69(0xa5)][_0x56fa69(0x122)]:this['_onUserLeave'](_0x254cba),this[_0x56fa69(0x31d)][_0x56fa69(0x3ff)](_0x254cba);break;case _0x578bc2[_0x56fa69(0xa5)][_0x56fa69(0x2f4)]:case _0x578bc2[_0x56fa69(0xa5)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x56fa69(0x277)](),this[_0x56fa69(0x31d)][_0x56fa69(0x3ff)](_0x254cba);break;case _0x578bc2['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x56fa69(0x1d0)][_0x56fa69(0x3ca)](_0x56fa69(0x300)+JSON[_0x56fa69(0x13d)](_0x254cba)),this[_0x56fa69(0x31d)]['next'](_0x254cba);break;case _0x578bc2[_0x56fa69(0xa5)][_0x56fa69(0x383)]:this[_0x56fa69(0x147)]['onCommentUpdate'](_0x254cba[_0x56fa69(0x265)]),this[_0x56fa69(0x31d)]['next'](_0x254cba);break;default:this['_event$']['next'](_0x254cba);}}catch(_0x2d298d){this['_logService'][_0x56fa69(0x3ca)](_0x2d298d,_0x202808);}}[_0x139332(0x3d5)](_0xeee781){var _0x40a6e0=_0x139332;this[_0x40a6e0(0x1ae)]['updateMember'](this[_0x40a6e0(0x28e)],_0xeee781[_0x40a6e0(0x265)]);}[_0x139332(0x191)](_0x18c36c){var _0x4f7d19=_0x139332;this[_0x4f7d19(0x1ae)][_0x4f7d19(0x22b)](this[_0x4f7d19(0x28e)],_0x18c36c[_0x4f7d19(0x265)]['memberID']);}async[_0x139332(0x1e5)](_0x4a8680,_0x19dc2f){var _0x2d95e7=_0x139332;if(this[_0x2d95e7(0x13a)]!==0x3||!this['_socket'])throw new Error(_0x2d95e7(0x287));try{_0x4a8680[_0x2d95e7(0x2a5)]===_0x578bc2[_0x2d95e7(0xa5)][_0x2d95e7(0x2f0)]&&(this[_0x2d95e7(0x152)](),this['_startTelemetryCollaborationNewChangeset'](_0x4a8680)),this[_0x2d95e7(0x1d6)]['send']({'cmd':_0x1d6ccd[_0x2d95e7(0x1a6)],'routeKey':_0x19dc2f,'routeType':'','data':_0x4a8680});}catch(_0x40a7af){this['_logService'][_0x2d95e7(0x3ca)](_0x40a7af);}}[_0x139332(0x152)](){var _0x437ea9=_0x139332,_0x2f3a71;this[_0x437ea9(0x30d)]=setTimeout(()=>{var _0x4a1ab3=_0x437ea9;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x4a1ab3(0x389)]({'id':_0x117dfc[_0x4a1ab3(0x296)]});},(_0x2f3a71=this[_0x437ea9(0x248)][_0x437ea9(0x2e1)](_0x1fbb93))!=null?_0x2f3a71:0x4e20);}['_clearCollaborationTimeoutTimer'](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x139332(0x381)](_0x5dce62){var _0x10e290=_0x139332;if(!this[_0x10e290(0x12f)])return;const {data:_0xdd6328}=_0x5dce62,{unitID:_0xd5919c,changeset:_0x14d1fb}=_0xdd6328,{mutations:_0x48d0db,type:_0x758715}=_0x14d1fb;this['_telemetryInfo']={'unitId':_0xd5919c,'type':_0x758715,'startTime':performance[_0x10e290(0x379)](),'stopTime':0x0,'duration':0x0,'size':_0x24820d(_0x48d0db)};}[_0x139332(0x2e7)](){var _0x4f0b07=_0x139332;if(this[_0x4f0b07(0x12f)]){if(!this[_0x4f0b07(0x111)]){this[_0x4f0b07(0x1d0)]['error'](_0x4f0b07(0x417),_0x4f0b07(0x11b));return;}this[_0x4f0b07(0x111)][_0x4f0b07(0x3c1)]=performance[_0x4f0b07(0x379)](),this[_0x4f0b07(0x111)][_0x4f0b07(0x2fb)]=this[_0x4f0b07(0x111)][_0x4f0b07(0x3c1)]-this[_0x4f0b07(0x111)][_0x4f0b07(0x135)],this[_0x4f0b07(0x3dd)]['capture'](_0x2605ce,this['_telemetryInfo']),this[_0x4f0b07(0x111)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x27b9df=_0x139332;this[_0x27b9df(0x111)]=null;}},_0x52d482[_0x139332(0x251)]=_0x3f8b25([_0x4a7df7(0x2,_0x46e193[_0x139332(0x1ed)]),_0x4a7df7(0x3,_0x46e193[_0x139332(0x1c6)]),_0x4a7df7(0x4,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0xd7)])),_0x4a7df7(0x5,_0x46e193[_0x139332(0x9e)](_0x52d482[_0x139332(0x3d9)])),_0x4a7df7(0x6,_0x46e193[_0x139332(0x9e)](_0x3d0d6a)),_0x4a7df7(0x7,_0x46e193['Inject'](_0xc27cb3)),_0x4a7df7(0x8,_0x46e193[_0x139332(0x332)](_0x47f55e[_0x139332(0x38a)]))],_0x52d482[_0x139332(0x251)]);var _0x2bc1d8=Object[_0x139332(0x212)],_0x14b67a=(_0x24a528,_0x54e422,_0x38e22e,_0x56496c)=>{for(var _0x11ba74=_0x56496c>0x1?void 0x0:_0x56496c?_0x2bc1d8(_0x54e422,_0x38e22e):_0x54e422,_0x40910d=_0x24a528['length']-0x1,_0x29e070;_0x40910d>=0x0;_0x40910d--)(_0x29e070=_0x24a528[_0x40910d])&&(_0x11ba74=_0x29e070(_0x11ba74)||_0x11ba74);return _0x11ba74;},_0x2bb3b5=(_0x18ec35,_0x41d9fa)=>(_0x3dab2b,_0x35f9e5)=>_0x41d9fa(_0x3dab2b,_0x35f9e5,_0x18ec35);_0x52d482[_0x139332(0x1b0)]=class extends _0x46e193[_0x139332(0x107)]{constructor(_0x19f31f,_0x6bab54,_0x3215e,_0xf7ae9e,_0x52611c,_0x3624d9){var _0x8f12bc=_0x139332;super(),_0x3332c7(this,'_socket$',new _0x4449b2[(_0x8f12bc(0x3e1))](void 0x0)),_0x3332c7(this,_0x8f12bc(0x25a),this['_socket$'][_0x8f12bc(0x1a3)]()),_0x3332c7(this,_0x8f12bc(0x220),null),_0x3332c7(this,_0x8f12bc(0x171),new Map()),_0x3332c7(this,_0x8f12bc(0x20d),new _0x4449b2[(_0x8f12bc(0x3e1))](_0xb21791[_0x8f12bc(0xb5)])),_0x3332c7(this,_0x8f12bc(0x2fa),this['_status$']['asObservable']()),_0x3332c7(this,_0x8f12bc(0x142),!0x1),_0x3332c7(this,_0x8f12bc(0x3ac)),_0x3332c7(this,_0x8f12bc(0x1d3),0x0),_0x3332c7(this,_0x8f12bc(0x2b4)),_0x3332c7(this,_0x8f12bc(0x27f)),(this[_0x8f12bc(0xaa)]=_0x19f31f,this['_logService']=_0x6bab54,this['_configService']=_0x3215e,this['_socketService']=_0xf7ae9e,this[_0x8f12bc(0x1fd)]=_0x52611c,this[_0x8f12bc(0x1e1)]=_0x3624d9,this['_listenToNetworkCondition']());}get['_socket'](){var _0x512d32=_0x139332;return this[_0x512d32(0x230)][_0x512d32(0x35b)]();}['_listenToNetworkCondition'](){var _0x1e4763=_0x139332;this[_0x1e4763(0x1e1)]&&this[_0x1e4763(0x2dc)](this['_networkConditionService']['online$'][_0x1e4763(0x3b1)](_0xa85038=>{var _0x1b6dc6=_0x1e4763;_0xa85038&&!this[_0x1b6dc6(0x1d6)]&&this[_0x1b6dc6(0x32c)](),_0xa85038||this['_onOffline']();}));}[_0x139332(0x3e9)](){var _0x55285f=_0x139332;super[_0x55285f(0x3e9)](),this[_0x55285f(0x2bb)](),this[_0x55285f(0x1bd)](),this[_0x55285f(0x2e0)](),this[_0x55285f(0x171)][_0x55285f(0x2a0)](_0x102050=>_0x102050[_0x55285f(0x3e9)]()),this[_0x55285f(0x171)]['clear'](),this[_0x55285f(0x20d)][_0x55285f(0x319)]();}async[_0x139332(0x17b)](_0x221379){var _0x2012b2=_0x139332;if(this[_0x2012b2(0x171)][_0x2012b2(0x22a)](_0x221379))return this[_0x2012b2(0x171)][_0x2012b2(0x1f1)](_0x221379);this[_0x2012b2(0x2bc)]();const _0x1840f5=this['_injector']['createInstance'](_0x52d482[_0x2012b2(0x251)],_0x221379,this[_0x2012b2(0x230)]['asObservable']());return this[_0x2012b2(0x171)]['set'](_0x221379,_0x1840f5),_0x1840f5;}[_0x139332(0x2aa)](_0x4b7257){var _0x37093b=_0x139332,_0x5191ab;const _0x1669dd=this[_0x37093b(0x171)][_0x37093b(0x1f1)](_0x4b7257);_0x1669dd&&(this['_sessions']['delete'](_0x4b7257),_0x1669dd[_0x37093b(0xbe)]()),this[_0x37093b(0x171)]['size']||(_0x5191ab=this[_0x37093b(0x1d6)])==null||_0x5191ab['close']();}['reconnect'](){var _0x3f384f=_0x139332;this['_retryCount']=0x0,this[_0x3f384f(0x2bb)](),this[_0x3f384f(0x2b7)]();}[_0x139332(0x2bb)](){var _0x16f4e6=_0x139332;this[_0x16f4e6(0x3ac)]!=null&&(clearTimeout(this[_0x16f4e6(0x3ac)]),this[_0x16f4e6(0x3ac)]=null);}async[_0x139332(0xe9)](){var _0x777b66=_0x139332,_0x56070a,_0x5d8461;const _0xd90142=this['_configService'][_0x777b66(0x2e1)](_0x3edcda),_0x3ad605=this[_0x777b66(0x248)][_0x777b66(0x2e1)](_0x38cef3),_0x117f41=(_0x5d8461=(_0x56070a=_0x3ad605==null?void 0x0:_0x3ad605[_0x777b66(0x1a4)])!=null?_0x56070a:_0xd90142)!=null?_0x5d8461:_0x179566,_0x49509d=await this[_0x777b66(0xdd)][_0x777b66(0x10e)](_0x117f41);return this[_0x777b66(0x220)]=_0x49509d,_0x49509d;}async[_0x139332(0x2bc)](){var _0x228782=_0x139332,_0x615920,_0x26eeae;try{const _0x5866ee=(_0x26eeae=(_0x615920=this[_0x228782(0x1d6)])!=null?_0x615920:this[_0x228782(0x220)])!=null?_0x26eeae:await this[_0x228782(0xe9)]();if(_0x5866ee){const _0x41ac0f=_0x5866ee[_0x228782(0x1e5)];_0x5866ee[_0x228782(0x1e5)]=_0xc3feb9=>(this[_0x228782(0x16f)](),_0x41ac0f[_0x228782(0xf4)](_0x5866ee,[_0xc3feb9])),_0x5866ee[_0x228782(0x218)][_0x228782(0x3b1)](_0x3c3dd9=>this['_onMessage'](_0x5866ee,_0x3c3dd9)),_0x5866ee['error$'][_0x228782(0x12a)](_0xcf82d3[_0x228782(0xd2)](0x1))[_0x228782(0x3b1)](_0x154e9b=>this[_0x228782(0x1d0)]['error'](_0x228782(0x397),_0x154e9b)),_0x5866ee['open$'][_0x228782(0x12a)](_0xcf82d3[_0x228782(0xd2)](0x1))[_0x228782(0x3b1)](()=>{var _0x4068fe=_0x228782;this[_0x4068fe(0xe4)](_0x5866ee);}),_0x5866ee[_0x228782(0x3e4)][_0x228782(0x12a)](_0xcf82d3[_0x228782(0xd2)](0x1))[_0x228782(0x3b1)](_0x13e5fb=>{var _0x3a56ab=_0x228782;this['_logService']['debug']('[CollaborationSessionService]',_0x3a56ab(0x2af),_0x13e5fb),this[_0x3a56ab(0xc0)]();});}}catch(_0x8c7116){this[_0x228782(0x1d0)][_0x228782(0x3ca)](_0x8c7116),this[_0x228782(0xc0)]();}}[_0x139332(0xe4)](_0x5d44c5){var _0xea8f6d=_0x139332;this[_0xea8f6d(0x1d0)][_0xea8f6d(0x102)](_0xea8f6d(0x39c),_0xea8f6d(0x33c)),_0x5d44c5[_0xea8f6d(0x1e5)]({'cmd':_0x1d6ccd['HELLO']}),this[_0xea8f6d(0x16f)]();}[_0x139332(0x163)](){var _0x17270e=_0x139332;this[_0x17270e(0x142)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x17270e(0x3ff)](_0xb21791['OFFLINE']),this[_0x17270e(0x230)][_0x17270e(0x3ff)](null),this[_0x17270e(0x1bd)](),this[_0x17270e(0x2e0)]();}[_0x139332(0xc0)](){var _0x40f7fc=_0x139332,_0x5179db;this[_0x40f7fc(0x163)](),this[_0x40f7fc(0x1d3)]<((_0x5179db=this[_0x40f7fc(0x248)]['getConfig'](_0x52db60))!=null?_0x5179db:0x3)?(this[_0x40f7fc(0x1fd)][_0x40f7fc(0x389)]({'id':_0x117dfc[_0x40f7fc(0x280)]}),this[_0x40f7fc(0x2b7)]()):this[_0x40f7fc(0x1fd)][_0x40f7fc(0x389)]({'id':_0x117dfc['SOCKET_FAILED']});}[_0x139332(0x2b7)](){var _0x5a067b=_0x139332,_0x3f2c19;const _0x3d0229=this[_0x5a067b(0x1d3)],_0x458729=this[_0x5a067b(0x248)]['getConfig'](_0x38cef3),_0x42e5c1=_0x3d0229===0x0?0x0:((_0x3f2c19=_0x458729==null?void 0x0:_0x458729[_0x5a067b(0x241)])!=null?_0x3f2c19:0x4e20)*0x2**_0x3d0229;this['_retryConnectingTimer']=setTimeout(()=>{var _0x48a62b=_0x5a067b;clearTimeout(this[_0x48a62b(0x3ac)]),this[_0x48a62b(0x3ac)]=null,this[_0x48a62b(0x2bc)]();},_0x42e5c1),this[_0x5a067b(0x1d3)]+=0x1;}[_0x139332(0x39d)](_0x5eb823,_0x10056c){var _0x131fd3=_0x139332;const {cmd:_0x4b439a}=_0x10056c;_0x4b439a===_0x1d6ccd[_0x131fd3(0x15a)]&&!this[_0x131fd3(0x142)]&&(_0x5eb823[_0x131fd3(0x34d)]=_0x10056c[_0x131fd3(0x265)][_0x131fd3(0x34d)],this[_0x131fd3(0x230)][_0x131fd3(0x3ff)](_0x5eb823),this[_0x131fd3(0x20d)][_0x131fd3(0x3ff)](_0xb21791[_0x131fd3(0x2f6)]),this[_0x131fd3(0x142)]=!0x0,this[_0x131fd3(0x220)]=null),_0x4b439a===_0x1d6ccd['HEARTBEAT']&&this[_0x131fd3(0x1bd)](),this[_0x131fd3(0x16f)]();}['_rescheduleHeartbeat'](){var _0x4cdf31=_0x139332,_0x6da948;this[_0x4cdf31(0x2e0)](),this[_0x4cdf31(0x2b4)]=setTimeout(()=>this[_0x4cdf31(0x2d4)](),(_0x6da948=this[_0x4cdf31(0x248)][_0x4cdf31(0x2e1)](_0x821e72))!=null?_0x6da948:0x7530);}['_sendHeartbeat'](){var _0x6290d3=_0x139332;this[_0x6290d3(0x1d6)][_0x6290d3(0x1e5)]({'cmd':_0x1d6ccd[_0x6290d3(0x255)]}),this['_waitForHeartbeatResponse']();}[_0x139332(0xad)](){var _0x3d056b=_0x139332,_0x11f69f;this[_0x3d056b(0x27f)]=setTimeout(()=>this[_0x3d056b(0xc0)](),(_0x11f69f=this[_0x3d056b(0x248)]['getConfig'](_0x1fbb93))!=null?_0x11f69f:0x4e20);}[_0x139332(0x2e0)](){var _0x5a5a4d=_0x139332;this[_0x5a5a4d(0x2b4)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5a5a4d(0x2b4)]=null);}[_0x139332(0x1bd)](){var _0x52aee5=_0x139332;this[_0x52aee5(0x27f)]!=null&&(clearTimeout(this[_0x52aee5(0x27f)]),this[_0x52aee5(0x27f)]=null);}},_0x52d482[_0x139332(0x1b0)]=_0x14b67a([_0x2bb3b5(0x0,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0x2b8)])),_0x2bb3b5(0x1,_0x46e193[_0x139332(0x1ed)]),_0x2bb3b5(0x2,_0x46e193['IConfigService']),_0x2bb3b5(0x3,_0x57867e),_0x2bb3b5(0x4,_0x46e193['Inject'](_0xc27cb3)),_0x2bb3b5(0x5,_0x46e193[_0x139332(0x332)](_0x4b654c))],_0x52d482[_0x139332(0x1b0)]);const _0x1f3439=[];for(let _0x5a623b=0x0;_0x5a623b<0x100;++_0x5a623b)_0x1f3439[_0x139332(0x34b)]((_0x5a623b+0x100)[_0x139332(0x388)](0x10)['slice'](0x1));function _0x3e9233(_0x28482d,_0x358106=0x0){var _0x37e6d7=_0x139332;return(_0x1f3439[_0x28482d[_0x358106+0x0]]+_0x1f3439[_0x28482d[_0x358106+0x1]]+_0x1f3439[_0x28482d[_0x358106+0x2]]+_0x1f3439[_0x28482d[_0x358106+0x3]]+'-'+_0x1f3439[_0x28482d[_0x358106+0x4]]+_0x1f3439[_0x28482d[_0x358106+0x5]]+'-'+_0x1f3439[_0x28482d[_0x358106+0x6]]+_0x1f3439[_0x28482d[_0x358106+0x7]]+'-'+_0x1f3439[_0x28482d[_0x358106+0x8]]+_0x1f3439[_0x28482d[_0x358106+0x9]]+'-'+_0x1f3439[_0x28482d[_0x358106+0xa]]+_0x1f3439[_0x28482d[_0x358106+0xb]]+_0x1f3439[_0x28482d[_0x358106+0xc]]+_0x1f3439[_0x28482d[_0x358106+0xd]]+_0x1f3439[_0x28482d[_0x358106+0xe]]+_0x1f3439[_0x28482d[_0x358106+0xf]])[_0x37e6d7(0x201)]();}let _0x4f1c86;const _0x1d3cfb=new Uint8Array(0x10);function _0x35f831(){var _0x44f710=_0x139332;if(!_0x4f1c86){if(typeof crypto>'u'||!crypto[_0x44f710(0xb2)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x4f1c86=crypto[_0x44f710(0xb2)]['bind'](crypto);}return _0x4f1c86(_0x1d3cfb);}const _0xd3301={'randomUUID':typeof crypto<'u'&&crypto[_0x139332(0x267)]&&crypto[_0x139332(0x267)][_0x139332(0x3a0)](crypto)};function _0x475e9f(_0x2a4764,_0x5c5e93,_0x32a773){var _0x22cc22=_0x139332,_0x1dbc46,_0x5f2236,_0x28da5c;if(_0xd3301[_0x22cc22(0x267)]&&!_0x2a4764)return _0xd3301['randomUUID']();_0x2a4764=_0x2a4764||{};const _0x42c5b3=(_0x28da5c=(_0x5f2236=_0x2a4764['random'])!=null?_0x5f2236:(_0x1dbc46=_0x2a4764[_0x22cc22(0x3f6)])==null?void 0x0:_0x1dbc46['call'](_0x2a4764))!=null?_0x28da5c:_0x35f831();if(_0x42c5b3[_0x22cc22(0x295)]<0x10)throw new Error(_0x22cc22(0x1d1));return _0x42c5b3[0x6]=_0x42c5b3[0x6]&0xf|0x40,_0x42c5b3[0x8]=_0x42c5b3[0x8]&0x3f|0x80,_0x3e9233(_0x42c5b3);}const _0x5f00af=_0x46e193[_0x139332(0x301)]('collaboration-client.local-cache-service');function _0x28d546(_0x18dba7){return'unit-cache-'+_0x18dba7;}var _0x3dd94a=Object[_0x139332(0x212)],_0x4e7b01=(_0x3c4bb9,_0x4c677d,_0x603c7d,_0x821272)=>{var _0x231e7f=_0x139332;for(var _0x2cf538=_0x821272>0x1?void 0x0:_0x821272?_0x3dd94a(_0x4c677d,_0x603c7d):_0x4c677d,_0x479f46=_0x3c4bb9[_0x231e7f(0x295)]-0x1,_0xc2643e;_0x479f46>=0x0;_0x479f46--)(_0xc2643e=_0x3c4bb9[_0x479f46])&&(_0x2cf538=_0xc2643e(_0x2cf538)||_0x2cf538);return _0x2cf538;},_0x30fdad=(_0x2342cb,_0x5c0095)=>(_0x46ab60,_0x4bfa8b)=>_0x5c0095(_0x46ab60,_0x4bfa8b,_0x2342cb);function _0x36e5d7(_0x4c1279){var _0x59a969=_0x139332;const {unitID:_0x93a782,mutations:_0x427453}=_0x4c1279;return{'unitId':_0x93a782,'subUnitId':_0x427453[0x0]['params'][_0x59a969(0x274)]};}_0x52d482[_0x139332(0x1f5)]=class{constructor(_0x23fb93,_0x111ed1,_0x449fcd){var _0x58774c=_0x139332;this['_injector']=_0x23fb93,this['_transformService']=_0x111ed1,this[_0x58774c(0x29e)]=_0x449fcd;}[_0x139332(0x399)](_0x16912d){var _0x3c0db8=_0x139332,_0x5e5911,_0x2f95e7,_0x2b27c3,_0x126f9f;const _0x2484c8=this['_injector']['get'](_0x3819b8['SheetsSelectionsService']),{unitId:_0x2632e1,subUnitId:_0x393cc9}=_0x36e5d7(_0x16912d),_0xe5cec8=_0x2484c8==null?void 0x0:_0x2484c8[_0x3c0db8(0x1fc)](_0x2632e1)['getCurrentSelections'](),_0x5373e4=(_0x2f95e7=(_0x5e5911=this[_0x3c0db8(0x29e)][_0x3c0db8(0x14a)](_0x2632e1))==null?void 0x0:_0x5e5911[_0x3c0db8(0x15d)]())==null?void 0x0:_0x2f95e7[_0x3c0db8(0x3b3)]();if(_0xe5cec8['length']===0x0||!_0x2632e1||!_0x393cc9)return;const _0x24b4cf=[{'id':_0x3819b8['SetSelectionsOperation']['id'],'params':{'unitId':_0x2632e1,'subUnitId':_0x5373e4,'selections':_0x46e193[_0x3c0db8(0x1b8)]['deepClone'](_0xe5cec8)}}],_0x4fc9f8=this[_0x3c0db8(0xc1)][_0x3c0db8(0x151)](_0x16912d,_0x24b4cf);if(!_0x578bc2[_0x3c0db8(0xcb)](_0x4fc9f8))throw _0x4fc9f8[_0x3c0db8(0x3ca)];const _0x5432d3=(_0x126f9f=(_0x2b27c3=_0x4fc9f8[_0x3c0db8(0x235)][0x0])==null?void 0x0:_0x2b27c3[_0x3c0db8(0x282)])==null?void 0x0:_0x126f9f[_0x3c0db8(0xdb)];if(Array[_0x3c0db8(0x182)](_0x5432d3)&&_0x5432d3[_0x3c0db8(0x295)]){if(_0x5432d3[_0x3c0db8(0x295)]===_0x24b4cf[0x0][_0x3c0db8(0x282)]['selections'][_0x3c0db8(0x295)]&&_0x5432d3[_0x3c0db8(0x136)]((_0xf2b726,_0x13fdd0)=>_0x46e193['Rectangle']['equals'](_0xf2b726[_0x3c0db8(0x2e8)],_0x24b4cf[0x0][_0x3c0db8(0x282)]['selections'][_0x13fdd0][_0x3c0db8(0x2e8)])))return;this[_0x3c0db8(0xaa)][_0x3c0db8(0x1f1)](_0x46e193[_0x3c0db8(0xd3)])[_0x3c0db8(0x28d)](_0x3819b8[_0x3c0db8(0xba)]['id'],{'unitId':_0x2632e1,'subUnitId':_0x5373e4,'selections':_0x5432d3});}}},_0x52d482['SheetTransformSelectionsService']=_0x4e7b01([_0x30fdad(0x0,_0x46e193[_0x139332(0x9e)](_0x46e193['Injector'])),_0x30fdad(0x1,_0x578bc2['ITransformService']),_0x30fdad(0x2,_0x46e193[_0x139332(0xb9)])],_0x52d482[_0x139332(0x1f5)]);const _0x3dfedb=_0x46e193[_0x139332(0x301)]('univer-pro.collaboration-client.single-active-unit-service');var _0x4b4b3e=(_0x490131=>(_0x490131[_0x490131[_0x139332(0x11c)]=0x0]=_0x139332(0x11c),_0x490131[_0x490131[_0x139332(0x286)]=0x1]=_0x139332(0x286),_0x490131))(_0x4b4b3e||{});const _0xbdc379=new Set([_0x3819b8[_0x139332(0x209)]['id']]);function _0x2660c6(_0x1f5fbf,_0xbbd874,_0x2f434b,_0x21659d,_0x482b60){var _0x2ec7ce=_0x139332,_0x3b5aaa,_0x55bb44,_0x1cdbe1,_0x512eba;const _0x50067f=[];for(const _0x194194 of _0x1f5fbf)if(_0xbdc379[_0x2ec7ce(0x22a)](_0x194194['id'])){if(_0x50067f[_0x2ec7ce(0x295)]>0x0)break;_0x50067f[_0x2ec7ce(0x34b)](_0x194194);break;}else _0x50067f[_0x2ec7ce(0x34b)](_0x194194);const _0x4e5e0a=(_0x55bb44=(_0x3b5aaa=_0x482b60['getCurrentUser']())==null?void 0x0:_0x3b5aaa[_0x2ec7ce(0x2f7)])!=null?_0x55bb44:_0x2ec7ce(0x3ce),_0x3de280=(_0x512eba=(_0x1cdbe1=_0x482b60['getCurrentUser']())==null?void 0x0:_0x1cdbe1[_0x2ec7ce(0x34d)])!=null?_0x512eba:_0x2ec7ce(0x3ce);return{'changeset':{'unitID':_0xbbd874,'type':_0x578bc2[_0x2ec7ce(0x112)](_0x2f434b['getUnitType'](_0xbbd874)),'baseRev':_0x21659d['getCurrentRevOfUnit'](_0xbbd874),'revision':0x0,'userID':_0x4e5e0a,'memberID':_0x3de280,'mutations':_0x50067f},'pendingMutations':_0x1f5fbf[_0x2ec7ce(0x203)](_0x50067f['length'])};}function _0x2175b2(_0x5b44a6,_0x424871,_0x142b88,_0x2c2900,_0xe299b8){var _0x36d1e7=_0x139332,_0x43a0dd,_0x59a7e2,_0x403156,_0x3265d4;const _0x5bb418=[_0x5b44a6[_0x36d1e7(0x224)]((_0x4f19dc,_0x1098cd)=>{var _0x30f726=_0x36d1e7,_0x560abb;const {id:_0x2cb530}=_0x4f19dc,{id:_0x521a2c,type:_0xffcf6d}=_0x1098cd,_0x584def=(_0x560abb=_0x4f19dc[_0x30f726(0x282)])!=null?_0x560abb:{'actions':null},_0x3b0da3=_0x1098cd[_0x30f726(0x282)];if(_0x2cb530&&_0x2cb530!==_0x521a2c)throw new Error(_0x30f726(0x105)+_0x2cb530+_0x30f726(0x366)+_0x521a2c+'.');return{..._0x4f19dc,'id':_0x521a2c,'type':_0xffcf6d,'params':{'unitId':_0x3b0da3[_0x30f726(0x168)],'textRanges':_0x3b0da3['textRanges'],'actions':_0x46e193[_0x30f726(0x146)][_0x30f726(0x1fa)](_0x584def['actions'],_0x3b0da3[_0x30f726(0x3f3)])}};},{})],_0xad422f=(_0x59a7e2=(_0x43a0dd=_0xe299b8[_0x36d1e7(0x254)]())==null?void 0x0:_0x43a0dd['userID'])!=null?_0x59a7e2:'unknown',_0x5079b3=(_0x3265d4=(_0x403156=_0xe299b8['getCurrentUser']())==null?void 0x0:_0x403156[_0x36d1e7(0x34d)])!=null?_0x3265d4:_0x36d1e7(0x3ce);return{'changeset':{'unitID':_0x424871,'type':_0x578bc2[_0x36d1e7(0x112)](_0x142b88[_0x36d1e7(0x420)](_0x424871)),'baseRev':_0x2c2900['getCurrentRevOfUnit'](_0x424871),'revision':0x0,'userID':_0xad422f,'memberID':_0x5079b3,'mutations':_0x5bb418},'pendingMutations':[]};}function _0x195540(_0x57adb5,_0x53daf7){var _0x95c184=_0x139332;const _0x385491=new _0x4449b2[(_0x95c184(0x11d))](0x1);return setTimeout(()=>_0x385491[_0x95c184(0x3ff)](_0x53daf7),_0x57adb5),_0x385491[_0x95c184(0x1a3)]()['pipe'](_0x4449b2[_0x95c184(0xd2)](0x1));}const _0x39d49e={'id':_0x3819b8[_0x139332(0x1c0)]['id'],'type':_0x46e193[_0x139332(0x3af)]['MUTATION'],'params':{}};var _0x175673=Object[_0x139332(0x212)],_0x29633c=(_0x4a8f6b,_0xa2f391,_0x4a6283,_0x394a8e)=>{var _0x569736=_0x139332;for(var _0x5041a6=_0x394a8e>0x1?void 0x0:_0x394a8e?_0x175673(_0xa2f391,_0x4a6283):_0xa2f391,_0x75bfcb=_0x4a8f6b[_0x569736(0x295)]-0x1,_0x698c47;_0x75bfcb>=0x0;_0x75bfcb--)(_0x698c47=_0x4a8f6b[_0x75bfcb])&&(_0x5041a6=_0x698c47(_0x5041a6)||_0x5041a6);return _0x5041a6;},_0x22fdcf=(_0x1bea58,_0x5e4499)=>(_0x18b565,_0x40e9b7)=>_0x5e4499(_0x18b565,_0x40e9b7,_0x1bea58),_0x211da6=(_0x1c6b9a=>(_0x1c6b9a[_0x139332(0x1e7)]='not_collab',_0x1c6b9a[_0x139332(0x2ad)]='synced',_0x1c6b9a[_0x139332(0x2df)]=_0x139332(0x3b2),_0x1c6b9a[_0x139332(0x1e3)]=_0x139332(0x3c9),_0x1c6b9a['AWAITING_WITH_PENDING']=_0x139332(0x206),_0x1c6b9a['FETCH_MISS']='fetch_missing',_0x1c6b9a[_0x139332(0x1ba)]=_0x139332(0x20a),_0x1c6b9a['OFFLINE']='offline',_0x1c6b9a))(_0x211da6||{});const _0x44864e=0xea60;class _0x2dbf1e{constructor(_0x5e2a7b,_0x44c536,_0x15c732,_0x380180,_0x140323,_0x289426,_0x248d86,_0x1fe2d9,_0x5bb0d2){var _0x23f9f7=_0x139332;_0x3332c7(this,'_awaitingChangeset',null),_0x3332c7(this,_0x23f9f7(0x2f5),[]),(this[_0x23f9f7(0x144)]=_0x5e2a7b,this[_0x23f9f7(0x156)]=_0x44c536,this[_0x23f9f7(0x326)]=_0x140323,this[_0x23f9f7(0x41a)]=_0x289426,this[_0x23f9f7(0xe3)]=_0x248d86,this['_revisionService']=_0x1fe2d9,this['_localCacheService']=_0x5bb0d2,this[_0x23f9f7(0x2bf)]=_0x15c732,this[_0x23f9f7(0x2f5)]=_0x380180);}[_0x139332(0x2b1)](_0x137048){var _0x5d974f=_0x139332;const _0x266ad4=this[_0x5d974f(0x21e)]['getCurrentRevOfUnit'](this['unitID']);return _0x137048['revision']>_0x266ad4+0x1?(this['_handler'][_0x5d974f(0x2fc)]({'from':_0x266ad4,'to':_0x137048[_0x5d974f(0x30f)]-0x1}),!0x0):!0x1;}[_0x139332(0x130)](_0x39ad1b){var _0x1e46c0=_0x139332;this['_undoRedoService'][_0x1e46c0(0x356)](this[_0x1e46c0(0x144)],_0x39ad1b);}[_0x139332(0x12d)](_0x1ef8be){var _0x5c3079=_0x139332,_0x3b2b8c,_0xc1a3;(_0xc1a3=(_0x3b2b8c=this[_0x5c3079(0x326)])['onTransformSelections'])==null||_0xc1a3['call'](_0x3b2b8c,_0x1ef8be);}[_0x139332(0x17a)](_0x53ea0c){var _0x527074=_0x139332,_0x24ebbd,_0x2af9bf;return(_0x2af9bf=(_0x24ebbd=this[_0x527074(0x326)])[_0x527074(0x2db)])==null?void 0x0:_0x2af9bf[_0x527074(0x18e)](_0x24ebbd,_0x53ea0c);}[_0x139332(0x1cf)](_0xc5b06d){var _0x2821e0=_0x139332,_0x327b8c,_0x5eeadc;return(_0x5eeadc=(_0x327b8c=this[_0x2821e0(0x326)])['onTransformState'])==null?void 0x0:_0x5eeadc[_0x2821e0(0x18e)](_0x327b8c,_0xc5b06d);}[_0x139332(0x40f)](_0xa74c56){var _0x6d36d0=_0x139332,_0x2a398f,_0x1adc9d,_0x175d1d;return(_0x175d1d=(_0x1adc9d=(_0x2a398f=this['_handler'])[_0x6d36d0(0x412)])==null?void 0x0:_0x1adc9d['call'](_0x2a398f,_0xa74c56))!=null?_0x175d1d:_0xa74c56;}[_0x139332(0xd6)](_0x4bd6e2){var _0x29642a=_0x139332,_0x5f3c83,_0x1057d5,_0x7ebb29;return(_0x7ebb29=(_0x1057d5=(_0x5f3c83=this[_0x29642a(0x326)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1057d5['call'](_0x5f3c83,_0x4bd6e2))!=null?_0x7ebb29:_0x4bd6e2;}[_0x139332(0xd1)](_0x186dbb){var _0x172579=_0x139332,_0x36aa43,_0xc2e20e;if(this[_0x172579(0x156)]===_0x552c7c[_0x172579(0x119)]){const {unitID:_0x4e3cf5,mutations:_0x15b423,memberID:_0x3dc347}=_0x186dbb,_0x27e3d6=_0x15b423[0x0][_0x172579(0x282)][_0x172579(0xbf)];Array[_0x172579(0x182)](_0x27e3d6)&&_0x27e3d6['length']>0x0&&((_0xc2e20e=(_0x36aa43=this[_0x172579(0x326)])['onSyncEditingCollabCursor'])==null||_0xc2e20e[_0x172579(0x18e)](_0x36aa43,{'unitID':_0x4e3cf5,'memberID':_0x3dc347,'textRanges':_0x27e3d6}));}}[_0x139332(0xcf)](){var _0x20ab6e=_0x139332,_0x2c46e4;(_0x2c46e4=this[_0x20ab6e(0x140)])==null||_0x2c46e4[_0x20ab6e(0x3de)](this['unitID'],this[_0x20ab6e(0x156)],this[_0x20ab6e(0x2bf)],this[_0x20ab6e(0x2f5)]);}[_0x139332(0x28f)](){var _0x45af09=_0x139332;return this[_0x45af09(0x21e)][_0x45af09(0x215)](this[_0x45af09(0x144)]);}[_0x139332(0x39e)](){var _0x39023c=_0x139332;this[_0x39023c(0x21e)][_0x39023c(0x225)](this[_0x39023c(0x144)]);}[_0x139332(0x18d)](_0x2fb874){var _0x265843=_0x139332,_0x144712;let _0x11c40c=this['_transformRemoteChangesetByIMECache'](_0x2fb874);_0x11c40c=this[_0x265843(0xd6)](_0x11c40c);const _0x35dd4b=_0x46e193[_0x265843(0x27e)](_0x11c40c[_0x265843(0x1be)],this[_0x265843(0x41a)],{'fromCollab':!0x0});if(!_0x35dd4b[_0x265843(0x243)])throw _0x35dd4b[_0x265843(0x3ca)]instanceof Error?_0x35dd4b[_0x265843(0x3ca)]:new Error((_0x144712=_0x35dd4b[_0x265843(0x3ca)])!=null?_0x144712:_0x265843(0x2b9));this[_0x265843(0x17a)](_0x11c40c),this[_0x265843(0x1cf)](_0x11c40c),this[_0x265843(0x130)](_0x2fb874),this[_0x265843(0x12d)](_0x11c40c),this[_0x265843(0xd1)](_0x11c40c),this[_0x265843(0x39e)]();}}_0x52d482[_0x139332(0x387)]=class extends _0x2dbf1e{constructor(_0x19169b,_0x26ad79,_0x348c67,_0x66695,_0x119ede,_0x3235b3,_0x2b53ab,_0x19b953,_0x111991,_0xd1317e){var _0x5a1908=_0x139332;super(_0x19169b,_0x26ad79,null,[],_0x348c67,_0x2b53ab,_0x3235b3,_0x66695,_0xd1317e),_0x3332c7(this,_0x5a1908(0xfc),_0x5a1908(0xa2)),(this[_0x5a1908(0xaa)]=_0x119ede,this[_0x5a1908(0x1d0)]=_0x19b953,this[_0x5a1908(0xc1)]=_0x111991,this[_0x5a1908(0x348)]=_0xd1317e);}[_0x139332(0x275)](_0x1f4637){var _0xee5b3e=_0x139332;const _0x4f4cd5=this['_injector'][_0xee5b3e(0x249)](_0x52d482['PendingState'],this[_0xee5b3e(0x144)],this[_0xee5b3e(0x156)],[_0x1f4637],this[_0xee5b3e(0x326)]);return _0x4f4cd5[_0xee5b3e(0x172)](),_0x4f4cd5[_0xee5b3e(0xcf)](),_0x4f4cd5;}[_0x139332(0x3f2)](_0x43f0f6){var _0x1a9a42=_0x139332;if(this[_0x1a9a42(0x2b1)](_0x43f0f6))return this[_0x1a9a42(0xaa)][_0x1a9a42(0x249)](_0x52d482[_0x1a9a42(0x34f)],this['unitID'],this[_0x1a9a42(0x156)],null,[],null,[_0x43f0f6],this[_0x1a9a42(0x326)]);try{const _0x5f015b=this[_0x1a9a42(0xc1)][_0x1a9a42(0x151)](_0x43f0f6,[_0x39d49e]);if(_0x578bc2[_0x1a9a42(0xcb)](_0x5f015b)){const {c1Prime:_0x42bef2}=_0x5f015b;return this[_0x1a9a42(0x18d)](_0x42bef2),this;}throw _0x5f015b[_0x1a9a42(0x3ca)];}catch(_0x301196){return this[_0x1a9a42(0x1d0)][_0x1a9a42(0x3ca)](_0x301196),this[_0x1a9a42(0x198)](!0x1);}}['_onConflict'](_0x1bccaa){var _0x49a06c=_0x139332;return this[_0x49a06c(0xaa)]['createInstance'](_0x52d482[_0x49a06c(0x3f5)],this[_0x49a06c(0x144)],this[_0x49a06c(0x156)],null,[],this[_0x49a06c(0x326)],_0x1bccaa);}[_0x139332(0x154)](){var _0x3351c7=_0x139332;throw new Error(_0x3351c7(0x23e));}['onRemoteRej'](){var _0x43ac4d=_0x139332;throw new Error(_0x43ac4d(0xf3));}[_0x139332(0x29c)](){return this;}[_0x139332(0x231)](){var _0x194e28=_0x139332;return this['_injector'][_0x194e28(0x249)](_0x52d482['OfflineState'],this[_0x194e28(0x144)],this[_0x194e28(0x156)],null,[],this[_0x194e28(0x326)]);}[_0x139332(0x2f2)](){return this;}[_0x139332(0x3fa)](){var _0x54a07f=_0x139332;throw new Error(_0x54a07f(0x2ff));}[_0x139332(0x2cd)](){var _0x5c97f9=_0x139332;const _0x584015=this[_0x5c97f9(0x21e)]['getCurrentRevOfUnit'](this[_0x5c97f9(0x144)]);return this['_handler'][_0x5c97f9(0x2fc)]({'from':_0x584015,'to':0x0}),this[_0x5c97f9(0xaa)]['createInstance'](_0x52d482[_0x5c97f9(0x34f)],this[_0x5c97f9(0x144)],this['type'],null,[],null,[],this[_0x5c97f9(0x326)]);}},_0x52d482[_0x139332(0x387)]=_0x29633c([_0x22fdcf(0x3,_0x46e193[_0x139332(0x9e)](_0x578bc2[_0x139332(0x3dc)])),_0x22fdcf(0x4,_0x46e193['Inject'](_0x46e193['Injector'])),_0x22fdcf(0x5,_0x46e193['IUndoRedoService']),_0x22fdcf(0x6,_0x46e193[_0x139332(0xd3)]),_0x22fdcf(0x7,_0x46e193[_0x139332(0x1ed)]),_0x22fdcf(0x8,_0x578bc2[_0x139332(0x3a7)]),_0x22fdcf(0x9,_0x46e193[_0x139332(0x332)](_0x5f00af))],_0x52d482['SyncedState']),_0x52d482[_0x139332(0x17d)]=class extends _0x2dbf1e{constructor(_0x3ff88c,_0x5e334e,_0x3d6552,_0x50c43d,_0x6f47f8,_0x1fddcb,_0x350caf,_0x2b00d8,_0x25d148,_0x1fec70,_0x417a6a,_0x4174d8,_0x3f39f6,_0xbddbe8){var _0x905606=_0x139332;super(_0x3ff88c,_0x5e334e,null,_0x3d6552,_0x50c43d,_0x25d148,_0x3f39f6,_0x1fddcb,_0xbddbe8),_0x3332c7(this,_0x905606(0xfc),_0x905606(0x3b2)),_0x3332c7(this,_0x905606(0x221),null),_0x3332c7(this,_0x905606(0x14b),null),(this['_injector']=_0x6f47f8,this['_memberService']=_0x350caf,this[_0x905606(0x1d0)]=_0x2b00d8,this[_0x905606(0x248)]=_0x1fec70,this[_0x905606(0xc1)]=_0x417a6a,this[_0x905606(0x18b)]=_0x4174d8);}['appendMutation'](_0x2b5c6f){var _0x430f26=_0x139332;return this[_0x430f26(0x2f5)][_0x430f26(0x34b)](_0x2b5c6f),this[_0x430f26(0xcf)](),this;}['onRemoteChangeset'](_0xf4cd42){var _0xb74ba0=_0x139332;if(this[_0xb74ba0(0x2b1)](_0xf4cd42))return this[_0xb74ba0(0x1ad)](),this[_0xb74ba0(0xaa)]['createInstance'](_0x52d482[_0xb74ba0(0x34f)],this['unitID'],this[_0xb74ba0(0x156)],null,this[_0xb74ba0(0x2f5)],null,[_0xf4cd42],this[_0xb74ba0(0x326)]);try{const _0x483686=this[_0xb74ba0(0xc1)][_0xb74ba0(0x151)](_0xf4cd42,this[_0xb74ba0(0x2f5)]);if(_0x578bc2['isTransformMutationsWithChangesetSuccess'](_0x483686)){const {c1Prime:_0x4d0412,m2Prime:_0x4f8c3c}=_0x483686;this[_0xb74ba0(0x18d)](_0x4d0412);const _0x4e6ef0=this['_injector'][_0xb74ba0(0x249)](_0x52d482[_0xb74ba0(0x17d)],this[_0xb74ba0(0x144)],this['type'],_0x4f8c3c,this[_0xb74ba0(0x326)]);this[_0xb74ba0(0x1ad)]();const _0x508084=new Date()[_0xb74ba0(0x3bb)](),_0x53697b=this[_0xb74ba0(0x221)]?Math[_0xb74ba0(0x351)](this[_0xb74ba0(0x221)]-_0x508084,0x0):this['_getSendChangesetTimeout']();return _0x4e6ef0[_0xb74ba0(0x172)](_0x53697b),_0x4e6ef0;}throw _0x483686[_0xb74ba0(0x3ca)];}catch(_0x2c925e){return this['_logService'][_0xb74ba0(0x3ca)](_0x2c925e),this[_0xb74ba0(0x198)](!0x1);}}[_0x139332(0x154)](){var _0xe6664f=_0x139332;throw new Error(_0xe6664f(0xb3));}['onRemoteRej'](){var _0x556657=_0x139332;throw new Error(_0x556657(0x3c3));}[_0x139332(0x29c)](){return this;}['toggleOffline'](){var _0x14dd45=_0x139332;return this[_0x14dd45(0x1ad)](),this[_0x14dd45(0xaa)][_0x14dd45(0x249)](_0x52d482[_0x14dd45(0x3cf)],this['unitID'],this[_0x14dd45(0x156)],null,this[_0x14dd45(0x2f5)],this[_0x14dd45(0x326)]);}[_0x139332(0x2f2)](){return this;}['_schedule'](_0xb966fd){var _0x42056f=_0x139332;const _0x3c9178=_0xb966fd!=null?_0xb966fd:this[_0x42056f(0x32b)]();this['_scheduleCompleteTimestamp']=new Date()[_0x42056f(0x3bb)]()+_0x3c9178,this[_0x42056f(0x14b)]=setTimeout(()=>{var _0x4b529c=_0x42056f;this['_clearScheduledTask']();let _0x1463c6=null;switch(this[_0x4b529c(0x156)]){case _0x552c7c[_0x4b529c(0xfd)]:{_0x1463c6=_0x2660c6(this[_0x4b529c(0x2f5)],this['unitID'],this[_0x4b529c(0x18b)],this[_0x4b529c(0x21e)],this[_0x4b529c(0x1ae)]);break;}case _0x552c7c[_0x4b529c(0x119)]:{this[_0x4b529c(0x2f5)][_0x4b529c(0x136)](_0x760044=>_0x760044['id']===_0x20cbb2['RichTextEditingMutation']['id'])?_0x1463c6=_0x2175b2(this[_0x4b529c(0x2f5)],this['unitID'],this['_univerInstanceService'],this[_0x4b529c(0x21e)],this[_0x4b529c(0x1ae)]):_0x1463c6=_0x2660c6(this[_0x4b529c(0x2f5)],this['unitID'],this['_univerInstanceService'],this[_0x4b529c(0x21e)],this[_0x4b529c(0x1ae)]);break;}default:throw new Error(_0x4b529c(0xd5)+this[_0x4b529c(0x156)]+_0x4b529c(0x240));}const {changeset:_0x3c804a,pendingMutations:_0x44ec15}=_0x1463c6;this[_0x4b529c(0x326)][_0x4b529c(0x2c0)](_0x3c804a);const _0x288f77=_0x44ec15[_0x4b529c(0x295)]?this[_0x4b529c(0xaa)][_0x4b529c(0x249)](_0x52d482[_0x4b529c(0x371)],this[_0x4b529c(0x144)],this[_0x4b529c(0x156)],_0x3c804a,_0x44ec15,this['_handler'],void 0x0):this[_0x4b529c(0xaa)][_0x4b529c(0x249)](_0x52d482[_0x4b529c(0x194)],this[_0x4b529c(0x144)],this[_0x4b529c(0x156)],_0x3c804a,this['_handler']);_0x288f77[_0x4b529c(0xcf)](),this[_0x4b529c(0x326)]['onStateChange'](this,_0x288f77);},_0x3c9178);}[_0x139332(0x32b)](){var _0x43c3d7=_0x139332,_0x5c61fb;const _0x3e6dac=this['_configService'][_0x43c3d7(0x2e1)](_0x38cef3);return(_0x5c61fb=_0x3e6dac==null?void 0x0:_0x3e6dac['sendChangesetTimeout'])!=null?_0x5c61fb:0x7d0;}[_0x139332(0x3fa)](){var _0x198c6e=_0x139332;throw new Error(_0x198c6e(0xe2));}[_0x139332(0x1ad)](){var _0x1f0ce7=_0x139332;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1f0ce7(0x14b)]),this[_0x1f0ce7(0x14b)]=null);}[_0x139332(0x198)](_0x436ef3){var _0x59df3d=_0x139332;return this['_clearScheduledTask'](),this['_injector'][_0x59df3d(0x249)](_0x52d482[_0x59df3d(0x3f5)],this['unitID'],this[_0x59df3d(0x156)],null,this[_0x59df3d(0x2f5)],this[_0x59df3d(0x326)],_0x436ef3);}},_0x52d482[_0x139332(0x17d)]=_0x29633c([_0x22fdcf(0x4,_0x46e193['Inject'](_0x46e193[_0x139332(0x2b8)])),_0x22fdcf(0x5,_0x46e193[_0x139332(0x9e)](_0x578bc2['RevisionService'])),_0x22fdcf(0x6,_0x46e193[_0x139332(0x9e)](_0x52d482[_0x139332(0x3d9)])),_0x22fdcf(0x7,_0x46e193[_0x139332(0x1ed)]),_0x22fdcf(0x8,_0x46e193[_0x139332(0xd3)]),_0x22fdcf(0x9,_0x46e193[_0x139332(0x1c6)]),_0x22fdcf(0xa,_0x578bc2[_0x139332(0x3a7)]),_0x22fdcf(0xb,_0x46e193[_0x139332(0xb9)]),_0x22fdcf(0xc,_0x46e193['IUndoRedoService']),_0x22fdcf(0xd,_0x46e193[_0x139332(0x332)](_0x5f00af))],_0x52d482[_0x139332(0x17d)]),_0x52d482['AwaitingState']=class extends _0x2dbf1e{constructor(_0x99b073,_0x2d4333,_0x246253,_0x4ffc7e,_0x37d673,_0x3d1c7d,_0x15f1b6,_0x22707d,_0x296e32,_0x4e082b,_0x4cde7a){var _0x4ccf29=_0x139332;super(_0x99b073,_0x2d4333,_0x246253,[],_0x4ffc7e,_0x15f1b6,_0x4e082b,_0x3d1c7d,_0x4cde7a),_0x3332c7(this,_0x4ccf29(0xfc),_0x4ccf29(0x3c9)),_0x3332c7(this,'_resendTimeout',0x0),_0x3332c7(this,_0x4ccf29(0x23f)),_0x3332c7(this,'_sender'),(this[_0x4ccf29(0xaa)]=_0x37d673,this[_0x4ccf29(0x1d0)]=_0x22707d,this[_0x4ccf29(0xc1)]=_0x296e32);}['appendMutation'](_0x302833){var _0xd8d67f=_0x139332;this[_0xd8d67f(0x1ad)]();const _0x205c5f=this[_0xd8d67f(0xaa)]['createInstance'](_0x52d482[_0xd8d67f(0x371)],this[_0xd8d67f(0x144)],this[_0xd8d67f(0x156)],this[_0xd8d67f(0x2bf)],[_0x302833],this['_handler'],this[_0xd8d67f(0x23f)]);return _0x205c5f['_updateLocalCache'](),_0x205c5f;}[_0x139332(0x3f2)](_0x47ded8){var _0x186cf2=_0x139332;if(this['_checkMissing'](_0x47ded8))return this[_0x186cf2(0x1ad)](),this[_0x186cf2(0xaa)]['createInstance'](_0x52d482[_0x186cf2(0x34f)],this['unitID'],this['type'],this[_0x186cf2(0x2bf)],[],null,[_0x47ded8],this[_0x186cf2(0x326)]);try{const _0x4a35dc=this[_0x186cf2(0xc1)][_0x186cf2(0xc7)]([_0x47ded8],[this[_0x186cf2(0x2bf)]],!0x1);if(_0x578bc2[_0x186cf2(0x16a)](_0x4a35dc)){const {c1Prime:_0x3b2b94,c2Prime:_0xc8daf7}=_0x4a35dc;this[_0x186cf2(0x18d)](_0x3b2b94[0x0]),_0xc8daf7[0x0]['baseRev']=this[_0x186cf2(0x28f)](),this[_0x186cf2(0x1ad)]();const _0x58033c=this[_0x186cf2(0xaa)][_0x186cf2(0x249)](_0x52d482[_0x186cf2(0x194)],this[_0x186cf2(0x144)],this[_0x186cf2(0x156)],_0xc8daf7[0x0],this['_handler']);return _0x58033c[_0x186cf2(0xcf)](),_0x58033c;}return this[_0x186cf2(0x198)](!0x1);}catch(_0x1004b3){return this[_0x186cf2(0x1d0)][_0x186cf2(0x3ca)](_0x1004b3),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x58c76f){var _0x5b909a=_0x139332;this[_0x5b909a(0x1ad)]();const _0x383b82=this[_0x5b909a(0x21e)]['getCurrentRevOfUnit'](this[_0x5b909a(0x144)]);if(_0x58c76f[_0x5b909a(0x30f)]<_0x383b82-0x1)return this;if(this[_0x5b909a(0x2b1)](_0x58c76f))return this['_injector'][_0x5b909a(0x249)](_0x52d482[_0x5b909a(0x34f)],this[_0x5b909a(0x144)],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x5b909a(0x39e)]();const _0x96db73=this['_injector'][_0x5b909a(0x249)](_0x52d482[_0x5b909a(0x387)],this['unitID'],this[_0x5b909a(0x156)],this[_0x5b909a(0x326)]);return _0x96db73[_0x5b909a(0xcf)](),_0x96db73;}['onRemoteRej'](_0x43d643){var _0x11f4a4=_0x139332;return this[_0x11f4a4(0x198)](!!(_0x43d643!=null&&_0x43d643[_0x11f4a4(0x1d5)]));}[_0x139332(0x29c)](_0xb21e5e){var _0x17caa4=_0x139332;return this[_0x17caa4(0x3b5)]>_0x44864e?this[_0x17caa4(0x231)]():(this[_0x17caa4(0x23f)]=_0x195540(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0xb21e5e[_0x17caa4(0x238)]}),this['_sender']=this[_0x17caa4(0x23f)][_0x17caa4(0x3b1)](({reqId:_0xbd258f,timeout:_0x347b0e})=>{var _0x3cc204=_0x17caa4;this[_0x3cc204(0x2b0)](_0xbd258f,_0x347b0e);}),this);}['toggleOffline'](){var _0x14e65f=_0x139332;return this[_0x14e65f(0x1ad)](),this[_0x14e65f(0xaa)][_0x14e65f(0x249)](_0x52d482[_0x14e65f(0x3cf)],this[_0x14e65f(0x144)],this[_0x14e65f(0x156)],this[_0x14e65f(0x2bf)],[],this['_handler']);}[_0x139332(0x2f2)](){return this;}[_0x139332(0x3fa)](){var _0x52a6c4=_0x139332;this[_0x52a6c4(0x326)][_0x52a6c4(0x2c0)](this[_0x52a6c4(0x2bf)]);}[_0x139332(0x198)](_0x5e82f3){var _0x427ffb=_0x139332;return this[_0x427ffb(0x1ad)](),this[_0x427ffb(0xaa)]['createInstance'](_0x52d482[_0x427ffb(0x3f5)],this[_0x427ffb(0x144)],this['type'],this[_0x427ffb(0x2bf)],[],this[_0x427ffb(0x326)],_0x5e82f3);}['_resendWithTimeout'](_0x470026,_0x399974){var _0x4aa7c2=_0x139332,_0x4830ed;_0x470026===((_0x4830ed=this['_awaitingChangeset'])==null?void 0x0:_0x4830ed[_0x4aa7c2(0x238)])&&(this[_0x4aa7c2(0x3fa)](),this['_resendTimeout']=_0x399974===0x0?0x3e8:_0x399974*0x2);}[_0x139332(0x1ad)](){var _0x2fcad1=_0x139332,_0x2f3c53;(_0x2f3c53=this[_0x2fcad1(0x292)])==null||_0x2f3c53[_0x2fcad1(0x3e7)](),this[_0x2fcad1(0x3b5)]=0x0;}},_0x52d482[_0x139332(0x194)]=_0x29633c([_0x22fdcf(0x4,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0x2b8)])),_0x22fdcf(0x5,_0x46e193[_0x139332(0x9e)](_0x578bc2[_0x139332(0x3dc)])),_0x22fdcf(0x6,_0x46e193['ICommandService']),_0x22fdcf(0x7,_0x46e193['ILogService']),_0x22fdcf(0x8,_0x578bc2[_0x139332(0x3a7)]),_0x22fdcf(0x9,_0x46e193[_0x139332(0x3ba)]),_0x22fdcf(0xa,_0x46e193[_0x139332(0x332)](_0x5f00af))],_0x52d482['AwaitingState']),_0x52d482[_0x139332(0x371)]=class extends _0x2dbf1e{constructor(_0x1f0924,_0x46eb6a,_0xe325e7,_0x279e8e,_0x1ace4,_0x2e6645,_0x59884b,_0x5ad3b3,_0x53316d,_0x4def81,_0x3ed306,_0x5541f1,_0x32c186){var _0x573851=_0x139332;super(_0x1f0924,_0x46eb6a,_0xe325e7,_0x279e8e,_0x1ace4,_0x53316d,_0x5541f1,_0x5ad3b3,_0x32c186),_0x3332c7(this,_0x573851(0xfc),'awaiting_with_pending'),_0x3332c7(this,_0x573851(0x3b5),0x0),_0x3332c7(this,_0x573851(0x23f)),_0x3332c7(this,_0x573851(0x292)),(this[_0x573851(0xaa)]=_0x59884b,this['_logService']=_0x4def81,this[_0x573851(0xc1)]=_0x3ed306,this[_0x573851(0x348)]=_0x32c186,_0x2e6645&&(this[_0x573851(0x23f)]=_0x2e6645,this[_0x573851(0x292)]=this[_0x573851(0x23f)][_0x573851(0x3b1)](({reqId:_0x4dfe58,timeout:_0x4e6b6a})=>{var _0x5dd28e=_0x573851;this[_0x5dd28e(0x2b0)](_0x4dfe58,_0x4e6b6a);})));}[_0x139332(0x275)](_0x96e88f){var _0xeb8c81=_0x139332;return this[_0xeb8c81(0x2f5)]['push'](_0x96e88f),this;}[_0x139332(0x3f2)](_0x104eb7){var _0xe6106e=_0x139332;if(this[_0xe6106e(0x2b1)](_0x104eb7))return this[_0xe6106e(0x1ad)](),this[_0xe6106e(0xaa)][_0xe6106e(0x249)](_0x52d482[_0xe6106e(0x34f)],this[_0xe6106e(0x144)],this['type'],this['_awaitingChangeset'],this[_0xe6106e(0x2f5)],null,[_0x104eb7],this['_handler']);try{const _0x244d30=this['_transformService']['transformChangesets']([_0x104eb7],[this[_0xe6106e(0x2bf)]],!0x1);if(_0x578bc2[_0xe6106e(0x16a)](_0x244d30)){const {c1Prime:_0x2029c6,c2Prime:_0x46b6d3}=_0x244d30,_0x4931ea=this[_0xe6106e(0xc1)][_0xe6106e(0x151)](_0x2029c6[0x0],this[_0xe6106e(0x2f5)]);if(_0x578bc2[_0xe6106e(0xcb)](_0x4931ea)){const {c1Prime:_0x453747,m2Prime:_0x5e3d13}=_0x4931ea;return this[_0xe6106e(0x18d)](_0x453747),_0x46b6d3[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0xe6106e(0xaa)][_0xe6106e(0x249)](_0x52d482[_0xe6106e(0x371)],this[_0xe6106e(0x144)],this['type'],_0x46b6d3[0x0],_0x5e3d13,this[_0xe6106e(0x326)],void 0x0);}throw _0x4931ea[_0xe6106e(0x3ca)];}throw _0x244d30['error'];}catch(_0x562f40){return this['_logService'][_0xe6106e(0x3ca)](_0x562f40),this['_onConflict'](!0x1);}}[_0x139332(0x154)](_0x16f2d2){var _0x52f905=_0x139332;if(this[_0x52f905(0x1ad)](),this['_checkMissing'](_0x16f2d2))return this[_0x52f905(0xaa)][_0x52f905(0x249)](_0x52d482[_0x52f905(0x34f)],this['unitID'],this['type'],null,this[_0x52f905(0x2f5)],this[_0x52f905(0x2bf)],[],this[_0x52f905(0x326)]);this['_incrementRevisionNumber']();const _0x39aa0e=this['_injector'][_0x52f905(0x249)](_0x52d482[_0x52f905(0x17d)],this[_0x52f905(0x144)],this['type'],this[_0x52f905(0x2f5)],this[_0x52f905(0x326)]);return _0x39aa0e[_0x52f905(0x172)](),_0x39aa0e['_updateLocalCache'](),_0x39aa0e;}[_0x139332(0x3bc)](_0x2dd1a8){var _0x8de57b=_0x139332;return this[_0x8de57b(0x198)](!!(_0x2dd1a8!=null&&_0x2dd1a8[_0x8de57b(0x1d5)]));}[_0x139332(0x29c)](_0x10bd2f){var _0xa6388d=_0x139332;return this[_0xa6388d(0x3b5)]>_0x44864e?this['toggleOffline']():(this[_0xa6388d(0x23f)]=_0x195540(this['_resendTimeout'],{'timeout':this[_0xa6388d(0x3b5)],'reqId':_0x10bd2f[_0xa6388d(0x238)]}),this[_0xa6388d(0x292)]=this[_0xa6388d(0x23f)][_0xa6388d(0x3b1)](({reqId:_0xecdd73,timeout:_0x33612c})=>{this['_resendWithTimeout'](_0xecdd73,_0x33612c);}),this);}['toggleOffline'](){var _0x4579a9=_0x139332;return this[_0x4579a9(0x1ad)](),this[_0x4579a9(0xaa)]['createInstance'](_0x52d482[_0x4579a9(0x3cf)],this[_0x4579a9(0x144)],this[_0x4579a9(0x156)],this[_0x4579a9(0x2bf)],this['_pendingMutations'],this[_0x4579a9(0x326)]);}[_0x139332(0x2f2)](){return this;}[_0x139332(0x3fa)](){var _0x54a941=_0x139332;this['_handler'][_0x54a941(0x2c0)](this[_0x54a941(0x2bf)]);}[_0x139332(0x198)](_0x54a1f8){var _0x3d7eb9=_0x139332;return this[_0x3d7eb9(0x1ad)](),this[_0x3d7eb9(0xaa)][_0x3d7eb9(0x249)](_0x52d482[_0x3d7eb9(0x3f5)],this['unitID'],this[_0x3d7eb9(0x156)],null,this['_pendingMutations'],this[_0x3d7eb9(0x326)],_0x54a1f8);}[_0x139332(0x2b0)](_0x5924e7,_0x4cf08c){var _0x4a54db=_0x139332,_0x1eebb7;_0x5924e7===((_0x1eebb7=this[_0x4a54db(0x2bf)])==null?void 0x0:_0x1eebb7[_0x4a54db(0x238)])&&(this[_0x4a54db(0x3fa)](),this[_0x4a54db(0x3b5)]=_0x4cf08c===0x0?0x3e8:_0x4cf08c*0x2);}['_clearScheduledTask'](){var _0x5e5713=_0x139332,_0x4aad0f;(_0x4aad0f=this[_0x5e5713(0x292)])==null||_0x4aad0f[_0x5e5713(0x3e7)](),this[_0x5e5713(0x3b5)]=0x0;}},_0x52d482['AwaitingWithPendingState']=_0x29633c([_0x22fdcf(0x6,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0x2b8)])),_0x22fdcf(0x7,_0x46e193[_0x139332(0x9e)](_0x578bc2['RevisionService'])),_0x22fdcf(0x8,_0x46e193['ICommandService']),_0x22fdcf(0x9,_0x46e193[_0x139332(0x1ed)]),_0x22fdcf(0xa,_0x578bc2[_0x139332(0x3a7)]),_0x22fdcf(0xb,_0x46e193[_0x139332(0x3ba)]),_0x22fdcf(0xc,_0x46e193[_0x139332(0x332)](_0x5f00af))],_0x52d482[_0x139332(0x371)]),_0x52d482[_0x139332(0x3f5)]=class extends _0x2dbf1e{constructor(_0xc21547,_0x50d2a,_0x171ec7,_0x2afcde,_0x392be7,_0x229544=!0x1,_0xf99a58,_0x11eedc,_0x293642,_0xfd6deb,_0x27745e,_0x10b0c6,_0x1a1859){var _0x42b7c3=_0x139332;super(_0xc21547,_0x50d2a,_0x171ec7,_0x2afcde,_0x392be7,_0x11eedc,_0x293642,_0xfd6deb,_0x1a1859),_0x3332c7(this,_0x42b7c3(0xfc),_0x42b7c3(0x20a)),(this[_0x42b7c3(0x183)]=_0x229544,this[_0x42b7c3(0x109)]=_0xf99a58,this[_0x42b7c3(0x373)]=_0x27745e,this[_0x42b7c3(0x1fd)]=_0x10b0c6,this[_0x42b7c3(0x348)]=_0x1a1859,this[_0x42b7c3(0x298)](),this[_0x42b7c3(0x36c)](),this[_0x42b7c3(0x3d1)]());}['appendMutation'](){return this;}[_0x139332(0x3f2)](){return this;}['onRemoteAck'](){return this;}[_0x139332(0x3bc)](){return this;}[_0x139332(0x29c)](){return this;}[_0x139332(0x231)](){return this;}[_0x139332(0x2f2)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x139332(0x36c)](){var _0x5efa72=_0x139332,_0x1b17ed;(_0x1b17ed=this[_0x5efa72(0x140)])==null||_0x1b17ed['updateOfflineData'](this[_0x5efa72(0x144)],this['type'],null,[]);}['_showConflictNotification'](){var _0x3b47ba=_0x139332;this['_isPermissionRej']?this[_0x3b47ba(0x1fd)]['emitEvent']({'id':_0x117dfc[_0x3b47ba(0x374)]}):this[_0x3b47ba(0x1fd)][_0x3b47ba(0x389)]({'id':_0x117dfc[_0x3b47ba(0x1ba)]});}[_0x139332(0x3d1)](){var _0x1657c2=_0x139332;this[_0x1657c2(0x109)][_0x1657c2(0x278)](new _0x3819b8[(_0x1657c2(0x405))](this[_0x1657c2(0x144)])['id'],!0x1);}},_0x52d482[_0x139332(0x3f5)]=_0x29633c([_0x22fdcf(0x6,_0x46e193['Inject'](_0x46e193[_0x139332(0x3a3)])),_0x22fdcf(0x7,_0x46e193[_0x139332(0xd3)]),_0x22fdcf(0x8,_0x46e193[_0x139332(0x3ba)]),_0x22fdcf(0x9,_0x46e193[_0x139332(0x9e)](_0x578bc2['RevisionService'])),_0x22fdcf(0xa,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0xd7)])),_0x22fdcf(0xb,_0x46e193[_0x139332(0x9e)](_0xc27cb3)),_0x22fdcf(0xc,_0x46e193[_0x139332(0x332)](_0x5f00af))],_0x52d482[_0x139332(0x3f5)]),_0x52d482[_0x139332(0x3cf)]=class extends _0x2dbf1e{constructor(_0x4318e5,_0x2c6b17,_0x235d89,_0x10c82b,_0x402b75,_0x2bbeb8,_0x30086b,_0x42fced,_0x2ce9ab,_0x93cee){super(_0x4318e5,_0x2c6b17,_0x235d89,_0x10c82b,_0x402b75,_0x42fced,_0x2ce9ab,_0x30086b,_0x93cee),_0x3332c7(this,'status','offline'),this['_injector']=_0x2bbeb8;}[_0x139332(0x275)](_0x3ad976){var _0x8aed87=_0x139332;return this[_0x8aed87(0x2f5)][_0x8aed87(0x34b)](_0x3ad976),this['_updateLocalCache'](),this;}[_0x139332(0x3f2)](_0x514b60){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){var _0x12d5dd=_0x139332;throw new Error(_0x12d5dd(0x178));}[_0x139332(0x3bc)](){var _0x42fa8e=_0x139332;throw new Error(_0x42fa8e(0x2d7));}[_0x139332(0x29c)](){return this;}[_0x139332(0x231)](){return this;}[_0x139332(0x2f2)](){var _0x3683d5=_0x139332;const {_injector:_0x585fca,_pendingMutations:_0x5cd1ca,_awaitingChangeset:_0x150b41,unitID:_0x3db11c,_handler:_0x1a395c,type:_0x272fea}=this,_0x3a9f1d=_0x2d04bb(_0x585fca,_0x3db11c,_0x272fea,_0x150b41,_0x5cd1ca,_0x1a395c);return _0x3a9f1d instanceof _0x52d482[_0x3683d5(0x17d)]?_0x3a9f1d[_0x3683d5(0x172)]():(_0x3a9f1d instanceof _0x52d482['AwaitingWithPendingState']||_0x3a9f1d instanceof _0x52d482[_0x3683d5(0x194)])&&_0x3a9f1d['resend'](),_0x3a9f1d;}[_0x139332(0x3fa)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x52d482[_0x139332(0x3cf)]=_0x29633c([_0x22fdcf(0x5,_0x46e193['Inject'](_0x46e193[_0x139332(0x2b8)])),_0x22fdcf(0x6,_0x46e193[_0x139332(0x9e)](_0x578bc2[_0x139332(0x3dc)])),_0x22fdcf(0x7,_0x46e193[_0x139332(0xd3)]),_0x22fdcf(0x8,_0x46e193[_0x139332(0x3ba)]),_0x22fdcf(0x9,_0x46e193[_0x139332(0x332)](_0x5f00af))],_0x52d482['OfflineState']),_0x52d482[_0x139332(0x34f)]=class extends _0x2dbf1e{constructor(_0x29eb0f,_0x10e18a,_0x26098e,_0x5981ce,_0xc33695,_0x7446ce,_0x20d5dd,_0x4f21f0,_0x5988a4,_0x56e7e9,_0x178c5b,_0x1862d8,_0x3062c8,_0x22cb2c){var _0x5424ad=_0x139332;super(_0x29eb0f,_0x10e18a,_0x26098e,_0x5981ce,_0x20d5dd,_0x178c5b,_0x1862d8,_0x5988a4,_0x22cb2c),_0x3332c7(this,_0x5424ad(0xfc),_0x5424ad(0x358)),(this[_0x5424ad(0x14d)]=_0xc33695,this[_0x5424ad(0x341)]=_0x7446ce,this['_injector']=_0x4f21f0,this[_0x5424ad(0x1d0)]=_0x56e7e9,this[_0x5424ad(0xc1)]=_0x3062c8,this[_0x5424ad(0x348)]=_0x22cb2c);}[_0x139332(0x25c)](_0x553a85){var _0xd684e7=_0x139332;try{const _0x138c2a=[..._0x553a85,...this[_0xd684e7(0x341)]],_0x3fd96b=[this[_0xd684e7(0x2bf)]||this[_0xd684e7(0x14d)]][_0xd684e7(0xf5)](_0x27c2f1=>!!_0x27c2f1);let _0x2bc025,_0x3bd29e;if(_0x3fd96b[_0xd684e7(0x295)]){const _0x189ef0=this['_transformService'][_0xd684e7(0xc7)](_0x138c2a,_0x3fd96b,!0x1);if(!_0x578bc2['isTransformChangesetsSuccess'](_0x189ef0))throw _0x189ef0[_0xd684e7(0x3ca)];_0x2bc025=_0x189ef0[_0xd684e7(0x372)],_0x3bd29e=_0x189ef0[_0xd684e7(0x320)];}else _0x2bc025=_0x138c2a,_0x3bd29e=[];let _0x9439c1=this[_0xd684e7(0x2f5)];_0x2bc025[_0xd684e7(0x2a0)](_0x2da2ea=>{var _0x3f0f98=_0xd684e7;let _0x3d40ca;if(_0x9439c1[_0x3f0f98(0x295)]){const _0x12a1da=this['_transformService'][_0x3f0f98(0x151)](_0x2da2ea,_0x9439c1);if(!_0x578bc2['isTransformMutationsWithChangesetSuccess'](_0x12a1da))throw _0x12a1da[_0x3f0f98(0x3ca)];_0x3d40ca=_0x12a1da[_0x3f0f98(0x372)],_0x9439c1=_0x12a1da[_0x3f0f98(0x235)];}else _0x3d40ca=_0x2da2ea;this['_executeRemoteChangeset'](_0x3d40ca);}),this[_0xd684e7(0x14d)]&&this[_0xd684e7(0x39e)](),this[_0xd684e7(0x2bf)]&&_0x3bd29e[_0xd684e7(0x295)]&&(_0x3bd29e[0x0][_0xd684e7(0x309)]=this[_0xd684e7(0x28f)]());let _0x27da46;if(this[_0xd684e7(0x2bf)]&&_0x9439c1['length']!==0x0)_0x27da46=this['_injector'][_0xd684e7(0x249)](_0x52d482['AwaitingWithPendingState'],this[_0xd684e7(0x144)],this[_0xd684e7(0x156)],_0x3bd29e[0x0],_0x9439c1,this[_0xd684e7(0x326)],void 0x0);else{if(this['_awaitingChangeset']&&_0x9439c1[_0xd684e7(0x295)]===0x0)_0x3bd29e[0x0][_0xd684e7(0x309)]=this['_getCurrentRevision'](),_0x27da46=this['_injector'][_0xd684e7(0x249)](_0x52d482[_0xd684e7(0x194)],this[_0xd684e7(0x144)],this[_0xd684e7(0x156)],_0x3bd29e[0x0],this['_handler']);else{if(_0x9439c1[_0xd684e7(0x295)]!==0x0){const _0x717900=this[_0xd684e7(0xaa)][_0xd684e7(0x249)](_0x52d482[_0xd684e7(0x17d)],this[_0xd684e7(0x144)],this['type'],_0x9439c1,this['_handler']);_0x717900[_0xd684e7(0x172)](),_0x27da46=_0x717900;}else _0x27da46=this['_injector']['createInstance'](_0x52d482[_0xd684e7(0x387)],this['unitID'],this['type'],this['_handler']);}}return _0x27da46[_0xd684e7(0xcf)](),_0x27da46;}catch(_0x4982f5){return this[_0xd684e7(0x1d0)][_0xd684e7(0x3ca)](_0xd684e7(0x3d3),_0xd684e7(0xb1),_0x4982f5),this[_0xd684e7(0xaa)]['createInstance'](_0x52d482[_0xd684e7(0x3f5)],this[_0xd684e7(0x144)],this[_0xd684e7(0x156)],this[_0xd684e7(0x2bf)],this[_0xd684e7(0x2f5)],this['_handler'],!0x1);}}[_0x139332(0x3fa)](){var _0x314c93=_0x139332;throw new Error(_0x314c93(0xbc));}['appendMutation'](_0x3929aa){var _0x5a9d0d=_0x139332;return this[_0x5a9d0d(0x2f5)][_0x5a9d0d(0x34b)](_0x3929aa),this;}[_0x139332(0x3f2)](_0x139a8f){var _0x221cbc=_0x139332;return this[_0x221cbc(0x341)][_0x221cbc(0x34b)](_0x139a8f),this;}[_0x139332(0x154)](_0x207bf4){var _0x40176b=_0x139332;if(this[_0x40176b(0x2bf)])return this[_0x40176b(0x14d)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x40176b(0xc2));}[_0x139332(0x3bc)](_0x334637){var _0x4f7771=_0x139332;return this['_onConflict'](!!(_0x334637!=null&&_0x334637[_0x4f7771(0x1d5)]));}[_0x139332(0x29c)](){return this;}[_0x139332(0x231)](){var _0x93232c=_0x139332;return this[_0x93232c(0xaa)][_0x93232c(0x249)](_0x52d482[_0x93232c(0x3cf)],this[_0x93232c(0x144)],this[_0x93232c(0x156)],this[_0x93232c(0x2bf)],this[_0x93232c(0x2f5)],this['_handler']);}[_0x139332(0x2f2)](){return this;}[_0x139332(0x198)](_0x2227b3){var _0x17ae22=_0x139332;return this[_0x17ae22(0xaa)][_0x17ae22(0x249)](_0x52d482['ConflictState'],this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x17ae22(0x326)],_0x2227b3);}},_0x52d482[_0x139332(0x34f)]=_0x29633c([_0x22fdcf(0x7,_0x46e193[_0x139332(0x9e)](_0x46e193['Injector'])),_0x22fdcf(0x8,_0x46e193[_0x139332(0x9e)](_0x578bc2[_0x139332(0x3dc)])),_0x22fdcf(0x9,_0x46e193['ILogService']),_0x22fdcf(0xa,_0x46e193['ICommandService']),_0x22fdcf(0xb,_0x46e193[_0x139332(0x3ba)]),_0x22fdcf(0xc,_0x578bc2[_0x139332(0x3a7)]),_0x22fdcf(0xd,_0x46e193[_0x139332(0x332)](_0x5f00af))],_0x52d482[_0x139332(0x34f)]);function _0x2d04bb(_0x30c799,_0x2868f1,_0xd512e,_0x40e739,_0x5b22f2,_0x58ada9){var _0x3d7fdc=_0x139332;return _0x40e739&&_0x5b22f2[_0x3d7fdc(0x295)]?_0x30c799[_0x3d7fdc(0x249)](_0x52d482[_0x3d7fdc(0x371)],_0x2868f1,_0xd512e,_0x40e739,_0x5b22f2,_0x58ada9,void 0x0):_0x40e739?_0x30c799[_0x3d7fdc(0x249)](_0x52d482[_0x3d7fdc(0x194)],_0x2868f1,_0xd512e,_0x40e739,_0x58ada9):_0x5b22f2[_0x3d7fdc(0x295)]?_0x30c799[_0x3d7fdc(0x249)](_0x52d482[_0x3d7fdc(0x17d)],_0x2868f1,_0xd512e,_0x5b22f2,_0x58ada9):_0x30c799[_0x3d7fdc(0x249)](_0x52d482['SyncedState'],_0x2868f1,_0xd512e,_0x58ada9);}var _0x5772fd=Object[_0x139332(0x212)],_0x399cb4=(_0x3addb4,_0x42a198,_0x506559,_0x4a6158)=>{var _0x281f37=_0x139332;for(var _0x40473f=_0x4a6158>0x1?void 0x0:_0x4a6158?_0x5772fd(_0x42a198,_0x506559):_0x42a198,_0x5d6de4=_0x3addb4[_0x281f37(0x295)]-0x1,_0x3befe1;_0x5d6de4>=0x0;_0x5d6de4--)(_0x3befe1=_0x3addb4[_0x5d6de4])&&(_0x40473f=_0x3befe1(_0x40473f)||_0x40473f);return _0x40473f;},_0x56ab5c=(_0x2f5066,_0x29ed96)=>(_0x277975,_0xc2bb34)=>_0x29ed96(_0x277975,_0xc2bb34,_0x2f5066);_0x52d482[_0x139332(0x211)]=class extends _0x46e193[_0x139332(0xc3)]{constructor(_0x494177,_0x303423,_0x76f324,_0xf63a7,_0x391fce,_0x36fa75,_0x5c3677,_0x4d9306,_0x107e65,_0x1d65a4,_0x232e0e,_0x3d35a5,_0x521a06){var _0x1bda62=_0x139332;super(),_0x3332c7(this,_0x1bda62(0x22e),new _0x4449b2[(_0x1bda62(0x3e1))](null)),_0x3332c7(this,_0x1bda62(0x1a7),this[_0x1bda62(0x22e)][_0x1bda62(0x1a3)]()),_0x3332c7(this,'_state'),_0x3332c7(this,_0x1bda62(0x13c),!0x1),_0x3332c7(this,_0x1bda62(0x114),''),_0x3332c7(this,'_changesetReqId',0x0),_0x3332c7(this,_0x1bda62(0x2fa),this[_0x1bda62(0x1a7)]['pipe'](_0x4449b2[_0x1bda62(0x1af)](_0x1f59fa=>_0x1f59fa?_0x1f59fa[_0x1bda62(0xfc)]:_0x211da6['OFFLINE']),_0x4449b2[_0x1bda62(0x1c3)](0x1))),_0x3332c7(this,_0x1bda62(0x343),!0x1),_0x3332c7(this,_0x1bda62(0x2c2),[]),(this['unitID']=_0x494177,this[_0x1bda62(0x411)]=_0x303423,this[_0x1bda62(0x229)]=_0x76f324,this[_0x1bda62(0xaa)]=_0xf63a7,this['_compressMutationService']=_0x391fce,this[_0x1bda62(0x373)]=_0x36fa75,this[_0x1bda62(0x21e)]=_0x5c3677,this[_0x1bda62(0x344)]=_0x4d9306,this[_0x1bda62(0x1d0)]=_0x107e65,this[_0x1bda62(0x41a)]=_0x1d65a4,this['_permissionService']=_0x232e0e,this[_0x1bda62(0x3ee)]=_0x3d35a5,this['_localCacheService']=_0x521a06);}get['state'](){var _0x47fa1b=_0x139332;return this[_0x47fa1b(0x1bb)];}async[_0x139332(0x15c)](){var _0x176bdc=_0x139332;if(this[_0x176bdc(0x167)])throw new Error(_0x176bdc(0x3e2));await this['_init']();}[_0x139332(0x2c3)](){var _0x57b455=_0x139332;return this[_0x57b455(0x13c)]=!0x0,_0x46e193[_0x57b455(0x3e5)](()=>{var _0x4f16af=_0x57b455;this[_0x4f16af(0x13c)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x139332(0x21b)](_0x496187){var _0x3bcf8f=_0x139332;this[_0x3bcf8f(0x2f1)](_0x496187);}[_0x139332(0x270)](_0x113b16){var _0x447fc1=_0x139332;this[_0x447fc1(0x1bb)]=_0x113b16,this[_0x447fc1(0x22e)][_0x447fc1(0x3ff)](_0x113b16);}async[_0x139332(0x2ae)](){var _0x42f901=_0x139332,_0x352e8f;this['_updateState'](await this[_0x42f901(0x324)]()),this['_singleActiveUnitService']&&((_0x352e8f=this[_0x42f901(0x3ee)])==null||_0x352e8f[_0x42f901(0x41e)](this[_0x42f901(0x144)]),this[_0x42f901(0x2dc)](this[_0x42f901(0x3ee)][_0x42f901(0x337)](this['unitID'])['subscribe'](_0xe2d73c=>{var _0x2cc4b4=_0x42f901;this[_0x2cc4b4(0x1d0)][_0x2cc4b4(0x102)](_0x2cc4b4(0x31b),'editing\x20status\x20changed\x20to',_0xe2d73c),_0xe2d73c===_0x4b4b3e[_0x2cc4b4(0x286)]?(this[_0x2cc4b4(0x344)][_0x2cc4b4(0x389)]({'id':_0x117dfc[_0x2cc4b4(0xf0)]}),this[_0x2cc4b4(0x109)][_0x2cc4b4(0x278)](new _0x3819b8[(_0x2cc4b4(0x405))](this['unitID'])['id'],!0x1),this[_0x2cc4b4(0x109)]['setShowComponents'](!0x1)):(this[_0x2cc4b4(0x109)][_0x2cc4b4(0x278)](new _0x3819b8[(_0x2cc4b4(0x405))](this[_0x2cc4b4(0x144)])['id'],!0x0),this[_0x2cc4b4(0x109)]['setShowComponents'](!0x0));})));let _0x49c5ef=!0x1;return this[_0x42f901(0x2dc)](this['session'][_0x42f901(0x1c7)][_0x42f901(0x3b1)](_0x165ed8=>{var _0x499e9e=_0x42f901;_0x165ed8===_0xb21791[_0x499e9e(0x2f6)]?this['_toggleOnline'](_0x49c5ef):_0x165ed8===_0xb21791[_0x499e9e(0x285)]&&(_0x49c5ef=!0x0,this['_toggleOffline']());})),this[_0x42f901(0x2dc)](this['session'][_0x42f901(0x3fc)][_0x42f901(0x3b1)](_0x431e7b=>{var _0x930601=_0x42f901;try{switch(_0x431e7b[_0x930601(0x2a5)]){case _0x578bc2[_0x930601(0xa5)][_0x930601(0x3cd)]:{this[_0x930601(0x1b1)](_0x578bc2['parseProtocolChangeset'](_0x431e7b[_0x930601(0x265)]));break;}case _0x578bc2['CollaborationEvent'][_0x930601(0x2f4)]:{this['_onRemoteACK'](_0x431e7b['data']);break;}case _0x578bc2[_0x930601(0xa5)]['CHANGESET_REJ']:{this[_0x930601(0x289)]();break;}case _0x578bc2['CollaborationEvent'][_0x930601(0x32f)]:{this['_onRemoteRetry'](_0x431e7b['data']);break;}case _0x578bc2['CollaborationEvent'][_0x930601(0x1e9)]:{this['_onFetchMissResult'](_0x431e7b[_0x930601(0x265)][_0x930601(0x1a1)][_0x930601(0x1af)](_0x2c9239=>_0x578bc2[_0x930601(0x312)](_0x2c9239)));break;}case _0x578bc2[_0x930601(0xa5)][_0x930601(0x3b4)]:{this[_0x930601(0x289)]({'isPermissionRej':!0x0});break;}case _0x578bc2['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x570a5a){throw console[_0x930601(0x3ca)](_0x930601(0xff),_0x570a5a),_0x570a5a;}})),this['_state'];}[_0x139332(0x138)](){var _0x40bfe9=_0x139332;this[_0x40bfe9(0x343)]=!0x1;}[_0x139332(0x2e2)](){var _0x151ed7=_0x139332;if(this[_0x151ed7(0x343)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x151ed7(0x343)]=!0x0;}[_0x139332(0x2f1)](_0x2961ef){var _0x2407a5=_0x139332;this[_0x2407a5(0x2e2)](),this['_updateState'](this[_0x2407a5(0x1bb)][_0x2407a5(0x275)](_0x2961ef)),this[_0x2407a5(0x138)]();}['_onRemoteChangeset'](_0x32d3c4){var _0x428776=_0x139332;if(!(_0x32d3c4[_0x428776(0x30f)]<=this[_0x428776(0x21e)][_0x428776(0x215)](this[_0x428776(0x144)]))){if(this[_0x428776(0x13c)]){this[_0x428776(0x2c2)][_0x428776(0x34b)](_0x32d3c4);return;}this['_applyRemoteChangeset'](_0x32d3c4);}}[_0x139332(0x283)](){var _0x4e1f0b=_0x139332;this[_0x4e1f0b(0x2c2)][_0x4e1f0b(0x2a0)](_0x1ec5e7=>this[_0x4e1f0b(0x21c)](_0x1ec5e7)),this['_remoteChangesetQueue']=[];}[_0x139332(0x21c)](_0x505553){var _0x5e2196=_0x139332;const _0x36ddc0=this[_0x5e2196(0x313)][_0x5e2196(0x1d9)]['fetchThroughInterceptors'](this[_0x5e2196(0x313)][_0x5e2196(0x1d9)][_0x5e2196(0xcd)]()[_0x5e2196(0x308)])(_0x505553[_0x5e2196(0x1be)],null)||_0x505553[_0x5e2196(0x1be)],_0xa948b={..._0x505553,'mutations':_0x36ddc0};this['_lockTransition'](),this['_updateState'](this['_state'][_0x5e2196(0x3f2)](_0xa948b)),this[_0x5e2196(0x138)]();}[_0x139332(0x1f2)](_0x336469){var _0x1fe6e1=_0x139332;this['_lockTransition'](),this[_0x1fe6e1(0x270)](this[_0x1fe6e1(0x1bb)][_0x1fe6e1(0x154)](_0x336469)),this['_unlockTransition']();}[_0x139332(0x289)](_0x18f70d){var _0x10bcb6=_0x139332;this[_0x10bcb6(0x2e2)](),this[_0x10bcb6(0x270)](this[_0x10bcb6(0x1bb)][_0x10bcb6(0x3bc)](_0x18f70d)),this[_0x10bcb6(0x138)]();}['_onRemoteRetry'](_0x2c82e8){var _0x5def4e=_0x139332;this['_lockTransition'](),this[_0x5def4e(0x270)](this[_0x5def4e(0x1bb)][_0x5def4e(0x29c)](_0x2c82e8)),this[_0x5def4e(0x138)]();}[_0x139332(0x316)](_0x3a6f2f){var _0x5557a5=_0x139332;if(!(this['_state']instanceof _0x52d482[_0x5557a5(0x34f)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x10e7c6=_0x3a6f2f['map'](_0x5a38c4=>{var _0x1f3f5c=_0x5557a5;const _0x1ce6ae=this[_0x1f3f5c(0x313)]['interceptor']['fetchThroughInterceptors'](this[_0x1f3f5c(0x313)][_0x1f3f5c(0x1d9)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x5a38c4[_0x1f3f5c(0x1be)],null)||_0x5a38c4[_0x1f3f5c(0x1be)];return{..._0x5a38c4,'mutations':_0x1ce6ae};});this[_0x5557a5(0x2e2)](),this[_0x5557a5(0x270)](this[_0x5557a5(0x1bb)][_0x5557a5(0x25c)](_0x10e7c6)),this[_0x5557a5(0x138)]();}['_toggleOffline'](){var _0x3e231e=_0x139332;this[_0x3e231e(0x2e2)](),this['_updateState'](this[_0x3e231e(0x1bb)][_0x3e231e(0x231)]()),this[_0x3e231e(0x138)]();}[_0x139332(0x204)](_0x24d56d=!0x1){var _0x4a8709=_0x139332;this[_0x4a8709(0x2e2)](),this['_updateState'](this[_0x4a8709(0x1bb)][_0x4a8709(0x2f2)]()),this[_0x4a8709(0x138)]();const _0x29b3a3=this[_0x4a8709(0x1bb)];_0x24d56d&&_0x29b3a3 instanceof _0x52d482['SyncedState']&&(this[_0x4a8709(0x2e2)](),this['_updateState'](_0x29b3a3[_0x4a8709(0x2cd)]()),this[_0x4a8709(0x138)]());}async[_0x139332(0x324)](){return new Promise(_0x4b6fdc=>{var _0x3867d8=_0x1b12;this[_0x3867d8(0x411)][_0x3867d8(0x1c7)][_0x3867d8(0x12a)](_0x4449b2[_0x3867d8(0xd2)](0x1))[_0x3867d8(0x3b1)](async _0x9c2eba=>{var _0x258271=_0x3867d8;_0x4b6fdc(await this[_0x258271(0x3c6)](_0x9c2eba===_0xb21791[_0x258271(0x2f6)]));});});}[_0x139332(0x345)](){const _0xf9ebe3=this['unitID'];return{'onStateChange':(_0x404563,_0x1e7448)=>{var _0xb9e210=_0x1b12;if(_0x404563!==this['_state'])throw new Error(_0xb9e210(0x271)+_0x404563[_0xb9e210(0xfc)]+_0xb9e210(0x18f)+_0x1e7448[_0xb9e210(0xfc)]+_0xb9e210(0x3d7)+this[_0xb9e210(0x1bb)]['status']);this['_updateState'](_0x1e7448);},'onSendChangeset':_0x5ddc1a=>{var _0x1e5859=_0x1b12;_0x5ddc1a[_0x1e5859(0x2cb)]||(_0x5ddc1a[_0x1e5859(0x2cb)]=this[_0x1e5859(0x114)],_0x5ddc1a[_0x1e5859(0x238)]=++this[_0x1e5859(0x10a)]);const _0x124335={'eventID':_0x578bc2['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x5ddc1a[_0x1e5859(0x144)],'unitType':this['_type'],'changeset':_0x5ddc1a,'memberID':this[_0x1e5859(0x411)][_0x1e5859(0x149)]()}};this[_0x1e5859(0x411)][_0x1e5859(0x1e5)](_0x124335,this[_0x1e5859(0x144)]);},'onMissingChangesets':({from:_0x16b47f,to:_0xf1b3c7})=>{var _0x38ff04=_0x1b12;this[_0x38ff04(0x1d0)]['debug'](_0x38ff04(0x31b),_0x38ff04(0x3c7)+_0x16b47f+_0x38ff04(0x3d8)+_0xf1b3c7);const _0x30348e={'eventID':_0x578bc2[_0x38ff04(0xa5)][_0x38ff04(0x402)],'data':{'unitID':_0xf9ebe3,'unitType':this[_0x38ff04(0x229)],'from':_0x16b47f,'to':_0xf1b3c7}};this['session'][_0x38ff04(0x1e5)](_0x30348e,this[_0x38ff04(0x144)]);}};}async[_0x139332(0x3c6)](_0x2469eb){var _0x19e302=_0x139332,_0x34cb80,_0x13a8bf,_0x3b9416;const _0x5f518e=await((_0x34cb80=this['_localCacheService'])==null?void 0x0:_0x34cb80['loadOfflineData'](this[_0x19e302(0x144)])),_0x11cb0e=(_0x13a8bf=_0x5f518e==null?void 0x0:_0x5f518e[_0x19e302(0x1be)])!=null?_0x13a8bf:[],_0x20751c=(_0x3b9416=_0x5f518e==null?void 0x0:_0x5f518e['awaitingChangeset'])!=null?_0x3b9416:null,_0x1f1827=!!(_0x20751c!=null&&_0x20751c[_0x19e302(0x2cb)])&&!!(_0x20751c!=null&&_0x20751c[_0x19e302(0x238)]);this[_0x19e302(0x114)]=_0x1f1827?_0x20751c[_0x19e302(0x2cb)]:_0x475e9f(),this[_0x19e302(0x10a)]=_0x1f1827?_0x20751c[_0x19e302(0x238)]:0x0;const _0x38d2da=this[_0x19e302(0x144)];try{this[_0x19e302(0x257)](_0x20751c,_0x11cb0e);}catch(_0xa876bb){this[_0x19e302(0x1d0)][_0x19e302(0x3ca)](_0xa876bb);}const _0x3fc532=this[_0x19e302(0x345)]();if(_0x2469eb){const _0x4008ab=_0x2d04bb(this[_0x19e302(0xaa)],_0x38d2da,this['_type'],_0x20751c,_0x11cb0e,_0x3fc532);return _0x4008ab instanceof _0x52d482['PendingState']?_0x4008ab['_schedule']():(_0x4008ab instanceof _0x52d482['AwaitingWithPendingState']||_0x4008ab instanceof _0x52d482[_0x19e302(0x194)])&&_0x4008ab[_0x19e302(0x3fa)](),_0x4008ab;}return this[_0x19e302(0xaa)][_0x19e302(0x249)](_0x52d482[_0x19e302(0x3cf)],_0x38d2da,this['_type'],_0x20751c,_0x11cb0e,_0x3fc532);}[_0x139332(0x257)](_0x5c7726,_0xe25ded){var _0x46d760=_0x139332,_0x47dcb4,_0x4234e7;const _0x62a06c=this[_0x46d760(0x313)][_0x46d760(0x1d9)][_0x46d760(0x1e4)](this[_0x46d760(0x313)][_0x46d760(0x1d9)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x47dcb4=_0x62a06c((_0x5c7726==null?void 0x0:_0x5c7726[_0x46d760(0x1be)])||[],null))==null||_0x47dcb4[_0x46d760(0x2a0)](_0x39a632=>this[_0x46d760(0x41a)][_0x46d760(0x28d)](_0x39a632['id'],_0x39a632[_0x46d760(0x282)])),(_0x4234e7=_0x62a06c(_0xe25ded||[],null))==null||_0x4234e7['forEach'](_0x4f0960=>this[_0x46d760(0x41a)][_0x46d760(0x28d)](_0x4f0960['id'],_0x4f0960[_0x46d760(0x282)]));}},_0x52d482[_0x139332(0x211)]=_0x399cb4([_0x56ab5c(0x3,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0x2b8)])),_0x56ab5c(0x4,_0x46e193[_0x139332(0x9e)](_0x578bc2['CompressMutationService'])),_0x56ab5c(0x5,_0x46e193[_0x139332(0x9e)](_0x46e193['LocaleService'])),_0x56ab5c(0x6,_0x46e193['Inject'](_0x578bc2[_0x139332(0x3dc)])),_0x56ab5c(0x7,_0x46e193['Inject'](_0xc27cb3)),_0x56ab5c(0x8,_0x46e193[_0x139332(0x1ed)]),_0x56ab5c(0x9,_0x46e193['ICommandService']),_0x56ab5c(0xa,_0x46e193[_0x139332(0x3a3)]),_0x56ab5c(0xb,_0x46e193['Optional'](_0x3dfedb)),_0x56ab5c(0xc,_0x46e193['Optional'](_0x5f00af))],_0x52d482[_0x139332(0x211)]),_0x52d482[_0x139332(0x3e0)]=class extends _0x52d482['CollaborationEntity']{constructor(_0x29e7b5,_0x5cb0cd,_0x4bd3dc,_0x3e26bd,_0x82029f,_0x140848,_0x2da6bf,_0x271bfd,_0x6fd372,_0x300c24,_0x4843b4,_0x530d5d,_0x2520d6){var _0x13a6b6=_0x139332;super(_0x29e7b5,_0x4bd3dc,_0x5cb0cd,_0x3e26bd,_0x82029f,_0x140848,_0x2da6bf,_0x271bfd,_0x6fd372,_0x300c24,_0x4843b4,_0x530d5d,_0x2520d6),_0x3332c7(this,_0x13a6b6(0xca),null),(this[_0x13a6b6(0x144)]=_0x29e7b5,this[_0x13a6b6(0x156)]=_0x5cb0cd);}[_0x139332(0xa9)](_0x38a76e){var _0x2a6145=_0x139332;this[_0x2a6145(0xca)]=_0x38a76e;}[_0x139332(0x3e9)](){var _0x58c0f9=_0x139332;this[_0x58c0f9(0xca)]=null,super[_0x58c0f9(0x3e9)]();}[_0x139332(0x345)](){var _0x548a19=_0x139332;const _0x462fef=super[_0x548a19(0x345)]();return _0x462fef[_0x548a19(0x2db)]=_0x1fe1e1=>{var _0x2da2d2=_0x548a19,_0x391e79,_0x10dde4;return(_0x10dde4=(_0x391e79=this[_0x2da2d2(0xca)])==null?void 0x0:_0x391e79[_0x2da2d2(0x2db)])==null?void 0x0:_0x10dde4['call'](_0x391e79,_0x1fe1e1);},_0x462fef[_0x548a19(0x233)]=_0x108ab2=>{var _0x556757=_0x548a19,_0x467298,_0x32d98c;return(_0x32d98c=(_0x467298=this[_0x556757(0xca)])==null?void 0x0:_0x467298['onTransformState'])==null?void 0x0:_0x32d98c[_0x556757(0x18e)](_0x467298,_0x108ab2);},_0x462fef['onTransformSelections']=_0x26da21=>{var _0x3b2017=_0x548a19,_0x54aeef,_0x5f38f2;return(_0x5f38f2=(_0x54aeef=this[_0x3b2017(0xca)])==null?void 0x0:_0x54aeef[_0x3b2017(0xa6)])==null?void 0x0:_0x5f38f2[_0x3b2017(0x18e)](_0x54aeef,_0x26da21);},_0x462fef[_0x548a19(0x127)]=_0x4a29d9=>{var _0x5c8269=_0x548a19,_0x5a62c4,_0x492ebd;return(_0x492ebd=(_0x5a62c4=this['_handlerCallback'])==null?void 0x0:_0x5a62c4[_0x5c8269(0x127)])==null?void 0x0:_0x492ebd['call'](_0x5a62c4,_0x4a29d9);},_0x462fef['onTransformRemoteChangesetByIMECache']=_0xbc7c93=>{var _0x120d02=_0x548a19,_0x2ce8ac,_0x15af42,_0x3a885a;if(!((_0x2ce8ac=this[_0x120d02(0xca)])!=null&&_0x2ce8ac[_0x120d02(0x412)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3a885a=(_0x15af42=this[_0x120d02(0xca)])==null?void 0x0:_0x15af42[_0x120d02(0x412)])==null?void 0x0:_0x3a885a[_0x120d02(0x18e)](_0x15af42,_0xbc7c93);},_0x462fef[_0x548a19(0x27b)]=_0x5d7a69=>{var _0x2698f8=_0x548a19,_0x60817e,_0x165d63,_0x29dce9;if(!((_0x60817e=this['_handlerCallback'])!=null&&_0x60817e[_0x2698f8(0x27b)]))throw new Error(_0x2698f8(0x3ab));return(_0x29dce9=(_0x165d63=this[_0x2698f8(0xca)])==null?void 0x0:_0x165d63['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x29dce9[_0x2698f8(0x18e)](_0x165d63,_0x5d7a69);},_0x462fef;}async[_0x139332(0x2ae)](){var _0x2fb7c7=_0x139332;const _0x224121=await super[_0x2fb7c7(0x2ae)]();return this[_0x2fb7c7(0x2dc)](this['_commandService'][_0x2fb7c7(0x173)]((_0x407014,_0x4f2fc1)=>{var _0x1e7491=_0x2fb7c7;if(_0x407014[_0x1e7491(0x156)]!==_0x46e193['CommandType'][_0x1e7491(0x424)]||_0x4f2fc1!=null&&_0x4f2fc1[_0x1e7491(0x293)]||_0x4f2fc1!=null&&_0x4f2fc1[_0x1e7491(0x2ee)]||_0x407014['id']===_0x20cbb2[_0x1e7491(0x13b)]['id'])return;const _0x5dab70=_0x407014['params'];if((_0x5dab70==null?void 0x0:_0x5dab70[_0x1e7491(0x168)])!==this['unitID'])return;const _0x1049c5=_0x407014,_0x2e3fd7=this[_0x1e7491(0x313)]['interceptor'][_0x1e7491(0x1e4)](this[_0x1e7491(0x313)]['interceptor'][_0x1e7491(0xcd)]()['COMPRESS_MUTATION_SEND'])([_0x1049c5],null)||[_0x1049c5];this[_0x1e7491(0x2f1)](_0x2e3fd7[0x0]);})),_0x224121;}},_0x52d482[_0x139332(0x3e0)]=_0x399cb4([_0x56ab5c(0x3,_0x46e193[_0x139332(0x9e)](_0x46e193['Injector'])),_0x56ab5c(0x4,_0x46e193[_0x139332(0x9e)](_0x578bc2[_0x139332(0xb7)])),_0x56ab5c(0x5,_0x46e193[_0x139332(0x9e)](_0x46e193['LocaleService'])),_0x56ab5c(0x6,_0x46e193['Inject'](_0x578bc2['RevisionService'])),_0x56ab5c(0x7,_0x46e193['Inject'](_0xc27cb3)),_0x56ab5c(0x8,_0x46e193[_0x139332(0x1ed)]),_0x56ab5c(0x9,_0x46e193['ICommandService']),_0x56ab5c(0xa,_0x46e193[_0x139332(0x3a3)]),_0x56ab5c(0xb,_0x46e193[_0x139332(0x332)](_0x3dfedb)),_0x56ab5c(0xc,_0x46e193['Optional'](_0x5f00af))],_0x52d482[_0x139332(0x3e0)]),_0x52d482[_0x139332(0xf6)]=class extends _0x52d482['CollaborationEntity']{constructor(_0x41b86f,_0xc6e6c3,_0x315607,_0x8ad494,_0xc42730,_0x34d4ef,_0x3a6941,_0x3399b4,_0x1b7b11,_0x320b8c,_0x545776,_0x36840d,_0x5ba659,_0x34ed57){var _0x25ae7c=_0x139332;super(_0x41b86f,_0x315607,_0xc6e6c3,_0x8ad494,_0xc42730,_0x34d4ef,_0x3a6941,_0x1b7b11,_0x320b8c,_0x545776,_0x36840d,_0x5ba659,_0x34ed57),this[_0x25ae7c(0x144)]=_0x41b86f,this[_0x25ae7c(0x156)]=_0xc6e6c3,this[_0x25ae7c(0x2b6)]=_0x3399b4;}['_createHandler'](){var _0x3b80e3=_0x139332;const _0x35e733=super[_0x3b80e3(0x345)]();return _0x35e733[_0x3b80e3(0xa6)]=_0x52bde4=>this[_0x3b80e3(0x2b6)][_0x3b80e3(0x399)](_0x52bde4),_0x35e733;}async[_0x139332(0x2ae)](){var _0x3d7a15=_0x139332;const _0x339b92=await super[_0x3d7a15(0x2ae)]();return this[_0x3d7a15(0x2dc)](this[_0x3d7a15(0x41a)]['onCommandExecuted']((_0x1b7e85,_0x5ce488)=>{var _0xe38b3f=_0x3d7a15;if(_0x1b7e85[_0xe38b3f(0x156)]!==_0x46e193[_0xe38b3f(0x3af)][_0xe38b3f(0x424)]||_0x5ce488!=null&&_0x5ce488['fromCollab']||_0x5ce488!=null&&_0x5ce488['onlyLocal'])return;const _0x1fe7e1=_0x1b7e85[_0xe38b3f(0x282)];if((_0x1fe7e1==null?void 0x0:_0x1fe7e1[_0xe38b3f(0x168)])!==this[_0xe38b3f(0x144)])return;const _0x3136aa=_0x1b7e85,_0x3e7a12=this[_0xe38b3f(0x313)][_0xe38b3f(0x1d9)]['fetchThroughInterceptors'](this['_compressMutationService'][_0xe38b3f(0x1d9)]['getInterceptPoints']()[_0xe38b3f(0x357)])([_0x3136aa],null)||[_0x3136aa];this[_0xe38b3f(0x2f1)](_0x3e7a12[0x0]);})),_0x339b92;}},_0x52d482[_0x139332(0xf6)]=_0x399cb4([_0x56ab5c(0x3,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0x2b8)])),_0x56ab5c(0x4,_0x46e193[_0x139332(0x9e)](_0x578bc2[_0x139332(0xb7)])),_0x56ab5c(0x5,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0xd7)])),_0x56ab5c(0x6,_0x46e193[_0x139332(0x9e)](_0x578bc2['RevisionService'])),_0x56ab5c(0x7,_0x46e193[_0x139332(0x9e)](_0x52d482['SheetTransformSelectionsService'])),_0x56ab5c(0x8,_0x46e193[_0x139332(0x9e)](_0xc27cb3)),_0x56ab5c(0x9,_0x46e193['ILogService']),_0x56ab5c(0xa,_0x46e193[_0x139332(0xd3)]),_0x56ab5c(0xb,_0x46e193[_0x139332(0x3a3)]),_0x56ab5c(0xc,_0x46e193['Optional'](_0x3dfedb)),_0x56ab5c(0xd,_0x46e193[_0x139332(0x332)](_0x5f00af))],_0x52d482[_0x139332(0xf6)]);var _0x43abee=Object[_0x139332(0x212)],_0x214436=(_0x5a8354,_0x11f699,_0x1acbdb,_0x15405f)=>{for(var _0x305a52=_0x15405f>0x1?void 0x0:_0x15405f?_0x43abee(_0x11f699,_0x1acbdb):_0x11f699,_0x2546c3=_0x5a8354['length']-0x1,_0x1e6194;_0x2546c3>=0x0;_0x2546c3--)(_0x1e6194=_0x5a8354[_0x2546c3])&&(_0x305a52=_0x1e6194(_0x305a52)||_0x305a52);return _0x305a52;},_0x283405=(_0x3c1af3,_0x41e929)=>(_0x494021,_0x46227e)=>_0x41e929(_0x494021,_0x46227e,_0x3c1af3);_0x52d482[_0x139332(0x39f)]=class extends _0x46e193[_0x139332(0xc3)]{constructor(_0x5398a5,_0x5530af,_0x543ea4){var _0x1bcffe=_0x139332;super(),_0x3332c7(this,_0x1bcffe(0x40c),new Map()),_0x3332c7(this,_0x1bcffe(0xaf),new _0x4449b2[(_0x1bcffe(0x3f8))]()),_0x3332c7(this,'entityInit$',this['_entityInit$'][_0x1bcffe(0x1a3)]()),(this['_injector']=_0x5398a5,this['_collabSessionService']=_0x5530af,this[_0x1bcffe(0x18b)]=_0x543ea4,this['_init']());}['dispose'](){var _0x46d051=_0x139332;super['dispose'](),this[_0x46d051(0x40c)][_0x46d051(0x2a0)](_0x50b6f5=>_0x50b6f5['dispose']()),this[_0x46d051(0x40c)][_0x46d051(0x20c)]();}[_0x139332(0x264)](_0x3f2226){var _0x1bb521=_0x139332,_0x8bdc34;return(_0x8bdc34=this[_0x1bb521(0x40c)][_0x1bb521(0x1f1)](_0x3f2226))!=null?_0x8bdc34:null;}['getCollabEntity$'](_0x13d23c){var _0x197dd9=_0x139332;const _0x1c42c8=this['getCollabEntity'](_0x13d23c);return _0x1c42c8?_0x4449b2['of'](_0x1c42c8):this[_0x197dd9(0xaf)][_0x197dd9(0x12a)](_0xcf82d3[_0x197dd9(0xf5)](_0x26fbe2=>_0x26fbe2['unitID']===_0x13d23c));}[_0x139332(0x24d)](_0x59019a){var _0x4b653c=_0x139332;return _0x4449b2[_0x4b653c(0x192)](this['getCollabEntity$'](_0x59019a)[_0x4b653c(0x12a)](_0xcf82d3[_0x4b653c(0x1af)](()=>{})));}[_0x139332(0x2ae)](){var _0x599d7a=_0x139332;this['_univerInstanceService'][_0x599d7a(0x2a9)](_0x46e193[_0x599d7a(0x36a)][_0x599d7a(0xfd)])[_0x599d7a(0x12a)](_0x4449b2['takeUntil'](this[_0x599d7a(0x1ea)]),_0xcf82d3[_0x599d7a(0x2c5)](0x10))[_0x599d7a(0x3b1)](async _0x474b38=>{var _0x531b40=_0x599d7a;const _0x2ab3db=_0x474b38['getUnitId'](),_0x5aaec8=await this[_0x531b40(0x1fb)](_0x2ab3db,_0x552c7c[_0x531b40(0xfd)]);this[_0x531b40(0x40c)][_0x531b40(0x3e3)](_0x2ab3db,_0x5aaec8);}),this['_univerInstanceService'][_0x599d7a(0x2a9)](_0x46e193[_0x599d7a(0x36a)][_0x599d7a(0x119)])[_0x599d7a(0x12a)](_0x4449b2[_0x599d7a(0x15e)](this[_0x599d7a(0x1ea)]),_0xcf82d3[_0x599d7a(0x2c5)](0x10))[_0x599d7a(0x12a)](_0xcf82d3[_0x599d7a(0xf5)](_0x3b3d6e=>!_0x3b3d6e[_0x599d7a(0x339)]()[_0x599d7a(0x23a)]('__')))[_0x599d7a(0x3b1)](async _0x32e8f6=>{var _0x40973e=_0x599d7a;const _0x38f825=_0x32e8f6[_0x40973e(0x339)](),_0x2d2247=await this['_startCollaboration'](_0x38f825,_0x552c7c[_0x40973e(0x119)]);this['_entities']['set'](_0x38f825,_0x2d2247);}),_0x4449b2[_0x599d7a(0x12b)](this['_univerInstanceService'][_0x599d7a(0xda)](_0x46e193[_0x599d7a(0x36a)][_0x599d7a(0xfd)]),this[_0x599d7a(0x18b)][_0x599d7a(0xda)](_0x46e193['UniverInstanceType'][_0x599d7a(0x119)]))[_0x599d7a(0x12a)](_0x4449b2['takeUntil'](this['dispose$']))[_0x599d7a(0x3b1)](_0x31dfd0=>{var _0x41a583=_0x599d7a;const _0x5a378e=_0x31dfd0[_0x41a583(0x339)](),_0x464e5f=this[_0x41a583(0x40c)][_0x41a583(0x1f1)](_0x5a378e);_0x464e5f&&(_0x464e5f[_0x41a583(0x3e9)](),this[_0x41a583(0x40c)]['delete'](_0x5a378e));});}async[_0x139332(0x1fb)](_0x40c37c,_0x228030){var _0x5291b0=_0x139332;const _0x30e93d=await this[_0x5291b0(0x16e)][_0x5291b0(0x17b)](_0x40c37c),_0x15b1c6=this['_injector']['createInstance'](this['_getCtorByUniverType'](_0x228030),_0x40c37c,_0x228030,_0x30e93d);return await _0x15b1c6[_0x5291b0(0x15c)](),this['_entityInit$'][_0x5291b0(0x3ff)](_0x15b1c6),_0x15b1c6;}[_0x139332(0x2d9)](_0x3d18b3){var _0x57d35a=_0x139332;switch(_0x3d18b3){case _0x552c7c[_0x57d35a(0x119)]:return _0x52d482[_0x57d35a(0x3e0)];case _0x552c7c[_0x57d35a(0xfd)]:return _0x52d482[_0x57d35a(0xf6)];default:throw new Error(_0x57d35a(0xbb)+_0x3d18b3);}}},_0x52d482[_0x139332(0x39f)]=_0x214436([_0x283405(0x0,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0x2b8)])),_0x283405(0x1,_0x46e193[_0x139332(0x9e)](_0x52d482[_0x139332(0x1b0)])),_0x283405(0x2,_0x46e193['IUniverInstanceService'])],_0x52d482[_0x139332(0x39f)]);var _0x3a091d=Object[_0x139332(0x212)],_0x1ce514=(_0x32f23f,_0x36c136,_0x40cbf1,_0x5154d2)=>{var _0x43bdd0=_0x139332;for(var _0x3fec1d=_0x5154d2>0x1?void 0x0:_0x5154d2?_0x3a091d(_0x36c136,_0x40cbf1):_0x36c136,_0x24989a=_0x32f23f[_0x43bdd0(0x295)]-0x1,_0x56eda5;_0x24989a>=0x0;_0x24989a--)(_0x56eda5=_0x32f23f[_0x24989a])&&(_0x3fec1d=_0x56eda5(_0x3fec1d)||_0x3fec1d);return _0x3fec1d;},_0x9fab98=(_0xb16818,_0x14388b)=>(_0x499fb8,_0x5d5960)=>_0x14388b(_0x499fb8,_0x5d5960,_0xb16818);const _0x4e7d77='DEFAULT_FILE_NAME',_0x19431f=_0x139332(0x2d3);let _0x308125=class extends _0x46e193['Disposable']{constructor(_0xa2bb39,_0x17db7b){var _0x30c9e6=_0x139332;super(),this[_0x30c9e6(0x18b)]=_0xa2bb39,this[_0x30c9e6(0x248)]=_0x17db7b,this[_0x30c9e6(0x2ae)]();}['_init'](){var _0x18e54b=_0x139332;this['disposeWithMe'](this[_0x18e54b(0x18b)]['focused$'][_0x18e54b(0x3b1)](()=>{var _0x42d23b=_0x18e54b,_0x330f14;const _0x39be67=this[_0x42d23b(0x18b)]['getFocusedUnit']();let _0x19dfb2=(_0x330f14=this['_configService']['getConfig'](_0x4e7d77))!=null?_0x330f14:_0x19431f;_0x39be67 instanceof _0x46e193[_0x42d23b(0x2be)]&&(_0x19dfb2=_0x39be67['name']),document[_0x42d23b(0x386)]=_0x19dfb2;}));}};_0x308125=_0x1ce514([_0x9fab98(0x0,_0x46e193[_0x139332(0xb9)]),_0x9fab98(0x1,_0x46e193[_0x139332(0x1c6)])],_0x308125);var _0xadfeb5=Object[_0x139332(0x212)],_0x5ec289=(_0x2faf87,_0x3d4b6d,_0x34cad5,_0x588696)=>{var _0xdda3f9=_0x139332;for(var _0x4f0866=_0x588696>0x1?void 0x0:_0x588696?_0xadfeb5(_0x3d4b6d,_0x34cad5):_0x3d4b6d,_0x3e545f=_0x2faf87[_0xdda3f9(0x295)]-0x1,_0x23fa43;_0x3e545f>=0x0;_0x3e545f--)(_0x23fa43=_0x2faf87[_0x3e545f])&&(_0x4f0866=_0x23fa43(_0x4f0866)||_0x4f0866);return _0x4f0866;},_0x5dd713=(_0x471498,_0xaf42b)=>(_0x55c215,_0xbb8aa8)=>_0xaf42b(_0x55c215,_0xbb8aa8,_0x471498);let _0x414a3b=class{constructor(_0x5d370c,_0x376ad1,_0x3a21f6){var _0x43fb2c=_0x139332;this['_configService']=_0x5d370c,this[_0x43fb2c(0x184)]=_0x376ad1,this[_0x43fb2c(0xa3)]=_0x3a21f6,this[_0x43fb2c(0x15c)]();}[_0x139332(0x15c)](){var _0x39d12f=_0x139332;this[_0x39d12f(0x184)][_0x39d12f(0x38b)]({'priority':0x1,'interceptor':(_0x3a3f23,_0x103ea8)=>_0x103ea8(_0x3a3f23)[_0x39d12f(0x12a)](_0x4449b2[_0x39d12f(0x380)](async _0x249d84=>{var _0x1b1c71=_0x39d12f;const _0x5c97ab=_0x249d84;if(_0x5c97ab['status']===0x191){if(typeof window>'u')throw new Error(_0x1b1c71(0x227));if(window[_0x1b1c71(0x28b)](this[_0x1b1c71(0xa3)]['t'](_0x1b1c71(0x29f)))){const _0x5f1bf1=window[_0x1b1c71(0x10b)](window[_0x1b1c71(0x318)][_0x1b1c71(0x170)]);window['location'][_0x1b1c71(0x170)]=this[_0x1b1c71(0x3cc)]()+_0x1b1c71(0x40a)+_0x5f1bf1;}}return _0x5c97ab;}))});}['_getLoginPath'](){var _0x3b9327=_0x139332,_0x43600b,_0x562d67;const _0x3728c2=this[_0x3b9327(0x248)][_0x3b9327(0x2e1)](_0x4bf5eb),_0x1032b9=this['_configService'][_0x3b9327(0x2e1)](_0x38cef3);return(_0x562d67=(_0x43600b=_0x1032b9==null?void 0x0:_0x1032b9['loginUrlKey'])!=null?_0x43600b:_0x3728c2)!=null?_0x562d67:_0x34d661;}};_0x414a3b=_0x5ec289([_0x5dd713(0x0,_0x46e193[_0x139332(0x1c6)]),_0x5dd713(0x1,_0x46e193[_0x139332(0x9e)](_0x4c86e5[_0x139332(0x1a0)])),_0x5dd713(0x2,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0xd7)]))],_0x414a3b);var _0x4b9608=Object[_0x139332(0x212)],_0x1a61c7=(_0x14a204,_0x558a15,_0x428573,_0x3ca460)=>{var _0x317558=_0x139332;for(var _0x515ca5=_0x3ca460>0x1?void 0x0:_0x3ca460?_0x4b9608(_0x558a15,_0x428573):_0x558a15,_0x16c5fc=_0x14a204[_0x317558(0x295)]-0x1,_0x4aad53;_0x16c5fc>=0x0;_0x16c5fc--)(_0x4aad53=_0x14a204[_0x16c5fc])&&(_0x515ca5=_0x4aad53(_0x515ca5)||_0x515ca5);return _0x515ca5;},_0x4e5448=(_0x401938,_0x40690d)=>(_0xdb35b7,_0x30bc81)=>_0x40690d(_0xdb35b7,_0x30bc81,_0x401938);const _0xc8daaf=_0x139332(0x37c),_0xa57405='/universer-api/authz';_0x52d482[_0x139332(0x108)]=class extends _0x46e193[_0x139332(0x107)]{constructor(_0x1b99b3,_0x2bf9ca){var _0x1ed16a=_0x139332;super(),this[_0x1ed16a(0x24e)]=_0x1b99b3,this['_configService']=_0x2bf9ca,this[_0x1ed16a(0xd9)]();}[_0x139332(0xd9)](){var _0x5d2170=_0x139332;const _0x55d8b6=this;this[_0x5d2170(0x2dc)](this[_0x5d2170(0x24e)][_0x5d2170(0x38b)]({'priority':0x3e7,'interceptor':_0x4c86e5['MergeInterceptorFactory']({'isMatch'(_0x58d5c8){var _0x4a7fa9=_0x5d2170,_0x1e50ed;if(_0x58d5c8['method']===_0x4a7fa9(0x12c)&&((_0x1e50ed=_0x58d5c8[_0x4a7fa9(0x362)])!=null&&_0x1e50ed[_0x4a7fa9(0x349)])){const {objectID:_0x35c995,objectType:_0x4ebbc8}=_0x58d5c8['requestParams'][_0x4a7fa9(0x349)]||{};if(!_0x35c995||_0x4ebbc8===void 0x0)return!0x1;const _0x540572=_0x55d8b6['_getAPIPrefixPath']()+'/'+_0x4ebbc8+'/object/'+_0x35c995+'/allowed';if(_0x58d5c8[_0x4a7fa9(0x175)]===_0x540572)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x464327){var _0x27bf2b=_0x5d2170,_0x7a7821;return(_0x7a7821=_0x464327[_0x27bf2b(0x362)])==null?void 0x0:_0x7a7821[_0x27bf2b(0x349)];},'mergeParamsToRequest'(_0x7ce99f,_0x5d7a05){var _0x74c373=_0x5d2170;const _0x4475e2=_0x55d8b6[_0x74c373(0x21a)]()+'/-/object/-/batch_allowed',_0x3fc04f=_0x7ce99f[_0x74c373(0x224)]((_0x4edceb,_0x16a3b5)=>{var _0x5a9b37=_0x74c373;const {unitID:_0x348104,objectID:_0x2ef037,objectType:_0x8d85cd,actions:_0x464e87}=_0x16a3b5;return _0x4edceb[_0x348104]||(_0x4edceb[_0x348104]={}),_0x4edceb[_0x348104][_0x2ef037]||(_0x4edceb[_0x348104][_0x2ef037]={'objectID':_0x2ef037,'objectType':_0x8d85cd,'actions':[]}),_0x4edceb[_0x348104][_0x2ef037][_0x5a9b37(0x3f3)]['push'](..._0x464e87),_0x4edceb;},{}),_0x2fd802=[];for(const _0x5cd82d in _0x3fc04f)for(const _0x38c309 in _0x3fc04f[_0x5cd82d]){const {actions:_0x48aab3,objectType:_0x14db2c}=_0x3fc04f[_0x5cd82d][_0x38c309],_0x47a4e0=[...new Set(_0x48aab3)];_0x2fd802[_0x74c373(0x34b)]({'unitID':_0x5cd82d,'objectID':_0x38c309,'objectType':_0x14db2c,'actions':_0x47a4e0});}return new _0x4c86e5['HTTPRequest'](_0x74c373(0x12c),_0x4475e2,{'headers':_0x5d7a05[_0x74c373(0x35a)],'withCredentials':_0x5d7a05[_0x74c373(0x32a)],'responseType':_0x5d7a05[_0x74c373(0x416)],'body':{'requests':_0x2fd802}});}},{'distributeResult'(_0x1dd26a,_0x129785){var _0x39692d=_0x5d2170;const {objectActions:_0x2245b2}=_0x1dd26a;return _0x129785[_0x39692d(0x1af)](_0x2d8a5d=>{var _0x25ca0d=_0x39692d;const {unitID:_0x1857ff,objectID:_0x393a27,actions:_0x2d539c}=_0x2d8a5d,_0x123e15=_0x2245b2[_0x25ca0d(0x3c4)](_0x529c81=>_0x529c81[_0x25ca0d(0x144)]===_0x1857ff&&_0x529c81[_0x25ca0d(0x365)]===_0x393a27),_0x5dc518=_0x2d539c[_0x25ca0d(0x1af)](_0x57df14=>_0x123e15==null?void 0x0:_0x123e15[_0x25ca0d(0x3f3)][_0x25ca0d(0x3c4)](_0x20db2a=>_0x20db2a[_0x25ca0d(0x2dd)]===_0x57df14))[_0x25ca0d(0xf5)](_0x572c3b=>!!_0x572c3b);return{'config':_0x2d8a5d,'result':{'actions':_0x5dc518,'error':_0x1dd26a[_0x25ca0d(0x3ca)]}};});}})}));}[_0x139332(0x21a)](){var _0x58c3e9=_0x139332,_0x3f20d0,_0x568ced;const _0x527963=this['_configService'][_0x58c3e9(0x2e1)](_0xc8daaf),_0x3742f0=this[_0x58c3e9(0x248)][_0x58c3e9(0x2e1)](_0x38cef3);return(_0x568ced=(_0x3f20d0=_0x3742f0==null?void 0x0:_0x3742f0[_0x58c3e9(0x2e3)])!=null?_0x3f20d0:_0x527963)!=null?_0x568ced:_0xa57405;}async[_0x139332(0x185)](_0x1dcdcf){var _0x37e42f=_0x139332;const _0x28db79=this['_getAPIPrefixPath']()+'/'+_0x1dcdcf[_0x37e42f(0x38f)]+_0x37e42f(0x155);return(await this[_0x37e42f(0x24e)][_0x37e42f(0x291)](_0x28db79,{'body':_0x1dcdcf}))[_0x37e42f(0x349)][_0x37e42f(0x365)]||'';}async[_0x139332(0x1c4)](_0xa87930){var _0x5e284a=_0x139332;const _0x3320b7=this[_0x5e284a(0x21a)]()+'/-/object/list';return(await this['_HTTPService'][_0x5e284a(0x291)](_0x3320b7,{'body':_0xa87930}))[_0x5e284a(0x349)][_0x5e284a(0x139)];}async[_0x139332(0xe6)](_0x4dd11c){var _0x3e95c7=_0x139332,_0x3e4a7e,_0x46523d;const _0x4039e3=this[_0x3e95c7(0x21a)]()+'/'+_0x4dd11c['objectType']+_0x3e95c7(0x30a)+_0x4dd11c[_0x3e95c7(0x365)],_0x39ccca=await this[_0x3e95c7(0x24e)][_0x3e95c7(0x2b2)](_0x4039e3,{'body':_0x4dd11c});if(((_0x46523d=(_0x3e4a7e=_0x39ccca==null?void 0x0:_0x39ccca[_0x3e95c7(0x349)])==null?void 0x0:_0x3e4a7e[_0x3e95c7(0x3ca)])==null?void 0x0:_0x46523d[_0x3e95c7(0x1e6)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x394cf5){var _0x5abbbc=_0x139332;const _0x273158=this[_0x5abbbc(0x21a)]()+'/'+_0x394cf5['objectType']+_0x5abbbc(0x30a)+_0x394cf5[_0x5abbbc(0x365)]+'/allowed';return(await this[_0x5abbbc(0x24e)][_0x5abbbc(0x291)](_0x273158,{'body':_0x394cf5}))[_0x5abbbc(0x349)]['actions'];}async[_0x139332(0x256)](_0x58863d){var _0x4e5bfc=_0x139332;const _0x695a22=this[_0x4e5bfc(0x21a)]()+_0x4e5bfc(0x3f7);return(await this[_0x4e5bfc(0x24e)][_0x4e5bfc(0x291)](_0x695a22,{'body':{'requests':_0x58863d}}))[_0x4e5bfc(0x349)][_0x4e5bfc(0x120)];}async['listRoles'](_0x28768e){var _0x2b2d90=_0x139332;const _0x574595=this[_0x2b2d90(0x21a)]()+'/'+_0x28768e['objectType']+'/role',_0x467a67=await this[_0x2b2d90(0x24e)][_0x2b2d90(0x291)](_0x574595,{'body':_0x28768e});return{'roles':_0x467a67['body'][_0x2b2d90(0x3d4)],'actions':_0x467a67[_0x2b2d90(0x349)][_0x2b2d90(0x3f3)]};}async[_0x139332(0x259)](_0x302dda){var _0x476e1e=_0x139332;const _0x461258=this[_0x476e1e(0x21a)]()+_0x476e1e(0x39a);await this[_0x476e1e(0x24e)][_0x476e1e(0x37a)](_0x461258,{'params':{'collaboratorID':_0x302dda[_0x476e1e(0x2de)],'objectID':_0x302dda[_0x476e1e(0x365)],'unitID':_0x302dda[_0x476e1e(0x144)]}});}async[_0x139332(0x1a2)](_0xd50b71){var _0x5c9f7f=_0x139332;const _0x435c36=this[_0x5c9f7f(0x21a)]()+_0x5c9f7f(0x39a);await this[_0x5c9f7f(0x24e)]['patch'](_0x435c36,{'body':_0xd50b71});}async[_0x139332(0x340)](_0x38b736){var _0x3a156f=_0x139332;const _0x3e3767=this[_0x3a156f(0x21a)]()+_0x3a156f(0x39a);await this['_HTTPService'][_0x3a156f(0x291)](_0x3e3767,{'body':_0x38b736});}async[_0x139332(0x1ef)](_0xb7b99b){var _0x2c86bf=_0x139332;const _0x5f0013=this[_0x2c86bf(0x21a)]()+_0x2c86bf(0x39a);return(await this['_HTTPService'][_0x2c86bf(0x1f1)](_0x5f0013,{'params':{'objectID':_0xb7b99b['objectID'],'unitID':_0xb7b99b[_0x2c86bf(0x144)]}}))[_0x2c86bf(0x349)][_0x2c86bf(0x262)];}async['putCollaborators'](_0xad457b){var _0x53bf09=_0x139332;const _0x412d6d=this[_0x53bf09(0x21a)]()+'/collaborator';await this[_0x53bf09(0x24e)][_0x53bf09(0x2b2)](_0x412d6d,{'body':_0xad457b});}},_0x52d482[_0x139332(0x108)]=_0x1a61c7([_0x4e5448(0x0,_0x46e193[_0x139332(0x9e)](_0x4c86e5['HTTPService'])),_0x4e5448(0x1,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0x1c6)]))],_0x52d482['AuthzIoHttpService']);var _0x50f0d7=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x37033d(_0x270a75){var _0x3c1469=_0x139332;return _0x270a75&&_0x270a75[_0x3c1469(0x1a5)]&&Object[_0x3c1469(0x395)][_0x3c1469(0xdf)][_0x3c1469(0x18e)](_0x270a75,'default')?_0x270a75[_0x3c1469(0x10c)]:_0x270a75;}var _0x4feaeb={'exports':{}};function _0x3b3907(_0x10b382){var _0x2e85cb=_0x139332;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x10b382+_0x2e85cb(0x33d));}var _0xb7c4e7={'exports':{}},_0x5acf78=_0xb7c4e7[_0x139332(0x187)],_0x4dc5fa;function _0x2751f5(){var _0x17cd29=_0x139332;return _0x4dc5fa||(_0x4dc5fa=0x1,function(_0x3ba4e2,_0x22c8c1){(function(_0x21bdc1,_0x421e6b){var _0x8e49fa=_0x1b12;_0x3ba4e2[_0x8e49fa(0x187)]=_0x421e6b();}(_0x5acf78,function(){var _0x545903=_0x545903||function(_0x369d12,_0x42ef8a){var _0x1a568b=_0x1b12,_0x55b785;if(typeof window<'u'&&window[_0x1a568b(0x118)]&&(_0x55b785=window['crypto']),typeof self<'u'&&self[_0x1a568b(0x118)]&&(_0x55b785=self[_0x1a568b(0x118)]),typeof globalThis<'u'&&globalThis[_0x1a568b(0x118)]&&(_0x55b785=globalThis[_0x1a568b(0x118)]),!_0x55b785&&typeof window<'u'&&window['msCrypto']&&(_0x55b785=window[_0x1a568b(0x2c9)]),!_0x55b785&&typeof _0x50f0d7<'u'&&_0x50f0d7[_0x1a568b(0x118)]&&(_0x55b785=_0x50f0d7[_0x1a568b(0x118)]),!_0x55b785&&typeof _0x3b3907=='function')try{_0x55b785=require(_0x1a568b(0x118));}catch{}var _0x10e2e2=function(){var _0x48033b=_0x1a568b;if(_0x55b785){if(typeof _0x55b785[_0x48033b(0xb2)]=='function')try{return _0x55b785[_0x48033b(0xb2)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x55b785[_0x48033b(0xab)]==_0x48033b(0xb6))try{return _0x55b785[_0x48033b(0xab)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x48033b(0x3eb));},_0x41959a=Object['create']||(function(){function _0x42fdbd(){}return function(_0x26f88a){var _0x1af893=_0x1b12,_0x4bbed9;return _0x42fdbd['prototype']=_0x26f88a,_0x4bbed9=new _0x42fdbd(),_0x42fdbd[_0x1af893(0x395)]=null,_0x4bbed9;};}()),_0x3e5d0f={},_0x49ec51=_0x3e5d0f['lib']={},_0x2ebb07=_0x49ec51[_0x1a568b(0xfe)]=(function(){return{'extend':function(_0x1c21a7){var _0x53e99d=_0x1b12,_0x429f07=_0x41959a(this);return _0x1c21a7&&_0x429f07['mixIn'](_0x1c21a7),(!_0x429f07[_0x53e99d(0xdf)](_0x53e99d(0x15c))||this[_0x53e99d(0x15c)]===_0x429f07[_0x53e99d(0x15c)])&&(_0x429f07['init']=function(){var _0x17c87e=_0x53e99d;_0x429f07[_0x17c87e(0x22c)][_0x17c87e(0x15c)]['apply'](this,arguments);}),_0x429f07[_0x53e99d(0x15c)][_0x53e99d(0x395)]=_0x429f07,_0x429f07[_0x53e99d(0x22c)]=this,_0x429f07;},'create':function(){var _0x590e22=_0x1b12,_0x40bad4=this[_0x590e22(0x346)]();return _0x40bad4[_0x590e22(0x15c)][_0x590e22(0xf4)](_0x40bad4,arguments),_0x40bad4;},'init':function(){},'mixIn':function(_0x1ab0e9){var _0x69ea44=_0x1b12;for(var _0x26e212 in _0x1ab0e9)_0x1ab0e9['hasOwnProperty'](_0x26e212)&&(this[_0x26e212]=_0x1ab0e9[_0x26e212]);_0x1ab0e9[_0x69ea44(0xdf)](_0x69ea44(0x388))&&(this['toString']=_0x1ab0e9['toString']);},'clone':function(){var _0x3411e2=_0x1b12;return this[_0x3411e2(0x15c)][_0x3411e2(0x395)][_0x3411e2(0x346)](this);}};}()),_0x1a9b8e=_0x49ec51[_0x1a568b(0x375)]=_0x2ebb07[_0x1a568b(0x346)]({'init':function(_0x154e69,_0x2cc1f6){var _0x2a7b95=_0x1a568b;_0x154e69=this[_0x2a7b95(0x38c)]=_0x154e69||[],_0x2cc1f6!=_0x42ef8a?this[_0x2a7b95(0x400)]=_0x2cc1f6:this[_0x2a7b95(0x400)]=_0x154e69[_0x2a7b95(0x295)]*0x4;},'toString':function(_0x457984){var _0x18d6f8=_0x1a568b;return(_0x457984||_0x429f49)[_0x18d6f8(0x13d)](this);},'concat':function(_0x59f7e9){var _0x16a343=_0x1a568b,_0x2986b6=this[_0x16a343(0x38c)],_0x5b0d30=_0x59f7e9[_0x16a343(0x38c)],_0x17926=this[_0x16a343(0x400)],_0x11ae44=_0x59f7e9[_0x16a343(0x400)];if(this[_0x16a343(0x29d)](),_0x17926%0x4)for(var _0x390a24=0x0;_0x390a24<_0x11ae44;_0x390a24++){var _0x487c72=_0x5b0d30[_0x390a24>>>0x2]>>>0x18-_0x390a24%0x4*0x8&0xff;_0x2986b6[_0x17926+_0x390a24>>>0x2]|=_0x487c72<<0x18-(_0x17926+_0x390a24)%0x4*0x8;}else{for(var _0x36eef0=0x0;_0x36eef0<_0x11ae44;_0x36eef0+=0x4)_0x2986b6[_0x17926+_0x36eef0>>>0x2]=_0x5b0d30[_0x36eef0>>>0x2];}return this['sigBytes']+=_0x11ae44,this;},'clamp':function(){var _0x1c796a=_0x1a568b,_0x4964f5=this[_0x1c796a(0x38c)],_0x52558=this[_0x1c796a(0x400)];_0x4964f5[_0x52558>>>0x2]&=0xffffffff<<0x20-_0x52558%0x4*0x8,_0x4964f5[_0x1c796a(0x295)]=_0x369d12['ceil'](_0x52558/0x4);},'clone':function(){var _0x7dc88c=_0x1a568b,_0x4f5994=_0x2ebb07[_0x7dc88c(0x19b)]['call'](this);return _0x4f5994[_0x7dc88c(0x38c)]=this[_0x7dc88c(0x38c)]['slice'](0x0),_0x4f5994;},'random':function(_0x43fa6a){var _0x1fe2dd=_0x1a568b;for(var _0x59bd07=[],_0x2058dd=0x0;_0x2058dd<_0x43fa6a;_0x2058dd+=0x4)_0x59bd07[_0x1fe2dd(0x34b)](_0x10e2e2());return new _0x1a9b8e[(_0x1fe2dd(0x15c))](_0x59bd07,_0x43fa6a);}}),_0x30ba01=_0x3e5d0f['enc']={},_0x429f49=_0x30ba01[_0x1a568b(0x11a)]={'stringify':function(_0x1f8299){var _0x5341dd=_0x1a568b;for(var _0x57482e=_0x1f8299[_0x5341dd(0x38c)],_0x133654=_0x1f8299[_0x5341dd(0x400)],_0x51a80c=[],_0x74821=0x0;_0x74821<_0x133654;_0x74821++){var _0x45f6fe=_0x57482e[_0x74821>>>0x2]>>>0x18-_0x74821%0x4*0x8&0xff;_0x51a80c[_0x5341dd(0x34b)]((_0x45f6fe>>>0x4)[_0x5341dd(0x388)](0x10)),_0x51a80c[_0x5341dd(0x34b)]((_0x45f6fe&0xf)[_0x5341dd(0x388)](0x10));}return _0x51a80c[_0x5341dd(0xa4)]('');},'parse':function(_0xe6e69b){var _0x57a808=_0x1a568b;for(var _0x4052ef=_0xe6e69b[_0x57a808(0x295)],_0x1ee1b3=[],_0x7a2b1e=0x0;_0x7a2b1e<_0x4052ef;_0x7a2b1e+=0x2)_0x1ee1b3[_0x7a2b1e>>>0x3]|=parseInt(_0xe6e69b[_0x57a808(0x1cb)](_0x7a2b1e,0x2),0x10)<<0x18-_0x7a2b1e%0x8*0x4;return new _0x1a9b8e[(_0x57a808(0x15c))](_0x1ee1b3,_0x4052ef/0x2);}},_0x539a38=_0x30ba01[_0x1a568b(0xa8)]={'stringify':function(_0x2751ed){var _0x2cc371=_0x1a568b;for(var _0x256c08=_0x2751ed['words'],_0x3da2aa=_0x2751ed[_0x2cc371(0x400)],_0x1f0f32=[],_0x4b93eb=0x0;_0x4b93eb<_0x3da2aa;_0x4b93eb++){var _0x368a3a=_0x256c08[_0x4b93eb>>>0x2]>>>0x18-_0x4b93eb%0x4*0x8&0xff;_0x1f0f32[_0x2cc371(0x34b)](String[_0x2cc371(0x179)](_0x368a3a));}return _0x1f0f32[_0x2cc371(0xa4)]('');},'parse':function(_0x49c8d8){var _0x36fc80=_0x1a568b;for(var _0x3550a8=_0x49c8d8[_0x36fc80(0x295)],_0x2d1ebb=[],_0x359d62=0x0;_0x359d62<_0x3550a8;_0x359d62++)_0x2d1ebb[_0x359d62>>>0x2]|=(_0x49c8d8[_0x36fc80(0x27c)](_0x359d62)&0xff)<<0x18-_0x359d62%0x4*0x8;return new _0x1a9b8e[(_0x36fc80(0x15c))](_0x2d1ebb,_0x3550a8);}},_0x4a2001=_0x30ba01[_0x1a568b(0x1aa)]={'stringify':function(_0x414ac5){var _0x24c21d=_0x1a568b;try{return decodeURIComponent(escape(_0x539a38[_0x24c21d(0x13d)](_0x414ac5)));}catch{throw new Error(_0x24c21d(0x3a5));}},'parse':function(_0x4f589d){var _0x4f83ed=_0x1a568b;return _0x539a38[_0x4f83ed(0x132)](unescape(encodeURIComponent(_0x4f589d)));}},_0x3529bb=_0x49ec51[_0x1a568b(0x208)]=_0x2ebb07['extend']({'reset':function(){var _0x2c49b5=_0x1a568b;this['_data']=new _0x1a9b8e[(_0x2c49b5(0x15c))](),this[_0x2c49b5(0x2c4)]=0x0;},'_append':function(_0x23ee87){var _0x2e8b1d=_0x1a568b;typeof _0x23ee87=='string'&&(_0x23ee87=_0x4a2001[_0x2e8b1d(0x132)](_0x23ee87)),this['_data']['concat'](_0x23ee87),this['_nDataBytes']+=_0x23ee87[_0x2e8b1d(0x400)];},'_process':function(_0x48d964){var _0x439824=_0x1a568b,_0x28edff,_0x21bf11=this[_0x439824(0xeb)],_0x2faa29=_0x21bf11[_0x439824(0x38c)],_0x46e4e3=_0x21bf11[_0x439824(0x400)],_0x1614a2=this[_0x439824(0x1c9)],_0x16b5c9=_0x1614a2*0x4,_0x47a3bd=_0x46e4e3/_0x16b5c9;_0x48d964?_0x47a3bd=_0x369d12[_0x439824(0x2e9)](_0x47a3bd):_0x47a3bd=_0x369d12[_0x439824(0x351)]((_0x47a3bd|0x0)-this['_minBufferSize'],0x0);var _0x3b84d3=_0x47a3bd*_0x1614a2,_0x4d88d0=_0x369d12[_0x439824(0x15f)](_0x3b84d3*0x4,_0x46e4e3);if(_0x3b84d3){for(var _0xfbf79=0x0;_0xfbf79<_0x3b84d3;_0xfbf79+=_0x1614a2)this[_0x439824(0x2f8)](_0x2faa29,_0xfbf79);_0x28edff=_0x2faa29[_0x439824(0x234)](0x0,_0x3b84d3),_0x21bf11[_0x439824(0x400)]-=_0x4d88d0;}return new _0x1a9b8e['init'](_0x28edff,_0x4d88d0);},'clone':function(){var _0xf1e48a=_0x1a568b,_0x513028=_0x2ebb07['clone'][_0xf1e48a(0x18e)](this);return _0x513028[_0xf1e48a(0xeb)]=this[_0xf1e48a(0xeb)][_0xf1e48a(0x19b)](),_0x513028;},'_minBufferSize':0x0});_0x49ec51[_0x1a568b(0x16d)]=_0x3529bb[_0x1a568b(0x346)]({'cfg':_0x2ebb07[_0x1a568b(0x346)](),'init':function(_0x2dd420){var _0x5143b0=_0x1a568b;this[_0x5143b0(0x24a)]=this[_0x5143b0(0x24a)][_0x5143b0(0x346)](_0x2dd420),this[_0x5143b0(0x378)]();},'reset':function(){var _0x3de12b=_0x1a568b;_0x3529bb['reset'][_0x3de12b(0x18e)](this),this[_0x3de12b(0x2b3)]();},'update':function(_0x3318cf){var _0x2adf84=_0x1a568b;return this[_0x2adf84(0x2a3)](_0x3318cf),this[_0x2adf84(0x3c5)](),this;},'finalize':function(_0x2a6290){var _0x989105=_0x1a568b;_0x2a6290&&this[_0x989105(0x2a3)](_0x2a6290);var _0x4d5f99=this[_0x989105(0x176)]();return _0x4d5f99;},'blockSize':0x10,'_createHelper':function(_0x2a2f96){return function(_0x336ebe,_0x1e35f8){var _0x58796e=_0x1b12;return new _0x2a2f96[(_0x58796e(0x15c))](_0x1e35f8)[_0x58796e(0x1a9)](_0x336ebe);};},'_createHmacHelper':function(_0x107fb3){return function(_0x5155cd,_0x5710a6){var _0x34c9ad=_0x1b12;return new _0xed1639[(_0x34c9ad(0xd0))][(_0x34c9ad(0x15c))](_0x107fb3,_0x5710a6)[_0x34c9ad(0x1a9)](_0x5155cd);};}});var _0xed1639=_0x3e5d0f[_0x1a568b(0x260)]={};return _0x3e5d0f;}(Math);return _0x545903;}));}(_0xb7c4e7)),_0xb7c4e7[_0x17cd29(0x187)];}var _0x191a85={'exports':{}},_0x591904=_0x191a85[_0x139332(0x187)],_0x51787d;function _0x2c7803(){var _0x1e7af0=_0x139332;return _0x51787d||(_0x51787d=0x1,function(_0x5c8f3e,_0x5450f4){(function(_0x3ea9bf,_0x5e9c04){var _0x1ce27b=_0x1b12;_0x5c8f3e[_0x1ce27b(0x187)]=_0x5e9c04(_0x2751f5());}(_0x591904,function(_0x4f4a5d){var _0x109447=_0x1b12;return(function(){var _0x2bc933=_0x1b12,_0x50d1d0=_0x4f4a5d,_0x3f736f=_0x50d1d0[_0x2bc933(0x21f)],_0x472a5b=_0x3f736f['WordArray'],_0x154783=_0x50d1d0[_0x2bc933(0x153)];_0x154783[_0x2bc933(0x24b)]={'stringify':function(_0x1e4abf){var _0x47f45c=_0x2bc933,_0x1868c0=_0x1e4abf[_0x47f45c(0x38c)],_0x2ec263=_0x1e4abf[_0x47f45c(0x400)],_0x386363=this['_map'];_0x1e4abf[_0x47f45c(0x29d)]();for(var _0x4e566b=[],_0xdb8d6d=0x0;_0xdb8d6d<_0x2ec263;_0xdb8d6d+=0x3)for(var _0x2b68fe=_0x1868c0[_0xdb8d6d>>>0x2]>>>0x18-_0xdb8d6d%0x4*0x8&0xff,_0x4c2ab1=_0x1868c0[_0xdb8d6d+0x1>>>0x2]>>>0x18-(_0xdb8d6d+0x1)%0x4*0x8&0xff,_0x47c91d=_0x1868c0[_0xdb8d6d+0x2>>>0x2]>>>0x18-(_0xdb8d6d+0x2)%0x4*0x8&0xff,_0x5bc48c=_0x2b68fe<<0x10|_0x4c2ab1<<0x8|_0x47c91d,_0x12db1f=0x0;_0x12db1f<0x4&&_0xdb8d6d+_0x12db1f*0.75<_0x2ec263;_0x12db1f++)_0x4e566b[_0x47f45c(0x34b)](_0x386363[_0x47f45c(0x26e)](_0x5bc48c>>>0x6*(0x3-_0x12db1f)&0x3f));var _0x60973c=_0x386363[_0x47f45c(0x26e)](0x40);if(_0x60973c){for(;_0x4e566b[_0x47f45c(0x295)]%0x4;)_0x4e566b[_0x47f45c(0x34b)](_0x60973c);}return _0x4e566b[_0x47f45c(0xa4)]('');},'parse':function(_0xe867a0){var _0x3f093d=_0x2bc933,_0x4549ac=_0xe867a0[_0x3f093d(0x295)],_0x2610af=this[_0x3f093d(0x242)],_0x2df1b4=this[_0x3f093d(0x104)];if(!_0x2df1b4){_0x2df1b4=this[_0x3f093d(0x104)]=[];for(var _0x485f23=0x0;_0x485f23<_0x2610af[_0x3f093d(0x295)];_0x485f23++)_0x2df1b4[_0x2610af[_0x3f093d(0x27c)](_0x485f23)]=_0x485f23;}var _0x4f9d5f=_0x2610af[_0x3f093d(0x26e)](0x40);if(_0x4f9d5f){var _0xa61c8e=_0xe867a0[_0x3f093d(0x28c)](_0x4f9d5f);_0xa61c8e!==-0x1&&(_0x4549ac=_0xa61c8e);}return _0x137b6b(_0xe867a0,_0x4549ac,_0x2df1b4);},'_map':_0x2bc933(0x1de)};function _0x137b6b(_0x5ca0be,_0xe55e5b,_0x411510){var _0x3fe0d8=_0x2bc933;for(var _0x524bd0=[],_0x275c31=0x0,_0x46641a=0x0;_0x46641a<_0xe55e5b;_0x46641a++)if(_0x46641a%0x4){var _0x18c106=_0x411510[_0x5ca0be[_0x3fe0d8(0x27c)](_0x46641a-0x1)]<<_0x46641a%0x4*0x2,_0x511100=_0x411510[_0x5ca0be[_0x3fe0d8(0x27c)](_0x46641a)]>>>0x6-_0x46641a%0x4*0x2,_0x5da88d=_0x18c106|_0x511100;_0x524bd0[_0x275c31>>>0x2]|=_0x5da88d<<0x18-_0x275c31%0x4*0x8,_0x275c31++;}return _0x472a5b['create'](_0x524bd0,_0x275c31);}}()),_0x4f4a5d['enc'][_0x109447(0x24b)];}));}(_0x191a85)),_0x191a85[_0x1e7af0(0x187)];}var _0xe9eaa8={'exports':{}},_0xe8b344=_0xe9eaa8['exports'],_0x280f1c;function _0x2d0fed(){var _0x33f2e3=_0x139332;return _0x280f1c||(_0x280f1c=0x1,function(_0x27cb44,_0x2c2f82){(function(_0x9e22c8,_0x5044a9){var _0x1755d2=_0x1b12;_0x27cb44[_0x1755d2(0x187)]=_0x5044a9(_0x2751f5());}(_0xe8b344,function(_0x257bbb){var _0x3ed4a2=_0x1b12;return function(_0x1680eb){var _0x4f1bb8=_0x1b12,_0x28406f=_0x257bbb,_0x588a6e=_0x28406f[_0x4f1bb8(0x21f)],_0x47a657=_0x588a6e['WordArray'],_0x279e46=_0x588a6e[_0x4f1bb8(0x16d)],_0x2e3eb1=_0x28406f[_0x4f1bb8(0x260)],_0x36d6f1=[];(function(){var _0x39c94d=_0x4f1bb8;for(var _0x10a684=0x0;_0x10a684<0x40;_0x10a684++)_0x36d6f1[_0x10a684]=_0x1680eb[_0x39c94d(0x252)](_0x1680eb[_0x39c94d(0x19a)](_0x10a684+0x1))*0x100000000|0x0;}());var _0x2d303d=_0x2e3eb1[_0x4f1bb8(0x304)]=_0x279e46['extend']({'_doReset':function(){var _0x13627f=_0x4f1bb8;this[_0x13627f(0x334)]=new _0x47a657['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x38e465,_0x228354){for(var _0x4505a5=0x0;_0x4505a5<0x10;_0x4505a5++){var _0x14164d=_0x228354+_0x4505a5,_0x5d6bd2=_0x38e465[_0x14164d];_0x38e465[_0x14164d]=(_0x5d6bd2<<0x8|_0x5d6bd2>>>0x18)&0xff00ff|(_0x5d6bd2<<0x18|_0x5d6bd2>>>0x8)&0xff00ff00;}var _0x5d6708=this['_hash']['words'],_0x3f9fb3=_0x38e465[_0x228354+0x0],_0xc65ca7=_0x38e465[_0x228354+0x1],_0x5293ec=_0x38e465[_0x228354+0x2],_0x1b14ea=_0x38e465[_0x228354+0x3],_0x3d7449=_0x38e465[_0x228354+0x4],_0x3f3847=_0x38e465[_0x228354+0x5],_0x4da3c9=_0x38e465[_0x228354+0x6],_0x4c3228=_0x38e465[_0x228354+0x7],_0x273f05=_0x38e465[_0x228354+0x8],_0x5a22d9=_0x38e465[_0x228354+0x9],_0x2dcf69=_0x38e465[_0x228354+0xa],_0x12e470=_0x38e465[_0x228354+0xb],_0x41233d=_0x38e465[_0x228354+0xc],_0x3c6c07=_0x38e465[_0x228354+0xd],_0x32102b=_0x38e465[_0x228354+0xe],_0x5ae1c8=_0x38e465[_0x228354+0xf],_0x119675=_0x5d6708[0x0],_0x1e849a=_0x5d6708[0x1],_0x4410cc=_0x5d6708[0x2],_0xcc460d=_0x5d6708[0x3];_0x119675=_0x480238(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x3f9fb3,0x7,_0x36d6f1[0x0]),_0xcc460d=_0x480238(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0xc65ca7,0xc,_0x36d6f1[0x1]),_0x4410cc=_0x480238(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x5293ec,0x11,_0x36d6f1[0x2]),_0x1e849a=_0x480238(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x1b14ea,0x16,_0x36d6f1[0x3]),_0x119675=_0x480238(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x3d7449,0x7,_0x36d6f1[0x4]),_0xcc460d=_0x480238(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x3f3847,0xc,_0x36d6f1[0x5]),_0x4410cc=_0x480238(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x4da3c9,0x11,_0x36d6f1[0x6]),_0x1e849a=_0x480238(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x4c3228,0x16,_0x36d6f1[0x7]),_0x119675=_0x480238(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x273f05,0x7,_0x36d6f1[0x8]),_0xcc460d=_0x480238(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x5a22d9,0xc,_0x36d6f1[0x9]),_0x4410cc=_0x480238(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x2dcf69,0x11,_0x36d6f1[0xa]),_0x1e849a=_0x480238(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x12e470,0x16,_0x36d6f1[0xb]),_0x119675=_0x480238(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x41233d,0x7,_0x36d6f1[0xc]),_0xcc460d=_0x480238(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x3c6c07,0xc,_0x36d6f1[0xd]),_0x4410cc=_0x480238(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x32102b,0x11,_0x36d6f1[0xe]),_0x1e849a=_0x480238(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x5ae1c8,0x16,_0x36d6f1[0xf]),_0x119675=_0x26e435(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0xc65ca7,0x5,_0x36d6f1[0x10]),_0xcc460d=_0x26e435(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x4da3c9,0x9,_0x36d6f1[0x11]),_0x4410cc=_0x26e435(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x12e470,0xe,_0x36d6f1[0x12]),_0x1e849a=_0x26e435(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x3f9fb3,0x14,_0x36d6f1[0x13]),_0x119675=_0x26e435(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x3f3847,0x5,_0x36d6f1[0x14]),_0xcc460d=_0x26e435(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x2dcf69,0x9,_0x36d6f1[0x15]),_0x4410cc=_0x26e435(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x5ae1c8,0xe,_0x36d6f1[0x16]),_0x1e849a=_0x26e435(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x3d7449,0x14,_0x36d6f1[0x17]),_0x119675=_0x26e435(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x5a22d9,0x5,_0x36d6f1[0x18]),_0xcc460d=_0x26e435(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x32102b,0x9,_0x36d6f1[0x19]),_0x4410cc=_0x26e435(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x1b14ea,0xe,_0x36d6f1[0x1a]),_0x1e849a=_0x26e435(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x273f05,0x14,_0x36d6f1[0x1b]),_0x119675=_0x26e435(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x3c6c07,0x5,_0x36d6f1[0x1c]),_0xcc460d=_0x26e435(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x5293ec,0x9,_0x36d6f1[0x1d]),_0x4410cc=_0x26e435(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x4c3228,0xe,_0x36d6f1[0x1e]),_0x1e849a=_0x26e435(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x41233d,0x14,_0x36d6f1[0x1f]),_0x119675=_0x49154f(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x3f3847,0x4,_0x36d6f1[0x20]),_0xcc460d=_0x49154f(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x273f05,0xb,_0x36d6f1[0x21]),_0x4410cc=_0x49154f(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x12e470,0x10,_0x36d6f1[0x22]),_0x1e849a=_0x49154f(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x32102b,0x17,_0x36d6f1[0x23]),_0x119675=_0x49154f(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0xc65ca7,0x4,_0x36d6f1[0x24]),_0xcc460d=_0x49154f(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x3d7449,0xb,_0x36d6f1[0x25]),_0x4410cc=_0x49154f(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x4c3228,0x10,_0x36d6f1[0x26]),_0x1e849a=_0x49154f(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x2dcf69,0x17,_0x36d6f1[0x27]),_0x119675=_0x49154f(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x3c6c07,0x4,_0x36d6f1[0x28]),_0xcc460d=_0x49154f(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x3f9fb3,0xb,_0x36d6f1[0x29]),_0x4410cc=_0x49154f(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x1b14ea,0x10,_0x36d6f1[0x2a]),_0x1e849a=_0x49154f(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x4da3c9,0x17,_0x36d6f1[0x2b]),_0x119675=_0x49154f(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x5a22d9,0x4,_0x36d6f1[0x2c]),_0xcc460d=_0x49154f(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x41233d,0xb,_0x36d6f1[0x2d]),_0x4410cc=_0x49154f(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x5ae1c8,0x10,_0x36d6f1[0x2e]),_0x1e849a=_0x49154f(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x5293ec,0x17,_0x36d6f1[0x2f]),_0x119675=_0x3753c3(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x3f9fb3,0x6,_0x36d6f1[0x30]),_0xcc460d=_0x3753c3(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x4c3228,0xa,_0x36d6f1[0x31]),_0x4410cc=_0x3753c3(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x32102b,0xf,_0x36d6f1[0x32]),_0x1e849a=_0x3753c3(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x3f3847,0x15,_0x36d6f1[0x33]),_0x119675=_0x3753c3(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x41233d,0x6,_0x36d6f1[0x34]),_0xcc460d=_0x3753c3(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x1b14ea,0xa,_0x36d6f1[0x35]),_0x4410cc=_0x3753c3(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x2dcf69,0xf,_0x36d6f1[0x36]),_0x1e849a=_0x3753c3(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0xc65ca7,0x15,_0x36d6f1[0x37]),_0x119675=_0x3753c3(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x273f05,0x6,_0x36d6f1[0x38]),_0xcc460d=_0x3753c3(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x5ae1c8,0xa,_0x36d6f1[0x39]),_0x4410cc=_0x3753c3(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x4da3c9,0xf,_0x36d6f1[0x3a]),_0x1e849a=_0x3753c3(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x3c6c07,0x15,_0x36d6f1[0x3b]),_0x119675=_0x3753c3(_0x119675,_0x1e849a,_0x4410cc,_0xcc460d,_0x3d7449,0x6,_0x36d6f1[0x3c]),_0xcc460d=_0x3753c3(_0xcc460d,_0x119675,_0x1e849a,_0x4410cc,_0x12e470,0xa,_0x36d6f1[0x3d]),_0x4410cc=_0x3753c3(_0x4410cc,_0xcc460d,_0x119675,_0x1e849a,_0x5293ec,0xf,_0x36d6f1[0x3e]),_0x1e849a=_0x3753c3(_0x1e849a,_0x4410cc,_0xcc460d,_0x119675,_0x5a22d9,0x15,_0x36d6f1[0x3f]),_0x5d6708[0x0]=_0x5d6708[0x0]+_0x119675|0x0,_0x5d6708[0x1]=_0x5d6708[0x1]+_0x1e849a|0x0,_0x5d6708[0x2]=_0x5d6708[0x2]+_0x4410cc|0x0,_0x5d6708[0x3]=_0x5d6708[0x3]+_0xcc460d|0x0;},'_doFinalize':function(){var _0x56d547=_0x4f1bb8,_0x552916=this[_0x56d547(0xeb)],_0x36fb9e=_0x552916[_0x56d547(0x38c)],_0x4987f6=this[_0x56d547(0x2c4)]*0x8,_0x1e95e3=_0x552916[_0x56d547(0x400)]*0x8;_0x36fb9e[_0x1e95e3>>>0x5]|=0x80<<0x18-_0x1e95e3%0x20;var _0x315e37=_0x1680eb[_0x56d547(0x26d)](_0x4987f6/0x100000000),_0x5dc4e9=_0x4987f6;_0x36fb9e[(_0x1e95e3+0x40>>>0x9<<0x4)+0xf]=(_0x315e37<<0x8|_0x315e37>>>0x18)&0xff00ff|(_0x315e37<<0x18|_0x315e37>>>0x8)&0xff00ff00,_0x36fb9e[(_0x1e95e3+0x40>>>0x9<<0x4)+0xe]=(_0x5dc4e9<<0x8|_0x5dc4e9>>>0x18)&0xff00ff|(_0x5dc4e9<<0x18|_0x5dc4e9>>>0x8)&0xff00ff00,_0x552916[_0x56d547(0x400)]=(_0x36fb9e[_0x56d547(0x295)]+0x1)*0x4,this[_0x56d547(0x3c5)]();for(var _0x41acdc=this[_0x56d547(0x334)],_0x1f438c=_0x41acdc['words'],_0x34fa53=0x0;_0x34fa53<0x4;_0x34fa53++){var _0x100095=_0x1f438c[_0x34fa53];_0x1f438c[_0x34fa53]=(_0x100095<<0x8|_0x100095>>>0x18)&0xff00ff|(_0x100095<<0x18|_0x100095>>>0x8)&0xff00ff00;}return _0x41acdc;},'clone':function(){var _0x1a3747=_0x4f1bb8,_0x5bee9b=_0x279e46['clone'][_0x1a3747(0x18e)](this);return _0x5bee9b[_0x1a3747(0x334)]=this[_0x1a3747(0x334)][_0x1a3747(0x19b)](),_0x5bee9b;}});function _0x480238(_0x4eda82,_0x4983d0,_0xb25e3f,_0x273ce0,_0x44fad9,_0x563117,_0x4963f2){var _0x372b40=_0x4eda82+(_0x4983d0&_0xb25e3f|~_0x4983d0&_0x273ce0)+_0x44fad9+_0x4963f2;return(_0x372b40<<_0x563117|_0x372b40>>>0x20-_0x563117)+_0x4983d0;}function _0x26e435(_0x42db84,_0x2cb3d8,_0x53d666,_0x132f0d,_0x4cc635,_0x37a458,_0x4e0317){var _0x4a9180=_0x42db84+(_0x2cb3d8&_0x132f0d|_0x53d666&~_0x132f0d)+_0x4cc635+_0x4e0317;return(_0x4a9180<<_0x37a458|_0x4a9180>>>0x20-_0x37a458)+_0x2cb3d8;}function _0x49154f(_0xd8849e,_0x584170,_0x3a639e,_0x51a425,_0x43633c,_0x26ad4d,_0x2b4354){var _0x2aa3b3=_0xd8849e+(_0x584170^_0x3a639e^_0x51a425)+_0x43633c+_0x2b4354;return(_0x2aa3b3<<_0x26ad4d|_0x2aa3b3>>>0x20-_0x26ad4d)+_0x584170;}function _0x3753c3(_0x69a72f,_0x20d6c,_0x24a276,_0x7ae368,_0x2829a5,_0x43dda5,_0xc87716){var _0x2aa1ac=_0x69a72f+(_0x24a276^(_0x20d6c|~_0x7ae368))+_0x2829a5+_0xc87716;return(_0x2aa1ac<<_0x43dda5|_0x2aa1ac>>>0x20-_0x43dda5)+_0x20d6c;}_0x28406f[_0x4f1bb8(0x304)]=_0x279e46[_0x4f1bb8(0x279)](_0x2d303d),_0x28406f[_0x4f1bb8(0x268)]=_0x279e46[_0x4f1bb8(0xfb)](_0x2d303d);}(Math),_0x257bbb[_0x3ed4a2(0x304)];}));}(_0xe9eaa8)),_0xe9eaa8[_0x33f2e3(0x187)];}var _0x5dc826={'exports':{}},_0x4f4a73={'exports':{}},_0x4a3c83=_0x4f4a73[_0x139332(0x187)],_0x7e08f5;function _0x16e119(){var _0x3d93ef=_0x139332;return _0x7e08f5||(_0x7e08f5=0x1,function(_0x66b539,_0x2a8bea){(function(_0x8f4b4d,_0x4cbf7f){var _0x28d8ad=_0x1b12;_0x66b539[_0x28d8ad(0x187)]=_0x4cbf7f(_0x2751f5());}(_0x4a3c83,function(_0x5ef38a){return(function(){var _0x57b7b4=_0x1b12,_0x303e44=_0x5ef38a,_0x1d8632=_0x303e44['lib'],_0x38310c=_0x1d8632['WordArray'],_0x5a00fc=_0x1d8632[_0x57b7b4(0x16d)],_0x5babd6=_0x303e44[_0x57b7b4(0x260)],_0x18df98=[],_0x484dad=_0x5babd6['SHA1']=_0x5a00fc['extend']({'_doReset':function(){var _0x1edfb9=_0x57b7b4;this[_0x1edfb9(0x334)]=new _0x38310c[(_0x1edfb9(0x15c))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x54c6f1,_0x49231c){var _0x4ddb66=_0x57b7b4;for(var _0x2d39be=this[_0x4ddb66(0x334)][_0x4ddb66(0x38c)],_0x45625e=_0x2d39be[0x0],_0xb6a66=_0x2d39be[0x1],_0x4bb5f0=_0x2d39be[0x2],_0x23ae96=_0x2d39be[0x3],_0x3b8ac3=_0x2d39be[0x4],_0x44ac91=0x0;_0x44ac91<0x50;_0x44ac91++){if(_0x44ac91<0x10)_0x18df98[_0x44ac91]=_0x54c6f1[_0x49231c+_0x44ac91]|0x0;else{var _0x3e3216=_0x18df98[_0x44ac91-0x3]^_0x18df98[_0x44ac91-0x8]^_0x18df98[_0x44ac91-0xe]^_0x18df98[_0x44ac91-0x10];_0x18df98[_0x44ac91]=_0x3e3216<<0x1|_0x3e3216>>>0x1f;}var _0x52c4b8=(_0x45625e<<0x5|_0x45625e>>>0x1b)+_0x3b8ac3+_0x18df98[_0x44ac91];_0x44ac91<0x14?_0x52c4b8+=(_0xb6a66&_0x4bb5f0|~_0xb6a66&_0x23ae96)+0x5a827999:_0x44ac91<0x28?_0x52c4b8+=(_0xb6a66^_0x4bb5f0^_0x23ae96)+0x6ed9eba1:_0x44ac91<0x3c?_0x52c4b8+=(_0xb6a66&_0x4bb5f0|_0xb6a66&_0x23ae96|_0x4bb5f0&_0x23ae96)-0x70e44324:_0x52c4b8+=(_0xb6a66^_0x4bb5f0^_0x23ae96)-0x359d3e2a,_0x3b8ac3=_0x23ae96,_0x23ae96=_0x4bb5f0,_0x4bb5f0=_0xb6a66<<0x1e|_0xb6a66>>>0x2,_0xb6a66=_0x45625e,_0x45625e=_0x52c4b8;}_0x2d39be[0x0]=_0x2d39be[0x0]+_0x45625e|0x0,_0x2d39be[0x1]=_0x2d39be[0x1]+_0xb6a66|0x0,_0x2d39be[0x2]=_0x2d39be[0x2]+_0x4bb5f0|0x0,_0x2d39be[0x3]=_0x2d39be[0x3]+_0x23ae96|0x0,_0x2d39be[0x4]=_0x2d39be[0x4]+_0x3b8ac3|0x0;},'_doFinalize':function(){var _0x35848d=_0x57b7b4,_0x33842b=this[_0x35848d(0xeb)],_0x391a5f=_0x33842b[_0x35848d(0x38c)],_0x3d6e2a=this[_0x35848d(0x2c4)]*0x8,_0x117412=_0x33842b[_0x35848d(0x400)]*0x8;return _0x391a5f[_0x117412>>>0x5]|=0x80<<0x18-_0x117412%0x20,_0x391a5f[(_0x117412+0x40>>>0x9<<0x4)+0xe]=Math[_0x35848d(0x26d)](_0x3d6e2a/0x100000000),_0x391a5f[(_0x117412+0x40>>>0x9<<0x4)+0xf]=_0x3d6e2a,_0x33842b[_0x35848d(0x400)]=_0x391a5f[_0x35848d(0x295)]*0x4,this[_0x35848d(0x3c5)](),this[_0x35848d(0x334)];},'clone':function(){var _0x11fd1b=_0x57b7b4,_0x599ac9=_0x5a00fc[_0x11fd1b(0x19b)][_0x11fd1b(0x18e)](this);return _0x599ac9[_0x11fd1b(0x334)]=this[_0x11fd1b(0x334)]['clone'](),_0x599ac9;}});_0x303e44[_0x57b7b4(0x34c)]=_0x5a00fc[_0x57b7b4(0x279)](_0x484dad),_0x303e44[_0x57b7b4(0x335)]=_0x5a00fc[_0x57b7b4(0xfb)](_0x484dad);}()),_0x5ef38a['SHA1'];}));}(_0x4f4a73)),_0x4f4a73[_0x3d93ef(0x187)];}var _0x30ac61={'exports':{}},_0x5e4a40=_0x30ac61[_0x139332(0x187)],_0x448798;function _0xa42cb8(){var _0x412ae8=_0x139332;return _0x448798||(_0x448798=0x1,function(_0x41bb8e,_0x271f01){(function(_0x41a552,_0x39c500){var _0x456965=_0x1b12;_0x41bb8e[_0x456965(0x187)]=_0x39c500(_0x2751f5());}(_0x5e4a40,function(_0xa76237){(function(){var _0x3ec872=_0x1b12,_0x5e3e1a=_0xa76237,_0x478633=_0x5e3e1a[_0x3ec872(0x21f)],_0x33d955=_0x478633[_0x3ec872(0xfe)],_0x30ad7c=_0x5e3e1a[_0x3ec872(0x153)],_0x4a8571=_0x30ad7c[_0x3ec872(0x1aa)],_0x3834a4=_0x5e3e1a[_0x3ec872(0x260)];_0x3834a4['HMAC']=_0x33d955[_0x3ec872(0x346)]({'init':function(_0x1230d2,_0x5c8d6d){var _0x3aed55=_0x3ec872;_0x1230d2=this[_0x3aed55(0xc5)]=new _0x1230d2[(_0x3aed55(0x15c))](),typeof _0x5c8d6d==_0x3aed55(0x3cb)&&(_0x5c8d6d=_0x4a8571[_0x3aed55(0x132)](_0x5c8d6d));var _0x48955d=_0x1230d2[_0x3aed55(0x1c9)],_0x4d35a4=_0x48955d*0x4;_0x5c8d6d[_0x3aed55(0x400)]>_0x4d35a4&&(_0x5c8d6d=_0x1230d2[_0x3aed55(0x1a9)](_0x5c8d6d)),_0x5c8d6d[_0x3aed55(0x29d)]();for(var _0x12f4ee=this[_0x3aed55(0xa7)]=_0x5c8d6d[_0x3aed55(0x19b)](),_0x2b2034=this[_0x3aed55(0xc4)]=_0x5c8d6d[_0x3aed55(0x19b)](),_0x356228=_0x12f4ee['words'],_0x1be6d3=_0x2b2034[_0x3aed55(0x38c)],_0x1d9ca4=0x0;_0x1d9ca4<_0x48955d;_0x1d9ca4++)_0x356228[_0x1d9ca4]^=0x5c5c5c5c,_0x1be6d3[_0x1d9ca4]^=0x36363636;_0x12f4ee['sigBytes']=_0x2b2034[_0x3aed55(0x400)]=_0x4d35a4,this[_0x3aed55(0x378)]();},'reset':function(){var _0x45676e=_0x3ec872,_0x5a8716=this[_0x45676e(0xc5)];_0x5a8716[_0x45676e(0x378)](),_0x5a8716[_0x45676e(0xe6)](this[_0x45676e(0xc4)]);},'update':function(_0x370cf4){var _0x4e3bda=_0x3ec872;return this['_hasher'][_0x4e3bda(0xe6)](_0x370cf4),this;},'finalize':function(_0x4e8591){var _0x937d62=_0x3ec872,_0xb22086=this[_0x937d62(0xc5)],_0x4aa9ef=_0xb22086[_0x937d62(0x1a9)](_0x4e8591);_0xb22086['reset']();var _0x44b5db=_0xb22086[_0x937d62(0x1a9)](this[_0x937d62(0xa7)]['clone']()[_0x937d62(0xac)](_0x4aa9ef));return _0x44b5db;}});}());}));}(_0x30ac61)),_0x30ac61[_0x412ae8(0x187)];}var _0x5923ef=_0x5dc826[_0x139332(0x187)],_0x2c0af5;function _0x5cf61e(){var _0x48031e=_0x139332;return _0x2c0af5||(_0x2c0af5=0x1,function(_0x4a9246,_0x1f55d9){(function(_0x3d21da,_0x293846,_0x1155a1){var _0x2fb08e=_0x1b12;_0x4a9246[_0x2fb08e(0x187)]=_0x293846(_0x2751f5(),_0x16e119(),_0xa42cb8());}(_0x5923ef,function(_0x5c7b15){var _0x405549=_0x1b12;return(function(){var _0x8bb814=_0x1b12,_0x246157=_0x5c7b15,_0x341def=_0x246157[_0x8bb814(0x21f)],_0x428ca5=_0x341def[_0x8bb814(0xfe)],_0x32413b=_0x341def['WordArray'],_0x1879be=_0x246157['algo'],_0x58f74c=_0x1879be[_0x8bb814(0x304)],_0x359036=_0x1879be['EvpKDF']=_0x428ca5['extend']({'cfg':_0x428ca5[_0x8bb814(0x346)]({'keySize':0x80/0x20,'hasher':_0x58f74c,'iterations':0x1}),'init':function(_0x2cff0e){var _0x45279e=_0x8bb814;this['cfg']=this[_0x45279e(0x24a)][_0x45279e(0x346)](_0x2cff0e);},'compute':function(_0x594ad6,_0x36fe02){var _0x36af22=_0x8bb814;for(var _0x884a58,_0x4534f8=this['cfg'],_0x482ec6=_0x4534f8[_0x36af22(0x100)][_0x36af22(0x185)](),_0x50664d=_0x32413b[_0x36af22(0x185)](),_0x2a6a1f=_0x50664d[_0x36af22(0x38c)],_0x2e6d2a=_0x4534f8['keySize'],_0x1a6e38=_0x4534f8[_0x36af22(0x250)];_0x2a6a1f[_0x36af22(0x295)]<_0x2e6d2a;){_0x884a58&&_0x482ec6[_0x36af22(0xe6)](_0x884a58),_0x884a58=_0x482ec6[_0x36af22(0xe6)](_0x594ad6)['finalize'](_0x36fe02),_0x482ec6[_0x36af22(0x378)]();for(var _0x440502=0x1;_0x440502<_0x1a6e38;_0x440502++)_0x884a58=_0x482ec6[_0x36af22(0x1a9)](_0x884a58),_0x482ec6[_0x36af22(0x378)]();_0x50664d[_0x36af22(0xac)](_0x884a58);}return _0x50664d[_0x36af22(0x400)]=_0x2e6d2a*0x4,_0x50664d;}});_0x246157[_0x8bb814(0x1db)]=function(_0xb4a7cd,_0x21ae92,_0x6b30f0){var _0x4a620f=_0x8bb814;return _0x359036[_0x4a620f(0x185)](_0x6b30f0)[_0x4a620f(0x310)](_0xb4a7cd,_0x21ae92);};}()),_0x5c7b15[_0x405549(0x1db)];}));}(_0x5dc826)),_0x5dc826[_0x48031e(0x187)];}var _0x1fa773={'exports':{}},_0x56b7bd=_0x1fa773[_0x139332(0x187)],_0x58ab35;function _0x2425c8(){var _0x499894=_0x139332;return _0x58ab35||(_0x58ab35=0x1,function(_0x53656c,_0x36a6cb){(function(_0x2b8815,_0x1167f2,_0x50213f){var _0x4dcea0=_0x1b12;_0x53656c[_0x4dcea0(0x187)]=_0x1167f2(_0x2751f5(),_0x5cf61e());}(_0x56b7bd,function(_0xa40049){var _0x2436e6=_0x1b12;_0xa40049[_0x2436e6(0x21f)][_0x2436e6(0x354)]||function(_0x365118){var _0x5e73f2=_0x2436e6,_0x405e08=_0xa40049,_0x27aa7f=_0x405e08['lib'],_0x4dcf7f=_0x27aa7f[_0x5e73f2(0xfe)],_0x127534=_0x27aa7f[_0x5e73f2(0x375)],_0x336b44=_0x27aa7f['BufferedBlockAlgorithm'],_0x1c670f=_0x405e08[_0x5e73f2(0x153)];_0x1c670f[_0x5e73f2(0x1aa)];var _0x558e2e=_0x1c670f['Base64'],_0x48b978=_0x405e08[_0x5e73f2(0x260)],_0x3a06bd=_0x48b978[_0x5e73f2(0x1db)],_0x529822=_0x27aa7f['Cipher']=_0x336b44[_0x5e73f2(0x346)]({'cfg':_0x4dcf7f[_0x5e73f2(0x346)](),'createEncryptor':function(_0x5333c9,_0x6ca63e){var _0x18e816=_0x5e73f2;return this[_0x18e816(0x185)](this[_0x18e816(0x141)],_0x5333c9,_0x6ca63e);},'createDecryptor':function(_0x40cc50,_0x210655){var _0x1746d5=_0x5e73f2;return this[_0x1746d5(0x185)](this[_0x1746d5(0x333)],_0x40cc50,_0x210655);},'init':function(_0x3b74f4,_0x4efd83,_0x1adc03){var _0x53edb3=_0x5e73f2;this['cfg']=this[_0x53edb3(0x24a)][_0x53edb3(0x346)](_0x1adc03),this[_0x53edb3(0xf7)]=_0x3b74f4,this['_key']=_0x4efd83,this['reset']();},'reset':function(){var _0x155da9=_0x5e73f2;_0x336b44[_0x155da9(0x378)][_0x155da9(0x18e)](this),this['_doReset']();},'process':function(_0x210338){var _0x552fb4=_0x5e73f2;return this[_0x552fb4(0x2a3)](_0x210338),this[_0x552fb4(0x3c5)]();},'finalize':function(_0x339604){var _0x15fd3f=_0x5e73f2;_0x339604&&this[_0x15fd3f(0x2a3)](_0x339604);var _0x1cc67f=this[_0x15fd3f(0x176)]();return _0x1cc67f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x38ab67(_0x23f653){var _0x3e0974=_0x1b12;return typeof _0x23f653==_0x3e0974(0x3cb)?_0x4398b6:_0x976107;}return function(_0x5ad5e9){return{'encrypt':function(_0x2bbf45,_0x502d61,_0x4e713c){var _0xce6e6b=_0x1b12;return _0x38ab67(_0x502d61)[_0xce6e6b(0x2c1)](_0x5ad5e9,_0x2bbf45,_0x502d61,_0x4e713c);},'decrypt':function(_0x486fbc,_0x5924cb,_0x1852a6){var _0x14107a=_0x1b12;return _0x38ab67(_0x5924cb)[_0x14107a(0x41d)](_0x5ad5e9,_0x486fbc,_0x5924cb,_0x1852a6);}};};}())});_0x27aa7f[_0x5e73f2(0x3df)]=_0x529822[_0x5e73f2(0x346)]({'_doFinalize':function(){var _0x185cad=_0x5e73f2,_0x170c51=this[_0x185cad(0x3c5)](!0x0);return _0x170c51;},'blockSize':0x1});var _0x25e6e8=_0x405e08[_0x5e73f2(0x29a)]={},_0xe76c56=_0x27aa7f['BlockCipherMode']=_0x4dcf7f['extend']({'createEncryptor':function(_0x113cee,_0x45eeab){var _0x36712e=_0x5e73f2;return this[_0x36712e(0x306)][_0x36712e(0x185)](_0x113cee,_0x45eeab);},'createDecryptor':function(_0x4c10d8,_0x4fc281){var _0x270766=_0x5e73f2;return this[_0x270766(0x1e2)][_0x270766(0x185)](_0x4c10d8,_0x4fc281);},'init':function(_0x52a851,_0xf92cfb){var _0x135c8f=_0x5e73f2;this[_0x135c8f(0x303)]=_0x52a851,this[_0x135c8f(0x239)]=_0xf92cfb;}}),_0x582d5f=_0x25e6e8[_0x5e73f2(0x1c1)]=(function(){var _0x732b7f=_0x5e73f2,_0x1c465d=_0xe76c56[_0x732b7f(0x346)]();_0x1c465d[_0x732b7f(0x306)]=_0x1c465d[_0x732b7f(0x346)]({'processBlock':function(_0x4f77bc,_0x10b374){var _0x587a67=_0x732b7f,_0x48e646=this['_cipher'],_0x2db8d1=_0x48e646[_0x587a67(0x1c9)];_0x3d0a9d[_0x587a67(0x18e)](this,_0x4f77bc,_0x10b374,_0x2db8d1),_0x48e646[_0x587a67(0x363)](_0x4f77bc,_0x10b374),this[_0x587a67(0x157)]=_0x4f77bc[_0x587a67(0x203)](_0x10b374,_0x10b374+_0x2db8d1);}}),_0x1c465d[_0x732b7f(0x1e2)]=_0x1c465d['extend']({'processBlock':function(_0x1a1b9d,_0x55a5db){var _0x436552=_0x732b7f,_0x2529ac=this[_0x436552(0x303)],_0x50a02c=_0x2529ac[_0x436552(0x1c9)],_0x5040b1=_0x1a1b9d[_0x436552(0x203)](_0x55a5db,_0x55a5db+_0x50a02c);_0x2529ac[_0x436552(0x376)](_0x1a1b9d,_0x55a5db),_0x3d0a9d['call'](this,_0x1a1b9d,_0x55a5db,_0x50a02c),this[_0x436552(0x157)]=_0x5040b1;}});function _0x3d0a9d(_0x9d1cb2,_0x20e248,_0x3b287d){var _0x2e68c9=_0x732b7f,_0x8758b5,_0x199b68=this['_iv'];_0x199b68?(_0x8758b5=_0x199b68,this[_0x2e68c9(0x239)]=_0x365118):_0x8758b5=this['_prevBlock'];for(var _0x4d9120=0x0;_0x4d9120<_0x3b287d;_0x4d9120++)_0x9d1cb2[_0x20e248+_0x4d9120]^=_0x8758b5[_0x4d9120];}return _0x1c465d;}()),_0x21df37=_0x405e08['pad']={},_0x462053=_0x21df37[_0x5e73f2(0x1dc)]={'pad':function(_0x7e5a19,_0x2ce452){var _0x4899be=_0x5e73f2;for(var _0x435d81=_0x2ce452*0x4,_0x53d8c=_0x435d81-_0x7e5a19[_0x4899be(0x400)]%_0x435d81,_0x2de911=_0x53d8c<<0x18|_0x53d8c<<0x10|_0x53d8c<<0x8|_0x53d8c,_0x59276f=[],_0x3e0171=0x0;_0x3e0171<_0x53d8c;_0x3e0171+=0x4)_0x59276f[_0x4899be(0x34b)](_0x2de911);var _0x2de1c3=_0x127534['create'](_0x59276f,_0x53d8c);_0x7e5a19[_0x4899be(0xac)](_0x2de1c3);},'unpad':function(_0x421fb6){var _0x491587=_0x5e73f2,_0x4174cb=_0x421fb6[_0x491587(0x38c)][_0x421fb6[_0x491587(0x400)]-0x1>>>0x2]&0xff;_0x421fb6[_0x491587(0x400)]-=_0x4174cb;}};_0x27aa7f[_0x5e73f2(0x408)]=_0x529822[_0x5e73f2(0x346)]({'cfg':_0x529822[_0x5e73f2(0x24a)][_0x5e73f2(0x346)]({'mode':_0x582d5f,'padding':_0x462053}),'reset':function(){var _0x2cc23c=_0x5e73f2,_0x22cb8b;_0x529822[_0x2cc23c(0x378)][_0x2cc23c(0x18e)](this);var _0x229a20=this[_0x2cc23c(0x24a)],_0x3ea348=_0x229a20['iv'],_0x2aa9e8=_0x229a20[_0x2cc23c(0x29a)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x22cb8b=_0x2aa9e8[_0x2cc23c(0x329)]:(_0x22cb8b=_0x2aa9e8[_0x2cc23c(0x2d0)],this[_0x2cc23c(0xe0)]=0x1),this[_0x2cc23c(0x1ce)]&&this[_0x2cc23c(0x1ce)][_0x2cc23c(0x3a4)]==_0x22cb8b?this[_0x2cc23c(0x1ce)][_0x2cc23c(0x15c)](this,_0x3ea348&&_0x3ea348[_0x2cc23c(0x38c)]):(this[_0x2cc23c(0x1ce)]=_0x22cb8b[_0x2cc23c(0x18e)](_0x2aa9e8,this,_0x3ea348&&_0x3ea348[_0x2cc23c(0x38c)]),this[_0x2cc23c(0x1ce)][_0x2cc23c(0x3a4)]=_0x22cb8b);},'_doProcessBlock':function(_0x294ec2,_0x2336a3){var _0x31e819=_0x5e73f2;this[_0x31e819(0x1ce)][_0x31e819(0x158)](_0x294ec2,_0x2336a3);},'_doFinalize':function(){var _0x4549b2=_0x5e73f2,_0x11f77f,_0x3a3404=this[_0x4549b2(0x24a)]['padding'];return this[_0x4549b2(0xf7)]==this['_ENC_XFORM_MODE']?(_0x3a3404[_0x4549b2(0x2a2)](this['_data'],this['blockSize']),_0x11f77f=this[_0x4549b2(0x3c5)](!0x0)):(_0x11f77f=this['_process'](!0x0),_0x3a3404['unpad'](_0x11f77f)),_0x11f77f;},'blockSize':0x80/0x20});var _0x4a1841=_0x27aa7f[_0x5e73f2(0x377)]=_0x4dcf7f[_0x5e73f2(0x346)]({'init':function(_0x1ed964){var _0x463731=_0x5e73f2;this[_0x463731(0x3b8)](_0x1ed964);},'toString':function(_0x3fc4aa){var _0x4808a0=_0x5e73f2;return(_0x3fc4aa||this[_0x4808a0(0x1b5)])[_0x4808a0(0x13d)](this);}}),_0x3cebb6=_0x405e08[_0x5e73f2(0x30b)]={},_0xfe04aa=_0x3cebb6[_0x5e73f2(0xd4)]={'stringify':function(_0x5e3ff9){var _0xace2f9=_0x5e73f2,_0x1ed699,_0x328572=_0x5e3ff9[_0xace2f9(0x1b9)],_0x3421bd=_0x5e3ff9[_0xace2f9(0x1ff)];return _0x3421bd?_0x1ed699=_0x127534['create']([0x53616c74,0x65645f5f])[_0xace2f9(0xac)](_0x3421bd)[_0xace2f9(0xac)](_0x328572):_0x1ed699=_0x328572,_0x1ed699[_0xace2f9(0x388)](_0x558e2e);},'parse':function(_0x273cb7){var _0x305fd4=_0x5e73f2,_0x508df7,_0x2291d1=_0x558e2e['parse'](_0x273cb7),_0x51a3e7=_0x2291d1['words'];return _0x51a3e7[0x0]==0x53616c74&&_0x51a3e7[0x1]==0x65645f5f&&(_0x508df7=_0x127534[_0x305fd4(0x185)](_0x51a3e7[_0x305fd4(0x203)](0x2,0x4)),_0x51a3e7[_0x305fd4(0x234)](0x0,0x4),_0x2291d1[_0x305fd4(0x400)]-=0x10),_0x4a1841[_0x305fd4(0x185)]({'ciphertext':_0x2291d1,'salt':_0x508df7});}},_0x976107=_0x27aa7f[_0x5e73f2(0x1f0)]=_0x4dcf7f[_0x5e73f2(0x346)]({'cfg':_0x4dcf7f[_0x5e73f2(0x346)]({'format':_0xfe04aa}),'encrypt':function(_0x5620c3,_0x5232f6,_0x2feabb,_0x4bdb15){var _0x5bb9b7=_0x5e73f2;_0x4bdb15=this[_0x5bb9b7(0x24a)][_0x5bb9b7(0x346)](_0x4bdb15);var _0x2c09bc=_0x5620c3['createEncryptor'](_0x2feabb,_0x4bdb15),_0x297d18=_0x2c09bc[_0x5bb9b7(0x1a9)](_0x5232f6),_0x22c9ee=_0x2c09bc[_0x5bb9b7(0x24a)];return _0x4a1841[_0x5bb9b7(0x185)]({'ciphertext':_0x297d18,'key':_0x2feabb,'iv':_0x22c9ee['iv'],'algorithm':_0x5620c3,'mode':_0x22c9ee[_0x5bb9b7(0x29a)],'padding':_0x22c9ee[_0x5bb9b7(0x202)],'blockSize':_0x5620c3[_0x5bb9b7(0x1c9)],'formatter':_0x4bdb15[_0x5bb9b7(0x30b)]});},'decrypt':function(_0x9549f2,_0x107541,_0x1418c0,_0x5093b3){var _0x217677=_0x5e73f2;_0x5093b3=this[_0x217677(0x24a)][_0x217677(0x346)](_0x5093b3),_0x107541=this[_0x217677(0x273)](_0x107541,_0x5093b3[_0x217677(0x30b)]);var _0x246325=_0x9549f2['createDecryptor'](_0x1418c0,_0x5093b3)[_0x217677(0x1a9)](_0x107541[_0x217677(0x1b9)]);return _0x246325;},'_parse':function(_0x5bbafa,_0x3a2b5d){var _0x234f45=_0x5e73f2;return typeof _0x5bbafa=='string'?_0x3a2b5d[_0x234f45(0x132)](_0x5bbafa,this):_0x5bbafa;}}),_0x124c4e=_0x405e08[_0x5e73f2(0x1f8)]={},_0x4973ee=_0x124c4e[_0x5e73f2(0xd4)]={'execute':function(_0x383fe0,_0xe8679f,_0x2d0ba2,_0x4439b3,_0x1bec1c){var _0x1b067f=_0x5e73f2;if(_0x4439b3||(_0x4439b3=_0x127534[_0x1b067f(0x1ee)](0x40/0x8)),_0x1bec1c)var _0x2f2910=_0x3a06bd[_0x1b067f(0x185)]({'keySize':_0xe8679f+_0x2d0ba2,'hasher':_0x1bec1c})[_0x1b067f(0x310)](_0x383fe0,_0x4439b3);else var _0x2f2910=_0x3a06bd[_0x1b067f(0x185)]({'keySize':_0xe8679f+_0x2d0ba2})[_0x1b067f(0x310)](_0x383fe0,_0x4439b3);var _0x17690a=_0x127534[_0x1b067f(0x185)](_0x2f2910[_0x1b067f(0x38c)][_0x1b067f(0x203)](_0xe8679f),_0x2d0ba2*0x4);return _0x2f2910['sigBytes']=_0xe8679f*0x4,_0x4a1841[_0x1b067f(0x185)]({'key':_0x2f2910,'iv':_0x17690a,'salt':_0x4439b3});}},_0x4398b6=_0x27aa7f['PasswordBasedCipher']=_0x976107[_0x5e73f2(0x346)]({'cfg':_0x976107[_0x5e73f2(0x24a)]['extend']({'kdf':_0x4973ee}),'encrypt':function(_0x3e1852,_0x5a0bd2,_0x519e19,_0x3f2b56){var _0x2b3f52=_0x5e73f2;_0x3f2b56=this[_0x2b3f52(0x24a)]['extend'](_0x3f2b56);var _0xbc3a83=_0x3f2b56[_0x2b3f52(0x1f8)]['execute'](_0x519e19,_0x3e1852['keySize'],_0x3e1852[_0x2b3f52(0x2d5)],_0x3f2b56[_0x2b3f52(0x1ff)],_0x3f2b56[_0x2b3f52(0x100)]);_0x3f2b56['iv']=_0xbc3a83['iv'];var _0xc3ec80=_0x976107[_0x2b3f52(0x2c1)][_0x2b3f52(0x18e)](this,_0x3e1852,_0x5a0bd2,_0xbc3a83[_0x2b3f52(0x3d6)],_0x3f2b56);return _0xc3ec80[_0x2b3f52(0x3b8)](_0xbc3a83),_0xc3ec80;},'decrypt':function(_0xc8c73e,_0x2ebd90,_0x448e6c,_0x3d8c52){var _0x3604d0=_0x5e73f2;_0x3d8c52=this[_0x3604d0(0x24a)][_0x3604d0(0x346)](_0x3d8c52),_0x2ebd90=this[_0x3604d0(0x273)](_0x2ebd90,_0x3d8c52['format']);var _0x47f5ef=_0x3d8c52[_0x3604d0(0x1f8)][_0x3604d0(0x266)](_0x448e6c,_0xc8c73e['keySize'],_0xc8c73e[_0x3604d0(0x2d5)],_0x2ebd90['salt'],_0x3d8c52[_0x3604d0(0x100)]);_0x3d8c52['iv']=_0x47f5ef['iv'];var _0x11567a=_0x976107[_0x3604d0(0x41d)][_0x3604d0(0x18e)](this,_0xc8c73e,_0x2ebd90,_0x47f5ef[_0x3604d0(0x3d6)],_0x3d8c52);return _0x11567a;}});}();}));}(_0x1fa773)),_0x1fa773[_0x499894(0x187)];}var _0x447d55=_0x4feaeb['exports'],_0x2a62f5;function _0x5aab5d(){var _0x564145=_0x139332;return _0x2a62f5||(_0x2a62f5=0x1,function(_0x4e737d,_0x454d5a){(function(_0x5dd5dd,_0x44ae0a,_0x276137){_0x4e737d['exports']=_0x44ae0a(_0x2751f5(),_0x2c7803(),_0x2d0fed(),_0x5cf61e(),_0x2425c8());}(_0x447d55,function(_0x272e3a){var _0x549b4a=_0x1b12;return(function(){var _0x4108a8=_0x1b12,_0x5ca9ce=_0x272e3a,_0x344650=_0x5ca9ce[_0x4108a8(0x21f)],_0x37d36b=_0x344650[_0x4108a8(0x408)],_0x5f7285=_0x5ca9ce[_0x4108a8(0x260)],_0x303717=[],_0x480ea1=[],_0xfbc7c1=[],_0x37149e=[],_0x16a502=[],_0x49fb0a=[],_0x50edac=[],_0x1568e7=[],_0x3f18e4=[],_0x4e4105=[];(function(){for(var _0xbbdb20=[],_0x149897=0x0;_0x149897<0x100;_0x149897++)_0x149897<0x80?_0xbbdb20[_0x149897]=_0x149897<<0x1:_0xbbdb20[_0x149897]=_0x149897<<0x1^0x11b;for(var _0x5d8401=0x0,_0x4fb7f1=0x0,_0x149897=0x0;_0x149897<0x100;_0x149897++){var _0xdc0442=_0x4fb7f1^_0x4fb7f1<<0x1^_0x4fb7f1<<0x2^_0x4fb7f1<<0x3^_0x4fb7f1<<0x4;_0xdc0442=_0xdc0442>>>0x8^_0xdc0442&0xff^0x63,_0x303717[_0x5d8401]=_0xdc0442,_0x480ea1[_0xdc0442]=_0x5d8401;var _0x7b9210=_0xbbdb20[_0x5d8401],_0x167641=_0xbbdb20[_0x7b9210],_0x192761=_0xbbdb20[_0x167641],_0x34a02a=_0xbbdb20[_0xdc0442]*0x101^_0xdc0442*0x1010100;_0xfbc7c1[_0x5d8401]=_0x34a02a<<0x18|_0x34a02a>>>0x8,_0x37149e[_0x5d8401]=_0x34a02a<<0x10|_0x34a02a>>>0x10,_0x16a502[_0x5d8401]=_0x34a02a<<0x8|_0x34a02a>>>0x18,_0x49fb0a[_0x5d8401]=_0x34a02a;var _0x34a02a=_0x192761*0x1010101^_0x167641*0x10001^_0x7b9210*0x101^_0x5d8401*0x1010100;_0x50edac[_0xdc0442]=_0x34a02a<<0x18|_0x34a02a>>>0x8,_0x1568e7[_0xdc0442]=_0x34a02a<<0x10|_0x34a02a>>>0x10,_0x3f18e4[_0xdc0442]=_0x34a02a<<0x8|_0x34a02a>>>0x18,_0x4e4105[_0xdc0442]=_0x34a02a,_0x5d8401?(_0x5d8401=_0x7b9210^_0xbbdb20[_0xbbdb20[_0xbbdb20[_0x192761^_0x7b9210]]],_0x4fb7f1^=_0xbbdb20[_0xbbdb20[_0x4fb7f1]]):_0x5d8401=_0x4fb7f1=0x1;}}());var _0x174f2f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x95423b=_0x5f7285[_0x4108a8(0x14e)]=_0x37d36b[_0x4108a8(0x346)]({'_doReset':function(){var _0x5491ff=_0x4108a8,_0x2d705f;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x5491ff(0x15b)])){for(var _0x4048b9=this['_keyPriorReset']=this[_0x5491ff(0x15b)],_0x33add5=_0x4048b9['words'],_0x2bedbe=_0x4048b9[_0x5491ff(0x400)]/0x4,_0x2ced2d=this[_0x5491ff(0x106)]=_0x2bedbe+0x6,_0x207930=(_0x2ced2d+0x1)*0x4,_0x3e8fba=this[_0x5491ff(0x1f3)]=[],_0x3e31e3=0x0;_0x3e31e3<_0x207930;_0x3e31e3++)_0x3e31e3<_0x2bedbe?_0x3e8fba[_0x3e31e3]=_0x33add5[_0x3e31e3]:(_0x2d705f=_0x3e8fba[_0x3e31e3-0x1],_0x3e31e3%_0x2bedbe?_0x2bedbe>0x6&&_0x3e31e3%_0x2bedbe==0x4&&(_0x2d705f=_0x303717[_0x2d705f>>>0x18]<<0x18|_0x303717[_0x2d705f>>>0x10&0xff]<<0x10|_0x303717[_0x2d705f>>>0x8&0xff]<<0x8|_0x303717[_0x2d705f&0xff]):(_0x2d705f=_0x2d705f<<0x8|_0x2d705f>>>0x18,_0x2d705f=_0x303717[_0x2d705f>>>0x18]<<0x18|_0x303717[_0x2d705f>>>0x10&0xff]<<0x10|_0x303717[_0x2d705f>>>0x8&0xff]<<0x8|_0x303717[_0x2d705f&0xff],_0x2d705f^=_0x174f2f[_0x3e31e3/_0x2bedbe|0x0]<<0x18),_0x3e8fba[_0x3e31e3]=_0x3e8fba[_0x3e31e3-_0x2bedbe]^_0x2d705f);for(var _0x3badfb=this[_0x5491ff(0x2fe)]=[],_0x7d1099=0x0;_0x7d1099<_0x207930;_0x7d1099++){var _0x3e31e3=_0x207930-_0x7d1099;if(_0x7d1099%0x4)var _0x2d705f=_0x3e8fba[_0x3e31e3];else var _0x2d705f=_0x3e8fba[_0x3e31e3-0x4];_0x7d1099<0x4||_0x3e31e3<=0x4?_0x3badfb[_0x7d1099]=_0x2d705f:_0x3badfb[_0x7d1099]=_0x50edac[_0x303717[_0x2d705f>>>0x18]]^_0x1568e7[_0x303717[_0x2d705f>>>0x10&0xff]]^_0x3f18e4[_0x303717[_0x2d705f>>>0x8&0xff]]^_0x4e4105[_0x303717[_0x2d705f&0xff]];}}},'encryptBlock':function(_0x3d7e66,_0x58921e){var _0x4e1492=_0x4108a8;this[_0x4e1492(0x190)](_0x3d7e66,_0x58921e,this[_0x4e1492(0x1f3)],_0xfbc7c1,_0x37149e,_0x16a502,_0x49fb0a,_0x303717);},'decryptBlock':function(_0x485232,_0x158669){var _0x58c5bd=_0x4108a8,_0x56ecef=_0x485232[_0x158669+0x1];_0x485232[_0x158669+0x1]=_0x485232[_0x158669+0x3],_0x485232[_0x158669+0x3]=_0x56ecef,this[_0x58c5bd(0x190)](_0x485232,_0x158669,this[_0x58c5bd(0x2fe)],_0x50edac,_0x1568e7,_0x3f18e4,_0x4e4105,_0x480ea1);var _0x56ecef=_0x485232[_0x158669+0x1];_0x485232[_0x158669+0x1]=_0x485232[_0x158669+0x3],_0x485232[_0x158669+0x3]=_0x56ecef;},'_doCryptBlock':function(_0x369c0a,_0x1f8623,_0x20706c,_0x574cda,_0x879151,_0xea71c6,_0x461824,_0x383c69){var _0x14602f=_0x4108a8;for(var _0x52eeef=this[_0x14602f(0x106)],_0x22fcb8=_0x369c0a[_0x1f8623]^_0x20706c[0x0],_0x44c073=_0x369c0a[_0x1f8623+0x1]^_0x20706c[0x1],_0x52f874=_0x369c0a[_0x1f8623+0x2]^_0x20706c[0x2],_0x42ac5c=_0x369c0a[_0x1f8623+0x3]^_0x20706c[0x3],_0x15b401=0x4,_0x945599=0x1;_0x945599<_0x52eeef;_0x945599++){var _0x49e97f=_0x574cda[_0x22fcb8>>>0x18]^_0x879151[_0x44c073>>>0x10&0xff]^_0xea71c6[_0x52f874>>>0x8&0xff]^_0x461824[_0x42ac5c&0xff]^_0x20706c[_0x15b401++],_0x9cf096=_0x574cda[_0x44c073>>>0x18]^_0x879151[_0x52f874>>>0x10&0xff]^_0xea71c6[_0x42ac5c>>>0x8&0xff]^_0x461824[_0x22fcb8&0xff]^_0x20706c[_0x15b401++],_0x545501=_0x574cda[_0x52f874>>>0x18]^_0x879151[_0x42ac5c>>>0x10&0xff]^_0xea71c6[_0x22fcb8>>>0x8&0xff]^_0x461824[_0x44c073&0xff]^_0x20706c[_0x15b401++],_0x39464f=_0x574cda[_0x42ac5c>>>0x18]^_0x879151[_0x22fcb8>>>0x10&0xff]^_0xea71c6[_0x44c073>>>0x8&0xff]^_0x461824[_0x52f874&0xff]^_0x20706c[_0x15b401++];_0x22fcb8=_0x49e97f,_0x44c073=_0x9cf096,_0x52f874=_0x545501,_0x42ac5c=_0x39464f;}var _0x49e97f=(_0x383c69[_0x22fcb8>>>0x18]<<0x18|_0x383c69[_0x44c073>>>0x10&0xff]<<0x10|_0x383c69[_0x52f874>>>0x8&0xff]<<0x8|_0x383c69[_0x42ac5c&0xff])^_0x20706c[_0x15b401++],_0x9cf096=(_0x383c69[_0x44c073>>>0x18]<<0x18|_0x383c69[_0x52f874>>>0x10&0xff]<<0x10|_0x383c69[_0x42ac5c>>>0x8&0xff]<<0x8|_0x383c69[_0x22fcb8&0xff])^_0x20706c[_0x15b401++],_0x545501=(_0x383c69[_0x52f874>>>0x18]<<0x18|_0x383c69[_0x42ac5c>>>0x10&0xff]<<0x10|_0x383c69[_0x22fcb8>>>0x8&0xff]<<0x8|_0x383c69[_0x44c073&0xff])^_0x20706c[_0x15b401++],_0x39464f=(_0x383c69[_0x42ac5c>>>0x18]<<0x18|_0x383c69[_0x22fcb8>>>0x10&0xff]<<0x10|_0x383c69[_0x44c073>>>0x8&0xff]<<0x8|_0x383c69[_0x52f874&0xff])^_0x20706c[_0x15b401++];_0x369c0a[_0x1f8623]=_0x49e97f,_0x369c0a[_0x1f8623+0x1]=_0x9cf096,_0x369c0a[_0x1f8623+0x2]=_0x545501,_0x369c0a[_0x1f8623+0x3]=_0x39464f;},'keySize':0x100/0x20});_0x5ca9ce[_0x4108a8(0x14e)]=_0x37d36b['_createHelper'](_0x95423b);}()),_0x272e3a[_0x549b4a(0x14e)];}));}(_0x4feaeb)),_0x4feaeb[_0x564145(0x187)];}var _0x2cfb2a=_0x5aab5d();const _0x4a0561=_0x37033d(_0x2cfb2a);var _0x21634d=_0x2c7803();const _0x5d0b0d=_0x37033d(_0x21634d);var _0x5e2526={'exports':{}},_0x2120ea=_0x5e2526[_0x139332(0x187)],_0x5c96f6;function _0x5c6883(){var _0x109c9f=_0x139332;return _0x5c96f6||(_0x5c96f6=0x1,function(_0x46abc0,_0x3f5896){(function(_0x36c97c,_0x248915){var _0x19ec94=_0x1b12;_0x46abc0[_0x19ec94(0x187)]=_0x248915(_0x2751f5());}(_0x2120ea,function(_0x3f11ed){var _0x255c36=_0x1b12;return _0x3f11ed[_0x255c36(0x153)][_0x255c36(0x1aa)];}));}(_0x5e2526)),_0x5e2526[_0x109c9f(0x187)];}var _0x1b22d5=_0x5c6883();const _0x256fed=_0x37033d(_0x1b22d5);var _0x2b6407={'exports':{}},_0x5e2afd=_0x2b6407['exports'],_0x53edb1;function _0x16d492(){return _0x53edb1||(_0x53edb1=0x1,function(_0x4a16f2,_0x15e035){(function(_0x58c321,_0x1222cc){var _0x5a8311=_0x1b12;_0x4a16f2[_0x5a8311(0x187)]=_0x1222cc(_0x2751f5());}(_0x5e2afd,function(_0x1761c2){var _0x2f3521=_0x1b12;return(function(){var _0xc3a5de=_0x1b12;if(typeof ArrayBuffer==_0xc3a5de(0xb6)){var _0x3a9b34=_0x1761c2,_0xb38575=_0x3a9b34[_0xc3a5de(0x21f)],_0x28dec5=_0xb38575[_0xc3a5de(0x375)],_0x1a99da=_0x28dec5[_0xc3a5de(0x15c)],_0x212734=_0x28dec5[_0xc3a5de(0x15c)]=function(_0x2cf700){var _0x2ada66=_0xc3a5de;if(_0x2cf700 instanceof ArrayBuffer&&(_0x2cf700=new Uint8Array(_0x2cf700)),(_0x2cf700 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2cf700 instanceof Uint8ClampedArray||_0x2cf700 instanceof Int16Array||_0x2cf700 instanceof Uint16Array||_0x2cf700 instanceof Int32Array||_0x2cf700 instanceof Uint32Array||_0x2cf700 instanceof Float32Array||_0x2cf700 instanceof Float64Array)&&(_0x2cf700=new Uint8Array(_0x2cf700['buffer'],_0x2cf700['byteOffset'],_0x2cf700['byteLength'])),_0x2cf700 instanceof Uint8Array){for(var _0x2385d4=_0x2cf700[_0x2ada66(0x3b6)],_0x588889=[],_0x2802ac=0x0;_0x2802ac<_0x2385d4;_0x2802ac++)_0x588889[_0x2802ac>>>0x2]|=_0x2cf700[_0x2802ac]<<0x18-_0x2802ac%0x4*0x8;_0x1a99da[_0x2ada66(0x18e)](this,_0x588889,_0x2385d4);}else _0x1a99da[_0x2ada66(0xf4)](this,arguments);};_0x212734[_0xc3a5de(0x395)]=_0x28dec5;}}()),_0x1761c2[_0x2f3521(0x21f)][_0x2f3521(0x375)];}));}(_0x2b6407)),_0x2b6407['exports'];}var _0x2c0069=_0x16d492();const _0x3fa28e=_0x37033d(_0x2c0069);var _0x2bcdb4={'exports':{}},_0x3e03f8=_0x2bcdb4[_0x139332(0x187)],_0x3dae6e;function _0x568301(){var _0x378bec=_0x139332;return _0x3dae6e||(_0x3dae6e=0x1,function(_0x153e22,_0x283c08){(function(_0x51122e,_0x72897a,_0xe4a8cf){var _0x7a3afb=_0x1b12;_0x153e22[_0x7a3afb(0x187)]=_0x72897a(_0x2751f5(),_0x2425c8());}(_0x3e03f8,function(_0x39d29c){var _0x20e1b4=_0x1b12;return _0x39d29c[_0x20e1b4(0x2a2)][_0x20e1b4(0xa1)]={'pad':function(){},'unpad':function(){}},_0x39d29c[_0x20e1b4(0x2a2)][_0x20e1b4(0xa1)];}));}(_0x2bcdb4)),_0x2bcdb4[_0x378bec(0x187)];}var _0x2033ce=_0x568301();const _0x53c07b=_0x37033d(_0x2033ce);function _0x5429df(_0x51c7f4,_0x2c1b88){var _0x337612=_0x139332;const _0x27e44e=_0x2c1b88-_0x51c7f4[_0x337612(0x295)]%_0x2c1b88,_0x488130=String[_0x337612(0x179)](_0x27e44e)[_0x337612(0x3fb)](_0x27e44e);return _0x51c7f4+_0x488130;}function _0x15f54e(_0x1a1204,_0x19d02c){var _0x1012af=_0x139332;const _0x4e83f8=_0x3fa28e[_0x1012af(0x1ee)](0x10),_0x548e1f=_0x5429df(_0x1a1204,0x10),_0x4df6a9=_0x4a0561[_0x1012af(0x2c1)](_0x256fed['parse'](_0x548e1f),_0x5d0b0d[_0x1012af(0x132)](_0x19d02c),{'iv':_0x4e83f8,'padding':_0x53c07b});return _0x4e83f8[_0x1012af(0xac)](_0x4df6a9[_0x1012af(0x1b9)])['toString'](_0x5d0b0d);}function _0x2a29f0(){var _0x112c67=_0x139332;const _0x41cf4e=_0x28280c['getGlobalObject']()[_0x112c67(0x31c)];if(_0x41cf4e){const _0x11a24c={'time':Math[_0x112c67(0x26d)](Date[_0x112c67(0x379)]()/0x3e8),'domain':location[_0x112c67(0x33a)]};return _0x15f54e(JSON[_0x112c67(0x13d)](_0x11a24c),_0x41cf4e);}}var _0x42cf60=Object[_0x139332(0x212)],_0x24f4dd=(_0x389e92,_0x333d9e,_0x13ec83,_0x17c9e9)=>{var _0x59f662=_0x139332;for(var _0x4be845=_0x17c9e9>0x1?void 0x0:_0x17c9e9?_0x42cf60(_0x333d9e,_0x13ec83):_0x333d9e,_0x251ef2=_0x389e92[_0x59f662(0x295)]-0x1,_0x146860;_0x251ef2>=0x0;_0x251ef2--)(_0x146860=_0x389e92[_0x251ef2])&&(_0x4be845=_0x146860(_0x4be845)||_0x4be845);return _0x4be845;},_0x5d40b9=(_0x377ae8,_0x2b8bda)=>(_0x50d290,_0x1bef4e)=>_0x2b8bda(_0x50d290,_0x1bef4e,_0x377ae8);let _0x438c29=class{constructor(_0x139061){var _0x4bf49e=_0x139332;this[_0x4bf49e(0x184)]=_0x139061,this[_0x4bf49e(0x39b)]();}[_0x139332(0x39b)](){var _0x281ae1=_0x139332;this[_0x281ae1(0x184)][_0x281ae1(0x38b)]({'interceptor':(_0x22c51c,_0x3415b3)=>{var _0x3b5f7a=_0x281ae1;const _0x4c8308=_0x22c51c[_0x3b5f7a(0x35a)],_0x35f0b0=_0x2a29f0();return _0x35f0b0&&_0x4c8308[_0x3b5f7a(0x3e3)]('x-univer-host',_0x35f0b0),_0x3415b3(_0x22c51c);}});}};_0x438c29=_0x24f4dd([_0x5d40b9(0x0,_0x46e193[_0x139332(0x9e)](_0x4c86e5[_0x139332(0x1a0)]))],_0x438c29);var _0x534ccd=Object[_0x139332(0x212)],_0x3a0a69=(_0x180939,_0x17ff51,_0x3d6200,_0x42d6d1)=>{var _0x252e46=_0x139332;for(var _0x3e6570=_0x42d6d1>0x1?void 0x0:_0x42d6d1?_0x534ccd(_0x17ff51,_0x3d6200):_0x17ff51,_0x5450ff=_0x180939[_0x252e46(0x295)]-0x1,_0x510d87;_0x5450ff>=0x0;_0x5450ff--)(_0x510d87=_0x180939[_0x5450ff])&&(_0x3e6570=_0x510d87(_0x3e6570)||_0x3e6570);return _0x3e6570;},_0x15028a=(_0x2f3eef,_0x23b7a3)=>(_0x195b47,_0x213c9d)=>_0x23b7a3(_0x195b47,_0x213c9d,_0x2f3eef);_0x52d482[_0x139332(0xf1)]=class extends _0x46e193[_0x139332(0xc3)]{constructor(_0x485986,_0x46c388,_0x15606b){var _0x272d54=_0x139332;super(),_0x3332c7(this,_0x272d54(0x128),new _0x4449b2[(_0x272d54(0x3e1))](null)),_0x3332c7(this,'unitInfo$',this['_unitInfo$'][_0x272d54(0x1a3)]()),(this[_0x272d54(0x1d0)]=_0x485986,this['_snapshotService']=_0x46c388,this[_0x272d54(0x140)]=_0x15606b);}async[_0x139332(0x18c)](_0x427116,_0x274aab,_0x174749){var _0x3d0413=_0x139332;this[_0x3d0413(0x128)]['next']({'unitId':_0x427116,'type':_0x274aab,'subUnitId':_0x174749});let _0x1ce058=null;switch(_0x274aab){case _0x552c7c[_0x3d0413(0xfd)]:{_0x1ce058=await this[_0x3d0413(0xf9)](_0x427116);break;}case _0x552c7c[_0x3d0413(0x119)]:{_0x1ce058=await this[_0x3d0413(0x164)](_0x427116);break;}default:{this[_0x3d0413(0x1d0)]['error'](_0x3d0413(0x2ba),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x1ce058;}async[_0x139332(0xf9)](_0x483213){var _0x166262=_0x139332,_0x3bf123;let _0x2e7d17=0x0;const _0x5f2067=await((_0x3bf123=this[_0x166262(0x140)])==null?void 0x0:_0x3bf123[_0x166262(0x1b4)](_0x483213));return _0x5f2067&&(_0x5f2067[_0x166262(0x197)]||_0x5f2067[_0x166262(0x1be)]['length']!==0x0)&&(_0x2e7d17=_0x5f2067[_0x166262(0x2e6)]),_0x2e7d17===0x0&&this['_logService'][_0x166262(0x102)](_0x166262(0x2ba),_0x166262(0x247)),this[_0x166262(0x29b)][_0x166262(0x19e)](_0x483213,_0x2e7d17);}async[_0x139332(0x164)](_0x59a50d){var _0x263807=_0x139332,_0x37e284;let _0x38b98c=0x0;const _0x41536a=await((_0x37e284=this['_localCacheService'])==null?void 0x0:_0x37e284[_0x263807(0x1b4)](_0x59a50d));return _0x41536a&&(_0x41536a[_0x263807(0x197)]||_0x41536a[_0x263807(0x1be)][_0x263807(0x295)]!==0x0)&&(_0x38b98c=_0x41536a[_0x263807(0x2e6)]),_0x38b98c===0x0&&this[_0x263807(0x1d0)][_0x263807(0x102)](_0x263807(0x2ba),_0x263807(0x247)),this['_snapshotService'][_0x263807(0x261)](_0x59a50d,_0x38b98c);}},_0x52d482['DataLoaderService']=_0x3a0a69([_0x15028a(0x0,_0x46e193[_0x139332(0x1ed)]),_0x15028a(0x1,_0x46e193[_0x139332(0x9e)](_0x578bc2[_0x139332(0x368)])),_0x15028a(0x2,_0x46e193['Optional'](_0x5f00af))],_0x52d482[_0x139332(0xf1)]);var _0x45d6de=Object[_0x139332(0x212)],_0x5049e7=(_0x552d18,_0x12aed9,_0x26dc0f,_0x2f3ee1)=>{var _0x1f391b=_0x139332;for(var _0x193565=_0x2f3ee1>0x1?void 0x0:_0x2f3ee1?_0x45d6de(_0x12aed9,_0x26dc0f):_0x12aed9,_0x5223de=_0x552d18[_0x1f391b(0x295)]-0x1,_0x5495b5;_0x5223de>=0x0;_0x5223de--)(_0x5495b5=_0x552d18[_0x5223de])&&(_0x193565=_0x5495b5(_0x193565)||_0x193565);return _0x193565;},_0x62fc56=(_0x28f1ea,_0x430291)=>(_0x473288,_0x1ddc7c)=>_0x430291(_0x473288,_0x1ddc7c,_0x28f1ea);const _0xcbecb9=[_0x139332(0x24f),_0x139332(0x217),_0x139332(0x3d2),'image/gif',_0x139332(0x342)],_0x11ce34=0x5*0x400*0x400,_0x270a49=_0x139332(0x10d),_0x267150='/universer-api/stream/file/upload',_0x48b9a2=_0x139332(0x364),_0x86bc9b=_0x139332(0x27d);_0x52d482[_0x139332(0x2ef)]=class{constructor(_0x4e736b,_0x59b579,_0xa83e57){var _0x3a90bd=_0x139332;_0x3332c7(this,_0x3a90bd(0x269),0x0),_0x3332c7(this,'_change$',new _0x4449b2[(_0x3a90bd(0x3f8))]()),_0x3332c7(this,_0x3a90bd(0x3da),this[_0x3a90bd(0xd8)]),_0x3332c7(this,'_imageSourceCache',new Map()),(this[_0x3a90bd(0x184)]=_0x4e736b,this[_0x3a90bd(0x248)]=_0x59b579,this['_univerInstanceService']=_0xa83e57);}[_0x139332(0x325)](_0x2073b7){var _0x20191a=_0x139332;this['_waitCount']=_0x2073b7,this[_0x20191a(0xd8)][_0x20191a(0x3ff)](_0x2073b7);}[_0x139332(0x3ae)](_0x366bb5,_0x2db07f){var _0x418b70=_0x139332;if(_0x2db07f===_0x3f3555[_0x418b70(0x1b7)]['BASE64']){const _0x2c7826=new Image();return _0x2c7826['src']=_0x366bb5,_0x2c7826;}return this[_0x418b70(0x13f)][_0x418b70(0x1f1)](_0x366bb5);}[_0x139332(0x338)](_0x3b9be0,_0x21ca38,_0x476e94){var _0x2e4921=_0x139332;_0x21ca38===_0x3f3555[_0x2e4921(0x1b7)][_0x2e4921(0xef)]||_0x476e94==null||this[_0x2e4921(0x13f)]['set'](_0x3b9be0,_0x476e94);}async[_0x139332(0x3bf)](_0x18b8f5){var _0xff3125=_0x139332;try{const _0x254e9e=this[_0xff3125(0x1c2)](this[_0xff3125(0x16b)](),''+_0x18b8f5),_0x398e9b=(await this[_0xff3125(0x184)][_0xff3125(0x1f1)](_0x254e9e))[_0xff3125(0x349)];if(_0x398e9b[_0xff3125(0x3ca)]&&_0x398e9b[_0xff3125(0x3ca)][_0xff3125(0x1e6)]===_0xab6f9c['OK']){const _0x12dd9a=new URL(_0x398e9b['url'],this[_0xff3125(0x124)]())['toString']();return Promise[_0xff3125(0x101)](_0x12dd9a);}return Promise[_0xff3125(0x385)](_0x398e9b[_0xff3125(0x3ca)]);}catch(_0x3a77ff){return Promise[_0xff3125(0x385)](_0x3a77ff);}}async[_0x139332(0x423)](_0xe9349a){var _0x5d231b=_0x139332;let _0x498bfd='';if(!_0xcbecb9[_0x5d231b(0x2e4)](_0xe9349a[_0x5d231b(0x156)]))return this['_decreaseWaiting'](),Promise[_0x5d231b(0x385)](new Error(_0x3f3555['ImageUploadStatusType'][_0x5d231b(0x2d2)]));if(_0xe9349a[_0x5d231b(0x1dd)]>_0x11ce34)return this[_0x5d231b(0x422)](),Promise['reject'](new Error(_0x3f3555['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x3d2aa9=new FormData();_0x3d2aa9[_0x5d231b(0x2da)]('file',_0xe9349a);const _0x1f277f=this[_0x5d231b(0x18b)][_0x5d231b(0x219)](),_0x4c4422=_0x1f277f==null?void 0x0:_0x1f277f['getUnitId']();if(!_0x4c4422)throw new Error(_0x5d231b(0x38e));const _0x4c1dde=this[_0x5d231b(0x115)]()+_0x5d231b(0x34a)+_0xe9349a[_0x5d231b(0x1dd)]['toString']()+_0x5d231b(0x1cc)+_0x4e906f[_0x5d231b(0x17e)]+'&assign='+encodeURIComponent(_0x4c4422),_0x3d9445={'body':_0x3d2aa9},_0x5b176b=(await this[_0x5d231b(0x184)][_0x5d231b(0x291)](_0x4c1dde,_0x3d9445))[_0x5d231b(0x349)];if(typeof _0x5b176b['FileId']!='string')return this[_0x5d231b(0x422)](),Promise[_0x5d231b(0x385)](new Error(_0x3f3555[_0x5d231b(0x113)][_0x5d231b(0x116)]));_0x498bfd=_0x5b176b[_0x5d231b(0x2bd)];}catch{return this[_0x5d231b(0x422)](),Promise[_0x5d231b(0x385)](new Error(_0x3f3555[_0x5d231b(0x113)][_0x5d231b(0x116)]));}return new Promise((_0x562f2a,_0x414acb)=>{var _0x5d1bae=_0x5d231b;const _0x37e5b1=new FileReader();_0x37e5b1[_0x5d1bae(0x35f)](_0xe9349a),_0x37e5b1[_0x5d1bae(0x16c)]=_0x47a19b=>{var _0x3b3e6d=_0x5d1bae,_0x431da3;const _0x179784=(_0x431da3=_0x47a19b[_0x3b3e6d(0x2a7)])==null?void 0x0:_0x431da3[_0x3b3e6d(0x243)];if(_0x179784==null){this[_0x3b3e6d(0x422)](),_0x414acb(new Error(_0x3f3555[_0x3b3e6d(0x113)]['ERROR_IMAGE']));return;}const _0x3f16c6=_0x46e193[_0x3b3e6d(0x1b8)][_0x3b3e6d(0x1b2)](0x6);_0x562f2a({'imageId':_0x3f16c6,'imageSourceType':_0x3f3555[_0x3b3e6d(0x1b7)][_0x3b3e6d(0x2ed)],'source':_0x498bfd,'base64Cache':_0x179784,'status':_0x3f3555[_0x3b3e6d(0x113)][_0x3b3e6d(0x36f)]}),this[_0x3b3e6d(0x422)]();};});}[_0x139332(0x115)](){var _0x3c73ad=_0x139332,_0x5dd496,_0x405a65;const _0x347a57=this[_0x3c73ad(0x248)][_0x3c73ad(0x2e1)](_0x270a49),_0x4457eb=this[_0x3c73ad(0x248)][_0x3c73ad(0x2e1)](_0x38cef3);return(_0x405a65=(_0x5dd496=_0x4457eb==null?void 0x0:_0x4457eb[_0x3c73ad(0x181)])!=null?_0x5dd496:_0x347a57)!=null?_0x405a65:_0x267150;}[_0x139332(0x16b)](){var _0x475796=_0x139332,_0x55414e,_0x3e2b75;const _0x177f9d=this[_0x475796(0x248)]['getConfig'](_0x48b9a2),_0x31ba14=this[_0x475796(0x248)]['getConfig'](_0x38cef3);return(_0x3e2b75=(_0x55414e=_0x31ba14==null?void 0x0:_0x31ba14['signUrlServerUrl'])!=null?_0x55414e:_0x177f9d)!=null?_0x3e2b75:_0x86bc9b;}['_getDownloadEndpointURL'](){var _0x184f62=_0x139332,_0x266e1d;const _0x39c2e9=this[_0x184f62(0x248)][_0x184f62(0x2e1)](_0x38cef3);return(_0x266e1d=_0x39c2e9==null?void 0x0:_0x39c2e9[_0x184f62(0x1e0)])!=null?_0x266e1d:location['origin'];}[_0x139332(0x1c2)](_0x428ea9,_0x7a2eb0){var _0x23b39f=_0x139332;return _0x428ea9[_0x23b39f(0x31e)]('{fileID}',_0x7a2eb0);}[_0x139332(0x422)](){var _0x1476db=_0x139332;this[_0x1476db(0x269)]-=0x1,this[_0x1476db(0xd8)]['next'](this[_0x1476db(0x269)]);}},_0x52d482[_0x139332(0x2ef)]=_0x5049e7([_0x62fc56(0x0,_0x46e193[_0x139332(0x9e)](_0x4c86e5[_0x139332(0x1a0)])),_0x62fc56(0x1,_0x46e193[_0x139332(0x1c6)]),_0x62fc56(0x2,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0xb9)]))],_0x52d482['CollaborationImageIoService']);var _0x41e765=Object[_0x139332(0x212)],_0x3c67eb=(_0x40ab34,_0x1fa47c,_0x5667c2,_0x1bfd3c)=>{for(var _0x5b1ac4=_0x1bfd3c>0x1?void 0x0:_0x1bfd3c?_0x41e765(_0x1fa47c,_0x5667c2):_0x1fa47c,_0x5a749f=_0x40ab34['length']-0x1,_0x217ad5;_0x5a749f>=0x0;_0x5a749f--)(_0x217ad5=_0x40ab34[_0x5a749f])&&(_0x5b1ac4=_0x217ad5(_0x5b1ac4)||_0x5b1ac4);return _0x5b1ac4;},_0x14ba77=(_0x588f3f,_0x3a2b6d)=>(_0x107507,_0x21aaee)=>_0x3a2b6d(_0x107507,_0x21aaee,_0x588f3f);const _0xdc519b=_0x139332(0x31f);_0x52d482[_0x139332(0x35e)]=class{constructor(_0x4e832b,_0x1acf09){var _0x1db6d0=_0x139332;this[_0x1db6d0(0x248)]=_0x4e832b,this[_0x1db6d0(0x24e)]=_0x1acf09;}[_0x139332(0x21a)](){var _0x2a37bb=_0x139332,_0xa80d06,_0x359cc1;const _0x4f65af=this[_0x2a37bb(0x248)][_0x2a37bb(0x2e1)](_0xc8daaf),_0x4e6ef3=this[_0x2a37bb(0x248)][_0x2a37bb(0x2e1)](_0x38cef3);return(_0x359cc1=(_0xa80d06=_0x4e6ef3==null?void 0x0:_0x4e6ef3['authzUrl'])!=null?_0xa80d06:_0x4f65af)!=null?_0x359cc1:_0xdc519b;}async['list'](_0x107493){var _0x2c036c=_0x139332;const _0x562246=this['_getAPIPrefixPath']()+_0x2c036c(0x39a);return{'list':[{'title':_0x2c036c(0x25e),'mentions':(await this['_HTTPService'][_0x2c036c(0x1f1)](_0x562246,{'params':{'objectID':_0x107493['unitId'],'unitID':_0x107493[_0x2c036c(0x168)]}}))[_0x2c036c(0x349)][_0x2c036c(0x262)][_0x2c036c(0x1af)](_0x14592c=>({'objectId':_0x14592c['id'],'name':_0x14592c[_0x2c036c(0x2a4)][_0x2c036c(0x129)],'metadata':{'icon':_0x14592c[_0x2c036c(0x2a4)][_0x2c036c(0xf8)]},'label':_0x14592c[_0x2c036c(0x2a4)][_0x2c036c(0x129)],'objectType':_0x46e193[_0x2c036c(0x36b)][_0x2c036c(0x297)]})),'metadata':{},'type':_0x46e193[_0x2c036c(0x36b)][_0x2c036c(0x297)]}]};}},_0x52d482['MentionIoHttpService']=_0x3c67eb([_0x14ba77(0x0,_0x46e193[_0x139332(0x9e)](_0x46e193['IConfigService'])),_0x14ba77(0x1,_0x46e193[_0x139332(0x9e)](_0x4c86e5[_0x139332(0x1a0)]))],_0x52d482[_0x139332(0x35e)]);var _0x138017=Object[_0x139332(0x212)],_0xbed1bb=(_0x119f2e,_0x8111ce,_0x3922c9,_0x75d1e9)=>{var _0x341d56=_0x139332;for(var _0x2deb39=_0x75d1e9>0x1?void 0x0:_0x75d1e9?_0x138017(_0x8111ce,_0x3922c9):_0x8111ce,_0x5dcf15=_0x119f2e[_0x341d56(0x295)]-0x1,_0x42b8bc;_0x5dcf15>=0x0;_0x5dcf15--)(_0x42b8bc=_0x119f2e[_0x5dcf15])&&(_0x2deb39=_0x42b8bc(_0x2deb39)||_0x2deb39);return _0x2deb39;},_0x31b670=(_0x2276cd,_0x574668)=>(_0x19ab8b,_0x541d7c)=>_0x574668(_0x19ab8b,_0x541d7c,_0x2276cd);let _0x5d1d30=class extends _0x46e193[_0x139332(0xc3)]{constructor(_0xdcc4b6,_0x46ef3c,_0x3f19d7,_0x2583e5,_0x1153b7){var _0x30bad9=_0x139332;super(),this['_injector']=_0xdcc4b6,this[_0x30bad9(0x18b)]=_0x46ef3c,this['_permissionService']=_0x3f19d7,this['_collaborationSessionService']=_0x2583e5,this[_0x30bad9(0x1fd)]=_0x1153b7,this[_0x30bad9(0x162)](),this[_0x30bad9(0x3f1)]();}[_0x139332(0x3f1)](){var _0x55553a=_0x139332;const _0x3b34c8=async _0x6ddc7f=>{var _0x455ebd=_0x1b12;(await this['_collaborationSessionService'][_0x455ebd(0x17b)](_0x6ddc7f))['event$'][_0x455ebd(0x12a)](_0xcf82d3[_0x455ebd(0xf5)](_0x4ee481=>_0x4ee481[_0x455ebd(0x2a5)]===_0x578bc2['CollaborationEvent']['SHOULD_CLOSE_CONN']),_0xcf82d3['takeUntil'](this[_0x455ebd(0x1ea)]))[_0x455ebd(0x3b1)](_0x2fd9a0=>{var _0x4b2d90=_0x455ebd;const _0x1bd19c=_0x2fd9a0,{reason:_0x2f51c7}=_0x1bd19c['data'];this[_0x4b2d90(0x1fd)][_0x4b2d90(0x389)]({'id':_0x117dfc['CLOSE_ROOM'],'data':_0x2f51c7}),this['_permissionService']['updatePermissionPoint'](new _0x3819b8[(_0x4b2d90(0x405))](_0x6ddc7f)['id'],!0x1),this[_0x4b2d90(0xa0)][_0x4b2d90(0x2aa)](_0x6ddc7f);});};_0x4449b2[_0x55553a(0x12b)](this[_0x55553a(0x18b)][_0x55553a(0x2a9)](_0x46e193['UniverInstanceType'][_0x55553a(0xfd)]),this[_0x55553a(0x18b)]['getTypeOfUnitAdded$'](_0x46e193[_0x55553a(0x36a)]['UNIVER_DOC']))['pipe'](_0xcf82d3[_0x55553a(0x1af)](_0x1468d9=>_0x1468d9['getUnitId']()),_0xcf82d3[_0x55553a(0xf5)](_0x4beab5=>!_0x46e193[_0x55553a(0x110)](_0x4beab5)),_0xcf82d3[_0x55553a(0x15e)](this[_0x55553a(0x1ea)]))[_0x55553a(0x3b1)](_0x56692d=>{_0x3b34c8(_0x56692d);});}[_0x139332(0x162)](){var _0x19a18c=_0x139332;const _0x256ec1=async _0x3eed1e=>{var _0x34c303=_0x1b12;const _0xb7d162=await this[_0x34c303(0xa0)][_0x34c303(0x17b)](_0x3eed1e),_0x88e80f=this['_injector'][_0x34c303(0x1f1)](_0x3819b8[_0x34c303(0x1fe)]);_0xb7d162[_0x34c303(0x3fc)][_0x34c303(0x12a)](_0xcf82d3['filter'](_0x3edf42=>_0x3edf42[_0x34c303(0x2a5)]===_0x578bc2[_0x34c303(0xa5)]['UPDATE_PERMISSION_OBJ']),_0xcf82d3[_0x34c303(0x15e)](this['dispose$']))[_0x34c303(0x3b1)](_0x21db78=>{var _0x36d85a=_0x34c303;const _0x115bb7=_0x21db78,{objectId:_0x4acbff}=_0x115bb7[_0x36d85a(0x265)];_0x4acbff===_0x3eed1e?_0x88e80f[_0x36d85a(0x177)](_0x3eed1e):_0x88e80f['refreshPermission'](_0x3eed1e,_0x4acbff);});};_0x4449b2['merge'](this[_0x19a18c(0x18b)][_0x19a18c(0x2a9)](_0x46e193['UniverInstanceType'][_0x19a18c(0xfd)]))[_0x19a18c(0x12a)](_0xcf82d3[_0x19a18c(0x1af)](_0x2df8d1=>_0x2df8d1['getUnitId']()),_0xcf82d3[_0x19a18c(0xf5)](_0x47e700=>!_0x46e193[_0x19a18c(0x110)](_0x47e700)),_0xcf82d3['takeUntil'](this[_0x19a18c(0x1ea)]))['subscribe'](_0x4c39ca=>{_0x256ec1(_0x4c39ca);});}};_0x5d1d30=_0xbed1bb([_0x31b670(0x0,_0x46e193[_0x139332(0x9e)](_0x46e193['Injector'])),_0x31b670(0x1,_0x46e193[_0x139332(0xb9)]),_0x31b670(0x2,_0x46e193['IPermissionService']),_0x31b670(0x3,_0x46e193[_0x139332(0x9e)](_0x52d482[_0x139332(0x1b0)])),_0x31b670(0x4,_0x46e193[_0x139332(0x9e)](_0xc27cb3))],_0x5d1d30);var _0x13e312=Object[_0x139332(0x212)],_0x13c402=(_0x4e90d9,_0x515b35,_0x1eeedf,_0x1ad172)=>{var _0xa610f0=_0x139332;for(var _0x3bd323=_0x1ad172>0x1?void 0x0:_0x1ad172?_0x13e312(_0x515b35,_0x1eeedf):_0x515b35,_0x5bea7e=_0x4e90d9[_0xa610f0(0x295)]-0x1,_0x412c1d;_0x5bea7e>=0x0;_0x5bea7e--)(_0x412c1d=_0x4e90d9[_0x5bea7e])&&(_0x3bd323=_0x412c1d(_0x3bd323)||_0x3bd323);return _0x3bd323;},_0x1257ba=(_0x1ce231,_0x552cc3)=>(_0x46fefb,_0x210660)=>_0x552cc3(_0x46fefb,_0x210660,_0x1ce231);_0x52d482[_0x139332(0xb8)]=class{constructor(_0x2010e2,_0x52cbff){var _0x213eb7=_0x139332;this[_0x213eb7(0x248)]=_0x2010e2,this['_httpService']=_0x52cbff;}async['getUnitOnRev'](_0x5026de,_0x18d741){var _0x2d54ae=_0x139332,_0x55b596;const {unitID:_0x47e6f5,type:_0x3e1c9f,revision:_0x72d16f=0x0}=_0x18d741,_0x174280=this[_0x2d54ae(0xde)]()+'/'+_0x3e1c9f+'/unit/'+_0x47e6f5+'/rev/'+_0x72d16f,_0xd63401=(await this[_0x2d54ae(0x184)][_0x2d54ae(0x1f1)](_0x174280))[_0x2d54ae(0x349)],_0x33e7ad=(_0x55b596=_0xd63401['snapshot'])==null?void 0x0:_0x55b596[_0x2d54ae(0x214)];if(_0x33e7ad){const _0x4f2586=_0x33e7ad==null?void 0x0:_0x33e7ad[_0x2d54ae(0x321)],_0x503013=_0x578bc2[_0x2d54ae(0x32e)][_0x2d54ae(0x25b)](_0x578bc2['b64DecodeUnicode'](_0x4f2586));_0x33e7ad[_0x2d54ae(0x321)]=_0x503013,Object[_0x2d54ae(0x23b)](_0x33e7ad[_0x2d54ae(0x1a8)])[_0x2d54ae(0x2a0)](([,_0x84cf34])=>{var _0x4e929c=_0x2d54ae;const _0x4857d9=_0x84cf34[_0x4e929c(0x321)],_0x1316c7=_0x578bc2[_0x4e929c(0x32e)][_0x4e929c(0x25b)](_0x578bc2['b64DecodeUnicode'](_0x4857d9));_0x84cf34[_0x4e929c(0x321)]=_0x1316c7;});}return _0xd63401;}async['getSheetBlock'](_0x2568a1,_0x31c8e9){var _0x1a01e6=_0x139332;const {unitID:_0x9ccd5a,type:_0x207151,blockID:_0x2cd32b}=_0x31c8e9,_0x226ae2=this[_0x1a01e6(0x199)]()+'/'+_0x207151+_0x1a01e6(0x353)+_0x9ccd5a+_0x1a01e6(0x305)+_0x2cd32b;return(await this['_httpService']['get'](_0x226ae2))[_0x1a01e6(0x349)];}async['getDeserializedSheetBlock'](_0x59f122,_0x53c532){var _0x2cb354=_0x139332;const {unitID:_0x33fa60,type:_0x39cbaa,blockID:_0x16bfde}=_0x53c532,_0xbab802=this[_0x2cb354(0x199)]()+_0x2cb354(0x305)+_0x39cbaa+'/unit/'+_0x33fa60+_0x2cb354(0x305)+_0x16bfde;return(await this[_0x2cb354(0x184)][_0x2cb354(0x1f1)](_0xbab802))['body'];}async['fetchMissingChangesets'](_0x55118e,_0x351c1e){var _0x1f50e5=_0x139332;const {unitID:_0x12536d,type:_0x391470,from:_0x18e1b7,to:_0x133a82}=_0x351c1e,_0x3ea23b=this[_0x1f50e5(0x199)]()+'/'+_0x391470+_0x1f50e5(0x353)+_0x12536d+'/fetchmissing?from='+_0x18e1b7+_0x1f50e5(0x3d0)+_0x133a82;return(await this['_httpService'][_0x1f50e5(0x1f1)](_0x3ea23b))['body'];}[_0x139332(0xde)](){var _0x591280=_0x139332,_0x563661;return(_0x563661=this['_configService'][_0x591280(0x2e1)](_0x2f7286))!=null?_0x563661:this[_0x591280(0x199)]();}['_getAPIPrefix'](){var _0x2b6ea6=_0x139332,_0x1c061d,_0x1b3143;const _0x4a36e5=this[_0x2b6ea6(0x248)][_0x2b6ea6(0x2e1)](_0x9122dc),_0x6d5a46=this['_configService'][_0x2b6ea6(0x2e1)](_0x38cef3);return(_0x1b3143=(_0x1c061d=_0x6d5a46==null?void 0x0:_0x6d5a46[_0x2b6ea6(0x1da)])!=null?_0x1c061d:_0x4a36e5)!=null?_0x1b3143:_0x58ffe9;}async['getResourcesRequest'](_0x1ae8dd,_0x23e691){var _0x33832b=_0x139332;const _0x36e759=_0x33832b(0x216)+_0x23e691[_0x33832b(0x156)]+'/unit/'+_0x23e691[_0x33832b(0x144)]+'/resources';return(await this[_0x33832b(0x184)][_0x33832b(0x1f1)](_0x36e759,{'params':{'resourceId':JSON[_0x33832b(0x13d)](_0x23e691[_0x33832b(0x40e)])}}))[_0x33832b(0x349)];}['saveSnapshot'](){var _0x1d6e29=_0x139332;throw new Error(_0x1d6e29(0x1ca));}[_0x139332(0x1df)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x139332(0x1d7)](){var _0x273e2a=_0x139332;throw new Error(_0x273e2a(0x1ca));}[_0x139332(0x3e8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x4f3029=_0x139332;throw new Error(_0x4f3029(0x1ca));}},_0x52d482[_0x139332(0xb8)]=_0x13c402([_0x1257ba(0x0,_0x46e193[_0x139332(0x1c6)]),_0x1257ba(0x1,_0x46e193[_0x139332(0x9e)](_0x4c86e5['HTTPService']))],_0x52d482[_0x139332(0xb8)]);var _0x2c63e7=Object[_0x139332(0x212)],_0xba2ac6=(_0x431c23,_0x407068,_0xe75a7d,_0x5c29d3)=>{for(var _0xc19634=_0x5c29d3>0x1?void 0x0:_0x5c29d3?_0x2c63e7(_0x407068,_0xe75a7d):_0x407068,_0x48169a=_0x431c23['length']-0x1,_0x449f04;_0x48169a>=0x0;_0x48169a--)(_0x449f04=_0x431c23[_0x48169a])&&(_0xc19634=_0x449f04(_0xc19634)||_0xc19634);return _0xc19634;},_0x4dcb06=(_0x37e809,_0xde9f19)=>(_0x5123e6,_0x4fb6e5)=>_0xde9f19(_0x5123e6,_0x4fb6e5,_0x37e809);_0x52d482[_0x139332(0x352)]=class extends _0x46e193[_0x139332(0x2a8)]{constructor(_0x1ea1dd,_0x25cdee,_0x53d053,_0x2800d4,_0x230da2){var _0xd1ab74=_0x139332;super(_0x1ea1dd,_0x25cdee,_0x53d053),this[_0xd1ab74(0xc1)]=_0x2800d4,this[_0xd1ab74(0x1d0)]=_0x230da2;}[_0x139332(0x356)](_0x3d025d,_0x473b05){var _0x48f59=_0x139332;const _0x148825=this[_0x48f59(0x3ea)](_0x3d025d);if(_0x148825)try{const _0x53497d=this[_0x48f59(0x253)](_0x148825,_0x473b05);this[_0x48f59(0x18a)](_0x3d025d,_0x53497d);}catch(_0xa4d3ea){this[_0x48f59(0x1d0)][_0x48f59(0x3ca)](_0x48f59(0x37e),_0xa4d3ea),this[_0x48f59(0x3c8)](_0x3d025d);}const _0x131de2=this[_0x48f59(0x11f)](_0x3d025d);if(_0x131de2)try{const _0xe23f24=this[_0x48f59(0x253)](_0x131de2,_0x473b05);this[_0x48f59(0x103)](_0x3d025d,_0xe23f24);}catch(_0x4ca457){this['_logService'][_0x48f59(0x3ca)](_0x4ca457),this[_0x48f59(0x3be)](_0x3d025d);}}[_0x139332(0x3c8)](_0x7c5f8c){var _0x4f7b0d=_0x139332;const _0x3f5e6a=this[_0x4f7b0d(0x3ea)](_0x7c5f8c);_0x3f5e6a&&(_0x3f5e6a[_0x4f7b0d(0x295)]=0x0,this[_0x4f7b0d(0x165)]());}[_0x139332(0x3be)](_0x36a6f2){var _0x45bf1e=_0x139332;const _0x4b8ebe=this[_0x45bf1e(0x11f)](_0x36a6f2);_0x4b8ebe&&(_0x4b8ebe[_0x45bf1e(0x295)]=0x0,this[_0x45bf1e(0x165)]());}[_0x139332(0x18a)](_0x5b7ec7,_0x350bb9){var _0x41770b=_0x139332;this[_0x41770b(0x24c)][_0x41770b(0x3e3)](_0x5b7ec7,_0x350bb9),this[_0x41770b(0x165)]();}[_0x139332(0x103)](_0x5a07b4,_0x450d36){this['_redoStacks']['set'](_0x5a07b4,_0x450d36),this['_updateStatus']();}['_transformStack'](_0x46d1e4,_0x43396f){var _0x26b17a=_0x139332;const _0x5361da=[];let _0x481525=_0x43396f,_0x4b6794=_0x43396f;for(let _0x4c60c5=_0x46d1e4['length']-0x1;_0x4c60c5>=0x0;_0x4c60c5--){const {unitID:_0x1be680,undoMutations:_0x5f39b4,redoMutations:_0x875b8e}=_0x46d1e4[_0x4c60c5],_0x13d863=this[_0x26b17a(0xc1)][_0x26b17a(0x151)](_0x481525,_0x5f39b4),_0x497b1d=this[_0x26b17a(0xc1)][_0x26b17a(0x151)](_0x4b6794,_0x875b8e);if(_0x578bc2[_0x26b17a(0x1ab)](_0x13d863)||_0x578bc2[_0x26b17a(0x1ab)](_0x497b1d)){this['_logService'][_0x26b17a(0x3ca)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x13d863,_0x497b1d);break;}_0x481525=_0x13d863['c1Prime'],_0x4b6794=_0x497b1d[_0x26b17a(0x372)],_0x5361da[_0x26b17a(0x34b)]({'unitID':_0x1be680,'undoMutations':_0x13d863[_0x26b17a(0x235)],'redoMutations':_0x497b1d['m2Prime']});}return _0x5361da['reverse']();}},_0x52d482[_0x139332(0x352)]=_0xba2ac6([_0x4dcb06(0x0,_0x46e193[_0x139332(0xb9)]),_0x4dcb06(0x1,_0x46e193[_0x139332(0xd3)]),_0x4dcb06(0x2,_0x46e193[_0x139332(0x161)]),_0x4dcb06(0x3,_0x578bc2['ITransformService']),_0x4dcb06(0x4,_0x46e193[_0x139332(0x1ed)])],_0x52d482[_0x139332(0x352)]);var _0x27bdb0=Object[_0x139332(0x1b3)],_0x1cde92=Object[_0x139332(0x212)],_0x475135=(_0xe5b9b3,_0x402def,_0x5e4559)=>_0x402def in _0xe5b9b3?_0x27bdb0(_0xe5b9b3,_0x402def,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e4559}):_0xe5b9b3[_0x402def]=_0x5e4559,_0x3aaae7=(_0x276ba6,_0x2562b7,_0x3304ab,_0x67e7f)=>{for(var _0x33ba87=_0x67e7f>0x1?void 0x0:_0x67e7f?_0x1cde92(_0x2562b7,_0x3304ab):_0x2562b7,_0x279152=_0x276ba6['length']-0x1,_0x33cdad;_0x279152>=0x0;_0x279152--)(_0x33cdad=_0x276ba6[_0x279152])&&(_0x33ba87=_0x33cdad(_0x33ba87)||_0x33ba87);return _0x33ba87;},_0x15c128=(_0x163d9,_0x58a1fb)=>(_0x15f634,_0x3bcbdd)=>_0x58a1fb(_0x15f634,_0x3bcbdd,_0x163d9),_0x191093=(_0x23fcf1,_0xe4c9fe,_0x5d3a39)=>_0x475135(_0x23fcf1,_0xe4c9fe+'',_0x5d3a39);const _0x114cfd=_0x139332(0x1f4);_0x52d482['UniverCollaborationClientPlugin']=class extends _0x46e193['Plugin']{constructor(_0x5a1712,_0x121319,_0x3837f4,_0x406fe0){var _0x915cd2=_0x139332;super(),_0x3332c7(this,_0x915cd2(0x322)),(this[_0x915cd2(0x1d0)]=_0x121319,this[_0x915cd2(0xaa)]=_0x3837f4,this[_0x915cd2(0x248)]=_0x406fe0);const {..._0x19aafd}=_0x46e193[_0x915cd2(0x12b)]({},_0x422ee9,_0x5a1712);if(!_0x19aafd[_0x915cd2(0x1c5)])throw new Error(_0x915cd2(0x3aa));this[_0x915cd2(0x322)]=_0x19aafd,this[_0x915cd2(0x248)][_0x915cd2(0x2c7)](_0x38cef3,_0x19aafd);}['onStarting'](){var _0xf7962d=_0x139332;this[_0xf7962d(0x2ea)](),this[_0xf7962d(0xe7)]();}['_registerDependencies'](){var _0x38c5dd=_0x139332,_0x481b2b,_0x48a98a;this[_0x38c5dd(0xaa)][_0x38c5dd(0x22a)](_0x46e193['IUndoRedoService'])&&this[_0x38c5dd(0x1d0)]['error']('[UniverCollaborationClientPlugin]',_0x38c5dd(0x1e8));const _0x5e6f1c=_0x46e193['mergeOverrideWithDependencies']([[_0x46e193[_0x38c5dd(0x3ba)],{'useClass':_0x52d482[_0x38c5dd(0x352)]}],[_0x52d482[_0x38c5dd(0x1b0)]],[_0x52d482[_0x38c5dd(0x3d9)]],[_0x52d482[_0x38c5dd(0x1f5)]],[_0x414a3b],[_0x438c29],[_0x3d0d6a],[_0x5d1d30],[_0xc27cb3],[_0x52d482['DataLoaderService']],[_0x57867e,{'useClass':this[_0x38c5dd(0x322)][_0x38c5dd(0x1c5)]}],[_0x578bc2['ISnapshotServerService'],{'useClass':_0x52d482[_0x38c5dd(0xb8)]}],[_0x46e193[_0x38c5dd(0x196)],{'useClass':_0x52d482[_0x38c5dd(0x108)]}],[_0x3f3555[_0x38c5dd(0xc6)],{'useClass':_0x52d482['CollaborationImageIoService']}],[_0x46e193[_0x38c5dd(0xcc)],{'useClass':_0x52d482[_0x38c5dd(0x35e)]}],[_0x52d482[_0x38c5dd(0x39f)]],[_0x308125]],(_0x481b2b=this['_config'])==null?void 0x0:_0x481b2b[_0x38c5dd(0x406)]);if(!((_0x48a98a=this['_config'])!=null&&_0x48a98a[_0x38c5dd(0x361)])){const _0x70e380=_0x5e6f1c['findIndex'](([_0x5db96c])=>_0x5db96c===_0x3dfedb);_0x70e380!==-0x1&&_0x5e6f1c[_0x38c5dd(0x234)](_0x70e380,0x1);}_0x46e193[_0x38c5dd(0xec)](this['_injector'],_0x5e6f1c);}[_0x139332(0xe7)](){var _0x5a4320=_0x139332,_0x5bca04,_0x466b41,_0x516fac;this[_0x5a4320(0xaa)][_0x5a4320(0x1f1)](_0x4c86e5[_0x5a4320(0x1a0)])[_0x5a4320(0x38b)]({'priority':0x14,'interceptor':_0x4c86e5[_0x5a4320(0xe1)]({'maxParallel':0x6})}),(_0x5bca04=this[_0x5a4320(0x322)])!=null&&_0x5bca04[_0x5a4320(0x125)]||(_0x466b41=this[_0x5a4320(0xaa)][_0x5a4320(0x1f1)](_0x5f00af,_0x46e193[_0x5a4320(0x19c)][_0x5a4320(0x382)]))==null||_0x466b41[_0x5a4320(0x245)](),(_0x516fac=this[_0x5a4320(0x322)])!=null&&_0x516fac[_0x5a4320(0x1b6)]&&_0x46e193[_0x5a4320(0x401)](this[_0x5a4320(0xaa)],[[_0x414a3b]]),_0x46e193[_0x5a4320(0x401)](this[_0x5a4320(0xaa)],[[_0x438c29],[_0x52d482[_0x5a4320(0x39f)]],[_0x5d1d30]]);}},_0x191093(_0x52d482[_0x139332(0x28a)],_0x139332(0x13e),_0x114cfd),_0x52d482[_0x139332(0x28a)]=_0x3aaae7([_0x46e193['DependentOn'](_0x578bc2['UniverCollaborationPlugin'],_0x4c86e5[_0x139332(0x38d)]),_0x15c128(0x1,_0x46e193['ILogService']),_0x15c128(0x2,_0x46e193[_0x139332(0x9e)](_0x46e193[_0x139332(0x2b8)])),_0x15c128(0x3,_0x46e193[_0x139332(0x1c6)])],_0x52d482['UniverCollaborationClientPlugin']),_0x52d482[_0x139332(0x37c)]=_0xc8daaf,_0x52d482[_0x139332(0x232)]=_0x38cef3,_0x52d482[_0x139332(0x169)]=_0x58deaa,_0x52d482[_0x139332(0x205)]=_0x3edcda,_0x52d482[_0x139332(0x37b)]=_0x211da6,_0x52d482[_0x139332(0x2a1)]=_0x117dfc,_0x52d482[_0x139332(0x407)]=_0xc27cb3,_0x52d482[_0x139332(0x20e)]=_0x3d0d6a,_0x52d482[_0x139332(0x166)]=_0x179566,_0x52d482['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x3ab6a6,_0x52d482[_0x139332(0xee)]=_0x538eb2,_0x52d482[_0x139332(0x213)]=_0x821e72,_0x52d482['HEARTBEAT_TIMEOUT_KEY']=_0x1fbb93,_0x52d482[_0x139332(0xb4)]=_0x57867e,_0x52d482[_0x139332(0x26a)]=_0x5f00af,_0x52d482[_0x139332(0x418)]=_0x4b654c,_0x52d482['ISingleActiveUnitService']=_0x3dfedb,_0x52d482[_0x139332(0x404)]=0x3e8,_0x52d482['LOCAL_CACHE_INTERVAL_KEY']=_0x5175aa,_0x52d482[_0x139332(0x236)]=_0x4bf5eb,_0x52d482['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x347144,_0x52d482[_0x139332(0x3a9)]=_0x52db60,_0x52d482[_0x139332(0x2ab)]=_0x1883a9,_0x52d482['SNAPSHOT_SERVER_URL_KEY']=_0x9122dc,_0x52d482['SNAPSHOT_URL_KEY']=_0x2f7286,_0x52d482[_0x139332(0x126)]=_0xb21791,_0x52d482[_0x139332(0x210)]=_0x4b4b3e,_0x52d482['deserializeToCombResponse']=_0x12de71,_0x52d482[_0x139332(0x323)]=_0x28d546,_0x52d482['serializeCombRequest']=_0x350e45,Object[_0x139332(0x1b3)](_0x52d482,Symbol['toStringTag'],{'value':_0x139332(0x288)});}));
1
+ function _0x4de2(_0x345260,_0x3b73b7){var _0x24e24f=_0x24e2();return _0x4de2=function(_0x4de2de,_0x816a43){_0x4de2de=_0x4de2de-0x1a6;var _0x27bc18=_0x24e24f[_0x4de2de];return _0x27bc18;},_0x4de2(_0x345260,_0x3b73b7);}(function(_0x16b24f,_0x2269bd){var _0x4787c6=_0x4de2,_0x3aab38=_0x16b24f();while(!![]){try{var _0xeefd8a=parseInt(_0x4787c6(0x39a))/0x1+-parseInt(_0x4787c6(0x3ff))/0x2+-parseInt(_0x4787c6(0x372))/0x3+-parseInt(_0x4787c6(0x2a8))/0x4*(-parseInt(_0x4787c6(0x283))/0x5)+-parseInt(_0x4787c6(0x518))/0x6*(parseInt(_0x4787c6(0x45f))/0x7)+parseInt(_0x4787c6(0x2ae))/0x8+parseInt(_0x4787c6(0x275))/0x9*(parseInt(_0x4787c6(0x522))/0xa);if(_0xeefd8a===_0x2269bd)break;else _0x3aab38['push'](_0x3aab38['shift']());}catch(_0x23d680){_0x3aab38['push'](_0x3aab38['shift']());}}}(_0x24e2,0x837c2),function(_0x373902,_0x4c7ceb){var _0x4085cc=_0x4de2;typeof exports==_0x4085cc(0x4f5)&&typeof module<'u'?_0x4c7ceb(exports,require('@univerjs/core'),require('rxjs'),require(_0x4085cc(0x530)),require(_0x4085cc(0x37c)),require(_0x4085cc(0x4bb)),require(_0x4085cc(0x4fb)),require(_0x4085cc(0x215)),require(_0x4085cc(0x24a)),require(_0x4085cc(0x2be)),require(_0x4085cc(0x2c8))):typeof define==_0x4085cc(0x1b2)&&define[_0x4085cc(0x320)]?define([_0x4085cc(0x4aa),_0x4085cc(0x2b2),_0x4085cc(0x235),_0x4085cc(0x530),_0x4085cc(0x37c),_0x4085cc(0x4bb),_0x4085cc(0x4fb),'@univerjs/docs',_0x4085cc(0x24a),_0x4085cc(0x2be),_0x4085cc(0x2c8)],_0x4c7ceb):(_0x373902=typeof globalThis<'u'?globalThis:_0x373902||self,_0x4c7ceb(_0x373902[_0x4085cc(0x31f)]={},_0x373902[_0x4085cc(0x2ba)],_0x373902['rxjs'],_0x373902[_0x4085cc(0x235)][_0x4085cc(0x25b)],_0x373902[_0x4085cc(0x481)],_0x373902['UniverNetwork'],_0x373902[_0x4085cc(0x3b4)],_0x373902[_0x4085cc(0x51d)],_0x373902['UniverSheets'],_0x373902[_0x4085cc(0x246)],_0x373902[_0x4085cc(0x2e0)]));}(this,function(_0x53fa2a,_0x3dce8d,_0x5affe0,_0x35d931,_0x467e2c,_0x548713,_0x56204e,_0x2ea0b8,_0x56f059,_0x2cbdb1,_0x5ca9dc){'use strict';var _0x504a5f=_0x4de2;var _0x3560ea=Object[_0x504a5f(0x360)],_0x35a580=(_0x22e8b5,_0x2f95ea,_0xda8e58)=>_0x2f95ea in _0x22e8b5?_0x3560ea(_0x22e8b5,_0x2f95ea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xda8e58}):_0x22e8b5[_0x2f95ea]=_0xda8e58,_0x2d5efa=(_0x57b404,_0x28e070,_0x148057)=>_0x35a580(_0x57b404,typeof _0x28e070!=_0x504a5f(0x4e9)?_0x28e070+'':_0x28e070,_0x148057);const _0x33f84e='SNAPSHOT_SERVER_URL_KEY',_0x57daa3='/universer-api/snapshot',_0x27bf93=_0x504a5f(0x392),_0x2e5395=_0x504a5f(0x349),_0xf287d7=_0x504a5f(0x50f),_0x1c4883='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3465a2='/universer-api/user/session-ticket',_0x5ea015=_0x504a5f(0x303),_0x2ce149=_0x504a5f(0x3eb),_0x3fbb12=_0x504a5f(0x508),_0x1b9b49=_0x504a5f(0x305),_0x2db2eb=_0x504a5f(0x496),_0x221390=_0x504a5f(0x2e8),_0x2e4d5f=_0x504a5f(0x33b),_0xb5dde1=_0x504a5f(0x4c8),_0x1fac85=_0x504a5f(0x41f),_0x18baa1=_0x504a5f(0x3e0);var _0x1546a3=(_0x20e2b6=>(_0x20e2b6[_0x20e2b6[_0x504a5f(0x506)]=0x0]='UNDEFINED',_0x20e2b6[_0x20e2b6['OK']=0x1]='OK',_0x20e2b6[_0x20e2b6[_0x504a5f(0x2dd)]=0x2]=_0x504a5f(0x2dd),_0x20e2b6[_0x20e2b6[_0x504a5f(0x4f0)]=0x3]='PERMISSION_DENIED',_0x20e2b6[_0x20e2b6['NOT_FOUND']=0x4]=_0x504a5f(0x456),_0x20e2b6[_0x20e2b6['UNAUTHENTICATED']=0x5]=_0x504a5f(0x2cf),_0x20e2b6[_0x20e2b6[_0x504a5f(0x49f)]=0x6]=_0x504a5f(0x49f),_0x20e2b6[_0x20e2b6[_0x504a5f(0x255)]=0x7]=_0x504a5f(0x255),_0x20e2b6[_0x20e2b6[_0x504a5f(0x2e1)]=0x8]=_0x504a5f(0x2e1),_0x20e2b6[_0x20e2b6[_0x504a5f(0x350)]=0x9]=_0x504a5f(0x350),_0x20e2b6[_0x20e2b6[_0x504a5f(0x509)]=0xa]=_0x504a5f(0x509),_0x20e2b6[_0x20e2b6[_0x504a5f(0x474)]=0x1389]=_0x504a5f(0x474),_0x20e2b6[_0x20e2b6[_0x504a5f(0x533)]=0x1771]=_0x504a5f(0x533),_0x20e2b6[_0x20e2b6['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x504a5f(0x32f),_0x20e2b6[_0x20e2b6[_0x504a5f(0x20f)]=0x1773]=_0x504a5f(0x20f),_0x20e2b6[_0x20e2b6['APPLY_REJECT']=0x1b59]=_0x504a5f(0x1f1),_0x20e2b6[_0x20e2b6[_0x504a5f(0x41e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x20e2b6[_0x20e2b6[_0x504a5f(0x4a9)]=0x1b5b]=_0x504a5f(0x4a9),_0x20e2b6[_0x20e2b6[_0x504a5f(0x2fb)]=0x1b5c]=_0x504a5f(0x2fb),_0x20e2b6[_0x20e2b6[_0x504a5f(0x417)]=0x1b5d]=_0x504a5f(0x417),_0x20e2b6[_0x20e2b6[_0x504a5f(0x3b2)]=0x1f41]=_0x504a5f(0x3b2),_0x20e2b6[_0x20e2b6['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x504a5f(0x46d),_0x20e2b6[_0x20e2b6[_0x504a5f(0x361)]=0x232a]=_0x504a5f(0x361),_0x20e2b6[_0x20e2b6[_0x504a5f(0x374)]=0x232b]=_0x504a5f(0x374),_0x20e2b6[_0x20e2b6[_0x504a5f(0x4f6)]=0x232c]=_0x504a5f(0x4f6),_0x20e2b6[_0x20e2b6[_0x504a5f(0x45d)]=0x232d]=_0x504a5f(0x45d),_0x20e2b6[_0x20e2b6[_0x504a5f(0x1d7)]=0x2711]=_0x504a5f(0x1d7),_0x20e2b6[_0x20e2b6[_0x504a5f(0x4d0)]=0x2712]=_0x504a5f(0x4d0),_0x20e2b6[_0x20e2b6['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x504a5f(0x3f4),_0x20e2b6[_0x20e2b6['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x504a5f(0x2bf),_0x20e2b6[_0x20e2b6[_0x504a5f(0x2db)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x20e2b6[_0x20e2b6[_0x504a5f(0x245)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x20e2b6[_0x20e2b6[_0x504a5f(0x407)]=0x271c]=_0x504a5f(0x407),_0x20e2b6[_0x20e2b6[_0x504a5f(0x333)]=0x271d]=_0x504a5f(0x333),_0x20e2b6[_0x20e2b6[_0x504a5f(0x1f2)]=0x271e]=_0x504a5f(0x1f2),_0x20e2b6[_0x20e2b6[_0x504a5f(0x4df)]=0x271f]=_0x504a5f(0x4df),_0x20e2b6[_0x20e2b6[_0x504a5f(0x490)]=0x2af9]=_0x504a5f(0x490),_0x20e2b6[_0x20e2b6[_0x504a5f(0x384)]=0x2ee1]=_0x504a5f(0x384),_0x20e2b6[_0x20e2b6[_0x504a5f(0x38a)]=0x2ee2]='INVALID_INVITE_CODE',_0x20e2b6[_0x20e2b6[_0x504a5f(0x24c)]=0x2ee3]=_0x504a5f(0x24c),_0x20e2b6[_0x20e2b6[_0x504a5f(0x2ee)]=0x2ee4]=_0x504a5f(0x2ee),_0x20e2b6[_0x20e2b6[_0x504a5f(0x4ac)]=0x2ee5]=_0x504a5f(0x4ac),_0x20e2b6[_0x20e2b6[_0x504a5f(0x2f5)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x20e2b6[_0x20e2b6[_0x504a5f(0x46b)]=0x32ca]=_0x504a5f(0x46b),_0x20e2b6[_0x20e2b6['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x504a5f(0x1d1),_0x20e2b6[_0x20e2b6[_0x504a5f(0x359)]=-0x1]=_0x504a5f(0x359),_0x20e2b6))(_0x1546a3||{}),_0x4dd826=(_0x3dbb33=>(_0x3dbb33[_0x3dbb33[_0x504a5f(0x495)]=0x0]='UNIVER_UNKNOWN',_0x3dbb33[_0x3dbb33['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x3dbb33[_0x3dbb33[_0x504a5f(0x3e2)]=0x2]=_0x504a5f(0x3e2),_0x3dbb33[_0x3dbb33[_0x504a5f(0x4e1)]=0x3]=_0x504a5f(0x4e1),_0x3dbb33[_0x3dbb33['UNIVER_PROJECT']=0x4]=_0x504a5f(0x403),_0x3dbb33[_0x3dbb33[_0x504a5f(0x359)]=-0x1]=_0x504a5f(0x359),_0x3dbb33))(_0x4dd826||{}),_0x1456b3=(_0x309d40=>(_0x309d40[_0x309d40[_0x504a5f(0x38b)]=0x0]='UNKNOWN_CMD',_0x309d40[_0x309d40[_0x504a5f(0x1f6)]=0x1]=_0x504a5f(0x1f6),_0x309d40[_0x309d40[_0x504a5f(0x1d6)]=0x2]=_0x504a5f(0x1d6),_0x309d40[_0x309d40[_0x504a5f(0x2f3)]=0x3]='LEAVE',_0x309d40[_0x309d40['INGEST']=0x4]=_0x504a5f(0x370),_0x309d40[_0x309d40['HEARTBEAT']=0x5]=_0x504a5f(0x2bd),_0x309d40[_0x309d40[_0x504a5f(0x26d)]=0x6]=_0x504a5f(0x26d),_0x309d40[_0x309d40[_0x504a5f(0x359)]=-0x1]=_0x504a5f(0x359),_0x309d40))(_0x1456b3||{}),_0x1d39d9=(_0x1eeb00=>(_0x1eeb00[_0x1eeb00[_0x504a5f(0x432)]=0x0]=_0x504a5f(0x432),_0x1eeb00[_0x1eeb00['OK']=0x1]='OK',_0x1eeb00[_0x1eeb00[_0x504a5f(0x31c)]=0x2]=_0x504a5f(0x31c),_0x1eeb00[_0x1eeb00[_0x504a5f(0x43c)]=0x3e9]='JOIN_ROOM_FULL',_0x1eeb00[_0x1eeb00[_0x504a5f(0x494)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x1eeb00[_0x1eeb00['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x504a5f(0x1b7),_0x1eeb00[_0x1eeb00['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x504a5f(0x4b9),_0x1eeb00[_0x1eeb00[_0x504a5f(0x359)]=-0x1]=_0x504a5f(0x359),_0x1eeb00))(_0x1d39d9||{}),_0x44d4c4=(_0x535427=>(_0x535427[_0x535427[_0x504a5f(0x327)]=0x0]=_0x504a5f(0x327),_0x535427[_0x535427['HttpImport']=0x1]='HttpImport',_0x535427[_0x535427[_0x504a5f(0x37b)]=0x2]=_0x504a5f(0x37b),_0x535427[_0x535427[_0x504a5f(0x4d8)]=0x3]='UnitEmbedded',_0x535427[_0x535427['UnitSnapshot']=0x4]=_0x504a5f(0x4d6),_0x535427[_0x535427[_0x504a5f(0x321)]=0x5]=_0x504a5f(0x321),_0x535427[_0x535427[_0x504a5f(0x359)]=-0x1]=_0x504a5f(0x359),_0x535427))(_0x44d4c4||{});const _0x25f3a7=_0x504a5f(0x32d),_0x587dcc={};var _0x5d81cf=(_0x756bf4=>(_0x756bf4['OTHER_CLIENT_EDITING']=_0x504a5f(0x468),_0x756bf4[_0x504a5f(0x4f0)]=_0x504a5f(0x4f0),_0x756bf4['CONFLICT']=_0x504a5f(0x3f5),_0x756bf4[_0x504a5f(0x51e)]=_0x504a5f(0x51e),_0x756bf4[_0x504a5f(0x3f0)]=_0x504a5f(0x3f0),_0x756bf4[_0x504a5f(0x1ca)]=_0x504a5f(0x1ca),_0x756bf4['SOCKET_FAILED']=_0x504a5f(0x23f),_0x756bf4[_0x504a5f(0x455)]=_0x504a5f(0x455),_0x756bf4))(_0x5d81cf||{});class _0x1fdf46{constructor(){var _0x2f3026=_0x504a5f;_0x2d5efa(this,_0x2f3026(0x413),new _0x5affe0['Subject']()),_0x2d5efa(this,_0x2f3026(0x2a7),this['_event$'][_0x2f3026(0x2b3)]());}[_0x504a5f(0x332)](_0x5415f2){var _0x408ca1=_0x504a5f;this[_0x408ca1(0x413)]['next'](_0x5415f2);}}const _0x44c80f=_0x3dce8d[_0x504a5f(0x4c1)](_0x504a5f(0x279));function _0x4fd3ff(_0x14ec3c){var _0x4f91f5=_0x504a5f,_0x135ffb,_0x46eed9,_0xe46298,_0x2faee4,_0x50c0b5;const _0x37d954=_0x14ec3c[_0x4f91f5(0x298)],_0xd6263b=JSON[_0x4f91f5(0x21f)](_0x37d954);switch(_0xd6263b[_0x4f91f5(0x377)]){case _0x1456b3[_0x4f91f5(0x2bd)]:case _0x1456b3['HELLO']:{const _0xf94fae=_0xd6263b[_0x4f91f5(0x2f1)];return{..._0xd6263b,'data':_0xf94fae,'cmd':_0xd6263b[_0x4f91f5(0x377)]};}case _0x1456b3[_0x4f91f5(0x1d6)]:{const _0x3f2782=_0xd6263b[_0x4f91f5(0x4bc)];return{..._0xd6263b,'data':_0x3f2782,'cmd':_0xd6263b[_0x4f91f5(0x377)]};}case _0x1456b3[_0x4f91f5(0x26d)]:{const _0x3a9f65=_0xd6263b['collaMsg'];switch(_0x3a9f65['eventID']){case _0x467e2c[_0x4f91f5(0x503)]['PERMISSION_REJ']:return{..._0xd6263b,'data':{..._0x3a9f65,'data':(_0x135ffb=_0x3a9f65['permissionRejEvent'])==null?void 0x0:_0x135ffb['cs']},'cmd':_0xd6263b[_0x4f91f5(0x377)]};case _0x467e2c[_0x4f91f5(0x503)]['CHANGESET_ACK']:return{..._0xd6263b,'data':{..._0x3a9f65,'data':(_0x46eed9=_0x3a9f65[_0x4f91f5(0x311)])==null?void 0x0:_0x46eed9['cs']},'cmd':_0xd6263b[_0x4f91f5(0x377)]};case _0x467e2c[_0x4f91f5(0x503)][_0x4f91f5(0x409)]:return{..._0xd6263b,'data':{..._0x3a9f65,'data':(_0xe46298=_0x3a9f65[_0x4f91f5(0x434)])==null?void 0x0:_0xe46298['cs']},'cmd':_0xd6263b['cmd']};case _0x467e2c[_0x4f91f5(0x503)]['CHANGESET_REJ']:return{..._0xd6263b,'data':{..._0x3a9f65,'data':(_0x2faee4=_0x3a9f65['csRejEvent'])==null?void 0x0:_0x2faee4['cs']},'cmd':_0xd6263b[_0x4f91f5(0x377)]};case _0x467e2c[_0x4f91f5(0x503)][_0x4f91f5(0x410)]:return{..._0xd6263b,'data':{..._0x3a9f65,'data':(_0x50c0b5=_0x3a9f65[_0x4f91f5(0x2e3)])==null?void 0x0:_0x50c0b5['cs']},'cmd':_0xd6263b[_0x4f91f5(0x377)]};case _0x467e2c[_0x4f91f5(0x503)][_0x4f91f5(0x1b4)]:return{..._0xd6263b,'data':{..._0x3a9f65,'data':_0x3a9f65[_0x4f91f5(0x254)]},'cmd':_0xd6263b[_0x4f91f5(0x377)]};case _0x467e2c[_0x4f91f5(0x503)][_0x4f91f5(0x22e)]:return{..._0xd6263b,'data':{..._0x3a9f65,'data':_0x3a9f65[_0x4f91f5(0x537)]},'cmd':_0xd6263b[_0x4f91f5(0x377)]};case _0x467e2c['CollaborationEvent'][_0x4f91f5(0x37f)]:return{..._0xd6263b,'data':{..._0x3a9f65,'data':_0x3a9f65[_0x4f91f5(0x447)]},'cmd':_0xd6263b['cmd']};case _0x467e2c['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0xd6263b,'data':{..._0x3a9f65,'data':_0x3a9f65[_0x4f91f5(0x536)]},'cmd':_0xd6263b[_0x4f91f5(0x377)]};case _0x467e2c[_0x4f91f5(0x503)][_0x4f91f5(0x32a)]:case _0x467e2c[_0x4f91f5(0x503)]['LIVESHARE_OPERATION']:return{..._0xd6263b,'data':{..._0x3a9f65,'data':_0x3a9f65[_0x4f91f5(0x4cf)]},'cmd':_0xd6263b[_0x4f91f5(0x377)]};case _0x467e2c[_0x4f91f5(0x503)][_0x4f91f5(0x3ca)]:return{..._0xd6263b,'data':{..._0x3a9f65,'data':_0x3a9f65['liveShareNewHost']},'cmd':_0xd6263b['cmd']};case _0x467e2c[_0x4f91f5(0x503)][_0x4f91f5(0x373)]:return{..._0xd6263b,'data':_0x3a9f65,'cmd':_0xd6263b[_0x4f91f5(0x377)]};case _0x467e2c['CollaborationEvent'][_0x4f91f5(0x51a)]:return{..._0xd6263b,'data':{..._0x3a9f65,'data':_0x3a9f65['commentUpdateEvent']},'cmd':_0xd6263b['cmd']};case _0x467e2c[_0x4f91f5(0x503)][_0x4f91f5(0x4ea)]:return{..._0xd6263b,'data':{..._0x3a9f65,'data':_0x3a9f65[_0x4f91f5(0x3d1)]},'cmd':_0xd6263b[_0x4f91f5(0x377)]};case _0x467e2c[_0x4f91f5(0x503)][_0x4f91f5(0x40e)]:return{..._0xd6263b,'data':{..._0x3a9f65,'data':_0x3a9f65[_0x4f91f5(0x535)]},'cmd':_0xd6263b[_0x4f91f5(0x377)]};case _0x467e2c[_0x4f91f5(0x503)]['UNISCRIPT_RUN']:return{..._0xd6263b,'data':{..._0x3a9f65,'data':_0x3a9f65[_0x4f91f5(0x2c1)]},'cmd':_0xd6263b[_0x4f91f5(0x377)]};default:return _0xd6263b;}}default:return _0xd6263b;}}function _0x3fd145(_0x49c568){var _0x51056a=_0x504a5f;switch(_0x49c568[_0x51056a(0x377)]){case _0x1456b3['HEARTBEAT']:case _0x1456b3['HELLO']:return JSON[_0x51056a(0x4bd)]({'cmd':_0x49c568['cmd'],'routeKey':_0x49c568[_0x51056a(0x4d4)]});case _0x1456b3['INGEST']:{let _0x3b2f2b;switch(_0x49c568[_0x51056a(0x298)][_0x51056a(0x259)]){case _0x467e2c[_0x51056a(0x503)][_0x51056a(0x1b4)]:{_0x3b2f2b={'eventID':_0x467e2c[_0x51056a(0x503)][_0x51056a(0x1b4)],'updateCursorEvent':_0x49c568[_0x51056a(0x298)][_0x51056a(0x298)]};break;}case _0x467e2c['CollaborationEvent'][_0x51056a(0x37f)]:{_0x3b2f2b={'eventID':_0x467e2c[_0x51056a(0x503)][_0x51056a(0x37f)],'leaveEvent':_0x49c568[_0x51056a(0x298)][_0x51056a(0x298)]};break;}case _0x467e2c[_0x51056a(0x503)]['USERS_ENTER']:{_0x3b2f2b={'eventID':_0x467e2c[_0x51056a(0x503)][_0x51056a(0x22e)],'joinEvent':_0x49c568[_0x51056a(0x298)]['data']};break;}case _0x467e2c[_0x51056a(0x503)][_0x51056a(0x50c)]:{_0x3b2f2b={'eventID':_0x467e2c['CollaborationEvent'][_0x51056a(0x50c)],'liveShareNewHost':_0x49c568[_0x51056a(0x298)][_0x51056a(0x298)]};break;}case _0x467e2c[_0x51056a(0x503)][_0x51056a(0x238)]:{_0x3b2f2b={'eventID':_0x467e2c[_0x51056a(0x503)][_0x51056a(0x238)],'liveShareOperation':_0x49c568[_0x51056a(0x298)][_0x51056a(0x298)]};break;}case _0x467e2c[_0x51056a(0x503)]['LIVESHARE_TERMINATE']:{_0x3b2f2b={'eventID':_0x467e2c[_0x51056a(0x503)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x49c568[_0x51056a(0x298)]['data']};break;}case _0x467e2c[_0x51056a(0x503)]['LIVESHARE_REQUEST_HOST']:{_0x3b2f2b={'eventID':_0x467e2c['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x49c568['data'][_0x51056a(0x298)]};break;}case _0x467e2c[_0x51056a(0x503)][_0x51056a(0x32a)]:{_0x3b2f2b={'eventID':_0x467e2c['CollaborationEvent'][_0x51056a(0x32a)]};break;}default:_0x3b2f2b={'eventID':_0x49c568[_0x51056a(0x298)][_0x51056a(0x259)]};}return JSON[_0x51056a(0x4bd)]({'cmd':_0x49c568[_0x51056a(0x377)],'routeKey':_0x49c568[_0x51056a(0x4d4)],'collaMsg':_0x3b2f2b});}case _0x1456b3[_0x51056a(0x1d6)]:return JSON['stringify']({'cmd':_0x49c568[_0x51056a(0x377)],'routeKey':_0x49c568[_0x51056a(0x4d4)],'joinReq':_0x49c568[_0x51056a(0x298)]});case _0x1456b3[_0x51056a(0x2f3)]:return JSON[_0x51056a(0x4bd)]({'cmd':_0x49c568[_0x51056a(0x377)],'routeKey':_0x49c568[_0x51056a(0x4d4)],'leaveReq':_0x49c568[_0x51056a(0x298)]});default:throw new Error(_0x51056a(0x3c5));}}var _0x1dd898=Object[_0x504a5f(0x315)],_0x34b8df=(_0x472688,_0xd1968,_0x38af56,_0x29d985)=>{var _0x368427=_0x504a5f;for(var _0x195cd1=_0x29d985>0x1?void 0x0:_0x29d985?_0x1dd898(_0xd1968,_0x38af56):_0xd1968,_0x5568a8=_0x472688[_0x368427(0x3dd)]-0x1,_0x17473f;_0x5568a8>=0x0;_0x5568a8--)(_0x17473f=_0x472688[_0x5568a8])&&(_0x195cd1=_0x17473f(_0x195cd1)||_0x195cd1);return _0x195cd1;},_0x3934c6=(_0x34af16,_0x16463e)=>(_0x384a48,_0x21521e)=>_0x16463e(_0x384a48,_0x21521e,_0x34af16);const _0x21f719=_0x3dce8d['createIdentifier'](_0x504a5f(0x1b3));function _0x11de40(_0x5323c9,_0xd38f84,_0x170301){var _0x4aef47=_0x504a5f;return _0x5323c9+'/'+_0xd38f84+_0x4aef47(0x33a)+_0x170301+_0x4aef47(0x429);}_0x53fa2a[_0x504a5f(0x1f9)]=class extends _0x3dce8d[_0x504a5f(0x1ff)]{constructor(_0x585dac,_0x1518b5,_0x2f3917,_0x2856ce,_0x4632c0){var _0x45eeab=_0x504a5f;super(),this[_0x45eeab(0x452)]=_0x585dac,this[_0x45eeab(0x304)]=_0x1518b5,this['_configService']=_0x2f3917,this['_logService']=_0x2856ce,this[_0x45eeab(0x36f)]=_0x4632c0;}['_doCreateSocket'](_0x50a3bc){var _0x2f66c7=_0x504a5f;const _0xc92fb6=this[_0x2f66c7(0x452)][_0x2f66c7(0x460)](_0x548713[_0x2f66c7(0x1cd)]);if(!_0xc92fb6)throw new Error(_0x2f66c7(0x4a7));const _0x5efec1=_0xc92fb6[_0x2f66c7(0x428)](_0x50a3bc);if(!_0x5efec1)throw new Error(_0x2f66c7(0x30b));const _0x276e41=new _0x3dce8d[(_0x2f66c7(0x293))](),_0x31ff2f=new _0x5affe0['Subject']();_0x276e41[_0x2f66c7(0x286)](_0x5efec1[_0x2f66c7(0x3a2)][_0x2f66c7(0x4fc)](_0x2578fe=>_0x31ff2f[_0x2f66c7(0x331)](_0x2578fe))),_0x276e41['add'](_0x3dce8d[_0x2f66c7(0x46c)](()=>_0x31ff2f['complete']()));const _0x3c2c8b=new _0x5affe0[(_0x2f66c7(0x476))]();_0x276e41['add'](_0x5efec1[_0x2f66c7(0x209)][_0x2f66c7(0x4fc)](_0x392ebe=>_0x3c2c8b[_0x2f66c7(0x331)](_0x392ebe))),_0x276e41[_0x2f66c7(0x286)](_0x3dce8d[_0x2f66c7(0x46c)](()=>_0x3c2c8b[_0x2f66c7(0x1ee)]()));const _0x383340=new _0x5affe0[(_0x2f66c7(0x476))]();_0x276e41['add'](_0x5efec1[_0x2f66c7(0x3a8)]['subscribe'](_0x45eae5=>{var _0x131611=_0x2f66c7;const _0x129f99=_0x4fd3ff(_0x45eae5);_0x383340[_0x131611(0x331)](_0x129f99);})),_0x276e41['add'](_0x3dce8d[_0x2f66c7(0x46c)](()=>_0x383340[_0x2f66c7(0x1ee)]()));let _0x2c4c4e;const _0x1d889b=()=>{var _0x4887af=_0x2f66c7;_0x3c2c8b['next'](new Event('connection\x20error')),_0x31ff2f[_0x4887af(0x331)](new Event('connection\x20error')),_0x2c4c4e[_0x4887af(0x4e7)]();};return _0x2c4c4e={'memberID':'','close$':_0x31ff2f[_0x2f66c7(0x2b3)](),'error$':_0x3c2c8b[_0x2f66c7(0x2b3)](),'open$':_0x5efec1[_0x2f66c7(0x4ee)],'message$':_0x383340[_0x2f66c7(0x2b3)](),'send':_0x16d109=>{var _0x2d670a=_0x2f66c7;if(_0x16d109['cmd']===_0x1456b3[_0x2d670a(0x370)]){if(_0x16d109[_0x2d670a(0x298)][_0x2d670a(0x259)]===_0x467e2c[_0x2d670a(0x503)][_0x2d670a(0x2d2)]){this[_0x2d670a(0x4f7)](_0x2c4c4e,_0x16d109[_0x2d670a(0x298)])[_0x2d670a(0x29f)](_0x226375=>{var _0x77ff2e=_0x2d670a;this['_logService'][_0x77ff2e(0x4b4)](_0x226375),_0x1d889b();});return;}if(_0x16d109[_0x2d670a(0x298)]['eventID']===_0x467e2c['CollaborationEvent'][_0x2d670a(0x2fd)]){const _0x537a02=_0x16d109[_0x2d670a(0x298)];this[_0x2d670a(0x36e)](_0x537a02)[_0x2d670a(0x1fb)](_0x5557c3=>{var _0x3fc3a2=_0x2d670a;_0x383340[_0x3fc3a2(0x331)]({'cmd':_0x1456b3[_0x3fc3a2(0x26d)],'code':_0x1d39d9['OK'],'routeKey':_0x537a02['data'][_0x3fc3a2(0x1c1)],'routeType':'','data':{'eventID':_0x467e2c[_0x3fc3a2(0x503)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5557c3}}});})[_0x2d670a(0x29f)](_0x2a84b7=>{var _0x25613c=_0x2d670a;this[_0x25613c(0x4ef)][_0x25613c(0x4b4)](_0x2a84b7),_0x1d889b();});return;}}_0x5efec1['send'](_0x3fd145(_0x16d109));},'close':()=>{var _0x29db98=_0x2f66c7;_0x5efec1[_0x29db98(0x4e7)](),_0x276e41[_0x29db98(0x394)]();}},_0x2c4c4e;}async[_0x504a5f(0x4f7)](_0x2e0115,_0x39abe7){var _0x32c424=_0x504a5f,_0x3bf494,_0x445ef4;const {unitType:_0x3f4c9d,unitID:_0x19d09c,changeset:_0x2162f8}=_0x39abe7[_0x32c424(0x298)],_0xb63fdf={'unitID':_0x19d09c,'memberID':_0x2e0115['memberID'],'type':_0x3f4c9d,'changeset':_0x467e2c[_0x32c424(0x25e)](_0x2162f8)},_0x388258=this[_0x32c424(0x4e8)]['getConfig'](_0x2db2eb),_0x28280c=this['_configService'][_0x32c424(0x3cb)](_0x25f3a7),_0x40a324=_0x11de40((_0x445ef4=(_0x3bf494=_0x28280c==null?void 0x0:_0x28280c['collabSubmitChangesetUrl'])!=null?_0x3bf494:_0x388258)!=null?_0x445ef4:_0x221390,_0x3f4c9d,_0x19d09c);try{await this[_0x32c424(0x304)][_0x32c424(0x3b1)](_0x40a324,{'body':_0xb63fdf});}catch(_0x8b54e1){throw this[_0x32c424(0x4ef)][_0x32c424(0x4b4)](_0x32c424(0x4b0),_0x32c424(0x4db)),_0x8b54e1;}}async['_fetchMissChangesets'](_0x38df5a){var _0x57c276=_0x504a5f;const {unitID:_0x16f5a7,from:_0x4356c8,to:_0x3cc66a,unitType:_0x8ba5ec}=_0x38df5a[_0x57c276(0x298)];return(await this[_0x57c276(0x36f)][_0x57c276(0x2d8)]({'metadata':void 0x0},{'unitID':_0x16f5a7,'type':_0x8ba5ec,'from':_0x4356c8,'to':_0x3cc66a}))[_0x57c276(0x457)];}},_0x53fa2a['CollaborationSocketService']=_0x34b8df([_0x3934c6(0x0,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x1c0)])),_0x3934c6(0x1,_0x3dce8d[_0x504a5f(0x35a)](_0x548713['HTTPService'])),_0x3934c6(0x2,_0x3dce8d[_0x504a5f(0x4ca)]),_0x3934c6(0x3,_0x3dce8d[_0x504a5f(0x4fd)]),_0x3934c6(0x4,_0x467e2c[_0x504a5f(0x523)])],_0x53fa2a['CollaborationSocketService']);const _0x586c0a=_0x504a5f(0x2a3);function _0x5bc1d5(_0x3a182c){var _0x5175e1=_0x504a5f;return JSON[_0x5175e1(0x4bd)](_0x3a182c)[_0x5175e1(0x3dd)];}class _0x1d6704{constructor(){var _0x1a56cc=_0x504a5f;_0x2d5efa(this,_0x1a56cc(0x4fa),new _0x5affe0[(_0x1a56cc(0x476))]()),_0x2d5efa(this,_0x1a56cc(0x2da),this[_0x1a56cc(0x4fa)][_0x1a56cc(0x2b3)]());}[_0x504a5f(0x4ba)](_0x533b8d){var _0xb0963d=_0x504a5f;this[_0xb0963d(0x4fa)][_0xb0963d(0x331)](_0x533b8d);}}var _0x5716e7=Object['getOwnPropertyDescriptor'],_0x209856=(_0x4d37a9,_0xc8e13c,_0x528269,_0x1a7794)=>{for(var _0x56d0d9=_0x1a7794>0x1?void 0x0:_0x1a7794?_0x5716e7(_0xc8e13c,_0x528269):_0xc8e13c,_0x23bbd0=_0x4d37a9['length']-0x1,_0x4e3c99;_0x23bbd0>=0x0;_0x23bbd0--)(_0x4e3c99=_0x4d37a9[_0x23bbd0])&&(_0x56d0d9=_0x4e3c99(_0x56d0d9)||_0x56d0d9);return _0x56d0d9;},_0x1ce57e=(_0x497acf,_0x376f44)=>(_0x5574c0,_0x3420b7)=>_0x376f44(_0x5574c0,_0x3420b7,_0x497acf);_0x53fa2a[_0x504a5f(0x297)]=class extends _0x3dce8d[_0x504a5f(0x1ff)]{constructor(_0x32e5ea,_0x516147){var _0x582601=_0x504a5f;super(),_0x2d5efa(this,_0x582601(0x3e5),new Map()),_0x2d5efa(this,'_roomCreated$',new _0x5affe0[(_0x582601(0x476))]()),(this[_0x582601(0x3ed)]=_0x32e5ea,this['_userManagerService']=_0x516147,this[_0x582601(0x400)](_0x5affe0['merge'](this['_univerInstanceService'][_0x582601(0x2ca)](_0x3dce8d[_0x582601(0x203)]['UNIVER_SHEET'])['pipe'](_0x35d931[_0x582601(0x528)](_0x20b9dc=>_0x20b9dc[_0x582601(0x273)]())),this[_0x582601(0x3ed)][_0x582601(0x2ca)](_0x3dce8d[_0x582601(0x203)][_0x582601(0x3b0)])[_0x582601(0x1c4)](_0x35d931[_0x582601(0x528)](_0x5a6168=>_0x5a6168[_0x582601(0x273)]())),this[_0x582601(0x3ed)][_0x582601(0x2ca)](_0x3dce8d['UniverInstanceType'][_0x582601(0x4e1)])['pipe'](_0x35d931[_0x582601(0x528)](_0x2bfc60=>_0x2bfc60[_0x582601(0x273)]())))['subscribe'](_0x234408=>this[_0x582601(0x3ac)](_0x234408))));}[_0x504a5f(0x376)](_0x5c7c34){var _0x345a3e=_0x504a5f;return this[_0x345a3e(0x3e5)][_0x345a3e(0x28b)](_0x5c7c34)?_0x5affe0['of'](this[_0x345a3e(0x3e5)][_0x345a3e(0x460)](_0x5c7c34)):this[_0x345a3e(0x3c8)][_0x345a3e(0x1c4)](_0x35d931[_0x345a3e(0x528)](_0x35cce9=>{var _0x147204=_0x345a3e;if(_0x35cce9===_0x5c7c34)return this['_roomMembers'][_0x147204(0x460)](_0x35cce9);}));}[_0x504a5f(0x3d6)](_0x3b43d6){var _0x317f33=_0x504a5f;this[_0x317f33(0x1f0)][_0x317f33(0x3d6)](_0x3b43d6);}['getCurrentUser'](){var _0x392410=_0x504a5f;return this[_0x392410(0x1f0)][_0x392410(0x43d)]();}[_0x504a5f(0x256)](_0x55fa6e,_0xed7bf0){var _0x522a6f=_0x504a5f;let _0xe60b9a=this['_roomMembers'][_0x522a6f(0x460)](_0x55fa6e);_0xe60b9a||(_0xe60b9a=new _0x4142a6(),this['_roomMembers']['set'](_0x55fa6e,_0xe60b9a),this[_0x522a6f(0x3c8)]['next'](_0x55fa6e)),_0xe60b9a[_0x522a6f(0x256)](_0xed7bf0);}['removeMember'](_0x2280d5,_0x599eba){var _0x449ad4=_0x504a5f;const _0xd726e3=this['_roomMembers'][_0x449ad4(0x460)](_0x2280d5);_0xd726e3&&_0xd726e3[_0x449ad4(0x299)](_0x599eba);}[_0x504a5f(0x2d5)](_0x433982){var _0x3378d6=_0x504a5f;return this[_0x3378d6(0x3e5)]['get'](_0x433982);}[_0x504a5f(0x2a0)](_0x300eb6,_0x57dd56){var _0x428d36=_0x504a5f;const _0x18809a=this['_roomMembers'][_0x428d36(0x460)](_0x300eb6);if(_0x18809a)return _0x18809a['getMember'](_0x57dd56);}['_removeRoom'](_0x31a288){var _0x30b5de=_0x504a5f;const _0x58390f=this[_0x30b5de(0x3e5)][_0x30b5de(0x460)](_0x31a288);_0x58390f&&(_0x58390f[_0x30b5de(0x394)](),this[_0x30b5de(0x3e5)][_0x30b5de(0x34e)](_0x31a288));}[_0x504a5f(0x394)](){var _0x3d0d2a=_0x504a5f;this[_0x3d0d2a(0x3e5)]['forEach'](_0x4e5629=>_0x4e5629['dispose']()),this[_0x3d0d2a(0x3e5)][_0x3d0d2a(0x450)](),this[_0x3d0d2a(0x3c8)][_0x3d0d2a(0x1ee)]();}},_0x53fa2a[_0x504a5f(0x297)]=_0x209856([_0x1ce57e(0x0,_0x3dce8d[_0x504a5f(0x499)]),_0x1ce57e(0x1,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d['UserManagerService']))],_0x53fa2a[_0x504a5f(0x297)]);class _0x4142a6 extends _0x3dce8d[_0x504a5f(0x1ff)]{constructor(){var _0x1b0d1e=_0x504a5f;super(...arguments),_0x2d5efa(this,_0x1b0d1e(0x2c7),new Map()),_0x2d5efa(this,_0x1b0d1e(0x46f),new _0x5affe0[(_0x1b0d1e(0x218))](this[_0x1b0d1e(0x2c7)])),_0x2d5efa(this,_0x1b0d1e(0x3af),this['_members$'][_0x1b0d1e(0x2b3)]());}['dispose'](){var _0xb90bac=_0x504a5f;this[_0xb90bac(0x2c7)][_0xb90bac(0x450)]();}[_0x504a5f(0x256)](_0x474cc6){var _0x25f0f4=_0x504a5f;this[_0x25f0f4(0x2c7)]['set'](_0x474cc6[_0x25f0f4(0x475)],_0x474cc6),this['_emitMembers']();}[_0x504a5f(0x299)](_0x3ea999){var _0xacdafa=_0x504a5f;this[_0xacdafa(0x2c7)]['delete'](_0x3ea999);}[_0x504a5f(0x2a0)](_0x38c9a8){var _0x6716f=_0x504a5f;return this[_0x6716f(0x2c7)][_0x6716f(0x460)](_0x38c9a8);}[_0x504a5f(0x35f)](){var _0x463ccd=_0x504a5f;return Array[_0x463ccd(0x1ce)](this[_0x463ccd(0x2c7)][_0x463ccd(0x1ab)]());}[_0x504a5f(0x4ab)](){var _0x9b0052=_0x504a5f;this[_0x9b0052(0x46f)][_0x9b0052(0x331)](this[_0x9b0052(0x2c7)]);}}var _0x5ab2d0=Object['getOwnPropertyDescriptor'],_0x184494=(_0x12a9e6,_0x969c45,_0x1e714b,_0x4e4668)=>{var _0x5a2f75=_0x504a5f;for(var _0x1b5f95=_0x4e4668>0x1?void 0x0:_0x4e4668?_0x5ab2d0(_0x969c45,_0x1e714b):_0x969c45,_0x2b0b14=_0x12a9e6[_0x5a2f75(0x3dd)]-0x1,_0xc0cefb;_0x2b0b14>=0x0;_0x2b0b14--)(_0xc0cefb=_0x12a9e6[_0x2b0b14])&&(_0x1b5f95=_0xc0cefb(_0x1b5f95)||_0x1b5f95);return _0x1b5f95;},_0x2fd668=(_0x27e3a3,_0x34ce59)=>(_0x1772ee,_0x388cd7)=>_0x34ce59(_0x1772ee,_0x388cd7,_0x27e3a3),_0x2f4af9=(_0x371a18=>(_0x371a18[_0x371a18[_0x504a5f(0x338)]=0x0]=_0x504a5f(0x338),_0x371a18[_0x371a18[_0x504a5f(0x462)]=0x1]=_0x504a5f(0x462),_0x371a18[_0x371a18[_0x504a5f(0x2a1)]=0x2]=_0x504a5f(0x2a1),_0x371a18[_0x371a18[_0x504a5f(0x326)]=0x3]=_0x504a5f(0x326),_0x371a18))(_0x2f4af9||{});const _0x1c27eb={[_0x1d39d9[_0x504a5f(0x31c)]]:_0x504a5f(0x39c),[_0x1d39d9['JOIN_ROOM_FULL']]:'session.room-full',[_0x1d39d9['JOIN_ROOM_NOT_EXISTS']]:_0x504a5f(0x439),[_0x1d39d9[_0x504a5f(0x1b7)]]:_0x504a5f(0x477),[_0x1d39d9[_0x504a5f(0x4b9)]]:_0x504a5f(0x2fc)};_0x53fa2a['CollaborationSession']=class extends _0x3dce8d[_0x504a5f(0x1c7)]{constructor(_0x2daf05,_0x13f09b,_0x41471b,_0x43a79c,_0x11be80,_0xc37557,_0x49c2e4,_0x54aa1d,_0x52e696){var _0x1de9c8=_0x504a5f;super(),_0x2d5efa(this,_0x1de9c8(0x367),new _0x5affe0['BehaviorSubject'](0x0)),_0x2d5efa(this,_0x1de9c8(0x48f),this[_0x1de9c8(0x367)]['asObservable']()),_0x2d5efa(this,_0x1de9c8(0x413),new _0x5affe0[(_0x1de9c8(0x476))]()),_0x2d5efa(this,'event$',this[_0x1de9c8(0x413)]['asObservable']()),_0x2d5efa(this,_0x1de9c8(0x2f7)),_0x2d5efa(this,_0x1de9c8(0x1de)),_0x2d5efa(this,_0x1de9c8(0x22a)),_0x2d5efa(this,'_shouldReportTelemetry',!0x1),_0x2d5efa(this,'_telemetryInfo',null),(this[_0x1de9c8(0x52f)]=_0x2daf05,this['_logService']=_0x41471b,this[_0x1de9c8(0x4e8)]=_0x43a79c,this[_0x1de9c8(0x3e3)]=_0x11be80,this[_0x1de9c8(0x38e)]=_0xc37557,this['_commentService']=_0x49c2e4,this['_collaborationUIEventService']=_0x54aa1d,this[_0x1de9c8(0x502)]=_0x52e696,this[_0x1de9c8(0x453)]=!!this[_0x1de9c8(0x502)],_0x13f09b[_0x1de9c8(0x1c4)](_0x5affe0['takeUntil'](this[_0x1de9c8(0x358)]))[_0x1de9c8(0x4fc)](_0x5c8570=>{var _0x2ac305=_0x1de9c8,_0x27c5db;typeof _0x5c8570>'u'||(this[_0x2ac305(0x2f7)]=_0x5c8570,_0x5c8570?(this[_0x2ac305(0x2ed)](_0x5c8570),this[_0x2ac305(0x1de)]=_0x5c8570[_0x2ac305(0x3a8)][_0x2ac305(0x4fc)](_0xb9aa79=>{var _0x16bd46=_0x2ac305;_0xb9aa79[_0x16bd46(0x4d4)]===this[_0x16bd46(0x52f)]&&this[_0x16bd46(0x3d7)](_0xb9aa79);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2ac305(0x367)][_0x2ac305(0x331)](0x2),(_0x27c5db=this[_0x2ac305(0x1de)])==null||_0x27c5db['unsubscribe'](),this[_0x2ac305(0x1de)]=null));}));}get[_0x504a5f(0x51f)](){var _0x5c123a=_0x504a5f;return this[_0x5c123a(0x367)]['getValue']();}[_0x504a5f(0x3ee)](){var _0x5937f2=_0x504a5f,_0x48a8e4,_0x442f02;return(_0x442f02=(_0x48a8e4=this['_socket'])==null?void 0x0:_0x48a8e4[_0x5937f2(0x475)])!=null?_0x442f02:null;}['dispose'](){var _0x5bb18b=_0x504a5f;super[_0x5bb18b(0x394)](),this[_0x5bb18b(0x358)][_0x5bb18b(0x331)](),this[_0x5bb18b(0x358)][_0x5bb18b(0x1ee)]();}[_0x504a5f(0x4e7)](){var _0x107b88=_0x504a5f,_0x4f81c5,_0x5247ad;this[_0x107b88(0x480)](),(_0x4f81c5=this['_socket'])==null||_0x4f81c5[_0x107b88(0x29c)]({'cmd':_0x1456b3[_0x107b88(0x2f3)],'data':{'roomID':this[_0x107b88(0x52f)]}}),(_0x5247ad=this['_socket'])==null||_0x5247ad[_0x107b88(0x4e7)](),this['_event$']['complete'](),this[_0x107b88(0x367)][_0x107b88(0x1ee)](),this[_0x107b88(0x394)]();}[_0x504a5f(0x3d7)](_0x19f545){var _0x1f2931=_0x504a5f;_0x19f545[_0x1f2931(0x377)]===_0x1456b3[_0x1f2931(0x1d6)]?this['_onJoinRoomEvent'](_0x19f545):_0x19f545['cmd']===_0x1456b3['RECV']&&this['_onRecvEvent'](_0x19f545);}[_0x504a5f(0x2ed)](_0x47ecf6){var _0x14b4fd=_0x504a5f;this[_0x14b4fd(0x367)][_0x14b4fd(0x331)](0x1),_0x47ecf6[_0x14b4fd(0x29c)]({'cmd':_0x1456b3[_0x14b4fd(0x1d6)],'routeKey':this[_0x14b4fd(0x52f)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x2ab132){var _0x345644=_0x504a5f,_0x2de5f2;if(_0x2ab132[_0x345644(0x3b8)]in _0x1c27eb){this[_0x345644(0x4d2)][_0x345644(0x332)]({'id':_0x5d81cf[_0x345644(0x3f0)],'data':_0x1c27eb[_0x2ab132['code']]}),this[_0x345644(0x367)][_0x345644(0x331)](0x2);return;}this[_0x345644(0x367)][_0x345644(0x331)](0x3);const _0x3afb8d=(_0x2de5f2=_0x2ab132['data'][_0x345644(0x31b)][this[_0x345644(0x52f)]])==null?void 0x0:_0x2de5f2[_0x345644(0x2d3)];_0x3afb8d&&_0x3afb8d['forEach'](_0x8b6a22=>this[_0x345644(0x38e)][_0x345644(0x256)](this['_unitID'],_0x8b6a22));}[_0x504a5f(0x3d3)](_0x8cb90e){var _0x38fa63=_0x504a5f;try{const _0x3780dc=_0x8cb90e['data'];switch(_0x3780dc[_0x38fa63(0x259)]){case _0x467e2c['CollaborationEvent']['USERS_ENTER']:this[_0x38fa63(0x1e6)](_0x3780dc),this[_0x38fa63(0x413)][_0x38fa63(0x331)](_0x3780dc);break;case _0x467e2c[_0x38fa63(0x503)]['USERS_LEAVE']:this[_0x38fa63(0x44b)](_0x3780dc),this['_event$']['next'](_0x3780dc);break;case _0x467e2c['CollaborationEvent'][_0x38fa63(0x217)]:case _0x467e2c[_0x38fa63(0x503)][_0x38fa63(0x410)]:this[_0x38fa63(0x264)](),this[_0x38fa63(0x49d)](),this[_0x38fa63(0x413)][_0x38fa63(0x331)](_0x3780dc);break;case _0x467e2c['CollaborationEvent'][_0x38fa63(0x373)]:this[_0x38fa63(0x4ef)][_0x38fa63(0x4b4)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x38fa63(0x4bd)](_0x3780dc)),this[_0x38fa63(0x413)][_0x38fa63(0x331)](_0x3780dc);break;case _0x467e2c['CollaborationEvent']['COMMENT_UPDATE']:this[_0x38fa63(0x382)][_0x38fa63(0x4ba)](_0x3780dc[_0x38fa63(0x298)]),this[_0x38fa63(0x413)][_0x38fa63(0x331)](_0x3780dc);break;default:this['_event$']['next'](_0x3780dc);}}catch(_0x2ded35){this['_logService']['error'](_0x2ded35,_0x8cb90e);}}[_0x504a5f(0x1e6)](_0x540183){var _0x414966=_0x504a5f;this[_0x414966(0x38e)][_0x414966(0x256)](this['_unitID'],_0x540183[_0x414966(0x298)]);}['_onUserLeave'](_0x42aa2b){var _0x52a92a=_0x504a5f;this[_0x52a92a(0x38e)][_0x52a92a(0x299)](this[_0x52a92a(0x52f)],_0x42aa2b[_0x52a92a(0x298)][_0x52a92a(0x475)]);}async[_0x504a5f(0x29c)](_0x3d3536,_0x430b03){var _0x155f0b=_0x504a5f;if(this[_0x155f0b(0x51f)]!==0x3||!this['_socket'])throw new Error(_0x155f0b(0x2ec));try{_0x3d3536[_0x155f0b(0x259)]===_0x467e2c[_0x155f0b(0x503)]['SUBMIT_CHANGESET']&&(this[_0x155f0b(0x239)](),this['_startTelemetryCollaborationNewChangeset'](_0x3d3536)),this[_0x155f0b(0x2f7)][_0x155f0b(0x29c)]({'cmd':_0x1456b3[_0x155f0b(0x370)],'routeKey':_0x430b03,'routeType':'','data':_0x3d3536});}catch(_0x173d10){this['_logService'][_0x155f0b(0x4b4)](_0x173d10);}}[_0x504a5f(0x239)](){var _0x37bd70=_0x504a5f,_0x14ad3a;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x1fa3e9=_0x4de2;this[_0x1fa3e9(0x22a)]=null,this[_0x1fa3e9(0x4d2)]['emitEvent']({'id':_0x5d81cf['SUBMIT_CHANGESET_TIMEOUT']});},(_0x14ad3a=this[_0x37bd70(0x4e8)]['getConfig'](_0x2ce149))!=null?_0x14ad3a:0x4e20);}[_0x504a5f(0x49d)](){var _0x696dc1=_0x504a5f;this[_0x696dc1(0x22a)]&&(clearTimeout(this[_0x696dc1(0x22a)]),this[_0x696dc1(0x22a)]=null);}[_0x504a5f(0x2cd)](_0x2ab061){var _0x58cd6c=_0x504a5f;if(!this[_0x58cd6c(0x453)])return;const {data:_0x866f67}=_0x2ab061,{unitID:_0x50bb48,changeset:_0x484be6}=_0x866f67,{mutations:_0x3d4165,type:_0x27af3d}=_0x484be6;this[_0x58cd6c(0x427)]={'unitId':_0x50bb48,'type':_0x27af3d,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x5bc1d5(_0x3d4165)};}[_0x504a5f(0x264)](){var _0x38b516=_0x504a5f;if(this[_0x38b516(0x453)]){if(!this['_telemetryInfo']){this[_0x38b516(0x4ef)][_0x38b516(0x4b4)]('[CollaborationSession]',_0x38b516(0x26f));return;}this['_telemetryInfo'][_0x38b516(0x379)]=performance[_0x38b516(0x1fe)](),this[_0x38b516(0x427)]['duration']=this[_0x38b516(0x427)][_0x38b516(0x379)]-this[_0x38b516(0x427)]['startTime'],this[_0x38b516(0x502)][_0x38b516(0x3cd)](_0x586c0a,this[_0x38b516(0x427)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x249341=_0x504a5f;this[_0x249341(0x427)]=null;}},_0x53fa2a[_0x504a5f(0x27b)]=_0x184494([_0x2fd668(0x2,_0x3dce8d[_0x504a5f(0x4fd)]),_0x2fd668(0x3,_0x3dce8d[_0x504a5f(0x4ca)]),_0x2fd668(0x4,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x531)])),_0x2fd668(0x5,_0x3dce8d[_0x504a5f(0x35a)](_0x53fa2a['MemberService'])),_0x2fd668(0x6,_0x3dce8d[_0x504a5f(0x35a)](_0x1d6704)),_0x2fd668(0x7,_0x3dce8d[_0x504a5f(0x35a)](_0x1fdf46)),_0x2fd668(0x8,_0x3dce8d[_0x504a5f(0x387)](_0x56204e[_0x504a5f(0x399)]))],_0x53fa2a['CollaborationSession']);var _0x287dd4=Object[_0x504a5f(0x315)],_0x51500e=(_0x5d5eeb,_0x34c491,_0x2c1d07,_0xfd5299)=>{for(var _0x3fb624=_0xfd5299>0x1?void 0x0:_0xfd5299?_0x287dd4(_0x34c491,_0x2c1d07):_0x34c491,_0x4eeba2=_0x5d5eeb['length']-0x1,_0x988c00;_0x4eeba2>=0x0;_0x4eeba2--)(_0x988c00=_0x5d5eeb[_0x4eeba2])&&(_0x3fb624=_0x988c00(_0x3fb624)||_0x3fb624);return _0x3fb624;},_0x20ddea=(_0x56d282,_0x32221b)=>(_0x1061f9,_0x597707)=>_0x32221b(_0x1061f9,_0x597707,_0x56d282);_0x53fa2a[_0x504a5f(0x291)]=class extends _0x3dce8d[_0x504a5f(0x1ff)]{constructor(_0x417787,_0x558c9b,_0x163eb5,_0x48d3d7,_0x9cfb91,_0x484e3a){var _0x364472=_0x504a5f;super(),_0x2d5efa(this,_0x364472(0x4e0),new _0x5affe0['BehaviorSubject'](void 0x0)),_0x2d5efa(this,'socket$',this['_socket$'][_0x364472(0x2b3)]()),_0x2d5efa(this,'_candidateSocket',null),_0x2d5efa(this,_0x364472(0x36b),new Map()),_0x2d5efa(this,_0x364472(0x511),new _0x5affe0[(_0x364472(0x218))](_0x2f4af9[_0x364472(0x338)])),_0x2d5efa(this,'status$',this['_status$'][_0x364472(0x2b3)]()),_0x2d5efa(this,_0x364472(0x4c4),!0x1),_0x2d5efa(this,_0x364472(0x526)),_0x2d5efa(this,_0x364472(0x32b),0x0),_0x2d5efa(this,_0x364472(0x4da)),_0x2d5efa(this,_0x364472(0x381)),(this[_0x364472(0x452)]=_0x417787,this['_logService']=_0x558c9b,this[_0x364472(0x4e8)]=_0x163eb5,this[_0x364472(0x4e5)]=_0x48d3d7,this[_0x364472(0x4d2)]=_0x9cfb91,this[_0x364472(0x521)]=_0x484e3a,this['_listenToNetworkCondition']());}get[_0x504a5f(0x2f7)](){var _0x28b451=_0x504a5f;return this[_0x28b451(0x4e0)][_0x28b451(0x322)]();}[_0x504a5f(0x295)](){var _0x36bde5=_0x504a5f;this[_0x36bde5(0x521)]&&this[_0x36bde5(0x400)](this['_networkConditionService'][_0x36bde5(0x1bd)][_0x36bde5(0x4fc)](_0x144029=>{var _0x1b3438=_0x36bde5;_0x144029&&!this['_socket']&&this[_0x1b3438(0x449)](),_0x144029||this[_0x1b3438(0x486)]();}));}[_0x504a5f(0x394)](){var _0x352ca0=_0x504a5f;super[_0x352ca0(0x394)](),this['_clearRetryConnectingTimer'](),this[_0x352ca0(0x42a)](),this[_0x352ca0(0x1d2)](),this[_0x352ca0(0x36b)]['forEach'](_0xa17e75=>_0xa17e75['dispose']()),this[_0x352ca0(0x36b)]['clear'](),this['_status$'][_0x352ca0(0x1ee)]();}async['requireSession'](_0x48e537){var _0x3ca11d=_0x504a5f;if(this[_0x3ca11d(0x36b)][_0x3ca11d(0x28b)](_0x48e537))return this[_0x3ca11d(0x36b)][_0x3ca11d(0x460)](_0x48e537);this['_tryEnsureSocket']();const _0x5d2d6d=this[_0x3ca11d(0x452)]['createInstance'](_0x53fa2a[_0x3ca11d(0x27b)],_0x48e537,this['_socket$'][_0x3ca11d(0x2b3)]());return this[_0x3ca11d(0x36b)][_0x3ca11d(0x525)](_0x48e537,_0x5d2d6d),_0x5d2d6d;}['closeSession'](_0xf0a976){var _0x44b8e7=_0x504a5f,_0x16ca2d;const _0x519f51=this[_0x44b8e7(0x36b)][_0x44b8e7(0x460)](_0xf0a976);_0x519f51&&(this[_0x44b8e7(0x36b)][_0x44b8e7(0x34e)](_0xf0a976),_0x519f51[_0x44b8e7(0x4e7)]()),this[_0x44b8e7(0x36b)]['size']||(_0x16ca2d=this['_socket'])==null||_0x16ca2d[_0x44b8e7(0x4e7)]();}[_0x504a5f(0x449)](){var _0x56583f=_0x504a5f;this[_0x56583f(0x32b)]=0x0,this[_0x56583f(0x314)](),this[_0x56583f(0x1cb)]();}[_0x504a5f(0x314)](){var _0x29aba1=_0x504a5f;this[_0x29aba1(0x526)]!=null&&(clearTimeout(this[_0x29aba1(0x526)]),this[_0x29aba1(0x526)]=null);}async[_0x504a5f(0x1c6)](){var _0xb1da35=_0x504a5f,_0x1a5381,_0xefdb18;const _0x412744=this[_0xb1da35(0x4e8)]['getConfig'](_0xf287d7),_0x4d84ee=this['_configService'][_0xb1da35(0x3cb)](_0x25f3a7),_0x3f54d6=(_0xefdb18=(_0x1a5381=_0x4d84ee==null?void 0x0:_0x4d84ee[_0xb1da35(0x1b9)])!=null?_0x1a5381:_0x412744)!=null?_0xefdb18:_0x1c4883,_0xb00629=await this[_0xb1da35(0x4e5)][_0xb1da35(0x428)](_0x3f54d6);return this[_0xb1da35(0x45b)]=_0xb00629,_0xb00629;}async[_0x504a5f(0x4dc)](){var _0x3a99f3=_0x504a5f,_0x102e55,_0x3b48ac;try{const _0x57ffa7=(_0x3b48ac=(_0x102e55=this[_0x3a99f3(0x2f7)])!=null?_0x102e55:this['_candidateSocket'])!=null?_0x3b48ac:await this[_0x3a99f3(0x1c6)]();if(_0x57ffa7){const _0x3545a1=_0x57ffa7['send'];_0x57ffa7[_0x3a99f3(0x29c)]=_0x9c839d=>(this['_rescheduleHeartbeat'](),_0x3545a1[_0x3a99f3(0x32c)](_0x57ffa7,[_0x9c839d])),_0x57ffa7[_0x3a99f3(0x3a8)]['subscribe'](_0x4feb6e=>this[_0x3a99f3(0x4eb)](_0x57ffa7,_0x4feb6e)),_0x57ffa7[_0x3a99f3(0x209)][_0x3a99f3(0x1c4)](_0x35d931['take'](0x1))[_0x3a99f3(0x4fc)](_0x46ccad=>this['_logService'][_0x3a99f3(0x4b4)](_0x3a99f3(0x3dc),_0x46ccad)),_0x57ffa7['open$']['pipe'](_0x35d931[_0x3a99f3(0x34c)](0x1))[_0x3a99f3(0x4fc)](()=>{var _0x426a6c=_0x3a99f3;this[_0x426a6c(0x539)](_0x57ffa7);}),_0x57ffa7['close$']['pipe'](_0x35d931[_0x3a99f3(0x34c)](0x1))[_0x3a99f3(0x4fc)](_0x40fcc0=>{var _0x1efb05=_0x3a99f3;this[_0x1efb05(0x4ef)][_0x1efb05(0x415)](_0x1efb05(0x345),_0x1efb05(0x28c),_0x40fcc0),this['_onConnectionFailed']();});}}catch(_0x1c7994){this[_0x3a99f3(0x4ef)][_0x3a99f3(0x4b4)](_0x1c7994),this[_0x3a99f3(0x212)]();}}['_onConnectionOpen'](_0x4287fa){var _0x4c5075=_0x504a5f;this[_0x4c5075(0x4ef)][_0x4c5075(0x415)](_0x4c5075(0x345),_0x4c5075(0x40d)),_0x4287fa[_0x4c5075(0x29c)]({'cmd':_0x1456b3['HELLO']}),this[_0x4c5075(0x206)]();}['_onOffline'](){var _0x1f040a=_0x504a5f;this[_0x1f040a(0x4c4)]=!0x1,this[_0x1f040a(0x45b)]=null,this[_0x1f040a(0x511)][_0x1f040a(0x331)](_0x2f4af9[_0x1f040a(0x2a1)]),this[_0x1f040a(0x4e0)]['next'](null),this[_0x1f040a(0x42a)](),this[_0x1f040a(0x1d2)]();}['_onConnectionFailed'](){var _0x1feb04=_0x504a5f,_0x2c495c;this[_0x1feb04(0x486)](),this[_0x1feb04(0x32b)]<((_0x2c495c=this[_0x1feb04(0x4e8)][_0x1feb04(0x3cb)](_0x3fbb12))!=null?_0x2c495c:0x3)?(this[_0x1feb04(0x4d2)][_0x1feb04(0x332)]({'id':_0x5d81cf[_0x1feb04(0x1ca)]}),this[_0x1feb04(0x1cb)]()):this[_0x1feb04(0x4d2)][_0x1feb04(0x332)]({'id':_0x5d81cf[_0x1feb04(0x23f)]});}[_0x504a5f(0x1cb)](){var _0x45ae13=_0x504a5f,_0x58bca7;const _0x56902f=this[_0x45ae13(0x32b)],_0x5b45ec=this['_configService'][_0x45ae13(0x3cb)](_0x25f3a7),_0x1e4c7e=_0x56902f===0x0?0x0:((_0x58bca7=_0x5b45ec==null?void 0x0:_0x5b45ec[_0x45ae13(0x436)])!=null?_0x58bca7:0x4e20)*0x2**_0x56902f;this[_0x45ae13(0x526)]=setTimeout(()=>{var _0x5c0290=_0x45ae13;clearTimeout(this[_0x5c0290(0x526)]),this[_0x5c0290(0x526)]=null,this[_0x5c0290(0x4dc)]();},_0x1e4c7e),this[_0x45ae13(0x32b)]+=0x1;}[_0x504a5f(0x4eb)](_0x1c8c6c,_0x27956d){var _0x49d165=_0x504a5f;const {cmd:_0x199ce8}=_0x27956d;_0x199ce8===_0x1456b3[_0x49d165(0x1f6)]&&!this[_0x49d165(0x4c4)]&&(_0x1c8c6c[_0x49d165(0x475)]=_0x27956d['data'][_0x49d165(0x475)],this[_0x49d165(0x4e0)][_0x49d165(0x331)](_0x1c8c6c),this[_0x49d165(0x511)]['next'](_0x2f4af9[_0x49d165(0x326)]),this[_0x49d165(0x4c4)]=!0x0,this[_0x49d165(0x45b)]=null),_0x199ce8===_0x1456b3[_0x49d165(0x2bd)]&&this[_0x49d165(0x42a)](),this['_rescheduleHeartbeat']();}[_0x504a5f(0x206)](){var _0x2d6c87=_0x504a5f,_0x111e6f;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x111e6f=this[_0x2d6c87(0x4e8)][_0x2d6c87(0x3cb)](_0x5ea015))!=null?_0x111e6f:0x7530);}[_0x504a5f(0x316)](){var _0x1483d9=_0x504a5f;this[_0x1483d9(0x2f7)][_0x1483d9(0x29c)]({'cmd':_0x1456b3['HEARTBEAT']}),this[_0x1483d9(0x43e)]();}[_0x504a5f(0x43e)](){var _0x2e896e=_0x504a5f,_0x5013a9;this[_0x2e896e(0x381)]=setTimeout(()=>this[_0x2e896e(0x212)](),(_0x5013a9=this['_configService']['getConfig'](_0x2ce149))!=null?_0x5013a9:0x4e20);}['_clearHeartbeatTimer'](){var _0x443b87=_0x504a5f;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x443b87(0x4da)]),this['_sendHeartbeatTimer']=null);}[_0x504a5f(0x42a)](){var _0x52c6d4=_0x504a5f;this[_0x52c6d4(0x381)]!=null&&(clearTimeout(this[_0x52c6d4(0x381)]),this[_0x52c6d4(0x381)]=null);}},_0x53fa2a[_0x504a5f(0x291)]=_0x51500e([_0x20ddea(0x0,_0x3dce8d['Inject'](_0x3dce8d[_0x504a5f(0x1c0)])),_0x20ddea(0x1,_0x3dce8d[_0x504a5f(0x4fd)]),_0x20ddea(0x2,_0x3dce8d[_0x504a5f(0x4ca)]),_0x20ddea(0x3,_0x21f719),_0x20ddea(0x4,_0x3dce8d['Inject'](_0x1fdf46)),_0x20ddea(0x5,_0x3dce8d[_0x504a5f(0x387)](_0x44c80f))],_0x53fa2a[_0x504a5f(0x291)]);const _0x47a74c=[];for(let _0x3359ef=0x0;_0x3359ef<0x100;++_0x3359ef)_0x47a74c[_0x504a5f(0x33e)]((_0x3359ef+0x100)['toString'](0x10)[_0x504a5f(0x473)](0x1));function _0x43735c(_0x3e84c7,_0x41faa3=0x0){var _0x2963b0=_0x504a5f;return(_0x47a74c[_0x3e84c7[_0x41faa3+0x0]]+_0x47a74c[_0x3e84c7[_0x41faa3+0x1]]+_0x47a74c[_0x3e84c7[_0x41faa3+0x2]]+_0x47a74c[_0x3e84c7[_0x41faa3+0x3]]+'-'+_0x47a74c[_0x3e84c7[_0x41faa3+0x4]]+_0x47a74c[_0x3e84c7[_0x41faa3+0x5]]+'-'+_0x47a74c[_0x3e84c7[_0x41faa3+0x6]]+_0x47a74c[_0x3e84c7[_0x41faa3+0x7]]+'-'+_0x47a74c[_0x3e84c7[_0x41faa3+0x8]]+_0x47a74c[_0x3e84c7[_0x41faa3+0x9]]+'-'+_0x47a74c[_0x3e84c7[_0x41faa3+0xa]]+_0x47a74c[_0x3e84c7[_0x41faa3+0xb]]+_0x47a74c[_0x3e84c7[_0x41faa3+0xc]]+_0x47a74c[_0x3e84c7[_0x41faa3+0xd]]+_0x47a74c[_0x3e84c7[_0x41faa3+0xe]]+_0x47a74c[_0x3e84c7[_0x41faa3+0xf]])[_0x2963b0(0x2d4)]();}let _0xa6c489;const _0x2a0b25=new Uint8Array(0x10);function _0x1b6881(){var _0x103689=_0x504a5f;if(!_0xa6c489){if(typeof crypto>'u'||!crypto[_0x103689(0x498)])throw new Error(_0x103689(0x2c0));_0xa6c489=crypto[_0x103689(0x498)][_0x103689(0x27f)](crypto);}return _0xa6c489(_0x2a0b25);}const _0x45422c={'randomUUID':typeof crypto<'u'&&crypto[_0x504a5f(0x28a)]&&crypto[_0x504a5f(0x28a)][_0x504a5f(0x27f)](crypto)};function _0xc91d43(_0x2f720f,_0x299560,_0x297286){var _0x25a50b=_0x504a5f,_0x2d8a59,_0x1aa9ea,_0x537a4e;if(_0x45422c[_0x25a50b(0x28a)]&&!_0x2f720f)return _0x45422c[_0x25a50b(0x28a)]();_0x2f720f=_0x2f720f||{};const _0x3e8330=(_0x537a4e=(_0x1aa9ea=_0x2f720f['random'])!=null?_0x1aa9ea:(_0x2d8a59=_0x2f720f[_0x25a50b(0x249)])==null?void 0x0:_0x2d8a59[_0x25a50b(0x433)](_0x2f720f))!=null?_0x537a4e:_0x1b6881();if(_0x3e8330[_0x25a50b(0x3dd)]<0x10)throw new Error(_0x25a50b(0x41c));return _0x3e8330[0x6]=_0x3e8330[0x6]&0xf|0x40,_0x3e8330[0x8]=_0x3e8330[0x8]&0x3f|0x80,_0x43735c(_0x3e8330);}const _0x52309e=_0x3dce8d['createIdentifier'](_0x504a5f(0x27e));function _0x2f4729(_0x569cf7){return'unit-cache-'+_0x569cf7;}var _0x555466=Object['getOwnPropertyDescriptor'],_0x223e0a=(_0x43c77d,_0x467ca9,_0x227f3e,_0x916a36)=>{var _0x5b3cd9=_0x504a5f;for(var _0x2e2e96=_0x916a36>0x1?void 0x0:_0x916a36?_0x555466(_0x467ca9,_0x227f3e):_0x467ca9,_0x173515=_0x43c77d[_0x5b3cd9(0x3dd)]-0x1,_0x4db529;_0x173515>=0x0;_0x173515--)(_0x4db529=_0x43c77d[_0x173515])&&(_0x2e2e96=_0x4db529(_0x2e2e96)||_0x2e2e96);return _0x2e2e96;},_0x421f42=(_0x1c0c55,_0x560f1d)=>(_0x2f77fd,_0x581aa0)=>_0x560f1d(_0x2f77fd,_0x581aa0,_0x1c0c55);function _0x5e37e4(_0x40e227){var _0x261bae=_0x504a5f;const {unitID:_0x262cea,mutations:_0x7cc149}=_0x40e227;return{'unitId':_0x262cea,'subUnitId':_0x7cc149[0x0][_0x261bae(0x265)][_0x261bae(0x3c2)]};}_0x53fa2a[_0x504a5f(0x308)]=class{constructor(_0x13afdc,_0x1db5a5,_0x5bacab){var _0x36bca5=_0x504a5f;this[_0x36bca5(0x452)]=_0x13afdc,this[_0x36bca5(0x46e)]=_0x1db5a5,this[_0x36bca5(0x3be)]=_0x5bacab;}['transformSelections'](_0x131188){var _0x4ee2ac=_0x504a5f,_0x195ef5,_0x4425a6,_0x18d571,_0x3bc968;const _0x415b91=this[_0x4ee2ac(0x452)][_0x4ee2ac(0x460)](_0x56f059[_0x4ee2ac(0x3d0)]),{unitId:_0x14099c,subUnitId:_0xaa9086}=_0x5e37e4(_0x131188),_0x1f117d=_0x415b91==null?void 0x0:_0x415b91[_0x4ee2ac(0x3bd)](_0x14099c)[_0x4ee2ac(0x3aa)](),_0x240e4f=(_0x4425a6=(_0x195ef5=this[_0x4ee2ac(0x3be)][_0x4ee2ac(0x3de)](_0x14099c))==null?void 0x0:_0x195ef5[_0x4ee2ac(0x262)]())==null?void 0x0:_0x4425a6['getSheetId']();if(_0x1f117d[_0x4ee2ac(0x3dd)]===0x0||!_0x14099c||!_0xaa9086)return;const _0x39e57f=[{'id':_0x56f059[_0x4ee2ac(0x401)]['id'],'params':{'unitId':_0x14099c,'subUnitId':_0x240e4f,'selections':_0x3dce8d[_0x4ee2ac(0x342)][_0x4ee2ac(0x3a9)](_0x1f117d)}}],_0x4cb436=this[_0x4ee2ac(0x46e)][_0x4ee2ac(0x1d0)](_0x131188,_0x39e57f);if(!_0x467e2c[_0x4ee2ac(0x45e)](_0x4cb436))throw _0x4cb436[_0x4ee2ac(0x4b4)];const _0x477560=(_0x3bc968=(_0x18d571=_0x4cb436[_0x4ee2ac(0x23c)][0x0])==null?void 0x0:_0x18d571[_0x4ee2ac(0x265)])==null?void 0x0:_0x3bc968[_0x4ee2ac(0x383)];if(Array[_0x4ee2ac(0x423)](_0x477560)&&_0x477560[_0x4ee2ac(0x3dd)]){if(_0x477560[_0x4ee2ac(0x3dd)]===_0x39e57f[0x0][_0x4ee2ac(0x265)][_0x4ee2ac(0x383)]['length']&&_0x477560['every']((_0x3209ee,_0x4a1e2e)=>_0x3dce8d['Rectangle'][_0x4ee2ac(0x22d)](_0x3209ee['range'],_0x39e57f[0x0][_0x4ee2ac(0x265)][_0x4ee2ac(0x383)][_0x4a1e2e][_0x4ee2ac(0x21e)])))return;this[_0x4ee2ac(0x452)]['get'](_0x3dce8d[_0x4ee2ac(0x4ff)])['executeCommand'](_0x56f059[_0x4ee2ac(0x401)]['id'],{'unitId':_0x14099c,'subUnitId':_0x240e4f,'selections':_0x477560});}}},_0x53fa2a[_0x504a5f(0x308)]=_0x223e0a([_0x421f42(0x0,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x1c0)])),_0x421f42(0x1,_0x467e2c[_0x504a5f(0x253)]),_0x421f42(0x2,_0x3dce8d['IUniverInstanceService'])],_0x53fa2a['SheetTransformSelectionsService']);const _0x18bf4c=_0x3dce8d[_0x504a5f(0x4c1)](_0x504a5f(0x46a));var _0x39ea4=(_0xa9b565=>(_0xa9b565[_0xa9b565[_0x504a5f(0x25d)]=0x0]=_0x504a5f(0x25d),_0xa9b565[_0xa9b565['OTHER_CLIENTS_EDITING']=0x1]=_0x504a5f(0x23a),_0xa9b565))(_0x39ea4||{});const _0x3cf181=new Set([_0x56f059[_0x504a5f(0x4c5)]['id']]);function _0x522023(_0x2880b1,_0x81b4b6,_0x27a5e7,_0x5e247a,_0x75b3e5){var _0x81d1b9=_0x504a5f,_0x5e0a7a,_0x4d4660,_0x26cfe9,_0x572ac6;const _0x14b93=[];for(const _0x32cc30 of _0x2880b1)if(_0x3cf181['has'](_0x32cc30['id'])){if(_0x14b93['length']>0x0)break;_0x14b93[_0x81d1b9(0x33e)](_0x32cc30);break;}else _0x14b93[_0x81d1b9(0x33e)](_0x32cc30);const _0x130853=(_0x4d4660=(_0x5e0a7a=_0x75b3e5[_0x81d1b9(0x43d)]())==null?void 0x0:_0x5e0a7a[_0x81d1b9(0x40f)])!=null?_0x4d4660:_0x81d1b9(0x402),_0x22aa37=(_0x572ac6=(_0x26cfe9=_0x75b3e5[_0x81d1b9(0x43d)]())==null?void 0x0:_0x26cfe9['memberID'])!=null?_0x572ac6:_0x81d1b9(0x402);return{'changeset':{'unitID':_0x81b4b6,'type':_0x467e2c[_0x81d1b9(0x472)](_0x27a5e7['getUnitType'](_0x81b4b6)),'baseRev':_0x5e247a[_0x81d1b9(0x395)](_0x81b4b6),'revision':0x0,'userID':_0x130853,'memberID':_0x22aa37,'mutations':_0x14b93},'pendingMutations':_0x2880b1['slice'](_0x14b93[_0x81d1b9(0x3dd)])};}function _0x92fa43(_0x4e5490,_0x250ac0,_0x920490,_0x3baa21,_0x246ba5){var _0x319483=_0x504a5f,_0x1b09e1,_0x5d7baa,_0x2e0d16,_0x439c7b;const _0x3af2c2=[_0x4e5490[_0x319483(0x393)]((_0x50fa97,_0x2cf4cb)=>{var _0x3c34c4=_0x319483,_0x2e938e;const {id:_0x32179d}=_0x50fa97,{id:_0x3d16ba,type:_0x2a7c0d}=_0x2cf4cb,_0x30b005=(_0x2e938e=_0x50fa97[_0x3c34c4(0x265)])!=null?_0x2e938e:{'actions':null},_0x4439aa=_0x2cf4cb['params'];if(_0x32179d&&_0x32179d!==_0x3d16ba)throw new Error(_0x3c34c4(0x258)+_0x32179d+_0x3c34c4(0x3e8)+_0x3d16ba+'.');return{..._0x50fa97,'id':_0x3d16ba,'type':_0x2a7c0d,'params':{'unitId':_0x4439aa[_0x3c34c4(0x3c3)],'textRanges':_0x4439aa[_0x3c34c4(0x48e)],'actions':_0x3dce8d[_0x3c34c4(0x221)]['compose'](_0x30b005['actions'],_0x4439aa['actions'])}};},{})],_0x334df5=(_0x5d7baa=(_0x1b09e1=_0x246ba5[_0x319483(0x43d)]())==null?void 0x0:_0x1b09e1[_0x319483(0x40f)])!=null?_0x5d7baa:'unknown',_0x305b4c=(_0x439c7b=(_0x2e0d16=_0x246ba5[_0x319483(0x43d)]())==null?void 0x0:_0x2e0d16[_0x319483(0x475)])!=null?_0x439c7b:_0x319483(0x402);return{'changeset':{'unitID':_0x250ac0,'type':_0x467e2c['mapDocumentTypeToUniverType'](_0x920490[_0x319483(0x529)](_0x250ac0)),'baseRev':_0x3baa21[_0x319483(0x395)](_0x250ac0),'revision':0x0,'userID':_0x334df5,'memberID':_0x305b4c,'mutations':_0x3af2c2},'pendingMutations':[]};}function _0x5b8346(_0x5cb012,_0x4d6282){var _0x2ef2bc=_0x504a5f;const _0x174cdd=new _0x5affe0[(_0x2ef2bc(0x3a7))](0x1);return setTimeout(()=>_0x174cdd[_0x2ef2bc(0x331)](_0x4d6282),_0x5cb012),_0x174cdd[_0x2ef2bc(0x2b3)]()[_0x2ef2bc(0x1c4)](_0x5affe0[_0x2ef2bc(0x34c)](0x1));}const _0x3f5589={'id':_0x56f059[_0x504a5f(0x36d)]['id'],'type':_0x3dce8d['CommandType'][_0x504a5f(0x1a6)],'params':{}};var _0x391153=Object[_0x504a5f(0x315)],_0x565b4b=(_0x33137e,_0xbd523d,_0x1bf596,_0x1f11c6)=>{var _0x58a8e2=_0x504a5f;for(var _0xfe745f=_0x1f11c6>0x1?void 0x0:_0x1f11c6?_0x391153(_0xbd523d,_0x1bf596):_0xbd523d,_0x3c3d70=_0x33137e[_0x58a8e2(0x3dd)]-0x1,_0x52ed64;_0x3c3d70>=0x0;_0x3c3d70--)(_0x52ed64=_0x33137e[_0x3c3d70])&&(_0xfe745f=_0x52ed64(_0xfe745f)||_0xfe745f);return _0xfe745f;},_0x3a0694=(_0x40249c,_0x3ab2ce)=>(_0x26346a,_0x7fe0b3)=>_0x3ab2ce(_0x26346a,_0x7fe0b3,_0x40249c),_0x3a96e7=(_0x3235e1=>(_0x3235e1[_0x504a5f(0x3cc)]='not_collab',_0x3235e1['SYNCED']=_0x504a5f(0x50a),_0x3235e1[_0x504a5f(0x504)]='pending',_0x3235e1['AWAITING']=_0x504a5f(0x4e6),_0x3235e1[_0x504a5f(0x30c)]=_0x504a5f(0x4cb),_0x3235e1[_0x504a5f(0x3ec)]=_0x504a5f(0x280),_0x3235e1[_0x504a5f(0x3f5)]=_0x504a5f(0x4a3),_0x3235e1[_0x504a5f(0x2a1)]=_0x504a5f(0x230),_0x3235e1))(_0x3a96e7||{});const _0x13d0ec=0xea60;class _0x10c72c{constructor(_0x28d134,_0x82f47f,_0xcb9a07,_0x5782a3,_0x593718,_0x52d401,_0x203b8e,_0x336f6e,_0x1d26f5){var _0x4455ce=_0x504a5f;_0x2d5efa(this,_0x4455ce(0x26e),null),_0x2d5efa(this,'_pendingMutations',[]),(this[_0x4455ce(0x1c1)]=_0x28d134,this[_0x4455ce(0x292)]=_0x82f47f,this[_0x4455ce(0x24e)]=_0x593718,this[_0x4455ce(0x3f2)]=_0x52d401,this[_0x4455ce(0x48b)]=_0x203b8e,this[_0x4455ce(0x1d3)]=_0x336f6e,this[_0x4455ce(0x2df)]=_0x1d26f5,this[_0x4455ce(0x26e)]=_0xcb9a07,this['_pendingMutations']=_0x5782a3);}['_checkMissing'](_0x2d079d){var _0x190651=_0x504a5f;const _0x29ed7b=this[_0x190651(0x1d3)]['getCurrentRevOfUnit'](this[_0x190651(0x1c1)]);return _0x2d079d[_0x190651(0x34f)]>_0x29ed7b+0x1?(this[_0x190651(0x24e)][_0x190651(0x42e)]({'from':_0x29ed7b,'to':_0x2d079d[_0x190651(0x34f)]-0x1}),!0x0):!0x1;}[_0x504a5f(0x520)](_0x3c1430){var _0x49d8f8=_0x504a5f;this['_undoRedoService'][_0x49d8f8(0x220)](this[_0x49d8f8(0x1c1)],_0x3c1430);}['_transformSelections'](_0xa41ec4){var _0x415a19=_0x504a5f,_0x28bd6c,_0x3b5bb0;(_0x3b5bb0=(_0x28bd6c=this['_handler'])[_0x415a19(0x43f)])==null||_0x3b5bb0['call'](_0x28bd6c,_0xa41ec4);}[_0x504a5f(0x4c3)](_0x5c348c){var _0x1885c8=_0x504a5f,_0xcc82dd,_0x2de24b;return(_0x2de24b=(_0xcc82dd=this[_0x1885c8(0x24e)])[_0x1885c8(0x1e5)])==null?void 0x0:_0x2de24b[_0x1885c8(0x433)](_0xcc82dd,_0x5c348c);}[_0x504a5f(0x1fa)](_0x1e668d){var _0x1b11f8=_0x504a5f,_0x26215b,_0x18a611;return(_0x18a611=(_0x26215b=this[_0x1b11f8(0x24e)])[_0x1b11f8(0x4c7)])==null?void 0x0:_0x18a611[_0x1b11f8(0x433)](_0x26215b,_0x1e668d);}[_0x504a5f(0x534)](_0x48f636){var _0x542468=_0x504a5f,_0x5b87b1,_0x3865f6,_0x30ce95;return(_0x30ce95=(_0x3865f6=(_0x5b87b1=this[_0x542468(0x24e)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3865f6['call'](_0x5b87b1,_0x48f636))!=null?_0x30ce95:_0x48f636;}[_0x504a5f(0x1f8)](_0x1c190b){var _0x5c0fb9=_0x504a5f,_0x1a90f5,_0x3a20a8,_0x10ae58;return(_0x10ae58=(_0x3a20a8=(_0x1a90f5=this[_0x5c0fb9(0x24e)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3a20a8[_0x5c0fb9(0x433)](_0x1a90f5,_0x1c190b))!=null?_0x10ae58:_0x1c190b;}['_syncEditingCollabCursor'](_0x12db2a){var _0x2ee218=_0x504a5f,_0x1577d7,_0x539301;if(this['type']===_0x4dd826[_0x2ee218(0x3b0)]){const {unitID:_0x1c82a6,mutations:_0x38a41f,memberID:_0x3ada41}=_0x12db2a,_0x48321d=_0x38a41f[0x0][_0x2ee218(0x265)]['textRanges'];Array['isArray'](_0x48321d)&&_0x48321d[_0x2ee218(0x3dd)]>0x0&&((_0x539301=(_0x1577d7=this[_0x2ee218(0x24e)])['onSyncEditingCollabCursor'])==null||_0x539301[_0x2ee218(0x433)](_0x1577d7,{'unitID':_0x1c82a6,'memberID':_0x3ada41,'textRanges':_0x48321d}));}}[_0x504a5f(0x50e)](){var _0x252cae=_0x504a5f,_0x56c8e5;(_0x56c8e5=this['_localCacheService'])==null||_0x56c8e5['updateOfflineData'](this[_0x252cae(0x1c1)],this[_0x252cae(0x292)],this[_0x252cae(0x26e)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0xdfbf64=_0x504a5f;return this[_0xdfbf64(0x1d3)][_0xdfbf64(0x395)](this[_0xdfbf64(0x1c1)]);}[_0x504a5f(0x386)](){var _0x10ede0=_0x504a5f;this[_0x10ede0(0x1d3)][_0x10ede0(0x24b)](this['unitID']);}[_0x504a5f(0x418)](_0x281776){var _0x288ad7=_0x504a5f,_0x1bd9ad;let _0x38d085=this[_0x288ad7(0x534)](_0x281776);_0x38d085=this[_0x288ad7(0x1f8)](_0x38d085);const _0x10d851=_0x3dce8d['sequenceExecute'](_0x38d085[_0x288ad7(0x3f3)],this[_0x288ad7(0x3f2)],{'fromCollab':!0x0});if(!_0x10d851['result'])throw _0x10d851[_0x288ad7(0x4b4)]instanceof Error?_0x10d851['error']:new Error((_0x1bd9ad=_0x10d851['error'])!=null?_0x1bd9ad:_0x288ad7(0x47a));this[_0x288ad7(0x4c3)](_0x38d085),this['_transformStateCache'](_0x38d085),this[_0x288ad7(0x520)](_0x281776),this[_0x288ad7(0x1ae)](_0x38d085),this[_0x288ad7(0x3b7)](_0x38d085),this[_0x288ad7(0x386)]();}}_0x53fa2a[_0x504a5f(0x25f)]=class extends _0x10c72c{constructor(_0x303e2c,_0x38574d,_0x2593b4,_0x24656e,_0x1f007c,_0xd23f8,_0x51b825,_0x479fb6,_0x295132,_0x127917){var _0x3c548f=_0x504a5f;super(_0x303e2c,_0x38574d,null,[],_0x2593b4,_0x51b825,_0xd23f8,_0x24656e,_0x127917),_0x2d5efa(this,_0x3c548f(0x4d9),_0x3c548f(0x50a)),(this[_0x3c548f(0x452)]=_0x1f007c,this[_0x3c548f(0x4ef)]=_0x479fb6,this[_0x3c548f(0x46e)]=_0x295132,this['localCacheService']=_0x127917);}['appendMutation'](_0x11fbca){var _0x5109e7=_0x504a5f;const _0x53be1f=this[_0x5109e7(0x452)][_0x5109e7(0x1a7)](_0x53fa2a[_0x5109e7(0x532)],this[_0x5109e7(0x1c1)],this[_0x5109e7(0x292)],[_0x11fbca],this['_handler']);return _0x53be1f[_0x5109e7(0x21c)](),_0x53be1f[_0x5109e7(0x50e)](),_0x53be1f;}['onRemoteChangeset'](_0x23f798){var _0x509010=_0x504a5f;if(this[_0x509010(0x1f3)](_0x23f798))return this['_injector'][_0x509010(0x1a7)](_0x53fa2a[_0x509010(0x228)],this['unitID'],this[_0x509010(0x292)],null,[],null,[_0x23f798],this[_0x509010(0x24e)]);try{const _0x5a0e1e=this[_0x509010(0x46e)][_0x509010(0x1d0)](_0x23f798,[_0x3f5589]);if(_0x467e2c['isTransformMutationsWithChangesetSuccess'](_0x5a0e1e)){const {c1Prime:_0x52d082}=_0x5a0e1e;return this[_0x509010(0x418)](_0x52d082),this;}throw _0x5a0e1e[_0x509010(0x4b4)];}catch(_0x51a6c7){return this['_logService']['error'](_0x51a6c7),this['_onConflict'](!0x1);}}['_onConflict'](_0x1f3725){var _0x49ca9c=_0x504a5f;return this[_0x49ca9c(0x452)][_0x49ca9c(0x1a7)](_0x53fa2a[_0x49ca9c(0x351)],this[_0x49ca9c(0x1c1)],this[_0x49ca9c(0x292)],null,[],this[_0x49ca9c(0x24e)],_0x1f3725);}[_0x504a5f(0x2b7)](){var _0x114d26=_0x504a5f;throw new Error(_0x114d26(0x512));}[_0x504a5f(0x378)](){var _0x17d797=_0x504a5f;throw new Error(_0x17d797(0x3e4));}[_0x504a5f(0x2cb)](){return this;}[_0x504a5f(0x352)](){var _0x4d1eed=_0x504a5f;return this[_0x4d1eed(0x452)][_0x4d1eed(0x1a7)](_0x53fa2a[_0x4d1eed(0x30f)],this[_0x4d1eed(0x1c1)],this[_0x4d1eed(0x292)],null,[],this[_0x4d1eed(0x24e)]);}['toggleOnline'](){return this;}[_0x504a5f(0x2e9)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x504a5f(0x3a0)](){var _0xc9804f=_0x504a5f;const _0x31505f=this['_revisionService']['getCurrentRevOfUnit'](this[_0xc9804f(0x1c1)]);return this[_0xc9804f(0x24e)][_0xc9804f(0x42e)]({'from':_0x31505f,'to':0x0}),this[_0xc9804f(0x452)][_0xc9804f(0x1a7)](_0x53fa2a[_0xc9804f(0x228)],this[_0xc9804f(0x1c1)],this[_0xc9804f(0x292)],null,[],null,[],this[_0xc9804f(0x24e)]);}},_0x53fa2a[_0x504a5f(0x25f)]=_0x565b4b([_0x3a0694(0x3,_0x3dce8d[_0x504a5f(0x35a)](_0x467e2c[_0x504a5f(0x278)])),_0x3a0694(0x4,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d['Injector'])),_0x3a0694(0x5,_0x3dce8d[_0x504a5f(0x3ad)]),_0x3a0694(0x6,_0x3dce8d[_0x504a5f(0x4ff)]),_0x3a0694(0x7,_0x3dce8d[_0x504a5f(0x4fd)]),_0x3a0694(0x8,_0x467e2c[_0x504a5f(0x253)]),_0x3a0694(0x9,_0x3dce8d[_0x504a5f(0x387)](_0x52309e))],_0x53fa2a[_0x504a5f(0x25f)]),_0x53fa2a['PendingState']=class extends _0x10c72c{constructor(_0x70323,_0x53c91d,_0x45bf7c,_0x53a42b,_0x2f40f2,_0x2570d1,_0x5b2dfe,_0x2dea3b,_0x2d24df,_0x5848c9,_0x411936,_0x253cc0,_0x23efe3,_0x364769){var _0x4e644d=_0x504a5f;super(_0x70323,_0x53c91d,null,_0x45bf7c,_0x53a42b,_0x2d24df,_0x23efe3,_0x2570d1,_0x364769),_0x2d5efa(this,'status',_0x4e644d(0x2c2)),_0x2d5efa(this,_0x4e644d(0x27a),null),_0x2d5efa(this,_0x4e644d(0x2ce),null),(this[_0x4e644d(0x452)]=_0x2f40f2,this[_0x4e644d(0x38e)]=_0x5b2dfe,this['_logService']=_0x2dea3b,this[_0x4e644d(0x4e8)]=_0x5848c9,this[_0x4e644d(0x46e)]=_0x411936,this[_0x4e644d(0x3ed)]=_0x253cc0);}[_0x504a5f(0x20e)](_0xdd24a1){var _0x5c11eb=_0x504a5f;return this[_0x5c11eb(0x2a4)][_0x5c11eb(0x33e)](_0xdd24a1),this[_0x5c11eb(0x50e)](),this;}[_0x504a5f(0x328)](_0x38684b){var _0x1be404=_0x504a5f;if(this[_0x1be404(0x1f3)](_0x38684b))return this[_0x1be404(0x31e)](),this['_injector'][_0x1be404(0x1a7)](_0x53fa2a[_0x1be404(0x228)],this[_0x1be404(0x1c1)],this[_0x1be404(0x292)],null,this[_0x1be404(0x2a4)],null,[_0x38684b],this[_0x1be404(0x24e)]);try{const _0x567da1=this[_0x1be404(0x46e)][_0x1be404(0x1d0)](_0x38684b,this[_0x1be404(0x2a4)]);if(_0x467e2c[_0x1be404(0x45e)](_0x567da1)){const {c1Prime:_0x202a0c,m2Prime:_0x3d3b16}=_0x567da1;this[_0x1be404(0x418)](_0x202a0c);const _0x4658b6=this[_0x1be404(0x452)][_0x1be404(0x1a7)](_0x53fa2a[_0x1be404(0x532)],this[_0x1be404(0x1c1)],this[_0x1be404(0x292)],_0x3d3b16,this[_0x1be404(0x24e)]);this[_0x1be404(0x31e)]();const _0x502f53=new Date()['getTime'](),_0x3bf3d5=this[_0x1be404(0x27a)]?Math[_0x1be404(0x1d4)](this['_scheduleCompleteTimestamp']-_0x502f53,0x0):this[_0x1be404(0x34a)]();return _0x4658b6[_0x1be404(0x21c)](_0x3bf3d5),_0x4658b6;}throw _0x567da1[_0x1be404(0x4b4)];}catch(_0x3cbd4f){return this[_0x1be404(0x4ef)][_0x1be404(0x4b4)](_0x3cbd4f),this[_0x1be404(0x425)](!0x1);}}[_0x504a5f(0x2b7)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x504a5f(0x378)](){var _0x2ae85a=_0x504a5f;throw new Error(_0x2ae85a(0x2b1));}['onRemoteRetry'](){return this;}[_0x504a5f(0x352)](){var _0x133790=_0x504a5f;return this['_clearScheduledTask'](),this[_0x133790(0x452)][_0x133790(0x1a7)](_0x53fa2a['OfflineState'],this[_0x133790(0x1c1)],this['type'],null,this['_pendingMutations'],this[_0x133790(0x24e)]);}[_0x504a5f(0x261)](){return this;}[_0x504a5f(0x21c)](_0xc63f69){var _0x48c865=_0x504a5f;const _0x579518=_0xc63f69!=null?_0xc63f69:this[_0x48c865(0x34a)]();this[_0x48c865(0x27a)]=new Date()['getTime']()+_0x579518,this['_sendingTimer']=setTimeout(()=>{var _0x54a5e6=_0x48c865;this[_0x54a5e6(0x31e)]();let _0x33c260=null;switch(this[_0x54a5e6(0x292)]){case _0x4dd826[_0x54a5e6(0x3e2)]:{_0x33c260=_0x522023(this['_pendingMutations'],this[_0x54a5e6(0x1c1)],this[_0x54a5e6(0x3ed)],this[_0x54a5e6(0x1d3)],this[_0x54a5e6(0x38e)]);break;}case _0x4dd826[_0x54a5e6(0x3b0)]:{this[_0x54a5e6(0x2a4)][_0x54a5e6(0x3f9)](_0x1adc90=>_0x1adc90['id']===_0x2ea0b8['RichTextEditingMutation']['id'])?_0x33c260=_0x92fa43(this[_0x54a5e6(0x2a4)],this['unitID'],this['_univerInstanceService'],this[_0x54a5e6(0x1d3)],this[_0x54a5e6(0x38e)]):_0x33c260=_0x522023(this[_0x54a5e6(0x2a4)],this[_0x54a5e6(0x1c1)],this[_0x54a5e6(0x3ed)],this[_0x54a5e6(0x1d3)],this[_0x54a5e6(0x38e)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x54a5e6(0x292)]+_0x54a5e6(0x25a));}const {changeset:_0x1ab29d,pendingMutations:_0x266f4b}=_0x33c260;this['_handler'][_0x54a5e6(0x347)](_0x1ab29d);const _0x2947c9=_0x266f4b[_0x54a5e6(0x3dd)]?this[_0x54a5e6(0x452)][_0x54a5e6(0x1a7)](_0x53fa2a[_0x54a5e6(0x4b5)],this[_0x54a5e6(0x1c1)],this[_0x54a5e6(0x292)],_0x1ab29d,_0x266f4b,this['_handler'],void 0x0):this['_injector'][_0x54a5e6(0x1a7)](_0x53fa2a['AwaitingState'],this[_0x54a5e6(0x1c1)],this[_0x54a5e6(0x292)],_0x1ab29d,this[_0x54a5e6(0x24e)]);_0x2947c9['_updateLocalCache'](),this[_0x54a5e6(0x24e)][_0x54a5e6(0x2ad)](this,_0x2947c9);},_0x579518);}[_0x504a5f(0x34a)](){var _0x385e3f=_0x504a5f,_0x5f2e14;const _0xd697b9=this[_0x385e3f(0x4e8)][_0x385e3f(0x3cb)](_0x25f3a7);return(_0x5f2e14=_0xd697b9==null?void 0x0:_0xd697b9[_0x385e3f(0x501)])!=null?_0x5f2e14:0x7d0;}[_0x504a5f(0x2e9)](){var _0x1d31a5=_0x504a5f;throw new Error(_0x1d31a5(0x515));}[_0x504a5f(0x31e)](){var _0x5e49e4=_0x504a5f;this[_0x5e49e4(0x2ce)]!=null&&(clearTimeout(this[_0x5e49e4(0x2ce)]),this[_0x5e49e4(0x2ce)]=null);}[_0x504a5f(0x425)](_0x5bedc2){var _0xf9f8f2=_0x504a5f;return this[_0xf9f8f2(0x31e)](),this[_0xf9f8f2(0x452)]['createInstance'](_0x53fa2a[_0xf9f8f2(0x351)],this[_0xf9f8f2(0x1c1)],this[_0xf9f8f2(0x292)],null,this['_pendingMutations'],this[_0xf9f8f2(0x24e)],_0x5bedc2);}},_0x53fa2a['PendingState']=_0x565b4b([_0x3a0694(0x4,_0x3dce8d['Inject'](_0x3dce8d[_0x504a5f(0x1c0)])),_0x3a0694(0x5,_0x3dce8d[_0x504a5f(0x35a)](_0x467e2c[_0x504a5f(0x278)])),_0x3a0694(0x6,_0x3dce8d['Inject'](_0x53fa2a[_0x504a5f(0x297)])),_0x3a0694(0x7,_0x3dce8d[_0x504a5f(0x4fd)]),_0x3a0694(0x8,_0x3dce8d[_0x504a5f(0x4ff)]),_0x3a0694(0x9,_0x3dce8d['IConfigService']),_0x3a0694(0xa,_0x467e2c[_0x504a5f(0x253)]),_0x3a0694(0xb,_0x3dce8d[_0x504a5f(0x499)]),_0x3a0694(0xc,_0x3dce8d[_0x504a5f(0x3ad)]),_0x3a0694(0xd,_0x3dce8d[_0x504a5f(0x387)](_0x52309e))],_0x53fa2a[_0x504a5f(0x532)]),_0x53fa2a[_0x504a5f(0x1b1)]=class extends _0x10c72c{constructor(_0x593f6e,_0x371c22,_0x3c928d,_0x4e23eb,_0x1a9c18,_0x1d381d,_0x2ed4e4,_0x4307eb,_0x116e5b,_0x41abe8,_0x262ae9){var _0x43a085=_0x504a5f;super(_0x593f6e,_0x371c22,_0x3c928d,[],_0x4e23eb,_0x2ed4e4,_0x41abe8,_0x1d381d,_0x262ae9),_0x2d5efa(this,'status',_0x43a085(0x4e6)),_0x2d5efa(this,'_resendTimeout',0x0),_0x2d5efa(this,'_resendTimer'),_0x2d5efa(this,_0x43a085(0x28d)),(this[_0x43a085(0x452)]=_0x1a9c18,this['_logService']=_0x4307eb,this['_transformService']=_0x116e5b);}[_0x504a5f(0x20e)](_0x297722){var _0x283315=_0x504a5f;this[_0x283315(0x31e)]();const _0xb21dbc=this[_0x283315(0x452)][_0x283315(0x1a7)](_0x53fa2a[_0x283315(0x4b5)],this[_0x283315(0x1c1)],this[_0x283315(0x292)],this[_0x283315(0x26e)],[_0x297722],this['_handler'],this[_0x283315(0x1b5)]);return _0xb21dbc[_0x283315(0x50e)](),_0xb21dbc;}[_0x504a5f(0x328)](_0x38d959){var _0xeccf9a=_0x504a5f;if(this[_0xeccf9a(0x1f3)](_0x38d959))return this[_0xeccf9a(0x31e)](),this[_0xeccf9a(0x452)]['createInstance'](_0x53fa2a[_0xeccf9a(0x228)],this[_0xeccf9a(0x1c1)],this[_0xeccf9a(0x292)],this[_0xeccf9a(0x26e)],[],null,[_0x38d959],this[_0xeccf9a(0x24e)]);try{const _0x101361=this[_0xeccf9a(0x46e)][_0xeccf9a(0x4c9)]([_0x38d959],[this[_0xeccf9a(0x26e)]],!0x1);if(_0x467e2c['isTransformChangesetsSuccess'](_0x101361)){const {c1Prime:_0x3fa1b5,c2Prime:_0x1b01e8}=_0x101361;this['_executeRemoteChangeset'](_0x3fa1b5[0x0]),_0x1b01e8[0x0][_0xeccf9a(0x441)]=this['_getCurrentRevision'](),this[_0xeccf9a(0x31e)]();const _0x13cb18=this[_0xeccf9a(0x452)]['createInstance'](_0x53fa2a['AwaitingState'],this[_0xeccf9a(0x1c1)],this[_0xeccf9a(0x292)],_0x1b01e8[0x0],this['_handler']);return _0x13cb18[_0xeccf9a(0x50e)](),_0x13cb18;}return this['_onConflict'](!0x1);}catch(_0x38896b){return this[_0xeccf9a(0x4ef)][_0xeccf9a(0x4b4)](_0x38896b),this[_0xeccf9a(0x425)](!0x1);}}['onRemoteAck'](_0x5c8de7){var _0x3c218d=_0x504a5f;this[_0x3c218d(0x31e)]();const _0x533884=this[_0x3c218d(0x1d3)][_0x3c218d(0x395)](this[_0x3c218d(0x1c1)]);if(_0x5c8de7['revision']<_0x533884-0x1)return this;if(this[_0x3c218d(0x1f3)](_0x5c8de7))return this['_injector']['createInstance'](_0x53fa2a['FetchingMissState'],this[_0x3c218d(0x1c1)],this['type'],null,[],this[_0x3c218d(0x26e)],[],this['_handler']);this[_0x3c218d(0x386)]();const _0x24b7c0=this['_injector'][_0x3c218d(0x1a7)](_0x53fa2a['SyncedState'],this['unitID'],this['type'],this[_0x3c218d(0x24e)]);return _0x24b7c0[_0x3c218d(0x50e)](),_0x24b7c0;}[_0x504a5f(0x378)](_0x106b80){var _0x479338=_0x504a5f;return this[_0x479338(0x425)](!!(_0x106b80!=null&&_0x106b80['isPermissionRej']));}[_0x504a5f(0x2cb)](_0x21017e){var _0x56ca71=_0x504a5f;return this[_0x56ca71(0x4ed)]>_0x13d0ec?this['toggleOffline']():(this[_0x56ca71(0x1b5)]=_0x5b8346(this['_resendTimeout'],{'timeout':this[_0x56ca71(0x4ed)],'reqId':_0x21017e[_0x56ca71(0x1e1)]}),this[_0x56ca71(0x28d)]=this[_0x56ca71(0x1b5)][_0x56ca71(0x4fc)](({reqId:_0x42195f,timeout:_0x1f3b0c})=>{var _0x58aebd=_0x56ca71;this[_0x58aebd(0x252)](_0x42195f,_0x1f3b0c);}),this);}[_0x504a5f(0x352)](){var _0x1022ba=_0x504a5f;return this[_0x1022ba(0x31e)](),this[_0x1022ba(0x452)][_0x1022ba(0x1a7)](_0x53fa2a['OfflineState'],this[_0x1022ba(0x1c1)],this[_0x1022ba(0x292)],this[_0x1022ba(0x26e)],[],this[_0x1022ba(0x24e)]);}[_0x504a5f(0x261)](){return this;}['resend'](){var _0x4e1e95=_0x504a5f;this[_0x4e1e95(0x24e)][_0x4e1e95(0x347)](this[_0x4e1e95(0x26e)]);}[_0x504a5f(0x425)](_0x25cbab){var _0x3b64fd=_0x504a5f;return this[_0x3b64fd(0x31e)](),this[_0x3b64fd(0x452)][_0x3b64fd(0x1a7)](_0x53fa2a[_0x3b64fd(0x351)],this[_0x3b64fd(0x1c1)],this[_0x3b64fd(0x292)],this[_0x3b64fd(0x26e)],[],this[_0x3b64fd(0x24e)],_0x25cbab);}[_0x504a5f(0x252)](_0x3bf4e8,_0x52f544){var _0x2fda17=_0x504a5f,_0x53f356;_0x3bf4e8===((_0x53f356=this['_awaitingChangeset'])==null?void 0x0:_0x53f356[_0x2fda17(0x1e1)])&&(this[_0x2fda17(0x2e9)](),this[_0x2fda17(0x4ed)]=_0x52f544===0x0?0x3e8:_0x52f544*0x2);}[_0x504a5f(0x31e)](){var _0x300b8b=_0x504a5f,_0x47bc99;(_0x47bc99=this[_0x300b8b(0x28d)])==null||_0x47bc99[_0x300b8b(0x448)](),this[_0x300b8b(0x4ed)]=0x0;}},_0x53fa2a[_0x504a5f(0x1b1)]=_0x565b4b([_0x3a0694(0x4,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x1c0)])),_0x3a0694(0x5,_0x3dce8d[_0x504a5f(0x35a)](_0x467e2c['RevisionService'])),_0x3a0694(0x6,_0x3dce8d['ICommandService']),_0x3a0694(0x7,_0x3dce8d[_0x504a5f(0x4fd)]),_0x3a0694(0x8,_0x467e2c[_0x504a5f(0x253)]),_0x3a0694(0x9,_0x3dce8d['IUndoRedoService']),_0x3a0694(0xa,_0x3dce8d[_0x504a5f(0x387)](_0x52309e))],_0x53fa2a['AwaitingState']),_0x53fa2a[_0x504a5f(0x4b5)]=class extends _0x10c72c{constructor(_0x46d007,_0x1469db,_0x41ef59,_0xb4a285,_0x5810bd,_0x553440,_0x38f93f,_0x7d76fd,_0x598735,_0x3b0090,_0x532f94,_0x58c3be,_0x474f25){var _0x637dc=_0x504a5f;super(_0x46d007,_0x1469db,_0x41ef59,_0xb4a285,_0x5810bd,_0x598735,_0x58c3be,_0x7d76fd,_0x474f25),_0x2d5efa(this,_0x637dc(0x4d9),_0x637dc(0x4cb)),_0x2d5efa(this,'_resendTimeout',0x0),_0x2d5efa(this,_0x637dc(0x1b5)),_0x2d5efa(this,_0x637dc(0x28d)),(this[_0x637dc(0x452)]=_0x38f93f,this[_0x637dc(0x4ef)]=_0x3b0090,this[_0x637dc(0x46e)]=_0x532f94,this[_0x637dc(0x2e7)]=_0x474f25,_0x553440&&(this['_resendTimer']=_0x553440,this[_0x637dc(0x28d)]=this[_0x637dc(0x1b5)][_0x637dc(0x4fc)](({reqId:_0x3b3086,timeout:_0x31a0bd})=>{var _0x2253ac=_0x637dc;this[_0x2253ac(0x252)](_0x3b3086,_0x31a0bd);})));}[_0x504a5f(0x20e)](_0x2c1fcb){var _0x436f96=_0x504a5f;return this[_0x436f96(0x2a4)][_0x436f96(0x33e)](_0x2c1fcb),this;}['onRemoteChangeset'](_0x17081a){var _0x479da9=_0x504a5f;if(this[_0x479da9(0x1f3)](_0x17081a))return this[_0x479da9(0x31e)](),this['_injector']['createInstance'](_0x53fa2a[_0x479da9(0x228)],this[_0x479da9(0x1c1)],this[_0x479da9(0x292)],this[_0x479da9(0x26e)],this[_0x479da9(0x2a4)],null,[_0x17081a],this[_0x479da9(0x24e)]);try{const _0x4db87d=this[_0x479da9(0x46e)][_0x479da9(0x4c9)]([_0x17081a],[this[_0x479da9(0x26e)]],!0x1);if(_0x467e2c[_0x479da9(0x3da)](_0x4db87d)){const {c1Prime:_0x214c50,c2Prime:_0x40132f}=_0x4db87d,_0x7e47e4=this[_0x479da9(0x46e)][_0x479da9(0x1d0)](_0x214c50[0x0],this[_0x479da9(0x2a4)]);if(_0x467e2c[_0x479da9(0x45e)](_0x7e47e4)){const {c1Prime:_0x3bfb7d,m2Prime:_0x2afa26}=_0x7e47e4;return this[_0x479da9(0x418)](_0x3bfb7d),_0x40132f[0x0][_0x479da9(0x441)]=this[_0x479da9(0x290)](),this[_0x479da9(0x31e)](),this[_0x479da9(0x452)][_0x479da9(0x1a7)](_0x53fa2a[_0x479da9(0x4b5)],this['unitID'],this[_0x479da9(0x292)],_0x40132f[0x0],_0x2afa26,this[_0x479da9(0x24e)],void 0x0);}throw _0x7e47e4[_0x479da9(0x4b4)];}throw _0x4db87d[_0x479da9(0x4b4)];}catch(_0x347ad2){return this[_0x479da9(0x4ef)][_0x479da9(0x4b4)](_0x347ad2),this[_0x479da9(0x425)](!0x1);}}['onRemoteAck'](_0x1784c8){var _0x10ab6a=_0x504a5f;if(this[_0x10ab6a(0x31e)](),this[_0x10ab6a(0x1f3)](_0x1784c8))return this['_injector'][_0x10ab6a(0x1a7)](_0x53fa2a[_0x10ab6a(0x228)],this[_0x10ab6a(0x1c1)],this[_0x10ab6a(0x292)],null,this['_pendingMutations'],this[_0x10ab6a(0x26e)],[],this[_0x10ab6a(0x24e)]);this[_0x10ab6a(0x386)]();const _0x1257d7=this[_0x10ab6a(0x452)][_0x10ab6a(0x1a7)](_0x53fa2a[_0x10ab6a(0x532)],this['unitID'],this[_0x10ab6a(0x292)],this[_0x10ab6a(0x2a4)],this['_handler']);return _0x1257d7[_0x10ab6a(0x21c)](),_0x1257d7[_0x10ab6a(0x50e)](),_0x1257d7;}[_0x504a5f(0x378)](_0x58f054){var _0x1aedde=_0x504a5f;return this[_0x1aedde(0x425)](!!(_0x58f054!=null&&_0x58f054['isPermissionRej']));}[_0x504a5f(0x2cb)](_0x75e3f9){var _0x3e407d=_0x504a5f;return this[_0x3e407d(0x4ed)]>_0x13d0ec?this[_0x3e407d(0x352)]():(this['_resendTimer']=_0x5b8346(this[_0x3e407d(0x4ed)],{'timeout':this[_0x3e407d(0x4ed)],'reqId':_0x75e3f9[_0x3e407d(0x1e1)]}),this[_0x3e407d(0x28d)]=this[_0x3e407d(0x1b5)][_0x3e407d(0x4fc)](({reqId:_0x5cf279,timeout:_0xe82424})=>{this['_resendWithTimeout'](_0x5cf279,_0xe82424);}),this);}[_0x504a5f(0x352)](){var _0xa2d659=_0x504a5f;return this['_clearScheduledTask'](),this['_injector'][_0xa2d659(0x1a7)](_0x53fa2a[_0xa2d659(0x30f)],this[_0xa2d659(0x1c1)],this[_0xa2d659(0x292)],this['_awaitingChangeset'],this[_0xa2d659(0x2a4)],this[_0xa2d659(0x24e)]);}['toggleOnline'](){return this;}[_0x504a5f(0x2e9)](){var _0x413465=_0x504a5f;this[_0x413465(0x24e)][_0x413465(0x347)](this['_awaitingChangeset']);}['_onConflict'](_0x5f5d6e){var _0x40c61=_0x504a5f;return this[_0x40c61(0x31e)](),this[_0x40c61(0x452)]['createInstance'](_0x53fa2a[_0x40c61(0x351)],this[_0x40c61(0x1c1)],this['type'],null,this[_0x40c61(0x2a4)],this[_0x40c61(0x24e)],_0x5f5d6e);}[_0x504a5f(0x252)](_0x457906,_0x3a50c7){var _0x57de03=_0x504a5f,_0x5747fa;_0x457906===((_0x5747fa=this[_0x57de03(0x26e)])==null?void 0x0:_0x5747fa[_0x57de03(0x1e1)])&&(this[_0x57de03(0x2e9)](),this[_0x57de03(0x4ed)]=_0x3a50c7===0x0?0x3e8:_0x3a50c7*0x2);}['_clearScheduledTask'](){var _0x2b48ae=_0x504a5f,_0x226c41;(_0x226c41=this[_0x2b48ae(0x28d)])==null||_0x226c41[_0x2b48ae(0x448)](),this[_0x2b48ae(0x4ed)]=0x0;}},_0x53fa2a[_0x504a5f(0x4b5)]=_0x565b4b([_0x3a0694(0x6,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x1c0)])),_0x3a0694(0x7,_0x3dce8d[_0x504a5f(0x35a)](_0x467e2c[_0x504a5f(0x278)])),_0x3a0694(0x8,_0x3dce8d[_0x504a5f(0x4ff)]),_0x3a0694(0x9,_0x3dce8d[_0x504a5f(0x4fd)]),_0x3a0694(0xa,_0x467e2c[_0x504a5f(0x253)]),_0x3a0694(0xb,_0x3dce8d[_0x504a5f(0x3ad)]),_0x3a0694(0xc,_0x3dce8d[_0x504a5f(0x387)](_0x52309e))],_0x53fa2a[_0x504a5f(0x4b5)]),_0x53fa2a[_0x504a5f(0x351)]=class extends _0x10c72c{constructor(_0x4b187a,_0x1f7d83,_0x25f3a2,_0x2c593a,_0x4f14ce,_0x443be2=!0x1,_0x28d65e,_0x492d99,_0x376040,_0x5e2951,_0x50699f,_0x5e6f7d,_0x39a80f){var _0x2c64a9=_0x504a5f;super(_0x4b187a,_0x1f7d83,_0x25f3a2,_0x2c593a,_0x4f14ce,_0x492d99,_0x376040,_0x5e2951,_0x39a80f),_0x2d5efa(this,_0x2c64a9(0x4d9),_0x2c64a9(0x4a3)),(this[_0x2c64a9(0x343)]=_0x443be2,this['_permissionService']=_0x28d65e,this['_localeService']=_0x50699f,this[_0x2c64a9(0x4d2)]=_0x5e6f7d,this[_0x2c64a9(0x2e7)]=_0x39a80f,this[_0x2c64a9(0x4af)](),this[_0x2c64a9(0x435)](),this[_0x2c64a9(0x2f8)]());}[_0x504a5f(0x20e)](){return this;}[_0x504a5f(0x328)](){return this;}[_0x504a5f(0x2b7)](){return this;}[_0x504a5f(0x378)](){return this;}[_0x504a5f(0x2cb)](){return this;}[_0x504a5f(0x352)](){return this;}[_0x504a5f(0x261)](){return this;}[_0x504a5f(0x2e9)](){var _0x1f9e95=_0x504a5f;throw new Error(_0x1f9e95(0x3ef));}[_0x504a5f(0x435)](){var _0xe5faee=_0x504a5f,_0x2f5681;(_0x2f5681=this['_localCacheService'])==null||_0x2f5681[_0xe5faee(0x4de)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){var _0x533ad9=_0x504a5f;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x533ad9(0x332)]({'id':_0x5d81cf[_0x533ad9(0x4f0)]}):this[_0x533ad9(0x4d2)][_0x533ad9(0x332)]({'id':_0x5d81cf[_0x533ad9(0x3f5)]});}['_disableEditing'](){var _0x51ca3a=_0x504a5f;this['_permissionService'][_0x51ca3a(0x1e2)](new _0x56f059[(_0x51ca3a(0x48c))](this[_0x51ca3a(0x1c1)])['id'],!0x1);}},_0x53fa2a[_0x504a5f(0x351)]=_0x565b4b([_0x3a0694(0x6,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d['IPermissionService'])),_0x3a0694(0x7,_0x3dce8d[_0x504a5f(0x4ff)]),_0x3a0694(0x8,_0x3dce8d[_0x504a5f(0x3ad)]),_0x3a0694(0x9,_0x3dce8d[_0x504a5f(0x35a)](_0x467e2c['RevisionService'])),_0x3a0694(0xa,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x531)])),_0x3a0694(0xb,_0x3dce8d['Inject'](_0x1fdf46)),_0x3a0694(0xc,_0x3dce8d[_0x504a5f(0x387)](_0x52309e))],_0x53fa2a[_0x504a5f(0x351)]),_0x53fa2a[_0x504a5f(0x30f)]=class extends _0x10c72c{constructor(_0x3be7c8,_0x36f351,_0x21f755,_0x402eed,_0x18797e,_0x3062cb,_0x501025,_0x982e5e,_0x27b6b8,_0x13abb4){var _0x3aea04=_0x504a5f;super(_0x3be7c8,_0x36f351,_0x21f755,_0x402eed,_0x18797e,_0x982e5e,_0x27b6b8,_0x501025,_0x13abb4),_0x2d5efa(this,_0x3aea04(0x4d9),_0x3aea04(0x230)),this[_0x3aea04(0x452)]=_0x3062cb;}['appendMutation'](_0x55675e){var _0x5f5a45=_0x504a5f;return this[_0x5f5a45(0x2a4)][_0x5f5a45(0x33e)](_0x55675e),this[_0x5f5a45(0x50e)](),this;}[_0x504a5f(0x328)](_0x1e503c){var _0x2c2cc2=_0x504a5f;throw new Error(_0x2c2cc2(0x227));}[_0x504a5f(0x2b7)](){var _0x25dff0=_0x504a5f;throw new Error(_0x25dff0(0x4ec));}[_0x504a5f(0x378)](){var _0xb9e8de=_0x504a5f;throw new Error(_0xb9e8de(0x49a));}[_0x504a5f(0x2cb)](){return this;}[_0x504a5f(0x352)](){return this;}[_0x504a5f(0x261)](){var _0xb8e79=_0x504a5f;const {_injector:_0xff76e2,_pendingMutations:_0x411422,_awaitingChangeset:_0x2cd533,unitID:_0x20d32b,_handler:_0x315793,type:_0x518300}=this,_0x23dffa=_0xcfa631(_0xff76e2,_0x20d32b,_0x518300,_0x2cd533,_0x411422,_0x315793);return _0x23dffa instanceof _0x53fa2a['PendingState']?_0x23dffa[_0xb8e79(0x21c)]():(_0x23dffa instanceof _0x53fa2a[_0xb8e79(0x4b5)]||_0x23dffa instanceof _0x53fa2a[_0xb8e79(0x1b1)])&&_0x23dffa[_0xb8e79(0x2e9)](),_0x23dffa;}[_0x504a5f(0x2e9)](){var _0x3c7671=_0x504a5f;throw new Error(_0x3c7671(0x341));}},_0x53fa2a[_0x504a5f(0x30f)]=_0x565b4b([_0x3a0694(0x5,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x1c0)])),_0x3a0694(0x6,_0x3dce8d[_0x504a5f(0x35a)](_0x467e2c['RevisionService'])),_0x3a0694(0x7,_0x3dce8d[_0x504a5f(0x4ff)]),_0x3a0694(0x8,_0x3dce8d[_0x504a5f(0x3ad)]),_0x3a0694(0x9,_0x3dce8d['Optional'](_0x52309e))],_0x53fa2a['OfflineState']),_0x53fa2a[_0x504a5f(0x228)]=class extends _0x10c72c{constructor(_0x4ac43e,_0x38c07f,_0x54377b,_0x27a25f,_0x12ea67,_0x3b4f20,_0xa895de,_0x238c0a,_0x14b159,_0x19a669,_0x24e16e,_0x33e149,_0x5c76a4,_0x54c3d4){var _0x12d8da=_0x504a5f;super(_0x4ac43e,_0x38c07f,_0x54377b,_0x27a25f,_0xa895de,_0x24e16e,_0x33e149,_0x14b159,_0x54c3d4),_0x2d5efa(this,_0x12d8da(0x4d9),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x12ea67,this['_queuedRemoteChangesets']=_0x3b4f20,this['_injector']=_0x238c0a,this[_0x12d8da(0x4ef)]=_0x19a669,this['_transformService']=_0x5c76a4,this[_0x12d8da(0x2e7)]=_0x54c3d4);}['onMissedChangesetFetched'](_0x55bf6c){var _0x3e8c89=_0x504a5f;try{const _0x400c97=[..._0x55bf6c,...this['_queuedRemoteChangesets']],_0x34ea60=[this[_0x3e8c89(0x26e)]||this[_0x3e8c89(0x4b7)]][_0x3e8c89(0x2d0)](_0x3cdd0a=>!!_0x3cdd0a);let _0x37f580,_0x1db7fe;if(_0x34ea60['length']){const _0x54cc3e=this['_transformService'][_0x3e8c89(0x4c9)](_0x400c97,_0x34ea60,!0x1);if(!_0x467e2c[_0x3e8c89(0x3da)](_0x54cc3e))throw _0x54cc3e[_0x3e8c89(0x4b4)];_0x37f580=_0x54cc3e[_0x3e8c89(0x244)],_0x1db7fe=_0x54cc3e[_0x3e8c89(0x3fd)];}else _0x37f580=_0x400c97,_0x1db7fe=[];let _0x48215e=this[_0x3e8c89(0x2a4)];_0x37f580[_0x3e8c89(0x4b8)](_0x22cc0c=>{var _0x2f534f=_0x3e8c89;let _0x43715c;if(_0x48215e[_0x2f534f(0x3dd)]){const _0x499d77=this[_0x2f534f(0x46e)]['transformMutationsWithChangeset'](_0x22cc0c,_0x48215e);if(!_0x467e2c[_0x2f534f(0x45e)](_0x499d77))throw _0x499d77[_0x2f534f(0x4b4)];_0x43715c=_0x499d77[_0x2f534f(0x244)],_0x48215e=_0x499d77['m2Prime'];}else _0x43715c=_0x22cc0c;this['_executeRemoteChangeset'](_0x43715c);}),this[_0x3e8c89(0x4b7)]&&this[_0x3e8c89(0x386)](),this[_0x3e8c89(0x26e)]&&_0x1db7fe['length']&&(_0x1db7fe[0x0][_0x3e8c89(0x441)]=this['_getCurrentRevision']());let _0x193fad;if(this[_0x3e8c89(0x26e)]&&_0x48215e[_0x3e8c89(0x3dd)]!==0x0)_0x193fad=this[_0x3e8c89(0x452)][_0x3e8c89(0x1a7)](_0x53fa2a['AwaitingWithPendingState'],this[_0x3e8c89(0x1c1)],this[_0x3e8c89(0x292)],_0x1db7fe[0x0],_0x48215e,this[_0x3e8c89(0x24e)],void 0x0);else{if(this[_0x3e8c89(0x26e)]&&_0x48215e[_0x3e8c89(0x3dd)]===0x0)_0x1db7fe[0x0]['baseRev']=this['_getCurrentRevision'](),_0x193fad=this[_0x3e8c89(0x452)][_0x3e8c89(0x1a7)](_0x53fa2a['AwaitingState'],this[_0x3e8c89(0x1c1)],this[_0x3e8c89(0x292)],_0x1db7fe[0x0],this[_0x3e8c89(0x24e)]);else{if(_0x48215e[_0x3e8c89(0x3dd)]!==0x0){const _0x203d7f=this[_0x3e8c89(0x452)]['createInstance'](_0x53fa2a[_0x3e8c89(0x532)],this[_0x3e8c89(0x1c1)],this[_0x3e8c89(0x292)],_0x48215e,this[_0x3e8c89(0x24e)]);_0x203d7f[_0x3e8c89(0x21c)](),_0x193fad=_0x203d7f;}else _0x193fad=this[_0x3e8c89(0x452)]['createInstance'](_0x53fa2a[_0x3e8c89(0x25f)],this[_0x3e8c89(0x1c1)],this[_0x3e8c89(0x292)],this[_0x3e8c89(0x24e)]);}}return _0x193fad[_0x3e8c89(0x50e)](),_0x193fad;}catch(_0x45f5b7){return this[_0x3e8c89(0x4ef)]['error'](_0x3e8c89(0x3bf),_0x3e8c89(0x2eb),_0x45f5b7),this['_injector'][_0x3e8c89(0x1a7)](_0x53fa2a[_0x3e8c89(0x351)],this[_0x3e8c89(0x1c1)],this[_0x3e8c89(0x292)],this[_0x3e8c89(0x26e)],this[_0x3e8c89(0x2a4)],this[_0x3e8c89(0x24e)],!0x1);}}['resend'](){var _0xe9d1a0=_0x504a5f;throw new Error(_0xe9d1a0(0x2d7));}['appendMutation'](_0x28af55){var _0x2ba62a=_0x504a5f;return this[_0x2ba62a(0x2a4)][_0x2ba62a(0x33e)](_0x28af55),this;}[_0x504a5f(0x328)](_0x3ac269){var _0x5c0c41=_0x504a5f;return this['_queuedRemoteChangesets'][_0x5c0c41(0x33e)](_0x3ac269),this;}[_0x504a5f(0x2b7)](_0x50512f){var _0x4e2178=_0x504a5f;if(this[_0x4e2178(0x26e)])return this[_0x4e2178(0x4b7)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x4e2178(0x2b6));}[_0x504a5f(0x378)](_0x3c772e){var _0x40c232=_0x504a5f;return this[_0x40c232(0x425)](!!(_0x3c772e!=null&&_0x3c772e['isPermissionRej']));}[_0x504a5f(0x2cb)](){return this;}[_0x504a5f(0x352)](){var _0x5cb4b7=_0x504a5f;return this[_0x5cb4b7(0x452)][_0x5cb4b7(0x1a7)](_0x53fa2a[_0x5cb4b7(0x30f)],this[_0x5cb4b7(0x1c1)],this[_0x5cb4b7(0x292)],this[_0x5cb4b7(0x26e)],this[_0x5cb4b7(0x2a4)],this[_0x5cb4b7(0x24e)]);}['toggleOnline'](){return this;}[_0x504a5f(0x425)](_0x578fba){var _0x1398f1=_0x504a5f;return this[_0x1398f1(0x452)][_0x1398f1(0x1a7)](_0x53fa2a[_0x1398f1(0x351)],this[_0x1398f1(0x1c1)],this['type'],this[_0x1398f1(0x26e)],this[_0x1398f1(0x2a4)],this[_0x1398f1(0x24e)],_0x578fba);}},_0x53fa2a[_0x504a5f(0x228)]=_0x565b4b([_0x3a0694(0x7,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d['Injector'])),_0x3a0694(0x8,_0x3dce8d[_0x504a5f(0x35a)](_0x467e2c[_0x504a5f(0x278)])),_0x3a0694(0x9,_0x3dce8d['ILogService']),_0x3a0694(0xa,_0x3dce8d[_0x504a5f(0x4ff)]),_0x3a0694(0xb,_0x3dce8d[_0x504a5f(0x3ad)]),_0x3a0694(0xc,_0x467e2c['ITransformService']),_0x3a0694(0xd,_0x3dce8d[_0x504a5f(0x387)](_0x52309e))],_0x53fa2a[_0x504a5f(0x228)]);function _0xcfa631(_0x2150d7,_0x59c1d1,_0x3ccd50,_0x194907,_0x5aadf5,_0x208a5d){var _0x1f5ccb=_0x504a5f;return _0x194907&&_0x5aadf5[_0x1f5ccb(0x3dd)]?_0x2150d7[_0x1f5ccb(0x1a7)](_0x53fa2a['AwaitingWithPendingState'],_0x59c1d1,_0x3ccd50,_0x194907,_0x5aadf5,_0x208a5d,void 0x0):_0x194907?_0x2150d7[_0x1f5ccb(0x1a7)](_0x53fa2a['AwaitingState'],_0x59c1d1,_0x3ccd50,_0x194907,_0x208a5d):_0x5aadf5[_0x1f5ccb(0x3dd)]?_0x2150d7[_0x1f5ccb(0x1a7)](_0x53fa2a[_0x1f5ccb(0x532)],_0x59c1d1,_0x3ccd50,_0x5aadf5,_0x208a5d):_0x2150d7[_0x1f5ccb(0x1a7)](_0x53fa2a[_0x1f5ccb(0x25f)],_0x59c1d1,_0x3ccd50,_0x208a5d);}var _0x2d7a2b=Object[_0x504a5f(0x315)],_0xbc53fb=(_0x3e6fe1,_0x310b85,_0x1b8213,_0x1efadf)=>{for(var _0x21e317=_0x1efadf>0x1?void 0x0:_0x1efadf?_0x2d7a2b(_0x310b85,_0x1b8213):_0x310b85,_0x5da2f2=_0x3e6fe1['length']-0x1,_0x5eb3b2;_0x5da2f2>=0x0;_0x5da2f2--)(_0x5eb3b2=_0x3e6fe1[_0x5da2f2])&&(_0x21e317=_0x5eb3b2(_0x21e317)||_0x21e317);return _0x21e317;},_0x1622fe=(_0x5e0d69,_0xc93169)=>(_0x35cf2f,_0x65dd3c)=>_0xc93169(_0x35cf2f,_0x65dd3c,_0x5e0d69);_0x53fa2a[_0x504a5f(0x38f)]=class extends _0x3dce8d[_0x504a5f(0x1c7)]{constructor(_0x186594,_0x1fa804,_0x1b796a,_0x3cd4f5,_0x53ec5e,_0x3a4a7f,_0x3da8ad,_0x163622,_0x2a45b7,_0x1bb6c9,_0x544e5b,_0x18e6b0,_0x18a049){var _0x10a130=_0x504a5f;super(),_0x2d5efa(this,_0x10a130(0x204),new _0x5affe0['BehaviorSubject'](null)),_0x2d5efa(this,_0x10a130(0x2f4),this['_state$'][_0x10a130(0x2b3)]()),_0x2d5efa(this,_0x10a130(0x27d)),_0x2d5efa(this,_0x10a130(0x2c5),!0x1),_0x2d5efa(this,'_changesetSessionId',''),_0x2d5efa(this,_0x10a130(0x485),0x0),_0x2d5efa(this,'status$',this['state$'][_0x10a130(0x1c4)](_0x5affe0[_0x10a130(0x528)](_0x2912d9=>_0x2912d9?_0x2912d9[_0x10a130(0x4d9)]:_0x3a96e7[_0x10a130(0x2a1)]),_0x5affe0[_0x10a130(0x40b)](0x1))),_0x2d5efa(this,_0x10a130(0x3a1),!0x1),_0x2d5efa(this,_0x10a130(0x51c),[]),(this['unitID']=_0x186594,this[_0x10a130(0x211)]=_0x1fa804,this[_0x10a130(0x3d8)]=_0x1b796a,this['_injector']=_0x3cd4f5,this[_0x10a130(0x22f)]=_0x53ec5e,this['_localeService']=_0x3a4a7f,this[_0x10a130(0x1d3)]=_0x3da8ad,this[_0x10a130(0x366)]=_0x163622,this[_0x10a130(0x4ef)]=_0x2a45b7,this[_0x10a130(0x3f2)]=_0x1bb6c9,this[_0x10a130(0x42b)]=_0x544e5b,this[_0x10a130(0x4f8)]=_0x18e6b0,this[_0x10a130(0x2df)]=_0x18a049);}get[_0x504a5f(0x296)](){return this['_state'];}async[_0x504a5f(0x29b)](){var _0x51bf15=_0x504a5f;if(this[_0x51bf15(0x296)])throw new Error(_0x51bf15(0x2d9));await this[_0x51bf15(0x4b2)]();}['pauseCollaboration'](){var _0x1eef98=_0x504a5f;return this[_0x1eef98(0x2c5)]=!0x0,_0x3dce8d[_0x1eef98(0x46c)](()=>{var _0x4bf664=_0x1eef98;this[_0x4bf664(0x2c5)]=!0x1,this[_0x4bf664(0x312)]();});}[_0x504a5f(0x3b9)](_0x33bcc4){var _0x57b6e4=_0x504a5f;this[_0x57b6e4(0x1b6)](_0x33bcc4);}[_0x504a5f(0x419)](_0x4628bc){var _0x38286d=_0x504a5f;this[_0x38286d(0x27d)]=_0x4628bc,this[_0x38286d(0x204)][_0x38286d(0x331)](_0x4628bc);}async['_init'](){var _0x6cb67=_0x504a5f,_0x3be78d;this[_0x6cb67(0x419)](await this[_0x6cb67(0x3c0)]()),this[_0x6cb67(0x4f8)]&&((_0x3be78d=this[_0x6cb67(0x4f8)])==null||_0x3be78d[_0x6cb67(0x22b)](this[_0x6cb67(0x1c1)]),this['disposeWithMe'](this[_0x6cb67(0x4f8)]['getUnitStatus$'](this[_0x6cb67(0x1c1)])[_0x6cb67(0x4fc)](_0x46902f=>{var _0x2e5b66=_0x6cb67;this[_0x2e5b66(0x4ef)][_0x2e5b66(0x415)]('[CollaborationEntity]',_0x2e5b66(0x4e4),_0x46902f),_0x46902f===_0x39ea4['OTHER_CLIENTS_EDITING']?(this[_0x2e5b66(0x366)]['emitEvent']({'id':_0x5d81cf['OTHER_CLIENT_EDITING']}),this[_0x2e5b66(0x42b)][_0x2e5b66(0x1e2)](new _0x56f059[(_0x2e5b66(0x48c))](this[_0x2e5b66(0x1c1)])['id'],!0x1),this[_0x2e5b66(0x42b)][_0x2e5b66(0x4d7)](!0x1)):(this[_0x2e5b66(0x42b)]['updatePermissionPoint'](new _0x56f059['WorkbookEditablePermission'](this[_0x2e5b66(0x1c1)])['id'],!0x0),this[_0x2e5b66(0x42b)][_0x2e5b66(0x4d7)](!0x0));})));let _0x2faab5=!0x1;return this[_0x6cb67(0x400)](this['session'][_0x6cb67(0x48f)]['subscribe'](_0x1a1fd6=>{var _0x3212c4=_0x6cb67;_0x1a1fd6===_0x2f4af9[_0x3212c4(0x326)]?this[_0x3212c4(0x1dd)](_0x2faab5):_0x1a1fd6===_0x2f4af9[_0x3212c4(0x2a1)]&&(_0x2faab5=!0x0,this[_0x3212c4(0x2dc)]());})),this[_0x6cb67(0x400)](this[_0x6cb67(0x211)]['event$'][_0x6cb67(0x4fc)](_0x13c628=>{var _0x2f42ce=_0x6cb67;try{switch(_0x13c628['eventID']){case _0x467e2c['CollaborationEvent'][_0x2f42ce(0x409)]:{this[_0x2f42ce(0x28e)](_0x467e2c[_0x2f42ce(0x267)](_0x13c628[_0x2f42ce(0x298)]));break;}case _0x467e2c[_0x2f42ce(0x503)][_0x2f42ce(0x217)]:{this[_0x2f42ce(0x406)](_0x13c628['data']);break;}case _0x467e2c['CollaborationEvent'][_0x2f42ce(0x493)]:{this['_onRemoteRejected']();break;}case _0x467e2c[_0x2f42ce(0x503)][_0x2f42ce(0x410)]:{this[_0x2f42ce(0x39e)](_0x13c628[_0x2f42ce(0x298)]);break;}case _0x467e2c[_0x2f42ce(0x503)][_0x2f42ce(0x39f)]:{this[_0x2f42ce(0x1ba)](_0x13c628['data'][_0x2f42ce(0x457)]['map'](_0xa93c5b=>_0x467e2c['parseProtocolChangeset'](_0xa93c5b)));break;}case _0x467e2c['CollaborationEvent'][_0x2f42ce(0x34d)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x467e2c[_0x2f42ce(0x503)][_0x2f42ce(0x362)]:break;}}catch(_0x5aab50){throw console['error'](_0x2f42ce(0x309),_0x5aab50),_0x5aab50;}})),this['_state'];}[_0x504a5f(0x317)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x29b44d=_0x504a5f;if(this[_0x29b44d(0x3a1)])throw new Error(_0x29b44d(0x243));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x16a255){var _0xcd78a5=_0x504a5f;this[_0xcd78a5(0x20a)](),this[_0xcd78a5(0x419)](this[_0xcd78a5(0x27d)][_0xcd78a5(0x20e)](_0x16a255)),this[_0xcd78a5(0x317)]();}['_onRemoteChangeset'](_0x3c0430){var _0x4c03f6=_0x504a5f;if(!(_0x3c0430[_0x4c03f6(0x34f)]<=this[_0x4c03f6(0x1d3)][_0x4c03f6(0x395)](this[_0x4c03f6(0x1c1)]))){if(this[_0x4c03f6(0x2c5)]){this[_0x4c03f6(0x51c)][_0x4c03f6(0x33e)](_0x3c0430);return;}this['_applyRemoteChangeset'](_0x3c0430);}}[_0x504a5f(0x312)](){var _0x12ad41=_0x504a5f;this[_0x12ad41(0x51c)][_0x12ad41(0x4b8)](_0x5f2bcc=>this[_0x12ad41(0x443)](_0x5f2bcc)),this['_remoteChangesetQueue']=[];}[_0x504a5f(0x443)](_0x2a5a36){var _0xd4fdb2=_0x504a5f;const _0x2ebde7=this[_0xd4fdb2(0x22f)][_0xd4fdb2(0x424)]['fetchThroughInterceptors'](this['_compressMutationService'][_0xd4fdb2(0x424)][_0xd4fdb2(0x414)]()[_0xd4fdb2(0x363)])(_0x2a5a36['mutations'],null)||_0x2a5a36[_0xd4fdb2(0x3f3)],_0x1f8609={..._0x2a5a36,'mutations':_0x2ebde7};this[_0xd4fdb2(0x20a)](),this[_0xd4fdb2(0x419)](this['_state'][_0xd4fdb2(0x328)](_0x1f8609)),this[_0xd4fdb2(0x317)]();}[_0x504a5f(0x406)](_0x158669){var _0x3cd475=_0x504a5f;this[_0x3cd475(0x20a)](),this[_0x3cd475(0x419)](this['_state']['onRemoteAck'](_0x158669)),this[_0x3cd475(0x317)]();}[_0x504a5f(0x229)](_0x215289){var _0x31c24c=_0x504a5f;this['_lockTransition'](),this[_0x31c24c(0x419)](this[_0x31c24c(0x27d)]['onRemoteRej'](_0x215289)),this['_unlockTransition']();}[_0x504a5f(0x39e)](_0xd8fb2f){var _0x593658=_0x504a5f;this[_0x593658(0x20a)](),this[_0x593658(0x419)](this[_0x593658(0x27d)][_0x593658(0x2cb)](_0xd8fb2f)),this[_0x593658(0x317)]();}[_0x504a5f(0x1ba)](_0x25371c){var _0x2abe41=_0x504a5f;if(!(this[_0x2abe41(0x27d)]instanceof _0x53fa2a[_0x2abe41(0x228)]))throw new TypeError(_0x2abe41(0x336));const _0x470e3a=_0x25371c['map'](_0xb35898=>{var _0x331185=_0x2abe41;const _0x47726d=this[_0x331185(0x22f)]['interceptor'][_0x331185(0x2ef)](this[_0x331185(0x22f)][_0x331185(0x424)][_0x331185(0x414)]()[_0x331185(0x363)])(_0xb35898['mutations'],null)||_0xb35898[_0x331185(0x3f3)];return{..._0xb35898,'mutations':_0x47726d};});this[_0x2abe41(0x20a)](),this[_0x2abe41(0x419)](this[_0x2abe41(0x27d)]['onMissedChangesetFetched'](_0x470e3a)),this[_0x2abe41(0x317)]();}['_toggleOffline'](){var _0x15069b=_0x504a5f;this[_0x15069b(0x20a)](),this[_0x15069b(0x419)](this[_0x15069b(0x27d)][_0x15069b(0x352)]()),this[_0x15069b(0x317)]();}[_0x504a5f(0x1dd)](_0x7a2900=!0x1){var _0x18af94=_0x504a5f;this['_lockTransition'](),this['_updateState'](this['_state'][_0x18af94(0x261)]()),this[_0x18af94(0x317)]();const _0x4d9ef8=this[_0x18af94(0x27d)];_0x7a2900&&_0x4d9ef8 instanceof _0x53fa2a[_0x18af94(0x25f)]&&(this[_0x18af94(0x20a)](),this[_0x18af94(0x419)](_0x4d9ef8['fetchMiss']()),this[_0x18af94(0x317)]());}async['_createInitialState'](){return new Promise(_0x31f5da=>{var _0xb92377=_0x4de2;this[_0xb92377(0x211)][_0xb92377(0x48f)][_0xb92377(0x1c4)](_0x5affe0[_0xb92377(0x34c)](0x1))[_0xb92377(0x4fc)](async _0x3b7934=>{var _0x1ecf6b=_0xb92377;_0x31f5da(await this[_0x1ecf6b(0x251)](_0x3b7934===_0x2f4af9[_0x1ecf6b(0x326)]));});});}[_0x504a5f(0x47e)](){const _0x444cb4=this['unitID'];return{'onStateChange':(_0x4e1087,_0x437075)=>{var _0xe652e4=_0x4de2;if(_0x4e1087!==this[_0xe652e4(0x27d)])throw new Error(_0xe652e4(0x52d)+_0x4e1087[_0xe652e4(0x4d9)]+_0xe652e4(0x260)+_0x437075[_0xe652e4(0x4d9)]+_0xe652e4(0x30a)+this[_0xe652e4(0x27d)]['status']);this[_0xe652e4(0x419)](_0x437075);},'onSendChangeset':_0x4d65c3=>{var _0x48e87a=_0x4de2;_0x4d65c3[_0x48e87a(0x330)]||(_0x4d65c3[_0x48e87a(0x330)]=this[_0x48e87a(0x223)],_0x4d65c3[_0x48e87a(0x1e1)]=++this[_0x48e87a(0x485)]);const _0x223e1a={'eventID':_0x467e2c[_0x48e87a(0x503)][_0x48e87a(0x2d2)],'data':{'unitID':_0x4d65c3[_0x48e87a(0x1c1)],'unitType':this['_type'],'changeset':_0x4d65c3,'memberID':this[_0x48e87a(0x211)][_0x48e87a(0x3ee)]()}};this[_0x48e87a(0x211)][_0x48e87a(0x29c)](_0x223e1a,this['unitID']);},'onMissingChangesets':({from:_0x2edc1c,to:_0x3322e2})=>{var _0x1d46fd=_0x4de2;this[_0x1d46fd(0x4ef)][_0x1d46fd(0x415)](_0x1d46fd(0x484),_0x1d46fd(0x3a4)+_0x2edc1c+'\x20to\x20'+_0x3322e2);const _0x55d538={'eventID':_0x467e2c[_0x1d46fd(0x503)][_0x1d46fd(0x2fd)],'data':{'unitID':_0x444cb4,'unitType':this[_0x1d46fd(0x3d8)],'from':_0x2edc1c,'to':_0x3322e2}};this[_0x1d46fd(0x211)][_0x1d46fd(0x29c)](_0x55d538,this['unitID']);}};}async[_0x504a5f(0x251)](_0x40f3b4){var _0x2d14a8=_0x504a5f,_0xc6f758,_0x530e47,_0x2247f6;const _0x18ab0d=await((_0xc6f758=this['_localCacheService'])==null?void 0x0:_0xc6f758[_0x2d14a8(0x2af)](this[_0x2d14a8(0x1c1)])),_0x32b133=(_0x530e47=_0x18ab0d==null?void 0x0:_0x18ab0d[_0x2d14a8(0x3f3)])!=null?_0x530e47:[],_0x2a89d9=(_0x2247f6=_0x18ab0d==null?void 0x0:_0x18ab0d[_0x2d14a8(0x47c)])!=null?_0x2247f6:null,_0x28e2c1=!!(_0x2a89d9!=null&&_0x2a89d9[_0x2d14a8(0x330)])&&!!(_0x2a89d9!=null&&_0x2a89d9['reqId']);this[_0x2d14a8(0x223)]=_0x28e2c1?_0x2a89d9[_0x2d14a8(0x330)]:_0xc91d43(),this['_changesetReqId']=_0x28e2c1?_0x2a89d9['reqId']:0x0;const _0x54a007=this['unitID'];try{this[_0x2d14a8(0x4f2)](_0x2a89d9,_0x32b133);}catch(_0x295105){this[_0x2d14a8(0x4ef)][_0x2d14a8(0x4b4)](_0x295105);}const _0x1f1b71=this[_0x2d14a8(0x47e)]();if(_0x40f3b4){const _0x8c70f1=_0xcfa631(this['_injector'],_0x54a007,this['_type'],_0x2a89d9,_0x32b133,_0x1f1b71);return _0x8c70f1 instanceof _0x53fa2a[_0x2d14a8(0x532)]?_0x8c70f1['_schedule']():(_0x8c70f1 instanceof _0x53fa2a[_0x2d14a8(0x4b5)]||_0x8c70f1 instanceof _0x53fa2a[_0x2d14a8(0x1b1)])&&_0x8c70f1[_0x2d14a8(0x2e9)](),_0x8c70f1;}return this['_injector'][_0x2d14a8(0x1a7)](_0x53fa2a[_0x2d14a8(0x30f)],_0x54a007,this[_0x2d14a8(0x3d8)],_0x2a89d9,_0x32b133,_0x1f1b71);}['_replayCachedMutations'](_0x570c88,_0x40ec0b){var _0x5a3cfb=_0x504a5f,_0x5ecbf5,_0x274954;const _0x1bf168=this[_0x5a3cfb(0x22f)][_0x5a3cfb(0x424)][_0x5a3cfb(0x2ef)](this[_0x5a3cfb(0x22f)][_0x5a3cfb(0x424)][_0x5a3cfb(0x414)]()['COMPRESS_MUTATION_APPLY']);(_0x5ecbf5=_0x1bf168((_0x570c88==null?void 0x0:_0x570c88['mutations'])||[],null))==null||_0x5ecbf5['forEach'](_0x5d765f=>this[_0x5a3cfb(0x3f2)][_0x5a3cfb(0x364)](_0x5d765f['id'],_0x5d765f[_0x5a3cfb(0x265)])),(_0x274954=_0x1bf168(_0x40ec0b||[],null))==null||_0x274954[_0x5a3cfb(0x4b8)](_0x5a63b7=>this[_0x5a3cfb(0x3f2)][_0x5a3cfb(0x364)](_0x5a63b7['id'],_0x5a63b7[_0x5a3cfb(0x265)]));}},_0x53fa2a[_0x504a5f(0x38f)]=_0xbc53fb([_0x1622fe(0x3,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x1c0)])),_0x1622fe(0x4,_0x3dce8d[_0x504a5f(0x35a)](_0x467e2c[_0x504a5f(0x4cc)])),_0x1622fe(0x5,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x531)])),_0x1622fe(0x6,_0x3dce8d[_0x504a5f(0x35a)](_0x467e2c[_0x504a5f(0x278)])),_0x1622fe(0x7,_0x3dce8d[_0x504a5f(0x35a)](_0x1fdf46)),_0x1622fe(0x8,_0x3dce8d[_0x504a5f(0x4fd)]),_0x1622fe(0x9,_0x3dce8d['ICommandService']),_0x1622fe(0xa,_0x3dce8d[_0x504a5f(0x3a3)]),_0x1622fe(0xb,_0x3dce8d[_0x504a5f(0x387)](_0x18bf4c)),_0x1622fe(0xc,_0x3dce8d['Optional'](_0x52309e))],_0x53fa2a['CollaborationEntity']),_0x53fa2a[_0x504a5f(0x2f0)]=class extends _0x53fa2a[_0x504a5f(0x38f)]{constructor(_0x43cd27,_0x5c6e71,_0x1bd0d3,_0x30375d,_0x32a08d,_0x28bc13,_0x3a3461,_0x15240c,_0x12b476,_0x33f1a1,_0x850f6c,_0x42b933,_0x5e5a28){var _0xd3ab54=_0x504a5f;super(_0x43cd27,_0x1bd0d3,_0x5c6e71,_0x30375d,_0x32a08d,_0x28bc13,_0x3a3461,_0x15240c,_0x12b476,_0x33f1a1,_0x850f6c,_0x42b933,_0x5e5a28),_0x2d5efa(this,_0xd3ab54(0x463),null),(this[_0xd3ab54(0x1c1)]=_0x43cd27,this[_0xd3ab54(0x292)]=_0x5c6e71);}[_0x504a5f(0x270)](_0x22275e){this['_handlerCallback']=_0x22275e;}['dispose'](){var _0x317867=_0x504a5f;this['_handlerCallback']=null,super[_0x317867(0x394)]();}['_createHandler'](){var _0x4bd4a8=_0x504a5f;const _0x33a23a=super['_createHandler']();return _0x33a23a[_0x4bd4a8(0x1e5)]=_0x2936dc=>{var _0x235df9=_0x4bd4a8,_0x76bb22,_0x297e6d;return(_0x297e6d=(_0x76bb22=this[_0x235df9(0x463)])==null?void 0x0:_0x76bb22[_0x235df9(0x1e5)])==null?void 0x0:_0x297e6d[_0x235df9(0x433)](_0x76bb22,_0x2936dc);},_0x33a23a[_0x4bd4a8(0x4c7)]=_0x1f05be=>{var _0x5b05c8=_0x4bd4a8,_0x336213,_0x419c48;return(_0x419c48=(_0x336213=this[_0x5b05c8(0x463)])==null?void 0x0:_0x336213['onTransformState'])==null?void 0x0:_0x419c48[_0x5b05c8(0x433)](_0x336213,_0x1f05be);},_0x33a23a['onTransformSelections']=_0x264f91=>{var _0x5af61a=_0x4bd4a8,_0x2a7e21,_0x18a7d9;return(_0x18a7d9=(_0x2a7e21=this[_0x5af61a(0x463)])==null?void 0x0:_0x2a7e21[_0x5af61a(0x43f)])==null?void 0x0:_0x18a7d9[_0x5af61a(0x433)](_0x2a7e21,_0x264f91);},_0x33a23a[_0x4bd4a8(0x2b8)]=_0x1a3acd=>{var _0x3dbd8e=_0x4bd4a8,_0x517a34,_0x249683;return(_0x249683=(_0x517a34=this[_0x3dbd8e(0x463)])==null?void 0x0:_0x517a34[_0x3dbd8e(0x2b8)])==null?void 0x0:_0x249683[_0x3dbd8e(0x433)](_0x517a34,_0x1a3acd);},_0x33a23a[_0x4bd4a8(0x48d)]=_0x45a72e=>{var _0x18594a=_0x4bd4a8,_0x54a2d6,_0x3da505,_0x288bf0;if(!((_0x54a2d6=this[_0x18594a(0x463)])!=null&&_0x54a2d6[_0x18594a(0x48d)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x288bf0=(_0x3da505=this[_0x18594a(0x463)])==null?void 0x0:_0x3da505[_0x18594a(0x48d)])==null?void 0x0:_0x288bf0[_0x18594a(0x433)](_0x3da505,_0x45a72e);},_0x33a23a['onTransformRemoteChangesetByStateCache']=_0x113d51=>{var _0x21b46e=_0x4bd4a8,_0x1988b2,_0x32e8d4,_0xff4665;if(!((_0x1988b2=this[_0x21b46e(0x463)])!=null&&_0x1988b2[_0x21b46e(0x1ea)]))throw new Error(_0x21b46e(0x426));return(_0xff4665=(_0x32e8d4=this[_0x21b46e(0x463)])==null?void 0x0:_0x32e8d4[_0x21b46e(0x1ea)])==null?void 0x0:_0xff4665[_0x21b46e(0x433)](_0x32e8d4,_0x113d51);},_0x33a23a;}async[_0x504a5f(0x4b2)](){var _0x4c703f=_0x504a5f;const _0x2b5c5c=await super[_0x4c703f(0x4b2)]();return this['disposeWithMe'](this[_0x4c703f(0x3f2)][_0x4c703f(0x29d)]((_0x24066c,_0x3568ee)=>{var _0x401f59=_0x4c703f;if(_0x24066c[_0x401f59(0x292)]!==_0x3dce8d[_0x401f59(0x3f6)][_0x401f59(0x1a6)]||_0x3568ee!=null&&_0x3568ee[_0x401f59(0x465)]||_0x3568ee!=null&&_0x3568ee[_0x401f59(0x24f)]||_0x24066c['id']===_0x2ea0b8[_0x401f59(0x20c)]['id'])return;const _0x219f4a=_0x24066c[_0x401f59(0x265)];if((_0x219f4a==null?void 0x0:_0x219f4a[_0x401f59(0x3c3)])!==this[_0x401f59(0x1c1)])return;const _0x46b405=_0x24066c,_0x1bd30a=this[_0x401f59(0x22f)][_0x401f59(0x424)][_0x401f59(0x2ef)](this[_0x401f59(0x22f)][_0x401f59(0x424)][_0x401f59(0x414)]()[_0x401f59(0x20d)])([_0x46b405],null)||[_0x46b405];this['_onLocalMutation'](_0x1bd30a[0x0]);})),_0x2b5c5c;}},_0x53fa2a[_0x504a5f(0x2f0)]=_0xbc53fb([_0x1622fe(0x3,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x1c0)])),_0x1622fe(0x4,_0x3dce8d[_0x504a5f(0x35a)](_0x467e2c[_0x504a5f(0x4cc)])),_0x1622fe(0x5,_0x3dce8d['Inject'](_0x3dce8d[_0x504a5f(0x531)])),_0x1622fe(0x6,_0x3dce8d[_0x504a5f(0x35a)](_0x467e2c[_0x504a5f(0x278)])),_0x1622fe(0x7,_0x3dce8d[_0x504a5f(0x35a)](_0x1fdf46)),_0x1622fe(0x8,_0x3dce8d[_0x504a5f(0x4fd)]),_0x1622fe(0x9,_0x3dce8d[_0x504a5f(0x4ff)]),_0x1622fe(0xa,_0x3dce8d[_0x504a5f(0x3a3)]),_0x1622fe(0xb,_0x3dce8d['Optional'](_0x18bf4c)),_0x1622fe(0xc,_0x3dce8d[_0x504a5f(0x387)](_0x52309e))],_0x53fa2a[_0x504a5f(0x2f0)]),_0x53fa2a[_0x504a5f(0x1f4)]=class extends _0x53fa2a[_0x504a5f(0x38f)]{constructor(_0x38b0df,_0x48791c,_0x58fa4b,_0x2a20c3,_0x3eb043,_0x308568,_0x4c2098,_0x42d577,_0x191556,_0x2cf6dd,_0x1f5dd4,_0x567187,_0x7c505a,_0x362106){var _0x537e24=_0x504a5f;super(_0x38b0df,_0x58fa4b,_0x48791c,_0x2a20c3,_0x3eb043,_0x308568,_0x4c2098,_0x191556,_0x2cf6dd,_0x1f5dd4,_0x567187,_0x7c505a,_0x362106),this[_0x537e24(0x1c1)]=_0x38b0df,this[_0x537e24(0x292)]=_0x48791c,this['_sheetTransformSelectionsService']=_0x42d577;}['_createHandler'](){var _0x522da9=_0x504a5f;const _0x3ac4d3=super[_0x522da9(0x47e)]();return _0x3ac4d3[_0x522da9(0x43f)]=_0x5c64d9=>this[_0x522da9(0x200)][_0x522da9(0x1eb)](_0x5c64d9),_0x3ac4d3;}async[_0x504a5f(0x4b2)](){var _0x2140d2=_0x504a5f;const _0x4d3d84=await super[_0x2140d2(0x4b2)]();return this['disposeWithMe'](this[_0x2140d2(0x3f2)][_0x2140d2(0x29d)]((_0x472976,_0x1422ae)=>{var _0xf9cf4=_0x2140d2;if(_0x472976[_0xf9cf4(0x292)]!==_0x3dce8d[_0xf9cf4(0x3f6)][_0xf9cf4(0x1a6)]||_0x1422ae!=null&&_0x1422ae[_0xf9cf4(0x465)]||_0x1422ae!=null&&_0x1422ae[_0xf9cf4(0x24f)])return;const _0x12f602=_0x472976['params'];if((_0x12f602==null?void 0x0:_0x12f602['unitId'])!==this[_0xf9cf4(0x1c1)])return;const _0x23bbfb=_0x472976,_0x4cdf92=this['_compressMutationService'][_0xf9cf4(0x424)][_0xf9cf4(0x2ef)](this[_0xf9cf4(0x22f)][_0xf9cf4(0x424)][_0xf9cf4(0x414)]()[_0xf9cf4(0x20d)])([_0x23bbfb],null)||[_0x23bbfb];this[_0xf9cf4(0x1b6)](_0x4cdf92[0x0]);})),_0x4d3d84;}},_0x53fa2a[_0x504a5f(0x1f4)]=_0xbc53fb([_0x1622fe(0x3,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x1c0)])),_0x1622fe(0x4,_0x3dce8d[_0x504a5f(0x35a)](_0x467e2c[_0x504a5f(0x4cc)])),_0x1622fe(0x5,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x531)])),_0x1622fe(0x6,_0x3dce8d['Inject'](_0x467e2c[_0x504a5f(0x278)])),_0x1622fe(0x7,_0x3dce8d[_0x504a5f(0x35a)](_0x53fa2a['SheetTransformSelectionsService'])),_0x1622fe(0x8,_0x3dce8d['Inject'](_0x1fdf46)),_0x1622fe(0x9,_0x3dce8d['ILogService']),_0x1622fe(0xa,_0x3dce8d['ICommandService']),_0x1622fe(0xb,_0x3dce8d[_0x504a5f(0x3a3)]),_0x1622fe(0xc,_0x3dce8d['Optional'](_0x18bf4c)),_0x1622fe(0xd,_0x3dce8d[_0x504a5f(0x387)](_0x52309e))],_0x53fa2a[_0x504a5f(0x1f4)]);var _0x196ea4=Object[_0x504a5f(0x315)],_0x5376f3=(_0x26aea4,_0x216e28,_0x2341e2,_0x596ae1)=>{var _0xc80110=_0x504a5f;for(var _0x7eb51c=_0x596ae1>0x1?void 0x0:_0x596ae1?_0x196ea4(_0x216e28,_0x2341e2):_0x216e28,_0xeea2f4=_0x26aea4[_0xc80110(0x3dd)]-0x1,_0x144c76;_0xeea2f4>=0x0;_0xeea2f4--)(_0x144c76=_0x26aea4[_0xeea2f4])&&(_0x7eb51c=_0x144c76(_0x7eb51c)||_0x7eb51c);return _0x7eb51c;},_0x1f2bf3=(_0x550859,_0x1c18a4)=>(_0x492eed,_0x583b57)=>_0x1c18a4(_0x492eed,_0x583b57,_0x550859);_0x53fa2a['CollaborationController']=class extends _0x3dce8d[_0x504a5f(0x1c7)]{constructor(_0x187f30,_0x4eed0a,_0x57c8aa){var _0x7baab6=_0x504a5f;super(),_0x2d5efa(this,_0x7baab6(0x310),new Map()),_0x2d5efa(this,'_entityInit$',new _0x5affe0[(_0x7baab6(0x476))]()),_0x2d5efa(this,'entityInit$',this[_0x7baab6(0x3c7)]['asObservable']()),(this[_0x7baab6(0x452)]=_0x187f30,this[_0x7baab6(0x334)]=_0x4eed0a,this[_0x7baab6(0x3ed)]=_0x57c8aa,this[_0x7baab6(0x4b2)]());}[_0x504a5f(0x394)](){var _0x40599c=_0x504a5f;super['dispose'](),this[_0x40599c(0x310)][_0x40599c(0x4b8)](_0x30fe01=>_0x30fe01[_0x40599c(0x394)]()),this[_0x40599c(0x310)][_0x40599c(0x450)]();}[_0x504a5f(0x23e)](_0x51a3ca){var _0x582dbf=_0x504a5f,_0x1c0bb2;return(_0x1c0bb2=this['_entities'][_0x582dbf(0x460)](_0x51a3ca))!=null?_0x1c0bb2:null;}[_0x504a5f(0x48a)](_0x48698f){var _0x2d3a6e=_0x504a5f;const _0x785c7c=this[_0x2d3a6e(0x23e)](_0x48698f);return _0x785c7c?_0x5affe0['of'](_0x785c7c):this[_0x2d3a6e(0x3c7)][_0x2d3a6e(0x1c4)](_0x35d931[_0x2d3a6e(0x2d0)](_0x55ef43=>_0x55ef43[_0x2d3a6e(0x1c1)]===_0x48698f));}[_0x504a5f(0x248)](_0xd65b69){var _0x1f7305=_0x504a5f;return _0x5affe0['firstValueFrom'](this[_0x1f7305(0x48a)](_0xd65b69)['pipe'](_0x35d931[_0x1f7305(0x528)](()=>{})));}[_0x504a5f(0x4b2)](){var _0x294cca=_0x504a5f;this[_0x294cca(0x3ed)][_0x294cca(0x3d2)](_0x3dce8d[_0x294cca(0x203)][_0x294cca(0x3e2)])[_0x294cca(0x1c4)](_0x5affe0['takeUntil'](this[_0x294cca(0x358)]),_0x35d931[_0x294cca(0x446)](0x10))['subscribe'](async _0x4d3e13=>{var _0x1ee2df=_0x294cca;const _0x1b24ea=_0x4d3e13[_0x1ee2df(0x273)](),_0x8d691f=await this[_0x1ee2df(0x3e6)](_0x1b24ea,_0x4dd826[_0x1ee2df(0x3e2)]);this[_0x1ee2df(0x310)][_0x1ee2df(0x525)](_0x1b24ea,_0x8d691f);}),this['_univerInstanceService'][_0x294cca(0x3d2)](_0x3dce8d['UniverInstanceType'][_0x294cca(0x3b0)])[_0x294cca(0x1c4)](_0x5affe0['takeUntil'](this[_0x294cca(0x358)]),_0x35d931[_0x294cca(0x446)](0x10))[_0x294cca(0x1c4)](_0x35d931[_0x294cca(0x2d0)](_0x26b39e=>!_0x26b39e[_0x294cca(0x273)]()[_0x294cca(0x2c3)]('__')))[_0x294cca(0x4fc)](async _0x1a5a6e=>{var _0x2a0be2=_0x294cca;const _0x456ca4=_0x1a5a6e[_0x2a0be2(0x273)](),_0x3ae399=await this[_0x2a0be2(0x3e6)](_0x456ca4,_0x4dd826[_0x2a0be2(0x3b0)]);this['_entities'][_0x2a0be2(0x525)](_0x456ca4,_0x3ae399);}),_0x5affe0[_0x294cca(0x39b)](this[_0x294cca(0x3ed)][_0x294cca(0x2ca)](_0x3dce8d[_0x294cca(0x203)][_0x294cca(0x3e2)]),this[_0x294cca(0x3ed)][_0x294cca(0x2ca)](_0x3dce8d[_0x294cca(0x203)][_0x294cca(0x3b0)]))[_0x294cca(0x1c4)](_0x5affe0[_0x294cca(0x45c)](this['dispose$']))[_0x294cca(0x4fc)](_0x5d754c=>{var _0x1f5c43=_0x294cca;const _0x3846fa=_0x5d754c[_0x1f5c43(0x273)](),_0x45fc78=this[_0x1f5c43(0x310)][_0x1f5c43(0x460)](_0x3846fa);_0x45fc78&&(_0x45fc78[_0x1f5c43(0x394)](),this[_0x1f5c43(0x310)][_0x1f5c43(0x34e)](_0x3846fa));});}async[_0x504a5f(0x3e6)](_0x47aa05,_0x4d164c){var _0x13d66f=_0x504a5f;const _0x2c5a22=await this[_0x13d66f(0x334)][_0x13d66f(0x2a6)](_0x47aa05),_0x2a4dd2=this[_0x13d66f(0x452)][_0x13d66f(0x1a7)](this['_getCtorByUniverType'](_0x4d164c),_0x47aa05,_0x4d164c,_0x2c5a22);return await _0x2a4dd2[_0x13d66f(0x29b)](),this[_0x13d66f(0x3c7)]['next'](_0x2a4dd2),_0x2a4dd2;}[_0x504a5f(0x307)](_0x49c5db){var _0x2dfdc3=_0x504a5f;switch(_0x49c5db){case _0x4dd826[_0x2dfdc3(0x3b0)]:return _0x53fa2a[_0x2dfdc3(0x2f0)];case _0x4dd826[_0x2dfdc3(0x3e2)]:return _0x53fa2a['SheetCollaborationEntity'];default:throw new Error(_0x2dfdc3(0x437)+_0x49c5db);}}},_0x53fa2a['CollaborationController']=_0x5376f3([_0x1f2bf3(0x0,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d['Injector'])),_0x1f2bf3(0x1,_0x3dce8d[_0x504a5f(0x35a)](_0x53fa2a[_0x504a5f(0x291)])),_0x1f2bf3(0x2,_0x3dce8d[_0x504a5f(0x499)])],_0x53fa2a[_0x504a5f(0x1d9)]);var _0x524e79=Object['getOwnPropertyDescriptor'],_0x4b54da=(_0x3b9b53,_0x17bf8d,_0x736ecc,_0x23ac5a)=>{var _0x58d9a7=_0x504a5f;for(var _0x4ba1a2=_0x23ac5a>0x1?void 0x0:_0x23ac5a?_0x524e79(_0x17bf8d,_0x736ecc):_0x17bf8d,_0x302804=_0x3b9b53[_0x58d9a7(0x3dd)]-0x1,_0x40e504;_0x302804>=0x0;_0x302804--)(_0x40e504=_0x3b9b53[_0x302804])&&(_0x4ba1a2=_0x40e504(_0x4ba1a2)||_0x4ba1a2);return _0x4ba1a2;},_0x133436=(_0x3a33b5,_0x49e9ff)=>(_0x288161,_0x4ee8d9)=>_0x49e9ff(_0x288161,_0x4ee8d9,_0x3a33b5);const _0x3717f9=_0x504a5f(0x3bc),_0x5ba117=_0x504a5f(0x44e);let _0x3cadbd=class extends _0x3dce8d[_0x504a5f(0x1ff)]{constructor(_0x173eb2,_0x1e3405){var _0x66c19=_0x504a5f;super(),this[_0x66c19(0x3ed)]=_0x173eb2,this[_0x66c19(0x4e8)]=_0x1e3405,this[_0x66c19(0x4b2)]();}['_init'](){var _0x2f695e=_0x504a5f;this[_0x2f695e(0x400)](this[_0x2f695e(0x3ed)][_0x2f695e(0x225)]['subscribe'](()=>{var _0x96d991=_0x2f695e,_0x142db2;const _0x5ccc0f=this[_0x96d991(0x3ed)][_0x96d991(0x524)]();let _0x1e72d3=(_0x142db2=this[_0x96d991(0x4e8)]['getConfig'](_0x3717f9))!=null?_0x142db2:_0x5ba117;_0x5ccc0f instanceof _0x3dce8d[_0x96d991(0x507)]&&(_0x1e72d3=_0x5ccc0f[_0x96d991(0x466)]),document['title']=_0x1e72d3;}));}};_0x3cadbd=_0x4b54da([_0x133436(0x0,_0x3dce8d['IUniverInstanceService']),_0x133436(0x1,_0x3dce8d[_0x504a5f(0x4ca)])],_0x3cadbd);var _0x5588cc=Object[_0x504a5f(0x315)],_0x9c8687=(_0x4ffbc6,_0x43ce03,_0x269b32,_0x49e25f)=>{var _0x5a452a=_0x504a5f;for(var _0x576b8d=_0x49e25f>0x1?void 0x0:_0x49e25f?_0x5588cc(_0x43ce03,_0x269b32):_0x43ce03,_0x55a958=_0x4ffbc6[_0x5a452a(0x3dd)]-0x1,_0x13a943;_0x55a958>=0x0;_0x55a958--)(_0x13a943=_0x4ffbc6[_0x55a958])&&(_0x576b8d=_0x13a943(_0x576b8d)||_0x576b8d);return _0x576b8d;},_0x3d9efd=(_0x5a56f9,_0x4b7d69)=>(_0x41b38f,_0x99da23)=>_0x4b7d69(_0x41b38f,_0x99da23,_0x5a56f9);let _0x313ac8=class{constructor(_0x45b0e3,_0x473afe,_0x3ec42e){var _0x4cbbd8=_0x504a5f;this['_configService']=_0x45b0e3,this[_0x4cbbd8(0x304)]=_0x473afe,this[_0x4cbbd8(0x300)]=_0x3ec42e,this[_0x4cbbd8(0x29b)]();}[_0x504a5f(0x29b)](){var _0x129219=_0x504a5f;this[_0x129219(0x304)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x23765d,_0x3ef505)=>_0x3ef505(_0x23765d)['pipe'](_0x5affe0['concatMap'](async _0x36c602=>{var _0x1d6696=_0x129219;const _0x4b8707=_0x36c602;if(_0x4b8707[_0x1d6696(0x4d9)]===0x191){if(typeof window>'u')throw new Error(_0x1d6696(0x2ac));if(window[_0x1d6696(0x294)](this[_0x1d6696(0x300)]['t'](_0x1d6696(0x3b3)))){const _0x5a0667=window[_0x1d6696(0x4a5)](window[_0x1d6696(0x4b6)][_0x1d6696(0x21a)]);window['location'][_0x1d6696(0x21a)]=this['_getLoginPath']()+'?url='+_0x5a0667;}}return _0x4b8707;}))});}[_0x504a5f(0x26c)](){var _0x487af8=_0x504a5f,_0x352aef,_0x58d882;const _0x2336e8=this[_0x487af8(0x4e8)][_0x487af8(0x3cb)](_0x2e4d5f),_0x5597d5=this[_0x487af8(0x4e8)][_0x487af8(0x3cb)](_0x25f3a7);return(_0x58d882=(_0x352aef=_0x5597d5==null?void 0x0:_0x5597d5[_0x487af8(0x3c4)])!=null?_0x352aef:_0x2336e8)!=null?_0x58d882:_0xb5dde1;}};_0x313ac8=_0x9c8687([_0x3d9efd(0x0,_0x3dce8d[_0x504a5f(0x4ca)]),_0x3d9efd(0x1,_0x3dce8d[_0x504a5f(0x35a)](_0x548713[_0x504a5f(0x1e4)])),_0x3d9efd(0x2,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d['LocaleService']))],_0x313ac8);var _0x17809d=Object['getOwnPropertyDescriptor'],_0x18f6ff=(_0x4349fb,_0x1891a0,_0x518c1a,_0x50d4ad)=>{var _0x316094=_0x504a5f;for(var _0x5a554e=_0x50d4ad>0x1?void 0x0:_0x50d4ad?_0x17809d(_0x1891a0,_0x518c1a):_0x1891a0,_0x26178f=_0x4349fb[_0x316094(0x3dd)]-0x1,_0x47ba94;_0x26178f>=0x0;_0x26178f--)(_0x47ba94=_0x4349fb[_0x26178f])&&(_0x5a554e=_0x47ba94(_0x5a554e)||_0x5a554e);return _0x5a554e;},_0x477332=(_0x3203e2,_0x4b128c)=>(_0x701d12,_0x30eb86)=>_0x4b128c(_0x701d12,_0x30eb86,_0x3203e2);const _0x30ac3e='AUTHZ_URL_KEY',_0x103958=_0x504a5f(0x1fd);_0x53fa2a[_0x504a5f(0x268)]=class extends _0x3dce8d[_0x504a5f(0x1ff)]{constructor(_0x3a9c87,_0x3b7cbf){var _0x1b1001=_0x504a5f;super(),this[_0x1b1001(0x470)]=_0x3a9c87,this[_0x1b1001(0x4e8)]=_0x3b7cbf,this[_0x1b1001(0x3cf)]();}[_0x504a5f(0x3cf)](){var _0x9105bc=_0x504a5f;const _0x203172=this;this[_0x9105bc(0x400)](this[_0x9105bc(0x470)][_0x9105bc(0x325)]({'priority':0x3e7,'interceptor':_0x548713[_0x9105bc(0x232)]({'isMatch'(_0xdd5d22){var _0x26fa6b=_0x9105bc,_0x32348a;if(_0xdd5d22[_0x26fa6b(0x2e6)]===_0x26fa6b(0x207)&&((_0x32348a=_0xdd5d22[_0x26fa6b(0x335)])!=null&&_0x32348a[_0x26fa6b(0x43a)])){const {objectID:_0x3c3612,objectType:_0x1558bb}=_0xdd5d22[_0x26fa6b(0x335)][_0x26fa6b(0x43a)]||{};if(!_0x3c3612||_0x1558bb===void 0x0)return!0x1;const _0x419972=_0x203172['_getAPIPrefixPath']()+'/'+_0x1558bb+_0x26fa6b(0x329)+_0x3c3612+_0x26fa6b(0x408);if(_0xdd5d22['url']===_0x419972)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1bc79b){var _0x5c70f5=_0x9105bc,_0x5bf574;return(_0x5bf574=_0x1bc79b[_0x5c70f5(0x335)])==null?void 0x0:_0x5bf574['body'];},'mergeParamsToRequest'(_0x3bd278,_0x28c53d){var _0x4e45ad=_0x9105bc;const _0x2cd026=_0x203172['_getAPIPrefixPath']()+_0x4e45ad(0x1c9),_0x572bd9=_0x3bd278[_0x4e45ad(0x393)]((_0x192921,_0x37aab1)=>{var _0x70b28c=_0x4e45ad;const {unitID:_0x44cd7b,objectID:_0x244b60,objectType:_0xcbfe3e,actions:_0x27c3d7}=_0x37aab1;return _0x192921[_0x44cd7b]||(_0x192921[_0x44cd7b]={}),_0x192921[_0x44cd7b][_0x244b60]||(_0x192921[_0x44cd7b][_0x244b60]={'objectID':_0x244b60,'objectType':_0xcbfe3e,'actions':[]}),_0x192921[_0x44cd7b][_0x244b60][_0x70b28c(0x483)][_0x70b28c(0x33e)](..._0x27c3d7),_0x192921;},{}),_0x23622a=[];for(const _0x2bcff7 in _0x572bd9)for(const _0x259a91 in _0x572bd9[_0x2bcff7]){const {actions:_0x13e238,objectType:_0x2a57d5}=_0x572bd9[_0x2bcff7][_0x259a91],_0x450e07=[...new Set(_0x13e238)];_0x23622a[_0x4e45ad(0x33e)]({'unitID':_0x2bcff7,'objectID':_0x259a91,'objectType':_0x2a57d5,'actions':_0x450e07});}return new _0x548713[(_0x4e45ad(0x2b5))](_0x4e45ad(0x207),_0x2cd026,{'headers':_0x28c53d['headers'],'withCredentials':_0x28c53d[_0x4e45ad(0x1b8)],'responseType':_0x28c53d['responseType'],'body':{'requests':_0x23622a}});}},{'distributeResult'(_0x316238,_0x10c870){const {objectActions:_0x23c22d}=_0x316238;return _0x10c870['map'](_0x2aca09=>{var _0x13b0ba=_0x4de2;const {unitID:_0x125f96,objectID:_0x2a6528,actions:_0x3ee3bb}=_0x2aca09,_0x3c09df=_0x23c22d[_0x13b0ba(0x42d)](_0x484b66=>_0x484b66[_0x13b0ba(0x1c1)]===_0x125f96&&_0x484b66[_0x13b0ba(0x32e)]===_0x2a6528),_0x145059=_0x3ee3bb[_0x13b0ba(0x528)](_0x18fb62=>_0x3c09df==null?void 0x0:_0x3c09df['actions'][_0x13b0ba(0x42d)](_0x1004e1=>_0x1004e1['action']===_0x18fb62))[_0x13b0ba(0x2d0)](_0x5d2840=>!!_0x5d2840);return{'config':_0x2aca09,'result':{'actions':_0x145059,'error':_0x316238[_0x13b0ba(0x4b4)]}};});}})}));}[_0x504a5f(0x371)](){var _0x5d1581=_0x504a5f,_0x12f8c7,_0x2f4829;const _0x231b74=this[_0x5d1581(0x4e8)]['getConfig'](_0x30ac3e),_0x5c7851=this['_configService'][_0x5d1581(0x3cb)](_0x25f3a7);return(_0x2f4829=(_0x12f8c7=_0x5c7851==null?void 0x0:_0x5c7851[_0x5d1581(0x3b5)])!=null?_0x12f8c7:_0x231b74)!=null?_0x2f4829:_0x103958;}async['create'](_0x29adbf){var _0x5ba42d=_0x504a5f;const _0x19db65=this[_0x5ba42d(0x371)]()+'/'+_0x29adbf['objectType']+_0x5ba42d(0x4d5);return(await this['_HTTPService'][_0x5ba42d(0x3b1)](_0x19db65,{'body':_0x29adbf}))[_0x5ba42d(0x43a)][_0x5ba42d(0x32e)]||'';}async[_0x504a5f(0x26b)](_0x89871e){var _0x59e50f=_0x504a5f;const _0x44020d=this[_0x59e50f(0x371)]()+_0x59e50f(0x201);return(await this[_0x59e50f(0x470)][_0x59e50f(0x3b1)](_0x44020d,{'body':_0x89871e}))[_0x59e50f(0x43a)]['objects'];}async[_0x504a5f(0x467)](_0x5f7f7c){var _0x3b5040=_0x504a5f,_0x2f4958,_0x1cc89d;const _0x262e7e=this[_0x3b5040(0x371)]()+'/'+_0x5f7f7c[_0x3b5040(0x3d5)]+_0x3b5040(0x329)+_0x5f7f7c[_0x3b5040(0x32e)],_0x22378e=await this['_HTTPService']['put'](_0x262e7e,{'body':_0x5f7f7c});if(((_0x1cc89d=(_0x2f4958=_0x22378e==null?void 0x0:_0x22378e[_0x3b5040(0x43a)])==null?void 0x0:_0x2f4958['error'])==null?void 0x0:_0x1cc89d[_0x3b5040(0x3b8)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x589d6e){var _0x169573=_0x504a5f;const _0x3619fc=this[_0x169573(0x371)]()+'/'+_0x589d6e[_0x169573(0x3d5)]+_0x169573(0x329)+_0x589d6e[_0x169573(0x32e)]+_0x169573(0x408);return(await this[_0x169573(0x470)][_0x169573(0x3b1)](_0x3619fc,{'body':_0x589d6e}))[_0x169573(0x43a)][_0x169573(0x483)];}async[_0x504a5f(0x44d)](_0x58ebcb){var _0xbf7961=_0x504a5f;const _0x5aad7c=this[_0xbf7961(0x371)]()+_0xbf7961(0x1c9);return(await this[_0xbf7961(0x470)][_0xbf7961(0x3b1)](_0x5aad7c,{'body':{'requests':_0x58ebcb}}))[_0xbf7961(0x43a)][_0xbf7961(0x47b)];}async[_0x504a5f(0x339)](_0x4d98af){var _0x4788a3=_0x504a5f;const _0x4e309e=this['_getAPIPrefixPath']()+'/'+_0x4d98af['objectType']+_0x4788a3(0x274),_0x5b7b7d=await this['_HTTPService'][_0x4788a3(0x3b1)](_0x4e309e,{'body':_0x4d98af});return{'roles':_0x5b7b7d['body']['roles'],'actions':_0x5b7b7d['body'][_0x4788a3(0x483)]};}async[_0x504a5f(0x2f6)](_0x2be352){var _0x287edf=_0x504a5f;const _0x22e799=this[_0x287edf(0x371)]()+'/collaborator';await this[_0x287edf(0x470)]['delete'](_0x22e799,{'params':{'collaboratorID':_0x2be352[_0x287edf(0x2c6)],'objectID':_0x2be352[_0x287edf(0x32e)],'unitID':_0x2be352[_0x287edf(0x1c1)]}});}async[_0x504a5f(0x1f7)](_0x483781){var _0xd03ff0=_0x504a5f;const _0x133088=this[_0xd03ff0(0x371)]()+_0xd03ff0(0x35e);await this[_0xd03ff0(0x470)][_0xd03ff0(0x1df)](_0x133088,{'body':_0x483781});}async[_0x504a5f(0x1e7)](_0x5940e5){var _0x366a78=_0x504a5f;const _0x487d28=this[_0x366a78(0x371)]()+_0x366a78(0x35e);await this[_0x366a78(0x470)][_0x366a78(0x3b1)](_0x487d28,{'body':_0x5940e5});}async['listCollaborators'](_0xfc9ba2){var _0x7f6679=_0x504a5f;const _0x5dc0c6=this[_0x7f6679(0x371)]()+'/collaborator';return(await this[_0x7f6679(0x470)][_0x7f6679(0x460)](_0x5dc0c6,{'params':{'objectID':_0xfc9ba2['objectID'],'unitID':_0xfc9ba2['unitID']}}))[_0x7f6679(0x43a)][_0x7f6679(0x3ce)];}async[_0x504a5f(0x43b)](_0x30b12a){var _0x56961f=_0x504a5f;const _0x22f1ce=this[_0x56961f(0x371)]()+_0x56961f(0x35e);await this[_0x56961f(0x470)]['put'](_0x22f1ce,{'body':_0x30b12a});}},_0x53fa2a[_0x504a5f(0x268)]=_0x18f6ff([_0x477332(0x0,_0x3dce8d[_0x504a5f(0x35a)](_0x548713[_0x504a5f(0x1e4)])),_0x477332(0x1,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d['IConfigService']))],_0x53fa2a[_0x504a5f(0x268)]);var _0x3a21ae=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x3b01c1(_0x346438){var _0xb3b8e=_0x504a5f;return _0x346438&&_0x346438['__esModule']&&Object[_0xb3b8e(0x355)]['hasOwnProperty'][_0xb3b8e(0x433)](_0x346438,_0xb3b8e(0x2bb))?_0x346438[_0xb3b8e(0x2bb)]:_0x346438;}var _0x2552a4={'exports':{}};function _0x32998b(_0x476b3a){var _0x219987=_0x504a5f;throw new Error(_0x219987(0x451)+_0x476b3a+_0x219987(0x324));}var _0x8fb7a4={'exports':{}},_0xa0d1f1=_0x8fb7a4[_0x504a5f(0x4aa)],_0x193126;function _0x50dd24(){var _0x228a40=_0x504a5f;return _0x193126||(_0x193126=0x1,function(_0x2648f4,_0x20a305){(function(_0x5c3c81,_0x397fc1){var _0x118d54=_0x4de2;_0x2648f4[_0x118d54(0x4aa)]=_0x397fc1();}(_0xa0d1f1,function(){var _0x1ab49e=_0x1ab49e||function(_0x587a8d,_0x5b16bf){var _0x19335f=_0x4de2,_0x2f3f69;if(typeof window<'u'&&window['crypto']&&(_0x2f3f69=window[_0x19335f(0x1af)]),typeof self<'u'&&self['crypto']&&(_0x2f3f69=self[_0x19335f(0x1af)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2f3f69=globalThis[_0x19335f(0x1af)]),!_0x2f3f69&&typeof window<'u'&&window[_0x19335f(0x1bb)]&&(_0x2f3f69=window[_0x19335f(0x1bb)]),!_0x2f3f69&&typeof _0x3a21ae<'u'&&_0x3a21ae[_0x19335f(0x1af)]&&(_0x2f3f69=_0x3a21ae[_0x19335f(0x1af)]),!_0x2f3f69&&typeof _0x32998b==_0x19335f(0x1b2))try{_0x2f3f69=require(_0x19335f(0x1af));}catch{}var _0x491aac=function(){var _0x568780=_0x19335f;if(_0x2f3f69){if(typeof _0x2f3f69[_0x568780(0x498)]==_0x568780(0x1b2))try{return _0x2f3f69[_0x568780(0x498)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2f3f69[_0x568780(0x1c3)]==_0x568780(0x1b2))try{return _0x2f3f69[_0x568780(0x1c3)](0x4)[_0x568780(0x3a5)]();}catch{}}throw new Error(_0x568780(0x21d));},_0x4496a2=Object[_0x19335f(0x202)]||(function(){function _0x511a96(){}return function(_0x36e93d){var _0x2ff241=_0x4de2,_0x5c6319;return _0x511a96[_0x2ff241(0x355)]=_0x36e93d,_0x5c6319=new _0x511a96(),_0x511a96[_0x2ff241(0x355)]=null,_0x5c6319;};}()),_0x2d29e0={},_0x23144e=_0x2d29e0[_0x19335f(0x505)]={},_0x1055a8=_0x23144e[_0x19335f(0x1ec)]=(function(){return{'extend':function(_0xe97984){var _0x5e56f6=_0x4de2,_0x263b8b=_0x4496a2(this);return _0xe97984&&_0x263b8b['mixIn'](_0xe97984),(!_0x263b8b['hasOwnProperty'](_0x5e56f6(0x29b))||this[_0x5e56f6(0x29b)]===_0x263b8b[_0x5e56f6(0x29b)])&&(_0x263b8b[_0x5e56f6(0x29b)]=function(){var _0x420600=_0x5e56f6;_0x263b8b[_0x420600(0x42f)][_0x420600(0x29b)]['apply'](this,arguments);}),_0x263b8b[_0x5e56f6(0x29b)][_0x5e56f6(0x355)]=_0x263b8b,_0x263b8b['$super']=this,_0x263b8b;},'create':function(){var _0x4693ab=_0x4de2,_0x1a8c1a=this[_0x4693ab(0x1a9)]();return _0x1a8c1a[_0x4693ab(0x29b)][_0x4693ab(0x32c)](_0x1a8c1a,arguments),_0x1a8c1a;},'init':function(){},'mixIn':function(_0x3f123d){var _0x2395c4=_0x4de2;for(var _0x82d977 in _0x3f123d)_0x3f123d['hasOwnProperty'](_0x82d977)&&(this[_0x82d977]=_0x3f123d[_0x82d977]);_0x3f123d[_0x2395c4(0x2c9)](_0x2395c4(0x461))&&(this['toString']=_0x3f123d[_0x2395c4(0x461)]);},'clone':function(){var _0x33963f=_0x4de2;return this['init'][_0x33963f(0x355)]['extend'](this);}};}()),_0x3b9001=_0x23144e[_0x19335f(0x519)]=_0x1055a8[_0x19335f(0x1a9)]({'init':function(_0x26bf0f,_0x1e5ea1){var _0x2fabb9=_0x19335f;_0x26bf0f=this[_0x2fabb9(0x2a9)]=_0x26bf0f||[],_0x1e5ea1!=_0x5b16bf?this[_0x2fabb9(0x4a4)]=_0x1e5ea1:this['sigBytes']=_0x26bf0f[_0x2fabb9(0x3dd)]*0x4;},'toString':function(_0x2ff488){var _0x596617=_0x19335f;return(_0x2ff488||_0x2d1957)[_0x596617(0x4bd)](this);},'concat':function(_0x3392fb){var _0x1c76ff=_0x19335f,_0x1fc762=this['words'],_0x4c308b=_0x3392fb[_0x1c76ff(0x2a9)],_0x246fe5=this[_0x1c76ff(0x4a4)],_0x5c96ee=_0x3392fb[_0x1c76ff(0x4a4)];if(this[_0x1c76ff(0x41b)](),_0x246fe5%0x4)for(var _0x7b77c5=0x0;_0x7b77c5<_0x5c96ee;_0x7b77c5++){var _0x7641df=_0x4c308b[_0x7b77c5>>>0x2]>>>0x18-_0x7b77c5%0x4*0x8&0xff;_0x1fc762[_0x246fe5+_0x7b77c5>>>0x2]|=_0x7641df<<0x18-(_0x246fe5+_0x7b77c5)%0x4*0x8;}else{for(var _0x59285e=0x0;_0x59285e<_0x5c96ee;_0x59285e+=0x4)_0x1fc762[_0x246fe5+_0x59285e>>>0x2]=_0x4c308b[_0x59285e>>>0x2];}return this[_0x1c76ff(0x4a4)]+=_0x5c96ee,this;},'clamp':function(){var _0x4902ec=_0x19335f,_0x415bb9=this[_0x4902ec(0x2a9)],_0x30c3b2=this[_0x4902ec(0x4a4)];_0x415bb9[_0x30c3b2>>>0x2]&=0xffffffff<<0x20-_0x30c3b2%0x4*0x8,_0x415bb9[_0x4902ec(0x3dd)]=_0x587a8d[_0x4902ec(0x216)](_0x30c3b2/0x4);},'clone':function(){var _0xf1a85f=_0x19335f,_0x168da1=_0x1055a8['clone'][_0xf1a85f(0x433)](this);return _0x168da1[_0xf1a85f(0x2a9)]=this['words'][_0xf1a85f(0x473)](0x0),_0x168da1;},'random':function(_0xe8be0f){var _0x1a7b21=_0x19335f;for(var _0x518f09=[],_0x20b254=0x0;_0x20b254<_0xe8be0f;_0x20b254+=0x4)_0x518f09[_0x1a7b21(0x33e)](_0x491aac());return new _0x3b9001[(_0x1a7b21(0x29b))](_0x518f09,_0xe8be0f);}}),_0x152081=_0x2d29e0[_0x19335f(0x3e1)]={},_0x2d1957=_0x152081[_0x19335f(0x454)]={'stringify':function(_0x279251){var _0x41ff02=_0x19335f;for(var _0x1c67ea=_0x279251[_0x41ff02(0x2a9)],_0xa95d1e=_0x279251['sigBytes'],_0x3bd048=[],_0x1da050=0x0;_0x1da050<_0xa95d1e;_0x1da050++){var _0x97a487=_0x1c67ea[_0x1da050>>>0x2]>>>0x18-_0x1da050%0x4*0x8&0xff;_0x3bd048[_0x41ff02(0x33e)]((_0x97a487>>>0x4)['toString'](0x10)),_0x3bd048['push']((_0x97a487&0xf)[_0x41ff02(0x461)](0x10));}return _0x3bd048['join']('');},'parse':function(_0x169238){var _0x585c20=_0x19335f;for(var _0x34a542=_0x169238[_0x585c20(0x3dd)],_0x1c5abf=[],_0x5ada48=0x0;_0x5ada48<_0x34a542;_0x5ada48+=0x2)_0x1c5abf[_0x5ada48>>>0x3]|=parseInt(_0x169238[_0x585c20(0x2ff)](_0x5ada48,0x2),0x10)<<0x18-_0x5ada48%0x8*0x4;return new _0x3b9001[(_0x585c20(0x29b))](_0x1c5abf,_0x34a542/0x2);}},_0x5472b2=_0x152081['Latin1']={'stringify':function(_0x4fe57a){var _0x1647cd=_0x19335f;for(var _0x40b13b=_0x4fe57a[_0x1647cd(0x2a9)],_0x155dee=_0x4fe57a['sigBytes'],_0x266b54=[],_0x2282b1=0x0;_0x2282b1<_0x155dee;_0x2282b1++){var _0x408168=_0x40b13b[_0x2282b1>>>0x2]>>>0x18-_0x2282b1%0x4*0x8&0xff;_0x266b54['push'](String[_0x1647cd(0x2e4)](_0x408168));}return _0x266b54[_0x1647cd(0x398)]('');},'parse':function(_0x35f920){var _0xd8e7f4=_0x19335f;for(var _0x5e3353=_0x35f920[_0xd8e7f4(0x3dd)],_0x53939b=[],_0x25f3c1=0x0;_0x25f3c1<_0x5e3353;_0x25f3c1++)_0x53939b[_0x25f3c1>>>0x2]|=(_0x35f920['charCodeAt'](_0x25f3c1)&0xff)<<0x18-_0x25f3c1%0x4*0x8;return new _0x3b9001[(_0xd8e7f4(0x29b))](_0x53939b,_0x5e3353);}},_0x2d5a27=_0x152081['Utf8']={'stringify':function(_0x5c1d9f){var _0x5a9456=_0x19335f;try{return decodeURIComponent(escape(_0x5472b2[_0x5a9456(0x4bd)](_0x5c1d9f)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x552e0c){var _0x20caba=_0x19335f;return _0x5472b2[_0x20caba(0x21f)](unescape(encodeURIComponent(_0x552e0c)));}},_0x2ac36b=_0x23144e['BufferedBlockAlgorithm']=_0x1055a8[_0x19335f(0x1a9)]({'reset':function(){var _0x2462d8=_0x19335f;this[_0x2462d8(0x33d)]=new _0x3b9001[(_0x2462d8(0x29b))](),this[_0x2462d8(0x24d)]=0x0;},'_append':function(_0x548325){var _0x4ec860=_0x19335f;typeof _0x548325==_0x4ec860(0x3b6)&&(_0x548325=_0x2d5a27['parse'](_0x548325)),this[_0x4ec860(0x33d)]['concat'](_0x548325),this[_0x4ec860(0x24d)]+=_0x548325['sigBytes'];},'_process':function(_0x3bed1b){var _0x54569e=_0x19335f,_0x311078,_0x53d8f4=this[_0x54569e(0x33d)],_0x51b39d=_0x53d8f4[_0x54569e(0x2a9)],_0x336348=_0x53d8f4[_0x54569e(0x4a4)],_0x250e18=this[_0x54569e(0x49c)],_0x5da793=_0x250e18*0x4,_0x3bb550=_0x336348/_0x5da793;_0x3bed1b?_0x3bb550=_0x587a8d['ceil'](_0x3bb550):_0x3bb550=_0x587a8d[_0x54569e(0x1d4)]((_0x3bb550|0x0)-this['_minBufferSize'],0x0);var _0x4cec11=_0x3bb550*_0x250e18,_0x5011e8=_0x587a8d[_0x54569e(0x277)](_0x4cec11*0x4,_0x336348);if(_0x4cec11){for(var _0x42d30e=0x0;_0x42d30e<_0x4cec11;_0x42d30e+=_0x250e18)this[_0x54569e(0x1b0)](_0x51b39d,_0x42d30e);_0x311078=_0x51b39d[_0x54569e(0x4fe)](0x0,_0x4cec11),_0x53d8f4[_0x54569e(0x4a4)]-=_0x5011e8;}return new _0x3b9001[(_0x54569e(0x29b))](_0x311078,_0x5011e8);},'clone':function(){var _0x1a4a76=_0x19335f,_0x2402cd=_0x1055a8['clone']['call'](this);return _0x2402cd['_data']=this[_0x1a4a76(0x33d)][_0x1a4a76(0x28f)](),_0x2402cd;},'_minBufferSize':0x0});_0x23144e[_0x19335f(0x3df)]=_0x2ac36b[_0x19335f(0x1a9)]({'cfg':_0x1055a8[_0x19335f(0x1a9)](),'init':function(_0x2b72e1){var _0x3330f0=_0x19335f;this[_0x3330f0(0x458)]=this[_0x3330f0(0x458)][_0x3330f0(0x1a9)](_0x2b72e1),this[_0x3330f0(0x323)]();},'reset':function(){var _0x5eb2fa=_0x19335f;_0x2ac36b['reset'][_0x5eb2fa(0x433)](this),this[_0x5eb2fa(0x45a)]();},'update':function(_0x284dbc){var _0x3cbba8=_0x19335f;return this[_0x3cbba8(0x52e)](_0x284dbc),this[_0x3cbba8(0x412)](),this;},'finalize':function(_0x441747){var _0x2bc6c9=_0x19335f;_0x441747&&this[_0x2bc6c9(0x52e)](_0x441747);var _0x671064=this[_0x2bc6c9(0x3f1)]();return _0x671064;},'blockSize':0x10,'_createHelper':function(_0x480f17){return function(_0x2bebde,_0x4d33fb){var _0x2aef3d=_0x4de2;return new _0x480f17[(_0x2aef3d(0x29b))](_0x4d33fb)[_0x2aef3d(0x2f9)](_0x2bebde);};},'_createHmacHelper':function(_0x9b7419){return function(_0x3700b7,_0x119d9c){var _0x5d3c41=_0x4de2;return new _0x190832['HMAC']['init'](_0x9b7419,_0x119d9c)[_0x5d3c41(0x2f9)](_0x3700b7);};}});var _0x190832=_0x2d29e0['algo']={};return _0x2d29e0;}(Math);return _0x1ab49e;}));}(_0x8fb7a4)),_0x8fb7a4[_0x228a40(0x4aa)];}var _0x18a7ff={'exports':{}},_0x432f40=_0x18a7ff[_0x504a5f(0x4aa)],_0x455c04;function _0x24c2c5(){var _0x2a3867=_0x504a5f;return _0x455c04||(_0x455c04=0x1,function(_0x41b5a1,_0x294ddb){(function(_0x560068,_0x248b79){_0x41b5a1['exports']=_0x248b79(_0x50dd24());}(_0x432f40,function(_0x1b3df3){var _0x8d0afd=_0x4de2;return(function(){var _0x50917b=_0x4de2,_0xf1e946=_0x1b3df3,_0xba548e=_0xf1e946['lib'],_0xf3b98=_0xba548e[_0x50917b(0x519)],_0x18bfa7=_0xf1e946[_0x50917b(0x3e1)];_0x18bfa7[_0x50917b(0x3d4)]={'stringify':function(_0x41d09f){var _0x133438=_0x50917b,_0x27d7c1=_0x41d09f['words'],_0x37e888=_0x41d09f['sigBytes'],_0x4c3b7c=this[_0x133438(0x2a2)];_0x41d09f['clamp']();for(var _0x2a4808=[],_0x505b8b=0x0;_0x505b8b<_0x37e888;_0x505b8b+=0x3)for(var _0x29bb7c=_0x27d7c1[_0x505b8b>>>0x2]>>>0x18-_0x505b8b%0x4*0x8&0xff,_0x1c3bb7=_0x27d7c1[_0x505b8b+0x1>>>0x2]>>>0x18-(_0x505b8b+0x1)%0x4*0x8&0xff,_0x60c52b=_0x27d7c1[_0x505b8b+0x2>>>0x2]>>>0x18-(_0x505b8b+0x2)%0x4*0x8&0xff,_0x45f44e=_0x29bb7c<<0x10|_0x1c3bb7<<0x8|_0x60c52b,_0x10f76f=0x0;_0x10f76f<0x4&&_0x505b8b+_0x10f76f*0.75<_0x37e888;_0x10f76f++)_0x2a4808[_0x133438(0x33e)](_0x4c3b7c[_0x133438(0x289)](_0x45f44e>>>0x6*(0x3-_0x10f76f)&0x3f));var _0x1e415e=_0x4c3b7c['charAt'](0x40);if(_0x1e415e){for(;_0x2a4808[_0x133438(0x3dd)]%0x4;)_0x2a4808[_0x133438(0x33e)](_0x1e415e);}return _0x2a4808[_0x133438(0x398)]('');},'parse':function(_0xf3d080){var _0x2d766b=_0x50917b,_0x3c20a6=_0xf3d080[_0x2d766b(0x3dd)],_0x563eb1=this[_0x2d766b(0x2a2)],_0x4b5313=this[_0x2d766b(0x488)];if(!_0x4b5313){_0x4b5313=this[_0x2d766b(0x488)]=[];for(var _0x58a650=0x0;_0x58a650<_0x563eb1[_0x2d766b(0x3dd)];_0x58a650++)_0x4b5313[_0x563eb1[_0x2d766b(0x21b)](_0x58a650)]=_0x58a650;}var _0x40f775=_0x563eb1[_0x2d766b(0x289)](0x40);if(_0x40f775){var _0x53901c=_0xf3d080[_0x2d766b(0x3db)](_0x40f775);_0x53901c!==-0x1&&(_0x3c20a6=_0x53901c);}return _0x170ad7(_0xf3d080,_0x3c20a6,_0x4b5313);},'_map':_0x50917b(0x517)};function _0x170ad7(_0x5b56e8,_0x56d524,_0x4d9d90){var _0x156c1b=_0x50917b;for(var _0x5139d2=[],_0x36de5c=0x0,_0x5b24d5=0x0;_0x5b24d5<_0x56d524;_0x5b24d5++)if(_0x5b24d5%0x4){var _0x4ec0ca=_0x4d9d90[_0x5b56e8[_0x156c1b(0x21b)](_0x5b24d5-0x1)]<<_0x5b24d5%0x4*0x2,_0x3866dc=_0x4d9d90[_0x5b56e8[_0x156c1b(0x21b)](_0x5b24d5)]>>>0x6-_0x5b24d5%0x4*0x2,_0xdb0c52=_0x4ec0ca|_0x3866dc;_0x5139d2[_0x36de5c>>>0x2]|=_0xdb0c52<<0x18-_0x36de5c%0x4*0x8,_0x36de5c++;}return _0xf3b98['create'](_0x5139d2,_0x36de5c);}}()),_0x1b3df3[_0x8d0afd(0x3e1)][_0x8d0afd(0x3d4)];}));}(_0x18a7ff)),_0x18a7ff[_0x2a3867(0x4aa)];}var _0x42ece1={'exports':{}},_0x213bdd=_0x42ece1[_0x504a5f(0x4aa)],_0x18d645;function _0x430568(){var _0x2a3f29=_0x504a5f;return _0x18d645||(_0x18d645=0x1,function(_0x5083c2,_0x54d2be){(function(_0x97ac97,_0x2931cd){var _0x5544a5=_0x4de2;_0x5083c2[_0x5544a5(0x4aa)]=_0x2931cd(_0x50dd24());}(_0x213bdd,function(_0x45b523){return function(_0xdf8890){var _0x486dd9=_0x4de2,_0x4e4804=_0x45b523,_0x9ce159=_0x4e4804[_0x486dd9(0x505)],_0x10be9b=_0x9ce159[_0x486dd9(0x519)],_0x23eae8=_0x9ce159[_0x486dd9(0x3df)],_0xfafed4=_0x4e4804[_0x486dd9(0x357)],_0x33f211=[];(function(){var _0x228755=_0x486dd9;for(var _0x585f2e=0x0;_0x585f2e<0x40;_0x585f2e++)_0x33f211[_0x585f2e]=_0xdf8890[_0x228755(0x4a6)](_0xdf8890[_0x228755(0x288)](_0x585f2e+0x1))*0x100000000|0x0;}());var _0x2cd4cc=_0xfafed4[_0x486dd9(0x42c)]=_0x23eae8[_0x486dd9(0x1a9)]({'_doReset':function(){var _0x481330=_0x486dd9;this[_0x481330(0x4ad)]=new _0x10be9b[(_0x481330(0x29b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xe1d394,_0x38d941){var _0x57f884=_0x486dd9;for(var _0x49f47c=0x0;_0x49f47c<0x10;_0x49f47c++){var _0x49bc0c=_0x38d941+_0x49f47c,_0x5c6225=_0xe1d394[_0x49bc0c];_0xe1d394[_0x49bc0c]=(_0x5c6225<<0x8|_0x5c6225>>>0x18)&0xff00ff|(_0x5c6225<<0x18|_0x5c6225>>>0x8)&0xff00ff00;}var _0x5056fd=this[_0x57f884(0x4ad)][_0x57f884(0x2a9)],_0x48c5a7=_0xe1d394[_0x38d941+0x0],_0x45c4fe=_0xe1d394[_0x38d941+0x1],_0x2289d0=_0xe1d394[_0x38d941+0x2],_0x109809=_0xe1d394[_0x38d941+0x3],_0x405753=_0xe1d394[_0x38d941+0x4],_0x45dcce=_0xe1d394[_0x38d941+0x5],_0x753ae2=_0xe1d394[_0x38d941+0x6],_0xd93fee=_0xe1d394[_0x38d941+0x7],_0x295622=_0xe1d394[_0x38d941+0x8],_0x28ca88=_0xe1d394[_0x38d941+0x9],_0x5edef6=_0xe1d394[_0x38d941+0xa],_0x5cfba7=_0xe1d394[_0x38d941+0xb],_0x1f3386=_0xe1d394[_0x38d941+0xc],_0x4d8af4=_0xe1d394[_0x38d941+0xd],_0x16607a=_0xe1d394[_0x38d941+0xe],_0x45063a=_0xe1d394[_0x38d941+0xf],_0x1cb81f=_0x5056fd[0x0],_0x21e260=_0x5056fd[0x1],_0x29f4b0=_0x5056fd[0x2],_0x2df7ae=_0x5056fd[0x3];_0x1cb81f=_0xbc7fd(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x48c5a7,0x7,_0x33f211[0x0]),_0x2df7ae=_0xbc7fd(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x45c4fe,0xc,_0x33f211[0x1]),_0x29f4b0=_0xbc7fd(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x2289d0,0x11,_0x33f211[0x2]),_0x21e260=_0xbc7fd(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x109809,0x16,_0x33f211[0x3]),_0x1cb81f=_0xbc7fd(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x405753,0x7,_0x33f211[0x4]),_0x2df7ae=_0xbc7fd(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x45dcce,0xc,_0x33f211[0x5]),_0x29f4b0=_0xbc7fd(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x753ae2,0x11,_0x33f211[0x6]),_0x21e260=_0xbc7fd(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0xd93fee,0x16,_0x33f211[0x7]),_0x1cb81f=_0xbc7fd(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x295622,0x7,_0x33f211[0x8]),_0x2df7ae=_0xbc7fd(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x28ca88,0xc,_0x33f211[0x9]),_0x29f4b0=_0xbc7fd(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x5edef6,0x11,_0x33f211[0xa]),_0x21e260=_0xbc7fd(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x5cfba7,0x16,_0x33f211[0xb]),_0x1cb81f=_0xbc7fd(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x1f3386,0x7,_0x33f211[0xc]),_0x2df7ae=_0xbc7fd(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x4d8af4,0xc,_0x33f211[0xd]),_0x29f4b0=_0xbc7fd(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x16607a,0x11,_0x33f211[0xe]),_0x21e260=_0xbc7fd(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x45063a,0x16,_0x33f211[0xf]),_0x1cb81f=_0x4457ce(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x45c4fe,0x5,_0x33f211[0x10]),_0x2df7ae=_0x4457ce(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x753ae2,0x9,_0x33f211[0x11]),_0x29f4b0=_0x4457ce(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x5cfba7,0xe,_0x33f211[0x12]),_0x21e260=_0x4457ce(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x48c5a7,0x14,_0x33f211[0x13]),_0x1cb81f=_0x4457ce(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x45dcce,0x5,_0x33f211[0x14]),_0x2df7ae=_0x4457ce(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x5edef6,0x9,_0x33f211[0x15]),_0x29f4b0=_0x4457ce(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x45063a,0xe,_0x33f211[0x16]),_0x21e260=_0x4457ce(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x405753,0x14,_0x33f211[0x17]),_0x1cb81f=_0x4457ce(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x28ca88,0x5,_0x33f211[0x18]),_0x2df7ae=_0x4457ce(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x16607a,0x9,_0x33f211[0x19]),_0x29f4b0=_0x4457ce(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x109809,0xe,_0x33f211[0x1a]),_0x21e260=_0x4457ce(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x295622,0x14,_0x33f211[0x1b]),_0x1cb81f=_0x4457ce(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x4d8af4,0x5,_0x33f211[0x1c]),_0x2df7ae=_0x4457ce(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x2289d0,0x9,_0x33f211[0x1d]),_0x29f4b0=_0x4457ce(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0xd93fee,0xe,_0x33f211[0x1e]),_0x21e260=_0x4457ce(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x1f3386,0x14,_0x33f211[0x1f]),_0x1cb81f=_0x1616e0(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x45dcce,0x4,_0x33f211[0x20]),_0x2df7ae=_0x1616e0(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x295622,0xb,_0x33f211[0x21]),_0x29f4b0=_0x1616e0(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x5cfba7,0x10,_0x33f211[0x22]),_0x21e260=_0x1616e0(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x16607a,0x17,_0x33f211[0x23]),_0x1cb81f=_0x1616e0(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x45c4fe,0x4,_0x33f211[0x24]),_0x2df7ae=_0x1616e0(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x405753,0xb,_0x33f211[0x25]),_0x29f4b0=_0x1616e0(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0xd93fee,0x10,_0x33f211[0x26]),_0x21e260=_0x1616e0(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x5edef6,0x17,_0x33f211[0x27]),_0x1cb81f=_0x1616e0(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x4d8af4,0x4,_0x33f211[0x28]),_0x2df7ae=_0x1616e0(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x48c5a7,0xb,_0x33f211[0x29]),_0x29f4b0=_0x1616e0(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x109809,0x10,_0x33f211[0x2a]),_0x21e260=_0x1616e0(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x753ae2,0x17,_0x33f211[0x2b]),_0x1cb81f=_0x1616e0(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x28ca88,0x4,_0x33f211[0x2c]),_0x2df7ae=_0x1616e0(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x1f3386,0xb,_0x33f211[0x2d]),_0x29f4b0=_0x1616e0(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x45063a,0x10,_0x33f211[0x2e]),_0x21e260=_0x1616e0(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x2289d0,0x17,_0x33f211[0x2f]),_0x1cb81f=_0x232e0b(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x48c5a7,0x6,_0x33f211[0x30]),_0x2df7ae=_0x232e0b(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0xd93fee,0xa,_0x33f211[0x31]),_0x29f4b0=_0x232e0b(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x16607a,0xf,_0x33f211[0x32]),_0x21e260=_0x232e0b(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x45dcce,0x15,_0x33f211[0x33]),_0x1cb81f=_0x232e0b(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x1f3386,0x6,_0x33f211[0x34]),_0x2df7ae=_0x232e0b(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x109809,0xa,_0x33f211[0x35]),_0x29f4b0=_0x232e0b(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x5edef6,0xf,_0x33f211[0x36]),_0x21e260=_0x232e0b(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x45c4fe,0x15,_0x33f211[0x37]),_0x1cb81f=_0x232e0b(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x295622,0x6,_0x33f211[0x38]),_0x2df7ae=_0x232e0b(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x45063a,0xa,_0x33f211[0x39]),_0x29f4b0=_0x232e0b(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x753ae2,0xf,_0x33f211[0x3a]),_0x21e260=_0x232e0b(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x4d8af4,0x15,_0x33f211[0x3b]),_0x1cb81f=_0x232e0b(_0x1cb81f,_0x21e260,_0x29f4b0,_0x2df7ae,_0x405753,0x6,_0x33f211[0x3c]),_0x2df7ae=_0x232e0b(_0x2df7ae,_0x1cb81f,_0x21e260,_0x29f4b0,_0x5cfba7,0xa,_0x33f211[0x3d]),_0x29f4b0=_0x232e0b(_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x21e260,_0x2289d0,0xf,_0x33f211[0x3e]),_0x21e260=_0x232e0b(_0x21e260,_0x29f4b0,_0x2df7ae,_0x1cb81f,_0x28ca88,0x15,_0x33f211[0x3f]),_0x5056fd[0x0]=_0x5056fd[0x0]+_0x1cb81f|0x0,_0x5056fd[0x1]=_0x5056fd[0x1]+_0x21e260|0x0,_0x5056fd[0x2]=_0x5056fd[0x2]+_0x29f4b0|0x0,_0x5056fd[0x3]=_0x5056fd[0x3]+_0x2df7ae|0x0;},'_doFinalize':function(){var _0x5a994e=_0x486dd9,_0x1ea4c1=this[_0x5a994e(0x33d)],_0x407f22=_0x1ea4c1[_0x5a994e(0x2a9)],_0x3f7f83=this[_0x5a994e(0x24d)]*0x8,_0x3080cf=_0x1ea4c1['sigBytes']*0x8;_0x407f22[_0x3080cf>>>0x5]|=0x80<<0x18-_0x3080cf%0x20;var _0x1941f9=_0xdf8890[_0x5a994e(0x469)](_0x3f7f83/0x100000000),_0x549c5a=_0x3f7f83;_0x407f22[(_0x3080cf+0x40>>>0x9<<0x4)+0xf]=(_0x1941f9<<0x8|_0x1941f9>>>0x18)&0xff00ff|(_0x1941f9<<0x18|_0x1941f9>>>0x8)&0xff00ff00,_0x407f22[(_0x3080cf+0x40>>>0x9<<0x4)+0xe]=(_0x549c5a<<0x8|_0x549c5a>>>0x18)&0xff00ff|(_0x549c5a<<0x18|_0x549c5a>>>0x8)&0xff00ff00,_0x1ea4c1[_0x5a994e(0x4a4)]=(_0x407f22[_0x5a994e(0x3dd)]+0x1)*0x4,this[_0x5a994e(0x412)]();for(var _0x1a4c4a=this[_0x5a994e(0x4ad)],_0x418fd7=_0x1a4c4a['words'],_0x29f054=0x0;_0x29f054<0x4;_0x29f054++){var _0x15f40a=_0x418fd7[_0x29f054];_0x418fd7[_0x29f054]=(_0x15f40a<<0x8|_0x15f40a>>>0x18)&0xff00ff|(_0x15f40a<<0x18|_0x15f40a>>>0x8)&0xff00ff00;}return _0x1a4c4a;},'clone':function(){var _0x2d3dc4=_0x486dd9,_0x1fa5fd=_0x23eae8[_0x2d3dc4(0x28f)][_0x2d3dc4(0x433)](this);return _0x1fa5fd[_0x2d3dc4(0x4ad)]=this['_hash'][_0x2d3dc4(0x28f)](),_0x1fa5fd;}});function _0xbc7fd(_0x504dfd,_0x16f229,_0x38fda4,_0x2f72c5,_0x2615c0,_0x394255,_0x52e22e){var _0x4ac979=_0x504dfd+(_0x16f229&_0x38fda4|~_0x16f229&_0x2f72c5)+_0x2615c0+_0x52e22e;return(_0x4ac979<<_0x394255|_0x4ac979>>>0x20-_0x394255)+_0x16f229;}function _0x4457ce(_0x1209f4,_0xfe242d,_0x2c0f29,_0xbb2c82,_0x1831ea,_0x494412,_0x4ec9b0){var _0x52b120=_0x1209f4+(_0xfe242d&_0xbb2c82|_0x2c0f29&~_0xbb2c82)+_0x1831ea+_0x4ec9b0;return(_0x52b120<<_0x494412|_0x52b120>>>0x20-_0x494412)+_0xfe242d;}function _0x1616e0(_0x825283,_0x1f2ea5,_0x423aa6,_0x5da0e1,_0xc4d50b,_0x9bfcad,_0xfec401){var _0x2de065=_0x825283+(_0x1f2ea5^_0x423aa6^_0x5da0e1)+_0xc4d50b+_0xfec401;return(_0x2de065<<_0x9bfcad|_0x2de065>>>0x20-_0x9bfcad)+_0x1f2ea5;}function _0x232e0b(_0x18619b,_0x500703,_0x1a9f49,_0x2fb55f,_0x4ded8b,_0x3794f9,_0x3d684a){var _0x2e8b11=_0x18619b+(_0x1a9f49^(_0x500703|~_0x2fb55f))+_0x4ded8b+_0x3d684a;return(_0x2e8b11<<_0x3794f9|_0x2e8b11>>>0x20-_0x3794f9)+_0x500703;}_0x4e4804[_0x486dd9(0x42c)]=_0x23eae8[_0x486dd9(0x222)](_0x2cd4cc),_0x4e4804[_0x486dd9(0x430)]=_0x23eae8['_createHmacHelper'](_0x2cd4cc);}(Math),_0x45b523['MD5'];}));}(_0x42ece1)),_0x42ece1[_0x2a3f29(0x4aa)];}var _0x4ee739={'exports':{}},_0x2e370d={'exports':{}},_0x5870d5=_0x2e370d[_0x504a5f(0x4aa)],_0x29cbf4;function _0xe6b950(){var _0x2b6d3a=_0x504a5f;return _0x29cbf4||(_0x29cbf4=0x1,function(_0x18fb24,_0x1f20f8){(function(_0x20b16b,_0x182ff3){var _0x4aca63=_0x4de2;_0x18fb24[_0x4aca63(0x4aa)]=_0x182ff3(_0x50dd24());}(_0x5870d5,function(_0x4f772d){var _0x133fa1=_0x4de2;return(function(){var _0x1b1843=_0x4de2,_0x12b119=_0x4f772d,_0x54b529=_0x12b119[_0x1b1843(0x505)],_0x5a6e8a=_0x54b529[_0x1b1843(0x519)],_0x58f159=_0x54b529[_0x1b1843(0x3df)],_0x111445=_0x12b119[_0x1b1843(0x357)],_0x4f0335=[],_0x526d48=_0x111445[_0x1b1843(0x241)]=_0x58f159[_0x1b1843(0x1a9)]({'_doReset':function(){var _0x244988=_0x1b1843;this[_0x244988(0x4ad)]=new _0x5a6e8a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x333cc0,_0x230341){var _0x4b3255=_0x1b1843;for(var _0x28e398=this[_0x4b3255(0x4ad)][_0x4b3255(0x2a9)],_0x504bd4=_0x28e398[0x0],_0x274c68=_0x28e398[0x1],_0x2c648c=_0x28e398[0x2],_0x2fd959=_0x28e398[0x3],_0x3d6e73=_0x28e398[0x4],_0x5b85ee=0x0;_0x5b85ee<0x50;_0x5b85ee++){if(_0x5b85ee<0x10)_0x4f0335[_0x5b85ee]=_0x333cc0[_0x230341+_0x5b85ee]|0x0;else{var _0x3c1f0e=_0x4f0335[_0x5b85ee-0x3]^_0x4f0335[_0x5b85ee-0x8]^_0x4f0335[_0x5b85ee-0xe]^_0x4f0335[_0x5b85ee-0x10];_0x4f0335[_0x5b85ee]=_0x3c1f0e<<0x1|_0x3c1f0e>>>0x1f;}var _0x8e30bf=(_0x504bd4<<0x5|_0x504bd4>>>0x1b)+_0x3d6e73+_0x4f0335[_0x5b85ee];_0x5b85ee<0x14?_0x8e30bf+=(_0x274c68&_0x2c648c|~_0x274c68&_0x2fd959)+0x5a827999:_0x5b85ee<0x28?_0x8e30bf+=(_0x274c68^_0x2c648c^_0x2fd959)+0x6ed9eba1:_0x5b85ee<0x3c?_0x8e30bf+=(_0x274c68&_0x2c648c|_0x274c68&_0x2fd959|_0x2c648c&_0x2fd959)-0x70e44324:_0x8e30bf+=(_0x274c68^_0x2c648c^_0x2fd959)-0x359d3e2a,_0x3d6e73=_0x2fd959,_0x2fd959=_0x2c648c,_0x2c648c=_0x274c68<<0x1e|_0x274c68>>>0x2,_0x274c68=_0x504bd4,_0x504bd4=_0x8e30bf;}_0x28e398[0x0]=_0x28e398[0x0]+_0x504bd4|0x0,_0x28e398[0x1]=_0x28e398[0x1]+_0x274c68|0x0,_0x28e398[0x2]=_0x28e398[0x2]+_0x2c648c|0x0,_0x28e398[0x3]=_0x28e398[0x3]+_0x2fd959|0x0,_0x28e398[0x4]=_0x28e398[0x4]+_0x3d6e73|0x0;},'_doFinalize':function(){var _0x4c1e0a=_0x1b1843,_0xd8d9fc=this[_0x4c1e0a(0x33d)],_0x16bb59=_0xd8d9fc[_0x4c1e0a(0x2a9)],_0x482622=this[_0x4c1e0a(0x24d)]*0x8,_0x3bc5c1=_0xd8d9fc[_0x4c1e0a(0x4a4)]*0x8;return _0x16bb59[_0x3bc5c1>>>0x5]|=0x80<<0x18-_0x3bc5c1%0x20,_0x16bb59[(_0x3bc5c1+0x40>>>0x9<<0x4)+0xe]=Math[_0x4c1e0a(0x469)](_0x482622/0x100000000),_0x16bb59[(_0x3bc5c1+0x40>>>0x9<<0x4)+0xf]=_0x482622,_0xd8d9fc[_0x4c1e0a(0x4a4)]=_0x16bb59['length']*0x4,this[_0x4c1e0a(0x412)](),this[_0x4c1e0a(0x4ad)];},'clone':function(){var _0x373519=_0x1b1843,_0x181164=_0x58f159[_0x373519(0x28f)][_0x373519(0x433)](this);return _0x181164['_hash']=this['_hash'][_0x373519(0x28f)](),_0x181164;}});_0x12b119[_0x1b1843(0x241)]=_0x58f159[_0x1b1843(0x222)](_0x526d48),_0x12b119[_0x1b1843(0x4a2)]=_0x58f159[_0x1b1843(0x257)](_0x526d48);}()),_0x4f772d[_0x133fa1(0x241)];}));}(_0x2e370d)),_0x2e370d[_0x2b6d3a(0x4aa)];}var _0x3448b8={'exports':{}},_0x5e3bc6=_0x3448b8[_0x504a5f(0x4aa)],_0x1b3743;function _0x7f360b(){var _0x2b5019=_0x504a5f;return _0x1b3743||(_0x1b3743=0x1,function(_0x31905e,_0x3c52f8){(function(_0x54d367,_0x1ffa2d){var _0x3e3a45=_0x4de2;_0x31905e[_0x3e3a45(0x4aa)]=_0x1ffa2d(_0x50dd24());}(_0x5e3bc6,function(_0x1ea3b5){(function(){var _0x21721f=_0x4de2,_0x443f18=_0x1ea3b5,_0x56ae98=_0x443f18[_0x21721f(0x505)],_0x5172ad=_0x56ae98[_0x21721f(0x1ec)],_0x2a63f3=_0x443f18['enc'],_0x5c544c=_0x2a63f3[_0x21721f(0x368)],_0x2f17cc=_0x443f18[_0x21721f(0x357)];_0x2f17cc[_0x21721f(0x459)]=_0x5172ad['extend']({'init':function(_0x5de27f,_0x25ead5){var _0x6040ed=_0x21721f;_0x5de27f=this['_hasher']=new _0x5de27f[(_0x6040ed(0x29b))](),typeof _0x25ead5==_0x6040ed(0x3b6)&&(_0x25ead5=_0x5c544c[_0x6040ed(0x21f)](_0x25ead5));var _0x59aef6=_0x5de27f[_0x6040ed(0x49c)],_0x3aa28b=_0x59aef6*0x4;_0x25ead5[_0x6040ed(0x4a4)]>_0x3aa28b&&(_0x25ead5=_0x5de27f[_0x6040ed(0x2f9)](_0x25ead5)),_0x25ead5[_0x6040ed(0x41b)]();for(var _0x2063a6=this[_0x6040ed(0x52b)]=_0x25ead5[_0x6040ed(0x28f)](),_0x30a591=this[_0x6040ed(0x30d)]=_0x25ead5[_0x6040ed(0x28f)](),_0x2c83d3=_0x2063a6[_0x6040ed(0x2a9)],_0x16be37=_0x30a591[_0x6040ed(0x2a9)],_0x223104=0x0;_0x223104<_0x59aef6;_0x223104++)_0x2c83d3[_0x223104]^=0x5c5c5c5c,_0x16be37[_0x223104]^=0x36363636;_0x2063a6[_0x6040ed(0x4a4)]=_0x30a591[_0x6040ed(0x4a4)]=_0x3aa28b,this['reset']();},'reset':function(){var _0x4c6e38=_0x21721f,_0x1d409f=this[_0x4c6e38(0x33c)];_0x1d409f[_0x4c6e38(0x323)](),_0x1d409f[_0x4c6e38(0x467)](this[_0x4c6e38(0x30d)]);},'update':function(_0x19cf2b){var _0x322e15=_0x21721f;return this[_0x322e15(0x33c)][_0x322e15(0x467)](_0x19cf2b),this;},'finalize':function(_0xedce09){var _0x48c889=_0x21721f,_0x51e3fc=this[_0x48c889(0x33c)],_0x4b0f2e=_0x51e3fc['finalize'](_0xedce09);_0x51e3fc['reset']();var _0x3e5a1c=_0x51e3fc['finalize'](this[_0x48c889(0x52b)]['clone']()['concat'](_0x4b0f2e));return _0x3e5a1c;}});}());}));}(_0x3448b8)),_0x3448b8[_0x2b5019(0x4aa)];}var _0x3074a4=_0x4ee739[_0x504a5f(0x4aa)],_0x37892f;function _0x4ac964(){var _0x2e1859=_0x504a5f;return _0x37892f||(_0x37892f=0x1,function(_0x329e7d,_0xe156fe){(function(_0x5c767c,_0x4db2d6,_0x2818cf){_0x329e7d['exports']=_0x4db2d6(_0x50dd24(),_0xe6b950(),_0x7f360b());}(_0x3074a4,function(_0x1a7d96){return(function(){var _0x142be7=_0x4de2,_0x24e38f=_0x1a7d96,_0x4b743e=_0x24e38f[_0x142be7(0x505)],_0x26e87f=_0x4b743e[_0x142be7(0x1ec)],_0x54ef4b=_0x4b743e[_0x142be7(0x519)],_0x2516fc=_0x24e38f[_0x142be7(0x357)],_0x24d325=_0x2516fc[_0x142be7(0x42c)],_0x4608e9=_0x2516fc[_0x142be7(0x1be)]=_0x26e87f[_0x142be7(0x1a9)]({'cfg':_0x26e87f['extend']({'keySize':0x80/0x20,'hasher':_0x24d325,'iterations':0x1}),'init':function(_0x3015b0){var _0x357fa0=_0x142be7;this[_0x357fa0(0x458)]=this['cfg'][_0x357fa0(0x1a9)](_0x3015b0);},'compute':function(_0x456680,_0x3eebfc){var _0x1e1518=_0x142be7;for(var _0x169a88,_0x56ac48=this[_0x1e1518(0x458)],_0x123de4=_0x56ac48[_0x1e1518(0x1c5)]['create'](),_0x498371=_0x54ef4b['create'](),_0x5c8b4d=_0x498371[_0x1e1518(0x2a9)],_0x156af6=_0x56ac48[_0x1e1518(0x287)],_0x47a276=_0x56ac48['iterations'];_0x5c8b4d[_0x1e1518(0x3dd)]<_0x156af6;){_0x169a88&&_0x123de4['update'](_0x169a88),_0x169a88=_0x123de4[_0x1e1518(0x467)](_0x456680)[_0x1e1518(0x2f9)](_0x3eebfc),_0x123de4[_0x1e1518(0x323)]();for(var _0x548e8a=0x1;_0x548e8a<_0x47a276;_0x548e8a++)_0x169a88=_0x123de4[_0x1e1518(0x2f9)](_0x169a88),_0x123de4['reset']();_0x498371[_0x1e1518(0x421)](_0x169a88);}return _0x498371[_0x1e1518(0x4a4)]=_0x156af6*0x4,_0x498371;}});_0x24e38f[_0x142be7(0x1be)]=function(_0x390280,_0xf0a12c,_0x14235d){var _0x40a5cd=_0x142be7;return _0x4608e9['create'](_0x14235d)[_0x40a5cd(0x3fc)](_0x390280,_0xf0a12c);};}()),_0x1a7d96['EvpKDF'];}));}(_0x4ee739)),_0x4ee739[_0x2e1859(0x4aa)];}var _0x2fca7d={'exports':{}},_0x43be7f=_0x2fca7d[_0x504a5f(0x4aa)],_0xb2b424;function _0x5050d2(){return _0xb2b424||(_0xb2b424=0x1,function(_0x5a6454,_0x52c34b){(function(_0x3d6e39,_0x5f1d8e,_0x31d6bb){var _0x2b836b=_0x4de2;_0x5a6454[_0x2b836b(0x4aa)]=_0x5f1d8e(_0x50dd24(),_0x4ac964());}(_0x43be7f,function(_0x3790f2){var _0x5e5e4e=_0x4de2;_0x3790f2[_0x5e5e4e(0x505)][_0x5e5e4e(0x2f2)]||function(_0x2bfb22){var _0x3b1eb9=_0x5e5e4e,_0x4ef3d4=_0x3790f2,_0x55c059=_0x4ef3d4[_0x3b1eb9(0x505)],_0x2289ad=_0x55c059['Base'],_0x3e496b=_0x55c059['WordArray'],_0x2d239b=_0x55c059[_0x3b1eb9(0x397)],_0x16ed69=_0x4ef3d4[_0x3b1eb9(0x3e1)];_0x16ed69['Utf8'];var _0xc7edac=_0x16ed69[_0x3b1eb9(0x3d4)],_0x2a2e41=_0x4ef3d4['algo'],_0x1ad708=_0x2a2e41[_0x3b1eb9(0x1be)],_0x4c00cc=_0x55c059[_0x3b1eb9(0x2f2)]=_0x2d239b[_0x3b1eb9(0x1a9)]({'cfg':_0x2289ad['extend'](),'createEncryptor':function(_0x15a8ef,_0x36b069){var _0x38b177=_0x3b1eb9;return this['create'](this[_0x38b177(0x492)],_0x15a8ef,_0x36b069);},'createDecryptor':function(_0xfb4980,_0x18273c){var _0x545278=_0x3b1eb9;return this[_0x545278(0x202)](this['_DEC_XFORM_MODE'],_0xfb4980,_0x18273c);},'init':function(_0x334fca,_0x5c3a3e,_0x36a73f){var _0x3c51a9=_0x3b1eb9;this[_0x3c51a9(0x458)]=this[_0x3c51a9(0x458)][_0x3c51a9(0x1a9)](_0x36a73f),this[_0x3c51a9(0x471)]=_0x334fca,this[_0x3c51a9(0x2bc)]=_0x5c3a3e,this[_0x3c51a9(0x323)]();},'reset':function(){var _0x461de9=_0x3b1eb9;_0x2d239b[_0x461de9(0x323)][_0x461de9(0x433)](this),this[_0x461de9(0x45a)]();},'process':function(_0x1b97f7){var _0x377e4d=_0x3b1eb9;return this[_0x377e4d(0x52e)](_0x1b97f7),this[_0x377e4d(0x412)]();},'finalize':function(_0x12f8f4){var _0x521012=_0x3b1eb9;_0x12f8f4&&this[_0x521012(0x52e)](_0x12f8f4);var _0x46bd18=this[_0x521012(0x3f1)]();return _0x46bd18;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x879579(_0x56264b){var _0x503225=_0x4de2;return typeof _0x56264b==_0x503225(0x3b6)?_0x4c8fd6:_0x5be46e;}return function(_0x1a96fb){return{'encrypt':function(_0x4c2c63,_0x23df6a,_0x1adaca){var _0x32a77e=_0x4de2;return _0x879579(_0x23df6a)[_0x32a77e(0x263)](_0x1a96fb,_0x4c2c63,_0x23df6a,_0x1adaca);},'decrypt':function(_0x194545,_0x1973d6,_0xf01a4b){return _0x879579(_0x1973d6)['decrypt'](_0x1a96fb,_0x194545,_0x1973d6,_0xf01a4b);}};};}())});_0x55c059['StreamCipher']=_0x4c00cc[_0x3b1eb9(0x1a9)]({'_doFinalize':function(){var _0x189f09=_0x3b1eb9,_0x245575=this[_0x189f09(0x412)](!0x0);return _0x245575;},'blockSize':0x1});var _0x3ebb7f=_0x4ef3d4[_0x3b1eb9(0x4d3)]={},_0x196308=_0x55c059['BlockCipherMode']=_0x2289ad['extend']({'createEncryptor':function(_0x5542aa,_0x3d6859){var _0x33211a=_0x3b1eb9;return this[_0x33211a(0x1c8)]['create'](_0x5542aa,_0x3d6859);},'createDecryptor':function(_0x6352f2,_0x4fd747){var _0xda58=_0x3b1eb9;return this['Decryptor'][_0xda58(0x202)](_0x6352f2,_0x4fd747);},'init':function(_0x580849,_0x36bb11){var _0x4a3b15=_0x3b1eb9;this['_cipher']=_0x580849,this[_0x4a3b15(0x213)]=_0x36bb11;}}),_0x4253d8=_0x3ebb7f['CBC']=(function(){var _0x4dc177=_0x3b1eb9,_0x4bc060=_0x196308['extend']();_0x4bc060[_0x4dc177(0x1c8)]=_0x4bc060[_0x4dc177(0x1a9)]({'processBlock':function(_0xadc908,_0x3b6c5c){var _0x543ef3=_0x4dc177,_0x2df3eb=this[_0x543ef3(0x4c6)],_0x33cc90=_0x2df3eb[_0x543ef3(0x49c)];_0x1aa309[_0x543ef3(0x433)](this,_0xadc908,_0x3b6c5c,_0x33cc90),_0x2df3eb[_0x543ef3(0x420)](_0xadc908,_0x3b6c5c),this[_0x543ef3(0x50b)]=_0xadc908[_0x543ef3(0x473)](_0x3b6c5c,_0x3b6c5c+_0x33cc90);}}),_0x4bc060[_0x4dc177(0x365)]=_0x4bc060['extend']({'processBlock':function(_0x5074d3,_0x4f21c8){var _0x181ebf=_0x4dc177,_0x232f72=this['_cipher'],_0x31a5e2=_0x232f72[_0x181ebf(0x49c)],_0x244d0f=_0x5074d3[_0x181ebf(0x473)](_0x4f21c8,_0x4f21c8+_0x31a5e2);_0x232f72[_0x181ebf(0x224)](_0x5074d3,_0x4f21c8),_0x1aa309[_0x181ebf(0x433)](this,_0x5074d3,_0x4f21c8,_0x31a5e2),this[_0x181ebf(0x50b)]=_0x244d0f;}});function _0x1aa309(_0x4ee57a,_0x3b60cf,_0x366b5e){var _0x915ae4=_0x4dc177,_0x1190d9,_0x2b2a33=this[_0x915ae4(0x213)];_0x2b2a33?(_0x1190d9=_0x2b2a33,this[_0x915ae4(0x213)]=_0x2bfb22):_0x1190d9=this[_0x915ae4(0x50b)];for(var _0x4df6a7=0x0;_0x4df6a7<_0x366b5e;_0x4df6a7++)_0x4ee57a[_0x3b60cf+_0x4df6a7]^=_0x1190d9[_0x4df6a7];}return _0x4bc060;}()),_0x33ab1b=_0x4ef3d4[_0x3b1eb9(0x1e8)]={},_0x39fd3e=_0x33ab1b['Pkcs7']={'pad':function(_0x44cb08,_0x5e8d4e){var _0x17af99=_0x3b1eb9;for(var _0x5a06ea=_0x5e8d4e*0x4,_0x19c5bf=_0x5a06ea-_0x44cb08[_0x17af99(0x4a4)]%_0x5a06ea,_0x632210=_0x19c5bf<<0x18|_0x19c5bf<<0x10|_0x19c5bf<<0x8|_0x19c5bf,_0x515044=[],_0x4bada6=0x0;_0x4bada6<_0x19c5bf;_0x4bada6+=0x4)_0x515044['push'](_0x632210);var _0x48a77e=_0x3e496b[_0x17af99(0x202)](_0x515044,_0x19c5bf);_0x44cb08[_0x17af99(0x421)](_0x48a77e);},'unpad':function(_0x45c492){var _0x59d370=_0x3b1eb9,_0x2a1508=_0x45c492[_0x59d370(0x2a9)][_0x45c492[_0x59d370(0x4a4)]-0x1>>>0x2]&0xff;_0x45c492[_0x59d370(0x4a4)]-=_0x2a1508;}};_0x55c059[_0x3b1eb9(0x431)]=_0x4c00cc['extend']({'cfg':_0x4c00cc['cfg'][_0x3b1eb9(0x1a9)]({'mode':_0x4253d8,'padding':_0x39fd3e}),'reset':function(){var _0x3e3ce9=_0x3b1eb9,_0x5a9b31;_0x4c00cc[_0x3e3ce9(0x323)][_0x3e3ce9(0x433)](this);var _0xf0d6af=this[_0x3e3ce9(0x458)],_0x4e6598=_0xf0d6af['iv'],_0x320244=_0xf0d6af[_0x3e3ce9(0x4d3)];this[_0x3e3ce9(0x471)]==this[_0x3e3ce9(0x492)]?_0x5a9b31=_0x320244[_0x3e3ce9(0x4ae)]:(_0x5a9b31=_0x320244[_0x3e3ce9(0x1e9)],this[_0x3e3ce9(0x2d6)]=0x1),this[_0x3e3ce9(0x4a1)]&&this['_mode']['__creator']==_0x5a9b31?this[_0x3e3ce9(0x4a1)][_0x3e3ce9(0x29b)](this,_0x4e6598&&_0x4e6598[_0x3e3ce9(0x2a9)]):(this[_0x3e3ce9(0x4a1)]=_0x5a9b31[_0x3e3ce9(0x433)](_0x320244,this,_0x4e6598&&_0x4e6598[_0x3e3ce9(0x2a9)]),this[_0x3e3ce9(0x4a1)][_0x3e3ce9(0x1fc)]=_0x5a9b31);},'_doProcessBlock':function(_0x5cab63,_0x39825a){var _0x388b5d=_0x3b1eb9;this['_mode'][_0x388b5d(0x306)](_0x5cab63,_0x39825a);},'_doFinalize':function(){var _0x45376c=_0x3b1eb9,_0x5f2ff1,_0x3d1598=this['cfg'][_0x45376c(0x4bf)];return this[_0x45376c(0x471)]==this[_0x45376c(0x492)]?(_0x3d1598[_0x45376c(0x1e8)](this[_0x45376c(0x33d)],this['blockSize']),_0x5f2ff1=this[_0x45376c(0x412)](!0x0)):(_0x5f2ff1=this[_0x45376c(0x412)](!0x0),_0x3d1598[_0x45376c(0x344)](_0x5f2ff1)),_0x5f2ff1;},'blockSize':0x80/0x20});var _0x30358a=_0x55c059[_0x3b1eb9(0x1db)]=_0x2289ad[_0x3b1eb9(0x1a9)]({'init':function(_0x5b7571){var _0x19742a=_0x3b1eb9;this[_0x19742a(0x369)](_0x5b7571);},'toString':function(_0x90f0c3){var _0x19850c=_0x3b1eb9;return(_0x90f0c3||this[_0x19850c(0x271)])[_0x19850c(0x4bd)](this);}}),_0x11e695=_0x4ef3d4[_0x3b1eb9(0x2e5)]={},_0x243913=_0x11e695[_0x3b1eb9(0x4ce)]={'stringify':function(_0x55f7f7){var _0x2c7bb8=_0x3b1eb9,_0x1c989a,_0x1ff9bb=_0x55f7f7['ciphertext'],_0x239596=_0x55f7f7['salt'];return _0x239596?_0x1c989a=_0x3e496b['create']([0x53616c74,0x65645f5f])['concat'](_0x239596)[_0x2c7bb8(0x421)](_0x1ff9bb):_0x1c989a=_0x1ff9bb,_0x1c989a['toString'](_0xc7edac);},'parse':function(_0x805cb0){var _0x140e14=_0x3b1eb9,_0x581302,_0x3b0fde=_0xc7edac['parse'](_0x805cb0),_0x754c74=_0x3b0fde['words'];return _0x754c74[0x0]==0x53616c74&&_0x754c74[0x1]==0x65645f5f&&(_0x581302=_0x3e496b['create'](_0x754c74['slice'](0x2,0x4)),_0x754c74['splice'](0x0,0x4),_0x3b0fde[_0x140e14(0x4a4)]-=0x10),_0x30358a[_0x140e14(0x202)]({'ciphertext':_0x3b0fde,'salt':_0x581302});}},_0x5be46e=_0x55c059[_0x3b1eb9(0x346)]=_0x2289ad[_0x3b1eb9(0x1a9)]({'cfg':_0x2289ad[_0x3b1eb9(0x1a9)]({'format':_0x243913}),'encrypt':function(_0x2882da,_0xff561f,_0x1ec125,_0xa655b5){var _0x3e0c23=_0x3b1eb9;_0xa655b5=this[_0x3e0c23(0x458)][_0x3e0c23(0x1a9)](_0xa655b5);var _0x311eb4=_0x2882da[_0x3e0c23(0x4ae)](_0x1ec125,_0xa655b5),_0x860ea7=_0x311eb4[_0x3e0c23(0x2f9)](_0xff561f),_0x4beba8=_0x311eb4['cfg'];return _0x30358a['create']({'ciphertext':_0x860ea7,'key':_0x1ec125,'iv':_0x4beba8['iv'],'algorithm':_0x2882da,'mode':_0x4beba8[_0x3e0c23(0x4d3)],'padding':_0x4beba8[_0x3e0c23(0x4bf)],'blockSize':_0x2882da[_0x3e0c23(0x49c)],'formatter':_0xa655b5[_0x3e0c23(0x2e5)]});},'decrypt':function(_0x4a1df4,_0x376bd9,_0x5bf6b4,_0x460af5){var _0x47e95f=_0x3b1eb9;_0x460af5=this[_0x47e95f(0x458)][_0x47e95f(0x1a9)](_0x460af5),_0x376bd9=this[_0x47e95f(0x23b)](_0x376bd9,_0x460af5[_0x47e95f(0x2e5)]);var _0x21a8d6=_0x4a1df4[_0x47e95f(0x1e9)](_0x5bf6b4,_0x460af5)['finalize'](_0x376bd9[_0x47e95f(0x482)]);return _0x21a8d6;},'_parse':function(_0x4cb0b3,_0x385ec1){var _0x5f5047=_0x3b1eb9;return typeof _0x4cb0b3==_0x5f5047(0x3b6)?_0x385ec1['parse'](_0x4cb0b3,this):_0x4cb0b3;}}),_0x23d18c=_0x4ef3d4[_0x3b1eb9(0x4a8)]={},_0x559fb8=_0x23d18c['OpenSSL']={'execute':function(_0x32cda7,_0x50e354,_0x181125,_0x262727,_0x2c0b74){var _0x3bacac=_0x3b1eb9;if(_0x262727||(_0x262727=_0x3e496b[_0x3bacac(0x442)](0x40/0x8)),_0x2c0b74)var _0x5d99dc=_0x1ad708[_0x3bacac(0x202)]({'keySize':_0x50e354+_0x181125,'hasher':_0x2c0b74})['compute'](_0x32cda7,_0x262727);else var _0x5d99dc=_0x1ad708[_0x3bacac(0x202)]({'keySize':_0x50e354+_0x181125})[_0x3bacac(0x3fc)](_0x32cda7,_0x262727);var _0x465326=_0x3e496b[_0x3bacac(0x202)](_0x5d99dc['words']['slice'](_0x50e354),_0x181125*0x4);return _0x5d99dc[_0x3bacac(0x4a4)]=_0x50e354*0x4,_0x30358a[_0x3bacac(0x202)]({'key':_0x5d99dc,'iv':_0x465326,'salt':_0x262727});}},_0x4c8fd6=_0x55c059[_0x3b1eb9(0x242)]=_0x5be46e['extend']({'cfg':_0x5be46e['cfg'][_0x3b1eb9(0x1a9)]({'kdf':_0x559fb8}),'encrypt':function(_0x114859,_0x3b42b9,_0x46abb8,_0x26ed4f){var _0x1e9b45=_0x3b1eb9;_0x26ed4f=this[_0x1e9b45(0x458)][_0x1e9b45(0x1a9)](_0x26ed4f);var _0x53a1a8=_0x26ed4f[_0x1e9b45(0x4a8)][_0x1e9b45(0x4f3)](_0x46abb8,_0x114859[_0x1e9b45(0x287)],_0x114859[_0x1e9b45(0x2aa)],_0x26ed4f['salt'],_0x26ed4f[_0x1e9b45(0x1c5)]);_0x26ed4f['iv']=_0x53a1a8['iv'];var _0x141a4d=_0x5be46e[_0x1e9b45(0x263)][_0x1e9b45(0x433)](this,_0x114859,_0x3b42b9,_0x53a1a8[_0x1e9b45(0x40c)],_0x26ed4f);return _0x141a4d[_0x1e9b45(0x369)](_0x53a1a8),_0x141a4d;},'decrypt':function(_0x5a69f4,_0x2c0a80,_0x39f1c0,_0x17e49d){var _0x29c87a=_0x3b1eb9;_0x17e49d=this['cfg'][_0x29c87a(0x1a9)](_0x17e49d),_0x2c0a80=this[_0x29c87a(0x23b)](_0x2c0a80,_0x17e49d[_0x29c87a(0x2e5)]);var _0x50def2=_0x17e49d[_0x29c87a(0x4a8)]['execute'](_0x39f1c0,_0x5a69f4['keySize'],_0x5a69f4[_0x29c87a(0x2aa)],_0x2c0a80[_0x29c87a(0x405)],_0x17e49d[_0x29c87a(0x1c5)]);_0x17e49d['iv']=_0x50def2['iv'];var _0x285b04=_0x5be46e[_0x29c87a(0x356)]['call'](this,_0x5a69f4,_0x2c0a80,_0x50def2['key'],_0x17e49d);return _0x285b04;}});}();}));}(_0x2fca7d)),_0x2fca7d['exports'];}var _0x15b6e7=_0x2552a4[_0x504a5f(0x4aa)],_0x582d72;function _0x2d85ee(){var _0x55107d=_0x504a5f;return _0x582d72||(_0x582d72=0x1,function(_0x3e03a8,_0x33f129){(function(_0x46aaf6,_0xabeb33,_0x19098f){var _0x387cf6=_0x4de2;_0x3e03a8[_0x387cf6(0x4aa)]=_0xabeb33(_0x50dd24(),_0x24c2c5(),_0x430568(),_0x4ac964(),_0x5050d2());}(_0x15b6e7,function(_0x37c1ee){return(function(){var _0x2e0211=_0x4de2,_0x4a73c2=_0x37c1ee,_0x25f693=_0x4a73c2[_0x2e0211(0x505)],_0x1bc2ec=_0x25f693[_0x2e0211(0x431)],_0x582698=_0x4a73c2[_0x2e0211(0x357)],_0x13c230=[],_0x126e1f=[],_0x41ac5e=[],_0x2ab240=[],_0x55af04=[],_0x1aba95=[],_0x1ac65d=[],_0x531d52=[],_0x16a98a=[],_0x106b9a=[];(function(){for(var _0x5ee032=[],_0x2cf9df=0x0;_0x2cf9df<0x100;_0x2cf9df++)_0x2cf9df<0x80?_0x5ee032[_0x2cf9df]=_0x2cf9df<<0x1:_0x5ee032[_0x2cf9df]=_0x2cf9df<<0x1^0x11b;for(var _0x3e0612=0x0,_0x1139f6=0x0,_0x2cf9df=0x0;_0x2cf9df<0x100;_0x2cf9df++){var _0x5133d2=_0x1139f6^_0x1139f6<<0x1^_0x1139f6<<0x2^_0x1139f6<<0x3^_0x1139f6<<0x4;_0x5133d2=_0x5133d2>>>0x8^_0x5133d2&0xff^0x63,_0x13c230[_0x3e0612]=_0x5133d2,_0x126e1f[_0x5133d2]=_0x3e0612;var _0xef3dcd=_0x5ee032[_0x3e0612],_0xa5257a=_0x5ee032[_0xef3dcd],_0x32a2ae=_0x5ee032[_0xa5257a],_0x2e24be=_0x5ee032[_0x5133d2]*0x101^_0x5133d2*0x1010100;_0x41ac5e[_0x3e0612]=_0x2e24be<<0x18|_0x2e24be>>>0x8,_0x2ab240[_0x3e0612]=_0x2e24be<<0x10|_0x2e24be>>>0x10,_0x55af04[_0x3e0612]=_0x2e24be<<0x8|_0x2e24be>>>0x18,_0x1aba95[_0x3e0612]=_0x2e24be;var _0x2e24be=_0x32a2ae*0x1010101^_0xa5257a*0x10001^_0xef3dcd*0x101^_0x3e0612*0x1010100;_0x1ac65d[_0x5133d2]=_0x2e24be<<0x18|_0x2e24be>>>0x8,_0x531d52[_0x5133d2]=_0x2e24be<<0x10|_0x2e24be>>>0x10,_0x16a98a[_0x5133d2]=_0x2e24be<<0x8|_0x2e24be>>>0x18,_0x106b9a[_0x5133d2]=_0x2e24be,_0x3e0612?(_0x3e0612=_0xef3dcd^_0x5ee032[_0x5ee032[_0x5ee032[_0x32a2ae^_0xef3dcd]]],_0x1139f6^=_0x5ee032[_0x5ee032[_0x1139f6]]):_0x3e0612=_0x1139f6=0x1;}}());var _0x107b28=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x289acf=_0x582698[_0x2e0211(0x445)]=_0x1bc2ec[_0x2e0211(0x1a9)]({'_doReset':function(){var _0x1dc026=_0x2e0211,_0x54884d;if(!(this[_0x1dc026(0x1cc)]&&this['_keyPriorReset']===this['_key'])){for(var _0x29825a=this['_keyPriorReset']=this[_0x1dc026(0x2bc)],_0x107221=_0x29825a['words'],_0xc2413a=_0x29825a[_0x1dc026(0x4a4)]/0x4,_0x318d92=this[_0x1dc026(0x1cc)]=_0xc2413a+0x6,_0x3ad8fc=(_0x318d92+0x1)*0x4,_0x344e36=this['_keySchedule']=[],_0xb98349=0x0;_0xb98349<_0x3ad8fc;_0xb98349++)_0xb98349<_0xc2413a?_0x344e36[_0xb98349]=_0x107221[_0xb98349]:(_0x54884d=_0x344e36[_0xb98349-0x1],_0xb98349%_0xc2413a?_0xc2413a>0x6&&_0xb98349%_0xc2413a==0x4&&(_0x54884d=_0x13c230[_0x54884d>>>0x18]<<0x18|_0x13c230[_0x54884d>>>0x10&0xff]<<0x10|_0x13c230[_0x54884d>>>0x8&0xff]<<0x8|_0x13c230[_0x54884d&0xff]):(_0x54884d=_0x54884d<<0x8|_0x54884d>>>0x18,_0x54884d=_0x13c230[_0x54884d>>>0x18]<<0x18|_0x13c230[_0x54884d>>>0x10&0xff]<<0x10|_0x13c230[_0x54884d>>>0x8&0xff]<<0x8|_0x13c230[_0x54884d&0xff],_0x54884d^=_0x107b28[_0xb98349/_0xc2413a|0x0]<<0x18),_0x344e36[_0xb98349]=_0x344e36[_0xb98349-_0xc2413a]^_0x54884d);for(var _0x155429=this['_invKeySchedule']=[],_0x39c739=0x0;_0x39c739<_0x3ad8fc;_0x39c739++){var _0xb98349=_0x3ad8fc-_0x39c739;if(_0x39c739%0x4)var _0x54884d=_0x344e36[_0xb98349];else var _0x54884d=_0x344e36[_0xb98349-0x4];_0x39c739<0x4||_0xb98349<=0x4?_0x155429[_0x39c739]=_0x54884d:_0x155429[_0x39c739]=_0x1ac65d[_0x13c230[_0x54884d>>>0x18]]^_0x531d52[_0x13c230[_0x54884d>>>0x10&0xff]]^_0x16a98a[_0x13c230[_0x54884d>>>0x8&0xff]]^_0x106b9a[_0x13c230[_0x54884d&0xff]];}}},'encryptBlock':function(_0x465f39,_0x4520bc){var _0x2ce3a5=_0x2e0211;this['_doCryptBlock'](_0x465f39,_0x4520bc,this[_0x2ce3a5(0x478)],_0x41ac5e,_0x2ab240,_0x55af04,_0x1aba95,_0x13c230);},'decryptBlock':function(_0x47fd30,_0x3206f1){var _0x19bd10=_0x2e0211,_0x2c09f1=_0x47fd30[_0x3206f1+0x1];_0x47fd30[_0x3206f1+0x1]=_0x47fd30[_0x3206f1+0x3],_0x47fd30[_0x3206f1+0x3]=_0x2c09f1,this[_0x19bd10(0x3ba)](_0x47fd30,_0x3206f1,this[_0x19bd10(0x210)],_0x1ac65d,_0x531d52,_0x16a98a,_0x106b9a,_0x126e1f);var _0x2c09f1=_0x47fd30[_0x3206f1+0x1];_0x47fd30[_0x3206f1+0x1]=_0x47fd30[_0x3206f1+0x3],_0x47fd30[_0x3206f1+0x3]=_0x2c09f1;},'_doCryptBlock':function(_0x57b028,_0x98d1bf,_0x482397,_0x59947d,_0x12f150,_0x5f1999,_0x4316c2,_0x1e9bce){var _0x2bef66=_0x2e0211;for(var _0x3e14c4=this[_0x2bef66(0x1cc)],_0x370966=_0x57b028[_0x98d1bf]^_0x482397[0x0],_0x4d609e=_0x57b028[_0x98d1bf+0x1]^_0x482397[0x1],_0x3adf85=_0x57b028[_0x98d1bf+0x2]^_0x482397[0x2],_0x2009ac=_0x57b028[_0x98d1bf+0x3]^_0x482397[0x3],_0x5b0ccc=0x4,_0x37dec6=0x1;_0x37dec6<_0x3e14c4;_0x37dec6++){var _0x1f327d=_0x59947d[_0x370966>>>0x18]^_0x12f150[_0x4d609e>>>0x10&0xff]^_0x5f1999[_0x3adf85>>>0x8&0xff]^_0x4316c2[_0x2009ac&0xff]^_0x482397[_0x5b0ccc++],_0x2bcff6=_0x59947d[_0x4d609e>>>0x18]^_0x12f150[_0x3adf85>>>0x10&0xff]^_0x5f1999[_0x2009ac>>>0x8&0xff]^_0x4316c2[_0x370966&0xff]^_0x482397[_0x5b0ccc++],_0x286f41=_0x59947d[_0x3adf85>>>0x18]^_0x12f150[_0x2009ac>>>0x10&0xff]^_0x5f1999[_0x370966>>>0x8&0xff]^_0x4316c2[_0x4d609e&0xff]^_0x482397[_0x5b0ccc++],_0x52b890=_0x59947d[_0x2009ac>>>0x18]^_0x12f150[_0x370966>>>0x10&0xff]^_0x5f1999[_0x4d609e>>>0x8&0xff]^_0x4316c2[_0x3adf85&0xff]^_0x482397[_0x5b0ccc++];_0x370966=_0x1f327d,_0x4d609e=_0x2bcff6,_0x3adf85=_0x286f41,_0x2009ac=_0x52b890;}var _0x1f327d=(_0x1e9bce[_0x370966>>>0x18]<<0x18|_0x1e9bce[_0x4d609e>>>0x10&0xff]<<0x10|_0x1e9bce[_0x3adf85>>>0x8&0xff]<<0x8|_0x1e9bce[_0x2009ac&0xff])^_0x482397[_0x5b0ccc++],_0x2bcff6=(_0x1e9bce[_0x4d609e>>>0x18]<<0x18|_0x1e9bce[_0x3adf85>>>0x10&0xff]<<0x10|_0x1e9bce[_0x2009ac>>>0x8&0xff]<<0x8|_0x1e9bce[_0x370966&0xff])^_0x482397[_0x5b0ccc++],_0x286f41=(_0x1e9bce[_0x3adf85>>>0x18]<<0x18|_0x1e9bce[_0x2009ac>>>0x10&0xff]<<0x10|_0x1e9bce[_0x370966>>>0x8&0xff]<<0x8|_0x1e9bce[_0x4d609e&0xff])^_0x482397[_0x5b0ccc++],_0x52b890=(_0x1e9bce[_0x2009ac>>>0x18]<<0x18|_0x1e9bce[_0x370966>>>0x10&0xff]<<0x10|_0x1e9bce[_0x4d609e>>>0x8&0xff]<<0x8|_0x1e9bce[_0x3adf85&0xff])^_0x482397[_0x5b0ccc++];_0x57b028[_0x98d1bf]=_0x1f327d,_0x57b028[_0x98d1bf+0x1]=_0x2bcff6,_0x57b028[_0x98d1bf+0x2]=_0x286f41,_0x57b028[_0x98d1bf+0x3]=_0x52b890;},'keySize':0x100/0x20});_0x4a73c2[_0x2e0211(0x445)]=_0x1bc2ec[_0x2e0211(0x222)](_0x289acf);}()),_0x37c1ee['AES'];}));}(_0x2552a4)),_0x2552a4[_0x55107d(0x4aa)];}var _0x221c25=_0x2d85ee();const _0x494a6d=_0x3b01c1(_0x221c25);var _0x1c9e8d=_0x24c2c5();const _0x514e0f=_0x3b01c1(_0x1c9e8d);var _0x264cf1={'exports':{}},_0x52fcda=_0x264cf1[_0x504a5f(0x4aa)],_0x4df485;function _0x90bb51(){var _0x5872f3=_0x504a5f;return _0x4df485||(_0x4df485=0x1,function(_0x17168f,_0x3d0dbb){(function(_0x163816,_0x16c829){_0x17168f['exports']=_0x16c829(_0x50dd24());}(_0x52fcda,function(_0x243d9e){var _0x43afe3=_0x4de2;return _0x243d9e[_0x43afe3(0x3e1)]['Utf8'];}));}(_0x264cf1)),_0x264cf1[_0x5872f3(0x4aa)];}var _0x188ba8=_0x90bb51();const _0x5cd563=_0x3b01c1(_0x188ba8);var _0x74d053={'exports':{}},_0x44bb0c=_0x74d053[_0x504a5f(0x4aa)],_0x193438;function _0x52d426(){var _0x174b5f=_0x504a5f;return _0x193438||(_0x193438=0x1,function(_0x82ddc7,_0x389af0){(function(_0x54681f,_0x126881){var _0x1297d8=_0x4de2;_0x82ddc7[_0x1297d8(0x4aa)]=_0x126881(_0x50dd24());}(_0x44bb0c,function(_0x3798a1){var _0x4f9edd=_0x4de2;return(function(){var _0x2e239a=_0x4de2;if(typeof ArrayBuffer==_0x2e239a(0x1b2)){var _0x28b477=_0x3798a1,_0x55ea2b=_0x28b477[_0x2e239a(0x505)],_0x2bbcce=_0x55ea2b[_0x2e239a(0x519)],_0x18a41f=_0x2bbcce[_0x2e239a(0x29b)],_0x554bd7=_0x2bbcce[_0x2e239a(0x29b)]=function(_0x190c22){var _0x899455=_0x2e239a;if(_0x190c22 instanceof ArrayBuffer&&(_0x190c22=new Uint8Array(_0x190c22)),(_0x190c22 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x190c22 instanceof Uint8ClampedArray||_0x190c22 instanceof Int16Array||_0x190c22 instanceof Uint16Array||_0x190c22 instanceof Int32Array||_0x190c22 instanceof Uint32Array||_0x190c22 instanceof Float32Array||_0x190c22 instanceof Float64Array)&&(_0x190c22=new Uint8Array(_0x190c22[_0x899455(0x237)],_0x190c22[_0x899455(0x49e)],_0x190c22[_0x899455(0x389)])),_0x190c22 instanceof Uint8Array){for(var _0x5f0dd0=_0x190c22['byteLength'],_0x5c223e=[],_0x23fee8=0x0;_0x23fee8<_0x5f0dd0;_0x23fee8++)_0x5c223e[_0x23fee8>>>0x2]|=_0x190c22[_0x23fee8]<<0x18-_0x23fee8%0x4*0x8;_0x18a41f['call'](this,_0x5c223e,_0x5f0dd0);}else _0x18a41f['apply'](this,arguments);};_0x554bd7[_0x2e239a(0x355)]=_0x2bbcce;}}()),_0x3798a1[_0x4f9edd(0x505)][_0x4f9edd(0x519)];}));}(_0x74d053)),_0x74d053[_0x174b5f(0x4aa)];}var _0x5e591b=_0x52d426();const _0x3a300b=_0x3b01c1(_0x5e591b);var _0x410b58={'exports':{}},_0x171431=_0x410b58[_0x504a5f(0x4aa)],_0x40e46d;function _0x5b2308(){var _0x5ba205=_0x504a5f;return _0x40e46d||(_0x40e46d=0x1,function(_0x1c3c4b,_0x448812){(function(_0x8c5cb7,_0x14026c,_0x2e91dd){var _0x343985=_0x4de2;_0x1c3c4b[_0x343985(0x4aa)]=_0x14026c(_0x50dd24(),_0x5050d2());}(_0x171431,function(_0x52b6e5){var _0x4893e3=_0x4de2;return _0x52b6e5['pad'][_0x4893e3(0x30e)]={'pad':function(){},'unpad':function(){}},_0x52b6e5['pad'][_0x4893e3(0x30e)];}));}(_0x410b58)),_0x410b58[_0x5ba205(0x4aa)];}var _0x236924=_0x5b2308();const _0x146b65=_0x3b01c1(_0x236924);function _0x3a6ce5(_0x4a14b8,_0x1e9a2e){var _0x396953=_0x504a5f;const _0x3762aa=_0x1e9a2e-_0x4a14b8[_0x396953(0x3dd)]%_0x1e9a2e,_0x2e3c9b=String[_0x396953(0x2e4)](_0x3762aa)[_0x396953(0x438)](_0x3762aa);return _0x4a14b8+_0x2e3c9b;}function _0x248511(_0x40681c,_0x35a7ab){var _0x569c38=_0x504a5f;const _0x398cdc=_0x3a300b[_0x569c38(0x442)](0x10),_0x7878d3=_0x3a6ce5(_0x40681c,0x10),_0x2d8616=_0x494a6d[_0x569c38(0x263)](_0x5cd563[_0x569c38(0x21f)](_0x7878d3),_0x514e0f[_0x569c38(0x21f)](_0x35a7ab),{'iv':_0x398cdc,'padding':_0x146b65});return _0x398cdc[_0x569c38(0x421)](_0x2d8616[_0x569c38(0x482)])['toString'](_0x514e0f);}function _0x3a55c5(){var _0x1d8efb=_0x504a5f;const _0x3c0545=_0x5ca9dc[_0x1d8efb(0x49b)]()[_0x1d8efb(0x44f)];if(_0x3c0545){const _0x2f43e2={'time':Math[_0x1d8efb(0x469)](Date['now']()/0x3e8),'domain':location[_0x1d8efb(0x1bc)]};return _0x248511(JSON['stringify'](_0x2f43e2),_0x3c0545);}}var _0xb1b205=Object[_0x504a5f(0x315)],_0x17032f=(_0x18cc4e,_0x8deb36,_0x5b3b2d,_0x2d54b0)=>{var _0x3b1505=_0x504a5f;for(var _0x40b68c=_0x2d54b0>0x1?void 0x0:_0x2d54b0?_0xb1b205(_0x8deb36,_0x5b3b2d):_0x8deb36,_0x11ebe2=_0x18cc4e[_0x3b1505(0x3dd)]-0x1,_0x4cb397;_0x11ebe2>=0x0;_0x11ebe2--)(_0x4cb397=_0x18cc4e[_0x11ebe2])&&(_0x40b68c=_0x4cb397(_0x40b68c)||_0x40b68c);return _0x40b68c;},_0x24d2aa=(_0x4066a2,_0x539a93)=>(_0x2168c2,_0xcd6dd5)=>_0x539a93(_0x2168c2,_0xcd6dd5,_0x4066a2);let _0xacb32e=class{constructor(_0x23b799){this['_httpService']=_0x23b799,this['_initRequestHeader']();}[_0x504a5f(0x2cc)](){var _0xb6c90=_0x504a5f;this['_httpService'][_0xb6c90(0x325)]({'interceptor':(_0x5007a8,_0x12077f)=>{var _0x1ddbac=_0xb6c90;const _0x477480=_0x5007a8[_0x1ddbac(0x276)],_0x306310=_0x3a55c5();return _0x306310&&_0x477480[_0x1ddbac(0x525)](_0x1ddbac(0x3fb),_0x306310),_0x12077f(_0x5007a8);}});}};_0xacb32e=_0x17032f([_0x24d2aa(0x0,_0x3dce8d['Inject'](_0x548713['HTTPService']))],_0xacb32e);var _0x1f4d10=Object[_0x504a5f(0x315)],_0x362ff6=(_0x13c4cf,_0x34696d,_0x3a463a,_0x15034e)=>{var _0x148c97=_0x504a5f;for(var _0x461401=_0x15034e>0x1?void 0x0:_0x15034e?_0x1f4d10(_0x34696d,_0x3a463a):_0x34696d,_0x127482=_0x13c4cf[_0x148c97(0x3dd)]-0x1,_0x5f0919;_0x127482>=0x0;_0x127482--)(_0x5f0919=_0x13c4cf[_0x127482])&&(_0x461401=_0x5f0919(_0x461401)||_0x461401);return _0x461401;},_0x590ba0=(_0x55807e,_0x2d1414)=>(_0x1eeb17,_0x5a32b0)=>_0x2d1414(_0x1eeb17,_0x5a32b0,_0x55807e);_0x53fa2a[_0x504a5f(0x1d8)]=class extends _0x3dce8d[_0x504a5f(0x1c7)]{constructor(_0x16a3cf,_0x98dd89,_0x1e5a2c){var _0x387128=_0x504a5f;super(),_0x2d5efa(this,'_unitInfo$',new _0x5affe0[(_0x387128(0x218))](null)),_0x2d5efa(this,'unitInfo$',this[_0x387128(0x38c)][_0x387128(0x2b3)]()),(this[_0x387128(0x4ef)]=_0x16a3cf,this[_0x387128(0x4f4)]=_0x98dd89,this[_0x387128(0x2df)]=_0x1e5a2c);}async[_0x504a5f(0x284)](_0x3cd604,_0x59e926,_0xfc1d0e){var _0x45dae2=_0x504a5f;this[_0x45dae2(0x38c)]['next']({'unitId':_0x3cd604,'type':_0x59e926,'subUnitId':_0xfc1d0e});let _0x58d867=null;switch(_0x59e926){case _0x4dd826[_0x45dae2(0x3e2)]:{_0x58d867=await this['_loadSheet'](_0x3cd604);break;}case _0x4dd826['UNIVER_DOC']:{_0x58d867=await this[_0x45dae2(0x29a)](_0x3cd604);break;}default:{this[_0x45dae2(0x4ef)]['error'](_0x45dae2(0x2fe),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x58d867;}async['_loadSheet'](_0x5a4b25){var _0x40c303=_0x504a5f,_0x3ed7f8;let _0x3e43e9=0x0;const _0xf64b3d=await((_0x3ed7f8=this['_localCacheService'])==null?void 0x0:_0x3ed7f8[_0x40c303(0x2af)](_0x5a4b25));return _0xf64b3d&&(_0xf64b3d[_0x40c303(0x47c)]||_0xf64b3d[_0x40c303(0x3f3)][_0x40c303(0x3dd)]!==0x0)&&(_0x3e43e9=_0xf64b3d[_0x40c303(0x26a)]),_0x3e43e9===0x0&&this['_logService'][_0x40c303(0x415)](_0x40c303(0x2fe),_0x40c303(0x3a6)),this[_0x40c303(0x4f4)]['loadSheet'](_0x5a4b25,_0x3e43e9);}async['_loadDoc'](_0x55e48f){var _0x4b00f4=_0x504a5f,_0x8df87f;let _0x12884d=0x0;const _0x206825=await((_0x8df87f=this['_localCacheService'])==null?void 0x0:_0x8df87f[_0x4b00f4(0x2af)](_0x55e48f));return _0x206825&&(_0x206825['awaitingChangeset']||_0x206825['mutations'][_0x4b00f4(0x3dd)]!==0x0)&&(_0x12884d=_0x206825['rev']),_0x12884d===0x0&&this[_0x4b00f4(0x4ef)][_0x4b00f4(0x415)](_0x4b00f4(0x2fe),_0x4b00f4(0x3a6)),this['_snapshotService'][_0x4b00f4(0x1aa)](_0x55e48f,_0x12884d);}},_0x53fa2a[_0x504a5f(0x1d8)]=_0x362ff6([_0x590ba0(0x0,_0x3dce8d['ILogService']),_0x590ba0(0x1,_0x3dce8d[_0x504a5f(0x35a)](_0x467e2c['SnapshotService'])),_0x590ba0(0x2,_0x3dce8d['Optional'](_0x52309e))],_0x53fa2a[_0x504a5f(0x1d8)]);var _0x4f4de4=Object[_0x504a5f(0x315)],_0x6bd5cf=(_0x1bb45f,_0x5478fd,_0x414c48,_0x3e2ee6)=>{var _0x49e7fb=_0x504a5f;for(var _0x5224d9=_0x3e2ee6>0x1?void 0x0:_0x3e2ee6?_0x4f4de4(_0x5478fd,_0x414c48):_0x5478fd,_0x3cd1e2=_0x1bb45f[_0x49e7fb(0x3dd)]-0x1,_0x293b0d;_0x3cd1e2>=0x0;_0x3cd1e2--)(_0x293b0d=_0x1bb45f[_0x3cd1e2])&&(_0x5224d9=_0x293b0d(_0x5224d9)||_0x5224d9);return _0x5224d9;},_0x5dbf72=(_0x4a812d,_0xed9a66)=>(_0x250e1d,_0x41f95a)=>_0xed9a66(_0x250e1d,_0x41f95a,_0x4a812d);const _0x146a81=['image/png','image/jpeg',_0x504a5f(0x302),_0x504a5f(0x489),_0x504a5f(0x3fe)],_0x22c2d6=0x5*0x400*0x400,_0x7e14cf=_0x504a5f(0x3c1),_0x575d87=_0x504a5f(0x33f),_0x44adc7=_0x504a5f(0x52c),_0x544b96=_0x504a5f(0x3fa);_0x53fa2a[_0x504a5f(0x513)]=class{constructor(_0x3cc9cd,_0x34f420,_0x53fdb6){var _0x542bfb=_0x504a5f;_0x2d5efa(this,_0x542bfb(0x266),0x0),_0x2d5efa(this,'_change$',new _0x5affe0[(_0x542bfb(0x476))]()),_0x2d5efa(this,_0x542bfb(0x41d),this['_change$']),_0x2d5efa(this,_0x542bfb(0x422),new Map()),(this[_0x542bfb(0x304)]=_0x3cc9cd,this[_0x542bfb(0x4e8)]=_0x34f420,this['_univerInstanceService']=_0x53fdb6);}['setWaitCount'](_0x2b5a84){var _0x495768=_0x504a5f;this[_0x495768(0x266)]=_0x2b5a84,this[_0x495768(0x205)][_0x495768(0x331)](_0x2b5a84);}[_0x504a5f(0x388)](_0x26d5c6,_0x3524a3){var _0xcafcf4=_0x504a5f;if(_0x3524a3===_0x2cbdb1['ImageSourceType'][_0xcafcf4(0x35c)]){const _0x13f4d1=new Image();return _0x13f4d1[_0xcafcf4(0x3ab)]=_0x26d5c6,_0x13f4d1;}return this[_0xcafcf4(0x422)][_0xcafcf4(0x460)](_0x26d5c6);}[_0x504a5f(0x236)](_0x2e3eb8,_0x18b3ec,_0x52bc7e){var _0x26a1ac=_0x504a5f;_0x18b3ec===_0x2cbdb1[_0x26a1ac(0x41a)]['BASE64']||_0x52bc7e==null||this[_0x26a1ac(0x422)][_0x26a1ac(0x525)](_0x2e3eb8,_0x52bc7e);}async[_0x504a5f(0x3e7)](_0x4086e2){var _0x1c6677=_0x504a5f;try{const _0x28b6d4=this[_0x1c6677(0x282)](this['_getSignURL'](),''+_0x4086e2),_0x51477e=(await this['_httpService'][_0x1c6677(0x460)](_0x28b6d4))['body'];if(_0x51477e[_0x1c6677(0x4b4)]&&_0x51477e[_0x1c6677(0x4b4)]['code']===_0x1546a3['OK']){const _0x4b2835=new URL(_0x51477e[_0x1c6677(0x226)],this[_0x1c6677(0x318)]())[_0x1c6677(0x461)]();return Promise[_0x1c6677(0x4a0)](_0x4b2835);}return Promise[_0x1c6677(0x2e2)](_0x51477e[_0x1c6677(0x4b4)]);}catch(_0xdccdd1){return Promise['reject'](_0xdccdd1);}}async[_0x504a5f(0x31a)](_0x21ff4c){var _0x27382f=_0x504a5f;let _0x133f48='';if(!_0x146a81['includes'](_0x21ff4c[_0x27382f(0x292)]))return this[_0x27382f(0x52a)](),Promise[_0x27382f(0x2e2)](new Error(_0x2cbdb1[_0x27382f(0x4cd)][_0x27382f(0x25c)]));if(_0x21ff4c[_0x27382f(0x1ef)]>_0x22c2d6)return this[_0x27382f(0x52a)](),Promise[_0x27382f(0x2e2)](new Error(_0x2cbdb1[_0x27382f(0x4cd)]['ERROR_EXCEED_SIZE']));try{const _0x3eebbf=new FormData();_0x3eebbf[_0x27382f(0x214)](_0x27382f(0x416),_0x21ff4c);const _0xaa328f=this[_0x27382f(0x3ed)]['getFocusedUnit'](),_0x1c3ec0=_0xaa328f==null?void 0x0:_0xaa328f['getUnitId']();if(!_0x1c3ec0)throw new Error(_0x27382f(0x51b));const _0x246e3d=this[_0x27382f(0x514)]()+_0x27382f(0x285)+_0x21ff4c[_0x27382f(0x1ef)]['toString']()+'&source='+_0x44d4c4['UnitEmbedded']+'&assign='+encodeURIComponent(_0x1c3ec0),_0xe71f0={'body':_0x3eebbf},_0x4650ce=(await this[_0x27382f(0x304)][_0x27382f(0x3b1)](_0x246e3d,_0xe71f0))['body'];if(typeof _0x4650ce[_0x27382f(0x4dd)]!=_0x27382f(0x3b6))return this['_decreaseWaiting'](),Promise[_0x27382f(0x2e2)](new Error(_0x2cbdb1[_0x27382f(0x4cd)][_0x27382f(0x1a8)]));_0x133f48=_0x4650ce['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x27382f(0x2e2)](new Error(_0x2cbdb1['ImageUploadStatusType'][_0x27382f(0x1a8)]));}return new Promise((_0x2f733c,_0x38638a)=>{var _0x2f484e=_0x27382f;const _0x51fa12=new FileReader();_0x51fa12[_0x2f484e(0x37e)](_0x21ff4c),_0x51fa12[_0x2f484e(0x319)]=_0x47132e=>{var _0x553486=_0x2f484e,_0x3f68b1;const _0x298f72=(_0x3f68b1=_0x47132e[_0x553486(0x348)])==null?void 0x0:_0x3f68b1[_0x553486(0x391)];if(_0x298f72==null){this[_0x553486(0x52a)](),_0x38638a(new Error(_0x2cbdb1[_0x553486(0x4cd)]['ERROR_IMAGE']));return;}const _0x3d76a1=_0x3dce8d['Tools'][_0x553486(0x3d9)](0x6);_0x2f733c({'imageId':_0x3d76a1,'imageSourceType':_0x2cbdb1['ImageSourceType'][_0x553486(0x3e9)],'source':_0x133f48,'base64Cache':_0x298f72,'status':_0x2cbdb1[_0x553486(0x4cd)][_0x553486(0x3ae)]}),this[_0x553486(0x52a)]();};});}[_0x504a5f(0x514)](){var _0x35fa2c=_0x504a5f,_0x26ba63,_0x18546a;const _0x4d1d9a=this[_0x35fa2c(0x4e8)][_0x35fa2c(0x3cb)](_0x7e14cf),_0xf80385=this[_0x35fa2c(0x4e8)][_0x35fa2c(0x3cb)](_0x25f3a7);return(_0x18546a=(_0x26ba63=_0xf80385==null?void 0x0:_0xf80385[_0x35fa2c(0x44a)])!=null?_0x26ba63:_0x4d1d9a)!=null?_0x18546a:_0x575d87;}[_0x504a5f(0x37a)](){var _0x5e5906=_0x504a5f,_0x273b36,_0x2461c6;const _0x3ce502=this[_0x5e5906(0x4e8)][_0x5e5906(0x3cb)](_0x44adc7),_0x54c88f=this[_0x5e5906(0x4e8)][_0x5e5906(0x3cb)](_0x25f3a7);return(_0x2461c6=(_0x273b36=_0x54c88f==null?void 0x0:_0x54c88f[_0x5e5906(0x4f9)])!=null?_0x273b36:_0x3ce502)!=null?_0x2461c6:_0x544b96;}['_getDownloadEndpointURL'](){var _0x49280c;const _0x3b7b94=this['_configService']['getConfig'](_0x25f3a7);return(_0x49280c=_0x3b7b94==null?void 0x0:_0x3b7b94['downloadEndpointUrl'])!=null?_0x49280c:location['origin'];}[_0x504a5f(0x282)](_0x47de40,_0x567559){var _0x3087f0=_0x504a5f;return _0x47de40['replace'](_0x3087f0(0x1cf),_0x567559);}['_decreaseWaiting'](){var _0x390e82=_0x504a5f;this[_0x390e82(0x266)]-=0x1,this[_0x390e82(0x205)][_0x390e82(0x331)](this[_0x390e82(0x266)]);}},_0x53fa2a['CollaborationImageIoService']=_0x6bd5cf([_0x5dbf72(0x0,_0x3dce8d[_0x504a5f(0x35a)](_0x548713[_0x504a5f(0x1e4)])),_0x5dbf72(0x1,_0x3dce8d[_0x504a5f(0x4ca)]),_0x5dbf72(0x2,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d['IUniverInstanceService']))],_0x53fa2a['CollaborationImageIoService']);var _0x3db696=Object['getOwnPropertyDescriptor'],_0x1c25c0=(_0x19bd75,_0x84e58,_0x2d6de9,_0x3f1db4)=>{var _0x3946fc=_0x504a5f;for(var _0x5eb39b=_0x3f1db4>0x1?void 0x0:_0x3f1db4?_0x3db696(_0x84e58,_0x2d6de9):_0x84e58,_0x3cad0b=_0x19bd75[_0x3946fc(0x3dd)]-0x1,_0x5736fb;_0x3cad0b>=0x0;_0x3cad0b--)(_0x5736fb=_0x19bd75[_0x3cad0b])&&(_0x5eb39b=_0x5736fb(_0x5eb39b)||_0x5eb39b);return _0x5eb39b;},_0x19026c=(_0x5978ff,_0x33d3df)=>(_0x1d0d0a,_0x2a6fa9)=>_0x33d3df(_0x1d0d0a,_0x2a6fa9,_0x5978ff);const _0x443d33=_0x504a5f(0x1fd);_0x53fa2a[_0x504a5f(0x36c)]=class{constructor(_0xe96db9,_0x587b01){var _0x5ed069=_0x504a5f;this[_0x5ed069(0x4e8)]=_0xe96db9,this[_0x5ed069(0x470)]=_0x587b01;}[_0x504a5f(0x371)](){var _0x52fc67=_0x504a5f,_0x57d7d3,_0x9890f8;const _0x2df66a=this[_0x52fc67(0x4e8)][_0x52fc67(0x3cb)](_0x30ac3e),_0x50edc0=this[_0x52fc67(0x4e8)][_0x52fc67(0x3cb)](_0x25f3a7);return(_0x9890f8=(_0x57d7d3=_0x50edc0==null?void 0x0:_0x50edc0[_0x52fc67(0x3b5)])!=null?_0x57d7d3:_0x2df66a)!=null?_0x9890f8:_0x443d33;}async[_0x504a5f(0x26b)](_0x52d986){var _0x59861c=_0x504a5f;const _0x3e0867=this[_0x59861c(0x371)]()+_0x59861c(0x35e);return{'list':[{'title':_0x59861c(0x37d),'mentions':(await this[_0x59861c(0x470)]['get'](_0x3e0867,{'params':{'objectID':_0x52d986[_0x59861c(0x3c3)],'unitID':_0x52d986[_0x59861c(0x3c3)]}}))[_0x59861c(0x43a)][_0x59861c(0x3ce)]['map'](_0x25f525=>({'objectId':_0x25f525['id'],'name':_0x25f525[_0x59861c(0x337)]['name'],'metadata':{'icon':_0x25f525[_0x59861c(0x337)][_0x59861c(0x44c)]},'label':_0x25f525[_0x59861c(0x337)][_0x59861c(0x466)],'objectType':_0x3dce8d['MentionType'][_0x59861c(0x1c2)]})),'metadata':{},'type':_0x3dce8d[_0x59861c(0x36a)][_0x59861c(0x1c2)]}]};}},_0x53fa2a[_0x504a5f(0x36c)]=_0x1c25c0([_0x19026c(0x0,_0x3dce8d['Inject'](_0x3dce8d[_0x504a5f(0x4ca)])),_0x19026c(0x1,_0x3dce8d[_0x504a5f(0x35a)](_0x548713[_0x504a5f(0x1e4)]))],_0x53fa2a[_0x504a5f(0x36c)]);var _0x3ea00f=Object[_0x504a5f(0x315)],_0x29882d=(_0x444c37,_0x566e59,_0x4a5885,_0x12745b)=>{var _0x19ff22=_0x504a5f;for(var _0x6c9a18=_0x12745b>0x1?void 0x0:_0x12745b?_0x3ea00f(_0x566e59,_0x4a5885):_0x566e59,_0xfe186=_0x444c37[_0x19ff22(0x3dd)]-0x1,_0x571130;_0xfe186>=0x0;_0xfe186--)(_0x571130=_0x444c37[_0xfe186])&&(_0x6c9a18=_0x571130(_0x6c9a18)||_0x6c9a18);return _0x6c9a18;},_0x49fcc1=(_0x4b8795,_0x14b4bc)=>(_0x3c8826,_0x276d2a)=>_0x14b4bc(_0x3c8826,_0x276d2a,_0x4b8795);let _0x42a500=class extends _0x3dce8d[_0x504a5f(0x1c7)]{constructor(_0x2be5f7,_0x15a551,_0x5f4549,_0x187b8d,_0x38c5ed){var _0x3bf0ec=_0x504a5f;super(),this[_0x3bf0ec(0x452)]=_0x2be5f7,this[_0x3bf0ec(0x3ed)]=_0x15a551,this['_permissionService']=_0x5f4549,this[_0x3bf0ec(0x2b9)]=_0x187b8d,this[_0x3bf0ec(0x4d2)]=_0x38c5ed,this['_initUnitPermissionChange'](),this[_0x3bf0ec(0x497)]();}['_initCloseConn'](){var _0x5cb3ae=_0x504a5f;const _0x2cebd9=async _0x6e4fea=>{var _0x27b117=_0x4de2;(await this[_0x27b117(0x2b9)]['requireSession'](_0x6e4fea))[_0x27b117(0x2a7)][_0x27b117(0x1c4)](_0x35d931[_0x27b117(0x2d0)](_0x2354f5=>_0x2354f5[_0x27b117(0x259)]===_0x467e2c[_0x27b117(0x503)][_0x27b117(0x40e)]),_0x35d931[_0x27b117(0x45c)](this['dispose$']))[_0x27b117(0x4fc)](_0x5d643d=>{var _0x2fb21b=_0x27b117;const _0x49cd4c=_0x5d643d,{reason:_0x370285}=_0x49cd4c[_0x2fb21b(0x298)];this['_collaborationUIEventService']['emitEvent']({'id':_0x5d81cf[_0x2fb21b(0x51e)],'data':_0x370285}),this[_0x2fb21b(0x42b)][_0x2fb21b(0x1e2)](new _0x56f059[(_0x2fb21b(0x48c))](_0x6e4fea)['id'],!0x1),this[_0x2fb21b(0x2b9)][_0x2fb21b(0x464)](_0x6e4fea);});};_0x5affe0[_0x5cb3ae(0x39b)](this[_0x5cb3ae(0x3ed)]['getTypeOfUnitAdded$'](_0x3dce8d[_0x5cb3ae(0x203)][_0x5cb3ae(0x3e2)]),this[_0x5cb3ae(0x3ed)][_0x5cb3ae(0x3d2)](_0x3dce8d['UniverInstanceType'][_0x5cb3ae(0x3b0)]))['pipe'](_0x35d931[_0x5cb3ae(0x528)](_0x55ad10=>_0x55ad10[_0x5cb3ae(0x273)]()),_0x35d931[_0x5cb3ae(0x2d0)](_0x1b4016=>!_0x3dce8d[_0x5cb3ae(0x3bb)](_0x1b4016)),_0x35d931[_0x5cb3ae(0x45c)](this[_0x5cb3ae(0x358)]))[_0x5cb3ae(0x4fc)](_0x552492=>{_0x2cebd9(_0x552492);});}['_initUnitPermissionChange'](){var _0x5e043d=_0x504a5f;const _0x2f2f66=async _0x5d7b45=>{var _0x3f4b7f=_0x4de2;const _0x55563b=await this[_0x3f4b7f(0x2b9)][_0x3f4b7f(0x2a6)](_0x5d7b45),_0x34d334=this['_injector'][_0x3f4b7f(0x460)](_0x56f059[_0x3f4b7f(0x375)]);_0x55563b['event$']['pipe'](_0x35d931[_0x3f4b7f(0x2d0)](_0x1848e2=>_0x1848e2[_0x3f4b7f(0x259)]===_0x467e2c[_0x3f4b7f(0x503)][_0x3f4b7f(0x4ea)]),_0x35d931[_0x3f4b7f(0x45c)](this[_0x3f4b7f(0x358)]))[_0x3f4b7f(0x4fc)](_0x1de262=>{var _0x2db290=_0x3f4b7f;const _0x2fd774=_0x1de262,{objectId:_0x1635dd}=_0x2fd774[_0x2db290(0x298)];_0x1635dd===_0x5d7b45?_0x34d334[_0x2db290(0x281)](_0x5d7b45):_0x34d334['refreshPermission'](_0x5d7b45,_0x1635dd);});};_0x5affe0[_0x5e043d(0x39b)](this[_0x5e043d(0x3ed)][_0x5e043d(0x3d2)](_0x3dce8d[_0x5e043d(0x203)]['UNIVER_SHEET']))['pipe'](_0x35d931[_0x5e043d(0x528)](_0x7bb470=>_0x7bb470[_0x5e043d(0x273)]()),_0x35d931[_0x5e043d(0x2d0)](_0x162c85=>!_0x3dce8d[_0x5e043d(0x3bb)](_0x162c85)),_0x35d931[_0x5e043d(0x45c)](this[_0x5e043d(0x358)]))[_0x5e043d(0x4fc)](_0x97fa35=>{_0x2f2f66(_0x97fa35);});}};_0x42a500=_0x29882d([_0x49fcc1(0x0,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x1c0)])),_0x49fcc1(0x1,_0x3dce8d['IUniverInstanceService']),_0x49fcc1(0x2,_0x3dce8d['IPermissionService']),_0x49fcc1(0x3,_0x3dce8d[_0x504a5f(0x35a)](_0x53fa2a[_0x504a5f(0x291)])),_0x49fcc1(0x4,_0x3dce8d[_0x504a5f(0x35a)](_0x1fdf46))],_0x42a500);var _0x35b119=Object[_0x504a5f(0x315)],_0x1a0ffb=(_0x48e7b2,_0x25d36a,_0x59407d,_0x354971)=>{for(var _0xcee14b=_0x354971>0x1?void 0x0:_0x354971?_0x35b119(_0x25d36a,_0x59407d):_0x25d36a,_0x20217f=_0x48e7b2['length']-0x1,_0x52ad5a;_0x20217f>=0x0;_0x20217f--)(_0x52ad5a=_0x48e7b2[_0x20217f])&&(_0xcee14b=_0x52ad5a(_0xcee14b)||_0xcee14b);return _0xcee14b;},_0x36c4c4=(_0x35e69c,_0x3f4a95)=>(_0x5a54ca,_0x1d8702)=>_0x3f4a95(_0x5a54ca,_0x1d8702,_0x35e69c);_0x53fa2a[_0x504a5f(0x247)]=class{constructor(_0x58364f,_0x4f73c5){var _0x4073fe=_0x504a5f;this['_configService']=_0x58364f,this[_0x4073fe(0x304)]=_0x4f73c5;}async[_0x504a5f(0x4f1)](_0x20aa3d,_0x55065b){var _0xab7e59=_0x504a5f,_0x4674ee;const {unitID:_0x1680e2,type:_0x15824c,revision:_0x20b183=0x0}=_0x55065b,_0x38b36f=this['getSnapshotAPIPath']()+'/'+_0x15824c+_0xab7e59(0x33a)+_0x1680e2+_0xab7e59(0x4c0)+_0x20b183,_0x1d052e=(await this[_0xab7e59(0x304)][_0xab7e59(0x460)](_0x38b36f))[_0xab7e59(0x43a)],_0xbc515b=(_0x4674ee=_0x1d052e['snapshot'])==null?void 0x0:_0x4674ee[_0xab7e59(0x3f8)];if(_0xbc515b){const _0x5662b3=_0xbc515b==null?void 0x0:_0xbc515b['originalMeta'],_0x2ff225=_0x467e2c[_0xab7e59(0x354)][_0xab7e59(0x440)](_0x467e2c['b64DecodeUnicode'](_0x5662b3));_0xbc515b[_0xab7e59(0x487)]=_0x2ff225,Object[_0xab7e59(0x269)](_0xbc515b[_0xab7e59(0x1ad)])[_0xab7e59(0x4b8)](([,_0x43d403])=>{var _0x424fdf=_0xab7e59;const _0x2b4d94=_0x43d403[_0x424fdf(0x487)],_0x51a7ae=_0x467e2c['textEncoder']['encode'](_0x467e2c[_0x424fdf(0x40a)](_0x2b4d94));_0x43d403['originalMeta']=_0x51a7ae;});}return _0x1d052e;}async[_0x504a5f(0x35b)](_0x566de4,_0x4b269b){var _0x59723d=_0x504a5f;const {unitID:_0x25c66c,type:_0x512b15,blockID:_0x301368}=_0x4b269b,_0x4921cf=this[_0x59723d(0x233)]()+'/'+_0x512b15+_0x59723d(0x33a)+_0x25c66c+_0x59723d(0x22c)+_0x301368;return(await this[_0x59723d(0x304)]['get'](_0x4921cf))[_0x59723d(0x43a)];}async['getDeserializedSheetBlock'](_0x236694,_0xe224c9){var _0x4417b9=_0x504a5f;const {unitID:_0x284b50,type:_0x538860,blockID:_0x4bbd7e}=_0xe224c9,_0x3f522b=this[_0x4417b9(0x233)]()+_0x4417b9(0x22c)+_0x538860+'/unit/'+_0x284b50+'/block/'+_0x4bbd7e;return(await this[_0x4417b9(0x304)][_0x4417b9(0x460)](_0x3f522b))[_0x4417b9(0x43a)];}async[_0x504a5f(0x2d8)](_0x41e48e,_0x540857){var _0x435746=_0x504a5f;const {unitID:_0x1b6160,type:_0x4829aa,from:_0x5509a1,to:_0x1e0f38}=_0x540857,_0x466098=this['_getAPIPrefix']()+'/'+_0x4829aa+_0x435746(0x33a)+_0x1b6160+_0x435746(0x444)+_0x5509a1+_0x435746(0x2fa)+_0x1e0f38;return(await this['_httpService'][_0x435746(0x460)](_0x466098))[_0x435746(0x43a)];}[_0x504a5f(0x396)](){var _0x59b7da=_0x504a5f,_0x145861;return(_0x145861=this[_0x59b7da(0x4e8)]['getConfig'](_0x27bf93))!=null?_0x145861:this[_0x59b7da(0x233)]();}[_0x504a5f(0x233)](){var _0x57606f=_0x504a5f,_0x23f93a,_0x3e29ad;const _0x3b7989=this[_0x57606f(0x4e8)][_0x57606f(0x3cb)](_0x33f84e),_0x3be6bc=this[_0x57606f(0x4e8)]['getConfig'](_0x25f3a7);return(_0x3e29ad=(_0x23f93a=_0x3be6bc==null?void 0x0:_0x3be6bc[_0x57606f(0x340)])!=null?_0x23f93a:_0x3b7989)!=null?_0x3e29ad:_0x57daa3;}async[_0x504a5f(0x479)](_0x1f5282,_0x264535){var _0x472a9b=_0x504a5f;const _0x471b02=_0x472a9b(0x2a5)+_0x264535[_0x472a9b(0x292)]+_0x472a9b(0x33a)+_0x264535[_0x472a9b(0x1c1)]+'/resources';return(await this[_0x472a9b(0x304)][_0x472a9b(0x460)](_0x471b02,{'params':{'resourceId':JSON['stringify'](_0x264535['resourceIDs'])}}))[_0x472a9b(0x43a)];}['saveSnapshot'](){var _0x294300=_0x504a5f;throw new Error(_0x294300(0x3f7));}[_0x504a5f(0x35d)](){var _0x57167e=_0x504a5f;throw new Error(_0x57167e(0x3f7));}[_0x504a5f(0x1ac)](){var _0x2b26a0=_0x504a5f;throw new Error(_0x2b26a0(0x3f7));}['copyFileMeta'](){var _0x2c8c42=_0x504a5f;throw new Error(_0x2c8c42(0x3f7));}['getLatestCsReqIdBySid'](){var _0x5b20e9=_0x504a5f;throw new Error(_0x5b20e9(0x3f7));}},_0x53fa2a[_0x504a5f(0x247)]=_0x1a0ffb([_0x36c4c4(0x0,_0x3dce8d[_0x504a5f(0x4ca)]),_0x36c4c4(0x1,_0x3dce8d['Inject'](_0x548713['HTTPService']))],_0x53fa2a['SnapshotServerOverHTTPService']);var _0x2a9e05=Object[_0x504a5f(0x315)],_0x4f1a0b=(_0x1ad2ee,_0x175b49,_0x3e964e,_0x12667b)=>{var _0xb0ce02=_0x504a5f;for(var _0x4871fb=_0x12667b>0x1?void 0x0:_0x12667b?_0x2a9e05(_0x175b49,_0x3e964e):_0x175b49,_0x1fc6ba=_0x1ad2ee[_0xb0ce02(0x3dd)]-0x1,_0x3883ff;_0x1fc6ba>=0x0;_0x1fc6ba--)(_0x3883ff=_0x1ad2ee[_0x1fc6ba])&&(_0x4871fb=_0x3883ff(_0x4871fb)||_0x4871fb);return _0x4871fb;},_0x16e36c=(_0x20a4b1,_0x58f567)=>(_0x2abaef,_0x674342)=>_0x58f567(_0x2abaef,_0x674342,_0x20a4b1);_0x53fa2a[_0x504a5f(0x411)]=class extends _0x3dce8d['LocalUndoRedoService']{constructor(_0x7aa6cb,_0x5c27e7,_0x52e984,_0x13c9ab,_0x2082fc){var _0x19e4f1=_0x504a5f;super(_0x7aa6cb,_0x5c27e7,_0x52e984),this[_0x19e4f1(0x46e)]=_0x13c9ab,this['_logService']=_0x2082fc;}[_0x504a5f(0x220)](_0x1b4bb7,_0x27cdca){var _0x47cd1a=_0x504a5f;const _0xd10bc8=this[_0x47cd1a(0x390)](_0x1b4bb7);if(_0xd10bc8)try{const _0x3fd0d3=this[_0x47cd1a(0x1e3)](_0xd10bc8,_0x27cdca);this[_0x47cd1a(0x231)](_0x1b4bb7,_0x3fd0d3);}catch(_0x273684){this['_logService'][_0x47cd1a(0x4b4)](_0x47cd1a(0x4e2),_0x273684),this['_clearUndo'](_0x1b4bb7);}const _0x505a8c=this[_0x47cd1a(0x538)](_0x1b4bb7);if(_0x505a8c)try{const _0x2d72fa=this['_transformStack'](_0x505a8c,_0x27cdca);this[_0x47cd1a(0x1dc)](_0x1b4bb7,_0x2d72fa);}catch(_0x2ac7d7){this[_0x47cd1a(0x4ef)]['error'](_0x2ac7d7),this[_0x47cd1a(0x301)](_0x1b4bb7);}}[_0x504a5f(0x4d1)](_0x39d64e){var _0x22f04=_0x504a5f;const _0x502add=this[_0x22f04(0x390)](_0x39d64e);_0x502add&&(_0x502add[_0x22f04(0x3dd)]=0x0,this[_0x22f04(0x27c)]());}[_0x504a5f(0x301)](_0xe17a32){const _0x37319d=this['_getRedoStack'](_0xe17a32);_0x37319d&&(_0x37319d['length']=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x152ecc,_0x2c8ceb){var _0x2b9e60=_0x504a5f;this['_undoStacks'][_0x2b9e60(0x525)](_0x152ecc,_0x2c8ceb),this[_0x2b9e60(0x27c)]();}[_0x504a5f(0x1dc)](_0x226c14,_0x33777a){var _0x45385c=_0x504a5f;this[_0x45385c(0x2de)][_0x45385c(0x525)](_0x226c14,_0x33777a),this[_0x45385c(0x27c)]();}[_0x504a5f(0x1e3)](_0x5f45b6,_0x27763f){var _0x24acf8=_0x504a5f;const _0x3d4843=[];let _0x5891b3=_0x27763f,_0x11e144=_0x27763f;for(let _0x1e9a7d=_0x5f45b6[_0x24acf8(0x3dd)]-0x1;_0x1e9a7d>=0x0;_0x1e9a7d--){const {unitID:_0x315464,undoMutations:_0x26c814,redoMutations:_0x12c791}=_0x5f45b6[_0x1e9a7d],_0x294e65=this[_0x24acf8(0x46e)][_0x24acf8(0x1d0)](_0x5891b3,_0x26c814),_0x2bb722=this[_0x24acf8(0x46e)][_0x24acf8(0x1d0)](_0x11e144,_0x12c791);if(_0x467e2c[_0x24acf8(0x208)](_0x294e65)||_0x467e2c['isTransformMutationsWithChangesetFailure'](_0x2bb722)){this[_0x24acf8(0x4ef)][_0x24acf8(0x4b4)](_0x24acf8(0x4e2),_0x24acf8(0x4e3),_0x294e65,_0x2bb722);break;}_0x5891b3=_0x294e65['c1Prime'],_0x11e144=_0x2bb722['c1Prime'],_0x3d4843[_0x24acf8(0x33e)]({'unitID':_0x315464,'undoMutations':_0x294e65[_0x24acf8(0x23c)],'redoMutations':_0x2bb722[_0x24acf8(0x23c)]});}return _0x3d4843['reverse']();}},_0x53fa2a[_0x504a5f(0x411)]=_0x4f1a0b([_0x16e36c(0x0,_0x3dce8d[_0x504a5f(0x499)]),_0x16e36c(0x1,_0x3dce8d[_0x504a5f(0x4ff)]),_0x16e36c(0x2,_0x3dce8d[_0x504a5f(0x23d)]),_0x16e36c(0x3,_0x467e2c[_0x504a5f(0x253)]),_0x16e36c(0x4,_0x3dce8d[_0x504a5f(0x4fd)])],_0x53fa2a[_0x504a5f(0x411)]);var _0x3b8dcb=Object['defineProperty'],_0x3c88af=Object[_0x504a5f(0x315)],_0x55986a=(_0x377a52,_0x10bcaf,_0x5baed8)=>_0x10bcaf in _0x377a52?_0x3b8dcb(_0x377a52,_0x10bcaf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5baed8}):_0x377a52[_0x10bcaf]=_0x5baed8,_0x416eb2=(_0x528b7b,_0x211814,_0x33c2f0,_0x272985)=>{var _0xebf764=_0x504a5f;for(var _0x5d7406=_0x272985>0x1?void 0x0:_0x272985?_0x3c88af(_0x211814,_0x33c2f0):_0x211814,_0x44f1ca=_0x528b7b[_0xebf764(0x3dd)]-0x1,_0x5e1ff1;_0x44f1ca>=0x0;_0x44f1ca--)(_0x5e1ff1=_0x528b7b[_0x44f1ca])&&(_0x5d7406=_0x5e1ff1(_0x5d7406)||_0x5d7406);return _0x5d7406;},_0x228106=(_0x2b5b16,_0x31a8ed)=>(_0x10fd42,_0x40b588)=>_0x31a8ed(_0x10fd42,_0x40b588,_0x2b5b16),_0x363c09=(_0x586cfc,_0x54d40b,_0x5b18f3)=>_0x55986a(_0x586cfc,_0x54d40b+'',_0x5b18f3);const _0x1d40d2=_0x504a5f(0x250);_0x53fa2a[_0x504a5f(0x272)]=class extends _0x3dce8d['Plugin']{constructor(_0x604288,_0x5339f4,_0x14de8c,_0x363afc){var _0x745d2c=_0x504a5f;super(),_0x2d5efa(this,_0x745d2c(0x491)),(this[_0x745d2c(0x4ef)]=_0x5339f4,this['_injector']=_0x14de8c,this[_0x745d2c(0x4e8)]=_0x363afc);const {..._0x558262}=_0x3dce8d[_0x745d2c(0x39b)]({},_0x587dcc,_0x604288);if(!_0x558262[_0x745d2c(0x34b)])throw new Error(_0x745d2c(0x4be));this[_0x745d2c(0x491)]=_0x558262,this[_0x745d2c(0x4e8)]['setConfig'](_0x25f3a7,_0x558262);}['onStarting'](){var _0x1c3d1c=_0x504a5f;this['_registerDependencies'](),this[_0x1c3d1c(0x313)]();}['_registerDependencies'](){var _0x4d601b=_0x504a5f,_0x84d134,_0x47f946;this['_injector']['has'](_0x3dce8d[_0x4d601b(0x3ad)])&&this['_logService'][_0x4d601b(0x4b4)](_0x4d601b(0x385),_0x4d601b(0x380));const _0x221c3f=_0x3dce8d[_0x4d601b(0x38d)]([[_0x3dce8d[_0x4d601b(0x3ad)],{'useClass':_0x53fa2a[_0x4d601b(0x411)]}],[_0x53fa2a[_0x4d601b(0x291)]],[_0x53fa2a['MemberService']],[_0x53fa2a[_0x4d601b(0x308)]],[_0x313ac8],[_0xacb32e],[_0x1d6704],[_0x42a500],[_0x1fdf46],[_0x53fa2a[_0x4d601b(0x1d8)]],[_0x21f719,{'useClass':this[_0x4d601b(0x491)][_0x4d601b(0x34b)]}],[_0x467e2c[_0x4d601b(0x523)],{'useClass':_0x53fa2a[_0x4d601b(0x247)]}],[_0x3dce8d['IAuthzIoService'],{'useClass':_0x53fa2a[_0x4d601b(0x268)]}],[_0x2cbdb1[_0x4d601b(0x47f)],{'useClass':_0x53fa2a[_0x4d601b(0x513)]}],[_0x3dce8d[_0x4d601b(0x2b0)],{'useClass':_0x53fa2a[_0x4d601b(0x36c)]}],[_0x53fa2a[_0x4d601b(0x1d9)]],[_0x3cadbd]],(_0x84d134=this[_0x4d601b(0x491)])==null?void 0x0:_0x84d134[_0x4d601b(0x1ed)]);if(!((_0x47f946=this[_0x4d601b(0x491)])!=null&&_0x47f946[_0x4d601b(0x510)])){const _0x55f5a9=_0x221c3f['findIndex'](([_0x73543a])=>_0x73543a===_0x18bf4c);_0x55f5a9!==-0x1&&_0x221c3f[_0x4d601b(0x4fe)](_0x55f5a9,0x1);}_0x3dce8d[_0x4d601b(0x234)](this[_0x4d601b(0x452)],_0x221c3f);}[_0x504a5f(0x313)](){var _0x4a2ea8=_0x504a5f,_0x137303,_0x572127,_0x898333;this[_0x4a2ea8(0x452)]['get'](_0x548713['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x548713[_0x4a2ea8(0x240)]({'maxParallel':0x6})}),(_0x137303=this[_0x4a2ea8(0x491)])!=null&&_0x137303[_0x4a2ea8(0x2c4)]||(_0x572127=this[_0x4a2ea8(0x452)]['get'](_0x52309e,_0x3dce8d[_0x4a2ea8(0x219)]['OPTIONAL']))==null||_0x572127[_0x4a2ea8(0x500)](),(_0x898333=this[_0x4a2ea8(0x491)])!=null&&_0x898333['enableAuthServer']&&_0x3dce8d[_0x4a2ea8(0x353)](this[_0x4a2ea8(0x452)],[[_0x313ac8]]),_0x3dce8d[_0x4a2ea8(0x353)](this[_0x4a2ea8(0x452)],[[_0xacb32e],[_0x53fa2a[_0x4a2ea8(0x1d9)]],[_0x42a500]]);}},_0x363c09(_0x53fa2a[_0x504a5f(0x272)],_0x504a5f(0x50d),_0x1d40d2),_0x53fa2a[_0x504a5f(0x272)]=_0x416eb2([_0x3dce8d[_0x504a5f(0x2ea)](_0x467e2c[_0x504a5f(0x3ea)],_0x548713[_0x504a5f(0x2ab)]),_0x228106(0x1,_0x3dce8d['ILogService']),_0x228106(0x2,_0x3dce8d[_0x504a5f(0x35a)](_0x3dce8d[_0x504a5f(0x1c0)])),_0x228106(0x3,_0x3dce8d[_0x504a5f(0x4ca)])],_0x53fa2a[_0x504a5f(0x272)]),_0x53fa2a['AUTHZ_URL_KEY']=_0x30ac3e,_0x53fa2a[_0x504a5f(0x1f5)]=_0x25f3a7,_0x53fa2a[_0x504a5f(0x4b3)]=_0x2db2eb,_0x53fa2a['COLLAB_WEB_SOCKET_URL_KEY']=_0xf287d7,_0x53fa2a['CollaborationStatus']=_0x3a96e7,_0x53fa2a[_0x504a5f(0x3c9)]=_0x5d81cf,_0x53fa2a[_0x504a5f(0x516)]=_0x1fdf46,_0x53fa2a[_0x504a5f(0x4c2)]=_0x1d6704,_0x53fa2a[_0x504a5f(0x1d5)]=_0x1c4883,_0x53fa2a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x18baa1,_0x53fa2a['DEFAULT_WS_SESSION_TICKET_URL']=_0x3465a2,_0x53fa2a['HEARTBEAT_INTERVAL_KEY']=_0x5ea015,_0x53fa2a[_0x504a5f(0x31d)]=_0x2ce149,_0x53fa2a[_0x504a5f(0x20b)]=_0x21f719,_0x53fa2a['ILocalCacheService']=_0x52309e,_0x53fa2a['INetworkConditionService']=_0x44c80f,_0x53fa2a[_0x504a5f(0x1bf)]=_0x18bf4c,_0x53fa2a[_0x504a5f(0x305)]=0x3e8,_0x53fa2a[_0x504a5f(0x2d1)]=_0x1b9b49,_0x53fa2a[_0x504a5f(0x33b)]=_0x2e4d5f,_0x53fa2a[_0x504a5f(0x3c6)]=_0x1fac85,_0x53fa2a['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x3fbb12,_0x53fa2a[_0x504a5f(0x527)]=_0x2e5395,_0x53fa2a[_0x504a5f(0x29e)]=_0x33f84e,_0x53fa2a[_0x504a5f(0x392)]=_0x27bf93,_0x53fa2a[_0x504a5f(0x1da)]=_0x2f4af9,_0x53fa2a[_0x504a5f(0x39d)]=_0x39ea4,_0x53fa2a[_0x504a5f(0x404)]=_0x4fd3ff,_0x53fa2a[_0x504a5f(0x4b1)]=_0x2f4729,_0x53fa2a[_0x504a5f(0x47d)]=_0x3fd145,Object[_0x504a5f(0x360)](_0x53fa2a,Symbol[_0x504a5f(0x2b4)],{'value':_0x504a5f(0x1e0)});}));function _0x24e2(){var _0x59680d=['abs','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','kdf','APPLY_REVISION_CONFILICT','exports','_emitMembers','INVITE_CODE_ALREADY_BOUND','_hash','createEncryptor','_showConflictNotification','[CollaborationSession]','getLocalCacheKey','_init','COLLAB_SUBMIT_CHANGESET_URL_KEY','error','AwaitingWithPendingState','location','_acknowledgedAwaitingChangeset','forEach','GLOBAL_ROOMS_CNT_EXCEEDS','onCommentUpdate','@univerjs/network','joinRsp','stringify','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','padding','/rev/','createIdentifier','CommentService','_transformIMECache','_socketReady','InsertSheetMutation','_cipher','onTransformState','/universer-api/oidc/authpage','transformChangesets','IConfigService','awaiting_with_pending','CompressMutationService','ImageUploadStatusType','OpenSSL','liveShareOperation','YUUMI_URL_COL_OUT_OF_RANGE','_clearUndo','_collaborationUIEventService','mode','routeKey','/object','UnitSnapshot','setShowComponents','UnitEmbedded','status','_sendHeartbeatTimer','submit\x20changeset\x20error!','_tryEnsureSocket','FileId','updateOfflineData','YUUMI_AI_RUN_FAILED','_socket$','UNIVER_SLIDE','[CollaborationUndoRedoService]','transformStack\x20failed!','editing\x20status\x20changed\x20to','_socketService','awaiting','close','_configService','symbol','UPDATE_PERMISSION_OBJ','_onMessage','[OfflineState]:\x20received\x20acknowledgement.','_resendTimeout','open$','_logService','PERMISSION_DENIED','getUnitOnRev','_replayCachedMutations','execute','_snapshotService','object','LICENSE_EXPORT_SIZE_EXCEEDED','_submitChangeset','_singleActiveUnitService','signUrlServerUrl','_commentUpdate$','@univerjs/telemetry','subscribe','ILogService','splice','ICommandService','disableLocalCache','sendChangesetTimeout','_telemetryService','CollaborationEvent','PENDING','lib','UNDEFINED','Workbook','RETRY_CONNECTING_MAX_COUNT','LOGIN_FAILED','synced','_prevBlock','LIVESHARE_NEW_HOST','pluginName','_updateLocalCache','COLLAB_WEB_SOCKET_URL','enableSingleActiveInstanceLock','_status$','[SyncedState]:\x20received\x20acknowledgement.','CollaborationImageIoService','_getUploadFileURL','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','CollaborationUIEventService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','24TnjZZn','WordArray','COMMENT_UPDATE','unitId\x20is\x20not\x20found','_remoteChangesetQueue','UniverDocs','CLOSE_ROOM','sessionStatus','_transformUndoredo','_networkConditionService','8200NzJanU','ISnapshotServerService','getFocusedUnit','set','_retryConnectingTimer','SEND_CHANGESET_TIMEOUT_KEY','map','getUnitType','_decreaseWaiting','_oKey','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_append','_unitID','rxjs/operators','LocaleService','PendingState','SNAPSHOT_INVALID_SNAPSHOT','_transformRemoteChangesetByIMECache','shouldCloseConn','liveShareNewHost','joinEvent','_getRedoStack','_onConnectionOpen','MUTATION','createInstance','ERROR_IMAGE','extend','loadDoc','values','saveChangeset','sheets','_transformSelections','crypto','_doProcessBlock','AwaitingState','function','univer-pro.collaboration-client-socket-service','UPDATE_CURSOR','_resendTimer','_onLocalMutation','JOIN_ROOM_PERMISSION_DENIED','withCredentials','collabWebSocketUrl','_onFetchMissResult','msCrypto','hostname','online$','EvpKDF','ISingleActiveUnitService','Injector','unitID','PERSON','randomBytes','pipe','hasher','_createSocket','RxDisposable','Encryptor','/-/object/-/batch_allowed','SOCKET_FAILED_RETRY','_tryReconnect','_nRounds','ISocketService','from','{fileID}','transformMutationsWithChangeset','EMAIL_HAS_BEEN_BOUND','_clearHeartbeatTimer','_revisionService','max','DEFAULT_COLLAB_WEB_SOCKET_URL','JOIN','YUUMI_UNABLE_LOAD_URL','DataLoaderService','CollaborationController','SessionStatus','CipherParams','_substituteRedoStack','_toggleOnline','_socketMessageSubscription','patch','Module','reqId','updatePermissionPoint','_transformStack','HTTPService','onTransformIME','_onUserJoin','createCollaborator','pad','createDecryptor','onTransformRemoteChangesetByStateCache','transformSelections','Base','override','complete','size','_userManagerService','APPLY_REJECT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_checkMissing','SheetCollaborationEntity','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','HELLO','updateCollaborator','_transformRemoteChangesetByStateCache','CollaborationSocketService','_transformStateCache','then','__creator','/universer-api/authz','now','Disposable','_sheetTransformSelectionsService','/-/object/list','create','UniverInstanceType','_state$','_change$','_rescheduleHeartbeat','POST','isTransformMutationsWithChangesetFailure','error$','_lockTransition','ICollaborationSocketService','RichTextEditingMutation','COMPRESS_MUTATION_SEND','appendMutation','ENSURE_SNAPSHOT_EXECUTION','_invKeySchedule','session','_onConnectionFailed','_iv','append','@univerjs/docs','ceil','CHANGESET_ACK','BehaviorSubject','Quantity','href','charCodeAt','_schedule','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','range','parse','transformUndoRedo','JSONX','_createHelper','_changesetSessionId','decryptBlock','focused$','url','[OfflineState]:\x20received\x20changeset.','FetchingMissState','_onRemoteRejected','_collaborationTimeoutTimer','editingUnit','/block/','equals','USERS_ENTER','_compressMutationService','offline','_substituteUndoStack','MergeInterceptorFactory','_getAPIPrefix','registerDependencies','rxjs','addImageSourceCache','buffer','LIVESHARE_OPERATION','_scheduleCollaborationTimeoutTimer','OTHER_CLIENTS_EDITING','_parse','m2Prime','IContextService','getCollabEntity','SOCKET_FAILED','ThresholdInterceptorFactory','SHA1','PasswordBasedCipher','[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.','c1Prime','YUUMI_ASYNCIO_CANCELLED','UniverDrawing','SnapshotServerOverHTTPService','readyForCollab','rng','@univerjs/sheets','incrementRevOfUnit','INVITE_CODE_REQUIRED','_nDataBytes','_handler','onlyLocal','UNIVER_COLLABORATION_CLIENT_PLUGIN','_createInitialStateImpl','_resendWithTimeout','ITransformService','updateCursorEvent','INVALID_ARGUMENT','updateMember','_createHmacHelper','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','eventID','\x20in\x20_schedule.','operators','ERROR_IMAGE_TYPE','NO_OTHER_CLIENTS_EDITING','parseChangesetToProtocol','SyncedState','\x0aAfter:\x20','toggleOnline','getActiveSheet','encrypt','_stopTelemetryCollaborationNewChangeset','params','_waitCount','parseProtocolChangeset','AuthzIoHttpService','entries','rev','list','_getLoginPath','RECV','_awaitingChangeset','telemetry\x20info\x20is\x20not\x20initialized','addHandlerCallback','formatter','UniverCollaborationClientPlugin','getUnitId','/role','603zqYHuS','headers','min','RevisionService','univer-pro.collaboration-client.network-condition.service','_scheduleCompleteTimestamp','CollaborationSession','_updateStatus','_state','collaboration-client.local-cache-service','bind','fetch_missing','initWorkbookPermissionChange','_replaceFileID','135oeDAUr','loadUnit','?size=','add','keySize','sin','charAt','randomUUID','has','socket\x20close','_sender','_onRemoteChangeset','clone','_getCurrentRevision','CollaborationSessionService','type','DisposableCollection','confirm','_listenToNetworkCondition','state','MemberService','data','removeMember','_loadDoc','init','send','onCommandExecuted','SNAPSHOT_SERVER_URL_KEY','catch','getMember','OFFLINE','_map','collaboration_new_changeset','_pendingMutations','/universer-api/snapshot/','requireSession','event$','55640uUyfXz','words','ivSize','UniverNetworkPlugin','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','onStateChange','3744984zSqKaT','loadOfflineData','IMentionIOService','[PendingState]:\x20received\x20rejection.','@univerjs/core','asObservable','toStringTag','HTTPRequest','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onRemoteAck','onSyncEditingCollabCursor','_collaborationSessionService','UniverCore','default','_key','HEARTBEAT','@univerjs/drawing','YUUMI_SUBSCRIPTION_NOT_FOUND','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','uniscriptRunEvent','pending','startsWith','enableOfflineEditing','_collaborationPaused','collaboratorID','_members','@univerjs-pro/license','hasOwnProperty','getTypeOfUnitDisposed$','onRemoteRetry','_initRequestHeader','_startTelemetryCollaborationNewChangeset','_sendingTimer','UNAUTHENTICATED','filter','LOCAL_CACHE_INTERVAL_KEY','SUBMIT_CHANGESET','members','toLowerCase','getRoom','_minBufferSize','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','fetchMissingChangesets','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','commentUpdate$','YUUMI_NO_CUBOID_FOR_QUESTION','_toggleOffline','INTERNAL_ERROR','_redoStacks','_localCacheService','UniverProLicense','TOO_MANY_REQUESTS','reject','csShouldRetryEvent','fromCharCode','format','method','localCacheService','/universer-api/comb','resend','DependentOn','failed\x20to\x20apply\x20missed\x20changesets!','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_joinRoom','USER_NOT_INVITED_CODE','fetchThroughInterceptors','DocCollaborationEntity','infoRsp','Cipher','LEAVE','state$','WECHAT_HAS_BEEN_BOUND','deleteCollaborator','_socket','_disableEditing','finalize','&to=','APPLY_PERMISSION_DENIED','session.room-cnt-exceeds','FETCH_MISSING','[DataLoaderService]','substr','localeService','_clearRedo','image/jpg','HEARTBEAT_INTERVAL','_httpService','LOCAL_CACHE_INTERVAL','processBlock','_getCtorByUniverType','SheetTransformSelectionsService','Error\x20on\x20receiving\x20event','\x0aCurrent:\x20','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','AWAITING_WITH_PENDING','_iKey','NoPadding','OfflineState','_entities','csAckEvent','_exhaustRemoteChangesetQueue','_initDependencies','_clearRetryConnectingTimer','getOwnPropertyDescriptor','_sendHeartbeat','_unlockTransition','_getDownloadEndpointURL','onload','saveImage','roomInfos','FAIL','HEARTBEAT_TIMEOUT_KEY','_clearScheduledTask','UniverProCollaborationClient','amd','UserProfileImg','getValue','reset','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','registerHTTPInterceptor','ONLINE','Undefined','onRemoteChangeset','/object/','LIVESHARE_FETCH_OPERATIONS','_retryCount','apply','collaboration-client.config','objectID','SNAPSHOT_HAS_BEEN_REMOVED','sid','next','emitEvent','YUUMI_ALL_TABLES_IS_INVALID','_collabSessionService','requestParams','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','subject','IDLE','listRoles','/unit/','LOGIN_URL_KEY','_hasher','_data','push','/universer-api/stream/file/upload','snapshotServerUrl','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','Tools','_isPermissionRej','unpad','[CollaborationSessionService]','SerializableCipher','onSendChangeset','target','SEND_CHANGESET_TIMEOUT','_getSendChangesetTimeout','socketService','take','PERMISSION_REJ','delete','revision','COMPLETION_FINISHED','ConflictState','toggleOffline','touchDependencies','textEncoder','prototype','decrypt','algo','dispose$','UNRECOGNIZED','Inject','getSheetBlock','BASE64','saveSheetBlock','/collaborator','getAllMembers','defineProperty','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNISCRIPT_RUN','COMPRESS_MUTATION_APPLY','executeCommand','Decryptor','_eventService','_sessionStatus$','Utf8','mixIn','MentionType','_sessions','MentionIoHttpService','EmptyMutation','_fetchMissChangesets','_snapshotServerService','INGEST','_getAPIPrefixPath','175173MsRyKq','MSG_FOR_ERROR','LICENSE_IMPORT_SIZE_EXCEEDED','SheetPermissionInitController','waitForRoom$','cmd','onRemoteRej','stopTime','_getSignURL','HttpExport','@univerjs-pro/collaboration','People','readAsDataURL','USERS_LEAVE','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_timeoutTimer','_commentService','selections','INVITE_CODE_HAS_BEEN_UES','[UniverCollaborationClientPlugin]','_incrementRevisionNumber','Optional','getImageSourceCache','byteLength','INVALID_INVITE_CODE','UNKNOWN_CMD','_unitInfo$','mergeOverrideWithDependencies','_memberService','CollaborationEntity','_getUndoStack','result','SNAPSHOT_URL_KEY','reduce','dispose','getCurrentRevOfUnit','getSnapshotAPIPath','BufferedBlockAlgorithm','join','ITelemetryService','805811JWSiuP','merge','session.join-failed','UnitStatus','_onRemoteRetry','PSEUDO_FETCH_MISSING_RESULT','fetchMiss','_transitionLocked','close$','IPermissionService','fetching\x20missing\x20changesets\x20from\x20','readInt32LE','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ReplaySubject','message$','deepClone','getCurrentSelections','src','_removeRoom','IUndoRedoService','SUCCUSS','members$','UNIVER_DOC','post','CONNECTOR_DATA_TOO_LARGE','auth.needGotoLoginAlert','UniverTelemetry','authzUrl','string','_syncEditingCollabCursor','code','onLocalMutation','_doCryptBlock','isInternalEditorID','DEFAULT_FILE_NAME','getWorkbookSelections','_instanceService','[FetchMissState]','_createInitialState','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','subUnitId','unitId','loginUrlKey','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_entityInit$','_roomCreated$','CollaborationUIEventId','LIVESHARE_TERMINATE','getConfig','NOT_COLLAB','capture','collaborators','_initMergeInterceptor','SheetsSelectionsService','updatePermissionObjEvent','getTypeOfUnitAdded$','_onRecvEvent','Base64','objectType','setCurrentUser','_onCombEvent','_type','generateRandomId','isTransformChangesetsSuccess','indexOf','[CollaborationSessionService]:\x20socket\x20error','length','getUnit','Hasher','/universer-api/uniscript','enc','UNIVER_SHEET','_localeService','[SyncedState]:\x20received\x20rejection.','_roomMembers','_startCollaboration','getImage','\x20-\x20','UUID','UniverCollaborationPlugin','HEARTBEAT_TIMEOUT','FETCH_MISS','_univerInstanceService','getMemberID','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','JOIN_ROOM_FAILED','_doFinalize','_commandService','mutations','YUUMI_RATE_OVER_LIMIT','CONFLICT','CommandType','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','workbook','every','/universer-api/file/{fileID}/sign-url','x-univer-host','compute','c2Prime','image/bmp','1799806ZoYToX','disposeWithMe','SetSelectionsOperation','unknown','UNIVER_PROJECT','deserializeToCombResponse','salt','_onRemoteACK','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/allowed','NEW_CHANGESETS','b64DecodeUnicode','shareReplay','key','socket\x20open.','SHOULD_CLOSE_CONN','userID','CHANGESET_SHOULD_RETRY','CollaborativeUndoRedoService','_process','_event$','getInterceptPoints','debug','file','APPLY_DUPLICATED','_executeRemoteChangeset','_updateState','ImageSourceType','clamp','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','change$','APPLY_NON_SEQUENTIAL_REVISION','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','encryptBlock','concat','_imageSourceCache','isArray','interceptor','_onConflict','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_telemetryInfo','createSocket','/new_changes','_clearTimeoutTimer','_permissionService','MD5','find','onMissingChangesets','$super','HmacMD5','BlockCipher','UNKNOWN_CODE','call','newCsEvent','_clearLocalCache','retryConnectingInterval','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','repeat','session.room-not-exists','body','putCollaborators','JOIN_ROOM_FULL','getCurrentUser','_waitForHeartbeatResponse','onTransformSelections','encode','baseRev','random','_applyRemoteChangeset','/fetchmissing?from=','AES','delay','leaveEvent','unsubscribe','reconnect','uploadFileServerUrl','_onUserLeave','avatar','batchAllowed','Univer','__Key__','clear','Could\x20not\x20dynamically\x20require\x20\x22','_injector','_shouldReportTelemetry','Hex','SUBMIT_CHANGESET_TIMEOUT','NOT_FOUND','changesets','cfg','HMAC','_doReset','_candidateSocket','takeUntil','LICENSE_DISTRO_REJECTED','isTransformMutationsWithChangesetSuccess','363279VNuQfv','get','toString','JOINING','_handlerCallback','closeSession','fromCollab','name','update','OTHER_CLIENT_EDITING','floor','univer-pro.collaboration-client.single-active-unit-service','MOBILE_HAS_BEEN_BOUND','toDisposable','LICENSE_MAX_UNITS_EXCEEDED','_transformService','_members$','_HTTPService','_xformMode','mapDocumentTypeToUniverType','slice','CHANGESET_REVISION_CONFILICT','memberID','Subject','session.room-permission-denied','_keySchedule','getResourcesRequest','[CollaborationState]:\x20apply\x20error!','objectActions','awaitingChangeset','serializeCombRequest','_createHandler','IImageIoService','_throwTelemetryCollaborationNewChangeset','UniverProCollaboration','ciphertext','actions','[CollaborationEntity]','_changesetReqId','_onOffline','originalMeta','_reverseMap','image/gif','getCollabEntity$','_undoRedoService','WorkbookEditablePermission','onTransformRemoteChangesetByIMECache','textRanges','sessionStatus$','PY_RUNTIME_SCRIPT_ERROR','_config','_ENC_XFORM_MODE','CHANGESET_REJ','JOIN_ROOM_NOT_EXISTS','UNIVER_UNKNOWN','COLLAB_SUBMIT_CHANGESET_URL','_initCloseConn','getRandomValues','IUniverInstanceService','[OfflineState]:\x20received\x20rejection.','getGlobalObject','blockSize','_clearCollaborationTimeoutTimer','byteOffset','ALREADY_EXISTS','resolve','_mode','HmacSHA1','conflict','sigBytes','encodeURIComponent'];_0x24e2=function(){return _0x59680d;};return _0x24e2();}