@univerjs-pro/collaboration-client 0.6.7-nightly.202503301606 → 0.6.7-nightly.202503311607

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 _0x1789(){var _0x103690=['_commandService','_event$','get','isInternalEditorID','FETCH_MISS','ISocketService','_cipher','/block/','createSocket','userID','isTransformChangesetsSuccess','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','signUrlServerUrl','_keyPriorReset','LEAVE','href','_getRedoStack','open$','concat','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clamp','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_doCryptBlock','save\x20fail\x20reason\x20is\x20','collabSubmitChangesetUrl','_createInitialStateImpl','JSONX','awaiting','CollaborationSocketService','30pkXlao','joinEvent','_transformSelections','serializeCombRequest','every','_createHmacHelper','_entities','csAckEvent','_sendHeartbeat','FileId','patch','eventID','/universer-api/file/{fileID}/sign-url','range','_initMergeInterceptor','sessionStatus','18054VTOWzT','_snapshotServerService','_iv','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','getFocusedUnit','getUnitOnRev','confirm','_redoStacks','JOIN','/universer-api/stream/file/upload','salt','34796604WgIaGP','reset','_syncEditingCollabCursor','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','5422130qupSyl','subUnitId','resourceIDs','pluginName','actions','getCurrentUser','close$','_onFetchMissResult','image/bmp','unknown','getGlobalObject','key','JOIN_ROOM_NOT_EXISTS','NEW_CHANGESETS','CONFLICT','withCredentials','onTransformSelections','awaitingChangeset','rev','liveShareOperation','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','take','[CollaborationUndoRedoService]','json','infoRsp','UniverInstanceType','_key','Optional','_unitInfo$','YUUMI_UNABLE_LOAD_URL','update','ITransformService','UniverCollaborationClientPlugin','_onConflict','RevisionService','_status$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','EXCHANGE_SIGN_URL_SERVER_URL_KEY','revision','_sender','CBC','CollaborationEntity','COLLAB_WEB_SOCKET_URL','onTransformRemoteChangesetByIMECache','USER_NOT_INVITED_CODE','EmptyMutation','UniverCore','cmd','_imageSourceCache','_injector','session','reduce','image/gif','readAsDataURL','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','fromCharCode','sheets','joinRsp','UPDATE_CURSOR','execute','COMPRESS_MUTATION_APPLY','filter','change$','onTransformState','INTERNAL_ERROR','LIVESHARE_NEW_HOST','CollaborationUIEventService','_replayCachedMutations','UUID','failed\x20to\x20apply\x20missed\x20changesets!','20nzkzFj','_hash','fetching\x20missing\x20changesets\x20from\x20','isTransformMutationsWithChangesetFailure','encryptBlock','_hasher','updatePermissionObjEvent','_handler','SessionStatus','_transformRemoteChangesetByIMECache','prototype','getCollabEntity$','sid','LIVESHARE_REQUEST_HOST','socketService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','retryConnectingInterval','_awaitingChangeset','params','reverse','LICENSE_EXPORT_SIZE_EXCEEDED','GLOBAL_ROOMS_CNT_EXCEEDS','1368598ZjzBbM','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_eventService','_transformStateCache','pending','_initRequestHeader','_queuedRemoteChangesets','APPLY_REJECT','AuthzIoHttpService','concatMap','createInstance','[SyncedState]:\x20received\x20rejection.','mergeOverrideWithDependencies','objectActions','/allowed','toggleOffline','commentUpdate$','getUnit','event$','uploadFileServerUrl','getMember','copyFileMeta','map','isTransformMutationsWithChangesetSuccess','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','socket\x20open.','_updateStatus','ImageSourceType','/resources','abs','LIVESHARE_TERMINATE','replace','localeService','YUUMI_SUBSCRIPTION_NOT_FOUND','_createHelper','24budqmp','ivSize','306569eudomj','_handlerCallback','_createInitialState','onRemoteRej','SetSelectionsOperation','_socket','close','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[FetchMissState]','_socketService','\x20in\x20_schedule.','_checkMissing','CollaborationImageIoService','has','call','_removeRoom','ERROR_IMAGE_TYPE','onRemoteAck','_getDownloadEndpointURL','_scheduleCollaborationTimeoutTimer','join','_retryConnectingTimer','_clearCollaborationTimeoutTimer','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','duration','b64DecodeUnicode','UPDATE_PERMISSION_OBJ','CollaborationStatus','[UniverCollaborationClientPlugin]','/role','13fwrZyt','_getAPIPrefixPath','_instanceService','UniverDocs','workbook','UniverProLicense','avatar','univer-pro.collaboration-client.single-active-unit-service','complete','getOwnPropertyDescriptor','SheetTransformSelectionsService','JOIN_ROOM_FAILED','&to=','generateRandomId','SEND_CHANGESET_TIMEOUT','SUBMIT_CHANGESET','COMMENT_UPDATE','RETRY_CONNECTING_MAX_COUNT_KEY','decryptBlock','m2Prime','Subject','setWaitCount','CLOSE_ROOM','_ENC_XFORM_MODE','src','_doCreateSocket','IImageIoService','removeMember','_clearTimeoutTimer','apply','SOCKET_FAILED_RETRY','OTHER_CLIENTS_EDITING','encodeURIComponent','_onUserJoin','BehaviorSubject','/-/object/list','TOO_MANY_REQUESTS','CHANGESET_ACK','c2Prime','splice','BASE64','ciphertext','subject','SerializableCipher','ONLINE','_onLocalMutation','transformUndoRedo','put','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','enableOfflineEditing','$super','result','disposeWithMe','touchDependencies','shareReplay','CHANGESET_REVISION_CONFILICT','find','_compressMutationService','_getUndoStack','telemetry\x20info\x20is\x20not\x20initialized','DEFAULT_FILE_NAME','shouldCloseConn','Hex','onRemoteRetry','Undefined','CollaborationController','then','charAt','addImageSourceCache','_DEC_XFORM_MODE','image/png','_unitID','getActiveSheet','toDisposable','__Key__','_commentService','ICollaborationSocketService','Base','Plugin','@univerjs/docs','status','MemberService','enableAuthServer','OPTIONAL','CommentService','_nDataBytes','_clearRetryConnectingTimer','UNIVER_SLIDE','onMissingChangesets','send','[CollaborationSessionService]:\x20socket\x20error','RETRY_CONNECTING_MAX_COUNT','liveShareNewHost','[PendingState]:\x20received\x20acknowledgement.','randomBytes','_undoRedoService','_collaborationSessionService','sigBytes','random','csShouldRetryEvent','getSheetId','_stopTelemetryCollaborationNewChangeset','title','socket$','Module','/universer-api/oidc/authpage','SHA1','_undoStacks','kdf','unpad','transformMutationsWithChangeset','CollaborationUIEventId','UNISCRIPT_RUN','HmacMD5','JOIN_ROOM_PERMISSION_DENIED','_resendWithTimeout','HELLO','_getCtorByUniverType','onCommentUpdate','_onConnectionFailed','\x0aAfter:\x20','onlyLocal','_collabSessionService','@univerjs/drawing','_onCombEvent','_remoteChangesetQueue','FETCH_MISSING','COLLAB_SUBMIT_CHANGESET_URL_KEY','changesets','rxjs','MergeInterceptorFactory','UniverTelemetry','[CollaborationSession]','USERS_LEAVE','mixIn','c1Prime','@univerjs/core','_executeRemoteChangeset','INVALID_ARGUMENT','[CollaborationSessionService]','pipe','_telemetryInfo','connection\x20error','batchAllowed','_transformIMECache','UNIVER_SHEET','onSyncEditingCollabCursor','floor','UniverProCollaborationClient','add','entityInit$','parseProtocolChangeset','COLLAB_WEB_SOCKET_URL_KEY','charCodeAt','bind','_showConflictNotification','_changesetSessionId','onTransformRemoteChangesetByStateCache','getDeserializedSheetBlock','LIVESHARE_OPERATION','_entityInit$','CommandType','_sheetTransformSelectionsService','UNKNOWN_CMD','rxjs/operators','PendingState','rng','COLLAB_SUBMIT_CHANGESET_URL','getSheetBlock','words','People','_nRounds','NOT_FOUND','PSEUDO_FETCH_MISSING_RESULT','action','[OfflineState]:\x20received\x20changeset.','OTHER_CLIENT_EDITING','_timeoutTimer','getLocalCacheKey','PERMISSION_REJ','HEARTBEAT','/unit/','_httpService','transformChangesets','mapDocumentTypeToUniverType','data','_collaborationPaused','LOGIN_URL_KEY','INGEST','_sendHeartbeatTimer','/collaborator','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','unsubscribe','MSG_FOR_ERROR','_process','textRanges','POST','UNDEFINED','fetch_missing','SHOULD_CLOSE_CONN','_acknowledgedAwaitingChangeset','repeat','APPLY_REVISION_CONFILICT','_onRecvEvent','onStarting','LOCAL_CACHE_INTERVAL','next','Decryptor','LICENSE_IMPORT_SIZE_EXCEEDED','_socket$','NoPadding','OFFLINE','waitForRoom$','_changesetReqId','_clearLocalCache','2PGkSkj','Hasher','sendChangesetTimeout','deepClone','_prevBlock','getUnitId','pad','Injector','UnitStatus','SUCCUSS','updateCollaborator','default','_state','__creator','_submitChangeset','BufferedBlockAlgorithm','AwaitingWithPendingState','unitInfo$','/universer-api/snapshot','pauseCollaboration','cfg','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','SEND_CHANGESET_TIMEOUT_KEY','transformStack\x20failed!','Tools','hasher','getCurrentRevOfUnit','code','_tryReconnect','includes','LOGIN_FAILED','entries','WordArray','_substituteUndoStack','getInterceptPoints','__esModule','max','_onUserLeave','getImageSourceCache','error$','updateCursorEvent','_clearUndo','\x20to\x20','message$','_listenToNetworkCondition','StreamCipher','_initCloseConn','stringify','Could\x20not\x20dynamically\x20require\x20\x22','_getAPIPrefix','setConfig','_collaborationTimeoutTimer','_applyRemoteChangeset','LocalUndoRedoService','baseRev','decrypt','createIdentifier','collaboration-client.local-cache-service','awaiting_with_pending','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','commentUpdateEvent','fetchMiss','_members','image/jpeg','PERSON','Malformed\x20UTF-8\x20data','_transformStack','_waitForHeartbeatResponse','_univerInstanceService','UNIVER_UNKNOWN','saveChangeset','PENDING','_onRemoteRejected','UniverProCollaboration','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','formatter','RichTextEditingMutation','/universer-api/user/session-ticket','routeKey','getSnapshotAPIPath','session.room-not-exists','_doReset','_mode','SNAPSHOT_URL_KEY','randomUUID','_commentUpdate$','operators','/object/','function','Disposable','CollaborationSessionService','UNIVER_PROJECT','_lockTransition','_transformService','getTime','DocCollaborationEntity','reqId','@univerjs-pro/collaboration','_onMessage','_socketReady','appendMutation','location','AUTHZ_URL_KEY','_sendingTimer','x-univer-host','_invKeySchedule','append','MD5','listRoles','sin','ImageUploadStatusType','catch','_append','toStringTag','body','byteLength','set','Failed\x20to\x20update\x20permission\x20point','finalize','getUnitType','_disableEditing','_resendTimeout','INVALID_INVITE_CODE','ILocalCacheService','_change$','IDLE','values','UNIVER_DOC','clone','Rectangle','keySize','?size=','_singleActiveUnitService','INVITE_CODE_ALREADY_BOUND','INVITE_CODE_REQUIRED','JOIN_ROOM_FULL','_onJoinRoomEvent','_state$','@univerjs-pro/license','getCollabEntity','PERMISSION_DENIED','offline','_candidateSocket','collaborators','ws://127.0.0.1:8000/universer-api/comb/connect','IConfigService','_sessions','NO_OTHER_CLIENTS_EDITING','_decreaseWaiting','_onOffline','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','ceil','DEFAULT_COLLAB_WEB_SOCKET_URL','_clearHeartbeatTimer','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','objectID','[PendingState]:\x20unhandled\x20univer\x20type:\x20','enc','amd','onMissedChangesetFetched','_toggleOnline','forEach','ReplaySubject','parse','capture','closeSession','PasswordBasedCipher','SheetCollaborationEntity','collaboratorID','toggleOnline','_schedule','_rescheduleHeartbeat','socket\x20close','getResourcesRequest','newCsEvent','[CollaborationEntity]','SNAPSHOT_HAS_BEEN_REMOVED','_socketMessageSubscription','_onRemoteACK','HEARTBEAT_INTERVAL_KEY','dispose','string','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SyncedState','roomInfos','reject','members$','session.room-full','SnapshotService','post','min','UniverCollaborationPlugin','_transitionLocked','msCrypto','CollaborationSession','ICommandService','state','name','_emitMembers','FetchingMissState','responseType','univer-pro.collaboration-client.network-condition.service','saveSnapshot','APPLY_PERMISSION_DENIED','AWAITING','extend','_loadDoc','isPermissionRej','_exhaustRemoteChangesetQueue','?url=','InsertSheetMutation','incrementRevOfUnit','onLocalMutation','asObservable','getLatestCsReqIdBySid','_sessionStatus$','418641rgkjKW','_loadSheet','_roomCreated$','algo','getMemberID','\x20-\x20','AwaitingState','_minBufferSize','Utf8','_createSocket','_resendTimer','now','loginUrlKey','url','_fetchMissChangesets','file','COMPLETION_FINISHED','session.room-cnt-exceeds','_transformUndoredo','RECV','CollaborationEvent','CHANGESET_REJ','getTypeOfUnitAdded$','PY_RUNTIME_SCRIPT_ERROR','hostname','CHANGESET_SHOULD_RETRY','_createHandler','CollaborativeUndoRedoService','APPLY_DUPLICATED','selections','collaMsg','LOCAL_CACHE_INTERVAL_KEY','indexOf','UniverSheets','onCommandExecuted','_config','UnitSnapshot','JOINING','_telemetryService','ISingleActiveUnitService','_getSendChangesetTimeout','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','SOCKET_FAILED','MUTATION','univer-pro.collaboration-client-socket-service','_pendingMutations','UNAUTHENTICATED','_onConnectionOpen','ILogService','/-/object/-/batch_allowed','_shouldReportTelemetry','EvpKDF','members','objects','/universer-api/comb','toLowerCase','crypto','requireSession','_localCacheService','\x0aCurrent:\x20','equals','length','OfflineState','push','objectType','_initDependencies','_incrementRevisionNumber','_doFinalize','ERROR_EXCEED_SIZE','encode','getConfig','YUUMI_RATE_OVER_LIMIT','[SyncedState]:\x20received\x20acknowledgement.','_onRemoteChangeset','updateOfflineData','listCollaborators','_parse','_localeService','_startCollaboration','_userManagerService','_init','[CollaborationState]:\x20apply\x20error!','/universer-api/authz','SNAPSHOT_SERVER_URL_KEY','onStateChange','_networkConditionService','UnitEmbedded','DataLoaderService','OpenSSL','_xformMode','{fileID}','_configService','memberID','lib','835435QGuaEt','interceptor','saveSheetBlock','_getUploadFileURL','setShowComponents','buffer','registerHTTPInterceptor','LIVESHARE_FETCH_OPERATIONS','slice','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_updateState','_scheduleCompleteTimestamp','CompressMutationService','sequenceExecute','_getLoginPath','_registerDependencies','HttpImport','updatePermissionPoint','WorkbookEditablePermission','_data','state$','synced','fromCollab','ERROR_IMAGE','debug','mode','_clearRedo','hasOwnProperty','ALREADY_EXISTS','readInt32LE','1616YSaTRf','byteOffset','executeCommand','merge','HTTPService','findIndex','create','disableLocalCache','Error\x20on\x20receiving\x20event','_onRemoteRetry','collaboration-client.config','_getCurrentRevision','subscribe','LICENSE_DISTRO_REJECTED','roles','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','format','_isPermissionRej','[DataLoaderService]','onRemoteChangeset','compose','_joinRoom','UNRECOGNIZED','Cipher','BlockCipher','Workbook','target','/universer-api/uniscript','compute','fetchMissingChangesets','headers','LocaleService','defineProperty','HMAC','encrypt','delete','_toggleOffline','loadOfflineData','_updateLocalCache','_startTelemetryCollaborationNewChangeset','_replaceFileID','fetchThroughInterceptors','resend','readyForCollab','ENSURE_SNAPSHOT_EXECUTION','origin','isArray','stopTime','_getSignURL','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','IUndoRedoService','APPLY_NON_SEQUENTIAL_REVISION','_revisionService','padding','downloadEndpointUrl','@univerjs/sheets','requestParams','onTransformIME','method','_snapshotService','transformSelections','&source=','_waitCount','RxDisposable','AES','init','_substituteRedoStack','MentionIoHttpService','snapshotServerUrl','HEARTBEAT_TIMEOUT_KEY','mutations','list','createEncryptor','startsWith','_permissionService','updateMember','_HTTPService','_members$','HEARTBEAT_TIMEOUT','size','FAIL','_roomMembers','UniverNetwork','HttpExport','SnapshotServerOverHTTPService','_unlockTransition','IPermissionService','UniverDrawing','takeUntil','toString','_tryEnsureSocket','originalMeta','INVITE_CODE_HAS_BEEN_UES','submit\x20changeset\x20error!','Inject','deserializeToCombResponse','onSendChangeset','unitID','_type','_map','UserManagerService','_collaborationUIEventService','ConflictState','CONNECTOR_DATA_TOO_LARGE','IUniverInstanceService','MentionType','session.room-permission-denied','firstValueFrom','_logService','UNKNOWN_CODE','_throwTelemetryCollaborationNewChangeset','getRoom','sessionStatus$','getRandomValues','clear','blockSize','emitEvent','exports','SUBMIT_CHANGESET_TIMEOUT','_transformRemoteChangesetByStateCache','UNIVER_COLLABORATION_CLIENT_PLUGIN','@univerjs/network','_clearScheduledTask','localCacheService','editing\x20status\x20changed\x20to','[OfflineState]:\x20received\x20rejection.','csRejEvent','USERS_ENTER','allowed','getTypeOfUnitDisposed$','unitId','dispose$','type','/object','Encryptor','image/jpg','authzUrl','_memberService','textEncoder','ITelemetryService','error','Quantity','Base64','Univer','_oKey','initWorkbookPermissionChange'];_0x1789=function(){return _0x103690;};return _0x1789();}function _0x51d3(_0x164773,_0x42b7c0){var _0x1789f1=_0x1789();return _0x51d3=function(_0x51d3d2,_0x589989){_0x51d3d2=_0x51d3d2-0x6d;var _0x118c71=_0x1789f1[_0x51d3d2];return _0x118c71;},_0x51d3(_0x164773,_0x42b7c0);}(function(_0x44363e,_0x25d8b3){var _0x2208b8=_0x51d3,_0x18ff25=_0x44363e();while(!![]){try{var _0x11e12c=parseInt(_0x2208b8(0x3f7))/0x1*(-parseInt(_0x2208b8(0x153))/0x2)+-parseInt(_0x2208b8(0x22c))/0x3*(parseInt(_0x2208b8(0x3bc))/0x4)+-parseInt(_0x2208b8(0x28a))/0x5*(parseInt(_0x2208b8(0x3f5))/0x6)+-parseInt(_0x2208b8(0x376))/0x7+parseInt(_0x2208b8(0x2a8))/0x8*(-parseInt(_0x2208b8(0x367))/0x9)+parseInt(_0x2208b8(0x357))/0xa*(parseInt(_0x2208b8(0x3d2))/0xb)+parseInt(_0x2208b8(0x372))/0xc*(parseInt(_0x2208b8(0x7c))/0xd);if(_0x11e12c===_0x25d8b3)break;else _0x18ff25['push'](_0x18ff25['shift']());}catch(_0x327272){_0x18ff25['push'](_0x18ff25['shift']());}}}(_0x1789,0x66aa5),function(_0x2b6cd2,_0x3b6de2){var _0x36f3bd=_0x51d3;typeof exports=='object'&&typeof module<'u'?_0x3b6de2(exports,require(_0x36f3bd(0x104)),require(_0x36f3bd(0xfd)),require('rxjs/operators'),require(_0x36f3bd(0x1b5)),require(_0x36f3bd(0x321)),require('@univerjs/telemetry'),require(_0x36f3bd(0xcb)),require(_0x36f3bd(0x2df)),require(_0x36f3bd(0xf7)),require(_0x36f3bd(0x1de))):typeof define==_0x36f3bd(0x1ac)&&define[_0x36f3bd(0x1f2)]?define([_0x36f3bd(0x31d),_0x36f3bd(0x104),'rxjs',_0x36f3bd(0x120),'@univerjs-pro/collaboration',_0x36f3bd(0x321),'@univerjs/telemetry',_0x36f3bd(0xcb),_0x36f3bd(0x2df),'@univerjs/drawing',_0x36f3bd(0x1de)],_0x3b6de2):(_0x2b6cd2=typeof globalThis<'u'?globalThis:_0x2b6cd2||self,_0x3b6de2(_0x2b6cd2[_0x36f3bd(0x110)]={},_0x2b6cd2[_0x36f3bd(0x3a4)],_0x2b6cd2[_0x36f3bd(0xfd)],_0x2b6cd2[_0x36f3bd(0xfd)][_0x36f3bd(0x1aa)],_0x2b6cd2[_0x36f3bd(0x19d)],_0x2b6cd2[_0x36f3bd(0x2fa)],_0x2b6cd2[_0x36f3bd(0xff)],_0x2b6cd2[_0x36f3bd(0x7f)],_0x2b6cd2[_0x36f3bd(0x24d)],_0x2b6cd2[_0x36f3bd(0x2ff)],_0x2b6cd2[_0x36f3bd(0x81)]));}(this,function(_0x52c1c0,_0x34be6a,_0x325255,_0x1fd352,_0x13d03a,_0x44bd51,_0xb28461,_0x156eba,_0xa0870f,_0x469d91,_0x110f1c){'use strict';var _0x815bf2=_0x51d3;var _0x17d5c1=Object[_0x815bf2(0x2c8)],_0x3978a5=(_0x10dbce,_0x1d37a0,_0xd0cdc2)=>_0x1d37a0 in _0x10dbce?_0x17d5c1(_0x10dbce,_0x1d37a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd0cdc2}):_0x10dbce[_0x1d37a0]=_0xd0cdc2,_0x2d2abd=(_0x39118f,_0x165032,_0x4c2623)=>_0x3978a5(_0x39118f,typeof _0x165032!='symbol'?_0x165032+'':_0x165032,_0x4c2623);const _0x457896=_0x815bf2(0x27f),_0x14feb9=_0x815bf2(0x165),_0x49cc8e='SNAPSHOT_URL_KEY',_0x167326=_0x815bf2(0x8a),_0x1c2458=_0x815bf2(0x3a0),_0x1e6af2=_0x815bf2(0x1e4),_0x1dbf60=_0x815bf2(0x1a1),_0x5956ee='HEARTBEAT_INTERVAL',_0x4bbdfe=_0x815bf2(0x2f6),_0x12a74a=_0x815bf2(0xd7),_0x2345af='LOCAL_CACHE_INTERVAL',_0xda3035=_0x815bf2(0x123),_0x13310f=_0x815bf2(0x262),_0x514ba8='LOGIN_URL_KEY',_0x2459fd=_0x815bf2(0xe5),_0x4c2966=_0x815bf2(0x2d9),_0x3dcd15=_0x815bf2(0x2c3);var _0x3a4aa8=(_0x1b80c2=>(_0x1b80c2[_0x1b80c2['UNDEFINED']=0x0]=_0x815bf2(0x141),_0x1b80c2[_0x1b80c2['OK']=0x1]='OK',_0x1b80c2[_0x1b80c2[_0x815bf2(0x3b6)]=0x2]=_0x815bf2(0x3b6),_0x1b80c2[_0x1b80c2[_0x815bf2(0x1e0)]=0x3]=_0x815bf2(0x1e0),_0x1b80c2[_0x1b80c2[_0x815bf2(0x128)]=0x4]=_0x815bf2(0x128),_0x1b80c2[_0x1b80c2[_0x815bf2(0x25a)]=0x5]=_0x815bf2(0x25a),_0x1b80c2[_0x1b80c2['ALREADY_EXISTS']=0x6]=_0x815bf2(0x2a6),_0x1b80c2[_0x1b80c2['INVALID_ARGUMENT']=0x7]=_0x815bf2(0x106),_0x1b80c2[_0x1b80c2[_0x815bf2(0xa0)]=0x8]=_0x815bf2(0xa0),_0x1b80c2[_0x1b80c2[_0x815bf2(0x23c)]=0x9]=_0x815bf2(0x23c),_0x1b80c2[_0x1b80c2[_0x815bf2(0x171)]=0xa]='LOGIN_FAILED',_0x1b80c2[_0x1b80c2[_0x815bf2(0xb3)]=0x1389]=_0x815bf2(0xb3),_0x1b80c2[_0x1b80c2['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1b80c2[_0x1b80c2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x815bf2(0x204),_0x1b80c2[_0x1b80c2[_0x815bf2(0x2d4)]=0x1773]=_0x815bf2(0x2d4),_0x1b80c2[_0x1b80c2[_0x815bf2(0x3d9)]=0x1b59]=_0x815bf2(0x3d9),_0x1b80c2[_0x1b80c2[_0x815bf2(0x2db)]=0x1b5a]=_0x815bf2(0x2db),_0x1b80c2[_0x1b80c2[_0x815bf2(0x146)]=0x1b5b]=_0x815bf2(0x146),_0x1b80c2[_0x1b80c2['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x815bf2(0x21f),_0x1b80c2[_0x1b80c2[_0x815bf2(0x248)]=0x1b5d]='APPLY_DUPLICATED',_0x1b80c2[_0x1b80c2[_0x815bf2(0x30f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1b80c2[_0x1b80c2['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1b80c2[_0x1b80c2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x815bf2(0x34d),_0x1b80c2[_0x1b80c2['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x815bf2(0x14c),_0x1b80c2[_0x1b80c2['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x815bf2(0x3d0),_0x1b80c2[_0x1b80c2[_0x815bf2(0x2b5)]=0x232d]=_0x815bf2(0x2b5),_0x1b80c2[_0x1b80c2[_0x815bf2(0x393)]=0x2711]=_0x815bf2(0x393),_0x1b80c2[_0x1b80c2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1b80c2[_0x1b80c2['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x815bf2(0x273),_0x1b80c2[_0x1b80c2[_0x815bf2(0x3f3)]=0x2714]=_0x815bf2(0x3f3),_0x1b80c2[_0x1b80c2[_0x815bf2(0x243)]=0x2af9]=_0x815bf2(0x243),_0x1b80c2[_0x1b80c2[_0x815bf2(0x304)]=0x2ee1]=_0x815bf2(0x304),_0x1b80c2[_0x1b80c2[_0x815bf2(0x1ce)]=0x2ee2]=_0x815bf2(0x1ce),_0x1b80c2[_0x1b80c2[_0x815bf2(0x1da)]=0x2ee3]=_0x815bf2(0x1da),_0x1b80c2[_0x1b80c2[_0x815bf2(0x3a2)]=0x2ee4]=_0x815bf2(0x3a2),_0x1b80c2[_0x1b80c2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x815bf2(0x1d9),_0x1b80c2[_0x1b80c2[_0x815bf2(0x2be)]=-0x1]=_0x815bf2(0x2be),_0x1b80c2))(_0x3a4aa8||{}),_0x10d4f8=(_0x3b9452=>(_0x3b9452[_0x3b9452[_0x815bf2(0x199)]=0x0]=_0x815bf2(0x199),_0x3b9452[_0x3b9452['UNIVER_DOC']=0x1]=_0x815bf2(0x1d3),_0x3b9452[_0x3b9452['UNIVER_SHEET']=0x2]=_0x815bf2(0x10d),_0x3b9452[_0x3b9452['UNIVER_SLIDE']=0x3]=_0x815bf2(0xd3),_0x3b9452[_0x3b9452[_0x815bf2(0x1af)]=0x4]=_0x815bf2(0x1af),_0x3b9452[_0x3b9452[_0x815bf2(0x2be)]=-0x1]=_0x815bf2(0x2be),_0x3b9452))(_0x10d4f8||{}),_0x4dec3a=(_0x38ce0b=>(_0x38ce0b[_0x38ce0b[_0x815bf2(0x11f)]=0x0]='UNKNOWN_CMD',_0x38ce0b[_0x38ce0b['HELLO']=0x1]=_0x815bf2(0xf0),_0x38ce0b[_0x38ce0b[_0x815bf2(0x36f)]=0x2]=_0x815bf2(0x36f),_0x38ce0b[_0x38ce0b['LEAVE']=0x3]=_0x815bf2(0x348),_0x38ce0b[_0x38ce0b['INGEST']=0x4]=_0x815bf2(0x138),_0x38ce0b[_0x38ce0b[_0x815bf2(0x130)]=0x5]='HEARTBEAT',_0x38ce0b[_0x38ce0b[_0x815bf2(0x23f)]=0x6]=_0x815bf2(0x23f),_0x38ce0b[_0x38ce0b[_0x815bf2(0x2be)]=-0x1]=_0x815bf2(0x2be),_0x38ce0b))(_0x4dec3a||{}),_0x165baf=(_0x1762e0=>(_0x1762e0[_0x1762e0[_0x815bf2(0x315)]=0x0]=_0x815bf2(0x315),_0x1762e0[_0x1762e0['OK']=0x1]='OK',_0x1762e0[_0x1762e0[_0x815bf2(0x2f8)]=0x2]=_0x815bf2(0x2f8),_0x1762e0[_0x1762e0[_0x815bf2(0x1db)]=0x3e9]=_0x815bf2(0x1db),_0x1762e0[_0x1762e0[_0x815bf2(0x382)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x1762e0[_0x1762e0[_0x815bf2(0xee)]=0x3eb]=_0x815bf2(0xee),_0x1762e0[_0x1762e0[_0x815bf2(0x3d1)]=0x3ec]=_0x815bf2(0x3d1),_0x1762e0[_0x1762e0[_0x815bf2(0x2be)]=-0x1]=_0x815bf2(0x2be),_0x1762e0))(_0x165baf||{}),_0x35d086=(_0x1fba9d=>(_0x1fba9d[_0x1fba9d[_0x815bf2(0xbc)]=0x0]=_0x815bf2(0xbc),_0x1fba9d[_0x1fba9d['HttpImport']=0x1]=_0x815bf2(0x29a),_0x1fba9d[_0x1fba9d[_0x815bf2(0x2fb)]=0x2]=_0x815bf2(0x2fb),_0x1fba9d[_0x1fba9d[_0x815bf2(0x282)]=0x3]=_0x815bf2(0x282),_0x1fba9d[_0x1fba9d[_0x815bf2(0x250)]=0x4]=_0x815bf2(0x250),_0x1fba9d[_0x1fba9d[_0x815bf2(0x2be)]=-0x1]='UNRECOGNIZED',_0x1fba9d))(_0x35d086||{});const _0x27464f=_0x815bf2(0x2b2),_0x555180={};var _0x5bc74c=(_0x10863a=>(_0x10863a[_0x815bf2(0x12c)]='OTHER_CLIENT_EDITING',_0x10863a[_0x815bf2(0x1e0)]='PERMISSION_DENIED',_0x10863a['CONFLICT']=_0x815bf2(0x384),_0x10863a[_0x815bf2(0x92)]='CLOSE_ROOM',_0x10863a[_0x815bf2(0x87)]=_0x815bf2(0x87),_0x10863a['SOCKET_FAILED_RETRY']=_0x815bf2(0x9a),_0x10863a[_0x815bf2(0x256)]=_0x815bf2(0x256),_0x10863a[_0x815bf2(0x31e)]=_0x815bf2(0x31e),_0x10863a))(_0x5bc74c||{});class _0x1cf3a4{constructor(){var _0x2556ec=_0x815bf2;_0x2d2abd(this,_0x2556ec(0x33b),new _0x325255['Subject']()),_0x2d2abd(this,_0x2556ec(0x3e4),this[_0x2556ec(0x33b)][_0x2556ec(0x229)]());}[_0x815bf2(0x31c)](_0x413806){var _0x55437e=_0x815bf2;this[_0x55437e(0x33b)][_0x55437e(0x14a)](_0x413806);}}const _0x12c005=_0x34be6a['createIdentifier'](_0x815bf2(0x21d));function _0x2f0e24(_0x2af6fc){var _0x11b156=_0x815bf2,_0x2d1061,_0x157e3b,_0x1fd5c8,_0x1efb8b,_0x18a27d;const _0x24dddd=_0x2af6fc[_0x11b156(0x135)],_0x35b372=JSON['parse'](_0x24dddd);switch(_0x35b372[_0x11b156(0x3a5)]){case _0x4dec3a[_0x11b156(0x130)]:case _0x4dec3a[_0x11b156(0xf0)]:{const _0x428134=_0x35b372[_0x11b156(0x38e)];return{..._0x35b372,'data':_0x428134,'cmd':_0x35b372[_0x11b156(0x3a5)]};}case _0x4dec3a['JOIN']:{const _0x5473dd=_0x35b372[_0x11b156(0x3af)];return{..._0x35b372,'data':_0x5473dd,'cmd':_0x35b372['cmd']};}case _0x4dec3a['RECV']:{const _0x48263f=_0x35b372[_0x11b156(0x24a)];switch(_0x48263f[_0x11b156(0x362)]){case _0x13d03a[_0x11b156(0x240)][_0x11b156(0x12f)]:return{..._0x35b372,'data':{..._0x48263f,'data':(_0x2d1061=_0x48263f['permissionRejEvent'])==null?void 0x0:_0x2d1061['cs']},'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a[_0x11b156(0x240)][_0x11b156(0xa1)]:return{..._0x35b372,'data':{..._0x48263f,'data':(_0x157e3b=_0x48263f[_0x11b156(0x35e)])==null?void 0x0:_0x157e3b['cs']},'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a['CollaborationEvent'][_0x11b156(0x383)]:return{..._0x35b372,'data':{..._0x48263f,'data':(_0x1fd5c8=_0x48263f[_0x11b156(0x202)])==null?void 0x0:_0x1fd5c8['cs']},'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a[_0x11b156(0x240)]['CHANGESET_REJ']:return{..._0x35b372,'data':{..._0x48263f,'data':(_0x1efb8b=_0x48263f[_0x11b156(0x326)])==null?void 0x0:_0x1efb8b['cs']},'cmd':_0x35b372['cmd']};case _0x13d03a[_0x11b156(0x240)][_0x11b156(0x245)]:return{..._0x35b372,'data':{..._0x48263f,'data':(_0x18a27d=_0x48263f[_0x11b156(0xdf)])==null?void 0x0:_0x18a27d['cs']},'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a[_0x11b156(0x240)][_0x11b156(0x3b0)]:return{..._0x35b372,'data':{..._0x48263f,'data':_0x48263f[_0x11b156(0x17b)]},'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a[_0x11b156(0x240)][_0x11b156(0x327)]:return{..._0x35b372,'data':{..._0x48263f,'data':_0x48263f[_0x11b156(0x358)]},'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a[_0x11b156(0x240)][_0x11b156(0x101)]:return{..._0x35b372,'data':{..._0x48263f,'data':_0x48263f['leaveEvent']},'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a[_0x11b156(0x240)][_0x11b156(0x3b7)]:return{..._0x35b372,'data':{..._0x48263f,'data':_0x48263f[_0x11b156(0xd8)]},'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a[_0x11b156(0x240)]['LIVESHARE_FETCH_OPERATIONS']:case _0x13d03a[_0x11b156(0x240)][_0x11b156(0x11b)]:return{..._0x35b372,'data':{..._0x48263f,'data':_0x48263f[_0x11b156(0x389)]},'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a[_0x11b156(0x240)][_0x11b156(0x3f0)]:return{..._0x35b372,'data':{..._0x48263f,'data':_0x48263f[_0x11b156(0xd8)]},'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a[_0x11b156(0x240)]['MSG_FOR_ERROR']:return{..._0x35b372,'data':_0x48263f,'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a[_0x11b156(0x240)][_0x11b156(0x8c)]:return{..._0x35b372,'data':{..._0x48263f,'data':_0x48263f[_0x11b156(0x190)]},'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a['CollaborationEvent'][_0x11b156(0x78)]:return{..._0x35b372,'data':{..._0x48263f,'data':_0x48263f[_0x11b156(0x3c2)]},'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a[_0x11b156(0x240)][_0x11b156(0x143)]:return{..._0x35b372,'data':{..._0x48263f,'data':_0x48263f[_0x11b156(0xb9)]},'cmd':_0x35b372[_0x11b156(0x3a5)]};case _0x13d03a['CollaborationEvent'][_0x11b156(0xec)]:return{..._0x35b372,'data':{..._0x48263f,'data':_0x48263f['uniscriptRunEvent']},'cmd':_0x35b372[_0x11b156(0x3a5)]};default:return _0x35b372;}}default:return _0x35b372;}}function _0x2bbe0d(_0xfbcba0){var _0x2b571d=_0x815bf2;switch(_0xfbcba0[_0x2b571d(0x3a5)]){case _0x4dec3a[_0x2b571d(0x130)]:case _0x4dec3a[_0x2b571d(0xf0)]:return JSON[_0x2b571d(0x182)]({'cmd':_0xfbcba0[_0x2b571d(0x3a5)],'routeKey':_0xfbcba0[_0x2b571d(0x1a2)]});case _0x4dec3a[_0x2b571d(0x138)]:{let _0x66b91c;switch(_0xfbcba0['data']['eventID']){case _0x13d03a['CollaborationEvent'][_0x2b571d(0x3b0)]:{_0x66b91c={'eventID':_0x13d03a[_0x2b571d(0x240)][_0x2b571d(0x3b0)],'updateCursorEvent':_0xfbcba0[_0x2b571d(0x135)][_0x2b571d(0x135)]};break;}case _0x13d03a[_0x2b571d(0x240)][_0x2b571d(0x101)]:{_0x66b91c={'eventID':_0x13d03a[_0x2b571d(0x240)][_0x2b571d(0x101)],'leaveEvent':_0xfbcba0['data'][_0x2b571d(0x135)]};break;}case _0x13d03a['CollaborationEvent'][_0x2b571d(0x327)]:{_0x66b91c={'eventID':_0x13d03a[_0x2b571d(0x240)]['USERS_ENTER'],'joinEvent':_0xfbcba0['data'][_0x2b571d(0x135)]};break;}case _0x13d03a[_0x2b571d(0x240)][_0x2b571d(0x3b7)]:{_0x66b91c={'eventID':_0x13d03a[_0x2b571d(0x240)][_0x2b571d(0x3b7)],'liveShareNewHost':_0xfbcba0['data'][_0x2b571d(0x135)]};break;}case _0x13d03a[_0x2b571d(0x240)][_0x2b571d(0x11b)]:{_0x66b91c={'eventID':_0x13d03a[_0x2b571d(0x240)][_0x2b571d(0x11b)],'liveShareOperation':_0xfbcba0[_0x2b571d(0x135)][_0x2b571d(0x135)]};break;}case _0x13d03a[_0x2b571d(0x240)]['LIVESHARE_TERMINATE']:{_0x66b91c={'eventID':_0x13d03a[_0x2b571d(0x240)][_0x2b571d(0x3f0)],'liveShareTerminate':_0xfbcba0[_0x2b571d(0x135)][_0x2b571d(0x135)]};break;}case _0x13d03a[_0x2b571d(0x240)]['LIVESHARE_REQUEST_HOST']:{_0x66b91c={'eventID':_0x13d03a[_0x2b571d(0x240)][_0x2b571d(0x3c9)],'liveShareRequestHost':_0xfbcba0[_0x2b571d(0x135)][_0x2b571d(0x135)]};break;}case _0x13d03a[_0x2b571d(0x240)]['LIVESHARE_FETCH_OPERATIONS']:{_0x66b91c={'eventID':_0x13d03a[_0x2b571d(0x240)][_0x2b571d(0x291)]};break;}default:_0x66b91c={'eventID':_0xfbcba0[_0x2b571d(0x135)]['eventID']};}return JSON[_0x2b571d(0x182)]({'cmd':_0xfbcba0['cmd'],'routeKey':_0xfbcba0[_0x2b571d(0x1a2)],'collaMsg':_0x66b91c});}case _0x4dec3a[_0x2b571d(0x36f)]:return JSON['stringify']({'cmd':_0xfbcba0[_0x2b571d(0x3a5)],'routeKey':_0xfbcba0['routeKey'],'joinReq':_0xfbcba0[_0x2b571d(0x135)]});case _0x4dec3a['LEAVE']:return JSON[_0x2b571d(0x182)]({'cmd':_0xfbcba0[_0x2b571d(0x3a5)],'routeKey':_0xfbcba0[_0x2b571d(0x1a2)],'leaveReq':_0xfbcba0[_0x2b571d(0x135)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x44780b=Object[_0x815bf2(0x85)],_0x46a237=(_0x32b50e,_0x3b1659,_0x4c0412,_0x282d45)=>{var _0x5773d5=_0x815bf2;for(var _0x4ce237=_0x282d45>0x1?void 0x0:_0x282d45?_0x44780b(_0x3b1659,_0x4c0412):_0x3b1659,_0x51bb0d=_0x32b50e[_0x5773d5(0x269)]-0x1,_0x420a67;_0x51bb0d>=0x0;_0x51bb0d--)(_0x420a67=_0x32b50e[_0x51bb0d])&&(_0x4ce237=_0x420a67(_0x4ce237)||_0x4ce237);return _0x4ce237;},_0x3bf18e=(_0xe9349f,_0x76475c)=>(_0x3c0076,_0x567834)=>_0x76475c(_0x3c0076,_0x567834,_0xe9349f);const _0x11fe30=_0x34be6a['createIdentifier'](_0x815bf2(0x258));function _0x3960e9(_0xdb0e56,_0x575a58,_0x199ce1){var _0x55d5d7=_0x815bf2;return _0xdb0e56+'/'+_0x575a58+_0x55d5d7(0x131)+_0x199ce1+'/new_changes';}_0x52c1c0[_0x815bf2(0x356)]=class extends _0x34be6a[_0x815bf2(0x1ad)]{constructor(_0x50e5c2,_0x1eef9b,_0x2c2f97,_0x531492,_0x2f01f2){var _0x54199f=_0x815bf2;super(),this['_injector']=_0x50e5c2,this[_0x54199f(0x132)]=_0x1eef9b,this['_configService']=_0x2c2f97,this[_0x54199f(0x314)]=_0x531492,this['_snapshotServerService']=_0x2f01f2;}[_0x815bf2(0x95)](_0x49aa86){var _0x24cd87=_0x815bf2;const _0x4ce4b5=this[_0x24cd87(0x3a7)][_0x24cd87(0x33c)](_0x44bd51[_0x24cd87(0x33f)]);if(!_0x4ce4b5)throw new Error(_0x24cd87(0x1ee));const _0x51a784=_0x4ce4b5['createSocket'](_0x49aa86);if(!_0x51a784)throw new Error(_0x24cd87(0x75));const _0x3f140f=new _0x34be6a['DisposableCollection'](),_0x1bc185=new _0x325255[(_0x24cd87(0x90))]();_0x3f140f[_0x24cd87(0x111)](_0x51a784[_0x24cd87(0x37c)][_0x24cd87(0x2b4)](_0x1420ce=>_0x1bc185[_0x24cd87(0x14a)](_0x1420ce))),_0x3f140f[_0x24cd87(0x111)](_0x34be6a[_0x24cd87(0xc5)](()=>_0x1bc185[_0x24cd87(0x84)]()));const _0x407f83=new _0x325255[(_0x24cd87(0x90))]();_0x3f140f['add'](_0x51a784[_0x24cd87(0x17a)]['subscribe'](_0x9e42a1=>_0x407f83[_0x24cd87(0x14a)](_0x9e42a1))),_0x3f140f[_0x24cd87(0x111)](_0x34be6a[_0x24cd87(0xc5)](()=>_0x407f83[_0x24cd87(0x84)]()));const _0x4fcde3=new _0x325255['Subject']();_0x3f140f[_0x24cd87(0x111)](_0x51a784['message$'][_0x24cd87(0x2b4)](_0x43fee3=>{var _0x31d394=_0x24cd87;const _0x5bd90c=_0x2f0e24(_0x43fee3);_0x4fcde3[_0x31d394(0x14a)](_0x5bd90c);})),_0x3f140f[_0x24cd87(0x111)](_0x34be6a[_0x24cd87(0xc5)](()=>_0x4fcde3[_0x24cd87(0x84)]()));let _0x296e78;const _0x5a1949=()=>{var _0x2a9c00=_0x24cd87;_0x407f83[_0x2a9c00(0x14a)](new Event(_0x2a9c00(0x10a))),_0x1bc185[_0x2a9c00(0x14a)](new Event(_0x2a9c00(0x10a))),_0x296e78[_0x2a9c00(0x3fd)]();};return _0x296e78={'memberID':'','close$':_0x1bc185['asObservable'](),'error$':_0x407f83['asObservable'](),'open$':_0x51a784[_0x24cd87(0x34b)],'message$':_0x4fcde3[_0x24cd87(0x229)](),'send':_0x25cda4=>{var _0x17431e=_0x24cd87;if(_0x25cda4['cmd']===_0x4dec3a[_0x17431e(0x138)]){if(_0x25cda4[_0x17431e(0x135)][_0x17431e(0x362)]===_0x13d03a[_0x17431e(0x240)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x296e78,_0x25cda4['data'])[_0x17431e(0x1c3)](_0x5297b9=>{var _0x974f36=_0x17431e;this[_0x974f36(0x314)][_0x974f36(0x334)](_0x5297b9),_0x5a1949();});return;}if(_0x25cda4[_0x17431e(0x135)][_0x17431e(0x362)]===_0x13d03a[_0x17431e(0x240)][_0x17431e(0xfa)]){const _0x2bf278=_0x25cda4['data'];this[_0x17431e(0x23a)](_0x2bf278)[_0x17431e(0xbe)](_0x4f9662=>{var _0x44fb47=_0x17431e;_0x4fcde3[_0x44fb47(0x14a)]({'cmd':_0x4dec3a[_0x44fb47(0x23f)],'code':_0x165baf['OK'],'routeKey':_0x2bf278[_0x44fb47(0x135)][_0x44fb47(0x309)],'routeType':'','data':{'eventID':_0x13d03a[_0x44fb47(0x240)][_0x44fb47(0x129)],'data':{'changesets':_0x4f9662}}});})[_0x17431e(0x1c3)](_0x5a45dc=>{var _0x2616f4=_0x17431e;this[_0x2616f4(0x314)][_0x2616f4(0x334)](_0x5a45dc),_0x5a1949();});return;}}_0x51a784[_0x17431e(0xd5)](_0x2bbe0d(_0x25cda4));},'close':()=>{var _0x129841=_0x24cd87;_0x51a784[_0x129841(0x3fd)](),_0x3f140f[_0x129841(0x208)]();}},_0x296e78;}async[_0x815bf2(0x161)](_0x59c7df,_0x368eb4){var _0x4c3a0d=_0x815bf2,_0xedc002,_0x3795a3;const {unitType:_0x3059a4,unitID:_0x53e45c,changeset:_0x516285}=_0x368eb4[_0x4c3a0d(0x135)],_0x40d617={'unitID':_0x53e45c,'memberID':_0x59c7df['memberID'],'type':_0x3059a4,'changeset':_0x13d03a['parseChangesetToProtocol'](_0x516285)},_0x24b09d=this['_configService'][_0x4c3a0d(0x272)](_0xda3035),_0xbfd11c=this[_0x4c3a0d(0x287)]['getConfig'](_0x27464f),_0xc5af6c=_0x3960e9((_0x3795a3=(_0xedc002=_0xbfd11c==null?void 0x0:_0xbfd11c[_0x4c3a0d(0x352)])!=null?_0xedc002:_0x24b09d)!=null?_0x3795a3:_0x13310f,_0x3059a4,_0x53e45c);try{await this[_0x4c3a0d(0x132)]['post'](_0xc5af6c,{'body':_0x40d617});}catch(_0x287a01){throw this[_0x4c3a0d(0x314)][_0x4c3a0d(0x334)](_0x4c3a0d(0x100),_0x4c3a0d(0x305)),_0x287a01;}}async[_0x815bf2(0x23a)](_0x5b6d51){var _0x11c6ae=_0x815bf2;const {unitID:_0x44eb76,from:_0x5b7622,to:_0x45dd13,unitType:_0x317820}=_0x5b6d51[_0x11c6ae(0x135)];return(await this[_0x11c6ae(0x368)][_0x11c6ae(0x2c5)]({'metadata':void 0x0},{'unitID':_0x44eb76,'type':_0x317820,'from':_0x5b7622,'to':_0x45dd13}))[_0x11c6ae(0xfc)];}},_0x52c1c0[_0x815bf2(0x356)]=_0x46a237([_0x3bf18e(0x0,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x15a)])),_0x3bf18e(0x1,_0x34be6a[_0x815bf2(0x306)](_0x44bd51[_0x815bf2(0x2ac)])),_0x3bf18e(0x2,_0x34be6a['IConfigService']),_0x3bf18e(0x3,_0x34be6a['ILogService']),_0x3bf18e(0x4,_0x13d03a['ISnapshotServerService'])],_0x52c1c0['CollaborationSocketService']);const _0x2e9d69='collaboration_new_changeset';function _0x2d7f90(_0x5b72f3){var _0x5bdaa9=_0x815bf2;return JSON[_0x5bdaa9(0x182)](_0x5b72f3)[_0x5bdaa9(0x269)];}class _0x30f93b{constructor(){var _0x1c2ddf=_0x815bf2;_0x2d2abd(this,_0x1c2ddf(0x1a9),new _0x325255[(_0x1c2ddf(0x90))]()),_0x2d2abd(this,_0x1c2ddf(0x3e2),this[_0x1c2ddf(0x1a9)]['asObservable']());}[_0x815bf2(0xf2)](_0x5c54ba){var _0x3be0f9=_0x815bf2;this['_commentUpdate$'][_0x3be0f9(0x14a)](_0x5c54ba);}}var _0xfb4f3=Object[_0x815bf2(0x85)],_0xed1e69=(_0x4dd734,_0x2091b5,_0x3089c1,_0x5a8734)=>{for(var _0x3b153d=_0x5a8734>0x1?void 0x0:_0x5a8734?_0xfb4f3(_0x2091b5,_0x3089c1):_0x2091b5,_0x1bd0bc=_0x4dd734['length']-0x1,_0x88dee9;_0x1bd0bc>=0x0;_0x1bd0bc--)(_0x88dee9=_0x4dd734[_0x1bd0bc])&&(_0x3b153d=_0x88dee9(_0x3b153d)||_0x3b153d);return _0x3b153d;},_0x387b90=(_0x49f16c,_0x5e97f6)=>(_0x23d4d7,_0x3532a7)=>_0x5e97f6(_0x23d4d7,_0x3532a7,_0x49f16c);_0x52c1c0[_0x815bf2(0xcd)]=class extends _0x34be6a[_0x815bf2(0x1ad)]{constructor(_0x4a3bbf,_0x69a032){var _0x5d28fb=_0x815bf2;super(),_0x2d2abd(this,_0x5d28fb(0x2f9),new Map()),_0x2d2abd(this,_0x5d28fb(0x22e),new _0x325255[(_0x5d28fb(0x90))]()),(this[_0x5d28fb(0x198)]=_0x4a3bbf,this['_userManagerService']=_0x69a032,this[_0x5d28fb(0xb0)](_0x325255['merge'](this['_univerInstanceService'][_0x5d28fb(0x329)](_0x34be6a[_0x5d28fb(0x38f)][_0x5d28fb(0x10d)])[_0x5d28fb(0x108)](_0x1fd352[_0x5d28fb(0x3e8)](_0x235c8a=>_0x235c8a[_0x5d28fb(0x158)]())),this[_0x5d28fb(0x198)][_0x5d28fb(0x329)](_0x34be6a[_0x5d28fb(0x38f)][_0x5d28fb(0x1d3)])[_0x5d28fb(0x108)](_0x1fd352[_0x5d28fb(0x3e8)](_0x50444d=>_0x50444d[_0x5d28fb(0x158)]())),this[_0x5d28fb(0x198)][_0x5d28fb(0x329)](_0x34be6a[_0x5d28fb(0x38f)][_0x5d28fb(0xd3)])[_0x5d28fb(0x108)](_0x1fd352[_0x5d28fb(0x3e8)](_0x5c540c=>_0x5c540c[_0x5d28fb(0x158)]())))[_0x5d28fb(0x2b4)](_0x261bb1=>this[_0x5d28fb(0x6d)](_0x261bb1))));}[_0x815bf2(0x150)](_0x33e163){var _0x4b38d9=_0x815bf2;return this[_0x4b38d9(0x2f9)][_0x4b38d9(0x404)](_0x33e163)?_0x325255['of'](this[_0x4b38d9(0x2f9)][_0x4b38d9(0x33c)](_0x33e163)):this[_0x4b38d9(0x22e)][_0x4b38d9(0x108)](_0x1fd352[_0x4b38d9(0x3e8)](_0x51645f=>{var _0x1f6824=_0x4b38d9;if(_0x51645f===_0x33e163)return this[_0x1f6824(0x2f9)][_0x1f6824(0x33c)](_0x51645f);}));}['setCurrentUser'](_0x5840c5){var _0x2a9d83=_0x815bf2;this[_0x2a9d83(0x27b)]['setCurrentUser'](_0x5840c5);}['getCurrentUser'](){var _0x2d52de=_0x815bf2;return this[_0x2d52de(0x27b)][_0x2d52de(0x37b)]();}[_0x815bf2(0x2f3)](_0x494b41,_0x193e42){var _0x4b17fc=_0x815bf2;let _0x27f84f=this[_0x4b17fc(0x2f9)][_0x4b17fc(0x33c)](_0x494b41);_0x27f84f||(_0x27f84f=new _0xcf6529(),this[_0x4b17fc(0x2f9)][_0x4b17fc(0x1c8)](_0x494b41,_0x27f84f),this['_roomCreated$'][_0x4b17fc(0x14a)](_0x494b41)),_0x27f84f[_0x4b17fc(0x2f3)](_0x193e42);}[_0x815bf2(0x97)](_0xe9880c,_0xf525d6){var _0x59338a=_0x815bf2;const _0x54ba01=this[_0x59338a(0x2f9)]['get'](_0xe9880c);_0x54ba01&&_0x54ba01['removeMember'](_0xf525d6);}[_0x815bf2(0x317)](_0xada478){var _0x39b568=_0x815bf2;return this[_0x39b568(0x2f9)]['get'](_0xada478);}['getMember'](_0x59ebac,_0x15bc25){var _0x4e8226=_0x815bf2;const _0x1ea4d9=this['_roomMembers'][_0x4e8226(0x33c)](_0x59ebac);if(_0x1ea4d9)return _0x1ea4d9[_0x4e8226(0x3e6)](_0x15bc25);}[_0x815bf2(0x6d)](_0x1d41ba){var _0x201b5b=_0x815bf2;const _0x523775=this[_0x201b5b(0x2f9)]['get'](_0x1d41ba);_0x523775&&(_0x523775[_0x201b5b(0x208)](),this[_0x201b5b(0x2f9)][_0x201b5b(0x2cb)](_0x1d41ba));}[_0x815bf2(0x208)](){var _0x3b712a=_0x815bf2;this['_roomMembers'][_0x3b712a(0x1f5)](_0x4573c1=>_0x4573c1[_0x3b712a(0x208)]()),this[_0x3b712a(0x2f9)][_0x3b712a(0x31a)](),this[_0x3b712a(0x22e)][_0x3b712a(0x84)]();}},_0x52c1c0['MemberService']=_0xed1e69([_0x387b90(0x0,_0x34be6a[_0x815bf2(0x310)]),_0x387b90(0x1,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x30c)]))],_0x52c1c0[_0x815bf2(0xcd)]);class _0xcf6529 extends _0x34be6a['Disposable']{constructor(){var _0x1f7fb2=_0x815bf2;super(...arguments),_0x2d2abd(this,_0x1f7fb2(0x192),new Map()),_0x2d2abd(this,_0x1f7fb2(0x2f5),new _0x325255[(_0x1f7fb2(0x9e))](this[_0x1f7fb2(0x192)])),_0x2d2abd(this,_0x1f7fb2(0x20e),this[_0x1f7fb2(0x2f5)][_0x1f7fb2(0x229)]());}[_0x815bf2(0x208)](){var _0xafbb1d=_0x815bf2;this[_0xafbb1d(0x192)][_0xafbb1d(0x31a)]();}[_0x815bf2(0x2f3)](_0xb3011){var _0x1f4cb2=_0x815bf2;this[_0x1f4cb2(0x192)][_0x1f4cb2(0x1c8)](_0xb3011[_0x1f4cb2(0x288)],_0xb3011),this['_emitMembers']();}['removeMember'](_0x46553b){var _0x44f8ea=_0x815bf2;this['_members'][_0x44f8ea(0x2cb)](_0x46553b);}[_0x815bf2(0x3e6)](_0x3bc228){var _0x3d79cc=_0x815bf2;return this['_members'][_0x3d79cc(0x33c)](_0x3bc228);}['getAllMembers'](){var _0x1ac8ed=_0x815bf2;return Array['from'](this['_members'][_0x1ac8ed(0x1d2)]());}[_0x815bf2(0x21a)](){var _0x101a84=_0x815bf2;this[_0x101a84(0x2f5)][_0x101a84(0x14a)](this['_members']);}}var _0x1de316=Object[_0x815bf2(0x85)],_0x2e3653=(_0x148424,_0x2948a3,_0x5a57bb,_0x1b8849)=>{var _0x4f4371=_0x815bf2;for(var _0x5aefd4=_0x1b8849>0x1?void 0x0:_0x1b8849?_0x1de316(_0x2948a3,_0x5a57bb):_0x2948a3,_0x3e3698=_0x148424[_0x4f4371(0x269)]-0x1,_0x320643;_0x3e3698>=0x0;_0x3e3698--)(_0x320643=_0x148424[_0x3e3698])&&(_0x5aefd4=_0x320643(_0x5aefd4)||_0x5aefd4);return _0x5aefd4;},_0x55e296=(_0x4dc5f0,_0x2bbcb8)=>(_0x3c78e2,_0x255203)=>_0x2bbcb8(_0x3c78e2,_0x255203,_0x4dc5f0),_0x1f7afd=(_0x51b2d3=>(_0x51b2d3[_0x51b2d3[_0x815bf2(0x1d1)]=0x0]=_0x815bf2(0x1d1),_0x51b2d3[_0x51b2d3[_0x815bf2(0x251)]=0x1]=_0x815bf2(0x251),_0x51b2d3[_0x51b2d3[_0x815bf2(0x14f)]=0x2]='OFFLINE',_0x51b2d3[_0x51b2d3[_0x815bf2(0xa8)]=0x3]='ONLINE',_0x51b2d3))(_0x1f7afd||{});const _0x2eb33e={[_0x165baf['FAIL']]:'session.join-failed',[_0x165baf[_0x815bf2(0x1db)]]:_0x815bf2(0x20f),[_0x165baf[_0x815bf2(0x382)]]:_0x815bf2(0x1a4),[_0x165baf['JOIN_ROOM_PERMISSION_DENIED']]:_0x815bf2(0x312),[_0x165baf[_0x815bf2(0x3d1)]]:_0x815bf2(0x23d)};_0x52c1c0[_0x815bf2(0x216)]=class extends _0x34be6a[_0x815bf2(0x2e7)]{constructor(_0xf053a4,_0x4d443d,_0x550c3c,_0x20c71d,_0x48f0ca,_0x794e26,_0x593d4a,_0x19a7c2,_0x18fb49){var _0x31670a=_0x815bf2;super(),_0x2d2abd(this,'_sessionStatus$',new _0x325255[(_0x31670a(0x9e))](0x0)),_0x2d2abd(this,_0x31670a(0x318),this[_0x31670a(0x22b)][_0x31670a(0x229)]()),_0x2d2abd(this,'_event$',new _0x325255['Subject']()),_0x2d2abd(this,_0x31670a(0x3e4),this['_event$']['asObservable']()),_0x2d2abd(this,_0x31670a(0x3fc)),_0x2d2abd(this,'_socketMessageSubscription'),_0x2d2abd(this,'_collaborationTimeoutTimer'),_0x2d2abd(this,_0x31670a(0x25e),!0x1),_0x2d2abd(this,_0x31670a(0x109),null),(this[_0x31670a(0xc3)]=_0xf053a4,this[_0x31670a(0x314)]=_0x550c3c,this['_configService']=_0x20c71d,this[_0x31670a(0x279)]=_0x48f0ca,this['_memberService']=_0x794e26,this[_0x31670a(0xc7)]=_0x593d4a,this[_0x31670a(0x30d)]=_0x19a7c2,this[_0x31670a(0x252)]=_0x18fb49,this[_0x31670a(0x25e)]=!!this[_0x31670a(0x252)],_0x4d443d[_0x31670a(0x108)](_0x325255[_0x31670a(0x300)](this[_0x31670a(0x32b)]))[_0x31670a(0x2b4)](_0x3de109=>{var _0x3f74db=_0x31670a,_0x23c577;typeof _0x3de109>'u'||(this[_0x3f74db(0x3fc)]=_0x3de109,_0x3de109?(this[_0x3f74db(0x2bd)](_0x3de109),this[_0x3f74db(0x205)]=_0x3de109[_0x3f74db(0x17e)]['subscribe'](_0x1fd3c6=>{var _0x55ce26=_0x3f74db;_0x1fd3c6[_0x55ce26(0x1a2)]===this[_0x55ce26(0xc3)]&&this[_0x55ce26(0xf8)](_0x1fd3c6);})):(this[_0x3f74db(0x316)](),this[_0x3f74db(0x22b)][_0x3f74db(0x14a)](0x2),(_0x23c577=this[_0x3f74db(0x205)])==null||_0x23c577['unsubscribe'](),this[_0x3f74db(0x205)]=null));}));}get[_0x815bf2(0x366)](){var _0xdb8afc=_0x815bf2;return this[_0xdb8afc(0x22b)]['getValue']();}[_0x815bf2(0x230)](){var _0x1425f6=_0x815bf2,_0x59df70,_0x1d3ed0;return(_0x1d3ed0=(_0x59df70=this[_0x1425f6(0x3fc)])==null?void 0x0:_0x59df70['memberID'])!=null?_0x1d3ed0:null;}['dispose'](){var _0x3c40e8=_0x815bf2;super[_0x3c40e8(0x208)](),this[_0x3c40e8(0x32b)][_0x3c40e8(0x14a)](),this[_0x3c40e8(0x32b)][_0x3c40e8(0x84)]();}[_0x815bf2(0x3fd)](){var _0x375e29=_0x815bf2,_0x4f0095,_0x49b06c;this[_0x375e29(0x316)](),(_0x4f0095=this[_0x375e29(0x3fc)])==null||_0x4f0095[_0x375e29(0xd5)]({'cmd':_0x4dec3a['LEAVE'],'data':{'roomID':this[_0x375e29(0xc3)]}}),(_0x49b06c=this[_0x375e29(0x3fc)])==null||_0x49b06c['close'](),this[_0x375e29(0x33b)]['complete'](),this['_sessionStatus$'][_0x375e29(0x84)](),this[_0x375e29(0x208)]();}['_onCombEvent'](_0x29e065){var _0x26bef9=_0x815bf2;_0x29e065[_0x26bef9(0x3a5)]===_0x4dec3a[_0x26bef9(0x36f)]?this[_0x26bef9(0x1dc)](_0x29e065):_0x29e065['cmd']===_0x4dec3a[_0x26bef9(0x23f)]&&this[_0x26bef9(0x147)](_0x29e065);}[_0x815bf2(0x2bd)](_0x398f30){var _0x14f228=_0x815bf2;this[_0x14f228(0x22b)][_0x14f228(0x14a)](0x1),_0x398f30['send']({'cmd':_0x4dec3a[_0x14f228(0x36f)],'routeKey':this[_0x14f228(0xc3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x14f228(0xc3)]}]}});}[_0x815bf2(0x1dc)](_0x374613){var _0x41377b=_0x815bf2,_0x276b68;if(_0x374613['code']in _0x2eb33e){this[_0x41377b(0x30d)][_0x41377b(0x31c)]({'id':_0x5bc74c[_0x41377b(0x87)],'data':_0x2eb33e[_0x374613[_0x41377b(0x16e)]]}),this['_sessionStatus$'][_0x41377b(0x14a)](0x2);return;}this[_0x41377b(0x22b)][_0x41377b(0x14a)](0x3);const _0x5b1626=(_0x276b68=_0x374613['data'][_0x41377b(0x20c)][this[_0x41377b(0xc3)]])==null?void 0x0:_0x276b68[_0x41377b(0x260)];_0x5b1626&&_0x5b1626[_0x41377b(0x1f5)](_0x41e8db=>this['_memberService'][_0x41377b(0x2f3)](this['_unitID'],_0x41e8db));}[_0x815bf2(0x147)](_0x23b526){var _0x20735d=_0x815bf2;try{const _0x1509e2=_0x23b526[_0x20735d(0x135)];switch(_0x1509e2[_0x20735d(0x362)]){case _0x13d03a['CollaborationEvent']['USERS_ENTER']:this[_0x20735d(0x9d)](_0x1509e2),this[_0x20735d(0x33b)][_0x20735d(0x14a)](_0x1509e2);break;case _0x13d03a['CollaborationEvent'][_0x20735d(0x101)]:this['_onUserLeave'](_0x1509e2),this[_0x20735d(0x33b)]['next'](_0x1509e2);break;case _0x13d03a[_0x20735d(0x240)][_0x20735d(0xa1)]:case _0x13d03a[_0x20735d(0x240)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x20735d(0x74)](),this[_0x20735d(0x33b)]['next'](_0x1509e2);break;case _0x13d03a['CollaborationEvent'][_0x20735d(0x13d)]:this[_0x20735d(0x314)][_0x20735d(0x334)](_0x20735d(0x351)+JSON[_0x20735d(0x182)](_0x1509e2)),this[_0x20735d(0x33b)][_0x20735d(0x14a)](_0x1509e2);break;case _0x13d03a['CollaborationEvent'][_0x20735d(0x8c)]:this['_commentService'][_0x20735d(0xf2)](_0x1509e2[_0x20735d(0x135)]),this[_0x20735d(0x33b)]['next'](_0x1509e2);break;default:this[_0x20735d(0x33b)][_0x20735d(0x14a)](_0x1509e2);}}catch(_0x236468){this['_logService'][_0x20735d(0x334)](_0x236468,_0x23b526);}}['_onUserJoin'](_0xf0abf){var _0x541452=_0x815bf2;this[_0x541452(0x331)]['updateMember'](this['_unitID'],_0xf0abf['data']);}[_0x815bf2(0x178)](_0x48fcd3){var _0x33df1d=_0x815bf2;this[_0x33df1d(0x331)][_0x33df1d(0x97)](this[_0x33df1d(0xc3)],_0x48fcd3[_0x33df1d(0x135)]['memberID']);}async[_0x815bf2(0xd5)](_0x3653c4,_0x139f3a){var _0x3d8a52=_0x815bf2;if(this[_0x3d8a52(0x366)]!==0x3||!this[_0x3d8a52(0x3fc)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3653c4[_0x3d8a52(0x362)]===_0x13d03a['CollaborationEvent'][_0x3d8a52(0x8b)]&&(this[_0x3d8a52(0x71)](),this['_startTelemetryCollaborationNewChangeset'](_0x3653c4)),this[_0x3d8a52(0x3fc)][_0x3d8a52(0xd5)]({'cmd':_0x4dec3a[_0x3d8a52(0x138)],'routeKey':_0x139f3a,'routeType':'','data':_0x3653c4});}catch(_0x3f229c){this['_logService'][_0x3d8a52(0x334)](_0x3f229c);}}[_0x815bf2(0x71)](){var _0x1d559f=_0x815bf2,_0x3dfbab;this[_0x1d559f(0x186)]=setTimeout(()=>{var _0x14ee6e=_0x1d559f;this[_0x14ee6e(0x186)]=null,this['_collaborationUIEventService']['emitEvent']({'id':_0x5bc74c[_0x14ee6e(0x31e)]});},(_0x3dfbab=this['_configService'][_0x1d559f(0x272)](_0x4bbdfe))!=null?_0x3dfbab:0x4e20);}[_0x815bf2(0x74)](){var _0x487d0e=_0x815bf2;this[_0x487d0e(0x186)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x487d0e(0x186)]=null);}[_0x815bf2(0x2cf)](_0x17bc95){var _0x5f4d9a=_0x815bf2;if(!this[_0x5f4d9a(0x25e)])return;const {data:_0x1207ef}=_0x17bc95,{unitID:_0x3f5bfc,changeset:_0x35f179}=_0x1207ef,{mutations:_0x4c4a23,type:_0xa8cb00}=_0x35f179;this['_telemetryInfo']={'unitId':_0x3f5bfc,'type':_0xa8cb00,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x2d7f90(_0x4c4a23)};}[_0x815bf2(0xe1)](){var _0x4609be=_0x815bf2;if(this[_0x4609be(0x25e)]){if(!this[_0x4609be(0x109)]){this['_logService'][_0x4609be(0x334)](_0x4609be(0x100),_0x4609be(0xb7));return;}this[_0x4609be(0x109)]['stopTime']=performance[_0x4609be(0x237)](),this[_0x4609be(0x109)][_0x4609be(0x76)]=this[_0x4609be(0x109)][_0x4609be(0x2d7)]-this['_telemetryInfo']['startTime'],this[_0x4609be(0x252)][_0x4609be(0x1f8)](_0x2e9d69,this[_0x4609be(0x109)]),this[_0x4609be(0x109)]=null;}}[_0x815bf2(0x316)](){var _0x842d28=_0x815bf2;this[_0x842d28(0x109)]=null;}},_0x52c1c0[_0x815bf2(0x216)]=_0x2e3653([_0x55e296(0x2,_0x34be6a[_0x815bf2(0x25c)]),_0x55e296(0x3,_0x34be6a['IConfigService']),_0x55e296(0x4,_0x34be6a['Inject'](_0x34be6a[_0x815bf2(0x2c7)])),_0x55e296(0x5,_0x34be6a['Inject'](_0x52c1c0[_0x815bf2(0xcd)])),_0x55e296(0x6,_0x34be6a['Inject'](_0x30f93b)),_0x55e296(0x7,_0x34be6a[_0x815bf2(0x306)](_0x1cf3a4)),_0x55e296(0x8,_0x34be6a[_0x815bf2(0x391)](_0xb28461[_0x815bf2(0x333)]))],_0x52c1c0[_0x815bf2(0x216)]);var _0xa78b24=Object[_0x815bf2(0x85)],_0x530244=(_0x1552f8,_0xedfb35,_0x1f1b08,_0x1c486c)=>{var _0x5b8232=_0x815bf2;for(var _0x333fdb=_0x1c486c>0x1?void 0x0:_0x1c486c?_0xa78b24(_0xedfb35,_0x1f1b08):_0xedfb35,_0x21ac53=_0x1552f8[_0x5b8232(0x269)]-0x1,_0xe564cb;_0x21ac53>=0x0;_0x21ac53--)(_0xe564cb=_0x1552f8[_0x21ac53])&&(_0x333fdb=_0xe564cb(_0x333fdb)||_0x333fdb);return _0x333fdb;},_0x5953f2=(_0x59d6dd,_0x328578)=>(_0xe8d67f,_0x8b8542)=>_0x328578(_0xe8d67f,_0x8b8542,_0x59d6dd);_0x52c1c0[_0x815bf2(0x1ae)]=class extends _0x34be6a['Disposable']{constructor(_0x532804,_0x3a159b,_0xb0cef4,_0x5df8d6,_0x321d4f,_0x408199){var _0x1d7ac0=_0x815bf2;super(),_0x2d2abd(this,_0x1d7ac0(0x14d),new _0x325255[(_0x1d7ac0(0x9e))](void 0x0)),_0x2d2abd(this,_0x1d7ac0(0xe3),this['_socket$'][_0x1d7ac0(0x229)]()),_0x2d2abd(this,_0x1d7ac0(0x1e2),null),_0x2d2abd(this,_0x1d7ac0(0x1e6),new Map()),_0x2d2abd(this,_0x1d7ac0(0x399),new _0x325255[(_0x1d7ac0(0x9e))](_0x1f7afd[_0x1d7ac0(0x1d1)])),_0x2d2abd(this,'status$',this['_status$'][_0x1d7ac0(0x229)]()),_0x2d2abd(this,_0x1d7ac0(0x1b7),!0x1),_0x2d2abd(this,'_retryConnectingTimer'),_0x2d2abd(this,'_retryCount',0x0),_0x2d2abd(this,_0x1d7ac0(0x139)),_0x2d2abd(this,_0x1d7ac0(0x12d)),(this[_0x1d7ac0(0x3a7)]=_0x532804,this[_0x1d7ac0(0x314)]=_0x3a159b,this[_0x1d7ac0(0x287)]=_0xb0cef4,this['_socketService']=_0x5df8d6,this['_collaborationUIEventService']=_0x321d4f,this[_0x1d7ac0(0x281)]=_0x408199,this[_0x1d7ac0(0x17f)]());}get['_socket'](){var _0x27384f=_0x815bf2;return this[_0x27384f(0x14d)]['getValue']();}['_listenToNetworkCondition'](){var _0x45112f=_0x815bf2;this[_0x45112f(0x281)]&&this[_0x45112f(0xb0)](this[_0x45112f(0x281)]['online$'][_0x45112f(0x2b4)](_0x26ad1d=>{var _0x54d0ef=_0x45112f;_0x26ad1d&&!this[_0x54d0ef(0x3fc)]&&this['reconnect'](),_0x26ad1d||this[_0x54d0ef(0x1e9)]();}));}[_0x815bf2(0x208)](){var _0x5a4913=_0x815bf2;super['dispose'](),this[_0x5a4913(0xd2)](),this['_clearTimeoutTimer'](),this[_0x5a4913(0x1ed)](),this[_0x5a4913(0x1e6)][_0x5a4913(0x1f5)](_0x146897=>_0x146897[_0x5a4913(0x208)]()),this[_0x5a4913(0x1e6)][_0x5a4913(0x31a)](),this[_0x5a4913(0x399)][_0x5a4913(0x84)]();}async[_0x815bf2(0x265)](_0x4b9983){var _0x8d5d36=_0x815bf2;if(this[_0x8d5d36(0x1e6)][_0x8d5d36(0x404)](_0x4b9983))return this[_0x8d5d36(0x1e6)][_0x8d5d36(0x33c)](_0x4b9983);this[_0x8d5d36(0x302)]();const _0x2e4052=this[_0x8d5d36(0x3a7)][_0x8d5d36(0x3dc)](_0x52c1c0[_0x8d5d36(0x216)],_0x4b9983,this[_0x8d5d36(0x14d)][_0x8d5d36(0x229)]());return this[_0x8d5d36(0x1e6)][_0x8d5d36(0x1c8)](_0x4b9983,_0x2e4052),_0x2e4052;}[_0x815bf2(0x1f9)](_0x173dfb){var _0x3375b8=_0x815bf2,_0xf8a6bf;const _0x586286=this[_0x3375b8(0x1e6)][_0x3375b8(0x33c)](_0x173dfb);_0x586286&&(this[_0x3375b8(0x1e6)][_0x3375b8(0x2cb)](_0x173dfb),_0x586286[_0x3375b8(0x3fd)]()),this[_0x3375b8(0x1e6)][_0x3375b8(0x2f7)]||(_0xf8a6bf=this[_0x3375b8(0x3fc)])==null||_0xf8a6bf[_0x3375b8(0x3fd)]();}['reconnect'](){var _0x40fb6d=_0x815bf2;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x40fb6d(0x16f)]();}['_clearRetryConnectingTimer'](){var _0x35262e=_0x815bf2;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x35262e(0x73)]),this[_0x35262e(0x73)]=null);}async[_0x815bf2(0x235)](){var _0x501a26=_0x815bf2,_0x5d5015,_0x51adff;const _0x1b7393=this[_0x501a26(0x287)][_0x501a26(0x272)](_0x1c2458),_0x1e1528=this['_configService'][_0x501a26(0x272)](_0x27464f),_0x57f9b2=(_0x51adff=(_0x5d5015=_0x1e1528==null?void 0x0:_0x1e1528['collabWebSocketUrl'])!=null?_0x5d5015:_0x1b7393)!=null?_0x51adff:_0x1e6af2,_0xcbcf3c=await this[_0x501a26(0x400)][_0x501a26(0x342)](_0x57f9b2);return this[_0x501a26(0x1e2)]=_0xcbcf3c,_0xcbcf3c;}async[_0x815bf2(0x302)](){var _0x2e76a7=_0x815bf2,_0xca406b,_0x2bacb4;try{const _0x8ca9ea=(_0x2bacb4=(_0xca406b=this[_0x2e76a7(0x3fc)])!=null?_0xca406b:this['_candidateSocket'])!=null?_0x2bacb4:await this[_0x2e76a7(0x235)]();if(_0x8ca9ea){const _0x57dae3=_0x8ca9ea['send'];_0x8ca9ea[_0x2e76a7(0xd5)]=_0x214f72=>(this[_0x2e76a7(0x1ff)](),_0x57dae3['apply'](_0x8ca9ea,[_0x214f72])),_0x8ca9ea[_0x2e76a7(0x17e)][_0x2e76a7(0x2b4)](_0x7b1877=>this['_onMessage'](_0x8ca9ea,_0x7b1877)),_0x8ca9ea[_0x2e76a7(0x17a)][_0x2e76a7(0x108)](_0x1fd352['take'](0x1))[_0x2e76a7(0x2b4)](_0x58cf4a=>this[_0x2e76a7(0x314)][_0x2e76a7(0x334)](_0x2e76a7(0xd6),_0x58cf4a)),_0x8ca9ea[_0x2e76a7(0x34b)]['pipe'](_0x1fd352[_0x2e76a7(0x38b)](0x1))[_0x2e76a7(0x2b4)](()=>{this['_onConnectionOpen'](_0x8ca9ea);}),_0x8ca9ea[_0x2e76a7(0x37c)][_0x2e76a7(0x108)](_0x1fd352[_0x2e76a7(0x38b)](0x1))[_0x2e76a7(0x2b4)](_0x476663=>{var _0x1f1fff=_0x2e76a7;this[_0x1f1fff(0x314)][_0x1f1fff(0x2a2)](_0x1f1fff(0x107),_0x1f1fff(0x200),_0x476663),this[_0x1f1fff(0xf3)]();});}}catch(_0x4fe0d9){this[_0x2e76a7(0x314)][_0x2e76a7(0x334)](_0x4fe0d9),this['_onConnectionFailed']();}}[_0x815bf2(0x25b)](_0x477d1f){var _0x4e7069=_0x815bf2;this[_0x4e7069(0x314)]['debug'](_0x4e7069(0x107),_0x4e7069(0x3eb)),_0x477d1f[_0x4e7069(0xd5)]({'cmd':_0x4dec3a[_0x4e7069(0xf0)]}),this['_rescheduleHeartbeat']();}[_0x815bf2(0x1e9)](){var _0x1b8c3e=_0x815bf2;this['_socketReady']=!0x1,this[_0x1b8c3e(0x1e2)]=null,this[_0x1b8c3e(0x399)][_0x1b8c3e(0x14a)](_0x1f7afd[_0x1b8c3e(0x14f)]),this[_0x1b8c3e(0x14d)][_0x1b8c3e(0x14a)](null),this[_0x1b8c3e(0x98)](),this['_clearHeartbeatTimer']();}[_0x815bf2(0xf3)](){var _0x53093f=_0x815bf2,_0x2da236;this[_0x53093f(0x1e9)](),this['_retryCount']<((_0x2da236=this[_0x53093f(0x287)][_0x53093f(0x272)](_0x12a74a))!=null?_0x2da236:0x3)?(this['_collaborationUIEventService'][_0x53093f(0x31c)]({'id':_0x5bc74c[_0x53093f(0x9a)]}),this[_0x53093f(0x16f)]()):this[_0x53093f(0x30d)][_0x53093f(0x31c)]({'id':_0x5bc74c[_0x53093f(0x256)]});}[_0x815bf2(0x16f)](){var _0x56d4fe=_0x815bf2,_0x27ee7f;const _0xebe824=this['_retryCount'],_0x41b92e=this[_0x56d4fe(0x287)][_0x56d4fe(0x272)](_0x27464f),_0x454a8c=_0xebe824===0x0?0x0:((_0x27ee7f=_0x41b92e==null?void 0x0:_0x41b92e[_0x56d4fe(0x3cc)])!=null?_0x27ee7f:0x4e20)*0x2**_0xebe824;this[_0x56d4fe(0x73)]=setTimeout(()=>{var _0xdc8cbf=_0x56d4fe;clearTimeout(this['_retryConnectingTimer']),this[_0xdc8cbf(0x73)]=null,this[_0xdc8cbf(0x302)]();},_0x454a8c),this['_retryCount']+=0x1;}[_0x815bf2(0x1b6)](_0x4624d2,_0x5a0343){var _0xf5a1b0=_0x815bf2;const {cmd:_0x1808ba}=_0x5a0343;_0x1808ba===_0x4dec3a[_0xf5a1b0(0xf0)]&&!this[_0xf5a1b0(0x1b7)]&&(_0x4624d2[_0xf5a1b0(0x288)]=_0x5a0343['data'][_0xf5a1b0(0x288)],this[_0xf5a1b0(0x14d)][_0xf5a1b0(0x14a)](_0x4624d2),this[_0xf5a1b0(0x399)][_0xf5a1b0(0x14a)](_0x1f7afd[_0xf5a1b0(0xa8)]),this[_0xf5a1b0(0x1b7)]=!0x0,this[_0xf5a1b0(0x1e2)]=null),_0x1808ba===_0x4dec3a[_0xf5a1b0(0x130)]&&this[_0xf5a1b0(0x98)](),this[_0xf5a1b0(0x1ff)]();}[_0x815bf2(0x1ff)](){var _0x3b0e93=_0x815bf2,_0x4b2cd0;this[_0x3b0e93(0x1ed)](),this[_0x3b0e93(0x139)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x4b2cd0=this[_0x3b0e93(0x287)]['getConfig'](_0x5956ee))!=null?_0x4b2cd0:0x7530);}[_0x815bf2(0x35f)](){var _0x30871d=_0x815bf2;this[_0x30871d(0x3fc)]['send']({'cmd':_0x4dec3a[_0x30871d(0x130)]}),this['_waitForHeartbeatResponse']();}[_0x815bf2(0x197)](){var _0x5329be=_0x815bf2,_0x592eb4;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x592eb4=this[_0x5329be(0x287)]['getConfig'](_0x4bbdfe))!=null?_0x592eb4:0x4e20);}['_clearHeartbeatTimer'](){var _0x204965=_0x815bf2;this[_0x204965(0x139)]!=null&&(clearTimeout(this[_0x204965(0x139)]),this['_sendHeartbeatTimer']=null);}[_0x815bf2(0x98)](){var _0x4e97ea=_0x815bf2;this[_0x4e97ea(0x12d)]!=null&&(clearTimeout(this[_0x4e97ea(0x12d)]),this[_0x4e97ea(0x12d)]=null);}},_0x52c1c0[_0x815bf2(0x1ae)]=_0x530244([_0x5953f2(0x0,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x15a)])),_0x5953f2(0x1,_0x34be6a[_0x815bf2(0x25c)]),_0x5953f2(0x2,_0x34be6a[_0x815bf2(0x1e5)]),_0x5953f2(0x3,_0x11fe30),_0x5953f2(0x4,_0x34be6a['Inject'](_0x1cf3a4)),_0x5953f2(0x5,_0x34be6a[_0x815bf2(0x391)](_0x12c005))],_0x52c1c0[_0x815bf2(0x1ae)]);const _0x5942d6=[];for(let _0x172ed7=0x0;_0x172ed7<0x100;++_0x172ed7)_0x5942d6[_0x815bf2(0x26b)]((_0x172ed7+0x100)['toString'](0x10)['slice'](0x1));function _0x1272f5(_0x9acbd8,_0x47d13a=0x0){var _0x1e8817=_0x815bf2;return(_0x5942d6[_0x9acbd8[_0x47d13a+0x0]]+_0x5942d6[_0x9acbd8[_0x47d13a+0x1]]+_0x5942d6[_0x9acbd8[_0x47d13a+0x2]]+_0x5942d6[_0x9acbd8[_0x47d13a+0x3]]+'-'+_0x5942d6[_0x9acbd8[_0x47d13a+0x4]]+_0x5942d6[_0x9acbd8[_0x47d13a+0x5]]+'-'+_0x5942d6[_0x9acbd8[_0x47d13a+0x6]]+_0x5942d6[_0x9acbd8[_0x47d13a+0x7]]+'-'+_0x5942d6[_0x9acbd8[_0x47d13a+0x8]]+_0x5942d6[_0x9acbd8[_0x47d13a+0x9]]+'-'+_0x5942d6[_0x9acbd8[_0x47d13a+0xa]]+_0x5942d6[_0x9acbd8[_0x47d13a+0xb]]+_0x5942d6[_0x9acbd8[_0x47d13a+0xc]]+_0x5942d6[_0x9acbd8[_0x47d13a+0xd]]+_0x5942d6[_0x9acbd8[_0x47d13a+0xe]]+_0x5942d6[_0x9acbd8[_0x47d13a+0xf]])[_0x1e8817(0x263)]();}let _0x2f52a8;const _0x5b211e=new Uint8Array(0x10);function _0x233cde(){var _0x28a7c2=_0x815bf2;if(!_0x2f52a8){if(typeof crypto>'u'||!crypto[_0x28a7c2(0x319)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x2f52a8=crypto[_0x28a7c2(0x319)][_0x28a7c2(0x116)](crypto);}return _0x2f52a8(_0x5b211e);}const _0x266af1={'randomUUID':typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x815bf2(0x116)](crypto)};function _0x30b492(_0x3e4c94,_0x41e72b,_0xe56a99){var _0x37b0ce=_0x815bf2,_0x17d979,_0x263ba5,_0x33a344;if(_0x266af1[_0x37b0ce(0x1a8)]&&!_0x3e4c94)return _0x266af1[_0x37b0ce(0x1a8)]();_0x3e4c94=_0x3e4c94||{};const _0x4c1d69=(_0x33a344=(_0x263ba5=_0x3e4c94[_0x37b0ce(0xde)])!=null?_0x263ba5:(_0x17d979=_0x3e4c94[_0x37b0ce(0x122)])==null?void 0x0:_0x17d979[_0x37b0ce(0x405)](_0x3e4c94))!=null?_0x33a344:_0x233cde();if(_0x4c1d69['length']<0x10)throw new Error(_0x37b0ce(0x18f));return _0x4c1d69[0x6]=_0x4c1d69[0x6]&0xf|0x40,_0x4c1d69[0x8]=_0x4c1d69[0x8]&0x3f|0x80,_0x1272f5(_0x4c1d69);}const _0x5ad2e2=_0x34be6a[_0x815bf2(0x18b)](_0x815bf2(0x18c));function _0x3fd3bc(_0x300a81){return'unit-cache-'+_0x300a81;}var _0x517df6=Object[_0x815bf2(0x85)],_0x589374=(_0xedc5f3,_0x4e540a,_0xc445e1,_0xe2827a)=>{for(var _0x22dbe2=_0xe2827a>0x1?void 0x0:_0xe2827a?_0x517df6(_0x4e540a,_0xc445e1):_0x4e540a,_0x459671=_0xedc5f3['length']-0x1,_0x498bc2;_0x459671>=0x0;_0x459671--)(_0x498bc2=_0xedc5f3[_0x459671])&&(_0x22dbe2=_0x498bc2(_0x22dbe2)||_0x22dbe2);return _0x22dbe2;},_0x38d610=(_0x351c8f,_0x4bbc1a)=>(_0x596747,_0x69b44e)=>_0x4bbc1a(_0x596747,_0x69b44e,_0x351c8f);function _0x51d928(_0xb1abb0){var _0x253c1f=_0x815bf2;const {unitID:_0x12ea9c,mutations:_0x16a25f}=_0xb1abb0;return{'unitId':_0x12ea9c,'subUnitId':_0x16a25f[0x0][_0x253c1f(0x3ce)][_0x253c1f(0x377)]};}_0x52c1c0[_0x815bf2(0x86)]=class{constructor(_0x4e47f9,_0x2910bf,_0x4993e2){var _0x1c3427=_0x815bf2;this[_0x1c3427(0x3a7)]=_0x4e47f9,this['_transformService']=_0x2910bf,this[_0x1c3427(0x7e)]=_0x4993e2;}[_0x815bf2(0x2e4)](_0x54a064){var _0xc89ac5=_0x815bf2,_0x52d96c,_0x5720c1,_0x46b2a5,_0x26035f;const _0x464618=this['_injector'][_0xc89ac5(0x33c)](_0xa0870f['SheetsSelectionsService']),{unitId:_0x1bf329,subUnitId:_0x223ad6}=_0x51d928(_0x54a064),_0x532a4e=_0x464618==null?void 0x0:_0x464618['getWorkbookSelections'](_0x1bf329)['getCurrentSelections'](),_0x2ec72f=(_0x5720c1=(_0x52d96c=this[_0xc89ac5(0x7e)][_0xc89ac5(0x3e3)](_0x1bf329))==null?void 0x0:_0x52d96c[_0xc89ac5(0xc4)]())==null?void 0x0:_0x5720c1[_0xc89ac5(0xe0)]();if(_0x532a4e['length']===0x0||!_0x1bf329||!_0x223ad6)return;const _0x5812f1=[{'id':_0xa0870f[_0xc89ac5(0x3fb)]['id'],'params':{'unitId':_0x1bf329,'subUnitId':_0x2ec72f,'selections':_0x34be6a[_0xc89ac5(0x16b)][_0xc89ac5(0x156)](_0x532a4e)}}],_0x576ecf=this[_0xc89ac5(0x1b1)][_0xc89ac5(0xea)](_0x54a064,_0x5812f1);if(!_0x13d03a['isTransformMutationsWithChangesetSuccess'](_0x576ecf))throw _0x576ecf['error'];const _0x33a397=(_0x26035f=(_0x46b2a5=_0x576ecf['m2Prime'][0x0])==null?void 0x0:_0x46b2a5[_0xc89ac5(0x3ce)])==null?void 0x0:_0x26035f[_0xc89ac5(0x249)];if(Array['isArray'](_0x33a397)&&_0x33a397[_0xc89ac5(0x269)]){if(_0x33a397[_0xc89ac5(0x269)]===_0x5812f1[0x0][_0xc89ac5(0x3ce)][_0xc89ac5(0x249)][_0xc89ac5(0x269)]&&_0x33a397[_0xc89ac5(0x35b)]((_0x58f4fd,_0x12cb96)=>_0x34be6a[_0xc89ac5(0x1d5)][_0xc89ac5(0x268)](_0x58f4fd[_0xc89ac5(0x364)],_0x5812f1[0x0]['params'][_0xc89ac5(0x249)][_0x12cb96][_0xc89ac5(0x364)])))return;this[_0xc89ac5(0x3a7)][_0xc89ac5(0x33c)](_0x34be6a[_0xc89ac5(0x217)])[_0xc89ac5(0x2aa)](_0xa0870f[_0xc89ac5(0x3fb)]['id'],{'unitId':_0x1bf329,'subUnitId':_0x2ec72f,'selections':_0x33a397});}}},_0x52c1c0[_0x815bf2(0x86)]=_0x589374([_0x38d610(0x0,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x15a)])),_0x38d610(0x1,_0x13d03a[_0x815bf2(0x395)]),_0x38d610(0x2,_0x34be6a[_0x815bf2(0x310)])],_0x52c1c0[_0x815bf2(0x86)]);const _0x22d99f=_0x34be6a['createIdentifier'](_0x815bf2(0x83));var _0x126d58=(_0x1a2cec=>(_0x1a2cec[_0x1a2cec['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x815bf2(0x1e7),_0x1a2cec[_0x1a2cec[_0x815bf2(0x9b)]=0x1]=_0x815bf2(0x9b),_0x1a2cec))(_0x126d58||{});const _0x4589b0=new Set([_0xa0870f[_0x815bf2(0x226)]['id']]);function _0x105933(_0x304913,_0x1467e3,_0x25582a,_0xa3cf6c,_0x2e1a9d){var _0x1babaf=_0x815bf2,_0x26b61d,_0x47bb95,_0x3fdcea,_0x13492c;const _0x54005a=[];for(const _0x65ceea of _0x304913)if(_0x4589b0[_0x1babaf(0x404)](_0x65ceea['id'])){if(_0x54005a[_0x1babaf(0x269)]>0x0)break;_0x54005a[_0x1babaf(0x26b)](_0x65ceea);break;}else _0x54005a[_0x1babaf(0x26b)](_0x65ceea);const _0xf42d35=(_0x47bb95=(_0x26b61d=_0x2e1a9d[_0x1babaf(0x37b)]())==null?void 0x0:_0x26b61d[_0x1babaf(0x343)])!=null?_0x47bb95:'unknown',_0x5ce0b1=(_0x13492c=(_0x3fdcea=_0x2e1a9d[_0x1babaf(0x37b)]())==null?void 0x0:_0x3fdcea['memberID'])!=null?_0x13492c:_0x1babaf(0x37f);return{'changeset':{'unitID':_0x1467e3,'type':_0x13d03a[_0x1babaf(0x134)](_0x25582a['getUnitType'](_0x1467e3)),'baseRev':_0xa3cf6c[_0x1babaf(0x16d)](_0x1467e3),'revision':0x0,'userID':_0xf42d35,'memberID':_0x5ce0b1,'mutations':_0x54005a},'pendingMutations':_0x304913[_0x1babaf(0x292)](_0x54005a[_0x1babaf(0x269)])};}function _0x3ad8a0(_0x2e15d3,_0x3d14e0,_0x527884,_0x553a80,_0x1a8afa){var _0x5b16ff=_0x815bf2,_0x5a38f8,_0x539bf5,_0x23a6e3,_0x13c857;const _0x884dd1=[_0x2e15d3[_0x5b16ff(0x3a9)]((_0x140522,_0x2a83a3)=>{var _0x3a0fe0=_0x5b16ff,_0x93cd40;const {id:_0x152083}=_0x140522,{id:_0x5f3e8b,type:_0x4dd038}=_0x2a83a3,_0x1e41b0=(_0x93cd40=_0x140522[_0x3a0fe0(0x3ce)])!=null?_0x93cd40:{'actions':null},_0x52198b=_0x2a83a3[_0x3a0fe0(0x3ce)];if(_0x152083&&_0x152083!==_0x5f3e8b)throw new Error(_0x3a0fe0(0x255)+_0x152083+_0x3a0fe0(0x231)+_0x5f3e8b+'.');return{..._0x140522,'id':_0x5f3e8b,'type':_0x4dd038,'params':{'unitId':_0x52198b[_0x3a0fe0(0x32a)],'textRanges':_0x52198b[_0x3a0fe0(0x13f)],'actions':_0x34be6a[_0x3a0fe0(0x354)][_0x3a0fe0(0x2bc)](_0x1e41b0['actions'],_0x52198b['actions'])}};},{})],_0x62468c=(_0x539bf5=(_0x5a38f8=_0x1a8afa[_0x5b16ff(0x37b)]())==null?void 0x0:_0x5a38f8[_0x5b16ff(0x343)])!=null?_0x539bf5:_0x5b16ff(0x37f),_0x6ff856=(_0x13c857=(_0x23a6e3=_0x1a8afa[_0x5b16ff(0x37b)]())==null?void 0x0:_0x23a6e3[_0x5b16ff(0x288)])!=null?_0x13c857:'unknown';return{'changeset':{'unitID':_0x3d14e0,'type':_0x13d03a[_0x5b16ff(0x134)](_0x527884[_0x5b16ff(0x1cb)](_0x3d14e0)),'baseRev':_0x553a80[_0x5b16ff(0x16d)](_0x3d14e0),'revision':0x0,'userID':_0x62468c,'memberID':_0x6ff856,'mutations':_0x884dd1},'pendingMutations':[]};}function _0x21a33c(_0x1d506f,_0x20779f){var _0x473131=_0x815bf2;const _0x13d80d=new _0x325255[(_0x473131(0x1f6))](0x1);return setTimeout(()=>_0x13d80d[_0x473131(0x14a)](_0x20779f),_0x1d506f),_0x13d80d[_0x473131(0x229)]()['pipe'](_0x325255['take'](0x1));}const _0x51b9ba={'id':_0xa0870f[_0x815bf2(0x3a3)]['id'],'type':_0x34be6a['CommandType'][_0x815bf2(0x257)],'params':{}};var _0x1a3e10=Object[_0x815bf2(0x85)],_0x499c65=(_0x136559,_0x213215,_0x2dba00,_0x1170f5)=>{var _0x70e7d8=_0x815bf2;for(var _0x249817=_0x1170f5>0x1?void 0x0:_0x1170f5?_0x1a3e10(_0x213215,_0x2dba00):_0x213215,_0x4655aa=_0x136559[_0x70e7d8(0x269)]-0x1,_0x3251ca;_0x4655aa>=0x0;_0x4655aa--)(_0x3251ca=_0x136559[_0x4655aa])&&(_0x249817=_0x3251ca(_0x249817)||_0x249817);return _0x249817;},_0x5b092d=(_0x688942,_0xbd070b)=>(_0x2479c3,_0x3004a8)=>_0xbd070b(_0x2479c3,_0x3004a8,_0x688942),_0xec8af8=(_0x16fe5e=>(_0x16fe5e['NOT_COLLAB']='not_collab',_0x16fe5e['SYNCED']=_0x815bf2(0x29f),_0x16fe5e[_0x815bf2(0x19b)]=_0x815bf2(0x3d6),_0x16fe5e[_0x815bf2(0x220)]=_0x815bf2(0x355),_0x16fe5e['AWAITING_WITH_PENDING']=_0x815bf2(0x18d),_0x16fe5e[_0x815bf2(0x33e)]=_0x815bf2(0x142),_0x16fe5e['CONFLICT']='conflict',_0x16fe5e['OFFLINE']=_0x815bf2(0x1e1),_0x16fe5e))(_0xec8af8||{});const _0x1fca1e=0xea60;class _0x952a46{constructor(_0x481c18,_0x1dee3d,_0x337b17,_0x6804ab,_0x4365a5,_0x5d6e8c,_0x47a8fc,_0x5b8f3a,_0x4e3260){var _0x581cbc=_0x815bf2;_0x2d2abd(this,'_awaitingChangeset',null),_0x2d2abd(this,_0x581cbc(0x259),[]),(this[_0x581cbc(0x309)]=_0x481c18,this[_0x581cbc(0x32c)]=_0x1dee3d,this['_handler']=_0x4365a5,this['_commandService']=_0x5d6e8c,this[_0x581cbc(0xdb)]=_0x47a8fc,this[_0x581cbc(0x2dc)]=_0x5b8f3a,this[_0x581cbc(0x266)]=_0x4e3260,this[_0x581cbc(0x3cd)]=_0x337b17,this[_0x581cbc(0x259)]=_0x6804ab);}[_0x815bf2(0x402)](_0x3e63ac){var _0x54c3a4=_0x815bf2;const _0x543024=this[_0x54c3a4(0x2dc)][_0x54c3a4(0x16d)](this[_0x54c3a4(0x309)]);return _0x3e63ac[_0x54c3a4(0x39c)]>_0x543024+0x1?(this[_0x54c3a4(0x3c3)][_0x54c3a4(0xd4)]({'from':_0x543024,'to':_0x3e63ac[_0x54c3a4(0x39c)]-0x1}),!0x0):!0x1;}[_0x815bf2(0x23e)](_0x39e2c6){var _0x40deb3=_0x815bf2;this[_0x40deb3(0xdb)][_0x40deb3(0xaa)](this[_0x40deb3(0x309)],_0x39e2c6);}[_0x815bf2(0x359)](_0x377d76){var _0x2c945b=_0x815bf2,_0x42e0f4,_0x239089;(_0x239089=(_0x42e0f4=this[_0x2c945b(0x3c3)])[_0x2c945b(0x386)])==null||_0x239089['call'](_0x42e0f4,_0x377d76);}[_0x815bf2(0x10c)](_0x1e98c3){var _0x9fee58=_0x815bf2,_0x1cdb16,_0x1bf23c;return(_0x1bf23c=(_0x1cdb16=this[_0x9fee58(0x3c3)])[_0x9fee58(0x2e1)])==null?void 0x0:_0x1bf23c['call'](_0x1cdb16,_0x1e98c3);}[_0x815bf2(0x3d5)](_0xbd7338){var _0xe0115a=_0x815bf2,_0x5c45dd,_0x10ff8b;return(_0x10ff8b=(_0x5c45dd=this[_0xe0115a(0x3c3)])[_0xe0115a(0x3b5)])==null?void 0x0:_0x10ff8b[_0xe0115a(0x405)](_0x5c45dd,_0xbd7338);}[_0x815bf2(0x3c5)](_0x1390f9){var _0x1d1dce=_0x815bf2,_0x5d6a62,_0x8305f3,_0xf9b469;return(_0xf9b469=(_0x8305f3=(_0x5d6a62=this[_0x1d1dce(0x3c3)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x8305f3['call'](_0x5d6a62,_0x1390f9))!=null?_0xf9b469:_0x1390f9;}[_0x815bf2(0x31f)](_0x512753){var _0x3ed439=_0x815bf2,_0x5c7d1e,_0x15aa3c,_0x58b818;return(_0x58b818=(_0x15aa3c=(_0x5c7d1e=this['_handler'])[_0x3ed439(0x119)])==null?void 0x0:_0x15aa3c[_0x3ed439(0x405)](_0x5c7d1e,_0x512753))!=null?_0x58b818:_0x512753;}[_0x815bf2(0x374)](_0x5e2ef5){var _0x353687=_0x815bf2,_0x11e75a,_0x1e4f4e;if(this['type']===_0x10d4f8['UNIVER_DOC']){const {unitID:_0x5512ae,mutations:_0x1e8c88,memberID:_0x205cc5}=_0x5e2ef5,_0x47a5d9=_0x1e8c88[0x0][_0x353687(0x3ce)][_0x353687(0x13f)];Array[_0x353687(0x2d6)](_0x47a5d9)&&_0x47a5d9[_0x353687(0x269)]>0x0&&((_0x1e4f4e=(_0x11e75a=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x1e4f4e[_0x353687(0x405)](_0x11e75a,{'unitID':_0x5512ae,'memberID':_0x205cc5,'textRanges':_0x47a5d9}));}}['_updateLocalCache'](){var _0x22554b=_0x815bf2,_0x123762;(_0x123762=this[_0x22554b(0x266)])==null||_0x123762[_0x22554b(0x276)](this['unitID'],this['type'],this[_0x22554b(0x3cd)],this[_0x22554b(0x259)]);}[_0x815bf2(0x2b3)](){var _0x12ced3=_0x815bf2;return this[_0x12ced3(0x2dc)][_0x12ced3(0x16d)](this[_0x12ced3(0x309)]);}[_0x815bf2(0x26e)](){var _0x1fbb07=_0x815bf2;this[_0x1fbb07(0x2dc)][_0x1fbb07(0x227)](this['unitID']);}[_0x815bf2(0x105)](_0x39c504){var _0x504d53=_0x815bf2,_0x30a7f1;let _0x5841f2=this[_0x504d53(0x3c5)](_0x39c504);_0x5841f2=this['_transformRemoteChangesetByStateCache'](_0x5841f2);const _0x1431a1=_0x34be6a[_0x504d53(0x297)](_0x5841f2[_0x504d53(0x2ee)],this[_0x504d53(0x33a)],{'fromCollab':!0x0});if(!_0x1431a1[_0x504d53(0xaf)])throw _0x1431a1[_0x504d53(0x334)]instanceof Error?_0x1431a1[_0x504d53(0x334)]:new Error((_0x30a7f1=_0x1431a1[_0x504d53(0x334)])!=null?_0x30a7f1:_0x504d53(0x27d));this[_0x504d53(0x10c)](_0x5841f2),this[_0x504d53(0x3d5)](_0x5841f2),this['_transformUndoredo'](_0x39c504),this[_0x504d53(0x359)](_0x5841f2),this['_syncEditingCollabCursor'](_0x5841f2),this['_incrementRevisionNumber']();}}_0x52c1c0[_0x815bf2(0x20b)]=class extends _0x952a46{constructor(_0x469519,_0x46585f,_0x5688c5,_0x44d53b,_0x558580,_0x386edf,_0x15fd39,_0x348e72,_0x5c8e08,_0x31a9df){var _0x24f031=_0x815bf2;super(_0x469519,_0x46585f,null,[],_0x5688c5,_0x15fd39,_0x386edf,_0x44d53b,_0x31a9df),_0x2d2abd(this,_0x24f031(0xcc),_0x24f031(0x29f)),(this[_0x24f031(0x3a7)]=_0x558580,this[_0x24f031(0x314)]=_0x348e72,this[_0x24f031(0x1b1)]=_0x5c8e08,this['localCacheService']=_0x31a9df);}[_0x815bf2(0x1b8)](_0x3d8782){var _0x1f00df=_0x815bf2;const _0x40ec3a=this[_0x1f00df(0x3a7)][_0x1f00df(0x3dc)](_0x52c1c0[_0x1f00df(0x121)],this[_0x1f00df(0x309)],this['type'],[_0x3d8782],this[_0x1f00df(0x3c3)]);return _0x40ec3a['_schedule'](),_0x40ec3a[_0x1f00df(0x2ce)](),_0x40ec3a;}[_0x815bf2(0x2bb)](_0x432281){var _0x40f998=_0x815bf2;if(this[_0x40f998(0x402)](_0x432281))return this[_0x40f998(0x3a7)][_0x40f998(0x3dc)](_0x52c1c0[_0x40f998(0x21b)],this[_0x40f998(0x309)],this[_0x40f998(0x32c)],null,[],null,[_0x432281],this[_0x40f998(0x3c3)]);try{const _0x2c9cf2=this[_0x40f998(0x1b1)][_0x40f998(0xea)](_0x432281,[_0x51b9ba]);if(_0x13d03a[_0x40f998(0x3e9)](_0x2c9cf2)){const {c1Prime:_0x4ae00d}=_0x2c9cf2;return this[_0x40f998(0x105)](_0x4ae00d),this;}throw _0x2c9cf2[_0x40f998(0x334)];}catch(_0x597172){return this[_0x40f998(0x314)][_0x40f998(0x334)](_0x597172),this[_0x40f998(0x397)](!0x1);}}[_0x815bf2(0x397)](_0x50586f){var _0x41768b=_0x815bf2;return this[_0x41768b(0x3a7)][_0x41768b(0x3dc)](_0x52c1c0['ConflictState'],this[_0x41768b(0x309)],this[_0x41768b(0x32c)],null,[],this[_0x41768b(0x3c3)],_0x50586f);}[_0x815bf2(0x6f)](){var _0x377033=_0x815bf2;throw new Error(_0x377033(0x274));}[_0x815bf2(0x3fa)](){var _0x3ae4c1=_0x815bf2;throw new Error(_0x3ae4c1(0x3dd));}['onRemoteRetry'](){return this;}[_0x815bf2(0x3e1)](){var _0x535a97=_0x815bf2;return this[_0x535a97(0x3a7)]['createInstance'](_0x52c1c0['OfflineState'],this[_0x535a97(0x309)],this[_0x535a97(0x32c)],null,[],this[_0x535a97(0x3c3)]);}[_0x815bf2(0x1fd)](){return this;}[_0x815bf2(0x2d2)](){var _0x281974=_0x815bf2;throw new Error(_0x281974(0x168));}[_0x815bf2(0x191)](){var _0x527266=_0x815bf2;const _0x110e4a=this[_0x527266(0x2dc)][_0x527266(0x16d)](this[_0x527266(0x309)]);return this[_0x527266(0x3c3)][_0x527266(0xd4)]({'from':_0x110e4a,'to':0x0}),this[_0x527266(0x3a7)][_0x527266(0x3dc)](_0x52c1c0[_0x527266(0x21b)],this[_0x527266(0x309)],this['type'],null,[],null,[],this[_0x527266(0x3c3)]);}},_0x52c1c0[_0x815bf2(0x20b)]=_0x499c65([_0x5b092d(0x3,_0x34be6a[_0x815bf2(0x306)](_0x13d03a[_0x815bf2(0x398)])),_0x5b092d(0x4,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x15a)])),_0x5b092d(0x5,_0x34be6a[_0x815bf2(0x2da)]),_0x5b092d(0x6,_0x34be6a[_0x815bf2(0x217)]),_0x5b092d(0x7,_0x34be6a[_0x815bf2(0x25c)]),_0x5b092d(0x8,_0x13d03a[_0x815bf2(0x395)]),_0x5b092d(0x9,_0x34be6a[_0x815bf2(0x391)](_0x5ad2e2))],_0x52c1c0['SyncedState']),_0x52c1c0['PendingState']=class extends _0x952a46{constructor(_0xb88e23,_0x12886e,_0x5e9554,_0x573da7,_0x346a6e,_0xa1b88f,_0x2984ff,_0x5ecb83,_0x583efe,_0x359929,_0x1846f4,_0x3acfee,_0x47ce0b,_0x3ff321){var _0x45c5e7=_0x815bf2;super(_0xb88e23,_0x12886e,null,_0x5e9554,_0x573da7,_0x583efe,_0x47ce0b,_0xa1b88f,_0x3ff321),_0x2d2abd(this,'status',_0x45c5e7(0x3d6)),_0x2d2abd(this,_0x45c5e7(0x295),null),_0x2d2abd(this,_0x45c5e7(0x1bb),null),(this['_injector']=_0x346a6e,this[_0x45c5e7(0x331)]=_0x2984ff,this[_0x45c5e7(0x314)]=_0x5ecb83,this[_0x45c5e7(0x287)]=_0x359929,this[_0x45c5e7(0x1b1)]=_0x1846f4,this[_0x45c5e7(0x198)]=_0x3acfee);}['appendMutation'](_0x21e4c4){var _0x232dc7=_0x815bf2;return this[_0x232dc7(0x259)][_0x232dc7(0x26b)](_0x21e4c4),this['_updateLocalCache'](),this;}[_0x815bf2(0x2bb)](_0x5cfa48){var _0x559bfa=_0x815bf2;if(this['_checkMissing'](_0x5cfa48))return this[_0x559bfa(0x322)](),this[_0x559bfa(0x3a7)][_0x559bfa(0x3dc)](_0x52c1c0[_0x559bfa(0x21b)],this[_0x559bfa(0x309)],this[_0x559bfa(0x32c)],null,this[_0x559bfa(0x259)],null,[_0x5cfa48],this[_0x559bfa(0x3c3)]);try{const _0x44e6bf=this[_0x559bfa(0x1b1)][_0x559bfa(0xea)](_0x5cfa48,this[_0x559bfa(0x259)]);if(_0x13d03a[_0x559bfa(0x3e9)](_0x44e6bf)){const {c1Prime:_0x4e480a,m2Prime:_0x26b000}=_0x44e6bf;this[_0x559bfa(0x105)](_0x4e480a);const _0x497fdb=this[_0x559bfa(0x3a7)][_0x559bfa(0x3dc)](_0x52c1c0['PendingState'],this[_0x559bfa(0x309)],this[_0x559bfa(0x32c)],_0x26b000,this[_0x559bfa(0x3c3)]);this[_0x559bfa(0x322)]();const _0x59b660=new Date()[_0x559bfa(0x1b2)](),_0x4ae9e5=this[_0x559bfa(0x295)]?Math[_0x559bfa(0x177)](this[_0x559bfa(0x295)]-_0x59b660,0x0):this['_getSendChangesetTimeout']();return _0x497fdb[_0x559bfa(0x1fe)](_0x4ae9e5),_0x497fdb;}throw _0x44e6bf[_0x559bfa(0x334)];}catch(_0x4ac256){return this[_0x559bfa(0x314)][_0x559bfa(0x334)](_0x4ac256),this[_0x559bfa(0x397)](!0x1);}}['onRemoteAck'](){var _0x5d2ab7=_0x815bf2;throw new Error(_0x5d2ab7(0xd9));}[_0x815bf2(0x3fa)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x815bf2(0xbb)](){return this;}[_0x815bf2(0x3e1)](){var _0x5050fa=_0x815bf2;return this[_0x5050fa(0x322)](),this[_0x5050fa(0x3a7)]['createInstance'](_0x52c1c0[_0x5050fa(0x26a)],this[_0x5050fa(0x309)],this['type'],null,this[_0x5050fa(0x259)],this['_handler']);}['toggleOnline'](){return this;}[_0x815bf2(0x1fe)](_0x3f4329){var _0x2e2517=_0x815bf2;const _0x29b043=_0x3f4329!=null?_0x3f4329:this['_getSendChangesetTimeout']();this[_0x2e2517(0x295)]=new Date()[_0x2e2517(0x1b2)]()+_0x29b043,this[_0x2e2517(0x1bb)]=setTimeout(()=>{var _0x3ece98=_0x2e2517;this['_clearScheduledTask']();let _0x16deda=null;switch(this['type']){case _0x10d4f8['UNIVER_SHEET']:{_0x16deda=_0x105933(this[_0x3ece98(0x259)],this[_0x3ece98(0x309)],this[_0x3ece98(0x198)],this['_revisionService'],this[_0x3ece98(0x331)]);break;}case _0x10d4f8[_0x3ece98(0x1d3)]:{this[_0x3ece98(0x259)][_0x3ece98(0x35b)](_0x364a0f=>_0x364a0f['id']===_0x156eba[_0x3ece98(0x1a0)]['id'])?_0x16deda=_0x3ad8a0(this['_pendingMutations'],this[_0x3ece98(0x309)],this[_0x3ece98(0x198)],this[_0x3ece98(0x2dc)],this[_0x3ece98(0x331)]):_0x16deda=_0x105933(this[_0x3ece98(0x259)],this[_0x3ece98(0x309)],this[_0x3ece98(0x198)],this[_0x3ece98(0x2dc)],this['_memberService']);break;}default:throw new Error(_0x3ece98(0x1f0)+this['type']+_0x3ece98(0x401));}const {changeset:_0x5e3a38,pendingMutations:_0x368c98}=_0x16deda;this[_0x3ece98(0x3c3)]['onSendChangeset'](_0x5e3a38);const _0x4c2a3c=_0x368c98[_0x3ece98(0x269)]?this[_0x3ece98(0x3a7)][_0x3ece98(0x3dc)](_0x52c1c0[_0x3ece98(0x163)],this[_0x3ece98(0x309)],this[_0x3ece98(0x32c)],_0x5e3a38,_0x368c98,this[_0x3ece98(0x3c3)],void 0x0):this[_0x3ece98(0x3a7)]['createInstance'](_0x52c1c0[_0x3ece98(0x232)],this['unitID'],this[_0x3ece98(0x32c)],_0x5e3a38,this[_0x3ece98(0x3c3)]);_0x4c2a3c[_0x3ece98(0x2ce)](),this[_0x3ece98(0x3c3)][_0x3ece98(0x280)](this,_0x4c2a3c);},_0x29b043);}[_0x815bf2(0x254)](){var _0x454ca8=_0x815bf2,_0x426d48;const _0xe7786a=this[_0x454ca8(0x287)][_0x454ca8(0x272)](_0x27464f);return(_0x426d48=_0xe7786a==null?void 0x0:_0xe7786a[_0x454ca8(0x155)])!=null?_0x426d48:0x7d0;}['resend'](){var _0x38c06e=_0x815bf2;throw new Error(_0x38c06e(0x38a));}[_0x815bf2(0x322)](){var _0x280b9d=_0x815bf2;this[_0x280b9d(0x1bb)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x280b9d(0x1bb)]=null);}[_0x815bf2(0x397)](_0xe5a15b){var _0x427b61=_0x815bf2;return this[_0x427b61(0x322)](),this['_injector']['createInstance'](_0x52c1c0['ConflictState'],this[_0x427b61(0x309)],this[_0x427b61(0x32c)],null,this[_0x427b61(0x259)],this[_0x427b61(0x3c3)],_0xe5a15b);}},_0x52c1c0[_0x815bf2(0x121)]=_0x499c65([_0x5b092d(0x4,_0x34be6a['Inject'](_0x34be6a['Injector'])),_0x5b092d(0x5,_0x34be6a['Inject'](_0x13d03a[_0x815bf2(0x398)])),_0x5b092d(0x6,_0x34be6a[_0x815bf2(0x306)](_0x52c1c0[_0x815bf2(0xcd)])),_0x5b092d(0x7,_0x34be6a[_0x815bf2(0x25c)]),_0x5b092d(0x8,_0x34be6a[_0x815bf2(0x217)]),_0x5b092d(0x9,_0x34be6a[_0x815bf2(0x1e5)]),_0x5b092d(0xa,_0x13d03a['ITransformService']),_0x5b092d(0xb,_0x34be6a[_0x815bf2(0x310)]),_0x5b092d(0xc,_0x34be6a[_0x815bf2(0x2da)]),_0x5b092d(0xd,_0x34be6a['Optional'](_0x5ad2e2))],_0x52c1c0[_0x815bf2(0x121)]),_0x52c1c0['AwaitingState']=class extends _0x952a46{constructor(_0x3b5725,_0x40096b,_0xe93057,_0x1aaf4b,_0x5b485f,_0x29e14c,_0x56342d,_0x520e14,_0x4e624e,_0x2c4f84,_0x1ee686){var _0x42a43f=_0x815bf2;super(_0x3b5725,_0x40096b,_0xe93057,[],_0x1aaf4b,_0x56342d,_0x2c4f84,_0x29e14c,_0x1ee686),_0x2d2abd(this,'status',_0x42a43f(0x355)),_0x2d2abd(this,_0x42a43f(0x1cd),0x0),_0x2d2abd(this,_0x42a43f(0x236)),_0x2d2abd(this,'_sender'),(this[_0x42a43f(0x3a7)]=_0x5b485f,this[_0x42a43f(0x314)]=_0x520e14,this[_0x42a43f(0x1b1)]=_0x4e624e);}[_0x815bf2(0x1b8)](_0x311ec0){var _0x103bfc=_0x815bf2;this[_0x103bfc(0x322)]();const _0x4dd6a5=this[_0x103bfc(0x3a7)]['createInstance'](_0x52c1c0[_0x103bfc(0x163)],this[_0x103bfc(0x309)],this[_0x103bfc(0x32c)],this[_0x103bfc(0x3cd)],[_0x311ec0],this[_0x103bfc(0x3c3)],this['_resendTimer']);return _0x4dd6a5[_0x103bfc(0x2ce)](),_0x4dd6a5;}[_0x815bf2(0x2bb)](_0x2e4f03){var _0x2c5a9e=_0x815bf2;if(this[_0x2c5a9e(0x402)](_0x2e4f03))return this['_clearScheduledTask'](),this[_0x2c5a9e(0x3a7)][_0x2c5a9e(0x3dc)](_0x52c1c0[_0x2c5a9e(0x21b)],this[_0x2c5a9e(0x309)],this[_0x2c5a9e(0x32c)],this['_awaitingChangeset'],[],null,[_0x2e4f03],this[_0x2c5a9e(0x3c3)]);try{const _0x255193=this['_transformService'][_0x2c5a9e(0x133)]([_0x2e4f03],[this[_0x2c5a9e(0x3cd)]],!0x1);if(_0x13d03a[_0x2c5a9e(0x344)](_0x255193)){const {c1Prime:_0x1a8170,c2Prime:_0xca2783}=_0x255193;this['_executeRemoteChangeset'](_0x1a8170[0x0]),_0xca2783[0x0][_0x2c5a9e(0x189)]=this[_0x2c5a9e(0x2b3)](),this[_0x2c5a9e(0x322)]();const _0x436f16=this[_0x2c5a9e(0x3a7)][_0x2c5a9e(0x3dc)](_0x52c1c0['AwaitingState'],this[_0x2c5a9e(0x309)],this[_0x2c5a9e(0x32c)],_0xca2783[0x0],this['_handler']);return _0x436f16['_updateLocalCache'](),_0x436f16;}return this['_onConflict'](!0x1);}catch(_0x526ef4){return this[_0x2c5a9e(0x314)][_0x2c5a9e(0x334)](_0x526ef4),this[_0x2c5a9e(0x397)](!0x1);}}[_0x815bf2(0x6f)](_0x21695a){var _0xe429d1=_0x815bf2;this[_0xe429d1(0x322)]();const _0x235c84=this[_0xe429d1(0x2dc)][_0xe429d1(0x16d)](this[_0xe429d1(0x309)]);if(_0x21695a[_0xe429d1(0x39c)]<_0x235c84-0x1)return this;if(this[_0xe429d1(0x402)](_0x21695a))return this[_0xe429d1(0x3a7)][_0xe429d1(0x3dc)](_0x52c1c0['FetchingMissState'],this['unitID'],this[_0xe429d1(0x32c)],null,[],this[_0xe429d1(0x3cd)],[],this[_0xe429d1(0x3c3)]);this[_0xe429d1(0x26e)]();const _0x1a3131=this[_0xe429d1(0x3a7)][_0xe429d1(0x3dc)](_0x52c1c0['SyncedState'],this[_0xe429d1(0x309)],this[_0xe429d1(0x32c)],this['_handler']);return _0x1a3131[_0xe429d1(0x2ce)](),_0x1a3131;}[_0x815bf2(0x3fa)](_0x3acdd6){var _0x44593d=_0x815bf2;return this[_0x44593d(0x397)](!!(_0x3acdd6!=null&&_0x3acdd6['isPermissionRej']));}[_0x815bf2(0xbb)](_0x3ff2ef){var _0x4c4bc2=_0x815bf2;return this[_0x4c4bc2(0x1cd)]>_0x1fca1e?this[_0x4c4bc2(0x3e1)]():(this[_0x4c4bc2(0x236)]=_0x21a33c(this[_0x4c4bc2(0x1cd)],{'timeout':this[_0x4c4bc2(0x1cd)],'reqId':_0x3ff2ef[_0x4c4bc2(0x1b4)]}),this[_0x4c4bc2(0x39d)]=this[_0x4c4bc2(0x236)][_0x4c4bc2(0x2b4)](({reqId:_0x58612a,timeout:_0x3a8f27})=>{var _0x311dd5=_0x4c4bc2;this[_0x311dd5(0xef)](_0x58612a,_0x3a8f27);}),this);}[_0x815bf2(0x3e1)](){var _0x951571=_0x815bf2;return this[_0x951571(0x322)](),this[_0x951571(0x3a7)]['createInstance'](_0x52c1c0[_0x951571(0x26a)],this['unitID'],this['type'],this[_0x951571(0x3cd)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x815bf2(0x2d2)](){var _0x33e4d6=_0x815bf2;this['_handler'][_0x33e4d6(0x308)](this[_0x33e4d6(0x3cd)]);}[_0x815bf2(0x397)](_0x177296){var _0x2f54ba=_0x815bf2;return this[_0x2f54ba(0x322)](),this['_injector'][_0x2f54ba(0x3dc)](_0x52c1c0[_0x2f54ba(0x30e)],this[_0x2f54ba(0x309)],this[_0x2f54ba(0x32c)],this[_0x2f54ba(0x3cd)],[],this['_handler'],_0x177296);}['_resendWithTimeout'](_0x3feee9,_0x17b53a){var _0x2633a4=_0x815bf2,_0x106def;_0x3feee9===((_0x106def=this[_0x2633a4(0x3cd)])==null?void 0x0:_0x106def[_0x2633a4(0x1b4)])&&(this[_0x2633a4(0x2d2)](),this[_0x2633a4(0x1cd)]=_0x17b53a===0x0?0x3e8:_0x17b53a*0x2);}[_0x815bf2(0x322)](){var _0x4e7533=_0x815bf2,_0x845bba;(_0x845bba=this[_0x4e7533(0x39d)])==null||_0x845bba[_0x4e7533(0x13c)](),this[_0x4e7533(0x1cd)]=0x0;}},_0x52c1c0[_0x815bf2(0x232)]=_0x499c65([_0x5b092d(0x4,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x15a)])),_0x5b092d(0x5,_0x34be6a[_0x815bf2(0x306)](_0x13d03a[_0x815bf2(0x398)])),_0x5b092d(0x6,_0x34be6a['ICommandService']),_0x5b092d(0x7,_0x34be6a['ILogService']),_0x5b092d(0x8,_0x13d03a[_0x815bf2(0x395)]),_0x5b092d(0x9,_0x34be6a['IUndoRedoService']),_0x5b092d(0xa,_0x34be6a[_0x815bf2(0x391)](_0x5ad2e2))],_0x52c1c0[_0x815bf2(0x232)]),_0x52c1c0[_0x815bf2(0x163)]=class extends _0x952a46{constructor(_0x535941,_0x2ce26c,_0x286cab,_0x421fba,_0x427a5b,_0x2bbd16,_0x2264ac,_0x4ca7c3,_0x246047,_0x515c9c,_0x36c8eb,_0x47007b,_0x38ba3c){var _0x1015ac=_0x815bf2;super(_0x535941,_0x2ce26c,_0x286cab,_0x421fba,_0x427a5b,_0x246047,_0x47007b,_0x4ca7c3,_0x38ba3c),_0x2d2abd(this,_0x1015ac(0xcc),'awaiting_with_pending'),_0x2d2abd(this,'_resendTimeout',0x0),_0x2d2abd(this,'_resendTimer'),_0x2d2abd(this,_0x1015ac(0x39d)),(this[_0x1015ac(0x3a7)]=_0x2264ac,this[_0x1015ac(0x314)]=_0x515c9c,this[_0x1015ac(0x1b1)]=_0x36c8eb,this[_0x1015ac(0x323)]=_0x38ba3c,_0x2bbd16&&(this['_resendTimer']=_0x2bbd16,this[_0x1015ac(0x39d)]=this[_0x1015ac(0x236)][_0x1015ac(0x2b4)](({reqId:_0x558f9c,timeout:_0xafbeb2})=>{var _0x5612ae=_0x1015ac;this[_0x5612ae(0xef)](_0x558f9c,_0xafbeb2);})));}['appendMutation'](_0x13ad07){var _0x3a7dfd=_0x815bf2;return this[_0x3a7dfd(0x259)]['push'](_0x13ad07),this;}[_0x815bf2(0x2bb)](_0x286832){var _0x3bf6da=_0x815bf2;if(this[_0x3bf6da(0x402)](_0x286832))return this[_0x3bf6da(0x322)](),this['_injector'][_0x3bf6da(0x3dc)](_0x52c1c0[_0x3bf6da(0x21b)],this[_0x3bf6da(0x309)],this[_0x3bf6da(0x32c)],this['_awaitingChangeset'],this[_0x3bf6da(0x259)],null,[_0x286832],this[_0x3bf6da(0x3c3)]);try{const _0x23efcb=this[_0x3bf6da(0x1b1)][_0x3bf6da(0x133)]([_0x286832],[this[_0x3bf6da(0x3cd)]],!0x1);if(_0x13d03a[_0x3bf6da(0x344)](_0x23efcb)){const {c1Prime:_0xd82518,c2Prime:_0x37a992}=_0x23efcb,_0x9d97fb=this[_0x3bf6da(0x1b1)][_0x3bf6da(0xea)](_0xd82518[0x0],this[_0x3bf6da(0x259)]);if(_0x13d03a[_0x3bf6da(0x3e9)](_0x9d97fb)){const {c1Prime:_0x597668,m2Prime:_0x19b910}=_0x9d97fb;return this['_executeRemoteChangeset'](_0x597668),_0x37a992[0x0][_0x3bf6da(0x189)]=this['_getCurrentRevision'](),this[_0x3bf6da(0x322)](),this['_injector']['createInstance'](_0x52c1c0['AwaitingWithPendingState'],this[_0x3bf6da(0x309)],this[_0x3bf6da(0x32c)],_0x37a992[0x0],_0x19b910,this[_0x3bf6da(0x3c3)],void 0x0);}throw _0x9d97fb['error'];}throw _0x23efcb[_0x3bf6da(0x334)];}catch(_0x1bb492){return this['_logService'][_0x3bf6da(0x334)](_0x1bb492),this['_onConflict'](!0x1);}}[_0x815bf2(0x6f)](_0x540f35){var _0x12ea52=_0x815bf2;if(this[_0x12ea52(0x322)](),this[_0x12ea52(0x402)](_0x540f35))return this[_0x12ea52(0x3a7)][_0x12ea52(0x3dc)](_0x52c1c0['FetchingMissState'],this[_0x12ea52(0x309)],this['type'],null,this[_0x12ea52(0x259)],this[_0x12ea52(0x3cd)],[],this[_0x12ea52(0x3c3)]);this['_incrementRevisionNumber']();const _0x15dfbc=this[_0x12ea52(0x3a7)][_0x12ea52(0x3dc)](_0x52c1c0[_0x12ea52(0x121)],this[_0x12ea52(0x309)],this[_0x12ea52(0x32c)],this[_0x12ea52(0x259)],this[_0x12ea52(0x3c3)]);return _0x15dfbc[_0x12ea52(0x1fe)](),_0x15dfbc[_0x12ea52(0x2ce)](),_0x15dfbc;}[_0x815bf2(0x3fa)](_0x4c380d){var _0x52ad9f=_0x815bf2;return this['_onConflict'](!!(_0x4c380d!=null&&_0x4c380d[_0x52ad9f(0x223)]));}[_0x815bf2(0xbb)](_0x4d512e){var _0x3d65ee=_0x815bf2;return this['_resendTimeout']>_0x1fca1e?this[_0x3d65ee(0x3e1)]():(this[_0x3d65ee(0x236)]=_0x21a33c(this[_0x3d65ee(0x1cd)],{'timeout':this[_0x3d65ee(0x1cd)],'reqId':_0x4d512e['reqId']}),this[_0x3d65ee(0x39d)]=this[_0x3d65ee(0x236)][_0x3d65ee(0x2b4)](({reqId:_0xf3bd31,timeout:_0x15b2a4})=>{this['_resendWithTimeout'](_0xf3bd31,_0x15b2a4);}),this);}['toggleOffline'](){var _0x137be1=_0x815bf2;return this['_clearScheduledTask'](),this['_injector'][_0x137be1(0x3dc)](_0x52c1c0['OfflineState'],this[_0x137be1(0x309)],this['type'],this[_0x137be1(0x3cd)],this['_pendingMutations'],this[_0x137be1(0x3c3)]);}['toggleOnline'](){return this;}[_0x815bf2(0x2d2)](){var _0xa0f95a=_0x815bf2;this[_0xa0f95a(0x3c3)][_0xa0f95a(0x308)](this[_0xa0f95a(0x3cd)]);}[_0x815bf2(0x397)](_0x41943f){var _0x1cef7a=_0x815bf2;return this[_0x1cef7a(0x322)](),this['_injector'][_0x1cef7a(0x3dc)](_0x52c1c0[_0x1cef7a(0x30e)],this[_0x1cef7a(0x309)],this[_0x1cef7a(0x32c)],null,this[_0x1cef7a(0x259)],this[_0x1cef7a(0x3c3)],_0x41943f);}[_0x815bf2(0xef)](_0x4768d7,_0x5791f4){var _0x1bfcee=_0x815bf2,_0x355e6b;_0x4768d7===((_0x355e6b=this['_awaitingChangeset'])==null?void 0x0:_0x355e6b[_0x1bfcee(0x1b4)])&&(this['resend'](),this[_0x1bfcee(0x1cd)]=_0x5791f4===0x0?0x3e8:_0x5791f4*0x2);}[_0x815bf2(0x322)](){var _0xfd7eba=_0x815bf2,_0x1290f9;(_0x1290f9=this[_0xfd7eba(0x39d)])==null||_0x1290f9[_0xfd7eba(0x13c)](),this[_0xfd7eba(0x1cd)]=0x0;}},_0x52c1c0[_0x815bf2(0x163)]=_0x499c65([_0x5b092d(0x6,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x15a)])),_0x5b092d(0x7,_0x34be6a[_0x815bf2(0x306)](_0x13d03a[_0x815bf2(0x398)])),_0x5b092d(0x8,_0x34be6a[_0x815bf2(0x217)]),_0x5b092d(0x9,_0x34be6a[_0x815bf2(0x25c)]),_0x5b092d(0xa,_0x13d03a[_0x815bf2(0x395)]),_0x5b092d(0xb,_0x34be6a[_0x815bf2(0x2da)]),_0x5b092d(0xc,_0x34be6a[_0x815bf2(0x391)](_0x5ad2e2))],_0x52c1c0[_0x815bf2(0x163)]),_0x52c1c0[_0x815bf2(0x30e)]=class extends _0x952a46{constructor(_0x1baf1a,_0x245cc4,_0x5647ed,_0x2c90f8,_0x5a2fdc,_0x12e66c=!0x1,_0x4759b7,_0x49a615,_0x2a5e54,_0x45f778,_0x94bad3,_0x3502af,_0x3cbf76){var _0x3608d7=_0x815bf2;super(_0x1baf1a,_0x245cc4,_0x5647ed,_0x2c90f8,_0x5a2fdc,_0x49a615,_0x2a5e54,_0x45f778,_0x3cbf76),_0x2d2abd(this,_0x3608d7(0xcc),'conflict'),(this[_0x3608d7(0x2b9)]=_0x12e66c,this[_0x3608d7(0x2f2)]=_0x4759b7,this['_localeService']=_0x94bad3,this[_0x3608d7(0x30d)]=_0x3502af,this[_0x3608d7(0x323)]=_0x3cbf76,this['_showConflictNotification'](),this[_0x3608d7(0x152)](),this[_0x3608d7(0x1cc)]());}[_0x815bf2(0x1b8)](){return this;}['onRemoteChangeset'](){return this;}[_0x815bf2(0x6f)](){return this;}[_0x815bf2(0x3fa)](){return this;}[_0x815bf2(0xbb)](){return this;}[_0x815bf2(0x3e1)](){return this;}[_0x815bf2(0x1fd)](){return this;}[_0x815bf2(0x2d2)](){var _0x53d82f=_0x815bf2;throw new Error(_0x53d82f(0xac));}[_0x815bf2(0x152)](){var _0x283769=_0x815bf2,_0x4e4503;(_0x4e4503=this[_0x283769(0x266)])==null||_0x4e4503[_0x283769(0x276)](this[_0x283769(0x309)],this[_0x283769(0x32c)],null,[]);}[_0x815bf2(0x117)](){var _0x166e5e=_0x815bf2;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x166e5e(0x31c)]({'id':_0x5bc74c[_0x166e5e(0x1e0)]}):this[_0x166e5e(0x30d)][_0x166e5e(0x31c)]({'id':_0x5bc74c[_0x166e5e(0x384)]});}[_0x815bf2(0x1cc)](){var _0x2940f3=_0x815bf2;this[_0x2940f3(0x2f2)][_0x2940f3(0x29b)](new _0xa0870f[(_0x2940f3(0x29c))](this[_0x2940f3(0x309)])['id'],!0x1);}},_0x52c1c0[_0x815bf2(0x30e)]=_0x499c65([_0x5b092d(0x6,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x2fe)])),_0x5b092d(0x7,_0x34be6a[_0x815bf2(0x217)]),_0x5b092d(0x8,_0x34be6a[_0x815bf2(0x2da)]),_0x5b092d(0x9,_0x34be6a[_0x815bf2(0x306)](_0x13d03a['RevisionService'])),_0x5b092d(0xa,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x2c7)])),_0x5b092d(0xb,_0x34be6a[_0x815bf2(0x306)](_0x1cf3a4)),_0x5b092d(0xc,_0x34be6a[_0x815bf2(0x391)](_0x5ad2e2))],_0x52c1c0[_0x815bf2(0x30e)]),_0x52c1c0[_0x815bf2(0x26a)]=class extends _0x952a46{constructor(_0x4babed,_0x57ecc8,_0x5717a6,_0x36e848,_0x36971f,_0x18171a,_0x1f853d,_0x1f3d16,_0x1bc21a,_0x37f641){var _0x15fdf7=_0x815bf2;super(_0x4babed,_0x57ecc8,_0x5717a6,_0x36e848,_0x36971f,_0x1f3d16,_0x1bc21a,_0x1f853d,_0x37f641),_0x2d2abd(this,'status',_0x15fdf7(0x1e1)),this[_0x15fdf7(0x3a7)]=_0x18171a;}[_0x815bf2(0x1b8)](_0x156b65){var _0x49d086=_0x815bf2;return this[_0x49d086(0x259)][_0x49d086(0x26b)](_0x156b65),this[_0x49d086(0x2ce)](),this;}['onRemoteChangeset'](_0x5ab2a7){var _0x1794e7=_0x815bf2;throw new Error(_0x1794e7(0x12b));}[_0x815bf2(0x6f)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x815bf2(0x3fa)](){var _0x225b89=_0x815bf2;throw new Error(_0x225b89(0x325));}[_0x815bf2(0xbb)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x9646d4=_0x815bf2;const {_injector:_0xd2e380,_pendingMutations:_0x45abe7,_awaitingChangeset:_0xaebb93,unitID:_0x40f7a7,_handler:_0x517421,type:_0x242007}=this,_0x1682d3=_0x1ec97c(_0xd2e380,_0x40f7a7,_0x242007,_0xaebb93,_0x45abe7,_0x517421);return _0x1682d3 instanceof _0x52c1c0[_0x9646d4(0x121)]?_0x1682d3[_0x9646d4(0x1fe)]():(_0x1682d3 instanceof _0x52c1c0[_0x9646d4(0x163)]||_0x1682d3 instanceof _0x52c1c0['AwaitingState'])&&_0x1682d3[_0x9646d4(0x2d2)](),_0x1682d3;}['resend'](){var _0x2788a6=_0x815bf2;throw new Error(_0x2788a6(0x2b7));}},_0x52c1c0['OfflineState']=_0x499c65([_0x5b092d(0x5,_0x34be6a[_0x815bf2(0x306)](_0x34be6a['Injector'])),_0x5b092d(0x6,_0x34be6a[_0x815bf2(0x306)](_0x13d03a[_0x815bf2(0x398)])),_0x5b092d(0x7,_0x34be6a[_0x815bf2(0x217)]),_0x5b092d(0x8,_0x34be6a[_0x815bf2(0x2da)]),_0x5b092d(0x9,_0x34be6a['Optional'](_0x5ad2e2))],_0x52c1c0['OfflineState']),_0x52c1c0[_0x815bf2(0x21b)]=class extends _0x952a46{constructor(_0x3b1af7,_0x3097c2,_0x303637,_0x28a5cf,_0x54f31b,_0x30f20b,_0x528e23,_0x57cd97,_0x532e76,_0x2ab19d,_0x3d908e,_0x1cff54,_0x315e8c,_0x5ce2d0){var _0x12ced7=_0x815bf2;super(_0x3b1af7,_0x3097c2,_0x303637,_0x28a5cf,_0x528e23,_0x3d908e,_0x1cff54,_0x532e76,_0x5ce2d0),_0x2d2abd(this,_0x12ced7(0xcc),_0x12ced7(0x142)),(this[_0x12ced7(0x144)]=_0x54f31b,this[_0x12ced7(0x3d8)]=_0x30f20b,this[_0x12ced7(0x3a7)]=_0x57cd97,this['_logService']=_0x2ab19d,this[_0x12ced7(0x1b1)]=_0x315e8c,this[_0x12ced7(0x323)]=_0x5ce2d0);}['onMissedChangesetFetched'](_0x18a00f){var _0x1efd4b=_0x815bf2;try{const _0x2db41b=[..._0x18a00f,...this[_0x1efd4b(0x3d8)]],_0x5912b0=[this[_0x1efd4b(0x3cd)]||this['_acknowledgedAwaitingChangeset']][_0x1efd4b(0x3b3)](_0x33cd57=>!!_0x33cd57);let _0x6dccd3,_0x283397;if(_0x5912b0[_0x1efd4b(0x269)]){const _0x45fc44=this[_0x1efd4b(0x1b1)][_0x1efd4b(0x133)](_0x2db41b,_0x5912b0,!0x1);if(!_0x13d03a['isTransformChangesetsSuccess'](_0x45fc44))throw _0x45fc44[_0x1efd4b(0x334)];_0x6dccd3=_0x45fc44['c1Prime'],_0x283397=_0x45fc44[_0x1efd4b(0xa2)];}else _0x6dccd3=_0x2db41b,_0x283397=[];let _0x2f32e9=this['_pendingMutations'];_0x6dccd3[_0x1efd4b(0x1f5)](_0x198b48=>{var _0x2bda99=_0x1efd4b;let _0x334333;if(_0x2f32e9[_0x2bda99(0x269)]){const _0x43c1a5=this[_0x2bda99(0x1b1)][_0x2bda99(0xea)](_0x198b48,_0x2f32e9);if(!_0x13d03a[_0x2bda99(0x3e9)](_0x43c1a5))throw _0x43c1a5[_0x2bda99(0x334)];_0x334333=_0x43c1a5['c1Prime'],_0x2f32e9=_0x43c1a5['m2Prime'];}else _0x334333=_0x198b48;this['_executeRemoteChangeset'](_0x334333);}),this[_0x1efd4b(0x144)]&&this[_0x1efd4b(0x26e)](),this[_0x1efd4b(0x3cd)]&&_0x283397[_0x1efd4b(0x269)]&&(_0x283397[0x0][_0x1efd4b(0x189)]=this[_0x1efd4b(0x2b3)]());let _0x265efa;if(this['_awaitingChangeset']&&_0x2f32e9[_0x1efd4b(0x269)]!==0x0)_0x265efa=this['_injector'][_0x1efd4b(0x3dc)](_0x52c1c0[_0x1efd4b(0x163)],this[_0x1efd4b(0x309)],this[_0x1efd4b(0x32c)],_0x283397[0x0],_0x2f32e9,this[_0x1efd4b(0x3c3)],void 0x0);else{if(this[_0x1efd4b(0x3cd)]&&_0x2f32e9[_0x1efd4b(0x269)]===0x0)_0x283397[0x0]['baseRev']=this[_0x1efd4b(0x2b3)](),_0x265efa=this[_0x1efd4b(0x3a7)][_0x1efd4b(0x3dc)](_0x52c1c0[_0x1efd4b(0x232)],this[_0x1efd4b(0x309)],this['type'],_0x283397[0x0],this[_0x1efd4b(0x3c3)]);else{if(_0x2f32e9[_0x1efd4b(0x269)]!==0x0){const _0x8539f4=this[_0x1efd4b(0x3a7)]['createInstance'](_0x52c1c0['PendingState'],this[_0x1efd4b(0x309)],this[_0x1efd4b(0x32c)],_0x2f32e9,this[_0x1efd4b(0x3c3)]);_0x8539f4['_schedule'](),_0x265efa=_0x8539f4;}else _0x265efa=this[_0x1efd4b(0x3a7)][_0x1efd4b(0x3dc)](_0x52c1c0[_0x1efd4b(0x20b)],this[_0x1efd4b(0x309)],this['type'],this['_handler']);}}return _0x265efa['_updateLocalCache'](),_0x265efa;}catch(_0x21f2a0){return this['_logService'][_0x1efd4b(0x334)](_0x1efd4b(0x3ff),_0x1efd4b(0x3bb),_0x21f2a0),this[_0x1efd4b(0x3a7)][_0x1efd4b(0x3dc)](_0x52c1c0[_0x1efd4b(0x30e)],this['unitID'],this[_0x1efd4b(0x32c)],this[_0x1efd4b(0x3cd)],this['_pendingMutations'],this[_0x1efd4b(0x3c3)],!0x1);}}[_0x815bf2(0x2d2)](){var _0x2efd89=_0x815bf2;throw new Error(_0x2efd89(0x13b));}[_0x815bf2(0x1b8)](_0x310d2c){var _0x1ba7c0=_0x815bf2;return this[_0x1ba7c0(0x259)]['push'](_0x310d2c),this;}[_0x815bf2(0x2bb)](_0x5edf82){var _0x15a0c7=_0x815bf2;return this[_0x15a0c7(0x3d8)][_0x15a0c7(0x26b)](_0x5edf82),this;}['onRemoteAck'](_0x422937){var _0x4146f8=_0x815bf2;if(this[_0x4146f8(0x3cd)])return this[_0x4146f8(0x144)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x4146f8(0x3cb));}[_0x815bf2(0x3fa)](_0x3c7dc6){var _0x4fb4c7=_0x815bf2;return this[_0x4fb4c7(0x397)](!!(_0x3c7dc6!=null&&_0x3c7dc6['isPermissionRej']));}[_0x815bf2(0xbb)](){return this;}[_0x815bf2(0x3e1)](){var _0x13c2ec=_0x815bf2;return this['_injector'][_0x13c2ec(0x3dc)](_0x52c1c0[_0x13c2ec(0x26a)],this['unitID'],this[_0x13c2ec(0x32c)],this[_0x13c2ec(0x3cd)],this[_0x13c2ec(0x259)],this['_handler']);}[_0x815bf2(0x1fd)](){return this;}[_0x815bf2(0x397)](_0x4d8ce7){var _0x2c77d6=_0x815bf2;return this[_0x2c77d6(0x3a7)][_0x2c77d6(0x3dc)](_0x52c1c0[_0x2c77d6(0x30e)],this[_0x2c77d6(0x309)],this['type'],this[_0x2c77d6(0x3cd)],this['_pendingMutations'],this['_handler'],_0x4d8ce7);}},_0x52c1c0['FetchingMissState']=_0x499c65([_0x5b092d(0x7,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x15a)])),_0x5b092d(0x8,_0x34be6a['Inject'](_0x13d03a[_0x815bf2(0x398)])),_0x5b092d(0x9,_0x34be6a[_0x815bf2(0x25c)]),_0x5b092d(0xa,_0x34be6a['ICommandService']),_0x5b092d(0xb,_0x34be6a['IUndoRedoService']),_0x5b092d(0xc,_0x13d03a[_0x815bf2(0x395)]),_0x5b092d(0xd,_0x34be6a['Optional'](_0x5ad2e2))],_0x52c1c0[_0x815bf2(0x21b)]);function _0x1ec97c(_0x2738c2,_0x490683,_0x4347aa,_0x11847f,_0x39635d,_0x2783ed){var _0x1eb99c=_0x815bf2;return _0x11847f&&_0x39635d[_0x1eb99c(0x269)]?_0x2738c2['createInstance'](_0x52c1c0[_0x1eb99c(0x163)],_0x490683,_0x4347aa,_0x11847f,_0x39635d,_0x2783ed,void 0x0):_0x11847f?_0x2738c2['createInstance'](_0x52c1c0['AwaitingState'],_0x490683,_0x4347aa,_0x11847f,_0x2783ed):_0x39635d['length']?_0x2738c2[_0x1eb99c(0x3dc)](_0x52c1c0[_0x1eb99c(0x121)],_0x490683,_0x4347aa,_0x39635d,_0x2783ed):_0x2738c2[_0x1eb99c(0x3dc)](_0x52c1c0[_0x1eb99c(0x20b)],_0x490683,_0x4347aa,_0x2783ed);}var _0x2ee88d=Object[_0x815bf2(0x85)],_0x1a0d0e=(_0x198faf,_0xc96069,_0x5d0ba8,_0x3e4b30)=>{for(var _0x799a13=_0x3e4b30>0x1?void 0x0:_0x3e4b30?_0x2ee88d(_0xc96069,_0x5d0ba8):_0xc96069,_0xd7b28b=_0x198faf['length']-0x1,_0x5c0e90;_0xd7b28b>=0x0;_0xd7b28b--)(_0x5c0e90=_0x198faf[_0xd7b28b])&&(_0x799a13=_0x5c0e90(_0x799a13)||_0x799a13);return _0x799a13;},_0x141d07=(_0x152498,_0x1499a3)=>(_0x2e3bfd,_0x5627f6)=>_0x1499a3(_0x2e3bfd,_0x5627f6,_0x152498);_0x52c1c0[_0x815bf2(0x39f)]=class extends _0x34be6a[_0x815bf2(0x2e7)]{constructor(_0x1850ca,_0x1b4efa,_0x4c0bd7,_0x4248da,_0x2ac015,_0x35b3ca,_0x57433c,_0x129538,_0x1d5b8f,_0x4668dc,_0x4c100d,_0x382e54,_0x3777af){var _0x3fa53d=_0x815bf2;super(),_0x2d2abd(this,_0x3fa53d(0x1dd),new _0x325255['BehaviorSubject'](null)),_0x2d2abd(this,_0x3fa53d(0x29e),this[_0x3fa53d(0x1dd)][_0x3fa53d(0x229)]()),_0x2d2abd(this,'_state'),_0x2d2abd(this,_0x3fa53d(0x136),!0x1),_0x2d2abd(this,_0x3fa53d(0x118),''),_0x2d2abd(this,_0x3fa53d(0x151),0x0),_0x2d2abd(this,'status$',this['state$']['pipe'](_0x325255[_0x3fa53d(0x3e8)](_0x36dc22=>_0x36dc22?_0x36dc22[_0x3fa53d(0xcc)]:_0xec8af8[_0x3fa53d(0x14f)]),_0x325255[_0x3fa53d(0xb2)](0x1))),_0x2d2abd(this,_0x3fa53d(0x214),!0x1),_0x2d2abd(this,'_remoteChangesetQueue',[]),(this[_0x3fa53d(0x309)]=_0x1850ca,this['session']=_0x1b4efa,this['_type']=_0x4c0bd7,this[_0x3fa53d(0x3a7)]=_0x4248da,this[_0x3fa53d(0xb5)]=_0x2ac015,this['_localeService']=_0x35b3ca,this[_0x3fa53d(0x2dc)]=_0x57433c,this['_eventService']=_0x129538,this[_0x3fa53d(0x314)]=_0x1d5b8f,this['_commandService']=_0x4668dc,this['_permissionService']=_0x4c100d,this[_0x3fa53d(0x1d8)]=_0x382e54,this['_localCacheService']=_0x3777af);}get['state'](){return this['_state'];}async[_0x815bf2(0x2e9)](){var _0x50cc70=_0x815bf2;if(this[_0x50cc70(0x218)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x815bf2(0x166)](){return this['_collaborationPaused']=!0x0,_0x34be6a['toDisposable'](()=>{var _0x46ff6a=_0x51d3;this[_0x46ff6a(0x136)]=!0x1,this[_0x46ff6a(0x224)]();});}[_0x815bf2(0x228)](_0x37b7a4){var _0x2be930=_0x815bf2;this[_0x2be930(0xa9)](_0x37b7a4);}[_0x815bf2(0x294)](_0x50f1e9){var _0x4d44b8=_0x815bf2;this[_0x4d44b8(0x15f)]=_0x50f1e9,this[_0x4d44b8(0x1dd)][_0x4d44b8(0x14a)](_0x50f1e9);}async[_0x815bf2(0x27c)](){var _0x289416=_0x815bf2,_0x25c5de;this[_0x289416(0x294)](await this['_createInitialState']()),this[_0x289416(0x1d8)]&&((_0x25c5de=this[_0x289416(0x1d8)])==null||_0x25c5de['editingUnit'](this['unitID']),this[_0x289416(0xb0)](this[_0x289416(0x1d8)]['getUnitStatus$'](this[_0x289416(0x309)])[_0x289416(0x2b4)](_0x275d2d=>{var _0x492f80=_0x289416;this[_0x492f80(0x314)][_0x492f80(0x2a2)](_0x492f80(0x203),_0x492f80(0x324),_0x275d2d),_0x275d2d===_0x126d58[_0x492f80(0x9b)]?(this[_0x492f80(0x3d4)][_0x492f80(0x31c)]({'id':_0x5bc74c[_0x492f80(0x12c)]}),this[_0x492f80(0x2f2)][_0x492f80(0x29b)](new _0xa0870f[(_0x492f80(0x29c))](this['unitID'])['id'],!0x1),this[_0x492f80(0x2f2)][_0x492f80(0x28e)](!0x1)):(this[_0x492f80(0x2f2)]['updatePermissionPoint'](new _0xa0870f[(_0x492f80(0x29c))](this[_0x492f80(0x309)])['id'],!0x0),this[_0x492f80(0x2f2)][_0x492f80(0x28e)](!0x0));})));let _0x2cbda5=!0x1;return this[_0x289416(0xb0)](this[_0x289416(0x3a8)]['sessionStatus$'][_0x289416(0x2b4)](_0x1f81a3=>{var _0x1d7894=_0x289416;_0x1f81a3===_0x1f7afd['ONLINE']?this[_0x1d7894(0x1f4)](_0x2cbda5):_0x1f81a3===_0x1f7afd[_0x1d7894(0x14f)]&&(_0x2cbda5=!0x0,this['_toggleOffline']());})),this[_0x289416(0xb0)](this['session']['event$'][_0x289416(0x2b4)](_0x25a4a4=>{var _0x2dbd79=_0x289416;try{switch(_0x25a4a4[_0x2dbd79(0x362)]){case _0x13d03a[_0x2dbd79(0x240)]['NEW_CHANGESETS']:{this[_0x2dbd79(0x275)](_0x13d03a[_0x2dbd79(0x113)](_0x25a4a4[_0x2dbd79(0x135)]));break;}case _0x13d03a['CollaborationEvent'][_0x2dbd79(0xa1)]:{this['_onRemoteACK'](_0x25a4a4[_0x2dbd79(0x135)]);break;}case _0x13d03a['CollaborationEvent'][_0x2dbd79(0x241)]:{this['_onRemoteRejected']();break;}case _0x13d03a[_0x2dbd79(0x240)][_0x2dbd79(0x245)]:{this[_0x2dbd79(0x2b1)](_0x25a4a4['data']);break;}case _0x13d03a[_0x2dbd79(0x240)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x2dbd79(0x37d)](_0x25a4a4[_0x2dbd79(0x135)][_0x2dbd79(0xfc)][_0x2dbd79(0x3e8)](_0x4d6bff=>_0x13d03a[_0x2dbd79(0x113)](_0x4d6bff)));break;}case _0x13d03a[_0x2dbd79(0x240)][_0x2dbd79(0x12f)]:{this[_0x2dbd79(0x19c)]({'isPermissionRej':!0x0});break;}case _0x13d03a[_0x2dbd79(0x240)][_0x2dbd79(0xec)]:break;}}catch(_0x577192){throw console[_0x2dbd79(0x334)](_0x2dbd79(0x2b0),_0x577192),_0x577192;}})),this[_0x289416(0x15f)];}[_0x815bf2(0x2fd)](){var _0x45f014=_0x815bf2;this[_0x45f014(0x214)]=!0x1;}['_lockTransition'](){var _0x63bc3a=_0x815bf2;if(this[_0x63bc3a(0x214)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x63bc3a(0x214)]=!0x0;}[_0x815bf2(0xa9)](_0x3bf2df){var _0x994290=_0x815bf2;this[_0x994290(0x1b0)](),this[_0x994290(0x294)](this[_0x994290(0x15f)][_0x994290(0x1b8)](_0x3bf2df)),this[_0x994290(0x2fd)]();}[_0x815bf2(0x275)](_0x40c514){var _0x19e779=_0x815bf2;if(!(_0x40c514[_0x19e779(0x39c)]<=this['_revisionService'][_0x19e779(0x16d)](this[_0x19e779(0x309)]))){if(this[_0x19e779(0x136)]){this[_0x19e779(0xf9)][_0x19e779(0x26b)](_0x40c514);return;}this['_applyRemoteChangeset'](_0x40c514);}}[_0x815bf2(0x224)](){var _0x3f1144=_0x815bf2;this[_0x3f1144(0xf9)][_0x3f1144(0x1f5)](_0x2e241f=>this[_0x3f1144(0x187)](_0x2e241f)),this[_0x3f1144(0xf9)]=[];}[_0x815bf2(0x187)](_0x4bb923){var _0xd1031d=_0x815bf2;const _0x484e53=this[_0xd1031d(0xb5)][_0xd1031d(0x28b)][_0xd1031d(0x2d1)](this[_0xd1031d(0xb5)]['interceptor'][_0xd1031d(0x175)]()[_0xd1031d(0x3b2)])(_0x4bb923[_0xd1031d(0x2ee)],null)||_0x4bb923[_0xd1031d(0x2ee)],_0xe4278c={..._0x4bb923,'mutations':_0x484e53};this[_0xd1031d(0x1b0)](),this[_0xd1031d(0x294)](this[_0xd1031d(0x15f)][_0xd1031d(0x2bb)](_0xe4278c)),this[_0xd1031d(0x2fd)]();}[_0x815bf2(0x206)](_0x53416b){var _0x420c72=_0x815bf2;this[_0x420c72(0x1b0)](),this[_0x420c72(0x294)](this[_0x420c72(0x15f)][_0x420c72(0x6f)](_0x53416b)),this[_0x420c72(0x2fd)]();}[_0x815bf2(0x19c)](_0x208fac){var _0x513de4=_0x815bf2;this[_0x513de4(0x1b0)](),this['_updateState'](this[_0x513de4(0x15f)][_0x513de4(0x3fa)](_0x208fac)),this[_0x513de4(0x2fd)]();}['_onRemoteRetry'](_0x2d7ac1){var _0x3f8c82=_0x815bf2;this[_0x3f8c82(0x1b0)](),this[_0x3f8c82(0x294)](this[_0x3f8c82(0x15f)]['onRemoteRetry'](_0x2d7ac1)),this[_0x3f8c82(0x2fd)]();}[_0x815bf2(0x37d)](_0x16d1c2){var _0x83e271=_0x815bf2;if(!(this['_state']instanceof _0x52c1c0[_0x83e271(0x21b)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x14d4e5=_0x16d1c2[_0x83e271(0x3e8)](_0x2ea5d5=>{var _0x196437=_0x83e271;const _0x4caf2d=this[_0x196437(0xb5)][_0x196437(0x28b)]['fetchThroughInterceptors'](this[_0x196437(0xb5)][_0x196437(0x28b)][_0x196437(0x175)]()['COMPRESS_MUTATION_APPLY'])(_0x2ea5d5[_0x196437(0x2ee)],null)||_0x2ea5d5['mutations'];return{..._0x2ea5d5,'mutations':_0x4caf2d};});this[_0x83e271(0x1b0)](),this[_0x83e271(0x294)](this[_0x83e271(0x15f)][_0x83e271(0x1f3)](_0x14d4e5)),this[_0x83e271(0x2fd)]();}[_0x815bf2(0x2cc)](){var _0x504979=_0x815bf2;this[_0x504979(0x1b0)](),this[_0x504979(0x294)](this[_0x504979(0x15f)][_0x504979(0x3e1)]()),this[_0x504979(0x2fd)]();}[_0x815bf2(0x1f4)](_0x11814d=!0x1){var _0x1d89cf=_0x815bf2;this[_0x1d89cf(0x1b0)](),this[_0x1d89cf(0x294)](this[_0x1d89cf(0x15f)]['toggleOnline']()),this['_unlockTransition']();const _0x50b05c=this[_0x1d89cf(0x15f)];_0x11814d&&_0x50b05c instanceof _0x52c1c0[_0x1d89cf(0x20b)]&&(this[_0x1d89cf(0x1b0)](),this[_0x1d89cf(0x294)](_0x50b05c[_0x1d89cf(0x191)]()),this[_0x1d89cf(0x2fd)]());}async[_0x815bf2(0x3f9)](){return new Promise(_0x34d9af=>{var _0x4161db=_0x51d3;this['session'][_0x4161db(0x318)][_0x4161db(0x108)](_0x325255[_0x4161db(0x38b)](0x1))['subscribe'](async _0x2dad6f=>{_0x34d9af(await this['_createInitialStateImpl'](_0x2dad6f===_0x1f7afd['ONLINE']));});});}[_0x815bf2(0x246)](){var _0x1bcaf7=_0x815bf2;const _0x2d5a4a=this[_0x1bcaf7(0x309)];return{'onStateChange':(_0x2bce22,_0x175bcf)=>{var _0x357b5f=_0x1bcaf7;if(_0x2bce22!==this[_0x357b5f(0x15f)])throw new Error(_0x357b5f(0x19e)+_0x2bce22[_0x357b5f(0xcc)]+_0x357b5f(0xf4)+_0x175bcf['status']+_0x357b5f(0x267)+this[_0x357b5f(0x15f)]['status']);this[_0x357b5f(0x294)](_0x175bcf);},'onSendChangeset':_0x1dcb6b=>{var _0x1d675d=_0x1bcaf7;_0x1dcb6b['sid']||(_0x1dcb6b[_0x1d675d(0x3c8)]=this[_0x1d675d(0x118)],_0x1dcb6b[_0x1d675d(0x1b4)]=++this['_changesetReqId']);const _0x5150d5={'eventID':_0x13d03a[_0x1d675d(0x240)][_0x1d675d(0x8b)],'data':{'unitID':_0x1dcb6b[_0x1d675d(0x309)],'unitType':this[_0x1d675d(0x30a)],'changeset':_0x1dcb6b,'memberID':this[_0x1d675d(0x3a8)][_0x1d675d(0x230)]()}};this[_0x1d675d(0x3a8)]['send'](_0x5150d5,this[_0x1d675d(0x309)]);},'onMissingChangesets':({from:_0x42a368,to:_0x1503c7})=>{var _0x3dfb8e=_0x1bcaf7;this[_0x3dfb8e(0x314)][_0x3dfb8e(0x2a2)](_0x3dfb8e(0x203),_0x3dfb8e(0x3be)+_0x42a368+_0x3dfb8e(0x17d)+_0x1503c7);const _0x29562c={'eventID':_0x13d03a[_0x3dfb8e(0x240)][_0x3dfb8e(0xfa)],'data':{'unitID':_0x2d5a4a,'unitType':this[_0x3dfb8e(0x30a)],'from':_0x42a368,'to':_0x1503c7}};this[_0x3dfb8e(0x3a8)][_0x3dfb8e(0xd5)](_0x29562c,this[_0x3dfb8e(0x309)]);}};}async[_0x815bf2(0x353)](_0x4cd466){var _0x3f47a1=_0x815bf2,_0x1a8c3b,_0x1d3db0,_0x5efdc2;const _0x5e7e56=await((_0x1a8c3b=this[_0x3f47a1(0x266)])==null?void 0x0:_0x1a8c3b[_0x3f47a1(0x2cd)](this[_0x3f47a1(0x309)])),_0xbd6b29=(_0x1d3db0=_0x5e7e56==null?void 0x0:_0x5e7e56[_0x3f47a1(0x2ee)])!=null?_0x1d3db0:[],_0x584562=(_0x5efdc2=_0x5e7e56==null?void 0x0:_0x5e7e56[_0x3f47a1(0x387)])!=null?_0x5efdc2:null,_0x127755=!!(_0x584562!=null&&_0x584562[_0x3f47a1(0x3c8)])&&!!(_0x584562!=null&&_0x584562[_0x3f47a1(0x1b4)]);this['_changesetSessionId']=_0x127755?_0x584562[_0x3f47a1(0x3c8)]:_0x30b492(),this[_0x3f47a1(0x151)]=_0x127755?_0x584562['reqId']:0x0;const _0x5602ee=this[_0x3f47a1(0x309)];try{this['_replayCachedMutations'](_0x584562,_0xbd6b29);}catch(_0x57d656){this[_0x3f47a1(0x314)][_0x3f47a1(0x334)](_0x57d656);}const _0xd5890b=this['_createHandler']();if(_0x4cd466){const _0x5d11a0=_0x1ec97c(this[_0x3f47a1(0x3a7)],_0x5602ee,this[_0x3f47a1(0x30a)],_0x584562,_0xbd6b29,_0xd5890b);return _0x5d11a0 instanceof _0x52c1c0[_0x3f47a1(0x121)]?_0x5d11a0[_0x3f47a1(0x1fe)]():(_0x5d11a0 instanceof _0x52c1c0[_0x3f47a1(0x163)]||_0x5d11a0 instanceof _0x52c1c0[_0x3f47a1(0x232)])&&_0x5d11a0['resend'](),_0x5d11a0;}return this[_0x3f47a1(0x3a7)][_0x3f47a1(0x3dc)](_0x52c1c0[_0x3f47a1(0x26a)],_0x5602ee,this['_type'],_0x584562,_0xbd6b29,_0xd5890b);}[_0x815bf2(0x3b9)](_0x4e3834,_0x431427){var _0x4c218e=_0x815bf2,_0x40d984,_0x569b96;const _0x2c181c=this[_0x4c218e(0xb5)][_0x4c218e(0x28b)][_0x4c218e(0x2d1)](this['_compressMutationService'][_0x4c218e(0x28b)][_0x4c218e(0x175)]()[_0x4c218e(0x3b2)]);(_0x40d984=_0x2c181c((_0x4e3834==null?void 0x0:_0x4e3834[_0x4c218e(0x2ee)])||[],null))==null||_0x40d984[_0x4c218e(0x1f5)](_0x22587e=>this[_0x4c218e(0x33a)][_0x4c218e(0x2aa)](_0x22587e['id'],_0x22587e[_0x4c218e(0x3ce)])),(_0x569b96=_0x2c181c(_0x431427||[],null))==null||_0x569b96[_0x4c218e(0x1f5)](_0x1be010=>this['_commandService'][_0x4c218e(0x2aa)](_0x1be010['id'],_0x1be010[_0x4c218e(0x3ce)]));}},_0x52c1c0[_0x815bf2(0x39f)]=_0x1a0d0e([_0x141d07(0x3,_0x34be6a['Inject'](_0x34be6a[_0x815bf2(0x15a)])),_0x141d07(0x4,_0x34be6a[_0x815bf2(0x306)](_0x13d03a[_0x815bf2(0x296)])),_0x141d07(0x5,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x2c7)])),_0x141d07(0x6,_0x34be6a[_0x815bf2(0x306)](_0x13d03a[_0x815bf2(0x398)])),_0x141d07(0x7,_0x34be6a[_0x815bf2(0x306)](_0x1cf3a4)),_0x141d07(0x8,_0x34be6a[_0x815bf2(0x25c)]),_0x141d07(0x9,_0x34be6a[_0x815bf2(0x217)]),_0x141d07(0xa,_0x34be6a[_0x815bf2(0x2fe)]),_0x141d07(0xb,_0x34be6a[_0x815bf2(0x391)](_0x22d99f)),_0x141d07(0xc,_0x34be6a[_0x815bf2(0x391)](_0x5ad2e2))],_0x52c1c0['CollaborationEntity']),_0x52c1c0['DocCollaborationEntity']=class extends _0x52c1c0[_0x815bf2(0x39f)]{constructor(_0x537b64,_0x3d9964,_0x33fb0e,_0x9725bb,_0x25de0c,_0x5f4d3f,_0x3730db,_0x47ec85,_0x17ea37,_0x43614e,_0x1dffae,_0x302945,_0x3548cd){var _0x4489df=_0x815bf2;super(_0x537b64,_0x33fb0e,_0x3d9964,_0x9725bb,_0x25de0c,_0x5f4d3f,_0x3730db,_0x47ec85,_0x17ea37,_0x43614e,_0x1dffae,_0x302945,_0x3548cd),_0x2d2abd(this,_0x4489df(0x3f8),null),(this[_0x4489df(0x309)]=_0x537b64,this[_0x4489df(0x32c)]=_0x3d9964);}['addHandlerCallback'](_0x5d62b0){var _0x2122c8=_0x815bf2;this[_0x2122c8(0x3f8)]=_0x5d62b0;}[_0x815bf2(0x208)](){var _0x47a20c=_0x815bf2;this[_0x47a20c(0x3f8)]=null,super[_0x47a20c(0x208)]();}[_0x815bf2(0x246)](){var _0x46dab6=_0x815bf2;const _0x55af7b=super[_0x46dab6(0x246)]();return _0x55af7b[_0x46dab6(0x2e1)]=_0x2ce4de=>{var _0x5ce42b=_0x46dab6,_0x2d8c91,_0x1dee38;return(_0x1dee38=(_0x2d8c91=this[_0x5ce42b(0x3f8)])==null?void 0x0:_0x2d8c91['onTransformIME'])==null?void 0x0:_0x1dee38[_0x5ce42b(0x405)](_0x2d8c91,_0x2ce4de);},_0x55af7b[_0x46dab6(0x3b5)]=_0x317092=>{var _0x6a5484=_0x46dab6,_0x268461,_0x5aef93;return(_0x5aef93=(_0x268461=this[_0x6a5484(0x3f8)])==null?void 0x0:_0x268461[_0x6a5484(0x3b5)])==null?void 0x0:_0x5aef93[_0x6a5484(0x405)](_0x268461,_0x317092);},_0x55af7b['onTransformSelections']=_0x16b1d7=>{var _0xa3d1ac=_0x46dab6,_0x4c67e6,_0x4053ef;return(_0x4053ef=(_0x4c67e6=this[_0xa3d1ac(0x3f8)])==null?void 0x0:_0x4c67e6['onTransformSelections'])==null?void 0x0:_0x4053ef[_0xa3d1ac(0x405)](_0x4c67e6,_0x16b1d7);},_0x55af7b[_0x46dab6(0x10e)]=_0x367632=>{var _0x9ebbb4=_0x46dab6,_0x3d564a,_0x4328c2;return(_0x4328c2=(_0x3d564a=this[_0x9ebbb4(0x3f8)])==null?void 0x0:_0x3d564a['onSyncEditingCollabCursor'])==null?void 0x0:_0x4328c2['call'](_0x3d564a,_0x367632);},_0x55af7b[_0x46dab6(0x3a1)]=_0x138189=>{var _0x93333=_0x46dab6,_0x13e6c5,_0x511349,_0x3e51fa;if(!((_0x13e6c5=this[_0x93333(0x3f8)])!=null&&_0x13e6c5[_0x93333(0x3a1)]))throw new Error(_0x93333(0x3ac));return(_0x3e51fa=(_0x511349=this['_handlerCallback'])==null?void 0x0:_0x511349[_0x93333(0x3a1)])==null?void 0x0:_0x3e51fa[_0x93333(0x405)](_0x511349,_0x138189);},_0x55af7b[_0x46dab6(0x119)]=_0x25a93a=>{var _0x207dfd=_0x46dab6,_0x4baa07,_0x19f9ce,_0x499e16;if(!((_0x4baa07=this[_0x207dfd(0x3f8)])!=null&&_0x4baa07['onTransformRemoteChangesetByStateCache']))throw new Error(_0x207dfd(0x1ea));return(_0x499e16=(_0x19f9ce=this[_0x207dfd(0x3f8)])==null?void 0x0:_0x19f9ce[_0x207dfd(0x119)])==null?void 0x0:_0x499e16[_0x207dfd(0x405)](_0x19f9ce,_0x25a93a);},_0x55af7b;}async[_0x815bf2(0x27c)](){var _0x205d35=_0x815bf2;const _0x254914=await super[_0x205d35(0x27c)]();return this['disposeWithMe'](this['_commandService'][_0x205d35(0x24e)]((_0x4b3b6d,_0x415c9f)=>{var _0x116c0d=_0x205d35;if(_0x4b3b6d[_0x116c0d(0x32c)]!==_0x34be6a[_0x116c0d(0x11d)][_0x116c0d(0x257)]||_0x415c9f!=null&&_0x415c9f[_0x116c0d(0x2a0)]||_0x415c9f!=null&&_0x415c9f[_0x116c0d(0xf5)]||_0x4b3b6d['id']===_0x156eba[_0x116c0d(0x1a0)]['id'])return;const _0xe17fa3=_0x4b3b6d[_0x116c0d(0x3ce)];if((_0xe17fa3==null?void 0x0:_0xe17fa3[_0x116c0d(0x32a)])!==this[_0x116c0d(0x309)])return;const _0x2a8bd5=_0x4b3b6d,_0x2752d9=this[_0x116c0d(0xb5)][_0x116c0d(0x28b)][_0x116c0d(0x2d1)](this[_0x116c0d(0xb5)][_0x116c0d(0x28b)][_0x116c0d(0x175)]()['COMPRESS_MUTATION_SEND'])([_0x2a8bd5],null)||[_0x2a8bd5];this[_0x116c0d(0xa9)](_0x2752d9[0x0]);})),_0x254914;}},_0x52c1c0[_0x815bf2(0x1b3)]=_0x1a0d0e([_0x141d07(0x3,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x15a)])),_0x141d07(0x4,_0x34be6a['Inject'](_0x13d03a['CompressMutationService'])),_0x141d07(0x5,_0x34be6a[_0x815bf2(0x306)](_0x34be6a['LocaleService'])),_0x141d07(0x6,_0x34be6a['Inject'](_0x13d03a[_0x815bf2(0x398)])),_0x141d07(0x7,_0x34be6a[_0x815bf2(0x306)](_0x1cf3a4)),_0x141d07(0x8,_0x34be6a['ILogService']),_0x141d07(0x9,_0x34be6a[_0x815bf2(0x217)]),_0x141d07(0xa,_0x34be6a[_0x815bf2(0x2fe)]),_0x141d07(0xb,_0x34be6a[_0x815bf2(0x391)](_0x22d99f)),_0x141d07(0xc,_0x34be6a[_0x815bf2(0x391)](_0x5ad2e2))],_0x52c1c0[_0x815bf2(0x1b3)]),_0x52c1c0['SheetCollaborationEntity']=class extends _0x52c1c0['CollaborationEntity']{constructor(_0x219ffb,_0x3985b8,_0x164574,_0x288868,_0x368875,_0x1d6272,_0x31b84c,_0x4adcf0,_0x15b36e,_0x105525,_0x2cec72,_0x4b2c3e,_0x4e78ee,_0x2710f3){var _0x53f2f7=_0x815bf2;super(_0x219ffb,_0x164574,_0x3985b8,_0x288868,_0x368875,_0x1d6272,_0x31b84c,_0x15b36e,_0x105525,_0x2cec72,_0x4b2c3e,_0x4e78ee,_0x2710f3),this[_0x53f2f7(0x309)]=_0x219ffb,this[_0x53f2f7(0x32c)]=_0x3985b8,this[_0x53f2f7(0x11e)]=_0x4adcf0;}[_0x815bf2(0x246)](){var _0x1a096c=_0x815bf2;const _0x3bdfc6=super[_0x1a096c(0x246)]();return _0x3bdfc6['onTransformSelections']=_0x2592cd=>this[_0x1a096c(0x11e)][_0x1a096c(0x2e4)](_0x2592cd),_0x3bdfc6;}async[_0x815bf2(0x27c)](){var _0x2ace71=_0x815bf2;const _0x1d8263=await super['_init']();return this[_0x2ace71(0xb0)](this[_0x2ace71(0x33a)][_0x2ace71(0x24e)]((_0x553177,_0xa22eb8)=>{var _0x52457e=_0x2ace71;if(_0x553177[_0x52457e(0x32c)]!==_0x34be6a[_0x52457e(0x11d)][_0x52457e(0x257)]||_0xa22eb8!=null&&_0xa22eb8[_0x52457e(0x2a0)]||_0xa22eb8!=null&&_0xa22eb8['onlyLocal'])return;const _0x1da46d=_0x553177['params'];if((_0x1da46d==null?void 0x0:_0x1da46d[_0x52457e(0x32a)])!==this['unitID'])return;const _0x549189=_0x553177,_0x4320af=this[_0x52457e(0xb5)][_0x52457e(0x28b)]['fetchThroughInterceptors'](this[_0x52457e(0xb5)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x549189],null)||[_0x549189];this[_0x52457e(0xa9)](_0x4320af[0x0]);})),_0x1d8263;}},_0x52c1c0[_0x815bf2(0x1fb)]=_0x1a0d0e([_0x141d07(0x3,_0x34be6a[_0x815bf2(0x306)](_0x34be6a['Injector'])),_0x141d07(0x4,_0x34be6a[_0x815bf2(0x306)](_0x13d03a[_0x815bf2(0x296)])),_0x141d07(0x5,_0x34be6a[_0x815bf2(0x306)](_0x34be6a['LocaleService'])),_0x141d07(0x6,_0x34be6a[_0x815bf2(0x306)](_0x13d03a[_0x815bf2(0x398)])),_0x141d07(0x7,_0x34be6a[_0x815bf2(0x306)](_0x52c1c0[_0x815bf2(0x86)])),_0x141d07(0x8,_0x34be6a[_0x815bf2(0x306)](_0x1cf3a4)),_0x141d07(0x9,_0x34be6a[_0x815bf2(0x25c)]),_0x141d07(0xa,_0x34be6a[_0x815bf2(0x217)]),_0x141d07(0xb,_0x34be6a['IPermissionService']),_0x141d07(0xc,_0x34be6a[_0x815bf2(0x391)](_0x22d99f)),_0x141d07(0xd,_0x34be6a[_0x815bf2(0x391)](_0x5ad2e2))],_0x52c1c0[_0x815bf2(0x1fb)]);var _0x50d93a=Object[_0x815bf2(0x85)],_0x542e41=(_0x5b83f8,_0x26db8e,_0x443c7f,_0x36a560)=>{for(var _0x3ce32e=_0x36a560>0x1?void 0x0:_0x36a560?_0x50d93a(_0x26db8e,_0x443c7f):_0x26db8e,_0x5f37e5=_0x5b83f8['length']-0x1,_0x2c4428;_0x5f37e5>=0x0;_0x5f37e5--)(_0x2c4428=_0x5b83f8[_0x5f37e5])&&(_0x3ce32e=_0x2c4428(_0x3ce32e)||_0x3ce32e);return _0x3ce32e;},_0x3f3fed=(_0x5da027,_0x2b496a)=>(_0x132a96,_0x465d7a)=>_0x2b496a(_0x132a96,_0x465d7a,_0x5da027);_0x52c1c0[_0x815bf2(0xbd)]=class extends _0x34be6a[_0x815bf2(0x2e7)]{constructor(_0x31be19,_0x2110f4,_0x2b9bf5){var _0x7e1b7e=_0x815bf2;super(),_0x2d2abd(this,_0x7e1b7e(0x35d),new Map()),_0x2d2abd(this,_0x7e1b7e(0x11c),new _0x325255[(_0x7e1b7e(0x90))]()),_0x2d2abd(this,_0x7e1b7e(0x112),this[_0x7e1b7e(0x11c)][_0x7e1b7e(0x229)]()),(this[_0x7e1b7e(0x3a7)]=_0x31be19,this[_0x7e1b7e(0xf6)]=_0x2110f4,this[_0x7e1b7e(0x198)]=_0x2b9bf5,this['_init']());}['dispose'](){var _0x278ef6=_0x815bf2;super[_0x278ef6(0x208)](),this[_0x278ef6(0x35d)][_0x278ef6(0x1f5)](_0xb17313=>_0xb17313[_0x278ef6(0x208)]()),this['_entities']['clear']();}[_0x815bf2(0x1df)](_0x1f29d9){var _0x1b9770=_0x815bf2,_0x25f37a;return(_0x25f37a=this['_entities'][_0x1b9770(0x33c)](_0x1f29d9))!=null?_0x25f37a:null;}[_0x815bf2(0x3c7)](_0xc84102){var _0x35a3ac=_0x815bf2;const _0x3bb459=this[_0x35a3ac(0x1df)](_0xc84102);return _0x3bb459?_0x325255['of'](_0x3bb459):this[_0x35a3ac(0x11c)][_0x35a3ac(0x108)](_0x1fd352[_0x35a3ac(0x3b3)](_0x158ae9=>_0x158ae9['unitID']===_0xc84102));}[_0x815bf2(0x2d3)](_0x1087cd){var _0x50487b=_0x815bf2;return _0x325255[_0x50487b(0x313)](this[_0x50487b(0x3c7)](_0x1087cd)[_0x50487b(0x108)](_0x1fd352[_0x50487b(0x3e8)](()=>{})));}[_0x815bf2(0x27c)](){var _0xde45dc=_0x815bf2;this['_univerInstanceService'][_0xde45dc(0x242)](_0x34be6a['UniverInstanceType'][_0xde45dc(0x10d)])[_0xde45dc(0x108)](_0x325255[_0xde45dc(0x300)](this[_0xde45dc(0x32b)]),_0x1fd352['delay'](0x10))[_0xde45dc(0x2b4)](async _0x359bf5=>{var _0x1a802d=_0xde45dc;const _0x45d1de=_0x359bf5[_0x1a802d(0x158)](),_0x565ea4=await this['_startCollaboration'](_0x45d1de,_0x10d4f8['UNIVER_SHEET']);this[_0x1a802d(0x35d)][_0x1a802d(0x1c8)](_0x45d1de,_0x565ea4);}),this[_0xde45dc(0x198)]['getTypeOfUnitAdded$'](_0x34be6a[_0xde45dc(0x38f)][_0xde45dc(0x1d3)])[_0xde45dc(0x108)](_0x325255['takeUntil'](this['dispose$']),_0x1fd352['delay'](0x10))[_0xde45dc(0x108)](_0x1fd352[_0xde45dc(0x3b3)](_0x19089e=>!_0x19089e[_0xde45dc(0x158)]()[_0xde45dc(0x2f1)]('__')))[_0xde45dc(0x2b4)](async _0x123a2b=>{var _0x443217=_0xde45dc;const _0x19cc37=_0x123a2b[_0x443217(0x158)](),_0x40ee63=await this[_0x443217(0x27a)](_0x19cc37,_0x10d4f8[_0x443217(0x1d3)]);this['_entities'][_0x443217(0x1c8)](_0x19cc37,_0x40ee63);}),_0x325255[_0xde45dc(0x2ab)](this[_0xde45dc(0x198)][_0xde45dc(0x329)](_0x34be6a[_0xde45dc(0x38f)]['UNIVER_SHEET']),this['_univerInstanceService'][_0xde45dc(0x329)](_0x34be6a[_0xde45dc(0x38f)][_0xde45dc(0x1d3)]))[_0xde45dc(0x108)](_0x325255['takeUntil'](this[_0xde45dc(0x32b)]))[_0xde45dc(0x2b4)](_0x29ac59=>{var _0x5c1a7e=_0xde45dc;const _0x4dd5d5=_0x29ac59[_0x5c1a7e(0x158)](),_0x4d954a=this[_0x5c1a7e(0x35d)][_0x5c1a7e(0x33c)](_0x4dd5d5);_0x4d954a&&(_0x4d954a[_0x5c1a7e(0x208)](),this[_0x5c1a7e(0x35d)]['delete'](_0x4dd5d5));});}async[_0x815bf2(0x27a)](_0x42534c,_0x9a9b06){var _0x5ac8e7=_0x815bf2;const _0x5bd5d1=await this[_0x5ac8e7(0xf6)][_0x5ac8e7(0x265)](_0x42534c),_0x33674d=this[_0x5ac8e7(0x3a7)][_0x5ac8e7(0x3dc)](this[_0x5ac8e7(0xf1)](_0x9a9b06),_0x42534c,_0x9a9b06,_0x5bd5d1);return await _0x33674d[_0x5ac8e7(0x2e9)](),this[_0x5ac8e7(0x11c)][_0x5ac8e7(0x14a)](_0x33674d),_0x33674d;}[_0x815bf2(0xf1)](_0x212cf){var _0x114592=_0x815bf2;switch(_0x212cf){case _0x10d4f8[_0x114592(0x1d3)]:return _0x52c1c0[_0x114592(0x1b3)];case _0x10d4f8[_0x114592(0x10d)]:return _0x52c1c0['SheetCollaborationEntity'];default:throw new Error(_0x114592(0x3ea)+_0x212cf);}}},_0x52c1c0[_0x815bf2(0xbd)]=_0x542e41([_0x3f3fed(0x0,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x15a)])),_0x3f3fed(0x1,_0x34be6a['Inject'](_0x52c1c0[_0x815bf2(0x1ae)])),_0x3f3fed(0x2,_0x34be6a['IUniverInstanceService'])],_0x52c1c0[_0x815bf2(0xbd)]);var _0xd1eab6=Object[_0x815bf2(0x85)],_0x5e754=(_0x50e4aa,_0x46434e,_0xd0404c,_0x32bce3)=>{for(var _0x1c4909=_0x32bce3>0x1?void 0x0:_0x32bce3?_0xd1eab6(_0x46434e,_0xd0404c):_0x46434e,_0x2e4b08=_0x50e4aa['length']-0x1,_0x57cb90;_0x2e4b08>=0x0;_0x2e4b08--)(_0x57cb90=_0x50e4aa[_0x2e4b08])&&(_0x1c4909=_0x57cb90(_0x1c4909)||_0x1c4909);return _0x1c4909;},_0x14e077=(_0x1d91a9,_0x1bf1eb)=>(_0x1fa596,_0x1e6e4b)=>_0x1bf1eb(_0x1fa596,_0x1e6e4b,_0x1d91a9);const _0xea3e04=_0x815bf2(0xb8),_0x45e7a3=_0x815bf2(0x337);let _0x1ac398=class extends _0x34be6a[_0x815bf2(0x1ad)]{constructor(_0x5797e2,_0x58f036){var _0x70e962=_0x815bf2;super(),this['_univerInstanceService']=_0x5797e2,this[_0x70e962(0x287)]=_0x58f036,this[_0x70e962(0x27c)]();}[_0x815bf2(0x27c)](){var _0x350919=_0x815bf2;this[_0x350919(0xb0)](this['_univerInstanceService']['focused$']['subscribe'](()=>{var _0x2040ef=_0x350919,_0x55a304;const _0x1a277e=this[_0x2040ef(0x198)][_0x2040ef(0x36b)]();let _0x5f1840=(_0x55a304=this['_configService'][_0x2040ef(0x272)](_0xea3e04))!=null?_0x55a304:_0x45e7a3;_0x1a277e instanceof _0x34be6a[_0x2040ef(0x2c1)]&&(_0x5f1840=_0x1a277e[_0x2040ef(0x219)]),document[_0x2040ef(0xe2)]=_0x5f1840;}));}};_0x1ac398=_0x5e754([_0x14e077(0x0,_0x34be6a[_0x815bf2(0x310)]),_0x14e077(0x1,_0x34be6a['IConfigService'])],_0x1ac398);var _0x40233e=Object[_0x815bf2(0x85)],_0x2de2aa=(_0xeaf79f,_0x3cffbc,_0x19d331,_0x4e1455)=>{var _0x1b2913=_0x815bf2;for(var _0xb22c4b=_0x4e1455>0x1?void 0x0:_0x4e1455?_0x40233e(_0x3cffbc,_0x19d331):_0x3cffbc,_0x39344a=_0xeaf79f[_0x1b2913(0x269)]-0x1,_0x1d1e0e;_0x39344a>=0x0;_0x39344a--)(_0x1d1e0e=_0xeaf79f[_0x39344a])&&(_0xb22c4b=_0x1d1e0e(_0xb22c4b)||_0xb22c4b);return _0xb22c4b;},_0x3e583d=(_0x402f42,_0xd1f3ce)=>(_0x34bee2,_0x138030)=>_0xd1f3ce(_0x34bee2,_0x138030,_0x402f42);let _0xb869a=class{constructor(_0x2984c2,_0x5a9297,_0x4d1a4a){var _0x2431a3=_0x815bf2;this[_0x2431a3(0x287)]=_0x2984c2,this['_httpService']=_0x5a9297,this[_0x2431a3(0x3f2)]=_0x4d1a4a,this[_0x2431a3(0x2e9)]();}[_0x815bf2(0x2e9)](){var _0x37528e=_0x815bf2;this['_httpService'][_0x37528e(0x290)]({'priority':0x1,'interceptor':(_0x153a41,_0x2fa627)=>_0x2fa627(_0x153a41)[_0x37528e(0x108)](_0x325255[_0x37528e(0x3db)](async _0x4df205=>{var _0x45346c=_0x37528e;const _0x4b29cf=_0x4df205;if(_0x4b29cf['status']===0x191){if(typeof window>'u')throw new Error(_0x45346c(0x345));if(window[_0x45346c(0x36d)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x40fe8a=window[_0x45346c(0x9c)](window[_0x45346c(0x1b9)]['href']);window[_0x45346c(0x1b9)][_0x45346c(0x349)]=this[_0x45346c(0x298)]()+_0x45346c(0x225)+_0x40fe8a;}}return _0x4b29cf;}))});}[_0x815bf2(0x298)](){var _0x1240d7=_0x815bf2,_0x36a021,_0x1107c;const _0x3bedf4=this[_0x1240d7(0x287)][_0x1240d7(0x272)](_0x514ba8),_0x42af77=this['_configService'][_0x1240d7(0x272)](_0x27464f);return(_0x1107c=(_0x36a021=_0x42af77==null?void 0x0:_0x42af77[_0x1240d7(0x238)])!=null?_0x36a021:_0x3bedf4)!=null?_0x1107c:_0x2459fd;}};_0xb869a=_0x2de2aa([_0x3e583d(0x0,_0x34be6a[_0x815bf2(0x1e5)]),_0x3e583d(0x1,_0x34be6a['Inject'](_0x44bd51[_0x815bf2(0x2ac)])),_0x3e583d(0x2,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x2c7)]))],_0xb869a);var _0x5beca1=Object[_0x815bf2(0x85)],_0x2dc190=(_0x5614fa,_0x1d41e1,_0x5a505b,_0x3a998a)=>{for(var _0x267826=_0x3a998a>0x1?void 0x0:_0x3a998a?_0x5beca1(_0x1d41e1,_0x5a505b):_0x1d41e1,_0x1e0b78=_0x5614fa['length']-0x1,_0x3a1967;_0x1e0b78>=0x0;_0x1e0b78--)(_0x3a1967=_0x5614fa[_0x1e0b78])&&(_0x267826=_0x3a1967(_0x267826)||_0x267826);return _0x267826;},_0x123e59=(_0x2d4a68,_0x4a7604)=>(_0x483558,_0x5e8eef)=>_0x4a7604(_0x483558,_0x5e8eef,_0x2d4a68);const _0x791a68=_0x815bf2(0x1ba),_0x335392='/universer-api/authz';_0x52c1c0[_0x815bf2(0x3da)]=class extends _0x34be6a[_0x815bf2(0x1ad)]{constructor(_0x3c16a8,_0x1c1e10){var _0x5c7b39=_0x815bf2;super(),this['_HTTPService']=_0x3c16a8,this[_0x5c7b39(0x287)]=_0x1c1e10,this[_0x5c7b39(0x365)]();}['_initMergeInterceptor'](){var _0x40426d=_0x815bf2;const _0x2111e8=this;this[_0x40426d(0xb0)](this[_0x40426d(0x2f4)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x44bd51[_0x40426d(0xfe)]({'isMatch'(_0xafef02){var _0xf2d939=_0x40426d,_0x532c1e;if(_0xafef02[_0xf2d939(0x2e2)]==='POST'&&((_0x532c1e=_0xafef02[_0xf2d939(0x2e0)])!=null&&_0x532c1e[_0xf2d939(0x1c6)])){const {objectID:_0x32c050,objectType:_0x54e2a6}=_0xafef02[_0xf2d939(0x2e0)][_0xf2d939(0x1c6)]||{};if(!_0x32c050||_0x54e2a6===void 0x0)return!0x1;const _0x496a6c=_0x2111e8[_0xf2d939(0x7d)]()+'/'+_0x54e2a6+_0xf2d939(0x1ab)+_0x32c050+_0xf2d939(0x3e0);if(_0xafef02['url']===_0x496a6c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x322e00){var _0x3ed41d=_0x40426d,_0x701e51;return(_0x701e51=_0x322e00[_0x3ed41d(0x2e0)])==null?void 0x0:_0x701e51[_0x3ed41d(0x1c6)];},'mergeParamsToRequest'(_0x54f672,_0x3e7ba1){var _0x6f7899=_0x40426d;const _0x4fa8cc=_0x2111e8['_getAPIPrefixPath']()+_0x6f7899(0x25d),_0x5e61cd=_0x54f672['reduce']((_0x3a9718,_0x6af3ee)=>{var _0x3ce3cc=_0x6f7899;const {unitID:_0x20f442,objectID:_0x54c6e1,objectType:_0xd3882f,actions:_0x1cd19a}=_0x6af3ee;return _0x3a9718[_0x20f442]||(_0x3a9718[_0x20f442]={}),_0x3a9718[_0x20f442][_0x54c6e1]||(_0x3a9718[_0x20f442][_0x54c6e1]={'objectID':_0x54c6e1,'objectType':_0xd3882f,'actions':[]}),_0x3a9718[_0x20f442][_0x54c6e1][_0x3ce3cc(0x37a)]['push'](..._0x1cd19a),_0x3a9718;},{}),_0x21ad22=[];for(const _0x1c1803 in _0x5e61cd)for(const _0x226660 in _0x5e61cd[_0x1c1803]){const {actions:_0x2f1841,objectType:_0x549940}=_0x5e61cd[_0x1c1803][_0x226660],_0x3d1b5a=[...new Set(_0x2f1841)];_0x21ad22['push']({'unitID':_0x1c1803,'objectID':_0x226660,'objectType':_0x549940,'actions':_0x3d1b5a});}return new _0x44bd51['HTTPRequest'](_0x6f7899(0x140),_0x4fa8cc,{'headers':_0x3e7ba1[_0x6f7899(0x2c6)],'withCredentials':_0x3e7ba1[_0x6f7899(0x385)],'responseType':_0x3e7ba1[_0x6f7899(0x21c)],'body':{'requests':_0x21ad22}});}},{'distributeResult'(_0x9b70b1,_0x2dead1){var _0xd7f001=_0x40426d;const {objectActions:_0x1ced81}=_0x9b70b1;return _0x2dead1[_0xd7f001(0x3e8)](_0x1c0014=>{var _0x202708=_0xd7f001;const {unitID:_0x2d84f6,objectID:_0x2d6e97,actions:_0x2b52cf}=_0x1c0014,_0x50fad3=_0x1ced81[_0x202708(0xb4)](_0x2b4d54=>_0x2b4d54['unitID']===_0x2d84f6&&_0x2b4d54[_0x202708(0x1ef)]===_0x2d6e97),_0xc5a901=_0x2b52cf[_0x202708(0x3e8)](_0x116222=>_0x50fad3==null?void 0x0:_0x50fad3[_0x202708(0x37a)][_0x202708(0xb4)](_0x243903=>_0x243903[_0x202708(0x12a)]===_0x116222))[_0x202708(0x3b3)](_0x736e0a=>!!_0x736e0a);return{'config':_0x1c0014,'result':{'actions':_0xc5a901,'error':_0x9b70b1['error']}};});}})}));}[_0x815bf2(0x7d)](){var _0x5eaa6b=_0x815bf2,_0x1cce0a,_0x1bdbbf;const _0x5c80dc=this[_0x5eaa6b(0x287)][_0x5eaa6b(0x272)](_0x791a68),_0x1dd76f=this[_0x5eaa6b(0x287)]['getConfig'](_0x27464f);return(_0x1bdbbf=(_0x1cce0a=_0x1dd76f==null?void 0x0:_0x1dd76f[_0x5eaa6b(0x330)])!=null?_0x1cce0a:_0x5c80dc)!=null?_0x1bdbbf:_0x335392;}async[_0x815bf2(0x2ae)](_0x3f12d5){var _0x251fc5=_0x815bf2;const _0x1b01a4=this['_getAPIPrefixPath']()+'/'+_0x3f12d5['objectType']+_0x251fc5(0x32d);return(await this['_HTTPService'][_0x251fc5(0x211)](_0x1b01a4,{'body':_0x3f12d5}))[_0x251fc5(0x1c6)][_0x251fc5(0x1ef)]||'';}async[_0x815bf2(0x2ef)](_0x348662){var _0x2aa8ab=_0x815bf2;const _0xef10a3=this[_0x2aa8ab(0x7d)]()+_0x2aa8ab(0x9f);return(await this[_0x2aa8ab(0x2f4)][_0x2aa8ab(0x211)](_0xef10a3,{'body':_0x348662}))['body'][_0x2aa8ab(0x261)];}async[_0x815bf2(0x394)](_0x536420){var _0x1bd565=_0x815bf2,_0x54f79a,_0x19d6cd;const _0x102ec1=this[_0x1bd565(0x7d)]()+'/'+_0x536420[_0x1bd565(0x26c)]+'/object/'+_0x536420['objectID'],_0x135875=await this[_0x1bd565(0x2f4)][_0x1bd565(0xab)](_0x102ec1,{'body':_0x536420});if(((_0x19d6cd=(_0x54f79a=_0x135875==null?void 0x0:_0x135875[_0x1bd565(0x1c6)])==null?void 0x0:_0x54f79a['error'])==null?void 0x0:_0x19d6cd[_0x1bd565(0x16e)])!==0x1)throw new Error(_0x1bd565(0x1c9));}async[_0x815bf2(0x328)](_0xc9accd){var _0x5f3141=_0x815bf2;const _0x3b5878=this['_getAPIPrefixPath']()+'/'+_0xc9accd['objectType']+_0x5f3141(0x1ab)+_0xc9accd[_0x5f3141(0x1ef)]+'/allowed';return(await this[_0x5f3141(0x2f4)][_0x5f3141(0x211)](_0x3b5878,{'body':_0xc9accd}))[_0x5f3141(0x1c6)][_0x5f3141(0x37a)];}async[_0x815bf2(0x10b)](_0x5d5a05){var _0x2808b1=_0x815bf2;const _0x3c4fcd=this['_getAPIPrefixPath']()+_0x2808b1(0x25d);return(await this['_HTTPService'][_0x2808b1(0x211)](_0x3c4fcd,{'body':{'requests':_0x5d5a05}}))[_0x2808b1(0x1c6)][_0x2808b1(0x3df)];}async[_0x815bf2(0x1c0)](_0x22a195){var _0x463cf5=_0x815bf2;const _0x233962=this[_0x463cf5(0x7d)]()+'/'+_0x22a195[_0x463cf5(0x26c)]+_0x463cf5(0x7b),_0x469dd2=await this[_0x463cf5(0x2f4)][_0x463cf5(0x211)](_0x233962,{'body':_0x22a195});return{'roles':_0x469dd2['body'][_0x463cf5(0x2b6)],'actions':_0x469dd2[_0x463cf5(0x1c6)][_0x463cf5(0x37a)]};}async['deleteCollaborator'](_0x1d3e87){var _0x3aa4e0=_0x815bf2;const _0x23757c=this[_0x3aa4e0(0x7d)]()+'/collaborator';await this[_0x3aa4e0(0x2f4)][_0x3aa4e0(0x2cb)](_0x23757c,{'params':{'collaboratorID':_0x1d3e87[_0x3aa4e0(0x1fc)],'objectID':_0x1d3e87['objectID'],'unitID':_0x1d3e87['unitID']}});}async[_0x815bf2(0x15d)](_0x170018){var _0x495747=_0x815bf2;const _0x31e5e5=this[_0x495747(0x7d)]()+_0x495747(0x13a);await this[_0x495747(0x2f4)][_0x495747(0x361)](_0x31e5e5,{'body':_0x170018});}async['createCollaborator'](_0x71eaa9){var _0x31eeb2=_0x815bf2;const _0x456178=this[_0x31eeb2(0x7d)]()+'/collaborator';await this[_0x31eeb2(0x2f4)][_0x31eeb2(0x211)](_0x456178,{'body':_0x71eaa9});}async[_0x815bf2(0x277)](_0x52e1cf){var _0x294ac0=_0x815bf2;const _0x2681f4=this[_0x294ac0(0x7d)]()+_0x294ac0(0x13a);return(await this[_0x294ac0(0x2f4)][_0x294ac0(0x33c)](_0x2681f4,{'params':{'objectID':_0x52e1cf['objectID'],'unitID':_0x52e1cf[_0x294ac0(0x309)]}}))[_0x294ac0(0x1c6)]['collaborators'];}async['putCollaborators'](_0x58be5e){var _0x504cf1=_0x815bf2;const _0x2e3fa6=this[_0x504cf1(0x7d)]()+_0x504cf1(0x13a);await this[_0x504cf1(0x2f4)][_0x504cf1(0xab)](_0x2e3fa6,{'body':_0x58be5e});}},_0x52c1c0[_0x815bf2(0x3da)]=_0x2dc190([_0x123e59(0x0,_0x34be6a['Inject'](_0x44bd51[_0x815bf2(0x2ac)])),_0x123e59(0x1,_0x34be6a[_0x815bf2(0x306)](_0x34be6a['IConfigService']))],_0x52c1c0['AuthzIoHttpService']);var _0xe11685=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x4213be(_0x1e35a6){var _0x1958aa=_0x815bf2;return _0x1e35a6&&_0x1e35a6[_0x1958aa(0x176)]&&Object[_0x1958aa(0x3c6)][_0x1958aa(0x2a5)]['call'](_0x1e35a6,_0x1958aa(0x15e))?_0x1e35a6[_0x1958aa(0x15e)]:_0x1e35a6;}var _0x9bded0={'exports':{}};function _0x5a7b38(_0xf93a75){var _0x4dd686=_0x815bf2;throw new Error(_0x4dd686(0x183)+_0xf93a75+_0x4dd686(0x293));}var _0x1b89ea={'exports':{}},_0x5d5f9a=_0x1b89ea['exports'],_0x4ad119;function _0x4f64a8(){var _0x24e641=_0x815bf2;return _0x4ad119||(_0x4ad119=0x1,function(_0x23af1,_0x28bc8f){(function(_0xbd17e8,_0xdd5cc6){var _0x195c96=_0x51d3;_0x23af1[_0x195c96(0x31d)]=_0xdd5cc6();}(_0x5d5f9a,function(){var _0x4c185f=_0x4c185f||function(_0x3081bb,_0x9c3821){var _0x2a2259=_0x51d3,_0x34a86b;if(typeof window<'u'&&window[_0x2a2259(0x264)]&&(_0x34a86b=window['crypto']),typeof self<'u'&&self[_0x2a2259(0x264)]&&(_0x34a86b=self[_0x2a2259(0x264)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x34a86b=globalThis[_0x2a2259(0x264)]),!_0x34a86b&&typeof window<'u'&&window[_0x2a2259(0x215)]&&(_0x34a86b=window['msCrypto']),!_0x34a86b&&typeof _0xe11685<'u'&&_0xe11685[_0x2a2259(0x264)]&&(_0x34a86b=_0xe11685['crypto']),!_0x34a86b&&typeof _0x5a7b38==_0x2a2259(0x1ac))try{_0x34a86b=require('crypto');}catch{}var _0x41fea4=function(){var _0x5169b9=_0x2a2259;if(_0x34a86b){if(typeof _0x34a86b[_0x5169b9(0x319)]==_0x5169b9(0x1ac))try{return _0x34a86b[_0x5169b9(0x319)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x34a86b[_0x5169b9(0xda)]=='function')try{return _0x34a86b[_0x5169b9(0xda)](0x4)[_0x5169b9(0x2a7)]();}catch{}}throw new Error(_0x5169b9(0x39a));},_0x46b388=Object[_0x2a2259(0x2ae)]||(function(){function _0x4b0c37(){}return function(_0x269a21){var _0x135234=_0x51d3,_0x1a1806;return _0x4b0c37[_0x135234(0x3c6)]=_0x269a21,_0x1a1806=new _0x4b0c37(),_0x4b0c37['prototype']=null,_0x1a1806;};}()),_0x4d42df={},_0x1ce5cb=_0x4d42df[_0x2a2259(0x289)]={},_0x246eb7=_0x1ce5cb['Base']=(function(){return{'extend':function(_0xe17837){var _0x15454d=_0x51d3,_0x4c7b6d=_0x46b388(this);return _0xe17837&&_0x4c7b6d[_0x15454d(0x102)](_0xe17837),(!_0x4c7b6d[_0x15454d(0x2a5)](_0x15454d(0x2e9))||this[_0x15454d(0x2e9)]===_0x4c7b6d[_0x15454d(0x2e9)])&&(_0x4c7b6d[_0x15454d(0x2e9)]=function(){var _0x2cfa3b=_0x15454d;_0x4c7b6d[_0x2cfa3b(0xae)][_0x2cfa3b(0x2e9)][_0x2cfa3b(0x99)](this,arguments);}),_0x4c7b6d[_0x15454d(0x2e9)][_0x15454d(0x3c6)]=_0x4c7b6d,_0x4c7b6d[_0x15454d(0xae)]=this,_0x4c7b6d;},'create':function(){var _0x1abb69=_0x51d3,_0x655dee=this[_0x1abb69(0x221)]();return _0x655dee[_0x1abb69(0x2e9)]['apply'](_0x655dee,arguments),_0x655dee;},'init':function(){},'mixIn':function(_0x324e58){var _0x3e75db=_0x51d3;for(var _0x3770eb in _0x324e58)_0x324e58[_0x3e75db(0x2a5)](_0x3770eb)&&(this[_0x3770eb]=_0x324e58[_0x3770eb]);_0x324e58[_0x3e75db(0x2a5)](_0x3e75db(0x301))&&(this[_0x3e75db(0x301)]=_0x324e58[_0x3e75db(0x301)]);},'clone':function(){var _0xc3b4d=_0x51d3;return this[_0xc3b4d(0x2e9)][_0xc3b4d(0x3c6)][_0xc3b4d(0x221)](this);}};}()),_0x60f0=_0x1ce5cb['WordArray']=_0x246eb7[_0x2a2259(0x221)]({'init':function(_0x431045,_0x490588){var _0x24e13e=_0x2a2259;_0x431045=this[_0x24e13e(0x125)]=_0x431045||[],_0x490588!=_0x9c3821?this[_0x24e13e(0xdd)]=_0x490588:this[_0x24e13e(0xdd)]=_0x431045[_0x24e13e(0x269)]*0x4;},'toString':function(_0x515bb3){var _0x2391a8=_0x2a2259;return(_0x515bb3||_0x3362e3)[_0x2391a8(0x182)](this);},'concat':function(_0x302593){var _0x34ed14=_0x2a2259,_0x18ddd4=this[_0x34ed14(0x125)],_0x58544a=_0x302593[_0x34ed14(0x125)],_0x340b0e=this[_0x34ed14(0xdd)],_0x4caecd=_0x302593[_0x34ed14(0xdd)];if(this[_0x34ed14(0x34e)](),_0x340b0e%0x4)for(var _0x5f97d6=0x0;_0x5f97d6<_0x4caecd;_0x5f97d6++){var _0x25ea3e=_0x58544a[_0x5f97d6>>>0x2]>>>0x18-_0x5f97d6%0x4*0x8&0xff;_0x18ddd4[_0x340b0e+_0x5f97d6>>>0x2]|=_0x25ea3e<<0x18-(_0x340b0e+_0x5f97d6)%0x4*0x8;}else{for(var _0x2d1be6=0x0;_0x2d1be6<_0x4caecd;_0x2d1be6+=0x4)_0x18ddd4[_0x340b0e+_0x2d1be6>>>0x2]=_0x58544a[_0x2d1be6>>>0x2];}return this['sigBytes']+=_0x4caecd,this;},'clamp':function(){var _0x17cb0e=_0x2a2259,_0x4236f4=this[_0x17cb0e(0x125)],_0x267d10=this[_0x17cb0e(0xdd)];_0x4236f4[_0x267d10>>>0x2]&=0xffffffff<<0x20-_0x267d10%0x4*0x8,_0x4236f4[_0x17cb0e(0x269)]=_0x3081bb[_0x17cb0e(0x1eb)](_0x267d10/0x4);},'clone':function(){var _0x3e051d=_0x2a2259,_0xe2bc73=_0x246eb7[_0x3e051d(0x1d4)][_0x3e051d(0x405)](this);return _0xe2bc73['words']=this[_0x3e051d(0x125)]['slice'](0x0),_0xe2bc73;},'random':function(_0x49cd3e){var _0x34f66a=_0x2a2259;for(var _0x2b4b5b=[],_0x516629=0x0;_0x516629<_0x49cd3e;_0x516629+=0x4)_0x2b4b5b[_0x34f66a(0x26b)](_0x41fea4());return new _0x60f0[(_0x34f66a(0x2e9))](_0x2b4b5b,_0x49cd3e);}}),_0x27a3b5=_0x4d42df['enc']={},_0x3362e3=_0x27a3b5[_0x2a2259(0xba)]={'stringify':function(_0x2b789c){var _0x29dc58=_0x2a2259;for(var _0x3a8693=_0x2b789c[_0x29dc58(0x125)],_0x68f806=_0x2b789c[_0x29dc58(0xdd)],_0x32c555=[],_0x5b1cfc=0x0;_0x5b1cfc<_0x68f806;_0x5b1cfc++){var _0x367c31=_0x3a8693[_0x5b1cfc>>>0x2]>>>0x18-_0x5b1cfc%0x4*0x8&0xff;_0x32c555[_0x29dc58(0x26b)]((_0x367c31>>>0x4)[_0x29dc58(0x301)](0x10)),_0x32c555[_0x29dc58(0x26b)]((_0x367c31&0xf)[_0x29dc58(0x301)](0x10));}return _0x32c555[_0x29dc58(0x72)]('');},'parse':function(_0x520297){var _0x4e0129=_0x2a2259;for(var _0x1a1eac=_0x520297[_0x4e0129(0x269)],_0x4c04f6=[],_0x57d9e1=0x0;_0x57d9e1<_0x1a1eac;_0x57d9e1+=0x2)_0x4c04f6[_0x57d9e1>>>0x3]|=parseInt(_0x520297['substr'](_0x57d9e1,0x2),0x10)<<0x18-_0x57d9e1%0x8*0x4;return new _0x60f0[(_0x4e0129(0x2e9))](_0x4c04f6,_0x1a1eac/0x2);}},_0x159703=_0x27a3b5['Latin1']={'stringify':function(_0x53f6eb){var _0x16c6d4=_0x2a2259;for(var _0x34765f=_0x53f6eb[_0x16c6d4(0x125)],_0x521bfa=_0x53f6eb[_0x16c6d4(0xdd)],_0xb437aa=[],_0x302c4c=0x0;_0x302c4c<_0x521bfa;_0x302c4c++){var _0x3cdccd=_0x34765f[_0x302c4c>>>0x2]>>>0x18-_0x302c4c%0x4*0x8&0xff;_0xb437aa[_0x16c6d4(0x26b)](String['fromCharCode'](_0x3cdccd));}return _0xb437aa[_0x16c6d4(0x72)]('');},'parse':function(_0x1365ec){var _0x4e6377=_0x2a2259;for(var _0x331120=_0x1365ec['length'],_0x9b556d=[],_0x4dcdd5=0x0;_0x4dcdd5<_0x331120;_0x4dcdd5++)_0x9b556d[_0x4dcdd5>>>0x2]|=(_0x1365ec[_0x4e6377(0x115)](_0x4dcdd5)&0xff)<<0x18-_0x4dcdd5%0x4*0x8;return new _0x60f0[(_0x4e6377(0x2e9))](_0x9b556d,_0x331120);}},_0x36031b=_0x27a3b5[_0x2a2259(0x234)]={'stringify':function(_0x141ada){var _0xd9aedc=_0x2a2259;try{return decodeURIComponent(escape(_0x159703['stringify'](_0x141ada)));}catch{throw new Error(_0xd9aedc(0x195));}},'parse':function(_0x4e1432){var _0x4233cb=_0x2a2259;return _0x159703[_0x4233cb(0x1f7)](unescape(encodeURIComponent(_0x4e1432)));}},_0x1da2ec=_0x1ce5cb[_0x2a2259(0x162)]=_0x246eb7[_0x2a2259(0x221)]({'reset':function(){var _0x36ddfc=_0x2a2259;this[_0x36ddfc(0x29d)]=new _0x60f0[(_0x36ddfc(0x2e9))](),this[_0x36ddfc(0xd1)]=0x0;},'_append':function(_0x18a19c){var _0x54d92c=_0x2a2259;typeof _0x18a19c=='string'&&(_0x18a19c=_0x36031b[_0x54d92c(0x1f7)](_0x18a19c)),this[_0x54d92c(0x29d)][_0x54d92c(0x34c)](_0x18a19c),this[_0x54d92c(0xd1)]+=_0x18a19c[_0x54d92c(0xdd)];},'_process':function(_0x42f91a){var _0x154250=_0x2a2259,_0x61e08d,_0x3656cb=this[_0x154250(0x29d)],_0x46d386=_0x3656cb[_0x154250(0x125)],_0x3978fe=_0x3656cb['sigBytes'],_0x1eec97=this['blockSize'],_0x23ef2f=_0x1eec97*0x4,_0x35b5cc=_0x3978fe/_0x23ef2f;_0x42f91a?_0x35b5cc=_0x3081bb['ceil'](_0x35b5cc):_0x35b5cc=_0x3081bb['max']((_0x35b5cc|0x0)-this[_0x154250(0x233)],0x0);var _0x5af528=_0x35b5cc*_0x1eec97,_0x46742a=_0x3081bb[_0x154250(0x212)](_0x5af528*0x4,_0x3978fe);if(_0x5af528){for(var _0x574373=0x0;_0x574373<_0x5af528;_0x574373+=_0x1eec97)this['_doProcessBlock'](_0x46d386,_0x574373);_0x61e08d=_0x46d386['splice'](0x0,_0x5af528),_0x3656cb['sigBytes']-=_0x46742a;}return new _0x60f0[(_0x154250(0x2e9))](_0x61e08d,_0x46742a);},'clone':function(){var _0x3f1b29=_0x2a2259,_0xe8a317=_0x246eb7[_0x3f1b29(0x1d4)][_0x3f1b29(0x405)](this);return _0xe8a317[_0x3f1b29(0x29d)]=this[_0x3f1b29(0x29d)][_0x3f1b29(0x1d4)](),_0xe8a317;},'_minBufferSize':0x0});_0x1ce5cb['Hasher']=_0x1da2ec[_0x2a2259(0x221)]({'cfg':_0x246eb7[_0x2a2259(0x221)](),'init':function(_0x130015){var _0x418da0=_0x2a2259;this[_0x418da0(0x167)]=this[_0x418da0(0x167)][_0x418da0(0x221)](_0x130015),this[_0x418da0(0x373)]();},'reset':function(){var _0x170a47=_0x2a2259;_0x1da2ec[_0x170a47(0x373)][_0x170a47(0x405)](this),this['_doReset']();},'update':function(_0x2fe9c5){var _0x202c51=_0x2a2259;return this['_append'](_0x2fe9c5),this[_0x202c51(0x13e)](),this;},'finalize':function(_0xebf8ba){var _0x3f89e1=_0x2a2259;_0xebf8ba&&this[_0x3f89e1(0x1c4)](_0xebf8ba);var _0x50bf97=this['_doFinalize']();return _0x50bf97;},'blockSize':0x10,'_createHelper':function(_0x5cf4f7){return function(_0x5f4ba6,_0x23179c){var _0x29fe47=_0x51d3;return new _0x5cf4f7[(_0x29fe47(0x2e9))](_0x23179c)['finalize'](_0x5f4ba6);};},'_createHmacHelper':function(_0x333df7){return function(_0x248ecb,_0x403d44){var _0x1ecd09=_0x51d3;return new _0x3d29f0[(_0x1ecd09(0x2c9))][(_0x1ecd09(0x2e9))](_0x333df7,_0x403d44)[_0x1ecd09(0x1ca)](_0x248ecb);};}});var _0x3d29f0=_0x4d42df['algo']={};return _0x4d42df;}(Math);return _0x4c185f;}));}(_0x1b89ea)),_0x1b89ea[_0x24e641(0x31d)];}var _0x29b549={'exports':{}},_0x543b7a=_0x29b549['exports'],_0x15ea0f;function _0x158350(){return _0x15ea0f||(_0x15ea0f=0x1,function(_0x4e950f,_0x5020ae){(function(_0xf89823,_0x43739c){var _0x1f16c1=_0x51d3;_0x4e950f[_0x1f16c1(0x31d)]=_0x43739c(_0x4f64a8());}(_0x543b7a,function(_0x36db15){var _0x4545e0=_0x51d3;return(function(){var _0x4eda89=_0x51d3,_0x581ccc=_0x36db15,_0x364a94=_0x581ccc[_0x4eda89(0x289)],_0x9e4c97=_0x364a94[_0x4eda89(0x173)],_0x157e39=_0x581ccc[_0x4eda89(0x1f1)];_0x157e39[_0x4eda89(0x336)]={'stringify':function(_0x38e29d){var _0x436f47=_0x4eda89,_0x3cbf4f=_0x38e29d[_0x436f47(0x125)],_0x2164b3=_0x38e29d[_0x436f47(0xdd)],_0x1ec415=this[_0x436f47(0x30b)];_0x38e29d['clamp']();for(var _0xa463a4=[],_0x354e85=0x0;_0x354e85<_0x2164b3;_0x354e85+=0x3)for(var _0x2f1c43=_0x3cbf4f[_0x354e85>>>0x2]>>>0x18-_0x354e85%0x4*0x8&0xff,_0x5e9d8b=_0x3cbf4f[_0x354e85+0x1>>>0x2]>>>0x18-(_0x354e85+0x1)%0x4*0x8&0xff,_0x334af6=_0x3cbf4f[_0x354e85+0x2>>>0x2]>>>0x18-(_0x354e85+0x2)%0x4*0x8&0xff,_0x983c11=_0x2f1c43<<0x10|_0x5e9d8b<<0x8|_0x334af6,_0x103142=0x0;_0x103142<0x4&&_0x354e85+_0x103142*0.75<_0x2164b3;_0x103142++)_0xa463a4['push'](_0x1ec415['charAt'](_0x983c11>>>0x6*(0x3-_0x103142)&0x3f));var _0x4ad82e=_0x1ec415[_0x436f47(0xbf)](0x40);if(_0x4ad82e){for(;_0xa463a4['length']%0x4;)_0xa463a4['push'](_0x4ad82e);}return _0xa463a4[_0x436f47(0x72)]('');},'parse':function(_0x59bdf0){var _0x82f31d=_0x4eda89,_0x408e23=_0x59bdf0[_0x82f31d(0x269)],_0x382a24=this[_0x82f31d(0x30b)],_0x39c618=this['_reverseMap'];if(!_0x39c618){_0x39c618=this['_reverseMap']=[];for(var _0x210ee3=0x0;_0x210ee3<_0x382a24[_0x82f31d(0x269)];_0x210ee3++)_0x39c618[_0x382a24['charCodeAt'](_0x210ee3)]=_0x210ee3;}var _0x3f2363=_0x382a24[_0x82f31d(0xbf)](0x40);if(_0x3f2363){var _0x1a705a=_0x59bdf0[_0x82f31d(0x24c)](_0x3f2363);_0x1a705a!==-0x1&&(_0x408e23=_0x1a705a);}return _0x542c69(_0x59bdf0,_0x408e23,_0x39c618);},'_map':_0x4eda89(0x375)};function _0x542c69(_0x4150ca,_0x2f3e64,_0x270a9e){var _0xe8f95c=_0x4eda89;for(var _0x553b2f=[],_0x3cb62d=0x0,_0x1bbdaf=0x0;_0x1bbdaf<_0x2f3e64;_0x1bbdaf++)if(_0x1bbdaf%0x4){var _0xf2a187=_0x270a9e[_0x4150ca[_0xe8f95c(0x115)](_0x1bbdaf-0x1)]<<_0x1bbdaf%0x4*0x2,_0x42e82e=_0x270a9e[_0x4150ca[_0xe8f95c(0x115)](_0x1bbdaf)]>>>0x6-_0x1bbdaf%0x4*0x2,_0x422e15=_0xf2a187|_0x42e82e;_0x553b2f[_0x3cb62d>>>0x2]|=_0x422e15<<0x18-_0x3cb62d%0x4*0x8,_0x3cb62d++;}return _0x9e4c97[_0xe8f95c(0x2ae)](_0x553b2f,_0x3cb62d);}}()),_0x36db15[_0x4545e0(0x1f1)][_0x4545e0(0x336)];}));}(_0x29b549)),_0x29b549['exports'];}var _0x354de2={'exports':{}},_0x1a8eea=_0x354de2[_0x815bf2(0x31d)],_0x1c48f1;function _0x55631e(){var _0x374645=_0x815bf2;return _0x1c48f1||(_0x1c48f1=0x1,function(_0x5a1c12,_0x40653b){(function(_0x36c3e6,_0x322e50){var _0x41dd53=_0x51d3;_0x5a1c12[_0x41dd53(0x31d)]=_0x322e50(_0x4f64a8());}(_0x1a8eea,function(_0x834c96){return function(_0x75cb06){var _0x456d5d=_0x51d3,_0x1e9b5f=_0x834c96,_0xf2652a=_0x1e9b5f[_0x456d5d(0x289)],_0x62e411=_0xf2652a['WordArray'],_0x3e22b5=_0xf2652a[_0x456d5d(0x154)],_0x201be3=_0x1e9b5f[_0x456d5d(0x22f)],_0x2a789f=[];(function(){var _0x2d1ff2=_0x456d5d;for(var _0xa75bef=0x0;_0xa75bef<0x40;_0xa75bef++)_0x2a789f[_0xa75bef]=_0x75cb06[_0x2d1ff2(0x3ef)](_0x75cb06[_0x2d1ff2(0x1c1)](_0xa75bef+0x1))*0x100000000|0x0;}());var _0x3183e1=_0x201be3[_0x456d5d(0x1bf)]=_0x3e22b5[_0x456d5d(0x221)]({'_doReset':function(){var _0x37dd57=_0x456d5d;this[_0x37dd57(0x3bd)]=new _0x62e411[(_0x37dd57(0x2e9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x297e71,_0x5d312a){var _0x342d45=_0x456d5d;for(var _0x370a22=0x0;_0x370a22<0x10;_0x370a22++){var _0x594271=_0x5d312a+_0x370a22,_0xde9756=_0x297e71[_0x594271];_0x297e71[_0x594271]=(_0xde9756<<0x8|_0xde9756>>>0x18)&0xff00ff|(_0xde9756<<0x18|_0xde9756>>>0x8)&0xff00ff00;}var _0x4ed8b7=this[_0x342d45(0x3bd)]['words'],_0x1b8869=_0x297e71[_0x5d312a+0x0],_0x5c5e60=_0x297e71[_0x5d312a+0x1],_0x1fa27c=_0x297e71[_0x5d312a+0x2],_0x25a282=_0x297e71[_0x5d312a+0x3],_0x57453e=_0x297e71[_0x5d312a+0x4],_0x345778=_0x297e71[_0x5d312a+0x5],_0x324889=_0x297e71[_0x5d312a+0x6],_0xd7fa92=_0x297e71[_0x5d312a+0x7],_0x17563a=_0x297e71[_0x5d312a+0x8],_0x36762b=_0x297e71[_0x5d312a+0x9],_0x5e9e7f=_0x297e71[_0x5d312a+0xa],_0x53af63=_0x297e71[_0x5d312a+0xb],_0x325df5=_0x297e71[_0x5d312a+0xc],_0x21466e=_0x297e71[_0x5d312a+0xd],_0x1ca6f3=_0x297e71[_0x5d312a+0xe],_0x212000=_0x297e71[_0x5d312a+0xf],_0x2962f7=_0x4ed8b7[0x0],_0x3a58c6=_0x4ed8b7[0x1],_0x32e67b=_0x4ed8b7[0x2],_0x5c510d=_0x4ed8b7[0x3];_0x2962f7=_0x571b9d(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x1b8869,0x7,_0x2a789f[0x0]),_0x5c510d=_0x571b9d(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c5e60,0xc,_0x2a789f[0x1]),_0x32e67b=_0x571b9d(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x1fa27c,0x11,_0x2a789f[0x2]),_0x3a58c6=_0x571b9d(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x25a282,0x16,_0x2a789f[0x3]),_0x2962f7=_0x571b9d(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x57453e,0x7,_0x2a789f[0x4]),_0x5c510d=_0x571b9d(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x345778,0xc,_0x2a789f[0x5]),_0x32e67b=_0x571b9d(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x324889,0x11,_0x2a789f[0x6]),_0x3a58c6=_0x571b9d(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0xd7fa92,0x16,_0x2a789f[0x7]),_0x2962f7=_0x571b9d(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x17563a,0x7,_0x2a789f[0x8]),_0x5c510d=_0x571b9d(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x36762b,0xc,_0x2a789f[0x9]),_0x32e67b=_0x571b9d(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x5e9e7f,0x11,_0x2a789f[0xa]),_0x3a58c6=_0x571b9d(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x53af63,0x16,_0x2a789f[0xb]),_0x2962f7=_0x571b9d(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x325df5,0x7,_0x2a789f[0xc]),_0x5c510d=_0x571b9d(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x21466e,0xc,_0x2a789f[0xd]),_0x32e67b=_0x571b9d(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x1ca6f3,0x11,_0x2a789f[0xe]),_0x3a58c6=_0x571b9d(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x212000,0x16,_0x2a789f[0xf]),_0x2962f7=_0x57db88(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x5c5e60,0x5,_0x2a789f[0x10]),_0x5c510d=_0x57db88(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x324889,0x9,_0x2a789f[0x11]),_0x32e67b=_0x57db88(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x53af63,0xe,_0x2a789f[0x12]),_0x3a58c6=_0x57db88(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x1b8869,0x14,_0x2a789f[0x13]),_0x2962f7=_0x57db88(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x345778,0x5,_0x2a789f[0x14]),_0x5c510d=_0x57db88(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x5e9e7f,0x9,_0x2a789f[0x15]),_0x32e67b=_0x57db88(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x212000,0xe,_0x2a789f[0x16]),_0x3a58c6=_0x57db88(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x57453e,0x14,_0x2a789f[0x17]),_0x2962f7=_0x57db88(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x36762b,0x5,_0x2a789f[0x18]),_0x5c510d=_0x57db88(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x1ca6f3,0x9,_0x2a789f[0x19]),_0x32e67b=_0x57db88(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x25a282,0xe,_0x2a789f[0x1a]),_0x3a58c6=_0x57db88(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x17563a,0x14,_0x2a789f[0x1b]),_0x2962f7=_0x57db88(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x21466e,0x5,_0x2a789f[0x1c]),_0x5c510d=_0x57db88(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x1fa27c,0x9,_0x2a789f[0x1d]),_0x32e67b=_0x57db88(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0xd7fa92,0xe,_0x2a789f[0x1e]),_0x3a58c6=_0x57db88(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x325df5,0x14,_0x2a789f[0x1f]),_0x2962f7=_0x3a030f(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x345778,0x4,_0x2a789f[0x20]),_0x5c510d=_0x3a030f(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x17563a,0xb,_0x2a789f[0x21]),_0x32e67b=_0x3a030f(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x53af63,0x10,_0x2a789f[0x22]),_0x3a58c6=_0x3a030f(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x1ca6f3,0x17,_0x2a789f[0x23]),_0x2962f7=_0x3a030f(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x5c5e60,0x4,_0x2a789f[0x24]),_0x5c510d=_0x3a030f(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x57453e,0xb,_0x2a789f[0x25]),_0x32e67b=_0x3a030f(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0xd7fa92,0x10,_0x2a789f[0x26]),_0x3a58c6=_0x3a030f(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x5e9e7f,0x17,_0x2a789f[0x27]),_0x2962f7=_0x3a030f(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x21466e,0x4,_0x2a789f[0x28]),_0x5c510d=_0x3a030f(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x1b8869,0xb,_0x2a789f[0x29]),_0x32e67b=_0x3a030f(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x25a282,0x10,_0x2a789f[0x2a]),_0x3a58c6=_0x3a030f(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x324889,0x17,_0x2a789f[0x2b]),_0x2962f7=_0x3a030f(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x36762b,0x4,_0x2a789f[0x2c]),_0x5c510d=_0x3a030f(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x325df5,0xb,_0x2a789f[0x2d]),_0x32e67b=_0x3a030f(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x212000,0x10,_0x2a789f[0x2e]),_0x3a58c6=_0x3a030f(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x1fa27c,0x17,_0x2a789f[0x2f]),_0x2962f7=_0x28ade7(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x1b8869,0x6,_0x2a789f[0x30]),_0x5c510d=_0x28ade7(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0xd7fa92,0xa,_0x2a789f[0x31]),_0x32e67b=_0x28ade7(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x1ca6f3,0xf,_0x2a789f[0x32]),_0x3a58c6=_0x28ade7(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x345778,0x15,_0x2a789f[0x33]),_0x2962f7=_0x28ade7(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x325df5,0x6,_0x2a789f[0x34]),_0x5c510d=_0x28ade7(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x25a282,0xa,_0x2a789f[0x35]),_0x32e67b=_0x28ade7(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x5e9e7f,0xf,_0x2a789f[0x36]),_0x3a58c6=_0x28ade7(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x5c5e60,0x15,_0x2a789f[0x37]),_0x2962f7=_0x28ade7(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x17563a,0x6,_0x2a789f[0x38]),_0x5c510d=_0x28ade7(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x212000,0xa,_0x2a789f[0x39]),_0x32e67b=_0x28ade7(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x324889,0xf,_0x2a789f[0x3a]),_0x3a58c6=_0x28ade7(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x21466e,0x15,_0x2a789f[0x3b]),_0x2962f7=_0x28ade7(_0x2962f7,_0x3a58c6,_0x32e67b,_0x5c510d,_0x57453e,0x6,_0x2a789f[0x3c]),_0x5c510d=_0x28ade7(_0x5c510d,_0x2962f7,_0x3a58c6,_0x32e67b,_0x53af63,0xa,_0x2a789f[0x3d]),_0x32e67b=_0x28ade7(_0x32e67b,_0x5c510d,_0x2962f7,_0x3a58c6,_0x1fa27c,0xf,_0x2a789f[0x3e]),_0x3a58c6=_0x28ade7(_0x3a58c6,_0x32e67b,_0x5c510d,_0x2962f7,_0x36762b,0x15,_0x2a789f[0x3f]),_0x4ed8b7[0x0]=_0x4ed8b7[0x0]+_0x2962f7|0x0,_0x4ed8b7[0x1]=_0x4ed8b7[0x1]+_0x3a58c6|0x0,_0x4ed8b7[0x2]=_0x4ed8b7[0x2]+_0x32e67b|0x0,_0x4ed8b7[0x3]=_0x4ed8b7[0x3]+_0x5c510d|0x0;},'_doFinalize':function(){var _0x22ec51=_0x456d5d,_0x2ae2d7=this['_data'],_0x57a650=_0x2ae2d7[_0x22ec51(0x125)],_0x159870=this['_nDataBytes']*0x8,_0x1dbdb2=_0x2ae2d7[_0x22ec51(0xdd)]*0x8;_0x57a650[_0x1dbdb2>>>0x5]|=0x80<<0x18-_0x1dbdb2%0x20;var _0x4e5d57=_0x75cb06['floor'](_0x159870/0x100000000),_0x5cde5c=_0x159870;_0x57a650[(_0x1dbdb2+0x40>>>0x9<<0x4)+0xf]=(_0x4e5d57<<0x8|_0x4e5d57>>>0x18)&0xff00ff|(_0x4e5d57<<0x18|_0x4e5d57>>>0x8)&0xff00ff00,_0x57a650[(_0x1dbdb2+0x40>>>0x9<<0x4)+0xe]=(_0x5cde5c<<0x8|_0x5cde5c>>>0x18)&0xff00ff|(_0x5cde5c<<0x18|_0x5cde5c>>>0x8)&0xff00ff00,_0x2ae2d7[_0x22ec51(0xdd)]=(_0x57a650['length']+0x1)*0x4,this['_process']();for(var _0x300f6a=this[_0x22ec51(0x3bd)],_0x226f5f=_0x300f6a['words'],_0x427864=0x0;_0x427864<0x4;_0x427864++){var _0x36e20e=_0x226f5f[_0x427864];_0x226f5f[_0x427864]=(_0x36e20e<<0x8|_0x36e20e>>>0x18)&0xff00ff|(_0x36e20e<<0x18|_0x36e20e>>>0x8)&0xff00ff00;}return _0x300f6a;},'clone':function(){var _0x3d35a0=_0x456d5d,_0x2bcb97=_0x3e22b5[_0x3d35a0(0x1d4)][_0x3d35a0(0x405)](this);return _0x2bcb97[_0x3d35a0(0x3bd)]=this[_0x3d35a0(0x3bd)][_0x3d35a0(0x1d4)](),_0x2bcb97;}});function _0x571b9d(_0x5a4d7f,_0xc0bb8c,_0x4d5ace,_0x3f8c4c,_0x4c145c,_0x2ef3b9,_0x1f513a){var _0x4eadaf=_0x5a4d7f+(_0xc0bb8c&_0x4d5ace|~_0xc0bb8c&_0x3f8c4c)+_0x4c145c+_0x1f513a;return(_0x4eadaf<<_0x2ef3b9|_0x4eadaf>>>0x20-_0x2ef3b9)+_0xc0bb8c;}function _0x57db88(_0x26dca8,_0x2bc8c3,_0x2b9b07,_0x2c9f67,_0x273381,_0x1768b3,_0x4db561){var _0x380652=_0x26dca8+(_0x2bc8c3&_0x2c9f67|_0x2b9b07&~_0x2c9f67)+_0x273381+_0x4db561;return(_0x380652<<_0x1768b3|_0x380652>>>0x20-_0x1768b3)+_0x2bc8c3;}function _0x3a030f(_0x5c92e7,_0x47766e,_0xf745bf,_0x1a5f3a,_0x941f46,_0x909155,_0x27ae93){var _0x109221=_0x5c92e7+(_0x47766e^_0xf745bf^_0x1a5f3a)+_0x941f46+_0x27ae93;return(_0x109221<<_0x909155|_0x109221>>>0x20-_0x909155)+_0x47766e;}function _0x28ade7(_0x2dcee3,_0x2ab886,_0x4617c1,_0x5dfe53,_0x35a9a7,_0x491284,_0xe64d98){var _0x41344b=_0x2dcee3+(_0x4617c1^(_0x2ab886|~_0x5dfe53))+_0x35a9a7+_0xe64d98;return(_0x41344b<<_0x491284|_0x41344b>>>0x20-_0x491284)+_0x2ab886;}_0x1e9b5f[_0x456d5d(0x1bf)]=_0x3e22b5[_0x456d5d(0x3f4)](_0x3183e1),_0x1e9b5f[_0x456d5d(0xed)]=_0x3e22b5['_createHmacHelper'](_0x3183e1);}(Math),_0x834c96['MD5'];}));}(_0x354de2)),_0x354de2[_0x374645(0x31d)];}var _0x3540d6={'exports':{}},_0xabfd7b={'exports':{}},_0x2a1906=_0xabfd7b[_0x815bf2(0x31d)],_0x3850cf;function _0xd9a837(){var _0x407b57=_0x815bf2;return _0x3850cf||(_0x3850cf=0x1,function(_0x7c8f50,_0x1d99fb){(function(_0x5d7150,_0x1ea396){var _0x5290a2=_0x51d3;_0x7c8f50[_0x5290a2(0x31d)]=_0x1ea396(_0x4f64a8());}(_0x2a1906,function(_0x49475b){var _0x2debcd=_0x51d3;return(function(){var _0x519972=_0x51d3,_0x372ae3=_0x49475b,_0x5b83f0=_0x372ae3[_0x519972(0x289)],_0xa5a29=_0x5b83f0[_0x519972(0x173)],_0x370d1b=_0x5b83f0[_0x519972(0x154)],_0x3a66ef=_0x372ae3[_0x519972(0x22f)],_0x1017c8=[],_0x1d89f6=_0x3a66ef['SHA1']=_0x370d1b['extend']({'_doReset':function(){var _0x17cf1a=_0x519972;this[_0x17cf1a(0x3bd)]=new _0xa5a29[(_0x17cf1a(0x2e9))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x19d864,_0x16b891){var _0x1c6d3e=_0x519972;for(var _0x3ba77e=this[_0x1c6d3e(0x3bd)][_0x1c6d3e(0x125)],_0x4f9492=_0x3ba77e[0x0],_0x21cb84=_0x3ba77e[0x1],_0x35489d=_0x3ba77e[0x2],_0x425cae=_0x3ba77e[0x3],_0x3439d5=_0x3ba77e[0x4],_0x2d1efc=0x0;_0x2d1efc<0x50;_0x2d1efc++){if(_0x2d1efc<0x10)_0x1017c8[_0x2d1efc]=_0x19d864[_0x16b891+_0x2d1efc]|0x0;else{var _0x19b351=_0x1017c8[_0x2d1efc-0x3]^_0x1017c8[_0x2d1efc-0x8]^_0x1017c8[_0x2d1efc-0xe]^_0x1017c8[_0x2d1efc-0x10];_0x1017c8[_0x2d1efc]=_0x19b351<<0x1|_0x19b351>>>0x1f;}var _0x5b6f75=(_0x4f9492<<0x5|_0x4f9492>>>0x1b)+_0x3439d5+_0x1017c8[_0x2d1efc];_0x2d1efc<0x14?_0x5b6f75+=(_0x21cb84&_0x35489d|~_0x21cb84&_0x425cae)+0x5a827999:_0x2d1efc<0x28?_0x5b6f75+=(_0x21cb84^_0x35489d^_0x425cae)+0x6ed9eba1:_0x2d1efc<0x3c?_0x5b6f75+=(_0x21cb84&_0x35489d|_0x21cb84&_0x425cae|_0x35489d&_0x425cae)-0x70e44324:_0x5b6f75+=(_0x21cb84^_0x35489d^_0x425cae)-0x359d3e2a,_0x3439d5=_0x425cae,_0x425cae=_0x35489d,_0x35489d=_0x21cb84<<0x1e|_0x21cb84>>>0x2,_0x21cb84=_0x4f9492,_0x4f9492=_0x5b6f75;}_0x3ba77e[0x0]=_0x3ba77e[0x0]+_0x4f9492|0x0,_0x3ba77e[0x1]=_0x3ba77e[0x1]+_0x21cb84|0x0,_0x3ba77e[0x2]=_0x3ba77e[0x2]+_0x35489d|0x0,_0x3ba77e[0x3]=_0x3ba77e[0x3]+_0x425cae|0x0,_0x3ba77e[0x4]=_0x3ba77e[0x4]+_0x3439d5|0x0;},'_doFinalize':function(){var _0x193016=_0x519972,_0xedd0e=this['_data'],_0x3ddefb=_0xedd0e[_0x193016(0x125)],_0x47c6b9=this[_0x193016(0xd1)]*0x8,_0x211fb0=_0xedd0e[_0x193016(0xdd)]*0x8;return _0x3ddefb[_0x211fb0>>>0x5]|=0x80<<0x18-_0x211fb0%0x20,_0x3ddefb[(_0x211fb0+0x40>>>0x9<<0x4)+0xe]=Math[_0x193016(0x10f)](_0x47c6b9/0x100000000),_0x3ddefb[(_0x211fb0+0x40>>>0x9<<0x4)+0xf]=_0x47c6b9,_0xedd0e[_0x193016(0xdd)]=_0x3ddefb[_0x193016(0x269)]*0x4,this[_0x193016(0x13e)](),this['_hash'];},'clone':function(){var _0x206fbc=_0x519972,_0xbe6b3d=_0x370d1b['clone']['call'](this);return _0xbe6b3d[_0x206fbc(0x3bd)]=this[_0x206fbc(0x3bd)][_0x206fbc(0x1d4)](),_0xbe6b3d;}});_0x372ae3[_0x519972(0xe6)]=_0x370d1b[_0x519972(0x3f4)](_0x1d89f6),_0x372ae3['HmacSHA1']=_0x370d1b[_0x519972(0x35c)](_0x1d89f6);}()),_0x49475b[_0x2debcd(0xe6)];}));}(_0xabfd7b)),_0xabfd7b[_0x407b57(0x31d)];}var _0x5b242b={'exports':{}},_0x2a892e=_0x5b242b[_0x815bf2(0x31d)],_0x967c2d;function _0xf170f6(){var _0x530f11=_0x815bf2;return _0x967c2d||(_0x967c2d=0x1,function(_0x24278b,_0x16c960){(function(_0x381d28,_0x31c1df){_0x24278b['exports']=_0x31c1df(_0x4f64a8());}(_0x2a892e,function(_0x10901b){(function(){var _0x2ecbe1=_0x51d3,_0x255b18=_0x10901b,_0x1ad3ea=_0x255b18[_0x2ecbe1(0x289)],_0x5e3e31=_0x1ad3ea[_0x2ecbe1(0xc9)],_0xa801da=_0x255b18[_0x2ecbe1(0x1f1)],_0x4679f5=_0xa801da[_0x2ecbe1(0x234)],_0x48d3f2=_0x255b18[_0x2ecbe1(0x22f)];_0x48d3f2['HMAC']=_0x5e3e31[_0x2ecbe1(0x221)]({'init':function(_0x270a1a,_0x4cdd9a){var _0x4e7359=_0x2ecbe1;_0x270a1a=this[_0x4e7359(0x3c1)]=new _0x270a1a[(_0x4e7359(0x2e9))](),typeof _0x4cdd9a==_0x4e7359(0x209)&&(_0x4cdd9a=_0x4679f5[_0x4e7359(0x1f7)](_0x4cdd9a));var _0x1c3f7b=_0x270a1a[_0x4e7359(0x31b)],_0x5e5f83=_0x1c3f7b*0x4;_0x4cdd9a[_0x4e7359(0xdd)]>_0x5e5f83&&(_0x4cdd9a=_0x270a1a[_0x4e7359(0x1ca)](_0x4cdd9a)),_0x4cdd9a[_0x4e7359(0x34e)]();for(var _0x2fc46c=this[_0x4e7359(0x338)]=_0x4cdd9a[_0x4e7359(0x1d4)](),_0x36a59e=this['_iKey']=_0x4cdd9a[_0x4e7359(0x1d4)](),_0x254db9=_0x2fc46c['words'],_0x28e888=_0x36a59e[_0x4e7359(0x125)],_0x398efd=0x0;_0x398efd<_0x1c3f7b;_0x398efd++)_0x254db9[_0x398efd]^=0x5c5c5c5c,_0x28e888[_0x398efd]^=0x36363636;_0x2fc46c['sigBytes']=_0x36a59e[_0x4e7359(0xdd)]=_0x5e5f83,this['reset']();},'reset':function(){var _0x52a51f=_0x2ecbe1,_0x34b15a=this[_0x52a51f(0x3c1)];_0x34b15a[_0x52a51f(0x373)](),_0x34b15a[_0x52a51f(0x394)](this['_iKey']);},'update':function(_0x189613){var _0x56df50=_0x2ecbe1;return this[_0x56df50(0x3c1)][_0x56df50(0x394)](_0x189613),this;},'finalize':function(_0x659153){var _0x17c823=_0x2ecbe1,_0x17a308=this[_0x17c823(0x3c1)],_0x16fba7=_0x17a308[_0x17c823(0x1ca)](_0x659153);_0x17a308[_0x17c823(0x373)]();var _0x272ed0=_0x17a308[_0x17c823(0x1ca)](this['_oKey'][_0x17c823(0x1d4)]()[_0x17c823(0x34c)](_0x16fba7));return _0x272ed0;}});}());}));}(_0x5b242b)),_0x5b242b[_0x530f11(0x31d)];}var _0x20ecbd=_0x3540d6[_0x815bf2(0x31d)],_0x5de931;function _0x45f060(){var _0x3eb0ac=_0x815bf2;return _0x5de931||(_0x5de931=0x1,function(_0x222372,_0x1f66a6){(function(_0x5c3022,_0x2ca60b,_0x57ecd4){var _0x3ad6c3=_0x51d3;_0x222372[_0x3ad6c3(0x31d)]=_0x2ca60b(_0x4f64a8(),_0xd9a837(),_0xf170f6());}(_0x20ecbd,function(_0x16de29){var _0x5b114c=_0x51d3;return(function(){var _0xfaf7cd=_0x51d3,_0x271b56=_0x16de29,_0x42b9f8=_0x271b56[_0xfaf7cd(0x289)],_0x57834e=_0x42b9f8[_0xfaf7cd(0xc9)],_0x31565b=_0x42b9f8[_0xfaf7cd(0x173)],_0x351c8e=_0x271b56[_0xfaf7cd(0x22f)],_0x79eb54=_0x351c8e[_0xfaf7cd(0x1bf)],_0x3abcba=_0x351c8e[_0xfaf7cd(0x25f)]=_0x57834e[_0xfaf7cd(0x221)]({'cfg':_0x57834e['extend']({'keySize':0x80/0x20,'hasher':_0x79eb54,'iterations':0x1}),'init':function(_0x2bef20){var _0x3c49e1=_0xfaf7cd;this['cfg']=this['cfg'][_0x3c49e1(0x221)](_0x2bef20);},'compute':function(_0x4c4300,_0x3eac58){var _0x22b567=_0xfaf7cd;for(var _0x2f7c6d,_0x8203c3=this[_0x22b567(0x167)],_0xec2ece=_0x8203c3['hasher']['create'](),_0x1cd1f2=_0x31565b[_0x22b567(0x2ae)](),_0x166b2d=_0x1cd1f2[_0x22b567(0x125)],_0x163055=_0x8203c3[_0x22b567(0x1d6)],_0xc6ca40=_0x8203c3['iterations'];_0x166b2d[_0x22b567(0x269)]<_0x163055;){_0x2f7c6d&&_0xec2ece[_0x22b567(0x394)](_0x2f7c6d),_0x2f7c6d=_0xec2ece['update'](_0x4c4300)[_0x22b567(0x1ca)](_0x3eac58),_0xec2ece[_0x22b567(0x373)]();for(var _0x584568=0x1;_0x584568<_0xc6ca40;_0x584568++)_0x2f7c6d=_0xec2ece[_0x22b567(0x1ca)](_0x2f7c6d),_0xec2ece[_0x22b567(0x373)]();_0x1cd1f2[_0x22b567(0x34c)](_0x2f7c6d);}return _0x1cd1f2[_0x22b567(0xdd)]=_0x163055*0x4,_0x1cd1f2;}});_0x271b56[_0xfaf7cd(0x25f)]=function(_0x38c131,_0xe7ccd9,_0x4f8684){var _0x4f939d=_0xfaf7cd;return _0x3abcba[_0x4f939d(0x2ae)](_0x4f8684)[_0x4f939d(0x2c4)](_0x38c131,_0xe7ccd9);};}()),_0x16de29[_0x5b114c(0x25f)];}));}(_0x3540d6)),_0x3540d6[_0x3eb0ac(0x31d)];}var _0x72b8ed={'exports':{}},_0x21e106=_0x72b8ed[_0x815bf2(0x31d)],_0x5e28ea;function _0x3f015c(){var _0x47305a=_0x815bf2;return _0x5e28ea||(_0x5e28ea=0x1,function(_0x2ad4b6,_0x50d094){(function(_0x1141ed,_0x198e44,_0x421d4c){var _0xf12de9=_0x51d3;_0x2ad4b6[_0xf12de9(0x31d)]=_0x198e44(_0x4f64a8(),_0x45f060());}(_0x21e106,function(_0x4f2640){_0x4f2640['lib']['Cipher']||function(_0x515923){var _0x4c64b6=_0x51d3,_0xca3044=_0x4f2640,_0xb4994f=_0xca3044[_0x4c64b6(0x289)],_0x42ff85=_0xb4994f[_0x4c64b6(0xc9)],_0x3d6e5c=_0xb4994f[_0x4c64b6(0x173)],_0x52180d=_0xb4994f[_0x4c64b6(0x162)],_0x478d82=_0xca3044[_0x4c64b6(0x1f1)];_0x478d82[_0x4c64b6(0x234)];var _0x5c7ce1=_0x478d82[_0x4c64b6(0x336)],_0x302bdd=_0xca3044[_0x4c64b6(0x22f)],_0x47870c=_0x302bdd[_0x4c64b6(0x25f)],_0xeebc88=_0xb4994f[_0x4c64b6(0x2bf)]=_0x52180d['extend']({'cfg':_0x42ff85[_0x4c64b6(0x221)](),'createEncryptor':function(_0x161e96,_0x215337){var _0x11107a=_0x4c64b6;return this[_0x11107a(0x2ae)](this[_0x11107a(0x93)],_0x161e96,_0x215337);},'createDecryptor':function(_0x3f1c28,_0x53be46){var _0x829dae=_0x4c64b6;return this['create'](this[_0x829dae(0xc1)],_0x3f1c28,_0x53be46);},'init':function(_0x51b200,_0x531ea5,_0x3305ae){var _0xaa391f=_0x4c64b6;this[_0xaa391f(0x167)]=this['cfg'][_0xaa391f(0x221)](_0x3305ae),this[_0xaa391f(0x285)]=_0x51b200,this[_0xaa391f(0x390)]=_0x531ea5,this[_0xaa391f(0x373)]();},'reset':function(){var _0x4cf04c=_0x4c64b6;_0x52180d[_0x4cf04c(0x373)][_0x4cf04c(0x405)](this),this[_0x4cf04c(0x1a5)]();},'process':function(_0x547aa0){var _0x12fbb3=_0x4c64b6;return this[_0x12fbb3(0x1c4)](_0x547aa0),this[_0x12fbb3(0x13e)]();},'finalize':function(_0x2bec22){var _0x25155a=_0x4c64b6;_0x2bec22&&this[_0x25155a(0x1c4)](_0x2bec22);var _0x5de8ad=this[_0x25155a(0x26f)]();return _0x5de8ad;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x16db2b(_0x8b9e3a){return typeof _0x8b9e3a=='string'?_0x1d719e:_0x2bdd1e;}return function(_0x4bc9aa){return{'encrypt':function(_0x561a2b,_0x2dad35,_0x25ddfd){var _0x160ffd=_0x51d3;return _0x16db2b(_0x2dad35)[_0x160ffd(0x2ca)](_0x4bc9aa,_0x561a2b,_0x2dad35,_0x25ddfd);},'decrypt':function(_0x227132,_0xd06d74,_0x245320){var _0x1f1234=_0x51d3;return _0x16db2b(_0xd06d74)[_0x1f1234(0x18a)](_0x4bc9aa,_0x227132,_0xd06d74,_0x245320);}};};}())});_0xb4994f[_0x4c64b6(0x180)]=_0xeebc88[_0x4c64b6(0x221)]({'_doFinalize':function(){var _0x3877f7=_0x4c64b6,_0x26b242=this[_0x3877f7(0x13e)](!0x0);return _0x26b242;},'blockSize':0x1});var _0x55b442=_0xca3044['mode']={},_0x2dccf3=_0xb4994f['BlockCipherMode']=_0x42ff85[_0x4c64b6(0x221)]({'createEncryptor':function(_0x12aab5,_0x24cf7e){var _0xc87140=_0x4c64b6;return this[_0xc87140(0x32e)][_0xc87140(0x2ae)](_0x12aab5,_0x24cf7e);},'createDecryptor':function(_0x14a2b7,_0xb3849b){var _0x42862b=_0x4c64b6;return this[_0x42862b(0x14b)][_0x42862b(0x2ae)](_0x14a2b7,_0xb3849b);},'init':function(_0x1bb250,_0x2201a0){var _0x2a88a2=_0x4c64b6;this['_cipher']=_0x1bb250,this[_0x2a88a2(0x369)]=_0x2201a0;}}),_0x3346c0=_0x55b442[_0x4c64b6(0x39e)]=(function(){var _0x372587=_0x4c64b6,_0x1a4db3=_0x2dccf3[_0x372587(0x221)]();_0x1a4db3['Encryptor']=_0x1a4db3[_0x372587(0x221)]({'processBlock':function(_0x337274,_0x1994ea){var _0x10c1eb=_0x372587,_0x4c8485=this[_0x10c1eb(0x340)],_0x2f68d4=_0x4c8485[_0x10c1eb(0x31b)];_0x2d7452[_0x10c1eb(0x405)](this,_0x337274,_0x1994ea,_0x2f68d4),_0x4c8485[_0x10c1eb(0x3c0)](_0x337274,_0x1994ea),this[_0x10c1eb(0x157)]=_0x337274[_0x10c1eb(0x292)](_0x1994ea,_0x1994ea+_0x2f68d4);}}),_0x1a4db3['Decryptor']=_0x1a4db3[_0x372587(0x221)]({'processBlock':function(_0x20a372,_0x2cab7b){var _0x542f86=_0x372587,_0x36befb=this[_0x542f86(0x340)],_0x5136d7=_0x36befb[_0x542f86(0x31b)],_0x33608b=_0x20a372['slice'](_0x2cab7b,_0x2cab7b+_0x5136d7);_0x36befb[_0x542f86(0x8e)](_0x20a372,_0x2cab7b),_0x2d7452[_0x542f86(0x405)](this,_0x20a372,_0x2cab7b,_0x5136d7),this['_prevBlock']=_0x33608b;}});function _0x2d7452(_0x1d8935,_0x10ab06,_0x272b92){var _0x536d81=_0x372587,_0x56511e,_0x2f7f94=this[_0x536d81(0x369)];_0x2f7f94?(_0x56511e=_0x2f7f94,this[_0x536d81(0x369)]=_0x515923):_0x56511e=this[_0x536d81(0x157)];for(var _0xeb03c=0x0;_0xeb03c<_0x272b92;_0xeb03c++)_0x1d8935[_0x10ab06+_0xeb03c]^=_0x56511e[_0xeb03c];}return _0x1a4db3;}()),_0x2a978a=_0xca3044[_0x4c64b6(0x159)]={},_0x2ba105=_0x2a978a['Pkcs7']={'pad':function(_0x2ca749,_0x3a655a){var _0x28696c=_0x4c64b6;for(var _0x2287fa=_0x3a655a*0x4,_0x31b2bf=_0x2287fa-_0x2ca749[_0x28696c(0xdd)]%_0x2287fa,_0xaffc05=_0x31b2bf<<0x18|_0x31b2bf<<0x10|_0x31b2bf<<0x8|_0x31b2bf,_0x536ddc=[],_0x339a2b=0x0;_0x339a2b<_0x31b2bf;_0x339a2b+=0x4)_0x536ddc['push'](_0xaffc05);var _0x702b8b=_0x3d6e5c[_0x28696c(0x2ae)](_0x536ddc,_0x31b2bf);_0x2ca749[_0x28696c(0x34c)](_0x702b8b);},'unpad':function(_0x2b9e5d){var _0x29ed59=_0x4c64b6,_0x25555a=_0x2b9e5d[_0x29ed59(0x125)][_0x2b9e5d[_0x29ed59(0xdd)]-0x1>>>0x2]&0xff;_0x2b9e5d['sigBytes']-=_0x25555a;}};_0xb4994f['BlockCipher']=_0xeebc88[_0x4c64b6(0x221)]({'cfg':_0xeebc88['cfg'][_0x4c64b6(0x221)]({'mode':_0x3346c0,'padding':_0x2ba105}),'reset':function(){var _0x444269=_0x4c64b6,_0xac8d37;_0xeebc88[_0x444269(0x373)][_0x444269(0x405)](this);var _0x64098=this[_0x444269(0x167)],_0x5af2e0=_0x64098['iv'],_0x5da8f0=_0x64098[_0x444269(0x2a3)];this['_xformMode']==this[_0x444269(0x93)]?_0xac8d37=_0x5da8f0[_0x444269(0x2f0)]:(_0xac8d37=_0x5da8f0['createDecryptor'],this['_minBufferSize']=0x1),this[_0x444269(0x1a6)]&&this[_0x444269(0x1a6)][_0x444269(0x160)]==_0xac8d37?this[_0x444269(0x1a6)]['init'](this,_0x5af2e0&&_0x5af2e0['words']):(this['_mode']=_0xac8d37[_0x444269(0x405)](_0x5da8f0,this,_0x5af2e0&&_0x5af2e0[_0x444269(0x125)]),this[_0x444269(0x1a6)][_0x444269(0x160)]=_0xac8d37);},'_doProcessBlock':function(_0x1baa7b,_0xddbc9d){this['_mode']['processBlock'](_0x1baa7b,_0xddbc9d);},'_doFinalize':function(){var _0x55ae42=_0x4c64b6,_0x2b96a8,_0x12c6bf=this['cfg'][_0x55ae42(0x2dd)];return this[_0x55ae42(0x285)]==this[_0x55ae42(0x93)]?(_0x12c6bf[_0x55ae42(0x159)](this['_data'],this[_0x55ae42(0x31b)]),_0x2b96a8=this[_0x55ae42(0x13e)](!0x0)):(_0x2b96a8=this['_process'](!0x0),_0x12c6bf[_0x55ae42(0xe9)](_0x2b96a8)),_0x2b96a8;},'blockSize':0x80/0x20});var _0x35868c=_0xb4994f['CipherParams']=_0x42ff85[_0x4c64b6(0x221)]({'init':function(_0x259c32){var _0x36968f=_0x4c64b6;this[_0x36968f(0x102)](_0x259c32);},'toString':function(_0x764957){var _0x1cf950=_0x4c64b6;return(_0x764957||this[_0x1cf950(0x19f)])[_0x1cf950(0x182)](this);}}),_0x4def9d=_0xca3044['format']={},_0x4468f5=_0x4def9d[_0x4c64b6(0x284)]={'stringify':function(_0x534c76){var _0x3d56d7=_0x4c64b6,_0x291184,_0x4771aa=_0x534c76[_0x3d56d7(0xa5)],_0x315005=_0x534c76[_0x3d56d7(0x371)];return _0x315005?_0x291184=_0x3d6e5c['create']([0x53616c74,0x65645f5f])[_0x3d56d7(0x34c)](_0x315005)[_0x3d56d7(0x34c)](_0x4771aa):_0x291184=_0x4771aa,_0x291184[_0x3d56d7(0x301)](_0x5c7ce1);},'parse':function(_0x5770e7){var _0x157625=_0x4c64b6,_0x2c4af1,_0x14209d=_0x5c7ce1['parse'](_0x5770e7),_0x43d335=_0x14209d[_0x157625(0x125)];return _0x43d335[0x0]==0x53616c74&&_0x43d335[0x1]==0x65645f5f&&(_0x2c4af1=_0x3d6e5c['create'](_0x43d335[_0x157625(0x292)](0x2,0x4)),_0x43d335[_0x157625(0xa3)](0x0,0x4),_0x14209d[_0x157625(0xdd)]-=0x10),_0x35868c[_0x157625(0x2ae)]({'ciphertext':_0x14209d,'salt':_0x2c4af1});}},_0x2bdd1e=_0xb4994f[_0x4c64b6(0xa7)]=_0x42ff85[_0x4c64b6(0x221)]({'cfg':_0x42ff85['extend']({'format':_0x4468f5}),'encrypt':function(_0x4a79de,_0x2ee630,_0xa2c589,_0x5f2ad3){var _0x90d73b=_0x4c64b6;_0x5f2ad3=this['cfg'][_0x90d73b(0x221)](_0x5f2ad3);var _0x386251=_0x4a79de['createEncryptor'](_0xa2c589,_0x5f2ad3),_0x5236ad=_0x386251[_0x90d73b(0x1ca)](_0x2ee630),_0x7c84f=_0x386251['cfg'];return _0x35868c[_0x90d73b(0x2ae)]({'ciphertext':_0x5236ad,'key':_0xa2c589,'iv':_0x7c84f['iv'],'algorithm':_0x4a79de,'mode':_0x7c84f[_0x90d73b(0x2a3)],'padding':_0x7c84f[_0x90d73b(0x2dd)],'blockSize':_0x4a79de[_0x90d73b(0x31b)],'formatter':_0x5f2ad3[_0x90d73b(0x2b8)]});},'decrypt':function(_0x2f177e,_0x121cdd,_0x21e39c,_0x37fb2c){var _0xb6f80d=_0x4c64b6;_0x37fb2c=this['cfg'][_0xb6f80d(0x221)](_0x37fb2c),_0x121cdd=this[_0xb6f80d(0x278)](_0x121cdd,_0x37fb2c['format']);var _0x4b45a5=_0x2f177e['createDecryptor'](_0x21e39c,_0x37fb2c)['finalize'](_0x121cdd[_0xb6f80d(0xa5)]);return _0x4b45a5;},'_parse':function(_0x4ef442,_0x1fd0f1){var _0x467eed=_0x4c64b6;return typeof _0x4ef442=='string'?_0x1fd0f1[_0x467eed(0x1f7)](_0x4ef442,this):_0x4ef442;}}),_0x4947c9=_0xca3044[_0x4c64b6(0xe8)]={},_0x58af94=_0x4947c9['OpenSSL']={'execute':function(_0x25adde,_0x153fde,_0x125acf,_0x524fb8,_0x10aa63){var _0x4f82c5=_0x4c64b6;if(_0x524fb8||(_0x524fb8=_0x3d6e5c[_0x4f82c5(0xde)](0x40/0x8)),_0x10aa63)var _0x3329d6=_0x47870c[_0x4f82c5(0x2ae)]({'keySize':_0x153fde+_0x125acf,'hasher':_0x10aa63})[_0x4f82c5(0x2c4)](_0x25adde,_0x524fb8);else var _0x3329d6=_0x47870c[_0x4f82c5(0x2ae)]({'keySize':_0x153fde+_0x125acf})[_0x4f82c5(0x2c4)](_0x25adde,_0x524fb8);var _0x1a5324=_0x3d6e5c[_0x4f82c5(0x2ae)](_0x3329d6[_0x4f82c5(0x125)][_0x4f82c5(0x292)](_0x153fde),_0x125acf*0x4);return _0x3329d6[_0x4f82c5(0xdd)]=_0x153fde*0x4,_0x35868c['create']({'key':_0x3329d6,'iv':_0x1a5324,'salt':_0x524fb8});}},_0x1d719e=_0xb4994f[_0x4c64b6(0x1fa)]=_0x2bdd1e[_0x4c64b6(0x221)]({'cfg':_0x2bdd1e[_0x4c64b6(0x167)]['extend']({'kdf':_0x58af94}),'encrypt':function(_0x4e27de,_0x3d6c93,_0x24ed3c,_0x41e738){var _0x3ba753=_0x4c64b6;_0x41e738=this[_0x3ba753(0x167)][_0x3ba753(0x221)](_0x41e738);var _0x4697ae=_0x41e738[_0x3ba753(0xe8)][_0x3ba753(0x3b1)](_0x24ed3c,_0x4e27de[_0x3ba753(0x1d6)],_0x4e27de[_0x3ba753(0x3f6)],_0x41e738[_0x3ba753(0x371)],_0x41e738[_0x3ba753(0x16c)]);_0x41e738['iv']=_0x4697ae['iv'];var _0x1e6064=_0x2bdd1e[_0x3ba753(0x2ca)][_0x3ba753(0x405)](this,_0x4e27de,_0x3d6c93,_0x4697ae[_0x3ba753(0x381)],_0x41e738);return _0x1e6064['mixIn'](_0x4697ae),_0x1e6064;},'decrypt':function(_0x4003b7,_0x1605c5,_0x58af4f,_0x51b206){var _0x1dac20=_0x4c64b6;_0x51b206=this[_0x1dac20(0x167)][_0x1dac20(0x221)](_0x51b206),_0x1605c5=this['_parse'](_0x1605c5,_0x51b206[_0x1dac20(0x2b8)]);var _0x47bb8b=_0x51b206[_0x1dac20(0xe8)][_0x1dac20(0x3b1)](_0x58af4f,_0x4003b7[_0x1dac20(0x1d6)],_0x4003b7['ivSize'],_0x1605c5[_0x1dac20(0x371)],_0x51b206[_0x1dac20(0x16c)]);_0x51b206['iv']=_0x47bb8b['iv'];var _0x3ff58e=_0x2bdd1e[_0x1dac20(0x18a)]['call'](this,_0x4003b7,_0x1605c5,_0x47bb8b[_0x1dac20(0x381)],_0x51b206);return _0x3ff58e;}});}();}));}(_0x72b8ed)),_0x72b8ed[_0x47305a(0x31d)];}var _0x846d89=_0x9bded0[_0x815bf2(0x31d)],_0x4110a3;function _0x4c78c0(){return _0x4110a3||(_0x4110a3=0x1,function(_0x815792,_0x75104d){(function(_0xc813ea,_0x14a822,_0x461c63){var _0x4fa43e=_0x51d3;_0x815792[_0x4fa43e(0x31d)]=_0x14a822(_0x4f64a8(),_0x158350(),_0x55631e(),_0x45f060(),_0x3f015c());}(_0x846d89,function(_0x1de0dd){var _0x392abd=_0x51d3;return(function(){var _0x6a6a1a=_0x51d3,_0x5bf4e8=_0x1de0dd,_0x23ad23=_0x5bf4e8[_0x6a6a1a(0x289)],_0x3bb5ea=_0x23ad23[_0x6a6a1a(0x2c0)],_0x2113f6=_0x5bf4e8[_0x6a6a1a(0x22f)],_0x43e593=[],_0x8259a3=[],_0x414ed9=[],_0x302359=[],_0x410e68=[],_0xf3f6e4=[],_0x17aed0=[],_0x16e629=[],_0x18c3ec=[],_0x2e7aa6=[];(function(){for(var _0x546e7f=[],_0x20f2ba=0x0;_0x20f2ba<0x100;_0x20f2ba++)_0x20f2ba<0x80?_0x546e7f[_0x20f2ba]=_0x20f2ba<<0x1:_0x546e7f[_0x20f2ba]=_0x20f2ba<<0x1^0x11b;for(var _0x3fcc2c=0x0,_0x27f7b4=0x0,_0x20f2ba=0x0;_0x20f2ba<0x100;_0x20f2ba++){var _0x4e1084=_0x27f7b4^_0x27f7b4<<0x1^_0x27f7b4<<0x2^_0x27f7b4<<0x3^_0x27f7b4<<0x4;_0x4e1084=_0x4e1084>>>0x8^_0x4e1084&0xff^0x63,_0x43e593[_0x3fcc2c]=_0x4e1084,_0x8259a3[_0x4e1084]=_0x3fcc2c;var _0xa93d2c=_0x546e7f[_0x3fcc2c],_0xdc3d92=_0x546e7f[_0xa93d2c],_0x5d92bd=_0x546e7f[_0xdc3d92],_0x36ad36=_0x546e7f[_0x4e1084]*0x101^_0x4e1084*0x1010100;_0x414ed9[_0x3fcc2c]=_0x36ad36<<0x18|_0x36ad36>>>0x8,_0x302359[_0x3fcc2c]=_0x36ad36<<0x10|_0x36ad36>>>0x10,_0x410e68[_0x3fcc2c]=_0x36ad36<<0x8|_0x36ad36>>>0x18,_0xf3f6e4[_0x3fcc2c]=_0x36ad36;var _0x36ad36=_0x5d92bd*0x1010101^_0xdc3d92*0x10001^_0xa93d2c*0x101^_0x3fcc2c*0x1010100;_0x17aed0[_0x4e1084]=_0x36ad36<<0x18|_0x36ad36>>>0x8,_0x16e629[_0x4e1084]=_0x36ad36<<0x10|_0x36ad36>>>0x10,_0x18c3ec[_0x4e1084]=_0x36ad36<<0x8|_0x36ad36>>>0x18,_0x2e7aa6[_0x4e1084]=_0x36ad36,_0x3fcc2c?(_0x3fcc2c=_0xa93d2c^_0x546e7f[_0x546e7f[_0x546e7f[_0x5d92bd^_0xa93d2c]]],_0x27f7b4^=_0x546e7f[_0x546e7f[_0x27f7b4]]):_0x3fcc2c=_0x27f7b4=0x1;}}());var _0x5a81fe=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x55c003=_0x2113f6[_0x6a6a1a(0x2e8)]=_0x3bb5ea['extend']({'_doReset':function(){var _0xca1995=_0x6a6a1a,_0x3cd967;if(!(this[_0xca1995(0x127)]&&this[_0xca1995(0x347)]===this['_key'])){for(var _0x348b65=this[_0xca1995(0x347)]=this[_0xca1995(0x390)],_0x8f289=_0x348b65['words'],_0x590315=_0x348b65['sigBytes']/0x4,_0x119e4d=this[_0xca1995(0x127)]=_0x590315+0x6,_0x39df87=(_0x119e4d+0x1)*0x4,_0x2c3b45=this['_keySchedule']=[],_0x23cff2=0x0;_0x23cff2<_0x39df87;_0x23cff2++)_0x23cff2<_0x590315?_0x2c3b45[_0x23cff2]=_0x8f289[_0x23cff2]:(_0x3cd967=_0x2c3b45[_0x23cff2-0x1],_0x23cff2%_0x590315?_0x590315>0x6&&_0x23cff2%_0x590315==0x4&&(_0x3cd967=_0x43e593[_0x3cd967>>>0x18]<<0x18|_0x43e593[_0x3cd967>>>0x10&0xff]<<0x10|_0x43e593[_0x3cd967>>>0x8&0xff]<<0x8|_0x43e593[_0x3cd967&0xff]):(_0x3cd967=_0x3cd967<<0x8|_0x3cd967>>>0x18,_0x3cd967=_0x43e593[_0x3cd967>>>0x18]<<0x18|_0x43e593[_0x3cd967>>>0x10&0xff]<<0x10|_0x43e593[_0x3cd967>>>0x8&0xff]<<0x8|_0x43e593[_0x3cd967&0xff],_0x3cd967^=_0x5a81fe[_0x23cff2/_0x590315|0x0]<<0x18),_0x2c3b45[_0x23cff2]=_0x2c3b45[_0x23cff2-_0x590315]^_0x3cd967);for(var _0x42d138=this[_0xca1995(0x1bd)]=[],_0x55ae6e=0x0;_0x55ae6e<_0x39df87;_0x55ae6e++){var _0x23cff2=_0x39df87-_0x55ae6e;if(_0x55ae6e%0x4)var _0x3cd967=_0x2c3b45[_0x23cff2];else var _0x3cd967=_0x2c3b45[_0x23cff2-0x4];_0x55ae6e<0x4||_0x23cff2<=0x4?_0x42d138[_0x55ae6e]=_0x3cd967:_0x42d138[_0x55ae6e]=_0x17aed0[_0x43e593[_0x3cd967>>>0x18]]^_0x16e629[_0x43e593[_0x3cd967>>>0x10&0xff]]^_0x18c3ec[_0x43e593[_0x3cd967>>>0x8&0xff]]^_0x2e7aa6[_0x43e593[_0x3cd967&0xff]];}}},'encryptBlock':function(_0xc7a86c,_0x5d9f95){var _0x3a0ab5=_0x6a6a1a;this[_0x3a0ab5(0x350)](_0xc7a86c,_0x5d9f95,this['_keySchedule'],_0x414ed9,_0x302359,_0x410e68,_0xf3f6e4,_0x43e593);},'decryptBlock':function(_0x50f5d6,_0x40120a){var _0x52310f=_0x6a6a1a,_0xc1a9a1=_0x50f5d6[_0x40120a+0x1];_0x50f5d6[_0x40120a+0x1]=_0x50f5d6[_0x40120a+0x3],_0x50f5d6[_0x40120a+0x3]=_0xc1a9a1,this[_0x52310f(0x350)](_0x50f5d6,_0x40120a,this[_0x52310f(0x1bd)],_0x17aed0,_0x16e629,_0x18c3ec,_0x2e7aa6,_0x8259a3);var _0xc1a9a1=_0x50f5d6[_0x40120a+0x1];_0x50f5d6[_0x40120a+0x1]=_0x50f5d6[_0x40120a+0x3],_0x50f5d6[_0x40120a+0x3]=_0xc1a9a1;},'_doCryptBlock':function(_0x2799c6,_0x82acb3,_0x5414fe,_0x34c5c7,_0x65d0a2,_0x2a0db6,_0x48523f,_0x374604){var _0x193d53=_0x6a6a1a;for(var _0x4e6816=this[_0x193d53(0x127)],_0x37d7fd=_0x2799c6[_0x82acb3]^_0x5414fe[0x0],_0x316b22=_0x2799c6[_0x82acb3+0x1]^_0x5414fe[0x1],_0x1b2386=_0x2799c6[_0x82acb3+0x2]^_0x5414fe[0x2],_0x217f5c=_0x2799c6[_0x82acb3+0x3]^_0x5414fe[0x3],_0x178885=0x4,_0x38d62d=0x1;_0x38d62d<_0x4e6816;_0x38d62d++){var _0x58b852=_0x34c5c7[_0x37d7fd>>>0x18]^_0x65d0a2[_0x316b22>>>0x10&0xff]^_0x2a0db6[_0x1b2386>>>0x8&0xff]^_0x48523f[_0x217f5c&0xff]^_0x5414fe[_0x178885++],_0x53eb79=_0x34c5c7[_0x316b22>>>0x18]^_0x65d0a2[_0x1b2386>>>0x10&0xff]^_0x2a0db6[_0x217f5c>>>0x8&0xff]^_0x48523f[_0x37d7fd&0xff]^_0x5414fe[_0x178885++],_0x4f1fea=_0x34c5c7[_0x1b2386>>>0x18]^_0x65d0a2[_0x217f5c>>>0x10&0xff]^_0x2a0db6[_0x37d7fd>>>0x8&0xff]^_0x48523f[_0x316b22&0xff]^_0x5414fe[_0x178885++],_0x10eb02=_0x34c5c7[_0x217f5c>>>0x18]^_0x65d0a2[_0x37d7fd>>>0x10&0xff]^_0x2a0db6[_0x316b22>>>0x8&0xff]^_0x48523f[_0x1b2386&0xff]^_0x5414fe[_0x178885++];_0x37d7fd=_0x58b852,_0x316b22=_0x53eb79,_0x1b2386=_0x4f1fea,_0x217f5c=_0x10eb02;}var _0x58b852=(_0x374604[_0x37d7fd>>>0x18]<<0x18|_0x374604[_0x316b22>>>0x10&0xff]<<0x10|_0x374604[_0x1b2386>>>0x8&0xff]<<0x8|_0x374604[_0x217f5c&0xff])^_0x5414fe[_0x178885++],_0x53eb79=(_0x374604[_0x316b22>>>0x18]<<0x18|_0x374604[_0x1b2386>>>0x10&0xff]<<0x10|_0x374604[_0x217f5c>>>0x8&0xff]<<0x8|_0x374604[_0x37d7fd&0xff])^_0x5414fe[_0x178885++],_0x4f1fea=(_0x374604[_0x1b2386>>>0x18]<<0x18|_0x374604[_0x217f5c>>>0x10&0xff]<<0x10|_0x374604[_0x37d7fd>>>0x8&0xff]<<0x8|_0x374604[_0x316b22&0xff])^_0x5414fe[_0x178885++],_0x10eb02=(_0x374604[_0x217f5c>>>0x18]<<0x18|_0x374604[_0x37d7fd>>>0x10&0xff]<<0x10|_0x374604[_0x316b22>>>0x8&0xff]<<0x8|_0x374604[_0x1b2386&0xff])^_0x5414fe[_0x178885++];_0x2799c6[_0x82acb3]=_0x58b852,_0x2799c6[_0x82acb3+0x1]=_0x53eb79,_0x2799c6[_0x82acb3+0x2]=_0x4f1fea,_0x2799c6[_0x82acb3+0x3]=_0x10eb02;},'keySize':0x100/0x20});_0x5bf4e8['AES']=_0x3bb5ea['_createHelper'](_0x55c003);}()),_0x1de0dd[_0x392abd(0x2e8)];}));}(_0x9bded0)),_0x9bded0['exports'];}var _0x4aded6=_0x4c78c0();const _0x247f19=_0x4213be(_0x4aded6);var _0x431d42=_0x158350();const _0x1b914c=_0x4213be(_0x431d42);var _0x454de2={'exports':{}},_0x7497d9=_0x454de2[_0x815bf2(0x31d)],_0x22dfee;function _0x5d5c9d(){var _0x110477=_0x815bf2;return _0x22dfee||(_0x22dfee=0x1,function(_0x89c4e2,_0x126716){(function(_0x347850,_0x57548b){_0x89c4e2['exports']=_0x57548b(_0x4f64a8());}(_0x7497d9,function(_0x48f684){var _0x2cd466=_0x51d3;return _0x48f684['enc'][_0x2cd466(0x234)];}));}(_0x454de2)),_0x454de2[_0x110477(0x31d)];}var _0x50405d=_0x5d5c9d();const _0xb605d3=_0x4213be(_0x50405d);var _0x4dadb0={'exports':{}},_0x31c13b=_0x4dadb0[_0x815bf2(0x31d)],_0x35e39f;function _0x1bb41d(){var _0x2e7d0c=_0x815bf2;return _0x35e39f||(_0x35e39f=0x1,function(_0x37acf9,_0x3ee146){(function(_0x151f37,_0x407446){var _0x19fb30=_0x51d3;_0x37acf9[_0x19fb30(0x31d)]=_0x407446(_0x4f64a8());}(_0x31c13b,function(_0x473887){var _0x22bf28=_0x51d3;return(function(){var _0x215396=_0x51d3;if(typeof ArrayBuffer==_0x215396(0x1ac)){var _0x113470=_0x473887,_0x153e96=_0x113470[_0x215396(0x289)],_0x1ccf97=_0x153e96['WordArray'],_0x37fa35=_0x1ccf97[_0x215396(0x2e9)],_0x73f567=_0x1ccf97[_0x215396(0x2e9)]=function(_0x288fe4){var _0x2c686b=_0x215396;if(_0x288fe4 instanceof ArrayBuffer&&(_0x288fe4=new Uint8Array(_0x288fe4)),(_0x288fe4 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x288fe4 instanceof Uint8ClampedArray||_0x288fe4 instanceof Int16Array||_0x288fe4 instanceof Uint16Array||_0x288fe4 instanceof Int32Array||_0x288fe4 instanceof Uint32Array||_0x288fe4 instanceof Float32Array||_0x288fe4 instanceof Float64Array)&&(_0x288fe4=new Uint8Array(_0x288fe4[_0x2c686b(0x28f)],_0x288fe4[_0x2c686b(0x2a9)],_0x288fe4[_0x2c686b(0x1c7)])),_0x288fe4 instanceof Uint8Array){for(var _0xc9ae82=_0x288fe4[_0x2c686b(0x1c7)],_0x3a2f26=[],_0x17d7bb=0x0;_0x17d7bb<_0xc9ae82;_0x17d7bb++)_0x3a2f26[_0x17d7bb>>>0x2]|=_0x288fe4[_0x17d7bb]<<0x18-_0x17d7bb%0x4*0x8;_0x37fa35[_0x2c686b(0x405)](this,_0x3a2f26,_0xc9ae82);}else _0x37fa35[_0x2c686b(0x99)](this,arguments);};_0x73f567[_0x215396(0x3c6)]=_0x1ccf97;}}()),_0x473887[_0x22bf28(0x289)][_0x22bf28(0x173)];}));}(_0x4dadb0)),_0x4dadb0[_0x2e7d0c(0x31d)];}var _0x358304=_0x1bb41d();const _0x40ddf9=_0x4213be(_0x358304);var _0x1fe5a2={'exports':{}},_0x1ea7ef=_0x1fe5a2[_0x815bf2(0x31d)],_0x1ed731;function _0xc0210f(){var _0x1314c6=_0x815bf2;return _0x1ed731||(_0x1ed731=0x1,function(_0x21c2ed,_0x2ed642){(function(_0x526812,_0x5d23a4,_0x417ea6){var _0x265f23=_0x51d3;_0x21c2ed[_0x265f23(0x31d)]=_0x5d23a4(_0x4f64a8(),_0x3f015c());}(_0x1ea7ef,function(_0x4c51a4){var _0x51941f=_0x51d3;return _0x4c51a4[_0x51941f(0x159)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4c51a4['pad'][_0x51941f(0x14e)];}));}(_0x1fe5a2)),_0x1fe5a2[_0x1314c6(0x31d)];}var _0x3a7189=_0xc0210f();const _0x1f505d=_0x4213be(_0x3a7189);function _0x3a115b(_0x13ff03,_0x9a7070){var _0x23c351=_0x815bf2;const _0xe004d=_0x9a7070-_0x13ff03[_0x23c351(0x269)]%_0x9a7070,_0x4c2ab5=String[_0x23c351(0x3ad)](_0xe004d)[_0x23c351(0x145)](_0xe004d);return _0x13ff03+_0x4c2ab5;}function _0x2ffd79(_0x23a477,_0x9af9fb){var _0x1bbc2d=_0x815bf2;const _0x12a9e7=_0x40ddf9[_0x1bbc2d(0xde)](0x10),_0x43ae66=_0x3a115b(_0x23a477,0x10),_0x47b99a=_0x247f19[_0x1bbc2d(0x2ca)](_0xb605d3[_0x1bbc2d(0x1f7)](_0x43ae66),_0x1b914c[_0x1bbc2d(0x1f7)](_0x9af9fb),{'iv':_0x12a9e7,'padding':_0x1f505d});return _0x12a9e7['concat'](_0x47b99a['ciphertext'])[_0x1bbc2d(0x301)](_0x1b914c);}function _0x5b8064(){var _0x2d6e8b=_0x815bf2;const _0x22ed89=_0x110f1c[_0x2d6e8b(0x380)]()[_0x2d6e8b(0xc6)];if(_0x22ed89){const _0x135ea0={'time':Math[_0x2d6e8b(0x10f)](Date['now']()/0x3e8),'domain':location[_0x2d6e8b(0x244)]};return _0x2ffd79(JSON[_0x2d6e8b(0x182)](_0x135ea0),_0x22ed89);}}var _0x21a12e=Object[_0x815bf2(0x85)],_0x58ee32=(_0x1f4330,_0x383a6e,_0x1fc8cc,_0x4280b0)=>{var _0x1d3a81=_0x815bf2;for(var _0x406770=_0x4280b0>0x1?void 0x0:_0x4280b0?_0x21a12e(_0x383a6e,_0x1fc8cc):_0x383a6e,_0x40ad55=_0x1f4330[_0x1d3a81(0x269)]-0x1,_0x18bf3c;_0x40ad55>=0x0;_0x40ad55--)(_0x18bf3c=_0x1f4330[_0x40ad55])&&(_0x406770=_0x18bf3c(_0x406770)||_0x406770);return _0x406770;},_0x5ea0af=(_0xc8d795,_0x183786)=>(_0x2a1328,_0x2723bf)=>_0x183786(_0x2a1328,_0x2723bf,_0xc8d795);let _0x5aa0fc=class{constructor(_0x54a94b){var _0x14c64f=_0x815bf2;this[_0x14c64f(0x132)]=_0x54a94b,this[_0x14c64f(0x3d7)]();}[_0x815bf2(0x3d7)](){var _0x3f8a1f=_0x815bf2;this[_0x3f8a1f(0x132)][_0x3f8a1f(0x290)]({'interceptor':(_0x3248c0,_0x250da2)=>{var _0x37bd6e=_0x3f8a1f;const _0x108d17=_0x3248c0[_0x37bd6e(0x2c6)],_0x261de2=_0x5b8064();return _0x261de2&&_0x108d17['set'](_0x37bd6e(0x1bc),_0x261de2),_0x250da2(_0x3248c0);}});}};_0x5aa0fc=_0x58ee32([_0x5ea0af(0x0,_0x34be6a[_0x815bf2(0x306)](_0x44bd51[_0x815bf2(0x2ac)]))],_0x5aa0fc);var _0x10218b=Object['getOwnPropertyDescriptor'],_0x28e4a8=(_0x4c25c8,_0x349a69,_0x6dd4c,_0x3aa772)=>{for(var _0x579aae=_0x3aa772>0x1?void 0x0:_0x3aa772?_0x10218b(_0x349a69,_0x6dd4c):_0x349a69,_0x5de97d=_0x4c25c8['length']-0x1,_0x5417ed;_0x5de97d>=0x0;_0x5de97d--)(_0x5417ed=_0x4c25c8[_0x5de97d])&&(_0x579aae=_0x5417ed(_0x579aae)||_0x579aae);return _0x579aae;},_0x43c064=(_0x572365,_0x3f0bab)=>(_0xff238,_0x5441ac)=>_0x3f0bab(_0xff238,_0x5441ac,_0x572365);_0x52c1c0[_0x815bf2(0x283)]=class extends _0x34be6a[_0x815bf2(0x2e7)]{constructor(_0x25c512,_0xc46c30,_0x48f59c){var _0x1f3145=_0x815bf2;super(),_0x2d2abd(this,_0x1f3145(0x392),new _0x325255[(_0x1f3145(0x9e))](null)),_0x2d2abd(this,_0x1f3145(0x164),this[_0x1f3145(0x392)][_0x1f3145(0x229)]()),(this['_logService']=_0x25c512,this[_0x1f3145(0x2e3)]=_0xc46c30,this['_localCacheService']=_0x48f59c);}async['loadUnit'](_0x38de4d,_0x5d507c,_0x18d446){var _0x4df254=_0x815bf2;this[_0x4df254(0x392)][_0x4df254(0x14a)]({'unitId':_0x38de4d,'type':_0x5d507c,'subUnitId':_0x18d446});let _0x17fa39=null;switch(_0x5d507c){case _0x10d4f8[_0x4df254(0x10d)]:{_0x17fa39=await this['_loadSheet'](_0x38de4d);break;}case _0x10d4f8[_0x4df254(0x1d3)]:{_0x17fa39=await this['_loadDoc'](_0x38de4d);break;}default:{this['_logService'][_0x4df254(0x334)](_0x4df254(0x2ba),_0x4df254(0x3d3));break;}}return _0x17fa39;}async[_0x815bf2(0x22d)](_0x57c40c){var _0x2f47cf=_0x815bf2,_0x2f77cd;let _0x49b91e=0x0;const _0x1d52a1=await((_0x2f77cd=this[_0x2f47cf(0x266)])==null?void 0x0:_0x2f77cd[_0x2f47cf(0x2cd)](_0x57c40c));return _0x1d52a1&&(_0x1d52a1[_0x2f47cf(0x387)]||_0x1d52a1['mutations'][_0x2f47cf(0x269)]!==0x0)&&(_0x49b91e=_0x1d52a1[_0x2f47cf(0x388)]),_0x49b91e===0x0&&this[_0x2f47cf(0x314)][_0x2f47cf(0x2a2)](_0x2f47cf(0x2ba),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2f47cf(0x2e3)]['loadSheet'](_0x57c40c,_0x49b91e);}async[_0x815bf2(0x222)](_0x5ac9e1){var _0x5e9a0d=_0x815bf2,_0x452956;let _0x3a4e46=0x0;const _0xf0ee78=await((_0x452956=this[_0x5e9a0d(0x266)])==null?void 0x0:_0x452956[_0x5e9a0d(0x2cd)](_0x5ac9e1));return _0xf0ee78&&(_0xf0ee78[_0x5e9a0d(0x387)]||_0xf0ee78[_0x5e9a0d(0x2ee)][_0x5e9a0d(0x269)]!==0x0)&&(_0x3a4e46=_0xf0ee78[_0x5e9a0d(0x388)]),_0x3a4e46===0x0&&this[_0x5e9a0d(0x314)][_0x5e9a0d(0x2a2)](_0x5e9a0d(0x2ba),_0x5e9a0d(0x3fe)),this[_0x5e9a0d(0x2e3)]['loadDoc'](_0x5ac9e1,_0x3a4e46);}},_0x52c1c0[_0x815bf2(0x283)]=_0x28e4a8([_0x43c064(0x0,_0x34be6a[_0x815bf2(0x25c)]),_0x43c064(0x1,_0x34be6a[_0x815bf2(0x306)](_0x13d03a[_0x815bf2(0x210)])),_0x43c064(0x2,_0x34be6a[_0x815bf2(0x391)](_0x5ad2e2))],_0x52c1c0['DataLoaderService']);var _0x1b73a8=Object[_0x815bf2(0x85)],_0x4624c9=(_0xd277a8,_0x873384,_0x19bd77,_0x48dd0f)=>{var _0x43fd79=_0x815bf2;for(var _0x578275=_0x48dd0f>0x1?void 0x0:_0x48dd0f?_0x1b73a8(_0x873384,_0x19bd77):_0x873384,_0x24e4db=_0xd277a8[_0x43fd79(0x269)]-0x1,_0x36eabf;_0x24e4db>=0x0;_0x24e4db--)(_0x36eabf=_0xd277a8[_0x24e4db])&&(_0x578275=_0x36eabf(_0x578275)||_0x578275);return _0x578275;},_0x3a9159=(_0x519797,_0x409a26)=>(_0x4a0e0f,_0x2ba07b)=>_0x409a26(_0x4a0e0f,_0x2ba07b,_0x519797);const _0x355265=[_0x815bf2(0xc2),_0x815bf2(0x193),_0x815bf2(0x32f),_0x815bf2(0x3aa),_0x815bf2(0x37e)],_0x30c7b5=0x5*0x400*0x400,_0x148865='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x3791ba=_0x815bf2(0x370),_0x556125=_0x815bf2(0x39b),_0x1f395c=_0x815bf2(0x363);_0x52c1c0[_0x815bf2(0x403)]=class{constructor(_0x833e31,_0x49d8b5,_0x55831c){var _0x3fc146=_0x815bf2;_0x2d2abd(this,_0x3fc146(0x2e6),0x0),_0x2d2abd(this,'_change$',new _0x325255[(_0x3fc146(0x90))]()),_0x2d2abd(this,_0x3fc146(0x3b4),this[_0x3fc146(0x1d0)]),_0x2d2abd(this,_0x3fc146(0x3a6),new Map()),(this['_httpService']=_0x833e31,this[_0x3fc146(0x287)]=_0x49d8b5,this['_univerInstanceService']=_0x55831c);}[_0x815bf2(0x91)](_0x151218){var _0x294f73=_0x815bf2;this[_0x294f73(0x2e6)]=_0x151218,this[_0x294f73(0x1d0)][_0x294f73(0x14a)](_0x151218);}[_0x815bf2(0x179)](_0x403cd5,_0xc35d2f){var _0x34c9a9=_0x815bf2;if(_0xc35d2f===_0x469d91[_0x34c9a9(0x3ed)][_0x34c9a9(0xa4)]){const _0x108b45=new Image();return _0x108b45[_0x34c9a9(0x94)]=_0x403cd5,_0x108b45;}return this['_imageSourceCache'][_0x34c9a9(0x33c)](_0x403cd5);}[_0x815bf2(0xc0)](_0x230393,_0x427784,_0x5f2759){var _0x4358c2=_0x815bf2;_0x427784===_0x469d91[_0x4358c2(0x3ed)][_0x4358c2(0xa4)]||_0x5f2759==null||this[_0x4358c2(0x3a6)][_0x4358c2(0x1c8)](_0x230393,_0x5f2759);}async['getImage'](_0x4cf46c){var _0x156be5=_0x815bf2;try{const _0x96b220=this['_replaceFileID'](this[_0x156be5(0x2d8)](),''+_0x4cf46c),_0x27272c=(await this[_0x156be5(0x132)]['get'](_0x96b220))[_0x156be5(0x1c6)];if(_0x27272c[_0x156be5(0x334)]&&_0x27272c[_0x156be5(0x334)]['code']===_0x3a4aa8['OK']){const _0x4729ed=new URL(_0x27272c[_0x156be5(0x239)],this[_0x156be5(0x70)]())['toString']();return Promise['resolve'](_0x4729ed);}return Promise[_0x156be5(0x20d)](_0x27272c[_0x156be5(0x334)]);}catch(_0x3b2780){return Promise[_0x156be5(0x20d)](_0x3b2780);}}async['saveImage'](_0x37c0b1){var _0x212568=_0x815bf2;let _0x25aeb6='';if(!_0x355265[_0x212568(0x170)](_0x37c0b1['type']))return this[_0x212568(0x1e8)](),Promise[_0x212568(0x20d)](new Error(_0x469d91['ImageUploadStatusType'][_0x212568(0x6e)]));if(_0x37c0b1[_0x212568(0x2f7)]>_0x30c7b5)return this[_0x212568(0x1e8)](),Promise[_0x212568(0x20d)](new Error(_0x469d91[_0x212568(0x1c2)][_0x212568(0x270)]));try{const _0x1e2765=new FormData();_0x1e2765[_0x212568(0x1be)](_0x212568(0x23b),_0x37c0b1);const _0x4986e1=this[_0x212568(0x198)][_0x212568(0x36b)](),_0x4553e0=_0x4986e1==null?void 0x0:_0x4986e1[_0x212568(0x158)]();if(!_0x4553e0)throw new Error('unitId\x20is\x20not\x20found');const _0x1a4b1e=this[_0x212568(0x28d)]()+_0x212568(0x1d7)+_0x37c0b1[_0x212568(0x2f7)][_0x212568(0x301)]()+_0x212568(0x2e5)+_0x35d086[_0x212568(0x282)]+'&assign='+encodeURIComponent(_0x4553e0),_0x38aac2=await(await fetch(_0x1a4b1e,{'method':_0x212568(0x140),'body':_0x1e2765}))[_0x212568(0x38d)]();if(typeof _0x38aac2[_0x212568(0x360)]!='string')return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x469d91[_0x212568(0x1c2)][_0x212568(0x2a1)]));_0x25aeb6=_0x38aac2[_0x212568(0x360)];}catch{return this[_0x212568(0x1e8)](),Promise[_0x212568(0x20d)](new Error(_0x469d91[_0x212568(0x1c2)][_0x212568(0x2a1)]));}return new Promise((_0xbc2ac,_0x196886)=>{var _0x523bd6=_0x212568;const _0x176a0c=new FileReader();_0x176a0c[_0x523bd6(0x3ab)](_0x37c0b1),_0x176a0c['onload']=_0x30b931=>{var _0x2f2a59=_0x523bd6,_0x5ed15e;const _0x4db7dc=(_0x5ed15e=_0x30b931[_0x2f2a59(0x2c2)])==null?void 0x0:_0x5ed15e[_0x2f2a59(0xaf)];if(_0x4db7dc==null){this[_0x2f2a59(0x1e8)](),_0x196886(new Error(_0x469d91[_0x2f2a59(0x1c2)][_0x2f2a59(0x2a1)]));return;}const _0x3d91a7=_0x34be6a['Tools'][_0x2f2a59(0x89)](0x6);_0xbc2ac({'imageId':_0x3d91a7,'imageSourceType':_0x469d91[_0x2f2a59(0x3ed)][_0x2f2a59(0x3ba)],'source':_0x25aeb6,'base64Cache':_0x4db7dc,'status':_0x469d91[_0x2f2a59(0x1c2)][_0x2f2a59(0x15c)]}),this[_0x2f2a59(0x1e8)]();};});}[_0x815bf2(0x28d)](){var _0x4ce034=_0x815bf2,_0x367639,_0x396fd8;const _0x5479bd=this[_0x4ce034(0x287)][_0x4ce034(0x272)](_0x148865),_0x4bd493=this[_0x4ce034(0x287)][_0x4ce034(0x272)](_0x27464f);return(_0x396fd8=(_0x367639=_0x4bd493==null?void 0x0:_0x4bd493[_0x4ce034(0x3e5)])!=null?_0x367639:_0x5479bd)!=null?_0x396fd8:_0x3791ba;}[_0x815bf2(0x2d8)](){var _0x1013a1=_0x815bf2,_0x360bb3,_0x3ffabe;const _0x3829f9=this[_0x1013a1(0x287)][_0x1013a1(0x272)](_0x556125),_0x335d3a=this[_0x1013a1(0x287)]['getConfig'](_0x27464f);return(_0x3ffabe=(_0x360bb3=_0x335d3a==null?void 0x0:_0x335d3a[_0x1013a1(0x346)])!=null?_0x360bb3:_0x3829f9)!=null?_0x3ffabe:_0x1f395c;}[_0x815bf2(0x70)](){var _0x5b549a=_0x815bf2,_0x574e96;const _0x4b4c39=this[_0x5b549a(0x287)][_0x5b549a(0x272)](_0x27464f);return(_0x574e96=_0x4b4c39==null?void 0x0:_0x4b4c39[_0x5b549a(0x2de)])!=null?_0x574e96:location[_0x5b549a(0x2d5)];}[_0x815bf2(0x2d0)](_0x530b44,_0x1ed70f){var _0x4ce22e=_0x815bf2;return _0x530b44[_0x4ce22e(0x3f1)](_0x4ce22e(0x286),_0x1ed70f);}['_decreaseWaiting'](){var _0x166e00=_0x815bf2;this['_waitCount']-=0x1,this[_0x166e00(0x1d0)][_0x166e00(0x14a)](this[_0x166e00(0x2e6)]);}},_0x52c1c0['CollaborationImageIoService']=_0x4624c9([_0x3a9159(0x0,_0x34be6a[_0x815bf2(0x306)](_0x44bd51['HTTPService'])),_0x3a9159(0x1,_0x34be6a[_0x815bf2(0x1e5)]),_0x3a9159(0x2,_0x34be6a['Inject'](_0x34be6a['IUniverInstanceService']))],_0x52c1c0[_0x815bf2(0x403)]);var _0x52fc95=Object[_0x815bf2(0x85)],_0x422426=(_0x3e545d,_0x5ef388,_0x4d6092,_0x447f68)=>{var _0x5dd57d=_0x815bf2;for(var _0x39a261=_0x447f68>0x1?void 0x0:_0x447f68?_0x52fc95(_0x5ef388,_0x4d6092):_0x5ef388,_0x5168f5=_0x3e545d[_0x5dd57d(0x269)]-0x1,_0x4d0c97;_0x5168f5>=0x0;_0x5168f5--)(_0x4d0c97=_0x3e545d[_0x5168f5])&&(_0x39a261=_0x4d0c97(_0x39a261)||_0x39a261);return _0x39a261;},_0x49cf7e=(_0x3f3bca,_0x4f2497)=>(_0x4abcac,_0x577101)=>_0x4f2497(_0x4abcac,_0x577101,_0x3f3bca);const _0x4ef54f=_0x815bf2(0x27e);_0x52c1c0[_0x815bf2(0x2eb)]=class{constructor(_0x4de69f,_0x2566be){var _0x288785=_0x815bf2;this[_0x288785(0x287)]=_0x4de69f,this[_0x288785(0x2f4)]=_0x2566be;}[_0x815bf2(0x7d)](){var _0x1a346d=_0x815bf2,_0x2aef35,_0xf30cac;const _0x17527b=this[_0x1a346d(0x287)][_0x1a346d(0x272)](_0x791a68),_0x1dcdc5=this[_0x1a346d(0x287)][_0x1a346d(0x272)](_0x27464f);return(_0xf30cac=(_0x2aef35=_0x1dcdc5==null?void 0x0:_0x1dcdc5['authzUrl'])!=null?_0x2aef35:_0x17527b)!=null?_0xf30cac:_0x4ef54f;}async[_0x815bf2(0x2ef)](_0x2765f4){var _0x279d4b=_0x815bf2;const _0x43eb59=this['_getAPIPrefixPath']()+_0x279d4b(0x13a);return{'list':[{'title':_0x279d4b(0x126),'mentions':(await this[_0x279d4b(0x2f4)][_0x279d4b(0x33c)](_0x43eb59,{'params':{'objectID':_0x2765f4[_0x279d4b(0x32a)],'unitID':_0x2765f4[_0x279d4b(0x32a)]}}))[_0x279d4b(0x1c6)][_0x279d4b(0x1e3)]['map'](_0x3a449d=>({'objectId':_0x3a449d['id'],'name':_0x3a449d[_0x279d4b(0xa6)][_0x279d4b(0x219)],'metadata':{'icon':_0x3a449d[_0x279d4b(0xa6)][_0x279d4b(0x82)]},'label':_0x3a449d[_0x279d4b(0xa6)][_0x279d4b(0x219)],'objectType':_0x34be6a[_0x279d4b(0x311)][_0x279d4b(0x194)]})),'metadata':{},'type':_0x34be6a[_0x279d4b(0x311)]['PERSON']}]};}},_0x52c1c0[_0x815bf2(0x2eb)]=_0x422426([_0x49cf7e(0x0,_0x34be6a['Inject'](_0x34be6a['IConfigService'])),_0x49cf7e(0x1,_0x34be6a[_0x815bf2(0x306)](_0x44bd51[_0x815bf2(0x2ac)]))],_0x52c1c0[_0x815bf2(0x2eb)]);var _0x337a90=Object[_0x815bf2(0x85)],_0x5e3216=(_0x4d531b,_0x527154,_0x4052bf,_0x5b1684)=>{for(var _0x43a24f=_0x5b1684>0x1?void 0x0:_0x5b1684?_0x337a90(_0x527154,_0x4052bf):_0x527154,_0x41887a=_0x4d531b['length']-0x1,_0x16b159;_0x41887a>=0x0;_0x41887a--)(_0x16b159=_0x4d531b[_0x41887a])&&(_0x43a24f=_0x16b159(_0x43a24f)||_0x43a24f);return _0x43a24f;},_0x1268b7=(_0x8b32e6,_0x1e063e)=>(_0x5da977,_0x264d2c)=>_0x1e063e(_0x5da977,_0x264d2c,_0x8b32e6);let _0x3d1a86=class extends _0x34be6a['RxDisposable']{constructor(_0x16d1de,_0x2c854f,_0x257129,_0x4d5f11,_0x3e482d){var _0x3e4859=_0x815bf2;super(),this[_0x3e4859(0x3a7)]=_0x16d1de,this[_0x3e4859(0x198)]=_0x2c854f,this['_permissionService']=_0x257129,this['_collaborationSessionService']=_0x4d5f11,this[_0x3e4859(0x30d)]=_0x3e482d,this['_initUnitPermissionChange'](),this[_0x3e4859(0x181)]();}['_initCloseConn'](){var _0x331bfe=_0x815bf2;const _0x186879=async _0x27a11a=>{var _0x36e44c=_0x51d3;(await this[_0x36e44c(0xdc)][_0x36e44c(0x265)](_0x27a11a))[_0x36e44c(0x3e4)][_0x36e44c(0x108)](_0x1fd352[_0x36e44c(0x3b3)](_0x589d78=>_0x589d78[_0x36e44c(0x362)]===_0x13d03a[_0x36e44c(0x240)][_0x36e44c(0x143)]),_0x1fd352[_0x36e44c(0x300)](this[_0x36e44c(0x32b)]))[_0x36e44c(0x2b4)](_0x5b2e8c=>{var _0x5a3b18=_0x36e44c;const _0x118a38=_0x5b2e8c,{reason:_0x4ca187}=_0x118a38['data'];this[_0x5a3b18(0x30d)][_0x5a3b18(0x31c)]({'id':_0x5bc74c[_0x5a3b18(0x92)],'data':_0x4ca187}),this['_permissionService']['updatePermissionPoint'](new _0xa0870f[(_0x5a3b18(0x29c))](_0x27a11a)['id'],!0x1),this[_0x5a3b18(0xdc)][_0x5a3b18(0x1f9)](_0x27a11a);});};_0x325255[_0x331bfe(0x2ab)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x34be6a[_0x331bfe(0x38f)][_0x331bfe(0x10d)]),this[_0x331bfe(0x198)]['getTypeOfUnitAdded$'](_0x34be6a['UniverInstanceType']['UNIVER_DOC']))[_0x331bfe(0x108)](_0x1fd352['map'](_0x4a021b=>_0x4a021b[_0x331bfe(0x158)]()),_0x1fd352['filter'](_0x427d5=>!_0x34be6a[_0x331bfe(0x33d)](_0x427d5)),_0x1fd352[_0x331bfe(0x300)](this[_0x331bfe(0x32b)]))[_0x331bfe(0x2b4)](_0x1d6d87=>{_0x186879(_0x1d6d87);});}['_initUnitPermissionChange'](){var _0x201bf8=_0x815bf2;const _0x484e33=async _0x1cde4e=>{var _0x4965bb=_0x51d3;const _0xf6152c=await this['_collaborationSessionService'][_0x4965bb(0x265)](_0x1cde4e),_0xcd9fe=this[_0x4965bb(0x3a7)][_0x4965bb(0x33c)](_0xa0870f['SheetPermissionInitController']);_0xf6152c['event$'][_0x4965bb(0x108)](_0x1fd352[_0x4965bb(0x3b3)](_0x16533e=>_0x16533e[_0x4965bb(0x362)]===_0x13d03a[_0x4965bb(0x240)][_0x4965bb(0x78)]),_0x1fd352[_0x4965bb(0x300)](this[_0x4965bb(0x32b)]))[_0x4965bb(0x2b4)](_0x4d01b=>{var _0x34dd74=_0x4965bb;const _0x175a2b=_0x4d01b,{objectId:_0x4a0760}=_0x175a2b[_0x34dd74(0x135)];_0x4a0760===_0x1cde4e?_0xcd9fe[_0x34dd74(0x339)](_0x1cde4e):_0xcd9fe['refreshPermission'](_0x1cde4e,_0x4a0760);});};_0x325255[_0x201bf8(0x2ab)](this[_0x201bf8(0x198)][_0x201bf8(0x242)](_0x34be6a[_0x201bf8(0x38f)]['UNIVER_SHEET']))['pipe'](_0x1fd352[_0x201bf8(0x3e8)](_0xbcbf1a=>_0xbcbf1a['getUnitId']()),_0x1fd352[_0x201bf8(0x3b3)](_0x5312bd=>!_0x34be6a['isInternalEditorID'](_0x5312bd)),_0x1fd352[_0x201bf8(0x300)](this[_0x201bf8(0x32b)]))[_0x201bf8(0x2b4)](_0x4247a=>{_0x484e33(_0x4247a);});}};_0x3d1a86=_0x5e3216([_0x1268b7(0x0,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x15a)])),_0x1268b7(0x1,_0x34be6a[_0x815bf2(0x310)]),_0x1268b7(0x2,_0x34be6a[_0x815bf2(0x2fe)]),_0x1268b7(0x3,_0x34be6a[_0x815bf2(0x306)](_0x52c1c0[_0x815bf2(0x1ae)])),_0x1268b7(0x4,_0x34be6a['Inject'](_0x1cf3a4))],_0x3d1a86);var _0x3023d4=Object[_0x815bf2(0x85)],_0x39400c=(_0x4a4afb,_0x285cdb,_0x56737e,_0x3fb216)=>{var _0x11a801=_0x815bf2;for(var _0x4991af=_0x3fb216>0x1?void 0x0:_0x3fb216?_0x3023d4(_0x285cdb,_0x56737e):_0x285cdb,_0x432982=_0x4a4afb[_0x11a801(0x269)]-0x1,_0x258ef7;_0x432982>=0x0;_0x432982--)(_0x258ef7=_0x4a4afb[_0x432982])&&(_0x4991af=_0x258ef7(_0x4991af)||_0x4991af);return _0x4991af;},_0x1ab566=(_0x1c66a3,_0x5e6149)=>(_0x4623b5,_0x9936c)=>_0x5e6149(_0x4623b5,_0x9936c,_0x1c66a3);_0x52c1c0[_0x815bf2(0x2fc)]=class{constructor(_0x1b79ff,_0x9db460){this['_configService']=_0x1b79ff,this['_httpService']=_0x9db460;}async[_0x815bf2(0x36c)](_0x189674,_0x224746){var _0x108c7b=_0x815bf2,_0x40d82f;const {unitID:_0x449e43,type:_0x317601,revision:_0x141694=0x0}=_0x224746,_0x7b6b8e=this[_0x108c7b(0x1a3)]()+'/'+_0x317601+_0x108c7b(0x131)+_0x449e43+'/rev/'+_0x141694,_0xbb903a=(await this[_0x108c7b(0x132)][_0x108c7b(0x33c)](_0x7b6b8e))[_0x108c7b(0x1c6)],_0x5a3585=(_0x40d82f=_0xbb903a['snapshot'])==null?void 0x0:_0x40d82f[_0x108c7b(0x80)];if(_0x5a3585){const _0x5f224c=_0x5a3585==null?void 0x0:_0x5a3585[_0x108c7b(0x303)],_0x1c2e4f=_0x13d03a[_0x108c7b(0x332)][_0x108c7b(0x271)](_0x13d03a['b64DecodeUnicode'](_0x5f224c));_0x5a3585['originalMeta']=_0x1c2e4f,Object[_0x108c7b(0x172)](_0x5a3585[_0x108c7b(0x3ae)])[_0x108c7b(0x1f5)](([,_0x392c0a])=>{var _0x42ebb6=_0x108c7b;const _0x296ff1=_0x392c0a[_0x42ebb6(0x303)],_0x1523ca=_0x13d03a[_0x42ebb6(0x332)]['encode'](_0x13d03a[_0x42ebb6(0x77)](_0x296ff1));_0x392c0a[_0x42ebb6(0x303)]=_0x1523ca;});}return _0xbb903a;}async[_0x815bf2(0x124)](_0x1a7e51,_0x53be82){var _0x504811=_0x815bf2;const {unitID:_0x191a9f,type:_0x1878b4,blockID:_0x55666b}=_0x53be82,_0x685921=this[_0x504811(0x184)]()+'/'+_0x1878b4+_0x504811(0x131)+_0x191a9f+_0x504811(0x341)+_0x55666b;return(await this[_0x504811(0x132)][_0x504811(0x33c)](_0x685921))['body'];}async[_0x815bf2(0x11a)](_0x367ff8,_0x187dc7){var _0x2846e3=_0x815bf2;const {unitID:_0x348472,type:_0x4b01af,blockID:_0x258c3c}=_0x187dc7,_0xba8730=this['_getAPIPrefix']()+_0x2846e3(0x341)+_0x4b01af+_0x2846e3(0x131)+_0x348472+'/block/'+_0x258c3c;return(await this[_0x2846e3(0x132)][_0x2846e3(0x33c)](_0xba8730))[_0x2846e3(0x1c6)];}async['fetchMissingChangesets'](_0x1faea9,_0x1b055c){var _0x21ab6e=_0x815bf2;const {unitID:_0x39c0c0,type:_0x1a26d5,from:_0x3d7826,to:_0xb5cb7e}=_0x1b055c,_0x534190=this[_0x21ab6e(0x184)]()+'/'+_0x1a26d5+'/unit/'+_0x39c0c0+'/fetchmissing?from='+_0x3d7826+_0x21ab6e(0x88)+_0xb5cb7e;return(await this['_httpService'][_0x21ab6e(0x33c)](_0x534190))[_0x21ab6e(0x1c6)];}[_0x815bf2(0x1a3)](){var _0x5b5a3d=_0x815bf2,_0x5807dd;return(_0x5807dd=this['_configService'][_0x5b5a3d(0x272)](_0x49cc8e))!=null?_0x5807dd:this[_0x5b5a3d(0x184)]();}[_0x815bf2(0x184)](){var _0x410674=_0x815bf2,_0x402412,_0x27f852;const _0x357e2d=this['_configService'][_0x410674(0x272)](_0x457896),_0x39a11d=this['_configService'][_0x410674(0x272)](_0x27464f);return(_0x27f852=(_0x402412=_0x39a11d==null?void 0x0:_0x39a11d[_0x410674(0x2ec)])!=null?_0x402412:_0x357e2d)!=null?_0x27f852:_0x14feb9;}async[_0x815bf2(0x201)](_0x342671,_0xc76915){var _0x32f81e=_0x815bf2;const _0xf9cf03='/universer-api/snapshot/'+_0xc76915[_0x32f81e(0x32c)]+'/unit/'+_0xc76915['unitID']+_0x32f81e(0x3ee);return(await this['_httpService'][_0x32f81e(0x33c)](_0xf9cf03,{'params':{'resourceId':JSON[_0x32f81e(0x182)](_0xc76915[_0x32f81e(0x378)])}}))['body'];}[_0x815bf2(0x21e)](){var _0x3dda7e=_0x815bf2;throw new Error(_0x3dda7e(0x34f));}[_0x815bf2(0x28c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x815bf2(0x19a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x815bf2(0x3e7)](){var _0x56e7d2=_0x815bf2;throw new Error(_0x56e7d2(0x34f));}[_0x815bf2(0x22a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x52c1c0[_0x815bf2(0x2fc)]=_0x39400c([_0x1ab566(0x0,_0x34be6a[_0x815bf2(0x1e5)]),_0x1ab566(0x1,_0x34be6a['Inject'](_0x44bd51['HTTPService']))],_0x52c1c0[_0x815bf2(0x2fc)]);var _0x17e297=Object['getOwnPropertyDescriptor'],_0x25fbcd=(_0x2b781d,_0xe029ab,_0x3873ad,_0x43611a)=>{var _0xf5eac=_0x815bf2;for(var _0x4e3802=_0x43611a>0x1?void 0x0:_0x43611a?_0x17e297(_0xe029ab,_0x3873ad):_0xe029ab,_0x55422a=_0x2b781d[_0xf5eac(0x269)]-0x1,_0x38fa61;_0x55422a>=0x0;_0x55422a--)(_0x38fa61=_0x2b781d[_0x55422a])&&(_0x4e3802=_0x38fa61(_0x4e3802)||_0x4e3802);return _0x4e3802;},_0x315b3a=(_0x4399e9,_0x4fbf32)=>(_0x542c0a,_0x5b1eec)=>_0x4fbf32(_0x542c0a,_0x5b1eec,_0x4399e9);_0x52c1c0[_0x815bf2(0x247)]=class extends _0x34be6a[_0x815bf2(0x188)]{constructor(_0x3c676a,_0x3f5a22,_0x2e7e65,_0x511aa9,_0x272b3f){var _0x54edf9=_0x815bf2;super(_0x3c676a,_0x3f5a22,_0x2e7e65),this[_0x54edf9(0x1b1)]=_0x511aa9,this['_logService']=_0x272b3f;}[_0x815bf2(0xaa)](_0x22bcdb,_0xa730df){var _0x42e991=_0x815bf2;const _0x493f82=this[_0x42e991(0xb6)](_0x22bcdb);if(_0x493f82)try{const _0x3e6c99=this[_0x42e991(0x196)](_0x493f82,_0xa730df);this[_0x42e991(0x174)](_0x22bcdb,_0x3e6c99);}catch(_0x34e8d8){this[_0x42e991(0x314)][_0x42e991(0x334)](_0x42e991(0x38c),_0x34e8d8),this[_0x42e991(0x17c)](_0x22bcdb);}const _0x20713e=this['_getRedoStack'](_0x22bcdb);if(_0x20713e)try{const _0x81cdd7=this['_transformStack'](_0x20713e,_0xa730df);this[_0x42e991(0x2ea)](_0x22bcdb,_0x81cdd7);}catch(_0x4fe32e){this['_logService'][_0x42e991(0x334)](_0x4fe32e),this[_0x42e991(0x2a4)](_0x22bcdb);}}[_0x815bf2(0x17c)](_0x3538b4){var _0x1e96c8=_0x815bf2;const _0xd315eb=this['_getUndoStack'](_0x3538b4);_0xd315eb&&(_0xd315eb[_0x1e96c8(0x269)]=0x0,this[_0x1e96c8(0x3ec)]());}[_0x815bf2(0x2a4)](_0x3bc662){var _0x4b07df=_0x815bf2;const _0x56b6e9=this[_0x4b07df(0x34a)](_0x3bc662);_0x56b6e9&&(_0x56b6e9['length']=0x0,this[_0x4b07df(0x3ec)]());}[_0x815bf2(0x174)](_0x1c05aa,_0x8737b4){var _0x2a48df=_0x815bf2;this[_0x2a48df(0xe7)][_0x2a48df(0x1c8)](_0x1c05aa,_0x8737b4),this[_0x2a48df(0x3ec)]();}['_substituteRedoStack'](_0x2fb3a9,_0x57e169){var _0x34b5e3=_0x815bf2;this[_0x34b5e3(0x36e)][_0x34b5e3(0x1c8)](_0x2fb3a9,_0x57e169),this[_0x34b5e3(0x3ec)]();}[_0x815bf2(0x196)](_0x3a988e,_0xf11f1d){var _0x46a22f=_0x815bf2;const _0xd5d951=[];let _0x415045=_0xf11f1d,_0x3df069=_0xf11f1d;for(let _0x2bb1da=_0x3a988e[_0x46a22f(0x269)]-0x1;_0x2bb1da>=0x0;_0x2bb1da--){const {unitID:_0xcae0ff,undoMutations:_0x5a2e70,redoMutations:_0x4f08ad}=_0x3a988e[_0x2bb1da],_0x49792d=this['_transformService'][_0x46a22f(0xea)](_0x415045,_0x5a2e70),_0x38c0c5=this[_0x46a22f(0x1b1)]['transformMutationsWithChangeset'](_0x3df069,_0x4f08ad);if(_0x13d03a[_0x46a22f(0x3bf)](_0x49792d)||_0x13d03a[_0x46a22f(0x3bf)](_0x38c0c5)){this[_0x46a22f(0x314)][_0x46a22f(0x334)]('[CollaborationUndoRedoService]',_0x46a22f(0x16a),_0x49792d,_0x38c0c5);break;}_0x415045=_0x49792d[_0x46a22f(0x103)],_0x3df069=_0x38c0c5[_0x46a22f(0x103)],_0xd5d951[_0x46a22f(0x26b)]({'unitID':_0xcae0ff,'undoMutations':_0x49792d[_0x46a22f(0x8f)],'redoMutations':_0x38c0c5[_0x46a22f(0x8f)]});}return _0xd5d951[_0x46a22f(0x3cf)]();}},_0x52c1c0[_0x815bf2(0x247)]=_0x25fbcd([_0x315b3a(0x0,_0x34be6a[_0x815bf2(0x310)]),_0x315b3a(0x1,_0x34be6a['ICommandService']),_0x315b3a(0x2,_0x34be6a['IContextService']),_0x315b3a(0x3,_0x13d03a['ITransformService']),_0x315b3a(0x4,_0x34be6a[_0x815bf2(0x25c)])],_0x52c1c0[_0x815bf2(0x247)]);var _0xda1302=Object[_0x815bf2(0x2c8)],_0x3cd4e1=Object[_0x815bf2(0x85)],_0x1de210=(_0x41aeef,_0x2dbb40,_0x1bb9c3)=>_0x2dbb40 in _0x41aeef?_0xda1302(_0x41aeef,_0x2dbb40,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bb9c3}):_0x41aeef[_0x2dbb40]=_0x1bb9c3,_0x50dfcf=(_0x37cf0e,_0x5aa7b2,_0x497527,_0x392391)=>{var _0xdef9bb=_0x815bf2;for(var _0x3b32d5=_0x392391>0x1?void 0x0:_0x392391?_0x3cd4e1(_0x5aa7b2,_0x497527):_0x5aa7b2,_0x50d8b1=_0x37cf0e[_0xdef9bb(0x269)]-0x1,_0x18813f;_0x50d8b1>=0x0;_0x50d8b1--)(_0x18813f=_0x37cf0e[_0x50d8b1])&&(_0x3b32d5=_0x18813f(_0x3b32d5)||_0x3b32d5);return _0x3b32d5;},_0x5ed3c4=(_0x5348e5,_0x104cc9)=>(_0x42d856,_0x5f0467)=>_0x104cc9(_0x42d856,_0x5f0467,_0x5348e5),_0x374837=(_0x1d954e,_0x43e1a7,_0xb80321)=>_0x1de210(_0x1d954e,_0x43e1a7+'',_0xb80321);const _0x2d6afd=_0x815bf2(0x320);_0x52c1c0[_0x815bf2(0x396)]=class extends _0x34be6a[_0x815bf2(0xca)]{constructor(_0x23b716,_0x216a6f,_0x2e9fc9,_0x438a60){var _0x8691f7=_0x815bf2;super(),_0x2d2abd(this,'_config'),(this['_logService']=_0x216a6f,this[_0x8691f7(0x3a7)]=_0x2e9fc9,this[_0x8691f7(0x287)]=_0x438a60);const {..._0x12ff4e}=_0x34be6a[_0x8691f7(0x2ab)]({},_0x555180,_0x23b716);if(!_0x12ff4e[_0x8691f7(0x3ca)])throw new Error(_0x8691f7(0x36a));this['_config']=_0x12ff4e,this[_0x8691f7(0x287)][_0x8691f7(0x185)](_0x27464f,_0x12ff4e);}[_0x815bf2(0x148)](){var _0xa3f077=_0x815bf2;this[_0xa3f077(0x299)](),this[_0xa3f077(0x26d)]();}[_0x815bf2(0x299)](){var _0x2ae860=_0x815bf2,_0x2601f8,_0x2dcd06;this['_injector']['has'](_0x34be6a[_0x2ae860(0x2da)])&&this[_0x2ae860(0x314)]['error'](_0x2ae860(0x7a),_0x2ae860(0x18e));const _0x2f8943=_0x34be6a[_0x2ae860(0x3de)]([[_0x34be6a[_0x2ae860(0x2da)],{'useClass':_0x52c1c0[_0x2ae860(0x247)]}],[_0x52c1c0[_0x2ae860(0x1ae)]],[_0x52c1c0[_0x2ae860(0xcd)]],[_0x52c1c0[_0x2ae860(0x86)]],[_0xb869a],[_0x5aa0fc],[_0x30f93b],[_0x3d1a86],[_0x1cf3a4],[_0x52c1c0[_0x2ae860(0x283)]],[_0x11fe30,{'useClass':this[_0x2ae860(0x24f)][_0x2ae860(0x3ca)]}],[_0x13d03a['ISnapshotServerService'],{'useClass':_0x52c1c0[_0x2ae860(0x2fc)]}],[_0x34be6a['IAuthzIoService'],{'useClass':_0x52c1c0[_0x2ae860(0x3da)]}],[_0x469d91[_0x2ae860(0x96)],{'useClass':_0x52c1c0[_0x2ae860(0x403)]}],[_0x34be6a['IMentionIOService'],{'useClass':_0x52c1c0[_0x2ae860(0x2eb)]}],[_0x52c1c0[_0x2ae860(0xbd)]],[_0x1ac398]],(_0x2601f8=this[_0x2ae860(0x24f)])==null?void 0x0:_0x2601f8['override']);if(!((_0x2dcd06=this['_config'])!=null&&_0x2dcd06['enableSingleActiveInstanceLock'])){const _0xa2bf53=_0x2f8943[_0x2ae860(0x2ad)](([_0x42c9f6])=>_0x42c9f6===_0x22d99f);_0xa2bf53!==-0x1&&_0x2f8943[_0x2ae860(0xa3)](_0xa2bf53,0x1);}_0x34be6a['registerDependencies'](this[_0x2ae860(0x3a7)],_0x2f8943);}['_initDependencies'](){var _0x269f59=_0x815bf2,_0x45de34,_0x357928,_0x48bcee;this['_injector'][_0x269f59(0x33c)](_0x44bd51[_0x269f59(0x2ac)])[_0x269f59(0x290)]({'priority':0x14,'interceptor':_0x44bd51['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x45de34=this[_0x269f59(0x24f)])!=null&&_0x45de34[_0x269f59(0xad)]||(_0x357928=this['_injector'][_0x269f59(0x33c)](_0x5ad2e2,_0x34be6a[_0x269f59(0x335)][_0x269f59(0xcf)]))==null||_0x357928[_0x269f59(0x2af)](),(_0x48bcee=this[_0x269f59(0x24f)])!=null&&_0x48bcee[_0x269f59(0xce)]&&_0x34be6a[_0x269f59(0xb1)](this[_0x269f59(0x3a7)],[[_0xb869a]]),_0x34be6a[_0x269f59(0xb1)](this[_0x269f59(0x3a7)],[[_0x5aa0fc],[_0x52c1c0[_0x269f59(0xbd)]],[_0x3d1a86]]);}},_0x374837(_0x52c1c0['UniverCollaborationClientPlugin'],_0x815bf2(0x379),_0x2d6afd),_0x52c1c0[_0x815bf2(0x396)]=_0x50dfcf([_0x34be6a['DependentOn'](_0x13d03a[_0x815bf2(0x213)],_0x44bd51['UniverNetworkPlugin']),_0x5ed3c4(0x1,_0x34be6a[_0x815bf2(0x25c)]),_0x5ed3c4(0x2,_0x34be6a[_0x815bf2(0x306)](_0x34be6a[_0x815bf2(0x15a)])),_0x5ed3c4(0x3,_0x34be6a[_0x815bf2(0x1e5)])],_0x52c1c0['UniverCollaborationClientPlugin']),_0x52c1c0[_0x815bf2(0x1ba)]=_0x791a68,_0x52c1c0['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x27464f,_0x52c1c0[_0x815bf2(0xfb)]=_0xda3035,_0x52c1c0[_0x815bf2(0x114)]=_0x1c2458,_0x52c1c0[_0x815bf2(0x79)]=_0xec8af8,_0x52c1c0[_0x815bf2(0xeb)]=_0x5bc74c,_0x52c1c0[_0x815bf2(0x3b8)]=_0x1cf3a4,_0x52c1c0[_0x815bf2(0xd0)]=_0x30f93b,_0x52c1c0[_0x815bf2(0x1ec)]=_0x1e6af2,_0x52c1c0[_0x815bf2(0x20a)]=_0x3dcd15,_0x52c1c0['DEFAULT_WS_SESSION_TICKET_URL']=_0x1dbf60,_0x52c1c0[_0x815bf2(0x207)]=_0x5956ee,_0x52c1c0[_0x815bf2(0x2ed)]=_0x4bbdfe,_0x52c1c0[_0x815bf2(0xc8)]=_0x11fe30,_0x52c1c0[_0x815bf2(0x1cf)]=_0x5ad2e2,_0x52c1c0['INetworkConditionService']=_0x12c005,_0x52c1c0[_0x815bf2(0x253)]=_0x22d99f,_0x52c1c0[_0x815bf2(0x149)]=0x3e8,_0x52c1c0[_0x815bf2(0x24b)]=_0x2345af,_0x52c1c0[_0x815bf2(0x137)]=_0x514ba8,_0x52c1c0['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x4c2966,_0x52c1c0[_0x815bf2(0x8d)]=_0x12a74a,_0x52c1c0[_0x815bf2(0x169)]=_0x167326,_0x52c1c0[_0x815bf2(0x27f)]=_0x457896,_0x52c1c0[_0x815bf2(0x1a7)]=_0x49cc8e,_0x52c1c0[_0x815bf2(0x3c4)]=_0x1f7afd,_0x52c1c0[_0x815bf2(0x15b)]=_0x126d58,_0x52c1c0[_0x815bf2(0x307)]=_0x2f0e24,_0x52c1c0[_0x815bf2(0x12e)]=_0x3fd3bc,_0x52c1c0[_0x815bf2(0x35a)]=_0x2bbe0d,Object['defineProperty'](_0x52c1c0,Symbol[_0x815bf2(0x1c5)],{'value':_0x815bf2(0xe4)});}));
1
+ function _0x3d4a(_0x390370,_0x417855){var _0x207c1d=_0x207c();return _0x3d4a=function(_0x3d4ac5,_0x29ea79){_0x3d4ac5=_0x3d4ac5-0x17a;var _0xa5685=_0x207c1d[_0x3d4ac5];return _0xa5685;},_0x3d4a(_0x390370,_0x417855);}function _0x207c(){var _0x4ef42e=['Encryptor','_resendWithTimeout','getImageSourceCache','hasher','_registerDependencies','Pkcs7','toggleOffline','WorkbookEditablePermission','DataLoaderService','isTransformChangesetsSuccess','_onConflict','saveImage','patch','_doReset','HEARTBEAT_TIMEOUT','getUnitId','c1Prime','_getAPIPrefixPath','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','Hasher','getMemberID','close$','/fetchmissing?from=','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_getUploadFileURL','randomUUID','_initUnitPermissionChange','telemetry\x20info\x20is\x20not\x20initialized','requestParams','LEAVE','_initDependencies','_socketReady','getValue','UniverInstanceType','Decryptor','set','SnapshotService','dispose$','YUUMI_SUBSCRIPTION_NOT_FOUND','has','onTransformRemoteChangesetByIMECache','UNKNOWN_CMD','_scheduleCompleteTimestamp','batchAllowed','_xformMode','/-/object/list','/rev/','Module','_socket','from','FETCH_MISSING','_clearTimeoutTimer','@univerjs/network','SnapshotServerOverHTTPService','ISnapshotServerService','shareReplay','ciphertext','getGlobalObject','commentUpdateEvent','getSnapshotAPIPath','allowed','_sessions','Injector','keySize','name','firstValueFrom','[SyncedState]:\x20received\x20acknowledgement.','_executeRemoteChangeset','reset','UPDATE_PERMISSION_OBJ','sendChangesetTimeout','subscribe','pending','10yiihzc','unitId','_retryCount','indexOf','_clearScheduledTask','onRemoteChangeset','LICENSE_IMPORT_SIZE_EXCEEDED','UNIVER_PROJECT','_entityInit$','/collaborator','_append','image/jpeg','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_commentUpdate$','_socketService','mode','BehaviorSubject','\x0aAfter:\x20','AWAITING_WITH_PENDING','PERMISSION_REJ','ICommandService','take','getLocalCacheKey','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','transformSelections','ImageSourceType','_sendingTimer','UNISCRIPT_RUN','_parse','APPLY_PERMISSION_DENIED','_DEC_XFORM_MODE','onCommandExecuted','_updateState','textEncoder','_undoRedoService','LIVESHARE_TERMINATE','unpad','executeCommand','ENSURE_SNAPSHOT_EXECUTION','function','LIVESHARE_FETCH_OPERATIONS','@univerjs-pro/license','createIdentifier','ICollaborationSocketService','RichTextEditingMutation','PasswordBasedCipher','ONLINE','localeService','changesets','INVITE_CODE_HAS_BEEN_UES','164UNyMEp','USERS_LEAVE','_collaborationPaused','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','eventID','_collabSessionService','_exhaustRemoteChangesetQueue','getTypeOfUnitDisposed$','_createInitialState','INVITE_CODE_REQUIRED','/universer-api/snapshot/','bind','mixIn','INGEST','debug','clamp','getTime','isTransformMutationsWithChangesetSuccess','People','post','socket$','PY_RUNTIME_SCRIPT_ERROR','FetchingMissState','registerHTTPInterceptor','location','parseChangesetToProtocol','blockSize','_config','emitEvent','getOwnPropertyDescriptor','SEND_CHANGESET_TIMEOUT','_substituteRedoStack','CollaborationSessionService','_change$','/-/object/-/batch_allowed','addImageSourceCache','/universer-api/authz','type','AwaitingWithPendingState','buffer','SNAPSHOT_INVALID_SNAPSHOT','dispose','rxjs/operators','NoPadding','COMPRESS_MUTATION_APPLY','Univer','JOIN_ROOM_FULL','getRoom','GLOBAL_ROOMS_CNT_EXCEEDS','incrementRevOfUnit','_getSignURL','_event$','save\x20fail\x20reason\x20is\x20','Base64','newCsEvent','[CollaborationSessionService]:\x20socket\x20error','SetSelectionsOperation','encrypt','_replayCachedMutations','_showConflictNotification','listRoles','_shouldReportTelemetry','reverse','CompressMutationService','getUnitOnRev','PendingState','hasOwnProperty','_createHelper','LOGIN_URL_KEY','_hasher','DocCollaborationEntity','compute','_configService','getImage','onTransformState','getCurrentRevOfUnit','5830KVXsJQ','TOO_MANY_REQUESTS','apply','href','list','ImageUploadStatusType','offline','$super','OpenSSL','764019yPZKVy','IDLE','now','onMissingChangesets','HTTPService','encodeURIComponent','ThresholdInterceptorFactory','transformStack\x20failed!','Malformed\x20UTF-8\x20data','_scheduleCollaborationTimeoutTimer','onCommentUpdate','transformUndoRedo','prototype','findIndex','SUCCUSS','fetch_missing','CipherParams','INVALID_ARGUMENT','_imageSourceCache','[DataLoaderService]','finalize','ITelemetryService','SOCKET_FAILED_RETRY','_createInitialStateImpl','COMPRESS_MUTATION_SEND','status$','IUndoRedoService','LocaleService','SHOULD_CLOSE_CONN','updateOfflineData','_instanceService','11704ctDFLg','uniscriptRunEvent','_onJoinRoomEvent','SHA1','_localeService','subUnitId','_listenToNetworkCondition','byteLength','PERSON','c2Prime','routeKey','_collaborationTimeoutTimer','_members','unknown','RETRY_CONNECTING_MAX_COUNT_KEY','UNDEFINED','UniverCore','pluginName','[SyncedState]:\x20received\x20rejection.','_changesetSessionId','closeSession','LIVESHARE_OPERATION','onSendChangeset','_removeRoom','SOCKET_FAILED','ERROR_IMAGE','univer-pro.collaboration-client.network-condition.service','univer-pro.collaboration-client.single-active-unit-service','getTypeOfUnitAdded$','_undoStacks','ILocalCacheService','/universer-api/uniscript','HEARTBEAT_INTERVAL_KEY','YUUMI_RATE_OVER_LIMIT','collaboration_new_changeset','createEncryptor','DependentOn','CollaborativeUndoRedoService','SYNCED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','status','find','_snapshotService','ILogService','/universer-api/user/session-ticket','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','encryptBlock','_handlerCallback','COMPLETION_FINISHED','[CollaborationUndoRedoService]','entries','fetchThroughInterceptors','CollaborationController','encode','toLowerCase','readAsDataURL','_transformStateCache','CommentService','_transformStack','UUID','loginUrlKey','call','unit-cache-','_awaitingChangeset','rng','kdf','Undefined','LICENSE_EXPORT_SIZE_EXCEEDED','APPLY_REJECT','_doFinalize','onTransformIME','RECV','/unit/','msCrypto','isInternalEditorID','awaiting_with_pending','random','stopTime','onMissedChangesetFetched','copyFileMeta','_clearHeartbeatTimer','816297tTnaZv','_socket$','saveSnapshot','userID','actions','initWorkbookPermissionChange','unsubscribe','EvpKDF','extend','transformMutationsWithChangeset','sessionStatus$','Cipher','OTHER_CLIENT_EDITING','_clearLocalCache','permissionRejEvent','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','updatePermissionPoint','[OfflineState]:\x20received\x20acknowledgement.','_unitInfo$','image/jpg','ITransformService','INVALID_INVITE_CODE','COMMENT_UPDATE','/universer-api/oidc/authpage','__creator','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_getSendChangesetTimeout','[CollaborationSessionService]','editingUnit','_type','CollaborationUIEventService','_collaborationSessionService','/universer-api/comb','_telemetryService','socket\x20close','clone','_sendHeartbeatTimer','_minBufferSize','_loadDoc','BASE64','CollaborationImageIoService','_onLocalMutation','_socketMessageSubscription','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','filter','_state','_lockTransition','_initRequestHeader','getFocusedUnit','avatar','IImageIoService','headers','_entities','_retryConnectingTimer','/universer-api/snapshot','SNAPSHOT_HAS_BEEN_REMOVED','ISingleActiveUnitService','complete','deserializeToCombResponse','getCollabEntity$','code','_members$','connection\x20error','mapDocumentTypeToUniverType','toDisposable','getRandomValues','decrypt','@univerjs-pro/collaboration','UnitEmbedded','_doCryptBlock','send','_networkConditionService','_reverseMap','padding','Disposable','hostname','floor','HttpExport','file','_initCloseConn','rxjs','pad','APPLY_NON_SEQUENTIAL_REVISION','updateCollaborator','HELLO','unitID','_map','MemberService','WordArray','defineProperty','error','salt','onRemoteAck','fetchMiss','getInterceptPoints','_cipher','128865EnAckq','setShowComponents','COLLAB_SUBMIT_CHANGESET_URL_KEY','Subject','/allowed','\x20-\x20','Inject','getCurrentUser','synced','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_disableEditing','_submitChangeset','_httpService','mutations','23808iPueTm','StreamCipher','UniverDocs','enableSingleActiveInstanceLock','_transformRemoteChangesetByStateCache','_localCacheService','OFFLINE','getLatestCsReqIdBySid','_transformIMECache','create','crypto','_schedule','online$','state$','UNRECOGNIZED','max','getActiveSheet','COLLAB_WEB_SOCKET_URL_KEY','open$','DEFAULT_COLLAB_WEB_SOCKET_URL','_prevBlock','&to=','@univerjs/drawing','EmptyMutation','size','downloadEndpointUrl','subject','CBC','_handler','_getCurrentRevision','createInstance','session.room-cnt-exceeds','message$','HmacMD5','concatMap','_HTTPService','_nDataBytes','_onRemoteRejected','[UniverCollaborationClientPlugin]','_nRounds','cfg','catch','_iv','onSyncEditingCollabCursor','_changesetReqId','selections','image/png','[CollaborationSession]','NOT_FOUND','join','loadDoc','USER_NOT_INVITED_CODE','_sessionStatus$','body','SheetCollaborationEntity','objects','JOIN_ROOM_NOT_EXISTS','image/bmp','disableLocalCache','getDeserializedSheetBlock','Error\x20on\x20receiving\x20event','OPTIONAL','[PendingState]:\x20unhandled\x20univer\x20type:\x20','SerializableCipher','sessionStatus','_onConnectionOpen','44583300PVzlXG','CollaborationSocketService','APPLY_REVISION_CONFILICT','_roomCreated$','interceptor','PERMISSION_DENIED','?url=','_onUserLeave','_revisionService','onTransformSelections','_oKey','charCodeAt','liveShareOperation','UNIVER_SLIDE','Optional','csAckEvent','stringify','_getCtorByUniverType','includes','_emitMembers','IMentionIOService','AES','[OfflineState]:\x20received\x20rejection.','_hash','APPLY_DUPLICATED','_clearRedo','YUUMI_UNABLE_LOAD_URL','UNIVER_DOC','_startTelemetryCollaborationNewChangeset','_rescheduleHeartbeat','waitForRoom$','asObservable','UniverSheets','isArray','infoRsp','decryptBlock','merge','collaboration-client.local-cache-service','AUTHZ_URL_KEY','toString','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','not_collab','&source=','88vObqER','enc','JOIN_ROOM_FAILED','execute','append','_commandService','override','_eventService','_commentService','UnitStatus','_resendTimer','onRemoteRetry','__Key__','parse','target','FAIL','UniverNetworkPlugin','{fileID}','UNIVER_UNKNOWN','CommandType','onTransformRemoteChangesetByStateCache','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','@univerjs/docs','map','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','forEach','submit\x20changeset\x20error!','_keySchedule','LIVESHARE_REQUEST_HOST','getWorkbookSelections','CollaborationUIEventId','getCollabEntity','refreshPermission','LICENSE_MAX_UNITS_EXCEEDED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','SheetPermissionInitController','push','_transformService','UNIVER_COLLABORATION_CLIENT_PLUGIN','DEFAULT_WS_SESSION_TICKET_URL','_getAPIPrefix','loadSheet','_doProcessBlock','_createHmacHelper','/new_changes','update','_process','reconnect','memberID','\x0aCurrent:\x20','saveChangeset','_loadSheet','session','CollaborationEvent','CHANGESET_SHOULD_RETRY','rev','__esModule','MSG_FOR_ERROR','_clearRetryConnectingTimer','_onOffline','Tools','Utf8','NOT_COLLAB','_sender','_waitForHeartbeatResponse','LIVESHARE_NEW_HOST','_unitID','_singleActiveUnitService','UniverProLicense','reduce','SheetTransformSelectionsService','_userManagerService','MUTATION','HEARTBEAT_TIMEOUT_KEY','reject','reqId','collaborators','roomInfos','loadUnit','equals','CollaborationSession','_clearCollaborationTimeoutTimer','@univerjs/sheets','next','[FetchMissState]','randomBytes','confirm','m2Prime','_tryEnsureSocket','SyncedState','HttpImport','_acknowledgedAwaitingChangeset','ALREADY_EXISTS','OTHER_CLIENTS_EDITING','SUBMIT_CHANGESET','PSEUDO_FETCH_MISSING_RESULT','UNKNOWN_CODE','_onMessage','onlyLocal','awaitingChangeset','ERROR_EXCEED_SIZE','createDecryptor','/object/','_queuedRemoteChangesets','members','objectType','joinEvent','src','transformChangesets','_injector','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','\x20in\x20_schedule.','collaboratorID','close','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_onConnectionFailed','state','_ENC_XFORM_MODE','_applyRemoteChangeset','_getUndoStack','format','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','MentionIoHttpService','getSheetBlock','charAt','length','CHANGESET_REVISION_CONFILICT','shouldCloseConn','default','_roomMembers','HMAC','_unlockTransition','concat','putCollaborators','toggleOnline','setConfig','_status$','_onCombEvent','[PendingState]:\x20received\x20acknowledgement.','UniverDrawing','isPermissionRej','readyForCollab','replace','[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.','/universer-api/stream/file/upload','AuthzIoHttpService','_replaceFileID','responseType','commentUpdate$','isTransformMutationsWithChangesetFailure','_createHandler','/object','params','_toggleOffline','_getLoginPath','/block/','collaboration-client.config','_startCollaboration','generateRandomId','Could\x20not\x20dynamically\x20require\x20\x22','_onRemoteRetry','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_syncEditingCollabCursor','_memberService','INVITE_CODE_ALREADY_BOUND','collabWebSocketUrl','SessionStatus','_transitionLocked','revision','baseRev','sin','_logService','_mode','_data','algo','SNAPSHOT_SERVER_URL_KEY','fromCharCode','UnitSnapshot','SEND_CHANGESET_TIMEOUT_KEY','_snapshotServerService','DisposableCollection','[PendingState]:\x20received\x20rejection.','roles','event$','getUnitType','object','localCacheService','UPDATE_CURSOR','_sheetTransformSelectionsService','getMember','_decreaseWaiting','requireSession','session.room-not-exists','collabSubmitChangesetUrl','abs','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','retryConnectingInterval','RxDisposable','UniverCollaborationPlugin','removeMember','_isPermissionRej','SNAPSHOT_URL_KEY','IAuthzIoService','collaMsg','POST','data','originalMeta','conflict','HEARTBEAT','_univerInstanceService','socketService','PENDING','sequenceExecute','pipe','deepClone','repeat','_checkMissing','UniverCollaborationClientPlugin','_keyPriorReset','clear','INTERNAL_ERROR','_timeoutTimer','cmd','editing\x20status\x20changed\x20to','LOCAL_CACHE_INTERVAL_KEY','_redoStacks','FETCH_MISS','fromCollab','SheetsSelectionsService','takeUntil','NEW_CHANGESETS','ivSize','authzUrl','init','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CHANGESET_ACK','CONFLICT','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','ceil','_transformUndoredo','_stopTelemetryCollaborationNewChangeset','words','univer-pro.collaboration-client-socket-service','_joinRoom','loadOfflineData','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_telemetryInfo','_doCreateSocket','auth.needGotoLoginAlert','_incrementRevisionNumber','_clearUndo','_state$','HmacSHA1','UNIVER_SHEET','toStringTag','DEFAULT_FILE_NAME','_transformSelections','LOCAL_CACHE_INTERVAL','UNAUTHENTICATED','_pendingMutations','parseProtocolChangeset','_init','JOIN','sheets','BlockCipherMode','registerDependencies','key','_invKeySchedule','resourceIDs','_onRecvEvent','getCurrentSelections','SUBMIT_CHANGESET_TIMEOUT','48959vHLXxH','delete','mergeOverrideWithDependencies','setWaitCount','lib','&assign=','_remoteChangesetQueue','CollaborationEntity','slice','_key','_updateStatus','updateMember','BufferedBlockAlgorithm','exports','disposeWithMe','_updateLocalCache','resend','processBlock','IPermissionService','NO_OTHER_CLIENTS_EDITING','IConfigService','change$','_compressMutationService','appendMutation','CLOSE_ROOM','JOIN_ROOM_PERMISSION_DENIED','RevisionService','range','sigBytes','every','get','failed\x20to\x20apply\x20missed\x20changesets!','_substituteUndoStack','LICENSE_DISTRO_REJECTED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onRemoteRej','YUUMI_URL_COL_OUT_OF_RANGE','_permissionService','@univerjs/telemetry','IUniverInstanceService','_onUserJoin','UniverNetwork','onStateChange','AwaitingState','FileId','_waitCount','awaiting','string','socket\x20open.','pauseCollaboration','put','getSheetId','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','uploadFileServerUrl','ReplaySubject','_getDownloadEndpointURL','session.room-full','liveShareNewHost','_onRemoteChangeset','title','splice','_transformRemoteChangesetByIMECache','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','updateCursorEvent','LOGIN_FAILED','USERS_ENTER','MD5','getConfig','_collaborationUIEventService','focused$','objectID','add','fetching\x20missing\x20changesets\x20from\x20','fetchMissingChangesets','2093VSupJa','ConflictState','listCollaborators','_tryReconnect','_candidateSocket','_fetchMissChangesets','sid','_resendTimeout','OfflineState','Base'];_0x207c=function(){return _0x4ef42e;};return _0x207c();}(function(_0x1fb02e,_0x4a7efe){var _0x5300e9=_0x3d4a,_0x34b6f7=_0x1fb02e();while(!![]){try{var _0x4b11e8=parseInt(_0x5300e9(0x3e2))/0x1*(parseInt(_0x5300e9(0x47f))/0x2)+parseInt(_0x5300e9(0x1f7))/0x3+-parseInt(_0x5300e9(0x4b1))/0x4*(-parseInt(_0x5300e9(0x257))/0x5)+parseInt(_0x5300e9(0x265))/0x6*(parseInt(_0x5300e9(0x42c))/0x7)+parseInt(_0x5300e9(0x2d2))/0x8*(parseInt(_0x5300e9(0x186))/0x9)+parseInt(_0x5300e9(0x17d))/0xa*(parseInt(_0x5300e9(0x1a5))/0xb)+-parseInt(_0x5300e9(0x2a7))/0xc;if(_0x4b11e8===_0x4a7efe)break;else _0x34b6f7['push'](_0x34b6f7['shift']());}catch(_0x160eae){_0x34b6f7['push'](_0x34b6f7['shift']());}}}(_0x207c,0x92349),function(_0x22733b,_0xbc43c){var _0xbcd273=_0x3d4a;typeof exports==_0xbcd273(0x38b)&&typeof module<'u'?_0xbc43c(exports,require('@univerjs/core'),require(_0xbcd273(0x247)),require(_0xbcd273(0x4db)),require(_0xbcd273(0x23a)),require(_0xbcd273(0x46a)),require(_0xbcd273(0x408)),require(_0xbcd273(0x2e8)),require(_0xbcd273(0x324)),require('@univerjs/drawing'),require(_0xbcd273(0x4a8))):typeof define==_0xbcd273(0x4a6)&&define['amd']?define(['exports','@univerjs/core',_0xbcd273(0x247),_0xbcd273(0x4db),_0xbcd273(0x23a),_0xbcd273(0x46a),_0xbcd273(0x408),_0xbcd273(0x2e8),'@univerjs/sheets',_0xbcd273(0x27b),_0xbcd273(0x4a8)],_0xbc43c):(_0x22733b=typeof globalThis<'u'?globalThis:_0x22733b||self,_0xbc43c(_0x22733b['UniverProCollaborationClient']={},_0x22733b[_0xbcd273(0x1b5)],_0x22733b['rxjs'],_0x22733b[_0xbcd273(0x247)]['operators'],_0x22733b['UniverProCollaboration'],_0x22733b[_0xbcd273(0x40b)],_0x22733b['UniverTelemetry'],_0x22733b[_0xbcd273(0x267)],_0x22733b[_0xbcd273(0x2c7)],_0x22733b[_0xbcd273(0x35d)],_0x22733b[_0xbcd273(0x316)]));}(this,function(_0x3207bf,_0x48136f,_0xae0ae,_0x4deef5,_0x395ea6,_0x369f04,_0x2ff6be,_0x4d291f,_0x1306f3,_0x43232d,_0xac3b29){'use strict';var _0x53b22d=_0x3d4a;var _0x21709a=Object['defineProperty'],_0x494530=(_0x568ff3,_0x7ab4c6,_0x4404be)=>_0x7ab4c6 in _0x568ff3?_0x21709a(_0x568ff3,_0x7ab4c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4404be}):_0x568ff3[_0x7ab4c6]=_0x4404be,_0x4b46fd=(_0x599110,_0x467c0a,_0x5645d4)=>_0x494530(_0x599110,typeof _0x467c0a!='symbol'?_0x467c0a+'':_0x467c0a,_0x5645d4);const _0x54607f=_0x53b22d(0x381),_0x1c4620=_0x53b22d(0x22d),_0x2d3dbf=_0x53b22d(0x39b),_0x81b763=_0x53b22d(0x4cf),_0x2fd5b4='COLLAB_WEB_SOCKET_URL',_0x18a9b2='ws://127.0.0.1:8000/universer-api/comb/connect',_0x540a2f=_0x53b22d(0x1d2),_0x2a8feb='HEARTBEAT_INTERVAL',_0x336f17=_0x53b22d(0x444),_0x1dd50c='RETRY_CONNECTING_MAX_COUNT',_0x5d37cf=_0x53b22d(0x3d3),_0x22f7a4='COLLAB_SUBMIT_CHANGESET_URL',_0x514982=_0x53b22d(0x217),_0x9e22bc='LOGIN_URL_KEY',_0x3e2daa=_0x53b22d(0x20e),_0x7413c4=_0x53b22d(0x404),_0x42b14e=_0x53b22d(0x1c4);var _0x1e6ab9=(_0x58d11c=>(_0x58d11c[_0x58d11c[_0x53b22d(0x1b4)]=0x0]=_0x53b22d(0x1b4),_0x58d11c[_0x58d11c['OK']=0x1]='OK',_0x58d11c[_0x58d11c[_0x53b22d(0x3ae)]=0x2]='INTERNAL_ERROR',_0x58d11c[_0x58d11c[_0x53b22d(0x2ac)]=0x3]=_0x53b22d(0x2ac),_0x58d11c[_0x58d11c[_0x53b22d(0x295)]=0x4]=_0x53b22d(0x295),_0x58d11c[_0x58d11c[_0x53b22d(0x3d4)]=0x5]='UNAUTHENTICATED',_0x58d11c[_0x58d11c[_0x53b22d(0x32e)]=0x6]=_0x53b22d(0x32e),_0x58d11c[_0x58d11c['INVALID_ARGUMENT']=0x7]=_0x53b22d(0x197),_0x58d11c[_0x58d11c[_0x53b22d(0x17e)]=0x8]='TOO_MANY_REQUESTS',_0x58d11c[_0x58d11c[_0x53b22d(0x1d6)]=0x9]=_0x53b22d(0x1d6),_0x58d11c[_0x58d11c[_0x53b22d(0x422)]=0xa]='LOGIN_FAILED',_0x58d11c[_0x58d11c[_0x53b22d(0x350)]=0x1389]=_0x53b22d(0x350),_0x58d11c[_0x58d11c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x53b22d(0x4d9),_0x58d11c[_0x58d11c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x53b22d(0x22e),_0x58d11c[_0x58d11c[_0x53b22d(0x4a5)]=0x1773]=_0x53b22d(0x4a5),_0x58d11c[_0x58d11c[_0x53b22d(0x1ea)]=0x1b59]=_0x53b22d(0x1ea),_0x58d11c[_0x58d11c[_0x53b22d(0x249)]=0x1b5a]=_0x53b22d(0x249),_0x58d11c[_0x58d11c[_0x53b22d(0x2a9)]=0x1b5b]=_0x53b22d(0x2a9),_0x58d11c[_0x58d11c[_0x53b22d(0x49c)]=0x1b5c]=_0x53b22d(0x49c),_0x58d11c[_0x58d11c[_0x53b22d(0x2bf)]=0x1b5d]=_0x53b22d(0x2bf),_0x58d11c[_0x58d11c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x58d11c[_0x58d11c[_0x53b22d(0x2f3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x58d11c[_0x58d11c[_0x53b22d(0x3bc)]=0x232a]=_0x53b22d(0x3bc),_0x58d11c[_0x58d11c[_0x53b22d(0x485)]=0x232b]=_0x53b22d(0x485),_0x58d11c[_0x58d11c[_0x53b22d(0x1e9)]=0x232c]=_0x53b22d(0x1e9),_0x58d11c[_0x58d11c[_0x53b22d(0x403)]=0x232d]=_0x53b22d(0x403),_0x58d11c[_0x58d11c[_0x53b22d(0x2c1)]=0x2711]=_0x53b22d(0x2c1),_0x58d11c[_0x58d11c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x53b22d(0x406),_0x58d11c[_0x58d11c[_0x53b22d(0x1c6)]=0x2713]=_0x53b22d(0x1c6),_0x58d11c[_0x58d11c[_0x53b22d(0x45c)]=0x2714]=_0x53b22d(0x45c),_0x58d11c[_0x58d11c['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x53b22d(0x4c6),_0x58d11c[_0x58d11c[_0x53b22d(0x4b0)]=0x2ee1]=_0x53b22d(0x4b0),_0x58d11c[_0x58d11c['INVALID_INVITE_CODE']=0x2ee2]=_0x53b22d(0x20c),_0x58d11c[_0x58d11c[_0x53b22d(0x4ba)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x58d11c[_0x58d11c['USER_NOT_INVITED_CODE']=0x2ee4]=_0x53b22d(0x298),_0x58d11c[_0x58d11c[_0x53b22d(0x376)]=0x2ee5]=_0x53b22d(0x376),_0x58d11c[_0x58d11c[_0x53b22d(0x273)]=-0x1]=_0x53b22d(0x273),_0x58d11c))(_0x1e6ab9||{}),_0xb5b2f5=(_0x554610=>(_0x554610[_0x554610[_0x53b22d(0x2e4)]=0x0]='UNIVER_UNKNOWN',_0x554610[_0x554610[_0x53b22d(0x2c2)]=0x1]='UNIVER_DOC',_0x554610[_0x554610['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x554610[_0x554610[_0x53b22d(0x2b4)]=0x3]=_0x53b22d(0x2b4),_0x554610[_0x554610[_0x53b22d(0x486)]=0x4]=_0x53b22d(0x486),_0x554610[_0x554610[_0x53b22d(0x273)]=-0x1]=_0x53b22d(0x273),_0x554610))(_0xb5b2f5||{}),_0x41d905=(_0x5b6577=>(_0x5b6577[_0x5b6577['UNKNOWN_CMD']=0x0]=_0x53b22d(0x45f),_0x5b6577[_0x5b6577[_0x53b22d(0x24b)]=0x1]=_0x53b22d(0x24b),_0x5b6577[_0x5b6577[_0x53b22d(0x3d8)]=0x2]=_0x53b22d(0x3d8),_0x5b6577[_0x5b6577[_0x53b22d(0x453)]=0x3]=_0x53b22d(0x453),_0x5b6577[_0x5b6577['INGEST']=0x4]=_0x53b22d(0x4be),_0x5b6577[_0x5b6577[_0x53b22d(0x3a2)]=0x5]=_0x53b22d(0x3a2),_0x5b6577[_0x5b6577[_0x53b22d(0x1ed)]=0x6]=_0x53b22d(0x1ed),_0x5b6577[_0x5b6577[_0x53b22d(0x273)]=-0x1]='UNRECOGNIZED',_0x5b6577))(_0x41d905||{}),_0x23f71c=(_0x4b4ad4=>(_0x4b4ad4[_0x4b4ad4[_0x53b22d(0x332)]=0x0]=_0x53b22d(0x332),_0x4b4ad4[_0x4b4ad4['OK']=0x1]='OK',_0x4b4ad4[_0x4b4ad4['FAIL']=0x2]=_0x53b22d(0x2e1),_0x4b4ad4[_0x4b4ad4[_0x53b22d(0x4df)]=0x3e9]='JOIN_ROOM_FULL',_0x4b4ad4[_0x4b4ad4[_0x53b22d(0x29d)]=0x3ea]=_0x53b22d(0x29d),_0x4b4ad4[_0x4b4ad4['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x4b4ad4[_0x4b4ad4[_0x53b22d(0x4e1)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x4b4ad4[_0x4b4ad4[_0x53b22d(0x273)]=-0x1]=_0x53b22d(0x273),_0x4b4ad4))(_0x23f71c||{}),_0x36d2c4=(_0x185c8b=>(_0x185c8b[_0x185c8b[_0x53b22d(0x1e8)]=0x0]=_0x53b22d(0x1e8),_0x185c8b[_0x185c8b[_0x53b22d(0x32c)]=0x1]=_0x53b22d(0x32c),_0x185c8b[_0x185c8b[_0x53b22d(0x244)]=0x2]='HttpExport',_0x185c8b[_0x185c8b[_0x53b22d(0x23b)]=0x3]='UnitEmbedded',_0x185c8b[_0x185c8b[_0x53b22d(0x383)]=0x4]=_0x53b22d(0x383),_0x185c8b[_0x185c8b[_0x53b22d(0x273)]=-0x1]=_0x53b22d(0x273),_0x185c8b))(_0x36d2c4||{});const _0x15fbd0=_0x53b22d(0x36e),_0x28ed7c={};var _0x3fc847=(_0x52720a=>(_0x52720a[_0x53b22d(0x203)]=_0x53b22d(0x203),_0x52720a[_0x53b22d(0x2ac)]=_0x53b22d(0x2ac),_0x52720a['CONFLICT']=_0x53b22d(0x3be),_0x52720a[_0x53b22d(0x3fa)]='CLOSE_ROOM',_0x52720a[_0x53b22d(0x2d4)]=_0x53b22d(0x2d4),_0x52720a[_0x53b22d(0x19c)]='SOCKET_FAILED_RETRY',_0x52720a[_0x53b22d(0x1bd)]=_0x53b22d(0x1bd),_0x52720a[_0x53b22d(0x3e1)]=_0x53b22d(0x3e1),_0x52720a))(_0x3fc847||{});class _0x5195dc{constructor(){var _0x40ac32=_0x53b22d;_0x4b46fd(this,_0x40ac32(0x4e4),new _0xae0ae[(_0x40ac32(0x25a))]()),_0x4b46fd(this,_0x40ac32(0x389),this[_0x40ac32(0x4e4)][_0x40ac32(0x2c6)]());}[_0x53b22d(0x4cd)](_0x5b9c06){var _0x3b99bd=_0x53b22d;this[_0x3b99bd(0x4e4)]['next'](_0x5b9c06);}}const _0xf1183e=_0x48136f['createIdentifier'](_0x53b22d(0x1bf));function _0x294ce6(_0x1d25ac){var _0x489ffd=_0x53b22d,_0x498128,_0x7f05b0,_0x3e6099,_0x3fe112,_0x3a5ca2;const _0x4b4325=_0x1d25ac[_0x489ffd(0x39f)],_0x2c9e17=JSON[_0x489ffd(0x2df)](_0x4b4325);switch(_0x2c9e17[_0x489ffd(0x3b0)]){case _0x41d905[_0x489ffd(0x3a2)]:case _0x41d905[_0x489ffd(0x24b)]:{const _0x515fd6=_0x2c9e17[_0x489ffd(0x2c9)];return{..._0x2c9e17,'data':_0x515fd6,'cmd':_0x2c9e17[_0x489ffd(0x3b0)]};}case _0x41d905[_0x489ffd(0x3d8)]:{const _0x43f852=_0x2c9e17['joinRsp'];return{..._0x2c9e17,'data':_0x43f852,'cmd':_0x2c9e17['cmd']};}case _0x41d905[_0x489ffd(0x1ed)]:{const _0x4e85a6=_0x2c9e17[_0x489ffd(0x39d)];switch(_0x4e85a6[_0x489ffd(0x4b5)]){case _0x395ea6[_0x489ffd(0x307)][_0x489ffd(0x492)]:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':(_0x498128=_0x4e85a6[_0x489ffd(0x205)])==null?void 0x0:_0x498128['cs']},'cmd':_0x2c9e17[_0x489ffd(0x3b0)]};case _0x395ea6[_0x489ffd(0x307)][_0x489ffd(0x3bd)]:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':(_0x7f05b0=_0x4e85a6[_0x489ffd(0x2b6)])==null?void 0x0:_0x7f05b0['cs']},'cmd':_0x2c9e17[_0x489ffd(0x3b0)]};case _0x395ea6[_0x489ffd(0x307)]['NEW_CHANGESETS']:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':(_0x3e6099=_0x4e85a6[_0x489ffd(0x4e7)])==null?void 0x0:_0x3e6099['cs']},'cmd':_0x2c9e17['cmd']};case _0x395ea6[_0x489ffd(0x307)]['CHANGESET_REJ']:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':(_0x3fe112=_0x4e85a6['csRejEvent'])==null?void 0x0:_0x3fe112['cs']},'cmd':_0x2c9e17['cmd']};case _0x395ea6[_0x489ffd(0x307)][_0x489ffd(0x308)]:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':(_0x3a5ca2=_0x4e85a6['csShouldRetryEvent'])==null?void 0x0:_0x3a5ca2['cs']},'cmd':_0x2c9e17[_0x489ffd(0x3b0)]};case _0x395ea6[_0x489ffd(0x307)][_0x489ffd(0x38d)]:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':_0x4e85a6[_0x489ffd(0x421)]},'cmd':_0x2c9e17[_0x489ffd(0x3b0)]};case _0x395ea6[_0x489ffd(0x307)][_0x489ffd(0x423)]:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':_0x4e85a6[_0x489ffd(0x33c)]},'cmd':_0x2c9e17[_0x489ffd(0x3b0)]};case _0x395ea6['CollaborationEvent'][_0x489ffd(0x4b2)]:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':_0x4e85a6['leaveEvent']},'cmd':_0x2c9e17[_0x489ffd(0x3b0)]};case _0x395ea6[_0x489ffd(0x307)][_0x489ffd(0x313)]:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':_0x4e85a6[_0x489ffd(0x41b)]},'cmd':_0x2c9e17[_0x489ffd(0x3b0)]};case _0x395ea6[_0x489ffd(0x307)][_0x489ffd(0x4a7)]:case _0x395ea6[_0x489ffd(0x307)][_0x489ffd(0x1ba)]:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':_0x4e85a6[_0x489ffd(0x2b3)]},'cmd':_0x2c9e17['cmd']};case _0x395ea6[_0x489ffd(0x307)][_0x489ffd(0x4a2)]:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':_0x4e85a6['liveShareNewHost']},'cmd':_0x2c9e17['cmd']};case _0x395ea6[_0x489ffd(0x307)][_0x489ffd(0x30b)]:return{..._0x2c9e17,'data':_0x4e85a6,'cmd':_0x2c9e17[_0x489ffd(0x3b0)]};case _0x395ea6[_0x489ffd(0x307)][_0x489ffd(0x20d)]:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':_0x4e85a6[_0x489ffd(0x470)]},'cmd':_0x2c9e17['cmd']};case _0x395ea6[_0x489ffd(0x307)][_0x489ffd(0x47b)]:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':_0x4e85a6['updatePermissionObjEvent']},'cmd':_0x2c9e17['cmd']};case _0x395ea6[_0x489ffd(0x307)]['SHOULD_CLOSE_CONN']:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':_0x4e85a6[_0x489ffd(0x351)]},'cmd':_0x2c9e17[_0x489ffd(0x3b0)]};case _0x395ea6[_0x489ffd(0x307)]['UNISCRIPT_RUN']:return{..._0x2c9e17,'data':{..._0x4e85a6,'data':_0x4e85a6[_0x489ffd(0x1a6)]},'cmd':_0x2c9e17[_0x489ffd(0x3b0)]};default:return _0x2c9e17;}}default:return _0x2c9e17;}}function _0x3cfef6(_0xd73f4a){var _0x58785e=_0x53b22d;switch(_0xd73f4a[_0x58785e(0x3b0)]){case _0x41d905['HEARTBEAT']:case _0x41d905[_0x58785e(0x24b)]:return JSON[_0x58785e(0x2b7)]({'cmd':_0xd73f4a['cmd'],'routeKey':_0xd73f4a[_0x58785e(0x1af)]});case _0x41d905[_0x58785e(0x4be)]:{let _0x315e14;switch(_0xd73f4a[_0x58785e(0x39f)][_0x58785e(0x4b5)]){case _0x395ea6['CollaborationEvent']['UPDATE_CURSOR']:{_0x315e14={'eventID':_0x395ea6[_0x58785e(0x307)][_0x58785e(0x38d)],'updateCursorEvent':_0xd73f4a[_0x58785e(0x39f)]['data']};break;}case _0x395ea6[_0x58785e(0x307)][_0x58785e(0x4b2)]:{_0x315e14={'eventID':_0x395ea6[_0x58785e(0x307)]['USERS_LEAVE'],'leaveEvent':_0xd73f4a['data'][_0x58785e(0x39f)]};break;}case _0x395ea6[_0x58785e(0x307)]['USERS_ENTER']:{_0x315e14={'eventID':_0x395ea6['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0xd73f4a['data'][_0x58785e(0x39f)]};break;}case _0x395ea6[_0x58785e(0x307)][_0x58785e(0x313)]:{_0x315e14={'eventID':_0x395ea6[_0x58785e(0x307)][_0x58785e(0x313)],'liveShareNewHost':_0xd73f4a['data'][_0x58785e(0x39f)]};break;}case _0x395ea6[_0x58785e(0x307)]['LIVESHARE_OPERATION']:{_0x315e14={'eventID':_0x395ea6[_0x58785e(0x307)]['LIVESHARE_OPERATION'],'liveShareOperation':_0xd73f4a[_0x58785e(0x39f)][_0x58785e(0x39f)]};break;}case _0x395ea6[_0x58785e(0x307)][_0x58785e(0x4a2)]:{_0x315e14={'eventID':_0x395ea6[_0x58785e(0x307)][_0x58785e(0x4a2)],'liveShareTerminate':_0xd73f4a[_0x58785e(0x39f)][_0x58785e(0x39f)]};break;}case _0x395ea6[_0x58785e(0x307)]['LIVESHARE_REQUEST_HOST']:{_0x315e14={'eventID':_0x395ea6[_0x58785e(0x307)][_0x58785e(0x2ee)],'liveShareRequestHost':_0xd73f4a[_0x58785e(0x39f)][_0x58785e(0x39f)]};break;}case _0x395ea6['CollaborationEvent'][_0x58785e(0x4a7)]:{_0x315e14={'eventID':_0x395ea6[_0x58785e(0x307)][_0x58785e(0x4a7)]};break;}default:_0x315e14={'eventID':_0xd73f4a[_0x58785e(0x39f)]['eventID']};}return JSON['stringify']({'cmd':_0xd73f4a['cmd'],'routeKey':_0xd73f4a[_0x58785e(0x1af)],'collaMsg':_0x315e14});}case _0x41d905[_0x58785e(0x3d8)]:return JSON['stringify']({'cmd':_0xd73f4a[_0x58785e(0x3b0)],'routeKey':_0xd73f4a[_0x58785e(0x1af)],'joinReq':_0xd73f4a[_0x58785e(0x39f)]});case _0x41d905[_0x58785e(0x453)]:return JSON['stringify']({'cmd':_0xd73f4a[_0x58785e(0x3b0)],'routeKey':_0xd73f4a[_0x58785e(0x1af)],'leaveReq':_0xd73f4a['data']});default:throw new Error(_0x58785e(0x2e7));}}var _0x378b58=Object[_0x53b22d(0x4ce)],_0x3e528b=(_0x4773a2,_0xc636b0,_0x206b14,_0x3de42c)=>{var _0x560be7=_0x53b22d;for(var _0x461fa1=_0x3de42c>0x1?void 0x0:_0x3de42c?_0x378b58(_0xc636b0,_0x206b14):_0xc636b0,_0x1421b6=_0x4773a2[_0x560be7(0x34f)]-0x1,_0x24f1b1;_0x1421b6>=0x0;_0x1421b6--)(_0x24f1b1=_0x4773a2[_0x1421b6])&&(_0x461fa1=_0x24f1b1(_0x461fa1)||_0x461fa1);return _0x461fa1;},_0x23dbdb=(_0x5c9838,_0x54bcd4)=>(_0x4c771e,_0x3c5670)=>_0x54bcd4(_0x4c771e,_0x3c5670,_0x5c9838);const _0x4af2c1=_0x48136f[_0x53b22d(0x4a9)](_0x53b22d(0x3c4));function _0x33fb27(_0x1ea79b,_0xc7a87f,_0x25d2fb){var _0x39883f=_0x53b22d;return _0x1ea79b+'/'+_0xc7a87f+'/unit/'+_0x25d2fb+_0x39883f(0x2fe);}_0x3207bf[_0x53b22d(0x2a8)]=class extends _0x48136f[_0x53b22d(0x241)]{constructor(_0x2c24ce,_0xf08d15,_0x2650c9,_0x3d128c,_0x5276ac){var _0x1e4b40=_0x53b22d;super(),this['_injector']=_0x2c24ce,this[_0x1e4b40(0x263)]=_0xf08d15,this[_0x1e4b40(0x4f9)]=_0x2650c9,this['_logService']=_0x3d128c,this[_0x1e4b40(0x385)]=_0x5276ac;}[_0x53b22d(0x3c9)](_0x1d990c){var _0x2edabc=_0x53b22d;const _0x151ea8=this['_injector'][_0x2edabc(0x400)](_0x369f04['ISocketService']);if(!_0x151ea8)throw new Error(_0x2edabc(0x206));const _0x9b3f62=_0x151ea8['createSocket'](_0x1d990c);if(!_0x9b3f62)throw new Error(_0x2edabc(0x2cf));const _0x45f062=new _0x48136f[(_0x2edabc(0x386))](),_0xc34601=new _0xae0ae[(_0x2edabc(0x25a))]();_0x45f062[_0x2edabc(0x429)](_0x9b3f62[_0x2edabc(0x44b)]['subscribe'](_0x3f28aa=>_0xc34601[_0x2edabc(0x325)](_0x3f28aa))),_0x45f062[_0x2edabc(0x429)](_0x48136f[_0x2edabc(0x237)](()=>_0xc34601['complete']()));const _0x2dc1a8=new _0xae0ae[(_0x2edabc(0x25a))]();_0x45f062[_0x2edabc(0x429)](_0x9b3f62['error$'][_0x2edabc(0x47d)](_0x388fe0=>_0x2dc1a8[_0x2edabc(0x325)](_0x388fe0))),_0x45f062['add'](_0x48136f[_0x2edabc(0x237)](()=>_0x2dc1a8['complete']()));const _0x27f2c0=new _0xae0ae[(_0x2edabc(0x25a))]();_0x45f062[_0x2edabc(0x429)](_0x9b3f62[_0x2edabc(0x285)]['subscribe'](_0x22e6bf=>{var _0x2c4dd8=_0x2edabc;const _0x1b9a88=_0x294ce6(_0x22e6bf);_0x27f2c0[_0x2c4dd8(0x325)](_0x1b9a88);})),_0x45f062[_0x2edabc(0x429)](_0x48136f[_0x2edabc(0x237)](()=>_0x27f2c0['complete']()));let _0x2263e3;const _0x4d1454=()=>{var _0xb016ae=_0x2edabc;_0x2dc1a8[_0xb016ae(0x325)](new Event(_0xb016ae(0x235))),_0xc34601[_0xb016ae(0x325)](new Event(_0xb016ae(0x235))),_0x2263e3[_0xb016ae(0x343)]();};return _0x2263e3={'memberID':'','close$':_0xc34601[_0x2edabc(0x2c6)](),'error$':_0x2dc1a8[_0x2edabc(0x2c6)](),'open$':_0x9b3f62[_0x2edabc(0x277)],'message$':_0x27f2c0['asObservable'](),'send':_0x2a37c0=>{var _0x3ed247=_0x2edabc;if(_0x2a37c0['cmd']===_0x41d905[_0x3ed247(0x4be)]){if(_0x2a37c0[_0x3ed247(0x39f)][_0x3ed247(0x4b5)]===_0x395ea6[_0x3ed247(0x307)][_0x3ed247(0x330)]){this[_0x3ed247(0x262)](_0x2263e3,_0x2a37c0['data'])[_0x3ed247(0x28e)](_0x5d2735=>{var _0x36c5f7=_0x3ed247;this['_logService'][_0x36c5f7(0x251)](_0x5d2735),_0x4d1454();});return;}if(_0x2a37c0['data'][_0x3ed247(0x4b5)]===_0x395ea6[_0x3ed247(0x307)][_0x3ed247(0x468)]){const _0x86570e=_0x2a37c0['data'];this[_0x3ed247(0x431)](_0x86570e)['then'](_0x33566e=>{var _0x4b1fad=_0x3ed247;_0x27f2c0[_0x4b1fad(0x325)]({'cmd':_0x41d905[_0x4b1fad(0x1ed)],'code':_0x23f71c['OK'],'routeKey':_0x86570e[_0x4b1fad(0x39f)][_0x4b1fad(0x24c)],'routeType':'','data':{'eventID':_0x395ea6['CollaborationEvent'][_0x4b1fad(0x331)],'data':{'changesets':_0x33566e}}});})[_0x3ed247(0x28e)](_0x59d5eb=>{var _0x194630=_0x3ed247;this[_0x194630(0x37d)][_0x194630(0x251)](_0x59d5eb),_0x4d1454();});return;}}_0x9b3f62['send'](_0x3cfef6(_0x2a37c0));},'close':()=>{var _0x369034=_0x2edabc;_0x9b3f62[_0x369034(0x343)](),_0x45f062[_0x369034(0x4da)]();}},_0x2263e3;}async[_0x53b22d(0x262)](_0x1aa414,_0x4b44ca){var _0x504b97=_0x53b22d,_0x3437b7,_0x4f7460;const {unitType:_0x4b11bc,unitID:_0x3cb1c4,changeset:_0xc4b8f2}=_0x4b44ca['data'],_0x1486bd={'unitID':_0x3cb1c4,'memberID':_0x1aa414[_0x504b97(0x302)],'type':_0x4b11bc,'changeset':_0x395ea6[_0x504b97(0x4ca)](_0xc4b8f2)},_0x229f97=this[_0x504b97(0x4f9)][_0x504b97(0x425)](_0x22f7a4),_0x1db3ef=this[_0x504b97(0x4f9)]['getConfig'](_0x15fbd0),_0x2ef63f=_0x33fb27((_0x4f7460=(_0x3437b7=_0x1db3ef==null?void 0x0:_0x1db3ef[_0x504b97(0x393)])!=null?_0x3437b7:_0x229f97)!=null?_0x4f7460:_0x514982,_0x4b11bc,_0x3cb1c4);try{await this[_0x504b97(0x263)][_0x504b97(0x4c4)](_0x2ef63f,{'body':_0x1486bd});}catch(_0x4685b8){throw this[_0x504b97(0x37d)]['error'](_0x504b97(0x294),_0x504b97(0x2ec)),_0x4685b8;}}async[_0x53b22d(0x431)](_0x4abbcb){var _0x5e1b49=_0x53b22d;const {unitID:_0x18df05,from:_0x24fd7e,to:_0x11a81a,unitType:_0xc2d773}=_0x4abbcb[_0x5e1b49(0x39f)];return(await this[_0x5e1b49(0x385)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x18df05,'type':_0xc2d773,'from':_0x24fd7e,'to':_0x11a81a}))[_0x5e1b49(0x4af)];}},_0x3207bf['CollaborationSocketService']=_0x3e528b([_0x23dbdb(0x0,_0x48136f['Inject'](_0x48136f[_0x53b22d(0x474)])),_0x23dbdb(0x1,_0x48136f[_0x53b22d(0x25d)](_0x369f04[_0x53b22d(0x18a)])),_0x23dbdb(0x2,_0x48136f[_0x53b22d(0x3f6)]),_0x23dbdb(0x3,_0x48136f[_0x53b22d(0x1d1)]),_0x23dbdb(0x4,_0x395ea6[_0x53b22d(0x46c)])],_0x3207bf[_0x53b22d(0x2a8)]);const _0x55dc8c=_0x53b22d(0x1c7);function _0x20d844(_0x2c760d){var _0x3d43b1=_0x53b22d;return JSON[_0x3d43b1(0x2b7)](_0x2c760d)[_0x3d43b1(0x34f)];}class _0x17905c{constructor(){var _0x49c948=_0x53b22d;_0x4b46fd(this,_0x49c948(0x48c),new _0xae0ae[(_0x49c948(0x25a))]()),_0x4b46fd(this,_0x49c948(0x366),this[_0x49c948(0x48c)][_0x49c948(0x2c6)]());}[_0x53b22d(0x190)](_0x9e9691){var _0x4ba640=_0x53b22d;this['_commentUpdate$'][_0x4ba640(0x325)](_0x9e9691);}}var _0x3762df=Object[_0x53b22d(0x4ce)],_0x410780=(_0x2d71c5,_0x49efe1,_0x320698,_0x212f0d)=>{var _0x435535=_0x53b22d;for(var _0x44f697=_0x212f0d>0x1?void 0x0:_0x212f0d?_0x3762df(_0x49efe1,_0x320698):_0x49efe1,_0x3a9df1=_0x2d71c5[_0x435535(0x34f)]-0x1,_0x113730;_0x3a9df1>=0x0;_0x3a9df1--)(_0x113730=_0x2d71c5[_0x3a9df1])&&(_0x44f697=_0x113730(_0x44f697)||_0x44f697);return _0x44f697;},_0x28c6f8=(_0x5056f4,_0xc38525)=>(_0x4ff701,_0x13978a)=>_0xc38525(_0x4ff701,_0x13978a,_0x5056f4);_0x3207bf['MemberService']=class extends _0x48136f[_0x53b22d(0x241)]{constructor(_0x4e735d,_0x397a33){var _0x2abe83=_0x53b22d;super(),_0x4b46fd(this,'_roomMembers',new Map()),_0x4b46fd(this,_0x2abe83(0x2aa),new _0xae0ae[(_0x2abe83(0x25a))]()),(this[_0x2abe83(0x3a3)]=_0x4e735d,this[_0x2abe83(0x319)]=_0x397a33,this[_0x2abe83(0x3f0)](_0xae0ae[_0x2abe83(0x2cb)](this[_0x2abe83(0x3a3)][_0x2abe83(0x4b8)](_0x48136f[_0x2abe83(0x457)]['UNIVER_SHEET'])['pipe'](_0x4deef5[_0x2abe83(0x2e9)](_0x114163=>_0x114163[_0x2abe83(0x445)]())),this['_univerInstanceService'][_0x2abe83(0x4b8)](_0x48136f[_0x2abe83(0x457)][_0x2abe83(0x2c2)])[_0x2abe83(0x3a7)](_0x4deef5['map'](_0x2b316f=>_0x2b316f[_0x2abe83(0x445)]())),this[_0x2abe83(0x3a3)][_0x2abe83(0x4b8)](_0x48136f[_0x2abe83(0x457)][_0x2abe83(0x2b4)])['pipe'](_0x4deef5[_0x2abe83(0x2e9)](_0x302323=>_0x302323['getUnitId']())))[_0x2abe83(0x47d)](_0x168163=>this[_0x2abe83(0x1bc)](_0x168163))));}[_0x53b22d(0x2c5)](_0x5f0f41){var _0x45a6e9=_0x53b22d;return this[_0x45a6e9(0x353)][_0x45a6e9(0x45d)](_0x5f0f41)?_0xae0ae['of'](this[_0x45a6e9(0x353)][_0x45a6e9(0x400)](_0x5f0f41)):this['_roomCreated$']['pipe'](_0x4deef5[_0x45a6e9(0x2e9)](_0x5c3b04=>{var _0x4319bf=_0x45a6e9;if(_0x5c3b04===_0x5f0f41)return this[_0x4319bf(0x353)][_0x4319bf(0x400)](_0x5c3b04);}));}['setCurrentUser'](_0x1c137c){var _0x50c50a=_0x53b22d;this[_0x50c50a(0x319)]['setCurrentUser'](_0x1c137c);}[_0x53b22d(0x25e)](){var _0x434ca0=_0x53b22d;return this[_0x434ca0(0x319)][_0x434ca0(0x25e)]();}[_0x53b22d(0x3ed)](_0x5227c7,_0x332d34){var _0x2184b7=_0x53b22d;let _0x39c816=this['_roomMembers']['get'](_0x5227c7);_0x39c816||(_0x39c816=new _0x7fa222(),this['_roomMembers'][_0x2184b7(0x459)](_0x5227c7,_0x39c816),this[_0x2184b7(0x2aa)][_0x2184b7(0x325)](_0x5227c7)),_0x39c816[_0x2184b7(0x3ed)](_0x332d34);}[_0x53b22d(0x399)](_0x40256d,_0x26f1d7){var _0x8d8e7=_0x53b22d;const _0x8785e8=this[_0x8d8e7(0x353)]['get'](_0x40256d);_0x8785e8&&_0x8785e8[_0x8d8e7(0x399)](_0x26f1d7);}[_0x53b22d(0x4e0)](_0x23558b){var _0x48bb73=_0x53b22d;return this[_0x48bb73(0x353)][_0x48bb73(0x400)](_0x23558b);}['getMember'](_0x4343fa,_0x2b2ffc){var _0x38bd65=_0x53b22d;const _0x2b6ce7=this['_roomMembers']['get'](_0x4343fa);if(_0x2b6ce7)return _0x2b6ce7[_0x38bd65(0x38f)](_0x2b2ffc);}[_0x53b22d(0x1bc)](_0x3ebe9a){var _0x2aefc8=_0x53b22d;const _0x3db3dd=this[_0x2aefc8(0x353)][_0x2aefc8(0x400)](_0x3ebe9a);_0x3db3dd&&(_0x3db3dd[_0x2aefc8(0x4da)](),this[_0x2aefc8(0x353)][_0x2aefc8(0x3e3)](_0x3ebe9a));}['dispose'](){var _0x497685=_0x53b22d;this['_roomMembers'][_0x497685(0x2eb)](_0x430c1f=>_0x430c1f[_0x497685(0x4da)]()),this[_0x497685(0x353)]['clear'](),this[_0x497685(0x2aa)][_0x497685(0x230)]();}},_0x3207bf[_0x53b22d(0x24e)]=_0x410780([_0x28c6f8(0x0,_0x48136f[_0x53b22d(0x409)]),_0x28c6f8(0x1,_0x48136f[_0x53b22d(0x25d)](_0x48136f['UserManagerService']))],_0x3207bf[_0x53b22d(0x24e)]);class _0x7fa222 extends _0x48136f[_0x53b22d(0x241)]{constructor(){var _0x217cc1=_0x53b22d;super(...arguments),_0x4b46fd(this,_0x217cc1(0x1b1),new Map()),_0x4b46fd(this,_0x217cc1(0x234),new _0xae0ae['BehaviorSubject'](this[_0x217cc1(0x1b1)])),_0x4b46fd(this,'members$',this[_0x217cc1(0x234)][_0x217cc1(0x2c6)]());}[_0x53b22d(0x4da)](){var _0x27f9e5=_0x53b22d;this[_0x27f9e5(0x1b1)]['clear']();}[_0x53b22d(0x3ed)](_0x33a407){var _0x33b337=_0x53b22d;this['_members'][_0x33b337(0x459)](_0x33a407['memberID'],_0x33a407),this[_0x33b337(0x2ba)]();}[_0x53b22d(0x399)](_0x4c140c){var _0x1d350d=_0x53b22d;this[_0x1d350d(0x1b1)]['delete'](_0x4c140c);}[_0x53b22d(0x38f)](_0x349656){var _0x2379d6=_0x53b22d;return this[_0x2379d6(0x1b1)]['get'](_0x349656);}['getAllMembers'](){var _0x2c525a=_0x53b22d;return Array[_0x2c525a(0x467)](this[_0x2c525a(0x1b1)]['values']());}[_0x53b22d(0x2ba)](){var _0x5b7d59=_0x53b22d;this[_0x5b7d59(0x234)]['next'](this['_members']);}}var _0x420c08=Object[_0x53b22d(0x4ce)],_0x467b41=(_0x5e1e5b,_0x362852,_0x288732,_0x40f8e2)=>{for(var _0x3f0cad=_0x40f8e2>0x1?void 0x0:_0x40f8e2?_0x420c08(_0x362852,_0x288732):_0x362852,_0x48f578=_0x5e1e5b['length']-0x1,_0x1ddd70;_0x48f578>=0x0;_0x48f578--)(_0x1ddd70=_0x5e1e5b[_0x48f578])&&(_0x3f0cad=_0x1ddd70(_0x3f0cad)||_0x3f0cad);return _0x3f0cad;},_0x287514=(_0x23452d,_0x19ad1c)=>(_0x530e71,_0x154104)=>_0x19ad1c(_0x530e71,_0x154104,_0x23452d),_0x4178b8=(_0x58229c=>(_0x58229c[_0x58229c[_0x53b22d(0x187)]=0x0]='IDLE',_0x58229c[_0x58229c['JOINING']=0x1]='JOINING',_0x58229c[_0x58229c['OFFLINE']=0x2]=_0x53b22d(0x26b),_0x58229c[_0x58229c[_0x53b22d(0x4ad)]=0x3]=_0x53b22d(0x4ad),_0x58229c))(_0x4178b8||{});const _0x2cab13={[_0x23f71c[_0x53b22d(0x2e1)]]:'session.join-failed',[_0x23f71c['JOIN_ROOM_FULL']]:_0x53b22d(0x41a),[_0x23f71c['JOIN_ROOM_NOT_EXISTS']]:_0x53b22d(0x392),[_0x23f71c[_0x53b22d(0x3fb)]]:'session.room-permission-denied',[_0x23f71c['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x53b22d(0x284)};_0x3207bf[_0x53b22d(0x322)]=class extends _0x48136f['RxDisposable']{constructor(_0x5b92c8,_0x417569,_0x147abc,_0x223229,_0x1d5f9b,_0x34a7bb,_0x574954,_0x476500,_0x126c04){var _0x2a2a12=_0x53b22d;super(),_0x4b46fd(this,_0x2a2a12(0x299),new _0xae0ae[(_0x2a2a12(0x48f))](0x0)),_0x4b46fd(this,_0x2a2a12(0x201),this[_0x2a2a12(0x299)][_0x2a2a12(0x2c6)]()),_0x4b46fd(this,_0x2a2a12(0x4e4),new _0xae0ae[(_0x2a2a12(0x25a))]()),_0x4b46fd(this,'event$',this[_0x2a2a12(0x4e4)][_0x2a2a12(0x2c6)]()),_0x4b46fd(this,_0x2a2a12(0x466)),_0x4b46fd(this,_0x2a2a12(0x221)),_0x4b46fd(this,_0x2a2a12(0x1b0)),_0x4b46fd(this,_0x2a2a12(0x4ee),!0x1),_0x4b46fd(this,_0x2a2a12(0x3c8),null),(this[_0x2a2a12(0x314)]=_0x5b92c8,this[_0x2a2a12(0x37d)]=_0x147abc,this['_configService']=_0x223229,this[_0x2a2a12(0x1a9)]=_0x1d5f9b,this['_memberService']=_0x34a7bb,this[_0x2a2a12(0x2da)]=_0x574954,this['_collaborationUIEventService']=_0x476500,this[_0x2a2a12(0x218)]=_0x126c04,this[_0x2a2a12(0x4ee)]=!!this[_0x2a2a12(0x218)],_0x417569['pipe'](_0xae0ae[_0x2a2a12(0x3b7)](this[_0x2a2a12(0x45b)]))['subscribe'](_0x5db8a5=>{var _0x41ddff=_0x2a2a12,_0x4a25e5;typeof _0x5db8a5>'u'||(this[_0x41ddff(0x466)]=_0x5db8a5,_0x5db8a5?(this[_0x41ddff(0x3c5)](_0x5db8a5),this[_0x41ddff(0x221)]=_0x5db8a5[_0x41ddff(0x285)][_0x41ddff(0x47d)](_0x43fed3=>{var _0x170885=_0x41ddff;_0x43fed3['routeKey']===this[_0x170885(0x314)]&&this[_0x170885(0x35b)](_0x43fed3);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x41ddff(0x299)][_0x41ddff(0x325)](0x2),(_0x4a25e5=this[_0x41ddff(0x221)])==null||_0x4a25e5[_0x41ddff(0x1fd)](),this[_0x41ddff(0x221)]=null));}));}get[_0x53b22d(0x2a5)](){var _0x4534c1=_0x53b22d;return this[_0x4534c1(0x299)]['getValue']();}[_0x53b22d(0x44a)](){var _0x174776=_0x53b22d,_0x4affd3,_0x44023c;return(_0x44023c=(_0x4affd3=this[_0x174776(0x466)])==null?void 0x0:_0x4affd3[_0x174776(0x302)])!=null?_0x44023c:null;}[_0x53b22d(0x4da)](){var _0x3a876f=_0x53b22d;super[_0x3a876f(0x4da)](),this['dispose$']['next'](),this[_0x3a876f(0x45b)][_0x3a876f(0x230)]();}[_0x53b22d(0x343)](){var _0x58847b=_0x53b22d,_0xab3f44,_0x46e8ef;this['_throwTelemetryCollaborationNewChangeset'](),(_0xab3f44=this[_0x58847b(0x466)])==null||_0xab3f44[_0x58847b(0x23d)]({'cmd':_0x41d905['LEAVE'],'data':{'roomID':this[_0x58847b(0x314)]}}),(_0x46e8ef=this[_0x58847b(0x466)])==null||_0x46e8ef['close'](),this[_0x58847b(0x4e4)][_0x58847b(0x230)](),this[_0x58847b(0x299)][_0x58847b(0x230)](),this[_0x58847b(0x4da)]();}[_0x53b22d(0x35b)](_0x779ba8){var _0x2b1a58=_0x53b22d;_0x779ba8['cmd']===_0x41d905['JOIN']?this[_0x2b1a58(0x1a7)](_0x779ba8):_0x779ba8[_0x2b1a58(0x3b0)]===_0x41d905[_0x2b1a58(0x1ed)]&&this['_onRecvEvent'](_0x779ba8);}[_0x53b22d(0x3c5)](_0x12af1e){var _0x32a0a4=_0x53b22d;this[_0x32a0a4(0x299)][_0x32a0a4(0x325)](0x1),_0x12af1e[_0x32a0a4(0x23d)]({'cmd':_0x41d905[_0x32a0a4(0x3d8)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x32a0a4(0x314)]}]}});}[_0x53b22d(0x1a7)](_0x46c7fa){var _0x3d17e8=_0x53b22d,_0x984751;if(_0x46c7fa[_0x3d17e8(0x233)]in _0x2cab13){this['_collaborationUIEventService'][_0x3d17e8(0x4cd)]({'id':_0x3fc847[_0x3d17e8(0x2d4)],'data':_0x2cab13[_0x46c7fa['code']]}),this[_0x3d17e8(0x299)][_0x3d17e8(0x325)](0x2);return;}this[_0x3d17e8(0x299)]['next'](0x3);const _0xd5467b=(_0x984751=_0x46c7fa[_0x3d17e8(0x39f)][_0x3d17e8(0x31f)][this[_0x3d17e8(0x314)]])==null?void 0x0:_0x984751[_0x3d17e8(0x33a)];_0xd5467b&&_0xd5467b[_0x3d17e8(0x2eb)](_0x1b5515=>this['_memberService'][_0x3d17e8(0x3ed)](this[_0x3d17e8(0x314)],_0x1b5515));}[_0x53b22d(0x3df)](_0x476bee){var _0xe2c9db=_0x53b22d;try{const _0xaab8b5=_0x476bee[_0xe2c9db(0x39f)];switch(_0xaab8b5[_0xe2c9db(0x4b5)]){case _0x395ea6['CollaborationEvent'][_0xe2c9db(0x423)]:this[_0xe2c9db(0x40a)](_0xaab8b5),this[_0xe2c9db(0x4e4)][_0xe2c9db(0x325)](_0xaab8b5);break;case _0x395ea6[_0xe2c9db(0x307)][_0xe2c9db(0x4b2)]:this[_0xe2c9db(0x2ae)](_0xaab8b5),this[_0xe2c9db(0x4e4)][_0xe2c9db(0x325)](_0xaab8b5);break;case _0x395ea6[_0xe2c9db(0x307)][_0xe2c9db(0x3bd)]:case _0x395ea6[_0xe2c9db(0x307)][_0xe2c9db(0x308)]:this[_0xe2c9db(0x3c2)](),this[_0xe2c9db(0x323)](),this[_0xe2c9db(0x4e4)][_0xe2c9db(0x325)](_0xaab8b5);break;case _0x395ea6[_0xe2c9db(0x307)][_0xe2c9db(0x30b)]:this[_0xe2c9db(0x37d)][_0xe2c9db(0x251)](_0xe2c9db(0x4e5)+JSON[_0xe2c9db(0x2b7)](_0xaab8b5)),this[_0xe2c9db(0x4e4)][_0xe2c9db(0x325)](_0xaab8b5);break;case _0x395ea6[_0xe2c9db(0x307)][_0xe2c9db(0x20d)]:this[_0xe2c9db(0x2da)][_0xe2c9db(0x190)](_0xaab8b5[_0xe2c9db(0x39f)]),this['_event$'][_0xe2c9db(0x325)](_0xaab8b5);break;default:this[_0xe2c9db(0x4e4)][_0xe2c9db(0x325)](_0xaab8b5);}}catch(_0x30a492){this[_0xe2c9db(0x37d)][_0xe2c9db(0x251)](_0x30a492,_0x476bee);}}[_0x53b22d(0x40a)](_0x5449bb){var _0x171f16=_0x53b22d;this[_0x171f16(0x375)]['updateMember'](this[_0x171f16(0x314)],_0x5449bb[_0x171f16(0x39f)]);}[_0x53b22d(0x2ae)](_0x45b583){var _0x2bda4d=_0x53b22d;this[_0x2bda4d(0x375)]['removeMember'](this[_0x2bda4d(0x314)],_0x45b583[_0x2bda4d(0x39f)][_0x2bda4d(0x302)]);}async[_0x53b22d(0x23d)](_0xb1593e,_0xca74ac){var _0x4b1546=_0x53b22d;if(this[_0x4b1546(0x2a5)]!==0x3||!this[_0x4b1546(0x466)])throw new Error(_0x4b1546(0x344));try{_0xb1593e['eventID']===_0x395ea6['CollaborationEvent']['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4b1546(0x2c3)](_0xb1593e)),this[_0x4b1546(0x466)]['send']({'cmd':_0x41d905[_0x4b1546(0x4be)],'routeKey':_0xca74ac,'routeType':'','data':_0xb1593e});}catch(_0x545a77){this[_0x4b1546(0x37d)][_0x4b1546(0x251)](_0x545a77);}}[_0x53b22d(0x18f)](){var _0x196855=_0x53b22d,_0x40cc5f;this[_0x196855(0x1b0)]=setTimeout(()=>{var _0x4d0bbb=_0x196855;this[_0x4d0bbb(0x1b0)]=null,this[_0x4d0bbb(0x426)][_0x4d0bbb(0x4cd)]({'id':_0x3fc847[_0x4d0bbb(0x3e1)]});},(_0x40cc5f=this[_0x196855(0x4f9)]['getConfig'](_0x336f17))!=null?_0x40cc5f:0x4e20);}[_0x53b22d(0x323)](){var _0x4aaf00=_0x53b22d;this[_0x4aaf00(0x1b0)]&&(clearTimeout(this[_0x4aaf00(0x1b0)]),this[_0x4aaf00(0x1b0)]=null);}[_0x53b22d(0x2c3)](_0x4eb695){var _0x49fdbe=_0x53b22d;if(!this[_0x49fdbe(0x4ee)])return;const {data:_0x11115e}=_0x4eb695,{unitID:_0x10fa1a,changeset:_0x93eccf}=_0x11115e,{mutations:_0x25a0ac,type:_0x5bd06d}=_0x93eccf;this[_0x49fdbe(0x3c8)]={'unitId':_0x10fa1a,'type':_0x5bd06d,'startTime':performance[_0x49fdbe(0x188)](),'stopTime':0x0,'duration':0x0,'size':_0x20d844(_0x25a0ac)};}[_0x53b22d(0x3c2)](){var _0x498976=_0x53b22d;if(this[_0x498976(0x4ee)]){if(!this[_0x498976(0x3c8)]){this['_logService']['error'](_0x498976(0x294),_0x498976(0x451));return;}this[_0x498976(0x3c8)]['stopTime']=performance[_0x498976(0x188)](),this['_telemetryInfo']['duration']=this[_0x498976(0x3c8)][_0x498976(0x1f3)]-this['_telemetryInfo']['startTime'],this['_telemetryService']['capture'](_0x55dc8c,this['_telemetryInfo']),this[_0x498976(0x3c8)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},_0x3207bf[_0x53b22d(0x322)]=_0x467b41([_0x287514(0x2,_0x48136f[_0x53b22d(0x1d1)]),_0x287514(0x3,_0x48136f[_0x53b22d(0x3f6)]),_0x287514(0x4,_0x48136f[_0x53b22d(0x25d)](_0x48136f['LocaleService'])),_0x287514(0x5,_0x48136f['Inject'](_0x3207bf[_0x53b22d(0x24e)])),_0x287514(0x6,_0x48136f[_0x53b22d(0x25d)](_0x17905c)),_0x287514(0x7,_0x48136f[_0x53b22d(0x25d)](_0x5195dc)),_0x287514(0x8,_0x48136f[_0x53b22d(0x2b5)](_0x2ff6be[_0x53b22d(0x19b)]))],_0x3207bf[_0x53b22d(0x322)]);var _0x58f0de=Object[_0x53b22d(0x4ce)],_0x384593=(_0x225979,_0x3859b1,_0x39de82,_0xb507a3)=>{for(var _0x4ad978=_0xb507a3>0x1?void 0x0:_0xb507a3?_0x58f0de(_0x3859b1,_0x39de82):_0x3859b1,_0x26512c=_0x225979['length']-0x1,_0x5e0cba;_0x26512c>=0x0;_0x26512c--)(_0x5e0cba=_0x225979[_0x26512c])&&(_0x4ad978=_0x5e0cba(_0x4ad978)||_0x4ad978);return _0x4ad978;},_0x5034e0=(_0x48a3dd,_0x2f8a8d)=>(_0x53f94b,_0x3fb5b9)=>_0x2f8a8d(_0x53f94b,_0x3fb5b9,_0x48a3dd);_0x3207bf['CollaborationSessionService']=class extends _0x48136f[_0x53b22d(0x241)]{constructor(_0x265e86,_0x3037cb,_0x4532ee,_0x580166,_0x47840e,_0x2cdbfd){var _0xeeb2a2=_0x53b22d;super(),_0x4b46fd(this,_0xeeb2a2(0x1f8),new _0xae0ae['BehaviorSubject'](void 0x0)),_0x4b46fd(this,_0xeeb2a2(0x4c5),this['_socket$'][_0xeeb2a2(0x2c6)]()),_0x4b46fd(this,_0xeeb2a2(0x430),null),_0x4b46fd(this,_0xeeb2a2(0x473),new Map()),_0x4b46fd(this,_0xeeb2a2(0x35a),new _0xae0ae[(_0xeeb2a2(0x48f))](_0x4178b8['IDLE'])),_0x4b46fd(this,'status$',this['_status$'][_0xeeb2a2(0x2c6)]()),_0x4b46fd(this,_0xeeb2a2(0x455),!0x1),_0x4b46fd(this,_0xeeb2a2(0x22c)),_0x4b46fd(this,'_retryCount',0x0),_0x4b46fd(this,'_sendHeartbeatTimer'),_0x4b46fd(this,_0xeeb2a2(0x3af)),(this[_0xeeb2a2(0x33f)]=_0x265e86,this[_0xeeb2a2(0x37d)]=_0x3037cb,this[_0xeeb2a2(0x4f9)]=_0x4532ee,this[_0xeeb2a2(0x48d)]=_0x580166,this['_collaborationUIEventService']=_0x47840e,this[_0xeeb2a2(0x23e)]=_0x2cdbfd,this[_0xeeb2a2(0x1ab)]());}get[_0x53b22d(0x466)](){var _0x7f5442=_0x53b22d;return this[_0x7f5442(0x1f8)][_0x7f5442(0x456)]();}[_0x53b22d(0x1ab)](){var _0x3e018d=_0x53b22d;this[_0x3e018d(0x23e)]&&this['disposeWithMe'](this[_0x3e018d(0x23e)][_0x3e018d(0x271)]['subscribe'](_0x35bc1d=>{var _0xe0ea41=_0x3e018d;_0x35bc1d&&!this[_0xe0ea41(0x466)]&&this[_0xe0ea41(0x301)](),_0x35bc1d||this['_onOffline']();}));}['dispose'](){var _0x279779=_0x53b22d;super[_0x279779(0x4da)](),this[_0x279779(0x30c)](),this[_0x279779(0x469)](),this[_0x279779(0x1f6)](),this[_0x279779(0x473)][_0x279779(0x2eb)](_0x2d5111=>_0x2d5111[_0x279779(0x4da)]()),this['_sessions'][_0x279779(0x3ad)](),this['_status$']['complete']();}async[_0x53b22d(0x391)](_0x5247da){var _0x58611c=_0x53b22d;if(this[_0x58611c(0x473)][_0x58611c(0x45d)](_0x5247da))return this[_0x58611c(0x473)][_0x58611c(0x400)](_0x5247da);this[_0x58611c(0x32a)]();const _0x2801f6=this[_0x58611c(0x33f)][_0x58611c(0x283)](_0x3207bf['CollaborationSession'],_0x5247da,this[_0x58611c(0x1f8)]['asObservable']());return this[_0x58611c(0x473)][_0x58611c(0x459)](_0x5247da,_0x2801f6),_0x2801f6;}[_0x53b22d(0x1b9)](_0xcb842){var _0x1b3828=_0x53b22d,_0x771a10;const _0x468031=this[_0x1b3828(0x473)]['get'](_0xcb842);_0x468031&&(this[_0x1b3828(0x473)][_0x1b3828(0x3e3)](_0xcb842),_0x468031['close']()),this['_sessions']['size']||(_0x771a10=this[_0x1b3828(0x466)])==null||_0x771a10['close']();}['reconnect'](){var _0x4dfcb0=_0x53b22d;this[_0x4dfcb0(0x481)]=0x0,this[_0x4dfcb0(0x30c)](),this[_0x4dfcb0(0x42f)]();}[_0x53b22d(0x30c)](){var _0x21daa1=_0x53b22d;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x21daa1(0x22c)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x132b07=_0x53b22d,_0x5b85e3,_0x26f19b;const _0x38f0ca=this['_configService'][_0x132b07(0x425)](_0x2fd5b4),_0x3cfdb7=this[_0x132b07(0x4f9)][_0x132b07(0x425)](_0x15fbd0),_0x55d857=(_0x26f19b=(_0x5b85e3=_0x3cfdb7==null?void 0x0:_0x3cfdb7[_0x132b07(0x377)])!=null?_0x5b85e3:_0x38f0ca)!=null?_0x26f19b:_0x18a9b2,_0x32de2a=await this[_0x132b07(0x48d)]['createSocket'](_0x55d857);return this[_0x132b07(0x430)]=_0x32de2a,_0x32de2a;}async[_0x53b22d(0x32a)](){var _0x2ff4f1=_0x53b22d,_0x69175f,_0x1625e5;try{const _0x3d7bf1=(_0x1625e5=(_0x69175f=this[_0x2ff4f1(0x466)])!=null?_0x69175f:this[_0x2ff4f1(0x430)])!=null?_0x1625e5:await this['_createSocket']();if(_0x3d7bf1){const _0xf8ab7b=_0x3d7bf1[_0x2ff4f1(0x23d)];_0x3d7bf1[_0x2ff4f1(0x23d)]=_0x5c08ff=>(this['_rescheduleHeartbeat'](),_0xf8ab7b[_0x2ff4f1(0x17f)](_0x3d7bf1,[_0x5c08ff])),_0x3d7bf1[_0x2ff4f1(0x285)]['subscribe'](_0x58b547=>this[_0x2ff4f1(0x333)](_0x3d7bf1,_0x58b547)),_0x3d7bf1['error$']['pipe'](_0x4deef5['take'](0x1))[_0x2ff4f1(0x47d)](_0x4fa3c9=>this[_0x2ff4f1(0x37d)][_0x2ff4f1(0x251)](_0x2ff4f1(0x4e8),_0x4fa3c9)),_0x3d7bf1['open$'][_0x2ff4f1(0x3a7)](_0x4deef5[_0x2ff4f1(0x494)](0x1))[_0x2ff4f1(0x47d)](()=>{var _0x718449=_0x2ff4f1;this[_0x718449(0x2a6)](_0x3d7bf1);}),_0x3d7bf1[_0x2ff4f1(0x44b)][_0x2ff4f1(0x3a7)](_0x4deef5['take'](0x1))['subscribe'](_0x287c7a=>{var _0x5bd7d6=_0x2ff4f1;this['_logService'][_0x5bd7d6(0x4bf)](_0x5bd7d6(0x212),_0x5bd7d6(0x219),_0x287c7a),this[_0x5bd7d6(0x345)]();});}}catch(_0x41d4d3){this[_0x2ff4f1(0x37d)][_0x2ff4f1(0x251)](_0x41d4d3),this['_onConnectionFailed']();}}[_0x53b22d(0x2a6)](_0xd61d9a){var _0x206c70=_0x53b22d;this[_0x206c70(0x37d)][_0x206c70(0x4bf)](_0x206c70(0x212),_0x206c70(0x412)),_0xd61d9a[_0x206c70(0x23d)]({'cmd':_0x41d905[_0x206c70(0x24b)]}),this['_rescheduleHeartbeat']();}[_0x53b22d(0x30d)](){var _0x4e888f=_0x53b22d;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x4e888f(0x325)](_0x4178b8['OFFLINE']),this[_0x4e888f(0x1f8)][_0x4e888f(0x325)](null),this[_0x4e888f(0x469)](),this['_clearHeartbeatTimer']();}[_0x53b22d(0x345)](){var _0x199085=_0x53b22d,_0x1a6c9f;this['_onOffline'](),this[_0x199085(0x481)]<((_0x1a6c9f=this['_configService'][_0x199085(0x425)](_0x1dd50c))!=null?_0x1a6c9f:0x3)?(this[_0x199085(0x426)]['emitEvent']({'id':_0x3fc847['SOCKET_FAILED_RETRY']}),this[_0x199085(0x42f)]()):this[_0x199085(0x426)]['emitEvent']({'id':_0x3fc847[_0x199085(0x1bd)]});}[_0x53b22d(0x42f)](){var _0x441639=_0x53b22d,_0x5261e5;const _0x488db5=this[_0x441639(0x481)],_0x6c9623=this['_configService']['getConfig'](_0x15fbd0),_0x3d42b5=_0x488db5===0x0?0x0:((_0x5261e5=_0x6c9623==null?void 0x0:_0x6c9623[_0x441639(0x396)])!=null?_0x5261e5:0x4e20)*0x2**_0x488db5;this[_0x441639(0x22c)]=setTimeout(()=>{var _0x54a97a=_0x441639;clearTimeout(this[_0x54a97a(0x22c)]),this['_retryConnectingTimer']=null,this[_0x54a97a(0x32a)]();},_0x3d42b5),this[_0x441639(0x481)]+=0x1;}[_0x53b22d(0x333)](_0x498bdc,_0x237676){var _0x55bb07=_0x53b22d;const {cmd:_0x2f7683}=_0x237676;_0x2f7683===_0x41d905[_0x55bb07(0x24b)]&&!this[_0x55bb07(0x455)]&&(_0x498bdc[_0x55bb07(0x302)]=_0x237676[_0x55bb07(0x39f)][_0x55bb07(0x302)],this['_socket$'][_0x55bb07(0x325)](_0x498bdc),this[_0x55bb07(0x35a)][_0x55bb07(0x325)](_0x4178b8[_0x55bb07(0x4ad)]),this[_0x55bb07(0x455)]=!0x0,this[_0x55bb07(0x430)]=null),_0x2f7683===_0x41d905['HEARTBEAT']&&this[_0x55bb07(0x469)](),this[_0x55bb07(0x2c4)]();}[_0x53b22d(0x2c4)](){var _0x1c21b6=_0x53b22d,_0x4ae3f0;this[_0x1c21b6(0x1f6)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4ae3f0=this[_0x1c21b6(0x4f9)][_0x1c21b6(0x425)](_0x2a8feb))!=null?_0x4ae3f0:0x7530);}['_sendHeartbeat'](){var _0x14f88c=_0x53b22d;this[_0x14f88c(0x466)]['send']({'cmd':_0x41d905[_0x14f88c(0x3a2)]}),this['_waitForHeartbeatResponse']();}[_0x53b22d(0x312)](){var _0x17baee=_0x53b22d,_0x53bf9d;this['_timeoutTimer']=setTimeout(()=>this[_0x17baee(0x345)](),(_0x53bf9d=this[_0x17baee(0x4f9)][_0x17baee(0x425)](_0x336f17))!=null?_0x53bf9d:0x4e20);}[_0x53b22d(0x1f6)](){var _0x4a6351=_0x53b22d;this[_0x4a6351(0x21b)]!=null&&(clearTimeout(this[_0x4a6351(0x21b)]),this[_0x4a6351(0x21b)]=null);}[_0x53b22d(0x469)](){var _0x5cac06=_0x53b22d;this[_0x5cac06(0x3af)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x5cac06(0x3af)]=null);}},_0x3207bf[_0x53b22d(0x4d1)]=_0x384593([_0x5034e0(0x0,_0x48136f[_0x53b22d(0x25d)](_0x48136f['Injector'])),_0x5034e0(0x1,_0x48136f[_0x53b22d(0x1d1)]),_0x5034e0(0x2,_0x48136f[_0x53b22d(0x3f6)]),_0x5034e0(0x3,_0x4af2c1),_0x5034e0(0x4,_0x48136f['Inject'](_0x5195dc)),_0x5034e0(0x5,_0x48136f[_0x53b22d(0x2b5)](_0xf1183e))],_0x3207bf['CollaborationSessionService']);const _0x2561e3=[];for(let _0xf82fab=0x0;_0xf82fab<0x100;++_0xf82fab)_0x2561e3[_0x53b22d(0x2f6)]((_0xf82fab+0x100)[_0x53b22d(0x2ce)](0x10)[_0x53b22d(0x3ea)](0x1));function _0x49d966(_0x14a71a,_0x2dc85a=0x0){var _0xa881c3=_0x53b22d;return(_0x2561e3[_0x14a71a[_0x2dc85a+0x0]]+_0x2561e3[_0x14a71a[_0x2dc85a+0x1]]+_0x2561e3[_0x14a71a[_0x2dc85a+0x2]]+_0x2561e3[_0x14a71a[_0x2dc85a+0x3]]+'-'+_0x2561e3[_0x14a71a[_0x2dc85a+0x4]]+_0x2561e3[_0x14a71a[_0x2dc85a+0x5]]+'-'+_0x2561e3[_0x14a71a[_0x2dc85a+0x6]]+_0x2561e3[_0x14a71a[_0x2dc85a+0x7]]+'-'+_0x2561e3[_0x14a71a[_0x2dc85a+0x8]]+_0x2561e3[_0x14a71a[_0x2dc85a+0x9]]+'-'+_0x2561e3[_0x14a71a[_0x2dc85a+0xa]]+_0x2561e3[_0x14a71a[_0x2dc85a+0xb]]+_0x2561e3[_0x14a71a[_0x2dc85a+0xc]]+_0x2561e3[_0x14a71a[_0x2dc85a+0xd]]+_0x2561e3[_0x14a71a[_0x2dc85a+0xe]]+_0x2561e3[_0x14a71a[_0x2dc85a+0xf]])[_0xa881c3(0x1dc)]();}let _0x9d773e;const _0x6e323a=new Uint8Array(0x10);function _0x2daec6(){var _0x94cf80=_0x53b22d;if(!_0x9d773e){if(typeof crypto>'u'||!crypto[_0x94cf80(0x238)])throw new Error(_0x94cf80(0x3bf));_0x9d773e=crypto[_0x94cf80(0x238)][_0x94cf80(0x4bc)](crypto);}return _0x9d773e(_0x6e323a);}const _0x3d74d6={'randomUUID':typeof crypto<'u'&&crypto[_0x53b22d(0x44f)]&&crypto['randomUUID'][_0x53b22d(0x4bc)](crypto)};function _0xb8113f(_0x367d7d,_0x4eb945,_0x3da86e){var _0x3eaa67=_0x53b22d,_0x31a796,_0x13cdbd,_0x124104;if(_0x3d74d6['randomUUID']&&!_0x367d7d)return _0x3d74d6[_0x3eaa67(0x44f)]();_0x367d7d=_0x367d7d||{};const _0x35976c=(_0x124104=(_0x13cdbd=_0x367d7d[_0x3eaa67(0x1f2)])!=null?_0x13cdbd:(_0x31a796=_0x367d7d[_0x3eaa67(0x1e6)])==null?void 0x0:_0x31a796['call'](_0x367d7d))!=null?_0x124104:_0x2daec6();if(_0x35976c['length']<0x10)throw new Error(_0x3eaa67(0x448));return _0x35976c[0x6]=_0x35976c[0x6]&0xf|0x40,_0x35976c[0x8]=_0x35976c[0x8]&0x3f|0x80,_0x49d966(_0x35976c);}const _0x132fc9=_0x48136f[_0x53b22d(0x4a9)](_0x53b22d(0x2cc));function _0x841c44(_0x1cc5ae){var _0x258c14=_0x53b22d;return _0x258c14(0x1e4)+_0x1cc5ae;}var _0x1286d6=Object['getOwnPropertyDescriptor'],_0x274219=(_0x3621e6,_0x2508f2,_0x4a9b82,_0x256503)=>{var _0x2d8c92=_0x53b22d;for(var _0x486c07=_0x256503>0x1?void 0x0:_0x256503?_0x1286d6(_0x2508f2,_0x4a9b82):_0x2508f2,_0x19b031=_0x3621e6[_0x2d8c92(0x34f)]-0x1,_0x1d9c3e;_0x19b031>=0x0;_0x19b031--)(_0x1d9c3e=_0x3621e6[_0x19b031])&&(_0x486c07=_0x1d9c3e(_0x486c07)||_0x486c07);return _0x486c07;},_0x46c913=(_0x40ad22,_0x1bb51a)=>(_0x5be92c,_0x418995)=>_0x1bb51a(_0x5be92c,_0x418995,_0x40ad22);function _0x35fb41(_0x4b8f41){var _0x5d159a=_0x53b22d;const {unitID:_0x4ac86c,mutations:_0x57391c}=_0x4b8f41;return{'unitId':_0x4ac86c,'subUnitId':_0x57391c[0x0][_0x5d159a(0x36a)][_0x5d159a(0x1aa)]};}_0x3207bf['SheetTransformSelectionsService']=class{constructor(_0x3f5ab1,_0x57da7e,_0x17ef0e){var _0x240872=_0x53b22d;this[_0x240872(0x33f)]=_0x3f5ab1,this[_0x240872(0x2f7)]=_0x57da7e,this[_0x240872(0x1a4)]=_0x17ef0e;}[_0x53b22d(0x497)](_0x238e02){var _0x2b85e4=_0x53b22d,_0x50cb1d,_0x135556,_0x252211,_0x531d08;const _0x5b1487=this['_injector'][_0x2b85e4(0x400)](_0x1306f3[_0x2b85e4(0x3b6)]),{unitId:_0x497f88,subUnitId:_0x2acfea}=_0x35fb41(_0x238e02),_0x5d24f4=_0x5b1487==null?void 0x0:_0x5b1487[_0x2b85e4(0x2ef)](_0x497f88)[_0x2b85e4(0x3e0)](),_0xba8d48=(_0x135556=(_0x50cb1d=this[_0x2b85e4(0x1a4)]['getUnit'](_0x497f88))==null?void 0x0:_0x50cb1d[_0x2b85e4(0x275)]())==null?void 0x0:_0x135556[_0x2b85e4(0x415)]();if(_0x5d24f4[_0x2b85e4(0x34f)]===0x0||!_0x497f88||!_0x2acfea)return;const _0x208d73=[{'id':_0x1306f3['SetSelectionsOperation']['id'],'params':{'unitId':_0x497f88,'subUnitId':_0xba8d48,'selections':_0x48136f[_0x2b85e4(0x30e)][_0x2b85e4(0x3a8)](_0x5d24f4)}}],_0x2f0b1d=this['_transformService'][_0x2b85e4(0x200)](_0x238e02,_0x208d73);if(!_0x395ea6[_0x2b85e4(0x4c2)](_0x2f0b1d))throw _0x2f0b1d[_0x2b85e4(0x251)];const _0x3ab977=(_0x531d08=(_0x252211=_0x2f0b1d['m2Prime'][0x0])==null?void 0x0:_0x252211[_0x2b85e4(0x36a)])==null?void 0x0:_0x531d08[_0x2b85e4(0x292)];if(Array[_0x2b85e4(0x2c8)](_0x3ab977)&&_0x3ab977['length']){if(_0x3ab977[_0x2b85e4(0x34f)]===_0x208d73[0x0][_0x2b85e4(0x36a)][_0x2b85e4(0x292)][_0x2b85e4(0x34f)]&&_0x3ab977[_0x2b85e4(0x3ff)]((_0xfaaf53,_0x297f64)=>_0x48136f['Rectangle'][_0x2b85e4(0x321)](_0xfaaf53[_0x2b85e4(0x3fd)],_0x208d73[0x0]['params']['selections'][_0x297f64][_0x2b85e4(0x3fd)])))return;this[_0x2b85e4(0x33f)]['get'](_0x48136f[_0x2b85e4(0x493)])[_0x2b85e4(0x4a4)](_0x1306f3[_0x2b85e4(0x4e9)]['id'],{'unitId':_0x497f88,'subUnitId':_0xba8d48,'selections':_0x3ab977});}}},_0x3207bf[_0x53b22d(0x318)]=_0x274219([_0x46c913(0x0,_0x48136f[_0x53b22d(0x25d)](_0x48136f[_0x53b22d(0x474)])),_0x46c913(0x1,_0x395ea6[_0x53b22d(0x20b)]),_0x46c913(0x2,_0x48136f[_0x53b22d(0x409)])],_0x3207bf[_0x53b22d(0x318)]);const _0x1183be=_0x48136f['createIdentifier'](_0x53b22d(0x1c0));var _0x4b6ed3=(_0x319e81=>(_0x319e81[_0x319e81[_0x53b22d(0x3f5)]=0x0]=_0x53b22d(0x3f5),_0x319e81[_0x319e81[_0x53b22d(0x32f)]=0x1]=_0x53b22d(0x32f),_0x319e81))(_0x4b6ed3||{});const _0x4af082=new Set([_0x1306f3['InsertSheetMutation']['id']]);function _0x13d776(_0x5eada5,_0x53c1e6,_0xfae18b,_0x109d1b,_0x11d7bc){var _0x4a5265=_0x53b22d,_0x1c3f9e,_0x30907e,_0x4fbc34,_0x4c0aef;const _0x2cfa8a=[];for(const _0x2fd73e of _0x5eada5)if(_0x4af082[_0x4a5265(0x45d)](_0x2fd73e['id'])){if(_0x2cfa8a[_0x4a5265(0x34f)]>0x0)break;_0x2cfa8a['push'](_0x2fd73e);break;}else _0x2cfa8a[_0x4a5265(0x2f6)](_0x2fd73e);const _0x3d167e=(_0x30907e=(_0x1c3f9e=_0x11d7bc[_0x4a5265(0x25e)]())==null?void 0x0:_0x1c3f9e[_0x4a5265(0x1fa)])!=null?_0x30907e:_0x4a5265(0x1b2),_0x5b3a6d=(_0x4c0aef=(_0x4fbc34=_0x11d7bc[_0x4a5265(0x25e)]())==null?void 0x0:_0x4fbc34[_0x4a5265(0x302)])!=null?_0x4c0aef:'unknown';return{'changeset':{'unitID':_0x53c1e6,'type':_0x395ea6[_0x4a5265(0x236)](_0xfae18b[_0x4a5265(0x38a)](_0x53c1e6)),'baseRev':_0x109d1b[_0x4a5265(0x17c)](_0x53c1e6),'revision':0x0,'userID':_0x3d167e,'memberID':_0x5b3a6d,'mutations':_0x2cfa8a},'pendingMutations':_0x5eada5[_0x4a5265(0x3ea)](_0x2cfa8a[_0x4a5265(0x34f)])};}function _0x455175(_0xcda768,_0x2dbdcf,_0x52f763,_0x27e508,_0x591703){var _0x5015f0=_0x53b22d,_0x1e494d,_0x27d669,_0x3df2f2,_0x20321c;const _0xd3e886=[_0xcda768['reduce']((_0x186b42,_0x30180e)=>{var _0x1d28e6=_0x3d4a,_0xa5cdfb;const {id:_0x463f94}=_0x186b42,{id:_0x250f9b,type:_0x1989d8}=_0x30180e,_0x3cdf56=(_0xa5cdfb=_0x186b42['params'])!=null?_0xa5cdfb:{'actions':null},_0x336a28=_0x30180e[_0x1d28e6(0x36a)];if(_0x463f94&&_0x463f94!==_0x250f9b)throw new Error(_0x1d28e6(0x222)+_0x463f94+_0x1d28e6(0x25c)+_0x250f9b+'.');return{..._0x186b42,'id':_0x250f9b,'type':_0x1989d8,'params':{'unitId':_0x336a28[_0x1d28e6(0x480)],'textRanges':_0x336a28['textRanges'],'actions':_0x48136f['JSONX']['compose'](_0x3cdf56[_0x1d28e6(0x1fb)],_0x336a28[_0x1d28e6(0x1fb)])}};},{})],_0x2a4e11=(_0x27d669=(_0x1e494d=_0x591703[_0x5015f0(0x25e)]())==null?void 0x0:_0x1e494d['userID'])!=null?_0x27d669:'unknown',_0x38328f=(_0x20321c=(_0x3df2f2=_0x591703[_0x5015f0(0x25e)]())==null?void 0x0:_0x3df2f2[_0x5015f0(0x302)])!=null?_0x20321c:_0x5015f0(0x1b2);return{'changeset':{'unitID':_0x2dbdcf,'type':_0x395ea6[_0x5015f0(0x236)](_0x52f763['getUnitType'](_0x2dbdcf)),'baseRev':_0x27e508[_0x5015f0(0x17c)](_0x2dbdcf),'revision':0x0,'userID':_0x2a4e11,'memberID':_0x38328f,'mutations':_0xd3e886},'pendingMutations':[]};}function _0x4144bf(_0x3efa41,_0x384d26){var _0x4688ca=_0x53b22d;const _0x67440a=new _0xae0ae[(_0x4688ca(0x418))](0x1);return setTimeout(()=>_0x67440a[_0x4688ca(0x325)](_0x384d26),_0x3efa41),_0x67440a[_0x4688ca(0x2c6)]()['pipe'](_0xae0ae[_0x4688ca(0x494)](0x1));}const _0x45c699={'id':_0x1306f3[_0x53b22d(0x27c)]['id'],'type':_0x48136f['CommandType'][_0x53b22d(0x31a)],'params':{}};var _0x34ffde=Object[_0x53b22d(0x4ce)],_0x3395dd=(_0x41c4fd,_0x119cea,_0x364292,_0x28bbbd)=>{var _0x5bea06=_0x53b22d;for(var _0x35073f=_0x28bbbd>0x1?void 0x0:_0x28bbbd?_0x34ffde(_0x119cea,_0x364292):_0x119cea,_0x40aebd=_0x41c4fd[_0x5bea06(0x34f)]-0x1,_0x3deace;_0x40aebd>=0x0;_0x40aebd--)(_0x3deace=_0x41c4fd[_0x40aebd])&&(_0x35073f=_0x3deace(_0x35073f)||_0x35073f);return _0x35073f;},_0x2125c9=(_0x489dc3,_0x3e5a44)=>(_0x3aea4a,_0x987661)=>_0x3e5a44(_0x3aea4a,_0x987661,_0x489dc3),_0x57d322=(_0x25bda8=>(_0x25bda8[_0x53b22d(0x310)]=_0x53b22d(0x2d0),_0x25bda8[_0x53b22d(0x1cb)]=_0x53b22d(0x25f),_0x25bda8[_0x53b22d(0x3a5)]=_0x53b22d(0x47e),_0x25bda8['AWAITING']='awaiting',_0x25bda8[_0x53b22d(0x491)]='awaiting_with_pending',_0x25bda8[_0x53b22d(0x3b4)]='fetch_missing',_0x25bda8[_0x53b22d(0x3be)]=_0x53b22d(0x3a1),_0x25bda8[_0x53b22d(0x26b)]='offline',_0x25bda8))(_0x57d322||{});const _0x3dd138=0xea60;class _0x2ee070{constructor(_0x2d38b0,_0x26be72,_0x515275,_0x4df027,_0x44c000,_0x58a02a,_0x5998dc,_0x44626f,_0x46e6c5){var _0x4058e6=_0x53b22d;_0x4b46fd(this,_0x4058e6(0x1e5),null),_0x4b46fd(this,_0x4058e6(0x3d5),[]),(this[_0x4058e6(0x24c)]=_0x2d38b0,this[_0x4058e6(0x4d6)]=_0x26be72,this[_0x4058e6(0x281)]=_0x44c000,this[_0x4058e6(0x2d7)]=_0x58a02a,this['_undoRedoService']=_0x5998dc,this['_revisionService']=_0x44626f,this[_0x4058e6(0x26a)]=_0x46e6c5,this[_0x4058e6(0x1e5)]=_0x515275,this['_pendingMutations']=_0x4df027);}[_0x53b22d(0x3aa)](_0x287d16){var _0x2c737e=_0x53b22d;const _0x53d898=this[_0x2c737e(0x2af)][_0x2c737e(0x17c)](this[_0x2c737e(0x24c)]);return _0x287d16['revision']>_0x53d898+0x1?(this['_handler'][_0x2c737e(0x189)]({'from':_0x53d898,'to':_0x287d16['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x45f8fd){var _0x5c8a58=_0x53b22d;this[_0x5c8a58(0x4a1)][_0x5c8a58(0x191)](this['unitID'],_0x45f8fd);}[_0x53b22d(0x3d2)](_0x102118){var _0x2ce692=_0x53b22d,_0x577c50,_0x490e9a;(_0x490e9a=(_0x577c50=this['_handler'])[_0x2ce692(0x2b0)])==null||_0x490e9a['call'](_0x577c50,_0x102118);}['_transformIMECache'](_0x662b36){var _0x233d30=_0x53b22d,_0x41b9e4,_0x317f8d;return(_0x317f8d=(_0x41b9e4=this[_0x233d30(0x281)])['onTransformIME'])==null?void 0x0:_0x317f8d['call'](_0x41b9e4,_0x662b36);}['_transformStateCache'](_0x461c92){var _0x2ba547=_0x53b22d,_0x105bde,_0x23f0ab;return(_0x23f0ab=(_0x105bde=this[_0x2ba547(0x281)])[_0x2ba547(0x17b)])==null?void 0x0:_0x23f0ab[_0x2ba547(0x1e3)](_0x105bde,_0x461c92);}[_0x53b22d(0x41f)](_0x11c975){var _0x3e6f0b=_0x53b22d,_0x3e9fa8,_0x51f141,_0x55078e;return(_0x55078e=(_0x51f141=(_0x3e9fa8=this[_0x3e6f0b(0x281)])[_0x3e6f0b(0x45e)])==null?void 0x0:_0x51f141[_0x3e6f0b(0x1e3)](_0x3e9fa8,_0x11c975))!=null?_0x55078e:_0x11c975;}['_transformRemoteChangesetByStateCache'](_0xdd717d){var _0x1b931c=_0x53b22d,_0x2d1c67,_0x2e1963,_0x75ea7e;return(_0x75ea7e=(_0x2e1963=(_0x2d1c67=this[_0x1b931c(0x281)])[_0x1b931c(0x2e6)])==null?void 0x0:_0x2e1963[_0x1b931c(0x1e3)](_0x2d1c67,_0xdd717d))!=null?_0x75ea7e:_0xdd717d;}['_syncEditingCollabCursor'](_0x58b49d){var _0x266c7c=_0x53b22d,_0x378cc0,_0xde5928;if(this[_0x266c7c(0x4d6)]===_0xb5b2f5['UNIVER_DOC']){const {unitID:_0x2aff8a,mutations:_0x19c0d5,memberID:_0x4ad37a}=_0x58b49d,_0x493497=_0x19c0d5[0x0][_0x266c7c(0x36a)]['textRanges'];Array['isArray'](_0x493497)&&_0x493497[_0x266c7c(0x34f)]>0x0&&((_0xde5928=(_0x378cc0=this[_0x266c7c(0x281)])['onSyncEditingCollabCursor'])==null||_0xde5928[_0x266c7c(0x1e3)](_0x378cc0,{'unitID':_0x2aff8a,'memberID':_0x4ad37a,'textRanges':_0x493497}));}}[_0x53b22d(0x3f1)](){var _0x424366=_0x53b22d,_0x2e2e61;(_0x2e2e61=this[_0x424366(0x26a)])==null||_0x2e2e61[_0x424366(0x1a3)](this['unitID'],this['type'],this[_0x424366(0x1e5)],this[_0x424366(0x3d5)]);}['_getCurrentRevision'](){var _0x445347=_0x53b22d;return this[_0x445347(0x2af)][_0x445347(0x17c)](this['unitID']);}['_incrementRevisionNumber'](){var _0x3973aa=_0x53b22d;this[_0x3973aa(0x2af)][_0x3973aa(0x4e2)](this[_0x3973aa(0x24c)]);}[_0x53b22d(0x479)](_0x2c44e4){var _0xc69664=_0x53b22d,_0x138f0c;let _0x405c8b=this[_0xc69664(0x41f)](_0x2c44e4);_0x405c8b=this[_0xc69664(0x269)](_0x405c8b);const _0x430674=_0x48136f[_0xc69664(0x3a6)](_0x405c8b[_0xc69664(0x264)],this[_0xc69664(0x2d7)],{'fromCollab':!0x0});if(!_0x430674['result'])throw _0x430674['error']instanceof Error?_0x430674[_0xc69664(0x251)]:new Error((_0x138f0c=_0x430674[_0xc69664(0x251)])!=null?_0x138f0c:'[CollaborationState]:\x20apply\x20error!');this[_0xc69664(0x26d)](_0x405c8b),this[_0xc69664(0x1de)](_0x405c8b),this[_0xc69664(0x3c1)](_0x2c44e4),this[_0xc69664(0x3d2)](_0x405c8b),this[_0xc69664(0x374)](_0x405c8b),this['_incrementRevisionNumber']();}}_0x3207bf['SyncedState']=class extends _0x2ee070{constructor(_0x4ee1db,_0x29ec79,_0x533224,_0x2a58eb,_0x5b4720,_0x1716e0,_0x17fd10,_0x57c9cd,_0x50f4c5,_0x135e81){var _0x2832a2=_0x53b22d;super(_0x4ee1db,_0x29ec79,null,[],_0x533224,_0x17fd10,_0x1716e0,_0x2a58eb,_0x135e81),_0x4b46fd(this,_0x2832a2(0x1ce),_0x2832a2(0x25f)),(this[_0x2832a2(0x33f)]=_0x5b4720,this[_0x2832a2(0x37d)]=_0x57c9cd,this['_transformService']=_0x50f4c5,this[_0x2832a2(0x38c)]=_0x135e81);}['appendMutation'](_0x3e4d6a){var _0x29d432=_0x53b22d;const _0x2b7ca1=this[_0x29d432(0x33f)][_0x29d432(0x283)](_0x3207bf[_0x29d432(0x4f2)],this[_0x29d432(0x24c)],this['type'],[_0x3e4d6a],this[_0x29d432(0x281)]);return _0x2b7ca1[_0x29d432(0x270)](),_0x2b7ca1[_0x29d432(0x3f1)](),_0x2b7ca1;}[_0x53b22d(0x484)](_0x38e72e){var _0x38ef8d=_0x53b22d;if(this[_0x38ef8d(0x3aa)](_0x38e72e))return this[_0x38ef8d(0x33f)]['createInstance'](_0x3207bf[_0x38ef8d(0x4c7)],this[_0x38ef8d(0x24c)],this[_0x38ef8d(0x4d6)],null,[],null,[_0x38e72e],this['_handler']);try{const _0x3cca61=this[_0x38ef8d(0x2f7)][_0x38ef8d(0x200)](_0x38e72e,[_0x45c699]);if(_0x395ea6[_0x38ef8d(0x4c2)](_0x3cca61)){const {c1Prime:_0x5f449c}=_0x3cca61;return this[_0x38ef8d(0x479)](_0x5f449c),this;}throw _0x3cca61[_0x38ef8d(0x251)];}catch(_0x444c55){return this[_0x38ef8d(0x37d)][_0x38ef8d(0x251)](_0x444c55),this[_0x38ef8d(0x440)](!0x1);}}[_0x53b22d(0x440)](_0x1c940b){var _0x546aa5=_0x53b22d;return this[_0x546aa5(0x33f)][_0x546aa5(0x283)](_0x3207bf[_0x546aa5(0x42d)],this[_0x546aa5(0x24c)],this['type'],null,[],this['_handler'],_0x1c940b);}['onRemoteAck'](){var _0x3ecd7e=_0x53b22d;throw new Error(_0x3ecd7e(0x478));}[_0x53b22d(0x405)](){var _0x13a651=_0x53b22d;throw new Error(_0x13a651(0x1b7));}[_0x53b22d(0x2dd)](){return this;}[_0x53b22d(0x43c)](){var _0x4657b4=_0x53b22d;return this[_0x4657b4(0x33f)]['createInstance'](_0x3207bf[_0x4657b4(0x434)],this[_0x4657b4(0x24c)],this[_0x4657b4(0x4d6)],null,[],this[_0x4657b4(0x281)]);}[_0x53b22d(0x358)](){return this;}['resend'](){var _0x4e0937=_0x53b22d;throw new Error(_0x4e0937(0x260));}[_0x53b22d(0x254)](){var _0x2ad4e5=_0x53b22d;const _0x149a9f=this['_revisionService'][_0x2ad4e5(0x17c)](this[_0x2ad4e5(0x24c)]);return this[_0x2ad4e5(0x281)][_0x2ad4e5(0x189)]({'from':_0x149a9f,'to':0x0}),this[_0x2ad4e5(0x33f)][_0x2ad4e5(0x283)](_0x3207bf[_0x2ad4e5(0x4c7)],this[_0x2ad4e5(0x24c)],this['type'],null,[],null,[],this[_0x2ad4e5(0x281)]);}},_0x3207bf[_0x53b22d(0x32b)]=_0x3395dd([_0x2125c9(0x3,_0x48136f[_0x53b22d(0x25d)](_0x395ea6[_0x53b22d(0x3fc)])),_0x2125c9(0x4,_0x48136f[_0x53b22d(0x25d)](_0x48136f['Injector'])),_0x2125c9(0x5,_0x48136f['IUndoRedoService']),_0x2125c9(0x6,_0x48136f[_0x53b22d(0x493)]),_0x2125c9(0x7,_0x48136f[_0x53b22d(0x1d1)]),_0x2125c9(0x8,_0x395ea6[_0x53b22d(0x20b)]),_0x2125c9(0x9,_0x48136f[_0x53b22d(0x2b5)](_0x132fc9))],_0x3207bf[_0x53b22d(0x32b)]),_0x3207bf[_0x53b22d(0x4f2)]=class extends _0x2ee070{constructor(_0x4aebd2,_0x5c61d6,_0x1f124a,_0x31fb42,_0x4ed5bc,_0x1122c2,_0x2a1a85,_0x4fcd10,_0x4cc1aa,_0x34707a,_0x194eb7,_0x44f2be,_0x5c3e87,_0x4f2105){var _0x447bdf=_0x53b22d;super(_0x4aebd2,_0x5c61d6,null,_0x1f124a,_0x31fb42,_0x4cc1aa,_0x5c3e87,_0x1122c2,_0x4f2105),_0x4b46fd(this,'status',_0x447bdf(0x47e)),_0x4b46fd(this,_0x447bdf(0x460),null),_0x4b46fd(this,_0x447bdf(0x499),null),(this[_0x447bdf(0x33f)]=_0x4ed5bc,this[_0x447bdf(0x375)]=_0x2a1a85,this[_0x447bdf(0x37d)]=_0x4fcd10,this[_0x447bdf(0x4f9)]=_0x34707a,this[_0x447bdf(0x2f7)]=_0x194eb7,this['_univerInstanceService']=_0x44f2be);}[_0x53b22d(0x3f9)](_0x2b30a2){var _0x598fc3=_0x53b22d;return this[_0x598fc3(0x3d5)][_0x598fc3(0x2f6)](_0x2b30a2),this[_0x598fc3(0x3f1)](),this;}[_0x53b22d(0x484)](_0x1f3065){var _0x4ecca4=_0x53b22d;if(this[_0x4ecca4(0x3aa)](_0x1f3065))return this[_0x4ecca4(0x483)](),this[_0x4ecca4(0x33f)][_0x4ecca4(0x283)](_0x3207bf[_0x4ecca4(0x4c7)],this[_0x4ecca4(0x24c)],this[_0x4ecca4(0x4d6)],null,this['_pendingMutations'],null,[_0x1f3065],this['_handler']);try{const _0x4c4fa6=this['_transformService'][_0x4ecca4(0x200)](_0x1f3065,this[_0x4ecca4(0x3d5)]);if(_0x395ea6['isTransformMutationsWithChangesetSuccess'](_0x4c4fa6)){const {c1Prime:_0x132522,m2Prime:_0x3559dd}=_0x4c4fa6;this['_executeRemoteChangeset'](_0x132522);const _0x48103d=this[_0x4ecca4(0x33f)][_0x4ecca4(0x283)](_0x3207bf[_0x4ecca4(0x4f2)],this[_0x4ecca4(0x24c)],this[_0x4ecca4(0x4d6)],_0x3559dd,this[_0x4ecca4(0x281)]);this[_0x4ecca4(0x483)]();const _0x266ef3=new Date()[_0x4ecca4(0x4c1)](),_0x1a5508=this['_scheduleCompleteTimestamp']?Math[_0x4ecca4(0x274)](this[_0x4ecca4(0x460)]-_0x266ef3,0x0):this[_0x4ecca4(0x211)]();return _0x48103d['_schedule'](_0x1a5508),_0x48103d;}throw _0x4c4fa6[_0x4ecca4(0x251)];}catch(_0x25f1ed){return this[_0x4ecca4(0x37d)][_0x4ecca4(0x251)](_0x25f1ed),this[_0x4ecca4(0x440)](!0x1);}}[_0x53b22d(0x253)](){var _0x53aa81=_0x53b22d;throw new Error(_0x53aa81(0x35c));}[_0x53b22d(0x405)](){var _0x6b39c9=_0x53b22d;throw new Error(_0x6b39c9(0x387));}[_0x53b22d(0x2dd)](){return this;}[_0x53b22d(0x43c)](){var _0x3bd0ba=_0x53b22d;return this[_0x3bd0ba(0x483)](),this['_injector'][_0x3bd0ba(0x283)](_0x3207bf['OfflineState'],this[_0x3bd0ba(0x24c)],this[_0x3bd0ba(0x4d6)],null,this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x53b22d(0x270)](_0x2421ec){var _0x8acc2b=_0x53b22d;const _0x249b72=_0x2421ec!=null?_0x2421ec:this[_0x8acc2b(0x211)]();this['_scheduleCompleteTimestamp']=new Date()[_0x8acc2b(0x4c1)]()+_0x249b72,this[_0x8acc2b(0x499)]=setTimeout(()=>{var _0x29a862=_0x8acc2b;this['_clearScheduledTask']();let _0x8afc1=null;switch(this[_0x29a862(0x4d6)]){case _0xb5b2f5[_0x29a862(0x3cf)]:{_0x8afc1=_0x13d776(this[_0x29a862(0x3d5)],this[_0x29a862(0x24c)],this[_0x29a862(0x3a3)],this['_revisionService'],this['_memberService']);break;}case _0xb5b2f5[_0x29a862(0x2c2)]:{this[_0x29a862(0x3d5)]['every'](_0x313247=>_0x313247['id']===_0x4d291f[_0x29a862(0x4ab)]['id'])?_0x8afc1=_0x455175(this['_pendingMutations'],this[_0x29a862(0x24c)],this[_0x29a862(0x3a3)],this[_0x29a862(0x2af)],this[_0x29a862(0x375)]):_0x8afc1=_0x13d776(this[_0x29a862(0x3d5)],this[_0x29a862(0x24c)],this[_0x29a862(0x3a3)],this[_0x29a862(0x2af)],this[_0x29a862(0x375)]);break;}default:throw new Error(_0x29a862(0x2a3)+this[_0x29a862(0x4d6)]+_0x29a862(0x341));}const {changeset:_0x72dcf4,pendingMutations:_0x540870}=_0x8afc1;this[_0x29a862(0x281)][_0x29a862(0x1bb)](_0x72dcf4);const _0x500453=_0x540870[_0x29a862(0x34f)]?this[_0x29a862(0x33f)][_0x29a862(0x283)](_0x3207bf[_0x29a862(0x4d7)],this[_0x29a862(0x24c)],this['type'],_0x72dcf4,_0x540870,this['_handler'],void 0x0):this[_0x29a862(0x33f)][_0x29a862(0x283)](_0x3207bf[_0x29a862(0x40d)],this['unitID'],this[_0x29a862(0x4d6)],_0x72dcf4,this[_0x29a862(0x281)]);_0x500453[_0x29a862(0x3f1)](),this[_0x29a862(0x281)][_0x29a862(0x40c)](this,_0x500453);},_0x249b72);}['_getSendChangesetTimeout'](){var _0xda94f0=_0x53b22d,_0x8c7fe4;const _0x5d9ae9=this[_0xda94f0(0x4f9)]['getConfig'](_0x15fbd0);return(_0x8c7fe4=_0x5d9ae9==null?void 0x0:_0x5d9ae9[_0xda94f0(0x47c)])!=null?_0x8c7fe4:0x7d0;}[_0x53b22d(0x3f2)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x4890cc=_0x53b22d;this[_0x4890cc(0x499)]!=null&&(clearTimeout(this[_0x4890cc(0x499)]),this[_0x4890cc(0x499)]=null);}[_0x53b22d(0x440)](_0x41f5ca){var _0x28221a=_0x53b22d;return this['_clearScheduledTask'](),this[_0x28221a(0x33f)][_0x28221a(0x283)](_0x3207bf[_0x28221a(0x42d)],this[_0x28221a(0x24c)],this[_0x28221a(0x4d6)],null,this[_0x28221a(0x3d5)],this['_handler'],_0x41f5ca);}},_0x3207bf[_0x53b22d(0x4f2)]=_0x3395dd([_0x2125c9(0x4,_0x48136f['Inject'](_0x48136f['Injector'])),_0x2125c9(0x5,_0x48136f['Inject'](_0x395ea6[_0x53b22d(0x3fc)])),_0x2125c9(0x6,_0x48136f[_0x53b22d(0x25d)](_0x3207bf[_0x53b22d(0x24e)])),_0x2125c9(0x7,_0x48136f[_0x53b22d(0x1d1)]),_0x2125c9(0x8,_0x48136f['ICommandService']),_0x2125c9(0x9,_0x48136f['IConfigService']),_0x2125c9(0xa,_0x395ea6[_0x53b22d(0x20b)]),_0x2125c9(0xb,_0x48136f[_0x53b22d(0x409)]),_0x2125c9(0xc,_0x48136f[_0x53b22d(0x1a0)]),_0x2125c9(0xd,_0x48136f[_0x53b22d(0x2b5)](_0x132fc9))],_0x3207bf[_0x53b22d(0x4f2)]),_0x3207bf[_0x53b22d(0x40d)]=class extends _0x2ee070{constructor(_0x545456,_0x2eca57,_0x50572a,_0x1ba61b,_0x23e07a,_0x5ea202,_0x404ef7,_0x2c339b,_0x1719ea,_0x49de42,_0x27ae72){var _0x47996b=_0x53b22d;super(_0x545456,_0x2eca57,_0x50572a,[],_0x1ba61b,_0x404ef7,_0x49de42,_0x5ea202,_0x27ae72),_0x4b46fd(this,_0x47996b(0x1ce),_0x47996b(0x410)),_0x4b46fd(this,_0x47996b(0x433),0x0),_0x4b46fd(this,_0x47996b(0x2dc)),_0x4b46fd(this,'_sender'),(this['_injector']=_0x23e07a,this[_0x47996b(0x37d)]=_0x2c339b,this[_0x47996b(0x2f7)]=_0x1719ea);}[_0x53b22d(0x3f9)](_0x3323b3){var _0x19d56e=_0x53b22d;this[_0x19d56e(0x483)]();const _0x29f8ec=this[_0x19d56e(0x33f)][_0x19d56e(0x283)](_0x3207bf['AwaitingWithPendingState'],this[_0x19d56e(0x24c)],this[_0x19d56e(0x4d6)],this[_0x19d56e(0x1e5)],[_0x3323b3],this['_handler'],this[_0x19d56e(0x2dc)]);return _0x29f8ec[_0x19d56e(0x3f1)](),_0x29f8ec;}[_0x53b22d(0x484)](_0xf18aa8){var _0x42fc3d=_0x53b22d;if(this['_checkMissing'](_0xf18aa8))return this[_0x42fc3d(0x483)](),this[_0x42fc3d(0x33f)][_0x42fc3d(0x283)](_0x3207bf[_0x42fc3d(0x4c7)],this['unitID'],this['type'],this[_0x42fc3d(0x1e5)],[],null,[_0xf18aa8],this[_0x42fc3d(0x281)]);try{const _0x895b15=this[_0x42fc3d(0x2f7)][_0x42fc3d(0x33e)]([_0xf18aa8],[this[_0x42fc3d(0x1e5)]],!0x1);if(_0x395ea6[_0x42fc3d(0x43f)](_0x895b15)){const {c1Prime:_0x481f1a,c2Prime:_0x59f39d}=_0x895b15;this[_0x42fc3d(0x479)](_0x481f1a[0x0]),_0x59f39d[0x0][_0x42fc3d(0x37b)]=this[_0x42fc3d(0x282)](),this[_0x42fc3d(0x483)]();const _0x420076=this[_0x42fc3d(0x33f)]['createInstance'](_0x3207bf[_0x42fc3d(0x40d)],this[_0x42fc3d(0x24c)],this[_0x42fc3d(0x4d6)],_0x59f39d[0x0],this[_0x42fc3d(0x281)]);return _0x420076[_0x42fc3d(0x3f1)](),_0x420076;}return this[_0x42fc3d(0x440)](!0x1);}catch(_0x3cddd2){return this[_0x42fc3d(0x37d)][_0x42fc3d(0x251)](_0x3cddd2),this[_0x42fc3d(0x440)](!0x1);}}[_0x53b22d(0x253)](_0x5bc66b){var _0x3f5727=_0x53b22d;this[_0x3f5727(0x483)]();const _0x13b874=this[_0x3f5727(0x2af)][_0x3f5727(0x17c)](this[_0x3f5727(0x24c)]);if(_0x5bc66b[_0x3f5727(0x37a)]<_0x13b874-0x1)return this;if(this[_0x3f5727(0x3aa)](_0x5bc66b))return this['_injector'][_0x3f5727(0x283)](_0x3207bf[_0x3f5727(0x4c7)],this[_0x3f5727(0x24c)],this[_0x3f5727(0x4d6)],null,[],this['_awaitingChangeset'],[],this[_0x3f5727(0x281)]);this[_0x3f5727(0x3cb)]();const _0x1d93e1=this[_0x3f5727(0x33f)][_0x3f5727(0x283)](_0x3207bf[_0x3f5727(0x32b)],this[_0x3f5727(0x24c)],this[_0x3f5727(0x4d6)],this[_0x3f5727(0x281)]);return _0x1d93e1[_0x3f5727(0x3f1)](),_0x1d93e1;}[_0x53b22d(0x405)](_0x5ab8d0){var _0x31b644=_0x53b22d;return this['_onConflict'](!!(_0x5ab8d0!=null&&_0x5ab8d0[_0x31b644(0x35e)]));}['onRemoteRetry'](_0x2d0b23){var _0x148afd=_0x53b22d;return this[_0x148afd(0x433)]>_0x3dd138?this[_0x148afd(0x43c)]():(this[_0x148afd(0x2dc)]=_0x4144bf(this[_0x148afd(0x433)],{'timeout':this[_0x148afd(0x433)],'reqId':_0x2d0b23['reqId']}),this[_0x148afd(0x311)]=this[_0x148afd(0x2dc)][_0x148afd(0x47d)](({reqId:_0x38760b,timeout:_0x6764db})=>{var _0x5521fd=_0x148afd;this[_0x5521fd(0x437)](_0x38760b,_0x6764db);}),this);}[_0x53b22d(0x43c)](){var _0xabe52c=_0x53b22d;return this[_0xabe52c(0x483)](),this[_0xabe52c(0x33f)][_0xabe52c(0x283)](_0x3207bf[_0xabe52c(0x434)],this[_0xabe52c(0x24c)],this[_0xabe52c(0x4d6)],this['_awaitingChangeset'],[],this[_0xabe52c(0x281)]);}[_0x53b22d(0x358)](){return this;}['resend'](){var _0x500180=_0x53b22d;this[_0x500180(0x281)][_0x500180(0x1bb)](this[_0x500180(0x1e5)]);}['_onConflict'](_0x2e88e9){var _0x29227a=_0x53b22d;return this['_clearScheduledTask'](),this['_injector'][_0x29227a(0x283)](_0x3207bf['ConflictState'],this[_0x29227a(0x24c)],this[_0x29227a(0x4d6)],this['_awaitingChangeset'],[],this[_0x29227a(0x281)],_0x2e88e9);}[_0x53b22d(0x437)](_0x8d2a2b,_0xe51124){var _0x2db44a=_0x53b22d,_0x26748a;_0x8d2a2b===((_0x26748a=this[_0x2db44a(0x1e5)])==null?void 0x0:_0x26748a[_0x2db44a(0x31d)])&&(this[_0x2db44a(0x3f2)](),this[_0x2db44a(0x433)]=_0xe51124===0x0?0x3e8:_0xe51124*0x2);}[_0x53b22d(0x483)](){var _0x367edd=_0x53b22d,_0x398b3b;(_0x398b3b=this[_0x367edd(0x311)])==null||_0x398b3b[_0x367edd(0x1fd)](),this['_resendTimeout']=0x0;}},_0x3207bf['AwaitingState']=_0x3395dd([_0x2125c9(0x4,_0x48136f['Inject'](_0x48136f[_0x53b22d(0x474)])),_0x2125c9(0x5,_0x48136f['Inject'](_0x395ea6['RevisionService'])),_0x2125c9(0x6,_0x48136f['ICommandService']),_0x2125c9(0x7,_0x48136f[_0x53b22d(0x1d1)]),_0x2125c9(0x8,_0x395ea6['ITransformService']),_0x2125c9(0x9,_0x48136f['IUndoRedoService']),_0x2125c9(0xa,_0x48136f[_0x53b22d(0x2b5)](_0x132fc9))],_0x3207bf[_0x53b22d(0x40d)]),_0x3207bf[_0x53b22d(0x4d7)]=class extends _0x2ee070{constructor(_0x24b2fa,_0x382628,_0x14cbd6,_0x1d639a,_0x407093,_0x5d3ed3,_0x5c3438,_0x35e2b3,_0x256ab1,_0x4c769d,_0xcd548b,_0x4e86a7,_0x42fead){var _0x405f9a=_0x53b22d;super(_0x24b2fa,_0x382628,_0x14cbd6,_0x1d639a,_0x407093,_0x256ab1,_0x4e86a7,_0x35e2b3,_0x42fead),_0x4b46fd(this,_0x405f9a(0x1ce),_0x405f9a(0x1f1)),_0x4b46fd(this,_0x405f9a(0x433),0x0),_0x4b46fd(this,_0x405f9a(0x2dc)),_0x4b46fd(this,_0x405f9a(0x311)),(this[_0x405f9a(0x33f)]=_0x5c3438,this[_0x405f9a(0x37d)]=_0x4c769d,this['_transformService']=_0xcd548b,this[_0x405f9a(0x38c)]=_0x42fead,_0x5d3ed3&&(this[_0x405f9a(0x2dc)]=_0x5d3ed3,this[_0x405f9a(0x311)]=this[_0x405f9a(0x2dc)][_0x405f9a(0x47d)](({reqId:_0x11139d,timeout:_0x104aa0})=>{var _0x56c021=_0x405f9a;this[_0x56c021(0x437)](_0x11139d,_0x104aa0);})));}[_0x53b22d(0x3f9)](_0x2f9a33){var _0x6b248d=_0x53b22d;return this[_0x6b248d(0x3d5)][_0x6b248d(0x2f6)](_0x2f9a33),this;}[_0x53b22d(0x484)](_0x5b2019){var _0xbfb0c9=_0x53b22d;if(this[_0xbfb0c9(0x3aa)](_0x5b2019))return this['_clearScheduledTask'](),this[_0xbfb0c9(0x33f)][_0xbfb0c9(0x283)](_0x3207bf[_0xbfb0c9(0x4c7)],this[_0xbfb0c9(0x24c)],this[_0xbfb0c9(0x4d6)],this['_awaitingChangeset'],this[_0xbfb0c9(0x3d5)],null,[_0x5b2019],this[_0xbfb0c9(0x281)]);try{const _0x3c4e1e=this[_0xbfb0c9(0x2f7)][_0xbfb0c9(0x33e)]([_0x5b2019],[this[_0xbfb0c9(0x1e5)]],!0x1);if(_0x395ea6[_0xbfb0c9(0x43f)](_0x3c4e1e)){const {c1Prime:_0x39c571,c2Prime:_0x341032}=_0x3c4e1e,_0xbdadcf=this[_0xbfb0c9(0x2f7)][_0xbfb0c9(0x200)](_0x39c571[0x0],this[_0xbfb0c9(0x3d5)]);if(_0x395ea6[_0xbfb0c9(0x4c2)](_0xbdadcf)){const {c1Prime:_0x5bd2f7,m2Prime:_0x27bd3c}=_0xbdadcf;return this[_0xbfb0c9(0x479)](_0x5bd2f7),_0x341032[0x0][_0xbfb0c9(0x37b)]=this[_0xbfb0c9(0x282)](),this[_0xbfb0c9(0x483)](),this['_injector'][_0xbfb0c9(0x283)](_0x3207bf[_0xbfb0c9(0x4d7)],this[_0xbfb0c9(0x24c)],this[_0xbfb0c9(0x4d6)],_0x341032[0x0],_0x27bd3c,this[_0xbfb0c9(0x281)],void 0x0);}throw _0xbdadcf['error'];}throw _0x3c4e1e[_0xbfb0c9(0x251)];}catch(_0x5d8b1a){return this[_0xbfb0c9(0x37d)][_0xbfb0c9(0x251)](_0x5d8b1a),this[_0xbfb0c9(0x440)](!0x1);}}['onRemoteAck'](_0x3a7719){var _0x4fdcb9=_0x53b22d;if(this['_clearScheduledTask'](),this[_0x4fdcb9(0x3aa)](_0x3a7719))return this[_0x4fdcb9(0x33f)][_0x4fdcb9(0x283)](_0x3207bf[_0x4fdcb9(0x4c7)],this[_0x4fdcb9(0x24c)],this['type'],null,this['_pendingMutations'],this[_0x4fdcb9(0x1e5)],[],this['_handler']);this[_0x4fdcb9(0x3cb)]();const _0x4f7b98=this[_0x4fdcb9(0x33f)]['createInstance'](_0x3207bf[_0x4fdcb9(0x4f2)],this[_0x4fdcb9(0x24c)],this[_0x4fdcb9(0x4d6)],this[_0x4fdcb9(0x3d5)],this[_0x4fdcb9(0x281)]);return _0x4f7b98[_0x4fdcb9(0x270)](),_0x4f7b98[_0x4fdcb9(0x3f1)](),_0x4f7b98;}[_0x53b22d(0x405)](_0x24d7e0){var _0x4e9ca1=_0x53b22d;return this[_0x4e9ca1(0x440)](!!(_0x24d7e0!=null&&_0x24d7e0[_0x4e9ca1(0x35e)]));}['onRemoteRetry'](_0x187c19){var _0x533fcf=_0x53b22d;return this['_resendTimeout']>_0x3dd138?this['toggleOffline']():(this['_resendTimer']=_0x4144bf(this[_0x533fcf(0x433)],{'timeout':this[_0x533fcf(0x433)],'reqId':_0x187c19[_0x533fcf(0x31d)]}),this[_0x533fcf(0x311)]=this['_resendTimer']['subscribe'](({reqId:_0x65bb62,timeout:_0x412bdc})=>{var _0x9200fb=_0x533fcf;this[_0x9200fb(0x437)](_0x65bb62,_0x412bdc);}),this);}['toggleOffline'](){var _0x2b313f=_0x53b22d;return this['_clearScheduledTask'](),this[_0x2b313f(0x33f)][_0x2b313f(0x283)](_0x3207bf[_0x2b313f(0x434)],this[_0x2b313f(0x24c)],this['type'],this[_0x2b313f(0x1e5)],this['_pendingMutations'],this[_0x2b313f(0x281)]);}[_0x53b22d(0x358)](){return this;}[_0x53b22d(0x3f2)](){var _0xa3c881=_0x53b22d;this['_handler'][_0xa3c881(0x1bb)](this[_0xa3c881(0x1e5)]);}[_0x53b22d(0x440)](_0x511bbc){var _0x5ae80a=_0x53b22d;return this[_0x5ae80a(0x483)](),this[_0x5ae80a(0x33f)][_0x5ae80a(0x283)](_0x3207bf['ConflictState'],this[_0x5ae80a(0x24c)],this[_0x5ae80a(0x4d6)],null,this['_pendingMutations'],this['_handler'],_0x511bbc);}['_resendWithTimeout'](_0x4d357a,_0x474310){var _0x1899fa=_0x53b22d,_0x5a71b7;_0x4d357a===((_0x5a71b7=this['_awaitingChangeset'])==null?void 0x0:_0x5a71b7[_0x1899fa(0x31d)])&&(this['resend'](),this['_resendTimeout']=_0x474310===0x0?0x3e8:_0x474310*0x2);}[_0x53b22d(0x483)](){var _0x437f1a=_0x53b22d,_0x26f85b;(_0x26f85b=this[_0x437f1a(0x311)])==null||_0x26f85b[_0x437f1a(0x1fd)](),this[_0x437f1a(0x433)]=0x0;}},_0x3207bf[_0x53b22d(0x4d7)]=_0x3395dd([_0x2125c9(0x6,_0x48136f[_0x53b22d(0x25d)](_0x48136f['Injector'])),_0x2125c9(0x7,_0x48136f['Inject'](_0x395ea6[_0x53b22d(0x3fc)])),_0x2125c9(0x8,_0x48136f[_0x53b22d(0x493)]),_0x2125c9(0x9,_0x48136f[_0x53b22d(0x1d1)]),_0x2125c9(0xa,_0x395ea6[_0x53b22d(0x20b)]),_0x2125c9(0xb,_0x48136f[_0x53b22d(0x1a0)]),_0x2125c9(0xc,_0x48136f[_0x53b22d(0x2b5)](_0x132fc9))],_0x3207bf['AwaitingWithPendingState']),_0x3207bf['ConflictState']=class extends _0x2ee070{constructor(_0x42fc1e,_0x38d918,_0x5af4d8,_0x191c0d,_0x15a556,_0x3b96c3=!0x1,_0x2cd0c1,_0x24deee,_0x126450,_0x24b1db,_0x552d7d,_0x264987,_0x512f42){var _0x1006bf=_0x53b22d;super(_0x42fc1e,_0x38d918,_0x5af4d8,_0x191c0d,_0x15a556,_0x24deee,_0x126450,_0x24b1db,_0x512f42),_0x4b46fd(this,_0x1006bf(0x1ce),_0x1006bf(0x3a1)),(this['_isPermissionRej']=_0x3b96c3,this[_0x1006bf(0x407)]=_0x2cd0c1,this['_localeService']=_0x552d7d,this[_0x1006bf(0x426)]=_0x264987,this[_0x1006bf(0x38c)]=_0x512f42,this['_showConflictNotification'](),this[_0x1006bf(0x204)](),this[_0x1006bf(0x261)]());}[_0x53b22d(0x3f9)](){return this;}['onRemoteChangeset'](){return this;}[_0x53b22d(0x253)](){return this;}[_0x53b22d(0x405)](){return this;}['onRemoteRetry'](){return this;}[_0x53b22d(0x43c)](){return this;}[_0x53b22d(0x358)](){return this;}[_0x53b22d(0x3f2)](){var _0x467bb5=_0x53b22d;throw new Error(_0x467bb5(0x34b));}[_0x53b22d(0x204)](){var _0x1c8b38=_0x53b22d,_0x178200;(_0x178200=this[_0x1c8b38(0x26a)])==null||_0x178200[_0x1c8b38(0x1a3)](this[_0x1c8b38(0x24c)],this[_0x1c8b38(0x4d6)],null,[]);}[_0x53b22d(0x4ec)](){var _0x54db1b=_0x53b22d;this[_0x54db1b(0x39a)]?this['_collaborationUIEventService'][_0x54db1b(0x4cd)]({'id':_0x3fc847[_0x54db1b(0x2ac)]}):this['_collaborationUIEventService'][_0x54db1b(0x4cd)]({'id':_0x3fc847[_0x54db1b(0x3be)]});}[_0x53b22d(0x261)](){var _0x4a89f3=_0x53b22d;this['_permissionService']['updatePermissionPoint'](new _0x1306f3[(_0x4a89f3(0x43d))](this[_0x4a89f3(0x24c)])['id'],!0x1);}},_0x3207bf[_0x53b22d(0x42d)]=_0x3395dd([_0x2125c9(0x6,_0x48136f[_0x53b22d(0x25d)](_0x48136f[_0x53b22d(0x3f4)])),_0x2125c9(0x7,_0x48136f[_0x53b22d(0x493)]),_0x2125c9(0x8,_0x48136f[_0x53b22d(0x1a0)]),_0x2125c9(0x9,_0x48136f['Inject'](_0x395ea6[_0x53b22d(0x3fc)])),_0x2125c9(0xa,_0x48136f[_0x53b22d(0x25d)](_0x48136f['LocaleService'])),_0x2125c9(0xb,_0x48136f[_0x53b22d(0x25d)](_0x5195dc)),_0x2125c9(0xc,_0x48136f[_0x53b22d(0x2b5)](_0x132fc9))],_0x3207bf['ConflictState']),_0x3207bf[_0x53b22d(0x434)]=class extends _0x2ee070{constructor(_0x40b162,_0x814e07,_0x3904cb,_0x2c6a38,_0x5bf1a4,_0x5bc9fb,_0x21fa91,_0x186415,_0x44dc08,_0x49b7e3){var _0x3ef38c=_0x53b22d;super(_0x40b162,_0x814e07,_0x3904cb,_0x2c6a38,_0x5bf1a4,_0x186415,_0x44dc08,_0x21fa91,_0x49b7e3),_0x4b46fd(this,_0x3ef38c(0x1ce),_0x3ef38c(0x183)),this[_0x3ef38c(0x33f)]=_0x5bc9fb;}[_0x53b22d(0x3f9)](_0x2bd0f3){return this['_pendingMutations']['push'](_0x2bd0f3),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x563165){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x53b22d(0x253)](){var _0x5003f8=_0x53b22d;throw new Error(_0x5003f8(0x208));}[_0x53b22d(0x405)](){var _0x2306f7=_0x53b22d;throw new Error(_0x2306f7(0x2bd));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x53b22d(0x358)](){var _0x44a5cc=_0x53b22d;const {_injector:_0x569e0c,_pendingMutations:_0x1742df,_awaitingChangeset:_0x23b970,unitID:_0x3274f4,_handler:_0x45bed0,type:_0x389f5d}=this,_0x5b6ae5=_0x378b7b(_0x569e0c,_0x3274f4,_0x389f5d,_0x23b970,_0x1742df,_0x45bed0);return _0x5b6ae5 instanceof _0x3207bf[_0x44a5cc(0x4f2)]?_0x5b6ae5[_0x44a5cc(0x270)]():(_0x5b6ae5 instanceof _0x3207bf[_0x44a5cc(0x4d7)]||_0x5b6ae5 instanceof _0x3207bf[_0x44a5cc(0x40d)])&&_0x5b6ae5['resend'](),_0x5b6ae5;}['resend'](){var _0x3b86fa=_0x53b22d;throw new Error(_0x3b86fa(0x1d3));}},_0x3207bf[_0x53b22d(0x434)]=_0x3395dd([_0x2125c9(0x5,_0x48136f[_0x53b22d(0x25d)](_0x48136f[_0x53b22d(0x474)])),_0x2125c9(0x6,_0x48136f[_0x53b22d(0x25d)](_0x395ea6['RevisionService'])),_0x2125c9(0x7,_0x48136f[_0x53b22d(0x493)]),_0x2125c9(0x8,_0x48136f[_0x53b22d(0x1a0)]),_0x2125c9(0x9,_0x48136f[_0x53b22d(0x2b5)](_0x132fc9))],_0x3207bf[_0x53b22d(0x434)]),_0x3207bf['FetchingMissState']=class extends _0x2ee070{constructor(_0xc59ab8,_0x24e131,_0x2cbf9c,_0x1cdec8,_0x240da6,_0x105373,_0x3c0a10,_0x468c6f,_0x275754,_0x1cab8d,_0x23d9f8,_0x464411,_0x83958a,_0x1fbcac){var _0x153a8c=_0x53b22d;super(_0xc59ab8,_0x24e131,_0x2cbf9c,_0x1cdec8,_0x3c0a10,_0x23d9f8,_0x464411,_0x275754,_0x1fbcac),_0x4b46fd(this,_0x153a8c(0x1ce),_0x153a8c(0x195)),(this['_acknowledgedAwaitingChangeset']=_0x240da6,this[_0x153a8c(0x339)]=_0x105373,this[_0x153a8c(0x33f)]=_0x468c6f,this[_0x153a8c(0x37d)]=_0x1cab8d,this[_0x153a8c(0x2f7)]=_0x83958a,this[_0x153a8c(0x38c)]=_0x1fbcac);}[_0x53b22d(0x1f4)](_0x45cf77){var _0x682c25=_0x53b22d;try{const _0x54bd6=[..._0x45cf77,...this[_0x682c25(0x339)]],_0x43dd21=[this[_0x682c25(0x1e5)]||this['_acknowledgedAwaitingChangeset']][_0x682c25(0x223)](_0x51bed4=>!!_0x51bed4);let _0x49ae23,_0xe71fcc;if(_0x43dd21[_0x682c25(0x34f)]){const _0x2179e4=this['_transformService'][_0x682c25(0x33e)](_0x54bd6,_0x43dd21,!0x1);if(!_0x395ea6[_0x682c25(0x43f)](_0x2179e4))throw _0x2179e4[_0x682c25(0x251)];_0x49ae23=_0x2179e4[_0x682c25(0x446)],_0xe71fcc=_0x2179e4[_0x682c25(0x1ae)];}else _0x49ae23=_0x54bd6,_0xe71fcc=[];let _0xfad5d4=this[_0x682c25(0x3d5)];_0x49ae23[_0x682c25(0x2eb)](_0x32512f=>{var _0x5df433=_0x682c25;let _0x4b255b;if(_0xfad5d4[_0x5df433(0x34f)]){const _0x857666=this[_0x5df433(0x2f7)][_0x5df433(0x200)](_0x32512f,_0xfad5d4);if(!_0x395ea6[_0x5df433(0x4c2)](_0x857666))throw _0x857666[_0x5df433(0x251)];_0x4b255b=_0x857666[_0x5df433(0x446)],_0xfad5d4=_0x857666[_0x5df433(0x329)];}else _0x4b255b=_0x32512f;this[_0x5df433(0x479)](_0x4b255b);}),this[_0x682c25(0x32d)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0xe71fcc[_0x682c25(0x34f)]&&(_0xe71fcc[0x0][_0x682c25(0x37b)]=this[_0x682c25(0x282)]());let _0x43e4d6;if(this['_awaitingChangeset']&&_0xfad5d4[_0x682c25(0x34f)]!==0x0)_0x43e4d6=this[_0x682c25(0x33f)][_0x682c25(0x283)](_0x3207bf[_0x682c25(0x4d7)],this[_0x682c25(0x24c)],this['type'],_0xe71fcc[0x0],_0xfad5d4,this[_0x682c25(0x281)],void 0x0);else{if(this['_awaitingChangeset']&&_0xfad5d4[_0x682c25(0x34f)]===0x0)_0xe71fcc[0x0]['baseRev']=this['_getCurrentRevision'](),_0x43e4d6=this[_0x682c25(0x33f)][_0x682c25(0x283)](_0x3207bf['AwaitingState'],this[_0x682c25(0x24c)],this[_0x682c25(0x4d6)],_0xe71fcc[0x0],this[_0x682c25(0x281)]);else{if(_0xfad5d4[_0x682c25(0x34f)]!==0x0){const _0x1ce201=this[_0x682c25(0x33f)][_0x682c25(0x283)](_0x3207bf[_0x682c25(0x4f2)],this[_0x682c25(0x24c)],this['type'],_0xfad5d4,this[_0x682c25(0x281)]);_0x1ce201[_0x682c25(0x270)](),_0x43e4d6=_0x1ce201;}else _0x43e4d6=this[_0x682c25(0x33f)]['createInstance'](_0x3207bf[_0x682c25(0x32b)],this[_0x682c25(0x24c)],this[_0x682c25(0x4d6)],this[_0x682c25(0x281)]);}}return _0x43e4d6['_updateLocalCache'](),_0x43e4d6;}catch(_0xcbf65){return this[_0x682c25(0x37d)]['error'](_0x682c25(0x326),_0x682c25(0x401),_0xcbf65),this[_0x682c25(0x33f)]['createInstance'](_0x3207bf[_0x682c25(0x42d)],this[_0x682c25(0x24c)],this['type'],this[_0x682c25(0x1e5)],this['_pendingMutations'],this[_0x682c25(0x281)],!0x1);}}[_0x53b22d(0x3f2)](){var _0xfbdfbe=_0x53b22d;throw new Error(_0xfbdfbe(0x373));}[_0x53b22d(0x3f9)](_0xfec315){var _0x29e942=_0x53b22d;return this[_0x29e942(0x3d5)][_0x29e942(0x2f6)](_0xfec315),this;}[_0x53b22d(0x484)](_0x55099f){var _0x544efc=_0x53b22d;return this[_0x544efc(0x339)]['push'](_0x55099f),this;}['onRemoteAck'](_0x1d2d45){var _0x5bd697=_0x53b22d;if(this['_awaitingChangeset'])return this[_0x5bd697(0x32d)]=this[_0x5bd697(0x1e5)],this[_0x5bd697(0x1e5)]=null,this;throw new Error(_0x5bd697(0x210));}['onRemoteRej'](_0x5be3ba){var _0xb9636a=_0x53b22d;return this[_0xb9636a(0x440)](!!(_0x5be3ba!=null&&_0x5be3ba['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x216867=_0x53b22d;return this['_injector'][_0x216867(0x283)](_0x3207bf[_0x216867(0x434)],this[_0x216867(0x24c)],this['type'],this[_0x216867(0x1e5)],this[_0x216867(0x3d5)],this['_handler']);}[_0x53b22d(0x358)](){return this;}['_onConflict'](_0x3ef35e){var _0x1d1c57=_0x53b22d;return this['_injector'][_0x1d1c57(0x283)](_0x3207bf['ConflictState'],this['unitID'],this[_0x1d1c57(0x4d6)],this['_awaitingChangeset'],this[_0x1d1c57(0x3d5)],this[_0x1d1c57(0x281)],_0x3ef35e);}},_0x3207bf['FetchingMissState']=_0x3395dd([_0x2125c9(0x7,_0x48136f['Inject'](_0x48136f['Injector'])),_0x2125c9(0x8,_0x48136f['Inject'](_0x395ea6[_0x53b22d(0x3fc)])),_0x2125c9(0x9,_0x48136f[_0x53b22d(0x1d1)]),_0x2125c9(0xa,_0x48136f['ICommandService']),_0x2125c9(0xb,_0x48136f[_0x53b22d(0x1a0)]),_0x2125c9(0xc,_0x395ea6[_0x53b22d(0x20b)]),_0x2125c9(0xd,_0x48136f[_0x53b22d(0x2b5)](_0x132fc9))],_0x3207bf[_0x53b22d(0x4c7)]);function _0x378b7b(_0x32ea7c,_0x5a6dc3,_0x32a22b,_0x2420f5,_0xc16f50,_0x4c92f3){var _0x384490=_0x53b22d;return _0x2420f5&&_0xc16f50['length']?_0x32ea7c[_0x384490(0x283)](_0x3207bf[_0x384490(0x4d7)],_0x5a6dc3,_0x32a22b,_0x2420f5,_0xc16f50,_0x4c92f3,void 0x0):_0x2420f5?_0x32ea7c[_0x384490(0x283)](_0x3207bf[_0x384490(0x40d)],_0x5a6dc3,_0x32a22b,_0x2420f5,_0x4c92f3):_0xc16f50['length']?_0x32ea7c['createInstance'](_0x3207bf[_0x384490(0x4f2)],_0x5a6dc3,_0x32a22b,_0xc16f50,_0x4c92f3):_0x32ea7c[_0x384490(0x283)](_0x3207bf[_0x384490(0x32b)],_0x5a6dc3,_0x32a22b,_0x4c92f3);}var _0x4942a6=Object[_0x53b22d(0x4ce)],_0x5eb72e=(_0x30a0e9,_0x3429f6,_0x238806,_0x8a9471)=>{var _0x26fd97=_0x53b22d;for(var _0x18dda5=_0x8a9471>0x1?void 0x0:_0x8a9471?_0x4942a6(_0x3429f6,_0x238806):_0x3429f6,_0x24f9dc=_0x30a0e9[_0x26fd97(0x34f)]-0x1,_0x545b09;_0x24f9dc>=0x0;_0x24f9dc--)(_0x545b09=_0x30a0e9[_0x24f9dc])&&(_0x18dda5=_0x545b09(_0x18dda5)||_0x18dda5);return _0x18dda5;},_0x2a62c=(_0x318e30,_0x17d14a)=>(_0x129236,_0x59cc60)=>_0x17d14a(_0x129236,_0x59cc60,_0x318e30);_0x3207bf[_0x53b22d(0x3e9)]=class extends _0x48136f['RxDisposable']{constructor(_0x57fc84,_0x523c30,_0x3a35a3,_0xd5f36d,_0x484705,_0x39f10,_0x39a5d2,_0x491be2,_0x2a7297,_0x5dad2f,_0x5d5cf0,_0x5023be,_0x963125){var _0x47264a=_0x53b22d;super(),_0x4b46fd(this,_0x47264a(0x3cd),new _0xae0ae['BehaviorSubject'](null)),_0x4b46fd(this,_0x47264a(0x272),this[_0x47264a(0x3cd)][_0x47264a(0x2c6)]()),_0x4b46fd(this,_0x47264a(0x224)),_0x4b46fd(this,'_collaborationPaused',!0x1),_0x4b46fd(this,'_changesetSessionId',''),_0x4b46fd(this,_0x47264a(0x291),0x0),_0x4b46fd(this,_0x47264a(0x19f),this[_0x47264a(0x272)][_0x47264a(0x3a7)](_0xae0ae[_0x47264a(0x2e9)](_0x5b8190=>_0x5b8190?_0x5b8190[_0x47264a(0x1ce)]:_0x57d322[_0x47264a(0x26b)]),_0xae0ae[_0x47264a(0x46d)](0x1))),_0x4b46fd(this,'_transitionLocked',!0x1),_0x4b46fd(this,_0x47264a(0x3e8),[]),(this[_0x47264a(0x24c)]=_0x57fc84,this[_0x47264a(0x306)]=_0x523c30,this[_0x47264a(0x214)]=_0x3a35a3,this[_0x47264a(0x33f)]=_0xd5f36d,this[_0x47264a(0x3f8)]=_0x484705,this[_0x47264a(0x1a9)]=_0x39f10,this['_revisionService']=_0x39a5d2,this[_0x47264a(0x2d9)]=_0x491be2,this['_logService']=_0x2a7297,this[_0x47264a(0x2d7)]=_0x5dad2f,this[_0x47264a(0x407)]=_0x5d5cf0,this[_0x47264a(0x315)]=_0x5023be,this['_localCacheService']=_0x963125);}get[_0x53b22d(0x346)](){var _0x69a36e=_0x53b22d;return this[_0x69a36e(0x224)];}async['init'](){var _0x160f11=_0x53b22d;if(this['state'])throw new Error(_0x160f11(0x420));await this[_0x160f11(0x3d7)]();}[_0x53b22d(0x413)](){var _0x5eedae=_0x53b22d;return this[_0x5eedae(0x4b3)]=!0x0,_0x48136f[_0x5eedae(0x237)](()=>{var _0x54309a=_0x5eedae;this['_collaborationPaused']=!0x1,this[_0x54309a(0x4b7)]();});}['onLocalMutation'](_0x4f9f0d){var _0x5941d7=_0x53b22d;this[_0x5941d7(0x220)](_0x4f9f0d);}[_0x53b22d(0x49f)](_0x38e6cd){var _0x4f20b3=_0x53b22d;this[_0x4f20b3(0x224)]=_0x38e6cd,this[_0x4f20b3(0x3cd)][_0x4f20b3(0x325)](_0x38e6cd);}async[_0x53b22d(0x3d7)](){var _0x2d5523=_0x53b22d,_0x2e517d;this[_0x2d5523(0x49f)](await this[_0x2d5523(0x4b9)]()),this[_0x2d5523(0x315)]&&((_0x2e517d=this[_0x2d5523(0x315)])==null||_0x2e517d[_0x2d5523(0x213)](this[_0x2d5523(0x24c)]),this[_0x2d5523(0x3f0)](this[_0x2d5523(0x315)]['getUnitStatus$'](this[_0x2d5523(0x24c)])[_0x2d5523(0x47d)](_0x4f7a07=>{var _0x221f1e=_0x2d5523;this['_logService']['debug']('[CollaborationEntity]',_0x221f1e(0x3b1),_0x4f7a07),_0x4f7a07===_0x4b6ed3[_0x221f1e(0x32f)]?(this['_eventService'][_0x221f1e(0x4cd)]({'id':_0x3fc847[_0x221f1e(0x203)]}),this['_permissionService'][_0x221f1e(0x207)](new _0x1306f3[(_0x221f1e(0x43d))](this['unitID'])['id'],!0x1),this[_0x221f1e(0x407)][_0x221f1e(0x258)](!0x1)):(this[_0x221f1e(0x407)][_0x221f1e(0x207)](new _0x1306f3['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x221f1e(0x407)][_0x221f1e(0x258)](!0x0));})));let _0x264d2f=!0x1;return this[_0x2d5523(0x3f0)](this[_0x2d5523(0x306)][_0x2d5523(0x201)][_0x2d5523(0x47d)](_0x31083d=>{var _0x158317=_0x2d5523;_0x31083d===_0x4178b8[_0x158317(0x4ad)]?this['_toggleOnline'](_0x264d2f):_0x31083d===_0x4178b8[_0x158317(0x26b)]&&(_0x264d2f=!0x0,this[_0x158317(0x36b)]());})),this[_0x2d5523(0x3f0)](this['session']['event$'][_0x2d5523(0x47d)](_0x2e1f26=>{var _0x3a2c83=_0x2d5523;try{switch(_0x2e1f26['eventID']){case _0x395ea6['CollaborationEvent'][_0x3a2c83(0x3b8)]:{this[_0x3a2c83(0x41c)](_0x395ea6[_0x3a2c83(0x3d6)](_0x2e1f26['data']));break;}case _0x395ea6[_0x3a2c83(0x307)][_0x3a2c83(0x3bd)]:{this['_onRemoteACK'](_0x2e1f26['data']);break;}case _0x395ea6[_0x3a2c83(0x307)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x395ea6[_0x3a2c83(0x307)]['CHANGESET_SHOULD_RETRY']:{this[_0x3a2c83(0x372)](_0x2e1f26[_0x3a2c83(0x39f)]);break;}case _0x395ea6[_0x3a2c83(0x307)][_0x3a2c83(0x331)]:{this['_onFetchMissResult'](_0x2e1f26[_0x3a2c83(0x39f)][_0x3a2c83(0x4af)][_0x3a2c83(0x2e9)](_0x19f3a5=>_0x395ea6[_0x3a2c83(0x3d6)](_0x19f3a5)));break;}case _0x395ea6['CollaborationEvent'][_0x3a2c83(0x492)]:{this[_0x3a2c83(0x28a)]({'isPermissionRej':!0x0});break;}case _0x395ea6[_0x3a2c83(0x307)][_0x3a2c83(0x49a)]:break;}}catch(_0xec762){throw console[_0x3a2c83(0x251)](_0x3a2c83(0x2a1),_0xec762),_0xec762;}})),this[_0x2d5523(0x224)];}[_0x53b22d(0x355)](){var _0x2f907b=_0x53b22d;this[_0x2f907b(0x379)]=!0x1;}[_0x53b22d(0x225)](){var _0xe762b6=_0x53b22d;if(this[_0xe762b6(0x379)])throw new Error(_0xe762b6(0x361));this[_0xe762b6(0x379)]=!0x0;}[_0x53b22d(0x220)](_0x38ed8a){var _0x37ba46=_0x53b22d;this[_0x37ba46(0x225)](),this['_updateState'](this[_0x37ba46(0x224)][_0x37ba46(0x3f9)](_0x38ed8a)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x566bb8){var _0x1cf590=_0x53b22d;if(!(_0x566bb8['revision']<=this[_0x1cf590(0x2af)][_0x1cf590(0x17c)](this[_0x1cf590(0x24c)]))){if(this['_collaborationPaused']){this[_0x1cf590(0x3e8)]['push'](_0x566bb8);return;}this[_0x1cf590(0x348)](_0x566bb8);}}['_exhaustRemoteChangesetQueue'](){var _0x5c0d19=_0x53b22d;this['_remoteChangesetQueue']['forEach'](_0x3a6538=>this['_applyRemoteChangeset'](_0x3a6538)),this[_0x5c0d19(0x3e8)]=[];}['_applyRemoteChangeset'](_0x156ee8){var _0xc56334=_0x53b22d;const _0x383389=this[_0xc56334(0x3f8)][_0xc56334(0x2ab)][_0xc56334(0x1d9)](this['_compressMutationService'][_0xc56334(0x2ab)]['getInterceptPoints']()[_0xc56334(0x4dd)])(_0x156ee8[_0xc56334(0x264)],null)||_0x156ee8[_0xc56334(0x264)],_0xb45b77={..._0x156ee8,'mutations':_0x383389};this[_0xc56334(0x225)](),this[_0xc56334(0x49f)](this[_0xc56334(0x224)][_0xc56334(0x484)](_0xb45b77)),this[_0xc56334(0x355)]();}['_onRemoteACK'](_0xe74b04){var _0x43f121=_0x53b22d;this[_0x43f121(0x225)](),this[_0x43f121(0x49f)](this[_0x43f121(0x224)][_0x43f121(0x253)](_0xe74b04)),this[_0x43f121(0x355)]();}['_onRemoteRejected'](_0x26918b){var _0x1852c0=_0x53b22d;this[_0x1852c0(0x225)](),this[_0x1852c0(0x49f)](this['_state'][_0x1852c0(0x405)](_0x26918b)),this[_0x1852c0(0x355)]();}[_0x53b22d(0x372)](_0x1a9174){var _0x1b1268=_0x53b22d;this[_0x1b1268(0x225)](),this['_updateState'](this[_0x1b1268(0x224)][_0x1b1268(0x2dd)](_0x1a9174)),this[_0x1b1268(0x355)]();}['_onFetchMissResult'](_0x48edff){var _0x57c240=_0x53b22d;if(!(this[_0x57c240(0x224)]instanceof _0x3207bf[_0x57c240(0x4c7)]))throw new TypeError(_0x57c240(0x1cc));const _0x59dfc1=_0x48edff['map'](_0x384b8d=>{var _0x19769e=_0x57c240;const _0x55d342=this['_compressMutationService']['interceptor'][_0x19769e(0x1d9)](this['_compressMutationService']['interceptor'][_0x19769e(0x255)]()['COMPRESS_MUTATION_APPLY'])(_0x384b8d[_0x19769e(0x264)],null)||_0x384b8d['mutations'];return{..._0x384b8d,'mutations':_0x55d342};});this[_0x57c240(0x225)](),this[_0x57c240(0x49f)](this['_state'][_0x57c240(0x1f4)](_0x59dfc1)),this[_0x57c240(0x355)]();}[_0x53b22d(0x36b)](){var _0x253b8d=_0x53b22d;this[_0x253b8d(0x225)](),this[_0x253b8d(0x49f)](this[_0x253b8d(0x224)]['toggleOffline']()),this[_0x253b8d(0x355)]();}['_toggleOnline'](_0x3f3bf6=!0x1){var _0x3aa2e3=_0x53b22d;this[_0x3aa2e3(0x225)](),this['_updateState'](this['_state'][_0x3aa2e3(0x358)]()),this['_unlockTransition']();const _0x4bafed=this[_0x3aa2e3(0x224)];_0x3f3bf6&&_0x4bafed instanceof _0x3207bf[_0x3aa2e3(0x32b)]&&(this['_lockTransition'](),this['_updateState'](_0x4bafed['fetchMiss']()),this[_0x3aa2e3(0x355)]());}async['_createInitialState'](){return new Promise(_0x5e089c=>{var _0x1451fe=_0x3d4a;this[_0x1451fe(0x306)][_0x1451fe(0x201)][_0x1451fe(0x3a7)](_0xae0ae['take'](0x1))[_0x1451fe(0x47d)](async _0x3b6aef=>{var _0x199487=_0x1451fe;_0x5e089c(await this[_0x199487(0x19d)](_0x3b6aef===_0x4178b8[_0x199487(0x4ad)]));});});}[_0x53b22d(0x368)](){var _0x97578b=_0x53b22d;const _0x4bdb63=this[_0x97578b(0x24c)];return{'onStateChange':(_0x2f2fb6,_0x5ad907)=>{var _0x2fe41b=_0x97578b;if(_0x2f2fb6!==this[_0x2fe41b(0x224)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2f2fb6['status']+_0x2fe41b(0x490)+_0x5ad907[_0x2fe41b(0x1ce)]+_0x2fe41b(0x303)+this['_state']['status']);this[_0x2fe41b(0x49f)](_0x5ad907);},'onSendChangeset':_0x498381=>{var _0x2df61f=_0x97578b;_0x498381[_0x2df61f(0x432)]||(_0x498381['sid']=this['_changesetSessionId'],_0x498381[_0x2df61f(0x31d)]=++this[_0x2df61f(0x291)]);const _0x13c8eb={'eventID':_0x395ea6[_0x2df61f(0x307)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x498381['unitID'],'unitType':this[_0x2df61f(0x214)],'changeset':_0x498381,'memberID':this[_0x2df61f(0x306)][_0x2df61f(0x44a)]()}};this['session']['send'](_0x13c8eb,this[_0x2df61f(0x24c)]);},'onMissingChangesets':({from:_0x2a8b98,to:_0x3468fe})=>{var _0x3c2f18=_0x97578b;this[_0x3c2f18(0x37d)]['debug']('[CollaborationEntity]',_0x3c2f18(0x42a)+_0x2a8b98+'\x20to\x20'+_0x3468fe);const _0x1793ad={'eventID':_0x395ea6[_0x3c2f18(0x307)][_0x3c2f18(0x468)],'data':{'unitID':_0x4bdb63,'unitType':this['_type'],'from':_0x2a8b98,'to':_0x3468fe}};this[_0x3c2f18(0x306)][_0x3c2f18(0x23d)](_0x1793ad,this[_0x3c2f18(0x24c)]);}};}async[_0x53b22d(0x19d)](_0x865f3b){var _0x2cfbe8=_0x53b22d,_0x15ccec,_0x46da7c,_0x3f94e0;const _0x470951=await((_0x15ccec=this[_0x2cfbe8(0x26a)])==null?void 0x0:_0x15ccec[_0x2cfbe8(0x3c6)](this[_0x2cfbe8(0x24c)])),_0x4ad132=(_0x46da7c=_0x470951==null?void 0x0:_0x470951[_0x2cfbe8(0x264)])!=null?_0x46da7c:[],_0x414527=(_0x3f94e0=_0x470951==null?void 0x0:_0x470951[_0x2cfbe8(0x335)])!=null?_0x3f94e0:null,_0x4193f1=!!(_0x414527!=null&&_0x414527[_0x2cfbe8(0x432)])&&!!(_0x414527!=null&&_0x414527[_0x2cfbe8(0x31d)]);this[_0x2cfbe8(0x1b8)]=_0x4193f1?_0x414527[_0x2cfbe8(0x432)]:_0xb8113f(),this[_0x2cfbe8(0x291)]=_0x4193f1?_0x414527[_0x2cfbe8(0x31d)]:0x0;const _0x133b95=this['unitID'];try{this[_0x2cfbe8(0x4eb)](_0x414527,_0x4ad132);}catch(_0x4fe272){this[_0x2cfbe8(0x37d)][_0x2cfbe8(0x251)](_0x4fe272);}const _0x172503=this[_0x2cfbe8(0x368)]();if(_0x865f3b){const _0x2671a5=_0x378b7b(this['_injector'],_0x133b95,this[_0x2cfbe8(0x214)],_0x414527,_0x4ad132,_0x172503);return _0x2671a5 instanceof _0x3207bf[_0x2cfbe8(0x4f2)]?_0x2671a5[_0x2cfbe8(0x270)]():(_0x2671a5 instanceof _0x3207bf['AwaitingWithPendingState']||_0x2671a5 instanceof _0x3207bf['AwaitingState'])&&_0x2671a5[_0x2cfbe8(0x3f2)](),_0x2671a5;}return this[_0x2cfbe8(0x33f)][_0x2cfbe8(0x283)](_0x3207bf[_0x2cfbe8(0x434)],_0x133b95,this[_0x2cfbe8(0x214)],_0x414527,_0x4ad132,_0x172503);}[_0x53b22d(0x4eb)](_0x338e36,_0x235172){var _0x2985ab=_0x53b22d,_0x2d40d7,_0x436b80;const _0x2373ec=this[_0x2985ab(0x3f8)][_0x2985ab(0x2ab)][_0x2985ab(0x1d9)](this[_0x2985ab(0x3f8)][_0x2985ab(0x2ab)][_0x2985ab(0x255)]()[_0x2985ab(0x4dd)]);(_0x2d40d7=_0x2373ec((_0x338e36==null?void 0x0:_0x338e36[_0x2985ab(0x264)])||[],null))==null||_0x2d40d7[_0x2985ab(0x2eb)](_0x14631e=>this[_0x2985ab(0x2d7)]['executeCommand'](_0x14631e['id'],_0x14631e['params'])),(_0x436b80=_0x2373ec(_0x235172||[],null))==null||_0x436b80[_0x2985ab(0x2eb)](_0xd6b7f4=>this[_0x2985ab(0x2d7)][_0x2985ab(0x4a4)](_0xd6b7f4['id'],_0xd6b7f4[_0x2985ab(0x36a)]));}},_0x3207bf['CollaborationEntity']=_0x5eb72e([_0x2a62c(0x3,_0x48136f[_0x53b22d(0x25d)](_0x48136f[_0x53b22d(0x474)])),_0x2a62c(0x4,_0x48136f[_0x53b22d(0x25d)](_0x395ea6[_0x53b22d(0x4f0)])),_0x2a62c(0x5,_0x48136f['Inject'](_0x48136f['LocaleService'])),_0x2a62c(0x6,_0x48136f[_0x53b22d(0x25d)](_0x395ea6[_0x53b22d(0x3fc)])),_0x2a62c(0x7,_0x48136f['Inject'](_0x5195dc)),_0x2a62c(0x8,_0x48136f[_0x53b22d(0x1d1)]),_0x2a62c(0x9,_0x48136f['ICommandService']),_0x2a62c(0xa,_0x48136f[_0x53b22d(0x3f4)]),_0x2a62c(0xb,_0x48136f[_0x53b22d(0x2b5)](_0x1183be)),_0x2a62c(0xc,_0x48136f[_0x53b22d(0x2b5)](_0x132fc9))],_0x3207bf[_0x53b22d(0x3e9)]),_0x3207bf[_0x53b22d(0x4f7)]=class extends _0x3207bf[_0x53b22d(0x3e9)]{constructor(_0xc52bc3,_0x3a3400,_0x487e93,_0x55b5fe,_0x4c0e6f,_0x3dad33,_0x152bb3,_0x4dac5f,_0x2ab727,_0x4c9101,_0x2bae69,_0x2732be,_0x37cff9){var _0xfb8aae=_0x53b22d;super(_0xc52bc3,_0x487e93,_0x3a3400,_0x55b5fe,_0x4c0e6f,_0x3dad33,_0x152bb3,_0x4dac5f,_0x2ab727,_0x4c9101,_0x2bae69,_0x2732be,_0x37cff9),_0x4b46fd(this,_0xfb8aae(0x1d5),null),(this[_0xfb8aae(0x24c)]=_0xc52bc3,this[_0xfb8aae(0x4d6)]=_0x3a3400);}['addHandlerCallback'](_0x448438){var _0x1fb590=_0x53b22d;this[_0x1fb590(0x1d5)]=_0x448438;}[_0x53b22d(0x4da)](){var _0xf881f7=_0x53b22d;this['_handlerCallback']=null,super[_0xf881f7(0x4da)]();}[_0x53b22d(0x368)](){var _0x1883d5=_0x53b22d;const _0x64303b=super['_createHandler']();return _0x64303b[_0x1883d5(0x1ec)]=_0x1d00b4=>{var _0x40594e=_0x1883d5,_0x11f813,_0x266d6b;return(_0x266d6b=(_0x11f813=this['_handlerCallback'])==null?void 0x0:_0x11f813[_0x40594e(0x1ec)])==null?void 0x0:_0x266d6b[_0x40594e(0x1e3)](_0x11f813,_0x1d00b4);},_0x64303b[_0x1883d5(0x17b)]=_0x45241b=>{var _0x340a1c=_0x1883d5,_0x3d2d67,_0x53a94d;return(_0x53a94d=(_0x3d2d67=this[_0x340a1c(0x1d5)])==null?void 0x0:_0x3d2d67['onTransformState'])==null?void 0x0:_0x53a94d[_0x340a1c(0x1e3)](_0x3d2d67,_0x45241b);},_0x64303b[_0x1883d5(0x2b0)]=_0x229fbb=>{var _0x13a9fd=_0x1883d5,_0x35a955,_0x4ee007;return(_0x4ee007=(_0x35a955=this[_0x13a9fd(0x1d5)])==null?void 0x0:_0x35a955[_0x13a9fd(0x2b0)])==null?void 0x0:_0x4ee007[_0x13a9fd(0x1e3)](_0x35a955,_0x229fbb);},_0x64303b['onSyncEditingCollabCursor']=_0x7ef544=>{var _0x3756b4=_0x1883d5,_0x4c8866,_0x1bab31;return(_0x1bab31=(_0x4c8866=this[_0x3756b4(0x1d5)])==null?void 0x0:_0x4c8866[_0x3756b4(0x290)])==null?void 0x0:_0x1bab31[_0x3756b4(0x1e3)](_0x4c8866,_0x7ef544);},_0x64303b[_0x1883d5(0x45e)]=_0x323e13=>{var _0x20f2c7=_0x1883d5,_0x2d817a,_0xf66d0c,_0x4f60eb;if(!((_0x2d817a=this['_handlerCallback'])!=null&&_0x2d817a[_0x20f2c7(0x45e)]))throw new Error(_0x20f2c7(0x416));return(_0x4f60eb=(_0xf66d0c=this[_0x20f2c7(0x1d5)])==null?void 0x0:_0xf66d0c[_0x20f2c7(0x45e)])==null?void 0x0:_0x4f60eb[_0x20f2c7(0x1e3)](_0xf66d0c,_0x323e13);},_0x64303b[_0x1883d5(0x2e6)]=_0x218b73=>{var _0x2ac830=_0x1883d5,_0x2bef4f,_0x375842,_0x5cb966;if(!((_0x2bef4f=this[_0x2ac830(0x1d5)])!=null&&_0x2bef4f[_0x2ac830(0x2e6)]))throw new Error(_0x2ac830(0x48b));return(_0x5cb966=(_0x375842=this[_0x2ac830(0x1d5)])==null?void 0x0:_0x375842[_0x2ac830(0x2e6)])==null?void 0x0:_0x5cb966[_0x2ac830(0x1e3)](_0x375842,_0x218b73);},_0x64303b;}async['_init'](){var _0x12724a=_0x53b22d;const _0x5bfade=await super['_init']();return this[_0x12724a(0x3f0)](this[_0x12724a(0x2d7)][_0x12724a(0x49e)]((_0x45a740,_0x4f0e3b)=>{var _0x23590a=_0x12724a;if(_0x45a740[_0x23590a(0x4d6)]!==_0x48136f[_0x23590a(0x2e5)][_0x23590a(0x31a)]||_0x4f0e3b!=null&&_0x4f0e3b['fromCollab']||_0x4f0e3b!=null&&_0x4f0e3b['onlyLocal']||_0x45a740['id']===_0x4d291f['RichTextEditingMutation']['id'])return;const _0x238ab4=_0x45a740['params'];if((_0x238ab4==null?void 0x0:_0x238ab4[_0x23590a(0x480)])!==this['unitID'])return;const _0x25bbb6=_0x45a740,_0x459f24=this[_0x23590a(0x3f8)][_0x23590a(0x2ab)][_0x23590a(0x1d9)](this[_0x23590a(0x3f8)][_0x23590a(0x2ab)][_0x23590a(0x255)]()['COMPRESS_MUTATION_SEND'])([_0x25bbb6],null)||[_0x25bbb6];this[_0x23590a(0x220)](_0x459f24[0x0]);})),_0x5bfade;}},_0x3207bf[_0x53b22d(0x4f7)]=_0x5eb72e([_0x2a62c(0x3,_0x48136f[_0x53b22d(0x25d)](_0x48136f[_0x53b22d(0x474)])),_0x2a62c(0x4,_0x48136f[_0x53b22d(0x25d)](_0x395ea6[_0x53b22d(0x4f0)])),_0x2a62c(0x5,_0x48136f[_0x53b22d(0x25d)](_0x48136f[_0x53b22d(0x1a1)])),_0x2a62c(0x6,_0x48136f[_0x53b22d(0x25d)](_0x395ea6['RevisionService'])),_0x2a62c(0x7,_0x48136f['Inject'](_0x5195dc)),_0x2a62c(0x8,_0x48136f[_0x53b22d(0x1d1)]),_0x2a62c(0x9,_0x48136f[_0x53b22d(0x493)]),_0x2a62c(0xa,_0x48136f[_0x53b22d(0x3f4)]),_0x2a62c(0xb,_0x48136f[_0x53b22d(0x2b5)](_0x1183be)),_0x2a62c(0xc,_0x48136f['Optional'](_0x132fc9))],_0x3207bf[_0x53b22d(0x4f7)]),_0x3207bf[_0x53b22d(0x29b)]=class extends _0x3207bf[_0x53b22d(0x3e9)]{constructor(_0x57cf37,_0x42bfb1,_0x423fd6,_0x3f03c4,_0x2dc5e5,_0x3e9b13,_0x12c5b2,_0x2e1a43,_0x1f8c51,_0x74e6d8,_0xdd84c5,_0x438d13,_0x56d357,_0x1e842b){var _0x1f3aa4=_0x53b22d;super(_0x57cf37,_0x423fd6,_0x42bfb1,_0x3f03c4,_0x2dc5e5,_0x3e9b13,_0x12c5b2,_0x1f8c51,_0x74e6d8,_0xdd84c5,_0x438d13,_0x56d357,_0x1e842b),this[_0x1f3aa4(0x24c)]=_0x57cf37,this[_0x1f3aa4(0x4d6)]=_0x42bfb1,this[_0x1f3aa4(0x38e)]=_0x2e1a43;}[_0x53b22d(0x368)](){var _0x2f1c7a=_0x53b22d;const _0x940af8=super[_0x2f1c7a(0x368)]();return _0x940af8[_0x2f1c7a(0x2b0)]=_0x1ac124=>this[_0x2f1c7a(0x38e)][_0x2f1c7a(0x497)](_0x1ac124),_0x940af8;}async['_init'](){var _0x460c25=_0x53b22d;const _0x391a38=await super['_init']();return this[_0x460c25(0x3f0)](this[_0x460c25(0x2d7)][_0x460c25(0x49e)]((_0x218bcf,_0xcc5c2)=>{var _0x4516eb=_0x460c25;if(_0x218bcf[_0x4516eb(0x4d6)]!==_0x48136f['CommandType'][_0x4516eb(0x31a)]||_0xcc5c2!=null&&_0xcc5c2[_0x4516eb(0x3b5)]||_0xcc5c2!=null&&_0xcc5c2[_0x4516eb(0x334)])return;const _0x5d7677=_0x218bcf[_0x4516eb(0x36a)];if((_0x5d7677==null?void 0x0:_0x5d7677['unitId'])!==this[_0x4516eb(0x24c)])return;const _0x19905f=_0x218bcf,_0x35cc45=this[_0x4516eb(0x3f8)][_0x4516eb(0x2ab)][_0x4516eb(0x1d9)](this['_compressMutationService'][_0x4516eb(0x2ab)]['getInterceptPoints']()[_0x4516eb(0x19e)])([_0x19905f],null)||[_0x19905f];this[_0x4516eb(0x220)](_0x35cc45[0x0]);})),_0x391a38;}},_0x3207bf[_0x53b22d(0x29b)]=_0x5eb72e([_0x2a62c(0x3,_0x48136f[_0x53b22d(0x25d)](_0x48136f[_0x53b22d(0x474)])),_0x2a62c(0x4,_0x48136f[_0x53b22d(0x25d)](_0x395ea6[_0x53b22d(0x4f0)])),_0x2a62c(0x5,_0x48136f[_0x53b22d(0x25d)](_0x48136f[_0x53b22d(0x1a1)])),_0x2a62c(0x6,_0x48136f[_0x53b22d(0x25d)](_0x395ea6[_0x53b22d(0x3fc)])),_0x2a62c(0x7,_0x48136f[_0x53b22d(0x25d)](_0x3207bf['SheetTransformSelectionsService'])),_0x2a62c(0x8,_0x48136f[_0x53b22d(0x25d)](_0x5195dc)),_0x2a62c(0x9,_0x48136f[_0x53b22d(0x1d1)]),_0x2a62c(0xa,_0x48136f['ICommandService']),_0x2a62c(0xb,_0x48136f[_0x53b22d(0x3f4)]),_0x2a62c(0xc,_0x48136f[_0x53b22d(0x2b5)](_0x1183be)),_0x2a62c(0xd,_0x48136f[_0x53b22d(0x2b5)](_0x132fc9))],_0x3207bf[_0x53b22d(0x29b)]);var _0x43bbd4=Object['getOwnPropertyDescriptor'],_0xba50b8=(_0x5697cb,_0x558f79,_0x459688,_0x5bd0b7)=>{var _0x182ead=_0x53b22d;for(var _0x2c4fc1=_0x5bd0b7>0x1?void 0x0:_0x5bd0b7?_0x43bbd4(_0x558f79,_0x459688):_0x558f79,_0x4ab419=_0x5697cb[_0x182ead(0x34f)]-0x1,_0x3db13c;_0x4ab419>=0x0;_0x4ab419--)(_0x3db13c=_0x5697cb[_0x4ab419])&&(_0x2c4fc1=_0x3db13c(_0x2c4fc1)||_0x2c4fc1);return _0x2c4fc1;},_0x43b611=(_0x24c5ed,_0x82cf97)=>(_0x549112,_0xd8c3e)=>_0x82cf97(_0x549112,_0xd8c3e,_0x24c5ed);_0x3207bf['CollaborationController']=class extends _0x48136f['RxDisposable']{constructor(_0xd7247d,_0x1941f5,_0xe26823){var _0xea5e12=_0x53b22d;super(),_0x4b46fd(this,'_entities',new Map()),_0x4b46fd(this,_0xea5e12(0x487),new _0xae0ae[(_0xea5e12(0x25a))]()),_0x4b46fd(this,'entityInit$',this['_entityInit$'][_0xea5e12(0x2c6)]()),(this[_0xea5e12(0x33f)]=_0xd7247d,this[_0xea5e12(0x4b6)]=_0x1941f5,this[_0xea5e12(0x3a3)]=_0xe26823,this[_0xea5e12(0x3d7)]());}[_0x53b22d(0x4da)](){var _0x5ce834=_0x53b22d;super[_0x5ce834(0x4da)](),this['_entities'][_0x5ce834(0x2eb)](_0x13cefb=>_0x13cefb[_0x5ce834(0x4da)]()),this[_0x5ce834(0x22b)][_0x5ce834(0x3ad)]();}[_0x53b22d(0x2f1)](_0x4bdf5d){var _0xc971b5=_0x53b22d,_0x524881;return(_0x524881=this[_0xc971b5(0x22b)][_0xc971b5(0x400)](_0x4bdf5d))!=null?_0x524881:null;}[_0x53b22d(0x232)](_0x25b1cb){var _0x44831d=_0x53b22d;const _0x38eab9=this[_0x44831d(0x2f1)](_0x25b1cb);return _0x38eab9?_0xae0ae['of'](_0x38eab9):this['_entityInit$'][_0x44831d(0x3a7)](_0x4deef5['filter'](_0x3d4d4a=>_0x3d4d4a[_0x44831d(0x24c)]===_0x25b1cb));}[_0x53b22d(0x35f)](_0x3fc434){var _0x2887e8=_0x53b22d;return _0xae0ae[_0x2887e8(0x477)](this['getCollabEntity$'](_0x3fc434)[_0x2887e8(0x3a7)](_0x4deef5[_0x2887e8(0x2e9)](()=>{})));}[_0x53b22d(0x3d7)](){var _0x4e46f8=_0x53b22d;this['_univerInstanceService'][_0x4e46f8(0x1c1)](_0x48136f[_0x4e46f8(0x457)][_0x4e46f8(0x3cf)])['pipe'](_0xae0ae[_0x4e46f8(0x3b7)](this['dispose$']),_0x4deef5['delay'](0x10))[_0x4e46f8(0x47d)](async _0x22d1f6=>{var _0x247daf=_0x4e46f8;const _0x9c38a9=_0x22d1f6[_0x247daf(0x445)](),_0xedc6c6=await this[_0x247daf(0x36f)](_0x9c38a9,_0xb5b2f5[_0x247daf(0x3cf)]);this[_0x247daf(0x22b)][_0x247daf(0x459)](_0x9c38a9,_0xedc6c6);}),this[_0x4e46f8(0x3a3)][_0x4e46f8(0x1c1)](_0x48136f[_0x4e46f8(0x457)]['UNIVER_DOC'])[_0x4e46f8(0x3a7)](_0xae0ae[_0x4e46f8(0x3b7)](this[_0x4e46f8(0x45b)]),_0x4deef5['delay'](0x10))['pipe'](_0x4deef5['filter'](_0x3ad17c=>!_0x3ad17c[_0x4e46f8(0x445)]()['startsWith']('__')))['subscribe'](async _0x270eea=>{var _0x447981=_0x4e46f8;const _0x4f9f8d=_0x270eea[_0x447981(0x445)](),_0x20c978=await this[_0x447981(0x36f)](_0x4f9f8d,_0xb5b2f5[_0x447981(0x2c2)]);this['_entities'][_0x447981(0x459)](_0x4f9f8d,_0x20c978);}),_0xae0ae[_0x4e46f8(0x2cb)](this[_0x4e46f8(0x3a3)][_0x4e46f8(0x4b8)](_0x48136f['UniverInstanceType'][_0x4e46f8(0x3cf)]),this[_0x4e46f8(0x3a3)]['getTypeOfUnitDisposed$'](_0x48136f['UniverInstanceType']['UNIVER_DOC']))['pipe'](_0xae0ae[_0x4e46f8(0x3b7)](this[_0x4e46f8(0x45b)]))[_0x4e46f8(0x47d)](_0x563bde=>{var _0x57f444=_0x4e46f8;const _0x1c39a3=_0x563bde['getUnitId'](),_0x5b0051=this[_0x57f444(0x22b)][_0x57f444(0x400)](_0x1c39a3);_0x5b0051&&(_0x5b0051[_0x57f444(0x4da)](),this['_entities']['delete'](_0x1c39a3));});}async['_startCollaboration'](_0xe9e73b,_0x532bd5){var _0x9b6b6c=_0x53b22d;const _0x29fbf6=await this[_0x9b6b6c(0x4b6)][_0x9b6b6c(0x391)](_0xe9e73b),_0x434a01=this[_0x9b6b6c(0x33f)][_0x9b6b6c(0x283)](this[_0x9b6b6c(0x2b8)](_0x532bd5),_0xe9e73b,_0x532bd5,_0x29fbf6);return await _0x434a01[_0x9b6b6c(0x3bb)](),this[_0x9b6b6c(0x487)][_0x9b6b6c(0x325)](_0x434a01),_0x434a01;}[_0x53b22d(0x2b8)](_0x4694e8){var _0x5d13db=_0x53b22d;switch(_0x4694e8){case _0xb5b2f5[_0x5d13db(0x2c2)]:return _0x3207bf['DocCollaborationEntity'];case _0xb5b2f5[_0x5d13db(0x3cf)]:return _0x3207bf[_0x5d13db(0x29b)];default:throw new Error(_0x5d13db(0x395)+_0x4694e8);}}},_0x3207bf[_0x53b22d(0x1da)]=_0xba50b8([_0x43b611(0x0,_0x48136f[_0x53b22d(0x25d)](_0x48136f['Injector'])),_0x43b611(0x1,_0x48136f['Inject'](_0x3207bf[_0x53b22d(0x4d1)])),_0x43b611(0x2,_0x48136f[_0x53b22d(0x409)])],_0x3207bf[_0x53b22d(0x1da)]);var _0x3a8abd=Object[_0x53b22d(0x4ce)],_0x254f05=(_0x3ad92f,_0x5a5afb,_0x4f3342,_0x50a894)=>{for(var _0x28b40d=_0x50a894>0x1?void 0x0:_0x50a894?_0x3a8abd(_0x5a5afb,_0x4f3342):_0x5a5afb,_0x2f6112=_0x3ad92f['length']-0x1,_0x48837b;_0x2f6112>=0x0;_0x2f6112--)(_0x48837b=_0x3ad92f[_0x2f6112])&&(_0x28b40d=_0x48837b(_0x28b40d)||_0x28b40d);return _0x28b40d;},_0x596b38=(_0x408211,_0x222604)=>(_0x555608,_0x17eae9)=>_0x222604(_0x555608,_0x17eae9,_0x408211);const _0x5909d5=_0x53b22d(0x3d1),_0x4d61fe=_0x53b22d(0x4de);let _0x4ccf69=class extends _0x48136f['Disposable']{constructor(_0x9ccc3,_0x4d661c){var _0x406572=_0x53b22d;super(),this[_0x406572(0x3a3)]=_0x9ccc3,this[_0x406572(0x4f9)]=_0x4d661c,this[_0x406572(0x3d7)]();}[_0x53b22d(0x3d7)](){var _0x50cbf2=_0x53b22d;this[_0x50cbf2(0x3f0)](this['_univerInstanceService'][_0x50cbf2(0x427)][_0x50cbf2(0x47d)](()=>{var _0xb7a3f0=_0x50cbf2,_0x1d151a;const _0x523459=this['_univerInstanceService'][_0xb7a3f0(0x227)]();let _0x2d2225=(_0x1d151a=this[_0xb7a3f0(0x4f9)][_0xb7a3f0(0x425)](_0x5909d5))!=null?_0x1d151a:_0x4d61fe;_0x523459 instanceof _0x48136f['Workbook']&&(_0x2d2225=_0x523459['name']),document[_0xb7a3f0(0x41d)]=_0x2d2225;}));}};_0x4ccf69=_0x254f05([_0x596b38(0x0,_0x48136f[_0x53b22d(0x409)]),_0x596b38(0x1,_0x48136f[_0x53b22d(0x3f6)])],_0x4ccf69);var _0x2b75cf=Object[_0x53b22d(0x4ce)],_0x25513c=(_0xaa025e,_0x33fb4e,_0x1d956f,_0x3e52fb)=>{var _0x16bcac=_0x53b22d;for(var _0x259be3=_0x3e52fb>0x1?void 0x0:_0x3e52fb?_0x2b75cf(_0x33fb4e,_0x1d956f):_0x33fb4e,_0x59fcd6=_0xaa025e[_0x16bcac(0x34f)]-0x1,_0x2e1e99;_0x59fcd6>=0x0;_0x59fcd6--)(_0x2e1e99=_0xaa025e[_0x59fcd6])&&(_0x259be3=_0x2e1e99(_0x259be3)||_0x259be3);return _0x259be3;},_0x21918f=(_0x21cf2b,_0x4a3390)=>(_0x480298,_0x5a10a2)=>_0x4a3390(_0x480298,_0x5a10a2,_0x21cf2b);let _0x4aaf21=class{constructor(_0x3cdd44,_0x3e91ab,_0xb124){var _0x237d80=_0x53b22d;this[_0x237d80(0x4f9)]=_0x3cdd44,this[_0x237d80(0x263)]=_0x3e91ab,this[_0x237d80(0x4ae)]=_0xb124,this[_0x237d80(0x3bb)]();}[_0x53b22d(0x3bb)](){var _0x554daa=_0x53b22d;this[_0x554daa(0x263)][_0x554daa(0x4c8)]({'priority':0x1,'interceptor':(_0x31a49c,_0x29ca86)=>_0x29ca86(_0x31a49c)[_0x554daa(0x3a7)](_0xae0ae[_0x554daa(0x287)](async _0xfd10b8=>{var _0x127e5e=_0x554daa;const _0x4eb857=_0xfd10b8;if(_0x4eb857['status']===0x191){if(typeof window>'u')throw new Error(_0x127e5e(0x496));if(window[_0x127e5e(0x328)](this[_0x127e5e(0x4ae)]['t'](_0x127e5e(0x3ca)))){const _0x5bb53b=window[_0x127e5e(0x18b)](window[_0x127e5e(0x4c9)][_0x127e5e(0x180)]);window[_0x127e5e(0x4c9)][_0x127e5e(0x180)]=this[_0x127e5e(0x36c)]()+_0x127e5e(0x2ad)+_0x5bb53b;}}return _0x4eb857;}))});}[_0x53b22d(0x36c)](){var _0xfa1f35=_0x53b22d,_0x4939c2,_0x1b60e8;const _0xfe502f=this[_0xfa1f35(0x4f9)][_0xfa1f35(0x425)](_0x9e22bc),_0x23aeed=this[_0xfa1f35(0x4f9)][_0xfa1f35(0x425)](_0x15fbd0);return(_0x1b60e8=(_0x4939c2=_0x23aeed==null?void 0x0:_0x23aeed[_0xfa1f35(0x1e2)])!=null?_0x4939c2:_0xfe502f)!=null?_0x1b60e8:_0x3e2daa;}};_0x4aaf21=_0x25513c([_0x21918f(0x0,_0x48136f[_0x53b22d(0x3f6)]),_0x21918f(0x1,_0x48136f['Inject'](_0x369f04[_0x53b22d(0x18a)])),_0x21918f(0x2,_0x48136f[_0x53b22d(0x25d)](_0x48136f[_0x53b22d(0x1a1)]))],_0x4aaf21);var _0x3ddc42=Object[_0x53b22d(0x4ce)],_0x4c0def=(_0x292762,_0x3ace5d,_0x42f785,_0x1a5d38)=>{var _0x455070=_0x53b22d;for(var _0x2d47b5=_0x1a5d38>0x1?void 0x0:_0x1a5d38?_0x3ddc42(_0x3ace5d,_0x42f785):_0x3ace5d,_0x54c64f=_0x292762[_0x455070(0x34f)]-0x1,_0x48c7e4;_0x54c64f>=0x0;_0x54c64f--)(_0x48c7e4=_0x292762[_0x54c64f])&&(_0x2d47b5=_0x48c7e4(_0x2d47b5)||_0x2d47b5);return _0x2d47b5;},_0x1058a4=(_0x488d2b,_0x3f10e7)=>(_0xcd7e47,_0x31c23e)=>_0x3f10e7(_0xcd7e47,_0x31c23e,_0x488d2b);const _0x42a54f='AUTHZ_URL_KEY',_0xe08d8e=_0x53b22d(0x4d5);_0x3207bf[_0x53b22d(0x363)]=class extends _0x48136f[_0x53b22d(0x241)]{constructor(_0x540b50,_0x5df581){var _0x4619de=_0x53b22d;super(),this[_0x4619de(0x288)]=_0x540b50,this[_0x4619de(0x4f9)]=_0x5df581,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x1dd800=_0x53b22d;const _0x954907=this;this[_0x1dd800(0x3f0)](this[_0x1dd800(0x288)][_0x1dd800(0x4c8)]({'priority':0x3e7,'interceptor':_0x369f04['MergeInterceptorFactory']({'isMatch'(_0x317c89){var _0x47cb4c=_0x1dd800,_0x1d3763;if(_0x317c89['method']===_0x47cb4c(0x39e)&&((_0x1d3763=_0x317c89['requestParams'])!=null&&_0x1d3763[_0x47cb4c(0x29a)])){const {objectID:_0x4526fd,objectType:_0x5179fe}=_0x317c89[_0x47cb4c(0x452)]['body']||{};if(!_0x4526fd||_0x5179fe===void 0x0)return!0x1;const _0x178d80=_0x954907[_0x47cb4c(0x447)]()+'/'+_0x5179fe+_0x47cb4c(0x338)+_0x4526fd+_0x47cb4c(0x25b);if(_0x317c89['url']===_0x178d80)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1dd011){var _0x1a66c1=_0x1dd800,_0x2efaa2;return(_0x2efaa2=_0x1dd011['requestParams'])==null?void 0x0:_0x2efaa2[_0x1a66c1(0x29a)];},'mergeParamsToRequest'(_0x1ca133,_0x352569){var _0x1afedb=_0x1dd800;const _0x1a25b=_0x954907[_0x1afedb(0x447)]()+_0x1afedb(0x4d3),_0x785ec6=_0x1ca133[_0x1afedb(0x317)]((_0x2827ae,_0x334cc7)=>{var _0x558f09=_0x1afedb;const {unitID:_0x50061b,objectID:_0x349d13,objectType:_0x1b86d9,actions:_0x12cde3}=_0x334cc7;return _0x2827ae[_0x50061b]||(_0x2827ae[_0x50061b]={}),_0x2827ae[_0x50061b][_0x349d13]||(_0x2827ae[_0x50061b][_0x349d13]={'objectID':_0x349d13,'objectType':_0x1b86d9,'actions':[]}),_0x2827ae[_0x50061b][_0x349d13][_0x558f09(0x1fb)][_0x558f09(0x2f6)](..._0x12cde3),_0x2827ae;},{}),_0xf2bbed=[];for(const _0x485e4e in _0x785ec6)for(const _0x24f564 in _0x785ec6[_0x485e4e]){const {actions:_0x391f4d,objectType:_0x1eb764}=_0x785ec6[_0x485e4e][_0x24f564],_0x384dd5=[...new Set(_0x391f4d)];_0xf2bbed[_0x1afedb(0x2f6)]({'unitID':_0x485e4e,'objectID':_0x24f564,'objectType':_0x1eb764,'actions':_0x384dd5});}return new _0x369f04['HTTPRequest']('POST',_0x1a25b,{'headers':_0x352569[_0x1afedb(0x22a)],'withCredentials':_0x352569['withCredentials'],'responseType':_0x352569[_0x1afedb(0x365)],'body':{'requests':_0xf2bbed}});}},{'distributeResult'(_0xf09e18,_0xfcb2de){var _0x2bdc57=_0x1dd800;const {objectActions:_0x469777}=_0xf09e18;return _0xfcb2de[_0x2bdc57(0x2e9)](_0x104a6a=>{var _0x5a1670=_0x2bdc57;const {unitID:_0x274290,objectID:_0x4e3a1f,actions:_0x14e8e8}=_0x104a6a,_0x2e20c5=_0x469777[_0x5a1670(0x1cf)](_0x42c55f=>_0x42c55f[_0x5a1670(0x24c)]===_0x274290&&_0x42c55f['objectID']===_0x4e3a1f),_0x4471ca=_0x14e8e8['map'](_0x3c1eea=>_0x2e20c5==null?void 0x0:_0x2e20c5[_0x5a1670(0x1fb)][_0x5a1670(0x1cf)](_0x2bbc12=>_0x2bbc12['action']===_0x3c1eea))[_0x5a1670(0x223)](_0x5c6c07=>!!_0x5c6c07);return{'config':_0x104a6a,'result':{'actions':_0x4471ca,'error':_0xf09e18[_0x5a1670(0x251)]}};});}})}));}[_0x53b22d(0x447)](){var _0xf910bb=_0x53b22d,_0x36fb86,_0x4a8cae;const _0x1ef5af=this[_0xf910bb(0x4f9)]['getConfig'](_0x42a54f),_0x39f873=this[_0xf910bb(0x4f9)][_0xf910bb(0x425)](_0x15fbd0);return(_0x4a8cae=(_0x36fb86=_0x39f873==null?void 0x0:_0x39f873[_0xf910bb(0x3ba)])!=null?_0x36fb86:_0x1ef5af)!=null?_0x4a8cae:_0xe08d8e;}async[_0x53b22d(0x26e)](_0x1a9568){var _0x39e732=_0x53b22d;const _0x209b0b=this[_0x39e732(0x447)]()+'/'+_0x1a9568[_0x39e732(0x33b)]+_0x39e732(0x369);return(await this['_HTTPService']['post'](_0x209b0b,{'body':_0x1a9568}))[_0x39e732(0x29a)]['objectID']||'';}async[_0x53b22d(0x181)](_0x45fb68){var _0x3dcfd5=_0x53b22d;const _0x25b8a7=this[_0x3dcfd5(0x447)]()+_0x3dcfd5(0x463);return(await this[_0x3dcfd5(0x288)][_0x3dcfd5(0x4c4)](_0x25b8a7,{'body':_0x45fb68}))['body'][_0x3dcfd5(0x29c)];}async[_0x53b22d(0x2ff)](_0x491140){var _0x48a003=_0x53b22d,_0x41ad50,_0x3c5ab2;const _0x44d913=this[_0x48a003(0x447)]()+'/'+_0x491140['objectType']+_0x48a003(0x338)+_0x491140[_0x48a003(0x428)],_0x49d0ef=await this['_HTTPService'][_0x48a003(0x414)](_0x44d913,{'body':_0x491140});if(((_0x3c5ab2=(_0x41ad50=_0x49d0ef==null?void 0x0:_0x49d0ef['body'])==null?void 0x0:_0x41ad50[_0x48a003(0x251)])==null?void 0x0:_0x3c5ab2[_0x48a003(0x233)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x53b22d(0x472)](_0x459bd6){var _0x592375=_0x53b22d;const _0x4ae198=this[_0x592375(0x447)]()+'/'+_0x459bd6[_0x592375(0x33b)]+'/object/'+_0x459bd6[_0x592375(0x428)]+_0x592375(0x25b);return(await this[_0x592375(0x288)][_0x592375(0x4c4)](_0x4ae198,{'body':_0x459bd6}))[_0x592375(0x29a)][_0x592375(0x1fb)];}async[_0x53b22d(0x461)](_0x252c15){var _0x46a9e6=_0x53b22d;const _0x5e4c84=this[_0x46a9e6(0x447)]()+_0x46a9e6(0x4d3);return(await this[_0x46a9e6(0x288)]['post'](_0x5e4c84,{'body':{'requests':_0x252c15}}))[_0x46a9e6(0x29a)]['objectActions'];}async[_0x53b22d(0x4ed)](_0x1b2bd1){var _0x4e13e9=_0x53b22d;const _0x411d47=this[_0x4e13e9(0x447)]()+'/'+_0x1b2bd1[_0x4e13e9(0x33b)]+'/role',_0x2e8e90=await this[_0x4e13e9(0x288)]['post'](_0x411d47,{'body':_0x1b2bd1});return{'roles':_0x2e8e90[_0x4e13e9(0x29a)][_0x4e13e9(0x388)],'actions':_0x2e8e90[_0x4e13e9(0x29a)][_0x4e13e9(0x1fb)]};}async['deleteCollaborator'](_0x3c12d2){var _0x2eb625=_0x53b22d;const _0x17fa0c=this[_0x2eb625(0x447)]()+'/collaborator';await this['_HTTPService']['delete'](_0x17fa0c,{'params':{'collaboratorID':_0x3c12d2[_0x2eb625(0x342)],'objectID':_0x3c12d2[_0x2eb625(0x428)],'unitID':_0x3c12d2[_0x2eb625(0x24c)]}});}async[_0x53b22d(0x24a)](_0xa2582){var _0x34c29d=_0x53b22d;const _0x587070=this['_getAPIPrefixPath']()+_0x34c29d(0x488);await this[_0x34c29d(0x288)][_0x34c29d(0x442)](_0x587070,{'body':_0xa2582});}async['createCollaborator'](_0x3ad40e){var _0x228be9=_0x53b22d;const _0x20ce3b=this[_0x228be9(0x447)]()+_0x228be9(0x488);await this[_0x228be9(0x288)]['post'](_0x20ce3b,{'body':_0x3ad40e});}async[_0x53b22d(0x42e)](_0x3b361d){var _0x33924e=_0x53b22d;const _0x50748c=this[_0x33924e(0x447)]()+_0x33924e(0x488);return(await this[_0x33924e(0x288)]['get'](_0x50748c,{'params':{'objectID':_0x3b361d[_0x33924e(0x428)],'unitID':_0x3b361d[_0x33924e(0x24c)]}}))[_0x33924e(0x29a)]['collaborators'];}async[_0x53b22d(0x357)](_0x4294f5){const _0x3055cf=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService']['put'](_0x3055cf,{'body':_0x4294f5});}},_0x3207bf[_0x53b22d(0x363)]=_0x4c0def([_0x1058a4(0x0,_0x48136f[_0x53b22d(0x25d)](_0x369f04[_0x53b22d(0x18a)])),_0x1058a4(0x1,_0x48136f[_0x53b22d(0x25d)](_0x48136f[_0x53b22d(0x3f6)]))],_0x3207bf[_0x53b22d(0x363)]);var _0x4475c3=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1b476f(_0x3a8c14){var _0x561d5e=_0x53b22d;return _0x3a8c14&&_0x3a8c14[_0x561d5e(0x30a)]&&Object[_0x561d5e(0x192)][_0x561d5e(0x4f3)][_0x561d5e(0x1e3)](_0x3a8c14,_0x561d5e(0x352))?_0x3a8c14['default']:_0x3a8c14;}var _0x54e007={'exports':{}};function _0x18c2f6(_0x5e3a73){var _0x8712f3=_0x53b22d;throw new Error(_0x8712f3(0x371)+_0x5e3a73+_0x8712f3(0x4b4));}var _0x149352={'exports':{}},_0x457213=_0x149352[_0x53b22d(0x3ef)],_0x11b9a0;function _0x5e2572(){return _0x11b9a0||(_0x11b9a0=0x1,function(_0x257c47,_0x51c3fd){(function(_0x20836f,_0x4c568e){var _0x36efd6=_0x3d4a;_0x257c47[_0x36efd6(0x3ef)]=_0x4c568e();}(_0x457213,function(){var _0x1e1ae8=_0x1e1ae8||function(_0x58e193,_0x2a510e){var _0x10074f=_0x3d4a,_0x58fe49;if(typeof window<'u'&&window[_0x10074f(0x26f)]&&(_0x58fe49=window[_0x10074f(0x26f)]),typeof self<'u'&&self['crypto']&&(_0x58fe49=self[_0x10074f(0x26f)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x58fe49=globalThis[_0x10074f(0x26f)]),!_0x58fe49&&typeof window<'u'&&window[_0x10074f(0x1ef)]&&(_0x58fe49=window[_0x10074f(0x1ef)]),!_0x58fe49&&typeof _0x4475c3<'u'&&_0x4475c3[_0x10074f(0x26f)]&&(_0x58fe49=_0x4475c3[_0x10074f(0x26f)]),!_0x58fe49&&typeof _0x18c2f6==_0x10074f(0x4a6))try{_0x58fe49=require(_0x10074f(0x26f));}catch{}var _0x4a310b=function(){var _0x720646=_0x10074f;if(_0x58fe49){if(typeof _0x58fe49[_0x720646(0x238)]==_0x720646(0x4a6))try{return _0x58fe49['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x58fe49[_0x720646(0x327)]=='function')try{return _0x58fe49[_0x720646(0x327)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x720646(0x44d));},_0x326b71=Object['create']||(function(){function _0x49ab49(){}return function(_0x3471af){var _0x34b73f=_0x3d4a,_0x5bdb7a;return _0x49ab49[_0x34b73f(0x192)]=_0x3471af,_0x5bdb7a=new _0x49ab49(),_0x49ab49[_0x34b73f(0x192)]=null,_0x5bdb7a;};}()),_0x5ce2c9={},_0x4ec32a=_0x5ce2c9[_0x10074f(0x3e6)]={},_0x8e2b58=_0x4ec32a[_0x10074f(0x435)]=(function(){return{'extend':function(_0x40cc10){var _0x110f47=_0x3d4a,_0x132fab=_0x326b71(this);return _0x40cc10&&_0x132fab[_0x110f47(0x4bd)](_0x40cc10),(!_0x132fab[_0x110f47(0x4f3)](_0x110f47(0x3bb))||this[_0x110f47(0x3bb)]===_0x132fab[_0x110f47(0x3bb)])&&(_0x132fab[_0x110f47(0x3bb)]=function(){var _0x4f4f1d=_0x110f47;_0x132fab['$super'][_0x4f4f1d(0x3bb)]['apply'](this,arguments);}),_0x132fab[_0x110f47(0x3bb)][_0x110f47(0x192)]=_0x132fab,_0x132fab[_0x110f47(0x184)]=this,_0x132fab;},'create':function(){var _0x4f4d5d=_0x3d4a,_0x138807=this[_0x4f4d5d(0x1ff)]();return _0x138807[_0x4f4d5d(0x3bb)][_0x4f4d5d(0x17f)](_0x138807,arguments),_0x138807;},'init':function(){},'mixIn':function(_0x596d13){var _0x258c19=_0x3d4a;for(var _0x1c3625 in _0x596d13)_0x596d13[_0x258c19(0x4f3)](_0x1c3625)&&(this[_0x1c3625]=_0x596d13[_0x1c3625]);_0x596d13[_0x258c19(0x4f3)]('toString')&&(this[_0x258c19(0x2ce)]=_0x596d13[_0x258c19(0x2ce)]);},'clone':function(){var _0x4ee8ae=_0x3d4a;return this[_0x4ee8ae(0x3bb)][_0x4ee8ae(0x192)][_0x4ee8ae(0x1ff)](this);}};}()),_0x4af5e7=_0x4ec32a[_0x10074f(0x24f)]=_0x8e2b58[_0x10074f(0x1ff)]({'init':function(_0x118d93,_0x346d1c){var _0xedeb88=_0x10074f;_0x118d93=this[_0xedeb88(0x3c3)]=_0x118d93||[],_0x346d1c!=_0x2a510e?this[_0xedeb88(0x3fe)]=_0x346d1c:this['sigBytes']=_0x118d93['length']*0x4;},'toString':function(_0x2bd7b6){var _0x6709df=_0x10074f;return(_0x2bd7b6||_0x277c49)[_0x6709df(0x2b7)](this);},'concat':function(_0x5c88e8){var _0x313cf0=_0x10074f,_0x15648d=this[_0x313cf0(0x3c3)],_0x44a570=_0x5c88e8[_0x313cf0(0x3c3)],_0x267b04=this[_0x313cf0(0x3fe)],_0x57b944=_0x5c88e8[_0x313cf0(0x3fe)];if(this[_0x313cf0(0x4c0)](),_0x267b04%0x4)for(var _0x16121b=0x0;_0x16121b<_0x57b944;_0x16121b++){var _0x197b5e=_0x44a570[_0x16121b>>>0x2]>>>0x18-_0x16121b%0x4*0x8&0xff;_0x15648d[_0x267b04+_0x16121b>>>0x2]|=_0x197b5e<<0x18-(_0x267b04+_0x16121b)%0x4*0x8;}else{for(var _0x1a3ca1=0x0;_0x1a3ca1<_0x57b944;_0x1a3ca1+=0x4)_0x15648d[_0x267b04+_0x1a3ca1>>>0x2]=_0x44a570[_0x1a3ca1>>>0x2];}return this[_0x313cf0(0x3fe)]+=_0x57b944,this;},'clamp':function(){var _0x2df0da=_0x10074f,_0x21527d=this[_0x2df0da(0x3c3)],_0x854017=this['sigBytes'];_0x21527d[_0x854017>>>0x2]&=0xffffffff<<0x20-_0x854017%0x4*0x8,_0x21527d['length']=_0x58e193[_0x2df0da(0x3c0)](_0x854017/0x4);},'clone':function(){var _0x30e86f=_0x10074f,_0x72f6d2=_0x8e2b58['clone']['call'](this);return _0x72f6d2[_0x30e86f(0x3c3)]=this[_0x30e86f(0x3c3)][_0x30e86f(0x3ea)](0x0),_0x72f6d2;},'random':function(_0x4d9ff9){var _0x56db26=_0x10074f;for(var _0x20287c=[],_0x253775=0x0;_0x253775<_0x4d9ff9;_0x253775+=0x4)_0x20287c[_0x56db26(0x2f6)](_0x4a310b());return new _0x4af5e7[(_0x56db26(0x3bb))](_0x20287c,_0x4d9ff9);}}),_0xbbf93=_0x5ce2c9['enc']={},_0x277c49=_0xbbf93['Hex']={'stringify':function(_0xa4faa9){var _0x17a936=_0x10074f;for(var _0x3a093d=_0xa4faa9[_0x17a936(0x3c3)],_0xcb4b38=_0xa4faa9[_0x17a936(0x3fe)],_0x59a96b=[],_0x249842=0x0;_0x249842<_0xcb4b38;_0x249842++){var _0x3d0bc2=_0x3a093d[_0x249842>>>0x2]>>>0x18-_0x249842%0x4*0x8&0xff;_0x59a96b[_0x17a936(0x2f6)]((_0x3d0bc2>>>0x4)[_0x17a936(0x2ce)](0x10)),_0x59a96b[_0x17a936(0x2f6)]((_0x3d0bc2&0xf)['toString'](0x10));}return _0x59a96b[_0x17a936(0x296)]('');},'parse':function(_0x84f136){var _0x45312e=_0x10074f;for(var _0x2bf1d9=_0x84f136[_0x45312e(0x34f)],_0x531c1d=[],_0x2390ab=0x0;_0x2390ab<_0x2bf1d9;_0x2390ab+=0x2)_0x531c1d[_0x2390ab>>>0x3]|=parseInt(_0x84f136['substr'](_0x2390ab,0x2),0x10)<<0x18-_0x2390ab%0x8*0x4;return new _0x4af5e7['init'](_0x531c1d,_0x2bf1d9/0x2);}},_0x66af17=_0xbbf93['Latin1']={'stringify':function(_0x5ad1e3){var _0x1ea940=_0x10074f;for(var _0x383236=_0x5ad1e3[_0x1ea940(0x3c3)],_0x2fa3b9=_0x5ad1e3['sigBytes'],_0x2a517b=[],_0x1853dc=0x0;_0x1853dc<_0x2fa3b9;_0x1853dc++){var _0x3a6eeb=_0x383236[_0x1853dc>>>0x2]>>>0x18-_0x1853dc%0x4*0x8&0xff;_0x2a517b[_0x1ea940(0x2f6)](String['fromCharCode'](_0x3a6eeb));}return _0x2a517b['join']('');},'parse':function(_0x4d37a6){var _0x27df66=_0x10074f;for(var _0x58b8b5=_0x4d37a6['length'],_0x7b2300=[],_0x21fea6=0x0;_0x21fea6<_0x58b8b5;_0x21fea6++)_0x7b2300[_0x21fea6>>>0x2]|=(_0x4d37a6['charCodeAt'](_0x21fea6)&0xff)<<0x18-_0x21fea6%0x4*0x8;return new _0x4af5e7[(_0x27df66(0x3bb))](_0x7b2300,_0x58b8b5);}},_0x2115f3=_0xbbf93[_0x10074f(0x30f)]={'stringify':function(_0x18dca3){var _0x18e3f6=_0x10074f;try{return decodeURIComponent(escape(_0x66af17[_0x18e3f6(0x2b7)](_0x18dca3)));}catch{throw new Error(_0x18e3f6(0x18e));}},'parse':function(_0x2d884f){return _0x66af17['parse'](unescape(encodeURIComponent(_0x2d884f)));}},_0x1b7c8b=_0x4ec32a['BufferedBlockAlgorithm']=_0x8e2b58[_0x10074f(0x1ff)]({'reset':function(){var _0xee8b9c=_0x10074f;this[_0xee8b9c(0x37f)]=new _0x4af5e7[(_0xee8b9c(0x3bb))](),this[_0xee8b9c(0x289)]=0x0;},'_append':function(_0x5cc2e8){var _0x46df65=_0x10074f;typeof _0x5cc2e8==_0x46df65(0x411)&&(_0x5cc2e8=_0x2115f3['parse'](_0x5cc2e8)),this[_0x46df65(0x37f)][_0x46df65(0x356)](_0x5cc2e8),this['_nDataBytes']+=_0x5cc2e8[_0x46df65(0x3fe)];},'_process':function(_0x25b719){var _0x47b27b=_0x10074f,_0x3e5221,_0x311fba=this[_0x47b27b(0x37f)],_0x437238=_0x311fba[_0x47b27b(0x3c3)],_0x26f252=_0x311fba[_0x47b27b(0x3fe)],_0x6f285=this[_0x47b27b(0x4cb)],_0x765858=_0x6f285*0x4,_0x559edd=_0x26f252/_0x765858;_0x25b719?_0x559edd=_0x58e193[_0x47b27b(0x3c0)](_0x559edd):_0x559edd=_0x58e193[_0x47b27b(0x274)]((_0x559edd|0x0)-this[_0x47b27b(0x21c)],0x0);var _0x59129c=_0x559edd*_0x6f285,_0x23c708=_0x58e193['min'](_0x59129c*0x4,_0x26f252);if(_0x59129c){for(var _0x25ed27=0x0;_0x25ed27<_0x59129c;_0x25ed27+=_0x6f285)this[_0x47b27b(0x2fc)](_0x437238,_0x25ed27);_0x3e5221=_0x437238['splice'](0x0,_0x59129c),_0x311fba[_0x47b27b(0x3fe)]-=_0x23c708;}return new _0x4af5e7['init'](_0x3e5221,_0x23c708);},'clone':function(){var _0x127ffc=_0x10074f,_0x802107=_0x8e2b58[_0x127ffc(0x21a)][_0x127ffc(0x1e3)](this);return _0x802107[_0x127ffc(0x37f)]=this[_0x127ffc(0x37f)][_0x127ffc(0x21a)](),_0x802107;},'_minBufferSize':0x0});_0x4ec32a[_0x10074f(0x449)]=_0x1b7c8b[_0x10074f(0x1ff)]({'cfg':_0x8e2b58['extend'](),'init':function(_0x1906eb){var _0x1f6136=_0x10074f;this[_0x1f6136(0x28d)]=this[_0x1f6136(0x28d)]['extend'](_0x1906eb),this[_0x1f6136(0x47a)]();},'reset':function(){var _0x51aa13=_0x10074f;_0x1b7c8b[_0x51aa13(0x47a)][_0x51aa13(0x1e3)](this),this[_0x51aa13(0x443)]();},'update':function(_0x5cc482){var _0x3b4167=_0x10074f;return this[_0x3b4167(0x489)](_0x5cc482),this[_0x3b4167(0x300)](),this;},'finalize':function(_0x34eade){var _0x372abe=_0x10074f;_0x34eade&&this[_0x372abe(0x489)](_0x34eade);var _0x5c4278=this[_0x372abe(0x1eb)]();return _0x5c4278;},'blockSize':0x10,'_createHelper':function(_0x4fc153){return function(_0x3ff0a4,_0x36dbdf){var _0x55c8a9=_0x3d4a;return new _0x4fc153[(_0x55c8a9(0x3bb))](_0x36dbdf)['finalize'](_0x3ff0a4);};},'_createHmacHelper':function(_0x5b427c){return function(_0x1fe4ee,_0x58d60b){var _0x2b1746=_0x3d4a;return new _0x386f8e['HMAC'][(_0x2b1746(0x3bb))](_0x5b427c,_0x58d60b)[_0x2b1746(0x19a)](_0x1fe4ee);};}});var _0x386f8e=_0x5ce2c9[_0x10074f(0x380)]={};return _0x5ce2c9;}(Math);return _0x1e1ae8;}));}(_0x149352)),_0x149352['exports'];}var _0x5e69d8={'exports':{}},_0x8131e4=_0x5e69d8['exports'],_0x34b03c;function _0x2ce420(){var _0x250adb=_0x53b22d;return _0x34b03c||(_0x34b03c=0x1,function(_0x23e51f,_0x10b274){(function(_0x1d4ad3,_0x416677){var _0xfbec48=_0x3d4a;_0x23e51f[_0xfbec48(0x3ef)]=_0x416677(_0x5e2572());}(_0x8131e4,function(_0x4eb87e){var _0x1e1cd1=_0x3d4a;return(function(){var _0x2e38b0=_0x3d4a,_0x12ec2d=_0x4eb87e,_0x53ceb0=_0x12ec2d[_0x2e38b0(0x3e6)],_0x512763=_0x53ceb0['WordArray'],_0x5ca4d7=_0x12ec2d[_0x2e38b0(0x2d3)];_0x5ca4d7[_0x2e38b0(0x4e6)]={'stringify':function(_0x3211bb){var _0x4dd5f7=_0x2e38b0,_0x8cbc1b=_0x3211bb['words'],_0x4b1e22=_0x3211bb[_0x4dd5f7(0x3fe)],_0x39b8b5=this[_0x4dd5f7(0x24d)];_0x3211bb[_0x4dd5f7(0x4c0)]();for(var _0x286d57=[],_0x47d446=0x0;_0x47d446<_0x4b1e22;_0x47d446+=0x3)for(var _0x2ab2ae=_0x8cbc1b[_0x47d446>>>0x2]>>>0x18-_0x47d446%0x4*0x8&0xff,_0x1aecc9=_0x8cbc1b[_0x47d446+0x1>>>0x2]>>>0x18-(_0x47d446+0x1)%0x4*0x8&0xff,_0x354951=_0x8cbc1b[_0x47d446+0x2>>>0x2]>>>0x18-(_0x47d446+0x2)%0x4*0x8&0xff,_0x3572a1=_0x2ab2ae<<0x10|_0x1aecc9<<0x8|_0x354951,_0x256d93=0x0;_0x256d93<0x4&&_0x47d446+_0x256d93*0.75<_0x4b1e22;_0x256d93++)_0x286d57[_0x4dd5f7(0x2f6)](_0x39b8b5['charAt'](_0x3572a1>>>0x6*(0x3-_0x256d93)&0x3f));var _0x2720ec=_0x39b8b5[_0x4dd5f7(0x34e)](0x40);if(_0x2720ec){for(;_0x286d57['length']%0x4;)_0x286d57[_0x4dd5f7(0x2f6)](_0x2720ec);}return _0x286d57[_0x4dd5f7(0x296)]('');},'parse':function(_0x161fe6){var _0x4c8676=_0x2e38b0,_0x1f9fad=_0x161fe6['length'],_0x537e1a=this[_0x4c8676(0x24d)],_0x4cc8c5=this[_0x4c8676(0x23f)];if(!_0x4cc8c5){_0x4cc8c5=this[_0x4c8676(0x23f)]=[];for(var _0x154909=0x0;_0x154909<_0x537e1a[_0x4c8676(0x34f)];_0x154909++)_0x4cc8c5[_0x537e1a[_0x4c8676(0x2b2)](_0x154909)]=_0x154909;}var _0x3f3b34=_0x537e1a[_0x4c8676(0x34e)](0x40);if(_0x3f3b34){var _0xd91cb0=_0x161fe6[_0x4c8676(0x482)](_0x3f3b34);_0xd91cb0!==-0x1&&(_0x1f9fad=_0xd91cb0);}return _0x10a022(_0x161fe6,_0x1f9fad,_0x4cc8c5);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x10a022(_0x3b4e22,_0xd14539,_0x2cce73){var _0x5d7875=_0x2e38b0;for(var _0x5433ab=[],_0x27d2e6=0x0,_0x2300fb=0x0;_0x2300fb<_0xd14539;_0x2300fb++)if(_0x2300fb%0x4){var _0x3984ff=_0x2cce73[_0x3b4e22[_0x5d7875(0x2b2)](_0x2300fb-0x1)]<<_0x2300fb%0x4*0x2,_0x126a4a=_0x2cce73[_0x3b4e22[_0x5d7875(0x2b2)](_0x2300fb)]>>>0x6-_0x2300fb%0x4*0x2,_0xea798=_0x3984ff|_0x126a4a;_0x5433ab[_0x27d2e6>>>0x2]|=_0xea798<<0x18-_0x27d2e6%0x4*0x8,_0x27d2e6++;}return _0x512763[_0x5d7875(0x26e)](_0x5433ab,_0x27d2e6);}}()),_0x4eb87e[_0x1e1cd1(0x2d3)][_0x1e1cd1(0x4e6)];}));}(_0x5e69d8)),_0x5e69d8[_0x250adb(0x3ef)];}var _0x8585db={'exports':{}},_0x17a821=_0x8585db[_0x53b22d(0x3ef)],_0x10471e;function _0x2578db(){var _0x431ad2=_0x53b22d;return _0x10471e||(_0x10471e=0x1,function(_0x14d0b2,_0x4fc046){(function(_0x5c20f2,_0x1c13af){var _0x53cdee=_0x3d4a;_0x14d0b2[_0x53cdee(0x3ef)]=_0x1c13af(_0x5e2572());}(_0x17a821,function(_0x529d22){var _0xaff8c9=_0x3d4a;return function(_0x44bcfc){var _0x2082d9=_0x3d4a,_0x2dca50=_0x529d22,_0x50cf7f=_0x2dca50[_0x2082d9(0x3e6)],_0x4b6421=_0x50cf7f['WordArray'],_0x200310=_0x50cf7f[_0x2082d9(0x449)],_0x3bc783=_0x2dca50[_0x2082d9(0x380)],_0x579e16=[];(function(){var _0x17dd59=_0x2082d9;for(var _0x468e45=0x0;_0x468e45<0x40;_0x468e45++)_0x579e16[_0x468e45]=_0x44bcfc[_0x17dd59(0x394)](_0x44bcfc[_0x17dd59(0x37c)](_0x468e45+0x1))*0x100000000|0x0;}());var _0x1dd732=_0x3bc783[_0x2082d9(0x424)]=_0x200310[_0x2082d9(0x1ff)]({'_doReset':function(){var _0x2da6ab=_0x2082d9;this['_hash']=new _0x4b6421[(_0x2da6ab(0x3bb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4ad59b,_0x12492e){var _0x1f768d=_0x2082d9;for(var _0x3a5e47=0x0;_0x3a5e47<0x10;_0x3a5e47++){var _0x2367ab=_0x12492e+_0x3a5e47,_0x1227e9=_0x4ad59b[_0x2367ab];_0x4ad59b[_0x2367ab]=(_0x1227e9<<0x8|_0x1227e9>>>0x18)&0xff00ff|(_0x1227e9<<0x18|_0x1227e9>>>0x8)&0xff00ff00;}var _0x360ee4=this[_0x1f768d(0x2be)]['words'],_0x4da8d6=_0x4ad59b[_0x12492e+0x0],_0x38b2e6=_0x4ad59b[_0x12492e+0x1],_0x39e3fa=_0x4ad59b[_0x12492e+0x2],_0x3bf8fa=_0x4ad59b[_0x12492e+0x3],_0x547245=_0x4ad59b[_0x12492e+0x4],_0x412449=_0x4ad59b[_0x12492e+0x5],_0x10e2d9=_0x4ad59b[_0x12492e+0x6],_0x1c9792=_0x4ad59b[_0x12492e+0x7],_0x411566=_0x4ad59b[_0x12492e+0x8],_0x5b7939=_0x4ad59b[_0x12492e+0x9],_0x236323=_0x4ad59b[_0x12492e+0xa],_0x518582=_0x4ad59b[_0x12492e+0xb],_0x2f61df=_0x4ad59b[_0x12492e+0xc],_0x31152f=_0x4ad59b[_0x12492e+0xd],_0x943bee=_0x4ad59b[_0x12492e+0xe],_0xf30860=_0x4ad59b[_0x12492e+0xf],_0x1704e8=_0x360ee4[0x0],_0x258232=_0x360ee4[0x1],_0x54a9ab=_0x360ee4[0x2],_0x4fc836=_0x360ee4[0x3];_0x1704e8=_0x58e4b1(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x4da8d6,0x7,_0x579e16[0x0]),_0x4fc836=_0x58e4b1(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x38b2e6,0xc,_0x579e16[0x1]),_0x54a9ab=_0x58e4b1(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x39e3fa,0x11,_0x579e16[0x2]),_0x258232=_0x58e4b1(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x3bf8fa,0x16,_0x579e16[0x3]),_0x1704e8=_0x58e4b1(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x547245,0x7,_0x579e16[0x4]),_0x4fc836=_0x58e4b1(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x412449,0xc,_0x579e16[0x5]),_0x54a9ab=_0x58e4b1(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x10e2d9,0x11,_0x579e16[0x6]),_0x258232=_0x58e4b1(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x1c9792,0x16,_0x579e16[0x7]),_0x1704e8=_0x58e4b1(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x411566,0x7,_0x579e16[0x8]),_0x4fc836=_0x58e4b1(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x5b7939,0xc,_0x579e16[0x9]),_0x54a9ab=_0x58e4b1(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x236323,0x11,_0x579e16[0xa]),_0x258232=_0x58e4b1(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x518582,0x16,_0x579e16[0xb]),_0x1704e8=_0x58e4b1(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x2f61df,0x7,_0x579e16[0xc]),_0x4fc836=_0x58e4b1(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x31152f,0xc,_0x579e16[0xd]),_0x54a9ab=_0x58e4b1(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x943bee,0x11,_0x579e16[0xe]),_0x258232=_0x58e4b1(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0xf30860,0x16,_0x579e16[0xf]),_0x1704e8=_0x4f10e8(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x38b2e6,0x5,_0x579e16[0x10]),_0x4fc836=_0x4f10e8(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x10e2d9,0x9,_0x579e16[0x11]),_0x54a9ab=_0x4f10e8(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x518582,0xe,_0x579e16[0x12]),_0x258232=_0x4f10e8(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x4da8d6,0x14,_0x579e16[0x13]),_0x1704e8=_0x4f10e8(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x412449,0x5,_0x579e16[0x14]),_0x4fc836=_0x4f10e8(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x236323,0x9,_0x579e16[0x15]),_0x54a9ab=_0x4f10e8(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0xf30860,0xe,_0x579e16[0x16]),_0x258232=_0x4f10e8(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x547245,0x14,_0x579e16[0x17]),_0x1704e8=_0x4f10e8(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x5b7939,0x5,_0x579e16[0x18]),_0x4fc836=_0x4f10e8(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x943bee,0x9,_0x579e16[0x19]),_0x54a9ab=_0x4f10e8(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x3bf8fa,0xe,_0x579e16[0x1a]),_0x258232=_0x4f10e8(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x411566,0x14,_0x579e16[0x1b]),_0x1704e8=_0x4f10e8(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x31152f,0x5,_0x579e16[0x1c]),_0x4fc836=_0x4f10e8(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x39e3fa,0x9,_0x579e16[0x1d]),_0x54a9ab=_0x4f10e8(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x1c9792,0xe,_0x579e16[0x1e]),_0x258232=_0x4f10e8(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x2f61df,0x14,_0x579e16[0x1f]),_0x1704e8=_0x5d16b2(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x412449,0x4,_0x579e16[0x20]),_0x4fc836=_0x5d16b2(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x411566,0xb,_0x579e16[0x21]),_0x54a9ab=_0x5d16b2(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x518582,0x10,_0x579e16[0x22]),_0x258232=_0x5d16b2(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x943bee,0x17,_0x579e16[0x23]),_0x1704e8=_0x5d16b2(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x38b2e6,0x4,_0x579e16[0x24]),_0x4fc836=_0x5d16b2(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x547245,0xb,_0x579e16[0x25]),_0x54a9ab=_0x5d16b2(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x1c9792,0x10,_0x579e16[0x26]),_0x258232=_0x5d16b2(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x236323,0x17,_0x579e16[0x27]),_0x1704e8=_0x5d16b2(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x31152f,0x4,_0x579e16[0x28]),_0x4fc836=_0x5d16b2(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x4da8d6,0xb,_0x579e16[0x29]),_0x54a9ab=_0x5d16b2(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x3bf8fa,0x10,_0x579e16[0x2a]),_0x258232=_0x5d16b2(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x10e2d9,0x17,_0x579e16[0x2b]),_0x1704e8=_0x5d16b2(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x5b7939,0x4,_0x579e16[0x2c]),_0x4fc836=_0x5d16b2(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x2f61df,0xb,_0x579e16[0x2d]),_0x54a9ab=_0x5d16b2(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0xf30860,0x10,_0x579e16[0x2e]),_0x258232=_0x5d16b2(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x39e3fa,0x17,_0x579e16[0x2f]),_0x1704e8=_0xbea840(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x4da8d6,0x6,_0x579e16[0x30]),_0x4fc836=_0xbea840(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x1c9792,0xa,_0x579e16[0x31]),_0x54a9ab=_0xbea840(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x943bee,0xf,_0x579e16[0x32]),_0x258232=_0xbea840(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x412449,0x15,_0x579e16[0x33]),_0x1704e8=_0xbea840(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x2f61df,0x6,_0x579e16[0x34]),_0x4fc836=_0xbea840(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x3bf8fa,0xa,_0x579e16[0x35]),_0x54a9ab=_0xbea840(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x236323,0xf,_0x579e16[0x36]),_0x258232=_0xbea840(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x38b2e6,0x15,_0x579e16[0x37]),_0x1704e8=_0xbea840(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x411566,0x6,_0x579e16[0x38]),_0x4fc836=_0xbea840(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0xf30860,0xa,_0x579e16[0x39]),_0x54a9ab=_0xbea840(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x10e2d9,0xf,_0x579e16[0x3a]),_0x258232=_0xbea840(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x31152f,0x15,_0x579e16[0x3b]),_0x1704e8=_0xbea840(_0x1704e8,_0x258232,_0x54a9ab,_0x4fc836,_0x547245,0x6,_0x579e16[0x3c]),_0x4fc836=_0xbea840(_0x4fc836,_0x1704e8,_0x258232,_0x54a9ab,_0x518582,0xa,_0x579e16[0x3d]),_0x54a9ab=_0xbea840(_0x54a9ab,_0x4fc836,_0x1704e8,_0x258232,_0x39e3fa,0xf,_0x579e16[0x3e]),_0x258232=_0xbea840(_0x258232,_0x54a9ab,_0x4fc836,_0x1704e8,_0x5b7939,0x15,_0x579e16[0x3f]),_0x360ee4[0x0]=_0x360ee4[0x0]+_0x1704e8|0x0,_0x360ee4[0x1]=_0x360ee4[0x1]+_0x258232|0x0,_0x360ee4[0x2]=_0x360ee4[0x2]+_0x54a9ab|0x0,_0x360ee4[0x3]=_0x360ee4[0x3]+_0x4fc836|0x0;},'_doFinalize':function(){var _0x14c971=_0x2082d9,_0x1bbf0e=this[_0x14c971(0x37f)],_0x59ca9a=_0x1bbf0e[_0x14c971(0x3c3)],_0x33f1d5=this['_nDataBytes']*0x8,_0x25d4c7=_0x1bbf0e['sigBytes']*0x8;_0x59ca9a[_0x25d4c7>>>0x5]|=0x80<<0x18-_0x25d4c7%0x20;var _0x46776b=_0x44bcfc[_0x14c971(0x243)](_0x33f1d5/0x100000000),_0x3d011d=_0x33f1d5;_0x59ca9a[(_0x25d4c7+0x40>>>0x9<<0x4)+0xf]=(_0x46776b<<0x8|_0x46776b>>>0x18)&0xff00ff|(_0x46776b<<0x18|_0x46776b>>>0x8)&0xff00ff00,_0x59ca9a[(_0x25d4c7+0x40>>>0x9<<0x4)+0xe]=(_0x3d011d<<0x8|_0x3d011d>>>0x18)&0xff00ff|(_0x3d011d<<0x18|_0x3d011d>>>0x8)&0xff00ff00,_0x1bbf0e[_0x14c971(0x3fe)]=(_0x59ca9a[_0x14c971(0x34f)]+0x1)*0x4,this[_0x14c971(0x300)]();for(var _0x3510df=this['_hash'],_0x407e4a=_0x3510df[_0x14c971(0x3c3)],_0x39fbd5=0x0;_0x39fbd5<0x4;_0x39fbd5++){var _0x21e87c=_0x407e4a[_0x39fbd5];_0x407e4a[_0x39fbd5]=(_0x21e87c<<0x8|_0x21e87c>>>0x18)&0xff00ff|(_0x21e87c<<0x18|_0x21e87c>>>0x8)&0xff00ff00;}return _0x3510df;},'clone':function(){var _0x18be6e=_0x2082d9,_0x1cbf4d=_0x200310[_0x18be6e(0x21a)][_0x18be6e(0x1e3)](this);return _0x1cbf4d[_0x18be6e(0x2be)]=this['_hash'][_0x18be6e(0x21a)](),_0x1cbf4d;}});function _0x58e4b1(_0x5e5b77,_0xffedba,_0x441802,_0x1ba009,_0x5f4ebd,_0x127d98,_0x42fd66){var _0x4f147c=_0x5e5b77+(_0xffedba&_0x441802|~_0xffedba&_0x1ba009)+_0x5f4ebd+_0x42fd66;return(_0x4f147c<<_0x127d98|_0x4f147c>>>0x20-_0x127d98)+_0xffedba;}function _0x4f10e8(_0x9012b,_0xf71e0,_0x11d3ca,_0x24e059,_0x370300,_0x163d0b,_0xc90fd5){var _0x412504=_0x9012b+(_0xf71e0&_0x24e059|_0x11d3ca&~_0x24e059)+_0x370300+_0xc90fd5;return(_0x412504<<_0x163d0b|_0x412504>>>0x20-_0x163d0b)+_0xf71e0;}function _0x5d16b2(_0x2fed43,_0x4a7706,_0x1ea1af,_0x3b45ab,_0x58e191,_0x5e1484,_0x1a5b57){var _0x3ff95d=_0x2fed43+(_0x4a7706^_0x1ea1af^_0x3b45ab)+_0x58e191+_0x1a5b57;return(_0x3ff95d<<_0x5e1484|_0x3ff95d>>>0x20-_0x5e1484)+_0x4a7706;}function _0xbea840(_0x29403f,_0x1db90d,_0x41ffb4,_0x17bf71,_0x268e51,_0x194a3d,_0x5e58dd){var _0x5b3489=_0x29403f+(_0x41ffb4^(_0x1db90d|~_0x17bf71))+_0x268e51+_0x5e58dd;return(_0x5b3489<<_0x194a3d|_0x5b3489>>>0x20-_0x194a3d)+_0x1db90d;}_0x2dca50[_0x2082d9(0x424)]=_0x200310[_0x2082d9(0x4f4)](_0x1dd732),_0x2dca50[_0x2082d9(0x286)]=_0x200310[_0x2082d9(0x2fd)](_0x1dd732);}(Math),_0x529d22[_0xaff8c9(0x424)];}));}(_0x8585db)),_0x8585db[_0x431ad2(0x3ef)];}var _0x44d793={'exports':{}},_0x3f77b4={'exports':{}},_0x227dee=_0x3f77b4[_0x53b22d(0x3ef)],_0x2a0795;function _0x4e12ee(){return _0x2a0795||(_0x2a0795=0x1,function(_0x1a6fd2,_0x1b6f3f){(function(_0xb41f1b,_0xceec4a){var _0x2cca3f=_0x3d4a;_0x1a6fd2[_0x2cca3f(0x3ef)]=_0xceec4a(_0x5e2572());}(_0x227dee,function(_0x4258b7){var _0x524688=_0x3d4a;return(function(){var _0xd1644a=_0x3d4a,_0x3b3bb4=_0x4258b7,_0x4dd9a5=_0x3b3bb4[_0xd1644a(0x3e6)],_0xc854b2=_0x4dd9a5[_0xd1644a(0x24f)],_0x3e599c=_0x4dd9a5[_0xd1644a(0x449)],_0x3a921d=_0x3b3bb4[_0xd1644a(0x380)],_0x26b07a=[],_0x273473=_0x3a921d['SHA1']=_0x3e599c[_0xd1644a(0x1ff)]({'_doReset':function(){var _0x1a54a4=_0xd1644a;this[_0x1a54a4(0x2be)]=new _0xc854b2[(_0x1a54a4(0x3bb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3ee54a,_0x454d4d){var _0x1102f7=_0xd1644a;for(var _0x5591e9=this[_0x1102f7(0x2be)][_0x1102f7(0x3c3)],_0x1e9810=_0x5591e9[0x0],_0x442eda=_0x5591e9[0x1],_0x5b9831=_0x5591e9[0x2],_0x116892=_0x5591e9[0x3],_0x5e2cbd=_0x5591e9[0x4],_0x4133c7=0x0;_0x4133c7<0x50;_0x4133c7++){if(_0x4133c7<0x10)_0x26b07a[_0x4133c7]=_0x3ee54a[_0x454d4d+_0x4133c7]|0x0;else{var _0x54300b=_0x26b07a[_0x4133c7-0x3]^_0x26b07a[_0x4133c7-0x8]^_0x26b07a[_0x4133c7-0xe]^_0x26b07a[_0x4133c7-0x10];_0x26b07a[_0x4133c7]=_0x54300b<<0x1|_0x54300b>>>0x1f;}var _0x5b3191=(_0x1e9810<<0x5|_0x1e9810>>>0x1b)+_0x5e2cbd+_0x26b07a[_0x4133c7];_0x4133c7<0x14?_0x5b3191+=(_0x442eda&_0x5b9831|~_0x442eda&_0x116892)+0x5a827999:_0x4133c7<0x28?_0x5b3191+=(_0x442eda^_0x5b9831^_0x116892)+0x6ed9eba1:_0x4133c7<0x3c?_0x5b3191+=(_0x442eda&_0x5b9831|_0x442eda&_0x116892|_0x5b9831&_0x116892)-0x70e44324:_0x5b3191+=(_0x442eda^_0x5b9831^_0x116892)-0x359d3e2a,_0x5e2cbd=_0x116892,_0x116892=_0x5b9831,_0x5b9831=_0x442eda<<0x1e|_0x442eda>>>0x2,_0x442eda=_0x1e9810,_0x1e9810=_0x5b3191;}_0x5591e9[0x0]=_0x5591e9[0x0]+_0x1e9810|0x0,_0x5591e9[0x1]=_0x5591e9[0x1]+_0x442eda|0x0,_0x5591e9[0x2]=_0x5591e9[0x2]+_0x5b9831|0x0,_0x5591e9[0x3]=_0x5591e9[0x3]+_0x116892|0x0,_0x5591e9[0x4]=_0x5591e9[0x4]+_0x5e2cbd|0x0;},'_doFinalize':function(){var _0x538a18=_0xd1644a,_0x4609a6=this[_0x538a18(0x37f)],_0x4aaae6=_0x4609a6[_0x538a18(0x3c3)],_0x57d6c4=this[_0x538a18(0x289)]*0x8,_0x295716=_0x4609a6[_0x538a18(0x3fe)]*0x8;return _0x4aaae6[_0x295716>>>0x5]|=0x80<<0x18-_0x295716%0x20,_0x4aaae6[(_0x295716+0x40>>>0x9<<0x4)+0xe]=Math[_0x538a18(0x243)](_0x57d6c4/0x100000000),_0x4aaae6[(_0x295716+0x40>>>0x9<<0x4)+0xf]=_0x57d6c4,_0x4609a6[_0x538a18(0x3fe)]=_0x4aaae6[_0x538a18(0x34f)]*0x4,this[_0x538a18(0x300)](),this[_0x538a18(0x2be)];},'clone':function(){var _0x5c7a9f=_0xd1644a,_0x201e3d=_0x3e599c[_0x5c7a9f(0x21a)][_0x5c7a9f(0x1e3)](this);return _0x201e3d[_0x5c7a9f(0x2be)]=this[_0x5c7a9f(0x2be)][_0x5c7a9f(0x21a)](),_0x201e3d;}});_0x3b3bb4[_0xd1644a(0x1a8)]=_0x3e599c['_createHelper'](_0x273473),_0x3b3bb4[_0xd1644a(0x3ce)]=_0x3e599c[_0xd1644a(0x2fd)](_0x273473);}()),_0x4258b7[_0x524688(0x1a8)];}));}(_0x3f77b4)),_0x3f77b4['exports'];}var _0x218390={'exports':{}},_0x1a1978=_0x218390[_0x53b22d(0x3ef)],_0x41a8fa;function _0x139760(){var _0x23287b=_0x53b22d;return _0x41a8fa||(_0x41a8fa=0x1,function(_0x3d7a3e,_0x3788e9){(function(_0x138bc0,_0x5d5490){var _0xd67ffd=_0x3d4a;_0x3d7a3e[_0xd67ffd(0x3ef)]=_0x5d5490(_0x5e2572());}(_0x1a1978,function(_0x26d566){(function(){var _0x423f57=_0x3d4a,_0x18235a=_0x26d566,_0x5d823e=_0x18235a[_0x423f57(0x3e6)],_0x1764d4=_0x5d823e[_0x423f57(0x435)],_0x53373d=_0x18235a['enc'],_0x5d899d=_0x53373d[_0x423f57(0x30f)],_0x21c215=_0x18235a[_0x423f57(0x380)];_0x21c215[_0x423f57(0x354)]=_0x1764d4[_0x423f57(0x1ff)]({'init':function(_0x21935a,_0x2ab467){var _0x340135=_0x423f57;_0x21935a=this[_0x340135(0x4f6)]=new _0x21935a[(_0x340135(0x3bb))](),typeof _0x2ab467==_0x340135(0x411)&&(_0x2ab467=_0x5d899d[_0x340135(0x2df)](_0x2ab467));var _0x162fc5=_0x21935a['blockSize'],_0x100d0c=_0x162fc5*0x4;_0x2ab467[_0x340135(0x3fe)]>_0x100d0c&&(_0x2ab467=_0x21935a[_0x340135(0x19a)](_0x2ab467)),_0x2ab467['clamp']();for(var _0x8b597a=this[_0x340135(0x2b1)]=_0x2ab467['clone'](),_0x30702d=this['_iKey']=_0x2ab467[_0x340135(0x21a)](),_0x5098ef=_0x8b597a['words'],_0x5011cc=_0x30702d['words'],_0x532d39=0x0;_0x532d39<_0x162fc5;_0x532d39++)_0x5098ef[_0x532d39]^=0x5c5c5c5c,_0x5011cc[_0x532d39]^=0x36363636;_0x8b597a[_0x340135(0x3fe)]=_0x30702d['sigBytes']=_0x100d0c,this[_0x340135(0x47a)]();},'reset':function(){var _0x3430c3=_0x423f57,_0x135785=this[_0x3430c3(0x4f6)];_0x135785[_0x3430c3(0x47a)](),_0x135785[_0x3430c3(0x2ff)](this['_iKey']);},'update':function(_0x24b5fc){var _0x3e9fc1=_0x423f57;return this[_0x3e9fc1(0x4f6)]['update'](_0x24b5fc),this;},'finalize':function(_0x5645c4){var _0x33b32e=_0x423f57,_0x4aba60=this[_0x33b32e(0x4f6)],_0x57feaf=_0x4aba60[_0x33b32e(0x19a)](_0x5645c4);_0x4aba60[_0x33b32e(0x47a)]();var _0x491cee=_0x4aba60[_0x33b32e(0x19a)](this[_0x33b32e(0x2b1)][_0x33b32e(0x21a)]()[_0x33b32e(0x356)](_0x57feaf));return _0x491cee;}});}());}));}(_0x218390)),_0x218390[_0x23287b(0x3ef)];}var _0xa42b5=_0x44d793[_0x53b22d(0x3ef)],_0x23a8f8;function _0x14cc7e(){var _0x126431=_0x53b22d;return _0x23a8f8||(_0x23a8f8=0x1,function(_0xf6d473,_0x25002a){(function(_0x500568,_0x1d1342,_0xb85dce){var _0x1ea2e0=_0x3d4a;_0xf6d473[_0x1ea2e0(0x3ef)]=_0x1d1342(_0x5e2572(),_0x4e12ee(),_0x139760());}(_0xa42b5,function(_0xec619f){var _0x3c5f83=_0x3d4a;return(function(){var _0x4eee91=_0x3d4a,_0x3a7230=_0xec619f,_0x408abe=_0x3a7230['lib'],_0x2e1694=_0x408abe[_0x4eee91(0x435)],_0x5e7d1f=_0x408abe[_0x4eee91(0x24f)],_0x1bee2f=_0x3a7230[_0x4eee91(0x380)],_0xf6919c=_0x1bee2f['MD5'],_0x5089d2=_0x1bee2f['EvpKDF']=_0x2e1694[_0x4eee91(0x1ff)]({'cfg':_0x2e1694[_0x4eee91(0x1ff)]({'keySize':0x80/0x20,'hasher':_0xf6919c,'iterations':0x1}),'init':function(_0x24830d){var _0x1bf979=_0x4eee91;this[_0x1bf979(0x28d)]=this[_0x1bf979(0x28d)][_0x1bf979(0x1ff)](_0x24830d);},'compute':function(_0x145a37,_0x3556b7){var _0x206095=_0x4eee91;for(var _0x175d58,_0xe9edd1=this['cfg'],_0x1b5b5e=_0xe9edd1[_0x206095(0x439)][_0x206095(0x26e)](),_0x3a1f7c=_0x5e7d1f['create'](),_0x58f422=_0x3a1f7c[_0x206095(0x3c3)],_0xf4ba21=_0xe9edd1['keySize'],_0x3e257c=_0xe9edd1['iterations'];_0x58f422[_0x206095(0x34f)]<_0xf4ba21;){_0x175d58&&_0x1b5b5e[_0x206095(0x2ff)](_0x175d58),_0x175d58=_0x1b5b5e[_0x206095(0x2ff)](_0x145a37)[_0x206095(0x19a)](_0x3556b7),_0x1b5b5e['reset']();for(var _0x55bd18=0x1;_0x55bd18<_0x3e257c;_0x55bd18++)_0x175d58=_0x1b5b5e[_0x206095(0x19a)](_0x175d58),_0x1b5b5e[_0x206095(0x47a)]();_0x3a1f7c['concat'](_0x175d58);}return _0x3a1f7c[_0x206095(0x3fe)]=_0xf4ba21*0x4,_0x3a1f7c;}});_0x3a7230[_0x4eee91(0x1fe)]=function(_0x43b3d6,_0x362a63,_0x1b8270){var _0x2871b8=_0x4eee91;return _0x5089d2[_0x2871b8(0x26e)](_0x1b8270)['compute'](_0x43b3d6,_0x362a63);};}()),_0xec619f[_0x3c5f83(0x1fe)];}));}(_0x44d793)),_0x44d793[_0x126431(0x3ef)];}var _0x3dbb6c={'exports':{}},_0x27e661=_0x3dbb6c[_0x53b22d(0x3ef)],_0x192d41;function _0x473512(){var _0x157ae5=_0x53b22d;return _0x192d41||(_0x192d41=0x1,function(_0x10ed77,_0x41f5aa){(function(_0x2d3bf4,_0x2d0666,_0xc146a6){var _0x3dd53c=_0x3d4a;_0x10ed77[_0x3dd53c(0x3ef)]=_0x2d0666(_0x5e2572(),_0x14cc7e());}(_0x27e661,function(_0x3a0a92){var _0x10713d=_0x3d4a;_0x3a0a92[_0x10713d(0x3e6)]['Cipher']||function(_0x2cdc29){var _0x50c0a4=_0x10713d,_0x41a655=_0x3a0a92,_0x3d2a2d=_0x41a655[_0x50c0a4(0x3e6)],_0x1fecab=_0x3d2a2d['Base'],_0x497253=_0x3d2a2d[_0x50c0a4(0x24f)],_0x1eaf3c=_0x3d2a2d[_0x50c0a4(0x3ee)],_0x49306d=_0x41a655['enc'];_0x49306d[_0x50c0a4(0x30f)];var _0x2a3bd9=_0x49306d[_0x50c0a4(0x4e6)],_0x150dbf=_0x41a655[_0x50c0a4(0x380)],_0x238f20=_0x150dbf[_0x50c0a4(0x1fe)],_0x13043b=_0x3d2a2d[_0x50c0a4(0x202)]=_0x1eaf3c[_0x50c0a4(0x1ff)]({'cfg':_0x1fecab[_0x50c0a4(0x1ff)](),'createEncryptor':function(_0x1d9338,_0x6f07e7){var _0x565c61=_0x50c0a4;return this[_0x565c61(0x26e)](this[_0x565c61(0x347)],_0x1d9338,_0x6f07e7);},'createDecryptor':function(_0x57e1c1,_0x3d5aa9){var _0x52f20e=_0x50c0a4;return this[_0x52f20e(0x26e)](this[_0x52f20e(0x49d)],_0x57e1c1,_0x3d5aa9);},'init':function(_0x525de4,_0x2ccadf,_0x10f009){var _0x5edc55=_0x50c0a4;this[_0x5edc55(0x28d)]=this['cfg'][_0x5edc55(0x1ff)](_0x10f009),this[_0x5edc55(0x462)]=_0x525de4,this[_0x5edc55(0x3eb)]=_0x2ccadf,this['reset']();},'reset':function(){var _0x3e5c50=_0x50c0a4;_0x1eaf3c['reset']['call'](this),this[_0x3e5c50(0x443)]();},'process':function(_0x70b037){var _0x2f839f=_0x50c0a4;return this[_0x2f839f(0x489)](_0x70b037),this['_process']();},'finalize':function(_0x17a92a){var _0x477a75=_0x50c0a4;_0x17a92a&&this['_append'](_0x17a92a);var _0x6375e1=this[_0x477a75(0x1eb)]();return _0x6375e1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa6d2c5(_0x50a263){var _0x53823d=_0x3d4a;return typeof _0x50a263==_0x53823d(0x411)?_0xdc4de6:_0x2164f7;}return function(_0x54daf6){return{'encrypt':function(_0x4129a1,_0x444fb3,_0x32e3bd){var _0x199bfc=_0x3d4a;return _0xa6d2c5(_0x444fb3)[_0x199bfc(0x4ea)](_0x54daf6,_0x4129a1,_0x444fb3,_0x32e3bd);},'decrypt':function(_0x1d8d97,_0x3b4aab,_0x228b58){var _0x1345a7=_0x3d4a;return _0xa6d2c5(_0x3b4aab)[_0x1345a7(0x239)](_0x54daf6,_0x1d8d97,_0x3b4aab,_0x228b58);}};};}())});_0x3d2a2d[_0x50c0a4(0x266)]=_0x13043b[_0x50c0a4(0x1ff)]({'_doFinalize':function(){var _0x34de58=this['_process'](!0x0);return _0x34de58;},'blockSize':0x1});var _0x168781=_0x41a655['mode']={},_0x49d779=_0x3d2a2d[_0x50c0a4(0x3da)]=_0x1fecab[_0x50c0a4(0x1ff)]({'createEncryptor':function(_0x23a3e9,_0x55831f){var _0x3710df=_0x50c0a4;return this['Encryptor'][_0x3710df(0x26e)](_0x23a3e9,_0x55831f);},'createDecryptor':function(_0x2fad75,_0xcb4547){var _0x1a2aa9=_0x50c0a4;return this[_0x1a2aa9(0x458)][_0x1a2aa9(0x26e)](_0x2fad75,_0xcb4547);},'init':function(_0x54e994,_0x46bd84){var _0x917db9=_0x50c0a4;this[_0x917db9(0x256)]=_0x54e994,this[_0x917db9(0x28f)]=_0x46bd84;}}),_0x233b50=_0x168781[_0x50c0a4(0x280)]=(function(){var _0x15f935=_0x50c0a4,_0x11833e=_0x49d779[_0x15f935(0x1ff)]();_0x11833e[_0x15f935(0x436)]=_0x11833e[_0x15f935(0x1ff)]({'processBlock':function(_0x15eb18,_0xe04dd0){var _0x56c270=_0x15f935,_0x28b2bd=this[_0x56c270(0x256)],_0x33d142=_0x28b2bd[_0x56c270(0x4cb)];_0x5a2e87[_0x56c270(0x1e3)](this,_0x15eb18,_0xe04dd0,_0x33d142),_0x28b2bd[_0x56c270(0x1d4)](_0x15eb18,_0xe04dd0),this['_prevBlock']=_0x15eb18['slice'](_0xe04dd0,_0xe04dd0+_0x33d142);}}),_0x11833e[_0x15f935(0x458)]=_0x11833e[_0x15f935(0x1ff)]({'processBlock':function(_0x20ba1c,_0x1f2bc4){var _0x5036d4=_0x15f935,_0x50fecd=this[_0x5036d4(0x256)],_0x141217=_0x50fecd[_0x5036d4(0x4cb)],_0x297f66=_0x20ba1c['slice'](_0x1f2bc4,_0x1f2bc4+_0x141217);_0x50fecd[_0x5036d4(0x2ca)](_0x20ba1c,_0x1f2bc4),_0x5a2e87['call'](this,_0x20ba1c,_0x1f2bc4,_0x141217),this[_0x5036d4(0x279)]=_0x297f66;}});function _0x5a2e87(_0x3f794d,_0x63c1e1,_0x5ca3f7){var _0x55fd84=_0x15f935,_0x4304d8,_0x4ea4a2=this[_0x55fd84(0x28f)];_0x4ea4a2?(_0x4304d8=_0x4ea4a2,this['_iv']=_0x2cdc29):_0x4304d8=this['_prevBlock'];for(var _0x407782=0x0;_0x407782<_0x5ca3f7;_0x407782++)_0x3f794d[_0x63c1e1+_0x407782]^=_0x4304d8[_0x407782];}return _0x11833e;}()),_0x4fcdbd=_0x41a655[_0x50c0a4(0x248)]={},_0x4b095d=_0x4fcdbd[_0x50c0a4(0x43b)]={'pad':function(_0x113dd6,_0x27a2ff){var _0x2d6ad3=_0x50c0a4;for(var _0x3ae808=_0x27a2ff*0x4,_0x2352fc=_0x3ae808-_0x113dd6[_0x2d6ad3(0x3fe)]%_0x3ae808,_0x4f0349=_0x2352fc<<0x18|_0x2352fc<<0x10|_0x2352fc<<0x8|_0x2352fc,_0x857a81=[],_0xba75e8=0x0;_0xba75e8<_0x2352fc;_0xba75e8+=0x4)_0x857a81[_0x2d6ad3(0x2f6)](_0x4f0349);var _0x1d72d2=_0x497253['create'](_0x857a81,_0x2352fc);_0x113dd6[_0x2d6ad3(0x356)](_0x1d72d2);},'unpad':function(_0x3c874d){var _0x4b3ad1=_0x50c0a4,_0x2c39aa=_0x3c874d[_0x4b3ad1(0x3c3)][_0x3c874d['sigBytes']-0x1>>>0x2]&0xff;_0x3c874d[_0x4b3ad1(0x3fe)]-=_0x2c39aa;}};_0x3d2a2d['BlockCipher']=_0x13043b[_0x50c0a4(0x1ff)]({'cfg':_0x13043b[_0x50c0a4(0x28d)][_0x50c0a4(0x1ff)]({'mode':_0x233b50,'padding':_0x4b095d}),'reset':function(){var _0x4ac0d5=_0x50c0a4,_0x8dada5;_0x13043b['reset']['call'](this);var _0x5d967c=this[_0x4ac0d5(0x28d)],_0x1cda0e=_0x5d967c['iv'],_0x4637f3=_0x5d967c[_0x4ac0d5(0x48e)];this['_xformMode']==this[_0x4ac0d5(0x347)]?_0x8dada5=_0x4637f3[_0x4ac0d5(0x1c8)]:(_0x8dada5=_0x4637f3['createDecryptor'],this[_0x4ac0d5(0x21c)]=0x1),this[_0x4ac0d5(0x37e)]&&this[_0x4ac0d5(0x37e)][_0x4ac0d5(0x20f)]==_0x8dada5?this['_mode'][_0x4ac0d5(0x3bb)](this,_0x1cda0e&&_0x1cda0e[_0x4ac0d5(0x3c3)]):(this[_0x4ac0d5(0x37e)]=_0x8dada5[_0x4ac0d5(0x1e3)](_0x4637f3,this,_0x1cda0e&&_0x1cda0e['words']),this[_0x4ac0d5(0x37e)][_0x4ac0d5(0x20f)]=_0x8dada5);},'_doProcessBlock':function(_0x4ba0d9,_0x1db1a0){var _0x118d3e=_0x50c0a4;this[_0x118d3e(0x37e)][_0x118d3e(0x3f3)](_0x4ba0d9,_0x1db1a0);},'_doFinalize':function(){var _0x5b06cb=_0x50c0a4,_0x13f21f,_0x45c7a4=this[_0x5b06cb(0x28d)][_0x5b06cb(0x240)];return this[_0x5b06cb(0x462)]==this[_0x5b06cb(0x347)]?(_0x45c7a4[_0x5b06cb(0x248)](this[_0x5b06cb(0x37f)],this[_0x5b06cb(0x4cb)]),_0x13f21f=this['_process'](!0x0)):(_0x13f21f=this[_0x5b06cb(0x300)](!0x0),_0x45c7a4[_0x5b06cb(0x4a3)](_0x13f21f)),_0x13f21f;},'blockSize':0x80/0x20});var _0x242087=_0x3d2a2d[_0x50c0a4(0x196)]=_0x1fecab[_0x50c0a4(0x1ff)]({'init':function(_0x1e7695){this['mixIn'](_0x1e7695);},'toString':function(_0x1bdf80){var _0x1f794b=_0x50c0a4;return(_0x1bdf80||this['formatter'])[_0x1f794b(0x2b7)](this);}}),_0x2c652a=_0x41a655['format']={},_0x55f8a1=_0x2c652a['OpenSSL']={'stringify':function(_0x576f0c){var _0x2cb1cc=_0x50c0a4,_0x4b2528,_0x530c73=_0x576f0c[_0x2cb1cc(0x46e)],_0x1f0869=_0x576f0c[_0x2cb1cc(0x252)];return _0x1f0869?_0x4b2528=_0x497253[_0x2cb1cc(0x26e)]([0x53616c74,0x65645f5f])[_0x2cb1cc(0x356)](_0x1f0869)[_0x2cb1cc(0x356)](_0x530c73):_0x4b2528=_0x530c73,_0x4b2528['toString'](_0x2a3bd9);},'parse':function(_0x359dff){var _0x31dc51=_0x50c0a4,_0x3ba5ca,_0x2468a5=_0x2a3bd9[_0x31dc51(0x2df)](_0x359dff),_0x53ccf3=_0x2468a5['words'];return _0x53ccf3[0x0]==0x53616c74&&_0x53ccf3[0x1]==0x65645f5f&&(_0x3ba5ca=_0x497253[_0x31dc51(0x26e)](_0x53ccf3[_0x31dc51(0x3ea)](0x2,0x4)),_0x53ccf3[_0x31dc51(0x41e)](0x0,0x4),_0x2468a5['sigBytes']-=0x10),_0x242087[_0x31dc51(0x26e)]({'ciphertext':_0x2468a5,'salt':_0x3ba5ca});}},_0x2164f7=_0x3d2a2d[_0x50c0a4(0x2a4)]=_0x1fecab['extend']({'cfg':_0x1fecab['extend']({'format':_0x55f8a1}),'encrypt':function(_0x15a29,_0x26406d,_0xfa7c9b,_0x5e5c13){var _0x4e7cc6=_0x50c0a4;_0x5e5c13=this['cfg'][_0x4e7cc6(0x1ff)](_0x5e5c13);var _0x1c7598=_0x15a29[_0x4e7cc6(0x1c8)](_0xfa7c9b,_0x5e5c13),_0x1fb8ff=_0x1c7598[_0x4e7cc6(0x19a)](_0x26406d),_0x436805=_0x1c7598[_0x4e7cc6(0x28d)];return _0x242087[_0x4e7cc6(0x26e)]({'ciphertext':_0x1fb8ff,'key':_0xfa7c9b,'iv':_0x436805['iv'],'algorithm':_0x15a29,'mode':_0x436805[_0x4e7cc6(0x48e)],'padding':_0x436805[_0x4e7cc6(0x240)],'blockSize':_0x15a29[_0x4e7cc6(0x4cb)],'formatter':_0x5e5c13[_0x4e7cc6(0x34a)]});},'decrypt':function(_0x52a18c,_0x1c97da,_0x40fe27,_0x252c1b){var _0x39bedc=_0x50c0a4;_0x252c1b=this[_0x39bedc(0x28d)][_0x39bedc(0x1ff)](_0x252c1b),_0x1c97da=this[_0x39bedc(0x49b)](_0x1c97da,_0x252c1b[_0x39bedc(0x34a)]);var _0x454135=_0x52a18c[_0x39bedc(0x337)](_0x40fe27,_0x252c1b)[_0x39bedc(0x19a)](_0x1c97da[_0x39bedc(0x46e)]);return _0x454135;},'_parse':function(_0x4f265a,_0x2fe29c){return typeof _0x4f265a=='string'?_0x2fe29c['parse'](_0x4f265a,this):_0x4f265a;}}),_0x4bf040=_0x41a655['kdf']={},_0x4f86f8=_0x4bf040[_0x50c0a4(0x185)]={'execute':function(_0x5a06b3,_0x46f038,_0xcb6761,_0x556a10,_0x4a030e){var _0x513ba7=_0x50c0a4;if(_0x556a10||(_0x556a10=_0x497253[_0x513ba7(0x1f2)](0x40/0x8)),_0x4a030e)var _0x2c1683=_0x238f20[_0x513ba7(0x26e)]({'keySize':_0x46f038+_0xcb6761,'hasher':_0x4a030e})[_0x513ba7(0x4f8)](_0x5a06b3,_0x556a10);else var _0x2c1683=_0x238f20[_0x513ba7(0x26e)]({'keySize':_0x46f038+_0xcb6761})[_0x513ba7(0x4f8)](_0x5a06b3,_0x556a10);var _0x174798=_0x497253['create'](_0x2c1683[_0x513ba7(0x3c3)]['slice'](_0x46f038),_0xcb6761*0x4);return _0x2c1683['sigBytes']=_0x46f038*0x4,_0x242087['create']({'key':_0x2c1683,'iv':_0x174798,'salt':_0x556a10});}},_0xdc4de6=_0x3d2a2d[_0x50c0a4(0x4ac)]=_0x2164f7['extend']({'cfg':_0x2164f7[_0x50c0a4(0x28d)]['extend']({'kdf':_0x4f86f8}),'encrypt':function(_0x14e66f,_0x5e89bb,_0x2eb5e5,_0x5906dd){var _0x59ab1a=_0x50c0a4;_0x5906dd=this['cfg'][_0x59ab1a(0x1ff)](_0x5906dd);var _0x64ee2e=_0x5906dd[_0x59ab1a(0x1e7)][_0x59ab1a(0x2d5)](_0x2eb5e5,_0x14e66f[_0x59ab1a(0x475)],_0x14e66f[_0x59ab1a(0x3b9)],_0x5906dd['salt'],_0x5906dd[_0x59ab1a(0x439)]);_0x5906dd['iv']=_0x64ee2e['iv'];var _0x3aad77=_0x2164f7['encrypt'][_0x59ab1a(0x1e3)](this,_0x14e66f,_0x5e89bb,_0x64ee2e[_0x59ab1a(0x3dc)],_0x5906dd);return _0x3aad77[_0x59ab1a(0x4bd)](_0x64ee2e),_0x3aad77;},'decrypt':function(_0x2a91e3,_0x2e7d55,_0x2b3690,_0x56523e){var _0x5d23f6=_0x50c0a4;_0x56523e=this['cfg'][_0x5d23f6(0x1ff)](_0x56523e),_0x2e7d55=this[_0x5d23f6(0x49b)](_0x2e7d55,_0x56523e[_0x5d23f6(0x34a)]);var _0x33895d=_0x56523e['kdf'][_0x5d23f6(0x2d5)](_0x2b3690,_0x2a91e3[_0x5d23f6(0x475)],_0x2a91e3['ivSize'],_0x2e7d55['salt'],_0x56523e[_0x5d23f6(0x439)]);_0x56523e['iv']=_0x33895d['iv'];var _0x2faeda=_0x2164f7['decrypt']['call'](this,_0x2a91e3,_0x2e7d55,_0x33895d[_0x5d23f6(0x3dc)],_0x56523e);return _0x2faeda;}});}();}));}(_0x3dbb6c)),_0x3dbb6c[_0x157ae5(0x3ef)];}var _0x4d3cd0=_0x54e007[_0x53b22d(0x3ef)],_0x1eed91;function _0x26a800(){var _0x161453=_0x53b22d;return _0x1eed91||(_0x1eed91=0x1,function(_0x1abec4,_0x2311ef){(function(_0x1f2564,_0x2f289c,_0x2af130){_0x1abec4['exports']=_0x2f289c(_0x5e2572(),_0x2ce420(),_0x2578db(),_0x14cc7e(),_0x473512());}(_0x4d3cd0,function(_0x16ad58){var _0x498f06=_0x3d4a;return(function(){var _0x2cb0b0=_0x3d4a,_0x3ad28f=_0x16ad58,_0x35066b=_0x3ad28f[_0x2cb0b0(0x3e6)],_0x382a92=_0x35066b['BlockCipher'],_0x5a62bb=_0x3ad28f[_0x2cb0b0(0x380)],_0x64419=[],_0x5d1526=[],_0x22630d=[],_0x996413=[],_0xb29f58=[],_0x5a412e=[],_0x24c2e1=[],_0x1a05fe=[],_0x25073e=[],_0x4702b9=[];(function(){for(var _0xb2e142=[],_0x479a68=0x0;_0x479a68<0x100;_0x479a68++)_0x479a68<0x80?_0xb2e142[_0x479a68]=_0x479a68<<0x1:_0xb2e142[_0x479a68]=_0x479a68<<0x1^0x11b;for(var _0x14225e=0x0,_0x35e17d=0x0,_0x479a68=0x0;_0x479a68<0x100;_0x479a68++){var _0x338aa6=_0x35e17d^_0x35e17d<<0x1^_0x35e17d<<0x2^_0x35e17d<<0x3^_0x35e17d<<0x4;_0x338aa6=_0x338aa6>>>0x8^_0x338aa6&0xff^0x63,_0x64419[_0x14225e]=_0x338aa6,_0x5d1526[_0x338aa6]=_0x14225e;var _0x5c1f8c=_0xb2e142[_0x14225e],_0x3786db=_0xb2e142[_0x5c1f8c],_0x246647=_0xb2e142[_0x3786db],_0x2c0909=_0xb2e142[_0x338aa6]*0x101^_0x338aa6*0x1010100;_0x22630d[_0x14225e]=_0x2c0909<<0x18|_0x2c0909>>>0x8,_0x996413[_0x14225e]=_0x2c0909<<0x10|_0x2c0909>>>0x10,_0xb29f58[_0x14225e]=_0x2c0909<<0x8|_0x2c0909>>>0x18,_0x5a412e[_0x14225e]=_0x2c0909;var _0x2c0909=_0x246647*0x1010101^_0x3786db*0x10001^_0x5c1f8c*0x101^_0x14225e*0x1010100;_0x24c2e1[_0x338aa6]=_0x2c0909<<0x18|_0x2c0909>>>0x8,_0x1a05fe[_0x338aa6]=_0x2c0909<<0x10|_0x2c0909>>>0x10,_0x25073e[_0x338aa6]=_0x2c0909<<0x8|_0x2c0909>>>0x18,_0x4702b9[_0x338aa6]=_0x2c0909,_0x14225e?(_0x14225e=_0x5c1f8c^_0xb2e142[_0xb2e142[_0xb2e142[_0x246647^_0x5c1f8c]]],_0x35e17d^=_0xb2e142[_0xb2e142[_0x35e17d]]):_0x14225e=_0x35e17d=0x1;}}());var _0x4d5b03=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3f605c=_0x5a62bb[_0x2cb0b0(0x2bc)]=_0x382a92[_0x2cb0b0(0x1ff)]({'_doReset':function(){var _0x4641a6=_0x2cb0b0,_0x141fde;if(!(this[_0x4641a6(0x28c)]&&this[_0x4641a6(0x3ac)]===this['_key'])){for(var _0x5bd41f=this[_0x4641a6(0x3ac)]=this[_0x4641a6(0x3eb)],_0x695b25=_0x5bd41f[_0x4641a6(0x3c3)],_0x1d9a5=_0x5bd41f[_0x4641a6(0x3fe)]/0x4,_0x964bab=this[_0x4641a6(0x28c)]=_0x1d9a5+0x6,_0x17b133=(_0x964bab+0x1)*0x4,_0x4a90f2=this[_0x4641a6(0x2ed)]=[],_0x21adb1=0x0;_0x21adb1<_0x17b133;_0x21adb1++)_0x21adb1<_0x1d9a5?_0x4a90f2[_0x21adb1]=_0x695b25[_0x21adb1]:(_0x141fde=_0x4a90f2[_0x21adb1-0x1],_0x21adb1%_0x1d9a5?_0x1d9a5>0x6&&_0x21adb1%_0x1d9a5==0x4&&(_0x141fde=_0x64419[_0x141fde>>>0x18]<<0x18|_0x64419[_0x141fde>>>0x10&0xff]<<0x10|_0x64419[_0x141fde>>>0x8&0xff]<<0x8|_0x64419[_0x141fde&0xff]):(_0x141fde=_0x141fde<<0x8|_0x141fde>>>0x18,_0x141fde=_0x64419[_0x141fde>>>0x18]<<0x18|_0x64419[_0x141fde>>>0x10&0xff]<<0x10|_0x64419[_0x141fde>>>0x8&0xff]<<0x8|_0x64419[_0x141fde&0xff],_0x141fde^=_0x4d5b03[_0x21adb1/_0x1d9a5|0x0]<<0x18),_0x4a90f2[_0x21adb1]=_0x4a90f2[_0x21adb1-_0x1d9a5]^_0x141fde);for(var _0x3a7e03=this['_invKeySchedule']=[],_0x574a55=0x0;_0x574a55<_0x17b133;_0x574a55++){var _0x21adb1=_0x17b133-_0x574a55;if(_0x574a55%0x4)var _0x141fde=_0x4a90f2[_0x21adb1];else var _0x141fde=_0x4a90f2[_0x21adb1-0x4];_0x574a55<0x4||_0x21adb1<=0x4?_0x3a7e03[_0x574a55]=_0x141fde:_0x3a7e03[_0x574a55]=_0x24c2e1[_0x64419[_0x141fde>>>0x18]]^_0x1a05fe[_0x64419[_0x141fde>>>0x10&0xff]]^_0x25073e[_0x64419[_0x141fde>>>0x8&0xff]]^_0x4702b9[_0x64419[_0x141fde&0xff]];}}},'encryptBlock':function(_0x488862,_0x716d58){var _0x5f4de2=_0x2cb0b0;this[_0x5f4de2(0x23c)](_0x488862,_0x716d58,this[_0x5f4de2(0x2ed)],_0x22630d,_0x996413,_0xb29f58,_0x5a412e,_0x64419);},'decryptBlock':function(_0x1f7b61,_0x1d1d62){var _0xe5e13f=_0x2cb0b0,_0x1e4e4e=_0x1f7b61[_0x1d1d62+0x1];_0x1f7b61[_0x1d1d62+0x1]=_0x1f7b61[_0x1d1d62+0x3],_0x1f7b61[_0x1d1d62+0x3]=_0x1e4e4e,this[_0xe5e13f(0x23c)](_0x1f7b61,_0x1d1d62,this[_0xe5e13f(0x3dd)],_0x24c2e1,_0x1a05fe,_0x25073e,_0x4702b9,_0x5d1526);var _0x1e4e4e=_0x1f7b61[_0x1d1d62+0x1];_0x1f7b61[_0x1d1d62+0x1]=_0x1f7b61[_0x1d1d62+0x3],_0x1f7b61[_0x1d1d62+0x3]=_0x1e4e4e;},'_doCryptBlock':function(_0x512b46,_0x39cf80,_0x35a95,_0x43e8b8,_0x103b42,_0x30a235,_0x134a24,_0xfc26fd){var _0x1cf8d2=_0x2cb0b0;for(var _0x46f939=this[_0x1cf8d2(0x28c)],_0x5b0a4a=_0x512b46[_0x39cf80]^_0x35a95[0x0],_0x38ed76=_0x512b46[_0x39cf80+0x1]^_0x35a95[0x1],_0x16225a=_0x512b46[_0x39cf80+0x2]^_0x35a95[0x2],_0x527e89=_0x512b46[_0x39cf80+0x3]^_0x35a95[0x3],_0x57a88f=0x4,_0x373719=0x1;_0x373719<_0x46f939;_0x373719++){var _0x314985=_0x43e8b8[_0x5b0a4a>>>0x18]^_0x103b42[_0x38ed76>>>0x10&0xff]^_0x30a235[_0x16225a>>>0x8&0xff]^_0x134a24[_0x527e89&0xff]^_0x35a95[_0x57a88f++],_0xae3d63=_0x43e8b8[_0x38ed76>>>0x18]^_0x103b42[_0x16225a>>>0x10&0xff]^_0x30a235[_0x527e89>>>0x8&0xff]^_0x134a24[_0x5b0a4a&0xff]^_0x35a95[_0x57a88f++],_0x270724=_0x43e8b8[_0x16225a>>>0x18]^_0x103b42[_0x527e89>>>0x10&0xff]^_0x30a235[_0x5b0a4a>>>0x8&0xff]^_0x134a24[_0x38ed76&0xff]^_0x35a95[_0x57a88f++],_0x171d10=_0x43e8b8[_0x527e89>>>0x18]^_0x103b42[_0x5b0a4a>>>0x10&0xff]^_0x30a235[_0x38ed76>>>0x8&0xff]^_0x134a24[_0x16225a&0xff]^_0x35a95[_0x57a88f++];_0x5b0a4a=_0x314985,_0x38ed76=_0xae3d63,_0x16225a=_0x270724,_0x527e89=_0x171d10;}var _0x314985=(_0xfc26fd[_0x5b0a4a>>>0x18]<<0x18|_0xfc26fd[_0x38ed76>>>0x10&0xff]<<0x10|_0xfc26fd[_0x16225a>>>0x8&0xff]<<0x8|_0xfc26fd[_0x527e89&0xff])^_0x35a95[_0x57a88f++],_0xae3d63=(_0xfc26fd[_0x38ed76>>>0x18]<<0x18|_0xfc26fd[_0x16225a>>>0x10&0xff]<<0x10|_0xfc26fd[_0x527e89>>>0x8&0xff]<<0x8|_0xfc26fd[_0x5b0a4a&0xff])^_0x35a95[_0x57a88f++],_0x270724=(_0xfc26fd[_0x16225a>>>0x18]<<0x18|_0xfc26fd[_0x527e89>>>0x10&0xff]<<0x10|_0xfc26fd[_0x5b0a4a>>>0x8&0xff]<<0x8|_0xfc26fd[_0x38ed76&0xff])^_0x35a95[_0x57a88f++],_0x171d10=(_0xfc26fd[_0x527e89>>>0x18]<<0x18|_0xfc26fd[_0x5b0a4a>>>0x10&0xff]<<0x10|_0xfc26fd[_0x38ed76>>>0x8&0xff]<<0x8|_0xfc26fd[_0x16225a&0xff])^_0x35a95[_0x57a88f++];_0x512b46[_0x39cf80]=_0x314985,_0x512b46[_0x39cf80+0x1]=_0xae3d63,_0x512b46[_0x39cf80+0x2]=_0x270724,_0x512b46[_0x39cf80+0x3]=_0x171d10;},'keySize':0x100/0x20});_0x3ad28f[_0x2cb0b0(0x2bc)]=_0x382a92[_0x2cb0b0(0x4f4)](_0x3f605c);}()),_0x16ad58[_0x498f06(0x2bc)];}));}(_0x54e007)),_0x54e007[_0x161453(0x3ef)];}var _0x45526c=_0x26a800();const _0x847d0e=_0x1b476f(_0x45526c);var _0x56ae03=_0x2ce420();const _0x20a55e=_0x1b476f(_0x56ae03);var _0x3d4ca9={'exports':{}},_0x5d1bad=_0x3d4ca9[_0x53b22d(0x3ef)],_0x2dae16;function _0x2c14ce(){var _0x2c7e10=_0x53b22d;return _0x2dae16||(_0x2dae16=0x1,function(_0x1d8067,_0x3d13ed){(function(_0x530975,_0x4ff8d5){_0x1d8067['exports']=_0x4ff8d5(_0x5e2572());}(_0x5d1bad,function(_0x4b8e62){var _0x31526d=_0x3d4a;return _0x4b8e62[_0x31526d(0x2d3)][_0x31526d(0x30f)];}));}(_0x3d4ca9)),_0x3d4ca9[_0x2c7e10(0x3ef)];}var _0x45ac7e=_0x2c14ce();const _0x52979d=_0x1b476f(_0x45ac7e);var _0x2ac59b={'exports':{}},_0xad4788=_0x2ac59b[_0x53b22d(0x3ef)],_0x3ff1dd;function _0x4ab30c(){var _0x5bbe88=_0x53b22d;return _0x3ff1dd||(_0x3ff1dd=0x1,function(_0x36d663,_0x2eb0c6){(function(_0x548722,_0x57649e){var _0xbec942=_0x3d4a;_0x36d663[_0xbec942(0x3ef)]=_0x57649e(_0x5e2572());}(_0xad4788,function(_0x218519){var _0x277697=_0x3d4a;return(function(){var _0x11d7da=_0x3d4a;if(typeof ArrayBuffer=='function'){var _0x41c114=_0x218519,_0x377213=_0x41c114[_0x11d7da(0x3e6)],_0x2ca967=_0x377213[_0x11d7da(0x24f)],_0x396ae5=_0x2ca967[_0x11d7da(0x3bb)],_0x4457c4=_0x2ca967[_0x11d7da(0x3bb)]=function(_0x2cb926){var _0x14aefc=_0x11d7da;if(_0x2cb926 instanceof ArrayBuffer&&(_0x2cb926=new Uint8Array(_0x2cb926)),(_0x2cb926 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2cb926 instanceof Uint8ClampedArray||_0x2cb926 instanceof Int16Array||_0x2cb926 instanceof Uint16Array||_0x2cb926 instanceof Int32Array||_0x2cb926 instanceof Uint32Array||_0x2cb926 instanceof Float32Array||_0x2cb926 instanceof Float64Array)&&(_0x2cb926=new Uint8Array(_0x2cb926[_0x14aefc(0x4d8)],_0x2cb926['byteOffset'],_0x2cb926[_0x14aefc(0x1ac)])),_0x2cb926 instanceof Uint8Array){for(var _0x40ae84=_0x2cb926[_0x14aefc(0x1ac)],_0x2a0a01=[],_0x25f6e9=0x0;_0x25f6e9<_0x40ae84;_0x25f6e9++)_0x2a0a01[_0x25f6e9>>>0x2]|=_0x2cb926[_0x25f6e9]<<0x18-_0x25f6e9%0x4*0x8;_0x396ae5[_0x14aefc(0x1e3)](this,_0x2a0a01,_0x40ae84);}else _0x396ae5[_0x14aefc(0x17f)](this,arguments);};_0x4457c4[_0x11d7da(0x192)]=_0x2ca967;}}()),_0x218519[_0x277697(0x3e6)]['WordArray'];}));}(_0x2ac59b)),_0x2ac59b[_0x5bbe88(0x3ef)];}var _0x3b2a56=_0x4ab30c();const _0x31b6a7=_0x1b476f(_0x3b2a56);var _0x1bef65={'exports':{}},_0x12150d=_0x1bef65[_0x53b22d(0x3ef)],_0xbf9be6;function _0x55b4eb(){var _0x54471f=_0x53b22d;return _0xbf9be6||(_0xbf9be6=0x1,function(_0x487cca,_0x32eed1){(function(_0x48082f,_0x1aa553,_0xc1a946){var _0x2ef2e7=_0x3d4a;_0x487cca[_0x2ef2e7(0x3ef)]=_0x1aa553(_0x5e2572(),_0x473512());}(_0x12150d,function(_0x3f7856){var _0x34e14c=_0x3d4a;return _0x3f7856[_0x34e14c(0x248)][_0x34e14c(0x4dc)]={'pad':function(){},'unpad':function(){}},_0x3f7856[_0x34e14c(0x248)][_0x34e14c(0x4dc)];}));}(_0x1bef65)),_0x1bef65[_0x54471f(0x3ef)];}var _0x2a52a7=_0x55b4eb();const _0x17c349=_0x1b476f(_0x2a52a7);function _0x5f3376(_0x1d5dcc,_0x3f5184){var _0xe13dcc=_0x53b22d;const _0x1c79c2=_0x3f5184-_0x1d5dcc[_0xe13dcc(0x34f)]%_0x3f5184,_0x5c46d9=String[_0xe13dcc(0x382)](_0x1c79c2)[_0xe13dcc(0x3a9)](_0x1c79c2);return _0x1d5dcc+_0x5c46d9;}function _0xe48d60(_0x110581,_0x14e4a1){var _0x2e00fc=_0x53b22d;const _0x1f3c44=_0x31b6a7[_0x2e00fc(0x1f2)](0x10),_0xb410c9=_0x5f3376(_0x110581,0x10),_0x4ca7d5=_0x847d0e[_0x2e00fc(0x4ea)](_0x52979d[_0x2e00fc(0x2df)](_0xb410c9),_0x20a55e[_0x2e00fc(0x2df)](_0x14e4a1),{'iv':_0x1f3c44,'padding':_0x17c349});return _0x1f3c44[_0x2e00fc(0x356)](_0x4ca7d5[_0x2e00fc(0x46e)])['toString'](_0x20a55e);}function _0x4b8527(){var _0xed7d65=_0x53b22d;const _0x477ae9=_0xac3b29[_0xed7d65(0x46f)]()[_0xed7d65(0x2de)];if(_0x477ae9){const _0x56f410={'time':Math[_0xed7d65(0x243)](Date[_0xed7d65(0x188)]()/0x3e8),'domain':location[_0xed7d65(0x242)]};return _0xe48d60(JSON[_0xed7d65(0x2b7)](_0x56f410),_0x477ae9);}}var _0x13b007=Object[_0x53b22d(0x4ce)],_0x44f6ca=(_0x402337,_0x4f8c20,_0x1a6512,_0xa3f7ae)=>{for(var _0x4e22a5=_0xa3f7ae>0x1?void 0x0:_0xa3f7ae?_0x13b007(_0x4f8c20,_0x1a6512):_0x4f8c20,_0x3b0ee4=_0x402337['length']-0x1,_0x462f14;_0x3b0ee4>=0x0;_0x3b0ee4--)(_0x462f14=_0x402337[_0x3b0ee4])&&(_0x4e22a5=_0x462f14(_0x4e22a5)||_0x4e22a5);return _0x4e22a5;},_0x141983=(_0x2f2107,_0x24fbb9)=>(_0x2ac5f4,_0x3bb597)=>_0x24fbb9(_0x2ac5f4,_0x3bb597,_0x2f2107);let _0x2603b7=class{constructor(_0x32b025){this['_httpService']=_0x32b025,this['_initRequestHeader']();}[_0x53b22d(0x226)](){var _0x59deb9=_0x53b22d;this['_httpService'][_0x59deb9(0x4c8)]({'interceptor':(_0x3ca697,_0x76923c)=>{const _0x161070=_0x3ca697['headers'],_0x5c6696=_0x4b8527();return _0x5c6696&&_0x161070['set']('x-univer-host',_0x5c6696),_0x76923c(_0x3ca697);}});}};_0x2603b7=_0x44f6ca([_0x141983(0x0,_0x48136f[_0x53b22d(0x25d)](_0x369f04[_0x53b22d(0x18a)]))],_0x2603b7);var _0x4d888d=Object['getOwnPropertyDescriptor'],_0x26bd0f=(_0x5909ee,_0x3c8efc,_0x16e638,_0x464b2b)=>{for(var _0x122be6=_0x464b2b>0x1?void 0x0:_0x464b2b?_0x4d888d(_0x3c8efc,_0x16e638):_0x3c8efc,_0x1ffe1b=_0x5909ee['length']-0x1,_0x19dbdc;_0x1ffe1b>=0x0;_0x1ffe1b--)(_0x19dbdc=_0x5909ee[_0x1ffe1b])&&(_0x122be6=_0x19dbdc(_0x122be6)||_0x122be6);return _0x122be6;},_0x20d613=(_0x3daf54,_0x2480c4)=>(_0xa56447,_0x3c5cbd)=>_0x2480c4(_0xa56447,_0x3c5cbd,_0x3daf54);_0x3207bf['DataLoaderService']=class extends _0x48136f['RxDisposable']{constructor(_0x492709,_0x4c816a,_0x23163f){var _0xecac1f=_0x53b22d;super(),_0x4b46fd(this,_0xecac1f(0x209),new _0xae0ae[(_0xecac1f(0x48f))](null)),_0x4b46fd(this,'unitInfo$',this[_0xecac1f(0x209)][_0xecac1f(0x2c6)]()),(this['_logService']=_0x492709,this[_0xecac1f(0x1d0)]=_0x4c816a,this[_0xecac1f(0x26a)]=_0x23163f);}async[_0x53b22d(0x320)](_0x4afed8,_0x5ba6a3,_0x234a6a){var _0x42346a=_0x53b22d;this[_0x42346a(0x209)][_0x42346a(0x325)]({'unitId':_0x4afed8,'type':_0x5ba6a3,'subUnitId':_0x234a6a});let _0x446dc6=null;switch(_0x5ba6a3){case _0xb5b2f5['UNIVER_SHEET']:{_0x446dc6=await this['_loadSheet'](_0x4afed8);break;}case _0xb5b2f5['UNIVER_DOC']:{_0x446dc6=await this[_0x42346a(0x21d)](_0x4afed8);break;}default:{this[_0x42346a(0x37d)][_0x42346a(0x251)](_0x42346a(0x199),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x446dc6;}async[_0x53b22d(0x305)](_0x24b905){var _0x1e680c=_0x53b22d,_0x52ae55;let _0xb19c51=0x0;const _0x5446cf=await((_0x52ae55=this[_0x1e680c(0x26a)])==null?void 0x0:_0x52ae55['loadOfflineData'](_0x24b905));return _0x5446cf&&(_0x5446cf[_0x1e680c(0x335)]||_0x5446cf[_0x1e680c(0x264)][_0x1e680c(0x34f)]!==0x0)&&(_0xb19c51=_0x5446cf[_0x1e680c(0x309)]),_0xb19c51===0x0&&this[_0x1e680c(0x37d)][_0x1e680c(0x4bf)](_0x1e680c(0x199),_0x1e680c(0x1cd)),this[_0x1e680c(0x1d0)][_0x1e680c(0x2fb)](_0x24b905,_0xb19c51);}async[_0x53b22d(0x21d)](_0x3aac9c){var _0x9800af=_0x53b22d,_0x4dbfd0;let _0x120e19=0x0;const _0x4a40ae=await((_0x4dbfd0=this['_localCacheService'])==null?void 0x0:_0x4dbfd0[_0x9800af(0x3c6)](_0x3aac9c));return _0x4a40ae&&(_0x4a40ae[_0x9800af(0x335)]||_0x4a40ae['mutations'][_0x9800af(0x34f)]!==0x0)&&(_0x120e19=_0x4a40ae[_0x9800af(0x309)]),_0x120e19===0x0&&this[_0x9800af(0x37d)]['debug'](_0x9800af(0x199),_0x9800af(0x1cd)),this[_0x9800af(0x1d0)][_0x9800af(0x297)](_0x3aac9c,_0x120e19);}},_0x3207bf[_0x53b22d(0x43e)]=_0x26bd0f([_0x20d613(0x0,_0x48136f[_0x53b22d(0x1d1)]),_0x20d613(0x1,_0x48136f[_0x53b22d(0x25d)](_0x395ea6[_0x53b22d(0x45a)])),_0x20d613(0x2,_0x48136f[_0x53b22d(0x2b5)](_0x132fc9))],_0x3207bf[_0x53b22d(0x43e)]);var _0x53b453=Object[_0x53b22d(0x4ce)],_0x1d7cbe=(_0x2d0787,_0x273127,_0x4e8436,_0x4ec8f0)=>{for(var _0x3a9e51=_0x4ec8f0>0x1?void 0x0:_0x4ec8f0?_0x53b453(_0x273127,_0x4e8436):_0x273127,_0x215dea=_0x2d0787['length']-0x1,_0x383689;_0x215dea>=0x0;_0x215dea--)(_0x383689=_0x2d0787[_0x215dea])&&(_0x3a9e51=_0x383689(_0x3a9e51)||_0x3a9e51);return _0x3a9e51;},_0x158348=(_0x4736e5,_0x3417b1)=>(_0x44e2f8,_0x2d84ee)=>_0x3417b1(_0x44e2f8,_0x2d84ee,_0x4736e5);const _0x17b95a=[_0x53b22d(0x293),_0x53b22d(0x48a),_0x53b22d(0x20a),'image/gif',_0x53b22d(0x29e)],_0x2e88cb=0x5*0x400*0x400,_0xdd2e0='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x508f15=_0x53b22d(0x362),_0xcd4608='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x375b7a='/universer-api/file/{fileID}/sign-url';_0x3207bf[_0x53b22d(0x21f)]=class{constructor(_0x48741e,_0x43f15c,_0x150c20){var _0x52627f=_0x53b22d;_0x4b46fd(this,_0x52627f(0x40f),0x0),_0x4b46fd(this,_0x52627f(0x4d2),new _0xae0ae[(_0x52627f(0x25a))]()),_0x4b46fd(this,_0x52627f(0x3f7),this[_0x52627f(0x4d2)]),_0x4b46fd(this,_0x52627f(0x198),new Map()),(this[_0x52627f(0x263)]=_0x48741e,this['_configService']=_0x43f15c,this[_0x52627f(0x3a3)]=_0x150c20);}[_0x53b22d(0x3e5)](_0x3a2d6f){var _0x2bdd1e=_0x53b22d;this['_waitCount']=_0x3a2d6f,this[_0x2bdd1e(0x4d2)]['next'](_0x3a2d6f);}[_0x53b22d(0x438)](_0x147f9f,_0xb7b503){var _0x382606=_0x53b22d;if(_0xb7b503===_0x43232d[_0x382606(0x498)][_0x382606(0x21e)]){const _0x1a1743=new Image();return _0x1a1743[_0x382606(0x33d)]=_0x147f9f,_0x1a1743;}return this[_0x382606(0x198)][_0x382606(0x400)](_0x147f9f);}[_0x53b22d(0x4d4)](_0x394f52,_0xcbdd0d,_0x40a255){var _0x7dd3ed=_0x53b22d;_0xcbdd0d===_0x43232d[_0x7dd3ed(0x498)][_0x7dd3ed(0x21e)]||_0x40a255==null||this[_0x7dd3ed(0x198)][_0x7dd3ed(0x459)](_0x394f52,_0x40a255);}async[_0x53b22d(0x17a)](_0x21ff51){var _0x5b23ab=_0x53b22d;try{const _0xffabf1=this[_0x5b23ab(0x364)](this['_getSignURL'](),''+_0x21ff51),_0x2aa338=(await this['_httpService'][_0x5b23ab(0x400)](_0xffabf1))[_0x5b23ab(0x29a)];if(_0x2aa338[_0x5b23ab(0x251)]&&_0x2aa338[_0x5b23ab(0x251)][_0x5b23ab(0x233)]===_0x1e6ab9['OK']){const _0x1a54f5=new URL(_0x2aa338['url'],this[_0x5b23ab(0x419)]())['toString']();return Promise['resolve'](_0x1a54f5);}return Promise[_0x5b23ab(0x31c)](_0x2aa338[_0x5b23ab(0x251)]);}catch(_0x5cb726){return Promise['reject'](_0x5cb726);}}async[_0x53b22d(0x441)](_0x21cd14){var _0x9f71ce=_0x53b22d;let _0x5b88bd='';if(!_0x17b95a[_0x9f71ce(0x2b9)](_0x21cd14[_0x9f71ce(0x4d6)]))return this[_0x9f71ce(0x390)](),Promise['reject'](new Error(_0x43232d[_0x9f71ce(0x182)]['ERROR_IMAGE_TYPE']));if(_0x21cd14[_0x9f71ce(0x27d)]>_0x2e88cb)return this[_0x9f71ce(0x390)](),Promise[_0x9f71ce(0x31c)](new Error(_0x43232d['ImageUploadStatusType'][_0x9f71ce(0x336)]));try{const _0x406902=new FormData();_0x406902[_0x9f71ce(0x2d6)](_0x9f71ce(0x245),_0x21cd14);const _0x16d04a=this[_0x9f71ce(0x3a3)][_0x9f71ce(0x227)](),_0x526866=_0x16d04a==null?void 0x0:_0x16d04a[_0x9f71ce(0x445)]();if(!_0x526866)throw new Error('unitId\x20is\x20not\x20found');const _0xd380d0=this[_0x9f71ce(0x44e)]()+'?size='+_0x21cd14[_0x9f71ce(0x27d)][_0x9f71ce(0x2ce)]()+_0x9f71ce(0x2d1)+_0x36d2c4[_0x9f71ce(0x23b)]+_0x9f71ce(0x3e7)+encodeURIComponent(_0x526866),_0x45addc=await(await fetch(_0xd380d0,{'method':_0x9f71ce(0x39e),'body':_0x406902}))['json']();if(typeof _0x45addc['FileId']!='string')return this[_0x9f71ce(0x390)](),Promise[_0x9f71ce(0x31c)](new Error(_0x43232d['ImageUploadStatusType'][_0x9f71ce(0x1be)]));_0x5b88bd=_0x45addc[_0x9f71ce(0x40e)];}catch{return this['_decreaseWaiting'](),Promise[_0x9f71ce(0x31c)](new Error(_0x43232d[_0x9f71ce(0x182)][_0x9f71ce(0x1be)]));}return new Promise((_0x5085e8,_0x1eae49)=>{var _0x407994=_0x9f71ce;const _0x5130b2=new FileReader();_0x5130b2[_0x407994(0x1dd)](_0x21cd14),_0x5130b2['onload']=_0x3cf306=>{var _0x157e08=_0x407994,_0x39b711;const _0x189654=(_0x39b711=_0x3cf306[_0x157e08(0x2e0)])==null?void 0x0:_0x39b711['result'];if(_0x189654==null){this[_0x157e08(0x390)](),_0x1eae49(new Error(_0x43232d['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x394b48=_0x48136f[_0x157e08(0x30e)][_0x157e08(0x370)](0x6);_0x5085e8({'imageId':_0x394b48,'imageSourceType':_0x43232d[_0x157e08(0x498)][_0x157e08(0x1e1)],'source':_0x5b88bd,'base64Cache':_0x189654,'status':_0x43232d[_0x157e08(0x182)][_0x157e08(0x194)]}),this[_0x157e08(0x390)]();};});}[_0x53b22d(0x44e)](){var _0x3d82c0=_0x53b22d,_0x2699dd,_0x3bece0;const _0x121c6f=this['_configService']['getConfig'](_0xdd2e0),_0x21cc4e=this['_configService'][_0x3d82c0(0x425)](_0x15fbd0);return(_0x3bece0=(_0x2699dd=_0x21cc4e==null?void 0x0:_0x21cc4e[_0x3d82c0(0x417)])!=null?_0x2699dd:_0x121c6f)!=null?_0x3bece0:_0x508f15;}[_0x53b22d(0x4e3)](){var _0xd8a99=_0x53b22d,_0x5f4700,_0x82801f;const _0x2bcd56=this[_0xd8a99(0x4f9)][_0xd8a99(0x425)](_0xcd4608),_0x5688b4=this['_configService']['getConfig'](_0x15fbd0);return(_0x82801f=(_0x5f4700=_0x5688b4==null?void 0x0:_0x5688b4['signUrlServerUrl'])!=null?_0x5f4700:_0x2bcd56)!=null?_0x82801f:_0x375b7a;}['_getDownloadEndpointURL'](){var _0x5d2607=_0x53b22d,_0x14fa5a;const _0x424ab3=this[_0x5d2607(0x4f9)][_0x5d2607(0x425)](_0x15fbd0);return(_0x14fa5a=_0x424ab3==null?void 0x0:_0x424ab3[_0x5d2607(0x27e)])!=null?_0x14fa5a:location['origin'];}[_0x53b22d(0x364)](_0x2f7aba,_0x3960ec){var _0x2869d4=_0x53b22d;return _0x2f7aba[_0x2869d4(0x360)](_0x2869d4(0x2e3),_0x3960ec);}[_0x53b22d(0x390)](){var _0x293360=_0x53b22d;this[_0x293360(0x40f)]-=0x1,this[_0x293360(0x4d2)][_0x293360(0x325)](this[_0x293360(0x40f)]);}},_0x3207bf[_0x53b22d(0x21f)]=_0x1d7cbe([_0x158348(0x0,_0x48136f['Inject'](_0x369f04[_0x53b22d(0x18a)])),_0x158348(0x1,_0x48136f['IConfigService']),_0x158348(0x2,_0x48136f['Inject'](_0x48136f[_0x53b22d(0x409)]))],_0x3207bf[_0x53b22d(0x21f)]);var _0x4a24e0=Object[_0x53b22d(0x4ce)],_0x10fd49=(_0x395706,_0x2e3cd4,_0x2c7c5a,_0x263314)=>{var _0x2950ee=_0x53b22d;for(var _0x5a6a76=_0x263314>0x1?void 0x0:_0x263314?_0x4a24e0(_0x2e3cd4,_0x2c7c5a):_0x2e3cd4,_0x589c4b=_0x395706[_0x2950ee(0x34f)]-0x1,_0x47a78a;_0x589c4b>=0x0;_0x589c4b--)(_0x47a78a=_0x395706[_0x589c4b])&&(_0x5a6a76=_0x47a78a(_0x5a6a76)||_0x5a6a76);return _0x5a6a76;},_0xc637a1=(_0x16fa0e,_0x56be59)=>(_0x502365,_0x93a928)=>_0x56be59(_0x502365,_0x93a928,_0x16fa0e);const _0x89719f='/universer-api/authz';_0x3207bf[_0x53b22d(0x34c)]=class{constructor(_0x161731,_0x3e38f5){var _0x1f82b3=_0x53b22d;this[_0x1f82b3(0x4f9)]=_0x161731,this[_0x1f82b3(0x288)]=_0x3e38f5;}['_getAPIPrefixPath'](){var _0x501015=_0x53b22d,_0x2aceb7,_0x306ac7;const _0x33c54b=this[_0x501015(0x4f9)]['getConfig'](_0x42a54f),_0x2399b7=this[_0x501015(0x4f9)]['getConfig'](_0x15fbd0);return(_0x306ac7=(_0x2aceb7=_0x2399b7==null?void 0x0:_0x2399b7[_0x501015(0x3ba)])!=null?_0x2aceb7:_0x33c54b)!=null?_0x306ac7:_0x89719f;}async[_0x53b22d(0x181)](_0x3b9022){var _0x2f25bd=_0x53b22d;const _0x4ae2e1=this[_0x2f25bd(0x447)]()+_0x2f25bd(0x488);return{'list':[{'title':_0x2f25bd(0x4c3),'mentions':(await this[_0x2f25bd(0x288)]['get'](_0x4ae2e1,{'params':{'objectID':_0x3b9022[_0x2f25bd(0x480)],'unitID':_0x3b9022[_0x2f25bd(0x480)]}}))['body'][_0x2f25bd(0x31e)][_0x2f25bd(0x2e9)](_0x56606d=>({'objectId':_0x56606d['id'],'name':_0x56606d[_0x2f25bd(0x27f)]['name'],'metadata':{'icon':_0x56606d['subject'][_0x2f25bd(0x228)]},'label':_0x56606d[_0x2f25bd(0x27f)][_0x2f25bd(0x476)],'objectType':_0x48136f['MentionType']['PERSON']})),'metadata':{},'type':_0x48136f['MentionType'][_0x2f25bd(0x1ad)]}]};}},_0x3207bf[_0x53b22d(0x34c)]=_0x10fd49([_0xc637a1(0x0,_0x48136f[_0x53b22d(0x25d)](_0x48136f[_0x53b22d(0x3f6)])),_0xc637a1(0x1,_0x48136f[_0x53b22d(0x25d)](_0x369f04[_0x53b22d(0x18a)]))],_0x3207bf[_0x53b22d(0x34c)]);var _0x2f68de=Object[_0x53b22d(0x4ce)],_0x10602a=(_0x863ff2,_0x275d2f,_0x113583,_0x599ab6)=>{var _0x56da8e=_0x53b22d;for(var _0xbfc2fb=_0x599ab6>0x1?void 0x0:_0x599ab6?_0x2f68de(_0x275d2f,_0x113583):_0x275d2f,_0x1bfe2b=_0x863ff2[_0x56da8e(0x34f)]-0x1,_0x32d32a;_0x1bfe2b>=0x0;_0x1bfe2b--)(_0x32d32a=_0x863ff2[_0x1bfe2b])&&(_0xbfc2fb=_0x32d32a(_0xbfc2fb)||_0xbfc2fb);return _0xbfc2fb;},_0x192b85=(_0x29391f,_0x415e0d)=>(_0x178902,_0x2f9e1a)=>_0x415e0d(_0x178902,_0x2f9e1a,_0x29391f);let _0x1f06f2=class extends _0x48136f[_0x53b22d(0x397)]{constructor(_0x241462,_0x488b2d,_0xa9b7a9,_0x98b071,_0x40d21b){var _0x44ca9c=_0x53b22d;super(),this[_0x44ca9c(0x33f)]=_0x241462,this['_univerInstanceService']=_0x488b2d,this['_permissionService']=_0xa9b7a9,this['_collaborationSessionService']=_0x98b071,this['_collaborationUIEventService']=_0x40d21b,this[_0x44ca9c(0x450)](),this[_0x44ca9c(0x246)]();}['_initCloseConn'](){var _0x30df43=_0x53b22d;const _0x3d343e=async _0x3d6f82=>{var _0x1fe9e7=_0x3d4a;(await this[_0x1fe9e7(0x216)][_0x1fe9e7(0x391)](_0x3d6f82))['event$'][_0x1fe9e7(0x3a7)](_0x4deef5['filter'](_0x30b71c=>_0x30b71c[_0x1fe9e7(0x4b5)]===_0x395ea6['CollaborationEvent'][_0x1fe9e7(0x1a2)]),_0x4deef5[_0x1fe9e7(0x3b7)](this[_0x1fe9e7(0x45b)]))[_0x1fe9e7(0x47d)](_0x461fcd=>{var _0x54b076=_0x1fe9e7;const _0x2a0cd7=_0x461fcd,{reason:_0x5c1dd5}=_0x2a0cd7[_0x54b076(0x39f)];this['_collaborationUIEventService'][_0x54b076(0x4cd)]({'id':_0x3fc847[_0x54b076(0x3fa)],'data':_0x5c1dd5}),this[_0x54b076(0x407)][_0x54b076(0x207)](new _0x1306f3[(_0x54b076(0x43d))](_0x3d6f82)['id'],!0x1),this[_0x54b076(0x216)][_0x54b076(0x1b9)](_0x3d6f82);});};_0xae0ae[_0x30df43(0x2cb)](this[_0x30df43(0x3a3)][_0x30df43(0x1c1)](_0x48136f[_0x30df43(0x457)][_0x30df43(0x3cf)]),this[_0x30df43(0x3a3)][_0x30df43(0x1c1)](_0x48136f[_0x30df43(0x457)][_0x30df43(0x2c2)]))['pipe'](_0x4deef5[_0x30df43(0x2e9)](_0xe14e77=>_0xe14e77[_0x30df43(0x445)]()),_0x4deef5[_0x30df43(0x223)](_0x17fbb5=>!_0x48136f[_0x30df43(0x1f0)](_0x17fbb5)),_0x4deef5['takeUntil'](this[_0x30df43(0x45b)]))['subscribe'](_0x340179=>{_0x3d343e(_0x340179);});}[_0x53b22d(0x450)](){var _0x412953=_0x53b22d;const _0x56ed72=async _0x397ae4=>{var _0x5bd47e=_0x3d4a;const _0x17823d=await this['_collaborationSessionService'][_0x5bd47e(0x391)](_0x397ae4),_0x570ca1=this[_0x5bd47e(0x33f)]['get'](_0x1306f3[_0x5bd47e(0x2f5)]);_0x17823d['event$'][_0x5bd47e(0x3a7)](_0x4deef5[_0x5bd47e(0x223)](_0x14863a=>_0x14863a['eventID']===_0x395ea6['CollaborationEvent'][_0x5bd47e(0x47b)]),_0x4deef5[_0x5bd47e(0x3b7)](this[_0x5bd47e(0x45b)]))[_0x5bd47e(0x47d)](_0x4a1ec9=>{var _0x2d32bc=_0x5bd47e;const _0x286f05=_0x4a1ec9,{objectId:_0x22526c}=_0x286f05['data'];_0x22526c===_0x397ae4?_0x570ca1[_0x2d32bc(0x1fc)](_0x397ae4):_0x570ca1[_0x2d32bc(0x2f2)](_0x397ae4,_0x22526c);});};_0xae0ae[_0x412953(0x2cb)](this[_0x412953(0x3a3)]['getTypeOfUnitAdded$'](_0x48136f[_0x412953(0x457)]['UNIVER_SHEET']))[_0x412953(0x3a7)](_0x4deef5[_0x412953(0x2e9)](_0x28f7a9=>_0x28f7a9[_0x412953(0x445)]()),_0x4deef5['filter'](_0x114dc3=>!_0x48136f[_0x412953(0x1f0)](_0x114dc3)),_0x4deef5['takeUntil'](this['dispose$']))[_0x412953(0x47d)](_0x17d587=>{_0x56ed72(_0x17d587);});}};_0x1f06f2=_0x10602a([_0x192b85(0x0,_0x48136f[_0x53b22d(0x25d)](_0x48136f['Injector'])),_0x192b85(0x1,_0x48136f[_0x53b22d(0x409)]),_0x192b85(0x2,_0x48136f[_0x53b22d(0x3f4)]),_0x192b85(0x3,_0x48136f[_0x53b22d(0x25d)](_0x3207bf[_0x53b22d(0x4d1)])),_0x192b85(0x4,_0x48136f[_0x53b22d(0x25d)](_0x5195dc))],_0x1f06f2);var _0x3da3c7=Object['getOwnPropertyDescriptor'],_0x22b357=(_0x1cc204,_0xb5ccb5,_0x4c1665,_0x521f70)=>{var _0x4aa22b=_0x53b22d;for(var _0xfb2202=_0x521f70>0x1?void 0x0:_0x521f70?_0x3da3c7(_0xb5ccb5,_0x4c1665):_0xb5ccb5,_0x30531f=_0x1cc204[_0x4aa22b(0x34f)]-0x1,_0x4d2c3f;_0x30531f>=0x0;_0x30531f--)(_0x4d2c3f=_0x1cc204[_0x30531f])&&(_0xfb2202=_0x4d2c3f(_0xfb2202)||_0xfb2202);return _0xfb2202;},_0x4c0c8e=(_0x49037e,_0x4c56f0)=>(_0x5dc47b,_0xa71583)=>_0x4c56f0(_0x5dc47b,_0xa71583,_0x49037e);_0x3207bf[_0x53b22d(0x46b)]=class{constructor(_0x5ad185,_0xa3a85e){var _0x40b9a7=_0x53b22d;this[_0x40b9a7(0x4f9)]=_0x5ad185,this[_0x40b9a7(0x263)]=_0xa3a85e;}async[_0x53b22d(0x4f1)](_0x2cefc2,_0xaffddb){var _0x41feda=_0x53b22d,_0x4e250d;const {unitID:_0x235834,type:_0x541094,revision:_0x14c4b6=0x0}=_0xaffddb,_0x6a8c68=this['getSnapshotAPIPath']()+'/'+_0x541094+_0x41feda(0x1ee)+_0x235834+_0x41feda(0x464)+_0x14c4b6,_0x5c90b2=(await this[_0x41feda(0x263)][_0x41feda(0x400)](_0x6a8c68))[_0x41feda(0x29a)],_0x48c03c=(_0x4e250d=_0x5c90b2['snapshot'])==null?void 0x0:_0x4e250d['workbook'];if(_0x48c03c){const _0x22fae5=_0x48c03c==null?void 0x0:_0x48c03c['originalMeta'],_0x886fd3=_0x395ea6['textEncoder'][_0x41feda(0x1db)](_0x395ea6['b64DecodeUnicode'](_0x22fae5));_0x48c03c[_0x41feda(0x3a0)]=_0x886fd3,Object[_0x41feda(0x1d8)](_0x48c03c[_0x41feda(0x3d9)])[_0x41feda(0x2eb)](([,_0xf56915])=>{var _0x125eb5=_0x41feda;const _0x8d7477=_0xf56915[_0x125eb5(0x3a0)],_0x641ff7=_0x395ea6[_0x125eb5(0x4a0)][_0x125eb5(0x1db)](_0x395ea6['b64DecodeUnicode'](_0x8d7477));_0xf56915[_0x125eb5(0x3a0)]=_0x641ff7;});}return _0x5c90b2;}async[_0x53b22d(0x34d)](_0x44520c,_0x206888){var _0x171bfc=_0x53b22d;const {unitID:_0xe637d1,type:_0x2bfa18,blockID:_0x5a4fa3}=_0x206888,_0x399d6f=this['_getAPIPrefix']()+'/'+_0x2bfa18+_0x171bfc(0x1ee)+_0xe637d1+_0x171bfc(0x36d)+_0x5a4fa3;return(await this[_0x171bfc(0x263)]['get'](_0x399d6f))[_0x171bfc(0x29a)];}async[_0x53b22d(0x2a0)](_0x1c1115,_0x59ff26){var _0x45b422=_0x53b22d;const {unitID:_0xd5cde,type:_0x167fd3,blockID:_0x3429c9}=_0x59ff26,_0x14c745=this[_0x45b422(0x2fa)]()+'/block/'+_0x167fd3+_0x45b422(0x1ee)+_0xd5cde+'/block/'+_0x3429c9;return(await this[_0x45b422(0x263)][_0x45b422(0x400)](_0x14c745))[_0x45b422(0x29a)];}async[_0x53b22d(0x42b)](_0x1e2324,_0xf4fe10){var _0x436a21=_0x53b22d;const {unitID:_0x5bf023,type:_0x3a46ff,from:_0x333dbd,to:_0x1eefb3}=_0xf4fe10,_0x2c00be=this[_0x436a21(0x2fa)]()+'/'+_0x3a46ff+_0x436a21(0x1ee)+_0x5bf023+_0x436a21(0x44c)+_0x333dbd+_0x436a21(0x27a)+_0x1eefb3;return(await this[_0x436a21(0x263)][_0x436a21(0x400)](_0x2c00be))[_0x436a21(0x29a)];}[_0x53b22d(0x471)](){var _0x5045a4=_0x53b22d,_0x325257;return(_0x325257=this[_0x5045a4(0x4f9)][_0x5045a4(0x425)](_0x2d3dbf))!=null?_0x325257:this[_0x5045a4(0x2fa)]();}[_0x53b22d(0x2fa)](){var _0x239916=_0x53b22d,_0x9a44be,_0x244615;const _0x462668=this[_0x239916(0x4f9)][_0x239916(0x425)](_0x54607f),_0x2a08e2=this[_0x239916(0x4f9)][_0x239916(0x425)](_0x15fbd0);return(_0x244615=(_0x9a44be=_0x2a08e2==null?void 0x0:_0x2a08e2['snapshotServerUrl'])!=null?_0x9a44be:_0x462668)!=null?_0x244615:_0x1c4620;}async['getResourcesRequest'](_0x5aac9a,_0x3653dc){var _0x10986f=_0x53b22d;const _0x4dc623=_0x10986f(0x4bb)+_0x3653dc[_0x10986f(0x4d6)]+_0x10986f(0x1ee)+_0x3653dc['unitID']+'/resources';return(await this[_0x10986f(0x263)][_0x10986f(0x400)](_0x4dc623,{'params':{'resourceId':JSON[_0x10986f(0x2b7)](_0x3653dc[_0x10986f(0x3de)])}}))[_0x10986f(0x29a)];}[_0x53b22d(0x1f9)](){var _0x33ab86=_0x53b22d;throw new Error(_0x33ab86(0x3c7));}['saveSheetBlock'](){var _0x1f868a=_0x53b22d;throw new Error(_0x1f868a(0x3c7));}[_0x53b22d(0x304)](){var _0x39d81a=_0x53b22d;throw new Error(_0x39d81a(0x3c7));}[_0x53b22d(0x1f5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x53b22d(0x26c)](){var _0x3436e0=_0x53b22d;throw new Error(_0x3436e0(0x3c7));}},_0x3207bf[_0x53b22d(0x46b)]=_0x22b357([_0x4c0c8e(0x0,_0x48136f[_0x53b22d(0x3f6)]),_0x4c0c8e(0x1,_0x48136f[_0x53b22d(0x25d)](_0x369f04[_0x53b22d(0x18a)]))],_0x3207bf[_0x53b22d(0x46b)]);var _0x1128e9=Object['getOwnPropertyDescriptor'],_0x5ca3a8=(_0x146996,_0x30dc55,_0x3e6b8d,_0x4257e7)=>{var _0x52be30=_0x53b22d;for(var _0x5b3b52=_0x4257e7>0x1?void 0x0:_0x4257e7?_0x1128e9(_0x30dc55,_0x3e6b8d):_0x30dc55,_0x3d729a=_0x146996[_0x52be30(0x34f)]-0x1,_0x58cb0d;_0x3d729a>=0x0;_0x3d729a--)(_0x58cb0d=_0x146996[_0x3d729a])&&(_0x5b3b52=_0x58cb0d(_0x5b3b52)||_0x5b3b52);return _0x5b3b52;},_0x498b4f=(_0x5d7476,_0xe22fc0)=>(_0x4ea7a1,_0x5b6dfd)=>_0xe22fc0(_0x4ea7a1,_0x5b6dfd,_0x5d7476);_0x3207bf[_0x53b22d(0x1ca)]=class extends _0x48136f['LocalUndoRedoService']{constructor(_0x4da461,_0xf22c36,_0x381314,_0x118e2e,_0x149249){var _0x4860d6=_0x53b22d;super(_0x4da461,_0xf22c36,_0x381314),this[_0x4860d6(0x2f7)]=_0x118e2e,this['_logService']=_0x149249;}['transformUndoRedo'](_0x46be82,_0x408b2d){var _0x1d6d15=_0x53b22d;const _0x10a536=this[_0x1d6d15(0x349)](_0x46be82);if(_0x10a536)try{const _0x532ff3=this[_0x1d6d15(0x1e0)](_0x10a536,_0x408b2d);this[_0x1d6d15(0x402)](_0x46be82,_0x532ff3);}catch(_0x10e12f){this[_0x1d6d15(0x37d)][_0x1d6d15(0x251)]('[CollaborationUndoRedoService]',_0x10e12f),this[_0x1d6d15(0x3cc)](_0x46be82);}const _0xc1f9ca=this['_getRedoStack'](_0x46be82);if(_0xc1f9ca)try{const _0x1f7b00=this['_transformStack'](_0xc1f9ca,_0x408b2d);this[_0x1d6d15(0x4d0)](_0x46be82,_0x1f7b00);}catch(_0xff5d55){this[_0x1d6d15(0x37d)][_0x1d6d15(0x251)](_0xff5d55),this['_clearRedo'](_0x46be82);}}[_0x53b22d(0x3cc)](_0x4bd328){var _0x6235fb=_0x53b22d;const _0x1fc080=this[_0x6235fb(0x349)](_0x4bd328);_0x1fc080&&(_0x1fc080[_0x6235fb(0x34f)]=0x0,this[_0x6235fb(0x3ec)]());}[_0x53b22d(0x2c0)](_0x13b918){var _0x280856=_0x53b22d;const _0x2b5e34=this['_getRedoStack'](_0x13b918);_0x2b5e34&&(_0x2b5e34[_0x280856(0x34f)]=0x0,this['_updateStatus']());}[_0x53b22d(0x402)](_0x3cf28f,_0x33d574){var _0x479b53=_0x53b22d;this[_0x479b53(0x1c2)]['set'](_0x3cf28f,_0x33d574),this[_0x479b53(0x3ec)]();}[_0x53b22d(0x4d0)](_0x5e2cb5,_0x13e67a){var _0x3f4e47=_0x53b22d;this[_0x3f4e47(0x3b3)]['set'](_0x5e2cb5,_0x13e67a),this[_0x3f4e47(0x3ec)]();}[_0x53b22d(0x1e0)](_0x553b6f,_0x1776a4){var _0x4d9394=_0x53b22d;const _0x32fd2b=[];let _0x388c72=_0x1776a4,_0x21aa41=_0x1776a4;for(let _0x3d98f4=_0x553b6f[_0x4d9394(0x34f)]-0x1;_0x3d98f4>=0x0;_0x3d98f4--){const {unitID:_0x5e112e,undoMutations:_0x583ea3,redoMutations:_0x3f2884}=_0x553b6f[_0x3d98f4],_0x2b257c=this[_0x4d9394(0x2f7)][_0x4d9394(0x200)](_0x388c72,_0x583ea3),_0x511971=this[_0x4d9394(0x2f7)][_0x4d9394(0x200)](_0x21aa41,_0x3f2884);if(_0x395ea6[_0x4d9394(0x367)](_0x2b257c)||_0x395ea6[_0x4d9394(0x367)](_0x511971)){this[_0x4d9394(0x37d)][_0x4d9394(0x251)](_0x4d9394(0x1d7),_0x4d9394(0x18d),_0x2b257c,_0x511971);break;}_0x388c72=_0x2b257c['c1Prime'],_0x21aa41=_0x511971[_0x4d9394(0x446)],_0x32fd2b['push']({'unitID':_0x5e112e,'undoMutations':_0x2b257c[_0x4d9394(0x329)],'redoMutations':_0x511971['m2Prime']});}return _0x32fd2b[_0x4d9394(0x4ef)]();}},_0x3207bf[_0x53b22d(0x1ca)]=_0x5ca3a8([_0x498b4f(0x0,_0x48136f[_0x53b22d(0x409)]),_0x498b4f(0x1,_0x48136f[_0x53b22d(0x493)]),_0x498b4f(0x2,_0x48136f['IContextService']),_0x498b4f(0x3,_0x395ea6[_0x53b22d(0x20b)]),_0x498b4f(0x4,_0x48136f[_0x53b22d(0x1d1)])],_0x3207bf[_0x53b22d(0x1ca)]);var _0x4db74b=Object[_0x53b22d(0x250)],_0x67897=Object[_0x53b22d(0x4ce)],_0xbe0278=(_0x4182ac,_0x452bde,_0x2f4526)=>_0x452bde in _0x4182ac?_0x4db74b(_0x4182ac,_0x452bde,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f4526}):_0x4182ac[_0x452bde]=_0x2f4526,_0x42efac=(_0x1f9da6,_0x48bae3,_0x169de0,_0x1df380)=>{var _0x12b4bb=_0x53b22d;for(var _0x2b21b4=_0x1df380>0x1?void 0x0:_0x1df380?_0x67897(_0x48bae3,_0x169de0):_0x48bae3,_0x7313ea=_0x1f9da6[_0x12b4bb(0x34f)]-0x1,_0x424f3d;_0x7313ea>=0x0;_0x7313ea--)(_0x424f3d=_0x1f9da6[_0x7313ea])&&(_0x2b21b4=_0x424f3d(_0x2b21b4)||_0x2b21b4);return _0x2b21b4;},_0x33fbe9=(_0x4e5d4c,_0x32f9ce)=>(_0x5202d2,_0x41c8a2)=>_0x32f9ce(_0x5202d2,_0x41c8a2,_0x4e5d4c),_0x14ca3d=(_0xffe0cb,_0x1f6fc7,_0x15e1c8)=>_0xbe0278(_0xffe0cb,_0x1f6fc7+'',_0x15e1c8);const _0x3c6725=_0x53b22d(0x2f8);_0x3207bf[_0x53b22d(0x3ab)]=class extends _0x48136f['Plugin']{constructor(_0x40af97,_0x573cb4,_0x21d258,_0xac1f4e){var _0x4cbe2b=_0x53b22d;super(),_0x4b46fd(this,_0x4cbe2b(0x4cc)),(this[_0x4cbe2b(0x37d)]=_0x573cb4,this[_0x4cbe2b(0x33f)]=_0x21d258,this[_0x4cbe2b(0x4f9)]=_0xac1f4e);const {..._0x4a6723}=_0x48136f[_0x4cbe2b(0x2cb)]({},_0x28ed7c,_0x40af97);if(!_0x4a6723[_0x4cbe2b(0x3a4)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x4cbe2b(0x4cc)]=_0x4a6723,this[_0x4cbe2b(0x4f9)][_0x4cbe2b(0x359)](_0x15fbd0,_0x4a6723);}['onStarting'](){var _0x38d3b1=_0x53b22d;this[_0x38d3b1(0x43a)](),this[_0x38d3b1(0x454)]();}[_0x53b22d(0x43a)](){var _0x48641d=_0x53b22d,_0x1a7396,_0x5b1529;this[_0x48641d(0x33f)][_0x48641d(0x45d)](_0x48136f[_0x48641d(0x1a0)])&&this[_0x48641d(0x37d)][_0x48641d(0x251)](_0x48641d(0x28b),_0x48641d(0x2f4));const _0x2b9a37=_0x48136f[_0x48641d(0x3e4)]([[_0x48136f[_0x48641d(0x1a0)],{'useClass':_0x3207bf[_0x48641d(0x1ca)]}],[_0x3207bf[_0x48641d(0x4d1)]],[_0x3207bf['MemberService']],[_0x3207bf[_0x48641d(0x318)]],[_0x4aaf21],[_0x2603b7],[_0x17905c],[_0x1f06f2],[_0x5195dc],[_0x3207bf[_0x48641d(0x43e)]],[_0x4af2c1,{'useClass':this['_config']['socketService']}],[_0x395ea6['ISnapshotServerService'],{'useClass':_0x3207bf[_0x48641d(0x46b)]}],[_0x48136f[_0x48641d(0x39c)],{'useClass':_0x3207bf[_0x48641d(0x363)]}],[_0x43232d[_0x48641d(0x229)],{'useClass':_0x3207bf[_0x48641d(0x21f)]}],[_0x48136f[_0x48641d(0x2bb)],{'useClass':_0x3207bf[_0x48641d(0x34c)]}],[_0x3207bf[_0x48641d(0x1da)]],[_0x4ccf69]],(_0x1a7396=this[_0x48641d(0x4cc)])==null?void 0x0:_0x1a7396[_0x48641d(0x2d8)]);if(!((_0x5b1529=this['_config'])!=null&&_0x5b1529[_0x48641d(0x268)])){const _0x7e5c03=_0x2b9a37[_0x48641d(0x193)](([_0x28bdec])=>_0x28bdec===_0x1183be);_0x7e5c03!==-0x1&&_0x2b9a37[_0x48641d(0x41e)](_0x7e5c03,0x1);}_0x48136f[_0x48641d(0x3db)](this['_injector'],_0x2b9a37);}['_initDependencies'](){var _0xf17f77=_0x53b22d,_0x1ce4aa,_0x1fba50,_0x5f715c;this[_0xf17f77(0x33f)][_0xf17f77(0x400)](_0x369f04['HTTPService'])[_0xf17f77(0x4c8)]({'priority':0x14,'interceptor':_0x369f04[_0xf17f77(0x18c)]({'maxParallel':0x6})}),(_0x1ce4aa=this[_0xf17f77(0x4cc)])!=null&&_0x1ce4aa['enableOfflineEditing']||(_0x1fba50=this[_0xf17f77(0x33f)][_0xf17f77(0x400)](_0x132fc9,_0x48136f['Quantity'][_0xf17f77(0x2a2)]))==null||_0x1fba50[_0xf17f77(0x29f)](),(_0x5f715c=this['_config'])!=null&&_0x5f715c['enableAuthServer']&&_0x48136f['touchDependencies'](this['_injector'],[[_0x4aaf21]]),_0x48136f['touchDependencies'](this['_injector'],[[_0x2603b7],[_0x3207bf['CollaborationController']],[_0x1f06f2]]);}},_0x14ca3d(_0x3207bf[_0x53b22d(0x3ab)],_0x53b22d(0x1b6),_0x3c6725),_0x3207bf[_0x53b22d(0x3ab)]=_0x42efac([_0x48136f[_0x53b22d(0x1c9)](_0x395ea6[_0x53b22d(0x398)],_0x369f04[_0x53b22d(0x2e2)]),_0x33fbe9(0x1,_0x48136f[_0x53b22d(0x1d1)]),_0x33fbe9(0x2,_0x48136f[_0x53b22d(0x25d)](_0x48136f['Injector'])),_0x33fbe9(0x3,_0x48136f[_0x53b22d(0x3f6)])],_0x3207bf[_0x53b22d(0x3ab)]),_0x3207bf[_0x53b22d(0x2cd)]=_0x42a54f,_0x3207bf['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x15fbd0,_0x3207bf[_0x53b22d(0x259)]=_0x22f7a4,_0x3207bf[_0x53b22d(0x276)]=_0x2fd5b4,_0x3207bf['CollaborationStatus']=_0x57d322,_0x3207bf[_0x53b22d(0x2f0)]=_0x3fc847,_0x3207bf[_0x53b22d(0x215)]=_0x5195dc,_0x3207bf[_0x53b22d(0x1df)]=_0x17905c,_0x3207bf[_0x53b22d(0x278)]=_0x18a9b2,_0x3207bf[_0x53b22d(0x340)]=_0x42b14e,_0x3207bf[_0x53b22d(0x2f9)]=_0x540a2f,_0x3207bf[_0x53b22d(0x1c5)]=_0x2a8feb,_0x3207bf[_0x53b22d(0x31b)]=_0x336f17,_0x3207bf[_0x53b22d(0x4aa)]=_0x4af2c1,_0x3207bf[_0x53b22d(0x1c3)]=_0x132fc9,_0x3207bf['INetworkConditionService']=_0xf1183e,_0x3207bf[_0x53b22d(0x22f)]=_0x1183be,_0x3207bf['LOCAL_CACHE_INTERVAL']=0x3e8,_0x3207bf[_0x53b22d(0x3b2)]=_0x5d37cf,_0x3207bf[_0x53b22d(0x4f5)]=_0x9e22bc,_0x3207bf[_0x53b22d(0x2ea)]=_0x7413c4,_0x3207bf[_0x53b22d(0x1b3)]=_0x1dd50c,_0x3207bf[_0x53b22d(0x384)]=_0x81b763,_0x3207bf[_0x53b22d(0x381)]=_0x54607f,_0x3207bf['SNAPSHOT_URL_KEY']=_0x2d3dbf,_0x3207bf[_0x53b22d(0x378)]=_0x4178b8,_0x3207bf[_0x53b22d(0x2db)]=_0x4b6ed3,_0x3207bf[_0x53b22d(0x231)]=_0x294ce6,_0x3207bf[_0x53b22d(0x495)]=_0x841c44,_0x3207bf['serializeCombRequest']=_0x3cfef6,Object[_0x53b22d(0x250)](_0x3207bf,Symbol[_0x53b22d(0x3d0)],{'value':_0x53b22d(0x465)});}));