@univerjs-pro/collaboration-client 0.6.10-experimental.20250427-173dc06 → 0.6.10-experimental.20250427-89a0949

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 _0x4809(_0x51201b,_0xae9e69){var _0x5c2e5b=_0x5c2e();return _0x4809=function(_0x4809c0,_0x4bc102){_0x4809c0=_0x4809c0-0x16c;var _0x3f7034=_0x5c2e5b[_0x4809c0];return _0x3f7034;},_0x4809(_0x51201b,_0xae9e69);}function _0x5c2e(){var _0x1f9850=['2110UMcuSx','ALREADY_EXISTS','_queuedRemoteChangesets','isArray','_emitMembers','Tools','AWAITING_WITH_PENDING','getCurrentRevOfUnit','uniscriptRunEvent','_unitInfo$','status$','3zzTotA','_substituteUndoStack','ONLINE','toStringTag','/resources','c1Prime','_updateLocalCache','NEW_CHANGESETS','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','put','getCollabEntity$','_onRemoteRejected','abs','_nDataBytes','reduce','2003418wMGzXa','transformChangesets','HTTPService','Hasher','[CollaborationSessionService]:\x20socket\x20error','LIVESHARE_TERMINATE','OfflineState','_registerDependencies','now','getWorkbookSelections','EvpKDF','getMember','getGlobalObject','_onFetchMissResult','_substituteRedoStack','RevisionService','updatePermissionPoint','/unit/','SerializableCipher','open$','INVITE_CODE_REQUIRED','_incrementRevisionNumber','UUID','setCurrentUser','ERROR_EXCEED_SIZE','body','_iKey','_schedule','isTransformMutationsWithChangesetSuccess','toLowerCase','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_key','Module','isTransformMutationsWithChangesetFailure','_reverseMap','COMMENT_UPDATE','_initUnitPermissionChange','YUUMI_SUBSCRIPTION_NOT_FOUND','size','merge','error','stopTime','Failed\x20to\x20update\x20permission\x20point','_onConflict','NoPadding','sessionStatus','_status$','getTypeOfUnitAdded$','floor','UnitEmbedded','getSheetBlock','signUrlServerUrl','concat','confirm','ImageUploadStatusType','clear','Hex','forEach','toString','next','OTHER_CLIENT_EDITING','setWaitCount','min','objectType','_invKeySchedule','image/png','_initCloseConn','_collaborationPaused','COLLAB_WEB_SOCKET_URL','5EBHTYD','memberID','debug','c2Prime','Utf8','name','_transformRemoteChangesetByStateCache','YUUMI_ASYNCIO_CANCELLED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_keyPriorReset','retryConnectingInterval','SNAPSHOT_HAS_BEEN_REMOVED','/universer-api/uniscript','format','LICENSE_EXPORT_SIZE_EXCEEDED','_getCtorByUniverType','[CollaborationSession]','_onRemoteChangeset','image/bmp','includes','getUnitType','6075618WUfOvr','8380988vEkUhM','focused$','transformUndoRedo','updateOfflineData','setShowComponents','[SyncedState]:\x20received\x20rejection.','[DataLoaderService]','shouldCloseConn','Undefined','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_getUndoStack','ICommandService','batchAllowed','IPermissionService','offline','SEND_CHANGESET_TIMEOUT_KEY','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_ENC_XFORM_MODE','_scheduleCollaborationTimeoutTimer','_prevBlock','/object/','getAllMembers','GLOBAL_ROOMS_CNT_EXCEEDS','SheetCollaborationEntity','USERS_LEAVE','createDecryptor','_collaborationUIEventService','createIdentifier','Subject','_doFinalize','getMemberID','getImageSourceCache','_onConnectionFailed','_onCombEvent','parseChangesetToProtocol','RECV','YUUMI_RATE_OVER_LIMIT','getDeserializedSheetBlock','_map','createEncryptor','addHandlerCallback','_state','_snapshotServerService','onTransformRemoteChangesetByIMECache','ceil','isInternalEditorID','members','_getAPIPrefixPath','url','SEND_CHANGESET_TIMEOUT','_remoteChangesetQueue','onStateChange','_throwTelemetryCollaborationNewChangeset','LOGIN_URL_KEY','ILogService','CommandType','onLocalMutation','SHOULD_CLOSE_CONN','random','_roomCreated$','UniverProCollaborationClient','members$','readAsDataURL','function','getRoom','routeKey','OTHER_CLIENTS_EDITING','complete','_imageSourceCache','/block/','shareReplay','eventID','getCollabEntity','UniverNetwork','JOIN','loadSheet','roomInfos','create','getImage','INGEST','_httpService','CollaborationImageIoService','BlockCipher','APPLY_DUPLICATED','decryptBlock','getValue','_clearScheduledTask','_decreaseWaiting','parse','blockSize','extend','unpad','onSyncEditingCollabCursor','Injector','_permissionService','commentUpdate$','SnapshotService','UniverCollaborationPlugin','_onConnectionOpen','AES','CLOSE_ROOM','newCsEvent','onSendChangeset','removeMember','unit-cache-','operators','session','_socket$','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_sheetTransformSelectionsService','reverse','LIVESHARE_FETCH_OPERATIONS','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','?size=','DEFAULT_WS_SESSION_TICKET_URL','onMissedChangesetFetched','_createInitialStateImpl','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','location','_transformService','_changesetReqId','EmptyMutation','_transformRemoteChangesetByIMECache','APPLY_NON_SEQUENTIAL_REVISION','charCodeAt','action','getTime','_syncEditingCollabCursor','compute','mode','MD5','OFFLINE','onStarting','_socketReady','pipe','_getCurrentRevision','_getSignURL','b64DecodeUnicode','DocCollaborationEntity','getConfig','unitInfo$','_createInitialState','onTransformIME','lib','_showConflictNotification','/collaborator','4581292PFZUOT','INVALID_ARGUMENT','onCommentUpdate','readInt32LE','patch','list','_disableEditing','get','HELLO','getSheetId','_fetchMissChangesets','sigBytes','from','LEAVE','_clearUndo','@univerjs/core','substr','RxDisposable','objectActions','EMAIL_HAS_BEEN_BOUND','HEARTBEAT','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','INTERNAL_ERROR','getOwnPropertyDescriptor','\x0aAfter:\x20','uploadFileServerUrl','createInstance','mutations','CONFLICT','session.room-not-exists','@univerjs/sheets','SyncedState','_updateStatus','emitEvent','_rescheduleHeartbeat','updatePermissionObjEvent','_sender','@univerjs/drawing','ImageSourceType','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getCurrentSelections','UNIVER_COLLABORATION_CLIENT_PLUGIN','unitId\x20is\x20not\x20found','replace','_sendHeartbeatTimer','status','LICENSE_IMPORT_SIZE_EXCEEDED','UniverCollaborationClientPlugin','telemetry\x20info\x20is\x20not\x20initialized','UNIVER_SLIDE','csRejEvent','PERMISSION_DENIED','_iv','USER_NOT_INVITED_CODE','_singleActiveUnitService','@univerjs/network','_candidateSocket','48rTsaOz','loginUrlKey','exports','[OfflineState]:\x20received\x20changeset.','_clearHeartbeatTimer','disposeWithMe','_xformMode','[SyncedState]:\x20received\x20acknowledgement.','msCrypto','@univerjs-pro/license','_startCollaboration','liveShareNewHost','LIVESHARE_REQUEST_HOST','FAIL','_awaitingChangeset','csShouldRetryEvent','_append','onTransformSelections','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UserProfileImg','subscribe','WECHAT_HAS_BEEN_BOUND','DEFAULT_FILE_NAME','update','CONNECTOR_DATA_TOO_LARGE','close','keySize','_change$','AUTHZ_URL_KEY','fromCharCode','onTransformState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','mixIn','ISingleActiveUnitService','ISnapshotServerService','touchDependencies','COMPRESS_MUTATION_APPLY','catch','onRemoteChangeset','conflict','PERMISSION_REJ','MUTATION','[CollaborationState]:\x20apply\x20error!','1534320XgeTZb','YUUMI_URL_COL_OUT_OF_RANGE','takeUntil','_commentService','getUnitStatus$','_redoStacks','_undoRedoService','revision','COMPRESS_MUTATION_SEND','LOGIN_FAILED','SUBMIT_CHANGESET_TIMEOUT','CBC','_joinRoom','loadOfflineData','UPDATE_PERMISSION_OBJ','UnitSnapshot','buffer','Could\x20not\x20dynamically\x20require\x20\x22','_getAPIPrefix','\x0aCurrent:\x20','pauseCollaboration','_sessions','onRemoteRetry','DataLoaderService','editing\x20status\x20changed\x20to','POST','APPLY_PERMISSION_DENIED','getCurrentUser','parseProtocolChangeset','UniverInstanceType','_onMessage','DependentOn','_commentUpdate$','MOBILE_HAS_BEEN_BOUND','editingUnit','updateCursorEvent','[CollaborationEntity]','FETCH_MISSING','getInterceptPoints','onRemoteRej','_entityInit$','/rev/','Disposable','_lockTransition','randomUUID','symbol','HttpImport','appendMutation','UNDEFINED','_createHandler','LOCAL_CACHE_INTERVAL','awaiting_with_pending','OpenSSL','[CollaborationSessionService]','UNIVER_SHEET','_parse','_onRemoteRetry','hasher','params','/fetchmissing?from=','_univerInstanceService','CollaborationSocketService','session.room-permission-denied','COMPLETION_FINISHED','LICENSE_DISTRO_REJECTED','unsubscribe','range','_unlockTransition','UniverDocs','registerHTTPInterceptor','originalMeta','YUUMI_UNABLE_LOAD_URL','key','processBlock','@univerjs/telemetry','awaitingChangeset','getTypeOfUnitDisposed$','1010253umBAMf','socketService','_init','ERROR_IMAGE_TYPE','_clearRetryConnectingTimer','FetchingMissState','univer-pro.collaboration-client.network-condition.service','Quantity','/universer-api/comb','sessionStatus$','override','liveShareOperation','loadDoc','ConflictState','_replayCachedMutations','subUnitId','session.room-full','clone','_oKey','_removeRoom','SOCKET_FAILED_RETRY','_startTelemetryCollaborationNewChangeset','_socketMessageSubscription','_members$','HTTPRequest','ITransformService','CompressMutationService','_onRemoteACK','save\x20fail\x20reason\x20is\x20','WorkbookEditablePermission','encrypt','Base','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','charAt','Pkcs7','reset','waitForRoom$','_onJoinRoomEvent','withCredentials','\x20-\x20','mapDocumentTypeToUniverType','MentionIoHttpService','send','algo','message$','/universer-api/snapshot/','CollaborationEntity','subject','ISocketService','init','string','JOIN_ROOM_FULL','amd','JOIN_ROOM_FAILED','UniverProCollaboration','SNAPSHOT_SERVER_URL_KEY','UNISCRIPT_RUN','online$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','sendChangesetTimeout','ciphertext','/-/object/-/batch_allowed','values','CHANGESET_SHOULD_RETRY','enableOfflineEditing','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_pendingMutations','_socket','commentUpdateEvent','state','mergeOverrideWithDependencies','title','localeService','_changesetSessionId','SNAPSHOT_URL_KEY','LOCAL_CACHE_INTERVAL_KEY','updateMember','call','objectID','_instanceService','json','Base64','socket$','collaboratorID','@univerjs/docs','authzUrl','requestParams','unitId','file','csAckEvent','transformStack\x20failed!','USERS_ENTER','isTransformChangesetsSuccess','_toggleOffline','_unitID','_roomMembers','userID','createSocket','listRoles','_waitCount','_exhaustRemoteChangesetQueue','_snapshotService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','NOT_FOUND','_keySchedule','enc','COLLAB_SUBMIT_CHANGESET_URL_KEY','snapshot','_nRounds','collaboration_new_changeset','/universer-api/snapshot','enableSingleActiveInstanceLock','closeSession','splice','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','AuthzIoHttpService','default','AWAITING','OPTIONAL','compose','incrementRevOfUnit','_networkConditionService','Malformed\x20UTF-8\x20data','[CollaborationUndoRedoService]','actions','_config','baseRev','PSEUDO_FETCH_MISSING_RESULT','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_minBufferSize','entityInit$','bind','JOIN_ROOM_NOT_EXISTS','apply','clamp','HEARTBEAT_TIMEOUT','sin','registerDependencies','fromCollab','state$','APPLY_REVISION_CONFILICT','UNIVER_DOC','_resendTimer','MSG_FOR_ERROR','add','MentionType','_userManagerService','avatar','_memberService','_transformIMECache','slice','RichTextEditingMutation','_shouldReportTelemetry','_transitionLocked','UnitStatus','byteLength','_data','error$','_timeoutTimer','_handlerCallback','startTime','awaiting','_clearCollaborationTimeoutTimer','allowed','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_event$','createCollaborator','byteOffset','snapshotServerUrl','requireSession','_injector','saveImage','_createHelper','unknown','resourceIDs','toggleOnline','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_createHmacHelper','permissionRejEvent','formatter','_waitForHeartbeatResponse','x-univer-host','length','textRanges','find','headers','sid','UNKNOWN_CMD','_compressMutationService','not_collab','submit\x20changeset\x20error!','_stopTelemetryCollaborationNewChangeset','getSnapshotAPIPath','_applyRemoteChangeset','kdf','randomBytes','_localeService','padding','_undoStacks','_hasher','NO_OTHER_CLIENTS_EDITING','sequenceExecute','\x20to\x20','onload','equals','_retryConnectingTimer','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_sendingTimer','finalize','_localCacheService','rng','_commandService','href','CollaborationSession','_resendTimeout','NOT_COLLAB','SYNCED','_hash','_handler','data','_tryReconnect','__Key__','IConfigService','[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.','/new_changes','SnapshotServerOverHTTPService','PY_RUNTIME_SCRIPT_ERROR','_onRecvEvent','resolve','HttpExport','_sendHeartbeat','ws://127.0.0.1:8000/universer-api/comb/connect','UNAUTHENTICATED','MergeInterceptorFactory','_configService','max','BufferedBlockAlgorithm','words','_initRequestHeader','salt','fetchMissingChangesets','_eventService','dispose$','INVITE_CODE_HAS_BEEN_UES','SetSelectionsOperation','_telemetryService','YUUMI_NO_CUBOID_FOR_QUESTION','SheetPermissionInitController','AwaitingState','fetch_missing','_initMergeInterceptor','append','IUndoRedoService','post','Inject','getUnit','session.join-failed','IAuthzIoService','failed\x20to\x20apply\x20missed\x20changesets!','deepClone','SUBMIT_CHANGESET','infoRsp','CollaborationController','getRandomValues','set','Rectangle','UNIVER_PROJECT','encryptBlock','updateCollaborator','auth.needGotoLoginAlert','sheets','BehaviorSubject','map','_revisionService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','PERSON','_initDependencies','[OfflineState]:\x20received\x20acknowledgement.','ERROR_IMAGE','findIndex','@univerjs-pro/collaboration','entries','CollaborationUIEventId','_collaborationSessionService','MemberService','filter','textEncoder','_replaceFileID','_mode','reqId','resend','rxjs/operators','session.room-cnt-exceeds','DEFAULT_COLLAB_WEB_SOCKET_URL','/universer-api/authz','TOO_MANY_REQUESTS','take','selections','pad','ivSize','_onUserJoin','cfg','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_MAX_UNITS_EXCEEDED','_getRedoStack','connection\x20error','onMissingChangesets','\x20in\x20_schedule.','origin','_scheduleCompleteTimestamp','every','_logService','HEARTBEAT_INTERVAL_KEY','stringify','_clearLocalCache','_executeRemoteChangeset','joinRsp','getFocusedUnit','_entities','_process','__esModule','SessionStatus','[PendingState]:\x20received\x20rejection.','_onOffline','CollaborationEvent','roles','UPDATE_CURSOR','defineProperty','RETRY_CONNECTING_MAX_COUNT_KEY','UserManagerService','_getDownloadEndpointURL','delete','dispose','event$','SHA1','UNRECOGNIZED','_type','INetworkConditionService','interceptor','_onUserLeave','_checkMissing','CHANGESET_ACK','decrypt','InsertSheetMutation','fetchThroughInterceptors','INVITE_CODE_ALREADY_BOUND','271766acunLm','object','getActiveSheet','isPermissionRej','_updateState','code','changesets','reconnect','HEARTBEAT_INTERVAL','_cipher','_toggleOnline','Cipher','reject','IDLE','SNAPSHOT_INVALID_SNAPSHOT','FileId','LIVESHARE_NEW_HOST','_sessionStatus$','$super','Optional','CollaborativeUndoRedoService','_clearTimeoutTimer','type','__creator','{fileID}','cmd','rxjs','_members','_transformSelections','_HTTPService','_transformStateCache','change$','Decryptor','_telemetryInfo','has','univer-pro.collaboration-client.single-active-unit-service','LocaleService','_getSendChangesetTimeout','_retryCount','toDisposable','SheetTransformSelectionsService','downloadEndpointUrl','pluginName','BASE64','pending','ReplaySubject','/object','WordArray','/role','executeCommand','_transformUndoredo','unitID','Latin1','getUnitId','_loadSheet','crypto','People','ThresholdInterceptorFactory','PasswordBasedCipher','getLocalCacheKey','AwaitingWithPendingState','onTransformRemoteChangesetByStateCache','toggleOffline','JSONX','[UniverCollaborationClientPlugin]','close$','_transformStack','PendingState','LIVESHARE_OPERATION','joinEvent','putCollaborators','CHANGESET_REVISION_CONFILICT','setConfig','onlyLocal','rev','Univer','_state$','CollaborationSessionService','asObservable','method','_DEC_XFORM_MODE','/universer-api/stream/file/upload','INVALID_INVITE_CODE','_tryEnsureSocket','IUniverInstanceService','execute','push','EXCHANGE_SIGN_URL_SERVER_URL_KEY','&to=','hasOwnProperty','_onLocalMutation','HEARTBEAT_TIMEOUT_KEY','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','synced','loadUnit','_collaborationTimeoutTimer','enableAuthServer','_resendWithTimeout','ITelemetryService','readyForCollab','_createSocket','deleteCollaborator','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_getUploadFileURL','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','transformSelections','ILocalCacheService','m2Prime','prototype','join','transformMutationsWithChangeset','localCacheService','onRemoteAck'];_0x5c2e=function(){return _0x1f9850;};return _0x5c2e();}(function(_0x54ca21,_0x4d6d78){var _0x1f6741=_0x4809,_0x142a06=_0x54ca21();while(!![]){try{var _0x369756=parseInt(_0x1f6741(0x4b5))/0x1+-parseInt(_0x1f6741(0x468))/0x2+-parseInt(_0x1f6741(0x308))/0x3*(parseInt(_0x1f6741(0x404))/0x4)+parseInt(_0x1f6741(0x35c))/0x5*(-parseInt(_0x1f6741(0x371))/0x6)+-parseInt(_0x1f6741(0x372))/0x7+parseInt(_0x1f6741(0x43d))/0x8*(-parseInt(_0x1f6741(0x317))/0x9)+parseInt(_0x1f6741(0x2fd))/0xa*(parseInt(_0x1f6741(0x28c))/0xb);if(_0x369756===_0x4d6d78)break;else _0x142a06['push'](_0x142a06['shift']());}catch(_0x7dfc55){_0x142a06['push'](_0x142a06['shift']());}}}(_0x5c2e,0xbad35),function(_0x526b89,_0x494fdd){var _0x4d9ff8=_0x4809;typeof exports==_0x4d9ff8(0x28d)&&typeof module<'u'?_0x494fdd(exports,require(_0x4d9ff8(0x413)),require('rxjs'),require(_0x4d9ff8(0x255)),require(_0x4d9ff8(0x24a)),require(_0x4d9ff8(0x43b)),require(_0x4d9ff8(0x4b2)),require(_0x4d9ff8(0x186)),require(_0x4d9ff8(0x422)),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x4d9ff8(0x3b1)&&define[_0x4d9ff8(0x4e9)]?define(['exports',_0x4d9ff8(0x413),_0x4d9ff8(0x2a6),_0x4d9ff8(0x255),_0x4d9ff8(0x24a),_0x4d9ff8(0x43b),_0x4d9ff8(0x4b2),_0x4d9ff8(0x186),_0x4d9ff8(0x422),_0x4d9ff8(0x429),_0x4d9ff8(0x446)],_0x494fdd):(_0x526b89=typeof globalThis<'u'?globalThis:_0x526b89||self,_0x494fdd(_0x526b89[_0x4d9ff8(0x3ae)]={},_0x526b89['UniverCore'],_0x526b89[_0x4d9ff8(0x2a6)],_0x526b89[_0x4d9ff8(0x2a6)][_0x4d9ff8(0x3db)],_0x526b89[_0x4d9ff8(0x4eb)],_0x526b89[_0x4d9ff8(0x3bb)],_0x526b89['UniverTelemetry'],_0x526b89[_0x4d9ff8(0x4ac)],_0x526b89['UniverSheets'],_0x526b89['UniverDrawing'],_0x526b89['UniverProLicense']));}(this,function(_0x4e9958,_0x1cba28,_0x3c07cc,_0x1da9aa,_0x53e89d,_0x3f31ff,_0x4e85ab,_0x11e727,_0x122c74,_0x5897b2,_0x52b52f){'use strict';var _0x297728=_0x4809;var _0x158b60=Object[_0x297728(0x279)],_0x3c86f5=(_0xe976d0,_0x3b0147,_0x5cca54)=>_0x3b0147 in _0xe976d0?_0x158b60(_0xe976d0,_0x3b0147,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5cca54}):_0xe976d0[_0x3b0147]=_0x5cca54,_0xea6913=(_0x352f6f,_0x13176b,_0x1227f6)=>_0x3c86f5(_0x352f6f,typeof _0x13176b!=_0x297728(0x495)?_0x13176b+'':_0x13176b,_0x1227f6);const _0x542175=_0x297728(0x4ec),_0x16f082=_0x297728(0x1a0),_0x3c51c0=_0x297728(0x17c),_0x1cb042=_0x297728(0x3a3),_0xb9a30e=_0x297728(0x35b),_0x3a015d=_0x297728(0x219),_0x2f1415='/universer-api/user/session-ticket',_0x5949f9=_0x297728(0x294),_0x1dd843=_0x297728(0x1b9),_0x4513cc='RETRY_CONNECTING_MAX_COUNT',_0x3397c7=_0x297728(0x49a),_0x350b11='COLLAB_SUBMIT_CHANGESET_URL',_0x3a2679=_0x297728(0x4bd),_0x1a7860=_0x297728(0x3a7),_0x5ea95c='/universer-api/oidc/authpage',_0x4c2bd9=_0x297728(0x260),_0x4e59e4=_0x297728(0x368);var _0x99b5f9=(_0x2e79e7=>(_0x2e79e7[_0x2e79e7['UNDEFINED']=0x0]=_0x297728(0x498),_0x2e79e7[_0x2e79e7['OK']=0x1]='OK',_0x2e79e7[_0x2e79e7[_0x297728(0x41a)]=0x2]=_0x297728(0x41a),_0x2e79e7[_0x2e79e7[_0x297728(0x437)]=0x3]=_0x297728(0x437),_0x2e79e7[_0x2e79e7[_0x297728(0x199)]=0x4]=_0x297728(0x199),_0x2e79e7[_0x2e79e7[_0x297728(0x21a)]=0x5]=_0x297728(0x21a),_0x2e79e7[_0x2e79e7[_0x297728(0x2fe)]=0x6]=_0x297728(0x2fe),_0x2e79e7[_0x2e79e7['INVALID_ARGUMENT']=0x7]=_0x297728(0x405),_0x2e79e7[_0x2e79e7[_0x297728(0x259)]=0x8]='TOO_MANY_REQUESTS',_0x2e79e7[_0x2e79e7['COMPLETION_FINISHED']=0x9]=_0x297728(0x4a7),_0x2e79e7[_0x2e79e7['LOGIN_FAILED']=0xa]=_0x297728(0x471),_0x2e79e7[_0x2e79e7[_0x297728(0x2d3)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2e79e7[_0x2e79e7[_0x297728(0x29a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2e79e7[_0x2e79e7[_0x297728(0x367)]=0x1772]=_0x297728(0x367),_0x2e79e7[_0x2e79e7['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2e79e7[_0x2e79e7['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x2e79e7[_0x2e79e7['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x297728(0x3ed),_0x2e79e7[_0x2e79e7[_0x297728(0x1be)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2e79e7[_0x2e79e7[_0x297728(0x482)]=0x1b5c]=_0x297728(0x482),_0x2e79e7[_0x2e79e7[_0x297728(0x3c5)]=0x1b5d]=_0x297728(0x3c5),_0x2e79e7[_0x2e79e7[_0x297728(0x455)]=0x1f41]=_0x297728(0x455),_0x2e79e7[_0x2e79e7[_0x297728(0x261)]=0x2329]=_0x297728(0x261),_0x2e79e7[_0x2e79e7[_0x297728(0x45c)]=0x232a]=_0x297728(0x45c),_0x2e79e7[_0x2e79e7[_0x297728(0x432)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2e79e7[_0x2e79e7[_0x297728(0x36a)]=0x232c]=_0x297728(0x36a),_0x2e79e7[_0x2e79e7['LICENSE_DISTRO_REJECTED']=0x232d]=_0x297728(0x4a8),_0x2e79e7[_0x2e79e7[_0x297728(0x4af)]=0x2711]=_0x297728(0x4af),_0x2e79e7[_0x2e79e7['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x297728(0x469),_0x2e79e7[_0x2e79e7[_0x297728(0x396)]=0x2713]=_0x297728(0x396),_0x2e79e7[_0x2e79e7[_0x297728(0x33c)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2e79e7[_0x2e79e7['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x297728(0x228),_0x2e79e7[_0x2e79e7[_0x297728(0x363)]=0x271b]=_0x297728(0x363),_0x2e79e7[_0x2e79e7['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x297728(0x214),_0x2e79e7[_0x2e79e7['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x297728(0x225),_0x2e79e7[_0x2e79e7['INVALID_INVITE_CODE']=0x2ee2]=_0x297728(0x2de),_0x2e79e7[_0x2e79e7[_0x297728(0x32b)]=0x2ee3]=_0x297728(0x32b),_0x2e79e7[_0x2e79e7['USER_NOT_INVITED_CODE']=0x2ee4]=_0x297728(0x439),_0x2e79e7[_0x2e79e7['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x297728(0x28b),_0x2e79e7[_0x2e79e7[_0x297728(0x452)]=0x32c9]=_0x297728(0x452),_0x2e79e7[_0x2e79e7[_0x297728(0x489)]=0x32ca]=_0x297728(0x489),_0x2e79e7[_0x2e79e7[_0x297728(0x417)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2e79e7[_0x2e79e7[_0x297728(0x281)]=-0x1]='UNRECOGNIZED',_0x2e79e7))(_0x99b5f9||{}),_0x6bb05d=(_0x197b8c=>(_0x197b8c[_0x197b8c['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x197b8c[_0x197b8c['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x197b8c[_0x197b8c[_0x297728(0x49e)]=0x2]=_0x297728(0x49e),_0x197b8c[_0x197b8c['UNIVER_SLIDE']=0x3]=_0x297728(0x435),_0x197b8c[_0x197b8c[_0x297728(0x23c)]=0x4]=_0x297728(0x23c),_0x197b8c[_0x197b8c[_0x297728(0x281)]=-0x1]='UNRECOGNIZED',_0x197b8c))(_0x6bb05d||{}),_0x4dc838=(_0x167a2d=>(_0x167a2d[_0x167a2d[_0x297728(0x1ed)]=0x0]=_0x297728(0x1ed),_0x167a2d[_0x167a2d[_0x297728(0x40c)]=0x1]=_0x297728(0x40c),_0x167a2d[_0x167a2d[_0x297728(0x3bc)]=0x2]=_0x297728(0x3bc),_0x167a2d[_0x167a2d[_0x297728(0x411)]=0x3]=_0x297728(0x411),_0x167a2d[_0x167a2d['INGEST']=0x4]='INGEST',_0x167a2d[_0x167a2d[_0x297728(0x418)]=0x5]=_0x297728(0x418),_0x167a2d[_0x167a2d[_0x297728(0x395)]=0x6]=_0x297728(0x395),_0x167a2d[_0x167a2d[_0x297728(0x281)]=-0x1]=_0x297728(0x281),_0x167a2d))(_0x4dc838||{}),_0x4c9903=(_0x5b369d=>(_0x5b369d[_0x5b369d['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x5b369d[_0x5b369d['OK']=0x1]='OK',_0x5b369d[_0x5b369d[_0x297728(0x44a)]=0x2]=_0x297728(0x44a),_0x5b369d[_0x5b369d['JOIN_ROOM_FULL']=0x3e9]=_0x297728(0x4e8),_0x5b369d[_0x5b369d['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x297728(0x1b6),_0x5b369d[_0x5b369d['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x5b369d[_0x5b369d['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x5b369d[_0x5b369d[_0x297728(0x281)]=-0x1]=_0x297728(0x281),_0x5b369d))(_0x4c9903||{}),_0xe98cc2=(_0xf230a0=>(_0xf230a0[_0xf230a0[_0x297728(0x37a)]=0x0]='Undefined',_0xf230a0[_0xf230a0[_0x297728(0x496)]=0x1]=_0x297728(0x496),_0xf230a0[_0xf230a0[_0x297728(0x217)]=0x2]=_0x297728(0x217),_0xf230a0[_0xf230a0['UnitEmbedded']=0x3]=_0x297728(0x348),_0xf230a0[_0xf230a0['UnitSnapshot']=0x4]=_0x297728(0x477),_0xf230a0[_0xf230a0[_0x297728(0x450)]=0x5]=_0x297728(0x450),_0xf230a0[_0xf230a0[_0x297728(0x281)]=-0x1]=_0x297728(0x281),_0xf230a0))(_0xe98cc2||{});const _0x417457='collaboration-client.config',_0x58caa8={};var _0x4793e9=(_0x401105=>(_0x401105[_0x297728(0x353)]=_0x297728(0x353),_0x401105['PERMISSION_DENIED']=_0x297728(0x437),_0x401105[_0x297728(0x420)]=_0x297728(0x420),_0x401105[_0x297728(0x3d6)]=_0x297728(0x3d6),_0x401105[_0x297728(0x4ea)]=_0x297728(0x4ea),_0x401105[_0x297728(0x4c9)]=_0x297728(0x4c9),_0x401105['SOCKET_FAILED']='SOCKET_FAILED',_0x401105[_0x297728(0x472)]='SUBMIT_CHANGESET_TIMEOUT',_0x401105))(_0x4793e9||{});class _0x4d7771{constructor(){var _0x1e1e56=_0x297728;_0xea6913(this,_0x1e1e56(0x1d7),new _0x3c07cc[(_0x1e1e56(0x38e))]()),_0xea6913(this,'event$',this[_0x1e1e56(0x1d7)]['asObservable']());}[_0x297728(0x425)](_0x2aec2e){var _0x1681ad=_0x297728;this[_0x1681ad(0x1d7)]['next'](_0x2aec2e);}}const _0x5d4c0a=_0x1cba28['createIdentifier'](_0x297728(0x4bb));function _0xe27194(_0x1ffc93){var _0x12a313=_0x297728,_0x2f4912,_0x5b1625,_0x2d185c,_0x1bfdfb,_0x290a54;const _0x1f73cb=_0x1ffc93['data'],_0x4c395d=JSON['parse'](_0x1f73cb);switch(_0x4c395d[_0x12a313(0x2a5)]){case _0x4dc838['HEARTBEAT']:case _0x4dc838[_0x12a313(0x40c)]:{const _0x5aed24=_0x4c395d[_0x12a313(0x237)];return{..._0x4c395d,'data':_0x5aed24,'cmd':_0x4c395d[_0x12a313(0x2a5)]};}case _0x4dc838['JOIN']:{const _0x1ce63e=_0x4c395d[_0x12a313(0x26e)];return{..._0x4c395d,'data':_0x1ce63e,'cmd':_0x4c395d['cmd']};}case _0x4dc838[_0x12a313(0x395)]:{const _0x93256a=_0x4c395d['collaMsg'];switch(_0x93256a[_0x12a313(0x3b9)]){case _0x53e89d['CollaborationEvent'][_0x12a313(0x465)]:return{..._0x4c395d,'data':{..._0x93256a,'data':(_0x2f4912=_0x93256a[_0x12a313(0x1e4)])==null?void 0x0:_0x2f4912['cs']},'cmd':_0x4c395d[_0x12a313(0x2a5)]};case _0x53e89d[_0x12a313(0x276)][_0x12a313(0x287)]:return{..._0x4c395d,'data':{..._0x93256a,'data':(_0x5b1625=_0x93256a[_0x12a313(0x18b)])==null?void 0x0:_0x5b1625['cs']},'cmd':_0x4c395d[_0x12a313(0x2a5)]};case _0x53e89d[_0x12a313(0x276)][_0x12a313(0x30f)]:return{..._0x4c395d,'data':{..._0x93256a,'data':(_0x2d185c=_0x93256a[_0x12a313(0x3d7)])==null?void 0x0:_0x2d185c['cs']},'cmd':_0x4c395d[_0x12a313(0x2a5)]};case _0x53e89d[_0x12a313(0x276)]['CHANGESET_REJ']:return{..._0x4c395d,'data':{..._0x93256a,'data':(_0x1bfdfb=_0x93256a[_0x12a313(0x436)])==null?void 0x0:_0x1bfdfb['cs']},'cmd':_0x4c395d['cmd']};case _0x53e89d[_0x12a313(0x276)][_0x12a313(0x171)]:return{..._0x4c395d,'data':{..._0x93256a,'data':(_0x290a54=_0x93256a[_0x12a313(0x44c)])==null?void 0x0:_0x290a54['cs']},'cmd':_0x4c395d[_0x12a313(0x2a5)]};case _0x53e89d[_0x12a313(0x276)][_0x12a313(0x278)]:return{..._0x4c395d,'data':{..._0x93256a,'data':_0x93256a[_0x12a313(0x48b)]},'cmd':_0x4c395d['cmd']};case _0x53e89d[_0x12a313(0x276)]['USERS_ENTER']:return{..._0x4c395d,'data':{..._0x93256a,'data':_0x93256a[_0x12a313(0x2d1)]},'cmd':_0x4c395d[_0x12a313(0x2a5)]};case _0x53e89d[_0x12a313(0x276)]['USERS_LEAVE']:return{..._0x4c395d,'data':{..._0x93256a,'data':_0x93256a['leaveEvent']},'cmd':_0x4c395d['cmd']};case _0x53e89d['CollaborationEvent'][_0x12a313(0x29c)]:return{..._0x4c395d,'data':{..._0x93256a,'data':_0x93256a[_0x12a313(0x448)]},'cmd':_0x4c395d[_0x12a313(0x2a5)]};case _0x53e89d[_0x12a313(0x276)][_0x12a313(0x3e1)]:case _0x53e89d['CollaborationEvent'][_0x12a313(0x2d0)]:return{..._0x4c395d,'data':{..._0x93256a,'data':_0x93256a[_0x12a313(0x4c0)]},'cmd':_0x4c395d[_0x12a313(0x2a5)]};case _0x53e89d[_0x12a313(0x276)][_0x12a313(0x31c)]:return{..._0x4c395d,'data':{..._0x93256a,'data':_0x93256a[_0x12a313(0x448)]},'cmd':_0x4c395d['cmd']};case _0x53e89d[_0x12a313(0x276)][_0x12a313(0x1c1)]:return{..._0x4c395d,'data':_0x93256a,'cmd':_0x4c395d[_0x12a313(0x2a5)]};case _0x53e89d[_0x12a313(0x276)][_0x12a313(0x33a)]:return{..._0x4c395d,'data':{..._0x93256a,'data':_0x93256a[_0x12a313(0x176)]},'cmd':_0x4c395d[_0x12a313(0x2a5)]};case _0x53e89d[_0x12a313(0x276)][_0x12a313(0x476)]:return{..._0x4c395d,'data':{..._0x93256a,'data':_0x93256a[_0x12a313(0x427)]},'cmd':_0x4c395d[_0x12a313(0x2a5)]};case _0x53e89d[_0x12a313(0x276)][_0x12a313(0x3ab)]:return{..._0x4c395d,'data':{..._0x93256a,'data':_0x93256a[_0x12a313(0x379)]},'cmd':_0x4c395d[_0x12a313(0x2a5)]};case _0x53e89d[_0x12a313(0x276)]['UNISCRIPT_RUN']:return{..._0x4c395d,'data':{..._0x93256a,'data':_0x93256a[_0x12a313(0x305)]},'cmd':_0x4c395d[_0x12a313(0x2a5)]};default:return _0x4c395d;}}default:return _0x4c395d;}}function _0x2a6131(_0x1a679b){var _0x1ad599=_0x297728;switch(_0x1a679b[_0x1ad599(0x2a5)]){case _0x4dc838[_0x1ad599(0x418)]:case _0x4dc838[_0x1ad599(0x40c)]:return JSON[_0x1ad599(0x26b)]({'cmd':_0x1a679b[_0x1ad599(0x2a5)],'routeKey':_0x1a679b[_0x1ad599(0x3b3)]});case _0x4dc838['INGEST']:{let _0x482d81;switch(_0x1a679b['data']['eventID']){case _0x53e89d['CollaborationEvent'][_0x1ad599(0x278)]:{_0x482d81={'eventID':_0x53e89d[_0x1ad599(0x276)]['UPDATE_CURSOR'],'updateCursorEvent':_0x1a679b[_0x1ad599(0x20d)][_0x1ad599(0x20d)]};break;}case _0x53e89d[_0x1ad599(0x276)][_0x1ad599(0x38a)]:{_0x482d81={'eventID':_0x53e89d[_0x1ad599(0x276)][_0x1ad599(0x38a)],'leaveEvent':_0x1a679b[_0x1ad599(0x20d)][_0x1ad599(0x20d)]};break;}case _0x53e89d[_0x1ad599(0x276)][_0x1ad599(0x18d)]:{_0x482d81={'eventID':_0x53e89d[_0x1ad599(0x276)][_0x1ad599(0x18d)],'joinEvent':_0x1a679b[_0x1ad599(0x20d)][_0x1ad599(0x20d)]};break;}case _0x53e89d[_0x1ad599(0x276)][_0x1ad599(0x29c)]:{_0x482d81={'eventID':_0x53e89d[_0x1ad599(0x276)][_0x1ad599(0x29c)],'liveShareNewHost':_0x1a679b['data'][_0x1ad599(0x20d)]};break;}case _0x53e89d[_0x1ad599(0x276)][_0x1ad599(0x2d0)]:{_0x482d81={'eventID':_0x53e89d[_0x1ad599(0x276)][_0x1ad599(0x2d0)],'liveShareOperation':_0x1a679b[_0x1ad599(0x20d)]['data']};break;}case _0x53e89d['CollaborationEvent'][_0x1ad599(0x31c)]:{_0x482d81={'eventID':_0x53e89d['CollaborationEvent'][_0x1ad599(0x31c)],'liveShareTerminate':_0x1a679b[_0x1ad599(0x20d)][_0x1ad599(0x20d)]};break;}case _0x53e89d['CollaborationEvent'][_0x1ad599(0x449)]:{_0x482d81={'eventID':_0x53e89d['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1a679b[_0x1ad599(0x20d)][_0x1ad599(0x20d)]};break;}case _0x53e89d[_0x1ad599(0x276)][_0x1ad599(0x3e1)]:{_0x482d81={'eventID':_0x53e89d[_0x1ad599(0x276)][_0x1ad599(0x3e1)]};break;}default:_0x482d81={'eventID':_0x1a679b['data']['eventID']};}return JSON['stringify']({'cmd':_0x1a679b[_0x1ad599(0x2a5)],'routeKey':_0x1a679b[_0x1ad599(0x3b3)],'collaMsg':_0x482d81});}case _0x4dc838[_0x1ad599(0x3bc)]:return JSON['stringify']({'cmd':_0x1a679b['cmd'],'routeKey':_0x1a679b[_0x1ad599(0x3b3)],'joinReq':_0x1a679b[_0x1ad599(0x20d)]});case _0x4dc838[_0x1ad599(0x411)]:return JSON[_0x1ad599(0x26b)]({'cmd':_0x1a679b['cmd'],'routeKey':_0x1a679b[_0x1ad599(0x3b3)],'leaveReq':_0x1a679b[_0x1ad599(0x20d)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x39962b=Object[_0x297728(0x41b)],_0xe3b402=(_0x49b8fc,_0x22bc9a,_0x325ee9,_0x35f52d)=>{var _0x2a1fe6=_0x297728;for(var _0x2458b4=_0x35f52d>0x1?void 0x0:_0x35f52d?_0x39962b(_0x22bc9a,_0x325ee9):_0x22bc9a,_0x2c281e=_0x49b8fc[_0x2a1fe6(0x1e8)]-0x1,_0x2db34d;_0x2c281e>=0x0;_0x2c281e--)(_0x2db34d=_0x49b8fc[_0x2c281e])&&(_0x2458b4=_0x2db34d(_0x2458b4)||_0x2458b4);return _0x2458b4;},_0x1208ad=(_0x178f4d,_0xe577b)=>(_0x163cb8,_0x4e7197)=>_0xe577b(_0x163cb8,_0x4e7197,_0x178f4d);const _0x256527=_0x1cba28[_0x297728(0x38d)]('univer-pro.collaboration-client-socket-service');function _0x16bf21(_0x4ff539,_0x41763e,_0x54404c){var _0x22f1e8=_0x297728;return _0x4ff539+'/'+_0x41763e+'/unit/'+_0x54404c+_0x22f1e8(0x212);}_0x4e9958[_0x297728(0x4a5)]=class extends _0x1cba28[_0x297728(0x492)]{constructor(_0x2b49ba,_0x1f6051,_0x55efed,_0x54a994,_0x5c6c68){var _0x178d8e=_0x297728;super(),this[_0x178d8e(0x1dc)]=_0x2b49ba,this[_0x178d8e(0x3c2)]=_0x1f6051,this[_0x178d8e(0x21c)]=_0x55efed,this['_logService']=_0x54a994,this[_0x178d8e(0x39c)]=_0x5c6c68;}['_doCreateSocket'](_0x2fe4f1){var _0x4ce854=_0x297728;const _0xafba96=this[_0x4ce854(0x1dc)][_0x4ce854(0x40b)](_0x3f31ff[_0x4ce854(0x4e5)]);if(!_0xafba96)throw new Error(_0x4ce854(0x3e7));const _0x28b348=_0xafba96[_0x4ce854(0x193)](_0x2fe4f1);if(!_0x28b348)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2f0c6b=new _0x1cba28['DisposableCollection'](),_0x2077d2=new _0x3c07cc['Subject']();_0x2f0c6b[_0x4ce854(0x1c2)](_0x28b348[_0x4ce854(0x2cd)][_0x4ce854(0x451)](_0xb7f981=>_0x2077d2[_0x4ce854(0x352)](_0xb7f981))),_0x2f0c6b[_0x4ce854(0x1c2)](_0x1cba28['toDisposable'](()=>_0x2077d2['complete']()));const _0x3fd115=new _0x3c07cc[(_0x4ce854(0x38e))]();_0x2f0c6b[_0x4ce854(0x1c2)](_0x28b348[_0x4ce854(0x1cf)][_0x4ce854(0x451)](_0x220d87=>_0x3fd115['next'](_0x220d87))),_0x2f0c6b[_0x4ce854(0x1c2)](_0x1cba28[_0x4ce854(0x2b3)](()=>_0x3fd115[_0x4ce854(0x3b5)]()));const _0x2e7c39=new _0x3c07cc[(_0x4ce854(0x38e))]();_0x2f0c6b[_0x4ce854(0x1c2)](_0x28b348['message$']['subscribe'](_0x1cc30a=>{var _0x4240e5=_0x4ce854;const _0x224a8d=_0xe27194(_0x1cc30a);_0x2e7c39[_0x4240e5(0x352)](_0x224a8d);})),_0x2f0c6b[_0x4ce854(0x1c2)](_0x1cba28['toDisposable'](()=>_0x2e7c39['complete']()));let _0x219678;const _0x7b03e7=()=>{var _0x4171c2=_0x4ce854;_0x3fd115[_0x4171c2(0x352)](new Event('connection\x20error')),_0x2077d2['next'](new Event(_0x4171c2(0x263))),_0x219678[_0x4171c2(0x456)]();};return _0x219678={'memberID':'','close$':_0x2077d2[_0x4ce854(0x2da)](),'error$':_0x3fd115[_0x4ce854(0x2da)](),'open$':_0x28b348['open$'],'message$':_0x2e7c39[_0x4ce854(0x2da)](),'send':_0x1c0720=>{var _0x5340e3=_0x4ce854;if(_0x1c0720[_0x5340e3(0x2a5)]===_0x4dc838[_0x5340e3(0x3c1)]){if(_0x1c0720[_0x5340e3(0x20d)][_0x5340e3(0x3b9)]===_0x53e89d['CollaborationEvent'][_0x5340e3(0x236)]){this['_submitChangeset'](_0x219678,_0x1c0720['data'])['catch'](_0x2560e7=>{var _0x4c1514=_0x5340e3;this[_0x4c1514(0x269)][_0x4c1514(0x33f)](_0x2560e7),_0x7b03e7();});return;}if(_0x1c0720['data'][_0x5340e3(0x3b9)]===_0x53e89d[_0x5340e3(0x276)]['FETCH_MISSING']){const _0x3063ea=_0x1c0720[_0x5340e3(0x20d)];this[_0x5340e3(0x40e)](_0x3063ea)['then'](_0x8a2f7=>{var _0x5e2bc4=_0x5340e3;_0x2e7c39[_0x5e2bc4(0x352)]({'cmd':_0x4dc838['RECV'],'code':_0x4c9903['OK'],'routeKey':_0x3063ea[_0x5e2bc4(0x20d)][_0x5e2bc4(0x2bf)],'routeType':'','data':{'eventID':_0x53e89d[_0x5e2bc4(0x276)][_0x5e2bc4(0x1b1)],'data':{'changesets':_0x8a2f7}}});})[_0x5340e3(0x462)](_0x1f6a3d=>{var _0x584f13=_0x5340e3;this['_logService'][_0x584f13(0x33f)](_0x1f6a3d),_0x7b03e7();});return;}}_0x28b348[_0x5340e3(0x4df)](_0x2a6131(_0x1c0720));},'close':()=>{var _0x216081=_0x4ce854;_0x28b348[_0x216081(0x456)](),_0x2f0c6b[_0x216081(0x27e)]();}},_0x219678;}async['_submitChangeset'](_0x41b1ea,_0x26f361){var _0x5342cc=_0x297728,_0x3497bf,_0x43e83d;const {unitType:_0xe6a7d4,unitID:_0x1ce320,changeset:_0x277e16}=_0x26f361[_0x5342cc(0x20d)],_0x3d4f7d={'unitID':_0x1ce320,'memberID':_0x41b1ea[_0x5342cc(0x35d)],'type':_0xe6a7d4,'changeset':_0x53e89d[_0x5342cc(0x394)](_0x277e16)},_0x296f71=this[_0x5342cc(0x21c)]['getConfig'](_0x350b11),_0x4efc92=this[_0x5342cc(0x21c)][_0x5342cc(0x3fd)](_0x417457),_0x5545c0=_0x16bf21((_0x43e83d=(_0x3497bf=_0x4efc92==null?void 0x0:_0x4efc92['collabSubmitChangesetUrl'])!=null?_0x3497bf:_0x296f71)!=null?_0x43e83d:_0x3a2679,_0xe6a7d4,_0x1ce320);try{await this[_0x5342cc(0x3c2)]['post'](_0x5545c0,{'body':_0x3d4f7d});}catch(_0x4a3408){throw this[_0x5342cc(0x269)]['error'](_0x5342cc(0x36c),_0x5342cc(0x1f0)),_0x4a3408;}}async[_0x297728(0x40e)](_0x4d7dd2){var _0x353f33=_0x297728;const {unitID:_0x42746c,from:_0x164393,to:_0x3cce0a,unitType:_0x4f0888}=_0x4d7dd2['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x42746c,'type':_0x4f0888,'from':_0x164393,'to':_0x3cce0a}))[_0x353f33(0x292)];}},_0x4e9958[_0x297728(0x4a5)]=_0xe3b402([_0x1208ad(0x0,_0x1cba28[_0x297728(0x230)](_0x1cba28[_0x297728(0x3cf)])),_0x1208ad(0x1,_0x1cba28[_0x297728(0x230)](_0x3f31ff[_0x297728(0x319)])),_0x1208ad(0x2,_0x1cba28[_0x297728(0x210)]),_0x1208ad(0x3,_0x1cba28[_0x297728(0x3a8)]),_0x1208ad(0x4,_0x53e89d['ISnapshotServerService'])],_0x4e9958['CollaborationSocketService']);const _0x64a8bb=_0x297728(0x19f);function _0x5929f2(_0x4957ab){var _0x283f3d=_0x297728;return JSON[_0x283f3d(0x26b)](_0x4957ab)[_0x283f3d(0x1e8)];}class _0x2f82cf{constructor(){var _0x2ad909=_0x297728;_0xea6913(this,_0x2ad909(0x488),new _0x3c07cc['Subject']()),_0xea6913(this,_0x2ad909(0x3d1),this[_0x2ad909(0x488)][_0x2ad909(0x2da)]());}['onCommentUpdate'](_0x250835){var _0x1403e6=_0x297728;this[_0x1403e6(0x488)][_0x1403e6(0x352)](_0x250835);}}var _0x3b73db=Object['getOwnPropertyDescriptor'],_0x883c7f=(_0x1f806a,_0x199424,_0x23562c,_0x37cee8)=>{var _0x499091=_0x297728;for(var _0x521d97=_0x37cee8>0x1?void 0x0:_0x37cee8?_0x3b73db(_0x199424,_0x23562c):_0x199424,_0x2df336=_0x1f806a[_0x499091(0x1e8)]-0x1,_0x373565;_0x2df336>=0x0;_0x2df336--)(_0x373565=_0x1f806a[_0x2df336])&&(_0x521d97=_0x373565(_0x521d97)||_0x521d97);return _0x521d97;},_0x58ce92=(_0x2093b3,_0x944417)=>(_0x5b39a8,_0x32b135)=>_0x944417(_0x5b39a8,_0x32b135,_0x2093b3);_0x4e9958[_0x297728(0x24e)]=class extends _0x1cba28[_0x297728(0x492)]{constructor(_0x1542f5,_0x42d9b4){var _0x47c234=_0x297728;super(),_0xea6913(this,_0x47c234(0x191),new Map()),_0xea6913(this,'_roomCreated$',new _0x3c07cc[(_0x47c234(0x38e))]()),(this['_univerInstanceService']=_0x1542f5,this[_0x47c234(0x1c4)]=_0x42d9b4,this[_0x47c234(0x442)](_0x3c07cc[_0x47c234(0x33e)](this[_0x47c234(0x4a4)]['getTypeOfUnitDisposed$'](_0x1cba28['UniverInstanceType']['UNIVER_SHEET'])[_0x47c234(0x3f8)](_0x1da9aa[_0x47c234(0x242)](_0x2ef01c=>_0x2ef01c[_0x47c234(0x2c1)]())),this[_0x47c234(0x4a4)]['getTypeOfUnitDisposed$'](_0x1cba28[_0x47c234(0x485)][_0x47c234(0x1bf)])['pipe'](_0x1da9aa[_0x47c234(0x242)](_0x1df53a=>_0x1df53a[_0x47c234(0x2c1)]())),this[_0x47c234(0x4a4)][_0x47c234(0x4b4)](_0x1cba28['UniverInstanceType'][_0x47c234(0x435)])[_0x47c234(0x3f8)](_0x1da9aa['map'](_0x509b75=>_0x509b75[_0x47c234(0x2c1)]())))[_0x47c234(0x451)](_0xbd0544=>this[_0x47c234(0x4c8)](_0xbd0544))));}[_0x297728(0x4d9)](_0x71abd2){var _0x5efb01=_0x297728;return this[_0x5efb01(0x191)][_0x5efb01(0x2ae)](_0x71abd2)?_0x3c07cc['of'](this[_0x5efb01(0x191)][_0x5efb01(0x40b)](_0x71abd2)):this[_0x5efb01(0x3ad)][_0x5efb01(0x3f8)](_0x1da9aa[_0x5efb01(0x242)](_0x4f249c=>{var _0x90fcf0=_0x5efb01;if(_0x4f249c===_0x71abd2)return this[_0x90fcf0(0x191)][_0x90fcf0(0x40b)](_0x4f249c);}));}[_0x297728(0x32e)](_0x34ed9a){var _0xcc117e=_0x297728;this[_0xcc117e(0x1c4)][_0xcc117e(0x32e)](_0x34ed9a);}[_0x297728(0x483)](){var _0x1fa613=_0x297728;return this[_0x1fa613(0x1c4)][_0x1fa613(0x483)]();}[_0x297728(0x17e)](_0x131ec7,_0x47af35){var _0x465f38=_0x297728;let _0x45b8c6=this[_0x465f38(0x191)][_0x465f38(0x40b)](_0x131ec7);_0x45b8c6||(_0x45b8c6=new _0xb36a1(),this['_roomMembers'][_0x465f38(0x23a)](_0x131ec7,_0x45b8c6),this['_roomCreated$'][_0x465f38(0x352)](_0x131ec7)),_0x45b8c6['updateMember'](_0x47af35);}[_0x297728(0x3d9)](_0x2f2596,_0x227aa8){var _0x3eac0f=_0x297728;const _0xbfd280=this[_0x3eac0f(0x191)][_0x3eac0f(0x40b)](_0x2f2596);_0xbfd280&&_0xbfd280[_0x3eac0f(0x3d9)](_0x227aa8);}[_0x297728(0x3b2)](_0x620bb5){var _0xf10bde=_0x297728;return this[_0xf10bde(0x191)]['get'](_0x620bb5);}['getMember'](_0x5ad7b2,_0x2474c5){var _0xc6846e=_0x297728;const _0x3af24b=this[_0xc6846e(0x191)][_0xc6846e(0x40b)](_0x5ad7b2);if(_0x3af24b)return _0x3af24b[_0xc6846e(0x322)](_0x2474c5);}['_removeRoom'](_0x2bdfe3){var _0x21c7cd=_0x297728;const _0x573fab=this['_roomMembers']['get'](_0x2bdfe3);_0x573fab&&(_0x573fab[_0x21c7cd(0x27e)](),this[_0x21c7cd(0x191)][_0x21c7cd(0x27d)](_0x2bdfe3));}[_0x297728(0x27e)](){var _0x14b64e=_0x297728;this[_0x14b64e(0x191)][_0x14b64e(0x350)](_0x2f2e14=>_0x2f2e14[_0x14b64e(0x27e)]()),this[_0x14b64e(0x191)][_0x14b64e(0x34e)](),this[_0x14b64e(0x3ad)][_0x14b64e(0x3b5)]();}},_0x4e9958[_0x297728(0x24e)]=_0x883c7f([_0x58ce92(0x0,_0x1cba28['IUniverInstanceService']),_0x58ce92(0x1,_0x1cba28['Inject'](_0x1cba28[_0x297728(0x27b)]))],_0x4e9958[_0x297728(0x24e)]);class _0xb36a1 extends _0x1cba28[_0x297728(0x492)]{constructor(){var _0x249a44=_0x297728;super(...arguments),_0xea6913(this,_0x249a44(0x2a7),new Map()),_0xea6913(this,_0x249a44(0x4cc),new _0x3c07cc['BehaviorSubject'](this['_members'])),_0xea6913(this,_0x249a44(0x3af),this['_members$'][_0x249a44(0x2da)]());}['dispose'](){var _0x1d7903=_0x297728;this[_0x1d7903(0x2a7)][_0x1d7903(0x34e)]();}[_0x297728(0x17e)](_0xe7b34){var _0x4302ae=_0x297728;this[_0x4302ae(0x2a7)]['set'](_0xe7b34[_0x4302ae(0x35d)],_0xe7b34),this['_emitMembers']();}[_0x297728(0x3d9)](_0x580991){var _0x301dfd=_0x297728;this[_0x301dfd(0x2a7)]['delete'](_0x580991);}[_0x297728(0x322)](_0x444fb5){var _0x4d2dd4=_0x297728;return this[_0x4d2dd4(0x2a7)][_0x4d2dd4(0x40b)](_0x444fb5);}[_0x297728(0x387)](){var _0x2d37ad=_0x297728;return Array[_0x2d37ad(0x410)](this['_members'][_0x2d37ad(0x170)]());}[_0x297728(0x301)](){var _0x410b02=_0x297728;this['_members$'][_0x410b02(0x352)](this[_0x410b02(0x2a7)]);}}var _0x2e3ded=Object[_0x297728(0x41b)],_0x906488=(_0x383114,_0x2c0a4c,_0x3d56c1,_0x2aa1de)=>{var _0x3bdf04=_0x297728;for(var _0x2c6ea2=_0x2aa1de>0x1?void 0x0:_0x2aa1de?_0x2e3ded(_0x2c0a4c,_0x3d56c1):_0x2c0a4c,_0x1bf7cf=_0x383114[_0x3bdf04(0x1e8)]-0x1,_0x94a889;_0x1bf7cf>=0x0;_0x1bf7cf--)(_0x94a889=_0x383114[_0x1bf7cf])&&(_0x2c6ea2=_0x94a889(_0x2c6ea2)||_0x2c6ea2);return _0x2c6ea2;},_0x566e7f=(_0x1c3bb1,_0x1bff92)=>(_0x224774,_0x1a891e)=>_0x1bff92(_0x224774,_0x1a891e,_0x1c3bb1),_0xa1a05d=(_0x561eb8=>(_0x561eb8[_0x561eb8[_0x297728(0x299)]=0x0]=_0x297728(0x299),_0x561eb8[_0x561eb8['JOINING']=0x1]='JOINING',_0x561eb8[_0x561eb8[_0x297728(0x3f5)]=0x2]=_0x297728(0x3f5),_0x561eb8[_0x561eb8[_0x297728(0x30a)]=0x3]=_0x297728(0x30a),_0x561eb8))(_0xa1a05d||{});const _0x16ca8b={[_0x4c9903[_0x297728(0x44a)]]:_0x297728(0x232),[_0x4c9903[_0x297728(0x4e8)]]:_0x297728(0x4c5),[_0x4c9903['JOIN_ROOM_NOT_EXISTS']]:_0x297728(0x421),[_0x4c9903['JOIN_ROOM_PERMISSION_DENIED']]:_0x297728(0x4a6),[_0x4c9903[_0x297728(0x388)]]:_0x297728(0x256)};_0x4e9958[_0x297728(0x207)]=class extends _0x1cba28[_0x297728(0x415)]{constructor(_0x31ff82,_0x42546b,_0x5d4f65,_0x4c1a14,_0x441062,_0x57778c,_0x26245b,_0x2ea05e,_0x300890){var _0x5ad389=_0x297728;super(),_0xea6913(this,_0x5ad389(0x29d),new _0x3c07cc[(_0x5ad389(0x241))](0x0)),_0xea6913(this,_0x5ad389(0x4be),this[_0x5ad389(0x29d)][_0x5ad389(0x2da)]()),_0xea6913(this,_0x5ad389(0x1d7),new _0x3c07cc[(_0x5ad389(0x38e))]()),_0xea6913(this,_0x5ad389(0x27f),this[_0x5ad389(0x1d7)][_0x5ad389(0x2da)]()),_0xea6913(this,_0x5ad389(0x175)),_0xea6913(this,_0x5ad389(0x4cb)),_0xea6913(this,_0x5ad389(0x2eb)),_0xea6913(this,_0x5ad389(0x1ca),!0x1),_0xea6913(this,_0x5ad389(0x2ad),null),(this[_0x5ad389(0x190)]=_0x31ff82,this[_0x5ad389(0x269)]=_0x5d4f65,this[_0x5ad389(0x21c)]=_0x4c1a14,this['_localeService']=_0x441062,this[_0x5ad389(0x1c6)]=_0x57778c,this[_0x5ad389(0x46b)]=_0x26245b,this['_collaborationUIEventService']=_0x2ea05e,this['_telemetryService']=_0x300890,this[_0x5ad389(0x1ca)]=!!this[_0x5ad389(0x227)],_0x42546b[_0x5ad389(0x3f8)](_0x3c07cc[_0x5ad389(0x46a)](this['dispose$']))[_0x5ad389(0x451)](_0x463225=>{var _0x5c3ab9=_0x5ad389,_0x185b8c;typeof _0x463225>'u'||(this[_0x5c3ab9(0x175)]=_0x463225,_0x463225?(this[_0x5c3ab9(0x474)](_0x463225),this[_0x5c3ab9(0x4cb)]=_0x463225[_0x5c3ab9(0x4e1)]['subscribe'](_0x2d4d10=>{var _0x3881ba=_0x5c3ab9;_0x2d4d10['routeKey']===this['_unitID']&&this[_0x3881ba(0x393)](_0x2d4d10);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x5c3ab9(0x352)](0x2),(_0x185b8c=this[_0x5c3ab9(0x4cb)])==null||_0x185b8c[_0x5c3ab9(0x4a9)](),this['_socketMessageSubscription']=null));}));}get[_0x297728(0x344)](){var _0x24c129=_0x297728;return this[_0x24c129(0x29d)][_0x24c129(0x3c7)]();}[_0x297728(0x390)](){var _0x350678=_0x297728,_0x28dcf5,_0x5ee9d9;return(_0x5ee9d9=(_0x28dcf5=this['_socket'])==null?void 0x0:_0x28dcf5[_0x350678(0x35d)])!=null?_0x5ee9d9:null;}[_0x297728(0x27e)](){var _0x5866e5=_0x297728;super[_0x5866e5(0x27e)](),this['dispose$']['next'](),this['dispose$'][_0x5866e5(0x3b5)]();}[_0x297728(0x456)](){var _0x2e84d9=_0x297728,_0xe12844,_0x5d130c;this[_0x2e84d9(0x3a6)](),(_0xe12844=this[_0x2e84d9(0x175)])==null||_0xe12844['send']({'cmd':_0x4dc838['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x5d130c=this['_socket'])==null||_0x5d130c['close'](),this[_0x2e84d9(0x1d7)]['complete'](),this['_sessionStatus$'][_0x2e84d9(0x3b5)](),this[_0x2e84d9(0x27e)]();}[_0x297728(0x393)](_0x4dc865){var _0x3cc476=_0x297728;_0x4dc865[_0x3cc476(0x2a5)]===_0x4dc838[_0x3cc476(0x3bc)]?this['_onJoinRoomEvent'](_0x4dc865):_0x4dc865[_0x3cc476(0x2a5)]===_0x4dc838[_0x3cc476(0x395)]&&this[_0x3cc476(0x215)](_0x4dc865);}[_0x297728(0x474)](_0x411f22){var _0x9995b=_0x297728;this[_0x9995b(0x29d)][_0x9995b(0x352)](0x1),_0x411f22[_0x9995b(0x4df)]({'cmd':_0x4dc838[_0x9995b(0x3bc)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x9995b(0x190)]}]}});}[_0x297728(0x4da)](_0x5c62ce){var _0x5e7e6d=_0x297728,_0x521c3b;if(_0x5c62ce[_0x5e7e6d(0x291)]in _0x16ca8b){this[_0x5e7e6d(0x38c)][_0x5e7e6d(0x425)]({'id':_0x4793e9[_0x5e7e6d(0x4ea)],'data':_0x16ca8b[_0x5c62ce[_0x5e7e6d(0x291)]]}),this[_0x5e7e6d(0x29d)][_0x5e7e6d(0x352)](0x2);return;}this[_0x5e7e6d(0x29d)][_0x5e7e6d(0x352)](0x3);const _0x572408=(_0x521c3b=_0x5c62ce[_0x5e7e6d(0x20d)][_0x5e7e6d(0x3be)][this[_0x5e7e6d(0x190)]])==null?void 0x0:_0x521c3b[_0x5e7e6d(0x3a0)];_0x572408&&_0x572408['forEach'](_0x668318=>this[_0x5e7e6d(0x1c6)][_0x5e7e6d(0x17e)](this['_unitID'],_0x668318));}[_0x297728(0x215)](_0xd700e7){var _0x5d6754=_0x297728;try{const _0x1fc04a=_0xd700e7[_0x5d6754(0x20d)];switch(_0x1fc04a['eventID']){case _0x53e89d[_0x5d6754(0x276)][_0x5d6754(0x18d)]:this[_0x5d6754(0x25e)](_0x1fc04a),this[_0x5d6754(0x1d7)][_0x5d6754(0x352)](_0x1fc04a);break;case _0x53e89d['CollaborationEvent']['USERS_LEAVE']:this[_0x5d6754(0x285)](_0x1fc04a),this['_event$'][_0x5d6754(0x352)](_0x1fc04a);break;case _0x53e89d[_0x5d6754(0x276)]['CHANGESET_ACK']:case _0x53e89d[_0x5d6754(0x276)][_0x5d6754(0x171)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x5d6754(0x1d4)](),this[_0x5d6754(0x1d7)][_0x5d6754(0x352)](_0x1fc04a);break;case _0x53e89d['CollaborationEvent'][_0x5d6754(0x1c1)]:this['_logService'][_0x5d6754(0x33f)](_0x5d6754(0x4d1)+JSON['stringify'](_0x1fc04a)),this[_0x5d6754(0x1d7)][_0x5d6754(0x352)](_0x1fc04a);break;case _0x53e89d[_0x5d6754(0x276)]['COMMENT_UPDATE']:this[_0x5d6754(0x46b)][_0x5d6754(0x406)](_0x1fc04a['data']),this[_0x5d6754(0x1d7)]['next'](_0x1fc04a);break;default:this[_0x5d6754(0x1d7)][_0x5d6754(0x352)](_0x1fc04a);}}catch(_0x398d81){this['_logService'][_0x5d6754(0x33f)](_0x398d81,_0xd700e7);}}[_0x297728(0x25e)](_0xd807f3){var _0x4726c7=_0x297728;this[_0x4726c7(0x1c6)][_0x4726c7(0x17e)](this['_unitID'],_0xd807f3[_0x4726c7(0x20d)]);}[_0x297728(0x285)](_0x34fb53){var _0x58a488=_0x297728;this[_0x58a488(0x1c6)][_0x58a488(0x3d9)](this[_0x58a488(0x190)],_0x34fb53[_0x58a488(0x20d)]['memberID']);}async[_0x297728(0x4df)](_0x561fee,_0x35554a){var _0x3b8635=_0x297728;if(this[_0x3b8635(0x344)]!==0x3||!this[_0x3b8635(0x175)])throw new Error(_0x3b8635(0x2f4));try{_0x561fee[_0x3b8635(0x3b9)]===_0x53e89d['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x3b8635(0x384)](),this[_0x3b8635(0x4ca)](_0x561fee)),this[_0x3b8635(0x175)][_0x3b8635(0x4df)]({'cmd':_0x4dc838[_0x3b8635(0x3c1)],'routeKey':_0x35554a,'routeType':'','data':_0x561fee});}catch(_0x36e077){this[_0x3b8635(0x269)]['error'](_0x36e077);}}[_0x297728(0x384)](){var _0x34ae5a=_0x297728,_0x3ece34;this[_0x34ae5a(0x2eb)]=setTimeout(()=>{var _0x441c38=_0x34ae5a;this['_collaborationTimeoutTimer']=null,this[_0x441c38(0x38c)][_0x441c38(0x425)]({'id':_0x4793e9[_0x441c38(0x472)]});},(_0x3ece34=this[_0x34ae5a(0x21c)][_0x34ae5a(0x3fd)](_0x1dd843))!=null?_0x3ece34:0x4e20);}[_0x297728(0x1d4)](){var _0x420aeb=_0x297728;this[_0x420aeb(0x2eb)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x297728(0x4ca)](_0xd61bd3){var _0x35c63d=_0x297728;if(!this[_0x35c63d(0x1ca)])return;const {data:_0x232726}=_0xd61bd3,{unitID:_0x5a4715,changeset:_0x44fa64}=_0x232726,{mutations:_0x14430e,type:_0xe6ae5a}=_0x44fa64;this[_0x35c63d(0x2ad)]={'unitId':_0x5a4715,'type':_0xe6ae5a,'startTime':performance[_0x35c63d(0x31f)](),'stopTime':0x0,'duration':0x0,'size':_0x5929f2(_0x14430e)};}[_0x297728(0x1f1)](){var _0x100f33=_0x297728;if(this[_0x100f33(0x1ca)]){if(!this[_0x100f33(0x2ad)]){this['_logService'][_0x100f33(0x33f)](_0x100f33(0x36c),_0x100f33(0x434));return;}this[_0x100f33(0x2ad)][_0x100f33(0x340)]=performance['now'](),this[_0x100f33(0x2ad)]['duration']=this[_0x100f33(0x2ad)]['stopTime']-this['_telemetryInfo'][_0x100f33(0x1d2)],this['_telemetryService']['capture'](_0x64a8bb,this[_0x100f33(0x2ad)]),this[_0x100f33(0x2ad)]=null;}}[_0x297728(0x3a6)](){this['_telemetryInfo']=null;}},_0x4e9958[_0x297728(0x207)]=_0x906488([_0x566e7f(0x2,_0x1cba28[_0x297728(0x3a8)]),_0x566e7f(0x3,_0x1cba28[_0x297728(0x210)]),_0x566e7f(0x4,_0x1cba28[_0x297728(0x230)](_0x1cba28['LocaleService'])),_0x566e7f(0x5,_0x1cba28[_0x297728(0x230)](_0x4e9958['MemberService'])),_0x566e7f(0x6,_0x1cba28[_0x297728(0x230)](_0x2f82cf)),_0x566e7f(0x7,_0x1cba28[_0x297728(0x230)](_0x4d7771)),_0x566e7f(0x8,_0x1cba28[_0x297728(0x29f)](_0x4e85ab[_0x297728(0x2ee)]))],_0x4e9958['CollaborationSession']);var _0x13eea8=Object[_0x297728(0x41b)],_0x318c0e=(_0x4e15fd,_0xd1b8ad,_0x2367e4,_0x4ea6b3)=>{var _0x367112=_0x297728;for(var _0x4e52ec=_0x4ea6b3>0x1?void 0x0:_0x4ea6b3?_0x13eea8(_0xd1b8ad,_0x2367e4):_0xd1b8ad,_0x2e5187=_0x4e15fd[_0x367112(0x1e8)]-0x1,_0xf34ce3;_0x2e5187>=0x0;_0x2e5187--)(_0xf34ce3=_0x4e15fd[_0x2e5187])&&(_0x4e52ec=_0xf34ce3(_0x4e52ec)||_0x4e52ec);return _0x4e52ec;},_0x375c15=(_0x1fb615,_0x456639)=>(_0x27f59b,_0x22d52e)=>_0x456639(_0x27f59b,_0x22d52e,_0x1fb615);_0x4e9958[_0x297728(0x2d9)]=class extends _0x1cba28[_0x297728(0x492)]{constructor(_0x1ec808,_0x9f9c2,_0x4d810e,_0x5b0bdd,_0x2553eb,_0x55c487){var _0x4e140f=_0x297728;super(),_0xea6913(this,'_socket$',new _0x3c07cc['BehaviorSubject'](void 0x0)),_0xea6913(this,_0x4e140f(0x184),this[_0x4e140f(0x3dd)][_0x4e140f(0x2da)]()),_0xea6913(this,_0x4e140f(0x43c),null),_0xea6913(this,_0x4e140f(0x47d),new Map()),_0xea6913(this,_0x4e140f(0x345),new _0x3c07cc[(_0x4e140f(0x241))](_0xa1a05d[_0x4e140f(0x299)])),_0xea6913(this,_0x4e140f(0x307),this[_0x4e140f(0x345)]['asObservable']()),_0xea6913(this,'_socketReady',!0x1),_0xea6913(this,_0x4e140f(0x1ff)),_0xea6913(this,_0x4e140f(0x2b2),0x0),_0xea6913(this,_0x4e140f(0x430)),_0xea6913(this,_0x4e140f(0x1d0)),(this[_0x4e140f(0x1dc)]=_0x1ec808,this[_0x4e140f(0x269)]=_0x9f9c2,this[_0x4e140f(0x21c)]=_0x4d810e,this['_socketService']=_0x5b0bdd,this[_0x4e140f(0x38c)]=_0x2553eb,this[_0x4e140f(0x1ab)]=_0x55c487,this['_listenToNetworkCondition']());}get[_0x297728(0x175)](){var _0x91091c=_0x297728;return this[_0x91091c(0x3dd)][_0x91091c(0x3c7)]();}['_listenToNetworkCondition'](){var _0x286bcc=_0x297728;this[_0x286bcc(0x1ab)]&&this['disposeWithMe'](this[_0x286bcc(0x1ab)][_0x286bcc(0x4ee)][_0x286bcc(0x451)](_0x2bcb21=>{var _0x573f44=_0x286bcc;_0x2bcb21&&!this[_0x573f44(0x175)]&&this['reconnect'](),_0x2bcb21||this['_onOffline']();}));}['dispose'](){var _0x2dce7f=_0x297728;super[_0x2dce7f(0x27e)](),this[_0x2dce7f(0x4b9)](),this[_0x2dce7f(0x2a1)](),this[_0x2dce7f(0x441)](),this[_0x2dce7f(0x47d)][_0x2dce7f(0x350)](_0x1a8c81=>_0x1a8c81[_0x2dce7f(0x27e)]()),this[_0x2dce7f(0x47d)][_0x2dce7f(0x34e)](),this[_0x2dce7f(0x345)][_0x2dce7f(0x3b5)]();}async[_0x297728(0x1db)](_0x29c321){var _0x258dfa=_0x297728;if(this[_0x258dfa(0x47d)][_0x258dfa(0x2ae)](_0x29c321))return this[_0x258dfa(0x47d)][_0x258dfa(0x40b)](_0x29c321);this[_0x258dfa(0x2df)]();const _0x83867c=this['_injector'][_0x258dfa(0x41e)](_0x4e9958[_0x258dfa(0x207)],_0x29c321,this[_0x258dfa(0x3dd)][_0x258dfa(0x2da)]());return this[_0x258dfa(0x47d)][_0x258dfa(0x23a)](_0x29c321,_0x83867c),_0x83867c;}[_0x297728(0x1a2)](_0x4966ed){var _0x4d5bdc=_0x297728,_0x6f2de1;const _0x5b7138=this[_0x4d5bdc(0x47d)]['get'](_0x4966ed);_0x5b7138&&(this[_0x4d5bdc(0x47d)]['delete'](_0x4966ed),_0x5b7138[_0x4d5bdc(0x456)]()),this['_sessions'][_0x4d5bdc(0x33d)]||(_0x6f2de1=this[_0x4d5bdc(0x175)])==null||_0x6f2de1[_0x4d5bdc(0x456)]();}[_0x297728(0x293)](){var _0x2a6ae3=_0x297728;this[_0x2a6ae3(0x2b2)]=0x0,this[_0x2a6ae3(0x4b9)](),this['_tryReconnect']();}[_0x297728(0x4b9)](){var _0x2ee7e8=_0x297728;this[_0x2ee7e8(0x1ff)]!=null&&(clearTimeout(this[_0x2ee7e8(0x1ff)]),this['_retryConnectingTimer']=null);}async[_0x297728(0x2f0)](){var _0xd8694e=_0x297728,_0x259348,_0x32099e;const _0x1e62d1=this['_configService']['getConfig'](_0xb9a30e),_0x18fc4a=this[_0xd8694e(0x21c)][_0xd8694e(0x3fd)](_0x417457),_0x54c312=(_0x32099e=(_0x259348=_0x18fc4a==null?void 0x0:_0x18fc4a['collabWebSocketUrl'])!=null?_0x259348:_0x1e62d1)!=null?_0x32099e:_0x3a015d,_0x5cb4c7=await this['_socketService']['createSocket'](_0x54c312);return this[_0xd8694e(0x43c)]=_0x5cb4c7,_0x5cb4c7;}async[_0x297728(0x2df)](){var _0x40576e=_0x297728,_0x424ac4,_0x119a0e;try{const _0x418db8=(_0x119a0e=(_0x424ac4=this['_socket'])!=null?_0x424ac4:this['_candidateSocket'])!=null?_0x119a0e:await this[_0x40576e(0x2f0)]();if(_0x418db8){const _0x513111=_0x418db8['send'];_0x418db8[_0x40576e(0x4df)]=_0x4ef100=>(this[_0x40576e(0x426)](),_0x513111[_0x40576e(0x1b7)](_0x418db8,[_0x4ef100])),_0x418db8[_0x40576e(0x4e1)][_0x40576e(0x451)](_0x33aafd=>this['_onMessage'](_0x418db8,_0x33aafd)),_0x418db8[_0x40576e(0x1cf)][_0x40576e(0x3f8)](_0x1da9aa[_0x40576e(0x25a)](0x1))['subscribe'](_0x4a6773=>this[_0x40576e(0x269)][_0x40576e(0x33f)](_0x40576e(0x31b),_0x4a6773)),_0x418db8[_0x40576e(0x32a)][_0x40576e(0x3f8)](_0x1da9aa['take'](0x1))[_0x40576e(0x451)](()=>{this['_onConnectionOpen'](_0x418db8);}),_0x418db8['close$'][_0x40576e(0x3f8)](_0x1da9aa['take'](0x1))['subscribe'](_0x11a11e=>{var _0x549433=_0x40576e;this[_0x549433(0x269)][_0x549433(0x35e)](_0x549433(0x49d),'socket\x20close',_0x11a11e),this[_0x549433(0x392)]();});}}catch(_0x477dfd){this[_0x40576e(0x269)][_0x40576e(0x33f)](_0x477dfd),this['_onConnectionFailed']();}}[_0x297728(0x3d4)](_0x46c958){var _0x3ac5db=_0x297728;this[_0x3ac5db(0x269)][_0x3ac5db(0x35e)](_0x3ac5db(0x49d),'socket\x20open.'),_0x46c958[_0x3ac5db(0x4df)]({'cmd':_0x4dc838[_0x3ac5db(0x40c)]}),this[_0x3ac5db(0x426)]();}[_0x297728(0x275)](){var _0x5400be=_0x297728;this[_0x5400be(0x3f7)]=!0x1,this[_0x5400be(0x43c)]=null,this[_0x5400be(0x345)]['next'](_0xa1a05d[_0x5400be(0x3f5)]),this[_0x5400be(0x3dd)]['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x297728(0x392)](){var _0x352bba=_0x297728,_0x2ebe3f;this[_0x352bba(0x275)](),this[_0x352bba(0x2b2)]<((_0x2ebe3f=this[_0x352bba(0x21c)]['getConfig'](_0x4513cc))!=null?_0x2ebe3f:0x3)?(this[_0x352bba(0x38c)][_0x352bba(0x425)]({'id':_0x4793e9[_0x352bba(0x4c9)]}),this[_0x352bba(0x20e)]()):this[_0x352bba(0x38c)]['emitEvent']({'id':_0x4793e9['SOCKET_FAILED']});}[_0x297728(0x20e)](){var _0x2edb37=_0x297728,_0x5c6977;const _0x18b8b5=this[_0x2edb37(0x2b2)],_0x5f1986=this['_configService'][_0x2edb37(0x3fd)](_0x417457),_0x39e131=_0x18b8b5===0x0?0x0:((_0x5c6977=_0x5f1986==null?void 0x0:_0x5f1986[_0x2edb37(0x366)])!=null?_0x5c6977:0x4e20)*0x2**_0x18b8b5;this[_0x2edb37(0x1ff)]=setTimeout(()=>{var _0x9458f2=_0x2edb37;clearTimeout(this[_0x9458f2(0x1ff)]),this['_retryConnectingTimer']=null,this[_0x9458f2(0x2df)]();},_0x39e131),this[_0x2edb37(0x2b2)]+=0x1;}[_0x297728(0x486)](_0x29a99e,_0x4bb03d){var _0x3c1563=_0x297728;const {cmd:_0x168b5a}=_0x4bb03d;_0x168b5a===_0x4dc838[_0x3c1563(0x40c)]&&!this['_socketReady']&&(_0x29a99e['memberID']=_0x4bb03d[_0x3c1563(0x20d)]['memberID'],this['_socket$'][_0x3c1563(0x352)](_0x29a99e),this[_0x3c1563(0x345)][_0x3c1563(0x352)](_0xa1a05d[_0x3c1563(0x30a)]),this[_0x3c1563(0x3f7)]=!0x0,this[_0x3c1563(0x43c)]=null),_0x168b5a===_0x4dc838[_0x3c1563(0x418)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x297728(0x426)](){var _0x8fe9dc=_0x297728,_0x353619;this[_0x8fe9dc(0x441)](),this[_0x8fe9dc(0x430)]=setTimeout(()=>this[_0x8fe9dc(0x218)](),(_0x353619=this['_configService']['getConfig'](_0x5949f9))!=null?_0x353619:0x7530);}['_sendHeartbeat'](){var _0x5e2471=_0x297728;this['_socket']['send']({'cmd':_0x4dc838[_0x5e2471(0x418)]}),this['_waitForHeartbeatResponse']();}[_0x297728(0x1e6)](){var _0x471b72=_0x297728,_0xeeeff4;this['_timeoutTimer']=setTimeout(()=>this[_0x471b72(0x392)](),(_0xeeeff4=this[_0x471b72(0x21c)][_0x471b72(0x3fd)](_0x1dd843))!=null?_0xeeeff4:0x4e20);}[_0x297728(0x441)](){var _0x62d9ed=_0x297728;this[_0x62d9ed(0x430)]!=null&&(clearTimeout(this[_0x62d9ed(0x430)]),this[_0x62d9ed(0x430)]=null);}[_0x297728(0x2a1)](){var _0x309df3=_0x297728;this[_0x309df3(0x1d0)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},_0x4e9958[_0x297728(0x2d9)]=_0x318c0e([_0x375c15(0x0,_0x1cba28[_0x297728(0x230)](_0x1cba28['Injector'])),_0x375c15(0x1,_0x1cba28[_0x297728(0x3a8)]),_0x375c15(0x2,_0x1cba28['IConfigService']),_0x375c15(0x3,_0x256527),_0x375c15(0x4,_0x1cba28[_0x297728(0x230)](_0x4d7771)),_0x375c15(0x5,_0x1cba28[_0x297728(0x29f)](_0x5d4c0a))],_0x4e9958[_0x297728(0x2d9)]);const _0x33d823=[];for(let _0xf7d5b0=0x0;_0xf7d5b0<0x100;++_0xf7d5b0)_0x33d823[_0x297728(0x2e2)]((_0xf7d5b0+0x100)[_0x297728(0x351)](0x10)[_0x297728(0x1c8)](0x1));function _0x5bff44(_0x52a498,_0x53c94f=0x0){var _0x3d4af6=_0x297728;return(_0x33d823[_0x52a498[_0x53c94f+0x0]]+_0x33d823[_0x52a498[_0x53c94f+0x1]]+_0x33d823[_0x52a498[_0x53c94f+0x2]]+_0x33d823[_0x52a498[_0x53c94f+0x3]]+'-'+_0x33d823[_0x52a498[_0x53c94f+0x4]]+_0x33d823[_0x52a498[_0x53c94f+0x5]]+'-'+_0x33d823[_0x52a498[_0x53c94f+0x6]]+_0x33d823[_0x52a498[_0x53c94f+0x7]]+'-'+_0x33d823[_0x52a498[_0x53c94f+0x8]]+_0x33d823[_0x52a498[_0x53c94f+0x9]]+'-'+_0x33d823[_0x52a498[_0x53c94f+0xa]]+_0x33d823[_0x52a498[_0x53c94f+0xb]]+_0x33d823[_0x52a498[_0x53c94f+0xc]]+_0x33d823[_0x52a498[_0x53c94f+0xd]]+_0x33d823[_0x52a498[_0x53c94f+0xe]]+_0x33d823[_0x52a498[_0x53c94f+0xf]])[_0x3d4af6(0x334)]();}let _0x5e6ab0;const _0x22f69f=new Uint8Array(0x10);function _0x20ef5a(){var _0x4bb135=_0x297728;if(!_0x5e6ab0){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x4bb135(0x42b));_0x5e6ab0=crypto[_0x4bb135(0x239)][_0x4bb135(0x1b5)](crypto);}return _0x5e6ab0(_0x22f69f);}const _0x4b6806={'randomUUID':typeof crypto<'u'&&crypto[_0x297728(0x494)]&&crypto[_0x297728(0x494)][_0x297728(0x1b5)](crypto)};function _0x1abbcd(_0x1ebe06,_0xe9d559,_0x450be9){var _0x29aadf=_0x297728,_0x58e280,_0x461908,_0x514016;if(_0x4b6806[_0x29aadf(0x494)]&&!_0x1ebe06)return _0x4b6806[_0x29aadf(0x494)]();_0x1ebe06=_0x1ebe06||{};const _0x2f1bb8=(_0x514016=(_0x461908=_0x1ebe06[_0x29aadf(0x3ac)])!=null?_0x461908:(_0x58e280=_0x1ebe06[_0x29aadf(0x204)])==null?void 0x0:_0x58e280[_0x29aadf(0x17f)](_0x1ebe06))!=null?_0x514016:_0x20ef5a();if(_0x2f1bb8[_0x29aadf(0x1e8)]<0x10)throw new Error(_0x29aadf(0x3de));return _0x2f1bb8[0x6]=_0x2f1bb8[0x6]&0xf|0x40,_0x2f1bb8[0x8]=_0x2f1bb8[0x8]&0x3f|0x80,_0x5bff44(_0x2f1bb8);}const _0x385042=_0x1cba28['createIdentifier']('collaboration-client.local-cache-service');function _0x5873f1(_0x284e21){var _0xb16943=_0x297728;return _0xb16943(0x3da)+_0x284e21;}var _0x522466=Object[_0x297728(0x41b)],_0x33748f=(_0xe65ed2,_0x501cb8,_0x45aa64,_0x6b96d6)=>{for(var _0x2204fe=_0x6b96d6>0x1?void 0x0:_0x6b96d6?_0x522466(_0x501cb8,_0x45aa64):_0x501cb8,_0x562a6b=_0xe65ed2['length']-0x1,_0x5513c9;_0x562a6b>=0x0;_0x562a6b--)(_0x5513c9=_0xe65ed2[_0x562a6b])&&(_0x2204fe=_0x5513c9(_0x2204fe)||_0x2204fe);return _0x2204fe;},_0x5e4354=(_0x39b004,_0xcebcdc)=>(_0x491b25,_0xf31411)=>_0xcebcdc(_0x491b25,_0xf31411,_0x39b004);function _0xce65dc(_0x5bfda){var _0x567d84=_0x297728;const {unitID:_0x1cafa3,mutations:_0x1d87bf}=_0x5bfda;return{'unitId':_0x1cafa3,'subUnitId':_0x1d87bf[0x0][_0x567d84(0x4a2)][_0x567d84(0x4c4)]};}_0x4e9958[_0x297728(0x2b4)]=class{constructor(_0x3fbd71,_0x4db96c,_0x434ec9){var _0x324487=_0x297728;this[_0x324487(0x1dc)]=_0x3fbd71,this['_transformService']=_0x4db96c,this[_0x324487(0x181)]=_0x434ec9;}['transformSelections'](_0x1326c9){var _0x3d6231=_0x297728,_0x4aae61,_0x2d4957,_0x1e0bb0,_0x4af693;const _0x51dd53=this['_injector'][_0x3d6231(0x40b)](_0x122c74['SheetsSelectionsService']),{unitId:_0xd93bf3,subUnitId:_0x3e3685}=_0xce65dc(_0x1326c9),_0x59a55a=_0x51dd53==null?void 0x0:_0x51dd53[_0x3d6231(0x320)](_0xd93bf3)[_0x3d6231(0x42c)](),_0x2d46f7=(_0x2d4957=(_0x4aae61=this[_0x3d6231(0x181)][_0x3d6231(0x231)](_0xd93bf3))==null?void 0x0:_0x4aae61[_0x3d6231(0x28e)]())==null?void 0x0:_0x2d4957[_0x3d6231(0x40d)]();if(_0x59a55a[_0x3d6231(0x1e8)]===0x0||!_0xd93bf3||!_0x3e3685)return;const _0x1ceefe=[{'id':_0x122c74[_0x3d6231(0x226)]['id'],'params':{'unitId':_0xd93bf3,'subUnitId':_0x2d46f7,'selections':_0x1cba28[_0x3d6231(0x302)][_0x3d6231(0x235)](_0x59a55a)}}],_0x23924b=this['_transformService'][_0x3d6231(0x2fa)](_0x1326c9,_0x1ceefe);if(!_0x53e89d[_0x3d6231(0x333)](_0x23924b))throw _0x23924b[_0x3d6231(0x33f)];const _0x316c14=(_0x4af693=(_0x1e0bb0=_0x23924b[_0x3d6231(0x2f7)][0x0])==null?void 0x0:_0x1e0bb0[_0x3d6231(0x4a2)])==null?void 0x0:_0x4af693[_0x3d6231(0x25b)];if(Array['isArray'](_0x316c14)&&_0x316c14[_0x3d6231(0x1e8)]){if(_0x316c14['length']===_0x1ceefe[0x0]['params'][_0x3d6231(0x25b)][_0x3d6231(0x1e8)]&&_0x316c14[_0x3d6231(0x268)]((_0x3399f8,_0x53e247)=>_0x1cba28[_0x3d6231(0x23b)][_0x3d6231(0x1fe)](_0x3399f8['range'],_0x1ceefe[0x0]['params']['selections'][_0x53e247][_0x3d6231(0x4aa)])))return;this[_0x3d6231(0x1dc)][_0x3d6231(0x40b)](_0x1cba28[_0x3d6231(0x37d)])[_0x3d6231(0x2bd)](_0x122c74['SetSelectionsOperation']['id'],{'unitId':_0xd93bf3,'subUnitId':_0x2d46f7,'selections':_0x316c14});}}},_0x4e9958[_0x297728(0x2b4)]=_0x33748f([_0x5e4354(0x0,_0x1cba28['Inject'](_0x1cba28['Injector'])),_0x5e4354(0x1,_0x53e89d[_0x297728(0x4ce)]),_0x5e4354(0x2,_0x1cba28['IUniverInstanceService'])],_0x4e9958['SheetTransformSelectionsService']);const _0x20b881=_0x1cba28[_0x297728(0x38d)](_0x297728(0x2af));var _0x307146=(_0x1f1b91=>(_0x1f1b91[_0x1f1b91[_0x297728(0x1fa)]=0x0]=_0x297728(0x1fa),_0x1f1b91[_0x1f1b91['OTHER_CLIENTS_EDITING']=0x1]=_0x297728(0x3b4),_0x1f1b91))(_0x307146||{});const _0x49f5ce=new Set([_0x122c74[_0x297728(0x289)]['id']]);function _0x293f49(_0x43a34a,_0x9250a7,_0x483dc5,_0x3a3409,_0x6be40f){var _0x7ef47e=_0x297728,_0x445a5e,_0x2e6c03,_0x363f26,_0x11b214;const _0x225faa=[];for(const _0x286364 of _0x43a34a)if(_0x49f5ce['has'](_0x286364['id'])){if(_0x225faa[_0x7ef47e(0x1e8)]>0x0)break;_0x225faa[_0x7ef47e(0x2e2)](_0x286364);break;}else _0x225faa[_0x7ef47e(0x2e2)](_0x286364);const _0x3884f9=(_0x2e6c03=(_0x445a5e=_0x6be40f[_0x7ef47e(0x483)]())==null?void 0x0:_0x445a5e[_0x7ef47e(0x192)])!=null?_0x2e6c03:_0x7ef47e(0x1df),_0x5b0f94=(_0x11b214=(_0x363f26=_0x6be40f[_0x7ef47e(0x483)]())==null?void 0x0:_0x363f26[_0x7ef47e(0x35d)])!=null?_0x11b214:'unknown';return{'changeset':{'unitID':_0x9250a7,'type':_0x53e89d['mapDocumentTypeToUniverType'](_0x483dc5[_0x7ef47e(0x370)](_0x9250a7)),'baseRev':_0x3a3409[_0x7ef47e(0x304)](_0x9250a7),'revision':0x0,'userID':_0x3884f9,'memberID':_0x5b0f94,'mutations':_0x225faa},'pendingMutations':_0x43a34a[_0x7ef47e(0x1c8)](_0x225faa[_0x7ef47e(0x1e8)])};}function _0x73c679(_0x2af156,_0x568f55,_0xba087b,_0x4a042e,_0xbf0c8d){var _0x113f36=_0x297728,_0x3daef9,_0x48fdcb,_0x393f2f,_0x52ee5b;const _0x47a1ce=[_0x2af156['reduce']((_0x5364fd,_0x1390f3)=>{var _0x33ba18=_0x4809,_0x3a0d2c;const {id:_0x3c6c7f}=_0x5364fd,{id:_0x5e98d9,type:_0x49a915}=_0x1390f3,_0xe552ed=(_0x3a0d2c=_0x5364fd[_0x33ba18(0x4a2)])!=null?_0x3a0d2c:{'actions':null},_0x3ed14b=_0x1390f3[_0x33ba18(0x4a2)];if(_0x3c6c7f&&_0x3c6c7f!==_0x5e98d9)throw new Error(_0x33ba18(0x419)+_0x3c6c7f+_0x33ba18(0x4dc)+_0x5e98d9+'.');return{..._0x5364fd,'id':_0x5e98d9,'type':_0x49a915,'params':{'unitId':_0x3ed14b[_0x33ba18(0x189)],'textRanges':_0x3ed14b['textRanges'],'actions':_0x1cba28[_0x33ba18(0x2cb)][_0x33ba18(0x1a9)](_0xe552ed['actions'],_0x3ed14b[_0x33ba18(0x1ae)])}};},{})],_0x37c093=(_0x48fdcb=(_0x3daef9=_0xbf0c8d[_0x113f36(0x483)]())==null?void 0x0:_0x3daef9[_0x113f36(0x192)])!=null?_0x48fdcb:_0x113f36(0x1df),_0x4ece57=(_0x52ee5b=(_0x393f2f=_0xbf0c8d[_0x113f36(0x483)]())==null?void 0x0:_0x393f2f[_0x113f36(0x35d)])!=null?_0x52ee5b:'unknown';return{'changeset':{'unitID':_0x568f55,'type':_0x53e89d[_0x113f36(0x4dd)](_0xba087b[_0x113f36(0x370)](_0x568f55)),'baseRev':_0x4a042e[_0x113f36(0x304)](_0x568f55),'revision':0x0,'userID':_0x37c093,'memberID':_0x4ece57,'mutations':_0x47a1ce},'pendingMutations':[]};}function _0x123e4d(_0x1b7475,_0x2b7635){var _0x3fa2c0=_0x297728;const _0x1330b7=new _0x3c07cc[(_0x3fa2c0(0x2b9))](0x1);return setTimeout(()=>_0x1330b7[_0x3fa2c0(0x352)](_0x2b7635),_0x1b7475),_0x1330b7[_0x3fa2c0(0x2da)]()['pipe'](_0x3c07cc[_0x3fa2c0(0x25a)](0x1));}const _0x2c8528={'id':_0x122c74[_0x297728(0x3eb)]['id'],'type':_0x1cba28[_0x297728(0x3a9)][_0x297728(0x466)],'params':{}};var _0xc2d28=Object[_0x297728(0x41b)],_0x1ebc87=(_0x449f12,_0x25a89a,_0x4191a5,_0x3df6c1)=>{var _0x1de427=_0x297728;for(var _0x3a8417=_0x3df6c1>0x1?void 0x0:_0x3df6c1?_0xc2d28(_0x25a89a,_0x4191a5):_0x25a89a,_0x2c4445=_0x449f12[_0x1de427(0x1e8)]-0x1,_0x20e46a;_0x2c4445>=0x0;_0x2c4445--)(_0x20e46a=_0x449f12[_0x2c4445])&&(_0x3a8417=_0x20e46a(_0x3a8417)||_0x3a8417);return _0x3a8417;},_0x4c1eff=(_0x38edf7,_0x2f5f53)=>(_0x407b43,_0x5da58a)=>_0x2f5f53(_0x407b43,_0x5da58a,_0x38edf7),_0x6889cd=(_0x4ac5ca=>(_0x4ac5ca[_0x297728(0x209)]=_0x297728(0x1ef),_0x4ac5ca[_0x297728(0x20a)]=_0x297728(0x2e9),_0x4ac5ca['PENDING']=_0x297728(0x2b8),_0x4ac5ca[_0x297728(0x1a7)]=_0x297728(0x1d3),_0x4ac5ca[_0x297728(0x303)]='awaiting_with_pending',_0x4ac5ca['FETCH_MISS']=_0x297728(0x22b),_0x4ac5ca['CONFLICT']=_0x297728(0x464),_0x4ac5ca[_0x297728(0x3f5)]=_0x297728(0x380),_0x4ac5ca))(_0x6889cd||{});const _0x426747=0xea60;class _0x2897e5{constructor(_0x330122,_0x3471e1,_0x1b1b90,_0x4553c0,_0x1e453c,_0x6a7c09,_0x531cff,_0x57da31,_0x4d837c){var _0x4a911e=_0x297728;_0xea6913(this,_0x4a911e(0x44b),null),_0xea6913(this,_0x4a911e(0x174),[]),(this[_0x4a911e(0x2bf)]=_0x330122,this[_0x4a911e(0x2a2)]=_0x3471e1,this[_0x4a911e(0x20c)]=_0x1e453c,this[_0x4a911e(0x205)]=_0x6a7c09,this[_0x4a911e(0x46e)]=_0x531cff,this[_0x4a911e(0x243)]=_0x57da31,this['_localCacheService']=_0x4d837c,this[_0x4a911e(0x44b)]=_0x1b1b90,this['_pendingMutations']=_0x4553c0);}['_checkMissing'](_0x4cfb2b){var _0x34ec23=_0x297728;const _0xa3bd08=this[_0x34ec23(0x243)][_0x34ec23(0x304)](this[_0x34ec23(0x2bf)]);return _0x4cfb2b[_0x34ec23(0x46f)]>_0xa3bd08+0x1?(this[_0x34ec23(0x20c)]['onMissingChangesets']({'from':_0xa3bd08,'to':_0x4cfb2b['revision']-0x1}),!0x0):!0x1;}[_0x297728(0x2be)](_0x4387dc){var _0x1ec24b=_0x297728;this[_0x1ec24b(0x46e)][_0x1ec24b(0x374)](this['unitID'],_0x4387dc);}[_0x297728(0x2a8)](_0x54844b){var _0x4d052d=_0x297728,_0x5f3f95,_0x2af14d;(_0x2af14d=(_0x5f3f95=this[_0x4d052d(0x20c)])[_0x4d052d(0x44e)])==null||_0x2af14d[_0x4d052d(0x17f)](_0x5f3f95,_0x54844b);}[_0x297728(0x1c7)](_0x35d0f7){var _0x2e4236=_0x297728,_0x335892,_0x6e3bc4;return(_0x6e3bc4=(_0x335892=this[_0x2e4236(0x20c)])[_0x2e4236(0x400)])==null?void 0x0:_0x6e3bc4[_0x2e4236(0x17f)](_0x335892,_0x35d0f7);}[_0x297728(0x2aa)](_0x4aa850){var _0x11b338=_0x297728,_0x16387b,_0x46184b;return(_0x46184b=(_0x16387b=this[_0x11b338(0x20c)])[_0x11b338(0x45b)])==null?void 0x0:_0x46184b['call'](_0x16387b,_0x4aa850);}[_0x297728(0x3ec)](_0x3f7406){var _0x23ad94=_0x297728,_0x1450fb,_0x23ed4f,_0x476f0f;return(_0x476f0f=(_0x23ed4f=(_0x1450fb=this['_handler'])[_0x23ad94(0x39d)])==null?void 0x0:_0x23ed4f['call'](_0x1450fb,_0x3f7406))!=null?_0x476f0f:_0x3f7406;}[_0x297728(0x362)](_0xd3fbda){var _0x5dd86c=_0x297728,_0xae6023,_0x2a0f48,_0x54c352;return(_0x54c352=(_0x2a0f48=(_0xae6023=this[_0x5dd86c(0x20c)])[_0x5dd86c(0x2c9)])==null?void 0x0:_0x2a0f48[_0x5dd86c(0x17f)](_0xae6023,_0xd3fbda))!=null?_0x54c352:_0xd3fbda;}[_0x297728(0x3f1)](_0x15a1f8){var _0x28b22a=_0x297728,_0x1de51e,_0x105d9a;if(this[_0x28b22a(0x2a2)]===_0x6bb05d[_0x28b22a(0x1bf)]){const {unitID:_0x53dfff,mutations:_0x527b8a,memberID:_0x63c08a}=_0x15a1f8,_0xc5cbb6=_0x527b8a[0x0]['params'][_0x28b22a(0x1e9)];Array[_0x28b22a(0x300)](_0xc5cbb6)&&_0xc5cbb6[_0x28b22a(0x1e8)]>0x0&&((_0x105d9a=(_0x1de51e=this[_0x28b22a(0x20c)])[_0x28b22a(0x3ce)])==null||_0x105d9a['call'](_0x1de51e,{'unitID':_0x53dfff,'memberID':_0x63c08a,'textRanges':_0xc5cbb6}));}}[_0x297728(0x30e)](){var _0x47e4c6=_0x297728,_0x239473;(_0x239473=this[_0x47e4c6(0x203)])==null||_0x239473['updateOfflineData'](this['unitID'],this['type'],this[_0x47e4c6(0x44b)],this[_0x47e4c6(0x174)]);}[_0x297728(0x3f9)](){var _0x22e805=_0x297728;return this[_0x22e805(0x243)]['getCurrentRevOfUnit'](this[_0x22e805(0x2bf)]);}['_incrementRevisionNumber'](){var _0x35abb1=_0x297728;this[_0x35abb1(0x243)][_0x35abb1(0x1aa)](this[_0x35abb1(0x2bf)]);}[_0x297728(0x26d)](_0x25fb4e){var _0x45c779=_0x297728,_0x3b2a25;let _0xd8a55e=this[_0x45c779(0x3ec)](_0x25fb4e);_0xd8a55e=this['_transformRemoteChangesetByStateCache'](_0xd8a55e);const _0x476592=_0x1cba28[_0x45c779(0x1fb)](_0xd8a55e[_0x45c779(0x41f)],this[_0x45c779(0x205)],{'fromCollab':!0x0});if(!_0x476592['result'])throw _0x476592[_0x45c779(0x33f)]instanceof Error?_0x476592[_0x45c779(0x33f)]:new Error((_0x3b2a25=_0x476592[_0x45c779(0x33f)])!=null?_0x3b2a25:_0x45c779(0x467));this[_0x45c779(0x1c7)](_0xd8a55e),this[_0x45c779(0x2aa)](_0xd8a55e),this[_0x45c779(0x2be)](_0x25fb4e),this[_0x45c779(0x2a8)](_0xd8a55e),this[_0x45c779(0x3f1)](_0xd8a55e),this[_0x45c779(0x32c)]();}}_0x4e9958[_0x297728(0x423)]=class extends _0x2897e5{constructor(_0x5c56ca,_0x2c4803,_0x532fc5,_0x4bccf9,_0x575d10,_0x173777,_0x150869,_0x8a0e76,_0x3ae6a8,_0x9fa7cd){var _0x1252aa=_0x297728;super(_0x5c56ca,_0x2c4803,null,[],_0x532fc5,_0x150869,_0x173777,_0x4bccf9,_0x9fa7cd),_0xea6913(this,_0x1252aa(0x431),_0x1252aa(0x2e9)),(this[_0x1252aa(0x1dc)]=_0x575d10,this[_0x1252aa(0x269)]=_0x8a0e76,this[_0x1252aa(0x3e9)]=_0x3ae6a8,this[_0x1252aa(0x2fb)]=_0x9fa7cd);}['appendMutation'](_0x1ec6cf){var _0x1912b2=_0x297728;const _0x246118=this['_injector'][_0x1912b2(0x41e)](_0x4e9958['PendingState'],this[_0x1912b2(0x2bf)],this[_0x1912b2(0x2a2)],[_0x1ec6cf],this['_handler']);return _0x246118[_0x1912b2(0x332)](),_0x246118[_0x1912b2(0x30e)](),_0x246118;}[_0x297728(0x463)](_0x448bbb){var _0x2b4095=_0x297728;if(this[_0x2b4095(0x286)](_0x448bbb))return this[_0x2b4095(0x1dc)][_0x2b4095(0x41e)](_0x4e9958[_0x2b4095(0x4ba)],this[_0x2b4095(0x2bf)],this[_0x2b4095(0x2a2)],null,[],null,[_0x448bbb],this[_0x2b4095(0x20c)]);try{const _0xc1b022=this[_0x2b4095(0x3e9)]['transformMutationsWithChangeset'](_0x448bbb,[_0x2c8528]);if(_0x53e89d[_0x2b4095(0x333)](_0xc1b022)){const {c1Prime:_0x143797}=_0xc1b022;return this[_0x2b4095(0x26d)](_0x143797),this;}throw _0xc1b022[_0x2b4095(0x33f)];}catch(_0x59af68){return this[_0x2b4095(0x269)]['error'](_0x59af68),this[_0x2b4095(0x342)](!0x1);}}[_0x297728(0x342)](_0x2bf0cb){var _0x1268ea=_0x297728;return this[_0x1268ea(0x1dc)][_0x1268ea(0x41e)](_0x4e9958[_0x1268ea(0x4c2)],this[_0x1268ea(0x2bf)],this['type'],null,[],this[_0x1268ea(0x20c)],_0x2bf0cb);}[_0x297728(0x2fc)](){var _0x2e8603=_0x297728;throw new Error(_0x2e8603(0x444));}[_0x297728(0x48f)](){var _0x138540=_0x297728;throw new Error(_0x138540(0x377));}[_0x297728(0x47e)](){return this;}[_0x297728(0x2ca)](){var _0x2796b0=_0x297728;return this[_0x2796b0(0x1dc)][_0x2796b0(0x41e)](_0x4e9958['OfflineState'],this[_0x2796b0(0x2bf)],this['type'],null,[],this[_0x2796b0(0x20c)]);}[_0x297728(0x1e1)](){return this;}[_0x297728(0x254)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x372023=_0x297728;const _0x4e517a=this[_0x372023(0x243)][_0x372023(0x304)](this[_0x372023(0x2bf)]);return this[_0x372023(0x20c)][_0x372023(0x264)]({'from':_0x4e517a,'to':0x0}),this[_0x372023(0x1dc)][_0x372023(0x41e)](_0x4e9958['FetchingMissState'],this[_0x372023(0x2bf)],this['type'],null,[],null,[],this[_0x372023(0x20c)]);}},_0x4e9958['SyncedState']=_0x1ebc87([_0x4c1eff(0x3,_0x1cba28[_0x297728(0x230)](_0x53e89d[_0x297728(0x326)])),_0x4c1eff(0x4,_0x1cba28['Inject'](_0x1cba28['Injector'])),_0x4c1eff(0x5,_0x1cba28[_0x297728(0x22e)]),_0x4c1eff(0x6,_0x1cba28[_0x297728(0x37d)]),_0x4c1eff(0x7,_0x1cba28[_0x297728(0x3a8)]),_0x4c1eff(0x8,_0x53e89d[_0x297728(0x4ce)]),_0x4c1eff(0x9,_0x1cba28[_0x297728(0x29f)](_0x385042))],_0x4e9958[_0x297728(0x423)]),_0x4e9958[_0x297728(0x2cf)]=class extends _0x2897e5{constructor(_0x253e52,_0x106e84,_0x4455c3,_0xa63b0c,_0x324732,_0xc2782,_0x59dc8c,_0x354bdd,_0x8a2458,_0x40daaa,_0x267a54,_0x26b4c7,_0x1d77d3,_0x44791e){var _0x480fa4=_0x297728;super(_0x253e52,_0x106e84,null,_0x4455c3,_0xa63b0c,_0x8a2458,_0x1d77d3,_0xc2782,_0x44791e),_0xea6913(this,_0x480fa4(0x431),_0x480fa4(0x2b8)),_0xea6913(this,'_scheduleCompleteTimestamp',null),_0xea6913(this,_0x480fa4(0x201),null),(this[_0x480fa4(0x1dc)]=_0x324732,this[_0x480fa4(0x1c6)]=_0x59dc8c,this[_0x480fa4(0x269)]=_0x354bdd,this[_0x480fa4(0x21c)]=_0x40daaa,this[_0x480fa4(0x3e9)]=_0x267a54,this[_0x480fa4(0x4a4)]=_0x26b4c7);}['appendMutation'](_0xf8bc9e){var _0x28326a=_0x297728;return this[_0x28326a(0x174)]['push'](_0xf8bc9e),this[_0x28326a(0x30e)](),this;}['onRemoteChangeset'](_0x3f8bc9){var _0x18e89e=_0x297728;if(this[_0x18e89e(0x286)](_0x3f8bc9))return this['_clearScheduledTask'](),this[_0x18e89e(0x1dc)][_0x18e89e(0x41e)](_0x4e9958[_0x18e89e(0x4ba)],this[_0x18e89e(0x2bf)],this[_0x18e89e(0x2a2)],null,this['_pendingMutations'],null,[_0x3f8bc9],this[_0x18e89e(0x20c)]);try{const _0x381be9=this[_0x18e89e(0x3e9)]['transformMutationsWithChangeset'](_0x3f8bc9,this[_0x18e89e(0x174)]);if(_0x53e89d[_0x18e89e(0x333)](_0x381be9)){const {c1Prime:_0x36ce4a,m2Prime:_0x4d857a}=_0x381be9;this[_0x18e89e(0x26d)](_0x36ce4a);const _0x173830=this['_injector'][_0x18e89e(0x41e)](_0x4e9958[_0x18e89e(0x2cf)],this['unitID'],this[_0x18e89e(0x2a2)],_0x4d857a,this['_handler']);this[_0x18e89e(0x3c8)]();const _0x1d78b3=new Date()[_0x18e89e(0x3f0)](),_0xf1ad15=this['_scheduleCompleteTimestamp']?Math[_0x18e89e(0x21d)](this['_scheduleCompleteTimestamp']-_0x1d78b3,0x0):this['_getSendChangesetTimeout']();return _0x173830[_0x18e89e(0x332)](_0xf1ad15),_0x173830;}throw _0x381be9[_0x18e89e(0x33f)];}catch(_0x1542a4){return this['_logService'][_0x18e89e(0x33f)](_0x1542a4),this[_0x18e89e(0x342)](!0x1);}}[_0x297728(0x2fc)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x297728(0x48f)](){var _0x5789cd=_0x297728;throw new Error(_0x5789cd(0x274));}[_0x297728(0x47e)](){return this;}[_0x297728(0x2ca)](){var _0x2906e7=_0x297728;return this[_0x2906e7(0x3c8)](),this[_0x2906e7(0x1dc)][_0x2906e7(0x41e)](_0x4e9958[_0x2906e7(0x31d)],this[_0x2906e7(0x2bf)],this[_0x2906e7(0x2a2)],null,this[_0x2906e7(0x174)],this[_0x2906e7(0x20c)]);}[_0x297728(0x1e1)](){return this;}[_0x297728(0x332)](_0x4bd8e0){var _0x12315f=_0x297728;const _0x174081=_0x4bd8e0!=null?_0x4bd8e0:this[_0x12315f(0x2b1)]();this[_0x12315f(0x267)]=new Date()['getTime']()+_0x174081,this['_sendingTimer']=setTimeout(()=>{var _0x16738d=_0x12315f;this[_0x16738d(0x3c8)]();let _0x1b9aea=null;switch(this[_0x16738d(0x2a2)]){case _0x6bb05d[_0x16738d(0x49e)]:{_0x1b9aea=_0x293f49(this[_0x16738d(0x174)],this[_0x16738d(0x2bf)],this[_0x16738d(0x4a4)],this[_0x16738d(0x243)],this[_0x16738d(0x1c6)]);break;}case _0x6bb05d['UNIVER_DOC']:{this[_0x16738d(0x174)][_0x16738d(0x268)](_0x53023b=>_0x53023b['id']===_0x11e727[_0x16738d(0x1c9)]['id'])?_0x1b9aea=_0x73c679(this['_pendingMutations'],this[_0x16738d(0x2bf)],this['_univerInstanceService'],this[_0x16738d(0x243)],this[_0x16738d(0x1c6)]):_0x1b9aea=_0x293f49(this[_0x16738d(0x174)],this[_0x16738d(0x2bf)],this[_0x16738d(0x4a4)],this[_0x16738d(0x243)],this[_0x16738d(0x1c6)]);break;}default:throw new Error(_0x16738d(0x173)+this['type']+_0x16738d(0x265));}const {changeset:_0x37054c,pendingMutations:_0x39c53a}=_0x1b9aea;this['_handler'][_0x16738d(0x3d8)](_0x37054c);const _0x46ee9e=_0x39c53a[_0x16738d(0x1e8)]?this[_0x16738d(0x1dc)]['createInstance'](_0x4e9958['AwaitingWithPendingState'],this['unitID'],this[_0x16738d(0x2a2)],_0x37054c,_0x39c53a,this['_handler'],void 0x0):this[_0x16738d(0x1dc)][_0x16738d(0x41e)](_0x4e9958['AwaitingState'],this[_0x16738d(0x2bf)],this[_0x16738d(0x2a2)],_0x37054c,this[_0x16738d(0x20c)]);_0x46ee9e[_0x16738d(0x30e)](),this[_0x16738d(0x20c)][_0x16738d(0x3a5)](this,_0x46ee9e);},_0x174081);}['_getSendChangesetTimeout'](){var _0x2e009d=_0x297728,_0x3924ad;const _0x3964e6=this[_0x2e009d(0x21c)][_0x2e009d(0x3fd)](_0x417457);return(_0x3924ad=_0x3964e6==null?void 0x0:_0x3964e6[_0x2e009d(0x16d)])!=null?_0x3924ad:0x7d0;}[_0x297728(0x254)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x1e7888=_0x297728;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1e7888(0x201)]),this[_0x1e7888(0x201)]=null);}[_0x297728(0x342)](_0x2bba54){var _0x264f1b=_0x297728;return this[_0x264f1b(0x3c8)](),this['_injector'][_0x264f1b(0x41e)](_0x4e9958[_0x264f1b(0x4c2)],this['unitID'],this[_0x264f1b(0x2a2)],null,this['_pendingMutations'],this[_0x264f1b(0x20c)],_0x2bba54);}},_0x4e9958[_0x297728(0x2cf)]=_0x1ebc87([_0x4c1eff(0x4,_0x1cba28['Inject'](_0x1cba28[_0x297728(0x3cf)])),_0x4c1eff(0x5,_0x1cba28[_0x297728(0x230)](_0x53e89d[_0x297728(0x326)])),_0x4c1eff(0x6,_0x1cba28[_0x297728(0x230)](_0x4e9958['MemberService'])),_0x4c1eff(0x7,_0x1cba28[_0x297728(0x3a8)]),_0x4c1eff(0x8,_0x1cba28[_0x297728(0x37d)]),_0x4c1eff(0x9,_0x1cba28[_0x297728(0x210)]),_0x4c1eff(0xa,_0x53e89d['ITransformService']),_0x4c1eff(0xb,_0x1cba28[_0x297728(0x2e0)]),_0x4c1eff(0xc,_0x1cba28['IUndoRedoService']),_0x4c1eff(0xd,_0x1cba28[_0x297728(0x29f)](_0x385042))],_0x4e9958[_0x297728(0x2cf)]),_0x4e9958[_0x297728(0x22a)]=class extends _0x2897e5{constructor(_0xd3eacd,_0xbfe57c,_0x441e76,_0x578cff,_0x36469b,_0xb0c220,_0x677dac,_0x4ed18a,_0x39edc4,_0x396a09,_0x1693a0){var _0x1a5c42=_0x297728;super(_0xd3eacd,_0xbfe57c,_0x441e76,[],_0x578cff,_0x677dac,_0x396a09,_0xb0c220,_0x1693a0),_0xea6913(this,_0x1a5c42(0x431),_0x1a5c42(0x1d3)),_0xea6913(this,'_resendTimeout',0x0),_0xea6913(this,_0x1a5c42(0x1c0)),_0xea6913(this,_0x1a5c42(0x428)),(this[_0x1a5c42(0x1dc)]=_0x36469b,this[_0x1a5c42(0x269)]=_0x4ed18a,this[_0x1a5c42(0x3e9)]=_0x39edc4);}[_0x297728(0x497)](_0x1d7a69){var _0x4d70b3=_0x297728;this['_clearScheduledTask']();const _0x247dce=this[_0x4d70b3(0x1dc)][_0x4d70b3(0x41e)](_0x4e9958[_0x4d70b3(0x2c8)],this[_0x4d70b3(0x2bf)],this[_0x4d70b3(0x2a2)],this[_0x4d70b3(0x44b)],[_0x1d7a69],this[_0x4d70b3(0x20c)],this[_0x4d70b3(0x1c0)]);return _0x247dce[_0x4d70b3(0x30e)](),_0x247dce;}[_0x297728(0x463)](_0x6e4085){var _0xd3475b=_0x297728;if(this[_0xd3475b(0x286)](_0x6e4085))return this[_0xd3475b(0x3c8)](),this[_0xd3475b(0x1dc)][_0xd3475b(0x41e)](_0x4e9958[_0xd3475b(0x4ba)],this[_0xd3475b(0x2bf)],this[_0xd3475b(0x2a2)],this[_0xd3475b(0x44b)],[],null,[_0x6e4085],this[_0xd3475b(0x20c)]);try{const _0x586836=this['_transformService'][_0xd3475b(0x318)]([_0x6e4085],[this[_0xd3475b(0x44b)]],!0x1);if(_0x53e89d[_0xd3475b(0x18e)](_0x586836)){const {c1Prime:_0x673d6e,c2Prime:_0x5bc3e3}=_0x586836;this[_0xd3475b(0x26d)](_0x673d6e[0x0]),_0x5bc3e3[0x0][_0xd3475b(0x1b0)]=this[_0xd3475b(0x3f9)](),this[_0xd3475b(0x3c8)]();const _0x1b3a99=this[_0xd3475b(0x1dc)]['createInstance'](_0x4e9958['AwaitingState'],this[_0xd3475b(0x2bf)],this[_0xd3475b(0x2a2)],_0x5bc3e3[0x0],this[_0xd3475b(0x20c)]);return _0x1b3a99[_0xd3475b(0x30e)](),_0x1b3a99;}return this['_onConflict'](!0x1);}catch(_0xa45655){return this[_0xd3475b(0x269)]['error'](_0xa45655),this[_0xd3475b(0x342)](!0x1);}}[_0x297728(0x2fc)](_0x2e9160){var _0x51de73=_0x297728;this[_0x51de73(0x3c8)]();const _0x46ac3a=this[_0x51de73(0x243)]['getCurrentRevOfUnit'](this['unitID']);if(_0x2e9160[_0x51de73(0x46f)]<_0x46ac3a-0x1)return this;if(this[_0x51de73(0x286)](_0x2e9160))return this[_0x51de73(0x1dc)]['createInstance'](_0x4e9958[_0x51de73(0x4ba)],this['unitID'],this[_0x51de73(0x2a2)],null,[],this[_0x51de73(0x44b)],[],this['_handler']);this[_0x51de73(0x32c)]();const _0x2302ed=this['_injector'][_0x51de73(0x41e)](_0x4e9958[_0x51de73(0x423)],this['unitID'],this['type'],this['_handler']);return _0x2302ed[_0x51de73(0x30e)](),_0x2302ed;}[_0x297728(0x48f)](_0x45508f){var _0x5721d8=_0x297728;return this[_0x5721d8(0x342)](!!(_0x45508f!=null&&_0x45508f[_0x5721d8(0x28f)]));}[_0x297728(0x47e)](_0x5120a0){var _0x5521f2=_0x297728;return this[_0x5521f2(0x208)]>_0x426747?this['toggleOffline']():(this[_0x5521f2(0x1c0)]=_0x123e4d(this[_0x5521f2(0x208)],{'timeout':this[_0x5521f2(0x208)],'reqId':_0x5120a0[_0x5521f2(0x253)]}),this['_sender']=this[_0x5521f2(0x1c0)][_0x5521f2(0x451)](({reqId:_0x25d75a,timeout:_0x2787bc})=>{var _0x59b34e=_0x5521f2;this[_0x59b34e(0x2ed)](_0x25d75a,_0x2787bc);}),this);}[_0x297728(0x2ca)](){var _0x22ed0a=_0x297728;return this[_0x22ed0a(0x3c8)](),this['_injector'][_0x22ed0a(0x41e)](_0x4e9958[_0x22ed0a(0x31d)],this['unitID'],this[_0x22ed0a(0x2a2)],this[_0x22ed0a(0x44b)],[],this[_0x22ed0a(0x20c)]);}[_0x297728(0x1e1)](){return this;}['resend'](){var _0x21c62c=_0x297728;this[_0x21c62c(0x20c)][_0x21c62c(0x3d8)](this[_0x21c62c(0x44b)]);}['_onConflict'](_0x2c8b85){var _0x3d810f=_0x297728;return this[_0x3d810f(0x3c8)](),this[_0x3d810f(0x1dc)][_0x3d810f(0x41e)](_0x4e9958[_0x3d810f(0x4c2)],this[_0x3d810f(0x2bf)],this['type'],this[_0x3d810f(0x44b)],[],this[_0x3d810f(0x20c)],_0x2c8b85);}[_0x297728(0x2ed)](_0x471f1f,_0x4b7014){var _0x5447f4=_0x297728,_0x3b1e80;_0x471f1f===((_0x3b1e80=this[_0x5447f4(0x44b)])==null?void 0x0:_0x3b1e80['reqId'])&&(this['resend'](),this[_0x5447f4(0x208)]=_0x4b7014===0x0?0x3e8:_0x4b7014*0x2);}[_0x297728(0x3c8)](){var _0x27cd67=_0x297728,_0x1f096f;(_0x1f096f=this[_0x27cd67(0x428)])==null||_0x1f096f[_0x27cd67(0x4a9)](),this[_0x27cd67(0x208)]=0x0;}},_0x4e9958[_0x297728(0x22a)]=_0x1ebc87([_0x4c1eff(0x4,_0x1cba28['Inject'](_0x1cba28[_0x297728(0x3cf)])),_0x4c1eff(0x5,_0x1cba28[_0x297728(0x230)](_0x53e89d[_0x297728(0x326)])),_0x4c1eff(0x6,_0x1cba28[_0x297728(0x37d)]),_0x4c1eff(0x7,_0x1cba28[_0x297728(0x3a8)]),_0x4c1eff(0x8,_0x53e89d[_0x297728(0x4ce)]),_0x4c1eff(0x9,_0x1cba28['IUndoRedoService']),_0x4c1eff(0xa,_0x1cba28[_0x297728(0x29f)](_0x385042))],_0x4e9958[_0x297728(0x22a)]),_0x4e9958[_0x297728(0x2c8)]=class extends _0x2897e5{constructor(_0x4c55dc,_0x3b4ac2,_0x159967,_0x18c7d5,_0x4fee75,_0x467da0,_0x311178,_0x2f376b,_0x4ff667,_0x22af8f,_0x27ca98,_0x3c60d9,_0x59d586){var _0x24a025=_0x297728;super(_0x4c55dc,_0x3b4ac2,_0x159967,_0x18c7d5,_0x4fee75,_0x4ff667,_0x3c60d9,_0x2f376b,_0x59d586),_0xea6913(this,_0x24a025(0x431),_0x24a025(0x49b)),_0xea6913(this,_0x24a025(0x208),0x0),_0xea6913(this,_0x24a025(0x1c0)),_0xea6913(this,'_sender'),(this['_injector']=_0x311178,this[_0x24a025(0x269)]=_0x22af8f,this[_0x24a025(0x3e9)]=_0x27ca98,this[_0x24a025(0x2fb)]=_0x59d586,_0x467da0&&(this[_0x24a025(0x1c0)]=_0x467da0,this['_sender']=this[_0x24a025(0x1c0)][_0x24a025(0x451)](({reqId:_0x226a48,timeout:_0x22f56d})=>{var _0x1430d5=_0x24a025;this[_0x1430d5(0x2ed)](_0x226a48,_0x22f56d);})));}[_0x297728(0x497)](_0x5df78a){var _0x4a19e0=_0x297728;return this[_0x4a19e0(0x174)][_0x4a19e0(0x2e2)](_0x5df78a),this;}[_0x297728(0x463)](_0x4b56be){var _0x3c918d=_0x297728;if(this[_0x3c918d(0x286)](_0x4b56be))return this[_0x3c918d(0x3c8)](),this['_injector'][_0x3c918d(0x41e)](_0x4e9958[_0x3c918d(0x4ba)],this[_0x3c918d(0x2bf)],this['type'],this[_0x3c918d(0x44b)],this[_0x3c918d(0x174)],null,[_0x4b56be],this[_0x3c918d(0x20c)]);try{const _0x374410=this['_transformService'][_0x3c918d(0x318)]([_0x4b56be],[this[_0x3c918d(0x44b)]],!0x1);if(_0x53e89d[_0x3c918d(0x18e)](_0x374410)){const {c1Prime:_0x484b40,c2Prime:_0x1b386d}=_0x374410,_0x7f8b4e=this[_0x3c918d(0x3e9)]['transformMutationsWithChangeset'](_0x484b40[0x0],this['_pendingMutations']);if(_0x53e89d['isTransformMutationsWithChangesetSuccess'](_0x7f8b4e)){const {c1Prime:_0x493cf8,m2Prime:_0x31df07}=_0x7f8b4e;return this['_executeRemoteChangeset'](_0x493cf8),_0x1b386d[0x0][_0x3c918d(0x1b0)]=this[_0x3c918d(0x3f9)](),this[_0x3c918d(0x3c8)](),this[_0x3c918d(0x1dc)][_0x3c918d(0x41e)](_0x4e9958[_0x3c918d(0x2c8)],this[_0x3c918d(0x2bf)],this[_0x3c918d(0x2a2)],_0x1b386d[0x0],_0x31df07,this[_0x3c918d(0x20c)],void 0x0);}throw _0x7f8b4e[_0x3c918d(0x33f)];}throw _0x374410[_0x3c918d(0x33f)];}catch(_0x1d8421){return this['_logService'][_0x3c918d(0x33f)](_0x1d8421),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1bc51a){var _0x3f0025=_0x297728;if(this[_0x3f0025(0x3c8)](),this['_checkMissing'](_0x1bc51a))return this[_0x3f0025(0x1dc)][_0x3f0025(0x41e)](_0x4e9958[_0x3f0025(0x4ba)],this[_0x3f0025(0x2bf)],this['type'],null,this[_0x3f0025(0x174)],this[_0x3f0025(0x44b)],[],this[_0x3f0025(0x20c)]);this[_0x3f0025(0x32c)]();const _0x1eaace=this[_0x3f0025(0x1dc)][_0x3f0025(0x41e)](_0x4e9958[_0x3f0025(0x2cf)],this[_0x3f0025(0x2bf)],this[_0x3f0025(0x2a2)],this[_0x3f0025(0x174)],this[_0x3f0025(0x20c)]);return _0x1eaace['_schedule'](),_0x1eaace['_updateLocalCache'](),_0x1eaace;}[_0x297728(0x48f)](_0x10b762){var _0x3fad57=_0x297728;return this[_0x3fad57(0x342)](!!(_0x10b762!=null&&_0x10b762[_0x3fad57(0x28f)]));}[_0x297728(0x47e)](_0x638972){var _0x495ff6=_0x297728;return this[_0x495ff6(0x208)]>_0x426747?this[_0x495ff6(0x2ca)]():(this[_0x495ff6(0x1c0)]=_0x123e4d(this[_0x495ff6(0x208)],{'timeout':this[_0x495ff6(0x208)],'reqId':_0x638972[_0x495ff6(0x253)]}),this['_sender']=this[_0x495ff6(0x1c0)][_0x495ff6(0x451)](({reqId:_0x1ef653,timeout:_0x11cd95})=>{var _0xca082d=_0x495ff6;this[_0xca082d(0x2ed)](_0x1ef653,_0x11cd95);}),this);}[_0x297728(0x2ca)](){var _0x971beb=_0x297728;return this[_0x971beb(0x3c8)](),this[_0x971beb(0x1dc)][_0x971beb(0x41e)](_0x4e9958[_0x971beb(0x31d)],this['unitID'],this[_0x971beb(0x2a2)],this[_0x971beb(0x44b)],this[_0x971beb(0x174)],this[_0x971beb(0x20c)]);}['toggleOnline'](){return this;}['resend'](){var _0x36022c=_0x297728;this[_0x36022c(0x20c)][_0x36022c(0x3d8)](this[_0x36022c(0x44b)]);}[_0x297728(0x342)](_0x326961){var _0x1f6b05=_0x297728;return this[_0x1f6b05(0x3c8)](),this[_0x1f6b05(0x1dc)][_0x1f6b05(0x41e)](_0x4e9958[_0x1f6b05(0x4c2)],this[_0x1f6b05(0x2bf)],this[_0x1f6b05(0x2a2)],null,this['_pendingMutations'],this['_handler'],_0x326961);}[_0x297728(0x2ed)](_0x23e632,_0x18fd6c){var _0x942e8=_0x297728,_0x1cb9ff;_0x23e632===((_0x1cb9ff=this['_awaitingChangeset'])==null?void 0x0:_0x1cb9ff[_0x942e8(0x253)])&&(this[_0x942e8(0x254)](),this[_0x942e8(0x208)]=_0x18fd6c===0x0?0x3e8:_0x18fd6c*0x2);}[_0x297728(0x3c8)](){var _0x537f7e=_0x297728,_0x2530b9;(_0x2530b9=this['_sender'])==null||_0x2530b9[_0x537f7e(0x4a9)](),this['_resendTimeout']=0x0;}},_0x4e9958[_0x297728(0x2c8)]=_0x1ebc87([_0x4c1eff(0x6,_0x1cba28[_0x297728(0x230)](_0x1cba28[_0x297728(0x3cf)])),_0x4c1eff(0x7,_0x1cba28[_0x297728(0x230)](_0x53e89d['RevisionService'])),_0x4c1eff(0x8,_0x1cba28[_0x297728(0x37d)]),_0x4c1eff(0x9,_0x1cba28[_0x297728(0x3a8)]),_0x4c1eff(0xa,_0x53e89d[_0x297728(0x4ce)]),_0x4c1eff(0xb,_0x1cba28[_0x297728(0x22e)]),_0x4c1eff(0xc,_0x1cba28[_0x297728(0x29f)](_0x385042))],_0x4e9958['AwaitingWithPendingState']),_0x4e9958['ConflictState']=class extends _0x2897e5{constructor(_0x5ae3cd,_0x3e320b,_0x4177f0,_0x2dd567,_0x18a87a,_0x49882c=!0x1,_0x51d422,_0x2781d8,_0x4beb60,_0x755e,_0x24aecc,_0x422a3b,_0x10ae85){var _0x10aa71=_0x297728;super(_0x5ae3cd,_0x3e320b,_0x4177f0,_0x2dd567,_0x18a87a,_0x2781d8,_0x4beb60,_0x755e,_0x10ae85),_0xea6913(this,_0x10aa71(0x431),_0x10aa71(0x464)),(this['_isPermissionRej']=_0x49882c,this[_0x10aa71(0x3d0)]=_0x51d422,this['_localeService']=_0x24aecc,this[_0x10aa71(0x38c)]=_0x422a3b,this[_0x10aa71(0x2fb)]=_0x10ae85,this[_0x10aa71(0x402)](),this[_0x10aa71(0x26c)](),this[_0x10aa71(0x40a)]());}[_0x297728(0x497)](){return this;}[_0x297728(0x463)](){return this;}[_0x297728(0x2fc)](){return this;}['onRemoteRej'](){return this;}[_0x297728(0x47e)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){var _0x2dfea9=_0x297728;throw new Error(_0x2dfea9(0x16c));}['_clearLocalCache'](){var _0xaf8460=_0x297728,_0x288e42;(_0x288e42=this[_0xaf8460(0x203)])==null||_0x288e42[_0xaf8460(0x375)](this[_0xaf8460(0x2bf)],this[_0xaf8460(0x2a2)],null,[]);}[_0x297728(0x402)](){var _0x20c183=_0x297728;this['_isPermissionRej']?this[_0x20c183(0x38c)]['emitEvent']({'id':_0x4793e9[_0x20c183(0x437)]}):this[_0x20c183(0x38c)][_0x20c183(0x425)]({'id':_0x4793e9[_0x20c183(0x420)]});}[_0x297728(0x40a)](){var _0x36ff13=_0x297728;this['_permissionService'][_0x36ff13(0x327)](new _0x122c74[(_0x36ff13(0x4d2))](this[_0x36ff13(0x2bf)])['id'],!0x1);}},_0x4e9958[_0x297728(0x4c2)]=_0x1ebc87([_0x4c1eff(0x6,_0x1cba28[_0x297728(0x230)](_0x1cba28['IPermissionService'])),_0x4c1eff(0x7,_0x1cba28['ICommandService']),_0x4c1eff(0x8,_0x1cba28['IUndoRedoService']),_0x4c1eff(0x9,_0x1cba28['Inject'](_0x53e89d[_0x297728(0x326)])),_0x4c1eff(0xa,_0x1cba28[_0x297728(0x230)](_0x1cba28[_0x297728(0x2b0)])),_0x4c1eff(0xb,_0x1cba28[_0x297728(0x230)](_0x4d7771)),_0x4c1eff(0xc,_0x1cba28[_0x297728(0x29f)](_0x385042))],_0x4e9958['ConflictState']),_0x4e9958['OfflineState']=class extends _0x2897e5{constructor(_0x3affd0,_0x202b70,_0x28ea76,_0x50d3ad,_0x4da363,_0x3c9655,_0xcd505d,_0x5730e1,_0x3d1e08,_0x478caa){var _0x3c3808=_0x297728;super(_0x3affd0,_0x202b70,_0x28ea76,_0x50d3ad,_0x4da363,_0x5730e1,_0x3d1e08,_0xcd505d,_0x478caa),_0xea6913(this,_0x3c3808(0x431),_0x3c3808(0x380)),this['_injector']=_0x3c9655;}[_0x297728(0x497)](_0x1c3f42){var _0x2eed6b=_0x297728;return this[_0x2eed6b(0x174)][_0x2eed6b(0x2e2)](_0x1c3f42),this[_0x2eed6b(0x30e)](),this;}['onRemoteChangeset'](_0x51a8ed){var _0x18d631=_0x297728;throw new Error(_0x18d631(0x440));}[_0x297728(0x2fc)](){var _0x44c820=_0x297728;throw new Error(_0x44c820(0x247));}[_0x297728(0x48f)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x297728(0x47e)](){return this;}[_0x297728(0x2ca)](){return this;}['toggleOnline'](){var _0x598eb1=_0x297728;const {_injector:_0xe4891f,_pendingMutations:_0x4a94e3,_awaitingChangeset:_0x4938d3,unitID:_0xf08d19,_handler:_0x48438d,type:_0x20a216}=this,_0x3f7f46=_0x379a9a(_0xe4891f,_0xf08d19,_0x20a216,_0x4938d3,_0x4a94e3,_0x48438d);return _0x3f7f46 instanceof _0x4e9958[_0x598eb1(0x2cf)]?_0x3f7f46[_0x598eb1(0x332)]():(_0x3f7f46 instanceof _0x4e9958[_0x598eb1(0x2c8)]||_0x3f7f46 instanceof _0x4e9958[_0x598eb1(0x22a)])&&_0x3f7f46['resend'](),_0x3f7f46;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x4e9958[_0x297728(0x31d)]=_0x1ebc87([_0x4c1eff(0x5,_0x1cba28[_0x297728(0x230)](_0x1cba28[_0x297728(0x3cf)])),_0x4c1eff(0x6,_0x1cba28[_0x297728(0x230)](_0x53e89d['RevisionService'])),_0x4c1eff(0x7,_0x1cba28[_0x297728(0x37d)]),_0x4c1eff(0x8,_0x1cba28[_0x297728(0x22e)]),_0x4c1eff(0x9,_0x1cba28[_0x297728(0x29f)](_0x385042))],_0x4e9958[_0x297728(0x31d)]),_0x4e9958[_0x297728(0x4ba)]=class extends _0x2897e5{constructor(_0x1eb5d6,_0x3a8511,_0x4135e6,_0x49c15e,_0x5c2504,_0x1f146f,_0x543e6a,_0x5582c7,_0x52cbe6,_0x5a88c2,_0x138784,_0x1d2a72,_0x196d6f,_0x49b867){var _0x3a1d53=_0x297728;super(_0x1eb5d6,_0x3a8511,_0x4135e6,_0x49c15e,_0x543e6a,_0x138784,_0x1d2a72,_0x52cbe6,_0x49b867),_0xea6913(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x5c2504,this[_0x3a1d53(0x2ff)]=_0x1f146f,this[_0x3a1d53(0x1dc)]=_0x5582c7,this['_logService']=_0x5a88c2,this['_transformService']=_0x196d6f,this['localCacheService']=_0x49b867);}[_0x297728(0x3e5)](_0x80e338){var _0x4da7c1=_0x297728;try{const _0x23200f=[..._0x80e338,...this[_0x4da7c1(0x2ff)]],_0x492560=[this[_0x4da7c1(0x44b)]||this['_acknowledgedAwaitingChangeset']][_0x4da7c1(0x24f)](_0x52fb82=>!!_0x52fb82);let _0xe4b038,_0x706178;if(_0x492560[_0x4da7c1(0x1e8)]){const _0x1514aa=this['_transformService'][_0x4da7c1(0x318)](_0x23200f,_0x492560,!0x1);if(!_0x53e89d[_0x4da7c1(0x18e)](_0x1514aa))throw _0x1514aa['error'];_0xe4b038=_0x1514aa[_0x4da7c1(0x30d)],_0x706178=_0x1514aa[_0x4da7c1(0x35f)];}else _0xe4b038=_0x23200f,_0x706178=[];let _0x420eca=this[_0x4da7c1(0x174)];_0xe4b038[_0x4da7c1(0x350)](_0x54dcce=>{var _0x1f071d=_0x4da7c1;let _0x46a884;if(_0x420eca[_0x1f071d(0x1e8)]){const _0x4652e1=this['_transformService'][_0x1f071d(0x2fa)](_0x54dcce,_0x420eca);if(!_0x53e89d['isTransformMutationsWithChangesetSuccess'](_0x4652e1))throw _0x4652e1['error'];_0x46a884=_0x4652e1[_0x1f071d(0x30d)],_0x420eca=_0x4652e1[_0x1f071d(0x2f7)];}else _0x46a884=_0x54dcce;this['_executeRemoteChangeset'](_0x46a884);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x4da7c1(0x44b)]&&_0x706178[_0x4da7c1(0x1e8)]&&(_0x706178[0x0][_0x4da7c1(0x1b0)]=this['_getCurrentRevision']());let _0x3318fc;if(this[_0x4da7c1(0x44b)]&&_0x420eca['length']!==0x0)_0x3318fc=this[_0x4da7c1(0x1dc)]['createInstance'](_0x4e9958[_0x4da7c1(0x2c8)],this[_0x4da7c1(0x2bf)],this[_0x4da7c1(0x2a2)],_0x706178[0x0],_0x420eca,this['_handler'],void 0x0);else{if(this[_0x4da7c1(0x44b)]&&_0x420eca['length']===0x0)_0x706178[0x0][_0x4da7c1(0x1b0)]=this[_0x4da7c1(0x3f9)](),_0x3318fc=this[_0x4da7c1(0x1dc)][_0x4da7c1(0x41e)](_0x4e9958[_0x4da7c1(0x22a)],this[_0x4da7c1(0x2bf)],this[_0x4da7c1(0x2a2)],_0x706178[0x0],this[_0x4da7c1(0x20c)]);else{if(_0x420eca[_0x4da7c1(0x1e8)]!==0x0){const _0x24a7af=this[_0x4da7c1(0x1dc)][_0x4da7c1(0x41e)](_0x4e9958[_0x4da7c1(0x2cf)],this[_0x4da7c1(0x2bf)],this[_0x4da7c1(0x2a2)],_0x420eca,this[_0x4da7c1(0x20c)]);_0x24a7af['_schedule'](),_0x3318fc=_0x24a7af;}else _0x3318fc=this['_injector'][_0x4da7c1(0x41e)](_0x4e9958[_0x4da7c1(0x423)],this[_0x4da7c1(0x2bf)],this[_0x4da7c1(0x2a2)],this[_0x4da7c1(0x20c)]);}}return _0x3318fc[_0x4da7c1(0x30e)](),_0x3318fc;}catch(_0x138746){return this[_0x4da7c1(0x269)]['error']('[FetchMissState]',_0x4da7c1(0x234),_0x138746),this[_0x4da7c1(0x1dc)]['createInstance'](_0x4e9958['ConflictState'],this[_0x4da7c1(0x2bf)],this[_0x4da7c1(0x2a2)],this[_0x4da7c1(0x44b)],this[_0x4da7c1(0x174)],this[_0x4da7c1(0x20c)],!0x1);}}[_0x297728(0x254)](){var _0xc8dfd7=_0x297728;throw new Error(_0xc8dfd7(0x364));}[_0x297728(0x497)](_0x4df852){var _0x2aa3e3=_0x297728;return this[_0x2aa3e3(0x174)][_0x2aa3e3(0x2e2)](_0x4df852),this;}['onRemoteChangeset'](_0x485381){var _0x699ed5=_0x297728;return this[_0x699ed5(0x2ff)][_0x699ed5(0x2e2)](_0x485381),this;}[_0x297728(0x2fc)](_0x13735e){var _0x593706=_0x297728;if(this[_0x593706(0x44b)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x593706(0x44b)]=null,this;throw new Error(_0x593706(0x2f2));}[_0x297728(0x48f)](_0x4c5ab5){var _0x18168a=_0x297728;return this[_0x18168a(0x342)](!!(_0x4c5ab5!=null&&_0x4c5ab5[_0x18168a(0x28f)]));}[_0x297728(0x47e)](){return this;}[_0x297728(0x2ca)](){var _0x4c716=_0x297728;return this[_0x4c716(0x1dc)][_0x4c716(0x41e)](_0x4e9958[_0x4c716(0x31d)],this[_0x4c716(0x2bf)],this['type'],this[_0x4c716(0x44b)],this['_pendingMutations'],this[_0x4c716(0x20c)]);}[_0x297728(0x1e1)](){return this;}['_onConflict'](_0x315bdf){var _0x452e92=_0x297728;return this[_0x452e92(0x1dc)][_0x452e92(0x41e)](_0x4e9958[_0x452e92(0x4c2)],this[_0x452e92(0x2bf)],this['type'],this['_awaitingChangeset'],this[_0x452e92(0x174)],this[_0x452e92(0x20c)],_0x315bdf);}},_0x4e9958[_0x297728(0x4ba)]=_0x1ebc87([_0x4c1eff(0x7,_0x1cba28[_0x297728(0x230)](_0x1cba28[_0x297728(0x3cf)])),_0x4c1eff(0x8,_0x1cba28[_0x297728(0x230)](_0x53e89d[_0x297728(0x326)])),_0x4c1eff(0x9,_0x1cba28[_0x297728(0x3a8)]),_0x4c1eff(0xa,_0x1cba28['ICommandService']),_0x4c1eff(0xb,_0x1cba28[_0x297728(0x22e)]),_0x4c1eff(0xc,_0x53e89d['ITransformService']),_0x4c1eff(0xd,_0x1cba28['Optional'](_0x385042))],_0x4e9958[_0x297728(0x4ba)]);function _0x379a9a(_0xe710d5,_0x1cd035,_0x27d8d6,_0x1ceb17,_0x514900,_0x1d97c0){var _0xf58cc5=_0x297728;return _0x1ceb17&&_0x514900[_0xf58cc5(0x1e8)]?_0xe710d5['createInstance'](_0x4e9958['AwaitingWithPendingState'],_0x1cd035,_0x27d8d6,_0x1ceb17,_0x514900,_0x1d97c0,void 0x0):_0x1ceb17?_0xe710d5[_0xf58cc5(0x41e)](_0x4e9958['AwaitingState'],_0x1cd035,_0x27d8d6,_0x1ceb17,_0x1d97c0):_0x514900[_0xf58cc5(0x1e8)]?_0xe710d5[_0xf58cc5(0x41e)](_0x4e9958[_0xf58cc5(0x2cf)],_0x1cd035,_0x27d8d6,_0x514900,_0x1d97c0):_0xe710d5[_0xf58cc5(0x41e)](_0x4e9958[_0xf58cc5(0x423)],_0x1cd035,_0x27d8d6,_0x1d97c0);}var _0x3c735a=Object[_0x297728(0x41b)],_0x5b5844=(_0x28550c,_0x578cd8,_0x22fcd9,_0x1d42c8)=>{var _0x388571=_0x297728;for(var _0x5a6143=_0x1d42c8>0x1?void 0x0:_0x1d42c8?_0x3c735a(_0x578cd8,_0x22fcd9):_0x578cd8,_0x1aed90=_0x28550c[_0x388571(0x1e8)]-0x1,_0x477bcd;_0x1aed90>=0x0;_0x1aed90--)(_0x477bcd=_0x28550c[_0x1aed90])&&(_0x5a6143=_0x477bcd(_0x5a6143)||_0x5a6143);return _0x5a6143;},_0x240f14=(_0x5116b0,_0x21ac1b)=>(_0x56c40e,_0x3124af)=>_0x21ac1b(_0x56c40e,_0x3124af,_0x5116b0);_0x4e9958['CollaborationEntity']=class extends _0x1cba28['RxDisposable']{constructor(_0x3a2d75,_0x1335c2,_0x1a0a28,_0x714f46,_0xc46bc9,_0x273f3c,_0x1ccfa4,_0x5bdbe3,_0x43fceb,_0x151237,_0x4289ca,_0x576870,_0x5cc1cd){var _0x278d30=_0x297728;super(),_0xea6913(this,_0x278d30(0x2d8),new _0x3c07cc[(_0x278d30(0x241))](null)),_0xea6913(this,_0x278d30(0x1bd),this[_0x278d30(0x2d8)][_0x278d30(0x2da)]()),_0xea6913(this,_0x278d30(0x39b)),_0xea6913(this,_0x278d30(0x35a),!0x1),_0xea6913(this,_0x278d30(0x17b),''),_0xea6913(this,_0x278d30(0x3ea),0x0),_0xea6913(this,_0x278d30(0x307),this['state$'][_0x278d30(0x3f8)](_0x3c07cc['map'](_0x54c62f=>_0x54c62f?_0x54c62f[_0x278d30(0x431)]:_0x6889cd[_0x278d30(0x3f5)]),_0x3c07cc[_0x278d30(0x3b8)](0x1))),_0xea6913(this,_0x278d30(0x1cb),!0x1),_0xea6913(this,'_remoteChangesetQueue',[]),(this[_0x278d30(0x2bf)]=_0x3a2d75,this['session']=_0x1335c2,this[_0x278d30(0x282)]=_0x1a0a28,this[_0x278d30(0x1dc)]=_0x714f46,this[_0x278d30(0x1ee)]=_0xc46bc9,this[_0x278d30(0x1f6)]=_0x273f3c,this[_0x278d30(0x243)]=_0x1ccfa4,this[_0x278d30(0x223)]=_0x5bdbe3,this[_0x278d30(0x269)]=_0x43fceb,this['_commandService']=_0x151237,this[_0x278d30(0x3d0)]=_0x4289ca,this[_0x278d30(0x43a)]=_0x576870,this['_localCacheService']=_0x5cc1cd);}get[_0x297728(0x177)](){var _0x13a245=_0x297728;return this[_0x13a245(0x39b)];}async[_0x297728(0x4e6)](){var _0x54285f=_0x297728;if(this[_0x54285f(0x177)])throw new Error(_0x54285f(0x1e2));await this['_init']();}[_0x297728(0x47c)](){var _0x47d524=_0x297728;return this[_0x47d524(0x35a)]=!0x0,_0x1cba28[_0x47d524(0x2b3)](()=>{var _0x49b8bd=_0x47d524;this[_0x49b8bd(0x35a)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x297728(0x3aa)](_0x44a7f7){this['_onLocalMutation'](_0x44a7f7);}[_0x297728(0x290)](_0x17167c){var _0x8164b9=_0x297728;this['_state']=_0x17167c,this[_0x8164b9(0x2d8)][_0x8164b9(0x352)](_0x17167c);}async[_0x297728(0x4b7)](){var _0x5d2784=_0x297728,_0x3243c0;this[_0x5d2784(0x290)](await this[_0x5d2784(0x3ff)]()),this[_0x5d2784(0x43a)]&&((_0x3243c0=this['_singleActiveUnitService'])==null||_0x3243c0[_0x5d2784(0x48a)](this[_0x5d2784(0x2bf)]),this[_0x5d2784(0x442)](this[_0x5d2784(0x43a)][_0x5d2784(0x46c)](this[_0x5d2784(0x2bf)])[_0x5d2784(0x451)](_0x9bf971=>{var _0x188ea6=_0x5d2784;this['_logService'][_0x188ea6(0x35e)](_0x188ea6(0x48c),_0x188ea6(0x480),_0x9bf971),_0x9bf971===_0x307146[_0x188ea6(0x3b4)]?(this['_eventService'][_0x188ea6(0x425)]({'id':_0x4793e9[_0x188ea6(0x353)]}),this[_0x188ea6(0x3d0)][_0x188ea6(0x327)](new _0x122c74[(_0x188ea6(0x4d2))](this[_0x188ea6(0x2bf)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x188ea6(0x3d0)]['updatePermissionPoint'](new _0x122c74[(_0x188ea6(0x4d2))](this['unitID'])['id'],!0x0),this['_permissionService'][_0x188ea6(0x376)](!0x0));})));let _0xb85623=!0x1;return this['disposeWithMe'](this[_0x5d2784(0x3dc)]['sessionStatus$'][_0x5d2784(0x451)](_0x1472b6=>{var _0x18f16c=_0x5d2784;_0x1472b6===_0xa1a05d['ONLINE']?this[_0x18f16c(0x296)](_0xb85623):_0x1472b6===_0xa1a05d[_0x18f16c(0x3f5)]&&(_0xb85623=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x5d2784(0x3dc)][_0x5d2784(0x27f)]['subscribe'](_0xd9e659=>{var _0x4905f0=_0x5d2784;try{switch(_0xd9e659[_0x4905f0(0x3b9)]){case _0x53e89d[_0x4905f0(0x276)][_0x4905f0(0x30f)]:{this['_onRemoteChangeset'](_0x53e89d[_0x4905f0(0x484)](_0xd9e659[_0x4905f0(0x20d)]));break;}case _0x53e89d[_0x4905f0(0x276)][_0x4905f0(0x287)]:{this[_0x4905f0(0x4d0)](_0xd9e659['data']);break;}case _0x53e89d['CollaborationEvent']['CHANGESET_REJ']:{this[_0x4905f0(0x313)]();break;}case _0x53e89d[_0x4905f0(0x276)][_0x4905f0(0x171)]:{this[_0x4905f0(0x4a0)](_0xd9e659[_0x4905f0(0x20d)]);break;}case _0x53e89d[_0x4905f0(0x276)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xd9e659[_0x4905f0(0x20d)]['changesets']['map'](_0x402688=>_0x53e89d[_0x4905f0(0x484)](_0x402688)));break;}case _0x53e89d['CollaborationEvent'][_0x4905f0(0x465)]:{this[_0x4905f0(0x313)]({'isPermissionRej':!0x0});break;}case _0x53e89d[_0x4905f0(0x276)][_0x4905f0(0x4ed)]:break;}}catch(_0x36d766){throw console[_0x4905f0(0x33f)]('Error\x20on\x20receiving\x20event',_0x36d766),_0x36d766;}})),this[_0x5d2784(0x39b)];}[_0x297728(0x4ab)](){var _0x4a74a9=_0x297728;this[_0x4a74a9(0x1cb)]=!0x1;}[_0x297728(0x493)](){var _0x7cb47c=_0x297728;if(this['_transitionLocked'])throw new Error(_0x7cb47c(0x211));this['_transitionLocked']=!0x0;}[_0x297728(0x2e6)](_0x43f9b1){var _0x95998b=_0x297728;this[_0x95998b(0x493)](),this[_0x95998b(0x290)](this[_0x95998b(0x39b)][_0x95998b(0x497)](_0x43f9b1)),this[_0x95998b(0x4ab)]();}[_0x297728(0x36d)](_0x5d5596){var _0x2fe4f7=_0x297728;if(!(_0x5d5596[_0x2fe4f7(0x46f)]<=this['_revisionService'][_0x2fe4f7(0x304)](this[_0x2fe4f7(0x2bf)]))){if(this[_0x2fe4f7(0x35a)]){this['_remoteChangesetQueue']['push'](_0x5d5596);return;}this['_applyRemoteChangeset'](_0x5d5596);}}[_0x297728(0x196)](){var _0x599e3a=_0x297728;this[_0x599e3a(0x3a4)][_0x599e3a(0x350)](_0x366864=>this[_0x599e3a(0x1f3)](_0x366864)),this[_0x599e3a(0x3a4)]=[];}['_applyRemoteChangeset'](_0x124cbf){var _0x22326e=_0x297728;const _0x7de900=this[_0x22326e(0x1ee)][_0x22326e(0x284)][_0x22326e(0x28a)](this[_0x22326e(0x1ee)]['interceptor'][_0x22326e(0x48e)]()[_0x22326e(0x461)])(_0x124cbf[_0x22326e(0x41f)],null)||_0x124cbf[_0x22326e(0x41f)],_0x4848cf={..._0x124cbf,'mutations':_0x7de900};this[_0x22326e(0x493)](),this[_0x22326e(0x290)](this['_state'][_0x22326e(0x463)](_0x4848cf)),this[_0x22326e(0x4ab)]();}[_0x297728(0x4d0)](_0x564002){var _0x55f594=_0x297728;this['_lockTransition'](),this[_0x55f594(0x290)](this[_0x55f594(0x39b)][_0x55f594(0x2fc)](_0x564002)),this['_unlockTransition']();}['_onRemoteRejected'](_0x481a1b){var _0x58f8e7=_0x297728;this[_0x58f8e7(0x493)](),this[_0x58f8e7(0x290)](this[_0x58f8e7(0x39b)]['onRemoteRej'](_0x481a1b)),this[_0x58f8e7(0x4ab)]();}[_0x297728(0x4a0)](_0x272853){var _0xa1021f=_0x297728;this['_lockTransition'](),this[_0xa1021f(0x290)](this[_0xa1021f(0x39b)][_0xa1021f(0x47e)](_0x272853)),this[_0xa1021f(0x4ab)]();}[_0x297728(0x324)](_0xfc6dbc){var _0x3ea612=_0x297728;if(!(this[_0x3ea612(0x39b)]instanceof _0x4e9958[_0x3ea612(0x4ba)]))throw new TypeError(_0x3ea612(0x198));const _0x212b64=_0xfc6dbc[_0x3ea612(0x242)](_0x7207d4=>{var _0x4657eb=_0x3ea612;const _0x5ee891=this[_0x4657eb(0x1ee)][_0x4657eb(0x284)][_0x4657eb(0x28a)](this[_0x4657eb(0x1ee)][_0x4657eb(0x284)][_0x4657eb(0x48e)]()[_0x4657eb(0x461)])(_0x7207d4[_0x4657eb(0x41f)],null)||_0x7207d4[_0x4657eb(0x41f)];return{..._0x7207d4,'mutations':_0x5ee891};});this[_0x3ea612(0x493)](),this[_0x3ea612(0x290)](this['_state']['onMissedChangesetFetched'](_0x212b64)),this[_0x3ea612(0x4ab)]();}[_0x297728(0x18f)](){var _0x1a3653=_0x297728;this[_0x1a3653(0x493)](),this[_0x1a3653(0x290)](this[_0x1a3653(0x39b)][_0x1a3653(0x2ca)]()),this[_0x1a3653(0x4ab)]();}[_0x297728(0x296)](_0xdb783c=!0x1){var _0x416fb1=_0x297728;this[_0x416fb1(0x493)](),this[_0x416fb1(0x290)](this[_0x416fb1(0x39b)][_0x416fb1(0x1e1)]()),this[_0x416fb1(0x4ab)]();const _0x526a34=this[_0x416fb1(0x39b)];_0xdb783c&&_0x526a34 instanceof _0x4e9958[_0x416fb1(0x423)]&&(this['_lockTransition'](),this['_updateState'](_0x526a34['fetchMiss']()),this[_0x416fb1(0x4ab)]());}async[_0x297728(0x3ff)](){return new Promise(_0x6c4b4d=>{var _0x9a1adb=_0x4809;this[_0x9a1adb(0x3dc)][_0x9a1adb(0x4be)][_0x9a1adb(0x3f8)](_0x3c07cc[_0x9a1adb(0x25a)](0x1))[_0x9a1adb(0x451)](async _0x262d84=>{var _0x5bcba8=_0x9a1adb;_0x6c4b4d(await this[_0x5bcba8(0x3e6)](_0x262d84===_0xa1a05d[_0x5bcba8(0x30a)]));});});}[_0x297728(0x499)](){var _0x18f6bd=_0x297728;const _0x1fb43a=this[_0x18f6bd(0x2bf)];return{'onStateChange':(_0x2ece41,_0x355c63)=>{var _0x21393e=_0x18f6bd;if(_0x2ece41!==this[_0x21393e(0x39b)])throw new Error(_0x21393e(0x4d5)+_0x2ece41['status']+_0x21393e(0x41c)+_0x355c63[_0x21393e(0x431)]+_0x21393e(0x47b)+this[_0x21393e(0x39b)]['status']);this[_0x21393e(0x290)](_0x355c63);},'onSendChangeset':_0x54b702=>{var _0x17f0df=_0x18f6bd;_0x54b702['sid']||(_0x54b702[_0x17f0df(0x1ec)]=this[_0x17f0df(0x17b)],_0x54b702['reqId']=++this[_0x17f0df(0x3ea)]);const _0x45fdfb={'eventID':_0x53e89d['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x54b702[_0x17f0df(0x2bf)],'unitType':this['_type'],'changeset':_0x54b702,'memberID':this[_0x17f0df(0x3dc)]['getMemberID']()}};this[_0x17f0df(0x3dc)][_0x17f0df(0x4df)](_0x45fdfb,this['unitID']);},'onMissingChangesets':({from:_0x2f6db5,to:_0x5593f8})=>{var _0x341164=_0x18f6bd;this['_logService'][_0x341164(0x35e)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x2f6db5+_0x341164(0x1fc)+_0x5593f8);const _0x467bb1={'eventID':_0x53e89d[_0x341164(0x276)][_0x341164(0x48d)],'data':{'unitID':_0x1fb43a,'unitType':this[_0x341164(0x282)],'from':_0x2f6db5,'to':_0x5593f8}};this[_0x341164(0x3dc)]['send'](_0x467bb1,this[_0x341164(0x2bf)]);}};}async['_createInitialStateImpl'](_0x13efa5){var _0x2e00d8=_0x297728,_0x3cc8c4,_0x3d924d,_0x43690e;const _0x2268cc=await((_0x3cc8c4=this[_0x2e00d8(0x203)])==null?void 0x0:_0x3cc8c4['loadOfflineData'](this[_0x2e00d8(0x2bf)])),_0x15177e=(_0x3d924d=_0x2268cc==null?void 0x0:_0x2268cc[_0x2e00d8(0x41f)])!=null?_0x3d924d:[],_0x2c7558=(_0x43690e=_0x2268cc==null?void 0x0:_0x2268cc[_0x2e00d8(0x4b3)])!=null?_0x43690e:null,_0x2231d9=!!(_0x2c7558!=null&&_0x2c7558['sid'])&&!!(_0x2c7558!=null&&_0x2c7558[_0x2e00d8(0x253)]);this[_0x2e00d8(0x17b)]=_0x2231d9?_0x2c7558[_0x2e00d8(0x1ec)]:_0x1abbcd(),this[_0x2e00d8(0x3ea)]=_0x2231d9?_0x2c7558[_0x2e00d8(0x253)]:0x0;const _0x563a8b=this[_0x2e00d8(0x2bf)];try{this[_0x2e00d8(0x4c3)](_0x2c7558,_0x15177e);}catch(_0x3ef781){this[_0x2e00d8(0x269)][_0x2e00d8(0x33f)](_0x3ef781);}const _0x9f970=this[_0x2e00d8(0x499)]();if(_0x13efa5){const _0x4f5789=_0x379a9a(this[_0x2e00d8(0x1dc)],_0x563a8b,this[_0x2e00d8(0x282)],_0x2c7558,_0x15177e,_0x9f970);return _0x4f5789 instanceof _0x4e9958[_0x2e00d8(0x2cf)]?_0x4f5789[_0x2e00d8(0x332)]():(_0x4f5789 instanceof _0x4e9958[_0x2e00d8(0x2c8)]||_0x4f5789 instanceof _0x4e9958[_0x2e00d8(0x22a)])&&_0x4f5789[_0x2e00d8(0x254)](),_0x4f5789;}return this[_0x2e00d8(0x1dc)][_0x2e00d8(0x41e)](_0x4e9958['OfflineState'],_0x563a8b,this[_0x2e00d8(0x282)],_0x2c7558,_0x15177e,_0x9f970);}[_0x297728(0x4c3)](_0x9ce05f,_0x35b2af){var _0x37f1d9=_0x297728,_0x48008b,_0x139edd;const _0x31a5ca=this['_compressMutationService'][_0x37f1d9(0x284)][_0x37f1d9(0x28a)](this['_compressMutationService'][_0x37f1d9(0x284)][_0x37f1d9(0x48e)]()[_0x37f1d9(0x461)]);(_0x48008b=_0x31a5ca((_0x9ce05f==null?void 0x0:_0x9ce05f[_0x37f1d9(0x41f)])||[],null))==null||_0x48008b[_0x37f1d9(0x350)](_0x262baa=>this['_commandService'][_0x37f1d9(0x2bd)](_0x262baa['id'],_0x262baa[_0x37f1d9(0x4a2)])),(_0x139edd=_0x31a5ca(_0x35b2af||[],null))==null||_0x139edd[_0x37f1d9(0x350)](_0x4fdc06=>this[_0x37f1d9(0x205)][_0x37f1d9(0x2bd)](_0x4fdc06['id'],_0x4fdc06[_0x37f1d9(0x4a2)]));}},_0x4e9958[_0x297728(0x4e3)]=_0x5b5844([_0x240f14(0x3,_0x1cba28['Inject'](_0x1cba28[_0x297728(0x3cf)])),_0x240f14(0x4,_0x1cba28[_0x297728(0x230)](_0x53e89d[_0x297728(0x4cf)])),_0x240f14(0x5,_0x1cba28[_0x297728(0x230)](_0x1cba28['LocaleService'])),_0x240f14(0x6,_0x1cba28[_0x297728(0x230)](_0x53e89d[_0x297728(0x326)])),_0x240f14(0x7,_0x1cba28[_0x297728(0x230)](_0x4d7771)),_0x240f14(0x8,_0x1cba28[_0x297728(0x3a8)]),_0x240f14(0x9,_0x1cba28[_0x297728(0x37d)]),_0x240f14(0xa,_0x1cba28[_0x297728(0x37f)]),_0x240f14(0xb,_0x1cba28[_0x297728(0x29f)](_0x20b881)),_0x240f14(0xc,_0x1cba28[_0x297728(0x29f)](_0x385042))],_0x4e9958[_0x297728(0x4e3)]),_0x4e9958[_0x297728(0x3fc)]=class extends _0x4e9958['CollaborationEntity']{constructor(_0x4ab371,_0x94f43a,_0x163bc5,_0x4ea9b8,_0xc5222d,_0xfa0526,_0x952e60,_0x3afefb,_0x17df70,_0x296829,_0x278aad,_0x3f9a11,_0x5e3a70){var _0xc45947=_0x297728;super(_0x4ab371,_0x163bc5,_0x94f43a,_0x4ea9b8,_0xc5222d,_0xfa0526,_0x952e60,_0x3afefb,_0x17df70,_0x296829,_0x278aad,_0x3f9a11,_0x5e3a70),_0xea6913(this,_0xc45947(0x1d1),null),(this[_0xc45947(0x2bf)]=_0x4ab371,this[_0xc45947(0x2a2)]=_0x94f43a);}[_0x297728(0x39a)](_0x48076d){var _0x5ddb31=_0x297728;this[_0x5ddb31(0x1d1)]=_0x48076d;}[_0x297728(0x27e)](){var _0x328a7e=_0x297728;this[_0x328a7e(0x1d1)]=null,super['dispose']();}[_0x297728(0x499)](){var _0x122c08=_0x297728;const _0x1e13cf=super[_0x122c08(0x499)]();return _0x1e13cf[_0x122c08(0x400)]=_0x8875b0=>{var _0x4b53eb=_0x122c08,_0x5b85c6,_0x2e97d0;return(_0x2e97d0=(_0x5b85c6=this[_0x4b53eb(0x1d1)])==null?void 0x0:_0x5b85c6[_0x4b53eb(0x400)])==null?void 0x0:_0x2e97d0[_0x4b53eb(0x17f)](_0x5b85c6,_0x8875b0);},_0x1e13cf[_0x122c08(0x45b)]=_0x253560=>{var _0x5266d5=_0x122c08,_0x152df0,_0x361f57;return(_0x361f57=(_0x152df0=this[_0x5266d5(0x1d1)])==null?void 0x0:_0x152df0[_0x5266d5(0x45b)])==null?void 0x0:_0x361f57[_0x5266d5(0x17f)](_0x152df0,_0x253560);},_0x1e13cf['onTransformSelections']=_0x2abe8f=>{var _0x311607=_0x122c08,_0x10ee22,_0x127f76;return(_0x127f76=(_0x10ee22=this['_handlerCallback'])==null?void 0x0:_0x10ee22[_0x311607(0x44e)])==null?void 0x0:_0x127f76[_0x311607(0x17f)](_0x10ee22,_0x2abe8f);},_0x1e13cf[_0x122c08(0x3ce)]=_0x352b1c=>{var _0x191555=_0x122c08,_0x5c695b,_0x55211c;return(_0x55211c=(_0x5c695b=this[_0x191555(0x1d1)])==null?void 0x0:_0x5c695b[_0x191555(0x3ce)])==null?void 0x0:_0x55211c['call'](_0x5c695b,_0x352b1c);},_0x1e13cf[_0x122c08(0x39d)]=_0x5de4d3=>{var _0x2ed6e0=_0x122c08,_0x43800f,_0x68be1e,_0x2e6ae9;if(!((_0x43800f=this[_0x2ed6e0(0x1d1)])!=null&&_0x43800f['onTransformRemoteChangesetByIMECache']))throw new Error(_0x2ed6e0(0x37b));return(_0x2e6ae9=(_0x68be1e=this[_0x2ed6e0(0x1d1)])==null?void 0x0:_0x68be1e[_0x2ed6e0(0x39d)])==null?void 0x0:_0x2e6ae9[_0x2ed6e0(0x17f)](_0x68be1e,_0x5de4d3);},_0x1e13cf[_0x122c08(0x2c9)]=_0x24c2fd=>{var _0x1e9a55=_0x122c08,_0x39a2c6,_0x4da25d,_0xbd4232;if(!((_0x39a2c6=this[_0x1e9a55(0x1d1)])!=null&&_0x39a2c6[_0x1e9a55(0x2c9)]))throw new Error(_0x1e9a55(0x335));return(_0xbd4232=(_0x4da25d=this[_0x1e9a55(0x1d1)])==null?void 0x0:_0x4da25d[_0x1e9a55(0x2c9)])==null?void 0x0:_0xbd4232['call'](_0x4da25d,_0x24c2fd);},_0x1e13cf;}async[_0x297728(0x4b7)](){var _0x5e8763=_0x297728;const _0x450057=await super[_0x5e8763(0x4b7)]();return this[_0x5e8763(0x442)](this[_0x5e8763(0x205)]['onCommandExecuted']((_0x127354,_0x5206ce)=>{var _0x54d5db=_0x5e8763;if(_0x127354['type']!==_0x1cba28['CommandType'][_0x54d5db(0x466)]||_0x5206ce!=null&&_0x5206ce[_0x54d5db(0x1bc)]||_0x5206ce!=null&&_0x5206ce[_0x54d5db(0x2d5)]||_0x127354['id']===_0x11e727[_0x54d5db(0x1c9)]['id'])return;const _0x8e7e0=_0x127354[_0x54d5db(0x4a2)];if((_0x8e7e0==null?void 0x0:_0x8e7e0['unitId'])!==this[_0x54d5db(0x2bf)])return;const _0x5d8c90=_0x127354,_0x51233c=this[_0x54d5db(0x1ee)][_0x54d5db(0x284)][_0x54d5db(0x28a)](this[_0x54d5db(0x1ee)][_0x54d5db(0x284)][_0x54d5db(0x48e)]()[_0x54d5db(0x470)])([_0x5d8c90],null)||[_0x5d8c90];this[_0x54d5db(0x2e6)](_0x51233c[0x0]);})),_0x450057;}},_0x4e9958[_0x297728(0x3fc)]=_0x5b5844([_0x240f14(0x3,_0x1cba28[_0x297728(0x230)](_0x1cba28[_0x297728(0x3cf)])),_0x240f14(0x4,_0x1cba28[_0x297728(0x230)](_0x53e89d[_0x297728(0x4cf)])),_0x240f14(0x5,_0x1cba28['Inject'](_0x1cba28[_0x297728(0x2b0)])),_0x240f14(0x6,_0x1cba28['Inject'](_0x53e89d['RevisionService'])),_0x240f14(0x7,_0x1cba28[_0x297728(0x230)](_0x4d7771)),_0x240f14(0x8,_0x1cba28['ILogService']),_0x240f14(0x9,_0x1cba28[_0x297728(0x37d)]),_0x240f14(0xa,_0x1cba28[_0x297728(0x37f)]),_0x240f14(0xb,_0x1cba28['Optional'](_0x20b881)),_0x240f14(0xc,_0x1cba28[_0x297728(0x29f)](_0x385042))],_0x4e9958[_0x297728(0x3fc)]),_0x4e9958[_0x297728(0x389)]=class extends _0x4e9958[_0x297728(0x4e3)]{constructor(_0xaa78ef,_0x397319,_0x4beb9a,_0x341e53,_0x564c08,_0x3c8279,_0x367556,_0x1f3912,_0x31250d,_0x4b629c,_0x2ae49d,_0x45eaca,_0x11bddb,_0x3b4435){var _0x119f10=_0x297728;super(_0xaa78ef,_0x4beb9a,_0x397319,_0x341e53,_0x564c08,_0x3c8279,_0x367556,_0x31250d,_0x4b629c,_0x2ae49d,_0x45eaca,_0x11bddb,_0x3b4435),this[_0x119f10(0x2bf)]=_0xaa78ef,this['type']=_0x397319,this[_0x119f10(0x3df)]=_0x1f3912;}[_0x297728(0x499)](){var _0x2173d1=_0x297728;const _0x5cb5d0=super[_0x2173d1(0x499)]();return _0x5cb5d0[_0x2173d1(0x44e)]=_0x111883=>this[_0x2173d1(0x3df)][_0x2173d1(0x2f5)](_0x111883),_0x5cb5d0;}async[_0x297728(0x4b7)](){var _0x49560b=_0x297728;const _0x489750=await super[_0x49560b(0x4b7)]();return this['disposeWithMe'](this[_0x49560b(0x205)]['onCommandExecuted']((_0x18139f,_0x866d57)=>{var _0x84e119=_0x49560b;if(_0x18139f[_0x84e119(0x2a2)]!==_0x1cba28[_0x84e119(0x3a9)][_0x84e119(0x466)]||_0x866d57!=null&&_0x866d57['fromCollab']||_0x866d57!=null&&_0x866d57[_0x84e119(0x2d5)])return;const _0x4f7544=_0x18139f[_0x84e119(0x4a2)];if((_0x4f7544==null?void 0x0:_0x4f7544['unitId'])!==this[_0x84e119(0x2bf)])return;const _0x5dd1e5=_0x18139f,_0x3fdff3=this[_0x84e119(0x1ee)][_0x84e119(0x284)][_0x84e119(0x28a)](this['_compressMutationService'][_0x84e119(0x284)][_0x84e119(0x48e)]()['COMPRESS_MUTATION_SEND'])([_0x5dd1e5],null)||[_0x5dd1e5];this[_0x84e119(0x2e6)](_0x3fdff3[0x0]);})),_0x489750;}},_0x4e9958[_0x297728(0x389)]=_0x5b5844([_0x240f14(0x3,_0x1cba28['Inject'](_0x1cba28[_0x297728(0x3cf)])),_0x240f14(0x4,_0x1cba28[_0x297728(0x230)](_0x53e89d[_0x297728(0x4cf)])),_0x240f14(0x5,_0x1cba28[_0x297728(0x230)](_0x1cba28[_0x297728(0x2b0)])),_0x240f14(0x6,_0x1cba28[_0x297728(0x230)](_0x53e89d['RevisionService'])),_0x240f14(0x7,_0x1cba28['Inject'](_0x4e9958[_0x297728(0x2b4)])),_0x240f14(0x8,_0x1cba28[_0x297728(0x230)](_0x4d7771)),_0x240f14(0x9,_0x1cba28[_0x297728(0x3a8)]),_0x240f14(0xa,_0x1cba28[_0x297728(0x37d)]),_0x240f14(0xb,_0x1cba28[_0x297728(0x37f)]),_0x240f14(0xc,_0x1cba28[_0x297728(0x29f)](_0x20b881)),_0x240f14(0xd,_0x1cba28[_0x297728(0x29f)](_0x385042))],_0x4e9958[_0x297728(0x389)]);var _0x2bce31=Object[_0x297728(0x41b)],_0x3c1eb1=(_0x29b021,_0x1b2780,_0x6dd41f,_0x164e77)=>{for(var _0x5f35d0=_0x164e77>0x1?void 0x0:_0x164e77?_0x2bce31(_0x1b2780,_0x6dd41f):_0x1b2780,_0x332a83=_0x29b021['length']-0x1,_0x2490ff;_0x332a83>=0x0;_0x332a83--)(_0x2490ff=_0x29b021[_0x332a83])&&(_0x5f35d0=_0x2490ff(_0x5f35d0)||_0x5f35d0);return _0x5f35d0;},_0x2dd3c0=(_0x172589,_0x3d1666)=>(_0x1a74e3,_0xe19898)=>_0x3d1666(_0x1a74e3,_0xe19898,_0x172589);_0x4e9958['CollaborationController']=class extends _0x1cba28['RxDisposable']{constructor(_0x1c8094,_0x33a2f4,_0x10e01c){var _0x2d84f8=_0x297728;super(),_0xea6913(this,_0x2d84f8(0x270),new Map()),_0xea6913(this,'_entityInit$',new _0x3c07cc['Subject']()),_0xea6913(this,_0x2d84f8(0x1b4),this[_0x2d84f8(0x490)]['asObservable']()),(this[_0x2d84f8(0x1dc)]=_0x1c8094,this['_collabSessionService']=_0x33a2f4,this[_0x2d84f8(0x4a4)]=_0x10e01c,this[_0x2d84f8(0x4b7)]());}[_0x297728(0x27e)](){var _0x4374d9=_0x297728;super['dispose'](),this[_0x4374d9(0x270)][_0x4374d9(0x350)](_0x5ae01c=>_0x5ae01c[_0x4374d9(0x27e)]()),this['_entities'][_0x4374d9(0x34e)]();}[_0x297728(0x3ba)](_0x36a388){var _0x5d2cc7=_0x297728,_0x215634;return(_0x215634=this[_0x5d2cc7(0x270)][_0x5d2cc7(0x40b)](_0x36a388))!=null?_0x215634:null;}[_0x297728(0x312)](_0x654fc6){var _0x198e66=_0x297728;const _0x29a44f=this[_0x198e66(0x3ba)](_0x654fc6);return _0x29a44f?_0x3c07cc['of'](_0x29a44f):this['_entityInit$'][_0x198e66(0x3f8)](_0x1da9aa[_0x198e66(0x24f)](_0x25755a=>_0x25755a[_0x198e66(0x2bf)]===_0x654fc6));}[_0x297728(0x2ef)](_0x46af99){var _0x427a1f=_0x297728;return _0x3c07cc['firstValueFrom'](this[_0x427a1f(0x312)](_0x46af99)[_0x427a1f(0x3f8)](_0x1da9aa[_0x427a1f(0x242)](()=>{})));}[_0x297728(0x4b7)](){var _0x1d2ead=_0x297728;this[_0x1d2ead(0x4a4)]['getTypeOfUnitAdded$'](_0x1cba28[_0x1d2ead(0x485)][_0x1d2ead(0x49e)])[_0x1d2ead(0x3f8)](_0x3c07cc['takeUntil'](this[_0x1d2ead(0x224)]),_0x1da9aa['delay'](0x10))[_0x1d2ead(0x451)](async _0x11df23=>{var _0x2a75d3=_0x1d2ead;const _0x555218=_0x11df23[_0x2a75d3(0x2c1)](),_0x121fd6=await this['_startCollaboration'](_0x555218,_0x6bb05d[_0x2a75d3(0x49e)]);this[_0x2a75d3(0x270)]['set'](_0x555218,_0x121fd6);}),this[_0x1d2ead(0x4a4)][_0x1d2ead(0x346)](_0x1cba28[_0x1d2ead(0x485)]['UNIVER_DOC'])['pipe'](_0x3c07cc[_0x1d2ead(0x46a)](this['dispose$']),_0x1da9aa['delay'](0x10))['pipe'](_0x1da9aa['filter'](_0x4d574f=>!_0x4d574f['getUnitId']()['startsWith']('__')))[_0x1d2ead(0x451)](async _0x4ef195=>{var _0x2d48ba=_0x1d2ead;const _0x295361=_0x4ef195[_0x2d48ba(0x2c1)](),_0x44d57f=await this[_0x2d48ba(0x447)](_0x295361,_0x6bb05d[_0x2d48ba(0x1bf)]);this[_0x2d48ba(0x270)][_0x2d48ba(0x23a)](_0x295361,_0x44d57f);}),_0x3c07cc[_0x1d2ead(0x33e)](this['_univerInstanceService'][_0x1d2ead(0x4b4)](_0x1cba28[_0x1d2ead(0x485)][_0x1d2ead(0x49e)]),this['_univerInstanceService'][_0x1d2ead(0x4b4)](_0x1cba28[_0x1d2ead(0x485)]['UNIVER_DOC']))[_0x1d2ead(0x3f8)](_0x3c07cc[_0x1d2ead(0x46a)](this['dispose$']))[_0x1d2ead(0x451)](_0x4d5770=>{var _0x46ff5e=_0x1d2ead;const _0x47f5f0=_0x4d5770[_0x46ff5e(0x2c1)](),_0xa05b5d=this[_0x46ff5e(0x270)][_0x46ff5e(0x40b)](_0x47f5f0);_0xa05b5d&&(_0xa05b5d[_0x46ff5e(0x27e)](),this['_entities'][_0x46ff5e(0x27d)](_0x47f5f0));});}async[_0x297728(0x447)](_0x4eac9e,_0x2452d5){var _0x1e9334=_0x297728;const _0xd1957c=await this['_collabSessionService'][_0x1e9334(0x1db)](_0x4eac9e),_0x10e755=this[_0x1e9334(0x1dc)][_0x1e9334(0x41e)](this[_0x1e9334(0x36b)](_0x2452d5),_0x4eac9e,_0x2452d5,_0xd1957c);return await _0x10e755[_0x1e9334(0x4e6)](),this['_entityInit$'][_0x1e9334(0x352)](_0x10e755),_0x10e755;}[_0x297728(0x36b)](_0x7d6116){var _0xf0fec3=_0x297728;switch(_0x7d6116){case _0x6bb05d['UNIVER_DOC']:return _0x4e9958[_0xf0fec3(0x3fc)];case _0x6bb05d[_0xf0fec3(0x49e)]:return _0x4e9958[_0xf0fec3(0x389)];default:throw new Error(_0xf0fec3(0x1b2)+_0x7d6116);}}},_0x4e9958[_0x297728(0x238)]=_0x3c1eb1([_0x2dd3c0(0x0,_0x1cba28['Inject'](_0x1cba28[_0x297728(0x3cf)])),_0x2dd3c0(0x1,_0x1cba28[_0x297728(0x230)](_0x4e9958['CollaborationSessionService'])),_0x2dd3c0(0x2,_0x1cba28['IUniverInstanceService'])],_0x4e9958[_0x297728(0x238)]);var _0x49b7f5=Object['getOwnPropertyDescriptor'],_0x180bf=(_0x2d0e5a,_0x16031a,_0x4c328b,_0x3f3bbc)=>{for(var _0x58762d=_0x3f3bbc>0x1?void 0x0:_0x3f3bbc?_0x49b7f5(_0x16031a,_0x4c328b):_0x16031a,_0x1ecdc8=_0x2d0e5a['length']-0x1,_0x5bd76d;_0x1ecdc8>=0x0;_0x1ecdc8--)(_0x5bd76d=_0x2d0e5a[_0x1ecdc8])&&(_0x58762d=_0x5bd76d(_0x58762d)||_0x58762d);return _0x58762d;},_0x189c69=(_0x5c5cde,_0x585495)=>(_0x4496ab,_0x4b1105)=>_0x585495(_0x4496ab,_0x4b1105,_0x5c5cde);const _0x216e56=_0x297728(0x453),_0x4e72ed=_0x297728(0x2d7);let _0x41cc3e=class extends _0x1cba28[_0x297728(0x492)]{constructor(_0x2c90f4,_0x537a41){var _0x28be40=_0x297728;super(),this[_0x28be40(0x4a4)]=_0x2c90f4,this['_configService']=_0x537a41,this[_0x28be40(0x4b7)]();}[_0x297728(0x4b7)](){var _0x219207=_0x297728;this[_0x219207(0x442)](this[_0x219207(0x4a4)][_0x219207(0x373)][_0x219207(0x451)](()=>{var _0x107952=_0x219207,_0x3abe25;const _0x1e98a7=this[_0x107952(0x4a4)]['getFocusedUnit']();let _0x22b691=(_0x3abe25=this[_0x107952(0x21c)][_0x107952(0x3fd)](_0x216e56))!=null?_0x3abe25:_0x4e72ed;_0x1e98a7 instanceof _0x1cba28['Workbook']&&(_0x22b691=_0x1e98a7[_0x107952(0x361)]),document[_0x107952(0x179)]=_0x22b691;}));}};_0x41cc3e=_0x180bf([_0x189c69(0x0,_0x1cba28[_0x297728(0x2e0)]),_0x189c69(0x1,_0x1cba28[_0x297728(0x210)])],_0x41cc3e);var _0x22839d=Object[_0x297728(0x41b)],_0x10a070=(_0x3128a0,_0x275ff6,_0x583be1,_0x5a3e8e)=>{for(var _0x1a0336=_0x5a3e8e>0x1?void 0x0:_0x5a3e8e?_0x22839d(_0x275ff6,_0x583be1):_0x275ff6,_0x2011ca=_0x3128a0['length']-0x1,_0x197083;_0x2011ca>=0x0;_0x2011ca--)(_0x197083=_0x3128a0[_0x2011ca])&&(_0x1a0336=_0x197083(_0x1a0336)||_0x1a0336);return _0x1a0336;},_0x12daef=(_0x597945,_0x4b5133)=>(_0x4b4620,_0x466aed)=>_0x4b5133(_0x4b4620,_0x466aed,_0x597945);let _0x5b70ad=class{constructor(_0x3a0fc0,_0x1abd5e,_0xc9c16c){var _0x4b3b1e=_0x297728;this[_0x4b3b1e(0x21c)]=_0x3a0fc0,this[_0x4b3b1e(0x3c2)]=_0x1abd5e,this[_0x4b3b1e(0x17a)]=_0xc9c16c,this['init']();}[_0x297728(0x4e6)](){var _0x285011=_0x297728;this[_0x285011(0x3c2)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x638c2c,_0x20f2f0)=>_0x20f2f0(_0x638c2c)[_0x285011(0x3f8)](_0x3c07cc['concatMap'](async _0x3803e3=>{var _0x527a7a=_0x285011;const _0x335e12=_0x3803e3;if(_0x335e12[_0x527a7a(0x431)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x527a7a(0x34c)](this[_0x527a7a(0x17a)]['t'](_0x527a7a(0x23f)))){const _0x402671=window['encodeURIComponent'](window['location'][_0x527a7a(0x206)]);window[_0x527a7a(0x3e8)][_0x527a7a(0x206)]=this['_getLoginPath']()+'?url='+_0x402671;}}return _0x335e12;}))});}['_getLoginPath'](){var _0x37a147=_0x297728,_0x36fde9,_0x31fd33;const _0x4d9c4e=this[_0x37a147(0x21c)][_0x37a147(0x3fd)](_0x1a7860),_0x22424c=this[_0x37a147(0x21c)][_0x37a147(0x3fd)](_0x417457);return(_0x31fd33=(_0x36fde9=_0x22424c==null?void 0x0:_0x22424c[_0x37a147(0x43e)])!=null?_0x36fde9:_0x4d9c4e)!=null?_0x31fd33:_0x5ea95c;}};_0x5b70ad=_0x10a070([_0x12daef(0x0,_0x1cba28['IConfigService']),_0x12daef(0x1,_0x1cba28[_0x297728(0x230)](_0x3f31ff[_0x297728(0x319)])),_0x12daef(0x2,_0x1cba28[_0x297728(0x230)](_0x1cba28[_0x297728(0x2b0)]))],_0x5b70ad);var _0x44f111=Object['getOwnPropertyDescriptor'],_0x5d78e9=(_0x2e8a25,_0x533572,_0x25b79e,_0x220ade)=>{var _0x422b86=_0x297728;for(var _0x2a6122=_0x220ade>0x1?void 0x0:_0x220ade?_0x44f111(_0x533572,_0x25b79e):_0x533572,_0x108b2d=_0x2e8a25[_0x422b86(0x1e8)]-0x1,_0x3567e5;_0x108b2d>=0x0;_0x108b2d--)(_0x3567e5=_0x2e8a25[_0x108b2d])&&(_0x2a6122=_0x3567e5(_0x2a6122)||_0x2a6122);return _0x2a6122;},_0x2ac433=(_0x13e43d,_0x52d708)=>(_0x3e324b,_0x34b5c9)=>_0x52d708(_0x3e324b,_0x34b5c9,_0x13e43d);const _0x100441=_0x297728(0x459),_0x3770e9='/universer-api/authz';_0x4e9958['AuthzIoHttpService']=class extends _0x1cba28[_0x297728(0x492)]{constructor(_0x2dec15,_0x556acc){var _0x6be5ef=_0x297728;super(),this[_0x6be5ef(0x2a9)]=_0x2dec15,this[_0x6be5ef(0x21c)]=_0x556acc,this[_0x6be5ef(0x22c)]();}[_0x297728(0x22c)](){var _0x414d46=_0x297728;const _0x3b3186=this;this[_0x414d46(0x442)](this['_HTTPService'][_0x414d46(0x4ad)]({'priority':0x3e7,'interceptor':_0x3f31ff[_0x414d46(0x21b)]({'isMatch'(_0x3ca4d0){var _0x19c684=_0x414d46,_0x3a778b;if(_0x3ca4d0[_0x19c684(0x2db)]===_0x19c684(0x481)&&((_0x3a778b=_0x3ca4d0[_0x19c684(0x188)])!=null&&_0x3a778b[_0x19c684(0x330)])){const {objectID:_0x3ad3f3,objectType:_0x179d08}=_0x3ca4d0[_0x19c684(0x188)][_0x19c684(0x330)]||{};if(!_0x3ad3f3||_0x179d08===void 0x0)return!0x1;const _0x1912b8=_0x3b3186[_0x19c684(0x3a1)]()+'/'+_0x179d08+_0x19c684(0x386)+_0x3ad3f3+'/allowed';if(_0x3ca4d0[_0x19c684(0x3a2)]===_0x1912b8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2b9279){var _0x9b2fd5=_0x414d46,_0x31f4f4;return(_0x31f4f4=_0x2b9279[_0x9b2fd5(0x188)])==null?void 0x0:_0x31f4f4[_0x9b2fd5(0x330)];},'mergeParamsToRequest'(_0x43b956,_0x318d52){var _0x134eb2=_0x414d46;const _0x35efdd=_0x3b3186[_0x134eb2(0x3a1)]()+'/-/object/-/batch_allowed',_0x3468b5=_0x43b956[_0x134eb2(0x316)]((_0x4c28c1,_0x4d6135)=>{var _0x4579d7=_0x134eb2;const {unitID:_0x239acd,objectID:_0x597fdf,objectType:_0x5242ff,actions:_0x26f455}=_0x4d6135;return _0x4c28c1[_0x239acd]||(_0x4c28c1[_0x239acd]={}),_0x4c28c1[_0x239acd][_0x597fdf]||(_0x4c28c1[_0x239acd][_0x597fdf]={'objectID':_0x597fdf,'objectType':_0x5242ff,'actions':[]}),_0x4c28c1[_0x239acd][_0x597fdf][_0x4579d7(0x1ae)][_0x4579d7(0x2e2)](..._0x26f455),_0x4c28c1;},{}),_0x527b1a=[];for(const _0x2ea5ce in _0x3468b5)for(const _0x1fa7ea in _0x3468b5[_0x2ea5ce]){const {actions:_0x309597,objectType:_0x4a44ce}=_0x3468b5[_0x2ea5ce][_0x1fa7ea],_0x1e9554=[...new Set(_0x309597)];_0x527b1a['push']({'unitID':_0x2ea5ce,'objectID':_0x1fa7ea,'objectType':_0x4a44ce,'actions':_0x1e9554});}return new _0x3f31ff[(_0x134eb2(0x4cd))](_0x134eb2(0x481),_0x35efdd,{'headers':_0x318d52[_0x134eb2(0x1eb)],'withCredentials':_0x318d52[_0x134eb2(0x4db)],'responseType':_0x318d52['responseType'],'body':{'requests':_0x527b1a}});}},{'distributeResult'(_0x18b64c,_0x1e0f33){var _0x1c07fd=_0x414d46;const {objectActions:_0x420b4d}=_0x18b64c;return _0x1e0f33[_0x1c07fd(0x242)](_0x305e5b=>{var _0x38b060=_0x1c07fd;const {unitID:_0x3895a3,objectID:_0x21180e,actions:_0xe43d65}=_0x305e5b,_0x453e4f=_0x420b4d[_0x38b060(0x1ea)](_0x778a1d=>_0x778a1d[_0x38b060(0x2bf)]===_0x3895a3&&_0x778a1d[_0x38b060(0x180)]===_0x21180e),_0x38d002=_0xe43d65['map'](_0x5e6477=>_0x453e4f==null?void 0x0:_0x453e4f[_0x38b060(0x1ae)][_0x38b060(0x1ea)](_0x5b70df=>_0x5b70df[_0x38b060(0x3ef)]===_0x5e6477))[_0x38b060(0x24f)](_0x3e93e4=>!!_0x3e93e4);return{'config':_0x305e5b,'result':{'actions':_0x38d002,'error':_0x18b64c[_0x38b060(0x33f)]}};});}})}));}[_0x297728(0x3a1)](){var _0x540c1e=_0x297728,_0x1d24d9,_0x1cae8a;const _0x119dce=this[_0x540c1e(0x21c)][_0x540c1e(0x3fd)](_0x100441),_0x5d76be=this[_0x540c1e(0x21c)][_0x540c1e(0x3fd)](_0x417457);return(_0x1cae8a=(_0x1d24d9=_0x5d76be==null?void 0x0:_0x5d76be['authzUrl'])!=null?_0x1d24d9:_0x119dce)!=null?_0x1cae8a:_0x3770e9;}async['create'](_0x5f69d4){var _0x4d6a7b=_0x297728;const _0x23de82=this['_getAPIPrefixPath']()+'/'+_0x5f69d4['objectType']+_0x4d6a7b(0x2ba);return(await this['_HTTPService'][_0x4d6a7b(0x22f)](_0x23de82,{'body':_0x5f69d4}))['body'][_0x4d6a7b(0x180)]||'';}async['list'](_0x2e481d){var _0x3a7521=_0x297728;const _0x30723c=this[_0x3a7521(0x3a1)]()+'/-/object/list';return(await this[_0x3a7521(0x2a9)]['post'](_0x30723c,{'body':_0x2e481d}))[_0x3a7521(0x330)]['objects'];}async[_0x297728(0x454)](_0x19df80){var _0x552531=_0x297728,_0x567425,_0x34456f;const _0xf0041c=this[_0x552531(0x3a1)]()+'/'+_0x19df80['objectType']+_0x552531(0x386)+_0x19df80[_0x552531(0x180)],_0x5e52c3=await this[_0x552531(0x2a9)][_0x552531(0x311)](_0xf0041c,{'body':_0x19df80});if(((_0x34456f=(_0x567425=_0x5e52c3==null?void 0x0:_0x5e52c3[_0x552531(0x330)])==null?void 0x0:_0x567425[_0x552531(0x33f)])==null?void 0x0:_0x34456f[_0x552531(0x291)])!==0x1)throw new Error(_0x552531(0x341));}async[_0x297728(0x1d5)](_0x3a12b9){var _0x14be7d=_0x297728;const _0x2a9aec=this[_0x14be7d(0x3a1)]()+'/'+_0x3a12b9[_0x14be7d(0x356)]+_0x14be7d(0x386)+_0x3a12b9[_0x14be7d(0x180)]+'/allowed';return(await this['_HTTPService'][_0x14be7d(0x22f)](_0x2a9aec,{'body':_0x3a12b9}))[_0x14be7d(0x330)][_0x14be7d(0x1ae)];}async[_0x297728(0x37e)](_0x3d3135){var _0x480593=_0x297728;const _0x31fa82=this[_0x480593(0x3a1)]()+_0x480593(0x16f);return(await this[_0x480593(0x2a9)][_0x480593(0x22f)](_0x31fa82,{'body':{'requests':_0x3d3135}}))[_0x480593(0x330)][_0x480593(0x416)];}async[_0x297728(0x194)](_0x4e61fa){var _0x42c7eb=_0x297728;const _0x254b5d=this[_0x42c7eb(0x3a1)]()+'/'+_0x4e61fa[_0x42c7eb(0x356)]+_0x42c7eb(0x2bc),_0x311234=await this[_0x42c7eb(0x2a9)][_0x42c7eb(0x22f)](_0x254b5d,{'body':_0x4e61fa});return{'roles':_0x311234[_0x42c7eb(0x330)][_0x42c7eb(0x277)],'actions':_0x311234[_0x42c7eb(0x330)][_0x42c7eb(0x1ae)]};}async[_0x297728(0x2f1)](_0x552414){var _0x56c28a=_0x297728;const _0x4f5373=this[_0x56c28a(0x3a1)]()+_0x56c28a(0x403);await this[_0x56c28a(0x2a9)][_0x56c28a(0x27d)](_0x4f5373,{'params':{'collaboratorID':_0x552414[_0x56c28a(0x185)],'objectID':_0x552414[_0x56c28a(0x180)],'unitID':_0x552414['unitID']}});}async[_0x297728(0x23e)](_0x259181){var _0x3ba229=_0x297728;const _0x159b97=this[_0x3ba229(0x3a1)]()+_0x3ba229(0x403);await this[_0x3ba229(0x2a9)][_0x3ba229(0x408)](_0x159b97,{'body':_0x259181});}async[_0x297728(0x1d8)](_0x3b04fc){var _0x422bd8=_0x297728;const _0x5d9078=this[_0x422bd8(0x3a1)]()+_0x422bd8(0x403);await this[_0x422bd8(0x2a9)]['post'](_0x5d9078,{'body':_0x3b04fc});}async['listCollaborators'](_0x57d228){var _0x226ed4=_0x297728;const _0x2b10fc=this[_0x226ed4(0x3a1)]()+_0x226ed4(0x403);return(await this[_0x226ed4(0x2a9)][_0x226ed4(0x40b)](_0x2b10fc,{'params':{'objectID':_0x57d228[_0x226ed4(0x180)],'unitID':_0x57d228[_0x226ed4(0x2bf)]}}))['body']['collaborators'];}async[_0x297728(0x2d2)](_0x27102e){var _0x37e60b=_0x297728;const _0x3a272b=this[_0x37e60b(0x3a1)]()+_0x37e60b(0x403);await this['_HTTPService'][_0x37e60b(0x311)](_0x3a272b,{'body':_0x27102e});}},_0x4e9958[_0x297728(0x1a5)]=_0x5d78e9([_0x2ac433(0x0,_0x1cba28['Inject'](_0x3f31ff['HTTPService'])),_0x2ac433(0x1,_0x1cba28[_0x297728(0x230)](_0x1cba28[_0x297728(0x210)]))],_0x4e9958[_0x297728(0x1a5)]);var _0x1f0830=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x4a73a6(_0x4d6325){var _0x5a1ecf=_0x297728;return _0x4d6325&&_0x4d6325[_0x5a1ecf(0x272)]&&Object[_0x5a1ecf(0x2f8)][_0x5a1ecf(0x2e5)][_0x5a1ecf(0x17f)](_0x4d6325,'default')?_0x4d6325[_0x5a1ecf(0x1a6)]:_0x4d6325;}var _0x2dcbfa={'exports':{}};function _0x56ebba(_0x2669c2){var _0x2e4bdb=_0x297728;throw new Error(_0x2e4bdb(0x479)+_0x2669c2+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x4f5f03={'exports':{}},_0x3f3359=_0x4f5f03['exports'],_0x1164c6;function _0x10621c(){return _0x1164c6||(_0x1164c6=0x1,function(_0x988362,_0x574cfe){(function(_0x5fa9db,_0x1295e4){var _0x53d7c1=_0x4809;_0x988362[_0x53d7c1(0x43f)]=_0x1295e4();}(_0x3f3359,function(){var _0x29f53c=_0x29f53c||function(_0x478dd7,_0x2d05fe){var _0x4cbc74=_0x4809,_0x437ea2;if(typeof window<'u'&&window[_0x4cbc74(0x2c3)]&&(_0x437ea2=window['crypto']),typeof self<'u'&&self[_0x4cbc74(0x2c3)]&&(_0x437ea2=self[_0x4cbc74(0x2c3)]),typeof globalThis<'u'&&globalThis[_0x4cbc74(0x2c3)]&&(_0x437ea2=globalThis[_0x4cbc74(0x2c3)]),!_0x437ea2&&typeof window<'u'&&window[_0x4cbc74(0x445)]&&(_0x437ea2=window[_0x4cbc74(0x445)]),!_0x437ea2&&typeof _0x1f0830<'u'&&_0x1f0830[_0x4cbc74(0x2c3)]&&(_0x437ea2=_0x1f0830[_0x4cbc74(0x2c3)]),!_0x437ea2&&typeof _0x56ebba==_0x4cbc74(0x3b1))try{_0x437ea2=require(_0x4cbc74(0x2c3));}catch{}var _0x63778a=function(){var _0x222eb7=_0x4cbc74;if(_0x437ea2){if(typeof _0x437ea2[_0x222eb7(0x239)]=='function')try{return _0x437ea2[_0x222eb7(0x239)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x437ea2[_0x222eb7(0x1f5)]=='function')try{return _0x437ea2[_0x222eb7(0x1f5)](0x4)[_0x222eb7(0x407)]();}catch{}}throw new Error(_0x222eb7(0x3e2));},_0x40a075=Object['create']||(function(){function _0x325172(){}return function(_0x4e9120){var _0x196bfe=_0x4809,_0x480a1c;return _0x325172[_0x196bfe(0x2f8)]=_0x4e9120,_0x480a1c=new _0x325172(),_0x325172['prototype']=null,_0x480a1c;};}()),_0x18129d={},_0x5a55d4=_0x18129d['lib']={},_0x2be125=_0x5a55d4[_0x4cbc74(0x4d4)]=(function(){return{'extend':function(_0x5e1916){var _0x47e0b6=_0x4809,_0xededb5=_0x40a075(this);return _0x5e1916&&_0xededb5[_0x47e0b6(0x45d)](_0x5e1916),(!_0xededb5[_0x47e0b6(0x2e5)]('init')||this[_0x47e0b6(0x4e6)]===_0xededb5['init'])&&(_0xededb5[_0x47e0b6(0x4e6)]=function(){var _0x281dcd=_0x47e0b6;_0xededb5[_0x281dcd(0x29e)][_0x281dcd(0x4e6)][_0x281dcd(0x1b7)](this,arguments);}),_0xededb5[_0x47e0b6(0x4e6)]['prototype']=_0xededb5,_0xededb5[_0x47e0b6(0x29e)]=this,_0xededb5;},'create':function(){var _0x2b7eb2=_0x4809,_0x417786=this[_0x2b7eb2(0x3cc)]();return _0x417786[_0x2b7eb2(0x4e6)][_0x2b7eb2(0x1b7)](_0x417786,arguments),_0x417786;},'init':function(){},'mixIn':function(_0x303d68){var _0x30122d=_0x4809;for(var _0x349aff in _0x303d68)_0x303d68[_0x30122d(0x2e5)](_0x349aff)&&(this[_0x349aff]=_0x303d68[_0x349aff]);_0x303d68['hasOwnProperty'](_0x30122d(0x351))&&(this[_0x30122d(0x351)]=_0x303d68[_0x30122d(0x351)]);},'clone':function(){var _0x349caa=_0x4809;return this[_0x349caa(0x4e6)][_0x349caa(0x2f8)][_0x349caa(0x3cc)](this);}};}()),_0x128910=_0x5a55d4['WordArray']=_0x2be125['extend']({'init':function(_0x33d9a6,_0x944f6){var _0x14f6fa=_0x4cbc74;_0x33d9a6=this[_0x14f6fa(0x21f)]=_0x33d9a6||[],_0x944f6!=_0x2d05fe?this[_0x14f6fa(0x40f)]=_0x944f6:this[_0x14f6fa(0x40f)]=_0x33d9a6[_0x14f6fa(0x1e8)]*0x4;},'toString':function(_0x593055){var _0x42a977=_0x4cbc74;return(_0x593055||_0x1ef4e2)[_0x42a977(0x26b)](this);},'concat':function(_0x93f575){var _0x2d26c1=_0x4cbc74,_0x1a1168=this[_0x2d26c1(0x21f)],_0x176153=_0x93f575[_0x2d26c1(0x21f)],_0x45a30e=this[_0x2d26c1(0x40f)],_0x2dd97b=_0x93f575[_0x2d26c1(0x40f)];if(this[_0x2d26c1(0x1b8)](),_0x45a30e%0x4)for(var _0x4cb5ff=0x0;_0x4cb5ff<_0x2dd97b;_0x4cb5ff++){var _0x3ab2c4=_0x176153[_0x4cb5ff>>>0x2]>>>0x18-_0x4cb5ff%0x4*0x8&0xff;_0x1a1168[_0x45a30e+_0x4cb5ff>>>0x2]|=_0x3ab2c4<<0x18-(_0x45a30e+_0x4cb5ff)%0x4*0x8;}else{for(var _0x58c8ac=0x0;_0x58c8ac<_0x2dd97b;_0x58c8ac+=0x4)_0x1a1168[_0x45a30e+_0x58c8ac>>>0x2]=_0x176153[_0x58c8ac>>>0x2];}return this[_0x2d26c1(0x40f)]+=_0x2dd97b,this;},'clamp':function(){var _0x106c66=_0x4cbc74,_0x358023=this[_0x106c66(0x21f)],_0xcf4fd7=this['sigBytes'];_0x358023[_0xcf4fd7>>>0x2]&=0xffffffff<<0x20-_0xcf4fd7%0x4*0x8,_0x358023[_0x106c66(0x1e8)]=_0x478dd7[_0x106c66(0x39e)](_0xcf4fd7/0x4);},'clone':function(){var _0x37d02a=_0x4cbc74,_0x4fc4fc=_0x2be125[_0x37d02a(0x4c6)][_0x37d02a(0x17f)](this);return _0x4fc4fc[_0x37d02a(0x21f)]=this[_0x37d02a(0x21f)][_0x37d02a(0x1c8)](0x0),_0x4fc4fc;},'random':function(_0xc2fbfc){var _0x1829ee=_0x4cbc74;for(var _0xbc7e1e=[],_0x9082f2=0x0;_0x9082f2<_0xc2fbfc;_0x9082f2+=0x4)_0xbc7e1e[_0x1829ee(0x2e2)](_0x63778a());return new _0x128910[(_0x1829ee(0x4e6))](_0xbc7e1e,_0xc2fbfc);}}),_0x4ac080=_0x18129d[_0x4cbc74(0x19b)]={},_0x1ef4e2=_0x4ac080[_0x4cbc74(0x34f)]={'stringify':function(_0x170ad8){var _0xe0fc2c=_0x4cbc74;for(var _0x521223=_0x170ad8[_0xe0fc2c(0x21f)],_0x2be716=_0x170ad8[_0xe0fc2c(0x40f)],_0x4535d2=[],_0x3b1c8b=0x0;_0x3b1c8b<_0x2be716;_0x3b1c8b++){var _0x517a44=_0x521223[_0x3b1c8b>>>0x2]>>>0x18-_0x3b1c8b%0x4*0x8&0xff;_0x4535d2['push']((_0x517a44>>>0x4)[_0xe0fc2c(0x351)](0x10)),_0x4535d2[_0xe0fc2c(0x2e2)]((_0x517a44&0xf)['toString'](0x10));}return _0x4535d2[_0xe0fc2c(0x2f9)]('');},'parse':function(_0x40ea67){var _0x135da0=_0x4cbc74;for(var _0x12b8a2=_0x40ea67[_0x135da0(0x1e8)],_0x2a953e=[],_0x1dc487=0x0;_0x1dc487<_0x12b8a2;_0x1dc487+=0x2)_0x2a953e[_0x1dc487>>>0x3]|=parseInt(_0x40ea67[_0x135da0(0x414)](_0x1dc487,0x2),0x10)<<0x18-_0x1dc487%0x8*0x4;return new _0x128910[(_0x135da0(0x4e6))](_0x2a953e,_0x12b8a2/0x2);}},_0xaff125=_0x4ac080[_0x4cbc74(0x2c0)]={'stringify':function(_0x181217){var _0x20c282=_0x4cbc74;for(var _0x3d590a=_0x181217['words'],_0x3e0a8f=_0x181217[_0x20c282(0x40f)],_0x52e861=[],_0x45c283=0x0;_0x45c283<_0x3e0a8f;_0x45c283++){var _0x12c1cc=_0x3d590a[_0x45c283>>>0x2]>>>0x18-_0x45c283%0x4*0x8&0xff;_0x52e861[_0x20c282(0x2e2)](String[_0x20c282(0x45a)](_0x12c1cc));}return _0x52e861[_0x20c282(0x2f9)]('');},'parse':function(_0x16c07){var _0x3ed50a=_0x4cbc74;for(var _0x13335f=_0x16c07[_0x3ed50a(0x1e8)],_0xec7f1b=[],_0x366e8c=0x0;_0x366e8c<_0x13335f;_0x366e8c++)_0xec7f1b[_0x366e8c>>>0x2]|=(_0x16c07[_0x3ed50a(0x3ee)](_0x366e8c)&0xff)<<0x18-_0x366e8c%0x4*0x8;return new _0x128910[(_0x3ed50a(0x4e6))](_0xec7f1b,_0x13335f);}},_0x578854=_0x4ac080[_0x4cbc74(0x360)]={'stringify':function(_0xd38dc2){var _0x1ddca2=_0x4cbc74;try{return decodeURIComponent(escape(_0xaff125[_0x1ddca2(0x26b)](_0xd38dc2)));}catch{throw new Error(_0x1ddca2(0x1ac));}},'parse':function(_0x2a7f50){var _0x407c0c=_0x4cbc74;return _0xaff125[_0x407c0c(0x3ca)](unescape(encodeURIComponent(_0x2a7f50)));}},_0x347337=_0x5a55d4[_0x4cbc74(0x21e)]=_0x2be125[_0x4cbc74(0x3cc)]({'reset':function(){var _0xe90f41=_0x4cbc74;this[_0xe90f41(0x1ce)]=new _0x128910[(_0xe90f41(0x4e6))](),this[_0xe90f41(0x315)]=0x0;},'_append':function(_0x33ea08){var _0x1233c6=_0x4cbc74;typeof _0x33ea08==_0x1233c6(0x4e7)&&(_0x33ea08=_0x578854[_0x1233c6(0x3ca)](_0x33ea08)),this['_data'][_0x1233c6(0x34b)](_0x33ea08),this[_0x1233c6(0x315)]+=_0x33ea08[_0x1233c6(0x40f)];},'_process':function(_0x217378){var _0x328a94=_0x4cbc74,_0x3398d3,_0x113719=this[_0x328a94(0x1ce)],_0x605406=_0x113719['words'],_0x57d854=_0x113719[_0x328a94(0x40f)],_0xfa8ae1=this[_0x328a94(0x3cb)],_0x4f2dee=_0xfa8ae1*0x4,_0x5bd140=_0x57d854/_0x4f2dee;_0x217378?_0x5bd140=_0x478dd7[_0x328a94(0x39e)](_0x5bd140):_0x5bd140=_0x478dd7[_0x328a94(0x21d)]((_0x5bd140|0x0)-this[_0x328a94(0x1b3)],0x0);var _0xaf668d=_0x5bd140*_0xfa8ae1,_0xf8050c=_0x478dd7[_0x328a94(0x355)](_0xaf668d*0x4,_0x57d854);if(_0xaf668d){for(var _0x5a5206=0x0;_0x5a5206<_0xaf668d;_0x5a5206+=_0xfa8ae1)this['_doProcessBlock'](_0x605406,_0x5a5206);_0x3398d3=_0x605406[_0x328a94(0x1a3)](0x0,_0xaf668d),_0x113719[_0x328a94(0x40f)]-=_0xf8050c;}return new _0x128910['init'](_0x3398d3,_0xf8050c);},'clone':function(){var _0x440a69=_0x4cbc74,_0x298985=_0x2be125[_0x440a69(0x4c6)][_0x440a69(0x17f)](this);return _0x298985[_0x440a69(0x1ce)]=this['_data'][_0x440a69(0x4c6)](),_0x298985;},'_minBufferSize':0x0});_0x5a55d4[_0x4cbc74(0x31a)]=_0x347337[_0x4cbc74(0x3cc)]({'cfg':_0x2be125[_0x4cbc74(0x3cc)](),'init':function(_0x5368c8){var _0x4df57b=_0x4cbc74;this[_0x4df57b(0x25f)]=this[_0x4df57b(0x25f)][_0x4df57b(0x3cc)](_0x5368c8),this['reset']();},'reset':function(){var _0x1da136=_0x4cbc74;_0x347337[_0x1da136(0x4d8)][_0x1da136(0x17f)](this),this['_doReset']();},'update':function(_0xa0875c){var _0x5a13e8=_0x4cbc74;return this[_0x5a13e8(0x44d)](_0xa0875c),this[_0x5a13e8(0x271)](),this;},'finalize':function(_0x330863){var _0x4bfa06=_0x4cbc74;_0x330863&&this['_append'](_0x330863);var _0x4b4d43=this[_0x4bfa06(0x38f)]();return _0x4b4d43;},'blockSize':0x10,'_createHelper':function(_0x2919b7){return function(_0x512b2b,_0x18ef8e){var _0x49f419=_0x4809;return new _0x2919b7['init'](_0x18ef8e)[_0x49f419(0x202)](_0x512b2b);};},'_createHmacHelper':function(_0x5f3e26){return function(_0x23db61,_0x2c24c5){var _0x20eb4d=_0x4809;return new _0x32b3d3['HMAC']['init'](_0x5f3e26,_0x2c24c5)[_0x20eb4d(0x202)](_0x23db61);};}});var _0x32b3d3=_0x18129d[_0x4cbc74(0x4e0)]={};return _0x18129d;}(Math);return _0x29f53c;}));}(_0x4f5f03)),_0x4f5f03['exports'];}var _0x519ff7={'exports':{}},_0x3b8668=_0x519ff7[_0x297728(0x43f)],_0x1c50d5;function _0x429691(){var _0xce4c9=_0x297728;return _0x1c50d5||(_0x1c50d5=0x1,function(_0x3d3c12,_0x160d97){(function(_0x55caba,_0x2a2beb){var _0x48fdeb=_0x4809;_0x3d3c12[_0x48fdeb(0x43f)]=_0x2a2beb(_0x10621c());}(_0x3b8668,function(_0x4ceed5){var _0x3c25cd=_0x4809;return(function(){var _0x4c362c=_0x4809,_0x8a2dc6=_0x4ceed5,_0x34c809=_0x8a2dc6[_0x4c362c(0x401)],_0x380e33=_0x34c809[_0x4c362c(0x2bb)],_0x42dd2e=_0x8a2dc6[_0x4c362c(0x19b)];_0x42dd2e[_0x4c362c(0x183)]={'stringify':function(_0x433608){var _0x16a9ff=_0x4c362c,_0x1f26be=_0x433608[_0x16a9ff(0x21f)],_0x57269e=_0x433608[_0x16a9ff(0x40f)],_0x39f778=this[_0x16a9ff(0x398)];_0x433608['clamp']();for(var _0x245f09=[],_0x2ff5f7=0x0;_0x2ff5f7<_0x57269e;_0x2ff5f7+=0x3)for(var _0xec383f=_0x1f26be[_0x2ff5f7>>>0x2]>>>0x18-_0x2ff5f7%0x4*0x8&0xff,_0x312cf4=_0x1f26be[_0x2ff5f7+0x1>>>0x2]>>>0x18-(_0x2ff5f7+0x1)%0x4*0x8&0xff,_0x4aa24e=_0x1f26be[_0x2ff5f7+0x2>>>0x2]>>>0x18-(_0x2ff5f7+0x2)%0x4*0x8&0xff,_0x36f6c7=_0xec383f<<0x10|_0x312cf4<<0x8|_0x4aa24e,_0x33a03c=0x0;_0x33a03c<0x4&&_0x2ff5f7+_0x33a03c*0.75<_0x57269e;_0x33a03c++)_0x245f09[_0x16a9ff(0x2e2)](_0x39f778[_0x16a9ff(0x4d6)](_0x36f6c7>>>0x6*(0x3-_0x33a03c)&0x3f));var _0x4de0c7=_0x39f778['charAt'](0x40);if(_0x4de0c7){for(;_0x245f09['length']%0x4;)_0x245f09[_0x16a9ff(0x2e2)](_0x4de0c7);}return _0x245f09['join']('');},'parse':function(_0x4a0ed2){var _0x53950f=_0x4c362c,_0x411a8d=_0x4a0ed2['length'],_0x40797c=this[_0x53950f(0x398)],_0x2448f2=this['_reverseMap'];if(!_0x2448f2){_0x2448f2=this[_0x53950f(0x339)]=[];for(var _0x5eca4a=0x0;_0x5eca4a<_0x40797c[_0x53950f(0x1e8)];_0x5eca4a++)_0x2448f2[_0x40797c[_0x53950f(0x3ee)](_0x5eca4a)]=_0x5eca4a;}var _0x52fedb=_0x40797c[_0x53950f(0x4d6)](0x40);if(_0x52fedb){var _0x5d29a2=_0x4a0ed2['indexOf'](_0x52fedb);_0x5d29a2!==-0x1&&(_0x411a8d=_0x5d29a2);}return _0x37319d(_0x4a0ed2,_0x411a8d,_0x2448f2);},'_map':_0x4c362c(0x1d6)};function _0x37319d(_0x3e326e,_0x57680d,_0x167225){var _0x25ebbc=_0x4c362c;for(var _0x387c27=[],_0x131a11=0x0,_0x2fa2de=0x0;_0x2fa2de<_0x57680d;_0x2fa2de++)if(_0x2fa2de%0x4){var _0x30a83a=_0x167225[_0x3e326e[_0x25ebbc(0x3ee)](_0x2fa2de-0x1)]<<_0x2fa2de%0x4*0x2,_0x41e73b=_0x167225[_0x3e326e[_0x25ebbc(0x3ee)](_0x2fa2de)]>>>0x6-_0x2fa2de%0x4*0x2,_0x310ab1=_0x30a83a|_0x41e73b;_0x387c27[_0x131a11>>>0x2]|=_0x310ab1<<0x18-_0x131a11%0x4*0x8,_0x131a11++;}return _0x380e33['create'](_0x387c27,_0x131a11);}}()),_0x4ceed5[_0x3c25cd(0x19b)][_0x3c25cd(0x183)];}));}(_0x519ff7)),_0x519ff7[_0xce4c9(0x43f)];}var _0x4d5a0e={'exports':{}},_0x5534e8=_0x4d5a0e['exports'],_0xb2cb71;function _0x455eba(){var _0x2c2d3d=_0x297728;return _0xb2cb71||(_0xb2cb71=0x1,function(_0x55eeef,_0x59e5ca){(function(_0x5afa43,_0x2533b3){var _0x3ec8f2=_0x4809;_0x55eeef[_0x3ec8f2(0x43f)]=_0x2533b3(_0x10621c());}(_0x5534e8,function(_0x3d3057){var _0x119f4a=_0x4809;return function(_0x3bc08c){var _0xf89943=_0x4809,_0x797889=_0x3d3057,_0x4192ae=_0x797889['lib'],_0x4859e7=_0x4192ae[_0xf89943(0x2bb)],_0x379f60=_0x4192ae[_0xf89943(0x31a)],_0x577b24=_0x797889['algo'],_0x1f4db8=[];(function(){var _0x3e2ed5=_0xf89943;for(var _0x2732b1=0x0;_0x2732b1<0x40;_0x2732b1++)_0x1f4db8[_0x2732b1]=_0x3bc08c[_0x3e2ed5(0x314)](_0x3bc08c[_0x3e2ed5(0x1ba)](_0x2732b1+0x1))*0x100000000|0x0;}());var _0x4e9b85=_0x577b24[_0xf89943(0x3f4)]=_0x379f60[_0xf89943(0x3cc)]({'_doReset':function(){var _0x31faba=_0xf89943;this[_0x31faba(0x20b)]=new _0x4859e7['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x39c71e,_0x45a6e4){var _0x1676be=_0xf89943;for(var _0x52b9bb=0x0;_0x52b9bb<0x10;_0x52b9bb++){var _0x3d9b4e=_0x45a6e4+_0x52b9bb,_0x2ee523=_0x39c71e[_0x3d9b4e];_0x39c71e[_0x3d9b4e]=(_0x2ee523<<0x8|_0x2ee523>>>0x18)&0xff00ff|(_0x2ee523<<0x18|_0x2ee523>>>0x8)&0xff00ff00;}var _0x1e59f7=this[_0x1676be(0x20b)][_0x1676be(0x21f)],_0x3b4c30=_0x39c71e[_0x45a6e4+0x0],_0xf203b9=_0x39c71e[_0x45a6e4+0x1],_0x433e4c=_0x39c71e[_0x45a6e4+0x2],_0x5db40d=_0x39c71e[_0x45a6e4+0x3],_0x3918a8=_0x39c71e[_0x45a6e4+0x4],_0x20f5c3=_0x39c71e[_0x45a6e4+0x5],_0x15c7c7=_0x39c71e[_0x45a6e4+0x6],_0x5a1ec7=_0x39c71e[_0x45a6e4+0x7],_0x482700=_0x39c71e[_0x45a6e4+0x8],_0x167926=_0x39c71e[_0x45a6e4+0x9],_0x235a72=_0x39c71e[_0x45a6e4+0xa],_0x43a02e=_0x39c71e[_0x45a6e4+0xb],_0x1a75b5=_0x39c71e[_0x45a6e4+0xc],_0x9f7803=_0x39c71e[_0x45a6e4+0xd],_0x20ed19=_0x39c71e[_0x45a6e4+0xe],_0xa8c0cc=_0x39c71e[_0x45a6e4+0xf],_0x4b7794=_0x1e59f7[0x0],_0x2535bf=_0x1e59f7[0x1],_0x3a1ee4=_0x1e59f7[0x2],_0x468d43=_0x1e59f7[0x3];_0x4b7794=_0x4c6903(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x3b4c30,0x7,_0x1f4db8[0x0]),_0x468d43=_0x4c6903(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0xf203b9,0xc,_0x1f4db8[0x1]),_0x3a1ee4=_0x4c6903(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x433e4c,0x11,_0x1f4db8[0x2]),_0x2535bf=_0x4c6903(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x5db40d,0x16,_0x1f4db8[0x3]),_0x4b7794=_0x4c6903(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x3918a8,0x7,_0x1f4db8[0x4]),_0x468d43=_0x4c6903(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x20f5c3,0xc,_0x1f4db8[0x5]),_0x3a1ee4=_0x4c6903(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x15c7c7,0x11,_0x1f4db8[0x6]),_0x2535bf=_0x4c6903(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x5a1ec7,0x16,_0x1f4db8[0x7]),_0x4b7794=_0x4c6903(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x482700,0x7,_0x1f4db8[0x8]),_0x468d43=_0x4c6903(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x167926,0xc,_0x1f4db8[0x9]),_0x3a1ee4=_0x4c6903(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x235a72,0x11,_0x1f4db8[0xa]),_0x2535bf=_0x4c6903(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x43a02e,0x16,_0x1f4db8[0xb]),_0x4b7794=_0x4c6903(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x1a75b5,0x7,_0x1f4db8[0xc]),_0x468d43=_0x4c6903(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x9f7803,0xc,_0x1f4db8[0xd]),_0x3a1ee4=_0x4c6903(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x20ed19,0x11,_0x1f4db8[0xe]),_0x2535bf=_0x4c6903(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0xa8c0cc,0x16,_0x1f4db8[0xf]),_0x4b7794=_0x50992d(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0xf203b9,0x5,_0x1f4db8[0x10]),_0x468d43=_0x50992d(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x15c7c7,0x9,_0x1f4db8[0x11]),_0x3a1ee4=_0x50992d(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x43a02e,0xe,_0x1f4db8[0x12]),_0x2535bf=_0x50992d(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x3b4c30,0x14,_0x1f4db8[0x13]),_0x4b7794=_0x50992d(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x20f5c3,0x5,_0x1f4db8[0x14]),_0x468d43=_0x50992d(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x235a72,0x9,_0x1f4db8[0x15]),_0x3a1ee4=_0x50992d(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0xa8c0cc,0xe,_0x1f4db8[0x16]),_0x2535bf=_0x50992d(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x3918a8,0x14,_0x1f4db8[0x17]),_0x4b7794=_0x50992d(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x167926,0x5,_0x1f4db8[0x18]),_0x468d43=_0x50992d(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x20ed19,0x9,_0x1f4db8[0x19]),_0x3a1ee4=_0x50992d(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x5db40d,0xe,_0x1f4db8[0x1a]),_0x2535bf=_0x50992d(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x482700,0x14,_0x1f4db8[0x1b]),_0x4b7794=_0x50992d(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x9f7803,0x5,_0x1f4db8[0x1c]),_0x468d43=_0x50992d(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x433e4c,0x9,_0x1f4db8[0x1d]),_0x3a1ee4=_0x50992d(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x5a1ec7,0xe,_0x1f4db8[0x1e]),_0x2535bf=_0x50992d(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x1a75b5,0x14,_0x1f4db8[0x1f]),_0x4b7794=_0x17c3d8(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x20f5c3,0x4,_0x1f4db8[0x20]),_0x468d43=_0x17c3d8(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x482700,0xb,_0x1f4db8[0x21]),_0x3a1ee4=_0x17c3d8(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x43a02e,0x10,_0x1f4db8[0x22]),_0x2535bf=_0x17c3d8(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x20ed19,0x17,_0x1f4db8[0x23]),_0x4b7794=_0x17c3d8(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0xf203b9,0x4,_0x1f4db8[0x24]),_0x468d43=_0x17c3d8(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x3918a8,0xb,_0x1f4db8[0x25]),_0x3a1ee4=_0x17c3d8(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x5a1ec7,0x10,_0x1f4db8[0x26]),_0x2535bf=_0x17c3d8(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x235a72,0x17,_0x1f4db8[0x27]),_0x4b7794=_0x17c3d8(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x9f7803,0x4,_0x1f4db8[0x28]),_0x468d43=_0x17c3d8(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x3b4c30,0xb,_0x1f4db8[0x29]),_0x3a1ee4=_0x17c3d8(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x5db40d,0x10,_0x1f4db8[0x2a]),_0x2535bf=_0x17c3d8(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x15c7c7,0x17,_0x1f4db8[0x2b]),_0x4b7794=_0x17c3d8(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x167926,0x4,_0x1f4db8[0x2c]),_0x468d43=_0x17c3d8(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x1a75b5,0xb,_0x1f4db8[0x2d]),_0x3a1ee4=_0x17c3d8(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0xa8c0cc,0x10,_0x1f4db8[0x2e]),_0x2535bf=_0x17c3d8(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x433e4c,0x17,_0x1f4db8[0x2f]),_0x4b7794=_0x5c5b55(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x3b4c30,0x6,_0x1f4db8[0x30]),_0x468d43=_0x5c5b55(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x5a1ec7,0xa,_0x1f4db8[0x31]),_0x3a1ee4=_0x5c5b55(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x20ed19,0xf,_0x1f4db8[0x32]),_0x2535bf=_0x5c5b55(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x20f5c3,0x15,_0x1f4db8[0x33]),_0x4b7794=_0x5c5b55(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x1a75b5,0x6,_0x1f4db8[0x34]),_0x468d43=_0x5c5b55(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x5db40d,0xa,_0x1f4db8[0x35]),_0x3a1ee4=_0x5c5b55(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x235a72,0xf,_0x1f4db8[0x36]),_0x2535bf=_0x5c5b55(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0xf203b9,0x15,_0x1f4db8[0x37]),_0x4b7794=_0x5c5b55(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x482700,0x6,_0x1f4db8[0x38]),_0x468d43=_0x5c5b55(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0xa8c0cc,0xa,_0x1f4db8[0x39]),_0x3a1ee4=_0x5c5b55(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x15c7c7,0xf,_0x1f4db8[0x3a]),_0x2535bf=_0x5c5b55(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x9f7803,0x15,_0x1f4db8[0x3b]),_0x4b7794=_0x5c5b55(_0x4b7794,_0x2535bf,_0x3a1ee4,_0x468d43,_0x3918a8,0x6,_0x1f4db8[0x3c]),_0x468d43=_0x5c5b55(_0x468d43,_0x4b7794,_0x2535bf,_0x3a1ee4,_0x43a02e,0xa,_0x1f4db8[0x3d]),_0x3a1ee4=_0x5c5b55(_0x3a1ee4,_0x468d43,_0x4b7794,_0x2535bf,_0x433e4c,0xf,_0x1f4db8[0x3e]),_0x2535bf=_0x5c5b55(_0x2535bf,_0x3a1ee4,_0x468d43,_0x4b7794,_0x167926,0x15,_0x1f4db8[0x3f]),_0x1e59f7[0x0]=_0x1e59f7[0x0]+_0x4b7794|0x0,_0x1e59f7[0x1]=_0x1e59f7[0x1]+_0x2535bf|0x0,_0x1e59f7[0x2]=_0x1e59f7[0x2]+_0x3a1ee4|0x0,_0x1e59f7[0x3]=_0x1e59f7[0x3]+_0x468d43|0x0;},'_doFinalize':function(){var _0x2587f7=_0xf89943,_0x1aff09=this[_0x2587f7(0x1ce)],_0x15fd21=_0x1aff09[_0x2587f7(0x21f)],_0x400780=this[_0x2587f7(0x315)]*0x8,_0x32d70d=_0x1aff09[_0x2587f7(0x40f)]*0x8;_0x15fd21[_0x32d70d>>>0x5]|=0x80<<0x18-_0x32d70d%0x20;var _0x5811ac=_0x3bc08c['floor'](_0x400780/0x100000000),_0x20f1dd=_0x400780;_0x15fd21[(_0x32d70d+0x40>>>0x9<<0x4)+0xf]=(_0x5811ac<<0x8|_0x5811ac>>>0x18)&0xff00ff|(_0x5811ac<<0x18|_0x5811ac>>>0x8)&0xff00ff00,_0x15fd21[(_0x32d70d+0x40>>>0x9<<0x4)+0xe]=(_0x20f1dd<<0x8|_0x20f1dd>>>0x18)&0xff00ff|(_0x20f1dd<<0x18|_0x20f1dd>>>0x8)&0xff00ff00,_0x1aff09[_0x2587f7(0x40f)]=(_0x15fd21[_0x2587f7(0x1e8)]+0x1)*0x4,this[_0x2587f7(0x271)]();for(var _0xef3935=this[_0x2587f7(0x20b)],_0x2a0dc8=_0xef3935[_0x2587f7(0x21f)],_0x4222b2=0x0;_0x4222b2<0x4;_0x4222b2++){var _0x185615=_0x2a0dc8[_0x4222b2];_0x2a0dc8[_0x4222b2]=(_0x185615<<0x8|_0x185615>>>0x18)&0xff00ff|(_0x185615<<0x18|_0x185615>>>0x8)&0xff00ff00;}return _0xef3935;},'clone':function(){var _0x4dc88e=_0xf89943,_0x5e40b0=_0x379f60[_0x4dc88e(0x4c6)]['call'](this);return _0x5e40b0[_0x4dc88e(0x20b)]=this[_0x4dc88e(0x20b)][_0x4dc88e(0x4c6)](),_0x5e40b0;}});function _0x4c6903(_0x467454,_0x322d12,_0x251bbb,_0x5b5363,_0x4d715e,_0x5015a0,_0x42b5c1){var _0x2a9a80=_0x467454+(_0x322d12&_0x251bbb|~_0x322d12&_0x5b5363)+_0x4d715e+_0x42b5c1;return(_0x2a9a80<<_0x5015a0|_0x2a9a80>>>0x20-_0x5015a0)+_0x322d12;}function _0x50992d(_0x1903ea,_0x109500,_0x45bac7,_0x505501,_0x498b2f,_0x4f245d,_0x188de0){var _0x44ef14=_0x1903ea+(_0x109500&_0x505501|_0x45bac7&~_0x505501)+_0x498b2f+_0x188de0;return(_0x44ef14<<_0x4f245d|_0x44ef14>>>0x20-_0x4f245d)+_0x109500;}function _0x17c3d8(_0x5da35f,_0x4bba13,_0x3e1210,_0x141dc0,_0x2d741f,_0x37923b,_0x185695){var _0x35f336=_0x5da35f+(_0x4bba13^_0x3e1210^_0x141dc0)+_0x2d741f+_0x185695;return(_0x35f336<<_0x37923b|_0x35f336>>>0x20-_0x37923b)+_0x4bba13;}function _0x5c5b55(_0x17d13e,_0x425dd0,_0x7d4b97,_0x20d621,_0x5780b5,_0x410125,_0x219b63){var _0x176527=_0x17d13e+(_0x7d4b97^(_0x425dd0|~_0x20d621))+_0x5780b5+_0x219b63;return(_0x176527<<_0x410125|_0x176527>>>0x20-_0x410125)+_0x425dd0;}_0x797889['MD5']=_0x379f60[_0xf89943(0x1de)](_0x4e9b85),_0x797889['HmacMD5']=_0x379f60[_0xf89943(0x1e3)](_0x4e9b85);}(Math),_0x3d3057[_0x119f4a(0x3f4)];}));}(_0x4d5a0e)),_0x4d5a0e[_0x2c2d3d(0x43f)];}var _0xce3512={'exports':{}},_0x5b666f={'exports':{}},_0x4f9bfc=_0x5b666f[_0x297728(0x43f)],_0x3737ea;function _0xfa5aa6(){var _0x23ffc1=_0x297728;return _0x3737ea||(_0x3737ea=0x1,function(_0x4d3f1b,_0x17e3ad){(function(_0xe04ea4,_0x5392b4){_0x4d3f1b['exports']=_0x5392b4(_0x10621c());}(_0x4f9bfc,function(_0x21ef78){var _0x174df5=_0x4809;return(function(){var _0x37518c=_0x4809,_0x2e454a=_0x21ef78,_0xd2872e=_0x2e454a['lib'],_0x299940=_0xd2872e['WordArray'],_0x4e170e=_0xd2872e[_0x37518c(0x31a)],_0x1f6ffd=_0x2e454a[_0x37518c(0x4e0)],_0x58ce37=[],_0x488c80=_0x1f6ffd[_0x37518c(0x280)]=_0x4e170e[_0x37518c(0x3cc)]({'_doReset':function(){var _0x3e9940=_0x37518c;this[_0x3e9940(0x20b)]=new _0x299940[(_0x3e9940(0x4e6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x333092,_0x422527){var _0x19b899=_0x37518c;for(var _0x3b7d5d=this[_0x19b899(0x20b)][_0x19b899(0x21f)],_0x156a55=_0x3b7d5d[0x0],_0x3f2ba1=_0x3b7d5d[0x1],_0x353200=_0x3b7d5d[0x2],_0x4e8c4f=_0x3b7d5d[0x3],_0x249b1b=_0x3b7d5d[0x4],_0x37879c=0x0;_0x37879c<0x50;_0x37879c++){if(_0x37879c<0x10)_0x58ce37[_0x37879c]=_0x333092[_0x422527+_0x37879c]|0x0;else{var _0x44e92a=_0x58ce37[_0x37879c-0x3]^_0x58ce37[_0x37879c-0x8]^_0x58ce37[_0x37879c-0xe]^_0x58ce37[_0x37879c-0x10];_0x58ce37[_0x37879c]=_0x44e92a<<0x1|_0x44e92a>>>0x1f;}var _0x4a04cf=(_0x156a55<<0x5|_0x156a55>>>0x1b)+_0x249b1b+_0x58ce37[_0x37879c];_0x37879c<0x14?_0x4a04cf+=(_0x3f2ba1&_0x353200|~_0x3f2ba1&_0x4e8c4f)+0x5a827999:_0x37879c<0x28?_0x4a04cf+=(_0x3f2ba1^_0x353200^_0x4e8c4f)+0x6ed9eba1:_0x37879c<0x3c?_0x4a04cf+=(_0x3f2ba1&_0x353200|_0x3f2ba1&_0x4e8c4f|_0x353200&_0x4e8c4f)-0x70e44324:_0x4a04cf+=(_0x3f2ba1^_0x353200^_0x4e8c4f)-0x359d3e2a,_0x249b1b=_0x4e8c4f,_0x4e8c4f=_0x353200,_0x353200=_0x3f2ba1<<0x1e|_0x3f2ba1>>>0x2,_0x3f2ba1=_0x156a55,_0x156a55=_0x4a04cf;}_0x3b7d5d[0x0]=_0x3b7d5d[0x0]+_0x156a55|0x0,_0x3b7d5d[0x1]=_0x3b7d5d[0x1]+_0x3f2ba1|0x0,_0x3b7d5d[0x2]=_0x3b7d5d[0x2]+_0x353200|0x0,_0x3b7d5d[0x3]=_0x3b7d5d[0x3]+_0x4e8c4f|0x0,_0x3b7d5d[0x4]=_0x3b7d5d[0x4]+_0x249b1b|0x0;},'_doFinalize':function(){var _0x166e79=_0x37518c,_0x4cff31=this[_0x166e79(0x1ce)],_0x1d642b=_0x4cff31[_0x166e79(0x21f)],_0x29f479=this[_0x166e79(0x315)]*0x8,_0x2f29b9=_0x4cff31[_0x166e79(0x40f)]*0x8;return _0x1d642b[_0x2f29b9>>>0x5]|=0x80<<0x18-_0x2f29b9%0x20,_0x1d642b[(_0x2f29b9+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x29f479/0x100000000),_0x1d642b[(_0x2f29b9+0x40>>>0x9<<0x4)+0xf]=_0x29f479,_0x4cff31['sigBytes']=_0x1d642b['length']*0x4,this['_process'](),this[_0x166e79(0x20b)];},'clone':function(){var _0x26b851=_0x37518c,_0x45f042=_0x4e170e[_0x26b851(0x4c6)]['call'](this);return _0x45f042[_0x26b851(0x20b)]=this[_0x26b851(0x20b)][_0x26b851(0x4c6)](),_0x45f042;}});_0x2e454a['SHA1']=_0x4e170e[_0x37518c(0x1de)](_0x488c80),_0x2e454a['HmacSHA1']=_0x4e170e[_0x37518c(0x1e3)](_0x488c80);}()),_0x21ef78[_0x174df5(0x280)];}));}(_0x5b666f)),_0x5b666f[_0x23ffc1(0x43f)];}var _0x4f09e3={'exports':{}},_0x34fddd=_0x4f09e3[_0x297728(0x43f)],_0x4f8cb2;function _0x5097d1(){var _0x14b209=_0x297728;return _0x4f8cb2||(_0x4f8cb2=0x1,function(_0x1ef2a1,_0x20c807){(function(_0x123c70,_0x1377a7){var _0x5d9eb2=_0x4809;_0x1ef2a1[_0x5d9eb2(0x43f)]=_0x1377a7(_0x10621c());}(_0x34fddd,function(_0x452414){(function(){var _0xfdf0da=_0x4809,_0x1c362c=_0x452414,_0x511f33=_0x1c362c['lib'],_0xa887e6=_0x511f33[_0xfdf0da(0x4d4)],_0x2627d1=_0x1c362c['enc'],_0x300add=_0x2627d1['Utf8'],_0x21e6fc=_0x1c362c[_0xfdf0da(0x4e0)];_0x21e6fc['HMAC']=_0xa887e6['extend']({'init':function(_0x5e3894,_0x32196c){var _0x346fca=_0xfdf0da;_0x5e3894=this['_hasher']=new _0x5e3894['init'](),typeof _0x32196c==_0x346fca(0x4e7)&&(_0x32196c=_0x300add[_0x346fca(0x3ca)](_0x32196c));var _0x30f467=_0x5e3894[_0x346fca(0x3cb)],_0xe83373=_0x30f467*0x4;_0x32196c[_0x346fca(0x40f)]>_0xe83373&&(_0x32196c=_0x5e3894[_0x346fca(0x202)](_0x32196c)),_0x32196c[_0x346fca(0x1b8)]();for(var _0x24c7a9=this[_0x346fca(0x4c7)]=_0x32196c[_0x346fca(0x4c6)](),_0x1927c7=this[_0x346fca(0x331)]=_0x32196c[_0x346fca(0x4c6)](),_0x1cfa8e=_0x24c7a9[_0x346fca(0x21f)],_0x61060e=_0x1927c7[_0x346fca(0x21f)],_0x1a87d4=0x0;_0x1a87d4<_0x30f467;_0x1a87d4++)_0x1cfa8e[_0x1a87d4]^=0x5c5c5c5c,_0x61060e[_0x1a87d4]^=0x36363636;_0x24c7a9['sigBytes']=_0x1927c7[_0x346fca(0x40f)]=_0xe83373,this[_0x346fca(0x4d8)]();},'reset':function(){var _0x5e6678=_0xfdf0da,_0x973d2c=this[_0x5e6678(0x1f9)];_0x973d2c['reset'](),_0x973d2c['update'](this[_0x5e6678(0x331)]);},'update':function(_0x1ec9c4){var _0x1089ed=_0xfdf0da;return this[_0x1089ed(0x1f9)][_0x1089ed(0x454)](_0x1ec9c4),this;},'finalize':function(_0x44bfd9){var _0x4a4c90=_0xfdf0da,_0x3ac74a=this[_0x4a4c90(0x1f9)],_0x23b5c6=_0x3ac74a['finalize'](_0x44bfd9);_0x3ac74a[_0x4a4c90(0x4d8)]();var _0xbc84b7=_0x3ac74a[_0x4a4c90(0x202)](this[_0x4a4c90(0x4c7)][_0x4a4c90(0x4c6)]()[_0x4a4c90(0x34b)](_0x23b5c6));return _0xbc84b7;}});}());}));}(_0x4f09e3)),_0x4f09e3[_0x14b209(0x43f)];}var _0x51c107=_0xce3512[_0x297728(0x43f)],_0x17caf8;function _0x2a9630(){var _0x56c38b=_0x297728;return _0x17caf8||(_0x17caf8=0x1,function(_0x4ad08a,_0x22ad5f){(function(_0x2cfe1f,_0x2d6e77,_0x50e16c){var _0x18ffe5=_0x4809;_0x4ad08a[_0x18ffe5(0x43f)]=_0x2d6e77(_0x10621c(),_0xfa5aa6(),_0x5097d1());}(_0x51c107,function(_0x1d2a0a){var _0x362057=_0x4809;return(function(){var _0x45e0fd=_0x4809,_0x47c25f=_0x1d2a0a,_0x32e6c9=_0x47c25f[_0x45e0fd(0x401)],_0x5d7cc1=_0x32e6c9[_0x45e0fd(0x4d4)],_0x35b6c6=_0x32e6c9[_0x45e0fd(0x2bb)],_0x1424b3=_0x47c25f['algo'],_0x585a20=_0x1424b3[_0x45e0fd(0x3f4)],_0x4b2762=_0x1424b3['EvpKDF']=_0x5d7cc1['extend']({'cfg':_0x5d7cc1['extend']({'keySize':0x80/0x20,'hasher':_0x585a20,'iterations':0x1}),'init':function(_0x35ac75){var _0xd5e8ca=_0x45e0fd;this[_0xd5e8ca(0x25f)]=this[_0xd5e8ca(0x25f)][_0xd5e8ca(0x3cc)](_0x35ac75);},'compute':function(_0x3f687e,_0x55cc84){var _0x1bd5fe=_0x45e0fd;for(var _0x29cc29,_0x409cfe=this[_0x1bd5fe(0x25f)],_0x4f06c8=_0x409cfe['hasher'][_0x1bd5fe(0x3bf)](),_0x1baca9=_0x35b6c6[_0x1bd5fe(0x3bf)](),_0x3aa679=_0x1baca9[_0x1bd5fe(0x21f)],_0x4b5fd1=_0x409cfe[_0x1bd5fe(0x457)],_0x2e3208=_0x409cfe['iterations'];_0x3aa679[_0x1bd5fe(0x1e8)]<_0x4b5fd1;){_0x29cc29&&_0x4f06c8[_0x1bd5fe(0x454)](_0x29cc29),_0x29cc29=_0x4f06c8[_0x1bd5fe(0x454)](_0x3f687e)['finalize'](_0x55cc84),_0x4f06c8[_0x1bd5fe(0x4d8)]();for(var _0x40aeb5=0x1;_0x40aeb5<_0x2e3208;_0x40aeb5++)_0x29cc29=_0x4f06c8[_0x1bd5fe(0x202)](_0x29cc29),_0x4f06c8[_0x1bd5fe(0x4d8)]();_0x1baca9[_0x1bd5fe(0x34b)](_0x29cc29);}return _0x1baca9[_0x1bd5fe(0x40f)]=_0x4b5fd1*0x4,_0x1baca9;}});_0x47c25f[_0x45e0fd(0x321)]=function(_0x154387,_0x5014fc,_0x4b6177){var _0x3f35ca=_0x45e0fd;return _0x4b2762['create'](_0x4b6177)[_0x3f35ca(0x3f2)](_0x154387,_0x5014fc);};}()),_0x1d2a0a[_0x362057(0x321)];}));}(_0xce3512)),_0xce3512[_0x56c38b(0x43f)];}var _0x184de6={'exports':{}},_0x59ce44=_0x184de6[_0x297728(0x43f)],_0x292d2d;function _0x512007(){var _0x5b9e26=_0x297728;return _0x292d2d||(_0x292d2d=0x1,function(_0x7e6d8e,_0x3ba6e5){(function(_0xc2ab5,_0x52c8a9,_0x3df74d){var _0x18c236=_0x4809;_0x7e6d8e[_0x18c236(0x43f)]=_0x52c8a9(_0x10621c(),_0x2a9630());}(_0x59ce44,function(_0x1824a6){var _0x4ff305=_0x4809;_0x1824a6[_0x4ff305(0x401)][_0x4ff305(0x297)]||function(_0x348053){var _0x111270=_0x4ff305,_0x149013=_0x1824a6,_0x359be6=_0x149013[_0x111270(0x401)],_0x3e47d1=_0x359be6[_0x111270(0x4d4)],_0x2a76de=_0x359be6['WordArray'],_0x53d32c=_0x359be6[_0x111270(0x21e)],_0x3823e7=_0x149013[_0x111270(0x19b)];_0x3823e7[_0x111270(0x360)];var _0x4fa0a5=_0x3823e7[_0x111270(0x183)],_0x53bc80=_0x149013[_0x111270(0x4e0)],_0x57a6dc=_0x53bc80['EvpKDF'],_0x4c6557=_0x359be6[_0x111270(0x297)]=_0x53d32c[_0x111270(0x3cc)]({'cfg':_0x3e47d1['extend'](),'createEncryptor':function(_0x50c563,_0x18ed01){var _0x455359=_0x111270;return this[_0x455359(0x3bf)](this[_0x455359(0x383)],_0x50c563,_0x18ed01);},'createDecryptor':function(_0x4cda96,_0x174a3b){var _0x5d3269=_0x111270;return this['create'](this[_0x5d3269(0x2dc)],_0x4cda96,_0x174a3b);},'init':function(_0x36ea6e,_0x7c14d8,_0x2e4b62){var _0x55b267=_0x111270;this[_0x55b267(0x25f)]=this['cfg']['extend'](_0x2e4b62),this[_0x55b267(0x443)]=_0x36ea6e,this['_key']=_0x7c14d8,this[_0x55b267(0x4d8)]();},'reset':function(){var _0x2b24df=_0x111270;_0x53d32c[_0x2b24df(0x4d8)][_0x2b24df(0x17f)](this),this['_doReset']();},'process':function(_0x1f87c7){return this['_append'](_0x1f87c7),this['_process']();},'finalize':function(_0x4638e3){var _0x20b103=_0x111270;_0x4638e3&&this[_0x20b103(0x44d)](_0x4638e3);var _0x3d7624=this[_0x20b103(0x38f)]();return _0x3d7624;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x307189(_0x2b67b7){return typeof _0x2b67b7=='string'?_0x1471dd:_0x57c620;}return function(_0x4aa69d){return{'encrypt':function(_0x46b909,_0x16a32c,_0x1ee07b){var _0x8f6ebd=_0x4809;return _0x307189(_0x16a32c)[_0x8f6ebd(0x4d3)](_0x4aa69d,_0x46b909,_0x16a32c,_0x1ee07b);},'decrypt':function(_0xa983aa,_0x106fa9,_0x549208){var _0x1de0c1=_0x4809;return _0x307189(_0x106fa9)[_0x1de0c1(0x288)](_0x4aa69d,_0xa983aa,_0x106fa9,_0x549208);}};};}())});_0x359be6['StreamCipher']=_0x4c6557[_0x111270(0x3cc)]({'_doFinalize':function(){var _0x374404=_0x111270,_0x1ed1ca=this[_0x374404(0x271)](!0x0);return _0x1ed1ca;},'blockSize':0x1});var _0x14200e=_0x149013[_0x111270(0x3f3)]={},_0x562962=_0x359be6['BlockCipherMode']=_0x3e47d1[_0x111270(0x3cc)]({'createEncryptor':function(_0x3cc5e4,_0x9ba3cd){var _0x27fd58=_0x111270;return this['Encryptor'][_0x27fd58(0x3bf)](_0x3cc5e4,_0x9ba3cd);},'createDecryptor':function(_0x511720,_0x3563e4){var _0x427581=_0x111270;return this[_0x427581(0x2ac)]['create'](_0x511720,_0x3563e4);},'init':function(_0x362aac,_0x38d416){var _0x1e1a98=_0x111270;this[_0x1e1a98(0x295)]=_0x362aac,this[_0x1e1a98(0x438)]=_0x38d416;}}),_0x61866=_0x14200e[_0x111270(0x473)]=(function(){var _0x25f314=_0x111270,_0x55d8ae=_0x562962[_0x25f314(0x3cc)]();_0x55d8ae['Encryptor']=_0x55d8ae[_0x25f314(0x3cc)]({'processBlock':function(_0x4136a9,_0x87635b){var _0x37cb81=_0x25f314,_0x27e5ba=this[_0x37cb81(0x295)],_0x476626=_0x27e5ba['blockSize'];_0x4a0cba[_0x37cb81(0x17f)](this,_0x4136a9,_0x87635b,_0x476626),_0x27e5ba[_0x37cb81(0x23d)](_0x4136a9,_0x87635b),this[_0x37cb81(0x385)]=_0x4136a9['slice'](_0x87635b,_0x87635b+_0x476626);}}),_0x55d8ae[_0x25f314(0x2ac)]=_0x55d8ae[_0x25f314(0x3cc)]({'processBlock':function(_0x44aa7b,_0x1d361b){var _0x495157=_0x25f314,_0x44dbeb=this['_cipher'],_0xfddf2c=_0x44dbeb[_0x495157(0x3cb)],_0x2cc58e=_0x44aa7b['slice'](_0x1d361b,_0x1d361b+_0xfddf2c);_0x44dbeb[_0x495157(0x3c6)](_0x44aa7b,_0x1d361b),_0x4a0cba[_0x495157(0x17f)](this,_0x44aa7b,_0x1d361b,_0xfddf2c),this[_0x495157(0x385)]=_0x2cc58e;}});function _0x4a0cba(_0x322eb9,_0x186cd9,_0x53aa0a){var _0x3d7854=_0x25f314,_0xb64070,_0x35139b=this[_0x3d7854(0x438)];_0x35139b?(_0xb64070=_0x35139b,this['_iv']=_0x348053):_0xb64070=this[_0x3d7854(0x385)];for(var _0x1395c3=0x0;_0x1395c3<_0x53aa0a;_0x1395c3++)_0x322eb9[_0x186cd9+_0x1395c3]^=_0xb64070[_0x1395c3];}return _0x55d8ae;}()),_0x311a84=_0x149013['pad']={},_0x4a28e5=_0x311a84[_0x111270(0x4d7)]={'pad':function(_0x3cab7a,_0x4d5323){var _0x43eccf=_0x111270;for(var _0x379aa0=_0x4d5323*0x4,_0x5b496b=_0x379aa0-_0x3cab7a[_0x43eccf(0x40f)]%_0x379aa0,_0x4814df=_0x5b496b<<0x18|_0x5b496b<<0x10|_0x5b496b<<0x8|_0x5b496b,_0xc9d03a=[],_0x540db1=0x0;_0x540db1<_0x5b496b;_0x540db1+=0x4)_0xc9d03a[_0x43eccf(0x2e2)](_0x4814df);var _0x13b96=_0x2a76de[_0x43eccf(0x3bf)](_0xc9d03a,_0x5b496b);_0x3cab7a['concat'](_0x13b96);},'unpad':function(_0x5959bc){var _0xc2634f=_0x111270,_0x26d520=_0x5959bc[_0xc2634f(0x21f)][_0x5959bc[_0xc2634f(0x40f)]-0x1>>>0x2]&0xff;_0x5959bc[_0xc2634f(0x40f)]-=_0x26d520;}};_0x359be6[_0x111270(0x3c4)]=_0x4c6557[_0x111270(0x3cc)]({'cfg':_0x4c6557[_0x111270(0x25f)]['extend']({'mode':_0x61866,'padding':_0x4a28e5}),'reset':function(){var _0x4db38b=_0x111270,_0x360ad1;_0x4c6557[_0x4db38b(0x4d8)][_0x4db38b(0x17f)](this);var _0x4e24f8=this[_0x4db38b(0x25f)],_0x57de11=_0x4e24f8['iv'],_0x226c00=_0x4e24f8[_0x4db38b(0x3f3)];this['_xformMode']==this[_0x4db38b(0x383)]?_0x360ad1=_0x226c00['createEncryptor']:(_0x360ad1=_0x226c00[_0x4db38b(0x38b)],this[_0x4db38b(0x1b3)]=0x1),this[_0x4db38b(0x252)]&&this[_0x4db38b(0x252)][_0x4db38b(0x2a3)]==_0x360ad1?this[_0x4db38b(0x252)][_0x4db38b(0x4e6)](this,_0x57de11&&_0x57de11[_0x4db38b(0x21f)]):(this[_0x4db38b(0x252)]=_0x360ad1['call'](_0x226c00,this,_0x57de11&&_0x57de11[_0x4db38b(0x21f)]),this[_0x4db38b(0x252)]['__creator']=_0x360ad1);},'_doProcessBlock':function(_0x23d86e,_0x4eb3d3){var _0x16c0cb=_0x111270;this['_mode'][_0x16c0cb(0x4b1)](_0x23d86e,_0x4eb3d3);},'_doFinalize':function(){var _0x2bf1e1=_0x111270,_0x3b9f59,_0x552dd7=this[_0x2bf1e1(0x25f)]['padding'];return this['_xformMode']==this[_0x2bf1e1(0x383)]?(_0x552dd7[_0x2bf1e1(0x25c)](this[_0x2bf1e1(0x1ce)],this[_0x2bf1e1(0x3cb)]),_0x3b9f59=this[_0x2bf1e1(0x271)](!0x0)):(_0x3b9f59=this[_0x2bf1e1(0x271)](!0x0),_0x552dd7[_0x2bf1e1(0x3cd)](_0x3b9f59)),_0x3b9f59;},'blockSize':0x80/0x20});var _0x27aeb3=_0x359be6['CipherParams']=_0x3e47d1['extend']({'init':function(_0x5e6d8d){var _0x5990e0=_0x111270;this[_0x5990e0(0x45d)](_0x5e6d8d);},'toString':function(_0x29a7a8){var _0x46e3a3=_0x111270;return(_0x29a7a8||this[_0x46e3a3(0x1e5)])[_0x46e3a3(0x26b)](this);}}),_0x4162ad=_0x149013[_0x111270(0x369)]={},_0x4ee2db=_0x4162ad[_0x111270(0x49c)]={'stringify':function(_0x27e23a){var _0x428456=_0x111270,_0x10099f,_0x1e5fdf=_0x27e23a[_0x428456(0x16e)],_0x132ce8=_0x27e23a['salt'];return _0x132ce8?_0x10099f=_0x2a76de['create']([0x53616c74,0x65645f5f])[_0x428456(0x34b)](_0x132ce8)[_0x428456(0x34b)](_0x1e5fdf):_0x10099f=_0x1e5fdf,_0x10099f['toString'](_0x4fa0a5);},'parse':function(_0xdd484e){var _0x47df6a=_0x111270,_0x70c395,_0x49f7c6=_0x4fa0a5['parse'](_0xdd484e),_0x9bdf6a=_0x49f7c6[_0x47df6a(0x21f)];return _0x9bdf6a[0x0]==0x53616c74&&_0x9bdf6a[0x1]==0x65645f5f&&(_0x70c395=_0x2a76de[_0x47df6a(0x3bf)](_0x9bdf6a[_0x47df6a(0x1c8)](0x2,0x4)),_0x9bdf6a[_0x47df6a(0x1a3)](0x0,0x4),_0x49f7c6['sigBytes']-=0x10),_0x27aeb3[_0x47df6a(0x3bf)]({'ciphertext':_0x49f7c6,'salt':_0x70c395});}},_0x57c620=_0x359be6[_0x111270(0x329)]=_0x3e47d1[_0x111270(0x3cc)]({'cfg':_0x3e47d1['extend']({'format':_0x4ee2db}),'encrypt':function(_0x48c07f,_0x3fdd3e,_0x5d9285,_0x2663d9){var _0x4fe2b9=_0x111270;_0x2663d9=this['cfg'][_0x4fe2b9(0x3cc)](_0x2663d9);var _0x12c92d=_0x48c07f[_0x4fe2b9(0x399)](_0x5d9285,_0x2663d9),_0x2ba27f=_0x12c92d[_0x4fe2b9(0x202)](_0x3fdd3e),_0x1637a5=_0x12c92d[_0x4fe2b9(0x25f)];return _0x27aeb3['create']({'ciphertext':_0x2ba27f,'key':_0x5d9285,'iv':_0x1637a5['iv'],'algorithm':_0x48c07f,'mode':_0x1637a5[_0x4fe2b9(0x3f3)],'padding':_0x1637a5[_0x4fe2b9(0x1f7)],'blockSize':_0x48c07f['blockSize'],'formatter':_0x2663d9[_0x4fe2b9(0x369)]});},'decrypt':function(_0x8e29d4,_0x54df9a,_0x3040ef,_0x41789e){var _0xe4ff24=_0x111270;_0x41789e=this[_0xe4ff24(0x25f)]['extend'](_0x41789e),_0x54df9a=this[_0xe4ff24(0x49f)](_0x54df9a,_0x41789e['format']);var _0x1234cf=_0x8e29d4['createDecryptor'](_0x3040ef,_0x41789e)[_0xe4ff24(0x202)](_0x54df9a[_0xe4ff24(0x16e)]);return _0x1234cf;},'_parse':function(_0x53be5e,_0x16dc79){var _0x3ba7bd=_0x111270;return typeof _0x53be5e==_0x3ba7bd(0x4e7)?_0x16dc79[_0x3ba7bd(0x3ca)](_0x53be5e,this):_0x53be5e;}}),_0x143103=_0x149013[_0x111270(0x1f4)]={},_0xc25f37=_0x143103[_0x111270(0x49c)]={'execute':function(_0x46c250,_0x34df5d,_0x11acae,_0x33d9f7,_0x325327){var _0x394a66=_0x111270;if(_0x33d9f7||(_0x33d9f7=_0x2a76de[_0x394a66(0x3ac)](0x40/0x8)),_0x325327)var _0x5ae749=_0x57a6dc[_0x394a66(0x3bf)]({'keySize':_0x34df5d+_0x11acae,'hasher':_0x325327})[_0x394a66(0x3f2)](_0x46c250,_0x33d9f7);else var _0x5ae749=_0x57a6dc['create']({'keySize':_0x34df5d+_0x11acae})['compute'](_0x46c250,_0x33d9f7);var _0x3290e9=_0x2a76de[_0x394a66(0x3bf)](_0x5ae749[_0x394a66(0x21f)][_0x394a66(0x1c8)](_0x34df5d),_0x11acae*0x4);return _0x5ae749[_0x394a66(0x40f)]=_0x34df5d*0x4,_0x27aeb3[_0x394a66(0x3bf)]({'key':_0x5ae749,'iv':_0x3290e9,'salt':_0x33d9f7});}},_0x1471dd=_0x359be6[_0x111270(0x2c6)]=_0x57c620[_0x111270(0x3cc)]({'cfg':_0x57c620['cfg']['extend']({'kdf':_0xc25f37}),'encrypt':function(_0x3cb5e0,_0x1e545e,_0x32d875,_0x374a4b){var _0x5d3f26=_0x111270;_0x374a4b=this[_0x5d3f26(0x25f)][_0x5d3f26(0x3cc)](_0x374a4b);var _0x2087f7=_0x374a4b[_0x5d3f26(0x1f4)][_0x5d3f26(0x2e1)](_0x32d875,_0x3cb5e0['keySize'],_0x3cb5e0[_0x5d3f26(0x25d)],_0x374a4b[_0x5d3f26(0x221)],_0x374a4b[_0x5d3f26(0x4a1)]);_0x374a4b['iv']=_0x2087f7['iv'];var _0x412474=_0x57c620[_0x5d3f26(0x4d3)][_0x5d3f26(0x17f)](this,_0x3cb5e0,_0x1e545e,_0x2087f7[_0x5d3f26(0x4b0)],_0x374a4b);return _0x412474[_0x5d3f26(0x45d)](_0x2087f7),_0x412474;},'decrypt':function(_0x3e75cc,_0x54036e,_0x1d24ca,_0x879ecf){var _0x17026a=_0x111270;_0x879ecf=this[_0x17026a(0x25f)][_0x17026a(0x3cc)](_0x879ecf),_0x54036e=this[_0x17026a(0x49f)](_0x54036e,_0x879ecf['format']);var _0x55219c=_0x879ecf['kdf']['execute'](_0x1d24ca,_0x3e75cc[_0x17026a(0x457)],_0x3e75cc[_0x17026a(0x25d)],_0x54036e[_0x17026a(0x221)],_0x879ecf[_0x17026a(0x4a1)]);_0x879ecf['iv']=_0x55219c['iv'];var _0x170bfc=_0x57c620[_0x17026a(0x288)]['call'](this,_0x3e75cc,_0x54036e,_0x55219c[_0x17026a(0x4b0)],_0x879ecf);return _0x170bfc;}});}();}));}(_0x184de6)),_0x184de6[_0x5b9e26(0x43f)];}var _0x3c2ed4=_0x2dcbfa['exports'],_0x4cee7c;function _0x59d38c(){var _0x5b08fe=_0x297728;return _0x4cee7c||(_0x4cee7c=0x1,function(_0x213a24,_0x5277a8){(function(_0x2170ed,_0x3ec477,_0x5378d5){var _0x27ea1d=_0x4809;_0x213a24[_0x27ea1d(0x43f)]=_0x3ec477(_0x10621c(),_0x429691(),_0x455eba(),_0x2a9630(),_0x512007());}(_0x3c2ed4,function(_0x5ef74d){return(function(){var _0x512803=_0x4809,_0x26c33b=_0x5ef74d,_0x4d1b12=_0x26c33b['lib'],_0x33e863=_0x4d1b12[_0x512803(0x3c4)],_0x357ad0=_0x26c33b[_0x512803(0x4e0)],_0x1cf630=[],_0x31e28c=[],_0x46fdf1=[],_0x5e1b55=[],_0x5d989b=[],_0x997fe0=[],_0x5748fb=[],_0x5abb4f=[],_0x3d8ca3=[],_0x18fb5a=[];(function(){for(var _0x4204d8=[],_0x3d4324=0x0;_0x3d4324<0x100;_0x3d4324++)_0x3d4324<0x80?_0x4204d8[_0x3d4324]=_0x3d4324<<0x1:_0x4204d8[_0x3d4324]=_0x3d4324<<0x1^0x11b;for(var _0x1c4f19=0x0,_0x4be276=0x0,_0x3d4324=0x0;_0x3d4324<0x100;_0x3d4324++){var _0x165c4f=_0x4be276^_0x4be276<<0x1^_0x4be276<<0x2^_0x4be276<<0x3^_0x4be276<<0x4;_0x165c4f=_0x165c4f>>>0x8^_0x165c4f&0xff^0x63,_0x1cf630[_0x1c4f19]=_0x165c4f,_0x31e28c[_0x165c4f]=_0x1c4f19;var _0x311a34=_0x4204d8[_0x1c4f19],_0x7401f9=_0x4204d8[_0x311a34],_0x4b57a1=_0x4204d8[_0x7401f9],_0x27809a=_0x4204d8[_0x165c4f]*0x101^_0x165c4f*0x1010100;_0x46fdf1[_0x1c4f19]=_0x27809a<<0x18|_0x27809a>>>0x8,_0x5e1b55[_0x1c4f19]=_0x27809a<<0x10|_0x27809a>>>0x10,_0x5d989b[_0x1c4f19]=_0x27809a<<0x8|_0x27809a>>>0x18,_0x997fe0[_0x1c4f19]=_0x27809a;var _0x27809a=_0x4b57a1*0x1010101^_0x7401f9*0x10001^_0x311a34*0x101^_0x1c4f19*0x1010100;_0x5748fb[_0x165c4f]=_0x27809a<<0x18|_0x27809a>>>0x8,_0x5abb4f[_0x165c4f]=_0x27809a<<0x10|_0x27809a>>>0x10,_0x3d8ca3[_0x165c4f]=_0x27809a<<0x8|_0x27809a>>>0x18,_0x18fb5a[_0x165c4f]=_0x27809a,_0x1c4f19?(_0x1c4f19=_0x311a34^_0x4204d8[_0x4204d8[_0x4204d8[_0x4b57a1^_0x311a34]]],_0x4be276^=_0x4204d8[_0x4204d8[_0x4be276]]):_0x1c4f19=_0x4be276=0x1;}}());var _0xa54cde=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x25f27f=_0x357ad0[_0x512803(0x3d5)]=_0x33e863[_0x512803(0x3cc)]({'_doReset':function(){var _0x38d556=_0x512803,_0x4da420;if(!(this['_nRounds']&&this[_0x38d556(0x365)]===this[_0x38d556(0x336)])){for(var _0xefbd2d=this[_0x38d556(0x365)]=this[_0x38d556(0x336)],_0x1e8379=_0xefbd2d[_0x38d556(0x21f)],_0x41fbf5=_0xefbd2d[_0x38d556(0x40f)]/0x4,_0x477b57=this[_0x38d556(0x19e)]=_0x41fbf5+0x6,_0x331514=(_0x477b57+0x1)*0x4,_0x36d731=this['_keySchedule']=[],_0x589a51=0x0;_0x589a51<_0x331514;_0x589a51++)_0x589a51<_0x41fbf5?_0x36d731[_0x589a51]=_0x1e8379[_0x589a51]:(_0x4da420=_0x36d731[_0x589a51-0x1],_0x589a51%_0x41fbf5?_0x41fbf5>0x6&&_0x589a51%_0x41fbf5==0x4&&(_0x4da420=_0x1cf630[_0x4da420>>>0x18]<<0x18|_0x1cf630[_0x4da420>>>0x10&0xff]<<0x10|_0x1cf630[_0x4da420>>>0x8&0xff]<<0x8|_0x1cf630[_0x4da420&0xff]):(_0x4da420=_0x4da420<<0x8|_0x4da420>>>0x18,_0x4da420=_0x1cf630[_0x4da420>>>0x18]<<0x18|_0x1cf630[_0x4da420>>>0x10&0xff]<<0x10|_0x1cf630[_0x4da420>>>0x8&0xff]<<0x8|_0x1cf630[_0x4da420&0xff],_0x4da420^=_0xa54cde[_0x589a51/_0x41fbf5|0x0]<<0x18),_0x36d731[_0x589a51]=_0x36d731[_0x589a51-_0x41fbf5]^_0x4da420);for(var _0x342b0d=this[_0x38d556(0x357)]=[],_0x388be0=0x0;_0x388be0<_0x331514;_0x388be0++){var _0x589a51=_0x331514-_0x388be0;if(_0x388be0%0x4)var _0x4da420=_0x36d731[_0x589a51];else var _0x4da420=_0x36d731[_0x589a51-0x4];_0x388be0<0x4||_0x589a51<=0x4?_0x342b0d[_0x388be0]=_0x4da420:_0x342b0d[_0x388be0]=_0x5748fb[_0x1cf630[_0x4da420>>>0x18]]^_0x5abb4f[_0x1cf630[_0x4da420>>>0x10&0xff]]^_0x3d8ca3[_0x1cf630[_0x4da420>>>0x8&0xff]]^_0x18fb5a[_0x1cf630[_0x4da420&0xff]];}}},'encryptBlock':function(_0xeb94e9,_0x36b199){var _0x2441ec=_0x512803;this['_doCryptBlock'](_0xeb94e9,_0x36b199,this[_0x2441ec(0x19a)],_0x46fdf1,_0x5e1b55,_0x5d989b,_0x997fe0,_0x1cf630);},'decryptBlock':function(_0x374ec1,_0x5b0107){var _0x19ed00=_0x374ec1[_0x5b0107+0x1];_0x374ec1[_0x5b0107+0x1]=_0x374ec1[_0x5b0107+0x3],_0x374ec1[_0x5b0107+0x3]=_0x19ed00,this['_doCryptBlock'](_0x374ec1,_0x5b0107,this['_invKeySchedule'],_0x5748fb,_0x5abb4f,_0x3d8ca3,_0x18fb5a,_0x31e28c);var _0x19ed00=_0x374ec1[_0x5b0107+0x1];_0x374ec1[_0x5b0107+0x1]=_0x374ec1[_0x5b0107+0x3],_0x374ec1[_0x5b0107+0x3]=_0x19ed00;},'_doCryptBlock':function(_0x4ee6b3,_0x550b48,_0x279a90,_0x328d98,_0x26fa5b,_0x346ba0,_0x521740,_0x2d5a8c){for(var _0x2a1069=this['_nRounds'],_0xa8ef2b=_0x4ee6b3[_0x550b48]^_0x279a90[0x0],_0x419f9c=_0x4ee6b3[_0x550b48+0x1]^_0x279a90[0x1],_0x5a5386=_0x4ee6b3[_0x550b48+0x2]^_0x279a90[0x2],_0x3facc6=_0x4ee6b3[_0x550b48+0x3]^_0x279a90[0x3],_0x4efb14=0x4,_0x1538f6=0x1;_0x1538f6<_0x2a1069;_0x1538f6++){var _0x2e3651=_0x328d98[_0xa8ef2b>>>0x18]^_0x26fa5b[_0x419f9c>>>0x10&0xff]^_0x346ba0[_0x5a5386>>>0x8&0xff]^_0x521740[_0x3facc6&0xff]^_0x279a90[_0x4efb14++],_0x68757e=_0x328d98[_0x419f9c>>>0x18]^_0x26fa5b[_0x5a5386>>>0x10&0xff]^_0x346ba0[_0x3facc6>>>0x8&0xff]^_0x521740[_0xa8ef2b&0xff]^_0x279a90[_0x4efb14++],_0x37ac2b=_0x328d98[_0x5a5386>>>0x18]^_0x26fa5b[_0x3facc6>>>0x10&0xff]^_0x346ba0[_0xa8ef2b>>>0x8&0xff]^_0x521740[_0x419f9c&0xff]^_0x279a90[_0x4efb14++],_0x4f1831=_0x328d98[_0x3facc6>>>0x18]^_0x26fa5b[_0xa8ef2b>>>0x10&0xff]^_0x346ba0[_0x419f9c>>>0x8&0xff]^_0x521740[_0x5a5386&0xff]^_0x279a90[_0x4efb14++];_0xa8ef2b=_0x2e3651,_0x419f9c=_0x68757e,_0x5a5386=_0x37ac2b,_0x3facc6=_0x4f1831;}var _0x2e3651=(_0x2d5a8c[_0xa8ef2b>>>0x18]<<0x18|_0x2d5a8c[_0x419f9c>>>0x10&0xff]<<0x10|_0x2d5a8c[_0x5a5386>>>0x8&0xff]<<0x8|_0x2d5a8c[_0x3facc6&0xff])^_0x279a90[_0x4efb14++],_0x68757e=(_0x2d5a8c[_0x419f9c>>>0x18]<<0x18|_0x2d5a8c[_0x5a5386>>>0x10&0xff]<<0x10|_0x2d5a8c[_0x3facc6>>>0x8&0xff]<<0x8|_0x2d5a8c[_0xa8ef2b&0xff])^_0x279a90[_0x4efb14++],_0x37ac2b=(_0x2d5a8c[_0x5a5386>>>0x18]<<0x18|_0x2d5a8c[_0x3facc6>>>0x10&0xff]<<0x10|_0x2d5a8c[_0xa8ef2b>>>0x8&0xff]<<0x8|_0x2d5a8c[_0x419f9c&0xff])^_0x279a90[_0x4efb14++],_0x4f1831=(_0x2d5a8c[_0x3facc6>>>0x18]<<0x18|_0x2d5a8c[_0xa8ef2b>>>0x10&0xff]<<0x10|_0x2d5a8c[_0x419f9c>>>0x8&0xff]<<0x8|_0x2d5a8c[_0x5a5386&0xff])^_0x279a90[_0x4efb14++];_0x4ee6b3[_0x550b48]=_0x2e3651,_0x4ee6b3[_0x550b48+0x1]=_0x68757e,_0x4ee6b3[_0x550b48+0x2]=_0x37ac2b,_0x4ee6b3[_0x550b48+0x3]=_0x4f1831;},'keySize':0x100/0x20});_0x26c33b['AES']=_0x33e863[_0x512803(0x1de)](_0x25f27f);}()),_0x5ef74d['AES'];}));}(_0x2dcbfa)),_0x2dcbfa[_0x5b08fe(0x43f)];}var _0x5c2b2d=_0x59d38c();const _0x446b2c=_0x4a73a6(_0x5c2b2d);var _0x25f8bd=_0x429691();const _0x5469a6=_0x4a73a6(_0x25f8bd);var _0x24ea25={'exports':{}},_0x35bf50=_0x24ea25[_0x297728(0x43f)],_0x52a1c9;function _0x4b7fc8(){return _0x52a1c9||(_0x52a1c9=0x1,function(_0x3b9bf9,_0x459b86){(function(_0x5bf00a,_0x12f924){var _0x2e72ab=_0x4809;_0x3b9bf9[_0x2e72ab(0x43f)]=_0x12f924(_0x10621c());}(_0x35bf50,function(_0x56b08d){var _0x4bbe6f=_0x4809;return _0x56b08d['enc'][_0x4bbe6f(0x360)];}));}(_0x24ea25)),_0x24ea25['exports'];}var _0x45b525=_0x4b7fc8();const _0x237c3b=_0x4a73a6(_0x45b525);var _0x4f2b85={'exports':{}},_0x4b5cd9=_0x4f2b85[_0x297728(0x43f)],_0x27ec1a;function _0x1b7dc8(){var _0x25584c=_0x297728;return _0x27ec1a||(_0x27ec1a=0x1,function(_0x569774,_0x3b01b5){(function(_0x3a7951,_0x33dc1c){var _0x2dba60=_0x4809;_0x569774[_0x2dba60(0x43f)]=_0x33dc1c(_0x10621c());}(_0x4b5cd9,function(_0x8be2fb){var _0x37ce28=_0x4809;return(function(){var _0x7b42e1=_0x4809;if(typeof ArrayBuffer==_0x7b42e1(0x3b1)){var _0xdac4e0=_0x8be2fb,_0x26cf61=_0xdac4e0[_0x7b42e1(0x401)],_0x2f8006=_0x26cf61[_0x7b42e1(0x2bb)],_0x7dbd32=_0x2f8006['init'],_0x4538de=_0x2f8006['init']=function(_0x3a9a63){var _0x149bfe=_0x7b42e1;if(_0x3a9a63 instanceof ArrayBuffer&&(_0x3a9a63=new Uint8Array(_0x3a9a63)),(_0x3a9a63 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3a9a63 instanceof Uint8ClampedArray||_0x3a9a63 instanceof Int16Array||_0x3a9a63 instanceof Uint16Array||_0x3a9a63 instanceof Int32Array||_0x3a9a63 instanceof Uint32Array||_0x3a9a63 instanceof Float32Array||_0x3a9a63 instanceof Float64Array)&&(_0x3a9a63=new Uint8Array(_0x3a9a63[_0x149bfe(0x478)],_0x3a9a63[_0x149bfe(0x1d9)],_0x3a9a63[_0x149bfe(0x1cd)])),_0x3a9a63 instanceof Uint8Array){for(var _0x41bce5=_0x3a9a63[_0x149bfe(0x1cd)],_0x1a7431=[],_0x2f1c34=0x0;_0x2f1c34<_0x41bce5;_0x2f1c34++)_0x1a7431[_0x2f1c34>>>0x2]|=_0x3a9a63[_0x2f1c34]<<0x18-_0x2f1c34%0x4*0x8;_0x7dbd32[_0x149bfe(0x17f)](this,_0x1a7431,_0x41bce5);}else _0x7dbd32[_0x149bfe(0x1b7)](this,arguments);};_0x4538de['prototype']=_0x2f8006;}}()),_0x8be2fb[_0x37ce28(0x401)][_0x37ce28(0x2bb)];}));}(_0x4f2b85)),_0x4f2b85[_0x25584c(0x43f)];}var _0xa16dd0=_0x1b7dc8();const _0x4f3a25=_0x4a73a6(_0xa16dd0);var _0x4752ac={'exports':{}},_0xd51d7b=_0x4752ac[_0x297728(0x43f)],_0x182310;function _0x4090d6(){return _0x182310||(_0x182310=0x1,function(_0x43740d,_0x50ff8c){(function(_0x25c0f6,_0x5568b3,_0x149860){var _0x19bf2c=_0x4809;_0x43740d[_0x19bf2c(0x43f)]=_0x5568b3(_0x10621c(),_0x512007());}(_0xd51d7b,function(_0x30f6e3){var _0x4b7bc6=_0x4809;return _0x30f6e3[_0x4b7bc6(0x25c)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x30f6e3[_0x4b7bc6(0x25c)][_0x4b7bc6(0x343)];}));}(_0x4752ac)),_0x4752ac['exports'];}var _0x181c8b=_0x4090d6();const _0x592d59=_0x4a73a6(_0x181c8b);function _0x569cf7(_0x5be9d3,_0x383d65){var _0x476287=_0x297728;const _0x4fa4a5=_0x383d65-_0x5be9d3[_0x476287(0x1e8)]%_0x383d65,_0x53c56a=String[_0x476287(0x45a)](_0x4fa4a5)['repeat'](_0x4fa4a5);return _0x5be9d3+_0x53c56a;}function _0x4bab34(_0x47a122,_0x566ba0){var _0x3abecd=_0x297728;const _0x1bc39a=_0x4f3a25['random'](0x10),_0x1050f6=_0x569cf7(_0x47a122,0x10),_0x11121e=_0x446b2c[_0x3abecd(0x4d3)](_0x237c3b[_0x3abecd(0x3ca)](_0x1050f6),_0x5469a6[_0x3abecd(0x3ca)](_0x566ba0),{'iv':_0x1bc39a,'padding':_0x592d59});return _0x1bc39a[_0x3abecd(0x34b)](_0x11121e[_0x3abecd(0x16e)])[_0x3abecd(0x351)](_0x5469a6);}function _0x394608(){var _0x462f4f=_0x297728;const _0xbd0528=_0x52b52f[_0x462f4f(0x323)]()[_0x462f4f(0x20f)];if(_0xbd0528){const _0x5afe9f={'time':Math[_0x462f4f(0x347)](Date[_0x462f4f(0x31f)]()/0x3e8),'domain':location['hostname']};return _0x4bab34(JSON['stringify'](_0x5afe9f),_0xbd0528);}}var _0x138a1f=Object[_0x297728(0x41b)],_0x283285=(_0x41c3db,_0x19b438,_0x58cd57,_0x5c3f2a)=>{var _0x1fe468=_0x297728;for(var _0x1ed0e3=_0x5c3f2a>0x1?void 0x0:_0x5c3f2a?_0x138a1f(_0x19b438,_0x58cd57):_0x19b438,_0x404e8b=_0x41c3db[_0x1fe468(0x1e8)]-0x1,_0x1e41d6;_0x404e8b>=0x0;_0x404e8b--)(_0x1e41d6=_0x41c3db[_0x404e8b])&&(_0x1ed0e3=_0x1e41d6(_0x1ed0e3)||_0x1ed0e3);return _0x1ed0e3;},_0x24a4d4=(_0x524075,_0x48f0f3)=>(_0x259ccf,_0x114fb6)=>_0x48f0f3(_0x259ccf,_0x114fb6,_0x524075);let _0x110766=class{constructor(_0x9d955f){this['_httpService']=_0x9d955f,this['_initRequestHeader']();}[_0x297728(0x220)](){var _0x5476dd=_0x297728;this[_0x5476dd(0x3c2)][_0x5476dd(0x4ad)]({'interceptor':(_0x26b7df,_0x445dda)=>{var _0x528ece=_0x5476dd;const _0x263a1d=_0x26b7df[_0x528ece(0x1eb)],_0x560a25=_0x394608();return _0x560a25&&_0x263a1d['set'](_0x528ece(0x1e7),_0x560a25),_0x445dda(_0x26b7df);}});}};_0x110766=_0x283285([_0x24a4d4(0x0,_0x1cba28[_0x297728(0x230)](_0x3f31ff['HTTPService']))],_0x110766);var _0x5c19aa=Object[_0x297728(0x41b)],_0x16bb1d=(_0x5eabf1,_0x1c8b45,_0x334ea5,_0x140b04)=>{var _0x256d7c=_0x297728;for(var _0x55e334=_0x140b04>0x1?void 0x0:_0x140b04?_0x5c19aa(_0x1c8b45,_0x334ea5):_0x1c8b45,_0x371807=_0x5eabf1[_0x256d7c(0x1e8)]-0x1,_0x2deb88;_0x371807>=0x0;_0x371807--)(_0x2deb88=_0x5eabf1[_0x371807])&&(_0x55e334=_0x2deb88(_0x55e334)||_0x55e334);return _0x55e334;},_0x36c51c=(_0x1a40d2,_0x2555c9)=>(_0x1d7305,_0x19eedd)=>_0x2555c9(_0x1d7305,_0x19eedd,_0x1a40d2);_0x4e9958[_0x297728(0x47f)]=class extends _0x1cba28['RxDisposable']{constructor(_0x15374d,_0x5e85b7,_0x46906a){var _0x47742a=_0x297728;super(),_0xea6913(this,_0x47742a(0x306),new _0x3c07cc[(_0x47742a(0x241))](null)),_0xea6913(this,_0x47742a(0x3fe),this[_0x47742a(0x306)][_0x47742a(0x2da)]()),(this[_0x47742a(0x269)]=_0x15374d,this[_0x47742a(0x197)]=_0x5e85b7,this['_localCacheService']=_0x46906a);}async[_0x297728(0x2ea)](_0x53bef3,_0x2b387a,_0xfb9db7){var _0x3055ea=_0x297728;this['_unitInfo$'][_0x3055ea(0x352)]({'unitId':_0x53bef3,'type':_0x2b387a,'subUnitId':_0xfb9db7});let _0x555630=null;switch(_0x2b387a){case _0x6bb05d[_0x3055ea(0x49e)]:{_0x555630=await this['_loadSheet'](_0x53bef3);break;}case _0x6bb05d[_0x3055ea(0x1bf)]:{_0x555630=await this['_loadDoc'](_0x53bef3);break;}default:{this[_0x3055ea(0x269)][_0x3055ea(0x33f)](_0x3055ea(0x378),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x555630;}async[_0x297728(0x2c2)](_0x541a34){var _0x55930f=_0x297728,_0x225f8e;let _0x28d987=0x0;const _0x58f0d4=await((_0x225f8e=this['_localCacheService'])==null?void 0x0:_0x225f8e[_0x55930f(0x475)](_0x541a34));return _0x58f0d4&&(_0x58f0d4[_0x55930f(0x4b3)]||_0x58f0d4[_0x55930f(0x41f)][_0x55930f(0x1e8)]!==0x0)&&(_0x28d987=_0x58f0d4[_0x55930f(0x2d6)]),_0x28d987===0x0&&this['_logService'][_0x55930f(0x35e)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x55930f(0x197)][_0x55930f(0x3bd)](_0x541a34,_0x28d987);}async['_loadDoc'](_0x1ed1cf){var _0x5ca203=_0x297728,_0xd8b686;let _0x422739=0x0;const _0x5717b9=await((_0xd8b686=this[_0x5ca203(0x203)])==null?void 0x0:_0xd8b686['loadOfflineData'](_0x1ed1cf));return _0x5717b9&&(_0x5717b9['awaitingChangeset']||_0x5717b9[_0x5ca203(0x41f)][_0x5ca203(0x1e8)]!==0x0)&&(_0x422739=_0x5717b9[_0x5ca203(0x2d6)]),_0x422739===0x0&&this[_0x5ca203(0x269)][_0x5ca203(0x35e)](_0x5ca203(0x378),_0x5ca203(0x200)),this[_0x5ca203(0x197)][_0x5ca203(0x4c1)](_0x1ed1cf,_0x422739);}},_0x4e9958['DataLoaderService']=_0x16bb1d([_0x36c51c(0x0,_0x1cba28[_0x297728(0x3a8)]),_0x36c51c(0x1,_0x1cba28[_0x297728(0x230)](_0x53e89d[_0x297728(0x3d2)])),_0x36c51c(0x2,_0x1cba28[_0x297728(0x29f)](_0x385042))],_0x4e9958[_0x297728(0x47f)]);var _0x3b3cff=Object[_0x297728(0x41b)],_0x1e6c3c=(_0x3bfc35,_0x2a26cc,_0x54a48b,_0x11d14e)=>{for(var _0x2ff341=_0x11d14e>0x1?void 0x0:_0x11d14e?_0x3b3cff(_0x2a26cc,_0x54a48b):_0x2a26cc,_0x760243=_0x3bfc35['length']-0x1,_0x5dfb00;_0x760243>=0x0;_0x760243--)(_0x5dfb00=_0x3bfc35[_0x760243])&&(_0x2ff341=_0x5dfb00(_0x2ff341)||_0x2ff341);return _0x2ff341;},_0x10ae09=(_0x4cbe0e,_0x22a6f9)=>(_0xc4c7d2,_0x3e6d61)=>_0x22a6f9(_0xc4c7d2,_0x3e6d61,_0x4cbe0e);const _0x573420=[_0x297728(0x358),'image/jpeg','image/jpg','image/gif',_0x297728(0x36e)],_0x1835fb=0x5*0x400*0x400,_0x5369b1=_0x297728(0x244),_0x29f7f8=_0x297728(0x2dd),_0x31140b=_0x297728(0x2e3),_0xc7d82e='/universer-api/file/{fileID}/sign-url';_0x4e9958['CollaborationImageIoService']=class{constructor(_0x3344d8,_0x351fe8,_0x1680d4){var _0x2523f6=_0x297728;_0xea6913(this,'_waitCount',0x0),_0xea6913(this,_0x2523f6(0x458),new _0x3c07cc[(_0x2523f6(0x38e))]()),_0xea6913(this,_0x2523f6(0x2ab),this['_change$']),_0xea6913(this,_0x2523f6(0x3b6),new Map()),(this[_0x2523f6(0x3c2)]=_0x3344d8,this[_0x2523f6(0x21c)]=_0x351fe8,this[_0x2523f6(0x4a4)]=_0x1680d4);}[_0x297728(0x354)](_0x40956d){var _0x1c1abf=_0x297728;this['_waitCount']=_0x40956d,this[_0x1c1abf(0x458)][_0x1c1abf(0x352)](_0x40956d);}[_0x297728(0x391)](_0x3cc038,_0x5bc12a){var _0x1f52dd=_0x297728;if(_0x5bc12a===_0x5897b2[_0x1f52dd(0x42a)][_0x1f52dd(0x2b7)]){const _0x3b8a57=new Image();return _0x3b8a57['src']=_0x3cc038,_0x3b8a57;}return this[_0x1f52dd(0x3b6)][_0x1f52dd(0x40b)](_0x3cc038);}['addImageSourceCache'](_0x537a8c,_0x10de56,_0x1110e3){var _0x41b01c=_0x297728;_0x10de56===_0x5897b2[_0x41b01c(0x42a)][_0x41b01c(0x2b7)]||_0x1110e3==null||this['_imageSourceCache'][_0x41b01c(0x23a)](_0x537a8c,_0x1110e3);}async[_0x297728(0x3c0)](_0x56d463){var _0x593686=_0x297728;try{const _0x5db3f=this[_0x593686(0x251)](this[_0x593686(0x3fa)](),''+_0x56d463),_0x27fff4=(await this[_0x593686(0x3c2)][_0x593686(0x40b)](_0x5db3f))[_0x593686(0x330)];if(_0x27fff4[_0x593686(0x33f)]&&_0x27fff4[_0x593686(0x33f)][_0x593686(0x291)]===_0x99b5f9['OK']){const _0x20a3f5=new URL(_0x27fff4[_0x593686(0x3a2)],this[_0x593686(0x27c)]())['toString']();return Promise[_0x593686(0x216)](_0x20a3f5);}return Promise['reject'](_0x27fff4[_0x593686(0x33f)]);}catch(_0x2cd80c){return Promise[_0x593686(0x298)](_0x2cd80c);}}async[_0x297728(0x1dd)](_0x7b7bf0){var _0x2bd576=_0x297728;let _0x5dcc93='';if(!_0x573420[_0x2bd576(0x36f)](_0x7b7bf0['type']))return this[_0x2bd576(0x3c9)](),Promise[_0x2bd576(0x298)](new Error(_0x5897b2[_0x2bd576(0x34d)][_0x2bd576(0x4b8)]));if(_0x7b7bf0[_0x2bd576(0x33d)]>_0x1835fb)return this['_decreaseWaiting'](),Promise[_0x2bd576(0x298)](new Error(_0x5897b2['ImageUploadStatusType'][_0x2bd576(0x32f)]));try{const _0x2e5d01=new FormData();_0x2e5d01[_0x2bd576(0x22d)](_0x2bd576(0x18a),_0x7b7bf0);const _0x529ead=this[_0x2bd576(0x4a4)][_0x2bd576(0x26f)](),_0x14c33d=_0x529ead==null?void 0x0:_0x529ead['getUnitId']();if(!_0x14c33d)throw new Error(_0x2bd576(0x42e));const _0x5b947b=this['_getUploadFileURL']()+_0x2bd576(0x3e3)+_0x7b7bf0[_0x2bd576(0x33d)][_0x2bd576(0x351)]()+'&source='+_0xe98cc2[_0x2bd576(0x348)]+'&assign='+encodeURIComponent(_0x14c33d),_0x46f4e6=await(await fetch(_0x5b947b,{'method':_0x2bd576(0x481),'body':_0x2e5d01}))[_0x2bd576(0x182)]();if(typeof _0x46f4e6[_0x2bd576(0x29b)]!=_0x2bd576(0x4e7))return this[_0x2bd576(0x3c9)](),Promise[_0x2bd576(0x298)](new Error(_0x5897b2[_0x2bd576(0x34d)][_0x2bd576(0x248)]));_0x5dcc93=_0x46f4e6[_0x2bd576(0x29b)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x5897b2['ImageUploadStatusType'][_0x2bd576(0x248)]));}return new Promise((_0x47ae3a,_0xade79d)=>{var _0x13972a=_0x2bd576;const _0x5b55fb=new FileReader();_0x5b55fb[_0x13972a(0x3b0)](_0x7b7bf0),_0x5b55fb[_0x13972a(0x1fd)]=_0x31e78a=>{var _0x1898bd=_0x13972a,_0x2b9588;const _0x52ea15=(_0x2b9588=_0x31e78a['target'])==null?void 0x0:_0x2b9588['result'];if(_0x52ea15==null){this['_decreaseWaiting'](),_0xade79d(new Error(_0x5897b2[_0x1898bd(0x34d)][_0x1898bd(0x248)]));return;}const _0x18549b=_0x1cba28[_0x1898bd(0x302)]['generateRandomId'](0x6);_0x47ae3a({'imageId':_0x18549b,'imageSourceType':_0x5897b2[_0x1898bd(0x42a)][_0x1898bd(0x32d)],'source':_0x5dcc93,'base64Cache':_0x52ea15,'status':_0x5897b2[_0x1898bd(0x34d)]['SUCCUSS']}),this[_0x1898bd(0x3c9)]();};});}[_0x297728(0x2f3)](){var _0x34f906=_0x297728,_0x188ae8,_0x53b431;const _0x400776=this[_0x34f906(0x21c)]['getConfig'](_0x5369b1),_0x69f950=this[_0x34f906(0x21c)]['getConfig'](_0x417457);return(_0x53b431=(_0x188ae8=_0x69f950==null?void 0x0:_0x69f950[_0x34f906(0x41d)])!=null?_0x188ae8:_0x400776)!=null?_0x53b431:_0x29f7f8;}[_0x297728(0x3fa)](){var _0x42e2b9=_0x297728,_0x45438f,_0x312540;const _0xb02677=this['_configService']['getConfig'](_0x31140b),_0x4de191=this[_0x42e2b9(0x21c)][_0x42e2b9(0x3fd)](_0x417457);return(_0x312540=(_0x45438f=_0x4de191==null?void 0x0:_0x4de191[_0x42e2b9(0x34a)])!=null?_0x45438f:_0xb02677)!=null?_0x312540:_0xc7d82e;}['_getDownloadEndpointURL'](){var _0x1743fe=_0x297728,_0x57433b;const _0x187605=this[_0x1743fe(0x21c)][_0x1743fe(0x3fd)](_0x417457);return(_0x57433b=_0x187605==null?void 0x0:_0x187605[_0x1743fe(0x2b5)])!=null?_0x57433b:location[_0x1743fe(0x266)];}['_replaceFileID'](_0x13cf5f,_0xb0da19){var _0x1697e8=_0x297728;return _0x13cf5f[_0x1697e8(0x42f)](_0x1697e8(0x2a4),_0xb0da19);}[_0x297728(0x3c9)](){var _0x160694=_0x297728;this[_0x160694(0x195)]-=0x1,this[_0x160694(0x458)][_0x160694(0x352)](this[_0x160694(0x195)]);}},_0x4e9958[_0x297728(0x3c3)]=_0x1e6c3c([_0x10ae09(0x0,_0x1cba28[_0x297728(0x230)](_0x3f31ff[_0x297728(0x319)])),_0x10ae09(0x1,_0x1cba28[_0x297728(0x210)]),_0x10ae09(0x2,_0x1cba28[_0x297728(0x230)](_0x1cba28['IUniverInstanceService']))],_0x4e9958[_0x297728(0x3c3)]);var _0x1b427d=Object['getOwnPropertyDescriptor'],_0x54134c=(_0x2c9762,_0x5d0a58,_0x3f333b,_0x12b906)=>{for(var _0x492d39=_0x12b906>0x1?void 0x0:_0x12b906?_0x1b427d(_0x5d0a58,_0x3f333b):_0x5d0a58,_0x1ab154=_0x2c9762['length']-0x1,_0x4b289b;_0x1ab154>=0x0;_0x1ab154--)(_0x4b289b=_0x2c9762[_0x1ab154])&&(_0x492d39=_0x4b289b(_0x492d39)||_0x492d39);return _0x492d39;},_0x3f87d2=(_0x449143,_0x2d42f2)=>(_0x2fb49d,_0x19a4fc)=>_0x2d42f2(_0x2fb49d,_0x19a4fc,_0x449143);const _0x27608c=_0x297728(0x258);_0x4e9958[_0x297728(0x4de)]=class{constructor(_0xcd5bb6,_0x184ff3){var _0xd07d39=_0x297728;this[_0xd07d39(0x21c)]=_0xcd5bb6,this[_0xd07d39(0x2a9)]=_0x184ff3;}[_0x297728(0x3a1)](){var _0x1bb31e=_0x297728,_0x2f7cab,_0x27737f;const _0x346fbe=this[_0x1bb31e(0x21c)]['getConfig'](_0x100441),_0x3b2e9e=this[_0x1bb31e(0x21c)][_0x1bb31e(0x3fd)](_0x417457);return(_0x27737f=(_0x2f7cab=_0x3b2e9e==null?void 0x0:_0x3b2e9e[_0x1bb31e(0x187)])!=null?_0x2f7cab:_0x346fbe)!=null?_0x27737f:_0x27608c;}async[_0x297728(0x409)](_0x1fdd82){var _0x84e180=_0x297728;const _0x574df7=this['_getAPIPrefixPath']()+_0x84e180(0x403);return{'list':[{'title':_0x84e180(0x2c4),'mentions':(await this[_0x84e180(0x2a9)][_0x84e180(0x40b)](_0x574df7,{'params':{'objectID':_0x1fdd82['unitId'],'unitID':_0x1fdd82[_0x84e180(0x189)]}}))['body']['collaborators'][_0x84e180(0x242)](_0x38dce1=>({'objectId':_0x38dce1['id'],'name':_0x38dce1[_0x84e180(0x4e4)][_0x84e180(0x361)],'metadata':{'icon':_0x38dce1[_0x84e180(0x4e4)][_0x84e180(0x1c5)]},'label':_0x38dce1[_0x84e180(0x4e4)][_0x84e180(0x361)],'objectType':_0x1cba28[_0x84e180(0x1c3)][_0x84e180(0x245)]})),'metadata':{},'type':_0x1cba28['MentionType'][_0x84e180(0x245)]}]};}},_0x4e9958[_0x297728(0x4de)]=_0x54134c([_0x3f87d2(0x0,_0x1cba28['Inject'](_0x1cba28[_0x297728(0x210)])),_0x3f87d2(0x1,_0x1cba28[_0x297728(0x230)](_0x3f31ff['HTTPService']))],_0x4e9958[_0x297728(0x4de)]);var _0x238004=Object[_0x297728(0x41b)],_0x591abd=(_0x4aa96e,_0x2f14c4,_0x37b7ba,_0x32ce4c)=>{var _0x404e5f=_0x297728;for(var _0xa79472=_0x32ce4c>0x1?void 0x0:_0x32ce4c?_0x238004(_0x2f14c4,_0x37b7ba):_0x2f14c4,_0x12dd85=_0x4aa96e[_0x404e5f(0x1e8)]-0x1,_0x3768a7;_0x12dd85>=0x0;_0x12dd85--)(_0x3768a7=_0x4aa96e[_0x12dd85])&&(_0xa79472=_0x3768a7(_0xa79472)||_0xa79472);return _0xa79472;},_0x4b3e57=(_0x24826b,_0x51bc8a)=>(_0x133e5a,_0x1704d7)=>_0x51bc8a(_0x133e5a,_0x1704d7,_0x24826b);let _0x1c3c0b=class extends _0x1cba28['RxDisposable']{constructor(_0x27587b,_0x5f4741,_0x34b35d,_0x2f5de1,_0x120ef7){var _0x1bff4a=_0x297728;super(),this['_injector']=_0x27587b,this['_univerInstanceService']=_0x5f4741,this[_0x1bff4a(0x3d0)]=_0x34b35d,this['_collaborationSessionService']=_0x2f5de1,this['_collaborationUIEventService']=_0x120ef7,this[_0x1bff4a(0x33b)](),this[_0x1bff4a(0x359)]();}[_0x297728(0x359)](){var _0x462be4=_0x297728;const _0x5880a0=async _0x100a11=>{var _0x17f316=_0x4809;(await this[_0x17f316(0x24d)][_0x17f316(0x1db)](_0x100a11))[_0x17f316(0x27f)][_0x17f316(0x3f8)](_0x1da9aa[_0x17f316(0x24f)](_0x236d06=>_0x236d06[_0x17f316(0x3b9)]===_0x53e89d[_0x17f316(0x276)][_0x17f316(0x3ab)]),_0x1da9aa[_0x17f316(0x46a)](this[_0x17f316(0x224)]))[_0x17f316(0x451)](_0x39e51c=>{var _0x3c2101=_0x17f316;const _0x42100f=_0x39e51c,{reason:_0x73e95f}=_0x42100f[_0x3c2101(0x20d)];this[_0x3c2101(0x38c)][_0x3c2101(0x425)]({'id':_0x4793e9[_0x3c2101(0x3d6)],'data':_0x73e95f}),this[_0x3c2101(0x3d0)]['updatePermissionPoint'](new _0x122c74[(_0x3c2101(0x4d2))](_0x100a11)['id'],!0x1),this['_collaborationSessionService'][_0x3c2101(0x1a2)](_0x100a11);});};_0x3c07cc[_0x462be4(0x33e)](this[_0x462be4(0x4a4)][_0x462be4(0x346)](_0x1cba28['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService'][_0x462be4(0x346)](_0x1cba28[_0x462be4(0x485)]['UNIVER_DOC']))[_0x462be4(0x3f8)](_0x1da9aa['map'](_0xd19d24=>_0xd19d24[_0x462be4(0x2c1)]()),_0x1da9aa['filter'](_0x4f174f=>!_0x1cba28[_0x462be4(0x39f)](_0x4f174f)),_0x1da9aa['takeUntil'](this[_0x462be4(0x224)]))[_0x462be4(0x451)](_0x32faad=>{_0x5880a0(_0x32faad);});}[_0x297728(0x33b)](){var _0x565c43=_0x297728;const _0x287294=async _0x393ac=>{var _0x191ef5=_0x4809;const _0x2e3ada=await this[_0x191ef5(0x24d)][_0x191ef5(0x1db)](_0x393ac),_0x33393e=this[_0x191ef5(0x1dc)]['get'](_0x122c74[_0x191ef5(0x229)]);_0x2e3ada[_0x191ef5(0x27f)][_0x191ef5(0x3f8)](_0x1da9aa[_0x191ef5(0x24f)](_0x2b93e6=>_0x2b93e6[_0x191ef5(0x3b9)]===_0x53e89d[_0x191ef5(0x276)][_0x191ef5(0x476)]),_0x1da9aa[_0x191ef5(0x46a)](this[_0x191ef5(0x224)]))[_0x191ef5(0x451)](_0x3fa502=>{var _0x4a34eb=_0x191ef5;const _0x446611=_0x3fa502,{objectId:_0x295030}=_0x446611[_0x4a34eb(0x20d)];_0x295030===_0x393ac?_0x33393e['initWorkbookPermissionChange'](_0x393ac):_0x33393e['refreshPermission'](_0x393ac,_0x295030);});};_0x3c07cc[_0x565c43(0x33e)](this['_univerInstanceService'][_0x565c43(0x346)](_0x1cba28['UniverInstanceType'][_0x565c43(0x49e)]))[_0x565c43(0x3f8)](_0x1da9aa['map'](_0x3e12e2=>_0x3e12e2['getUnitId']()),_0x1da9aa[_0x565c43(0x24f)](_0x535e23=>!_0x1cba28['isInternalEditorID'](_0x535e23)),_0x1da9aa[_0x565c43(0x46a)](this['dispose$']))[_0x565c43(0x451)](_0x342713=>{_0x287294(_0x342713);});}};_0x1c3c0b=_0x591abd([_0x4b3e57(0x0,_0x1cba28[_0x297728(0x230)](_0x1cba28[_0x297728(0x3cf)])),_0x4b3e57(0x1,_0x1cba28['IUniverInstanceService']),_0x4b3e57(0x2,_0x1cba28[_0x297728(0x37f)]),_0x4b3e57(0x3,_0x1cba28['Inject'](_0x4e9958[_0x297728(0x2d9)])),_0x4b3e57(0x4,_0x1cba28[_0x297728(0x230)](_0x4d7771))],_0x1c3c0b);var _0x1ca3c1=Object[_0x297728(0x41b)],_0x5cdc2b=(_0x59488f,_0x2cd7b6,_0x780b68,_0x3e2060)=>{for(var _0x24eec0=_0x3e2060>0x1?void 0x0:_0x3e2060?_0x1ca3c1(_0x2cd7b6,_0x780b68):_0x2cd7b6,_0x3a4d9d=_0x59488f['length']-0x1,_0xfd5f7c;_0x3a4d9d>=0x0;_0x3a4d9d--)(_0xfd5f7c=_0x59488f[_0x3a4d9d])&&(_0x24eec0=_0xfd5f7c(_0x24eec0)||_0x24eec0);return _0x24eec0;},_0x4cf7de=(_0x4e9f23,_0x558d0c)=>(_0xa9fd7,_0x1ec8d4)=>_0x558d0c(_0xa9fd7,_0x1ec8d4,_0x4e9f23);_0x4e9958[_0x297728(0x213)]=class{constructor(_0x2cf330,_0xfd01fc){var _0x127522=_0x297728;this[_0x127522(0x21c)]=_0x2cf330,this[_0x127522(0x3c2)]=_0xfd01fc;}async['getUnitOnRev'](_0x178eef,_0x1b9506){var _0x4341b5=_0x297728,_0x504819;const {unitID:_0xe4317f,type:_0x5cc286,revision:_0x53adcb=0x0}=_0x1b9506,_0x433dee=this[_0x4341b5(0x1f2)]()+'/'+_0x5cc286+_0x4341b5(0x328)+_0xe4317f+_0x4341b5(0x491)+_0x53adcb,_0x25efe7=(await this[_0x4341b5(0x3c2)][_0x4341b5(0x40b)](_0x433dee))[_0x4341b5(0x330)],_0x2c6c42=(_0x504819=_0x25efe7[_0x4341b5(0x19d)])==null?void 0x0:_0x504819['workbook'];if(_0x2c6c42){const _0xc461a7=_0x2c6c42==null?void 0x0:_0x2c6c42['originalMeta'],_0x49c1c4=_0x53e89d[_0x4341b5(0x250)]['encode'](_0x53e89d[_0x4341b5(0x3fb)](_0xc461a7));_0x2c6c42['originalMeta']=_0x49c1c4,Object[_0x4341b5(0x24b)](_0x2c6c42[_0x4341b5(0x240)])[_0x4341b5(0x350)](([,_0x3dc35d])=>{var _0x167dfb=_0x4341b5;const _0x43756a=_0x3dc35d['originalMeta'],_0x482517=_0x53e89d[_0x167dfb(0x250)]['encode'](_0x53e89d[_0x167dfb(0x3fb)](_0x43756a));_0x3dc35d[_0x167dfb(0x4ae)]=_0x482517;});}return _0x25efe7;}async[_0x297728(0x349)](_0x4396ac,_0x18bcdd){var _0x3726e2=_0x297728;const {unitID:_0x5579e7,type:_0x2c3dde,blockID:_0x270e99}=_0x18bcdd,_0x5a141d=this['_getAPIPrefix']()+'/'+_0x2c3dde+_0x3726e2(0x328)+_0x5579e7+_0x3726e2(0x3b7)+_0x270e99;return(await this['_httpService'][_0x3726e2(0x40b)](_0x5a141d))['body'];}async[_0x297728(0x397)](_0x33abae,_0x384f8f){var _0x594e49=_0x297728;const {unitID:_0x355b4d,type:_0xe2f880,blockID:_0x462491}=_0x384f8f,_0x2acb4c=this['_getAPIPrefix']()+_0x594e49(0x3b7)+_0xe2f880+_0x594e49(0x328)+_0x355b4d+_0x594e49(0x3b7)+_0x462491;return(await this[_0x594e49(0x3c2)][_0x594e49(0x40b)](_0x2acb4c))[_0x594e49(0x330)];}async[_0x297728(0x222)](_0x103765,_0x4c95e7){var _0x450018=_0x297728;const {unitID:_0x470d92,type:_0x15e208,from:_0x816265,to:_0x5bc8bd}=_0x4c95e7,_0x5c1188=this[_0x450018(0x47a)]()+'/'+_0x15e208+_0x450018(0x328)+_0x470d92+_0x450018(0x4a3)+_0x816265+_0x450018(0x2e4)+_0x5bc8bd;return(await this['_httpService'][_0x450018(0x40b)](_0x5c1188))[_0x450018(0x330)];}[_0x297728(0x1f2)](){var _0x336fce=_0x297728,_0x116fe7;return(_0x116fe7=this[_0x336fce(0x21c)]['getConfig'](_0x3c51c0))!=null?_0x116fe7:this[_0x336fce(0x47a)]();}[_0x297728(0x47a)](){var _0x387559=_0x297728,_0x1f0701,_0x350de9;const _0x52ddda=this[_0x387559(0x21c)]['getConfig'](_0x542175),_0x5a2b46=this[_0x387559(0x21c)]['getConfig'](_0x417457);return(_0x350de9=(_0x1f0701=_0x5a2b46==null?void 0x0:_0x5a2b46[_0x387559(0x1da)])!=null?_0x1f0701:_0x52ddda)!=null?_0x350de9:_0x16f082;}async['getResourcesRequest'](_0x1b53f4,_0x3437e2){var _0x514093=_0x297728;const _0x218fa8=_0x514093(0x4e2)+_0x3437e2[_0x514093(0x2a2)]+'/unit/'+_0x3437e2[_0x514093(0x2bf)]+_0x514093(0x30c);return(await this['_httpService']['get'](_0x218fa8,{'params':{'resourceId':JSON['stringify'](_0x3437e2[_0x514093(0x1e0)])}}))[_0x514093(0x330)];}['saveSnapshot'](){var _0x266e54=_0x297728;throw new Error(_0x266e54(0x310));}['saveSheetBlock'](){var _0x1b695a=_0x297728;throw new Error(_0x1b695a(0x310));}['saveChangeset'](){var _0x49c088=_0x297728;throw new Error(_0x49c088(0x310));}['copyFileMeta'](){var _0x1fd3c5=_0x297728;throw new Error(_0x1fd3c5(0x310));}['getLatestCsReqIdBySid'](){var _0x1da8a9=_0x297728;throw new Error(_0x1da8a9(0x310));}},_0x4e9958[_0x297728(0x213)]=_0x5cdc2b([_0x4cf7de(0x0,_0x1cba28[_0x297728(0x210)]),_0x4cf7de(0x1,_0x1cba28[_0x297728(0x230)](_0x3f31ff[_0x297728(0x319)]))],_0x4e9958[_0x297728(0x213)]);var _0x43a4bc=Object[_0x297728(0x41b)],_0x5a1ea7=(_0x53cf48,_0x904116,_0x5a0cae,_0x5f018b)=>{var _0x9ac0df=_0x297728;for(var _0x1a6634=_0x5f018b>0x1?void 0x0:_0x5f018b?_0x43a4bc(_0x904116,_0x5a0cae):_0x904116,_0x3a1ef9=_0x53cf48[_0x9ac0df(0x1e8)]-0x1,_0x10e49d;_0x3a1ef9>=0x0;_0x3a1ef9--)(_0x10e49d=_0x53cf48[_0x3a1ef9])&&(_0x1a6634=_0x10e49d(_0x1a6634)||_0x1a6634);return _0x1a6634;},_0x268ea3=(_0x1604ef,_0x5da11f)=>(_0x28897d,_0x2b4d63)=>_0x5da11f(_0x28897d,_0x2b4d63,_0x1604ef);_0x4e9958['CollaborativeUndoRedoService']=class extends _0x1cba28['LocalUndoRedoService']{constructor(_0x105509,_0x36b5a6,_0x39c271,_0x2c9289,_0x151011){var _0x514932=_0x297728;super(_0x105509,_0x36b5a6,_0x39c271),this[_0x514932(0x3e9)]=_0x2c9289,this['_logService']=_0x151011;}['transformUndoRedo'](_0x4b3e18,_0x1c2f82){var _0x2f2fbe=_0x297728;const _0x3bce94=this[_0x2f2fbe(0x37c)](_0x4b3e18);if(_0x3bce94)try{const _0x20ca38=this[_0x2f2fbe(0x2ce)](_0x3bce94,_0x1c2f82);this['_substituteUndoStack'](_0x4b3e18,_0x20ca38);}catch(_0x2d016c){this[_0x2f2fbe(0x269)][_0x2f2fbe(0x33f)](_0x2f2fbe(0x1ad),_0x2d016c),this[_0x2f2fbe(0x412)](_0x4b3e18);}const _0x2e0329=this[_0x2f2fbe(0x262)](_0x4b3e18);if(_0x2e0329)try{const _0x107d9e=this['_transformStack'](_0x2e0329,_0x1c2f82);this[_0x2f2fbe(0x325)](_0x4b3e18,_0x107d9e);}catch(_0x29b2b8){this[_0x2f2fbe(0x269)][_0x2f2fbe(0x33f)](_0x29b2b8),this['_clearRedo'](_0x4b3e18);}}[_0x297728(0x412)](_0x1357a3){var _0xb30377=_0x297728;const _0x363925=this[_0xb30377(0x37c)](_0x1357a3);_0x363925&&(_0x363925['length']=0x0,this[_0xb30377(0x424)]());}['_clearRedo'](_0x51ee95){var _0x43dc23=_0x297728;const _0x5e83ce=this[_0x43dc23(0x262)](_0x51ee95);_0x5e83ce&&(_0x5e83ce[_0x43dc23(0x1e8)]=0x0,this[_0x43dc23(0x424)]());}[_0x297728(0x309)](_0x3b35d2,_0xa32a6a){var _0x195366=_0x297728;this[_0x195366(0x1f8)]['set'](_0x3b35d2,_0xa32a6a),this['_updateStatus']();}['_substituteRedoStack'](_0x117803,_0x2311f8){var _0x4e9638=_0x297728;this[_0x4e9638(0x46d)][_0x4e9638(0x23a)](_0x117803,_0x2311f8),this[_0x4e9638(0x424)]();}[_0x297728(0x2ce)](_0x5983ab,_0xeec271){var _0x5a599d=_0x297728;const _0x1e31d4=[];let _0xafa825=_0xeec271,_0x3e7700=_0xeec271;for(let _0x565323=_0x5983ab[_0x5a599d(0x1e8)]-0x1;_0x565323>=0x0;_0x565323--){const {unitID:_0x207569,undoMutations:_0x1bec4c,redoMutations:_0x41f4bc}=_0x5983ab[_0x565323],_0x43c7be=this['_transformService'][_0x5a599d(0x2fa)](_0xafa825,_0x1bec4c),_0x4395e9=this['_transformService'][_0x5a599d(0x2fa)](_0x3e7700,_0x41f4bc);if(_0x53e89d[_0x5a599d(0x338)](_0x43c7be)||_0x53e89d[_0x5a599d(0x338)](_0x4395e9)){this[_0x5a599d(0x269)][_0x5a599d(0x33f)]('[CollaborationUndoRedoService]',_0x5a599d(0x18c),_0x43c7be,_0x4395e9);break;}_0xafa825=_0x43c7be[_0x5a599d(0x30d)],_0x3e7700=_0x4395e9[_0x5a599d(0x30d)],_0x1e31d4[_0x5a599d(0x2e2)]({'unitID':_0x207569,'undoMutations':_0x43c7be[_0x5a599d(0x2f7)],'redoMutations':_0x4395e9[_0x5a599d(0x2f7)]});}return _0x1e31d4[_0x5a599d(0x3e0)]();}},_0x4e9958[_0x297728(0x2a0)]=_0x5a1ea7([_0x268ea3(0x0,_0x1cba28['IUniverInstanceService']),_0x268ea3(0x1,_0x1cba28[_0x297728(0x37d)]),_0x268ea3(0x2,_0x1cba28['IContextService']),_0x268ea3(0x3,_0x53e89d[_0x297728(0x4ce)]),_0x268ea3(0x4,_0x1cba28[_0x297728(0x3a8)])],_0x4e9958['CollaborativeUndoRedoService']);var _0x599c2a=Object[_0x297728(0x279)],_0x120068=Object['getOwnPropertyDescriptor'],_0x2e4703=(_0x4b66fb,_0xa87573,_0x394ee5)=>_0xa87573 in _0x4b66fb?_0x599c2a(_0x4b66fb,_0xa87573,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x394ee5}):_0x4b66fb[_0xa87573]=_0x394ee5,_0x23a11b=(_0x1d979b,_0x57fc57,_0x5e8dab,_0x3e0d55)=>{var _0x2d0688=_0x297728;for(var _0x3c612c=_0x3e0d55>0x1?void 0x0:_0x3e0d55?_0x120068(_0x57fc57,_0x5e8dab):_0x57fc57,_0x4c2782=_0x1d979b[_0x2d0688(0x1e8)]-0x1,_0x15f20a;_0x4c2782>=0x0;_0x4c2782--)(_0x15f20a=_0x1d979b[_0x4c2782])&&(_0x3c612c=_0x15f20a(_0x3c612c)||_0x3c612c);return _0x3c612c;},_0x4b0e39=(_0xf32f7f,_0x6e2b91)=>(_0x1b1dd6,_0x1b1cc7)=>_0x6e2b91(_0x1b1dd6,_0x1b1cc7,_0xf32f7f),_0x44ae01=(_0x3eb840,_0x352a34,_0x360ebf)=>_0x2e4703(_0x3eb840,_0x352a34+'',_0x360ebf);const _0x50ec03=_0x297728(0x42d);_0x4e9958[_0x297728(0x433)]=class extends _0x1cba28['Plugin']{constructor(_0x2ec126,_0x181a26,_0x1be68f,_0x32ed75){var _0x1c05ed=_0x297728;super(),_0xea6913(this,_0x1c05ed(0x1af)),(this['_logService']=_0x181a26,this[_0x1c05ed(0x1dc)]=_0x1be68f,this[_0x1c05ed(0x21c)]=_0x32ed75);const {..._0x2ad925}=_0x1cba28[_0x1c05ed(0x33e)]({},_0x58caa8,_0x2ec126);if(!_0x2ad925[_0x1c05ed(0x4b6)])throw new Error(_0x1c05ed(0x1a4));this[_0x1c05ed(0x1af)]=_0x2ad925,this[_0x1c05ed(0x21c)][_0x1c05ed(0x2d4)](_0x417457,_0x2ad925);}[_0x297728(0x3f6)](){var _0x22d222=_0x297728;this[_0x22d222(0x31e)](),this[_0x22d222(0x246)]();}[_0x297728(0x31e)](){var _0x4e6a8b=_0x297728,_0x5a41de,_0x33ce73;this[_0x4e6a8b(0x1dc)][_0x4e6a8b(0x2ae)](_0x1cba28[_0x4e6a8b(0x22e)])&&this[_0x4e6a8b(0x269)][_0x4e6a8b(0x33f)](_0x4e6a8b(0x2cc),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x53c4df=_0x1cba28[_0x4e6a8b(0x178)]([[_0x1cba28[_0x4e6a8b(0x22e)],{'useClass':_0x4e9958[_0x4e6a8b(0x2a0)]}],[_0x4e9958[_0x4e6a8b(0x2d9)]],[_0x4e9958[_0x4e6a8b(0x24e)]],[_0x4e9958[_0x4e6a8b(0x2b4)]],[_0x5b70ad],[_0x110766],[_0x2f82cf],[_0x1c3c0b],[_0x4d7771],[_0x4e9958[_0x4e6a8b(0x47f)]],[_0x256527,{'useClass':this['_config']['socketService']}],[_0x53e89d[_0x4e6a8b(0x45f)],{'useClass':_0x4e9958[_0x4e6a8b(0x213)]}],[_0x1cba28[_0x4e6a8b(0x233)],{'useClass':_0x4e9958['AuthzIoHttpService']}],[_0x5897b2['IImageIoService'],{'useClass':_0x4e9958[_0x4e6a8b(0x3c3)]}],[_0x1cba28['IMentionIOService'],{'useClass':_0x4e9958[_0x4e6a8b(0x4de)]}],[_0x4e9958[_0x4e6a8b(0x238)]],[_0x41cc3e]],(_0x5a41de=this['_config'])==null?void 0x0:_0x5a41de[_0x4e6a8b(0x4bf)]);if(!((_0x33ce73=this['_config'])!=null&&_0x33ce73[_0x4e6a8b(0x1a1)])){const _0x3a90be=_0x53c4df[_0x4e6a8b(0x249)](([_0x4eaba4])=>_0x4eaba4===_0x20b881);_0x3a90be!==-0x1&&_0x53c4df['splice'](_0x3a90be,0x1);}_0x1cba28[_0x4e6a8b(0x1bb)](this[_0x4e6a8b(0x1dc)],_0x53c4df);}['_initDependencies'](){var _0x5ae2c3=_0x297728,_0x4fac02,_0x3ae6a6,_0x369347;this[_0x5ae2c3(0x1dc)][_0x5ae2c3(0x40b)](_0x3f31ff[_0x5ae2c3(0x319)])[_0x5ae2c3(0x4ad)]({'priority':0x14,'interceptor':_0x3f31ff[_0x5ae2c3(0x2c5)]({'maxParallel':0x6})}),(_0x4fac02=this[_0x5ae2c3(0x1af)])!=null&&_0x4fac02[_0x5ae2c3(0x172)]||(_0x3ae6a6=this[_0x5ae2c3(0x1dc)][_0x5ae2c3(0x40b)](_0x385042,_0x1cba28[_0x5ae2c3(0x4bc)][_0x5ae2c3(0x1a8)]))==null||_0x3ae6a6['disableLocalCache'](),(_0x369347=this[_0x5ae2c3(0x1af)])!=null&&_0x369347[_0x5ae2c3(0x2ec)]&&_0x1cba28[_0x5ae2c3(0x460)](this[_0x5ae2c3(0x1dc)],[[_0x5b70ad]]),_0x1cba28['touchDependencies'](this[_0x5ae2c3(0x1dc)],[[_0x110766],[_0x4e9958[_0x5ae2c3(0x238)]],[_0x1c3c0b]]);}},_0x44ae01(_0x4e9958[_0x297728(0x433)],_0x297728(0x2b6),_0x50ec03),_0x4e9958['UniverCollaborationClientPlugin']=_0x23a11b([_0x1cba28[_0x297728(0x487)](_0x53e89d[_0x297728(0x3d3)],_0x3f31ff['UniverNetworkPlugin']),_0x4b0e39(0x1,_0x1cba28[_0x297728(0x3a8)]),_0x4b0e39(0x2,_0x1cba28[_0x297728(0x230)](_0x1cba28[_0x297728(0x3cf)])),_0x4b0e39(0x3,_0x1cba28['IConfigService'])],_0x4e9958[_0x297728(0x433)]),_0x4e9958['AUTHZ_URL_KEY']=_0x100441,_0x4e9958[_0x297728(0x382)]=_0x417457,_0x4e9958[_0x297728(0x19c)]=_0x350b11,_0x4e9958['COLLAB_WEB_SOCKET_URL_KEY']=_0xb9a30e,_0x4e9958['CollaborationStatus']=_0x6889cd,_0x4e9958[_0x297728(0x24c)]=_0x4793e9,_0x4e9958['CollaborationUIEventService']=_0x4d7771,_0x4e9958['CommentService']=_0x2f82cf,_0x4e9958[_0x297728(0x257)]=_0x3a015d,_0x4e9958[_0x297728(0x44f)]=_0x4e59e4,_0x4e9958[_0x297728(0x3e4)]=_0x2f1415,_0x4e9958[_0x297728(0x26a)]=_0x5949f9,_0x4e9958[_0x297728(0x2e7)]=_0x1dd843,_0x4e9958['ICollaborationSocketService']=_0x256527,_0x4e9958[_0x297728(0x2f6)]=_0x385042,_0x4e9958[_0x297728(0x283)]=_0x5d4c0a,_0x4e9958[_0x297728(0x45e)]=_0x20b881,_0x4e9958[_0x297728(0x49a)]=0x3e8,_0x4e9958[_0x297728(0x17d)]=_0x3397c7,_0x4e9958['LOGIN_URL_KEY']=_0x1a7860,_0x4e9958[_0x297728(0x2e8)]=_0x4c2bd9,_0x4e9958[_0x297728(0x27a)]=_0x4513cc,_0x4e9958[_0x297728(0x381)]=_0x1cb042,_0x4e9958[_0x297728(0x4ec)]=_0x542175,_0x4e9958[_0x297728(0x17c)]=_0x3c51c0,_0x4e9958[_0x297728(0x273)]=_0xa1a05d,_0x4e9958[_0x297728(0x1cc)]=_0x307146,_0x4e9958['deserializeToCombResponse']=_0xe27194,_0x4e9958[_0x297728(0x2c7)]=_0x5873f1,_0x4e9958['serializeCombRequest']=_0x2a6131,Object[_0x297728(0x279)](_0x4e9958,Symbol[_0x297728(0x30b)],{'value':_0x297728(0x337)});}));
1
+ function _0x51ae(){var _0x3a2909=['MentionType','_commentService','_clearRedo','lib','_candidateSocket','_getAPIPrefix','ReplaySubject','ICommandService','_onRecvEvent','patch','_replaceFileID','objectType','readyForCollab','addImageSourceCache','now','sessionStatus$','_retryConnectingTimer','data','onRemoteAck','deepClone','&source=','_startTelemetryCollaborationNewChangeset','post','_telemetryInfo','ivSize','rev','_doCryptBlock','editing\x20status\x20changed\x20to','_rescheduleHeartbeat','FileId','UniverDrawing','UNKNOWN_CMD','reqId','[SyncedState]:\x20received\x20rejection.','ws://127.0.0.1:8000/universer-api/comb/connect','UniverNetwork','_updateState','HTTPRequest','COMPRESS_MUTATION_APPLY','_univerInstanceService','cmd','/universer-api/snapshot','getImage','YUUMI_ASYNCIO_CANCELLED','_initUnitPermissionChange','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Subject','_clearScheduledTask','event$','take','Injector','collaboration-client.local-cache-service','removeMember','appendMutation','uniscriptRunEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','\x0aCurrent:\x20','_xformMode','_clearLocalCache','getRandomValues','RETRY_CONNECTING_MAX_COUNT','Could\x20not\x20dynamically\x20require\x20\x22','UPDATE_CURSOR','_collabSessionService','_isPermissionRej','BlockCipherMode','requireSession','_changesetSessionId','Workbook','defineProperty','_timeoutTimer','telemetry\x20info\x20is\x20not\x20initialized','join','_queuedRemoteChangesets','/universer-api/snapshot/','getImageSourceCache','_transformService','isTransformMutationsWithChangesetFailure','selections','FetchingMissState','_collaborationPaused','ImageSourceType','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','UniverCore','fromCollab','_resendWithTimeout','OTHER_CLIENTS_EDITING','_init','_loadDoc','CollaborativeUndoRedoService','concat','loadDoc','delay','/-/object/-/batch_allowed','_createInitialStateImpl','_singleActiveUnitService','pluginName','_awaitingChangeset','917632OMymjL','__esModule','conflict','\x20to\x20','avatar','default','OFFLINE','random','title','Hex','_sendHeartbeatTimer','blockSize','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','collaboratorID','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ConflictState','setConfig','listCollaborators','UniverTelemetry','/universer-api/authz','TOO_MANY_REQUESTS','\x20in\x20_schedule.','authzUrl','image/gif','INVALID_INVITE_CODE','_socketMessageSubscription','object','BehaviorSubject','get','catch','sigBytes','setWaitCount','isArray','startTime','_status$','cfg','csAckEvent','getUnit','takeUntil','COMPRESS_MUTATION_SEND','capture','parseChangesetToProtocol','?size=','INVALID_ARGUMENT','Base64','onSyncEditingCollabCursor','55821rGHDAq','emitEvent','UniverCollaborationPlugin','PERMISSION_DENIED','_userManagerService','AwaitingWithPendingState','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','amd','roomInfos','hostname','isTransformMutationsWithChangesetSuccess','CollaborationStatus','_oKey','_onFetchMissResult','_doReset','PSEUDO_FETCH_MISSING_RESULT','_removeRoom','pending','_handlerCallback','_createInitialState','Hasher','APPLY_REJECT','offline','reject','BufferedBlockAlgorithm','getValue','_retryCount','ILogService','_data','_schedule','SNAPSHOT_URL_KEY','UNDEFINED','APPLY_DUPLICATED','HmacSHA1','transformUndoRedo','SheetCollaborationEntity','InsertSheetMutation','href','dispose','routeKey','mergeOverrideWithDependencies','fromCharCode','filter','createSocket','&to=','_transformRemoteChangesetByStateCache','NEW_CHANGESETS','_hash','GLOBAL_ROOMS_CNT_EXCEEDS','_transformStack','_applyRemoteChangeset','CLOSE_ROOM','getActiveSheet','/universer-api/comb','_toggleOffline','MSG_FOR_ERROR','pauseCollaboration','_transformRemoteChangesetByIMECache','ISnapshotServerService','m2Prime','ERROR_IMAGE','getCollabEntity$','file','IUniverInstanceService','getUnitId','range','getGlobalObject','unitInfo$','newCsEvent','HttpExport','UnitSnapshot','getAllMembers','_networkConditionService','getMemberID','_loadSheet','target','_clearUndo','findIndex','changesets','_throwTelemetryCollaborationNewChangeset','_transformIMECache','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getRoom','Tools','disposeWithMe','toggleOnline','putCollaborators','origin','byteLength','open$','_resendTimer','length','LocaleService','_sendingTimer','_commentUpdate$','list','onlyLocal','onRemoteChangeset','_stopTelemetryCollaborationNewChangeset','init','EmptyMutation','commentUpdate$','c1Prime','transformChangesets','objectActions','createCollaborator','Malformed\x20UTF-8\x20data','univer-pro.collaboration-client-socket-service','UniverInstanceType','_key','allowed','localCacheService','getOwnPropertyDescriptor','_sessionStatus$','incrementRevOfUnit','closeSession','COMPLETION_FINISHED','/unit/','_cipher','fetchThroughInterceptors','abs','UniverCollaborationClientPlugin','LIVESHARE_NEW_HOST','UserManagerService','unpad','UnitEmbedded','/object/','state$','processBlock','_onConnectionFailed','_transitionLocked','8411058nSYoEd','RECV','AWAITING_WITH_PENDING','stopTime','_config','ISocketService','[DataLoaderService]','members','snapshotServerUrl','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','connection\x20error','onTransformRemoteChangesetByIMECache','OfflineState','getFocusedUnit','indexOf','_sender','LOGIN_FAILED','sendChangesetTimeout','IConfigService','_onRemoteACK','transformSelections','SUBMIT_CHANGESET_TIMEOUT','_resendTimeout','updatePermissionPoint','awaiting','[FetchMissState]','[CollaborationUndoRedoService]','getTypeOfUnitAdded$','includes','@univerjs/core','collabWebSocketUrl','CollaborationUIEventService','saveImage','UserProfileImg','unitId','parseProtocolChangeset','/collaborator','unsubscribe','UNAUTHENTICATED','SUCCUSS','function','SYNCED','JOIN_ROOM_FULL','onSendChangeset','socket\x20close','_tryReconnect','_httpService','body','ceil','COLLAB_SUBMIT_CHANGESET_URL_KEY','enableOfflineEditing','_scheduleCollaborationTimeoutTimer','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/resources','UNIVER_DOC','PERMISSION_REJ','COLLAB_SUBMIT_CHANGESET_URL','CollaborationEntity','session.join-failed','Cipher','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','[OfflineState]:\x20received\x20rejection.','getTypeOfUnitDisposed$','image/bmp','textEncoder','@univerjs/network','SUBMIT_CHANGESET','INetworkConditionService','HttpImport','@univerjs-pro/license','close$','DataLoaderService','session.room-cnt-exceeds','PY_RUNTIME_SCRIPT_ERROR','CHANGESET_REVISION_CONFILICT','_onCombEvent','collaborators','CipherParams','isInternalEditorID','HEARTBEAT_TIMEOUT','transformMutationsWithChangeset','DEFAULT_FILE_NAME','LICENSE_IMPORT_SIZE_EXCEEDED','_members$','next','ALREADY_EXISTS','unitId\x20is\x20not\x20found','SnapshotServerOverHTTPService','IMentionIOService','[OfflineState]:\x20received\x20acknowledgement.','{fileID}','onCommandExecuted','CONFLICT','UniverProCollaboration','rxjs','session.room-full','_socket$','message$','b64DecodeUnicode','_configService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','replace','mixIn','/object','_roomCreated$','getCollabEntity','onTransformSelections','onTransformRemoteChangesetByStateCache','FETCH_MISSING','csShouldRetryEvent','INGEST','fetchMiss','collaMsg','2023880IzrUSS','toLowerCase','YUUMI_RATE_OVER_LIMIT','clone','PERSON','snapshot','revision','pipe','bind','UNKNOWN_CODE','_nRounds','location','LocalUndoRedoService','_entityInit$','_updateStatus','loadOfflineData','Utf8','readAsDataURL','UNIVER_PROJECT','_collaborationSessionService','getWorkbookSelections','4270764jZppMi','registerDependencies','@univerjs/sheets','call','decrypt','_imageSourceCache','_clearCollaborationTimeoutTimer','FAIL','prototype','json','mode','serializeCombRequest','_snapshotService','encrypt','randomUUID','set','_unitID','UNRECOGNIZED','error','subscribe','downloadEndpointUrl','SheetsSelectionsService','RevisionService','_onLocalMutation','onRemoteRetry','mutations','failed\x20to\x20apply\x20missed\x20changesets!','_members','parse','[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.','_getSignURL','map','_memberService','send','reset','transformStack\x20failed!','getSnapshotAPIPath','_changesetReqId','onMissingChangesets','sin','UniverDocs','MentionIoHttpService','padding','save\x20fail\x20reason\x20is\x20','_sendHeartbeat','RETRY_CONNECTING_MAX_COUNT_KEY','BlockCipher','find','updatePermissionObjEvent','28UpeRsi','$super','_reverseMap','baseRev','originalMeta','execute','confirm','_state$','words','_process','Undefined','getCurrentRevOfUnit','LICENSE_EXPORT_SIZE_EXCEEDED','image/jpg','getUnitType','sid','CollaborationSession','getCurrentSelections','CollaborationSocketService','from','/universer-api/stream/file/upload','_clearRetryConnectingTimer','SetSelectionsOperation','_change$','msCrypto','NO_OTHER_CLIENTS_EDITING','charAt','NOT_COLLAB','UNIVER_SHEET','APPLY_NON_SEQUENTIAL_REVISION','MOBILE_HAS_BEEN_BOUND','_unlockTransition','shareReplay','Pkcs7','CollaborationImageIoService','IPermissionService','Quantity','kdf','SyncedState','waitForRoom$','debug','_getAPIPrefixPath','HmacMD5','getInterceptPoints','_invKeySchedule','[PendingState]:\x20received\x20rejection.','_syncEditingCollabCursor','awaitingChangeset','_event$','ciphertext','_tryEnsureSocket','_redoStacks','update','pad','BASE64','name','loadSheet','People','ISingleActiveUnitService','[SyncedState]:\x20received\x20acknowledgement.','csRejEvent','_acknowledgedAwaitingChangeset','_socket','every','create','SNAPSHOT_HAS_BEEN_REMOVED','_doFinalize','refreshPermission','IUndoRedoService','unitID','_createHelper','_incrementRevisionNumber','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','MemberService','loadUnit','SnapshotService','registerHTTPInterceptor','submit\x20changeset\x20error!','substr','resend','/allowed','AwaitingState','_submitChangeset','clamp','_onRemoteRetry','_onRemoteRejected','UNIVER_COLLABORATION_CLIENT_PLUGIN','_waitForHeartbeatResponse','rxjs/operators','USERS_ENTER','UnitStatus','Module','firstValueFrom','IImageIoService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','YUUMI_NO_CUBOID_FOR_QUESTION','_onOffline','_remoteChangesetQueue','CHANGESET_SHOULD_RETRY','responseType','StreamCipher','createDecryptor','onRemoteRej','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_initRequestHeader','charCodeAt','LIVESHARE_OPERATION','PENDING','_initCloseConn','online$','AWAITING','_getCurrentRevision','HTTPService','createIdentifier','_sessions','slice','createEncryptor','AuthzIoHttpService','_transformUndoredo','session','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','AUTHZ_URL_KEY','CommandType','JOIN_ROOM_NOT_EXISTS','CBC','_prevBlock','USERS_LEAVE','SOCKET_FAILED','_instanceService','fetch_missing','auth.needGotoLoginAlert','min','crypto','toggleOffline','INVITE_CODE_REQUIRED','finalize','[CollaborationSession]','_hasher','_onRemoteChangeset','LICENSE_DISTRO_REJECTED','override','\x0aAfter:\x20','getConfig','splice','getDeserializedSheetBlock','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','type','workbook','editingUnit','Plugin','toDisposable','_snapshotServerService','ERROR_IMAGE_TYPE','UNISCRIPT_RUN','_initMergeInterceptor','NoPadding','CollaborationSessionService','CHANGESET_ACK','ONLINE','_doCreateSocket','[CollaborationSessionService]:\x20socket\x20error','_minBufferSize','_compressMutationService','_initDependencies','_doProcessBlock','apply','has','delete','deleteCollaborator','_state','EvpKDF','WorkbookEditablePermission','withCredentials','_append','concatMap','onload','MergeInterceptorFactory','IDLE','_getRedoStack','mapDocumentTypeToUniverType','_socketReady','OTHER_CLIENT_EDITING','synced','add','IContextService','asObservable','leaveEvent','_scheduleCompleteTimestamp','_getCtorByUniverType','interceptor','setCurrentUser','getSheetId','UUID','getLocalCacheKey','socketService','salt','subject','CollaborationController','APPLY_REVISION_CONFILICT','_lockTransition','_HTTPService','src','infoRsp','getTime','Disposable','_onConnectionOpen','@univerjs-pro/collaboration','_onMessage','_disableEditing','compose','[CollaborationSessionService]','_revisionService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_logService','YUUMI_URL_COL_OUT_OF_RANGE','/new_changes','onTransformState','_substituteRedoStack','PasswordBasedCipher','floor','AES','_checkMissing','?url=','_localCacheService','_map','toStringTag','sheets','params','HEARTBEAT','UNIVER_UNKNOWN','APPLY_PERMISSION_DENIED','OpenSSL','82htBuaB','size','append','PendingState','JOINING','method','CONNECTOR_DATA_TOO_LARGE','subUnitId','code','_createHandler','getLatestCsReqIdBySid','@univerjs/telemetry','_iv','univer-pro.collaboration-client.single-active-unit-service','updateMember','ThresholdInterceptorFactory','onTransformIME','isPermissionRej','_updateLocalCache','clear','startsWith','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','textRanges','disableLocalCache','enc','_onConflict','DEFAULT_COLLAB_WEB_SOCKET_URL','_showConflictNotification','keySize','key','__creator','ERROR_EXCEED_SIZE','_handler','unit-cache-','exports','userID','url','SheetTransformSelectionsService','USER_NOT_INVITED_CODE','ENSURE_SNAPSHOT_EXECUTION','Optional','_replayCachedMutations','requestParams','_type','_commandService','_entities','_pendingMutations','_roomMembers','updateOfflineData','SessionStatus','resourceIDs','Encryptor','[OfflineState]:\x20received\x20changeset.','addHandlerCallback','fetchMissingChangesets','_unitInfo$','_undoStacks','generateRandomId','_iKey','/universer-api/file/{fileID}/sign-url','commentUpdateEvent','__Key__','state','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Failed\x20to\x20update\x20permission\x20point','reconnect','_startCollaboration','_shouldReportTelemetry','_registerDependencies','byteOffset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','executeCommand','_getLoginPath','_telemetryService','randomBytes','INVITE_CODE_ALREADY_BOUND','put','CollaborationEvent','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','34320726YkHsAJ','_collaborationUIEventService','touchDependencies','COMMENT_UPDATE','_sheetTransformSelectionsService','enableSingleActiveInstanceLock','@univerjs/docs','toString','&assign=','createInstance','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getMember','getUnitStatus$','unknown','algo','stringify','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','retryConnectingInterval','hasOwnProperty','getResourcesRequest','objectID','complete','localeService','_keyPriorReset','SNAPSHOT_SERVER_URL_KEY','encryptBlock','NOT_FOUND','WECHAT_HAS_BEEN_BOUND','LEAVE','_onUserJoin','Base','MUTATION','_decreaseWaiting','_getUploadFileURL','status','MD5','copyFileMeta','format','Decryptor','COLLAB_WEB_SOCKET_URL','_onUserLeave','_socketService','_onJoinRoomEvent','_fetchMissChangesets','merge','headers','error$','session.room-permission-denied','_clearHeartbeatTimer','change$','YUUMI_SUBSCRIPTION_NOT_FOUND','shouldCloseConn','onCommentUpdate','collabSubmitChangesetUrl','RichTextEditingMutation','status$','result','iterations','_collaborationTimeoutTimer','JOIN_ROOM_PERMISSION_DENIED','loginUrlKey','forEach','/rev/','memberID','onMissedChangesetFetched','/role','CompressMutationService','\x20-\x20','/block/','saveChangeset','CollaborationUIEventId','_waitCount','LOGIN_URL_KEY','action','_getDownloadEndpointURL','SHOULD_CLOSE_CONN','extend','session.room-not-exists','LIVESHARE_FETCH_OPERATIONS','ITransformService','UNIVER_SLIDE','_injector','UPDATE_PERMISSION_OBJ','push','@univerjs/drawing','sessionStatus','hasher','FETCH_MISS','WordArray','rng','getCurrentUser','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','isTransformChangesetsSuccess','_listenToNetworkCondition','JOIN','INVITE_CODE_HAS_BEEN_UES','_transformSelections','liveShareNewHost','compute','_mode','_undoRedoService','permissionRejEvent','Inject','duration','HELLO','_permissionService','_transformStateCache','initWorkbookPermissionChange','YUUMI_UNABLE_LOAD_URL','POST','/universer-api/user/session-ticket','_nDataBytes','dispose$','collaboration-client.config','eventID','updateCursorEvent','8296065bRhUjv','string','_executeRemoteChangeset','Univer','_localeService','actions','members$','INTERNAL_ERROR','RxDisposable','SEND_CHANGESET_TIMEOUT_KEY','JOIN_ROOM_FAILED','ImageUploadStatusType','_ENC_XFORM_MODE','LIVESHARE_REQUEST_HOST','_createSocket','buffer','_getSendChangesetTimeout','awaiting_with_pending','then','setShowComponents','close','SHA1','_eventService','[CollaborationEntity]'];_0x51ae=function(){return _0x3a2909;};return _0x51ae();}function _0x8cbe(_0x47d00c,_0x414ca6){var _0x51aef0=_0x51ae();return _0x8cbe=function(_0x8cbe1d,_0x275707){_0x8cbe1d=_0x8cbe1d-0x13e;var _0x237f0f=_0x51aef0[_0x8cbe1d];return _0x237f0f;},_0x8cbe(_0x47d00c,_0x414ca6);}(function(_0x405fd9,_0x2217be){var _0x3c1eb5=_0x8cbe,_0x1531ef=_0x405fd9();while(!![]){try{var _0x4c5f16=parseInt(_0x3c1eb5(0x361))/0x1+parseInt(_0x3c1eb5(0x224))/0x2*(parseInt(_0x3c1eb5(0x38f))/0x3)+parseInt(_0x3c1eb5(0x498))/0x4+parseInt(_0x3c1eb5(0x2e7))/0x5+parseInt(_0x3c1eb5(0x412))/0x6+-parseInt(_0x3c1eb5(0x4c9))/0x7*(parseInt(_0x3c1eb5(0x483))/0x8)+-parseInt(_0x3c1eb5(0x273))/0x9;if(_0x4c5f16===_0x2217be)break;else _0x1531ef['push'](_0x1531ef['shift']());}catch(_0x51e50a){_0x1531ef['push'](_0x1531ef['shift']());}}}(_0x51ae,0xf0368),function(_0xebf4ed,_0x23013d){var _0x5c1abd=_0x8cbe;typeof exports==_0x5c1abd(0x37b)&&typeof module<'u'?_0x23013d(exports,require(_0x5c1abd(0x42f)),require(_0x5c1abd(0x470)),require(_0x5c1abd(0x194)),require(_0x5c1abd(0x20a)),require('@univerjs/network'),require(_0x5c1abd(0x22f)),require(_0x5c1abd(0x279)),require(_0x5c1abd(0x49a)),require(_0x5c1abd(0x2c7)),require(_0x5c1abd(0x457))):typeof define==_0x5c1abd(0x43a)&&define[_0x5c1abd(0x396)]?define([_0x5c1abd(0x246),_0x5c1abd(0x42f),_0x5c1abd(0x470),_0x5c1abd(0x194),_0x5c1abd(0x20a),_0x5c1abd(0x453),_0x5c1abd(0x22f),_0x5c1abd(0x279),_0x5c1abd(0x49a),_0x5c1abd(0x2c7),'@univerjs-pro/license'],_0x23013d):(_0xebf4ed=typeof globalThis<'u'?globalThis:_0xebf4ed||self,_0x23013d(_0xebf4ed['UniverProCollaborationClient']={},_0xebf4ed[_0x5c1abd(0x352)],_0xebf4ed[_0x5c1abd(0x470)],_0xebf4ed['rxjs']['operators'],_0xebf4ed[_0x5c1abd(0x46f)],_0xebf4ed[_0x5c1abd(0x322)],_0xebf4ed[_0x5c1abd(0x373)],_0xebf4ed[_0x5c1abd(0x4c0)],_0xebf4ed['UniverSheets'],_0xebf4ed[_0x5c1abd(0x31d)],_0xebf4ed['UniverProLicense']));}(this,function(_0x1ac966,_0x1580f8,_0xdf3790,_0x2f0ffe,_0x1273bf,_0x2864cd,_0x26f35f,_0x5650a7,_0x3a5b47,_0x156a78,_0x3d8a6a){'use strict';var _0x549351=_0x8cbe;var _0x2d412a=Object[_0x549351(0x344)],_0x5dc2d4=(_0x1549c0,_0x294a52,_0xd40c95)=>_0x294a52 in _0x1549c0?_0x2d412a(_0x1549c0,_0x294a52,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd40c95}):_0x1549c0[_0x294a52]=_0xd40c95,_0x1ad8fe=(_0x556380,_0x44a99a,_0xd15222)=>_0x5dc2d4(_0x556380,typeof _0x44a99a!='symbol'?_0x44a99a+'':_0x44a99a,_0xd15222);const _0x1283aa=_0x549351(0x28b),_0xa37e85=_0x549351(0x328),_0x832350=_0x549351(0x3ad),_0x284764='SEND_CHANGESET_TIMEOUT',_0x50a17e=_0x549351(0x29a),_0x2225bd=_0x549351(0x321),_0x4d6748=_0x549351(0x2e1),_0x134ec5='HEARTBEAT_INTERVAL',_0x5901c0=_0x549351(0x461),_0x86df65=_0x549351(0x33b),_0x34d9ee='LOCAL_CACHE_INTERVAL',_0x472a8f=_0x549351(0x44a),_0x26795f=_0x549351(0x3c4),_0x4fd29a='LOGIN_URL_KEY',_0x167b2c='/universer-api/oidc/authpage',_0x2cd825='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x49be1d='/universer-api/uniscript';var _0x2f6d14=(_0x480936=>(_0x480936[_0x480936[_0x549351(0x3ae)]=0x0]=_0x549351(0x3ae),_0x480936[_0x480936['OK']=0x1]='OK',_0x480936[_0x480936[_0x549351(0x2ee)]=0x2]=_0x549351(0x2ee),_0x480936[_0x480936['PERMISSION_DENIED']=0x3]=_0x549351(0x392),_0x480936[_0x480936[_0x549351(0x28d)]=0x4]=_0x549351(0x28d),_0x480936[_0x480936[_0x549351(0x438)]=0x5]=_0x549351(0x438),_0x480936[_0x480936['ALREADY_EXISTS']=0x6]=_0x549351(0x467),_0x480936[_0x480936[_0x549351(0x38c)]=0x7]=_0x549351(0x38c),_0x480936[_0x480936[_0x549351(0x375)]=0x8]=_0x549351(0x375),_0x480936[_0x480936['COMPLETION_FINISHED']=0x9]=_0x549351(0x403),_0x480936[_0x480936[_0x549351(0x422)]=0xa]=_0x549351(0x422),_0x480936[_0x480936[_0x549351(0x45c)]=0x1389]=_0x549351(0x45c),_0x480936[_0x480936['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x480936[_0x480936['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x549351(0x17d),_0x480936[_0x480936[_0x549351(0x24b)]=0x1773]=_0x549351(0x24b),_0x480936[_0x480936[_0x549351(0x3a4)]=0x1b59]=_0x549351(0x3a4),_0x480936[_0x480936[_0x549351(0x159)]=0x1b5a]=_0x549351(0x159),_0x480936[_0x480936['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x549351(0x202),_0x480936[_0x480936[_0x549351(0x222)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x480936[_0x480936[_0x549351(0x3af)]=0x1b5d]=_0x549351(0x3af),_0x480936[_0x480936[_0x549351(0x22a)]=0x1f41]=_0x549351(0x22a),_0x480936[_0x480936['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x480936[_0x480936[_0x549351(0x41b)]=0x232a]=_0x549351(0x41b),_0x480936[_0x480936[_0x549351(0x464)]=0x232b]=_0x549351(0x464),_0x480936[_0x480936[_0x549351(0x148)]=0x232c]=_0x549351(0x148),_0x480936[_0x480936['LICENSE_DISTRO_REJECTED']=0x232d]=_0x549351(0x1c7),_0x480936[_0x480936[_0x549351(0x2df)]=0x2711]=_0x549351(0x2df),_0x480936[_0x480936[_0x549351(0x212)]=0x2712]=_0x549351(0x212),_0x480936[_0x480936[_0x549351(0x485)]=0x2713]=_0x549351(0x485),_0x480936[_0x480936[_0x549351(0x2a5)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x480936[_0x480936['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x549351(0x19b),_0x480936[_0x480936[_0x549351(0x32a)]=0x271b]=_0x549351(0x32a),_0x480936[_0x480936[_0x549351(0x45b)]=0x2af9]=_0x549351(0x45b),_0x480936[_0x480936[_0x549351(0x2d2)]=0x2ee1]=_0x549351(0x2d2),_0x480936[_0x480936[_0x549351(0x379)]=0x2ee2]=_0x549351(0x379),_0x480936[_0x480936['INVITE_CODE_REQUIRED']=0x2ee3]=_0x549351(0x1c2),_0x480936[_0x480936[_0x549351(0x24a)]=0x2ee4]=_0x549351(0x24a),_0x480936[_0x480936[_0x549351(0x26f)]=0x2ee5]=_0x549351(0x26f),_0x480936[_0x480936[_0x549351(0x28e)]=0x32c9]=_0x549351(0x28e),_0x480936[_0x480936[_0x549351(0x15a)]=0x32ca]=_0x549351(0x15a),_0x480936[_0x480936['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x480936[_0x480936[_0x549351(0x4a9)]=-0x1]=_0x549351(0x4a9),_0x480936))(_0x2f6d14||{}),_0xe53b2e=(_0x9e0f64=>(_0x9e0f64[_0x9e0f64[_0x549351(0x221)]=0x0]=_0x549351(0x221),_0x9e0f64[_0x9e0f64[_0x549351(0x448)]=0x1]=_0x549351(0x448),_0x9e0f64[_0x9e0f64[_0x549351(0x158)]=0x2]=_0x549351(0x158),_0x9e0f64[_0x9e0f64['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x9e0f64[_0x9e0f64[_0x549351(0x495)]=0x4]='UNIVER_PROJECT',_0x9e0f64[_0x9e0f64['UNRECOGNIZED']=-0x1]=_0x549351(0x4a9),_0x9e0f64))(_0xe53b2e||{}),_0x360e3f=(_0x4c14ea=>(_0x4c14ea[_0x4c14ea[_0x549351(0x31e)]=0x0]=_0x549351(0x31e),_0x4c14ea[_0x4c14ea[_0x549351(0x2db)]=0x1]=_0x549351(0x2db),_0x4c14ea[_0x4c14ea[_0x549351(0x2d1)]=0x2]=_0x549351(0x2d1),_0x4c14ea[_0x4c14ea[_0x549351(0x28f)]=0x3]=_0x549351(0x28f),_0x4c14ea[_0x4c14ea[_0x549351(0x480)]=0x4]=_0x549351(0x480),_0x4c14ea[_0x4c14ea[_0x549351(0x220)]=0x5]=_0x549351(0x220),_0x4c14ea[_0x4c14ea['RECV']=0x6]=_0x549351(0x413),_0x4c14ea[_0x4c14ea[_0x549351(0x4a9)]=-0x1]=_0x549351(0x4a9),_0x4c14ea))(_0x360e3f||{}),_0x39adf9=(_0x3eb818=>(_0x3eb818[_0x3eb818['UNKNOWN_CODE']=0x0]=_0x549351(0x48c),_0x3eb818[_0x3eb818['OK']=0x1]='OK',_0x3eb818[_0x3eb818[_0x549351(0x49f)]=0x2]='FAIL',_0x3eb818[_0x3eb818[_0x549351(0x43c)]=0x3e9]='JOIN_ROOM_FULL',_0x3eb818[_0x3eb818[_0x549351(0x1b7)]=0x3ea]=_0x549351(0x1b7),_0x3eb818[_0x3eb818[_0x549351(0x2ae)]=0x3eb]=_0x549351(0x2ae),_0x3eb818[_0x3eb818[_0x549351(0x3bf)]=0x3ec]=_0x549351(0x3bf),_0x3eb818[_0x3eb818[_0x549351(0x4a9)]=-0x1]=_0x549351(0x4a9),_0x3eb818))(_0x39adf9||{}),_0x5b60ca=(_0x2bc19d=>(_0x2bc19d[_0x2bc19d[_0x549351(0x146)]=0x0]=_0x549351(0x146),_0x2bc19d[_0x2bc19d[_0x549351(0x456)]=0x1]=_0x549351(0x456),_0x2bc19d[_0x2bc19d['HttpExport']=0x2]=_0x549351(0x3d4),_0x2bc19d[_0x2bc19d['UnitEmbedded']=0x3]=_0x549351(0x40c),_0x2bc19d[_0x2bc19d[_0x549351(0x3d5)]=0x4]=_0x549351(0x3d5),_0x2bc19d[_0x2bc19d[_0x549351(0x433)]=0x5]=_0x549351(0x433),_0x2bc19d[_0x2bc19d[_0x549351(0x4a9)]=-0x1]=_0x549351(0x4a9),_0x2bc19d))(_0x5b60ca||{});const _0x1db2ed=_0x549351(0x2e4),_0x8159a3={};var _0x2bf599=(_0x531bc8=>(_0x531bc8[_0x549351(0x1f1)]=_0x549351(0x1f1),_0x531bc8[_0x549351(0x392)]=_0x549351(0x392),_0x531bc8[_0x549351(0x46e)]=_0x549351(0x46e),_0x531bc8[_0x549351(0x3c2)]='CLOSE_ROOM',_0x531bc8[_0x549351(0x2f1)]=_0x549351(0x2f1),_0x531bc8['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x531bc8[_0x549351(0x1bb)]=_0x549351(0x1bb),_0x531bc8[_0x549351(0x427)]=_0x549351(0x427),_0x531bc8))(_0x2bf599||{});class _0x1667ed{constructor(){var _0x46d0a6=_0x549351;_0x1ad8fe(this,'_event$',new _0xdf3790[(_0x46d0a6(0x32d))]()),_0x1ad8fe(this,'event$',this[_0x46d0a6(0x16c)][_0x46d0a6(0x1f5)]());}[_0x549351(0x390)](_0x4d6c96){var _0x2fc810=_0x549351;this[_0x2fc810(0x16c)][_0x2fc810(0x466)](_0x4d6c96);}}const _0x1587bd=_0x1580f8['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function _0x25897d(_0x517096){var _0x3eeb0a=_0x549351,_0x5f35ce,_0x4cb248,_0x5b5b0e,_0x39d50a,_0x24a164;const _0x115597=_0x517096[_0x3eeb0a(0x310)],_0x2df10c=JSON[_0x3eeb0a(0x4b4)](_0x115597);switch(_0x2df10c[_0x3eeb0a(0x327)]){case _0x360e3f[_0x3eeb0a(0x220)]:case _0x360e3f[_0x3eeb0a(0x2db)]:{const _0x4a7c88=_0x2df10c[_0x3eeb0a(0x206)];return{..._0x2df10c,'data':_0x4a7c88,'cmd':_0x2df10c[_0x3eeb0a(0x327)]};}case _0x360e3f[_0x3eeb0a(0x2d1)]:{const _0x13ca01=_0x2df10c['joinRsp'];return{..._0x2df10c,'data':_0x13ca01,'cmd':_0x2df10c[_0x3eeb0a(0x327)]};}case _0x360e3f['RECV']:{const _0x49cb43=_0x2df10c[_0x3eeb0a(0x482)];switch(_0x49cb43[_0x3eeb0a(0x2e5)]){case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x449)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':(_0x5f35ce=_0x49cb43[_0x3eeb0a(0x2d8)])==null?void 0x0:_0x5f35ce['cs']},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x1d9)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':(_0x4cb248=_0x49cb43[_0x3eeb0a(0x385)])==null?void 0x0:_0x4cb248['cs']},'cmd':_0x2df10c['cmd']};case _0x1273bf['CollaborationEvent'][_0x3eeb0a(0x3bd)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':(_0x5b5b0e=_0x49cb43[_0x3eeb0a(0x3d3)])==null?void 0x0:_0x5b5b0e['cs']},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)]['CHANGESET_REJ']:return{..._0x2df10c,'data':{..._0x49cb43,'data':(_0x39d50a=_0x49cb43[_0x3eeb0a(0x178)])==null?void 0x0:_0x39d50a['cs']},'cmd':_0x2df10c['cmd']};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x19e)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':(_0x24a164=_0x49cb43[_0x3eeb0a(0x47f)])==null?void 0x0:_0x24a164['cs']},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x33d)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x2e6)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)]['USERS_ENTER']:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43['joinEvent']},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)]['USERS_LEAVE']:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x1f6)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x409)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x2d4)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x2c1)]:case _0x1273bf[_0x3eeb0a(0x271)]['LIVESHARE_OPERATION']:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43['liveShareOperation']},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x2d4)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x3c6)]:return{..._0x2df10c,'data':_0x49cb43,'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf['CollaborationEvent'][_0x3eeb0a(0x276)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x260)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)]['UPDATE_PERMISSION_OBJ']:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x4c8)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf[_0x3eeb0a(0x271)][_0x3eeb0a(0x2be)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x2a6)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};case _0x1273bf['CollaborationEvent'][_0x3eeb0a(0x1d5)]:return{..._0x2df10c,'data':{..._0x49cb43,'data':_0x49cb43[_0x3eeb0a(0x335)]},'cmd':_0x2df10c[_0x3eeb0a(0x327)]};default:return _0x2df10c;}}default:return _0x2df10c;}}function _0x5ca2af(_0x455d81){var _0x4c839e=_0x549351;switch(_0x455d81['cmd']){case _0x360e3f[_0x4c839e(0x220)]:case _0x360e3f['HELLO']:return JSON[_0x4c839e(0x282)]({'cmd':_0x455d81[_0x4c839e(0x327)],'routeKey':_0x455d81[_0x4c839e(0x3b6)]});case _0x360e3f[_0x4c839e(0x480)]:{let _0x30936e;switch(_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x2e5)]){case _0x1273bf['CollaborationEvent'][_0x4c839e(0x33d)]:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x33d)],'updateCursorEvent':_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x310)]};break;}case _0x1273bf['CollaborationEvent'][_0x4c839e(0x1ba)]:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x1ba)],'leaveEvent':_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x310)]};break;}case _0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x195)]:{_0x30936e={'eventID':_0x1273bf['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x455d81['data'][_0x4c839e(0x310)]};break;}case _0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x409)]:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x409)],'liveShareNewHost':_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x310)]};break;}case _0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x1a6)]:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x1a6)],'liveShareOperation':_0x455d81['data']['data']};break;}case _0x1273bf['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x310)]};break;}case _0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x2f4)]:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x2f4)],'liveShareRequestHost':_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x310)]};break;}case _0x1273bf[_0x4c839e(0x271)][_0x4c839e(0x2c1)]:{_0x30936e={'eventID':_0x1273bf[_0x4c839e(0x271)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x30936e={'eventID':_0x455d81[_0x4c839e(0x310)][_0x4c839e(0x2e5)]};}return JSON['stringify']({'cmd':_0x455d81[_0x4c839e(0x327)],'routeKey':_0x455d81[_0x4c839e(0x3b6)],'collaMsg':_0x30936e});}case _0x360e3f[_0x4c839e(0x2d1)]:return JSON[_0x4c839e(0x282)]({'cmd':_0x455d81[_0x4c839e(0x327)],'routeKey':_0x455d81[_0x4c839e(0x3b6)],'joinReq':_0x455d81[_0x4c839e(0x310)]});case _0x360e3f[_0x4c839e(0x28f)]:return JSON[_0x4c839e(0x282)]({'cmd':_0x455d81[_0x4c839e(0x327)],'routeKey':_0x455d81[_0x4c839e(0x3b6)],'leaveReq':_0x455d81[_0x4c839e(0x310)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x4b6025=Object[_0x549351(0x3ff)],_0x211f60=(_0x20a858,_0x387258,_0x142732,_0xfb88f5)=>{for(var _0x4a8a25=_0xfb88f5>0x1?void 0x0:_0xfb88f5?_0x4b6025(_0x387258,_0x142732):_0x387258,_0x1562cd=_0x20a858['length']-0x1,_0x247a7d;_0x1562cd>=0x0;_0x1562cd--)(_0x247a7d=_0x20a858[_0x1562cd])&&(_0x4a8a25=_0x247a7d(_0x4a8a25)||_0x4a8a25);return _0x4a8a25;},_0x12afd1=(_0xe63a5a,_0x3c6612)=>(_0x322992,_0x20ecad)=>_0x3c6612(_0x322992,_0x20ecad,_0xe63a5a);const _0x205f9c=_0x1580f8['createIdentifier'](_0x549351(0x3fa));function _0x3db062(_0x144cec,_0x5c5b28,_0x1cc4d2){var _0x4beab6=_0x549351;return _0x144cec+'/'+_0x5c5b28+_0x4beab6(0x404)+_0x1cc4d2+_0x4beab6(0x213);}_0x1ac966[_0x549351(0x14e)]=class extends _0x1580f8[_0x549351(0x208)]{constructor(_0x105740,_0x43b373,_0x360acb,_0x1922d3,_0x480f8e){var _0x527ec9=_0x549351;super(),this[_0x527ec9(0x2c4)]=_0x105740,this[_0x527ec9(0x440)]=_0x43b373,this[_0x527ec9(0x475)]=_0x360acb,this[_0x527ec9(0x211)]=_0x1922d3,this[_0x527ec9(0x1d3)]=_0x480f8e;}[_0x549351(0x1db)](_0x269174){var _0x263423=_0x549351;const _0x3949ab=this[_0x263423(0x2c4)][_0x263423(0x37d)](_0x2864cd[_0x263423(0x417)]);if(!_0x3949ab)throw new Error(_0x263423(0x184));const _0x545bbc=_0x3949ab[_0x263423(0x3ba)](_0x269174);if(!_0x545bbc)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0xe0e35a=new _0x1580f8['DisposableCollection'](),_0x1bbc0b=new _0xdf3790[(_0x263423(0x32d))]();_0xe0e35a[_0x263423(0x1f3)](_0x545bbc[_0x263423(0x458)][_0x263423(0x4ab)](_0x48f470=>_0x1bbc0b[_0x263423(0x466)](_0x48f470))),_0xe0e35a['add'](_0x1580f8['toDisposable'](()=>_0x1bbc0b[_0x263423(0x288)]()));const _0x40d000=new _0xdf3790[(_0x263423(0x32d))]();_0xe0e35a[_0x263423(0x1f3)](_0x545bbc[_0x263423(0x2a1)]['subscribe'](_0x1eacb4=>_0x40d000[_0x263423(0x466)](_0x1eacb4))),_0xe0e35a[_0x263423(0x1f3)](_0x1580f8['toDisposable'](()=>_0x40d000[_0x263423(0x288)]()));const _0x57ba17=new _0xdf3790['Subject']();_0xe0e35a['add'](_0x545bbc[_0x263423(0x473)][_0x263423(0x4ab)](_0x3085b8=>{var _0x56d96d=_0x263423;const _0x5d3c82=_0x25897d(_0x3085b8);_0x57ba17[_0x56d96d(0x466)](_0x5d3c82);})),_0xe0e35a['add'](_0x1580f8[_0x263423(0x1d2)](()=>_0x57ba17[_0x263423(0x288)]()));let _0xbd8ce2;const _0x53efe3=()=>{var _0xb0c454=_0x263423;_0x40d000[_0xb0c454(0x466)](new Event(_0xb0c454(0x41c))),_0x1bbc0b[_0xb0c454(0x466)](new Event(_0xb0c454(0x41c))),_0xbd8ce2[_0xb0c454(0x2fb)]();};return _0xbd8ce2={'memberID':'','close$':_0x1bbc0b['asObservable'](),'error$':_0x40d000[_0x263423(0x1f5)](),'open$':_0x545bbc[_0x263423(0x3e8)],'message$':_0x57ba17[_0x263423(0x1f5)](),'send':_0x28e8fb=>{var _0x1df2f6=_0x263423;if(_0x28e8fb['cmd']===_0x360e3f[_0x1df2f6(0x480)]){if(_0x28e8fb['data'][_0x1df2f6(0x2e5)]===_0x1273bf[_0x1df2f6(0x271)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0xbd8ce2,_0x28e8fb[_0x1df2f6(0x310)])[_0x1df2f6(0x37e)](_0xa90e5d=>{var _0x4c946b=_0x1df2f6;this[_0x4c946b(0x211)][_0x4c946b(0x4aa)](_0xa90e5d),_0x53efe3();});return;}if(_0x28e8fb[_0x1df2f6(0x310)][_0x1df2f6(0x2e5)]===_0x1273bf[_0x1df2f6(0x271)][_0x1df2f6(0x47e)]){const _0x38e8a8=_0x28e8fb[_0x1df2f6(0x310)];this[_0x1df2f6(0x29e)](_0x38e8a8)[_0x1df2f6(0x2f9)](_0x498380=>{var _0x4d31ab=_0x1df2f6;_0x57ba17['next']({'cmd':_0x360e3f[_0x4d31ab(0x413)],'code':_0x39adf9['OK'],'routeKey':_0x38e8a8[_0x4d31ab(0x310)]['unitID'],'routeType':'','data':{'eventID':_0x1273bf[_0x4d31ab(0x271)][_0x4d31ab(0x39e)],'data':{'changesets':_0x498380}}});})[_0x1df2f6(0x37e)](_0x44a50b=>{var _0xb77a9f=_0x1df2f6;this[_0xb77a9f(0x211)][_0xb77a9f(0x4aa)](_0x44a50b),_0x53efe3();});return;}}_0x545bbc[_0x1df2f6(0x4b9)](_0x5ca2af(_0x28e8fb));},'close':()=>{var _0x36408d=_0x263423;_0x545bbc['close'](),_0xe0e35a[_0x36408d(0x3b5)]();}},_0xbd8ce2;}async[_0x549351(0x18e)](_0x226797,_0x54e9f4){var _0xd93851=_0x549351,_0x52327c,_0x2b30ae;const {unitType:_0x36309b,unitID:_0x551c95,changeset:_0x3f5fb4}=_0x54e9f4['data'],_0x31b3c6={'unitID':_0x551c95,'memberID':_0x226797['memberID'],'type':_0x36309b,'changeset':_0x1273bf[_0xd93851(0x38a)](_0x3f5fb4)},_0x31e914=this[_0xd93851(0x475)]['getConfig'](_0x472a8f),_0x393098=this[_0xd93851(0x475)][_0xd93851(0x1ca)](_0x1db2ed),_0x2a8d54=_0x3db062((_0x2b30ae=(_0x52327c=_0x393098==null?void 0x0:_0x393098[_0xd93851(0x2a8)])!=null?_0x52327c:_0x31e914)!=null?_0x2b30ae:_0x26795f,_0x36309b,_0x551c95);try{await this[_0xd93851(0x440)]['post'](_0x2a8d54,{'body':_0x31b3c6});}catch(_0x37dcce){throw this['_logService'][_0xd93851(0x4aa)](_0xd93851(0x1c4),_0xd93851(0x189)),_0x37dcce;}}async['_fetchMissChangesets'](_0x3926fd){var _0x584074=_0x549351;const {unitID:_0x536cf2,from:_0x2a3478,to:_0x42989d,unitType:_0x5b30b3}=_0x3926fd[_0x584074(0x310)];return(await this[_0x584074(0x1d3)][_0x584074(0x25a)]({'metadata':void 0x0},{'unitID':_0x536cf2,'type':_0x5b30b3,'from':_0x2a3478,'to':_0x42989d}))[_0x584074(0x3dd)];}},_0x1ac966[_0x549351(0x14e)]=_0x211f60([_0x12afd1(0x0,_0x1580f8['Inject'](_0x1580f8['Injector'])),_0x12afd1(0x1,_0x1580f8[_0x549351(0x2d9)](_0x2864cd[_0x549351(0x1ac)])),_0x12afd1(0x2,_0x1580f8['IConfigService']),_0x12afd1(0x3,_0x1580f8[_0x549351(0x3aa)]),_0x12afd1(0x4,_0x1273bf[_0x549351(0x3c9)])],_0x1ac966[_0x549351(0x14e)]);const _0x171cff='collaboration_new_changeset';function _0x586440(_0x24ded7){var _0x1b835a=_0x549351;return JSON['stringify'](_0x24ded7)[_0x1b835a(0x3ea)];}class _0x5e520d{constructor(){var _0x5ce9e1=_0x549351;_0x1ad8fe(this,'_commentUpdate$',new _0xdf3790['Subject']()),_0x1ad8fe(this,_0x5ce9e1(0x3f4),this[_0x5ce9e1(0x3ed)]['asObservable']());}[_0x549351(0x2a7)](_0x18412d){var _0x380854=_0x549351;this[_0x380854(0x3ed)][_0x380854(0x466)](_0x18412d);}}var _0x16f2f6=Object['getOwnPropertyDescriptor'],_0x3a8a50=(_0x1d0408,_0x317145,_0x3b5cae,_0x66154b)=>{for(var _0x59506d=_0x66154b>0x1?void 0x0:_0x66154b?_0x16f2f6(_0x317145,_0x3b5cae):_0x317145,_0x231cb3=_0x1d0408['length']-0x1,_0xd6c1cf;_0x231cb3>=0x0;_0x231cb3--)(_0xd6c1cf=_0x1d0408[_0x231cb3])&&(_0x59506d=_0xd6c1cf(_0x59506d)||_0x59506d);return _0x59506d;},_0x2ae131=(_0x12d2e9,_0x217991)=>(_0x1767de,_0x15cb45)=>_0x217991(_0x1767de,_0x15cb45,_0x12d2e9);_0x1ac966[_0x549351(0x185)]=class extends _0x1580f8['Disposable']{constructor(_0x67be59,_0x47d53e){var _0x4d42b4=_0x549351;super(),_0x1ad8fe(this,_0x4d42b4(0x253),new Map()),_0x1ad8fe(this,_0x4d42b4(0x47a),new _0xdf3790[(_0x4d42b4(0x32d))]()),(this['_univerInstanceService']=_0x67be59,this['_userManagerService']=_0x47d53e,this[_0x4d42b4(0x3e3)](_0xdf3790[_0x4d42b4(0x29f)](this[_0x4d42b4(0x326)]['getTypeOfUnitDisposed$'](_0x1580f8['UniverInstanceType'][_0x4d42b4(0x158)])[_0x4d42b4(0x48a)](_0x2f0ffe[_0x4d42b4(0x4b7)](_0x422603=>_0x422603['getUnitId']())),this[_0x4d42b4(0x326)][_0x4d42b4(0x450)](_0x1580f8[_0x4d42b4(0x3fb)][_0x4d42b4(0x448)])[_0x4d42b4(0x48a)](_0x2f0ffe[_0x4d42b4(0x4b7)](_0xb699a8=>_0xb699a8[_0x4d42b4(0x3cf)]())),this['_univerInstanceService'][_0x4d42b4(0x450)](_0x1580f8[_0x4d42b4(0x3fb)][_0x4d42b4(0x2c3)])['pipe'](_0x2f0ffe['map'](_0x352be4=>_0x352be4[_0x4d42b4(0x3cf)]())))[_0x4d42b4(0x4ab)](_0x125406=>this[_0x4d42b4(0x39f)](_0x125406))));}[_0x549351(0x163)](_0x27dfa4){var _0x3bbf28=_0x549351;return this[_0x3bbf28(0x253)]['has'](_0x27dfa4)?_0xdf3790['of'](this[_0x3bbf28(0x253)][_0x3bbf28(0x37d)](_0x27dfa4)):this[_0x3bbf28(0x47a)][_0x3bbf28(0x48a)](_0x2f0ffe['map'](_0x142bc9=>{var _0x3dc374=_0x3bbf28;if(_0x142bc9===_0x27dfa4)return this[_0x3dc374(0x253)][_0x3dc374(0x37d)](_0x142bc9);}));}[_0x549351(0x1fa)](_0x431a59){this['_userManagerService']['setCurrentUser'](_0x431a59);}['getCurrentUser'](){var _0x3f2387=_0x549351;return this[_0x3f2387(0x393)][_0x3f2387(0x2cd)]();}[_0x549351(0x232)](_0x5d7a01,_0x5318ad){var _0x270448=_0x549351;let _0x5bfe28=this[_0x270448(0x253)][_0x270448(0x37d)](_0x5d7a01);_0x5bfe28||(_0x5bfe28=new _0x2c1c25(),this['_roomMembers'][_0x270448(0x4a7)](_0x5d7a01,_0x5bfe28),this[_0x270448(0x47a)][_0x270448(0x466)](_0x5d7a01)),_0x5bfe28[_0x270448(0x232)](_0x5318ad);}[_0x549351(0x333)](_0x1f09d3,_0x751277){var _0x188c33=_0x549351;const _0x4d0a7f=this[_0x188c33(0x253)][_0x188c33(0x37d)](_0x1f09d3);_0x4d0a7f&&_0x4d0a7f['removeMember'](_0x751277);}[_0x549351(0x3e1)](_0x57f6ad){var _0x3184f8=_0x549351;return this['_roomMembers'][_0x3184f8(0x37d)](_0x57f6ad);}[_0x549351(0x27e)](_0x3f41d2,_0x74c054){var _0x58e259=_0x549351;const _0x371b67=this['_roomMembers'][_0x58e259(0x37d)](_0x3f41d2);if(_0x371b67)return _0x371b67[_0x58e259(0x27e)](_0x74c054);}['_removeRoom'](_0x584dd5){var _0x127180=_0x549351;const _0x470eae=this[_0x127180(0x253)][_0x127180(0x37d)](_0x584dd5);_0x470eae&&(_0x470eae[_0x127180(0x3b5)](),this[_0x127180(0x253)][_0x127180(0x1e3)](_0x584dd5));}[_0x549351(0x3b5)](){var _0x5bdf1a=_0x549351;this[_0x5bdf1a(0x253)]['forEach'](_0xfd8e4=>_0xfd8e4[_0x5bdf1a(0x3b5)]()),this[_0x5bdf1a(0x253)][_0x5bdf1a(0x237)](),this[_0x5bdf1a(0x47a)]['complete']();}},_0x1ac966[_0x549351(0x185)]=_0x3a8a50([_0x2ae131(0x0,_0x1580f8[_0x549351(0x3ce)]),_0x2ae131(0x1,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x40a)]))],_0x1ac966[_0x549351(0x185)]);class _0x2c1c25 extends _0x1580f8[_0x549351(0x208)]{constructor(){var _0x9d9bc2=_0x549351;super(...arguments),_0x1ad8fe(this,_0x9d9bc2(0x4b3),new Map()),_0x1ad8fe(this,_0x9d9bc2(0x465),new _0xdf3790[(_0x9d9bc2(0x37c))](this[_0x9d9bc2(0x4b3)])),_0x1ad8fe(this,_0x9d9bc2(0x2ed),this[_0x9d9bc2(0x465)][_0x9d9bc2(0x1f5)]());}[_0x549351(0x3b5)](){var _0x501d99=_0x549351;this[_0x501d99(0x4b3)][_0x501d99(0x237)]();}[_0x549351(0x232)](_0x883114){var _0x57b1f9=_0x549351;this[_0x57b1f9(0x4b3)][_0x57b1f9(0x4a7)](_0x883114[_0x57b1f9(0x2b2)],_0x883114),this['_emitMembers']();}[_0x549351(0x333)](_0xccc475){var _0x3056ff=_0x549351;this['_members'][_0x3056ff(0x1e3)](_0xccc475);}[_0x549351(0x27e)](_0x3b6ab9){var _0x4fe86e=_0x549351;return this['_members'][_0x4fe86e(0x37d)](_0x3b6ab9);}[_0x549351(0x3d6)](){var _0x101b2a=_0x549351;return Array[_0x101b2a(0x14f)](this['_members']['values']());}['_emitMembers'](){var _0x5f0252=_0x549351;this[_0x5f0252(0x465)]['next'](this[_0x5f0252(0x4b3)]);}}var _0x3721b=Object['getOwnPropertyDescriptor'],_0x125fa0=(_0x4e5519,_0x505247,_0x1a4056,_0xee84ca)=>{var _0x2577e8=_0x549351;for(var _0x4bf311=_0xee84ca>0x1?void 0x0:_0xee84ca?_0x3721b(_0x505247,_0x1a4056):_0x505247,_0x2a6657=_0x4e5519[_0x2577e8(0x3ea)]-0x1,_0x257cf4;_0x2a6657>=0x0;_0x2a6657--)(_0x257cf4=_0x4e5519[_0x2a6657])&&(_0x4bf311=_0x257cf4(_0x4bf311)||_0x4bf311);return _0x4bf311;},_0xc38ddc=(_0x502243,_0x550f20)=>(_0x11516c,_0x570143)=>_0x550f20(_0x11516c,_0x570143,_0x502243),_0x5ad294=(_0xef58b=>(_0xef58b[_0xef58b[_0x549351(0x1ed)]=0x0]=_0x549351(0x1ed),_0xef58b[_0xef58b[_0x549351(0x228)]=0x1]=_0x549351(0x228),_0xef58b[_0xef58b[_0x549351(0x367)]=0x2]=_0x549351(0x367),_0xef58b[_0xef58b['ONLINE']=0x3]=_0x549351(0x1da),_0xef58b))(_0x5ad294||{});const _0x273adf={[_0x39adf9[_0x549351(0x49f)]]:_0x549351(0x44c),[_0x39adf9[_0x549351(0x43c)]]:_0x549351(0x471),[_0x39adf9['JOIN_ROOM_NOT_EXISTS']]:_0x549351(0x2c0),[_0x39adf9[_0x549351(0x2ae)]]:_0x549351(0x2a2),[_0x39adf9[_0x549351(0x3bf)]]:_0x549351(0x45a)};_0x1ac966[_0x549351(0x14c)]=class extends _0x1580f8[_0x549351(0x2ef)]{constructor(_0x531339,_0x1e9869,_0x5a7532,_0x1208ed,_0x51e533,_0x42d504,_0x2d6b56,_0x5b8c34,_0x460707){var _0x847d80=_0x549351;super(),_0x1ad8fe(this,'_sessionStatus$',new _0xdf3790[(_0x847d80(0x37c))](0x0)),_0x1ad8fe(this,_0x847d80(0x30e),this['_sessionStatus$'][_0x847d80(0x1f5)]()),_0x1ad8fe(this,_0x847d80(0x16c),new _0xdf3790[(_0x847d80(0x32d))]()),_0x1ad8fe(this,_0x847d80(0x32f),this[_0x847d80(0x16c)]['asObservable']()),_0x1ad8fe(this,_0x847d80(0x17a)),_0x1ad8fe(this,_0x847d80(0x37a)),_0x1ad8fe(this,_0x847d80(0x2ad)),_0x1ad8fe(this,_0x847d80(0x267),!0x1),_0x1ad8fe(this,_0x847d80(0x316),null),(this['_unitID']=_0x531339,this['_logService']=_0x5a7532,this[_0x847d80(0x475)]=_0x1208ed,this[_0x847d80(0x2eb)]=_0x51e533,this[_0x847d80(0x4b8)]=_0x42d504,this['_commentService']=_0x2d6b56,this['_collaborationUIEventService']=_0x5b8c34,this['_telemetryService']=_0x460707,this[_0x847d80(0x267)]=!!this['_telemetryService'],_0x1e9869['pipe'](_0xdf3790['takeUntil'](this[_0x847d80(0x2e3)]))['subscribe'](_0x574f17=>{var _0xd89b20=_0x847d80,_0x25bddd;typeof _0x574f17>'u'||(this[_0xd89b20(0x17a)]=_0x574f17,_0x574f17?(this['_joinRoom'](_0x574f17),this[_0xd89b20(0x37a)]=_0x574f17[_0xd89b20(0x473)]['subscribe'](_0x4d2c61=>{var _0x573a6c=_0xd89b20;_0x4d2c61['routeKey']===this[_0x573a6c(0x4a8)]&&this['_onCombEvent'](_0x4d2c61);})):(this[_0xd89b20(0x3de)](),this[_0xd89b20(0x400)][_0xd89b20(0x466)](0x2),(_0x25bddd=this[_0xd89b20(0x37a)])==null||_0x25bddd[_0xd89b20(0x437)](),this[_0xd89b20(0x37a)]=null));}));}get[_0x549351(0x2c8)](){var _0x4e7f29=_0x549351;return this[_0x4e7f29(0x400)][_0x4e7f29(0x3a8)]();}[_0x549351(0x3d8)](){var _0x538951=_0x549351,_0x5492d6,_0x1f26a5;return(_0x1f26a5=(_0x5492d6=this[_0x538951(0x17a)])==null?void 0x0:_0x5492d6['memberID'])!=null?_0x1f26a5:null;}['dispose'](){var _0x167857=_0x549351;super[_0x167857(0x3b5)](),this[_0x167857(0x2e3)]['next'](),this[_0x167857(0x2e3)][_0x167857(0x288)]();}[_0x549351(0x2fb)](){var _0x58b1ce=_0x549351,_0x62d026,_0x40cc71;this[_0x58b1ce(0x3de)](),(_0x62d026=this[_0x58b1ce(0x17a)])==null||_0x62d026[_0x58b1ce(0x4b9)]({'cmd':_0x360e3f['LEAVE'],'data':{'roomID':this[_0x58b1ce(0x4a8)]}}),(_0x40cc71=this[_0x58b1ce(0x17a)])==null||_0x40cc71['close'](),this[_0x58b1ce(0x16c)][_0x58b1ce(0x288)](),this[_0x58b1ce(0x400)][_0x58b1ce(0x288)](),this[_0x58b1ce(0x3b5)]();}[_0x549351(0x45d)](_0x12808e){var _0x29aa55=_0x549351;_0x12808e[_0x29aa55(0x327)]===_0x360e3f[_0x29aa55(0x2d1)]?this[_0x29aa55(0x29d)](_0x12808e):_0x12808e[_0x29aa55(0x327)]===_0x360e3f[_0x29aa55(0x413)]&&this[_0x29aa55(0x307)](_0x12808e);}['_joinRoom'](_0x9ca249){var _0x334903=_0x549351;this['_sessionStatus$']['next'](0x1),_0x9ca249['send']({'cmd':_0x360e3f['JOIN'],'routeKey':this[_0x334903(0x4a8)],'routeType':'','data':{'rooms':[{'roomID':this[_0x334903(0x4a8)]}]}});}['_onJoinRoomEvent'](_0x4c47b1){var _0x1bed43=_0x549351,_0x10cd10;if(_0x4c47b1['code']in _0x273adf){this[_0x1bed43(0x274)][_0x1bed43(0x390)]({'id':_0x2bf599['JOIN_ROOM_FAILED'],'data':_0x273adf[_0x4c47b1['code']]}),this[_0x1bed43(0x400)][_0x1bed43(0x466)](0x2);return;}this[_0x1bed43(0x400)][_0x1bed43(0x466)](0x3);const _0x2c1ebe=(_0x10cd10=_0x4c47b1[_0x1bed43(0x310)][_0x1bed43(0x397)][this[_0x1bed43(0x4a8)]])==null?void 0x0:_0x10cd10[_0x1bed43(0x419)];_0x2c1ebe&&_0x2c1ebe[_0x1bed43(0x2b0)](_0x5134b1=>this[_0x1bed43(0x4b8)][_0x1bed43(0x232)](this[_0x1bed43(0x4a8)],_0x5134b1));}[_0x549351(0x307)](_0x5d2b13){var _0x2b731c=_0x549351;try{const _0x128a85=_0x5d2b13['data'];switch(_0x128a85['eventID']){case _0x1273bf[_0x2b731c(0x271)][_0x2b731c(0x195)]:this[_0x2b731c(0x290)](_0x128a85),this[_0x2b731c(0x16c)][_0x2b731c(0x466)](_0x128a85);break;case _0x1273bf[_0x2b731c(0x271)][_0x2b731c(0x1ba)]:this[_0x2b731c(0x29b)](_0x128a85),this[_0x2b731c(0x16c)]['next'](_0x128a85);break;case _0x1273bf[_0x2b731c(0x271)][_0x2b731c(0x1d9)]:case _0x1273bf[_0x2b731c(0x271)][_0x2b731c(0x19e)]:this[_0x2b731c(0x3f1)](),this[_0x2b731c(0x49e)](),this[_0x2b731c(0x16c)][_0x2b731c(0x466)](_0x128a85);break;case _0x1273bf[_0x2b731c(0x271)][_0x2b731c(0x3c6)]:this[_0x2b731c(0x211)]['error'](_0x2b731c(0x4c3)+JSON['stringify'](_0x128a85)),this[_0x2b731c(0x16c)][_0x2b731c(0x466)](_0x128a85);break;case _0x1273bf['CollaborationEvent'][_0x2b731c(0x276)]:this[_0x2b731c(0x300)]['onCommentUpdate'](_0x128a85[_0x2b731c(0x310)]),this[_0x2b731c(0x16c)][_0x2b731c(0x466)](_0x128a85);break;default:this[_0x2b731c(0x16c)][_0x2b731c(0x466)](_0x128a85);}}catch(_0xb22790){this[_0x2b731c(0x211)][_0x2b731c(0x4aa)](_0xb22790,_0x5d2b13);}}[_0x549351(0x290)](_0x3a203e){var _0x44121d=_0x549351;this[_0x44121d(0x4b8)][_0x44121d(0x232)](this['_unitID'],_0x3a203e[_0x44121d(0x310)]);}[_0x549351(0x29b)](_0x450be8){var _0x429f3b=_0x549351;this['_memberService'][_0x429f3b(0x333)](this[_0x429f3b(0x4a8)],_0x450be8['data'][_0x429f3b(0x2b2)]);}async[_0x549351(0x4b9)](_0x2705fd,_0x2f2dfd){var _0x5f343e=_0x549351;if(this[_0x5f343e(0x2c8)]!==0x3||!this[_0x5f343e(0x17a)])throw new Error(_0x5f343e(0x476));try{_0x2705fd[_0x5f343e(0x2e5)]===_0x1273bf[_0x5f343e(0x271)][_0x5f343e(0x454)]&&(this[_0x5f343e(0x445)](),this[_0x5f343e(0x314)](_0x2705fd)),this[_0x5f343e(0x17a)][_0x5f343e(0x4b9)]({'cmd':_0x360e3f[_0x5f343e(0x480)],'routeKey':_0x2f2dfd,'routeType':'','data':_0x2705fd});}catch(_0x3bc20d){this[_0x5f343e(0x211)][_0x5f343e(0x4aa)](_0x3bc20d);}}[_0x549351(0x445)](){var _0x476a45=_0x549351,_0x36ef4a;this[_0x476a45(0x2ad)]=setTimeout(()=>{var _0x450ef9=_0x476a45;this[_0x450ef9(0x2ad)]=null,this[_0x450ef9(0x274)][_0x450ef9(0x390)]({'id':_0x2bf599[_0x450ef9(0x427)]});},(_0x36ef4a=this[_0x476a45(0x475)][_0x476a45(0x1ca)](_0x5901c0))!=null?_0x36ef4a:0x4e20);}[_0x549351(0x49e)](){var _0x3f06ea=_0x549351;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x3f06ea(0x2ad)]),this[_0x3f06ea(0x2ad)]=null);}[_0x549351(0x314)](_0x2150f1){var _0x1b586d=_0x549351;if(!this['_shouldReportTelemetry'])return;const {data:_0x201fa4}=_0x2150f1,{unitID:_0x3a7ad8,changeset:_0x559dd0}=_0x201fa4,{mutations:_0x4d6d18,type:_0x2d027c}=_0x559dd0;this[_0x1b586d(0x316)]={'unitId':_0x3a7ad8,'type':_0x2d027c,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x586440(_0x4d6d18)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x4bceef=_0x549351;if(this[_0x4bceef(0x267)]){if(!this[_0x4bceef(0x316)]){this[_0x4bceef(0x211)][_0x4bceef(0x4aa)](_0x4bceef(0x1c4),_0x4bceef(0x346));return;}this[_0x4bceef(0x316)][_0x4bceef(0x415)]=performance[_0x4bceef(0x30d)](),this[_0x4bceef(0x316)][_0x4bceef(0x2da)]=this[_0x4bceef(0x316)][_0x4bceef(0x415)]-this['_telemetryInfo'][_0x4bceef(0x382)],this[_0x4bceef(0x26d)][_0x4bceef(0x389)](_0x171cff,this[_0x4bceef(0x316)]),this[_0x4bceef(0x316)]=null;}}[_0x549351(0x3de)](){var _0x2440ad=_0x549351;this[_0x2440ad(0x316)]=null;}},_0x1ac966['CollaborationSession']=_0x125fa0([_0xc38ddc(0x2,_0x1580f8[_0x549351(0x3aa)]),_0xc38ddc(0x3,_0x1580f8[_0x549351(0x424)]),_0xc38ddc(0x4,_0x1580f8['Inject'](_0x1580f8[_0x549351(0x3eb)])),_0xc38ddc(0x5,_0x1580f8[_0x549351(0x2d9)](_0x1ac966[_0x549351(0x185)])),_0xc38ddc(0x6,_0x1580f8[_0x549351(0x2d9)](_0x5e520d)),_0xc38ddc(0x7,_0x1580f8[_0x549351(0x2d9)](_0x1667ed)),_0xc38ddc(0x8,_0x1580f8[_0x549351(0x24c)](_0x26f35f['ITelemetryService']))],_0x1ac966['CollaborationSession']);var _0x22c545=Object[_0x549351(0x3ff)],_0x4a3bbd=(_0x4dffdc,_0x7f7092,_0x5cc84b,_0x5eb6d3)=>{var _0x16a93c=_0x549351;for(var _0x318d84=_0x5eb6d3>0x1?void 0x0:_0x5eb6d3?_0x22c545(_0x7f7092,_0x5cc84b):_0x7f7092,_0x15f27d=_0x4dffdc[_0x16a93c(0x3ea)]-0x1,_0x511155;_0x15f27d>=0x0;_0x15f27d--)(_0x511155=_0x4dffdc[_0x15f27d])&&(_0x318d84=_0x511155(_0x318d84)||_0x318d84);return _0x318d84;},_0xf31199=(_0x1e7a57,_0x49cdad)=>(_0x46cfb0,_0x4312dc)=>_0x49cdad(_0x46cfb0,_0x4312dc,_0x1e7a57);_0x1ac966[_0x549351(0x1d8)]=class extends _0x1580f8[_0x549351(0x208)]{constructor(_0x1da520,_0x59bd2c,_0x2d7278,_0x414779,_0x2ab199,_0x5912f0){var _0x34f082=_0x549351;super(),_0x1ad8fe(this,_0x34f082(0x472),new _0xdf3790[(_0x34f082(0x37c))](void 0x0)),_0x1ad8fe(this,'socket$',this['_socket$']['asObservable']()),_0x1ad8fe(this,_0x34f082(0x303),null),_0x1ad8fe(this,_0x34f082(0x1ae),new Map()),_0x1ad8fe(this,_0x34f082(0x383),new _0xdf3790[(_0x34f082(0x37c))](_0x5ad294[_0x34f082(0x1ed)])),_0x1ad8fe(this,'status$',this[_0x34f082(0x383)][_0x34f082(0x1f5)]()),_0x1ad8fe(this,'_socketReady',!0x1),_0x1ad8fe(this,'_retryConnectingTimer'),_0x1ad8fe(this,_0x34f082(0x3a9),0x0),_0x1ad8fe(this,_0x34f082(0x36b)),_0x1ad8fe(this,_0x34f082(0x345)),(this[_0x34f082(0x2c4)]=_0x1da520,this[_0x34f082(0x211)]=_0x59bd2c,this['_configService']=_0x2d7278,this[_0x34f082(0x29c)]=_0x414779,this[_0x34f082(0x274)]=_0x2ab199,this[_0x34f082(0x3d7)]=_0x5912f0,this[_0x34f082(0x2d0)]());}get[_0x549351(0x17a)](){var _0x6b6a0c=_0x549351;return this[_0x6b6a0c(0x472)]['getValue']();}[_0x549351(0x2d0)](){var _0x26bace=_0x549351;this[_0x26bace(0x3d7)]&&this['disposeWithMe'](this['_networkConditionService'][_0x26bace(0x1a9)]['subscribe'](_0x3977e5=>{var _0x4e9310=_0x26bace;_0x3977e5&&!this[_0x4e9310(0x17a)]&&this[_0x4e9310(0x265)](),_0x3977e5||this[_0x4e9310(0x19c)]();}));}[_0x549351(0x3b5)](){var _0x4ff4fb=_0x549351;super['dispose'](),this[_0x4ff4fb(0x151)](),this['_clearTimeoutTimer'](),this[_0x4ff4fb(0x2a3)](),this['_sessions']['forEach'](_0x3a44e1=>_0x3a44e1[_0x4ff4fb(0x3b5)]()),this[_0x4ff4fb(0x1ae)][_0x4ff4fb(0x237)](),this[_0x4ff4fb(0x383)][_0x4ff4fb(0x288)]();}async[_0x549351(0x341)](_0xb35716){var _0x2c97f0=_0x549351;if(this[_0x2c97f0(0x1ae)]['has'](_0xb35716))return this['_sessions'][_0x2c97f0(0x37d)](_0xb35716);this[_0x2c97f0(0x16e)]();const _0x4bb8b2=this['_injector'][_0x2c97f0(0x27c)](_0x1ac966[_0x2c97f0(0x14c)],_0xb35716,this[_0x2c97f0(0x472)][_0x2c97f0(0x1f5)]());return this[_0x2c97f0(0x1ae)]['set'](_0xb35716,_0x4bb8b2),_0x4bb8b2;}[_0x549351(0x402)](_0x3fe180){var _0x339dc2=_0x549351,_0x3a700c;const _0x7cef27=this[_0x339dc2(0x1ae)][_0x339dc2(0x37d)](_0x3fe180);_0x7cef27&&(this[_0x339dc2(0x1ae)]['delete'](_0x3fe180),_0x7cef27['close']()),this[_0x339dc2(0x1ae)]['size']||(_0x3a700c=this[_0x339dc2(0x17a)])==null||_0x3a700c[_0x339dc2(0x2fb)]();}['reconnect'](){var _0x559a03=_0x549351;this['_retryCount']=0x0,this[_0x559a03(0x151)](),this[_0x559a03(0x43f)]();}[_0x549351(0x151)](){var _0x2df03f=_0x549351;this[_0x2df03f(0x30f)]!=null&&(clearTimeout(this[_0x2df03f(0x30f)]),this[_0x2df03f(0x30f)]=null);}async[_0x549351(0x2f5)](){var _0x53d2c4=_0x549351,_0x4c0104,_0x38cb96;const _0x421338=this['_configService'][_0x53d2c4(0x1ca)](_0x50a17e),_0x353fb4=this[_0x53d2c4(0x475)][_0x53d2c4(0x1ca)](_0x1db2ed),_0x411d45=(_0x38cb96=(_0x4c0104=_0x353fb4==null?void 0x0:_0x353fb4[_0x53d2c4(0x430)])!=null?_0x4c0104:_0x421338)!=null?_0x38cb96:_0x2225bd,_0x26a59f=await this['_socketService'][_0x53d2c4(0x3ba)](_0x411d45);return this['_candidateSocket']=_0x26a59f,_0x26a59f;}async[_0x549351(0x16e)](){var _0x8cc443=_0x549351,_0x2e8eb0,_0x5d8d5c;try{const _0x353f0f=(_0x5d8d5c=(_0x2e8eb0=this[_0x8cc443(0x17a)])!=null?_0x2e8eb0:this[_0x8cc443(0x303)])!=null?_0x5d8d5c:await this['_createSocket']();if(_0x353f0f){const _0x219f5e=_0x353f0f[_0x8cc443(0x4b9)];_0x353f0f['send']=_0x393d8c=>(this[_0x8cc443(0x31b)](),_0x219f5e[_0x8cc443(0x1e1)](_0x353f0f,[_0x393d8c])),_0x353f0f[_0x8cc443(0x473)]['subscribe'](_0x1c9d0a=>this[_0x8cc443(0x20b)](_0x353f0f,_0x1c9d0a)),_0x353f0f[_0x8cc443(0x2a1)][_0x8cc443(0x48a)](_0x2f0ffe[_0x8cc443(0x330)](0x1))['subscribe'](_0x300fd6=>this[_0x8cc443(0x211)][_0x8cc443(0x4aa)](_0x8cc443(0x1dc),_0x300fd6)),_0x353f0f[_0x8cc443(0x3e8)]['pipe'](_0x2f0ffe[_0x8cc443(0x330)](0x1))[_0x8cc443(0x4ab)](()=>{var _0x5f2037=_0x8cc443;this[_0x5f2037(0x209)](_0x353f0f);}),_0x353f0f[_0x8cc443(0x458)][_0x8cc443(0x48a)](_0x2f0ffe[_0x8cc443(0x330)](0x1))['subscribe'](_0x8102a4=>{var _0x4c2185=_0x8cc443;this[_0x4c2185(0x211)]['debug']('[CollaborationSessionService]',_0x4c2185(0x43e),_0x8102a4),this['_onConnectionFailed']();});}}catch(_0x5b2986){this[_0x8cc443(0x211)][_0x8cc443(0x4aa)](_0x5b2986),this[_0x8cc443(0x410)]();}}['_onConnectionOpen'](_0x200541){var _0x3c811f=_0x549351;this[_0x3c811f(0x211)][_0x3c811f(0x164)](_0x3c811f(0x20e),'socket\x20open.'),_0x200541['send']({'cmd':_0x360e3f['HELLO']}),this[_0x3c811f(0x31b)]();}[_0x549351(0x19c)](){var _0x4cd48d=_0x549351;this[_0x4cd48d(0x1f0)]=!0x1,this[_0x4cd48d(0x303)]=null,this[_0x4cd48d(0x383)]['next'](_0x5ad294[_0x4cd48d(0x367)]),this['_socket$'][_0x4cd48d(0x466)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x549351(0x410)](){var _0x28a798=_0x549351,_0x4ece03;this[_0x28a798(0x19c)](),this[_0x28a798(0x3a9)]<((_0x4ece03=this['_configService'][_0x28a798(0x1ca)](_0x86df65))!=null?_0x4ece03:0x3)?(this[_0x28a798(0x274)][_0x28a798(0x390)]({'id':_0x2bf599['SOCKET_FAILED_RETRY']}),this[_0x28a798(0x43f)]()):this['_collaborationUIEventService'][_0x28a798(0x390)]({'id':_0x2bf599['SOCKET_FAILED']});}[_0x549351(0x43f)](){var _0x5a0cd8=_0x549351,_0x3c04b4;const _0x5e7f26=this[_0x5a0cd8(0x3a9)],_0x56c2a8=this[_0x5a0cd8(0x475)][_0x5a0cd8(0x1ca)](_0x1db2ed),_0x3a67d0=_0x5e7f26===0x0?0x0:((_0x3c04b4=_0x56c2a8==null?void 0x0:_0x56c2a8[_0x5a0cd8(0x284)])!=null?_0x3c04b4:0x4e20)*0x2**_0x5e7f26;this[_0x5a0cd8(0x30f)]=setTimeout(()=>{var _0x520cdd=_0x5a0cd8;clearTimeout(this[_0x520cdd(0x30f)]),this[_0x520cdd(0x30f)]=null,this[_0x520cdd(0x16e)]();},_0x3a67d0),this['_retryCount']+=0x1;}[_0x549351(0x20b)](_0x1db073,_0xff9ff5){var _0x35b53f=_0x549351;const {cmd:_0x2c76fa}=_0xff9ff5;_0x2c76fa===_0x360e3f['HELLO']&&!this[_0x35b53f(0x1f0)]&&(_0x1db073[_0x35b53f(0x2b2)]=_0xff9ff5[_0x35b53f(0x310)][_0x35b53f(0x2b2)],this[_0x35b53f(0x472)]['next'](_0x1db073),this['_status$'][_0x35b53f(0x466)](_0x5ad294[_0x35b53f(0x1da)]),this[_0x35b53f(0x1f0)]=!0x0,this[_0x35b53f(0x303)]=null),_0x2c76fa===_0x360e3f[_0x35b53f(0x220)]&&this['_clearTimeoutTimer'](),this[_0x35b53f(0x31b)]();}['_rescheduleHeartbeat'](){var _0x1d6bd1=_0x549351,_0x3db812;this[_0x1d6bd1(0x2a3)](),this[_0x1d6bd1(0x36b)]=setTimeout(()=>this[_0x1d6bd1(0x4c4)](),(_0x3db812=this['_configService'][_0x1d6bd1(0x1ca)](_0x134ec5))!=null?_0x3db812:0x7530);}[_0x549351(0x4c4)](){var _0x42ab9b=_0x549351;this['_socket'][_0x42ab9b(0x4b9)]({'cmd':_0x360e3f[_0x42ab9b(0x220)]}),this[_0x42ab9b(0x193)]();}[_0x549351(0x193)](){var _0x37d501=_0x549351,_0x2961f9;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x2961f9=this[_0x37d501(0x475)][_0x37d501(0x1ca)](_0x5901c0))!=null?_0x2961f9:0x4e20);}['_clearHeartbeatTimer'](){var _0x27d13b=_0x549351;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x27d13b(0x36b)]=null);}['_clearTimeoutTimer'](){var _0x5bfa9f=_0x549351;this[_0x5bfa9f(0x345)]!=null&&(clearTimeout(this[_0x5bfa9f(0x345)]),this[_0x5bfa9f(0x345)]=null);}},_0x1ac966[_0x549351(0x1d8)]=_0x4a3bbd([_0xf31199(0x0,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0xf31199(0x1,_0x1580f8[_0x549351(0x3aa)]),_0xf31199(0x2,_0x1580f8['IConfigService']),_0xf31199(0x3,_0x205f9c),_0xf31199(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1667ed)),_0xf31199(0x5,_0x1580f8['Optional'](_0x1587bd))],_0x1ac966[_0x549351(0x1d8)]);const _0x24d385=[];for(let _0x394cab=0x0;_0x394cab<0x100;++_0x394cab)_0x24d385[_0x549351(0x2c6)]((_0x394cab+0x100)[_0x549351(0x27a)](0x10)[_0x549351(0x1af)](0x1));function _0x281440(_0x5f1d5b,_0x8ba694=0x0){var _0x3c41a9=_0x549351;return(_0x24d385[_0x5f1d5b[_0x8ba694+0x0]]+_0x24d385[_0x5f1d5b[_0x8ba694+0x1]]+_0x24d385[_0x5f1d5b[_0x8ba694+0x2]]+_0x24d385[_0x5f1d5b[_0x8ba694+0x3]]+'-'+_0x24d385[_0x5f1d5b[_0x8ba694+0x4]]+_0x24d385[_0x5f1d5b[_0x8ba694+0x5]]+'-'+_0x24d385[_0x5f1d5b[_0x8ba694+0x6]]+_0x24d385[_0x5f1d5b[_0x8ba694+0x7]]+'-'+_0x24d385[_0x5f1d5b[_0x8ba694+0x8]]+_0x24d385[_0x5f1d5b[_0x8ba694+0x9]]+'-'+_0x24d385[_0x5f1d5b[_0x8ba694+0xa]]+_0x24d385[_0x5f1d5b[_0x8ba694+0xb]]+_0x24d385[_0x5f1d5b[_0x8ba694+0xc]]+_0x24d385[_0x5f1d5b[_0x8ba694+0xd]]+_0x24d385[_0x5f1d5b[_0x8ba694+0xe]]+_0x24d385[_0x5f1d5b[_0x8ba694+0xf]])[_0x3c41a9(0x484)]();}let _0x24d2c3;const _0x2765cd=new Uint8Array(0x10);function _0x2e2f5a(){var _0x48ea06=_0x549351;if(!_0x24d2c3){if(typeof crypto>'u'||!crypto[_0x48ea06(0x33a)])throw new Error(_0x48ea06(0x26a));_0x24d2c3=crypto[_0x48ea06(0x33a)][_0x48ea06(0x48b)](crypto);}return _0x24d2c3(_0x2765cd);}const _0x561ca4={'randomUUID':typeof crypto<'u'&&crypto[_0x549351(0x4a6)]&&crypto[_0x549351(0x4a6)]['bind'](crypto)};function _0x48ac0e(_0x7f95e1,_0x2072a6,_0x52eed1){var _0xb69228=_0x549351,_0x40c682,_0x2f2caf,_0xbd4654;if(_0x561ca4[_0xb69228(0x4a6)]&&!_0x7f95e1)return _0x561ca4[_0xb69228(0x4a6)]();_0x7f95e1=_0x7f95e1||{};const _0x4f7c80=(_0xbd4654=(_0x2f2caf=_0x7f95e1[_0xb69228(0x368)])!=null?_0x2f2caf:(_0x40c682=_0x7f95e1[_0xb69228(0x2cc)])==null?void 0x0:_0x40c682[_0xb69228(0x49b)](_0x7f95e1))!=null?_0xbd4654:_0x2e2f5a();if(_0x4f7c80[_0xb69228(0x3ea)]<0x10)throw new Error(_0xb69228(0x44e));return _0x4f7c80[0x6]=_0x4f7c80[0x6]&0xf|0x40,_0x4f7c80[0x8]=_0x4f7c80[0x8]&0x3f|0x80,_0x281440(_0x4f7c80);}const _0x2e9c48=_0x1580f8[_0x549351(0x1ad)](_0x549351(0x332));function _0x35b57d(_0x2201e0){var _0x2cf36d=_0x549351;return _0x2cf36d(0x245)+_0x2201e0;}var _0x718f84=Object[_0x549351(0x3ff)],_0x3e9311=(_0x318535,_0x5b2bd7,_0x216eda,_0x18f8c2)=>{var _0x416f62=_0x549351;for(var _0x5e74aa=_0x18f8c2>0x1?void 0x0:_0x18f8c2?_0x718f84(_0x5b2bd7,_0x216eda):_0x5b2bd7,_0x1585c9=_0x318535[_0x416f62(0x3ea)]-0x1,_0x228205;_0x1585c9>=0x0;_0x1585c9--)(_0x228205=_0x318535[_0x1585c9])&&(_0x5e74aa=_0x228205(_0x5e74aa)||_0x5e74aa);return _0x5e74aa;},_0x110121=(_0x52480d,_0x34b50c)=>(_0x52e44b,_0x925378)=>_0x34b50c(_0x52e44b,_0x925378,_0x52480d);function _0x1f487f(_0x4b506b){var _0x5a6b56=_0x549351;const {unitID:_0x442647,mutations:_0x100417}=_0x4b506b;return{'unitId':_0x442647,'subUnitId':_0x100417[0x0][_0x5a6b56(0x21f)][_0x5a6b56(0x22b)]};}_0x1ac966[_0x549351(0x249)]=class{constructor(_0x120094,_0x375e1c,_0x1c2c54){var _0x574655=_0x549351;this[_0x574655(0x2c4)]=_0x120094,this[_0x574655(0x34b)]=_0x375e1c,this[_0x574655(0x1bc)]=_0x1c2c54;}[_0x549351(0x426)](_0x42cf57){var _0x1b2c22=_0x549351,_0x58d0d0,_0x9de96e,_0x20fdee,_0x1f6c09;const _0x3bf8cf=this[_0x1b2c22(0x2c4)]['get'](_0x3a5b47[_0x1b2c22(0x4ad)]),{unitId:_0x15e3d0,subUnitId:_0x50901c}=_0x1f487f(_0x42cf57),_0x2e0ff2=_0x3bf8cf==null?void 0x0:_0x3bf8cf[_0x1b2c22(0x497)](_0x15e3d0)[_0x1b2c22(0x14d)](),_0x13cf48=(_0x9de96e=(_0x58d0d0=this[_0x1b2c22(0x1bc)][_0x1b2c22(0x386)](_0x15e3d0))==null?void 0x0:_0x58d0d0[_0x1b2c22(0x3c3)]())==null?void 0x0:_0x9de96e[_0x1b2c22(0x1fb)]();if(_0x2e0ff2['length']===0x0||!_0x15e3d0||!_0x50901c)return;const _0x164865=[{'id':_0x3a5b47[_0x1b2c22(0x152)]['id'],'params':{'unitId':_0x15e3d0,'subUnitId':_0x13cf48,'selections':_0x1580f8[_0x1b2c22(0x3e2)][_0x1b2c22(0x312)](_0x2e0ff2)}}],_0x27f238=this[_0x1b2c22(0x34b)]['transformMutationsWithChangeset'](_0x42cf57,_0x164865);if(!_0x1273bf[_0x1b2c22(0x399)](_0x27f238))throw _0x27f238['error'];const _0x56ecb5=(_0x1f6c09=(_0x20fdee=_0x27f238[_0x1b2c22(0x3ca)][0x0])==null?void 0x0:_0x20fdee['params'])==null?void 0x0:_0x1f6c09['selections'];if(Array[_0x1b2c22(0x381)](_0x56ecb5)&&_0x56ecb5[_0x1b2c22(0x3ea)]){if(_0x56ecb5[_0x1b2c22(0x3ea)]===_0x164865[0x0][_0x1b2c22(0x21f)][_0x1b2c22(0x34d)][_0x1b2c22(0x3ea)]&&_0x56ecb5[_0x1b2c22(0x17b)]((_0x3ba59a,_0x202f7c)=>_0x1580f8['Rectangle']['equals'](_0x3ba59a[_0x1b2c22(0x3d0)],_0x164865[0x0]['params'][_0x1b2c22(0x34d)][_0x202f7c][_0x1b2c22(0x3d0)])))return;this['_injector'][_0x1b2c22(0x37d)](_0x1580f8[_0x1b2c22(0x306)])['executeCommand'](_0x3a5b47[_0x1b2c22(0x152)]['id'],{'unitId':_0x15e3d0,'subUnitId':_0x13cf48,'selections':_0x56ecb5});}}},_0x1ac966[_0x549351(0x249)]=_0x3e9311([_0x110121(0x0,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x110121(0x1,_0x1273bf[_0x549351(0x2c2)]),_0x110121(0x2,_0x1580f8['IUniverInstanceService'])],_0x1ac966[_0x549351(0x249)]);const _0x431ecc=_0x1580f8[_0x549351(0x1ad)](_0x549351(0x231));var _0x2322d5=(_0x155aca=>(_0x155aca[_0x155aca[_0x549351(0x155)]=0x0]=_0x549351(0x155),_0x155aca[_0x155aca[_0x549351(0x355)]=0x1]=_0x549351(0x355),_0x155aca))(_0x2322d5||{});const _0x1e8fd2=new Set([_0x3a5b47[_0x549351(0x3b3)]['id']]);function _0x21d446(_0x222099,_0x8e6830,_0x5c7f06,_0x4df499,_0x5330b2){var _0x819514=_0x549351,_0x170e19,_0x5e7550,_0x1f02da,_0x217327;const _0xde6321=[];for(const _0x5bcf57 of _0x222099)if(_0x1e8fd2[_0x819514(0x1e2)](_0x5bcf57['id'])){if(_0xde6321[_0x819514(0x3ea)]>0x0)break;_0xde6321[_0x819514(0x2c6)](_0x5bcf57);break;}else _0xde6321[_0x819514(0x2c6)](_0x5bcf57);const _0x1dbbae=(_0x5e7550=(_0x170e19=_0x5330b2[_0x819514(0x2cd)]())==null?void 0x0:_0x170e19[_0x819514(0x247)])!=null?_0x5e7550:_0x819514(0x280),_0xd0ab2e=(_0x217327=(_0x1f02da=_0x5330b2[_0x819514(0x2cd)]())==null?void 0x0:_0x1f02da[_0x819514(0x2b2)])!=null?_0x217327:_0x819514(0x280);return{'changeset':{'unitID':_0x8e6830,'type':_0x1273bf[_0x819514(0x1ef)](_0x5c7f06[_0x819514(0x14a)](_0x8e6830)),'baseRev':_0x4df499['getCurrentRevOfUnit'](_0x8e6830),'revision':0x0,'userID':_0x1dbbae,'memberID':_0xd0ab2e,'mutations':_0xde6321},'pendingMutations':_0x222099[_0x819514(0x1af)](_0xde6321['length'])};}function _0x5e78f1(_0x426f54,_0x2fdc68,_0x4549da,_0x3d19f2,_0x3d6703){var _0x5e763e=_0x549351,_0x45dd9f,_0x19a6ff,_0x422831,_0x13ea6e;const _0x23ff19=[_0x426f54['reduce']((_0x28ba12,_0x14c305)=>{var _0x770863=_0x8cbe,_0x6b60b9;const {id:_0x348dba}=_0x28ba12,{id:_0x460b2f,type:_0x4aa791}=_0x14c305,_0x181cb4=(_0x6b60b9=_0x28ba12['params'])!=null?_0x6b60b9:{'actions':null},_0x18ed34=_0x14c305[_0x770863(0x21f)];if(_0x348dba&&_0x348dba!==_0x460b2f)throw new Error(_0x770863(0x263)+_0x348dba+_0x770863(0x2b6)+_0x460b2f+'.');return{..._0x28ba12,'id':_0x460b2f,'type':_0x4aa791,'params':{'unitId':_0x18ed34['unitId'],'textRanges':_0x18ed34[_0x770863(0x23a)],'actions':_0x1580f8['JSONX'][_0x770863(0x20d)](_0x181cb4[_0x770863(0x2ec)],_0x18ed34[_0x770863(0x2ec)])}};},{})],_0x2413e5=(_0x19a6ff=(_0x45dd9f=_0x3d6703[_0x5e763e(0x2cd)]())==null?void 0x0:_0x45dd9f[_0x5e763e(0x247)])!=null?_0x19a6ff:_0x5e763e(0x280),_0x548002=(_0x13ea6e=(_0x422831=_0x3d6703['getCurrentUser']())==null?void 0x0:_0x422831[_0x5e763e(0x2b2)])!=null?_0x13ea6e:'unknown';return{'changeset':{'unitID':_0x2fdc68,'type':_0x1273bf[_0x5e763e(0x1ef)](_0x4549da[_0x5e763e(0x14a)](_0x2fdc68)),'baseRev':_0x3d19f2[_0x5e763e(0x147)](_0x2fdc68),'revision':0x0,'userID':_0x2413e5,'memberID':_0x548002,'mutations':_0x23ff19},'pendingMutations':[]};}function _0x3cb3fe(_0x17342d,_0xb9ed90){var _0x26a92b=_0x549351;const _0x261c9a=new _0xdf3790[(_0x26a92b(0x305))](0x1);return setTimeout(()=>_0x261c9a[_0x26a92b(0x466)](_0xb9ed90),_0x17342d),_0x261c9a[_0x26a92b(0x1f5)]()[_0x26a92b(0x48a)](_0xdf3790['take'](0x1));}const _0x7a4268={'id':_0x3a5b47[_0x549351(0x3f3)]['id'],'type':_0x1580f8[_0x549351(0x1b6)][_0x549351(0x292)],'params':{}};var _0x4551ad=Object[_0x549351(0x3ff)],_0xb1c5d5=(_0x3c22d0,_0x2878c7,_0x55fe02,_0x5f0f43)=>{var _0x481a6b=_0x549351;for(var _0xe38de5=_0x5f0f43>0x1?void 0x0:_0x5f0f43?_0x4551ad(_0x2878c7,_0x55fe02):_0x2878c7,_0x39a1cd=_0x3c22d0[_0x481a6b(0x3ea)]-0x1,_0x28d1f6;_0x39a1cd>=0x0;_0x39a1cd--)(_0x28d1f6=_0x3c22d0[_0x39a1cd])&&(_0xe38de5=_0x28d1f6(_0xe38de5)||_0xe38de5);return _0xe38de5;},_0x5c2fc5=(_0xb4a47,_0x2a5fe6)=>(_0x482214,_0x5ffd87)=>_0x2a5fe6(_0x482214,_0x5ffd87,_0xb4a47),_0x3ebfe3=(_0x26695e=>(_0x26695e[_0x549351(0x157)]='not_collab',_0x26695e[_0x549351(0x43b)]=_0x549351(0x1f2),_0x26695e[_0x549351(0x1a7)]='pending',_0x26695e[_0x549351(0x1aa)]=_0x549351(0x42a),_0x26695e[_0x549351(0x414)]='awaiting_with_pending',_0x26695e[_0x549351(0x2ca)]='fetch_missing',_0x26695e[_0x549351(0x46e)]=_0x549351(0x363),_0x26695e[_0x549351(0x367)]='offline',_0x26695e))(_0x3ebfe3||{});const _0x160276=0xea60;class _0x28f8a6{constructor(_0x42e963,_0x36d1c2,_0x235c14,_0x40c88a,_0x29c456,_0x260720,_0x17e75e,_0x2e6a1a,_0x49f0a5){var _0xd858af=_0x549351;_0x1ad8fe(this,'_awaitingChangeset',null),_0x1ad8fe(this,'_pendingMutations',[]),(this[_0xd858af(0x181)]=_0x42e963,this[_0xd858af(0x1ce)]=_0x36d1c2,this['_handler']=_0x29c456,this[_0xd858af(0x250)]=_0x260720,this[_0xd858af(0x2d7)]=_0x17e75e,this[_0xd858af(0x20f)]=_0x2e6a1a,this[_0xd858af(0x21b)]=_0x49f0a5,this[_0xd858af(0x360)]=_0x235c14,this[_0xd858af(0x252)]=_0x40c88a);}['_checkMissing'](_0x48ec3f){var _0x4cc1ff=_0x549351;const _0x5bf7ac=this[_0x4cc1ff(0x20f)][_0x4cc1ff(0x147)](this[_0x4cc1ff(0x181)]);return _0x48ec3f['revision']>_0x5bf7ac+0x1?(this['_handler']['onMissingChangesets']({'from':_0x5bf7ac,'to':_0x48ec3f[_0x4cc1ff(0x489)]-0x1}),!0x0):!0x1;}[_0x549351(0x1b2)](_0x85d602){var _0x1aca60=_0x549351;this[_0x1aca60(0x2d7)]['transformUndoRedo'](this[_0x1aca60(0x181)],_0x85d602);}[_0x549351(0x2d3)](_0x43e86f){var _0x5699a8=_0x549351,_0x482154,_0x46087a;(_0x46087a=(_0x482154=this[_0x5699a8(0x244)])['onTransformSelections'])==null||_0x46087a['call'](_0x482154,_0x43e86f);}[_0x549351(0x3df)](_0xcbeb45){var _0x18d452=_0x549351,_0x2185bb,_0x55b889;return(_0x55b889=(_0x2185bb=this[_0x18d452(0x244)])[_0x18d452(0x234)])==null?void 0x0:_0x55b889[_0x18d452(0x49b)](_0x2185bb,_0xcbeb45);}['_transformStateCache'](_0x891a6d){var _0x447597=_0x549351,_0x37d9c8,_0x2d1771;return(_0x2d1771=(_0x37d9c8=this[_0x447597(0x244)])['onTransformState'])==null?void 0x0:_0x2d1771['call'](_0x37d9c8,_0x891a6d);}['_transformRemoteChangesetByIMECache'](_0x3d1856){var _0x23f816=_0x549351,_0x5acf87,_0x2f6efe,_0x436095;return(_0x436095=(_0x2f6efe=(_0x5acf87=this[_0x23f816(0x244)])[_0x23f816(0x41d)])==null?void 0x0:_0x2f6efe[_0x23f816(0x49b)](_0x5acf87,_0x3d1856))!=null?_0x436095:_0x3d1856;}[_0x549351(0x3bc)](_0x58ff82){var _0x3eacd5=_0x549351,_0x45a743,_0x202126,_0x3bceb5;return(_0x3bceb5=(_0x202126=(_0x45a743=this[_0x3eacd5(0x244)])[_0x3eacd5(0x47d)])==null?void 0x0:_0x202126[_0x3eacd5(0x49b)](_0x45a743,_0x58ff82))!=null?_0x3bceb5:_0x58ff82;}[_0x549351(0x16a)](_0x121d30){var _0x2adb25=_0x549351,_0x531dbc,_0x15026e;if(this[_0x2adb25(0x1ce)]===_0xe53b2e['UNIVER_DOC']){const {unitID:_0x437981,mutations:_0x2d0179,memberID:_0x33d80d}=_0x121d30,_0x4d33d2=_0x2d0179[0x0]['params'][_0x2adb25(0x23a)];Array[_0x2adb25(0x381)](_0x4d33d2)&&_0x4d33d2[_0x2adb25(0x3ea)]>0x0&&((_0x15026e=(_0x531dbc=this[_0x2adb25(0x244)])[_0x2adb25(0x38e)])==null||_0x15026e[_0x2adb25(0x49b)](_0x531dbc,{'unitID':_0x437981,'memberID':_0x33d80d,'textRanges':_0x4d33d2}));}}[_0x549351(0x236)](){var _0x4827e8=_0x549351,_0x46e79e;(_0x46e79e=this[_0x4827e8(0x21b)])==null||_0x46e79e[_0x4827e8(0x254)](this['unitID'],this[_0x4827e8(0x1ce)],this[_0x4827e8(0x360)],this[_0x4827e8(0x252)]);}[_0x549351(0x1ab)](){var _0x2f0851=_0x549351;return this[_0x2f0851(0x20f)]['getCurrentRevOfUnit'](this[_0x2f0851(0x181)]);}[_0x549351(0x183)](){var _0x8f7d08=_0x549351;this['_revisionService'][_0x8f7d08(0x401)](this[_0x8f7d08(0x181)]);}[_0x549351(0x2e9)](_0xe933f1){var _0x5957c2=_0x549351,_0x2afec4;let _0x562466=this[_0x5957c2(0x3c8)](_0xe933f1);_0x562466=this['_transformRemoteChangesetByStateCache'](_0x562466);const _0x2c31f9=_0x1580f8['sequenceExecute'](_0x562466[_0x5957c2(0x4b1)],this[_0x5957c2(0x250)],{'fromCollab':!0x0});if(!_0x2c31f9['result'])throw _0x2c31f9[_0x5957c2(0x4aa)]instanceof Error?_0x2c31f9['error']:new Error((_0x2afec4=_0x2c31f9[_0x5957c2(0x4aa)])!=null?_0x2afec4:'[CollaborationState]:\x20apply\x20error!');this[_0x5957c2(0x3df)](_0x562466),this[_0x5957c2(0x2dd)](_0x562466),this[_0x5957c2(0x1b2)](_0xe933f1),this[_0x5957c2(0x2d3)](_0x562466),this[_0x5957c2(0x16a)](_0x562466),this[_0x5957c2(0x183)]();}}_0x1ac966[_0x549351(0x162)]=class extends _0x28f8a6{constructor(_0x5d484d,_0x503bd3,_0x542741,_0x10f145,_0x147b06,_0x4249c3,_0x5798c,_0x23bebe,_0x1c39fc,_0x1eb32c){var _0x1dc64a=_0x549351;super(_0x5d484d,_0x503bd3,null,[],_0x542741,_0x5798c,_0x4249c3,_0x10f145,_0x1eb32c),_0x1ad8fe(this,_0x1dc64a(0x295),'synced'),(this[_0x1dc64a(0x2c4)]=_0x147b06,this[_0x1dc64a(0x211)]=_0x23bebe,this[_0x1dc64a(0x34b)]=_0x1c39fc,this[_0x1dc64a(0x3fe)]=_0x1eb32c);}[_0x549351(0x334)](_0x1eaf4a){var _0x5e18f9=_0x549351;const _0x110b43=this[_0x5e18f9(0x2c4)][_0x5e18f9(0x27c)](_0x1ac966[_0x5e18f9(0x227)],this[_0x5e18f9(0x181)],this['type'],[_0x1eaf4a],this[_0x5e18f9(0x244)]);return _0x110b43['_schedule'](),_0x110b43[_0x5e18f9(0x236)](),_0x110b43;}['onRemoteChangeset'](_0x426a8f){var _0x56e7b0=_0x549351;if(this['_checkMissing'](_0x426a8f))return this[_0x56e7b0(0x2c4)][_0x56e7b0(0x27c)](_0x1ac966['FetchingMissState'],this[_0x56e7b0(0x181)],this[_0x56e7b0(0x1ce)],null,[],null,[_0x426a8f],this[_0x56e7b0(0x244)]);try{const _0x3b9b19=this[_0x56e7b0(0x34b)][_0x56e7b0(0x462)](_0x426a8f,[_0x7a4268]);if(_0x1273bf[_0x56e7b0(0x399)](_0x3b9b19)){const {c1Prime:_0x2cd368}=_0x3b9b19;return this['_executeRemoteChangeset'](_0x2cd368),this;}throw _0x3b9b19[_0x56e7b0(0x4aa)];}catch(_0x553261){return this[_0x56e7b0(0x211)]['error'](_0x553261),this['_onConflict'](!0x1);}}[_0x549351(0x23d)](_0x26a65e){var _0x4da276=_0x549351;return this['_injector'][_0x4da276(0x27c)](_0x1ac966[_0x4da276(0x370)],this['unitID'],this['type'],null,[],this[_0x4da276(0x244)],_0x26a65e);}[_0x549351(0x311)](){var _0x3f827a=_0x549351;throw new Error(_0x3f827a(0x177));}[_0x549351(0x1a2)](){var _0x36226f=_0x549351;throw new Error(_0x36226f(0x320));}['onRemoteRetry'](){return this;}[_0x549351(0x1c1)](){var _0x5ef847=_0x549351;return this[_0x5ef847(0x2c4)][_0x5ef847(0x27c)](_0x1ac966['OfflineState'],this[_0x5ef847(0x181)],this[_0x5ef847(0x1ce)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x549351(0x18b)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x549351(0x481)](){var _0x267d09=_0x549351;const _0x29fc89=this['_revisionService'][_0x267d09(0x147)](this[_0x267d09(0x181)]);return this[_0x267d09(0x244)][_0x267d09(0x4be)]({'from':_0x29fc89,'to':0x0}),this[_0x267d09(0x2c4)][_0x267d09(0x27c)](_0x1ac966[_0x267d09(0x34e)],this[_0x267d09(0x181)],this[_0x267d09(0x1ce)],null,[],null,[],this[_0x267d09(0x244)]);}},_0x1ac966[_0x549351(0x162)]=_0xb1c5d5([_0x5c2fc5(0x3,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x5c2fc5(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1580f8['Injector'])),_0x5c2fc5(0x5,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0x6,_0x1580f8['ICommandService']),_0x5c2fc5(0x7,_0x1580f8[_0x549351(0x3aa)]),_0x5c2fc5(0x8,_0x1273bf[_0x549351(0x2c2)]),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966[_0x549351(0x162)]),_0x1ac966['PendingState']=class extends _0x28f8a6{constructor(_0x10a3f6,_0x506bad,_0x44acab,_0x283d7a,_0x53cc71,_0x1b9179,_0xfde977,_0x12c80e,_0x1817b8,_0x2789a0,_0x4f1d58,_0x239090,_0x5107f0,_0x24f121){var _0x2080d0=_0x549351;super(_0x10a3f6,_0x506bad,null,_0x44acab,_0x283d7a,_0x1817b8,_0x5107f0,_0x1b9179,_0x24f121),_0x1ad8fe(this,_0x2080d0(0x295),_0x2080d0(0x3a0)),_0x1ad8fe(this,_0x2080d0(0x1f7),null),_0x1ad8fe(this,_0x2080d0(0x3ec),null),(this[_0x2080d0(0x2c4)]=_0x53cc71,this[_0x2080d0(0x4b8)]=_0xfde977,this[_0x2080d0(0x211)]=_0x12c80e,this[_0x2080d0(0x475)]=_0x2789a0,this[_0x2080d0(0x34b)]=_0x4f1d58,this[_0x2080d0(0x326)]=_0x239090);}['appendMutation'](_0x19cfd4){var _0x226fc4=_0x549351;return this['_pendingMutations'][_0x226fc4(0x2c6)](_0x19cfd4),this[_0x226fc4(0x236)](),this;}[_0x549351(0x3f0)](_0x54ed2a){var _0xead724=_0x549351;if(this[_0xead724(0x219)](_0x54ed2a))return this['_clearScheduledTask'](),this[_0xead724(0x2c4)][_0xead724(0x27c)](_0x1ac966['FetchingMissState'],this[_0xead724(0x181)],this[_0xead724(0x1ce)],null,this['_pendingMutations'],null,[_0x54ed2a],this[_0xead724(0x244)]);try{const _0x354205=this['_transformService']['transformMutationsWithChangeset'](_0x54ed2a,this[_0xead724(0x252)]);if(_0x1273bf[_0xead724(0x399)](_0x354205)){const {c1Prime:_0x10357e,m2Prime:_0x5902f4}=_0x354205;this[_0xead724(0x2e9)](_0x10357e);const _0x27b451=this[_0xead724(0x2c4)][_0xead724(0x27c)](_0x1ac966[_0xead724(0x227)],this[_0xead724(0x181)],this[_0xead724(0x1ce)],_0x5902f4,this[_0xead724(0x244)]);this['_clearScheduledTask']();const _0x3e48bf=new Date()[_0xead724(0x207)](),_0x9dead2=this[_0xead724(0x1f7)]?Math['max'](this[_0xead724(0x1f7)]-_0x3e48bf,0x0):this[_0xead724(0x2f7)]();return _0x27b451[_0xead724(0x3ac)](_0x9dead2),_0x27b451;}throw _0x354205[_0xead724(0x4aa)];}catch(_0x13394d){return this[_0xead724(0x211)][_0xead724(0x4aa)](_0x13394d),this[_0xead724(0x23d)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x549351(0x1a2)](){var _0x41b20e=_0x549351;throw new Error(_0x41b20e(0x169));}[_0x549351(0x4b0)](){return this;}[_0x549351(0x1c1)](){var _0x204a04=_0x549351;return this['_clearScheduledTask'](),this[_0x204a04(0x2c4)][_0x204a04(0x27c)](_0x1ac966['OfflineState'],this[_0x204a04(0x181)],this['type'],null,this['_pendingMutations'],this[_0x204a04(0x244)]);}[_0x549351(0x3e4)](){return this;}['_schedule'](_0x13183c){var _0x332038=_0x549351;const _0x13b1e7=_0x13183c!=null?_0x13183c:this['_getSendChangesetTimeout']();this[_0x332038(0x1f7)]=new Date()[_0x332038(0x207)]()+_0x13b1e7,this[_0x332038(0x3ec)]=setTimeout(()=>{var _0x35b3fd=_0x332038;this[_0x35b3fd(0x32e)]();let _0x3e232e=null;switch(this[_0x35b3fd(0x1ce)]){case _0xe53b2e[_0x35b3fd(0x158)]:{_0x3e232e=_0x21d446(this[_0x35b3fd(0x252)],this['unitID'],this[_0x35b3fd(0x326)],this[_0x35b3fd(0x20f)],this[_0x35b3fd(0x4b8)]);break;}case _0xe53b2e[_0x35b3fd(0x448)]:{this[_0x35b3fd(0x252)][_0x35b3fd(0x17b)](_0xbda198=>_0xbda198['id']===_0x5650a7[_0x35b3fd(0x2a9)]['id'])?_0x3e232e=_0x5e78f1(this['_pendingMutations'],this[_0x35b3fd(0x181)],this[_0x35b3fd(0x326)],this[_0x35b3fd(0x20f)],this['_memberService']):_0x3e232e=_0x21d446(this[_0x35b3fd(0x252)],this[_0x35b3fd(0x181)],this[_0x35b3fd(0x326)],this['_revisionService'],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x35b3fd(0x376));}const {changeset:_0x2b2020,pendingMutations:_0x5a142c}=_0x3e232e;this[_0x35b3fd(0x244)]['onSendChangeset'](_0x2b2020);const _0xb31f3d=_0x5a142c['length']?this[_0x35b3fd(0x2c4)][_0x35b3fd(0x27c)](_0x1ac966[_0x35b3fd(0x394)],this['unitID'],this['type'],_0x2b2020,_0x5a142c,this[_0x35b3fd(0x244)],void 0x0):this[_0x35b3fd(0x2c4)]['createInstance'](_0x1ac966['AwaitingState'],this['unitID'],this[_0x35b3fd(0x1ce)],_0x2b2020,this[_0x35b3fd(0x244)]);_0xb31f3d[_0x35b3fd(0x236)](),this[_0x35b3fd(0x244)]['onStateChange'](this,_0xb31f3d);},_0x13b1e7);}[_0x549351(0x2f7)](){var _0x2220dc=_0x549351,_0x242568;const _0x51e55d=this['_configService']['getConfig'](_0x1db2ed);return(_0x242568=_0x51e55d==null?void 0x0:_0x51e55d[_0x2220dc(0x423)])!=null?_0x242568:0x7d0;}[_0x549351(0x18b)](){var _0x53a456=_0x549351;throw new Error(_0x53a456(0x19a));}['_clearScheduledTask'](){var _0xf5b090=_0x549351;this[_0xf5b090(0x3ec)]!=null&&(clearTimeout(this[_0xf5b090(0x3ec)]),this[_0xf5b090(0x3ec)]=null);}['_onConflict'](_0xac3819){var _0x3e94f0=_0x549351;return this[_0x3e94f0(0x32e)](),this['_injector'][_0x3e94f0(0x27c)](_0x1ac966['ConflictState'],this[_0x3e94f0(0x181)],this['type'],null,this['_pendingMutations'],this[_0x3e94f0(0x244)],_0xac3819);}},_0x1ac966['PendingState']=_0xb1c5d5([_0x5c2fc5(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x5c2fc5(0x5,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x5c2fc5(0x6,_0x1580f8[_0x549351(0x2d9)](_0x1ac966['MemberService'])),_0x5c2fc5(0x7,_0x1580f8[_0x549351(0x3aa)]),_0x5c2fc5(0x8,_0x1580f8[_0x549351(0x306)]),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x424)]),_0x5c2fc5(0xa,_0x1273bf[_0x549351(0x2c2)]),_0x5c2fc5(0xb,_0x1580f8['IUniverInstanceService']),_0x5c2fc5(0xc,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0xd,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966['PendingState']),_0x1ac966[_0x549351(0x18d)]=class extends _0x28f8a6{constructor(_0x3c4715,_0xf2deee,_0x168688,_0x72fb38,_0x5a28f6,_0x5bafb3,_0x3ce1cc,_0x3d9b15,_0x27c14e,_0x886d5d,_0x2cd23c){var _0x4c7b3f=_0x549351;super(_0x3c4715,_0xf2deee,_0x168688,[],_0x72fb38,_0x3ce1cc,_0x886d5d,_0x5bafb3,_0x2cd23c),_0x1ad8fe(this,_0x4c7b3f(0x295),_0x4c7b3f(0x42a)),_0x1ad8fe(this,_0x4c7b3f(0x428),0x0),_0x1ad8fe(this,_0x4c7b3f(0x3e9)),_0x1ad8fe(this,'_sender'),(this[_0x4c7b3f(0x2c4)]=_0x5a28f6,this[_0x4c7b3f(0x211)]=_0x3d9b15,this[_0x4c7b3f(0x34b)]=_0x27c14e);}[_0x549351(0x334)](_0x56148c){var _0x3b399c=_0x549351;this[_0x3b399c(0x32e)]();const _0x1eded8=this[_0x3b399c(0x2c4)]['createInstance'](_0x1ac966[_0x3b399c(0x394)],this[_0x3b399c(0x181)],this['type'],this[_0x3b399c(0x360)],[_0x56148c],this['_handler'],this['_resendTimer']);return _0x1eded8['_updateLocalCache'](),_0x1eded8;}[_0x549351(0x3f0)](_0x23ae7d){var _0x516538=_0x549351;if(this[_0x516538(0x219)](_0x23ae7d))return this[_0x516538(0x32e)](),this[_0x516538(0x2c4)][_0x516538(0x27c)](_0x1ac966[_0x516538(0x34e)],this[_0x516538(0x181)],this[_0x516538(0x1ce)],this[_0x516538(0x360)],[],null,[_0x23ae7d],this[_0x516538(0x244)]);try{const _0x114f83=this[_0x516538(0x34b)][_0x516538(0x3f6)]([_0x23ae7d],[this[_0x516538(0x360)]],!0x1);if(_0x1273bf[_0x516538(0x2cf)](_0x114f83)){const {c1Prime:_0x7a3408,c2Prime:_0x55b59e}=_0x114f83;this['_executeRemoteChangeset'](_0x7a3408[0x0]),_0x55b59e[0x0][_0x516538(0x13f)]=this['_getCurrentRevision'](),this[_0x516538(0x32e)]();const _0x4b5424=this['_injector'][_0x516538(0x27c)](_0x1ac966[_0x516538(0x18d)],this['unitID'],this['type'],_0x55b59e[0x0],this[_0x516538(0x244)]);return _0x4b5424[_0x516538(0x236)](),_0x4b5424;}return this[_0x516538(0x23d)](!0x1);}catch(_0x525585){return this[_0x516538(0x211)][_0x516538(0x4aa)](_0x525585),this[_0x516538(0x23d)](!0x1);}}[_0x549351(0x311)](_0x39f610){var _0x2cd6fb=_0x549351;this[_0x2cd6fb(0x32e)]();const _0x3d7022=this[_0x2cd6fb(0x20f)]['getCurrentRevOfUnit'](this[_0x2cd6fb(0x181)]);if(_0x39f610[_0x2cd6fb(0x489)]<_0x3d7022-0x1)return this;if(this[_0x2cd6fb(0x219)](_0x39f610))return this[_0x2cd6fb(0x2c4)][_0x2cd6fb(0x27c)](_0x1ac966[_0x2cd6fb(0x34e)],this[_0x2cd6fb(0x181)],this[_0x2cd6fb(0x1ce)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x2cd6fb(0x183)]();const _0x1b04ce=this[_0x2cd6fb(0x2c4)][_0x2cd6fb(0x27c)](_0x1ac966[_0x2cd6fb(0x162)],this['unitID'],this[_0x2cd6fb(0x1ce)],this[_0x2cd6fb(0x244)]);return _0x1b04ce[_0x2cd6fb(0x236)](),_0x1b04ce;}['onRemoteRej'](_0x23f410){var _0x2bf3d3=_0x549351;return this['_onConflict'](!!(_0x23f410!=null&&_0x23f410[_0x2bf3d3(0x235)]));}['onRemoteRetry'](_0x167b06){var _0x1c6a0a=_0x549351;return this['_resendTimeout']>_0x160276?this[_0x1c6a0a(0x1c1)]():(this['_resendTimer']=_0x3cb3fe(this[_0x1c6a0a(0x428)],{'timeout':this[_0x1c6a0a(0x428)],'reqId':_0x167b06[_0x1c6a0a(0x31f)]}),this['_sender']=this[_0x1c6a0a(0x3e9)]['subscribe'](({reqId:_0x5bc120,timeout:_0xceae4e})=>{var _0x29e89b=_0x1c6a0a;this[_0x29e89b(0x354)](_0x5bc120,_0xceae4e);}),this);}[_0x549351(0x1c1)](){var _0x24acf0=_0x549351;return this[_0x24acf0(0x32e)](),this[_0x24acf0(0x2c4)][_0x24acf0(0x27c)](_0x1ac966[_0x24acf0(0x41e)],this[_0x24acf0(0x181)],this[_0x24acf0(0x1ce)],this['_awaitingChangeset'],[],this['_handler']);}[_0x549351(0x3e4)](){return this;}[_0x549351(0x18b)](){var _0x4d4594=_0x549351;this[_0x4d4594(0x244)][_0x4d4594(0x43d)](this['_awaitingChangeset']);}[_0x549351(0x23d)](_0x267357){var _0x3093cb=_0x549351;return this[_0x3093cb(0x32e)](),this['_injector'][_0x3093cb(0x27c)](_0x1ac966['ConflictState'],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x3093cb(0x244)],_0x267357);}['_resendWithTimeout'](_0x4ad293,_0x4300e2){var _0x243c5e=_0x549351,_0x4b0e24;_0x4ad293===((_0x4b0e24=this[_0x243c5e(0x360)])==null?void 0x0:_0x4b0e24['reqId'])&&(this[_0x243c5e(0x18b)](),this[_0x243c5e(0x428)]=_0x4300e2===0x0?0x3e8:_0x4300e2*0x2);}[_0x549351(0x32e)](){var _0x523ece=_0x549351,_0x371be2;(_0x371be2=this['_sender'])==null||_0x371be2[_0x523ece(0x437)](),this['_resendTimeout']=0x0;}},_0x1ac966[_0x549351(0x18d)]=_0xb1c5d5([_0x5c2fc5(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x5c2fc5(0x5,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x5c2fc5(0x6,_0x1580f8[_0x549351(0x306)]),_0x5c2fc5(0x7,_0x1580f8['ILogService']),_0x5c2fc5(0x8,_0x1273bf[_0x549351(0x2c2)]),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0xa,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966['AwaitingState']),_0x1ac966[_0x549351(0x394)]=class extends _0x28f8a6{constructor(_0xe7e2c1,_0x51f535,_0x4a0188,_0x21bb6c,_0x33b673,_0x15418a,_0x4f598f,_0x4e5dd1,_0x3591fc,_0x2f1111,_0x51a18d,_0x490aa9,_0x112982){var _0x18bbe4=_0x549351;super(_0xe7e2c1,_0x51f535,_0x4a0188,_0x21bb6c,_0x33b673,_0x3591fc,_0x490aa9,_0x4e5dd1,_0x112982),_0x1ad8fe(this,'status',_0x18bbe4(0x2f8)),_0x1ad8fe(this,_0x18bbe4(0x428),0x0),_0x1ad8fe(this,_0x18bbe4(0x3e9)),_0x1ad8fe(this,_0x18bbe4(0x421)),(this[_0x18bbe4(0x2c4)]=_0x4f598f,this[_0x18bbe4(0x211)]=_0x2f1111,this[_0x18bbe4(0x34b)]=_0x51a18d,this['localCacheService']=_0x112982,_0x15418a&&(this[_0x18bbe4(0x3e9)]=_0x15418a,this[_0x18bbe4(0x421)]=this[_0x18bbe4(0x3e9)][_0x18bbe4(0x4ab)](({reqId:_0x37a5f0,timeout:_0x5327e1})=>{var _0x588d2b=_0x18bbe4;this[_0x588d2b(0x354)](_0x37a5f0,_0x5327e1);})));}[_0x549351(0x334)](_0x2e431d){return this['_pendingMutations']['push'](_0x2e431d),this;}[_0x549351(0x3f0)](_0x55860c){var _0x2897c4=_0x549351;if(this[_0x2897c4(0x219)](_0x55860c))return this[_0x2897c4(0x32e)](),this[_0x2897c4(0x2c4)][_0x2897c4(0x27c)](_0x1ac966[_0x2897c4(0x34e)],this['unitID'],this['type'],this[_0x2897c4(0x360)],this[_0x2897c4(0x252)],null,[_0x55860c],this[_0x2897c4(0x244)]);try{const _0x56ae27=this['_transformService'][_0x2897c4(0x3f6)]([_0x55860c],[this['_awaitingChangeset']],!0x1);if(_0x1273bf[_0x2897c4(0x2cf)](_0x56ae27)){const {c1Prime:_0x27aec2,c2Prime:_0x15779c}=_0x56ae27,_0x4698a6=this['_transformService'][_0x2897c4(0x462)](_0x27aec2[0x0],this[_0x2897c4(0x252)]);if(_0x1273bf['isTransformMutationsWithChangesetSuccess'](_0x4698a6)){const {c1Prime:_0x4d6dc1,m2Prime:_0x15c8da}=_0x4698a6;return this['_executeRemoteChangeset'](_0x4d6dc1),_0x15779c[0x0][_0x2897c4(0x13f)]=this[_0x2897c4(0x1ab)](),this[_0x2897c4(0x32e)](),this[_0x2897c4(0x2c4)]['createInstance'](_0x1ac966[_0x2897c4(0x394)],this[_0x2897c4(0x181)],this[_0x2897c4(0x1ce)],_0x15779c[0x0],_0x15c8da,this[_0x2897c4(0x244)],void 0x0);}throw _0x4698a6['error'];}throw _0x56ae27[_0x2897c4(0x4aa)];}catch(_0x1c57b6){return this[_0x2897c4(0x211)][_0x2897c4(0x4aa)](_0x1c57b6),this[_0x2897c4(0x23d)](!0x1);}}[_0x549351(0x311)](_0x1a5a1d){var _0xde1318=_0x549351;if(this[_0xde1318(0x32e)](),this[_0xde1318(0x219)](_0x1a5a1d))return this[_0xde1318(0x2c4)][_0xde1318(0x27c)](_0x1ac966[_0xde1318(0x34e)],this[_0xde1318(0x181)],this['type'],null,this[_0xde1318(0x252)],this[_0xde1318(0x360)],[],this['_handler']);this[_0xde1318(0x183)]();const _0x2a4f98=this[_0xde1318(0x2c4)][_0xde1318(0x27c)](_0x1ac966['PendingState'],this[_0xde1318(0x181)],this[_0xde1318(0x1ce)],this[_0xde1318(0x252)],this['_handler']);return _0x2a4f98[_0xde1318(0x3ac)](),_0x2a4f98[_0xde1318(0x236)](),_0x2a4f98;}[_0x549351(0x1a2)](_0x5c801e){var _0x45bf96=_0x549351;return this['_onConflict'](!!(_0x5c801e!=null&&_0x5c801e[_0x45bf96(0x235)]));}['onRemoteRetry'](_0x372df6){var _0x2c5aec=_0x549351;return this[_0x2c5aec(0x428)]>_0x160276?this[_0x2c5aec(0x1c1)]():(this[_0x2c5aec(0x3e9)]=_0x3cb3fe(this['_resendTimeout'],{'timeout':this[_0x2c5aec(0x428)],'reqId':_0x372df6[_0x2c5aec(0x31f)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0xfd90ab,timeout:_0x1ff6ab})=>{var _0x222a77=_0x2c5aec;this[_0x222a77(0x354)](_0xfd90ab,_0x1ff6ab);}),this);}['toggleOffline'](){var _0x337d3a=_0x549351;return this[_0x337d3a(0x32e)](),this[_0x337d3a(0x2c4)][_0x337d3a(0x27c)](_0x1ac966[_0x337d3a(0x41e)],this[_0x337d3a(0x181)],this[_0x337d3a(0x1ce)],this['_awaitingChangeset'],this[_0x337d3a(0x252)],this['_handler']);}[_0x549351(0x3e4)](){return this;}['resend'](){var _0x2d5522=_0x549351;this['_handler'][_0x2d5522(0x43d)](this[_0x2d5522(0x360)]);}['_onConflict'](_0x4c71c1){var _0x3a92a1=_0x549351;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x1ac966[_0x3a92a1(0x370)],this['unitID'],this[_0x3a92a1(0x1ce)],null,this[_0x3a92a1(0x252)],this[_0x3a92a1(0x244)],_0x4c71c1);}[_0x549351(0x354)](_0x2c02e4,_0x8e5923){var _0x4113d5=_0x549351,_0x5ba92b;_0x2c02e4===((_0x5ba92b=this[_0x4113d5(0x360)])==null?void 0x0:_0x5ba92b[_0x4113d5(0x31f)])&&(this[_0x4113d5(0x18b)](),this[_0x4113d5(0x428)]=_0x8e5923===0x0?0x3e8:_0x8e5923*0x2);}[_0x549351(0x32e)](){var _0x5de864=_0x549351,_0x1fea92;(_0x1fea92=this['_sender'])==null||_0x1fea92['unsubscribe'](),this[_0x5de864(0x428)]=0x0;}},_0x1ac966[_0x549351(0x394)]=_0xb1c5d5([_0x5c2fc5(0x6,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x5c2fc5(0x7,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x5c2fc5(0x8,_0x1580f8[_0x549351(0x306)]),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x3aa)]),_0x5c2fc5(0xa,_0x1273bf['ITransformService']),_0x5c2fc5(0xb,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0xc,_0x1580f8['Optional'](_0x2e9c48))],_0x1ac966[_0x549351(0x394)]),_0x1ac966[_0x549351(0x370)]=class extends _0x28f8a6{constructor(_0x1d3694,_0x13b90e,_0x12dd96,_0x2bfbd7,_0x4f1d37,_0x391d73=!0x1,_0x1370a7,_0x217ef3,_0x68fba0,_0x1918b6,_0x3a7039,_0x5480b1,_0x3417ac){var _0x3db9f0=_0x549351;super(_0x1d3694,_0x13b90e,_0x12dd96,_0x2bfbd7,_0x4f1d37,_0x217ef3,_0x68fba0,_0x1918b6,_0x3417ac),_0x1ad8fe(this,_0x3db9f0(0x295),_0x3db9f0(0x363)),(this[_0x3db9f0(0x33f)]=_0x391d73,this['_permissionService']=_0x1370a7,this['_localeService']=_0x3a7039,this[_0x3db9f0(0x274)]=_0x5480b1,this[_0x3db9f0(0x3fe)]=_0x3417ac,this[_0x3db9f0(0x23f)](),this[_0x3db9f0(0x339)](),this[_0x3db9f0(0x20c)]());}[_0x549351(0x334)](){return this;}[_0x549351(0x3f0)](){return this;}[_0x549351(0x311)](){return this;}[_0x549351(0x1a2)](){return this;}[_0x549351(0x4b0)](){return this;}[_0x549351(0x1c1)](){return this;}['toggleOnline'](){return this;}[_0x549351(0x18b)](){var _0x78d8cb=_0x549351;throw new Error(_0x78d8cb(0x210));}[_0x549351(0x339)](){var _0x14f2f2=_0x549351,_0x70a098;(_0x70a098=this[_0x14f2f2(0x21b)])==null||_0x70a098['updateOfflineData'](this[_0x14f2f2(0x181)],this[_0x14f2f2(0x1ce)],null,[]);}[_0x549351(0x23f)](){var _0x1056d4=_0x549351;this[_0x1056d4(0x33f)]?this['_collaborationUIEventService'][_0x1056d4(0x390)]({'id':_0x2bf599[_0x1056d4(0x392)]}):this[_0x1056d4(0x274)][_0x1056d4(0x390)]({'id':_0x2bf599[_0x1056d4(0x46e)]});}[_0x549351(0x20c)](){var _0x425fc9=_0x549351;this[_0x425fc9(0x2dc)]['updatePermissionPoint'](new _0x3a5b47[(_0x425fc9(0x1e7))](this[_0x425fc9(0x181)])['id'],!0x1);}},_0x1ac966[_0x549351(0x370)]=_0xb1c5d5([_0x5c2fc5(0x6,_0x1580f8['Inject'](_0x1580f8[_0x549351(0x15f)])),_0x5c2fc5(0x7,_0x1580f8[_0x549351(0x306)]),_0x5c2fc5(0x8,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x5c2fc5(0xa,_0x1580f8['Inject'](_0x1580f8[_0x549351(0x3eb)])),_0x5c2fc5(0xb,_0x1580f8[_0x549351(0x2d9)](_0x1667ed)),_0x5c2fc5(0xc,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966['ConflictState']),_0x1ac966[_0x549351(0x41e)]=class extends _0x28f8a6{constructor(_0x1c5f7f,_0x35b7fe,_0x58c9a3,_0xf318be,_0x17fd21,_0x1c3cf8,_0x96875f,_0x127d60,_0x2dcef5,_0x1f9f3b){var _0x3bf20c=_0x549351;super(_0x1c5f7f,_0x35b7fe,_0x58c9a3,_0xf318be,_0x17fd21,_0x127d60,_0x2dcef5,_0x96875f,_0x1f9f3b),_0x1ad8fe(this,_0x3bf20c(0x295),_0x3bf20c(0x3a5)),this['_injector']=_0x1c3cf8;}['appendMutation'](_0x497558){var _0x46d70c=_0x549351;return this[_0x46d70c(0x252)][_0x46d70c(0x2c6)](_0x497558),this[_0x46d70c(0x236)](),this;}[_0x549351(0x3f0)](_0x47b06d){var _0x37d83a=_0x549351;throw new Error(_0x37d83a(0x258));}['onRemoteAck'](){var _0x1e5aa5=_0x549351;throw new Error(_0x1e5aa5(0x46b));}[_0x549351(0x1a2)](){var _0x35003d=_0x549351;throw new Error(_0x35003d(0x44f));}[_0x549351(0x4b0)](){return this;}[_0x549351(0x1c1)](){return this;}[_0x549351(0x3e4)](){var _0x3b333=_0x549351;const {_injector:_0xb92bc7,_pendingMutations:_0x5c8506,_awaitingChangeset:_0x2668c5,unitID:_0x514552,_handler:_0x26b783,type:_0x32a112}=this,_0x4c1c3f=_0xa7a677(_0xb92bc7,_0x514552,_0x32a112,_0x2668c5,_0x5c8506,_0x26b783);return _0x4c1c3f instanceof _0x1ac966['PendingState']?_0x4c1c3f[_0x3b333(0x3ac)]():(_0x4c1c3f instanceof _0x1ac966[_0x3b333(0x394)]||_0x4c1c3f instanceof _0x1ac966[_0x3b333(0x18d)])&&_0x4c1c3f[_0x3b333(0x18b)](),_0x4c1c3f;}['resend'](){var _0x2b6731=_0x549351;throw new Error(_0x2b6731(0x1b4));}},_0x1ac966[_0x549351(0x41e)]=_0xb1c5d5([_0x5c2fc5(0x5,_0x1580f8[_0x549351(0x2d9)](_0x1580f8['Injector'])),_0x5c2fc5(0x6,_0x1580f8[_0x549351(0x2d9)](_0x1273bf['RevisionService'])),_0x5c2fc5(0x7,_0x1580f8[_0x549351(0x306)]),_0x5c2fc5(0x8,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966['OfflineState']),_0x1ac966['FetchingMissState']=class extends _0x28f8a6{constructor(_0x625031,_0xaed4b6,_0x563d5d,_0x442606,_0x279695,_0x2875b0,_0x3e1483,_0x204b0b,_0x2c04ea,_0x20bb21,_0x548ff4,_0x4f4567,_0x5c9165,_0x4d76b8){var _0x3cc74b=_0x549351;super(_0x625031,_0xaed4b6,_0x563d5d,_0x442606,_0x3e1483,_0x548ff4,_0x4f4567,_0x2c04ea,_0x4d76b8),_0x1ad8fe(this,_0x3cc74b(0x295),_0x3cc74b(0x1bd)),(this[_0x3cc74b(0x179)]=_0x279695,this['_queuedRemoteChangesets']=_0x2875b0,this[_0x3cc74b(0x2c4)]=_0x204b0b,this['_logService']=_0x20bb21,this[_0x3cc74b(0x34b)]=_0x5c9165,this[_0x3cc74b(0x3fe)]=_0x4d76b8);}[_0x549351(0x2b3)](_0x5b771a){var _0x19d341=_0x549351;try{const _0x2db6e0=[..._0x5b771a,...this['_queuedRemoteChangesets']],_0x34df65=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x2e035a=>!!_0x2e035a);let _0x4ee185,_0x270df8;if(_0x34df65[_0x19d341(0x3ea)]){const _0xd3bebf=this[_0x19d341(0x34b)][_0x19d341(0x3f6)](_0x2db6e0,_0x34df65,!0x1);if(!_0x1273bf[_0x19d341(0x2cf)](_0xd3bebf))throw _0xd3bebf[_0x19d341(0x4aa)];_0x4ee185=_0xd3bebf[_0x19d341(0x3f5)],_0x270df8=_0xd3bebf['c2Prime'];}else _0x4ee185=_0x2db6e0,_0x270df8=[];let _0x378ab8=this['_pendingMutations'];_0x4ee185['forEach'](_0x5e1511=>{var _0x3c31b8=_0x19d341;let _0x5db8c9;if(_0x378ab8[_0x3c31b8(0x3ea)]){const _0xb546e0=this[_0x3c31b8(0x34b)][_0x3c31b8(0x462)](_0x5e1511,_0x378ab8);if(!_0x1273bf[_0x3c31b8(0x399)](_0xb546e0))throw _0xb546e0['error'];_0x5db8c9=_0xb546e0['c1Prime'],_0x378ab8=_0xb546e0['m2Prime'];}else _0x5db8c9=_0x5e1511;this[_0x3c31b8(0x2e9)](_0x5db8c9);}),this[_0x19d341(0x179)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x270df8[_0x19d341(0x3ea)]&&(_0x270df8[0x0][_0x19d341(0x13f)]=this[_0x19d341(0x1ab)]());let _0x2607be;if(this[_0x19d341(0x360)]&&_0x378ab8[_0x19d341(0x3ea)]!==0x0)_0x2607be=this[_0x19d341(0x2c4)][_0x19d341(0x27c)](_0x1ac966['AwaitingWithPendingState'],this[_0x19d341(0x181)],this[_0x19d341(0x1ce)],_0x270df8[0x0],_0x378ab8,this[_0x19d341(0x244)],void 0x0);else{if(this[_0x19d341(0x360)]&&_0x378ab8[_0x19d341(0x3ea)]===0x0)_0x270df8[0x0][_0x19d341(0x13f)]=this[_0x19d341(0x1ab)](),_0x2607be=this[_0x19d341(0x2c4)]['createInstance'](_0x1ac966['AwaitingState'],this[_0x19d341(0x181)],this[_0x19d341(0x1ce)],_0x270df8[0x0],this['_handler']);else{if(_0x378ab8[_0x19d341(0x3ea)]!==0x0){const _0x328544=this[_0x19d341(0x2c4)][_0x19d341(0x27c)](_0x1ac966[_0x19d341(0x227)],this[_0x19d341(0x181)],this['type'],_0x378ab8,this['_handler']);_0x328544[_0x19d341(0x3ac)](),_0x2607be=_0x328544;}else _0x2607be=this[_0x19d341(0x2c4)]['createInstance'](_0x1ac966[_0x19d341(0x162)],this['unitID'],this[_0x19d341(0x1ce)],this['_handler']);}}return _0x2607be[_0x19d341(0x236)](),_0x2607be;}catch(_0x2665fe){return this['_logService'][_0x19d341(0x4aa)](_0x19d341(0x42b),_0x19d341(0x4b2),_0x2665fe),this[_0x19d341(0x2c4)][_0x19d341(0x27c)](_0x1ac966[_0x19d341(0x370)],this[_0x19d341(0x181)],this[_0x19d341(0x1ce)],this[_0x19d341(0x360)],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x549351(0x334)](_0x33b763){var _0x4543f1=_0x549351;return this[_0x4543f1(0x252)][_0x4543f1(0x2c6)](_0x33b763),this;}[_0x549351(0x3f0)](_0x229ae1){var _0x5611cc=_0x549351;return this[_0x5611cc(0x348)][_0x5611cc(0x2c6)](_0x229ae1),this;}['onRemoteAck'](_0x2ec476){var _0x812c01=_0x549351;if(this[_0x812c01(0x360)])return this[_0x812c01(0x179)]=this[_0x812c01(0x360)],this[_0x812c01(0x360)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x1e768e){var _0xef7577=_0x549351;return this[_0xef7577(0x23d)](!!(_0x1e768e!=null&&_0x1e768e[_0xef7577(0x235)]));}['onRemoteRetry'](){return this;}[_0x549351(0x1c1)](){var _0x24a782=_0x549351;return this[_0x24a782(0x2c4)][_0x24a782(0x27c)](_0x1ac966['OfflineState'],this[_0x24a782(0x181)],this['type'],this[_0x24a782(0x360)],this['_pendingMutations'],this[_0x24a782(0x244)]);}[_0x549351(0x3e4)](){return this;}[_0x549351(0x23d)](_0x72f97c){var _0x343627=_0x549351;return this[_0x343627(0x2c4)][_0x343627(0x27c)](_0x1ac966[_0x343627(0x370)],this[_0x343627(0x181)],this[_0x343627(0x1ce)],this['_awaitingChangeset'],this[_0x343627(0x252)],this[_0x343627(0x244)],_0x72f97c);}},_0x1ac966[_0x549351(0x34e)]=_0xb1c5d5([_0x5c2fc5(0x7,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x5c2fc5(0x8,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x5c2fc5(0x9,_0x1580f8[_0x549351(0x3aa)]),_0x5c2fc5(0xa,_0x1580f8[_0x549351(0x306)]),_0x5c2fc5(0xb,_0x1580f8[_0x549351(0x180)]),_0x5c2fc5(0xc,_0x1273bf[_0x549351(0x2c2)]),_0x5c2fc5(0xd,_0x1580f8['Optional'](_0x2e9c48))],_0x1ac966['FetchingMissState']);function _0xa7a677(_0x2e0a89,_0x3d89b2,_0x74f4d4,_0x569d0c,_0x5d0b27,_0x56410){var _0x380a12=_0x549351;return _0x569d0c&&_0x5d0b27[_0x380a12(0x3ea)]?_0x2e0a89[_0x380a12(0x27c)](_0x1ac966[_0x380a12(0x394)],_0x3d89b2,_0x74f4d4,_0x569d0c,_0x5d0b27,_0x56410,void 0x0):_0x569d0c?_0x2e0a89[_0x380a12(0x27c)](_0x1ac966[_0x380a12(0x18d)],_0x3d89b2,_0x74f4d4,_0x569d0c,_0x56410):_0x5d0b27['length']?_0x2e0a89[_0x380a12(0x27c)](_0x1ac966[_0x380a12(0x227)],_0x3d89b2,_0x74f4d4,_0x5d0b27,_0x56410):_0x2e0a89['createInstance'](_0x1ac966['SyncedState'],_0x3d89b2,_0x74f4d4,_0x56410);}var _0x3d4a77=Object[_0x549351(0x3ff)],_0x945426=(_0x53aec4,_0x347073,_0x59208e,_0x3a536b)=>{for(var _0x4c97d7=_0x3a536b>0x1?void 0x0:_0x3a536b?_0x3d4a77(_0x347073,_0x59208e):_0x347073,_0x22a504=_0x53aec4['length']-0x1,_0x5d9f7b;_0x22a504>=0x0;_0x22a504--)(_0x5d9f7b=_0x53aec4[_0x22a504])&&(_0x4c97d7=_0x5d9f7b(_0x4c97d7)||_0x4c97d7);return _0x4c97d7;},_0x3e315c=(_0xbb6145,_0x282ddd)=>(_0x2ed875,_0xf974a6)=>_0x282ddd(_0x2ed875,_0xf974a6,_0xbb6145);_0x1ac966[_0x549351(0x44b)]=class extends _0x1580f8[_0x549351(0x2ef)]{constructor(_0x51c13d,_0x1b6f24,_0x1e8f5c,_0x1a832f,_0x3e0275,_0x52cf1d,_0x2e19b9,_0x5668b4,_0x304153,_0x5c665a,_0x48bd86,_0x1858c9,_0x31291a){var _0x19e1b5=_0x549351;super(),_0x1ad8fe(this,_0x19e1b5(0x143),new _0xdf3790['BehaviorSubject'](null)),_0x1ad8fe(this,_0x19e1b5(0x40e),this[_0x19e1b5(0x143)]['asObservable']()),_0x1ad8fe(this,_0x19e1b5(0x1e5)),_0x1ad8fe(this,_0x19e1b5(0x34f),!0x1),_0x1ad8fe(this,_0x19e1b5(0x342),''),_0x1ad8fe(this,_0x19e1b5(0x4bd),0x0),_0x1ad8fe(this,_0x19e1b5(0x2aa),this[_0x19e1b5(0x40e)][_0x19e1b5(0x48a)](_0xdf3790[_0x19e1b5(0x4b7)](_0x4d5164=>_0x4d5164?_0x4d5164['status']:_0x3ebfe3[_0x19e1b5(0x367)]),_0xdf3790[_0x19e1b5(0x15c)](0x1))),_0x1ad8fe(this,_0x19e1b5(0x411),!0x1),_0x1ad8fe(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x51c13d,this[_0x19e1b5(0x1b3)]=_0x1b6f24,this[_0x19e1b5(0x24f)]=_0x1e8f5c,this[_0x19e1b5(0x2c4)]=_0x1a832f,this[_0x19e1b5(0x1de)]=_0x3e0275,this['_localeService']=_0x52cf1d,this[_0x19e1b5(0x20f)]=_0x2e19b9,this['_eventService']=_0x5668b4,this['_logService']=_0x304153,this[_0x19e1b5(0x250)]=_0x5c665a,this[_0x19e1b5(0x2dc)]=_0x48bd86,this[_0x19e1b5(0x35e)]=_0x1858c9,this[_0x19e1b5(0x21b)]=_0x31291a);}get[_0x549351(0x262)](){var _0x975452=_0x549351;return this[_0x975452(0x1e5)];}async[_0x549351(0x3f2)](){var _0x3827a2=_0x549351;if(this[_0x3827a2(0x262)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x549351(0x3c7)](){var _0x40db19=_0x549351;return this[_0x40db19(0x34f)]=!0x0,_0x1580f8[_0x40db19(0x1d2)](()=>{var _0x5d13df=_0x40db19;this[_0x5d13df(0x34f)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x4f7953){this['_onLocalMutation'](_0x4f7953);}[_0x549351(0x323)](_0x4cbf61){var _0x438c54=_0x549351;this[_0x438c54(0x1e5)]=_0x4cbf61,this['_state$'][_0x438c54(0x466)](_0x4cbf61);}async['_init'](){var _0x12bea1=_0x549351,_0x507b73;this['_updateState'](await this[_0x12bea1(0x3a2)]()),this[_0x12bea1(0x35e)]&&((_0x507b73=this[_0x12bea1(0x35e)])==null||_0x507b73[_0x12bea1(0x1d0)](this['unitID']),this[_0x12bea1(0x3e3)](this[_0x12bea1(0x35e)][_0x12bea1(0x27f)](this[_0x12bea1(0x181)])[_0x12bea1(0x4ab)](_0x45f513=>{var _0x344502=_0x12bea1;this['_logService']['debug'](_0x344502(0x2fe),_0x344502(0x31a),_0x45f513),_0x45f513===_0x2322d5[_0x344502(0x355)]?(this[_0x344502(0x2fd)][_0x344502(0x390)]({'id':_0x2bf599[_0x344502(0x1f1)]}),this['_permissionService'][_0x344502(0x429)](new _0x3a5b47[(_0x344502(0x1e7))](this['unitID'])['id'],!0x1),this[_0x344502(0x2dc)][_0x344502(0x2fa)](!0x1)):(this[_0x344502(0x2dc)][_0x344502(0x429)](new _0x3a5b47['WorkbookEditablePermission'](this[_0x344502(0x181)])['id'],!0x0),this[_0x344502(0x2dc)][_0x344502(0x2fa)](!0x0));})));let _0x125caa=!0x1;return this[_0x12bea1(0x3e3)](this[_0x12bea1(0x1b3)][_0x12bea1(0x30e)][_0x12bea1(0x4ab)](_0x27de89=>{var _0x55cde8=_0x12bea1;_0x27de89===_0x5ad294[_0x55cde8(0x1da)]?this['_toggleOnline'](_0x125caa):_0x27de89===_0x5ad294['OFFLINE']&&(_0x125caa=!0x0,this[_0x55cde8(0x3c5)]());})),this['disposeWithMe'](this[_0x12bea1(0x1b3)][_0x12bea1(0x32f)][_0x12bea1(0x4ab)](_0x598c14=>{var _0x260507=_0x12bea1;try{switch(_0x598c14[_0x260507(0x2e5)]){case _0x1273bf[_0x260507(0x271)][_0x260507(0x3bd)]:{this[_0x260507(0x1c6)](_0x1273bf[_0x260507(0x435)](_0x598c14[_0x260507(0x310)]));break;}case _0x1273bf[_0x260507(0x271)][_0x260507(0x1d9)]:{this['_onRemoteACK'](_0x598c14[_0x260507(0x310)]);break;}case _0x1273bf[_0x260507(0x271)]['CHANGESET_REJ']:{this[_0x260507(0x191)]();break;}case _0x1273bf['CollaborationEvent'][_0x260507(0x19e)]:{this[_0x260507(0x190)](_0x598c14[_0x260507(0x310)]);break;}case _0x1273bf[_0x260507(0x271)][_0x260507(0x39e)]:{this[_0x260507(0x39c)](_0x598c14['data'][_0x260507(0x3dd)][_0x260507(0x4b7)](_0x5025af=>_0x1273bf['parseProtocolChangeset'](_0x5025af)));break;}case _0x1273bf['CollaborationEvent'][_0x260507(0x449)]:{this[_0x260507(0x191)]({'isPermissionRej':!0x0});break;}case _0x1273bf[_0x260507(0x271)][_0x260507(0x1d5)]:break;}}catch(_0xa3d61b){throw console[_0x260507(0x4aa)]('Error\x20on\x20receiving\x20event',_0xa3d61b),_0xa3d61b;}})),this[_0x12bea1(0x1e5)];}['_unlockTransition'](){var _0x2155e0=_0x549351;this[_0x2155e0(0x411)]=!0x1;}[_0x549351(0x203)](){var _0x263533=_0x549351;if(this[_0x263533(0x411)])throw new Error(_0x263533(0x4b5));this[_0x263533(0x411)]=!0x0;}['_onLocalMutation'](_0x430917){var _0x349795=_0x549351;this[_0x349795(0x203)](),this[_0x349795(0x323)](this['_state'][_0x349795(0x334)](_0x430917)),this[_0x349795(0x15b)]();}[_0x549351(0x1c6)](_0x3ba4c3){var _0x2c5912=_0x549351;if(!(_0x3ba4c3['revision']<=this[_0x2c5912(0x20f)][_0x2c5912(0x147)](this[_0x2c5912(0x181)]))){if(this[_0x2c5912(0x34f)]){this[_0x2c5912(0x19d)][_0x2c5912(0x2c6)](_0x3ba4c3);return;}this[_0x2c5912(0x3c1)](_0x3ba4c3);}}['_exhaustRemoteChangesetQueue'](){var _0x4899ef=_0x549351;this['_remoteChangesetQueue']['forEach'](_0x4c23fb=>this[_0x4899ef(0x3c1)](_0x4c23fb)),this[_0x4899ef(0x19d)]=[];}[_0x549351(0x3c1)](_0x26a278){var _0x30a704=_0x549351;const _0x50f34c=this['_compressMutationService']['interceptor'][_0x30a704(0x406)](this[_0x30a704(0x1de)][_0x30a704(0x1f9)][_0x30a704(0x167)]()[_0x30a704(0x325)])(_0x26a278[_0x30a704(0x4b1)],null)||_0x26a278[_0x30a704(0x4b1)],_0x31bfe6={..._0x26a278,'mutations':_0x50f34c};this[_0x30a704(0x203)](),this[_0x30a704(0x323)](this[_0x30a704(0x1e5)][_0x30a704(0x3f0)](_0x31bfe6)),this[_0x30a704(0x15b)]();}[_0x549351(0x425)](_0x10a5c5){var _0x3ccb1a=_0x549351;this[_0x3ccb1a(0x203)](),this[_0x3ccb1a(0x323)](this[_0x3ccb1a(0x1e5)]['onRemoteAck'](_0x10a5c5)),this['_unlockTransition']();}[_0x549351(0x191)](_0x14429b){var _0x288408=_0x549351;this['_lockTransition'](),this[_0x288408(0x323)](this[_0x288408(0x1e5)][_0x288408(0x1a2)](_0x14429b)),this[_0x288408(0x15b)]();}[_0x549351(0x190)](_0x1d43f2){var _0x27b853=_0x549351;this[_0x27b853(0x203)](),this[_0x27b853(0x323)](this[_0x27b853(0x1e5)][_0x27b853(0x4b0)](_0x1d43f2)),this[_0x27b853(0x15b)]();}[_0x549351(0x39c)](_0x1909d4){var _0x144c33=_0x549351;if(!(this[_0x144c33(0x1e5)]instanceof _0x1ac966[_0x144c33(0x34e)]))throw new TypeError(_0x144c33(0x395));const _0x1e8768=_0x1909d4[_0x144c33(0x4b7)](_0x5b12a8=>{var _0x469c58=_0x144c33;const _0x417123=this['_compressMutationService'][_0x469c58(0x1f9)]['fetchThroughInterceptors'](this[_0x469c58(0x1de)]['interceptor'][_0x469c58(0x167)]()['COMPRESS_MUTATION_APPLY'])(_0x5b12a8['mutations'],null)||_0x5b12a8[_0x469c58(0x4b1)];return{..._0x5b12a8,'mutations':_0x417123};});this['_lockTransition'](),this[_0x144c33(0x323)](this[_0x144c33(0x1e5)][_0x144c33(0x2b3)](_0x1e8768)),this[_0x144c33(0x15b)]();}[_0x549351(0x3c5)](){var _0x5a2140=_0x549351;this['_lockTransition'](),this[_0x5a2140(0x323)](this[_0x5a2140(0x1e5)]['toggleOffline']()),this['_unlockTransition']();}['_toggleOnline'](_0x4b7d9d=!0x1){var _0x1aa574=_0x549351;this[_0x1aa574(0x203)](),this[_0x1aa574(0x323)](this[_0x1aa574(0x1e5)][_0x1aa574(0x3e4)]()),this[_0x1aa574(0x15b)]();const _0x199199=this['_state'];_0x4b7d9d&&_0x199199 instanceof _0x1ac966[_0x1aa574(0x162)]&&(this[_0x1aa574(0x203)](),this[_0x1aa574(0x323)](_0x199199['fetchMiss']()),this['_unlockTransition']());}async[_0x549351(0x3a2)](){return new Promise(_0x4424b8=>{var _0x72f88=_0x8cbe;this[_0x72f88(0x1b3)][_0x72f88(0x30e)][_0x72f88(0x48a)](_0xdf3790[_0x72f88(0x330)](0x1))[_0x72f88(0x4ab)](async _0x20f217=>{var _0x1f8606=_0x72f88;_0x4424b8(await this[_0x1f8606(0x35d)](_0x20f217===_0x5ad294[_0x1f8606(0x1da)]));});});}['_createHandler'](){var _0x15c267=_0x549351;const _0x120a79=this[_0x15c267(0x181)];return{'onStateChange':(_0x564cfe,_0x4ee663)=>{var _0x537b89=_0x15c267;if(_0x564cfe!==this['_state'])throw new Error(_0x537b89(0x1a3)+_0x564cfe['status']+_0x537b89(0x1c9)+_0x4ee663[_0x537b89(0x295)]+_0x537b89(0x337)+this[_0x537b89(0x1e5)]['status']);this[_0x537b89(0x323)](_0x4ee663);},'onSendChangeset':_0x2aac67=>{var _0x46cdcb=_0x15c267;_0x2aac67[_0x46cdcb(0x14b)]||(_0x2aac67[_0x46cdcb(0x14b)]=this[_0x46cdcb(0x342)],_0x2aac67[_0x46cdcb(0x31f)]=++this[_0x46cdcb(0x4bd)]);const _0x14340b={'eventID':_0x1273bf['CollaborationEvent'][_0x46cdcb(0x454)],'data':{'unitID':_0x2aac67[_0x46cdcb(0x181)],'unitType':this[_0x46cdcb(0x24f)],'changeset':_0x2aac67,'memberID':this[_0x46cdcb(0x1b3)][_0x46cdcb(0x3d8)]()}};this[_0x46cdcb(0x1b3)][_0x46cdcb(0x4b9)](_0x14340b,this['unitID']);},'onMissingChangesets':({from:_0x4b7bd8,to:_0x460ebc})=>{var _0x54c3cc=_0x15c267;this[_0x54c3cc(0x211)]['debug']('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x4b7bd8+_0x54c3cc(0x364)+_0x460ebc);const _0x23151e={'eventID':_0x1273bf[_0x54c3cc(0x271)][_0x54c3cc(0x47e)],'data':{'unitID':_0x120a79,'unitType':this[_0x54c3cc(0x24f)],'from':_0x4b7bd8,'to':_0x460ebc}};this[_0x54c3cc(0x1b3)][_0x54c3cc(0x4b9)](_0x23151e,this[_0x54c3cc(0x181)]);}};}async['_createInitialStateImpl'](_0x32f0a2){var _0x286989=_0x549351,_0x21dc14,_0x370b12,_0x5b25c7;const _0x1290fe=await((_0x21dc14=this[_0x286989(0x21b)])==null?void 0x0:_0x21dc14[_0x286989(0x492)](this[_0x286989(0x181)])),_0x173ddc=(_0x370b12=_0x1290fe==null?void 0x0:_0x1290fe[_0x286989(0x4b1)])!=null?_0x370b12:[],_0x874be1=(_0x5b25c7=_0x1290fe==null?void 0x0:_0x1290fe[_0x286989(0x16b)])!=null?_0x5b25c7:null,_0x27a19a=!!(_0x874be1!=null&&_0x874be1[_0x286989(0x14b)])&&!!(_0x874be1!=null&&_0x874be1['reqId']);this[_0x286989(0x342)]=_0x27a19a?_0x874be1[_0x286989(0x14b)]:_0x48ac0e(),this[_0x286989(0x4bd)]=_0x27a19a?_0x874be1[_0x286989(0x31f)]:0x0;const _0x4aacb5=this[_0x286989(0x181)];try{this[_0x286989(0x24d)](_0x874be1,_0x173ddc);}catch(_0x9f4f79){this[_0x286989(0x211)]['error'](_0x9f4f79);}const _0x3927ff=this[_0x286989(0x22d)]();if(_0x32f0a2){const _0x367884=_0xa7a677(this[_0x286989(0x2c4)],_0x4aacb5,this['_type'],_0x874be1,_0x173ddc,_0x3927ff);return _0x367884 instanceof _0x1ac966[_0x286989(0x227)]?_0x367884[_0x286989(0x3ac)]():(_0x367884 instanceof _0x1ac966[_0x286989(0x394)]||_0x367884 instanceof _0x1ac966[_0x286989(0x18d)])&&_0x367884[_0x286989(0x18b)](),_0x367884;}return this[_0x286989(0x2c4)][_0x286989(0x27c)](_0x1ac966[_0x286989(0x41e)],_0x4aacb5,this[_0x286989(0x24f)],_0x874be1,_0x173ddc,_0x3927ff);}['_replayCachedMutations'](_0x28fcf2,_0x5e8038){var _0x2aadc9=_0x549351,_0x316456,_0x531314;const _0x167094=this[_0x2aadc9(0x1de)][_0x2aadc9(0x1f9)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x2aadc9(0x167)]()[_0x2aadc9(0x325)]);(_0x316456=_0x167094((_0x28fcf2==null?void 0x0:_0x28fcf2[_0x2aadc9(0x4b1)])||[],null))==null||_0x316456[_0x2aadc9(0x2b0)](_0x50e2e7=>this[_0x2aadc9(0x250)][_0x2aadc9(0x26b)](_0x50e2e7['id'],_0x50e2e7[_0x2aadc9(0x21f)])),(_0x531314=_0x167094(_0x5e8038||[],null))==null||_0x531314[_0x2aadc9(0x2b0)](_0xcbeb22=>this[_0x2aadc9(0x250)]['executeCommand'](_0xcbeb22['id'],_0xcbeb22[_0x2aadc9(0x21f)]));}},_0x1ac966[_0x549351(0x44b)]=_0x945426([_0x3e315c(0x3,_0x1580f8[_0x549351(0x2d9)](_0x1580f8['Injector'])),_0x3e315c(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x2b5)])),_0x3e315c(0x5,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x3eb)])),_0x3e315c(0x6,_0x1580f8[_0x549351(0x2d9)](_0x1273bf['RevisionService'])),_0x3e315c(0x7,_0x1580f8[_0x549351(0x2d9)](_0x1667ed)),_0x3e315c(0x8,_0x1580f8[_0x549351(0x3aa)]),_0x3e315c(0x9,_0x1580f8[_0x549351(0x306)]),_0x3e315c(0xa,_0x1580f8['IPermissionService']),_0x3e315c(0xb,_0x1580f8['Optional'](_0x431ecc)),_0x3e315c(0xc,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966[_0x549351(0x44b)]),_0x1ac966['DocCollaborationEntity']=class extends _0x1ac966[_0x549351(0x44b)]{constructor(_0x2358ed,_0x157ddd,_0x4d9fe2,_0x58516a,_0x36e1bd,_0x44291c,_0x1c7422,_0xb1fa91,_0x2aca56,_0x276265,_0x11b651,_0x2e2084,_0x11e5f6){var _0x8ae507=_0x549351;super(_0x2358ed,_0x4d9fe2,_0x157ddd,_0x58516a,_0x36e1bd,_0x44291c,_0x1c7422,_0xb1fa91,_0x2aca56,_0x276265,_0x11b651,_0x2e2084,_0x11e5f6),_0x1ad8fe(this,_0x8ae507(0x3a1),null),(this['unitID']=_0x2358ed,this[_0x8ae507(0x1ce)]=_0x157ddd);}[_0x549351(0x259)](_0x340e03){this['_handlerCallback']=_0x340e03;}[_0x549351(0x3b5)](){var _0x4a312b=_0x549351;this[_0x4a312b(0x3a1)]=null,super['dispose']();}[_0x549351(0x22d)](){var _0xbe1c8c=_0x549351;const _0x7a29a8=super[_0xbe1c8c(0x22d)]();return _0x7a29a8[_0xbe1c8c(0x234)]=_0x283a48=>{var _0xe02d3f=_0xbe1c8c,_0x528b48,_0x2d7d94;return(_0x2d7d94=(_0x528b48=this[_0xe02d3f(0x3a1)])==null?void 0x0:_0x528b48[_0xe02d3f(0x234)])==null?void 0x0:_0x2d7d94[_0xe02d3f(0x49b)](_0x528b48,_0x283a48);},_0x7a29a8[_0xbe1c8c(0x214)]=_0x3e3710=>{var _0x2f7c49=_0xbe1c8c,_0x13277c,_0x30f7ef;return(_0x30f7ef=(_0x13277c=this[_0x2f7c49(0x3a1)])==null?void 0x0:_0x13277c[_0x2f7c49(0x214)])==null?void 0x0:_0x30f7ef[_0x2f7c49(0x49b)](_0x13277c,_0x3e3710);},_0x7a29a8[_0xbe1c8c(0x47c)]=_0x2db2b4=>{var _0x11709c=_0xbe1c8c,_0x22e5e0,_0x2b947e;return(_0x2b947e=(_0x22e5e0=this[_0x11709c(0x3a1)])==null?void 0x0:_0x22e5e0[_0x11709c(0x47c)])==null?void 0x0:_0x2b947e[_0x11709c(0x49b)](_0x22e5e0,_0x2db2b4);},_0x7a29a8[_0xbe1c8c(0x38e)]=_0x319ca1=>{var _0x119980=_0xbe1c8c,_0x48faaf,_0x112347;return(_0x112347=(_0x48faaf=this[_0x119980(0x3a1)])==null?void 0x0:_0x48faaf[_0x119980(0x38e)])==null?void 0x0:_0x112347['call'](_0x48faaf,_0x319ca1);},_0x7a29a8[_0xbe1c8c(0x41d)]=_0x5ed006=>{var _0x561220=_0xbe1c8c,_0x56489a,_0x19af6b,_0x47a6f1;if(!((_0x56489a=this[_0x561220(0x3a1)])!=null&&_0x56489a[_0x561220(0x41d)]))throw new Error(_0x561220(0x272));return(_0x47a6f1=(_0x19af6b=this[_0x561220(0x3a1)])==null?void 0x0:_0x19af6b[_0x561220(0x41d)])==null?void 0x0:_0x47a6f1['call'](_0x19af6b,_0x5ed006);},_0x7a29a8[_0xbe1c8c(0x47d)]=_0x625d77=>{var _0x5a1cc5=_0xbe1c8c,_0x35cbef,_0x39d6d4,_0x5b965b;if(!((_0x35cbef=this[_0x5a1cc5(0x3a1)])!=null&&_0x35cbef['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5b965b=(_0x39d6d4=this['_handlerCallback'])==null?void 0x0:_0x39d6d4[_0x5a1cc5(0x47d)])==null?void 0x0:_0x5b965b['call'](_0x39d6d4,_0x625d77);},_0x7a29a8;}async[_0x549351(0x356)](){var _0x2c614c=_0x549351;const _0x1b2447=await super['_init']();return this[_0x2c614c(0x3e3)](this['_commandService'][_0x2c614c(0x46d)]((_0xae473c,_0x59a2e2)=>{var _0x1a2ebb=_0x2c614c;if(_0xae473c[_0x1a2ebb(0x1ce)]!==_0x1580f8[_0x1a2ebb(0x1b6)][_0x1a2ebb(0x292)]||_0x59a2e2!=null&&_0x59a2e2[_0x1a2ebb(0x353)]||_0x59a2e2!=null&&_0x59a2e2[_0x1a2ebb(0x3ef)]||_0xae473c['id']===_0x5650a7['RichTextEditingMutation']['id'])return;const _0x2b6281=_0xae473c[_0x1a2ebb(0x21f)];if((_0x2b6281==null?void 0x0:_0x2b6281[_0x1a2ebb(0x434)])!==this[_0x1a2ebb(0x181)])return;const _0x417a94=_0xae473c,_0x41e0be=this['_compressMutationService'][_0x1a2ebb(0x1f9)]['fetchThroughInterceptors'](this[_0x1a2ebb(0x1de)][_0x1a2ebb(0x1f9)]['getInterceptPoints']()[_0x1a2ebb(0x388)])([_0x417a94],null)||[_0x417a94];this[_0x1a2ebb(0x4af)](_0x41e0be[0x0]);})),_0x1b2447;}},_0x1ac966['DocCollaborationEntity']=_0x945426([_0x3e315c(0x3,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x3e315c(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x2b5)])),_0x3e315c(0x5,_0x1580f8['Inject'](_0x1580f8['LocaleService'])),_0x3e315c(0x6,_0x1580f8[_0x549351(0x2d9)](_0x1273bf['RevisionService'])),_0x3e315c(0x7,_0x1580f8[_0x549351(0x2d9)](_0x1667ed)),_0x3e315c(0x8,_0x1580f8[_0x549351(0x3aa)]),_0x3e315c(0x9,_0x1580f8[_0x549351(0x306)]),_0x3e315c(0xa,_0x1580f8['IPermissionService']),_0x3e315c(0xb,_0x1580f8['Optional'](_0x431ecc)),_0x3e315c(0xc,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966['DocCollaborationEntity']),_0x1ac966[_0x549351(0x3b2)]=class extends _0x1ac966[_0x549351(0x44b)]{constructor(_0x2f8dd0,_0x38bd75,_0x38f543,_0x27fd3a,_0x51afba,_0x49feb5,_0x3ab9c7,_0x402ede,_0x1aaace,_0xa54fb7,_0x371359,_0x4586db,_0x37c124,_0x2cced5){var _0x27ab1a=_0x549351;super(_0x2f8dd0,_0x38f543,_0x38bd75,_0x27fd3a,_0x51afba,_0x49feb5,_0x3ab9c7,_0x1aaace,_0xa54fb7,_0x371359,_0x4586db,_0x37c124,_0x2cced5),this[_0x27ab1a(0x181)]=_0x2f8dd0,this[_0x27ab1a(0x1ce)]=_0x38bd75,this[_0x27ab1a(0x277)]=_0x402ede;}[_0x549351(0x22d)](){var _0x106105=_0x549351;const _0x4871dd=super[_0x106105(0x22d)]();return _0x4871dd[_0x106105(0x47c)]=_0x571600=>this['_sheetTransformSelectionsService'][_0x106105(0x426)](_0x571600),_0x4871dd;}async[_0x549351(0x356)](){var _0x3b4eda=_0x549351;const _0x20f137=await super[_0x3b4eda(0x356)]();return this[_0x3b4eda(0x3e3)](this[_0x3b4eda(0x250)]['onCommandExecuted']((_0x358cca,_0x1b631f)=>{var _0x37887a=_0x3b4eda;if(_0x358cca['type']!==_0x1580f8['CommandType'][_0x37887a(0x292)]||_0x1b631f!=null&&_0x1b631f[_0x37887a(0x353)]||_0x1b631f!=null&&_0x1b631f[_0x37887a(0x3ef)])return;const _0x2ba32b=_0x358cca[_0x37887a(0x21f)];if((_0x2ba32b==null?void 0x0:_0x2ba32b[_0x37887a(0x434)])!==this[_0x37887a(0x181)])return;const _0x4d2be8=_0x358cca,_0x8f6c05=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x37887a(0x1de)]['interceptor']['getInterceptPoints']()[_0x37887a(0x388)])([_0x4d2be8],null)||[_0x4d2be8];this['_onLocalMutation'](_0x8f6c05[0x0]);})),_0x20f137;}},_0x1ac966[_0x549351(0x3b2)]=_0x945426([_0x3e315c(0x3,_0x1580f8['Inject'](_0x1580f8['Injector'])),_0x3e315c(0x4,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x2b5)])),_0x3e315c(0x5,_0x1580f8[_0x549351(0x2d9)](_0x1580f8['LocaleService'])),_0x3e315c(0x6,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x4ae)])),_0x3e315c(0x7,_0x1580f8[_0x549351(0x2d9)](_0x1ac966[_0x549351(0x249)])),_0x3e315c(0x8,_0x1580f8[_0x549351(0x2d9)](_0x1667ed)),_0x3e315c(0x9,_0x1580f8[_0x549351(0x3aa)]),_0x3e315c(0xa,_0x1580f8[_0x549351(0x306)]),_0x3e315c(0xb,_0x1580f8[_0x549351(0x15f)]),_0x3e315c(0xc,_0x1580f8[_0x549351(0x24c)](_0x431ecc)),_0x3e315c(0xd,_0x1580f8[_0x549351(0x24c)](_0x2e9c48))],_0x1ac966[_0x549351(0x3b2)]);var _0x185756=Object[_0x549351(0x3ff)],_0x1cfbfc=(_0x5c8980,_0xb0ba37,_0x2ef1ef,_0x3ff169)=>{var _0x395f8e=_0x549351;for(var _0x46f181=_0x3ff169>0x1?void 0x0:_0x3ff169?_0x185756(_0xb0ba37,_0x2ef1ef):_0xb0ba37,_0x163687=_0x5c8980[_0x395f8e(0x3ea)]-0x1,_0x26aa18;_0x163687>=0x0;_0x163687--)(_0x26aa18=_0x5c8980[_0x163687])&&(_0x46f181=_0x26aa18(_0x46f181)||_0x46f181);return _0x46f181;},_0xd51b25=(_0x2acab7,_0x2414b7)=>(_0x3374ab,_0x40a0ec)=>_0x2414b7(_0x3374ab,_0x40a0ec,_0x2acab7);_0x1ac966[_0x549351(0x201)]=class extends _0x1580f8['RxDisposable']{constructor(_0x1f4ed7,_0x4c51d4,_0x406ea6){var _0x5527cd=_0x549351;super(),_0x1ad8fe(this,_0x5527cd(0x251),new Map()),_0x1ad8fe(this,_0x5527cd(0x490),new _0xdf3790[(_0x5527cd(0x32d))]()),_0x1ad8fe(this,'entityInit$',this[_0x5527cd(0x490)][_0x5527cd(0x1f5)]()),(this[_0x5527cd(0x2c4)]=_0x1f4ed7,this[_0x5527cd(0x33e)]=_0x4c51d4,this[_0x5527cd(0x326)]=_0x406ea6,this['_init']());}[_0x549351(0x3b5)](){var _0x4add94=_0x549351;super[_0x4add94(0x3b5)](),this[_0x4add94(0x251)][_0x4add94(0x2b0)](_0x18e262=>_0x18e262[_0x4add94(0x3b5)]()),this[_0x4add94(0x251)]['clear']();}[_0x549351(0x47b)](_0x521ede){var _0x7c731b=_0x549351,_0x50a07c;return(_0x50a07c=this[_0x7c731b(0x251)][_0x7c731b(0x37d)](_0x521ede))!=null?_0x50a07c:null;}[_0x549351(0x3cc)](_0x325d2e){var _0x3e199d=_0x549351;const _0x42068f=this[_0x3e199d(0x47b)](_0x325d2e);return _0x42068f?_0xdf3790['of'](_0x42068f):this[_0x3e199d(0x490)][_0x3e199d(0x48a)](_0x2f0ffe[_0x3e199d(0x3b9)](_0x453681=>_0x453681[_0x3e199d(0x181)]===_0x325d2e));}[_0x549351(0x30b)](_0x1cd1e9){var _0x2f6f13=_0x549351;return _0xdf3790[_0x2f6f13(0x198)](this[_0x2f6f13(0x3cc)](_0x1cd1e9)[_0x2f6f13(0x48a)](_0x2f0ffe[_0x2f6f13(0x4b7)](()=>{})));}['_init'](){var _0x9abbb0=_0x549351;this[_0x9abbb0(0x326)][_0x9abbb0(0x42d)](_0x1580f8['UniverInstanceType'][_0x9abbb0(0x158)])[_0x9abbb0(0x48a)](_0xdf3790['takeUntil'](this[_0x9abbb0(0x2e3)]),_0x2f0ffe[_0x9abbb0(0x35b)](0x10))['subscribe'](async _0x5b2122=>{var _0x5637a5=_0x9abbb0;const _0x153620=_0x5b2122['getUnitId'](),_0x2e8fbe=await this['_startCollaboration'](_0x153620,_0xe53b2e[_0x5637a5(0x158)]);this['_entities'][_0x5637a5(0x4a7)](_0x153620,_0x2e8fbe);}),this[_0x9abbb0(0x326)][_0x9abbb0(0x42d)](_0x1580f8[_0x9abbb0(0x3fb)]['UNIVER_DOC'])['pipe'](_0xdf3790[_0x9abbb0(0x387)](this[_0x9abbb0(0x2e3)]),_0x2f0ffe[_0x9abbb0(0x35b)](0x10))['pipe'](_0x2f0ffe[_0x9abbb0(0x3b9)](_0x428535=>!_0x428535[_0x9abbb0(0x3cf)]()[_0x9abbb0(0x238)]('__')))['subscribe'](async _0xebc118=>{var _0x139aea=_0x9abbb0;const _0x320e2d=_0xebc118[_0x139aea(0x3cf)](),_0x3e2f6f=await this[_0x139aea(0x266)](_0x320e2d,_0xe53b2e['UNIVER_DOC']);this[_0x139aea(0x251)][_0x139aea(0x4a7)](_0x320e2d,_0x3e2f6f);}),_0xdf3790[_0x9abbb0(0x29f)](this[_0x9abbb0(0x326)][_0x9abbb0(0x450)](_0x1580f8[_0x9abbb0(0x3fb)][_0x9abbb0(0x158)]),this[_0x9abbb0(0x326)][_0x9abbb0(0x450)](_0x1580f8[_0x9abbb0(0x3fb)][_0x9abbb0(0x448)]))[_0x9abbb0(0x48a)](_0xdf3790['takeUntil'](this[_0x9abbb0(0x2e3)]))[_0x9abbb0(0x4ab)](_0x18568a=>{var _0x5c5cac=_0x9abbb0;const _0x3f1a42=_0x18568a['getUnitId'](),_0x4dc41c=this[_0x5c5cac(0x251)]['get'](_0x3f1a42);_0x4dc41c&&(_0x4dc41c[_0x5c5cac(0x3b5)](),this[_0x5c5cac(0x251)][_0x5c5cac(0x1e3)](_0x3f1a42));});}async[_0x549351(0x266)](_0x4a6dc4,_0x55b62a){var _0x72c6ed=_0x549351;const _0x5e6b8f=await this['_collabSessionService'][_0x72c6ed(0x341)](_0x4a6dc4),_0x1f679c=this['_injector']['createInstance'](this['_getCtorByUniverType'](_0x55b62a),_0x4a6dc4,_0x55b62a,_0x5e6b8f);return await _0x1f679c['init'](),this[_0x72c6ed(0x490)]['next'](_0x1f679c),_0x1f679c;}[_0x549351(0x1f8)](_0x513c8e){var _0x3523f7=_0x549351;switch(_0x513c8e){case _0xe53b2e[_0x3523f7(0x448)]:return _0x1ac966['DocCollaborationEntity'];case _0xe53b2e['UNIVER_SHEET']:return _0x1ac966[_0x3523f7(0x3b2)];default:throw new Error(_0x3523f7(0x36d)+_0x513c8e);}}},_0x1ac966[_0x549351(0x201)]=_0x1cfbfc([_0xd51b25(0x0,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0xd51b25(0x1,_0x1580f8[_0x549351(0x2d9)](_0x1ac966['CollaborationSessionService'])),_0xd51b25(0x2,_0x1580f8['IUniverInstanceService'])],_0x1ac966['CollaborationController']);var _0x12def3=Object[_0x549351(0x3ff)],_0x285ba3=(_0x2bfdc4,_0x5b0120,_0x4ac295,_0x39d938)=>{var _0x3ab5bb=_0x549351;for(var _0x42ed9c=_0x39d938>0x1?void 0x0:_0x39d938?_0x12def3(_0x5b0120,_0x4ac295):_0x5b0120,_0x59ce74=_0x2bfdc4[_0x3ab5bb(0x3ea)]-0x1,_0x253df1;_0x59ce74>=0x0;_0x59ce74--)(_0x253df1=_0x2bfdc4[_0x59ce74])&&(_0x42ed9c=_0x253df1(_0x42ed9c)||_0x42ed9c);return _0x42ed9c;},_0x5d5d73=(_0xded8ec,_0x597881)=>(_0x16f394,_0x82d2c8)=>_0x597881(_0x16f394,_0x82d2c8,_0xded8ec);const _0x154c58=_0x549351(0x463),_0x5a079c=_0x549351(0x2ea);let _0x405f9d=class extends _0x1580f8[_0x549351(0x208)]{constructor(_0x25a7ee,_0x48e97d){var _0x321029=_0x549351;super(),this[_0x321029(0x326)]=_0x25a7ee,this[_0x321029(0x475)]=_0x48e97d,this[_0x321029(0x356)]();}[_0x549351(0x356)](){var _0x36795f=_0x549351;this[_0x36795f(0x3e3)](this[_0x36795f(0x326)]['focused$'][_0x36795f(0x4ab)](()=>{var _0x52c0bb=_0x36795f,_0x108cd6;const _0x25ce33=this[_0x52c0bb(0x326)][_0x52c0bb(0x41f)]();let _0x4cf1fd=(_0x108cd6=this[_0x52c0bb(0x475)][_0x52c0bb(0x1ca)](_0x154c58))!=null?_0x108cd6:_0x5a079c;_0x25ce33 instanceof _0x1580f8[_0x52c0bb(0x343)]&&(_0x4cf1fd=_0x25ce33['name']),document[_0x52c0bb(0x369)]=_0x4cf1fd;}));}};_0x405f9d=_0x285ba3([_0x5d5d73(0x0,_0x1580f8[_0x549351(0x3ce)]),_0x5d5d73(0x1,_0x1580f8[_0x549351(0x424)])],_0x405f9d);var _0x263f2c=Object['getOwnPropertyDescriptor'],_0x662bc8=(_0x32a026,_0x5ced5a,_0x3992f7,_0x42b11f)=>{var _0x4003ab=_0x549351;for(var _0x457a81=_0x42b11f>0x1?void 0x0:_0x42b11f?_0x263f2c(_0x5ced5a,_0x3992f7):_0x5ced5a,_0x42efd9=_0x32a026[_0x4003ab(0x3ea)]-0x1,_0x1e440d;_0x42efd9>=0x0;_0x42efd9--)(_0x1e440d=_0x32a026[_0x42efd9])&&(_0x457a81=_0x1e440d(_0x457a81)||_0x457a81);return _0x457a81;},_0x2b8740=(_0x3581a5,_0x521acf)=>(_0x5df9df,_0x2d4af9)=>_0x521acf(_0x5df9df,_0x2d4af9,_0x3581a5);let _0x368e2f=class{constructor(_0x4c87d0,_0x7afcbb,_0x3dedb9){var _0x3c3953=_0x549351;this[_0x3c3953(0x475)]=_0x4c87d0,this[_0x3c3953(0x440)]=_0x7afcbb,this[_0x3c3953(0x289)]=_0x3dedb9,this[_0x3c3953(0x3f2)]();}[_0x549351(0x3f2)](){var _0x38c2d5=_0x549351;this[_0x38c2d5(0x440)][_0x38c2d5(0x188)]({'priority':0x1,'interceptor':(_0x14519a,_0x985709)=>_0x985709(_0x14519a)[_0x38c2d5(0x48a)](_0xdf3790[_0x38c2d5(0x1ea)](async _0x2769b4=>{var _0x5172bb=_0x38c2d5;const _0x29feeb=_0x2769b4;if(_0x29feeb['status']===0x191){if(typeof window>'u')throw new Error(_0x5172bb(0x351));if(window[_0x5172bb(0x142)](this[_0x5172bb(0x289)]['t'](_0x5172bb(0x1be)))){const _0x290352=window['encodeURIComponent'](window[_0x5172bb(0x48e)][_0x5172bb(0x3b4)]);window[_0x5172bb(0x48e)]['href']=this[_0x5172bb(0x26c)]()+_0x5172bb(0x21a)+_0x290352;}}return _0x29feeb;}))});}[_0x549351(0x26c)](){var _0x5d02f5=_0x549351,_0x3d7165,_0x325623;const _0x365d13=this['_configService'][_0x5d02f5(0x1ca)](_0x4fd29a),_0x44c242=this[_0x5d02f5(0x475)][_0x5d02f5(0x1ca)](_0x1db2ed);return(_0x325623=(_0x3d7165=_0x44c242==null?void 0x0:_0x44c242[_0x5d02f5(0x2af)])!=null?_0x3d7165:_0x365d13)!=null?_0x325623:_0x167b2c;}};_0x368e2f=_0x662bc8([_0x2b8740(0x0,_0x1580f8[_0x549351(0x424)]),_0x2b8740(0x1,_0x1580f8[_0x549351(0x2d9)](_0x2864cd[_0x549351(0x1ac)])),_0x2b8740(0x2,_0x1580f8['Inject'](_0x1580f8[_0x549351(0x3eb)]))],_0x368e2f);var _0x445958=Object[_0x549351(0x3ff)],_0x115b00=(_0x143285,_0x434c92,_0xb36fa5,_0x13cc8a)=>{var _0x12e3e1=_0x549351;for(var _0x1988ea=_0x13cc8a>0x1?void 0x0:_0x13cc8a?_0x445958(_0x434c92,_0xb36fa5):_0x434c92,_0x59ca44=_0x143285[_0x12e3e1(0x3ea)]-0x1,_0x237b70;_0x59ca44>=0x0;_0x59ca44--)(_0x237b70=_0x143285[_0x59ca44])&&(_0x1988ea=_0x237b70(_0x1988ea)||_0x1988ea);return _0x1988ea;},_0x4cb907=(_0x1330a9,_0x17d1e1)=>(_0x13aea4,_0x515199)=>_0x17d1e1(_0x13aea4,_0x515199,_0x1330a9);const _0x2d05be=_0x549351(0x1b5),_0x24a350=_0x549351(0x374);_0x1ac966[_0x549351(0x1b1)]=class extends _0x1580f8[_0x549351(0x208)]{constructor(_0x58d189,_0xa262ec){var _0x2e014a=_0x549351;super(),this['_HTTPService']=_0x58d189,this['_configService']=_0xa262ec,this[_0x2e014a(0x1d6)]();}['_initMergeInterceptor'](){var _0x5df4e6=_0x549351;const _0xe795b0=this;this[_0x5df4e6(0x3e3)](this[_0x5df4e6(0x204)][_0x5df4e6(0x188)]({'priority':0x3e7,'interceptor':_0x2864cd[_0x5df4e6(0x1ec)]({'isMatch'(_0x11f48a){var _0x459adc=_0x5df4e6,_0x4786a4;if(_0x11f48a[_0x459adc(0x229)]==='POST'&&((_0x4786a4=_0x11f48a[_0x459adc(0x24e)])!=null&&_0x4786a4[_0x459adc(0x441)])){const {objectID:_0x3ccee7,objectType:_0x40c480}=_0x11f48a[_0x459adc(0x24e)][_0x459adc(0x441)]||{};if(!_0x3ccee7||_0x40c480===void 0x0)return!0x1;const _0x547161=_0xe795b0[_0x459adc(0x165)]()+'/'+_0x40c480+_0x459adc(0x40d)+_0x3ccee7+_0x459adc(0x18c);if(_0x11f48a[_0x459adc(0x248)]===_0x547161)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4212c4){var _0x47b08f=_0x5df4e6,_0x8cf01;return(_0x8cf01=_0x4212c4[_0x47b08f(0x24e)])==null?void 0x0:_0x8cf01['body'];},'mergeParamsToRequest'(_0x4c11ad,_0x26c5d7){var _0x945f2d=_0x5df4e6;const _0x43687b=_0xe795b0[_0x945f2d(0x165)]()+_0x945f2d(0x35c),_0x7cdc9=_0x4c11ad['reduce']((_0xbfdcdc,_0x33c352)=>{var _0x3af32a=_0x945f2d;const {unitID:_0x236910,objectID:_0x3f21b5,objectType:_0x584a48,actions:_0x2477f3}=_0x33c352;return _0xbfdcdc[_0x236910]||(_0xbfdcdc[_0x236910]={}),_0xbfdcdc[_0x236910][_0x3f21b5]||(_0xbfdcdc[_0x236910][_0x3f21b5]={'objectID':_0x3f21b5,'objectType':_0x584a48,'actions':[]}),_0xbfdcdc[_0x236910][_0x3f21b5][_0x3af32a(0x2ec)][_0x3af32a(0x2c6)](..._0x2477f3),_0xbfdcdc;},{}),_0x1ada7c=[];for(const _0x27dd5c in _0x7cdc9)for(const _0x2f5baf in _0x7cdc9[_0x27dd5c]){const {actions:_0x32c9bb,objectType:_0x3a4e4c}=_0x7cdc9[_0x27dd5c][_0x2f5baf],_0xc42f55=[...new Set(_0x32c9bb)];_0x1ada7c['push']({'unitID':_0x27dd5c,'objectID':_0x2f5baf,'objectType':_0x3a4e4c,'actions':_0xc42f55});}return new _0x2864cd[(_0x945f2d(0x324))](_0x945f2d(0x2e0),_0x43687b,{'headers':_0x26c5d7[_0x945f2d(0x2a0)],'withCredentials':_0x26c5d7[_0x945f2d(0x1e8)],'responseType':_0x26c5d7[_0x945f2d(0x19f)],'body':{'requests':_0x1ada7c}});}},{'distributeResult'(_0x107ce7,_0x10b89e){const {objectActions:_0x5880f8}=_0x107ce7;return _0x10b89e['map'](_0x4e6ab8=>{var _0x4f60a9=_0x8cbe;const {unitID:_0x241230,objectID:_0x3776e6,actions:_0x509f58}=_0x4e6ab8,_0x40dbf2=_0x5880f8[_0x4f60a9(0x4c7)](_0x15f0f1=>_0x15f0f1[_0x4f60a9(0x181)]===_0x241230&&_0x15f0f1[_0x4f60a9(0x287)]===_0x3776e6),_0x4000f5=_0x509f58[_0x4f60a9(0x4b7)](_0x439d59=>_0x40dbf2==null?void 0x0:_0x40dbf2['actions'][_0x4f60a9(0x4c7)](_0xf54059=>_0xf54059[_0x4f60a9(0x2bc)]===_0x439d59))[_0x4f60a9(0x3b9)](_0x4117d3=>!!_0x4117d3);return{'config':_0x4e6ab8,'result':{'actions':_0x4000f5,'error':_0x107ce7[_0x4f60a9(0x4aa)]}};});}})}));}[_0x549351(0x165)](){var _0x159749=_0x549351,_0x36d37a,_0x3173a9;const _0x17b683=this['_configService'][_0x159749(0x1ca)](_0x2d05be),_0x45284f=this[_0x159749(0x475)][_0x159749(0x1ca)](_0x1db2ed);return(_0x3173a9=(_0x36d37a=_0x45284f==null?void 0x0:_0x45284f[_0x159749(0x377)])!=null?_0x36d37a:_0x17b683)!=null?_0x3173a9:_0x24a350;}async[_0x549351(0x17c)](_0x101d88){var _0x19f902=_0x549351;const _0x431428=this[_0x19f902(0x165)]()+'/'+_0x101d88[_0x19f902(0x30a)]+_0x19f902(0x479);return(await this['_HTTPService'][_0x19f902(0x315)](_0x431428,{'body':_0x101d88}))[_0x19f902(0x441)][_0x19f902(0x287)]||'';}async['list'](_0x35b46e){var _0x2100da=_0x549351;const _0x7edc8d=this[_0x2100da(0x165)]()+'/-/object/list';return(await this[_0x2100da(0x204)][_0x2100da(0x315)](_0x7edc8d,{'body':_0x35b46e}))[_0x2100da(0x441)]['objects'];}async[_0x549351(0x170)](_0x5ae54f){var _0x409856=_0x549351,_0x52ebde,_0x109ccf;const _0x420c44=this['_getAPIPrefixPath']()+'/'+_0x5ae54f[_0x409856(0x30a)]+_0x409856(0x40d)+_0x5ae54f['objectID'],_0x5740d0=await this[_0x409856(0x204)][_0x409856(0x270)](_0x420c44,{'body':_0x5ae54f});if(((_0x109ccf=(_0x52ebde=_0x5740d0==null?void 0x0:_0x5740d0['body'])==null?void 0x0:_0x52ebde[_0x409856(0x4aa)])==null?void 0x0:_0x109ccf[_0x409856(0x22c)])!==0x1)throw new Error(_0x409856(0x264));}async[_0x549351(0x3fd)](_0x1202ee){var _0x1368d8=_0x549351;const _0x43a49f=this[_0x1368d8(0x165)]()+'/'+_0x1202ee[_0x1368d8(0x30a)]+_0x1368d8(0x40d)+_0x1202ee['objectID']+_0x1368d8(0x18c);return(await this['_HTTPService'][_0x1368d8(0x315)](_0x43a49f,{'body':_0x1202ee}))['body']['actions'];}async['batchAllowed'](_0x2610c7){var _0x13cf0e=_0x549351;const _0xacefcb=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x13cf0e(0x204)][_0x13cf0e(0x315)](_0xacefcb,{'body':{'requests':_0x2610c7}}))[_0x13cf0e(0x441)][_0x13cf0e(0x3f7)];}async['listRoles'](_0x39beba){var _0xf2c8b8=_0x549351;const _0x1e40f2=this[_0xf2c8b8(0x165)]()+'/'+_0x39beba[_0xf2c8b8(0x30a)]+_0xf2c8b8(0x2b4),_0x3b0287=await this[_0xf2c8b8(0x204)][_0xf2c8b8(0x315)](_0x1e40f2,{'body':_0x39beba});return{'roles':_0x3b0287[_0xf2c8b8(0x441)]['roles'],'actions':_0x3b0287[_0xf2c8b8(0x441)][_0xf2c8b8(0x2ec)]};}async[_0x549351(0x1e4)](_0x176456){var _0x1694df=_0x549351;const _0x5dfca7=this[_0x1694df(0x165)]()+'/collaborator';await this['_HTTPService'][_0x1694df(0x1e3)](_0x5dfca7,{'params':{'collaboratorID':_0x176456[_0x1694df(0x36e)],'objectID':_0x176456[_0x1694df(0x287)],'unitID':_0x176456[_0x1694df(0x181)]}});}async['updateCollaborator'](_0x4d3bf4){var _0x865585=_0x549351;const _0x4a64df=this['_getAPIPrefixPath']()+_0x865585(0x436);await this[_0x865585(0x204)][_0x865585(0x308)](_0x4a64df,{'body':_0x4d3bf4});}async[_0x549351(0x3f8)](_0x3d0118){var _0x57c384=_0x549351;const _0x25c641=this[_0x57c384(0x165)]()+_0x57c384(0x436);await this[_0x57c384(0x204)]['post'](_0x25c641,{'body':_0x3d0118});}async[_0x549351(0x372)](_0x1d2520){var _0xe722f7=_0x549351;const _0x5a3286=this['_getAPIPrefixPath']()+_0xe722f7(0x436);return(await this[_0xe722f7(0x204)][_0xe722f7(0x37d)](_0x5a3286,{'params':{'objectID':_0x1d2520[_0xe722f7(0x287)],'unitID':_0x1d2520[_0xe722f7(0x181)]}}))[_0xe722f7(0x441)]['collaborators'];}async[_0x549351(0x3e5)](_0x5debe5){var _0xbfe54=_0x549351;const _0xe08e6e=this['_getAPIPrefixPath']()+_0xbfe54(0x436);await this[_0xbfe54(0x204)][_0xbfe54(0x270)](_0xe08e6e,{'body':_0x5debe5});}},_0x1ac966[_0x549351(0x1b1)]=_0x115b00([_0x4cb907(0x0,_0x1580f8[_0x549351(0x2d9)](_0x2864cd[_0x549351(0x1ac)])),_0x4cb907(0x1,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x424)]))],_0x1ac966[_0x549351(0x1b1)]);var _0x5ad26d=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x48874a(_0x451d42){var _0x38260c=_0x549351;return _0x451d42&&_0x451d42[_0x38260c(0x362)]&&Object[_0x38260c(0x4a0)][_0x38260c(0x285)][_0x38260c(0x49b)](_0x451d42,_0x38260c(0x366))?_0x451d42[_0x38260c(0x366)]:_0x451d42;}var _0x29552e={'exports':{}};function _0x2b219f(_0x172e8b){var _0x3cf249=_0x549351;throw new Error(_0x3cf249(0x33c)+_0x172e8b+_0x3cf249(0x27d));}var _0x127833={'exports':{}},_0x2c4a8f=_0x127833['exports'],_0x4bde3f;function _0x390438(){var _0x371cea=_0x549351;return _0x4bde3f||(_0x4bde3f=0x1,function(_0x14b55e,_0x5d63bc){(function(_0x199eea,_0x5db8ab){var _0x38f811=_0x8cbe;_0x14b55e[_0x38f811(0x246)]=_0x5db8ab();}(_0x2c4a8f,function(){var _0x2b1c35=_0x2b1c35||function(_0x35a810,_0x376fe4){var _0x4b3a77=_0x8cbe,_0x7a67f4;if(typeof window<'u'&&window[_0x4b3a77(0x1c0)]&&(_0x7a67f4=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x7a67f4=self[_0x4b3a77(0x1c0)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x7a67f4=globalThis['crypto']),!_0x7a67f4&&typeof window<'u'&&window['msCrypto']&&(_0x7a67f4=window[_0x4b3a77(0x154)]),!_0x7a67f4&&typeof _0x5ad26d<'u'&&_0x5ad26d[_0x4b3a77(0x1c0)]&&(_0x7a67f4=_0x5ad26d[_0x4b3a77(0x1c0)]),!_0x7a67f4&&typeof _0x2b219f==_0x4b3a77(0x43a))try{_0x7a67f4=require(_0x4b3a77(0x1c0));}catch{}var _0xe44674=function(){var _0x522d0b=_0x4b3a77;if(_0x7a67f4){if(typeof _0x7a67f4[_0x522d0b(0x33a)]==_0x522d0b(0x43a))try{return _0x7a67f4['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x7a67f4['randomBytes']==_0x522d0b(0x43a))try{return _0x7a67f4[_0x522d0b(0x26e)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x522d0b(0x446));},_0xcecbe7=Object['create']||(function(){function _0x517e8b(){}return function(_0x256f36){var _0x75ca29=_0x8cbe,_0x255da6;return _0x517e8b[_0x75ca29(0x4a0)]=_0x256f36,_0x255da6=new _0x517e8b(),_0x517e8b[_0x75ca29(0x4a0)]=null,_0x255da6;};}()),_0x552d03={},_0x33f24b=_0x552d03['lib']={},_0x57edfc=_0x33f24b[_0x4b3a77(0x291)]=(function(){return{'extend':function(_0x24ab41){var _0x1659eb=_0x8cbe,_0x4e7deb=_0xcecbe7(this);return _0x24ab41&&_0x4e7deb[_0x1659eb(0x478)](_0x24ab41),(!_0x4e7deb[_0x1659eb(0x285)](_0x1659eb(0x3f2))||this[_0x1659eb(0x3f2)]===_0x4e7deb[_0x1659eb(0x3f2)])&&(_0x4e7deb[_0x1659eb(0x3f2)]=function(){var _0x3a029c=_0x1659eb;_0x4e7deb['$super'][_0x3a029c(0x3f2)]['apply'](this,arguments);}),_0x4e7deb[_0x1659eb(0x3f2)][_0x1659eb(0x4a0)]=_0x4e7deb,_0x4e7deb[_0x1659eb(0x4ca)]=this,_0x4e7deb;},'create':function(){var _0x1c2187=_0x8cbe,_0xf8dd38=this[_0x1c2187(0x2bf)]();return _0xf8dd38[_0x1c2187(0x3f2)][_0x1c2187(0x1e1)](_0xf8dd38,arguments),_0xf8dd38;},'init':function(){},'mixIn':function(_0x65dcc7){var _0xf0b1d1=_0x8cbe;for(var _0x22d371 in _0x65dcc7)_0x65dcc7[_0xf0b1d1(0x285)](_0x22d371)&&(this[_0x22d371]=_0x65dcc7[_0x22d371]);_0x65dcc7[_0xf0b1d1(0x285)](_0xf0b1d1(0x27a))&&(this['toString']=_0x65dcc7[_0xf0b1d1(0x27a)]);},'clone':function(){var _0x4f971d=_0x8cbe;return this['init'][_0x4f971d(0x4a0)][_0x4f971d(0x2bf)](this);}};}()),_0x4a3969=_0x33f24b['WordArray']=_0x57edfc[_0x4b3a77(0x2bf)]({'init':function(_0x1f38e0,_0x4d6a25){var _0x52880c=_0x4b3a77;_0x1f38e0=this[_0x52880c(0x144)]=_0x1f38e0||[],_0x4d6a25!=_0x376fe4?this[_0x52880c(0x37f)]=_0x4d6a25:this[_0x52880c(0x37f)]=_0x1f38e0[_0x52880c(0x3ea)]*0x4;},'toString':function(_0x4014a1){return(_0x4014a1||_0x1679de)['stringify'](this);},'concat':function(_0x329380){var _0x42343a=_0x4b3a77,_0x109bbb=this[_0x42343a(0x144)],_0x48e420=_0x329380['words'],_0x16ab55=this[_0x42343a(0x37f)],_0x584b8c=_0x329380['sigBytes'];if(this[_0x42343a(0x18f)](),_0x16ab55%0x4)for(var _0xe29d98=0x0;_0xe29d98<_0x584b8c;_0xe29d98++){var _0x51d400=_0x48e420[_0xe29d98>>>0x2]>>>0x18-_0xe29d98%0x4*0x8&0xff;_0x109bbb[_0x16ab55+_0xe29d98>>>0x2]|=_0x51d400<<0x18-(_0x16ab55+_0xe29d98)%0x4*0x8;}else{for(var _0x904092=0x0;_0x904092<_0x584b8c;_0x904092+=0x4)_0x109bbb[_0x16ab55+_0x904092>>>0x2]=_0x48e420[_0x904092>>>0x2];}return this[_0x42343a(0x37f)]+=_0x584b8c,this;},'clamp':function(){var _0xbfacc4=_0x4b3a77,_0x18405=this[_0xbfacc4(0x144)],_0x1d71a9=this[_0xbfacc4(0x37f)];_0x18405[_0x1d71a9>>>0x2]&=0xffffffff<<0x20-_0x1d71a9%0x4*0x8,_0x18405[_0xbfacc4(0x3ea)]=_0x35a810[_0xbfacc4(0x442)](_0x1d71a9/0x4);},'clone':function(){var _0x43527b=_0x4b3a77,_0x43009c=_0x57edfc[_0x43527b(0x486)]['call'](this);return _0x43009c[_0x43527b(0x144)]=this[_0x43527b(0x144)][_0x43527b(0x1af)](0x0),_0x43009c;},'random':function(_0x234bb8){var _0x1e054c=_0x4b3a77;for(var _0xd351ba=[],_0x480665=0x0;_0x480665<_0x234bb8;_0x480665+=0x4)_0xd351ba['push'](_0xe44674());return new _0x4a3969[(_0x1e054c(0x3f2))](_0xd351ba,_0x234bb8);}}),_0x1c3fa8=_0x552d03['enc']={},_0x1679de=_0x1c3fa8[_0x4b3a77(0x36a)]={'stringify':function(_0x2da5fe){var _0xb8c149=_0x4b3a77;for(var _0x5a5d38=_0x2da5fe['words'],_0x457165=_0x2da5fe['sigBytes'],_0x1c0d98=[],_0x12834a=0x0;_0x12834a<_0x457165;_0x12834a++){var _0x44ddc8=_0x5a5d38[_0x12834a>>>0x2]>>>0x18-_0x12834a%0x4*0x8&0xff;_0x1c0d98[_0xb8c149(0x2c6)]((_0x44ddc8>>>0x4)[_0xb8c149(0x27a)](0x10)),_0x1c0d98[_0xb8c149(0x2c6)]((_0x44ddc8&0xf)[_0xb8c149(0x27a)](0x10));}return _0x1c0d98[_0xb8c149(0x347)]('');},'parse':function(_0x367efb){var _0xae73a4=_0x4b3a77;for(var _0x273e1d=_0x367efb[_0xae73a4(0x3ea)],_0x3c00a5=[],_0x4b0b7d=0x0;_0x4b0b7d<_0x273e1d;_0x4b0b7d+=0x2)_0x3c00a5[_0x4b0b7d>>>0x3]|=parseInt(_0x367efb[_0xae73a4(0x18a)](_0x4b0b7d,0x2),0x10)<<0x18-_0x4b0b7d%0x8*0x4;return new _0x4a3969[(_0xae73a4(0x3f2))](_0x3c00a5,_0x273e1d/0x2);}},_0x3d9a23=_0x1c3fa8['Latin1']={'stringify':function(_0x166558){var _0x49b129=_0x4b3a77;for(var _0x3952d2=_0x166558[_0x49b129(0x144)],_0x4757d5=_0x166558[_0x49b129(0x37f)],_0x587e60=[],_0x435cdb=0x0;_0x435cdb<_0x4757d5;_0x435cdb++){var _0x51ab3e=_0x3952d2[_0x435cdb>>>0x2]>>>0x18-_0x435cdb%0x4*0x8&0xff;_0x587e60['push'](String[_0x49b129(0x3b8)](_0x51ab3e));}return _0x587e60[_0x49b129(0x347)]('');},'parse':function(_0x593f74){var _0xfc2de0=_0x4b3a77;for(var _0x264b12=_0x593f74[_0xfc2de0(0x3ea)],_0x3297ec=[],_0x39e170=0x0;_0x39e170<_0x264b12;_0x39e170++)_0x3297ec[_0x39e170>>>0x2]|=(_0x593f74[_0xfc2de0(0x1a5)](_0x39e170)&0xff)<<0x18-_0x39e170%0x4*0x8;return new _0x4a3969[(_0xfc2de0(0x3f2))](_0x3297ec,_0x264b12);}},_0x3000ac=_0x1c3fa8[_0x4b3a77(0x493)]={'stringify':function(_0x230965){var _0x5099e4=_0x4b3a77;try{return decodeURIComponent(escape(_0x3d9a23[_0x5099e4(0x282)](_0x230965)));}catch{throw new Error(_0x5099e4(0x3f9));}},'parse':function(_0xf8d39e){return _0x3d9a23['parse'](unescape(encodeURIComponent(_0xf8d39e)));}},_0x48927b=_0x33f24b['BufferedBlockAlgorithm']=_0x57edfc[_0x4b3a77(0x2bf)]({'reset':function(){var _0x1de64b=_0x4b3a77;this[_0x1de64b(0x3ab)]=new _0x4a3969['init'](),this['_nDataBytes']=0x0;},'_append':function(_0xaf58a1){var _0x299588=_0x4b3a77;typeof _0xaf58a1==_0x299588(0x2e8)&&(_0xaf58a1=_0x3000ac[_0x299588(0x4b4)](_0xaf58a1)),this[_0x299588(0x3ab)]['concat'](_0xaf58a1),this[_0x299588(0x2e2)]+=_0xaf58a1[_0x299588(0x37f)];},'_process':function(_0xc62acd){var _0x16fa31=_0x4b3a77,_0x11faef,_0x149cfb=this[_0x16fa31(0x3ab)],_0x41950b=_0x149cfb[_0x16fa31(0x144)],_0x30ef62=_0x149cfb[_0x16fa31(0x37f)],_0x5450b9=this[_0x16fa31(0x36c)],_0x2579e5=_0x5450b9*0x4,_0x557ea0=_0x30ef62/_0x2579e5;_0xc62acd?_0x557ea0=_0x35a810[_0x16fa31(0x442)](_0x557ea0):_0x557ea0=_0x35a810['max']((_0x557ea0|0x0)-this[_0x16fa31(0x1dd)],0x0);var _0x180a8d=_0x557ea0*_0x5450b9,_0x37ddf6=_0x35a810[_0x16fa31(0x1bf)](_0x180a8d*0x4,_0x30ef62);if(_0x180a8d){for(var _0x764a0=0x0;_0x764a0<_0x180a8d;_0x764a0+=_0x5450b9)this[_0x16fa31(0x1e0)](_0x41950b,_0x764a0);_0x11faef=_0x41950b[_0x16fa31(0x1cb)](0x0,_0x180a8d),_0x149cfb[_0x16fa31(0x37f)]-=_0x37ddf6;}return new _0x4a3969['init'](_0x11faef,_0x37ddf6);},'clone':function(){var _0x1c99db=_0x4b3a77,_0xc9af4e=_0x57edfc[_0x1c99db(0x486)][_0x1c99db(0x49b)](this);return _0xc9af4e[_0x1c99db(0x3ab)]=this[_0x1c99db(0x3ab)]['clone'](),_0xc9af4e;},'_minBufferSize':0x0});_0x33f24b[_0x4b3a77(0x3a3)]=_0x48927b[_0x4b3a77(0x2bf)]({'cfg':_0x57edfc[_0x4b3a77(0x2bf)](),'init':function(_0x48dc07){var _0x15f4e9=_0x4b3a77;this[_0x15f4e9(0x384)]=this[_0x15f4e9(0x384)][_0x15f4e9(0x2bf)](_0x48dc07),this['reset']();},'reset':function(){var _0x395ba5=_0x4b3a77;_0x48927b[_0x395ba5(0x4ba)][_0x395ba5(0x49b)](this),this[_0x395ba5(0x39d)]();},'update':function(_0x2968a2){var _0x48270b=_0x4b3a77;return this[_0x48270b(0x1e9)](_0x2968a2),this[_0x48270b(0x145)](),this;},'finalize':function(_0x5df78c){var _0x5737d1=_0x4b3a77;_0x5df78c&&this['_append'](_0x5df78c);var _0x1cba7d=this[_0x5737d1(0x17e)]();return _0x1cba7d;},'blockSize':0x10,'_createHelper':function(_0x493be3){return function(_0x5b42a3,_0x5bfb16){var _0x4e6e7d=_0x8cbe;return new _0x493be3[(_0x4e6e7d(0x3f2))](_0x5bfb16)[_0x4e6e7d(0x1c3)](_0x5b42a3);};},'_createHmacHelper':function(_0xb60257){return function(_0x1d28d1,_0x4f9ffd){return new _0xa88efc['HMAC']['init'](_0xb60257,_0x4f9ffd)['finalize'](_0x1d28d1);};}});var _0xa88efc=_0x552d03['algo']={};return _0x552d03;}(Math);return _0x2b1c35;}));}(_0x127833)),_0x127833[_0x371cea(0x246)];}var _0x5257a2={'exports':{}},_0x4bed87=_0x5257a2[_0x549351(0x246)],_0x20e93d;function _0xcb036b(){var _0x5ad02f=_0x549351;return _0x20e93d||(_0x20e93d=0x1,function(_0x5a9f50,_0x465069){(function(_0x576ad5,_0x2a799f){var _0x3019c7=_0x8cbe;_0x5a9f50[_0x3019c7(0x246)]=_0x2a799f(_0x390438());}(_0x4bed87,function(_0x26c85f){var _0x4c381f=_0x8cbe;return(function(){var _0x5ecbfd=_0x8cbe,_0x1f449c=_0x26c85f,_0x56fcc6=_0x1f449c['lib'],_0x347516=_0x56fcc6[_0x5ecbfd(0x2cb)],_0x5af538=_0x1f449c[_0x5ecbfd(0x23c)];_0x5af538['Base64']={'stringify':function(_0x3fb909){var _0x3acfa6=_0x5ecbfd,_0x16cc4e=_0x3fb909[_0x3acfa6(0x144)],_0x426c41=_0x3fb909['sigBytes'],_0xd42dd6=this['_map'];_0x3fb909['clamp']();for(var _0x350f70=[],_0x320489=0x0;_0x320489<_0x426c41;_0x320489+=0x3)for(var _0x344b35=_0x16cc4e[_0x320489>>>0x2]>>>0x18-_0x320489%0x4*0x8&0xff,_0x8b761f=_0x16cc4e[_0x320489+0x1>>>0x2]>>>0x18-(_0x320489+0x1)%0x4*0x8&0xff,_0x48a3a7=_0x16cc4e[_0x320489+0x2>>>0x2]>>>0x18-(_0x320489+0x2)%0x4*0x8&0xff,_0x4d4dce=_0x344b35<<0x10|_0x8b761f<<0x8|_0x48a3a7,_0x57caa6=0x0;_0x57caa6<0x4&&_0x320489+_0x57caa6*0.75<_0x426c41;_0x57caa6++)_0x350f70['push'](_0xd42dd6[_0x3acfa6(0x156)](_0x4d4dce>>>0x6*(0x3-_0x57caa6)&0x3f));var _0x1f4bb4=_0xd42dd6[_0x3acfa6(0x156)](0x40);if(_0x1f4bb4){for(;_0x350f70['length']%0x4;)_0x350f70[_0x3acfa6(0x2c6)](_0x1f4bb4);}return _0x350f70[_0x3acfa6(0x347)]('');},'parse':function(_0x365300){var _0x5cae79=_0x5ecbfd,_0x2c2492=_0x365300['length'],_0x4ea637=this[_0x5cae79(0x21c)],_0x2bf16b=this[_0x5cae79(0x13e)];if(!_0x2bf16b){_0x2bf16b=this[_0x5cae79(0x13e)]=[];for(var _0x3a3e26=0x0;_0x3a3e26<_0x4ea637[_0x5cae79(0x3ea)];_0x3a3e26++)_0x2bf16b[_0x4ea637[_0x5cae79(0x1a5)](_0x3a3e26)]=_0x3a3e26;}var _0x1edbe5=_0x4ea637[_0x5cae79(0x156)](0x40);if(_0x1edbe5){var _0x5bdaa0=_0x365300[_0x5cae79(0x420)](_0x1edbe5);_0x5bdaa0!==-0x1&&(_0x2c2492=_0x5bdaa0);}return _0x5f3f3e(_0x365300,_0x2c2492,_0x2bf16b);},'_map':_0x5ecbfd(0x336)};function _0x5f3f3e(_0x324432,_0x38ee14,_0x2de7dc){var _0x222b2f=_0x5ecbfd;for(var _0x1149b0=[],_0x14bb4d=0x0,_0x5c4c83=0x0;_0x5c4c83<_0x38ee14;_0x5c4c83++)if(_0x5c4c83%0x4){var _0x3f6eea=_0x2de7dc[_0x324432['charCodeAt'](_0x5c4c83-0x1)]<<_0x5c4c83%0x4*0x2,_0x2e902e=_0x2de7dc[_0x324432[_0x222b2f(0x1a5)](_0x5c4c83)]>>>0x6-_0x5c4c83%0x4*0x2,_0x5005c3=_0x3f6eea|_0x2e902e;_0x1149b0[_0x14bb4d>>>0x2]|=_0x5005c3<<0x18-_0x14bb4d%0x4*0x8,_0x14bb4d++;}return _0x347516[_0x222b2f(0x17c)](_0x1149b0,_0x14bb4d);}}()),_0x26c85f['enc'][_0x4c381f(0x38d)];}));}(_0x5257a2)),_0x5257a2[_0x5ad02f(0x246)];}var _0x2bb04c={'exports':{}},_0x33d512=_0x2bb04c[_0x549351(0x246)],_0x21f9db;function _0x5436a9(){var _0x17869b=_0x549351;return _0x21f9db||(_0x21f9db=0x1,function(_0x58cddb,_0x5772bd){(function(_0xfa9e94,_0x2f9a8b){var _0x34b4d2=_0x8cbe;_0x58cddb[_0x34b4d2(0x246)]=_0x2f9a8b(_0x390438());}(_0x33d512,function(_0x341164){return function(_0x4dd61b){var _0x465eed=_0x8cbe,_0x24e0da=_0x341164,_0x45744b=_0x24e0da[_0x465eed(0x302)],_0x1167d8=_0x45744b['WordArray'],_0x37fd39=_0x45744b['Hasher'],_0x715c58=_0x24e0da['algo'],_0x5c9699=[];(function(){var _0x4949d2=_0x465eed;for(var _0x5ed6f6=0x0;_0x5ed6f6<0x40;_0x5ed6f6++)_0x5c9699[_0x5ed6f6]=_0x4dd61b[_0x4949d2(0x407)](_0x4dd61b[_0x4949d2(0x4bf)](_0x5ed6f6+0x1))*0x100000000|0x0;}());var _0x671b0e=_0x715c58[_0x465eed(0x296)]=_0x37fd39[_0x465eed(0x2bf)]({'_doReset':function(){var _0x469c66=_0x465eed;this[_0x469c66(0x3be)]=new _0x1167d8[(_0x469c66(0x3f2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xc4bc48,_0x17eb39){var _0x34fbf9=_0x465eed;for(var _0x1e2b9f=0x0;_0x1e2b9f<0x10;_0x1e2b9f++){var _0x5644c9=_0x17eb39+_0x1e2b9f,_0x17267e=_0xc4bc48[_0x5644c9];_0xc4bc48[_0x5644c9]=(_0x17267e<<0x8|_0x17267e>>>0x18)&0xff00ff|(_0x17267e<<0x18|_0x17267e>>>0x8)&0xff00ff00;}var _0x2419c3=this[_0x34fbf9(0x3be)]['words'],_0x1b7c22=_0xc4bc48[_0x17eb39+0x0],_0xac0590=_0xc4bc48[_0x17eb39+0x1],_0x2d1392=_0xc4bc48[_0x17eb39+0x2],_0x498827=_0xc4bc48[_0x17eb39+0x3],_0x496b9f=_0xc4bc48[_0x17eb39+0x4],_0xab316d=_0xc4bc48[_0x17eb39+0x5],_0x5e12f7=_0xc4bc48[_0x17eb39+0x6],_0x2a2e16=_0xc4bc48[_0x17eb39+0x7],_0x1a6432=_0xc4bc48[_0x17eb39+0x8],_0x562054=_0xc4bc48[_0x17eb39+0x9],_0x2b9c62=_0xc4bc48[_0x17eb39+0xa],_0x153ec5=_0xc4bc48[_0x17eb39+0xb],_0x2d30e3=_0xc4bc48[_0x17eb39+0xc],_0x37e287=_0xc4bc48[_0x17eb39+0xd],_0x3e828f=_0xc4bc48[_0x17eb39+0xe],_0x3a5d82=_0xc4bc48[_0x17eb39+0xf],_0x18ba2b=_0x2419c3[0x0],_0x3b9e82=_0x2419c3[0x1],_0x481e3f=_0x2419c3[0x2],_0x46269a=_0x2419c3[0x3];_0x18ba2b=_0x4b702b(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x1b7c22,0x7,_0x5c9699[0x0]),_0x46269a=_0x4b702b(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0xac0590,0xc,_0x5c9699[0x1]),_0x481e3f=_0x4b702b(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x2d1392,0x11,_0x5c9699[0x2]),_0x3b9e82=_0x4b702b(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x498827,0x16,_0x5c9699[0x3]),_0x18ba2b=_0x4b702b(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x496b9f,0x7,_0x5c9699[0x4]),_0x46269a=_0x4b702b(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0xab316d,0xc,_0x5c9699[0x5]),_0x481e3f=_0x4b702b(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x5e12f7,0x11,_0x5c9699[0x6]),_0x3b9e82=_0x4b702b(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x2a2e16,0x16,_0x5c9699[0x7]),_0x18ba2b=_0x4b702b(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x1a6432,0x7,_0x5c9699[0x8]),_0x46269a=_0x4b702b(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x562054,0xc,_0x5c9699[0x9]),_0x481e3f=_0x4b702b(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x2b9c62,0x11,_0x5c9699[0xa]),_0x3b9e82=_0x4b702b(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x153ec5,0x16,_0x5c9699[0xb]),_0x18ba2b=_0x4b702b(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x2d30e3,0x7,_0x5c9699[0xc]),_0x46269a=_0x4b702b(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x37e287,0xc,_0x5c9699[0xd]),_0x481e3f=_0x4b702b(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x3e828f,0x11,_0x5c9699[0xe]),_0x3b9e82=_0x4b702b(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x3a5d82,0x16,_0x5c9699[0xf]),_0x18ba2b=_0x1759ce(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0xac0590,0x5,_0x5c9699[0x10]),_0x46269a=_0x1759ce(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x5e12f7,0x9,_0x5c9699[0x11]),_0x481e3f=_0x1759ce(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x153ec5,0xe,_0x5c9699[0x12]),_0x3b9e82=_0x1759ce(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x1b7c22,0x14,_0x5c9699[0x13]),_0x18ba2b=_0x1759ce(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0xab316d,0x5,_0x5c9699[0x14]),_0x46269a=_0x1759ce(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x2b9c62,0x9,_0x5c9699[0x15]),_0x481e3f=_0x1759ce(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x3a5d82,0xe,_0x5c9699[0x16]),_0x3b9e82=_0x1759ce(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x496b9f,0x14,_0x5c9699[0x17]),_0x18ba2b=_0x1759ce(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x562054,0x5,_0x5c9699[0x18]),_0x46269a=_0x1759ce(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x3e828f,0x9,_0x5c9699[0x19]),_0x481e3f=_0x1759ce(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x498827,0xe,_0x5c9699[0x1a]),_0x3b9e82=_0x1759ce(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x1a6432,0x14,_0x5c9699[0x1b]),_0x18ba2b=_0x1759ce(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x37e287,0x5,_0x5c9699[0x1c]),_0x46269a=_0x1759ce(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x2d1392,0x9,_0x5c9699[0x1d]),_0x481e3f=_0x1759ce(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x2a2e16,0xe,_0x5c9699[0x1e]),_0x3b9e82=_0x1759ce(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x2d30e3,0x14,_0x5c9699[0x1f]),_0x18ba2b=_0x1a2aa8(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0xab316d,0x4,_0x5c9699[0x20]),_0x46269a=_0x1a2aa8(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x1a6432,0xb,_0x5c9699[0x21]),_0x481e3f=_0x1a2aa8(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x153ec5,0x10,_0x5c9699[0x22]),_0x3b9e82=_0x1a2aa8(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x3e828f,0x17,_0x5c9699[0x23]),_0x18ba2b=_0x1a2aa8(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0xac0590,0x4,_0x5c9699[0x24]),_0x46269a=_0x1a2aa8(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x496b9f,0xb,_0x5c9699[0x25]),_0x481e3f=_0x1a2aa8(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x2a2e16,0x10,_0x5c9699[0x26]),_0x3b9e82=_0x1a2aa8(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x2b9c62,0x17,_0x5c9699[0x27]),_0x18ba2b=_0x1a2aa8(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x37e287,0x4,_0x5c9699[0x28]),_0x46269a=_0x1a2aa8(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x1b7c22,0xb,_0x5c9699[0x29]),_0x481e3f=_0x1a2aa8(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x498827,0x10,_0x5c9699[0x2a]),_0x3b9e82=_0x1a2aa8(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x5e12f7,0x17,_0x5c9699[0x2b]),_0x18ba2b=_0x1a2aa8(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x562054,0x4,_0x5c9699[0x2c]),_0x46269a=_0x1a2aa8(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x2d30e3,0xb,_0x5c9699[0x2d]),_0x481e3f=_0x1a2aa8(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x3a5d82,0x10,_0x5c9699[0x2e]),_0x3b9e82=_0x1a2aa8(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x2d1392,0x17,_0x5c9699[0x2f]),_0x18ba2b=_0x5e636f(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x1b7c22,0x6,_0x5c9699[0x30]),_0x46269a=_0x5e636f(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x2a2e16,0xa,_0x5c9699[0x31]),_0x481e3f=_0x5e636f(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x3e828f,0xf,_0x5c9699[0x32]),_0x3b9e82=_0x5e636f(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0xab316d,0x15,_0x5c9699[0x33]),_0x18ba2b=_0x5e636f(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x2d30e3,0x6,_0x5c9699[0x34]),_0x46269a=_0x5e636f(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x498827,0xa,_0x5c9699[0x35]),_0x481e3f=_0x5e636f(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x2b9c62,0xf,_0x5c9699[0x36]),_0x3b9e82=_0x5e636f(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0xac0590,0x15,_0x5c9699[0x37]),_0x18ba2b=_0x5e636f(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x1a6432,0x6,_0x5c9699[0x38]),_0x46269a=_0x5e636f(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x3a5d82,0xa,_0x5c9699[0x39]),_0x481e3f=_0x5e636f(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x5e12f7,0xf,_0x5c9699[0x3a]),_0x3b9e82=_0x5e636f(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x37e287,0x15,_0x5c9699[0x3b]),_0x18ba2b=_0x5e636f(_0x18ba2b,_0x3b9e82,_0x481e3f,_0x46269a,_0x496b9f,0x6,_0x5c9699[0x3c]),_0x46269a=_0x5e636f(_0x46269a,_0x18ba2b,_0x3b9e82,_0x481e3f,_0x153ec5,0xa,_0x5c9699[0x3d]),_0x481e3f=_0x5e636f(_0x481e3f,_0x46269a,_0x18ba2b,_0x3b9e82,_0x2d1392,0xf,_0x5c9699[0x3e]),_0x3b9e82=_0x5e636f(_0x3b9e82,_0x481e3f,_0x46269a,_0x18ba2b,_0x562054,0x15,_0x5c9699[0x3f]),_0x2419c3[0x0]=_0x2419c3[0x0]+_0x18ba2b|0x0,_0x2419c3[0x1]=_0x2419c3[0x1]+_0x3b9e82|0x0,_0x2419c3[0x2]=_0x2419c3[0x2]+_0x481e3f|0x0,_0x2419c3[0x3]=_0x2419c3[0x3]+_0x46269a|0x0;},'_doFinalize':function(){var _0x3a6756=_0x465eed,_0x3af8d7=this[_0x3a6756(0x3ab)],_0x56721e=_0x3af8d7['words'],_0x1d4dd5=this[_0x3a6756(0x2e2)]*0x8,_0xb4efcd=_0x3af8d7['sigBytes']*0x8;_0x56721e[_0xb4efcd>>>0x5]|=0x80<<0x18-_0xb4efcd%0x20;var _0xf7897e=_0x4dd61b['floor'](_0x1d4dd5/0x100000000),_0x58930b=_0x1d4dd5;_0x56721e[(_0xb4efcd+0x40>>>0x9<<0x4)+0xf]=(_0xf7897e<<0x8|_0xf7897e>>>0x18)&0xff00ff|(_0xf7897e<<0x18|_0xf7897e>>>0x8)&0xff00ff00,_0x56721e[(_0xb4efcd+0x40>>>0x9<<0x4)+0xe]=(_0x58930b<<0x8|_0x58930b>>>0x18)&0xff00ff|(_0x58930b<<0x18|_0x58930b>>>0x8)&0xff00ff00,_0x3af8d7['sigBytes']=(_0x56721e['length']+0x1)*0x4,this['_process']();for(var _0x5d3f78=this[_0x3a6756(0x3be)],_0x1143b0=_0x5d3f78[_0x3a6756(0x144)],_0x1870cc=0x0;_0x1870cc<0x4;_0x1870cc++){var _0x4e5347=_0x1143b0[_0x1870cc];_0x1143b0[_0x1870cc]=(_0x4e5347<<0x8|_0x4e5347>>>0x18)&0xff00ff|(_0x4e5347<<0x18|_0x4e5347>>>0x8)&0xff00ff00;}return _0x5d3f78;},'clone':function(){var _0x20bd2e=_0x465eed,_0x3afa5e=_0x37fd39[_0x20bd2e(0x486)][_0x20bd2e(0x49b)](this);return _0x3afa5e[_0x20bd2e(0x3be)]=this[_0x20bd2e(0x3be)][_0x20bd2e(0x486)](),_0x3afa5e;}});function _0x4b702b(_0x12a619,_0x5657c3,_0x270d61,_0x126057,_0x1b674f,_0x974d35,_0x148f4b){var _0x2f4f61=_0x12a619+(_0x5657c3&_0x270d61|~_0x5657c3&_0x126057)+_0x1b674f+_0x148f4b;return(_0x2f4f61<<_0x974d35|_0x2f4f61>>>0x20-_0x974d35)+_0x5657c3;}function _0x1759ce(_0x5d3dc1,_0x47a588,_0x23a732,_0x8f62b2,_0x3a2060,_0x3dce51,_0x431e57){var _0x31302f=_0x5d3dc1+(_0x47a588&_0x8f62b2|_0x23a732&~_0x8f62b2)+_0x3a2060+_0x431e57;return(_0x31302f<<_0x3dce51|_0x31302f>>>0x20-_0x3dce51)+_0x47a588;}function _0x1a2aa8(_0x49b40e,_0x2d21a2,_0x239d37,_0x2ea896,_0x305b4d,_0x3d516b,_0x3d6c95){var _0x3686b3=_0x49b40e+(_0x2d21a2^_0x239d37^_0x2ea896)+_0x305b4d+_0x3d6c95;return(_0x3686b3<<_0x3d516b|_0x3686b3>>>0x20-_0x3d516b)+_0x2d21a2;}function _0x5e636f(_0x58f671,_0x2d355d,_0x16caf5,_0x64499a,_0x372187,_0x7a634d,_0xe9be48){var _0x4c7b67=_0x58f671+(_0x16caf5^(_0x2d355d|~_0x64499a))+_0x372187+_0xe9be48;return(_0x4c7b67<<_0x7a634d|_0x4c7b67>>>0x20-_0x7a634d)+_0x2d355d;}_0x24e0da[_0x465eed(0x296)]=_0x37fd39['_createHelper'](_0x671b0e),_0x24e0da[_0x465eed(0x166)]=_0x37fd39['_createHmacHelper'](_0x671b0e);}(Math),_0x341164['MD5'];}));}(_0x2bb04c)),_0x2bb04c[_0x17869b(0x246)];}var _0x37a252={'exports':{}},_0x4e1ff3={'exports':{}},_0x5607cb=_0x4e1ff3[_0x549351(0x246)],_0x4b2f22;function _0x5c4e36(){var _0x2651af=_0x549351;return _0x4b2f22||(_0x4b2f22=0x1,function(_0x51a063,_0xf1dc47){(function(_0x4142e6,_0x1ea210){var _0x1d6b68=_0x8cbe;_0x51a063[_0x1d6b68(0x246)]=_0x1ea210(_0x390438());}(_0x5607cb,function(_0x4af929){var _0x280c27=_0x8cbe;return(function(){var _0x46436b=_0x8cbe,_0x1dfc08=_0x4af929,_0x2f0bc4=_0x1dfc08[_0x46436b(0x302)],_0x56d5b7=_0x2f0bc4['WordArray'],_0x37a354=_0x2f0bc4[_0x46436b(0x3a3)],_0x974fe2=_0x1dfc08[_0x46436b(0x281)],_0x36a07a=[],_0x14fed5=_0x974fe2[_0x46436b(0x2fc)]=_0x37a354['extend']({'_doReset':function(){var _0x300900=_0x46436b;this[_0x300900(0x3be)]=new _0x56d5b7['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2c8406,_0x355171){var _0x56d889=_0x46436b;for(var _0x5c0bc7=this[_0x56d889(0x3be)][_0x56d889(0x144)],_0x2ff810=_0x5c0bc7[0x0],_0x826964=_0x5c0bc7[0x1],_0x1c963f=_0x5c0bc7[0x2],_0x45f8a4=_0x5c0bc7[0x3],_0x468ec6=_0x5c0bc7[0x4],_0x5a8811=0x0;_0x5a8811<0x50;_0x5a8811++){if(_0x5a8811<0x10)_0x36a07a[_0x5a8811]=_0x2c8406[_0x355171+_0x5a8811]|0x0;else{var _0x397d11=_0x36a07a[_0x5a8811-0x3]^_0x36a07a[_0x5a8811-0x8]^_0x36a07a[_0x5a8811-0xe]^_0x36a07a[_0x5a8811-0x10];_0x36a07a[_0x5a8811]=_0x397d11<<0x1|_0x397d11>>>0x1f;}var _0x192bd9=(_0x2ff810<<0x5|_0x2ff810>>>0x1b)+_0x468ec6+_0x36a07a[_0x5a8811];_0x5a8811<0x14?_0x192bd9+=(_0x826964&_0x1c963f|~_0x826964&_0x45f8a4)+0x5a827999:_0x5a8811<0x28?_0x192bd9+=(_0x826964^_0x1c963f^_0x45f8a4)+0x6ed9eba1:_0x5a8811<0x3c?_0x192bd9+=(_0x826964&_0x1c963f|_0x826964&_0x45f8a4|_0x1c963f&_0x45f8a4)-0x70e44324:_0x192bd9+=(_0x826964^_0x1c963f^_0x45f8a4)-0x359d3e2a,_0x468ec6=_0x45f8a4,_0x45f8a4=_0x1c963f,_0x1c963f=_0x826964<<0x1e|_0x826964>>>0x2,_0x826964=_0x2ff810,_0x2ff810=_0x192bd9;}_0x5c0bc7[0x0]=_0x5c0bc7[0x0]+_0x2ff810|0x0,_0x5c0bc7[0x1]=_0x5c0bc7[0x1]+_0x826964|0x0,_0x5c0bc7[0x2]=_0x5c0bc7[0x2]+_0x1c963f|0x0,_0x5c0bc7[0x3]=_0x5c0bc7[0x3]+_0x45f8a4|0x0,_0x5c0bc7[0x4]=_0x5c0bc7[0x4]+_0x468ec6|0x0;},'_doFinalize':function(){var _0x23de96=_0x46436b,_0x12d45c=this[_0x23de96(0x3ab)],_0x5f5504=_0x12d45c[_0x23de96(0x144)],_0x54154b=this[_0x23de96(0x2e2)]*0x8,_0x4eb87c=_0x12d45c[_0x23de96(0x37f)]*0x8;return _0x5f5504[_0x4eb87c>>>0x5]|=0x80<<0x18-_0x4eb87c%0x20,_0x5f5504[(_0x4eb87c+0x40>>>0x9<<0x4)+0xe]=Math[_0x23de96(0x217)](_0x54154b/0x100000000),_0x5f5504[(_0x4eb87c+0x40>>>0x9<<0x4)+0xf]=_0x54154b,_0x12d45c[_0x23de96(0x37f)]=_0x5f5504[_0x23de96(0x3ea)]*0x4,this[_0x23de96(0x145)](),this[_0x23de96(0x3be)];},'clone':function(){var _0x25c3cb=_0x46436b,_0x9b3f6a=_0x37a354[_0x25c3cb(0x486)][_0x25c3cb(0x49b)](this);return _0x9b3f6a[_0x25c3cb(0x3be)]=this[_0x25c3cb(0x3be)][_0x25c3cb(0x486)](),_0x9b3f6a;}});_0x1dfc08[_0x46436b(0x2fc)]=_0x37a354[_0x46436b(0x182)](_0x14fed5),_0x1dfc08[_0x46436b(0x3b0)]=_0x37a354['_createHmacHelper'](_0x14fed5);}()),_0x4af929[_0x280c27(0x2fc)];}));}(_0x4e1ff3)),_0x4e1ff3[_0x2651af(0x246)];}var _0x3d37e8={'exports':{}},_0x20eb02=_0x3d37e8[_0x549351(0x246)],_0x98300;function _0xeba878(){return _0x98300||(_0x98300=0x1,function(_0x2fbbfd,_0x35d81a){(function(_0xd14d90,_0x2c7c80){_0x2fbbfd['exports']=_0x2c7c80(_0x390438());}(_0x20eb02,function(_0xeef385){(function(){var _0x4e713f=_0x8cbe,_0x23cb7f=_0xeef385,_0x53949b=_0x23cb7f[_0x4e713f(0x302)],_0x2f10a4=_0x53949b['Base'],_0x9f918a=_0x23cb7f['enc'],_0x4f6670=_0x9f918a[_0x4e713f(0x493)],_0x1ed391=_0x23cb7f[_0x4e713f(0x281)];_0x1ed391['HMAC']=_0x2f10a4['extend']({'init':function(_0x1046fa,_0x56a11c){var _0x3e8283=_0x4e713f;_0x1046fa=this['_hasher']=new _0x1046fa['init'](),typeof _0x56a11c==_0x3e8283(0x2e8)&&(_0x56a11c=_0x4f6670['parse'](_0x56a11c));var _0x52c782=_0x1046fa['blockSize'],_0x2888e0=_0x52c782*0x4;_0x56a11c[_0x3e8283(0x37f)]>_0x2888e0&&(_0x56a11c=_0x1046fa[_0x3e8283(0x1c3)](_0x56a11c)),_0x56a11c[_0x3e8283(0x18f)]();for(var _0x11f730=this[_0x3e8283(0x39b)]=_0x56a11c[_0x3e8283(0x486)](),_0x5b9515=this[_0x3e8283(0x25e)]=_0x56a11c[_0x3e8283(0x486)](),_0x49714=_0x11f730[_0x3e8283(0x144)],_0x30d952=_0x5b9515[_0x3e8283(0x144)],_0x370a1c=0x0;_0x370a1c<_0x52c782;_0x370a1c++)_0x49714[_0x370a1c]^=0x5c5c5c5c,_0x30d952[_0x370a1c]^=0x36363636;_0x11f730['sigBytes']=_0x5b9515[_0x3e8283(0x37f)]=_0x2888e0,this['reset']();},'reset':function(){var _0x299be6=_0x4e713f,_0x46eb23=this[_0x299be6(0x1c5)];_0x46eb23[_0x299be6(0x4ba)](),_0x46eb23['update'](this[_0x299be6(0x25e)]);},'update':function(_0x1687a2){var _0x41bf34=_0x4e713f;return this[_0x41bf34(0x1c5)][_0x41bf34(0x170)](_0x1687a2),this;},'finalize':function(_0x3579af){var _0x49ef66=_0x4e713f,_0x137be2=this[_0x49ef66(0x1c5)],_0xb29d1d=_0x137be2['finalize'](_0x3579af);_0x137be2[_0x49ef66(0x4ba)]();var _0x33efe2=_0x137be2[_0x49ef66(0x1c3)](this[_0x49ef66(0x39b)][_0x49ef66(0x486)]()[_0x49ef66(0x359)](_0xb29d1d));return _0x33efe2;}});}());}));}(_0x3d37e8)),_0x3d37e8['exports'];}var _0x422632=_0x37a252[_0x549351(0x246)],_0x5514d7;function _0x169948(){var _0x465730=_0x549351;return _0x5514d7||(_0x5514d7=0x1,function(_0xfc614d,_0x3152be){(function(_0x92648e,_0x33178c,_0x9a3f65){var _0x4efe48=_0x8cbe;_0xfc614d[_0x4efe48(0x246)]=_0x33178c(_0x390438(),_0x5c4e36(),_0xeba878());}(_0x422632,function(_0x5e1912){var _0x5b9caa=_0x8cbe;return(function(){var _0x5ce743=_0x8cbe,_0x499bdb=_0x5e1912,_0x417794=_0x499bdb[_0x5ce743(0x302)],_0x160864=_0x417794[_0x5ce743(0x291)],_0x19989d=_0x417794[_0x5ce743(0x2cb)],_0x40f7ef=_0x499bdb['algo'],_0x35ee45=_0x40f7ef[_0x5ce743(0x296)],_0xfed6d9=_0x40f7ef[_0x5ce743(0x1e6)]=_0x160864[_0x5ce743(0x2bf)]({'cfg':_0x160864[_0x5ce743(0x2bf)]({'keySize':0x80/0x20,'hasher':_0x35ee45,'iterations':0x1}),'init':function(_0x18588c){var _0x11992d=_0x5ce743;this[_0x11992d(0x384)]=this[_0x11992d(0x384)][_0x11992d(0x2bf)](_0x18588c);},'compute':function(_0xaa359a,_0x3e63c6){var _0xe47bb6=_0x5ce743;for(var _0x5854d0,_0x3aafbe=this[_0xe47bb6(0x384)],_0x4e58dd=_0x3aafbe[_0xe47bb6(0x2c9)][_0xe47bb6(0x17c)](),_0x5276f7=_0x19989d[_0xe47bb6(0x17c)](),_0x4771de=_0x5276f7['words'],_0x1c1e98=_0x3aafbe[_0xe47bb6(0x240)],_0x4b91d8=_0x3aafbe[_0xe47bb6(0x2ac)];_0x4771de[_0xe47bb6(0x3ea)]<_0x1c1e98;){_0x5854d0&&_0x4e58dd['update'](_0x5854d0),_0x5854d0=_0x4e58dd[_0xe47bb6(0x170)](_0xaa359a)['finalize'](_0x3e63c6),_0x4e58dd['reset']();for(var _0x532d8a=0x1;_0x532d8a<_0x4b91d8;_0x532d8a++)_0x5854d0=_0x4e58dd[_0xe47bb6(0x1c3)](_0x5854d0),_0x4e58dd[_0xe47bb6(0x4ba)]();_0x5276f7[_0xe47bb6(0x359)](_0x5854d0);}return _0x5276f7[_0xe47bb6(0x37f)]=_0x1c1e98*0x4,_0x5276f7;}});_0x499bdb[_0x5ce743(0x1e6)]=function(_0x4ebd91,_0x96ef88,_0x5e74c2){var _0x20fdea=_0x5ce743;return _0xfed6d9[_0x20fdea(0x17c)](_0x5e74c2)[_0x20fdea(0x2d5)](_0x4ebd91,_0x96ef88);};}()),_0x5e1912[_0x5b9caa(0x1e6)];}));}(_0x37a252)),_0x37a252[_0x465730(0x246)];}var _0x43d7a7={'exports':{}},_0x2482f8=_0x43d7a7[_0x549351(0x246)],_0x396cc6;function _0x91357f(){var _0x3c940a=_0x549351;return _0x396cc6||(_0x396cc6=0x1,function(_0x155afa,_0x439578){(function(_0x528dbf,_0x298a78,_0x59a661){_0x155afa['exports']=_0x298a78(_0x390438(),_0x169948());}(_0x2482f8,function(_0x350f17){var _0x4e2cb8=_0x8cbe;_0x350f17[_0x4e2cb8(0x302)][_0x4e2cb8(0x44d)]||function(_0x391d3d){var _0x1c1b4a=_0x4e2cb8,_0xf980ac=_0x350f17,_0x21f11a=_0xf980ac[_0x1c1b4a(0x302)],_0x401fc3=_0x21f11a[_0x1c1b4a(0x291)],_0x1cb214=_0x21f11a[_0x1c1b4a(0x2cb)],_0x25fe32=_0x21f11a[_0x1c1b4a(0x3a7)],_0x5bd9fe=_0xf980ac[_0x1c1b4a(0x23c)];_0x5bd9fe[_0x1c1b4a(0x493)];var _0x3c0637=_0x5bd9fe[_0x1c1b4a(0x38d)],_0x386c1b=_0xf980ac[_0x1c1b4a(0x281)],_0x2fb2d3=_0x386c1b['EvpKDF'],_0x89d766=_0x21f11a[_0x1c1b4a(0x44d)]=_0x25fe32[_0x1c1b4a(0x2bf)]({'cfg':_0x401fc3[_0x1c1b4a(0x2bf)](),'createEncryptor':function(_0x498010,_0x47d148){var _0x26787f=_0x1c1b4a;return this[_0x26787f(0x17c)](this['_ENC_XFORM_MODE'],_0x498010,_0x47d148);},'createDecryptor':function(_0x10aa31,_0x5a8fa9){var _0x5ce770=_0x1c1b4a;return this[_0x5ce770(0x17c)](this['_DEC_XFORM_MODE'],_0x10aa31,_0x5a8fa9);},'init':function(_0x5d9b65,_0x21a4e8,_0x5a629e){var _0x20d388=_0x1c1b4a;this[_0x20d388(0x384)]=this['cfg']['extend'](_0x5a629e),this[_0x20d388(0x338)]=_0x5d9b65,this[_0x20d388(0x3fc)]=_0x21a4e8,this[_0x20d388(0x4ba)]();},'reset':function(){var _0x1b0fa7=_0x1c1b4a;_0x25fe32['reset'][_0x1b0fa7(0x49b)](this),this[_0x1b0fa7(0x39d)]();},'process':function(_0x52b29b){var _0x3d105a=_0x1c1b4a;return this[_0x3d105a(0x1e9)](_0x52b29b),this[_0x3d105a(0x145)]();},'finalize':function(_0x4dd5f0){var _0x3f2cfc=_0x1c1b4a;_0x4dd5f0&&this['_append'](_0x4dd5f0);var _0x4cfa5b=this[_0x3f2cfc(0x17e)]();return _0x4cfa5b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xb42de8(_0x22ac8b){var _0x48409c=_0x8cbe;return typeof _0x22ac8b==_0x48409c(0x2e8)?_0x39555b:_0x32e284;}return function(_0x502499){return{'encrypt':function(_0xd642c1,_0xbb1c64,_0x4bf3f1){var _0x2fb33b=_0x8cbe;return _0xb42de8(_0xbb1c64)[_0x2fb33b(0x4a5)](_0x502499,_0xd642c1,_0xbb1c64,_0x4bf3f1);},'decrypt':function(_0x277b36,_0x24dc39,_0x3f8b6c){var _0x15a11a=_0x8cbe;return _0xb42de8(_0x24dc39)[_0x15a11a(0x49c)](_0x502499,_0x277b36,_0x24dc39,_0x3f8b6c);}};};}())});_0x21f11a[_0x1c1b4a(0x1a0)]=_0x89d766['extend']({'_doFinalize':function(){var _0x4abc36=_0x1c1b4a,_0x5615a8=this[_0x4abc36(0x145)](!0x0);return _0x5615a8;},'blockSize':0x1});var _0x54609d=_0xf980ac[_0x1c1b4a(0x4a2)]={},_0x3cfb26=_0x21f11a[_0x1c1b4a(0x340)]=_0x401fc3[_0x1c1b4a(0x2bf)]({'createEncryptor':function(_0x56fbf7,_0x116b2b){var _0x4d676c=_0x1c1b4a;return this[_0x4d676c(0x257)][_0x4d676c(0x17c)](_0x56fbf7,_0x116b2b);},'createDecryptor':function(_0x3bbe07,_0x370d09){var _0x31023a=_0x1c1b4a;return this[_0x31023a(0x299)][_0x31023a(0x17c)](_0x3bbe07,_0x370d09);},'init':function(_0x45185e,_0x4197e0){var _0x349faf=_0x1c1b4a;this[_0x349faf(0x405)]=_0x45185e,this[_0x349faf(0x230)]=_0x4197e0;}}),_0x4664b9=_0x54609d[_0x1c1b4a(0x1b8)]=(function(){var _0x38fb4b=_0x1c1b4a,_0x2787c6=_0x3cfb26[_0x38fb4b(0x2bf)]();_0x2787c6[_0x38fb4b(0x257)]=_0x2787c6[_0x38fb4b(0x2bf)]({'processBlock':function(_0x4d90d0,_0xfbaf81){var _0x1b5d9e=_0x38fb4b,_0x1c6753=this[_0x1b5d9e(0x405)],_0x383aae=_0x1c6753[_0x1b5d9e(0x36c)];_0x5a5e6a[_0x1b5d9e(0x49b)](this,_0x4d90d0,_0xfbaf81,_0x383aae),_0x1c6753[_0x1b5d9e(0x28c)](_0x4d90d0,_0xfbaf81),this[_0x1b5d9e(0x1b9)]=_0x4d90d0[_0x1b5d9e(0x1af)](_0xfbaf81,_0xfbaf81+_0x383aae);}}),_0x2787c6[_0x38fb4b(0x299)]=_0x2787c6[_0x38fb4b(0x2bf)]({'processBlock':function(_0x166dc6,_0x54a39e){var _0x43310a=_0x38fb4b,_0x4441a8=this[_0x43310a(0x405)],_0x266439=_0x4441a8[_0x43310a(0x36c)],_0x76305b=_0x166dc6[_0x43310a(0x1af)](_0x54a39e,_0x54a39e+_0x266439);_0x4441a8['decryptBlock'](_0x166dc6,_0x54a39e),_0x5a5e6a[_0x43310a(0x49b)](this,_0x166dc6,_0x54a39e,_0x266439),this['_prevBlock']=_0x76305b;}});function _0x5a5e6a(_0x5f171c,_0x3bd9a5,_0x4ea9e4){var _0xd05940=_0x38fb4b,_0x13446b,_0x295250=this['_iv'];_0x295250?(_0x13446b=_0x295250,this[_0xd05940(0x230)]=_0x391d3d):_0x13446b=this[_0xd05940(0x1b9)];for(var _0x3fdf27=0x0;_0x3fdf27<_0x4ea9e4;_0x3fdf27++)_0x5f171c[_0x3bd9a5+_0x3fdf27]^=_0x13446b[_0x3fdf27];}return _0x2787c6;}()),_0x27e9ad=_0xf980ac[_0x1c1b4a(0x171)]={},_0x588841=_0x27e9ad[_0x1c1b4a(0x15d)]={'pad':function(_0x21eed4,_0x9587d9){var _0x5d42e1=_0x1c1b4a;for(var _0x4114ad=_0x9587d9*0x4,_0x217b87=_0x4114ad-_0x21eed4[_0x5d42e1(0x37f)]%_0x4114ad,_0x743afe=_0x217b87<<0x18|_0x217b87<<0x10|_0x217b87<<0x8|_0x217b87,_0x536dfb=[],_0x4d783e=0x0;_0x4d783e<_0x217b87;_0x4d783e+=0x4)_0x536dfb[_0x5d42e1(0x2c6)](_0x743afe);var _0x34cfe5=_0x1cb214['create'](_0x536dfb,_0x217b87);_0x21eed4[_0x5d42e1(0x359)](_0x34cfe5);},'unpad':function(_0xd5cfa8){var _0x141f21=_0x1c1b4a,_0xabaf48=_0xd5cfa8['words'][_0xd5cfa8['sigBytes']-0x1>>>0x2]&0xff;_0xd5cfa8[_0x141f21(0x37f)]-=_0xabaf48;}};_0x21f11a['BlockCipher']=_0x89d766[_0x1c1b4a(0x2bf)]({'cfg':_0x89d766[_0x1c1b4a(0x384)][_0x1c1b4a(0x2bf)]({'mode':_0x4664b9,'padding':_0x588841}),'reset':function(){var _0x1fcbac=_0x1c1b4a,_0x402565;_0x89d766[_0x1fcbac(0x4ba)][_0x1fcbac(0x49b)](this);var _0x594ba7=this[_0x1fcbac(0x384)],_0x344975=_0x594ba7['iv'],_0xc3d559=_0x594ba7[_0x1fcbac(0x4a2)];this[_0x1fcbac(0x338)]==this[_0x1fcbac(0x2f3)]?_0x402565=_0xc3d559['createEncryptor']:(_0x402565=_0xc3d559[_0x1fcbac(0x1a1)],this['_minBufferSize']=0x1),this[_0x1fcbac(0x2d6)]&&this[_0x1fcbac(0x2d6)][_0x1fcbac(0x242)]==_0x402565?this['_mode'][_0x1fcbac(0x3f2)](this,_0x344975&&_0x344975['words']):(this[_0x1fcbac(0x2d6)]=_0x402565[_0x1fcbac(0x49b)](_0xc3d559,this,_0x344975&&_0x344975['words']),this[_0x1fcbac(0x2d6)][_0x1fcbac(0x242)]=_0x402565);},'_doProcessBlock':function(_0x2e2490,_0x281b73){var _0x387d60=_0x1c1b4a;this[_0x387d60(0x2d6)][_0x387d60(0x40f)](_0x2e2490,_0x281b73);},'_doFinalize':function(){var _0x487b10=_0x1c1b4a,_0x32057a,_0x2145d3=this[_0x487b10(0x384)][_0x487b10(0x4c2)];return this[_0x487b10(0x338)]==this[_0x487b10(0x2f3)]?(_0x2145d3[_0x487b10(0x171)](this['_data'],this[_0x487b10(0x36c)]),_0x32057a=this[_0x487b10(0x145)](!0x0)):(_0x32057a=this[_0x487b10(0x145)](!0x0),_0x2145d3[_0x487b10(0x40b)](_0x32057a)),_0x32057a;},'blockSize':0x80/0x20});var _0x14eb84=_0x21f11a[_0x1c1b4a(0x45f)]=_0x401fc3[_0x1c1b4a(0x2bf)]({'init':function(_0x106e10){var _0x22cca1=_0x1c1b4a;this[_0x22cca1(0x478)](_0x106e10);},'toString':function(_0x12550c){var _0x4d1f79=_0x1c1b4a;return(_0x12550c||this['formatter'])[_0x4d1f79(0x282)](this);}}),_0x314067=_0xf980ac['format']={},_0xb068ff=_0x314067[_0x1c1b4a(0x223)]={'stringify':function(_0xbe0ce2){var _0x22ddb9=_0x1c1b4a,_0x2e8665,_0x3428a8=_0xbe0ce2[_0x22ddb9(0x16d)],_0x45b119=_0xbe0ce2[_0x22ddb9(0x1ff)];return _0x45b119?_0x2e8665=_0x1cb214[_0x22ddb9(0x17c)]([0x53616c74,0x65645f5f])[_0x22ddb9(0x359)](_0x45b119)['concat'](_0x3428a8):_0x2e8665=_0x3428a8,_0x2e8665[_0x22ddb9(0x27a)](_0x3c0637);},'parse':function(_0x550253){var _0x10dcd5=_0x1c1b4a,_0x238a36,_0x8e737f=_0x3c0637['parse'](_0x550253),_0x4fa80c=_0x8e737f['words'];return _0x4fa80c[0x0]==0x53616c74&&_0x4fa80c[0x1]==0x65645f5f&&(_0x238a36=_0x1cb214[_0x10dcd5(0x17c)](_0x4fa80c[_0x10dcd5(0x1af)](0x2,0x4)),_0x4fa80c[_0x10dcd5(0x1cb)](0x0,0x4),_0x8e737f[_0x10dcd5(0x37f)]-=0x10),_0x14eb84[_0x10dcd5(0x17c)]({'ciphertext':_0x8e737f,'salt':_0x238a36});}},_0x32e284=_0x21f11a['SerializableCipher']=_0x401fc3[_0x1c1b4a(0x2bf)]({'cfg':_0x401fc3['extend']({'format':_0xb068ff}),'encrypt':function(_0x1f6c30,_0x23e98d,_0x50e180,_0x2855ec){var _0x1a07f7=_0x1c1b4a;_0x2855ec=this['cfg'][_0x1a07f7(0x2bf)](_0x2855ec);var _0x2637d7=_0x1f6c30[_0x1a07f7(0x1b0)](_0x50e180,_0x2855ec),_0x2ab245=_0x2637d7[_0x1a07f7(0x1c3)](_0x23e98d),_0x4bcee8=_0x2637d7[_0x1a07f7(0x384)];return _0x14eb84[_0x1a07f7(0x17c)]({'ciphertext':_0x2ab245,'key':_0x50e180,'iv':_0x4bcee8['iv'],'algorithm':_0x1f6c30,'mode':_0x4bcee8[_0x1a07f7(0x4a2)],'padding':_0x4bcee8[_0x1a07f7(0x4c2)],'blockSize':_0x1f6c30[_0x1a07f7(0x36c)],'formatter':_0x2855ec[_0x1a07f7(0x298)]});},'decrypt':function(_0x170afc,_0x585be7,_0x4a1f0a,_0x1eed30){var _0x376bc6=_0x1c1b4a;_0x1eed30=this[_0x376bc6(0x384)][_0x376bc6(0x2bf)](_0x1eed30),_0x585be7=this['_parse'](_0x585be7,_0x1eed30[_0x376bc6(0x298)]);var _0x579ece=_0x170afc[_0x376bc6(0x1a1)](_0x4a1f0a,_0x1eed30)[_0x376bc6(0x1c3)](_0x585be7[_0x376bc6(0x16d)]);return _0x579ece;},'_parse':function(_0x7f6bc5,_0x3a2d8a){var _0x5ecf26=_0x1c1b4a;return typeof _0x7f6bc5==_0x5ecf26(0x2e8)?_0x3a2d8a[_0x5ecf26(0x4b4)](_0x7f6bc5,this):_0x7f6bc5;}}),_0x15edea=_0xf980ac[_0x1c1b4a(0x161)]={},_0x114b76=_0x15edea[_0x1c1b4a(0x223)]={'execute':function(_0x27515d,_0x26d055,_0x238478,_0x51078a,_0x398e14){var _0x2e5963=_0x1c1b4a;if(_0x51078a||(_0x51078a=_0x1cb214[_0x2e5963(0x368)](0x40/0x8)),_0x398e14)var _0x48e73e=_0x2fb2d3[_0x2e5963(0x17c)]({'keySize':_0x26d055+_0x238478,'hasher':_0x398e14})[_0x2e5963(0x2d5)](_0x27515d,_0x51078a);else var _0x48e73e=_0x2fb2d3[_0x2e5963(0x17c)]({'keySize':_0x26d055+_0x238478})['compute'](_0x27515d,_0x51078a);var _0x51d0a6=_0x1cb214['create'](_0x48e73e[_0x2e5963(0x144)][_0x2e5963(0x1af)](_0x26d055),_0x238478*0x4);return _0x48e73e[_0x2e5963(0x37f)]=_0x26d055*0x4,_0x14eb84['create']({'key':_0x48e73e,'iv':_0x51d0a6,'salt':_0x51078a});}},_0x39555b=_0x21f11a[_0x1c1b4a(0x216)]=_0x32e284[_0x1c1b4a(0x2bf)]({'cfg':_0x32e284[_0x1c1b4a(0x384)][_0x1c1b4a(0x2bf)]({'kdf':_0x114b76}),'encrypt':function(_0x46f6e2,_0x24b6ff,_0x2339e7,_0x3f6655){var _0x45c0d4=_0x1c1b4a;_0x3f6655=this[_0x45c0d4(0x384)][_0x45c0d4(0x2bf)](_0x3f6655);var _0x29cc20=_0x3f6655[_0x45c0d4(0x161)][_0x45c0d4(0x141)](_0x2339e7,_0x46f6e2[_0x45c0d4(0x240)],_0x46f6e2['ivSize'],_0x3f6655['salt'],_0x3f6655[_0x45c0d4(0x2c9)]);_0x3f6655['iv']=_0x29cc20['iv'];var _0x1babac=_0x32e284[_0x45c0d4(0x4a5)]['call'](this,_0x46f6e2,_0x24b6ff,_0x29cc20[_0x45c0d4(0x241)],_0x3f6655);return _0x1babac[_0x45c0d4(0x478)](_0x29cc20),_0x1babac;},'decrypt':function(_0x2a533e,_0xb9768,_0xc315d8,_0x5210c9){var _0x13702f=_0x1c1b4a;_0x5210c9=this[_0x13702f(0x384)][_0x13702f(0x2bf)](_0x5210c9),_0xb9768=this['_parse'](_0xb9768,_0x5210c9['format']);var _0x211425=_0x5210c9[_0x13702f(0x161)][_0x13702f(0x141)](_0xc315d8,_0x2a533e['keySize'],_0x2a533e[_0x13702f(0x317)],_0xb9768['salt'],_0x5210c9[_0x13702f(0x2c9)]);_0x5210c9['iv']=_0x211425['iv'];var _0x5db219=_0x32e284[_0x13702f(0x49c)][_0x13702f(0x49b)](this,_0x2a533e,_0xb9768,_0x211425[_0x13702f(0x241)],_0x5210c9);return _0x5db219;}});}();}));}(_0x43d7a7)),_0x43d7a7[_0x3c940a(0x246)];}var _0x401389=_0x29552e[_0x549351(0x246)],_0x9e9b98;function _0x293380(){return _0x9e9b98||(_0x9e9b98=0x1,function(_0x49cfe6,_0x3a03f7){(function(_0x19a1fa,_0x4039cb,_0x2ade1b){var _0x4ee0a2=_0x8cbe;_0x49cfe6[_0x4ee0a2(0x246)]=_0x4039cb(_0x390438(),_0xcb036b(),_0x5436a9(),_0x169948(),_0x91357f());}(_0x401389,function(_0x4b781b){var _0x1b87a1=_0x8cbe;return(function(){var _0x3ec092=_0x8cbe,_0x461735=_0x4b781b,_0x420aab=_0x461735[_0x3ec092(0x302)],_0x2f54cc=_0x420aab[_0x3ec092(0x4c6)],_0xa00e39=_0x461735[_0x3ec092(0x281)],_0x4c9385=[],_0x1714f3=[],_0x12ed4f=[],_0x59f6c4=[],_0x16f54e=[],_0x30db0d=[],_0x2a6a1a=[],_0x5049e4=[],_0x55a4e5=[],_0x22846c=[];(function(){for(var _0xa49ae8=[],_0x4d46d4=0x0;_0x4d46d4<0x100;_0x4d46d4++)_0x4d46d4<0x80?_0xa49ae8[_0x4d46d4]=_0x4d46d4<<0x1:_0xa49ae8[_0x4d46d4]=_0x4d46d4<<0x1^0x11b;for(var _0x50b294=0x0,_0x15c4be=0x0,_0x4d46d4=0x0;_0x4d46d4<0x100;_0x4d46d4++){var _0x4e378a=_0x15c4be^_0x15c4be<<0x1^_0x15c4be<<0x2^_0x15c4be<<0x3^_0x15c4be<<0x4;_0x4e378a=_0x4e378a>>>0x8^_0x4e378a&0xff^0x63,_0x4c9385[_0x50b294]=_0x4e378a,_0x1714f3[_0x4e378a]=_0x50b294;var _0x4f60de=_0xa49ae8[_0x50b294],_0x3aef73=_0xa49ae8[_0x4f60de],_0x33de8c=_0xa49ae8[_0x3aef73],_0x238122=_0xa49ae8[_0x4e378a]*0x101^_0x4e378a*0x1010100;_0x12ed4f[_0x50b294]=_0x238122<<0x18|_0x238122>>>0x8,_0x59f6c4[_0x50b294]=_0x238122<<0x10|_0x238122>>>0x10,_0x16f54e[_0x50b294]=_0x238122<<0x8|_0x238122>>>0x18,_0x30db0d[_0x50b294]=_0x238122;var _0x238122=_0x33de8c*0x1010101^_0x3aef73*0x10001^_0x4f60de*0x101^_0x50b294*0x1010100;_0x2a6a1a[_0x4e378a]=_0x238122<<0x18|_0x238122>>>0x8,_0x5049e4[_0x4e378a]=_0x238122<<0x10|_0x238122>>>0x10,_0x55a4e5[_0x4e378a]=_0x238122<<0x8|_0x238122>>>0x18,_0x22846c[_0x4e378a]=_0x238122,_0x50b294?(_0x50b294=_0x4f60de^_0xa49ae8[_0xa49ae8[_0xa49ae8[_0x33de8c^_0x4f60de]]],_0x15c4be^=_0xa49ae8[_0xa49ae8[_0x15c4be]]):_0x50b294=_0x15c4be=0x1;}}());var _0x1afe41=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x32f116=_0xa00e39[_0x3ec092(0x218)]=_0x2f54cc[_0x3ec092(0x2bf)]({'_doReset':function(){var _0xddfbda=_0x3ec092,_0x219c33;if(!(this[_0xddfbda(0x48d)]&&this['_keyPriorReset']===this[_0xddfbda(0x3fc)])){for(var _0x5b05b0=this[_0xddfbda(0x28a)]=this['_key'],_0x4ecbc5=_0x5b05b0['words'],_0x52a7e9=_0x5b05b0[_0xddfbda(0x37f)]/0x4,_0x2add42=this[_0xddfbda(0x48d)]=_0x52a7e9+0x6,_0x266190=(_0x2add42+0x1)*0x4,_0x47fe3f=this['_keySchedule']=[],_0x2e8c04=0x0;_0x2e8c04<_0x266190;_0x2e8c04++)_0x2e8c04<_0x52a7e9?_0x47fe3f[_0x2e8c04]=_0x4ecbc5[_0x2e8c04]:(_0x219c33=_0x47fe3f[_0x2e8c04-0x1],_0x2e8c04%_0x52a7e9?_0x52a7e9>0x6&&_0x2e8c04%_0x52a7e9==0x4&&(_0x219c33=_0x4c9385[_0x219c33>>>0x18]<<0x18|_0x4c9385[_0x219c33>>>0x10&0xff]<<0x10|_0x4c9385[_0x219c33>>>0x8&0xff]<<0x8|_0x4c9385[_0x219c33&0xff]):(_0x219c33=_0x219c33<<0x8|_0x219c33>>>0x18,_0x219c33=_0x4c9385[_0x219c33>>>0x18]<<0x18|_0x4c9385[_0x219c33>>>0x10&0xff]<<0x10|_0x4c9385[_0x219c33>>>0x8&0xff]<<0x8|_0x4c9385[_0x219c33&0xff],_0x219c33^=_0x1afe41[_0x2e8c04/_0x52a7e9|0x0]<<0x18),_0x47fe3f[_0x2e8c04]=_0x47fe3f[_0x2e8c04-_0x52a7e9]^_0x219c33);for(var _0x33cb63=this['_invKeySchedule']=[],_0x1e0d31=0x0;_0x1e0d31<_0x266190;_0x1e0d31++){var _0x2e8c04=_0x266190-_0x1e0d31;if(_0x1e0d31%0x4)var _0x219c33=_0x47fe3f[_0x2e8c04];else var _0x219c33=_0x47fe3f[_0x2e8c04-0x4];_0x1e0d31<0x4||_0x2e8c04<=0x4?_0x33cb63[_0x1e0d31]=_0x219c33:_0x33cb63[_0x1e0d31]=_0x2a6a1a[_0x4c9385[_0x219c33>>>0x18]]^_0x5049e4[_0x4c9385[_0x219c33>>>0x10&0xff]]^_0x55a4e5[_0x4c9385[_0x219c33>>>0x8&0xff]]^_0x22846c[_0x4c9385[_0x219c33&0xff]];}}},'encryptBlock':function(_0x1f9818,_0x1f0b5e){var _0x5513d9=_0x3ec092;this[_0x5513d9(0x319)](_0x1f9818,_0x1f0b5e,this['_keySchedule'],_0x12ed4f,_0x59f6c4,_0x16f54e,_0x30db0d,_0x4c9385);},'decryptBlock':function(_0x5a7cec,_0x24afc0){var _0x48fa27=_0x3ec092,_0x491ffe=_0x5a7cec[_0x24afc0+0x1];_0x5a7cec[_0x24afc0+0x1]=_0x5a7cec[_0x24afc0+0x3],_0x5a7cec[_0x24afc0+0x3]=_0x491ffe,this[_0x48fa27(0x319)](_0x5a7cec,_0x24afc0,this[_0x48fa27(0x168)],_0x2a6a1a,_0x5049e4,_0x55a4e5,_0x22846c,_0x1714f3);var _0x491ffe=_0x5a7cec[_0x24afc0+0x1];_0x5a7cec[_0x24afc0+0x1]=_0x5a7cec[_0x24afc0+0x3],_0x5a7cec[_0x24afc0+0x3]=_0x491ffe;},'_doCryptBlock':function(_0x1435ab,_0x3e9c5e,_0x2ed349,_0x22576b,_0x2e4a5c,_0x2080e6,_0x29207d,_0x13b534){var _0x1885f3=_0x3ec092;for(var _0x1625d0=this[_0x1885f3(0x48d)],_0x2a166e=_0x1435ab[_0x3e9c5e]^_0x2ed349[0x0],_0x3b11b8=_0x1435ab[_0x3e9c5e+0x1]^_0x2ed349[0x1],_0x3d4ce2=_0x1435ab[_0x3e9c5e+0x2]^_0x2ed349[0x2],_0x465ef6=_0x1435ab[_0x3e9c5e+0x3]^_0x2ed349[0x3],_0x4f4b72=0x4,_0x5378b4=0x1;_0x5378b4<_0x1625d0;_0x5378b4++){var _0x1afcc0=_0x22576b[_0x2a166e>>>0x18]^_0x2e4a5c[_0x3b11b8>>>0x10&0xff]^_0x2080e6[_0x3d4ce2>>>0x8&0xff]^_0x29207d[_0x465ef6&0xff]^_0x2ed349[_0x4f4b72++],_0x285d46=_0x22576b[_0x3b11b8>>>0x18]^_0x2e4a5c[_0x3d4ce2>>>0x10&0xff]^_0x2080e6[_0x465ef6>>>0x8&0xff]^_0x29207d[_0x2a166e&0xff]^_0x2ed349[_0x4f4b72++],_0x10f06a=_0x22576b[_0x3d4ce2>>>0x18]^_0x2e4a5c[_0x465ef6>>>0x10&0xff]^_0x2080e6[_0x2a166e>>>0x8&0xff]^_0x29207d[_0x3b11b8&0xff]^_0x2ed349[_0x4f4b72++],_0x58e975=_0x22576b[_0x465ef6>>>0x18]^_0x2e4a5c[_0x2a166e>>>0x10&0xff]^_0x2080e6[_0x3b11b8>>>0x8&0xff]^_0x29207d[_0x3d4ce2&0xff]^_0x2ed349[_0x4f4b72++];_0x2a166e=_0x1afcc0,_0x3b11b8=_0x285d46,_0x3d4ce2=_0x10f06a,_0x465ef6=_0x58e975;}var _0x1afcc0=(_0x13b534[_0x2a166e>>>0x18]<<0x18|_0x13b534[_0x3b11b8>>>0x10&0xff]<<0x10|_0x13b534[_0x3d4ce2>>>0x8&0xff]<<0x8|_0x13b534[_0x465ef6&0xff])^_0x2ed349[_0x4f4b72++],_0x285d46=(_0x13b534[_0x3b11b8>>>0x18]<<0x18|_0x13b534[_0x3d4ce2>>>0x10&0xff]<<0x10|_0x13b534[_0x465ef6>>>0x8&0xff]<<0x8|_0x13b534[_0x2a166e&0xff])^_0x2ed349[_0x4f4b72++],_0x10f06a=(_0x13b534[_0x3d4ce2>>>0x18]<<0x18|_0x13b534[_0x465ef6>>>0x10&0xff]<<0x10|_0x13b534[_0x2a166e>>>0x8&0xff]<<0x8|_0x13b534[_0x3b11b8&0xff])^_0x2ed349[_0x4f4b72++],_0x58e975=(_0x13b534[_0x465ef6>>>0x18]<<0x18|_0x13b534[_0x2a166e>>>0x10&0xff]<<0x10|_0x13b534[_0x3b11b8>>>0x8&0xff]<<0x8|_0x13b534[_0x3d4ce2&0xff])^_0x2ed349[_0x4f4b72++];_0x1435ab[_0x3e9c5e]=_0x1afcc0,_0x1435ab[_0x3e9c5e+0x1]=_0x285d46,_0x1435ab[_0x3e9c5e+0x2]=_0x10f06a,_0x1435ab[_0x3e9c5e+0x3]=_0x58e975;},'keySize':0x100/0x20});_0x461735[_0x3ec092(0x218)]=_0x2f54cc[_0x3ec092(0x182)](_0x32f116);}()),_0x4b781b[_0x1b87a1(0x218)];}));}(_0x29552e)),_0x29552e['exports'];}var _0xd45976=_0x293380();const _0x393fce=_0x48874a(_0xd45976);var _0x49b1cd=_0xcb036b();const _0x2ff5c0=_0x48874a(_0x49b1cd);var _0x35a3c3={'exports':{}},_0x510864=_0x35a3c3[_0x549351(0x246)],_0xe8b834;function _0x106987(){return _0xe8b834||(_0xe8b834=0x1,function(_0x163685,_0x5e885b){(function(_0x289e64,_0x1b4246){var _0x2365b6=_0x8cbe;_0x163685[_0x2365b6(0x246)]=_0x1b4246(_0x390438());}(_0x510864,function(_0xdd6c){var _0x27e0e6=_0x8cbe;return _0xdd6c[_0x27e0e6(0x23c)]['Utf8'];}));}(_0x35a3c3)),_0x35a3c3['exports'];}var _0x23e326=_0x106987();const _0x3b0112=_0x48874a(_0x23e326);var _0x16b9a1={'exports':{}},_0x19dc3f=_0x16b9a1[_0x549351(0x246)],_0x3df9fc;function _0xb851b0(){var _0x105ecc=_0x549351;return _0x3df9fc||(_0x3df9fc=0x1,function(_0x1e7a1b,_0x4ab7e4){(function(_0x1f8553,_0x5ea4f6){var _0x3ae2ae=_0x8cbe;_0x1e7a1b[_0x3ae2ae(0x246)]=_0x5ea4f6(_0x390438());}(_0x19dc3f,function(_0x3992e){var _0x2633c3=_0x8cbe;return(function(){var _0x5abe08=_0x8cbe;if(typeof ArrayBuffer=='function'){var _0x2ce00c=_0x3992e,_0x37b6dc=_0x2ce00c[_0x5abe08(0x302)],_0x5eaa6c=_0x37b6dc['WordArray'],_0x1ac539=_0x5eaa6c[_0x5abe08(0x3f2)],_0x5dfd57=_0x5eaa6c[_0x5abe08(0x3f2)]=function(_0x35c7e6){var _0x3e282f=_0x5abe08;if(_0x35c7e6 instanceof ArrayBuffer&&(_0x35c7e6=new Uint8Array(_0x35c7e6)),(_0x35c7e6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x35c7e6 instanceof Uint8ClampedArray||_0x35c7e6 instanceof Int16Array||_0x35c7e6 instanceof Uint16Array||_0x35c7e6 instanceof Int32Array||_0x35c7e6 instanceof Uint32Array||_0x35c7e6 instanceof Float32Array||_0x35c7e6 instanceof Float64Array)&&(_0x35c7e6=new Uint8Array(_0x35c7e6[_0x3e282f(0x2f6)],_0x35c7e6[_0x3e282f(0x269)],_0x35c7e6['byteLength'])),_0x35c7e6 instanceof Uint8Array){for(var _0x40e1e6=_0x35c7e6[_0x3e282f(0x3e7)],_0x5e4ea4=[],_0x4fe03f=0x0;_0x4fe03f<_0x40e1e6;_0x4fe03f++)_0x5e4ea4[_0x4fe03f>>>0x2]|=_0x35c7e6[_0x4fe03f]<<0x18-_0x4fe03f%0x4*0x8;_0x1ac539[_0x3e282f(0x49b)](this,_0x5e4ea4,_0x40e1e6);}else _0x1ac539[_0x3e282f(0x1e1)](this,arguments);};_0x5dfd57[_0x5abe08(0x4a0)]=_0x5eaa6c;}}()),_0x3992e[_0x2633c3(0x302)]['WordArray'];}));}(_0x16b9a1)),_0x16b9a1[_0x105ecc(0x246)];}var _0x2d198f=_0xb851b0();const _0x5c325b=_0x48874a(_0x2d198f);var _0x41485e={'exports':{}},_0x5c3304=_0x41485e[_0x549351(0x246)],_0x112163;function _0x5273ed(){var _0x416dba=_0x549351;return _0x112163||(_0x112163=0x1,function(_0x2de185,_0x4fbdd2){(function(_0x423332,_0x49d9d6,_0x3cac67){_0x2de185['exports']=_0x49d9d6(_0x390438(),_0x91357f());}(_0x5c3304,function(_0x28def8){var _0x1a5b33=_0x8cbe;return _0x28def8[_0x1a5b33(0x171)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x28def8[_0x1a5b33(0x171)][_0x1a5b33(0x1d7)];}));}(_0x41485e)),_0x41485e[_0x416dba(0x246)];}var _0x154ea4=_0x5273ed();const _0x3233bc=_0x48874a(_0x154ea4);function _0x2244ce(_0xb9adf9,_0x477345){var _0x42a7c4=_0x549351;const _0x4d01b6=_0x477345-_0xb9adf9[_0x42a7c4(0x3ea)]%_0x477345,_0xbc3e85=String[_0x42a7c4(0x3b8)](_0x4d01b6)['repeat'](_0x4d01b6);return _0xb9adf9+_0xbc3e85;}function _0x54cbfc(_0x356a6e,_0x282b95){var _0xd6811a=_0x549351;const _0x4c2261=_0x5c325b['random'](0x10),_0x30d393=_0x2244ce(_0x356a6e,0x10),_0x4a0abc=_0x393fce[_0xd6811a(0x4a5)](_0x3b0112[_0xd6811a(0x4b4)](_0x30d393),_0x2ff5c0[_0xd6811a(0x4b4)](_0x282b95),{'iv':_0x4c2261,'padding':_0x3233bc});return _0x4c2261[_0xd6811a(0x359)](_0x4a0abc['ciphertext'])[_0xd6811a(0x27a)](_0x2ff5c0);}function _0x1c6999(){var _0x69cc7e=_0x549351;const _0x38a5e0=_0x3d8a6a[_0x69cc7e(0x3d1)]()[_0x69cc7e(0x261)];if(_0x38a5e0){const _0x5e89e8={'time':Math[_0x69cc7e(0x217)](Date['now']()/0x3e8),'domain':location[_0x69cc7e(0x398)]};return _0x54cbfc(JSON['stringify'](_0x5e89e8),_0x38a5e0);}}var _0x59fd9f=Object[_0x549351(0x3ff)],_0xbd43b3=(_0x3fd49b,_0xffd10,_0x5634b0,_0x5f3dd8)=>{var _0x537537=_0x549351;for(var _0x327bbd=_0x5f3dd8>0x1?void 0x0:_0x5f3dd8?_0x59fd9f(_0xffd10,_0x5634b0):_0xffd10,_0x167a1d=_0x3fd49b[_0x537537(0x3ea)]-0x1,_0x3c0fd1;_0x167a1d>=0x0;_0x167a1d--)(_0x3c0fd1=_0x3fd49b[_0x167a1d])&&(_0x327bbd=_0x3c0fd1(_0x327bbd)||_0x327bbd);return _0x327bbd;},_0x8ed5a=(_0x1d2366,_0x28937a)=>(_0x4630cd,_0x300ae7)=>_0x28937a(_0x4630cd,_0x300ae7,_0x1d2366);let _0x4cce46=class{constructor(_0x1e2b58){var _0x1a6a01=_0x549351;this[_0x1a6a01(0x440)]=_0x1e2b58,this[_0x1a6a01(0x1a4)]();}['_initRequestHeader'](){var _0x48eb76=_0x549351;this[_0x48eb76(0x440)][_0x48eb76(0x188)]({'interceptor':(_0x5cb96e,_0x4591c1)=>{var _0x2959ec=_0x48eb76;const _0x252b54=_0x5cb96e[_0x2959ec(0x2a0)],_0x5b80b8=_0x1c6999();return _0x5b80b8&&_0x252b54[_0x2959ec(0x4a7)]('x-univer-host',_0x5b80b8),_0x4591c1(_0x5cb96e);}});}};_0x4cce46=_0xbd43b3([_0x8ed5a(0x0,_0x1580f8[_0x549351(0x2d9)](_0x2864cd['HTTPService']))],_0x4cce46);var _0x42dc6b=Object[_0x549351(0x3ff)],_0x3dcee9=(_0x4ee40f,_0x47f1e1,_0xe34f91,_0x3f2c75)=>{for(var _0x37bff8=_0x3f2c75>0x1?void 0x0:_0x3f2c75?_0x42dc6b(_0x47f1e1,_0xe34f91):_0x47f1e1,_0x8efe50=_0x4ee40f['length']-0x1,_0x37b4ca;_0x8efe50>=0x0;_0x8efe50--)(_0x37b4ca=_0x4ee40f[_0x8efe50])&&(_0x37bff8=_0x37b4ca(_0x37bff8)||_0x37bff8);return _0x37bff8;},_0x4394cd=(_0x115dab,_0x4b0c3c)=>(_0x4e7ed7,_0x5a2785)=>_0x4b0c3c(_0x4e7ed7,_0x5a2785,_0x115dab);_0x1ac966[_0x549351(0x459)]=class extends _0x1580f8[_0x549351(0x2ef)]{constructor(_0x5bd472,_0xbee574,_0x538263){var _0x1d62d2=_0x549351;super(),_0x1ad8fe(this,_0x1d62d2(0x25b),new _0xdf3790[(_0x1d62d2(0x37c))](null)),_0x1ad8fe(this,_0x1d62d2(0x3d2),this['_unitInfo$']['asObservable']()),(this[_0x1d62d2(0x211)]=_0x5bd472,this['_snapshotService']=_0xbee574,this[_0x1d62d2(0x21b)]=_0x538263);}async[_0x549351(0x186)](_0x9c2e77,_0x1469eb,_0x2de52c){var _0xf6efaf=_0x549351;this[_0xf6efaf(0x25b)][_0xf6efaf(0x466)]({'unitId':_0x9c2e77,'type':_0x1469eb,'subUnitId':_0x2de52c});let _0x8b4bae=null;switch(_0x1469eb){case _0xe53b2e[_0xf6efaf(0x158)]:{_0x8b4bae=await this[_0xf6efaf(0x3d9)](_0x9c2e77);break;}case _0xe53b2e['UNIVER_DOC']:{_0x8b4bae=await this[_0xf6efaf(0x357)](_0x9c2e77);break;}default:{this[_0xf6efaf(0x211)][_0xf6efaf(0x4aa)](_0xf6efaf(0x418),_0xf6efaf(0x1cd));break;}}return _0x8b4bae;}async[_0x549351(0x3d9)](_0x87e1d9){var _0x216e5f=_0x549351,_0x36ef8a;let _0x50d542=0x0;const _0x77b51f=await((_0x36ef8a=this[_0x216e5f(0x21b)])==null?void 0x0:_0x36ef8a['loadOfflineData'](_0x87e1d9));return _0x77b51f&&(_0x77b51f[_0x216e5f(0x16b)]||_0x77b51f[_0x216e5f(0x4b1)][_0x216e5f(0x3ea)]!==0x0)&&(_0x50d542=_0x77b51f[_0x216e5f(0x318)]),_0x50d542===0x0&&this[_0x216e5f(0x211)][_0x216e5f(0x164)](_0x216e5f(0x418),_0x216e5f(0x2ce)),this[_0x216e5f(0x4a4)][_0x216e5f(0x174)](_0x87e1d9,_0x50d542);}async['_loadDoc'](_0x1bbb62){var _0x7cb93e=_0x549351,_0x494767;let _0x16961b=0x0;const _0x3d7788=await((_0x494767=this['_localCacheService'])==null?void 0x0:_0x494767['loadOfflineData'](_0x1bbb62));return _0x3d7788&&(_0x3d7788[_0x7cb93e(0x16b)]||_0x3d7788[_0x7cb93e(0x4b1)][_0x7cb93e(0x3ea)]!==0x0)&&(_0x16961b=_0x3d7788[_0x7cb93e(0x318)]),_0x16961b===0x0&&this[_0x7cb93e(0x211)]['debug'](_0x7cb93e(0x418),_0x7cb93e(0x2ce)),this['_snapshotService'][_0x7cb93e(0x35a)](_0x1bbb62,_0x16961b);}},_0x1ac966['DataLoaderService']=_0x3dcee9([_0x4394cd(0x0,_0x1580f8[_0x549351(0x3aa)]),_0x4394cd(0x1,_0x1580f8[_0x549351(0x2d9)](_0x1273bf[_0x549351(0x187)])),_0x4394cd(0x2,_0x1580f8['Optional'](_0x2e9c48))],_0x1ac966[_0x549351(0x459)]);var _0x4644c3=Object[_0x549351(0x3ff)],_0x290fa0=(_0x995bfa,_0x5c128f,_0x1e9eda,_0x40ea68)=>{for(var _0x2a80f4=_0x40ea68>0x1?void 0x0:_0x40ea68?_0x4644c3(_0x5c128f,_0x1e9eda):_0x5c128f,_0x28110c=_0x995bfa['length']-0x1,_0x5a6ac5;_0x28110c>=0x0;_0x28110c--)(_0x5a6ac5=_0x995bfa[_0x28110c])&&(_0x2a80f4=_0x5a6ac5(_0x2a80f4)||_0x2a80f4);return _0x2a80f4;},_0x160db5=(_0x4f86a7,_0x2f0b8d)=>(_0x58c0b1,_0x4b156b)=>_0x2f0b8d(_0x58c0b1,_0x4b156b,_0x4f86a7);const _0x3432a4=['image/png','image/jpeg',_0x549351(0x149),_0x549351(0x378),_0x549351(0x451)],_0x28603b=0x5*0x400*0x400,_0x3b2c46=_0x549351(0x239),_0x4a74cf=_0x549351(0x150),_0x225fd9='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x346d1d=_0x549351(0x25f);_0x1ac966[_0x549351(0x15e)]=class{constructor(_0x2a102f,_0x459444,_0x19104f){var _0x5282ae=_0x549351;_0x1ad8fe(this,'_waitCount',0x0),_0x1ad8fe(this,_0x5282ae(0x153),new _0xdf3790[(_0x5282ae(0x32d))]()),_0x1ad8fe(this,_0x5282ae(0x2a4),this[_0x5282ae(0x153)]),_0x1ad8fe(this,_0x5282ae(0x49d),new Map()),(this[_0x5282ae(0x440)]=_0x2a102f,this['_configService']=_0x459444,this[_0x5282ae(0x326)]=_0x19104f);}[_0x549351(0x380)](_0x9fc24b){var _0x5066f2=_0x549351;this[_0x5066f2(0x2ba)]=_0x9fc24b,this[_0x5066f2(0x153)]['next'](_0x9fc24b);}[_0x549351(0x34a)](_0xb83683,_0x1ec5d0){var _0x3ee5fc=_0x549351;if(_0x1ec5d0===_0x156a78[_0x3ee5fc(0x350)][_0x3ee5fc(0x172)]){const _0x5604cc=new Image();return _0x5604cc[_0x3ee5fc(0x205)]=_0xb83683,_0x5604cc;}return this[_0x3ee5fc(0x49d)][_0x3ee5fc(0x37d)](_0xb83683);}[_0x549351(0x30c)](_0x48a52b,_0xdf5f7,_0x22cabb){var _0x34a0bf=_0x549351;_0xdf5f7===_0x156a78['ImageSourceType']['BASE64']||_0x22cabb==null||this[_0x34a0bf(0x49d)][_0x34a0bf(0x4a7)](_0x48a52b,_0x22cabb);}async[_0x549351(0x329)](_0x33cd9a){var _0x3ac358=_0x549351;try{const _0x201c03=this[_0x3ac358(0x309)](this[_0x3ac358(0x4b6)](),''+_0x33cd9a),_0x3be719=(await this[_0x3ac358(0x440)][_0x3ac358(0x37d)](_0x201c03))[_0x3ac358(0x441)];if(_0x3be719['error']&&_0x3be719['error']['code']===_0x2f6d14['OK']){const _0x1bc1c9=new URL(_0x3be719[_0x3ac358(0x248)],this[_0x3ac358(0x2bd)]())[_0x3ac358(0x27a)]();return Promise['resolve'](_0x1bc1c9);}return Promise[_0x3ac358(0x3a6)](_0x3be719[_0x3ac358(0x4aa)]);}catch(_0x5d999b){return Promise[_0x3ac358(0x3a6)](_0x5d999b);}}async[_0x549351(0x432)](_0x26623c){var _0x2ee12f=_0x549351;let _0x2df28e='';if(!_0x3432a4[_0x2ee12f(0x42e)](_0x26623c['type']))return this['_decreaseWaiting'](),Promise[_0x2ee12f(0x3a6)](new Error(_0x156a78['ImageUploadStatusType'][_0x2ee12f(0x1d4)]));if(_0x26623c[_0x2ee12f(0x225)]>_0x28603b)return this[_0x2ee12f(0x293)](),Promise[_0x2ee12f(0x3a6)](new Error(_0x156a78[_0x2ee12f(0x2f2)][_0x2ee12f(0x243)]));try{const _0x416287=new FormData();_0x416287[_0x2ee12f(0x226)](_0x2ee12f(0x3cd),_0x26623c);const _0x1ef06e=this['_univerInstanceService']['getFocusedUnit'](),_0x4f3c45=_0x1ef06e==null?void 0x0:_0x1ef06e[_0x2ee12f(0x3cf)]();if(!_0x4f3c45)throw new Error(_0x2ee12f(0x468));const _0x10c184=this[_0x2ee12f(0x294)]()+_0x2ee12f(0x38b)+_0x26623c['size'][_0x2ee12f(0x27a)]()+_0x2ee12f(0x313)+_0x5b60ca['UnitEmbedded']+_0x2ee12f(0x27b)+encodeURIComponent(_0x4f3c45),_0x3c6b45=await(await fetch(_0x10c184,{'method':_0x2ee12f(0x2e0),'body':_0x416287}))[_0x2ee12f(0x4a1)]();if(typeof _0x3c6b45['FileId']!=_0x2ee12f(0x2e8))return this[_0x2ee12f(0x293)](),Promise[_0x2ee12f(0x3a6)](new Error(_0x156a78[_0x2ee12f(0x2f2)][_0x2ee12f(0x3cb)]));_0x2df28e=_0x3c6b45[_0x2ee12f(0x31c)];}catch{return this['_decreaseWaiting'](),Promise[_0x2ee12f(0x3a6)](new Error(_0x156a78[_0x2ee12f(0x2f2)]['ERROR_IMAGE']));}return new Promise((_0xb177de,_0x165b48)=>{var _0x5b0407=_0x2ee12f;const _0x5b1775=new FileReader();_0x5b1775[_0x5b0407(0x494)](_0x26623c),_0x5b1775[_0x5b0407(0x1eb)]=_0x40a101=>{var _0xebc5f1=_0x5b0407,_0x30278f;const _0x1ad9de=(_0x30278f=_0x40a101[_0xebc5f1(0x3da)])==null?void 0x0:_0x30278f[_0xebc5f1(0x2ab)];if(_0x1ad9de==null){this[_0xebc5f1(0x293)](),_0x165b48(new Error(_0x156a78[_0xebc5f1(0x2f2)][_0xebc5f1(0x3cb)]));return;}const _0x508a80=_0x1580f8['Tools'][_0xebc5f1(0x25d)](0x6);_0xb177de({'imageId':_0x508a80,'imageSourceType':_0x156a78[_0xebc5f1(0x350)][_0xebc5f1(0x1fc)],'source':_0x2df28e,'base64Cache':_0x1ad9de,'status':_0x156a78['ImageUploadStatusType'][_0xebc5f1(0x439)]}),this[_0xebc5f1(0x293)]();};});}[_0x549351(0x294)](){var _0x5c61a7=_0x549351,_0x31c5c5,_0x552c3f;const _0x1c5377=this[_0x5c61a7(0x475)][_0x5c61a7(0x1ca)](_0x3b2c46),_0xb5efa8=this['_configService']['getConfig'](_0x1db2ed);return(_0x552c3f=(_0x31c5c5=_0xb5efa8==null?void 0x0:_0xb5efa8['uploadFileServerUrl'])!=null?_0x31c5c5:_0x1c5377)!=null?_0x552c3f:_0x4a74cf;}[_0x549351(0x4b6)](){var _0x42c305=_0x549351,_0x5c2592,_0x5a89c4;const _0x4c4903=this[_0x42c305(0x475)]['getConfig'](_0x225fd9),_0x1520f2=this[_0x42c305(0x475)][_0x42c305(0x1ca)](_0x1db2ed);return(_0x5a89c4=(_0x5c2592=_0x1520f2==null?void 0x0:_0x1520f2['signUrlServerUrl'])!=null?_0x5c2592:_0x4c4903)!=null?_0x5a89c4:_0x346d1d;}[_0x549351(0x2bd)](){var _0x42eebe=_0x549351,_0x4caf2c;const _0x2a1c50=this[_0x42eebe(0x475)][_0x42eebe(0x1ca)](_0x1db2ed);return(_0x4caf2c=_0x2a1c50==null?void 0x0:_0x2a1c50[_0x42eebe(0x4ac)])!=null?_0x4caf2c:location[_0x42eebe(0x3e6)];}['_replaceFileID'](_0x25134f,_0x2380c3){var _0x30c92b=_0x549351;return _0x25134f[_0x30c92b(0x477)](_0x30c92b(0x46c),_0x2380c3);}[_0x549351(0x293)](){this['_waitCount']-=0x1,this['_change$']['next'](this['_waitCount']);}},_0x1ac966[_0x549351(0x15e)]=_0x290fa0([_0x160db5(0x0,_0x1580f8['Inject'](_0x2864cd[_0x549351(0x1ac)])),_0x160db5(0x1,_0x1580f8[_0x549351(0x424)]),_0x160db5(0x2,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x3ce)]))],_0x1ac966['CollaborationImageIoService']);var _0x748ff1=Object[_0x549351(0x3ff)],_0x3c9155=(_0x137c12,_0x14595f,_0x1fffa2,_0x19198d)=>{var _0x5634ae=_0x549351;for(var _0x21c603=_0x19198d>0x1?void 0x0:_0x19198d?_0x748ff1(_0x14595f,_0x1fffa2):_0x14595f,_0x4d409c=_0x137c12[_0x5634ae(0x3ea)]-0x1,_0x3587a0;_0x4d409c>=0x0;_0x4d409c--)(_0x3587a0=_0x137c12[_0x4d409c])&&(_0x21c603=_0x3587a0(_0x21c603)||_0x21c603);return _0x21c603;},_0x57f9a7=(_0x47fc08,_0x1eee8e)=>(_0x1fbc48,_0x361cbf)=>_0x1eee8e(_0x1fbc48,_0x361cbf,_0x47fc08);const _0x407299=_0x549351(0x374);_0x1ac966[_0x549351(0x4c1)]=class{constructor(_0x218173,_0x2fc2b3){var _0x1f39d5=_0x549351;this[_0x1f39d5(0x475)]=_0x218173,this[_0x1f39d5(0x204)]=_0x2fc2b3;}[_0x549351(0x165)](){var _0xa84128=_0x549351,_0x390caa,_0x23d5db;const _0x31c245=this['_configService']['getConfig'](_0x2d05be),_0x46541b=this[_0xa84128(0x475)][_0xa84128(0x1ca)](_0x1db2ed);return(_0x23d5db=(_0x390caa=_0x46541b==null?void 0x0:_0x46541b['authzUrl'])!=null?_0x390caa:_0x31c245)!=null?_0x23d5db:_0x407299;}async[_0x549351(0x3ee)](_0x3944aa){var _0x2932eb=_0x549351;const _0x2a58b6=this[_0x2932eb(0x165)]()+_0x2932eb(0x436);return{'list':[{'title':_0x2932eb(0x175),'mentions':(await this[_0x2932eb(0x204)][_0x2932eb(0x37d)](_0x2a58b6,{'params':{'objectID':_0x3944aa[_0x2932eb(0x434)],'unitID':_0x3944aa[_0x2932eb(0x434)]}}))['body'][_0x2932eb(0x45e)][_0x2932eb(0x4b7)](_0x1e820a=>({'objectId':_0x1e820a['id'],'name':_0x1e820a['subject'][_0x2932eb(0x173)],'metadata':{'icon':_0x1e820a[_0x2932eb(0x200)][_0x2932eb(0x365)]},'label':_0x1e820a[_0x2932eb(0x200)][_0x2932eb(0x173)],'objectType':_0x1580f8[_0x2932eb(0x2ff)][_0x2932eb(0x487)]})),'metadata':{},'type':_0x1580f8['MentionType']['PERSON']}]};}},_0x1ac966['MentionIoHttpService']=_0x3c9155([_0x57f9a7(0x0,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x424)])),_0x57f9a7(0x1,_0x1580f8[_0x549351(0x2d9)](_0x2864cd[_0x549351(0x1ac)]))],_0x1ac966['MentionIoHttpService']);var _0x425c67=Object[_0x549351(0x3ff)],_0x376dc8=(_0x52bc69,_0x13c9c6,_0x54c231,_0x328eec)=>{var _0x3b73ce=_0x549351;for(var _0xa8d15e=_0x328eec>0x1?void 0x0:_0x328eec?_0x425c67(_0x13c9c6,_0x54c231):_0x13c9c6,_0x35160d=_0x52bc69[_0x3b73ce(0x3ea)]-0x1,_0x2200f4;_0x35160d>=0x0;_0x35160d--)(_0x2200f4=_0x52bc69[_0x35160d])&&(_0xa8d15e=_0x2200f4(_0xa8d15e)||_0xa8d15e);return _0xa8d15e;},_0x17c1db=(_0x1078ef,_0x2b6936)=>(_0x2b3e7e,_0xc43ca0)=>_0x2b6936(_0x2b3e7e,_0xc43ca0,_0x1078ef);let _0x52e584=class extends _0x1580f8[_0x549351(0x2ef)]{constructor(_0x206e2c,_0x5d36d8,_0x2f1c0e,_0x58cb0b,_0x503ba8){var _0x21ea57=_0x549351;super(),this[_0x21ea57(0x2c4)]=_0x206e2c,this[_0x21ea57(0x326)]=_0x5d36d8,this[_0x21ea57(0x2dc)]=_0x2f1c0e,this[_0x21ea57(0x496)]=_0x58cb0b,this['_collaborationUIEventService']=_0x503ba8,this['_initUnitPermissionChange'](),this[_0x21ea57(0x1a8)]();}['_initCloseConn'](){var _0x2f47ea=_0x549351;const _0x1886a1=async _0x7a97f1=>{var _0x1855a1=_0x8cbe;(await this[_0x1855a1(0x496)]['requireSession'](_0x7a97f1))[_0x1855a1(0x32f)][_0x1855a1(0x48a)](_0x2f0ffe[_0x1855a1(0x3b9)](_0x23c51e=>_0x23c51e[_0x1855a1(0x2e5)]===_0x1273bf[_0x1855a1(0x271)][_0x1855a1(0x2be)]),_0x2f0ffe[_0x1855a1(0x387)](this[_0x1855a1(0x2e3)]))['subscribe'](_0x3b7247=>{var _0x891184=_0x1855a1;const _0x1294be=_0x3b7247,{reason:_0x9507fd}=_0x1294be[_0x891184(0x310)];this[_0x891184(0x274)][_0x891184(0x390)]({'id':_0x2bf599[_0x891184(0x3c2)],'data':_0x9507fd}),this[_0x891184(0x2dc)][_0x891184(0x429)](new _0x3a5b47['WorkbookEditablePermission'](_0x7a97f1)['id'],!0x1),this[_0x891184(0x496)][_0x891184(0x402)](_0x7a97f1);});};_0xdf3790[_0x2f47ea(0x29f)](this[_0x2f47ea(0x326)][_0x2f47ea(0x42d)](_0x1580f8[_0x2f47ea(0x3fb)][_0x2f47ea(0x158)]),this[_0x2f47ea(0x326)][_0x2f47ea(0x42d)](_0x1580f8[_0x2f47ea(0x3fb)][_0x2f47ea(0x448)]))[_0x2f47ea(0x48a)](_0x2f0ffe[_0x2f47ea(0x4b7)](_0x1c3a5e=>_0x1c3a5e['getUnitId']()),_0x2f0ffe[_0x2f47ea(0x3b9)](_0xb6b56e=>!_0x1580f8[_0x2f47ea(0x460)](_0xb6b56e)),_0x2f0ffe[_0x2f47ea(0x387)](this[_0x2f47ea(0x2e3)]))[_0x2f47ea(0x4ab)](_0x5c7015=>{_0x1886a1(_0x5c7015);});}[_0x549351(0x32b)](){var _0x26d587=_0x549351;const _0x4fc666=async _0x200936=>{var _0xcba788=_0x8cbe;const _0x1f052a=await this[_0xcba788(0x496)]['requireSession'](_0x200936),_0x42d110=this['_injector'][_0xcba788(0x37d)](_0x3a5b47['SheetPermissionInitController']);_0x1f052a['event$'][_0xcba788(0x48a)](_0x2f0ffe[_0xcba788(0x3b9)](_0x174572=>_0x174572['eventID']===_0x1273bf[_0xcba788(0x271)][_0xcba788(0x2c5)]),_0x2f0ffe[_0xcba788(0x387)](this['dispose$']))[_0xcba788(0x4ab)](_0x48eba9=>{var _0x4b4efa=_0xcba788;const _0x540284=_0x48eba9,{objectId:_0x5d54c1}=_0x540284[_0x4b4efa(0x310)];_0x5d54c1===_0x200936?_0x42d110[_0x4b4efa(0x2de)](_0x200936):_0x42d110[_0x4b4efa(0x17f)](_0x200936,_0x5d54c1);});};_0xdf3790[_0x26d587(0x29f)](this[_0x26d587(0x326)][_0x26d587(0x42d)](_0x1580f8[_0x26d587(0x3fb)][_0x26d587(0x158)]))[_0x26d587(0x48a)](_0x2f0ffe[_0x26d587(0x4b7)](_0x4780cf=>_0x4780cf['getUnitId']()),_0x2f0ffe[_0x26d587(0x3b9)](_0xeab201=>!_0x1580f8['isInternalEditorID'](_0xeab201)),_0x2f0ffe['takeUntil'](this['dispose$']))['subscribe'](_0x33720f=>{_0x4fc666(_0x33720f);});}};_0x52e584=_0x376dc8([_0x17c1db(0x0,_0x1580f8[_0x549351(0x2d9)](_0x1580f8[_0x549351(0x331)])),_0x17c1db(0x1,_0x1580f8[_0x549351(0x3ce)]),_0x17c1db(0x2,_0x1580f8[_0x549351(0x15f)]),_0x17c1db(0x3,_0x1580f8['Inject'](_0x1ac966[_0x549351(0x1d8)])),_0x17c1db(0x4,_0x1580f8['Inject'](_0x1667ed))],_0x52e584);var _0x8dcea7=Object[_0x549351(0x3ff)],_0x25faf6=(_0x5b365b,_0x5d6560,_0x3ed033,_0x1b1fce)=>{for(var _0x18d18f=_0x1b1fce>0x1?void 0x0:_0x1b1fce?_0x8dcea7(_0x5d6560,_0x3ed033):_0x5d6560,_0x347a41=_0x5b365b['length']-0x1,_0x654594;_0x347a41>=0x0;_0x347a41--)(_0x654594=_0x5b365b[_0x347a41])&&(_0x18d18f=_0x654594(_0x18d18f)||_0x18d18f);return _0x18d18f;},_0x524121=(_0xfaad20,_0x333c87)=>(_0x55dcc3,_0x561120)=>_0x333c87(_0x55dcc3,_0x561120,_0xfaad20);_0x1ac966[_0x549351(0x469)]=class{constructor(_0x461659,_0x3ec713){var _0x483845=_0x549351;this[_0x483845(0x475)]=_0x461659,this['_httpService']=_0x3ec713;}async['getUnitOnRev'](_0x52ae31,_0x409e3c){var _0x3d6008=_0x549351,_0x5d3a9e;const {unitID:_0x4ca813,type:_0xca7270,revision:_0x43dbdd=0x0}=_0x409e3c,_0x25d04a=this[_0x3d6008(0x4bc)]()+'/'+_0xca7270+'/unit/'+_0x4ca813+_0x3d6008(0x2b1)+_0x43dbdd,_0x3029ca=(await this[_0x3d6008(0x440)]['get'](_0x25d04a))[_0x3d6008(0x441)],_0x32b532=(_0x5d3a9e=_0x3029ca[_0x3d6008(0x488)])==null?void 0x0:_0x5d3a9e[_0x3d6008(0x1cf)];if(_0x32b532){const _0x1242fc=_0x32b532==null?void 0x0:_0x32b532[_0x3d6008(0x140)],_0x37afe5=_0x1273bf[_0x3d6008(0x452)]['encode'](_0x1273bf[_0x3d6008(0x474)](_0x1242fc));_0x32b532['originalMeta']=_0x37afe5,Object['entries'](_0x32b532[_0x3d6008(0x21e)])[_0x3d6008(0x2b0)](([,_0x419a9f])=>{var _0x35b721=_0x3d6008;const _0x398448=_0x419a9f[_0x35b721(0x140)],_0x2467ec=_0x1273bf['textEncoder']['encode'](_0x1273bf['b64DecodeUnicode'](_0x398448));_0x419a9f[_0x35b721(0x140)]=_0x2467ec;});}return _0x3029ca;}async['getSheetBlock'](_0x14d37e,_0x2a139f){var _0x235c62=_0x549351;const {unitID:_0x1b0a35,type:_0xb80d87,blockID:_0x291aeb}=_0x2a139f,_0x5d3d79=this[_0x235c62(0x304)]()+'/'+_0xb80d87+'/unit/'+_0x1b0a35+'/block/'+_0x291aeb;return(await this[_0x235c62(0x440)][_0x235c62(0x37d)](_0x5d3d79))[_0x235c62(0x441)];}async[_0x549351(0x1cc)](_0x3177ff,_0x41df4e){var _0x4d7902=_0x549351;const {unitID:_0x5e5d99,type:_0x272e8a,blockID:_0x2c7c5e}=_0x41df4e,_0x4ac592=this['_getAPIPrefix']()+'/block/'+_0x272e8a+_0x4d7902(0x404)+_0x5e5d99+_0x4d7902(0x2b7)+_0x2c7c5e;return(await this[_0x4d7902(0x440)]['get'](_0x4ac592))['body'];}async[_0x549351(0x25a)](_0x211324,_0x36c262){var _0x4821a9=_0x549351;const {unitID:_0xccc96f,type:_0x581a6e,from:_0x51561d,to:_0x138d1e}=_0x36c262,_0x2825c7=this[_0x4821a9(0x304)]()+'/'+_0x581a6e+_0x4821a9(0x404)+_0xccc96f+'/fetchmissing?from='+_0x51561d+_0x4821a9(0x3bb)+_0x138d1e;return(await this[_0x4821a9(0x440)][_0x4821a9(0x37d)](_0x2825c7))['body'];}['getSnapshotAPIPath'](){var _0x224ca4=_0x549351,_0x50c157;return(_0x50c157=this[_0x224ca4(0x475)][_0x224ca4(0x1ca)](_0x832350))!=null?_0x50c157:this[_0x224ca4(0x304)]();}['_getAPIPrefix'](){var _0x49c29a=_0x549351,_0x1dc49f,_0x18ef90;const _0x55c017=this[_0x49c29a(0x475)]['getConfig'](_0x1283aa),_0x5a442d=this[_0x49c29a(0x475)][_0x49c29a(0x1ca)](_0x1db2ed);return(_0x18ef90=(_0x1dc49f=_0x5a442d==null?void 0x0:_0x5a442d[_0x49c29a(0x41a)])!=null?_0x1dc49f:_0x55c017)!=null?_0x18ef90:_0xa37e85;}async[_0x549351(0x286)](_0x368f39,_0x415345){var _0x50bc7d=_0x549351;const _0x4eca20=_0x50bc7d(0x349)+_0x415345[_0x50bc7d(0x1ce)]+_0x50bc7d(0x404)+_0x415345[_0x50bc7d(0x181)]+_0x50bc7d(0x447);return(await this[_0x50bc7d(0x440)]['get'](_0x4eca20,{'params':{'resourceId':JSON[_0x50bc7d(0x282)](_0x415345[_0x50bc7d(0x256)])}}))[_0x50bc7d(0x441)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x4b67d8=_0x549351;throw new Error(_0x4b67d8(0x3e0));}[_0x549351(0x2b8)](){var _0x2bbe63=_0x549351;throw new Error(_0x2bbe63(0x3e0));}[_0x549351(0x297)](){var _0x5f46d5=_0x549351;throw new Error(_0x5f46d5(0x3e0));}[_0x549351(0x22e)](){var _0x45abf9=_0x549351;throw new Error(_0x45abf9(0x3e0));}},_0x1ac966[_0x549351(0x469)]=_0x25faf6([_0x524121(0x0,_0x1580f8[_0x549351(0x424)]),_0x524121(0x1,_0x1580f8['Inject'](_0x2864cd[_0x549351(0x1ac)]))],_0x1ac966[_0x549351(0x469)]);var _0x4e93c7=Object[_0x549351(0x3ff)],_0x3cf327=(_0x9a8a,_0x298ad1,_0x328753,_0x57fe83)=>{var _0x42021d=_0x549351;for(var _0x31a603=_0x57fe83>0x1?void 0x0:_0x57fe83?_0x4e93c7(_0x298ad1,_0x328753):_0x298ad1,_0x360141=_0x9a8a[_0x42021d(0x3ea)]-0x1,_0x4fb0d2;_0x360141>=0x0;_0x360141--)(_0x4fb0d2=_0x9a8a[_0x360141])&&(_0x31a603=_0x4fb0d2(_0x31a603)||_0x31a603);return _0x31a603;},_0x854576=(_0x3c499b,_0x43995a)=>(_0x2b53e6,_0x79ac42)=>_0x43995a(_0x2b53e6,_0x79ac42,_0x3c499b);_0x1ac966[_0x549351(0x358)]=class extends _0x1580f8[_0x549351(0x48f)]{constructor(_0x4e360f,_0x4cf609,_0x2ad3db,_0x563df1,_0xda3d09){var _0x1c90dd=_0x549351;super(_0x4e360f,_0x4cf609,_0x2ad3db),this['_transformService']=_0x563df1,this[_0x1c90dd(0x211)]=_0xda3d09;}[_0x549351(0x3b1)](_0x2f5a2b,_0x525456){var _0x19d701=_0x549351;const _0x5daedf=this['_getUndoStack'](_0x2f5a2b);if(_0x5daedf)try{const _0x460221=this['_transformStack'](_0x5daedf,_0x525456);this['_substituteUndoStack'](_0x2f5a2b,_0x460221);}catch(_0x3c1447){this[_0x19d701(0x211)][_0x19d701(0x4aa)](_0x19d701(0x42c),_0x3c1447),this[_0x19d701(0x3db)](_0x2f5a2b);}const _0x4d1fe9=this['_getRedoStack'](_0x2f5a2b);if(_0x4d1fe9)try{const _0x527779=this[_0x19d701(0x3c0)](_0x4d1fe9,_0x525456);this[_0x19d701(0x215)](_0x2f5a2b,_0x527779);}catch(_0x40a5e8){this[_0x19d701(0x211)][_0x19d701(0x4aa)](_0x40a5e8),this[_0x19d701(0x301)](_0x2f5a2b);}}[_0x549351(0x3db)](_0x309e0a){var _0x5b691a=_0x549351;const _0x4fdf99=this['_getUndoStack'](_0x309e0a);_0x4fdf99&&(_0x4fdf99[_0x5b691a(0x3ea)]=0x0,this[_0x5b691a(0x491)]());}[_0x549351(0x301)](_0xd33956){var _0x4d290d=_0x549351;const _0xb7183f=this[_0x4d290d(0x1ee)](_0xd33956);_0xb7183f&&(_0xb7183f[_0x4d290d(0x3ea)]=0x0,this[_0x4d290d(0x491)]());}['_substituteUndoStack'](_0x38b183,_0x4d0c1d){var _0x23144f=_0x549351;this[_0x23144f(0x25c)][_0x23144f(0x4a7)](_0x38b183,_0x4d0c1d),this['_updateStatus']();}['_substituteRedoStack'](_0x23a4b9,_0x38f0aa){var _0x17288c=_0x549351;this[_0x17288c(0x16f)]['set'](_0x23a4b9,_0x38f0aa),this[_0x17288c(0x491)]();}['_transformStack'](_0x5db240,_0x56fcda){var _0x2ee51d=_0x549351;const _0x3d9d9a=[];let _0x1dbdab=_0x56fcda,_0x260dab=_0x56fcda;for(let _0x253d52=_0x5db240[_0x2ee51d(0x3ea)]-0x1;_0x253d52>=0x0;_0x253d52--){const {unitID:_0x511c41,undoMutations:_0x262065,redoMutations:_0x5be9c9}=_0x5db240[_0x253d52],_0x45508e=this[_0x2ee51d(0x34b)][_0x2ee51d(0x462)](_0x1dbdab,_0x262065),_0x1969c6=this[_0x2ee51d(0x34b)]['transformMutationsWithChangeset'](_0x260dab,_0x5be9c9);if(_0x1273bf['isTransformMutationsWithChangesetFailure'](_0x45508e)||_0x1273bf[_0x2ee51d(0x34c)](_0x1969c6)){this[_0x2ee51d(0x211)][_0x2ee51d(0x4aa)](_0x2ee51d(0x42c),_0x2ee51d(0x4bb),_0x45508e,_0x1969c6);break;}_0x1dbdab=_0x45508e['c1Prime'],_0x260dab=_0x1969c6['c1Prime'],_0x3d9d9a[_0x2ee51d(0x2c6)]({'unitID':_0x511c41,'undoMutations':_0x45508e['m2Prime'],'redoMutations':_0x1969c6['m2Prime']});}return _0x3d9d9a['reverse']();}},_0x1ac966[_0x549351(0x358)]=_0x3cf327([_0x854576(0x0,_0x1580f8[_0x549351(0x3ce)]),_0x854576(0x1,_0x1580f8['ICommandService']),_0x854576(0x2,_0x1580f8[_0x549351(0x1f4)]),_0x854576(0x3,_0x1273bf['ITransformService']),_0x854576(0x4,_0x1580f8[_0x549351(0x3aa)])],_0x1ac966[_0x549351(0x358)]);var _0x40b57a=Object['defineProperty'],_0x3f87e6=Object[_0x549351(0x3ff)],_0x51ed86=(_0x4ed34c,_0x3ff6d3,_0x15b03c)=>_0x3ff6d3 in _0x4ed34c?_0x40b57a(_0x4ed34c,_0x3ff6d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15b03c}):_0x4ed34c[_0x3ff6d3]=_0x15b03c,_0xee2237=(_0x27d4fe,_0x50568d,_0x24fb1d,_0x4b78fa)=>{var _0x98c369=_0x549351;for(var _0x5c41c=_0x4b78fa>0x1?void 0x0:_0x4b78fa?_0x3f87e6(_0x50568d,_0x24fb1d):_0x50568d,_0x25500a=_0x27d4fe[_0x98c369(0x3ea)]-0x1,_0x1b6d48;_0x25500a>=0x0;_0x25500a--)(_0x1b6d48=_0x27d4fe[_0x25500a])&&(_0x5c41c=_0x1b6d48(_0x5c41c)||_0x5c41c);return _0x5c41c;},_0xef21fb=(_0x28df9d,_0x3f6d85)=>(_0x46f092,_0xf7e03)=>_0x3f6d85(_0x46f092,_0xf7e03,_0x28df9d),_0x4a940a=(_0x1d1395,_0x2814a2,_0x2d7ede)=>_0x51ed86(_0x1d1395,_0x2814a2+'',_0x2d7ede);const _0x2d83e9=_0x549351(0x192);_0x1ac966[_0x549351(0x408)]=class extends _0x1580f8[_0x549351(0x1d1)]{constructor(_0x29bbf4,_0x4bf6db,_0x2dfcc3,_0x2765b3){var _0x5dea28=_0x549351;super(),_0x1ad8fe(this,'_config'),(this['_logService']=_0x4bf6db,this['_injector']=_0x2dfcc3,this['_configService']=_0x2765b3);const {..._0x2e7a46}=_0x1580f8[_0x5dea28(0x29f)]({},_0x8159a3,_0x29bbf4);if(!_0x2e7a46['socketService'])throw new Error(_0x5dea28(0x283));this[_0x5dea28(0x416)]=_0x2e7a46,this[_0x5dea28(0x475)][_0x5dea28(0x371)](_0x1db2ed,_0x2e7a46);}['onStarting'](){var _0x120e5b=_0x549351;this[_0x120e5b(0x268)](),this[_0x120e5b(0x1df)]();}[_0x549351(0x268)](){var _0x2bc774=_0x549351,_0x2256c0,_0x48ff94;this[_0x2bc774(0x2c4)][_0x2bc774(0x1e2)](_0x1580f8[_0x2bc774(0x180)])&&this['_logService'][_0x2bc774(0x4aa)]('[UniverCollaborationClientPlugin]',_0x2bc774(0x36f));const _0x568547=_0x1580f8[_0x2bc774(0x3b7)]([[_0x1580f8['IUndoRedoService'],{'useClass':_0x1ac966[_0x2bc774(0x358)]}],[_0x1ac966[_0x2bc774(0x1d8)]],[_0x1ac966['MemberService']],[_0x1ac966[_0x2bc774(0x249)]],[_0x368e2f],[_0x4cce46],[_0x5e520d],[_0x52e584],[_0x1667ed],[_0x1ac966[_0x2bc774(0x459)]],[_0x205f9c,{'useClass':this[_0x2bc774(0x416)][_0x2bc774(0x1fe)]}],[_0x1273bf[_0x2bc774(0x3c9)],{'useClass':_0x1ac966[_0x2bc774(0x469)]}],[_0x1580f8['IAuthzIoService'],{'useClass':_0x1ac966['AuthzIoHttpService']}],[_0x156a78[_0x2bc774(0x199)],{'useClass':_0x1ac966['CollaborationImageIoService']}],[_0x1580f8[_0x2bc774(0x46a)],{'useClass':_0x1ac966[_0x2bc774(0x4c1)]}],[_0x1ac966['CollaborationController']],[_0x405f9d]],(_0x2256c0=this['_config'])==null?void 0x0:_0x2256c0[_0x2bc774(0x1c8)]);if(!((_0x48ff94=this[_0x2bc774(0x416)])!=null&&_0x48ff94[_0x2bc774(0x278)])){const _0x7ec0f6=_0x568547[_0x2bc774(0x3dc)](([_0x1fb364])=>_0x1fb364===_0x431ecc);_0x7ec0f6!==-0x1&&_0x568547[_0x2bc774(0x1cb)](_0x7ec0f6,0x1);}_0x1580f8[_0x2bc774(0x499)](this[_0x2bc774(0x2c4)],_0x568547);}[_0x549351(0x1df)](){var _0x2ff2c6=_0x549351,_0x329c71,_0x2e84c7,_0x100f71;this['_injector'][_0x2ff2c6(0x37d)](_0x2864cd[_0x2ff2c6(0x1ac)])[_0x2ff2c6(0x188)]({'priority':0x14,'interceptor':_0x2864cd[_0x2ff2c6(0x233)]({'maxParallel':0x6})}),(_0x329c71=this[_0x2ff2c6(0x416)])!=null&&_0x329c71[_0x2ff2c6(0x444)]||(_0x2e84c7=this[_0x2ff2c6(0x2c4)]['get'](_0x2e9c48,_0x1580f8[_0x2ff2c6(0x160)]['OPTIONAL']))==null||_0x2e84c7[_0x2ff2c6(0x23b)](),(_0x100f71=this[_0x2ff2c6(0x416)])!=null&&_0x100f71['enableAuthServer']&&_0x1580f8[_0x2ff2c6(0x275)](this[_0x2ff2c6(0x2c4)],[[_0x368e2f]]),_0x1580f8[_0x2ff2c6(0x275)](this[_0x2ff2c6(0x2c4)],[[_0x4cce46],[_0x1ac966[_0x2ff2c6(0x201)]],[_0x52e584]]);}},_0x4a940a(_0x1ac966[_0x549351(0x408)],_0x549351(0x35f),_0x2d83e9),_0x1ac966[_0x549351(0x408)]=_0xee2237([_0x1580f8['DependentOn'](_0x1273bf[_0x549351(0x391)],_0x2864cd['UniverNetworkPlugin']),_0xef21fb(0x1,_0x1580f8[_0x549351(0x3aa)]),_0xef21fb(0x2,_0x1580f8['Inject'](_0x1580f8['Injector'])),_0xef21fb(0x3,_0x1580f8['IConfigService'])],_0x1ac966[_0x549351(0x408)]),_0x1ac966[_0x549351(0x1b5)]=_0x2d05be,_0x1ac966[_0x549351(0x32c)]=_0x1db2ed,_0x1ac966[_0x549351(0x443)]=_0x472a8f,_0x1ac966['COLLAB_WEB_SOCKET_URL_KEY']=_0x50a17e,_0x1ac966[_0x549351(0x39a)]=_0x3ebfe3,_0x1ac966[_0x549351(0x2b9)]=_0x2bf599,_0x1ac966[_0x549351(0x431)]=_0x1667ed,_0x1ac966['CommentService']=_0x5e520d,_0x1ac966[_0x549351(0x23e)]=_0x2225bd,_0x1ac966['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x49be1d,_0x1ac966['DEFAULT_WS_SESSION_TICKET_URL']=_0x4d6748,_0x1ac966['HEARTBEAT_INTERVAL_KEY']=_0x134ec5,_0x1ac966['HEARTBEAT_TIMEOUT_KEY']=_0x5901c0,_0x1ac966['ICollaborationSocketService']=_0x205f9c,_0x1ac966['ILocalCacheService']=_0x2e9c48,_0x1ac966[_0x549351(0x455)]=_0x1587bd,_0x1ac966[_0x549351(0x176)]=_0x431ecc,_0x1ac966['LOCAL_CACHE_INTERVAL']=0x3e8,_0x1ac966['LOCAL_CACHE_INTERVAL_KEY']=_0x34d9ee,_0x1ac966[_0x549351(0x2bb)]=_0x4fd29a,_0x1ac966['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x2cd825,_0x1ac966[_0x549351(0x4c5)]=_0x86df65,_0x1ac966[_0x549351(0x2f0)]=_0x284764,_0x1ac966[_0x549351(0x28b)]=_0x1283aa,_0x1ac966['SNAPSHOT_URL_KEY']=_0x832350,_0x1ac966[_0x549351(0x255)]=_0x5ad294,_0x1ac966[_0x549351(0x196)]=_0x2322d5,_0x1ac966['deserializeToCombResponse']=_0x25897d,_0x1ac966[_0x549351(0x1fd)]=_0x35b57d,_0x1ac966[_0x549351(0x4a3)]=_0x5ca2af,Object[_0x549351(0x344)](_0x1ac966,Symbol[_0x549351(0x21d)],{'value':_0x549351(0x197)});}));